@bigbinary/neeto-editor 1.25.15 → 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 +702 -679
- package/index.js +703 -680
- 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
|
}
|
|
@@ -72022,7 +72043,7 @@ var EmbedOption = function EmbedOption(_ref) {
|
|
|
72022
72043
|
}, /*#__PURE__*/React__default.createElement(Input, {
|
|
72023
72044
|
"data-cy": "neeto-editor-embed-input",
|
|
72024
72045
|
error: (cov_3ld39egr5().b[4][0]++, error) && (cov_3ld39egr5().b[4][1]++, "Please enter a valid URL"),
|
|
72025
|
-
label: t("common.
|
|
72046
|
+
label: t("common.videoUrl"),
|
|
72026
72047
|
ref: inputRef,
|
|
72027
72048
|
size: "medium",
|
|
72028
72049
|
type: "text",
|
|
@@ -89617,7 +89638,7 @@ var Resizable = /** @class */ (function (_super) {
|
|
|
89617
89638
|
|
|
89618
89639
|
function cov_15b9syaiuk() {
|
|
89619
89640
|
var path = "/home/runner/work/neeto-editor/neeto-editor/src/components/Editor/CustomExtensions/Image/Menu.jsx";
|
|
89620
|
-
var hash = "
|
|
89641
|
+
var hash = "3ba46b3dc117ea42db34d1a84f99da5fb0eba973";
|
|
89621
89642
|
var global = new Function("return this")();
|
|
89622
89643
|
var gcv = "__coverage__";
|
|
89623
89644
|
var coverageData = {
|
|
@@ -89625,71 +89646,71 @@ function cov_15b9syaiuk() {
|
|
|
89625
89646
|
statementMap: {
|
|
89626
89647
|
"0": {
|
|
89627
89648
|
start: {
|
|
89628
|
-
line:
|
|
89649
|
+
line: 8,
|
|
89629
89650
|
column: 13
|
|
89630
89651
|
},
|
|
89631
89652
|
end: {
|
|
89632
|
-
line:
|
|
89653
|
+
line: 34,
|
|
89633
89654
|
column: 1
|
|
89634
89655
|
}
|
|
89635
89656
|
},
|
|
89636
89657
|
"1": {
|
|
89637
89658
|
start: {
|
|
89638
|
-
line:
|
|
89659
|
+
line: 9,
|
|
89639
89660
|
column: 22
|
|
89640
89661
|
},
|
|
89641
89662
|
end: {
|
|
89642
|
-
line:
|
|
89663
|
+
line: 9,
|
|
89643
89664
|
column: 41
|
|
89644
89665
|
}
|
|
89645
89666
|
},
|
|
89646
89667
|
"2": {
|
|
89647
89668
|
start: {
|
|
89648
|
-
line:
|
|
89669
|
+
line: 11,
|
|
89649
89670
|
column: 22
|
|
89650
89671
|
},
|
|
89651
89672
|
end: {
|
|
89652
|
-
line:
|
|
89673
|
+
line: 12,
|
|
89653
89674
|
column: 54
|
|
89654
89675
|
}
|
|
89655
89676
|
},
|
|
89656
89677
|
"3": {
|
|
89657
89678
|
start: {
|
|
89658
|
-
line:
|
|
89679
|
+
line: 12,
|
|
89659
89680
|
column: 4
|
|
89660
89681
|
},
|
|
89661
89682
|
end: {
|
|
89662
|
-
line:
|
|
89683
|
+
line: 12,
|
|
89663
89684
|
column: 54
|
|
89664
89685
|
}
|
|
89665
89686
|
},
|
|
89666
89687
|
"4": {
|
|
89667
89688
|
start: {
|
|
89668
|
-
line:
|
|
89689
|
+
line: 14,
|
|
89669
89690
|
column: 2
|
|
89670
89691
|
},
|
|
89671
89692
|
end: {
|
|
89672
|
-
line:
|
|
89693
|
+
line: 33,
|
|
89673
89694
|
column: 4
|
|
89674
89695
|
}
|
|
89675
89696
|
},
|
|
89676
89697
|
"5": {
|
|
89677
89698
|
start: {
|
|
89678
|
-
line:
|
|
89699
|
+
line: 24,
|
|
89679
89700
|
column: 8
|
|
89680
89701
|
},
|
|
89681
89702
|
end: {
|
|
89682
|
-
line:
|
|
89703
|
+
line: 30,
|
|
89683
89704
|
column: 10
|
|
89684
89705
|
}
|
|
89685
89706
|
},
|
|
89686
89707
|
"6": {
|
|
89687
89708
|
start: {
|
|
89688
|
-
line:
|
|
89709
|
+
line: 29,
|
|
89689
89710
|
column: 25
|
|
89690
89711
|
},
|
|
89691
89712
|
end: {
|
|
89692
|
-
line:
|
|
89713
|
+
line: 29,
|
|
89693
89714
|
column: 46
|
|
89694
89715
|
}
|
|
89695
89716
|
}
|
|
@@ -89699,165 +89720,165 @@ function cov_15b9syaiuk() {
|
|
|
89699
89720
|
name: "(anonymous_0)",
|
|
89700
89721
|
decl: {
|
|
89701
89722
|
start: {
|
|
89702
|
-
line:
|
|
89723
|
+
line: 8,
|
|
89703
89724
|
column: 13
|
|
89704
89725
|
},
|
|
89705
89726
|
end: {
|
|
89706
|
-
line:
|
|
89727
|
+
line: 8,
|
|
89707
89728
|
column: 14
|
|
89708
89729
|
}
|
|
89709
89730
|
},
|
|
89710
89731
|
loc: {
|
|
89711
89732
|
start: {
|
|
89712
|
-
line:
|
|
89733
|
+
line: 8,
|
|
89713
89734
|
column: 58
|
|
89714
89735
|
},
|
|
89715
89736
|
end: {
|
|
89716
|
-
line:
|
|
89737
|
+
line: 34,
|
|
89717
89738
|
column: 1
|
|
89718
89739
|
}
|
|
89719
89740
|
},
|
|
89720
|
-
line:
|
|
89741
|
+
line: 8
|
|
89721
89742
|
},
|
|
89722
89743
|
"1": {
|
|
89723
89744
|
name: "(anonymous_1)",
|
|
89724
89745
|
decl: {
|
|
89725
89746
|
start: {
|
|
89726
|
-
line:
|
|
89747
|
+
line: 11,
|
|
89727
89748
|
column: 22
|
|
89728
89749
|
},
|
|
89729
89750
|
end: {
|
|
89730
|
-
line:
|
|
89751
|
+
line: 11,
|
|
89731
89752
|
column: 23
|
|
89732
89753
|
}
|
|
89733
89754
|
},
|
|
89734
89755
|
loc: {
|
|
89735
89756
|
start: {
|
|
89736
|
-
line:
|
|
89757
|
+
line: 12,
|
|
89737
89758
|
column: 4
|
|
89738
89759
|
},
|
|
89739
89760
|
end: {
|
|
89740
|
-
line:
|
|
89761
|
+
line: 12,
|
|
89741
89762
|
column: 54
|
|
89742
89763
|
}
|
|
89743
89764
|
},
|
|
89744
|
-
line:
|
|
89765
|
+
line: 12
|
|
89745
89766
|
},
|
|
89746
89767
|
"2": {
|
|
89747
89768
|
name: "(anonymous_2)",
|
|
89748
89769
|
decl: {
|
|
89749
89770
|
start: {
|
|
89750
|
-
line:
|
|
89771
|
+
line: 23,
|
|
89751
89772
|
column: 23
|
|
89752
89773
|
},
|
|
89753
89774
|
end: {
|
|
89754
|
-
line:
|
|
89775
|
+
line: 23,
|
|
89755
89776
|
column: 24
|
|
89756
89777
|
}
|
|
89757
89778
|
},
|
|
89758
89779
|
loc: {
|
|
89759
89780
|
start: {
|
|
89760
|
-
line:
|
|
89781
|
+
line: 24,
|
|
89761
89782
|
column: 8
|
|
89762
89783
|
},
|
|
89763
89784
|
end: {
|
|
89764
|
-
line:
|
|
89785
|
+
line: 30,
|
|
89765
89786
|
column: 10
|
|
89766
89787
|
}
|
|
89767
89788
|
},
|
|
89768
|
-
line:
|
|
89789
|
+
line: 24
|
|
89769
89790
|
},
|
|
89770
89791
|
"3": {
|
|
89771
89792
|
name: "(anonymous_3)",
|
|
89772
89793
|
decl: {
|
|
89773
89794
|
start: {
|
|
89774
|
-
line:
|
|
89795
|
+
line: 29,
|
|
89775
89796
|
column: 19
|
|
89776
89797
|
},
|
|
89777
89798
|
end: {
|
|
89778
|
-
line:
|
|
89799
|
+
line: 29,
|
|
89779
89800
|
column: 20
|
|
89780
89801
|
}
|
|
89781
89802
|
},
|
|
89782
89803
|
loc: {
|
|
89783
89804
|
start: {
|
|
89784
|
-
line:
|
|
89805
|
+
line: 29,
|
|
89785
89806
|
column: 25
|
|
89786
89807
|
},
|
|
89787
89808
|
end: {
|
|
89788
|
-
line:
|
|
89809
|
+
line: 29,
|
|
89789
89810
|
column: 46
|
|
89790
89811
|
}
|
|
89791
89812
|
},
|
|
89792
|
-
line:
|
|
89813
|
+
line: 29
|
|
89793
89814
|
}
|
|
89794
89815
|
},
|
|
89795
89816
|
branchMap: {
|
|
89796
89817
|
"0": {
|
|
89797
89818
|
loc: {
|
|
89798
89819
|
start: {
|
|
89799
|
-
line:
|
|
89820
|
+
line: 12,
|
|
89800
89821
|
column: 4
|
|
89801
89822
|
},
|
|
89802
89823
|
end: {
|
|
89803
|
-
line:
|
|
89824
|
+
line: 12,
|
|
89804
89825
|
column: 54
|
|
89805
89826
|
}
|
|
89806
89827
|
},
|
|
89807
89828
|
type: "cond-expr",
|
|
89808
89829
|
locations: [{
|
|
89809
89830
|
start: {
|
|
89810
|
-
line:
|
|
89831
|
+
line: 12,
|
|
89811
89832
|
column: 12
|
|
89812
89833
|
},
|
|
89813
89834
|
end: {
|
|
89814
|
-
line:
|
|
89835
|
+
line: 12,
|
|
89815
89836
|
column: 39
|
|
89816
89837
|
}
|
|
89817
89838
|
}, {
|
|
89818
89839
|
start: {
|
|
89819
|
-
line:
|
|
89840
|
+
line: 12,
|
|
89820
89841
|
column: 42
|
|
89821
89842
|
},
|
|
89822
89843
|
end: {
|
|
89823
|
-
line:
|
|
89844
|
+
line: 12,
|
|
89824
89845
|
column: 54
|
|
89825
89846
|
}
|
|
89826
89847
|
}],
|
|
89827
|
-
line:
|
|
89848
|
+
line: 12
|
|
89828
89849
|
},
|
|
89829
89850
|
"1": {
|
|
89830
89851
|
loc: {
|
|
89831
89852
|
start: {
|
|
89832
|
-
line:
|
|
89853
|
+
line: 27,
|
|
89833
89854
|
column: 17
|
|
89834
89855
|
},
|
|
89835
89856
|
end: {
|
|
89836
|
-
line:
|
|
89857
|
+
line: 27,
|
|
89837
89858
|
column: 58
|
|
89838
89859
|
}
|
|
89839
89860
|
},
|
|
89840
89861
|
type: "cond-expr",
|
|
89841
89862
|
locations: [{
|
|
89842
89863
|
start: {
|
|
89843
|
-
line:
|
|
89864
|
+
line: 27,
|
|
89844
89865
|
column: 38
|
|
89845
89866
|
},
|
|
89846
89867
|
end: {
|
|
89847
|
-
line:
|
|
89868
|
+
line: 27,
|
|
89848
89869
|
column: 49
|
|
89849
89870
|
}
|
|
89850
89871
|
}, {
|
|
89851
89872
|
start: {
|
|
89852
|
-
line:
|
|
89873
|
+
line: 27,
|
|
89853
89874
|
column: 52
|
|
89854
89875
|
},
|
|
89855
89876
|
end: {
|
|
89856
|
-
line:
|
|
89877
|
+
line: 27,
|
|
89857
89878
|
column: 58
|
|
89858
89879
|
}
|
|
89859
89880
|
}],
|
|
89860
|
-
line:
|
|
89881
|
+
line: 27
|
|
89861
89882
|
}
|
|
89862
89883
|
},
|
|
89863
89884
|
s: {
|
|
@@ -89880,7 +89901,7 @@ function cov_15b9syaiuk() {
|
|
|
89880
89901
|
"1": [0, 0]
|
|
89881
89902
|
},
|
|
89882
89903
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
89883
|
-
hash: "
|
|
89904
|
+
hash: "3ba46b3dc117ea42db34d1a84f99da5fb0eba973"
|
|
89884
89905
|
};
|
|
89885
89906
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
89886
89907
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -89932,7 +89953,7 @@ var Menu$7 = function Menu(_ref) {
|
|
|
89932
89953
|
key: optionName,
|
|
89933
89954
|
style: alignPos === align ? (cov_15b9syaiuk().b[1][0]++, "secondary") : (cov_15b9syaiuk().b[1][1]++, "text"),
|
|
89934
89955
|
tooltipProps: {
|
|
89935
|
-
content:
|
|
89956
|
+
content: optionName,
|
|
89936
89957
|
position: "top"
|
|
89937
89958
|
},
|
|
89938
89959
|
onClick: function onClick() {
|
|
@@ -90265,7 +90286,7 @@ var ImageComponent = function ImageComponent(_ref) {
|
|
|
90265
90286
|
var _excluded$9 = ["caption"];
|
|
90266
90287
|
function cov_ksv9azglk() {
|
|
90267
90288
|
var path = "/home/runner/work/neeto-editor/neeto-editor/src/components/Editor/CustomExtensions/Image/ExtensionConfig.js";
|
|
90268
|
-
var hash = "
|
|
90289
|
+
var hash = "3bebbf402f81491dd9c9f45cd7e242485e38da56";
|
|
90269
90290
|
var global = new Function("return this")();
|
|
90270
90291
|
var gcv = "__coverage__";
|
|
90271
90292
|
var coverageData = {
|
|
@@ -90273,411 +90294,411 @@ function cov_ksv9azglk() {
|
|
|
90273
90294
|
statementMap: {
|
|
90274
90295
|
"0": {
|
|
90275
90296
|
start: {
|
|
90276
|
-
line:
|
|
90297
|
+
line: 14,
|
|
90277
90298
|
column: 23
|
|
90278
90299
|
},
|
|
90279
90300
|
end: {
|
|
90280
|
-
line:
|
|
90301
|
+
line: 127,
|
|
90281
90302
|
column: 2
|
|
90282
90303
|
}
|
|
90283
90304
|
},
|
|
90284
90305
|
"1": {
|
|
90285
90306
|
start: {
|
|
90286
|
-
line:
|
|
90307
|
+
line: 18,
|
|
90287
90308
|
column: 4
|
|
90288
90309
|
},
|
|
90289
90310
|
end: {
|
|
90290
|
-
line:
|
|
90311
|
+
line: 20,
|
|
90291
90312
|
column: 6
|
|
90292
90313
|
}
|
|
90293
90314
|
},
|
|
90294
90315
|
"2": {
|
|
90295
90316
|
start: {
|
|
90296
|
-
line:
|
|
90317
|
+
line: 32,
|
|
90297
90318
|
column: 4
|
|
90298
90319
|
},
|
|
90299
90320
|
end: {
|
|
90300
|
-
line:
|
|
90321
|
+
line: 60,
|
|
90301
90322
|
column: 6
|
|
90302
90323
|
}
|
|
90303
90324
|
},
|
|
90304
90325
|
"3": {
|
|
90305
90326
|
start: {
|
|
90306
|
-
line:
|
|
90327
|
+
line: 35,
|
|
90307
90328
|
column: 30
|
|
90308
90329
|
},
|
|
90309
90330
|
end: {
|
|
90310
|
-
line:
|
|
90331
|
+
line: 35,
|
|
90311
90332
|
column: 79
|
|
90312
90333
|
}
|
|
90313
90334
|
},
|
|
90314
90335
|
"4": {
|
|
90315
90336
|
start: {
|
|
90316
|
-
line:
|
|
90337
|
+
line: 40,
|
|
90317
90338
|
column: 30
|
|
90318
90339
|
},
|
|
90319
90340
|
end: {
|
|
90320
|
-
line:
|
|
90341
|
+
line: 40,
|
|
90321
90342
|
column: 79
|
|
90322
90343
|
}
|
|
90323
90344
|
},
|
|
90324
90345
|
"5": {
|
|
90325
90346
|
start: {
|
|
90326
|
-
line:
|
|
90347
|
+
line: 46,
|
|
90327
90348
|
column: 10
|
|
90328
90349
|
},
|
|
90329
90350
|
end: {
|
|
90330
|
-
line:
|
|
90351
|
+
line: 46,
|
|
90331
90352
|
column: 65
|
|
90332
90353
|
}
|
|
90333
90354
|
},
|
|
90334
90355
|
"6": {
|
|
90335
90356
|
start: {
|
|
90336
|
-
line:
|
|
90357
|
+
line: 52,
|
|
90337
90358
|
column: 10
|
|
90338
90359
|
},
|
|
90339
90360
|
end: {
|
|
90340
|
-
line:
|
|
90361
|
+
line: 52,
|
|
90341
90362
|
column: 64
|
|
90342
90363
|
}
|
|
90343
90364
|
},
|
|
90344
90365
|
"7": {
|
|
90345
90366
|
start: {
|
|
90346
|
-
line:
|
|
90367
|
+
line: 58,
|
|
90347
90368
|
column: 10
|
|
90348
90369
|
},
|
|
90349
90370
|
end: {
|
|
90350
|
-
line:
|
|
90371
|
+
line: 58,
|
|
90351
90372
|
column: 61
|
|
90352
90373
|
}
|
|
90353
90374
|
},
|
|
90354
90375
|
"8": {
|
|
90355
90376
|
start: {
|
|
90356
|
-
line:
|
|
90377
|
+
line: 64,
|
|
90357
90378
|
column: 4
|
|
90358
90379
|
},
|
|
90359
90380
|
end: {
|
|
90360
|
-
line:
|
|
90381
|
+
line: 69,
|
|
90361
90382
|
column: 6
|
|
90362
90383
|
}
|
|
90363
90384
|
},
|
|
90364
90385
|
"9": {
|
|
90365
90386
|
start: {
|
|
90366
|
-
line:
|
|
90387
|
+
line: 73,
|
|
90367
90388
|
column: 48
|
|
90368
90389
|
},
|
|
90369
90390
|
end: {
|
|
90370
|
-
line:
|
|
90391
|
+
line: 73,
|
|
90371
90392
|
column: 58
|
|
90372
90393
|
}
|
|
90373
90394
|
},
|
|
90374
90395
|
"10": {
|
|
90375
90396
|
start: {
|
|
90376
|
-
line:
|
|
90397
|
+
line: 75,
|
|
90377
90398
|
column: 22
|
|
90378
90399
|
},
|
|
90379
90400
|
end: {
|
|
90380
|
-
line:
|
|
90401
|
+
line: 80,
|
|
90381
90402
|
column: 5
|
|
90382
90403
|
}
|
|
90383
90404
|
},
|
|
90384
90405
|
"11": {
|
|
90385
90406
|
start: {
|
|
90386
|
-
line:
|
|
90407
|
+
line: 82,
|
|
90387
90408
|
column: 24
|
|
90388
90409
|
},
|
|
90389
90410
|
end: {
|
|
90390
|
-
line:
|
|
90411
|
+
line: 85,
|
|
90391
90412
|
column: 5
|
|
90392
90413
|
}
|
|
90393
90414
|
},
|
|
90394
90415
|
"12": {
|
|
90395
90416
|
start: {
|
|
90396
|
-
line:
|
|
90417
|
+
line: 87,
|
|
90397
90418
|
column: 4
|
|
90398
90419
|
},
|
|
90399
90420
|
end: {
|
|
90400
|
-
line:
|
|
90421
|
+
line: 106,
|
|
90401
90422
|
column: 6
|
|
90402
90423
|
}
|
|
90403
90424
|
},
|
|
90404
90425
|
"13": {
|
|
90405
90426
|
start: {
|
|
90406
|
-
line:
|
|
90427
|
+
line: 110,
|
|
90407
90428
|
column: 4
|
|
90408
90429
|
},
|
|
90409
90430
|
end: {
|
|
90410
|
-
line:
|
|
90431
|
+
line: 110,
|
|
90411
90432
|
column: 49
|
|
90412
90433
|
}
|
|
90413
90434
|
},
|
|
90414
90435
|
"14": {
|
|
90415
90436
|
start: {
|
|
90416
|
-
line:
|
|
90437
|
+
line: 114,
|
|
90417
90438
|
column: 4
|
|
90418
90439
|
},
|
|
90419
90440
|
end: {
|
|
90420
|
-
line:
|
|
90441
|
+
line: 125,
|
|
90421
90442
|
column: 6
|
|
90422
90443
|
}
|
|
90423
90444
|
},
|
|
90424
90445
|
"15": {
|
|
90425
90446
|
start: {
|
|
90426
|
-
line:
|
|
90447
|
+
line: 117,
|
|
90427
90448
|
column: 8
|
|
90428
90449
|
},
|
|
90429
90450
|
end: {
|
|
90430
|
-
line:
|
|
90451
|
+
line: 124,
|
|
90431
90452
|
column: 18
|
|
90432
90453
|
}
|
|
90433
90454
|
},
|
|
90434
90455
|
"16": {
|
|
90435
90456
|
start: {
|
|
90436
|
-
line:
|
|
90457
|
+
line: 118,
|
|
90437
90458
|
column: 10
|
|
90438
90459
|
},
|
|
90439
90460
|
end: {
|
|
90440
|
-
line:
|
|
90461
|
+
line: 124,
|
|
90441
90462
|
column: 18
|
|
90442
90463
|
}
|
|
90443
90464
|
},
|
|
90444
90465
|
"17": {
|
|
90445
90466
|
start: {
|
|
90446
|
-
line:
|
|
90467
|
+
line: 129,
|
|
90447
90468
|
column: 15
|
|
90448
90469
|
},
|
|
90449
90470
|
end: {
|
|
90450
|
-
line:
|
|
90471
|
+
line: 141,
|
|
90451
90472
|
column: 1
|
|
90452
90473
|
}
|
|
90453
90474
|
},
|
|
90454
90475
|
"18": {
|
|
90455
90476
|
start: {
|
|
90456
|
-
line:
|
|
90477
|
+
line: 130,
|
|
90457
90478
|
column: 2
|
|
90458
90479
|
},
|
|
90459
90480
|
end: {
|
|
90460
|
-
line:
|
|
90481
|
+
line: 135,
|
|
90461
90482
|
column: 3
|
|
90462
90483
|
}
|
|
90463
90484
|
},
|
|
90464
90485
|
"19": {
|
|
90465
90486
|
start: {
|
|
90466
|
-
line:
|
|
90487
|
+
line: 131,
|
|
90467
90488
|
column: 21
|
|
90468
90489
|
},
|
|
90469
90490
|
end: {
|
|
90470
|
-
line:
|
|
90491
|
+
line: 131,
|
|
90471
90492
|
column: 52
|
|
90472
90493
|
}
|
|
90473
90494
|
},
|
|
90474
90495
|
"20": {
|
|
90475
90496
|
start: {
|
|
90476
|
-
line:
|
|
90497
|
+
line: 132,
|
|
90477
90498
|
column: 21
|
|
90478
90499
|
},
|
|
90479
90500
|
end: {
|
|
90480
|
-
line:
|
|
90501
|
+
line: 132,
|
|
90481
90502
|
column: 44
|
|
90482
90503
|
}
|
|
90483
90504
|
},
|
|
90484
90505
|
"21": {
|
|
90485
90506
|
start: {
|
|
90486
|
-
line:
|
|
90507
|
+
line: 134,
|
|
90487
90508
|
column: 4
|
|
90488
90509
|
},
|
|
90489
90510
|
end: {
|
|
90490
|
-
line:
|
|
90511
|
+
line: 134,
|
|
90491
90512
|
column: 56
|
|
90492
90513
|
}
|
|
90493
90514
|
},
|
|
90494
90515
|
"22": {
|
|
90495
90516
|
start: {
|
|
90496
|
-
line:
|
|
90517
|
+
line: 137,
|
|
90497
90518
|
column: 24
|
|
90498
90519
|
},
|
|
90499
90520
|
end: {
|
|
90500
|
-
line:
|
|
90521
|
+
line: 137,
|
|
90501
90522
|
column: 54
|
|
90502
90523
|
}
|
|
90503
90524
|
},
|
|
90504
90525
|
"23": {
|
|
90505
90526
|
start: {
|
|
90506
|
-
line:
|
|
90527
|
+
line: 138,
|
|
90507
90528
|
column: 2
|
|
90508
90529
|
},
|
|
90509
90530
|
end: {
|
|
90510
|
-
line:
|
|
90511
|
-
column:
|
|
90531
|
+
line: 138,
|
|
90532
|
+
column: 77
|
|
90512
90533
|
}
|
|
90513
90534
|
},
|
|
90514
90535
|
"24": {
|
|
90515
90536
|
start: {
|
|
90516
|
-
line:
|
|
90537
|
+
line: 140,
|
|
90517
90538
|
column: 2
|
|
90518
90539
|
},
|
|
90519
90540
|
end: {
|
|
90520
|
-
line:
|
|
90541
|
+
line: 140,
|
|
90521
90542
|
column: 12
|
|
90522
90543
|
}
|
|
90523
90544
|
},
|
|
90524
90545
|
"25": {
|
|
90525
90546
|
start: {
|
|
90526
|
-
line:
|
|
90547
|
+
line: 145,
|
|
90527
90548
|
column: 4
|
|
90528
90549
|
},
|
|
90529
90550
|
end: {
|
|
90530
|
-
line:
|
|
90551
|
+
line: 185,
|
|
90531
90552
|
column: 6
|
|
90532
90553
|
}
|
|
90533
90554
|
},
|
|
90534
90555
|
"26": {
|
|
90535
90556
|
start: {
|
|
90536
|
-
line:
|
|
90557
|
+
line: 147,
|
|
90537
90558
|
column: 8
|
|
90538
90559
|
},
|
|
90539
90560
|
end: {
|
|
90540
|
-
line:
|
|
90561
|
+
line: 183,
|
|
90541
90562
|
column: 10
|
|
90542
90563
|
}
|
|
90543
90564
|
},
|
|
90544
90565
|
"27": {
|
|
90545
90566
|
start: {
|
|
90546
|
-
line:
|
|
90567
|
+
line: 157,
|
|
90547
90568
|
column: 22
|
|
90548
90569
|
},
|
|
90549
90570
|
end: {
|
|
90550
|
-
line:
|
|
90571
|
+
line: 157,
|
|
90551
90572
|
column: 32
|
|
90552
90573
|
}
|
|
90553
90574
|
},
|
|
90554
90575
|
"28": {
|
|
90555
90576
|
start: {
|
|
90556
|
-
line:
|
|
90577
|
+
line: 158,
|
|
90557
90578
|
column: 35
|
|
90558
90579
|
},
|
|
90559
90580
|
end: {
|
|
90560
|
-
line:
|
|
90581
|
+
line: 158,
|
|
90561
90582
|
column: 69
|
|
90562
90583
|
}
|
|
90563
90584
|
},
|
|
90564
90585
|
"29": {
|
|
90565
90586
|
start: {
|
|
90566
|
-
line:
|
|
90587
|
+
line: 160,
|
|
90567
90588
|
column: 18
|
|
90568
90589
|
},
|
|
90569
90590
|
end: {
|
|
90570
|
-
line:
|
|
90591
|
+
line: 160,
|
|
90571
90592
|
column: 40
|
|
90572
90593
|
}
|
|
90573
90594
|
},
|
|
90574
90595
|
"30": {
|
|
90575
90596
|
start: {
|
|
90576
|
-
line:
|
|
90597
|
+
line: 160,
|
|
90577
90598
|
column: 33
|
|
90578
90599
|
},
|
|
90579
90600
|
end: {
|
|
90580
|
-
line:
|
|
90601
|
+
line: 160,
|
|
90581
90602
|
column: 40
|
|
90582
90603
|
}
|
|
90583
90604
|
},
|
|
90584
90605
|
"31": {
|
|
90585
90606
|
start: {
|
|
90586
|
-
line:
|
|
90607
|
+
line: 162,
|
|
90587
90608
|
column: 33
|
|
90588
90609
|
},
|
|
90589
90610
|
end: {
|
|
90590
|
-
line:
|
|
90611
|
+
line: 164,
|
|
90591
90612
|
column: 19
|
|
90592
90613
|
}
|
|
90593
90614
|
},
|
|
90594
90615
|
"32": {
|
|
90595
90616
|
start: {
|
|
90596
|
-
line:
|
|
90617
|
+
line: 163,
|
|
90597
90618
|
column: 28
|
|
90598
90619
|
},
|
|
90599
90620
|
end: {
|
|
90600
|
-
line:
|
|
90621
|
+
line: 163,
|
|
90601
90622
|
column: 52
|
|
90602
90623
|
}
|
|
90603
90624
|
},
|
|
90604
90625
|
"33": {
|
|
90605
90626
|
start: {
|
|
90606
|
-
line:
|
|
90627
|
+
line: 166,
|
|
90607
90628
|
column: 18
|
|
90608
90629
|
},
|
|
90609
90630
|
end: {
|
|
90610
|
-
line:
|
|
90631
|
+
line: 166,
|
|
90611
90632
|
column: 46
|
|
90612
90633
|
}
|
|
90613
90634
|
},
|
|
90614
90635
|
"34": {
|
|
90615
90636
|
start: {
|
|
90616
|
-
line:
|
|
90637
|
+
line: 166,
|
|
90617
90638
|
column: 39
|
|
90618
90639
|
},
|
|
90619
90640
|
end: {
|
|
90620
|
-
line:
|
|
90641
|
+
line: 166,
|
|
90621
90642
|
column: 46
|
|
90622
90643
|
}
|
|
90623
90644
|
},
|
|
90624
90645
|
"35": {
|
|
90625
90646
|
start: {
|
|
90626
|
-
line:
|
|
90647
|
+
line: 168,
|
|
90627
90648
|
column: 18
|
|
90628
90649
|
},
|
|
90629
90650
|
end: {
|
|
90630
|
-
line:
|
|
90651
|
+
line: 168,
|
|
90631
90652
|
column: 41
|
|
90632
90653
|
}
|
|
90633
90654
|
},
|
|
90634
90655
|
"36": {
|
|
90635
90656
|
start: {
|
|
90636
|
-
line:
|
|
90657
|
+
line: 170,
|
|
90637
90658
|
column: 18
|
|
90638
90659
|
},
|
|
90639
90660
|
end: {
|
|
90640
|
-
line:
|
|
90661
|
+
line: 178,
|
|
90641
90662
|
column: 21
|
|
90642
90663
|
}
|
|
90643
90664
|
},
|
|
90644
90665
|
"37": {
|
|
90645
90666
|
start: {
|
|
90646
|
-
line:
|
|
90667
|
+
line: 171,
|
|
90647
90668
|
column: 33
|
|
90648
90669
|
},
|
|
90649
90670
|
end: {
|
|
90650
|
-
line:
|
|
90671
|
+
line: 173,
|
|
90651
90672
|
column: 22
|
|
90652
90673
|
}
|
|
90653
90674
|
},
|
|
90654
90675
|
"38": {
|
|
90655
90676
|
start: {
|
|
90656
|
-
line:
|
|
90677
|
+
line: 174,
|
|
90657
90678
|
column: 20
|
|
90658
90679
|
},
|
|
90659
90680
|
end: {
|
|
90660
|
-
line:
|
|
90681
|
+
line: 177,
|
|
90661
90682
|
column: 21
|
|
90662
90683
|
}
|
|
90663
90684
|
},
|
|
90664
90685
|
"39": {
|
|
90665
90686
|
start: {
|
|
90666
|
-
line:
|
|
90687
|
+
line: 175,
|
|
90667
90688
|
column: 42
|
|
90668
90689
|
},
|
|
90669
90690
|
end: {
|
|
90670
|
-
line:
|
|
90691
|
+
line: 175,
|
|
90671
90692
|
column: 73
|
|
90672
90693
|
}
|
|
90673
90694
|
},
|
|
90674
90695
|
"40": {
|
|
90675
90696
|
start: {
|
|
90676
|
-
line:
|
|
90697
|
+
line: 176,
|
|
90677
90698
|
column: 22
|
|
90678
90699
|
},
|
|
90679
90700
|
end: {
|
|
90680
|
-
line:
|
|
90701
|
+
line: 176,
|
|
90681
90702
|
column: 49
|
|
90682
90703
|
}
|
|
90683
90704
|
}
|
|
@@ -90687,512 +90708,512 @@ function cov_ksv9azglk() {
|
|
|
90687
90708
|
name: "(anonymous_0)",
|
|
90688
90709
|
decl: {
|
|
90689
90710
|
start: {
|
|
90690
|
-
line:
|
|
90711
|
+
line: 17,
|
|
90691
90712
|
column: 2
|
|
90692
90713
|
},
|
|
90693
90714
|
end: {
|
|
90694
|
-
line:
|
|
90715
|
+
line: 17,
|
|
90695
90716
|
column: 3
|
|
90696
90717
|
}
|
|
90697
90718
|
},
|
|
90698
90719
|
loc: {
|
|
90699
90720
|
start: {
|
|
90700
|
-
line:
|
|
90721
|
+
line: 17,
|
|
90701
90722
|
column: 15
|
|
90702
90723
|
},
|
|
90703
90724
|
end: {
|
|
90704
|
-
line:
|
|
90725
|
+
line: 21,
|
|
90705
90726
|
column: 3
|
|
90706
90727
|
}
|
|
90707
90728
|
},
|
|
90708
|
-
line:
|
|
90729
|
+
line: 17
|
|
90709
90730
|
},
|
|
90710
90731
|
"1": {
|
|
90711
90732
|
name: "(anonymous_1)",
|
|
90712
90733
|
decl: {
|
|
90713
90734
|
start: {
|
|
90714
|
-
line:
|
|
90735
|
+
line: 31,
|
|
90715
90736
|
column: 2
|
|
90716
90737
|
},
|
|
90717
90738
|
end: {
|
|
90718
|
-
line:
|
|
90739
|
+
line: 31,
|
|
90719
90740
|
column: 3
|
|
90720
90741
|
}
|
|
90721
90742
|
},
|
|
90722
90743
|
loc: {
|
|
90723
90744
|
start: {
|
|
90724
|
-
line:
|
|
90745
|
+
line: 31,
|
|
90725
90746
|
column: 18
|
|
90726
90747
|
},
|
|
90727
90748
|
end: {
|
|
90728
|
-
line:
|
|
90749
|
+
line: 61,
|
|
90729
90750
|
column: 3
|
|
90730
90751
|
}
|
|
90731
90752
|
},
|
|
90732
|
-
line:
|
|
90753
|
+
line: 31
|
|
90733
90754
|
},
|
|
90734
90755
|
"2": {
|
|
90735
90756
|
name: "(anonymous_2)",
|
|
90736
90757
|
decl: {
|
|
90737
90758
|
start: {
|
|
90738
|
-
line:
|
|
90759
|
+
line: 35,
|
|
90739
90760
|
column: 19
|
|
90740
90761
|
},
|
|
90741
90762
|
end: {
|
|
90742
|
-
line:
|
|
90763
|
+
line: 35,
|
|
90743
90764
|
column: 20
|
|
90744
90765
|
}
|
|
90745
90766
|
},
|
|
90746
90767
|
loc: {
|
|
90747
90768
|
start: {
|
|
90748
|
-
line:
|
|
90769
|
+
line: 35,
|
|
90749
90770
|
column: 30
|
|
90750
90771
|
},
|
|
90751
90772
|
end: {
|
|
90752
|
-
line:
|
|
90773
|
+
line: 35,
|
|
90753
90774
|
column: 79
|
|
90754
90775
|
}
|
|
90755
90776
|
},
|
|
90756
|
-
line:
|
|
90777
|
+
line: 35
|
|
90757
90778
|
},
|
|
90758
90779
|
"3": {
|
|
90759
90780
|
name: "(anonymous_3)",
|
|
90760
90781
|
decl: {
|
|
90761
90782
|
start: {
|
|
90762
|
-
line:
|
|
90783
|
+
line: 40,
|
|
90763
90784
|
column: 19
|
|
90764
90785
|
},
|
|
90765
90786
|
end: {
|
|
90766
|
-
line:
|
|
90787
|
+
line: 40,
|
|
90767
90788
|
column: 20
|
|
90768
90789
|
}
|
|
90769
90790
|
},
|
|
90770
90791
|
loc: {
|
|
90771
90792
|
start: {
|
|
90772
|
-
line:
|
|
90793
|
+
line: 40,
|
|
90773
90794
|
column: 30
|
|
90774
90795
|
},
|
|
90775
90796
|
end: {
|
|
90776
|
-
line:
|
|
90797
|
+
line: 40,
|
|
90777
90798
|
column: 79
|
|
90778
90799
|
}
|
|
90779
90800
|
},
|
|
90780
|
-
line:
|
|
90801
|
+
line: 40
|
|
90781
90802
|
},
|
|
90782
90803
|
"4": {
|
|
90783
90804
|
name: "(anonymous_4)",
|
|
90784
90805
|
decl: {
|
|
90785
90806
|
start: {
|
|
90786
|
-
line:
|
|
90807
|
+
line: 45,
|
|
90787
90808
|
column: 19
|
|
90788
90809
|
},
|
|
90789
90810
|
end: {
|
|
90790
|
-
line:
|
|
90811
|
+
line: 45,
|
|
90791
90812
|
column: 20
|
|
90792
90813
|
}
|
|
90793
90814
|
},
|
|
90794
90815
|
loc: {
|
|
90795
90816
|
start: {
|
|
90796
|
-
line:
|
|
90817
|
+
line: 46,
|
|
90797
90818
|
column: 10
|
|
90798
90819
|
},
|
|
90799
90820
|
end: {
|
|
90800
|
-
line:
|
|
90821
|
+
line: 46,
|
|
90801
90822
|
column: 65
|
|
90802
90823
|
}
|
|
90803
90824
|
},
|
|
90804
|
-
line:
|
|
90825
|
+
line: 46
|
|
90805
90826
|
},
|
|
90806
90827
|
"5": {
|
|
90807
90828
|
name: "(anonymous_5)",
|
|
90808
90829
|
decl: {
|
|
90809
90830
|
start: {
|
|
90810
|
-
line:
|
|
90831
|
+
line: 51,
|
|
90811
90832
|
column: 19
|
|
90812
90833
|
},
|
|
90813
90834
|
end: {
|
|
90814
|
-
line:
|
|
90835
|
+
line: 51,
|
|
90815
90836
|
column: 20
|
|
90816
90837
|
}
|
|
90817
90838
|
},
|
|
90818
90839
|
loc: {
|
|
90819
90840
|
start: {
|
|
90820
|
-
line:
|
|
90841
|
+
line: 52,
|
|
90821
90842
|
column: 10
|
|
90822
90843
|
},
|
|
90823
90844
|
end: {
|
|
90824
|
-
line:
|
|
90845
|
+
line: 52,
|
|
90825
90846
|
column: 64
|
|
90826
90847
|
}
|
|
90827
90848
|
},
|
|
90828
|
-
line:
|
|
90849
|
+
line: 52
|
|
90829
90850
|
},
|
|
90830
90851
|
"6": {
|
|
90831
90852
|
name: "(anonymous_6)",
|
|
90832
90853
|
decl: {
|
|
90833
90854
|
start: {
|
|
90834
|
-
line:
|
|
90855
|
+
line: 57,
|
|
90835
90856
|
column: 19
|
|
90836
90857
|
},
|
|
90837
90858
|
end: {
|
|
90838
|
-
line:
|
|
90859
|
+
line: 57,
|
|
90839
90860
|
column: 20
|
|
90840
90861
|
}
|
|
90841
90862
|
},
|
|
90842
90863
|
loc: {
|
|
90843
90864
|
start: {
|
|
90844
|
-
line:
|
|
90865
|
+
line: 58,
|
|
90845
90866
|
column: 10
|
|
90846
90867
|
},
|
|
90847
90868
|
end: {
|
|
90848
|
-
line:
|
|
90869
|
+
line: 58,
|
|
90849
90870
|
column: 61
|
|
90850
90871
|
}
|
|
90851
90872
|
},
|
|
90852
|
-
line:
|
|
90873
|
+
line: 58
|
|
90853
90874
|
},
|
|
90854
90875
|
"7": {
|
|
90855
90876
|
name: "(anonymous_7)",
|
|
90856
90877
|
decl: {
|
|
90857
90878
|
start: {
|
|
90858
|
-
line:
|
|
90879
|
+
line: 63,
|
|
90859
90880
|
column: 2
|
|
90860
90881
|
},
|
|
90861
90882
|
end: {
|
|
90862
|
-
line:
|
|
90883
|
+
line: 63,
|
|
90863
90884
|
column: 3
|
|
90864
90885
|
}
|
|
90865
90886
|
},
|
|
90866
90887
|
loc: {
|
|
90867
90888
|
start: {
|
|
90868
|
-
line:
|
|
90889
|
+
line: 63,
|
|
90869
90890
|
column: 14
|
|
90870
90891
|
},
|
|
90871
90892
|
end: {
|
|
90872
|
-
line:
|
|
90893
|
+
line: 70,
|
|
90873
90894
|
column: 3
|
|
90874
90895
|
}
|
|
90875
90896
|
},
|
|
90876
|
-
line:
|
|
90897
|
+
line: 63
|
|
90877
90898
|
},
|
|
90878
90899
|
"8": {
|
|
90879
90900
|
name: "(anonymous_8)",
|
|
90880
90901
|
decl: {
|
|
90881
90902
|
start: {
|
|
90882
|
-
line:
|
|
90903
|
+
line: 72,
|
|
90883
90904
|
column: 2
|
|
90884
90905
|
},
|
|
90885
90906
|
end: {
|
|
90886
|
-
line:
|
|
90907
|
+
line: 72,
|
|
90887
90908
|
column: 3
|
|
90888
90909
|
}
|
|
90889
90910
|
},
|
|
90890
90911
|
loc: {
|
|
90891
90912
|
start: {
|
|
90892
|
-
line:
|
|
90913
|
+
line: 72,
|
|
90893
90914
|
column: 39
|
|
90894
90915
|
},
|
|
90895
90916
|
end: {
|
|
90896
|
-
line:
|
|
90917
|
+
line: 107,
|
|
90897
90918
|
column: 3
|
|
90898
90919
|
}
|
|
90899
90920
|
},
|
|
90900
|
-
line:
|
|
90921
|
+
line: 72
|
|
90901
90922
|
},
|
|
90902
90923
|
"9": {
|
|
90903
90924
|
name: "(anonymous_9)",
|
|
90904
90925
|
decl: {
|
|
90905
90926
|
start: {
|
|
90906
|
-
line:
|
|
90927
|
+
line: 109,
|
|
90907
90928
|
column: 2
|
|
90908
90929
|
},
|
|
90909
90930
|
end: {
|
|
90910
|
-
line:
|
|
90931
|
+
line: 109,
|
|
90911
90932
|
column: 3
|
|
90912
90933
|
}
|
|
90913
90934
|
},
|
|
90914
90935
|
loc: {
|
|
90915
90936
|
start: {
|
|
90916
|
-
line:
|
|
90937
|
+
line: 109,
|
|
90917
90938
|
column: 16
|
|
90918
90939
|
},
|
|
90919
90940
|
end: {
|
|
90920
|
-
line:
|
|
90941
|
+
line: 111,
|
|
90921
90942
|
column: 3
|
|
90922
90943
|
}
|
|
90923
90944
|
},
|
|
90924
|
-
line:
|
|
90945
|
+
line: 109
|
|
90925
90946
|
},
|
|
90926
90947
|
"10": {
|
|
90927
90948
|
name: "(anonymous_10)",
|
|
90928
90949
|
decl: {
|
|
90929
90950
|
start: {
|
|
90930
|
-
line:
|
|
90951
|
+
line: 113,
|
|
90931
90952
|
column: 2
|
|
90932
90953
|
},
|
|
90933
90954
|
end: {
|
|
90934
|
-
line:
|
|
90955
|
+
line: 113,
|
|
90935
90956
|
column: 3
|
|
90936
90957
|
}
|
|
90937
90958
|
},
|
|
90938
90959
|
loc: {
|
|
90939
90960
|
start: {
|
|
90940
|
-
line:
|
|
90961
|
+
line: 113,
|
|
90941
90962
|
column: 16
|
|
90942
90963
|
},
|
|
90943
90964
|
end: {
|
|
90944
|
-
line:
|
|
90965
|
+
line: 126,
|
|
90945
90966
|
column: 3
|
|
90946
90967
|
}
|
|
90947
90968
|
},
|
|
90948
|
-
line:
|
|
90969
|
+
line: 113
|
|
90949
90970
|
},
|
|
90950
90971
|
"11": {
|
|
90951
90972
|
name: "(anonymous_11)",
|
|
90952
90973
|
decl: {
|
|
90953
90974
|
start: {
|
|
90954
|
-
line:
|
|
90975
|
+
line: 116,
|
|
90955
90976
|
column: 8
|
|
90956
90977
|
},
|
|
90957
90978
|
end: {
|
|
90958
|
-
line:
|
|
90979
|
+
line: 116,
|
|
90959
90980
|
column: 9
|
|
90960
90981
|
}
|
|
90961
90982
|
},
|
|
90962
90983
|
loc: {
|
|
90963
90984
|
start: {
|
|
90964
|
-
line:
|
|
90985
|
+
line: 117,
|
|
90965
90986
|
column: 8
|
|
90966
90987
|
},
|
|
90967
90988
|
end: {
|
|
90968
|
-
line:
|
|
90989
|
+
line: 124,
|
|
90969
90990
|
column: 18
|
|
90970
90991
|
}
|
|
90971
90992
|
},
|
|
90972
|
-
line:
|
|
90993
|
+
line: 117
|
|
90973
90994
|
},
|
|
90974
90995
|
"12": {
|
|
90975
90996
|
name: "(anonymous_12)",
|
|
90976
90997
|
decl: {
|
|
90977
90998
|
start: {
|
|
90978
|
-
line:
|
|
90999
|
+
line: 117,
|
|
90979
91000
|
column: 8
|
|
90980
91001
|
},
|
|
90981
91002
|
end: {
|
|
90982
|
-
line:
|
|
91003
|
+
line: 117,
|
|
90983
91004
|
column: 9
|
|
90984
91005
|
}
|
|
90985
91006
|
},
|
|
90986
91007
|
loc: {
|
|
90987
91008
|
start: {
|
|
90988
|
-
line:
|
|
91009
|
+
line: 118,
|
|
90989
91010
|
column: 10
|
|
90990
91011
|
},
|
|
90991
91012
|
end: {
|
|
90992
|
-
line:
|
|
91013
|
+
line: 124,
|
|
90993
91014
|
column: 18
|
|
90994
91015
|
}
|
|
90995
91016
|
},
|
|
90996
|
-
line:
|
|
91017
|
+
line: 118
|
|
90997
91018
|
},
|
|
90998
91019
|
"13": {
|
|
90999
91020
|
name: "(anonymous_13)",
|
|
91000
91021
|
decl: {
|
|
91001
91022
|
start: {
|
|
91002
|
-
line:
|
|
91023
|
+
line: 129,
|
|
91003
91024
|
column: 15
|
|
91004
91025
|
},
|
|
91005
91026
|
end: {
|
|
91006
|
-
line:
|
|
91027
|
+
line: 129,
|
|
91007
91028
|
column: 16
|
|
91008
91029
|
}
|
|
91009
91030
|
},
|
|
91010
91031
|
loc: {
|
|
91011
91032
|
start: {
|
|
91012
|
-
line:
|
|
91033
|
+
line: 129,
|
|
91013
91034
|
column: 36
|
|
91014
91035
|
},
|
|
91015
91036
|
end: {
|
|
91016
|
-
line:
|
|
91037
|
+
line: 141,
|
|
91017
91038
|
column: 1
|
|
91018
91039
|
}
|
|
91019
91040
|
},
|
|
91020
|
-
line:
|
|
91041
|
+
line: 129
|
|
91021
91042
|
},
|
|
91022
91043
|
"14": {
|
|
91023
91044
|
name: "(anonymous_14)",
|
|
91024
91045
|
decl: {
|
|
91025
91046
|
start: {
|
|
91026
|
-
line:
|
|
91047
|
+
line: 144,
|
|
91027
91048
|
column: 13
|
|
91028
91049
|
},
|
|
91029
91050
|
end: {
|
|
91030
|
-
line:
|
|
91051
|
+
line: 144,
|
|
91031
91052
|
column: 14
|
|
91032
91053
|
}
|
|
91033
91054
|
},
|
|
91034
91055
|
loc: {
|
|
91035
91056
|
start: {
|
|
91036
|
-
line:
|
|
91057
|
+
line: 145,
|
|
91037
91058
|
column: 4
|
|
91038
91059
|
},
|
|
91039
91060
|
end: {
|
|
91040
|
-
line:
|
|
91061
|
+
line: 185,
|
|
91041
91062
|
column: 6
|
|
91042
91063
|
}
|
|
91043
91064
|
},
|
|
91044
|
-
line:
|
|
91065
|
+
line: 145
|
|
91045
91066
|
},
|
|
91046
91067
|
"15": {
|
|
91047
91068
|
name: "(anonymous_15)",
|
|
91048
91069
|
decl: {
|
|
91049
91070
|
start: {
|
|
91050
|
-
line:
|
|
91071
|
+
line: 146,
|
|
91051
91072
|
column: 6
|
|
91052
91073
|
},
|
|
91053
91074
|
end: {
|
|
91054
|
-
line:
|
|
91075
|
+
line: 146,
|
|
91055
91076
|
column: 7
|
|
91056
91077
|
}
|
|
91057
91078
|
},
|
|
91058
91079
|
loc: {
|
|
91059
91080
|
start: {
|
|
91060
|
-
line:
|
|
91081
|
+
line: 146,
|
|
91061
91082
|
column: 30
|
|
91062
91083
|
},
|
|
91063
91084
|
end: {
|
|
91064
|
-
line:
|
|
91085
|
+
line: 184,
|
|
91065
91086
|
column: 7
|
|
91066
91087
|
}
|
|
91067
91088
|
},
|
|
91068
|
-
line:
|
|
91089
|
+
line: 146
|
|
91069
91090
|
},
|
|
91070
91091
|
"16": {
|
|
91071
91092
|
name: "(anonymous_16)",
|
|
91072
91093
|
decl: {
|
|
91073
91094
|
start: {
|
|
91074
|
-
line:
|
|
91095
|
+
line: 151,
|
|
91075
91096
|
column: 16
|
|
91076
91097
|
},
|
|
91077
91098
|
end: {
|
|
91078
|
-
line:
|
|
91099
|
+
line: 151,
|
|
91079
91100
|
column: 17
|
|
91080
91101
|
}
|
|
91081
91102
|
},
|
|
91082
91103
|
loc: {
|
|
91083
91104
|
start: {
|
|
91084
|
-
line:
|
|
91105
|
+
line: 151,
|
|
91085
91106
|
column: 35
|
|
91086
91107
|
},
|
|
91087
91108
|
end: {
|
|
91088
|
-
line:
|
|
91109
|
+
line: 179,
|
|
91089
91110
|
column: 17
|
|
91090
91111
|
}
|
|
91091
91112
|
},
|
|
91092
|
-
line:
|
|
91113
|
+
line: 151
|
|
91093
91114
|
},
|
|
91094
91115
|
"17": {
|
|
91095
91116
|
name: "(anonymous_17)",
|
|
91096
91117
|
decl: {
|
|
91097
91118
|
start: {
|
|
91098
|
-
line:
|
|
91119
|
+
line: 163,
|
|
91099
91120
|
column: 20
|
|
91100
91121
|
},
|
|
91101
91122
|
end: {
|
|
91102
|
-
line:
|
|
91123
|
+
line: 163,
|
|
91103
91124
|
column: 21
|
|
91104
91125
|
}
|
|
91105
91126
|
},
|
|
91106
91127
|
loc: {
|
|
91107
91128
|
start: {
|
|
91108
|
-
line:
|
|
91129
|
+
line: 163,
|
|
91109
91130
|
column: 28
|
|
91110
91131
|
},
|
|
91111
91132
|
end: {
|
|
91112
|
-
line:
|
|
91133
|
+
line: 163,
|
|
91113
91134
|
column: 52
|
|
91114
91135
|
}
|
|
91115
91136
|
},
|
|
91116
|
-
line:
|
|
91137
|
+
line: 163
|
|
91117
91138
|
},
|
|
91118
91139
|
"18": {
|
|
91119
91140
|
name: "(anonymous_18)",
|
|
91120
91141
|
decl: {
|
|
91121
91142
|
start: {
|
|
91122
|
-
line:
|
|
91143
|
+
line: 170,
|
|
91123
91144
|
column: 33
|
|
91124
91145
|
},
|
|
91125
91146
|
end: {
|
|
91126
|
-
line:
|
|
91147
|
+
line: 170,
|
|
91127
91148
|
column: 34
|
|
91128
91149
|
}
|
|
91129
91150
|
},
|
|
91130
91151
|
loc: {
|
|
91131
91152
|
start: {
|
|
91132
|
-
line:
|
|
91153
|
+
line: 170,
|
|
91133
91154
|
column: 48
|
|
91134
91155
|
},
|
|
91135
91156
|
end: {
|
|
91136
|
-
line:
|
|
91157
|
+
line: 178,
|
|
91137
91158
|
column: 19
|
|
91138
91159
|
}
|
|
91139
91160
|
},
|
|
91140
|
-
line:
|
|
91161
|
+
line: 170
|
|
91141
91162
|
}
|
|
91142
91163
|
},
|
|
91143
91164
|
branchMap: {
|
|
91144
91165
|
"0": {
|
|
91145
91166
|
loc: {
|
|
91146
91167
|
start: {
|
|
91147
|
-
line:
|
|
91168
|
+
line: 122,
|
|
91148
91169
|
column: 23
|
|
91149
91170
|
},
|
|
91150
91171
|
end: {
|
|
91151
|
-
line:
|
|
91172
|
+
line: 122,
|
|
91152
91173
|
column: 71
|
|
91153
91174
|
}
|
|
91154
91175
|
},
|
|
91155
91176
|
type: "cond-expr",
|
|
91156
91177
|
locations: [{
|
|
91157
91178
|
start: {
|
|
91158
|
-
line:
|
|
91179
|
+
line: 122,
|
|
91159
91180
|
column: 33
|
|
91160
91181
|
},
|
|
91161
91182
|
end: {
|
|
91162
|
-
line:
|
|
91183
|
+
line: 122,
|
|
91163
91184
|
column: 66
|
|
91164
91185
|
}
|
|
91165
91186
|
}, {
|
|
91166
91187
|
start: {
|
|
91167
|
-
line:
|
|
91188
|
+
line: 122,
|
|
91168
91189
|
column: 69
|
|
91169
91190
|
},
|
|
91170
91191
|
end: {
|
|
91171
|
-
line:
|
|
91192
|
+
line: 122,
|
|
91172
91193
|
column: 71
|
|
91173
91194
|
}
|
|
91174
91195
|
}],
|
|
91175
|
-
line:
|
|
91196
|
+
line: 122
|
|
91176
91197
|
},
|
|
91177
91198
|
"1": {
|
|
91178
91199
|
loc: {
|
|
91179
91200
|
start: {
|
|
91180
|
-
line:
|
|
91201
|
+
line: 130,
|
|
91181
91202
|
column: 2
|
|
91182
91203
|
},
|
|
91183
91204
|
end: {
|
|
91184
|
-
line:
|
|
91205
|
+
line: 135,
|
|
91185
91206
|
column: 3
|
|
91186
91207
|
}
|
|
91187
91208
|
},
|
|
91188
91209
|
type: "if",
|
|
91189
91210
|
locations: [{
|
|
91190
91211
|
start: {
|
|
91191
|
-
line:
|
|
91212
|
+
line: 130,
|
|
91192
91213
|
column: 2
|
|
91193
91214
|
},
|
|
91194
91215
|
end: {
|
|
91195
|
-
line:
|
|
91216
|
+
line: 135,
|
|
91196
91217
|
column: 3
|
|
91197
91218
|
}
|
|
91198
91219
|
}, {
|
|
@@ -91205,60 +91226,60 @@ function cov_ksv9azglk() {
|
|
|
91205
91226
|
column: undefined
|
|
91206
91227
|
}
|
|
91207
91228
|
}],
|
|
91208
|
-
line:
|
|
91229
|
+
line: 130
|
|
91209
91230
|
},
|
|
91210
91231
|
"2": {
|
|
91211
91232
|
loc: {
|
|
91212
91233
|
start: {
|
|
91213
|
-
line:
|
|
91234
|
+
line: 134,
|
|
91214
91235
|
column: 11
|
|
91215
91236
|
},
|
|
91216
91237
|
end: {
|
|
91217
|
-
line:
|
|
91238
|
+
line: 134,
|
|
91218
91239
|
column: 55
|
|
91219
91240
|
}
|
|
91220
91241
|
},
|
|
91221
91242
|
type: "binary-expr",
|
|
91222
91243
|
locations: [{
|
|
91223
91244
|
start: {
|
|
91224
|
-
line:
|
|
91245
|
+
line: 134,
|
|
91225
91246
|
column: 11
|
|
91226
91247
|
},
|
|
91227
91248
|
end: {
|
|
91228
|
-
line:
|
|
91249
|
+
line: 134,
|
|
91229
91250
|
column: 34
|
|
91230
91251
|
}
|
|
91231
91252
|
}, {
|
|
91232
91253
|
start: {
|
|
91233
|
-
line:
|
|
91254
|
+
line: 134,
|
|
91234
91255
|
column: 38
|
|
91235
91256
|
},
|
|
91236
91257
|
end: {
|
|
91237
|
-
line:
|
|
91258
|
+
line: 134,
|
|
91238
91259
|
column: 55
|
|
91239
91260
|
}
|
|
91240
91261
|
}],
|
|
91241
|
-
line:
|
|
91262
|
+
line: 134
|
|
91242
91263
|
},
|
|
91243
91264
|
"3": {
|
|
91244
91265
|
loc: {
|
|
91245
91266
|
start: {
|
|
91246
|
-
line:
|
|
91267
|
+
line: 160,
|
|
91247
91268
|
column: 18
|
|
91248
91269
|
},
|
|
91249
91270
|
end: {
|
|
91250
|
-
line:
|
|
91271
|
+
line: 160,
|
|
91251
91272
|
column: 40
|
|
91252
91273
|
}
|
|
91253
91274
|
},
|
|
91254
91275
|
type: "if",
|
|
91255
91276
|
locations: [{
|
|
91256
91277
|
start: {
|
|
91257
|
-
line:
|
|
91278
|
+
line: 160,
|
|
91258
91279
|
column: 18
|
|
91259
91280
|
},
|
|
91260
91281
|
end: {
|
|
91261
|
-
line:
|
|
91282
|
+
line: 160,
|
|
91262
91283
|
column: 40
|
|
91263
91284
|
}
|
|
91264
91285
|
}, {
|
|
@@ -91271,27 +91292,27 @@ function cov_ksv9azglk() {
|
|
|
91271
91292
|
column: undefined
|
|
91272
91293
|
}
|
|
91273
91294
|
}],
|
|
91274
|
-
line:
|
|
91295
|
+
line: 160
|
|
91275
91296
|
},
|
|
91276
91297
|
"4": {
|
|
91277
91298
|
loc: {
|
|
91278
91299
|
start: {
|
|
91279
|
-
line:
|
|
91300
|
+
line: 166,
|
|
91280
91301
|
column: 18
|
|
91281
91302
|
},
|
|
91282
91303
|
end: {
|
|
91283
|
-
line:
|
|
91304
|
+
line: 166,
|
|
91284
91305
|
column: 46
|
|
91285
91306
|
}
|
|
91286
91307
|
},
|
|
91287
91308
|
type: "if",
|
|
91288
91309
|
locations: [{
|
|
91289
91310
|
start: {
|
|
91290
|
-
line:
|
|
91311
|
+
line: 166,
|
|
91291
91312
|
column: 18
|
|
91292
91313
|
},
|
|
91293
91314
|
end: {
|
|
91294
|
-
line:
|
|
91315
|
+
line: 166,
|
|
91295
91316
|
column: 46
|
|
91296
91317
|
}
|
|
91297
91318
|
}, {
|
|
@@ -91304,27 +91325,27 @@ function cov_ksv9azglk() {
|
|
|
91304
91325
|
column: undefined
|
|
91305
91326
|
}
|
|
91306
91327
|
}],
|
|
91307
|
-
line:
|
|
91328
|
+
line: 166
|
|
91308
91329
|
},
|
|
91309
91330
|
"5": {
|
|
91310
91331
|
loc: {
|
|
91311
91332
|
start: {
|
|
91312
|
-
line:
|
|
91333
|
+
line: 174,
|
|
91313
91334
|
column: 20
|
|
91314
91335
|
},
|
|
91315
91336
|
end: {
|
|
91316
|
-
line:
|
|
91337
|
+
line: 177,
|
|
91317
91338
|
column: 21
|
|
91318
91339
|
}
|
|
91319
91340
|
},
|
|
91320
91341
|
type: "if",
|
|
91321
91342
|
locations: [{
|
|
91322
91343
|
start: {
|
|
91323
|
-
line:
|
|
91344
|
+
line: 174,
|
|
91324
91345
|
column: 20
|
|
91325
91346
|
},
|
|
91326
91347
|
end: {
|
|
91327
|
-
line:
|
|
91348
|
+
line: 177,
|
|
91328
91349
|
column: 21
|
|
91329
91350
|
}
|
|
91330
91351
|
}, {
|
|
@@ -91337,7 +91358,7 @@ function cov_ksv9azglk() {
|
|
|
91337
91358
|
column: undefined
|
|
91338
91359
|
}
|
|
91339
91360
|
}],
|
|
91340
|
-
line:
|
|
91361
|
+
line: 174
|
|
91341
91362
|
}
|
|
91342
91363
|
},
|
|
91343
91364
|
s: {
|
|
@@ -91413,7 +91434,7 @@ function cov_ksv9azglk() {
|
|
|
91413
91434
|
"5": [0, 0]
|
|
91414
91435
|
},
|
|
91415
91436
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
91416
|
-
hash: "
|
|
91437
|
+
hash: "3bebbf402f81491dd9c9f45cd7e242485e38da56"
|
|
91417
91438
|
};
|
|
91418
91439
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
91419
91440
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -91588,7 +91609,9 @@ var upload = /*#__PURE__*/function () {
|
|
|
91588
91609
|
case 14:
|
|
91589
91610
|
imageSizeInMB = (cov_ksv9azglk().s[22]++, MAX_IMAGE_SIZE / (1024 * 1024));
|
|
91590
91611
|
cov_ksv9azglk().s[23]++;
|
|
91591
|
-
Toastr.error("
|
|
91612
|
+
Toastr.error(t$7("error.imageSizeIsShouldBeLess", {
|
|
91613
|
+
limit: imageSizeInMB
|
|
91614
|
+
}));
|
|
91592
91615
|
cov_ksv9azglk().s[24]++;
|
|
91593
91616
|
return _context.abrupt("return", "");
|
|
91594
91617
|
case 19:
|
|
@@ -96422,7 +96445,7 @@ var Mention = {
|
|
|
96422
96445
|
|
|
96423
96446
|
function cov_134mrrjy5g() {
|
|
96424
96447
|
var path = "/home/runner/work/neeto-editor/neeto-editor/src/components/Editor/CustomExtensions/Placeholder/ExtensionConfig.js";
|
|
96425
|
-
var hash = "
|
|
96448
|
+
var hash = "a628a59bba8d6c190faea7f50c6e8fcbc3298925";
|
|
96426
96449
|
var global = new Function("return this")();
|
|
96427
96450
|
var gcv = "__coverage__";
|
|
96428
96451
|
var coverageData = {
|
|
@@ -96430,201 +96453,201 @@ function cov_134mrrjy5g() {
|
|
|
96430
96453
|
statementMap: {
|
|
96431
96454
|
"0": {
|
|
96432
96455
|
start: {
|
|
96433
|
-
line:
|
|
96456
|
+
line: 6,
|
|
96434
96457
|
column: 20
|
|
96435
96458
|
},
|
|
96436
96459
|
end: {
|
|
96437
|
-
line:
|
|
96460
|
+
line: 70,
|
|
96438
96461
|
column: 2
|
|
96439
96462
|
}
|
|
96440
96463
|
},
|
|
96441
96464
|
"1": {
|
|
96442
96465
|
start: {
|
|
96443
|
-
line:
|
|
96466
|
+
line: 10,
|
|
96444
96467
|
column: 4
|
|
96445
96468
|
},
|
|
96446
96469
|
end: {
|
|
96447
|
-
line:
|
|
96470
|
+
line: 18,
|
|
96448
96471
|
column: 6
|
|
96449
96472
|
}
|
|
96450
96473
|
},
|
|
96451
96474
|
"2": {
|
|
96452
96475
|
start: {
|
|
96453
|
-
line:
|
|
96476
|
+
line: 22,
|
|
96454
96477
|
column: 4
|
|
96455
96478
|
},
|
|
96456
96479
|
end: {
|
|
96457
|
-
line:
|
|
96480
|
+
line: 68,
|
|
96458
96481
|
column: 6
|
|
96459
96482
|
}
|
|
96460
96483
|
},
|
|
96461
96484
|
"3": {
|
|
96462
96485
|
start: {
|
|
96463
|
-
line:
|
|
96486
|
+
line: 27,
|
|
96464
96487
|
column: 14
|
|
96465
96488
|
},
|
|
96466
96489
|
end: {
|
|
96467
|
-
line:
|
|
96490
|
+
line: 27,
|
|
96468
96491
|
column: 74
|
|
96469
96492
|
}
|
|
96470
96493
|
},
|
|
96471
96494
|
"4": {
|
|
96472
96495
|
start: {
|
|
96473
|
-
line:
|
|
96496
|
+
line: 28,
|
|
96474
96497
|
column: 31
|
|
96475
96498
|
},
|
|
96476
96499
|
end: {
|
|
96477
|
-
line:
|
|
96500
|
+
line: 28,
|
|
96478
96501
|
column: 40
|
|
96479
96502
|
}
|
|
96480
96503
|
},
|
|
96481
96504
|
"5": {
|
|
96482
96505
|
start: {
|
|
96483
|
-
line:
|
|
96506
|
+
line: 29,
|
|
96484
96507
|
column: 32
|
|
96485
96508
|
},
|
|
96486
96509
|
end: {
|
|
96487
|
-
line:
|
|
96510
|
+
line: 29,
|
|
96488
96511
|
column: 34
|
|
96489
96512
|
}
|
|
96490
96513
|
},
|
|
96491
96514
|
"6": {
|
|
96492
96515
|
start: {
|
|
96493
|
-
line:
|
|
96516
|
+
line: 31,
|
|
96494
96517
|
column: 12
|
|
96495
96518
|
},
|
|
96496
96519
|
end: {
|
|
96497
|
-
line:
|
|
96520
|
+
line: 33,
|
|
96498
96521
|
column: 13
|
|
96499
96522
|
}
|
|
96500
96523
|
},
|
|
96501
96524
|
"7": {
|
|
96502
96525
|
start: {
|
|
96503
|
-
line:
|
|
96526
|
+
line: 32,
|
|
96504
96527
|
column: 14
|
|
96505
96528
|
},
|
|
96506
96529
|
end: {
|
|
96507
|
-
line:
|
|
96530
|
+
line: 32,
|
|
96508
96531
|
column: 26
|
|
96509
96532
|
}
|
|
96510
96533
|
},
|
|
96511
96534
|
"8": {
|
|
96512
96535
|
start: {
|
|
96513
|
-
line:
|
|
96536
|
+
line: 35,
|
|
96514
96537
|
column: 12
|
|
96515
96538
|
},
|
|
96516
96539
|
end: {
|
|
96517
|
-
line:
|
|
96540
|
+
line: 62,
|
|
96518
96541
|
column: 15
|
|
96519
96542
|
}
|
|
96520
96543
|
},
|
|
96521
96544
|
"9": {
|
|
96522
96545
|
start: {
|
|
96523
|
-
line:
|
|
96546
|
+
line: 36,
|
|
96524
96547
|
column: 32
|
|
96525
96548
|
},
|
|
96526
96549
|
end: {
|
|
96527
|
-
line:
|
|
96550
|
+
line: 36,
|
|
96528
96551
|
column: 78
|
|
96529
96552
|
}
|
|
96530
96553
|
},
|
|
96531
96554
|
"10": {
|
|
96532
96555
|
start: {
|
|
96533
|
-
line:
|
|
96556
|
+
line: 37,
|
|
96534
96557
|
column: 30
|
|
96535
96558
|
},
|
|
96536
96559
|
end: {
|
|
96537
|
-
line:
|
|
96560
|
+
line: 37,
|
|
96538
96561
|
column: 62
|
|
96539
96562
|
}
|
|
96540
96563
|
},
|
|
96541
96564
|
"11": {
|
|
96542
96565
|
start: {
|
|
96543
|
-
line:
|
|
96566
|
+
line: 39,
|
|
96544
96567
|
column: 33
|
|
96545
96568
|
},
|
|
96546
96569
|
end: {
|
|
96547
|
-
line:
|
|
96570
|
+
line: 41,
|
|
96548
96571
|
column: 15
|
|
96549
96572
|
}
|
|
96550
96573
|
},
|
|
96551
96574
|
"12": {
|
|
96552
96575
|
start: {
|
|
96553
|
-
line:
|
|
96576
|
+
line: 43,
|
|
96554
96577
|
column: 14
|
|
96555
96578
|
},
|
|
96556
96579
|
end: {
|
|
96557
|
-
line:
|
|
96580
|
+
line: 59,
|
|
96558
96581
|
column: 15
|
|
96559
96582
|
}
|
|
96560
96583
|
},
|
|
96561
96584
|
"13": {
|
|
96562
96585
|
start: {
|
|
96563
|
-
line:
|
|
96586
|
+
line: 48,
|
|
96564
96587
|
column: 32
|
|
96565
96588
|
},
|
|
96566
96589
|
end: {
|
|
96567
|
-
line:
|
|
96590
|
+
line: 48,
|
|
96568
96591
|
column: 61
|
|
96569
96592
|
}
|
|
96570
96593
|
},
|
|
96571
96594
|
"14": {
|
|
96572
96595
|
start: {
|
|
96573
|
-
line:
|
|
96596
|
+
line: 50,
|
|
96574
96597
|
column: 16
|
|
96575
96598
|
},
|
|
96576
96599
|
end: {
|
|
96577
|
-
line:
|
|
96600
|
+
line: 52,
|
|
96578
96601
|
column: 17
|
|
96579
96602
|
}
|
|
96580
96603
|
},
|
|
96581
96604
|
"15": {
|
|
96582
96605
|
start: {
|
|
96583
|
-
line:
|
|
96606
|
+
line: 51,
|
|
96584
96607
|
column: 18
|
|
96585
96608
|
},
|
|
96586
96609
|
end: {
|
|
96587
|
-
line:
|
|
96610
|
+
line: 51,
|
|
96588
96611
|
column: 62
|
|
96589
96612
|
}
|
|
96590
96613
|
},
|
|
96591
96614
|
"16": {
|
|
96592
96615
|
start: {
|
|
96593
|
-
line:
|
|
96616
|
+
line: 54,
|
|
96594
96617
|
column: 35
|
|
96595
96618
|
},
|
|
96596
96619
|
end: {
|
|
96597
|
-
line:
|
|
96620
|
+
line: 57,
|
|
96598
96621
|
column: 18
|
|
96599
96622
|
}
|
|
96600
96623
|
},
|
|
96601
96624
|
"17": {
|
|
96602
96625
|
start: {
|
|
96603
|
-
line:
|
|
96626
|
+
line: 58,
|
|
96604
96627
|
column: 16
|
|
96605
96628
|
},
|
|
96606
96629
|
end: {
|
|
96607
|
-
line:
|
|
96630
|
+
line: 58,
|
|
96608
96631
|
column: 45
|
|
96609
96632
|
}
|
|
96610
96633
|
},
|
|
96611
96634
|
"18": {
|
|
96612
96635
|
start: {
|
|
96613
|
-
line:
|
|
96636
|
+
line: 61,
|
|
96614
96637
|
column: 14
|
|
96615
96638
|
},
|
|
96616
96639
|
end: {
|
|
96617
|
-
line:
|
|
96640
|
+
line: 61,
|
|
96618
96641
|
column: 50
|
|
96619
96642
|
}
|
|
96620
96643
|
},
|
|
96621
96644
|
"19": {
|
|
96622
96645
|
start: {
|
|
96623
|
-
line:
|
|
96646
|
+
line: 64,
|
|
96624
96647
|
column: 12
|
|
96625
96648
|
},
|
|
96626
96649
|
end: {
|
|
96627
|
-
line:
|
|
96650
|
+
line: 64,
|
|
96628
96651
|
column: 58
|
|
96629
96652
|
}
|
|
96630
96653
|
}
|
|
@@ -96634,152 +96657,152 @@ function cov_134mrrjy5g() {
|
|
|
96634
96657
|
name: "(anonymous_0)",
|
|
96635
96658
|
decl: {
|
|
96636
96659
|
start: {
|
|
96637
|
-
line:
|
|
96660
|
+
line: 9,
|
|
96638
96661
|
column: 2
|
|
96639
96662
|
},
|
|
96640
96663
|
end: {
|
|
96641
|
-
line:
|
|
96664
|
+
line: 9,
|
|
96642
96665
|
column: 3
|
|
96643
96666
|
}
|
|
96644
96667
|
},
|
|
96645
96668
|
loc: {
|
|
96646
96669
|
start: {
|
|
96647
|
-
line:
|
|
96670
|
+
line: 9,
|
|
96648
96671
|
column: 15
|
|
96649
96672
|
},
|
|
96650
96673
|
end: {
|
|
96651
|
-
line:
|
|
96674
|
+
line: 19,
|
|
96652
96675
|
column: 3
|
|
96653
96676
|
}
|
|
96654
96677
|
},
|
|
96655
|
-
line:
|
|
96678
|
+
line: 9
|
|
96656
96679
|
},
|
|
96657
96680
|
"1": {
|
|
96658
96681
|
name: "(anonymous_1)",
|
|
96659
96682
|
decl: {
|
|
96660
96683
|
start: {
|
|
96661
|
-
line:
|
|
96684
|
+
line: 21,
|
|
96662
96685
|
column: 2
|
|
96663
96686
|
},
|
|
96664
96687
|
end: {
|
|
96665
|
-
line:
|
|
96688
|
+
line: 21,
|
|
96666
96689
|
column: 3
|
|
96667
96690
|
}
|
|
96668
96691
|
},
|
|
96669
96692
|
loc: {
|
|
96670
96693
|
start: {
|
|
96671
|
-
line:
|
|
96694
|
+
line: 21,
|
|
96672
96695
|
column: 26
|
|
96673
96696
|
},
|
|
96674
96697
|
end: {
|
|
96675
|
-
line:
|
|
96698
|
+
line: 69,
|
|
96676
96699
|
column: 3
|
|
96677
96700
|
}
|
|
96678
96701
|
},
|
|
96679
|
-
line:
|
|
96702
|
+
line: 21
|
|
96680
96703
|
},
|
|
96681
96704
|
"2": {
|
|
96682
96705
|
name: "(anonymous_2)",
|
|
96683
96706
|
decl: {
|
|
96684
96707
|
start: {
|
|
96685
|
-
line:
|
|
96708
|
+
line: 25,
|
|
96686
96709
|
column: 23
|
|
96687
96710
|
},
|
|
96688
96711
|
end: {
|
|
96689
|
-
line:
|
|
96712
|
+
line: 25,
|
|
96690
96713
|
column: 24
|
|
96691
96714
|
}
|
|
96692
96715
|
},
|
|
96693
96716
|
loc: {
|
|
96694
96717
|
start: {
|
|
96695
|
-
line:
|
|
96718
|
+
line: 25,
|
|
96696
96719
|
column: 47
|
|
96697
96720
|
},
|
|
96698
96721
|
end: {
|
|
96699
|
-
line:
|
|
96722
|
+
line: 65,
|
|
96700
96723
|
column: 11
|
|
96701
96724
|
}
|
|
96702
96725
|
},
|
|
96703
|
-
line:
|
|
96726
|
+
line: 25
|
|
96704
96727
|
},
|
|
96705
96728
|
"3": {
|
|
96706
96729
|
name: "(anonymous_3)",
|
|
96707
96730
|
decl: {
|
|
96708
96731
|
start: {
|
|
96709
|
-
line:
|
|
96732
|
+
line: 35,
|
|
96710
96733
|
column: 28
|
|
96711
96734
|
},
|
|
96712
96735
|
end: {
|
|
96713
|
-
line:
|
|
96736
|
+
line: 35,
|
|
96714
96737
|
column: 29
|
|
96715
96738
|
}
|
|
96716
96739
|
},
|
|
96717
96740
|
loc: {
|
|
96718
96741
|
start: {
|
|
96719
|
-
line:
|
|
96742
|
+
line: 35,
|
|
96720
96743
|
column: 43
|
|
96721
96744
|
},
|
|
96722
96745
|
end: {
|
|
96723
|
-
line:
|
|
96746
|
+
line: 62,
|
|
96724
96747
|
column: 13
|
|
96725
96748
|
}
|
|
96726
96749
|
},
|
|
96727
|
-
line:
|
|
96750
|
+
line: 35
|
|
96728
96751
|
}
|
|
96729
96752
|
},
|
|
96730
96753
|
branchMap: {
|
|
96731
96754
|
"0": {
|
|
96732
96755
|
loc: {
|
|
96733
96756
|
start: {
|
|
96734
|
-
line:
|
|
96757
|
+
line: 27,
|
|
96735
96758
|
column: 14
|
|
96736
96759
|
},
|
|
96737
96760
|
end: {
|
|
96738
|
-
line:
|
|
96761
|
+
line: 27,
|
|
96739
96762
|
column: 74
|
|
96740
96763
|
}
|
|
96741
96764
|
},
|
|
96742
96765
|
type: "binary-expr",
|
|
96743
96766
|
locations: [{
|
|
96744
96767
|
start: {
|
|
96745
|
-
line:
|
|
96768
|
+
line: 27,
|
|
96746
96769
|
column: 14
|
|
96747
96770
|
},
|
|
96748
96771
|
end: {
|
|
96749
|
-
line:
|
|
96772
|
+
line: 27,
|
|
96750
96773
|
column: 36
|
|
96751
96774
|
}
|
|
96752
96775
|
}, {
|
|
96753
96776
|
start: {
|
|
96754
|
-
line:
|
|
96777
|
+
line: 27,
|
|
96755
96778
|
column: 40
|
|
96756
96779
|
},
|
|
96757
96780
|
end: {
|
|
96758
|
-
line:
|
|
96781
|
+
line: 27,
|
|
96759
96782
|
column: 74
|
|
96760
96783
|
}
|
|
96761
96784
|
}],
|
|
96762
|
-
line:
|
|
96785
|
+
line: 27
|
|
96763
96786
|
},
|
|
96764
96787
|
"1": {
|
|
96765
96788
|
loc: {
|
|
96766
96789
|
start: {
|
|
96767
|
-
line:
|
|
96790
|
+
line: 31,
|
|
96768
96791
|
column: 12
|
|
96769
96792
|
},
|
|
96770
96793
|
end: {
|
|
96771
|
-
line:
|
|
96794
|
+
line: 33,
|
|
96772
96795
|
column: 13
|
|
96773
96796
|
}
|
|
96774
96797
|
},
|
|
96775
96798
|
type: "if",
|
|
96776
96799
|
locations: [{
|
|
96777
96800
|
start: {
|
|
96778
|
-
line:
|
|
96801
|
+
line: 31,
|
|
96779
96802
|
column: 12
|
|
96780
96803
|
},
|
|
96781
96804
|
end: {
|
|
96782
|
-
line:
|
|
96805
|
+
line: 33,
|
|
96783
96806
|
column: 13
|
|
96784
96807
|
}
|
|
96785
96808
|
}, {
|
|
@@ -96792,93 +96815,93 @@ function cov_134mrrjy5g() {
|
|
|
96792
96815
|
column: undefined
|
|
96793
96816
|
}
|
|
96794
96817
|
}],
|
|
96795
|
-
line:
|
|
96818
|
+
line: 31
|
|
96796
96819
|
},
|
|
96797
96820
|
"2": {
|
|
96798
96821
|
loc: {
|
|
96799
96822
|
start: {
|
|
96800
|
-
line:
|
|
96823
|
+
line: 36,
|
|
96801
96824
|
column: 32
|
|
96802
96825
|
},
|
|
96803
96826
|
end: {
|
|
96804
|
-
line:
|
|
96827
|
+
line: 36,
|
|
96805
96828
|
column: 78
|
|
96806
96829
|
}
|
|
96807
96830
|
},
|
|
96808
96831
|
type: "binary-expr",
|
|
96809
96832
|
locations: [{
|
|
96810
96833
|
start: {
|
|
96811
|
-
line:
|
|
96834
|
+
line: 36,
|
|
96812
96835
|
column: 32
|
|
96813
96836
|
},
|
|
96814
96837
|
end: {
|
|
96815
|
-
line:
|
|
96838
|
+
line: 36,
|
|
96816
96839
|
column: 45
|
|
96817
96840
|
}
|
|
96818
96841
|
}, {
|
|
96819
96842
|
start: {
|
|
96820
|
-
line:
|
|
96843
|
+
line: 36,
|
|
96821
96844
|
column: 49
|
|
96822
96845
|
},
|
|
96823
96846
|
end: {
|
|
96824
|
-
line:
|
|
96847
|
+
line: 36,
|
|
96825
96848
|
column: 78
|
|
96826
96849
|
}
|
|
96827
96850
|
}],
|
|
96828
|
-
line:
|
|
96851
|
+
line: 36
|
|
96829
96852
|
},
|
|
96830
96853
|
"3": {
|
|
96831
96854
|
loc: {
|
|
96832
96855
|
start: {
|
|
96833
|
-
line:
|
|
96856
|
+
line: 37,
|
|
96834
96857
|
column: 30
|
|
96835
96858
|
},
|
|
96836
96859
|
end: {
|
|
96837
|
-
line:
|
|
96860
|
+
line: 37,
|
|
96838
96861
|
column: 62
|
|
96839
96862
|
}
|
|
96840
96863
|
},
|
|
96841
96864
|
type: "binary-expr",
|
|
96842
96865
|
locations: [{
|
|
96843
96866
|
start: {
|
|
96844
|
-
line:
|
|
96867
|
+
line: 37,
|
|
96845
96868
|
column: 30
|
|
96846
96869
|
},
|
|
96847
96870
|
end: {
|
|
96848
|
-
line:
|
|
96871
|
+
line: 37,
|
|
96849
96872
|
column: 42
|
|
96850
96873
|
}
|
|
96851
96874
|
}, {
|
|
96852
96875
|
start: {
|
|
96853
|
-
line:
|
|
96876
|
+
line: 37,
|
|
96854
96877
|
column: 46
|
|
96855
96878
|
},
|
|
96856
96879
|
end: {
|
|
96857
|
-
line:
|
|
96880
|
+
line: 37,
|
|
96858
96881
|
column: 62
|
|
96859
96882
|
}
|
|
96860
96883
|
}],
|
|
96861
|
-
line:
|
|
96884
|
+
line: 37
|
|
96862
96885
|
},
|
|
96863
96886
|
"4": {
|
|
96864
96887
|
loc: {
|
|
96865
96888
|
start: {
|
|
96866
|
-
line:
|
|
96889
|
+
line: 43,
|
|
96867
96890
|
column: 14
|
|
96868
96891
|
},
|
|
96869
96892
|
end: {
|
|
96870
|
-
line:
|
|
96893
|
+
line: 59,
|
|
96871
96894
|
column: 15
|
|
96872
96895
|
}
|
|
96873
96896
|
},
|
|
96874
96897
|
type: "if",
|
|
96875
96898
|
locations: [{
|
|
96876
96899
|
start: {
|
|
96877
|
-
line:
|
|
96900
|
+
line: 43,
|
|
96878
96901
|
column: 14
|
|
96879
96902
|
},
|
|
96880
96903
|
end: {
|
|
96881
|
-
line:
|
|
96904
|
+
line: 59,
|
|
96882
96905
|
column: 15
|
|
96883
96906
|
}
|
|
96884
96907
|
}, {
|
|
@@ -96891,78 +96914,78 @@ function cov_134mrrjy5g() {
|
|
|
96891
96914
|
column: undefined
|
|
96892
96915
|
}
|
|
96893
96916
|
}],
|
|
96894
|
-
line:
|
|
96917
|
+
line: 43
|
|
96895
96918
|
},
|
|
96896
96919
|
"5": {
|
|
96897
96920
|
loc: {
|
|
96898
96921
|
start: {
|
|
96899
|
-
line:
|
|
96922
|
+
line: 44,
|
|
96900
96923
|
column: 16
|
|
96901
96924
|
},
|
|
96902
96925
|
end: {
|
|
96903
|
-
line:
|
|
96926
|
+
line: 46,
|
|
96904
96927
|
column: 23
|
|
96905
96928
|
}
|
|
96906
96929
|
},
|
|
96907
96930
|
type: "binary-expr",
|
|
96908
96931
|
locations: [{
|
|
96909
96932
|
start: {
|
|
96910
|
-
line:
|
|
96933
|
+
line: 44,
|
|
96911
96934
|
column: 17
|
|
96912
96935
|
},
|
|
96913
96936
|
end: {
|
|
96914
|
-
line:
|
|
96937
|
+
line: 44,
|
|
96915
96938
|
column: 26
|
|
96916
96939
|
}
|
|
96917
96940
|
}, {
|
|
96918
96941
|
start: {
|
|
96919
|
-
line:
|
|
96942
|
+
line: 44,
|
|
96920
96943
|
column: 30
|
|
96921
96944
|
},
|
|
96922
96945
|
end: {
|
|
96923
|
-
line:
|
|
96946
|
+
line: 44,
|
|
96924
96947
|
column: 59
|
|
96925
96948
|
}
|
|
96926
96949
|
}, {
|
|
96927
96950
|
start: {
|
|
96928
|
-
line:
|
|
96951
|
+
line: 45,
|
|
96929
96952
|
column: 16
|
|
96930
96953
|
},
|
|
96931
96954
|
end: {
|
|
96932
|
-
line:
|
|
96955
|
+
line: 45,
|
|
96933
96956
|
column: 27
|
|
96934
96957
|
}
|
|
96935
96958
|
}, {
|
|
96936
96959
|
start: {
|
|
96937
|
-
line:
|
|
96960
|
+
line: 46,
|
|
96938
96961
|
column: 16
|
|
96939
96962
|
},
|
|
96940
96963
|
end: {
|
|
96941
|
-
line:
|
|
96964
|
+
line: 46,
|
|
96942
96965
|
column: 23
|
|
96943
96966
|
}
|
|
96944
96967
|
}],
|
|
96945
|
-
line:
|
|
96968
|
+
line: 44
|
|
96946
96969
|
},
|
|
96947
96970
|
"6": {
|
|
96948
96971
|
loc: {
|
|
96949
96972
|
start: {
|
|
96950
|
-
line:
|
|
96973
|
+
line: 50,
|
|
96951
96974
|
column: 16
|
|
96952
96975
|
},
|
|
96953
96976
|
end: {
|
|
96954
|
-
line:
|
|
96977
|
+
line: 52,
|
|
96955
96978
|
column: 17
|
|
96956
96979
|
}
|
|
96957
96980
|
},
|
|
96958
96981
|
type: "if",
|
|
96959
96982
|
locations: [{
|
|
96960
96983
|
start: {
|
|
96961
|
-
line:
|
|
96984
|
+
line: 50,
|
|
96962
96985
|
column: 16
|
|
96963
96986
|
},
|
|
96964
96987
|
end: {
|
|
96965
|
-
line:
|
|
96988
|
+
line: 52,
|
|
96966
96989
|
column: 17
|
|
96967
96990
|
}
|
|
96968
96991
|
}, {
|
|
@@ -96975,7 +96998,7 @@ function cov_134mrrjy5g() {
|
|
|
96975
96998
|
column: undefined
|
|
96976
96999
|
}
|
|
96977
97000
|
}],
|
|
96978
|
-
line:
|
|
97001
|
+
line: 50
|
|
96979
97002
|
}
|
|
96980
97003
|
},
|
|
96981
97004
|
s: {
|
|
@@ -97016,7 +97039,7 @@ function cov_134mrrjy5g() {
|
|
|
97016
97039
|
"6": [0, 0]
|
|
97017
97040
|
},
|
|
97018
97041
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
97019
|
-
hash: "
|
|
97042
|
+
hash: "a628a59bba8d6c190faea7f50c6e8fcbc3298925"
|
|
97020
97043
|
};
|
|
97021
97044
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
97022
97045
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -97041,7 +97064,7 @@ var Placeholder = (cov_134mrrjy5g().s[0]++, Extension.create({
|
|
|
97041
97064
|
excludeNodeTypes: ["variable", "codeBlock"],
|
|
97042
97065
|
emptyEditorClass: "is-editor-empty",
|
|
97043
97066
|
emptyNodeClass: "is-empty",
|
|
97044
|
-
placeholder: "
|
|
97067
|
+
placeholder: t$7("placeholders.writeSomething"),
|
|
97045
97068
|
showOnlyWhenEditable: true,
|
|
97046
97069
|
showOnlyCurrent: false,
|
|
97047
97070
|
includeChildren: false
|
|
@@ -110459,7 +110482,7 @@ var Progress = function Progress(_ref) {
|
|
|
110459
110482
|
|
|
110460
110483
|
function cov_23n4f4s494() {
|
|
110461
110484
|
var path = "/home/runner/work/neeto-editor/neeto-editor/src/components/Editor/MediaUploader/LocalUploader.jsx";
|
|
110462
|
-
var hash = "
|
|
110485
|
+
var hash = "228328f91dabecbd733a3c0d2052582c71588b8a";
|
|
110463
110486
|
var global = new Function("return this")();
|
|
110464
110487
|
var gcv = "__coverage__";
|
|
110465
110488
|
var coverageData = {
|
|
@@ -110471,7 +110494,7 @@ function cov_23n4f4s494() {
|
|
|
110471
110494
|
column: 22
|
|
110472
110495
|
},
|
|
110473
110496
|
end: {
|
|
110474
|
-
line:
|
|
110497
|
+
line: 146,
|
|
110475
110498
|
column: 1
|
|
110476
110499
|
}
|
|
110477
110500
|
},
|
|
@@ -110602,7 +110625,7 @@ function cov_23n4f4s494() {
|
|
|
110602
110625
|
},
|
|
110603
110626
|
end: {
|
|
110604
110627
|
line: 55,
|
|
110605
|
-
column:
|
|
110628
|
+
column: 50
|
|
110606
110629
|
}
|
|
110607
110630
|
},
|
|
110608
110631
|
"14": {
|
|
@@ -110881,7 +110904,7 @@ function cov_23n4f4s494() {
|
|
|
110881
110904
|
column: 2
|
|
110882
110905
|
},
|
|
110883
110906
|
end: {
|
|
110884
|
-
line:
|
|
110907
|
+
line: 145,
|
|
110885
110908
|
column: 4
|
|
110886
110909
|
}
|
|
110887
110910
|
},
|
|
@@ -110915,7 +110938,7 @@ function cov_23n4f4s494() {
|
|
|
110915
110938
|
column: 6
|
|
110916
110939
|
},
|
|
110917
110940
|
end: {
|
|
110918
|
-
line:
|
|
110941
|
+
line: 146,
|
|
110919
110942
|
column: 1
|
|
110920
110943
|
}
|
|
110921
110944
|
},
|
|
@@ -111401,7 +111424,7 @@ function cov_23n4f4s494() {
|
|
|
111401
111424
|
column: 9
|
|
111402
111425
|
},
|
|
111403
111426
|
end: {
|
|
111404
|
-
line:
|
|
111427
|
+
line: 145,
|
|
111405
111428
|
column: 3
|
|
111406
111429
|
}
|
|
111407
111430
|
},
|
|
@@ -111421,7 +111444,7 @@ function cov_23n4f4s494() {
|
|
|
111421
111444
|
column: 4
|
|
111422
111445
|
},
|
|
111423
111446
|
end: {
|
|
111424
|
-
line:
|
|
111447
|
+
line: 144,
|
|
111425
111448
|
column: 10
|
|
111426
111449
|
}
|
|
111427
111450
|
}],
|
|
@@ -111565,7 +111588,7 @@ function cov_23n4f4s494() {
|
|
|
111565
111588
|
"9": [0, 0]
|
|
111566
111589
|
},
|
|
111567
111590
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
111568
|
-
hash: "
|
|
111591
|
+
hash: "228328f91dabecbd733a3c0d2052582c71588b8a"
|
|
111569
111592
|
};
|
|
111570
111593
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
111571
111594
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -111623,10 +111646,10 @@ var LocalUploader = function LocalUploader(_ref) {
|
|
|
111623
111646
|
});
|
|
111624
111647
|
} catch (error) {
|
|
111625
111648
|
cov_23n4f4s494().s[12]++;
|
|
111626
|
-
if (error.message !== t("error.
|
|
111649
|
+
if (error.message !== t("error.onBeforeFileAddedReturn")) {
|
|
111627
111650
|
cov_23n4f4s494().b[1][0]++;
|
|
111628
111651
|
cov_23n4f4s494().s[13]++;
|
|
111629
|
-
Toastr.error(t("error.
|
|
111652
|
+
Toastr.error(t("error.cannotAddFiles"));
|
|
111630
111653
|
} else {
|
|
111631
111654
|
cov_23n4f4s494().b[1][1]++;
|
|
111632
111655
|
}
|
|
@@ -111774,9 +111797,9 @@ var LocalUploader = function LocalUploader(_ref) {
|
|
|
111774
111797
|
size: 24
|
|
111775
111798
|
}), /*#__PURE__*/React__default.createElement(Typography, {
|
|
111776
111799
|
style: "body2"
|
|
111777
|
-
}, t("
|
|
111800
|
+
}, t("localUploader.dropFilesHere")), /*#__PURE__*/React__default.createElement(Typography, {
|
|
111778
111801
|
style: "body3"
|
|
111779
|
-
}, t("
|
|
111802
|
+
}, t("localUploader.maxFileSize", {
|
|
111780
111803
|
entity: convertToFileSize(uppyConfig.restrictions.maxFileSize)
|
|
111781
111804
|
}))));
|
|
111782
111805
|
};
|
|
@@ -114017,7 +114040,7 @@ var UnsplashImagePicker = function UnsplashImagePicker(_ref) {
|
|
|
114017
114040
|
className: "neeto-editor-unsplash-search",
|
|
114018
114041
|
"data-cy": "neeto-editor-unsplash-image-picker-search-input",
|
|
114019
114042
|
name: "text",
|
|
114020
|
-
placeholder: t("placeholders.
|
|
114043
|
+
placeholder: t("placeholders.searchUnsplash"),
|
|
114021
114044
|
value: query,
|
|
114022
114045
|
onChange: function onChange(_ref17) {
|
|
114023
114046
|
var value = _ref17.target.value;
|
|
@@ -114028,10 +114051,10 @@ var UnsplashImagePicker = function UnsplashImagePicker(_ref) {
|
|
|
114028
114051
|
}), (cov_2d0jax9c7z().b[6][0]++, error) && (cov_2d0jax9c7z().b[6][1]++, /*#__PURE__*/React__default.createElement("p", {
|
|
114029
114052
|
className: "neeto-editor-unsplash-gallery__text",
|
|
114030
114053
|
"data-cy": "neeto-editor-unsplash-image-picker-error"
|
|
114031
|
-
}, 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", {
|
|
114032
114055
|
className: "neeto-editor-unsplash-gallery__text",
|
|
114033
114056
|
"data-cy": "neeto-editor-unsplash-image-picker-no-results-error"
|
|
114034
|
-
}, t("unsplash.
|
|
114057
|
+
}, t("unsplash.noResults"))), (cov_2d0jax9c7z().b[8][0]++, !error) && (cov_2d0jax9c7z().b[8][1]++, /*#__PURE__*/React__default.createElement("div", {
|
|
114035
114058
|
className: "neeto-editor-unsplash-container"
|
|
114036
114059
|
}, /*#__PURE__*/React__default.createElement(_default, {
|
|
114037
114060
|
pack: true,
|
|
@@ -114091,7 +114114,7 @@ var UnsplashImagePicker = function UnsplashImagePicker(_ref) {
|
|
|
114091
114114
|
|
|
114092
114115
|
function cov_27js347t20() {
|
|
114093
114116
|
var path = "/home/runner/work/neeto-editor/neeto-editor/src/components/Editor/MediaUploader/URLForm.jsx";
|
|
114094
|
-
var hash = "
|
|
114117
|
+
var hash = "64f6e777b460cc0b185cf55000b00290516bae82";
|
|
114095
114118
|
var global = new Function("return this")();
|
|
114096
114119
|
var gcv = "__coverage__";
|
|
114097
114120
|
var coverageData = {
|
|
@@ -114164,7 +114187,7 @@ function cov_27js347t20() {
|
|
|
114164
114187
|
},
|
|
114165
114188
|
end: {
|
|
114166
114189
|
line: 24,
|
|
114167
|
-
column:
|
|
114190
|
+
column: 40
|
|
114168
114191
|
}
|
|
114169
114192
|
},
|
|
114170
114193
|
"7": {
|
|
@@ -114353,7 +114376,7 @@ function cov_27js347t20() {
|
|
|
114353
114376
|
},
|
|
114354
114377
|
end: {
|
|
114355
114378
|
line: 24,
|
|
114356
|
-
column:
|
|
114379
|
+
column: 39
|
|
114357
114380
|
}
|
|
114358
114381
|
},
|
|
114359
114382
|
type: "cond-expr",
|
|
@@ -114373,7 +114396,7 @@ function cov_27js347t20() {
|
|
|
114373
114396
|
},
|
|
114374
114397
|
end: {
|
|
114375
114398
|
line: 24,
|
|
114376
|
-
column:
|
|
114399
|
+
column: 39
|
|
114377
114400
|
}
|
|
114378
114401
|
}],
|
|
114379
114402
|
line: 22
|
|
@@ -114403,7 +114426,7 @@ function cov_27js347t20() {
|
|
|
114403
114426
|
"2": [0, 0]
|
|
114404
114427
|
},
|
|
114405
114428
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
114406
|
-
hash: "
|
|
114429
|
+
hash: "64f6e777b460cc0b185cf55000b00290516bae82"
|
|
114407
114430
|
};
|
|
114408
114431
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
114409
114432
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -114444,7 +114467,7 @@ var URLForm = function URLForm(_ref) {
|
|
|
114444
114467
|
cov_27js347t20().s[5]++;
|
|
114445
114468
|
event.preventDefault();
|
|
114446
114469
|
cov_27js347t20().s[6]++;
|
|
114447
|
-
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")));
|
|
114448
114471
|
};
|
|
114449
114472
|
cov_27js347t20().s[7]++;
|
|
114450
114473
|
return /*#__PURE__*/React__default.createElement("div", {
|
|
@@ -115385,7 +115408,7 @@ var MediaUploader = function MediaUploader(_ref) {
|
|
|
115385
115408
|
setIsUploading: setIsUploading,
|
|
115386
115409
|
onClose: handleClose
|
|
115387
115410
|
})), (cov_2h3d0peoqk().b[8][0]++, activeTab === "link") && (cov_2h3d0peoqk().b[8][1]++, /*#__PURE__*/React__default.createElement(URLForm, {
|
|
115388
|
-
placeholder: t("placeholders.
|
|
115411
|
+
placeholder: t("placeholders.pasteLink"),
|
|
115389
115412
|
buttonLabel: mediaUploader.image ? (cov_2h3d0peoqk().b[9][0]++, "Upload image") : (cov_2h3d0peoqk().b[9][1]++, "Upload video"),
|
|
115390
115413
|
onSubmit: handleSubmit
|
|
115391
115414
|
})), (cov_2h3d0peoqk().b[10][0]++, activeTab === "unsplash") && (cov_2h3d0peoqk().b[10][1]++, /*#__PURE__*/React__default.createElement(UnsplashImagePicker, {
|
|
@@ -116168,7 +116191,7 @@ var LinkOption$1 = function LinkOption(_ref) {
|
|
|
116168
116191
|
className: "neeto-editor-bubble-menu-link__input",
|
|
116169
116192
|
"data-cy": "neeto-editor-link-input",
|
|
116170
116193
|
name: "url",
|
|
116171
|
-
placeholder: t("placeholders.
|
|
116194
|
+
placeholder: t("placeholders.linkInput"),
|
|
116172
116195
|
value: link,
|
|
116173
116196
|
onChange: function onChange(_ref5) {
|
|
116174
116197
|
var value = _ref5.target.value;
|
|
@@ -116319,7 +116342,7 @@ cov_1f30l00ho7().s[3]++;
|
|
|
116319
116342
|
|
|
116320
116343
|
function cov_17cji89s6g() {
|
|
116321
116344
|
var path = "/home/runner/work/neeto-editor/neeto-editor/src/components/Editor/Menu/Fixed/constants.js";
|
|
116322
|
-
var hash = "
|
|
116345
|
+
var hash = "0d171f78d6b9fa675757eea0d67e3935108691d0";
|
|
116323
116346
|
var global = new Function("return this")();
|
|
116324
116347
|
var gcv = "__coverage__";
|
|
116325
116348
|
var coverageData = {
|
|
@@ -117392,7 +117415,7 @@ function cov_17cji89s6g() {
|
|
|
117392
117415
|
},
|
|
117393
117416
|
end: {
|
|
117394
117417
|
line: 76,
|
|
117395
|
-
column:
|
|
117418
|
+
column: 58
|
|
117396
117419
|
}
|
|
117397
117420
|
},
|
|
117398
117421
|
type: "binary-expr",
|
|
@@ -117412,7 +117435,7 @@ function cov_17cji89s6g() {
|
|
|
117412
117435
|
},
|
|
117413
117436
|
end: {
|
|
117414
117437
|
line: 76,
|
|
117415
|
-
column:
|
|
117438
|
+
column: 58
|
|
117416
117439
|
}
|
|
117417
117440
|
}],
|
|
117418
117441
|
line: 76
|
|
@@ -117458,7 +117481,7 @@ function cov_17cji89s6g() {
|
|
|
117458
117481
|
},
|
|
117459
117482
|
end: {
|
|
117460
117483
|
line: 90,
|
|
117461
|
-
column:
|
|
117484
|
+
column: 56
|
|
117462
117485
|
}
|
|
117463
117486
|
},
|
|
117464
117487
|
type: "binary-expr",
|
|
@@ -117478,7 +117501,7 @@ function cov_17cji89s6g() {
|
|
|
117478
117501
|
},
|
|
117479
117502
|
end: {
|
|
117480
117503
|
line: 90,
|
|
117481
|
-
column:
|
|
117504
|
+
column: 56
|
|
117482
117505
|
}
|
|
117483
117506
|
}],
|
|
117484
117507
|
line: 90
|
|
@@ -117491,7 +117514,7 @@ function cov_17cji89s6g() {
|
|
|
117491
117514
|
},
|
|
117492
117515
|
end: {
|
|
117493
117516
|
line: 100,
|
|
117494
|
-
column:
|
|
117517
|
+
column: 60
|
|
117495
117518
|
}
|
|
117496
117519
|
},
|
|
117497
117520
|
type: "binary-expr",
|
|
@@ -117511,7 +117534,7 @@ function cov_17cji89s6g() {
|
|
|
117511
117534
|
},
|
|
117512
117535
|
end: {
|
|
117513
117536
|
line: 100,
|
|
117514
|
-
column:
|
|
117537
|
+
column: 60
|
|
117515
117538
|
}
|
|
117516
117539
|
}],
|
|
117517
117540
|
line: 100
|
|
@@ -117524,7 +117547,7 @@ function cov_17cji89s6g() {
|
|
|
117524
117547
|
},
|
|
117525
117548
|
end: {
|
|
117526
117549
|
line: 108,
|
|
117527
|
-
column:
|
|
117550
|
+
column: 60
|
|
117528
117551
|
}
|
|
117529
117552
|
},
|
|
117530
117553
|
type: "binary-expr",
|
|
@@ -117544,7 +117567,7 @@ function cov_17cji89s6g() {
|
|
|
117544
117567
|
},
|
|
117545
117568
|
end: {
|
|
117546
117569
|
line: 108,
|
|
117547
|
-
column:
|
|
117570
|
+
column: 60
|
|
117548
117571
|
}
|
|
117549
117572
|
}],
|
|
117550
117573
|
line: 108
|
|
@@ -117590,7 +117613,7 @@ function cov_17cji89s6g() {
|
|
|
117590
117613
|
},
|
|
117591
117614
|
end: {
|
|
117592
117615
|
line: 123,
|
|
117593
|
-
column:
|
|
117616
|
+
column: 60
|
|
117594
117617
|
}
|
|
117595
117618
|
},
|
|
117596
117619
|
type: "binary-expr",
|
|
@@ -117610,7 +117633,7 @@ function cov_17cji89s6g() {
|
|
|
117610
117633
|
},
|
|
117611
117634
|
end: {
|
|
117612
117635
|
line: 123,
|
|
117613
|
-
column:
|
|
117636
|
+
column: 60
|
|
117614
117637
|
}
|
|
117615
117638
|
}],
|
|
117616
117639
|
line: 123
|
|
@@ -117623,7 +117646,7 @@ function cov_17cji89s6g() {
|
|
|
117623
117646
|
},
|
|
117624
117647
|
end: {
|
|
117625
117648
|
line: 129,
|
|
117626
|
-
column:
|
|
117649
|
+
column: 60
|
|
117627
117650
|
}
|
|
117628
117651
|
},
|
|
117629
117652
|
type: "binary-expr",
|
|
@@ -117643,7 +117666,7 @@ function cov_17cji89s6g() {
|
|
|
117643
117666
|
},
|
|
117644
117667
|
end: {
|
|
117645
117668
|
line: 129,
|
|
117646
|
-
column:
|
|
117669
|
+
column: 60
|
|
117647
117670
|
}
|
|
117648
117671
|
}],
|
|
117649
117672
|
line: 129
|
|
@@ -117656,7 +117679,7 @@ function cov_17cji89s6g() {
|
|
|
117656
117679
|
},
|
|
117657
117680
|
end: {
|
|
117658
117681
|
line: 135,
|
|
117659
|
-
column:
|
|
117682
|
+
column: 58
|
|
117660
117683
|
}
|
|
117661
117684
|
},
|
|
117662
117685
|
type: "binary-expr",
|
|
@@ -117676,7 +117699,7 @@ function cov_17cji89s6g() {
|
|
|
117676
117699
|
},
|
|
117677
117700
|
end: {
|
|
117678
117701
|
line: 135,
|
|
117679
|
-
column:
|
|
117702
|
+
column: 58
|
|
117680
117703
|
}
|
|
117681
117704
|
}],
|
|
117682
117705
|
line: 135
|
|
@@ -117825,7 +117848,7 @@ function cov_17cji89s6g() {
|
|
|
117825
117848
|
"15": [0, 0]
|
|
117826
117849
|
},
|
|
117827
117850
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
117828
|
-
hash: "
|
|
117851
|
+
hash: "0d171f78d6b9fa675757eea0d67e3935108691d0"
|
|
117829
117852
|
};
|
|
117830
117853
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
117831
117854
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -117914,7 +117937,7 @@ var MENU_OPTIONS$1 = function MENU_OPTIONS(_ref2) {
|
|
|
117914
117937
|
active: editor.isActive("blockquote"),
|
|
117915
117938
|
optionName: "block-quote",
|
|
117916
117939
|
highlight: true,
|
|
117917
|
-
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"))
|
|
117918
117941
|
}, {
|
|
117919
117942
|
Icon: Code$1,
|
|
117920
117943
|
command: function command() {
|
|
@@ -117934,7 +117957,7 @@ var MENU_OPTIONS$1 = function MENU_OPTIONS(_ref2) {
|
|
|
117934
117957
|
},
|
|
117935
117958
|
active: editor.isActive("codeBlock"),
|
|
117936
117959
|
optionName: "code-block",
|
|
117937
|
-
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"))
|
|
117938
117961
|
}],
|
|
117939
117962
|
list: [{
|
|
117940
117963
|
Icon: ListDot,
|
|
@@ -117946,7 +117969,7 @@ var MENU_OPTIONS$1 = function MENU_OPTIONS(_ref2) {
|
|
|
117946
117969
|
active: editor.isActive("bulletList"),
|
|
117947
117970
|
optionName: "bullet-list",
|
|
117948
117971
|
highlight: true,
|
|
117949
|
-
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"))
|
|
117950
117973
|
}, {
|
|
117951
117974
|
Icon: ListNumber,
|
|
117952
117975
|
command: function command() {
|
|
@@ -117957,7 +117980,7 @@ var MENU_OPTIONS$1 = function MENU_OPTIONS(_ref2) {
|
|
|
117957
117980
|
active: editor.isActive("orderedList"),
|
|
117958
117981
|
optionName: "ordered-list",
|
|
117959
117982
|
highlight: true,
|
|
117960
|
-
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"))
|
|
117961
117984
|
}],
|
|
117962
117985
|
misc: [{
|
|
117963
117986
|
Icon: FileAttachments,
|
|
@@ -117973,7 +117996,7 @@ var MENU_OPTIONS$1 = function MENU_OPTIONS(_ref2) {
|
|
|
117973
117996
|
return setMediaUploader(assoc("image", true));
|
|
117974
117997
|
},
|
|
117975
117998
|
optionName: "image-upload",
|
|
117976
|
-
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"))
|
|
117977
118000
|
}, {
|
|
117978
118001
|
Icon: Video,
|
|
117979
118002
|
command: function command() {
|
|
@@ -117982,7 +118005,7 @@ var MENU_OPTIONS$1 = function MENU_OPTIONS(_ref2) {
|
|
|
117982
118005
|
return setMediaUploader(assoc("video", true));
|
|
117983
118006
|
},
|
|
117984
118007
|
optionName: "video-upload",
|
|
117985
|
-
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"))
|
|
117986
118009
|
}, {
|
|
117987
118010
|
Icon: MediaVideo,
|
|
117988
118011
|
command: function command() {
|
|
@@ -117991,7 +118014,7 @@ var MENU_OPTIONS$1 = function MENU_OPTIONS(_ref2) {
|
|
|
117991
118014
|
return setIsEmbedModalOpen(true);
|
|
117992
118015
|
},
|
|
117993
118016
|
optionName: "video-embed",
|
|
117994
|
-
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"))
|
|
117995
118018
|
}],
|
|
117996
118019
|
right: [{
|
|
117997
118020
|
Icon: Undo,
|
|
@@ -118041,49 +118064,49 @@ var TABLE_ACTIONS = function TABLE_ACTIONS(_ref3) {
|
|
|
118041
118064
|
cov_17cji89s6g().f[16]++;
|
|
118042
118065
|
cov_17cji89s6g().s[20]++;
|
|
118043
118066
|
return [{
|
|
118044
|
-
label: t$2("table.
|
|
118067
|
+
label: t$2("table.insertRow"),
|
|
118045
118068
|
command: function command() {
|
|
118046
118069
|
cov_17cji89s6g().f[17]++;
|
|
118047
118070
|
cov_17cji89s6g().s[21]++;
|
|
118048
118071
|
return editor.commands.addRowAfter();
|
|
118049
118072
|
}
|
|
118050
118073
|
}, {
|
|
118051
|
-
label: t$2("table.
|
|
118074
|
+
label: t$2("table.insertColumn"),
|
|
118052
118075
|
command: function command() {
|
|
118053
118076
|
cov_17cji89s6g().f[18]++;
|
|
118054
118077
|
cov_17cji89s6g().s[22]++;
|
|
118055
118078
|
return editor.commands.addColumnAfter();
|
|
118056
118079
|
}
|
|
118057
118080
|
}, {
|
|
118058
|
-
label: t$2("table.
|
|
118081
|
+
label: t$2("table.deleteRow"),
|
|
118059
118082
|
command: function command() {
|
|
118060
118083
|
cov_17cji89s6g().f[19]++;
|
|
118061
118084
|
cov_17cji89s6g().s[23]++;
|
|
118062
118085
|
return editor.chain().focus().deleteRow().run();
|
|
118063
118086
|
}
|
|
118064
118087
|
}, {
|
|
118065
|
-
label: t$2("table.
|
|
118088
|
+
label: t$2("table.deleteColumn"),
|
|
118066
118089
|
command: function command() {
|
|
118067
118090
|
cov_17cji89s6g().f[20]++;
|
|
118068
118091
|
cov_17cji89s6g().s[24]++;
|
|
118069
118092
|
return editor.chain().focus().deleteColumn().run();
|
|
118070
118093
|
}
|
|
118071
118094
|
}, {
|
|
118072
|
-
label: t$2("table.
|
|
118095
|
+
label: t$2("table.mergeSplit"),
|
|
118073
118096
|
command: function command() {
|
|
118074
118097
|
cov_17cji89s6g().f[21]++;
|
|
118075
118098
|
cov_17cji89s6g().s[25]++;
|
|
118076
118099
|
return editor.chain().focus().mergeOrSplit().run();
|
|
118077
118100
|
}
|
|
118078
118101
|
}, {
|
|
118079
|
-
label: t$2("table.
|
|
118102
|
+
label: t$2("table.toggleHeaderRow"),
|
|
118080
118103
|
command: function command() {
|
|
118081
118104
|
cov_17cji89s6g().f[22]++;
|
|
118082
118105
|
cov_17cji89s6g().s[26]++;
|
|
118083
118106
|
return editor.chain().focus().toggleHeaderRow().run();
|
|
118084
118107
|
}
|
|
118085
118108
|
}, {
|
|
118086
|
-
label: t$2("table.
|
|
118109
|
+
label: t$2("table.toggleHeaderColumn"),
|
|
118087
118110
|
command: function command() {
|
|
118088
118111
|
cov_17cji89s6g().f[23]++;
|
|
118089
118112
|
cov_17cji89s6g().s[27]++;
|
|
@@ -122396,7 +122419,7 @@ var FontSizeOption = function FontSizeOption(_ref2) {
|
|
|
122396
122419
|
|
|
122397
122420
|
function cov_7xzegtncw() {
|
|
122398
122421
|
var path = "/home/runner/work/neeto-editor/neeto-editor/src/components/Editor/Menu/Fixed/LinkOption.jsx";
|
|
122399
|
-
var hash = "
|
|
122422
|
+
var hash = "b40876235344144786bc2e8c21e4b67359f1e3b4";
|
|
122400
122423
|
var global = new Function("return this")();
|
|
122401
122424
|
var gcv = "__coverage__";
|
|
122402
122425
|
var coverageData = {
|
|
@@ -122649,7 +122672,7 @@ function cov_7xzegtncw() {
|
|
|
122649
122672
|
},
|
|
122650
122673
|
end: {
|
|
122651
122674
|
line: 44,
|
|
122652
|
-
column:
|
|
122675
|
+
column: 38
|
|
122653
122676
|
}
|
|
122654
122677
|
},
|
|
122655
122678
|
"25": {
|
|
@@ -123161,7 +123184,7 @@ function cov_7xzegtncw() {
|
|
|
123161
123184
|
"4": [0, 0]
|
|
123162
123185
|
},
|
|
123163
123186
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
123164
|
-
hash: "
|
|
123187
|
+
hash: "b40876235344144786bc2e8c21e4b67359f1e3b4"
|
|
123165
123188
|
};
|
|
123166
123189
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
123167
123190
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -123256,7 +123279,7 @@ var LinkOption = function LinkOption(_ref2) {
|
|
|
123256
123279
|
} else {
|
|
123257
123280
|
cov_7xzegtncw().b[2][1]++;
|
|
123258
123281
|
cov_7xzegtncw().s[24]++;
|
|
123259
|
-
setError(t("error.
|
|
123282
|
+
setError(t("error.invalidUrl"));
|
|
123260
123283
|
}
|
|
123261
123284
|
};
|
|
123262
123285
|
cov_7xzegtncw().s[25]++;
|
|
@@ -124070,7 +124093,7 @@ var TableOption = function TableOption(_ref2) {
|
|
|
124070
124093
|
|
|
124071
124094
|
function cov_2dwl7m23tl() {
|
|
124072
124095
|
var path = "/home/runner/work/neeto-editor/neeto-editor/src/components/Editor/Menu/Fixed/index.jsx";
|
|
124073
|
-
var hash = "
|
|
124096
|
+
var hash = "01f1a1ced31d5bd4340f754c46c77b5a2bc5c434";
|
|
124074
124097
|
var global = new Function("return this")();
|
|
124075
124098
|
var gcv = "__coverage__";
|
|
124076
124099
|
var coverageData = {
|
|
@@ -124549,7 +124572,7 @@ function cov_2dwl7m23tl() {
|
|
|
124549
124572
|
},
|
|
124550
124573
|
end: {
|
|
124551
124574
|
line: 87,
|
|
124552
|
-
column:
|
|
124575
|
+
column: 67
|
|
124553
124576
|
}
|
|
124554
124577
|
},
|
|
124555
124578
|
type: "binary-expr",
|
|
@@ -124569,7 +124592,7 @@ function cov_2dwl7m23tl() {
|
|
|
124569
124592
|
},
|
|
124570
124593
|
end: {
|
|
124571
124594
|
line: 87,
|
|
124572
|
-
column:
|
|
124595
|
+
column: 67
|
|
124573
124596
|
}
|
|
124574
124597
|
}],
|
|
124575
124598
|
line: 87
|
|
@@ -124917,7 +124940,7 @@ function cov_2dwl7m23tl() {
|
|
|
124917
124940
|
"17": [0, 0]
|
|
124918
124941
|
},
|
|
124919
124942
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
124920
|
-
hash: "
|
|
124943
|
+
hash: "01f1a1ced31d5bd4340f754c46c77b5a2bc5c434"
|
|
124921
124944
|
};
|
|
124922
124945
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
124923
124946
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -125012,7 +125035,7 @@ var Fixed = function Fixed(_ref) {
|
|
|
125012
125035
|
className: "neeto-editor-fixed-menu__wrapper"
|
|
125013
125036
|
}, (cov_2dwl7m23tl().b[7][0]++, isFontSizeActive) && (cov_2dwl7m23tl().b[7][1]++, /*#__PURE__*/React__default.createElement(FontSizeOption, {
|
|
125014
125037
|
editor: editor,
|
|
125015
|
-
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"))
|
|
125016
125039
|
})), fontStyleOptions.map(renderOptionButton), blockStyleOptions.map(renderOptionButton), (cov_2dwl7m23tl().b[9][0]++, isEmojiActive) && (cov_2dwl7m23tl().b[9][1]++, /*#__PURE__*/React__default.createElement(EmojiOption, {
|
|
125017
125040
|
editor: editor,
|
|
125018
125041
|
isActive: isEmojiPickerActive,
|
|
@@ -125041,7 +125064,7 @@ var Fixed = function Fixed(_ref) {
|
|
|
125041
125064
|
buttonSize: "small",
|
|
125042
125065
|
buttonProps: {
|
|
125043
125066
|
tooltipProps: {
|
|
125044
|
-
content: t("menu.
|
|
125067
|
+
content: t("menu.dynamicVariables"),
|
|
125045
125068
|
position: "bottom"
|
|
125046
125069
|
}
|
|
125047
125070
|
}
|
|
@@ -126388,7 +126411,7 @@ var Option = function Option(_ref) {
|
|
|
126388
126411
|
|
|
126389
126412
|
function cov_1fwd2t6om3() {
|
|
126390
126413
|
var path = "/home/runner/work/neeto-editor/neeto-editor/src/components/Editor/Menu/Headless/constants.js";
|
|
126391
|
-
var hash = "
|
|
126414
|
+
var hash = "4d324caf086e7c0bc37cc554c90c435def28fed3";
|
|
126392
126415
|
var global = new Function("return this")();
|
|
126393
126416
|
var gcv = "__coverage__";
|
|
126394
126417
|
var coverageData = {
|
|
@@ -127169,7 +127192,7 @@ function cov_1fwd2t6om3() {
|
|
|
127169
127192
|
},
|
|
127170
127193
|
end: {
|
|
127171
127194
|
line: 76,
|
|
127172
|
-
column:
|
|
127195
|
+
column: 56
|
|
127173
127196
|
}
|
|
127174
127197
|
},
|
|
127175
127198
|
type: "binary-expr",
|
|
@@ -127189,7 +127212,7 @@ function cov_1fwd2t6om3() {
|
|
|
127189
127212
|
},
|
|
127190
127213
|
end: {
|
|
127191
127214
|
line: 76,
|
|
127192
|
-
column:
|
|
127215
|
+
column: 56
|
|
127193
127216
|
}
|
|
127194
127217
|
}],
|
|
127195
127218
|
line: 76
|
|
@@ -127235,7 +127258,7 @@ function cov_1fwd2t6om3() {
|
|
|
127235
127258
|
},
|
|
127236
127259
|
end: {
|
|
127237
127260
|
line: 90,
|
|
127238
|
-
column:
|
|
127261
|
+
column: 54
|
|
127239
127262
|
}
|
|
127240
127263
|
},
|
|
127241
127264
|
type: "binary-expr",
|
|
@@ -127255,7 +127278,7 @@ function cov_1fwd2t6om3() {
|
|
|
127255
127278
|
},
|
|
127256
127279
|
end: {
|
|
127257
127280
|
line: 90,
|
|
127258
|
-
column:
|
|
127281
|
+
column: 54
|
|
127259
127282
|
}
|
|
127260
127283
|
}],
|
|
127261
127284
|
line: 90
|
|
@@ -127268,7 +127291,7 @@ function cov_1fwd2t6om3() {
|
|
|
127268
127291
|
},
|
|
127269
127292
|
end: {
|
|
127270
127293
|
line: 97,
|
|
127271
|
-
column:
|
|
127294
|
+
column: 58
|
|
127272
127295
|
}
|
|
127273
127296
|
},
|
|
127274
127297
|
type: "binary-expr",
|
|
@@ -127288,7 +127311,7 @@ function cov_1fwd2t6om3() {
|
|
|
127288
127311
|
},
|
|
127289
127312
|
end: {
|
|
127290
127313
|
line: 97,
|
|
127291
|
-
column:
|
|
127314
|
+
column: 58
|
|
127292
127315
|
}
|
|
127293
127316
|
}],
|
|
127294
127317
|
line: 97
|
|
@@ -127301,7 +127324,7 @@ function cov_1fwd2t6om3() {
|
|
|
127301
127324
|
},
|
|
127302
127325
|
end: {
|
|
127303
127326
|
line: 104,
|
|
127304
|
-
column:
|
|
127327
|
+
column: 58
|
|
127305
127328
|
}
|
|
127306
127329
|
},
|
|
127307
127330
|
type: "binary-expr",
|
|
@@ -127321,7 +127344,7 @@ function cov_1fwd2t6om3() {
|
|
|
127321
127344
|
},
|
|
127322
127345
|
end: {
|
|
127323
127346
|
line: 104,
|
|
127324
|
-
column:
|
|
127347
|
+
column: 58
|
|
127325
127348
|
}
|
|
127326
127349
|
}],
|
|
127327
127350
|
line: 104
|
|
@@ -127367,7 +127390,7 @@ function cov_1fwd2t6om3() {
|
|
|
127367
127390
|
},
|
|
127368
127391
|
end: {
|
|
127369
127392
|
line: 116,
|
|
127370
|
-
column:
|
|
127393
|
+
column: 58
|
|
127371
127394
|
}
|
|
127372
127395
|
},
|
|
127373
127396
|
type: "binary-expr",
|
|
@@ -127387,7 +127410,7 @@ function cov_1fwd2t6om3() {
|
|
|
127387
127410
|
},
|
|
127388
127411
|
end: {
|
|
127389
127412
|
line: 116,
|
|
127390
|
-
column:
|
|
127413
|
+
column: 58
|
|
127391
127414
|
}
|
|
127392
127415
|
}],
|
|
127393
127416
|
line: 116
|
|
@@ -127400,7 +127423,7 @@ function cov_1fwd2t6om3() {
|
|
|
127400
127423
|
},
|
|
127401
127424
|
end: {
|
|
127402
127425
|
line: 122,
|
|
127403
|
-
column:
|
|
127426
|
+
column: 58
|
|
127404
127427
|
}
|
|
127405
127428
|
},
|
|
127406
127429
|
type: "binary-expr",
|
|
@@ -127420,7 +127443,7 @@ function cov_1fwd2t6om3() {
|
|
|
127420
127443
|
},
|
|
127421
127444
|
end: {
|
|
127422
127445
|
line: 122,
|
|
127423
|
-
column:
|
|
127446
|
+
column: 58
|
|
127424
127447
|
}
|
|
127425
127448
|
}],
|
|
127426
127449
|
line: 122
|
|
@@ -127433,7 +127456,7 @@ function cov_1fwd2t6om3() {
|
|
|
127433
127456
|
},
|
|
127434
127457
|
end: {
|
|
127435
127458
|
line: 128,
|
|
127436
|
-
column:
|
|
127459
|
+
column: 56
|
|
127437
127460
|
}
|
|
127438
127461
|
},
|
|
127439
127462
|
type: "binary-expr",
|
|
@@ -127453,7 +127476,7 @@ function cov_1fwd2t6om3() {
|
|
|
127453
127476
|
},
|
|
127454
127477
|
end: {
|
|
127455
127478
|
line: 128,
|
|
127456
|
-
column:
|
|
127479
|
+
column: 56
|
|
127457
127480
|
}
|
|
127458
127481
|
}],
|
|
127459
127482
|
line: 128
|
|
@@ -127652,7 +127675,7 @@ function cov_1fwd2t6om3() {
|
|
|
127652
127675
|
"17": [0, 0]
|
|
127653
127676
|
},
|
|
127654
127677
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
127655
|
-
hash: "
|
|
127678
|
+
hash: "4d324caf086e7c0bc37cc554c90c435def28fed3"
|
|
127656
127679
|
};
|
|
127657
127680
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
127658
127681
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -127740,7 +127763,7 @@ var MENU_OPTIONS = function MENU_OPTIONS(_ref2) {
|
|
|
127740
127763
|
},
|
|
127741
127764
|
active: editor.isActive("blockquote"),
|
|
127742
127765
|
optionName: "block-quote",
|
|
127743
|
-
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"))
|
|
127744
127767
|
}, {
|
|
127745
127768
|
Icon: Code$1,
|
|
127746
127769
|
command: function command() {
|
|
@@ -127760,7 +127783,7 @@ var MENU_OPTIONS = function MENU_OPTIONS(_ref2) {
|
|
|
127760
127783
|
},
|
|
127761
127784
|
active: editor.isActive("codeBlock"),
|
|
127762
127785
|
optionName: "code-block",
|
|
127763
|
-
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"))
|
|
127764
127787
|
}, {
|
|
127765
127788
|
Icon: ListDot,
|
|
127766
127789
|
command: function command() {
|
|
@@ -127770,7 +127793,7 @@ var MENU_OPTIONS = function MENU_OPTIONS(_ref2) {
|
|
|
127770
127793
|
},
|
|
127771
127794
|
active: editor.isActive("bulletList"),
|
|
127772
127795
|
optionName: "bullet-list",
|
|
127773
|
-
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"))
|
|
127774
127797
|
}, {
|
|
127775
127798
|
Icon: ListNumber,
|
|
127776
127799
|
command: function command() {
|
|
@@ -127780,7 +127803,7 @@ var MENU_OPTIONS = function MENU_OPTIONS(_ref2) {
|
|
|
127780
127803
|
},
|
|
127781
127804
|
active: editor.isActive("orderedList"),
|
|
127782
127805
|
optionName: "ordered-list",
|
|
127783
|
-
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"))
|
|
127784
127807
|
}, {
|
|
127785
127808
|
Icon: File$2,
|
|
127786
127809
|
command: handleUploadAttachments,
|
|
@@ -127794,7 +127817,7 @@ var MENU_OPTIONS = function MENU_OPTIONS(_ref2) {
|
|
|
127794
127817
|
return setMediaUploader(assoc("image", true));
|
|
127795
127818
|
},
|
|
127796
127819
|
optionName: "image-upload",
|
|
127797
|
-
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"))
|
|
127798
127821
|
}, {
|
|
127799
127822
|
Icon: Video,
|
|
127800
127823
|
command: function command() {
|
|
@@ -127803,7 +127826,7 @@ var MENU_OPTIONS = function MENU_OPTIONS(_ref2) {
|
|
|
127803
127826
|
return setMediaUploader(assoc("video", true));
|
|
127804
127827
|
},
|
|
127805
127828
|
optionName: "video-upload",
|
|
127806
|
-
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"))
|
|
127807
127830
|
}, {
|
|
127808
127831
|
Icon: MediaVideo,
|
|
127809
127832
|
command: function command() {
|
|
@@ -127812,7 +127835,7 @@ var MENU_OPTIONS = function MENU_OPTIONS(_ref2) {
|
|
|
127812
127835
|
return setIsEmbedModalOpen(true);
|
|
127813
127836
|
},
|
|
127814
127837
|
optionName: "video-embed",
|
|
127815
|
-
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"))
|
|
127816
127839
|
}, {
|
|
127817
127840
|
Icon: Smiley,
|
|
127818
127841
|
command: noop$2,
|