@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20230829.0 → 0.0.0-nightly-20230831.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 (113) 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.d.ts +29 -1
  107. package/src/trackchangesediting.js +1 -1
  108. package/src/trackchangesui.js +1 -1
  109. package/src/ui/suggestioncontroller.js +1 -1
  110. package/src/ui/view/basesuggestionthreadview.js +1 -1
  111. package/src/ui/view/suggestionthreadview.js +1 -1
  112. package/src/utils/common-translations.js +1 -1
  113. package/src/utils/utils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x53ed=['has','editing','markerRange','highest','downcastDispatcher','registerDescriptionCallback','commandParams','document','change','table','plugins','setTableColumnHeader','first','data','markBlockFormat','writer','mapper','cell','getRowIndexes','createTableWalker','getSuggestion','activeMarkers','getColumnIndexes','createPositionAfter','forceValue','consume','from','locale','registerCustomCallback','ck-suggestion-marker--active','ck-suggestion-marker-','markerNameToElements','*Format:*\x20%0','editor','addMarker:suggestion','end','last','options','addClass','get','commandName','start','createRange','includes','unbindElementFromMarkerName','formatBlock','FORMAT_REGULAR_COLUMN','stop','TableUtils','TableEditing','setTableRowHeader','headingColumns','item','getSelectionAffectedTableCells','accept','getAttribute','requires','removeClass','bindElementToMarker','format','value','findAncestor','removeMarker:suggestion','index','FORMAT_HEADER_COLUMN','nodeBefore','_suggestionFactory','getChild','FORMAT_HEADER_ROW','consumable','TrackChangesEditing','createPositionBefore','parent','markerName','getCellLocation','enableCommand','FORMAT_REGULAR_ROW','selection','model','commands'];(function(_0xba19db,_0x53edc1){const _0x1ab0b8=function(_0x2ec4e1){while(--_0x2ec4e1){_0xba19db['push'](_0xba19db['shift']());}};_0x1ab0b8(++_0x53edc1);}(_0x53ed,0x94));const _0x1ab0=function(_0xba19db,_0x53edc1){_0xba19db=_0xba19db-0x0;let _0x1ab0b8=_0x53ed[_0xba19db];return _0x1ab0b8;};import{Plugin as _0x262ddd}from'ckeditor5/src/core';import _0x1ea714 from'./table';import{getTranslation as _0x1b06f2}from'../utils/common-translations';export default class pt extends _0x262ddd{static get[_0x1ab0('0x44')](){return[_0x1ea714];}['afterInit'](){const _0x25a6d1=this[_0x1ab0('0x2d')];if(!_0x25a6d1[_0x1ab0('0x16')][_0x1ab0('0xc')](_0x1ab0('0x3d')))return;const _0x16616a=_0x25a6d1[_0x1ab0('0x27')],_0x3307d6=_0x25a6d1['plugins'][_0x1ab0('0x33')](_0x1ab0('0x2')),_0x26164e=_0x25a6d1[_0x1ab0('0x16')][_0x1ab0('0x33')]('TableUtils'),_0x167b4e=_0x25a6d1[_0x1ab0('0x16')]['get'](_0x1ea714);function _0x14a5ac({showActiveMarker:_0x167bd4=!0x0,setDataAttribute:_0x166147=!0x0}={}){return(_0x4c30f7,_0x53dfc3,_0x2849e9)=>{const {type:_0x477296,id:_0x54f038}=_0x3307d6['_splitMarkerName'](_0x53dfc3[_0x1ab0('0x5')]),_0xf90fe3=_0x3307d6['getSuggestion'](_0x54f038);if(!_0xf90fe3[_0x1ab0('0x19')]||_0x1ab0('0x17')!=_0xf90fe3[_0x1ab0('0x19')][_0x1ab0('0x34')])return;if(_0x53dfc3[_0x1ab0('0x40')])return void _0x4c30f7[_0x1ab0('0x3b')]();if(!_0x2849e9[_0x1ab0('0x1')][_0x1ab0('0x25')](_0x53dfc3[_0x1ab0('0xe')],_0x4c30f7['name']))return;const _0x52b3c3=_0x53dfc3['markerRange'][_0x1ab0('0x35')]['nodeAfter'],_0xf9d423=_0x53dfc3['markerRange'][_0x1ab0('0x2f')][_0x1ab0('0x4d')],_0x2de965=_0x52b3c3['parent'][_0x1ab0('0x4')],{column:_0x27f6c9}=_0x26164e['getCellLocation'](_0x52b3c3),{column:_0x2e14cb}=_0x26164e[_0x1ab0('0x6')](_0xf9d423);for(let _0x1d9c39=_0x27f6c9;_0x1d9c39<=_0x2e14cb;_0x1d9c39++){const _0x52ca8c=_0x26164e[_0x1ab0('0x1f')](_0x2de965,{'column':_0x1d9c39,'includeAllSlots':!0x1});for(const _0x5daa7a of _0x52ca8c){const _0xa88b29=_0x5daa7a['cell'],_0x4b6008=_0x2849e9['mapper']['toViewElement'](_0xa88b29);_0x2849e9[_0x1ab0('0x1b')][_0x1ab0('0x32')](_0x1ab0('0x2a')+_0x477296,_0x4b6008),_0x166147&&_0x2849e9['writer']['setAttribute']('data-suggestion',_0x54f038,_0x4b6008),_0x2849e9[_0x1ab0('0x1c')][_0x1ab0('0x46')](_0x4b6008,_0x53dfc3[_0x1ab0('0x5')]),_0x167bd4&&(_0x3307d6[_0x1ab0('0x21')][_0x1ab0('0x37')](_0x53dfc3[_0x1ab0('0x5')])?_0x2849e9[_0x1ab0('0x1b')][_0x1ab0('0x32')](_0x1ab0('0x29'),_0x4b6008):_0x2849e9['writer'][_0x1ab0('0x45')]('ck-suggestion-marker--active',_0x4b6008));}}};}_0x3307d6[_0x1ab0('0x7')](_0x1ab0('0x3e'),(_0xea599c,_0x86fb74)=>{const _0x5e61e5=_0x26164e[_0x1ab0('0x41')](_0x25a6d1['model'][_0x1ab0('0x13')][_0x1ab0('0x9')]),_0x198095=_0x26164e[_0x1ab0('0x1e')](_0x5e61e5),_0x52ded0=_0x5e61e5[0x0][_0x1ab0('0x49')](_0x1ab0('0x15')),_0x23653c=_0x52ded0['getAttribute']('headingRows')||0x0,_0x31e6bd=_0x86fb74&&null!==_0x86fb74[_0x1ab0('0x24')]?_0x86fb74[_0x1ab0('0x24')]:!_0x25a6d1[_0x1ab0('0xb')][_0x1ab0('0x33')]('setTableRowHeader')[_0x1ab0('0x48')],_0x213cf7=_0x31e6bd?_0x198095[_0x1ab0('0x30')]:_0x198095[_0x1ab0('0x18')],_0x5c01f5=_0x52ded0[_0x1ab0('0x4f')](_0x213cf7);let _0x5aea15;if(_0x31e6bd){const _0x225726=_0x52ded0[_0x1ab0('0x4f')](_0x23653c);if(_0x5c01f5[_0x1ab0('0x4b')]<_0x225726['index'])return;_0x5aea15=_0x25a6d1[_0x1ab0('0xa')][_0x1ab0('0x36')](_0x25a6d1['model'][_0x1ab0('0x3')](_0x225726[_0x1ab0('0x4f')](0x0)),_0x25a6d1['model'][_0x1ab0('0x23')](_0x5c01f5['getChild'](_0x5c01f5['childCount']-0x1)));}else{const _0x5a774f=_0x52ded0[_0x1ab0('0x4f')](_0x23653c-0x1);if(!_0x5a774f)return;_0x5aea15=_0x25a6d1['model']['createRange'](_0x25a6d1['model']['createPositionBefore'](_0x5c01f5[_0x1ab0('0x4f')](0x0)),_0x25a6d1[_0x1ab0('0xa')][_0x1ab0('0x23')](_0x5a774f[_0x1ab0('0x4f')](_0x5a774f['childCount']-0x1)));}_0x25a6d1[_0x1ab0('0xa')][_0x1ab0('0x14')](()=>{_0x3307d6[_0x1ab0('0x1a')](_0x5aea15,{'commandName':_0x1ab0('0x3e'),'commandParams':[{'forceValue':_0x31e6bd}]},[],_0x1ab0('0x3e'));});}),_0x3307d6[_0x1ab0('0x7')]('setTableColumnHeader',(_0x257811,_0xf63a2f)=>{const _0x522109=_0x25a6d1['plugins'][_0x1ab0('0x33')](_0x1ab0('0x3c')),_0x3f41c2=_0x522109[_0x1ab0('0x41')](_0x25a6d1['model']['document'][_0x1ab0('0x9')]),_0x39eb57=_0x522109[_0x1ab0('0x22')](_0x3f41c2),_0x4cd729=_0x3f41c2[0x0][_0x1ab0('0x49')]('table'),_0x27bd4e=_0x4cd729[_0x1ab0('0x43')](_0x1ab0('0x3f'))||0x0,_0x45e6d3=_0xf63a2f&&null!==_0xf63a2f[_0x1ab0('0x24')]?_0xf63a2f[_0x1ab0('0x24')]:!_0x25a6d1[_0x1ab0('0xb')][_0x1ab0('0x33')](_0x1ab0('0x17'))['value'];let _0x2c3fda;const _0x3e1a9e=_0x4cd729['getChild'](0x0),_0x55f8ce=_0x45e6d3?_0x39eb57['last']:_0x39eb57['first'],_0x484fc5=_0x522109[_0x1ab0('0x1f')](_0x4cd729,{'startRow':0x0,'column':_0x55f8ce,'includeAllSlots':!0x1}),_0x94f71b=Array[_0x1ab0('0x26')](_0x484fc5)[0x0][_0x1ab0('0x1d')];if(_0x45e6d3){const _0x4ea68d=_0x3e1a9e['getChild'](_0x27bd4e);if(_0x94f71b['isBefore'](_0x4ea68d))return;_0x2c3fda=_0x25a6d1['model'][_0x1ab0('0x36')](_0x25a6d1['model'][_0x1ab0('0x3')](_0x4ea68d),_0x25a6d1[_0x1ab0('0xa')]['createPositionAfter'](_0x94f71b));}else{const _0xc273b1=_0x3e1a9e['getChild'](_0x27bd4e-0x1);if(!_0xc273b1)return;_0x2c3fda=_0x25a6d1[_0x1ab0('0xa')][_0x1ab0('0x36')](_0x25a6d1[_0x1ab0('0xa')][_0x1ab0('0x3')](_0x94f71b),_0x25a6d1[_0x1ab0('0xa')][_0x1ab0('0x23')](_0xc273b1));}_0x25a6d1['model'][_0x1ab0('0x14')](()=>{_0x3307d6[_0x1ab0('0x1a')](_0x2c3fda,{'commandName':_0x1ab0('0x17'),'commandParams':[{'forceValue':_0x45e6d3}]},[],_0x1ab0('0x17'));});}),_0x25a6d1['editing'][_0x1ab0('0x10')]['on'](_0x1ab0('0x2e'),_0x14a5ac(),{'priority':_0x1ab0('0xf')}),_0x25a6d1['data'][_0x1ab0('0x10')]['on'](_0x1ab0('0x2e'),(_0x5e5463,_0x86f53f,_0x50f78b)=>{_0x50f78b[_0x1ab0('0x31')]['showSuggestionHighlights']&&_0x14a5ac({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x5e5463,_0x86f53f,_0x50f78b);},{'priority':_0x1ab0('0xf')}),_0x25a6d1[_0x1ab0('0xd')]['downcastDispatcher']['on'](_0x1ab0('0x4a'),(_0x54324d,_0x3996fa,_0x58c8b8)=>{const {type:_0x141eed,id:_0x4963e0}=_0x3307d6['_splitMarkerName'](_0x3996fa['markerName']),_0x375726=_0x3307d6[_0x1ab0('0x20')](_0x4963e0);if(!_0x375726[_0x1ab0('0x19')]||_0x1ab0('0x17')!=_0x375726[_0x1ab0('0x19')]['commandName'])return;const _0x1838da=_0x58c8b8[_0x1ab0('0x1c')][_0x1ab0('0x2b')](_0x3996fa[_0x1ab0('0x5')]);if(_0x1838da)for(const _0x39a728 of _0x1838da)_0x58c8b8['writer']['removeClass'](_0x1ab0('0x2a')+_0x141eed,_0x39a728),_0x58c8b8[_0x1ab0('0x1b')][_0x1ab0('0x45')](_0x1ab0('0x29'),_0x39a728),_0x58c8b8[_0x1ab0('0x1b')]['removeAttribute']('data-suggestion',_0x39a728),_0x58c8b8[_0x1ab0('0x1c')][_0x1ab0('0x38')](_0x39a728,_0x3996fa[_0x1ab0('0x5')]);},{'priority':_0x1ab0('0xf')}),_0x3307d6['_descriptionFactory'][_0x1ab0('0x11')](_0xd17139=>{const {data:_0x556b90}=_0xd17139;if(_0x556b90){if('setTableRowHeader'==_0x556b90[_0x1ab0('0x34')]){const _0x11d0e5=_0x556b90[_0x1ab0('0x12')][0x0][_0x1ab0('0x24')];return _0x4681a9(_0x1b06f2(_0x16616a,_0x11d0e5?_0x1ab0('0x0'):_0x1ab0('0x8')));}if(_0x1ab0('0x17')==_0x556b90['commandName']){const _0x19511d=_0x556b90[_0x1ab0('0x12')][0x0][_0x1ab0('0x24')];return _0x4681a9(_0x1b06f2(_0x16616a,_0x19511d?_0x1ab0('0x4c'):_0x1ab0('0x3a')));}}function _0x4681a9(_0xc94989){return{'type':_0x1ab0('0x47'),'content':_0x1b06f2(_0x16616a,_0x1ab0('0x2c'),_0xc94989)};}});const _0xe87528=_0x167b4e['_acceptFormatSuggestionCallbackFactory']();_0x3307d6[_0x1ab0('0x4e')]['registerCustomCallback'](_0x1ab0('0x39'),'setTableRowHeader',_0x1ab0('0x42'),_0xe87528),_0x3307d6['_suggestionFactory'][_0x1ab0('0x28')](_0x1ab0('0x39'),_0x1ab0('0x17'),_0x1ab0('0x42'),_0xe87528);}}
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 _0x333d=['commands','subType','cell','fromRange','change','type','table','_tablePostFixingSubtypes','root','get','findAncestor','has','execute','markMultiRangeBlockFormat','model','editor','stop','mergeTableCells','isEnabled','TableUtils','splitTableCellHorizontally','_acceptFormatSuggestionCallbackFactory','rootName','map','markBlockFormat','deletion','value','trackChanges','*Split\x20cell:*\x20vertically','detach','horizontally','document','$graveyard','getFirstPosition','createTableWalker','_areMergableCells','requires','size','refresh','_isForcedDefaultExecutionBlock','mergeTableCellDown','enableCommand','length','*Merge\x20cells*','_suggestionFactory','format','_areSelectedCellsMergable','from','isInContent','*Split\x20cell:*\x20horizontally','splitTableCellVertically','highest','mergeTableCellUp','accept','getSelectionAffectedTableCells','registerCustomCallback','containsRange','getAncestors','element','set:isEnabled','selection','setSelection','commandName','TrackChangesEditing','createRangeOn','formatBlock','mergeTableCellRight','mergeTableCellLeft','find','plugins','author','registerDescriptionCallback','getSuggestions','add','_descriptionFactory','direction','tableCell','insertion','locale'];(function(_0x25500d,_0x333d6e){const _0x274b77=function(_0x5d6443){while(--_0x5d6443){_0x25500d['push'](_0x25500d['shift']());}};_0x274b77(++_0x333d6e);}(_0x333d,0x100));const _0x274b=function(_0x25500d,_0x333d6e){_0x25500d=_0x25500d-0x0;let _0x274b77=_0x333d[_0x25500d];return _0x274b77;};import{Plugin as _0x3bd3ae}from'ckeditor5/src/core';import _0xdc010e from'./table';import{LiveRange as _0x700aaf}from'ckeditor5/src/engine';import{getTranslation as _0x5424c0}from'../utils/common-translations';export default class dt extends _0x3bd3ae{static get[_0x274b('0x11')](){return[_0xdc010e];}['afterInit'](){const _0x567f16=this['editor'],_0x10ce03=_0x567f16[_0x274b('0x4a')]['document'][_0x274b('0x29')],_0x58e298=_0x567f16[_0x274b('0x3b')];if(!_0x567f16[_0x274b('0x32')]['has']('TableEditing'))return;const _0x3af791=_0x567f16['plugins']['get']('TrackChangesEditing'),_0x37a746=_0x567f16[_0x274b('0x32')]['get'](_0x274b('0x0')),_0x240a9d=_0x567f16[_0x274b('0x32')][_0x274b('0x45')](_0xdc010e);_0x240a9d[_0x274b('0x43')]['push'](_0x274b('0x4d')),_0x3af791[_0x274b('0x16')](_0x274b('0x4d'),()=>{const _0x2e9630=_0x37a746[_0x274b('0x23')](_0x567f16[_0x274b('0x4a')][_0x274b('0xc')][_0x274b('0x29')]);_0x567f16[_0x274b('0x4a')]['change'](()=>{_0x3af791[_0x274b('0x49')](_0x2e9630,{'commandName':_0x274b('0x4d'),'commandParams':[]},[],_0x274b('0x4d'));});}),_0x567f16[_0x274b('0x3c')][_0x274b('0x45')](_0x274b('0x4d'))['on'](_0x274b('0x48'),(_0x35eeb9,_0x422fe6)=>{_0x567f16[_0x274b('0x3c')][_0x274b('0x45')](_0x274b('0x8'))[_0x274b('0x7')]&&(_0x422fe6['length']>0x0&&_0x422fe6[_0x422fe6['length']-0x1]&&_0x422fe6[_0x422fe6[_0x274b('0x17')]-0x1]['forceDefaultExecution']||_0x3af791[_0x274b('0x14')]||this[_0x274b('0x1b')]()||_0x35eeb9['stop']());},{'priority':_0x274b('0x20')});for(const _0x188b55 of[_0x274b('0x21'),_0x274b('0x2f'),_0x274b('0x15'),_0x274b('0x30')]){const _0x211700=_0x567f16[_0x274b('0x3c')][_0x274b('0x45')](_0x188b55);_0x3af791[_0x274b('0x16')](_0x188b55,()=>{const _0x36e239=_0x567f16[_0x274b('0x4a')]['document'][_0x274b('0x29')][_0x274b('0xe')]()[_0x274b('0x26')]()[_0x274b('0x31')](_0x79db09=>_0x79db09['is'](_0x274b('0x27'),'tableCell')),_0x1ee9a2=_0x211700[_0x274b('0x7')];_0x567f16[_0x274b('0x4a')][_0x274b('0x40')](()=>{_0x3af791[_0x274b('0x49')]([_0x36e239,_0x1ee9a2],{'commandName':_0x274b('0x4d'),'commandParams':[]},[],_0x274b('0x4d'));});});}for(const _0x588aed of[_0x274b('0x1f'),_0x274b('0x1')]){const _0x13ace3=_0x567f16[_0x274b('0x3c')]['get'](_0x588aed);_0x3af791[_0x274b('0x16')](_0x588aed,()=>{const _0x3576a1=_0x37a746[_0x274b('0x23')](_0x567f16['model']['document'][_0x274b('0x29')])[0x0],_0x4c6e7f=_0x3576a1[_0x274b('0x46')](_0x274b('0x42')),{column:_0x32328f,row:_0x32d1d2}=_0x37a746['getCellLocation'](_0x3576a1);let _0x30edb5=[];if(_0x274b('0xb')==_0x13ace3[_0x274b('0x38')]){const _0x1576f8=_0x37a746[_0x274b('0xf')](_0x4c6e7f,{'startRow':_0x32d1d2,'endRow':_0x32d1d2,'includeAllSlots':!0x0});_0x30edb5=Array[_0x274b('0x1c')](_0x1576f8)[_0x274b('0x4')](_0x4c28f2=>_0x4c28f2[_0x274b('0x3e')]);}else{const _0x42f853=_0x37a746[_0x274b('0xf')](_0x4c6e7f,{'column':_0x32328f,'includeAllSlots':!0x0});_0x30edb5=Array[_0x274b('0x1c')](_0x42f853)[_0x274b('0x4')](_0x263841=>_0x263841[_0x274b('0x3e')]);}_0x567f16[_0x274b('0x4a')][_0x274b('0x40')](_0x17a610=>{_0x3af791[_0x274b('0x5')](_0x17a610[_0x274b('0x2d')](_0x3576a1),{'commandName':_0x588aed,'commandParams':[]},_0x30edb5,_0x588aed);});});}_0x3af791[_0x274b('0x37')][_0x274b('0x34')](_0x34eef7=>{const {data:_0xf59432}=_0x34eef7;if(_0xf59432)return _0x274b('0x4d')==_0xf59432[_0x274b('0x2b')]?{'type':_0x274b('0x1a'),'content':_0x5424c0(_0x58e298,_0x274b('0x18'))}:void 0x0;}),_0x3af791[_0x274b('0x37')]['registerDescriptionCallback'](_0x217e30=>{const {data:_0xfd3cd5}=_0x217e30;if(_0xfd3cd5)return'splitTableCellVertically'==_0xfd3cd5[_0x274b('0x2b')]?{'type':_0x274b('0x1a'),'content':_0x5424c0(_0x58e298,_0x274b('0x9'))}:_0x274b('0x1')==_0xfd3cd5[_0x274b('0x2b')]?{'type':_0x274b('0x1a'),'content':_0x5424c0(_0x58e298,_0x274b('0x1e'))}:void 0x0;});const _0x17cdfb=_0x240a9d[_0x274b('0x2')]();for(const _0x3fa830 of['mergeTableCellUp','mergeTableCellRight',_0x274b('0x15'),_0x274b('0x30')])_0x3af791['_suggestionFactory'][_0x274b('0x24')](_0x274b('0x2e'),_0x3fa830,_0x274b('0x22'),_0x17cdfb);for(const _0x5a10de of[_0x274b('0x1f'),_0x274b('0x1')])_0x3af791['_suggestionFactory'][_0x274b('0x24')](_0x274b('0x2e'),_0x5a10de,_0x274b('0x22'),_0x17cdfb);_0x3af791[_0x274b('0x19')]['registerCustomCallback'](_0x274b('0x2e'),_0x274b('0x4d'),_0x274b('0x22'),_0x4f158d=>{_0x567f16['model']['change'](_0x77558e=>{const _0x4f96ff=Array['from'](_0x10ce03['getRanges']())[_0x274b('0x4')](_0x2902ff=>_0x700aaf[_0x274b('0x3f')](_0x2902ff));_0x77558e['setSelection'](_0x4f158d),_0x567f16['commands'][_0x274b('0x45')]('mergeTableCells')[_0x274b('0x13')](),_0x567f16[_0x274b('0x48')](_0x274b('0x4d'),{'forceDefaultExecution':!0x0});const _0x56ab14=_0x4f96ff['filter'](_0x14c093=>_0x274b('0xd')!=_0x14c093[_0x274b('0x44')][_0x274b('0x3')]);_0x56ab14['length']>0x0&&_0x77558e[_0x274b('0x2a')](_0x56ab14);for(const _0x18682b of _0x4f96ff)_0x18682b[_0x274b('0xa')]();});});for(const _0x4c84eb of['mergeTableCellUp',_0x274b('0x15'),'mergeTableCellLeft',_0x274b('0x2f')]){const _0x10816b=_0x567f16[_0x274b('0x3c')][_0x274b('0x45')](_0x4c84eb);_0x10816b['on'](_0x274b('0x28'),(_0x5b7f3e,_0x286fb5,_0x213d5c)=>{if(_0x213d5c){const _0x159fff=_0x567f16['model'][_0x274b('0xc')]['selection']['getFirstPosition']()[_0x274b('0x26')]()[_0x274b('0x31')](_0x391306=>_0x391306['is']('element',_0x274b('0x39')));this[_0x274b('0x10')](_0x10816b[_0x274b('0x7')],_0x159fff)||(_0x5b7f3e['return']=!0x1,_0x5b7f3e[_0x274b('0x4c')]());}},{'priority':'low'});}}[_0x274b('0x1b')](){const _0x3031bb=this[_0x274b('0x4b')][_0x274b('0x3c')][_0x274b('0x45')]('mergeTableCells'),_0x3bc7d4=this[_0x274b('0x4b')][_0x274b('0x32')][_0x274b('0x45')]('TableUtils');if(!_0x3031bb[_0x274b('0x4e')])return!0x1;const _0x2e634d=_0x3bc7d4[_0x274b('0x23')](this['editor'][_0x274b('0x4a')]['document']['selection']);for(const _0x2790f6 of _0x2e634d)for(const _0x37c3e2 of _0x2e634d)if(_0x2790f6!=_0x37c3e2&&!this[_0x274b('0x10')](_0x2790f6,_0x37c3e2))return!0x1;return!0x0;}[_0x274b('0x10')](_0x36e6fa,_0x38cc9e){const _0x462dac=this[_0x274b('0x4b')][_0x274b('0x32')][_0x274b('0x45')](_0x274b('0x2c')),_0x1ccf22=this[_0x274b('0x4b')][_0x274b('0x4a')][_0x274b('0x2d')](_0x36e6fa),_0x152e85=this[_0x274b('0x4b')][_0x274b('0x4a')][_0x274b('0x2d')](_0x38cc9e),_0x2196f4=new Set(),_0x41aa0e=new Set();for(const _0x1bbb14 of _0x462dac[_0x274b('0x35')]())if((_0x274b('0x3a')==_0x1bbb14[_0x274b('0x41')]||_0x274b('0x6')==_0x1bbb14['type']||_0x274b('0x4d')==_0x1bbb14[_0x274b('0x3d')])&&_0x1bbb14[_0x274b('0x1d')])for(const _0x142ee7 of _0x1bbb14['getRanges']())_0x142ee7[_0x274b('0x25')](_0x1ccf22,!0x0)&&_0x2196f4[_0x274b('0x36')](_0x1bbb14[_0x274b('0x41')]+':'+_0x1bbb14['author']['id']),_0x142ee7[_0x274b('0x25')](_0x152e85,!0x0)&&_0x41aa0e[_0x274b('0x36')](_0x1bbb14[_0x274b('0x41')]+':'+_0x1bbb14[_0x274b('0x33')]['id']);if(_0x2196f4[_0x274b('0x12')]!=_0x41aa0e[_0x274b('0x12')])return!0x1;for(const _0x3f20fd of _0x2196f4)if(!_0x41aa0e[_0x274b('0x47')](_0x3f20fd))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 _0x2822=['locale','_descriptionFactory','editor','commands','plugins','get','ELEMENT_TABLE_OF_CONTENTS','insertTableOfContents','afterInit','TrackChangesEditing','registerElementLabel','enableCommand'];(function(_0x3c401c,_0x282289){const _0x1ac166=function(_0x346148){while(--_0x346148){_0x3c401c['push'](_0x3c401c['shift']());}};_0x1ac166(++_0x282289);}(_0x2822,0x161));const _0x1ac1=function(_0x3c401c,_0x282289){_0x3c401c=_0x3c401c-0x0;let _0x1ac166=_0x2822[_0x3c401c];return _0x1ac166;};import{Plugin as _0x596c52}from'ckeditor5/src/core';import{getTranslation as _0x5bda03}from'../utils/common-translations';export default class bt extends _0x596c52{[_0x1ac1('0x3')](){const _0x4db9d6=this[_0x1ac1('0x9')];if(!_0x4db9d6[_0x1ac1('0xa')][_0x1ac1('0x0')](_0x1ac1('0x2')))return;_0x4db9d6[_0x1ac1('0xb')][_0x1ac1('0x0')](_0x1ac1('0x4'))[_0x1ac1('0x6')](_0x1ac1('0x2'));const _0x4167fd=_0x4db9d6[_0x1ac1('0xb')][_0x1ac1('0x0')](_0x1ac1('0x4')),_0x1442b5=_0x4db9d6[_0x1ac1('0x7')];_0x4167fd[_0x1ac1('0x8')][_0x1ac1('0x5')]('tableOfContents',_0x327be2=>_0x5bda03(_0x1442b5,_0x1ac1('0x1'),_0x327be2));}}
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 _0x1963=['tableHeight','enqueueChange','locale','has','change','TableCellPropertiesEditing','data','registerCustomCallback','tableCellProperties','_handlePropertyChange','TablePropertiesEditing','batch','tableBorderStyle','get','model','format','document','plugins','getAttribute','tableWidth','commandParams','tableBackgroundColor','enableCommand','markBlockFormat','accept','selection','subType','tableBorderWidth','*Format:*\x20change\x20table\x20cell\x20properties','table','tableCellBackgroundColor','tableProperties','findAncestor','TrackChangesEditing','handleDiscardAction','tableCellVerticalAlignment','tableBorderColor','editor','afterInit','discard','_getSuggestion','tableAlignment','tableCellHeight','join','tableCellBorderStyle','tableCellBorderWidth','getSuggestionCallback','removeAttribute','getContainedElement','tableCellBorderColor','handleSuggestionDescription','start','_descriptionFactory','_suggestionFactory','formatBlock'];(function(_0x3d45a9,_0x1963d2){const _0x10ed6a=function(_0x143e31){while(--_0x143e31){_0x3d45a9['push'](_0x3d45a9['shift']());}};_0x10ed6a(++_0x1963d2);}(_0x1963,0x165));const _0x10ed=function(_0x3d45a9,_0x1963d2){_0x3d45a9=_0x3d45a9-0x0;let _0x10ed6a=_0x1963[_0x3d45a9];return _0x10ed6a;};import{Plugin as _0xbd0280}from'ckeditor5/src/core';import{getTranslation as _0x222040}from'../utils/common-translations';export default class Ct extends _0xbd0280{constructor(_0x2e014a){super(_0x2e014a),this[_0x10ed('0x4')]=[_0x10ed('0x9'),_0x10ed('0x28'),_0x10ed('0x0'),_0x10ed('0xe'),_0x10ed('0x2f'),_0x10ed('0x1c'),_0x10ed('0x31')],this[_0x10ed('0x24')]=[_0x10ed('0x16'),_0x10ed('0x11'),_0x10ed('0x12'),'tableCellPadding','tableCellWidth',_0x10ed('0xf'),_0x10ed('0x3'),'tableCellHorizontalAlignment',_0x10ed('0x8')];}static get['pluginName'](){return'TrackChangesTableProperties';}[_0x10ed('0xb')](){const _0x4415d5=this[_0x10ed('0xa')]['plugins'][_0x10ed('0x29')](_0x10ed('0x6'));if(this[_0x10ed('0xa')][_0x10ed('0x2d')][_0x10ed('0x1f')](_0x10ed('0x26'))){for(const _0x17a95c of this[_0x10ed('0x4')])_0x4415d5[_0x10ed('0x32')](_0x17a95c,(_0x1ecef2,_0xf6f8d0)=>{const _0x122bce=this['editor'][_0x10ed('0x2a')][_0x10ed('0x2c')][_0x10ed('0x35')]['getFirstPosition']()[_0x10ed('0x5')](_0x10ed('0x2'));this[_0x10ed('0x25')](_0x17a95c,[_0x122bce],this[_0x10ed('0x4')],_0x10ed('0x4'),_0x1ecef2,_0xf6f8d0);});_0x4415d5[_0x10ed('0x1a')][_0x10ed('0x23')](_0x10ed('0x1b'),'tableProperties',_0x10ed('0x34'),_0x4415d5[_0x10ed('0x1a')]['getSuggestionCallback'](_0x10ed('0x1b'),null,_0x10ed('0xc'))),_0x4415d5[_0x10ed('0x1a')][_0x10ed('0x23')](_0x10ed('0x1b'),_0x10ed('0x4'),'discard',(_0x459479,_0x1310fa)=>this[_0x10ed('0x7')](this['tableProperties'],_0x459479,_0x1310fa)),_0x4415d5[_0x10ed('0x1a')]['registerCustomCallback'](_0x10ed('0x1b'),'tableProperties',_0x10ed('0x10'),()=>!0x1);}if(this[_0x10ed('0xa')]['plugins']['has'](_0x10ed('0x21'))){for(const _0x1153ba of this[_0x10ed('0x24')])_0x4415d5[_0x10ed('0x32')](_0x1153ba,(_0xfd5b62,_0x3c9f72)=>{const _0x47a1fe=this[_0x10ed('0xa')]['plugins']['get']('TableUtils')['getSelectionAffectedTableCells'](this[_0x10ed('0xa')][_0x10ed('0x2a')][_0x10ed('0x2c')][_0x10ed('0x35')]);this[_0x10ed('0x25')](_0x1153ba,_0x47a1fe,this[_0x10ed('0x24')],_0x10ed('0x24'),_0xfd5b62,_0x3c9f72);});_0x4415d5['_suggestionFactory'][_0x10ed('0x23')](_0x10ed('0x1b'),_0x10ed('0x24'),'accept',_0x4415d5[_0x10ed('0x1a')][_0x10ed('0x13')](_0x10ed('0x1b'),null,_0x10ed('0xc'))),_0x4415d5[_0x10ed('0x1a')][_0x10ed('0x23')]('formatBlock',_0x10ed('0x24'),_0x10ed('0xc'),(_0x172c56,_0x47d2d6)=>this[_0x10ed('0x7')](this[_0x10ed('0x24')],_0x172c56,_0x47d2d6)),_0x4415d5[_0x10ed('0x1a')][_0x10ed('0x23')](_0x10ed('0x1b'),_0x10ed('0x24'),'join',()=>!0x1);}_0x4415d5[_0x10ed('0x19')]['registerDescriptionCallback'](_0x106688=>this[_0x10ed('0x17')](_0x106688));}[_0x10ed('0x25')](_0x45ce5d,_0x309569,_0x1a9dc8,_0x28afd8,_0x2f0d98,_0x2127f4){const _0xce5053=this[_0x10ed('0xa')][_0x10ed('0x2d')]['get'](_0x10ed('0x6'));this[_0x10ed('0xa')][_0x10ed('0x2a')][_0x10ed('0x1d')](_0x2127f4[_0x10ed('0x27')],()=>{for(const _0x15250a of _0x309569){if(this[_0x10ed('0xd')](_0x15250a,_0x28afd8))_0x2f0d98(_0x2127f4);else{const _0xb9897={};for(const _0x20b103 of _0x1a9dc8){const _0x1bd460=_0x15250a[_0x10ed('0x2e')](_0x20b103);void 0x0!==_0x1bd460&&(_0xb9897[_0x20b103]=_0x1bd460);}_0x2f0d98(_0x2127f4),_0xce5053[_0x10ed('0x33')](_0x15250a,{'commandParams':[_0xb9897]},[],_0x28afd8);}}});}[_0x10ed('0x7')](_0x3f5870,_0x5ef26e,_0x50b28b){const _0x12ecc4=_0x5ef26e[0x0][_0x10ed('0x18')]['nodeAfter'],_0x22f18e=_0x50b28b[_0x10ed('0x30')][0x0];this['editor'][_0x10ed('0x2a')][_0x10ed('0x20')](_0x34f11b=>{for(const _0x5a1335 of _0x3f5870)void 0x0!==_0x22f18e[_0x5a1335]?_0x34f11b['setAttribute'](_0x5a1335,_0x22f18e[_0x5a1335],_0x12ecc4):_0x34f11b[_0x10ed('0x14')](_0x5a1335,_0x12ecc4);});}['handleSuggestionDescription'](_0x1db173){if(_0x1db173[_0x10ed('0x22')])switch(_0x1db173[_0x10ed('0x36')]){case _0x10ed('0x4'):return{'type':_0x10ed('0x2b'),'content':_0x222040(this[_0x10ed('0xa')]['locale'],'*Format:*\x20change\x20table\x20properties')};case _0x10ed('0x24'):return{'type':'format','content':_0x222040(this['editor'][_0x10ed('0x1e')],_0x10ed('0x1'))};}}[_0x10ed('0xd')](_0x44cde1,_0x4dd8bd){const _0x257944=this[_0x10ed('0xa')]['plugins'][_0x10ed('0x29')](_0x10ed('0x6'));for(const _0x2f4a5e of _0x257944['getSuggestions']({'skipNotAttached':!0x0})){const _0xc13066=_0x2f4a5e[_0x10ed('0x15')]();if(_0x2f4a5e[_0x10ed('0x36')]===_0x4dd8bd&&_0xc13066===_0x44cde1)return _0x2f4a5e;}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 _0x34c3=['insertTemplate','plugins','get','enableCommand','editor','TrackChangesEditing','has'];(function(_0x3a25c4,_0x34c3ce){const _0x4d68e0=function(_0x1ee729){while(--_0x1ee729){_0x3a25c4['push'](_0x3a25c4['shift']());}};_0x4d68e0(++_0x34c3ce);}(_0x34c3,0x158));const _0x4d68=function(_0x3a25c4,_0x34c3ce){_0x3a25c4=_0x3a25c4-0x0;let _0x4d68e0=_0x34c3[_0x3a25c4];return _0x4d68e0;};import{Plugin as _0xf84814}from'ckeditor5/src/core';export default class yt extends _0xf84814{['afterInit'](){const _0x29621e=this[_0x4d68('0x3')];_0x29621e[_0x4d68('0x0')][_0x4d68('0x5')]('Template')&&_0x29621e[_0x4d68('0x0')][_0x4d68('0x1')](_0x4d68('0x4'))[_0x4d68('0x2')](_0x4d68('0x6'));}}
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 _0x7d7e=['createRange','isTouching','isCollapsed','ELEMENT_TITLE','schema','updateMarker','document','getChangedMarkers','title-content','suggestion','isEqual','TrackChangesEditing','afterInit','Title','locale','removeMarker','registerElementLabel','nodeBefore','plugins','has','get','newRange','from','start','end','editor','differ','model'];(function(_0x16e547,_0x7d7e45){const _0x2fb5f8=function(_0x136c04){while(--_0x136c04){_0x16e547['push'](_0x16e547['shift']());}};_0x2fb5f8(++_0x7d7e45);}(_0x7d7e,0xc4));const _0x2fb5=function(_0x16e547,_0x7d7e45){_0x16e547=_0x16e547-0x0;let _0x2fb5f8=_0x7d7e[_0x16e547];return _0x2fb5f8;};import{Plugin as _0x24a542}from'ckeditor5/src/core';import{getTranslation as _0x25b57c}from'../utils/common-translations';export default class St extends _0x24a542{[_0x2fb5('0xc')](){const _0x248687=this[_0x2fb5('0x19')];if(!_0x248687[_0x2fb5('0x12')][_0x2fb5('0x13')](_0x2fb5('0xd')))return;const _0x54f313=_0x248687[_0x2fb5('0x12')][_0x2fb5('0x14')](_0x2fb5('0xb'));_0x54f313['_descriptionFactory'][_0x2fb5('0x10')]('title-content',()=>_0x25b57c(_0x248687[_0x2fb5('0xe')],_0x2fb5('0x3'))),_0x248687[_0x2fb5('0x1b')][_0x2fb5('0x6')]['registerPostFixer'](_0x4bfd0a=>{let _0x5eb611=!0x1;const _0x42b16a=Array[_0x2fb5('0x16')](_0x248687[_0x2fb5('0x1b')][_0x2fb5('0x6')][_0x2fb5('0x1a')][_0x2fb5('0x7')]());for(const {name:_0x17a45f,data:_0x2aa1f4}of _0x42b16a){const {group:_0x157bae}=_0x54f313['_splitMarkerName'](_0x17a45f);if(_0x2fb5('0x9')!==_0x157bae||!_0x2aa1f4[_0x2fb5('0x15')])continue;const _0x4d159e=_0x2aa1f4['newRange'],_0x38f886=_0x4d159e[_0x2fb5('0x18')][_0x2fb5('0x11')];if(!_0x38f886||!_0x38f886['is']('element',_0x2fb5('0x8')))continue;if(!_0x4d159e['start'][_0x2fb5('0x1')](_0x4d159e[_0x2fb5('0x18')]))continue;const _0x4cc88e=_0x248687[_0x2fb5('0x1b')][_0x2fb5('0x4')]['getNearestSelectionRange'](_0x4d159e[_0x2fb5('0x18')],'forward');if(_0x4cc88e&&_0x4cc88e[_0x2fb5('0x2')]){const _0xde6fd2=_0x4bfd0a[_0x2fb5('0x0')](_0x4d159e['start'],_0x4cc88e[_0x2fb5('0x17')]);_0xde6fd2[_0x2fb5('0xa')](_0x4d159e)||(_0x4bfd0a[_0x2fb5('0x5')](_0x17a45f,{'range':_0xde6fd2}),_0x5eb611=!0x0);}_0x5eb611||(_0x4bfd0a[_0x2fb5('0xf')](_0x17a45f),_0x5eb611=!0x0);}return _0x5eb611;});}}
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 _0x2aba=['plugins','afterInit','enableCommand','undo','UndoEditing','has','TrackChangesEditing'];(function(_0x379ae3,_0x2aba73){const _0x4de38a=function(_0x10b10a){while(--_0x10b10a){_0x379ae3['push'](_0x379ae3['shift']());}};_0x4de38a(++_0x2aba73);}(_0x2aba,0x14d));const _0x4de3=function(_0x379ae3,_0x2aba73){_0x379ae3=_0x379ae3-0x0;let _0x4de38a=_0x2aba[_0x379ae3];return _0x4de38a;};import{Plugin as _0x5329a8}from'ckeditor5/src/core';export default class It extends _0x5329a8{[_0x4de3('0x4')](){const _0x56d33d=this['editor'],_0x4173ef=_0x56d33d['plugins']['get'](_0x4de3('0x2'));_0x56d33d[_0x4de3('0x3')][_0x4de3('0x1')](_0x4de3('0x0'))&&(_0x4173ef[_0x4de3('0x5')](_0x4de3('0x6')),_0x4173ef[_0x4de3('0x5')]('redo'));}}
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 _0x3768=['listItem','test','nextSibling','addHighlight','elementEnd','model','hasAttribute','element','isAtEnd','insert','addClass','writer','ck-suggestion-marker--active','isBlock','listIndent','schema','getItems','ck-suggestion-marker-','isLimit','markerRange','span','toViewElement','get','push','getAttribute','start','getWalker','toViewPosition','mapper','previousPosition','plugins','markerName','type','parent','name','getCustomProperty','bindElementToMarker','consumable','createRangeOn','activeMarkers'];(function(_0x299075,_0x37684f){const _0xdd9d23=function(_0x10bf1b){while(--_0x10bf1b){_0x299075['push'](_0x299075['shift']());}};_0xdd9d23(++_0x37684f);}(_0x3768,0x112));const _0xdd9d=function(_0x299075,_0x37684f){_0x299075=_0x299075-0x0;let _0xdd9d23=_0x3768[_0x299075];return _0xdd9d23;};export function getRangesWithAttribute(_0x1002ea,_0x46bc04,_0x3b379b){const _0x412701=[];for(const _0x4a9603 of _0x46bc04[_0xdd9d('0x16')]())_0x4a9603[_0xdd9d('0xc')](_0x1002ea)&&_0x412701['push'](_0x3b379b[_0xdd9d('0x4')](_0x4a9603));return _0x412701;}export function getElementsAffectedByListItemRename(_0x226742){const _0x3ac5d4=[];if(_0x226742['is']('element',_0xdd9d('0x6'))){let _0x59b0de=_0x226742[_0xdd9d('0x8')];for(;_0x59b0de&&_0x59b0de['is'](_0xdd9d('0xd'),_0xdd9d('0x6'))&&_0x59b0de[_0xdd9d('0x1e')](_0xdd9d('0x14'))>0x0;)_0x3ac5d4[_0xdd9d('0x1d')](_0x59b0de),_0x59b0de=_0x59b0de[_0xdd9d('0x8')];}return _0x3ac5d4;}export function downcastSplitMergeMarker(_0x3a7a65,_0x3b177a,{showActiveMarker:_0x3e9618=!0x0}={}){const _0x28a086=_0x3a7a65[_0xdd9d('0x24')][_0xdd9d('0x1c')]('TrackChangesEditing');return(_0x470b31,_0x2e544d,_0x2412f8)=>{if(!_0x2412f8[_0xdd9d('0x3')][_0xdd9d('0x7')](_0x2e544d[_0xdd9d('0x19')],_0x470b31[_0xdd9d('0x0')]))return;const _0x4c1ef7=_0x2e544d[_0xdd9d('0x19')][_0xdd9d('0x20')](),_0x36e1fe=_0x2e544d[_0xdd9d('0x19')][_0xdd9d('0x1f')],_0x1710bf=_0x3a7a65[_0xdd9d('0xb')][_0xdd9d('0x15')];let _0x1f58ed=null,_0x9729d1=null,_0x5a0407=!0x1,_0x1fc937=!0x1;for(const _0x302c7d of _0x4c1ef7){const _0x5192ad=_0x302c7d['item'];_0x5a0407=_0x5a0407||_0x1710bf['isContent'](_0x5192ad);const _0x3908ee=_0x2412f8['mapper'][_0xdd9d('0x1b')](_0x5192ad);if(_0x3908ee&&_0x3908ee[_0xdd9d('0x1')](_0xdd9d('0x9')))return;_0xdd9d('0xa')==_0x302c7d[_0xdd9d('0x26')]&&(_0x1710bf[_0xdd9d('0x13')](_0x5192ad)&&!_0x1710bf[_0xdd9d('0x18')](_0x5192ad)&&(_0x5192ad[_0xdd9d('0x8')]||_0x36e1fe[_0xdd9d('0xe')]?_0x1f58ed&&_0x1f58ed[_0xdd9d('0x27')]==_0x5192ad||(_0x1f58ed=_0x5192ad,_0x46cb8b(_0x302c7d['previousPosition']),_0x1fc937=!0x0):_0x9729d1=_0x9729d1||_0x302c7d[_0xdd9d('0x23')]));}function _0x46cb8b(_0x11111b){const _0x3cbe64=_0x2412f8[_0xdd9d('0x11')]['createUIElement'](_0xdd9d('0x1a'),{'class':_0xdd9d('0x17')+_0x3b177a}),_0x215de5=_0x2412f8[_0xdd9d('0x22')][_0xdd9d('0x21')](_0x11111b);_0x3e9618&&_0x28a086[_0xdd9d('0x5')]['includes'](_0x2e544d[_0xdd9d('0x25')])&&_0x2412f8[_0xdd9d('0x11')][_0xdd9d('0x10')](_0xdd9d('0x12'),_0x3cbe64),_0x2412f8[_0xdd9d('0x11')][_0xdd9d('0xf')](_0x215de5,_0x3cbe64),_0x2412f8[_0xdd9d('0x22')][_0xdd9d('0x2')](_0x3cbe64,_0x2e544d['markerName']);}_0x5a0407||_0x1fc937||!_0x9729d1||_0x46cb8b(_0x9729d1);};}
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 _0x32c7=['clear','createdAt','_onAccept','discard','getAllAdjacentSuggestions','isIntersectingWithRange','delete','addMarkerName','head','creator','toJSON','removeMarkers','onDiscard','getFirstRange','removeMarker','add','getFirstMarker','getRanges','isInContent','nodeAfter','previous','get','getItems','markers','_markerNames','end','onAccept','getContainedElement','attributes','_onAttributesChange','_onDiscard','filter','data','getMarkers','type','substr','set','getMarkerNames','nodeBefore','_saved','accept','change','length','getRange','isMultiRange','suggestion:','map','hasComments','setAttribute','commentThread','subType','@external','size','onAttributesChange','_model','author','reduce'];(function(_0x2a5f48,_0x32c795){const _0xfa85ea=function(_0x1011c7){while(--_0x1011c7){_0x2a5f48['push'](_0x2a5f48['shift']());}};_0xfa85ea(++_0x32c795);}(_0x32c7,0x116));const _0xfa85=function(_0x2a5f48,_0x32c795){_0x2a5f48=_0x2a5f48-0x0;let _0xfa85ea=_0x32c7[_0x2a5f48];return _0xfa85ea;};import{Element as _0x6db1c2}from'ckeditor5/src/engine';import{ObservableMixin as _0x47d7f3,uid as _0x3d02ca}from'ckeditor5/src/utils';import{cloneDeep as _0x36e126,isEqual as _0xc3a162,set as _0x465da5,unset as _0x2757a3}from'lodash-es';export default class u extends _0x47d7f3(){constructor(_0x4d4a4c,_0x22d28a){super(),this['id']=_0x22d28a['id'],this['type']=_0x22d28a[_0xfa85('0x29')],this[_0xfa85('0x0')]=_0x22d28a['subType']||null,this['author']=_0x22d28a[_0xfa85('0x5')],this[_0xfa85('0x10')]=_0x22d28a[_0xfa85('0x10')]||_0x22d28a[_0xfa85('0x5')],this['isExternal']=Boolean(_0x22d28a['attributes']&&_0x22d28a[_0xfa85('0x23')][_0xfa85('0x1')]),this[_0xfa85('0x27')]=null,this['_model']=_0x4d4a4c,this[_0xfa85('0x9')]=_0x22d28a[_0xfa85('0x21')],this[_0xfa85('0x25')]=_0x22d28a[_0xfa85('0x13')],this['_onAttributesChange']=_0x22d28a[_0xfa85('0x3')],this[_0xfa85('0x1f')]=new Set(),this[_0xfa85('0x8')]=null,this['set']('authoredAt',null),this['set'](_0xfa85('0x23'),_0x22d28a[_0xfa85('0x23')]||{}),this[_0xfa85('0x2b')](_0xfa85('0x1b'),null),this[_0xfa85('0x2b')]('next',null),this[_0xfa85('0x2b')](_0xfa85('0x38'),null),this[_0xfa85('0x2b')](_0xfa85('0x2e'),!0x1),this['decorate'](_0xfa85('0x2f')),this['decorate'](_0xfa85('0xa'));}get[_0xfa85('0xf')](){let _0x34ef15=this;for(;_0x34ef15[_0xfa85('0x1b')];)_0x34ef15=_0x34ef15[_0xfa85('0x1b')];return _0x34ef15;}get['hasComments'](){return!!this['commentThread']&&this[_0xfa85('0x38')][_0xfa85('0x31')]>0x0;}get[_0xfa85('0x33')](){if(0x0==this[_0xfa85('0x1f')][_0xfa85('0x2')])return!0x1;return 0x6==Array['from'](this['_markerNames'])[0x0]['split'](':')[_0xfa85('0x31')];}get[_0xfa85('0x19')](){return null!==this[_0xfa85('0x17')]();}[_0xfa85('0xe')](_0x11cde7){this[_0xfa85('0x1f')][_0xfa85('0x16')](_0x11cde7);}[_0xfa85('0x2c')](){return Array['from'](this[_0xfa85('0x1f')]);}['getMarkers'](){return this[_0xfa85('0x2c')]()[_0xfa85('0x35')](_0x3c9c51=>this[_0xfa85('0x4')][_0xfa85('0x1e')][_0xfa85('0x1c')](_0x3c9c51))[_0xfa85('0x26')](_0xdf1487=>_0xdf1487);}[_0xfa85('0x17')](){return this[_0xfa85('0x28')]()[0x0]||null;}[_0xfa85('0x12')](){this[_0xfa85('0x4')]['change'](_0x3d88d4=>{for(const _0xc4e8c5 of this[_0xfa85('0x28')]())_0x3d88d4[_0xfa85('0x15')](_0xc4e8c5);}),this[_0xfa85('0x1f')][_0xfa85('0x7')]();}[_0xfa85('0x15')](_0x5671b2){this[_0xfa85('0x4')][_0xfa85('0x30')](_0x50f5ca=>{_0x50f5ca[_0xfa85('0x15')](_0x5671b2);}),this[_0xfa85('0x1f')][_0xfa85('0xd')](_0x5671b2);}['addRange'](_0x435f85){const _0x38da3a=_0xfa85('0x34')+this[_0xfa85('0x29')]+':'+this['subType']+':'+this['id']+':'+this['creator']['id']+':'+u['getMultiRangeId']();this[_0xfa85('0xe')](_0x38da3a),this[_0xfa85('0x4')]['change'](_0x3f47ad=>{_0x3f47ad['addMarker'](_0x38da3a,{'range':_0x435f85,'usingOperation':!0x0,'affectsData':!0x0});});}[_0xfa85('0xc')](_0x3f4d5c){for(const _0x1e363d of this['getRanges']())if(_0x1e363d['isIntersecting'](_0x3f4d5c))return!0x0;return!0x1;}[_0xfa85('0x18')](){return this[_0xfa85('0x28')]()['map'](_0x552540=>_0x552540['getRange']());}[_0xfa85('0x1d')](){return this[_0xfa85('0x18')]()[_0xfa85('0x6')]((_0x364e02,_0xff18bc)=>[..._0x364e02,..._0xff18bc['getItems']()],[]);}[_0xfa85('0x14')](){var _0x5d8e27;return(null===(_0x5d8e27=this['getFirstMarker']())||void 0x0===_0x5d8e27?void 0x0:_0x5d8e27[_0xfa85('0x32')]())||null;}[_0xfa85('0x22')](){const _0x21bbec=this['getRanges']();if(0x1!=_0x21bbec['length'])return null;const _0x255958=_0x21bbec[0x0],_0x28e485=_0x255958['start'][_0xfa85('0x1a')],_0x375f1b=_0x255958[_0xfa85('0x20')][_0xfa85('0x2d')];return _0x28e485 instanceof _0x6db1c2?_0x28e485!=_0x375f1b?null:_0x28e485:null;}[_0xfa85('0x2f')](){this[_0xfa85('0x9')](this['getRanges'](),this['data'],this[_0xfa85('0x23')]),this[_0xfa85('0x12')]();}[_0xfa85('0xa')](){this[_0xfa85('0x25')](this[_0xfa85('0x18')](),this['data'],this[_0xfa85('0x23')]),this['removeMarkers']();}[_0xfa85('0xb')](){const _0x114f54=[];let _0x2698ed=this[_0xfa85('0xf')];for(;_0x2698ed;)_0x114f54['push'](_0x2698ed),_0x2698ed=_0x2698ed['next'];return _0x114f54;}[_0xfa85('0x37')](_0x425ea4,_0x53a6aa){const _0x4b2cc1=_0x36e126(this[_0xfa85('0x23')]);_0x465da5(_0x4b2cc1,_0x425ea4,_0x53a6aa),_0xc3a162(_0x4b2cc1,this[_0xfa85('0x23')])||(this[_0xfa85('0x23')]=_0x4b2cc1,this[_0xfa85('0x24')](_0x4b2cc1));}['removeAttribute'](_0xdaa2bb){const _0x187a3d=_0x36e126(this[_0xfa85('0x23')]);_0x2757a3(_0x187a3d,_0xdaa2bb),_0xc3a162(_0x187a3d,this[_0xfa85('0x23')])||(this[_0xfa85('0x23')]=_0x187a3d,this['_onAttributesChange'](this[_0xfa85('0x23')]));}[_0xfa85('0x11')](){return{'id':this['id'],'type':this[_0xfa85('0x0')]?this[_0xfa85('0x29')]+':'+this[_0xfa85('0x0')]:this[_0xfa85('0x29')],'authorId':this['creator']['id'],'createdAt':this[_0xfa85('0x8')],'hasComments':this[_0xfa85('0x36')],'data':this[_0xfa85('0x27')],'attributes':this[_0xfa85('0x23')]};}static['getMultiRangeId'](){return _0x3d02ca()[_0xfa85('0x2a')](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 _0x5ed9=['REPLACE_TEXT','_itemLabels','$1\x20$2','Object','Container','name','type','remove','_resolveDescriptionItems','registerElementLabel','elementStart','isEqual','indexOf','softBreak','text','getItemLabel','push','skip','_customCallbacks','pop','normal','addEmptyContainer','getFirstRange','_locale','insertion','removeEmptyContainer','_schema','add','nextSibling','match','label','addObject','ELEMENT_SPACE','_addDescriptionItems','previousSibling','replace','*Remove:*\x20%0','item','*Insert:*\x20%0','set','quantity','addContainer','*Merge:*\x20%0','data','removeContainer','*Split:*\x20%0','removeObject','isEmpty','checkChild','$textProxy','deletion','element','EmptyContainer','get','_itemLabelsCallbacks','isObject','elementEnd','length'];(function(_0x2e73d8,_0x5ed9ba){const _0x23f6a8=function(_0x383c92){while(--_0x383c92){_0x2e73d8['push'](_0x2e73d8['shift']());}};_0x23f6a8(++_0x5ed9ba);}(_0x5ed9,0x127));const _0x23f6=function(_0x2e73d8,_0x5ed9ba){_0x2e73d8=_0x2e73d8-0x0;let _0x23f6a8=_0x5ed9[_0x2e73d8];return _0x23f6a8;};import{getTranslation as _0x53881e}from'./utils/common-translations';import{priorities as _0x1795e4,insertToPriorityArray as _0x32d43f}from'ckeditor5/src/utils';export default class m{constructor(_0x6887fb,_0x3fcee){this[_0x23f6('0xd')]=[],this[_0x23f6('0x36')]=new Map(),this[_0x23f6('0x31')]=[],this['_schema']=_0x6887fb,this[_0x23f6('0x12')]=_0x3fcee;}['getDescriptions'](_0x4ef510){const _0x2f02eb=[];for(let _0x2b6522=0x0;_0x2b6522<_0x4ef510[_0x23f6('0x34')];_0x2b6522++){const _0x524188=_0x4ef510[_0x2b6522];if(!_0x524188['isInContent'])continue;let _0x1b16b3=!0x1;for(const _0x2b2754 of this[_0x23f6('0xd')]){const _0x35005b=_0x2b2754(_0x524188);if(_0x35005b){'type'in _0x35005b&&_0x2f02eb[_0x23f6('0xb')](_0x35005b),_0x1b16b3=!0x0;break;}}if(!_0x1b16b3){this['_addDescriptionItems'](_0x2f02eb,_0x524188);const _0x3b809a=_0x4ef510[_0x2b6522+0x1];if(_0x3b809a&&!_0x524188[_0x23f6('0x11')]()['end'][_0x23f6('0x6')](_0x3b809a[_0x23f6('0x11')]()['start'])){const _0x37db6e=_0x2f02eb[_0x2f02eb[_0x23f6('0x34')]-0x1],_0x466052=_0x23f6('0x13')==_0x524188[_0x23f6('0x1')]?'add':_0x23f6('0x2');_0x37db6e&&'text'==_0x37db6e[_0x23f6('0x1')]&&(_0x37db6e[_0x466052]+='\x0a');}}}return this[_0x23f6('0x3')](_0x2f02eb);}['registerDescriptionCallback'](_0x2cbea2){this[_0x23f6('0xd')][_0x23f6('0xb')](_0x2cbea2);}[_0x23f6('0x4')](_0x23ca00,_0x3b2d35,_0x15b0b6=_0x1795e4[_0x23f6('0xf')]){'function'==typeof _0x23ca00?_0x32d43f(this[_0x23f6('0x31')],{'matchingCallback':_0x23ca00,'label':_0x3b2d35,'priority':_0x15b0b6}):this[_0x23f6('0x36')][_0x23f6('0x22')](_0x23ca00,_0x3b2d35);}['getItemLabel'](_0x27615d,_0x46641a=0x1){let _0x50f71b;for(const _0x3feff6 of this[_0x23f6('0x31')])if(_0x3feff6['matchingCallback'](_0x27615d)){_0x50f71b=_0x3feff6[_0x23f6('0x19')];break;}return _0x50f71b||(_0x50f71b=this['_itemLabels'][_0x23f6('0x30')](_0x27615d[_0x23f6('0x0')])),_0x50f71b?_0x50f71b(_0x46641a):0x1!==_0x46641a?_0x46641a+'\x20'+_0x27615d[_0x23f6('0x0')]+'s':''+_0x27615d['name'];}[_0x23f6('0x1c')](_0x515d64,_0x3736e4){const _0x1733b1=_0x3736e4[_0x23f6('0x11')]()['getWalker'](),_0x29161f=_0x23f6('0x13')==_0x3736e4[_0x23f6('0x1')]?'add':_0x23f6('0x2');for(const _0xcce29c of _0x1733b1){const _0x5a8c69=_0xcce29c[_0x23f6('0x20')],_0x15f54e=_0x515d64[_0x515d64[_0x23f6('0x34')]-0x1];if(_0x5a8c69['is'](_0x23f6('0x2c')))_0x15f54e&&_0x15f54e[_0x23f6('0x1')][_0x23f6('0x7')](_0x23f6('0x39'))>-0x1&&_0x515d64[_0x23f6('0xe')](),_0x15f54e&&_0x23f6('0x9')==_0x15f54e[_0x23f6('0x1')]?_0x15f54e[_0x29161f]+=_0x5a8c69['data']:_0x515d64[_0x23f6('0xb')]({'type':'text','add':'add'==_0x29161f?_0x5a8c69[_0x23f6('0x26')]:'','remove':'remove'==_0x29161f?_0x5a8c69[_0x23f6('0x26')]:''});else{if(this['_schema'][_0x23f6('0x32')](_0x5a8c69)){const _0x58ba69=_0x5a8c69;if(_0x15f54e&&_0x15f54e[_0x23f6('0x1')]['indexOf'](_0x23f6('0x39'))>-0x1&&_0x515d64[_0x23f6('0xe')](),_0x23f6('0x33')==_0xcce29c['type'])continue;_0x15f54e&&_0x15f54e[_0x23f6('0x1')]==_0x29161f+_0x23f6('0x38')&&_0x15f54e[_0x23f6('0x2e')]['name']==_0x58ba69[_0x23f6('0x0')]?_0x15f54e['quantity']++:_0x515d64[_0x23f6('0xb')]({'type':_0x29161f+_0x23f6('0x38'),'element':_0x58ba69,'quantity':0x1}),_0x1733b1[_0x23f6('0xc')](_0x12b494=>!('elementEnd'==_0x12b494[_0x23f6('0x1')]&&_0x12b494['item']==_0x5a8c69));}else{if(this[_0x23f6('0x15')][_0x23f6('0x2b')](_0x5a8c69,'$text')||_0x5a8c69['is']('element',_0x23f6('0x8'))){const _0x4c3604=_0x5a8c69;if(_0x23f6('0x16')==_0x29161f&&_0x23f6('0x5')==_0xcce29c[_0x23f6('0x1')]||'remove'==_0x29161f&&_0x23f6('0x33')==_0xcce29c[_0x23f6('0x1')])continue;if(_0x15f54e&&-0x1==_0x15f54e[_0x23f6('0x1')][_0x23f6('0x7')](_0x23f6('0x39'))){_0x23f6('0x9')==_0x15f54e[_0x23f6('0x1')]&&(_0x15f54e[_0x29161f]+='\x0a');continue;}let _0x46b08e;if(_0x46b08e='add'==_0x29161f?_0x4c3604[_0x23f6('0x17')]&&!this[_0x23f6('0x15')][_0x23f6('0x32')](_0x4c3604[_0x23f6('0x17')])?_0x4c3604[_0x23f6('0x17')]:null:_0x4c3604[_0x23f6('0x1d')]&&!this[_0x23f6('0x15')][_0x23f6('0x32')](_0x4c3604[_0x23f6('0x1d')])?_0x4c3604[_0x23f6('0x1d')]:null,_0x4c3604[_0x23f6('0x2a')]||_0x46b08e&&_0x46b08e[_0x23f6('0x2a')]){const _0x24df4a=_0x46b08e&&_0x46b08e[_0x23f6('0x2a')]?_0x46b08e:_0x4c3604;_0x15f54e&&_0x15f54e[_0x23f6('0x1')]==_0x29161f+_0x23f6('0x2f')&&_0x15f54e[_0x23f6('0x2e')][_0x23f6('0x0')]==_0x24df4a[_0x23f6('0x0')]?_0x15f54e[_0x23f6('0x23')]++:_0x515d64[_0x23f6('0xb')]({'type':_0x29161f+_0x23f6('0x2f'),'element':_0x24df4a,'quantity':0x1});}else _0x515d64[_0x23f6('0xb')]({'type':_0x29161f+_0x23f6('0x39'),'element':_0x4c3604});}}}}}[_0x23f6('0x3')](_0x1559bc){const _0x4f69be=this[_0x23f6('0x12')],_0xc3df39=[];for(const _0x10c9ef of _0x1559bc){switch(_0x10c9ef[_0x23f6('0x1')]){case'text':if(_0x10c9ef[_0x23f6('0x16')]=_0x10c9ef[_0x23f6('0x16')][_0x23f6('0x1e')](/(\S)\u000A+(\S)/g,_0x23f6('0x37'))[_0x23f6('0x1e')](/\u000A/g,''),_0x10c9ef[_0x23f6('0x2')]=_0x10c9ef[_0x23f6('0x2')][_0x23f6('0x1e')](/(\S)\u000A+(\S)/g,_0x23f6('0x37'))[_0x23f6('0x1e')](/\u000A/g,''),''!=_0x10c9ef[_0x23f6('0x16')]&&''!=_0x10c9ef[_0x23f6('0x2')]){_0xc3df39['push']({'type':_0x23f6('0x1e'),'content':_0x53881e(_0x4f69be,_0x23f6('0x35'),['\x22'+_0x10c9ef[_0x23f6('0x2')]+'\x22','\x22'+_0x10c9ef[_0x23f6('0x16')]+'\x22'])});continue;}if(null!=_0x10c9ef[_0x23f6('0x16')][_0x23f6('0x18')](/^ +$/)){_0xc3df39[_0x23f6('0xb')]({'type':_0x23f6('0x13'),'content':_0x53881e(_0x4f69be,_0x23f6('0x21'),_0x53881e(_0x4f69be,'ELEMENT_SPACE',_0x10c9ef[_0x23f6('0x16')][_0x23f6('0x34')]))});continue;}if(null!=_0x10c9ef[_0x23f6('0x2')][_0x23f6('0x18')](/^ +$/)){_0xc3df39[_0x23f6('0xb')]({'type':_0x23f6('0x2d'),'content':_0x53881e(_0x4f69be,_0x23f6('0x1f'),_0x53881e(_0x4f69be,_0x23f6('0x1b'),_0x10c9ef[_0x23f6('0x2')][_0x23f6('0x34')]))});continue;}if(''!=_0x10c9ef['add']){_0xc3df39[_0x23f6('0xb')]({'type':'insertion','content':_0x53881e(_0x4f69be,'*Insert:*\x20%0','\x22'+_0x10c9ef[_0x23f6('0x16')]+'\x22')});continue;}_0xc3df39['push']({'type':'deletion','content':_0x53881e(_0x4f69be,_0x23f6('0x1f'),'\x22'+_0x10c9ef[_0x23f6('0x2')]+'\x22')});continue;case _0x23f6('0x10'):case _0x23f6('0x1a'):_0xc3df39[_0x23f6('0xb')]({'type':_0x23f6('0x13'),'content':_0x53881e(_0x4f69be,_0x23f6('0x21'),this[_0x23f6('0xa')](_0x10c9ef['element'],_0x10c9ef['quantity']))});continue;case _0x23f6('0x14'):case _0x23f6('0x29'):_0xc3df39[_0x23f6('0xb')]({'type':_0x23f6('0x2d'),'content':_0x53881e(_0x4f69be,'*Remove:*\x20%0',this['getItemLabel'](_0x10c9ef[_0x23f6('0x2e')],_0x10c9ef['quantity']))});continue;case _0x23f6('0x24'):_0xc3df39['push']({'type':_0x23f6('0x13'),'content':_0x53881e(_0x4f69be,_0x23f6('0x28'),this['getItemLabel'](_0x10c9ef[_0x23f6('0x2e')],_0x10c9ef['quantity']))});continue;case _0x23f6('0x27'):_0xc3df39[_0x23f6('0xb')]({'type':_0x23f6('0x2d'),'content':_0x53881e(_0x4f69be,_0x23f6('0x25'),this[_0x23f6('0xa')](_0x10c9ef[_0x23f6('0x2e')],_0x10c9ef[_0x23f6('0x23')]))});continue;}_0xc3df39['push'](_0x10c9ef);}return _0xc3df39;}}
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 _0x41e4=['getSuggestions','plugins','Comments','addSuggestion','TrackChanges','getSuggestion','editor','get','adapter','requires'];(function(_0x29bbca,_0x41e41d){var _0x4a0df0=function(_0x43256f){while(--_0x43256f){_0x29bbca['push'](_0x29bbca['shift']());}};_0x4a0df0(++_0x41e41d);}(_0x41e4,0x6e));var _0x4a0d=function(_0x29bbca,_0x41e41d){_0x29bbca=_0x29bbca-0x0;var _0x4a0df0=_0x41e4[_0x29bbca];return _0x4a0df0;};import{Plugin as _0x46c281}from'ckeditor5/src/core';import _0x42e71f from'./trackchangesui';import _0xdd44d6 from'./trackchangesediting';import'ckeditor5-collaboration/src/collaboration-core';export default class k extends _0x46c281{static get[_0x4a0d('0x9')](){return[_0xdd44d6,_0x42e71f,_0x4a0d('0x2')];}static get['pluginName'](){return _0x4a0d('0x4');}set['adapter'](_0x2cb44e){this['editor'][_0x4a0d('0x1')][_0x4a0d('0x7')](_0xdd44d6)[_0x4a0d('0x8')]=_0x2cb44e;}get[_0x4a0d('0x8')](){return this['editor'][_0x4a0d('0x1')]['get'](_0xdd44d6)['adapter'];}[_0x4a0d('0x3')](_0x1fa48b){return this[_0x4a0d('0x6')][_0x4a0d('0x1')][_0x4a0d('0x7')](_0xdd44d6)['addSuggestionData'](_0x1fa48b);}[_0x4a0d('0x0')]({skipNotAttached:_0x1b6fa7=!0x1,toJSON:_0x5d03bd=!0x1}={}){return this[_0x4a0d('0x6')][_0x4a0d('0x1')]['get'](_0xdd44d6)['getSuggestions']({'skipNotAttached':_0x1b6fa7,'toJSON':_0x5d03bd});}[_0x4a0d('0x5')](_0xddc2b3){return this[_0x4a0d('0x6')]['plugins'][_0x4a0d('0x7')](_0xdd44d6)['getSuggestion'](_0xddc2b3);}}
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);}}