@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20231127.0 → 0.0.0-nightly-20231128.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 (66) 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/imagestyle.js +1 -1
  29. package/src/integrations/importword.js +1 -1
  30. package/src/integrations/indent.js +1 -1
  31. package/src/integrations/inputcommand.js +1 -1
  32. package/src/integrations/link.js +1 -1
  33. package/src/integrations/list.js +1 -1
  34. package/src/integrations/listproperties.js +1 -1
  35. package/src/integrations/mediaembed.js +1 -1
  36. package/src/integrations/mention.js +1 -1
  37. package/src/integrations/pagebreak.js +1 -1
  38. package/src/integrations/paragraph.js +1 -1
  39. package/src/integrations/removeformat.js +1 -1
  40. package/src/integrations/restrictededitingmode.js +1 -1
  41. package/src/integrations/shiftentercommand.js +1 -1
  42. package/src/integrations/standardeditingmode.js +1 -1
  43. package/src/integrations/style.js +1 -1
  44. package/src/integrations/table.js +1 -1
  45. package/src/integrations/tablecaption.js +1 -1
  46. package/src/integrations/tableclipboard.js +1 -1
  47. package/src/integrations/tablecolumnresize.js +1 -1
  48. package/src/integrations/tableheadings.js +1 -1
  49. package/src/integrations/tablemergesplit.js +1 -1
  50. package/src/integrations/tableofcontents.js +1 -1
  51. package/src/integrations/tableproperties.js +1 -1
  52. package/src/integrations/template.js +1 -1
  53. package/src/integrations/title.js +1 -1
  54. package/src/integrations/undo.js +1 -1
  55. package/src/integrations/utils.js +1 -1
  56. package/src/suggestion.js +1 -1
  57. package/src/suggestiondescriptionfactory.js +1 -1
  58. package/src/trackchanges.js +1 -1
  59. package/src/trackchangesdata.js +1 -1
  60. package/src/trackchangesediting.js +1 -1
  61. package/src/trackchangesui.js +1 -1
  62. package/src/ui/suggestioncontroller.js +1 -1
  63. package/src/ui/view/basesuggestionthreadview.js +1 -1
  64. package/src/ui/view/suggestionthreadview.js +1 -1
  65. package/src/utils/common-translations.js +1 -1
  66. package/src/utils/utils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4c69=['forceDefaultExecution','cells','deletionRanges','get','isEmpty','editingDowncast','markMultiRangeInsertion','insert','tableCell','some','insertion','elementToElement','suggestionLoaded','markerToHighlight','columnInsertionIndexes','markerName','filter','suggestion','activeMarkers','dataDowncast','getAttributes','attributes','push','getColumnIndexes','columns','createRangeIn','getSuggestion','from','registerCustomCallback','_createdBatches','keys','for','batch','last','first','removeMarkers','remove','tableCellSuggestion','next','markMultiRangeDeletion','conversion','tablePaste','type','high','Users','start','setAttributes','paragraph','discard','isInContent','commands','markers','TrackChangesEditing','insertColumns','registerPostFixer','find','deletion','position','value','column','length','table','end','fill','getChild','model','nextSibling','getSuggestionCallback','includes','_suggestionFactory','rowInsertionIndexes','register','_isForcedDefaultExecutionBlock','element','tablePasteRow','set','redo','getChangedMarkers','schema','tableCellVerticalAlignment','updateMarker','tableCellHorizontalAlignment','showSuggestionHighlights','wrap','entries','return','document','tablePasteCell','TableClipboard','documentSelection','getMarkers','oldRange','change','nodeAfter','selection','stop','low','tableCellBorderColor','getAllAdjacentSuggestions','_replaceTableSlotCell','root','getContainedElement','containsRange','getSuggestions','map','view','$graveyard','registerDescriptionCallback','previous','getChanges','afterInit','previousSibling','plugins','join','removeRows','options','ck-suggestion-marker--active','tableCellPadding','suggestion-td','getRows','createTableWalker','content','rows','markMultiRangeBlockFormat','listenTo','newRange','getChildren','editing','removeColumns','requires','_getCoordsForCells','createRangeOn','TableUtils','suggestionUnloaded','reduce','tablePasteChainId','getRange','every','cell','markerAttributes','setAttribute','add','has','getRanges','author','differ','*Replace\x20table\x20cells*','columnInsertionRanges','fromEntries','getSelectionAffectedTableCells','getTableIfOnlyTableInContent','getColumns','insertRows','insertContent','rowInsertionRanges','findAncestor','suggestion:formatBlock:tablePasteCell','endRow','isEqual','locale','formatBlock','endColumn','accept','createElement','move','_tablePostFixingSubtypes','name','subType','startsWith','tablePasteColumn','editor'];(function(_0x8a5474,_0x4c6937){const _0x4f9912=function(_0x77c3a8){while(--_0x77c3a8){_0x8a5474['push'](_0x8a5474['shift']());}};_0x4f9912(++_0x4c6937);}(_0x4c69,0x88));const _0x4f99=function(_0x8a5474,_0x4c6937){_0x8a5474=_0x8a5474-0x0;let _0x4f9912=_0x4c69[_0x8a5474];return _0x4f9912;};import{getTranslation as _0x4d2670}from'../utils/common-translations';import{Plugin as _0x1620c4}from'ckeditor5/src/core';import{uid as _0x512848,priorities as _0x166a5d}from'ckeditor5/src/utils';import _0x59f70a from'./table';const le=['tableCellBorderWidth',_0x4f99('0x84'),'tableCellBorderStyle',_0x4f99('0x74'),_0x4f99('0x72'),'tableCellBackgroundColor',_0x4f99('0x98')],ae=Object[_0x4f99('0xc')](le[_0x4f99('0x8b')](_0x4ccb0a=>[_0x4ccb0a,null]));export default class At extends _0x1620c4{static get[_0x4f99('0xa4')](){return[_0x59f70a];}[_0x4f99('0x91')](){const _0xa1f1f1=this[_0x4f99('0x22')];if(!_0xa1f1f1['plugins'][_0x4f99('0x6')]('TableClipboard'))return;const _0xd25c8=_0xa1f1f1[_0x4f99('0x93')][_0x4f99('0x26')](_0x4f99('0x57')),_0x57fafb=_0xa1f1f1['plugins'][_0x4f99('0x26')](_0x4f99('0xa7')),_0x1f03cf=_0xa1f1f1[_0x4f99('0x93')]['get'](_0x59f70a),_0x39288d=_0xa1f1f1[_0x4f99('0x93')][_0x4f99('0x26')]('TableClipboard');_0x1f03cf[_0x4f99('0x1d')][_0x4f99('0x39')](_0x4f99('0x6d'),_0x4f99('0x21')),_0xa1f1f1['model'][_0x4f99('0x71')][_0x4f99('0x6a')](_0x4f99('0x48'),{'allowIn':_0x4f99('0x2b'),'allowContentOf':_0x4f99('0x2b'),'isLimit':!0x0}),_0xa1f1f1[_0x4f99('0x4b')][_0x4f99('0x2e')]({'model':_0x4f99('0x48'),'view':'suggestion-td'});let _0x4f1d9e=null;_0xa1f1f1[_0x4f99('0x64')]['on'](_0x4f99('0x11'),(_0x17d297,_0xcba97f)=>{const [_0x33e2e9,_0x2225f7]=_0xcba97f,_0x4c1a93=_0xcba97f[_0xcba97f['length']-0x1];_0x4c1a93&&_0x4c1a93[_0x4f99('0x23')]||_0xd25c8[_0x4f99('0x6b')]||this[_0x4f99('0x22')][_0x4f99('0x55')][_0x4f99('0x26')]('trackChanges')[_0x4f99('0x5d')]&&function(_0x5447e6,_0x1bb5e0,_0x433549,_0x25d341,_0x4b7944){if(_0x1bb5e0&&!_0x1bb5e0['is'](_0x4f99('0x7c')))return!0x1;const _0x55bd33=_0x4b7944[_0x4f99('0xe')](_0x5447e6,_0x433549);if(!_0x55bd33||!fe(_0x55bd33,void 0x0,_0x25d341))return!0x1;const _0x482522=_0x25d341[_0x4f99('0xd')](_0x433549['document'][_0x4f99('0x81')]);if(!_0x482522[_0x4f99('0x5f')])return!0x1;const _0x123a88=_0x482522[0x0]['findAncestor']('table'),_0x466d1f=_0x25d341['getRowIndexes'](_0x482522),_0x4d4840=_0x25d341[_0x4f99('0x3a')](_0x482522),_0x38cf16={'startRow':_0x466d1f[_0x4f99('0x45')],'endRow':_0x466d1f[_0x4f99('0x44')],'startColumn':_0x4d4840[_0x4f99('0x45')],'endColumn':_0x4d4840[_0x4f99('0x44')]};return 0x1==_0x482522[_0x4f99('0x5f')]&&(_0x38cf16[_0x4f99('0x15')]+=_0x25d341[_0x4f99('0x9a')](_0x55bd33)-0x1,_0x38cf16[_0x4f99('0x19')]+=_0x25d341[_0x4f99('0xf')](_0x55bd33)-0x1),fe(_0x123a88,_0x38cf16,_0x25d341);}(_0x33e2e9,_0x2225f7,_0xa1f1f1['model'],_0x57fafb,_0x39288d)&&(_0x17d297[_0x4f99('0x82')](),_0x4f1d9e={'cells':[],'insertionRanges':[],'deletionRanges':[],'rowInsertionRanges':[],'rowInsertionIndexes':[],'columnInsertionRanges':[],'columnInsertionIndexes':[]},_0xa1f1f1[_0x4f99('0x64')][_0x4f99('0x7f')](()=>{_0xa1f1f1[_0x4f99('0x64')][_0x4f99('0x11')](_0xcba97f[0x0],_0xcba97f[0x1],_0xcba97f[0x2],{'forceDefaultExecution':!0x0});const _0x323e6f=_0x512848(),{rowInsertionRanges:_0x5832cb,columnInsertionRanges:_0x5a1fec,insertionRanges:_0xef8f52,deletionRanges:_0x2630df,cells:_0x4e8e65}=_0x4f1d9e;_0x5832cb['length']&&_0xd25c8[_0x4f99('0x29')](_0x5832cb,_0x4f99('0x6d'),{'tablePasteChainId':_0x323e6f}),_0x5a1fec[_0x4f99('0x5f')]&&_0xd25c8['markMultiRangeInsertion'](_0x5a1fec,_0x4f99('0x21'),{'tablePasteChainId':_0x323e6f}),_0xef8f52[_0x4f99('0x5f')]&&_0xd25c8['markMultiRangeInsertion'](_0xef8f52,'tablePaste',{'tablePasteChainId':_0x323e6f,'skipNestingCheck':!0x0}),_0x2630df[_0x4f99('0x5f')]&&_0xd25c8[_0x4f99('0x4a')](_0x2630df,'tablePaste',{'tablePasteChainId':_0x323e6f,'skipNestingCheck':!0x0});const _0x65a75b=_0xd25c8[_0x4f99('0x9e')](_0x4e8e65[_0x4f99('0x8b')](({element:_0x1ba09e})=>_0x1ba09e),{'formatGroupId':_0x512848()},[],'tablePasteCell',{'tablePasteChainId':_0x323e6f});if(_0x65a75b){const _0x34bb9b=_0x65a75b[_0x4f99('0x7d')](),_0x4c68e2=[];for(const {element:_0x2b88e7,attributes:_0x15654f}of _0x4e8e65){if(!_0x15654f)continue;const _0xb33373=_0xa1f1f1[_0x4f99('0x64')][_0x4f99('0xa6')](_0x2b88e7),_0x4ea5ed=_0x34bb9b[_0x4f99('0x5a')](_0xe67f70=>_0xe67f70['getRange']()[_0x4f99('0x16')](_0xb33373));_0x4ea5ed&&_0x4c68e2[_0x4f99('0x39')]([_0x4ea5ed[_0x4f99('0x1e')],_0x15654f]);}_0x4c68e2[_0x4f99('0x5f')]&&_0x65a75b[_0x4f99('0x4')](_0x4f99('0x3'),Object['fromEntries'](_0x4c68e2));}_0x4f1d9e=null;}));},{'priority':_0x166a5d[_0x4f99('0x4e')]+0xa}),_0xa1f1f1[_0x4f99('0x93')][_0x4f99('0x26')](_0x4f99('0x7b'))['on'](_0x4f99('0x86'),(_0x5c5009,_0x3aa0ac)=>{const [_0x30a08c,_0x2ff3e5,,_0x51c233]=_0x3aa0ac;if(!_0x4f1d9e)return;_0x5c5009['stop']();const _0x3b374e=_0x30a08c[_0x4f99('0x2')],_0x236ca=_0x2ff3e5,_0x2a4c94=ce(_0x3b374e),_0x1a4845=ce(_0x236ca);_0x5c5009[_0x4f99('0x78')]=_0x3b374e;let _0x11855b=null,_0x4a43fd=null;if(_0x1a4845||_0x2a4c94){if(_0x2a4c94&&!_0x1a4845){_0x51c233[_0x4f99('0x47')](_0x3b374e[_0x4f99('0x63')](0x0));for(const _0xd0c8c9 of Array[_0x4f99('0x3e')](_0x236ca[_0x4f99('0xa1')]()))_0x51c233[_0x4f99('0x2a')](_0xd0c8c9,_0x3b374e,_0x4f99('0x61'));const _0x3fd893=_0x4f1d9e['rowInsertionIndexes']['includes'](_0x30a08c['row']),_0x1d4291=_0x4f1d9e[_0x4f99('0x31')][_0x4f99('0x67')](_0x30a08c[_0x4f99('0x5e')]);_0x3fd893||_0x1d4291||(_0x11855b=_0x51c233[_0x4f99('0x3c')](_0x3b374e));}else _0x1a4845&&!_0x2a4c94&&(_0x4a43fd=_0x51c233['createRangeIn'](_0x3b374e));}else{const _0x2cae53=_0x51c233['createElement']('tableCellSuggestion'),_0x58a82e=_0x51c233[_0x4f99('0x1b')](_0x4f99('0x48'));_0x51c233[_0x4f99('0x76')](_0x51c233[_0x4f99('0x3c')](_0x3b374e),_0x58a82e),_0x51c233['insert'](_0x2cae53,_0x3b374e,0x0);for(const _0x55c9ec of Array[_0x4f99('0x3e')](_0x236ca[_0x4f99('0xa1')]()))_0x51c233[_0x4f99('0x2a')](_0x55c9ec,_0x2cae53,'end');_0x11855b=_0x51c233[_0x4f99('0xa6')](_0x2cae53),_0x4a43fd=_0x51c233[_0x4f99('0xa6')](_0x58a82e);}const _0x10932b=Array[_0x4f99('0x3e')](_0x236ca[_0x4f99('0x37')]())['filter'](([_0x3a23b7])=>le[_0x4f99('0x67')](_0x3a23b7));_0x4f1d9e[_0x4f99('0x24')][_0x4f99('0x39')]({'element':_0x3b374e,'attributes':_0x10932b[_0x4f99('0x5f')]?Object['fromEntries'](_0x10932b):null}),_0x11855b&&_0x4f1d9e['insertionRanges'][_0x4f99('0x39')](_0x11855b),_0x4a43fd&&_0x4f1d9e[_0x4f99('0x25')]['push'](_0x4a43fd);},{'priority':'high'}),_0x57fafb['on'](_0x4f99('0x58'),(_0x19ebb6,_0x4aa01b)=>{const [_0x555c79,_0x52193b={}]=_0x4aa01b;if(!_0x4f1d9e)return;const _0x9f2633=_0x52193b['at']||0x0,_0x4fb3d0=_0x52193b[_0x4f99('0x3b')]||0x1;_0x4f1d9e[_0x4f99('0x31')]=new Array(_0x4fb3d0)['fill'](_0x9f2633)[_0x4f99('0x8b')]((_0x31cce7,_0x48f8d4)=>_0x31cce7+_0x48f8d4);for(const {cell:_0x42235e}of _0x57fafb['createTableWalker'](_0x555c79,{'startColumn':_0x9f2633,'endColumn':_0x9f2633+_0x4fb3d0-0x1}))_0x4f1d9e[_0x4f99('0xb')][_0x4f99('0x39')](_0xa1f1f1[_0x4f99('0x64')]['createRangeOn'](_0x42235e));},{'priority':_0x4f99('0x83')}),_0x57fafb['on'](_0x4f99('0x10'),(_0x3ee51f,_0x12074)=>{const [_0x204e59,_0x24410b={}]=_0x12074;if(!_0x4f1d9e)return;const _0x2d0524=_0x24410b['at']||0x0,_0x4564f7=_0x24410b[_0x4f99('0x9d')]||0x1;_0x4f1d9e[_0x4f99('0x69')]=new Array(_0x4564f7)[_0x4f99('0x62')](_0x2d0524)[_0x4f99('0x8b')]((_0x23615,_0x2a5b7d)=>_0x23615+_0x2a5b7d);for(const {cell:_0x35cdde}of _0x57fafb[_0x4f99('0x9b')](_0x204e59,{'startRow':_0x2d0524,'endRow':_0x2d0524+_0x4564f7-0x1}))_0x4f1d9e[_0x4f99('0x12')]['push'](_0xa1f1f1[_0x4f99('0x64')][_0x4f99('0xa6')](_0x35cdde));},{'priority':'low'}),_0xd25c8['_descriptionFactory'][_0x4f99('0x8e')](_0x120b62=>{if(_0x120b62[_0x4f99('0x1f')]&&_0x120b62[_0x4f99('0x1f')][_0x4f99('0x20')](_0x4f99('0x4c')))return _0x120b62[_0x4f99('0x8f')]?{}:{'type':_0x4f99('0x2d'),'content':_0x4d2670(_0xa1f1f1[_0x4f99('0x17')],_0x4f99('0xa'))};});const _0x39b92f=()=>!0x1;for(const _0x3f468a of[_0x4f99('0x4c'),_0x4f99('0x21'),_0x4f99('0x6d'),_0x4f99('0x7a')])_0xd25c8['_suggestionFactory']['registerCustomCallback']('insertion',_0x3f468a,_0x4f99('0x94'),_0x39b92f),_0xd25c8[_0x4f99('0x68')][_0x4f99('0x3f')](_0x4f99('0x5b'),_0x3f468a,_0x4f99('0x94'),_0x39b92f),_0xd25c8[_0x4f99('0x68')][_0x4f99('0x3f')]('formatBlock',_0x3f468a,_0x4f99('0x94'),_0x39b92f);_0xd25c8[_0x4f99('0x68')][_0x4f99('0x3f')](_0x4f99('0x18'),_0x4f99('0x7a'),_0x4f99('0x53'),_0x39b92f),_0xd25c8['_suggestionFactory'][_0x4f99('0x3f')](_0x4f99('0x18'),_0x4f99('0x7a'),'accept',(_0x40fc4c,_0x533d4d,_0x540fb6)=>{const _0x100de4=_0x40fc4c[_0x4f99('0x8b')](_0x48675a=>_0x48675a[_0x4f99('0x88')]())[_0x4f99('0x33')](_0x29664f=>_0x29664f),_0x43aa8e=new Map(_0x100de4['map'](_0x3eefea=>[_0x3eefea,null]));if(_0x4f1d9e)for(const {element:_0x145fb2,attributes:_0x337220}of _0x4f1d9e[_0x4f99('0x24')])_0x337220&&_0x43aa8e[_0x4f99('0x6e')](_0x145fb2,_0x337220);else{if(_0x540fb6&&_0x540fb6['markerAttributes'])for(const [_0x45b4f9,_0x522d14]of Object[_0x4f99('0x77')](_0x540fb6['markerAttributes'])){const _0x4113cf=_0xa1f1f1[_0x4f99('0x64')][_0x4f99('0x56')]['get'](_0x45b4f9),_0x17a299=_0x4113cf?_0x4113cf[_0x4f99('0x0')]()['getContainedElement']():null;_0x17a299&&_0x43aa8e[_0x4f99('0x6e')](_0x17a299,_0x522d14);}}_0xa1f1f1['model']['change'](_0x18e1d5=>{for(const [_0x3520b3,_0x360a9f]of _0x43aa8e)_0x18e1d5[_0x4f99('0x51')]({...ae,..._0x360a9f},_0x3520b3);});});const _0x32421e=(_0x2f45c0,_0xf2078f)=>{_0xd25c8[_0x4f99('0x68')][_0x4f99('0x3f')](_0x2f45c0,_0x4f99('0x4c'),_0xf2078f,(_0x3a3c54,_0x28b864,_0x258871)=>{_0xa1f1f1[_0x4f99('0x64')][_0x4f99('0x7f')](_0x1bc6ba=>{const _0x2add97=[];for(const _0x3f36ab of _0x3a3c54){const _0x216d38=_0x3f36ab[_0x4f99('0x50')][_0x4f99('0x80')];_0x216d38['is']('element',_0x4f99('0x48'))&&_0x2add97[_0x4f99('0x39')](_0x216d38);}_0xd25c8[_0x4f99('0x68')][_0x4f99('0x66')](_0x2f45c0,null,_0xf2078f)(_0x3a3c54,_0x28b864,_0x258871);for(const _0x1fd7cc of _0x2add97)_0x4f99('0x8d')!=_0x1fd7cc[_0x4f99('0x87')]['rootName']&&_0x1bc6ba['unwrap'](_0x1fd7cc);});});};_0x32421e(_0x4f99('0x2d'),_0x4f99('0x1a')),_0x32421e(_0x4f99('0x2d'),_0x4f99('0x53')),_0x32421e(_0x4f99('0x5b'),'accept'),_0x32421e(_0x4f99('0x5b'),_0x4f99('0x53')),_0xd25c8[_0x4f99('0x68')]['registerCustomCallback'](_0x4f99('0x2d'),_0x4f99('0x6d'),_0x4f99('0x53'),_0x32de24=>{const _0x509b05=_0x32de24[_0x4f99('0x8b')](_0x5054c8=>_0x5054c8[_0x4f99('0x88')]()),_0x3c32dd=_0x509b05[0x0][_0x4f99('0x13')](_0x4f99('0x60')),{minRow:_0x532477,maxRow:_0x43f22a}=_0x1f03cf[_0x4f99('0xa5')](_0x509b05);_0x57fafb[_0x4f99('0x95')](_0x3c32dd,{'at':_0x532477,'rows':_0x43f22a-_0x532477+0x1});}),_0xd25c8[_0x4f99('0x68')][_0x4f99('0x3f')](_0x4f99('0x2d'),_0x4f99('0x21'),_0x4f99('0x53'),_0x2d1a29=>{const _0x168a9d=_0x2d1a29[_0x4f99('0x8b')](_0x39ec09=>_0x39ec09[_0x4f99('0x88')]()),_0x2e14ad=_0x168a9d[0x0]['findAncestor'](_0x4f99('0x60')),{minColumn:_0x2dce6d,maxColumn:_0xd310b2}=_0x1f03cf[_0x4f99('0xa5')](_0x168a9d);_0x57fafb[_0x4f99('0xa3')](_0x2e14ad,{'at':_0x2dce6d,'columns':_0xd310b2-_0x2dce6d+0x1});});const _0x4c5d2a=(_0x42a23e,_0x4c8f63)=>{if(!_0x4c8f63[_0x4f99('0x1f')]||!_0x4c8f63['subType']['startsWith']('tablePaste'))return;const _0x4fc890=_0x4c8f63[_0x4f99('0x38')]['tablePasteChainId'],_0x3d0608=_0xd25c8[_0x4f99('0x8a')]()[_0x4f99('0x33')](_0x28a021=>_0x28a021[_0x4f99('0x54')]&&_0x28a021[_0x4f99('0x38')]&&_0x28a021[_0x4f99('0x38')][_0x4f99('0xaa')]==_0x4fc890);_0x3d0608['length']&&_0x4c8f63[_0x4f99('0x85')]()['length']!=_0x3d0608[_0x4f99('0x5f')]&&_0x3d0608[_0x4f99('0xa9')]((_0xb65b0f,_0x5e2c0f)=>(_0xb65b0f[_0x4f99('0x49')]=_0x5e2c0f,_0x5e2c0f[_0x4f99('0x8f')]=_0xb65b0f,_0x5e2c0f));};function _0x998cbe(_0x249994,_0x28d5e7=!0x0){const {id:_0x2474e7}=_0xd25c8['_splitMarkerName'](_0x249994[_0x4f99('0x32')]),_0x504da3=['ck-suggestion-marker','ck-suggestion-marker-insertion'],_0x5f5230=_0xd25c8[_0x4f99('0x35')][_0x4f99('0x67')](_0x249994[_0x4f99('0x32')]);return _0x5f5230&&_0x504da3[_0x4f99('0x39')](_0x4f99('0x97')),{'classes':_0x504da3,'attributes':{'data-suggestion':_0x2474e7},'priority':_0x5f5230&&_0x28d5e7?0xbc2:0xbb8};}_0xd25c8['on'](_0x4f99('0x2f'),_0x4c5d2a,{'priority':_0x4f99('0x4e')}),_0xd25c8['on'](_0x4f99('0xa8'),_0x4c5d2a,{'priority':_0x4f99('0x4e')}),_0xa1f1f1['model'][_0x4f99('0x79')][_0x4f99('0x59')](()=>{let _0x1b7b63=!0x1;const _0x3948d1=Array[_0x4f99('0x3e')](_0xa1f1f1[_0x4f99('0x64')][_0x4f99('0x79')]['differ'][_0x4f99('0x70')]());for(const {name:_0x209206,data:_0x3b67b1}of _0x3948d1){const {group:_0x431d22,type:_0x797235,id:_0x3e2236}=_0xd25c8['_splitMarkerName'](_0x209206);if(_0x4f99('0x34')!=_0x431d22||_0x4f99('0x5b')!=_0x797235||_0x3b67b1[_0x4f99('0x7e')])continue;if(!_0xd25c8['hasSuggestion'](_0x3e2236))continue;const _0x18df34=_0xd25c8[_0x4f99('0x3d')](_0x3e2236)[_0x4f99('0x7')](),_0x456b84=_0xa1f1f1[_0x4f99('0x93')][_0x4f99('0x26')](_0x4f99('0x4f'))['me'];for(const _0x96f06b of _0xd25c8[_0x4f99('0x8a')]()){if(!_0x96f06b[_0x4f99('0x54')]||_0x96f06b[_0x4f99('0x8')]!=_0x456b84)continue;if(_0x4f99('0x18')!=_0x96f06b[_0x4f99('0x4d')]||_0x4f99('0x7a')!=_0x96f06b[_0x4f99('0x1f')])continue;if(_0x96f06b[_0x4f99('0x7')]()[_0x4f99('0x1')](_0xcf47b6=>_0x18df34[_0x4f99('0x2c')](_0x5d615e=>_0x5d615e[_0x4f99('0x89')](_0xcf47b6,!0x0))))for(const _0x27ce09 of _0x96f06b[_0x4f99('0x85')]())_0x27ce09[_0x4f99('0x54')]&&(_0x27ce09[_0x4f99('0x53')](),_0x1b7b63=!0x0);}}return _0x1b7b63;}),_0xa1f1f1[_0x4f99('0x64')][_0x4f99('0x79')]['registerPostFixer'](_0xdb295c=>{const _0x2560d6=_0xa1f1f1[_0x4f99('0x55')][_0x4f99('0x26')](_0x4f99('0x6f'));if(!_0x2560d6||!_0x2560d6[_0x4f99('0x40')][_0x4f99('0x6')](_0xdb295c[_0x4f99('0x43')]))return!0x1;let _0x1e0662=!0x1;const _0x463ac6=_0xa1f1f1[_0x4f99('0x93')][_0x4f99('0x26')](_0x4f99('0x4f'))['me'],_0x4fea66=_0xa1f1f1['model']['document'][_0x4f99('0x9')][_0x4f99('0x90')](),_0x260dcd=Array[_0x4f99('0x3e')](_0xa1f1f1[_0x4f99('0x64')][_0x4f99('0x79')][_0x4f99('0x9')][_0x4f99('0x70')]())['filter'](({name:_0x3ad1a5,data:_0x2b242a})=>{const {group:_0x59db0f,subType:_0x2ea739,authorId:_0x3470f7}=_0xd25c8['_splitMarkerName'](_0x3ad1a5);return _0x4f99('0x34')==_0x59db0f&&_0x4f99('0x4c')==_0x2ea739&&_0x3470f7==_0x463ac6['id']&&!_0x2b242a['oldRange'];});for(const _0x1ebdc6 of _0x4fea66){if(_0x4f99('0x2a')!=_0x1ebdc6['type']||_0x4f99('0x48')!=_0x1ebdc6[_0x4f99('0x1e')]||0x1!=_0x1ebdc6[_0x4f99('0x5f')])continue;const _0x3dc0b4=_0xdb295c['createRange'](_0x1ebdc6[_0x4f99('0x5c')],_0x1ebdc6[_0x4f99('0x5c')]['getShiftedBy'](0x1));if(!_0x260dcd[_0x4f99('0x5a')](({data:_0x1b240f})=>_0x1b240f[_0x4f99('0xa0')][_0x4f99('0x16')](_0x3dc0b4)))for(const {name:_0xc781e7,data:_0x29a2b5}of _0x260dcd)if(_0x3dc0b4['containsRange'](_0x29a2b5[_0x4f99('0xa0')])){_0xdb295c[_0x4f99('0x73')](_0xc781e7,{'range':_0x3dc0b4}),_0x1e0662=!0x0;break;}}return _0x1e0662;}),_0xa1f1f1[_0x4f99('0x64')][_0x4f99('0x79')][_0x4f99('0x59')](_0x23f611=>{let _0x2aceec=!0x1;const _0x28bb4f=_0xa1f1f1['plugins'][_0x4f99('0x26')](_0x4f99('0x4f'))['me'],_0x5f3742=_0xd25c8[_0x4f99('0x8a')]()[_0x4f99('0x33')](_0x23dc35=>_0x23dc35[_0x4f99('0x54')]&&_0x23dc35['author']==_0x28bb4f),_0x5b42e8=new Set(),_0x38d924=new Set();for(const _0x25c49c of _0x5f3742)if('tablePaste'==_0x25c49c[_0x4f99('0x1f')])for(const _0x43f912 of _0x25c49c[_0x4f99('0x7d')]()){const _0x6d5ac8=_0x43f912[_0x4f99('0x0')]()['getContainedElement']();if(_0x6d5ac8){if(_0x6d5ac8['is'](_0x4f99('0x6c'),_0x4f99('0x48'))&&ce(_0x6d5ac8)){_0x25c49c['removeMarker'](_0x43f912[_0x4f99('0x1e')]),_0x5b42e8['add'](_0x6d5ac8),_0x2aceec=!0x0;const _0x2249ef=_0x6d5ac8[_0x4f99('0x65')],_0x152bf3=_0x6d5ac8[_0x4f99('0x92')],_0x2a03df=_0x2249ef&&_0x2249ef['is'](_0x4f99('0x6c'),_0x4f99('0x48')),_0x5e949f=_0x152bf3&&_0x152bf3['is'](_0x4f99('0x6c'),_0x4f99('0x48'));_0x2a03df&&!_0x5b42e8[_0x4f99('0x6')](_0x2249ef)&&_0x38d924[_0x4f99('0x5')](_0x2249ef),_0x5e949f&&!_0x5b42e8['has'](_0x152bf3)&&_0x38d924[_0x4f99('0x5')](_0x152bf3);}else _0x6d5ac8['is']('element',_0x4f99('0x52'))&&_0x6d5ac8[_0x4f99('0x27')]&&(_0x25c49c['removeMarker'](_0x43f912[_0x4f99('0x1e')]),_0x2aceec=!0x0);}}else{if(_0x4f99('0x7a')==_0x25c49c[_0x4f99('0x1f')]){if(!_0x25c49c[_0x4f99('0x38')]||!_0x25c49c[_0x4f99('0x38')][_0x4f99('0xaa')])continue;const _0xf413b8=_0x25c49c[_0x4f99('0x38')][_0x4f99('0x3')];if(_0xf413b8&&Object[_0x4f99('0x41')](_0xf413b8)['length'])continue;const _0x304391=_0x25c49c[_0x4f99('0x38')][_0x4f99('0xaa')];let _0x2c22a4=!0x0,_0x379fc3=!0x0;for(const _0x58e180 of _0x5f3742)if(_0x58e180['subType']&&_0x58e180[_0x4f99('0x1f')][_0x4f99('0x20')](_0x4f99('0x4c'))){if(!_0x58e180['attributes'][_0x4f99('0xaa')]){_0x379fc3=!0x1;break;}if(_0x58e180['id']!=_0x25c49c['id']&&_0x58e180['attributes']['tablePasteChainId']==_0x304391){_0x2c22a4=!0x1;break;}}_0x379fc3&&_0x2c22a4&&(_0x25c49c[_0x4f99('0x46')](),_0x2aceec=!0x0);}}for(const _0x474c57 of _0x5b42e8)_0x23f611[_0x4f99('0x47')](_0x474c57);for(const _0x22b7a1 of _0x38d924)_0x23f611['unwrap'](_0x22b7a1);return _0x2aceec;}),_0xa1f1f1[_0x4f99('0x4b')]['for'](_0x4f99('0x28'))[_0x4f99('0x30')]({'model':_0x4f99('0x14'),'view':(_0x1cba60,_0x1e2528)=>_0x998cbe(_0x1cba60),'converterPriority':'high'}),_0xa1f1f1[_0x4f99('0x4b')][_0x4f99('0x42')](_0x4f99('0x36'))[_0x4f99('0x30')]({'model':_0x4f99('0x14'),'view':(_0x24852d,_0xabb78a)=>_0xabb78a[_0x4f99('0x96')][_0x4f99('0x75')]?_0x998cbe(_0x24852d,!0x1):null,'converterPriority':_0x4f99('0x4e')});const _0x170794=_0xa1f1f1[_0x4f99('0xa2')][_0x4f99('0x8c')];this[_0x4f99('0x9f')](_0x170794['document'],'clipboardOutput',(_0xdc3193,_0x2a378c)=>{const _0x57926e=[];for(const _0x7d66 of _0x170794[_0x4f99('0x3c')](_0x2a378c[_0x4f99('0x9c')])['getItems']())_0x7d66['is'](_0x4f99('0x6c'),_0x4f99('0x99'))&&_0x57926e['push'](_0x7d66);_0x170794[_0x4f99('0x7f')](_0x1b12f8=>{for(const _0x172130 of _0x57926e)_0x1b12f8[_0x4f99('0x1c')](_0x1b12f8[_0x4f99('0x3c')](_0x172130),_0x1b12f8['createPositionBefore'](_0x172130)),_0x1b12f8['remove'](_0x172130);});});}}function ce(_0x2a60c6){if(_0x2a60c6[_0x4f99('0x27')])return!0x0;const _0x4e6371=_0x2a60c6[_0x4f99('0x63')](0x0);return _0x4e6371['is'](_0x4f99('0x6c'),_0x4f99('0x52'))&&_0x4e6371[_0x4f99('0x27')];}function fe(_0xba22c7,_0x2b2571={},_0x2c4317){for(const {isAnchor:_0x538644,cellHeight:_0x367b84,cellWidth:_0x3cd1c0}of _0x2c4317[_0x4f99('0x9b')](_0xba22c7,{'includeAllSlots':!0x0,..._0x2b2571}))if(!_0x538644||0x1!=_0x367b84||0x1!=_0x3cd1c0)return!0x1;return!0x0;}
23
+ const _0x3074=['getSuggestions','getSuggestion','getRanges','column','wrap','editingDowncast','root','suggestion-td','insertion','previous','createRangeOn','differ','unwrap','return','requires','insertRows','_getCoordsForCells','plugins','getRows','forceDefaultExecution','*Replace\x20table\x20cells*','listenTo','fromEntries','has','model','registerPostFixer','markers','markerName','_suggestionFactory','_splitMarkerName','stop','includes','getColumnIndexes','remove','filter','getShiftedBy','findAncestor','ck-suggestion-marker--active','row','createElement','getRange','paragraph','next','nextSibling','subType','ck-suggestion-marker-insertion','every','end','suggestion','keys','_tablePostFixingSubtypes','cells','insert','_replaceTableSlotCell','tableCellBorderWidth','TableUtils','endRow','high','tablePasteColumn','isInContent','containsRange','last','columns','setAttribute','getChangedMarkers','createTableWalker','getAttributes','Users','markerToHighlight','registerCustomCallback','start','view','createPositionBefore','_isForcedDefaultExecutionBlock','deletion','clipboardOutput','nodeAfter','first','for','getAllAdjacentSuggestions','isEmpty','discard','redo','type','options','tableCell','rows','name','batch','tablePasteCell','find','selection','getChild','change','activeMarkers','move','insertColumns','map','_descriptionFactory','tablePaste','removeMarkers','getColumns','register','tableCellSuggestion','join','hasSuggestion','createRange','setAttributes','tableCellVerticalAlignment','documentSelection','cell','commands','columnInsertionRanges','removeMarker','getChildren','getSuggestionCallback','reduce','markerAttributes','getTableIfOnlyTableInContent','entries','getChanges','editor','document','low','isEqual','author','from','ck-suggestion-marker','get','previousSibling','removeRows','tableCellBorderColor','tableCellPadding','TableClipboard','tablePasteRow','markMultiRangeBlockFormat','push','getMarkers','updateMarker','endColumn','getRowIndexes','oldRange','schema','$graveyard','conversion','markMultiRangeDeletion','length','getItems','deletionRanges','add','value','fill','content','attributes','markMultiRangeInsertion','formatBlock','registerDescriptionCallback','newRange','element','insertContent','tablePasteChainId','removeColumns','some','table','getContainedElement','suggestion:formatBlock:tablePasteCell','tableCellBackgroundColor','_createdBatches','showSuggestionHighlights','rootName','rowInsertionRanges','afterInit','accept','startsWith','position'];(function(_0x5aecf9,_0x3074e6){const _0x397538=function(_0x57eac0){while(--_0x57eac0){_0x5aecf9['push'](_0x5aecf9['shift']());}};_0x397538(++_0x3074e6);}(_0x3074,0x1e2));const _0x3975=function(_0x5aecf9,_0x3074e6){_0x5aecf9=_0x5aecf9-0x0;let _0x397538=_0x3074[_0x5aecf9];return _0x397538;};import{getTranslation as _0x1739ff}from'../utils/common-translations';import{Plugin as _0x380b97}from'ckeditor5/src/core';import{uid as _0x59de26,priorities as _0x1fcb11}from'ckeditor5/src/utils';import _0x3e6302 from'./table';const le=[_0x3975('0x61'),_0x3975('0xae'),'tableCellBorderStyle','tableCellHorizontalAlignment',_0x3975('0x97'),_0x3975('0x22'),_0x3975('0x0')],ae=Object[_0x3975('0x41')](le[_0x3975('0x8c')](_0x5636a8=>[_0x5636a8,null]));export default class At extends _0x380b97{static get[_0x3975('0x39')](){return[_0x3e6302];}[_0x3975('0x27')](){const _0x2e0868=this[_0x3975('0xa4')];if(!_0x2e0868[_0x3975('0x3c')][_0x3975('0x42')](_0x3975('0x1')))return;const _0x2dcb04=_0x2e0868[_0x3975('0x3c')][_0x3975('0xab')]('TrackChangesEditing'),_0x36cfd5=_0x2e0868[_0x3975('0x3c')][_0x3975('0xab')](_0x3975('0x62')),_0x1a20c7=_0x2e0868[_0x3975('0x3c')][_0x3975('0xab')](_0x3e6302),_0x421cd4=_0x2e0868[_0x3975('0x3c')][_0x3975('0xab')](_0x3975('0x1'));_0x1a20c7[_0x3975('0x5d')][_0x3975('0x4')]('tablePasteRow',_0x3975('0x65')),_0x2e0868[_0x3975('0x43')][_0x3975('0xa')][_0x3975('0x91')](_0x3975('0x92'),{'allowIn':_0x3975('0x80'),'allowContentOf':'tableCell','isLimit':!0x0}),_0x2e0868['conversion']['elementToElement']({'model':_0x3975('0x92'),'view':'suggestion-td'});let _0x5242ad=null;_0x2e0868[_0x3975('0x43')]['on'](_0x3975('0x1b'),(_0x157d66,_0x4eaf30)=>{const [_0x105fe1,_0x414426]=_0x4eaf30,_0x19acdf=_0x4eaf30[_0x4eaf30[_0x3975('0xe')]-0x1];_0x19acdf&&_0x19acdf[_0x3975('0x3e')]||_0x2dcb04[_0x3975('0x74')]||this[_0x3975('0xa4')][_0x3975('0x9a')][_0x3975('0xab')]('trackChanges')[_0x3975('0x12')]&&function(_0x5475e1,_0x7d00cd,_0x55da81,_0x4944ed,_0x9e5a51){if(_0x7d00cd&&!_0x7d00cd['is'](_0x3975('0x98')))return!0x1;const _0xf34a0d=_0x9e5a51[_0x3975('0xa1')](_0x5475e1,_0x55da81);if(!_0xf34a0d||!fe(_0xf34a0d,void 0x0,_0x4944ed))return!0x1;const _0x13fbff=_0x4944ed['getSelectionAffectedTableCells'](_0x55da81[_0x3975('0xa5')][_0x3975('0x86')]);if(!_0x13fbff[_0x3975('0xe')])return!0x1;const _0x3e97aa=_0x13fbff[0x0][_0x3975('0x4f')](_0x3975('0x1f')),_0x51de04=_0x4944ed[_0x3975('0x8')](_0x13fbff),_0x36b687=_0x4944ed[_0x3975('0x4b')](_0x13fbff),_0x34c2d2={'startRow':_0x51de04[_0x3975('0x78')],'endRow':_0x51de04[_0x3975('0x68')],'startColumn':_0x36b687[_0x3975('0x78')],'endColumn':_0x36b687[_0x3975('0x68')]};return 0x1==_0x13fbff[_0x3975('0xe')]&&(_0x34c2d2[_0x3975('0x63')]+=_0x4944ed[_0x3975('0x3d')](_0xf34a0d)-0x1,_0x34c2d2[_0x3975('0x7')]+=_0x4944ed[_0x3975('0x90')](_0xf34a0d)-0x1),fe(_0x3e97aa,_0x34c2d2,_0x4944ed);}(_0x105fe1,_0x414426,_0x2e0868['model'],_0x36cfd5,_0x421cd4)&&(_0x157d66['stop'](),_0x5242ad={'cells':[],'insertionRanges':[],'deletionRanges':[],'rowInsertionRanges':[],'rowInsertionIndexes':[],'columnInsertionRanges':[],'columnInsertionIndexes':[]},_0x2e0868['model'][_0x3975('0x88')](()=>{_0x2e0868[_0x3975('0x43')][_0x3975('0x1b')](_0x4eaf30[0x0],_0x4eaf30[0x1],_0x4eaf30[0x2],{'forceDefaultExecution':!0x0});const _0x345d3a=_0x59de26(),{rowInsertionRanges:_0x3c50b8,columnInsertionRanges:_0x3f8b8c,insertionRanges:_0x3fd81e,deletionRanges:_0x1d8d03,cells:_0x38d1d1}=_0x5242ad;_0x3c50b8[_0x3975('0xe')]&&_0x2dcb04[_0x3975('0x16')](_0x3c50b8,_0x3975('0x2'),{'tablePasteChainId':_0x345d3a}),_0x3f8b8c[_0x3975('0xe')]&&_0x2dcb04[_0x3975('0x16')](_0x3f8b8c,_0x3975('0x65'),{'tablePasteChainId':_0x345d3a}),_0x3fd81e[_0x3975('0xe')]&&_0x2dcb04[_0x3975('0x16')](_0x3fd81e,_0x3975('0x8e'),{'tablePasteChainId':_0x345d3a,'skipNestingCheck':!0x0}),_0x1d8d03[_0x3975('0xe')]&&_0x2dcb04[_0x3975('0xd')](_0x1d8d03,'tablePaste',{'tablePasteChainId':_0x345d3a,'skipNestingCheck':!0x0});const _0x28945b=_0x2dcb04[_0x3975('0x3')](_0x38d1d1[_0x3975('0x8c')](({element:_0x4aa535})=>_0x4aa535),{'formatGroupId':_0x59de26()},[],'tablePasteCell',{'tablePasteChainId':_0x345d3a});if(_0x28945b){const _0x297d0b=_0x28945b['getMarkers'](),_0x4a9355=[];for(const {element:_0x373b98,attributes:_0x75199c}of _0x38d1d1){if(!_0x75199c)continue;const _0x4e67c2=_0x2e0868['model']['createRangeOn'](_0x373b98),_0x1471cf=_0x297d0b['find'](_0x2f3b7f=>_0x2f3b7f[_0x3975('0x53')]()[_0x3975('0xa7')](_0x4e67c2));_0x1471cf&&_0x4a9355[_0x3975('0x4')]([_0x1471cf['name'],_0x75199c]);}_0x4a9355[_0x3975('0xe')]&&_0x28945b[_0x3975('0x6a')](_0x3975('0xa0'),Object['fromEntries'](_0x4a9355));}_0x5242ad=null;}));},{'priority':_0x1fcb11['high']+0xa}),_0x2e0868[_0x3975('0x3c')]['get'](_0x3975('0x1'))['on'](_0x3975('0x60'),(_0x35eab3,_0x2f24a1)=>{const [_0x218565,_0x1d0a9b,,_0x8abfe3]=_0x2f24a1;if(!_0x5242ad)return;_0x35eab3[_0x3975('0x49')]();const _0x50954c=_0x218565[_0x3975('0x99')],_0x58ba24=_0x1d0a9b,_0x445f93=ce(_0x50954c),_0x50a9ad=ce(_0x58ba24);_0x35eab3[_0x3975('0x38')]=_0x50954c;let _0x5d83a5=null,_0x20e21d=null;if(_0x50a9ad||_0x445f93){if(_0x445f93&&!_0x50a9ad){_0x8abfe3['remove'](_0x50954c[_0x3975('0x87')](0x0));for(const _0x267297 of Array[_0x3975('0xa9')](_0x58ba24[_0x3975('0x9d')]()))_0x8abfe3[_0x3975('0x5f')](_0x267297,_0x50954c,'end');const _0x261d29=_0x5242ad['rowInsertionIndexes'][_0x3975('0x4a')](_0x218565[_0x3975('0x51')]),_0x3f8abd=_0x5242ad['columnInsertionIndexes']['includes'](_0x218565[_0x3975('0x2e')]);_0x261d29||_0x3f8abd||(_0x5d83a5=_0x8abfe3['createRangeIn'](_0x50954c));}else _0x50a9ad&&!_0x445f93&&(_0x20e21d=_0x8abfe3['createRangeIn'](_0x50954c));}else{const _0x407ac1=_0x8abfe3[_0x3975('0x52')](_0x3975('0x92')),_0x31313f=_0x8abfe3['createElement'](_0x3975('0x92'));_0x8abfe3[_0x3975('0x2f')](_0x8abfe3['createRangeIn'](_0x50954c),_0x31313f),_0x8abfe3[_0x3975('0x5f')](_0x407ac1,_0x50954c,0x0);for(const _0x424f76 of Array[_0x3975('0xa9')](_0x58ba24[_0x3975('0x9d')]()))_0x8abfe3[_0x3975('0x5f')](_0x424f76,_0x407ac1,_0x3975('0x5a'));_0x5d83a5=_0x8abfe3[_0x3975('0x35')](_0x407ac1),_0x20e21d=_0x8abfe3[_0x3975('0x35')](_0x31313f);}const _0x2e904b=Array[_0x3975('0xa9')](_0x58ba24[_0x3975('0x6d')]())[_0x3975('0x4d')](([_0x5b18ba])=>le[_0x3975('0x4a')](_0x5b18ba));_0x5242ad[_0x3975('0x5e')]['push']({'element':_0x50954c,'attributes':_0x2e904b['length']?Object[_0x3975('0x41')](_0x2e904b):null}),_0x5d83a5&&_0x5242ad['insertionRanges'][_0x3975('0x4')](_0x5d83a5),_0x20e21d&&_0x5242ad[_0x3975('0x10')][_0x3975('0x4')](_0x20e21d);},{'priority':_0x3975('0x64')}),_0x36cfd5['on'](_0x3975('0x8b'),(_0x5c7382,_0x24e4a0)=>{const [_0x5bb5d1,_0x2bc60c={}]=_0x24e4a0;if(!_0x5242ad)return;const _0x22aa8e=_0x2bc60c['at']||0x0,_0x351ecd=_0x2bc60c[_0x3975('0x69')]||0x1;_0x5242ad['columnInsertionIndexes']=new Array(_0x351ecd)[_0x3975('0x13')](_0x22aa8e)[_0x3975('0x8c')]((_0x50bc63,_0x39cb0c)=>_0x50bc63+_0x39cb0c);for(const {cell:_0x5f4474}of _0x36cfd5['createTableWalker'](_0x5bb5d1,{'startColumn':_0x22aa8e,'endColumn':_0x22aa8e+_0x351ecd-0x1}))_0x5242ad[_0x3975('0x9b')]['push'](_0x2e0868[_0x3975('0x43')][_0x3975('0x35')](_0x5f4474));},{'priority':_0x3975('0xa6')}),_0x36cfd5['on'](_0x3975('0x3a'),(_0x535bfb,_0x319ef6)=>{const [_0x30d287,_0x3e3967={}]=_0x319ef6;if(!_0x5242ad)return;const _0x44b0f1=_0x3e3967['at']||0x0,_0x219a18=_0x3e3967[_0x3975('0x81')]||0x1;_0x5242ad['rowInsertionIndexes']=new Array(_0x219a18)[_0x3975('0x13')](_0x44b0f1)[_0x3975('0x8c')]((_0x36fafa,_0x504f22)=>_0x36fafa+_0x504f22);for(const {cell:_0x22b331}of _0x36cfd5[_0x3975('0x6c')](_0x30d287,{'startRow':_0x44b0f1,'endRow':_0x44b0f1+_0x219a18-0x1}))_0x5242ad[_0x3975('0x26')]['push'](_0x2e0868['model'][_0x3975('0x35')](_0x22b331));},{'priority':_0x3975('0xa6')}),_0x2dcb04[_0x3975('0x8d')][_0x3975('0x18')](_0x264378=>{if(_0x264378[_0x3975('0x57')]&&_0x264378[_0x3975('0x57')][_0x3975('0x29')](_0x3975('0x8e')))return _0x264378['previous']?{}:{'type':_0x3975('0x33'),'content':_0x1739ff(_0x2e0868['locale'],_0x3975('0x3f'))};});const _0x3a9dd7=()=>!0x1;for(const _0x5f4c09 of[_0x3975('0x8e'),_0x3975('0x65'),_0x3975('0x2'),_0x3975('0x84')])_0x2dcb04[_0x3975('0x47')][_0x3975('0x70')](_0x3975('0x33'),_0x5f4c09,'join',_0x3a9dd7),_0x2dcb04[_0x3975('0x47')][_0x3975('0x70')](_0x3975('0x75'),_0x5f4c09,_0x3975('0x93'),_0x3a9dd7),_0x2dcb04[_0x3975('0x47')][_0x3975('0x70')](_0x3975('0x17'),_0x5f4c09,_0x3975('0x93'),_0x3a9dd7);_0x2dcb04['_suggestionFactory']['registerCustomCallback']('formatBlock','tablePasteCell',_0x3975('0x7c'),_0x3a9dd7),_0x2dcb04[_0x3975('0x47')][_0x3975('0x70')](_0x3975('0x17'),_0x3975('0x84'),_0x3975('0x28'),(_0x408730,_0x277add,_0x19070d)=>{const _0x43f505=_0x408730[_0x3975('0x8c')](_0x440195=>_0x440195[_0x3975('0x20')]())[_0x3975('0x4d')](_0x5b0dbb=>_0x5b0dbb),_0x147173=new Map(_0x43f505[_0x3975('0x8c')](_0x47bee2=>[_0x47bee2,null]));if(_0x5242ad)for(const {element:_0x523d5c,attributes:_0x1deab5}of _0x5242ad['cells'])_0x1deab5&&_0x147173['set'](_0x523d5c,_0x1deab5);else{if(_0x19070d&&_0x19070d[_0x3975('0xa0')])for(const [_0x1e7c48,_0x2b3869]of Object[_0x3975('0xa2')](_0x19070d[_0x3975('0xa0')])){const _0x550317=_0x2e0868[_0x3975('0x43')][_0x3975('0x45')]['get'](_0x1e7c48),_0x2c1629=_0x550317?_0x550317[_0x3975('0x53')]()[_0x3975('0x20')]():null;_0x2c1629&&_0x147173['set'](_0x2c1629,_0x2b3869);}}_0x2e0868[_0x3975('0x43')][_0x3975('0x88')](_0x512ced=>{for(const [_0x2618a3,_0x5d4ac6]of _0x147173)_0x512ced[_0x3975('0x96')]({...ae,..._0x5d4ac6},_0x2618a3);});});const _0x322bec=(_0x4335c6,_0x54a233)=>{_0x2dcb04[_0x3975('0x47')][_0x3975('0x70')](_0x4335c6,'tablePaste',_0x54a233,(_0x540d83,_0x5880bd,_0x3680ca)=>{_0x2e0868[_0x3975('0x43')]['change'](_0x1b19ed=>{const _0x1a5ebc=[];for(const _0x37a840 of _0x540d83){const _0x5a4a1f=_0x37a840[_0x3975('0x71')][_0x3975('0x77')];_0x5a4a1f['is'](_0x3975('0x1a'),_0x3975('0x92'))&&_0x1a5ebc[_0x3975('0x4')](_0x5a4a1f);}_0x2dcb04[_0x3975('0x47')][_0x3975('0x9e')](_0x4335c6,null,_0x54a233)(_0x540d83,_0x5880bd,_0x3680ca);for(const _0x4d6204 of _0x1a5ebc)_0x3975('0xb')!=_0x4d6204[_0x3975('0x31')][_0x3975('0x25')]&&_0x1b19ed['unwrap'](_0x4d6204);});});};_0x322bec(_0x3975('0x33'),_0x3975('0x28')),_0x322bec(_0x3975('0x33'),_0x3975('0x7c')),_0x322bec('deletion',_0x3975('0x28')),_0x322bec('deletion',_0x3975('0x7c')),_0x2dcb04[_0x3975('0x47')][_0x3975('0x70')](_0x3975('0x33'),_0x3975('0x2'),'discard',_0x51d221=>{const _0x4cc92c=_0x51d221[_0x3975('0x8c')](_0x4870f5=>_0x4870f5['getContainedElement']()),_0x45827f=_0x4cc92c[0x0]['findAncestor'](_0x3975('0x1f')),{minRow:_0xeb546e,maxRow:_0x4e4a2c}=_0x1a20c7[_0x3975('0x3b')](_0x4cc92c);_0x36cfd5[_0x3975('0xad')](_0x45827f,{'at':_0xeb546e,'rows':_0x4e4a2c-_0xeb546e+0x1});}),_0x2dcb04[_0x3975('0x47')][_0x3975('0x70')](_0x3975('0x33'),_0x3975('0x65'),_0x3975('0x7c'),_0x16037e=>{const _0x384a46=_0x16037e[_0x3975('0x8c')](_0x5ef9fe=>_0x5ef9fe[_0x3975('0x20')]()),_0x512403=_0x384a46[0x0][_0x3975('0x4f')](_0x3975('0x1f')),{minColumn:_0x4fdab3,maxColumn:_0x3f904d}=_0x1a20c7[_0x3975('0x3b')](_0x384a46);_0x36cfd5[_0x3975('0x1d')](_0x512403,{'at':_0x4fdab3,'columns':_0x3f904d-_0x4fdab3+0x1});});const _0x2a6edc=(_0xb04653,_0x597e7a)=>{if(!_0x597e7a[_0x3975('0x57')]||!_0x597e7a[_0x3975('0x57')][_0x3975('0x29')](_0x3975('0x8e')))return;const _0x2e6bbc=_0x597e7a[_0x3975('0x15')]['tablePasteChainId'],_0x1da2eb=_0x2dcb04[_0x3975('0x2b')]()[_0x3975('0x4d')](_0x3b1fe1=>_0x3b1fe1[_0x3975('0x66')]&&_0x3b1fe1['attributes']&&_0x3b1fe1['attributes'][_0x3975('0x1c')]==_0x2e6bbc);_0x1da2eb[_0x3975('0xe')]&&_0x597e7a[_0x3975('0x7a')]()[_0x3975('0xe')]!=_0x1da2eb[_0x3975('0xe')]&&_0x1da2eb[_0x3975('0x9f')]((_0x37bfb2,_0x36e2a6)=>(_0x37bfb2[_0x3975('0x55')]=_0x36e2a6,_0x36e2a6[_0x3975('0x34')]=_0x37bfb2,_0x36e2a6));};function _0x4b9aaa(_0x705a40,_0x52ba27=!0x0){const {id:_0x464c71}=_0x2dcb04[_0x3975('0x48')](_0x705a40['markerName']),_0x3c2b12=[_0x3975('0xaa'),_0x3975('0x58')],_0x25bf3a=_0x2dcb04[_0x3975('0x89')][_0x3975('0x4a')](_0x705a40[_0x3975('0x46')]);return _0x25bf3a&&_0x3c2b12[_0x3975('0x4')](_0x3975('0x50')),{'classes':_0x3c2b12,'attributes':{'data-suggestion':_0x464c71},'priority':_0x25bf3a&&_0x52ba27?0xbc2:0xbb8};}_0x2dcb04['on']('suggestionLoaded',_0x2a6edc,{'priority':_0x3975('0x64')}),_0x2dcb04['on']('suggestionUnloaded',_0x2a6edc,{'priority':_0x3975('0x64')}),_0x2e0868[_0x3975('0x43')][_0x3975('0xa5')][_0x3975('0x44')](()=>{let _0x12448e=!0x1;const _0x4aa001=Array[_0x3975('0xa9')](_0x2e0868['model']['document'][_0x3975('0x36')][_0x3975('0x6b')]());for(const {name:_0x112fe6,data:_0x5ca26f}of _0x4aa001){const {group:_0x1f3e1d,type:_0x368a2e,id:_0x3b6481}=_0x2dcb04['_splitMarkerName'](_0x112fe6);if(_0x3975('0x5b')!=_0x1f3e1d||_0x3975('0x75')!=_0x368a2e||_0x5ca26f[_0x3975('0x9')])continue;if(!_0x2dcb04[_0x3975('0x94')](_0x3b6481))continue;const _0x22ee11=_0x2dcb04[_0x3975('0x2c')](_0x3b6481)[_0x3975('0x2d')](),_0x13aea2=_0x2e0868[_0x3975('0x3c')]['get'](_0x3975('0x6e'))['me'];for(const _0x117d28 of _0x2dcb04[_0x3975('0x2b')]()){if(!_0x117d28['isInContent']||_0x117d28['author']!=_0x13aea2)continue;if(_0x3975('0x17')!=_0x117d28['type']||_0x3975('0x84')!=_0x117d28[_0x3975('0x57')])continue;if(_0x117d28[_0x3975('0x2d')]()[_0x3975('0x59')](_0x1901c5=>_0x22ee11[_0x3975('0x1e')](_0x5e5b1d=>_0x5e5b1d[_0x3975('0x67')](_0x1901c5,!0x0))))for(const _0x5e2c40 of _0x117d28[_0x3975('0x7a')]())_0x5e2c40[_0x3975('0x66')]&&(_0x5e2c40['discard'](),_0x12448e=!0x0);}}return _0x12448e;}),_0x2e0868[_0x3975('0x43')][_0x3975('0xa5')][_0x3975('0x44')](_0x9d5e5a=>{const _0x4d45c5=_0x2e0868[_0x3975('0x9a')][_0x3975('0xab')](_0x3975('0x7d'));if(!_0x4d45c5||!_0x4d45c5[_0x3975('0x23')][_0x3975('0x42')](_0x9d5e5a[_0x3975('0x83')]))return!0x1;let _0x4bd16f=!0x1;const _0x39e9d3=_0x2e0868[_0x3975('0x3c')][_0x3975('0xab')](_0x3975('0x6e'))['me'],_0xf7b33=_0x2e0868[_0x3975('0x43')][_0x3975('0xa5')]['differ'][_0x3975('0xa3')](),_0x2e19de=Array[_0x3975('0xa9')](_0x2e0868[_0x3975('0x43')][_0x3975('0xa5')][_0x3975('0x36')][_0x3975('0x6b')]())['filter'](({name:_0x33ddd4,data:_0x74b416})=>{const {group:_0x349d0d,subType:_0xceb439,authorId:_0x2a330c}=_0x2dcb04[_0x3975('0x48')](_0x33ddd4);return _0x3975('0x5b')==_0x349d0d&&_0x3975('0x8e')==_0xceb439&&_0x2a330c==_0x39e9d3['id']&&!_0x74b416[_0x3975('0x9')];});for(const _0x3d160e of _0xf7b33){if(_0x3975('0x5f')!=_0x3d160e[_0x3975('0x7e')]||_0x3975('0x92')!=_0x3d160e[_0x3975('0x82')]||0x1!=_0x3d160e[_0x3975('0xe')])continue;const _0x1bc423=_0x9d5e5a[_0x3975('0x95')](_0x3d160e[_0x3975('0x2a')],_0x3d160e[_0x3975('0x2a')][_0x3975('0x4e')](0x1));if(!_0x2e19de[_0x3975('0x85')](({data:_0x579ee4})=>_0x579ee4[_0x3975('0x19')][_0x3975('0xa7')](_0x1bc423)))for(const {name:_0x1d30f6,data:_0x11a2a2}of _0x2e19de)if(_0x1bc423[_0x3975('0x67')](_0x11a2a2['newRange'])){_0x9d5e5a[_0x3975('0x6')](_0x1d30f6,{'range':_0x1bc423}),_0x4bd16f=!0x0;break;}}return _0x4bd16f;}),_0x2e0868[_0x3975('0x43')]['document'][_0x3975('0x44')](_0xfb1d69=>{let _0x153851=!0x1;const _0x134880=_0x2e0868[_0x3975('0x3c')][_0x3975('0xab')]('Users')['me'],_0x326a85=_0x2dcb04[_0x3975('0x2b')]()['filter'](_0x4a1e43=>_0x4a1e43[_0x3975('0x66')]&&_0x4a1e43[_0x3975('0xa8')]==_0x134880),_0x236219=new Set(),_0x42556a=new Set();for(const _0x601d8e of _0x326a85)if(_0x3975('0x8e')==_0x601d8e[_0x3975('0x57')])for(const _0x5caadc of _0x601d8e[_0x3975('0x5')]()){const _0x56b1c7=_0x5caadc[_0x3975('0x53')]()[_0x3975('0x20')]();if(_0x56b1c7){if(_0x56b1c7['is'](_0x3975('0x1a'),_0x3975('0x92'))&&ce(_0x56b1c7)){_0x601d8e[_0x3975('0x9c')](_0x5caadc[_0x3975('0x82')]),_0x236219[_0x3975('0x11')](_0x56b1c7),_0x153851=!0x0;const _0x4d640a=_0x56b1c7[_0x3975('0x56')],_0x47de71=_0x56b1c7[_0x3975('0xac')],_0x163148=_0x4d640a&&_0x4d640a['is'](_0x3975('0x1a'),'tableCellSuggestion'),_0x366882=_0x47de71&&_0x47de71['is']('element',_0x3975('0x92'));_0x163148&&!_0x236219[_0x3975('0x42')](_0x4d640a)&&_0x42556a[_0x3975('0x11')](_0x4d640a),_0x366882&&!_0x236219[_0x3975('0x42')](_0x47de71)&&_0x42556a[_0x3975('0x11')](_0x47de71);}else _0x56b1c7['is']('element',_0x3975('0x54'))&&_0x56b1c7[_0x3975('0x7b')]&&(_0x601d8e['removeMarker'](_0x5caadc[_0x3975('0x82')]),_0x153851=!0x0);}}else{if(_0x3975('0x84')==_0x601d8e[_0x3975('0x57')]){if(!_0x601d8e[_0x3975('0x15')]||!_0x601d8e['attributes']['tablePasteChainId'])continue;const _0x231bc8=_0x601d8e[_0x3975('0x15')][_0x3975('0xa0')];if(_0x231bc8&&Object[_0x3975('0x5c')](_0x231bc8)['length'])continue;const _0x3b1bcc=_0x601d8e[_0x3975('0x15')][_0x3975('0x1c')];let _0x512a54=!0x0,_0x51923f=!0x0;for(const _0x15b895 of _0x326a85)if(_0x15b895[_0x3975('0x57')]&&_0x15b895[_0x3975('0x57')][_0x3975('0x29')](_0x3975('0x8e'))){if(!_0x15b895['attributes'][_0x3975('0x1c')]){_0x51923f=!0x1;break;}if(_0x15b895['id']!=_0x601d8e['id']&&_0x15b895[_0x3975('0x15')][_0x3975('0x1c')]==_0x3b1bcc){_0x512a54=!0x1;break;}}_0x51923f&&_0x512a54&&(_0x601d8e[_0x3975('0x8f')](),_0x153851=!0x0);}}for(const _0x6c5b94 of _0x236219)_0xfb1d69[_0x3975('0x4c')](_0x6c5b94);for(const _0x202b6d of _0x42556a)_0xfb1d69[_0x3975('0x37')](_0x202b6d);return _0x153851;}),_0x2e0868['conversion'][_0x3975('0x79')](_0x3975('0x30'))[_0x3975('0x6f')]({'model':_0x3975('0x21'),'view':(_0x4c5f9c,_0x1d86f8)=>_0x4b9aaa(_0x4c5f9c),'converterPriority':_0x3975('0x64')}),_0x2e0868[_0x3975('0xc')][_0x3975('0x79')]('dataDowncast')[_0x3975('0x6f')]({'model':_0x3975('0x21'),'view':(_0x56492c,_0xd4836a)=>_0xd4836a[_0x3975('0x7f')][_0x3975('0x24')]?_0x4b9aaa(_0x56492c,!0x1):null,'converterPriority':'high'});const _0x5ce24c=_0x2e0868['editing'][_0x3975('0x72')];this[_0x3975('0x40')](_0x5ce24c['document'],_0x3975('0x76'),(_0x2bbc83,_0x2f3341)=>{const _0x2f6c5f=[];for(const _0xdd353a of _0x5ce24c['createRangeIn'](_0x2f3341[_0x3975('0x14')])[_0x3975('0xf')]())_0xdd353a['is'](_0x3975('0x1a'),_0x3975('0x32'))&&_0x2f6c5f[_0x3975('0x4')](_0xdd353a);_0x5ce24c[_0x3975('0x88')](_0x3c0d37=>{for(const _0x91e68e of _0x2f6c5f)_0x3c0d37[_0x3975('0x8a')](_0x3c0d37['createRangeIn'](_0x91e68e),_0x3c0d37[_0x3975('0x73')](_0x91e68e)),_0x3c0d37[_0x3975('0x4c')](_0x91e68e);});});}}function ce(_0x19d085){if(_0x19d085['isEmpty'])return!0x0;const _0xded826=_0x19d085[_0x3975('0x87')](0x0);return _0xded826['is'](_0x3975('0x1a'),'paragraph')&&_0xded826['isEmpty'];}function fe(_0x49fa29,_0x1cbb76={},_0x3852e1){for(const {isAnchor:_0x37d172,cellHeight:_0x10e966,cellWidth:_0x238f5d}of _0x3852e1[_0x3975('0x6c')](_0x49fa29,{'includeAllSlots':!0x0,..._0x1cbb76}))if(!_0x37d172||0x1!=_0x10e966||0x1!=_0x238f5d)return!0x1;return!0x0;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1a8c=['editor','data','table','get','afterInit','bind','getColumnGroupElement','subType','resizeTableWidth','registerDescriptionCallback','*Format:*\x20resize\x20table','getSelectedElement','has','handleSuggestionDescription','_suggestionFactory','markBlockFormat','registerCustomCallback','selection','change','enableCommand','getTableColumnsWidths','TableColumnResizeEditing','document','discard','formatGroupId','tableWidth','getContainedElement','formatBlock','formatInline','type','handleResizeTableWidthCommand','getSuggestionCallback','commandParams','accept','resizeTable','TrackChangesEditing','columnWidths','getSuggestions','plugins','Users'];(function(_0x305d2e,_0x1a8ce8){const _0x2ff887=function(_0x591778){while(--_0x591778){_0x305d2e['push'](_0x305d2e['shift']());}};_0x2ff887(++_0x1a8ce8);}(_0x1a8c,0x12f));const _0x2ff8=function(_0x305d2e,_0x1a8ce8){_0x305d2e=_0x305d2e-0x0;let _0x2ff887=_0x1a8c[_0x305d2e];return _0x2ff887;};import{Plugin as _0x5cd4b5}from'ckeditor5/src/core';import{getTranslation as _0x207a2b}from'../utils/common-translations';export default class It extends _0x5cd4b5{[_0x2ff8('0x15')](){if(!this['editor'][_0x2ff8('0xf')][_0x2ff8('0x1d')](_0x2ff8('0x26')))return;const _0x562f60=this['editor'][_0x2ff8('0xf')][_0x2ff8('0x14')]('TrackChangesEditing');_0x562f60[_0x2ff8('0x24')](_0x2ff8('0x19'),this[_0x2ff8('0x7')]['bind'](this)),_0x562f60[_0x2ff8('0x1f')]['registerCustomCallback'](_0x2ff8('0x4'),_0x2ff8('0xb'),'accept',_0x562f60[_0x2ff8('0x1f')][_0x2ff8('0x8')](_0x2ff8('0x4'),null,_0x2ff8('0x0'))),_0x562f60['_suggestionFactory'][_0x2ff8('0x21')](_0x2ff8('0x4'),_0x2ff8('0xb'),'discard',_0x562f60[_0x2ff8('0x1f')][_0x2ff8('0x8')](_0x2ff8('0x4'),null,_0x2ff8('0xa'))),_0x562f60['_descriptionFactory'][_0x2ff8('0x1a')](this[_0x2ff8('0x1e')][_0x2ff8('0x16')](this));}[_0x2ff8('0x7')](_0x46a550,_0x46f6a9){const _0x433f04=this[_0x2ff8('0x11')][_0x2ff8('0xf')][_0x2ff8('0x14')](_0x2ff8('0xc')),_0x422d12=this['editor'][_0x2ff8('0xf')][_0x2ff8('0x14')]('TableColumnResizeEditing'),_0x46d639=_0x46f6a9[_0x2ff8('0x13')]||this[_0x2ff8('0x11')]['model'][_0x2ff8('0x27')][_0x2ff8('0x22')][_0x2ff8('0x1c')]();this[_0x2ff8('0x11')]['model'][_0x2ff8('0x23')](()=>{const _0x1bcc83=_0x422d12[_0x2ff8('0x17')](_0x46d639);let _0x595073=_0x1bcc83?_0x422d12[_0x2ff8('0x25')](_0x1bcc83):null,_0x16d4e2=_0x46d639['getAttribute']('tableWidth')||null;const _0x2216d9=_0x46f6a9[_0x2ff8('0x2')]||_0x16d4e2,_0x544dd2=_0x46f6a9[_0x2ff8('0xd')]||_0x595073,_0x1e8e22=this['editor'][_0x2ff8('0xf')][_0x2ff8('0x14')](_0x2ff8('0x10'))['me'];for(const _0x3ebc51 of _0x433f04[_0x2ff8('0xe')]()){const _0x399c10=_0x3ebc51[_0x2ff8('0x3')]();if('resizeTable'===_0x3ebc51[_0x2ff8('0x18')]&&_0x399c10===_0x46d639){_0x3ebc51['author']!==_0x1e8e22&&_0x3ebc51['discard']();const _0x130fbe=_0x3ebc51[_0x2ff8('0x12')][_0x2ff8('0x9')];_0x16d4e2=_0x130fbe[0x0]['tableWidth'],_0x595073=_0x130fbe[0x0][_0x2ff8('0xd')];break;}}_0x46a550({'table':_0x46d639,'tableWidth':_0x2216d9,'columnWidths':_0x544dd2}),_0x433f04[_0x2ff8('0x20')](_0x46d639,{'commandName':_0x2ff8('0x19'),'commandParams':[{'tableWidth':_0x16d4e2,'columnWidths':_0x595073}],'formatGroupId':_0x2ff8('0xb')},[],_0x2ff8('0xb'));});}[_0x2ff8('0x1e')](_0x1d3cb4){if(_0x2ff8('0x4')!=_0x1d3cb4[_0x2ff8('0x6')]&&_0x2ff8('0x5')!=_0x1d3cb4['type'])return;const {data:_0x3ba25e}=_0x1d3cb4;if(_0x3ba25e&&'resizeTable'===_0x3ba25e[_0x2ff8('0x1')]){const _0x56aae0=_0x2ff8('0x1b');return{'type':'format','content':_0x207a2b(this[_0x2ff8('0x11')]['locale'],_0x56aae0)};}}}
23
+ const _0x23da=['has','locale','plugins','formatBlock','selection','getSuggestionCallback','TableColumnResizeEditing','*Format:*\x20resize\x20table','getAttribute','markBlockFormat','enableCommand','resizeTable','change','type','registerCustomCallback','formatGroupId','accept','resizeTableWidth','_descriptionFactory','formatInline','getContainedElement','getSuggestions','author','subType','tableWidth','handleSuggestionDescription','columnWidths','handleResizeTableWidthCommand','discard','editor','_suggestionFactory','table','TrackChangesEditing','getColumnGroupElement','afterInit','get'];(function(_0x5255d7,_0x23daa4){const _0x30a834=function(_0x43a4e6){while(--_0x43a4e6){_0x5255d7['push'](_0x5255d7['shift']());}};_0x30a834(++_0x23daa4);}(_0x23da,0x1be));const _0x30a8=function(_0x5255d7,_0x23daa4){_0x5255d7=_0x5255d7-0x0;let _0x30a834=_0x23da[_0x5255d7];return _0x30a834;};import{Plugin as _0x1db51f}from'ckeditor5/src/core';import{getTranslation as _0xd073be}from'../utils/common-translations';export default class It extends _0x1db51f{[_0x30a8('0x14')](){if(!this[_0x30a8('0xf')][_0x30a8('0x18')][_0x30a8('0x16')]('TableColumnResizeEditing'))return;const _0x233bd3=this['editor'][_0x30a8('0x18')][_0x30a8('0x15')](_0x30a8('0x12'));_0x233bd3[_0x30a8('0x20')](_0x30a8('0x3'),this[_0x30a8('0xd')]['bind'](this)),_0x233bd3[_0x30a8('0x10')][_0x30a8('0x0')]('formatBlock',_0x30a8('0x21'),_0x30a8('0x2'),_0x233bd3[_0x30a8('0x10')][_0x30a8('0x1b')]('formatBlock',null,_0x30a8('0xe'))),_0x233bd3[_0x30a8('0x10')][_0x30a8('0x0')](_0x30a8('0x19'),_0x30a8('0x21'),'discard',_0x233bd3['_suggestionFactory'][_0x30a8('0x1b')](_0x30a8('0x19'),null,'accept')),_0x233bd3[_0x30a8('0x4')]['registerDescriptionCallback'](this['handleSuggestionDescription']['bind'](this));}[_0x30a8('0xd')](_0x537459,_0x122409){const _0x470076=this[_0x30a8('0xf')][_0x30a8('0x18')][_0x30a8('0x15')](_0x30a8('0x12')),_0x35b474=this[_0x30a8('0xf')]['plugins'][_0x30a8('0x15')](_0x30a8('0x1c')),_0x1b5704=_0x122409[_0x30a8('0x11')]||this[_0x30a8('0xf')]['model']['document'][_0x30a8('0x1a')]['getSelectedElement']();this[_0x30a8('0xf')]['model'][_0x30a8('0x22')](()=>{const _0x152b30=_0x35b474[_0x30a8('0x13')](_0x1b5704);let _0x1a0159=_0x152b30?_0x35b474['getTableColumnsWidths'](_0x152b30):null,_0x3ba210=_0x1b5704[_0x30a8('0x1e')]('tableWidth')||null;const _0x227195=_0x122409[_0x30a8('0xa')]||_0x3ba210,_0x588dd7=_0x122409[_0x30a8('0xc')]||_0x1a0159,_0x52b0c1=this[_0x30a8('0xf')]['plugins'][_0x30a8('0x15')]('Users')['me'];for(const _0x1a5cc4 of _0x470076[_0x30a8('0x7')]()){const _0xcf6489=_0x1a5cc4[_0x30a8('0x6')]();if(_0x30a8('0x21')===_0x1a5cc4[_0x30a8('0x9')]&&_0xcf6489===_0x1b5704){_0x1a5cc4[_0x30a8('0x8')]!==_0x52b0c1&&_0x1a5cc4[_0x30a8('0xe')]();const _0x58c0fd=_0x1a5cc4['data']['commandParams'];_0x3ba210=_0x58c0fd[0x0][_0x30a8('0xa')],_0x1a0159=_0x58c0fd[0x0][_0x30a8('0xc')];break;}}_0x537459({'table':_0x1b5704,'tableWidth':_0x227195,'columnWidths':_0x588dd7}),_0x470076[_0x30a8('0x1f')](_0x1b5704,{'commandName':_0x30a8('0x3'),'commandParams':[{'tableWidth':_0x3ba210,'columnWidths':_0x1a0159}],'formatGroupId':_0x30a8('0x21')},[],_0x30a8('0x21'));});}[_0x30a8('0xb')](_0x20d4fd){if('formatBlock'!=_0x20d4fd[_0x30a8('0x23')]&&_0x30a8('0x5')!=_0x20d4fd[_0x30a8('0x23')])return;const {data:_0x5bc566}=_0x20d4fd;if(_0x5bc566&&'resizeTable'===_0x5bc566[_0x30a8('0x1')]){const _0x2bee27=_0x30a8('0x1d');return{'type':'format','content':_0xd073be(this[_0x30a8('0xf')][_0x30a8('0x17')],_0x2bee27)};}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4f67=['writer','registerCustomCallback','ck-suggestion-marker--active','registerDescriptionCallback','FORMAT_REGULAR_COLUMN','toViewElement','createTableWalker','removeMarker:suggestion','editor','getCellLocation','ck-suggestion-marker-','forceValue','setAttribute','accept','markerRange','get','consume','_descriptionFactory','*Format:*\x20%0','name','markerName','commandName','type','headingRows','parent','nodeAfter','unbindElementFromMarkerName','_enableDefaultAttributesIntegration','afterInit','headingColumns','data','plugins','registerAttributeLabel','addMarker:suggestion','FORMAT_REGULAR_ROW','_suggestionFactory','cell','removeClass','downcastDispatcher','setTableRowHeader','addClass','options','FORMAT_HEADER_COLUMN','bindElementToMarker','mapper','getSuggestion','TableEditing','consumable','start','FORMAT_HEADER_ROW','TrackChangesEditing','editing','_splitMarkerName','markerNameToElements','TableUtils','_handleLegacySuggestions','includes','highest','requires','locale','setTableColumnHeader','formatBlock'];(function(_0x428293,_0x4f67b7){const _0x2b63d7=function(_0x58f1a1){while(--_0x58f1a1){_0x428293['push'](_0x428293['shift']());}};_0x2b63d7(++_0x4f67b7);}(_0x4f67,0x17b));const _0x2b63=function(_0x428293,_0x4f67b7){_0x428293=_0x428293-0x0;let _0x2b63d7=_0x4f67[_0x428293];return _0x2b63d7;};import{Plugin as _0x105667}from'ckeditor5/src/core';import _0x1b8d5b from'./table';import{getTranslation as _0x562606}from'../utils/common-translations';export default class St extends _0x105667{static get[_0x2b63('0x33')](){return[_0x1b8d5b];}[_0x2b63('0x15')](){const _0x45c894=this[_0x2b63('0x1')];if(!_0x45c894[_0x2b63('0x18')]['has'](_0x2b63('0x27')))return;const _0x329b27=_0x45c894[_0x2b63('0x34')],_0x2f5074=_0x45c894[_0x2b63('0x18')][_0x2b63('0x8')]('TrackChangesEditing');_0x2f5074[_0x2b63('0x14')](_0x2b63('0x20'),[],[_0x2b63('0x10')]),_0x2f5074[_0x2b63('0x14')](_0x2b63('0x35'),[],[_0x2b63('0x16')]),_0x2f5074[_0x2b63('0xa')][_0x2b63('0x19')](_0x2b63('0x10'),_0x562606(_0x329b27,_0x2b63('0x2a'))),_0x2f5074[_0x2b63('0xa')][_0x2b63('0x19')](_0x2b63('0x16'),_0x562606(_0x329b27,_0x2b63('0x23'))),this['_handleLegacySuggestions']();}[_0x2b63('0x30')](){const _0x29bcc1=this[_0x2b63('0x1')]['plugins'][_0x2b63('0x8')]('TrackChangesEditing'),_0x3ad445=this[_0x2b63('0x1')][_0x2b63('0x18')][_0x2b63('0x8')](_0x2b63('0x2f')),_0x20328a=this[_0x2b63('0x1')]['plugins']['get'](_0x1b8d5b)['_acceptFormatSuggestionCallbackFactory']();function _0x188237({showActiveMarker:_0x6e0a91=!0x0,setDataAttribute:_0x5173bd=!0x0}={}){return(_0x54541c,_0xa12b2b,_0xe4b7f3)=>{const {type:_0xe9c511,id:_0x2da383}=_0x29bcc1[_0x2b63('0x2d')](_0xa12b2b[_0x2b63('0xd')]),_0x1caa94=_0x29bcc1[_0x2b63('0x26')](_0x2da383),_0x4942bb=_0x1caa94[_0x2b63('0x17')];if(_0x2b63('0x36')!=_0x1caa94[_0x2b63('0xf')]||!_0x4942bb||'setTableColumnHeader'!=_0x4942bb[_0x2b63('0xe')])return;if(_0xa12b2b['item'])return void _0x54541c['stop']();if(!_0xe4b7f3[_0x2b63('0x28')][_0x2b63('0x9')](_0xa12b2b[_0x2b63('0x7')],_0x54541c[_0x2b63('0xc')]))return;const _0x56dac0=_0xa12b2b[_0x2b63('0x7')][_0x2b63('0x29')][_0x2b63('0x12')],_0x22dd65=_0xa12b2b[_0x2b63('0x7')]['end']['nodeBefore'],_0x476583=_0x56dac0[_0x2b63('0x11')][_0x2b63('0x11')],{column:_0x18aaf7}=_0x3ad445[_0x2b63('0x2')](_0x56dac0),{column:_0x100da5}=_0x3ad445['getCellLocation'](_0x22dd65);for(let _0x25ea4f=_0x18aaf7;_0x25ea4f<=_0x100da5;_0x25ea4f++){const _0x19e7b6=_0x3ad445[_0x2b63('0x3d')](_0x476583,{'column':_0x25ea4f,'includeAllSlots':!0x1});for(const _0x45cd5b of _0x19e7b6){const _0x5768a5=_0x45cd5b[_0x2b63('0x1d')],_0x4248ea=_0xe4b7f3[_0x2b63('0x25')][_0x2b63('0x3c')](_0x5768a5);_0xe4b7f3[_0x2b63('0x37')][_0x2b63('0x21')](_0x2b63('0x3')+_0xe9c511,_0x4248ea),_0x5173bd&&_0xe4b7f3[_0x2b63('0x37')][_0x2b63('0x5')]('data-suggestion',_0x2da383,_0x4248ea),_0xe4b7f3[_0x2b63('0x25')][_0x2b63('0x24')](_0x4248ea,_0xa12b2b[_0x2b63('0xd')]),_0x6e0a91&&(_0x29bcc1['activeMarkers'][_0x2b63('0x31')](_0xa12b2b['markerName'])?_0xe4b7f3['writer'][_0x2b63('0x21')](_0x2b63('0x39'),_0x4248ea):_0xe4b7f3[_0x2b63('0x37')][_0x2b63('0x1e')](_0x2b63('0x39'),_0x4248ea));}}};}_0x29bcc1[_0x2b63('0x1c')][_0x2b63('0x38')](_0x2b63('0x36'),_0x2b63('0x20'),'accept',_0x20328a),_0x29bcc1[_0x2b63('0x1c')]['registerCustomCallback'](_0x2b63('0x36'),'setTableColumnHeader',_0x2b63('0x6'),_0x20328a),this['editor'][_0x2b63('0x2c')][_0x2b63('0x1f')]['on'](_0x2b63('0x1a'),_0x188237(),{'priority':_0x2b63('0x32')}),this[_0x2b63('0x1')][_0x2b63('0x17')][_0x2b63('0x1f')]['on'](_0x2b63('0x1a'),(_0x5d9ade,_0x25b28c,_0x408f56)=>{_0x408f56[_0x2b63('0x22')]['showSuggestionHighlights']&&_0x188237({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x5d9ade,_0x25b28c,_0x408f56);},{'priority':'highest'}),this['editor'][_0x2b63('0x2c')]['downcastDispatcher']['on'](_0x2b63('0x0'),(_0x2f2afb,_0x122371,_0x3f1501)=>{const {type:_0xf18a01,id:_0x3085ed}=_0x29bcc1[_0x2b63('0x2d')](_0x122371[_0x2b63('0xd')]),_0x1ab906=_0x29bcc1['getSuggestion'](_0x3085ed),_0x2193e4=_0x1ab906[_0x2b63('0x17')];if(_0x2b63('0x36')!=_0x1ab906[_0x2b63('0xf')]||!_0x2193e4||_0x2b63('0x35')!=_0x2193e4[_0x2b63('0xe')])return;const _0x579303=_0x3f1501[_0x2b63('0x25')][_0x2b63('0x2e')](_0x122371[_0x2b63('0xd')]);if(_0x579303)for(const _0x33cff3 of _0x579303)_0x3f1501[_0x2b63('0x37')]['removeClass'](_0x2b63('0x3')+_0xf18a01,_0x33cff3),_0x3f1501[_0x2b63('0x37')][_0x2b63('0x1e')](_0x2b63('0x39'),_0x33cff3),_0x3f1501['writer']['removeAttribute']('data-suggestion',_0x33cff3),_0x3f1501[_0x2b63('0x25')][_0x2b63('0x13')](_0x33cff3,_0x122371[_0x2b63('0xd')]);},{'priority':'highest'}),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x10686f=this[_0x2b63('0x1')],_0x50ffc1=_0x10686f[_0x2b63('0x34')];function _0xc4fb33(_0x3c3708){return{'type':'format','content':_0x562606(_0x50ffc1,_0x2b63('0xb'),_0x3c3708)};}_0x10686f[_0x2b63('0x18')][_0x2b63('0x8')](_0x2b63('0x2b'))[_0x2b63('0xa')][_0x2b63('0x3a')](_0x39b94e=>{if(_0x2b63('0x36')!=_0x39b94e[_0x2b63('0xf')])return;const {data:_0x65b362}=_0x39b94e;if(_0x65b362){if(_0x2b63('0x20')==_0x65b362[_0x2b63('0xe')]){const _0x1695e6=_0x65b362['commandParams'][0x0][_0x2b63('0x4')];return _0xc4fb33(_0x562606(_0x50ffc1,_0x1695e6?_0x2b63('0x2a'):_0x2b63('0x1b')));}if(_0x2b63('0x35')==_0x65b362[_0x2b63('0xe')]){const _0x527ddc=_0x65b362['commandParams'][0x0][_0x2b63('0x4')];return _0xc4fb33(_0x562606(_0x50ffc1,_0x527ddc?_0x2b63('0x23'):_0x2b63('0x3b')));}}});}}
23
+ const _0x4b72=['name','ck-suggestion-marker--active','TableUtils','registerAttributeLabel','markerName','markerNameToElements','registerCustomCallback','commandName','removeAttribute','_splitMarkerName','removeClass','highest','consumable','markerRange','getSuggestion','editor','getCellLocation','cell','consume','plugins','editing','has','requires','_descriptionFactory','addClass','activeMarkers','parent','FORMAT_HEADER_ROW','locale','nodeAfter','headingColumns','ck-suggestion-marker-','FORMAT_REGULAR_COLUMN','accept','setAttribute','get','FORMAT_HEADER_COLUMN','_suggestionFactory','*Format:*\x20%0','createTableWalker','formatBlock','setTableRowHeader','options','data-suggestion','start','writer','data','addMarker:suggestion','headingRows','type','_acceptFormatSuggestionCallbackFactory','_enableDefaultAttributesIntegration','registerDescriptionCallback','stop','nodeBefore','setTableColumnHeader','mapper','item','showSuggestionHighlights','TrackChangesEditing','forceValue','downcastDispatcher','toViewElement','commandParams','_registerLegacyDescription','unbindElementFromMarkerName'];(function(_0xfe383d,_0x4b7295){const _0x4357d6=function(_0x28e667){while(--_0x28e667){_0xfe383d['push'](_0xfe383d['shift']());}};_0x4357d6(++_0x4b7295);}(_0x4b72,0xa6));const _0x4357=function(_0xfe383d,_0x4b7295){_0xfe383d=_0xfe383d-0x0;let _0x4357d6=_0x4b72[_0xfe383d];return _0x4357d6;};import{Plugin as _0x455bb8}from'ckeditor5/src/core';import _0x26db7c from'./table';import{getTranslation as _0x2579ec}from'../utils/common-translations';export default class St extends _0x455bb8{static get[_0x4357('0x36')](){return[_0x26db7c];}['afterInit'](){const _0x5c1e6c=this[_0x4357('0x2f')];if(!_0x5c1e6c[_0x4357('0x33')][_0x4357('0x35')]('TableEditing'))return;const _0x2411a0=_0x5c1e6c[_0x4357('0x3c')],_0x4437a4=_0x5c1e6c[_0x4357('0x33')][_0x4357('0x1')]('TrackChangesEditing');_0x4437a4[_0x4357('0x11')]('setTableRowHeader',[],['headingRows']),_0x4437a4[_0x4357('0x11')]('setTableColumnHeader',[],[_0x4357('0x3e')]),_0x4437a4[_0x4357('0x37')][_0x4357('0x23')](_0x4357('0xe'),_0x2579ec(_0x2411a0,'FORMAT_HEADER_ROW')),_0x4437a4[_0x4357('0x37')][_0x4357('0x23')](_0x4357('0x3e'),_0x2579ec(_0x2411a0,_0x4357('0x2'))),this['_handleLegacySuggestions']();}['_handleLegacySuggestions'](){const _0x112a4c=this[_0x4357('0x2f')][_0x4357('0x33')]['get'](_0x4357('0x19')),_0x1eaf11=this[_0x4357('0x2f')][_0x4357('0x33')][_0x4357('0x1')](_0x4357('0x22')),_0x1f12c3=this[_0x4357('0x2f')][_0x4357('0x33')]['get'](_0x26db7c)[_0x4357('0x10')]();function _0x2b295c({showActiveMarker:_0x5aec79=!0x0,setDataAttribute:_0x3aa0c9=!0x0}={}){return(_0x11a956,_0x5ad31e,_0x59bbed)=>{const {type:_0x58c4a5,id:_0x1016cf}=_0x112a4c[_0x4357('0x29')](_0x5ad31e['markerName']),_0x48baba=_0x112a4c[_0x4357('0x2e')](_0x1016cf),_0x3f41ae=_0x48baba[_0x4357('0xc')];if(_0x4357('0x6')!=_0x48baba['type']||!_0x3f41ae||_0x4357('0x15')!=_0x3f41ae[_0x4357('0x27')])return;if(_0x5ad31e[_0x4357('0x17')])return void _0x11a956[_0x4357('0x13')]();if(!_0x59bbed[_0x4357('0x2c')][_0x4357('0x32')](_0x5ad31e['markerRange'],_0x11a956[_0x4357('0x20')]))return;const _0x4a9453=_0x5ad31e[_0x4357('0x2d')][_0x4357('0xa')][_0x4357('0x3d')],_0x4df067=_0x5ad31e[_0x4357('0x2d')]['end'][_0x4357('0x14')],_0x2d37f8=_0x4a9453[_0x4357('0x3a')][_0x4357('0x3a')],{column:_0x416f46}=_0x1eaf11['getCellLocation'](_0x4a9453),{column:_0x59b18e}=_0x1eaf11[_0x4357('0x30')](_0x4df067);for(let _0x4dbf93=_0x416f46;_0x4dbf93<=_0x59b18e;_0x4dbf93++){const _0xf257bb=_0x1eaf11[_0x4357('0x5')](_0x2d37f8,{'column':_0x4dbf93,'includeAllSlots':!0x1});for(const _0x372c42 of _0xf257bb){const _0x9f2332=_0x372c42[_0x4357('0x31')],_0x37cb7e=_0x59bbed[_0x4357('0x16')][_0x4357('0x1c')](_0x9f2332);_0x59bbed[_0x4357('0xb')][_0x4357('0x38')](_0x4357('0x3f')+_0x58c4a5,_0x37cb7e),_0x3aa0c9&&_0x59bbed[_0x4357('0xb')][_0x4357('0x0')](_0x4357('0x9'),_0x1016cf,_0x37cb7e),_0x59bbed[_0x4357('0x16')]['bindElementToMarker'](_0x37cb7e,_0x5ad31e[_0x4357('0x24')]),_0x5aec79&&(_0x112a4c[_0x4357('0x39')]['includes'](_0x5ad31e[_0x4357('0x24')])?_0x59bbed[_0x4357('0xb')][_0x4357('0x38')]('ck-suggestion-marker--active',_0x37cb7e):_0x59bbed[_0x4357('0xb')]['removeClass'](_0x4357('0x21'),_0x37cb7e));}}};}_0x112a4c[_0x4357('0x3')][_0x4357('0x26')](_0x4357('0x6'),'setTableRowHeader',_0x4357('0x41'),_0x1f12c3),_0x112a4c['_suggestionFactory']['registerCustomCallback'](_0x4357('0x6'),'setTableColumnHeader','accept',_0x1f12c3),this['editor'][_0x4357('0x34')][_0x4357('0x1b')]['on']('addMarker:suggestion',_0x2b295c(),{'priority':_0x4357('0x2b')}),this[_0x4357('0x2f')][_0x4357('0xc')][_0x4357('0x1b')]['on'](_0x4357('0xd'),(_0x983635,_0x48dc66,_0x12b9b5)=>{_0x12b9b5[_0x4357('0x8')][_0x4357('0x18')]&&_0x2b295c({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x983635,_0x48dc66,_0x12b9b5);},{'priority':'highest'}),this[_0x4357('0x2f')][_0x4357('0x34')]['downcastDispatcher']['on']('removeMarker:suggestion',(_0x262000,_0x40f546,_0x13327a)=>{const {type:_0x46e361,id:_0x5a0b9a}=_0x112a4c[_0x4357('0x29')](_0x40f546[_0x4357('0x24')]),_0x21d522=_0x112a4c[_0x4357('0x2e')](_0x5a0b9a),_0x1e9044=_0x21d522[_0x4357('0xc')];if(_0x4357('0x6')!=_0x21d522[_0x4357('0xf')]||!_0x1e9044||_0x4357('0x15')!=_0x1e9044['commandName'])return;const _0x2666f9=_0x13327a[_0x4357('0x16')][_0x4357('0x25')](_0x40f546[_0x4357('0x24')]);if(_0x2666f9)for(const _0x39f378 of _0x2666f9)_0x13327a[_0x4357('0xb')][_0x4357('0x2a')](_0x4357('0x3f')+_0x46e361,_0x39f378),_0x13327a['writer'][_0x4357('0x2a')](_0x4357('0x21'),_0x39f378),_0x13327a['writer'][_0x4357('0x28')](_0x4357('0x9'),_0x39f378),_0x13327a[_0x4357('0x16')][_0x4357('0x1f')](_0x39f378,_0x40f546[_0x4357('0x24')]);},{'priority':_0x4357('0x2b')}),this[_0x4357('0x1e')]();}[_0x4357('0x1e')](){const _0x23d6f4=this['editor'],_0x5c455f=_0x23d6f4[_0x4357('0x3c')];function _0x499559(_0x53790d){return{'type':'format','content':_0x2579ec(_0x5c455f,_0x4357('0x4'),_0x53790d)};}_0x23d6f4[_0x4357('0x33')][_0x4357('0x1')](_0x4357('0x19'))[_0x4357('0x37')][_0x4357('0x12')](_0x243d96=>{if(_0x4357('0x6')!=_0x243d96['type'])return;const {data:_0x2a1d56}=_0x243d96;if(_0x2a1d56){if(_0x4357('0x7')==_0x2a1d56[_0x4357('0x27')]){const _0x35abe7=_0x2a1d56[_0x4357('0x1d')][0x0][_0x4357('0x1a')];return _0x499559(_0x2579ec(_0x5c455f,_0x35abe7?_0x4357('0x3b'):'FORMAT_REGULAR_ROW'));}if(_0x4357('0x15')==_0x2a1d56[_0x4357('0x27')]){const _0x1fd6d7=_0x2a1d56[_0x4357('0x1d')][0x0]['forceValue'];return _0x499559(_0x2579ec(_0x5c455f,_0x1fd6d7?_0x4357('0x2'):_0x4357('0x40')));}}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xd5a9=['add','stop','low','getSuggestions','accept','getFirstPosition','getCellLocation','isEnabled','refresh','return','model','type','isInContent','selection','afterInit','mergeTableCellDown','get','execute','insertion','map','_tablePostFixingSubtypes','TableUtils','subType','rootName','detach','formatInline','markMultiRangeBlockFormat','$graveyard','highest','createRangeOn','format','tableCell','length','markBlockFormat','getSelectionAffectedTableCells','set:isEnabled','setSelection','_areMergableCells','from','mergeTableCellRight','getAncestors','registerDescriptionCallback','_areSelectedCellsMergable','TrackChangesEditing','value','commands','find','author','direction','cell','plugins','findAncestor','splitTableCellVertically','trackChanges','mergeTableCellLeft','*Split\x20cell:*\x20vertically','editor','change','push','formatBlock','table','getRanges','requires','element','mergeTableCellUp','mergeTableCells','registerCustomCallback','_descriptionFactory','document','containsRange','_acceptFormatSuggestionCallbackFactory','size','enableCommand','commandName','*Merge\x20cells*','createTableWalker','splitTableCellHorizontally','_suggestionFactory','fromRange','TableEditing'];(function(_0x11a6fd,_0xd5a9b1){const _0x5be758=function(_0x32a021){while(--_0x32a021){_0x11a6fd['push'](_0x11a6fd['shift']());}};_0x5be758(++_0xd5a9b1);}(_0xd5a9,0xae));const _0x5be7=function(_0x11a6fd,_0xd5a9b1){_0x11a6fd=_0x11a6fd-0x0;let _0x5be758=_0xd5a9[_0x11a6fd];return _0x5be758;};import{Plugin as _0x289fc3}from'ckeditor5/src/core';import _0x2f5fde from'./table';import{LiveRange as _0x436bb2}from'ckeditor5/src/engine';import{getTranslation as _0x4de55b}from'../utils/common-translations';export default class yt extends _0x289fc3{static get[_0x5be7('0x30')](){return[_0x2f5fde];}[_0x5be7('0x0')](){const _0x1c1126=this[_0x5be7('0x2a')],_0x52b138=_0x1c1126[_0x5be7('0x4c')][_0x5be7('0x36')][_0x5be7('0x4f')],_0x544bef=_0x1c1126['locale'];if(!_0x1c1126[_0x5be7('0x24')]['has'](_0x5be7('0x41')))return;const _0x203099=_0x1c1126[_0x5be7('0x24')][_0x5be7('0x2')](_0x5be7('0x1d')),_0x112c18=_0x1c1126[_0x5be7('0x24')][_0x5be7('0x2')](_0x5be7('0x7')),_0x14c60c=_0x1c1126[_0x5be7('0x24')][_0x5be7('0x2')](_0x2f5fde);_0x14c60c[_0x5be7('0x6')][_0x5be7('0x2c')](_0x5be7('0x33')),_0x203099[_0x5be7('0x3a')](_0x5be7('0x33'),()=>{const _0x2aa492=_0x112c18['getSelectionAffectedTableCells'](_0x1c1126['model'][_0x5be7('0x36')]['selection']);_0x1c1126['model']['change'](()=>{_0x203099[_0x5be7('0xc')](_0x2aa492,{'commandName':_0x5be7('0x33'),'commandParams':[]},[],'mergeTableCells');});}),_0x1c1126['commands']['get'](_0x5be7('0x33'))['on'](_0x5be7('0x3'),(_0xc049ee,_0x20ebe0)=>{_0x1c1126['commands']['get'](_0x5be7('0x27'))['value']&&(_0x20ebe0[_0x5be7('0x12')]>0x0&&_0x20ebe0[_0x20ebe0[_0x5be7('0x12')]-0x1]&&_0x20ebe0[_0x20ebe0[_0x5be7('0x12')]-0x1]['forceDefaultExecution']||_0x203099['_isForcedDefaultExecutionBlock']||this[_0x5be7('0x1c')]()||_0xc049ee[_0x5be7('0x43')]());},{'priority':_0x5be7('0xe')});for(const _0x29a590 of[_0x5be7('0x32'),_0x5be7('0x19'),'mergeTableCellDown','mergeTableCellLeft']){const _0x3ed0ee=_0x1c1126[_0x5be7('0x1f')]['get'](_0x29a590);_0x203099[_0x5be7('0x3a')](_0x29a590,()=>{const _0x544582=_0x1c1126['model']['document']['selection']['getFirstPosition']()[_0x5be7('0x1a')]()[_0x5be7('0x20')](_0x55047b=>_0x55047b['is'](_0x5be7('0x31'),_0x5be7('0x11'))),_0xe89972=_0x3ed0ee[_0x5be7('0x1e')];_0x1c1126[_0x5be7('0x4c')]['change'](()=>{_0x203099[_0x5be7('0xc')]([_0x544582,_0xe89972],{'commandName':_0x5be7('0x33'),'commandParams':[]},[],_0x5be7('0x33'));});});}for(const _0x1c383c of['splitTableCellVertically',_0x5be7('0x3e')]){const _0x42d1e7=_0x1c1126[_0x5be7('0x1f')][_0x5be7('0x2')](_0x1c383c);_0x203099[_0x5be7('0x3a')](_0x1c383c,()=>{const _0x418d3e=_0x112c18[_0x5be7('0x14')](_0x1c1126[_0x5be7('0x4c')]['document'][_0x5be7('0x4f')])[0x0],_0x323a73=_0x418d3e[_0x5be7('0x25')](_0x5be7('0x2e')),{column:_0x1528e6,row:_0x3f7cad}=_0x112c18[_0x5be7('0x48')](_0x418d3e);let _0x450e9c=[];if('horizontally'==_0x42d1e7[_0x5be7('0x22')]){const _0x5dc1c9=_0x112c18[_0x5be7('0x3d')](_0x323a73,{'startRow':_0x3f7cad,'endRow':_0x3f7cad,'includeAllSlots':!0x0});_0x450e9c=Array['from'](_0x5dc1c9)['map'](_0x11a89f=>_0x11a89f[_0x5be7('0x23')]);}else{const _0x1d70f1=_0x112c18['createTableWalker'](_0x323a73,{'column':_0x1528e6,'includeAllSlots':!0x0});_0x450e9c=Array[_0x5be7('0x18')](_0x1d70f1)[_0x5be7('0x5')](_0x43b79d=>_0x43b79d[_0x5be7('0x23')]);}_0x1c1126[_0x5be7('0x4c')][_0x5be7('0x2b')](_0xd7a5b2=>{_0x203099[_0x5be7('0x13')](_0xd7a5b2[_0x5be7('0xf')](_0x418d3e),{'commandName':_0x1c383c,'commandParams':[]},_0x450e9c,_0x1c383c);});});}_0x203099[_0x5be7('0x35')][_0x5be7('0x1b')](_0x380ddb=>{if(_0x5be7('0x2d')!=_0x380ddb[_0x5be7('0x4d')]&&_0x5be7('0xb')!=_0x380ddb[_0x5be7('0x4d')])return;const {data:_0x5738d9}=_0x380ddb;return _0x5738d9&&_0x5be7('0x33')==_0x5738d9[_0x5be7('0x3b')]?{'type':'format','content':_0x4de55b(_0x544bef,_0x5be7('0x3c'))}:void 0x0;}),_0x203099['_descriptionFactory']['registerDescriptionCallback'](_0x17db1f=>{if('formatBlock'!=_0x17db1f[_0x5be7('0x4d')]&&_0x5be7('0xb')!=_0x17db1f[_0x5be7('0x4d')])return;const {data:_0x358b2a}=_0x17db1f;return _0x358b2a?_0x5be7('0x26')==_0x358b2a['commandName']?{'type':'format','content':_0x4de55b(_0x544bef,_0x5be7('0x29'))}:_0x5be7('0x3e')==_0x358b2a[_0x5be7('0x3b')]?{'type':_0x5be7('0x10'),'content':_0x4de55b(_0x544bef,'*Split\x20cell:*\x20horizontally')}:void 0x0:void 0x0;});const _0x205f90=_0x14c60c[_0x5be7('0x38')]();for(const _0x399939 of[_0x5be7('0x32'),_0x5be7('0x19'),_0x5be7('0x1'),_0x5be7('0x28')])_0x203099[_0x5be7('0x3f')][_0x5be7('0x34')](_0x5be7('0x2d'),_0x399939,'accept',_0x205f90);for(const _0x5206f3 of['splitTableCellVertically',_0x5be7('0x3e')])_0x203099[_0x5be7('0x3f')][_0x5be7('0x34')]('formatBlock',_0x5206f3,_0x5be7('0x46'),_0x205f90);_0x203099[_0x5be7('0x3f')][_0x5be7('0x34')](_0x5be7('0x2d'),_0x5be7('0x33'),_0x5be7('0x46'),_0x1cd749=>{_0x1c1126[_0x5be7('0x4c')][_0x5be7('0x2b')](_0x5d222d=>{const _0x9db23e=Array[_0x5be7('0x18')](_0x52b138[_0x5be7('0x2f')]())[_0x5be7('0x5')](_0x357598=>_0x436bb2[_0x5be7('0x40')](_0x357598));_0x5d222d[_0x5be7('0x16')](_0x1cd749),_0x1c1126[_0x5be7('0x1f')]['get'](_0x5be7('0x33'))[_0x5be7('0x4a')](),_0x1c1126[_0x5be7('0x3')]('mergeTableCells',{'forceDefaultExecution':!0x0});const _0x38da69=_0x9db23e['filter'](_0x541b3c=>_0x5be7('0xd')!=_0x541b3c['root'][_0x5be7('0x9')]);_0x38da69[_0x5be7('0x12')]>0x0&&_0x5d222d[_0x5be7('0x16')](_0x38da69);for(const _0x192355 of _0x9db23e)_0x192355[_0x5be7('0xa')]();});});for(const _0x46d0ec of[_0x5be7('0x32'),_0x5be7('0x1'),'mergeTableCellLeft',_0x5be7('0x19')]){const _0x28ad3e=_0x1c1126[_0x5be7('0x1f')][_0x5be7('0x2')](_0x46d0ec);_0x28ad3e['on'](_0x5be7('0x15'),(_0x53e7f3,_0x1a5206,_0x1685c5)=>{if(_0x1685c5){const _0x410e17=_0x1c1126[_0x5be7('0x4c')][_0x5be7('0x36')][_0x5be7('0x4f')][_0x5be7('0x47')]()[_0x5be7('0x1a')]()[_0x5be7('0x20')](_0x2db2bb=>_0x2db2bb['is'](_0x5be7('0x31'),_0x5be7('0x11')));this['_areMergableCells'](_0x28ad3e[_0x5be7('0x1e')],_0x410e17)||(_0x53e7f3[_0x5be7('0x4b')]=!0x1,_0x53e7f3[_0x5be7('0x43')]());}},{'priority':_0x5be7('0x44')});}}[_0x5be7('0x1c')](){const _0x2f37eb=this['editor'][_0x5be7('0x1f')]['get'](_0x5be7('0x33')),_0x23379e=this[_0x5be7('0x2a')][_0x5be7('0x24')][_0x5be7('0x2')]('TableUtils');if(!_0x2f37eb[_0x5be7('0x49')])return!0x1;const _0x49f548=_0x23379e['getSelectionAffectedTableCells'](this[_0x5be7('0x2a')][_0x5be7('0x4c')]['document'][_0x5be7('0x4f')]);for(const _0x15feab of _0x49f548)for(const _0x81b20d of _0x49f548)if(_0x15feab!=_0x81b20d&&!this[_0x5be7('0x17')](_0x15feab,_0x81b20d))return!0x1;return!0x0;}['_areMergableCells'](_0x54cf5f,_0x1ef7a7){const _0x5018d3=this['editor'][_0x5be7('0x24')][_0x5be7('0x2')](_0x5be7('0x1d')),_0x8bc151=this[_0x5be7('0x2a')]['model'][_0x5be7('0xf')](_0x54cf5f),_0x4e78fe=this['editor'][_0x5be7('0x4c')][_0x5be7('0xf')](_0x1ef7a7),_0x268f5d=new Set(),_0x58732b=new Set();for(const _0x5d5e18 of _0x5018d3[_0x5be7('0x45')]())if((_0x5be7('0x4')==_0x5d5e18[_0x5be7('0x4d')]||'deletion'==_0x5d5e18['type']||_0x5be7('0x33')==_0x5d5e18[_0x5be7('0x8')])&&_0x5d5e18[_0x5be7('0x4e')])for(const _0x21f83f of _0x5d5e18['getRanges']())_0x21f83f[_0x5be7('0x37')](_0x8bc151,!0x0)&&_0x268f5d[_0x5be7('0x42')](_0x5d5e18[_0x5be7('0x4d')]+':'+_0x5d5e18[_0x5be7('0x21')]['id']),_0x21f83f['containsRange'](_0x4e78fe,!0x0)&&_0x58732b[_0x5be7('0x42')](_0x5d5e18[_0x5be7('0x4d')]+':'+_0x5d5e18[_0x5be7('0x21')]['id']);if(_0x268f5d[_0x5be7('0x39')]!=_0x58732b[_0x5be7('0x39')])return!0x1;for(const _0x1bb4f9 of _0x268f5d)if(!_0x58732b['has'](_0x1bb4f9))return!0x1;return!0x0;}}
23
+ const _0x3896=['root','fromRange','getSelectionAffectedTableCells','subType','length','selection','TableUtils','*Merge\x20cells*','horizontally','markMultiRangeBlockFormat','_areMergableCells','trackChanges','size','formatInline','stop','map','find','editor','registerCustomCallback','commands','registerDescriptionCallback','change','*Split\x20cell:*\x20vertically','get','set:isEnabled','isInContent','format','requires','document','accept','markBlockFormat','getSuggestions','refresh','has','table','mergeTableCellDown','forceDefaultExecution','createRangeOn','TrackChangesEditing','_descriptionFactory','plugins','execute','$graveyard','insertion','mergeTableCells','mergeTableCellRight','*Split\x20cell:*\x20horizontally','mergeTableCellUp','getFirstPosition','_suggestionFactory','formatBlock','element','value','afterInit','commandName','splitTableCellVertically','createTableWalker','enableCommand','isEnabled','push','getRanges','findAncestor','_isForcedDefaultExecutionBlock','type','deletion','author','model','_acceptFormatSuggestionCallbackFactory','cell','setSelection','getCellLocation','tableCell','add','splitTableCellHorizontally','mergeTableCellLeft','from','rootName'];(function(_0x32de74,_0x3896b5){const _0x3c23ba=function(_0x563265){while(--_0x563265){_0x32de74['push'](_0x32de74['shift']());}};_0x3c23ba(++_0x3896b5);}(_0x3896,0x139));const _0x3c23=function(_0x32de74,_0x3896b5){_0x32de74=_0x32de74-0x0;let _0x3c23ba=_0x3896[_0x32de74];return _0x3c23ba;};import{Plugin as _0xa652cc}from'ckeditor5/src/core';import _0x3906d1 from'./table';import{LiveRange as _0x78fe6}from'ckeditor5/src/engine';import{getTranslation as _0x5b036b}from'../utils/common-translations';export default class yt extends _0xa652cc{static get[_0x3c23('0x16')](){return[_0x3906d1];}[_0x3c23('0x30')](){const _0x5b5449=this['editor'],_0x5cec86=_0x5b5449['model'][_0x3c23('0x17')][_0x3c23('0x0')],_0x1f5c20=_0x5b5449['locale'];if(!_0x5b5449[_0x3c23('0x23')][_0x3c23('0x1c')]('TableEditing'))return;const _0x4a8fb6=_0x5b5449['plugins']['get']('TrackChangesEditing'),_0x3bf86f=_0x5b5449[_0x3c23('0x23')][_0x3c23('0x12')](_0x3c23('0x1')),_0x374f4f=_0x5b5449[_0x3c23('0x23')][_0x3c23('0x12')](_0x3906d1);_0x374f4f['_tablePostFixingSubtypes'][_0x3c23('0x36')](_0x3c23('0x27')),_0x4a8fb6[_0x3c23('0x34')](_0x3c23('0x27'),()=>{const _0x396663=_0x3bf86f[_0x3c23('0x4a')](_0x5b5449['model']['document'][_0x3c23('0x0')]);_0x5b5449['model'][_0x3c23('0x10')](()=>{_0x4a8fb6['markMultiRangeBlockFormat'](_0x396663,{'commandName':'mergeTableCells','commandParams':[]},[],_0x3c23('0x27'));});}),_0x5b5449[_0x3c23('0xe')][_0x3c23('0x12')](_0x3c23('0x27'))['on'](_0x3c23('0x24'),(_0x3ebe82,_0x56f41c)=>{_0x5b5449['commands']['get'](_0x3c23('0x6'))['value']&&(_0x56f41c[_0x3c23('0x4c')]>0x0&&_0x56f41c[_0x56f41c[_0x3c23('0x4c')]-0x1]&&_0x56f41c[_0x56f41c['length']-0x1][_0x3c23('0x1f')]||_0x4a8fb6[_0x3c23('0x39')]||this['_areSelectedCellsMergable']()||_0x3ebe82[_0x3c23('0x9')]());},{'priority':'highest'});for(const _0x57d381 of[_0x3c23('0x2a'),_0x3c23('0x28'),'mergeTableCellDown',_0x3c23('0x45')]){const _0x5c4d20=_0x5b5449[_0x3c23('0xe')][_0x3c23('0x12')](_0x57d381);_0x4a8fb6[_0x3c23('0x34')](_0x57d381,()=>{const _0x5434e5=_0x5b5449[_0x3c23('0x3d')]['document']['selection'][_0x3c23('0x2b')]()['getAncestors']()[_0x3c23('0xb')](_0x246293=>_0x246293['is']('element',_0x3c23('0x42'))),_0x6ac5c1=_0x5c4d20[_0x3c23('0x2f')];_0x5b5449['model'][_0x3c23('0x10')](()=>{_0x4a8fb6[_0x3c23('0x4')]([_0x5434e5,_0x6ac5c1],{'commandName':'mergeTableCells','commandParams':[]},[],_0x3c23('0x27'));});});}for(const _0x159bcb of[_0x3c23('0x32'),_0x3c23('0x44')]){const _0xae4b5a=_0x5b5449[_0x3c23('0xe')][_0x3c23('0x12')](_0x159bcb);_0x4a8fb6[_0x3c23('0x34')](_0x159bcb,()=>{const _0x2b50de=_0x3bf86f[_0x3c23('0x4a')](_0x5b5449[_0x3c23('0x3d')][_0x3c23('0x17')][_0x3c23('0x0')])[0x0],_0x329c1e=_0x2b50de[_0x3c23('0x38')](_0x3c23('0x1d')),{column:_0x2c1ba6,row:_0xf93162}=_0x3bf86f[_0x3c23('0x41')](_0x2b50de);let _0xa31dc7=[];if(_0x3c23('0x3')==_0xae4b5a['direction']){const _0x4ac427=_0x3bf86f[_0x3c23('0x33')](_0x329c1e,{'startRow':_0xf93162,'endRow':_0xf93162,'includeAllSlots':!0x0});_0xa31dc7=Array[_0x3c23('0x46')](_0x4ac427)[_0x3c23('0xa')](_0x5ec5a6=>_0x5ec5a6[_0x3c23('0x3f')]);}else{const _0x19b5f7=_0x3bf86f[_0x3c23('0x33')](_0x329c1e,{'column':_0x2c1ba6,'includeAllSlots':!0x0});_0xa31dc7=Array[_0x3c23('0x46')](_0x19b5f7)[_0x3c23('0xa')](_0x356646=>_0x356646['cell']);}_0x5b5449[_0x3c23('0x3d')][_0x3c23('0x10')](_0x27cc5f=>{_0x4a8fb6[_0x3c23('0x19')](_0x27cc5f[_0x3c23('0x20')](_0x2b50de),{'commandName':_0x159bcb,'commandParams':[]},_0xa31dc7,_0x159bcb);});});}_0x4a8fb6['_descriptionFactory'][_0x3c23('0xf')](_0x4d0cc4=>{if(_0x3c23('0x2d')!=_0x4d0cc4['type']&&'formatInline'!=_0x4d0cc4[_0x3c23('0x3a')])return;const {data:_0x48c459}=_0x4d0cc4;return _0x48c459&&_0x3c23('0x27')==_0x48c459[_0x3c23('0x31')]?{'type':_0x3c23('0x15'),'content':_0x5b036b(_0x1f5c20,_0x3c23('0x2'))}:void 0x0;}),_0x4a8fb6[_0x3c23('0x22')][_0x3c23('0xf')](_0x570619=>{if(_0x3c23('0x2d')!=_0x570619['type']&&_0x3c23('0x8')!=_0x570619[_0x3c23('0x3a')])return;const {data:_0x33af96}=_0x570619;return _0x33af96?'splitTableCellVertically'==_0x33af96['commandName']?{'type':_0x3c23('0x15'),'content':_0x5b036b(_0x1f5c20,_0x3c23('0x11'))}:_0x3c23('0x44')==_0x33af96['commandName']?{'type':_0x3c23('0x15'),'content':_0x5b036b(_0x1f5c20,_0x3c23('0x29'))}:void 0x0:void 0x0;});const _0x569337=_0x374f4f[_0x3c23('0x3e')]();for(const _0x3f8bbe of[_0x3c23('0x2a'),'mergeTableCellRight',_0x3c23('0x1e'),_0x3c23('0x45')])_0x4a8fb6[_0x3c23('0x2c')]['registerCustomCallback'](_0x3c23('0x2d'),_0x3f8bbe,'accept',_0x569337);for(const _0x531f66 of[_0x3c23('0x32'),_0x3c23('0x44')])_0x4a8fb6[_0x3c23('0x2c')]['registerCustomCallback'](_0x3c23('0x2d'),_0x531f66,_0x3c23('0x18'),_0x569337);_0x4a8fb6['_suggestionFactory'][_0x3c23('0xd')]('formatBlock',_0x3c23('0x27'),_0x3c23('0x18'),_0x65b5a2=>{_0x5b5449[_0x3c23('0x3d')][_0x3c23('0x10')](_0x31f24e=>{const _0x4fff07=Array[_0x3c23('0x46')](_0x5cec86[_0x3c23('0x37')]())[_0x3c23('0xa')](_0x270176=>_0x78fe6[_0x3c23('0x49')](_0x270176));_0x31f24e['setSelection'](_0x65b5a2),_0x5b5449[_0x3c23('0xe')][_0x3c23('0x12')](_0x3c23('0x27'))[_0x3c23('0x1b')](),_0x5b5449[_0x3c23('0x24')](_0x3c23('0x27'),{'forceDefaultExecution':!0x0});const _0x50e650=_0x4fff07['filter'](_0x2ec88a=>_0x3c23('0x25')!=_0x2ec88a[_0x3c23('0x48')][_0x3c23('0x47')]);_0x50e650['length']>0x0&&_0x31f24e[_0x3c23('0x40')](_0x50e650);for(const _0x50db4b of _0x4fff07)_0x50db4b['detach']();});});for(const _0x1ef1e0 of[_0x3c23('0x2a'),_0x3c23('0x1e'),_0x3c23('0x45'),_0x3c23('0x28')]){const _0x2a851c=_0x5b5449['commands']['get'](_0x1ef1e0);_0x2a851c['on'](_0x3c23('0x13'),(_0x1c94e4,_0x4b5913,_0x40c4c4)=>{if(_0x40c4c4){const _0x3fc3ab=_0x5b5449[_0x3c23('0x3d')][_0x3c23('0x17')][_0x3c23('0x0')][_0x3c23('0x2b')]()['getAncestors']()[_0x3c23('0xb')](_0x2a67d5=>_0x2a67d5['is'](_0x3c23('0x2e'),_0x3c23('0x42')));this[_0x3c23('0x5')](_0x2a851c[_0x3c23('0x2f')],_0x3fc3ab)||(_0x1c94e4['return']=!0x1,_0x1c94e4[_0x3c23('0x9')]());}},{'priority':'low'});}}['_areSelectedCellsMergable'](){const _0x15ce6c=this[_0x3c23('0xc')][_0x3c23('0xe')][_0x3c23('0x12')](_0x3c23('0x27')),_0x96c26f=this['editor']['plugins'][_0x3c23('0x12')]('TableUtils');if(!_0x15ce6c[_0x3c23('0x35')])return!0x1;const _0xed9621=_0x96c26f[_0x3c23('0x4a')](this['editor']['model'][_0x3c23('0x17')]['selection']);for(const _0x1ca606 of _0xed9621)for(const _0x1f4bcc of _0xed9621)if(_0x1ca606!=_0x1f4bcc&&!this['_areMergableCells'](_0x1ca606,_0x1f4bcc))return!0x1;return!0x0;}[_0x3c23('0x5')](_0x45f955,_0x4797c3){const _0x39b716=this[_0x3c23('0xc')][_0x3c23('0x23')]['get'](_0x3c23('0x21')),_0x3c8b8e=this['editor'][_0x3c23('0x3d')][_0x3c23('0x20')](_0x45f955),_0x3a47a9=this[_0x3c23('0xc')][_0x3c23('0x3d')]['createRangeOn'](_0x4797c3),_0x2a651e=new Set(),_0x50d9e3=new Set();for(const _0x125512 of _0x39b716[_0x3c23('0x1a')]())if((_0x3c23('0x26')==_0x125512[_0x3c23('0x3a')]||_0x3c23('0x3b')==_0x125512['type']||'mergeTableCells'==_0x125512[_0x3c23('0x4b')])&&_0x125512[_0x3c23('0x14')])for(const _0x3a4c44 of _0x125512[_0x3c23('0x37')]())_0x3a4c44['containsRange'](_0x3c8b8e,!0x0)&&_0x2a651e[_0x3c23('0x43')](_0x125512[_0x3c23('0x3a')]+':'+_0x125512[_0x3c23('0x3c')]['id']),_0x3a4c44['containsRange'](_0x3a47a9,!0x0)&&_0x50d9e3[_0x3c23('0x43')](_0x125512['type']+':'+_0x125512[_0x3c23('0x3c')]['id']);if(_0x2a651e['size']!=_0x50d9e3[_0x3c23('0x7')])return!0x1;for(const _0x53331e of _0x2a651e)if(!_0x50d9e3[_0x3c23('0x1c')](_0x53331e))return!0x1;return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5e83=['insertTableOfContents','TrackChangesEditing','get','enableCommand','plugins','tableOfContents','afterInit','editor','registerElementLabel','ELEMENT_TABLE_OF_CONTENTS','locale'];(function(_0x1e35ea,_0x5e8359){const _0x41fbe8=function(_0x2ea19b){while(--_0x2ea19b){_0x1e35ea['push'](_0x1e35ea['shift']());}};_0x41fbe8(++_0x5e8359);}(_0x5e83,0xe3));const _0x41fb=function(_0x1e35ea,_0x5e8359){_0x1e35ea=_0x1e35ea-0x0;let _0x41fbe8=_0x5e83[_0x1e35ea];return _0x41fbe8;};import{Plugin as _0x2b081a}from'ckeditor5/src/core';import{getTranslation as _0x406117}from'../utils/common-translations';export default class _t extends _0x2b081a{[_0x41fb('0xa')](){const _0x219884=this[_0x41fb('0x0')];if(!_0x219884['commands'][_0x41fb('0x6')](_0x41fb('0x4')))return;_0x219884[_0x41fb('0x8')][_0x41fb('0x6')](_0x41fb('0x5'))[_0x41fb('0x7')]('insertTableOfContents');const _0x9c66cd=_0x219884[_0x41fb('0x8')][_0x41fb('0x6')]('TrackChangesEditing'),_0x12b1c7=_0x219884[_0x41fb('0x3')];_0x9c66cd['_descriptionFactory'][_0x41fb('0x1')](_0x41fb('0x9'),_0x589b40=>_0x406117(_0x12b1c7,_0x41fb('0x2'),_0x589b40));}}
23
+ const _0x5a5a=['ELEMENT_TABLE_OF_CONTENTS','get','editor','insertTableOfContents','tableOfContents','locale','afterInit','commands','TrackChangesEditing','plugins','enableCommand'];(function(_0x261e57,_0x5a5a82){const _0x59dd0f=function(_0x590b07){while(--_0x590b07){_0x261e57['push'](_0x261e57['shift']());}};_0x59dd0f(++_0x5a5a82);}(_0x5a5a,0x104));const _0x59dd=function(_0x261e57,_0x5a5a82){_0x261e57=_0x261e57-0x0;let _0x59dd0f=_0x5a5a[_0x261e57];return _0x59dd0f;};import{Plugin as _0x4c3ed0}from'ckeditor5/src/core';import{getTranslation as _0x1d685b}from'../utils/common-translations';export default class _t extends _0x4c3ed0{[_0x59dd('0xa')](){const _0x2fba0e=this[_0x59dd('0x6')];if(!_0x2fba0e[_0x59dd('0x0')][_0x59dd('0x5')](_0x59dd('0x7')))return;_0x2fba0e[_0x59dd('0x2')][_0x59dd('0x5')](_0x59dd('0x1'))[_0x59dd('0x3')](_0x59dd('0x7'));const _0x2eba4c=_0x2fba0e[_0x59dd('0x2')][_0x59dd('0x5')](_0x59dd('0x1')),_0x5e1592=_0x2fba0e[_0x59dd('0x9')];_0x2eba4c['_descriptionFactory']['registerElementLabel'](_0x59dd('0x8'),_0x4dd15c=>_0x1d685b(_0x5e1592,_0x59dd('0x4'),_0x4dd15c));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5ef0=['formatBlock','enableCommand','_handlePropertyChange','findAncestor','*Format:*\x20change\x20table\x20cell\x20properties','tableBackgroundColor','tableAlignment','tableBorderStyle','_suggestionFactory','join','discard','enqueueChange','get','selection','table','markBlockFormat','removeAttribute','getSelectionAffectedTableCells','handleDiscardAction','tableCellBorderWidth','getSuggestionCallback','model','tableCellPadding','TableCellPropertiesEditing','tableCellBorderStyle','_getSuggestion','plugins','tableCellProperties','format','afterInit','tableBorderWidth','editor','tableWidth','tableCellVerticalAlignment','batch','data','has','TablePropertiesEditing','TableUtils','accept','tableProperties','TrackChangesEditing','tableCellHeight','subType','setAttribute','TrackChangesTableProperties','*Format:*\x20change\x20table\x20properties','pluginName','nodeAfter','commandParams','handleSuggestionDescription','locale','getAttribute','getFirstPosition','change','tableCellHorizontalAlignment','tableCellWidth','registerCustomCallback','registerDescriptionCallback','document'];(function(_0x14e80d,_0x5ef0c8){const _0xa40a0d=function(_0x3505ba){while(--_0x3505ba){_0x14e80d['push'](_0x14e80d['shift']());}};_0xa40a0d(++_0x5ef0c8);}(_0x5ef0,0xbb));const _0xa40a=function(_0x14e80d,_0x5ef0c8){_0x14e80d=_0x14e80d-0x0;let _0xa40a0d=_0x5ef0[_0x14e80d];return _0xa40a0d;};import{Plugin as _0x3fbf59}from'ckeditor5/src/core';import{getTranslation as _0x3b6e85}from'../utils/common-translations';export default class Mt extends _0x3fbf59{constructor(_0x16ff38){super(_0x16ff38),this[_0xa40a('0x21')]=['tableBorderColor',_0xa40a('0x0'),_0xa40a('0x17'),_0xa40a('0x3b'),_0xa40a('0x19'),'tableHeight',_0xa40a('0x3a')],this[_0xa40a('0x14')]=['tableCellBorderColor',_0xa40a('0x11'),_0xa40a('0xc'),_0xa40a('0xf'),_0xa40a('0x31'),_0xa40a('0x23'),'tableCellBackgroundColor',_0xa40a('0x30'),_0xa40a('0x1a')];}static get[_0xa40a('0x28')](){return _0xa40a('0x26');}[_0xa40a('0x16')](){const _0x4ae67c=this[_0xa40a('0x18')][_0xa40a('0x13')][_0xa40a('0x5')](_0xa40a('0x22'));if(this[_0xa40a('0x18')][_0xa40a('0x13')][_0xa40a('0x1d')](_0xa40a('0x1e'))){for(const _0x2a55fa of this[_0xa40a('0x21')])_0x4ae67c[_0xa40a('0x36')](_0x2a55fa,(_0x1123dd,_0x4ef929)=>{const _0x139855=this[_0xa40a('0x18')][_0xa40a('0xe')]['document'][_0xa40a('0x6')][_0xa40a('0x2e')]()[_0xa40a('0x38')](_0xa40a('0x7'));this[_0xa40a('0x37')](_0x2a55fa,[_0x139855],this['tableProperties'],_0xa40a('0x21'),_0x1123dd,_0x4ef929);});_0x4ae67c[_0xa40a('0x1')][_0xa40a('0x32')](_0xa40a('0x35'),_0xa40a('0x21'),_0xa40a('0x20'),_0x4ae67c[_0xa40a('0x1')][_0xa40a('0xd')](_0xa40a('0x35'),null,_0xa40a('0x3'))),_0x4ae67c[_0xa40a('0x1')][_0xa40a('0x32')](_0xa40a('0x35'),_0xa40a('0x21'),'discard',(_0x300f88,_0x12a2a0)=>this[_0xa40a('0xb')](this[_0xa40a('0x21')],_0x300f88,_0x12a2a0)),_0x4ae67c[_0xa40a('0x1')][_0xa40a('0x32')](_0xa40a('0x35'),'tableProperties','join',()=>!0x1);}if(this[_0xa40a('0x18')][_0xa40a('0x13')][_0xa40a('0x1d')](_0xa40a('0x10'))){for(const _0x310c7b of this[_0xa40a('0x14')])_0x4ae67c[_0xa40a('0x36')](_0x310c7b,(_0x14eb70,_0x40a811)=>{const _0x3c8f5f=this['editor'][_0xa40a('0x13')]['get'](_0xa40a('0x1f'))[_0xa40a('0xa')](this['editor'][_0xa40a('0xe')][_0xa40a('0x34')][_0xa40a('0x6')]);this[_0xa40a('0x37')](_0x310c7b,_0x3c8f5f,this[_0xa40a('0x14')],'tableCellProperties',_0x14eb70,_0x40a811);});_0x4ae67c['_suggestionFactory'][_0xa40a('0x32')](_0xa40a('0x35'),_0xa40a('0x14'),_0xa40a('0x20'),_0x4ae67c[_0xa40a('0x1')][_0xa40a('0xd')](_0xa40a('0x35'),null,'discard')),_0x4ae67c[_0xa40a('0x1')][_0xa40a('0x32')](_0xa40a('0x35'),_0xa40a('0x14'),'discard',(_0x40e78b,_0x578b7d)=>this['handleDiscardAction'](this[_0xa40a('0x14')],_0x40e78b,_0x578b7d)),_0x4ae67c[_0xa40a('0x1')][_0xa40a('0x32')](_0xa40a('0x35'),'tableCellProperties',_0xa40a('0x2'),()=>!0x1);}_0x4ae67c['_descriptionFactory'][_0xa40a('0x33')](_0x19a6b2=>this[_0xa40a('0x2b')](_0x19a6b2));}['_handlePropertyChange'](_0x3376c5,_0x3c5428,_0x2431d5,_0x27753e,_0x39cce1,_0x109de2){const _0x110e7c=this[_0xa40a('0x18')][_0xa40a('0x13')][_0xa40a('0x5')](_0xa40a('0x22'));this[_0xa40a('0x18')][_0xa40a('0xe')][_0xa40a('0x4')](_0x109de2[_0xa40a('0x1b')],()=>{for(const _0x3254e of _0x3c5428){if(this[_0xa40a('0x12')](_0x3254e,_0x27753e))_0x39cce1(_0x109de2);else{const _0x4849e2={};for(const _0x26621d of _0x2431d5){const _0xdbf1e4=_0x3254e[_0xa40a('0x2d')](_0x26621d);void 0x0!==_0xdbf1e4&&(_0x4849e2[_0x26621d]=_0xdbf1e4);}_0x39cce1(_0x109de2),_0x110e7c[_0xa40a('0x8')](_0x3254e,{'commandParams':[_0x4849e2]},[],_0x27753e);}}});}[_0xa40a('0xb')](_0x4d26c5,_0x4a49eb,_0x5b6fc8){const _0x41afb8=_0x4a49eb[0x0]['start'][_0xa40a('0x29')],_0x4a4426=_0x5b6fc8[_0xa40a('0x2a')][0x0];this[_0xa40a('0x18')][_0xa40a('0xe')][_0xa40a('0x2f')](_0x34aa06=>{for(const _0x5607ab of _0x4d26c5)void 0x0!==_0x4a4426[_0x5607ab]?_0x34aa06[_0xa40a('0x25')](_0x5607ab,_0x4a4426[_0x5607ab],_0x41afb8):_0x34aa06[_0xa40a('0x9')](_0x5607ab,_0x41afb8);});}[_0xa40a('0x2b')](_0x1ce0de){if(_0x1ce0de[_0xa40a('0x1c')])switch(_0x1ce0de[_0xa40a('0x24')]){case'tableProperties':return{'type':'format','content':_0x3b6e85(this['editor'][_0xa40a('0x2c')],_0xa40a('0x27'))};case _0xa40a('0x14'):return{'type':_0xa40a('0x15'),'content':_0x3b6e85(this[_0xa40a('0x18')][_0xa40a('0x2c')],_0xa40a('0x39'))};}}[_0xa40a('0x12')](_0xa8f667,_0xfecf6f){const _0x4e1f41=this[_0xa40a('0x18')][_0xa40a('0x13')]['get'](_0xa40a('0x22'));for(const _0x1510b9 of _0x4e1f41['getSuggestions']({'skipNotAttached':!0x0})){const _0x2e5b27=_0x1510b9['getContainedElement']();if(_0x1510b9['subType']===_0xfecf6f&&_0x2e5b27===_0xa8f667)return _0x1510b9;}return null;}}
23
+ const _0x4380=['_getSuggestion','getFirstPosition','model','tableCellBorderColor','_descriptionFactory','pluginName','discard','handleDiscardAction','start','markBlockFormat','subType','registerDescriptionCallback','accept','table','enableCommand','tableHeight','getSuggestions','tableBorderWidth','getSuggestionCallback','getSelectionAffectedTableCells','selection','commandParams','TrackChangesEditing','tableCellVerticalAlignment','editor','handleSuggestionDescription','tableBorderColor','registerCustomCallback','setAttribute','plugins','has','tableCellHorizontalAlignment','tableBorderStyle','batch','TrackChangesTableProperties','nodeAfter','getContainedElement','join','tableAlignment','_suggestionFactory','formatBlock','findAncestor','TableUtils','data','format','tableCellHeight','tableCellPadding','enqueueChange','afterInit','tableProperties','tableCellBorderWidth','get','_handlePropertyChange','tableCellProperties','document','tableCellBorderStyle','locale'];(function(_0x5e4d14,_0x438061){const _0x43cf02=function(_0x5dccc6){while(--_0x5dccc6){_0x5e4d14['push'](_0x5e4d14['shift']());}};_0x43cf02(++_0x438061);}(_0x4380,0x1f0));const _0x43cf=function(_0x5e4d14,_0x438061){_0x5e4d14=_0x5e4d14-0x0;let _0x43cf02=_0x4380[_0x5e4d14];return _0x43cf02;};import{Plugin as _0x243a6a}from'ckeditor5/src/core';import{getTranslation as _0x43dcca}from'../utils/common-translations';export default class Mt extends _0x243a6a{constructor(_0x6458b1){super(_0x6458b1),this['tableProperties']=[_0x43cf('0x2b'),_0x43cf('0x31'),_0x43cf('0x22'),_0x43cf('0x37'),'tableWidth',_0x43cf('0x20'),'tableBackgroundColor'],this[_0x43cf('0xd')]=[_0x43cf('0x14'),_0x43cf('0xf'),_0x43cf('0xa'),_0x43cf('0x6'),'tableCellWidth',_0x43cf('0x5'),'tableCellBackgroundColor',_0x43cf('0x30'),_0x43cf('0x28')];}static get[_0x43cf('0x16')](){return _0x43cf('0x33');}[_0x43cf('0x8')](){const _0x21587a=this['editor'][_0x43cf('0x2e')][_0x43cf('0xb')](_0x43cf('0x27'));if(this[_0x43cf('0x29')]['plugins']['has']('TablePropertiesEditing')){for(const _0x211f79 of this[_0x43cf('0x9')])_0x21587a[_0x43cf('0x1f')](_0x211f79,(_0x326b26,_0x5d60e9)=>{const _0x3cda1a=this[_0x43cf('0x29')][_0x43cf('0x13')][_0x43cf('0xe')]['selection'][_0x43cf('0x12')]()[_0x43cf('0x1')](_0x43cf('0x1e'));this[_0x43cf('0xc')](_0x211f79,[_0x3cda1a],this[_0x43cf('0x9')],_0x43cf('0x9'),_0x326b26,_0x5d60e9);});_0x21587a['_suggestionFactory']['registerCustomCallback'](_0x43cf('0x0'),_0x43cf('0x9'),_0x43cf('0x1d'),_0x21587a['_suggestionFactory']['getSuggestionCallback']('formatBlock',null,_0x43cf('0x17'))),_0x21587a[_0x43cf('0x38')][_0x43cf('0x2c')](_0x43cf('0x0'),'tableProperties','discard',(_0x2ad16a,_0x4a65e7)=>this['handleDiscardAction'](this[_0x43cf('0x9')],_0x2ad16a,_0x4a65e7)),_0x21587a['_suggestionFactory'][_0x43cf('0x2c')](_0x43cf('0x0'),_0x43cf('0x9'),_0x43cf('0x36'),()=>!0x1);}if(this[_0x43cf('0x29')][_0x43cf('0x2e')][_0x43cf('0x2f')]('TableCellPropertiesEditing')){for(const _0x532dcd of this[_0x43cf('0xd')])_0x21587a[_0x43cf('0x1f')](_0x532dcd,(_0x1c3c68,_0xad084f)=>{const _0x1eb688=this[_0x43cf('0x29')][_0x43cf('0x2e')]['get'](_0x43cf('0x2'))[_0x43cf('0x24')](this[_0x43cf('0x29')][_0x43cf('0x13')][_0x43cf('0xe')][_0x43cf('0x25')]);this['_handlePropertyChange'](_0x532dcd,_0x1eb688,this[_0x43cf('0xd')],_0x43cf('0xd'),_0x1c3c68,_0xad084f);});_0x21587a[_0x43cf('0x38')]['registerCustomCallback'](_0x43cf('0x0'),'tableCellProperties',_0x43cf('0x1d'),_0x21587a[_0x43cf('0x38')][_0x43cf('0x23')](_0x43cf('0x0'),null,_0x43cf('0x17'))),_0x21587a[_0x43cf('0x38')][_0x43cf('0x2c')](_0x43cf('0x0'),_0x43cf('0xd'),_0x43cf('0x17'),(_0x2353dd,_0x36714f)=>this['handleDiscardAction'](this[_0x43cf('0xd')],_0x2353dd,_0x36714f)),_0x21587a[_0x43cf('0x38')][_0x43cf('0x2c')](_0x43cf('0x0'),_0x43cf('0xd'),_0x43cf('0x36'),()=>!0x1);}_0x21587a[_0x43cf('0x15')][_0x43cf('0x1c')](_0x124f2c=>this[_0x43cf('0x2a')](_0x124f2c));}[_0x43cf('0xc')](_0x3036f6,_0x5ba725,_0x3d880e,_0x3e598f,_0x519d3d,_0x5154c3){const _0x16162d=this[_0x43cf('0x29')][_0x43cf('0x2e')][_0x43cf('0xb')](_0x43cf('0x27'));this[_0x43cf('0x29')][_0x43cf('0x13')][_0x43cf('0x7')](_0x5154c3[_0x43cf('0x32')],()=>{for(const _0x2f4743 of _0x5ba725){if(this[_0x43cf('0x11')](_0x2f4743,_0x3e598f))_0x519d3d(_0x5154c3);else{const _0x4edacc={};for(const _0x1ddcbe of _0x3d880e){const _0x34e2bc=_0x2f4743['getAttribute'](_0x1ddcbe);void 0x0!==_0x34e2bc&&(_0x4edacc[_0x1ddcbe]=_0x34e2bc);}_0x519d3d(_0x5154c3),_0x16162d[_0x43cf('0x1a')](_0x2f4743,{'commandParams':[_0x4edacc]},[],_0x3e598f);}}});}[_0x43cf('0x18')](_0x50b009,_0x5b34e5,_0x57d66c){const _0x4e6c12=_0x5b34e5[0x0][_0x43cf('0x19')][_0x43cf('0x34')],_0x49e015=_0x57d66c[_0x43cf('0x26')][0x0];this[_0x43cf('0x29')][_0x43cf('0x13')]['change'](_0x555f27=>{for(const _0x45c651 of _0x50b009)void 0x0!==_0x49e015[_0x45c651]?_0x555f27[_0x43cf('0x2d')](_0x45c651,_0x49e015[_0x45c651],_0x4e6c12):_0x555f27['removeAttribute'](_0x45c651,_0x4e6c12);});}[_0x43cf('0x2a')](_0x3197e1){if(_0x3197e1[_0x43cf('0x3')])switch(_0x3197e1['subType']){case _0x43cf('0x9'):return{'type':_0x43cf('0x4'),'content':_0x43dcca(this['editor'][_0x43cf('0x10')],'*Format:*\x20change\x20table\x20properties')};case'tableCellProperties':return{'type':_0x43cf('0x4'),'content':_0x43dcca(this[_0x43cf('0x29')]['locale'],'*Format:*\x20change\x20table\x20cell\x20properties')};}}[_0x43cf('0x11')](_0x14ffc0,_0x5751b1){const _0x3568f0=this[_0x43cf('0x29')][_0x43cf('0x2e')][_0x43cf('0xb')](_0x43cf('0x27'));for(const _0x38dd37 of _0x3568f0[_0x43cf('0x21')]({'skipNotAttached':!0x0})){const _0x49581e=_0x38dd37[_0x43cf('0x35')]();if(_0x38dd37[_0x43cf('0x1b')]===_0x5751b1&&_0x49581e===_0x14ffc0)return _0x38dd37;}return null;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2003=['enableCommand','has','editor','afterInit','plugins','Template'];(function(_0x41a7bd,_0x200347){const _0x5914d6=function(_0x207349){while(--_0x207349){_0x41a7bd['push'](_0x41a7bd['shift']());}};_0x5914d6(++_0x200347);}(_0x2003,0x178));const _0x5914=function(_0x41a7bd,_0x200347){_0x41a7bd=_0x41a7bd-0x0;let _0x5914d6=_0x2003[_0x41a7bd];return _0x5914d6;};import{Plugin as _0x23551a}from'ckeditor5/src/core';export default class vt extends _0x23551a{[_0x5914('0x5')](){const _0x434174=this[_0x5914('0x4')];_0x434174[_0x5914('0x0')][_0x5914('0x3')](_0x5914('0x1'))&&_0x434174['plugins']['get']('TrackChangesEditing')[_0x5914('0x2')]('insertTemplate');}}
23
+ const _0x3155=['afterInit','get','has','insertTemplate','Template','enableCommand'];(function(_0x1a7064,_0x31556d){const _0x38c19a=function(_0x35333f){while(--_0x35333f){_0x1a7064['push'](_0x1a7064['shift']());}};_0x38c19a(++_0x31556d);}(_0x3155,0xd3));const _0x38c1=function(_0x1a7064,_0x31556d){_0x1a7064=_0x1a7064-0x0;let _0x38c19a=_0x3155[_0x1a7064];return _0x38c19a;};import{Plugin as _0x251e99}from'ckeditor5/src/core';export default class vt extends _0x251e99{[_0x38c1('0x5')](){const _0x372c05=this['editor'];_0x372c05['plugins'][_0x38c1('0x1')](_0x38c1('0x3'))&&_0x372c05['plugins'][_0x38c1('0x0')]('TrackChangesEditing')[_0x38c1('0x4')](_0x38c1('0x2'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x354b=['getChangedMarkers','updateMarker','getNearestSelectionRange','differ','locale','title-content','document','has','ELEMENT_TITLE','_splitMarkerName','TrackChangesEditing','isEqual','_descriptionFactory','plugins','createRange','start','isTouching','registerPostFixer','nodeBefore','isCollapsed','newRange','end','forward','schema','get'];(function(_0x52fe22,_0x354b9d){const _0x58ce1b=function(_0x23facd){while(--_0x23facd){_0x52fe22['push'](_0x52fe22['shift']());}};_0x58ce1b(++_0x354b9d);}(_0x354b,0x1c0));const _0x58ce=function(_0x52fe22,_0x354b9d){_0x52fe22=_0x52fe22-0x0;let _0x58ce1b=_0x354b[_0x52fe22];return _0x58ce1b;};import{Plugin as _0x4e9edf}from'ckeditor5/src/core';import{getTranslation as _0x2bd8dd}from'../utils/common-translations';export default class Ct extends _0x4e9edf{['afterInit'](){const _0x434c23=this['editor'];if(!_0x434c23['plugins'][_0x58ce('0x9')]('Title'))return;const _0x1ea551=_0x434c23[_0x58ce('0xf')][_0x58ce('0x1')](_0x58ce('0xc'));_0x1ea551[_0x58ce('0xe')]['registerElementLabel'](_0x58ce('0x7'),()=>_0x2bd8dd(_0x434c23[_0x58ce('0x6')],_0x58ce('0xa'))),_0x434c23['model'][_0x58ce('0x8')][_0x58ce('0x13')](_0x4c7cfc=>{let _0xd1686f=!0x1;const _0x2b0634=Array['from'](_0x434c23['model'][_0x58ce('0x8')][_0x58ce('0x5')][_0x58ce('0x2')]());for(const {name:_0x4da069,data:_0x1915f2}of _0x2b0634){const {group:_0x5cd8f3}=_0x1ea551[_0x58ce('0xb')](_0x4da069);if('suggestion'!==_0x5cd8f3||!_0x1915f2['newRange'])continue;const _0xee032b=_0x1915f2[_0x58ce('0x16')],_0x4d0abc=_0xee032b[_0x58ce('0x17')][_0x58ce('0x14')];if(!_0x4d0abc||!_0x4d0abc['is']('element',_0x58ce('0x7')))continue;if(!_0xee032b['start'][_0x58ce('0x12')](_0xee032b['end']))continue;const _0xb8253c=_0x434c23['model'][_0x58ce('0x0')][_0x58ce('0x4')](_0xee032b['end'],_0x58ce('0x18'));if(_0xb8253c&&_0xb8253c[_0x58ce('0x15')]){const _0x27ee87=_0x4c7cfc[_0x58ce('0x10')](_0xee032b[_0x58ce('0x11')],_0xb8253c[_0x58ce('0x11')]);_0x27ee87[_0x58ce('0xd')](_0xee032b)||(_0x4c7cfc[_0x58ce('0x3')](_0x4da069,{'range':_0x27ee87}),_0xd1686f=!0x0);}_0xd1686f||(_0x4c7cfc['removeMarker'](_0x4da069),_0xd1686f=!0x0);}return _0xd1686f;});}}
23
+ const _0x549d=['suggestion','_splitMarkerName','TrackChangesEditing','nodeBefore','ELEMENT_TITLE','getChangedMarkers','removeMarker','registerElementLabel','forward','afterInit','Title','element','updateMarker','title-content','schema','document','start','plugins','end','from','_descriptionFactory','createRange','isTouching','model','locale','differ','editor','newRange','has','isEqual','isCollapsed'];(function(_0x4b6809,_0x549d30){const _0x598881=function(_0x44964e){while(--_0x44964e){_0x4b6809['push'](_0x4b6809['shift']());}};_0x598881(++_0x549d30);}(_0x549d,0x1a1));const _0x5988=function(_0x4b6809,_0x549d30){_0x4b6809=_0x4b6809-0x0;let _0x598881=_0x549d[_0x4b6809];return _0x598881;};import{Plugin as _0x513ffa}from'ckeditor5/src/core';import{getTranslation as _0x4f7371}from'../utils/common-translations';export default class Ct extends _0x513ffa{[_0x5988('0x1a')](){const _0x246cd5=this[_0x5988('0xc')];if(!_0x246cd5[_0x5988('0x3')][_0x5988('0xe')](_0x5988('0x1b')))return;const _0x3abf09=_0x246cd5[_0x5988('0x3')]['get'](_0x5988('0x13'));_0x3abf09[_0x5988('0x6')][_0x5988('0x18')](_0x5988('0x1e'),()=>_0x4f7371(_0x246cd5[_0x5988('0xa')],_0x5988('0x15'))),_0x246cd5[_0x5988('0x9')][_0x5988('0x1')]['registerPostFixer'](_0x3db1a9=>{let _0x2fb72e=!0x1;const _0x57e5c9=Array[_0x5988('0x5')](_0x246cd5[_0x5988('0x9')][_0x5988('0x1')][_0x5988('0xb')][_0x5988('0x16')]());for(const {name:_0x948e85,data:_0x220579}of _0x57e5c9){const {group:_0x43ce25}=_0x3abf09[_0x5988('0x12')](_0x948e85);if(_0x5988('0x11')!==_0x43ce25||!_0x220579[_0x5988('0xd')])continue;const _0x56dcd3=_0x220579['newRange'],_0x287a16=_0x56dcd3[_0x5988('0x4')][_0x5988('0x14')];if(!_0x287a16||!_0x287a16['is'](_0x5988('0x1c'),_0x5988('0x1e')))continue;if(!_0x56dcd3[_0x5988('0x2')][_0x5988('0x8')](_0x56dcd3[_0x5988('0x4')]))continue;const _0x57a096=_0x246cd5[_0x5988('0x9')][_0x5988('0x0')]['getNearestSelectionRange'](_0x56dcd3[_0x5988('0x4')],_0x5988('0x19'));if(_0x57a096&&_0x57a096[_0x5988('0x10')]){const _0x3eb3e3=_0x3db1a9[_0x5988('0x7')](_0x56dcd3[_0x5988('0x2')],_0x57a096[_0x5988('0x2')]);_0x3eb3e3[_0x5988('0xf')](_0x56dcd3)||(_0x3db1a9[_0x5988('0x1d')](_0x948e85,{'range':_0x3eb3e3}),_0x2fb72e=!0x0);}_0x2fb72e||(_0x3db1a9[_0x5988('0x17')](_0x948e85),_0x2fb72e=!0x0);}return _0x2fb72e;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x9dad=['enableCommand','plugins','UndoEditing','afterInit','TrackChangesEditing','get','editor','has'];(function(_0x10259d,_0x9dada3){const _0x370f02=function(_0x40a023){while(--_0x40a023){_0x10259d['push'](_0x10259d['shift']());}};_0x370f02(++_0x9dada3);}(_0x9dad,0xa7));const _0x370f=function(_0x10259d,_0x9dada3){_0x10259d=_0x10259d-0x0;let _0x370f02=_0x9dad[_0x10259d];return _0x370f02;};import{Plugin as _0x4a4821}from'ckeditor5/src/core';export default class Dt extends _0x4a4821{[_0x370f('0x4')](){const _0x2c0af3=this[_0x370f('0x7')],_0x312672=_0x2c0af3['plugins'][_0x370f('0x6')](_0x370f('0x5'));_0x2c0af3[_0x370f('0x2')][_0x370f('0x0')](_0x370f('0x3'))&&(_0x312672[_0x370f('0x1')]('undo'),_0x312672[_0x370f('0x1')]('redo'));}}
23
+ const _0x3dd0=['plugins','has','afterInit','editor','UndoEditing','enableCommand','TrackChangesEditing','get'];(function(_0x366cf0,_0x3dd080){const _0x17e01c=function(_0x59d81f){while(--_0x59d81f){_0x366cf0['push'](_0x366cf0['shift']());}};_0x17e01c(++_0x3dd080);}(_0x3dd0,0x148));const _0x17e0=function(_0x366cf0,_0x3dd080){_0x366cf0=_0x366cf0-0x0;let _0x17e01c=_0x3dd0[_0x366cf0];return _0x17e01c;};import{Plugin as _0x31da7}from'ckeditor5/src/core';export default class Dt extends _0x31da7{[_0x17e0('0x2')](){const _0x4929a0=this[_0x17e0('0x3')],_0x5ce558=_0x4929a0[_0x17e0('0x0')][_0x17e0('0x7')](_0x17e0('0x6'));_0x4929a0[_0x17e0('0x0')][_0x17e0('0x1')](_0x17e0('0x4'))&&(_0x5ce558[_0x17e0('0x5')]('undo'),_0x5ce558[_0x17e0('0x5')]('redo'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1e5d=['ck-suggestion-marker-','addHighlight','TrackChangesEditing','hasAttribute','plugins','createUIElement','test','listItem','createRangeOn','markerName','getAttribute','elementEnd','getCustomProperty','bindElementToMarker','schema','get','push','span','markerRange','isAtEnd','isLimit','consumable','previousPosition','ck-suggestion-marker--active','addClass','getWalker','element','includes','isBlock','model','writer','nextSibling'];(function(_0x4af421,_0x1e5d2){const _0x41e29a=function(_0x152e2b){while(--_0x152e2b){_0x4af421['push'](_0x4af421['shift']());}};_0x41e29a(++_0x1e5d2);}(_0x1e5d,0x19f));const _0x41e2=function(_0x4af421,_0x1e5d2){_0x4af421=_0x4af421-0x0;let _0x41e29a=_0x1e5d[_0x4af421];return _0x41e29a;};export function getRangesWithAttribute(_0x134ee2,_0x210e9f,_0xa5a37a){const _0x214d71=[];for(const _0x515c96 of _0x210e9f['getItems']())_0x515c96[_0x41e2('0x4')](_0x134ee2)&&_0x214d71[_0x41e2('0x11')](_0xa5a37a[_0x41e2('0x9')](_0x515c96));return _0x214d71;}export function getElementsAffectedByListItemRename(_0x524661){const _0x18ee1b=[];if(_0x524661['is'](_0x41e2('0x1b'),_0x41e2('0x8'))){let _0x1b4e98=_0x524661[_0x41e2('0x0')];for(;_0x1b4e98&&_0x1b4e98['is'](_0x41e2('0x1b'),_0x41e2('0x8'))&&_0x1b4e98[_0x41e2('0xb')]('listIndent')>0x0;)_0x18ee1b[_0x41e2('0x11')](_0x1b4e98),_0x1b4e98=_0x1b4e98[_0x41e2('0x0')];}return _0x18ee1b;}export function downcastSplitMergeMarker(_0x19ae4e,_0x2f8806,{showActiveMarker:_0x11d535=!0x0}={}){const _0x1fcbc9=_0x19ae4e[_0x41e2('0x5')][_0x41e2('0x10')](_0x41e2('0x3'));return(_0x2a5fb3,_0x58bb19,_0x172eb9)=>{if(!_0x172eb9[_0x41e2('0x16')][_0x41e2('0x7')](_0x58bb19['markerRange'],_0x2a5fb3['name']))return;const _0x290755=_0x58bb19[_0x41e2('0x13')][_0x41e2('0x1a')](),_0x16986c=_0x58bb19[_0x41e2('0x13')]['start'],_0x1d5f22=_0x19ae4e[_0x41e2('0x1e')][_0x41e2('0xf')];let _0x4f7143=null,_0x554e7e=null,_0x26f25b=!0x1,_0x1394bd=!0x1;for(const _0x3209ff of _0x290755){const _0x9898fb=_0x3209ff['item'];_0x26f25b=_0x26f25b||_0x1d5f22['isContent'](_0x9898fb);const _0x2e130f=_0x172eb9['mapper']['toViewElement'](_0x9898fb);if(_0x2e130f&&_0x2e130f[_0x41e2('0xd')](_0x41e2('0x2')))return;_0x41e2('0xc')==_0x3209ff['type']&&(_0x1d5f22[_0x41e2('0x1d')](_0x9898fb)&&!_0x1d5f22[_0x41e2('0x15')](_0x9898fb)&&(_0x9898fb[_0x41e2('0x0')]||_0x16986c[_0x41e2('0x14')]?_0x4f7143&&_0x4f7143['parent']==_0x9898fb||(_0x4f7143=_0x9898fb,_0x478ed1(_0x3209ff[_0x41e2('0x17')]),_0x1394bd=!0x0):_0x554e7e=_0x554e7e||_0x3209ff['previousPosition']));}function _0x478ed1(_0x115466){const _0x4fa497=_0x172eb9['writer'][_0x41e2('0x6')](_0x41e2('0x12'),{'class':_0x41e2('0x1')+_0x2f8806}),_0x25413c=_0x172eb9['mapper']['toViewPosition'](_0x115466);_0x11d535&&_0x1fcbc9['activeMarkers'][_0x41e2('0x1c')](_0x58bb19[_0x41e2('0xa')])&&_0x172eb9['writer'][_0x41e2('0x19')](_0x41e2('0x18'),_0x4fa497),_0x172eb9[_0x41e2('0x1f')]['insert'](_0x25413c,_0x4fa497),_0x172eb9['mapper'][_0x41e2('0xe')](_0x4fa497,_0x58bb19[_0x41e2('0xa')]);}_0x26f25b||_0x1394bd||!_0x554e7e||_0x478ed1(_0x554e7e);};}
23
+ const _0x24cf=['push','span','element','listIndent','activeMarkers','name','get','test','markerName','hasAttribute','plugins','schema','writer','isAtEnd','getItems','getCustomProperty','nextSibling','addHighlight','parent','isLimit','consumable','toViewPosition','bindElementToMarker','TrackChangesEditing','mapper','ck-suggestion-marker-','previousPosition','type','listItem','start','toViewElement','isContent','markerRange','addClass','item','createRangeOn'];(function(_0xc2826b,_0x24cf67){const _0x407279=function(_0x288bd3){while(--_0x288bd3){_0xc2826b['push'](_0xc2826b['shift']());}};_0x407279(++_0x24cf67);}(_0x24cf,0x97));const _0x4072=function(_0xc2826b,_0x24cf67){_0xc2826b=_0xc2826b-0x0;let _0x407279=_0x24cf[_0xc2826b];return _0x407279;};export function getRangesWithAttribute(_0x3e7d8a,_0x533266,_0x50ef5b){const _0x3bd4b8=[];for(const _0x1d95b2 of _0x533266[_0x4072('0x7')]())_0x1d95b2[_0x4072('0x2')](_0x3e7d8a)&&_0x3bd4b8[_0x4072('0x1d')](_0x50ef5b[_0x4072('0x1c')](_0x1d95b2));return _0x3bd4b8;}export function getElementsAffectedByListItemRename(_0x4a785c){const _0x58f538=[];if(_0x4a785c['is']('element',_0x4072('0x15'))){let _0x149ee6=_0x4a785c[_0x4072('0x9')];for(;_0x149ee6&&_0x149ee6['is'](_0x4072('0x1f'),_0x4072('0x15'))&&_0x149ee6['getAttribute'](_0x4072('0x20'))>0x0;)_0x58f538[_0x4072('0x1d')](_0x149ee6),_0x149ee6=_0x149ee6[_0x4072('0x9')];}return _0x58f538;}export function downcastSplitMergeMarker(_0x16d738,_0x1eff67,{showActiveMarker:_0x2fbb14=!0x0}={}){const _0x2e0912=_0x16d738[_0x4072('0x3')][_0x4072('0x23')](_0x4072('0x10'));return(_0x1480ad,_0x221cf3,_0x2b9384)=>{if(!_0x2b9384[_0x4072('0xd')][_0x4072('0x0')](_0x221cf3['markerRange'],_0x1480ad[_0x4072('0x22')]))return;const _0x347926=_0x221cf3[_0x4072('0x19')]['getWalker'](),_0x2b0260=_0x221cf3[_0x4072('0x19')][_0x4072('0x16')],_0x3129b0=_0x16d738['model'][_0x4072('0x4')];let _0x215688=null,_0x1983b4=null,_0x391fe1=!0x1,_0x117879=!0x1;for(const _0x29678b of _0x347926){const _0x4dad13=_0x29678b[_0x4072('0x1b')];_0x391fe1=_0x391fe1||_0x3129b0[_0x4072('0x18')](_0x4dad13);const _0x54b9cb=_0x2b9384[_0x4072('0x11')][_0x4072('0x17')](_0x4dad13);if(_0x54b9cb&&_0x54b9cb[_0x4072('0x8')](_0x4072('0xa')))return;'elementEnd'==_0x29678b[_0x4072('0x14')]&&(_0x3129b0['isBlock'](_0x4dad13)&&!_0x3129b0[_0x4072('0xc')](_0x4dad13)&&(_0x4dad13[_0x4072('0x9')]||_0x2b0260[_0x4072('0x6')]?_0x215688&&_0x215688[_0x4072('0xb')]==_0x4dad13||(_0x215688=_0x4dad13,_0x2bda53(_0x29678b[_0x4072('0x13')]),_0x117879=!0x0):_0x1983b4=_0x1983b4||_0x29678b[_0x4072('0x13')]));}function _0x2bda53(_0x3bbabf){const _0x1b1369=_0x2b9384['writer']['createUIElement'](_0x4072('0x1e'),{'class':_0x4072('0x12')+_0x1eff67}),_0x206c3d=_0x2b9384[_0x4072('0x11')][_0x4072('0xe')](_0x3bbabf);_0x2fbb14&&_0x2e0912[_0x4072('0x21')]['includes'](_0x221cf3['markerName'])&&_0x2b9384[_0x4072('0x5')][_0x4072('0x1a')]('ck-suggestion-marker--active',_0x1b1369),_0x2b9384[_0x4072('0x5')]['insert'](_0x206c3d,_0x1b1369),_0x2b9384[_0x4072('0x11')][_0x4072('0xf')](_0x1b1369,_0x221cf3[_0x4072('0x1')]);}_0x391fe1||_0x117879||!_0x1983b4||_0x2bda53(_0x1983b4);};}