@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20231029.0 → 0.0.0-nightly-20231031.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 (65) hide show
  1. package/build/track-changes.js +1 -1
  2. package/package.json +3 -3
  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/aiassistant.js +1 -1
  9. package/src/integrations/alignment.js +1 -1
  10. package/src/integrations/basicstyles.js +1 -1
  11. package/src/integrations/blockquote.js +1 -1
  12. package/src/integrations/ckbox.js +1 -1
  13. package/src/integrations/codeblock.js +1 -1
  14. package/src/integrations/comments.js +1 -1
  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.js +1 -1
  19. package/src/integrations/findandreplace.js +1 -1
  20. package/src/integrations/font.js +1 -1
  21. package/src/integrations/formatpainter.js +1 -1
  22. package/src/integrations/heading.js +1 -1
  23. package/src/integrations/highlight.js +1 -1
  24. package/src/integrations/horizontalline.js +1 -1
  25. package/src/integrations/htmlembed.js +1 -1
  26. package/src/integrations/image.js +1 -1
  27. package/src/integrations/imagereplace.js +1 -1
  28. package/src/integrations/importword.js +1 -1
  29. package/src/integrations/indent.js +1 -1
  30. package/src/integrations/inputcommand.js +1 -1
  31. package/src/integrations/link.js +1 -1
  32. package/src/integrations/list.js +1 -1
  33. package/src/integrations/listproperties.js +1 -1
  34. package/src/integrations/mediaembed.js +1 -1
  35. package/src/integrations/mention.js +1 -1
  36. package/src/integrations/pagebreak.js +1 -1
  37. package/src/integrations/paragraph.js +1 -1
  38. package/src/integrations/removeformat.js +1 -1
  39. package/src/integrations/restrictededitingmode.js +1 -1
  40. package/src/integrations/shiftentercommand.js +1 -1
  41. package/src/integrations/standardeditingmode.js +1 -1
  42. package/src/integrations/style.js +1 -1
  43. package/src/integrations/table.js +1 -1
  44. package/src/integrations/tablecaption.js +1 -1
  45. package/src/integrations/tableclipboard.js +1 -1
  46. package/src/integrations/tablecolumnresize.js +1 -1
  47. package/src/integrations/tableheadings.js +1 -1
  48. package/src/integrations/tablemergesplit.js +1 -1
  49. package/src/integrations/tableofcontents.js +1 -1
  50. package/src/integrations/tableproperties.js +1 -1
  51. package/src/integrations/template.js +1 -1
  52. package/src/integrations/title.js +1 -1
  53. package/src/integrations/undo.js +1 -1
  54. package/src/integrations/utils.js +1 -1
  55. package/src/suggestion.js +1 -1
  56. package/src/suggestiondescriptionfactory.js +1 -1
  57. package/src/trackchanges.js +1 -1
  58. package/src/trackchangesdata.js +1 -1
  59. package/src/trackchangesediting.js +1 -1
  60. package/src/trackchangesui.js +1 -1
  61. package/src/ui/suggestioncontroller.js +1 -1
  62. package/src/ui/view/basesuggestionthreadview.js +1 -1
  63. package/src/ui/view/suggestionthreadview.js +1 -1
  64. package/src/utils/common-translations.js +1 -1
  65. package/src/utils/utils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4cba=['TrackChangesEditing','handleListStartCommand','*Format:*\x20set\x20order\x20to\x20reversed','toUpperCase','numbered','commandParams','locale','list.properties','getLastPosition','listItem','_LIST_','selection','type','_descriptionFactory','element','editor','bind','replace','getSiblingNodes','commandName','get','listType','ListUtils','push','createRange','change','length','*Format:*\x20set\x20start\x20index\x20to\x20%0','reversed','markMultiRangeBlockFormat','createPositionAt','filter','plugins','*Format:*\x20set\x20order\x20to\x20regular','forward','_getSuggestionBlocks','document','from','listStart','getListTypeFromListStyleType','before','handleListStyleCommand','ListPropertiesEditing','backward','*Change\x20to:*\x20%0','handleListReversedCommand','_getSuggestionBlocksForListStyle','_getTranslationKeyForListStyle','afterInit','getFirstPosition','startIndex','format','listStyle','listReversed','has','model','registerDescriptionCallback','config','handleDescriptions','map','getSelectedBlocks','ELEMENT_','getAttribute','enableCommand','flat'];(function(_0x24bc55,_0x4cba00){const _0x3fab4b=function(_0x152c59){while(--_0x152c59){_0x24bc55['push'](_0x24bc55['shift']());}};_0x3fab4b(++_0x4cba00);}(_0x4cba,0xfe));const _0x3fab=function(_0x24bc55,_0x4cba00){_0x24bc55=_0x24bc55-0x0;let _0x3fab4b=_0x4cba[_0x24bc55];return _0x3fab4b;};import{Plugin as _0x551192}from'ckeditor5/src/core';import{getTranslation as _0x54b100}from'../utils/common-translations';export default class ot extends _0x551192{[_0x3fab('0x36')](){if(!this[_0x3fab('0x15')][_0x3fab('0x26')][_0x3fab('0x3c')](_0x3fab('0x30')))return;const _0x354e01=this[_0x3fab('0x15')][_0x3fab('0x3f')][_0x3fab('0x1a')](_0x3fab('0xd')),_0x1b9232=this[_0x3fab('0x15')]['plugins']['get'](_0x3fab('0x6'));_0x354e01['styles']&&_0x1b9232[_0x3fab('0x4')](_0x3fab('0x3a'),this['handleListStyleCommand'][_0x3fab('0x16')](this)),_0x354e01[_0x3fab('0x22')]&&_0x1b9232[_0x3fab('0x4')]('listReversed',this[_0x3fab('0x33')]['bind'](this)),_0x354e01[_0x3fab('0x38')]&&_0x1b9232[_0x3fab('0x4')](_0x3fab('0x2c'),this[_0x3fab('0x7')][_0x3fab('0x16')](this)),_0x1b9232[_0x3fab('0x13')][_0x3fab('0x3e')](this[_0x3fab('0x40')]['bind'](this));}[_0x3fab('0x2f')](_0x2c23cd,_0x42852e={}){const _0x3e33fb=this[_0x3fab('0x15')][_0x3fab('0x26')][_0x3fab('0x1a')]('TrackChangesEditing'),_0x558bdd=this[_0x3fab('0x34')]();this[_0x3fab('0x15')][_0x3fab('0x3d')][_0x3fab('0x1f')](()=>{_0x3e33fb['markMultiRangeBlockFormat'](_0x558bdd,{'commandName':'listStyle','commandParams':[{'type':_0x42852e['type']}],'formatGroupId':_0x3fab('0x3a')});});}['handleListReversedCommand'](_0x4e6746,_0x4e9526={}){const _0x3912f4=this['editor'][_0x3fab('0x26')][_0x3fab('0x1a')]('TrackChangesEditing'),_0x5e96b7=this['_getSuggestionBlocks'](_0x1dfe28=>_0x1dfe28['is'](_0x3fab('0x14'),_0x3fab('0xf'))&&_0x3fab('0xa')===_0x1dfe28[_0x3fab('0x3')](_0x3fab('0x1b')));if(_0x5e96b7['length']<0x1)return;const _0x2bc761=_0x5e96b7[_0x3fab('0x0')](_0x5acb6b=>this[_0x3fab('0x15')][_0x3fab('0x3d')]['createRange'](this['editor'][_0x3fab('0x3d')]['createPositionAt'](_0x5acb6b,_0x3fab('0x2e')),this[_0x3fab('0x15')]['model'][_0x3fab('0x24')](_0x5acb6b,0x0)));this['editor'][_0x3fab('0x3d')][_0x3fab('0x1f')](()=>{_0x3912f4[_0x3fab('0x23')](_0x2bc761,{'commandName':'listReversed','commandParams':[{'reversed':_0x4e9526['reversed']}],'formatGroupId':'listReversed'});});}[_0x3fab('0x7')](_0x3176d3,_0x2bde1d={}){const _0x13eb48=this[_0x3fab('0x15')][_0x3fab('0x26')][_0x3fab('0x1a')]('TrackChangesEditing'),_0x240de6=this[_0x3fab('0x29')](_0x1d6dfc=>_0x1d6dfc['is']('element',_0x3fab('0xf'))&&'numbered'===_0x1d6dfc[_0x3fab('0x3')]('listType'));if(_0x240de6[_0x3fab('0x20')]<0x1)return;const _0x130b90=_0x240de6[_0x3fab('0x0')](_0x287da4=>this[_0x3fab('0x15')][_0x3fab('0x3d')][_0x3fab('0x1e')](this[_0x3fab('0x15')][_0x3fab('0x3d')][_0x3fab('0x24')](_0x287da4,_0x3fab('0x2e')),this[_0x3fab('0x15')]['model'][_0x3fab('0x24')](_0x287da4,0x0)));this['editor']['model'][_0x3fab('0x1f')](()=>{_0x13eb48[_0x3fab('0x23')](_0x130b90,{'commandName':_0x3fab('0x2c'),'commandParams':[{'startIndex':_0x2bde1d[_0x3fab('0x38')]}],'formatGroupId':'listStart'});});}[_0x3fab('0x40')](_0x1bfecb){const _0x4e391b=this['editor'][_0x3fab('0xc')],{data:_0x910e4b}=_0x1bfecb;if(!_0x910e4b)return;let _0x3b0a93,_0x2fbbeb;switch(_0x910e4b[_0x3fab('0x19')]){case _0x3fab('0x3a'):_0x3b0a93=_0x3fab('0x32'),_0x2fbbeb={'type':_0x3fab('0x39'),'content':_0x54b100(_0x4e391b,_0x3b0a93,_0x54b100(_0x4e391b,this[_0x3fab('0x35')](_0x910e4b[_0x3fab('0xb')][0x0][_0x3fab('0x12')])))};break;case _0x3fab('0x3b'):_0x3b0a93=_0x910e4b[_0x3fab('0xb')][0x0][_0x3fab('0x22')]?_0x3fab('0x8'):_0x3fab('0x27'),_0x2fbbeb={'type':_0x3fab('0x39'),'content':_0x54b100(_0x4e391b,_0x3b0a93)};break;case _0x3fab('0x2c'):_0x3b0a93=_0x3fab('0x21'),_0x2fbbeb={'type':'format','content':_0x54b100(_0x4e391b,_0x3b0a93,_0x910e4b[_0x3fab('0xb')][0x0][_0x3fab('0x38')])};}return _0x2fbbeb;}[_0x3fab('0x34')](){var _0x54e2fa,_0x48e4b7,_0x2de8d7,_0x8b0451;const _0x97df84=this[_0x3fab('0x15')][_0x3fab('0x26')]['get'](_0x3fab('0x1c'));let _0x4b26c7=Array['from'](this[_0x3fab('0x15')]['model'][_0x3fab('0x2a')][_0x3fab('0x11')][_0x3fab('0x1')]());return(null===(_0x54e2fa=_0x4b26c7[0x0])||void 0x0===_0x54e2fa?void 0x0:_0x54e2fa['is']('element','listItem'))&&_0x4b26c7['unshift'](..._0x97df84[_0x3fab('0x18')](this[_0x3fab('0x15')]['model']['document'][_0x3fab('0x11')][_0x3fab('0x37')](),_0x3fab('0x31'))),(null===(_0x48e4b7=_0x4b26c7[_0x4b26c7[_0x3fab('0x20')]-0x1])||void 0x0===_0x48e4b7?void 0x0:_0x48e4b7['is'](_0x3fab('0x14'),_0x3fab('0xf')))&&_0x4b26c7[_0x3fab('0x1d')](..._0x97df84[_0x3fab('0x18')](this['editor'][_0x3fab('0x3d')][_0x3fab('0x2a')][_0x3fab('0x11')][_0x3fab('0xe')](),_0x3fab('0x28'))),_0x4b26c7=[...new Set(_0x4b26c7)],(null===(_0x8b0451=null===(_0x2de8d7=this[_0x3fab('0x15')][_0x3fab('0x3d')][_0x3fab('0x2a')][_0x3fab('0x11')][_0x3fab('0x37')]())||void 0x0===_0x2de8d7?void 0x0:_0x2de8d7['parent'])||void 0x0===_0x8b0451?void 0x0:_0x8b0451['is'](_0x3fab('0x14'),_0x3fab('0xf')))&&(_0x4b26c7=_0x4b26c7[_0x3fab('0x25')](_0x4471a0=>_0x4471a0['is'](_0x3fab('0x14'),'listItem'))),_0x4b26c7;}['_getSuggestionBlocks'](_0x3fa4dc){const _0x1c4c9d=this[_0x3fab('0x15')][_0x3fab('0x26')][_0x3fab('0x1a')]('ListUtils');let _0x32bccb=Array[_0x3fab('0x2b')](this[_0x3fab('0x15')]['model'][_0x3fab('0x2a')][_0x3fab('0x11')][_0x3fab('0x1')]())[_0x3fab('0x25')](_0x3fa4dc)['map'](_0x4e621d=>{const _0x2eb4ee=this[_0x3fab('0x15')][_0x3fab('0x3d')][_0x3fab('0x24')](_0x4e621d,0x0);return[..._0x1c4c9d[_0x3fab('0x18')](_0x2eb4ee,_0x3fab('0x31')),..._0x1c4c9d[_0x3fab('0x18')](_0x2eb4ee,_0x3fab('0x28'))];})[_0x3fab('0x5')]();return _0x32bccb=[...new Set(_0x32bccb)],_0x32bccb;}[_0x3fab('0x35')](_0x285b28){return _0x3fab('0x2')+this['editor'][_0x3fab('0x26')]['get'](_0x3fab('0x1c'))[_0x3fab('0x2d')](_0x285b28)[_0x3fab('0x9')]()+_0x3fab('0x10')+_0x285b28[_0x3fab('0x9')]()[_0x3fab('0x17')](/-/g,'_');}}
23
+ const _0x4420=['*Format:*\x20set\x20order\x20to\x20regular','element','_getSuggestionBlocks','change','listItem','listStyle','get','styles','map','TrackChangesEditing','listReversed','_LIST_','backward','parent','enableCommand','toUpperCase','commandParams','bind','*Format:*\x20set\x20order\x20to\x20reversed','has','getListTypeFromListStyleType','length','editor','replace','reversed','handleListReversedCommand','handleListStyleCommand','locale','flat','forward','ListUtils','handleListStartCommand','type','createPositionAt','getAttribute','unshift','ELEMENT_','_getSuggestionBlocksForListStyle','before','createRange','getLastPosition','format','model','markMultiRangeBlockFormat','listStart','from','selection','plugins','ListPropertiesEditing','getFirstPosition','startIndex','document','numbered','registerDescriptionCallback','list.properties','_descriptionFactory','handleDescriptions','afterInit','getSiblingNodes','listType','_getTranslationKeyForListStyle','getSelectedBlocks'];(function(_0x2ef15a,_0x4420e1){const _0x3be0c9=function(_0xdec67a){while(--_0xdec67a){_0x2ef15a['push'](_0x2ef15a['shift']());}};_0x3be0c9(++_0x4420e1);}(_0x4420,0x70));const _0x3be0=function(_0x2ef15a,_0x4420e1){_0x2ef15a=_0x2ef15a-0x0;let _0x3be0c9=_0x4420[_0x2ef15a];return _0x3be0c9;};import{Plugin as _0x3b184c}from'ckeditor5/src/core';import{getTranslation as _0x5b8cf3}from'../utils/common-translations';export default class ot extends _0x3b184c{[_0x3be0('0x7')](){if(!this[_0x3be0('0x22')]['plugins'][_0x3be0('0x1f')](_0x3be0('0x3c')))return;const _0x5afe3a=this[_0x3be0('0x22')]['config']['get'](_0x3be0('0x4')),_0x41ce58=this['editor'][_0x3be0('0x3b')]['get']('TrackChangesEditing');_0x5afe3a[_0x3be0('0x13')]&&_0x41ce58[_0x3be0('0x1a')](_0x3be0('0x11'),this[_0x3be0('0x26')][_0x3be0('0x1d')](this)),_0x5afe3a[_0x3be0('0x24')]&&_0x41ce58['enableCommand'](_0x3be0('0x16'),this[_0x3be0('0x25')][_0x3be0('0x1d')](this)),_0x5afe3a[_0x3be0('0x0')]&&_0x41ce58[_0x3be0('0x1a')](_0x3be0('0x38'),this[_0x3be0('0x2b')][_0x3be0('0x1d')](this)),_0x41ce58[_0x3be0('0x5')][_0x3be0('0x3')](this[_0x3be0('0x6')]['bind'](this));}[_0x3be0('0x26')](_0x41a34d,_0x4d3881={}){const _0xeceff0=this['editor']['plugins'][_0x3be0('0x12')](_0x3be0('0x15')),_0x5a0e9b=this[_0x3be0('0x31')]();this['editor'][_0x3be0('0x36')][_0x3be0('0xf')](()=>{_0xeceff0['markMultiRangeBlockFormat'](_0x5a0e9b,{'commandName':_0x3be0('0x11'),'commandParams':[{'type':_0x4d3881['type']}],'formatGroupId':_0x3be0('0x11')});});}[_0x3be0('0x25')](_0x11348e,_0x4839ac={}){const _0x1bea11=this[_0x3be0('0x22')][_0x3be0('0x3b')]['get'](_0x3be0('0x15')),_0x297a76=this[_0x3be0('0xe')](_0x1fd8ee=>_0x1fd8ee['is'](_0x3be0('0xd'),_0x3be0('0x10'))&&_0x3be0('0x2')===_0x1fd8ee[_0x3be0('0x2e')](_0x3be0('0x9')));if(_0x297a76['length']<0x1)return;const _0xcdbffd=_0x297a76[_0x3be0('0x14')](_0x1000ce=>this[_0x3be0('0x22')]['model'][_0x3be0('0x33')](this[_0x3be0('0x22')]['model'][_0x3be0('0x2d')](_0x1000ce,_0x3be0('0x32')),this['editor']['model'][_0x3be0('0x2d')](_0x1000ce,0x0)));this[_0x3be0('0x22')][_0x3be0('0x36')][_0x3be0('0xf')](()=>{_0x1bea11['markMultiRangeBlockFormat'](_0xcdbffd,{'commandName':_0x3be0('0x16'),'commandParams':[{'reversed':_0x4839ac['reversed']}],'formatGroupId':_0x3be0('0x16')});});}['handleListStartCommand'](_0x1775dc,_0x5537b4={}){const _0x338cf6=this[_0x3be0('0x22')]['plugins'][_0x3be0('0x12')]('TrackChangesEditing'),_0x51f277=this[_0x3be0('0xe')](_0x49814d=>_0x49814d['is'](_0x3be0('0xd'),_0x3be0('0x10'))&&_0x3be0('0x2')===_0x49814d[_0x3be0('0x2e')]('listType'));if(_0x51f277[_0x3be0('0x21')]<0x1)return;const _0x4cf8c4=_0x51f277[_0x3be0('0x14')](_0x414817=>this[_0x3be0('0x22')]['model'][_0x3be0('0x33')](this[_0x3be0('0x22')][_0x3be0('0x36')][_0x3be0('0x2d')](_0x414817,_0x3be0('0x32')),this[_0x3be0('0x22')]['model'][_0x3be0('0x2d')](_0x414817,0x0)));this[_0x3be0('0x22')][_0x3be0('0x36')][_0x3be0('0xf')](()=>{_0x338cf6[_0x3be0('0x37')](_0x4cf8c4,{'commandName':_0x3be0('0x38'),'commandParams':[{'startIndex':_0x5537b4[_0x3be0('0x0')]}],'formatGroupId':_0x3be0('0x38')});});}['handleDescriptions'](_0x5d7959){const _0x51a82e=this[_0x3be0('0x22')][_0x3be0('0x27')],{data:_0x5e0e1e}=_0x5d7959;if(!_0x5e0e1e)return;let _0x38ed6a,_0x184a28;switch(_0x5e0e1e['commandName']){case _0x3be0('0x11'):_0x38ed6a='*Change\x20to:*\x20%0',_0x184a28={'type':'format','content':_0x5b8cf3(_0x51a82e,_0x38ed6a,_0x5b8cf3(_0x51a82e,this[_0x3be0('0xa')](_0x5e0e1e[_0x3be0('0x1c')][0x0][_0x3be0('0x2c')])))};break;case _0x3be0('0x16'):_0x38ed6a=_0x5e0e1e[_0x3be0('0x1c')][0x0][_0x3be0('0x24')]?_0x3be0('0x1e'):_0x3be0('0xc'),_0x184a28={'type':_0x3be0('0x35'),'content':_0x5b8cf3(_0x51a82e,_0x38ed6a)};break;case _0x3be0('0x38'):_0x38ed6a='*Format:*\x20set\x20start\x20index\x20to\x20%0',_0x184a28={'type':_0x3be0('0x35'),'content':_0x5b8cf3(_0x51a82e,_0x38ed6a,_0x5e0e1e[_0x3be0('0x1c')][0x0][_0x3be0('0x0')])};}return _0x184a28;}[_0x3be0('0x31')](){var _0x5285b6,_0x58ecf3,_0x6e05d,_0xb9e26b;const _0x182030=this['editor'][_0x3be0('0x3b')][_0x3be0('0x12')](_0x3be0('0x2a'));let _0x4beff4=Array['from'](this[_0x3be0('0x22')][_0x3be0('0x36')][_0x3be0('0x1')][_0x3be0('0x3a')][_0x3be0('0xb')]());return(null===(_0x5285b6=_0x4beff4[0x0])||void 0x0===_0x5285b6?void 0x0:_0x5285b6['is']('element','listItem'))&&_0x4beff4[_0x3be0('0x2f')](..._0x182030['getSiblingNodes'](this[_0x3be0('0x22')][_0x3be0('0x36')][_0x3be0('0x1')][_0x3be0('0x3a')][_0x3be0('0x3d')](),'backward')),(null===(_0x58ecf3=_0x4beff4[_0x4beff4['length']-0x1])||void 0x0===_0x58ecf3?void 0x0:_0x58ecf3['is'](_0x3be0('0xd'),'listItem'))&&_0x4beff4['push'](..._0x182030[_0x3be0('0x8')](this[_0x3be0('0x22')]['model']['document'][_0x3be0('0x3a')][_0x3be0('0x34')](),_0x3be0('0x29'))),_0x4beff4=[...new Set(_0x4beff4)],(null===(_0xb9e26b=null===(_0x6e05d=this['editor'][_0x3be0('0x36')][_0x3be0('0x1')][_0x3be0('0x3a')]['getFirstPosition']())||void 0x0===_0x6e05d?void 0x0:_0x6e05d[_0x3be0('0x19')])||void 0x0===_0xb9e26b?void 0x0:_0xb9e26b['is'](_0x3be0('0xd'),'listItem'))&&(_0x4beff4=_0x4beff4['filter'](_0x1119ab=>_0x1119ab['is']('element',_0x3be0('0x10')))),_0x4beff4;}['_getSuggestionBlocks'](_0x2d4eba){const _0x5d8d68=this['editor'][_0x3be0('0x3b')][_0x3be0('0x12')](_0x3be0('0x2a'));let _0x549b4c=Array[_0x3be0('0x39')](this[_0x3be0('0x22')][_0x3be0('0x36')]['document'][_0x3be0('0x3a')][_0x3be0('0xb')]())['filter'](_0x2d4eba)[_0x3be0('0x14')](_0x281620=>{const _0x20f3b8=this[_0x3be0('0x22')][_0x3be0('0x36')]['createPositionAt'](_0x281620,0x0);return[..._0x5d8d68[_0x3be0('0x8')](_0x20f3b8,_0x3be0('0x18')),..._0x5d8d68['getSiblingNodes'](_0x20f3b8,_0x3be0('0x29'))];})[_0x3be0('0x28')]();return _0x549b4c=[...new Set(_0x549b4c)],_0x549b4c;}[_0x3be0('0xa')](_0x3b01bc){return _0x3be0('0x30')+this[_0x3be0('0x22')][_0x3be0('0x3b')][_0x3be0('0x12')](_0x3be0('0x2a'))[_0x3be0('0x20')](_0x3b01bc)[_0x3be0('0x1b')]()+_0x3be0('0x17')+_0x3b01bc[_0x3be0('0x1b')]()[_0x3be0('0x23')](/-/g,'_');}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x46e1=['div','showSuggestionHighlights','dataDowncast','enableCommand','editor','elementToElement','conversion','plugins','_descriptionFactory','MediaEmbedEditing','ELEMENT_MEDIA','afterInit','TrackChangesEditing','stop','downcastDispatcher','data','createEmptyElement','media','mediaEmbed','high','registerElementLabel','for','options'];(function(_0x524481,_0x46e19d){const _0x378152=function(_0x34a931){while(--_0x34a931){_0x524481['push'](_0x524481['shift']());}};_0x378152(++_0x46e19d);}(_0x46e1,0x1bd));const _0x3781=function(_0x524481,_0x46e19d){_0x524481=_0x524481-0x0;let _0x378152=_0x46e1[_0x524481];return _0x378152;};import{Plugin as _0x54ee05}from'ckeditor5/src/core';import{getTranslation as _0x590fb5}from'../utils/common-translations';export default class rt extends _0x54ee05{[_0x3781('0x3')](){const _0x32cdcf=this[_0x3781('0x13')];if(!_0x32cdcf[_0x3781('0x16')]['has'](_0x3781('0x1')))return;const _0x45bfeb=_0x32cdcf[_0x3781('0x16')]['get'](_0x3781('0x4')),_0x1473cc=_0x32cdcf['locale'];_0x45bfeb[_0x3781('0x12')](_0x3781('0xa')),_0x45bfeb[_0x3781('0x0')][_0x3781('0xc')](_0x3781('0x9'),_0xc1eddd=>_0x590fb5(_0x1473cc,_0x3781('0x2'),_0xc1eddd)),_0x32cdcf[_0x3781('0x15')][_0x3781('0xd')](_0x3781('0x11'))[_0x3781('0x14')]({'model':_0x3781('0x9'),'view':(_0x42c4aa,{writer:_0x4db4f1,options:_0x5ba66e})=>{if(_0x5ba66e[_0x3781('0x10')])return _0x4db4f1[_0x3781('0x8')](_0x3781('0xf'));},'converterPriority':_0x3781('0xb')}),_0x32cdcf[_0x3781('0x7')][_0x3781('0x6')]['on']('attribute:url:media',(_0x41468e,_0x50697e,_0x4fcf7b)=>{_0x4fcf7b[_0x3781('0xe')]['showSuggestionHighlights']&&_0x41468e[_0x3781('0x5')]();},{'priority':'high'});}}
23
+ const _0x360c=['_descriptionFactory','showSuggestionHighlights','dataDowncast','options','has','media','plugins','high','editor','get','attribute:url:media','afterInit','MediaEmbedEditing','div','enableCommand','data','createEmptyElement','stop','downcastDispatcher','ELEMENT_MEDIA','for','locale'];(function(_0x313b98,_0x360c0e){const _0x13347f=function(_0x391a01){while(--_0x391a01){_0x313b98['push'](_0x313b98['shift']());}};_0x13347f(++_0x360c0e);}(_0x360c,0x132));const _0x1334=function(_0x313b98,_0x360c0e){_0x313b98=_0x313b98-0x0;let _0x13347f=_0x360c[_0x313b98];return _0x13347f;};import{Plugin as _0xc0e180}from'ckeditor5/src/core';import{getTranslation as _0x1584c3}from'../utils/common-translations';export default class rt extends _0xc0e180{[_0x1334('0xd')](){const _0xff8337=this[_0x1334('0xa')];if(!_0xff8337[_0x1334('0x8')][_0x1334('0x6')](_0x1334('0xe')))return;const _0x17ce28=_0xff8337[_0x1334('0x8')][_0x1334('0xb')]('TrackChangesEditing'),_0x5024f4=_0xff8337[_0x1334('0x1')];_0x17ce28[_0x1334('0x10')]('mediaEmbed'),_0x17ce28[_0x1334('0x2')]['registerElementLabel']('media',_0x2d016a=>_0x1584c3(_0x5024f4,_0x1334('0x15'),_0x2d016a)),_0xff8337['conversion'][_0x1334('0x0')](_0x1334('0x4'))['elementToElement']({'model':_0x1334('0x7'),'view':(_0x2897c2,{writer:_0x4fb54f,options:_0x1eaa51})=>{if(_0x1eaa51[_0x1334('0x3')])return _0x4fb54f[_0x1334('0x12')](_0x1334('0xf'));},'converterPriority':_0x1334('0x9')}),_0xff8337[_0x1334('0x11')][_0x1334('0x14')]['on'](_0x1334('0xc'),(_0x4efd1c,_0x40739b,_0xdb595e)=>{_0xdb595e[_0x1334('0x5')]['showSuggestionHighlights']&&_0x4efd1c[_0x1334('0x13')]();},{'priority':_0x1334('0x9')});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x497a=['MentionEditing','mention','has','TrackChangesEditing','editor','plugins','enableCommand'];(function(_0x551b77,_0x497a8d){const _0x3a15af=function(_0x50df70){while(--_0x50df70){_0x551b77['push'](_0x551b77['shift']());}};_0x3a15af(++_0x497a8d);}(_0x497a,0x1c9));const _0x3a15=function(_0x551b77,_0x497a8d){_0x551b77=_0x551b77-0x0;let _0x3a15af=_0x497a[_0x551b77];return _0x3a15af;};import{Plugin as _0x2c2322}from'ckeditor5/src/core';export default class at extends _0x2c2322{['afterInit'](){const _0x2f05c8=this[_0x3a15('0x2')];_0x2f05c8[_0x3a15('0x3')][_0x3a15('0x0')](_0x3a15('0x5'))&&_0x2f05c8[_0x3a15('0x3')]['get'](_0x3a15('0x1'))[_0x3a15('0x4')](_0x3a15('0x6'));}}
23
+ const _0x62fb=['afterInit','MentionEditing','get','mention','plugins','TrackChangesEditing','has','enableCommand'];(function(_0x342e6b,_0x27a8b6){const _0x229bec=function(_0x3929d8){while(--_0x3929d8){_0x342e6b['push'](_0x342e6b['shift']());}};_0x229bec(++_0x27a8b6);}(_0x62fb,0x13f));const _0x27a8=function(_0x342e6b,_0x27a8b6){_0x342e6b=_0x342e6b-0x0;let _0x229bec=_0x62fb[_0x342e6b];return _0x229bec;};import{Plugin as _0x99cf5e}from'ckeditor5/src/core';export default class at extends _0x99cf5e{[_0x27a8('0x1')](){const _0x1eac62=this['editor'];_0x1eac62[_0x27a8('0x5')][_0x27a8('0x7')](_0x27a8('0x2'))&&_0x1eac62[_0x27a8('0x5')][_0x27a8('0x3')](_0x27a8('0x6'))[_0x27a8('0x0')](_0x27a8('0x4'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2d4c=['registerElementLabel','_descriptionFactory','TrackChangesEditing','pageBreak','editor','plugins','get','ELEMENT_PAGE_BREAK','enableCommand'];(function(_0x3b69f4,_0x2d4c8d){const _0x4ef5a8=function(_0x4cb64c){while(--_0x4cb64c){_0x3b69f4['push'](_0x3b69f4['shift']());}};_0x4ef5a8(++_0x2d4c8d);}(_0x2d4c,0x15d));const _0x4ef5=function(_0x3b69f4,_0x2d4c8d){_0x3b69f4=_0x3b69f4-0x0;let _0x4ef5a8=_0x2d4c[_0x3b69f4];return _0x4ef5a8;};import{Plugin as _0x397be1}from'ckeditor5/src/core';import{getTranslation as _0x4e4584}from'../utils/common-translations';export default class ct extends _0x397be1{['afterInit'](){const _0x2b9b17=this[_0x4ef5('0x6')];if(!_0x2b9b17[_0x4ef5('0x7')]['has']('PageBreakEditing'))return;_0x2b9b17[_0x4ef5('0x7')][_0x4ef5('0x8')](_0x4ef5('0x4'))[_0x4ef5('0x1')](_0x4ef5('0x5'));const _0x32957d=_0x2b9b17['plugins'][_0x4ef5('0x8')](_0x4ef5('0x4')),_0x466b11=_0x2b9b17['locale'];_0x32957d[_0x4ef5('0x3')][_0x4ef5('0x2')]('pageBreak',_0x570aa1=>_0x4e4584(_0x466b11,_0x4ef5('0x0'),_0x570aa1));}}
23
+ const _0x34a3=['registerElementLabel','enableCommand','TrackChangesEditing','ELEMENT_PAGE_BREAK','locale','get','pageBreak','_descriptionFactory','plugins'];(function(_0x135856,_0x34a3f7){const _0x271df2=function(_0x476f7c){while(--_0x476f7c){_0x135856['push'](_0x135856['shift']());}};_0x271df2(++_0x34a3f7);}(_0x34a3,0xb5));const _0x271d=function(_0x135856,_0x34a3f7){_0x135856=_0x135856-0x0;let _0x271df2=_0x34a3[_0x135856];return _0x271df2;};import{Plugin as _0x46e519}from'ckeditor5/src/core';import{getTranslation as _0x3c14a2}from'../utils/common-translations';export default class ct extends _0x46e519{['afterInit'](){const _0xaefc09=this['editor'];if(!_0xaefc09['plugins']['has']('PageBreakEditing'))return;_0xaefc09[_0x271d('0x7')][_0x271d('0x4')](_0x271d('0x1'))[_0x271d('0x0')](_0x271d('0x5'));const _0x4981b7=_0xaefc09[_0x271d('0x7')][_0x271d('0x4')](_0x271d('0x1')),_0x1310b2=_0xaefc09[_0x271d('0x3')];_0x4981b7[_0x271d('0x6')][_0x271d('0x8')]('pageBreak',_0x4a7438=>_0x3c14a2(_0x1310b2,_0x271d('0x2'),_0x4a7438));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3876=['end','span','isObject','getFirstRange','TrackChangesEditing','schema','toViewPosition','name','registerElementLabel','isLimit','markerRange','downcastDispatcher','format','filter','paragraph','Paragraph','bindElementToMarker','registerDescriptionCallback','getItemLabel','markBlockFormat','insertParagraph','ck-suggestion-marker-split','plugins','*Change\x20to:*\x20%0','document','afterInit','_descriptionFactory','ELEMENT_PARAGRAPH','start','addClass','consume','activeMarkers','insertion','includes','isTouching','enableCommand','has','checkChild','createUIElement','addMarker:suggestion:insertion','editor','nodeAfter','model','isBlock','options','get','data','locale','ck-suggestion-marker--active','type','highest','writer','change','from','parent','markerName','blockName'];(function(_0x2efa29,_0x3876f8){const _0xfca685=function(_0x567252){while(--_0x567252){_0x2efa29['push'](_0x2efa29['shift']());}};_0xfca685(++_0x3876f8);}(_0x3876,0x129));const _0xfca6=function(_0x2efa29,_0x3876f8){_0x2efa29=_0x2efa29-0x0;let _0xfca685=_0x3876[_0x2efa29];return _0xfca685;};import{Plugin as _0x2bb6c5}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x4eef55}from'./utils';import{getTranslation as _0x5e2e0}from'../utils/common-translations';export default class ht extends _0x2bb6c5{[_0xfca6('0xd')](){const _0x55374f=this['editor'];if(!_0x55374f['plugins'][_0xfca6('0x18')](_0xfca6('0x3')))return;const _0x500828=_0x55374f[_0xfca6('0x23')],_0x2978a5=_0x55374f[_0xfca6('0xa')][_0xfca6('0x21')](_0xfca6('0x31'));_0x2978a5['_descriptionFactory'][_0xfca6('0x35')](_0xfca6('0x2'),_0xfc375=>_0x5e2e0(_0x500828,_0xfca6('0xf'),_0xfc375)),_0x2978a5[_0xfca6('0x17')](_0xfca6('0x2'),(_0x4bbb4e,_0x33b95c={})=>{const _0x54ae14=_0x55374f[_0xfca6('0x1e')][_0xfca6('0xc')],_0x490a2a=_0x33b95c['selection']||_0x54ae14['selection'],_0x3bccd9=Array[_0xfca6('0x29')](_0x490a2a['getSelectedBlocks']())[_0xfca6('0x1')](_0x11597c=>function(_0x5292f1,_0x118821){return _0x118821['checkChild'](_0x5292f1[_0xfca6('0x2a')],_0xfca6('0x2'))&&!_0x118821[_0xfca6('0x2f')](_0x5292f1)&&_0xfca6('0x2')!=_0x5292f1[_0xfca6('0x34')];}(_0x11597c,this[_0xfca6('0x1c')]['model']['schema']));_0x55374f[_0xfca6('0x1e')][_0xfca6('0x28')](()=>{for(const _0x5967b8 of _0x3bccd9)_0x2978a5[_0xfca6('0x7')](_0x5967b8,{'commandName':_0xfca6('0x2'),'commandParams':[],'formatGroupId':_0xfca6('0x2c')},_0x4eef55(_0x5967b8));});}),_0x2978a5[_0xfca6('0xe')][_0xfca6('0x5')](_0x538674=>{const {data:_0x417521}=_0x538674;if(_0x417521&&_0xfca6('0x2')==_0x417521['commandName'])return{'type':_0xfca6('0x0'),'content':_0x5e2e0(_0x500828,_0xfca6('0xb'),_0x5e2e0(_0x500828,'ELEMENT_PARAGRAPH'))};}),_0x2978a5[_0xfca6('0x17')](_0xfca6('0x8')),_0x55374f['editing']['downcastDispatcher']['on'](_0xfca6('0x1b'),ar(_0x55374f),{'priority':_0xfca6('0x26')}),_0x55374f[_0xfca6('0x22')][_0xfca6('0x38')]['on'](_0xfca6('0x1b'),(_0x1a1860,_0x30aa60,_0x3b4a0a)=>{_0x3b4a0a[_0xfca6('0x20')]['showSuggestionHighlights']&&ar(_0x55374f,{'showActiveMarker':!0x1})(_0x1a1860,_0x30aa60,_0x3b4a0a);},{'priority':_0xfca6('0x26')});const _0x1a4f51=_0x2978a5['_descriptionFactory'];_0x1a4f51[_0xfca6('0x5')](_0x50c7a9=>{if(_0xfca6('0x14')!==_0x50c7a9[_0xfca6('0x25')])return;const {start:_0xd455ac,end:_0x5a389f}=_0x50c7a9[_0xfca6('0x30')]();if(!_0xd455ac[_0xfca6('0x16')](_0x5a389f)||!_0xd455ac['nodeAfter'])return;const _0x34232d=_0x55374f['model']['schema'],_0x45b862=_0xd455ac[_0xfca6('0x1d')];return _0x34232d[_0xfca6('0x1f')](_0x45b862)&&!_0x34232d[_0xfca6('0x36')](_0x45b862)&&_0x34232d[_0xfca6('0x19')](_0x45b862,'$text')?{'type':_0xfca6('0x14'),'content':_0x5e2e0(_0x500828,'*Insert:*\x20%0',_0x1a4f51[_0xfca6('0x6')](_0x45b862,0x1))}:void 0x0;});}}function ar(_0x9adee5,{showActiveMarker:_0x4df212=!0x0}={}){return(_0x5ab63a,_0x158863,_0x58c694)=>{const _0x5bdacb=_0x9adee5[_0xfca6('0xa')][_0xfca6('0x21')](_0xfca6('0x31')),_0x22c072=_0x158863[_0xfca6('0x37')][_0xfca6('0x10')],_0x2788e8=_0x158863[_0xfca6('0x37')][_0xfca6('0x2d')],_0x2d65bc=_0x9adee5['model'][_0xfca6('0x32')];if(!_0x22c072[_0xfca6('0x16')](_0x2788e8)||!_0x22c072['nodeAfter'])return;const _0x16d59b=_0x22c072[_0xfca6('0x1d')];if(_0x2d65bc[_0xfca6('0x1f')](_0x16d59b)&&!_0x2d65bc[_0xfca6('0x36')](_0x16d59b)&&_0x2d65bc['checkChild'](_0x16d59b,'$text')){if(!_0x58c694['consumable'][_0xfca6('0x12')](_0x158863['markerRange'],_0x5ab63a[_0xfca6('0x34')]))return;const _0x5ef63c=_0x58c694[_0xfca6('0x27')][_0xfca6('0x1a')](_0xfca6('0x2e'),{'class':_0xfca6('0x9')}),_0x2a8591=_0x58c694['mapper'][_0xfca6('0x33')](_0x2788e8);_0x4df212&&_0x5bdacb[_0xfca6('0x13')][_0xfca6('0x15')](_0x158863[_0xfca6('0x2b')])&&_0x58c694[_0xfca6('0x27')][_0xfca6('0x11')](_0xfca6('0x24'),_0x5ef63c),_0x58c694[_0xfca6('0x27')]['insert'](_0x2a8591,_0x5ef63c),_0x58c694['mapper'][_0xfca6('0x4')](_0x5ef63c,_0x158863[_0xfca6('0x2b')]);}};}
23
+ const _0x44e6=['addMarker:suggestion:insertion','isBlock','registerDescriptionCallback','type','$text','markerName','options','span','isLimit','writer','_descriptionFactory','includes','addClass','markerRange','selection','start','highest','showSuggestionHighlights','nodeAfter','from','paragraph','schema','name','getItemLabel','bindElementToMarker','has','consumable','locale','mapper','consume','toViewPosition','activeMarkers','model','createUIElement','ck-suggestion-marker--active','ck-suggestion-marker-split','insert','change','get','enableCommand','isObject','afterInit','isTouching','ELEMENT_PARAGRAPH','data','plugins','format','markBlockFormat','downcastDispatcher','filter','checkChild','editor','parent','insertParagraph'];(function(_0x187b85,_0x44e69b){const _0x5198b1=function(_0x1054dd){while(--_0x1054dd){_0x187b85['push'](_0x187b85['shift']());}};_0x5198b1(++_0x44e69b);}(_0x44e6,0xca));const _0x5198=function(_0x187b85,_0x44e69b){_0x187b85=_0x187b85-0x0;let _0x5198b1=_0x44e6[_0x187b85];return _0x5198b1;};import{Plugin as _0x21d557}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x2bc7f1}from'./utils';import{getTranslation as _0x2d9cbf}from'../utils/common-translations';export default class ht extends _0x21d557{[_0x5198('0x1')](){const _0x1a819e=this[_0x5198('0xb')];if(!_0x1a819e[_0x5198('0x5')][_0x5198('0x27')]('Paragraph'))return;const _0x5b664d=_0x1a819e[_0x5198('0x29')],_0x720f94=_0x1a819e['plugins'][_0x5198('0x34')]('TrackChangesEditing');_0x720f94[_0x5198('0x18')]['registerElementLabel'](_0x5198('0x22'),_0x299cbd=>_0x2d9cbf(_0x5b664d,_0x5198('0x3'),_0x299cbd)),_0x720f94[_0x5198('0x35')](_0x5198('0x22'),(_0x34bb17,_0x4e999a={})=>{const _0x272214=_0x1a819e[_0x5198('0x2e')]['document'],_0x410630=_0x4e999a[_0x5198('0x1c')]||_0x272214[_0x5198('0x1c')],_0x4e231c=Array[_0x5198('0x21')](_0x410630['getSelectedBlocks']())[_0x5198('0x9')](_0x4c6deb=>function(_0x45b32d,_0xa84f07){return _0xa84f07['checkChild'](_0x45b32d[_0x5198('0xc')],'paragraph')&&!_0xa84f07[_0x5198('0x0')](_0x45b32d)&&'paragraph'!=_0x45b32d[_0x5198('0x24')];}(_0x4c6deb,this[_0x5198('0xb')]['model'][_0x5198('0x23')]));_0x1a819e['model'][_0x5198('0x33')](()=>{for(const _0x512874 of _0x4e231c)_0x720f94[_0x5198('0x7')](_0x512874,{'commandName':'paragraph','commandParams':[],'formatGroupId':'blockName'},_0x2bc7f1(_0x512874));});}),_0x720f94[_0x5198('0x18')][_0x5198('0x10')](_0x5f32ff=>{const {data:_0x51d537}=_0x5f32ff;if(_0x51d537&&_0x5198('0x22')==_0x51d537['commandName'])return{'type':_0x5198('0x6'),'content':_0x2d9cbf(_0x5b664d,'*Change\x20to:*\x20%0',_0x2d9cbf(_0x5b664d,'ELEMENT_PARAGRAPH'))};}),_0x720f94['enableCommand'](_0x5198('0xd')),_0x1a819e['editing'][_0x5198('0x8')]['on'](_0x5198('0xe'),ar(_0x1a819e),{'priority':_0x5198('0x1e')}),_0x1a819e[_0x5198('0x4')][_0x5198('0x8')]['on'](_0x5198('0xe'),(_0x44654c,_0x14d017,_0x250b94)=>{_0x250b94[_0x5198('0x14')][_0x5198('0x1f')]&&ar(_0x1a819e,{'showActiveMarker':!0x1})(_0x44654c,_0x14d017,_0x250b94);},{'priority':_0x5198('0x1e')});const _0x2d8ea4=_0x720f94['_descriptionFactory'];_0x2d8ea4[_0x5198('0x10')](_0x5363b2=>{if('insertion'!==_0x5363b2[_0x5198('0x11')])return;const {start:_0x513f27,end:_0x5324c9}=_0x5363b2['getFirstRange']();if(!_0x513f27[_0x5198('0x2')](_0x5324c9)||!_0x513f27[_0x5198('0x20')])return;const _0x9421b=_0x1a819e[_0x5198('0x2e')][_0x5198('0x23')],_0x568871=_0x513f27['nodeAfter'];return _0x9421b[_0x5198('0xf')](_0x568871)&&!_0x9421b[_0x5198('0x16')](_0x568871)&&_0x9421b['checkChild'](_0x568871,_0x5198('0x12'))?{'type':'insertion','content':_0x2d9cbf(_0x5b664d,'*Insert:*\x20%0',_0x2d8ea4[_0x5198('0x25')](_0x568871,0x1))}:void 0x0;});}}function ar(_0xa262fe,{showActiveMarker:_0x23b779=!0x0}={}){return(_0x58a489,_0x5c77b9,_0x7a1413)=>{const _0x47441a=_0xa262fe[_0x5198('0x5')][_0x5198('0x34')]('TrackChangesEditing'),_0x1c2100=_0x5c77b9['markerRange'][_0x5198('0x1d')],_0x3a9a16=_0x5c77b9[_0x5198('0x1b')]['end'],_0x40f27b=_0xa262fe['model']['schema'];if(!_0x1c2100[_0x5198('0x2')](_0x3a9a16)||!_0x1c2100['nodeAfter'])return;const _0x4a18d7=_0x1c2100[_0x5198('0x20')];if(_0x40f27b[_0x5198('0xf')](_0x4a18d7)&&!_0x40f27b[_0x5198('0x16')](_0x4a18d7)&&_0x40f27b[_0x5198('0xa')](_0x4a18d7,'$text')){if(!_0x7a1413[_0x5198('0x28')][_0x5198('0x2b')](_0x5c77b9['markerRange'],_0x58a489['name']))return;const _0x2f9ab0=_0x7a1413['writer'][_0x5198('0x2f')](_0x5198('0x15'),{'class':_0x5198('0x31')}),_0x951fc7=_0x7a1413[_0x5198('0x2a')][_0x5198('0x2c')](_0x3a9a16);_0x23b779&&_0x47441a[_0x5198('0x2d')][_0x5198('0x19')](_0x5c77b9[_0x5198('0x13')])&&_0x7a1413[_0x5198('0x17')][_0x5198('0x1a')](_0x5198('0x30'),_0x2f9ab0),_0x7a1413[_0x5198('0x17')][_0x5198('0x32')](_0x951fc7,_0x2f9ab0),_0x7a1413[_0x5198('0x2a')][_0x5198('0x26')](_0x2f9ab0,_0x5c77b9[_0x5198('0x13')]);}};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x49eb=['commandName','change','removeFormat','isFormatting','afterInit','enableCommand','editor','getRanges','selection','createRangeOn','RemoveFormatEditing','getAttributeProperties','TrackChangesEditing','schema','registerDescriptionCallback','getAttributes','format','markInlineFormat','plugins','*Remove\x20all\x20formatting*','get','has'];(function(_0x5df2cb,_0x49ebdd){const _0x4a7fda=function(_0x27f524){while(--_0x27f524){_0x5df2cb['push'](_0x5df2cb['shift']());}};_0x4a7fda(++_0x49ebdd);}(_0x49eb,0x1ef));const _0x4a7f=function(_0x5df2cb,_0x49ebdd){_0x5df2cb=_0x5df2cb-0x0;let _0x4a7fda=_0x49eb[_0x5df2cb];return _0x4a7fda;};import{Plugin as _0x43acb0}from'ckeditor5/src/core';import{getTranslation as _0x552f45}from'../utils/common-translations';export default class ut extends _0x43acb0{[_0x4a7f('0xf')](){const _0x5cddb3=this[_0x4a7f('0x11')];if(!_0x5cddb3[_0x4a7f('0x7')][_0x4a7f('0xa')](_0x4a7f('0x15')))return;const _0x27e8c2=_0x5cddb3[_0x4a7f('0x7')][_0x4a7f('0x9')](_0x4a7f('0x1'));_0x27e8c2[_0x4a7f('0x10')](_0x4a7f('0xd'),_0x24c359=>{const _0x580af8=_0x5cddb3['model']['document'][_0x4a7f('0x13')];_0x580af8['isCollapsed']?_0x24c359():_0x5cddb3['model'][_0x4a7f('0xc')](()=>{const _0x5ca782=Array['from'](_0x580af8[_0x4a7f('0x12')]());for(const _0x20e68d of _0x5ca782)for(const _0x282256 of _0x20e68d['getItems']())mo(_0x282256,_0x5cddb3['model'][_0x4a7f('0x2')])&&_0x27e8c2[_0x4a7f('0x6')](_0x5cddb3['model'][_0x4a7f('0x14')](_0x282256),{'commandName':_0x4a7f('0xd'),'commandParams':[]});});}),_0x27e8c2['_descriptionFactory'][_0x4a7f('0x3')](_0x34bb5b=>{const {data:_0x3a0bad}=_0x34bb5b;if(_0x3a0bad&&_0x4a7f('0xd')==_0x3a0bad[_0x4a7f('0xb')])return{'type':_0x4a7f('0x5'),'content':_0x552f45(_0x5cddb3['locale'],_0x4a7f('0x8'))};});}}function mo(_0x29adf7,_0x4deacd){for(const [_0x40e60e]of _0x29adf7[_0x4a7f('0x4')]()){const _0x2ba871=_0x4deacd[_0x4a7f('0x0')](_0x40e60e);if(_0x2ba871&&_0x2ba871[_0x4a7f('0xe')])return!0x0;}return!0x1;}
23
+ const _0x214d=['removeFormat','has','plugins','getAttributes','getAttributeProperties','registerDescriptionCallback','commandName','schema','editor','markInlineFormat','getItems','_descriptionFactory','TrackChangesEditing','isCollapsed','selection','getRanges','RemoveFormatEditing','model','afterInit','format'];(function(_0x392560,_0x214d18){const _0x669fa5=function(_0x1c98b3){while(--_0x1c98b3){_0x392560['push'](_0x392560['shift']());}};_0x669fa5(++_0x214d18);}(_0x214d,0x154));const _0x669f=function(_0x392560,_0x214d18){_0x392560=_0x392560-0x0;let _0x669fa5=_0x214d[_0x392560];return _0x669fa5;};import{Plugin as _0x5bf7be}from'ckeditor5/src/core';import{getTranslation as _0x427b44}from'../utils/common-translations';export default class ut extends _0x5bf7be{[_0x669f('0x12')](){const _0x506379=this[_0x669f('0x8')];if(!_0x506379[_0x669f('0x2')][_0x669f('0x1')](_0x669f('0x10')))return;const _0x214796=_0x506379[_0x669f('0x2')]['get'](_0x669f('0xc'));_0x214796['enableCommand'](_0x669f('0x0'),_0x20727a=>{const _0xb9a2d8=_0x506379[_0x669f('0x11')]['document'][_0x669f('0xe')];_0xb9a2d8[_0x669f('0xd')]?_0x20727a():_0x506379['model']['change'](()=>{const _0x12d667=Array['from'](_0xb9a2d8[_0x669f('0xf')]());for(const _0x56f9dd of _0x12d667)for(const _0x598fe9 of _0x56f9dd[_0x669f('0xa')]())mo(_0x598fe9,_0x506379['model'][_0x669f('0x7')])&&_0x214796[_0x669f('0x9')](_0x506379[_0x669f('0x11')]['createRangeOn'](_0x598fe9),{'commandName':_0x669f('0x0'),'commandParams':[]});});}),_0x214796[_0x669f('0xb')][_0x669f('0x5')](_0x212bfc=>{const {data:_0x30d1ee}=_0x212bfc;if(_0x30d1ee&&_0x669f('0x0')==_0x30d1ee[_0x669f('0x6')])return{'type':_0x669f('0x13'),'content':_0x427b44(_0x506379['locale'],'*Remove\x20all\x20formatting*')};});}}function mo(_0x4f187e,_0xf37cb1){for(const [_0x2e600a]of _0x4f187e[_0x669f('0x3')]()){const _0x89806=_0xf37cb1[_0x669f('0x4')](_0x2e600a);if(_0x89806&&_0x89806['isFormatting'])return!0x0;}return!0x1;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5190=['discardAllSuggestions','has','acceptSelectedSuggestions','RestrictedEditingModeEditing','acceptSuggestion','acceptAllSuggestions','enableCommand','plugins','discardSuggestion','trackChanges','editor','discardSelectedSuggestions','get'];(function(_0x52fee7,_0x519013){const _0x46f582=function(_0x1ba3d0){while(--_0x1ba3d0){_0x52fee7['push'](_0x52fee7['shift']());}};_0x46f582(++_0x519013);}(_0x5190,0x1c0));const _0x46f5=function(_0x52fee7,_0x519013){_0x52fee7=_0x52fee7-0x0;let _0x46f582=_0x5190[_0x52fee7];return _0x46f582;};import{Plugin as _0x1bc656}from'ckeditor5/src/core';export default class ft extends _0x1bc656{['afterInit'](){const _0x5c3397=this[_0x46f5('0x4')];if(!_0x5c3397[_0x46f5('0x1')][_0x46f5('0x8')](_0x46f5('0xa')))return;const _0x787508=_0x5c3397[_0x46f5('0x1')][_0x46f5('0x6')]('TrackChangesEditing');_0x787508[_0x46f5('0x0')]('goToPreviousRestrictedEditingException'),_0x787508['enableCommand']('goToNextRestrictedEditingException');const _0x56c24f=_0x5c3397[_0x46f5('0x1')]['get']('RestrictedEditingModeEditing');_0x56c24f[_0x46f5('0x0')](_0x46f5('0x3')),_0x56c24f[_0x46f5('0x0')](_0x46f5('0xb')),_0x56c24f[_0x46f5('0x0')](_0x46f5('0x2')),_0x56c24f[_0x46f5('0x0')](_0x46f5('0xc')),_0x56c24f[_0x46f5('0x0')](_0x46f5('0x7')),_0x56c24f[_0x46f5('0x0')](_0x46f5('0x9')),_0x56c24f['enableCommand'](_0x46f5('0x5'));}}
23
+ const _0x12b1=['editor','has','trackChanges','plugins','TrackChangesEditing','discardSelectedSuggestions','RestrictedEditingModeEditing','enableCommand','discardSuggestion','get','acceptAllSuggestions','afterInit','discardAllSuggestions','goToNextRestrictedEditingException','goToPreviousRestrictedEditingException','acceptSelectedSuggestions'];(function(_0x4f822a,_0x12b154){const _0x1fae3f=function(_0x523614){while(--_0x523614){_0x4f822a['push'](_0x4f822a['shift']());}};_0x1fae3f(++_0x12b154);}(_0x12b1,0x1b2));const _0x1fae=function(_0x4f822a,_0x12b154){_0x4f822a=_0x4f822a-0x0;let _0x1fae3f=_0x12b1[_0x4f822a];return _0x1fae3f;};import{Plugin as _0x3eb26b}from'ckeditor5/src/core';export default class ft extends _0x3eb26b{[_0x1fae('0x9')](){const _0x40b0ca=this[_0x1fae('0xe')];if(!_0x40b0ca[_0x1fae('0x1')][_0x1fae('0xf')](_0x1fae('0x4')))return;const _0x4be292=_0x40b0ca[_0x1fae('0x1')][_0x1fae('0x7')](_0x1fae('0x2'));_0x4be292[_0x1fae('0x5')](_0x1fae('0xc')),_0x4be292[_0x1fae('0x5')](_0x1fae('0xb'));const _0x3a3318=_0x40b0ca['plugins']['get'](_0x1fae('0x4'));_0x3a3318[_0x1fae('0x5')](_0x1fae('0x0')),_0x3a3318[_0x1fae('0x5')]('acceptSuggestion'),_0x3a3318[_0x1fae('0x5')](_0x1fae('0x6')),_0x3a3318['enableCommand'](_0x1fae('0x8')),_0x3a3318['enableCommand'](_0x1fae('0xa')),_0x3a3318[_0x1fae('0x5')](_0x1fae('0xd')),_0x3a3318[_0x1fae('0x5')](_0x1fae('0x3'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xf09b=['high','toViewPosition','ck-suggestion-marker--active','enableCommand','TrackChangesEditing','init','createPositionBefore','markerRange','bindElementToMarker','test','options','registerElementLabel','span','addClass','ELEMENT_LINE_BREAK','softBreak','mapper','activeMarkers','get','showSuggestionHighlights','addMarker:suggestion','requires','downcastDispatcher','shiftEnter','plugins','deletion','name','addMarker:suggestion:insertion','editor','includes','insert','writer','markerName','merge','editing','split','ck-suggestion-marker-'];(function(_0x5ce2bd,_0xf09b4e){const _0x457676=function(_0x289850){while(--_0x289850){_0x5ce2bd['push'](_0x5ce2bd['shift']());}};_0x457676(++_0xf09b4e);}(_0xf09b,0x1ea));const _0x4576=function(_0x5ce2bd,_0xf09b4e){_0x5ce2bd=_0x5ce2bd-0x0;let _0x457676=_0xf09b[_0x5ce2bd];return _0x457676;};import{Plugin as _0x52560d}from'ckeditor5/src/core';import{ShiftEnter as _0x137d4c}from'ckeditor5/src/enter';import{getTranslation as _0xe89b06}from'../utils/common-translations';export default class lt extends _0x52560d{static get[_0x4576('0xc')](){return[_0x137d4c];}[_0x4576('0x21')](){const _0x38e868=this[_0x4576('0x13')],_0x3eabbd=_0x38e868['plugins'][_0x4576('0x9')](_0x4576('0x20'));_0x3eabbd[_0x4576('0x1f')](_0x4576('0xe')),_0x38e868[_0x4576('0x19')][_0x4576('0xd')]['on'](_0x4576('0x12'),re(_0x38e868),{'priority':_0x4576('0x1c')}),_0x38e868[_0x4576('0x19')][_0x4576('0xd')]['on']('addMarker:suggestion:deletion',re(_0x38e868),{'priority':_0x4576('0x1c')}),_0x38e868['data']['downcastDispatcher']['on'](_0x4576('0xb'),(_0x234881,_0x3d4f8f,_0x4c7d8a)=>{_0x4c7d8a[_0x4576('0x1')][_0x4576('0xa')]&&re(_0x38e868,{'showActiveMarker':!0x1})(_0x234881,_0x3d4f8f,_0x4c7d8a);}),_0x3eabbd['_descriptionFactory'][_0x4576('0x2')](_0x4576('0x6'),_0x2c2f5c=>_0xe89b06(_0x38e868['locale'],_0x4576('0x5'),_0x2c2f5c));}}function re(_0x5e87d8,{showActiveMarker:_0x1a2fbd=!0x0}={}){return(_0x3067eb,_0x400884,_0x1283e4)=>{const _0x4b6cba=_0x5e87d8[_0x4576('0xf')][_0x4576('0x9')]('TrackChangesEditing');if(!_0x1283e4['consumable'][_0x4576('0x0')](_0x400884[_0x4576('0x23')],_0x3067eb[_0x4576('0x11')]))return;const _0x3e7263=_0x5e87d8['model'];for(const _0x565b15 of _0x400884['markerRange']['getItems']()){if(!_0x565b15['is']('element','softBreak'))continue;const _0x5df30d=_0x4576('0x10')==_0x400884[_0x4576('0x17')][_0x4576('0x1a')](':')[0x1]?_0x4576('0x18'):_0x4576('0x1a'),_0x4185af=_0x1283e4[_0x4576('0x16')]['createUIElement'](_0x4576('0x3'),{'class':_0x4576('0x1b')+_0x5df30d}),_0xca088d=_0x1283e4[_0x4576('0x7')][_0x4576('0x1d')](_0x3e7263[_0x4576('0x22')](_0x565b15));_0x1a2fbd&&_0x4b6cba[_0x4576('0x8')][_0x4576('0x14')](_0x400884[_0x4576('0x17')])&&_0x1283e4[_0x4576('0x16')][_0x4576('0x4')](_0x4576('0x1e'),_0x4185af),_0x1283e4[_0x4576('0x16')][_0x4576('0x15')](_0xca088d,_0x4185af),_0x1283e4['mapper'][_0x4576('0x24')](_0x4185af,_0x400884[_0x4576('0x17')]);}};}
23
+ const _0x2015=['name','test','markerName','deletion','editing','getItems','plugins','downcastDispatcher','consumable','includes','element','_descriptionFactory','addMarker:suggestion','options','get','editor','enableCommand','addMarker:suggestion:insertion','requires','registerElementLabel','writer','TrackChangesEditing','mapper','toViewPosition','model','split','showSuggestionHighlights','shiftEnter','ck-suggestion-marker--active','insert','markerRange','addClass','softBreak','bindElementToMarker'];(function(_0xe9b713,_0x201547){const _0x10ef66=function(_0x26d986){while(--_0x26d986){_0xe9b713['push'](_0xe9b713['shift']());}};_0x10ef66(++_0x201547);}(_0x2015,0xa1));const _0x10ef=function(_0xe9b713,_0x201547){_0xe9b713=_0xe9b713-0x0;let _0x10ef66=_0x2015[_0xe9b713];return _0x10ef66;};import{Plugin as _0x262eb4}from'ckeditor5/src/core';import{ShiftEnter as _0x28ebde}from'ckeditor5/src/enter';import{getTranslation as _0x333f50}from'../utils/common-translations';export default class lt extends _0x262eb4{static get[_0x10ef('0x1b')](){return[_0x28ebde];}['init'](){const _0x3331a9=this[_0x10ef('0x18')],_0x374a82=_0x3331a9[_0x10ef('0xf')][_0x10ef('0x17')](_0x10ef('0x1e'));_0x374a82[_0x10ef('0x19')](_0x10ef('0x2')),_0x3331a9[_0x10ef('0xd')]['downcastDispatcher']['on'](_0x10ef('0x1a'),re(_0x3331a9),{'priority':'high'}),_0x3331a9['editing'][_0x10ef('0x10')]['on']('addMarker:suggestion:deletion',re(_0x3331a9),{'priority':'high'}),_0x3331a9['data']['downcastDispatcher']['on'](_0x10ef('0x15'),(_0x137075,_0x2e21d5,_0x3ccc7d)=>{_0x3ccc7d[_0x10ef('0x16')][_0x10ef('0x1')]&&re(_0x3331a9,{'showActiveMarker':!0x1})(_0x137075,_0x2e21d5,_0x3ccc7d);}),_0x374a82[_0x10ef('0x14')][_0x10ef('0x1c')]('softBreak',_0x50f6c9=>_0x333f50(_0x3331a9['locale'],'ELEMENT_LINE_BREAK',_0x50f6c9));}}function re(_0x24ca5d,{showActiveMarker:_0x993728=!0x0}={}){return(_0x1da255,_0xc2034,_0xb2a58)=>{const _0x14fd0a=_0x24ca5d[_0x10ef('0xf')][_0x10ef('0x17')]('TrackChangesEditing');if(!_0xb2a58[_0x10ef('0x11')][_0x10ef('0xa')](_0xc2034[_0x10ef('0x5')],_0x1da255[_0x10ef('0x9')]))return;const _0x24bcbb=_0x24ca5d[_0x10ef('0x21')];for(const _0x464950 of _0xc2034['markerRange'][_0x10ef('0xe')]()){if(!_0x464950['is'](_0x10ef('0x13'),_0x10ef('0x7')))continue;const _0x5a3250=_0x10ef('0xc')==_0xc2034[_0x10ef('0xb')][_0x10ef('0x0')](':')[0x1]?'merge':_0x10ef('0x0'),_0x8e10f6=_0xb2a58[_0x10ef('0x1d')]['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x5a3250}),_0x678e0c=_0xb2a58[_0x10ef('0x1f')][_0x10ef('0x20')](_0x24bcbb['createPositionBefore'](_0x464950));_0x993728&&_0x14fd0a['activeMarkers'][_0x10ef('0x12')](_0xc2034[_0x10ef('0xb')])&&_0xb2a58[_0x10ef('0x1d')][_0x10ef('0x6')](_0x10ef('0x3'),_0x8e10f6),_0xb2a58['writer'][_0x10ef('0x4')](_0x678e0c,_0x8e10f6),_0xb2a58[_0x10ef('0x1f')][_0x10ef('0x8')](_0x8e10f6,_0xc2034[_0x10ef('0xb')]);}};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x10e3=['commands','plugins','getRanges','FORMAT_RESTRICTED_ENABLED','from','commandParams','FORMAT_RESTRICTED_DISABLED','restrictedEditingException','forceValue','enableCommand','StandardEditingModeEditing','afterInit','commandName','get','has','document','format','value','selection','TrackChangesEditing','model','_descriptionFactory','markInlineFormat'];(function(_0x5ef954,_0x10e3a7){const _0x17bd59=function(_0x54d3d7){while(--_0x54d3d7){_0x5ef954['push'](_0x5ef954['shift']());}};_0x17bd59(++_0x10e3a7);}(_0x10e3,0x1f3));const _0x17bd=function(_0x5ef954,_0x10e3a7){_0x5ef954=_0x5ef954-0x0;let _0x17bd59=_0x10e3[_0x5ef954];return _0x17bd59;};import{Plugin as _0x4cd8cd}from'ckeditor5/src/core';import{getRangesWithAttribute as _0x5e342c}from'./utils';import{getTranslation as _0x33af6f}from'../utils/common-translations';export default class gt extends _0x4cd8cd{[_0x17bd('0x12')](){const _0x120a11=this['editor'],_0xc4643=_0x120a11[_0x17bd('0x4')],_0x8baae8=_0x120a11['locale'];if(!_0x120a11[_0x17bd('0x8')][_0x17bd('0x15')](_0x17bd('0x11')))return;const _0x996a92=_0x120a11[_0x17bd('0x8')]['get'](_0x17bd('0x3')),_0x3675f3=_0x17bd('0xe'),_0x3f2a59=_0x120a11[_0x17bd('0x7')][_0x17bd('0x14')](_0x3675f3);_0x996a92[_0x17bd('0x10')](_0x3675f3,(_0x441640,_0xb3af6c={})=>{const _0x326c5b=_0xc4643[_0x17bd('0x16')][_0x17bd('0x2')];if(_0x326c5b['isCollapsed'])return void _0x441640(_0xb3af6c);const _0x226059=void 0x0!==_0xb3af6c['forceValue']?_0xb3af6c[_0x17bd('0xf')]:!_0x3f2a59[_0x17bd('0x1')];_0xc4643['change'](()=>{const _0x108ed7=Array[_0x17bd('0xb')](_0x326c5b[_0x17bd('0x9')]());for(const _0x5879ab of _0x108ed7){const _0x35be4e=_0x226059?[_0x5879ab]:_0x5e342c(_0x3675f3,_0x5879ab,_0xc4643);for(const _0x10706c of _0x35be4e)_0x996a92[_0x17bd('0x6')](_0x10706c,{'commandName':_0x3675f3,'commandParams':[{'forceValue':_0x226059}]});}});}),_0x996a92[_0x17bd('0x5')]['registerDescriptionCallback'](_0x4297d2=>{const {data:_0xe956c5}=_0x4297d2;if(_0xe956c5&&_0xe956c5[_0x17bd('0x13')]==_0x3675f3)return _0xe956c5[_0x17bd('0xc')][0x0][_0x17bd('0xf')]?{'type':_0x17bd('0x0'),'content':_0x33af6f(_0x8baae8,_0x17bd('0xa'))}:{'type':'format','content':_0x33af6f(_0x8baae8,_0x17bd('0xd'))};});}}
23
+ const _0x372a=['change','markInlineFormat','_descriptionFactory','FORMAT_RESTRICTED_ENABLED','restrictedEditingException','locale','plugins','document','forceValue','from','get','format','commandParams','afterInit','isCollapsed','enableCommand','commandName','editor','TrackChangesEditing','value','getRanges','model','commands'];(function(_0x3ee883,_0x372acf){const _0x3f3633=function(_0x5c49ee){while(--_0x5c49ee){_0x3ee883['push'](_0x3ee883['shift']());}};_0x3f3633(++_0x372acf);}(_0x372a,0x16c));const _0x3f36=function(_0x3ee883,_0x372acf){_0x3ee883=_0x3ee883-0x0;let _0x3f3633=_0x372a[_0x3ee883];return _0x3f3633;};import{Plugin as _0x17af85}from'ckeditor5/src/core';import{getRangesWithAttribute as _0x41d363}from'./utils';import{getTranslation as _0x681d23}from'../utils/common-translations';export default class gt extends _0x17af85{[_0x3f36('0x11')](){const _0x48fabd=this[_0x3f36('0x15')],_0xc326c7=_0x48fabd[_0x3f36('0x2')],_0x570663=_0x48fabd[_0x3f36('0x9')];if(!_0x48fabd[_0x3f36('0xa')]['has']('StandardEditingModeEditing'))return;const _0x5ef787=_0x48fabd[_0x3f36('0xa')]['get'](_0x3f36('0x16')),_0x26278f=_0x3f36('0x8'),_0x4a547e=_0x48fabd[_0x3f36('0x3')][_0x3f36('0xe')](_0x26278f);_0x5ef787[_0x3f36('0x13')](_0x26278f,(_0x1f25c3,_0x5a9bd2={})=>{const _0xa6bff8=_0xc326c7[_0x3f36('0xb')]['selection'];if(_0xa6bff8[_0x3f36('0x12')])return void _0x1f25c3(_0x5a9bd2);const _0x7de189=void 0x0!==_0x5a9bd2[_0x3f36('0xc')]?_0x5a9bd2['forceValue']:!_0x4a547e[_0x3f36('0x0')];_0xc326c7[_0x3f36('0x4')](()=>{const _0x17b1db=Array[_0x3f36('0xd')](_0xa6bff8[_0x3f36('0x1')]());for(const _0x43c853 of _0x17b1db){const _0x252220=_0x7de189?[_0x43c853]:_0x41d363(_0x26278f,_0x43c853,_0xc326c7);for(const _0x7c5df7 of _0x252220)_0x5ef787[_0x3f36('0x5')](_0x7c5df7,{'commandName':_0x26278f,'commandParams':[{'forceValue':_0x7de189}]});}});}),_0x5ef787[_0x3f36('0x6')]['registerDescriptionCallback'](_0x1e0ba6=>{const {data:_0xa6d94f}=_0x1e0ba6;if(_0xa6d94f&&_0xa6d94f[_0x3f36('0x14')]==_0x26278f)return _0xa6d94f[_0x3f36('0x10')][0x0]['forceValue']?{'type':_0x3f36('0xf'),'content':_0x681d23(_0x570663,_0x3f36('0x7'))}:{'type':'format','content':_0x681d23(_0x570663,'FORMAT_RESTRICTED_DISABLED')};});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4f86=['value','includes','_getStyleDefinition','isBlock','config','every','commands','TrackChangesEditing','registerDescriptionCallback','selection','forceValue','markBlockFormat','format','from','style.definitions','markInlineFormat','name','find','getAttribute','createRangeOn','style:','getSelectedBlocks','enabledStyles','getDefinitionsForView','classes','plugins','block','getAncestors','isCollapsed','style','Style','*Remove\x20format:*\x20%0','commandParams','getItems','getRanges','modelElements','element','normalizeConfig','change','editor','styleName','model','get'];(function(_0x2439db,_0x4f86b4){const _0x53e667=function(_0x4f99e9){while(--_0x4f99e9){_0x2439db['push'](_0x2439db['shift']());}};_0x53e667(++_0x4f86b4);}(_0x4f86,0xfc));const _0x53e6=function(_0x2439db,_0x4f86b4){_0x2439db=_0x2439db-0x0;let _0x53e667=_0x4f86[_0x2439db];return _0x53e667;};import{Plugin as _0x356e37}from'ckeditor5/src/core';import{getTranslation as _0x24fb8b}from'../utils/common-translations';export default class mt extends _0x356e37{['afterInit'](){const _0x2ff319=this[_0x53e6('0x2')];if(!_0x2ff319[_0x53e6('0x1f')]['has'](_0x53e6('0x24')))return;const _0x513d79=_0x2ff319[_0x53e6('0xc')][_0x53e6('0x5')](_0x53e6('0x23')),_0x1ecabf=_0x2ff319[_0x53e6('0x1f')][_0x53e6('0x5')](_0x53e6('0xd')),_0xa9ddc3=_0x2ff319['locale'],_0x152821=_0x2ff319['plugins'][_0x53e6('0x5')]('DataSchema'),_0x2e6023=_0x2ff319['plugins'][_0x53e6('0x5')]('StyleUtils')[_0x53e6('0x0')](_0x152821,_0x2ff319[_0x53e6('0xa')][_0x53e6('0x5')](_0x53e6('0x14')));_0x1ecabf['enableCommand'](_0x53e6('0x23'),(_0x335a1c,{styleName:_0xca028b})=>{const _0x322984=_0x2ff319[_0x53e6('0x4')]['document'][_0x53e6('0xf')],_0x41a6d3=this[_0x53e6('0x8')](_0xca028b,_0x2e6023);if(!_0x41a6d3)return;if(!_0x513d79[_0x53e6('0x1c')]['includes'](_0xca028b))return;if(_0x322984[_0x53e6('0x22')]&&!_0x41a6d3[_0x53e6('0x9')])return void _0x335a1c({'styleName':_0xca028b});const _0x1bcc92=!_0x513d79[_0x53e6('0x6')][_0x53e6('0x7')](_0x41a6d3[_0x53e6('0x16')]);if(_0x41a6d3[_0x53e6('0x9')]){const _0x217950=function(_0x180237,_0x730a68){const _0x4ad563=new Set();for(const _0x3a1487 of _0x180237){const _0x1ced7e=_0x3a1487[_0x53e6('0x21')]({'includeSelf':!0x0,'parentFirst':!0x0});for(const _0x1a45e2 of _0x1ced7e)if(_0x730a68['includes'](_0x1a45e2[_0x53e6('0x16')])){_0x4ad563['add'](_0x1a45e2);break;}}return _0x4ad563;}(_0x322984[_0x53e6('0x1b')](),_0x41a6d3[_0x53e6('0x29')]);_0x2ff319[_0x53e6('0x4')][_0x53e6('0x1')](()=>{for(const _0x47a4bd of _0x217950)_0x1ecabf[_0x53e6('0x11')](_0x47a4bd,{'commandName':_0x53e6('0x23'),'commandParams':[{'styleName':_0xca028b,'forceValue':_0x1bcc92}],'formatGroupId':_0x53e6('0x1a')+_0xca028b});});}else{let _0x5dd28e=Array['from'](_0x322984[_0x53e6('0x28')]());if(!_0x1bcc92){const _0x42f6ce=Array[_0x53e6('0x13')](_0x152821[_0x53e6('0x1d')](_0x41a6d3[_0x53e6('0x2a')],!0x1))[0x0][_0x53e6('0x4')],_0x17f575=[];for(const _0x554966 of _0x5dd28e){const _0x534767=this['_getRangesWithClasses'](_0x2ff319[_0x53e6('0x4')],_0x554966,_0x41a6d3[_0x53e6('0x1e')],_0x42f6ce);_0x17f575['push'](..._0x534767);}_0x5dd28e=_0x17f575;}_0x2ff319[_0x53e6('0x4')][_0x53e6('0x1')](()=>{for(const _0x950a4f of _0x5dd28e)_0x1ecabf[_0x53e6('0x15')](_0x950a4f,{'commandName':_0x53e6('0x23'),'commandParams':[{'styleName':_0xca028b,'forceValue':_0x1bcc92}]});});}}),_0x1ecabf['_descriptionFactory'][_0x53e6('0xe')](_0x2b8157=>{const {data:_0xffca4f}=_0x2b8157;if(_0xffca4f&&_0x53e6('0x23')===_0xffca4f['commandName'])return _0xffca4f[_0x53e6('0x26')][0x0][_0x53e6('0x10')]?{'type':_0x53e6('0x12'),'content':_0x24fb8b(_0xa9ddc3,'*Format:*\x20%0',_0xffca4f[_0x53e6('0x26')][0x0][_0x53e6('0x3')]['toLowerCase']())}:{'type':_0x53e6('0x12'),'content':_0x24fb8b(_0xa9ddc3,_0x53e6('0x25'),_0xffca4f[_0x53e6('0x26')][0x0][_0x53e6('0x3')]['toLowerCase']())};});}[_0x53e6('0x8')](_0x34dd9a,_0x41c92a){let _0x33d7ac=_0x41c92a[_0x53e6('0x20')][_0x53e6('0x17')](_0x34fed5=>_0x34fed5[_0x53e6('0x16')]===_0x34dd9a);return _0x33d7ac||(_0x33d7ac=_0x41c92a['inline'][_0x53e6('0x17')](_0xba6f75=>_0xba6f75['name']===_0x34dd9a)),_0x33d7ac;}['_getRangesWithClasses'](_0x2803f8,_0x487aef,_0x4e50d5,_0x40ed02){const _0x18f805=[];for(const _0x16f4a6 of _0x487aef[_0x53e6('0x27')]()){const _0x3589f0=_0x16f4a6[_0x53e6('0x18')](_0x40ed02);_0x3589f0&&(_0x4e50d5[_0x53e6('0xb')](_0x4a3457=>_0x3589f0[_0x53e6('0x1e')][_0x53e6('0x7')](_0x4a3457))&&_0x18f805['push'](_0x2803f8[_0x53e6('0x19')](_0x16f4a6)));}return _0x18f805;}}
23
+ const _0x1236=['format','createRangeOn','includes','isBlock','styleName','afterInit','name','element','selection','commandName','style','change','inline','every','document','StyleUtils','_descriptionFactory','markBlockFormat','model','find','getAttribute','getDefinitionsForView','style:','markInlineFormat','locale','getSelectedBlocks','normalizeConfig','getRanges','modelElements','_getStyleDefinition','config','value','DataSchema','plugins','style.definitions','registerDescriptionCallback','isCollapsed','commandParams','push','forceValue','block','get','toLowerCase','_getRangesWithClasses','editor','add','from','Style'];(function(_0x932879,_0x123617){const _0x4ce014=function(_0x3da319){while(--_0x3da319){_0x932879['push'](_0x932879['shift']());}};_0x4ce014(++_0x123617);}(_0x1236,0x8a));const _0x4ce0=function(_0x932879,_0x123617){_0x932879=_0x932879-0x0;let _0x4ce014=_0x1236[_0x932879];return _0x4ce014;};import{Plugin as _0x174b71}from'ckeditor5/src/core';import{getTranslation as _0x4dc0f4}from'../utils/common-translations';export default class mt extends _0x174b71{[_0x4ce0('0xb')](){const _0x59f3a1=this[_0x4ce0('0x2')];if(!_0x59f3a1['plugins']['has'](_0x4ce0('0x5')))return;const _0x5b8783=_0x59f3a1['commands']['get'](_0x4ce0('0x10')),_0x1bdf0e=_0x59f3a1['plugins'][_0x4ce0('0x2f')]('TrackChangesEditing'),_0x2892d1=_0x59f3a1[_0x4ce0('0x1e')],_0x1279ef=_0x59f3a1[_0x4ce0('0x27')]['get'](_0x4ce0('0x26')),_0xb7b737=_0x59f3a1[_0x4ce0('0x27')]['get'](_0x4ce0('0x15'))[_0x4ce0('0x20')](_0x1279ef,_0x59f3a1[_0x4ce0('0x24')][_0x4ce0('0x2f')](_0x4ce0('0x28')));_0x1bdf0e['enableCommand'](_0x4ce0('0x10'),(_0x1ed12b,{styleName:_0x4ec448})=>{const _0x1640c4=_0x59f3a1[_0x4ce0('0x18')][_0x4ce0('0x14')][_0x4ce0('0xe')],_0x2e8d5f=this['_getStyleDefinition'](_0x4ec448,_0xb7b737);if(!_0x2e8d5f)return;if(!_0x5b8783['enabledStyles'][_0x4ce0('0x8')](_0x4ec448))return;if(_0x1640c4[_0x4ce0('0x2a')]&&!_0x2e8d5f['isBlock'])return void _0x1ed12b({'styleName':_0x4ec448});const _0x174c66=!_0x5b8783[_0x4ce0('0x25')][_0x4ce0('0x8')](_0x2e8d5f['name']);if(_0x2e8d5f[_0x4ce0('0x9')]){const _0x3aa167=function(_0x2cd8e3,_0x17ef93){const _0x2451b9=new Set();for(const _0xdaca51 of _0x2cd8e3){const _0x2e49db=_0xdaca51['getAncestors']({'includeSelf':!0x0,'parentFirst':!0x0});for(const _0x2edc06 of _0x2e49db)if(_0x17ef93[_0x4ce0('0x8')](_0x2edc06[_0x4ce0('0xc')])){_0x2451b9[_0x4ce0('0x3')](_0x2edc06);break;}}return _0x2451b9;}(_0x1640c4[_0x4ce0('0x1f')](),_0x2e8d5f[_0x4ce0('0x22')]);_0x59f3a1[_0x4ce0('0x18')]['change'](()=>{for(const _0x361f9d of _0x3aa167)_0x1bdf0e[_0x4ce0('0x17')](_0x361f9d,{'commandName':_0x4ce0('0x10'),'commandParams':[{'styleName':_0x4ec448,'forceValue':_0x174c66}],'formatGroupId':_0x4ce0('0x1c')+_0x4ec448});});}else{let _0x5a0b2c=Array[_0x4ce0('0x4')](_0x1640c4[_0x4ce0('0x21')]());if(!_0x174c66){const _0x154484=Array[_0x4ce0('0x4')](_0x1279ef[_0x4ce0('0x1b')](_0x2e8d5f[_0x4ce0('0xd')],!0x1))[0x0][_0x4ce0('0x18')],_0x32e544=[];for(const _0x411da5 of _0x5a0b2c){const _0x1e67a4=this[_0x4ce0('0x1')](_0x59f3a1['model'],_0x411da5,_0x2e8d5f['classes'],_0x154484);_0x32e544['push'](..._0x1e67a4);}_0x5a0b2c=_0x32e544;}_0x59f3a1[_0x4ce0('0x18')][_0x4ce0('0x11')](()=>{for(const _0x2a5d96 of _0x5a0b2c)_0x1bdf0e[_0x4ce0('0x1d')](_0x2a5d96,{'commandName':'style','commandParams':[{'styleName':_0x4ec448,'forceValue':_0x174c66}]});});}}),_0x1bdf0e[_0x4ce0('0x16')][_0x4ce0('0x29')](_0x3aed90=>{const {data:_0x2b6109}=_0x3aed90;if(_0x2b6109&&_0x4ce0('0x10')===_0x2b6109[_0x4ce0('0xf')])return _0x2b6109[_0x4ce0('0x2b')][0x0][_0x4ce0('0x2d')]?{'type':_0x4ce0('0x6'),'content':_0x4dc0f4(_0x2892d1,'*Format:*\x20%0',_0x2b6109[_0x4ce0('0x2b')][0x0][_0x4ce0('0xa')][_0x4ce0('0x0')]())}:{'type':_0x4ce0('0x6'),'content':_0x4dc0f4(_0x2892d1,'*Remove\x20format:*\x20%0',_0x2b6109[_0x4ce0('0x2b')][0x0][_0x4ce0('0xa')][_0x4ce0('0x0')]())};});}[_0x4ce0('0x23')](_0x18350e,_0x309459){let _0x5d7894=_0x309459[_0x4ce0('0x2e')]['find'](_0x4fac6c=>_0x4fac6c[_0x4ce0('0xc')]===_0x18350e);return _0x5d7894||(_0x5d7894=_0x309459[_0x4ce0('0x12')][_0x4ce0('0x19')](_0x9ba2b5=>_0x9ba2b5[_0x4ce0('0xc')]===_0x18350e)),_0x5d7894;}[_0x4ce0('0x1')](_0x32e66c,_0x144fb3,_0x2c6a9e,_0x2f2f41){const _0x489ee7=[];for(const _0x5be5c9 of _0x144fb3['getItems']()){const _0x2b83c5=_0x5be5c9[_0x4ce0('0x1a')](_0x2f2f41);_0x2b83c5&&(_0x2c6a9e[_0x4ce0('0x13')](_0x5c744f=>_0x2b83c5['classes'][_0x4ce0('0x8')](_0x5c744f))&&_0x489ee7[_0x4ce0('0x2c')](_0x32e66c[_0x4ce0('0x7')](_0x5be5c9)));}return _0x489ee7;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x51c8=['last','isArray','table','from','addMarker:suggestion','minColumn','afterInit','selectTableRow','createPositionAt','insertTableColumnRight','execute','start','_tableSuggestions','root','isEqual','document','span','above','ELEMENT_TABLE_ROW','selection','every','getAttribute','*Insert:*\x20%0','registerDescriptionCallback','toLowerCase','join','getChanges','enqueueChange','getChildren','tableColumn','tablePaste','some','filter','$graveyard','substr','insertion','insertTableColumnLeft','getChangedMarkers','showSuggestionHighlights','element','isInContent','ELEMENT_TABLE_ROW_WITH_TEXT','ELEMENT_TABLE_WITH_TEXT','min','highest','push','item','locale','rootName','accept','isIntersectingWithRange','getContainedElement','subType','_acceptFormatSuggestionCallbackFactory','editor','name','left','getFirstRange','refresh','toViewElement','max','has','colspan','setSelection','deletion','isTouching','rowspan','markMultiRangeInsertion','getSelectionAffectedTableCells','getCellLocation','removeTableColumn','addRange','TableUtils','nodeAfter','hasAttribute','plugins','createRangeOn','getItems','ELEMENT_TABLE','findAncestor','get','commands','_getSuggestionCoords','createRangeIn','add','change:data','ELEMENT_TABLE_COLUMN','insertTableRowBelow','getRanges','addClass','removeTableRow','tableRow','classes','forceValue','getRowIndexes','length','position','tableCell','MIN_SAFE_INTEGER','order','selectTableColumn','createTableWalker','writer','TableEditing','data','change','registerElementLabel','cell','type','_setupColumnsRowsFixing','registerCustomCallback','maxColumn','getColumnIndexes','_splitMarkerName','discard','map','_tablePostFixingSubtypes','markMultiRangeDeletion','_suggestionFactory','nodeBefore','MAX_SAFE_INTEGER','first','includes','maxRow','getSuggestion','$textProxy','_descriptionFactory','end','batch','options','model','*Remove:*\x20%0','detach','TrackChangesEditing','fromRange','enableCommand','suggestion'];(function(_0x1a1634,_0x51c88c){const _0x343785=function(_0x47fe0a){while(--_0x47fe0a){_0x1a1634['push'](_0x1a1634['shift']());}};_0x343785(++_0x51c88c);}(_0x51c8,0xd1));const _0x3437=function(_0x1a1634,_0x51c88c){_0x1a1634=_0x1a1634-0x0;let _0x343785=_0x51c8[_0x1a1634];return _0x343785;};import{Plugin as _0xb0cbab}from'ckeditor5/src/core';import{LiveRange as _0x31f109}from'ckeditor5/src/engine';import{setHighlightHandling as _0x1219f1}from'ckeditor5/src/widget';import{getTranslation as _0x57e92f}from'../utils/common-translations';export default class dt extends _0xb0cbab{constructor(_0x55a8fc){super(_0x55a8fc),this[_0x3437('0x2c')]=['tableRow',_0x3437('0x5e')],this['_tableSuggestions']=new Set();}[_0x3437('0x47')](){const _0x392c55=this[_0x3437('0x77')],_0x27cf9f=_0x392c55['model'][_0x3437('0x50')][_0x3437('0x54')];if(!_0x392c55[_0x3437('0x3')][_0x3437('0x7e')](_0x3437('0x1f')))return;const _0x76d4a4=_0x392c55[_0x3437('0x70')],_0x30f0fb=_0x392c55[_0x3437('0x3')][_0x3437('0x8')](_0x3437('0x3d')),_0x4788e7=_0x392c55[_0x3437('0x3')][_0x3437('0x8')](_0x3437('0x0'));_0x30f0fb[_0x3437('0x36')][_0x3437('0x22')](_0x3437('0x43'),_0x3081ea=>_0x57e92f(_0x76d4a4,_0x3437('0x6'),_0x3081ea)),this[_0x3437('0x25')](),_0x30f0fb[_0x3437('0x3f')]('insertTable'),_0x30f0fb['enableCommand'](_0x3437('0x48')),_0x30f0fb[_0x3437('0x3f')](_0x3437('0x1c'));for(const _0x5bee54 of['insertTableRowAbove',_0x3437('0xf')]){const _0x279768=_0x392c55[_0x3437('0x9')]['get'](_0x5bee54);_0x30f0fb[_0x3437('0x3f')](_0x5bee54,_0x77e285=>{_0x392c55[_0x3437('0x3a')][_0x3437('0x21')](_0x1ec1b2=>{_0x77e285();const _0x2daaa5=_0x3437('0x52')===_0x279768[_0x3437('0x1b')],_0x40836b=_0x4788e7[_0x3437('0x85')](_0x27cf9f),_0x57e3e8=_0x4788e7[_0x3437('0x16')](_0x40836b),_0x269b7=_0x2daaa5?_0x57e3e8[_0x3437('0x31')]-0x1:_0x57e3e8[_0x3437('0x41')]+0x1,_0x25c6ec=_0x40836b[0x0][_0x3437('0x7')](_0x3437('0x43')),_0x1e91c3=_0x4788e7[_0x3437('0x1d')](_0x25c6ec,{'startRow':_0x269b7,'endRow':_0x269b7}),_0x1081d0=Array[_0x3437('0x44')](_0x1e91c3)[_0x3437('0x2b')](_0x2a02a2=>_0x1ec1b2[_0x3437('0x4')](_0x2a02a2[_0x3437('0x23')]));_0x30f0fb['markMultiRangeInsertion'](_0x1081d0,_0x3437('0x13'));});});}for(const _0x16addb of[_0x3437('0x65'),_0x3437('0x4a')]){const _0x38edea=_0x392c55[_0x3437('0x9')]['get'](_0x16addb);_0x30f0fb['enableCommand'](_0x16addb,_0x5a6034=>{_0x392c55[_0x3437('0x3a')][_0x3437('0x21')](_0xc77e22=>{_0x5a6034();const _0x38045e=_0x3437('0x79')===_0x38edea['order'],_0x288986=_0x4788e7[_0x3437('0x85')](_0x27cf9f),_0x334d70=_0x4788e7['getColumnIndexes'](_0x288986),_0x1a9b33=_0x38045e?_0x334d70[_0x3437('0x31')]-0x1:_0x334d70['last']+0x1,_0x249077=_0x288986[0x0][_0x3437('0x7')]('table'),_0x1d851d=_0x4788e7[_0x3437('0x1d')](_0x249077,{'startRow':0x0,'column':_0x1a9b33,'includeAllSlots':!0x1}),_0x245211=Array[_0x3437('0x44')](_0x1d851d)['map'](_0x1a9e20=>_0xc77e22[_0x3437('0x4')](_0x1a9e20[_0x3437('0x23')]));_0x30f0fb[_0x3437('0x84')](_0x245211,_0x3437('0x5e'));});});}for(const _0x9e51a0 of[_0x3437('0x12'),_0x3437('0x87')]){const _0x366ab6=_0x9e51a0['substr'](0xb),_0x4c9f29=_0x366ab6[_0x3437('0x59')](),_0x4f2d66=_0x4c9f29['substr'](0x0,0x3)+'span',_0x4f4bfa=_0x3437('0x43')+_0x366ab6,_0x22cfaf='min'+_0x366ab6,_0x5e7e93=_0x3437('0x7d')+_0x366ab6;_0x30f0fb[_0x3437('0x3f')](_0x9e51a0,()=>{_0x392c55[_0x3437('0x3a')]['change'](_0x2b3201=>{const _0x588f11=_0x4788e7[_0x3437('0x85')](_0x27cf9f),_0x243248=_0x588f11[0x0][_0x3437('0x7')](_0x3437('0x43'));let _0x1cd5ec;if('removeTableRow'==_0x9e51a0){const _0x2b09b6=_0x4788e7[_0x3437('0x16')](_0x588f11);_0x1cd5ec={'startRow':_0x2b09b6['first'],'endRow':_0x2b09b6[_0x3437('0x41')],'includeAllSlots':!0x0};}else{const _0x5c8692=_0x4788e7[_0x3437('0x28')](_0x588f11);_0x1cd5ec={'startColumn':_0x5c8692[_0x3437('0x31')],'endColumn':_0x5c8692['last'],'includeAllSlots':!0x0};}const _0x506135=_0x4788e7[_0x3437('0x1d')](_0x243248,_0x1cd5ec),_0xac90b2=Array['from'](_0x506135)['map'](({cell:_0x239dd2})=>_0x239dd2),_0x110518=se(_0xac90b2['filter'](_0x50083b=>_0x50083b[_0x3437('0x2')](_0x4f2d66))),_0x597aa1=se(_0xac90b2[_0x3437('0x61')](_0x5c7aa7=>!_0x5c7aa7[_0x3437('0x2')](_0x4f2d66)))[_0x3437('0x2b')](_0x209909=>_0x2b3201['createRangeOn'](_0x209909)),_0xc249ac=_0x30f0fb[_0x3437('0x2d')](_0x597aa1,_0x4f4bfa);if(_0xc249ac&&('tableRow'==_0xc249ac[_0x3437('0x75')]||_0x3437('0x5e')==_0xc249ac[_0x3437('0x75')])){const _0x1e808d=this[_0x3437('0xa')](_0xc249ac);for(const _0x2611ca of _0x110518){const _0x5f4d20=_0x2b3201['createRangeOn'](_0x2611ca),_0x264009=_0x4788e7[_0x3437('0x86')](_0x2611ca),_0x29501a=_0x2611ca[_0x3437('0x56')](_0x4f2d66)-0x1,_0x1fdf19=_0x1e808d[_0x22cfaf],_0x35a793=_0x1e808d[_0x5e7e93];_0x1fdf19<=_0x264009[_0x4c9f29]&&_0x264009[_0x4c9f29]+_0x29501a<=_0x35a793&&_0xc249ac[_0x3437('0x88')](_0x5f4d20);}}});});}function _0x361d10(_0x592ac4){const _0x5cf4b2=Array[_0x3437('0x44')](_0x27cf9f[_0x3437('0x10')]())[_0x3437('0x2b')](_0x4ee186=>_0x31f109['fromRange'](_0x4ee186));_0x392c55[_0x3437('0x3a')]['change'](_0x25c210=>{const _0x4a9585=_0x25c210[_0x3437('0x38')];_0x592ac4=_0x592ac4[_0x3437('0x61')](_0x4e64a5=>_0x3437('0x62')!=_0x4e64a5[_0x3437('0x4e')]['rootName']),_0x25c210[_0x3437('0x80')](_0x592ac4),_0x392c55[_0x3437('0x9')][_0x3437('0x8')]('removeTableRow')[_0x3437('0x7b')](),_0x392c55[_0x3437('0x4b')]('removeTableRow',{'forceDefaultExecution':!0x0}),_0x392c55['model']['enqueueChange'](()=>{_0x392c55[_0x3437('0x3a')][_0x3437('0x5c')](_0x4a9585,_0x31302a=>{const _0x59889c=_0x5cf4b2['filter'](_0x35c395=>_0x3437('0x62')!=_0x35c395[_0x3437('0x4e')][_0x3437('0x71')]);_0x59889c['length']>0x0&&_0x31302a[_0x3437('0x80')](_0x59889c);for(const _0x2dc522 of _0x5cf4b2)_0x2dc522[_0x3437('0x3c')]();});});});}function _0x415239(_0x3fcaa8){_0x392c55['model'][_0x3437('0x21')](_0x53058c=>{const _0x1b5eed=Array[_0x3437('0x44')](_0x27cf9f[_0x3437('0x10')]())['map'](_0x12dc35=>_0x31f109[_0x3437('0x3e')](_0x12dc35)),_0x5b655a=[];for(const _0x1d22ef of _0x3fcaa8)for(const _0x2f8059 of _0x1d22ef[_0x3437('0x5')]({'shallow':!0x0}))_0x5b655a[_0x3437('0x6e')](_0x2f8059);for(const _0x1a43c6 of _0x5b655a)'$graveyard'!=_0x1a43c6['root'][_0x3437('0x71')]&&(_0x53058c[_0x3437('0x80')](_0x53058c[_0x3437('0x49')](_0x1a43c6,0x0)),_0x392c55[_0x3437('0x9')][_0x3437('0x8')](_0x3437('0x87'))['refresh'](),_0x392c55['execute']('removeTableColumn',{'forceDefaultExecution':!0x0}));const _0x291b59=_0x1b5eed[_0x3437('0x61')](_0x3439b9=>_0x3437('0x62')!=_0x3439b9[_0x3437('0x4e')][_0x3437('0x71')]);_0x291b59[_0x3437('0x17')]>0x0&&_0x53058c[_0x3437('0x80')](_0x291b59);for(const _0x5a17b5 of _0x1b5eed)_0x5a17b5[_0x3437('0x3c')]();});}function _0x3a8162(_0x387e77,_0x536346){return _0x536346[_0x3437('0x55')](_0x2b9718=>_0x387e77[_0x3437('0x60')](_0x134f71=>_0x134f71[_0x3437('0x37')][_0x3437('0x4f')](_0x2b9718[_0x3437('0x4c')])||_0x2b9718[_0x3437('0x37')]['isEqual'](_0x134f71['start'])));}function _0x5d8b89(_0x494ddd,_0x594358){return _0x494ddd[_0x3437('0x60')](_0x5bef8d=>_0x594358['some'](_0xbcd459=>_0x5bef8d['end'][_0x3437('0x82')](_0xbcd459[_0x3437('0x4c')])));}_0x392c55['data']['downcastDispatcher']['on'](_0x3437('0x45'),(_0x2be690,_0x529ad5,_0x4d9cf5)=>{if(!_0x4d9cf5[_0x3437('0x39')][_0x3437('0x67')])return;const _0x195a66=_0x529ad5[_0x3437('0x6f')];if(!_0x195a66)return;const _0x270d05=_0x4d9cf5['mapper'][_0x3437('0x7c')](_0x195a66);function _0xaedb4a(_0x3d801f){return Array[_0x3437('0x42')](_0x3d801f)?_0x3d801f:[_0x3d801f];}_0x270d05&&_0x3437('0x19')===_0x195a66[_0x3437('0x78')]&&_0x1219f1(_0x270d05,_0x4d9cf5[_0x3437('0x1e')],(_0x5109d6,_0x323d98,_0x13f25b)=>_0x13f25b[_0x3437('0x11')](_0xaedb4a(_0x323d98['classes']),_0x5109d6),(_0x21d0e3,_0x588efb,_0x429b14)=>_0x429b14['removeClass'](_0xaedb4a(_0x588efb[_0x3437('0x14')]),_0x21d0e3));},{'priority':_0x3437('0x6d')}),_0x30f0fb[_0x3437('0x36')]['registerDescriptionCallback'](_0x1cdaaa=>{if('insertion'!=_0x1cdaaa['type']&&_0x3437('0x81')!=_0x1cdaaa['type'])return;const _0x42c3bc=_0x1cdaaa[_0x3437('0x74')]();if(null!=_0x42c3bc&&_0x42c3bc['is'](_0x3437('0x68'),_0x3437('0x43'))){if(_0x3437('0x64')==_0x1cdaaa[_0x3437('0x24')]){const _0x209553=_0x1cdaaa[_0x3437('0x5')]()[_0x3437('0x61')](_0x19ba11=>_0x19ba11['is'](_0x3437('0x35')))['map'](_0x308d16=>_0x308d16[_0x3437('0x20')]);if(_0x209553[_0x3437('0x17')])return{'type':_0x3437('0x64'),'content':_0x57e92f(_0x76d4a4,_0x3437('0x57'),_0x57e92f(_0x76d4a4,_0x3437('0x6b'),'\x22'+_0x209553['join']('\x20')+'\x22'))};}if(_0x3437('0x81')==_0x1cdaaa[_0x3437('0x24')]){const _0x5e0b8f=_0x1cdaaa[_0x3437('0x5')]()[_0x3437('0x61')](_0x11cb2a=>_0x11cb2a['is'](_0x3437('0x35')))[_0x3437('0x2b')](_0x5415ba=>_0x5415ba[_0x3437('0x20')]);if(_0x5e0b8f[_0x3437('0x17')])return{'type':'deletion','content':_0x57e92f(_0x76d4a4,_0x3437('0x3b'),_0x57e92f(_0x76d4a4,'ELEMENT_TABLE_WITH_TEXT','\x22'+_0x5e0b8f['join']('\x20')+'\x22'))};}}}),_0x30f0fb[_0x3437('0x36')][_0x3437('0x58')](_0x513317=>{if(_0x3437('0x13')==_0x513317[_0x3437('0x75')]){const _0x1e6d5b=_0x513317[_0x3437('0x5')]()[_0x3437('0x61')](_0x157524=>_0x157524['is'](_0x3437('0x35')))['map'](_0x375e5f=>_0x375e5f[_0x3437('0x20')]),_0x57df4c=this['_getSuggestionCoords'](_0x513317),_0x43b01b=_0x57df4c[_0x3437('0x33')]-_0x57df4c['minRow']+0x1;if(_0x3437('0x64')==_0x513317[_0x3437('0x24')])return _0x1e6d5b[_0x3437('0x17')]?{'type':_0x3437('0x64'),'content':_0x57e92f(_0x76d4a4,'*Insert:*\x20%0',_0x57e92f(_0x76d4a4,_0x3437('0x6a'),[_0x43b01b,'\x22'+_0x1e6d5b[_0x3437('0x5a')]('\x20')+'\x22']))}:{'type':_0x3437('0x64'),'content':_0x57e92f(_0x76d4a4,'*Insert:*\x20%0',_0x57e92f(_0x76d4a4,'ELEMENT_TABLE_ROW',_0x43b01b))};if(_0x3437('0x81')==_0x513317[_0x3437('0x24')])return _0x1e6d5b[_0x3437('0x17')]?{'type':_0x3437('0x81'),'content':_0x57e92f(_0x76d4a4,_0x3437('0x3b'),_0x57e92f(_0x76d4a4,'ELEMENT_TABLE_ROW_WITH_TEXT',[_0x43b01b,'\x22'+_0x1e6d5b[_0x3437('0x5a')]('\x20')+'\x22']))}:{'type':'deletion','content':_0x57e92f(_0x76d4a4,_0x3437('0x3b'),_0x57e92f(_0x76d4a4,_0x3437('0x53'),_0x43b01b))};}if(_0x3437('0x5e')==_0x513317[_0x3437('0x75')]){const _0x526df4=_0x513317[_0x3437('0x5')]()[_0x3437('0x61')](_0x1323db=>_0x1323db['is'](_0x3437('0x35')))['map'](_0x41a9a7=>_0x41a9a7['data']),_0x42fde2=this[_0x3437('0xa')](_0x513317),_0x72a0ff=_0x42fde2[_0x3437('0x27')]-_0x42fde2[_0x3437('0x46')]+0x1;if('insertion'==_0x513317[_0x3437('0x24')])return _0x526df4[_0x3437('0x17')]?{'type':_0x3437('0x64'),'content':_0x57e92f(_0x76d4a4,_0x3437('0x57'),_0x57e92f(_0x76d4a4,'ELEMENT_TABLE_COLUMN_WITH_TEXT',[_0x72a0ff,'\x22'+_0x526df4[_0x3437('0x5a')]('\x20')+'\x22']))}:{'type':_0x3437('0x64'),'content':_0x57e92f(_0x76d4a4,_0x3437('0x57'),_0x57e92f(_0x76d4a4,'ELEMENT_TABLE_COLUMN',_0x72a0ff))};if(_0x3437('0x81')==_0x513317['type'])return _0x526df4['length']?{'type':_0x3437('0x81'),'content':_0x57e92f(_0x76d4a4,_0x3437('0x3b'),_0x57e92f(_0x76d4a4,'ELEMENT_TABLE_COLUMN_WITH_TEXT',[_0x72a0ff,'\x22'+_0x526df4[_0x3437('0x5a')]('\x20')+'\x22']))}:{'type':_0x3437('0x81'),'content':_0x57e92f(_0x76d4a4,_0x3437('0x3b'),_0x57e92f(_0x76d4a4,_0x3437('0xe'),_0x72a0ff))};}}),_0x30f0fb['_suggestionFactory'][_0x3437('0x26')](_0x3437('0x64'),_0x3437('0x13'),_0x3437('0x2a'),_0x361d10),_0x30f0fb[_0x3437('0x2e')][_0x3437('0x26')](_0x3437('0x81'),'tableRow',_0x3437('0x72'),_0x361d10),_0x30f0fb[_0x3437('0x2e')][_0x3437('0x26')](_0x3437('0x64'),'tableColumn',_0x3437('0x2a'),_0x415239),_0x30f0fb['_suggestionFactory']['registerCustomCallback']('deletion',_0x3437('0x5e'),_0x3437('0x72'),_0x415239),_0x30f0fb[_0x3437('0x2e')]['registerCustomCallback'](_0x3437('0x64'),_0x3437('0x5e'),_0x3437('0x5a'),_0x3a8162),_0x30f0fb['_suggestionFactory']['registerCustomCallback']('deletion','tableColumn',_0x3437('0x5a'),_0x3a8162),_0x30f0fb['_suggestionFactory'][_0x3437('0x26')](_0x3437('0x64'),_0x3437('0x13'),_0x3437('0x5a'),_0x5d8b89),_0x30f0fb[_0x3437('0x2e')][_0x3437('0x26')](_0x3437('0x81'),_0x3437('0x13'),_0x3437('0x5a'),_0x5d8b89);}[_0x3437('0x76')](){const _0x40e68c=this['editor'],_0x56464e=_0x40e68c[_0x3437('0x3a')][_0x3437('0x50')]['selection'];return(_0x5f2429,_0x6f8fe8)=>{_0x40e68c[_0x3437('0x3a')]['change'](_0x1e75c1=>{const {commandName:_0x3df21b,commandParams:_0x2eee2}=_0x6f8fe8;let _0xeb2127=_0x5f2429[0x0][_0x3437('0x37')][_0x3437('0x2f')];_0x2eee2&&_0x2eee2[0x0]&&!0x1===_0x2eee2[0x0][_0x3437('0x15')]&&(_0xeb2127=_0x5f2429[0x0][_0x3437('0x4c')][_0x3437('0x1')]);const _0x5e7785=_0x1e75c1[_0x3437('0xb')](_0xeb2127);if(_0x3437('0x62')==_0x5e7785[_0x3437('0x4e')][_0x3437('0x71')])return;const _0x26ac3f=Array[_0x3437('0x44')](_0x56464e[_0x3437('0x10')]())[_0x3437('0x2b')](_0x5118e2=>_0x31f109[_0x3437('0x3e')](_0x5118e2));_0x1e75c1[_0x3437('0x80')](_0x5e7785),_0x40e68c[_0x3437('0x9')][_0x3437('0x8')](_0x3df21b)[_0x3437('0x7b')](),_0x2eee2[_0x3437('0x6e')]({'forceDefaultExecution':!0x0}),_0x40e68c[_0x3437('0x4b')](_0x3df21b,..._0x2eee2);const _0x3f2e4b=_0x26ac3f['filter'](_0x4471d2=>_0x3437('0x62')!=_0x4471d2['root'][_0x3437('0x71')]);_0x3f2e4b[_0x3437('0x17')]>0x0&&_0x1e75c1[_0x3437('0x80')](_0x3f2e4b);for(const _0x185a62 of _0x26ac3f)_0x185a62[_0x3437('0x3c')]();});};}['_getCoordsForCells'](_0x2f3e23){const _0x4dcfab=this[_0x3437('0x77')][_0x3437('0x3')][_0x3437('0x8')](_0x3437('0x0'));let _0x597747=Number[_0x3437('0x30')],_0x53e135=Number[_0x3437('0x1a')],_0x29bdef=Number[_0x3437('0x30')],_0x3c5a68=Number[_0x3437('0x1a')];for(const _0x44cac8 of _0x2f3e23){if(_0x3437('0x62')==_0x44cac8[_0x3437('0x4e')][_0x3437('0x71')])continue;const {row:_0x378eba,column:_0x28c146}=_0x4dcfab['getCellLocation'](_0x44cac8),_0xcba5de=_0x44cac8[_0x3437('0x2')](_0x3437('0x83'))?_0x44cac8[_0x3437('0x56')](_0x3437('0x83'))-0x1:0x0,_0x4b9c8c=_0x44cac8['hasAttribute'](_0x3437('0x7f'))?_0x44cac8['getAttribute'](_0x3437('0x7f'))-0x1:0x0;_0x597747=_0x378eba<_0x597747?_0x378eba:_0x597747,_0x53e135=_0x378eba+_0xcba5de>_0x53e135?_0x378eba+_0xcba5de:_0x53e135,_0x29bdef=_0x28c146<_0x29bdef?_0x28c146:_0x29bdef,_0x3c5a68=_0x28c146+_0x4b9c8c>_0x3c5a68?_0x28c146+_0x4b9c8c:_0x3c5a68;}return{'minRow':_0x597747,'maxRow':_0x53e135,'minColumn':_0x29bdef,'maxColumn':_0x3c5a68};}[_0x3437('0x25')](){const _0x35ddf7=this[_0x3437('0x77')],_0x5a36e9=_0x35ddf7['plugins'][_0x3437('0x8')]('TrackChangesEditing'),_0x5bac74=_0x35ddf7[_0x3437('0x3')]['get'](_0x3437('0x0'));_0x35ddf7[_0x3437('0x3a')][_0x3437('0x50')]['on'](_0x3437('0xd'),()=>{const _0x101440=Array['from'](_0x35ddf7['model'][_0x3437('0x50')]['differ'][_0x3437('0x66')]());for(const {name:_0x14eec2,data:_0x21f6c4}of _0x101440){const {group:_0x847f0d,id:_0x1ba2aa,subType:_0x50ac64}=_0x5a36e9[_0x3437('0x29')](_0x14eec2);if(_0x3437('0x40')!=_0x847f0d)continue;if(null!=_0x21f6c4['oldRange'])continue;const _0x1a9938=_0x5a36e9[_0x3437('0x34')](_0x1ba2aa);this[_0x3437('0x2c')][_0x3437('0x32')](_0x50ac64)&&this[_0x3437('0x4d')][_0x3437('0xc')](_0x1a9938);}},{'priority':'low'});const _0x29daf4=(_0x55b784,_0xa1ebb1)=>{let _0x36cf89=!0x1;const _0x35ee79=_0xa1ebb1[_0x3437('0x4')](_0x55b784),_0x1f2089=_0x55b784[_0x3437('0x7')](_0x3437('0x43')),_0x4ecec9=_0x5bac74[_0x3437('0x86')](_0x55b784);for(const _0xa5f938 of this[_0x3437('0x4d')]){const _0x28c22e=_0xa5f938[_0x3437('0x75')],_0x334eba=_0x28c22e['startsWith'](_0x3437('0x5f')),_0x325a00=_0x28c22e['substr'](_0x334eba?0xa:0x5),_0x340e97=_0x325a00[_0x3437('0x59')](),_0x5a294b=_0x340e97[_0x3437('0x63')](0x0,0x3)+_0x3437('0x51'),_0x5dab72=_0x3437('0x6c')+_0x325a00,_0x5510b4=_0x3437('0x7d')+_0x325a00;if(!_0xa5f938[_0x3437('0x69')])continue;if(_0x1f2089!=_0xa5f938[_0x3437('0x7a')]()[_0x3437('0x4c')][_0x3437('0x7')]('table'))continue;if(_0xa5f938[_0x3437('0x73')](_0x35ee79))continue;const _0x19c90d=_0x55b784[_0x3437('0x2')](_0x5a294b)?_0x55b784['getAttribute'](_0x5a294b)-0x1:0x0,_0x5639a8=this['_getSuggestionCoords'](_0xa5f938),_0xc8e96f=_0x5639a8[_0x5dab72],_0x34b608=_0x5639a8[_0x5510b4];_0xc8e96f<=_0x4ecec9[_0x340e97]&&_0x4ecec9[_0x340e97]+_0x19c90d<=_0x34b608&&(_0xa5f938[_0x3437('0x88')](_0x35ee79),_0x36cf89=!0x0);}return _0x36cf89;};_0x35ddf7['model'][_0x3437('0x50')]['registerPostFixer'](_0x40e44b=>{let _0xd186f=!0x1;for(const _0xce6f50 of _0x35ddf7[_0x3437('0x3a')][_0x3437('0x50')]['differ'][_0x3437('0x5b')]())if('insert'==_0xce6f50[_0x3437('0x24')]){if(_0x3437('0x13')==_0xce6f50[_0x3437('0x78')])for(const _0x36fe9c of _0xce6f50[_0x3437('0x18')]['nodeAfter'][_0x3437('0x5d')]())_0xd186f=_0xd186f||_0x29daf4(_0x36fe9c,_0x40e44b);else _0x3437('0x19')==_0xce6f50['name']&&(_0xd186f=_0xd186f||_0x29daf4(_0xce6f50[_0x3437('0x18')][_0x3437('0x1')],_0x40e44b));}return _0xd186f;});}[_0x3437('0xa')](_0x105b39){return this['_getCoordsForCells'](_0x105b39[_0x3437('0x10')]()['map'](_0x19df3b=>_0x19df3b['start'][_0x3437('0x1')]));}}function se(_0x2fe4a9){return Array[_0x3437('0x44')](new Set(_0x2fe4a9)['values']());}
23
+ const _0x46f7=['oldRange','rowspan','TableUtils','execute','createPositionAt','_suggestionFactory','from','isInContent','TrackChangesEditing','addRange','*Remove:*\x20%0','getRanges','nodeBefore','span','map','createRangeOn','$textProxy','removeTableColumn','substr','detach','getItems','forceValue','*Insert:*\x20%0','order','addClass','selection','ELEMENT_TABLE_ROW_WITH_TEXT','getAttribute','downcastDispatcher','tableCell','plugins','colspan','item','showSuggestionHighlights','max','last','differ','getSelectionAffectedTableCells','getColumnIndexes','MAX_SAFE_INTEGER','getFirstRange','minColumn','startsWith','type','length','data','_descriptionFactory','table','registerCustomCallback','insertTableRowBelow','insertTableColumnRight','subType','_tablePostFixingSubtypes','min','writer','first','getCellLocation','getContainedElement','markMultiRangeDeletion','tableRow','ELEMENT_TABLE_COLUMN_WITH_TEXT','highest','registerPostFixer','element','accept','toViewElement','name','findAncestor','suggestion','insertion','removeClass','isTouching','addMarker:suggestion','getRowIndexes','createTableWalker','insertTableRowAbove','ELEMENT_TABLE_ROW','nodeAfter','end','some','hasAttribute','rootName','values','enqueueChange','commands','discard','classes','root','setSelection','batch','push','getSuggestion','cell','fromRange','_tableSuggestions','createRangeIn','toLowerCase','$graveyard','start','MIN_SAFE_INTEGER','deletion','join','tableColumn','get','has','isIntersectingWithRange','ELEMENT_TABLE_COLUMN','registerDescriptionCallback','document','_getCoordsForCells','markMultiRangeInsertion','removeTableRow','getChangedMarkers','filter','model','change','isEqual','includes','insert','enableCommand','editor','_getSuggestionCoords','TableEditing','tablePaste','ELEMENT_TABLE_WITH_TEXT','afterInit','getChanges','insertTableColumnLeft','mapper','refresh'];(function(_0x607b9f,_0x46f77b){const _0x160848=function(_0x4728a5){while(--_0x4728a5){_0x607b9f['push'](_0x607b9f['shift']());}};_0x160848(++_0x46f77b);}(_0x46f7,0x7d));const _0x1608=function(_0x607b9f,_0x46f77b){_0x607b9f=_0x607b9f-0x0;let _0x160848=_0x46f7[_0x607b9f];return _0x160848;};import{Plugin as _0x88560b}from'ckeditor5/src/core';import{LiveRange as _0x1732f3}from'ckeditor5/src/engine';import{setHighlightHandling as _0x4eb319}from'ckeditor5/src/widget';import{getTranslation as _0x281636}from'../utils/common-translations';export default class dt extends _0x88560b{constructor(_0x137f34){super(_0x137f34),this[_0x1608('0x39')]=[_0x1608('0x40'),'tableColumn'],this[_0x1608('0x63')]=new Set();}[_0x1608('0x0')](){const _0x48108f=this[_0x1608('0x7d')],_0x27681c=_0x48108f[_0x1608('0x77')][_0x1608('0x71')][_0x1608('0x1e')];if(!_0x48108f[_0x1608('0x23')][_0x1608('0x6d')](_0x1608('0x7f')))return;const _0x21a60f=_0x48108f['locale'],_0x220c52=_0x48108f[_0x1608('0x23')][_0x1608('0x6c')](_0x1608('0xd')),_0x5a0763=_0x48108f[_0x1608('0x23')]['get'](_0x1608('0x7'));_0x220c52[_0x1608('0x33')]['registerElementLabel'](_0x1608('0x34'),_0x1f421d=>_0x281636(_0x21a60f,'ELEMENT_TABLE',_0x1f421d)),this['_setupColumnsRowsFixing'](),_0x220c52[_0x1608('0x7c')]('insertTable'),_0x220c52['enableCommand']('selectTableRow'),_0x220c52[_0x1608('0x7c')]('selectTableColumn');for(const _0x436854 of[_0x1608('0x50'),_0x1608('0x36')]){const _0xcade8a=_0x48108f[_0x1608('0x59')][_0x1608('0x6c')](_0x436854);_0x220c52['enableCommand'](_0x436854,_0x1275db=>{_0x48108f[_0x1608('0x77')][_0x1608('0x78')](_0x577274=>{_0x1275db();const _0x509085='above'===_0xcade8a[_0x1608('0x1c')],_0x1043df=_0x5a0763[_0x1608('0x2a')](_0x27681c),_0x4503c3=_0x5a0763['getRowIndexes'](_0x1043df),_0x142e15=_0x509085?_0x4503c3['first']-0x1:_0x4503c3['last']+0x1,_0x33086c=_0x1043df[0x0]['findAncestor'](_0x1608('0x34')),_0x56b2b2=_0x5a0763[_0x1608('0x4f')](_0x33086c,{'startRow':_0x142e15,'endRow':_0x142e15}),_0x69e5de=Array[_0x1608('0xb')](_0x56b2b2)[_0x1608('0x13')](_0x325885=>_0x577274[_0x1608('0x14')](_0x325885[_0x1608('0x61')]));_0x220c52[_0x1608('0x73')](_0x69e5de,_0x1608('0x40'));});});}for(const _0x52254e of[_0x1608('0x2'),_0x1608('0x37')]){const _0x2a52e4=_0x48108f[_0x1608('0x59')]['get'](_0x52254e);_0x220c52[_0x1608('0x7c')](_0x52254e,_0x2a2464=>{_0x48108f[_0x1608('0x77')][_0x1608('0x78')](_0x2f5221=>{_0x2a2464();const _0x37bf68='left'===_0x2a52e4[_0x1608('0x1c')],_0x26c8cc=_0x5a0763['getSelectionAffectedTableCells'](_0x27681c),_0x3c40cf=_0x5a0763[_0x1608('0x2b')](_0x26c8cc),_0x37d028=_0x37bf68?_0x3c40cf[_0x1608('0x3c')]-0x1:_0x3c40cf[_0x1608('0x28')]+0x1,_0x1fb476=_0x26c8cc[0x0][_0x1608('0x48')](_0x1608('0x34')),_0x2fac0f=_0x5a0763[_0x1608('0x4f')](_0x1fb476,{'startRow':0x0,'column':_0x37d028,'includeAllSlots':!0x1}),_0x45be64=Array[_0x1608('0xb')](_0x2fac0f)['map'](_0xd7770=>_0x2f5221['createRangeOn'](_0xd7770[_0x1608('0x61')]));_0x220c52[_0x1608('0x73')](_0x45be64,_0x1608('0x6b'));});});}for(const _0x4663f3 of['removeTableRow',_0x1608('0x16')]){const _0x292a0f=_0x4663f3['substr'](0xb),_0xfe8cfd=_0x292a0f[_0x1608('0x65')](),_0x3c099e=_0xfe8cfd[_0x1608('0x17')](0x0,0x3)+_0x1608('0x12'),_0x3cf98c=_0x1608('0x34')+_0x292a0f,_0x461073=_0x1608('0x3a')+_0x292a0f,_0x117ce6=_0x1608('0x27')+_0x292a0f;_0x220c52['enableCommand'](_0x4663f3,()=>{_0x48108f[_0x1608('0x77')][_0x1608('0x78')](_0x37f257=>{const _0x1db228=_0x5a0763[_0x1608('0x2a')](_0x27681c),_0x43c798=_0x1db228[0x0][_0x1608('0x48')]('table');let _0x590494;if(_0x1608('0x74')==_0x4663f3){const _0x27a048=_0x5a0763[_0x1608('0x4e')](_0x1db228);_0x590494={'startRow':_0x27a048[_0x1608('0x3c')],'endRow':_0x27a048[_0x1608('0x28')],'includeAllSlots':!0x0};}else{const _0x32fd8b=_0x5a0763[_0x1608('0x2b')](_0x1db228);_0x590494={'startColumn':_0x32fd8b[_0x1608('0x3c')],'endColumn':_0x32fd8b[_0x1608('0x28')],'includeAllSlots':!0x0};}const _0x3a17c6=_0x5a0763['createTableWalker'](_0x43c798,_0x590494),_0x4f5818=Array[_0x1608('0xb')](_0x3a17c6)['map'](({cell:_0x463bbf})=>_0x463bbf),_0x5bca29=se(_0x4f5818[_0x1608('0x76')](_0xe531cd=>_0xe531cd['hasAttribute'](_0x3c099e))),_0xef795e=se(_0x4f5818[_0x1608('0x76')](_0x104c85=>!_0x104c85[_0x1608('0x55')](_0x3c099e)))[_0x1608('0x13')](_0x4c326c=>_0x37f257[_0x1608('0x14')](_0x4c326c)),_0x140cce=_0x220c52[_0x1608('0x3f')](_0xef795e,_0x3cf98c);if(_0x140cce&&(_0x1608('0x40')==_0x140cce[_0x1608('0x38')]||'tableColumn'==_0x140cce[_0x1608('0x38')])){const _0x56c9fb=this[_0x1608('0x7e')](_0x140cce);for(const _0x55a963 of _0x5bca29){const _0x39ae52=_0x37f257[_0x1608('0x14')](_0x55a963),_0xf2741c=_0x5a0763[_0x1608('0x3d')](_0x55a963),_0x31dc3e=_0x55a963[_0x1608('0x20')](_0x3c099e)-0x1,_0x47d008=_0x56c9fb[_0x461073],_0x1e19d5=_0x56c9fb[_0x117ce6];_0x47d008<=_0xf2741c[_0xfe8cfd]&&_0xf2741c[_0xfe8cfd]+_0x31dc3e<=_0x1e19d5&&_0x140cce['addRange'](_0x39ae52);}}});});}function _0x414c56(_0x83862){const _0x2f9173=Array[_0x1608('0xb')](_0x27681c['getRanges']())[_0x1608('0x13')](_0x19c374=>_0x1732f3[_0x1608('0x62')](_0x19c374));_0x48108f[_0x1608('0x77')][_0x1608('0x78')](_0x315ede=>{const _0x3a181e=_0x315ede[_0x1608('0x5e')];_0x83862=_0x83862[_0x1608('0x76')](_0x367ea6=>_0x1608('0x66')!=_0x367ea6[_0x1608('0x5c')]['rootName']),_0x315ede['setSelection'](_0x83862),_0x48108f['commands'][_0x1608('0x6c')]('removeTableRow')[_0x1608('0x4')](),_0x48108f[_0x1608('0x8')](_0x1608('0x74'),{'forceDefaultExecution':!0x0}),_0x48108f['model'][_0x1608('0x58')](()=>{_0x48108f['model'][_0x1608('0x58')](_0x3a181e,_0x281b44=>{const _0xc2c371=_0x2f9173[_0x1608('0x76')](_0x3971ce=>_0x1608('0x66')!=_0x3971ce[_0x1608('0x5c')][_0x1608('0x56')]);_0xc2c371[_0x1608('0x31')]>0x0&&_0x281b44[_0x1608('0x5d')](_0xc2c371);for(const _0x4e5b20 of _0x2f9173)_0x4e5b20['detach']();});});});}function _0x58bd85(_0x209201){_0x48108f[_0x1608('0x77')]['change'](_0x4612e0=>{const _0x9e463a=Array[_0x1608('0xb')](_0x27681c['getRanges']())['map'](_0x3beac4=>_0x1732f3[_0x1608('0x62')](_0x3beac4)),_0x4ac9be=[];for(const _0x41a7a1 of _0x209201)for(const _0x3228b1 of _0x41a7a1[_0x1608('0x19')]({'shallow':!0x0}))_0x4ac9be[_0x1608('0x5f')](_0x3228b1);for(const _0x266f05 of _0x4ac9be)_0x1608('0x66')!=_0x266f05[_0x1608('0x5c')][_0x1608('0x56')]&&(_0x4612e0['setSelection'](_0x4612e0[_0x1608('0x9')](_0x266f05,0x0)),_0x48108f['commands'][_0x1608('0x6c')](_0x1608('0x16'))[_0x1608('0x4')](),_0x48108f['execute'](_0x1608('0x16'),{'forceDefaultExecution':!0x0}));const _0x5881af=_0x9e463a[_0x1608('0x76')](_0x301376=>_0x1608('0x66')!=_0x301376[_0x1608('0x5c')][_0x1608('0x56')]);_0x5881af['length']>0x0&&_0x4612e0[_0x1608('0x5d')](_0x5881af);for(const _0x37edb5 of _0x9e463a)_0x37edb5['detach']();});}function _0x48da68(_0x3fa285,_0x30c9ab){return _0x30c9ab['every'](_0x1e1636=>_0x3fa285[_0x1608('0x54')](_0x4d259e=>_0x4d259e[_0x1608('0x53')][_0x1608('0x79')](_0x1e1636['start'])||_0x1e1636['end'][_0x1608('0x79')](_0x4d259e[_0x1608('0x67')])));}function _0x4d0e30(_0x42f1d8,_0x5d9515){return _0x42f1d8['some'](_0x3bbf7f=>_0x5d9515[_0x1608('0x54')](_0x41ff47=>_0x3bbf7f[_0x1608('0x53')][_0x1608('0x4c')](_0x41ff47[_0x1608('0x67')])));}_0x48108f[_0x1608('0x32')][_0x1608('0x21')]['on'](_0x1608('0x4d'),(_0x52a8ba,_0x2836ac,_0xb9f189)=>{if(!_0xb9f189['options'][_0x1608('0x26')])return;const _0x12e0c3=_0x2836ac[_0x1608('0x25')];if(!_0x12e0c3)return;const _0xb17e7a=_0xb9f189[_0x1608('0x3')][_0x1608('0x46')](_0x12e0c3);function _0x482cdc(_0x4569ec){return Array['isArray'](_0x4569ec)?_0x4569ec:[_0x4569ec];}_0xb17e7a&&_0x1608('0x22')===_0x12e0c3[_0x1608('0x47')]&&_0x4eb319(_0xb17e7a,_0xb9f189[_0x1608('0x3b')],(_0x277d87,_0x319a9f,_0x70bc47)=>_0x70bc47[_0x1608('0x1d')](_0x482cdc(_0x319a9f['classes']),_0x277d87),(_0x77b75f,_0x5aebb2,_0x5e6cf5)=>_0x5e6cf5[_0x1608('0x4b')](_0x482cdc(_0x5aebb2[_0x1608('0x5b')]),_0x77b75f));},{'priority':_0x1608('0x42')}),_0x220c52[_0x1608('0x33')][_0x1608('0x70')](_0x3169c5=>{if('insertion'!=_0x3169c5[_0x1608('0x30')]&&_0x1608('0x69')!=_0x3169c5[_0x1608('0x30')])return;const _0x20d72d=_0x3169c5[_0x1608('0x3e')]();if(null!=_0x20d72d&&_0x20d72d['is'](_0x1608('0x44'),_0x1608('0x34'))){if(_0x1608('0x4a')==_0x3169c5[_0x1608('0x30')]){const _0x2c76a8=_0x3169c5[_0x1608('0x19')]()['filter'](_0xd6a106=>_0xd6a106['is'](_0x1608('0x15')))[_0x1608('0x13')](_0x3ec324=>_0x3ec324['data']);if(_0x2c76a8['length'])return{'type':_0x1608('0x4a'),'content':_0x281636(_0x21a60f,_0x1608('0x1b'),_0x281636(_0x21a60f,_0x1608('0x81'),'\x22'+_0x2c76a8[_0x1608('0x6a')]('\x20')+'\x22'))};}if(_0x1608('0x69')==_0x3169c5[_0x1608('0x30')]){const _0x585c4b=_0x3169c5['getItems']()[_0x1608('0x76')](_0x4261a9=>_0x4261a9['is'](_0x1608('0x15')))[_0x1608('0x13')](_0x4131e5=>_0x4131e5[_0x1608('0x32')]);if(_0x585c4b['length'])return{'type':_0x1608('0x69'),'content':_0x281636(_0x21a60f,'*Remove:*\x20%0',_0x281636(_0x21a60f,_0x1608('0x81'),'\x22'+_0x585c4b[_0x1608('0x6a')]('\x20')+'\x22'))};}}}),_0x220c52[_0x1608('0x33')][_0x1608('0x70')](_0x337492=>{if('tableRow'==_0x337492[_0x1608('0x38')]){const _0x6964f5=_0x337492[_0x1608('0x19')]()[_0x1608('0x76')](_0x5265ee=>_0x5265ee['is'](_0x1608('0x15')))[_0x1608('0x13')](_0x2ce745=>_0x2ce745['data']),_0x221435=this[_0x1608('0x7e')](_0x337492),_0x13b81d=_0x221435['maxRow']-_0x221435['minRow']+0x1;if('insertion'==_0x337492[_0x1608('0x30')])return _0x6964f5[_0x1608('0x31')]?{'type':_0x1608('0x4a'),'content':_0x281636(_0x21a60f,'*Insert:*\x20%0',_0x281636(_0x21a60f,'ELEMENT_TABLE_ROW_WITH_TEXT',[_0x13b81d,'\x22'+_0x6964f5[_0x1608('0x6a')]('\x20')+'\x22']))}:{'type':_0x1608('0x4a'),'content':_0x281636(_0x21a60f,_0x1608('0x1b'),_0x281636(_0x21a60f,_0x1608('0x51'),_0x13b81d))};if(_0x1608('0x69')==_0x337492[_0x1608('0x30')])return _0x6964f5[_0x1608('0x31')]?{'type':_0x1608('0x69'),'content':_0x281636(_0x21a60f,_0x1608('0xf'),_0x281636(_0x21a60f,_0x1608('0x1f'),[_0x13b81d,'\x22'+_0x6964f5['join']('\x20')+'\x22']))}:{'type':_0x1608('0x69'),'content':_0x281636(_0x21a60f,'*Remove:*\x20%0',_0x281636(_0x21a60f,_0x1608('0x51'),_0x13b81d))};}if('tableColumn'==_0x337492[_0x1608('0x38')]){const _0x5a4ab0=_0x337492[_0x1608('0x19')]()[_0x1608('0x76')](_0x1a152c=>_0x1a152c['is'](_0x1608('0x15')))[_0x1608('0x13')](_0x8feadd=>_0x8feadd[_0x1608('0x32')]),_0x2e82d6=this[_0x1608('0x7e')](_0x337492),_0x5e80be=_0x2e82d6['maxColumn']-_0x2e82d6[_0x1608('0x2e')]+0x1;if('insertion'==_0x337492['type'])return _0x5a4ab0['length']?{'type':_0x1608('0x4a'),'content':_0x281636(_0x21a60f,_0x1608('0x1b'),_0x281636(_0x21a60f,_0x1608('0x41'),[_0x5e80be,'\x22'+_0x5a4ab0['join']('\x20')+'\x22']))}:{'type':_0x1608('0x4a'),'content':_0x281636(_0x21a60f,_0x1608('0x1b'),_0x281636(_0x21a60f,_0x1608('0x6f'),_0x5e80be))};if('deletion'==_0x337492[_0x1608('0x30')])return _0x5a4ab0['length']?{'type':'deletion','content':_0x281636(_0x21a60f,'*Remove:*\x20%0',_0x281636(_0x21a60f,_0x1608('0x41'),[_0x5e80be,'\x22'+_0x5a4ab0[_0x1608('0x6a')]('\x20')+'\x22']))}:{'type':_0x1608('0x69'),'content':_0x281636(_0x21a60f,_0x1608('0xf'),_0x281636(_0x21a60f,'ELEMENT_TABLE_COLUMN',_0x5e80be))};}}),_0x220c52[_0x1608('0xa')][_0x1608('0x35')](_0x1608('0x4a'),_0x1608('0x40'),_0x1608('0x5a'),_0x414c56),_0x220c52['_suggestionFactory']['registerCustomCallback'](_0x1608('0x69'),'tableRow',_0x1608('0x45'),_0x414c56),_0x220c52[_0x1608('0xa')][_0x1608('0x35')](_0x1608('0x4a'),'tableColumn',_0x1608('0x5a'),_0x58bd85),_0x220c52[_0x1608('0xa')][_0x1608('0x35')](_0x1608('0x69'),_0x1608('0x6b'),_0x1608('0x45'),_0x58bd85),_0x220c52[_0x1608('0xa')][_0x1608('0x35')](_0x1608('0x4a'),_0x1608('0x6b'),_0x1608('0x6a'),_0x48da68),_0x220c52[_0x1608('0xa')]['registerCustomCallback'](_0x1608('0x69'),_0x1608('0x6b'),_0x1608('0x6a'),_0x48da68),_0x220c52[_0x1608('0xa')][_0x1608('0x35')](_0x1608('0x4a'),_0x1608('0x40'),_0x1608('0x6a'),_0x4d0e30),_0x220c52[_0x1608('0xa')][_0x1608('0x35')](_0x1608('0x69'),_0x1608('0x40'),_0x1608('0x6a'),_0x4d0e30);}['_acceptFormatSuggestionCallbackFactory'](){const _0x142b6c=this[_0x1608('0x7d')],_0x2cca68=_0x142b6c[_0x1608('0x77')][_0x1608('0x71')]['selection'];return(_0x48d989,_0x2245ac)=>{_0x142b6c[_0x1608('0x77')][_0x1608('0x78')](_0x274085=>{const {commandName:_0x92c9b4,commandParams:_0x355238}=_0x2245ac;let _0x5382ee=_0x48d989[0x0][_0x1608('0x53')][_0x1608('0x11')];_0x355238&&_0x355238[0x0]&&!0x1===_0x355238[0x0][_0x1608('0x1a')]&&(_0x5382ee=_0x48d989[0x0][_0x1608('0x67')][_0x1608('0x52')]);const _0x26ef1e=_0x274085[_0x1608('0x64')](_0x5382ee);if(_0x1608('0x66')==_0x26ef1e[_0x1608('0x5c')][_0x1608('0x56')])return;const _0x253df1=Array[_0x1608('0xb')](_0x2cca68[_0x1608('0x10')]())[_0x1608('0x13')](_0x2d0265=>_0x1732f3[_0x1608('0x62')](_0x2d0265));_0x274085[_0x1608('0x5d')](_0x26ef1e),_0x142b6c[_0x1608('0x59')][_0x1608('0x6c')](_0x92c9b4)['refresh'](),_0x355238[_0x1608('0x5f')]({'forceDefaultExecution':!0x0}),_0x142b6c[_0x1608('0x8')](_0x92c9b4,..._0x355238);const _0x4a8339=_0x253df1[_0x1608('0x76')](_0xd65923=>_0x1608('0x66')!=_0xd65923['root'][_0x1608('0x56')]);_0x4a8339['length']>0x0&&_0x274085[_0x1608('0x5d')](_0x4a8339);for(const _0x546ae5 of _0x253df1)_0x546ae5[_0x1608('0x18')]();});};}[_0x1608('0x72')](_0x2ea8c3){const _0x4cdeb0=this[_0x1608('0x7d')][_0x1608('0x23')]['get'](_0x1608('0x7'));let _0x48dd17=Number[_0x1608('0x2c')],_0x101e11=Number[_0x1608('0x68')],_0x417c01=Number[_0x1608('0x2c')],_0x5d50da=Number[_0x1608('0x68')];for(const _0x276fba of _0x2ea8c3){if(_0x1608('0x66')==_0x276fba[_0x1608('0x5c')][_0x1608('0x56')])continue;const {row:_0x5a1c20,column:_0x2f4dfa}=_0x4cdeb0[_0x1608('0x3d')](_0x276fba),_0x8ebd0=_0x276fba[_0x1608('0x55')](_0x1608('0x6'))?_0x276fba[_0x1608('0x20')](_0x1608('0x6'))-0x1:0x0,_0x582a35=_0x276fba[_0x1608('0x55')]('colspan')?_0x276fba[_0x1608('0x20')](_0x1608('0x24'))-0x1:0x0;_0x48dd17=_0x5a1c20<_0x48dd17?_0x5a1c20:_0x48dd17,_0x101e11=_0x5a1c20+_0x8ebd0>_0x101e11?_0x5a1c20+_0x8ebd0:_0x101e11,_0x417c01=_0x2f4dfa<_0x417c01?_0x2f4dfa:_0x417c01,_0x5d50da=_0x2f4dfa+_0x582a35>_0x5d50da?_0x2f4dfa+_0x582a35:_0x5d50da;}return{'minRow':_0x48dd17,'maxRow':_0x101e11,'minColumn':_0x417c01,'maxColumn':_0x5d50da};}['_setupColumnsRowsFixing'](){const _0x3c9154=this[_0x1608('0x7d')],_0x10c8a4=_0x3c9154[_0x1608('0x23')][_0x1608('0x6c')]('TrackChangesEditing'),_0x18c39a=_0x3c9154['plugins'][_0x1608('0x6c')](_0x1608('0x7'));_0x3c9154[_0x1608('0x77')]['document']['on']('change:data',()=>{const _0x1c8411=Array[_0x1608('0xb')](_0x3c9154['model'][_0x1608('0x71')][_0x1608('0x29')][_0x1608('0x75')]());for(const {name:_0x304365,data:_0x1bb88b}of _0x1c8411){const {group:_0x565047,id:_0x1f14fc,subType:_0x1f7170}=_0x10c8a4['_splitMarkerName'](_0x304365);if(_0x1608('0x49')!=_0x565047)continue;if(null!=_0x1bb88b[_0x1608('0x5')])continue;const _0x3095f5=_0x10c8a4[_0x1608('0x60')](_0x1f14fc);this['_tablePostFixingSubtypes'][_0x1608('0x7a')](_0x1f7170)&&this[_0x1608('0x63')]['add'](_0x3095f5);}},{'priority':'low'});const _0x53d960=(_0x96f2d1,_0x84110)=>{let _0x10dff7=!0x1;const _0x3a9002=_0x84110[_0x1608('0x14')](_0x96f2d1),_0x564f45=_0x96f2d1[_0x1608('0x48')](_0x1608('0x34')),_0x3b0dd4=_0x18c39a['getCellLocation'](_0x96f2d1);for(const _0x228eb7 of this[_0x1608('0x63')]){const _0x53b5ab=_0x228eb7[_0x1608('0x38')],_0x52d485=_0x53b5ab[_0x1608('0x2f')](_0x1608('0x80')),_0x519bce=_0x53b5ab[_0x1608('0x17')](_0x52d485?0xa:0x5),_0xbf48c8=_0x519bce[_0x1608('0x65')](),_0x387b26=_0xbf48c8[_0x1608('0x17')](0x0,0x3)+_0x1608('0x12'),_0x42c17d='min'+_0x519bce,_0x476f14=_0x1608('0x27')+_0x519bce;if(!_0x228eb7[_0x1608('0xc')])continue;if(_0x564f45!=_0x228eb7[_0x1608('0x2d')]()[_0x1608('0x67')]['findAncestor']('table'))continue;if(_0x228eb7[_0x1608('0x6e')](_0x3a9002))continue;const _0x114645=_0x96f2d1[_0x1608('0x55')](_0x387b26)?_0x96f2d1[_0x1608('0x20')](_0x387b26)-0x1:0x0,_0x30811e=this[_0x1608('0x7e')](_0x228eb7),_0x1addf4=_0x30811e[_0x42c17d],_0x1c4b4e=_0x30811e[_0x476f14];_0x1addf4<=_0x3b0dd4[_0xbf48c8]&&_0x3b0dd4[_0xbf48c8]+_0x114645<=_0x1c4b4e&&(_0x228eb7[_0x1608('0xe')](_0x3a9002),_0x10dff7=!0x0);}return _0x10dff7;};_0x3c9154[_0x1608('0x77')][_0x1608('0x71')][_0x1608('0x43')](_0x53b870=>{let _0x1dac74=!0x1;for(const _0x387c91 of _0x3c9154[_0x1608('0x77')][_0x1608('0x71')][_0x1608('0x29')][_0x1608('0x1')]())if(_0x1608('0x7b')==_0x387c91[_0x1608('0x30')]){if(_0x1608('0x40')==_0x387c91[_0x1608('0x47')])for(const _0x3b4654 of _0x387c91['position']['nodeAfter']['getChildren']())_0x1dac74=_0x1dac74||_0x53d960(_0x3b4654,_0x53b870);else'tableCell'==_0x387c91[_0x1608('0x47')]&&(_0x1dac74=_0x1dac74||_0x53d960(_0x387c91['position'][_0x1608('0x52')],_0x53b870));}return _0x1dac74;});}['_getSuggestionCoords'](_0x22596a){return this['_getCoordsForCells'](_0x22596a['getRanges']()[_0x1608('0x13')](_0x350b2d=>_0x350b2d[_0x1608('0x67')][_0x1608('0x52')]));}}function se(_0x3bd69a){return Array[_0x1608('0xb')](new Set(_0x3bd69a)[_0x1608('0x57')]());}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x17f8=['TrackChangesEditing','requires','toggleTableCaption','editor','plugins','afterInit','get','TableCaptionEditing','enableCommand'];(function(_0x149fcc,_0x17f8f0){const _0x25970b=function(_0x42fef0){while(--_0x42fef0){_0x149fcc['push'](_0x149fcc['shift']());}};_0x25970b(++_0x17f8f0);}(_0x17f8,0xba));const _0x2597=function(_0x149fcc,_0x17f8f0){_0x149fcc=_0x149fcc-0x0;let _0x25970b=_0x17f8[_0x149fcc];return _0x25970b;};import{Plugin as _0x2f3524}from'ckeditor5/src/core';import _0x322a92 from'./table';export default class At extends _0x2f3524{static get[_0x2597('0x4')](){return[_0x322a92];}[_0x2597('0x8')](){const _0x5e0790=this[_0x2597('0x6')];if(!_0x5e0790[_0x2597('0x7')]['has'](_0x2597('0x1')))return;_0x5e0790['plugins'][_0x2597('0x0')](_0x2597('0x3'))[_0x2597('0x2')](_0x2597('0x5'));}}
23
+ const _0x9b9b=['afterInit','enableCommand','plugins','has','TrackChangesEditing','get','toggleTableCaption','TableCaptionEditing','requires','editor'];(function(_0x4be622,_0x9b9bb3){const _0x3ff6f5=function(_0x185581){while(--_0x185581){_0x4be622['push'](_0x4be622['shift']());}};_0x3ff6f5(++_0x9b9bb3);}(_0x9b9b,0x1a3));const _0x3ff6=function(_0x4be622,_0x9b9bb3){_0x4be622=_0x4be622-0x0;let _0x3ff6f5=_0x9b9b[_0x4be622];return _0x3ff6f5;};import{Plugin as _0x4ff7de}from'ckeditor5/src/core';import _0x74acdf from'./table';export default class At extends _0x4ff7de{static get[_0x3ff6('0x9')](){return[_0x74acdf];}[_0x3ff6('0x1')](){const _0x5c4207=this[_0x3ff6('0x0')];if(!_0x5c4207[_0x3ff6('0x3')][_0x3ff6('0x4')](_0x3ff6('0x8')))return;_0x5c4207[_0x3ff6('0x3')][_0x3ff6('0x6')](_0x3ff6('0x5'))[_0x3ff6('0x2')](_0x3ff6('0x7'));}}