@ckeditor/ckeditor5-track-changes 38.0.0 → 38.1.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 (79) hide show
  1. package/build/track-changes.js +1 -1
  2. package/package.json +10 -8
  3. package/src/commands/acceptsuggestioncommand.js +1 -1
  4. package/src/commands/discardsuggestioncommand.js +1 -1
  5. package/src/commands/executeonallsuggestionscommand.js +1 -1
  6. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  7. package/src/commands/trackchangescommand.js +1 -1
  8. package/src/integrations/alignment.js +1 -1
  9. package/src/integrations/basicstyles.js +1 -1
  10. package/src/integrations/blockquote.js +1 -1
  11. package/src/integrations/ckbox.js +1 -1
  12. package/src/integrations/codeblock.js +1 -1
  13. package/src/integrations/comments.js +1 -1
  14. package/src/integrations/deletecommand.d.ts +3 -2
  15. package/src/integrations/deletecommand.js +1 -1
  16. package/src/integrations/documentlist.js +1 -1
  17. package/src/integrations/documentlistproperties.js +1 -1
  18. package/src/integrations/entercommand.d.ts +3 -2
  19. package/src/integrations/entercommand.js +1 -1
  20. package/src/integrations/findandreplace.js +1 -1
  21. package/src/integrations/font.js +1 -1
  22. package/src/integrations/formatpainter.js +1 -1
  23. package/src/integrations/heading.js +1 -1
  24. package/src/integrations/highlight.js +1 -1
  25. package/src/integrations/horizontalline.js +1 -1
  26. package/src/integrations/htmlembed.js +1 -1
  27. package/src/integrations/image.js +1 -1
  28. package/src/integrations/imagereplace.js +1 -1
  29. package/src/integrations/importword.js +1 -1
  30. package/src/integrations/indent.js +1 -1
  31. package/src/integrations/inputcommand.d.ts +3 -2
  32. package/src/integrations/inputcommand.js +1 -1
  33. package/src/integrations/link.js +1 -1
  34. package/src/integrations/list.js +1 -1
  35. package/src/integrations/listproperties.js +1 -1
  36. package/src/integrations/mediaembed.js +1 -1
  37. package/src/integrations/mention.js +1 -1
  38. package/src/integrations/pagebreak.js +1 -1
  39. package/src/integrations/paragraph.js +1 -1
  40. package/src/integrations/removeformat.js +1 -1
  41. package/src/integrations/restrictededitingmode.js +1 -1
  42. package/src/integrations/shiftentercommand.d.ts +3 -2
  43. package/src/integrations/shiftentercommand.js +1 -1
  44. package/src/integrations/standardeditingmode.js +1 -1
  45. package/src/integrations/style.js +1 -1
  46. package/src/integrations/table.js +1 -1
  47. package/src/integrations/tablecaption.d.ts +3 -2
  48. package/src/integrations/tablecaption.js +1 -1
  49. package/src/integrations/tableclipboard.d.ts +3 -2
  50. package/src/integrations/tableclipboard.js +1 -1
  51. package/src/integrations/tablecolumnresize.js +1 -1
  52. package/src/integrations/tableheadings.d.ts +3 -2
  53. package/src/integrations/tableheadings.js +1 -1
  54. package/src/integrations/tablemergesplit.d.ts +3 -2
  55. package/src/integrations/tablemergesplit.js +1 -1
  56. package/src/integrations/tableofcontents.js +1 -1
  57. package/src/integrations/tableproperties.d.ts +1 -1
  58. package/src/integrations/tableproperties.js +1 -1
  59. package/src/integrations/template.js +1 -1
  60. package/src/integrations/title.js +1 -1
  61. package/src/integrations/undo.js +1 -1
  62. package/src/integrations/utils.js +1 -1
  63. package/src/suggestion.d.ts +1 -1
  64. package/src/suggestion.js +1 -1
  65. package/src/suggestiondescriptionfactory.js +1 -1
  66. package/src/trackchanges.d.ts +5 -5
  67. package/src/trackchanges.js +1 -1
  68. package/src/trackchangesdata.d.ts +4 -5
  69. package/src/trackchangesdata.js +1 -1
  70. package/src/trackchangesediting.d.ts +49 -5
  71. package/src/trackchangesediting.js +1 -1
  72. package/src/trackchangesui.d.ts +5 -5
  73. package/src/trackchangesui.js +1 -1
  74. package/src/ui/suggestioncontroller.js +1 -1
  75. package/src/ui/view/basesuggestionthreadview.js +1 -1
  76. package/src/ui/view/suggestionthreadview.d.ts +0 -2
  77. package/src/ui/view/suggestionthreadview.js +1 -1
  78. package/src/utils/common-translations.js +1 -1
  79. package/src/utils/utils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x29a0=['*Outdent:*\x20%0','*Check\x20item*','editor','_descriptionFactory','numbered','TodoListEditing','ELEMENT_BULLETED_LIST','ELEMENT_LIST_ITEM','ELEMENT_TODO_LIST','from','format','get','name','locale','selection','value','commandName','plugins','before','listItem','slice','listIndent','bulleted','registerDescriptionCallback','indentList','*Indent:*\x20%0','schema','length','element','enableCommand','getAttribute','nextSibling','todo','outdentList','push','model','numberedList','afterInit','execute','ListEditing','_selectedElements','checkTodoList','todoListChecked','markBlockFormat','filter','registerElementLabel','commands','*Change\x20to:*\x20%0','blockName','document','ELEMENT_NUMBERED_LIST','commandParams','getSelectedBlocks','add','bulletedList','findIndex','isObject','previousSibling','change','todoList','createPositionAt'];(function(_0x171e93,_0x29a031){const _0x289158=function(_0x5dd53a){while(--_0x5dd53a){_0x171e93['push'](_0x171e93['shift']());}};_0x289158(++_0x29a031);}(_0x29a0,0xc5));const _0x2891=function(_0x171e93,_0x29a031){_0x171e93=_0x171e93-0x0;let _0x289158=_0x29a0[_0x171e93];return _0x289158;};import{Plugin as _0x49c114}from'ckeditor5/src/core';import{getTranslation as _0x4f4847}from'../utils/common-translations';export default class st extends _0x49c114{[_0x2891('0x17')](){const _0x5b06a7=this[_0x2891('0x31')],_0x2e585f=_0x5b06a7[_0x2891('0x3c')];if(!_0x5b06a7['plugins']['has'](_0x2891('0x19')))return;const _0x58eb1c=_0x5b06a7[_0x2891('0x3')]['get']('TrackChangesEditing'),_0x4f4510=_0x5b06a7[_0x2891('0x3')]['has'](_0x2891('0x34'));function _0x3128a2(_0x23a121){return()=>{const _0x35dad2=_0x5b06a7[_0x2891('0x15')][_0x2891('0x23')][_0x2891('0x0')],_0x141915=_0x5b06a7[_0x2891('0x20')]['get'](_0x23a121);if(_0x141915[_0x2891('0x1')])return void _0x5b06a7[_0x2891('0x18')]('paragraph',{});const _0x30c75d=_0x23a121[_0x2891('0x6')](0x0,-0x4),_0x5c9fa7=function(_0x52538b,_0x5ee29a,_0x1abe56){let _0x25e5a4=Array[_0x2891('0x38')](_0x52538b)[_0x2891('0x1e')](_0x395d39=>function(_0x23634f,_0x3b2811){return _0x3b2811['checkChild'](_0x23634f['parent'],_0x2891('0x5'))&&!_0x3b2811[_0x2891('0x2a')](_0x23634f);}(_0x395d39,_0x1abe56));_0x25e5a4=_0x25e5a4['filter'](_0x1315e4=>!_0x1315e4['is'](_0x2891('0xe'),_0x2891('0x5'))||_0x1315e4['getAttribute']('listType')!=_0x5ee29a);const _0x4d85a3=new Set();for(const _0x3eb285 of _0x25e5a4)_0x3eb285['is'](_0x2891('0xe'),_0x2891('0x5'))?_0x4d85a3['add'](ne(_0x3eb285)):_0x4d85a3['add'](_0x3eb285);return Array[_0x2891('0x38')](_0x4d85a3);}(_0x35dad2[_0x2891('0x26')](),_0x30c75d,_0x5b06a7[_0x2891('0x15')][_0x2891('0xc')]);_0x5b06a7[_0x2891('0x15')][_0x2891('0x2c')](()=>{for(const _0x41f94e of _0x5c9fa7)_0x58eb1c[_0x2891('0x1d')](_0x41f94e,{'commandName':_0x23a121,'commandParams':[{'forceValue':!_0x141915[_0x2891('0x1')]}],'formatGroupId':_0x2891('0x22')},oe(_0x41f94e));});};}function _0x2f94df(_0x451cb9){return()=>{const _0x16ee84=function(_0xe72db5){let _0x1a9b32=Array['from'](_0xe72db5);const _0x3cbf55=_0x1a9b32[_0x2891('0x29')](_0x2de83f=>'listItem'!=_0x2de83f[_0x2891('0x3b')]);return _0x3cbf55>-0x1&&(_0x1a9b32=_0x1a9b32[_0x2891('0x6')](0x0,_0x3cbf55)),_0x1a9b32;}(_0x5b06a7['model'][_0x2891('0x23')][_0x2891('0x0')][_0x2891('0x26')]()),_0x452cec=_0x5b06a7[_0x2891('0x15')]['createRange'](_0x5b06a7[_0x2891('0x15')][_0x2891('0x2e')](_0x16ee84[0x0],_0x2891('0x4')),_0x5b06a7[_0x2891('0x15')]['createPositionAt'](_0x16ee84[_0x16ee84[_0x2891('0xd')]-0x1],'end'));_0x5b06a7['model']['change'](()=>{_0x58eb1c[_0x2891('0x1d')](_0x452cec,{'commandName':_0x451cb9,'commandParams':[],'formatGroupId':_0x2891('0x7')},function(_0x415ab6){const _0x1ca4d6=new Set();for(const _0x5bd8fe of _0x415ab6){let _0x3104cd=_0x5bd8fe[_0x2891('0x11')];for(;_0x3104cd&&_0x3104cd['getAttribute'](_0x2891('0x7'))>_0x5bd8fe[_0x2891('0x10')](_0x2891('0x7'));)_0x1ca4d6[_0x2891('0x27')](_0x3104cd),_0x3104cd=_0x3104cd[_0x2891('0x11')];}return Array[_0x2891('0x38')](_0x1ca4d6);}(_0x16ee84));});};}_0x58eb1c['enableCommand'](_0x2891('0x16'),_0x3128a2(_0x2891('0x16'))),_0x58eb1c[_0x2891('0xf')](_0x2891('0x28'),_0x3128a2('bulletedList')),_0x4f4510&&_0x58eb1c[_0x2891('0xf')]('todoList',_0x3128a2(_0x2891('0x2d'))),_0x58eb1c['enableCommand'](_0x2891('0xa'),_0x2f94df(_0x2891('0xa'))),_0x58eb1c['enableCommand'](_0x2891('0x13'),_0x2f94df(_0x2891('0x13'))),_0x4f4510&&_0x58eb1c[_0x2891('0xf')](_0x2891('0x1b'),()=>{const _0x42f0ed=_0x5b06a7['commands'][_0x2891('0x3a')](_0x2891('0x1b')),_0x3c1c7b=Array[_0x2891('0x38')](_0x42f0ed[_0x2891('0x1a')]);_0x3c1c7b[_0x2891('0x1e')](_0x148c67=>_0x148c67[_0x2891('0x10')](_0x2891('0x1c'))!=_0x42f0ed['value']),_0x5b06a7[_0x2891('0x15')][_0x2891('0x2c')](()=>{for(const _0x3ae840 of _0x3c1c7b)_0x58eb1c[_0x2891('0x1d')](_0x3ae840,{'commandName':_0x2891('0x1b'),'commandParams':[{'forceValue':!_0x42f0ed[_0x2891('0x1')]}]});});}),_0x58eb1c[_0x2891('0x32')][_0x2891('0x1f')](_0x2891('0x5'),_0x4e8568=>_0x4f4847(_0x2e585f,_0x2891('0x36'),_0x4e8568)),_0x58eb1c[_0x2891('0x32')][_0x2891('0x9')](_0x4fdcf9=>{const {data:_0x585422}=_0x4fdcf9;if(_0x585422){if(_0x2891('0x16')==_0x585422[_0x2891('0x2')]||_0x2891('0x28')==_0x585422[_0x2891('0x2')]||_0x2891('0x2d')==_0x585422['commandName'])switch(_0x585422[_0x2891('0x2')]['replace']('List','')){case _0x2891('0x8'):return _0x2b6dd9(_0x4f4847(_0x2e585f,_0x2891('0x35')));case _0x2891('0x33'):return _0x2b6dd9(_0x4f4847(_0x2e585f,_0x2891('0x24')));case _0x2891('0x12'):return _0x2b6dd9(_0x4f4847(_0x2e585f,_0x2891('0x37')));}if(_0x2891('0xa')==_0x585422[_0x2891('0x2')])return{'type':_0x2891('0x39'),'content':_0x4f4847(_0x2e585f,_0x2891('0xb'),_0x4f4847(_0x2e585f,_0x2891('0x36')))};if(_0x2891('0x13')==_0x585422[_0x2891('0x2')])return{'type':_0x2891('0x39'),'content':_0x4f4847(_0x2e585f,_0x2891('0x2f'),_0x4f4847(_0x2e585f,'ELEMENT_LIST_ITEM'))};if(_0x2891('0x1b')==_0x585422[_0x2891('0x2')])return _0x585422[_0x2891('0x25')][0x0]['forceValue']?{'type':'format','content':_0x4f4847(_0x2e585f,_0x2891('0x30'))}:{'type':_0x2891('0x39'),'content':_0x4f4847(_0x2e585f,'*Uncheck\x20item*')};}function _0x2b6dd9(_0x10b5af){return{'type':_0x2891('0x39'),'content':_0x4f4847(_0x2e585f,_0x2891('0x21'),_0x10b5af)};}});}}function ne(_0x2100db){const _0x40f382=_0x2100db[_0x2891('0x10')]('listIndent');if(0x0==_0x40f382)return _0x2100db;let _0x30019e=_0x2100db;for(;_0x2100db['previousSibling']&&_0x2100db[_0x2891('0x2b')]['is'](_0x2891('0xe'),_0x2891('0x5'));){const _0x14cb38=_0x2100db[_0x2891('0x2b')]['getAttribute'](_0x2891('0x7'));if(_0x14cb38==_0x40f382)_0x30019e=_0x2100db[_0x2891('0x2b')];else{if(_0x14cb38<_0x40f382)break;}_0x2100db=_0x2100db[_0x2891('0x2b')];}return _0x30019e;}function oe(_0x53070f){const _0x3d14ed=[];if(_0x53070f['is'](_0x2891('0xe'),'listItem')&&_0x53070f[_0x2891('0x10')](_0x2891('0x7'))>0x0){let _0x3d4a08=_0x53070f['nextSibling'];for(;_0x3d4a08&&_0x2891('0x5')==_0x3d4a08['name']&&_0x3d4a08[_0x2891('0x10')](_0x2891('0x7'))==_0x53070f['getAttribute'](_0x2891('0x7'));)_0x3d14ed[_0x2891('0x14')](_0x3d4a08),_0x3d4a08=_0x3d4a08['nextSibling'];}return _0x3d14ed;}
23
+ const _0x1ffd=['ELEMENT_BULLETED_LIST','commands','filter','*Change\x20to:*\x20%0','get','getAttribute','findIndex','add','model','execute','ELEMENT_TODO_LIST','registerElementLabel','TodoListEditing','commandParams','locale','nextSibling','from','paragraph','name','bulletedList','selection','indentList','push','ListEditing','slice','blockName','length','commandName','element','listIndent','value','outdentList','todoList','_descriptionFactory','ELEMENT_NUMBERED_LIST','afterInit','change','previousSibling','*Indent:*\x20%0','before','getSelectedBlocks','registerDescriptionCallback','todo','schema','ELEMENT_LIST_ITEM','plugins','listType','end','checkTodoList','enableCommand','_selectedElements','markBlockFormat','has','createPositionAt','TrackChangesEditing','document','format','forceValue','listItem','createRange','numberedList'];(function(_0x17a6a1,_0x1ffdfe){const _0x298417=function(_0x55b65d){while(--_0x55b65d){_0x17a6a1['push'](_0x17a6a1['shift']());}};_0x298417(++_0x1ffdfe);}(_0x1ffd,0xc7));const _0x2984=function(_0x17a6a1,_0x1ffdfe){_0x17a6a1=_0x17a6a1-0x0;let _0x298417=_0x1ffd[_0x17a6a1];return _0x298417;};import{Plugin as _0x5ee380}from'ckeditor5/src/core';import{getTranslation as _0x41df16}from'../utils/common-translations';export default class st extends _0x5ee380{[_0x2984('0x13')](){const _0x286b07=this['editor'],_0x25403a=_0x286b07[_0x2984('0x3b')];if(!_0x286b07['plugins'][_0x2984('0x24')](_0x2984('0x7')))return;const _0x48aabc=_0x286b07['plugins'][_0x2984('0x31')](_0x2984('0x26')),_0x54e5cc=_0x286b07[_0x2984('0x1d')][_0x2984('0x24')](_0x2984('0x39'));function _0x5c5edf(_0x4d34fb){return()=>{const _0x7a8a5b=_0x286b07[_0x2984('0x35')][_0x2984('0x27')][_0x2984('0x4')],_0x4d15f2=_0x286b07['commands'][_0x2984('0x31')](_0x4d34fb);if(_0x4d15f2[_0x2984('0xe')])return void _0x286b07[_0x2984('0x36')](_0x2984('0x1'),{});const _0x3c1487=_0x4d34fb['slice'](0x0,-0x4),_0x1fd61b=function(_0x120daf,_0x57c99a,_0x49f215){let _0x52f121=Array[_0x2984('0x0')](_0x120daf)[_0x2984('0x2f')](_0x5a428e=>function(_0x5b7df7,_0x4ba206){return _0x4ba206['checkChild'](_0x5b7df7['parent'],_0x2984('0x2a'))&&!_0x4ba206['isObject'](_0x5b7df7);}(_0x5a428e,_0x49f215));_0x52f121=_0x52f121['filter'](_0x47e673=>!_0x47e673['is'](_0x2984('0xc'),'listItem')||_0x47e673[_0x2984('0x32')](_0x2984('0x1e'))!=_0x57c99a);const _0x46f9cd=new Set();for(const _0x3fb217 of _0x52f121)_0x3fb217['is'](_0x2984('0xc'),_0x2984('0x2a'))?_0x46f9cd['add'](ne(_0x3fb217)):_0x46f9cd['add'](_0x3fb217);return Array['from'](_0x46f9cd);}(_0x7a8a5b['getSelectedBlocks'](),_0x3c1487,_0x286b07[_0x2984('0x35')][_0x2984('0x1b')]);_0x286b07[_0x2984('0x35')][_0x2984('0x14')](()=>{for(const _0x25592a of _0x1fd61b)_0x48aabc[_0x2984('0x23')](_0x25592a,{'commandName':_0x4d34fb,'commandParams':[{'forceValue':!_0x4d15f2[_0x2984('0xe')]}],'formatGroupId':_0x2984('0x9')},oe(_0x25592a));});};}function _0x361360(_0x39aa09){return()=>{const _0x49cf23=function(_0x3c9488){let _0x41c5b7=Array[_0x2984('0x0')](_0x3c9488);const _0x4226bb=_0x41c5b7[_0x2984('0x33')](_0x7680cc=>_0x2984('0x2a')!=_0x7680cc[_0x2984('0x2')]);return _0x4226bb>-0x1&&(_0x41c5b7=_0x41c5b7[_0x2984('0x8')](0x0,_0x4226bb)),_0x41c5b7;}(_0x286b07[_0x2984('0x35')][_0x2984('0x27')][_0x2984('0x4')][_0x2984('0x18')]()),_0x3a9b7f=_0x286b07['model'][_0x2984('0x2b')](_0x286b07[_0x2984('0x35')][_0x2984('0x25')](_0x49cf23[0x0],_0x2984('0x17')),_0x286b07['model'][_0x2984('0x25')](_0x49cf23[_0x49cf23[_0x2984('0xa')]-0x1],_0x2984('0x1f')));_0x286b07[_0x2984('0x35')][_0x2984('0x14')](()=>{_0x48aabc[_0x2984('0x23')](_0x3a9b7f,{'commandName':_0x39aa09,'commandParams':[],'formatGroupId':_0x2984('0xd')},function(_0x42994a){const _0x137028=new Set();for(const _0xfc754 of _0x42994a){let _0x34c635=_0xfc754[_0x2984('0x3c')];for(;_0x34c635&&_0x34c635[_0x2984('0x32')]('listIndent')>_0xfc754[_0x2984('0x32')](_0x2984('0xd'));)_0x137028[_0x2984('0x34')](_0x34c635),_0x34c635=_0x34c635[_0x2984('0x3c')];}return Array['from'](_0x137028);}(_0x49cf23));});};}_0x48aabc[_0x2984('0x21')]('numberedList',_0x5c5edf(_0x2984('0x2c'))),_0x48aabc['enableCommand'](_0x2984('0x3'),_0x5c5edf(_0x2984('0x3'))),_0x54e5cc&&_0x48aabc['enableCommand'](_0x2984('0x10'),_0x5c5edf(_0x2984('0x10'))),_0x48aabc[_0x2984('0x21')](_0x2984('0x5'),_0x361360(_0x2984('0x5'))),_0x48aabc[_0x2984('0x21')](_0x2984('0xf'),_0x361360(_0x2984('0xf'))),_0x54e5cc&&_0x48aabc[_0x2984('0x21')]('checkTodoList',()=>{const _0x22af17=_0x286b07[_0x2984('0x2e')][_0x2984('0x31')](_0x2984('0x20')),_0x261709=Array[_0x2984('0x0')](_0x22af17[_0x2984('0x22')]);_0x261709['filter'](_0x544966=>_0x544966[_0x2984('0x32')]('todoListChecked')!=_0x22af17['value']),_0x286b07[_0x2984('0x35')]['change'](()=>{for(const _0x3fabc8 of _0x261709)_0x48aabc[_0x2984('0x23')](_0x3fabc8,{'commandName':_0x2984('0x20'),'commandParams':[{'forceValue':!_0x22af17['value']}]});});}),_0x48aabc[_0x2984('0x11')][_0x2984('0x38')](_0x2984('0x2a'),_0x3e77f7=>_0x41df16(_0x25403a,_0x2984('0x1c'),_0x3e77f7)),_0x48aabc[_0x2984('0x11')][_0x2984('0x19')](_0x4c718d=>{const {data:_0x88ed80}=_0x4c718d;if(_0x88ed80){if(_0x2984('0x2c')==_0x88ed80[_0x2984('0xb')]||_0x2984('0x3')==_0x88ed80['commandName']||_0x2984('0x10')==_0x88ed80[_0x2984('0xb')])switch(_0x88ed80['commandName']['replace']('List','')){case'bulleted':return _0x557152(_0x41df16(_0x25403a,_0x2984('0x2d')));case'numbered':return _0x557152(_0x41df16(_0x25403a,_0x2984('0x12')));case _0x2984('0x1a'):return _0x557152(_0x41df16(_0x25403a,_0x2984('0x37')));}if(_0x2984('0x5')==_0x88ed80[_0x2984('0xb')])return{'type':_0x2984('0x28'),'content':_0x41df16(_0x25403a,_0x2984('0x16'),_0x41df16(_0x25403a,_0x2984('0x1c')))};if(_0x2984('0xf')==_0x88ed80['commandName'])return{'type':_0x2984('0x28'),'content':_0x41df16(_0x25403a,'*Outdent:*\x20%0',_0x41df16(_0x25403a,_0x2984('0x1c')))};if('checkTodoList'==_0x88ed80[_0x2984('0xb')])return _0x88ed80[_0x2984('0x3a')][0x0][_0x2984('0x29')]?{'type':_0x2984('0x28'),'content':_0x41df16(_0x25403a,'*Check\x20item*')}:{'type':_0x2984('0x28'),'content':_0x41df16(_0x25403a,'*Uncheck\x20item*')};}function _0x557152(_0xb7457b){return{'type':_0x2984('0x28'),'content':_0x41df16(_0x25403a,_0x2984('0x30'),_0xb7457b)};}});}}function ne(_0x3b557d){const _0x144c3c=_0x3b557d[_0x2984('0x32')](_0x2984('0xd'));if(0x0==_0x144c3c)return _0x3b557d;let _0x5defcd=_0x3b557d;for(;_0x3b557d[_0x2984('0x15')]&&_0x3b557d['previousSibling']['is'](_0x2984('0xc'),_0x2984('0x2a'));){const _0x1f5210=_0x3b557d['previousSibling'][_0x2984('0x32')]('listIndent');if(_0x1f5210==_0x144c3c)_0x5defcd=_0x3b557d[_0x2984('0x15')];else{if(_0x1f5210<_0x144c3c)break;}_0x3b557d=_0x3b557d[_0x2984('0x15')];}return _0x5defcd;}function oe(_0x17961a){const _0x1ea7cd=[];if(_0x17961a['is'](_0x2984('0xc'),_0x2984('0x2a'))&&_0x17961a[_0x2984('0x32')]('listIndent')>0x0){let _0x1374e5=_0x17961a[_0x2984('0x3c')];for(;_0x1374e5&&'listItem'==_0x1374e5[_0x2984('0x2')]&&_0x1374e5['getAttribute']('listIndent')==_0x17961a[_0x2984('0x32')](_0x2984('0xd'));)_0x1ea7cd[_0x2984('0x6')](_0x1374e5),_0x1374e5=_0x1374e5[_0x2984('0x3c')];}return _0x1ea7cd;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2199=['createRange','handleListStartCommand','ListUtils','*Change\x20to:*\x20%0','getLastPosition','commandName','listStyle','toUpperCase','handleListReversedCommand','unshift','format','backward','listItem','get','_getSuggestionBlocksForListStyle','flat','map','selection','getSiblingNodes','plugins','_getTranslationKeyForListStyle','editor','getAttribute','_descriptionFactory','handleListStyleCommand','enableCommand','_LIST_','model','before','numbered','parent','listReversed','startIndex','*Format:*\x20set\x20order\x20to\x20reversed','change','length','styles','ListPropertiesEditing','createPositionAt','element','document','markMultiRangeBlockFormat','getFirstPosition','listType','reversed','getListTypeFromListStyleType','*Format:*\x20set\x20start\x20index\x20to\x20%0','has','forward','registerDescriptionCallback','handleDescriptions','TrackChangesEditing','listStart','config','_getSuggestionBlocks','filter','from','list.properties','getSelectedBlocks','commandParams','bind'];(function(_0x2b10ae,_0x21995f){const _0x4d6e38=function(_0x77029d){while(--_0x77029d){_0x2b10ae['push'](_0x2b10ae['shift']());}};_0x4d6e38(++_0x21995f);}(_0x2199,0x119));const _0x4d6e=function(_0x2b10ae,_0x21995f){_0x2b10ae=_0x2b10ae-0x0;let _0x4d6e38=_0x2199[_0x2b10ae];return _0x4d6e38;};import{Plugin as _0x4a6771}from'ckeditor5/src/core';import{getTranslation as _0x32a7ea}from'../utils/common-translations';export default class nt extends _0x4a6771{['afterInit'](){if(!this[_0x4d6e('0x2d')][_0x4d6e('0x2b')][_0x4d6e('0xa')](_0x4d6e('0x0')))return;const _0xec95a3=this['editor'][_0x4d6e('0x10')]['get'](_0x4d6e('0x14')),_0x421cd1=this[_0x4d6e('0x2d')][_0x4d6e('0x2b')]['get'](_0x4d6e('0xe'));_0xec95a3[_0x4d6e('0x3c')]&&_0x421cd1['enableCommand'](_0x4d6e('0x1e'),this[_0x4d6e('0x30')][_0x4d6e('0x17')](this)),_0xec95a3[_0x4d6e('0x7')]&&_0x421cd1[_0x4d6e('0x31')](_0x4d6e('0x37'),this['handleListReversedCommand'][_0x4d6e('0x17')](this)),_0xec95a3[_0x4d6e('0x38')]&&_0x421cd1['enableCommand'](_0x4d6e('0xf'),this[_0x4d6e('0x19')][_0x4d6e('0x17')](this)),_0x421cd1[_0x4d6e('0x2f')][_0x4d6e('0xc')](this[_0x4d6e('0xd')][_0x4d6e('0x17')](this));}['handleListStyleCommand'](_0x2afc15,_0x4ea83c={}){const _0x4a6b70=this[_0x4d6e('0x2d')]['plugins'][_0x4d6e('0x25')]('TrackChangesEditing'),_0x4b2f81=this[_0x4d6e('0x26')]();this['editor'][_0x4d6e('0x33')][_0x4d6e('0x3a')](()=>{_0x4a6b70[_0x4d6e('0x4')](_0x4b2f81,{'commandName':'listStyle','commandParams':[{'type':_0x4ea83c['type']}],'formatGroupId':_0x4d6e('0x1e')});});}[_0x4d6e('0x20')](_0x19929d,_0x2895fe={}){const _0x5fc800=this[_0x4d6e('0x2d')]['plugins'][_0x4d6e('0x25')](_0x4d6e('0xe')),_0x1184d5=this['_getSuggestionBlocks'](_0x2b1fca=>_0x2b1fca['is'](_0x4d6e('0x2'),_0x4d6e('0x24'))&&_0x4d6e('0x35')===_0x2b1fca[_0x4d6e('0x2e')](_0x4d6e('0x6')));if(_0x1184d5[_0x4d6e('0x3b')]<0x1)return;const _0x1f6652=_0x1184d5['map'](_0x36dfb1=>this[_0x4d6e('0x2d')][_0x4d6e('0x33')][_0x4d6e('0x18')](this[_0x4d6e('0x2d')][_0x4d6e('0x33')]['createPositionAt'](_0x36dfb1,_0x4d6e('0x34')),this[_0x4d6e('0x2d')][_0x4d6e('0x33')]['createPositionAt'](_0x36dfb1,0x0)));this['editor'][_0x4d6e('0x33')][_0x4d6e('0x3a')](()=>{_0x5fc800[_0x4d6e('0x4')](_0x1f6652,{'commandName':_0x4d6e('0x37'),'commandParams':[{'reversed':_0x2895fe[_0x4d6e('0x7')]}],'formatGroupId':'listReversed'});});}[_0x4d6e('0x19')](_0x2a02e1,_0x1d6633={}){const _0x230e4a=this[_0x4d6e('0x2d')][_0x4d6e('0x2b')]['get'](_0x4d6e('0xe')),_0x52a6d2=this[_0x4d6e('0x11')](_0x719b83=>_0x719b83['is'](_0x4d6e('0x2'),_0x4d6e('0x24'))&&'numbered'===_0x719b83['getAttribute']('listType'));if(_0x52a6d2[_0x4d6e('0x3b')]<0x1)return;const _0x353fe0=_0x52a6d2[_0x4d6e('0x28')](_0x5cad79=>this[_0x4d6e('0x2d')][_0x4d6e('0x33')][_0x4d6e('0x18')](this[_0x4d6e('0x2d')][_0x4d6e('0x33')][_0x4d6e('0x1')](_0x5cad79,_0x4d6e('0x34')),this[_0x4d6e('0x2d')][_0x4d6e('0x33')]['createPositionAt'](_0x5cad79,0x0)));this['editor'][_0x4d6e('0x33')][_0x4d6e('0x3a')](()=>{_0x230e4a[_0x4d6e('0x4')](_0x353fe0,{'commandName':_0x4d6e('0xf'),'commandParams':[{'startIndex':_0x1d6633[_0x4d6e('0x38')]}],'formatGroupId':'listStart'});});}['handleDescriptions'](_0x71c556){const _0x3d131f=this[_0x4d6e('0x2d')]['locale'],{data:_0x2cb081}=_0x71c556;if(!_0x2cb081)return;let _0x4cdd00,_0x706516;switch(_0x2cb081[_0x4d6e('0x1d')]){case _0x4d6e('0x1e'):_0x4cdd00=_0x4d6e('0x1b'),_0x706516={'type':_0x4d6e('0x22'),'content':_0x32a7ea(_0x3d131f,_0x4cdd00,_0x32a7ea(_0x3d131f,this[_0x4d6e('0x2c')](_0x2cb081[_0x4d6e('0x16')][0x0]['type'])))};break;case _0x4d6e('0x37'):_0x4cdd00=_0x2cb081['commandParams'][0x0][_0x4d6e('0x7')]?_0x4d6e('0x39'):'*Format:*\x20set\x20order\x20to\x20regular',_0x706516={'type':_0x4d6e('0x22'),'content':_0x32a7ea(_0x3d131f,_0x4cdd00)};break;case _0x4d6e('0xf'):_0x4cdd00=_0x4d6e('0x9'),_0x706516={'type':'format','content':_0x32a7ea(_0x3d131f,_0x4cdd00,_0x2cb081[_0x4d6e('0x16')][0x0]['startIndex'])};}return _0x706516;}[_0x4d6e('0x26')](){var _0x1823b0,_0x1cfede,_0x5e3815,_0x4c8b2e;const _0x51c6ea=this[_0x4d6e('0x2d')][_0x4d6e('0x2b')][_0x4d6e('0x25')]('ListUtils');let _0x254ef3=Array[_0x4d6e('0x13')](this[_0x4d6e('0x2d')]['model'][_0x4d6e('0x3')][_0x4d6e('0x29')][_0x4d6e('0x15')]());return(null===(_0x1823b0=_0x254ef3[0x0])||void 0x0===_0x1823b0?void 0x0:_0x1823b0['is']('element',_0x4d6e('0x24')))&&_0x254ef3[_0x4d6e('0x21')](..._0x51c6ea[_0x4d6e('0x2a')](this[_0x4d6e('0x2d')]['model'][_0x4d6e('0x3')][_0x4d6e('0x29')][_0x4d6e('0x5')](),_0x4d6e('0x23'))),(null===(_0x1cfede=_0x254ef3[_0x254ef3['length']-0x1])||void 0x0===_0x1cfede?void 0x0:_0x1cfede['is']('element','listItem'))&&_0x254ef3['push'](..._0x51c6ea['getSiblingNodes'](this[_0x4d6e('0x2d')][_0x4d6e('0x33')]['document'][_0x4d6e('0x29')][_0x4d6e('0x1c')](),_0x4d6e('0xb'))),_0x254ef3=[...new Set(_0x254ef3)],(null===(_0x4c8b2e=null===(_0x5e3815=this[_0x4d6e('0x2d')][_0x4d6e('0x33')][_0x4d6e('0x3')][_0x4d6e('0x29')][_0x4d6e('0x5')]())||void 0x0===_0x5e3815?void 0x0:_0x5e3815[_0x4d6e('0x36')])||void 0x0===_0x4c8b2e?void 0x0:_0x4c8b2e['is'](_0x4d6e('0x2'),_0x4d6e('0x24')))&&(_0x254ef3=_0x254ef3['filter'](_0x4073d9=>_0x4073d9['is'](_0x4d6e('0x2'),_0x4d6e('0x24')))),_0x254ef3;}[_0x4d6e('0x11')](_0x23eb1a){const _0x254a61=this[_0x4d6e('0x2d')][_0x4d6e('0x2b')][_0x4d6e('0x25')](_0x4d6e('0x1a'));let _0x4376cc=Array[_0x4d6e('0x13')](this[_0x4d6e('0x2d')][_0x4d6e('0x33')][_0x4d6e('0x3')][_0x4d6e('0x29')][_0x4d6e('0x15')]())[_0x4d6e('0x12')](_0x23eb1a)['map'](_0x52a79d=>{const _0x3f5ef9=this[_0x4d6e('0x2d')][_0x4d6e('0x33')]['createPositionAt'](_0x52a79d,0x0);return[..._0x254a61['getSiblingNodes'](_0x3f5ef9,_0x4d6e('0x23')),..._0x254a61[_0x4d6e('0x2a')](_0x3f5ef9,_0x4d6e('0xb'))];})[_0x4d6e('0x27')]();return _0x4376cc=[...new Set(_0x4376cc)],_0x4376cc;}[_0x4d6e('0x2c')](_0x176743){return'ELEMENT_'+this[_0x4d6e('0x2d')][_0x4d6e('0x2b')]['get'](_0x4d6e('0x1a'))[_0x4d6e('0x8')](_0x176743)[_0x4d6e('0x1f')]()+_0x4d6e('0x32')+_0x176743['toUpperCase']()['replace'](/-/g,'_');}}
23
+ const _0x2ce8=['_getSuggestionBlocks','from','_getTranslationKeyForListStyle','registerDescriptionCallback','commandName','length','ELEMENT_','has','map','document','listStyle','*Format:*\x20set\x20order\x20to\x20reversed','type','_descriptionFactory','*Change\x20to:*\x20%0','getFirstPosition','parent','listReversed','commandParams','reversed','listItem','handleListReversedCommand','getListTypeFromListStyleType','startIndex','backward','before','afterInit','getSiblingNodes','selection','handleListStyleCommand','_getSuggestionBlocksForListStyle','listStart','toUpperCase','listType','flat','change','list.properties','plugins','element','ListPropertiesEditing','getLastPosition','numbered','replace','createRange','bind','handleListStartCommand','*Format:*\x20set\x20order\x20to\x20regular','ListUtils','editor','*Format:*\x20set\x20start\x20index\x20to\x20%0','getSelectedBlocks','get','markMultiRangeBlockFormat','config','createPositionAt','model','filter','TrackChangesEditing','getAttribute','format','enableCommand','forward','locale','handleDescriptions','push'];(function(_0xa31cd5,_0x2ce8f2){const _0x9a48b0=function(_0x29394c){while(--_0x29394c){_0xa31cd5['push'](_0xa31cd5['shift']());}};_0x9a48b0(++_0x2ce8f2);}(_0x2ce8,0x8e));const _0x9a48=function(_0xa31cd5,_0x2ce8f2){_0xa31cd5=_0xa31cd5-0x0;let _0x9a48b0=_0x2ce8[_0xa31cd5];return _0x9a48b0;};import{Plugin as _0x3215a0}from'ckeditor5/src/core';import{getTranslation as _0x5387c4}from'../utils/common-translations';export default class nt extends _0x3215a0{[_0x9a48('0xe')](){if(!this['editor'][_0x9a48('0x19')][_0x9a48('0x3c')](_0x9a48('0x1b')))return;const _0x542d42=this['editor'][_0x9a48('0x29')][_0x9a48('0x27')](_0x9a48('0x18')),_0x524cc6=this[_0x9a48('0x24')][_0x9a48('0x19')][_0x9a48('0x27')](_0x9a48('0x2d'));_0x542d42['styles']&&_0x524cc6['enableCommand'](_0x9a48('0x3f'),this[_0x9a48('0x11')]['bind'](this)),_0x542d42[_0x9a48('0x7')]&&_0x524cc6[_0x9a48('0x30')](_0x9a48('0x5'),this['handleListReversedCommand'][_0x9a48('0x20')](this)),_0x542d42[_0x9a48('0xb')]&&_0x524cc6[_0x9a48('0x30')](_0x9a48('0x13'),this[_0x9a48('0x21')][_0x9a48('0x20')](this)),_0x524cc6[_0x9a48('0x1')][_0x9a48('0x38')](this[_0x9a48('0x33')][_0x9a48('0x20')](this));}[_0x9a48('0x11')](_0x27d28b,_0x45c941={}){const _0x557328=this['editor'][_0x9a48('0x19')]['get'](_0x9a48('0x2d')),_0xccaaeb=this[_0x9a48('0x12')]();this[_0x9a48('0x24')][_0x9a48('0x2b')][_0x9a48('0x17')](()=>{_0x557328[_0x9a48('0x28')](_0xccaaeb,{'commandName':_0x9a48('0x3f'),'commandParams':[{'type':_0x45c941[_0x9a48('0x0')]}],'formatGroupId':'listStyle'});});}[_0x9a48('0x9')](_0x484600,_0x941ad={}){const _0x5c4f6a=this['editor'][_0x9a48('0x19')]['get'](_0x9a48('0x2d')),_0x46f8b7=this['_getSuggestionBlocks'](_0x301248=>_0x301248['is'](_0x9a48('0x1a'),_0x9a48('0x8'))&&_0x9a48('0x1d')===_0x301248['getAttribute'](_0x9a48('0x15')));if(_0x46f8b7[_0x9a48('0x3a')]<0x1)return;const _0x3c00ce=_0x46f8b7[_0x9a48('0x3d')](_0x1682b3=>this[_0x9a48('0x24')]['model'][_0x9a48('0x1f')](this[_0x9a48('0x24')][_0x9a48('0x2b')][_0x9a48('0x2a')](_0x1682b3,_0x9a48('0xd')),this['editor']['model'][_0x9a48('0x2a')](_0x1682b3,0x0)));this[_0x9a48('0x24')][_0x9a48('0x2b')][_0x9a48('0x17')](()=>{_0x5c4f6a[_0x9a48('0x28')](_0x3c00ce,{'commandName':_0x9a48('0x5'),'commandParams':[{'reversed':_0x941ad['reversed']}],'formatGroupId':_0x9a48('0x5')});});}[_0x9a48('0x21')](_0x55844f,_0x2c886c={}){const _0x230db3=this[_0x9a48('0x24')][_0x9a48('0x19')][_0x9a48('0x27')](_0x9a48('0x2d')),_0x5e11ce=this[_0x9a48('0x35')](_0xa821ff=>_0xa821ff['is'](_0x9a48('0x1a'),_0x9a48('0x8'))&&_0x9a48('0x1d')===_0xa821ff[_0x9a48('0x2e')]('listType'));if(_0x5e11ce[_0x9a48('0x3a')]<0x1)return;const _0xb0e603=_0x5e11ce[_0x9a48('0x3d')](_0x5cbc1e=>this[_0x9a48('0x24')][_0x9a48('0x2b')]['createRange'](this[_0x9a48('0x24')][_0x9a48('0x2b')]['createPositionAt'](_0x5cbc1e,_0x9a48('0xd')),this[_0x9a48('0x24')][_0x9a48('0x2b')][_0x9a48('0x2a')](_0x5cbc1e,0x0)));this[_0x9a48('0x24')][_0x9a48('0x2b')][_0x9a48('0x17')](()=>{_0x230db3[_0x9a48('0x28')](_0xb0e603,{'commandName':_0x9a48('0x13'),'commandParams':[{'startIndex':_0x2c886c[_0x9a48('0xb')]}],'formatGroupId':_0x9a48('0x13')});});}[_0x9a48('0x33')](_0x37d951){const _0x3a16ab=this[_0x9a48('0x24')][_0x9a48('0x32')],{data:_0x3f56c2}=_0x37d951;if(!_0x3f56c2)return;let _0x10d86f,_0x2911db;switch(_0x3f56c2[_0x9a48('0x39')]){case _0x9a48('0x3f'):_0x10d86f=_0x9a48('0x2'),_0x2911db={'type':_0x9a48('0x2f'),'content':_0x5387c4(_0x3a16ab,_0x10d86f,_0x5387c4(_0x3a16ab,this['_getTranslationKeyForListStyle'](_0x3f56c2[_0x9a48('0x6')][0x0][_0x9a48('0x0')])))};break;case _0x9a48('0x5'):_0x10d86f=_0x3f56c2[_0x9a48('0x6')][0x0]['reversed']?_0x9a48('0x40'):_0x9a48('0x22'),_0x2911db={'type':_0x9a48('0x2f'),'content':_0x5387c4(_0x3a16ab,_0x10d86f)};break;case _0x9a48('0x13'):_0x10d86f=_0x9a48('0x25'),_0x2911db={'type':_0x9a48('0x2f'),'content':_0x5387c4(_0x3a16ab,_0x10d86f,_0x3f56c2[_0x9a48('0x6')][0x0]['startIndex'])};}return _0x2911db;}['_getSuggestionBlocksForListStyle'](){var _0x4d648e,_0x35be33,_0x1028ea,_0x42dd32;const _0x813b92=this[_0x9a48('0x24')]['plugins'][_0x9a48('0x27')](_0x9a48('0x23'));let _0x349d6f=Array[_0x9a48('0x36')](this[_0x9a48('0x24')][_0x9a48('0x2b')][_0x9a48('0x3e')][_0x9a48('0x10')][_0x9a48('0x26')]());return(null===(_0x4d648e=_0x349d6f[0x0])||void 0x0===_0x4d648e?void 0x0:_0x4d648e['is'](_0x9a48('0x1a'),'listItem'))&&_0x349d6f['unshift'](..._0x813b92['getSiblingNodes'](this[_0x9a48('0x24')][_0x9a48('0x2b')][_0x9a48('0x3e')]['selection'][_0x9a48('0x3')](),_0x9a48('0xc'))),(null===(_0x35be33=_0x349d6f[_0x349d6f[_0x9a48('0x3a')]-0x1])||void 0x0===_0x35be33?void 0x0:_0x35be33['is'](_0x9a48('0x1a'),'listItem'))&&_0x349d6f[_0x9a48('0x34')](..._0x813b92['getSiblingNodes'](this[_0x9a48('0x24')][_0x9a48('0x2b')][_0x9a48('0x3e')]['selection'][_0x9a48('0x1c')](),'forward')),_0x349d6f=[...new Set(_0x349d6f)],(null===(_0x42dd32=null===(_0x1028ea=this[_0x9a48('0x24')][_0x9a48('0x2b')]['document']['selection'][_0x9a48('0x3')]())||void 0x0===_0x1028ea?void 0x0:_0x1028ea[_0x9a48('0x4')])||void 0x0===_0x42dd32?void 0x0:_0x42dd32['is'](_0x9a48('0x1a'),_0x9a48('0x8')))&&(_0x349d6f=_0x349d6f[_0x9a48('0x2c')](_0x56e994=>_0x56e994['is'](_0x9a48('0x1a'),_0x9a48('0x8')))),_0x349d6f;}[_0x9a48('0x35')](_0x252005){const _0x2f094a=this[_0x9a48('0x24')][_0x9a48('0x19')]['get'](_0x9a48('0x23'));let _0x5b4c56=Array[_0x9a48('0x36')](this['editor']['model']['document'][_0x9a48('0x10')]['getSelectedBlocks']())[_0x9a48('0x2c')](_0x252005)[_0x9a48('0x3d')](_0x1965cd=>{const _0x414873=this[_0x9a48('0x24')][_0x9a48('0x2b')][_0x9a48('0x2a')](_0x1965cd,0x0);return[..._0x2f094a['getSiblingNodes'](_0x414873,'backward'),..._0x2f094a[_0x9a48('0xf')](_0x414873,_0x9a48('0x31'))];})[_0x9a48('0x16')]();return _0x5b4c56=[...new Set(_0x5b4c56)],_0x5b4c56;}[_0x9a48('0x37')](_0x57c5eb){return _0x9a48('0x3b')+this[_0x9a48('0x24')]['plugins']['get'](_0x9a48('0x23'))[_0x9a48('0xa')](_0x57c5eb)['toUpperCase']()+'_LIST_'+_0x57c5eb[_0x9a48('0x14')]()[_0x9a48('0x1e')](/-/g,'_');}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1b81=['showSuggestionHighlights','get','attribute:url:media','conversion','createEmptyElement','high','registerElementLabel','div','afterInit','downcastDispatcher','ELEMENT_MEDIA','stop','elementToElement','editor','mediaEmbed','MediaEmbedEditing','_descriptionFactory','enableCommand','data','media','TrackChangesEditing','plugins','dataDowncast'];(function(_0x675b8c,_0x1b81f4){const _0x1c00dc=function(_0x45ce66){while(--_0x45ce66){_0x675b8c['push'](_0x675b8c['shift']());}};_0x1c00dc(++_0x1b81f4);}(_0x1b81,0x7f));const _0x1c00=function(_0x675b8c,_0x1b81f4){_0x675b8c=_0x675b8c-0x0;let _0x1c00dc=_0x1b81[_0x675b8c];return _0x1c00dc;};import{Plugin as _0x3ca194}from'ckeditor5/src/core';import{getTranslation as _0x5bc078}from'../utils/common-translations';export default class ot extends _0x3ca194{[_0x1c00('0x13')](){const _0x2405ad=this[_0x1c00('0x1')];if(!_0x2405ad['plugins']['has'](_0x1c00('0x3')))return;const _0x573306=_0x2405ad[_0x1c00('0x9')][_0x1c00('0xc')](_0x1c00('0x8')),_0xecfccf=_0x2405ad['locale'];_0x573306[_0x1c00('0x5')](_0x1c00('0x2')),_0x573306[_0x1c00('0x4')][_0x1c00('0x11')](_0x1c00('0x7'),_0x687058=>_0x5bc078(_0xecfccf,_0x1c00('0x15'),_0x687058)),_0x2405ad[_0x1c00('0xe')]['for'](_0x1c00('0xa'))[_0x1c00('0x0')]({'model':'media','view':(_0x216fac,{writer:_0x3a6e5e,options:_0xe010a1})=>{if(_0xe010a1[_0x1c00('0xb')])return _0x3a6e5e[_0x1c00('0xf')](_0x1c00('0x12'));},'converterPriority':_0x1c00('0x10')}),_0x2405ad[_0x1c00('0x6')][_0x1c00('0x14')]['on'](_0x1c00('0xd'),(_0x30ddeb,_0x53da53,_0x264e54)=>{_0x264e54['options'][_0x1c00('0xb')]&&_0x30ddeb[_0x1c00('0x16')]();},{'priority':_0x1c00('0x10')});}}
23
+ const _0x35d4=['downcastDispatcher','plugins','editor','TrackChangesEditing','registerElementLabel','_descriptionFactory','ELEMENT_MEDIA','options','afterInit','attribute:url:media','MediaEmbedEditing','showSuggestionHighlights','conversion','enableCommand','for','high'];(function(_0x1263be,_0x35d47f){const _0xd77aae=function(_0x159a62){while(--_0x159a62){_0x1263be['push'](_0x1263be['shift']());}};_0xd77aae(++_0x35d47f);}(_0x35d4,0xb1));const _0xd77a=function(_0x1263be,_0x35d47f){_0x1263be=_0x1263be-0x0;let _0xd77aae=_0x35d4[_0x1263be];return _0xd77aae;};import{Plugin as _0x370ac1}from'ckeditor5/src/core';import{getTranslation as _0x1f5220}from'../utils/common-translations';export default class ot extends _0x370ac1{[_0xd77a('0x7')](){const _0x318010=this[_0xd77a('0x1')];if(!_0x318010[_0xd77a('0x0')]['has'](_0xd77a('0x9')))return;const _0x5b1c31=_0x318010[_0xd77a('0x0')]['get'](_0xd77a('0x2')),_0xd91df0=_0x318010['locale'];_0x5b1c31[_0xd77a('0xc')]('mediaEmbed'),_0x5b1c31[_0xd77a('0x4')][_0xd77a('0x3')]('media',_0x25ce67=>_0x1f5220(_0xd91df0,_0xd77a('0x5'),_0x25ce67)),_0x318010[_0xd77a('0xb')][_0xd77a('0xd')]('dataDowncast')['elementToElement']({'model':'media','view':(_0x26e2ab,{writer:_0x248a49,options:_0xdee67d})=>{if(_0xdee67d['showSuggestionHighlights'])return _0x248a49['createEmptyElement']('div');},'converterPriority':_0xd77a('0xe')}),_0x318010['data'][_0xd77a('0xf')]['on'](_0xd77a('0x8'),(_0x265487,_0x3989dd,_0x103ae0)=>{_0x103ae0[_0xd77a('0x6')][_0xd77a('0xa')]&&_0x265487['stop']();},{'priority':_0xd77a('0xe')});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x259e=['has','get','TrackChangesEditing','plugins','editor','mention','MentionEditing'];(function(_0x12ed64,_0x259ee9){const _0x5786f9=function(_0x440d3c){while(--_0x440d3c){_0x12ed64['push'](_0x12ed64['shift']());}};_0x5786f9(++_0x259ee9);}(_0x259e,0xb3));const _0x5786=function(_0x12ed64,_0x259ee9){_0x12ed64=_0x12ed64-0x0;let _0x5786f9=_0x259e[_0x12ed64];return _0x5786f9;};import{Plugin as _0xbb4c9}from'ckeditor5/src/core';export default class rt extends _0xbb4c9{['afterInit'](){const _0x30e009=this[_0x5786('0x0')];_0x30e009[_0x5786('0x6')][_0x5786('0x3')](_0x5786('0x2'))&&_0x30e009[_0x5786('0x6')][_0x5786('0x4')](_0x5786('0x5'))['enableCommand'](_0x5786('0x1'));}}
23
+ const _0x3f2d=['plugins','get','afterInit','editor','MentionEditing','has','TrackChangesEditing','mention'];(function(_0x1e084b,_0x3f2dc4){const _0x19472f=function(_0x50a54b){while(--_0x50a54b){_0x1e084b['push'](_0x1e084b['shift']());}};_0x19472f(++_0x3f2dc4);}(_0x3f2d,0xe2));const _0x1947=function(_0x1e084b,_0x3f2dc4){_0x1e084b=_0x1e084b-0x0;let _0x19472f=_0x3f2d[_0x1e084b];return _0x19472f;};import{Plugin as _0x4cca20}from'ckeditor5/src/core';export default class rt extends _0x4cca20{[_0x1947('0x0')](){const _0x236e0c=this[_0x1947('0x1')];_0x236e0c[_0x1947('0x6')][_0x1947('0x3')](_0x1947('0x2'))&&_0x236e0c['plugins'][_0x1947('0x7')](_0x1947('0x4'))['enableCommand'](_0x1947('0x5'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x471d=['PageBreakEditing','afterInit','get','plugins','editor','pageBreak','ELEMENT_PAGE_BREAK','enableCommand','locale','has','_descriptionFactory','TrackChangesEditing'];(function(_0x46436e,_0x471d07){const _0x2b74c6=function(_0x3ebfcd){while(--_0x3ebfcd){_0x46436e['push'](_0x46436e['shift']());}};_0x2b74c6(++_0x471d07);}(_0x471d,0x18b));const _0x2b74=function(_0x46436e,_0x471d07){_0x46436e=_0x46436e-0x0;let _0x2b74c6=_0x471d[_0x46436e];return _0x2b74c6;};import{Plugin as _0x42d91b}from'ckeditor5/src/core';import{getTranslation as _0x4fd58f}from'../utils/common-translations';export default class at extends _0x42d91b{[_0x2b74('0x2')](){const _0x4d6a9d=this[_0x2b74('0x5')];if(!_0x4d6a9d[_0x2b74('0x4')][_0x2b74('0xa')](_0x2b74('0x1')))return;_0x4d6a9d[_0x2b74('0x4')][_0x2b74('0x3')](_0x2b74('0x0'))[_0x2b74('0x8')]('pageBreak');const _0x128a96=_0x4d6a9d[_0x2b74('0x4')][_0x2b74('0x3')](_0x2b74('0x0')),_0x1fd810=_0x4d6a9d[_0x2b74('0x9')];_0x128a96[_0x2b74('0xb')]['registerElementLabel'](_0x2b74('0x6'),_0x2ea423=>_0x4fd58f(_0x1fd810,_0x2b74('0x7'),_0x2ea423));}}
23
+ const _0xeadb=['has','locale','get','TrackChangesEditing','ELEMENT_PAGE_BREAK','enableCommand','editor','pageBreak','plugins','_descriptionFactory','afterInit'];(function(_0x180866,_0xeadbac){const _0x2727ba=function(_0x254e60){while(--_0x254e60){_0x180866['push'](_0x180866['shift']());}};_0x2727ba(++_0xeadbac);}(_0xeadb,0xc9));const _0x2727=function(_0x180866,_0xeadbac){_0x180866=_0x180866-0x0;let _0x2727ba=_0xeadb[_0x180866];return _0x2727ba;};import{Plugin as _0x295eab}from'ckeditor5/src/core';import{getTranslation as _0x5e0cd0}from'../utils/common-translations';export default class at extends _0x295eab{[_0x2727('0x7')](){const _0x2cba39=this[_0x2727('0x3')];if(!_0x2cba39['plugins'][_0x2727('0x8')]('PageBreakEditing'))return;_0x2cba39[_0x2727('0x5')][_0x2727('0xa')](_0x2727('0x0'))[_0x2727('0x2')](_0x2727('0x4'));const _0x1a31f0=_0x2cba39['plugins'][_0x2727('0xa')]('TrackChangesEditing'),_0x390f4d=_0x2cba39[_0x2727('0x9')];_0x1a31f0[_0x2727('0x6')]['registerElementLabel'](_0x2727('0x4'),_0x12f768=>_0x5e0cd0(_0x390f4d,_0x2727('0x1'),_0x12f768));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5529=['Paragraph','addClass','insertParagraph','from','checkChild','nodeAfter','ELEMENT_PARAGRAPH','isObject','getSelectedBlocks','bindElementToMarker','downcastDispatcher','TrackChangesEditing','model','name','span','_descriptionFactory','highest','options','writer','start','*Insert:*\x20%0','addMarker:suggestion:insertion','markerName','change','plugins','paragraph','*Change\x20to:*\x20%0','getFirstRange','insert','afterInit','filter','getItemLabel','blockName','locale','editor','consumable','type','document','selection','editing','markerRange','$text','schema','enableCommand','isTouching','data','registerElementLabel','end','registerDescriptionCallback','activeMarkers','mapper','toViewPosition','get','createUIElement','ck-suggestion-marker-split','format','isLimit','insertion','has','commandName'];(function(_0x3a7e54,_0x5529ba){const _0x33b75f=function(_0x2b967d){while(--_0x2b967d){_0x3a7e54['push'](_0x3a7e54['shift']());}};_0x33b75f(++_0x5529ba);}(_0x5529,0x159));const _0x33b7=function(_0x3a7e54,_0x5529ba){_0x3a7e54=_0x3a7e54-0x0;let _0x33b75f=_0x5529[_0x3a7e54];return _0x33b75f;};import{Plugin as _0xa2edf8}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x196dd5}from'./utils';import{getTranslation as _0x1686ca}from'../utils/common-translations';export default class ct extends _0xa2edf8{[_0x33b7('0x2c')](){const _0x1f93c0=this[_0x33b7('0x31')];if(!_0x1f93c0[_0x33b7('0x27')][_0x33b7('0xd')](_0x33b7('0xf')))return;const _0x2fcfb1=_0x1f93c0[_0x33b7('0x30')],_0x59ed1d=_0x1f93c0[_0x33b7('0x27')]['get'](_0x33b7('0x1a'));_0x59ed1d[_0x33b7('0x1e')][_0x33b7('0x1')](_0x33b7('0x28'),_0x16dd63=>_0x1686ca(_0x2fcfb1,_0x33b7('0x15'),_0x16dd63)),_0x59ed1d[_0x33b7('0x3a')](_0x33b7('0x28'),(_0x3b2f62,_0xb253d8={})=>{const _0x5a1a1=_0x1f93c0[_0x33b7('0x1b')][_0x33b7('0x34')],_0x1ce1f0=_0xb253d8[_0x33b7('0x35')]||_0x5a1a1[_0x33b7('0x35')],_0x3fe1b4=Array[_0x33b7('0x12')](_0x1ce1f0[_0x33b7('0x17')]())[_0x33b7('0x2d')](_0x2935d9=>function(_0x45da2f,_0x3bb263){return _0x3bb263[_0x33b7('0x13')](_0x45da2f['parent'],'paragraph')&&!_0x3bb263[_0x33b7('0x16')](_0x45da2f)&&'paragraph'!=_0x45da2f[_0x33b7('0x1c')];}(_0x2935d9,this[_0x33b7('0x31')][_0x33b7('0x1b')][_0x33b7('0x39')]));_0x1f93c0[_0x33b7('0x1b')][_0x33b7('0x26')](()=>{for(const _0xf1bc3d of _0x3fe1b4)_0x59ed1d['markBlockFormat'](_0xf1bc3d,{'commandName':'paragraph','commandParams':[],'formatGroupId':_0x33b7('0x2f')},_0x196dd5(_0xf1bc3d));});}),_0x59ed1d['_descriptionFactory']['registerDescriptionCallback'](_0x519ced=>{const {data:_0x5eb7a6}=_0x519ced;if(_0x5eb7a6&&_0x33b7('0x28')==_0x5eb7a6[_0x33b7('0xe')])return{'type':_0x33b7('0xa'),'content':_0x1686ca(_0x2fcfb1,_0x33b7('0x29'),_0x1686ca(_0x2fcfb1,'ELEMENT_PARAGRAPH'))};}),_0x59ed1d['enableCommand'](_0x33b7('0x11')),_0x1f93c0[_0x33b7('0x36')]['downcastDispatcher']['on']('addMarker:suggestion:insertion',ar(_0x1f93c0),{'priority':_0x33b7('0x1f')}),_0x1f93c0[_0x33b7('0x0')][_0x33b7('0x19')]['on'](_0x33b7('0x24'),(_0x3d363b,_0x3897a4,_0x1dbd44)=>{_0x1dbd44[_0x33b7('0x20')]['showSuggestionHighlights']&&ar(_0x1f93c0,{'showActiveMarker':!0x1})(_0x3d363b,_0x3897a4,_0x1dbd44);},{'priority':'highest'});const _0x421dd8=_0x59ed1d['_descriptionFactory'];_0x421dd8[_0x33b7('0x3')](_0x4e32f1=>{if(_0x33b7('0xc')!==_0x4e32f1[_0x33b7('0x33')])return;const {start:_0x17a12a,end:_0x1627a4}=_0x4e32f1[_0x33b7('0x2a')]();if(!_0x17a12a[_0x33b7('0x3b')](_0x1627a4)||!_0x17a12a['nodeAfter'])return;const _0xda9ce4=_0x1f93c0[_0x33b7('0x1b')]['schema'],_0x48d91b=_0x17a12a['nodeAfter'];return _0xda9ce4['isBlock'](_0x48d91b)&&!_0xda9ce4[_0x33b7('0xb')](_0x48d91b)&&_0xda9ce4['checkChild'](_0x48d91b,'$text')?{'type':_0x33b7('0xc'),'content':_0x1686ca(_0x2fcfb1,_0x33b7('0x23'),_0x421dd8[_0x33b7('0x2e')](_0x48d91b,0x1))}:void 0x0;});}}function ar(_0x592b94,{showActiveMarker:_0x3d6855=!0x0}={}){return(_0x1e6316,_0x1dd4a5,_0x4b4e3a)=>{const _0x46b435=_0x592b94['plugins'][_0x33b7('0x7')](_0x33b7('0x1a')),_0xbf58f2=_0x1dd4a5[_0x33b7('0x37')][_0x33b7('0x22')],_0x5c0ae1=_0x1dd4a5[_0x33b7('0x37')][_0x33b7('0x2')],_0x5d60d8=_0x592b94[_0x33b7('0x1b')]['schema'];if(!_0xbf58f2[_0x33b7('0x3b')](_0x5c0ae1)||!_0xbf58f2[_0x33b7('0x14')])return;const _0x4eb475=_0xbf58f2['nodeAfter'];if(_0x5d60d8['isBlock'](_0x4eb475)&&!_0x5d60d8[_0x33b7('0xb')](_0x4eb475)&&_0x5d60d8[_0x33b7('0x13')](_0x4eb475,_0x33b7('0x38'))){if(!_0x4b4e3a[_0x33b7('0x32')]['consume'](_0x1dd4a5[_0x33b7('0x37')],_0x1e6316[_0x33b7('0x1c')]))return;const _0x3c04a0=_0x4b4e3a['writer'][_0x33b7('0x8')](_0x33b7('0x1d'),{'class':_0x33b7('0x9')}),_0x40543c=_0x4b4e3a[_0x33b7('0x5')][_0x33b7('0x6')](_0x5c0ae1);_0x3d6855&&_0x46b435[_0x33b7('0x4')]['includes'](_0x1dd4a5['markerName'])&&_0x4b4e3a['writer'][_0x33b7('0x10')]('ck-suggestion-marker--active',_0x3c04a0),_0x4b4e3a[_0x33b7('0x21')][_0x33b7('0x2b')](_0x40543c,_0x3c04a0),_0x4b4e3a[_0x33b7('0x5')][_0x33b7('0x18')](_0x3c04a0,_0x1dd4a5[_0x33b7('0x25')]);}};}
23
+ const _0x3474=['get','markerName','showSuggestionHighlights','filter','getSelectedBlocks','nodeAfter','createUIElement','options','editor','blockName','registerDescriptionCallback','parent','toViewPosition','change','isBlock','activeMarkers','isLimit','Paragraph','format','enableCommand','model','$text','ck-suggestion-marker--active','afterInit','consume','*Change\x20to:*\x20%0','addClass','commandName','_descriptionFactory','ck-suggestion-marker-split','checkChild','has','getItemLabel','writer','markerRange','*Insert:*\x20%0','markBlockFormat','getFirstRange','TrackChangesEditing','document','downcastDispatcher','end','locale','insertParagraph','isTouching','name','includes','registerElementLabel','data','selection','paragraph','highest','type','plugins','schema','editing'];(function(_0x51d153,_0x34747c){const _0xe45942=function(_0x5958ca){while(--_0x5958ca){_0x51d153['push'](_0x51d153['shift']());}};_0xe45942(++_0x34747c);}(_0x3474,0x1bc));const _0xe459=function(_0x51d153,_0x34747c){_0x51d153=_0x51d153-0x0;let _0xe45942=_0x3474[_0x51d153];return _0xe45942;};import{Plugin as _0x80ee9c}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x38ad0e}from'./utils';import{getTranslation as _0x5b0ca0}from'../utils/common-translations';export default class ct extends _0x80ee9c{[_0xe459('0x1b')](){const _0x5674dc=this[_0xe459('0xc')];if(!_0x5674dc[_0xe459('0x1')][_0xe459('0x23')](_0xe459('0x15')))return;const _0x4fa985=_0x5674dc[_0xe459('0x2e')],_0x26dc94=_0x5674dc[_0xe459('0x1')]['get'](_0xe459('0x2a'));_0x26dc94[_0xe459('0x20')][_0xe459('0x33')](_0xe459('0x36'),_0x51db6b=>_0x5b0ca0(_0x4fa985,'ELEMENT_PARAGRAPH',_0x51db6b)),_0x26dc94[_0xe459('0x17')](_0xe459('0x36'),(_0x42e6ab,_0x2448d0={})=>{const _0x239997=_0x5674dc[_0xe459('0x18')][_0xe459('0x2b')],_0x170a7f=_0x2448d0[_0xe459('0x35')]||_0x239997[_0xe459('0x35')],_0x711270=Array['from'](_0x170a7f[_0xe459('0x8')]())[_0xe459('0x7')](_0x1fee2b=>function(_0x4e8d09,_0x3369ed){return _0x3369ed[_0xe459('0x22')](_0x4e8d09[_0xe459('0xf')],'paragraph')&&!_0x3369ed['isObject'](_0x4e8d09)&&_0xe459('0x36')!=_0x4e8d09['name'];}(_0x1fee2b,this[_0xe459('0xc')][_0xe459('0x18')][_0xe459('0x2')]));_0x5674dc[_0xe459('0x18')][_0xe459('0x11')](()=>{for(const _0xa015 of _0x711270)_0x26dc94[_0xe459('0x28')](_0xa015,{'commandName':_0xe459('0x36'),'commandParams':[],'formatGroupId':_0xe459('0xd')},_0x38ad0e(_0xa015));});}),_0x26dc94[_0xe459('0x20')][_0xe459('0xe')](_0x1d57a3=>{const {data:_0x2fd91b}=_0x1d57a3;if(_0x2fd91b&&'paragraph'==_0x2fd91b[_0xe459('0x1f')])return{'type':_0xe459('0x16'),'content':_0x5b0ca0(_0x4fa985,_0xe459('0x1d'),_0x5b0ca0(_0x4fa985,'ELEMENT_PARAGRAPH'))};}),_0x26dc94['enableCommand'](_0xe459('0x2f')),_0x5674dc[_0xe459('0x3')]['downcastDispatcher']['on']('addMarker:suggestion:insertion',ar(_0x5674dc),{'priority':_0xe459('0x37')}),_0x5674dc[_0xe459('0x34')][_0xe459('0x2c')]['on']('addMarker:suggestion:insertion',(_0x50a1e2,_0x391e3f,_0x186422)=>{_0x186422[_0xe459('0xb')][_0xe459('0x6')]&&ar(_0x5674dc,{'showActiveMarker':!0x1})(_0x50a1e2,_0x391e3f,_0x186422);},{'priority':'highest'});const _0x226423=_0x26dc94[_0xe459('0x20')];_0x226423[_0xe459('0xe')](_0x299e84=>{if('insertion'!==_0x299e84[_0xe459('0x0')])return;const {start:_0x167f9e,end:_0x2e424a}=_0x299e84[_0xe459('0x29')]();if(!_0x167f9e[_0xe459('0x30')](_0x2e424a)||!_0x167f9e[_0xe459('0x9')])return;const _0x400fd8=_0x5674dc[_0xe459('0x18')][_0xe459('0x2')],_0x2d45e7=_0x167f9e['nodeAfter'];return _0x400fd8[_0xe459('0x12')](_0x2d45e7)&&!_0x400fd8[_0xe459('0x14')](_0x2d45e7)&&_0x400fd8[_0xe459('0x22')](_0x2d45e7,_0xe459('0x19'))?{'type':'insertion','content':_0x5b0ca0(_0x4fa985,_0xe459('0x27'),_0x226423[_0xe459('0x24')](_0x2d45e7,0x1))}:void 0x0;});}}function ar(_0x6cfdd2,{showActiveMarker:_0x5b9d8d=!0x0}={}){return(_0x4af530,_0x449883,_0x1cb45d)=>{const _0x59571f=_0x6cfdd2[_0xe459('0x1')][_0xe459('0x4')]('TrackChangesEditing'),_0x3f468a=_0x449883[_0xe459('0x26')]['start'],_0x1d08df=_0x449883[_0xe459('0x26')][_0xe459('0x2d')],_0x16c648=_0x6cfdd2[_0xe459('0x18')][_0xe459('0x2')];if(!_0x3f468a[_0xe459('0x30')](_0x1d08df)||!_0x3f468a[_0xe459('0x9')])return;const _0x59de3c=_0x3f468a[_0xe459('0x9')];if(_0x16c648['isBlock'](_0x59de3c)&&!_0x16c648['isLimit'](_0x59de3c)&&_0x16c648[_0xe459('0x22')](_0x59de3c,'$text')){if(!_0x1cb45d['consumable'][_0xe459('0x1c')](_0x449883['markerRange'],_0x4af530[_0xe459('0x31')]))return;const _0x446602=_0x1cb45d[_0xe459('0x25')][_0xe459('0xa')]('span',{'class':_0xe459('0x21')}),_0x1c0639=_0x1cb45d['mapper'][_0xe459('0x10')](_0x1d08df);_0x5b9d8d&&_0x59571f[_0xe459('0x13')][_0xe459('0x32')](_0x449883[_0xe459('0x5')])&&_0x1cb45d[_0xe459('0x25')][_0xe459('0x1e')](_0xe459('0x1a'),_0x446602),_0x1cb45d['writer']['insert'](_0x1c0639,_0x446602),_0x1cb45d['mapper']['bindElementToMarker'](_0x446602,_0x449883[_0xe459('0x5')]);}};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xecff=['getItems','plugins','TrackChangesEditing','change','RemoveFormatEditing','removeFormat','selection','isCollapsed','locale','getAttributes','commandName','getRanges','registerDescriptionCallback','editor','from','document','has','model'];(function(_0x36499e,_0xecffb7){const _0x4de538=function(_0x23f5e7){while(--_0x23f5e7){_0x36499e['push'](_0x36499e['shift']());}};_0x4de538(++_0xecffb7);}(_0xecff,0x148));const _0x4de5=function(_0x36499e,_0xecffb7){_0x36499e=_0x36499e-0x0;let _0x4de538=_0xecff[_0x36499e];return _0x4de538;};import{Plugin as _0x5299c3}from'ckeditor5/src/core';import{getTranslation as _0xa37d59}from'../utils/common-translations';export default class ht extends _0x5299c3{['afterInit'](){const _0x55939d=this[_0x4de5('0x9')];if(!_0x55939d[_0x4de5('0xf')][_0x4de5('0xc')](_0x4de5('0x0')))return;const _0x391fb5=_0x55939d[_0x4de5('0xf')]['get'](_0x4de5('0x10'));_0x391fb5['enableCommand'](_0x4de5('0x1'),_0x4dea63=>{const _0x4adeb8=_0x55939d['model'][_0x4de5('0xb')][_0x4de5('0x2')];_0x4adeb8[_0x4de5('0x3')]?_0x4dea63():_0x55939d['model'][_0x4de5('0x11')](()=>{const _0x5ca5f1=Array[_0x4de5('0xa')](_0x4adeb8[_0x4de5('0x7')]());for(const _0x20eb4b of _0x5ca5f1)for(const _0xd360 of _0x20eb4b[_0x4de5('0xe')]())uo(_0xd360,_0x55939d[_0x4de5('0xd')]['schema'])&&_0x391fb5['markInlineFormat'](_0x55939d[_0x4de5('0xd')]['createRangeOn'](_0xd360),{'commandName':_0x4de5('0x1'),'commandParams':[]});});}),_0x391fb5['_descriptionFactory'][_0x4de5('0x8')](_0x58faa5=>{const {data:_0x5acc16}=_0x58faa5;if(_0x5acc16&&_0x4de5('0x1')==_0x5acc16[_0x4de5('0x6')])return{'type':'format','content':_0xa37d59(_0x55939d[_0x4de5('0x4')],'*Remove\x20all\x20formatting*')};});}}function uo(_0x3efef0,_0x24fb63){for(const [_0x1d29c0]of _0x3efef0[_0x4de5('0x5')]()){const _0x119a0e=_0x24fb63['getAttributeProperties'](_0x1d29c0);if(_0x119a0e&&_0x119a0e['isFormatting'])return!0x0;}return!0x1;}
23
+ const _0x33d4=['commandName','TrackChangesEditing','from','document','registerDescriptionCallback','RemoveFormatEditing','markInlineFormat','*Remove\x20all\x20formatting*','removeFormat','afterInit','get','getAttributeProperties','editor','enableCommand','getItems','getAttributes','plugins','model','selection'];(function(_0x2bc118,_0x33d480){const _0x1c075f=function(_0x261ed1){while(--_0x261ed1){_0x2bc118['push'](_0x2bc118['shift']());}};_0x1c075f(++_0x33d480);}(_0x33d4,0x11b));const _0x1c07=function(_0x2bc118,_0x33d480){_0x2bc118=_0x2bc118-0x0;let _0x1c075f=_0x33d4[_0x2bc118];return _0x1c075f;};import{Plugin as _0x1ec398}from'ckeditor5/src/core';import{getTranslation as _0x371a62}from'../utils/common-translations';export default class ht extends _0x1ec398{[_0x1c07('0xb')](){const _0x2433bf=this[_0x1c07('0xe')];if(!_0x2433bf[_0x1c07('0x12')]['has'](_0x1c07('0x7')))return;const _0x541f58=_0x2433bf[_0x1c07('0x12')][_0x1c07('0xc')](_0x1c07('0x3'));_0x541f58[_0x1c07('0xf')](_0x1c07('0xa'),_0x4cae1c=>{const _0x1283f7=_0x2433bf['model'][_0x1c07('0x5')][_0x1c07('0x1')];_0x1283f7['isCollapsed']?_0x4cae1c():_0x2433bf[_0x1c07('0x0')]['change'](()=>{const _0x493a5e=Array[_0x1c07('0x4')](_0x1283f7['getRanges']());for(const _0x4c5ece of _0x493a5e)for(const _0x3d7cb6 of _0x4c5ece[_0x1c07('0x10')]())eo(_0x3d7cb6,_0x2433bf[_0x1c07('0x0')]['schema'])&&_0x541f58[_0x1c07('0x8')](_0x2433bf[_0x1c07('0x0')]['createRangeOn'](_0x3d7cb6),{'commandName':'removeFormat','commandParams':[]});});}),_0x541f58['_descriptionFactory'][_0x1c07('0x6')](_0x7cea91=>{const {data:_0x575177}=_0x7cea91;if(_0x575177&&_0x1c07('0xa')==_0x575177[_0x1c07('0x2')])return{'type':'format','content':_0x371a62(_0x2433bf['locale'],_0x1c07('0x9'))};});}}function eo(_0x34e888,_0x555e27){for(const [_0xc0dd26]of _0x34e888[_0x1c07('0x11')]()){const _0x36e74e=_0x555e27[_0x1c07('0xd')](_0xc0dd26);if(_0x36e74e&&_0x36e74e['isFormatting'])return!0x0;}return!0x1;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5769=['goToPreviousRestrictedEditingException','trackChanges','acceptSelectedSuggestions','enableCommand','RestrictedEditingModeEditing','acceptAllSuggestions','get','acceptSuggestion','editor','discardSuggestion','plugins','has','afterInit'];(function(_0x49b148,_0x5769bc){const _0x20fbc0=function(_0x1d20b7){while(--_0x1d20b7){_0x49b148['push'](_0x49b148['shift']());}};_0x20fbc0(++_0x5769bc);}(_0x5769,0x199));const _0x20fb=function(_0x49b148,_0x5769bc){_0x49b148=_0x49b148-0x0;let _0x20fbc0=_0x5769[_0x49b148];return _0x20fbc0;};import{Plugin as _0x44c846}from'ckeditor5/src/core';export default class ut extends _0x44c846{[_0x20fb('0x6')](){const _0x2dfa15=this[_0x20fb('0x2')];if(!_0x2dfa15[_0x20fb('0x4')][_0x20fb('0x5')](_0x20fb('0xb')))return;const _0x29fe04=_0x2dfa15['plugins']['get']('TrackChangesEditing');_0x29fe04[_0x20fb('0xa')](_0x20fb('0x7')),_0x29fe04[_0x20fb('0xa')]('goToNextRestrictedEditingException');const _0xb0bcb7=_0x2dfa15[_0x20fb('0x4')][_0x20fb('0x0')]('RestrictedEditingModeEditing');_0xb0bcb7[_0x20fb('0xa')](_0x20fb('0x8')),_0xb0bcb7[_0x20fb('0xa')](_0x20fb('0x1')),_0xb0bcb7[_0x20fb('0xa')](_0x20fb('0x3')),_0xb0bcb7[_0x20fb('0xa')](_0x20fb('0xc')),_0xb0bcb7[_0x20fb('0xa')]('discardAllSuggestions'),_0xb0bcb7['enableCommand'](_0x20fb('0x9')),_0xb0bcb7[_0x20fb('0xa')]('discardSelectedSuggestions');}}
23
+ const _0x18e7=['TrackChangesEditing','discardAllSuggestions','get','has','goToNextRestrictedEditingException','discardSuggestion','RestrictedEditingModeEditing','enableCommand','acceptAllSuggestions','discardSelectedSuggestions','plugins','afterInit'];(function(_0x1a1270,_0x18e7c8){const _0x222841=function(_0x330f93){while(--_0x330f93){_0x1a1270['push'](_0x1a1270['shift']());}};_0x222841(++_0x18e7c8);}(_0x18e7,0xd1));const _0x2228=function(_0x1a1270,_0x18e7c8){_0x1a1270=_0x1a1270-0x0;let _0x222841=_0x18e7[_0x1a1270];return _0x222841;};import{Plugin as _0x70b1e3}from'ckeditor5/src/core';export default class ut extends _0x70b1e3{[_0x2228('0x6')](){const _0x5dfd73=this['editor'];if(!_0x5dfd73['plugins'][_0x2228('0xa')](_0x2228('0x1')))return;const _0xcb402e=_0x5dfd73[_0x2228('0x5')][_0x2228('0x9')](_0x2228('0x7'));_0xcb402e[_0x2228('0x2')]('goToPreviousRestrictedEditingException'),_0xcb402e[_0x2228('0x2')](_0x2228('0xb'));const _0x2bf831=_0x5dfd73[_0x2228('0x5')][_0x2228('0x9')](_0x2228('0x1'));_0x2bf831['enableCommand']('trackChanges'),_0x2bf831[_0x2228('0x2')]('acceptSuggestion'),_0x2bf831[_0x2228('0x2')](_0x2228('0x0')),_0x2bf831[_0x2228('0x2')](_0x2228('0x3')),_0x2bf831['enableCommand'](_0x2228('0x8')),_0x2bf831[_0x2228('0x2')]('acceptSelectedSuggestions'),_0x2bf831['enableCommand'](_0x2228('0x4'));}}
@@ -1,11 +1,12 @@
1
1
  /**
2
2
  * @module track-changes/integrations/shiftentercommand
3
3
  */
4
- import { Plugin, type PluginDependencies } from 'ckeditor5/src/core';
4
+ import { Plugin } from 'ckeditor5/src/core';
5
+ import { ShiftEnter } from 'ckeditor5/src/enter';
5
6
  /**
6
7
  * Provides track changes plugin integration for {@link module:enter/shiftentercommand~ShiftEnterCommand enter command}.
7
8
  */
8
9
  export default class TrackChangesShiftEnterCommand extends Plugin {
9
- static get requires(): PluginDependencies;
10
+ static get requires(): readonly [typeof ShiftEnter];
10
11
  init(): void;
11
12
  }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x53ca=['init','markerRange','includes','span','activeMarkers','model','split','registerElementLabel','toViewPosition','get','name','bindElementToMarker','editor','merge','plugins','enableCommand','createUIElement','test','high','deletion','createPositionBefore','addMarker:suggestion','ELEMENT_LINE_BREAK','writer','options','_descriptionFactory','consumable','locale','showSuggestionHighlights','downcastDispatcher','ck-suggestion-marker--active','requires','ck-suggestion-marker-','editing','markerName','shiftEnter','addMarker:suggestion:deletion','softBreak','insert'];(function(_0x3dee82,_0x53caf4){const _0x3f4627=function(_0x414a70){while(--_0x414a70){_0x3dee82['push'](_0x3dee82['shift']());}};_0x3f4627(++_0x53caf4);}(_0x53ca,0x168));const _0x3f46=function(_0x3dee82,_0x53caf4){_0x3dee82=_0x3dee82-0x0;let _0x3f4627=_0x53ca[_0x3dee82];return _0x3f4627;};import{Plugin as _0x14eab0}from'ckeditor5/src/core';import{ShiftEnter as _0x1dcea7}from'ckeditor5/src/enter';import{getTranslation as _0x565b8c}from'../utils/common-translations';export default class ft extends _0x14eab0{static get[_0x3f46('0x16')](){return[_0x1dcea7];}[_0x3f46('0x1e')](){const _0x4b6e2f=this[_0x3f46('0x3')],_0x5aed51=_0x4b6e2f[_0x3f46('0x5')][_0x3f46('0x0')]('TrackChangesEditing');_0x5aed51[_0x3f46('0x6')](_0x3f46('0x1a')),_0x4b6e2f[_0x3f46('0x18')]['downcastDispatcher']['on']('addMarker:suggestion:insertion',re(_0x4b6e2f),{'priority':_0x3f46('0x9')}),_0x4b6e2f[_0x3f46('0x18')][_0x3f46('0x14')]['on'](_0x3f46('0x1b'),re(_0x4b6e2f),{'priority':_0x3f46('0x9')}),_0x4b6e2f['data'][_0x3f46('0x14')]['on'](_0x3f46('0xc'),(_0x256014,_0x2d3b26,_0x11fc65)=>{_0x11fc65[_0x3f46('0xf')][_0x3f46('0x13')]&&re(_0x4b6e2f,{'showActiveMarker':!0x1})(_0x256014,_0x2d3b26,_0x11fc65);}),_0x5aed51[_0x3f46('0x10')][_0x3f46('0x25')]('softBreak',_0x16ec94=>_0x565b8c(_0x4b6e2f[_0x3f46('0x12')],_0x3f46('0xd'),_0x16ec94));}}function re(_0x37ca6e,{showActiveMarker:_0x49acf3=!0x0}={}){return(_0x4e3ca2,_0x3a0117,_0x310f5a)=>{const _0x44f9c8=_0x37ca6e[_0x3f46('0x5')][_0x3f46('0x0')]('TrackChangesEditing');if(!_0x310f5a[_0x3f46('0x11')][_0x3f46('0x8')](_0x3a0117[_0x3f46('0x1f')],_0x4e3ca2[_0x3f46('0x1')]))return;const _0x10a219=_0x37ca6e[_0x3f46('0x23')];for(const _0x3c7797 of _0x3a0117['markerRange']['getItems']()){if(!_0x3c7797['is']('element',_0x3f46('0x1c')))continue;const _0x48885c=_0x3f46('0xa')==_0x3a0117[_0x3f46('0x19')][_0x3f46('0x24')](':')[0x1]?_0x3f46('0x4'):_0x3f46('0x24'),_0xc00dc3=_0x310f5a['writer'][_0x3f46('0x7')](_0x3f46('0x21'),{'class':_0x3f46('0x17')+_0x48885c}),_0x42140b=_0x310f5a['mapper'][_0x3f46('0x26')](_0x10a219[_0x3f46('0xb')](_0x3c7797));_0x49acf3&&_0x44f9c8[_0x3f46('0x22')][_0x3f46('0x20')](_0x3a0117[_0x3f46('0x19')])&&_0x310f5a[_0x3f46('0xe')]['addClass'](_0x3f46('0x15'),_0xc00dc3),_0x310f5a[_0x3f46('0xe')][_0x3f46('0x1d')](_0x42140b,_0xc00dc3),_0x310f5a['mapper'][_0x3f46('0x2')](_0xc00dc3,_0x3a0117[_0x3f46('0x19')]);}};}
23
+ const _0xd769=['locale','high','name','mapper','activeMarkers','deletion','merge','writer','split','addMarker:suggestion','options','shiftEnter','bindElementToMarker','_descriptionFactory','init','model','markerRange','TrackChangesEditing','requires','createUIElement','addMarker:suggestion:deletion','element','consumable','createPositionBefore','plugins','includes','ELEMENT_LINE_BREAK','ck-suggestion-marker-','editing','markerName','editor','data','enableCommand','downcastDispatcher'];(function(_0x1d6904,_0xd7696d){const _0xb07db7=function(_0xd403c4){while(--_0xd403c4){_0x1d6904['push'](_0x1d6904['shift']());}};_0xb07db7(++_0xd7696d);}(_0xd769,0xdf));const _0xb07d=function(_0x1d6904,_0xd7696d){_0x1d6904=_0x1d6904-0x0;let _0xb07db7=_0xd769[_0x1d6904];return _0xb07db7;};import{Plugin as _0x3cd5a1}from'ckeditor5/src/core';import{ShiftEnter as _0x127d08}from'ckeditor5/src/enter';import{getTranslation as _0x43d5cd}from'../utils/common-translations';export default class ft extends _0x3cd5a1{static get[_0xb07d('0x21')](){return[_0x127d08];}[_0xb07d('0x1d')](){const _0xbe13b3=this[_0xb07d('0xb')],_0x3c937d=_0xbe13b3[_0xb07d('0x5')]['get'](_0xb07d('0x20'));_0x3c937d[_0xb07d('0xd')](_0xb07d('0x1a')),_0xbe13b3[_0xb07d('0x9')]['downcastDispatcher']['on']('addMarker:suggestion:insertion',re(_0xbe13b3),{'priority':'high'}),_0xbe13b3[_0xb07d('0x9')][_0xb07d('0xe')]['on'](_0xb07d('0x1'),re(_0xbe13b3),{'priority':_0xb07d('0x10')}),_0xbe13b3[_0xb07d('0xc')][_0xb07d('0xe')]['on'](_0xb07d('0x18'),(_0x25b8bb,_0x2bd817,_0x58ad6b)=>{_0x58ad6b[_0xb07d('0x19')]['showSuggestionHighlights']&&re(_0xbe13b3,{'showActiveMarker':!0x1})(_0x25b8bb,_0x2bd817,_0x58ad6b);}),_0x3c937d[_0xb07d('0x1c')]['registerElementLabel']('softBreak',_0x3ce4ec=>_0x43d5cd(_0xbe13b3[_0xb07d('0xf')],_0xb07d('0x7'),_0x3ce4ec));}}function re(_0x181920,{showActiveMarker:_0x9431c9=!0x0}={}){return(_0x492fbc,_0x189a90,_0x46c998)=>{const _0x3b1ae8=_0x181920['plugins']['get'](_0xb07d('0x20'));if(!_0x46c998[_0xb07d('0x3')]['test'](_0x189a90['markerRange'],_0x492fbc[_0xb07d('0x11')]))return;const _0x2e044d=_0x181920[_0xb07d('0x1e')];for(const _0x3e806f of _0x189a90[_0xb07d('0x1f')]['getItems']()){if(!_0x3e806f['is'](_0xb07d('0x2'),'softBreak'))continue;const _0x3a24b9=_0xb07d('0x14')==_0x189a90[_0xb07d('0xa')][_0xb07d('0x17')](':')[0x1]?_0xb07d('0x15'):_0xb07d('0x17'),_0xe32275=_0x46c998[_0xb07d('0x16')][_0xb07d('0x0')]('span',{'class':_0xb07d('0x8')+_0x3a24b9}),_0x33cca5=_0x46c998[_0xb07d('0x12')]['toViewPosition'](_0x2e044d[_0xb07d('0x4')](_0x3e806f));_0x9431c9&&_0x3b1ae8[_0xb07d('0x13')][_0xb07d('0x6')](_0x189a90[_0xb07d('0xa')])&&_0x46c998[_0xb07d('0x16')]['addClass']('ck-suggestion-marker--active',_0xe32275),_0x46c998[_0xb07d('0x16')]['insert'](_0x33cca5,_0xe32275),_0x46c998['mapper'][_0xb07d('0x1b')](_0xe32275,_0x189a90[_0xb07d('0xa')]);}};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x38e0=['document','FORMAT_RESTRICTED_ENABLED','commandName','getRanges','TrackChangesEditing','from','FORMAT_RESTRICTED_DISABLED','value','registerDescriptionCallback','selection','forceValue','_descriptionFactory','get','plugins','markInlineFormat','restrictedEditingException','model','enableCommand','has','afterInit','commands','format','StandardEditingModeEditing'];(function(_0x383774,_0x38e0ee){const _0x3abd6e=function(_0x5217de){while(--_0x5217de){_0x383774['push'](_0x383774['shift']());}};_0x3abd6e(++_0x38e0ee);}(_0x38e0,0x150));const _0x3abd=function(_0x383774,_0x38e0ee){_0x383774=_0x383774-0x0;let _0x3abd6e=_0x38e0[_0x383774];return _0x3abd6e;};import{Plugin as _0x504b99}from'ckeditor5/src/core';import{getRangesWithAttribute as _0x2067c8}from'./utils';import{getTranslation as _0x4191d3}from'../utils/common-translations';export default class lt extends _0x504b99{[_0x3abd('0x5')](){const _0x2b8e0e=this['editor'],_0x43eb9d=_0x2b8e0e[_0x3abd('0x2')],_0xaf4ff=_0x2b8e0e['locale'];if(!_0x2b8e0e[_0x3abd('0x16')][_0x3abd('0x4')](_0x3abd('0x8')))return;const _0x1a9232=_0x2b8e0e[_0x3abd('0x16')][_0x3abd('0x15')](_0x3abd('0xd')),_0x3f7734=_0x3abd('0x1'),_0x46ac3c=_0x2b8e0e[_0x3abd('0x6')]['get'](_0x3f7734);_0x1a9232[_0x3abd('0x3')](_0x3f7734,(_0x1e35e3,_0x4d45f4={})=>{const _0x410144=_0x43eb9d[_0x3abd('0x9')][_0x3abd('0x12')];if(_0x410144['isCollapsed'])return void _0x1e35e3(_0x4d45f4);const _0x3523d8=void 0x0!==_0x4d45f4['forceValue']?_0x4d45f4['forceValue']:!_0x46ac3c[_0x3abd('0x10')];_0x43eb9d['change'](()=>{const _0x27d5de=Array[_0x3abd('0xe')](_0x410144[_0x3abd('0xc')]());for(const _0x2803f2 of _0x27d5de){const _0x25036c=_0x3523d8?[_0x2803f2]:_0x2067c8(_0x3f7734,_0x2803f2,_0x43eb9d);for(const _0x1479e1 of _0x25036c)_0x1a9232[_0x3abd('0x0')](_0x1479e1,{'commandName':_0x3f7734,'commandParams':[{'forceValue':_0x3523d8}]});}});}),_0x1a9232[_0x3abd('0x14')][_0x3abd('0x11')](_0x111b2d=>{const {data:_0x21f55a}=_0x111b2d;if(_0x21f55a&&_0x21f55a[_0x3abd('0xb')]==_0x3f7734)return _0x21f55a['commandParams'][0x0][_0x3abd('0x13')]?{'type':_0x3abd('0x7'),'content':_0x4191d3(_0xaf4ff,_0x3abd('0xa'))}:{'type':_0x3abd('0x7'),'content':_0x4191d3(_0xaf4ff,_0x3abd('0xf'))};});}}
23
+ const _0x490a=['commandParams','editor','plugins','registerDescriptionCallback','restrictedEditingException','commands','markInlineFormat','has','TrackChangesEditing','forceValue','get','from','value','document','StandardEditingModeEditing','selection','model','_descriptionFactory','format','getRanges','enableCommand','isCollapsed','FORMAT_RESTRICTED_DISABLED','commandName','FORMAT_RESTRICTED_ENABLED','locale','afterInit'];(function(_0x5e58c8,_0x490aeb){const _0x8691ff=function(_0x501d60){while(--_0x501d60){_0x5e58c8['push'](_0x5e58c8['shift']());}};_0x8691ff(++_0x490aeb);}(_0x490a,0x1f0));const _0x8691=function(_0x5e58c8,_0x490aeb){_0x5e58c8=_0x5e58c8-0x0;let _0x8691ff=_0x490a[_0x5e58c8];return _0x8691ff;};import{Plugin as _0x111d5a}from'ckeditor5/src/core';import{getRangesWithAttribute as _0x497f6d}from'./utils';import{getTranslation as _0x2b36e6}from'../utils/common-translations';export default class lt extends _0x111d5a{[_0x8691('0x10')](){const _0x4076b8=this[_0x8691('0x12')],_0x5bdc21=_0x4076b8[_0x8691('0x6')],_0x7b3dfb=_0x4076b8[_0x8691('0xf')];if(!_0x4076b8[_0x8691('0x13')][_0x8691('0x18')](_0x8691('0x4')))return;const _0x187328=_0x4076b8[_0x8691('0x13')][_0x8691('0x0')](_0x8691('0x19')),_0x552c59=_0x8691('0x15'),_0x334e97=_0x4076b8[_0x8691('0x16')]['get'](_0x552c59);_0x187328[_0x8691('0xa')](_0x552c59,(_0x4a89b1,_0x1f7459={})=>{const _0x4c8921=_0x5bdc21[_0x8691('0x3')][_0x8691('0x5')];if(_0x4c8921[_0x8691('0xb')])return void _0x4a89b1(_0x1f7459);const _0x25cdc1=void 0x0!==_0x1f7459['forceValue']?_0x1f7459[_0x8691('0x1a')]:!_0x334e97[_0x8691('0x2')];_0x5bdc21['change'](()=>{const _0x3d5e21=Array[_0x8691('0x1')](_0x4c8921[_0x8691('0x9')]());for(const _0x1009f7 of _0x3d5e21){const _0x57666c=_0x25cdc1?[_0x1009f7]:_0x497f6d(_0x552c59,_0x1009f7,_0x5bdc21);for(const _0x4fe257 of _0x57666c)_0x187328[_0x8691('0x17')](_0x4fe257,{'commandName':_0x552c59,'commandParams':[{'forceValue':_0x25cdc1}]});}});}),_0x187328[_0x8691('0x7')][_0x8691('0x14')](_0x2b7b98=>{const {data:_0x4d0ff1}=_0x2b7b98;if(_0x4d0ff1&&_0x4d0ff1[_0x8691('0xd')]==_0x552c59)return _0x4d0ff1[_0x8691('0x11')][0x0][_0x8691('0x1a')]?{'type':_0x8691('0x8'),'content':_0x2b36e6(_0x7b3dfb,_0x8691('0xe'))}:{'type':'format','content':_0x2b36e6(_0x7b3dfb,_0x8691('0xc'))};});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4ecc=['has','getDefinitionsForView','getSelectedBlocks','normalizeConfig','change','get','markBlockFormat','add','forceValue','model','plugins','getAttribute','enabledStyles','value','format','isBlock','classes','style','style:','commandName','includes','push','name','commandParams','getAncestors','styleName','every','find','afterInit','_getRangesWithClasses','TrackChangesEditing','block','DataSchema','inline','_getStyleDefinition','createRangeOn','config','getItems','markInlineFormat','StyleUtils','modelElements','from','*Format:*\x20%0','getRanges','*Remove\x20format:*\x20%0'];(function(_0xf7b755,_0x4eccc3){const _0x36214d=function(_0x3c083c){while(--_0x3c083c){_0xf7b755['push'](_0xf7b755['shift']());}};_0x36214d(++_0x4eccc3);}(_0x4ecc,0xa5));const _0x3621=function(_0xf7b755,_0x4eccc3){_0xf7b755=_0xf7b755-0x0;let _0x36214d=_0x4ecc[_0xf7b755];return _0x36214d;};import{Plugin as _0x2cf626}from'ckeditor5/src/core';import{getTranslation as _0x539d7f}from'../utils/common-translations';export default class gt extends _0x2cf626{[_0x3621('0x2b')](){const _0x532572=this['editor'];if(!_0x532572[_0x3621('0x19')][_0x3621('0xf')]('Style'))return;const _0x587944=_0x532572['commands'][_0x3621('0x14')](_0x3621('0x20')),_0x1e7a32=_0x532572[_0x3621('0x19')]['get'](_0x3621('0x0')),_0x10eeb3=_0x532572['locale'],_0x34c0cb=_0x532572[_0x3621('0x19')][_0x3621('0x14')](_0x3621('0x2')),_0x515efc=_0x532572[_0x3621('0x19')][_0x3621('0x14')](_0x3621('0x9'))[_0x3621('0x12')](_0x34c0cb,_0x532572[_0x3621('0x6')][_0x3621('0x14')]('style.definitions'));_0x1e7a32['enableCommand'](_0x3621('0x20'),(_0x331cb5,{styleName:_0x4cf646})=>{const _0x5b0ce0=_0x532572[_0x3621('0x18')]['document']['selection'],_0x5b17b4=this[_0x3621('0x4')](_0x4cf646,_0x515efc);if(!_0x5b17b4)return;if(!_0x587944[_0x3621('0x1b')][_0x3621('0x23')](_0x4cf646))return;if(_0x5b0ce0['isCollapsed']&&!_0x5b17b4[_0x3621('0x1e')])return void _0x331cb5({'styleName':_0x4cf646});const _0x4ba5df=!_0x587944[_0x3621('0x1c')]['includes'](_0x5b17b4[_0x3621('0x25')]);if(_0x5b17b4[_0x3621('0x1e')]){const _0x1b7e7a=function(_0x251767,_0x2f4c68){const _0x55ef23=new Set();for(const _0x4f8289 of _0x251767){const _0x3a504c=_0x4f8289[_0x3621('0x27')]({'includeSelf':!0x0,'parentFirst':!0x0});for(const _0x31ca64 of _0x3a504c)if(_0x2f4c68['includes'](_0x31ca64[_0x3621('0x25')])){_0x55ef23[_0x3621('0x16')](_0x31ca64);break;}}return _0x55ef23;}(_0x5b0ce0[_0x3621('0x11')](),_0x5b17b4[_0x3621('0xa')]);_0x532572[_0x3621('0x18')][_0x3621('0x13')](()=>{for(const _0x1bd624 of _0x1b7e7a)_0x1e7a32[_0x3621('0x15')](_0x1bd624,{'commandName':_0x3621('0x20'),'commandParams':[{'styleName':_0x4cf646,'forceValue':_0x4ba5df}],'formatGroupId':_0x3621('0x21')+_0x4cf646});});}else{let _0xfc408f=Array[_0x3621('0xb')](_0x5b0ce0[_0x3621('0xd')]());if(!_0x4ba5df){const _0x2d18c7=Array[_0x3621('0xb')](_0x34c0cb[_0x3621('0x10')](_0x5b17b4['element'],!0x1))[0x0][_0x3621('0x18')],_0x504ae9=[];for(const _0x59c7df of _0xfc408f){const _0x319e5d=this[_0x3621('0x2c')](_0x532572[_0x3621('0x18')],_0x59c7df,_0x5b17b4[_0x3621('0x1f')],_0x2d18c7);_0x504ae9[_0x3621('0x24')](..._0x319e5d);}_0xfc408f=_0x504ae9;}_0x532572[_0x3621('0x18')][_0x3621('0x13')](()=>{for(const _0x4c0c56 of _0xfc408f)_0x1e7a32[_0x3621('0x8')](_0x4c0c56,{'commandName':_0x3621('0x20'),'commandParams':[{'styleName':_0x4cf646,'forceValue':_0x4ba5df}]});});}}),_0x1e7a32['_descriptionFactory']['registerDescriptionCallback'](_0x431757=>{const {data:_0x14ccea}=_0x431757;if(_0x14ccea&&_0x3621('0x20')===_0x14ccea[_0x3621('0x22')])return _0x14ccea[_0x3621('0x26')][0x0][_0x3621('0x17')]?{'type':_0x3621('0x1d'),'content':_0x539d7f(_0x10eeb3,_0x3621('0xc'),_0x14ccea[_0x3621('0x26')][0x0][_0x3621('0x28')]['toLowerCase']())}:{'type':_0x3621('0x1d'),'content':_0x539d7f(_0x10eeb3,_0x3621('0xe'),_0x14ccea[_0x3621('0x26')][0x0][_0x3621('0x28')]['toLowerCase']())};});}[_0x3621('0x4')](_0x1db5d0,_0x4e7808){let _0x4d06e6=_0x4e7808[_0x3621('0x1')][_0x3621('0x2a')](_0x20b509=>_0x20b509[_0x3621('0x25')]===_0x1db5d0);return _0x4d06e6||(_0x4d06e6=_0x4e7808[_0x3621('0x3')][_0x3621('0x2a')](_0x2006df=>_0x2006df[_0x3621('0x25')]===_0x1db5d0)),_0x4d06e6;}[_0x3621('0x2c')](_0x4b564e,_0x42f845,_0x23ffe1,_0x313442){const _0x39f859=[];for(const _0x3ae135 of _0x42f845[_0x3621('0x7')]()){const _0xfe2bfa=_0x3ae135[_0x3621('0x1a')](_0x313442);_0xfe2bfa&&(_0x23ffe1[_0x3621('0x29')](_0x397951=>_0xfe2bfa['classes'][_0x3621('0x23')](_0x397951))&&_0x39f859['push'](_0x4b564e[_0x3621('0x5')](_0x3ae135)));}return _0x39f859;}}
23
+ const _0x37be=['isCollapsed','createRangeOn','document','StyleUtils','markInlineFormat','style','getAttribute','commandParams','includes','element','plugins','get','format','_descriptionFactory','enableCommand','Style','commands','afterInit','getItems','inline','editor','TrackChangesEditing','getAncestors','every','styleName','commandName','change','normalizeConfig','toLowerCase','getDefinitionsForView','has','config','name','*Format:*\x20%0','_getStyleDefinition','DataSchema','enabledStyles','block','from','find','style:','value','model','registerDescriptionCallback','markBlockFormat','style.definitions','forceValue','classes','push','isBlock','_getRangesWithClasses','add'];(function(_0x2f169a,_0x37bea5){const _0x47e223=function(_0x1751d2){while(--_0x1751d2){_0x2f169a['push'](_0x2f169a['shift']());}};_0x47e223(++_0x37bea5);}(_0x37be,0x129));const _0x47e2=function(_0x2f169a,_0x37bea5){_0x2f169a=_0x2f169a-0x0;let _0x47e223=_0x37be[_0x2f169a];return _0x47e223;};import{Plugin as _0x5a4e28}from'ckeditor5/src/core';import{getTranslation as _0x247908}from'../utils/common-translations';export default class gt extends _0x5a4e28{[_0x47e2('0x20')](){const _0x4449a1=this[_0x47e2('0x23')];if(!_0x4449a1[_0x47e2('0x19')][_0x47e2('0x2d')](_0x47e2('0x1e')))return;const _0x343d5c=_0x4449a1[_0x47e2('0x1f')][_0x47e2('0x1a')](_0x47e2('0x14')),_0x4dd6d1=_0x4449a1[_0x47e2('0x19')][_0x47e2('0x1a')](_0x47e2('0x24')),_0x46e6df=_0x4449a1['locale'],_0x1ddcbc=_0x4449a1[_0x47e2('0x19')][_0x47e2('0x1a')](_0x47e2('0x32')),_0x515be7=_0x4449a1[_0x47e2('0x19')][_0x47e2('0x1a')](_0x47e2('0x12'))[_0x47e2('0x2a')](_0x1ddcbc,_0x4449a1[_0x47e2('0x2e')]['get'](_0x47e2('0x8')));_0x4dd6d1[_0x47e2('0x1d')]('style',(_0x30cb8d,{styleName:_0x2a3b7e})=>{const _0x10f982=_0x4449a1[_0x47e2('0x5')][_0x47e2('0x11')]['selection'],_0xfcd022=this[_0x47e2('0x31')](_0x2a3b7e,_0x515be7);if(!_0xfcd022)return;if(!_0x343d5c[_0x47e2('0x33')][_0x47e2('0x17')](_0x2a3b7e))return;if(_0x10f982[_0x47e2('0xf')]&&!_0xfcd022[_0x47e2('0xc')])return void _0x30cb8d({'styleName':_0x2a3b7e});const _0x5bd8c6=!_0x343d5c[_0x47e2('0x4')][_0x47e2('0x17')](_0xfcd022[_0x47e2('0x2f')]);if(_0xfcd022[_0x47e2('0xc')]){const _0x1984ce=function(_0x550adc,_0x14e8d0){const _0x8def9=new Set();for(const _0x54492a of _0x550adc){const _0x7bdf5e=_0x54492a[_0x47e2('0x25')]({'includeSelf':!0x0,'parentFirst':!0x0});for(const _0x44bbfc of _0x7bdf5e)if(_0x14e8d0[_0x47e2('0x17')](_0x44bbfc['name'])){_0x8def9[_0x47e2('0xe')](_0x44bbfc);break;}}return _0x8def9;}(_0x10f982['getSelectedBlocks'](),_0xfcd022['modelElements']);_0x4449a1[_0x47e2('0x5')]['change'](()=>{for(const _0x29cc42 of _0x1984ce)_0x4dd6d1[_0x47e2('0x7')](_0x29cc42,{'commandName':'style','commandParams':[{'styleName':_0x2a3b7e,'forceValue':_0x5bd8c6}],'formatGroupId':_0x47e2('0x3')+_0x2a3b7e});});}else{let _0x4050e0=Array[_0x47e2('0x1')](_0x10f982['getRanges']());if(!_0x5bd8c6){const _0x4a2aa3=Array['from'](_0x1ddcbc[_0x47e2('0x2c')](_0xfcd022[_0x47e2('0x18')],!0x1))[0x0][_0x47e2('0x5')],_0xf30150=[];for(const _0x5a7732 of _0x4050e0){const _0x36cde4=this[_0x47e2('0xd')](_0x4449a1[_0x47e2('0x5')],_0x5a7732,_0xfcd022['classes'],_0x4a2aa3);_0xf30150[_0x47e2('0xb')](..._0x36cde4);}_0x4050e0=_0xf30150;}_0x4449a1[_0x47e2('0x5')][_0x47e2('0x29')](()=>{for(const _0x228b83 of _0x4050e0)_0x4dd6d1[_0x47e2('0x13')](_0x228b83,{'commandName':_0x47e2('0x14'),'commandParams':[{'styleName':_0x2a3b7e,'forceValue':_0x5bd8c6}]});});}}),_0x4dd6d1[_0x47e2('0x1c')][_0x47e2('0x6')](_0x210832=>{const {data:_0x43dd36}=_0x210832;if(_0x43dd36&&_0x47e2('0x14')===_0x43dd36[_0x47e2('0x28')])return _0x43dd36[_0x47e2('0x16')][0x0][_0x47e2('0x9')]?{'type':_0x47e2('0x1b'),'content':_0x247908(_0x46e6df,_0x47e2('0x30'),_0x43dd36[_0x47e2('0x16')][0x0][_0x47e2('0x27')]['toLowerCase']())}:{'type':_0x47e2('0x1b'),'content':_0x247908(_0x46e6df,'*Remove\x20format:*\x20%0',_0x43dd36[_0x47e2('0x16')][0x0][_0x47e2('0x27')][_0x47e2('0x2b')]())};});}[_0x47e2('0x31')](_0x1cc84c,_0x4b0335){let _0x2bffea=_0x4b0335[_0x47e2('0x0')][_0x47e2('0x2')](_0x1da498=>_0x1da498[_0x47e2('0x2f')]===_0x1cc84c);return _0x2bffea||(_0x2bffea=_0x4b0335[_0x47e2('0x22')][_0x47e2('0x2')](_0x4c95aa=>_0x4c95aa['name']===_0x1cc84c)),_0x2bffea;}[_0x47e2('0xd')](_0x569b67,_0x28d7f5,_0xfd6959,_0x54f61f){const _0x71ef2e=[];for(const _0x44cb50 of _0x28d7f5[_0x47e2('0x21')]()){const _0x4ae099=_0x44cb50[_0x47e2('0x15')](_0x54f61f);_0x4ae099&&(_0xfd6959[_0x47e2('0x26')](_0x269e47=>_0x4ae099[_0x47e2('0xa')][_0x47e2('0x17')](_0x269e47))&&_0x71ef2e[_0x47e2('0xb')](_0x569b67[_0x47e2('0x10')](_0x44cb50)));}return _0x71ef2e;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x43b4=['createTableWalker','suggestion','writer','markMultiRangeInsertion','isInContent','TrackChangesEditing','getChildren','above','$graveyard','enableCommand','tableColumn','root','getRowIndexes','filter','name','_setupColumnsRowsFixing','getSuggestion','isIntersectingWithRange','getFirstRange','editor','getSelectionAffectedTableCells','markMultiRangeDeletion','add','differ','_getCoordsForCells','end','every','first','max','getContainedElement','change','last','data','*Remove:*\x20%0','createPositionAt','_acceptFormatSuggestionCallbackFactory','afterInit','_tablePostFixingSubtypes','addMarker:suggestion','rowspan','deletion','execute','join','map','tableCell','isArray','toViewElement','plugins','ELEMENT_TABLE_COLUMN','position','subType','commands','order','showSuggestionHighlights','selectTableColumn','_tableSuggestions','registerPostFixer','hasAttribute','getRanges','type','maxRow','insertTable','insertTableRowAbove','includes','ELEMENT_TABLE_ROW_WITH_TEXT','createRangeOn','from','oldRange','left','fromRange','_suggestionFactory','get','registerDescriptionCallback','substr','removeTableColumn','*Insert:*\x20%0','element','enqueueChange','_splitMarkerName','change:data','getItems','ELEMENT_TABLE_WITH_TEXT','isEqual','discard','minColumn','MIN_SAFE_INTEGER','ELEMENT_TABLE','push','removeClass','document','getAttribute','insertTableRowBelow','insertion','minRow','_getSuggestionCoords','_descriptionFactory','classes','length','min','getCellLocation','addRange','isTouching','options','detach','removeTableRow','downcastDispatcher','findAncestor','ELEMENT_TABLE_COLUMN_WITH_TEXT','start','rootName','colspan','selectTableRow','model','getChangedMarkers','getChanges','$textProxy','tableRow','values','some','table','refresh','insertTableColumnLeft','ELEMENT_TABLE_ROW','registerCustomCallback','setSelection','toLowerCase','accept','TableUtils','insert','getColumnIndexes','item','nodeAfter','TableEditing','cell','MAX_SAFE_INTEGER'];(function(_0x34bdd3,_0x43b4f9){const _0x5cc087=function(_0x1b6f82){while(--_0x1b6f82){_0x34bdd3['push'](_0x34bdd3['shift']());}};_0x5cc087(++_0x43b4f9);}(_0x43b4,0x141));const _0x5cc0=function(_0x34bdd3,_0x43b4f9){_0x34bdd3=_0x34bdd3-0x0;let _0x5cc087=_0x43b4[_0x34bdd3];return _0x5cc087;};import{Plugin as _0x46f1c9}from'ckeditor5/src/core';import{LiveRange as _0x5366cb}from'ckeditor5/src/engine';import{setHighlightHandling as _0x3fbed8}from'ckeditor5/src/widget';import{getTranslation as _0x528878}from'../utils/common-translations';export default class mt extends _0x46f1c9{constructor(_0x4ae1ef){super(_0x4ae1ef),this['_tablePostFixingSubtypes']=[_0x5cc0('0x41'),_0x5cc0('0x5e')],this['_tableSuggestions']=new Set();}[_0x5cc0('0x78')](){const _0x233006=this['editor'],_0x326853=_0x233006['model'][_0x5cc0('0x26')]['selection'];if(!_0x233006[_0x5cc0('0x83')]['has'](_0x5cc0('0x51')))return;const _0x553e08=_0x233006['locale'],_0x5baea5=_0x233006[_0x5cc0('0x83')][_0x5cc0('0x14')](_0x5cc0('0x59')),_0x5368c4=_0x233006[_0x5cc0('0x83')]['get'](_0x5cc0('0x4c'));_0x5baea5[_0x5cc0('0x2c')]['registerElementLabel']('table',_0x23b1b2=>_0x528878(_0x553e08,_0x5cc0('0x23'),_0x23b1b2)),this[_0x5cc0('0x63')](),_0x5baea5[_0x5cc0('0x5d')](_0x5cc0('0xa')),_0x5baea5[_0x5cc0('0x5d')](_0x5cc0('0x3c')),_0x5baea5['enableCommand'](_0x5cc0('0x3'));for(const _0x601cc of[_0x5cc0('0xb'),_0x5cc0('0x28')]){const _0x28440c=_0x233006['commands'][_0x5cc0('0x14')](_0x601cc);_0x5baea5[_0x5cc0('0x5d')](_0x601cc,_0xc34638=>{_0x233006['model'][_0x5cc0('0x72')](_0x209a44=>{_0xc34638();const _0x236e24=_0x5cc0('0x5b')===_0x28440c[_0x5cc0('0x1')],_0xa16bbb=_0x5368c4[_0x5cc0('0x68')](_0x326853),_0x439f91=_0x5368c4['getRowIndexes'](_0xa16bbb),_0x4361b2=_0x236e24?_0x439f91['first']-0x1:_0x439f91[_0x5cc0('0x73')]+0x1,_0x45860a=_0xa16bbb[0x0][_0x5cc0('0x37')](_0x5cc0('0x44')),_0xd9c337=_0x5368c4[_0x5cc0('0x54')](_0x45860a,{'startRow':_0x4361b2,'endRow':_0x4361b2}),_0x2e0e76=Array[_0x5cc0('0xf')](_0xd9c337)['map'](_0x333669=>_0x209a44[_0x5cc0('0xe')](_0x333669[_0x5cc0('0x52')]));_0x5baea5['markMultiRangeInsertion'](_0x2e0e76,_0x5cc0('0x41'));});});}for(const _0x1e188d of[_0x5cc0('0x46'),'insertTableColumnRight']){const _0xf74201=_0x233006[_0x5cc0('0x0')][_0x5cc0('0x14')](_0x1e188d);_0x5baea5[_0x5cc0('0x5d')](_0x1e188d,_0x296dd4=>{_0x233006[_0x5cc0('0x3d')]['change'](_0x25a90b=>{_0x296dd4();const _0x4a7060=_0x5cc0('0x11')===_0xf74201[_0x5cc0('0x1')],_0x568f0e=_0x5368c4['getSelectionAffectedTableCells'](_0x326853),_0x4cf83f=_0x5368c4[_0x5cc0('0x4e')](_0x568f0e),_0x2ae2fc=_0x4a7060?_0x4cf83f[_0x5cc0('0x6f')]-0x1:_0x4cf83f[_0x5cc0('0x73')]+0x1,_0x554d06=_0x568f0e[0x0][_0x5cc0('0x37')](_0x5cc0('0x44')),_0x4600e8=_0x5368c4[_0x5cc0('0x54')](_0x554d06,{'startRow':0x0,'column':_0x2ae2fc,'includeAllSlots':!0x1}),_0x41ba04=Array[_0x5cc0('0xf')](_0x4600e8)[_0x5cc0('0x7f')](_0x3a3f88=>_0x25a90b[_0x5cc0('0xe')](_0x3a3f88[_0x5cc0('0x52')]));_0x5baea5[_0x5cc0('0x57')](_0x41ba04,_0x5cc0('0x5e'));});});}for(const _0x4c0837 of[_0x5cc0('0x35'),_0x5cc0('0x17')]){const _0x135c6b=_0x4c0837['substr'](0xb),_0x29a132=_0x135c6b[_0x5cc0('0x4a')](),_0x297a31=_0x29a132['substr'](0x0,0x3)+'span',_0x29673e='table'+_0x135c6b,_0x589200=_0x5cc0('0x2f')+_0x135c6b,_0x3fc9f0=_0x5cc0('0x70')+_0x135c6b;_0x5baea5[_0x5cc0('0x5d')](_0x4c0837,()=>{_0x233006[_0x5cc0('0x3d')][_0x5cc0('0x72')](_0x46cbec=>{const _0x37c493=_0x5368c4[_0x5cc0('0x68')](_0x326853),_0x3adf9a=_0x37c493[0x0]['findAncestor'](_0x5cc0('0x44'));let _0x58e0c9;if('removeTableRow'==_0x4c0837){const _0x16b8b9=_0x5368c4[_0x5cc0('0x60')](_0x37c493);_0x58e0c9={'startRow':_0x16b8b9['first'],'endRow':_0x16b8b9['last'],'includeAllSlots':!0x0};}else{const _0x5be5ca=_0x5368c4[_0x5cc0('0x4e')](_0x37c493);_0x58e0c9={'startColumn':_0x5be5ca[_0x5cc0('0x6f')],'endColumn':_0x5be5ca[_0x5cc0('0x73')],'includeAllSlots':!0x0};}const _0x47fb24=_0x5368c4[_0x5cc0('0x54')](_0x3adf9a,_0x58e0c9),_0x38c3db=Array[_0x5cc0('0xf')](_0x47fb24)[_0x5cc0('0x7f')](({cell:_0x167ece})=>_0x167ece),_0x3c85b9=se(_0x38c3db[_0x5cc0('0x61')](_0x416420=>_0x416420[_0x5cc0('0x6')](_0x297a31))),_0x509a9a=se(_0x38c3db['filter'](_0x122783=>!_0x122783['hasAttribute'](_0x297a31)))[_0x5cc0('0x7f')](_0x10d758=>_0x46cbec[_0x5cc0('0xe')](_0x10d758)),_0x269450=_0x5baea5[_0x5cc0('0x69')](_0x509a9a,_0x29673e);if(_0x269450&&(_0x5cc0('0x41')==_0x269450[_0x5cc0('0x86')]||'tableColumn'==_0x269450[_0x5cc0('0x86')])){const _0x26122e=this[_0x5cc0('0x2b')](_0x269450);for(const _0x4c2609 of _0x3c85b9){const _0x47ddbb=_0x46cbec[_0x5cc0('0xe')](_0x4c2609),_0x2eab36=_0x5368c4[_0x5cc0('0x30')](_0x4c2609),_0x4555f3=_0x4c2609[_0x5cc0('0x27')](_0x297a31)-0x1,_0x485ca0=_0x26122e[_0x589200],_0x544ffe=_0x26122e[_0x3fc9f0];_0x485ca0<=_0x2eab36[_0x29a132]&&_0x2eab36[_0x29a132]+_0x4555f3<=_0x544ffe&&_0x269450[_0x5cc0('0x31')](_0x47ddbb);}}});});}function _0xb81d6(_0x54bce5){const _0x359b8d=Array[_0x5cc0('0xf')](_0x326853[_0x5cc0('0x7')]())['map'](_0x13b264=>_0x5366cb[_0x5cc0('0x12')](_0x13b264));_0x233006[_0x5cc0('0x3d')][_0x5cc0('0x72')](_0x5c1fbb=>{const _0x343534=_0x5c1fbb['batch'];_0x54bce5=_0x54bce5['filter'](_0x46bca0=>_0x5cc0('0x5c')!=_0x46bca0[_0x5cc0('0x5f')]['rootName']),_0x5c1fbb[_0x5cc0('0x49')](_0x54bce5),_0x233006[_0x5cc0('0x0')][_0x5cc0('0x14')](_0x5cc0('0x35'))[_0x5cc0('0x45')](),_0x233006[_0x5cc0('0x7d')](_0x5cc0('0x35'),{'forceDefaultExecution':!0x0}),_0x233006['model'][_0x5cc0('0x1a')](()=>{_0x233006[_0x5cc0('0x3d')][_0x5cc0('0x1a')](_0x343534,_0xd3d5f8=>{const _0x5125b9=_0x359b8d[_0x5cc0('0x61')](_0x232a2a=>_0x5cc0('0x5c')!=_0x232a2a[_0x5cc0('0x5f')][_0x5cc0('0x3a')]);_0x5125b9['length']>0x0&&_0xd3d5f8[_0x5cc0('0x49')](_0x5125b9);for(const _0x5e9129 of _0x359b8d)_0x5e9129['detach']();});});});}function _0x3ad50d(_0x141bc9){_0x233006['model'][_0x5cc0('0x72')](_0x557b40=>{const _0x128761=Array[_0x5cc0('0xf')](_0x326853[_0x5cc0('0x7')]())[_0x5cc0('0x7f')](_0x59ada5=>_0x5366cb['fromRange'](_0x59ada5)),_0x17a6fa=[];for(const _0x3b42b8 of _0x141bc9)for(const _0x237d97 of _0x3b42b8[_0x5cc0('0x1d')]({'shallow':!0x0}))_0x17a6fa['push'](_0x237d97);for(const _0xc7c553 of _0x17a6fa)_0x5cc0('0x5c')!=_0xc7c553[_0x5cc0('0x5f')][_0x5cc0('0x3a')]&&(_0x557b40[_0x5cc0('0x49')](_0x557b40[_0x5cc0('0x76')](_0xc7c553,0x0)),_0x233006[_0x5cc0('0x0')]['get'](_0x5cc0('0x17'))[_0x5cc0('0x45')](),_0x233006[_0x5cc0('0x7d')](_0x5cc0('0x17'),{'forceDefaultExecution':!0x0}));const _0x14b1b6=_0x128761['filter'](_0x337856=>'$graveyard'!=_0x337856[_0x5cc0('0x5f')][_0x5cc0('0x3a')]);_0x14b1b6[_0x5cc0('0x2e')]>0x0&&_0x557b40[_0x5cc0('0x49')](_0x14b1b6);for(const _0x373af0 of _0x128761)_0x373af0[_0x5cc0('0x34')]();});}function _0x18f750(_0x5477c1,_0x193066){return _0x193066[_0x5cc0('0x6e')](_0x303110=>_0x5477c1[_0x5cc0('0x43')](_0x4713bd=>_0x4713bd[_0x5cc0('0x6d')][_0x5cc0('0x1f')](_0x303110[_0x5cc0('0x39')])||_0x303110[_0x5cc0('0x6d')]['isEqual'](_0x4713bd[_0x5cc0('0x39')])));}function _0x574dba(_0x22698d,_0xaa77c3){return _0x22698d[_0x5cc0('0x43')](_0x1464f8=>_0xaa77c3[_0x5cc0('0x43')](_0x34d7b4=>_0x1464f8[_0x5cc0('0x6d')][_0x5cc0('0x32')](_0x34d7b4[_0x5cc0('0x39')])));}_0x233006[_0x5cc0('0x74')][_0x5cc0('0x36')]['on'](_0x5cc0('0x7a'),(_0xbefd52,_0x31d8b2,_0xe46697)=>{if(!_0xe46697[_0x5cc0('0x33')][_0x5cc0('0x2')])return;const _0x4ec455=_0x31d8b2[_0x5cc0('0x4f')];if(!_0x4ec455)return;const _0x1fd7aa=_0xe46697['mapper'][_0x5cc0('0x82')](_0x4ec455);function _0xf06a82(_0x565c3d){return Array[_0x5cc0('0x81')](_0x565c3d)?_0x565c3d:[_0x565c3d];}_0x1fd7aa&&_0x5cc0('0x80')===_0x4ec455['name']&&_0x3fbed8(_0x1fd7aa,_0xe46697[_0x5cc0('0x56')],(_0x2e72dc,_0x3f049f,_0x107165)=>_0x107165['addClass'](_0xf06a82(_0x3f049f[_0x5cc0('0x2d')]),_0x2e72dc),(_0x373c2b,_0x54f7d4,_0x204026)=>_0x204026[_0x5cc0('0x25')](_0xf06a82(_0x54f7d4[_0x5cc0('0x2d')]),_0x373c2b));},{'priority':'highest'}),_0x5baea5[_0x5cc0('0x2c')][_0x5cc0('0x15')](_0x1c0c79=>{if(_0x5cc0('0x29')!=_0x1c0c79[_0x5cc0('0x8')]&&_0x5cc0('0x7c')!=_0x1c0c79['type'])return;const _0x14bb88=_0x1c0c79[_0x5cc0('0x71')]();if(null!=_0x14bb88&&_0x14bb88['is'](_0x5cc0('0x19'),_0x5cc0('0x44'))){if(_0x5cc0('0x29')==_0x1c0c79[_0x5cc0('0x8')]){const _0x34faee=_0x1c0c79[_0x5cc0('0x1d')]()[_0x5cc0('0x61')](_0x49a55f=>_0x49a55f['is'](_0x5cc0('0x40')))[_0x5cc0('0x7f')](_0x213c35=>_0x213c35['data']);if(_0x34faee[_0x5cc0('0x2e')])return{'type':'insertion','content':_0x528878(_0x553e08,_0x5cc0('0x18'),_0x528878(_0x553e08,_0x5cc0('0x1e'),'\x22'+_0x34faee['join']('\x20')+'\x22'))};}if(_0x5cc0('0x7c')==_0x1c0c79['type']){const _0x4fdcf0=_0x1c0c79[_0x5cc0('0x1d')]()['filter'](_0x19616a=>_0x19616a['is']('$textProxy'))[_0x5cc0('0x7f')](_0x3a47ac=>_0x3a47ac[_0x5cc0('0x74')]);if(_0x4fdcf0[_0x5cc0('0x2e')])return{'type':_0x5cc0('0x7c'),'content':_0x528878(_0x553e08,_0x5cc0('0x75'),_0x528878(_0x553e08,_0x5cc0('0x1e'),'\x22'+_0x4fdcf0[_0x5cc0('0x7e')]('\x20')+'\x22'))};}}}),_0x5baea5[_0x5cc0('0x2c')][_0x5cc0('0x15')](_0x2e5601=>{if(_0x5cc0('0x41')==_0x2e5601[_0x5cc0('0x86')]){const _0x180f70=_0x2e5601[_0x5cc0('0x1d')]()[_0x5cc0('0x61')](_0x4a6fb0=>_0x4a6fb0['is'](_0x5cc0('0x40')))[_0x5cc0('0x7f')](_0x56e3d4=>_0x56e3d4[_0x5cc0('0x74')]),_0x5c0f68=this[_0x5cc0('0x2b')](_0x2e5601),_0xdc50e0=_0x5c0f68[_0x5cc0('0x9')]-_0x5c0f68[_0x5cc0('0x2a')]+0x1;if(_0x5cc0('0x29')==_0x2e5601[_0x5cc0('0x8')])return _0x180f70[_0x5cc0('0x2e')]?{'type':_0x5cc0('0x29'),'content':_0x528878(_0x553e08,_0x5cc0('0x18'),_0x528878(_0x553e08,'ELEMENT_TABLE_ROW_WITH_TEXT',[_0xdc50e0,'\x22'+_0x180f70['join']('\x20')+'\x22']))}:{'type':_0x5cc0('0x29'),'content':_0x528878(_0x553e08,_0x5cc0('0x18'),_0x528878(_0x553e08,_0x5cc0('0x47'),_0xdc50e0))};if(_0x5cc0('0x7c')==_0x2e5601[_0x5cc0('0x8')])return _0x180f70['length']?{'type':_0x5cc0('0x7c'),'content':_0x528878(_0x553e08,_0x5cc0('0x75'),_0x528878(_0x553e08,_0x5cc0('0xd'),[_0xdc50e0,'\x22'+_0x180f70[_0x5cc0('0x7e')]('\x20')+'\x22']))}:{'type':_0x5cc0('0x7c'),'content':_0x528878(_0x553e08,_0x5cc0('0x75'),_0x528878(_0x553e08,_0x5cc0('0x47'),_0xdc50e0))};}if(_0x5cc0('0x5e')==_0x2e5601['subType']){const _0x311d1a=_0x2e5601[_0x5cc0('0x1d')]()[_0x5cc0('0x61')](_0x2f94a1=>_0x2f94a1['is'](_0x5cc0('0x40')))['map'](_0x260f16=>_0x260f16['data']),_0x18f40d=this['_getSuggestionCoords'](_0x2e5601),_0x33908c=_0x18f40d['maxColumn']-_0x18f40d[_0x5cc0('0x21')]+0x1;if(_0x5cc0('0x29')==_0x2e5601[_0x5cc0('0x8')])return _0x311d1a['length']?{'type':_0x5cc0('0x29'),'content':_0x528878(_0x553e08,_0x5cc0('0x18'),_0x528878(_0x553e08,_0x5cc0('0x38'),[_0x33908c,'\x22'+_0x311d1a[_0x5cc0('0x7e')]('\x20')+'\x22']))}:{'type':_0x5cc0('0x29'),'content':_0x528878(_0x553e08,_0x5cc0('0x18'),_0x528878(_0x553e08,_0x5cc0('0x84'),_0x33908c))};if(_0x5cc0('0x7c')==_0x2e5601[_0x5cc0('0x8')])return _0x311d1a[_0x5cc0('0x2e')]?{'type':_0x5cc0('0x7c'),'content':_0x528878(_0x553e08,_0x5cc0('0x75'),_0x528878(_0x553e08,'ELEMENT_TABLE_COLUMN_WITH_TEXT',[_0x33908c,'\x22'+_0x311d1a[_0x5cc0('0x7e')]('\x20')+'\x22']))}:{'type':_0x5cc0('0x7c'),'content':_0x528878(_0x553e08,_0x5cc0('0x75'),_0x528878(_0x553e08,_0x5cc0('0x84'),_0x33908c))};}}),_0x5baea5[_0x5cc0('0x13')][_0x5cc0('0x48')](_0x5cc0('0x29'),'tableRow',_0x5cc0('0x20'),_0xb81d6),_0x5baea5[_0x5cc0('0x13')]['registerCustomCallback'](_0x5cc0('0x7c'),'tableRow','accept',_0xb81d6),_0x5baea5[_0x5cc0('0x13')][_0x5cc0('0x48')](_0x5cc0('0x29'),_0x5cc0('0x5e'),_0x5cc0('0x20'),_0x3ad50d),_0x5baea5[_0x5cc0('0x13')]['registerCustomCallback']('deletion',_0x5cc0('0x5e'),_0x5cc0('0x4b'),_0x3ad50d),_0x5baea5[_0x5cc0('0x13')]['registerCustomCallback'](_0x5cc0('0x29'),'tableColumn',_0x5cc0('0x7e'),_0x18f750),_0x5baea5[_0x5cc0('0x13')][_0x5cc0('0x48')](_0x5cc0('0x7c'),_0x5cc0('0x5e'),_0x5cc0('0x7e'),_0x18f750),_0x5baea5[_0x5cc0('0x13')][_0x5cc0('0x48')]('insertion','tableRow',_0x5cc0('0x7e'),_0x574dba),_0x5baea5[_0x5cc0('0x13')]['registerCustomCallback'](_0x5cc0('0x7c'),_0x5cc0('0x41'),_0x5cc0('0x7e'),_0x574dba);}[_0x5cc0('0x77')](){const _0x224b36=this[_0x5cc0('0x67')],_0x47820d=_0x224b36[_0x5cc0('0x3d')][_0x5cc0('0x26')]['selection'];return(_0x6c00a6,_0xadb59e)=>{_0x224b36['model'][_0x5cc0('0x72')](_0x1e594c=>{const {commandName:_0x338c26,commandParams:_0x591d25}=_0xadb59e;let _0x596326=_0x6c00a6[0x0][_0x5cc0('0x6d')]['nodeBefore'];_0x591d25&&_0x591d25[0x0]&&!0x1===_0x591d25[0x0]['forceValue']&&(_0x596326=_0x6c00a6[0x0]['start'][_0x5cc0('0x50')]);const _0x1e8ea8=_0x1e594c['createRangeIn'](_0x596326);if(_0x5cc0('0x5c')==_0x1e8ea8[_0x5cc0('0x5f')][_0x5cc0('0x3a')])return;const _0x247643=Array[_0x5cc0('0xf')](_0x47820d[_0x5cc0('0x7')]())['map'](_0x423815=>_0x5366cb[_0x5cc0('0x12')](_0x423815));_0x1e594c['setSelection'](_0x1e8ea8),_0x224b36[_0x5cc0('0x0')]['get'](_0x338c26)[_0x5cc0('0x45')](),_0x591d25[_0x5cc0('0x24')]({'forceDefaultExecution':!0x0}),_0x224b36[_0x5cc0('0x7d')](_0x338c26,..._0x591d25);const _0x4b4924=_0x247643['filter'](_0x1151d1=>'$graveyard'!=_0x1151d1[_0x5cc0('0x5f')][_0x5cc0('0x3a')]);_0x4b4924['length']>0x0&&_0x1e594c[_0x5cc0('0x49')](_0x4b4924);for(const _0x246467 of _0x247643)_0x246467[_0x5cc0('0x34')]();});};}[_0x5cc0('0x6c')](_0x2813bb){const _0x5a50a3=this[_0x5cc0('0x67')][_0x5cc0('0x83')][_0x5cc0('0x14')](_0x5cc0('0x4c'));let _0x335ed5=Number[_0x5cc0('0x53')],_0x2d56e8=Number[_0x5cc0('0x22')],_0x1c41d0=Number[_0x5cc0('0x53')],_0x556fd6=Number[_0x5cc0('0x22')];for(const _0x5a1eea of _0x2813bb){if('$graveyard'==_0x5a1eea[_0x5cc0('0x5f')][_0x5cc0('0x3a')])continue;const {row:_0x1a0074,column:_0x56fe9c}=_0x5a50a3['getCellLocation'](_0x5a1eea),_0x24ca1a=_0x5a1eea[_0x5cc0('0x6')](_0x5cc0('0x7b'))?_0x5a1eea[_0x5cc0('0x27')](_0x5cc0('0x7b'))-0x1:0x0,_0x1e176c=_0x5a1eea[_0x5cc0('0x6')](_0x5cc0('0x3b'))?_0x5a1eea[_0x5cc0('0x27')](_0x5cc0('0x3b'))-0x1:0x0;_0x335ed5=_0x1a0074<_0x335ed5?_0x1a0074:_0x335ed5,_0x2d56e8=_0x1a0074+_0x24ca1a>_0x2d56e8?_0x1a0074+_0x24ca1a:_0x2d56e8,_0x1c41d0=_0x56fe9c<_0x1c41d0?_0x56fe9c:_0x1c41d0,_0x556fd6=_0x56fe9c+_0x1e176c>_0x556fd6?_0x56fe9c+_0x1e176c:_0x556fd6;}return{'minRow':_0x335ed5,'maxRow':_0x2d56e8,'minColumn':_0x1c41d0,'maxColumn':_0x556fd6};}[_0x5cc0('0x63')](){const _0x1f71df=this['editor'],_0x4625f1=_0x1f71df['plugins'][_0x5cc0('0x14')](_0x5cc0('0x59')),_0x57c9b2=_0x1f71df[_0x5cc0('0x83')][_0x5cc0('0x14')]('TableUtils');_0x1f71df['model'][_0x5cc0('0x26')]['on'](_0x5cc0('0x1c'),()=>{const _0x1c0b5a=Array['from'](_0x1f71df['model']['document']['differ'][_0x5cc0('0x3e')]());for(const {name:_0x3fc7cc,data:_0x44decf}of _0x1c0b5a){const {group:_0xb71735,id:_0x1dfd26,subType:_0x5850ae}=_0x4625f1[_0x5cc0('0x1b')](_0x3fc7cc);if(_0x5cc0('0x55')!=_0xb71735)continue;if(null!=_0x44decf[_0x5cc0('0x10')])continue;const _0x5f135a=_0x4625f1[_0x5cc0('0x64')](_0x1dfd26);this[_0x5cc0('0x79')][_0x5cc0('0xc')](_0x5850ae)&&this[_0x5cc0('0x4')][_0x5cc0('0x6a')](_0x5f135a);}},{'priority':'low'});const _0x128267=(_0x13154b,_0x54cd4c)=>{let _0x3102bd=!0x1;const _0xe1552a=_0x54cd4c[_0x5cc0('0xe')](_0x13154b),_0x4b9471=_0x13154b[_0x5cc0('0x37')](_0x5cc0('0x44')),_0x34efde=_0x57c9b2['getCellLocation'](_0x13154b);for(const _0x24991b of this['_tableSuggestions']){const _0x193c7d=_0x24991b[_0x5cc0('0x86')],_0x4b48ac=_0x193c7d['startsWith']('tablePaste'),_0x3a8ede=_0x193c7d[_0x5cc0('0x16')](_0x4b48ac?0xa:0x5),_0x16b25e=_0x3a8ede[_0x5cc0('0x4a')](),_0x35a397=_0x16b25e['substr'](0x0,0x3)+'span',_0x343d86='min'+_0x3a8ede,_0x2c014e=_0x5cc0('0x70')+_0x3a8ede;if(!_0x24991b[_0x5cc0('0x58')])continue;if(_0x4b9471!=_0x24991b[_0x5cc0('0x66')]()[_0x5cc0('0x39')]['findAncestor'](_0x5cc0('0x44')))continue;if(_0x24991b[_0x5cc0('0x65')](_0xe1552a))continue;const _0x5bfb19=_0x13154b[_0x5cc0('0x6')](_0x35a397)?_0x13154b[_0x5cc0('0x27')](_0x35a397)-0x1:0x0,_0x35a2cb=this[_0x5cc0('0x2b')](_0x24991b),_0x3ae0b5=_0x35a2cb[_0x343d86],_0x45d824=_0x35a2cb[_0x2c014e];_0x3ae0b5<=_0x34efde[_0x16b25e]&&_0x34efde[_0x16b25e]+_0x5bfb19<=_0x45d824&&(_0x24991b[_0x5cc0('0x31')](_0xe1552a),_0x3102bd=!0x0);}return _0x3102bd;};_0x1f71df['model'][_0x5cc0('0x26')][_0x5cc0('0x5')](_0x9cf32a=>{let _0x3e59c4=!0x1;for(const _0x461745 of _0x1f71df[_0x5cc0('0x3d')]['document'][_0x5cc0('0x6b')][_0x5cc0('0x3f')]())if(_0x5cc0('0x4d')==_0x461745[_0x5cc0('0x8')]){if(_0x5cc0('0x41')==_0x461745[_0x5cc0('0x62')])for(const _0x4e203a of _0x461745[_0x5cc0('0x85')]['nodeAfter'][_0x5cc0('0x5a')]())_0x3e59c4=_0x3e59c4||_0x128267(_0x4e203a,_0x9cf32a);else _0x5cc0('0x80')==_0x461745[_0x5cc0('0x62')]&&(_0x3e59c4=_0x3e59c4||_0x128267(_0x461745[_0x5cc0('0x85')][_0x5cc0('0x50')],_0x9cf32a));}return _0x3e59c4;});}[_0x5cc0('0x2b')](_0x3ca9d7){return this[_0x5cc0('0x6c')](_0x3ca9d7[_0x5cc0('0x7')]()[_0x5cc0('0x7f')](_0x4830f9=>_0x4830f9['start']['nodeAfter']));}}function se(_0x16bdf7){return Array[_0x5cc0('0xf')](new Set(_0x16bdf7)[_0x5cc0('0x42')]());}
23
+ const _0x3674=['getContainedElement','registerPostFixer','filter','detach','maxRow','some','markMultiRangeInsertion','isArray','removeClass','isEqual','getItems','change','addRange','end','tableCell','getCellLocation','push','_tablePostFixingSubtypes','isTouching','first','minColumn','highest','markMultiRangeDeletion','batch','tablePaste','$textProxy','hasAttribute','createRangeOn','selection','element','from','options','getSuggestion','ELEMENT_TABLE_WITH_TEXT','last','discard','ELEMENT_TABLE_ROW_WITH_TEXT','position','MIN_SAFE_INTEGER','insertTableColumnRight','start','document','nodeBefore','enqueueChange','item','tableRow','getSelectionAffectedTableCells','accept','cell','toLowerCase','createTableWalker','insertTableRowBelow','subType','getRanges','rootName','createRangeIn','isIntersectingWithRange','_descriptionFactory','downcastDispatcher','*Insert:*\x20%0','change:data','above','insertTable','editor','locale','findAncestor','fromRange','name','insertion','forceValue','getChanges','*Remove:*\x20%0','map','enableCommand','ELEMENT_TABLE_ROW','getColumnIndexes','selectTableColumn','insertTableRowAbove','root','addClass','$graveyard','includes','substr','TableUtils','_suggestionFactory','_tableSuggestions','refresh','min','deletion','classes','tableColumn','table','colspan','_getCoordsForCells','ELEMENT_TABLE_COLUMN_WITH_TEXT','setSelection','commands','values','getFirstRange','ELEMENT_TABLE','nodeAfter','oldRange','model','getChangedMarkers','low','_setupColumnsRowsFixing','span','left','type','MAX_SAFE_INTEGER','get','join','registerCustomCallback','rowspan','TableEditing','_getSuggestionCoords','insertTableColumnLeft','add','data','_splitMarkerName','insert','differ','ELEMENT_TABLE_COLUMN','TrackChangesEditing','length','mapper','execute','plugins','removeTableRow','order','getAttribute','registerDescriptionCallback','getRowIndexes','minRow','removeTableColumn','max','writer'];(function(_0x3dcd19,_0x367488){const _0x23de90=function(_0x552ed1){while(--_0x552ed1){_0x3dcd19['push'](_0x3dcd19['shift']());}};_0x23de90(++_0x367488);}(_0x3674,0x167));const _0x23de=function(_0x3dcd19,_0x367488){_0x3dcd19=_0x3dcd19-0x0;let _0x23de90=_0x3674[_0x3dcd19];return _0x23de90;};import{Plugin as _0x539bec}from'ckeditor5/src/core';import{LiveRange as _0xab8c01}from'ckeditor5/src/engine';import{setHighlightHandling as _0x169e26}from'ckeditor5/src/widget';import{getTranslation as _0x3c6b5d}from'../utils/common-translations';export default class mt extends _0x539bec{constructor(_0x1040b1){super(_0x1040b1),this[_0x23de('0x45')]=[_0x23de('0x61'),_0x23de('0x5')],this[_0x23de('0x0')]=new Set();}['afterInit'](){const _0x3e21e7=this['editor'],_0x5d9430=_0x3e21e7['model'][_0x23de('0x5d')]['selection'];if(!_0x3e21e7[_0x23de('0x2a')]['has'](_0x23de('0x1d')))return;const _0x3966b7=_0x3e21e7[_0x23de('0x74')],_0x1c5bc2=_0x3e21e7[_0x23de('0x2a')][_0x23de('0x19')](_0x23de('0x26')),_0x219fb3=_0x3e21e7[_0x23de('0x2a')][_0x23de('0x19')]('TableUtils');_0x1c5bc2[_0x23de('0x6d')]['registerElementLabel'](_0x23de('0x6'),_0x12a85c=>_0x3c6b5d(_0x3966b7,_0x23de('0xe'),_0x12a85c)),this[_0x23de('0x14')](),_0x1c5bc2[_0x23de('0x7d')](_0x23de('0x72')),_0x1c5bc2[_0x23de('0x7d')]('selectTableRow'),_0x1c5bc2[_0x23de('0x7d')](_0x23de('0x80'));for(const _0x175ab5 of[_0x23de('0x81'),_0x23de('0x67')]){const _0x1be80f=_0x3e21e7[_0x23de('0xb')][_0x23de('0x19')](_0x175ab5);_0x1c5bc2[_0x23de('0x7d')](_0x175ab5,_0x45f068=>{_0x3e21e7['model']['change'](_0x5b9ff6=>{_0x45f068();const _0x5b994e=_0x23de('0x71')===_0x1be80f[_0x23de('0x2c')],_0x40d120=_0x219fb3[_0x23de('0x62')](_0x5d9430),_0x5d36e0=_0x219fb3['getRowIndexes'](_0x40d120),_0x3e5156=_0x5b994e?_0x5d36e0[_0x23de('0x47')]-0x1:_0x5d36e0[_0x23de('0x56')]+0x1,_0x18f265=_0x40d120[0x0][_0x23de('0x75')](_0x23de('0x6')),_0x421ab2=_0x219fb3['createTableWalker'](_0x18f265,{'startRow':_0x3e5156,'endRow':_0x3e5156}),_0x4d7780=Array[_0x23de('0x52')](_0x421ab2)[_0x23de('0x7c')](_0xf68860=>_0x5b9ff6[_0x23de('0x4f')](_0xf68860[_0x23de('0x64')]));_0x1c5bc2[_0x23de('0x3a')](_0x4d7780,_0x23de('0x61'));});});}for(const _0x1c94f4 of[_0x23de('0x1f'),_0x23de('0x5b')]){const _0x24be04=_0x3e21e7[_0x23de('0xb')][_0x23de('0x19')](_0x1c94f4);_0x1c5bc2[_0x23de('0x7d')](_0x1c94f4,_0x577422=>{_0x3e21e7[_0x23de('0x11')][_0x23de('0x3f')](_0x55fe2b=>{_0x577422();const _0x2c4441=_0x23de('0x16')===_0x24be04[_0x23de('0x2c')],_0x31bf5f=_0x219fb3['getSelectionAffectedTableCells'](_0x5d9430),_0x3d8a85=_0x219fb3['getColumnIndexes'](_0x31bf5f),_0x4f4087=_0x2c4441?_0x3d8a85[_0x23de('0x47')]-0x1:_0x3d8a85['last']+0x1,_0x42f2af=_0x31bf5f[0x0][_0x23de('0x75')](_0x23de('0x6')),_0x2001fd=_0x219fb3[_0x23de('0x66')](_0x42f2af,{'startRow':0x0,'column':_0x4f4087,'includeAllSlots':!0x1}),_0x55c406=Array[_0x23de('0x52')](_0x2001fd)[_0x23de('0x7c')](_0x35be34=>_0x55fe2b[_0x23de('0x4f')](_0x35be34[_0x23de('0x64')]));_0x1c5bc2[_0x23de('0x3a')](_0x55c406,'tableColumn');});});}for(const _0x2d3dd0 of['removeTableRow','removeTableColumn']){const _0x3380ae=_0x2d3dd0[_0x23de('0x86')](0xb),_0x32653b=_0x3380ae['toLowerCase'](),_0x3c1215=_0x32653b[_0x23de('0x86')](0x0,0x3)+_0x23de('0x15'),_0x297e4f='table'+_0x3380ae,_0x5bcb3a=_0x23de('0x2')+_0x3380ae,_0x49f37e=_0x23de('0x32')+_0x3380ae;_0x1c5bc2[_0x23de('0x7d')](_0x2d3dd0,()=>{_0x3e21e7['model'][_0x23de('0x3f')](_0x50fe5d=>{const _0x548349=_0x219fb3[_0x23de('0x62')](_0x5d9430),_0x55e82c=_0x548349[0x0][_0x23de('0x75')](_0x23de('0x6'));let _0x3ac893;if(_0x23de('0x2b')==_0x2d3dd0){const _0x8e5ad6=_0x219fb3[_0x23de('0x2f')](_0x548349);_0x3ac893={'startRow':_0x8e5ad6[_0x23de('0x47')],'endRow':_0x8e5ad6[_0x23de('0x56')],'includeAllSlots':!0x0};}else{const _0x193f0d=_0x219fb3[_0x23de('0x7f')](_0x548349);_0x3ac893={'startColumn':_0x193f0d[_0x23de('0x47')],'endColumn':_0x193f0d[_0x23de('0x56')],'includeAllSlots':!0x0};}const _0x3824ab=_0x219fb3['createTableWalker'](_0x55e82c,_0x3ac893),_0x16018a=Array[_0x23de('0x52')](_0x3824ab)['map'](({cell:_0x98ded1})=>_0x98ded1),_0x2b0d36=se(_0x16018a['filter'](_0xc561c6=>_0xc561c6['hasAttribute'](_0x3c1215))),_0x32689c=se(_0x16018a['filter'](_0x47c745=>!_0x47c745[_0x23de('0x4e')](_0x3c1215)))['map'](_0x18a997=>_0x50fe5d[_0x23de('0x4f')](_0x18a997)),_0x4d8082=_0x1c5bc2[_0x23de('0x4a')](_0x32689c,_0x297e4f);if(_0x4d8082&&(_0x23de('0x61')==_0x4d8082['subType']||'tableColumn'==_0x4d8082[_0x23de('0x68')])){const _0x257002=this['_getSuggestionCoords'](_0x4d8082);for(const _0x11adad of _0x2b0d36){const _0x2c4dc3=_0x50fe5d[_0x23de('0x4f')](_0x11adad),_0x1b3f97=_0x219fb3[_0x23de('0x43')](_0x11adad),_0x5c3db6=_0x11adad['getAttribute'](_0x3c1215)-0x1,_0x578dd2=_0x257002[_0x5bcb3a],_0x485cf3=_0x257002[_0x49f37e];_0x578dd2<=_0x1b3f97[_0x32653b]&&_0x1b3f97[_0x32653b]+_0x5c3db6<=_0x485cf3&&_0x4d8082[_0x23de('0x40')](_0x2c4dc3);}}});});}function _0x42ebce(_0x21925d){const _0x224292=Array[_0x23de('0x52')](_0x5d9430[_0x23de('0x69')]())[_0x23de('0x7c')](_0x5a0de7=>_0xab8c01['fromRange'](_0x5a0de7));_0x3e21e7[_0x23de('0x11')]['change'](_0x1887d3=>{const _0x5e8127=_0x1887d3[_0x23de('0x4b')];_0x21925d=_0x21925d[_0x23de('0x36')](_0x3fbc80=>_0x23de('0x84')!=_0x3fbc80[_0x23de('0x82')]['rootName']),_0x1887d3[_0x23de('0xa')](_0x21925d),_0x3e21e7[_0x23de('0xb')][_0x23de('0x19')]('removeTableRow')[_0x23de('0x1')](),_0x3e21e7[_0x23de('0x29')](_0x23de('0x2b'),{'forceDefaultExecution':!0x0}),_0x3e21e7['model']['enqueueChange'](()=>{_0x3e21e7['model'][_0x23de('0x5f')](_0x5e8127,_0x260b84=>{const _0x35a882=_0x224292['filter'](_0x52e950=>_0x23de('0x84')!=_0x52e950[_0x23de('0x82')]['rootName']);_0x35a882[_0x23de('0x27')]>0x0&&_0x260b84[_0x23de('0xa')](_0x35a882);for(const _0x306c8d of _0x224292)_0x306c8d[_0x23de('0x37')]();});});});}function _0x59fdf3(_0x14919a){_0x3e21e7[_0x23de('0x11')]['change'](_0x5cf210=>{const _0x344250=Array['from'](_0x5d9430[_0x23de('0x69')]())['map'](_0x3fa9da=>_0xab8c01[_0x23de('0x76')](_0x3fa9da)),_0x170ff2=[];for(const _0x343ece of _0x14919a)for(const _0x1ecebe of _0x343ece[_0x23de('0x3e')]({'shallow':!0x0}))_0x170ff2[_0x23de('0x44')](_0x1ecebe);for(const _0x406980 of _0x170ff2)_0x23de('0x84')!=_0x406980[_0x23de('0x82')]['rootName']&&(_0x5cf210['setSelection'](_0x5cf210['createPositionAt'](_0x406980,0x0)),_0x3e21e7[_0x23de('0xb')]['get'](_0x23de('0x31'))['refresh'](),_0x3e21e7[_0x23de('0x29')](_0x23de('0x31'),{'forceDefaultExecution':!0x0}));const _0x228dbc=_0x344250[_0x23de('0x36')](_0x1b5293=>'$graveyard'!=_0x1b5293['root'][_0x23de('0x6a')]);_0x228dbc[_0x23de('0x27')]>0x0&&_0x5cf210[_0x23de('0xa')](_0x228dbc);for(const _0x3c3b08 of _0x344250)_0x3c3b08['detach']();});}function _0x507df0(_0x2450e8,_0x338b0f){return _0x338b0f['every'](_0x155e4a=>_0x2450e8['some'](_0xc3bd72=>_0xc3bd72[_0x23de('0x41')][_0x23de('0x3d')](_0x155e4a[_0x23de('0x5c')])||_0x155e4a['end']['isEqual'](_0xc3bd72[_0x23de('0x5c')])));}function _0x2d45cb(_0x5aac16,_0x3c7ced){return _0x5aac16[_0x23de('0x39')](_0x4c1115=>_0x3c7ced[_0x23de('0x39')](_0x2b7e1b=>_0x4c1115[_0x23de('0x41')][_0x23de('0x46')](_0x2b7e1b[_0x23de('0x5c')])));}_0x3e21e7['data'][_0x23de('0x6e')]['on']('addMarker:suggestion',(_0x3b10fd,_0x5c33ba,_0x137ee0)=>{if(!_0x137ee0[_0x23de('0x53')]['showSuggestionHighlights'])return;const _0xbf792a=_0x5c33ba[_0x23de('0x60')];if(!_0xbf792a)return;const _0x476835=_0x137ee0[_0x23de('0x28')]['toViewElement'](_0xbf792a);function _0x6c2a44(_0x283648){return Array[_0x23de('0x3b')](_0x283648)?_0x283648:[_0x283648];}_0x476835&&_0x23de('0x42')===_0xbf792a[_0x23de('0x77')]&&_0x169e26(_0x476835,_0x137ee0[_0x23de('0x33')],(_0x1f812b,_0x5d1e1e,_0x5b8522)=>_0x5b8522[_0x23de('0x83')](_0x6c2a44(_0x5d1e1e['classes']),_0x1f812b),(_0x2ca5f5,_0x3b860f,_0x5b121c)=>_0x5b121c[_0x23de('0x3c')](_0x6c2a44(_0x3b860f[_0x23de('0x4')]),_0x2ca5f5));},{'priority':_0x23de('0x49')}),_0x1c5bc2[_0x23de('0x6d')][_0x23de('0x2e')](_0x243823=>{if(_0x23de('0x78')!=_0x243823[_0x23de('0x17')]&&'deletion'!=_0x243823['type'])return;const _0x4bd369=_0x243823[_0x23de('0x34')]();if(null!=_0x4bd369&&_0x4bd369['is'](_0x23de('0x51'),_0x23de('0x6'))){if(_0x23de('0x78')==_0x243823[_0x23de('0x17')]){const _0x2cd44b=_0x243823[_0x23de('0x3e')]()[_0x23de('0x36')](_0x4a3742=>_0x4a3742['is'](_0x23de('0x4d')))[_0x23de('0x7c')](_0x5bb49c=>_0x5bb49c[_0x23de('0x21')]);if(_0x2cd44b[_0x23de('0x27')])return{'type':_0x23de('0x78'),'content':_0x3c6b5d(_0x3966b7,_0x23de('0x6f'),_0x3c6b5d(_0x3966b7,_0x23de('0x55'),'\x22'+_0x2cd44b[_0x23de('0x1a')]('\x20')+'\x22'))};}if('deletion'==_0x243823[_0x23de('0x17')]){const _0x42de36=_0x243823['getItems']()[_0x23de('0x36')](_0x1a5365=>_0x1a5365['is']('$textProxy'))[_0x23de('0x7c')](_0x2607ce=>_0x2607ce[_0x23de('0x21')]);if(_0x42de36[_0x23de('0x27')])return{'type':_0x23de('0x3'),'content':_0x3c6b5d(_0x3966b7,_0x23de('0x7b'),_0x3c6b5d(_0x3966b7,_0x23de('0x55'),'\x22'+_0x42de36['join']('\x20')+'\x22'))};}}}),_0x1c5bc2[_0x23de('0x6d')]['registerDescriptionCallback'](_0x3532dc=>{if('tableRow'==_0x3532dc['subType']){const _0x5582e1=_0x3532dc['getItems']()[_0x23de('0x36')](_0x548d22=>_0x548d22['is'](_0x23de('0x4d')))[_0x23de('0x7c')](_0x3efc9a=>_0x3efc9a[_0x23de('0x21')]),_0x5318b0=this[_0x23de('0x1e')](_0x3532dc),_0x49ea4a=_0x5318b0[_0x23de('0x38')]-_0x5318b0[_0x23de('0x30')]+0x1;if(_0x23de('0x78')==_0x3532dc[_0x23de('0x17')])return _0x5582e1[_0x23de('0x27')]?{'type':_0x23de('0x78'),'content':_0x3c6b5d(_0x3966b7,'*Insert:*\x20%0',_0x3c6b5d(_0x3966b7,_0x23de('0x58'),[_0x49ea4a,'\x22'+_0x5582e1['join']('\x20')+'\x22']))}:{'type':_0x23de('0x78'),'content':_0x3c6b5d(_0x3966b7,_0x23de('0x6f'),_0x3c6b5d(_0x3966b7,'ELEMENT_TABLE_ROW',_0x49ea4a))};if('deletion'==_0x3532dc[_0x23de('0x17')])return _0x5582e1[_0x23de('0x27')]?{'type':_0x23de('0x3'),'content':_0x3c6b5d(_0x3966b7,_0x23de('0x7b'),_0x3c6b5d(_0x3966b7,_0x23de('0x58'),[_0x49ea4a,'\x22'+_0x5582e1[_0x23de('0x1a')]('\x20')+'\x22']))}:{'type':_0x23de('0x3'),'content':_0x3c6b5d(_0x3966b7,_0x23de('0x7b'),_0x3c6b5d(_0x3966b7,_0x23de('0x7e'),_0x49ea4a))};}if(_0x23de('0x5')==_0x3532dc['subType']){const _0x10bb6a=_0x3532dc[_0x23de('0x3e')]()[_0x23de('0x36')](_0x3a1319=>_0x3a1319['is']('$textProxy'))[_0x23de('0x7c')](_0x21b14c=>_0x21b14c[_0x23de('0x21')]),_0x1aea33=this[_0x23de('0x1e')](_0x3532dc),_0x174f1d=_0x1aea33['maxColumn']-_0x1aea33[_0x23de('0x48')]+0x1;if('insertion'==_0x3532dc[_0x23de('0x17')])return _0x10bb6a[_0x23de('0x27')]?{'type':'insertion','content':_0x3c6b5d(_0x3966b7,_0x23de('0x6f'),_0x3c6b5d(_0x3966b7,_0x23de('0x9'),[_0x174f1d,'\x22'+_0x10bb6a[_0x23de('0x1a')]('\x20')+'\x22']))}:{'type':'insertion','content':_0x3c6b5d(_0x3966b7,_0x23de('0x6f'),_0x3c6b5d(_0x3966b7,_0x23de('0x25'),_0x174f1d))};if(_0x23de('0x3')==_0x3532dc['type'])return _0x10bb6a[_0x23de('0x27')]?{'type':_0x23de('0x3'),'content':_0x3c6b5d(_0x3966b7,'*Remove:*\x20%0',_0x3c6b5d(_0x3966b7,_0x23de('0x9'),[_0x174f1d,'\x22'+_0x10bb6a[_0x23de('0x1a')]('\x20')+'\x22']))}:{'type':_0x23de('0x3'),'content':_0x3c6b5d(_0x3966b7,'*Remove:*\x20%0',_0x3c6b5d(_0x3966b7,_0x23de('0x25'),_0x174f1d))};}}),_0x1c5bc2[_0x23de('0x88')][_0x23de('0x1b')](_0x23de('0x78'),_0x23de('0x61'),_0x23de('0x57'),_0x42ebce),_0x1c5bc2[_0x23de('0x88')]['registerCustomCallback'](_0x23de('0x3'),'tableRow',_0x23de('0x63'),_0x42ebce),_0x1c5bc2['_suggestionFactory'][_0x23de('0x1b')](_0x23de('0x78'),_0x23de('0x5'),_0x23de('0x57'),_0x59fdf3),_0x1c5bc2[_0x23de('0x88')][_0x23de('0x1b')](_0x23de('0x3'),_0x23de('0x5'),_0x23de('0x63'),_0x59fdf3),_0x1c5bc2[_0x23de('0x88')][_0x23de('0x1b')](_0x23de('0x78'),_0x23de('0x5'),_0x23de('0x1a'),_0x507df0),_0x1c5bc2[_0x23de('0x88')][_0x23de('0x1b')]('deletion',_0x23de('0x5'),'join',_0x507df0),_0x1c5bc2[_0x23de('0x88')]['registerCustomCallback'](_0x23de('0x78'),_0x23de('0x61'),_0x23de('0x1a'),_0x2d45cb),_0x1c5bc2[_0x23de('0x88')][_0x23de('0x1b')](_0x23de('0x3'),_0x23de('0x61'),_0x23de('0x1a'),_0x2d45cb);}['_acceptFormatSuggestionCallbackFactory'](){const _0xdbcaeb=this[_0x23de('0x73')],_0x4f3f48=_0xdbcaeb['model']['document'][_0x23de('0x50')];return(_0xdcbb66,_0x296a3b)=>{_0xdbcaeb[_0x23de('0x11')][_0x23de('0x3f')](_0x4c7eba=>{const {commandName:_0x461e26,commandParams:_0x540120}=_0x296a3b;let _0x1df222=_0xdcbb66[0x0][_0x23de('0x41')][_0x23de('0x5e')];_0x540120&&_0x540120[0x0]&&!0x1===_0x540120[0x0][_0x23de('0x79')]&&(_0x1df222=_0xdcbb66[0x0]['start']['nodeAfter']);const _0x57f936=_0x4c7eba[_0x23de('0x6b')](_0x1df222);if(_0x23de('0x84')==_0x57f936[_0x23de('0x82')]['rootName'])return;const _0x48674c=Array[_0x23de('0x52')](_0x4f3f48[_0x23de('0x69')]())[_0x23de('0x7c')](_0x28eb30=>_0xab8c01['fromRange'](_0x28eb30));_0x4c7eba[_0x23de('0xa')](_0x57f936),_0xdbcaeb['commands'][_0x23de('0x19')](_0x461e26)[_0x23de('0x1')](),_0x540120[_0x23de('0x44')]({'forceDefaultExecution':!0x0}),_0xdbcaeb[_0x23de('0x29')](_0x461e26,..._0x540120);const _0x5192d4=_0x48674c[_0x23de('0x36')](_0x23a09b=>_0x23de('0x84')!=_0x23a09b[_0x23de('0x82')][_0x23de('0x6a')]);_0x5192d4[_0x23de('0x27')]>0x0&&_0x4c7eba[_0x23de('0xa')](_0x5192d4);for(const _0x55b61d of _0x48674c)_0x55b61d[_0x23de('0x37')]();});};}[_0x23de('0x8')](_0x584475){const _0x28c56a=this[_0x23de('0x73')][_0x23de('0x2a')][_0x23de('0x19')](_0x23de('0x87'));let _0x5b2fe2=Number['MAX_SAFE_INTEGER'],_0x433d55=Number['MIN_SAFE_INTEGER'],_0x2bfff3=Number[_0x23de('0x18')],_0x265e18=Number[_0x23de('0x5a')];for(const _0x13250c of _0x584475){if(_0x23de('0x84')==_0x13250c['root'][_0x23de('0x6a')])continue;const {row:_0x999de7,column:_0x2087ee}=_0x28c56a['getCellLocation'](_0x13250c),_0x479c64=_0x13250c[_0x23de('0x4e')]('rowspan')?_0x13250c[_0x23de('0x2d')](_0x23de('0x1c'))-0x1:0x0,_0x3f2588=_0x13250c['hasAttribute']('colspan')?_0x13250c[_0x23de('0x2d')](_0x23de('0x7'))-0x1:0x0;_0x5b2fe2=_0x999de7<_0x5b2fe2?_0x999de7:_0x5b2fe2,_0x433d55=_0x999de7+_0x479c64>_0x433d55?_0x999de7+_0x479c64:_0x433d55,_0x2bfff3=_0x2087ee<_0x2bfff3?_0x2087ee:_0x2bfff3,_0x265e18=_0x2087ee+_0x3f2588>_0x265e18?_0x2087ee+_0x3f2588:_0x265e18;}return{'minRow':_0x5b2fe2,'maxRow':_0x433d55,'minColumn':_0x2bfff3,'maxColumn':_0x265e18};}[_0x23de('0x14')](){const _0x59fce6=this[_0x23de('0x73')],_0x3bd60d=_0x59fce6[_0x23de('0x2a')]['get'](_0x23de('0x26')),_0x290c7f=_0x59fce6[_0x23de('0x2a')][_0x23de('0x19')]('TableUtils');_0x59fce6[_0x23de('0x11')][_0x23de('0x5d')]['on'](_0x23de('0x70'),()=>{const _0x47af3a=Array[_0x23de('0x52')](_0x59fce6['model'][_0x23de('0x5d')][_0x23de('0x24')][_0x23de('0x12')]());for(const {name:_0x50e472,data:_0x52ff05}of _0x47af3a){const {group:_0x17041a,id:_0x4b4fba,subType:_0x5a33c9}=_0x3bd60d[_0x23de('0x22')](_0x50e472);if('suggestion'!=_0x17041a)continue;if(null!=_0x52ff05[_0x23de('0x10')])continue;const _0x1ed512=_0x3bd60d[_0x23de('0x54')](_0x4b4fba);this['_tablePostFixingSubtypes'][_0x23de('0x85')](_0x5a33c9)&&this[_0x23de('0x0')][_0x23de('0x20')](_0x1ed512);}},{'priority':_0x23de('0x13')});const _0x57f7fc=(_0x5acfbd,_0x1c8dcf)=>{let _0x334701=!0x1;const _0x276da2=_0x1c8dcf[_0x23de('0x4f')](_0x5acfbd),_0x2a2282=_0x5acfbd[_0x23de('0x75')](_0x23de('0x6')),_0x38bd87=_0x290c7f[_0x23de('0x43')](_0x5acfbd);for(const _0x7c80a of this[_0x23de('0x0')]){const _0x6eaaab=_0x7c80a[_0x23de('0x68')],_0x3d2a0e=_0x6eaaab['startsWith'](_0x23de('0x4c')),_0x11f1c3=_0x6eaaab[_0x23de('0x86')](_0x3d2a0e?0xa:0x5),_0xe84cc0=_0x11f1c3[_0x23de('0x65')](),_0x5d71fe=_0xe84cc0['substr'](0x0,0x3)+_0x23de('0x15'),_0x8f2bd2=_0x23de('0x2')+_0x11f1c3,_0x10c339=_0x23de('0x32')+_0x11f1c3;if(!_0x7c80a['isInContent'])continue;if(_0x2a2282!=_0x7c80a[_0x23de('0xd')]()[_0x23de('0x5c')][_0x23de('0x75')](_0x23de('0x6')))continue;if(_0x7c80a[_0x23de('0x6c')](_0x276da2))continue;const _0x2ed9f1=_0x5acfbd[_0x23de('0x4e')](_0x5d71fe)?_0x5acfbd[_0x23de('0x2d')](_0x5d71fe)-0x1:0x0,_0x5ca9ce=this[_0x23de('0x1e')](_0x7c80a),_0x4e7360=_0x5ca9ce[_0x8f2bd2],_0x3f1b4a=_0x5ca9ce[_0x10c339];_0x4e7360<=_0x38bd87[_0xe84cc0]&&_0x38bd87[_0xe84cc0]+_0x2ed9f1<=_0x3f1b4a&&(_0x7c80a[_0x23de('0x40')](_0x276da2),_0x334701=!0x0);}return _0x334701;};_0x59fce6[_0x23de('0x11')][_0x23de('0x5d')][_0x23de('0x35')](_0x5c0a81=>{let _0x9bba10=!0x1;for(const _0x5b23b8 of _0x59fce6[_0x23de('0x11')]['document'][_0x23de('0x24')][_0x23de('0x7a')]())if(_0x23de('0x23')==_0x5b23b8[_0x23de('0x17')]){if(_0x23de('0x61')==_0x5b23b8[_0x23de('0x77')])for(const _0x545cee of _0x5b23b8[_0x23de('0x59')][_0x23de('0xf')]['getChildren']())_0x9bba10=_0x9bba10||_0x57f7fc(_0x545cee,_0x5c0a81);else _0x23de('0x42')==_0x5b23b8['name']&&(_0x9bba10=_0x9bba10||_0x57f7fc(_0x5b23b8[_0x23de('0x59')]['nodeAfter'],_0x5c0a81));}return _0x9bba10;});}[_0x23de('0x1e')](_0x1858ab){return this['_getCoordsForCells'](_0x1858ab[_0x23de('0x69')]()[_0x23de('0x7c')](_0x91ef84=>_0x91ef84[_0x23de('0x5c')]['nodeAfter']));}}function se(_0x3ffbe9){return Array[_0x23de('0x52')](new Set(_0x3ffbe9)[_0x23de('0xc')]());}
@@ -1,7 +1,8 @@
1
1
  /**
2
2
  * @module track-changes/integrations/tablecaption
3
3
  */
4
- import { Plugin, type PluginDependencies } from 'ckeditor5/src/core';
4
+ import { Plugin } from 'ckeditor5/src/core';
5
+ import TrackChangesTable from './table';
5
6
  /**
6
7
  * Provides track changes plugin integration for {@link module:table/table~Table table feature} caption.
7
8
  */
@@ -9,7 +10,7 @@ export default class TrackChangesTableCaption extends Plugin {
9
10
  /**
10
11
  * @inheritDoc
11
12
  */
12
- static get requires(): PluginDependencies;
13
+ static get requires(): readonly [typeof TrackChangesTable];
13
14
  /**
14
15
  * @inheritDoc
15
16
  */