@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20230830.0 → 0.0.0-nightly-20230901.0

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 (112) hide show
  1. package/build/track-changes.js +1 -1
  2. package/lang/translations/ar.po +1 -0
  3. package/lang/translations/az.po +1 -0
  4. package/lang/translations/bg.po +1 -0
  5. package/lang/translations/bn.po +1 -0
  6. package/lang/translations/ca.po +1 -0
  7. package/lang/translations/cs.po +1 -0
  8. package/lang/translations/da.po +1 -0
  9. package/lang/translations/de.po +1 -0
  10. package/lang/translations/el.po +1 -0
  11. package/lang/translations/en-au.po +1 -0
  12. package/lang/translations/en.po +1 -0
  13. package/lang/translations/es.po +1 -0
  14. package/lang/translations/et.po +1 -0
  15. package/lang/translations/fi.po +1 -0
  16. package/lang/translations/fr.po +1 -0
  17. package/lang/translations/gl.po +1 -0
  18. package/lang/translations/he.po +1 -0
  19. package/lang/translations/hi.po +1 -0
  20. package/lang/translations/hr.po +1 -0
  21. package/lang/translations/hu.po +1 -0
  22. package/lang/translations/id.po +1 -0
  23. package/lang/translations/it.po +1 -0
  24. package/lang/translations/ja.po +1 -0
  25. package/lang/translations/ko.po +1 -0
  26. package/lang/translations/lt.po +1 -0
  27. package/lang/translations/lv.po +1 -0
  28. package/lang/translations/ms.po +1 -0
  29. package/lang/translations/nl.po +1 -0
  30. package/lang/translations/no.po +1 -0
  31. package/lang/translations/pl.po +1 -0
  32. package/lang/translations/pt-br.po +1 -0
  33. package/lang/translations/pt.po +1 -0
  34. package/lang/translations/ro.po +1 -0
  35. package/lang/translations/ru.po +1 -0
  36. package/lang/translations/sk.po +1 -0
  37. package/lang/translations/sq.po +1 -0
  38. package/lang/translations/sr-latn.po +1 -0
  39. package/lang/translations/sr.po +1 -0
  40. package/lang/translations/sv.po +1 -0
  41. package/lang/translations/th.po +1 -0
  42. package/lang/translations/tk.po +1 -0
  43. package/lang/translations/tr.po +1 -0
  44. package/lang/translations/tt.po +1 -0
  45. package/lang/translations/uk.po +1 -0
  46. package/lang/translations/ur.po +1 -0
  47. package/lang/translations/vi.po +1 -0
  48. package/lang/translations/zh-cn.po +1 -0
  49. package/lang/translations/zh.po +1 -0
  50. package/package.json +3 -3
  51. package/src/commands/acceptsuggestioncommand.js +1 -1
  52. package/src/commands/discardsuggestioncommand.js +1 -1
  53. package/src/commands/executeonallsuggestionscommand.js +1 -1
  54. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  55. package/src/commands/trackchangescommand.js +1 -1
  56. package/src/integrations/alignment.js +1 -1
  57. package/src/integrations/basicstyles.js +1 -1
  58. package/src/integrations/blockquote.js +1 -1
  59. package/src/integrations/ckbox.js +1 -1
  60. package/src/integrations/codeblock.js +1 -1
  61. package/src/integrations/comments.js +1 -1
  62. package/src/integrations/deletecommand.js +1 -1
  63. package/src/integrations/documentlist.js +1 -1
  64. package/src/integrations/documentlistproperties.js +1 -1
  65. package/src/integrations/entercommand.js +1 -1
  66. package/src/integrations/findandreplace.js +1 -1
  67. package/src/integrations/font.js +1 -1
  68. package/src/integrations/formatpainter.js +1 -1
  69. package/src/integrations/heading.js +1 -1
  70. package/src/integrations/highlight.js +1 -1
  71. package/src/integrations/horizontalline.js +1 -1
  72. package/src/integrations/htmlembed.js +1 -1
  73. package/src/integrations/image.js +1 -1
  74. package/src/integrations/imagereplace.js +1 -1
  75. package/src/integrations/importword.js +1 -1
  76. package/src/integrations/indent.js +1 -1
  77. package/src/integrations/inputcommand.js +1 -1
  78. package/src/integrations/link.js +1 -1
  79. package/src/integrations/list.js +1 -1
  80. package/src/integrations/listproperties.js +1 -1
  81. package/src/integrations/mediaembed.js +1 -1
  82. package/src/integrations/mention.js +1 -1
  83. package/src/integrations/pagebreak.js +1 -1
  84. package/src/integrations/paragraph.js +1 -1
  85. package/src/integrations/removeformat.js +1 -1
  86. package/src/integrations/restrictededitingmode.js +1 -1
  87. package/src/integrations/shiftentercommand.js +1 -1
  88. package/src/integrations/standardeditingmode.js +1 -1
  89. package/src/integrations/style.js +1 -1
  90. package/src/integrations/table.js +1 -1
  91. package/src/integrations/tablecaption.js +1 -1
  92. package/src/integrations/tableclipboard.js +1 -1
  93. package/src/integrations/tablecolumnresize.js +1 -1
  94. package/src/integrations/tableheadings.js +1 -1
  95. package/src/integrations/tablemergesplit.js +1 -1
  96. package/src/integrations/tableofcontents.js +1 -1
  97. package/src/integrations/tableproperties.js +1 -1
  98. package/src/integrations/template.js +1 -1
  99. package/src/integrations/title.js +1 -1
  100. package/src/integrations/undo.js +1 -1
  101. package/src/integrations/utils.js +1 -1
  102. package/src/suggestion.js +1 -1
  103. package/src/suggestiondescriptionfactory.js +1 -1
  104. package/src/trackchanges.js +1 -1
  105. package/src/trackchangesdata.js +1 -1
  106. package/src/trackchangesediting.js +1 -1
  107. package/src/trackchangesui.js +1 -1
  108. package/src/ui/suggestioncontroller.js +1 -1
  109. package/src/ui/view/basesuggestionthreadview.js +1 -1
  110. package/src/ui/view/suggestionthreadview.js +1 -1
  111. package/src/utils/common-translations.js +1 -1
  112. package/src/utils/utils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2db5=['setTableColumnHeader','activeMarkers','setTableRowHeader','getChild','editing','nodeAfter','createPositionAfter','cell','downcastDispatcher','document','options','stop','index','consume','highest','has','TrackChangesEditing','commandParams','model','formatBlock','forceValue','last','getCellLocation','*Format:*\x20%0','value','bindElementToMarker','commands','createTableWalker','FORMAT_HEADER_ROW','headingColumns','locale','getSuggestion','_splitMarkerName','removeClass','writer','table','showSuggestionHighlights','createRange','TableUtils','editor','markerName','FORMAT_REGULAR_COLUMN','setAttribute','registerDescriptionCallback','parent','isBefore','unbindElementFromMarkerName','name','first','TableEditing','getAttribute','markerNameToElements','ck-suggestion-marker-','removeMarker:suggestion','markerRange','FORMAT_REGULAR_ROW','mapper','getSelectionAffectedTableCells','getColumnIndexes','selection','commandName','data','markBlockFormat','getRowIndexes','change','accept','enableCommand','removeAttribute','includes','addMarker:suggestion','plugins','consumable','data-suggestion','childCount','_suggestionFactory','format','get','createPositionBefore','registerCustomCallback','item','ck-suggestion-marker--active','start','_acceptFormatSuggestionCallbackFactory','end','requires'];(function(_0x1acd02,_0x2db5ed){const _0x4a0b31=function(_0x43fb38){while(--_0x43fb38){_0x1acd02['push'](_0x1acd02['shift']());}};_0x4a0b31(++_0x2db5ed);}(_0x2db5,0xd4));const _0x4a0b=function(_0x1acd02,_0x2db5ed){_0x1acd02=_0x1acd02-0x0;let _0x4a0b31=_0x2db5[_0x1acd02];return _0x4a0b31;};import{Plugin as _0x502395}from'ckeditor5/src/core';import _0x33a1dc from'./table';import{getTranslation as _0x3b2044}from'../utils/common-translations';export default class pt extends _0x502395{static get[_0x4a0b('0x2a')](){return[_0x33a1dc];}['afterInit'](){const _0x106256=this[_0x4a0b('0x52')];if(!_0x106256[_0x4a0b('0x1c')][_0x4a0b('0x3a')](_0x4a0b('0x7')))return;const _0x341fb2=_0x106256[_0x4a0b('0x49')],_0x33fe29=_0x106256['plugins'][_0x4a0b('0x22')](_0x4a0b('0x3b')),_0x13164b=_0x106256[_0x4a0b('0x1c')][_0x4a0b('0x22')]('TableUtils'),_0x63f2fa=_0x106256[_0x4a0b('0x1c')][_0x4a0b('0x22')](_0x33a1dc);function _0x471ac8({showActiveMarker:_0x4169ad=!0x0,setDataAttribute:_0x45291c=!0x0}={}){return(_0x56bf0c,_0x56e664,_0x11a268)=>{const {type:_0x574be0,id:_0x1e7ba4}=_0x33fe29[_0x4a0b('0x4b')](_0x56e664[_0x4a0b('0x53')]),_0x4a39f5=_0x33fe29['getSuggestion'](_0x1e7ba4);if(!_0x4a39f5[_0x4a0b('0x13')]||_0x4a0b('0x2b')!=_0x4a39f5['data']['commandName'])return;if(_0x56e664[_0x4a0b('0x25')])return void _0x56bf0c[_0x4a0b('0x36')]();if(!_0x11a268[_0x4a0b('0x1d')][_0x4a0b('0x38')](_0x56e664['markerRange'],_0x56bf0c[_0x4a0b('0x5')]))return;const _0x501c4f=_0x56e664[_0x4a0b('0xc')][_0x4a0b('0x27')][_0x4a0b('0x30')],_0x1e0459=_0x56e664[_0x4a0b('0xc')][_0x4a0b('0x29')]['nodeBefore'],_0x23bb06=_0x501c4f[_0x4a0b('0x2')][_0x4a0b('0x2')],{column:_0x119889}=_0x13164b[_0x4a0b('0x41')](_0x501c4f),{column:_0x2f146e}=_0x13164b[_0x4a0b('0x41')](_0x1e0459);for(let _0x9dcbe8=_0x119889;_0x9dcbe8<=_0x2f146e;_0x9dcbe8++){const _0x2b89a9=_0x13164b[_0x4a0b('0x46')](_0x23bb06,{'column':_0x9dcbe8,'includeAllSlots':!0x1});for(const _0x15f581 of _0x2b89a9){const _0x198bfe=_0x15f581[_0x4a0b('0x32')],_0x1605d6=_0x11a268[_0x4a0b('0xe')]['toViewElement'](_0x198bfe);_0x11a268[_0x4a0b('0x4d')]['addClass'](_0x4a0b('0xa')+_0x574be0,_0x1605d6),_0x45291c&&_0x11a268['writer'][_0x4a0b('0x0')](_0x4a0b('0x1e'),_0x1e7ba4,_0x1605d6),_0x11a268[_0x4a0b('0xe')][_0x4a0b('0x44')](_0x1605d6,_0x56e664['markerName']),_0x4169ad&&(_0x33fe29[_0x4a0b('0x2c')][_0x4a0b('0x1a')](_0x56e664['markerName'])?_0x11a268[_0x4a0b('0x4d')]['addClass']('ck-suggestion-marker--active',_0x1605d6):_0x11a268['writer'][_0x4a0b('0x4c')](_0x4a0b('0x26'),_0x1605d6));}}};}_0x33fe29[_0x4a0b('0x18')](_0x4a0b('0x2d'),(_0x5cb53e,_0x29f43a)=>{const _0x52db16=_0x13164b[_0x4a0b('0xf')](_0x106256['model'][_0x4a0b('0x34')][_0x4a0b('0x11')]),_0x1558f1=_0x13164b[_0x4a0b('0x15')](_0x52db16),_0x7d408d=_0x52db16[0x0]['findAncestor'](_0x4a0b('0x4e')),_0x1b5875=_0x7d408d[_0x4a0b('0x8')]('headingRows')||0x0,_0x3b7cf0=_0x29f43a&&null!==_0x29f43a[_0x4a0b('0x3f')]?_0x29f43a['forceValue']:!_0x106256['commands'][_0x4a0b('0x22')](_0x4a0b('0x2d'))[_0x4a0b('0x43')],_0x2b4778=_0x3b7cf0?_0x1558f1[_0x4a0b('0x40')]:_0x1558f1[_0x4a0b('0x6')],_0x4ed439=_0x7d408d[_0x4a0b('0x2e')](_0x2b4778);let _0x35a3b7;if(_0x3b7cf0){const _0x3f1df7=_0x7d408d[_0x4a0b('0x2e')](_0x1b5875);if(_0x4ed439[_0x4a0b('0x37')]<_0x3f1df7[_0x4a0b('0x37')])return;_0x35a3b7=_0x106256[_0x4a0b('0x3d')]['createRange'](_0x106256[_0x4a0b('0x3d')][_0x4a0b('0x23')](_0x3f1df7[_0x4a0b('0x2e')](0x0)),_0x106256['model'][_0x4a0b('0x31')](_0x4ed439[_0x4a0b('0x2e')](_0x4ed439[_0x4a0b('0x1f')]-0x1)));}else{const _0x3fd886=_0x7d408d[_0x4a0b('0x2e')](_0x1b5875-0x1);if(!_0x3fd886)return;_0x35a3b7=_0x106256[_0x4a0b('0x3d')][_0x4a0b('0x50')](_0x106256['model']['createPositionBefore'](_0x4ed439[_0x4a0b('0x2e')](0x0)),_0x106256[_0x4a0b('0x3d')][_0x4a0b('0x31')](_0x3fd886[_0x4a0b('0x2e')](_0x3fd886[_0x4a0b('0x1f')]-0x1)));}_0x106256[_0x4a0b('0x3d')][_0x4a0b('0x16')](()=>{_0x33fe29[_0x4a0b('0x14')](_0x35a3b7,{'commandName':_0x4a0b('0x2d'),'commandParams':[{'forceValue':_0x3b7cf0}]},[],_0x4a0b('0x2d'));});}),_0x33fe29['enableCommand']('setTableColumnHeader',(_0x4d07c,_0x3596cf)=>{const _0x3cea69=_0x106256[_0x4a0b('0x1c')][_0x4a0b('0x22')](_0x4a0b('0x51')),_0x19b4a1=_0x3cea69['getSelectionAffectedTableCells'](_0x106256[_0x4a0b('0x3d')][_0x4a0b('0x34')][_0x4a0b('0x11')]),_0x448b28=_0x3cea69[_0x4a0b('0x10')](_0x19b4a1),_0x17d7b6=_0x19b4a1[0x0]['findAncestor'](_0x4a0b('0x4e')),_0xe97da5=_0x17d7b6[_0x4a0b('0x8')](_0x4a0b('0x48'))||0x0,_0x3278bd=_0x3596cf&&null!==_0x3596cf[_0x4a0b('0x3f')]?_0x3596cf[_0x4a0b('0x3f')]:!_0x106256[_0x4a0b('0x45')][_0x4a0b('0x22')](_0x4a0b('0x2b'))[_0x4a0b('0x43')];let _0x77836d;const _0x1f801f=_0x17d7b6['getChild'](0x0),_0x260110=_0x3278bd?_0x448b28[_0x4a0b('0x40')]:_0x448b28[_0x4a0b('0x6')],_0x4acc9a=_0x3cea69['createTableWalker'](_0x17d7b6,{'startRow':0x0,'column':_0x260110,'includeAllSlots':!0x1}),_0x2052ca=Array['from'](_0x4acc9a)[0x0][_0x4a0b('0x32')];if(_0x3278bd){const _0x10c77a=_0x1f801f[_0x4a0b('0x2e')](_0xe97da5);if(_0x2052ca[_0x4a0b('0x3')](_0x10c77a))return;_0x77836d=_0x106256[_0x4a0b('0x3d')][_0x4a0b('0x50')](_0x106256[_0x4a0b('0x3d')][_0x4a0b('0x23')](_0x10c77a),_0x106256[_0x4a0b('0x3d')][_0x4a0b('0x31')](_0x2052ca));}else{const _0x48f93d=_0x1f801f[_0x4a0b('0x2e')](_0xe97da5-0x1);if(!_0x48f93d)return;_0x77836d=_0x106256[_0x4a0b('0x3d')][_0x4a0b('0x50')](_0x106256[_0x4a0b('0x3d')][_0x4a0b('0x23')](_0x2052ca),_0x106256[_0x4a0b('0x3d')]['createPositionAfter'](_0x48f93d));}_0x106256['model'][_0x4a0b('0x16')](()=>{_0x33fe29[_0x4a0b('0x14')](_0x77836d,{'commandName':_0x4a0b('0x2b'),'commandParams':[{'forceValue':_0x3278bd}]},[],_0x4a0b('0x2b'));});}),_0x106256[_0x4a0b('0x2f')]['downcastDispatcher']['on'](_0x4a0b('0x1b'),_0x471ac8(),{'priority':_0x4a0b('0x39')}),_0x106256[_0x4a0b('0x13')][_0x4a0b('0x33')]['on']('addMarker:suggestion',(_0x11c195,_0x64a220,_0x13b3e5)=>{_0x13b3e5[_0x4a0b('0x35')][_0x4a0b('0x4f')]&&_0x471ac8({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x11c195,_0x64a220,_0x13b3e5);},{'priority':'highest'}),_0x106256[_0x4a0b('0x2f')][_0x4a0b('0x33')]['on'](_0x4a0b('0xb'),(_0x2b73fb,_0x22e7c2,_0x1ad570)=>{const {type:_0x4e206c,id:_0x254afe}=_0x33fe29['_splitMarkerName'](_0x22e7c2[_0x4a0b('0x53')]),_0x4f66e3=_0x33fe29[_0x4a0b('0x4a')](_0x254afe);if(!_0x4f66e3['data']||_0x4a0b('0x2b')!=_0x4f66e3[_0x4a0b('0x13')]['commandName'])return;const _0x189325=_0x1ad570[_0x4a0b('0xe')][_0x4a0b('0x9')](_0x22e7c2[_0x4a0b('0x53')]);if(_0x189325)for(const _0x1b7c5e of _0x189325)_0x1ad570['writer'][_0x4a0b('0x4c')]('ck-suggestion-marker-'+_0x4e206c,_0x1b7c5e),_0x1ad570[_0x4a0b('0x4d')]['removeClass'](_0x4a0b('0x26'),_0x1b7c5e),_0x1ad570[_0x4a0b('0x4d')][_0x4a0b('0x19')](_0x4a0b('0x1e'),_0x1b7c5e),_0x1ad570['mapper'][_0x4a0b('0x4')](_0x1b7c5e,_0x22e7c2[_0x4a0b('0x53')]);},{'priority':_0x4a0b('0x39')}),_0x33fe29['_descriptionFactory'][_0x4a0b('0x1')](_0x235b52=>{const {data:_0x138372}=_0x235b52;if(_0x138372){if(_0x4a0b('0x2d')==_0x138372[_0x4a0b('0x12')]){const _0x5ea0cb=_0x138372['commandParams'][0x0][_0x4a0b('0x3f')];return _0x4e1909(_0x3b2044(_0x341fb2,_0x5ea0cb?_0x4a0b('0x47'):_0x4a0b('0xd')));}if('setTableColumnHeader'==_0x138372[_0x4a0b('0x12')]){const _0x36a031=_0x138372[_0x4a0b('0x3c')][0x0][_0x4a0b('0x3f')];return _0x4e1909(_0x3b2044(_0x341fb2,_0x36a031?'FORMAT_HEADER_COLUMN':_0x4a0b('0x54')));}}function _0x4e1909(_0x19c792){return{'type':_0x4a0b('0x21'),'content':_0x3b2044(_0x341fb2,_0x4a0b('0x42'),_0x19c792)};}});const _0x2817c5=_0x63f2fa[_0x4a0b('0x28')]();_0x33fe29[_0x4a0b('0x20')][_0x4a0b('0x24')](_0x4a0b('0x3e'),_0x4a0b('0x2d'),_0x4a0b('0x17'),_0x2817c5),_0x33fe29[_0x4a0b('0x20')]['registerCustomCallback'](_0x4a0b('0x3e'),_0x4a0b('0x2b'),_0x4a0b('0x17'),_0x2817c5);}}
23
+ const _0x195e=['accept','getAttribute','markerNameToElements','highest','setTableColumnHeader','setTableRowHeader','editor','TrackChangesEditing','FORMAT_REGULAR_COLUMN','requires','locale','ck-suggestion-marker--active','_acceptFormatSuggestionCallbackFactory','TableEditing','data','options','formatBlock','end','unbindElementFromMarkerName','index','_splitMarkerName','name','getSuggestion','createTableWalker','registerCustomCallback','headingRows','format','headingColumns','getRowIndexes','removeClass','model','table','consumable','downcastDispatcher','createPositionAfter','stop','parent','addClass','first','cell','addMarker:suggestion','commandName','mapper','markerRange','removeAttribute','findAncestor','document','markerName','createPositionBefore','FORMAT_HEADER_COLUMN','change','*Format:*\x20%0','last','editing','from','writer','plugins','TableUtils','toViewElement','getSelectionAffectedTableCells','FORMAT_HEADER_ROW','getCellLocation','selection','createRange','get','commandParams','FORMAT_REGULAR_ROW','bindElementToMarker','enableCommand','_descriptionFactory','getChild','forceValue','markBlockFormat','data-suggestion','ck-suggestion-marker-','_suggestionFactory','nodeAfter','start','value','showSuggestionHighlights','removeMarker:suggestion','childCount'];(function(_0xa1c46d,_0x195e52){const _0x4fbbe4=function(_0x46beea){while(--_0x46beea){_0xa1c46d['push'](_0xa1c46d['shift']());}};_0x4fbbe4(++_0x195e52);}(_0x195e,0x8e));const _0x4fbb=function(_0xa1c46d,_0x195e52){_0xa1c46d=_0xa1c46d-0x0;let _0x4fbbe4=_0x195e[_0xa1c46d];return _0x4fbbe4;};import{Plugin as _0x5178a9}from'ckeditor5/src/core';import _0x52cfb0 from'./table';import{getTranslation as _0xe58840}from'../utils/common-translations';export default class pt extends _0x5178a9{static get[_0x4fbb('0x1f')](){return[_0x52cfb0];}['afterInit'](){const _0x145185=this[_0x4fbb('0x1c')];if(!_0x145185[_0x4fbb('0x4e')]['has'](_0x4fbb('0x23')))return;const _0x8a870f=_0x145185[_0x4fbb('0x20')],_0x236eed=_0x145185[_0x4fbb('0x4e')][_0x4fbb('0x4')](_0x4fbb('0x1d')),_0x3af746=_0x145185[_0x4fbb('0x4e')]['get'](_0x4fbb('0x4f')),_0x32c8ba=_0x145185[_0x4fbb('0x4e')][_0x4fbb('0x4')](_0x52cfb0);function _0x2cba29({showActiveMarker:_0x124152=!0x0,setDataAttribute:_0x37212f=!0x0}={}){return(_0x4cd6a8,_0x423518,_0x44346a)=>{const {type:_0x267bf4,id:_0x5d29d0}=_0x236eed['_splitMarkerName'](_0x423518[_0x4fbb('0x45')]),_0x1d76f7=_0x236eed[_0x4fbb('0x2c')](_0x5d29d0);if(!_0x1d76f7[_0x4fbb('0x24')]||_0x4fbb('0x1a')!=_0x1d76f7[_0x4fbb('0x24')][_0x4fbb('0x3f')])return;if(_0x423518['item'])return void _0x4cd6a8[_0x4fbb('0x39')]();if(!_0x44346a[_0x4fbb('0x36')]['consume'](_0x423518[_0x4fbb('0x41')],_0x4cd6a8[_0x4fbb('0x2b')]))return;const _0x3bf668=_0x423518[_0x4fbb('0x41')][_0x4fbb('0x11')][_0x4fbb('0x10')],_0x32f7f8=_0x423518[_0x4fbb('0x41')][_0x4fbb('0x27')]['nodeBefore'],_0x3182be=_0x3bf668[_0x4fbb('0x3a')]['parent'],{column:_0x14c23b}=_0x3af746[_0x4fbb('0x1')](_0x3bf668),{column:_0x784100}=_0x3af746[_0x4fbb('0x1')](_0x32f7f8);for(let _0x57a3e2=_0x14c23b;_0x57a3e2<=_0x784100;_0x57a3e2++){const _0x5e99f1=_0x3af746[_0x4fbb('0x2d')](_0x3182be,{'column':_0x57a3e2,'includeAllSlots':!0x1});for(const _0x39ee7e of _0x5e99f1){const _0x2d69ae=_0x39ee7e[_0x4fbb('0x3d')],_0x163e36=_0x44346a[_0x4fbb('0x40')][_0x4fbb('0x50')](_0x2d69ae);_0x44346a[_0x4fbb('0x4d')][_0x4fbb('0x3b')](_0x4fbb('0xe')+_0x267bf4,_0x163e36),_0x37212f&&_0x44346a['writer']['setAttribute'](_0x4fbb('0xd'),_0x5d29d0,_0x163e36),_0x44346a[_0x4fbb('0x40')][_0x4fbb('0x7')](_0x163e36,_0x423518[_0x4fbb('0x45')]),_0x124152&&(_0x236eed['activeMarkers']['includes'](_0x423518[_0x4fbb('0x45')])?_0x44346a['writer'][_0x4fbb('0x3b')]('ck-suggestion-marker--active',_0x163e36):_0x44346a[_0x4fbb('0x4d')][_0x4fbb('0x33')](_0x4fbb('0x21'),_0x163e36));}}};}_0x236eed[_0x4fbb('0x8')](_0x4fbb('0x1b'),(_0x5cb222,_0x34701d)=>{const _0x712d73=_0x3af746[_0x4fbb('0x51')](_0x145185[_0x4fbb('0x34')][_0x4fbb('0x44')][_0x4fbb('0x2')]),_0x22c464=_0x3af746[_0x4fbb('0x32')](_0x712d73),_0x357b37=_0x712d73[0x0][_0x4fbb('0x43')](_0x4fbb('0x35')),_0x51f796=_0x357b37[_0x4fbb('0x17')](_0x4fbb('0x2f'))||0x0,_0x581f2e=_0x34701d&&null!==_0x34701d[_0x4fbb('0xb')]?_0x34701d[_0x4fbb('0xb')]:!_0x145185['commands']['get']('setTableRowHeader')['value'],_0x27505b=_0x581f2e?_0x22c464[_0x4fbb('0x4a')]:_0x22c464[_0x4fbb('0x3c')],_0x5c96ce=_0x357b37['getChild'](_0x27505b);let _0x205f42;if(_0x581f2e){const _0x3f1fbe=_0x357b37[_0x4fbb('0xa')](_0x51f796);if(_0x5c96ce[_0x4fbb('0x29')]<_0x3f1fbe['index'])return;_0x205f42=_0x145185[_0x4fbb('0x34')][_0x4fbb('0x3')](_0x145185[_0x4fbb('0x34')]['createPositionBefore'](_0x3f1fbe[_0x4fbb('0xa')](0x0)),_0x145185[_0x4fbb('0x34')]['createPositionAfter'](_0x5c96ce[_0x4fbb('0xa')](_0x5c96ce[_0x4fbb('0x15')]-0x1)));}else{const _0x718acb=_0x357b37[_0x4fbb('0xa')](_0x51f796-0x1);if(!_0x718acb)return;_0x205f42=_0x145185[_0x4fbb('0x34')]['createRange'](_0x145185[_0x4fbb('0x34')][_0x4fbb('0x46')](_0x5c96ce[_0x4fbb('0xa')](0x0)),_0x145185[_0x4fbb('0x34')][_0x4fbb('0x38')](_0x718acb[_0x4fbb('0xa')](_0x718acb[_0x4fbb('0x15')]-0x1)));}_0x145185[_0x4fbb('0x34')]['change'](()=>{_0x236eed[_0x4fbb('0xc')](_0x205f42,{'commandName':'setTableRowHeader','commandParams':[{'forceValue':_0x581f2e}]},[],_0x4fbb('0x1b'));});}),_0x236eed['enableCommand'](_0x4fbb('0x1a'),(_0x3b9417,_0x2dc147)=>{const _0x349062=_0x145185[_0x4fbb('0x4e')][_0x4fbb('0x4')](_0x4fbb('0x4f')),_0x2a0bd6=_0x349062[_0x4fbb('0x51')](_0x145185[_0x4fbb('0x34')][_0x4fbb('0x44')][_0x4fbb('0x2')]),_0x1fa97e=_0x349062['getColumnIndexes'](_0x2a0bd6),_0x2428a5=_0x2a0bd6[0x0][_0x4fbb('0x43')](_0x4fbb('0x35')),_0x218810=_0x2428a5[_0x4fbb('0x17')](_0x4fbb('0x31'))||0x0,_0x22a882=_0x2dc147&&null!==_0x2dc147[_0x4fbb('0xb')]?_0x2dc147[_0x4fbb('0xb')]:!_0x145185['commands'][_0x4fbb('0x4')](_0x4fbb('0x1a'))[_0x4fbb('0x12')];let _0x18a949;const _0x10b320=_0x2428a5[_0x4fbb('0xa')](0x0),_0x2163d9=_0x22a882?_0x1fa97e['last']:_0x1fa97e['first'],_0x4c0ab4=_0x349062[_0x4fbb('0x2d')](_0x2428a5,{'startRow':0x0,'column':_0x2163d9,'includeAllSlots':!0x1}),_0x38b49f=Array[_0x4fbb('0x4c')](_0x4c0ab4)[0x0][_0x4fbb('0x3d')];if(_0x22a882){const _0x50be56=_0x10b320['getChild'](_0x218810);if(_0x38b49f['isBefore'](_0x50be56))return;_0x18a949=_0x145185[_0x4fbb('0x34')][_0x4fbb('0x3')](_0x145185['model'][_0x4fbb('0x46')](_0x50be56),_0x145185['model']['createPositionAfter'](_0x38b49f));}else{const _0x4f6e58=_0x10b320['getChild'](_0x218810-0x1);if(!_0x4f6e58)return;_0x18a949=_0x145185[_0x4fbb('0x34')][_0x4fbb('0x3')](_0x145185[_0x4fbb('0x34')][_0x4fbb('0x46')](_0x38b49f),_0x145185[_0x4fbb('0x34')][_0x4fbb('0x38')](_0x4f6e58));}_0x145185[_0x4fbb('0x34')][_0x4fbb('0x48')](()=>{_0x236eed[_0x4fbb('0xc')](_0x18a949,{'commandName':_0x4fbb('0x1a'),'commandParams':[{'forceValue':_0x22a882}]},[],_0x4fbb('0x1a'));});}),_0x145185[_0x4fbb('0x4b')][_0x4fbb('0x37')]['on'](_0x4fbb('0x3e'),_0x2cba29(),{'priority':'highest'}),_0x145185[_0x4fbb('0x24')][_0x4fbb('0x37')]['on'](_0x4fbb('0x3e'),(_0x83027f,_0xae1660,_0x1af2d5)=>{_0x1af2d5[_0x4fbb('0x25')][_0x4fbb('0x13')]&&_0x2cba29({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x83027f,_0xae1660,_0x1af2d5);},{'priority':_0x4fbb('0x19')}),_0x145185[_0x4fbb('0x4b')]['downcastDispatcher']['on'](_0x4fbb('0x14'),(_0x31b0ad,_0x5621fe,_0x277570)=>{const {type:_0x369a01,id:_0x496249}=_0x236eed[_0x4fbb('0x2a')](_0x5621fe[_0x4fbb('0x45')]),_0x1086ee=_0x236eed[_0x4fbb('0x2c')](_0x496249);if(!_0x1086ee[_0x4fbb('0x24')]||_0x4fbb('0x1a')!=_0x1086ee[_0x4fbb('0x24')]['commandName'])return;const _0x28d868=_0x277570['mapper'][_0x4fbb('0x18')](_0x5621fe['markerName']);if(_0x28d868)for(const _0x3f1059 of _0x28d868)_0x277570[_0x4fbb('0x4d')][_0x4fbb('0x33')](_0x4fbb('0xe')+_0x369a01,_0x3f1059),_0x277570[_0x4fbb('0x4d')][_0x4fbb('0x33')]('ck-suggestion-marker--active',_0x3f1059),_0x277570[_0x4fbb('0x4d')][_0x4fbb('0x42')](_0x4fbb('0xd'),_0x3f1059),_0x277570[_0x4fbb('0x40')][_0x4fbb('0x28')](_0x3f1059,_0x5621fe[_0x4fbb('0x45')]);},{'priority':_0x4fbb('0x19')}),_0x236eed[_0x4fbb('0x9')]['registerDescriptionCallback'](_0x5062b7=>{const {data:_0xfce346}=_0x5062b7;if(_0xfce346){if('setTableRowHeader'==_0xfce346['commandName']){const _0x593ea7=_0xfce346[_0x4fbb('0x5')][0x0][_0x4fbb('0xb')];return _0x4985d6(_0xe58840(_0x8a870f,_0x593ea7?_0x4fbb('0x0'):_0x4fbb('0x6')));}if(_0x4fbb('0x1a')==_0xfce346[_0x4fbb('0x3f')]){const _0x5ba92b=_0xfce346[_0x4fbb('0x5')][0x0]['forceValue'];return _0x4985d6(_0xe58840(_0x8a870f,_0x5ba92b?_0x4fbb('0x47'):_0x4fbb('0x1e')));}}function _0x4985d6(_0x3f15dc){return{'type':_0x4fbb('0x30'),'content':_0xe58840(_0x8a870f,_0x4fbb('0x49'),_0x3f15dc)};}});const _0x1c8c23=_0x32c8ba[_0x4fbb('0x22')]();_0x236eed[_0x4fbb('0xf')]['registerCustomCallback'](_0x4fbb('0x26'),_0x4fbb('0x1b'),_0x4fbb('0x16'),_0x1c8c23),_0x236eed[_0x4fbb('0xf')][_0x4fbb('0x2e')]('formatBlock',_0x4fbb('0x1a'),_0x4fbb('0x16'),_0x1c8c23);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1be7=['size','fromRange','get','markBlockFormat','createTableWalker','_isForcedDefaultExecutionBlock','set:isEnabled','*Split\x20cell:*\x20horizontally','find','editor','table','splitTableCellHorizontally','mergeTableCellRight','_descriptionFactory','setSelection','document','add','from','createRangeOn','getSelectionAffectedTableCells','value','stop','$graveyard','markMultiRangeBlockFormat','author','forceDefaultExecution','*Merge\x20cells*','push','highest','TableEditing','accept','model','requires','formatBlock','getSuggestions','commands','containsRange','selection','refresh','deletion','registerDescriptionCallback','plugins','return','mergeTableCells','format','getRanges','execute','tableCell','mergeTableCellLeft','getFirstPosition','element','getAncestors','getCellLocation','rootName','enableCommand','cell','TableUtils','locale','_suggestionFactory','commandName','subType','_areSelectedCellsMergable','TrackChangesEditing','registerCustomCallback','has','afterInit','map','splitTableCellVertically','findAncestor','root','mergeTableCellDown','*Split\x20cell:*\x20vertically','_areMergableCells','change','length','type','mergeTableCellUp'];(function(_0x23fe75,_0x1be76e){const _0x401e10=function(_0x404023){while(--_0x404023){_0x23fe75['push'](_0x23fe75['shift']());}};_0x401e10(++_0x1be76e);}(_0x1be7,0xfb));const _0x401e=function(_0x23fe75,_0x1be76e){_0x23fe75=_0x23fe75-0x0;let _0x401e10=_0x1be7[_0x23fe75];return _0x401e10;};import{Plugin as _0x1e7650}from'ckeditor5/src/core';import _0x579b7f from'./table';import{LiveRange as _0x34ef78}from'ckeditor5/src/engine';import{getTranslation as _0x4b05b9}from'../utils/common-translations';export default class dt extends _0x1e7650{static get[_0x401e('0xc')](){return[_0x579b7f];}[_0x401e('0x2d')](){const _0x154793=this[_0x401e('0x42')],_0x59527e=_0x154793[_0x401e('0xb')][_0x401e('0x48')]['selection'],_0x50da01=_0x154793[_0x401e('0x25')];if(!_0x154793['plugins'][_0x401e('0x2c')](_0x401e('0x9')))return;const _0x1393c9=_0x154793['plugins'][_0x401e('0x3b')](_0x401e('0x2a')),_0xa4faad=_0x154793[_0x401e('0x15')][_0x401e('0x3b')](_0x401e('0x24')),_0x19b901=_0x154793[_0x401e('0x15')][_0x401e('0x3b')](_0x579b7f);_0x19b901['_tablePostFixingSubtypes'][_0x401e('0x7')](_0x401e('0x17')),_0x1393c9[_0x401e('0x22')](_0x401e('0x17'),()=>{const _0x176f54=_0xa4faad['getSelectionAffectedTableCells'](_0x154793[_0x401e('0xb')][_0x401e('0x48')]['selection']);_0x154793['model'][_0x401e('0x35')](()=>{_0x1393c9[_0x401e('0x3')](_0x176f54,{'commandName':_0x401e('0x17'),'commandParams':[]},[],'mergeTableCells');});}),_0x154793[_0x401e('0xf')]['get'](_0x401e('0x17'))['on'](_0x401e('0x1a'),(_0x4e56db,_0x1c2095)=>{_0x154793[_0x401e('0xf')][_0x401e('0x3b')]('trackChanges')[_0x401e('0x0')]&&(_0x1c2095[_0x401e('0x36')]>0x0&&_0x1c2095[_0x1c2095[_0x401e('0x36')]-0x1]&&_0x1c2095[_0x1c2095[_0x401e('0x36')]-0x1][_0x401e('0x5')]||_0x1393c9[_0x401e('0x3e')]||this['_areSelectedCellsMergable']()||_0x4e56db[_0x401e('0x1')]());},{'priority':_0x401e('0x8')});for(const _0x52449e of[_0x401e('0x38'),_0x401e('0x45'),_0x401e('0x32'),_0x401e('0x1c')]){const _0x2781cb=_0x154793['commands']['get'](_0x52449e);_0x1393c9['enableCommand'](_0x52449e,()=>{const _0x31c712=_0x154793[_0x401e('0xb')][_0x401e('0x48')][_0x401e('0x11')][_0x401e('0x1d')]()['getAncestors']()[_0x401e('0x41')](_0x574774=>_0x574774['is'](_0x401e('0x1e'),_0x401e('0x1b'))),_0x8e29c6=_0x2781cb[_0x401e('0x0')];_0x154793[_0x401e('0xb')][_0x401e('0x35')](()=>{_0x1393c9[_0x401e('0x3')]([_0x31c712,_0x8e29c6],{'commandName':'mergeTableCells','commandParams':[]},[],'mergeTableCells');});});}for(const _0x748a6e of[_0x401e('0x2f'),'splitTableCellHorizontally']){const _0x6b7708=_0x154793[_0x401e('0xf')][_0x401e('0x3b')](_0x748a6e);_0x1393c9[_0x401e('0x22')](_0x748a6e,()=>{const _0x11c709=_0xa4faad[_0x401e('0x4c')](_0x154793[_0x401e('0xb')][_0x401e('0x48')][_0x401e('0x11')])[0x0],_0x50bf82=_0x11c709[_0x401e('0x30')](_0x401e('0x43')),{column:_0x55060c,row:_0x2203d9}=_0xa4faad[_0x401e('0x20')](_0x11c709);let _0x274b4d=[];if('horizontally'==_0x6b7708['direction']){const _0x17ded1=_0xa4faad[_0x401e('0x3d')](_0x50bf82,{'startRow':_0x2203d9,'endRow':_0x2203d9,'includeAllSlots':!0x0});_0x274b4d=Array['from'](_0x17ded1)['map'](_0x778633=>_0x778633[_0x401e('0x23')]);}else{const _0x2e4ad5=_0xa4faad['createTableWalker'](_0x50bf82,{'column':_0x55060c,'includeAllSlots':!0x0});_0x274b4d=Array[_0x401e('0x4a')](_0x2e4ad5)[_0x401e('0x2e')](_0xc2f59b=>_0xc2f59b[_0x401e('0x23')]);}_0x154793['model'][_0x401e('0x35')](_0x4171e2=>{_0x1393c9[_0x401e('0x3c')](_0x4171e2[_0x401e('0x4b')](_0x11c709),{'commandName':_0x748a6e,'commandParams':[]},_0x274b4d,_0x748a6e);});});}_0x1393c9[_0x401e('0x46')][_0x401e('0x14')](_0x50f3ba=>{const {data:_0x26e7e5}=_0x50f3ba;if(_0x26e7e5)return _0x401e('0x17')==_0x26e7e5[_0x401e('0x27')]?{'type':_0x401e('0x18'),'content':_0x4b05b9(_0x50da01,_0x401e('0x6'))}:void 0x0;}),_0x1393c9['_descriptionFactory'][_0x401e('0x14')](_0x4c76b7=>{const {data:_0x141f61}=_0x4c76b7;if(_0x141f61)return _0x401e('0x2f')==_0x141f61[_0x401e('0x27')]?{'type':_0x401e('0x18'),'content':_0x4b05b9(_0x50da01,_0x401e('0x33'))}:_0x401e('0x44')==_0x141f61[_0x401e('0x27')]?{'type':_0x401e('0x18'),'content':_0x4b05b9(_0x50da01,_0x401e('0x40'))}:void 0x0;});const _0x1a1873=_0x19b901['_acceptFormatSuggestionCallbackFactory']();for(const _0x342a89 of[_0x401e('0x38'),_0x401e('0x45'),_0x401e('0x32'),_0x401e('0x1c')])_0x1393c9['_suggestionFactory']['registerCustomCallback'](_0x401e('0xd'),_0x342a89,_0x401e('0xa'),_0x1a1873);for(const _0x14abe0 of[_0x401e('0x2f'),'splitTableCellHorizontally'])_0x1393c9[_0x401e('0x26')][_0x401e('0x2b')](_0x401e('0xd'),_0x14abe0,_0x401e('0xa'),_0x1a1873);_0x1393c9[_0x401e('0x26')]['registerCustomCallback']('formatBlock','mergeTableCells',_0x401e('0xa'),_0x401ade=>{_0x154793[_0x401e('0xb')]['change'](_0xd7ef4f=>{const _0x6daa1b=Array[_0x401e('0x4a')](_0x59527e[_0x401e('0x19')]())['map'](_0x2629e0=>_0x34ef78[_0x401e('0x3a')](_0x2629e0));_0xd7ef4f[_0x401e('0x47')](_0x401ade),_0x154793[_0x401e('0xf')]['get']('mergeTableCells')[_0x401e('0x12')](),_0x154793[_0x401e('0x1a')](_0x401e('0x17'),{'forceDefaultExecution':!0x0});const _0x502fa9=_0x6daa1b['filter'](_0x57a6fd=>_0x401e('0x2')!=_0x57a6fd[_0x401e('0x31')][_0x401e('0x21')]);_0x502fa9[_0x401e('0x36')]>0x0&&_0xd7ef4f[_0x401e('0x47')](_0x502fa9);for(const _0x43e146 of _0x6daa1b)_0x43e146['detach']();});});for(const _0x5bdf15 of['mergeTableCellUp',_0x401e('0x32'),'mergeTableCellLeft','mergeTableCellRight']){const _0x3ab776=_0x154793[_0x401e('0xf')][_0x401e('0x3b')](_0x5bdf15);_0x3ab776['on'](_0x401e('0x3f'),(_0x523eda,_0x30c06a,_0x3aa9d2)=>{if(_0x3aa9d2){const _0x4fb80c=_0x154793[_0x401e('0xb')][_0x401e('0x48')]['selection']['getFirstPosition']()[_0x401e('0x1f')]()['find'](_0x1a2211=>_0x1a2211['is'](_0x401e('0x1e'),'tableCell'));this[_0x401e('0x34')](_0x3ab776[_0x401e('0x0')],_0x4fb80c)||(_0x523eda[_0x401e('0x16')]=!0x1,_0x523eda[_0x401e('0x1')]());}},{'priority':'low'});}}[_0x401e('0x29')](){const _0x3ca532=this[_0x401e('0x42')][_0x401e('0xf')][_0x401e('0x3b')](_0x401e('0x17')),_0x443908=this[_0x401e('0x42')][_0x401e('0x15')][_0x401e('0x3b')](_0x401e('0x24'));if(!_0x3ca532['isEnabled'])return!0x1;const _0x395d38=_0x443908['getSelectionAffectedTableCells'](this['editor'][_0x401e('0xb')][_0x401e('0x48')][_0x401e('0x11')]);for(const _0x23281b of _0x395d38)for(const _0x53f6dc of _0x395d38)if(_0x23281b!=_0x53f6dc&&!this[_0x401e('0x34')](_0x23281b,_0x53f6dc))return!0x1;return!0x0;}[_0x401e('0x34')](_0x3d4a6f,_0x5421cd){const _0x523fce=this[_0x401e('0x42')]['plugins']['get'](_0x401e('0x2a')),_0x38a5e1=this[_0x401e('0x42')][_0x401e('0xb')][_0x401e('0x4b')](_0x3d4a6f),_0x1c5cc1=this[_0x401e('0x42')][_0x401e('0xb')][_0x401e('0x4b')](_0x5421cd),_0x32ba6f=new Set(),_0x12a16d=new Set();for(const _0x3afd70 of _0x523fce[_0x401e('0xe')]())if(('insertion'==_0x3afd70[_0x401e('0x37')]||_0x401e('0x13')==_0x3afd70[_0x401e('0x37')]||'mergeTableCells'==_0x3afd70[_0x401e('0x28')])&&_0x3afd70['isInContent'])for(const _0x32b38a of _0x3afd70[_0x401e('0x19')]())_0x32b38a[_0x401e('0x10')](_0x38a5e1,!0x0)&&_0x32ba6f['add'](_0x3afd70[_0x401e('0x37')]+':'+_0x3afd70[_0x401e('0x4')]['id']),_0x32b38a[_0x401e('0x10')](_0x1c5cc1,!0x0)&&_0x12a16d[_0x401e('0x49')](_0x3afd70[_0x401e('0x37')]+':'+_0x3afd70['author']['id']);if(_0x32ba6f[_0x401e('0x39')]!=_0x12a16d[_0x401e('0x39')])return!0x1;for(const _0x36c445 of _0x32ba6f)if(!_0x12a16d[_0x401e('0x2c')](_0x36c445))return!0x1;return!0x0;}}
23
+ const _0x4493=['createTableWalker','getSuggestions','accept','refresh','table','return','deletion','isInContent','getRanges','_areSelectedCellsMergable','fromRange','containsRange','size','createRangeOn','root','insertion','mergeTableCells','stop','format','model','mergeTableCellRight','editor','change','getSelectionAffectedTableCells','document','getCellLocation','TableUtils','selection','highest','markBlockFormat','type','getAncestors','rootName','subType','_suggestionFactory','mergeTableCellUp','value','cell','locale','forceDefaultExecution','has','horizontally','afterInit','mergeTableCellDown','registerDescriptionCallback','_areMergableCells','tableCell','_acceptFormatSuggestionCallbackFactory','element','splitTableCellVertically','enableCommand','setSelection','map','length','TableEditing','execute','from','getFirstPosition','filter','plugins','commandName','formatBlock','trackChanges','_descriptionFactory','registerCustomCallback','mergeTableCellLeft','$graveyard','splitTableCellHorizontally','push','author','TrackChangesEditing','get','commands','findAncestor'];(function(_0x78e332,_0x4493b2){const _0x3151df=function(_0x5c09c9){while(--_0x5c09c9){_0x78e332['push'](_0x78e332['shift']());}};_0x3151df(++_0x4493b2);}(_0x4493,0x83));const _0x3151=function(_0x78e332,_0x4493b2){_0x78e332=_0x78e332-0x0;let _0x3151df=_0x4493[_0x78e332];return _0x3151df;};import{Plugin as _0x56eaa6}from'ckeditor5/src/core';import _0x5a52b1 from'./table';import{LiveRange as _0x1dad3c}from'ckeditor5/src/engine';import{getTranslation as _0x2278b1}from'../utils/common-translations';export default class dt extends _0x56eaa6{static get['requires'](){return[_0x5a52b1];}[_0x3151('0x3b')](){const _0x13e021=this[_0x3151('0x26')],_0x2fc301=_0x13e021['model']['document'][_0x3151('0x2c')],_0x5aaa35=_0x13e021[_0x3151('0x37')];if(!_0x13e021[_0x3151('0x2')][_0x3151('0x39')](_0x3151('0x47')))return;const _0x31f4da=_0x13e021[_0x3151('0x2')]['get'](_0x3151('0xd')),_0x183512=_0x13e021[_0x3151('0x2')]['get'](_0x3151('0x2b')),_0x47d836=_0x13e021[_0x3151('0x2')][_0x3151('0xe')](_0x5a52b1);_0x47d836['_tablePostFixingSubtypes'][_0x3151('0xb')]('mergeTableCells'),_0x31f4da[_0x3151('0x43')](_0x3151('0x21'),()=>{const _0x3aaae1=_0x183512[_0x3151('0x28')](_0x13e021[_0x3151('0x24')]['document'][_0x3151('0x2c')]);_0x13e021[_0x3151('0x24')]['change'](()=>{_0x31f4da['markMultiRangeBlockFormat'](_0x3aaae1,{'commandName':_0x3151('0x21'),'commandParams':[]},[],_0x3151('0x21'));});}),_0x13e021['commands'][_0x3151('0xe')](_0x3151('0x21'))['on'](_0x3151('0x48'),(_0x4ab31a,_0x29ffeb)=>{_0x13e021[_0x3151('0xf')][_0x3151('0xe')](_0x3151('0x5'))[_0x3151('0x35')]&&(_0x29ffeb[_0x3151('0x46')]>0x0&&_0x29ffeb[_0x29ffeb[_0x3151('0x46')]-0x1]&&_0x29ffeb[_0x29ffeb[_0x3151('0x46')]-0x1][_0x3151('0x38')]||_0x31f4da['_isForcedDefaultExecutionBlock']||this[_0x3151('0x1a')]()||_0x4ab31a[_0x3151('0x22')]());},{'priority':_0x3151('0x2d')});for(const _0x185573 of[_0x3151('0x34'),_0x3151('0x25'),_0x3151('0x3c'),_0x3151('0x8')]){const _0x5ea790=_0x13e021['commands']['get'](_0x185573);_0x31f4da[_0x3151('0x43')](_0x185573,()=>{const _0x202228=_0x13e021[_0x3151('0x24')]['document'][_0x3151('0x2c')][_0x3151('0x0')]()[_0x3151('0x30')]()['find'](_0x289812=>_0x289812['is'](_0x3151('0x41'),'tableCell')),_0x31dc17=_0x5ea790['value'];_0x13e021['model'][_0x3151('0x27')](()=>{_0x31f4da['markMultiRangeBlockFormat']([_0x202228,_0x31dc17],{'commandName':_0x3151('0x21'),'commandParams':[]},[],_0x3151('0x21'));});});}for(const _0x438733 of[_0x3151('0x42'),_0x3151('0xa')]){const _0x5dbff4=_0x13e021['commands'][_0x3151('0xe')](_0x438733);_0x31f4da[_0x3151('0x43')](_0x438733,()=>{const _0x23cac8=_0x183512[_0x3151('0x28')](_0x13e021[_0x3151('0x24')][_0x3151('0x29')][_0x3151('0x2c')])[0x0],_0x46303d=_0x23cac8[_0x3151('0x10')](_0x3151('0x15')),{column:_0x677c59,row:_0x11f3e7}=_0x183512[_0x3151('0x2a')](_0x23cac8);let _0x2c5867=[];if(_0x3151('0x3a')==_0x5dbff4['direction']){const _0x3c5c2e=_0x183512[_0x3151('0x11')](_0x46303d,{'startRow':_0x11f3e7,'endRow':_0x11f3e7,'includeAllSlots':!0x0});_0x2c5867=Array[_0x3151('0x49')](_0x3c5c2e)[_0x3151('0x45')](_0x24c662=>_0x24c662[_0x3151('0x36')]);}else{const _0x51fce4=_0x183512[_0x3151('0x11')](_0x46303d,{'column':_0x677c59,'includeAllSlots':!0x0});_0x2c5867=Array['from'](_0x51fce4)[_0x3151('0x45')](_0x594df4=>_0x594df4[_0x3151('0x36')]);}_0x13e021[_0x3151('0x24')][_0x3151('0x27')](_0x56f0c2=>{_0x31f4da[_0x3151('0x2e')](_0x56f0c2[_0x3151('0x1e')](_0x23cac8),{'commandName':_0x438733,'commandParams':[]},_0x2c5867,_0x438733);});});}_0x31f4da[_0x3151('0x6')][_0x3151('0x3d')](_0x2df8f4=>{const {data:_0x42bcee}=_0x2df8f4;if(_0x42bcee)return _0x3151('0x21')==_0x42bcee['commandName']?{'type':_0x3151('0x23'),'content':_0x2278b1(_0x5aaa35,'*Merge\x20cells*')}:void 0x0;}),_0x31f4da[_0x3151('0x6')][_0x3151('0x3d')](_0x2258de=>{const {data:_0x7b33be}=_0x2258de;if(_0x7b33be)return'splitTableCellVertically'==_0x7b33be[_0x3151('0x3')]?{'type':'format','content':_0x2278b1(_0x5aaa35,'*Split\x20cell:*\x20vertically')}:_0x3151('0xa')==_0x7b33be[_0x3151('0x3')]?{'type':_0x3151('0x23'),'content':_0x2278b1(_0x5aaa35,'*Split\x20cell:*\x20horizontally')}:void 0x0;});const _0x8805e9=_0x47d836[_0x3151('0x40')]();for(const _0x5309b4 of['mergeTableCellUp',_0x3151('0x25'),'mergeTableCellDown','mergeTableCellLeft'])_0x31f4da[_0x3151('0x33')][_0x3151('0x7')]('formatBlock',_0x5309b4,_0x3151('0x13'),_0x8805e9);for(const _0x8c27d8 of[_0x3151('0x42'),'splitTableCellHorizontally'])_0x31f4da[_0x3151('0x33')][_0x3151('0x7')](_0x3151('0x4'),_0x8c27d8,_0x3151('0x13'),_0x8805e9);_0x31f4da[_0x3151('0x33')]['registerCustomCallback'](_0x3151('0x4'),_0x3151('0x21'),_0x3151('0x13'),_0x5a17c1=>{_0x13e021['model']['change'](_0x4fe0fc=>{const _0x34cf85=Array[_0x3151('0x49')](_0x2fc301[_0x3151('0x19')]())[_0x3151('0x45')](_0x5634ad=>_0x1dad3c[_0x3151('0x1b')](_0x5634ad));_0x4fe0fc[_0x3151('0x44')](_0x5a17c1),_0x13e021[_0x3151('0xf')][_0x3151('0xe')](_0x3151('0x21'))[_0x3151('0x14')](),_0x13e021['execute'](_0x3151('0x21'),{'forceDefaultExecution':!0x0});const _0x294896=_0x34cf85[_0x3151('0x1')](_0x31016d=>_0x3151('0x9')!=_0x31016d[_0x3151('0x1f')][_0x3151('0x31')]);_0x294896[_0x3151('0x46')]>0x0&&_0x4fe0fc[_0x3151('0x44')](_0x294896);for(const _0x2d8e62 of _0x34cf85)_0x2d8e62['detach']();});});for(const _0x5a0b0f of[_0x3151('0x34'),_0x3151('0x3c'),_0x3151('0x8'),_0x3151('0x25')]){const _0x3185c3=_0x13e021['commands'][_0x3151('0xe')](_0x5a0b0f);_0x3185c3['on']('set:isEnabled',(_0x248c41,_0x44af46,_0x30e3a5)=>{if(_0x30e3a5){const _0x400d84=_0x13e021[_0x3151('0x24')][_0x3151('0x29')]['selection']['getFirstPosition']()[_0x3151('0x30')]()['find'](_0x426125=>_0x426125['is'](_0x3151('0x41'),_0x3151('0x3f')));this[_0x3151('0x3e')](_0x3185c3['value'],_0x400d84)||(_0x248c41[_0x3151('0x16')]=!0x1,_0x248c41['stop']());}},{'priority':'low'});}}['_areSelectedCellsMergable'](){const _0x1830ac=this[_0x3151('0x26')][_0x3151('0xf')][_0x3151('0xe')](_0x3151('0x21')),_0x27e99b=this['editor']['plugins'][_0x3151('0xe')](_0x3151('0x2b'));if(!_0x1830ac['isEnabled'])return!0x1;const _0x495ff6=_0x27e99b[_0x3151('0x28')](this[_0x3151('0x26')][_0x3151('0x24')]['document'][_0x3151('0x2c')]);for(const _0x454fef of _0x495ff6)for(const _0x15aa1c of _0x495ff6)if(_0x454fef!=_0x15aa1c&&!this[_0x3151('0x3e')](_0x454fef,_0x15aa1c))return!0x1;return!0x0;}[_0x3151('0x3e')](_0x415c76,_0x1f8bf8){const _0x4f2935=this[_0x3151('0x26')]['plugins'][_0x3151('0xe')](_0x3151('0xd')),_0x54ca87=this[_0x3151('0x26')][_0x3151('0x24')][_0x3151('0x1e')](_0x415c76),_0x1098f4=this[_0x3151('0x26')][_0x3151('0x24')][_0x3151('0x1e')](_0x1f8bf8),_0xda1d41=new Set(),_0x48f5b3=new Set();for(const _0x3d5dc8 of _0x4f2935[_0x3151('0x12')]())if((_0x3151('0x20')==_0x3d5dc8[_0x3151('0x2f')]||_0x3151('0x17')==_0x3d5dc8[_0x3151('0x2f')]||_0x3151('0x21')==_0x3d5dc8[_0x3151('0x32')])&&_0x3d5dc8[_0x3151('0x18')])for(const _0x579d18 of _0x3d5dc8[_0x3151('0x19')]())_0x579d18['containsRange'](_0x54ca87,!0x0)&&_0xda1d41['add'](_0x3d5dc8[_0x3151('0x2f')]+':'+_0x3d5dc8[_0x3151('0xc')]['id']),_0x579d18[_0x3151('0x1c')](_0x1098f4,!0x0)&&_0x48f5b3['add'](_0x3d5dc8[_0x3151('0x2f')]+':'+_0x3d5dc8['author']['id']);if(_0xda1d41[_0x3151('0x1d')]!=_0x48f5b3[_0x3151('0x1d')])return!0x1;for(const _0x1fae07 of _0xda1d41)if(!_0x48f5b3['has'](_0x1fae07))return!0x1;return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4770=['locale','enableCommand','tableOfContents','get','plugins','editor','afterInit','commands','_descriptionFactory','ELEMENT_TABLE_OF_CONTENTS'];(function(_0x277fbb,_0x47701e){const _0x4a823a=function(_0x3d623d){while(--_0x3d623d){_0x277fbb['push'](_0x277fbb['shift']());}};_0x4a823a(++_0x47701e);}(_0x4770,0x10a));const _0x4a82=function(_0x277fbb,_0x47701e){_0x277fbb=_0x277fbb-0x0;let _0x4a823a=_0x4770[_0x277fbb];return _0x4a823a;};import{Plugin as _0x3a3f01}from'ckeditor5/src/core';import{getTranslation as _0x323609}from'../utils/common-translations';export default class bt extends _0x3a3f01{[_0x4a82('0x0')](){const _0x4770ab=this[_0x4a82('0x9')];if(!_0x4770ab[_0x4a82('0x1')]['get']('insertTableOfContents'))return;_0x4770ab[_0x4a82('0x8')][_0x4a82('0x7')]('TrackChangesEditing')[_0x4a82('0x5')]('insertTableOfContents');const _0x1ba5c3=_0x4770ab['plugins'][_0x4a82('0x7')]('TrackChangesEditing'),_0x5c6600=_0x4770ab[_0x4a82('0x4')];_0x1ba5c3[_0x4a82('0x2')]['registerElementLabel'](_0x4a82('0x6'),_0x4c37fb=>_0x323609(_0x5c6600,_0x4a82('0x3'),_0x4c37fb));}}
23
+ const _0x55fd=['enableCommand','insertTableOfContents','commands','get','locale','TrackChangesEditing','registerElementLabel','tableOfContents','plugins','afterInit','_descriptionFactory'];(function(_0x5c055d,_0x55fd61){const _0x13394d=function(_0x22cb20){while(--_0x22cb20){_0x5c055d['push'](_0x5c055d['shift']());}};_0x13394d(++_0x55fd61);}(_0x55fd,0x1e6));const _0x1339=function(_0x5c055d,_0x55fd61){_0x5c055d=_0x5c055d-0x0;let _0x13394d=_0x55fd[_0x5c055d];return _0x13394d;};import{Plugin as _0x41ab6f}from'ckeditor5/src/core';import{getTranslation as _0x1a0bde}from'../utils/common-translations';export default class bt extends _0x41ab6f{[_0x1339('0x7')](){const _0x3379e4=this['editor'];if(!_0x3379e4[_0x1339('0x0')][_0x1339('0x1')]('insertTableOfContents'))return;_0x3379e4[_0x1339('0x6')][_0x1339('0x1')](_0x1339('0x3'))[_0x1339('0x9')](_0x1339('0xa'));const _0x34ab63=_0x3379e4[_0x1339('0x6')][_0x1339('0x1')](_0x1339('0x3')),_0x285f0e=_0x3379e4[_0x1339('0x2')];_0x34ab63[_0x1339('0x8')][_0x1339('0x4')](_0x1339('0x5'),_0x2c797a=>_0x1a0bde(_0x285f0e,'ELEMENT_TABLE_OF_CONTENTS',_0x2c797a));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4384=['tableCellPadding','tableProperties','findAncestor','tableWidth','model','*Format:*\x20change\x20table\x20cell\x20properties','tableAlignment','_getSuggestion','markBlockFormat','selection','commandParams','registerCustomCallback','change','tableCellProperties','tableCellBorderColor','getFirstPosition','setAttribute','tableCellBorderStyle','tableBorderWidth','locale','TrackChangesEditing','_suggestionFactory','TableCellPropertiesEditing','nodeAfter','getSuggestionCallback','tableBackgroundColor','accept','tableCellWidth','format','tableCellHorizontalAlignment','removeAttribute','document','tableBorderStyle','get','enqueueChange','enableCommand','table','editor','subType','handleDiscardAction','tableBorderColor','TableUtils','data','handleSuggestionDescription','_descriptionFactory','has','pluginName','plugins','batch','start','discard','tableHeight','tableCellBackgroundColor','_handlePropertyChange','formatBlock','afterInit','getSuggestions'];(function(_0x7f466d,_0x438492){const _0x416f18=function(_0x5cc857){while(--_0x5cc857){_0x7f466d['push'](_0x7f466d['shift']());}};_0x416f18(++_0x438492);}(_0x4384,0x85));const _0x416f=function(_0x7f466d,_0x438492){_0x7f466d=_0x7f466d-0x0;let _0x416f18=_0x4384[_0x7f466d];return _0x416f18;};import{Plugin as _0x15419e}from'ckeditor5/src/core';import{getTranslation as _0xce56c3}from'../utils/common-translations';export default class Ct extends _0x15419e{constructor(_0x2dd503){super(_0x2dd503),this[_0x416f('0x27')]=[_0x416f('0x15'),_0x416f('0xd'),_0x416f('0x38'),_0x416f('0x2c'),_0x416f('0x29'),_0x416f('0x20'),_0x416f('0x6')],this['tableCellProperties']=[_0x416f('0x34'),_0x416f('0x37'),'tableCellBorderWidth',_0x416f('0x26'),_0x416f('0x8'),'tableCellHeight',_0x416f('0x21'),_0x416f('0xa'),'tableCellVerticalAlignment'];}static get[_0x416f('0x1b')](){return'TrackChangesTableProperties';}[_0x416f('0x24')](){const _0x3df9e5=this[_0x416f('0x12')][_0x416f('0x1c')]['get'](_0x416f('0x1'));if(this['editor'][_0x416f('0x1c')][_0x416f('0x1a')]('TablePropertiesEditing')){for(const _0xc394ac of this[_0x416f('0x27')])_0x3df9e5[_0x416f('0x10')](_0xc394ac,(_0x4049c6,_0xf4556c)=>{const _0x491c8f=this['editor'][_0x416f('0x2a')][_0x416f('0xc')][_0x416f('0x2f')][_0x416f('0x35')]()[_0x416f('0x28')](_0x416f('0x11'));this[_0x416f('0x22')](_0xc394ac,[_0x491c8f],this[_0x416f('0x27')],_0x416f('0x27'),_0x4049c6,_0xf4556c);});_0x3df9e5['_suggestionFactory']['registerCustomCallback'](_0x416f('0x23'),_0x416f('0x27'),'accept',_0x3df9e5[_0x416f('0x2')][_0x416f('0x5')](_0x416f('0x23'),null,_0x416f('0x1f'))),_0x3df9e5[_0x416f('0x2')]['registerCustomCallback']('formatBlock',_0x416f('0x27'),'discard',(_0xdde2f6,_0x286138)=>this[_0x416f('0x14')](this[_0x416f('0x27')],_0xdde2f6,_0x286138)),_0x3df9e5['_suggestionFactory'][_0x416f('0x31')](_0x416f('0x23'),_0x416f('0x27'),'join',()=>!0x1);}if(this[_0x416f('0x12')]['plugins'][_0x416f('0x1a')](_0x416f('0x3'))){for(const _0x1941c9 of this[_0x416f('0x33')])_0x3df9e5[_0x416f('0x10')](_0x1941c9,(_0x4a53b4,_0x3c1e2c)=>{const _0x4eca26=this[_0x416f('0x12')]['plugins'][_0x416f('0xe')](_0x416f('0x16'))['getSelectionAffectedTableCells'](this[_0x416f('0x12')][_0x416f('0x2a')][_0x416f('0xc')][_0x416f('0x2f')]);this[_0x416f('0x22')](_0x1941c9,_0x4eca26,this['tableCellProperties'],_0x416f('0x33'),_0x4a53b4,_0x3c1e2c);});_0x3df9e5[_0x416f('0x2')][_0x416f('0x31')](_0x416f('0x23'),'tableCellProperties',_0x416f('0x7'),_0x3df9e5[_0x416f('0x2')][_0x416f('0x5')](_0x416f('0x23'),null,'discard')),_0x3df9e5[_0x416f('0x2')][_0x416f('0x31')]('formatBlock',_0x416f('0x33'),_0x416f('0x1f'),(_0x2fd84a,_0x363ed2)=>this[_0x416f('0x14')](this[_0x416f('0x33')],_0x2fd84a,_0x363ed2)),_0x3df9e5[_0x416f('0x2')][_0x416f('0x31')]('formatBlock','tableCellProperties','join',()=>!0x1);}_0x3df9e5[_0x416f('0x19')]['registerDescriptionCallback'](_0x5eb9f7=>this[_0x416f('0x18')](_0x5eb9f7));}[_0x416f('0x22')](_0x3ee794,_0x492c48,_0x2a72ba,_0x10afde,_0x4083ce,_0x5d6950){const _0x400ca8=this[_0x416f('0x12')][_0x416f('0x1c')][_0x416f('0xe')]('TrackChangesEditing');this[_0x416f('0x12')]['model'][_0x416f('0xf')](_0x5d6950[_0x416f('0x1d')],()=>{for(const _0x4217f5 of _0x492c48){if(this[_0x416f('0x2d')](_0x4217f5,_0x10afde))_0x4083ce(_0x5d6950);else{const _0x3d2621={};for(const _0x488d8b of _0x2a72ba){const _0x28a12a=_0x4217f5['getAttribute'](_0x488d8b);void 0x0!==_0x28a12a&&(_0x3d2621[_0x488d8b]=_0x28a12a);}_0x4083ce(_0x5d6950),_0x400ca8[_0x416f('0x2e')](_0x4217f5,{'commandParams':[_0x3d2621]},[],_0x10afde);}}});}[_0x416f('0x14')](_0x5d13fc,_0x342abf,_0x14d0aa){const _0x2a3ece=_0x342abf[0x0][_0x416f('0x1e')][_0x416f('0x4')],_0x135a8a=_0x14d0aa[_0x416f('0x30')][0x0];this['editor']['model'][_0x416f('0x32')](_0x241a24=>{for(const _0x326b3c of _0x5d13fc)void 0x0!==_0x135a8a[_0x326b3c]?_0x241a24[_0x416f('0x36')](_0x326b3c,_0x135a8a[_0x326b3c],_0x2a3ece):_0x241a24[_0x416f('0xb')](_0x326b3c,_0x2a3ece);});}[_0x416f('0x18')](_0x35b655){if(_0x35b655[_0x416f('0x17')])switch(_0x35b655[_0x416f('0x13')]){case _0x416f('0x27'):return{'type':'format','content':_0xce56c3(this[_0x416f('0x12')][_0x416f('0x0')],'*Format:*\x20change\x20table\x20properties')};case'tableCellProperties':return{'type':_0x416f('0x9'),'content':_0xce56c3(this[_0x416f('0x12')][_0x416f('0x0')],_0x416f('0x2b'))};}}[_0x416f('0x2d')](_0x68d0d9,_0x50a0c8){const _0x5ad400=this[_0x416f('0x12')][_0x416f('0x1c')][_0x416f('0xe')](_0x416f('0x1'));for(const _0x23c9d6 of _0x5ad400[_0x416f('0x25')]({'skipNotAttached':!0x0})){const _0x3efe8b=_0x23c9d6['getContainedElement']();if(_0x23c9d6[_0x416f('0x13')]===_0x50a0c8&&_0x3efe8b===_0x68d0d9)return _0x23c9d6;}return null;}}
23
+ const _0x35f6=['*Format:*\x20change\x20table\x20cell\x20properties','nodeAfter','_suggestionFactory','batch','has','tableCellProperties','enqueueChange','tableHeight','plugins','tableBorderStyle','afterInit','handleSuggestionDescription','tableCellVerticalAlignment','getSuggestionCallback','tableCellWidth','selection','change','handleDiscardAction','tableWidth','setAttribute','get','findAncestor','tableCellHeight','getSelectionAffectedTableCells','TrackChangesEditing','tableBackgroundColor','locale','registerCustomCallback','discard','TrackChangesTableProperties','tableProperties','TableCellPropertiesEditing','tableCellHorizontalAlignment','_descriptionFactory','getFirstPosition','join','accept','getAttribute','tableCellBorderColor','_handlePropertyChange','markBlockFormat','enableCommand','tableBorderColor','formatBlock','pluginName','tableCellBackgroundColor','editor','subType','model','TableUtils','registerDescriptionCallback','document','tableBorderWidth','commandParams','*Format:*\x20change\x20table\x20properties','tableAlignment','_getSuggestion'];(function(_0x462576,_0x35f625){const _0x4a5f43=function(_0x426574){while(--_0x426574){_0x462576['push'](_0x462576['shift']());}};_0x4a5f43(++_0x35f625);}(_0x35f6,0x18a));const _0x4a5f=function(_0x462576,_0x35f625){_0x462576=_0x462576-0x0;let _0x4a5f43=_0x35f6[_0x462576];return _0x4a5f43;};import{Plugin as _0x3ec68d}from'ckeditor5/src/core';import{getTranslation as _0x45f4e5}from'../utils/common-translations';export default class Ct extends _0x3ec68d{constructor(_0x2c1b1a){super(_0x2c1b1a),this[_0x4a5f('0x23')]=[_0x4a5f('0x2f'),_0x4a5f('0xe'),_0x4a5f('0x0'),_0x4a5f('0x3'),_0x4a5f('0x17'),_0x4a5f('0xc'),_0x4a5f('0x1e')],this['tableCellProperties']=[_0x4a5f('0x2b'),'tableCellBorderStyle','tableCellBorderWidth','tableCellPadding',_0x4a5f('0x13'),_0x4a5f('0x1b'),_0x4a5f('0x32'),_0x4a5f('0x25'),_0x4a5f('0x11')];}static get[_0x4a5f('0x31')](){return _0x4a5f('0x22');}[_0x4a5f('0xf')](){const _0x5282cc=this[_0x4a5f('0x33')]['plugins'][_0x4a5f('0x19')]('TrackChangesEditing');if(this[_0x4a5f('0x33')][_0x4a5f('0xd')][_0x4a5f('0x9')]('TablePropertiesEditing')){for(const _0x24e30b of this[_0x4a5f('0x23')])_0x5282cc['enableCommand'](_0x24e30b,(_0x32f929,_0x506f31)=>{const _0x4e618b=this[_0x4a5f('0x33')][_0x4a5f('0x35')]['document'][_0x4a5f('0x14')][_0x4a5f('0x27')]()[_0x4a5f('0x1a')]('table');this[_0x4a5f('0x2c')](_0x24e30b,[_0x4e618b],this[_0x4a5f('0x23')],'tableProperties',_0x32f929,_0x506f31);});_0x5282cc[_0x4a5f('0x7')][_0x4a5f('0x20')](_0x4a5f('0x30'),'tableProperties',_0x4a5f('0x29'),_0x5282cc['_suggestionFactory'][_0x4a5f('0x12')](_0x4a5f('0x30'),null,_0x4a5f('0x21'))),_0x5282cc[_0x4a5f('0x7')][_0x4a5f('0x20')](_0x4a5f('0x30'),_0x4a5f('0x23'),'discard',(_0xe2f0eb,_0x3058ef)=>this[_0x4a5f('0x16')](this[_0x4a5f('0x23')],_0xe2f0eb,_0x3058ef)),_0x5282cc['_suggestionFactory'][_0x4a5f('0x20')](_0x4a5f('0x30'),_0x4a5f('0x23'),_0x4a5f('0x28'),()=>!0x1);}if(this['editor'][_0x4a5f('0xd')][_0x4a5f('0x9')](_0x4a5f('0x24'))){for(const _0x44a134 of this[_0x4a5f('0xa')])_0x5282cc[_0x4a5f('0x2e')](_0x44a134,(_0xdedb8e,_0x45d135)=>{const _0x3c0dfb=this[_0x4a5f('0x33')][_0x4a5f('0xd')][_0x4a5f('0x19')](_0x4a5f('0x36'))[_0x4a5f('0x1c')](this[_0x4a5f('0x33')][_0x4a5f('0x35')][_0x4a5f('0x38')]['selection']);this[_0x4a5f('0x2c')](_0x44a134,_0x3c0dfb,this[_0x4a5f('0xa')],'tableCellProperties',_0xdedb8e,_0x45d135);});_0x5282cc[_0x4a5f('0x7')][_0x4a5f('0x20')](_0x4a5f('0x30'),_0x4a5f('0xa'),_0x4a5f('0x29'),_0x5282cc[_0x4a5f('0x7')]['getSuggestionCallback'](_0x4a5f('0x30'),null,_0x4a5f('0x21'))),_0x5282cc[_0x4a5f('0x7')][_0x4a5f('0x20')](_0x4a5f('0x30'),_0x4a5f('0xa'),_0x4a5f('0x21'),(_0x265084,_0xa8a787)=>this[_0x4a5f('0x16')](this[_0x4a5f('0xa')],_0x265084,_0xa8a787)),_0x5282cc[_0x4a5f('0x7')][_0x4a5f('0x20')]('formatBlock',_0x4a5f('0xa'),_0x4a5f('0x28'),()=>!0x1);}_0x5282cc[_0x4a5f('0x26')][_0x4a5f('0x37')](_0x2faa56=>this[_0x4a5f('0x10')](_0x2faa56));}[_0x4a5f('0x2c')](_0x21c969,_0x51aa3c,_0x2b5052,_0x148343,_0x195cca,_0x100fe){const _0x4576d2=this[_0x4a5f('0x33')][_0x4a5f('0xd')][_0x4a5f('0x19')](_0x4a5f('0x1d'));this[_0x4a5f('0x33')]['model'][_0x4a5f('0xb')](_0x100fe[_0x4a5f('0x8')],()=>{for(const _0x31f473 of _0x51aa3c){if(this[_0x4a5f('0x4')](_0x31f473,_0x148343))_0x195cca(_0x100fe);else{const _0x4f031b={};for(const _0x5daac5 of _0x2b5052){const _0x4752f5=_0x31f473[_0x4a5f('0x2a')](_0x5daac5);void 0x0!==_0x4752f5&&(_0x4f031b[_0x5daac5]=_0x4752f5);}_0x195cca(_0x100fe),_0x4576d2[_0x4a5f('0x2d')](_0x31f473,{'commandParams':[_0x4f031b]},[],_0x148343);}}});}[_0x4a5f('0x16')](_0xf9583c,_0x14f437,_0x40f2b2){const _0xf8611c=_0x14f437[0x0]['start'][_0x4a5f('0x6')],_0x37e514=_0x40f2b2[_0x4a5f('0x1')][0x0];this['editor'][_0x4a5f('0x35')][_0x4a5f('0x15')](_0x3f2982=>{for(const _0xd2ce76 of _0xf9583c)void 0x0!==_0x37e514[_0xd2ce76]?_0x3f2982[_0x4a5f('0x18')](_0xd2ce76,_0x37e514[_0xd2ce76],_0xf8611c):_0x3f2982['removeAttribute'](_0xd2ce76,_0xf8611c);});}[_0x4a5f('0x10')](_0xabdaab){if(_0xabdaab['data'])switch(_0xabdaab[_0x4a5f('0x34')]){case _0x4a5f('0x23'):return{'type':'format','content':_0x45f4e5(this['editor'][_0x4a5f('0x1f')],_0x4a5f('0x2'))};case _0x4a5f('0xa'):return{'type':'format','content':_0x45f4e5(this[_0x4a5f('0x33')][_0x4a5f('0x1f')],_0x4a5f('0x5'))};}}[_0x4a5f('0x4')](_0x2629ae,_0x4cef51){const _0x4861c1=this[_0x4a5f('0x33')][_0x4a5f('0xd')]['get'](_0x4a5f('0x1d'));for(const _0x3f378b of _0x4861c1['getSuggestions']({'skipNotAttached':!0x0})){const _0x5d0a55=_0x3f378b['getContainedElement']();if(_0x3f378b[_0x4a5f('0x34')]===_0x4cef51&&_0x5d0a55===_0x2629ae)return _0x3f378b;}return null;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5333=['editor','afterInit','get','enableCommand','plugins','Template','TrackChangesEditing'];(function(_0x244e35,_0x53337e){const _0x227454=function(_0x2b528e){while(--_0x2b528e){_0x244e35['push'](_0x244e35['shift']());}};_0x227454(++_0x53337e);}(_0x5333,0xfc));const _0x2274=function(_0x244e35,_0x53337e){_0x244e35=_0x244e35-0x0;let _0x227454=_0x5333[_0x244e35];return _0x227454;};import{Plugin as _0x593a95}from'ckeditor5/src/core';export default class yt extends _0x593a95{[_0x2274('0x1')](){const _0x4a50c8=this[_0x2274('0x0')];_0x4a50c8[_0x2274('0x4')]['has'](_0x2274('0x5'))&&_0x4a50c8[_0x2274('0x4')][_0x2274('0x2')](_0x2274('0x6'))[_0x2274('0x3')]('insertTemplate');}}
23
+ const _0x41ad=['enableCommand','plugins','get','Template','insertTemplate','TrackChangesEditing','has'];(function(_0x4552d7,_0x41ad58){const _0x21ec95=function(_0x327da5){while(--_0x327da5){_0x4552d7['push'](_0x4552d7['shift']());}};_0x21ec95(++_0x41ad58);}(_0x41ad,0x187));const _0x21ec=function(_0x4552d7,_0x41ad58){_0x4552d7=_0x4552d7-0x0;let _0x21ec95=_0x41ad[_0x4552d7];return _0x21ec95;};import{Plugin as _0x3380c0}from'ckeditor5/src/core';export default class yt extends _0x3380c0{['afterInit'](){const _0x170e10=this['editor'];_0x170e10[_0x21ec('0x2')][_0x21ec('0x0')](_0x21ec('0x4'))&&_0x170e10[_0x21ec('0x2')][_0x21ec('0x3')](_0x21ec('0x6'))[_0x21ec('0x1')](_0x21ec('0x5'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x43d3=['registerElementLabel','end','get','schema','nodeBefore','document','start','forward','_splitMarkerName','isEqual','title-content','locale','newRange','editor','has','createRange','Title','removeMarker','TrackChangesEditing','from','model','ELEMENT_TITLE','afterInit','isCollapsed','differ'];(function(_0x1490ab,_0x43d357){const _0x5e1ae6=function(_0x6d3bbe){while(--_0x6d3bbe){_0x1490ab['push'](_0x1490ab['shift']());}};_0x5e1ae6(++_0x43d357);}(_0x43d3,0xba));const _0x5e1a=function(_0x1490ab,_0x43d357){_0x1490ab=_0x1490ab-0x0;let _0x5e1ae6=_0x43d3[_0x1490ab];return _0x5e1ae6;};import{Plugin as _0x1029ff}from'ckeditor5/src/core';import{getTranslation as _0x28162d}from'../utils/common-translations';export default class St extends _0x1029ff{[_0x5e1a('0xb')](){const _0x1975e3=this[_0x5e1a('0x2')];if(!_0x1975e3['plugins'][_0x5e1a('0x3')](_0x5e1a('0x5')))return;const _0x4d5e40=_0x1975e3['plugins'][_0x5e1a('0x10')](_0x5e1a('0x7'));_0x4d5e40['_descriptionFactory'][_0x5e1a('0xe')](_0x5e1a('0x18'),()=>_0x28162d(_0x1975e3[_0x5e1a('0x0')],_0x5e1a('0xa'))),_0x1975e3['model'][_0x5e1a('0x13')]['registerPostFixer'](_0x1ee7a4=>{let _0x48e03d=!0x1;const _0x377da8=Array[_0x5e1a('0x8')](_0x1975e3[_0x5e1a('0x9')][_0x5e1a('0x13')][_0x5e1a('0xd')]['getChangedMarkers']());for(const {name:_0x49b1af,data:_0x2ac4e4}of _0x377da8){const {group:_0x561562}=_0x4d5e40[_0x5e1a('0x16')](_0x49b1af);if('suggestion'!==_0x561562||!_0x2ac4e4[_0x5e1a('0x1')])continue;const _0x55961a=_0x2ac4e4['newRange'],_0xaa9b68=_0x55961a[_0x5e1a('0xf')][_0x5e1a('0x12')];if(!_0xaa9b68||!_0xaa9b68['is']('element','title-content'))continue;if(!_0x55961a['start']['isTouching'](_0x55961a[_0x5e1a('0xf')]))continue;const _0x297f43=_0x1975e3[_0x5e1a('0x9')][_0x5e1a('0x11')]['getNearestSelectionRange'](_0x55961a['end'],_0x5e1a('0x15'));if(_0x297f43&&_0x297f43[_0x5e1a('0xc')]){const _0x218670=_0x1ee7a4[_0x5e1a('0x4')](_0x55961a[_0x5e1a('0x14')],_0x297f43['start']);_0x218670[_0x5e1a('0x17')](_0x55961a)||(_0x1ee7a4['updateMarker'](_0x49b1af,{'range':_0x218670}),_0x48e03d=!0x0);}_0x48e03d||(_0x1ee7a4[_0x5e1a('0x6')](_0x49b1af),_0x48e03d=!0x0);}return _0x48e03d;});}}
23
+ const _0x2dd0=['_descriptionFactory','nodeBefore','isCollapsed','getNearestSelectionRange','ELEMENT_TITLE','registerElementLabel','element','Title','suggestion','isEqual','plugins','TrackChangesEditing','_splitMarkerName','isTouching','newRange','registerPostFixer','updateMarker','editor','model','removeMarker','document','start','title-content','schema','differ','from'];(function(_0x14d7d4,_0x2dd06c){const _0x12d81a=function(_0x4257e5){while(--_0x4257e5){_0x14d7d4['push'](_0x14d7d4['shift']());}};_0x12d81a(++_0x2dd06c);}(_0x2dd0,0xbb));const _0x12d8=function(_0x14d7d4,_0x2dd06c){_0x14d7d4=_0x14d7d4-0x0;let _0x12d81a=_0x2dd0[_0x14d7d4];return _0x12d81a;};import{Plugin as _0x210cf5}from'ckeditor5/src/core';import{getTranslation as _0x38ff0b}from'../utils/common-translations';export default class St extends _0x210cf5{['afterInit'](){const _0x149299=this[_0x12d8('0xc')];if(!_0x149299[_0x12d8('0x5')]['has'](_0x12d8('0x2')))return;const _0x3e9914=_0x149299[_0x12d8('0x5')]['get'](_0x12d8('0x6'));_0x3e9914[_0x12d8('0x15')][_0x12d8('0x0')](_0x12d8('0x11'),()=>_0x38ff0b(_0x149299['locale'],_0x12d8('0x19'))),_0x149299[_0x12d8('0xd')][_0x12d8('0xf')][_0x12d8('0xa')](_0x509356=>{let _0x25de49=!0x1;const _0x38584d=Array[_0x12d8('0x14')](_0x149299['model']['document'][_0x12d8('0x13')]['getChangedMarkers']());for(const {name:_0x3284a2,data:_0x4b5a22}of _0x38584d){const {group:_0x30e190}=_0x3e9914[_0x12d8('0x7')](_0x3284a2);if(_0x12d8('0x3')!==_0x30e190||!_0x4b5a22[_0x12d8('0x9')])continue;const _0x287081=_0x4b5a22['newRange'],_0x4d6751=_0x287081['end'][_0x12d8('0x16')];if(!_0x4d6751||!_0x4d6751['is'](_0x12d8('0x1'),_0x12d8('0x11')))continue;if(!_0x287081['start'][_0x12d8('0x8')](_0x287081['end']))continue;const _0x4c87be=_0x149299[_0x12d8('0xd')][_0x12d8('0x12')][_0x12d8('0x18')](_0x287081['end'],'forward');if(_0x4c87be&&_0x4c87be[_0x12d8('0x17')]){const _0x5245c7=_0x509356['createRange'](_0x287081[_0x12d8('0x10')],_0x4c87be[_0x12d8('0x10')]);_0x5245c7[_0x12d8('0x4')](_0x287081)||(_0x509356[_0x12d8('0xb')](_0x3284a2,{'range':_0x5245c7}),_0x25de49=!0x0);}_0x25de49||(_0x509356[_0x12d8('0xe')](_0x3284a2),_0x25de49=!0x0);}return _0x25de49;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1e85=['has','afterInit','editor','TrackChangesEditing','plugins','UndoEditing','get','redo','enableCommand'];(function(_0xc151bc,_0x1e855b){const _0x43c950=function(_0x5eccc5){while(--_0x5eccc5){_0xc151bc['push'](_0xc151bc['shift']());}};_0x43c950(++_0x1e855b);}(_0x1e85,0x96));const _0x43c9=function(_0xc151bc,_0x1e855b){_0xc151bc=_0xc151bc-0x0;let _0x43c950=_0x1e85[_0xc151bc];return _0x43c950;};import{Plugin as _0x5eaa48}from'ckeditor5/src/core';export default class It extends _0x5eaa48{[_0x43c9('0x4')](){const _0x4b070d=this[_0x43c9('0x5')],_0x40d3c3=_0x4b070d[_0x43c9('0x7')][_0x43c9('0x0')](_0x43c9('0x6'));_0x4b070d[_0x43c9('0x7')][_0x43c9('0x3')](_0x43c9('0x8'))&&(_0x40d3c3['enableCommand']('undo'),_0x40d3c3[_0x43c9('0x2')](_0x43c9('0x1')));}}
23
+ const _0x1151=['enableCommand','plugins','TrackChangesEditing','get','afterInit','UndoEditing'];(function(_0xbb63d2,_0x115141){const _0x5c4629=function(_0x49cdd8){while(--_0x49cdd8){_0xbb63d2['push'](_0xbb63d2['shift']());}};_0x5c4629(++_0x115141);}(_0x1151,0x95));const _0x5c46=function(_0xbb63d2,_0x115141){_0xbb63d2=_0xbb63d2-0x0;let _0x5c4629=_0x1151[_0xbb63d2];return _0x5c4629;};import{Plugin as _0x498c56}from'ckeditor5/src/core';export default class It extends _0x498c56{[_0x5c46('0x5')](){const _0x4cce3e=this['editor'],_0x2b35e5=_0x4cce3e[_0x5c46('0x2')][_0x5c46('0x4')](_0x5c46('0x3'));_0x4cce3e[_0x5c46('0x2')]['has'](_0x5c46('0x0'))&&(_0x2b35e5['enableCommand']('undo'),_0x2b35e5[_0x5c46('0x1')]('redo'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xd935=['consumable','isBlock','listItem','addClass','element','toViewElement','plugins','nextSibling','name','item','elementEnd','mapper','get','previousPosition','isAtEnd','getItems','hasAttribute','includes','getCustomProperty','push','activeMarkers','getWalker','createUIElement','markerRange','isLimit','type','bindElementToMarker','getAttribute','listIndent','writer'];(function(_0x544305,_0xd93505){const _0x341c26=function(_0x55168c){while(--_0x55168c){_0x544305['push'](_0x544305['shift']());}};_0x341c26(++_0xd93505);}(_0xd935,0x1c6));const _0x341c=function(_0x544305,_0xd93505){_0x544305=_0x544305-0x0;let _0x341c26=_0xd935[_0x544305];return _0x341c26;};export function getRangesWithAttribute(_0x173538,_0x2b8fb1,_0x4552da){const _0x59b058=[];for(const _0x3ce25d of _0x2b8fb1[_0x341c('0xb')]())_0x3ce25d[_0x341c('0xc')](_0x173538)&&_0x59b058[_0x341c('0xf')](_0x4552da['createRangeOn'](_0x3ce25d));return _0x59b058;}export function getElementsAffectedByListItemRename(_0x345daa){const _0x38b6c3=[];if(_0x345daa['is'](_0x341c('0x0'),_0x341c('0x1c'))){let _0x3e40dc=_0x345daa['nextSibling'];for(;_0x3e40dc&&_0x3e40dc['is'](_0x341c('0x0'),_0x341c('0x1c'))&&_0x3e40dc[_0x341c('0x17')](_0x341c('0x18'))>0x0;)_0x38b6c3['push'](_0x3e40dc),_0x3e40dc=_0x3e40dc[_0x341c('0x3')];}return _0x38b6c3;}export function downcastSplitMergeMarker(_0x56c234,_0x58af95,{showActiveMarker:_0x1869a1=!0x0}={}){const _0x55c375=_0x56c234[_0x341c('0x2')][_0x341c('0x8')]('TrackChangesEditing');return(_0x2214aa,_0x13a0e1,_0x4e4967)=>{if(!_0x4e4967[_0x341c('0x1a')]['test'](_0x13a0e1[_0x341c('0x13')],_0x2214aa[_0x341c('0x4')]))return;const _0x3a175a=_0x13a0e1['markerRange'][_0x341c('0x11')](),_0x550cc7=_0x13a0e1[_0x341c('0x13')]['start'],_0xbfd39b=_0x56c234['model']['schema'];let _0x17d789=null,_0x105756=null,_0x2dddfa=!0x1,_0x5b3e6a=!0x1;for(const _0x17f2c2 of _0x3a175a){const _0x515604=_0x17f2c2[_0x341c('0x5')];_0x2dddfa=_0x2dddfa||_0xbfd39b['isContent'](_0x515604);const _0x19101e=_0x4e4967[_0x341c('0x7')][_0x341c('0x1')](_0x515604);if(_0x19101e&&_0x19101e[_0x341c('0xe')]('addHighlight'))return;_0x341c('0x6')==_0x17f2c2[_0x341c('0x15')]&&(_0xbfd39b[_0x341c('0x1b')](_0x515604)&&!_0xbfd39b[_0x341c('0x14')](_0x515604)&&(_0x515604[_0x341c('0x3')]||_0x550cc7[_0x341c('0xa')]?_0x17d789&&_0x17d789['parent']==_0x515604||(_0x17d789=_0x515604,_0x580497(_0x17f2c2[_0x341c('0x9')]),_0x5b3e6a=!0x0):_0x105756=_0x105756||_0x17f2c2[_0x341c('0x9')]));}function _0x580497(_0x3ee18f){const _0x218aa1=_0x4e4967[_0x341c('0x19')][_0x341c('0x12')]('span',{'class':'ck-suggestion-marker-'+_0x58af95}),_0x23fcbc=_0x4e4967[_0x341c('0x7')]['toViewPosition'](_0x3ee18f);_0x1869a1&&_0x55c375[_0x341c('0x10')][_0x341c('0xd')](_0x13a0e1['markerName'])&&_0x4e4967[_0x341c('0x19')][_0x341c('0x1d')]('ck-suggestion-marker--active',_0x218aa1),_0x4e4967['writer']['insert'](_0x23fcbc,_0x218aa1),_0x4e4967[_0x341c('0x7')][_0x341c('0x16')](_0x218aa1,_0x13a0e1['markerName']);}_0x2dddfa||_0x5b3e6a||!_0x105756||_0x580497(_0x105756);};}
23
+ const _0x5939=['activeMarkers','elementEnd','ck-suggestion-marker-','isAtEnd','element','previousPosition','markerName','addHighlight','getItems','consumable','get','getAttribute','parent','push','hasAttribute','listIndent','writer','test','addClass','nextSibling','listItem','bindElementToMarker','includes','ck-suggestion-marker--active','plugins','markerRange','name','span','toViewElement','schema','mapper','item','model'];(function(_0x32b9d3,_0x5939da){const _0x505e0a=function(_0xff9e38){while(--_0xff9e38){_0x32b9d3['push'](_0x32b9d3['shift']());}};_0x505e0a(++_0x5939da);}(_0x5939,0x139));const _0x505e=function(_0x32b9d3,_0x5939da){_0x32b9d3=_0x32b9d3-0x0;let _0x505e0a=_0x5939[_0x32b9d3];return _0x505e0a;};export function getRangesWithAttribute(_0x26975d,_0x1268bc,_0x50777e){const _0x4a943c=[];for(const _0xacf85c of _0x1268bc[_0x505e('0x19')]())_0xacf85c[_0x505e('0x1f')](_0x26975d)&&_0x4a943c[_0x505e('0x1e')](_0x50777e['createRangeOn'](_0xacf85c));return _0x4a943c;}export function getElementsAffectedByListItemRename(_0x1fc5d6){const _0x3c11d8=[];if(_0x1fc5d6['is'](_0x505e('0x15'),_0x505e('0x4'))){let _0x479319=_0x1fc5d6[_0x505e('0x3')];for(;_0x479319&&_0x479319['is']('element',_0x505e('0x4'))&&_0x479319[_0x505e('0x1c')](_0x505e('0x20'))>0x0;)_0x3c11d8['push'](_0x479319),_0x479319=_0x479319[_0x505e('0x3')];}return _0x3c11d8;}export function downcastSplitMergeMarker(_0x1ff991,_0x441ad4,{showActiveMarker:_0x559ba2=!0x0}={}){const _0x2c7839=_0x1ff991[_0x505e('0x8')][_0x505e('0x1b')]('TrackChangesEditing');return(_0x35f290,_0x40ff81,_0x27cdc1)=>{if(!_0x27cdc1[_0x505e('0x1a')][_0x505e('0x1')](_0x40ff81[_0x505e('0x9')],_0x35f290[_0x505e('0xa')]))return;const _0x7fcdde=_0x40ff81['markerRange']['getWalker'](),_0x20f762=_0x40ff81[_0x505e('0x9')]['start'],_0x7a0be7=_0x1ff991[_0x505e('0x10')][_0x505e('0xd')];let _0x189b86=null,_0x35b366=null,_0x316fc0=!0x1,_0x560523=!0x1;for(const _0x3a800a of _0x7fcdde){const _0x3a8d2a=_0x3a800a[_0x505e('0xf')];_0x316fc0=_0x316fc0||_0x7a0be7['isContent'](_0x3a8d2a);const _0x88ce94=_0x27cdc1[_0x505e('0xe')][_0x505e('0xc')](_0x3a8d2a);if(_0x88ce94&&_0x88ce94['getCustomProperty'](_0x505e('0x18')))return;_0x505e('0x12')==_0x3a800a['type']&&(_0x7a0be7['isBlock'](_0x3a8d2a)&&!_0x7a0be7['isLimit'](_0x3a8d2a)&&(_0x3a8d2a[_0x505e('0x3')]||_0x20f762[_0x505e('0x14')]?_0x189b86&&_0x189b86[_0x505e('0x1d')]==_0x3a8d2a||(_0x189b86=_0x3a8d2a,_0x1ab323(_0x3a800a['previousPosition']),_0x560523=!0x0):_0x35b366=_0x35b366||_0x3a800a[_0x505e('0x16')]));}function _0x1ab323(_0x3cded2){const _0x2819b2=_0x27cdc1[_0x505e('0x0')]['createUIElement'](_0x505e('0xb'),{'class':_0x505e('0x13')+_0x441ad4}),_0x5ea871=_0x27cdc1[_0x505e('0xe')]['toViewPosition'](_0x3cded2);_0x559ba2&&_0x2c7839[_0x505e('0x11')][_0x505e('0x6')](_0x40ff81[_0x505e('0x17')])&&_0x27cdc1[_0x505e('0x0')][_0x505e('0x2')](_0x505e('0x7'),_0x2819b2),_0x27cdc1[_0x505e('0x0')]['insert'](_0x5ea871,_0x2819b2),_0x27cdc1[_0x505e('0xe')][_0x505e('0x5')](_0x2819b2,_0x40ff81[_0x505e('0x17')]);}_0x316fc0||_0x560523||!_0x35b366||_0x1ab323(_0x35b366);};}
package/src/suggestion.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4a75=['accept','getRanges','end','delete','next','set','markers','addMarkerName','onAttributesChange','getRange','map','@external','_onAttributesChange','isIntersecting','addMarker','addRange','_markerNames','getAllAdjacentSuggestions','attributes','_onDiscard','data','hasComments','removeMarker','onAccept','removeAttribute','start','add','isIntersectingWithRange','createdAt','filter','getFirstRange','authoredAt','getItems','setAttribute','push','getFirstMarker','creator','author','commentThread','isInContent','nodeBefore','getMarkers','length','from','previous','discard','toJSON','suggestion:','change','head','clear','nodeAfter','subType','isMultiRange','_onAccept','getContainedElement','getMarkerNames','split','size','_isDataLoaded','_model','_saved','substr','type','getMultiRangeId','removeMarkers'];(function(_0x33cdda,_0x4a754c){const _0x146e11=function(_0x2dba0e){while(--_0x2dba0e){_0x33cdda['push'](_0x33cdda['shift']());}};_0x146e11(++_0x4a754c);}(_0x4a75,0x13d));const _0x146e=function(_0x33cdda,_0x4a754c){_0x33cdda=_0x33cdda-0x0;let _0x146e11=_0x4a75[_0x33cdda];return _0x146e11;};import{Element as _0x3b0c7f}from'ckeditor5/src/engine';import{ObservableMixin as _0x3e01ad,uid as _0x1783d0}from'ckeditor5/src/utils';import{cloneDeep as _0x2d19b5,isEqual as _0x4cd50d,set as _0x367a99,unset as _0xf9133e}from'lodash-es';export default class u extends _0x3e01ad(){constructor(_0x36cbc4,_0x27993a){super(),this[_0x146e('0x6')]=!0x1,this['id']=_0x27993a['id'],this['type']=_0x27993a['type'],this[_0x146e('0x41')]=_0x27993a[_0x146e('0x41')]||null,this['author']=_0x27993a[_0x146e('0x32')],this[_0x146e('0x31')]=_0x27993a[_0x146e('0x31')]||_0x27993a[_0x146e('0x32')],this['isExternal']=Boolean(_0x27993a[_0x146e('0x1f')]&&_0x27993a[_0x146e('0x1f')][_0x146e('0x18')]),this[_0x146e('0x21')]=null,this[_0x146e('0x7')]=_0x36cbc4,this[_0x146e('0x1')]=_0x27993a[_0x146e('0x24')],this[_0x146e('0x20')]=_0x27993a['onDiscard'],this['_onAttributesChange']=_0x27993a[_0x146e('0x15')],this[_0x146e('0x1d')]=new Set(),this['createdAt']=null,this[_0x146e('0x12')](_0x146e('0x2c'),null),this['set'](_0x146e('0x1f'),_0x27993a['attributes']||{}),this[_0x146e('0x12')](_0x146e('0x39'),null),this[_0x146e('0x12')](_0x146e('0x11'),null),this['set']('commentThread',null),this[_0x146e('0x12')](_0x146e('0x8'),!0x1),this['decorate'](_0x146e('0xd')),this['decorate'](_0x146e('0x3a'));}get['head'](){let _0x1c102e=this;for(;_0x1c102e[_0x146e('0x39')];)_0x1c102e=_0x1c102e[_0x146e('0x39')];return _0x1c102e;}get[_0x146e('0x22')](){return!!this['commentThread']&&this[_0x146e('0x33')]['length']>0x0;}get[_0x146e('0x0')](){if(0x0==this[_0x146e('0x1d')][_0x146e('0x5')])return!0x1;return 0x6==Array['from'](this['_markerNames'])[0x0][_0x146e('0x4')](':')[_0x146e('0x37')];}get[_0x146e('0x34')](){return null!==this[_0x146e('0x30')]();}['addMarkerName'](_0x5ac08d){this[_0x146e('0x1d')][_0x146e('0x27')](_0x5ac08d);}['getMarkerNames'](){return Array[_0x146e('0x38')](this[_0x146e('0x1d')]);}[_0x146e('0x36')](){return this[_0x146e('0x3')]()[_0x146e('0x17')](_0x4f8642=>this[_0x146e('0x7')][_0x146e('0x13')]['get'](_0x4f8642))[_0x146e('0x2a')](_0x29fe2c=>_0x29fe2c);}[_0x146e('0x30')](){return this[_0x146e('0x36')]()[0x0]||null;}[_0x146e('0xc')](){this[_0x146e('0x7')]['change'](_0x391d91=>{for(const _0xb5ec40 of this[_0x146e('0x36')]())_0x391d91['removeMarker'](_0xb5ec40);}),this[_0x146e('0x1d')][_0x146e('0x3f')]();}[_0x146e('0x23')](_0x3cbbd7){this['_model'][_0x146e('0x3d')](_0x4a2193=>{_0x4a2193[_0x146e('0x23')](_0x3cbbd7);}),this[_0x146e('0x1d')][_0x146e('0x10')](_0x3cbbd7);}[_0x146e('0x1c')](_0x3a8db4){const _0x684990=_0x146e('0x3c')+this[_0x146e('0xa')]+':'+this[_0x146e('0x41')]+':'+this['id']+':'+this[_0x146e('0x31')]['id']+':'+u[_0x146e('0xb')]();this[_0x146e('0x14')](_0x684990),this[_0x146e('0x7')][_0x146e('0x3d')](_0xfef311=>{_0xfef311[_0x146e('0x1b')](_0x684990,{'range':_0x3a8db4,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x146e('0x28')](_0x15b0f7){for(const _0x1cee8a of this[_0x146e('0xe')]())if(_0x1cee8a[_0x146e('0x1a')](_0x15b0f7))return!0x0;return!0x1;}[_0x146e('0xe')](){return this[_0x146e('0x36')]()[_0x146e('0x17')](_0x125fb3=>_0x125fb3[_0x146e('0x16')]());}[_0x146e('0x2d')](){return this[_0x146e('0xe')]()['reduce']((_0x5b71f5,_0x317bd4)=>[..._0x5b71f5,..._0x317bd4[_0x146e('0x2d')]()],[]);}[_0x146e('0x2b')](){var _0x35834a;return(null===(_0x35834a=this[_0x146e('0x30')]())||void 0x0===_0x35834a?void 0x0:_0x35834a[_0x146e('0x16')]())||null;}[_0x146e('0x2')](){const _0x19609f=this[_0x146e('0xe')]();if(0x1!=_0x19609f['length'])return null;const _0x3473ca=_0x19609f[0x0],_0xe6dd01=_0x3473ca[_0x146e('0x26')][_0x146e('0x40')],_0x4f56f1=_0x3473ca[_0x146e('0xf')][_0x146e('0x35')];return _0xe6dd01 instanceof _0x3b0c7f?_0xe6dd01!=_0x4f56f1?null:_0xe6dd01:null;}[_0x146e('0xd')](){this['_onAccept'](this[_0x146e('0xe')](),this[_0x146e('0x21')],this[_0x146e('0x1f')]),this[_0x146e('0xc')]();}[_0x146e('0x3a')](){this['_onDiscard'](this[_0x146e('0xe')](),this['data'],this['attributes']),this[_0x146e('0xc')]();}[_0x146e('0x1e')](){const _0x5d3083=[];let _0x280e7e=this[_0x146e('0x3e')];for(;_0x280e7e;)_0x5d3083[_0x146e('0x2f')](_0x280e7e),_0x280e7e=_0x280e7e[_0x146e('0x11')];return _0x5d3083;}[_0x146e('0x2e')](_0x5d4c07,_0x37fe80){const _0x40da1d=_0x2d19b5(this[_0x146e('0x1f')]);_0x367a99(_0x40da1d,_0x5d4c07,_0x37fe80),_0x4cd50d(_0x40da1d,this[_0x146e('0x1f')])||(this[_0x146e('0x1f')]=_0x40da1d,this['_onAttributesChange'](_0x40da1d));}[_0x146e('0x25')](_0x40ecdd){const _0xc357a2=_0x2d19b5(this['attributes']);_0xf9133e(_0xc357a2,_0x40ecdd),_0x4cd50d(_0xc357a2,this[_0x146e('0x1f')])||(this['attributes']=_0xc357a2,this[_0x146e('0x19')](this[_0x146e('0x1f')]));}[_0x146e('0x3b')](){return{'id':this['id'],'type':this[_0x146e('0x41')]?this[_0x146e('0xa')]+':'+this[_0x146e('0x41')]:this[_0x146e('0xa')],'authorId':this['creator']['id'],'createdAt':this[_0x146e('0x29')],'hasComments':this[_0x146e('0x22')],'data':this[_0x146e('0x21')],'attributes':this['attributes']};}static[_0x146e('0xb')](){return _0x1783d0()[_0x146e('0x9')](0x1,0x5);}}
23
+ const _0x7476=['decorate','getFirstRange','nodeBefore','_model','add','authoredAt','getAllAdjacentSuggestions','discard','substr','change','creator','get','previous','length','_onAccept','data','clear','subType','toJSON','accept','head','getMarkerNames','isInContent','getItems','split','onDiscard','end','isIntersecting','getContainedElement','filter','getFirstMarker','_onAttributesChange','addMarker','@external','size','reduce','createdAt','hasComments','type','removeMarker','getMultiRangeId','commentThread','onAccept','set','_onDiscard','isIntersectingWithRange','attributes','addMarkerName','removeMarkers','getMarkers','getRanges','next','author','addRange','push','isExternal','delete','getRange','map','setAttribute','isMultiRange','_markerNames','markers','_saved'];(function(_0x745b24,_0x74764f){const _0x3e74b3=function(_0x224d0d){while(--_0x224d0d){_0x745b24['push'](_0x745b24['shift']());}};_0x3e74b3(++_0x74764f);}(_0x7476,0x82));const _0x3e74=function(_0x745b24,_0x74764f){_0x745b24=_0x745b24-0x0;let _0x3e74b3=_0x7476[_0x745b24];return _0x3e74b3;};import{Element as _0x480ed6}from'ckeditor5/src/engine';import{ObservableMixin as _0x352344,uid as _0x1cb774}from'ckeditor5/src/utils';import{cloneDeep as _0x5ec8eb,isEqual as _0x14fde7,set as _0x2c0490,unset as _0xcaf765}from'lodash-es';export default class u extends _0x352344(){constructor(_0x4f39e4,_0x4d552f){super(),this['_isDataLoaded']=!0x1,this['id']=_0x4d552f['id'],this[_0x3e74('0x24')]=_0x4d552f[_0x3e74('0x24')],this[_0x3e74('0xf')]=_0x4d552f[_0x3e74('0xf')]||null,this[_0x3e74('0x32')]=_0x4d552f[_0x3e74('0x32')],this['creator']=_0x4d552f[_0x3e74('0x8')]||_0x4d552f[_0x3e74('0x32')],this[_0x3e74('0x35')]=Boolean(_0x4d552f[_0x3e74('0x2c')]&&_0x4d552f[_0x3e74('0x2c')][_0x3e74('0x1f')]),this[_0x3e74('0xd')]=null,this[_0x3e74('0x1')]=_0x4f39e4,this[_0x3e74('0xc')]=_0x4d552f[_0x3e74('0x28')],this[_0x3e74('0x2a')]=_0x4d552f[_0x3e74('0x17')],this['_onAttributesChange']=_0x4d552f['onAttributesChange'],this['_markerNames']=new Set(),this[_0x3e74('0x22')]=null,this[_0x3e74('0x29')](_0x3e74('0x3'),null),this[_0x3e74('0x29')]('attributes',_0x4d552f[_0x3e74('0x2c')]||{}),this[_0x3e74('0x29')](_0x3e74('0xa'),null),this[_0x3e74('0x29')](_0x3e74('0x31'),null),this[_0x3e74('0x29')](_0x3e74('0x27'),null),this[_0x3e74('0x29')](_0x3e74('0x3d'),!0x1),this[_0x3e74('0x3e')](_0x3e74('0x11')),this[_0x3e74('0x3e')](_0x3e74('0x5'));}get[_0x3e74('0x12')](){let _0x13ef66=this;for(;_0x13ef66[_0x3e74('0xa')];)_0x13ef66=_0x13ef66['previous'];return _0x13ef66;}get[_0x3e74('0x23')](){return!!this[_0x3e74('0x27')]&&this[_0x3e74('0x27')]['length']>0x0;}get[_0x3e74('0x3a')](){if(0x0==this[_0x3e74('0x3b')][_0x3e74('0x20')])return!0x1;return 0x6==Array['from'](this[_0x3e74('0x3b')])[0x0][_0x3e74('0x16')](':')[_0x3e74('0xb')];}get[_0x3e74('0x14')](){return null!==this[_0x3e74('0x1c')]();}[_0x3e74('0x2d')](_0x34e766){this['_markerNames'][_0x3e74('0x2')](_0x34e766);}[_0x3e74('0x13')](){return Array['from'](this['_markerNames']);}['getMarkers'](){return this[_0x3e74('0x13')]()[_0x3e74('0x38')](_0xfaf8d3=>this[_0x3e74('0x1')][_0x3e74('0x3c')][_0x3e74('0x9')](_0xfaf8d3))[_0x3e74('0x1b')](_0x2b08bd=>_0x2b08bd);}['getFirstMarker'](){return this[_0x3e74('0x2f')]()[0x0]||null;}[_0x3e74('0x2e')](){this[_0x3e74('0x1')][_0x3e74('0x7')](_0x54944f=>{for(const _0x59f275 of this[_0x3e74('0x2f')]())_0x54944f[_0x3e74('0x25')](_0x59f275);}),this[_0x3e74('0x3b')][_0x3e74('0xe')]();}[_0x3e74('0x25')](_0x1a4613){this[_0x3e74('0x1')][_0x3e74('0x7')](_0x25aba0=>{_0x25aba0[_0x3e74('0x25')](_0x1a4613);}),this['_markerNames'][_0x3e74('0x36')](_0x1a4613);}[_0x3e74('0x33')](_0x2edf81){const _0x5ee8e1='suggestion:'+this[_0x3e74('0x24')]+':'+this[_0x3e74('0xf')]+':'+this['id']+':'+this[_0x3e74('0x8')]['id']+':'+u[_0x3e74('0x26')]();this[_0x3e74('0x2d')](_0x5ee8e1),this[_0x3e74('0x1')][_0x3e74('0x7')](_0x3447e9=>{_0x3447e9[_0x3e74('0x1e')](_0x5ee8e1,{'range':_0x2edf81,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x3e74('0x2b')](_0x2a9b6a){for(const _0x354377 of this['getRanges']())if(_0x354377[_0x3e74('0x19')](_0x2a9b6a))return!0x0;return!0x1;}['getRanges'](){return this['getMarkers']()[_0x3e74('0x38')](_0x5c7b57=>_0x5c7b57[_0x3e74('0x37')]());}[_0x3e74('0x15')](){return this[_0x3e74('0x30')]()[_0x3e74('0x21')]((_0x250222,_0x1f9b75)=>[..._0x250222,..._0x1f9b75['getItems']()],[]);}[_0x3e74('0x3f')](){var _0x5e57e2;return(null===(_0x5e57e2=this[_0x3e74('0x1c')]())||void 0x0===_0x5e57e2?void 0x0:_0x5e57e2[_0x3e74('0x37')]())||null;}[_0x3e74('0x1a')](){const _0x2d4ef3=this[_0x3e74('0x30')]();if(0x1!=_0x2d4ef3[_0x3e74('0xb')])return null;const _0x6843d9=_0x2d4ef3[0x0],_0x36c55d=_0x6843d9['start']['nodeAfter'],_0x40e0eb=_0x6843d9[_0x3e74('0x18')][_0x3e74('0x0')];return _0x36c55d instanceof _0x480ed6?_0x36c55d!=_0x40e0eb?null:_0x36c55d:null;}[_0x3e74('0x11')](){this['_onAccept'](this['getRanges'](),this[_0x3e74('0xd')],this[_0x3e74('0x2c')]),this[_0x3e74('0x2e')]();}[_0x3e74('0x5')](){this[_0x3e74('0x2a')](this['getRanges'](),this[_0x3e74('0xd')],this[_0x3e74('0x2c')]),this[_0x3e74('0x2e')]();}[_0x3e74('0x4')](){const _0x9133ff=[];let _0x1666ae=this[_0x3e74('0x12')];for(;_0x1666ae;)_0x9133ff[_0x3e74('0x34')](_0x1666ae),_0x1666ae=_0x1666ae[_0x3e74('0x31')];return _0x9133ff;}[_0x3e74('0x39')](_0x44e5ad,_0x2078d6){const _0x7c58a3=_0x5ec8eb(this[_0x3e74('0x2c')]);_0x2c0490(_0x7c58a3,_0x44e5ad,_0x2078d6),_0x14fde7(_0x7c58a3,this[_0x3e74('0x2c')])||(this[_0x3e74('0x2c')]=_0x7c58a3,this[_0x3e74('0x1d')](_0x7c58a3));}['removeAttribute'](_0x313f80){const _0x10ba19=_0x5ec8eb(this['attributes']);_0xcaf765(_0x10ba19,_0x313f80),_0x14fde7(_0x10ba19,this[_0x3e74('0x2c')])||(this[_0x3e74('0x2c')]=_0x10ba19,this[_0x3e74('0x1d')](this[_0x3e74('0x2c')]));}[_0x3e74('0x10')](){return{'id':this['id'],'type':this[_0x3e74('0xf')]?this['type']+':'+this[_0x3e74('0xf')]:this[_0x3e74('0x24')],'authorId':this[_0x3e74('0x8')]['id'],'createdAt':this[_0x3e74('0x22')],'hasComments':this[_0x3e74('0x23')],'data':this[_0x3e74('0xd')],'attributes':this[_0x3e74('0x2c')]};}static['getMultiRangeId'](){return _0x1cb774()[_0x3e74('0x6')](0x1,0x5);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1fcc=['data','skip','remove','matchingCallback','_schema','_locale','*Remove:*\x20%0','indexOf','_addDescriptionItems','item','isObject','isInContent','element','getDescriptions','_customCallbacks','ELEMENT_SPACE','_itemLabelsCallbacks','match','_itemLabels','$1\x20$2','label','text','REPLACE_TEXT','softBreak','registerElementLabel','add','addObject','isEqual','end','deletion','getFirstRange','$textProxy','start','replace','Object','previousSibling','isEmpty','length','removeEmptyContainer','getItemLabel','nextSibling','insertion','_resolveDescriptionItems','name','EmptyContainer','normal','quantity','registerDescriptionCallback','pop','elementStart','type','elementEnd','*Insert:*\x20%0','Container','function','push'];(function(_0x4925ff,_0x1fccb9){const _0x3bf85c=function(_0x3daede){while(--_0x3daede){_0x4925ff['push'](_0x4925ff['shift']());}};_0x3bf85c(++_0x1fccb9);}(_0x1fcc,0x197));const _0x3bf8=function(_0x4925ff,_0x1fccb9){_0x4925ff=_0x4925ff-0x0;let _0x3bf85c=_0x1fcc[_0x4925ff];return _0x3bf85c;};import{getTranslation as _0x263dc3}from'./utils/common-translations';import{priorities as _0x25a766,insertToPriorityArray as _0x3017b7}from'ckeditor5/src/utils';export default class m{constructor(_0x4a08c9,_0x58bd7a){this[_0x3bf8('0x37')]=[],this[_0x3bf8('0x3')]=new Map(),this[_0x3bf8('0x1')]=[],this['_schema']=_0x4a08c9,this[_0x3bf8('0x2e')]=_0x58bd7a;}[_0x3bf8('0x36')](_0x6c1682){const _0x400e2c=[];for(let _0x17c679=0x0;_0x17c679<_0x6c1682['length'];_0x17c679++){const _0x7765f8=_0x6c1682[_0x17c679];if(!_0x7765f8[_0x3bf8('0x34')])continue;let _0xb8a2fa=!0x1;for(const _0xf081e4 of this['_customCallbacks']){const _0x50b912=_0xf081e4(_0x7765f8);if(_0x50b912){_0x3bf8('0x23')in _0x50b912&&_0x400e2c[_0x3bf8('0x28')](_0x50b912),_0xb8a2fa=!0x0;break;}}if(!_0xb8a2fa){this[_0x3bf8('0x31')](_0x400e2c,_0x7765f8);const _0xd7bf2a=_0x6c1682[_0x17c679+0x1];if(_0xd7bf2a&&!_0x7765f8['getFirstRange']()[_0x3bf8('0xd')][_0x3bf8('0xc')](_0xd7bf2a['getFirstRange']()[_0x3bf8('0x11')])){const _0x287e71=_0x400e2c[_0x400e2c[_0x3bf8('0x16')]-0x1],_0x25520c=_0x3bf8('0x1a')==_0x7765f8[_0x3bf8('0x23')]?'add':_0x3bf8('0x2b');_0x287e71&&_0x3bf8('0x6')==_0x287e71[_0x3bf8('0x23')]&&(_0x287e71[_0x25520c]+='\x0a');}}}return this[_0x3bf8('0x1b')](_0x400e2c);}[_0x3bf8('0x20')](_0x2d4ec3){this['_customCallbacks'][_0x3bf8('0x28')](_0x2d4ec3);}[_0x3bf8('0x9')](_0x323598,_0x302b4e,_0x4086b9=_0x25a766[_0x3bf8('0x1e')]){_0x3bf8('0x27')==typeof _0x323598?_0x3017b7(this[_0x3bf8('0x1')],{'matchingCallback':_0x323598,'label':_0x302b4e,'priority':_0x4086b9}):this['_itemLabels']['set'](_0x323598,_0x302b4e);}[_0x3bf8('0x18')](_0x367d95,_0x32e0ec=0x1){let _0x38e912;for(const _0x331ae3 of this[_0x3bf8('0x1')])if(_0x331ae3[_0x3bf8('0x2c')](_0x367d95)){_0x38e912=_0x331ae3[_0x3bf8('0x5')];break;}return _0x38e912||(_0x38e912=this['_itemLabels']['get'](_0x367d95[_0x3bf8('0x1c')])),_0x38e912?_0x38e912(_0x32e0ec):0x1!==_0x32e0ec?_0x32e0ec+'\x20'+_0x367d95['name']+'s':''+_0x367d95[_0x3bf8('0x1c')];}['_addDescriptionItems'](_0x3a593c,_0x24be98){const _0x3ef00b=_0x24be98[_0x3bf8('0xf')]()['getWalker'](),_0x3ae1d1=_0x3bf8('0x1a')==_0x24be98[_0x3bf8('0x23')]?'add':_0x3bf8('0x2b');for(const _0x15bf84 of _0x3ef00b){const _0x145fd3=_0x15bf84[_0x3bf8('0x32')],_0x3723ce=_0x3a593c[_0x3a593c[_0x3bf8('0x16')]-0x1];if(_0x145fd3['is'](_0x3bf8('0x10')))_0x3723ce&&_0x3723ce[_0x3bf8('0x23')][_0x3bf8('0x30')](_0x3bf8('0x26'))>-0x1&&_0x3a593c[_0x3bf8('0x21')](),_0x3723ce&&_0x3bf8('0x6')==_0x3723ce['type']?_0x3723ce[_0x3ae1d1]+=_0x145fd3[_0x3bf8('0x29')]:_0x3a593c[_0x3bf8('0x28')]({'type':_0x3bf8('0x6'),'add':'add'==_0x3ae1d1?_0x145fd3[_0x3bf8('0x29')]:'','remove':_0x3bf8('0x2b')==_0x3ae1d1?_0x145fd3[_0x3bf8('0x29')]:''});else{if(this[_0x3bf8('0x2d')][_0x3bf8('0x33')](_0x145fd3)){const _0x20c5d2=_0x145fd3;if(_0x3723ce&&_0x3723ce[_0x3bf8('0x23')][_0x3bf8('0x30')](_0x3bf8('0x26'))>-0x1&&_0x3a593c[_0x3bf8('0x21')](),'elementEnd'==_0x15bf84[_0x3bf8('0x23')])continue;_0x3723ce&&_0x3723ce[_0x3bf8('0x23')]==_0x3ae1d1+_0x3bf8('0x13')&&_0x3723ce[_0x3bf8('0x35')][_0x3bf8('0x1c')]==_0x20c5d2[_0x3bf8('0x1c')]?_0x3723ce['quantity']++:_0x3a593c[_0x3bf8('0x28')]({'type':_0x3ae1d1+'Object','element':_0x20c5d2,'quantity':0x1}),_0x3ef00b[_0x3bf8('0x2a')](_0x3a16db=>!('elementEnd'==_0x3a16db['type']&&_0x3a16db[_0x3bf8('0x32')]==_0x145fd3));}else{if(this[_0x3bf8('0x2d')]['checkChild'](_0x145fd3,'$text')||_0x145fd3['is'](_0x3bf8('0x35'),_0x3bf8('0x8'))){const _0x35c5d3=_0x145fd3;if(_0x3bf8('0xa')==_0x3ae1d1&&_0x3bf8('0x22')==_0x15bf84[_0x3bf8('0x23')]||_0x3bf8('0x2b')==_0x3ae1d1&&_0x3bf8('0x24')==_0x15bf84[_0x3bf8('0x23')])continue;if(_0x3723ce&&-0x1==_0x3723ce[_0x3bf8('0x23')]['indexOf'](_0x3bf8('0x26'))){_0x3bf8('0x6')==_0x3723ce['type']&&(_0x3723ce[_0x3ae1d1]+='\x0a');continue;}let _0x25da29;if(_0x25da29='add'==_0x3ae1d1?_0x35c5d3[_0x3bf8('0x19')]&&!this[_0x3bf8('0x2d')][_0x3bf8('0x33')](_0x35c5d3[_0x3bf8('0x19')])?_0x35c5d3[_0x3bf8('0x19')]:null:_0x35c5d3['previousSibling']&&!this[_0x3bf8('0x2d')][_0x3bf8('0x33')](_0x35c5d3[_0x3bf8('0x14')])?_0x35c5d3[_0x3bf8('0x14')]:null,_0x35c5d3[_0x3bf8('0x15')]||_0x25da29&&_0x25da29[_0x3bf8('0x15')]){const _0x47537f=_0x25da29&&_0x25da29['isEmpty']?_0x25da29:_0x35c5d3;_0x3723ce&&_0x3723ce[_0x3bf8('0x23')]==_0x3ae1d1+_0x3bf8('0x1d')&&_0x3723ce[_0x3bf8('0x35')]['name']==_0x47537f[_0x3bf8('0x1c')]?_0x3723ce[_0x3bf8('0x1f')]++:_0x3a593c[_0x3bf8('0x28')]({'type':_0x3ae1d1+'EmptyContainer','element':_0x47537f,'quantity':0x1});}else _0x3a593c['push']({'type':_0x3ae1d1+'Container','element':_0x35c5d3});}}}}}[_0x3bf8('0x1b')](_0x21c5ab){const _0x317b4a=this['_locale'],_0x5ade0d=[];for(const _0x1ec861 of _0x21c5ab){switch(_0x1ec861[_0x3bf8('0x23')]){case _0x3bf8('0x6'):if(_0x1ec861[_0x3bf8('0xa')]=_0x1ec861[_0x3bf8('0xa')][_0x3bf8('0x12')](/(\S)\u000A+(\S)/g,_0x3bf8('0x4'))[_0x3bf8('0x12')](/\u000A/g,''),_0x1ec861['remove']=_0x1ec861[_0x3bf8('0x2b')][_0x3bf8('0x12')](/(\S)\u000A+(\S)/g,_0x3bf8('0x4'))['replace'](/\u000A/g,''),''!=_0x1ec861['add']&&''!=_0x1ec861['remove']){_0x5ade0d[_0x3bf8('0x28')]({'type':_0x3bf8('0x12'),'content':_0x263dc3(_0x317b4a,_0x3bf8('0x7'),['\x22'+_0x1ec861['remove']+'\x22','\x22'+_0x1ec861[_0x3bf8('0xa')]+'\x22'])});continue;}if(null!=_0x1ec861[_0x3bf8('0xa')][_0x3bf8('0x2')](/^ +$/)){_0x5ade0d[_0x3bf8('0x28')]({'type':_0x3bf8('0x1a'),'content':_0x263dc3(_0x317b4a,_0x3bf8('0x25'),_0x263dc3(_0x317b4a,_0x3bf8('0x0'),_0x1ec861[_0x3bf8('0xa')][_0x3bf8('0x16')]))});continue;}if(null!=_0x1ec861[_0x3bf8('0x2b')]['match'](/^ +$/)){_0x5ade0d[_0x3bf8('0x28')]({'type':_0x3bf8('0xe'),'content':_0x263dc3(_0x317b4a,_0x3bf8('0x2f'),_0x263dc3(_0x317b4a,_0x3bf8('0x0'),_0x1ec861[_0x3bf8('0x2b')]['length']))});continue;}if(''!=_0x1ec861[_0x3bf8('0xa')]){_0x5ade0d[_0x3bf8('0x28')]({'type':_0x3bf8('0x1a'),'content':_0x263dc3(_0x317b4a,_0x3bf8('0x25'),'\x22'+_0x1ec861[_0x3bf8('0xa')]+'\x22')});continue;}_0x5ade0d[_0x3bf8('0x28')]({'type':_0x3bf8('0xe'),'content':_0x263dc3(_0x317b4a,'*Remove:*\x20%0','\x22'+_0x1ec861[_0x3bf8('0x2b')]+'\x22')});continue;case'addEmptyContainer':case _0x3bf8('0xb'):_0x5ade0d[_0x3bf8('0x28')]({'type':_0x3bf8('0x1a'),'content':_0x263dc3(_0x317b4a,'*Insert:*\x20%0',this[_0x3bf8('0x18')](_0x1ec861[_0x3bf8('0x35')],_0x1ec861['quantity']))});continue;case _0x3bf8('0x17'):case'removeObject':_0x5ade0d[_0x3bf8('0x28')]({'type':_0x3bf8('0xe'),'content':_0x263dc3(_0x317b4a,_0x3bf8('0x2f'),this[_0x3bf8('0x18')](_0x1ec861[_0x3bf8('0x35')],_0x1ec861['quantity']))});continue;case'addContainer':_0x5ade0d[_0x3bf8('0x28')]({'type':_0x3bf8('0x1a'),'content':_0x263dc3(_0x317b4a,'*Split:*\x20%0',this[_0x3bf8('0x18')](_0x1ec861['element'],_0x1ec861[_0x3bf8('0x1f')]))});continue;case'removeContainer':_0x5ade0d[_0x3bf8('0x28')]({'type':_0x3bf8('0xe'),'content':_0x263dc3(_0x317b4a,'*Merge:*\x20%0',this[_0x3bf8('0x18')](_0x1ec861[_0x3bf8('0x35')],_0x1ec861[_0x3bf8('0x1f')]))});continue;}_0x5ade0d['push'](_0x1ec861);}return _0x5ade0d;}}
23
+ const _0x5835=['push','_itemLabels','type','isInContent','quantity','deletion','_schema','previousSibling','addEmptyContainer','remove','element','$1\x20$2','insertion','_itemLabelsCallbacks','*Merge:*\x20%0','nextSibling','$text','getFirstRange','REPLACE_TEXT','elementStart','start','ELEMENT_SPACE','*Insert:*\x20%0','skip','end','text','indexOf','removeEmptyContainer','removeObject','softBreak','*Remove:*\x20%0','elementEnd','data','set','_customCallbacks','registerElementLabel','add','getItemLabel','label','replace','$textProxy','Container','_addDescriptionItems','isObject','EmptyContainer','registerDescriptionCallback','getWalker','pop','addContainer','_locale','get','name','getDescriptions','length','_resolveDescriptionItems'];(function(_0x4df904,_0x5835c2){const _0xf7e5c7=function(_0x17d09f){while(--_0x17d09f){_0x4df904['push'](_0x4df904['shift']());}};_0xf7e5c7(++_0x5835c2);}(_0x5835,0x1ab));const _0xf7e5=function(_0x4df904,_0x5835c2){_0x4df904=_0x4df904-0x0;let _0xf7e5c7=_0x5835[_0x4df904];return _0xf7e5c7;};import{getTranslation as _0x392141}from'./utils/common-translations';import{priorities as _0x4d64d3,insertToPriorityArray as _0x19635c}from'ckeditor5/src/utils';export default class m{constructor(_0x1e4efa,_0x50867c){this[_0xf7e5('0x2f')]=[],this[_0xf7e5('0xe')]=new Map(),this[_0xf7e5('0x1a')]=[],this[_0xf7e5('0x13')]=_0x1e4efa,this[_0xf7e5('0x7')]=_0x50867c;}[_0xf7e5('0xa')](_0x516387){const _0x5b80d8=[];for(let _0xce79fc=0x0;_0xce79fc<_0x516387[_0xf7e5('0xb')];_0xce79fc++){const _0x5128f7=_0x516387[_0xce79fc];if(!_0x5128f7[_0xf7e5('0x10')])continue;let _0x7993e2=!0x1;for(const _0x21c039 of this[_0xf7e5('0x2f')]){const _0x5d4fad=_0x21c039(_0x5128f7);if(_0x5d4fad){_0xf7e5('0xf')in _0x5d4fad&&_0x5b80d8['push'](_0x5d4fad),_0x7993e2=!0x0;break;}}if(!_0x7993e2){this[_0xf7e5('0x0')](_0x5b80d8,_0x5128f7);const _0x35425e=_0x516387[_0xce79fc+0x1];if(_0x35425e&&!_0x5128f7['getFirstRange']()[_0xf7e5('0x25')]['isEqual'](_0x35425e['getFirstRange']()[_0xf7e5('0x21')])){const _0x37bef4=_0x5b80d8[_0x5b80d8[_0xf7e5('0xb')]-0x1],_0x55cd56='insertion'==_0x5128f7['type']?_0xf7e5('0x31'):_0xf7e5('0x16');_0x37bef4&&_0xf7e5('0x26')==_0x37bef4['type']&&(_0x37bef4[_0x55cd56]+='\x0a');}}}return this[_0xf7e5('0xc')](_0x5b80d8);}[_0xf7e5('0x3')](_0x2cd6a1){this[_0xf7e5('0x2f')][_0xf7e5('0xd')](_0x2cd6a1);}[_0xf7e5('0x30')](_0x56c32e,_0x3e985e,_0x2cf2ff=_0x4d64d3['normal']){'function'==typeof _0x56c32e?_0x19635c(this['_itemLabelsCallbacks'],{'matchingCallback':_0x56c32e,'label':_0x3e985e,'priority':_0x2cf2ff}):this[_0xf7e5('0xe')][_0xf7e5('0x2e')](_0x56c32e,_0x3e985e);}[_0xf7e5('0x32')](_0x2e74db,_0x300f1d=0x1){let _0x519f46;for(const _0xf9b8c9 of this[_0xf7e5('0x1a')])if(_0xf9b8c9['matchingCallback'](_0x2e74db)){_0x519f46=_0xf9b8c9[_0xf7e5('0x33')];break;}return _0x519f46||(_0x519f46=this['_itemLabels'][_0xf7e5('0x8')](_0x2e74db[_0xf7e5('0x9')])),_0x519f46?_0x519f46(_0x300f1d):0x1!==_0x300f1d?_0x300f1d+'\x20'+_0x2e74db['name']+'s':''+_0x2e74db[_0xf7e5('0x9')];}['_addDescriptionItems'](_0x147167,_0x17105){const _0x92a9de=_0x17105[_0xf7e5('0x1e')]()[_0xf7e5('0x4')](),_0x65f4f5=_0xf7e5('0x19')==_0x17105[_0xf7e5('0xf')]?_0xf7e5('0x31'):_0xf7e5('0x16');for(const _0xb6d810 of _0x92a9de){const _0x225f14=_0xb6d810['item'],_0x327f68=_0x147167[_0x147167[_0xf7e5('0xb')]-0x1];if(_0x225f14['is'](_0xf7e5('0x35')))_0x327f68&&_0x327f68[_0xf7e5('0xf')][_0xf7e5('0x27')](_0xf7e5('0x36'))>-0x1&&_0x147167[_0xf7e5('0x5')](),_0x327f68&&_0xf7e5('0x26')==_0x327f68['type']?_0x327f68[_0x65f4f5]+=_0x225f14['data']:_0x147167[_0xf7e5('0xd')]({'type':'text','add':_0xf7e5('0x31')==_0x65f4f5?_0x225f14[_0xf7e5('0x2d')]:'','remove':'remove'==_0x65f4f5?_0x225f14[_0xf7e5('0x2d')]:''});else{if(this[_0xf7e5('0x13')]['isObject'](_0x225f14)){const _0x1714b7=_0x225f14;if(_0x327f68&&_0x327f68['type'][_0xf7e5('0x27')](_0xf7e5('0x36'))>-0x1&&_0x147167['pop'](),_0xf7e5('0x2c')==_0xb6d810[_0xf7e5('0xf')])continue;_0x327f68&&_0x327f68[_0xf7e5('0xf')]==_0x65f4f5+'Object'&&_0x327f68[_0xf7e5('0x17')][_0xf7e5('0x9')]==_0x1714b7[_0xf7e5('0x9')]?_0x327f68[_0xf7e5('0x11')]++:_0x147167[_0xf7e5('0xd')]({'type':_0x65f4f5+'Object','element':_0x1714b7,'quantity':0x1}),_0x92a9de[_0xf7e5('0x24')](_0x3e6dbe=>!(_0xf7e5('0x2c')==_0x3e6dbe[_0xf7e5('0xf')]&&_0x3e6dbe['item']==_0x225f14));}else{if(this[_0xf7e5('0x13')]['checkChild'](_0x225f14,_0xf7e5('0x1d'))||_0x225f14['is'](_0xf7e5('0x17'),_0xf7e5('0x2a'))){const _0x2d1d62=_0x225f14;if(_0xf7e5('0x31')==_0x65f4f5&&_0xf7e5('0x20')==_0xb6d810[_0xf7e5('0xf')]||_0xf7e5('0x16')==_0x65f4f5&&_0xf7e5('0x2c')==_0xb6d810[_0xf7e5('0xf')])continue;if(_0x327f68&&-0x1==_0x327f68['type'][_0xf7e5('0x27')](_0xf7e5('0x36'))){'text'==_0x327f68[_0xf7e5('0xf')]&&(_0x327f68[_0x65f4f5]+='\x0a');continue;}let _0x5dc24f;if(_0x5dc24f=_0xf7e5('0x31')==_0x65f4f5?_0x2d1d62[_0xf7e5('0x1c')]&&!this[_0xf7e5('0x13')][_0xf7e5('0x1')](_0x2d1d62[_0xf7e5('0x1c')])?_0x2d1d62[_0xf7e5('0x1c')]:null:_0x2d1d62[_0xf7e5('0x14')]&&!this[_0xf7e5('0x13')][_0xf7e5('0x1')](_0x2d1d62[_0xf7e5('0x14')])?_0x2d1d62[_0xf7e5('0x14')]:null,_0x2d1d62['isEmpty']||_0x5dc24f&&_0x5dc24f['isEmpty']){const _0xfa5e02=_0x5dc24f&&_0x5dc24f['isEmpty']?_0x5dc24f:_0x2d1d62;_0x327f68&&_0x327f68[_0xf7e5('0xf')]==_0x65f4f5+_0xf7e5('0x2')&&_0x327f68[_0xf7e5('0x17')][_0xf7e5('0x9')]==_0xfa5e02[_0xf7e5('0x9')]?_0x327f68[_0xf7e5('0x11')]++:_0x147167[_0xf7e5('0xd')]({'type':_0x65f4f5+_0xf7e5('0x2'),'element':_0xfa5e02,'quantity':0x1});}else _0x147167[_0xf7e5('0xd')]({'type':_0x65f4f5+_0xf7e5('0x36'),'element':_0x2d1d62});}}}}}[_0xf7e5('0xc')](_0x280827){const _0x33c15c=this['_locale'],_0x5a09bd=[];for(const _0x411957 of _0x280827){switch(_0x411957['type']){case _0xf7e5('0x26'):if(_0x411957[_0xf7e5('0x31')]=_0x411957[_0xf7e5('0x31')]['replace'](/(\S)\u000A+(\S)/g,'$1\x20$2')[_0xf7e5('0x34')](/\u000A/g,''),_0x411957[_0xf7e5('0x16')]=_0x411957[_0xf7e5('0x16')][_0xf7e5('0x34')](/(\S)\u000A+(\S)/g,_0xf7e5('0x18'))[_0xf7e5('0x34')](/\u000A/g,''),''!=_0x411957[_0xf7e5('0x31')]&&''!=_0x411957[_0xf7e5('0x16')]){_0x5a09bd['push']({'type':'replace','content':_0x392141(_0x33c15c,_0xf7e5('0x1f'),['\x22'+_0x411957['remove']+'\x22','\x22'+_0x411957[_0xf7e5('0x31')]+'\x22'])});continue;}if(null!=_0x411957['add']['match'](/^ +$/)){_0x5a09bd[_0xf7e5('0xd')]({'type':'insertion','content':_0x392141(_0x33c15c,_0xf7e5('0x23'),_0x392141(_0x33c15c,_0xf7e5('0x22'),_0x411957[_0xf7e5('0x31')][_0xf7e5('0xb')]))});continue;}if(null!=_0x411957[_0xf7e5('0x16')]['match'](/^ +$/)){_0x5a09bd[_0xf7e5('0xd')]({'type':_0xf7e5('0x12'),'content':_0x392141(_0x33c15c,_0xf7e5('0x2b'),_0x392141(_0x33c15c,_0xf7e5('0x22'),_0x411957['remove'][_0xf7e5('0xb')]))});continue;}if(''!=_0x411957['add']){_0x5a09bd[_0xf7e5('0xd')]({'type':_0xf7e5('0x19'),'content':_0x392141(_0x33c15c,'*Insert:*\x20%0','\x22'+_0x411957[_0xf7e5('0x31')]+'\x22')});continue;}_0x5a09bd['push']({'type':_0xf7e5('0x12'),'content':_0x392141(_0x33c15c,'*Remove:*\x20%0','\x22'+_0x411957[_0xf7e5('0x16')]+'\x22')});continue;case _0xf7e5('0x15'):case'addObject':_0x5a09bd[_0xf7e5('0xd')]({'type':_0xf7e5('0x19'),'content':_0x392141(_0x33c15c,_0xf7e5('0x23'),this['getItemLabel'](_0x411957[_0xf7e5('0x17')],_0x411957[_0xf7e5('0x11')]))});continue;case _0xf7e5('0x28'):case _0xf7e5('0x29'):_0x5a09bd[_0xf7e5('0xd')]({'type':_0xf7e5('0x12'),'content':_0x392141(_0x33c15c,_0xf7e5('0x2b'),this['getItemLabel'](_0x411957[_0xf7e5('0x17')],_0x411957[_0xf7e5('0x11')]))});continue;case _0xf7e5('0x6'):_0x5a09bd['push']({'type':_0xf7e5('0x19'),'content':_0x392141(_0x33c15c,'*Split:*\x20%0',this[_0xf7e5('0x32')](_0x411957[_0xf7e5('0x17')],_0x411957['quantity']))});continue;case'removeContainer':_0x5a09bd[_0xf7e5('0xd')]({'type':_0xf7e5('0x12'),'content':_0x392141(_0x33c15c,_0xf7e5('0x1b'),this[_0xf7e5('0x32')](_0x411957[_0xf7e5('0x17')],_0x411957[_0xf7e5('0x11')]))});continue;}_0x5a09bd[_0xf7e5('0xd')](_0x411957);}return _0x5a09bd;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x1e73=['getSuggestions','TrackChanges','plugins','addSuggestionData','adapter','get','getSuggestion','editor','Comments','requires','addSuggestion','pluginName'];(function(_0x2dc8b4,_0x1e73ca){var _0x487fe8=function(_0x453d9a){while(--_0x453d9a){_0x2dc8b4['push'](_0x2dc8b4['shift']());}};_0x487fe8(++_0x1e73ca);}(_0x1e73,0x124));var _0x487f=function(_0x2dc8b4,_0x1e73ca){_0x2dc8b4=_0x2dc8b4-0x0;var _0x487fe8=_0x1e73[_0x2dc8b4];return _0x487fe8;};import{Plugin as _0x44cf21}from'ckeditor5/src/core';import _0x2c0692 from'./trackchangesui';import _0x583cb0 from'./trackchangesediting';import'ckeditor5-collaboration/src/collaboration-core';export default class k extends _0x44cf21{static get[_0x487f('0x5')](){return[_0x583cb0,_0x2c0692,_0x487f('0x4')];}static get[_0x487f('0x7')](){return _0x487f('0x9');}set[_0x487f('0x0')](_0x2c410e){this['editor']['plugins'][_0x487f('0x1')](_0x583cb0)[_0x487f('0x0')]=_0x2c410e;}get[_0x487f('0x0')](){return this[_0x487f('0x3')][_0x487f('0xa')][_0x487f('0x1')](_0x583cb0)[_0x487f('0x0')];}[_0x487f('0x6')](_0x469d59){return this['editor'][_0x487f('0xa')][_0x487f('0x1')](_0x583cb0)[_0x487f('0xb')](_0x469d59);}[_0x487f('0x8')]({skipNotAttached:_0xe0d294=!0x1,toJSON:_0xb79a05=!0x1}={}){return this[_0x487f('0x3')]['plugins'][_0x487f('0x1')](_0x583cb0)[_0x487f('0x8')]({'skipNotAttached':_0xe0d294,'toJSON':_0xb79a05});}[_0x487f('0x2')](_0x13339d){return this['editor'][_0x487f('0xa')][_0x487f('0x1')](_0x583cb0)[_0x487f('0x2')](_0x13339d);}}
23
+ var _0x25cb=['addSuggestionData','TrackChanges','getSuggestion','plugins','editor','getSuggestions','get','pluginName','adapter'];(function(_0x4b8165,_0x25cb9d){var _0x32c9e1=function(_0x69a3c){while(--_0x69a3c){_0x4b8165['push'](_0x4b8165['shift']());}};_0x32c9e1(++_0x25cb9d);}(_0x25cb,0x1a1));var _0x32c9=function(_0x4b8165,_0x25cb9d){_0x4b8165=_0x4b8165-0x0;var _0x32c9e1=_0x25cb[_0x4b8165];return _0x32c9e1;};import{Plugin as _0x2065cd}from'ckeditor5/src/core';import _0x1f9108 from'./trackchangesui';import _0x118b06 from'./trackchangesediting';import'ckeditor5-collaboration/src/collaboration-core';export default class k extends _0x2065cd{static get['requires'](){return[_0x118b06,_0x1f9108,'Comments'];}static get[_0x32c9('0x4')](){return _0x32c9('0x7');}set[_0x32c9('0x5')](_0xc3eb88){this['editor'][_0x32c9('0x0')]['get'](_0x118b06)[_0x32c9('0x5')]=_0xc3eb88;}get[_0x32c9('0x5')](){return this['editor']['plugins']['get'](_0x118b06)[_0x32c9('0x5')];}['addSuggestion'](_0x371197){return this[_0x32c9('0x1')]['plugins'][_0x32c9('0x3')](_0x118b06)[_0x32c9('0x6')](_0x371197);}[_0x32c9('0x2')]({skipNotAttached:_0x12b438=!0x1,toJSON:_0x33220d=!0x1}={}){return this[_0x32c9('0x1')][_0x32c9('0x0')][_0x32c9('0x3')](_0x118b06)[_0x32c9('0x2')]({'skipNotAttached':_0x12b438,'toJSON':_0x33220d});}['getSuggestion'](_0x287899){return this['editor'][_0x32c9('0x0')][_0x32c9('0x3')](_0x118b06)[_0x32c9('0x8')](_0x287899);}}