@bigbinary/neeto-editor 1.25.14 → 1.25.15
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 +248 -152
- package/index.js +248 -152
- package/package.json +1 -1
package/index.cjs.js
CHANGED
|
@@ -71211,7 +71211,7 @@ var validateLoomUrl = function validateLoomUrl(url) {
|
|
|
71211
71211
|
|
|
71212
71212
|
function cov_3ld39egr5() {
|
|
71213
71213
|
var path = "/home/runner/work/neeto-editor/neeto-editor/src/components/Editor/CustomExtensions/Embeds/index.jsx";
|
|
71214
|
-
var hash = "
|
|
71214
|
+
var hash = "bcf3a4a110cb7a4d0cb0e48ffdbb6e718b80fab2";
|
|
71215
71215
|
var global = new Function("return this")();
|
|
71216
71216
|
var gcv = "__coverage__";
|
|
71217
71217
|
var coverageData = {
|
|
@@ -71223,7 +71223,7 @@ function cov_3ld39egr5() {
|
|
|
71223
71223
|
column: 20
|
|
71224
71224
|
},
|
|
71225
71225
|
end: {
|
|
71226
|
-
line:
|
|
71226
|
+
line: 95,
|
|
71227
71227
|
column: 1
|
|
71228
71228
|
}
|
|
71229
71229
|
},
|
|
@@ -71273,7 +71273,7 @@ function cov_3ld39egr5() {
|
|
|
71273
71273
|
column: 22
|
|
71274
71274
|
},
|
|
71275
71275
|
end: {
|
|
71276
|
-
line:
|
|
71276
|
+
line: 37,
|
|
71277
71277
|
column: 3
|
|
71278
71278
|
}
|
|
71279
71279
|
},
|
|
@@ -71293,7 +71293,7 @@ function cov_3ld39egr5() {
|
|
|
71293
71293
|
column: 4
|
|
71294
71294
|
},
|
|
71295
71295
|
end: {
|
|
71296
|
-
line:
|
|
71296
|
+
line: 36,
|
|
71297
71297
|
column: 5
|
|
71298
71298
|
}
|
|
71299
71299
|
},
|
|
@@ -71303,197 +71303,227 @@ function cov_3ld39egr5() {
|
|
|
71303
71303
|
column: 6
|
|
71304
71304
|
},
|
|
71305
71305
|
end: {
|
|
71306
|
-
line:
|
|
71307
|
-
column:
|
|
71306
|
+
line: 31,
|
|
71307
|
+
column: 15
|
|
71308
71308
|
}
|
|
71309
71309
|
},
|
|
71310
71310
|
"9": {
|
|
71311
71311
|
start: {
|
|
71312
|
-
line:
|
|
71312
|
+
line: 26,
|
|
71313
|
+
column: 37
|
|
71314
|
+
},
|
|
71315
|
+
end: {
|
|
71316
|
+
line: 26,
|
|
71317
|
+
column: 39
|
|
71318
|
+
}
|
|
71319
|
+
},
|
|
71320
|
+
"10": {
|
|
71321
|
+
start: {
|
|
71322
|
+
line: 27,
|
|
71323
|
+
column: 27
|
|
71324
|
+
},
|
|
71325
|
+
end: {
|
|
71326
|
+
line: 27,
|
|
71327
|
+
column: 58
|
|
71328
|
+
}
|
|
71329
|
+
},
|
|
71330
|
+
"11": {
|
|
71331
|
+
start: {
|
|
71332
|
+
line: 29,
|
|
71333
|
+
column: 10
|
|
71334
|
+
},
|
|
71335
|
+
end: {
|
|
71336
|
+
line: 29,
|
|
71337
|
+
column: 75
|
|
71338
|
+
}
|
|
71339
|
+
},
|
|
71340
|
+
"12": {
|
|
71341
|
+
start: {
|
|
71342
|
+
line: 32,
|
|
71313
71343
|
column: 6
|
|
71314
71344
|
},
|
|
71315
71345
|
end: {
|
|
71316
|
-
line:
|
|
71346
|
+
line: 32,
|
|
71317
71347
|
column: 22
|
|
71318
71348
|
}
|
|
71319
71349
|
},
|
|
71320
|
-
"
|
|
71350
|
+
"13": {
|
|
71321
71351
|
start: {
|
|
71322
|
-
line:
|
|
71352
|
+
line: 33,
|
|
71323
71353
|
column: 6
|
|
71324
71354
|
},
|
|
71325
71355
|
end: {
|
|
71326
|
-
line:
|
|
71356
|
+
line: 33,
|
|
71327
71357
|
column: 33
|
|
71328
71358
|
}
|
|
71329
71359
|
},
|
|
71330
|
-
"
|
|
71360
|
+
"14": {
|
|
71331
71361
|
start: {
|
|
71332
|
-
line:
|
|
71362
|
+
line: 35,
|
|
71333
71363
|
column: 6
|
|
71334
71364
|
},
|
|
71335
71365
|
end: {
|
|
71336
|
-
line:
|
|
71366
|
+
line: 35,
|
|
71337
71367
|
column: 21
|
|
71338
71368
|
}
|
|
71339
71369
|
},
|
|
71340
|
-
"
|
|
71370
|
+
"15": {
|
|
71341
71371
|
start: {
|
|
71342
|
-
line:
|
|
71372
|
+
line: 39,
|
|
71343
71373
|
column: 23
|
|
71344
71374
|
},
|
|
71345
71375
|
end: {
|
|
71346
|
-
line:
|
|
71376
|
+
line: 47,
|
|
71347
71377
|
column: 3
|
|
71348
71378
|
}
|
|
71349
71379
|
},
|
|
71350
|
-
"
|
|
71380
|
+
"16": {
|
|
71351
71381
|
start: {
|
|
71352
|
-
line:
|
|
71382
|
+
line: 40,
|
|
71353
71383
|
column: 4
|
|
71354
71384
|
},
|
|
71355
71385
|
end: {
|
|
71356
|
-
line:
|
|
71386
|
+
line: 46,
|
|
71357
71387
|
column: 5
|
|
71358
71388
|
}
|
|
71359
71389
|
},
|
|
71360
|
-
"
|
|
71390
|
+
"17": {
|
|
71361
71391
|
start: {
|
|
71362
|
-
line:
|
|
71392
|
+
line: 41,
|
|
71363
71393
|
column: 6
|
|
71364
71394
|
},
|
|
71365
71395
|
end: {
|
|
71366
|
-
line:
|
|
71396
|
+
line: 41,
|
|
71367
71397
|
column: 22
|
|
71368
71398
|
}
|
|
71369
71399
|
},
|
|
71370
|
-
"
|
|
71400
|
+
"18": {
|
|
71371
71401
|
start: {
|
|
71372
|
-
line:
|
|
71402
|
+
line: 42,
|
|
71373
71403
|
column: 6
|
|
71374
71404
|
},
|
|
71375
71405
|
end: {
|
|
71376
|
-
line:
|
|
71406
|
+
line: 42,
|
|
71377
71407
|
column: 34
|
|
71378
71408
|
}
|
|
71379
71409
|
},
|
|
71380
|
-
"
|
|
71410
|
+
"19": {
|
|
71381
71411
|
start: {
|
|
71382
|
-
line:
|
|
71412
|
+
line: 44,
|
|
71383
71413
|
column: 6
|
|
71384
71414
|
},
|
|
71385
71415
|
end: {
|
|
71386
|
-
line:
|
|
71416
|
+
line: 44,
|
|
71387
71417
|
column: 21
|
|
71388
71418
|
}
|
|
71389
71419
|
},
|
|
71390
|
-
"
|
|
71420
|
+
"20": {
|
|
71391
71421
|
start: {
|
|
71392
|
-
line:
|
|
71422
|
+
line: 45,
|
|
71393
71423
|
column: 6
|
|
71394
71424
|
},
|
|
71395
71425
|
end: {
|
|
71396
|
-
line:
|
|
71426
|
+
line: 45,
|
|
71397
71427
|
column: 34
|
|
71398
71428
|
}
|
|
71399
71429
|
},
|
|
71400
|
-
"
|
|
71430
|
+
"21": {
|
|
71401
71431
|
start: {
|
|
71402
|
-
line:
|
|
71432
|
+
line: 49,
|
|
71403
71433
|
column: 22
|
|
71404
71434
|
},
|
|
71405
71435
|
end: {
|
|
71406
|
-
line:
|
|
71436
|
+
line: 53,
|
|
71407
71437
|
column: 3
|
|
71408
71438
|
}
|
|
71409
71439
|
},
|
|
71410
|
-
"
|
|
71440
|
+
"22": {
|
|
71411
71441
|
start: {
|
|
71412
|
-
line:
|
|
71442
|
+
line: 50,
|
|
71413
71443
|
column: 4
|
|
71414
71444
|
},
|
|
71415
71445
|
end: {
|
|
71416
|
-
line:
|
|
71446
|
+
line: 50,
|
|
71417
71447
|
column: 20
|
|
71418
71448
|
}
|
|
71419
71449
|
},
|
|
71420
|
-
"
|
|
71450
|
+
"23": {
|
|
71421
71451
|
start: {
|
|
71422
|
-
line:
|
|
71452
|
+
line: 51,
|
|
71423
71453
|
column: 4
|
|
71424
71454
|
},
|
|
71425
71455
|
end: {
|
|
71426
|
-
line:
|
|
71456
|
+
line: 51,
|
|
71427
71457
|
column: 20
|
|
71428
71458
|
}
|
|
71429
71459
|
},
|
|
71430
|
-
"
|
|
71460
|
+
"24": {
|
|
71431
71461
|
start: {
|
|
71432
|
-
line:
|
|
71462
|
+
line: 52,
|
|
71433
71463
|
column: 4
|
|
71434
71464
|
},
|
|
71435
71465
|
end: {
|
|
71436
|
-
line:
|
|
71466
|
+
line: 52,
|
|
71437
71467
|
column: 31
|
|
71438
71468
|
}
|
|
71439
71469
|
},
|
|
71440
|
-
"
|
|
71470
|
+
"25": {
|
|
71441
71471
|
start: {
|
|
71442
|
-
line:
|
|
71472
|
+
line: 55,
|
|
71443
71473
|
column: 24
|
|
71444
71474
|
},
|
|
71445
71475
|
end: {
|
|
71446
|
-
line:
|
|
71476
|
+
line: 61,
|
|
71447
71477
|
column: 3
|
|
71448
71478
|
}
|
|
71449
71479
|
},
|
|
71450
|
-
"
|
|
71480
|
+
"26": {
|
|
71451
71481
|
start: {
|
|
71452
|
-
line:
|
|
71482
|
+
line: 56,
|
|
71453
71483
|
column: 4
|
|
71454
71484
|
},
|
|
71455
71485
|
end: {
|
|
71456
|
-
line:
|
|
71486
|
+
line: 60,
|
|
71457
71487
|
column: 5
|
|
71458
71488
|
}
|
|
71459
71489
|
},
|
|
71460
|
-
"
|
|
71490
|
+
"27": {
|
|
71461
71491
|
start: {
|
|
71462
|
-
line:
|
|
71492
|
+
line: 57,
|
|
71463
71493
|
column: 6
|
|
71464
71494
|
},
|
|
71465
71495
|
end: {
|
|
71466
|
-
line:
|
|
71496
|
+
line: 57,
|
|
71467
71497
|
column: 20
|
|
71468
71498
|
}
|
|
71469
71499
|
},
|
|
71470
|
-
"
|
|
71500
|
+
"28": {
|
|
71471
71501
|
start: {
|
|
71472
|
-
line:
|
|
71502
|
+
line: 58,
|
|
71473
71503
|
column: 11
|
|
71474
71504
|
},
|
|
71475
71505
|
end: {
|
|
71476
|
-
line:
|
|
71506
|
+
line: 60,
|
|
71477
71507
|
column: 5
|
|
71478
71508
|
}
|
|
71479
71509
|
},
|
|
71480
|
-
"
|
|
71510
|
+
"29": {
|
|
71481
71511
|
start: {
|
|
71482
|
-
line:
|
|
71512
|
+
line: 59,
|
|
71483
71513
|
column: 6
|
|
71484
71514
|
},
|
|
71485
71515
|
end: {
|
|
71486
|
-
line:
|
|
71516
|
+
line: 59,
|
|
71487
71517
|
column: 20
|
|
71488
71518
|
}
|
|
71489
71519
|
},
|
|
71490
|
-
"
|
|
71520
|
+
"30": {
|
|
71491
71521
|
start: {
|
|
71492
|
-
line:
|
|
71522
|
+
line: 63,
|
|
71493
71523
|
column: 2
|
|
71494
71524
|
},
|
|
71495
71525
|
end: {
|
|
71496
|
-
line:
|
|
71526
|
+
line: 94,
|
|
71497
71527
|
column: 4
|
|
71498
71528
|
}
|
|
71499
71529
|
}
|
|
@@ -71517,7 +71547,7 @@ function cov_3ld39egr5() {
|
|
|
71517
71547
|
column: 75
|
|
71518
71548
|
},
|
|
71519
71549
|
end: {
|
|
71520
|
-
line:
|
|
71550
|
+
line: 95,
|
|
71521
71551
|
column: 1
|
|
71522
71552
|
}
|
|
71523
71553
|
},
|
|
@@ -71541,7 +71571,7 @@ function cov_3ld39egr5() {
|
|
|
71541
71571
|
column: 28
|
|
71542
71572
|
},
|
|
71543
71573
|
end: {
|
|
71544
|
-
line:
|
|
71574
|
+
line: 37,
|
|
71545
71575
|
column: 3
|
|
71546
71576
|
}
|
|
71547
71577
|
},
|
|
@@ -71551,36 +71581,36 @@ function cov_3ld39egr5() {
|
|
|
71551
71581
|
name: "(anonymous_2)",
|
|
71552
71582
|
decl: {
|
|
71553
71583
|
start: {
|
|
71554
|
-
line:
|
|
71555
|
-
column:
|
|
71584
|
+
line: 25,
|
|
71585
|
+
column: 17
|
|
71556
71586
|
},
|
|
71557
71587
|
end: {
|
|
71558
|
-
line:
|
|
71559
|
-
column:
|
|
71588
|
+
line: 25,
|
|
71589
|
+
column: 18
|
|
71560
71590
|
}
|
|
71561
71591
|
},
|
|
71562
71592
|
loc: {
|
|
71563
71593
|
start: {
|
|
71564
|
-
line:
|
|
71565
|
-
column:
|
|
71594
|
+
line: 25,
|
|
71595
|
+
column: 39
|
|
71566
71596
|
},
|
|
71567
71597
|
end: {
|
|
71568
|
-
line:
|
|
71569
|
-
column:
|
|
71598
|
+
line: 30,
|
|
71599
|
+
column: 9
|
|
71570
71600
|
}
|
|
71571
71601
|
},
|
|
71572
|
-
line:
|
|
71602
|
+
line: 25
|
|
71573
71603
|
},
|
|
71574
71604
|
"3": {
|
|
71575
71605
|
name: "(anonymous_3)",
|
|
71576
71606
|
decl: {
|
|
71577
71607
|
start: {
|
|
71578
71608
|
line: 39,
|
|
71579
|
-
column:
|
|
71609
|
+
column: 23
|
|
71580
71610
|
},
|
|
71581
71611
|
end: {
|
|
71582
71612
|
line: 39,
|
|
71583
|
-
column:
|
|
71613
|
+
column: 24
|
|
71584
71614
|
}
|
|
71585
71615
|
},
|
|
71586
71616
|
loc: {
|
|
@@ -71589,7 +71619,7 @@ function cov_3ld39egr5() {
|
|
|
71589
71619
|
column: 28
|
|
71590
71620
|
},
|
|
71591
71621
|
end: {
|
|
71592
|
-
line:
|
|
71622
|
+
line: 47,
|
|
71593
71623
|
column: 3
|
|
71594
71624
|
}
|
|
71595
71625
|
},
|
|
@@ -71599,25 +71629,49 @@ function cov_3ld39egr5() {
|
|
|
71599
71629
|
name: "(anonymous_4)",
|
|
71600
71630
|
decl: {
|
|
71601
71631
|
start: {
|
|
71602
|
-
line:
|
|
71632
|
+
line: 49,
|
|
71633
|
+
column: 22
|
|
71634
|
+
},
|
|
71635
|
+
end: {
|
|
71636
|
+
line: 49,
|
|
71637
|
+
column: 23
|
|
71638
|
+
}
|
|
71639
|
+
},
|
|
71640
|
+
loc: {
|
|
71641
|
+
start: {
|
|
71642
|
+
line: 49,
|
|
71643
|
+
column: 28
|
|
71644
|
+
},
|
|
71645
|
+
end: {
|
|
71646
|
+
line: 53,
|
|
71647
|
+
column: 3
|
|
71648
|
+
}
|
|
71649
|
+
},
|
|
71650
|
+
line: 49
|
|
71651
|
+
},
|
|
71652
|
+
"5": {
|
|
71653
|
+
name: "(anonymous_5)",
|
|
71654
|
+
decl: {
|
|
71655
|
+
start: {
|
|
71656
|
+
line: 55,
|
|
71603
71657
|
column: 24
|
|
71604
71658
|
},
|
|
71605
71659
|
end: {
|
|
71606
|
-
line:
|
|
71660
|
+
line: 55,
|
|
71607
71661
|
column: 25
|
|
71608
71662
|
}
|
|
71609
71663
|
},
|
|
71610
71664
|
loc: {
|
|
71611
71665
|
start: {
|
|
71612
|
-
line:
|
|
71666
|
+
line: 55,
|
|
71613
71667
|
column: 29
|
|
71614
71668
|
},
|
|
71615
71669
|
end: {
|
|
71616
|
-
line:
|
|
71670
|
+
line: 61,
|
|
71617
71671
|
column: 3
|
|
71618
71672
|
}
|
|
71619
71673
|
},
|
|
71620
|
-
line:
|
|
71674
|
+
line: 55
|
|
71621
71675
|
}
|
|
71622
71676
|
},
|
|
71623
71677
|
branchMap: {
|
|
@@ -71628,7 +71682,7 @@ function cov_3ld39egr5() {
|
|
|
71628
71682
|
column: 4
|
|
71629
71683
|
},
|
|
71630
71684
|
end: {
|
|
71631
|
-
line:
|
|
71685
|
+
line: 36,
|
|
71632
71686
|
column: 5
|
|
71633
71687
|
}
|
|
71634
71688
|
},
|
|
@@ -71639,16 +71693,16 @@ function cov_3ld39egr5() {
|
|
|
71639
71693
|
column: 4
|
|
71640
71694
|
},
|
|
71641
71695
|
end: {
|
|
71642
|
-
line:
|
|
71696
|
+
line: 36,
|
|
71643
71697
|
column: 5
|
|
71644
71698
|
}
|
|
71645
71699
|
}, {
|
|
71646
71700
|
start: {
|
|
71647
|
-
line:
|
|
71701
|
+
line: 34,
|
|
71648
71702
|
column: 11
|
|
71649
71703
|
},
|
|
71650
71704
|
end: {
|
|
71651
|
-
line:
|
|
71705
|
+
line: 36,
|
|
71652
71706
|
column: 5
|
|
71653
71707
|
}
|
|
71654
71708
|
}],
|
|
@@ -71657,88 +71711,88 @@ function cov_3ld39egr5() {
|
|
|
71657
71711
|
"1": {
|
|
71658
71712
|
loc: {
|
|
71659
71713
|
start: {
|
|
71660
|
-
line:
|
|
71714
|
+
line: 40,
|
|
71661
71715
|
column: 4
|
|
71662
71716
|
},
|
|
71663
71717
|
end: {
|
|
71664
|
-
line:
|
|
71718
|
+
line: 46,
|
|
71665
71719
|
column: 5
|
|
71666
71720
|
}
|
|
71667
71721
|
},
|
|
71668
71722
|
type: "if",
|
|
71669
71723
|
locations: [{
|
|
71670
71724
|
start: {
|
|
71671
|
-
line:
|
|
71725
|
+
line: 40,
|
|
71672
71726
|
column: 4
|
|
71673
71727
|
},
|
|
71674
71728
|
end: {
|
|
71675
|
-
line:
|
|
71729
|
+
line: 46,
|
|
71676
71730
|
column: 5
|
|
71677
71731
|
}
|
|
71678
71732
|
}, {
|
|
71679
71733
|
start: {
|
|
71680
|
-
line:
|
|
71734
|
+
line: 43,
|
|
71681
71735
|
column: 11
|
|
71682
71736
|
},
|
|
71683
71737
|
end: {
|
|
71684
|
-
line:
|
|
71738
|
+
line: 46,
|
|
71685
71739
|
column: 5
|
|
71686
71740
|
}
|
|
71687
71741
|
}],
|
|
71688
|
-
line:
|
|
71742
|
+
line: 40
|
|
71689
71743
|
},
|
|
71690
71744
|
"2": {
|
|
71691
71745
|
loc: {
|
|
71692
71746
|
start: {
|
|
71693
|
-
line:
|
|
71747
|
+
line: 56,
|
|
71694
71748
|
column: 4
|
|
71695
71749
|
},
|
|
71696
71750
|
end: {
|
|
71697
|
-
line:
|
|
71751
|
+
line: 60,
|
|
71698
71752
|
column: 5
|
|
71699
71753
|
}
|
|
71700
71754
|
},
|
|
71701
71755
|
type: "if",
|
|
71702
71756
|
locations: [{
|
|
71703
71757
|
start: {
|
|
71704
|
-
line:
|
|
71758
|
+
line: 56,
|
|
71705
71759
|
column: 4
|
|
71706
71760
|
},
|
|
71707
71761
|
end: {
|
|
71708
|
-
line:
|
|
71762
|
+
line: 60,
|
|
71709
71763
|
column: 5
|
|
71710
71764
|
}
|
|
71711
71765
|
}, {
|
|
71712
71766
|
start: {
|
|
71713
|
-
line:
|
|
71767
|
+
line: 58,
|
|
71714
71768
|
column: 11
|
|
71715
71769
|
},
|
|
71716
71770
|
end: {
|
|
71717
|
-
line:
|
|
71771
|
+
line: 60,
|
|
71718
71772
|
column: 5
|
|
71719
71773
|
}
|
|
71720
71774
|
}],
|
|
71721
|
-
line:
|
|
71775
|
+
line: 56
|
|
71722
71776
|
},
|
|
71723
71777
|
"3": {
|
|
71724
71778
|
loc: {
|
|
71725
71779
|
start: {
|
|
71726
|
-
line:
|
|
71780
|
+
line: 58,
|
|
71727
71781
|
column: 11
|
|
71728
71782
|
},
|
|
71729
71783
|
end: {
|
|
71730
|
-
line:
|
|
71784
|
+
line: 60,
|
|
71731
71785
|
column: 5
|
|
71732
71786
|
}
|
|
71733
71787
|
},
|
|
71734
71788
|
type: "if",
|
|
71735
71789
|
locations: [{
|
|
71736
71790
|
start: {
|
|
71737
|
-
line:
|
|
71791
|
+
line: 58,
|
|
71738
71792
|
column: 11
|
|
71739
71793
|
},
|
|
71740
71794
|
end: {
|
|
71741
|
-
line:
|
|
71795
|
+
line: 60,
|
|
71742
71796
|
column: 5
|
|
71743
71797
|
}
|
|
71744
71798
|
}, {
|
|
@@ -71751,73 +71805,73 @@ function cov_3ld39egr5() {
|
|
|
71751
71805
|
column: undefined
|
|
71752
71806
|
}
|
|
71753
71807
|
}],
|
|
71754
|
-
line:
|
|
71808
|
+
line: 58
|
|
71755
71809
|
},
|
|
71756
71810
|
"4": {
|
|
71757
71811
|
loc: {
|
|
71758
71812
|
start: {
|
|
71759
|
-
line:
|
|
71813
|
+
line: 75,
|
|
71760
71814
|
column: 17
|
|
71761
71815
|
},
|
|
71762
71816
|
end: {
|
|
71763
|
-
line:
|
|
71817
|
+
line: 75,
|
|
71764
71818
|
column: 52
|
|
71765
71819
|
}
|
|
71766
71820
|
},
|
|
71767
71821
|
type: "binary-expr",
|
|
71768
71822
|
locations: [{
|
|
71769
71823
|
start: {
|
|
71770
|
-
line:
|
|
71824
|
+
line: 75,
|
|
71771
71825
|
column: 17
|
|
71772
71826
|
},
|
|
71773
71827
|
end: {
|
|
71774
|
-
line:
|
|
71828
|
+
line: 75,
|
|
71775
71829
|
column: 22
|
|
71776
71830
|
}
|
|
71777
71831
|
}, {
|
|
71778
71832
|
start: {
|
|
71779
|
-
line:
|
|
71833
|
+
line: 75,
|
|
71780
71834
|
column: 26
|
|
71781
71835
|
},
|
|
71782
71836
|
end: {
|
|
71783
|
-
line:
|
|
71837
|
+
line: 75,
|
|
71784
71838
|
column: 52
|
|
71785
71839
|
}
|
|
71786
71840
|
}],
|
|
71787
|
-
line:
|
|
71841
|
+
line: 75
|
|
71788
71842
|
},
|
|
71789
71843
|
"5": {
|
|
71790
71844
|
loc: {
|
|
71791
71845
|
start: {
|
|
71792
|
-
line:
|
|
71846
|
+
line: 88,
|
|
71793
71847
|
column: 20
|
|
71794
71848
|
},
|
|
71795
71849
|
end: {
|
|
71796
|
-
line:
|
|
71850
|
+
line: 88,
|
|
71797
71851
|
column: 46
|
|
71798
71852
|
}
|
|
71799
71853
|
},
|
|
71800
71854
|
type: "binary-expr",
|
|
71801
71855
|
locations: [{
|
|
71802
71856
|
start: {
|
|
71803
|
-
line:
|
|
71857
|
+
line: 88,
|
|
71804
71858
|
column: 20
|
|
71805
71859
|
},
|
|
71806
71860
|
end: {
|
|
71807
|
-
line:
|
|
71861
|
+
line: 88,
|
|
71808
71862
|
column: 25
|
|
71809
71863
|
}
|
|
71810
71864
|
}, {
|
|
71811
71865
|
start: {
|
|
71812
|
-
line:
|
|
71866
|
+
line: 88,
|
|
71813
71867
|
column: 29
|
|
71814
71868
|
},
|
|
71815
71869
|
end: {
|
|
71816
|
-
line:
|
|
71870
|
+
line: 88,
|
|
71817
71871
|
column: 46
|
|
71818
71872
|
}
|
|
71819
71873
|
}],
|
|
71820
|
-
line:
|
|
71874
|
+
line: 88
|
|
71821
71875
|
}
|
|
71822
71876
|
},
|
|
71823
71877
|
s: {
|
|
@@ -71848,14 +71902,18 @@ function cov_3ld39egr5() {
|
|
|
71848
71902
|
"24": 0,
|
|
71849
71903
|
"25": 0,
|
|
71850
71904
|
"26": 0,
|
|
71851
|
-
"27": 0
|
|
71905
|
+
"27": 0,
|
|
71906
|
+
"28": 0,
|
|
71907
|
+
"29": 0,
|
|
71908
|
+
"30": 0
|
|
71852
71909
|
},
|
|
71853
71910
|
f: {
|
|
71854
71911
|
"0": 0,
|
|
71855
71912
|
"1": 0,
|
|
71856
71913
|
"2": 0,
|
|
71857
71914
|
"3": 0,
|
|
71858
|
-
"4": 0
|
|
71915
|
+
"4": 0,
|
|
71916
|
+
"5": 0
|
|
71859
71917
|
},
|
|
71860
71918
|
b: {
|
|
71861
71919
|
"0": [0, 0],
|
|
@@ -71866,7 +71924,7 @@ function cov_3ld39egr5() {
|
|
|
71866
71924
|
"5": [0, 0]
|
|
71867
71925
|
},
|
|
71868
71926
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
71869
|
-
hash: "
|
|
71927
|
+
hash: "bcf3a4a110cb7a4d0cb0e48ffdbb6e718b80fab2"
|
|
71870
71928
|
};
|
|
71871
71929
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
71872
71930
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -71909,66 +71967,78 @@ var EmbedOption = function EmbedOption(_ref) {
|
|
|
71909
71967
|
cov_3ld39egr5().s[8]++;
|
|
71910
71968
|
editor.chain().focus().setExternalVideo({
|
|
71911
71969
|
src: validatedUrl
|
|
71970
|
+
}).command(function (_ref7) {
|
|
71971
|
+
var tr = _ref7.tr,
|
|
71972
|
+
commands = _ref7.commands;
|
|
71973
|
+
cov_3ld39egr5().f[2]++;
|
|
71974
|
+
var _ref8 = (cov_3ld39egr5().s[9]++, tr),
|
|
71975
|
+
doc = _ref8.doc,
|
|
71976
|
+
selection = _ref8.selection;
|
|
71977
|
+
var position = (cov_3ld39egr5().s[10]++, doc.resolve(selection.to).end());
|
|
71978
|
+
cov_3ld39egr5().s[11]++;
|
|
71979
|
+
return commands.insertContentAt(position, {
|
|
71980
|
+
type: "paragraph"
|
|
71981
|
+
});
|
|
71912
71982
|
}).run();
|
|
71913
|
-
cov_3ld39egr5().s[
|
|
71983
|
+
cov_3ld39egr5().s[12]++;
|
|
71914
71984
|
setEmbedUrl("");
|
|
71915
|
-
cov_3ld39egr5().s[
|
|
71985
|
+
cov_3ld39egr5().s[13]++;
|
|
71916
71986
|
setIsEmbedModalOpen(false);
|
|
71917
71987
|
} else {
|
|
71918
71988
|
cov_3ld39egr5().b[0][1]++;
|
|
71919
|
-
cov_3ld39egr5().s[
|
|
71989
|
+
cov_3ld39egr5().s[14]++;
|
|
71920
71990
|
setError(true);
|
|
71921
71991
|
}
|
|
71922
71992
|
};
|
|
71923
|
-
cov_3ld39egr5().s[
|
|
71993
|
+
cov_3ld39egr5().s[15]++;
|
|
71924
71994
|
var handleChange = function handleChange(e) {
|
|
71925
|
-
cov_3ld39egr5().f[
|
|
71926
|
-
cov_3ld39egr5().s[
|
|
71995
|
+
cov_3ld39egr5().f[3]++;
|
|
71996
|
+
cov_3ld39egr5().s[16]++;
|
|
71927
71997
|
if (validateUrl(e.target.value)) {
|
|
71928
71998
|
cov_3ld39egr5().b[1][0]++;
|
|
71929
|
-
cov_3ld39egr5().s[
|
|
71999
|
+
cov_3ld39egr5().s[17]++;
|
|
71930
72000
|
setError(false);
|
|
71931
|
-
cov_3ld39egr5().s[
|
|
72001
|
+
cov_3ld39egr5().s[18]++;
|
|
71932
72002
|
setEmbedUrl(e.target.value);
|
|
71933
72003
|
} else {
|
|
71934
72004
|
cov_3ld39egr5().b[1][1]++;
|
|
71935
|
-
cov_3ld39egr5().s[
|
|
72005
|
+
cov_3ld39egr5().s[19]++;
|
|
71936
72006
|
setError(true);
|
|
71937
|
-
cov_3ld39egr5().s[
|
|
72007
|
+
cov_3ld39egr5().s[20]++;
|
|
71938
72008
|
setEmbedUrl(e.target.value);
|
|
71939
72009
|
}
|
|
71940
72010
|
};
|
|
71941
|
-
cov_3ld39egr5().s[
|
|
72011
|
+
cov_3ld39egr5().s[21]++;
|
|
71942
72012
|
var handleClose = function handleClose() {
|
|
71943
|
-
cov_3ld39egr5().f[
|
|
71944
|
-
cov_3ld39egr5().s[
|
|
72013
|
+
cov_3ld39egr5().f[4]++;
|
|
72014
|
+
cov_3ld39egr5().s[22]++;
|
|
71945
72015
|
setEmbedUrl("");
|
|
71946
|
-
cov_3ld39egr5().s[
|
|
72016
|
+
cov_3ld39egr5().s[23]++;
|
|
71947
72017
|
setError(false);
|
|
71948
|
-
cov_3ld39egr5().s[
|
|
72018
|
+
cov_3ld39egr5().s[24]++;
|
|
71949
72019
|
setIsEmbedModalOpen(false);
|
|
71950
72020
|
};
|
|
71951
|
-
cov_3ld39egr5().s[
|
|
72021
|
+
cov_3ld39egr5().s[25]++;
|
|
71952
72022
|
var handleKeyDown = function handleKeyDown(e) {
|
|
71953
|
-
cov_3ld39egr5().f[
|
|
71954
|
-
cov_3ld39egr5().s[
|
|
72023
|
+
cov_3ld39egr5().f[5]++;
|
|
72024
|
+
cov_3ld39egr5().s[26]++;
|
|
71955
72025
|
if (e.key === "Enter") {
|
|
71956
72026
|
cov_3ld39egr5().b[2][0]++;
|
|
71957
|
-
cov_3ld39egr5().s[
|
|
72027
|
+
cov_3ld39egr5().s[27]++;
|
|
71958
72028
|
handleEmbed();
|
|
71959
72029
|
} else {
|
|
71960
72030
|
cov_3ld39egr5().b[2][1]++;
|
|
71961
|
-
cov_3ld39egr5().s[
|
|
72031
|
+
cov_3ld39egr5().s[28]++;
|
|
71962
72032
|
if (e.key === "Escape") {
|
|
71963
72033
|
cov_3ld39egr5().b[3][0]++;
|
|
71964
|
-
cov_3ld39egr5().s[
|
|
72034
|
+
cov_3ld39egr5().s[29]++;
|
|
71965
72035
|
handleClose();
|
|
71966
72036
|
} else {
|
|
71967
72037
|
cov_3ld39egr5().b[3][1]++;
|
|
71968
72038
|
}
|
|
71969
72039
|
}
|
|
71970
72040
|
};
|
|
71971
|
-
cov_3ld39egr5().s[
|
|
72041
|
+
cov_3ld39egr5().s[30]++;
|
|
71972
72042
|
return /*#__PURE__*/React__default["default"].createElement(neetoui.Modal, {
|
|
71973
72043
|
initialFocusRef: inputRef,
|
|
71974
72044
|
isOpen: isEmbedModalOpen,
|
|
@@ -80592,7 +80662,7 @@ var CustomCommands = Extension.create({
|
|
|
80592
80662
|
|
|
80593
80663
|
function cov_xd1lqdp2c() {
|
|
80594
80664
|
var path = "/home/runner/work/neeto-editor/neeto-editor/src/components/Editor/CustomExtensions/Embeds/ExtensionConfig.js";
|
|
80595
|
-
var hash = "
|
|
80665
|
+
var hash = "7af08054aaff81d7719d311bd77cec28ce338b6a";
|
|
80596
80666
|
var global = new Function("return this")();
|
|
80597
80667
|
var gcv = "__coverage__";
|
|
80598
80668
|
var coverageData = {
|
|
@@ -80694,7 +80764,7 @@ function cov_xd1lqdp2c() {
|
|
|
80694
80764
|
column: 4
|
|
80695
80765
|
},
|
|
80696
80766
|
end: {
|
|
80697
|
-
line:
|
|
80767
|
+
line: 106,
|
|
80698
80768
|
column: 6
|
|
80699
80769
|
}
|
|
80700
80770
|
},
|
|
@@ -80734,7 +80804,7 @@ function cov_xd1lqdp2c() {
|
|
|
80734
80804
|
column: 10
|
|
80735
80805
|
},
|
|
80736
80806
|
end: {
|
|
80737
|
-
line:
|
|
80807
|
+
line: 103,
|
|
80738
80808
|
column: 11
|
|
80739
80809
|
}
|
|
80740
80810
|
},
|
|
@@ -80757,6 +80827,26 @@ function cov_xd1lqdp2c() {
|
|
|
80757
80827
|
line: 94,
|
|
80758
80828
|
column: 46
|
|
80759
80829
|
}
|
|
80830
|
+
},
|
|
80831
|
+
"16": {
|
|
80832
|
+
start: {
|
|
80833
|
+
line: 95,
|
|
80834
|
+
column: 12
|
|
80835
|
+
},
|
|
80836
|
+
end: {
|
|
80837
|
+
line: 98,
|
|
80838
|
+
column: 14
|
|
80839
|
+
}
|
|
80840
|
+
},
|
|
80841
|
+
"17": {
|
|
80842
|
+
start: {
|
|
80843
|
+
line: 100,
|
|
80844
|
+
column: 12
|
|
80845
|
+
},
|
|
80846
|
+
end: {
|
|
80847
|
+
line: 102,
|
|
80848
|
+
column: 14
|
|
80849
|
+
}
|
|
80760
80850
|
}
|
|
80761
80851
|
},
|
|
80762
80852
|
fnMap: {
|
|
@@ -80994,7 +81084,7 @@ function cov_xd1lqdp2c() {
|
|
|
80994
81084
|
column: 18
|
|
80995
81085
|
},
|
|
80996
81086
|
end: {
|
|
80997
|
-
line:
|
|
81087
|
+
line: 107,
|
|
80998
81088
|
column: 3
|
|
80999
81089
|
}
|
|
81000
81090
|
},
|
|
@@ -81018,7 +81108,7 @@ function cov_xd1lqdp2c() {
|
|
|
81018
81108
|
column: 46
|
|
81019
81109
|
},
|
|
81020
81110
|
end: {
|
|
81021
|
-
line:
|
|
81111
|
+
line: 104,
|
|
81022
81112
|
column: 9
|
|
81023
81113
|
}
|
|
81024
81114
|
},
|
|
@@ -81066,7 +81156,7 @@ function cov_xd1lqdp2c() {
|
|
|
81066
81156
|
column: 10
|
|
81067
81157
|
},
|
|
81068
81158
|
end: {
|
|
81069
|
-
line:
|
|
81159
|
+
line: 103,
|
|
81070
81160
|
column: 11
|
|
81071
81161
|
}
|
|
81072
81162
|
},
|
|
@@ -81077,7 +81167,7 @@ function cov_xd1lqdp2c() {
|
|
|
81077
81167
|
column: 10
|
|
81078
81168
|
},
|
|
81079
81169
|
end: {
|
|
81080
|
-
line:
|
|
81170
|
+
line: 103,
|
|
81081
81171
|
column: 11
|
|
81082
81172
|
}
|
|
81083
81173
|
}, {
|
|
@@ -81109,7 +81199,9 @@ function cov_xd1lqdp2c() {
|
|
|
81109
81199
|
"12": 0,
|
|
81110
81200
|
"13": 0,
|
|
81111
81201
|
"14": 0,
|
|
81112
|
-
"15": 0
|
|
81202
|
+
"15": 0,
|
|
81203
|
+
"16": 0,
|
|
81204
|
+
"17": 0
|
|
81113
81205
|
},
|
|
81114
81206
|
f: {
|
|
81115
81207
|
"0": 0,
|
|
@@ -81129,7 +81221,7 @@ function cov_xd1lqdp2c() {
|
|
|
81129
81221
|
"1": [0, 0]
|
|
81130
81222
|
},
|
|
81131
81223
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
81132
|
-
hash: "
|
|
81224
|
+
hash: "7af08054aaff81d7719d311bd77cec28ce338b6a"
|
|
81133
81225
|
};
|
|
81134
81226
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
81135
81227
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -81247,6 +81339,10 @@ var Embeds = Node$1.create({
|
|
|
81247
81339
|
}));
|
|
81248
81340
|
cov_xd1lqdp2c().s[15]++;
|
|
81249
81341
|
state.tr.insert(range.from, node);
|
|
81342
|
+
cov_xd1lqdp2c().s[16]++;
|
|
81343
|
+
state.tr.insert(range.from + node.nodeSize + 1, state.schema.nodes.paragraph.create());
|
|
81344
|
+
cov_xd1lqdp2c().s[17]++;
|
|
81345
|
+
state.tr.setSelection(TextSelection.create(state.tr.doc, range.from + node.nodeSize + 1));
|
|
81250
81346
|
} else {
|
|
81251
81347
|
cov_xd1lqdp2c().b[1][1]++;
|
|
81252
81348
|
}
|