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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (65) hide show
  1. package/build/track-changes.js +1 -1
  2. package/package.json +3 -3
  3. package/src/commands/acceptsuggestioncommand.js +1 -1
  4. package/src/commands/discardsuggestioncommand.js +1 -1
  5. package/src/commands/executeonallsuggestionscommand.js +1 -1
  6. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  7. package/src/commands/trackchangescommand.js +1 -1
  8. package/src/integrations/alignment.js +1 -1
  9. package/src/integrations/basicstyles.js +1 -1
  10. package/src/integrations/blockquote.js +1 -1
  11. package/src/integrations/ckbox.js +1 -1
  12. package/src/integrations/codeblock.js +1 -1
  13. package/src/integrations/comments.js +1 -1
  14. package/src/integrations/deletecommand.js +1 -1
  15. package/src/integrations/documentlist.js +1 -1
  16. package/src/integrations/documentlistproperties.js +1 -1
  17. package/src/integrations/entercommand.js +1 -1
  18. package/src/integrations/findandreplace.js +1 -1
  19. package/src/integrations/font.js +1 -1
  20. package/src/integrations/formatpainter.js +1 -1
  21. package/src/integrations/heading.js +1 -1
  22. package/src/integrations/highlight.js +1 -1
  23. package/src/integrations/horizontalline.js +1 -1
  24. package/src/integrations/htmlembed.js +1 -1
  25. package/src/integrations/image.js +1 -1
  26. package/src/integrations/imagereplace.js +1 -1
  27. package/src/integrations/importword.js +1 -1
  28. package/src/integrations/indent.js +1 -1
  29. package/src/integrations/inputcommand.js +1 -1
  30. package/src/integrations/link.js +1 -1
  31. package/src/integrations/list.js +1 -1
  32. package/src/integrations/listproperties.js +1 -1
  33. package/src/integrations/mediaembed.js +1 -1
  34. package/src/integrations/mention.js +1 -1
  35. package/src/integrations/pagebreak.js +1 -1
  36. package/src/integrations/paragraph.js +1 -1
  37. package/src/integrations/removeformat.js +1 -1
  38. package/src/integrations/restrictededitingmode.js +1 -1
  39. package/src/integrations/shiftentercommand.js +1 -1
  40. package/src/integrations/standardeditingmode.js +1 -1
  41. package/src/integrations/style.js +1 -1
  42. package/src/integrations/table.js +1 -1
  43. package/src/integrations/tablecaption.js +1 -1
  44. package/src/integrations/tableclipboard.js +1 -1
  45. package/src/integrations/tablecolumnresize.js +1 -1
  46. package/src/integrations/tableheadings.js +1 -1
  47. package/src/integrations/tablemergesplit.js +1 -1
  48. package/src/integrations/tableofcontents.js +1 -1
  49. package/src/integrations/tableproperties.js +1 -1
  50. package/src/integrations/template.js +1 -1
  51. package/src/integrations/title.js +1 -1
  52. package/src/integrations/undo.js +1 -1
  53. package/src/integrations/utils.js +1 -1
  54. package/src/suggestion.js +1 -1
  55. package/src/suggestiondescriptionfactory.js +1 -1
  56. package/src/trackchanges.js +1 -1
  57. package/src/trackchangesdata.js +1 -1
  58. package/src/trackchangesediting.d.ts +29 -1
  59. package/src/trackchangesediting.js +1 -1
  60. package/src/trackchangesui.js +1 -1
  61. package/src/ui/suggestioncontroller.js +1 -1
  62. package/src/ui/view/basesuggestionthreadview.js +1 -1
  63. package/src/ui/view/suggestionthreadview.js +1 -1
  64. package/src/utils/common-translations.js +1 -1
  65. package/src/utils/utils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3cc4=['getChildren','selection','endColumn','getRanges','createRange','nodeAfter','createElement','plugins','TableUtils','getRows','cells','commands','_getCoordsForCells','columns','tablePasteRow','deletion','options','locale','deletionRanges','registerCustomCallback','content','getSuggestionCallback','last','isEmpty','newRange','dataDowncast','schema','insertion','removeMarker','row','markerName','startsWith','markMultiRangeBlockFormat','length','_splitMarkerName','$graveyard','getChangedMarkers','getTableIfOnlyTableInContent','suggestion','view','tablePasteChainId','table','setAttributes','next','ck-suggestion-marker-insertion','suggestion:formatBlock:tablePasteCell','tableCellBorderColor','for','getAllAdjacentSuggestions','activeMarkers','end','editingDowncast','change','join','editing','fromEntries','first','insertColumns','TableClipboard','hasSuggestion','forceDefaultExecution','getRange','formatBlock','position','paragraph','_isForcedDefaultExecutionBlock','has','tablePasteColumn','removeRows','createTableWalker','author','insertContent','differ','remove','_replaceTableSlotCell','model','ck-suggestion-marker--active','suggestion-td','element','oldRange','includes','findAncestor','register','rowInsertionIndexes','getSelectionAffectedTableCells','getRowIndexes','get','document','elementToElement','redo','getContainedElement','unwrap','insertionRanges','tablePaste','markerAttributes','type','getColumnIndexes','isInContent','name','add','suggestionLoaded','showSuggestionHighlights','batch','registerPostFixer','requires','rootName','listenTo','find','_descriptionFactory','fill','getMarkers','containsRange','map','afterInit','stop','getColumns','previousSibling','set','attributes','tableCellPadding','getSuggestions','editor','tableCellBorderStyle','clipboardOutput','createRangeIn','accept','rowInsertionRanges','tableCellSuggestion','getSuggestion','createRangeOn','start','reduce','setAttribute','filter','column','high','markerToHighlight','getChild','subType','isEqual','keys','insert','return','getAttributes','previous','tableCellBackgroundColor','_suggestionFactory','discard','conversion','every','markMultiRangeInsertion','columnInsertionRanges','tablePasteCell','push','Users','move','documentSelection','tableCell','endRow','root'];(function(_0x4f6c14,_0x3cc442){const _0x44ef49=function(_0x4111dc){while(--_0x4111dc){_0x4f6c14['push'](_0x4f6c14['shift']());}};_0x44ef49(++_0x3cc442);}(_0x3cc4,0x1b1));const _0x44ef=function(_0x4f6c14,_0x3cc442){_0x4f6c14=_0x4f6c14-0x0;let _0x44ef49=_0x3cc4[_0x4f6c14];return _0x44ef49;};import{getTranslation as _0xb8ca73}from'../utils/common-translations';import{Plugin as _0x59aaaf}from'ckeditor5/src/core';import{uid as _0x339c67,priorities as _0x24d7b4}from'ckeditor5/src/utils';import _0x4c4f6a from'./table';const le=['tableCellBorderWidth',_0x44ef('0x5d'),_0x44ef('0x9'),'tableCellHorizontalAlignment','tableCellVerticalAlignment',_0x44ef('0x20'),_0x44ef('0x6')],ae=Object[_0x44ef('0x66')](le['map'](_0x79b13b=>[_0x79b13b,null]));export default class kt extends _0x59aaaf{static get[_0x44ef('0x97')](){return[_0x4c4f6a];}[_0x44ef('0x0')](){const _0x325541=this[_0x44ef('0x8')];if(!_0x325541['plugins']['has']('TableClipboard'))return;const _0x4fbe1a=_0x325541['plugins'][_0x44ef('0x85')]('TrackChangesEditing'),_0x483d1f=_0x325541['plugins'][_0x44ef('0x85')](_0x44ef('0x37')),_0x3fe309=_0x325541[_0x44ef('0x36')][_0x44ef('0x85')](_0x4c4f6a),_0x1ba4e2=_0x325541[_0x44ef('0x36')][_0x44ef('0x85')](_0x44ef('0x69'));_0x3fe309['_tablePostFixingSubtypes'][_0x44ef('0x28')](_0x44ef('0x3d'),'tablePasteColumn'),_0x325541[_0x44ef('0x7a')][_0x44ef('0x49')][_0x44ef('0x81')](_0x44ef('0xe'),{'allowIn':_0x44ef('0x2c'),'allowContentOf':_0x44ef('0x2c'),'isLimit':!0x0}),_0x325541[_0x44ef('0x23')][_0x44ef('0x87')]({'model':_0x44ef('0xe'),'view':_0x44ef('0x7c')});let _0x2128fa=null;_0x325541[_0x44ef('0x7a')]['on']('insertContent',(_0x518430,_0x3aae15)=>{const [_0x337326,_0x3629b8]=_0x3aae15,_0x43d822=_0x3aae15[_0x3aae15['length']-0x1];_0x43d822&&_0x43d822[_0x44ef('0x6b')]||_0x4fbe1a[_0x44ef('0x70')]||this['editor'][_0x44ef('0x3a')][_0x44ef('0x85')]('trackChanges')['value']&&function(_0x32fac3,_0x9c7854,_0x4fd0b3,_0x5f3481,_0x2c1731){if(_0x9c7854&&!_0x9c7854['is'](_0x44ef('0x2b')))return!0x1;const _0x1acad6=_0x2c1731[_0x44ef('0x54')](_0x32fac3,_0x4fd0b3);if(!_0x1acad6||!fe(_0x1acad6,void 0x0,_0x5f3481))return!0x1;const _0x31aafc=_0x5f3481[_0x44ef('0x83')](_0x4fd0b3[_0x44ef('0x86')][_0x44ef('0x30')]);if(!_0x31aafc['length'])return!0x1;const _0x16ad9c=_0x31aafc[0x0]['findAncestor'](_0x44ef('0x58')),_0x453b5a=_0x5f3481[_0x44ef('0x84')](_0x31aafc),_0xee3aeb=_0x5f3481[_0x44ef('0x8f')](_0x31aafc),_0x4e973d={'startRow':_0x453b5a[_0x44ef('0x67')],'endRow':_0x453b5a['last'],'startColumn':_0xee3aeb[_0x44ef('0x67')],'endColumn':_0xee3aeb[_0x44ef('0x45')]};return 0x1==_0x31aafc[_0x44ef('0x50')]&&(_0x4e973d[_0x44ef('0x2d')]+=_0x5f3481[_0x44ef('0x38')](_0x1acad6)-0x1,_0x4e973d[_0x44ef('0x31')]+=_0x5f3481[_0x44ef('0x2')](_0x1acad6)-0x1),fe(_0x16ad9c,_0x4e973d,_0x5f3481);}(_0x337326,_0x3629b8,_0x325541['model'],_0x483d1f,_0x1ba4e2)&&(_0x518430[_0x44ef('0x1')](),_0x2128fa={'cells':[],'insertionRanges':[],'deletionRanges':[],'rowInsertionRanges':[],'rowInsertionIndexes':[],'columnInsertionRanges':[],'columnInsertionIndexes':[]},_0x325541[_0x44ef('0x7a')][_0x44ef('0x63')](()=>{_0x325541[_0x44ef('0x7a')][_0x44ef('0x76')](_0x3aae15[0x0],_0x3aae15[0x1],_0x3aae15[0x2],{'forceDefaultExecution':!0x0});const _0x16de3c=_0x339c67(),{rowInsertionRanges:_0xc1350,columnInsertionRanges:_0x1b7a23,insertionRanges:_0x563712,deletionRanges:_0x3678c7,cells:_0x4eef24}=_0x2128fa;_0xc1350[_0x44ef('0x50')]&&_0x4fbe1a[_0x44ef('0x25')](_0xc1350,_0x44ef('0x3d'),{'tablePasteChainId':_0x16de3c}),_0x1b7a23[_0x44ef('0x50')]&&_0x4fbe1a[_0x44ef('0x25')](_0x1b7a23,_0x44ef('0x72'),{'tablePasteChainId':_0x16de3c}),_0x563712['length']&&_0x4fbe1a[_0x44ef('0x25')](_0x563712,_0x44ef('0x8c'),{'tablePasteChainId':_0x16de3c,'skipNestingCheck':!0x0}),_0x3678c7[_0x44ef('0x50')]&&_0x4fbe1a['markMultiRangeDeletion'](_0x3678c7,'tablePaste',{'tablePasteChainId':_0x16de3c,'skipNestingCheck':!0x0});const _0x4d4366=_0x4fbe1a[_0x44ef('0x4f')](_0x4eef24[_0x44ef('0x9f')](({element:_0x4ccffb})=>_0x4ccffb),{'formatGroupId':_0x339c67()},[],'tablePasteCell',{'tablePasteChainId':_0x16de3c});if(_0x4d4366){const _0x438f13=_0x4d4366[_0x44ef('0x9d')](),_0x2fd229=[];for(const {element:_0x258411,attributes:_0x4b1cf9}of _0x4eef24){if(!_0x4b1cf9)continue;const _0x420108=_0x325541[_0x44ef('0x7a')]['createRangeOn'](_0x258411),_0x4c2302=_0x438f13[_0x44ef('0x9a')](_0xad0860=>_0xad0860[_0x44ef('0x6c')]()[_0x44ef('0x1a')](_0x420108));_0x4c2302&&_0x2fd229[_0x44ef('0x28')]([_0x4c2302[_0x44ef('0x91')],_0x4b1cf9]);}_0x2fd229[_0x44ef('0x50')]&&_0x4d4366[_0x44ef('0x13')](_0x44ef('0x8d'),Object[_0x44ef('0x66')](_0x2fd229));}_0x2128fa=null;}));},{'priority':_0x24d7b4[_0x44ef('0x16')]+0xa}),_0x325541[_0x44ef('0x36')]['get'](_0x44ef('0x69'))['on'](_0x44ef('0x79'),(_0x583065,_0x2cb1cc)=>{const [_0x321115,_0x150dd2,,_0xfe1747]=_0x2cb1cc;if(!_0x2128fa)return;_0x583065['stop']();const _0x49d1f9=_0x321115['cell'],_0x4f8944=_0x150dd2,_0x5dad55=ce(_0x49d1f9),_0x3f12de=ce(_0x4f8944);_0x583065[_0x44ef('0x1d')]=_0x49d1f9;let _0x22c25f=null,_0x2805f0=null;if(_0x3f12de||_0x5dad55){if(_0x5dad55&&!_0x3f12de){_0xfe1747['remove'](_0x49d1f9[_0x44ef('0x18')](0x0));for(const _0x23d960 of Array['from'](_0x4f8944[_0x44ef('0x2f')]()))_0xfe1747[_0x44ef('0x1c')](_0x23d960,_0x49d1f9,'end');const _0x21ae8a=_0x2128fa[_0x44ef('0x82')]['includes'](_0x321115[_0x44ef('0x4c')]),_0x1bbe34=_0x2128fa['columnInsertionIndexes'][_0x44ef('0x7f')](_0x321115[_0x44ef('0x15')]);_0x21ae8a||_0x1bbe34||(_0x22c25f=_0xfe1747[_0x44ef('0xb')](_0x49d1f9));}else _0x3f12de&&!_0x5dad55&&(_0x2805f0=_0xfe1747[_0x44ef('0xb')](_0x49d1f9));}else{const _0x18da22=_0xfe1747[_0x44ef('0x35')]('tableCellSuggestion'),_0x5ac908=_0xfe1747[_0x44ef('0x35')](_0x44ef('0xe'));_0xfe1747['wrap'](_0xfe1747[_0x44ef('0xb')](_0x49d1f9),_0x5ac908),_0xfe1747['insert'](_0x18da22,_0x49d1f9,0x0);for(const _0x1b22e8 of Array['from'](_0x4f8944['getChildren']()))_0xfe1747[_0x44ef('0x1c')](_0x1b22e8,_0x18da22,_0x44ef('0x61'));_0x22c25f=_0xfe1747[_0x44ef('0x10')](_0x18da22),_0x2805f0=_0xfe1747[_0x44ef('0x10')](_0x5ac908);}const _0x5065d3=Array['from'](_0x4f8944[_0x44ef('0x1e')]())[_0x44ef('0x14')](([_0x48c39a])=>le['includes'](_0x48c39a));_0x2128fa[_0x44ef('0x39')]['push']({'element':_0x49d1f9,'attributes':_0x5065d3['length']?Object[_0x44ef('0x66')](_0x5065d3):null}),_0x22c25f&&_0x2128fa[_0x44ef('0x8b')][_0x44ef('0x28')](_0x22c25f),_0x2805f0&&_0x2128fa[_0x44ef('0x41')][_0x44ef('0x28')](_0x2805f0);},{'priority':_0x44ef('0x16')}),_0x483d1f['on'](_0x44ef('0x68'),(_0x531d09,_0x403699)=>{const [_0x3217b7,_0x48ffe2={}]=_0x403699;if(!_0x2128fa)return;const _0x4bfecf=_0x48ffe2['at']||0x0,_0x44b8b4=_0x48ffe2[_0x44ef('0x3c')]||0x1;_0x2128fa['columnInsertionIndexes']=new Array(_0x44b8b4)['fill'](_0x4bfecf)[_0x44ef('0x9f')]((_0x326f49,_0x19c40a)=>_0x326f49+_0x19c40a);for(const {cell:_0x40c4de}of _0x483d1f[_0x44ef('0x74')](_0x3217b7,{'startColumn':_0x4bfecf,'endColumn':_0x4bfecf+_0x44b8b4-0x1}))_0x2128fa[_0x44ef('0x26')][_0x44ef('0x28')](_0x325541['model'][_0x44ef('0x10')](_0x40c4de));},{'priority':'low'}),_0x483d1f['on']('insertRows',(_0x402792,_0x288b0b)=>{const [_0x4af727,_0x3868ab={}]=_0x288b0b;if(!_0x2128fa)return;const _0x5132a5=_0x3868ab['at']||0x0,_0x480b37=_0x3868ab['rows']||0x1;_0x2128fa[_0x44ef('0x82')]=new Array(_0x480b37)[_0x44ef('0x9c')](_0x5132a5)[_0x44ef('0x9f')]((_0x5cc3a9,_0xb5e981)=>_0x5cc3a9+_0xb5e981);for(const {cell:_0x2e8d90}of _0x483d1f[_0x44ef('0x74')](_0x4af727,{'startRow':_0x5132a5,'endRow':_0x5132a5+_0x480b37-0x1}))_0x2128fa[_0x44ef('0xd')][_0x44ef('0x28')](_0x325541[_0x44ef('0x7a')][_0x44ef('0x10')](_0x2e8d90));},{'priority':'low'}),_0x4fbe1a[_0x44ef('0x9b')]['registerDescriptionCallback'](_0x137a92=>{if(_0x137a92[_0x44ef('0x19')]&&_0x137a92['subType'][_0x44ef('0x4e')]('tablePaste'))return _0x137a92['previous']?{}:{'type':_0x44ef('0x4a'),'content':_0xb8ca73(_0x325541[_0x44ef('0x40')],'*Replace\x20table\x20cells*')};});const _0x553209=()=>{};for(const _0x464403 of['tablePaste',_0x44ef('0x72'),_0x44ef('0x3d'),_0x44ef('0x27')])_0x4fbe1a[_0x44ef('0x21')]['registerCustomCallback'](_0x44ef('0x4a'),_0x464403,_0x44ef('0x64'),_0x553209),_0x4fbe1a['_suggestionFactory'][_0x44ef('0x42')](_0x44ef('0x3e'),_0x464403,_0x44ef('0x64'),_0x553209);_0x4fbe1a[_0x44ef('0x21')][_0x44ef('0x42')](_0x44ef('0x6d'),_0x44ef('0x27'),_0x44ef('0x22'),_0x553209),_0x4fbe1a[_0x44ef('0x21')][_0x44ef('0x42')]('formatBlock',_0x44ef('0x27'),_0x44ef('0xc'),(_0xb32d7c,_0x5575df,_0x54a7a7)=>{const _0x1c307e=_0xb32d7c['map'](_0x530110=>_0x530110[_0x44ef('0x89')]())[_0x44ef('0x14')](_0xd0bf76=>_0xd0bf76),_0x22cdda=new Map(_0x1c307e[_0x44ef('0x9f')](_0x2e1d88=>[_0x2e1d88,null]));if(_0x2128fa)for(const {element:_0x4407e6,attributes:_0x3c4ea3}of _0x2128fa[_0x44ef('0x39')])_0x3c4ea3&&_0x22cdda[_0x44ef('0x4')](_0x4407e6,_0x3c4ea3);else{if(_0x54a7a7&&_0x54a7a7['markerAttributes'])for(const [_0x2008f1,_0x32d6c3]of Object['entries'](_0x54a7a7['markerAttributes'])){const _0x461da8=_0x325541[_0x44ef('0x7a')]['markers'][_0x44ef('0x85')](_0x2008f1),_0x146fee=_0x461da8?_0x461da8[_0x44ef('0x6c')]()[_0x44ef('0x89')]():null;_0x146fee&&_0x22cdda[_0x44ef('0x4')](_0x146fee,_0x32d6c3);}}_0x325541[_0x44ef('0x7a')][_0x44ef('0x63')](_0x46ab0a=>{for(const [_0x5068d3,_0x3d87e4]of _0x22cdda)_0x46ab0a[_0x44ef('0x59')]({...ae,..._0x3d87e4},_0x5068d3);});});const _0x1d65a9=(_0x5a5869,_0x32e419)=>{_0x4fbe1a[_0x44ef('0x21')][_0x44ef('0x42')](_0x5a5869,_0x44ef('0x8c'),_0x32e419,(_0x59df04,_0x2b50e2,_0x47d915)=>{_0x325541[_0x44ef('0x7a')][_0x44ef('0x63')](_0x417c83=>{const _0x58caea=[];for(const _0x46d34a of _0x59df04){const _0x4fa86a=_0x46d34a[_0x44ef('0x11')][_0x44ef('0x34')];_0x4fa86a['is'](_0x44ef('0x7d'),_0x44ef('0xe'))&&_0x58caea[_0x44ef('0x28')](_0x4fa86a);}_0x4fbe1a[_0x44ef('0x21')][_0x44ef('0x44')](_0x5a5869,null,_0x32e419)(_0x59df04,_0x2b50e2,_0x47d915);for(const _0x3e4c01 of _0x58caea)_0x44ef('0x52')!=_0x3e4c01[_0x44ef('0x2e')][_0x44ef('0x98')]&&_0x417c83[_0x44ef('0x8a')](_0x3e4c01);});});};_0x1d65a9(_0x44ef('0x4a'),'accept'),_0x1d65a9(_0x44ef('0x4a'),_0x44ef('0x22')),_0x1d65a9(_0x44ef('0x3e'),_0x44ef('0xc')),_0x1d65a9(_0x44ef('0x3e'),'discard'),_0x4fbe1a[_0x44ef('0x21')][_0x44ef('0x42')](_0x44ef('0x4a'),_0x44ef('0x3d'),_0x44ef('0x22'),_0x476037=>{const _0x263194=_0x476037[_0x44ef('0x9f')](_0x387f5d=>_0x387f5d[_0x44ef('0x89')]()),_0x3e7022=_0x263194[0x0]['findAncestor'](_0x44ef('0x58')),{minRow:_0x5b253e,maxRow:_0x37f4c9}=_0x3fe309[_0x44ef('0x3b')](_0x263194);_0x483d1f[_0x44ef('0x73')](_0x3e7022,{'at':_0x5b253e,'rows':_0x37f4c9-_0x5b253e+0x1});}),_0x4fbe1a['_suggestionFactory'][_0x44ef('0x42')]('insertion',_0x44ef('0x72'),_0x44ef('0x22'),_0x158620=>{const _0x349ea5=_0x158620[_0x44ef('0x9f')](_0x41b901=>_0x41b901[_0x44ef('0x89')]()),_0x17694a=_0x349ea5[0x0][_0x44ef('0x80')](_0x44ef('0x58')),{minColumn:_0x556d45,maxColumn:_0xef3b9b}=_0x3fe309[_0x44ef('0x3b')](_0x349ea5);_0x483d1f['removeColumns'](_0x17694a,{'at':_0x556d45,'columns':_0xef3b9b-_0x556d45+0x1});});const _0x44e124=(_0x1d44da,_0x3cd8ec)=>{if(!_0x3cd8ec[_0x44ef('0x19')]||!_0x3cd8ec[_0x44ef('0x19')][_0x44ef('0x4e')](_0x44ef('0x8c')))return;const _0x34eeb4=_0x3cd8ec[_0x44ef('0x5')][_0x44ef('0x57')],_0x4f9694=_0x4fbe1a[_0x44ef('0x7')]()['filter'](_0x4ecbc4=>_0x4ecbc4[_0x44ef('0x90')]&&_0x4ecbc4[_0x44ef('0x5')]&&_0x4ecbc4['attributes'][_0x44ef('0x57')]==_0x34eeb4);_0x4f9694['length']&&_0x3cd8ec[_0x44ef('0x5f')]()['length']!=_0x4f9694[_0x44ef('0x50')]&&_0x4f9694[_0x44ef('0x12')]((_0x250785,_0x26adff)=>(_0x250785[_0x44ef('0x5a')]=_0x26adff,_0x26adff[_0x44ef('0x1f')]=_0x250785,_0x26adff));};function _0x52aa9e(_0x554622,_0x57bfaa=!0x0){const {id:_0x32b34b}=_0x4fbe1a[_0x44ef('0x51')](_0x554622[_0x44ef('0x4d')]),_0x2bbd27=['ck-suggestion-marker',_0x44ef('0x5b')],_0x3cdfe0=_0x4fbe1a[_0x44ef('0x60')][_0x44ef('0x7f')](_0x554622[_0x44ef('0x4d')]);return _0x3cdfe0&&_0x2bbd27['push'](_0x44ef('0x7b')),{'classes':_0x2bbd27,'attributes':{'data-suggestion':_0x32b34b},'priority':_0x3cdfe0&&_0x57bfaa?0xbc2:0xbb8};}_0x4fbe1a['on'](_0x44ef('0x93'),_0x44e124,{'priority':_0x44ef('0x16')}),_0x4fbe1a['on']('suggestionUnloaded',_0x44e124,{'priority':_0x44ef('0x16')}),_0x325541[_0x44ef('0x7a')][_0x44ef('0x86')][_0x44ef('0x96')](()=>{let _0x285f0c=!0x1;const _0x395dce=Array['from'](_0x325541[_0x44ef('0x7a')][_0x44ef('0x86')][_0x44ef('0x77')][_0x44ef('0x53')]());for(const {name:_0x234dd5,data:_0x53c2e0}of _0x395dce){const {group:_0x3a3083,type:_0x1b0c71,id:_0x126dfb}=_0x4fbe1a[_0x44ef('0x51')](_0x234dd5);if(_0x44ef('0x55')!=_0x3a3083||'deletion'!=_0x1b0c71||_0x53c2e0[_0x44ef('0x7e')])continue;if(!_0x4fbe1a[_0x44ef('0x6a')](_0x126dfb))continue;const _0x423ddd=_0x4fbe1a[_0x44ef('0xf')](_0x126dfb)[_0x44ef('0x32')](),_0x25846d=_0x325541[_0x44ef('0x36')]['get'](_0x44ef('0x29'))['me'];for(const _0x2f8467 of _0x4fbe1a['getSuggestions']()){if(!_0x2f8467[_0x44ef('0x90')]||_0x2f8467[_0x44ef('0x75')]!=_0x25846d)continue;if(_0x44ef('0x6d')!=_0x2f8467[_0x44ef('0x8e')]||_0x44ef('0x27')!=_0x2f8467[_0x44ef('0x19')])continue;if(_0x2f8467['getRanges']()[_0x44ef('0x24')](_0xd7a619=>_0x423ddd['some'](_0x3cd272=>_0x3cd272['containsRange'](_0xd7a619,!0x0))))for(const _0x5017fb of _0x2f8467[_0x44ef('0x5f')]())_0x5017fb[_0x44ef('0x90')]&&(_0x5017fb[_0x44ef('0x22')](),_0x285f0c=!0x0);}}return _0x285f0c;}),_0x325541[_0x44ef('0x7a')]['document'][_0x44ef('0x96')](_0x167b49=>{const _0x546f29=_0x325541['commands'][_0x44ef('0x85')](_0x44ef('0x88'));if(!_0x546f29||!_0x546f29['_createdBatches'][_0x44ef('0x71')](_0x167b49[_0x44ef('0x95')]))return!0x1;let _0x250993=!0x1;const _0x45e427=_0x325541['plugins'][_0x44ef('0x85')](_0x44ef('0x29'))['me'],_0x39d4d7=_0x325541['model'][_0x44ef('0x86')][_0x44ef('0x77')]['getChanges'](),_0x42d7e8=Array['from'](_0x325541[_0x44ef('0x7a')][_0x44ef('0x86')]['differ']['getChangedMarkers']())[_0x44ef('0x14')](({name:_0x38de11,data:_0x178b57})=>{const {group:_0x331ffc,subType:_0x428dbb,authorId:_0x50f509}=_0x4fbe1a[_0x44ef('0x51')](_0x38de11);return _0x44ef('0x55')==_0x331ffc&&'tablePaste'==_0x428dbb&&_0x50f509==_0x45e427['id']&&!_0x178b57[_0x44ef('0x7e')];});for(const _0x438268 of _0x39d4d7){if(_0x44ef('0x1c')!=_0x438268[_0x44ef('0x8e')]||_0x44ef('0xe')!=_0x438268[_0x44ef('0x91')]||0x1!=_0x438268['length'])continue;const _0x20d2b7=_0x167b49[_0x44ef('0x33')](_0x438268[_0x44ef('0x6e')],_0x438268['position']['getShiftedBy'](0x1));if(!_0x42d7e8['find'](({data:_0x476658})=>_0x476658[_0x44ef('0x47')][_0x44ef('0x1a')](_0x20d2b7)))for(const {name:_0x2b5c6e,data:_0x1f0ee9}of _0x42d7e8)if(_0x20d2b7[_0x44ef('0x9e')](_0x1f0ee9['newRange'])){_0x167b49['updateMarker'](_0x2b5c6e,{'range':_0x20d2b7}),_0x250993=!0x0;break;}}return _0x250993;}),_0x325541['model'][_0x44ef('0x86')][_0x44ef('0x96')](_0xda7546=>{let _0x4bef5d=!0x1;const _0x59c660=_0x325541[_0x44ef('0x36')]['get']('Users')['me'],_0xc59cd2=_0x4fbe1a[_0x44ef('0x7')]()['filter'](_0x2f3682=>_0x2f3682['isInContent']&&_0x2f3682[_0x44ef('0x75')]==_0x59c660),_0x5a7678=new Set(),_0x177ba5=new Set();for(const _0xa31d3d of _0xc59cd2)if(_0x44ef('0x8c')==_0xa31d3d[_0x44ef('0x19')])for(const _0x30a975 of _0xa31d3d[_0x44ef('0x9d')]()){const _0x3e8adf=_0x30a975['getRange']()[_0x44ef('0x89')]();if(_0x3e8adf){if(_0x3e8adf['is'](_0x44ef('0x7d'),_0x44ef('0xe'))&&ce(_0x3e8adf)){_0xa31d3d[_0x44ef('0x4b')](_0x30a975[_0x44ef('0x91')]),_0x5a7678['add'](_0x3e8adf),_0x4bef5d=!0x0;const _0x1b96ce=_0x3e8adf['nextSibling'],_0x4b9742=_0x3e8adf[_0x44ef('0x3')],_0x36ca94=_0x1b96ce&&_0x1b96ce['is'](_0x44ef('0x7d'),'tableCellSuggestion'),_0x3d8775=_0x4b9742&&_0x4b9742['is'](_0x44ef('0x7d'),_0x44ef('0xe'));_0x36ca94&&!_0x5a7678[_0x44ef('0x71')](_0x1b96ce)&&_0x177ba5['add'](_0x1b96ce),_0x3d8775&&!_0x5a7678['has'](_0x4b9742)&&_0x177ba5[_0x44ef('0x92')](_0x4b9742);}else _0x3e8adf['is'](_0x44ef('0x7d'),_0x44ef('0x6f'))&&_0x3e8adf['isEmpty']&&(_0xa31d3d['removeMarker'](_0x30a975[_0x44ef('0x91')]),_0x4bef5d=!0x0);}}else{if('tablePasteCell'==_0xa31d3d[_0x44ef('0x19')]){if(!_0xa31d3d[_0x44ef('0x5')]||!_0xa31d3d[_0x44ef('0x5')][_0x44ef('0x57')])continue;const _0x2612dc=_0xa31d3d[_0x44ef('0x5')][_0x44ef('0x8d')];if(_0x2612dc&&Object[_0x44ef('0x1b')](_0x2612dc)[_0x44ef('0x50')])continue;const _0x13a444=_0xa31d3d[_0x44ef('0x5')][_0x44ef('0x57')];let _0x3f3a0e=!0x0,_0x144f6c=!0x0;for(const _0x45858e of _0xc59cd2)if(_0x45858e['subType']&&_0x45858e[_0x44ef('0x19')][_0x44ef('0x4e')](_0x44ef('0x8c'))){if(!_0x45858e[_0x44ef('0x5')][_0x44ef('0x57')]){_0x144f6c=!0x1;break;}if(_0x45858e['id']!=_0xa31d3d['id']&&_0x45858e[_0x44ef('0x5')][_0x44ef('0x57')]==_0x13a444){_0x3f3a0e=!0x1;break;}}_0x144f6c&&_0x3f3a0e&&(_0xa31d3d['removeMarkers'](),_0x4bef5d=!0x0);}}for(const _0x2b0611 of _0x5a7678)_0xda7546[_0x44ef('0x78')](_0x2b0611);for(const _0x1a0630 of _0x177ba5)_0xda7546[_0x44ef('0x8a')](_0x1a0630);return _0x4bef5d;}),_0x325541[_0x44ef('0x23')]['for'](_0x44ef('0x62'))[_0x44ef('0x17')]({'model':'suggestion:formatBlock:tablePasteCell','view':(_0x2c844c,_0x1fb2e1)=>_0x52aa9e(_0x2c844c),'converterPriority':'high'}),_0x325541['conversion'][_0x44ef('0x5e')](_0x44ef('0x48'))[_0x44ef('0x17')]({'model':_0x44ef('0x5c'),'view':(_0x4288b3,_0x1372b6)=>_0x1372b6[_0x44ef('0x3f')][_0x44ef('0x94')]?_0x52aa9e(_0x4288b3,!0x1):null,'converterPriority':_0x44ef('0x16')});const _0x561570=_0x325541[_0x44ef('0x65')][_0x44ef('0x56')];this[_0x44ef('0x99')](_0x561570[_0x44ef('0x86')],_0x44ef('0xa'),(_0x574fb9,_0x52c3c9)=>{const _0x35c4a0=[];for(const _0xe17daa of _0x561570[_0x44ef('0xb')](_0x52c3c9[_0x44ef('0x43')])['getItems']())_0xe17daa['is'](_0x44ef('0x7d'),_0x44ef('0x7c'))&&_0x35c4a0[_0x44ef('0x28')](_0xe17daa);_0x561570[_0x44ef('0x63')](_0x4c6acc=>{for(const _0x4808c8 of _0x35c4a0)_0x4c6acc[_0x44ef('0x2a')](_0x4c6acc[_0x44ef('0xb')](_0x4808c8),_0x4c6acc['createPositionBefore'](_0x4808c8)),_0x4c6acc[_0x44ef('0x78')](_0x4808c8);});});}}function ce(_0x53b8b9){if(_0x53b8b9[_0x44ef('0x46')])return!0x0;const _0x1dc368=_0x53b8b9[_0x44ef('0x18')](0x0);return _0x1dc368['is'](_0x44ef('0x7d'),_0x44ef('0x6f'))&&_0x1dc368[_0x44ef('0x46')];}function fe(_0x1a361d,_0x16c6b2={},_0x8e3cd8){for(const {isAnchor:_0x58d8fa,cellHeight:_0x200707,cellWidth:_0x28cbcb}of _0x8e3cd8[_0x44ef('0x74')](_0x1a361d,{'includeAllSlots':!0x0,..._0x16c6b2}))if(!_0x58d8fa||0x1!=_0x200707||0x1!=_0x28cbcb)return!0x1;return!0x0;}
23
+ const _0x3cc2=['fromEntries','remove','rootName','has','conversion','rowInsertionIndexes','length','setAttribute','insertRows','keys','registerDescriptionCallback','ck-suggestion-marker--active','column','createPositionBefore','getSuggestions','ck-suggestion-marker-insertion','ck-suggestion-marker','first','find','subType','getContainedElement','tablePasteColumn','removeRows','editor','oldRange','getRowIndexes','tableCellBackgroundColor','insert','updateMarker','entries','TableClipboard','createRange','getSuggestion','tablePasteCell','row','registerCustomCallback','getSelectionAffectedTableCells','activeMarkers','getChild','getChanges','filter','getChangedMarkers','_suggestionFactory','getRanges','suggestionLoaded','newRange','markerAttributes','getAllAdjacentSuggestions','editingDowncast','low','get','getColumnIndexes','last','return','tablePasteRow','startsWith','suggestion','tableCellSuggestion','registerPostFixer','name','tableCellVerticalAlignment','getColumns','batch','tableCellPadding','nodeAfter','setAttributes','move','reduce','rowInsertionRanges','getChildren','locale','discard','insertionRanges','commands','listenTo','view','element','isEmpty','showSuggestionHighlights','table','push','createTableWalker','redo','endRow','includes','options','cells','removeColumns','type','previousSibling','suggestion-td','suggestion:formatBlock:tablePasteCell','getSuggestionCallback','next','hasSuggestion','_splitMarkerName','getTableIfOnlyTableInContent','paragraph','position','model','insertion','tablePasteChainId','afterInit','accept','_getCoordsForCells','document','columnInsertionRanges','rows','differ','add','removeMarker','previous','$graveyard','_replaceTableSlotCell','containsRange','_descriptionFactory','markMultiRangeBlockFormat','getMarkers','author','columnInsertionIndexes','content','value','isEqual','tableCellBorderStyle','attributes','formatBlock','createRangeIn','plugins','for','endColumn','markMultiRangeInsertion','dataDowncast','Users','findAncestor','getRows','end','from','fill','requires','change','removeMarkers','unwrap','getRange','createElement','map','createRangeOn','deletion','markerName','high','insertContent','markerToHighlight','isInContent','join','tableCellBorderColor','TrackChangesEditing','tablePaste','*Replace\x20table\x20cells*','tableCellBorderWidth'];(function(_0x324532,_0x3cc2ca){const _0x13653c=function(_0x5a06fc){while(--_0x5a06fc){_0x324532['push'](_0x324532['shift']());}};_0x13653c(++_0x3cc2ca);}(_0x3cc2,0x137));const _0x1365=function(_0x324532,_0x3cc2ca){_0x324532=_0x324532-0x0;let _0x13653c=_0x3cc2[_0x324532];return _0x13653c;};import{getTranslation as _0xff3138}from'../utils/common-translations';import{Plugin as _0x250589}from'ckeditor5/src/core';import{uid as _0x561290,priorities as _0x5087fe}from'ckeditor5/src/utils';import _0x18c3c3 from'./table';const le=[_0x1365('0x4'),_0x1365('0x0'),_0x1365('0x80'),'tableCellHorizontalAlignment',_0x1365('0x41'),_0x1365('0x1f'),_0x1365('0x44')],ae=Object[_0x1365('0x5')](le['map'](_0x2345cc=>[_0x2345cc,null]));export default class kt extends _0x250589{static get[_0x1365('0x8f')](){return[_0x18c3c3];}[_0x1365('0x6b')](){const _0x59a4a0=this[_0x1365('0x1c')];if(!_0x59a4a0['plugins'][_0x1365('0x8')](_0x1365('0x23')))return;const _0x361bee=_0x59a4a0['plugins'][_0x1365('0x37')](_0x1365('0x1')),_0x5ae576=_0x59a4a0[_0x1365('0x84')][_0x1365('0x37')]('TableUtils'),_0xdca2a5=_0x59a4a0[_0x1365('0x84')][_0x1365('0x37')](_0x18c3c3),_0x57d776=_0x59a4a0[_0x1365('0x84')][_0x1365('0x37')](_0x1365('0x23'));_0xdca2a5['_tablePostFixingSubtypes'][_0x1365('0x55')](_0x1365('0x3b'),_0x1365('0x1a')),_0x59a4a0[_0x1365('0x68')]['schema']['register'](_0x1365('0x3e'),{'allowIn':'tableCell','allowContentOf':'tableCell','isLimit':!0x0}),_0x59a4a0[_0x1365('0x9')]['elementToElement']({'model':_0x1365('0x3e'),'view':_0x1365('0x5f')});let _0x597fdf=null;_0x59a4a0[_0x1365('0x68')]['on'](_0x1365('0x9a'),(_0x98f5d,_0x2da0c2)=>{const [_0x74916,_0x5276e]=_0x2da0c2,_0x570937=_0x2da0c2[_0x2da0c2[_0x1365('0xb')]-0x1];_0x570937&&_0x570937['forceDefaultExecution']||_0x361bee['_isForcedDefaultExecutionBlock']||this[_0x1365('0x1c')][_0x1365('0x4e')][_0x1365('0x37')]('trackChanges')[_0x1365('0x7e')]&&function(_0x44f712,_0x18ff7d,_0x1ac745,_0x489e8a,_0x460651){if(_0x18ff7d&&!_0x18ff7d['is']('documentSelection'))return!0x1;const _0x35e0d4=_0x460651[_0x1365('0x65')](_0x44f712,_0x1ac745);if(!_0x35e0d4||!fe(_0x35e0d4,void 0x0,_0x489e8a))return!0x1;const _0x4815c3=_0x489e8a[_0x1365('0x29')](_0x1ac745[_0x1365('0x6e')]['selection']);if(!_0x4815c3[_0x1365('0xb')])return!0x1;const _0x265c33=_0x4815c3[0x0][_0x1365('0x8a')](_0x1365('0x54')),_0x458db9=_0x489e8a[_0x1365('0x1e')](_0x4815c3),_0x304cf7=_0x489e8a[_0x1365('0x38')](_0x4815c3),_0x44e986={'startRow':_0x458db9['first'],'endRow':_0x458db9[_0x1365('0x39')],'startColumn':_0x304cf7[_0x1365('0x16')],'endColumn':_0x304cf7['last']};return 0x1==_0x4815c3[_0x1365('0xb')]&&(_0x44e986[_0x1365('0x58')]+=_0x489e8a[_0x1365('0x8b')](_0x35e0d4)-0x1,_0x44e986[_0x1365('0x86')]+=_0x489e8a[_0x1365('0x42')](_0x35e0d4)-0x1),fe(_0x265c33,_0x44e986,_0x489e8a);}(_0x74916,_0x5276e,_0x59a4a0[_0x1365('0x68')],_0x5ae576,_0x57d776)&&(_0x98f5d['stop'](),_0x597fdf={'cells':[],'insertionRanges':[],'deletionRanges':[],'rowInsertionRanges':[],'rowInsertionIndexes':[],'columnInsertionRanges':[],'columnInsertionIndexes':[]},_0x59a4a0[_0x1365('0x68')]['change'](()=>{_0x59a4a0[_0x1365('0x68')]['insertContent'](_0x2da0c2[0x0],_0x2da0c2[0x1],_0x2da0c2[0x2],{'forceDefaultExecution':!0x0});const _0x117450=_0x561290(),{rowInsertionRanges:_0x41783e,columnInsertionRanges:_0x498b00,insertionRanges:_0x11c5ce,deletionRanges:_0x4135cf,cells:_0x57a6de}=_0x597fdf;_0x41783e[_0x1365('0xb')]&&_0x361bee[_0x1365('0x87')](_0x41783e,_0x1365('0x3b'),{'tablePasteChainId':_0x117450}),_0x498b00['length']&&_0x361bee['markMultiRangeInsertion'](_0x498b00,_0x1365('0x1a'),{'tablePasteChainId':_0x117450}),_0x11c5ce[_0x1365('0xb')]&&_0x361bee[_0x1365('0x87')](_0x11c5ce,_0x1365('0x2'),{'tablePasteChainId':_0x117450,'skipNestingCheck':!0x0}),_0x4135cf[_0x1365('0xb')]&&_0x361bee['markMultiRangeDeletion'](_0x4135cf,_0x1365('0x2'),{'tablePasteChainId':_0x117450,'skipNestingCheck':!0x0});const _0x26ec35=_0x361bee[_0x1365('0x79')](_0x57a6de['map'](({element:_0x484432})=>_0x484432),{'formatGroupId':_0x561290()},[],_0x1365('0x26'),{'tablePasteChainId':_0x117450});if(_0x26ec35){const _0x3bc281=_0x26ec35['getMarkers'](),_0x24b48a=[];for(const {element:_0x3e7a12,attributes:_0x1f7a9f}of _0x57a6de){if(!_0x1f7a9f)continue;const _0x35fe82=_0x59a4a0[_0x1365('0x68')][_0x1365('0x96')](_0x3e7a12),_0x15e4ee=_0x3bc281[_0x1365('0x17')](_0x2786b7=>_0x2786b7[_0x1365('0x93')]()[_0x1365('0x7f')](_0x35fe82));_0x15e4ee&&_0x24b48a['push']([_0x15e4ee['name'],_0x1f7a9f]);}_0x24b48a[_0x1365('0xb')]&&_0x26ec35[_0x1365('0xc')](_0x1365('0x33'),Object['fromEntries'](_0x24b48a));}_0x597fdf=null;}));},{'priority':_0x5087fe[_0x1365('0x99')]+0xa}),_0x59a4a0[_0x1365('0x84')][_0x1365('0x37')](_0x1365('0x23'))['on'](_0x1365('0x76'),(_0x1ab9e9,_0x3f7e34)=>{const [_0x4966ba,_0x42158e,,_0x522988]=_0x3f7e34;if(!_0x597fdf)return;_0x1ab9e9['stop']();const _0x5c1264=_0x4966ba['cell'],_0x4848f5=_0x42158e,_0x211a0d=ce(_0x5c1264),_0xbdd6b6=ce(_0x4848f5);_0x1ab9e9[_0x1365('0x3a')]=_0x5c1264;let _0x47c1ef=null,_0x33d9fc=null;if(_0xbdd6b6||_0x211a0d){if(_0x211a0d&&!_0xbdd6b6){_0x522988['remove'](_0x5c1264['getChild'](0x0));for(const _0xfbf93a of Array[_0x1365('0x8d')](_0x4848f5[_0x1365('0x4a')]()))_0x522988[_0x1365('0x20')](_0xfbf93a,_0x5c1264,_0x1365('0x8c'));const _0x1bf524=_0x597fdf[_0x1365('0xa')][_0x1365('0x59')](_0x4966ba[_0x1365('0x27')]),_0x5c87cd=_0x597fdf[_0x1365('0x7c')][_0x1365('0x59')](_0x4966ba[_0x1365('0x11')]);_0x1bf524||_0x5c87cd||(_0x47c1ef=_0x522988[_0x1365('0x83')](_0x5c1264));}else _0xbdd6b6&&!_0x211a0d&&(_0x33d9fc=_0x522988[_0x1365('0x83')](_0x5c1264));}else{const _0x2ff716=_0x522988[_0x1365('0x94')](_0x1365('0x3e')),_0x511baa=_0x522988[_0x1365('0x94')]('tableCellSuggestion');_0x522988['wrap'](_0x522988['createRangeIn'](_0x5c1264),_0x511baa),_0x522988['insert'](_0x2ff716,_0x5c1264,0x0);for(const _0x2148d5 of Array['from'](_0x4848f5[_0x1365('0x4a')]()))_0x522988[_0x1365('0x20')](_0x2148d5,_0x2ff716,_0x1365('0x8c'));_0x47c1ef=_0x522988[_0x1365('0x96')](_0x2ff716),_0x33d9fc=_0x522988[_0x1365('0x96')](_0x511baa);}const _0x541554=Array[_0x1365('0x8d')](_0x4848f5['getAttributes']())['filter'](([_0x4cd2b5])=>le['includes'](_0x4cd2b5));_0x597fdf[_0x1365('0x5b')][_0x1365('0x55')]({'element':_0x5c1264,'attributes':_0x541554[_0x1365('0xb')]?Object[_0x1365('0x5')](_0x541554):null}),_0x47c1ef&&_0x597fdf[_0x1365('0x4d')][_0x1365('0x55')](_0x47c1ef),_0x33d9fc&&_0x597fdf['deletionRanges'][_0x1365('0x55')](_0x33d9fc);},{'priority':_0x1365('0x99')}),_0x5ae576['on']('insertColumns',(_0x36dab4,_0x47a34b)=>{const [_0x58ffdd,_0x381c54={}]=_0x47a34b;if(!_0x597fdf)return;const _0x4c29e4=_0x381c54['at']||0x0,_0x42b612=_0x381c54['columns']||0x1;_0x597fdf[_0x1365('0x7c')]=new Array(_0x42b612)[_0x1365('0x8e')](_0x4c29e4)[_0x1365('0x95')]((_0x2bf13a,_0x29cf82)=>_0x2bf13a+_0x29cf82);for(const {cell:_0x37f72c}of _0x5ae576[_0x1365('0x56')](_0x58ffdd,{'startColumn':_0x4c29e4,'endColumn':_0x4c29e4+_0x42b612-0x1}))_0x597fdf[_0x1365('0x6f')][_0x1365('0x55')](_0x59a4a0['model'][_0x1365('0x96')](_0x37f72c));},{'priority':'low'}),_0x5ae576['on'](_0x1365('0xd'),(_0x386fc2,_0xf38f1e)=>{const [_0x5f3733,_0x33c96a={}]=_0xf38f1e;if(!_0x597fdf)return;const _0x5be5d2=_0x33c96a['at']||0x0,_0x53153f=_0x33c96a[_0x1365('0x70')]||0x1;_0x597fdf[_0x1365('0xa')]=new Array(_0x53153f)[_0x1365('0x8e')](_0x5be5d2)['map']((_0x5c66b2,_0x4b3e6b)=>_0x5c66b2+_0x4b3e6b);for(const {cell:_0x273911}of _0x5ae576['createTableWalker'](_0x5f3733,{'startRow':_0x5be5d2,'endRow':_0x5be5d2+_0x53153f-0x1}))_0x597fdf[_0x1365('0x49')][_0x1365('0x55')](_0x59a4a0['model'][_0x1365('0x96')](_0x273911));},{'priority':_0x1365('0x36')}),_0x361bee[_0x1365('0x78')][_0x1365('0xf')](_0x2775a8=>{if(_0x2775a8[_0x1365('0x18')]&&_0x2775a8[_0x1365('0x18')][_0x1365('0x3c')](_0x1365('0x2')))return _0x2775a8[_0x1365('0x74')]?{}:{'type':_0x1365('0x69'),'content':_0xff3138(_0x59a4a0[_0x1365('0x4b')],_0x1365('0x3'))};});const _0x2059db=()=>!0x1;for(const _0x4b44ef of[_0x1365('0x2'),_0x1365('0x1a'),_0x1365('0x3b'),_0x1365('0x26')])_0x361bee[_0x1365('0x2f')]['registerCustomCallback'](_0x1365('0x69'),_0x4b44ef,'join',_0x2059db),_0x361bee['_suggestionFactory'][_0x1365('0x28')](_0x1365('0x97'),_0x4b44ef,_0x1365('0x9d'),_0x2059db),_0x361bee[_0x1365('0x2f')][_0x1365('0x28')](_0x1365('0x82'),_0x4b44ef,_0x1365('0x9d'),_0x2059db);_0x361bee[_0x1365('0x2f')]['registerCustomCallback'](_0x1365('0x82'),_0x1365('0x26'),'discard',_0x2059db),_0x361bee[_0x1365('0x2f')][_0x1365('0x28')](_0x1365('0x82'),_0x1365('0x26'),_0x1365('0x6c'),(_0x40dc49,_0x5e00a6,_0x1a0769)=>{const _0x538ee5=_0x40dc49[_0x1365('0x95')](_0x1c8b48=>_0x1c8b48[_0x1365('0x19')]())['filter'](_0x34eeac=>_0x34eeac),_0x20875f=new Map(_0x538ee5[_0x1365('0x95')](_0x8c507b=>[_0x8c507b,null]));if(_0x597fdf)for(const {element:_0x143ebf,attributes:_0x297ea8}of _0x597fdf['cells'])_0x297ea8&&_0x20875f['set'](_0x143ebf,_0x297ea8);else{if(_0x1a0769&&_0x1a0769['markerAttributes'])for(const [_0x21318a,_0x1fe36d]of Object[_0x1365('0x22')](_0x1a0769['markerAttributes'])){const _0x5eb9a4=_0x59a4a0['model']['markers'][_0x1365('0x37')](_0x21318a),_0x372f94=_0x5eb9a4?_0x5eb9a4[_0x1365('0x93')]()[_0x1365('0x19')]():null;_0x372f94&&_0x20875f['set'](_0x372f94,_0x1fe36d);}}_0x59a4a0[_0x1365('0x68')][_0x1365('0x90')](_0x2cc1a2=>{for(const [_0x33ba53,_0xb525a0]of _0x20875f)_0x2cc1a2[_0x1365('0x46')]({...ae,..._0xb525a0},_0x33ba53);});});const _0x2c59d5=(_0x487eab,_0x111990)=>{_0x361bee[_0x1365('0x2f')][_0x1365('0x28')](_0x487eab,_0x1365('0x2'),_0x111990,(_0x1f1b5c,_0x3b1c94,_0x8d95cf)=>{_0x59a4a0['model'][_0x1365('0x90')](_0x59a439=>{const _0x1f5a16=[];for(const _0x22747e of _0x1f1b5c){const _0x597b58=_0x22747e['start'][_0x1365('0x45')];_0x597b58['is'](_0x1365('0x51'),'tableCellSuggestion')&&_0x1f5a16[_0x1365('0x55')](_0x597b58);}_0x361bee[_0x1365('0x2f')][_0x1365('0x61')](_0x487eab,null,_0x111990)(_0x1f1b5c,_0x3b1c94,_0x8d95cf);for(const _0x5d4982 of _0x1f5a16)_0x1365('0x75')!=_0x5d4982['root'][_0x1365('0x7')]&&_0x59a439[_0x1365('0x92')](_0x5d4982);});});};_0x2c59d5(_0x1365('0x69'),'accept'),_0x2c59d5('insertion',_0x1365('0x4c')),_0x2c59d5(_0x1365('0x97'),_0x1365('0x6c')),_0x2c59d5(_0x1365('0x97'),'discard'),_0x361bee[_0x1365('0x2f')][_0x1365('0x28')](_0x1365('0x69'),'tablePasteRow',_0x1365('0x4c'),_0x5aa14e=>{const _0x5d809a=_0x5aa14e['map'](_0x45ea93=>_0x45ea93[_0x1365('0x19')]()),_0x8f880c=_0x5d809a[0x0][_0x1365('0x8a')](_0x1365('0x54')),{minRow:_0x16fe29,maxRow:_0xa4b78d}=_0xdca2a5[_0x1365('0x6d')](_0x5d809a);_0x5ae576[_0x1365('0x1b')](_0x8f880c,{'at':_0x16fe29,'rows':_0xa4b78d-_0x16fe29+0x1});}),_0x361bee[_0x1365('0x2f')]['registerCustomCallback'](_0x1365('0x69'),_0x1365('0x1a'),'discard',_0xed06c0=>{const _0xe43636=_0xed06c0['map'](_0x5132be=>_0x5132be['getContainedElement']()),_0x47607c=_0xe43636[0x0][_0x1365('0x8a')](_0x1365('0x54')),{minColumn:_0x5a9c7f,maxColumn:_0x91620c}=_0xdca2a5[_0x1365('0x6d')](_0xe43636);_0x5ae576[_0x1365('0x5c')](_0x47607c,{'at':_0x5a9c7f,'columns':_0x91620c-_0x5a9c7f+0x1});});const _0x30c394=(_0x2f4d45,_0x18cffd)=>{if(!_0x18cffd[_0x1365('0x18')]||!_0x18cffd[_0x1365('0x18')][_0x1365('0x3c')](_0x1365('0x2')))return;const _0x3cbc43=_0x18cffd[_0x1365('0x81')][_0x1365('0x6a')],_0xd3e1f=_0x361bee['getSuggestions']()[_0x1365('0x2d')](_0x412f40=>_0x412f40[_0x1365('0x9c')]&&_0x412f40[_0x1365('0x81')]&&_0x412f40[_0x1365('0x81')][_0x1365('0x6a')]==_0x3cbc43);_0xd3e1f[_0x1365('0xb')]&&_0x18cffd[_0x1365('0x34')]()[_0x1365('0xb')]!=_0xd3e1f['length']&&_0xd3e1f[_0x1365('0x48')]((_0x27a6cb,_0x5696d9)=>(_0x27a6cb[_0x1365('0x62')]=_0x5696d9,_0x5696d9[_0x1365('0x74')]=_0x27a6cb,_0x5696d9));};function _0x235b13(_0x482358,_0x368099=!0x0){const {id:_0x5dd4b8}=_0x361bee['_splitMarkerName'](_0x482358[_0x1365('0x98')]),_0x3adafa=[_0x1365('0x15'),_0x1365('0x14')],_0x4be7fb=_0x361bee[_0x1365('0x2a')][_0x1365('0x59')](_0x482358['markerName']);return _0x4be7fb&&_0x3adafa['push'](_0x1365('0x10')),{'classes':_0x3adafa,'attributes':{'data-suggestion':_0x5dd4b8},'priority':_0x4be7fb&&_0x368099?0xbc2:0xbb8};}_0x361bee['on'](_0x1365('0x31'),_0x30c394,{'priority':_0x1365('0x99')}),_0x361bee['on']('suggestionUnloaded',_0x30c394,{'priority':_0x1365('0x99')}),_0x59a4a0[_0x1365('0x68')][_0x1365('0x6e')][_0x1365('0x3f')](()=>{let _0x34256e=!0x1;const _0x4c676e=Array['from'](_0x59a4a0[_0x1365('0x68')]['document']['differ']['getChangedMarkers']());for(const {name:_0x373cda,data:_0x2f280f}of _0x4c676e){const {group:_0x58cbf0,type:_0x33f1f0,id:_0xf93da8}=_0x361bee[_0x1365('0x64')](_0x373cda);if(_0x1365('0x3d')!=_0x58cbf0||_0x1365('0x97')!=_0x33f1f0||_0x2f280f['oldRange'])continue;if(!_0x361bee[_0x1365('0x63')](_0xf93da8))continue;const _0x317988=_0x361bee[_0x1365('0x25')](_0xf93da8)[_0x1365('0x30')](),_0x5c6ff4=_0x59a4a0[_0x1365('0x84')][_0x1365('0x37')](_0x1365('0x89'))['me'];for(const _0x2330d0 of _0x361bee[_0x1365('0x13')]()){if(!_0x2330d0[_0x1365('0x9c')]||_0x2330d0[_0x1365('0x7b')]!=_0x5c6ff4)continue;if(_0x1365('0x82')!=_0x2330d0[_0x1365('0x5d')]||'tablePasteCell'!=_0x2330d0[_0x1365('0x18')])continue;if(_0x2330d0['getRanges']()['every'](_0x31f1e9=>_0x317988['some'](_0x2d888c=>_0x2d888c[_0x1365('0x77')](_0x31f1e9,!0x0))))for(const _0x547bb6 of _0x2330d0[_0x1365('0x34')]())_0x547bb6[_0x1365('0x9c')]&&(_0x547bb6[_0x1365('0x4c')](),_0x34256e=!0x0);}}return _0x34256e;}),_0x59a4a0[_0x1365('0x68')][_0x1365('0x6e')][_0x1365('0x3f')](_0x1be276=>{const _0x4f75ce=_0x59a4a0[_0x1365('0x4e')][_0x1365('0x37')](_0x1365('0x57'));if(!_0x4f75ce||!_0x4f75ce['_createdBatches'][_0x1365('0x8')](_0x1be276[_0x1365('0x43')]))return!0x1;let _0x588432=!0x1;const _0x497f23=_0x59a4a0[_0x1365('0x84')][_0x1365('0x37')](_0x1365('0x89'))['me'],_0x409d17=_0x59a4a0[_0x1365('0x68')][_0x1365('0x6e')]['differ'][_0x1365('0x2c')](),_0x4456b3=Array[_0x1365('0x8d')](_0x59a4a0[_0x1365('0x68')]['document'][_0x1365('0x71')][_0x1365('0x2e')]())[_0x1365('0x2d')](({name:_0x1696cc,data:_0x218640})=>{const {group:_0x37ce0f,subType:_0x46a428,authorId:_0x6102a3}=_0x361bee['_splitMarkerName'](_0x1696cc);return _0x1365('0x3d')==_0x37ce0f&&_0x1365('0x2')==_0x46a428&&_0x6102a3==_0x497f23['id']&&!_0x218640[_0x1365('0x1d')];});for(const _0x5784fe of _0x409d17){if(_0x1365('0x20')!=_0x5784fe[_0x1365('0x5d')]||_0x1365('0x3e')!=_0x5784fe[_0x1365('0x40')]||0x1!=_0x5784fe[_0x1365('0xb')])continue;const _0x169568=_0x1be276[_0x1365('0x24')](_0x5784fe[_0x1365('0x67')],_0x5784fe[_0x1365('0x67')]['getShiftedBy'](0x1));if(!_0x4456b3[_0x1365('0x17')](({data:_0x1c765b})=>_0x1c765b[_0x1365('0x32')][_0x1365('0x7f')](_0x169568)))for(const {name:_0x73985d,data:_0x5aa923}of _0x4456b3)if(_0x169568[_0x1365('0x77')](_0x5aa923[_0x1365('0x32')])){_0x1be276[_0x1365('0x21')](_0x73985d,{'range':_0x169568}),_0x588432=!0x0;break;}}return _0x588432;}),_0x59a4a0[_0x1365('0x68')][_0x1365('0x6e')][_0x1365('0x3f')](_0x4ae308=>{let _0x3129ce=!0x1;const _0x3c854c=_0x59a4a0[_0x1365('0x84')][_0x1365('0x37')](_0x1365('0x89'))['me'],_0x40f533=_0x361bee[_0x1365('0x13')]()[_0x1365('0x2d')](_0xf8c6e=>_0xf8c6e[_0x1365('0x9c')]&&_0xf8c6e['author']==_0x3c854c),_0x2ca33c=new Set(),_0x3b877b=new Set();for(const _0x5f0e0c of _0x40f533)if(_0x1365('0x2')==_0x5f0e0c[_0x1365('0x18')])for(const _0xe86487 of _0x5f0e0c[_0x1365('0x7a')]()){const _0x13c6a8=_0xe86487[_0x1365('0x93')]()['getContainedElement']();if(_0x13c6a8){if(_0x13c6a8['is'](_0x1365('0x51'),_0x1365('0x3e'))&&ce(_0x13c6a8)){_0x5f0e0c[_0x1365('0x73')](_0xe86487[_0x1365('0x40')]),_0x2ca33c[_0x1365('0x72')](_0x13c6a8),_0x3129ce=!0x0;const _0x29f8b1=_0x13c6a8['nextSibling'],_0x40e702=_0x13c6a8[_0x1365('0x5e')],_0x1f67be=_0x29f8b1&&_0x29f8b1['is'](_0x1365('0x51'),_0x1365('0x3e')),_0xc5a352=_0x40e702&&_0x40e702['is'](_0x1365('0x51'),'tableCellSuggestion');_0x1f67be&&!_0x2ca33c[_0x1365('0x8')](_0x29f8b1)&&_0x3b877b['add'](_0x29f8b1),_0xc5a352&&!_0x2ca33c['has'](_0x40e702)&&_0x3b877b[_0x1365('0x72')](_0x40e702);}else _0x13c6a8['is'](_0x1365('0x51'),'paragraph')&&_0x13c6a8[_0x1365('0x52')]&&(_0x5f0e0c[_0x1365('0x73')](_0xe86487[_0x1365('0x40')]),_0x3129ce=!0x0);}}else{if(_0x1365('0x26')==_0x5f0e0c[_0x1365('0x18')]){if(!_0x5f0e0c[_0x1365('0x81')]||!_0x5f0e0c[_0x1365('0x81')][_0x1365('0x6a')])continue;const _0x2ec9aa=_0x5f0e0c['attributes'][_0x1365('0x33')];if(_0x2ec9aa&&Object[_0x1365('0xe')](_0x2ec9aa)[_0x1365('0xb')])continue;const _0x46dfb8=_0x5f0e0c[_0x1365('0x81')][_0x1365('0x6a')];let _0x4c21c9=!0x0,_0x4fc026=!0x0;for(const _0x1ce352 of _0x40f533)if(_0x1ce352[_0x1365('0x18')]&&_0x1ce352[_0x1365('0x18')][_0x1365('0x3c')]('tablePaste')){if(!_0x1ce352[_0x1365('0x81')]['tablePasteChainId']){_0x4fc026=!0x1;break;}if(_0x1ce352['id']!=_0x5f0e0c['id']&&_0x1ce352[_0x1365('0x81')][_0x1365('0x6a')]==_0x46dfb8){_0x4c21c9=!0x1;break;}}_0x4fc026&&_0x4c21c9&&(_0x5f0e0c[_0x1365('0x91')](),_0x3129ce=!0x0);}}for(const _0x28fcbd of _0x2ca33c)_0x4ae308[_0x1365('0x6')](_0x28fcbd);for(const _0x1434b4 of _0x3b877b)_0x4ae308['unwrap'](_0x1434b4);return _0x3129ce;}),_0x59a4a0[_0x1365('0x9')]['for'](_0x1365('0x35'))[_0x1365('0x9b')]({'model':_0x1365('0x60'),'view':(_0x4c04c0,_0x206963)=>_0x235b13(_0x4c04c0),'converterPriority':_0x1365('0x99')}),_0x59a4a0[_0x1365('0x9')][_0x1365('0x85')](_0x1365('0x88'))[_0x1365('0x9b')]({'model':_0x1365('0x60'),'view':(_0x2124f9,_0x312952)=>_0x312952[_0x1365('0x5a')][_0x1365('0x53')]?_0x235b13(_0x2124f9,!0x1):null,'converterPriority':'high'});const _0x56a4ee=_0x59a4a0['editing'][_0x1365('0x50')];this[_0x1365('0x4f')](_0x56a4ee['document'],'clipboardOutput',(_0x3c49a2,_0x358bf2)=>{const _0x4595ce=[];for(const _0x933577 of _0x56a4ee[_0x1365('0x83')](_0x358bf2[_0x1365('0x7d')])['getItems']())_0x933577['is'](_0x1365('0x51'),_0x1365('0x5f'))&&_0x4595ce['push'](_0x933577);_0x56a4ee[_0x1365('0x90')](_0x507fc4=>{for(const _0x54c926 of _0x4595ce)_0x507fc4[_0x1365('0x47')](_0x507fc4[_0x1365('0x83')](_0x54c926),_0x507fc4[_0x1365('0x12')](_0x54c926)),_0x507fc4[_0x1365('0x6')](_0x54c926);});});}}function ce(_0x2e9a08){if(_0x2e9a08[_0x1365('0x52')])return!0x0;const _0x1987bf=_0x2e9a08[_0x1365('0x2b')](0x0);return _0x1987bf['is'](_0x1365('0x51'),_0x1365('0x66'))&&_0x1987bf[_0x1365('0x52')];}function fe(_0x1101cd,_0x440f17={},_0x27f180){for(const {isAnchor:_0x3f0059,cellHeight:_0x2ec29a,cellWidth:_0x288283}of _0x27f180[_0x1365('0x56')](_0x1101cd,{'includeAllSlots':!0x0,..._0x440f17}))if(!_0x3f0059||0x1!=_0x2ec29a||0x1!=_0x288283)return!0x1;return!0x0;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5568=['get','formatBlock','getSuggestionCallback','resizeTableWidth','model','_suggestionFactory','discard','handleResizeTableWidthCommand','tableWidth','columnWidths','enableCommand','registerCustomCallback','getColumnGroupElement','plugins','resizeColumnWidths','locale','editor','subType','Users','getAttribute','handleSuggestionDescription','bind','getSuggestions','getSelectedElement','document','registerDescriptionCallback','selection','change','TrackChangesEditing','getContainedElement','TableColumnResizeEditing','resizeTable','getTableColumnsWidths'];(function(_0x182c8d,_0x556832){const _0x38cc10=function(_0x4a6bba){while(--_0x4a6bba){_0x182c8d['push'](_0x182c8d['shift']());}};_0x38cc10(++_0x556832);}(_0x5568,0xc9));const _0x38cc=function(_0x182c8d,_0x556832){_0x182c8d=_0x182c8d-0x0;let _0x38cc10=_0x5568[_0x182c8d];return _0x38cc10;};import{Plugin as _0x4001e7}from'ckeditor5/src/core';import{getTranslation as _0x355f65}from'../utils/common-translations';export default class wt extends _0x4001e7{['afterInit'](){if(!this[_0x38cc('0xd')][_0x38cc('0xa')]['has'](_0x38cc('0x1b')))return;const _0x3c0818=this[_0x38cc('0xd')][_0x38cc('0xa')]['get'](_0x38cc('0x19'));_0x3c0818[_0x38cc('0x7')](_0x38cc('0x0'),this[_0x38cc('0x4')][_0x38cc('0x12')](this)),_0x3c0818['enableCommand'](_0x38cc('0xb'),this[_0x38cc('0x4')][_0x38cc('0x12')](this)),_0x3c0818[_0x38cc('0x2')][_0x38cc('0x8')]('formatBlock',_0x38cc('0x1c'),'accept',_0x3c0818[_0x38cc('0x2')][_0x38cc('0x20')](_0x38cc('0x1f'),null,_0x38cc('0x3'))),_0x3c0818['_suggestionFactory'][_0x38cc('0x8')](_0x38cc('0x1f'),_0x38cc('0x1c'),'discard',_0x3c0818[_0x38cc('0x2')][_0x38cc('0x20')]('formatBlock',null,'accept')),_0x3c0818['_descriptionFactory'][_0x38cc('0x16')](this[_0x38cc('0x11')][_0x38cc('0x12')](this));}[_0x38cc('0x4')](_0x129574,_0x4d3795){const _0x503af3=this[_0x38cc('0xd')][_0x38cc('0xa')][_0x38cc('0x1e')]('TrackChangesEditing'),_0x400bc3=this[_0x38cc('0xd')][_0x38cc('0xa')][_0x38cc('0x1e')]('TableColumnResizeEditing'),_0x38e924=_0x4d3795['table']||this[_0x38cc('0xd')][_0x38cc('0x1')][_0x38cc('0x15')][_0x38cc('0x17')][_0x38cc('0x14')]();this[_0x38cc('0xd')][_0x38cc('0x1')][_0x38cc('0x18')](()=>{const _0x37cce7=_0x400bc3[_0x38cc('0x9')](_0x38e924);let _0x3caec1=_0x37cce7?_0x400bc3[_0x38cc('0x1d')](_0x37cce7):null,_0x3e7908=_0x38e924[_0x38cc('0x10')]('tableWidth')||null;const _0x3832f1=_0x4d3795[_0x38cc('0x5')]||_0x3e7908,_0x27a82a=_0x4d3795[_0x38cc('0x6')]||_0x3caec1,_0x3fd706=this['editor']['plugins'][_0x38cc('0x1e')](_0x38cc('0xf'))['me'];for(const _0x2663e4 of _0x503af3[_0x38cc('0x13')]()){const _0x3afe90=_0x2663e4[_0x38cc('0x1a')]();if(_0x38cc('0x1c')===_0x2663e4[_0x38cc('0xe')]&&_0x3afe90===_0x38e924){_0x2663e4['author']!==_0x3fd706&&_0x2663e4[_0x38cc('0x3')]();const _0x18ae79=_0x2663e4['data']['commandParams'];_0x3e7908=_0x18ae79[0x0][_0x38cc('0x5')],_0x3caec1=_0x18ae79[0x0]['columnWidths'];break;}}_0x129574({'table':_0x38e924,'tableWidth':_0x3832f1,'columnWidths':_0x27a82a}),_0x503af3['markBlockFormat'](_0x38e924,{'commandName':_0x38cc('0x0'),'commandParams':[{'tableWidth':_0x3e7908,'columnWidths':_0x3caec1}],'formatGroupId':_0x38cc('0x1c')},[],_0x38cc('0x1c'));});}['handleSuggestionDescription'](_0x4f0abb){const {data:_0x5f04d3}=_0x4f0abb;if(_0x5f04d3&&_0x38cc('0x1c')===_0x5f04d3['formatGroupId']){const _0x327194='*Format:*\x20resize\x20table';return{'type':'format','content':_0x355f65(this['editor'][_0x38cc('0xc')],_0x327194)};}}}
23
+ const _0x51c7=['handleResizeTableWidthCommand','accept','getSuggestions','handleSuggestionDescription','has','subType','formatGroupId','plugins','locale','enableCommand','document','discard','selection','commandParams','Users','TrackChangesEditing','formatBlock','resizeTableWidth','format','getSuggestionCallback','bind','registerDescriptionCallback','change','getTableColumnsWidths','editor','table','getAttribute','registerCustomCallback','data','getColumnGroupElement','afterInit','_suggestionFactory','get','columnWidths','getSelectedElement','getContainedElement','resizeTable','markBlockFormat','tableWidth','_descriptionFactory','TableColumnResizeEditing','model'];(function(_0x4b5a45,_0x51c779){const _0x582c8f=function(_0x1a3b6c){while(--_0x1a3b6c){_0x4b5a45['push'](_0x4b5a45['shift']());}};_0x582c8f(++_0x51c779);}(_0x51c7,0x1a0));const _0x582c=function(_0x4b5a45,_0x51c779){_0x4b5a45=_0x4b5a45-0x0;let _0x582c8f=_0x51c7[_0x4b5a45];return _0x582c8f;};import{Plugin as _0x474bc3}from'ckeditor5/src/core';import{getTranslation as _0x2f7ec6}from'../utils/common-translations';export default class wt extends _0x474bc3{[_0x582c('0x22')](){if(!this[_0x582c('0x1c')][_0x582c('0xb')][_0x582c('0x8')](_0x582c('0x2')))return;const _0x270b5b=this[_0x582c('0x1c')]['plugins'][_0x582c('0x24')]('TrackChangesEditing');_0x270b5b[_0x582c('0xd')]('resizeTableWidth',this[_0x582c('0x4')][_0x582c('0x18')](this)),_0x270b5b['enableCommand']('resizeColumnWidths',this[_0x582c('0x4')][_0x582c('0x18')](this)),_0x270b5b['_suggestionFactory'][_0x582c('0x1f')](_0x582c('0x14'),_0x582c('0x28'),_0x582c('0x5'),_0x270b5b[_0x582c('0x23')][_0x582c('0x17')](_0x582c('0x14'),null,_0x582c('0xf'))),_0x270b5b['_suggestionFactory']['registerCustomCallback'](_0x582c('0x14'),_0x582c('0x28'),_0x582c('0xf'),_0x270b5b['_suggestionFactory']['getSuggestionCallback']('formatBlock',null,_0x582c('0x5'))),_0x270b5b[_0x582c('0x1')][_0x582c('0x19')](this['handleSuggestionDescription'][_0x582c('0x18')](this));}[_0x582c('0x4')](_0x107f77,_0x2b4731){const _0xda865a=this[_0x582c('0x1c')][_0x582c('0xb')][_0x582c('0x24')](_0x582c('0x13')),_0x41bcec=this[_0x582c('0x1c')][_0x582c('0xb')][_0x582c('0x24')]('TableColumnResizeEditing'),_0x138513=_0x2b4731[_0x582c('0x1d')]||this[_0x582c('0x1c')][_0x582c('0x3')][_0x582c('0xe')][_0x582c('0x10')][_0x582c('0x26')]();this['editor'][_0x582c('0x3')][_0x582c('0x1a')](()=>{const _0x3325b0=_0x41bcec[_0x582c('0x21')](_0x138513);let _0x20d386=_0x3325b0?_0x41bcec[_0x582c('0x1b')](_0x3325b0):null,_0x58ae95=_0x138513[_0x582c('0x1e')]('tableWidth')||null;const _0xcabf9d=_0x2b4731[_0x582c('0x0')]||_0x58ae95,_0x173045=_0x2b4731[_0x582c('0x25')]||_0x20d386,_0x16f874=this[_0x582c('0x1c')][_0x582c('0xb')][_0x582c('0x24')](_0x582c('0x12'))['me'];for(const _0x32664f of _0xda865a[_0x582c('0x6')]()){const _0x5e99e7=_0x32664f[_0x582c('0x27')]();if(_0x582c('0x28')===_0x32664f[_0x582c('0x9')]&&_0x5e99e7===_0x138513){_0x32664f['author']!==_0x16f874&&_0x32664f[_0x582c('0xf')]();const _0x5b9eca=_0x32664f[_0x582c('0x20')][_0x582c('0x11')];_0x58ae95=_0x5b9eca[0x0][_0x582c('0x0')],_0x20d386=_0x5b9eca[0x0][_0x582c('0x25')];break;}}_0x107f77({'table':_0x138513,'tableWidth':_0xcabf9d,'columnWidths':_0x173045}),_0xda865a[_0x582c('0x29')](_0x138513,{'commandName':_0x582c('0x15'),'commandParams':[{'tableWidth':_0x58ae95,'columnWidths':_0x20d386}],'formatGroupId':_0x582c('0x28')},[],_0x582c('0x28'));});}[_0x582c('0x7')](_0x3c6fcf){const {data:_0x43ecf4}=_0x3c6fcf;if(_0x43ecf4&&'resizeTable'===_0x43ecf4[_0x582c('0xa')]){const _0x45041d='*Format:*\x20resize\x20table';return{'type':_0x582c('0x16'),'content':_0x2f7ec6(this[_0x582c('0x1c')][_0x582c('0xc')],_0x45041d)};}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5d2a=['createPositionBefore','*Format:*\x20%0','removeMarker:suggestion','getChild','_acceptFormatSuggestionCallbackFactory','editor','setTableRowHeader','markerRange','locale','createTableWalker','activeMarkers','consumable','table','parent','formatBlock','editing','commands','FORMAT_HEADER_ROW','removeClass','end','stop','downcastDispatcher','accept','createPositionAfter','writer','selection','TableUtils','data','setTableColumnHeader','unbindElementFromMarkerName','FORMAT_HEADER_COLUMN','cell','createRange','registerCustomCallback','TableEditing','forceValue','getAttribute','ck-suggestion-marker--active','includes','document','get','commandParams','getRowIndexes','markBlockFormat','addClass','showSuggestionHighlights','data-suggestion','TrackChangesEditing','change','model','toViewElement','start','headingRows','childCount','markerNameToElements','mapper','getSelectionAffectedTableCells','enableCommand','options','requires','value','_splitMarkerName','findAncestor','commandName','registerDescriptionCallback','bindElementToMarker','_descriptionFactory','first','format','setAttribute','markerName','addMarker:suggestion','highest','getColumnIndexes','last','ck-suggestion-marker-','isBefore','getSuggestion','nodeAfter','plugins','_suggestionFactory','headingColumns','FORMAT_REGULAR_ROW','index','getCellLocation','item','from'];(function(_0x530356,_0x5d2ace){const _0x2a9970=function(_0x37c897){while(--_0x37c897){_0x530356['push'](_0x530356['shift']());}};_0x2a9970(++_0x5d2ace);}(_0x5d2a,0x1c1));const _0x2a99=function(_0x530356,_0x5d2ace){_0x530356=_0x530356-0x0;let _0x2a9970=_0x5d2a[_0x530356];return _0x2a9970;};import{Plugin as _0x286842}from'ckeditor5/src/core';import _0x7357ae from'./table';import{getTranslation as _0xa730be}from'../utils/common-translations';export default class pt extends _0x286842{static get[_0x2a99('0x2d')](){return[_0x7357ae];}['afterInit'](){const _0xb569ba=this[_0x2a99('0x4e')];if(!_0xb569ba[_0x2a99('0x41')]['has'](_0x2a99('0x14')))return;const _0x36f9ed=_0xb569ba[_0x2a99('0x51')],_0x49ef2f=_0xb569ba[_0x2a99('0x41')][_0x2a99('0x1a')](_0x2a99('0x21')),_0x55ddff=_0xb569ba[_0x2a99('0x41')][_0x2a99('0x1a')]('TableUtils'),_0x401555=_0xb569ba[_0x2a99('0x41')][_0x2a99('0x1a')](_0x7357ae);function _0x342d38({showActiveMarker:_0x16cc2c=!0x0,setDataAttribute:_0x261828=!0x0}={}){return(_0x3c0b91,_0x251660,_0x1fe2e4)=>{const {type:_0x3aa8b9,id:_0x4406a8}=_0x49ef2f[_0x2a99('0x2f')](_0x251660[_0x2a99('0x38')]),_0x22797c=_0x49ef2f[_0x2a99('0x3f')](_0x4406a8);if(!_0x22797c['data']||_0x2a99('0xe')!=_0x22797c[_0x2a99('0xd')][_0x2a99('0x31')])return;if(_0x251660[_0x2a99('0x47')])return void _0x3c0b91[_0x2a99('0x6')]();if(!_0x1fe2e4[_0x2a99('0x54')]['consume'](_0x251660['markerRange'],_0x3c0b91['name']))return;const _0x169359=_0x251660[_0x2a99('0x50')][_0x2a99('0x25')][_0x2a99('0x40')],_0xe41956=_0x251660[_0x2a99('0x50')][_0x2a99('0x5')]['nodeBefore'],_0x593080=_0x169359[_0x2a99('0x56')][_0x2a99('0x56')],{column:_0x4c7556}=_0x55ddff[_0x2a99('0x46')](_0x169359),{column:_0x174b6a}=_0x55ddff[_0x2a99('0x46')](_0xe41956);for(let _0x232417=_0x4c7556;_0x232417<=_0x174b6a;_0x232417++){const _0x8d9931=_0x55ddff[_0x2a99('0x52')](_0x593080,{'column':_0x232417,'includeAllSlots':!0x1});for(const _0x15c02c of _0x8d9931){const _0x4da92a=_0x15c02c['cell'],_0x5ee208=_0x1fe2e4[_0x2a99('0x29')][_0x2a99('0x24')](_0x4da92a);_0x1fe2e4[_0x2a99('0xa')][_0x2a99('0x1e')]('ck-suggestion-marker-'+_0x3aa8b9,_0x5ee208),_0x261828&&_0x1fe2e4[_0x2a99('0xa')][_0x2a99('0x37')](_0x2a99('0x20'),_0x4406a8,_0x5ee208),_0x1fe2e4[_0x2a99('0x29')][_0x2a99('0x33')](_0x5ee208,_0x251660[_0x2a99('0x38')]),_0x16cc2c&&(_0x49ef2f[_0x2a99('0x53')][_0x2a99('0x18')](_0x251660[_0x2a99('0x38')])?_0x1fe2e4['writer'][_0x2a99('0x1e')](_0x2a99('0x17'),_0x5ee208):_0x1fe2e4[_0x2a99('0xa')][_0x2a99('0x4')](_0x2a99('0x17'),_0x5ee208));}}};}_0x49ef2f[_0x2a99('0x2b')]('setTableRowHeader',(_0x66c54c,_0x2854c3)=>{const _0x1065d9=_0x55ddff[_0x2a99('0x2a')](_0xb569ba[_0x2a99('0x23')][_0x2a99('0x19')]['selection']),_0x4655a2=_0x55ddff[_0x2a99('0x1c')](_0x1065d9),_0x415fcb=_0x1065d9[0x0][_0x2a99('0x30')](_0x2a99('0x55')),_0x32671f=_0x415fcb[_0x2a99('0x16')](_0x2a99('0x26'))||0x0,_0x185435=_0x2854c3&&null!==_0x2854c3[_0x2a99('0x15')]?_0x2854c3['forceValue']:!_0xb569ba[_0x2a99('0x2')]['get'](_0x2a99('0x4f'))['value'],_0x4cb389=_0x185435?_0x4655a2[_0x2a99('0x3c')]:_0x4655a2[_0x2a99('0x35')],_0x10089b=_0x415fcb[_0x2a99('0x4c')](_0x4cb389);let _0x571389;if(_0x185435){const _0x40d5ee=_0x415fcb[_0x2a99('0x4c')](_0x32671f);if(_0x10089b[_0x2a99('0x45')]<_0x40d5ee[_0x2a99('0x45')])return;_0x571389=_0xb569ba['model']['createRange'](_0xb569ba[_0x2a99('0x23')][_0x2a99('0x49')](_0x40d5ee[_0x2a99('0x4c')](0x0)),_0xb569ba[_0x2a99('0x23')]['createPositionAfter'](_0x10089b[_0x2a99('0x4c')](_0x10089b['childCount']-0x1)));}else{const _0x56becd=_0x415fcb[_0x2a99('0x4c')](_0x32671f-0x1);if(!_0x56becd)return;_0x571389=_0xb569ba['model'][_0x2a99('0x12')](_0xb569ba['model']['createPositionBefore'](_0x10089b[_0x2a99('0x4c')](0x0)),_0xb569ba[_0x2a99('0x23')][_0x2a99('0x9')](_0x56becd['getChild'](_0x56becd[_0x2a99('0x27')]-0x1)));}_0xb569ba[_0x2a99('0x23')]['change'](()=>{_0x49ef2f[_0x2a99('0x1d')](_0x571389,{'commandName':'setTableRowHeader','commandParams':[{'forceValue':_0x185435}]},[],'setTableRowHeader');});}),_0x49ef2f[_0x2a99('0x2b')](_0x2a99('0xe'),(_0x3bfcee,_0x106728)=>{const _0xa2dc5a=_0xb569ba[_0x2a99('0x41')]['get'](_0x2a99('0xc')),_0x42d42d=_0xa2dc5a[_0x2a99('0x2a')](_0xb569ba[_0x2a99('0x23')][_0x2a99('0x19')][_0x2a99('0xb')]),_0x46be64=_0xa2dc5a[_0x2a99('0x3b')](_0x42d42d),_0x30bc8c=_0x42d42d[0x0][_0x2a99('0x30')](_0x2a99('0x55')),_0x3ec483=_0x30bc8c[_0x2a99('0x16')](_0x2a99('0x43'))||0x0,_0x1c7f70=_0x106728&&null!==_0x106728[_0x2a99('0x15')]?_0x106728[_0x2a99('0x15')]:!_0xb569ba[_0x2a99('0x2')][_0x2a99('0x1a')](_0x2a99('0xe'))[_0x2a99('0x2e')];let _0x2a2832;const _0x3a34e3=_0x30bc8c[_0x2a99('0x4c')](0x0),_0x20b50b=_0x1c7f70?_0x46be64[_0x2a99('0x3c')]:_0x46be64[_0x2a99('0x35')],_0x557130=_0xa2dc5a['createTableWalker'](_0x30bc8c,{'startRow':0x0,'column':_0x20b50b,'includeAllSlots':!0x1}),_0x26f9ea=Array[_0x2a99('0x48')](_0x557130)[0x0][_0x2a99('0x11')];if(_0x1c7f70){const _0x363ac5=_0x3a34e3[_0x2a99('0x4c')](_0x3ec483);if(_0x26f9ea[_0x2a99('0x3e')](_0x363ac5))return;_0x2a2832=_0xb569ba[_0x2a99('0x23')][_0x2a99('0x12')](_0xb569ba['model']['createPositionBefore'](_0x363ac5),_0xb569ba[_0x2a99('0x23')][_0x2a99('0x9')](_0x26f9ea));}else{const _0xd01433=_0x3a34e3['getChild'](_0x3ec483-0x1);if(!_0xd01433)return;_0x2a2832=_0xb569ba[_0x2a99('0x23')][_0x2a99('0x12')](_0xb569ba['model']['createPositionBefore'](_0x26f9ea),_0xb569ba[_0x2a99('0x23')][_0x2a99('0x9')](_0xd01433));}_0xb569ba[_0x2a99('0x23')][_0x2a99('0x22')](()=>{_0x49ef2f['markBlockFormat'](_0x2a2832,{'commandName':_0x2a99('0xe'),'commandParams':[{'forceValue':_0x1c7f70}]},[],_0x2a99('0xe'));});}),_0xb569ba[_0x2a99('0x1')]['downcastDispatcher']['on'](_0x2a99('0x39'),_0x342d38(),{'priority':_0x2a99('0x3a')}),_0xb569ba['data'][_0x2a99('0x7')]['on'](_0x2a99('0x39'),(_0x47abf8,_0x5b7a47,_0x3c1225)=>{_0x3c1225[_0x2a99('0x2c')][_0x2a99('0x1f')]&&_0x342d38({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x47abf8,_0x5b7a47,_0x3c1225);},{'priority':_0x2a99('0x3a')}),_0xb569ba['editing'][_0x2a99('0x7')]['on'](_0x2a99('0x4b'),(_0x50e825,_0x3fac84,_0x249867)=>{const {type:_0x4ce40c,id:_0x3c350d}=_0x49ef2f[_0x2a99('0x2f')](_0x3fac84[_0x2a99('0x38')]),_0x6db37a=_0x49ef2f[_0x2a99('0x3f')](_0x3c350d);if(!_0x6db37a[_0x2a99('0xd')]||_0x2a99('0xe')!=_0x6db37a[_0x2a99('0xd')][_0x2a99('0x31')])return;const _0x213c32=_0x249867[_0x2a99('0x29')][_0x2a99('0x28')](_0x3fac84[_0x2a99('0x38')]);if(_0x213c32)for(const _0x3f9d3f of _0x213c32)_0x249867[_0x2a99('0xa')][_0x2a99('0x4')](_0x2a99('0x3d')+_0x4ce40c,_0x3f9d3f),_0x249867[_0x2a99('0xa')][_0x2a99('0x4')](_0x2a99('0x17'),_0x3f9d3f),_0x249867[_0x2a99('0xa')]['removeAttribute']('data-suggestion',_0x3f9d3f),_0x249867[_0x2a99('0x29')][_0x2a99('0xf')](_0x3f9d3f,_0x3fac84['markerName']);},{'priority':'highest'}),_0x49ef2f[_0x2a99('0x34')][_0x2a99('0x32')](_0x3b130d=>{const {data:_0x6e00d7}=_0x3b130d;if(_0x6e00d7){if(_0x2a99('0x4f')==_0x6e00d7['commandName']){const _0x2411d3=_0x6e00d7['commandParams'][0x0]['forceValue'];return _0x45fcd2(_0xa730be(_0x36f9ed,_0x2411d3?_0x2a99('0x3'):_0x2a99('0x44')));}if('setTableColumnHeader'==_0x6e00d7[_0x2a99('0x31')]){const _0x1e49f5=_0x6e00d7[_0x2a99('0x1b')][0x0]['forceValue'];return _0x45fcd2(_0xa730be(_0x36f9ed,_0x1e49f5?_0x2a99('0x10'):'FORMAT_REGULAR_COLUMN'));}}function _0x45fcd2(_0x23a1b5){return{'type':_0x2a99('0x36'),'content':_0xa730be(_0x36f9ed,_0x2a99('0x4a'),_0x23a1b5)};}});const _0x5f2db7=_0x401555[_0x2a99('0x4d')]();_0x49ef2f[_0x2a99('0x42')][_0x2a99('0x13')](_0x2a99('0x0'),_0x2a99('0x4f'),_0x2a99('0x8'),_0x5f2db7),_0x49ef2f['_suggestionFactory'][_0x2a99('0x13')](_0x2a99('0x0'),_0x2a99('0xe'),'accept',_0x5f2db7);}}
23
+ const _0x2db5=['setTableColumnHeader','activeMarkers','setTableRowHeader','getChild','editing','nodeAfter','createPositionAfter','cell','downcastDispatcher','document','options','stop','index','consume','highest','has','TrackChangesEditing','commandParams','model','formatBlock','forceValue','last','getCellLocation','*Format:*\x20%0','value','bindElementToMarker','commands','createTableWalker','FORMAT_HEADER_ROW','headingColumns','locale','getSuggestion','_splitMarkerName','removeClass','writer','table','showSuggestionHighlights','createRange','TableUtils','editor','markerName','FORMAT_REGULAR_COLUMN','setAttribute','registerDescriptionCallback','parent','isBefore','unbindElementFromMarkerName','name','first','TableEditing','getAttribute','markerNameToElements','ck-suggestion-marker-','removeMarker:suggestion','markerRange','FORMAT_REGULAR_ROW','mapper','getSelectionAffectedTableCells','getColumnIndexes','selection','commandName','data','markBlockFormat','getRowIndexes','change','accept','enableCommand','removeAttribute','includes','addMarker:suggestion','plugins','consumable','data-suggestion','childCount','_suggestionFactory','format','get','createPositionBefore','registerCustomCallback','item','ck-suggestion-marker--active','start','_acceptFormatSuggestionCallbackFactory','end','requires'];(function(_0x1acd02,_0x2db5ed){const _0x4a0b31=function(_0x43fb38){while(--_0x43fb38){_0x1acd02['push'](_0x1acd02['shift']());}};_0x4a0b31(++_0x2db5ed);}(_0x2db5,0xd4));const _0x4a0b=function(_0x1acd02,_0x2db5ed){_0x1acd02=_0x1acd02-0x0;let _0x4a0b31=_0x2db5[_0x1acd02];return _0x4a0b31;};import{Plugin as _0x502395}from'ckeditor5/src/core';import _0x33a1dc from'./table';import{getTranslation as _0x3b2044}from'../utils/common-translations';export default class pt extends _0x502395{static get[_0x4a0b('0x2a')](){return[_0x33a1dc];}['afterInit'](){const _0x106256=this[_0x4a0b('0x52')];if(!_0x106256[_0x4a0b('0x1c')][_0x4a0b('0x3a')](_0x4a0b('0x7')))return;const _0x341fb2=_0x106256[_0x4a0b('0x49')],_0x33fe29=_0x106256['plugins'][_0x4a0b('0x22')](_0x4a0b('0x3b')),_0x13164b=_0x106256[_0x4a0b('0x1c')][_0x4a0b('0x22')]('TableUtils'),_0x63f2fa=_0x106256[_0x4a0b('0x1c')][_0x4a0b('0x22')](_0x33a1dc);function _0x471ac8({showActiveMarker:_0x4169ad=!0x0,setDataAttribute:_0x45291c=!0x0}={}){return(_0x56bf0c,_0x56e664,_0x11a268)=>{const {type:_0x574be0,id:_0x1e7ba4}=_0x33fe29[_0x4a0b('0x4b')](_0x56e664[_0x4a0b('0x53')]),_0x4a39f5=_0x33fe29['getSuggestion'](_0x1e7ba4);if(!_0x4a39f5[_0x4a0b('0x13')]||_0x4a0b('0x2b')!=_0x4a39f5['data']['commandName'])return;if(_0x56e664[_0x4a0b('0x25')])return void _0x56bf0c[_0x4a0b('0x36')]();if(!_0x11a268[_0x4a0b('0x1d')][_0x4a0b('0x38')](_0x56e664['markerRange'],_0x56bf0c[_0x4a0b('0x5')]))return;const _0x501c4f=_0x56e664[_0x4a0b('0xc')][_0x4a0b('0x27')][_0x4a0b('0x30')],_0x1e0459=_0x56e664[_0x4a0b('0xc')][_0x4a0b('0x29')]['nodeBefore'],_0x23bb06=_0x501c4f[_0x4a0b('0x2')][_0x4a0b('0x2')],{column:_0x119889}=_0x13164b[_0x4a0b('0x41')](_0x501c4f),{column:_0x2f146e}=_0x13164b[_0x4a0b('0x41')](_0x1e0459);for(let _0x9dcbe8=_0x119889;_0x9dcbe8<=_0x2f146e;_0x9dcbe8++){const _0x2b89a9=_0x13164b[_0x4a0b('0x46')](_0x23bb06,{'column':_0x9dcbe8,'includeAllSlots':!0x1});for(const _0x15f581 of _0x2b89a9){const _0x198bfe=_0x15f581[_0x4a0b('0x32')],_0x1605d6=_0x11a268[_0x4a0b('0xe')]['toViewElement'](_0x198bfe);_0x11a268[_0x4a0b('0x4d')]['addClass'](_0x4a0b('0xa')+_0x574be0,_0x1605d6),_0x45291c&&_0x11a268['writer'][_0x4a0b('0x0')](_0x4a0b('0x1e'),_0x1e7ba4,_0x1605d6),_0x11a268[_0x4a0b('0xe')][_0x4a0b('0x44')](_0x1605d6,_0x56e664['markerName']),_0x4169ad&&(_0x33fe29[_0x4a0b('0x2c')][_0x4a0b('0x1a')](_0x56e664['markerName'])?_0x11a268[_0x4a0b('0x4d')]['addClass']('ck-suggestion-marker--active',_0x1605d6):_0x11a268['writer'][_0x4a0b('0x4c')](_0x4a0b('0x26'),_0x1605d6));}}};}_0x33fe29[_0x4a0b('0x18')](_0x4a0b('0x2d'),(_0x5cb53e,_0x29f43a)=>{const _0x52db16=_0x13164b[_0x4a0b('0xf')](_0x106256['model'][_0x4a0b('0x34')][_0x4a0b('0x11')]),_0x1558f1=_0x13164b[_0x4a0b('0x15')](_0x52db16),_0x7d408d=_0x52db16[0x0]['findAncestor'](_0x4a0b('0x4e')),_0x1b5875=_0x7d408d[_0x4a0b('0x8')]('headingRows')||0x0,_0x3b7cf0=_0x29f43a&&null!==_0x29f43a[_0x4a0b('0x3f')]?_0x29f43a['forceValue']:!_0x106256['commands'][_0x4a0b('0x22')](_0x4a0b('0x2d'))[_0x4a0b('0x43')],_0x2b4778=_0x3b7cf0?_0x1558f1[_0x4a0b('0x40')]:_0x1558f1[_0x4a0b('0x6')],_0x4ed439=_0x7d408d[_0x4a0b('0x2e')](_0x2b4778);let _0x35a3b7;if(_0x3b7cf0){const _0x3f1df7=_0x7d408d[_0x4a0b('0x2e')](_0x1b5875);if(_0x4ed439[_0x4a0b('0x37')]<_0x3f1df7[_0x4a0b('0x37')])return;_0x35a3b7=_0x106256[_0x4a0b('0x3d')]['createRange'](_0x106256[_0x4a0b('0x3d')][_0x4a0b('0x23')](_0x3f1df7[_0x4a0b('0x2e')](0x0)),_0x106256['model'][_0x4a0b('0x31')](_0x4ed439[_0x4a0b('0x2e')](_0x4ed439[_0x4a0b('0x1f')]-0x1)));}else{const _0x3fd886=_0x7d408d[_0x4a0b('0x2e')](_0x1b5875-0x1);if(!_0x3fd886)return;_0x35a3b7=_0x106256[_0x4a0b('0x3d')][_0x4a0b('0x50')](_0x106256['model']['createPositionBefore'](_0x4ed439[_0x4a0b('0x2e')](0x0)),_0x106256[_0x4a0b('0x3d')][_0x4a0b('0x31')](_0x3fd886[_0x4a0b('0x2e')](_0x3fd886[_0x4a0b('0x1f')]-0x1)));}_0x106256[_0x4a0b('0x3d')][_0x4a0b('0x16')](()=>{_0x33fe29[_0x4a0b('0x14')](_0x35a3b7,{'commandName':_0x4a0b('0x2d'),'commandParams':[{'forceValue':_0x3b7cf0}]},[],_0x4a0b('0x2d'));});}),_0x33fe29['enableCommand']('setTableColumnHeader',(_0x4d07c,_0x3596cf)=>{const _0x3cea69=_0x106256[_0x4a0b('0x1c')][_0x4a0b('0x22')](_0x4a0b('0x51')),_0x19b4a1=_0x3cea69['getSelectionAffectedTableCells'](_0x106256[_0x4a0b('0x3d')][_0x4a0b('0x34')][_0x4a0b('0x11')]),_0x448b28=_0x3cea69[_0x4a0b('0x10')](_0x19b4a1),_0x17d7b6=_0x19b4a1[0x0]['findAncestor'](_0x4a0b('0x4e')),_0xe97da5=_0x17d7b6[_0x4a0b('0x8')](_0x4a0b('0x48'))||0x0,_0x3278bd=_0x3596cf&&null!==_0x3596cf[_0x4a0b('0x3f')]?_0x3596cf[_0x4a0b('0x3f')]:!_0x106256[_0x4a0b('0x45')][_0x4a0b('0x22')](_0x4a0b('0x2b'))[_0x4a0b('0x43')];let _0x77836d;const _0x1f801f=_0x17d7b6['getChild'](0x0),_0x260110=_0x3278bd?_0x448b28[_0x4a0b('0x40')]:_0x448b28[_0x4a0b('0x6')],_0x4acc9a=_0x3cea69['createTableWalker'](_0x17d7b6,{'startRow':0x0,'column':_0x260110,'includeAllSlots':!0x1}),_0x2052ca=Array['from'](_0x4acc9a)[0x0][_0x4a0b('0x32')];if(_0x3278bd){const _0x10c77a=_0x1f801f[_0x4a0b('0x2e')](_0xe97da5);if(_0x2052ca[_0x4a0b('0x3')](_0x10c77a))return;_0x77836d=_0x106256[_0x4a0b('0x3d')][_0x4a0b('0x50')](_0x106256[_0x4a0b('0x3d')][_0x4a0b('0x23')](_0x10c77a),_0x106256[_0x4a0b('0x3d')][_0x4a0b('0x31')](_0x2052ca));}else{const _0x48f93d=_0x1f801f[_0x4a0b('0x2e')](_0xe97da5-0x1);if(!_0x48f93d)return;_0x77836d=_0x106256[_0x4a0b('0x3d')][_0x4a0b('0x50')](_0x106256[_0x4a0b('0x3d')][_0x4a0b('0x23')](_0x2052ca),_0x106256[_0x4a0b('0x3d')]['createPositionAfter'](_0x48f93d));}_0x106256['model'][_0x4a0b('0x16')](()=>{_0x33fe29[_0x4a0b('0x14')](_0x77836d,{'commandName':_0x4a0b('0x2b'),'commandParams':[{'forceValue':_0x3278bd}]},[],_0x4a0b('0x2b'));});}),_0x106256[_0x4a0b('0x2f')]['downcastDispatcher']['on'](_0x4a0b('0x1b'),_0x471ac8(),{'priority':_0x4a0b('0x39')}),_0x106256[_0x4a0b('0x13')][_0x4a0b('0x33')]['on']('addMarker:suggestion',(_0x11c195,_0x64a220,_0x13b3e5)=>{_0x13b3e5[_0x4a0b('0x35')][_0x4a0b('0x4f')]&&_0x471ac8({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x11c195,_0x64a220,_0x13b3e5);},{'priority':'highest'}),_0x106256[_0x4a0b('0x2f')][_0x4a0b('0x33')]['on'](_0x4a0b('0xb'),(_0x2b73fb,_0x22e7c2,_0x1ad570)=>{const {type:_0x4e206c,id:_0x254afe}=_0x33fe29['_splitMarkerName'](_0x22e7c2[_0x4a0b('0x53')]),_0x4f66e3=_0x33fe29[_0x4a0b('0x4a')](_0x254afe);if(!_0x4f66e3['data']||_0x4a0b('0x2b')!=_0x4f66e3[_0x4a0b('0x13')]['commandName'])return;const _0x189325=_0x1ad570[_0x4a0b('0xe')][_0x4a0b('0x9')](_0x22e7c2[_0x4a0b('0x53')]);if(_0x189325)for(const _0x1b7c5e of _0x189325)_0x1ad570['writer'][_0x4a0b('0x4c')]('ck-suggestion-marker-'+_0x4e206c,_0x1b7c5e),_0x1ad570[_0x4a0b('0x4d')]['removeClass'](_0x4a0b('0x26'),_0x1b7c5e),_0x1ad570[_0x4a0b('0x4d')][_0x4a0b('0x19')](_0x4a0b('0x1e'),_0x1b7c5e),_0x1ad570['mapper'][_0x4a0b('0x4')](_0x1b7c5e,_0x22e7c2[_0x4a0b('0x53')]);},{'priority':_0x4a0b('0x39')}),_0x33fe29['_descriptionFactory'][_0x4a0b('0x1')](_0x235b52=>{const {data:_0x138372}=_0x235b52;if(_0x138372){if(_0x4a0b('0x2d')==_0x138372[_0x4a0b('0x12')]){const _0x5ea0cb=_0x138372['commandParams'][0x0][_0x4a0b('0x3f')];return _0x4e1909(_0x3b2044(_0x341fb2,_0x5ea0cb?_0x4a0b('0x47'):_0x4a0b('0xd')));}if('setTableColumnHeader'==_0x138372[_0x4a0b('0x12')]){const _0x36a031=_0x138372[_0x4a0b('0x3c')][0x0][_0x4a0b('0x3f')];return _0x4e1909(_0x3b2044(_0x341fb2,_0x36a031?'FORMAT_HEADER_COLUMN':_0x4a0b('0x54')));}}function _0x4e1909(_0x19c792){return{'type':_0x4a0b('0x21'),'content':_0x3b2044(_0x341fb2,_0x4a0b('0x42'),_0x19c792)};}});const _0x2817c5=_0x63f2fa[_0x4a0b('0x28')]();_0x33fe29[_0x4a0b('0x20')][_0x4a0b('0x24')](_0x4a0b('0x3e'),_0x4a0b('0x2d'),_0x4a0b('0x17'),_0x2817c5),_0x33fe29[_0x4a0b('0x20')]['registerCustomCallback'](_0x4a0b('0x3e'),_0x4a0b('0x2b'),_0x4a0b('0x17'),_0x2817c5);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2952=['stop','_areSelectedCellsMergable','_descriptionFactory','TrackChangesEditing','from','registerDescriptionCallback','mergeTableCellLeft','direction','change','tableCell','plugins','length','isEnabled','markMultiRangeBlockFormat','get','element','find','deletion','*Split\x20cell:*\x20vertically','mergeTableCells','getRanges','map','selection','afterInit','_areMergableCells','fromRange','model','commandName','_isForcedDefaultExecutionBlock','registerCustomCallback','rootName','enableCommand','author','getFirstPosition','refresh','mergeTableCellUp','insertion','subType','getSelectionAffectedTableCells','size','mergeTableCellRight','getSuggestions','editor','value','has','document','splitTableCellVertically','splitTableCellHorizontally','getCellLocation','markBlockFormat','createTableWalker','*Merge\x20cells*','cell','type','$graveyard','add','table','containsRange','TableEditing','push','detach','commands','set:isEnabled','mergeTableCellDown','createRangeOn','accept','format','low','TableUtils','setSelection','_tablePostFixingSubtypes','formatBlock','forceDefaultExecution','execute','_suggestionFactory','trackChanges','highest'];(function(_0x11b85b,_0x2952e9){const _0x1f9a7e=function(_0x393ba2){while(--_0x393ba2){_0x11b85b['push'](_0x11b85b['shift']());}};_0x1f9a7e(++_0x2952e9);}(_0x2952,0xae));const _0x1f9a=function(_0x11b85b,_0x2952e9){_0x11b85b=_0x11b85b-0x0;let _0x1f9a7e=_0x2952[_0x11b85b];return _0x1f9a7e;};import{Plugin as _0x20a908}from'ckeditor5/src/core';import _0x4c485b from'./table';import{LiveRange as _0x4886ef}from'ckeditor5/src/engine';import{getTranslation as _0x1bb42b}from'../utils/common-translations';export default class dt extends _0x20a908{static get['requires'](){return[_0x4c485b];}[_0x1f9a('0x3')](){const _0x5bfd0b=this[_0x1f9a('0x16')],_0x25b128=_0x5bfd0b['model'][_0x1f9a('0x19')]['selection'],_0x4688b3=_0x5bfd0b['locale'];if(!_0x5bfd0b[_0x1f9a('0x43')][_0x1f9a('0x18')](_0x1f9a('0x26')))return;const _0x2cf435=_0x5bfd0b['plugins'][_0x1f9a('0x47')](_0x1f9a('0x3c')),_0x1b94ba=_0x5bfd0b[_0x1f9a('0x43')][_0x1f9a('0x47')](_0x1f9a('0x30')),_0x1b978d=_0x5bfd0b[_0x1f9a('0x43')][_0x1f9a('0x47')](_0x4c485b);_0x1b978d[_0x1f9a('0x32')][_0x1f9a('0x27')](_0x1f9a('0x4c')),_0x2cf435[_0x1f9a('0xb')]('mergeTableCells',()=>{const _0x1a3d5f=_0x1b94ba[_0x1f9a('0x12')](_0x5bfd0b[_0x1f9a('0x6')][_0x1f9a('0x19')][_0x1f9a('0x2')]);_0x5bfd0b['model']['change'](()=>{_0x2cf435['markMultiRangeBlockFormat'](_0x1a3d5f,{'commandName':'mergeTableCells','commandParams':[]},[],_0x1f9a('0x4c'));});}),_0x5bfd0b[_0x1f9a('0x29')]['get'](_0x1f9a('0x4c'))['on'](_0x1f9a('0x35'),(_0x56ec04,_0x37faef)=>{_0x5bfd0b['commands'][_0x1f9a('0x47')](_0x1f9a('0x37'))[_0x1f9a('0x17')]&&(_0x37faef[_0x1f9a('0x44')]>0x0&&_0x37faef[_0x37faef['length']-0x1]&&_0x37faef[_0x37faef['length']-0x1][_0x1f9a('0x34')]||_0x2cf435[_0x1f9a('0x8')]||this[_0x1f9a('0x3a')]()||_0x56ec04[_0x1f9a('0x39')]());},{'priority':_0x1f9a('0x38')});for(const _0x2fe3e4 of[_0x1f9a('0xf'),_0x1f9a('0x14'),_0x1f9a('0x2b'),_0x1f9a('0x3f')]){const _0x1de26d=_0x5bfd0b[_0x1f9a('0x29')][_0x1f9a('0x47')](_0x2fe3e4);_0x2cf435['enableCommand'](_0x2fe3e4,()=>{const _0x2a48de=_0x5bfd0b[_0x1f9a('0x6')][_0x1f9a('0x19')][_0x1f9a('0x2')][_0x1f9a('0xd')]()['getAncestors']()[_0x1f9a('0x49')](_0x4570a9=>_0x4570a9['is'](_0x1f9a('0x48'),_0x1f9a('0x42'))),_0x5f576b=_0x1de26d[_0x1f9a('0x17')];_0x5bfd0b[_0x1f9a('0x6')]['change'](()=>{_0x2cf435[_0x1f9a('0x46')]([_0x2a48de,_0x5f576b],{'commandName':_0x1f9a('0x4c'),'commandParams':[]},[],_0x1f9a('0x4c'));});});}for(const _0x58a641 of[_0x1f9a('0x1a'),'splitTableCellHorizontally']){const _0x55016a=_0x5bfd0b[_0x1f9a('0x29')]['get'](_0x58a641);_0x2cf435['enableCommand'](_0x58a641,()=>{const _0x518d93=_0x1b94ba[_0x1f9a('0x12')](_0x5bfd0b[_0x1f9a('0x6')][_0x1f9a('0x19')][_0x1f9a('0x2')])[0x0],_0x500b94=_0x518d93['findAncestor'](_0x1f9a('0x24')),{column:_0x13d207,row:_0x1f770b}=_0x1b94ba[_0x1f9a('0x1c')](_0x518d93);let _0x1e1189=[];if('horizontally'==_0x55016a[_0x1f9a('0x40')]){const _0x340701=_0x1b94ba[_0x1f9a('0x1e')](_0x500b94,{'startRow':_0x1f770b,'endRow':_0x1f770b,'includeAllSlots':!0x0});_0x1e1189=Array[_0x1f9a('0x3d')](_0x340701)['map'](_0x4336ac=>_0x4336ac[_0x1f9a('0x20')]);}else{const _0x3cffff=_0x1b94ba[_0x1f9a('0x1e')](_0x500b94,{'column':_0x13d207,'includeAllSlots':!0x0});_0x1e1189=Array[_0x1f9a('0x3d')](_0x3cffff)['map'](_0x2f6319=>_0x2f6319[_0x1f9a('0x20')]);}_0x5bfd0b[_0x1f9a('0x6')]['change'](_0x19c05a=>{_0x2cf435[_0x1f9a('0x1d')](_0x19c05a['createRangeOn'](_0x518d93),{'commandName':_0x58a641,'commandParams':[]},_0x1e1189,_0x58a641);});});}_0x2cf435[_0x1f9a('0x3b')]['registerDescriptionCallback'](_0x38dd08=>{const {data:_0x4e2f8a}=_0x38dd08;if(_0x4e2f8a)return _0x1f9a('0x4c')==_0x4e2f8a['commandName']?{'type':_0x1f9a('0x2e'),'content':_0x1bb42b(_0x4688b3,_0x1f9a('0x1f'))}:void 0x0;}),_0x2cf435[_0x1f9a('0x3b')][_0x1f9a('0x3e')](_0x246a2b=>{const {data:_0x14c48c}=_0x246a2b;if(_0x14c48c)return _0x1f9a('0x1a')==_0x14c48c[_0x1f9a('0x7')]?{'type':_0x1f9a('0x2e'),'content':_0x1bb42b(_0x4688b3,_0x1f9a('0x4b'))}:_0x1f9a('0x1b')==_0x14c48c[_0x1f9a('0x7')]?{'type':_0x1f9a('0x2e'),'content':_0x1bb42b(_0x4688b3,'*Split\x20cell:*\x20horizontally')}:void 0x0;});const _0x1710b2=_0x1b978d['_acceptFormatSuggestionCallbackFactory']();for(const _0x555db0 of['mergeTableCellUp','mergeTableCellRight',_0x1f9a('0x2b'),_0x1f9a('0x3f')])_0x2cf435[_0x1f9a('0x36')][_0x1f9a('0x9')](_0x1f9a('0x33'),_0x555db0,'accept',_0x1710b2);for(const _0xfdbaf0 of['splitTableCellVertically',_0x1f9a('0x1b')])_0x2cf435[_0x1f9a('0x36')][_0x1f9a('0x9')](_0x1f9a('0x33'),_0xfdbaf0,_0x1f9a('0x2d'),_0x1710b2);_0x2cf435[_0x1f9a('0x36')][_0x1f9a('0x9')](_0x1f9a('0x33'),_0x1f9a('0x4c'),_0x1f9a('0x2d'),_0x5e4e6c=>{_0x5bfd0b['model'][_0x1f9a('0x41')](_0x4fd50d=>{const _0x11018f=Array[_0x1f9a('0x3d')](_0x25b128[_0x1f9a('0x0')]())[_0x1f9a('0x1')](_0x18d8bc=>_0x4886ef[_0x1f9a('0x5')](_0x18d8bc));_0x4fd50d[_0x1f9a('0x31')](_0x5e4e6c),_0x5bfd0b[_0x1f9a('0x29')][_0x1f9a('0x47')](_0x1f9a('0x4c'))[_0x1f9a('0xe')](),_0x5bfd0b[_0x1f9a('0x35')](_0x1f9a('0x4c'),{'forceDefaultExecution':!0x0});const _0x2cf4f7=_0x11018f['filter'](_0x1e9f4e=>_0x1f9a('0x22')!=_0x1e9f4e['root'][_0x1f9a('0xa')]);_0x2cf4f7[_0x1f9a('0x44')]>0x0&&_0x4fd50d[_0x1f9a('0x31')](_0x2cf4f7);for(const _0x2e9a15 of _0x11018f)_0x2e9a15[_0x1f9a('0x28')]();});});for(const _0x1aca9b of[_0x1f9a('0xf'),_0x1f9a('0x2b'),_0x1f9a('0x3f'),_0x1f9a('0x14')]){const _0x31d631=_0x5bfd0b[_0x1f9a('0x29')][_0x1f9a('0x47')](_0x1aca9b);_0x31d631['on'](_0x1f9a('0x2a'),(_0x38918b,_0x38fed3,_0x17d5e1)=>{if(_0x17d5e1){const _0x420a22=_0x5bfd0b[_0x1f9a('0x6')][_0x1f9a('0x19')][_0x1f9a('0x2')][_0x1f9a('0xd')]()['getAncestors']()[_0x1f9a('0x49')](_0x1c4ba6=>_0x1c4ba6['is']('element',_0x1f9a('0x42')));this[_0x1f9a('0x4')](_0x31d631[_0x1f9a('0x17')],_0x420a22)||(_0x38918b['return']=!0x1,_0x38918b[_0x1f9a('0x39')]());}},{'priority':_0x1f9a('0x2f')});}}['_areSelectedCellsMergable'](){const _0x513da0=this[_0x1f9a('0x16')][_0x1f9a('0x29')][_0x1f9a('0x47')](_0x1f9a('0x4c')),_0x326e2b=this[_0x1f9a('0x16')][_0x1f9a('0x43')][_0x1f9a('0x47')]('TableUtils');if(!_0x513da0[_0x1f9a('0x45')])return!0x1;const _0x191d67=_0x326e2b['getSelectionAffectedTableCells'](this[_0x1f9a('0x16')]['model']['document'][_0x1f9a('0x2')]);for(const _0x13c468 of _0x191d67)for(const _0x2bb7c1 of _0x191d67)if(_0x13c468!=_0x2bb7c1&&!this[_0x1f9a('0x4')](_0x13c468,_0x2bb7c1))return!0x1;return!0x0;}['_areMergableCells'](_0x39d812,_0x5e12d6){const _0x482c9c=this[_0x1f9a('0x16')][_0x1f9a('0x43')][_0x1f9a('0x47')](_0x1f9a('0x3c')),_0x41fc03=this[_0x1f9a('0x16')][_0x1f9a('0x6')][_0x1f9a('0x2c')](_0x39d812),_0x5f43e0=this['editor'][_0x1f9a('0x6')][_0x1f9a('0x2c')](_0x5e12d6),_0x3f8d2b=new Set(),_0x38b359=new Set();for(const _0x4b2357 of _0x482c9c[_0x1f9a('0x15')]())if((_0x1f9a('0x10')==_0x4b2357[_0x1f9a('0x21')]||_0x1f9a('0x4a')==_0x4b2357[_0x1f9a('0x21')]||_0x1f9a('0x4c')==_0x4b2357[_0x1f9a('0x11')])&&_0x4b2357['isInContent'])for(const _0x2bb60d of _0x4b2357[_0x1f9a('0x0')]())_0x2bb60d['containsRange'](_0x41fc03,!0x0)&&_0x3f8d2b[_0x1f9a('0x23')](_0x4b2357[_0x1f9a('0x21')]+':'+_0x4b2357[_0x1f9a('0xc')]['id']),_0x2bb60d[_0x1f9a('0x25')](_0x5f43e0,!0x0)&&_0x38b359[_0x1f9a('0x23')](_0x4b2357[_0x1f9a('0x21')]+':'+_0x4b2357[_0x1f9a('0xc')]['id']);if(_0x3f8d2b[_0x1f9a('0x13')]!=_0x38b359[_0x1f9a('0x13')])return!0x1;for(const _0x25297b of _0x3f8d2b)if(!_0x38b359[_0x1f9a('0x18')](_0x25297b))return!0x1;return!0x0;}}
23
+ const _0x1be7=['size','fromRange','get','markBlockFormat','createTableWalker','_isForcedDefaultExecutionBlock','set:isEnabled','*Split\x20cell:*\x20horizontally','find','editor','table','splitTableCellHorizontally','mergeTableCellRight','_descriptionFactory','setSelection','document','add','from','createRangeOn','getSelectionAffectedTableCells','value','stop','$graveyard','markMultiRangeBlockFormat','author','forceDefaultExecution','*Merge\x20cells*','push','highest','TableEditing','accept','model','requires','formatBlock','getSuggestions','commands','containsRange','selection','refresh','deletion','registerDescriptionCallback','plugins','return','mergeTableCells','format','getRanges','execute','tableCell','mergeTableCellLeft','getFirstPosition','element','getAncestors','getCellLocation','rootName','enableCommand','cell','TableUtils','locale','_suggestionFactory','commandName','subType','_areSelectedCellsMergable','TrackChangesEditing','registerCustomCallback','has','afterInit','map','splitTableCellVertically','findAncestor','root','mergeTableCellDown','*Split\x20cell:*\x20vertically','_areMergableCells','change','length','type','mergeTableCellUp'];(function(_0x23fe75,_0x1be76e){const _0x401e10=function(_0x404023){while(--_0x404023){_0x23fe75['push'](_0x23fe75['shift']());}};_0x401e10(++_0x1be76e);}(_0x1be7,0xfb));const _0x401e=function(_0x23fe75,_0x1be76e){_0x23fe75=_0x23fe75-0x0;let _0x401e10=_0x1be7[_0x23fe75];return _0x401e10;};import{Plugin as _0x1e7650}from'ckeditor5/src/core';import _0x579b7f from'./table';import{LiveRange as _0x34ef78}from'ckeditor5/src/engine';import{getTranslation as _0x4b05b9}from'../utils/common-translations';export default class dt extends _0x1e7650{static get[_0x401e('0xc')](){return[_0x579b7f];}[_0x401e('0x2d')](){const _0x154793=this[_0x401e('0x42')],_0x59527e=_0x154793[_0x401e('0xb')][_0x401e('0x48')]['selection'],_0x50da01=_0x154793[_0x401e('0x25')];if(!_0x154793['plugins'][_0x401e('0x2c')](_0x401e('0x9')))return;const _0x1393c9=_0x154793['plugins'][_0x401e('0x3b')](_0x401e('0x2a')),_0xa4faad=_0x154793[_0x401e('0x15')][_0x401e('0x3b')](_0x401e('0x24')),_0x19b901=_0x154793[_0x401e('0x15')][_0x401e('0x3b')](_0x579b7f);_0x19b901['_tablePostFixingSubtypes'][_0x401e('0x7')](_0x401e('0x17')),_0x1393c9[_0x401e('0x22')](_0x401e('0x17'),()=>{const _0x176f54=_0xa4faad['getSelectionAffectedTableCells'](_0x154793[_0x401e('0xb')][_0x401e('0x48')]['selection']);_0x154793['model'][_0x401e('0x35')](()=>{_0x1393c9[_0x401e('0x3')](_0x176f54,{'commandName':_0x401e('0x17'),'commandParams':[]},[],'mergeTableCells');});}),_0x154793[_0x401e('0xf')]['get'](_0x401e('0x17'))['on'](_0x401e('0x1a'),(_0x4e56db,_0x1c2095)=>{_0x154793[_0x401e('0xf')][_0x401e('0x3b')]('trackChanges')[_0x401e('0x0')]&&(_0x1c2095[_0x401e('0x36')]>0x0&&_0x1c2095[_0x1c2095[_0x401e('0x36')]-0x1]&&_0x1c2095[_0x1c2095[_0x401e('0x36')]-0x1][_0x401e('0x5')]||_0x1393c9[_0x401e('0x3e')]||this['_areSelectedCellsMergable']()||_0x4e56db[_0x401e('0x1')]());},{'priority':_0x401e('0x8')});for(const _0x52449e of[_0x401e('0x38'),_0x401e('0x45'),_0x401e('0x32'),_0x401e('0x1c')]){const _0x2781cb=_0x154793['commands']['get'](_0x52449e);_0x1393c9['enableCommand'](_0x52449e,()=>{const _0x31c712=_0x154793[_0x401e('0xb')][_0x401e('0x48')][_0x401e('0x11')][_0x401e('0x1d')]()['getAncestors']()[_0x401e('0x41')](_0x574774=>_0x574774['is'](_0x401e('0x1e'),_0x401e('0x1b'))),_0x8e29c6=_0x2781cb[_0x401e('0x0')];_0x154793[_0x401e('0xb')][_0x401e('0x35')](()=>{_0x1393c9[_0x401e('0x3')]([_0x31c712,_0x8e29c6],{'commandName':'mergeTableCells','commandParams':[]},[],'mergeTableCells');});});}for(const _0x748a6e of[_0x401e('0x2f'),'splitTableCellHorizontally']){const _0x6b7708=_0x154793[_0x401e('0xf')][_0x401e('0x3b')](_0x748a6e);_0x1393c9[_0x401e('0x22')](_0x748a6e,()=>{const _0x11c709=_0xa4faad[_0x401e('0x4c')](_0x154793[_0x401e('0xb')][_0x401e('0x48')][_0x401e('0x11')])[0x0],_0x50bf82=_0x11c709[_0x401e('0x30')](_0x401e('0x43')),{column:_0x55060c,row:_0x2203d9}=_0xa4faad[_0x401e('0x20')](_0x11c709);let _0x274b4d=[];if('horizontally'==_0x6b7708['direction']){const _0x17ded1=_0xa4faad[_0x401e('0x3d')](_0x50bf82,{'startRow':_0x2203d9,'endRow':_0x2203d9,'includeAllSlots':!0x0});_0x274b4d=Array['from'](_0x17ded1)['map'](_0x778633=>_0x778633[_0x401e('0x23')]);}else{const _0x2e4ad5=_0xa4faad['createTableWalker'](_0x50bf82,{'column':_0x55060c,'includeAllSlots':!0x0});_0x274b4d=Array[_0x401e('0x4a')](_0x2e4ad5)[_0x401e('0x2e')](_0xc2f59b=>_0xc2f59b[_0x401e('0x23')]);}_0x154793['model'][_0x401e('0x35')](_0x4171e2=>{_0x1393c9[_0x401e('0x3c')](_0x4171e2[_0x401e('0x4b')](_0x11c709),{'commandName':_0x748a6e,'commandParams':[]},_0x274b4d,_0x748a6e);});});}_0x1393c9[_0x401e('0x46')][_0x401e('0x14')](_0x50f3ba=>{const {data:_0x26e7e5}=_0x50f3ba;if(_0x26e7e5)return _0x401e('0x17')==_0x26e7e5[_0x401e('0x27')]?{'type':_0x401e('0x18'),'content':_0x4b05b9(_0x50da01,_0x401e('0x6'))}:void 0x0;}),_0x1393c9['_descriptionFactory'][_0x401e('0x14')](_0x4c76b7=>{const {data:_0x141f61}=_0x4c76b7;if(_0x141f61)return _0x401e('0x2f')==_0x141f61[_0x401e('0x27')]?{'type':_0x401e('0x18'),'content':_0x4b05b9(_0x50da01,_0x401e('0x33'))}:_0x401e('0x44')==_0x141f61[_0x401e('0x27')]?{'type':_0x401e('0x18'),'content':_0x4b05b9(_0x50da01,_0x401e('0x40'))}:void 0x0;});const _0x1a1873=_0x19b901['_acceptFormatSuggestionCallbackFactory']();for(const _0x342a89 of[_0x401e('0x38'),_0x401e('0x45'),_0x401e('0x32'),_0x401e('0x1c')])_0x1393c9['_suggestionFactory']['registerCustomCallback'](_0x401e('0xd'),_0x342a89,_0x401e('0xa'),_0x1a1873);for(const _0x14abe0 of[_0x401e('0x2f'),'splitTableCellHorizontally'])_0x1393c9[_0x401e('0x26')][_0x401e('0x2b')](_0x401e('0xd'),_0x14abe0,_0x401e('0xa'),_0x1a1873);_0x1393c9[_0x401e('0x26')]['registerCustomCallback']('formatBlock','mergeTableCells',_0x401e('0xa'),_0x401ade=>{_0x154793[_0x401e('0xb')]['change'](_0xd7ef4f=>{const _0x6daa1b=Array[_0x401e('0x4a')](_0x59527e[_0x401e('0x19')]())['map'](_0x2629e0=>_0x34ef78[_0x401e('0x3a')](_0x2629e0));_0xd7ef4f[_0x401e('0x47')](_0x401ade),_0x154793[_0x401e('0xf')]['get']('mergeTableCells')[_0x401e('0x12')](),_0x154793[_0x401e('0x1a')](_0x401e('0x17'),{'forceDefaultExecution':!0x0});const _0x502fa9=_0x6daa1b['filter'](_0x57a6fd=>_0x401e('0x2')!=_0x57a6fd[_0x401e('0x31')][_0x401e('0x21')]);_0x502fa9[_0x401e('0x36')]>0x0&&_0xd7ef4f[_0x401e('0x47')](_0x502fa9);for(const _0x43e146 of _0x6daa1b)_0x43e146['detach']();});});for(const _0x5bdf15 of['mergeTableCellUp',_0x401e('0x32'),'mergeTableCellLeft','mergeTableCellRight']){const _0x3ab776=_0x154793[_0x401e('0xf')][_0x401e('0x3b')](_0x5bdf15);_0x3ab776['on'](_0x401e('0x3f'),(_0x523eda,_0x30c06a,_0x3aa9d2)=>{if(_0x3aa9d2){const _0x4fb80c=_0x154793[_0x401e('0xb')][_0x401e('0x48')]['selection']['getFirstPosition']()[_0x401e('0x1f')]()['find'](_0x1a2211=>_0x1a2211['is'](_0x401e('0x1e'),'tableCell'));this[_0x401e('0x34')](_0x3ab776[_0x401e('0x0')],_0x4fb80c)||(_0x523eda[_0x401e('0x16')]=!0x1,_0x523eda[_0x401e('0x1')]());}},{'priority':'low'});}}[_0x401e('0x29')](){const _0x3ca532=this[_0x401e('0x42')][_0x401e('0xf')][_0x401e('0x3b')](_0x401e('0x17')),_0x443908=this[_0x401e('0x42')][_0x401e('0x15')][_0x401e('0x3b')](_0x401e('0x24'));if(!_0x3ca532['isEnabled'])return!0x1;const _0x395d38=_0x443908['getSelectionAffectedTableCells'](this['editor'][_0x401e('0xb')][_0x401e('0x48')][_0x401e('0x11')]);for(const _0x23281b of _0x395d38)for(const _0x53f6dc of _0x395d38)if(_0x23281b!=_0x53f6dc&&!this[_0x401e('0x34')](_0x23281b,_0x53f6dc))return!0x1;return!0x0;}[_0x401e('0x34')](_0x3d4a6f,_0x5421cd){const _0x523fce=this[_0x401e('0x42')]['plugins']['get'](_0x401e('0x2a')),_0x38a5e1=this[_0x401e('0x42')][_0x401e('0xb')][_0x401e('0x4b')](_0x3d4a6f),_0x1c5cc1=this[_0x401e('0x42')][_0x401e('0xb')][_0x401e('0x4b')](_0x5421cd),_0x32ba6f=new Set(),_0x12a16d=new Set();for(const _0x3afd70 of _0x523fce[_0x401e('0xe')]())if(('insertion'==_0x3afd70[_0x401e('0x37')]||_0x401e('0x13')==_0x3afd70[_0x401e('0x37')]||'mergeTableCells'==_0x3afd70[_0x401e('0x28')])&&_0x3afd70['isInContent'])for(const _0x32b38a of _0x3afd70[_0x401e('0x19')]())_0x32b38a[_0x401e('0x10')](_0x38a5e1,!0x0)&&_0x32ba6f['add'](_0x3afd70[_0x401e('0x37')]+':'+_0x3afd70[_0x401e('0x4')]['id']),_0x32b38a[_0x401e('0x10')](_0x1c5cc1,!0x0)&&_0x12a16d[_0x401e('0x49')](_0x3afd70[_0x401e('0x37')]+':'+_0x3afd70['author']['id']);if(_0x32ba6f[_0x401e('0x39')]!=_0x12a16d[_0x401e('0x39')])return!0x1;for(const _0x36c445 of _0x32ba6f)if(!_0x12a16d[_0x401e('0x2c')](_0x36c445))return!0x1;return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4769=['afterInit','insertTableOfContents','locale','plugins','get','registerElementLabel','ELEMENT_TABLE_OF_CONTENTS','editor','commands','TrackChangesEditing'];(function(_0x570ec9,_0x476917){const _0x348716=function(_0x51902a){while(--_0x51902a){_0x570ec9['push'](_0x570ec9['shift']());}};_0x348716(++_0x476917);}(_0x4769,0x1d2));const _0x3487=function(_0x570ec9,_0x476917){_0x570ec9=_0x570ec9-0x0;let _0x348716=_0x4769[_0x570ec9];return _0x348716;};import{Plugin as _0x54782a}from'ckeditor5/src/core';import{getTranslation as _0x36bf93}from'../utils/common-translations';export default class bt extends _0x54782a{[_0x3487('0x4')](){const _0x170f34=this[_0x3487('0x1')];if(!_0x170f34[_0x3487('0x2')][_0x3487('0x8')]('insertTableOfContents'))return;_0x170f34[_0x3487('0x7')][_0x3487('0x8')](_0x3487('0x3'))['enableCommand'](_0x3487('0x5'));const _0x5e514e=_0x170f34['plugins'][_0x3487('0x8')]('TrackChangesEditing'),_0x3400f7=_0x170f34[_0x3487('0x6')];_0x5e514e['_descriptionFactory'][_0x3487('0x9')]('tableOfContents',_0x3babdc=>_0x36bf93(_0x3400f7,_0x3487('0x0'),_0x3babdc));}}
23
+ const _0x4770=['locale','enableCommand','tableOfContents','get','plugins','editor','afterInit','commands','_descriptionFactory','ELEMENT_TABLE_OF_CONTENTS'];(function(_0x277fbb,_0x47701e){const _0x4a823a=function(_0x3d623d){while(--_0x3d623d){_0x277fbb['push'](_0x277fbb['shift']());}};_0x4a823a(++_0x47701e);}(_0x4770,0x10a));const _0x4a82=function(_0x277fbb,_0x47701e){_0x277fbb=_0x277fbb-0x0;let _0x4a823a=_0x4770[_0x277fbb];return _0x4a823a;};import{Plugin as _0x3a3f01}from'ckeditor5/src/core';import{getTranslation as _0x323609}from'../utils/common-translations';export default class bt extends _0x3a3f01{[_0x4a82('0x0')](){const _0x4770ab=this[_0x4a82('0x9')];if(!_0x4770ab[_0x4a82('0x1')]['get']('insertTableOfContents'))return;_0x4770ab[_0x4a82('0x8')][_0x4a82('0x7')]('TrackChangesEditing')[_0x4a82('0x5')]('insertTableOfContents');const _0x1ba5c3=_0x4770ab['plugins'][_0x4a82('0x7')]('TrackChangesEditing'),_0x5c6600=_0x4770ab[_0x4a82('0x4')];_0x1ba5c3[_0x4a82('0x2')]['registerElementLabel'](_0x4a82('0x6'),_0x4c37fb=>_0x323609(_0x5c6600,_0x4a82('0x3'),_0x4c37fb));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4fc6=['getFirstPosition','format','_getSuggestion','nodeAfter','registerDescriptionCallback','discard','enableCommand','tableAlignment','getSuggestionCallback','tableBackgroundColor','tableBorderColor','removeAttribute','locale','_handlePropertyChange','tableProperties','tableCellProperties','table','document','registerCustomCallback','data','tableCellBorderStyle','tableCellVerticalAlignment','setAttribute','tableCellPadding','batch','_suggestionFactory','markBlockFormat','tableHeight','selection','has','tableWidth','getContainedElement','tableCellBorderColor','tableCellBorderWidth','enqueueChange','get','formatBlock','_descriptionFactory','plugins','getAttribute','editor','join','TableUtils','handleDiscardAction','*Format:*\x20change\x20table\x20properties','accept','findAncestor','TableCellPropertiesEditing','tableCellHeight','start','model','tableBorderStyle','subType'];(function(_0x23dbaf,_0x4fc69d){const _0x5f388f=function(_0x616220){while(--_0x616220){_0x23dbaf['push'](_0x23dbaf['shift']());}};_0x5f388f(++_0x4fc69d);}(_0x4fc6,0xfa));const _0x5f38=function(_0x23dbaf,_0x4fc69d){_0x23dbaf=_0x23dbaf-0x0;let _0x5f388f=_0x4fc6[_0x23dbaf];return _0x5f388f;};import{Plugin as _0xc2befd}from'ckeditor5/src/core';import{getTranslation as _0x2ed0f2}from'../utils/common-translations';export default class Ct extends _0xc2befd{constructor(_0x15b7ce){super(_0x15b7ce),this['tableProperties']=[_0x5f38('0x19'),_0x5f38('0xd'),'tableBorderWidth',_0x5f38('0x16'),_0x5f38('0x2d'),_0x5f38('0x2a'),_0x5f38('0x18')],this[_0x5f38('0x1e')]=[_0x5f38('0x2f'),_0x5f38('0x23'),_0x5f38('0x30'),_0x5f38('0x26'),'tableCellWidth',_0x5f38('0xa'),'tableCellBackgroundColor','tableCellHorizontalAlignment',_0x5f38('0x24')];}static get['pluginName'](){return'TrackChangesTableProperties';}['afterInit'](){const _0x533e94=this[_0x5f38('0x2')][_0x5f38('0x0')][_0x5f38('0x32')]('TrackChangesEditing');if(this[_0x5f38('0x2')][_0x5f38('0x0')][_0x5f38('0x2c')]('TablePropertiesEditing')){for(const _0x1eb46b of this['tableProperties'])_0x533e94[_0x5f38('0x15')](_0x1eb46b,(_0x33d401,_0x56a750)=>{const _0x21a7a7=this[_0x5f38('0x2')][_0x5f38('0xc')][_0x5f38('0x20')][_0x5f38('0x2b')][_0x5f38('0xf')]()[_0x5f38('0x8')](_0x5f38('0x1f'));this['_handlePropertyChange'](_0x1eb46b,[_0x21a7a7],this[_0x5f38('0x1d')],_0x5f38('0x1d'),_0x33d401,_0x56a750);});_0x533e94['_suggestionFactory'][_0x5f38('0x21')](_0x5f38('0x33'),_0x5f38('0x1d'),'accept',_0x533e94[_0x5f38('0x28')][_0x5f38('0x17')](_0x5f38('0x33'),null,'discard')),_0x533e94['_suggestionFactory'][_0x5f38('0x21')]('formatBlock',_0x5f38('0x1d'),'discard',(_0x323cd5,_0x4dfaf2)=>this[_0x5f38('0x5')](this['tableProperties'],_0x323cd5,_0x4dfaf2)),_0x533e94['_suggestionFactory']['registerCustomCallback'](_0x5f38('0x33'),_0x5f38('0x1d'),'join',()=>!0x1);}if(this[_0x5f38('0x2')][_0x5f38('0x0')][_0x5f38('0x2c')](_0x5f38('0x9'))){for(const _0x2408f8 of this[_0x5f38('0x1e')])_0x533e94[_0x5f38('0x15')](_0x2408f8,(_0x33b161,_0x14164a)=>{const _0x458265=this['editor'][_0x5f38('0x0')][_0x5f38('0x32')](_0x5f38('0x4'))['getSelectionAffectedTableCells'](this['editor']['model'][_0x5f38('0x20')][_0x5f38('0x2b')]);this[_0x5f38('0x1c')](_0x2408f8,_0x458265,this['tableCellProperties'],_0x5f38('0x1e'),_0x33b161,_0x14164a);});_0x533e94['_suggestionFactory'][_0x5f38('0x21')]('formatBlock',_0x5f38('0x1e'),_0x5f38('0x7'),_0x533e94['_suggestionFactory'][_0x5f38('0x17')]('formatBlock',null,'discard')),_0x533e94[_0x5f38('0x28')]['registerCustomCallback']('formatBlock',_0x5f38('0x1e'),_0x5f38('0x14'),(_0x1cc0d4,_0x4e3434)=>this[_0x5f38('0x5')](this[_0x5f38('0x1e')],_0x1cc0d4,_0x4e3434)),_0x533e94[_0x5f38('0x28')]['registerCustomCallback']('formatBlock',_0x5f38('0x1e'),_0x5f38('0x3'),()=>!0x1);}_0x533e94[_0x5f38('0x34')][_0x5f38('0x13')](_0x14fab0=>this['handleSuggestionDescription'](_0x14fab0));}[_0x5f38('0x1c')](_0x1d4837,_0x2795a0,_0x2f70d2,_0x4f0914,_0x227969,_0x345ec5){const _0x4dd63f=this[_0x5f38('0x2')]['plugins'][_0x5f38('0x32')]('TrackChangesEditing');this[_0x5f38('0x2')][_0x5f38('0xc')][_0x5f38('0x31')](_0x345ec5[_0x5f38('0x27')],()=>{for(const _0x4501d3 of _0x2795a0){if(this['_getSuggestion'](_0x4501d3,_0x4f0914))_0x227969(_0x345ec5);else{const _0x1bfcc9={};for(const _0x738bd7 of _0x2f70d2){const _0x3be8cd=_0x4501d3[_0x5f38('0x1')](_0x738bd7);void 0x0!==_0x3be8cd&&(_0x1bfcc9[_0x738bd7]=_0x3be8cd);}_0x227969(_0x345ec5),_0x4dd63f[_0x5f38('0x29')](_0x4501d3,{'commandParams':[_0x1bfcc9]},[],_0x4f0914);}}});}[_0x5f38('0x5')](_0x5dde73,_0x1b8b74,_0xc316bf){const _0x4d5e98=_0x1b8b74[0x0][_0x5f38('0xb')][_0x5f38('0x12')],_0x89cf68=_0xc316bf['commandParams'][0x0];this[_0x5f38('0x2')][_0x5f38('0xc')]['change'](_0x4fd3d6=>{for(const _0x1dd7f0 of _0x5dde73)void 0x0!==_0x89cf68[_0x1dd7f0]?_0x4fd3d6[_0x5f38('0x25')](_0x1dd7f0,_0x89cf68[_0x1dd7f0],_0x4d5e98):_0x4fd3d6[_0x5f38('0x1a')](_0x1dd7f0,_0x4d5e98);});}['handleSuggestionDescription'](_0x360fb0){if(_0x360fb0[_0x5f38('0x22')])switch(_0x360fb0[_0x5f38('0xe')]){case _0x5f38('0x1d'):return{'type':_0x5f38('0x10'),'content':_0x2ed0f2(this[_0x5f38('0x2')][_0x5f38('0x1b')],_0x5f38('0x6'))};case _0x5f38('0x1e'):return{'type':_0x5f38('0x10'),'content':_0x2ed0f2(this[_0x5f38('0x2')][_0x5f38('0x1b')],'*Format:*\x20change\x20table\x20cell\x20properties')};}}[_0x5f38('0x11')](_0x3f0a2c,_0x52e5ea){const _0x5f232f=this[_0x5f38('0x2')][_0x5f38('0x0')][_0x5f38('0x32')]('TrackChangesEditing');for(const _0x4c0acd of _0x5f232f['getSuggestions']({'skipNotAttached':!0x0})){const _0x4cc36a=_0x4c0acd[_0x5f38('0x2e')]();if(_0x4c0acd[_0x5f38('0xe')]===_0x52e5ea&&_0x4cc36a===_0x3f0a2c)return _0x4c0acd;}return null;}}
23
+ const _0x4384=['tableCellPadding','tableProperties','findAncestor','tableWidth','model','*Format:*\x20change\x20table\x20cell\x20properties','tableAlignment','_getSuggestion','markBlockFormat','selection','commandParams','registerCustomCallback','change','tableCellProperties','tableCellBorderColor','getFirstPosition','setAttribute','tableCellBorderStyle','tableBorderWidth','locale','TrackChangesEditing','_suggestionFactory','TableCellPropertiesEditing','nodeAfter','getSuggestionCallback','tableBackgroundColor','accept','tableCellWidth','format','tableCellHorizontalAlignment','removeAttribute','document','tableBorderStyle','get','enqueueChange','enableCommand','table','editor','subType','handleDiscardAction','tableBorderColor','TableUtils','data','handleSuggestionDescription','_descriptionFactory','has','pluginName','plugins','batch','start','discard','tableHeight','tableCellBackgroundColor','_handlePropertyChange','formatBlock','afterInit','getSuggestions'];(function(_0x7f466d,_0x438492){const _0x416f18=function(_0x5cc857){while(--_0x5cc857){_0x7f466d['push'](_0x7f466d['shift']());}};_0x416f18(++_0x438492);}(_0x4384,0x85));const _0x416f=function(_0x7f466d,_0x438492){_0x7f466d=_0x7f466d-0x0;let _0x416f18=_0x4384[_0x7f466d];return _0x416f18;};import{Plugin as _0x15419e}from'ckeditor5/src/core';import{getTranslation as _0xce56c3}from'../utils/common-translations';export default class Ct extends _0x15419e{constructor(_0x2dd503){super(_0x2dd503),this[_0x416f('0x27')]=[_0x416f('0x15'),_0x416f('0xd'),_0x416f('0x38'),_0x416f('0x2c'),_0x416f('0x29'),_0x416f('0x20'),_0x416f('0x6')],this['tableCellProperties']=[_0x416f('0x34'),_0x416f('0x37'),'tableCellBorderWidth',_0x416f('0x26'),_0x416f('0x8'),'tableCellHeight',_0x416f('0x21'),_0x416f('0xa'),'tableCellVerticalAlignment'];}static get[_0x416f('0x1b')](){return'TrackChangesTableProperties';}[_0x416f('0x24')](){const _0x3df9e5=this[_0x416f('0x12')][_0x416f('0x1c')]['get'](_0x416f('0x1'));if(this['editor'][_0x416f('0x1c')][_0x416f('0x1a')]('TablePropertiesEditing')){for(const _0xc394ac of this[_0x416f('0x27')])_0x3df9e5[_0x416f('0x10')](_0xc394ac,(_0x4049c6,_0xf4556c)=>{const _0x491c8f=this['editor'][_0x416f('0x2a')][_0x416f('0xc')][_0x416f('0x2f')][_0x416f('0x35')]()[_0x416f('0x28')](_0x416f('0x11'));this[_0x416f('0x22')](_0xc394ac,[_0x491c8f],this[_0x416f('0x27')],_0x416f('0x27'),_0x4049c6,_0xf4556c);});_0x3df9e5['_suggestionFactory']['registerCustomCallback'](_0x416f('0x23'),_0x416f('0x27'),'accept',_0x3df9e5[_0x416f('0x2')][_0x416f('0x5')](_0x416f('0x23'),null,_0x416f('0x1f'))),_0x3df9e5[_0x416f('0x2')]['registerCustomCallback']('formatBlock',_0x416f('0x27'),'discard',(_0xdde2f6,_0x286138)=>this[_0x416f('0x14')](this[_0x416f('0x27')],_0xdde2f6,_0x286138)),_0x3df9e5['_suggestionFactory'][_0x416f('0x31')](_0x416f('0x23'),_0x416f('0x27'),'join',()=>!0x1);}if(this[_0x416f('0x12')]['plugins'][_0x416f('0x1a')](_0x416f('0x3'))){for(const _0x1941c9 of this[_0x416f('0x33')])_0x3df9e5[_0x416f('0x10')](_0x1941c9,(_0x4a53b4,_0x3c1e2c)=>{const _0x4eca26=this[_0x416f('0x12')]['plugins'][_0x416f('0xe')](_0x416f('0x16'))['getSelectionAffectedTableCells'](this[_0x416f('0x12')][_0x416f('0x2a')][_0x416f('0xc')][_0x416f('0x2f')]);this[_0x416f('0x22')](_0x1941c9,_0x4eca26,this['tableCellProperties'],_0x416f('0x33'),_0x4a53b4,_0x3c1e2c);});_0x3df9e5[_0x416f('0x2')][_0x416f('0x31')](_0x416f('0x23'),'tableCellProperties',_0x416f('0x7'),_0x3df9e5[_0x416f('0x2')][_0x416f('0x5')](_0x416f('0x23'),null,'discard')),_0x3df9e5[_0x416f('0x2')][_0x416f('0x31')]('formatBlock',_0x416f('0x33'),_0x416f('0x1f'),(_0x2fd84a,_0x363ed2)=>this[_0x416f('0x14')](this[_0x416f('0x33')],_0x2fd84a,_0x363ed2)),_0x3df9e5[_0x416f('0x2')][_0x416f('0x31')]('formatBlock','tableCellProperties','join',()=>!0x1);}_0x3df9e5[_0x416f('0x19')]['registerDescriptionCallback'](_0x5eb9f7=>this[_0x416f('0x18')](_0x5eb9f7));}[_0x416f('0x22')](_0x3ee794,_0x492c48,_0x2a72ba,_0x10afde,_0x4083ce,_0x5d6950){const _0x400ca8=this[_0x416f('0x12')][_0x416f('0x1c')][_0x416f('0xe')]('TrackChangesEditing');this[_0x416f('0x12')]['model'][_0x416f('0xf')](_0x5d6950[_0x416f('0x1d')],()=>{for(const _0x4217f5 of _0x492c48){if(this[_0x416f('0x2d')](_0x4217f5,_0x10afde))_0x4083ce(_0x5d6950);else{const _0x3d2621={};for(const _0x488d8b of _0x2a72ba){const _0x28a12a=_0x4217f5['getAttribute'](_0x488d8b);void 0x0!==_0x28a12a&&(_0x3d2621[_0x488d8b]=_0x28a12a);}_0x4083ce(_0x5d6950),_0x400ca8[_0x416f('0x2e')](_0x4217f5,{'commandParams':[_0x3d2621]},[],_0x10afde);}}});}[_0x416f('0x14')](_0x5d13fc,_0x342abf,_0x14d0aa){const _0x2a3ece=_0x342abf[0x0][_0x416f('0x1e')][_0x416f('0x4')],_0x135a8a=_0x14d0aa[_0x416f('0x30')][0x0];this['editor']['model'][_0x416f('0x32')](_0x241a24=>{for(const _0x326b3c of _0x5d13fc)void 0x0!==_0x135a8a[_0x326b3c]?_0x241a24[_0x416f('0x36')](_0x326b3c,_0x135a8a[_0x326b3c],_0x2a3ece):_0x241a24[_0x416f('0xb')](_0x326b3c,_0x2a3ece);});}[_0x416f('0x18')](_0x35b655){if(_0x35b655[_0x416f('0x17')])switch(_0x35b655[_0x416f('0x13')]){case _0x416f('0x27'):return{'type':'format','content':_0xce56c3(this[_0x416f('0x12')][_0x416f('0x0')],'*Format:*\x20change\x20table\x20properties')};case'tableCellProperties':return{'type':_0x416f('0x9'),'content':_0xce56c3(this[_0x416f('0x12')][_0x416f('0x0')],_0x416f('0x2b'))};}}[_0x416f('0x2d')](_0x68d0d9,_0x50a0c8){const _0x5ad400=this[_0x416f('0x12')][_0x416f('0x1c')][_0x416f('0xe')](_0x416f('0x1'));for(const _0x23c9d6 of _0x5ad400[_0x416f('0x25')]({'skipNotAttached':!0x0})){const _0x3efe8b=_0x23c9d6['getContainedElement']();if(_0x23c9d6[_0x416f('0x13')]===_0x50a0c8&&_0x3efe8b===_0x68d0d9)return _0x23c9d6;}return null;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x134c=['Template','afterInit','get','has','enableCommand','insertTemplate','editor','TrackChangesEditing','plugins'];(function(_0x388d51,_0x134cac){const _0x2cae25=function(_0x37a521){while(--_0x37a521){_0x388d51['push'](_0x388d51['shift']());}};_0x2cae25(++_0x134cac);}(_0x134c,0x151));const _0x2cae=function(_0x388d51,_0x134cac){_0x388d51=_0x388d51-0x0;let _0x2cae25=_0x134c[_0x388d51];return _0x2cae25;};import{Plugin as _0x2f4b14}from'ckeditor5/src/core';export default class yt extends _0x2f4b14{[_0x2cae('0x6')](){const _0x5bb2b1=this[_0x2cae('0x2')];_0x5bb2b1[_0x2cae('0x4')][_0x2cae('0x8')](_0x2cae('0x5'))&&_0x5bb2b1[_0x2cae('0x4')][_0x2cae('0x7')](_0x2cae('0x3'))[_0x2cae('0x0')](_0x2cae('0x1'));}}
23
+ const _0x5333=['editor','afterInit','get','enableCommand','plugins','Template','TrackChangesEditing'];(function(_0x244e35,_0x53337e){const _0x227454=function(_0x2b528e){while(--_0x2b528e){_0x244e35['push'](_0x244e35['shift']());}};_0x227454(++_0x53337e);}(_0x5333,0xfc));const _0x2274=function(_0x244e35,_0x53337e){_0x244e35=_0x244e35-0x0;let _0x227454=_0x5333[_0x244e35];return _0x227454;};import{Plugin as _0x593a95}from'ckeditor5/src/core';export default class yt extends _0x593a95{[_0x2274('0x1')](){const _0x4a50c8=this[_0x2274('0x0')];_0x4a50c8[_0x2274('0x4')]['has'](_0x2274('0x5'))&&_0x4a50c8[_0x2274('0x4')][_0x2274('0x2')](_0x2274('0x6'))[_0x2274('0x3')]('insertTemplate');}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2fd4=['Title','isCollapsed','locale','_descriptionFactory','nodeBefore','element','title-content','getChangedMarkers','get','end','schema','suggestion','updateMarker','model','registerElementLabel','document','plugins','_splitMarkerName','isEqual','registerPostFixer','has','start','newRange','getNearestSelectionRange'];(function(_0x20decc,_0x2fd436){const _0x2a48eb=function(_0x5d7caa){while(--_0x5d7caa){_0x20decc['push'](_0x20decc['shift']());}};_0x2a48eb(++_0x2fd436);}(_0x2fd4,0x6c));const _0x2a48=function(_0x20decc,_0x2fd436){_0x20decc=_0x20decc-0x0;let _0x2a48eb=_0x2fd4[_0x20decc];return _0x2a48eb;};import{Plugin as _0x44792d}from'ckeditor5/src/core';import{getTranslation as _0x583708}from'../utils/common-translations';export default class St extends _0x44792d{['afterInit'](){const _0x107c17=this['editor'];if(!_0x107c17[_0x2a48('0x4')][_0x2a48('0x8')](_0x2a48('0xc')))return;const _0x22540a=_0x107c17[_0x2a48('0x4')][_0x2a48('0x14')]('TrackChangesEditing');_0x22540a[_0x2a48('0xf')][_0x2a48('0x2')](_0x2a48('0x12'),()=>_0x583708(_0x107c17[_0x2a48('0xe')],'ELEMENT_TITLE')),_0x107c17[_0x2a48('0x1')][_0x2a48('0x3')][_0x2a48('0x7')](_0x205579=>{let _0x2a7153=!0x1;const _0x4af6d3=Array['from'](_0x107c17[_0x2a48('0x1')][_0x2a48('0x3')]['differ'][_0x2a48('0x13')]());for(const {name:_0x9c200,data:_0x294db4}of _0x4af6d3){const {group:_0x38f28b}=_0x22540a[_0x2a48('0x5')](_0x9c200);if(_0x2a48('0x17')!==_0x38f28b||!_0x294db4[_0x2a48('0xa')])continue;const _0x2e872a=_0x294db4[_0x2a48('0xa')],_0x15c4fd=_0x2e872a[_0x2a48('0x15')][_0x2a48('0x10')];if(!_0x15c4fd||!_0x15c4fd['is'](_0x2a48('0x11'),_0x2a48('0x12')))continue;if(!_0x2e872a[_0x2a48('0x9')]['isTouching'](_0x2e872a[_0x2a48('0x15')]))continue;const _0x155502=_0x107c17['model'][_0x2a48('0x16')][_0x2a48('0xb')](_0x2e872a['end'],'forward');if(_0x155502&&_0x155502[_0x2a48('0xd')]){const _0x44f0fe=_0x205579['createRange'](_0x2e872a[_0x2a48('0x9')],_0x155502[_0x2a48('0x9')]);_0x44f0fe[_0x2a48('0x6')](_0x2e872a)||(_0x205579[_0x2a48('0x0')](_0x9c200,{'range':_0x44f0fe}),_0x2a7153=!0x0);}_0x2a7153||(_0x205579['removeMarker'](_0x9c200),_0x2a7153=!0x0);}return _0x2a7153;});}}
23
+ const _0x43d3=['registerElementLabel','end','get','schema','nodeBefore','document','start','forward','_splitMarkerName','isEqual','title-content','locale','newRange','editor','has','createRange','Title','removeMarker','TrackChangesEditing','from','model','ELEMENT_TITLE','afterInit','isCollapsed','differ'];(function(_0x1490ab,_0x43d357){const _0x5e1ae6=function(_0x6d3bbe){while(--_0x6d3bbe){_0x1490ab['push'](_0x1490ab['shift']());}};_0x5e1ae6(++_0x43d357);}(_0x43d3,0xba));const _0x5e1a=function(_0x1490ab,_0x43d357){_0x1490ab=_0x1490ab-0x0;let _0x5e1ae6=_0x43d3[_0x1490ab];return _0x5e1ae6;};import{Plugin as _0x1029ff}from'ckeditor5/src/core';import{getTranslation as _0x28162d}from'../utils/common-translations';export default class St extends _0x1029ff{[_0x5e1a('0xb')](){const _0x1975e3=this[_0x5e1a('0x2')];if(!_0x1975e3['plugins'][_0x5e1a('0x3')](_0x5e1a('0x5')))return;const _0x4d5e40=_0x1975e3['plugins'][_0x5e1a('0x10')](_0x5e1a('0x7'));_0x4d5e40['_descriptionFactory'][_0x5e1a('0xe')](_0x5e1a('0x18'),()=>_0x28162d(_0x1975e3[_0x5e1a('0x0')],_0x5e1a('0xa'))),_0x1975e3['model'][_0x5e1a('0x13')]['registerPostFixer'](_0x1ee7a4=>{let _0x48e03d=!0x1;const _0x377da8=Array[_0x5e1a('0x8')](_0x1975e3[_0x5e1a('0x9')][_0x5e1a('0x13')][_0x5e1a('0xd')]['getChangedMarkers']());for(const {name:_0x49b1af,data:_0x2ac4e4}of _0x377da8){const {group:_0x561562}=_0x4d5e40[_0x5e1a('0x16')](_0x49b1af);if('suggestion'!==_0x561562||!_0x2ac4e4[_0x5e1a('0x1')])continue;const _0x55961a=_0x2ac4e4['newRange'],_0xaa9b68=_0x55961a[_0x5e1a('0xf')][_0x5e1a('0x12')];if(!_0xaa9b68||!_0xaa9b68['is']('element','title-content'))continue;if(!_0x55961a['start']['isTouching'](_0x55961a[_0x5e1a('0xf')]))continue;const _0x297f43=_0x1975e3[_0x5e1a('0x9')][_0x5e1a('0x11')]['getNearestSelectionRange'](_0x55961a['end'],_0x5e1a('0x15'));if(_0x297f43&&_0x297f43[_0x5e1a('0xc')]){const _0x218670=_0x1ee7a4[_0x5e1a('0x4')](_0x55961a[_0x5e1a('0x14')],_0x297f43['start']);_0x218670[_0x5e1a('0x17')](_0x55961a)||(_0x1ee7a4['updateMarker'](_0x49b1af,{'range':_0x218670}),_0x48e03d=!0x0);}_0x48e03d||(_0x1ee7a4[_0x5e1a('0x6')](_0x49b1af),_0x48e03d=!0x0);}return _0x48e03d;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x253e=['afterInit','editor','TrackChangesEditing','undo','UndoEditing','plugins','redo','enableCommand'];(function(_0x44efdc,_0x253e34){const _0x2b4500=function(_0x47f3ad){while(--_0x47f3ad){_0x44efdc['push'](_0x44efdc['shift']());}};_0x2b4500(++_0x253e34);}(_0x253e,0x185));const _0x2b45=function(_0x44efdc,_0x253e34){_0x44efdc=_0x44efdc-0x0;let _0x2b4500=_0x253e[_0x44efdc];return _0x2b4500;};import{Plugin as _0x14b892}from'ckeditor5/src/core';export default class It extends _0x14b892{[_0x2b45('0x3')](){const _0x47fe19=this[_0x2b45('0x4')],_0x23e656=_0x47fe19[_0x2b45('0x0')]['get'](_0x2b45('0x5'));_0x47fe19[_0x2b45('0x0')]['has'](_0x2b45('0x7'))&&(_0x23e656[_0x2b45('0x2')](_0x2b45('0x6')),_0x23e656[_0x2b45('0x2')](_0x2b45('0x1')));}}
23
+ const _0x1e85=['has','afterInit','editor','TrackChangesEditing','plugins','UndoEditing','get','redo','enableCommand'];(function(_0xc151bc,_0x1e855b){const _0x43c950=function(_0x5eccc5){while(--_0x5eccc5){_0xc151bc['push'](_0xc151bc['shift']());}};_0x43c950(++_0x1e855b);}(_0x1e85,0x96));const _0x43c9=function(_0xc151bc,_0x1e855b){_0xc151bc=_0xc151bc-0x0;let _0x43c950=_0x1e85[_0xc151bc];return _0x43c950;};import{Plugin as _0x5eaa48}from'ckeditor5/src/core';export default class It extends _0x5eaa48{[_0x43c9('0x4')](){const _0x4b070d=this[_0x43c9('0x5')],_0x40d3c3=_0x4b070d[_0x43c9('0x7')][_0x43c9('0x0')](_0x43c9('0x6'));_0x4b070d[_0x43c9('0x7')][_0x43c9('0x3')](_0x43c9('0x8'))&&(_0x40d3c3['enableCommand']('undo'),_0x40d3c3[_0x43c9('0x2')](_0x43c9('0x1')));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x7c46=['ck-suggestion-marker-','bindElementToMarker','writer','listItem','element','getCustomProperty','schema','isContent','previousPosition','TrackChangesEditing','get','mapper','item','nextSibling','isLimit','getWalker','isBlock','addClass','name','includes','parent','getAttribute','test','push','isAtEnd','markerRange','createRangeOn','activeMarkers','elementEnd','consumable','toViewElement','hasAttribute','span','addHighlight','createUIElement','start','model','markerName'];(function(_0x1299fe,_0x7c46e){const _0x4bf5b0=function(_0x3b7586){while(--_0x3b7586){_0x1299fe['push'](_0x1299fe['shift']());}};_0x4bf5b0(++_0x7c46e);}(_0x7c46,0xb2));const _0x4bf5=function(_0x1299fe,_0x7c46e){_0x1299fe=_0x1299fe-0x0;let _0x4bf5b0=_0x7c46[_0x1299fe];return _0x4bf5b0;};export function getRangesWithAttribute(_0x32de97,_0x576000,_0x3679cd){const _0x25551c=[];for(const _0x306a2e of _0x576000['getItems']())_0x306a2e[_0x4bf5('0x5')](_0x32de97)&&_0x25551c[_0x4bf5('0x23')](_0x3679cd[_0x4bf5('0x0')](_0x306a2e));return _0x25551c;}export function getElementsAffectedByListItemRename(_0x4c34b6){const _0x51943f=[];if(_0x4c34b6['is'](_0x4bf5('0x10'),_0x4bf5('0xf'))){let _0x403d60=_0x4c34b6['nextSibling'];for(;_0x403d60&&_0x403d60['is'](_0x4bf5('0x10'),'listItem')&&_0x403d60[_0x4bf5('0x21')]('listIndent')>0x0;)_0x51943f[_0x4bf5('0x23')](_0x403d60),_0x403d60=_0x403d60['nextSibling'];}return _0x51943f;}export function downcastSplitMergeMarker(_0x23f3e2,_0x4d79a2,{showActiveMarker:_0x4736e5=!0x0}={}){const _0x1d3859=_0x23f3e2['plugins'][_0x4bf5('0x16')](_0x4bf5('0x15'));return(_0x3756ce,_0x57c424,_0x44de11)=>{if(!_0x44de11[_0x4bf5('0x3')][_0x4bf5('0x22')](_0x57c424['markerRange'],_0x3756ce[_0x4bf5('0x1e')]))return;const _0x100a5a=_0x57c424[_0x4bf5('0x25')][_0x4bf5('0x1b')](),_0x2ec3b3=_0x57c424[_0x4bf5('0x25')][_0x4bf5('0x9')],_0x31ecbd=_0x23f3e2[_0x4bf5('0xa')][_0x4bf5('0x12')];let _0x10b2a7=null,_0x4c29de=null,_0x32c123=!0x1,_0x7809b6=!0x1;for(const _0x50a91f of _0x100a5a){const _0x4bca57=_0x50a91f[_0x4bf5('0x18')];_0x32c123=_0x32c123||_0x31ecbd[_0x4bf5('0x13')](_0x4bca57);const _0x4d4cb1=_0x44de11[_0x4bf5('0x17')][_0x4bf5('0x4')](_0x4bca57);if(_0x4d4cb1&&_0x4d4cb1[_0x4bf5('0x11')](_0x4bf5('0x7')))return;_0x4bf5('0x2')==_0x50a91f['type']&&(_0x31ecbd[_0x4bf5('0x1c')](_0x4bca57)&&!_0x31ecbd[_0x4bf5('0x1a')](_0x4bca57)&&(_0x4bca57[_0x4bf5('0x19')]||_0x2ec3b3[_0x4bf5('0x24')]?_0x10b2a7&&_0x10b2a7[_0x4bf5('0x20')]==_0x4bca57||(_0x10b2a7=_0x4bca57,_0x4850b4(_0x50a91f[_0x4bf5('0x14')]),_0x7809b6=!0x0):_0x4c29de=_0x4c29de||_0x50a91f[_0x4bf5('0x14')]));}function _0x4850b4(_0x14f14a){const _0x3fc465=_0x44de11[_0x4bf5('0xe')][_0x4bf5('0x8')](_0x4bf5('0x6'),{'class':_0x4bf5('0xc')+_0x4d79a2}),_0x34e0a5=_0x44de11['mapper']['toViewPosition'](_0x14f14a);_0x4736e5&&_0x1d3859[_0x4bf5('0x1')][_0x4bf5('0x1f')](_0x57c424[_0x4bf5('0xb')])&&_0x44de11['writer'][_0x4bf5('0x1d')]('ck-suggestion-marker--active',_0x3fc465),_0x44de11[_0x4bf5('0xe')]['insert'](_0x34e0a5,_0x3fc465),_0x44de11['mapper'][_0x4bf5('0xd')](_0x3fc465,_0x57c424[_0x4bf5('0xb')]);}_0x32c123||_0x7809b6||!_0x4c29de||_0x4850b4(_0x4c29de);};}
23
+ const _0xd935=['consumable','isBlock','listItem','addClass','element','toViewElement','plugins','nextSibling','name','item','elementEnd','mapper','get','previousPosition','isAtEnd','getItems','hasAttribute','includes','getCustomProperty','push','activeMarkers','getWalker','createUIElement','markerRange','isLimit','type','bindElementToMarker','getAttribute','listIndent','writer'];(function(_0x544305,_0xd93505){const _0x341c26=function(_0x55168c){while(--_0x55168c){_0x544305['push'](_0x544305['shift']());}};_0x341c26(++_0xd93505);}(_0xd935,0x1c6));const _0x341c=function(_0x544305,_0xd93505){_0x544305=_0x544305-0x0;let _0x341c26=_0xd935[_0x544305];return _0x341c26;};export function getRangesWithAttribute(_0x173538,_0x2b8fb1,_0x4552da){const _0x59b058=[];for(const _0x3ce25d of _0x2b8fb1[_0x341c('0xb')]())_0x3ce25d[_0x341c('0xc')](_0x173538)&&_0x59b058[_0x341c('0xf')](_0x4552da['createRangeOn'](_0x3ce25d));return _0x59b058;}export function getElementsAffectedByListItemRename(_0x345daa){const _0x38b6c3=[];if(_0x345daa['is'](_0x341c('0x0'),_0x341c('0x1c'))){let _0x3e40dc=_0x345daa['nextSibling'];for(;_0x3e40dc&&_0x3e40dc['is'](_0x341c('0x0'),_0x341c('0x1c'))&&_0x3e40dc[_0x341c('0x17')](_0x341c('0x18'))>0x0;)_0x38b6c3['push'](_0x3e40dc),_0x3e40dc=_0x3e40dc[_0x341c('0x3')];}return _0x38b6c3;}export function downcastSplitMergeMarker(_0x56c234,_0x58af95,{showActiveMarker:_0x1869a1=!0x0}={}){const _0x55c375=_0x56c234[_0x341c('0x2')][_0x341c('0x8')]('TrackChangesEditing');return(_0x2214aa,_0x13a0e1,_0x4e4967)=>{if(!_0x4e4967[_0x341c('0x1a')]['test'](_0x13a0e1[_0x341c('0x13')],_0x2214aa[_0x341c('0x4')]))return;const _0x3a175a=_0x13a0e1['markerRange'][_0x341c('0x11')](),_0x550cc7=_0x13a0e1[_0x341c('0x13')]['start'],_0xbfd39b=_0x56c234['model']['schema'];let _0x17d789=null,_0x105756=null,_0x2dddfa=!0x1,_0x5b3e6a=!0x1;for(const _0x17f2c2 of _0x3a175a){const _0x515604=_0x17f2c2[_0x341c('0x5')];_0x2dddfa=_0x2dddfa||_0xbfd39b['isContent'](_0x515604);const _0x19101e=_0x4e4967[_0x341c('0x7')][_0x341c('0x1')](_0x515604);if(_0x19101e&&_0x19101e[_0x341c('0xe')]('addHighlight'))return;_0x341c('0x6')==_0x17f2c2[_0x341c('0x15')]&&(_0xbfd39b[_0x341c('0x1b')](_0x515604)&&!_0xbfd39b[_0x341c('0x14')](_0x515604)&&(_0x515604[_0x341c('0x3')]||_0x550cc7[_0x341c('0xa')]?_0x17d789&&_0x17d789['parent']==_0x515604||(_0x17d789=_0x515604,_0x580497(_0x17f2c2[_0x341c('0x9')]),_0x5b3e6a=!0x0):_0x105756=_0x105756||_0x17f2c2[_0x341c('0x9')]));}function _0x580497(_0x3ee18f){const _0x218aa1=_0x4e4967[_0x341c('0x19')][_0x341c('0x12')]('span',{'class':'ck-suggestion-marker-'+_0x58af95}),_0x23fcbc=_0x4e4967[_0x341c('0x7')]['toViewPosition'](_0x3ee18f);_0x1869a1&&_0x55c375[_0x341c('0x10')][_0x341c('0xd')](_0x13a0e1['markerName'])&&_0x4e4967[_0x341c('0x19')][_0x341c('0x1d')]('ck-suggestion-marker--active',_0x218aa1),_0x4e4967['writer']['insert'](_0x23fcbc,_0x218aa1),_0x4e4967[_0x341c('0x7')][_0x341c('0x16')](_0x218aa1,_0x13a0e1['markerName']);}_0x2dddfa||_0x5b3e6a||!_0x105756||_0x580497(_0x105756);};}