@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20230707.0 → 0.0.0-nightly-20230709.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 (64) 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.js +1 -1
  59. package/src/trackchangesui.js +1 -1
  60. package/src/ui/suggestioncontroller.js +1 -1
  61. package/src/ui/view/basesuggestionthreadview.js +1 -1
  62. package/src/ui/view/suggestionthreadview.js +1 -1
  63. package/src/utils/common-translations.js +1 -1
  64. package/src/utils/utils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x518e=['ck-suggestion-marker--active','tableCellVerticalAlignment','nodeAfter','tableCellBackgroundColor','add','batch','rowInsertionRanges','editing','markerToHighlight','formatBlock','discard','getChild','getAttributes','createElement','containsRange','getRange','listenTo','markerAttributes','return','push','row','columns','elementToElement','_replaceTableSlotCell','suggestion','columnInsertionRanges','fill','findAncestor','markers','keys','for','_descriptionFactory','insert','trackChanges','rowInsertionIndexes','oldRange','markerName','has','getRows','_splitMarkerName','tableCell','nextSibling','isInContent','subType','move','getColumns','last','tableCellBorderStyle','unwrap','end','ck-suggestion-marker-insertion','createPositionBefore','tablePaste','from','removeMarkers','getShiftedBy','getChangedMarkers','TableClipboard','registerPostFixer','selection','registerCustomCallback','entries','getTableIfOnlyTableInContent','set','createTableWalker','type','redo','plugins','removeMarker','differ','createRange','editingDowncast','deletionRanges','getRowIndexes','getRanges','conversion','createRangeOn','suggestion-td','length','setAttribute','activeMarkers','high','attributes','next','markMultiRangeDeletion','rootName','_suggestionFactory','markMultiRangeBlockFormat','suggestion:formatBlock:tablePasteCell','document','forceDefaultExecution','tableCellHorizontalAlignment','requires','endColumn','remove','suggestionLoaded','Users','reduce','commands','columnInsertionIndexes','editor','getItems','startsWith','first','find','tablePasteColumn','content','locale','setAttributes','cells','getMarkers','position','accept','updateMarker','getChildren','tableCellSuggestion','filter','dataDowncast','insertion','start','join','afterInit','isEmpty','_tablePostFixingSubtypes','ck-suggestion-marker','_getCoordsForCells','includes','fromEntries','options','element','tablePasteRow','clipboardOutput','value','previous','author','low','get','cell','getAllAdjacentSuggestions','map','endRow','isEqual','model','markMultiRangeInsertion','deletion','wrap','getContainedElement','table','insertContent','getChanges','paragraph','showSuggestionHighlights','createRangeIn','change','_isForcedDefaultExecutionBlock','getColumnIndexes','tablePasteChainId','insertColumns','name','tablePasteCell','previousSibling','view','stop','getSuggestions'];(function(_0x133208,_0x518e63){const _0x518b79=function(_0x5a3b01){while(--_0x5a3b01){_0x133208['push'](_0x133208['shift']());}};_0x518b79(++_0x518e63);}(_0x518e,0xb4));const _0x518b=function(_0x133208,_0x518e63){_0x133208=_0x133208-0x0;let _0x518b79=_0x518e[_0x133208];return _0x518b79;};import{getTranslation as _0x1f4476}from'../utils/common-translations';import{Plugin as _0x48778c}from'ckeditor5/src/core';import{uid as _0x2bea19,priorities as _0x1bc9be}from'ckeditor5/src/utils';import _0x3959ae from'./table';const le=['tableCellBorderWidth','tableCellBorderColor',_0x518b('0x1f'),_0x518b('0x4b'),_0x518b('0x95'),_0x518b('0x97'),'tableCellPadding'],ae=Object[_0x518b('0x6f')](le[_0x518b('0x7b')](_0x23c960=>[_0x23c960,null]));export default class kt extends _0x48778c{static get[_0x518b('0x4c')](){return[_0x3959ae];}[_0x518b('0x69')](){const _0x7bc825=this[_0x518b('0x54')];if(!_0x7bc825[_0x518b('0x33')][_0x518b('0x15')](_0x518b('0x29')))return;const _0x183710=_0x7bc825[_0x518b('0x33')]['get']('TrackChangesEditing'),_0x145b97=_0x7bc825['plugins'][_0x518b('0x78')]('TableUtils'),_0x21af34=_0x7bc825[_0x518b('0x33')][_0x518b('0x78')](_0x3959ae),_0x2ac2da=_0x7bc825['plugins'][_0x518b('0x78')](_0x518b('0x29'));_0x21af34[_0x518b('0x6b')][_0x518b('0x3')](_0x518b('0x72'),_0x518b('0x59')),_0x7bc825[_0x518b('0x7e')]['schema']['register'](_0x518b('0x63'),{'allowIn':_0x518b('0x18'),'allowContentOf':_0x518b('0x18'),'isLimit':!0x0}),_0x7bc825[_0x518b('0x3b')][_0x518b('0x6')]({'model':_0x518b('0x63'),'view':'suggestion-td'});let _0x14591e=null;_0x7bc825[_0x518b('0x7e')]['on'](_0x518b('0x84'),(_0x8122cb,_0x2d0a74)=>{const [_0x2ca019,_0x4ea34e]=_0x2d0a74,_0x2f18d9=_0x2d0a74[_0x2d0a74[_0x518b('0x3e')]-0x1];_0x2f18d9&&_0x2f18d9[_0x518b('0x4a')]||_0x183710[_0x518b('0x8a')]||this['editor'][_0x518b('0x52')][_0x518b('0x78')](_0x518b('0x11'))[_0x518b('0x74')]&&function(_0x3d5368,_0x2cd6fd,_0x5ee100,_0x14d07f,_0x5939ca){if(_0x2cd6fd&&!_0x2cd6fd['is']('documentSelection'))return!0x1;const _0x3d9092=_0x5939ca[_0x518b('0x2e')](_0x3d5368,_0x5ee100);if(!_0x3d9092||!fe(_0x3d9092,void 0x0,_0x14d07f))return!0x1;const _0x3c2192=_0x14d07f['getSelectionAffectedTableCells'](_0x5ee100[_0x518b('0x49')][_0x518b('0x2b')]);if(!_0x3c2192['length'])return!0x1;const _0x45ef84=_0x3c2192[0x0][_0x518b('0xb')](_0x518b('0x83')),_0x5b974b=_0x14d07f[_0x518b('0x39')](_0x3c2192),_0x1c79c7=_0x14d07f[_0x518b('0x8b')](_0x3c2192),_0x350bfb={'startRow':_0x5b974b[_0x518b('0x57')],'endRow':_0x5b974b['last'],'startColumn':_0x1c79c7[_0x518b('0x57')],'endColumn':_0x1c79c7[_0x518b('0x1e')]};return 0x1==_0x3c2192[_0x518b('0x3e')]&&(_0x350bfb[_0x518b('0x7c')]+=_0x14d07f[_0x518b('0x16')](_0x3d9092)-0x1,_0x350bfb[_0x518b('0x4d')]+=_0x14d07f[_0x518b('0x1d')](_0x3d9092)-0x1),fe(_0x45ef84,_0x350bfb,_0x14d07f);}(_0x2ca019,_0x4ea34e,_0x7bc825['model'],_0x145b97,_0x2ac2da)&&(_0x8122cb['stop'](),_0x14591e={'cells':[],'insertionRanges':[],'deletionRanges':[],'rowInsertionRanges':[],'rowInsertionIndexes':[],'columnInsertionRanges':[],'columnInsertionIndexes':[]},_0x7bc825[_0x518b('0x7e')][_0x518b('0x89')](()=>{_0x7bc825[_0x518b('0x7e')][_0x518b('0x84')](_0x2d0a74[0x0],_0x2d0a74[0x1],_0x2d0a74[0x2],{'forceDefaultExecution':!0x0});const _0x38234f=_0x2bea19(),{rowInsertionRanges:_0x2a6cc9,columnInsertionRanges:_0x6ba546,insertionRanges:_0x43d053,deletionRanges:_0x221cf8,cells:_0x5a33a6}=_0x14591e;_0x2a6cc9[_0x518b('0x3e')]&&_0x183710['markMultiRangeInsertion'](_0x2a6cc9,_0x518b('0x72'),{'tablePasteChainId':_0x38234f}),_0x6ba546[_0x518b('0x3e')]&&_0x183710[_0x518b('0x7f')](_0x6ba546,'tablePasteColumn',{'tablePasteChainId':_0x38234f}),_0x43d053[_0x518b('0x3e')]&&_0x183710[_0x518b('0x7f')](_0x43d053,'tablePaste',{'tablePasteChainId':_0x38234f,'skipNestingCheck':!0x0}),_0x221cf8[_0x518b('0x3e')]&&_0x183710[_0x518b('0x44')](_0x221cf8,_0x518b('0x24'),{'tablePasteChainId':_0x38234f,'skipNestingCheck':!0x0});const _0x30770c=_0x183710[_0x518b('0x47')](_0x5a33a6[_0x518b('0x7b')](({element:_0x35630c})=>_0x35630c),{'formatGroupId':_0x2bea19()},[],_0x518b('0x8f'),{'tablePasteChainId':_0x38234f});if(_0x30770c){const _0x34c396=_0x30770c[_0x518b('0x5e')](),_0x5f4bf6=[];for(const {element:_0x30376f,attributes:_0x10a3ec}of _0x5a33a6){if(!_0x10a3ec)continue;const _0x3f20dd=_0x7bc825[_0x518b('0x7e')]['createRangeOn'](_0x30376f),_0x362dfd=_0x34c396[_0x518b('0x58')](_0xbdbde8=>_0xbdbde8[_0x518b('0xa3')]()[_0x518b('0x7d')](_0x3f20dd));_0x362dfd&&_0x5f4bf6['push']([_0x362dfd[_0x518b('0x8e')],_0x10a3ec]);}_0x5f4bf6['length']&&_0x30770c[_0x518b('0x3f')]('markerAttributes',Object[_0x518b('0x6f')](_0x5f4bf6));}_0x14591e=null;}));},{'priority':_0x1bc9be[_0x518b('0x41')]+0xa}),_0x7bc825[_0x518b('0x33')][_0x518b('0x78')]('TableClipboard')['on'](_0x518b('0x7'),(_0x2234ef,_0x48f9ce)=>{const [_0x62e9bd,_0x3a01e2,,_0x6cfceb]=_0x48f9ce;if(!_0x14591e)return;_0x2234ef[_0x518b('0x92')]();const _0x2d224f=_0x62e9bd[_0x518b('0x79')],_0x5c4806=_0x3a01e2,_0x310778=ce(_0x2d224f),_0x46d49c=ce(_0x5c4806);_0x2234ef[_0x518b('0x2')]=_0x2d224f;let _0x95b05b=null,_0x3d5531=null;if(_0x46d49c||_0x310778){if(_0x310778&&!_0x46d49c){_0x6cfceb[_0x518b('0x4e')](_0x2d224f[_0x518b('0x9f')](0x0));for(const _0x58a421 of Array[_0x518b('0x25')](_0x5c4806[_0x518b('0x62')]()))_0x6cfceb[_0x518b('0x10')](_0x58a421,_0x2d224f,_0x518b('0x21'));const _0x5bbf7f=_0x14591e[_0x518b('0x12')][_0x518b('0x6e')](_0x62e9bd[_0x518b('0x4')]),_0x55526c=_0x14591e[_0x518b('0x53')]['includes'](_0x62e9bd['column']);_0x5bbf7f||_0x55526c||(_0x95b05b=_0x6cfceb[_0x518b('0x88')](_0x2d224f));}else _0x46d49c&&!_0x310778&&(_0x3d5531=_0x6cfceb[_0x518b('0x88')](_0x2d224f));}else{const _0x3f81de=_0x6cfceb[_0x518b('0xa1')](_0x518b('0x63')),_0x5be8f4=_0x6cfceb[_0x518b('0xa1')](_0x518b('0x63'));_0x6cfceb[_0x518b('0x81')](_0x6cfceb[_0x518b('0x88')](_0x2d224f),_0x5be8f4),_0x6cfceb[_0x518b('0x10')](_0x3f81de,_0x2d224f,0x0);for(const _0xf624b of Array[_0x518b('0x25')](_0x5c4806[_0x518b('0x62')]()))_0x6cfceb[_0x518b('0x10')](_0xf624b,_0x3f81de,_0x518b('0x21'));_0x95b05b=_0x6cfceb[_0x518b('0x3c')](_0x3f81de),_0x3d5531=_0x6cfceb['createRangeOn'](_0x5be8f4);}const _0x52fa96=Array[_0x518b('0x25')](_0x5c4806[_0x518b('0xa0')]())[_0x518b('0x64')](([_0x561f9d])=>le[_0x518b('0x6e')](_0x561f9d));_0x14591e[_0x518b('0x5d')]['push']({'element':_0x2d224f,'attributes':_0x52fa96['length']?Object[_0x518b('0x6f')](_0x52fa96):null}),_0x95b05b&&_0x14591e['insertionRanges'][_0x518b('0x3')](_0x95b05b),_0x3d5531&&_0x14591e[_0x518b('0x38')][_0x518b('0x3')](_0x3d5531);},{'priority':_0x518b('0x41')}),_0x145b97['on'](_0x518b('0x8d'),(_0x13425d,_0x4c8b5c)=>{const [_0xe87530,_0x22897e={}]=_0x4c8b5c;if(!_0x14591e)return;const _0x49ae31=_0x22897e['at']||0x0,_0x2330f7=_0x22897e[_0x518b('0x5')]||0x1;_0x14591e[_0x518b('0x53')]=new Array(_0x2330f7)[_0x518b('0xa')](_0x49ae31)[_0x518b('0x7b')]((_0x2f1068,_0x59739f)=>_0x2f1068+_0x59739f);for(const {cell:_0x99abdd}of _0x145b97[_0x518b('0x30')](_0xe87530,{'startColumn':_0x49ae31,'endColumn':_0x49ae31+_0x2330f7-0x1}))_0x14591e[_0x518b('0x9')][_0x518b('0x3')](_0x7bc825[_0x518b('0x7e')]['createRangeOn'](_0x99abdd));},{'priority':_0x518b('0x77')}),_0x145b97['on']('insertRows',(_0xee147,_0x2e2fd1)=>{const [_0x2bfcf6,_0x3c4812={}]=_0x2e2fd1;if(!_0x14591e)return;const _0x2b8403=_0x3c4812['at']||0x0,_0x23734b=_0x3c4812['rows']||0x1;_0x14591e[_0x518b('0x12')]=new Array(_0x23734b)[_0x518b('0xa')](_0x2b8403)['map']((_0x4bf993,_0x3faad2)=>_0x4bf993+_0x3faad2);for(const {cell:_0x53d8e2}of _0x145b97[_0x518b('0x30')](_0x2bfcf6,{'startRow':_0x2b8403,'endRow':_0x2b8403+_0x23734b-0x1}))_0x14591e[_0x518b('0x9a')][_0x518b('0x3')](_0x7bc825[_0x518b('0x7e')][_0x518b('0x3c')](_0x53d8e2));},{'priority':_0x518b('0x77')}),_0x183710[_0x518b('0xf')]['registerDescriptionCallback'](_0x37813d=>{if(_0x37813d[_0x518b('0x1b')]&&_0x37813d[_0x518b('0x1b')]['startsWith']('tablePaste'))return _0x37813d[_0x518b('0x75')]?{}:{'type':_0x518b('0x66'),'content':_0x1f4476(_0x7bc825[_0x518b('0x5b')],'*Replace\x20table\x20cells*')};});const _0x474632=()=>{};for(const _0x3caf0c of[_0x518b('0x24'),_0x518b('0x59'),_0x518b('0x72'),_0x518b('0x8f')])_0x183710[_0x518b('0x46')][_0x518b('0x2c')](_0x518b('0x66'),_0x3caf0c,_0x518b('0x68'),_0x474632),_0x183710[_0x518b('0x46')][_0x518b('0x2c')](_0x518b('0x80'),_0x3caf0c,_0x518b('0x68'),_0x474632);_0x183710['_suggestionFactory'][_0x518b('0x2c')](_0x518b('0x9d'),'tablePasteCell',_0x518b('0x9e'),_0x474632),_0x183710[_0x518b('0x46')]['registerCustomCallback'](_0x518b('0x9d'),_0x518b('0x8f'),_0x518b('0x60'),(_0x371da9,_0xe8aed9,_0xeeafea)=>{const _0x26672d=_0x371da9['map'](_0x3ff6bc=>_0x3ff6bc['getContainedElement']())[_0x518b('0x64')](_0xa5b1fb=>_0xa5b1fb),_0x4d270f=new Map(_0x26672d[_0x518b('0x7b')](_0xa3836f=>[_0xa3836f,null]));if(_0x14591e)for(const {element:_0x507361,attributes:_0x59c74b}of _0x14591e[_0x518b('0x5d')])_0x59c74b&&_0x4d270f[_0x518b('0x2f')](_0x507361,_0x59c74b);else{if(_0xeeafea&&_0xeeafea['markerAttributes'])for(const [_0x4c903e,_0x302074]of Object[_0x518b('0x2d')](_0xeeafea['markerAttributes'])){const _0x18912b=_0x7bc825[_0x518b('0x7e')][_0x518b('0xc')][_0x518b('0x78')](_0x4c903e),_0x3f47c1=_0x18912b?_0x18912b[_0x518b('0xa3')]()[_0x518b('0x82')]():null;_0x3f47c1&&_0x4d270f[_0x518b('0x2f')](_0x3f47c1,_0x302074);}}_0x7bc825['model'][_0x518b('0x89')](_0x3e56c4=>{for(const [_0x290a02,_0x5412c]of _0x4d270f)_0x3e56c4[_0x518b('0x5c')]({...ae,..._0x5412c},_0x290a02);});});const _0x40defa=(_0x44ac60,_0x1f4cda)=>{_0x183710[_0x518b('0x46')][_0x518b('0x2c')](_0x44ac60,'tablePaste',_0x1f4cda,(_0x1a2929,_0x5c7fd7,_0x124b1c)=>{_0x7bc825[_0x518b('0x7e')][_0x518b('0x89')](_0x52021=>{const _0x2db8a1=[];for(const _0x3fa532 of _0x1a2929){const _0x422589=_0x3fa532[_0x518b('0x67')][_0x518b('0x96')];_0x422589['is']('element',_0x518b('0x63'))&&_0x2db8a1['push'](_0x422589);}_0x183710[_0x518b('0x46')]['getSuggestionCallback'](_0x44ac60,null,_0x1f4cda)(_0x1a2929,_0x5c7fd7,_0x124b1c);for(const _0x4cdcad of _0x2db8a1)'$graveyard'!=_0x4cdcad['root'][_0x518b('0x45')]&&_0x52021[_0x518b('0x20')](_0x4cdcad);});});};_0x40defa(_0x518b('0x66'),_0x518b('0x60')),_0x40defa(_0x518b('0x66'),'discard'),_0x40defa(_0x518b('0x80'),_0x518b('0x60')),_0x40defa('deletion','discard'),_0x183710[_0x518b('0x46')][_0x518b('0x2c')]('insertion','tablePasteRow','discard',_0x151c89=>{const _0x292637=_0x151c89[_0x518b('0x7b')](_0x25ddb8=>_0x25ddb8['getContainedElement']()),_0x4d9ed7=_0x292637[0x0][_0x518b('0xb')](_0x518b('0x83')),{minRow:_0x4082d1,maxRow:_0x3f547f}=_0x21af34[_0x518b('0x6d')](_0x292637);_0x145b97['removeRows'](_0x4d9ed7,{'at':_0x4082d1,'rows':_0x3f547f-_0x4082d1+0x1});}),_0x183710[_0x518b('0x46')][_0x518b('0x2c')](_0x518b('0x66'),_0x518b('0x59'),'discard',_0x4d7f6c=>{const _0x38a7f1=_0x4d7f6c['map'](_0x5920ad=>_0x5920ad[_0x518b('0x82')]()),_0x51c896=_0x38a7f1[0x0][_0x518b('0xb')]('table'),{minColumn:_0x2d5765,maxColumn:_0x3ac3b0}=_0x21af34[_0x518b('0x6d')](_0x38a7f1);_0x145b97['removeColumns'](_0x51c896,{'at':_0x2d5765,'columns':_0x3ac3b0-_0x2d5765+0x1});});const _0xd528bb=(_0x579aa4,_0x415b17)=>{if(!_0x415b17['subType']||!_0x415b17[_0x518b('0x1b')][_0x518b('0x56')](_0x518b('0x24')))return;const _0x328842=_0x415b17['attributes'][_0x518b('0x8c')],_0x54e755=_0x183710['getSuggestions']()[_0x518b('0x64')](_0x18d5fa=>_0x18d5fa['isInContent']&&_0x18d5fa[_0x518b('0x42')]&&_0x18d5fa[_0x518b('0x42')][_0x518b('0x8c')]==_0x328842);_0x54e755[_0x518b('0x3e')]&&_0x415b17[_0x518b('0x7a')]()[_0x518b('0x3e')]!=_0x54e755[_0x518b('0x3e')]&&_0x54e755[_0x518b('0x51')]((_0xba6f96,_0x408754)=>(_0xba6f96[_0x518b('0x43')]=_0x408754,_0x408754[_0x518b('0x75')]=_0xba6f96,_0x408754));};function _0x4f8abc(_0x23267d,_0x1b6e1b=!0x0){const {id:_0x4dee62}=_0x183710[_0x518b('0x17')](_0x23267d[_0x518b('0x14')]),_0x4d9b03=[_0x518b('0x6c'),_0x518b('0x22')],_0x4796fc=_0x183710[_0x518b('0x40')]['includes'](_0x23267d['markerName']);return _0x4796fc&&_0x4d9b03[_0x518b('0x3')](_0x518b('0x94')),{'classes':_0x4d9b03,'attributes':{'data-suggestion':_0x4dee62},'priority':_0x4796fc&&_0x1b6e1b?0xbc2:0xbb8};}_0x183710['on'](_0x518b('0x4f'),_0xd528bb,{'priority':_0x518b('0x41')}),_0x183710['on']('suggestionUnloaded',_0xd528bb,{'priority':'high'}),_0x7bc825[_0x518b('0x7e')][_0x518b('0x49')][_0x518b('0x2a')](()=>{let _0x1b64d3=!0x1;const _0x47dc08=Array[_0x518b('0x25')](_0x7bc825[_0x518b('0x7e')][_0x518b('0x49')]['differ'][_0x518b('0x28')]());for(const {name:_0x39c677,data:_0x579a96}of _0x47dc08){const {group:_0x484506,type:_0x4a6c30,id:_0x597f25}=_0x183710[_0x518b('0x17')](_0x39c677);if(_0x518b('0x8')!=_0x484506||'deletion'!=_0x4a6c30||_0x579a96[_0x518b('0x13')])continue;if(!_0x183710['hasSuggestion'](_0x597f25))continue;const _0x36c049=_0x183710['getSuggestion'](_0x597f25)[_0x518b('0x3a')](),_0x47caeb=_0x7bc825['plugins'][_0x518b('0x78')](_0x518b('0x50'))['me'];for(const _0x77c337 of _0x183710[_0x518b('0x93')]()){if(!_0x77c337[_0x518b('0x1a')]||_0x77c337['author']!=_0x47caeb)continue;if(_0x518b('0x9d')!=_0x77c337[_0x518b('0x31')]||_0x518b('0x8f')!=_0x77c337[_0x518b('0x1b')])continue;if(_0x77c337['getRanges']()['every'](_0x34e067=>_0x36c049['some'](_0x1d24b7=>_0x1d24b7[_0x518b('0xa2')](_0x34e067,!0x0))))for(const _0x232050 of _0x77c337[_0x518b('0x7a')]())_0x232050[_0x518b('0x1a')]&&(_0x232050[_0x518b('0x9e')](),_0x1b64d3=!0x0);}}return _0x1b64d3;}),_0x7bc825['model']['document'][_0x518b('0x2a')](_0x483ff1=>{const _0x4ce58a=_0x7bc825['commands'][_0x518b('0x78')](_0x518b('0x32'));if(!_0x4ce58a||!_0x4ce58a['_createdBatches'][_0x518b('0x15')](_0x483ff1[_0x518b('0x99')]))return!0x1;let _0x483122=!0x1;const _0x2000b1=_0x7bc825[_0x518b('0x33')][_0x518b('0x78')](_0x518b('0x50'))['me'],_0x593f18=_0x7bc825['model'][_0x518b('0x49')]['differ'][_0x518b('0x85')](),_0x1b718b=Array[_0x518b('0x25')](_0x7bc825['model'][_0x518b('0x49')][_0x518b('0x35')]['getChangedMarkers']())[_0x518b('0x64')](({name:_0x5e7dff,data:_0x166d4d})=>{const {group:_0x5739b1,subType:_0x472ee8,authorId:_0xbeddf6}=_0x183710[_0x518b('0x17')](_0x5e7dff);return _0x518b('0x8')==_0x5739b1&&'tablePaste'==_0x472ee8&&_0xbeddf6==_0x2000b1['id']&&!_0x166d4d['oldRange'];});for(const _0x14bcf7 of _0x593f18){if(_0x518b('0x10')!=_0x14bcf7[_0x518b('0x31')]||_0x518b('0x63')!=_0x14bcf7[_0x518b('0x8e')]||0x1!=_0x14bcf7['length'])continue;const _0x37c02f=_0x483ff1[_0x518b('0x36')](_0x14bcf7[_0x518b('0x5f')],_0x14bcf7[_0x518b('0x5f')][_0x518b('0x27')](0x1));if(!_0x1b718b[_0x518b('0x58')](({data:_0x18f278})=>_0x18f278['newRange'][_0x518b('0x7d')](_0x37c02f)))for(const {name:_0x373914,data:_0x46c88}of _0x1b718b)if(_0x37c02f[_0x518b('0xa2')](_0x46c88['newRange'])){_0x483ff1[_0x518b('0x61')](_0x373914,{'range':_0x37c02f}),_0x483122=!0x0;break;}}return _0x483122;}),_0x7bc825[_0x518b('0x7e')][_0x518b('0x49')][_0x518b('0x2a')](_0x2f00a3=>{let _0x8607d8=!0x1;const _0x1a1ce9=_0x7bc825['plugins'][_0x518b('0x78')](_0x518b('0x50'))['me'],_0x4b7450=_0x183710['getSuggestions']()[_0x518b('0x64')](_0x16535e=>_0x16535e[_0x518b('0x1a')]&&_0x16535e[_0x518b('0x76')]==_0x1a1ce9),_0x3bf734=new Set(),_0x480fef=new Set();for(const _0x444cf0 of _0x4b7450)if(_0x518b('0x24')==_0x444cf0[_0x518b('0x1b')])for(const _0x1360ba of _0x444cf0[_0x518b('0x5e')]()){const _0x241e76=_0x1360ba[_0x518b('0xa3')]()[_0x518b('0x82')]();if(_0x241e76){if(_0x241e76['is'](_0x518b('0x71'),_0x518b('0x63'))&&ce(_0x241e76)){_0x444cf0[_0x518b('0x34')](_0x1360ba['name']),_0x3bf734[_0x518b('0x98')](_0x241e76),_0x8607d8=!0x0;const _0x1d00a2=_0x241e76[_0x518b('0x19')],_0x59843f=_0x241e76[_0x518b('0x90')],_0x1a791d=_0x1d00a2&&_0x1d00a2['is'](_0x518b('0x71'),_0x518b('0x63')),_0xdb7f72=_0x59843f&&_0x59843f['is'](_0x518b('0x71'),'tableCellSuggestion');_0x1a791d&&!_0x3bf734[_0x518b('0x15')](_0x1d00a2)&&_0x480fef[_0x518b('0x98')](_0x1d00a2),_0xdb7f72&&!_0x3bf734['has'](_0x59843f)&&_0x480fef[_0x518b('0x98')](_0x59843f);}else _0x241e76['is'](_0x518b('0x71'),_0x518b('0x86'))&&_0x241e76['isEmpty']&&(_0x444cf0[_0x518b('0x34')](_0x1360ba[_0x518b('0x8e')]),_0x8607d8=!0x0);}}else{if(_0x518b('0x8f')==_0x444cf0['subType']){if(!_0x444cf0[_0x518b('0x42')]||!_0x444cf0['attributes'][_0x518b('0x8c')])continue;const _0x6fe129=_0x444cf0['attributes'][_0x518b('0x1')];if(_0x6fe129&&Object[_0x518b('0xd')](_0x6fe129)[_0x518b('0x3e')])continue;const _0x109ef9=_0x444cf0[_0x518b('0x42')][_0x518b('0x8c')];let _0x45c05a=!0x0,_0x35792e=!0x0;for(const _0xa06371 of _0x4b7450)if(_0xa06371[_0x518b('0x1b')]&&_0xa06371[_0x518b('0x1b')][_0x518b('0x56')](_0x518b('0x24'))){if(!_0xa06371['attributes'][_0x518b('0x8c')]){_0x35792e=!0x1;break;}if(_0xa06371['id']!=_0x444cf0['id']&&_0xa06371[_0x518b('0x42')][_0x518b('0x8c')]==_0x109ef9){_0x45c05a=!0x1;break;}}_0x35792e&&_0x45c05a&&(_0x444cf0[_0x518b('0x26')](),_0x8607d8=!0x0);}}for(const _0x34e514 of _0x3bf734)_0x2f00a3['remove'](_0x34e514);for(const _0x2f919b of _0x480fef)_0x2f00a3[_0x518b('0x20')](_0x2f919b);return _0x8607d8;}),_0x7bc825[_0x518b('0x3b')][_0x518b('0xe')](_0x518b('0x37'))[_0x518b('0x9c')]({'model':_0x518b('0x48'),'view':(_0x1a92fd,_0x2f13e2)=>_0x4f8abc(_0x1a92fd),'converterPriority':_0x518b('0x41')}),_0x7bc825['conversion'][_0x518b('0xe')](_0x518b('0x65'))[_0x518b('0x9c')]({'model':_0x518b('0x48'),'view':(_0x5ea320,_0x3fa3d5)=>_0x3fa3d5[_0x518b('0x70')][_0x518b('0x87')]?_0x4f8abc(_0x5ea320,!0x1):null,'converterPriority':'high'});const _0x412d0c=_0x7bc825[_0x518b('0x9b')][_0x518b('0x91')];this[_0x518b('0x0')](_0x412d0c['document'],_0x518b('0x73'),(_0x5e44b9,_0x238518)=>{const _0xfb7f97=[];for(const _0x714077 of _0x412d0c['createRangeIn'](_0x238518[_0x518b('0x5a')])[_0x518b('0x55')]())_0x714077['is'](_0x518b('0x71'),_0x518b('0x3d'))&&_0xfb7f97[_0x518b('0x3')](_0x714077);_0x412d0c[_0x518b('0x89')](_0x41e4e1=>{for(const _0x5be4b0 of _0xfb7f97)_0x41e4e1[_0x518b('0x1c')](_0x41e4e1['createRangeIn'](_0x5be4b0),_0x41e4e1[_0x518b('0x23')](_0x5be4b0)),_0x41e4e1['remove'](_0x5be4b0);});});}}function ce(_0xbcd777){if(_0xbcd777['isEmpty'])return!0x0;const _0x116cf0=_0xbcd777[_0x518b('0x9f')](0x0);return _0x116cf0['is'](_0x518b('0x71'),_0x518b('0x86'))&&_0x116cf0[_0x518b('0x6a')];}function fe(_0x5b2fbc,_0x28da5c={},_0x50c4e3){for(const {isAnchor:_0x5dc3af,cellHeight:_0x44e802,cellWidth:_0x39ccfa}of _0x50c4e3[_0x518b('0x30')](_0x5b2fbc,{'includeAllSlots':!0x0,..._0x28da5c}))if(!_0x5dc3af||0x1!=_0x44e802||0x1!=_0x39ccfa)return!0x1;return!0x0;}
23
+ const _0x5718=['ck-suggestion-marker--active','_suggestionFactory','clipboardOutput','ck-suggestion-marker-insertion','author','removeColumns','push','tableCellHorizontalAlignment','schema','tableCellBackgroundColor','registerPostFixer','registerDescriptionCallback','hasSuggestion','deletionRanges','tableCellPadding','insertion','tableCellBorderWidth','tablePasteChainId','getContainedElement','table','_descriptionFactory','fill','newRange','_isForcedDefaultExecutionBlock','filter','_splitMarkerName','wrap','suggestion:formatBlock:tablePasteCell','stop','start','dataDowncast','markMultiRangeDeletion','tableCellBorderStyle','suggestionUnloaded','cell','TableClipboard','from','previousSibling','createTableWalker','columns','registerCustomCallback','getSuggestions','deletion','for','commands','paragraph','getAttributes','selection','getSelectionAffectedTableCells','afterInit','getRange','Users','fromEntries','suggestion-td','has','content','join','column','row','keys','reduce','rows','documentSelection','get','getChanges','tableCell','insert','set','getSuggestion','rowInsertionIndexes','map','next','markMultiRangeBlockFormat','activeMarkers','getAllAdjacentSuggestions','_replaceTableSlotCell','cells','end','_getCoordsForCells','showSuggestionHighlights','document','length','*Replace\x20table\x20cells*','createElement','listenTo','updateMarker','rowInsertionRanges','markerName','markerToHighlight','name','register','startsWith','createPositionBefore','accept','tablePasteRow','getColumns','remove','move','editingDowncast','last','isEmpty','getMarkers','getColumnIndexes','ck-suggestion-marker','tableCellSuggestion','some','conversion','getChildren','getRanges','type','markMultiRangeInsertion','insertRows','formatBlock','createRange','findAncestor','value','removeRows','differ','markers','plugins','columnInsertionIndexes','nextSibling','discard','getShiftedBy','requires','removeMarker','batch','element','getItems','model','insertionRanges','getChild','TrackChangesEditing','includes','attributes','isInContent','tablePaste','redo','entries','oldRange','getSuggestionCallback','_tablePostFixingSubtypes','isEqual','nodeAfter','insertContent','getRowIndexes','high','createRangeOn','markerAttributes','add','getChangedMarkers','editor','return','forceDefaultExecution','insertColumns','view','_createdBatches','options','position','tablePasteColumn','root','change','previous','createRangeIn','suggestionLoaded','subType','tablePasteCell'];(function(_0x597860,_0x5718b6){const _0x2a5ac9=function(_0xa50b25){while(--_0xa50b25){_0x597860['push'](_0x597860['shift']());}};_0x2a5ac9(++_0x5718b6);}(_0x5718,0x1dc));const _0x2a5a=function(_0x597860,_0x5718b6){_0x597860=_0x597860-0x0;let _0x2a5ac9=_0x5718[_0x597860];return _0x2a5ac9;};import{getTranslation as _0x4b3e8e}from'../utils/common-translations';import{Plugin as _0x5741c9}from'ckeditor5/src/core';import{uid as _0x2a4712,priorities as _0x5a57b0}from'ckeditor5/src/utils';import _0x15f222 from'./table';const le=[_0x2a5a('0x29'),'tableCellBorderColor',_0x2a5a('0x39'),_0x2a5a('0x20'),'tableCellVerticalAlignment',_0x2a5a('0x22'),_0x2a5a('0x27')],ae=Object[_0x2a5a('0x4d')](le['map'](_0x3401c2=>[_0x3401c2,null]));export default class kt extends _0x5741c9{static get[_0x2a5a('0x95')](){return[_0x15f222];}[_0x2a5a('0x4a')](){const _0x5f17a3=this[_0x2a5a('0x9')];if(!_0x5f17a3[_0x2a5a('0x90')][_0x2a5a('0x4f')](_0x2a5a('0x3c')))return;const _0x1062d6=_0x5f17a3[_0x2a5a('0x90')][_0x2a5a('0x58')](_0x2a5a('0x9d')),_0x56d93c=_0x5f17a3[_0x2a5a('0x90')]['get']('TableUtils'),_0x393cf6=_0x5f17a3[_0x2a5a('0x90')][_0x2a5a('0x58')](_0x15f222),_0x162033=_0x5f17a3[_0x2a5a('0x90')][_0x2a5a('0x58')]('TableClipboard');_0x393cf6[_0x2a5a('0xa6')][_0x2a5a('0x1f')](_0x2a5a('0x77'),_0x2a5a('0x11')),_0x5f17a3[_0x2a5a('0x9a')][_0x2a5a('0x21')][_0x2a5a('0x73')](_0x2a5a('0x81'),{'allowIn':_0x2a5a('0x5a'),'allowContentOf':_0x2a5a('0x5a'),'isLimit':!0x0}),_0x5f17a3[_0x2a5a('0x83')]['elementToElement']({'model':_0x2a5a('0x81'),'view':_0x2a5a('0x4e')});let _0x760716=null;_0x5f17a3[_0x2a5a('0x9a')]['on'](_0x2a5a('0x2'),(_0xee0b68,_0x4040da)=>{const [_0x5e051b,_0x475aa6]=_0x4040da,_0x247ef3=_0x4040da[_0x4040da['length']-0x1];_0x247ef3&&_0x247ef3[_0x2a5a('0xb')]||_0x1062d6[_0x2a5a('0x30')]||this['editor'][_0x2a5a('0x45')]['get']('trackChanges')[_0x2a5a('0x8c')]&&function(_0x4421ce,_0x2dd96a,_0x3682af,_0x42bb19,_0x1f5f1b){if(_0x2dd96a&&!_0x2dd96a['is'](_0x2a5a('0x57')))return!0x1;const _0x11d5c5=_0x1f5f1b['getTableIfOnlyTableInContent'](_0x4421ce,_0x3682af);if(!_0x11d5c5||!fe(_0x11d5c5,void 0x0,_0x42bb19))return!0x1;const _0x243bca=_0x42bb19[_0x2a5a('0x49')](_0x3682af[_0x2a5a('0x69')][_0x2a5a('0x48')]);if(!_0x243bca[_0x2a5a('0x6a')])return!0x1;const _0x3f6f56=_0x243bca[0x0][_0x2a5a('0x8b')](_0x2a5a('0x2c')),_0x48e6f0=_0x42bb19[_0x2a5a('0x3')](_0x243bca),_0x3464de=_0x42bb19[_0x2a5a('0x7f')](_0x243bca),_0x3ae192={'startRow':_0x48e6f0['first'],'endRow':_0x48e6f0[_0x2a5a('0x7c')],'startColumn':_0x3464de['first'],'endColumn':_0x3464de[_0x2a5a('0x7c')]};return 0x1==_0x243bca[_0x2a5a('0x6a')]&&(_0x3ae192['endRow']+=_0x42bb19['getRows'](_0x11d5c5)-0x1,_0x3ae192['endColumn']+=_0x42bb19[_0x2a5a('0x78')](_0x11d5c5)-0x1),fe(_0x3f6f56,_0x3ae192,_0x42bb19);}(_0x5e051b,_0x475aa6,_0x5f17a3[_0x2a5a('0x9a')],_0x56d93c,_0x162033)&&(_0xee0b68['stop'](),_0x760716={'cells':[],'insertionRanges':[],'deletionRanges':[],'rowInsertionRanges':[],'rowInsertionIndexes':[],'columnInsertionRanges':[],'columnInsertionIndexes':[]},_0x5f17a3[_0x2a5a('0x9a')]['change'](()=>{_0x5f17a3[_0x2a5a('0x9a')][_0x2a5a('0x2')](_0x4040da[0x0],_0x4040da[0x1],_0x4040da[0x2],{'forceDefaultExecution':!0x0});const _0xabfff2=_0x2a4712(),{rowInsertionRanges:_0x2dac9f,columnInsertionRanges:_0x2f792b,insertionRanges:_0x3eade1,deletionRanges:_0x569ef3,cells:_0x1e022a}=_0x760716;_0x2dac9f['length']&&_0x1062d6[_0x2a5a('0x87')](_0x2dac9f,'tablePasteRow',{'tablePasteChainId':_0xabfff2}),_0x2f792b[_0x2a5a('0x6a')]&&_0x1062d6['markMultiRangeInsertion'](_0x2f792b,_0x2a5a('0x11'),{'tablePasteChainId':_0xabfff2}),_0x3eade1[_0x2a5a('0x6a')]&&_0x1062d6[_0x2a5a('0x87')](_0x3eade1,_0x2a5a('0xa1'),{'tablePasteChainId':_0xabfff2,'skipNestingCheck':!0x0}),_0x569ef3['length']&&_0x1062d6[_0x2a5a('0x38')](_0x569ef3,'tablePaste',{'tablePasteChainId':_0xabfff2,'skipNestingCheck':!0x0});const _0x10f73d=_0x1062d6[_0x2a5a('0x61')](_0x1e022a['map'](({element:_0x26414c})=>_0x26414c),{'formatGroupId':_0x2a4712()},[],'tablePasteCell',{'tablePasteChainId':_0xabfff2});if(_0x10f73d){const _0x311e96=_0x10f73d[_0x2a5a('0x7e')](),_0x343b27=[];for(const {element:_0x36525f,attributes:_0x2bc85e}of _0x1e022a){if(!_0x2bc85e)continue;const _0x37e29f=_0x5f17a3['model'][_0x2a5a('0x5')](_0x36525f),_0x2d5b76=_0x311e96['find'](_0x4b0236=>_0x4b0236[_0x2a5a('0x4b')]()['isEqual'](_0x37e29f));_0x2d5b76&&_0x343b27['push']([_0x2d5b76[_0x2a5a('0x72')],_0x2bc85e]);}_0x343b27['length']&&_0x10f73d['setAttribute']('markerAttributes',Object['fromEntries'](_0x343b27));}_0x760716=null;}));},{'priority':_0x5a57b0[_0x2a5a('0x4')]+0xa}),_0x5f17a3[_0x2a5a('0x90')][_0x2a5a('0x58')](_0x2a5a('0x3c'))['on'](_0x2a5a('0x64'),(_0x4fc36a,_0x1bd008)=>{const [_0x1131d7,_0x16aa80,,_0x2fb843]=_0x1bd008;if(!_0x760716)return;_0x4fc36a[_0x2a5a('0x35')]();const _0x12d066=_0x1131d7[_0x2a5a('0x3b')],_0x3d8553=_0x16aa80,_0x3b180f=ce(_0x12d066),_0x89f35f=ce(_0x3d8553);_0x4fc36a[_0x2a5a('0xa')]=_0x12d066;let _0x24d4c9=null,_0xb7a1b1=null;if(_0x89f35f||_0x3b180f){if(_0x3b180f&&!_0x89f35f){_0x2fb843['remove'](_0x12d066[_0x2a5a('0x9c')](0x0));for(const _0x55eabb of Array[_0x2a5a('0x3d')](_0x3d8553[_0x2a5a('0x84')]()))_0x2fb843[_0x2a5a('0x5b')](_0x55eabb,_0x12d066,_0x2a5a('0x66'));const _0x21190e=_0x760716[_0x2a5a('0x5e')][_0x2a5a('0x9e')](_0x1131d7[_0x2a5a('0x53')]),_0x2f8cce=_0x760716['columnInsertionIndexes'][_0x2a5a('0x9e')](_0x1131d7[_0x2a5a('0x52')]);_0x21190e||_0x2f8cce||(_0x24d4c9=_0x2fb843['createRangeIn'](_0x12d066));}else _0x89f35f&&!_0x3b180f&&(_0xb7a1b1=_0x2fb843['createRangeIn'](_0x12d066));}else{const _0xced275=_0x2fb843[_0x2a5a('0x6c')](_0x2a5a('0x81')),_0x5ebfe5=_0x2fb843[_0x2a5a('0x6c')]('tableCellSuggestion');_0x2fb843[_0x2a5a('0x33')](_0x2fb843[_0x2a5a('0x15')](_0x12d066),_0x5ebfe5),_0x2fb843[_0x2a5a('0x5b')](_0xced275,_0x12d066,0x0);for(const _0x44893e of Array['from'](_0x3d8553[_0x2a5a('0x84')]()))_0x2fb843[_0x2a5a('0x5b')](_0x44893e,_0xced275,_0x2a5a('0x66'));_0x24d4c9=_0x2fb843[_0x2a5a('0x5')](_0xced275),_0xb7a1b1=_0x2fb843[_0x2a5a('0x5')](_0x5ebfe5);}const _0x401d8c=Array[_0x2a5a('0x3d')](_0x3d8553[_0x2a5a('0x47')]())[_0x2a5a('0x31')](([_0x1481e7])=>le[_0x2a5a('0x9e')](_0x1481e7));_0x760716[_0x2a5a('0x65')][_0x2a5a('0x1f')]({'element':_0x12d066,'attributes':_0x401d8c['length']?Object['fromEntries'](_0x401d8c):null}),_0x24d4c9&&_0x760716[_0x2a5a('0x9b')][_0x2a5a('0x1f')](_0x24d4c9),_0xb7a1b1&&_0x760716[_0x2a5a('0x26')][_0x2a5a('0x1f')](_0xb7a1b1);},{'priority':_0x2a5a('0x4')}),_0x56d93c['on'](_0x2a5a('0xc'),(_0x3149b5,_0x3dc73d)=>{const [_0x4d6eac,_0x5bc15c={}]=_0x3dc73d;if(!_0x760716)return;const _0x34733a=_0x5bc15c['at']||0x0,_0x20d1a6=_0x5bc15c[_0x2a5a('0x40')]||0x1;_0x760716[_0x2a5a('0x91')]=new Array(_0x20d1a6)[_0x2a5a('0x2e')](_0x34733a)[_0x2a5a('0x5f')]((_0x53e354,_0x543c6a)=>_0x53e354+_0x543c6a);for(const {cell:_0x223216}of _0x56d93c[_0x2a5a('0x3f')](_0x4d6eac,{'startColumn':_0x34733a,'endColumn':_0x34733a+_0x20d1a6-0x1}))_0x760716['columnInsertionRanges']['push'](_0x5f17a3[_0x2a5a('0x9a')][_0x2a5a('0x5')](_0x223216));},{'priority':'low'}),_0x56d93c['on'](_0x2a5a('0x88'),(_0x58c2e6,_0x5a32cb)=>{const [_0x31f44d,_0x2ce581={}]=_0x5a32cb;if(!_0x760716)return;const _0x530da2=_0x2ce581['at']||0x0,_0x39a36f=_0x2ce581[_0x2a5a('0x56')]||0x1;_0x760716[_0x2a5a('0x5e')]=new Array(_0x39a36f)[_0x2a5a('0x2e')](_0x530da2)[_0x2a5a('0x5f')]((_0x1ed556,_0x17c762)=>_0x1ed556+_0x17c762);for(const {cell:_0x5aed58}of _0x56d93c[_0x2a5a('0x3f')](_0x31f44d,{'startRow':_0x530da2,'endRow':_0x530da2+_0x39a36f-0x1}))_0x760716[_0x2a5a('0x6f')]['push'](_0x5f17a3[_0x2a5a('0x9a')][_0x2a5a('0x5')](_0x5aed58));},{'priority':'low'}),_0x1062d6[_0x2a5a('0x2d')][_0x2a5a('0x24')](_0x5c1ed1=>{if(_0x5c1ed1[_0x2a5a('0x17')]&&_0x5c1ed1['subType'][_0x2a5a('0x74')](_0x2a5a('0xa1')))return _0x5c1ed1[_0x2a5a('0x14')]?{}:{'type':'insertion','content':_0x4b3e8e(_0x5f17a3['locale'],_0x2a5a('0x6b'))};});const _0x2a624b=()=>{};for(const _0x291693 of[_0x2a5a('0xa1'),_0x2a5a('0x11'),_0x2a5a('0x77'),'tablePasteCell'])_0x1062d6[_0x2a5a('0x1a')][_0x2a5a('0x41')](_0x2a5a('0x28'),_0x291693,_0x2a5a('0x51'),_0x2a624b),_0x1062d6[_0x2a5a('0x1a')]['registerCustomCallback'](_0x2a5a('0x43'),_0x291693,'join',_0x2a624b);_0x1062d6[_0x2a5a('0x1a')][_0x2a5a('0x41')](_0x2a5a('0x89'),_0x2a5a('0x18'),_0x2a5a('0x93'),_0x2a624b),_0x1062d6[_0x2a5a('0x1a')][_0x2a5a('0x41')](_0x2a5a('0x89'),_0x2a5a('0x18'),'accept',(_0x382499,_0x450a5c,_0x205979)=>{const _0x4aa570=_0x382499[_0x2a5a('0x5f')](_0x27ba71=>_0x27ba71[_0x2a5a('0x2b')]())[_0x2a5a('0x31')](_0x5265bb=>_0x5265bb),_0x1cb2f9=new Map(_0x4aa570[_0x2a5a('0x5f')](_0x57a22a=>[_0x57a22a,null]));if(_0x760716)for(const {element:_0x2cb0cb,attributes:_0x9ecbf}of _0x760716[_0x2a5a('0x65')])_0x9ecbf&&_0x1cb2f9[_0x2a5a('0x5c')](_0x2cb0cb,_0x9ecbf);else{if(_0x205979&&_0x205979[_0x2a5a('0x6')])for(const [_0x5c27fc,_0x58ab6e]of Object[_0x2a5a('0xa3')](_0x205979[_0x2a5a('0x6')])){const _0x155da6=_0x5f17a3[_0x2a5a('0x9a')][_0x2a5a('0x8f')][_0x2a5a('0x58')](_0x5c27fc),_0x1e36ce=_0x155da6?_0x155da6['getRange']()['getContainedElement']():null;_0x1e36ce&&_0x1cb2f9[_0x2a5a('0x5c')](_0x1e36ce,_0x58ab6e);}}_0x5f17a3[_0x2a5a('0x9a')][_0x2a5a('0x13')](_0x1ac517=>{for(const [_0xcd7421,_0x11ec40]of _0x1cb2f9)_0x1ac517['setAttributes']({...ae,..._0x11ec40},_0xcd7421);});});const _0x2b2a28=(_0xa0760f,_0x2d209e)=>{_0x1062d6['_suggestionFactory'][_0x2a5a('0x41')](_0xa0760f,_0x2a5a('0xa1'),_0x2d209e,(_0x4f7cb2,_0x581514,_0x2067bf)=>{_0x5f17a3[_0x2a5a('0x9a')][_0x2a5a('0x13')](_0x3fae47=>{const _0x18e01a=[];for(const _0x672108 of _0x4f7cb2){const _0x59241c=_0x672108[_0x2a5a('0x36')][_0x2a5a('0x1')];_0x59241c['is'](_0x2a5a('0x98'),_0x2a5a('0x81'))&&_0x18e01a['push'](_0x59241c);}_0x1062d6[_0x2a5a('0x1a')][_0x2a5a('0xa5')](_0xa0760f,null,_0x2d209e)(_0x4f7cb2,_0x581514,_0x2067bf);for(const _0x3ace2e of _0x18e01a)'$graveyard'!=_0x3ace2e[_0x2a5a('0x12')]['rootName']&&_0x3fae47['unwrap'](_0x3ace2e);});});};_0x2b2a28('insertion','accept'),_0x2b2a28(_0x2a5a('0x28'),_0x2a5a('0x93')),_0x2b2a28(_0x2a5a('0x43'),_0x2a5a('0x76')),_0x2b2a28(_0x2a5a('0x43'),_0x2a5a('0x93')),_0x1062d6[_0x2a5a('0x1a')][_0x2a5a('0x41')]('insertion',_0x2a5a('0x77'),_0x2a5a('0x93'),_0x30438c=>{const _0x542a78=_0x30438c[_0x2a5a('0x5f')](_0x31e20f=>_0x31e20f[_0x2a5a('0x2b')]()),_0x365d89=_0x542a78[0x0][_0x2a5a('0x8b')](_0x2a5a('0x2c')),{minRow:_0x30a83e,maxRow:_0x1bd787}=_0x393cf6[_0x2a5a('0x67')](_0x542a78);_0x56d93c[_0x2a5a('0x8d')](_0x365d89,{'at':_0x30a83e,'rows':_0x1bd787-_0x30a83e+0x1});}),_0x1062d6[_0x2a5a('0x1a')][_0x2a5a('0x41')](_0x2a5a('0x28'),_0x2a5a('0x11'),_0x2a5a('0x93'),_0x77adb7=>{const _0x18f8a4=_0x77adb7[_0x2a5a('0x5f')](_0x541dc4=>_0x541dc4[_0x2a5a('0x2b')]()),_0x55eaea=_0x18f8a4[0x0]['findAncestor']('table'),{minColumn:_0x51ad3b,maxColumn:_0x3b07b0}=_0x393cf6['_getCoordsForCells'](_0x18f8a4);_0x56d93c[_0x2a5a('0x1e')](_0x55eaea,{'at':_0x51ad3b,'columns':_0x3b07b0-_0x51ad3b+0x1});});const _0x1169f4=(_0x42ab56,_0x39836a)=>{if(!_0x39836a[_0x2a5a('0x17')]||!_0x39836a[_0x2a5a('0x17')]['startsWith'](_0x2a5a('0xa1')))return;const _0x5553c0=_0x39836a[_0x2a5a('0x9f')][_0x2a5a('0x2a')],_0x3ae88a=_0x1062d6[_0x2a5a('0x42')]()[_0x2a5a('0x31')](_0x112d54=>_0x112d54[_0x2a5a('0xa0')]&&_0x112d54[_0x2a5a('0x9f')]&&_0x112d54['attributes']['tablePasteChainId']==_0x5553c0);_0x3ae88a[_0x2a5a('0x6a')]&&_0x39836a[_0x2a5a('0x63')]()['length']!=_0x3ae88a['length']&&_0x3ae88a[_0x2a5a('0x55')]((_0x8a4213,_0x1615f7)=>(_0x8a4213[_0x2a5a('0x60')]=_0x1615f7,_0x1615f7['previous']=_0x8a4213,_0x1615f7));};function _0x5b676a(_0x362eb7,_0x30f24a=!0x0){const {id:_0x17eb87}=_0x1062d6[_0x2a5a('0x32')](_0x362eb7[_0x2a5a('0x70')]),_0x49de2c=[_0x2a5a('0x80'),_0x2a5a('0x1c')],_0x107fde=_0x1062d6[_0x2a5a('0x62')][_0x2a5a('0x9e')](_0x362eb7['markerName']);return _0x107fde&&_0x49de2c[_0x2a5a('0x1f')](_0x2a5a('0x19')),{'classes':_0x49de2c,'attributes':{'data-suggestion':_0x17eb87},'priority':_0x107fde&&_0x30f24a?0xbc2:0xbb8};}_0x1062d6['on'](_0x2a5a('0x16'),_0x1169f4,{'priority':_0x2a5a('0x4')}),_0x1062d6['on'](_0x2a5a('0x3a'),_0x1169f4,{'priority':_0x2a5a('0x4')}),_0x5f17a3['model'][_0x2a5a('0x69')][_0x2a5a('0x23')](()=>{let _0x21f64c=!0x1;const _0x163c44=Array[_0x2a5a('0x3d')](_0x5f17a3['model'][_0x2a5a('0x69')][_0x2a5a('0x8e')][_0x2a5a('0x8')]());for(const {name:_0xf82110,data:_0x2f4689}of _0x163c44){const {group:_0x4f0d73,type:_0x4fb89f,id:_0x4fac70}=_0x1062d6[_0x2a5a('0x32')](_0xf82110);if('suggestion'!=_0x4f0d73||_0x2a5a('0x43')!=_0x4fb89f||_0x2f4689[_0x2a5a('0xa4')])continue;if(!_0x1062d6[_0x2a5a('0x25')](_0x4fac70))continue;const _0x51ca9d=_0x1062d6[_0x2a5a('0x5d')](_0x4fac70)['getRanges'](),_0x2fc4f6=_0x5f17a3[_0x2a5a('0x90')]['get'](_0x2a5a('0x4c'))['me'];for(const _0x102444 of _0x1062d6['getSuggestions']()){if(!_0x102444[_0x2a5a('0xa0')]||_0x102444[_0x2a5a('0x1d')]!=_0x2fc4f6)continue;if(_0x2a5a('0x89')!=_0x102444['type']||'tablePasteCell'!=_0x102444['subType'])continue;if(_0x102444[_0x2a5a('0x85')]()['every'](_0x2a265f=>_0x51ca9d[_0x2a5a('0x82')](_0x445c43=>_0x445c43['containsRange'](_0x2a265f,!0x0))))for(const _0x482dac of _0x102444['getAllAdjacentSuggestions']())_0x482dac[_0x2a5a('0xa0')]&&(_0x482dac[_0x2a5a('0x93')](),_0x21f64c=!0x0);}}return _0x21f64c;}),_0x5f17a3['model'][_0x2a5a('0x69')][_0x2a5a('0x23')](_0x406603=>{const _0x14d5b0=_0x5f17a3[_0x2a5a('0x45')][_0x2a5a('0x58')](_0x2a5a('0xa2'));if(!_0x14d5b0||!_0x14d5b0[_0x2a5a('0xe')][_0x2a5a('0x4f')](_0x406603[_0x2a5a('0x97')]))return!0x1;let _0x1139f2=!0x1;const _0xacffb3=_0x5f17a3[_0x2a5a('0x90')]['get'](_0x2a5a('0x4c'))['me'],_0x8266f9=_0x5f17a3[_0x2a5a('0x9a')][_0x2a5a('0x69')][_0x2a5a('0x8e')][_0x2a5a('0x59')](),_0x57f982=Array['from'](_0x5f17a3[_0x2a5a('0x9a')][_0x2a5a('0x69')][_0x2a5a('0x8e')]['getChangedMarkers']())['filter'](({name:_0x535ee1,data:_0x5cbe5a})=>{const {group:_0x4dede9,subType:_0x1572be,authorId:_0x215c27}=_0x1062d6[_0x2a5a('0x32')](_0x535ee1);return'suggestion'==_0x4dede9&&_0x2a5a('0xa1')==_0x1572be&&_0x215c27==_0xacffb3['id']&&!_0x5cbe5a[_0x2a5a('0xa4')];});for(const _0x380237 of _0x8266f9){if(_0x2a5a('0x5b')!=_0x380237[_0x2a5a('0x86')]||_0x2a5a('0x81')!=_0x380237['name']||0x1!=_0x380237[_0x2a5a('0x6a')])continue;const _0x4a0253=_0x406603[_0x2a5a('0x8a')](_0x380237[_0x2a5a('0x10')],_0x380237[_0x2a5a('0x10')][_0x2a5a('0x94')](0x1));if(!_0x57f982['find'](({data:_0x201e44})=>_0x201e44[_0x2a5a('0x2f')][_0x2a5a('0x0')](_0x4a0253)))for(const {name:_0x4bae71,data:_0x1c145a}of _0x57f982)if(_0x4a0253['containsRange'](_0x1c145a[_0x2a5a('0x2f')])){_0x406603[_0x2a5a('0x6e')](_0x4bae71,{'range':_0x4a0253}),_0x1139f2=!0x0;break;}}return _0x1139f2;}),_0x5f17a3[_0x2a5a('0x9a')][_0x2a5a('0x69')][_0x2a5a('0x23')](_0x45590b=>{let _0x848b2b=!0x1;const _0x80a93d=_0x5f17a3['plugins'][_0x2a5a('0x58')](_0x2a5a('0x4c'))['me'],_0x42958d=_0x1062d6[_0x2a5a('0x42')]()[_0x2a5a('0x31')](_0x370ef4=>_0x370ef4[_0x2a5a('0xa0')]&&_0x370ef4['author']==_0x80a93d),_0x58ce11=new Set(),_0x4d862a=new Set();for(const _0x127776 of _0x42958d)if('tablePaste'==_0x127776[_0x2a5a('0x17')])for(const _0x46823e of _0x127776['getMarkers']()){const _0x12bd29=_0x46823e[_0x2a5a('0x4b')]()[_0x2a5a('0x2b')]();if(_0x12bd29){if(_0x12bd29['is'](_0x2a5a('0x98'),'tableCellSuggestion')&&ce(_0x12bd29)){_0x127776[_0x2a5a('0x96')](_0x46823e[_0x2a5a('0x72')]),_0x58ce11['add'](_0x12bd29),_0x848b2b=!0x0;const _0x57e825=_0x12bd29[_0x2a5a('0x92')],_0x303caf=_0x12bd29[_0x2a5a('0x3e')],_0x5c554c=_0x57e825&&_0x57e825['is'](_0x2a5a('0x98'),_0x2a5a('0x81')),_0x3e6cb8=_0x303caf&&_0x303caf['is'](_0x2a5a('0x98'),_0x2a5a('0x81'));_0x5c554c&&!_0x58ce11[_0x2a5a('0x4f')](_0x57e825)&&_0x4d862a[_0x2a5a('0x7')](_0x57e825),_0x3e6cb8&&!_0x58ce11[_0x2a5a('0x4f')](_0x303caf)&&_0x4d862a[_0x2a5a('0x7')](_0x303caf);}else _0x12bd29['is'](_0x2a5a('0x98'),'paragraph')&&_0x12bd29[_0x2a5a('0x7d')]&&(_0x127776[_0x2a5a('0x96')](_0x46823e['name']),_0x848b2b=!0x0);}}else{if('tablePasteCell'==_0x127776[_0x2a5a('0x17')]){if(!_0x127776[_0x2a5a('0x9f')]||!_0x127776[_0x2a5a('0x9f')][_0x2a5a('0x2a')])continue;const _0x2415c8=_0x127776[_0x2a5a('0x9f')][_0x2a5a('0x6')];if(_0x2415c8&&Object[_0x2a5a('0x54')](_0x2415c8)[_0x2a5a('0x6a')])continue;const _0x4fb843=_0x127776['attributes'][_0x2a5a('0x2a')];let _0x411cfd=!0x0,_0x52b76c=!0x0;for(const _0x4953d3 of _0x42958d)if(_0x4953d3[_0x2a5a('0x17')]&&_0x4953d3['subType'][_0x2a5a('0x74')]('tablePaste')){if(!_0x4953d3[_0x2a5a('0x9f')][_0x2a5a('0x2a')]){_0x52b76c=!0x1;break;}if(_0x4953d3['id']!=_0x127776['id']&&_0x4953d3[_0x2a5a('0x9f')][_0x2a5a('0x2a')]==_0x4fb843){_0x411cfd=!0x1;break;}}_0x52b76c&&_0x411cfd&&(_0x127776['removeMarkers'](),_0x848b2b=!0x0);}}for(const _0x54988f of _0x58ce11)_0x45590b[_0x2a5a('0x79')](_0x54988f);for(const _0x57d23d of _0x4d862a)_0x45590b['unwrap'](_0x57d23d);return _0x848b2b;}),_0x5f17a3['conversion'][_0x2a5a('0x44')](_0x2a5a('0x7b'))['markerToHighlight']({'model':_0x2a5a('0x34'),'view':(_0x3aaad0,_0x4cadf8)=>_0x5b676a(_0x3aaad0),'converterPriority':_0x2a5a('0x4')}),_0x5f17a3[_0x2a5a('0x83')]['for'](_0x2a5a('0x37'))[_0x2a5a('0x71')]({'model':_0x2a5a('0x34'),'view':(_0x17e7fd,_0x248878)=>_0x248878[_0x2a5a('0xf')][_0x2a5a('0x68')]?_0x5b676a(_0x17e7fd,!0x1):null,'converterPriority':_0x2a5a('0x4')});const _0x4e4cd9=_0x5f17a3['editing'][_0x2a5a('0xd')];this[_0x2a5a('0x6d')](_0x4e4cd9['document'],_0x2a5a('0x1b'),(_0x4385d0,_0x27b1ad)=>{const _0x3ef3f2=[];for(const _0x34c47f of _0x4e4cd9[_0x2a5a('0x15')](_0x27b1ad[_0x2a5a('0x50')])[_0x2a5a('0x99')]())_0x34c47f['is'](_0x2a5a('0x98'),'suggestion-td')&&_0x3ef3f2[_0x2a5a('0x1f')](_0x34c47f);_0x4e4cd9['change'](_0x1cfa66=>{for(const _0x2e1caf of _0x3ef3f2)_0x1cfa66[_0x2a5a('0x7a')](_0x1cfa66[_0x2a5a('0x15')](_0x2e1caf),_0x1cfa66[_0x2a5a('0x75')](_0x2e1caf)),_0x1cfa66[_0x2a5a('0x79')](_0x2e1caf);});});}}function ce(_0x4e8b6){if(_0x4e8b6[_0x2a5a('0x7d')])return!0x0;const _0x558878=_0x4e8b6[_0x2a5a('0x9c')](0x0);return _0x558878['is'](_0x2a5a('0x98'),_0x2a5a('0x46'))&&_0x558878[_0x2a5a('0x7d')];}function fe(_0x833b94,_0x330bcf={},_0x38b553){for(const {isAnchor:_0x1645ed,cellHeight:_0x30c0e0,cellWidth:_0x26d055}of _0x38b553[_0x2a5a('0x3f')](_0x833b94,{'includeAllSlots':!0x0,..._0x330bcf}))if(!_0x1645ed||0x1!=_0x30c0e0||0x1!=_0x26d055)return!0x1;return!0x0;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3900=['getContainedElement','has','columnWidths','Users','tableWidth','handleResizeTableWidthCommand','subType','getColumnGroupElement','model','formatBlock','table','locale','getTableColumnsWidths','handleSuggestionDescription','resizeTableWidth','registerCustomCallback','author','getSuggestionCallback','_suggestionFactory','TrackChangesEditing','editor','accept','*Format:*\x20resize\x20table','enableCommand','bind','afterInit','change','markBlockFormat','getSuggestions','getSelectedElement','TableColumnResizeEditing','data','document','discard','resizeTable','get','format','selection','commandParams','plugins'];(function(_0x28c133,_0x3900ac){const _0x20d4b4=function(_0x158e3e){while(--_0x158e3e){_0x28c133['push'](_0x28c133['shift']());}};_0x20d4b4(++_0x3900ac);}(_0x3900,0x6e));const _0x20d4=function(_0x28c133,_0x3900ac){_0x28c133=_0x28c133-0x0;let _0x20d4b4=_0x3900[_0x28c133];return _0x20d4b4;};import{Plugin as _0xe2da63}from'ckeditor5/src/core';import{getTranslation as _0x23c29f}from'../utils/common-translations';export default class wt extends _0xe2da63{[_0x20d4('0x23')](){if(!this[_0x20d4('0x1e')]['plugins'][_0x20d4('0xb')](_0x20d4('0x0')))return;const _0xe2d4df=this['editor'][_0x20d4('0x9')][_0x20d4('0x5')](_0x20d4('0x1d'));_0xe2d4df[_0x20d4('0x21')](_0x20d4('0x18'),this[_0x20d4('0xf')][_0x20d4('0x22')](this)),_0xe2d4df['enableCommand']('resizeColumnWidths',this[_0x20d4('0xf')]['bind'](this)),_0xe2d4df['_suggestionFactory'][_0x20d4('0x19')](_0x20d4('0x13'),_0x20d4('0x4'),_0x20d4('0x1f'),_0xe2d4df[_0x20d4('0x1c')]['getSuggestionCallback'](_0x20d4('0x13'),null,'discard')),_0xe2d4df[_0x20d4('0x1c')][_0x20d4('0x19')]('formatBlock',_0x20d4('0x4'),'discard',_0xe2d4df[_0x20d4('0x1c')][_0x20d4('0x1b')](_0x20d4('0x13'),null,'accept')),_0xe2d4df['_descriptionFactory']['registerDescriptionCallback'](this[_0x20d4('0x17')][_0x20d4('0x22')](this));}['handleResizeTableWidthCommand'](_0x5de4a1,_0x27a821){const _0x3f7c67=this[_0x20d4('0x1e')][_0x20d4('0x9')]['get'](_0x20d4('0x1d')),_0x2069e7=this[_0x20d4('0x1e')]['plugins']['get']('TableColumnResizeEditing'),_0x42fbc7=_0x27a821[_0x20d4('0x14')]||this[_0x20d4('0x1e')][_0x20d4('0x12')][_0x20d4('0x2')][_0x20d4('0x7')][_0x20d4('0x27')]();this[_0x20d4('0x1e')][_0x20d4('0x12')][_0x20d4('0x24')](()=>{const _0x167bdf=_0x2069e7[_0x20d4('0x11')](_0x42fbc7);let _0x817058=_0x167bdf?_0x2069e7[_0x20d4('0x16')](_0x167bdf):null,_0x54c297=_0x42fbc7['getAttribute'](_0x20d4('0xe'))||null;const _0xfa27f7=_0x27a821['tableWidth']||_0x54c297,_0xa9d31d=_0x27a821[_0x20d4('0xc')]||_0x817058,_0x5ef470=this[_0x20d4('0x1e')]['plugins'][_0x20d4('0x5')](_0x20d4('0xd'))['me'];for(const _0x51379a of _0x3f7c67[_0x20d4('0x26')]()){const _0x5cafd6=_0x51379a[_0x20d4('0xa')]();if(_0x20d4('0x4')===_0x51379a[_0x20d4('0x10')]&&_0x5cafd6===_0x42fbc7){_0x51379a[_0x20d4('0x1a')]!==_0x5ef470&&_0x51379a[_0x20d4('0x3')]();const _0x18e45f=_0x51379a[_0x20d4('0x1')][_0x20d4('0x8')];_0x54c297=_0x18e45f[0x0]['tableWidth'],_0x817058=_0x18e45f[0x0][_0x20d4('0xc')];break;}}_0x5de4a1({'table':_0x42fbc7,'tableWidth':_0xfa27f7,'columnWidths':_0xa9d31d}),_0x3f7c67[_0x20d4('0x25')](_0x42fbc7,{'commandName':'resizeTableWidth','commandParams':[{'tableWidth':_0x54c297,'columnWidths':_0x817058}],'formatGroupId':_0x20d4('0x4')},[],_0x20d4('0x4'));});}['handleSuggestionDescription'](_0x4b7462){const {data:_0x275f6b}=_0x4b7462;if(_0x275f6b&&'resizeTable'===_0x275f6b['formatGroupId']){const _0x32999f=_0x20d4('0x20');return{'type':_0x20d4('0x6'),'content':_0x23c29f(this['editor'][_0x20d4('0x15')],_0x32999f)};}}}
23
+ const _0x5b02=['_descriptionFactory','formatGroupId','document','tableWidth','subType','resizeColumnWidths','*Format:*\x20resize\x20table','bind','commandParams','author','table','editor','enableCommand','resizeTable','registerDescriptionCallback','TrackChangesEditing','model','discard','plugins','accept','handleResizeTableWidthCommand','getTableColumnsWidths','getColumnGroupElement','selection','get','locale','resizeTableWidth','_suggestionFactory','has','data','registerCustomCallback','handleSuggestionDescription','getSuggestionCallback','getAttribute','columnWidths','format','formatBlock','markBlockFormat'];(function(_0x2b3c70,_0x5b0200){const _0x14c831=function(_0x345ea0){while(--_0x345ea0){_0x2b3c70['push'](_0x2b3c70['shift']());}};_0x14c831(++_0x5b0200);}(_0x5b02,0x119));const _0x14c8=function(_0x2b3c70,_0x5b0200){_0x2b3c70=_0x2b3c70-0x0;let _0x14c831=_0x5b02[_0x2b3c70];return _0x14c831;};import{Plugin as _0x5e58c4}from'ckeditor5/src/core';import{getTranslation as _0x492b09}from'../utils/common-translations';export default class wt extends _0x5e58c4{['afterInit'](){if(!this[_0x14c8('0x22')][_0x14c8('0x3')][_0x14c8('0xd')]('TableColumnResizeEditing'))return;const _0x306ff2=this[_0x14c8('0x22')][_0x14c8('0x3')][_0x14c8('0x9')](_0x14c8('0x0'));_0x306ff2[_0x14c8('0x23')]('resizeTableWidth',this[_0x14c8('0x5')][_0x14c8('0x1e')](this)),_0x306ff2[_0x14c8('0x23')](_0x14c8('0x1c'),this[_0x14c8('0x5')]['bind'](this)),_0x306ff2[_0x14c8('0xc')][_0x14c8('0xf')](_0x14c8('0x15'),_0x14c8('0x24'),_0x14c8('0x4'),_0x306ff2[_0x14c8('0xc')][_0x14c8('0x11')]('formatBlock',null,_0x14c8('0x2'))),_0x306ff2['_suggestionFactory']['registerCustomCallback']('formatBlock',_0x14c8('0x24'),_0x14c8('0x2'),_0x306ff2[_0x14c8('0xc')][_0x14c8('0x11')](_0x14c8('0x15'),null,_0x14c8('0x4'))),_0x306ff2[_0x14c8('0x17')][_0x14c8('0x25')](this[_0x14c8('0x10')][_0x14c8('0x1e')](this));}[_0x14c8('0x5')](_0x4d378a,_0x386b71){const _0x135c33=this[_0x14c8('0x22')]['plugins'][_0x14c8('0x9')](_0x14c8('0x0')),_0x4052e9=this[_0x14c8('0x22')][_0x14c8('0x3')][_0x14c8('0x9')]('TableColumnResizeEditing'),_0x1ddf32=_0x386b71[_0x14c8('0x21')]||this[_0x14c8('0x22')][_0x14c8('0x1')][_0x14c8('0x19')][_0x14c8('0x8')]['getSelectedElement']();this['editor'][_0x14c8('0x1')]['change'](()=>{const _0x14b81c=_0x4052e9[_0x14c8('0x7')](_0x1ddf32);let _0x15be7c=_0x14b81c?_0x4052e9[_0x14c8('0x6')](_0x14b81c):null,_0x367d2c=_0x1ddf32[_0x14c8('0x12')](_0x14c8('0x1a'))||null;const _0x41122b=_0x386b71['tableWidth']||_0x367d2c,_0x16648a=_0x386b71[_0x14c8('0x13')]||_0x15be7c,_0x477cc8=this[_0x14c8('0x22')][_0x14c8('0x3')][_0x14c8('0x9')]('Users')['me'];for(const _0x2ac652 of _0x135c33['getSuggestions']()){const _0x40780f=_0x2ac652['getContainedElement']();if(_0x14c8('0x24')===_0x2ac652[_0x14c8('0x1b')]&&_0x40780f===_0x1ddf32){_0x2ac652[_0x14c8('0x20')]!==_0x477cc8&&_0x2ac652[_0x14c8('0x2')]();const _0x1478a6=_0x2ac652[_0x14c8('0xe')][_0x14c8('0x1f')];_0x367d2c=_0x1478a6[0x0][_0x14c8('0x1a')],_0x15be7c=_0x1478a6[0x0][_0x14c8('0x13')];break;}}_0x4d378a({'table':_0x1ddf32,'tableWidth':_0x41122b,'columnWidths':_0x16648a}),_0x135c33[_0x14c8('0x16')](_0x1ddf32,{'commandName':_0x14c8('0xb'),'commandParams':[{'tableWidth':_0x367d2c,'columnWidths':_0x15be7c}],'formatGroupId':_0x14c8('0x24')},[],_0x14c8('0x24'));});}[_0x14c8('0x10')](_0x53c2fa){const {data:_0x189b4f}=_0x53c2fa;if(_0x189b4f&&'resizeTable'===_0x189b4f[_0x14c8('0x18')]){const _0x4088a3=_0x14c8('0x1d');return{'type':_0x14c8('0x14'),'content':_0x492b09(this['editor'][_0x14c8('0xa')],_0x4088a3)};}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4557=['model','_descriptionFactory','get','from','downcastDispatcher','value','headingRows','start','data-suggestion','TableEditing','_splitMarkerName','FORMAT_REGULAR_COLUMN','cell','markerRange','removeClass','createPositionAfter','afterInit','unbindElementFromMarkerName','plugins','data','mapper','showSuggestionHighlights','TableUtils','ck-suggestion-marker--active','accept','addMarker:suggestion','getChild','getAttribute','*Format:*\x20%0','forceValue','table','parent','ck-suggestion-marker-','setAttribute','editor','markerNameToElements','registerDescriptionCallback','setTableRowHeader','toViewElement','childCount','document','last','includes','requires','_acceptFormatSuggestionCallbackFactory','setTableColumnHeader','createTableWalker','nodeBefore','activeMarkers','markerName','selection','removeAttribute','markBlockFormat','FORMAT_HEADER_ROW','consume','addClass','removeMarker:suggestion','consumable','index','formatBlock','writer','commandParams','highest','findAncestor','isBefore','change','FORMAT_REGULAR_ROW','first','nodeAfter','commandName','_suggestionFactory','enableCommand','editing','getRowIndexes','getSelectionAffectedTableCells','registerCustomCallback','headingColumns','createPositionBefore','item','createRange','commands'];(function(_0x25432c,_0x4557a0){const _0x1835d0=function(_0x126204){while(--_0x126204){_0x25432c['push'](_0x25432c['shift']());}};_0x1835d0(++_0x4557a0);}(_0x4557,0x100));const _0x1835=function(_0x25432c,_0x4557a0){_0x25432c=_0x25432c-0x0;let _0x1835d0=_0x4557[_0x25432c];return _0x1835d0;};import{Plugin as _0x46a2c7}from'ckeditor5/src/core';import _0x96136f from'./table';import{getTranslation as _0x26cef4}from'../utils/common-translations';export default class pt extends _0x46a2c7{static get[_0x1835('0x1e')](){return[_0x96136f];}[_0x1835('0x3')](){const _0x3be653=this[_0x1835('0x15')];if(!_0x3be653[_0x1835('0x5')]['has'](_0x1835('0x4d')))return;const _0x5079f4=_0x3be653['locale'],_0x59cc7b=_0x3be653[_0x1835('0x5')][_0x1835('0x46')]('TrackChangesEditing'),_0x96deb9=_0x3be653[_0x1835('0x5')][_0x1835('0x46')](_0x1835('0x9')),_0x28aa7c=_0x3be653[_0x1835('0x5')][_0x1835('0x46')](_0x96136f);function _0x5d45db({showActiveMarker:_0x11aebd=!0x0,setDataAttribute:_0x4f0132=!0x0}={}){return(_0x4dadfc,_0x3231a4,_0x1f227a)=>{const {type:_0xd92893,id:_0x2a7dd3}=_0x59cc7b[_0x1835('0x4e')](_0x3231a4['markerName']),_0x1caf6e=_0x59cc7b['getSuggestion'](_0x2a7dd3);if(!_0x1caf6e[_0x1835('0x6')]||_0x1835('0x20')!=_0x1caf6e[_0x1835('0x6')]['commandName'])return;if(_0x3231a4[_0x1835('0x41')])return void _0x4dadfc['stop']();if(!_0x1f227a[_0x1835('0x2c')][_0x1835('0x29')](_0x3231a4[_0x1835('0x0')],_0x4dadfc['name']))return;const _0x265c4c=_0x3231a4[_0x1835('0x0')][_0x1835('0x4b')][_0x1835('0x37')],_0x1526ba=_0x3231a4['markerRange']['end'][_0x1835('0x22')],_0x101a7b=_0x265c4c[_0x1835('0x12')][_0x1835('0x12')],{column:_0xf37a2d}=_0x96deb9['getCellLocation'](_0x265c4c),{column:_0x507fa8}=_0x96deb9['getCellLocation'](_0x1526ba);for(let _0x558677=_0xf37a2d;_0x558677<=_0x507fa8;_0x558677++){const _0x581009=_0x96deb9[_0x1835('0x21')](_0x101a7b,{'column':_0x558677,'includeAllSlots':!0x1});for(const _0x583409 of _0x581009){const _0x471cdf=_0x583409[_0x1835('0x50')],_0x1ba958=_0x1f227a[_0x1835('0x7')][_0x1835('0x19')](_0x471cdf);_0x1f227a['writer']['addClass'](_0x1835('0x13')+_0xd92893,_0x1ba958),_0x4f0132&&_0x1f227a[_0x1835('0x2f')][_0x1835('0x14')](_0x1835('0x4c'),_0x2a7dd3,_0x1ba958),_0x1f227a[_0x1835('0x7')]['bindElementToMarker'](_0x1ba958,_0x3231a4[_0x1835('0x24')]),_0x11aebd&&(_0x59cc7b[_0x1835('0x23')][_0x1835('0x1d')](_0x3231a4[_0x1835('0x24')])?_0x1f227a[_0x1835('0x2f')][_0x1835('0x2a')](_0x1835('0xa'),_0x1ba958):_0x1f227a[_0x1835('0x2f')][_0x1835('0x1')]('ck-suggestion-marker--active',_0x1ba958));}}};}_0x59cc7b[_0x1835('0x3a')](_0x1835('0x18'),(_0x37d44f,_0x759934)=>{const _0x43973f=_0x96deb9['getSelectionAffectedTableCells'](_0x3be653[_0x1835('0x44')][_0x1835('0x1b')][_0x1835('0x25')]),_0x4fa4bc=_0x96deb9[_0x1835('0x3c')](_0x43973f),_0x112f4d=_0x43973f[0x0][_0x1835('0x32')](_0x1835('0x11')),_0x1da807=_0x112f4d[_0x1835('0xe')](_0x1835('0x4a'))||0x0,_0x17fda4=_0x759934&&null!==_0x759934[_0x1835('0x10')]?_0x759934[_0x1835('0x10')]:!_0x3be653['commands'][_0x1835('0x46')]('setTableRowHeader')[_0x1835('0x49')],_0x1515a0=_0x17fda4?_0x4fa4bc[_0x1835('0x1c')]:_0x4fa4bc[_0x1835('0x36')],_0x1c72ce=_0x112f4d[_0x1835('0xd')](_0x1515a0);let _0x287fe6;if(_0x17fda4){const _0x5c024d=_0x112f4d['getChild'](_0x1da807);if(_0x1c72ce[_0x1835('0x2d')]<_0x5c024d['index'])return;_0x287fe6=_0x3be653[_0x1835('0x44')]['createRange'](_0x3be653[_0x1835('0x44')][_0x1835('0x40')](_0x5c024d['getChild'](0x0)),_0x3be653['model']['createPositionAfter'](_0x1c72ce[_0x1835('0xd')](_0x1c72ce[_0x1835('0x1a')]-0x1)));}else{const _0x54b530=_0x112f4d[_0x1835('0xd')](_0x1da807-0x1);if(!_0x54b530)return;_0x287fe6=_0x3be653[_0x1835('0x44')]['createRange'](_0x3be653[_0x1835('0x44')]['createPositionBefore'](_0x1c72ce[_0x1835('0xd')](0x0)),_0x3be653[_0x1835('0x44')][_0x1835('0x2')](_0x54b530[_0x1835('0xd')](_0x54b530[_0x1835('0x1a')]-0x1)));}_0x3be653[_0x1835('0x44')]['change'](()=>{_0x59cc7b[_0x1835('0x27')](_0x287fe6,{'commandName':_0x1835('0x18'),'commandParams':[{'forceValue':_0x17fda4}]},[],'setTableRowHeader');});}),_0x59cc7b['enableCommand'](_0x1835('0x20'),(_0x16ec96,_0x3bb07f)=>{const _0x5b8269=_0x3be653[_0x1835('0x5')]['get'](_0x1835('0x9')),_0x26f33f=_0x5b8269[_0x1835('0x3d')](_0x3be653[_0x1835('0x44')][_0x1835('0x1b')]['selection']),_0x55d006=_0x5b8269['getColumnIndexes'](_0x26f33f),_0x3dce9b=_0x26f33f[0x0][_0x1835('0x32')](_0x1835('0x11')),_0x234b43=_0x3dce9b['getAttribute'](_0x1835('0x3f'))||0x0,_0x734f49=_0x3bb07f&&null!==_0x3bb07f[_0x1835('0x10')]?_0x3bb07f[_0x1835('0x10')]:!_0x3be653[_0x1835('0x43')]['get'](_0x1835('0x20'))[_0x1835('0x49')];let _0xc087e0;const _0x423595=_0x3dce9b[_0x1835('0xd')](0x0),_0x2311a4=_0x734f49?_0x55d006['last']:_0x55d006['first'],_0x207c81=_0x5b8269[_0x1835('0x21')](_0x3dce9b,{'startRow':0x0,'column':_0x2311a4,'includeAllSlots':!0x1}),_0x3c814d=Array[_0x1835('0x47')](_0x207c81)[0x0]['cell'];if(_0x734f49){const _0x3103d1=_0x423595[_0x1835('0xd')](_0x234b43);if(_0x3c814d[_0x1835('0x33')](_0x3103d1))return;_0xc087e0=_0x3be653[_0x1835('0x44')][_0x1835('0x42')](_0x3be653[_0x1835('0x44')][_0x1835('0x40')](_0x3103d1),_0x3be653['model'][_0x1835('0x2')](_0x3c814d));}else{const _0x915426=_0x423595[_0x1835('0xd')](_0x234b43-0x1);if(!_0x915426)return;_0xc087e0=_0x3be653[_0x1835('0x44')]['createRange'](_0x3be653[_0x1835('0x44')]['createPositionBefore'](_0x3c814d),_0x3be653[_0x1835('0x44')]['createPositionAfter'](_0x915426));}_0x3be653['model'][_0x1835('0x34')](()=>{_0x59cc7b[_0x1835('0x27')](_0xc087e0,{'commandName':_0x1835('0x20'),'commandParams':[{'forceValue':_0x734f49}]},[],_0x1835('0x20'));});}),_0x3be653[_0x1835('0x3b')][_0x1835('0x48')]['on'](_0x1835('0xc'),_0x5d45db(),{'priority':_0x1835('0x31')}),_0x3be653['data'][_0x1835('0x48')]['on'](_0x1835('0xc'),(_0x13f073,_0x314813,_0x364268)=>{_0x364268['options'][_0x1835('0x8')]&&_0x5d45db({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x13f073,_0x314813,_0x364268);},{'priority':'highest'}),_0x3be653[_0x1835('0x3b')][_0x1835('0x48')]['on'](_0x1835('0x2b'),(_0x15ef0d,_0x10da46,_0x24e1fe)=>{const {type:_0x3ea920,id:_0x107584}=_0x59cc7b[_0x1835('0x4e')](_0x10da46[_0x1835('0x24')]),_0x1e100f=_0x59cc7b['getSuggestion'](_0x107584);if(!_0x1e100f[_0x1835('0x6')]||_0x1835('0x20')!=_0x1e100f[_0x1835('0x6')]['commandName'])return;const _0x4b5740=_0x24e1fe['mapper'][_0x1835('0x16')](_0x10da46[_0x1835('0x24')]);if(_0x4b5740)for(const _0x4e8b0d of _0x4b5740)_0x24e1fe['writer'][_0x1835('0x1')]('ck-suggestion-marker-'+_0x3ea920,_0x4e8b0d),_0x24e1fe[_0x1835('0x2f')][_0x1835('0x1')](_0x1835('0xa'),_0x4e8b0d),_0x24e1fe[_0x1835('0x2f')][_0x1835('0x26')](_0x1835('0x4c'),_0x4e8b0d),_0x24e1fe[_0x1835('0x7')][_0x1835('0x4')](_0x4e8b0d,_0x10da46[_0x1835('0x24')]);},{'priority':_0x1835('0x31')}),_0x59cc7b[_0x1835('0x45')][_0x1835('0x17')](_0x1fb10a=>{const {data:_0x59d881}=_0x1fb10a;if(_0x59d881){if(_0x1835('0x18')==_0x59d881[_0x1835('0x38')]){const _0x5e2be0=_0x59d881['commandParams'][0x0][_0x1835('0x10')];return _0x1cecf3(_0x26cef4(_0x5079f4,_0x5e2be0?_0x1835('0x28'):_0x1835('0x35')));}if(_0x1835('0x20')==_0x59d881[_0x1835('0x38')]){const _0x205c11=_0x59d881[_0x1835('0x30')][0x0][_0x1835('0x10')];return _0x1cecf3(_0x26cef4(_0x5079f4,_0x205c11?'FORMAT_HEADER_COLUMN':_0x1835('0x4f')));}}function _0x1cecf3(_0x5cb96a){return{'type':'format','content':_0x26cef4(_0x5079f4,_0x1835('0xf'),_0x5cb96a)};}});const _0xbce3a=_0x28aa7c[_0x1835('0x1f')]();_0x59cc7b[_0x1835('0x39')]['registerCustomCallback'](_0x1835('0x2e'),_0x1835('0x18'),_0x1835('0xb'),_0xbce3a),_0x59cc7b[_0x1835('0x39')][_0x1835('0x3e')](_0x1835('0x2e'),_0x1835('0x20'),_0x1835('0xb'),_0xbce3a);}}
23
+ const _0x47fe=['nodeBefore','FORMAT_HEADER_ROW','table','_suggestionFactory','createRange','model','stop','FORMAT_REGULAR_ROW','highest','getColumnIndexes','_descriptionFactory','index','document','createPositionBefore','removeClass','markerNameToElements','enableCommand','setAttribute','activeMarkers','_splitMarkerName','setTableRowHeader','registerCustomCallback','data-suggestion','TableUtils','removeMarker:suggestion','getRowIndexes','getAttribute','name','findAncestor','from','parent','markerRange','getChild','editing','formatBlock','ck-suggestion-marker--active','item','cell','TrackChangesEditing','isBefore','headingRows','showSuggestionHighlights','plugins','nodeAfter','data','forceValue','consumable','createPositionAfter','downcastDispatcher','removeAttribute','markBlockFormat','markerName','commands','headingColumns','consume','locale','mapper','setTableColumnHeader','ck-suggestion-marker-','selection','get','editor','commandName','change','afterInit','childCount','end','first','getSuggestion','getCellLocation','addMarker:suggestion','FORMAT_HEADER_COLUMN','getSelectionAffectedTableCells','commandParams','TableEditing','createTableWalker','last','writer','requires','start','value','accept','addClass','*Format:*\x20%0','bindElementToMarker','has'];(function(_0x473513,_0x47fe99){const _0x2c90ca=function(_0x5623e5){while(--_0x5623e5){_0x473513['push'](_0x473513['shift']());}};_0x2c90ca(++_0x47fe99);}(_0x47fe,0x18f));const _0x2c90=function(_0x473513,_0x47fe99){_0x473513=_0x473513-0x0;let _0x2c90ca=_0x47fe[_0x473513];return _0x2c90ca;};import{Plugin as _0x45d683}from'ckeditor5/src/core';import _0x53f7cc from'./table';import{getTranslation as _0x16329d}from'../utils/common-translations';export default class pt extends _0x45d683{static get[_0x2c90('0x17')](){return[_0x53f7cc];}[_0x2c90('0x9')](){const _0x171665=this[_0x2c90('0x6')];if(!_0x171665['plugins'][_0x2c90('0x1e')](_0x2c90('0x13')))return;const _0x55e5f4=_0x171665[_0x2c90('0x0')],_0x223b1e=_0x171665[_0x2c90('0x49')]['get'](_0x2c90('0x45')),_0xa3bc32=_0x171665[_0x2c90('0x49')][_0x2c90('0x5')]('TableUtils'),_0x12e3e4=_0x171665[_0x2c90('0x49')]['get'](_0x53f7cc);function _0x28f7e5({showActiveMarker:_0x364b0a=!0x0,setDataAttribute:_0x9a4341=!0x0}={}){return(_0x557f86,_0x2990e6,_0x1e14fc)=>{const {type:_0x3f03f0,id:_0x2c09ac}=_0x223b1e[_0x2c90('0x32')](_0x2990e6[_0x2c90('0x52')]),_0x982feb=_0x223b1e[_0x2c90('0xd')](_0x2c09ac);if(!_0x982feb['data']||_0x2c90('0x2')!=_0x982feb[_0x2c90('0x4b')][_0x2c90('0x7')])return;if(_0x2990e6[_0x2c90('0x43')])return void _0x557f86[_0x2c90('0x25')]();if(!_0x1e14fc[_0x2c90('0x4d')][_0x2c90('0x55')](_0x2990e6[_0x2c90('0x3e')],_0x557f86[_0x2c90('0x3a')]))return;const _0x44b262=_0x2990e6[_0x2c90('0x3e')][_0x2c90('0x18')][_0x2c90('0x4a')],_0x54118d=_0x2990e6[_0x2c90('0x3e')][_0x2c90('0xb')][_0x2c90('0x1f')],_0x17de15=_0x44b262['parent'][_0x2c90('0x3d')],{column:_0x42f71c}=_0xa3bc32[_0x2c90('0xe')](_0x44b262),{column:_0x33e83d}=_0xa3bc32[_0x2c90('0xe')](_0x54118d);for(let _0x51a62c=_0x42f71c;_0x51a62c<=_0x33e83d;_0x51a62c++){const _0x2d87ce=_0xa3bc32[_0x2c90('0x14')](_0x17de15,{'column':_0x51a62c,'includeAllSlots':!0x1});for(const _0x1b0259 of _0x2d87ce){const _0x15caef=_0x1b0259[_0x2c90('0x44')],_0x35fa0b=_0x1e14fc[_0x2c90('0x1')]['toViewElement'](_0x15caef);_0x1e14fc[_0x2c90('0x16')][_0x2c90('0x1b')](_0x2c90('0x3')+_0x3f03f0,_0x35fa0b),_0x9a4341&&_0x1e14fc[_0x2c90('0x16')][_0x2c90('0x30')](_0x2c90('0x35'),_0x2c09ac,_0x35fa0b),_0x1e14fc[_0x2c90('0x1')][_0x2c90('0x1d')](_0x35fa0b,_0x2990e6[_0x2c90('0x52')]),_0x364b0a&&(_0x223b1e[_0x2c90('0x31')]['includes'](_0x2990e6[_0x2c90('0x52')])?_0x1e14fc[_0x2c90('0x16')][_0x2c90('0x1b')]('ck-suggestion-marker--active',_0x35fa0b):_0x1e14fc['writer'][_0x2c90('0x2d')](_0x2c90('0x42'),_0x35fa0b));}}};}_0x223b1e['enableCommand'](_0x2c90('0x33'),(_0x158608,_0x1a9e7b)=>{const _0x2b9449=_0xa3bc32[_0x2c90('0x11')](_0x171665[_0x2c90('0x24')][_0x2c90('0x2b')][_0x2c90('0x4')]),_0x1f1cf8=_0xa3bc32[_0x2c90('0x38')](_0x2b9449),_0x32630b=_0x2b9449[0x0][_0x2c90('0x3b')](_0x2c90('0x21')),_0x471c70=_0x32630b[_0x2c90('0x39')](_0x2c90('0x47'))||0x0,_0x493952=_0x1a9e7b&&null!==_0x1a9e7b['forceValue']?_0x1a9e7b[_0x2c90('0x4c')]:!_0x171665[_0x2c90('0x53')]['get'](_0x2c90('0x33'))['value'],_0x2f24b4=_0x493952?_0x1f1cf8[_0x2c90('0x15')]:_0x1f1cf8['first'],_0x3e3307=_0x32630b['getChild'](_0x2f24b4);let _0x3d889e;if(_0x493952){const _0xa8220f=_0x32630b[_0x2c90('0x3f')](_0x471c70);if(_0x3e3307[_0x2c90('0x2a')]<_0xa8220f['index'])return;_0x3d889e=_0x171665['model'][_0x2c90('0x23')](_0x171665[_0x2c90('0x24')][_0x2c90('0x2c')](_0xa8220f[_0x2c90('0x3f')](0x0)),_0x171665[_0x2c90('0x24')]['createPositionAfter'](_0x3e3307[_0x2c90('0x3f')](_0x3e3307[_0x2c90('0xa')]-0x1)));}else{const _0x18eb4d=_0x32630b[_0x2c90('0x3f')](_0x471c70-0x1);if(!_0x18eb4d)return;_0x3d889e=_0x171665[_0x2c90('0x24')][_0x2c90('0x23')](_0x171665[_0x2c90('0x24')][_0x2c90('0x2c')](_0x3e3307[_0x2c90('0x3f')](0x0)),_0x171665[_0x2c90('0x24')][_0x2c90('0x4e')](_0x18eb4d[_0x2c90('0x3f')](_0x18eb4d[_0x2c90('0xa')]-0x1)));}_0x171665['model'][_0x2c90('0x8')](()=>{_0x223b1e[_0x2c90('0x51')](_0x3d889e,{'commandName':_0x2c90('0x33'),'commandParams':[{'forceValue':_0x493952}]},[],_0x2c90('0x33'));});}),_0x223b1e[_0x2c90('0x2f')](_0x2c90('0x2'),(_0x4b56c0,_0x4d565f)=>{const _0x5e6bd9=_0x171665['plugins'][_0x2c90('0x5')](_0x2c90('0x36')),_0x442ea0=_0x5e6bd9[_0x2c90('0x11')](_0x171665[_0x2c90('0x24')]['document'][_0x2c90('0x4')]),_0x4857d9=_0x5e6bd9[_0x2c90('0x28')](_0x442ea0),_0x44c133=_0x442ea0[0x0][_0x2c90('0x3b')](_0x2c90('0x21')),_0x35ac41=_0x44c133[_0x2c90('0x39')](_0x2c90('0x54'))||0x0,_0x2d288d=_0x4d565f&&null!==_0x4d565f[_0x2c90('0x4c')]?_0x4d565f[_0x2c90('0x4c')]:!_0x171665[_0x2c90('0x53')][_0x2c90('0x5')](_0x2c90('0x2'))[_0x2c90('0x19')];let _0x242b4e;const _0x3a74ab=_0x44c133[_0x2c90('0x3f')](0x0),_0x2231a5=_0x2d288d?_0x4857d9[_0x2c90('0x15')]:_0x4857d9[_0x2c90('0xc')],_0x265639=_0x5e6bd9[_0x2c90('0x14')](_0x44c133,{'startRow':0x0,'column':_0x2231a5,'includeAllSlots':!0x1}),_0x2b7c87=Array[_0x2c90('0x3c')](_0x265639)[0x0][_0x2c90('0x44')];if(_0x2d288d){const _0x1bdbf6=_0x3a74ab[_0x2c90('0x3f')](_0x35ac41);if(_0x2b7c87[_0x2c90('0x46')](_0x1bdbf6))return;_0x242b4e=_0x171665[_0x2c90('0x24')][_0x2c90('0x23')](_0x171665['model'][_0x2c90('0x2c')](_0x1bdbf6),_0x171665[_0x2c90('0x24')]['createPositionAfter'](_0x2b7c87));}else{const _0x4c484b=_0x3a74ab[_0x2c90('0x3f')](_0x35ac41-0x1);if(!_0x4c484b)return;_0x242b4e=_0x171665[_0x2c90('0x24')][_0x2c90('0x23')](_0x171665[_0x2c90('0x24')][_0x2c90('0x2c')](_0x2b7c87),_0x171665[_0x2c90('0x24')]['createPositionAfter'](_0x4c484b));}_0x171665[_0x2c90('0x24')][_0x2c90('0x8')](()=>{_0x223b1e['markBlockFormat'](_0x242b4e,{'commandName':'setTableColumnHeader','commandParams':[{'forceValue':_0x2d288d}]},[],_0x2c90('0x2'));});}),_0x171665[_0x2c90('0x40')][_0x2c90('0x4f')]['on'](_0x2c90('0xf'),_0x28f7e5(),{'priority':'highest'}),_0x171665['data'][_0x2c90('0x4f')]['on']('addMarker:suggestion',(_0x2ecbd0,_0x4473ba,_0x221e13)=>{_0x221e13['options'][_0x2c90('0x48')]&&_0x28f7e5({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x2ecbd0,_0x4473ba,_0x221e13);},{'priority':_0x2c90('0x27')}),_0x171665[_0x2c90('0x40')][_0x2c90('0x4f')]['on'](_0x2c90('0x37'),(_0x4bd2b5,_0x207b5f,_0x242622)=>{const {type:_0x44751b,id:_0xc6492}=_0x223b1e[_0x2c90('0x32')](_0x207b5f['markerName']),_0x503b3d=_0x223b1e['getSuggestion'](_0xc6492);if(!_0x503b3d[_0x2c90('0x4b')]||_0x2c90('0x2')!=_0x503b3d['data'][_0x2c90('0x7')])return;const _0x556983=_0x242622[_0x2c90('0x1')][_0x2c90('0x2e')](_0x207b5f['markerName']);if(_0x556983)for(const _0x5e9da9 of _0x556983)_0x242622['writer'][_0x2c90('0x2d')](_0x2c90('0x3')+_0x44751b,_0x5e9da9),_0x242622[_0x2c90('0x16')]['removeClass'](_0x2c90('0x42'),_0x5e9da9),_0x242622[_0x2c90('0x16')][_0x2c90('0x50')](_0x2c90('0x35'),_0x5e9da9),_0x242622['mapper']['unbindElementFromMarkerName'](_0x5e9da9,_0x207b5f['markerName']);},{'priority':'highest'}),_0x223b1e[_0x2c90('0x29')]['registerDescriptionCallback'](_0x256b12=>{const {data:_0x54f058}=_0x256b12;if(_0x54f058){if(_0x2c90('0x33')==_0x54f058[_0x2c90('0x7')]){const _0x6ad74=_0x54f058[_0x2c90('0x12')][0x0]['forceValue'];return _0x561649(_0x16329d(_0x55e5f4,_0x6ad74?_0x2c90('0x20'):_0x2c90('0x26')));}if(_0x2c90('0x2')==_0x54f058[_0x2c90('0x7')]){const _0x425fc3=_0x54f058['commandParams'][0x0]['forceValue'];return _0x561649(_0x16329d(_0x55e5f4,_0x425fc3?_0x2c90('0x10'):'FORMAT_REGULAR_COLUMN'));}}function _0x561649(_0x2abcf5){return{'type':'format','content':_0x16329d(_0x55e5f4,_0x2c90('0x1c'),_0x2abcf5)};}});const _0x53ecb8=_0x12e3e4['_acceptFormatSuggestionCallbackFactory']();_0x223b1e[_0x2c90('0x22')][_0x2c90('0x34')](_0x2c90('0x41'),'setTableRowHeader',_0x2c90('0x1a'),_0x53ecb8),_0x223b1e[_0x2c90('0x22')][_0x2c90('0x34')](_0x2c90('0x41'),'setTableColumnHeader',_0x2c90('0x1a'),_0x53ecb8);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x49d7=['enableCommand','highest','mergeTableCellUp','mergeTableCellRight','isEnabled','findAncestor','_areSelectedCellsMergable','document','refresh','commandName','commands','horizontally','createRangeOn','isInContent','format','tableCell','containsRange','forceDefaultExecution','TableEditing','splitTableCellHorizontally','model','$graveyard','deletion','setSelection','markMultiRangeBlockFormat','splitTableCellVertically','_areMergableCells','_descriptionFactory','*Merge\x20cells*','afterInit','execute','getRanges','direction','author','plugins','registerCustomCallback','requires','mergeTableCellDown','mergeTableCellLeft','detach','has','*Split\x20cell:*\x20vertically','registerDescriptionCallback','getFirstPosition','type','get','TableUtils','subType','find','editor','_suggestionFactory','_tablePostFixingSubtypes','trackChanges','table','mergeTableCells','return','root','stop','formatBlock','cell','accept','from','createTableWalker','length','size','value','getAncestors','TrackChangesEditing','selection','element','change','add','map','_isForcedDefaultExecutionBlock','rootName','filter','set:isEnabled','getSelectionAffectedTableCells'];(function(_0x3a86e4,_0x49d751){const _0x512283=function(_0x2b8642){while(--_0x2b8642){_0x3a86e4['push'](_0x3a86e4['shift']());}};_0x512283(++_0x49d751);}(_0x49d7,0x15a));const _0x5122=function(_0x3a86e4,_0x49d751){_0x3a86e4=_0x3a86e4-0x0;let _0x512283=_0x49d7[_0x3a86e4];return _0x512283;};import{Plugin as _0x552bdc}from'ckeditor5/src/core';import _0x98219d from'./table';import{LiveRange as _0x39bcb7}from'ckeditor5/src/engine';import{getTranslation as _0x3a9acd}from'../utils/common-translations';export default class dt extends _0x552bdc{static get[_0x5122('0x2')](){return[_0x98219d];}[_0x5122('0x49')](){const _0x111328=this[_0x5122('0xf')],_0x41eb02=_0x111328[_0x5122('0x40')]['document'][_0x5122('0x22')],_0x59cefc=_0x111328['locale'];if(!_0x111328[_0x5122('0x0')][_0x5122('0x6')](_0x5122('0x3e')))return;const _0x5ce6fc=_0x111328[_0x5122('0x0')][_0x5122('0xb')](_0x5122('0x21')),_0x4756c5=_0x111328[_0x5122('0x0')]['get'](_0x5122('0xc')),_0x551bb6=_0x111328['plugins'][_0x5122('0xb')](_0x98219d);_0x551bb6[_0x5122('0x11')]['push'](_0x5122('0x14')),_0x5ce6fc[_0x5122('0x2c')](_0x5122('0x14'),()=>{const _0x28d811=_0x4756c5[_0x5122('0x2b')](_0x111328[_0x5122('0x40')]['document'][_0x5122('0x22')]);_0x111328[_0x5122('0x40')][_0x5122('0x24')](()=>{_0x5ce6fc[_0x5122('0x44')](_0x28d811,{'commandName':'mergeTableCells','commandParams':[]},[],_0x5122('0x14'));});}),_0x111328[_0x5122('0x36')][_0x5122('0xb')](_0x5122('0x14'))['on'](_0x5122('0x4a'),(_0x284a32,_0x4720f1)=>{_0x111328[_0x5122('0x36')][_0x5122('0xb')](_0x5122('0x12'))[_0x5122('0x1f')]&&(_0x4720f1[_0x5122('0x1d')]>0x0&&_0x4720f1[_0x4720f1['length']-0x1]&&_0x4720f1[_0x4720f1[_0x5122('0x1d')]-0x1][_0x5122('0x3d')]||_0x5ce6fc[_0x5122('0x27')]||this[_0x5122('0x32')]()||_0x284a32[_0x5122('0x17')]());},{'priority':_0x5122('0x2d')});for(const _0x55e3bb of['mergeTableCellUp',_0x5122('0x2f'),_0x5122('0x3'),_0x5122('0x4')]){const _0x2cd589=_0x111328[_0x5122('0x36')][_0x5122('0xb')](_0x55e3bb);_0x5ce6fc[_0x5122('0x2c')](_0x55e3bb,()=>{const _0x23ef56=_0x111328[_0x5122('0x40')][_0x5122('0x33')]['selection'][_0x5122('0x9')]()['getAncestors']()[_0x5122('0xe')](_0x2c9d20=>_0x2c9d20['is'](_0x5122('0x23'),_0x5122('0x3b'))),_0x36c393=_0x2cd589[_0x5122('0x1f')];_0x111328[_0x5122('0x40')]['change'](()=>{_0x5ce6fc[_0x5122('0x44')]([_0x23ef56,_0x36c393],{'commandName':_0x5122('0x14'),'commandParams':[]},[],_0x5122('0x14'));});});}for(const _0x3e95e4 of[_0x5122('0x45'),'splitTableCellHorizontally']){const _0x258688=_0x111328['commands'][_0x5122('0xb')](_0x3e95e4);_0x5ce6fc[_0x5122('0x2c')](_0x3e95e4,()=>{const _0x1c00d9=_0x4756c5[_0x5122('0x2b')](_0x111328[_0x5122('0x40')][_0x5122('0x33')]['selection'])[0x0],_0x143522=_0x1c00d9[_0x5122('0x31')](_0x5122('0x13')),{column:_0x265901,row:_0x1759ee}=_0x4756c5['getCellLocation'](_0x1c00d9);let _0x2df9cc=[];if(_0x5122('0x37')==_0x258688[_0x5122('0x4c')]){const _0x22f1f5=_0x4756c5[_0x5122('0x1c')](_0x143522,{'startRow':_0x1759ee,'endRow':_0x1759ee,'includeAllSlots':!0x0});_0x2df9cc=Array[_0x5122('0x1b')](_0x22f1f5)[_0x5122('0x26')](_0x3d0c4d=>_0x3d0c4d[_0x5122('0x19')]);}else{const _0x518801=_0x4756c5[_0x5122('0x1c')](_0x143522,{'column':_0x265901,'includeAllSlots':!0x0});_0x2df9cc=Array[_0x5122('0x1b')](_0x518801)[_0x5122('0x26')](_0x4066b1=>_0x4066b1['cell']);}_0x111328[_0x5122('0x40')][_0x5122('0x24')](_0x3ee53f=>{_0x5ce6fc['markBlockFormat'](_0x3ee53f[_0x5122('0x38')](_0x1c00d9),{'commandName':_0x3e95e4,'commandParams':[]},_0x2df9cc,_0x3e95e4);});});}_0x5ce6fc[_0x5122('0x47')][_0x5122('0x8')](_0x2e89bf=>{const {data:_0x191921}=_0x2e89bf;if(_0x191921)return _0x5122('0x14')==_0x191921['commandName']?{'type':_0x5122('0x3a'),'content':_0x3a9acd(_0x59cefc,_0x5122('0x48'))}:void 0x0;}),_0x5ce6fc[_0x5122('0x47')][_0x5122('0x8')](_0x5539ce=>{const {data:_0x2b9622}=_0x5539ce;if(_0x2b9622)return _0x5122('0x45')==_0x2b9622['commandName']?{'type':'format','content':_0x3a9acd(_0x59cefc,_0x5122('0x7'))}:_0x5122('0x3f')==_0x2b9622[_0x5122('0x35')]?{'type':_0x5122('0x3a'),'content':_0x3a9acd(_0x59cefc,'*Split\x20cell:*\x20horizontally')}:void 0x0;});const _0x19fd74=_0x551bb6['_acceptFormatSuggestionCallbackFactory']();for(const _0xc1c417 of['mergeTableCellUp',_0x5122('0x2f'),_0x5122('0x3'),'mergeTableCellLeft'])_0x5ce6fc['_suggestionFactory']['registerCustomCallback'](_0x5122('0x18'),_0xc1c417,'accept',_0x19fd74);for(const _0x35bbf2 of['splitTableCellVertically',_0x5122('0x3f')])_0x5ce6fc[_0x5122('0x10')][_0x5122('0x1')](_0x5122('0x18'),_0x35bbf2,_0x5122('0x1a'),_0x19fd74);_0x5ce6fc['_suggestionFactory'][_0x5122('0x1')](_0x5122('0x18'),_0x5122('0x14'),_0x5122('0x1a'),_0x30aad6=>{_0x111328[_0x5122('0x40')][_0x5122('0x24')](_0x35c240=>{const _0x15d2a3=Array['from'](_0x41eb02[_0x5122('0x4b')]())[_0x5122('0x26')](_0x4f3d80=>_0x39bcb7['fromRange'](_0x4f3d80));_0x35c240[_0x5122('0x43')](_0x30aad6),_0x111328['commands'][_0x5122('0xb')](_0x5122('0x14'))[_0x5122('0x34')](),_0x111328[_0x5122('0x4a')](_0x5122('0x14'),{'forceDefaultExecution':!0x0});const _0x34b06b=_0x15d2a3[_0x5122('0x29')](_0x181c49=>_0x5122('0x41')!=_0x181c49[_0x5122('0x16')][_0x5122('0x28')]);_0x34b06b[_0x5122('0x1d')]>0x0&&_0x35c240['setSelection'](_0x34b06b);for(const _0x52b49e of _0x15d2a3)_0x52b49e[_0x5122('0x5')]();});});for(const _0x4b963b of[_0x5122('0x2e'),_0x5122('0x3'),_0x5122('0x4'),'mergeTableCellRight']){const _0x29f3ee=_0x111328[_0x5122('0x36')]['get'](_0x4b963b);_0x29f3ee['on'](_0x5122('0x2a'),(_0x3ec2d8,_0x268237,_0x13ed02)=>{if(_0x13ed02){const _0xc44605=_0x111328[_0x5122('0x40')][_0x5122('0x33')][_0x5122('0x22')][_0x5122('0x9')]()[_0x5122('0x20')]()[_0x5122('0xe')](_0xb04e28=>_0xb04e28['is'](_0x5122('0x23'),_0x5122('0x3b')));this[_0x5122('0x46')](_0x29f3ee['value'],_0xc44605)||(_0x3ec2d8[_0x5122('0x15')]=!0x1,_0x3ec2d8['stop']());}},{'priority':'low'});}}[_0x5122('0x32')](){const _0x34c3cd=this[_0x5122('0xf')][_0x5122('0x36')][_0x5122('0xb')]('mergeTableCells'),_0x2bc4be=this[_0x5122('0xf')][_0x5122('0x0')]['get'](_0x5122('0xc'));if(!_0x34c3cd[_0x5122('0x30')])return!0x1;const _0x24319a=_0x2bc4be['getSelectionAffectedTableCells'](this[_0x5122('0xf')][_0x5122('0x40')][_0x5122('0x33')][_0x5122('0x22')]);for(const _0x354a69 of _0x24319a)for(const _0x2d7f7e of _0x24319a)if(_0x354a69!=_0x2d7f7e&&!this[_0x5122('0x46')](_0x354a69,_0x2d7f7e))return!0x1;return!0x0;}['_areMergableCells'](_0x52746a,_0x49ef5e){const _0x16d3b1=this['editor']['plugins'][_0x5122('0xb')](_0x5122('0x21')),_0x1ca5d5=this['editor'][_0x5122('0x40')][_0x5122('0x38')](_0x52746a),_0x3e60e5=this[_0x5122('0xf')][_0x5122('0x40')][_0x5122('0x38')](_0x49ef5e),_0xaf8190=new Set(),_0x559205=new Set();for(const _0x4fbe5d of _0x16d3b1['getSuggestions']())if(('insertion'==_0x4fbe5d[_0x5122('0xa')]||_0x5122('0x42')==_0x4fbe5d[_0x5122('0xa')]||'mergeTableCells'==_0x4fbe5d[_0x5122('0xd')])&&_0x4fbe5d[_0x5122('0x39')])for(const _0x2551b3 of _0x4fbe5d['getRanges']())_0x2551b3[_0x5122('0x3c')](_0x1ca5d5,!0x0)&&_0xaf8190[_0x5122('0x25')](_0x4fbe5d['type']+':'+_0x4fbe5d['author']['id']),_0x2551b3[_0x5122('0x3c')](_0x3e60e5,!0x0)&&_0x559205[_0x5122('0x25')](_0x4fbe5d[_0x5122('0xa')]+':'+_0x4fbe5d[_0x5122('0x4d')]['id']);if(_0xaf8190[_0x5122('0x1e')]!=_0x559205['size'])return!0x1;for(const _0x190827 of _0xaf8190)if(!_0x559205['has'](_0x190827))return!0x1;return!0x0;}}
23
+ const _0x11a2=['highest','tableCell','execute','enableCommand','fromRange','cell','registerDescriptionCallback','getSelectionAffectedTableCells','horizontally','commands','TableUtils','mergeTableCellUp','find','TrackChangesEditing','getRanges','mergeTableCellLeft','setSelection','trackChanges','size','createTableWalker','stop','from','isEnabled','requires','locale','registerCustomCallback','markBlockFormat','markMultiRangeBlockFormat','_areMergableCells','editor','*Merge\x20cells*','element','return','containsRange','author','map','add','_areSelectedCellsMergable','selection','low','getFirstPosition','change','push','filter','findAncestor','*Split\x20cell:*\x20vertically','rootName','createRangeOn','accept','_acceptFormatSuggestionCallbackFactory','has','length','direction','mergeTableCellDown','splitTableCellHorizontally','plugins','get','root','model','afterInit','getAncestors','formatBlock','type','detach','value','format','commandName','_suggestionFactory','_tablePostFixingSubtypes','subType','document','set:isEnabled','refresh','mergeTableCells','mergeTableCellRight','isInContent','insertion','table','splitTableCellVertically'];(function(_0x4d4558,_0x11a220){const _0x5760d8=function(_0x473074){while(--_0x473074){_0x4d4558['push'](_0x4d4558['shift']());}};_0x5760d8(++_0x11a220);}(_0x11a2,0x1a8));const _0x5760=function(_0x4d4558,_0x11a220){_0x4d4558=_0x4d4558-0x0;let _0x5760d8=_0x11a2[_0x4d4558];return _0x5760d8;};import{Plugin as _0x196559}from'ckeditor5/src/core';import _0x20ebe0 from'./table';import{LiveRange as _0x2bf2c7}from'ckeditor5/src/engine';import{getTranslation as _0x4f7a4d}from'../utils/common-translations';export default class dt extends _0x196559{static get[_0x5760('0x49')](){return[_0x20ebe0];}[_0x5760('0x1e')](){const _0x3909e1=this[_0x5760('0x0')],_0x21de76=_0x3909e1[_0x5760('0x1d')][_0x5760('0x29')]['selection'],_0x4c18a3=_0x3909e1[_0x5760('0x4a')];if(!_0x3909e1[_0x5760('0x1a')][_0x5760('0x15')]('TableEditing'))return;const _0x486abd=_0x3909e1[_0x5760('0x1a')][_0x5760('0x1b')](_0x5760('0x3f')),_0x443a58=_0x3909e1[_0x5760('0x1a')]['get'](_0x5760('0x3c')),_0x8d708d=_0x3909e1[_0x5760('0x1a')][_0x5760('0x1b')](_0x20ebe0);_0x8d708d[_0x5760('0x27')][_0x5760('0xd')](_0x5760('0x2c')),_0x486abd['enableCommand']('mergeTableCells',()=>{const _0x38f2b=_0x443a58[_0x5760('0x39')](_0x3909e1[_0x5760('0x1d')][_0x5760('0x29')][_0x5760('0x9')]);_0x3909e1['model'][_0x5760('0xc')](()=>{_0x486abd['markMultiRangeBlockFormat'](_0x38f2b,{'commandName':_0x5760('0x2c'),'commandParams':[]},[],_0x5760('0x2c'));});}),_0x3909e1[_0x5760('0x3b')][_0x5760('0x1b')]('mergeTableCells')['on'](_0x5760('0x34'),(_0x4d2f29,_0x263f32)=>{_0x3909e1['commands'][_0x5760('0x1b')](_0x5760('0x43'))['value']&&(_0x263f32['length']>0x0&&_0x263f32[_0x263f32[_0x5760('0x16')]-0x1]&&_0x263f32[_0x263f32['length']-0x1]['forceDefaultExecution']||_0x486abd['_isForcedDefaultExecutionBlock']||this[_0x5760('0x8')]()||_0x4d2f29[_0x5760('0x46')]());},{'priority':_0x5760('0x32')});for(const _0x4b0ee9 of[_0x5760('0x3d'),_0x5760('0x2d'),_0x5760('0x18'),_0x5760('0x41')]){const _0x10ee46=_0x3909e1['commands'][_0x5760('0x1b')](_0x4b0ee9);_0x486abd[_0x5760('0x35')](_0x4b0ee9,()=>{const _0x3eff4d=_0x3909e1[_0x5760('0x1d')][_0x5760('0x29')][_0x5760('0x9')][_0x5760('0xb')]()['getAncestors']()['find'](_0x1bbc4a=>_0x1bbc4a['is'](_0x5760('0x2'),_0x5760('0x33'))),_0x3a0c59=_0x10ee46[_0x5760('0x23')];_0x3909e1[_0x5760('0x1d')][_0x5760('0xc')](()=>{_0x486abd[_0x5760('0x4d')]([_0x3eff4d,_0x3a0c59],{'commandName':_0x5760('0x2c'),'commandParams':[]},[],_0x5760('0x2c'));});});}for(const _0x4c509e of['splitTableCellVertically',_0x5760('0x19')]){const _0x132557=_0x3909e1[_0x5760('0x3b')][_0x5760('0x1b')](_0x4c509e);_0x486abd['enableCommand'](_0x4c509e,()=>{const _0x4f6b17=_0x443a58['getSelectionAffectedTableCells'](_0x3909e1[_0x5760('0x1d')][_0x5760('0x29')]['selection'])[0x0],_0x57532c=_0x4f6b17[_0x5760('0xf')](_0x5760('0x30')),{column:_0x2407bf,row:_0x30a8ce}=_0x443a58['getCellLocation'](_0x4f6b17);let _0x19ef5f=[];if(_0x5760('0x3a')==_0x132557[_0x5760('0x17')]){const _0x4dc781=_0x443a58[_0x5760('0x45')](_0x57532c,{'startRow':_0x30a8ce,'endRow':_0x30a8ce,'includeAllSlots':!0x0});_0x19ef5f=Array['from'](_0x4dc781)[_0x5760('0x6')](_0x54cc88=>_0x54cc88[_0x5760('0x37')]);}else{const _0x6caa72=_0x443a58['createTableWalker'](_0x57532c,{'column':_0x2407bf,'includeAllSlots':!0x0});_0x19ef5f=Array[_0x5760('0x47')](_0x6caa72)[_0x5760('0x6')](_0x2dd2da=>_0x2dd2da[_0x5760('0x37')]);}_0x3909e1[_0x5760('0x1d')][_0x5760('0xc')](_0x733309=>{_0x486abd[_0x5760('0x4c')](_0x733309[_0x5760('0x12')](_0x4f6b17),{'commandName':_0x4c509e,'commandParams':[]},_0x19ef5f,_0x4c509e);});});}_0x486abd['_descriptionFactory'][_0x5760('0x38')](_0x170905=>{const {data:_0x238cf7}=_0x170905;if(_0x238cf7)return _0x5760('0x2c')==_0x238cf7[_0x5760('0x25')]?{'type':_0x5760('0x24'),'content':_0x4f7a4d(_0x4c18a3,_0x5760('0x1'))}:void 0x0;}),_0x486abd['_descriptionFactory'][_0x5760('0x38')](_0x58ab98=>{const {data:_0xe1b14c}=_0x58ab98;if(_0xe1b14c)return _0x5760('0x31')==_0xe1b14c[_0x5760('0x25')]?{'type':'format','content':_0x4f7a4d(_0x4c18a3,_0x5760('0x10'))}:_0x5760('0x19')==_0xe1b14c[_0x5760('0x25')]?{'type':_0x5760('0x24'),'content':_0x4f7a4d(_0x4c18a3,'*Split\x20cell:*\x20horizontally')}:void 0x0;});const _0x542fbd=_0x8d708d[_0x5760('0x14')]();for(const _0x242e64 of[_0x5760('0x3d'),_0x5760('0x2d'),'mergeTableCellDown','mergeTableCellLeft'])_0x486abd[_0x5760('0x26')][_0x5760('0x4b')](_0x5760('0x20'),_0x242e64,_0x5760('0x13'),_0x542fbd);for(const _0x247015 of[_0x5760('0x31'),'splitTableCellHorizontally'])_0x486abd[_0x5760('0x26')][_0x5760('0x4b')](_0x5760('0x20'),_0x247015,_0x5760('0x13'),_0x542fbd);_0x486abd['_suggestionFactory'][_0x5760('0x4b')](_0x5760('0x20'),_0x5760('0x2c'),_0x5760('0x13'),_0x163873=>{_0x3909e1[_0x5760('0x1d')][_0x5760('0xc')](_0x2fdc92=>{const _0x785fb8=Array['from'](_0x21de76[_0x5760('0x40')]())['map'](_0x13a06c=>_0x2bf2c7[_0x5760('0x36')](_0x13a06c));_0x2fdc92['setSelection'](_0x163873),_0x3909e1['commands'][_0x5760('0x1b')](_0x5760('0x2c'))[_0x5760('0x2b')](),_0x3909e1[_0x5760('0x34')](_0x5760('0x2c'),{'forceDefaultExecution':!0x0});const _0x30d949=_0x785fb8[_0x5760('0xe')](_0x1ee161=>'$graveyard'!=_0x1ee161[_0x5760('0x1c')][_0x5760('0x11')]);_0x30d949[_0x5760('0x16')]>0x0&&_0x2fdc92[_0x5760('0x42')](_0x30d949);for(const _0xc9a5fa of _0x785fb8)_0xc9a5fa[_0x5760('0x22')]();});});for(const _0x310557 of[_0x5760('0x3d'),_0x5760('0x18'),_0x5760('0x41'),_0x5760('0x2d')]){const _0x879154=_0x3909e1['commands'][_0x5760('0x1b')](_0x310557);_0x879154['on'](_0x5760('0x2a'),(_0x5f4055,_0xfd1243,_0x35e0a9)=>{if(_0x35e0a9){const _0x1622bc=_0x3909e1[_0x5760('0x1d')][_0x5760('0x29')][_0x5760('0x9')][_0x5760('0xb')]()[_0x5760('0x1f')]()[_0x5760('0x3e')](_0x2c3c68=>_0x2c3c68['is']('element',_0x5760('0x33')));this['_areMergableCells'](_0x879154[_0x5760('0x23')],_0x1622bc)||(_0x5f4055[_0x5760('0x3')]=!0x1,_0x5f4055[_0x5760('0x46')]());}},{'priority':_0x5760('0xa')});}}[_0x5760('0x8')](){const _0x49daad=this[_0x5760('0x0')][_0x5760('0x3b')][_0x5760('0x1b')](_0x5760('0x2c')),_0x4b7518=this[_0x5760('0x0')][_0x5760('0x1a')][_0x5760('0x1b')](_0x5760('0x3c'));if(!_0x49daad[_0x5760('0x48')])return!0x1;const _0x4c1788=_0x4b7518[_0x5760('0x39')](this['editor']['model'][_0x5760('0x29')]['selection']);for(const _0x89497b of _0x4c1788)for(const _0x129ec1 of _0x4c1788)if(_0x89497b!=_0x129ec1&&!this[_0x5760('0x4e')](_0x89497b,_0x129ec1))return!0x1;return!0x0;}[_0x5760('0x4e')](_0x2bcbf3,_0x159104){const _0xf6fcfa=this[_0x5760('0x0')][_0x5760('0x1a')]['get']('TrackChangesEditing'),_0x568e0a=this[_0x5760('0x0')][_0x5760('0x1d')][_0x5760('0x12')](_0x2bcbf3),_0x762943=this[_0x5760('0x0')]['model'][_0x5760('0x12')](_0x159104),_0x5b7420=new Set(),_0x3276d8=new Set();for(const _0x567aef of _0xf6fcfa['getSuggestions']())if((_0x5760('0x2f')==_0x567aef[_0x5760('0x21')]||'deletion'==_0x567aef[_0x5760('0x21')]||'mergeTableCells'==_0x567aef[_0x5760('0x28')])&&_0x567aef[_0x5760('0x2e')])for(const _0x49ad22 of _0x567aef[_0x5760('0x40')]())_0x49ad22[_0x5760('0x4')](_0x568e0a,!0x0)&&_0x5b7420[_0x5760('0x7')](_0x567aef[_0x5760('0x21')]+':'+_0x567aef[_0x5760('0x5')]['id']),_0x49ad22[_0x5760('0x4')](_0x762943,!0x0)&&_0x3276d8['add'](_0x567aef['type']+':'+_0x567aef[_0x5760('0x5')]['id']);if(_0x5b7420[_0x5760('0x44')]!=_0x3276d8[_0x5760('0x44')])return!0x1;for(const _0x33c688 of _0x5b7420)if(!_0x3276d8[_0x5760('0x15')](_0x33c688))return!0x1;return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x51d3=['get','_descriptionFactory','locale','registerElementLabel','ELEMENT_TABLE_OF_CONTENTS','insertTableOfContents','plugins','commands','tableOfContents','TrackChangesEditing','enableCommand','afterInit','editor'];(function(_0xd8fd35,_0x51d3b5){const _0x56298c=function(_0x297117){while(--_0x297117){_0xd8fd35['push'](_0xd8fd35['shift']());}};_0x56298c(++_0x51d3b5);}(_0x51d3,0x9c));const _0x5629=function(_0xd8fd35,_0x51d3b5){_0xd8fd35=_0xd8fd35-0x0;let _0x56298c=_0x51d3[_0xd8fd35];return _0x56298c;};import{Plugin as _0xb1d9d3}from'ckeditor5/src/core';import{getTranslation as _0x36a20f}from'../utils/common-translations';export default class bt extends _0xb1d9d3{[_0x5629('0xb')](){const _0x29fa30=this[_0x5629('0xc')];if(!_0x29fa30[_0x5629('0x7')][_0x5629('0x0')](_0x5629('0x5')))return;_0x29fa30['plugins'][_0x5629('0x0')](_0x5629('0x9'))[_0x5629('0xa')](_0x5629('0x5'));const _0x304b91=_0x29fa30[_0x5629('0x6')][_0x5629('0x0')](_0x5629('0x9')),_0x2023b7=_0x29fa30[_0x5629('0x2')];_0x304b91[_0x5629('0x1')][_0x5629('0x3')](_0x5629('0x8'),_0x20f8d6=>_0x36a20f(_0x2023b7,_0x5629('0x4'),_0x20f8d6));}}
23
+ const _0x820a=['TrackChangesEditing','afterInit','commands','get','tableOfContents','plugins','ELEMENT_TABLE_OF_CONTENTS','_descriptionFactory','insertTableOfContents','locale'];(function(_0x5db145,_0x820a7f){const _0x1db6bd=function(_0x20ceab){while(--_0x20ceab){_0x5db145['push'](_0x5db145['shift']());}};_0x1db6bd(++_0x820a7f);}(_0x820a,0x1ed));const _0x1db6=function(_0x5db145,_0x820a7f){_0x5db145=_0x5db145-0x0;let _0x1db6bd=_0x820a[_0x5db145];return _0x1db6bd;};import{Plugin as _0xc6145f}from'ckeditor5/src/core';import{getTranslation as _0x592c12}from'../utils/common-translations';export default class bt extends _0xc6145f{[_0x1db6('0x8')](){const _0x2e2dbc=this['editor'];if(!_0x2e2dbc[_0x1db6('0x9')][_0x1db6('0x0')](_0x1db6('0x5')))return;_0x2e2dbc[_0x1db6('0x2')]['get']('TrackChangesEditing')['enableCommand']('insertTableOfContents');const _0x210209=_0x2e2dbc[_0x1db6('0x2')][_0x1db6('0x0')](_0x1db6('0x7')),_0x57e4c7=_0x2e2dbc[_0x1db6('0x6')];_0x210209[_0x1db6('0x4')]['registerElementLabel'](_0x1db6('0x1'),_0x40ba4f=>_0x592c12(_0x57e4c7,_0x1db6('0x3'),_0x40ba4f));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2ace=['join','tableCellPadding','data','tableCellHorizontalAlignment','_descriptionFactory','registerCustomCallback','handleSuggestionDescription','afterInit','tableCellWidth','has','tableBackgroundColor','getSuggestions','model','plugins','tableProperties','TablePropertiesEditing','tableBorderColor','tableCellBorderStyle','accept','subType','formatBlock','tableAlignment','_getSuggestion','enableCommand','tableCellBorderColor','tableCellBorderWidth','nodeAfter','tableWidth','start','_handlePropertyChange','selection','get','TrackChangesEditing','*Format:*\x20change\x20table\x20cell\x20properties','change','discard','markBlockFormat','getFirstPosition','getSuggestionCallback','batch','editor','tableCellProperties','tableCellHeight','*Format:*\x20change\x20table\x20properties','tableHeight','TableCellPropertiesEditing','_suggestionFactory','handleDiscardAction','TrackChangesTableProperties','getAttribute','tableCellBackgroundColor','registerDescriptionCallback','setAttribute','tableBorderStyle','locale','document','format'];(function(_0x56ccf4,_0x2ace00){const _0x1e0133=function(_0xf493b1){while(--_0xf493b1){_0x56ccf4['push'](_0x56ccf4['shift']());}};_0x1e0133(++_0x2ace00);}(_0x2ace,0x1d0));const _0x1e01=function(_0x56ccf4,_0x2ace00){_0x56ccf4=_0x56ccf4-0x0;let _0x1e0133=_0x2ace[_0x56ccf4];return _0x1e0133;};import{Plugin as _0x5791ce}from'ckeditor5/src/core';import{getTranslation as _0x23d573}from'../utils/common-translations';export default class Ct extends _0x5791ce{constructor(_0x1bead9){super(_0x1bead9),this['tableProperties']=[_0x1e01('0x8'),_0x1e01('0x2d'),'tableBorderWidth',_0x1e01('0xd'),_0x1e01('0x13'),_0x1e01('0x24'),_0x1e01('0x2')],this['tableCellProperties']=[_0x1e01('0x10'),_0x1e01('0x9'),_0x1e01('0x11'),_0x1e01('0x32'),_0x1e01('0x0'),_0x1e01('0x22'),_0x1e01('0x2a'),_0x1e01('0x34'),'tableCellVerticalAlignment'];}static get['pluginName'](){return _0x1e01('0x28');}[_0x1e01('0x38')](){const _0x4d37e4=this[_0x1e01('0x20')][_0x1e01('0x5')][_0x1e01('0x17')](_0x1e01('0x18'));if(this['editor'][_0x1e01('0x5')][_0x1e01('0x1')](_0x1e01('0x7'))){for(const _0x171378 of this['tableProperties'])_0x4d37e4[_0x1e01('0xf')](_0x171378,(_0x1857a7,_0x359ec7)=>{const _0x1600d0=this[_0x1e01('0x20')][_0x1e01('0x4')][_0x1e01('0x2f')][_0x1e01('0x16')][_0x1e01('0x1d')]()['findAncestor']('table');this['_handlePropertyChange'](_0x171378,[_0x1600d0],this[_0x1e01('0x6')],_0x1e01('0x6'),_0x1857a7,_0x359ec7);});_0x4d37e4[_0x1e01('0x26')]['registerCustomCallback'](_0x1e01('0xc'),_0x1e01('0x6'),_0x1e01('0xa'),_0x4d37e4['_suggestionFactory'][_0x1e01('0x1e')](_0x1e01('0xc'),null,_0x1e01('0x1b'))),_0x4d37e4[_0x1e01('0x26')]['registerCustomCallback'](_0x1e01('0xc'),'tableProperties',_0x1e01('0x1b'),(_0x2073ae,_0x24b8aa)=>this[_0x1e01('0x27')](this['tableProperties'],_0x2073ae,_0x24b8aa)),_0x4d37e4[_0x1e01('0x26')][_0x1e01('0x36')](_0x1e01('0xc'),'tableProperties',_0x1e01('0x31'),()=>!0x1);}if(this[_0x1e01('0x20')][_0x1e01('0x5')][_0x1e01('0x1')](_0x1e01('0x25'))){for(const _0x4c51d6 of this[_0x1e01('0x21')])_0x4d37e4[_0x1e01('0xf')](_0x4c51d6,(_0x389088,_0x4d16c9)=>{const _0x56c785=this['editor'][_0x1e01('0x5')][_0x1e01('0x17')]('TableUtils')['getSelectionAffectedTableCells'](this[_0x1e01('0x20')][_0x1e01('0x4')]['document']['selection']);this['_handlePropertyChange'](_0x4c51d6,_0x56c785,this[_0x1e01('0x21')],_0x1e01('0x21'),_0x389088,_0x4d16c9);});_0x4d37e4[_0x1e01('0x26')][_0x1e01('0x36')](_0x1e01('0xc'),_0x1e01('0x21'),'accept',_0x4d37e4['_suggestionFactory']['getSuggestionCallback'](_0x1e01('0xc'),null,_0x1e01('0x1b'))),_0x4d37e4[_0x1e01('0x26')][_0x1e01('0x36')](_0x1e01('0xc'),_0x1e01('0x21'),_0x1e01('0x1b'),(_0xec97dd,_0x4091a9)=>this[_0x1e01('0x27')](this[_0x1e01('0x21')],_0xec97dd,_0x4091a9)),_0x4d37e4[_0x1e01('0x26')][_0x1e01('0x36')](_0x1e01('0xc'),_0x1e01('0x21'),_0x1e01('0x31'),()=>!0x1);}_0x4d37e4[_0x1e01('0x35')][_0x1e01('0x2b')](_0x3540d6=>this['handleSuggestionDescription'](_0x3540d6));}[_0x1e01('0x15')](_0x7a8fe9,_0x55d44a,_0x58ffd8,_0xea0e60,_0xe5b03f,_0x3c05c1){const _0x165da3=this[_0x1e01('0x20')][_0x1e01('0x5')][_0x1e01('0x17')](_0x1e01('0x18'));this['editor']['model']['enqueueChange'](_0x3c05c1[_0x1e01('0x1f')],()=>{for(const _0x25f3dd of _0x55d44a){if(this[_0x1e01('0xe')](_0x25f3dd,_0xea0e60))_0xe5b03f(_0x3c05c1);else{const _0x12531f={};for(const _0x377a05 of _0x58ffd8){const _0x37ea02=_0x25f3dd[_0x1e01('0x29')](_0x377a05);void 0x0!==_0x37ea02&&(_0x12531f[_0x377a05]=_0x37ea02);}_0xe5b03f(_0x3c05c1),_0x165da3[_0x1e01('0x1c')](_0x25f3dd,{'commandParams':[_0x12531f]},[],_0xea0e60);}}});}[_0x1e01('0x27')](_0x2ed1a5,_0x433a50,_0x1c1ca3){const _0xccf360=_0x433a50[0x0][_0x1e01('0x14')][_0x1e01('0x12')],_0xea5894=_0x1c1ca3['commandParams'][0x0];this[_0x1e01('0x20')]['model'][_0x1e01('0x1a')](_0x11b31c=>{for(const _0x9f50a7 of _0x2ed1a5)void 0x0!==_0xea5894[_0x9f50a7]?_0x11b31c[_0x1e01('0x2c')](_0x9f50a7,_0xea5894[_0x9f50a7],_0xccf360):_0x11b31c['removeAttribute'](_0x9f50a7,_0xccf360);});}[_0x1e01('0x37')](_0x52b9a3){if(_0x52b9a3[_0x1e01('0x33')])switch(_0x52b9a3[_0x1e01('0xb')]){case _0x1e01('0x6'):return{'type':_0x1e01('0x30'),'content':_0x23d573(this[_0x1e01('0x20')][_0x1e01('0x2e')],_0x1e01('0x23'))};case _0x1e01('0x21'):return{'type':_0x1e01('0x30'),'content':_0x23d573(this[_0x1e01('0x20')][_0x1e01('0x2e')],_0x1e01('0x19'))};}}[_0x1e01('0xe')](_0x41324b,_0x4d7d1d){const _0x1ab310=this['editor'][_0x1e01('0x5')][_0x1e01('0x17')](_0x1e01('0x18'));for(const _0x24ca10 of _0x1ab310[_0x1e01('0x3')]({'skipNotAttached':!0x0})){const _0x1573e7=_0x24ca10['getContainedElement']();if(_0x24ca10[_0x1e01('0xb')]===_0x4d7d1d&&_0x1573e7===_0x41324b)return _0x24ca10;}return null;}}
23
+ const _0x291a=['TableCellPropertiesEditing','plugins','enableCommand','getSuggestions','afterInit','tableCellVerticalAlignment','tableHeight','_descriptionFactory','handleDiscardAction','get','pluginName','getSuggestionCallback','tableBorderWidth','tableCellBorderWidth','registerCustomCallback','findAncestor','_getSuggestion','change','tableCellHeight','*Format:*\x20change\x20table\x20cell\x20properties','model','tableCellHorizontalAlignment','data','markBlockFormat','tableProperties','tableCellWidth','format','subType','discard','accept','TrackChangesEditing','getAttribute','editor','tableCellPadding','handleSuggestionDescription','tableCellProperties','_handlePropertyChange','_suggestionFactory','locale','formatBlock','document','selection','tableBorderStyle','table','join','*Format:*\x20change\x20table\x20properties','getFirstPosition','getSelectionAffectedTableCells','TablePropertiesEditing','has','nodeAfter','TrackChangesTableProperties','tableWidth','batch','tableCellBorderColor'];(function(_0x1c1aa9,_0x291a7b){const _0x583363=function(_0x4aa168){while(--_0x4aa168){_0x1c1aa9['push'](_0x1c1aa9['shift']());}};_0x583363(++_0x291a7b);}(_0x291a,0xda));const _0x5833=function(_0x1c1aa9,_0x291a7b){_0x1c1aa9=_0x1c1aa9-0x0;let _0x583363=_0x291a[_0x1c1aa9];return _0x583363;};import{Plugin as _0x39e53f}from'ckeditor5/src/core';import{getTranslation as _0x1f1501}from'../utils/common-translations';export default class Ct extends _0x39e53f{constructor(_0x27c18c){super(_0x27c18c),this[_0x5833('0x1a')]=['tableBorderColor',_0x5833('0x2c'),_0x5833('0xe'),'tableAlignment',_0x5833('0x36'),_0x5833('0x8'),'tableBackgroundColor'],this[_0x5833('0x25')]=[_0x5833('0x1'),'tableCellBorderStyle',_0x5833('0xf'),_0x5833('0x23'),_0x5833('0x1b'),_0x5833('0x14'),'tableCellBackgroundColor',_0x5833('0x17'),_0x5833('0x7')];}static get[_0x5833('0xc')](){return _0x5833('0x35');}[_0x5833('0x6')](){const _0x2f68d4=this[_0x5833('0x22')][_0x5833('0x3')][_0x5833('0xb')]('TrackChangesEditing');if(this['editor'][_0x5833('0x3')]['has'](_0x5833('0x32'))){for(const _0x19fb10 of this[_0x5833('0x1a')])_0x2f68d4[_0x5833('0x4')](_0x19fb10,(_0x3e4987,_0x5e1e48)=>{const _0x1fdaa7=this['editor'][_0x5833('0x16')][_0x5833('0x2a')][_0x5833('0x2b')][_0x5833('0x30')]()[_0x5833('0x11')](_0x5833('0x2d'));this[_0x5833('0x26')](_0x19fb10,[_0x1fdaa7],this[_0x5833('0x1a')],_0x5833('0x1a'),_0x3e4987,_0x5e1e48);});_0x2f68d4[_0x5833('0x27')]['registerCustomCallback'](_0x5833('0x29'),_0x5833('0x1a'),_0x5833('0x1f'),_0x2f68d4['_suggestionFactory'][_0x5833('0xd')](_0x5833('0x29'),null,_0x5833('0x1e'))),_0x2f68d4[_0x5833('0x27')][_0x5833('0x10')]('formatBlock',_0x5833('0x1a'),_0x5833('0x1e'),(_0xad0ebb,_0x23cf98)=>this[_0x5833('0xa')](this['tableProperties'],_0xad0ebb,_0x23cf98)),_0x2f68d4[_0x5833('0x27')][_0x5833('0x10')](_0x5833('0x29'),'tableProperties',_0x5833('0x2e'),()=>!0x1);}if(this[_0x5833('0x22')][_0x5833('0x3')][_0x5833('0x33')](_0x5833('0x2'))){for(const _0x348970 of this[_0x5833('0x25')])_0x2f68d4[_0x5833('0x4')](_0x348970,(_0x52e3d9,_0x2bc27c)=>{const _0x1fc21d=this[_0x5833('0x22')][_0x5833('0x3')][_0x5833('0xb')]('TableUtils')[_0x5833('0x31')](this[_0x5833('0x22')][_0x5833('0x16')][_0x5833('0x2a')][_0x5833('0x2b')]);this[_0x5833('0x26')](_0x348970,_0x1fc21d,this[_0x5833('0x25')],_0x5833('0x25'),_0x52e3d9,_0x2bc27c);});_0x2f68d4[_0x5833('0x27')][_0x5833('0x10')](_0x5833('0x29'),_0x5833('0x25'),_0x5833('0x1f'),_0x2f68d4[_0x5833('0x27')][_0x5833('0xd')](_0x5833('0x29'),null,'discard')),_0x2f68d4[_0x5833('0x27')][_0x5833('0x10')](_0x5833('0x29'),_0x5833('0x25'),_0x5833('0x1e'),(_0x344c59,_0x1e112a)=>this[_0x5833('0xa')](this[_0x5833('0x25')],_0x344c59,_0x1e112a)),_0x2f68d4[_0x5833('0x27')][_0x5833('0x10')](_0x5833('0x29'),'tableCellProperties',_0x5833('0x2e'),()=>!0x1);}_0x2f68d4[_0x5833('0x9')]['registerDescriptionCallback'](_0x35a97f=>this[_0x5833('0x24')](_0x35a97f));}[_0x5833('0x26')](_0x336477,_0x5a14b1,_0x4c5608,_0x239aba,_0x1ac394,_0xbb001a){const _0x393955=this[_0x5833('0x22')]['plugins'][_0x5833('0xb')](_0x5833('0x20'));this[_0x5833('0x22')][_0x5833('0x16')]['enqueueChange'](_0xbb001a[_0x5833('0x0')],()=>{for(const _0x390aa6 of _0x5a14b1){if(this['_getSuggestion'](_0x390aa6,_0x239aba))_0x1ac394(_0xbb001a);else{const _0x5d4ae1={};for(const _0x37e0aa of _0x4c5608){const _0x14b198=_0x390aa6[_0x5833('0x21')](_0x37e0aa);void 0x0!==_0x14b198&&(_0x5d4ae1[_0x37e0aa]=_0x14b198);}_0x1ac394(_0xbb001a),_0x393955[_0x5833('0x19')](_0x390aa6,{'commandParams':[_0x5d4ae1]},[],_0x239aba);}}});}[_0x5833('0xa')](_0x4d5055,_0x49cf37,_0x38b6c4){const _0x59cfc1=_0x49cf37[0x0]['start'][_0x5833('0x34')],_0x2d2f3e=_0x38b6c4['commandParams'][0x0];this[_0x5833('0x22')][_0x5833('0x16')][_0x5833('0x13')](_0x578c0c=>{for(const _0xaea808 of _0x4d5055)void 0x0!==_0x2d2f3e[_0xaea808]?_0x578c0c['setAttribute'](_0xaea808,_0x2d2f3e[_0xaea808],_0x59cfc1):_0x578c0c['removeAttribute'](_0xaea808,_0x59cfc1);});}['handleSuggestionDescription'](_0x4dfe0b){if(_0x4dfe0b[_0x5833('0x18')])switch(_0x4dfe0b[_0x5833('0x1d')]){case _0x5833('0x1a'):return{'type':_0x5833('0x1c'),'content':_0x1f1501(this[_0x5833('0x22')][_0x5833('0x28')],_0x5833('0x2f'))};case _0x5833('0x25'):return{'type':'format','content':_0x1f1501(this['editor'][_0x5833('0x28')],_0x5833('0x15'))};}}[_0x5833('0x12')](_0x2e70d9,_0x233bdb){const _0x23fcfb=this[_0x5833('0x22')]['plugins']['get'](_0x5833('0x20'));for(const _0x5ab9ad of _0x23fcfb[_0x5833('0x5')]({'skipNotAttached':!0x0})){const _0x36ba80=_0x5ab9ad['getContainedElement']();if(_0x5ab9ad['subType']===_0x233bdb&&_0x36ba80===_0x2e70d9)return _0x5ab9ad;}return null;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5e36=['plugins','insertTemplate','TrackChangesEditing','has','Template'];(function(_0xd2db7a,_0x5e366a){const _0x22bc9e=function(_0x423662){while(--_0x423662){_0xd2db7a['push'](_0xd2db7a['shift']());}};_0x22bc9e(++_0x5e366a);}(_0x5e36,0x9b));const _0x22bc=function(_0xd2db7a,_0x5e366a){_0xd2db7a=_0xd2db7a-0x0;let _0x22bc9e=_0x5e36[_0xd2db7a];return _0x22bc9e;};import{Plugin as _0x3f8cfe}from'ckeditor5/src/core';export default class yt extends _0x3f8cfe{['afterInit'](){const _0x590e01=this['editor'];_0x590e01[_0x22bc('0x0')][_0x22bc('0x3')](_0x22bc('0x4'))&&_0x590e01[_0x22bc('0x0')]['get'](_0x22bc('0x2'))['enableCommand'](_0x22bc('0x1'));}}
23
+ const _0x3965=['Template','get','plugins','insertTemplate','afterInit','TrackChangesEditing'];(function(_0x38703e,_0x396508){const _0x418d98=function(_0x29ad9e){while(--_0x29ad9e){_0x38703e['push'](_0x38703e['shift']());}};_0x418d98(++_0x396508);}(_0x3965,0x72));const _0x418d=function(_0x38703e,_0x396508){_0x38703e=_0x38703e-0x0;let _0x418d98=_0x3965[_0x38703e];return _0x418d98;};import{Plugin as _0x55f1ca}from'ckeditor5/src/core';export default class yt extends _0x55f1ca{[_0x418d('0x4')](){const _0x5deaf6=this['editor'];_0x5deaf6[_0x418d('0x2')]['has'](_0x418d('0x0'))&&_0x5deaf6[_0x418d('0x2')][_0x418d('0x1')](_0x418d('0x5'))['enableCommand'](_0x418d('0x3'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x35b6=['afterInit','_splitMarkerName','removeMarker','model','updateMarker','element','editor','schema','start','nodeBefore','_descriptionFactory','document','ELEMENT_TITLE','plugins','newRange','Title','createRange','from','has','locale','registerPostFixer','isEqual','suggestion','title-content','get','forward','differ'];(function(_0x361a18,_0x35b6d9){const _0x4e4d1a=function(_0x48703f){while(--_0x48703f){_0x361a18['push'](_0x361a18['shift']());}};_0x4e4d1a(++_0x35b6d9);}(_0x35b6,0x147));const _0x4e4d=function(_0x361a18,_0x35b6d9){_0x361a18=_0x361a18-0x0;let _0x4e4d1a=_0x35b6[_0x361a18];return _0x4e4d1a;};import{Plugin as _0x179ce7}from'ckeditor5/src/core';import{getTranslation as _0x561296}from'../utils/common-translations';export default class St extends _0x179ce7{[_0x4e4d('0x18')](){const _0x11d5be=this[_0x4e4d('0x3')];if(!_0x11d5be[_0x4e4d('0xa')][_0x4e4d('0xf')](_0x4e4d('0xc')))return;const _0x12d84e=_0x11d5be[_0x4e4d('0xa')][_0x4e4d('0x15')]('TrackChangesEditing');_0x12d84e[_0x4e4d('0x7')]['registerElementLabel']('title-content',()=>_0x561296(_0x11d5be[_0x4e4d('0x10')],_0x4e4d('0x9'))),_0x11d5be[_0x4e4d('0x0')][_0x4e4d('0x8')][_0x4e4d('0x11')](_0x2e1d7=>{let _0x2af18e=!0x1;const _0xec4aa3=Array[_0x4e4d('0xe')](_0x11d5be['model'][_0x4e4d('0x8')][_0x4e4d('0x17')]['getChangedMarkers']());for(const {name:_0x1d232d,data:_0x5f2103}of _0xec4aa3){const {group:_0x2d90cf}=_0x12d84e[_0x4e4d('0x19')](_0x1d232d);if(_0x4e4d('0x13')!==_0x2d90cf||!_0x5f2103[_0x4e4d('0xb')])continue;const _0x4cc83f=_0x5f2103['newRange'],_0x4d0734=_0x4cc83f['end'][_0x4e4d('0x6')];if(!_0x4d0734||!_0x4d0734['is'](_0x4e4d('0x2'),_0x4e4d('0x14')))continue;if(!_0x4cc83f['start']['isTouching'](_0x4cc83f['end']))continue;const _0x149fe5=_0x11d5be['model'][_0x4e4d('0x4')]['getNearestSelectionRange'](_0x4cc83f['end'],_0x4e4d('0x16'));if(_0x149fe5&&_0x149fe5['isCollapsed']){const _0x5b082f=_0x2e1d7[_0x4e4d('0xd')](_0x4cc83f[_0x4e4d('0x5')],_0x149fe5[_0x4e4d('0x5')]);_0x5b082f[_0x4e4d('0x12')](_0x4cc83f)||(_0x2e1d7[_0x4e4d('0x1')](_0x1d232d,{'range':_0x5b082f}),_0x2af18e=!0x0);}_0x2af18e||(_0x2e1d7[_0x4e4d('0x1a')](_0x1d232d),_0x2af18e=!0x0);}return _0x2af18e;});}}
23
+ const _0x172f=['title-content','getNearestSelectionRange','start','model','updateMarker','document','registerPostFixer','Title','has','differ','get','afterInit','_splitMarkerName','getChangedMarkers','locale','schema','editor','createRange','element','suggestion','isCollapsed','forward','ELEMENT_TITLE','end','newRange'];(function(_0x208fc9,_0x172f56){const _0x5464f5=function(_0x44b889){while(--_0x44b889){_0x208fc9['push'](_0x208fc9['shift']());}};_0x5464f5(++_0x172f56);}(_0x172f,0xec));const _0x5464=function(_0x208fc9,_0x172f56){_0x208fc9=_0x208fc9-0x0;let _0x5464f5=_0x172f[_0x208fc9];return _0x5464f5;};import{Plugin as _0x3b6884}from'ckeditor5/src/core';import{getTranslation as _0x3fbe8f}from'../utils/common-translations';export default class St extends _0x3b6884{[_0x5464('0x0')](){const _0x26302c=this[_0x5464('0x5')];if(!_0x26302c['plugins'][_0x5464('0x16')](_0x5464('0x15')))return;const _0x3da42a=_0x26302c['plugins'][_0x5464('0x18')]('TrackChangesEditing');_0x3da42a['_descriptionFactory']['registerElementLabel'](_0x5464('0xe'),()=>_0x3fbe8f(_0x26302c[_0x5464('0x3')],_0x5464('0xb'))),_0x26302c[_0x5464('0x11')][_0x5464('0x13')][_0x5464('0x14')](_0x34251c=>{let _0x33cdba=!0x1;const _0x324bb1=Array['from'](_0x26302c[_0x5464('0x11')][_0x5464('0x13')][_0x5464('0x17')][_0x5464('0x2')]());for(const {name:_0x2f2b80,data:_0x261fbc}of _0x324bb1){const {group:_0x2fc9d3}=_0x3da42a[_0x5464('0x1')](_0x2f2b80);if(_0x5464('0x8')!==_0x2fc9d3||!_0x261fbc[_0x5464('0xd')])continue;const _0x264e30=_0x261fbc[_0x5464('0xd')],_0x5dd8e5=_0x264e30[_0x5464('0xc')]['nodeBefore'];if(!_0x5dd8e5||!_0x5dd8e5['is'](_0x5464('0x7'),_0x5464('0xe')))continue;if(!_0x264e30[_0x5464('0x10')]['isTouching'](_0x264e30[_0x5464('0xc')]))continue;const _0x2c9ab0=_0x26302c[_0x5464('0x11')][_0x5464('0x4')][_0x5464('0xf')](_0x264e30['end'],_0x5464('0xa'));if(_0x2c9ab0&&_0x2c9ab0[_0x5464('0x9')]){const _0x21d0c5=_0x34251c[_0x5464('0x6')](_0x264e30[_0x5464('0x10')],_0x2c9ab0[_0x5464('0x10')]);_0x21d0c5['isEqual'](_0x264e30)||(_0x34251c[_0x5464('0x12')](_0x2f2b80,{'range':_0x21d0c5}),_0x33cdba=!0x0);}_0x33cdba||(_0x34251c['removeMarker'](_0x2f2b80),_0x33cdba=!0x0);}return _0x33cdba;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1268=['enableCommand','get','redo','has','undo','plugins','editor'];(function(_0x489973,_0x126862){const _0x3c2ad1=function(_0x475c18){while(--_0x475c18){_0x489973['push'](_0x489973['shift']());}};_0x3c2ad1(++_0x126862);}(_0x1268,0x195));const _0x3c2a=function(_0x489973,_0x126862){_0x489973=_0x489973-0x0;let _0x3c2ad1=_0x1268[_0x489973];return _0x3c2ad1;};import{Plugin as _0x34d6d5}from'ckeditor5/src/core';export default class It extends _0x34d6d5{['afterInit'](){const _0x3fb923=this[_0x3c2a('0x0')],_0x21d873=_0x3fb923[_0x3c2a('0x6')][_0x3c2a('0x2')]('TrackChangesEditing');_0x3fb923[_0x3c2a('0x6')][_0x3c2a('0x4')]('UndoEditing')&&(_0x21d873[_0x3c2a('0x1')](_0x3c2a('0x5')),_0x21d873[_0x3c2a('0x1')](_0x3c2a('0x3')));}}
23
+ const _0x337c=['editor','has','redo','plugins','TrackChangesEditing','undo','get','enableCommand'];(function(_0xade88b,_0x337cef){const _0x246685=function(_0x38e997){while(--_0x38e997){_0xade88b['push'](_0xade88b['shift']());}};_0x246685(++_0x337cef);}(_0x337c,0x91));const _0x2466=function(_0xade88b,_0x337cef){_0xade88b=_0xade88b-0x0;let _0x246685=_0x337c[_0xade88b];return _0x246685;};import{Plugin as _0x54bc53}from'ckeditor5/src/core';export default class It extends _0x54bc53{['afterInit'](){const _0x36a7d2=this[_0x2466('0x7')],_0x3668ef=_0x36a7d2[_0x2466('0x2')][_0x2466('0x5')](_0x2466('0x3'));_0x36a7d2[_0x2466('0x2')][_0x2466('0x0')]('UndoEditing')&&(_0x3668ef[_0x2466('0x6')](_0x2466('0x4')),_0x3668ef[_0x2466('0x6')](_0x2466('0x1')));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x28ef=['isAtEnd','push','isLimit','parent','getWalker','nextSibling','includes','writer','getCustomProperty','test','markerRange','insert','plugins','mapper','getItems','previousPosition','span','toViewElement','listItem','type','element','get','model','elementEnd','ck-suggestion-marker-','name','markerName','addClass','start','activeMarkers','bindElementToMarker','consumable','getAttribute','ck-suggestion-marker--active','item','isContent'];(function(_0x3b0cdd,_0x28ef4e){const _0x2b7477=function(_0x52aef3){while(--_0x52aef3){_0x3b0cdd['push'](_0x3b0cdd['shift']());}};_0x2b7477(++_0x28ef4e);}(_0x28ef,0x15c));const _0x2b74=function(_0x3b0cdd,_0x28ef4e){_0x3b0cdd=_0x3b0cdd-0x0;let _0x2b7477=_0x28ef[_0x3b0cdd];return _0x2b7477;};export function getRangesWithAttribute(_0x1babee,_0x99128,_0x1c2dd6){const _0x4a60a5=[];for(const _0xbf2200 of _0x99128[_0x2b74('0x1a')]())_0xbf2200['hasAttribute'](_0x1babee)&&_0x4a60a5[_0x2b74('0xd')](_0x1c2dd6['createRangeOn'](_0xbf2200));return _0x4a60a5;}export function getElementsAffectedByListItemRename(_0x2f5ed9){const _0x1d22ca=[];if(_0x2f5ed9['is'](_0x2b74('0x20'),_0x2b74('0x1e'))){let _0x1846cb=_0x2f5ed9[_0x2b74('0x11')];for(;_0x1846cb&&_0x1846cb['is'](_0x2b74('0x20'),_0x2b74('0x1e'))&&_0x1846cb[_0x2b74('0x8')]('listIndent')>0x0;)_0x1d22ca[_0x2b74('0xd')](_0x1846cb),_0x1846cb=_0x1846cb[_0x2b74('0x11')];}return _0x1d22ca;}export function downcastSplitMergeMarker(_0x3fa3f6,_0x5b7680,{showActiveMarker:_0x300b5c=!0x0}={}){const _0x319c92=_0x3fa3f6[_0x2b74('0x18')][_0x2b74('0x21')]('TrackChangesEditing');return(_0x18ca80,_0x136fdc,_0x73b435)=>{if(!_0x73b435[_0x2b74('0x7')][_0x2b74('0x15')](_0x136fdc[_0x2b74('0x16')],_0x18ca80[_0x2b74('0x1')]))return;const _0x38f7f6=_0x136fdc[_0x2b74('0x16')][_0x2b74('0x10')](),_0xa1d319=_0x136fdc[_0x2b74('0x16')][_0x2b74('0x4')],_0x11e8a1=_0x3fa3f6[_0x2b74('0x22')]['schema'];let _0x204508=null,_0x1ff3e8=null,_0xfc0201=!0x1,_0x337fb9=!0x1;for(const _0x53fb81 of _0x38f7f6){const _0x195efc=_0x53fb81[_0x2b74('0xa')];_0xfc0201=_0xfc0201||_0x11e8a1[_0x2b74('0xb')](_0x195efc);const _0x4f76f0=_0x73b435[_0x2b74('0x19')][_0x2b74('0x1d')](_0x195efc);if(_0x4f76f0&&_0x4f76f0[_0x2b74('0x14')]('addHighlight'))return;_0x2b74('0x23')==_0x53fb81[_0x2b74('0x1f')]&&(_0x11e8a1['isBlock'](_0x195efc)&&!_0x11e8a1[_0x2b74('0xe')](_0x195efc)&&(_0x195efc[_0x2b74('0x11')]||_0xa1d319[_0x2b74('0xc')]?_0x204508&&_0x204508[_0x2b74('0xf')]==_0x195efc||(_0x204508=_0x195efc,_0x313407(_0x53fb81[_0x2b74('0x1b')]),_0x337fb9=!0x0):_0x1ff3e8=_0x1ff3e8||_0x53fb81[_0x2b74('0x1b')]));}function _0x313407(_0x5126ea){const _0x3d8909=_0x73b435[_0x2b74('0x13')]['createUIElement'](_0x2b74('0x1c'),{'class':_0x2b74('0x0')+_0x5b7680}),_0x1745ec=_0x73b435['mapper']['toViewPosition'](_0x5126ea);_0x300b5c&&_0x319c92[_0x2b74('0x5')][_0x2b74('0x12')](_0x136fdc[_0x2b74('0x2')])&&_0x73b435['writer'][_0x2b74('0x3')](_0x2b74('0x9'),_0x3d8909),_0x73b435[_0x2b74('0x13')][_0x2b74('0x17')](_0x1745ec,_0x3d8909),_0x73b435[_0x2b74('0x19')][_0x2b74('0x6')](_0x3d8909,_0x136fdc[_0x2b74('0x2')]);}_0xfc0201||_0x337fb9||!_0x1ff3e8||_0x313407(_0x1ff3e8);};}
23
+ const _0x28f8=['getAttribute','includes','consumable','hasAttribute','isLimit','createRangeOn','addHighlight','name','getItems','insert','nextSibling','mapper','test','parent','bindElementToMarker','get','plugins','ck-suggestion-marker--active','activeMarkers','markerRange','ck-suggestion-marker-','listItem','previousPosition','addClass','markerName','writer','schema','push','getWalker','element','elementEnd','toViewPosition','isBlock','model','toViewElement','TrackChangesEditing','start','getCustomProperty'];(function(_0x3f1c91,_0x28f826){const _0x14927c=function(_0xebb299){while(--_0xebb299){_0x3f1c91['push'](_0x3f1c91['shift']());}};_0x14927c(++_0x28f826);}(_0x28f8,0x16d));const _0x1492=function(_0x3f1c91,_0x28f826){_0x3f1c91=_0x3f1c91-0x0;let _0x14927c=_0x28f8[_0x3f1c91];return _0x14927c;};export function getRangesWithAttribute(_0x23c241,_0x4aa8f2,_0x680cd7){const _0x2e4033=[];for(const _0x5f1922 of _0x4aa8f2[_0x1492('0x17')]())_0x5f1922[_0x1492('0x12')](_0x23c241)&&_0x2e4033[_0x1492('0x4')](_0x680cd7[_0x1492('0x14')](_0x5f1922));return _0x2e4033;}export function getElementsAffectedByListItemRename(_0x5855bc){const _0x578a10=[];if(_0x5855bc['is']('element','listItem')){let _0x5b9f20=_0x5855bc[_0x1492('0x19')];for(;_0x5b9f20&&_0x5b9f20['is'](_0x1492('0x6'),_0x1492('0x24'))&&_0x5b9f20[_0x1492('0xf')]('listIndent')>0x0;)_0x578a10['push'](_0x5b9f20),_0x5b9f20=_0x5b9f20[_0x1492('0x19')];}return _0x578a10;}export function downcastSplitMergeMarker(_0x1d5867,_0x3faca6,{showActiveMarker:_0x4855b6=!0x0}={}){const _0x477bed=_0x1d5867[_0x1492('0x1f')][_0x1492('0x1e')](_0x1492('0xc'));return(_0x494148,_0x25ae17,_0x4bdb5b)=>{if(!_0x4bdb5b[_0x1492('0x11')][_0x1492('0x1b')](_0x25ae17['markerRange'],_0x494148[_0x1492('0x16')]))return;const _0xd60a90=_0x25ae17[_0x1492('0x22')][_0x1492('0x5')](),_0x1274e6=_0x25ae17[_0x1492('0x22')][_0x1492('0xd')],_0x3017b4=_0x1d5867[_0x1492('0xa')][_0x1492('0x3')];let _0xdc0434=null,_0x53fb2d=null,_0x5916ff=!0x1,_0x1cd2e2=!0x1;for(const _0x2a6731 of _0xd60a90){const _0x27e8fd=_0x2a6731['item'];_0x5916ff=_0x5916ff||_0x3017b4['isContent'](_0x27e8fd);const _0x8d1f8c=_0x4bdb5b[_0x1492('0x1a')][_0x1492('0xb')](_0x27e8fd);if(_0x8d1f8c&&_0x8d1f8c[_0x1492('0xe')](_0x1492('0x15')))return;_0x1492('0x7')==_0x2a6731['type']&&(_0x3017b4[_0x1492('0x9')](_0x27e8fd)&&!_0x3017b4[_0x1492('0x13')](_0x27e8fd)&&(_0x27e8fd[_0x1492('0x19')]||_0x1274e6['isAtEnd']?_0xdc0434&&_0xdc0434[_0x1492('0x1c')]==_0x27e8fd||(_0xdc0434=_0x27e8fd,_0x548197(_0x2a6731[_0x1492('0x25')]),_0x1cd2e2=!0x0):_0x53fb2d=_0x53fb2d||_0x2a6731['previousPosition']));}function _0x548197(_0x345244){const _0x595b56=_0x4bdb5b[_0x1492('0x2')]['createUIElement']('span',{'class':_0x1492('0x23')+_0x3faca6}),_0x360aea=_0x4bdb5b[_0x1492('0x1a')][_0x1492('0x8')](_0x345244);_0x4855b6&&_0x477bed[_0x1492('0x21')][_0x1492('0x10')](_0x25ae17[_0x1492('0x1')])&&_0x4bdb5b[_0x1492('0x2')][_0x1492('0x0')](_0x1492('0x20'),_0x595b56),_0x4bdb5b[_0x1492('0x2')][_0x1492('0x18')](_0x360aea,_0x595b56),_0x4bdb5b[_0x1492('0x1a')][_0x1492('0x1d')](_0x595b56,_0x25ae17['markerName']);}_0x5916ff||_0x1cd2e2||!_0x53fb2d||_0x548197(_0x53fb2d);};}