@bigbinary/neeto-editor 1.25.15 → 1.25.17

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.
Files changed (3) hide show
  1. package/index.cjs.js +900 -813
  2. package/index.js +902 -815
  3. package/package.json +1 -1
package/index.js CHANGED
@@ -1,5 +1,5 @@
1
- import { isNotEmpty, findBy, noop as noop$2, removeBy, removeById, humanize, slugify } from '@bigbinary/neeto-commons-frontend/pure';
2
- import { pluck, isNil, isEmpty as isEmpty$1, mergeDeepLeft, assoc, mergeRight, concat as concat$3, is, prop, fromPairs, uniqBy } from 'ramda';
1
+ import { isNotEmpty, findBy, noop as noop$2, removeBy, removeById, slugify } from '@bigbinary/neeto-commons-frontend/pure';
2
+ import { pluck, isEmpty as isEmpty$1, isNil, 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';
5
5
  import { renderToString } from 'react-dom/server';
@@ -23475,7 +23475,7 @@ var VARIABLE_SPAN_REGEX = (cov_1l9oz901pg().s[3]++, /<span data-variable="" [^>]
23475
23475
 
23476
23476
  function cov_2fxze78p7l() {
23477
23477
  var path = "/home/runner/work/neeto-editor/neeto-editor/src/components/EditorContent/utils.js";
23478
- var hash = "4a7e240f9544a6997542df200cd5101135aa4296";
23478
+ var hash = "441fa5e97cbfafb994f82f3774eb62e2601621d6";
23479
23479
  var global = new Function("return this")();
23480
23480
  var gcv = "__coverage__";
23481
23481
  var coverageData = {
@@ -23483,191 +23483,211 @@ function cov_2fxze78p7l() {
23483
23483
  statementMap: {
23484
23484
  "0": {
23485
23485
  start: {
23486
- line: 9,
23486
+ line: 10,
23487
23487
  column: 33
23488
23488
  },
23489
23489
  end: {
23490
- line: 19,
23490
+ line: 20,
23491
23491
  column: 1
23492
23492
  }
23493
23493
  },
23494
23494
  "1": {
23495
23495
  start: {
23496
- line: 10,
23496
+ line: 11,
23497
23497
  column: 2
23498
23498
  },
23499
23499
  end: {
23500
- line: 16,
23500
+ line: 17,
23501
23501
  column: 3
23502
23502
  }
23503
23503
  },
23504
23504
  "2": {
23505
23505
  start: {
23506
- line: 11,
23506
+ line: 12,
23507
23507
  column: 21
23508
23508
  },
23509
23509
  end: {
23510
- line: 13,
23510
+ line: 14,
23511
23511
  column: 12
23512
23512
  }
23513
23513
  },
23514
23514
  "3": {
23515
23515
  start: {
23516
- line: 15,
23516
+ line: 16,
23517
23517
  column: 4
23518
23518
  },
23519
23519
  end: {
23520
- line: 15,
23520
+ line: 16,
23521
23521
  column: 78
23522
23522
  }
23523
23523
  },
23524
23524
  "4": {
23525
23525
  start: {
23526
- line: 18,
23526
+ line: 19,
23527
23527
  column: 2
23528
23528
  },
23529
23529
  end: {
23530
- line: 18,
23530
+ line: 19,
23531
23531
  column: 23
23532
23532
  }
23533
23533
  },
23534
23534
  "5": {
23535
23535
  start: {
23536
- line: 21,
23536
+ line: 22,
23537
23537
  column: 29
23538
23538
  },
23539
23539
  end: {
23540
- line: 32,
23540
+ line: 37,
23541
23541
  column: 4
23542
23542
  }
23543
23543
  },
23544
23544
  "6": {
23545
23545
  start: {
23546
- line: 22,
23546
+ line: 23,
23547
23547
  column: 2
23548
23548
  },
23549
23549
  end: {
23550
- line: 32,
23550
+ line: 37,
23551
23551
  column: 4
23552
23552
  }
23553
23553
  },
23554
23554
  "7": {
23555
23555
  start: {
23556
- line: 23,
23557
- column: 27
23556
+ line: 24,
23557
+ column: 25
23558
23558
  },
23559
23559
  end: {
23560
- line: 25,
23560
+ line: 26,
23561
23561
  column: 5
23562
23562
  }
23563
23563
  },
23564
23564
  "8": {
23565
23565
  start: {
23566
- line: 27,
23567
- column: 28
23566
+ line: 28,
23567
+ column: 4
23568
23568
  },
23569
23569
  end: {
23570
- line: 29,
23570
+ line: 30,
23571
23571
  column: 5
23572
23572
  }
23573
23573
  },
23574
23574
  "9": {
23575
23575
  start: {
23576
- line: 31,
23577
- column: 4
23576
+ line: 29,
23577
+ column: 6
23578
23578
  },
23579
23579
  end: {
23580
- line: 31,
23581
- column: 72
23580
+ line: 29,
23581
+ column: 62
23582
23582
  }
23583
23583
  },
23584
23584
  "10": {
23585
23585
  start: {
23586
+ line: 32,
23587
+ column: 28
23588
+ },
23589
+ end: {
23586
23590
  line: 34,
23591
+ column: 5
23592
+ }
23593
+ },
23594
+ "11": {
23595
+ start: {
23596
+ line: 36,
23597
+ column: 4
23598
+ },
23599
+ end: {
23600
+ line: 36,
23601
+ column: 72
23602
+ }
23603
+ },
23604
+ "12": {
23605
+ start: {
23606
+ line: 39,
23587
23607
  column: 35
23588
23608
  },
23589
23609
  end: {
23590
- line: 50,
23610
+ line: 55,
23591
23611
  column: 4
23592
23612
  }
23593
23613
  },
23594
- "11": {
23614
+ "13": {
23595
23615
  start: {
23596
- line: 35,
23616
+ line: 40,
23597
23617
  column: 2
23598
23618
  },
23599
23619
  end: {
23600
- line: 50,
23620
+ line: 55,
23601
23621
  column: 4
23602
23622
  }
23603
23623
  },
23604
- "12": {
23624
+ "14": {
23605
23625
  start: {
23606
- line: 36,
23626
+ line: 41,
23607
23627
  column: 30
23608
23628
  },
23609
23629
  end: {
23610
- line: 36,
23630
+ line: 41,
23611
23631
  column: 50
23612
23632
  }
23613
23633
  },
23614
- "13": {
23634
+ "15": {
23615
23635
  start: {
23616
- line: 37,
23636
+ line: 42,
23617
23637
  column: 4
23618
23638
  },
23619
23639
  end: {
23620
- line: 45,
23640
+ line: 50,
23621
23641
  column: 5
23622
23642
  }
23623
23643
  },
23624
- "14": {
23644
+ "16": {
23625
23645
  start: {
23626
- line: 38,
23646
+ line: 43,
23627
23647
  column: 23
23628
23648
  },
23629
23649
  end: {
23630
- line: 38,
23650
+ line: 43,
23631
23651
  column: 76
23632
23652
  }
23633
23653
  },
23634
- "15": {
23654
+ "17": {
23635
23655
  start: {
23636
- line: 39,
23656
+ line: 44,
23637
23657
  column: 23
23638
23658
  },
23639
23659
  end: {
23640
- line: 42,
23660
+ line: 47,
23641
23661
  column: 7
23642
23662
  }
23643
23663
  },
23644
- "16": {
23664
+ "18": {
23645
23665
  start: {
23646
- line: 44,
23666
+ line: 49,
23647
23667
  column: 6
23648
23668
  },
23649
23669
  end: {
23650
- line: 44,
23670
+ line: 49,
23651
23671
  column: 60
23652
23672
  }
23653
23673
  },
23654
- "17": {
23674
+ "19": {
23655
23675
  start: {
23656
- line: 47,
23676
+ line: 52,
23657
23677
  column: 21
23658
23678
  },
23659
23679
  end: {
23660
- line: 47,
23680
+ line: 52,
23661
23681
  column: 69
23662
23682
  }
23663
23683
  },
23664
- "18": {
23684
+ "20": {
23665
23685
  start: {
23666
- line: 49,
23686
+ line: 54,
23667
23687
  column: 4
23668
23688
  },
23669
23689
  end: {
23670
- line: 49,
23690
+ line: 54,
23671
23691
  column: 58
23672
23692
  }
23673
23693
  }
@@ -23677,143 +23697,143 @@ function cov_2fxze78p7l() {
23677
23697
  name: "(anonymous_0)",
23678
23698
  decl: {
23679
23699
  start: {
23680
- line: 9,
23700
+ line: 10,
23681
23701
  column: 33
23682
23702
  },
23683
23703
  end: {
23684
- line: 9,
23704
+ line: 10,
23685
23705
  column: 34
23686
23706
  }
23687
23707
  },
23688
23708
  loc: {
23689
23709
  start: {
23690
- line: 9,
23710
+ line: 10,
23691
23711
  column: 44
23692
23712
  },
23693
23713
  end: {
23694
- line: 19,
23714
+ line: 20,
23695
23715
  column: 1
23696
23716
  }
23697
23717
  },
23698
- line: 9
23718
+ line: 10
23699
23719
  },
23700
23720
  "1": {
23701
23721
  name: "(anonymous_1)",
23702
23722
  decl: {
23703
23723
  start: {
23704
- line: 21,
23724
+ line: 22,
23705
23725
  column: 29
23706
23726
  },
23707
23727
  end: {
23708
- line: 21,
23728
+ line: 22,
23709
23729
  column: 30
23710
23730
  }
23711
23731
  },
23712
23732
  loc: {
23713
23733
  start: {
23714
- line: 22,
23734
+ line: 23,
23715
23735
  column: 2
23716
23736
  },
23717
23737
  end: {
23718
- line: 32,
23738
+ line: 37,
23719
23739
  column: 4
23720
23740
  }
23721
23741
  },
23722
- line: 22
23742
+ line: 23
23723
23743
  },
23724
23744
  "2": {
23725
23745
  name: "(anonymous_2)",
23726
23746
  decl: {
23727
23747
  start: {
23728
- line: 22,
23748
+ line: 23,
23729
23749
  column: 36
23730
23750
  },
23731
23751
  end: {
23732
- line: 22,
23752
+ line: 23,
23733
23753
  column: 37
23734
23754
  }
23735
23755
  },
23736
23756
  loc: {
23737
23757
  start: {
23738
- line: 22,
23758
+ line: 23,
23739
23759
  column: 49
23740
23760
  },
23741
23761
  end: {
23742
- line: 32,
23762
+ line: 37,
23743
23763
  column: 3
23744
23764
  }
23745
23765
  },
23746
- line: 22
23766
+ line: 23
23747
23767
  },
23748
23768
  "3": {
23749
23769
  name: "(anonymous_3)",
23750
23770
  decl: {
23751
23771
  start: {
23752
- line: 34,
23772
+ line: 39,
23753
23773
  column: 35
23754
23774
  },
23755
23775
  end: {
23756
- line: 34,
23776
+ line: 39,
23757
23777
  column: 36
23758
23778
  }
23759
23779
  },
23760
23780
  loc: {
23761
23781
  start: {
23762
- line: 35,
23782
+ line: 40,
23763
23783
  column: 2
23764
23784
  },
23765
23785
  end: {
23766
- line: 50,
23786
+ line: 55,
23767
23787
  column: 4
23768
23788
  }
23769
23789
  },
23770
- line: 35
23790
+ line: 40
23771
23791
  },
23772
23792
  "4": {
23773
23793
  name: "(anonymous_4)",
23774
23794
  decl: {
23775
23795
  start: {
23776
- line: 35,
23796
+ line: 40,
23777
23797
  column: 50
23778
23798
  },
23779
23799
  end: {
23780
- line: 35,
23800
+ line: 40,
23781
23801
  column: 51
23782
23802
  }
23783
23803
  },
23784
23804
  loc: {
23785
23805
  start: {
23786
- line: 35,
23806
+ line: 40,
23787
23807
  column: 78
23788
23808
  },
23789
23809
  end: {
23790
- line: 50,
23810
+ line: 55,
23791
23811
  column: 3
23792
23812
  }
23793
23813
  },
23794
- line: 35
23814
+ line: 40
23795
23815
  }
23796
23816
  },
23797
23817
  branchMap: {
23798
23818
  "0": {
23799
23819
  loc: {
23800
23820
  start: {
23801
- line: 10,
23821
+ line: 11,
23802
23822
  column: 2
23803
23823
  },
23804
23824
  end: {
23805
- line: 16,
23825
+ line: 17,
23806
23826
  column: 3
23807
23827
  }
23808
23828
  },
23809
23829
  type: "if",
23810
23830
  locations: [{
23811
23831
  start: {
23812
- line: 10,
23832
+ line: 11,
23813
23833
  column: 2
23814
23834
  },
23815
23835
  end: {
23816
- line: 16,
23836
+ line: 17,
23817
23837
  column: 3
23818
23838
  }
23819
23839
  }, {
@@ -23826,60 +23846,60 @@ function cov_2fxze78p7l() {
23826
23846
  column: undefined
23827
23847
  }
23828
23848
  }],
23829
- line: 10
23849
+ line: 11
23830
23850
  },
23831
23851
  "1": {
23832
23852
  loc: {
23833
23853
  start: {
23834
- line: 11,
23854
+ line: 12,
23835
23855
  column: 21
23836
23856
  },
23837
23857
  end: {
23838
- line: 13,
23858
+ line: 14,
23839
23859
  column: 12
23840
23860
  }
23841
23861
  },
23842
23862
  type: "cond-expr",
23843
23863
  locations: [{
23844
23864
  start: {
23845
- line: 12,
23865
+ line: 13,
23846
23866
  column: 8
23847
23867
  },
23848
23868
  end: {
23849
- line: 12,
23869
+ line: 13,
23850
23870
  column: 54
23851
23871
  }
23852
23872
  }, {
23853
23873
  start: {
23854
- line: 13,
23874
+ line: 14,
23855
23875
  column: 8
23856
23876
  },
23857
23877
  end: {
23858
- line: 13,
23878
+ line: 14,
23859
23879
  column: 12
23860
23880
  }
23861
23881
  }],
23862
- line: 11
23882
+ line: 12
23863
23883
  },
23864
23884
  "2": {
23865
23885
  loc: {
23866
23886
  start: {
23867
- line: 37,
23887
+ line: 28,
23868
23888
  column: 4
23869
23889
  },
23870
23890
  end: {
23871
- line: 45,
23891
+ line: 30,
23872
23892
  column: 5
23873
23893
  }
23874
23894
  },
23875
23895
  type: "if",
23876
23896
  locations: [{
23877
23897
  start: {
23878
- line: 37,
23898
+ line: 28,
23879
23899
  column: 4
23880
23900
  },
23881
23901
  end: {
23882
- line: 45,
23902
+ line: 30,
23883
23903
  column: 5
23884
23904
  }
23885
23905
  }, {
@@ -23892,106 +23912,139 @@ function cov_2fxze78p7l() {
23892
23912
  column: undefined
23893
23913
  }
23894
23914
  }],
23895
- line: 37
23915
+ line: 28
23896
23916
  },
23897
23917
  "3": {
23898
23918
  loc: {
23899
23919
  start: {
23900
- line: 41,
23920
+ line: 42,
23921
+ column: 4
23922
+ },
23923
+ end: {
23924
+ line: 50,
23925
+ column: 5
23926
+ }
23927
+ },
23928
+ type: "if",
23929
+ locations: [{
23930
+ start: {
23931
+ line: 42,
23932
+ column: 4
23933
+ },
23934
+ end: {
23935
+ line: 50,
23936
+ column: 5
23937
+ }
23938
+ }, {
23939
+ start: {
23940
+ line: undefined,
23941
+ column: undefined
23942
+ },
23943
+ end: {
23944
+ line: undefined,
23945
+ column: undefined
23946
+ }
23947
+ }],
23948
+ line: 42
23949
+ },
23950
+ "4": {
23951
+ loc: {
23952
+ start: {
23953
+ line: 46,
23901
23954
  column: 8
23902
23955
  },
23903
23956
  end: {
23904
- line: 41,
23957
+ line: 46,
23905
23958
  column: 33
23906
23959
  }
23907
23960
  },
23908
23961
  type: "binary-expr",
23909
23962
  locations: [{
23910
23963
  start: {
23911
- line: 41,
23964
+ line: 46,
23912
23965
  column: 8
23913
23966
  },
23914
23967
  end: {
23915
- line: 41,
23968
+ line: 46,
23916
23969
  column: 27
23917
23970
  }
23918
23971
  }, {
23919
23972
  start: {
23920
- line: 41,
23973
+ line: 46,
23921
23974
  column: 31
23922
23975
  },
23923
23976
  end: {
23924
- line: 41,
23977
+ line: 46,
23925
23978
  column: 33
23926
23979
  }
23927
23980
  }],
23928
- line: 41
23981
+ line: 46
23929
23982
  },
23930
- "4": {
23983
+ "5": {
23931
23984
  loc: {
23932
23985
  start: {
23933
- line: 44,
23986
+ line: 49,
23934
23987
  column: 13
23935
23988
  },
23936
23989
  end: {
23937
- line: 44,
23990
+ line: 49,
23938
23991
  column: 59
23939
23992
  }
23940
23993
  },
23941
23994
  type: "cond-expr",
23942
23995
  locations: [{
23943
23996
  start: {
23944
- line: 44,
23997
+ line: 49,
23945
23998
  column: 31
23946
23999
  },
23947
24000
  end: {
23948
- line: 44,
24001
+ line: 49,
23949
24002
  column: 45
23950
24003
  }
23951
24004
  }, {
23952
24005
  start: {
23953
- line: 44,
24006
+ line: 49,
23954
24007
  column: 48
23955
24008
  },
23956
24009
  end: {
23957
- line: 44,
24010
+ line: 49,
23958
24011
  column: 59
23959
24012
  }
23960
24013
  }],
23961
- line: 44
24014
+ line: 49
23962
24015
  },
23963
- "5": {
24016
+ "6": {
23964
24017
  loc: {
23965
24018
  start: {
23966
- line: 49,
24019
+ line: 54,
23967
24020
  column: 11
23968
24021
  },
23969
24022
  end: {
23970
- line: 49,
24023
+ line: 54,
23971
24024
  column: 57
23972
24025
  }
23973
24026
  },
23974
24027
  type: "cond-expr",
23975
24028
  locations: [{
23976
24029
  start: {
23977
- line: 49,
24030
+ line: 54,
23978
24031
  column: 29
23979
24032
  },
23980
24033
  end: {
23981
- line: 49,
24034
+ line: 54,
23982
24035
  column: 43
23983
24036
  }
23984
24037
  }, {
23985
24038
  start: {
23986
- line: 49,
24039
+ line: 54,
23987
24040
  column: 46
23988
24041
  },
23989
24042
  end: {
23990
- line: 49,
24043
+ line: 54,
23991
24044
  column: 57
23992
24045
  }
23993
24046
  }],
23994
- line: 49
24047
+ line: 54
23995
24048
  }
23996
24049
  },
23997
24050
  s: {
@@ -24013,7 +24066,9 @@ function cov_2fxze78p7l() {
24013
24066
  "15": 0,
24014
24067
  "16": 0,
24015
24068
  "17": 0,
24016
- "18": 0
24069
+ "18": 0,
24070
+ "19": 0,
24071
+ "20": 0
24017
24072
  },
24018
24073
  f: {
24019
24074
  "0": 0,
@@ -24028,10 +24083,11 @@ function cov_2fxze78p7l() {
24028
24083
  "2": [0, 0],
24029
24084
  "3": [0, 0],
24030
24085
  "4": [0, 0],
24031
- "5": [0, 0]
24086
+ "5": [0, 0],
24087
+ "6": [0, 0]
24032
24088
  },
24033
24089
  _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
24034
- hash: "4a7e240f9544a6997542df200cd5101135aa4296"
24090
+ hash: "441fa5e97cbfafb994f82f3774eb62e2601621d6"
24035
24091
  };
24036
24092
  var coverage = global[gcv] || (global[gcv] = {});
24037
24093
  if (!coverage[path] || coverage[path].hash !== hash) {
@@ -24069,37 +24125,45 @@ var highlightCode = function highlightCode(content) {
24069
24125
  return content.replace(CODE_BLOCK_REGEX, function (_, code) {
24070
24126
  cov_2fxze78p7l().f[2]++;
24071
24127
  var highlightedAST = (cov_2fxze78p7l().s[7]++, lowlight.highlightAuto(code.replace(/&gt;/g, ">").replace(/&lt;/g, "<").replace(/&amp;/g, "&")));
24072
- var highlightedNode = (cov_2fxze78p7l().s[8]++, highlightedAST.children.map(buildReactElementFromAST));
24073
- cov_2fxze78p7l().s[9]++;
24128
+ cov_2fxze78p7l().s[8]++;
24129
+ if (isEmpty$1(highlightedAST.children)) {
24130
+ cov_2fxze78p7l().b[2][0]++;
24131
+ cov_2fxze78p7l().s[9]++;
24132
+ highlightedAST = lowlight.highlight("javascript", code);
24133
+ } else {
24134
+ cov_2fxze78p7l().b[2][1]++;
24135
+ }
24136
+ var highlightedNode = (cov_2fxze78p7l().s[10]++, highlightedAST.children.map(buildReactElementFromAST));
24137
+ cov_2fxze78p7l().s[11]++;
24074
24138
  return "<pre><code>".concat(renderToString(highlightedNode), "</code></pre>");
24075
24139
  });
24076
24140
  };
24077
- cov_2fxze78p7l().s[10]++;
24141
+ cov_2fxze78p7l().s[12]++;
24078
24142
  var substituteVariables = function substituteVariables(highlightedContent, variables) {
24079
24143
  cov_2fxze78p7l().f[3]++;
24080
- cov_2fxze78p7l().s[11]++;
24144
+ cov_2fxze78p7l().s[13]++;
24081
24145
  return highlightedContent.replace(VARIABLE_SPAN_REGEX, function (matchedSpan, dataLabel) {
24082
24146
  cov_2fxze78p7l().f[4]++;
24083
- var dataLabelSplitted = (cov_2fxze78p7l().s[12]++, dataLabel.split("."));
24084
- cov_2fxze78p7l().s[13]++;
24147
+ var dataLabelSplitted = (cov_2fxze78p7l().s[14]++, dataLabel.split("."));
24148
+ cov_2fxze78p7l().s[15]++;
24085
24149
  if (dataLabelSplitted.length > 1) {
24086
- cov_2fxze78p7l().b[2][0]++;
24087
- var category = (cov_2fxze78p7l().s[14]++, findBy({
24150
+ cov_2fxze78p7l().b[3][0]++;
24151
+ var category = (cov_2fxze78p7l().s[16]++, findBy({
24088
24152
  category: dataLabelSplitted[0]
24089
24153
  }, variables));
24090
- var _variable = (cov_2fxze78p7l().s[15]++, findBy({
24154
+ var _variable = (cov_2fxze78p7l().s[17]++, findBy({
24091
24155
  key: dataLabelSplitted[1]
24092
- }, (cov_2fxze78p7l().b[3][0]++, category === null || category === void 0 ? void 0 : category.variables) || (cov_2fxze78p7l().b[3][1]++, [])));
24093
- cov_2fxze78p7l().s[16]++;
24094
- return _variable !== null && _variable !== void 0 && _variable.value ? (cov_2fxze78p7l().b[4][0]++, _variable.value) : (cov_2fxze78p7l().b[4][1]++, matchedSpan);
24156
+ }, (cov_2fxze78p7l().b[4][0]++, category === null || category === void 0 ? void 0 : category.variables) || (cov_2fxze78p7l().b[4][1]++, [])));
24157
+ cov_2fxze78p7l().s[18]++;
24158
+ return _variable !== null && _variable !== void 0 && _variable.value ? (cov_2fxze78p7l().b[5][0]++, _variable.value) : (cov_2fxze78p7l().b[5][1]++, matchedSpan);
24095
24159
  } else {
24096
- cov_2fxze78p7l().b[2][1]++;
24160
+ cov_2fxze78p7l().b[3][1]++;
24097
24161
  }
24098
- var variable = (cov_2fxze78p7l().s[17]++, findBy({
24162
+ var variable = (cov_2fxze78p7l().s[19]++, findBy({
24099
24163
  key: dataLabelSplitted[0]
24100
24164
  }, variables));
24101
- cov_2fxze78p7l().s[18]++;
24102
- return variable !== null && variable !== void 0 && variable.value ? (cov_2fxze78p7l().b[5][0]++, variable.value) : (cov_2fxze78p7l().b[5][1]++, matchedSpan);
24165
+ cov_2fxze78p7l().s[20]++;
24166
+ return variable !== null && variable !== void 0 && variable.value ? (cov_2fxze78p7l().b[6][0]++, variable.value) : (cov_2fxze78p7l().b[6][1]++, matchedSpan);
24103
24167
  });
24104
24168
  };
24105
24169
 
@@ -27457,7 +27521,7 @@ instance.reloadResources;
27457
27521
  instance.use;
27458
27522
  instance.changeLanguage;
27459
27523
  instance.getFixedT;
27460
- instance.t;
27524
+ var t$7 = instance.t;
27461
27525
  instance.exists;
27462
27526
  instance.setDefaultNamespace;
27463
27527
  instance.hasLoadedNamespace;
@@ -27770,73 +27834,83 @@ var common = {
27770
27834
  caption: "Caption",
27771
27835
  create: "Create",
27772
27836
  embed: "Embed",
27773
- "save-changes": "Save changes",
27774
27837
  unlink: "Unlink",
27775
- "video-url": "Video URL:"
27838
+ videoUrl: "Video URL:",
27839
+ browse: "Browse"
27776
27840
  };
27777
27841
  var attachments = {
27778
- "actions-blocked": "You are not permitted to update or delete attachments",
27842
+ actionsBlocked: "You are not permitted to update or delete attachments",
27779
27843
  add: "Add Attachment",
27780
- "delete-confirmation": "Are you sure you want to remove {{entity}}?",
27781
- "delete-title": "Remove Attachment?",
27844
+ deleteConfirmation: "Are you sure you want to remove {{entity}}?",
27845
+ deleteTitle: "Remove Attachment?",
27782
27846
  maxNumberOfFiles: "You can only attach {{entity}} files",
27783
- "name-empty": "Filename cannot be empty",
27784
- "one-attachment-allowed": "Only one attachment is allowed"
27847
+ nameEmpty: "Filename cannot be empty",
27848
+ oneAttachmentAllowed: "Only one attachment is allowed"
27785
27849
  };
27786
27850
  var error$1 = {
27787
- "invalid-url": "Please enter a valid URL",
27788
- "cannot-add-files": "Cannot add files",
27789
- "on-before-file-added-return": "Cannot add the file because onBeforeFileAdded returned false."
27851
+ invalidUrl: "Please enter a valid URL",
27852
+ cannotAddFiles: "Cannot add files",
27853
+ onBeforeFileAddedReturn: "Cannot add the file because onBeforeFileAdded returned false.",
27854
+ fileIsTooLarge: "File size is too large. Max size is {{maxFileSize}}.",
27855
+ imageSizeIsShouldBeLess: "Image size should be less than {{limit}} MB"
27790
27856
  };
27791
27857
  var menu = {
27792
27858
  attachments: "Attachments",
27793
- "block-quote": "Block quote",
27859
+ blockQuote: "Block quote",
27794
27860
  bold: "Bold",
27795
- "bulleted-list": "Bulleted list",
27861
+ bulletedList: "Bulleted list",
27796
27862
  code: "Code",
27797
- "code-block": "Code block",
27798
- "embed-video": "Embed video",
27863
+ codeBlock: "Code block",
27799
27864
  emoji: "Emoji",
27800
- "font-size": "Font size",
27865
+ fontSize: "Font size",
27801
27866
  highlight: "Highlight",
27802
- "image-upload": "Image upload",
27867
+ imageUpload: "Image upload",
27803
27868
  italic: "Italic",
27804
27869
  link: "Link",
27805
27870
  mention: "Mention",
27806
- "ordered-list": "Ordered list",
27871
+ orderedList: "Ordered list",
27807
27872
  redo: "Redo",
27808
27873
  strike: "Strike",
27809
27874
  table: "Table",
27810
27875
  underline: "Underline",
27811
27876
  undo: "Undo",
27812
- "dynamic-variables": "Dynamic variables",
27813
- "video-embed": "Video embed",
27814
- "video-upload": "Video upload"
27877
+ dynamicVariables: "Dynamic variables",
27878
+ videoEmbed: "Video embed",
27879
+ videoUpload: "Video upload",
27880
+ alignLeft: "Align left",
27881
+ alignCenter: "Align center",
27882
+ alignRight: "Align right",
27883
+ "delete": "Delete"
27815
27884
  };
27816
27885
  var placeholders = {
27817
- "caption-input": "Enter a caption",
27818
27886
  columns: "Enter columns",
27819
- "link-input": "Paste or type a link...",
27820
- "paste-link": "Paste the link here...",
27887
+ linkInput: "Paste or type a link...",
27888
+ pasteLink: "Paste the link here...",
27821
27889
  rows: "Enter rows",
27822
- "search-unsplash": "Search Unsplash",
27823
- url: "Paste URL"
27890
+ searchUnsplash: "Search Unsplash",
27891
+ url: "Paste URL",
27892
+ writeSomething: "Write something …"
27824
27893
  };
27825
27894
  var table = {
27826
27895
  "delete": "Delete table",
27827
- "delete-column": "Delete column",
27828
- "delete-row": "Delete row",
27829
- "insert-column": "Insert column",
27830
- "insert-row": "Insert row",
27831
- "merge-split": "Merge/Split cell",
27832
- "toggle-header-column": "Toggle header column",
27833
- "toggle-header-row": "Toggle header row"
27896
+ deleteColumn: "Delete column",
27897
+ deleteRow: "Delete row",
27898
+ insertColumn: "Insert column",
27899
+ insertRow: "Insert row",
27900
+ mergeSplit: "Merge/Split cell",
27901
+ toggleHeaderColumn: "Toggle header column",
27902
+ toggleHeaderRow: "Toggle header row"
27834
27903
  };
27835
27904
  var unsplash = {
27836
- "error-message": "Something went wrong! Please try again later.",
27837
- "no-results": "No results",
27905
+ errorMessage: "Something went wrong! Please try again later.",
27906
+ noResults: "No results",
27838
27907
  end: "End of results"
27839
27908
  };
27909
+ var localUploader = {
27910
+ dropFilesHere: "Drop your file(s) here or Browse.",
27911
+ maxFileSize: "Max. File Size: {{entity}}",
27912
+ completed: "Completed"
27913
+ };
27840
27914
  var en = {
27841
27915
  common: common,
27842
27916
  attachments: attachments,
@@ -27845,11 +27919,7 @@ var en = {
27845
27919
  placeholders: placeholders,
27846
27920
  table: table,
27847
27921
  unsplash: unsplash,
27848
- "local-uploader": {
27849
- "drop-files-here": "Drop your file(s) here or Browse.",
27850
- "max-file-size": "Max. File Size: {{entity}}",
27851
- completed: "Completed"
27852
- }
27922
+ localUploader: localUploader
27853
27923
  };
27854
27924
 
27855
27925
  function cov_2jx0j78mzx() {
@@ -40107,7 +40177,7 @@ var MEDIA_UPLOAD_OPTIONS = (cov_jbpzhr9v8().s[7]++, [{
40107
40177
 
40108
40178
  function cov_13smb7q6gj() {
40109
40179
  var path = "/home/runner/work/neeto-editor/neeto-editor/src/components/Editor/MediaUploader/utils.js";
40110
- var hash = "0b4182b12432e2caf100033bbb8ade8e524b459d";
40180
+ var hash = "fd56564e5fafa0d0a378338fde19971a48136c8d";
40111
40181
  var global = new Function("return this")();
40112
40182
  var gcv = "__coverage__";
40113
40183
  var coverageData = {
@@ -40115,91 +40185,91 @@ function cov_13smb7q6gj() {
40115
40185
  statementMap: {
40116
40186
  "0": {
40117
40187
  start: {
40118
- line: 3,
40188
+ line: 4,
40119
40189
  column: 33
40120
40190
  },
40121
40191
  end: {
40122
- line: 12,
40192
+ line: 13,
40123
40193
  column: 1
40124
40194
  }
40125
40195
  },
40126
40196
  "1": {
40127
40197
  start: {
40128
- line: 4,
40198
+ line: 5,
40129
40199
  column: 16
40130
40200
  },
40131
40201
  end: {
40132
- line: 4,
40202
+ line: 5,
40133
40203
  column: 39
40134
40204
  }
40135
40205
  },
40136
40206
  "2": {
40137
40207
  start: {
40138
- line: 5,
40208
+ line: 6,
40139
40209
  column: 10
40140
40210
  },
40141
40211
  end: {
40142
- line: 5,
40212
+ line: 6,
40143
40213
  column: 11
40144
40214
  }
40145
40215
  },
40146
40216
  "3": {
40147
40217
  start: {
40148
- line: 6,
40218
+ line: 7,
40149
40219
  column: 2
40150
40220
  },
40151
40221
  end: {
40152
- line: 9,
40222
+ line: 10,
40153
40223
  column: 3
40154
40224
  }
40155
40225
  },
40156
40226
  "4": {
40157
40227
  start: {
40158
- line: 7,
40228
+ line: 8,
40159
40229
  column: 4
40160
40230
  },
40161
40231
  end: {
40162
- line: 7,
40232
+ line: 8,
40163
40233
  column: 17
40164
40234
  }
40165
40235
  },
40166
40236
  "5": {
40167
40237
  start: {
40168
- line: 8,
40238
+ line: 9,
40169
40239
  column: 4
40170
40240
  },
40171
40241
  end: {
40172
- line: 8,
40242
+ line: 9,
40173
40243
  column: 8
40174
40244
  }
40175
40245
  },
40176
40246
  "6": {
40177
40247
  start: {
40178
- line: 11,
40248
+ line: 12,
40179
40249
  column: 2
40180
40250
  },
40181
40251
  end: {
40182
- line: 11,
40252
+ line: 12,
40183
40253
  column: 42
40184
40254
  }
40185
40255
  },
40186
40256
  "7": {
40187
40257
  start: {
40188
- line: 14,
40258
+ line: 15,
40189
40259
  column: 33
40190
40260
  },
40191
40261
  end: {
40192
- line: 34,
40262
+ line: 35,
40193
40263
  column: 1
40194
40264
  }
40195
40265
  },
40196
40266
  "8": {
40197
40267
  start: {
40198
- line: 14,
40268
+ line: 15,
40199
40269
  column: 39
40200
40270
  },
40201
40271
  end: {
40202
- line: 34,
40272
+ line: 35,
40203
40273
  column: 1
40204
40274
  }
40205
40275
  }
@@ -40209,84 +40279,84 @@ function cov_13smb7q6gj() {
40209
40279
  name: "(anonymous_0)",
40210
40280
  decl: {
40211
40281
  start: {
40212
- line: 3,
40282
+ line: 4,
40213
40283
  column: 33
40214
40284
  },
40215
40285
  end: {
40216
- line: 3,
40286
+ line: 4,
40217
40287
  column: 34
40218
40288
  }
40219
40289
  },
40220
40290
  loc: {
40221
40291
  start: {
40222
- line: 3,
40292
+ line: 4,
40223
40293
  column: 41
40224
40294
  },
40225
40295
  end: {
40226
- line: 12,
40296
+ line: 13,
40227
40297
  column: 1
40228
40298
  }
40229
40299
  },
40230
- line: 3
40300
+ line: 4
40231
40301
  },
40232
40302
  "1": {
40233
40303
  name: "(anonymous_1)",
40234
40304
  decl: {
40235
40305
  start: {
40236
- line: 14,
40306
+ line: 15,
40237
40307
  column: 33
40238
40308
  },
40239
40309
  end: {
40240
- line: 14,
40310
+ line: 15,
40241
40311
  column: 34
40242
40312
  }
40243
40313
  },
40244
40314
  loc: {
40245
40315
  start: {
40246
- line: 14,
40316
+ line: 15,
40247
40317
  column: 39
40248
40318
  },
40249
40319
  end: {
40250
- line: 34,
40320
+ line: 35,
40251
40321
  column: 1
40252
40322
  }
40253
40323
  },
40254
- line: 14
40324
+ line: 15
40255
40325
  }
40256
40326
  },
40257
40327
  branchMap: {
40258
40328
  "0": {
40259
40329
  loc: {
40260
40330
  start: {
40261
- line: 6,
40331
+ line: 7,
40262
40332
  column: 9
40263
40333
  },
40264
40334
  end: {
40265
- line: 6,
40335
+ line: 7,
40266
40336
  column: 41
40267
40337
  }
40268
40338
  },
40269
40339
  type: "binary-expr",
40270
40340
  locations: [{
40271
40341
  start: {
40272
- line: 6,
40342
+ line: 7,
40273
40343
  column: 9
40274
40344
  },
40275
40345
  end: {
40276
- line: 6,
40346
+ line: 7,
40277
40347
  column: 21
40278
40348
  }
40279
40349
  }, {
40280
40350
  start: {
40281
- line: 6,
40351
+ line: 7,
40282
40352
  column: 25
40283
40353
  },
40284
40354
  end: {
40285
- line: 6,
40355
+ line: 7,
40286
40356
  column: 41
40287
40357
  }
40288
40358
  }],
40289
- line: 6
40359
+ line: 7
40290
40360
  }
40291
40361
  },
40292
40362
  s: {
@@ -40308,7 +40378,7 @@ function cov_13smb7q6gj() {
40308
40378
  "0": [0, 0]
40309
40379
  },
40310
40380
  _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
40311
- hash: "0b4182b12432e2caf100033bbb8ade8e524b459d"
40381
+ hash: "fd56564e5fafa0d0a378338fde19971a48136c8d"
40312
40382
  };
40313
40383
  var coverage = global[gcv] || (global[gcv] = {});
40314
40384
  if (!coverage[path] || coverage[path].hash !== hash) {
@@ -40346,18 +40416,18 @@ var buildImageOptions = function buildImageOptions() {
40346
40416
  return [{
40347
40417
  Icon: LeftAlign,
40348
40418
  alignPos: "left",
40349
- optionName: "Align left"
40419
+ optionName: t$7("menu.alignLeft")
40350
40420
  }, {
40351
40421
  Icon: CenterAlign,
40352
40422
  alignPos: "center",
40353
- optionName: "Align Center"
40423
+ optionName: t$7("menu.alignCenter")
40354
40424
  }, {
40355
40425
  Icon: RightAlign,
40356
40426
  alignPos: "right",
40357
- optionName: "Align right"
40427
+ optionName: t$7("menu.alignRight")
40358
40428
  }, {
40359
40429
  Icon: Delete,
40360
- optionName: "Delete"
40430
+ optionName: t$7("menu.delete")
40361
40431
  }];
40362
40432
  };
40363
40433
 
@@ -49566,7 +49636,7 @@ var ActiveStorageUpload = /*#__PURE__*/function (_BasePlugin) {
49566
49636
 
49567
49637
  function cov_r3t02fgv5() {
49568
49638
  var path = "/home/runner/work/neeto-editor/neeto-editor/src/hooks/useUppyUploader.js";
49569
- var hash = "4f95a7616bd62fa080a1a4217b68686ee980e032";
49639
+ var hash = "185c06efbf6be23fe7bd5f2deafc8630f3746c3e";
49570
49640
  var global = new Function("return this")();
49571
49641
  var gcv = "__coverage__";
49572
49642
  var coverageData = {
@@ -49574,171 +49644,181 @@ function cov_r3t02fgv5() {
49574
49644
  statementMap: {
49575
49645
  "0": {
49576
49646
  start: {
49577
- line: 12,
49647
+ line: 13,
49578
49648
  column: 24
49579
49649
  },
49580
49650
  end: {
49581
- line: 53,
49651
+ line: 55,
49582
49652
  column: 1
49583
49653
  }
49584
49654
  },
49585
49655
  "1": {
49586
49656
  start: {
49587
- line: 13,
49657
+ line: 14,
49588
49658
  column: 40
49589
49659
  },
49590
49660
  end: {
49591
- line: 13,
49661
+ line: 14,
49592
49662
  column: 55
49593
49663
  }
49594
49664
  },
49595
49665
  "2": {
49596
49666
  start: {
49597
49667
  line: 15,
49598
- column: 28
49668
+ column: 16
49599
49669
  },
49600
49670
  end: {
49601
- line: 29,
49602
- column: 3
49671
+ line: 15,
49672
+ column: 32
49603
49673
  }
49604
49674
  },
49605
49675
  "3": {
49606
49676
  start: {
49607
- line: 16,
49677
+ line: 17,
49608
49678
  column: 28
49609
49679
  },
49610
49680
  end: {
49611
- line: 16,
49612
- column: 51
49681
+ line: 31,
49682
+ column: 3
49613
49683
  }
49614
49684
  },
49615
49685
  "4": {
49616
49686
  start: {
49617
49687
  line: 18,
49688
+ column: 28
49689
+ },
49690
+ end: {
49691
+ line: 18,
49692
+ column: 51
49693
+ }
49694
+ },
49695
+ "5": {
49696
+ start: {
49697
+ line: 20,
49618
49698
  column: 4
49619
49699
  },
49620
49700
  end: {
49621
- line: 26,
49701
+ line: 28,
49622
49702
  column: 5
49623
49703
  }
49624
49704
  },
49625
- "5": {
49705
+ "6": {
49626
49706
  start: {
49627
- line: 19,
49707
+ line: 21,
49628
49708
  column: 6
49629
49709
  },
49630
49710
  end: {
49631
- line: 23,
49711
+ line: 25,
49632
49712
  column: 8
49633
49713
  }
49634
49714
  },
49635
- "6": {
49715
+ "7": {
49636
49716
  start: {
49637
- line: 25,
49717
+ line: 27,
49638
49718
  column: 6
49639
49719
  },
49640
49720
  end: {
49641
- line: 25,
49721
+ line: 27,
49642
49722
  column: 19
49643
49723
  }
49644
49724
  },
49645
- "7": {
49725
+ "8": {
49646
49726
  start: {
49647
- line: 28,
49727
+ line: 30,
49648
49728
  column: 4
49649
49729
  },
49650
49730
  end: {
49651
- line: 28,
49731
+ line: 30,
49652
49732
  column: 16
49653
49733
  }
49654
49734
  },
49655
- "8": {
49735
+ "9": {
49656
49736
  start: {
49657
- line: 31,
49737
+ line: 33,
49658
49738
  column: 15
49659
49739
  },
49660
49740
  end: {
49661
- line: 50,
49741
+ line: 52,
49662
49742
  column: 3
49663
49743
  }
49664
49744
  },
49665
- "9": {
49745
+ "10": {
49666
49746
  start: {
49667
- line: 32,
49747
+ line: 34,
49668
49748
  column: 4
49669
49749
  },
49670
49750
  end: {
49671
- line: 49,
49751
+ line: 51,
49672
49752
  column: 8
49673
49753
  }
49674
49754
  },
49675
- "10": {
49755
+ "11": {
49676
49756
  start: {
49677
- line: 40,
49757
+ line: 42,
49678
49758
  column: 26
49679
49759
  },
49680
49760
  end: {
49681
- line: 40,
49761
+ line: 42,
49682
49762
  column: 46
49683
49763
  }
49684
49764
  },
49685
- "11": {
49765
+ "12": {
49686
49766
  start: {
49687
- line: 42,
49767
+ line: 44,
49688
49768
  column: 24
49689
49769
  },
49690
49770
  end: {
49691
- line: 42,
49771
+ line: 44,
49692
49772
  column: 58
49693
49773
  }
49694
49774
  },
49695
- "12": {
49775
+ "13": {
49696
49776
  start: {
49697
- line: 43,
49777
+ line: 45,
49698
49778
  column: 8
49699
49779
  },
49700
49780
  end: {
49701
- line: 43,
49781
+ line: 45,
49702
49782
  column: 29
49703
49783
  }
49704
49784
  },
49705
- "13": {
49785
+ "14": {
49706
49786
  start: {
49707
- line: 45,
49787
+ line: 47,
49708
49788
  column: 30
49709
49789
  },
49710
49790
  end: {
49711
- line: 45,
49791
+ line: 47,
49712
49792
  column: 51
49713
49793
  }
49714
49794
  },
49715
- "14": {
49795
+ "15": {
49716
49796
  start: {
49717
- line: 47,
49797
+ line: 49,
49718
49798
  column: 8
49719
49799
  },
49720
49800
  end: {
49721
- line: 47,
49801
+ line: 49,
49722
49802
  column: 21
49723
49803
  }
49724
49804
  },
49725
- "15": {
49805
+ "16": {
49726
49806
  start: {
49727
- line: 48,
49807
+ line: 50,
49728
49808
  column: 8
49729
49809
  },
49730
49810
  end: {
49731
- line: 48,
49811
+ line: 50,
49732
49812
  column: 30
49733
49813
  }
49734
49814
  },
49735
- "16": {
49815
+ "17": {
49736
49816
  start: {
49737
- line: 52,
49817
+ line: 54,
49738
49818
  column: 2
49739
49819
  },
49740
49820
  end: {
49741
- line: 52,
49821
+ line: 54,
49742
49822
  column: 31
49743
49823
  }
49744
49824
  }
@@ -49748,215 +49828,215 @@ function cov_r3t02fgv5() {
49748
49828
  name: "(anonymous_0)",
49749
49829
  decl: {
49750
49830
  start: {
49751
- line: 12,
49831
+ line: 13,
49752
49832
  column: 24
49753
49833
  },
49754
49834
  end: {
49755
- line: 12,
49835
+ line: 13,
49756
49836
  column: 25
49757
49837
  }
49758
49838
  },
49759
49839
  loc: {
49760
49840
  start: {
49761
- line: 12,
49841
+ line: 13,
49762
49842
  column: 72
49763
49843
  },
49764
49844
  end: {
49765
- line: 53,
49845
+ line: 55,
49766
49846
  column: 1
49767
49847
  }
49768
49848
  },
49769
- line: 12
49849
+ line: 13
49770
49850
  },
49771
49851
  "1": {
49772
49852
  name: "(anonymous_1)",
49773
49853
  decl: {
49774
49854
  start: {
49775
- line: 15,
49855
+ line: 17,
49776
49856
  column: 28
49777
49857
  },
49778
49858
  end: {
49779
- line: 15,
49859
+ line: 17,
49780
49860
  column: 29
49781
49861
  }
49782
49862
  },
49783
49863
  loc: {
49784
49864
  start: {
49785
- line: 15,
49865
+ line: 17,
49786
49866
  column: 36
49787
49867
  },
49788
49868
  end: {
49789
- line: 29,
49869
+ line: 31,
49790
49870
  column: 3
49791
49871
  }
49792
49872
  },
49793
- line: 15
49873
+ line: 17
49794
49874
  },
49795
49875
  "2": {
49796
49876
  name: "(anonymous_2)",
49797
49877
  decl: {
49798
49878
  start: {
49799
- line: 31,
49879
+ line: 33,
49800
49880
  column: 23
49801
49881
  },
49802
49882
  end: {
49803
- line: 31,
49883
+ line: 33,
49804
49884
  column: 24
49805
49885
  }
49806
49886
  },
49807
49887
  loc: {
49808
49888
  start: {
49809
- line: 32,
49889
+ line: 34,
49810
49890
  column: 4
49811
49891
  },
49812
49892
  end: {
49813
- line: 49,
49893
+ line: 51,
49814
49894
  column: 8
49815
49895
  }
49816
49896
  },
49817
- line: 32
49897
+ line: 34
49818
49898
  },
49819
49899
  "3": {
49820
49900
  name: "(anonymous_3)",
49821
49901
  decl: {
49822
49902
  start: {
49823
- line: 40,
49903
+ line: 42,
49824
49904
  column: 20
49825
49905
  },
49826
49906
  end: {
49827
- line: 40,
49907
+ line: 42,
49828
49908
  column: 21
49829
49909
  }
49830
49910
  },
49831
49911
  loc: {
49832
49912
  start: {
49833
- line: 40,
49913
+ line: 42,
49834
49914
  column: 26
49835
49915
  },
49836
49916
  end: {
49837
- line: 40,
49917
+ line: 42,
49838
49918
  column: 46
49839
49919
  }
49840
49920
  },
49841
- line: 40
49921
+ line: 42
49842
49922
  },
49843
49923
  "4": {
49844
49924
  name: "(anonymous_4)",
49845
49925
  decl: {
49846
49926
  start: {
49847
- line: 41,
49927
+ line: 43,
49848
49928
  column: 28
49849
49929
  },
49850
49930
  end: {
49851
- line: 41,
49931
+ line: 43,
49852
49932
  column: 29
49853
49933
  }
49854
49934
  },
49855
49935
  loc: {
49856
49936
  start: {
49857
- line: 41,
49937
+ line: 43,
49858
49938
  column: 40
49859
49939
  },
49860
49940
  end: {
49861
- line: 44,
49941
+ line: 46,
49862
49942
  column: 7
49863
49943
  }
49864
49944
  },
49865
- line: 41
49945
+ line: 43
49866
49946
  },
49867
49947
  "5": {
49868
49948
  name: "(anonymous_5)",
49869
49949
  decl: {
49870
49950
  start: {
49871
- line: 45,
49951
+ line: 47,
49872
49952
  column: 24
49873
49953
  },
49874
49954
  end: {
49875
- line: 45,
49955
+ line: 47,
49876
49956
  column: 25
49877
49957
  }
49878
49958
  },
49879
49959
  loc: {
49880
49960
  start: {
49881
- line: 45,
49961
+ line: 47,
49882
49962
  column: 30
49883
49963
  },
49884
49964
  end: {
49885
- line: 45,
49965
+ line: 47,
49886
49966
  column: 51
49887
49967
  }
49888
49968
  },
49889
- line: 45
49969
+ line: 47
49890
49970
  },
49891
49971
  "6": {
49892
49972
  name: "(anonymous_6)",
49893
49973
  decl: {
49894
49974
  start: {
49895
- line: 46,
49975
+ line: 48,
49896
49976
  column: 22
49897
49977
  },
49898
49978
  end: {
49899
- line: 46,
49979
+ line: 48,
49900
49980
  column: 23
49901
49981
  }
49902
49982
  },
49903
49983
  loc: {
49904
49984
  start: {
49905
- line: 46,
49985
+ line: 48,
49906
49986
  column: 28
49907
49987
  },
49908
49988
  end: {
49909
- line: 49,
49989
+ line: 51,
49910
49990
  column: 7
49911
49991
  }
49912
49992
  },
49913
- line: 46
49993
+ line: 48
49914
49994
  }
49915
49995
  },
49916
49996
  branchMap: {
49917
49997
  "0": {
49918
49998
  loc: {
49919
49999
  start: {
49920
- line: 12,
50000
+ line: 13,
49921
50001
  column: 49
49922
50002
  },
49923
50003
  end: {
49924
- line: 12,
50004
+ line: 13,
49925
50005
  column: 65
49926
50006
  }
49927
50007
  },
49928
50008
  type: "default-arg",
49929
50009
  locations: [{
49930
50010
  start: {
49931
- line: 12,
50011
+ line: 13,
49932
50012
  column: 61
49933
50013
  },
49934
50014
  end: {
49935
- line: 12,
50015
+ line: 13,
49936
50016
  column: 65
49937
50017
  }
49938
50018
  }],
49939
- line: 12
50019
+ line: 13
49940
50020
  },
49941
50021
  "1": {
49942
50022
  loc: {
49943
50023
  start: {
49944
- line: 18,
50024
+ line: 20,
49945
50025
  column: 4
49946
50026
  },
49947
50027
  end: {
49948
- line: 26,
50028
+ line: 28,
49949
50029
  column: 5
49950
50030
  }
49951
50031
  },
49952
50032
  type: "if",
49953
50033
  locations: [{
49954
50034
  start: {
49955
- line: 18,
50035
+ line: 20,
49956
50036
  column: 4
49957
50037
  },
49958
50038
  end: {
49959
- line: 26,
50039
+ line: 28,
49960
50040
  column: 5
49961
50041
  }
49962
50042
  }, {
@@ -49969,40 +50049,40 @@ function cov_r3t02fgv5() {
49969
50049
  column: undefined
49970
50050
  }
49971
50051
  }],
49972
- line: 18
50052
+ line: 20
49973
50053
  },
49974
50054
  "2": {
49975
50055
  loc: {
49976
50056
  start: {
49977
- line: 42,
50057
+ line: 44,
49978
50058
  column: 24
49979
50059
  },
49980
50060
  end: {
49981
- line: 42,
50061
+ line: 44,
49982
50062
  column: 58
49983
50063
  }
49984
50064
  },
49985
50065
  type: "binary-expr",
49986
50066
  locations: [{
49987
50067
  start: {
49988
- line: 42,
50068
+ line: 44,
49989
50069
  column: 24
49990
50070
  },
49991
50071
  end: {
49992
- line: 42,
50072
+ line: 44,
49993
50073
  column: 42
49994
50074
  }
49995
50075
  }, {
49996
50076
  start: {
49997
- line: 42,
50077
+ line: 44,
49998
50078
  column: 46
49999
50079
  },
50000
50080
  end: {
50001
- line: 42,
50081
+ line: 44,
50002
50082
  column: 58
50003
50083
  }
50004
50084
  }],
50005
- line: 42
50085
+ line: 44
50006
50086
  }
50007
50087
  },
50008
50088
  s: {
@@ -50022,7 +50102,8 @@ function cov_r3t02fgv5() {
50022
50102
  "13": 0,
50023
50103
  "14": 0,
50024
50104
  "15": 0,
50025
- "16": 0
50105
+ "16": 0,
50106
+ "17": 0
50026
50107
  },
50027
50108
  f: {
50028
50109
  "0": 0,
@@ -50039,7 +50120,7 @@ function cov_r3t02fgv5() {
50039
50120
  "2": [0, 0]
50040
50121
  },
50041
50122
  _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
50042
- hash: "4f95a7616bd62fa080a1a4217b68686ee980e032"
50123
+ hash: "185c06efbf6be23fe7bd5f2deafc8630f3746c3e"
50043
50124
  };
50044
50125
  var coverage = global[gcv] || (global[gcv] = {});
50045
50126
  if (!coverage[path] || coverage[path].hash !== hash) {
@@ -50068,54 +50149,58 @@ var useUppyUploader = function useUppyUploader(_ref) {
50068
50149
  _ref3 = _slicedToArray(_ref2, 2),
50069
50150
  isUploading = _ref3[0],
50070
50151
  setIsUploading = _ref3[1];
50071
- cov_r3t02fgv5().s[2]++;
50152
+ var _ref4 = (cov_r3t02fgv5().s[2]++, useTranslation()),
50153
+ t = _ref4.t;
50154
+ cov_r3t02fgv5().s[3]++;
50072
50155
  var onBeforeFileAdded = function onBeforeFileAdded(file) {
50073
50156
  cov_r3t02fgv5().f[1]++;
50074
- var _ref4 = (cov_r3t02fgv5().s[3]++, uppyConfig.restrictions),
50075
- maxFileSize = _ref4.maxFileSize;
50076
- cov_r3t02fgv5().s[4]++;
50157
+ var _ref5 = (cov_r3t02fgv5().s[4]++, uppyConfig.restrictions),
50158
+ maxFileSize = _ref5.maxFileSize;
50159
+ cov_r3t02fgv5().s[5]++;
50077
50160
  if (file.size > maxFileSize) {
50078
50161
  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
50162
  cov_r3t02fgv5().s[6]++;
50163
+ Toastr.error(t("error.fileIsTooLarge", {
50164
+ maxFileSize: convertToFileSize(uppyConfig.restrictions.maxFileSize)
50165
+ }));
50166
+ cov_r3t02fgv5().s[7]++;
50082
50167
  return false;
50083
50168
  } else {
50084
50169
  cov_r3t02fgv5().b[1][1]++;
50085
50170
  }
50086
- cov_r3t02fgv5().s[7]++;
50171
+ cov_r3t02fgv5().s[8]++;
50087
50172
  return true;
50088
50173
  };
50089
- var uppy = (cov_r3t02fgv5().s[8]++, useUppy(function () {
50174
+ var uppy = (cov_r3t02fgv5().s[9]++, useUppy(function () {
50090
50175
  cov_r3t02fgv5().f[2]++;
50091
- cov_r3t02fgv5().s[9]++;
50176
+ cov_r3t02fgv5().s[10]++;
50092
50177
  return new Uppy(_objectSpread$e(_objectSpread$e({}, uppyConfig), {}, {
50093
50178
  onBeforeFileAdded: onBeforeFileAdded
50094
50179
  })).use(ActiveStorageUpload, _objectSpread$e({
50095
50180
  directUploadUrl: endpoint
50096
50181
  }, UPPY_UPLOAD_CONFIG)).on("upload", function () {
50097
50182
  cov_r3t02fgv5().f[3]++;
50098
- cov_r3t02fgv5().s[10]++;
50183
+ cov_r3t02fgv5().s[11]++;
50099
50184
  return setIsUploading(true);
50100
50185
  }).on("upload-success", function (_, res) {
50101
50186
  var _res$data;
50102
50187
  cov_r3t02fgv5().f[4]++;
50103
- var blobUrl = (cov_r3t02fgv5().s[11]++, (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));
50104
- cov_r3t02fgv5().s[12]++;
50188
+ 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));
50189
+ cov_r3t02fgv5().s[13]++;
50105
50190
  onSuccess === null || onSuccess === void 0 ? void 0 : onSuccess(blobUrl);
50106
50191
  }).on("cancel-all", function () {
50107
50192
  cov_r3t02fgv5().f[5]++;
50108
- cov_r3t02fgv5().s[13]++;
50193
+ cov_r3t02fgv5().s[14]++;
50109
50194
  return setIsUploading(false);
50110
50195
  }).on("complete", function () {
50111
50196
  cov_r3t02fgv5().f[6]++;
50112
- cov_r3t02fgv5().s[14]++;
50113
- uppy.reset();
50114
50197
  cov_r3t02fgv5().s[15]++;
50198
+ uppy.reset();
50199
+ cov_r3t02fgv5().s[16]++;
50115
50200
  setIsUploading(false);
50116
50201
  });
50117
50202
  }));
50118
- cov_r3t02fgv5().s[16]++;
50203
+ cov_r3t02fgv5().s[17]++;
50119
50204
  return {
50120
50205
  uppy: uppy,
50121
50206
  isUploading: isUploading
@@ -51152,7 +51237,7 @@ var File$1 = function File(_ref) {
51152
51237
 
51153
51238
  function cov_13lrfxjoky() {
51154
51239
  var path = "/home/runner/work/neeto-editor/neeto-editor/src/components/Attachments/Attachment.jsx";
51155
- var hash = "28fc7fcc9907671228534070426bdf6055066d95";
51240
+ var hash = "03b8271a8dad7dbf6b4b14dcdc0a6cc589398ccf";
51156
51241
  var global = new Function("return this")();
51157
51242
  var gcv = "__coverage__";
51158
51243
  var coverageData = {
@@ -52222,7 +52307,7 @@ function cov_13lrfxjoky() {
52222
52307
  },
52223
52308
  end: {
52224
52309
  line: 121,
52225
- column: 78
52310
+ column: 77
52226
52311
  }
52227
52312
  },
52228
52313
  type: "cond-expr",
@@ -52233,16 +52318,16 @@ function cov_13lrfxjoky() {
52233
52318
  },
52234
52319
  end: {
52235
52320
  line: 121,
52236
- column: 73
52321
+ column: 72
52237
52322
  }
52238
52323
  }, {
52239
52324
  start: {
52240
52325
  line: 121,
52241
- column: 76
52326
+ column: 75
52242
52327
  },
52243
52328
  end: {
52244
52329
  line: 121,
52245
- column: 78
52330
+ column: 77
52246
52331
  }
52247
52332
  }],
52248
52333
  line: 121
@@ -52326,7 +52411,7 @@ function cov_13lrfxjoky() {
52326
52411
  "7": [0, 0]
52327
52412
  },
52328
52413
  _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
52329
- hash: "28fc7fcc9907671228534070426bdf6055066d95"
52414
+ hash: "03b8271a8dad7dbf6b4b14dcdc0a6cc589398ccf"
52330
52415
  };
52331
52416
  var coverage = global[gcv] || (global[gcv] = {});
52332
52417
  if (!coverage[path] || coverage[path].hash !== hash) {
@@ -52537,7 +52622,7 @@ var Attachment = function Attachment(_ref2) {
52537
52622
  }, /*#__PURE__*/React__default.createElement(Input, {
52538
52623
  autoFocus: true,
52539
52624
  "data-cy": "neeto-editor-attachment-rename-input",
52540
- error: isEmpty$1(newFilename) ? (cov_13lrfxjoky().b[7][0]++, t("attachments.name-empty")) : (cov_13lrfxjoky().b[7][1]++, ""),
52625
+ error: isEmpty$1(newFilename) ? (cov_13lrfxjoky().b[7][0]++, t("attachments.nameEmpty")) : (cov_13lrfxjoky().b[7][1]++, ""),
52541
52626
  size: "small",
52542
52627
  value: newFilename,
52543
52628
  onChange: function onChange(e) {
@@ -52571,7 +52656,7 @@ var Attachment = function Attachment(_ref2) {
52571
52656
  }, /*#__PURE__*/React__default.createElement(Typography, {
52572
52657
  style: "body2"
52573
52658
  }, attachment.filename)), /*#__PURE__*/React__default.createElement(Tooltip, {
52574
- content: t("attachments.actions-blocked"),
52659
+ content: t("attachments.actionsBlocked"),
52575
52660
  disabled: !disabled,
52576
52661
  position: "top"
52577
52662
  }, /*#__PURE__*/React__default.createElement("span", null, /*#__PURE__*/React__default.createElement(Dropdown$1, {
@@ -52600,10 +52685,10 @@ var Attachment = function Attachment(_ref2) {
52600
52685
  })))))))), /*#__PURE__*/React__default.createElement(Alert, {
52601
52686
  isOpen: isDeleteAlertOpen,
52602
52687
  isSubmitting: isDeleting,
52603
- message: t("attachments.delete-confirmation", {
52688
+ message: t("attachments.deleteConfirmation", {
52604
52689
  entity: newFilename
52605
52690
  }),
52606
- title: t("attachments.delete-title"),
52691
+ title: t("attachments.deleteTitle"),
52607
52692
  onClose: function onClose() {
52608
52693
  cov_13lrfxjoky().f[12]++;
52609
52694
  cov_13lrfxjoky().s[49]++;
@@ -53443,7 +53528,7 @@ var handleDrop = function handleDrop(_ref4) {
53443
53528
 
53444
53529
  function cov_zjfqfoy4d() {
53445
53530
  var path = "/home/runner/work/neeto-editor/neeto-editor/src/components/Attachments/index.jsx";
53446
- var hash = "f82d3549f2e6d4b31bc674b20740d530bcd44a6d";
53531
+ var hash = "78a21063bcf8d8b43320fd72bdb310716e8a9c05";
53447
53532
  var global = new Function("return this")();
53448
53533
  var gcv = "__coverage__";
53449
53534
  var coverageData = {
@@ -53566,7 +53651,7 @@ function cov_zjfqfoy4d() {
53566
53651
  },
53567
53652
  end: {
53568
53653
  line: 57,
53569
- column: 52
53654
+ column: 50
53570
53655
  }
53571
53656
  },
53572
53657
  "12": {
@@ -54056,7 +54141,7 @@ function cov_zjfqfoy4d() {
54056
54141
  },
54057
54142
  end: {
54058
54143
  line: 192,
54059
- column: 70
54144
+ column: 68
54060
54145
  }
54061
54146
  }
54062
54147
  },
@@ -55240,7 +55325,7 @@ function cov_zjfqfoy4d() {
55240
55325
  "19": [0, 0]
55241
55326
  },
55242
55327
  _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
55243
- hash: "f82d3549f2e6d4b31bc674b20740d530bcd44a6d"
55328
+ hash: "78a21063bcf8d8b43320fd72bdb310716e8a9c05"
55244
55329
  };
55245
55330
  var coverage = global[gcv] || (global[gcv] = {});
55246
55331
  if (!coverage[path] || coverage[path].hash !== hash) {
@@ -55312,10 +55397,10 @@ var Attachments = function Attachments(_ref, ref) {
55312
55397
  });
55313
55398
  } catch (error) {
55314
55399
  cov_zjfqfoy4d().s[10]++;
55315
- if (error.message !== t("error.on-before-file-added-return")) {
55400
+ if (error.message !== t("error.onBeforeFileAddedReturn")) {
55316
55401
  cov_zjfqfoy4d().b[8][0]++;
55317
55402
  cov_zjfqfoy4d().s[11]++;
55318
- Toastr.error(t("error.cannot-add-files"));
55403
+ Toastr.error(t("error.cannotAddFiles"));
55319
55404
  } else {
55320
55405
  cov_zjfqfoy4d().b[8][1]++;
55321
55406
  }
@@ -55546,7 +55631,7 @@ var Attachments = function Attachments(_ref, ref) {
55546
55631
  cov_zjfqfoy4d().s[59]++;
55547
55632
  event.preventDefault();
55548
55633
  cov_zjfqfoy4d().s[60]++;
55549
- Toastr.warning(t("attachments.one-attachment-allowed"));
55634
+ Toastr.warning(t("attachments.oneAttachmentAllowed"));
55550
55635
  } else {
55551
55636
  cov_zjfqfoy4d().b[18][1]++;
55552
55637
  }
@@ -72022,7 +72107,7 @@ var EmbedOption = function EmbedOption(_ref) {
72022
72107
  }, /*#__PURE__*/React__default.createElement(Input, {
72023
72108
  "data-cy": "neeto-editor-embed-input",
72024
72109
  error: (cov_3ld39egr5().b[4][0]++, error) && (cov_3ld39egr5().b[4][1]++, "Please enter a valid URL"),
72025
- label: t("common.video-url"),
72110
+ label: t("common.videoUrl"),
72026
72111
  ref: inputRef,
72027
72112
  size: "medium",
72028
72113
  type: "text",
@@ -89617,7 +89702,7 @@ var Resizable = /** @class */ (function (_super) {
89617
89702
 
89618
89703
  function cov_15b9syaiuk() {
89619
89704
  var path = "/home/runner/work/neeto-editor/neeto-editor/src/components/Editor/CustomExtensions/Image/Menu.jsx";
89620
- var hash = "6d052f01da98e78ed8aaeebea642cc1b2e02d690";
89705
+ var hash = "3ba46b3dc117ea42db34d1a84f99da5fb0eba973";
89621
89706
  var global = new Function("return this")();
89622
89707
  var gcv = "__coverage__";
89623
89708
  var coverageData = {
@@ -89625,71 +89710,71 @@ function cov_15b9syaiuk() {
89625
89710
  statementMap: {
89626
89711
  "0": {
89627
89712
  start: {
89628
- line: 9,
89713
+ line: 8,
89629
89714
  column: 13
89630
89715
  },
89631
89716
  end: {
89632
- line: 35,
89717
+ line: 34,
89633
89718
  column: 1
89634
89719
  }
89635
89720
  },
89636
89721
  "1": {
89637
89722
  start: {
89638
- line: 10,
89723
+ line: 9,
89639
89724
  column: 22
89640
89725
  },
89641
89726
  end: {
89642
- line: 10,
89727
+ line: 9,
89643
89728
  column: 41
89644
89729
  }
89645
89730
  },
89646
89731
  "2": {
89647
89732
  start: {
89648
- line: 12,
89733
+ line: 11,
89649
89734
  column: 22
89650
89735
  },
89651
89736
  end: {
89652
- line: 13,
89737
+ line: 12,
89653
89738
  column: 54
89654
89739
  }
89655
89740
  },
89656
89741
  "3": {
89657
89742
  start: {
89658
- line: 13,
89743
+ line: 12,
89659
89744
  column: 4
89660
89745
  },
89661
89746
  end: {
89662
- line: 13,
89747
+ line: 12,
89663
89748
  column: 54
89664
89749
  }
89665
89750
  },
89666
89751
  "4": {
89667
89752
  start: {
89668
- line: 15,
89753
+ line: 14,
89669
89754
  column: 2
89670
89755
  },
89671
89756
  end: {
89672
- line: 34,
89757
+ line: 33,
89673
89758
  column: 4
89674
89759
  }
89675
89760
  },
89676
89761
  "5": {
89677
89762
  start: {
89678
- line: 25,
89763
+ line: 24,
89679
89764
  column: 8
89680
89765
  },
89681
89766
  end: {
89682
- line: 31,
89767
+ line: 30,
89683
89768
  column: 10
89684
89769
  }
89685
89770
  },
89686
89771
  "6": {
89687
89772
  start: {
89688
- line: 30,
89773
+ line: 29,
89689
89774
  column: 25
89690
89775
  },
89691
89776
  end: {
89692
- line: 30,
89777
+ line: 29,
89693
89778
  column: 46
89694
89779
  }
89695
89780
  }
@@ -89699,165 +89784,165 @@ function cov_15b9syaiuk() {
89699
89784
  name: "(anonymous_0)",
89700
89785
  decl: {
89701
89786
  start: {
89702
- line: 9,
89787
+ line: 8,
89703
89788
  column: 13
89704
89789
  },
89705
89790
  end: {
89706
- line: 9,
89791
+ line: 8,
89707
89792
  column: 14
89708
89793
  }
89709
89794
  },
89710
89795
  loc: {
89711
89796
  start: {
89712
- line: 9,
89797
+ line: 8,
89713
89798
  column: 58
89714
89799
  },
89715
89800
  end: {
89716
- line: 35,
89801
+ line: 34,
89717
89802
  column: 1
89718
89803
  }
89719
89804
  },
89720
- line: 9
89805
+ line: 8
89721
89806
  },
89722
89807
  "1": {
89723
89808
  name: "(anonymous_1)",
89724
89809
  decl: {
89725
89810
  start: {
89726
- line: 12,
89811
+ line: 11,
89727
89812
  column: 22
89728
89813
  },
89729
89814
  end: {
89730
- line: 12,
89815
+ line: 11,
89731
89816
  column: 23
89732
89817
  }
89733
89818
  },
89734
89819
  loc: {
89735
89820
  start: {
89736
- line: 13,
89821
+ line: 12,
89737
89822
  column: 4
89738
89823
  },
89739
89824
  end: {
89740
- line: 13,
89825
+ line: 12,
89741
89826
  column: 54
89742
89827
  }
89743
89828
  },
89744
- line: 13
89829
+ line: 12
89745
89830
  },
89746
89831
  "2": {
89747
89832
  name: "(anonymous_2)",
89748
89833
  decl: {
89749
89834
  start: {
89750
- line: 24,
89835
+ line: 23,
89751
89836
  column: 23
89752
89837
  },
89753
89838
  end: {
89754
- line: 24,
89839
+ line: 23,
89755
89840
  column: 24
89756
89841
  }
89757
89842
  },
89758
89843
  loc: {
89759
89844
  start: {
89760
- line: 25,
89845
+ line: 24,
89761
89846
  column: 8
89762
89847
  },
89763
89848
  end: {
89764
- line: 31,
89849
+ line: 30,
89765
89850
  column: 10
89766
89851
  }
89767
89852
  },
89768
- line: 25
89853
+ line: 24
89769
89854
  },
89770
89855
  "3": {
89771
89856
  name: "(anonymous_3)",
89772
89857
  decl: {
89773
89858
  start: {
89774
- line: 30,
89859
+ line: 29,
89775
89860
  column: 19
89776
89861
  },
89777
89862
  end: {
89778
- line: 30,
89863
+ line: 29,
89779
89864
  column: 20
89780
89865
  }
89781
89866
  },
89782
89867
  loc: {
89783
89868
  start: {
89784
- line: 30,
89869
+ line: 29,
89785
89870
  column: 25
89786
89871
  },
89787
89872
  end: {
89788
- line: 30,
89873
+ line: 29,
89789
89874
  column: 46
89790
89875
  }
89791
89876
  },
89792
- line: 30
89877
+ line: 29
89793
89878
  }
89794
89879
  },
89795
89880
  branchMap: {
89796
89881
  "0": {
89797
89882
  loc: {
89798
89883
  start: {
89799
- line: 13,
89884
+ line: 12,
89800
89885
  column: 4
89801
89886
  },
89802
89887
  end: {
89803
- line: 13,
89888
+ line: 12,
89804
89889
  column: 54
89805
89890
  }
89806
89891
  },
89807
89892
  type: "cond-expr",
89808
89893
  locations: [{
89809
89894
  start: {
89810
- line: 13,
89895
+ line: 12,
89811
89896
  column: 12
89812
89897
  },
89813
89898
  end: {
89814
- line: 13,
89899
+ line: 12,
89815
89900
  column: 39
89816
89901
  }
89817
89902
  }, {
89818
89903
  start: {
89819
- line: 13,
89904
+ line: 12,
89820
89905
  column: 42
89821
89906
  },
89822
89907
  end: {
89823
- line: 13,
89908
+ line: 12,
89824
89909
  column: 54
89825
89910
  }
89826
89911
  }],
89827
- line: 13
89912
+ line: 12
89828
89913
  },
89829
89914
  "1": {
89830
89915
  loc: {
89831
89916
  start: {
89832
- line: 28,
89917
+ line: 27,
89833
89918
  column: 17
89834
89919
  },
89835
89920
  end: {
89836
- line: 28,
89921
+ line: 27,
89837
89922
  column: 58
89838
89923
  }
89839
89924
  },
89840
89925
  type: "cond-expr",
89841
89926
  locations: [{
89842
89927
  start: {
89843
- line: 28,
89928
+ line: 27,
89844
89929
  column: 38
89845
89930
  },
89846
89931
  end: {
89847
- line: 28,
89932
+ line: 27,
89848
89933
  column: 49
89849
89934
  }
89850
89935
  }, {
89851
89936
  start: {
89852
- line: 28,
89937
+ line: 27,
89853
89938
  column: 52
89854
89939
  },
89855
89940
  end: {
89856
- line: 28,
89941
+ line: 27,
89857
89942
  column: 58
89858
89943
  }
89859
89944
  }],
89860
- line: 28
89945
+ line: 27
89861
89946
  }
89862
89947
  },
89863
89948
  s: {
@@ -89880,7 +89965,7 @@ function cov_15b9syaiuk() {
89880
89965
  "1": [0, 0]
89881
89966
  },
89882
89967
  _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
89883
- hash: "6d052f01da98e78ed8aaeebea642cc1b2e02d690"
89968
+ hash: "3ba46b3dc117ea42db34d1a84f99da5fb0eba973"
89884
89969
  };
89885
89970
  var coverage = global[gcv] || (global[gcv] = {});
89886
89971
  if (!coverage[path] || coverage[path].hash !== hash) {
@@ -89932,7 +90017,7 @@ var Menu$7 = function Menu(_ref) {
89932
90017
  key: optionName,
89933
90018
  style: alignPos === align ? (cov_15b9syaiuk().b[1][0]++, "secondary") : (cov_15b9syaiuk().b[1][1]++, "text"),
89934
90019
  tooltipProps: {
89935
- content: humanize(optionName),
90020
+ content: optionName,
89936
90021
  position: "top"
89937
90022
  },
89938
90023
  onClick: function onClick() {
@@ -90265,7 +90350,7 @@ var ImageComponent = function ImageComponent(_ref) {
90265
90350
  var _excluded$9 = ["caption"];
90266
90351
  function cov_ksv9azglk() {
90267
90352
  var path = "/home/runner/work/neeto-editor/neeto-editor/src/components/Editor/CustomExtensions/Image/ExtensionConfig.js";
90268
- var hash = "ada28f75fde80f292bf6b6aa817d5a1a7b787b55";
90353
+ var hash = "3bebbf402f81491dd9c9f45cd7e242485e38da56";
90269
90354
  var global = new Function("return this")();
90270
90355
  var gcv = "__coverage__";
90271
90356
  var coverageData = {
@@ -90273,411 +90358,411 @@ function cov_ksv9azglk() {
90273
90358
  statementMap: {
90274
90359
  "0": {
90275
90360
  start: {
90276
- line: 13,
90361
+ line: 14,
90277
90362
  column: 23
90278
90363
  },
90279
90364
  end: {
90280
- line: 126,
90365
+ line: 127,
90281
90366
  column: 2
90282
90367
  }
90283
90368
  },
90284
90369
  "1": {
90285
90370
  start: {
90286
- line: 17,
90371
+ line: 18,
90287
90372
  column: 4
90288
90373
  },
90289
90374
  end: {
90290
- line: 19,
90375
+ line: 20,
90291
90376
  column: 6
90292
90377
  }
90293
90378
  },
90294
90379
  "2": {
90295
90380
  start: {
90296
- line: 31,
90381
+ line: 32,
90297
90382
  column: 4
90298
90383
  },
90299
90384
  end: {
90300
- line: 59,
90385
+ line: 60,
90301
90386
  column: 6
90302
90387
  }
90303
90388
  },
90304
90389
  "3": {
90305
90390
  start: {
90306
- line: 34,
90391
+ line: 35,
90307
90392
  column: 30
90308
90393
  },
90309
90394
  end: {
90310
- line: 34,
90395
+ line: 35,
90311
90396
  column: 79
90312
90397
  }
90313
90398
  },
90314
90399
  "4": {
90315
90400
  start: {
90316
- line: 39,
90401
+ line: 40,
90317
90402
  column: 30
90318
90403
  },
90319
90404
  end: {
90320
- line: 39,
90405
+ line: 40,
90321
90406
  column: 79
90322
90407
  }
90323
90408
  },
90324
90409
  "5": {
90325
90410
  start: {
90326
- line: 45,
90411
+ line: 46,
90327
90412
  column: 10
90328
90413
  },
90329
90414
  end: {
90330
- line: 45,
90415
+ line: 46,
90331
90416
  column: 65
90332
90417
  }
90333
90418
  },
90334
90419
  "6": {
90335
90420
  start: {
90336
- line: 51,
90421
+ line: 52,
90337
90422
  column: 10
90338
90423
  },
90339
90424
  end: {
90340
- line: 51,
90425
+ line: 52,
90341
90426
  column: 64
90342
90427
  }
90343
90428
  },
90344
90429
  "7": {
90345
90430
  start: {
90346
- line: 57,
90431
+ line: 58,
90347
90432
  column: 10
90348
90433
  },
90349
90434
  end: {
90350
- line: 57,
90435
+ line: 58,
90351
90436
  column: 61
90352
90437
  }
90353
90438
  },
90354
90439
  "8": {
90355
90440
  start: {
90356
- line: 63,
90441
+ line: 64,
90357
90442
  column: 4
90358
90443
  },
90359
90444
  end: {
90360
- line: 68,
90445
+ line: 69,
90361
90446
  column: 6
90362
90447
  }
90363
90448
  },
90364
90449
  "9": {
90365
90450
  start: {
90366
- line: 72,
90451
+ line: 73,
90367
90452
  column: 48
90368
90453
  },
90369
90454
  end: {
90370
- line: 72,
90455
+ line: 73,
90371
90456
  column: 58
90372
90457
  }
90373
90458
  },
90374
90459
  "10": {
90375
90460
  start: {
90376
- line: 74,
90461
+ line: 75,
90377
90462
  column: 22
90378
90463
  },
90379
90464
  end: {
90380
- line: 79,
90465
+ line: 80,
90381
90466
  column: 5
90382
90467
  }
90383
90468
  },
90384
90469
  "11": {
90385
90470
  start: {
90386
- line: 81,
90471
+ line: 82,
90387
90472
  column: 24
90388
90473
  },
90389
90474
  end: {
90390
- line: 84,
90475
+ line: 85,
90391
90476
  column: 5
90392
90477
  }
90393
90478
  },
90394
90479
  "12": {
90395
90480
  start: {
90396
- line: 86,
90481
+ line: 87,
90397
90482
  column: 4
90398
90483
  },
90399
90484
  end: {
90400
- line: 105,
90485
+ line: 106,
90401
90486
  column: 6
90402
90487
  }
90403
90488
  },
90404
90489
  "13": {
90405
90490
  start: {
90406
- line: 109,
90491
+ line: 110,
90407
90492
  column: 4
90408
90493
  },
90409
90494
  end: {
90410
- line: 109,
90495
+ line: 110,
90411
90496
  column: 49
90412
90497
  }
90413
90498
  },
90414
90499
  "14": {
90415
90500
  start: {
90416
- line: 113,
90501
+ line: 114,
90417
90502
  column: 4
90418
90503
  },
90419
90504
  end: {
90420
- line: 124,
90505
+ line: 125,
90421
90506
  column: 6
90422
90507
  }
90423
90508
  },
90424
90509
  "15": {
90425
90510
  start: {
90426
- line: 116,
90511
+ line: 117,
90427
90512
  column: 8
90428
90513
  },
90429
90514
  end: {
90430
- line: 123,
90515
+ line: 124,
90431
90516
  column: 18
90432
90517
  }
90433
90518
  },
90434
90519
  "16": {
90435
90520
  start: {
90436
- line: 117,
90521
+ line: 118,
90437
90522
  column: 10
90438
90523
  },
90439
90524
  end: {
90440
- line: 123,
90525
+ line: 124,
90441
90526
  column: 18
90442
90527
  }
90443
90528
  },
90444
90529
  "17": {
90445
90530
  start: {
90446
- line: 128,
90531
+ line: 129,
90447
90532
  column: 15
90448
90533
  },
90449
90534
  end: {
90450
- line: 140,
90535
+ line: 141,
90451
90536
  column: 1
90452
90537
  }
90453
90538
  },
90454
90539
  "18": {
90455
90540
  start: {
90456
- line: 129,
90541
+ line: 130,
90457
90542
  column: 2
90458
90543
  },
90459
90544
  end: {
90460
- line: 134,
90545
+ line: 135,
90461
90546
  column: 3
90462
90547
  }
90463
90548
  },
90464
90549
  "19": {
90465
90550
  start: {
90466
- line: 130,
90551
+ line: 131,
90467
90552
  column: 21
90468
90553
  },
90469
90554
  end: {
90470
- line: 130,
90555
+ line: 131,
90471
90556
  column: 52
90472
90557
  }
90473
90558
  },
90474
90559
  "20": {
90475
90560
  start: {
90476
- line: 131,
90561
+ line: 132,
90477
90562
  column: 21
90478
90563
  },
90479
90564
  end: {
90480
- line: 131,
90565
+ line: 132,
90481
90566
  column: 44
90482
90567
  }
90483
90568
  },
90484
90569
  "21": {
90485
90570
  start: {
90486
- line: 133,
90571
+ line: 134,
90487
90572
  column: 4
90488
90573
  },
90489
90574
  end: {
90490
- line: 133,
90575
+ line: 134,
90491
90576
  column: 56
90492
90577
  }
90493
90578
  },
90494
90579
  "22": {
90495
90580
  start: {
90496
- line: 136,
90581
+ line: 137,
90497
90582
  column: 24
90498
90583
  },
90499
90584
  end: {
90500
- line: 136,
90585
+ line: 137,
90501
90586
  column: 54
90502
90587
  }
90503
90588
  },
90504
90589
  "23": {
90505
90590
  start: {
90506
- line: 137,
90591
+ line: 138,
90507
90592
  column: 2
90508
90593
  },
90509
90594
  end: {
90510
- line: 137,
90511
- column: 69
90595
+ line: 138,
90596
+ column: 77
90512
90597
  }
90513
90598
  },
90514
90599
  "24": {
90515
90600
  start: {
90516
- line: 139,
90601
+ line: 140,
90517
90602
  column: 2
90518
90603
  },
90519
90604
  end: {
90520
- line: 139,
90605
+ line: 140,
90521
90606
  column: 12
90522
90607
  }
90523
90608
  },
90524
90609
  "25": {
90525
90610
  start: {
90526
- line: 144,
90611
+ line: 145,
90527
90612
  column: 4
90528
90613
  },
90529
90614
  end: {
90530
- line: 184,
90615
+ line: 185,
90531
90616
  column: 6
90532
90617
  }
90533
90618
  },
90534
90619
  "26": {
90535
90620
  start: {
90536
- line: 146,
90621
+ line: 147,
90537
90622
  column: 8
90538
90623
  },
90539
90624
  end: {
90540
- line: 182,
90625
+ line: 183,
90541
90626
  column: 10
90542
90627
  }
90543
90628
  },
90544
90629
  "27": {
90545
90630
  start: {
90546
- line: 156,
90631
+ line: 157,
90547
90632
  column: 22
90548
90633
  },
90549
90634
  end: {
90550
- line: 156,
90635
+ line: 157,
90551
90636
  column: 32
90552
90637
  }
90553
90638
  },
90554
90639
  "28": {
90555
90640
  start: {
90556
- line: 157,
90641
+ line: 158,
90557
90642
  column: 35
90558
90643
  },
90559
90644
  end: {
90560
- line: 157,
90645
+ line: 158,
90561
90646
  column: 69
90562
90647
  }
90563
90648
  },
90564
90649
  "29": {
90565
90650
  start: {
90566
- line: 159,
90651
+ line: 160,
90567
90652
  column: 18
90568
90653
  },
90569
90654
  end: {
90570
- line: 159,
90655
+ line: 160,
90571
90656
  column: 40
90572
90657
  }
90573
90658
  },
90574
90659
  "30": {
90575
90660
  start: {
90576
- line: 159,
90661
+ line: 160,
90577
90662
  column: 33
90578
90663
  },
90579
90664
  end: {
90580
- line: 159,
90665
+ line: 160,
90581
90666
  column: 40
90582
90667
  }
90583
90668
  },
90584
90669
  "31": {
90585
90670
  start: {
90586
- line: 161,
90671
+ line: 162,
90587
90672
  column: 33
90588
90673
  },
90589
90674
  end: {
90590
- line: 163,
90675
+ line: 164,
90591
90676
  column: 19
90592
90677
  }
90593
90678
  },
90594
90679
  "32": {
90595
90680
  start: {
90596
- line: 162,
90681
+ line: 163,
90597
90682
  column: 28
90598
90683
  },
90599
90684
  end: {
90600
- line: 162,
90685
+ line: 163,
90601
90686
  column: 52
90602
90687
  }
90603
90688
  },
90604
90689
  "33": {
90605
90690
  start: {
90606
- line: 165,
90691
+ line: 166,
90607
90692
  column: 18
90608
90693
  },
90609
90694
  end: {
90610
- line: 165,
90695
+ line: 166,
90611
90696
  column: 46
90612
90697
  }
90613
90698
  },
90614
90699
  "34": {
90615
90700
  start: {
90616
- line: 165,
90701
+ line: 166,
90617
90702
  column: 39
90618
90703
  },
90619
90704
  end: {
90620
- line: 165,
90705
+ line: 166,
90621
90706
  column: 46
90622
90707
  }
90623
90708
  },
90624
90709
  "35": {
90625
90710
  start: {
90626
- line: 167,
90711
+ line: 168,
90627
90712
  column: 18
90628
90713
  },
90629
90714
  end: {
90630
- line: 167,
90715
+ line: 168,
90631
90716
  column: 41
90632
90717
  }
90633
90718
  },
90634
90719
  "36": {
90635
90720
  start: {
90636
- line: 169,
90721
+ line: 170,
90637
90722
  column: 18
90638
90723
  },
90639
90724
  end: {
90640
- line: 177,
90725
+ line: 178,
90641
90726
  column: 21
90642
90727
  }
90643
90728
  },
90644
90729
  "37": {
90645
90730
  start: {
90646
- line: 170,
90731
+ line: 171,
90647
90732
  column: 33
90648
90733
  },
90649
90734
  end: {
90650
- line: 172,
90735
+ line: 173,
90651
90736
  column: 22
90652
90737
  }
90653
90738
  },
90654
90739
  "38": {
90655
90740
  start: {
90656
- line: 173,
90741
+ line: 174,
90657
90742
  column: 20
90658
90743
  },
90659
90744
  end: {
90660
- line: 176,
90745
+ line: 177,
90661
90746
  column: 21
90662
90747
  }
90663
90748
  },
90664
90749
  "39": {
90665
90750
  start: {
90666
- line: 174,
90751
+ line: 175,
90667
90752
  column: 42
90668
90753
  },
90669
90754
  end: {
90670
- line: 174,
90755
+ line: 175,
90671
90756
  column: 73
90672
90757
  }
90673
90758
  },
90674
90759
  "40": {
90675
90760
  start: {
90676
- line: 175,
90761
+ line: 176,
90677
90762
  column: 22
90678
90763
  },
90679
90764
  end: {
90680
- line: 175,
90765
+ line: 176,
90681
90766
  column: 49
90682
90767
  }
90683
90768
  }
@@ -90687,512 +90772,512 @@ function cov_ksv9azglk() {
90687
90772
  name: "(anonymous_0)",
90688
90773
  decl: {
90689
90774
  start: {
90690
- line: 16,
90775
+ line: 17,
90691
90776
  column: 2
90692
90777
  },
90693
90778
  end: {
90694
- line: 16,
90779
+ line: 17,
90695
90780
  column: 3
90696
90781
  }
90697
90782
  },
90698
90783
  loc: {
90699
90784
  start: {
90700
- line: 16,
90785
+ line: 17,
90701
90786
  column: 15
90702
90787
  },
90703
90788
  end: {
90704
- line: 20,
90789
+ line: 21,
90705
90790
  column: 3
90706
90791
  }
90707
90792
  },
90708
- line: 16
90793
+ line: 17
90709
90794
  },
90710
90795
  "1": {
90711
90796
  name: "(anonymous_1)",
90712
90797
  decl: {
90713
90798
  start: {
90714
- line: 30,
90799
+ line: 31,
90715
90800
  column: 2
90716
90801
  },
90717
90802
  end: {
90718
- line: 30,
90803
+ line: 31,
90719
90804
  column: 3
90720
90805
  }
90721
90806
  },
90722
90807
  loc: {
90723
90808
  start: {
90724
- line: 30,
90809
+ line: 31,
90725
90810
  column: 18
90726
90811
  },
90727
90812
  end: {
90728
- line: 60,
90813
+ line: 61,
90729
90814
  column: 3
90730
90815
  }
90731
90816
  },
90732
- line: 30
90817
+ line: 31
90733
90818
  },
90734
90819
  "2": {
90735
90820
  name: "(anonymous_2)",
90736
90821
  decl: {
90737
90822
  start: {
90738
- line: 34,
90823
+ line: 35,
90739
90824
  column: 19
90740
90825
  },
90741
90826
  end: {
90742
- line: 34,
90827
+ line: 35,
90743
90828
  column: 20
90744
90829
  }
90745
90830
  },
90746
90831
  loc: {
90747
90832
  start: {
90748
- line: 34,
90833
+ line: 35,
90749
90834
  column: 30
90750
90835
  },
90751
90836
  end: {
90752
- line: 34,
90837
+ line: 35,
90753
90838
  column: 79
90754
90839
  }
90755
90840
  },
90756
- line: 34
90841
+ line: 35
90757
90842
  },
90758
90843
  "3": {
90759
90844
  name: "(anonymous_3)",
90760
90845
  decl: {
90761
90846
  start: {
90762
- line: 39,
90847
+ line: 40,
90763
90848
  column: 19
90764
90849
  },
90765
90850
  end: {
90766
- line: 39,
90851
+ line: 40,
90767
90852
  column: 20
90768
90853
  }
90769
90854
  },
90770
90855
  loc: {
90771
90856
  start: {
90772
- line: 39,
90857
+ line: 40,
90773
90858
  column: 30
90774
90859
  },
90775
90860
  end: {
90776
- line: 39,
90861
+ line: 40,
90777
90862
  column: 79
90778
90863
  }
90779
90864
  },
90780
- line: 39
90865
+ line: 40
90781
90866
  },
90782
90867
  "4": {
90783
90868
  name: "(anonymous_4)",
90784
90869
  decl: {
90785
90870
  start: {
90786
- line: 44,
90871
+ line: 45,
90787
90872
  column: 19
90788
90873
  },
90789
90874
  end: {
90790
- line: 44,
90875
+ line: 45,
90791
90876
  column: 20
90792
90877
  }
90793
90878
  },
90794
90879
  loc: {
90795
90880
  start: {
90796
- line: 45,
90881
+ line: 46,
90797
90882
  column: 10
90798
90883
  },
90799
90884
  end: {
90800
- line: 45,
90885
+ line: 46,
90801
90886
  column: 65
90802
90887
  }
90803
90888
  },
90804
- line: 45
90889
+ line: 46
90805
90890
  },
90806
90891
  "5": {
90807
90892
  name: "(anonymous_5)",
90808
90893
  decl: {
90809
90894
  start: {
90810
- line: 50,
90895
+ line: 51,
90811
90896
  column: 19
90812
90897
  },
90813
90898
  end: {
90814
- line: 50,
90899
+ line: 51,
90815
90900
  column: 20
90816
90901
  }
90817
90902
  },
90818
90903
  loc: {
90819
90904
  start: {
90820
- line: 51,
90905
+ line: 52,
90821
90906
  column: 10
90822
90907
  },
90823
90908
  end: {
90824
- line: 51,
90909
+ line: 52,
90825
90910
  column: 64
90826
90911
  }
90827
90912
  },
90828
- line: 51
90913
+ line: 52
90829
90914
  },
90830
90915
  "6": {
90831
90916
  name: "(anonymous_6)",
90832
90917
  decl: {
90833
90918
  start: {
90834
- line: 56,
90919
+ line: 57,
90835
90920
  column: 19
90836
90921
  },
90837
90922
  end: {
90838
- line: 56,
90923
+ line: 57,
90839
90924
  column: 20
90840
90925
  }
90841
90926
  },
90842
90927
  loc: {
90843
90928
  start: {
90844
- line: 57,
90929
+ line: 58,
90845
90930
  column: 10
90846
90931
  },
90847
90932
  end: {
90848
- line: 57,
90933
+ line: 58,
90849
90934
  column: 61
90850
90935
  }
90851
90936
  },
90852
- line: 57
90937
+ line: 58
90853
90938
  },
90854
90939
  "7": {
90855
90940
  name: "(anonymous_7)",
90856
90941
  decl: {
90857
90942
  start: {
90858
- line: 62,
90943
+ line: 63,
90859
90944
  column: 2
90860
90945
  },
90861
90946
  end: {
90862
- line: 62,
90947
+ line: 63,
90863
90948
  column: 3
90864
90949
  }
90865
90950
  },
90866
90951
  loc: {
90867
90952
  start: {
90868
- line: 62,
90953
+ line: 63,
90869
90954
  column: 14
90870
90955
  },
90871
90956
  end: {
90872
- line: 69,
90957
+ line: 70,
90873
90958
  column: 3
90874
90959
  }
90875
90960
  },
90876
- line: 62
90961
+ line: 63
90877
90962
  },
90878
90963
  "8": {
90879
90964
  name: "(anonymous_8)",
90880
90965
  decl: {
90881
90966
  start: {
90882
- line: 71,
90967
+ line: 72,
90883
90968
  column: 2
90884
90969
  },
90885
90970
  end: {
90886
- line: 71,
90971
+ line: 72,
90887
90972
  column: 3
90888
90973
  }
90889
90974
  },
90890
90975
  loc: {
90891
90976
  start: {
90892
- line: 71,
90977
+ line: 72,
90893
90978
  column: 39
90894
90979
  },
90895
90980
  end: {
90896
- line: 106,
90981
+ line: 107,
90897
90982
  column: 3
90898
90983
  }
90899
90984
  },
90900
- line: 71
90985
+ line: 72
90901
90986
  },
90902
90987
  "9": {
90903
90988
  name: "(anonymous_9)",
90904
90989
  decl: {
90905
90990
  start: {
90906
- line: 108,
90991
+ line: 109,
90907
90992
  column: 2
90908
90993
  },
90909
90994
  end: {
90910
- line: 108,
90995
+ line: 109,
90911
90996
  column: 3
90912
90997
  }
90913
90998
  },
90914
90999
  loc: {
90915
91000
  start: {
90916
- line: 108,
91001
+ line: 109,
90917
91002
  column: 16
90918
91003
  },
90919
91004
  end: {
90920
- line: 110,
91005
+ line: 111,
90921
91006
  column: 3
90922
91007
  }
90923
91008
  },
90924
- line: 108
91009
+ line: 109
90925
91010
  },
90926
91011
  "10": {
90927
91012
  name: "(anonymous_10)",
90928
91013
  decl: {
90929
91014
  start: {
90930
- line: 112,
91015
+ line: 113,
90931
91016
  column: 2
90932
91017
  },
90933
91018
  end: {
90934
- line: 112,
91019
+ line: 113,
90935
91020
  column: 3
90936
91021
  }
90937
91022
  },
90938
91023
  loc: {
90939
91024
  start: {
90940
- line: 112,
91025
+ line: 113,
90941
91026
  column: 16
90942
91027
  },
90943
91028
  end: {
90944
- line: 125,
91029
+ line: 126,
90945
91030
  column: 3
90946
91031
  }
90947
91032
  },
90948
- line: 112
91033
+ line: 113
90949
91034
  },
90950
91035
  "11": {
90951
91036
  name: "(anonymous_11)",
90952
91037
  decl: {
90953
91038
  start: {
90954
- line: 115,
91039
+ line: 116,
90955
91040
  column: 8
90956
91041
  },
90957
91042
  end: {
90958
- line: 115,
91043
+ line: 116,
90959
91044
  column: 9
90960
91045
  }
90961
91046
  },
90962
91047
  loc: {
90963
91048
  start: {
90964
- line: 116,
91049
+ line: 117,
90965
91050
  column: 8
90966
91051
  },
90967
91052
  end: {
90968
- line: 123,
91053
+ line: 124,
90969
91054
  column: 18
90970
91055
  }
90971
91056
  },
90972
- line: 116
91057
+ line: 117
90973
91058
  },
90974
91059
  "12": {
90975
91060
  name: "(anonymous_12)",
90976
91061
  decl: {
90977
91062
  start: {
90978
- line: 116,
91063
+ line: 117,
90979
91064
  column: 8
90980
91065
  },
90981
91066
  end: {
90982
- line: 116,
91067
+ line: 117,
90983
91068
  column: 9
90984
91069
  }
90985
91070
  },
90986
91071
  loc: {
90987
91072
  start: {
90988
- line: 117,
91073
+ line: 118,
90989
91074
  column: 10
90990
91075
  },
90991
91076
  end: {
90992
- line: 123,
91077
+ line: 124,
90993
91078
  column: 18
90994
91079
  }
90995
91080
  },
90996
- line: 117
91081
+ line: 118
90997
91082
  },
90998
91083
  "13": {
90999
91084
  name: "(anonymous_13)",
91000
91085
  decl: {
91001
91086
  start: {
91002
- line: 128,
91087
+ line: 129,
91003
91088
  column: 15
91004
91089
  },
91005
91090
  end: {
91006
- line: 128,
91091
+ line: 129,
91007
91092
  column: 16
91008
91093
  }
91009
91094
  },
91010
91095
  loc: {
91011
91096
  start: {
91012
- line: 128,
91097
+ line: 129,
91013
91098
  column: 36
91014
91099
  },
91015
91100
  end: {
91016
- line: 140,
91101
+ line: 141,
91017
91102
  column: 1
91018
91103
  }
91019
91104
  },
91020
- line: 128
91105
+ line: 129
91021
91106
  },
91022
91107
  "14": {
91023
91108
  name: "(anonymous_14)",
91024
91109
  decl: {
91025
91110
  start: {
91026
- line: 143,
91111
+ line: 144,
91027
91112
  column: 13
91028
91113
  },
91029
91114
  end: {
91030
- line: 143,
91115
+ line: 144,
91031
91116
  column: 14
91032
91117
  }
91033
91118
  },
91034
91119
  loc: {
91035
91120
  start: {
91036
- line: 144,
91121
+ line: 145,
91037
91122
  column: 4
91038
91123
  },
91039
91124
  end: {
91040
- line: 184,
91125
+ line: 185,
91041
91126
  column: 6
91042
91127
  }
91043
91128
  },
91044
- line: 144
91129
+ line: 145
91045
91130
  },
91046
91131
  "15": {
91047
91132
  name: "(anonymous_15)",
91048
91133
  decl: {
91049
91134
  start: {
91050
- line: 145,
91135
+ line: 146,
91051
91136
  column: 6
91052
91137
  },
91053
91138
  end: {
91054
- line: 145,
91139
+ line: 146,
91055
91140
  column: 7
91056
91141
  }
91057
91142
  },
91058
91143
  loc: {
91059
91144
  start: {
91060
- line: 145,
91145
+ line: 146,
91061
91146
  column: 30
91062
91147
  },
91063
91148
  end: {
91064
- line: 183,
91149
+ line: 184,
91065
91150
  column: 7
91066
91151
  }
91067
91152
  },
91068
- line: 145
91153
+ line: 146
91069
91154
  },
91070
91155
  "16": {
91071
91156
  name: "(anonymous_16)",
91072
91157
  decl: {
91073
91158
  start: {
91074
- line: 150,
91159
+ line: 151,
91075
91160
  column: 16
91076
91161
  },
91077
91162
  end: {
91078
- line: 150,
91163
+ line: 151,
91079
91164
  column: 17
91080
91165
  }
91081
91166
  },
91082
91167
  loc: {
91083
91168
  start: {
91084
- line: 150,
91169
+ line: 151,
91085
91170
  column: 35
91086
91171
  },
91087
91172
  end: {
91088
- line: 178,
91173
+ line: 179,
91089
91174
  column: 17
91090
91175
  }
91091
91176
  },
91092
- line: 150
91177
+ line: 151
91093
91178
  },
91094
91179
  "17": {
91095
91180
  name: "(anonymous_17)",
91096
91181
  decl: {
91097
91182
  start: {
91098
- line: 162,
91183
+ line: 163,
91099
91184
  column: 20
91100
91185
  },
91101
91186
  end: {
91102
- line: 162,
91187
+ line: 163,
91103
91188
  column: 21
91104
91189
  }
91105
91190
  },
91106
91191
  loc: {
91107
91192
  start: {
91108
- line: 162,
91193
+ line: 163,
91109
91194
  column: 28
91110
91195
  },
91111
91196
  end: {
91112
- line: 162,
91197
+ line: 163,
91113
91198
  column: 52
91114
91199
  }
91115
91200
  },
91116
- line: 162
91201
+ line: 163
91117
91202
  },
91118
91203
  "18": {
91119
91204
  name: "(anonymous_18)",
91120
91205
  decl: {
91121
91206
  start: {
91122
- line: 169,
91207
+ line: 170,
91123
91208
  column: 33
91124
91209
  },
91125
91210
  end: {
91126
- line: 169,
91211
+ line: 170,
91127
91212
  column: 34
91128
91213
  }
91129
91214
  },
91130
91215
  loc: {
91131
91216
  start: {
91132
- line: 169,
91217
+ line: 170,
91133
91218
  column: 48
91134
91219
  },
91135
91220
  end: {
91136
- line: 177,
91221
+ line: 178,
91137
91222
  column: 19
91138
91223
  }
91139
91224
  },
91140
- line: 169
91225
+ line: 170
91141
91226
  }
91142
91227
  },
91143
91228
  branchMap: {
91144
91229
  "0": {
91145
91230
  loc: {
91146
91231
  start: {
91147
- line: 121,
91232
+ line: 122,
91148
91233
  column: 23
91149
91234
  },
91150
91235
  end: {
91151
- line: 121,
91236
+ line: 122,
91152
91237
  column: 71
91153
91238
  }
91154
91239
  },
91155
91240
  type: "cond-expr",
91156
91241
  locations: [{
91157
91242
  start: {
91158
- line: 121,
91243
+ line: 122,
91159
91244
  column: 33
91160
91245
  },
91161
91246
  end: {
91162
- line: 121,
91247
+ line: 122,
91163
91248
  column: 66
91164
91249
  }
91165
91250
  }, {
91166
91251
  start: {
91167
- line: 121,
91252
+ line: 122,
91168
91253
  column: 69
91169
91254
  },
91170
91255
  end: {
91171
- line: 121,
91256
+ line: 122,
91172
91257
  column: 71
91173
91258
  }
91174
91259
  }],
91175
- line: 121
91260
+ line: 122
91176
91261
  },
91177
91262
  "1": {
91178
91263
  loc: {
91179
91264
  start: {
91180
- line: 129,
91265
+ line: 130,
91181
91266
  column: 2
91182
91267
  },
91183
91268
  end: {
91184
- line: 134,
91269
+ line: 135,
91185
91270
  column: 3
91186
91271
  }
91187
91272
  },
91188
91273
  type: "if",
91189
91274
  locations: [{
91190
91275
  start: {
91191
- line: 129,
91276
+ line: 130,
91192
91277
  column: 2
91193
91278
  },
91194
91279
  end: {
91195
- line: 134,
91280
+ line: 135,
91196
91281
  column: 3
91197
91282
  }
91198
91283
  }, {
@@ -91205,60 +91290,60 @@ function cov_ksv9azglk() {
91205
91290
  column: undefined
91206
91291
  }
91207
91292
  }],
91208
- line: 129
91293
+ line: 130
91209
91294
  },
91210
91295
  "2": {
91211
91296
  loc: {
91212
91297
  start: {
91213
- line: 133,
91298
+ line: 134,
91214
91299
  column: 11
91215
91300
  },
91216
91301
  end: {
91217
- line: 133,
91302
+ line: 134,
91218
91303
  column: 55
91219
91304
  }
91220
91305
  },
91221
91306
  type: "binary-expr",
91222
91307
  locations: [{
91223
91308
  start: {
91224
- line: 133,
91309
+ line: 134,
91225
91310
  column: 11
91226
91311
  },
91227
91312
  end: {
91228
- line: 133,
91313
+ line: 134,
91229
91314
  column: 34
91230
91315
  }
91231
91316
  }, {
91232
91317
  start: {
91233
- line: 133,
91318
+ line: 134,
91234
91319
  column: 38
91235
91320
  },
91236
91321
  end: {
91237
- line: 133,
91322
+ line: 134,
91238
91323
  column: 55
91239
91324
  }
91240
91325
  }],
91241
- line: 133
91326
+ line: 134
91242
91327
  },
91243
91328
  "3": {
91244
91329
  loc: {
91245
91330
  start: {
91246
- line: 159,
91331
+ line: 160,
91247
91332
  column: 18
91248
91333
  },
91249
91334
  end: {
91250
- line: 159,
91335
+ line: 160,
91251
91336
  column: 40
91252
91337
  }
91253
91338
  },
91254
91339
  type: "if",
91255
91340
  locations: [{
91256
91341
  start: {
91257
- line: 159,
91342
+ line: 160,
91258
91343
  column: 18
91259
91344
  },
91260
91345
  end: {
91261
- line: 159,
91346
+ line: 160,
91262
91347
  column: 40
91263
91348
  }
91264
91349
  }, {
@@ -91271,27 +91356,27 @@ function cov_ksv9azglk() {
91271
91356
  column: undefined
91272
91357
  }
91273
91358
  }],
91274
- line: 159
91359
+ line: 160
91275
91360
  },
91276
91361
  "4": {
91277
91362
  loc: {
91278
91363
  start: {
91279
- line: 165,
91364
+ line: 166,
91280
91365
  column: 18
91281
91366
  },
91282
91367
  end: {
91283
- line: 165,
91368
+ line: 166,
91284
91369
  column: 46
91285
91370
  }
91286
91371
  },
91287
91372
  type: "if",
91288
91373
  locations: [{
91289
91374
  start: {
91290
- line: 165,
91375
+ line: 166,
91291
91376
  column: 18
91292
91377
  },
91293
91378
  end: {
91294
- line: 165,
91379
+ line: 166,
91295
91380
  column: 46
91296
91381
  }
91297
91382
  }, {
@@ -91304,27 +91389,27 @@ function cov_ksv9azglk() {
91304
91389
  column: undefined
91305
91390
  }
91306
91391
  }],
91307
- line: 165
91392
+ line: 166
91308
91393
  },
91309
91394
  "5": {
91310
91395
  loc: {
91311
91396
  start: {
91312
- line: 173,
91397
+ line: 174,
91313
91398
  column: 20
91314
91399
  },
91315
91400
  end: {
91316
- line: 176,
91401
+ line: 177,
91317
91402
  column: 21
91318
91403
  }
91319
91404
  },
91320
91405
  type: "if",
91321
91406
  locations: [{
91322
91407
  start: {
91323
- line: 173,
91408
+ line: 174,
91324
91409
  column: 20
91325
91410
  },
91326
91411
  end: {
91327
- line: 176,
91412
+ line: 177,
91328
91413
  column: 21
91329
91414
  }
91330
91415
  }, {
@@ -91337,7 +91422,7 @@ function cov_ksv9azglk() {
91337
91422
  column: undefined
91338
91423
  }
91339
91424
  }],
91340
- line: 173
91425
+ line: 174
91341
91426
  }
91342
91427
  },
91343
91428
  s: {
@@ -91413,7 +91498,7 @@ function cov_ksv9azglk() {
91413
91498
  "5": [0, 0]
91414
91499
  },
91415
91500
  _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
91416
- hash: "ada28f75fde80f292bf6b6aa817d5a1a7b787b55"
91501
+ hash: "3bebbf402f81491dd9c9f45cd7e242485e38da56"
91417
91502
  };
91418
91503
  var coverage = global[gcv] || (global[gcv] = {});
91419
91504
  if (!coverage[path] || coverage[path].hash !== hash) {
@@ -91588,7 +91673,9 @@ var upload = /*#__PURE__*/function () {
91588
91673
  case 14:
91589
91674
  imageSizeInMB = (cov_ksv9azglk().s[22]++, MAX_IMAGE_SIZE / (1024 * 1024));
91590
91675
  cov_ksv9azglk().s[23]++;
91591
- Toastr.error("Image size should be less than ".concat(imageSizeInMB, " MB"));
91676
+ Toastr.error(t$7("error.imageSizeIsShouldBeLess", {
91677
+ limit: imageSizeInMB
91678
+ }));
91592
91679
  cov_ksv9azglk().s[24]++;
91593
91680
  return _context.abrupt("return", "");
91594
91681
  case 19:
@@ -96422,7 +96509,7 @@ var Mention = {
96422
96509
 
96423
96510
  function cov_134mrrjy5g() {
96424
96511
  var path = "/home/runner/work/neeto-editor/neeto-editor/src/components/Editor/CustomExtensions/Placeholder/ExtensionConfig.js";
96425
- var hash = "1857c12779d129bb0f57648250c8896d7ff6e8e2";
96512
+ var hash = "a628a59bba8d6c190faea7f50c6e8fcbc3298925";
96426
96513
  var global = new Function("return this")();
96427
96514
  var gcv = "__coverage__";
96428
96515
  var coverageData = {
@@ -96430,201 +96517,201 @@ function cov_134mrrjy5g() {
96430
96517
  statementMap: {
96431
96518
  "0": {
96432
96519
  start: {
96433
- line: 5,
96520
+ line: 6,
96434
96521
  column: 20
96435
96522
  },
96436
96523
  end: {
96437
- line: 69,
96524
+ line: 70,
96438
96525
  column: 2
96439
96526
  }
96440
96527
  },
96441
96528
  "1": {
96442
96529
  start: {
96443
- line: 9,
96530
+ line: 10,
96444
96531
  column: 4
96445
96532
  },
96446
96533
  end: {
96447
- line: 17,
96534
+ line: 18,
96448
96535
  column: 6
96449
96536
  }
96450
96537
  },
96451
96538
  "2": {
96452
96539
  start: {
96453
- line: 21,
96540
+ line: 22,
96454
96541
  column: 4
96455
96542
  },
96456
96543
  end: {
96457
- line: 67,
96544
+ line: 68,
96458
96545
  column: 6
96459
96546
  }
96460
96547
  },
96461
96548
  "3": {
96462
96549
  start: {
96463
- line: 26,
96550
+ line: 27,
96464
96551
  column: 14
96465
96552
  },
96466
96553
  end: {
96467
- line: 26,
96554
+ line: 27,
96468
96555
  column: 74
96469
96556
  }
96470
96557
  },
96471
96558
  "4": {
96472
96559
  start: {
96473
- line: 27,
96560
+ line: 28,
96474
96561
  column: 31
96475
96562
  },
96476
96563
  end: {
96477
- line: 27,
96564
+ line: 28,
96478
96565
  column: 40
96479
96566
  }
96480
96567
  },
96481
96568
  "5": {
96482
96569
  start: {
96483
- line: 28,
96570
+ line: 29,
96484
96571
  column: 32
96485
96572
  },
96486
96573
  end: {
96487
- line: 28,
96574
+ line: 29,
96488
96575
  column: 34
96489
96576
  }
96490
96577
  },
96491
96578
  "6": {
96492
96579
  start: {
96493
- line: 30,
96580
+ line: 31,
96494
96581
  column: 12
96495
96582
  },
96496
96583
  end: {
96497
- line: 32,
96584
+ line: 33,
96498
96585
  column: 13
96499
96586
  }
96500
96587
  },
96501
96588
  "7": {
96502
96589
  start: {
96503
- line: 31,
96590
+ line: 32,
96504
96591
  column: 14
96505
96592
  },
96506
96593
  end: {
96507
- line: 31,
96594
+ line: 32,
96508
96595
  column: 26
96509
96596
  }
96510
96597
  },
96511
96598
  "8": {
96512
96599
  start: {
96513
- line: 34,
96600
+ line: 35,
96514
96601
  column: 12
96515
96602
  },
96516
96603
  end: {
96517
- line: 61,
96604
+ line: 62,
96518
96605
  column: 15
96519
96606
  }
96520
96607
  },
96521
96608
  "9": {
96522
96609
  start: {
96523
- line: 35,
96610
+ line: 36,
96524
96611
  column: 32
96525
96612
  },
96526
96613
  end: {
96527
- line: 35,
96614
+ line: 36,
96528
96615
  column: 78
96529
96616
  }
96530
96617
  },
96531
96618
  "10": {
96532
96619
  start: {
96533
- line: 36,
96620
+ line: 37,
96534
96621
  column: 30
96535
96622
  },
96536
96623
  end: {
96537
- line: 36,
96624
+ line: 37,
96538
96625
  column: 62
96539
96626
  }
96540
96627
  },
96541
96628
  "11": {
96542
96629
  start: {
96543
- line: 38,
96630
+ line: 39,
96544
96631
  column: 33
96545
96632
  },
96546
96633
  end: {
96547
- line: 40,
96634
+ line: 41,
96548
96635
  column: 15
96549
96636
  }
96550
96637
  },
96551
96638
  "12": {
96552
96639
  start: {
96553
- line: 42,
96640
+ line: 43,
96554
96641
  column: 14
96555
96642
  },
96556
96643
  end: {
96557
- line: 58,
96644
+ line: 59,
96558
96645
  column: 15
96559
96646
  }
96560
96647
  },
96561
96648
  "13": {
96562
96649
  start: {
96563
- line: 47,
96650
+ line: 48,
96564
96651
  column: 32
96565
96652
  },
96566
96653
  end: {
96567
- line: 47,
96654
+ line: 48,
96568
96655
  column: 61
96569
96656
  }
96570
96657
  },
96571
96658
  "14": {
96572
96659
  start: {
96573
- line: 49,
96660
+ line: 50,
96574
96661
  column: 16
96575
96662
  },
96576
96663
  end: {
96577
- line: 51,
96664
+ line: 52,
96578
96665
  column: 17
96579
96666
  }
96580
96667
  },
96581
96668
  "15": {
96582
96669
  start: {
96583
- line: 50,
96670
+ line: 51,
96584
96671
  column: 18
96585
96672
  },
96586
96673
  end: {
96587
- line: 50,
96674
+ line: 51,
96588
96675
  column: 62
96589
96676
  }
96590
96677
  },
96591
96678
  "16": {
96592
96679
  start: {
96593
- line: 53,
96680
+ line: 54,
96594
96681
  column: 35
96595
96682
  },
96596
96683
  end: {
96597
- line: 56,
96684
+ line: 57,
96598
96685
  column: 18
96599
96686
  }
96600
96687
  },
96601
96688
  "17": {
96602
96689
  start: {
96603
- line: 57,
96690
+ line: 58,
96604
96691
  column: 16
96605
96692
  },
96606
96693
  end: {
96607
- line: 57,
96694
+ line: 58,
96608
96695
  column: 45
96609
96696
  }
96610
96697
  },
96611
96698
  "18": {
96612
96699
  start: {
96613
- line: 60,
96700
+ line: 61,
96614
96701
  column: 14
96615
96702
  },
96616
96703
  end: {
96617
- line: 60,
96704
+ line: 61,
96618
96705
  column: 50
96619
96706
  }
96620
96707
  },
96621
96708
  "19": {
96622
96709
  start: {
96623
- line: 63,
96710
+ line: 64,
96624
96711
  column: 12
96625
96712
  },
96626
96713
  end: {
96627
- line: 63,
96714
+ line: 64,
96628
96715
  column: 58
96629
96716
  }
96630
96717
  }
@@ -96634,152 +96721,152 @@ function cov_134mrrjy5g() {
96634
96721
  name: "(anonymous_0)",
96635
96722
  decl: {
96636
96723
  start: {
96637
- line: 8,
96724
+ line: 9,
96638
96725
  column: 2
96639
96726
  },
96640
96727
  end: {
96641
- line: 8,
96728
+ line: 9,
96642
96729
  column: 3
96643
96730
  }
96644
96731
  },
96645
96732
  loc: {
96646
96733
  start: {
96647
- line: 8,
96734
+ line: 9,
96648
96735
  column: 15
96649
96736
  },
96650
96737
  end: {
96651
- line: 18,
96738
+ line: 19,
96652
96739
  column: 3
96653
96740
  }
96654
96741
  },
96655
- line: 8
96742
+ line: 9
96656
96743
  },
96657
96744
  "1": {
96658
96745
  name: "(anonymous_1)",
96659
96746
  decl: {
96660
96747
  start: {
96661
- line: 20,
96748
+ line: 21,
96662
96749
  column: 2
96663
96750
  },
96664
96751
  end: {
96665
- line: 20,
96752
+ line: 21,
96666
96753
  column: 3
96667
96754
  }
96668
96755
  },
96669
96756
  loc: {
96670
96757
  start: {
96671
- line: 20,
96758
+ line: 21,
96672
96759
  column: 26
96673
96760
  },
96674
96761
  end: {
96675
- line: 68,
96762
+ line: 69,
96676
96763
  column: 3
96677
96764
  }
96678
96765
  },
96679
- line: 20
96766
+ line: 21
96680
96767
  },
96681
96768
  "2": {
96682
96769
  name: "(anonymous_2)",
96683
96770
  decl: {
96684
96771
  start: {
96685
- line: 24,
96772
+ line: 25,
96686
96773
  column: 23
96687
96774
  },
96688
96775
  end: {
96689
- line: 24,
96776
+ line: 25,
96690
96777
  column: 24
96691
96778
  }
96692
96779
  },
96693
96780
  loc: {
96694
96781
  start: {
96695
- line: 24,
96782
+ line: 25,
96696
96783
  column: 47
96697
96784
  },
96698
96785
  end: {
96699
- line: 64,
96786
+ line: 65,
96700
96787
  column: 11
96701
96788
  }
96702
96789
  },
96703
- line: 24
96790
+ line: 25
96704
96791
  },
96705
96792
  "3": {
96706
96793
  name: "(anonymous_3)",
96707
96794
  decl: {
96708
96795
  start: {
96709
- line: 34,
96796
+ line: 35,
96710
96797
  column: 28
96711
96798
  },
96712
96799
  end: {
96713
- line: 34,
96800
+ line: 35,
96714
96801
  column: 29
96715
96802
  }
96716
96803
  },
96717
96804
  loc: {
96718
96805
  start: {
96719
- line: 34,
96806
+ line: 35,
96720
96807
  column: 43
96721
96808
  },
96722
96809
  end: {
96723
- line: 61,
96810
+ line: 62,
96724
96811
  column: 13
96725
96812
  }
96726
96813
  },
96727
- line: 34
96814
+ line: 35
96728
96815
  }
96729
96816
  },
96730
96817
  branchMap: {
96731
96818
  "0": {
96732
96819
  loc: {
96733
96820
  start: {
96734
- line: 26,
96821
+ line: 27,
96735
96822
  column: 14
96736
96823
  },
96737
96824
  end: {
96738
- line: 26,
96825
+ line: 27,
96739
96826
  column: 74
96740
96827
  }
96741
96828
  },
96742
96829
  type: "binary-expr",
96743
96830
  locations: [{
96744
96831
  start: {
96745
- line: 26,
96832
+ line: 27,
96746
96833
  column: 14
96747
96834
  },
96748
96835
  end: {
96749
- line: 26,
96836
+ line: 27,
96750
96837
  column: 36
96751
96838
  }
96752
96839
  }, {
96753
96840
  start: {
96754
- line: 26,
96841
+ line: 27,
96755
96842
  column: 40
96756
96843
  },
96757
96844
  end: {
96758
- line: 26,
96845
+ line: 27,
96759
96846
  column: 74
96760
96847
  }
96761
96848
  }],
96762
- line: 26
96849
+ line: 27
96763
96850
  },
96764
96851
  "1": {
96765
96852
  loc: {
96766
96853
  start: {
96767
- line: 30,
96854
+ line: 31,
96768
96855
  column: 12
96769
96856
  },
96770
96857
  end: {
96771
- line: 32,
96858
+ line: 33,
96772
96859
  column: 13
96773
96860
  }
96774
96861
  },
96775
96862
  type: "if",
96776
96863
  locations: [{
96777
96864
  start: {
96778
- line: 30,
96865
+ line: 31,
96779
96866
  column: 12
96780
96867
  },
96781
96868
  end: {
96782
- line: 32,
96869
+ line: 33,
96783
96870
  column: 13
96784
96871
  }
96785
96872
  }, {
@@ -96792,93 +96879,93 @@ function cov_134mrrjy5g() {
96792
96879
  column: undefined
96793
96880
  }
96794
96881
  }],
96795
- line: 30
96882
+ line: 31
96796
96883
  },
96797
96884
  "2": {
96798
96885
  loc: {
96799
96886
  start: {
96800
- line: 35,
96887
+ line: 36,
96801
96888
  column: 32
96802
96889
  },
96803
96890
  end: {
96804
- line: 35,
96891
+ line: 36,
96805
96892
  column: 78
96806
96893
  }
96807
96894
  },
96808
96895
  type: "binary-expr",
96809
96896
  locations: [{
96810
96897
  start: {
96811
- line: 35,
96898
+ line: 36,
96812
96899
  column: 32
96813
96900
  },
96814
96901
  end: {
96815
- line: 35,
96902
+ line: 36,
96816
96903
  column: 45
96817
96904
  }
96818
96905
  }, {
96819
96906
  start: {
96820
- line: 35,
96907
+ line: 36,
96821
96908
  column: 49
96822
96909
  },
96823
96910
  end: {
96824
- line: 35,
96911
+ line: 36,
96825
96912
  column: 78
96826
96913
  }
96827
96914
  }],
96828
- line: 35
96915
+ line: 36
96829
96916
  },
96830
96917
  "3": {
96831
96918
  loc: {
96832
96919
  start: {
96833
- line: 36,
96920
+ line: 37,
96834
96921
  column: 30
96835
96922
  },
96836
96923
  end: {
96837
- line: 36,
96924
+ line: 37,
96838
96925
  column: 62
96839
96926
  }
96840
96927
  },
96841
96928
  type: "binary-expr",
96842
96929
  locations: [{
96843
96930
  start: {
96844
- line: 36,
96931
+ line: 37,
96845
96932
  column: 30
96846
96933
  },
96847
96934
  end: {
96848
- line: 36,
96935
+ line: 37,
96849
96936
  column: 42
96850
96937
  }
96851
96938
  }, {
96852
96939
  start: {
96853
- line: 36,
96940
+ line: 37,
96854
96941
  column: 46
96855
96942
  },
96856
96943
  end: {
96857
- line: 36,
96944
+ line: 37,
96858
96945
  column: 62
96859
96946
  }
96860
96947
  }],
96861
- line: 36
96948
+ line: 37
96862
96949
  },
96863
96950
  "4": {
96864
96951
  loc: {
96865
96952
  start: {
96866
- line: 42,
96953
+ line: 43,
96867
96954
  column: 14
96868
96955
  },
96869
96956
  end: {
96870
- line: 58,
96957
+ line: 59,
96871
96958
  column: 15
96872
96959
  }
96873
96960
  },
96874
96961
  type: "if",
96875
96962
  locations: [{
96876
96963
  start: {
96877
- line: 42,
96964
+ line: 43,
96878
96965
  column: 14
96879
96966
  },
96880
96967
  end: {
96881
- line: 58,
96968
+ line: 59,
96882
96969
  column: 15
96883
96970
  }
96884
96971
  }, {
@@ -96891,78 +96978,78 @@ function cov_134mrrjy5g() {
96891
96978
  column: undefined
96892
96979
  }
96893
96980
  }],
96894
- line: 42
96981
+ line: 43
96895
96982
  },
96896
96983
  "5": {
96897
96984
  loc: {
96898
96985
  start: {
96899
- line: 43,
96986
+ line: 44,
96900
96987
  column: 16
96901
96988
  },
96902
96989
  end: {
96903
- line: 45,
96990
+ line: 46,
96904
96991
  column: 23
96905
96992
  }
96906
96993
  },
96907
96994
  type: "binary-expr",
96908
96995
  locations: [{
96909
96996
  start: {
96910
- line: 43,
96997
+ line: 44,
96911
96998
  column: 17
96912
96999
  },
96913
97000
  end: {
96914
- line: 43,
97001
+ line: 44,
96915
97002
  column: 26
96916
97003
  }
96917
97004
  }, {
96918
97005
  start: {
96919
- line: 43,
97006
+ line: 44,
96920
97007
  column: 30
96921
97008
  },
96922
97009
  end: {
96923
- line: 43,
97010
+ line: 44,
96924
97011
  column: 59
96925
97012
  }
96926
97013
  }, {
96927
97014
  start: {
96928
- line: 44,
97015
+ line: 45,
96929
97016
  column: 16
96930
97017
  },
96931
97018
  end: {
96932
- line: 44,
97019
+ line: 45,
96933
97020
  column: 27
96934
97021
  }
96935
97022
  }, {
96936
97023
  start: {
96937
- line: 45,
97024
+ line: 46,
96938
97025
  column: 16
96939
97026
  },
96940
97027
  end: {
96941
- line: 45,
97028
+ line: 46,
96942
97029
  column: 23
96943
97030
  }
96944
97031
  }],
96945
- line: 43
97032
+ line: 44
96946
97033
  },
96947
97034
  "6": {
96948
97035
  loc: {
96949
97036
  start: {
96950
- line: 49,
97037
+ line: 50,
96951
97038
  column: 16
96952
97039
  },
96953
97040
  end: {
96954
- line: 51,
97041
+ line: 52,
96955
97042
  column: 17
96956
97043
  }
96957
97044
  },
96958
97045
  type: "if",
96959
97046
  locations: [{
96960
97047
  start: {
96961
- line: 49,
97048
+ line: 50,
96962
97049
  column: 16
96963
97050
  },
96964
97051
  end: {
96965
- line: 51,
97052
+ line: 52,
96966
97053
  column: 17
96967
97054
  }
96968
97055
  }, {
@@ -96975,7 +97062,7 @@ function cov_134mrrjy5g() {
96975
97062
  column: undefined
96976
97063
  }
96977
97064
  }],
96978
- line: 49
97065
+ line: 50
96979
97066
  }
96980
97067
  },
96981
97068
  s: {
@@ -97016,7 +97103,7 @@ function cov_134mrrjy5g() {
97016
97103
  "6": [0, 0]
97017
97104
  },
97018
97105
  _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
97019
- hash: "1857c12779d129bb0f57648250c8896d7ff6e8e2"
97106
+ hash: "a628a59bba8d6c190faea7f50c6e8fcbc3298925"
97020
97107
  };
97021
97108
  var coverage = global[gcv] || (global[gcv] = {});
97022
97109
  if (!coverage[path] || coverage[path].hash !== hash) {
@@ -97041,7 +97128,7 @@ var Placeholder = (cov_134mrrjy5g().s[0]++, Extension.create({
97041
97128
  excludeNodeTypes: ["variable", "codeBlock"],
97042
97129
  emptyEditorClass: "is-editor-empty",
97043
97130
  emptyNodeClass: "is-empty",
97044
- placeholder: "Write something …",
97131
+ placeholder: t$7("placeholders.writeSomething"),
97045
97132
  showOnlyWhenEditable: true,
97046
97133
  showOnlyCurrent: false,
97047
97134
  includeChildren: false
@@ -110459,7 +110546,7 @@ var Progress = function Progress(_ref) {
110459
110546
 
110460
110547
  function cov_23n4f4s494() {
110461
110548
  var path = "/home/runner/work/neeto-editor/neeto-editor/src/components/Editor/MediaUploader/LocalUploader.jsx";
110462
- var hash = "b72abda003ad7adbd0b0791ef995ec6698c169dd";
110549
+ var hash = "228328f91dabecbd733a3c0d2052582c71588b8a";
110463
110550
  var global = new Function("return this")();
110464
110551
  var gcv = "__coverage__";
110465
110552
  var coverageData = {
@@ -110471,7 +110558,7 @@ function cov_23n4f4s494() {
110471
110558
  column: 22
110472
110559
  },
110473
110560
  end: {
110474
- line: 148,
110561
+ line: 146,
110475
110562
  column: 1
110476
110563
  }
110477
110564
  },
@@ -110602,7 +110689,7 @@ function cov_23n4f4s494() {
110602
110689
  },
110603
110690
  end: {
110604
110691
  line: 55,
110605
- column: 52
110692
+ column: 50
110606
110693
  }
110607
110694
  },
110608
110695
  "14": {
@@ -110881,7 +110968,7 @@ function cov_23n4f4s494() {
110881
110968
  column: 2
110882
110969
  },
110883
110970
  end: {
110884
- line: 147,
110971
+ line: 145,
110885
110972
  column: 4
110886
110973
  }
110887
110974
  },
@@ -110915,7 +111002,7 @@ function cov_23n4f4s494() {
110915
111002
  column: 6
110916
111003
  },
110917
111004
  end: {
110918
- line: 148,
111005
+ line: 146,
110919
111006
  column: 1
110920
111007
  }
110921
111008
  },
@@ -111401,7 +111488,7 @@ function cov_23n4f4s494() {
111401
111488
  column: 9
111402
111489
  },
111403
111490
  end: {
111404
- line: 147,
111491
+ line: 145,
111405
111492
  column: 3
111406
111493
  }
111407
111494
  },
@@ -111421,7 +111508,7 @@ function cov_23n4f4s494() {
111421
111508
  column: 4
111422
111509
  },
111423
111510
  end: {
111424
- line: 146,
111511
+ line: 144,
111425
111512
  column: 10
111426
111513
  }
111427
111514
  }],
@@ -111565,7 +111652,7 @@ function cov_23n4f4s494() {
111565
111652
  "9": [0, 0]
111566
111653
  },
111567
111654
  _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
111568
- hash: "b72abda003ad7adbd0b0791ef995ec6698c169dd"
111655
+ hash: "228328f91dabecbd733a3c0d2052582c71588b8a"
111569
111656
  };
111570
111657
  var coverage = global[gcv] || (global[gcv] = {});
111571
111658
  if (!coverage[path] || coverage[path].hash !== hash) {
@@ -111623,10 +111710,10 @@ var LocalUploader = function LocalUploader(_ref) {
111623
111710
  });
111624
111711
  } catch (error) {
111625
111712
  cov_23n4f4s494().s[12]++;
111626
- if (error.message !== t("error.on-before-file-added-return")) {
111713
+ if (error.message !== t("error.onBeforeFileAddedReturn")) {
111627
111714
  cov_23n4f4s494().b[1][0]++;
111628
111715
  cov_23n4f4s494().s[13]++;
111629
- Toastr.error(t("error.cannot-add-files"));
111716
+ Toastr.error(t("error.cannotAddFiles"));
111630
111717
  } else {
111631
111718
  cov_23n4f4s494().b[1][1]++;
111632
111719
  }
@@ -111774,9 +111861,9 @@ var LocalUploader = function LocalUploader(_ref) {
111774
111861
  size: 24
111775
111862
  }), /*#__PURE__*/React__default.createElement(Typography, {
111776
111863
  style: "body2"
111777
- }, t("local-uploader.drop-files-here")), /*#__PURE__*/React__default.createElement(Typography, {
111864
+ }, t("localUploader.dropFilesHere")), /*#__PURE__*/React__default.createElement(Typography, {
111778
111865
  style: "body3"
111779
- }, t("local-uploader.max-file-size", {
111866
+ }, t("localUploader.maxFileSize", {
111780
111867
  entity: convertToFileSize(uppyConfig.restrictions.maxFileSize)
111781
111868
  }))));
111782
111869
  };
@@ -114017,7 +114104,7 @@ var UnsplashImagePicker = function UnsplashImagePicker(_ref) {
114017
114104
  className: "neeto-editor-unsplash-search",
114018
114105
  "data-cy": "neeto-editor-unsplash-image-picker-search-input",
114019
114106
  name: "text",
114020
- placeholder: t("placeholders.search-unsplash"),
114107
+ placeholder: t("placeholders.searchUnsplash"),
114021
114108
  value: query,
114022
114109
  onChange: function onChange(_ref17) {
114023
114110
  var value = _ref17.target.value;
@@ -114028,10 +114115,10 @@ var UnsplashImagePicker = function UnsplashImagePicker(_ref) {
114028
114115
  }), (cov_2d0jax9c7z().b[6][0]++, error) && (cov_2d0jax9c7z().b[6][1]++, /*#__PURE__*/React__default.createElement("p", {
114029
114116
  className: "neeto-editor-unsplash-gallery__text",
114030
114117
  "data-cy": "neeto-editor-unsplash-image-picker-error"
114031
- }, t("unsplash.error-message"))), (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", {
114118
+ }, 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
114119
  className: "neeto-editor-unsplash-gallery__text",
114033
114120
  "data-cy": "neeto-editor-unsplash-image-picker-no-results-error"
114034
- }, t("unsplash.no-results"))), (cov_2d0jax9c7z().b[8][0]++, !error) && (cov_2d0jax9c7z().b[8][1]++, /*#__PURE__*/React__default.createElement("div", {
114121
+ }, t("unsplash.noResults"))), (cov_2d0jax9c7z().b[8][0]++, !error) && (cov_2d0jax9c7z().b[8][1]++, /*#__PURE__*/React__default.createElement("div", {
114035
114122
  className: "neeto-editor-unsplash-container"
114036
114123
  }, /*#__PURE__*/React__default.createElement(_default, {
114037
114124
  pack: true,
@@ -114091,7 +114178,7 @@ var UnsplashImagePicker = function UnsplashImagePicker(_ref) {
114091
114178
 
114092
114179
  function cov_27js347t20() {
114093
114180
  var path = "/home/runner/work/neeto-editor/neeto-editor/src/components/Editor/MediaUploader/URLForm.jsx";
114094
- var hash = "3f6969ccff3df191361e5a79a2b2f90027764b0f";
114181
+ var hash = "64f6e777b460cc0b185cf55000b00290516bae82";
114095
114182
  var global = new Function("return this")();
114096
114183
  var gcv = "__coverage__";
114097
114184
  var coverageData = {
@@ -114164,7 +114251,7 @@ function cov_27js347t20() {
114164
114251
  },
114165
114252
  end: {
114166
114253
  line: 24,
114167
- column: 41
114254
+ column: 40
114168
114255
  }
114169
114256
  },
114170
114257
  "7": {
@@ -114353,7 +114440,7 @@ function cov_27js347t20() {
114353
114440
  },
114354
114441
  end: {
114355
114442
  line: 24,
114356
- column: 40
114443
+ column: 39
114357
114444
  }
114358
114445
  },
114359
114446
  type: "cond-expr",
@@ -114373,7 +114460,7 @@ function cov_27js347t20() {
114373
114460
  },
114374
114461
  end: {
114375
114462
  line: 24,
114376
- column: 40
114463
+ column: 39
114377
114464
  }
114378
114465
  }],
114379
114466
  line: 22
@@ -114403,7 +114490,7 @@ function cov_27js347t20() {
114403
114490
  "2": [0, 0]
114404
114491
  },
114405
114492
  _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
114406
- hash: "3f6969ccff3df191361e5a79a2b2f90027764b0f"
114493
+ hash: "64f6e777b460cc0b185cf55000b00290516bae82"
114407
114494
  };
114408
114495
  var coverage = global[gcv] || (global[gcv] = {});
114409
114496
  if (!coverage[path] || coverage[path].hash !== hash) {
@@ -114444,7 +114531,7 @@ var URLForm = function URLForm(_ref) {
114444
114531
  cov_27js347t20().s[5]++;
114445
114532
  event.preventDefault();
114446
114533
  cov_27js347t20().s[6]++;
114447
- URL_REGEXP.test(urlString) ? (cov_27js347t20().b[2][0]++, onSubmit(urlString)) : (cov_27js347t20().b[2][1]++, setError(t("error.invalid-url")));
114534
+ URL_REGEXP.test(urlString) ? (cov_27js347t20().b[2][0]++, onSubmit(urlString)) : (cov_27js347t20().b[2][1]++, setError(t("error.invalidUrl")));
114448
114535
  };
114449
114536
  cov_27js347t20().s[7]++;
114450
114537
  return /*#__PURE__*/React__default.createElement("div", {
@@ -115385,7 +115472,7 @@ var MediaUploader = function MediaUploader(_ref) {
115385
115472
  setIsUploading: setIsUploading,
115386
115473
  onClose: handleClose
115387
115474
  })), (cov_2h3d0peoqk().b[8][0]++, activeTab === "link") && (cov_2h3d0peoqk().b[8][1]++, /*#__PURE__*/React__default.createElement(URLForm, {
115388
- placeholder: t("placeholders.paste-link"),
115475
+ placeholder: t("placeholders.pasteLink"),
115389
115476
  buttonLabel: mediaUploader.image ? (cov_2h3d0peoqk().b[9][0]++, "Upload image") : (cov_2h3d0peoqk().b[9][1]++, "Upload video"),
115390
115477
  onSubmit: handleSubmit
115391
115478
  })), (cov_2h3d0peoqk().b[10][0]++, activeTab === "unsplash") && (cov_2h3d0peoqk().b[10][1]++, /*#__PURE__*/React__default.createElement(UnsplashImagePicker, {
@@ -116168,7 +116255,7 @@ var LinkOption$1 = function LinkOption(_ref) {
116168
116255
  className: "neeto-editor-bubble-menu-link__input",
116169
116256
  "data-cy": "neeto-editor-link-input",
116170
116257
  name: "url",
116171
- placeholder: t("placeholders.link-input"),
116258
+ placeholder: t("placeholders.linkInput"),
116172
116259
  value: link,
116173
116260
  onChange: function onChange(_ref5) {
116174
116261
  var value = _ref5.target.value;
@@ -116319,7 +116406,7 @@ cov_1f30l00ho7().s[3]++;
116319
116406
 
116320
116407
  function cov_17cji89s6g() {
116321
116408
  var path = "/home/runner/work/neeto-editor/neeto-editor/src/components/Editor/Menu/Fixed/constants.js";
116322
- var hash = "d4b40b2a432dc23d2814c01d41bdc8a41d13c17f";
116409
+ var hash = "0d171f78d6b9fa675757eea0d67e3935108691d0";
116323
116410
  var global = new Function("return this")();
116324
116411
  var gcv = "__coverage__";
116325
116412
  var coverageData = {
@@ -117392,7 +117479,7 @@ function cov_17cji89s6g() {
117392
117479
  },
117393
117480
  end: {
117394
117481
  line: 76,
117395
- column: 59
117482
+ column: 58
117396
117483
  }
117397
117484
  },
117398
117485
  type: "binary-expr",
@@ -117412,7 +117499,7 @@ function cov_17cji89s6g() {
117412
117499
  },
117413
117500
  end: {
117414
117501
  line: 76,
117415
- column: 59
117502
+ column: 58
117416
117503
  }
117417
117504
  }],
117418
117505
  line: 76
@@ -117458,7 +117545,7 @@ function cov_17cji89s6g() {
117458
117545
  },
117459
117546
  end: {
117460
117547
  line: 90,
117461
- column: 57
117548
+ column: 56
117462
117549
  }
117463
117550
  },
117464
117551
  type: "binary-expr",
@@ -117478,7 +117565,7 @@ function cov_17cji89s6g() {
117478
117565
  },
117479
117566
  end: {
117480
117567
  line: 90,
117481
- column: 57
117568
+ column: 56
117482
117569
  }
117483
117570
  }],
117484
117571
  line: 90
@@ -117491,7 +117578,7 @@ function cov_17cji89s6g() {
117491
117578
  },
117492
117579
  end: {
117493
117580
  line: 100,
117494
- column: 61
117581
+ column: 60
117495
117582
  }
117496
117583
  },
117497
117584
  type: "binary-expr",
@@ -117511,7 +117598,7 @@ function cov_17cji89s6g() {
117511
117598
  },
117512
117599
  end: {
117513
117600
  line: 100,
117514
- column: 61
117601
+ column: 60
117515
117602
  }
117516
117603
  }],
117517
117604
  line: 100
@@ -117524,7 +117611,7 @@ function cov_17cji89s6g() {
117524
117611
  },
117525
117612
  end: {
117526
117613
  line: 108,
117527
- column: 61
117614
+ column: 60
117528
117615
  }
117529
117616
  },
117530
117617
  type: "binary-expr",
@@ -117544,7 +117631,7 @@ function cov_17cji89s6g() {
117544
117631
  },
117545
117632
  end: {
117546
117633
  line: 108,
117547
- column: 61
117634
+ column: 60
117548
117635
  }
117549
117636
  }],
117550
117637
  line: 108
@@ -117590,7 +117677,7 @@ function cov_17cji89s6g() {
117590
117677
  },
117591
117678
  end: {
117592
117679
  line: 123,
117593
- column: 61
117680
+ column: 60
117594
117681
  }
117595
117682
  },
117596
117683
  type: "binary-expr",
@@ -117610,7 +117697,7 @@ function cov_17cji89s6g() {
117610
117697
  },
117611
117698
  end: {
117612
117699
  line: 123,
117613
- column: 61
117700
+ column: 60
117614
117701
  }
117615
117702
  }],
117616
117703
  line: 123
@@ -117623,7 +117710,7 @@ function cov_17cji89s6g() {
117623
117710
  },
117624
117711
  end: {
117625
117712
  line: 129,
117626
- column: 61
117713
+ column: 60
117627
117714
  }
117628
117715
  },
117629
117716
  type: "binary-expr",
@@ -117643,7 +117730,7 @@ function cov_17cji89s6g() {
117643
117730
  },
117644
117731
  end: {
117645
117732
  line: 129,
117646
- column: 61
117733
+ column: 60
117647
117734
  }
117648
117735
  }],
117649
117736
  line: 129
@@ -117656,7 +117743,7 @@ function cov_17cji89s6g() {
117656
117743
  },
117657
117744
  end: {
117658
117745
  line: 135,
117659
- column: 59
117746
+ column: 58
117660
117747
  }
117661
117748
  },
117662
117749
  type: "binary-expr",
@@ -117676,7 +117763,7 @@ function cov_17cji89s6g() {
117676
117763
  },
117677
117764
  end: {
117678
117765
  line: 135,
117679
- column: 59
117766
+ column: 58
117680
117767
  }
117681
117768
  }],
117682
117769
  line: 135
@@ -117825,7 +117912,7 @@ function cov_17cji89s6g() {
117825
117912
  "15": [0, 0]
117826
117913
  },
117827
117914
  _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
117828
- hash: "d4b40b2a432dc23d2814c01d41bdc8a41d13c17f"
117915
+ hash: "0d171f78d6b9fa675757eea0d67e3935108691d0"
117829
117916
  };
117830
117917
  var coverage = global[gcv] || (global[gcv] = {});
117831
117918
  if (!coverage[path] || coverage[path].hash !== hash) {
@@ -117914,7 +118001,7 @@ var MENU_OPTIONS$1 = function MENU_OPTIONS(_ref2) {
117914
118001
  active: editor.isActive("blockquote"),
117915
118002
  optionName: "block-quote",
117916
118003
  highlight: true,
117917
- tooltip: (cov_17cji89s6g().b[5][0]++, tooltips.blockQuote) || (cov_17cji89s6g().b[5][1]++, t$2("menu.block-quote"))
118004
+ tooltip: (cov_17cji89s6g().b[5][0]++, tooltips.blockQuote) || (cov_17cji89s6g().b[5][1]++, t$2("menu.blockQuote"))
117918
118005
  }, {
117919
118006
  Icon: Code$1,
117920
118007
  command: function command() {
@@ -117934,7 +118021,7 @@ var MENU_OPTIONS$1 = function MENU_OPTIONS(_ref2) {
117934
118021
  },
117935
118022
  active: editor.isActive("codeBlock"),
117936
118023
  optionName: "code-block",
117937
- tooltip: (cov_17cji89s6g().b[7][0]++, tooltips.codeBlock) || (cov_17cji89s6g().b[7][1]++, t$2("menu.code-block"))
118024
+ tooltip: (cov_17cji89s6g().b[7][0]++, tooltips.codeBlock) || (cov_17cji89s6g().b[7][1]++, t$2("menu.codeBlock"))
117938
118025
  }],
117939
118026
  list: [{
117940
118027
  Icon: ListDot,
@@ -117946,7 +118033,7 @@ var MENU_OPTIONS$1 = function MENU_OPTIONS(_ref2) {
117946
118033
  active: editor.isActive("bulletList"),
117947
118034
  optionName: "bullet-list",
117948
118035
  highlight: true,
117949
- tooltip: (cov_17cji89s6g().b[8][0]++, tooltips.bulletList) || (cov_17cji89s6g().b[8][1]++, t$2("menu.bulleted-list"))
118036
+ tooltip: (cov_17cji89s6g().b[8][0]++, tooltips.bulletList) || (cov_17cji89s6g().b[8][1]++, t$2("menu.bulletedList"))
117950
118037
  }, {
117951
118038
  Icon: ListNumber,
117952
118039
  command: function command() {
@@ -117957,7 +118044,7 @@ var MENU_OPTIONS$1 = function MENU_OPTIONS(_ref2) {
117957
118044
  active: editor.isActive("orderedList"),
117958
118045
  optionName: "ordered-list",
117959
118046
  highlight: true,
117960
- tooltip: (cov_17cji89s6g().b[9][0]++, tooltips.orderedList) || (cov_17cji89s6g().b[9][1]++, t$2("menu.ordered-list"))
118047
+ tooltip: (cov_17cji89s6g().b[9][0]++, tooltips.orderedList) || (cov_17cji89s6g().b[9][1]++, t$2("menu.orderedList"))
117961
118048
  }],
117962
118049
  misc: [{
117963
118050
  Icon: FileAttachments,
@@ -117973,7 +118060,7 @@ var MENU_OPTIONS$1 = function MENU_OPTIONS(_ref2) {
117973
118060
  return setMediaUploader(assoc("image", true));
117974
118061
  },
117975
118062
  optionName: "image-upload",
117976
- tooltip: (cov_17cji89s6g().b[11][0]++, tooltips.imageUpload) || (cov_17cji89s6g().b[11][1]++, t$2("menu.image-upload"))
118063
+ tooltip: (cov_17cji89s6g().b[11][0]++, tooltips.imageUpload) || (cov_17cji89s6g().b[11][1]++, t$2("menu.imageUpload"))
117977
118064
  }, {
117978
118065
  Icon: Video,
117979
118066
  command: function command() {
@@ -117982,7 +118069,7 @@ var MENU_OPTIONS$1 = function MENU_OPTIONS(_ref2) {
117982
118069
  return setMediaUploader(assoc("video", true));
117983
118070
  },
117984
118071
  optionName: "video-upload",
117985
- tooltip: (cov_17cji89s6g().b[12][0]++, tooltips.videoUpload) || (cov_17cji89s6g().b[12][1]++, t$2("menu.video-upload"))
118072
+ tooltip: (cov_17cji89s6g().b[12][0]++, tooltips.videoUpload) || (cov_17cji89s6g().b[12][1]++, t$2("menu.videoUpload"))
117986
118073
  }, {
117987
118074
  Icon: MediaVideo,
117988
118075
  command: function command() {
@@ -117991,7 +118078,7 @@ var MENU_OPTIONS$1 = function MENU_OPTIONS(_ref2) {
117991
118078
  return setIsEmbedModalOpen(true);
117992
118079
  },
117993
118080
  optionName: "video-embed",
117994
- tooltip: (cov_17cji89s6g().b[13][0]++, tooltips.videoEmbed) || (cov_17cji89s6g().b[13][1]++, t$2("menu.video-embed"))
118081
+ tooltip: (cov_17cji89s6g().b[13][0]++, tooltips.videoEmbed) || (cov_17cji89s6g().b[13][1]++, t$2("menu.videoEmbed"))
117995
118082
  }],
117996
118083
  right: [{
117997
118084
  Icon: Undo,
@@ -118041,49 +118128,49 @@ var TABLE_ACTIONS = function TABLE_ACTIONS(_ref3) {
118041
118128
  cov_17cji89s6g().f[16]++;
118042
118129
  cov_17cji89s6g().s[20]++;
118043
118130
  return [{
118044
- label: t$2("table.insert-row"),
118131
+ label: t$2("table.insertRow"),
118045
118132
  command: function command() {
118046
118133
  cov_17cji89s6g().f[17]++;
118047
118134
  cov_17cji89s6g().s[21]++;
118048
118135
  return editor.commands.addRowAfter();
118049
118136
  }
118050
118137
  }, {
118051
- label: t$2("table.insert-column"),
118138
+ label: t$2("table.insertColumn"),
118052
118139
  command: function command() {
118053
118140
  cov_17cji89s6g().f[18]++;
118054
118141
  cov_17cji89s6g().s[22]++;
118055
118142
  return editor.commands.addColumnAfter();
118056
118143
  }
118057
118144
  }, {
118058
- label: t$2("table.delete-row"),
118145
+ label: t$2("table.deleteRow"),
118059
118146
  command: function command() {
118060
118147
  cov_17cji89s6g().f[19]++;
118061
118148
  cov_17cji89s6g().s[23]++;
118062
118149
  return editor.chain().focus().deleteRow().run();
118063
118150
  }
118064
118151
  }, {
118065
- label: t$2("table.delete-column"),
118152
+ label: t$2("table.deleteColumn"),
118066
118153
  command: function command() {
118067
118154
  cov_17cji89s6g().f[20]++;
118068
118155
  cov_17cji89s6g().s[24]++;
118069
118156
  return editor.chain().focus().deleteColumn().run();
118070
118157
  }
118071
118158
  }, {
118072
- label: t$2("table.merge-split"),
118159
+ label: t$2("table.mergeSplit"),
118073
118160
  command: function command() {
118074
118161
  cov_17cji89s6g().f[21]++;
118075
118162
  cov_17cji89s6g().s[25]++;
118076
118163
  return editor.chain().focus().mergeOrSplit().run();
118077
118164
  }
118078
118165
  }, {
118079
- label: t$2("table.toggle-header-row"),
118166
+ label: t$2("table.toggleHeaderRow"),
118080
118167
  command: function command() {
118081
118168
  cov_17cji89s6g().f[22]++;
118082
118169
  cov_17cji89s6g().s[26]++;
118083
118170
  return editor.chain().focus().toggleHeaderRow().run();
118084
118171
  }
118085
118172
  }, {
118086
- label: t$2("table.toggle-header-column"),
118173
+ label: t$2("table.toggleHeaderColumn"),
118087
118174
  command: function command() {
118088
118175
  cov_17cji89s6g().f[23]++;
118089
118176
  cov_17cji89s6g().s[27]++;
@@ -122396,7 +122483,7 @@ var FontSizeOption = function FontSizeOption(_ref2) {
122396
122483
 
122397
122484
  function cov_7xzegtncw() {
122398
122485
  var path = "/home/runner/work/neeto-editor/neeto-editor/src/components/Editor/Menu/Fixed/LinkOption.jsx";
122399
- var hash = "4ed010b444d80b8b14b8ce58540c74889ce81380";
122486
+ var hash = "b40876235344144786bc2e8c21e4b67359f1e3b4";
122400
122487
  var global = new Function("return this")();
122401
122488
  var gcv = "__coverage__";
122402
122489
  var coverageData = {
@@ -122649,7 +122736,7 @@ function cov_7xzegtncw() {
122649
122736
  },
122650
122737
  end: {
122651
122738
  line: 44,
122652
- column: 39
122739
+ column: 38
122653
122740
  }
122654
122741
  },
122655
122742
  "25": {
@@ -123161,7 +123248,7 @@ function cov_7xzegtncw() {
123161
123248
  "4": [0, 0]
123162
123249
  },
123163
123250
  _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
123164
- hash: "4ed010b444d80b8b14b8ce58540c74889ce81380"
123251
+ hash: "b40876235344144786bc2e8c21e4b67359f1e3b4"
123165
123252
  };
123166
123253
  var coverage = global[gcv] || (global[gcv] = {});
123167
123254
  if (!coverage[path] || coverage[path].hash !== hash) {
@@ -123256,7 +123343,7 @@ var LinkOption = function LinkOption(_ref2) {
123256
123343
  } else {
123257
123344
  cov_7xzegtncw().b[2][1]++;
123258
123345
  cov_7xzegtncw().s[24]++;
123259
- setError(t("error.invalid-url"));
123346
+ setError(t("error.invalidUrl"));
123260
123347
  }
123261
123348
  };
123262
123349
  cov_7xzegtncw().s[25]++;
@@ -124070,7 +124157,7 @@ var TableOption = function TableOption(_ref2) {
124070
124157
 
124071
124158
  function cov_2dwl7m23tl() {
124072
124159
  var path = "/home/runner/work/neeto-editor/neeto-editor/src/components/Editor/Menu/Fixed/index.jsx";
124073
- var hash = "19d2fe0b157249a3b54a37ae85665381dbe612c0";
124160
+ var hash = "01f1a1ced31d5bd4340f754c46c77b5a2bc5c434";
124074
124161
  var global = new Function("return this")();
124075
124162
  var gcv = "__coverage__";
124076
124163
  var coverageData = {
@@ -124549,7 +124636,7 @@ function cov_2dwl7m23tl() {
124549
124636
  },
124550
124637
  end: {
124551
124638
  line: 87,
124552
- column: 68
124639
+ column: 67
124553
124640
  }
124554
124641
  },
124555
124642
  type: "binary-expr",
@@ -124569,7 +124656,7 @@ function cov_2dwl7m23tl() {
124569
124656
  },
124570
124657
  end: {
124571
124658
  line: 87,
124572
- column: 68
124659
+ column: 67
124573
124660
  }
124574
124661
  }],
124575
124662
  line: 87
@@ -124917,7 +125004,7 @@ function cov_2dwl7m23tl() {
124917
125004
  "17": [0, 0]
124918
125005
  },
124919
125006
  _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
124920
- hash: "19d2fe0b157249a3b54a37ae85665381dbe612c0"
125007
+ hash: "01f1a1ced31d5bd4340f754c46c77b5a2bc5c434"
124921
125008
  };
124922
125009
  var coverage = global[gcv] || (global[gcv] = {});
124923
125010
  if (!coverage[path] || coverage[path].hash !== hash) {
@@ -125012,7 +125099,7 @@ var Fixed = function Fixed(_ref) {
125012
125099
  className: "neeto-editor-fixed-menu__wrapper"
125013
125100
  }, (cov_2dwl7m23tl().b[7][0]++, isFontSizeActive) && (cov_2dwl7m23tl().b[7][1]++, /*#__PURE__*/React__default.createElement(FontSizeOption, {
125014
125101
  editor: editor,
125015
- tooltipContent: (cov_2dwl7m23tl().b[8][0]++, tooltips.fontSize) || (cov_2dwl7m23tl().b[8][1]++, t("menu.font-size"))
125102
+ tooltipContent: (cov_2dwl7m23tl().b[8][0]++, tooltips.fontSize) || (cov_2dwl7m23tl().b[8][1]++, t("menu.fontSize"))
125016
125103
  })), fontStyleOptions.map(renderOptionButton), blockStyleOptions.map(renderOptionButton), (cov_2dwl7m23tl().b[9][0]++, isEmojiActive) && (cov_2dwl7m23tl().b[9][1]++, /*#__PURE__*/React__default.createElement(EmojiOption, {
125017
125104
  editor: editor,
125018
125105
  isActive: isEmojiPickerActive,
@@ -125041,7 +125128,7 @@ var Fixed = function Fixed(_ref) {
125041
125128
  buttonSize: "small",
125042
125129
  buttonProps: {
125043
125130
  tooltipProps: {
125044
- content: t("menu.dynamic-variables"),
125131
+ content: t("menu.dynamicVariables"),
125045
125132
  position: "bottom"
125046
125133
  }
125047
125134
  }
@@ -126388,7 +126475,7 @@ var Option = function Option(_ref) {
126388
126475
 
126389
126476
  function cov_1fwd2t6om3() {
126390
126477
  var path = "/home/runner/work/neeto-editor/neeto-editor/src/components/Editor/Menu/Headless/constants.js";
126391
- var hash = "c553660c61b18dae7801bfd8bb19735812339342";
126478
+ var hash = "4d324caf086e7c0bc37cc554c90c435def28fed3";
126392
126479
  var global = new Function("return this")();
126393
126480
  var gcv = "__coverage__";
126394
126481
  var coverageData = {
@@ -127169,7 +127256,7 @@ function cov_1fwd2t6om3() {
127169
127256
  },
127170
127257
  end: {
127171
127258
  line: 76,
127172
- column: 57
127259
+ column: 56
127173
127260
  }
127174
127261
  },
127175
127262
  type: "binary-expr",
@@ -127189,7 +127276,7 @@ function cov_1fwd2t6om3() {
127189
127276
  },
127190
127277
  end: {
127191
127278
  line: 76,
127192
- column: 57
127279
+ column: 56
127193
127280
  }
127194
127281
  }],
127195
127282
  line: 76
@@ -127235,7 +127322,7 @@ function cov_1fwd2t6om3() {
127235
127322
  },
127236
127323
  end: {
127237
127324
  line: 90,
127238
- column: 55
127325
+ column: 54
127239
127326
  }
127240
127327
  },
127241
127328
  type: "binary-expr",
@@ -127255,7 +127342,7 @@ function cov_1fwd2t6om3() {
127255
127342
  },
127256
127343
  end: {
127257
127344
  line: 90,
127258
- column: 55
127345
+ column: 54
127259
127346
  }
127260
127347
  }],
127261
127348
  line: 90
@@ -127268,7 +127355,7 @@ function cov_1fwd2t6om3() {
127268
127355
  },
127269
127356
  end: {
127270
127357
  line: 97,
127271
- column: 59
127358
+ column: 58
127272
127359
  }
127273
127360
  },
127274
127361
  type: "binary-expr",
@@ -127288,7 +127375,7 @@ function cov_1fwd2t6om3() {
127288
127375
  },
127289
127376
  end: {
127290
127377
  line: 97,
127291
- column: 59
127378
+ column: 58
127292
127379
  }
127293
127380
  }],
127294
127381
  line: 97
@@ -127301,7 +127388,7 @@ function cov_1fwd2t6om3() {
127301
127388
  },
127302
127389
  end: {
127303
127390
  line: 104,
127304
- column: 59
127391
+ column: 58
127305
127392
  }
127306
127393
  },
127307
127394
  type: "binary-expr",
@@ -127321,7 +127408,7 @@ function cov_1fwd2t6om3() {
127321
127408
  },
127322
127409
  end: {
127323
127410
  line: 104,
127324
- column: 59
127411
+ column: 58
127325
127412
  }
127326
127413
  }],
127327
127414
  line: 104
@@ -127367,7 +127454,7 @@ function cov_1fwd2t6om3() {
127367
127454
  },
127368
127455
  end: {
127369
127456
  line: 116,
127370
- column: 59
127457
+ column: 58
127371
127458
  }
127372
127459
  },
127373
127460
  type: "binary-expr",
@@ -127387,7 +127474,7 @@ function cov_1fwd2t6om3() {
127387
127474
  },
127388
127475
  end: {
127389
127476
  line: 116,
127390
- column: 59
127477
+ column: 58
127391
127478
  }
127392
127479
  }],
127393
127480
  line: 116
@@ -127400,7 +127487,7 @@ function cov_1fwd2t6om3() {
127400
127487
  },
127401
127488
  end: {
127402
127489
  line: 122,
127403
- column: 59
127490
+ column: 58
127404
127491
  }
127405
127492
  },
127406
127493
  type: "binary-expr",
@@ -127420,7 +127507,7 @@ function cov_1fwd2t6om3() {
127420
127507
  },
127421
127508
  end: {
127422
127509
  line: 122,
127423
- column: 59
127510
+ column: 58
127424
127511
  }
127425
127512
  }],
127426
127513
  line: 122
@@ -127433,7 +127520,7 @@ function cov_1fwd2t6om3() {
127433
127520
  },
127434
127521
  end: {
127435
127522
  line: 128,
127436
- column: 57
127523
+ column: 56
127437
127524
  }
127438
127525
  },
127439
127526
  type: "binary-expr",
@@ -127453,7 +127540,7 @@ function cov_1fwd2t6om3() {
127453
127540
  },
127454
127541
  end: {
127455
127542
  line: 128,
127456
- column: 57
127543
+ column: 56
127457
127544
  }
127458
127545
  }],
127459
127546
  line: 128
@@ -127652,7 +127739,7 @@ function cov_1fwd2t6om3() {
127652
127739
  "17": [0, 0]
127653
127740
  },
127654
127741
  _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
127655
- hash: "c553660c61b18dae7801bfd8bb19735812339342"
127742
+ hash: "4d324caf086e7c0bc37cc554c90c435def28fed3"
127656
127743
  };
127657
127744
  var coverage = global[gcv] || (global[gcv] = {});
127658
127745
  if (!coverage[path] || coverage[path].hash !== hash) {
@@ -127740,7 +127827,7 @@ var MENU_OPTIONS = function MENU_OPTIONS(_ref2) {
127740
127827
  },
127741
127828
  active: editor.isActive("blockquote"),
127742
127829
  optionName: "block-quote",
127743
- tooltip: (cov_1fwd2t6om3().b[5][0]++, tooltips.blockQuote) || (cov_1fwd2t6om3().b[5][1]++, t("menu.block-quote"))
127830
+ tooltip: (cov_1fwd2t6om3().b[5][0]++, tooltips.blockQuote) || (cov_1fwd2t6om3().b[5][1]++, t("menu.blockQuote"))
127744
127831
  }, {
127745
127832
  Icon: Code$1,
127746
127833
  command: function command() {
@@ -127760,7 +127847,7 @@ var MENU_OPTIONS = function MENU_OPTIONS(_ref2) {
127760
127847
  },
127761
127848
  active: editor.isActive("codeBlock"),
127762
127849
  optionName: "code-block",
127763
- tooltip: (cov_1fwd2t6om3().b[7][0]++, tooltips.codeBlock) || (cov_1fwd2t6om3().b[7][1]++, t("menu.code-block"))
127850
+ tooltip: (cov_1fwd2t6om3().b[7][0]++, tooltips.codeBlock) || (cov_1fwd2t6om3().b[7][1]++, t("menu.codeBlock"))
127764
127851
  }, {
127765
127852
  Icon: ListDot,
127766
127853
  command: function command() {
@@ -127770,7 +127857,7 @@ var MENU_OPTIONS = function MENU_OPTIONS(_ref2) {
127770
127857
  },
127771
127858
  active: editor.isActive("bulletList"),
127772
127859
  optionName: "bullet-list",
127773
- tooltip: (cov_1fwd2t6om3().b[8][0]++, tooltips.bulletList) || (cov_1fwd2t6om3().b[8][1]++, t("menu.bulleted-list"))
127860
+ tooltip: (cov_1fwd2t6om3().b[8][0]++, tooltips.bulletList) || (cov_1fwd2t6om3().b[8][1]++, t("menu.bulletedList"))
127774
127861
  }, {
127775
127862
  Icon: ListNumber,
127776
127863
  command: function command() {
@@ -127780,7 +127867,7 @@ var MENU_OPTIONS = function MENU_OPTIONS(_ref2) {
127780
127867
  },
127781
127868
  active: editor.isActive("orderedList"),
127782
127869
  optionName: "ordered-list",
127783
- tooltip: (cov_1fwd2t6om3().b[9][0]++, tooltips.orderedList) || (cov_1fwd2t6om3().b[9][1]++, t("menu.ordered-list"))
127870
+ tooltip: (cov_1fwd2t6om3().b[9][0]++, tooltips.orderedList) || (cov_1fwd2t6om3().b[9][1]++, t("menu.orderedList"))
127784
127871
  }, {
127785
127872
  Icon: File$2,
127786
127873
  command: handleUploadAttachments,
@@ -127794,7 +127881,7 @@ var MENU_OPTIONS = function MENU_OPTIONS(_ref2) {
127794
127881
  return setMediaUploader(assoc("image", true));
127795
127882
  },
127796
127883
  optionName: "image-upload",
127797
- tooltip: (cov_1fwd2t6om3().b[11][0]++, tooltips.imageUpload) || (cov_1fwd2t6om3().b[11][1]++, t("menu.image-upload"))
127884
+ tooltip: (cov_1fwd2t6om3().b[11][0]++, tooltips.imageUpload) || (cov_1fwd2t6om3().b[11][1]++, t("menu.imageUpload"))
127798
127885
  }, {
127799
127886
  Icon: Video,
127800
127887
  command: function command() {
@@ -127803,7 +127890,7 @@ var MENU_OPTIONS = function MENU_OPTIONS(_ref2) {
127803
127890
  return setMediaUploader(assoc("video", true));
127804
127891
  },
127805
127892
  optionName: "video-upload",
127806
- tooltip: (cov_1fwd2t6om3().b[12][0]++, tooltips.videoUpload) || (cov_1fwd2t6om3().b[12][1]++, t("menu.video-upload"))
127893
+ tooltip: (cov_1fwd2t6om3().b[12][0]++, tooltips.videoUpload) || (cov_1fwd2t6om3().b[12][1]++, t("menu.videoUpload"))
127807
127894
  }, {
127808
127895
  Icon: MediaVideo,
127809
127896
  command: function command() {
@@ -127812,7 +127899,7 @@ var MENU_OPTIONS = function MENU_OPTIONS(_ref2) {
127812
127899
  return setIsEmbedModalOpen(true);
127813
127900
  },
127814
127901
  optionName: "video-embed",
127815
- tooltip: (cov_1fwd2t6om3().b[13][0]++, tooltips.videoEmbed) || (cov_1fwd2t6om3().b[13][1]++, t("menu.video-embed"))
127902
+ tooltip: (cov_1fwd2t6om3().b[13][0]++, tooltips.videoEmbed) || (cov_1fwd2t6om3().b[13][1]++, t("menu.videoEmbed"))
127816
127903
  }, {
127817
127904
  Icon: Smiley,
127818
127905
  command: noop$2,