@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20231004.0 → 0.0.0-nightly-20231005.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (65) hide show
  1. package/build/track-changes.js +1 -1
  2. package/package.json +3 -3
  3. package/src/commands/acceptsuggestioncommand.js +1 -1
  4. package/src/commands/discardsuggestioncommand.js +1 -1
  5. package/src/commands/executeonallsuggestionscommand.js +1 -1
  6. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  7. package/src/commands/trackchangescommand.js +1 -1
  8. package/src/integrations/aiassistant.js +1 -1
  9. package/src/integrations/alignment.js +1 -1
  10. package/src/integrations/basicstyles.js +1 -1
  11. package/src/integrations/blockquote.js +1 -1
  12. package/src/integrations/ckbox.js +1 -1
  13. package/src/integrations/codeblock.js +1 -1
  14. package/src/integrations/comments.js +1 -1
  15. package/src/integrations/deletecommand.js +1 -1
  16. package/src/integrations/documentlist.js +1 -1
  17. package/src/integrations/documentlistproperties.js +1 -1
  18. package/src/integrations/entercommand.js +1 -1
  19. package/src/integrations/findandreplace.js +1 -1
  20. package/src/integrations/font.js +1 -1
  21. package/src/integrations/formatpainter.js +1 -1
  22. package/src/integrations/heading.js +1 -1
  23. package/src/integrations/highlight.js +1 -1
  24. package/src/integrations/horizontalline.js +1 -1
  25. package/src/integrations/htmlembed.js +1 -1
  26. package/src/integrations/image.js +1 -1
  27. package/src/integrations/imagereplace.js +1 -1
  28. package/src/integrations/importword.js +1 -1
  29. package/src/integrations/indent.js +1 -1
  30. package/src/integrations/inputcommand.js +1 -1
  31. package/src/integrations/link.js +1 -1
  32. package/src/integrations/list.js +1 -1
  33. package/src/integrations/listproperties.js +1 -1
  34. package/src/integrations/mediaembed.js +1 -1
  35. package/src/integrations/mention.js +1 -1
  36. package/src/integrations/pagebreak.js +1 -1
  37. package/src/integrations/paragraph.js +1 -1
  38. package/src/integrations/removeformat.js +1 -1
  39. package/src/integrations/restrictededitingmode.js +1 -1
  40. package/src/integrations/shiftentercommand.js +1 -1
  41. package/src/integrations/standardeditingmode.js +1 -1
  42. package/src/integrations/style.js +1 -1
  43. package/src/integrations/table.js +1 -1
  44. package/src/integrations/tablecaption.js +1 -1
  45. package/src/integrations/tableclipboard.js +1 -1
  46. package/src/integrations/tablecolumnresize.js +1 -1
  47. package/src/integrations/tableheadings.js +1 -1
  48. package/src/integrations/tablemergesplit.js +1 -1
  49. package/src/integrations/tableofcontents.js +1 -1
  50. package/src/integrations/tableproperties.js +1 -1
  51. package/src/integrations/template.js +1 -1
  52. package/src/integrations/title.js +1 -1
  53. package/src/integrations/undo.js +1 -1
  54. package/src/integrations/utils.js +1 -1
  55. package/src/suggestion.js +1 -1
  56. package/src/suggestiondescriptionfactory.js +1 -1
  57. package/src/trackchanges.js +1 -1
  58. package/src/trackchangesdata.js +1 -1
  59. package/src/trackchangesediting.js +1 -1
  60. package/src/trackchangesui.js +1 -1
  61. package/src/ui/suggestioncontroller.js +1 -1
  62. package/src/ui/view/basesuggestionthreadview.js +1 -1
  63. package/src/ui/view/suggestionthreadview.js +1 -1
  64. package/src/utils/common-translations.js +1 -1
  65. package/src/utils/utils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x563b=['tablePasteCell','start','unwrap','table','nodeAfter','tableCellHorizontalAlignment','findAncestor','showSuggestionHighlights','suggestionUnloaded','isEqual','attributes','dataDowncast','TableUtils','entries','getColumns','rowInsertionIndexes','_suggestionFactory','getSuggestionCallback','register','ck-suggestion-marker-insertion','tableCell','author','endRow','registerCustomCallback','tableCellPadding','cells','locale','previous','position','markerToHighlight','fromEntries','hasSuggestion','last','getRange','fill','element','requires','view','getChanges','name','tableCellSuggestion','accept','move','tablePasteChainId','endColumn','markerAttributes','tableCellBorderColor','forceDefaultExecution','some','oldRange','document','getChangedMarkers','push','editing','change','elementToElement','low','getSuggestions','createRangeIn','setAttribute','redo','previousSibling','getRanges','_getCoordsForCells','getContainedElement','getItems','nextSibling','getAllAdjacentSuggestions','TrackChangesEditing','containsRange','subType','insertion','removeMarkers','startsWith','map','tableCellBackgroundColor','conversion','isInContent','deletion','rootName','commands','set','markerName','suggestion','insertContent','suggestion:formatBlock:tablePasteCell','insertColumns','formatBlock','_isForcedDefaultExecutionBlock','newRange','createRange','has','clipboardOutput','add','stop','first','batch','get','columnInsertionRanges','createPositionBefore','plugins','trackChanges','differ','ck-suggestion-marker--active','suggestionLoaded','getShiftedBy','deletionRanges','tablePaste','registerDescriptionCallback','getTableIfOnlyTableInContent','createTableWalker','getChildren','documentSelection','_splitMarkerName','value','columnInsertionIndexes','_replaceTableSlotCell','TableClipboard','columns','every','ck-suggestion-marker','getMarkers','keys','insert','editor','rows','updateMarker','filter','selection','discard','setAttributes','return','reduce','markMultiRangeInsertion','suggestion-td','createElement','registerPostFixer','rowInsertionRanges','from','find','remove','getColumnIndexes','getAttributes','type','column','high','join','getRows','createRangeOn','for','isEmpty','Users','_descriptionFactory','getSelectionAffectedTableCells','tablePasteColumn','_tablePostFixingSubtypes','model','listenTo','markMultiRangeDeletion','*Replace\x20table\x20cells*','end','paragraph','getChild','markers','insertRows','tableCellBorderWidth','activeMarkers','includes','options','length','next','tableCellVerticalAlignment'];(function(_0xd782c8,_0x563b43){const _0x58f1be=function(_0x41f76b){while(--_0x41f76b){_0xd782c8['push'](_0xd782c8['shift']());}};_0x58f1be(++_0x563b43);}(_0x563b,0x9c));const _0x58f1=function(_0xd782c8,_0x563b43){_0xd782c8=_0xd782c8-0x0;let _0x58f1be=_0x563b[_0xd782c8];return _0x58f1be;};import{getTranslation as _0x7a919e}from'../utils/common-translations';import{Plugin as _0x31b16b}from'ckeditor5/src/core';import{uid as _0x28570d,priorities as _0x1db3a1}from'ckeditor5/src/utils';import _0xb5a7dd from'./table';const le=[_0x58f1('0x9'),_0x58f1('0x3e'),'tableCellBorderStyle',_0x58f1('0x15'),_0x58f1('0xf'),_0x58f1('0x5b'),_0x58f1('0x28')],ae=Object['fromEntries'](le[_0x58f1('0x5a')](_0x2a199a=>[_0x2a199a,null]));export default class wt extends _0x31b16b{static get[_0x58f1('0x34')](){return[_0xb5a7dd];}['afterInit'](){const _0x228a66=this[_0x58f1('0x8c')];if(!_0x228a66['plugins']['has'](_0x58f1('0x85')))return;const _0x650062=_0x228a66['plugins'][_0x58f1('0x71')](_0x58f1('0x54')),_0x348665=_0x228a66[_0x58f1('0x74')][_0x58f1('0x71')](_0x58f1('0x1c')),_0x2db19=_0x228a66['plugins'][_0x58f1('0x71')](_0xb5a7dd),_0x49c287=_0x228a66[_0x58f1('0x74')][_0x58f1('0x71')](_0x58f1('0x85'));_0x2db19[_0x58f1('0xab')][_0x58f1('0x44')]('tablePasteRow',_0x58f1('0xaa')),_0x228a66[_0x58f1('0x0')]['schema'][_0x58f1('0x22')](_0x58f1('0x38'),{'allowIn':'tableCell','allowContentOf':_0x58f1('0x24'),'isLimit':!0x0}),_0x228a66['conversion'][_0x58f1('0x47')]({'model':_0x58f1('0x38'),'view':_0x58f1('0x96')});let _0x2478ad=null;_0x228a66['model']['on'](_0x58f1('0x64'),(_0x419445,_0x5551b9)=>{const [_0x450db4,_0x2b6ca5]=_0x5551b9,_0x447c0e=_0x5551b9[_0x5551b9[_0x58f1('0xd')]-0x1];_0x447c0e&&_0x447c0e[_0x58f1('0x3f')]||_0x650062[_0x58f1('0x68')]||this[_0x58f1('0x8c')][_0x58f1('0x60')][_0x58f1('0x71')](_0x58f1('0x75'))[_0x58f1('0x82')]&&function(_0x3e8a5c,_0x1a28de,_0x597979,_0xef7b81,_0x33804b){if(_0x1a28de&&!_0x1a28de['is'](_0x58f1('0x80')))return!0x1;const _0x42733c=_0x33804b[_0x58f1('0x7d')](_0x3e8a5c,_0x597979);if(!_0x42733c||!fe(_0x42733c,void 0x0,_0xef7b81))return!0x1;const _0x3ce0f7=_0xef7b81[_0x58f1('0xa9')](_0x597979[_0x58f1('0x42')][_0x58f1('0x90')]);if(!_0x3ce0f7[_0x58f1('0xd')])return!0x1;const _0x34c19e=_0x3ce0f7[0x0][_0x58f1('0x16')](_0x58f1('0x13')),_0x473cf5=_0xef7b81['getRowIndexes'](_0x3ce0f7),_0x2395a6=_0xef7b81[_0x58f1('0x9d')](_0x3ce0f7),_0x2b27be={'startRow':_0x473cf5[_0x58f1('0x6f')],'endRow':_0x473cf5[_0x58f1('0x30')],'startColumn':_0x2395a6['first'],'endColumn':_0x2395a6[_0x58f1('0x30')]};return 0x1==_0x3ce0f7['length']&&(_0x2b27be[_0x58f1('0x26')]+=_0xef7b81[_0x58f1('0xa3')](_0x42733c)-0x1,_0x2b27be[_0x58f1('0x3c')]+=_0xef7b81[_0x58f1('0x1e')](_0x42733c)-0x1),fe(_0x34c19e,_0x2b27be,_0xef7b81);}(_0x450db4,_0x2b6ca5,_0x228a66[_0x58f1('0x0')],_0x348665,_0x49c287)&&(_0x419445[_0x58f1('0x6e')](),_0x2478ad={'cells':[],'insertionRanges':[],'deletionRanges':[],'rowInsertionRanges':[],'rowInsertionIndexes':[],'columnInsertionRanges':[],'columnInsertionIndexes':[]},_0x228a66[_0x58f1('0x0')][_0x58f1('0x46')](()=>{_0x228a66[_0x58f1('0x0')][_0x58f1('0x64')](_0x5551b9[0x0],_0x5551b9[0x1],_0x5551b9[0x2],{'forceDefaultExecution':!0x0});const _0xb8cbe8=_0x28570d(),{rowInsertionRanges:_0x330b93,columnInsertionRanges:_0x505dad,insertionRanges:_0xf5e747,deletionRanges:_0x2e5fd6,cells:_0x55a53b}=_0x2478ad;_0x330b93[_0x58f1('0xd')]&&_0x650062[_0x58f1('0x95')](_0x330b93,'tablePasteRow',{'tablePasteChainId':_0xb8cbe8}),_0x505dad[_0x58f1('0xd')]&&_0x650062[_0x58f1('0x95')](_0x505dad,_0x58f1('0xaa'),{'tablePasteChainId':_0xb8cbe8}),_0xf5e747['length']&&_0x650062[_0x58f1('0x95')](_0xf5e747,_0x58f1('0x7b'),{'tablePasteChainId':_0xb8cbe8,'skipNestingCheck':!0x0}),_0x2e5fd6[_0x58f1('0xd')]&&_0x650062[_0x58f1('0x2')](_0x2e5fd6,_0x58f1('0x7b'),{'tablePasteChainId':_0xb8cbe8,'skipNestingCheck':!0x0});const _0x381533=_0x650062['markMultiRangeBlockFormat'](_0x55a53b[_0x58f1('0x5a')](({element:_0x3fb0b2})=>_0x3fb0b2),{'formatGroupId':_0x28570d()},[],'tablePasteCell',{'tablePasteChainId':_0xb8cbe8});if(_0x381533){const _0x4ccd17=_0x381533[_0x58f1('0x89')](),_0x42208a=[];for(const {element:_0x294a58,attributes:_0x4609a2}of _0x55a53b){if(!_0x4609a2)continue;const _0x27ec6a=_0x228a66[_0x58f1('0x0')][_0x58f1('0xa4')](_0x294a58),_0x253b22=_0x4ccd17[_0x58f1('0x9b')](_0x377075=>_0x377075[_0x58f1('0x31')]()[_0x58f1('0x19')](_0x27ec6a));_0x253b22&&_0x42208a[_0x58f1('0x44')]([_0x253b22[_0x58f1('0x37')],_0x4609a2]);}_0x42208a['length']&&_0x381533[_0x58f1('0x4b')](_0x58f1('0x3d'),Object[_0x58f1('0x2e')](_0x42208a));}_0x2478ad=null;}));},{'priority':_0x1db3a1[_0x58f1('0xa1')]+0xa}),_0x228a66['plugins']['get'](_0x58f1('0x85'))['on'](_0x58f1('0x84'),(_0x55754c,_0x5c3089)=>{const [_0x1b883f,_0x296396,,_0x2016d5]=_0x5c3089;if(!_0x2478ad)return;_0x55754c[_0x58f1('0x6e')]();const _0x1d7b64=_0x1b883f['cell'],_0x552623=_0x296396,_0x4e0cb2=ce(_0x1d7b64),_0xb1740=ce(_0x552623);_0x55754c[_0x58f1('0x93')]=_0x1d7b64;let _0x4e86cb=null,_0x596011=null;if(_0xb1740||_0x4e0cb2){if(_0x4e0cb2&&!_0xb1740){_0x2016d5[_0x58f1('0x9c')](_0x1d7b64['getChild'](0x0));for(const _0x4e73b of Array[_0x58f1('0x9a')](_0x552623[_0x58f1('0x7f')]()))_0x2016d5[_0x58f1('0x8b')](_0x4e73b,_0x1d7b64,_0x58f1('0x4'));const _0x144ea3=_0x2478ad[_0x58f1('0x1f')][_0x58f1('0xb')](_0x1b883f['row']),_0x4cf29d=_0x2478ad['columnInsertionIndexes'][_0x58f1('0xb')](_0x1b883f[_0x58f1('0xa0')]);_0x144ea3||_0x4cf29d||(_0x4e86cb=_0x2016d5[_0x58f1('0x4a')](_0x1d7b64));}else _0xb1740&&!_0x4e0cb2&&(_0x596011=_0x2016d5[_0x58f1('0x4a')](_0x1d7b64));}else{const _0x232046=_0x2016d5[_0x58f1('0x97')](_0x58f1('0x38')),_0x1acfc8=_0x2016d5[_0x58f1('0x97')]('tableCellSuggestion');_0x2016d5['wrap'](_0x2016d5[_0x58f1('0x4a')](_0x1d7b64),_0x1acfc8),_0x2016d5['insert'](_0x232046,_0x1d7b64,0x0);for(const _0x1de2b6 of Array['from'](_0x552623[_0x58f1('0x7f')]()))_0x2016d5[_0x58f1('0x8b')](_0x1de2b6,_0x232046,_0x58f1('0x4'));_0x4e86cb=_0x2016d5[_0x58f1('0xa4')](_0x232046),_0x596011=_0x2016d5['createRangeOn'](_0x1acfc8);}const _0x291ad0=Array['from'](_0x552623[_0x58f1('0x9e')]())[_0x58f1('0x8f')](([_0x42ae01])=>le[_0x58f1('0xb')](_0x42ae01));_0x2478ad[_0x58f1('0x29')][_0x58f1('0x44')]({'element':_0x1d7b64,'attributes':_0x291ad0['length']?Object[_0x58f1('0x2e')](_0x291ad0):null}),_0x4e86cb&&_0x2478ad['insertionRanges'][_0x58f1('0x44')](_0x4e86cb),_0x596011&&_0x2478ad[_0x58f1('0x7a')]['push'](_0x596011);},{'priority':'high'}),_0x348665['on'](_0x58f1('0x66'),(_0xec58cf,_0x3d97c1)=>{const [_0x2a6259,_0x2f82aa={}]=_0x3d97c1;if(!_0x2478ad)return;const _0x342420=_0x2f82aa['at']||0x0,_0x4599f5=_0x2f82aa[_0x58f1('0x86')]||0x1;_0x2478ad[_0x58f1('0x83')]=new Array(_0x4599f5)[_0x58f1('0x32')](_0x342420)[_0x58f1('0x5a')]((_0xa199b0,_0x401016)=>_0xa199b0+_0x401016);for(const {cell:_0x54b805}of _0x348665[_0x58f1('0x7e')](_0x2a6259,{'startColumn':_0x342420,'endColumn':_0x342420+_0x4599f5-0x1}))_0x2478ad[_0x58f1('0x72')][_0x58f1('0x44')](_0x228a66[_0x58f1('0x0')]['createRangeOn'](_0x54b805));},{'priority':_0x58f1('0x48')}),_0x348665['on'](_0x58f1('0x8'),(_0x5663b4,_0xeaed2b)=>{const [_0x96ba05,_0x8492d={}]=_0xeaed2b;if(!_0x2478ad)return;const _0x152693=_0x8492d['at']||0x0,_0x2af731=_0x8492d[_0x58f1('0x8d')]||0x1;_0x2478ad[_0x58f1('0x1f')]=new Array(_0x2af731)[_0x58f1('0x32')](_0x152693)[_0x58f1('0x5a')]((_0x4e03e5,_0x2dcb77)=>_0x4e03e5+_0x2dcb77);for(const {cell:_0x1ee629}of _0x348665[_0x58f1('0x7e')](_0x96ba05,{'startRow':_0x152693,'endRow':_0x152693+_0x2af731-0x1}))_0x2478ad[_0x58f1('0x99')][_0x58f1('0x44')](_0x228a66['model']['createRangeOn'](_0x1ee629));},{'priority':'low'}),_0x650062[_0x58f1('0xa8')][_0x58f1('0x7c')](_0x3219f4=>{if(_0x3219f4[_0x58f1('0x56')]&&_0x3219f4[_0x58f1('0x56')][_0x58f1('0x59')]('tablePaste'))return _0x3219f4[_0x58f1('0x2b')]?{}:{'type':_0x58f1('0x57'),'content':_0x7a919e(_0x228a66[_0x58f1('0x2a')],_0x58f1('0x3'))};});const _0x452c03=()=>!0x1;for(const _0x53fbbd of[_0x58f1('0x7b'),_0x58f1('0xaa'),'tablePasteRow',_0x58f1('0x10')])_0x650062[_0x58f1('0x20')]['registerCustomCallback'](_0x58f1('0x57'),_0x53fbbd,_0x58f1('0xa2'),_0x452c03),_0x650062[_0x58f1('0x20')][_0x58f1('0x27')](_0x58f1('0x5e'),_0x53fbbd,_0x58f1('0xa2'),_0x452c03),_0x650062[_0x58f1('0x20')]['registerCustomCallback'](_0x58f1('0x67'),_0x53fbbd,_0x58f1('0xa2'),_0x452c03);_0x650062[_0x58f1('0x20')][_0x58f1('0x27')]('formatBlock',_0x58f1('0x10'),'discard',_0x452c03),_0x650062[_0x58f1('0x20')][_0x58f1('0x27')]('formatBlock',_0x58f1('0x10'),_0x58f1('0x39'),(_0x33d51d,_0xb795f0,_0x464983)=>{const _0x5de911=_0x33d51d['map'](_0xde033b=>_0xde033b[_0x58f1('0x50')]())[_0x58f1('0x8f')](_0x5c4dbc=>_0x5c4dbc),_0x4160fb=new Map(_0x5de911[_0x58f1('0x5a')](_0x3b575b=>[_0x3b575b,null]));if(_0x2478ad)for(const {element:_0xabe282,attributes:_0x10f1b2}of _0x2478ad[_0x58f1('0x29')])_0x10f1b2&&_0x4160fb[_0x58f1('0x61')](_0xabe282,_0x10f1b2);else{if(_0x464983&&_0x464983[_0x58f1('0x3d')])for(const [_0x460b80,_0x89a693]of Object[_0x58f1('0x1d')](_0x464983[_0x58f1('0x3d')])){const _0x4a3144=_0x228a66[_0x58f1('0x0')][_0x58f1('0x7')]['get'](_0x460b80),_0x299107=_0x4a3144?_0x4a3144['getRange']()[_0x58f1('0x50')]():null;_0x299107&&_0x4160fb[_0x58f1('0x61')](_0x299107,_0x89a693);}}_0x228a66[_0x58f1('0x0')][_0x58f1('0x46')](_0x27a2fe=>{for(const [_0x6abd9d,_0x127913]of _0x4160fb)_0x27a2fe[_0x58f1('0x92')]({...ae,..._0x127913},_0x6abd9d);});});const _0x1d9573=(_0x49f93f,_0x5e50bc)=>{_0x650062[_0x58f1('0x20')][_0x58f1('0x27')](_0x49f93f,_0x58f1('0x7b'),_0x5e50bc,(_0xec9cce,_0x4e0481,_0x33ebca)=>{_0x228a66[_0x58f1('0x0')][_0x58f1('0x46')](_0x377210=>{const _0x1f09fa=[];for(const _0x2fd66a of _0xec9cce){const _0x249a58=_0x2fd66a[_0x58f1('0x11')][_0x58f1('0x14')];_0x249a58['is']('element',_0x58f1('0x38'))&&_0x1f09fa['push'](_0x249a58);}_0x650062[_0x58f1('0x20')][_0x58f1('0x21')](_0x49f93f,null,_0x5e50bc)(_0xec9cce,_0x4e0481,_0x33ebca);for(const _0x172521 of _0x1f09fa)'$graveyard'!=_0x172521['root'][_0x58f1('0x5f')]&&_0x377210[_0x58f1('0x12')](_0x172521);});});};_0x1d9573('insertion',_0x58f1('0x39')),_0x1d9573('insertion',_0x58f1('0x91')),_0x1d9573(_0x58f1('0x5e'),_0x58f1('0x39')),_0x1d9573(_0x58f1('0x5e'),_0x58f1('0x91')),_0x650062['_suggestionFactory'][_0x58f1('0x27')](_0x58f1('0x57'),'tablePasteRow',_0x58f1('0x91'),_0x12a2e7=>{const _0x5089ec=_0x12a2e7['map'](_0x52c80b=>_0x52c80b['getContainedElement']()),_0x57fd08=_0x5089ec[0x0][_0x58f1('0x16')]('table'),{minRow:_0x1cc9e9,maxRow:_0xb53d75}=_0x2db19[_0x58f1('0x4f')](_0x5089ec);_0x348665['removeRows'](_0x57fd08,{'at':_0x1cc9e9,'rows':_0xb53d75-_0x1cc9e9+0x1});}),_0x650062[_0x58f1('0x20')][_0x58f1('0x27')](_0x58f1('0x57'),_0x58f1('0xaa'),_0x58f1('0x91'),_0x1c2baf=>{const _0x487ca0=_0x1c2baf['map'](_0x59d2af=>_0x59d2af['getContainedElement']()),_0x5e4750=_0x487ca0[0x0][_0x58f1('0x16')](_0x58f1('0x13')),{minColumn:_0x4ab242,maxColumn:_0x43ff13}=_0x2db19['_getCoordsForCells'](_0x487ca0);_0x348665['removeColumns'](_0x5e4750,{'at':_0x4ab242,'columns':_0x43ff13-_0x4ab242+0x1});});const _0x126b1a=(_0x17dd7f,_0x1edd86)=>{if(!_0x1edd86[_0x58f1('0x56')]||!_0x1edd86[_0x58f1('0x56')][_0x58f1('0x59')](_0x58f1('0x7b')))return;const _0x32cb6a=_0x1edd86['attributes']['tablePasteChainId'],_0xbd89ac=_0x650062['getSuggestions']()[_0x58f1('0x8f')](_0x4976b4=>_0x4976b4[_0x58f1('0x5d')]&&_0x4976b4[_0x58f1('0x1a')]&&_0x4976b4[_0x58f1('0x1a')][_0x58f1('0x3b')]==_0x32cb6a);_0xbd89ac['length']&&_0x1edd86['getAllAdjacentSuggestions']()[_0x58f1('0xd')]!=_0xbd89ac[_0x58f1('0xd')]&&_0xbd89ac[_0x58f1('0x94')]((_0x5c09cd,_0x523863)=>(_0x5c09cd[_0x58f1('0xe')]=_0x523863,_0x523863[_0x58f1('0x2b')]=_0x5c09cd,_0x523863));};function _0x546b47(_0x70ba51,_0x343e70=!0x0){const {id:_0x34d706}=_0x650062[_0x58f1('0x81')](_0x70ba51[_0x58f1('0x62')]),_0xcdd596=[_0x58f1('0x88'),_0x58f1('0x23')],_0x4e883e=_0x650062[_0x58f1('0xa')][_0x58f1('0xb')](_0x70ba51[_0x58f1('0x62')]);return _0x4e883e&&_0xcdd596['push'](_0x58f1('0x77')),{'classes':_0xcdd596,'attributes':{'data-suggestion':_0x34d706},'priority':_0x4e883e&&_0x343e70?0xbc2:0xbb8};}_0x650062['on'](_0x58f1('0x78'),_0x126b1a,{'priority':_0x58f1('0xa1')}),_0x650062['on'](_0x58f1('0x18'),_0x126b1a,{'priority':'high'}),_0x228a66[_0x58f1('0x0')][_0x58f1('0x42')][_0x58f1('0x98')](()=>{let _0x26e87f=!0x1;const _0x196bc9=Array[_0x58f1('0x9a')](_0x228a66[_0x58f1('0x0')][_0x58f1('0x42')][_0x58f1('0x76')][_0x58f1('0x43')]());for(const {name:_0x56d9a0,data:_0x1585cb}of _0x196bc9){const {group:_0xdc1878,type:_0x3d3c68,id:_0x127a3a}=_0x650062[_0x58f1('0x81')](_0x56d9a0);if(_0x58f1('0x63')!=_0xdc1878||'deletion'!=_0x3d3c68||_0x1585cb[_0x58f1('0x41')])continue;if(!_0x650062[_0x58f1('0x2f')](_0x127a3a))continue;const _0x49f949=_0x650062['getSuggestion'](_0x127a3a)[_0x58f1('0x4e')](),_0x2fc79d=_0x228a66['plugins']['get']('Users')['me'];for(const _0xc5553e of _0x650062[_0x58f1('0x49')]()){if(!_0xc5553e['isInContent']||_0xc5553e[_0x58f1('0x25')]!=_0x2fc79d)continue;if(_0x58f1('0x67')!=_0xc5553e['type']||'tablePasteCell'!=_0xc5553e[_0x58f1('0x56')])continue;if(_0xc5553e['getRanges']()[_0x58f1('0x87')](_0xbc2299=>_0x49f949[_0x58f1('0x40')](_0x105496=>_0x105496[_0x58f1('0x55')](_0xbc2299,!0x0))))for(const _0x396c70 of _0xc5553e[_0x58f1('0x53')]())_0x396c70[_0x58f1('0x5d')]&&(_0x396c70[_0x58f1('0x91')](),_0x26e87f=!0x0);}}return _0x26e87f;}),_0x228a66[_0x58f1('0x0')][_0x58f1('0x42')][_0x58f1('0x98')](_0x14a0b9=>{const _0x29e7c6=_0x228a66[_0x58f1('0x60')][_0x58f1('0x71')](_0x58f1('0x4c'));if(!_0x29e7c6||!_0x29e7c6['_createdBatches']['has'](_0x14a0b9[_0x58f1('0x70')]))return!0x1;let _0x1c388f=!0x1;const _0x336234=_0x228a66[_0x58f1('0x74')][_0x58f1('0x71')](_0x58f1('0xa7'))['me'],_0x957fed=_0x228a66['model'][_0x58f1('0x42')][_0x58f1('0x76')][_0x58f1('0x36')](),_0x295d8f=Array[_0x58f1('0x9a')](_0x228a66[_0x58f1('0x0')][_0x58f1('0x42')][_0x58f1('0x76')]['getChangedMarkers']())[_0x58f1('0x8f')](({name:_0x3e5f34,data:_0x2bacba})=>{const {group:_0x52f1e1,subType:_0x528116,authorId:_0x26d05a}=_0x650062[_0x58f1('0x81')](_0x3e5f34);return _0x58f1('0x63')==_0x52f1e1&&'tablePaste'==_0x528116&&_0x26d05a==_0x336234['id']&&!_0x2bacba[_0x58f1('0x41')];});for(const _0x1eb770 of _0x957fed){if('insert'!=_0x1eb770[_0x58f1('0x9f')]||_0x58f1('0x38')!=_0x1eb770[_0x58f1('0x37')]||0x1!=_0x1eb770[_0x58f1('0xd')])continue;const _0x504a0d=_0x14a0b9[_0x58f1('0x6a')](_0x1eb770[_0x58f1('0x2c')],_0x1eb770[_0x58f1('0x2c')][_0x58f1('0x79')](0x1));if(!_0x295d8f['find'](({data:_0x4614b5})=>_0x4614b5[_0x58f1('0x69')][_0x58f1('0x19')](_0x504a0d)))for(const {name:_0x34281e,data:_0x5f313f}of _0x295d8f)if(_0x504a0d[_0x58f1('0x55')](_0x5f313f['newRange'])){_0x14a0b9[_0x58f1('0x8e')](_0x34281e,{'range':_0x504a0d}),_0x1c388f=!0x0;break;}}return _0x1c388f;}),_0x228a66[_0x58f1('0x0')][_0x58f1('0x42')]['registerPostFixer'](_0x581c96=>{let _0x1f0716=!0x1;const _0x7eb710=_0x228a66[_0x58f1('0x74')][_0x58f1('0x71')](_0x58f1('0xa7'))['me'],_0x55e8e1=_0x650062[_0x58f1('0x49')]()[_0x58f1('0x8f')](_0x316f87=>_0x316f87[_0x58f1('0x5d')]&&_0x316f87[_0x58f1('0x25')]==_0x7eb710),_0x5a72d2=new Set(),_0x5e10c8=new Set();for(const _0x5e69c3 of _0x55e8e1)if(_0x58f1('0x7b')==_0x5e69c3['subType'])for(const _0x57542d of _0x5e69c3[_0x58f1('0x89')]()){const _0x2aebfa=_0x57542d['getRange']()[_0x58f1('0x50')]();if(_0x2aebfa){if(_0x2aebfa['is'](_0x58f1('0x33'),'tableCellSuggestion')&&ce(_0x2aebfa)){_0x5e69c3['removeMarker'](_0x57542d[_0x58f1('0x37')]),_0x5a72d2[_0x58f1('0x6d')](_0x2aebfa),_0x1f0716=!0x0;const _0x4be3c7=_0x2aebfa[_0x58f1('0x52')],_0x15b20b=_0x2aebfa[_0x58f1('0x4d')],_0x5c333a=_0x4be3c7&&_0x4be3c7['is'](_0x58f1('0x33'),_0x58f1('0x38')),_0x3d20ac=_0x15b20b&&_0x15b20b['is'](_0x58f1('0x33'),_0x58f1('0x38'));_0x5c333a&&!_0x5a72d2['has'](_0x4be3c7)&&_0x5e10c8[_0x58f1('0x6d')](_0x4be3c7),_0x3d20ac&&!_0x5a72d2[_0x58f1('0x6b')](_0x15b20b)&&_0x5e10c8[_0x58f1('0x6d')](_0x15b20b);}else _0x2aebfa['is']('element',_0x58f1('0x5'))&&_0x2aebfa['isEmpty']&&(_0x5e69c3['removeMarker'](_0x57542d[_0x58f1('0x37')]),_0x1f0716=!0x0);}}else{if('tablePasteCell'==_0x5e69c3['subType']){if(!_0x5e69c3['attributes']||!_0x5e69c3[_0x58f1('0x1a')][_0x58f1('0x3b')])continue;const _0x372ab1=_0x5e69c3[_0x58f1('0x1a')]['markerAttributes'];if(_0x372ab1&&Object[_0x58f1('0x8a')](_0x372ab1)['length'])continue;const _0x3ccbfe=_0x5e69c3[_0x58f1('0x1a')][_0x58f1('0x3b')];let _0x5148eb=!0x0,_0x3f0ad3=!0x0;for(const _0x10c254 of _0x55e8e1)if(_0x10c254['subType']&&_0x10c254[_0x58f1('0x56')][_0x58f1('0x59')](_0x58f1('0x7b'))){if(!_0x10c254['attributes'][_0x58f1('0x3b')]){_0x3f0ad3=!0x1;break;}if(_0x10c254['id']!=_0x5e69c3['id']&&_0x10c254[_0x58f1('0x1a')][_0x58f1('0x3b')]==_0x3ccbfe){_0x5148eb=!0x1;break;}}_0x3f0ad3&&_0x5148eb&&(_0x5e69c3[_0x58f1('0x58')](),_0x1f0716=!0x0);}}for(const _0x1866f4 of _0x5a72d2)_0x581c96[_0x58f1('0x9c')](_0x1866f4);for(const _0x21da33 of _0x5e10c8)_0x581c96[_0x58f1('0x12')](_0x21da33);return _0x1f0716;}),_0x228a66['conversion'][_0x58f1('0xa5')]('editingDowncast')[_0x58f1('0x2d')]({'model':_0x58f1('0x65'),'view':(_0x473f40,_0x2b4ad4)=>_0x546b47(_0x473f40),'converterPriority':_0x58f1('0xa1')}),_0x228a66[_0x58f1('0x5c')][_0x58f1('0xa5')](_0x58f1('0x1b'))[_0x58f1('0x2d')]({'model':_0x58f1('0x65'),'view':(_0x5b6f38,_0x15d97a)=>_0x15d97a[_0x58f1('0xc')][_0x58f1('0x17')]?_0x546b47(_0x5b6f38,!0x1):null,'converterPriority':_0x58f1('0xa1')});const _0x20d6d6=_0x228a66[_0x58f1('0x45')][_0x58f1('0x35')];this[_0x58f1('0x1')](_0x20d6d6[_0x58f1('0x42')],_0x58f1('0x6c'),(_0x59ba30,_0x44ab7c)=>{const _0x20aeb9=[];for(const _0x435e8f of _0x20d6d6['createRangeIn'](_0x44ab7c['content'])[_0x58f1('0x51')]())_0x435e8f['is'](_0x58f1('0x33'),_0x58f1('0x96'))&&_0x20aeb9[_0x58f1('0x44')](_0x435e8f);_0x20d6d6[_0x58f1('0x46')](_0x28fa91=>{for(const _0x3c64c4 of _0x20aeb9)_0x28fa91[_0x58f1('0x3a')](_0x28fa91[_0x58f1('0x4a')](_0x3c64c4),_0x28fa91[_0x58f1('0x73')](_0x3c64c4)),_0x28fa91[_0x58f1('0x9c')](_0x3c64c4);});});}}function ce(_0x34394e){if(_0x34394e[_0x58f1('0xa6')])return!0x0;const _0x27976e=_0x34394e[_0x58f1('0x6')](0x0);return _0x27976e['is'](_0x58f1('0x33'),_0x58f1('0x5'))&&_0x27976e[_0x58f1('0xa6')];}function fe(_0x49e90a,_0x4d6f28={},_0x2deaee){for(const {isAnchor:_0x5d2e04,cellHeight:_0x1ef6e3,cellWidth:_0x2d0a98}of _0x2deaee[_0x58f1('0x7e')](_0x49e90a,{'includeAllSlots':!0x0,..._0x4d6f28}))if(!_0x5d2e04||0x1!=_0x1ef6e3||0x1!=_0x2d0a98)return!0x1;return!0x0;}
23
+ const _0x47a6=['getRows','oldRange','elementToElement','document','suggestion','insertRows','formatBlock','tableCellHorizontalAlignment','getChangedMarkers','tableCellVerticalAlignment','filter','author','value','position','fromEntries','markerToHighlight','name','startsWith','forceDefaultExecution','add','cell','find','suggestionLoaded','tablePasteColumn','markerAttributes','_createdBatches','previous','activeMarkers','tablePasteRow','getMarkers','tableCellSuggestion','rows','type','end','createElement','TableClipboard','ck-suggestion-marker-insertion','unwrap','deletionRanges','move','map','tablePasteChainId','getTableIfOnlyTableInContent','nextSibling','registerPostFixer','plugins','stop','getSelectionAffectedTableCells','remove','isEmpty','push','accept','get','every','_getCoordsForCells','_tablePostFixingSubtypes','options','endRow','isEqual','insertion','discard','removeMarker','getColumns','register','requires','has','createPositionBefore','includes','_descriptionFactory','change','redo','$graveyard','editor','createRange','clipboardOutput','columnInsertionIndexes','updateMarker','content','rootName','locale','findAncestor','model','some','low','tableCell','deletion','commands','newRange','ck-suggestion-marker','next','documentSelection','suggestionUnloaded','high','first','_isForcedDefaultExecutionBlock','for','isInContent','getAllAdjacentSuggestions','ck-suggestion-marker--active','tablePaste','tableCellBorderStyle','_suggestionFactory','*Replace\x20table\x20cells*','column','getShiftedBy','view','root','tablePasteCell','createRangeOn','Users','setAttributes','getContainedElement','start','editingDowncast','conversion','registerDescriptionCallback','batch','nodeAfter','markMultiRangeInsertion','element','from','length','registerCustomCallback','fill','cells','createRangeIn','_replaceTableSlotCell','columns','entries','subType','columnInsertionRanges','rowInsertionRanges','insertContent','TrackChangesEditing','insert','row','dataDowncast','paragraph','tableCellPadding','table','selection','markerName','suggestion-td','getSuggestions','differ','suggestion:formatBlock:tablePasteCell','join','reduce','getSuggestion','TableUtils','attributes','last','keys','removeColumns','getChanges','rowInsertionIndexes','getRanges','hasSuggestion','getChildren','getRange','endColumn','wrap','set','createTableWalker'];(function(_0x1ed4c5,_0x47a6ac){const _0x447499=function(_0x30a298){while(--_0x30a298){_0x1ed4c5['push'](_0x1ed4c5['shift']());}};_0x447499(++_0x47a6ac);}(_0x47a6,0xe5));const _0x4474=function(_0x1ed4c5,_0x47a6ac){_0x1ed4c5=_0x1ed4c5-0x0;let _0x447499=_0x47a6[_0x1ed4c5];return _0x447499;};import{getTranslation as _0x5845e2}from'../utils/common-translations';import{Plugin as _0x4a28fe}from'ckeditor5/src/core';import{uid as _0x5a41c2,priorities as _0x18f1bf}from'ckeditor5/src/utils';import _0x1dab94 from'./table';const le=['tableCellBorderWidth','tableCellBorderColor',_0x4474('0x23'),_0x4474('0x6a'),_0x4474('0x6c'),'tableCellBackgroundColor',_0x4474('0x49')],ae=Object[_0x4474('0x71')](le[_0x4474('0x8b')](_0x527a4f=>[_0x527a4f,null]));export default class wt extends _0x4a28fe{static get[_0x4474('0xa3')](){return[_0x1dab94];}['afterInit'](){const _0x1d16ee=this[_0x4474('0x7')];if(!_0x1d16ee[_0x4474('0x90')][_0x4474('0x0')](_0x4474('0x86')))return;const _0x566433=_0x1d16ee[_0x4474('0x90')]['get'](_0x4474('0x44')),_0x22bc4e=_0x1d16ee['plugins']['get'](_0x4474('0x54')),_0x1482d9=_0x1d16ee[_0x4474('0x90')][_0x4474('0x97')](_0x1dab94),_0x52800f=_0x1d16ee[_0x4474('0x90')]['get'](_0x4474('0x86'));_0x1482d9[_0x4474('0x9a')][_0x4474('0x95')](_0x4474('0x7f'),_0x4474('0x7a')),_0x1d16ee[_0x4474('0x10')]['schema'][_0x4474('0xa2')](_0x4474('0x81'),{'allowIn':_0x4474('0x13'),'allowContentOf':_0x4474('0x13'),'isLimit':!0x0}),_0x1d16ee[_0x4474('0x31')][_0x4474('0x65')]({'model':_0x4474('0x81'),'view':_0x4474('0x4d')});let _0x3f9541=null;_0x1d16ee['model']['on'](_0x4474('0x43'),(_0x57bbbe,_0x53aac5)=>{const [_0x428746,_0x222766]=_0x53aac5,_0x3b79fb=_0x53aac5[_0x53aac5['length']-0x1];_0x3b79fb&&_0x3b79fb[_0x4474('0x75')]||_0x566433[_0x4474('0x1d')]||this[_0x4474('0x7')][_0x4474('0x15')][_0x4474('0x97')]('trackChanges')[_0x4474('0x6f')]&&function(_0x593f0a,_0x14db10,_0x421810,_0x44fa6b,_0x2b23e1){if(_0x14db10&&!_0x14db10['is'](_0x4474('0x19')))return!0x1;const _0x2bf0be=_0x2b23e1[_0x4474('0x8d')](_0x593f0a,_0x421810);if(!_0x2bf0be||!fe(_0x2bf0be,void 0x0,_0x44fa6b))return!0x1;const _0x487865=_0x44fa6b[_0x4474('0x92')](_0x421810[_0x4474('0x66')][_0x4474('0x4b')]);if(!_0x487865[_0x4474('0x38')])return!0x1;const _0x5518a7=_0x487865[0x0]['findAncestor']('table'),_0x250a62=_0x44fa6b['getRowIndexes'](_0x487865),_0x9b88f1=_0x44fa6b['getColumnIndexes'](_0x487865),_0x526eda={'startRow':_0x250a62[_0x4474('0x1c')],'endRow':_0x250a62[_0x4474('0x56')],'startColumn':_0x9b88f1[_0x4474('0x1c')],'endColumn':_0x9b88f1[_0x4474('0x56')]};return 0x1==_0x487865[_0x4474('0x38')]&&(_0x526eda[_0x4474('0x9c')]+=_0x44fa6b[_0x4474('0x63')](_0x2bf0be)-0x1,_0x526eda[_0x4474('0x5f')]+=_0x44fa6b[_0x4474('0xa1')](_0x2bf0be)-0x1),fe(_0x5518a7,_0x526eda,_0x44fa6b);}(_0x428746,_0x222766,_0x1d16ee[_0x4474('0x10')],_0x22bc4e,_0x52800f)&&(_0x57bbbe[_0x4474('0x91')](),_0x3f9541={'cells':[],'insertionRanges':[],'deletionRanges':[],'rowInsertionRanges':[],'rowInsertionIndexes':[],'columnInsertionRanges':[],'columnInsertionIndexes':[]},_0x1d16ee[_0x4474('0x10')]['change'](()=>{_0x1d16ee[_0x4474('0x10')][_0x4474('0x43')](_0x53aac5[0x0],_0x53aac5[0x1],_0x53aac5[0x2],{'forceDefaultExecution':!0x0});const _0x5e63c2=_0x5a41c2(),{rowInsertionRanges:_0x3e5791,columnInsertionRanges:_0x5191d7,insertionRanges:_0x3c6b31,deletionRanges:_0x243d9e,cells:_0x3f98b1}=_0x3f9541;_0x3e5791[_0x4474('0x38')]&&_0x566433[_0x4474('0x35')](_0x3e5791,_0x4474('0x7f'),{'tablePasteChainId':_0x5e63c2}),_0x5191d7[_0x4474('0x38')]&&_0x566433[_0x4474('0x35')](_0x5191d7,_0x4474('0x7a'),{'tablePasteChainId':_0x5e63c2}),_0x3c6b31['length']&&_0x566433[_0x4474('0x35')](_0x3c6b31,_0x4474('0x22'),{'tablePasteChainId':_0x5e63c2,'skipNestingCheck':!0x0}),_0x243d9e['length']&&_0x566433['markMultiRangeDeletion'](_0x243d9e,'tablePaste',{'tablePasteChainId':_0x5e63c2,'skipNestingCheck':!0x0});const _0x1612d3=_0x566433['markMultiRangeBlockFormat'](_0x3f98b1['map'](({element:_0x381be5})=>_0x381be5),{'formatGroupId':_0x5a41c2()},[],_0x4474('0x2a'),{'tablePasteChainId':_0x5e63c2});if(_0x1612d3){const _0x32b103=_0x1612d3[_0x4474('0x80')](),_0xdf90a=[];for(const {element:_0x1347be,attributes:_0x5bdb7b}of _0x3f98b1){if(!_0x5bdb7b)continue;const _0x2df4f0=_0x1d16ee[_0x4474('0x10')]['createRangeOn'](_0x1347be),_0x43a696=_0x32b103[_0x4474('0x78')](_0x576f7c=>_0x576f7c[_0x4474('0x5e')]()[_0x4474('0x9d')](_0x2df4f0));_0x43a696&&_0xdf90a[_0x4474('0x95')]([_0x43a696['name'],_0x5bdb7b]);}_0xdf90a[_0x4474('0x38')]&&_0x1612d3['setAttribute']('markerAttributes',Object[_0x4474('0x71')](_0xdf90a));}_0x3f9541=null;}));},{'priority':_0x18f1bf[_0x4474('0x1b')]+0xa}),_0x1d16ee[_0x4474('0x90')][_0x4474('0x97')](_0x4474('0x86'))['on'](_0x4474('0x3d'),(_0x4790bb,_0x2701a2)=>{const [_0x3c96a7,_0x420ec3,,_0x3db879]=_0x2701a2;if(!_0x3f9541)return;_0x4790bb[_0x4474('0x91')]();const _0x305e45=_0x3c96a7[_0x4474('0x77')],_0x350d4a=_0x420ec3,_0x33772e=ce(_0x305e45),_0x5be97d=ce(_0x350d4a);_0x4790bb['return']=_0x305e45;let _0x2f9e89=null,_0x493702=null;if(_0x5be97d||_0x33772e){if(_0x33772e&&!_0x5be97d){_0x3db879[_0x4474('0x93')](_0x305e45['getChild'](0x0));for(const _0xf0581a of Array[_0x4474('0x37')](_0x350d4a[_0x4474('0x5d')]()))_0x3db879['insert'](_0xf0581a,_0x305e45,_0x4474('0x84'));const _0x1b937a=_0x3f9541[_0x4474('0x5a')][_0x4474('0x2')](_0x3c96a7[_0x4474('0x46')]),_0x5fe36e=_0x3f9541[_0x4474('0xa')][_0x4474('0x2')](_0x3c96a7[_0x4474('0x26')]);_0x1b937a||_0x5fe36e||(_0x2f9e89=_0x3db879['createRangeIn'](_0x305e45));}else _0x5be97d&&!_0x33772e&&(_0x493702=_0x3db879[_0x4474('0x3c')](_0x305e45));}else{const _0x534e0e=_0x3db879[_0x4474('0x85')](_0x4474('0x81')),_0x169869=_0x3db879['createElement'](_0x4474('0x81'));_0x3db879[_0x4474('0x60')](_0x3db879['createRangeIn'](_0x305e45),_0x169869),_0x3db879[_0x4474('0x45')](_0x534e0e,_0x305e45,0x0);for(const _0x5f004c of Array[_0x4474('0x37')](_0x350d4a[_0x4474('0x5d')]()))_0x3db879[_0x4474('0x45')](_0x5f004c,_0x534e0e,_0x4474('0x84'));_0x2f9e89=_0x3db879[_0x4474('0x2b')](_0x534e0e),_0x493702=_0x3db879[_0x4474('0x2b')](_0x169869);}const _0x158f37=Array[_0x4474('0x37')](_0x350d4a['getAttributes']())[_0x4474('0x6d')](([_0x56e309])=>le[_0x4474('0x2')](_0x56e309));_0x3f9541[_0x4474('0x3b')]['push']({'element':_0x305e45,'attributes':_0x158f37[_0x4474('0x38')]?Object['fromEntries'](_0x158f37):null}),_0x2f9e89&&_0x3f9541['insertionRanges'][_0x4474('0x95')](_0x2f9e89),_0x493702&&_0x3f9541[_0x4474('0x89')][_0x4474('0x95')](_0x493702);},{'priority':_0x4474('0x1b')}),_0x22bc4e['on']('insertColumns',(_0x121784,_0xb230f8)=>{const [_0x440f74,_0x3dbdf4={}]=_0xb230f8;if(!_0x3f9541)return;const _0x39a97b=_0x3dbdf4['at']||0x0,_0xb41e4d=_0x3dbdf4[_0x4474('0x3e')]||0x1;_0x3f9541[_0x4474('0xa')]=new Array(_0xb41e4d)['fill'](_0x39a97b)['map']((_0xc5ef03,_0xfca082)=>_0xc5ef03+_0xfca082);for(const {cell:_0x5a594e}of _0x22bc4e[_0x4474('0x62')](_0x440f74,{'startColumn':_0x39a97b,'endColumn':_0x39a97b+_0xb41e4d-0x1}))_0x3f9541[_0x4474('0x41')]['push'](_0x1d16ee[_0x4474('0x10')][_0x4474('0x2b')](_0x5a594e));},{'priority':_0x4474('0x12')}),_0x22bc4e['on'](_0x4474('0x68'),(_0x41f362,_0x55f9ed)=>{const [_0x37e24e,_0x44524b={}]=_0x55f9ed;if(!_0x3f9541)return;const _0x3025b9=_0x44524b['at']||0x0,_0x2f7e1d=_0x44524b[_0x4474('0x82')]||0x1;_0x3f9541[_0x4474('0x5a')]=new Array(_0x2f7e1d)[_0x4474('0x3a')](_0x3025b9)['map']((_0x3e130b,_0x1528f6)=>_0x3e130b+_0x1528f6);for(const {cell:_0x3b84b6}of _0x22bc4e[_0x4474('0x62')](_0x37e24e,{'startRow':_0x3025b9,'endRow':_0x3025b9+_0x2f7e1d-0x1}))_0x3f9541[_0x4474('0x42')]['push'](_0x1d16ee['model'][_0x4474('0x2b')](_0x3b84b6));},{'priority':'low'}),_0x566433[_0x4474('0x3')][_0x4474('0x32')](_0x4016c0=>{if(_0x4016c0[_0x4474('0x40')]&&_0x4016c0[_0x4474('0x40')][_0x4474('0x74')](_0x4474('0x22')))return _0x4016c0[_0x4474('0x7d')]?{}:{'type':_0x4474('0x9e'),'content':_0x5845e2(_0x1d16ee[_0x4474('0xe')],_0x4474('0x25'))};});const _0x1a0a4a=()=>!0x1;for(const _0x20fca6 of[_0x4474('0x22'),_0x4474('0x7a'),'tablePasteRow','tablePasteCell'])_0x566433[_0x4474('0x24')][_0x4474('0x39')]('insertion',_0x20fca6,'join',_0x1a0a4a),_0x566433[_0x4474('0x24')][_0x4474('0x39')](_0x4474('0x14'),_0x20fca6,_0x4474('0x51'),_0x1a0a4a),_0x566433[_0x4474('0x24')][_0x4474('0x39')](_0x4474('0x69'),_0x20fca6,'join',_0x1a0a4a);_0x566433['_suggestionFactory'][_0x4474('0x39')]('formatBlock',_0x4474('0x2a'),'discard',_0x1a0a4a),_0x566433[_0x4474('0x24')][_0x4474('0x39')](_0x4474('0x69'),_0x4474('0x2a'),_0x4474('0x96'),(_0x11ec7e,_0x3b10c7,_0x2f9f11)=>{const _0x3a8b41=_0x11ec7e['map'](_0x570d20=>_0x570d20[_0x4474('0x2e')]())[_0x4474('0x6d')](_0x27995c=>_0x27995c),_0x39dd41=new Map(_0x3a8b41[_0x4474('0x8b')](_0x19bcf4=>[_0x19bcf4,null]));if(_0x3f9541)for(const {element:_0x118cce,attributes:_0xb8023}of _0x3f9541[_0x4474('0x3b')])_0xb8023&&_0x39dd41[_0x4474('0x61')](_0x118cce,_0xb8023);else{if(_0x2f9f11&&_0x2f9f11[_0x4474('0x7b')])for(const [_0x5538e4,_0x5de479]of Object[_0x4474('0x3f')](_0x2f9f11['markerAttributes'])){const _0x348d37=_0x1d16ee['model']['markers']['get'](_0x5538e4),_0x13b401=_0x348d37?_0x348d37[_0x4474('0x5e')]()[_0x4474('0x2e')]():null;_0x13b401&&_0x39dd41[_0x4474('0x61')](_0x13b401,_0x5de479);}}_0x1d16ee['model']['change'](_0x256624=>{for(const [_0x2558ca,_0x52a047]of _0x39dd41)_0x256624[_0x4474('0x2d')]({...ae,..._0x52a047},_0x2558ca);});});const _0x2b2348=(_0x38b059,_0x59662c)=>{_0x566433[_0x4474('0x24')][_0x4474('0x39')](_0x38b059,_0x4474('0x22'),_0x59662c,(_0x21465f,_0x278a97,_0x57b631)=>{_0x1d16ee[_0x4474('0x10')]['change'](_0x4a00ca=>{const _0x4ced2c=[];for(const _0x138f36 of _0x21465f){const _0x33dc6f=_0x138f36[_0x4474('0x2f')][_0x4474('0x34')];_0x33dc6f['is'](_0x4474('0x36'),_0x4474('0x81'))&&_0x4ced2c[_0x4474('0x95')](_0x33dc6f);}_0x566433[_0x4474('0x24')]['getSuggestionCallback'](_0x38b059,null,_0x59662c)(_0x21465f,_0x278a97,_0x57b631);for(const _0xcd2b36 of _0x4ced2c)_0x4474('0x6')!=_0xcd2b36[_0x4474('0x29')][_0x4474('0xd')]&&_0x4a00ca['unwrap'](_0xcd2b36);});});};_0x2b2348(_0x4474('0x9e'),'accept'),_0x2b2348(_0x4474('0x9e'),_0x4474('0x9f')),_0x2b2348(_0x4474('0x14'),'accept'),_0x2b2348(_0x4474('0x14'),_0x4474('0x9f')),_0x566433[_0x4474('0x24')][_0x4474('0x39')](_0x4474('0x9e'),_0x4474('0x7f'),_0x4474('0x9f'),_0x4a8ed5=>{const _0x3f0b5f=_0x4a8ed5[_0x4474('0x8b')](_0x1d63ed=>_0x1d63ed[_0x4474('0x2e')]()),_0x56eca3=_0x3f0b5f[0x0][_0x4474('0xf')](_0x4474('0x4a')),{minRow:_0x4104fc,maxRow:_0x3a2d05}=_0x1482d9[_0x4474('0x99')](_0x3f0b5f);_0x22bc4e['removeRows'](_0x56eca3,{'at':_0x4104fc,'rows':_0x3a2d05-_0x4104fc+0x1});}),_0x566433[_0x4474('0x24')]['registerCustomCallback'](_0x4474('0x9e'),_0x4474('0x7a'),_0x4474('0x9f'),_0x1505e8=>{const _0x122166=_0x1505e8[_0x4474('0x8b')](_0x4c0892=>_0x4c0892[_0x4474('0x2e')]()),_0x59680c=_0x122166[0x0][_0x4474('0xf')](_0x4474('0x4a')),{minColumn:_0xf734bf,maxColumn:_0x58b2d2}=_0x1482d9[_0x4474('0x99')](_0x122166);_0x22bc4e[_0x4474('0x58')](_0x59680c,{'at':_0xf734bf,'columns':_0x58b2d2-_0xf734bf+0x1});});const _0x1d4e77=(_0x507793,_0x4af876)=>{if(!_0x4af876[_0x4474('0x40')]||!_0x4af876['subType'][_0x4474('0x74')](_0x4474('0x22')))return;const _0x306f41=_0x4af876[_0x4474('0x55')][_0x4474('0x8c')],_0xf06d2=_0x566433['getSuggestions']()['filter'](_0x2be674=>_0x2be674[_0x4474('0x1f')]&&_0x2be674['attributes']&&_0x2be674[_0x4474('0x55')]['tablePasteChainId']==_0x306f41);_0xf06d2[_0x4474('0x38')]&&_0x4af876[_0x4474('0x20')]()['length']!=_0xf06d2[_0x4474('0x38')]&&_0xf06d2[_0x4474('0x52')]((_0x294252,_0xace61e)=>(_0x294252[_0x4474('0x18')]=_0xace61e,_0xace61e[_0x4474('0x7d')]=_0x294252,_0xace61e));};function _0x30063b(_0x1315f4,_0x5ac7f3=!0x0){const {id:_0x592d8f}=_0x566433['_splitMarkerName'](_0x1315f4[_0x4474('0x4c')]),_0x2cf3e4=[_0x4474('0x17'),_0x4474('0x87')],_0x44ebf1=_0x566433[_0x4474('0x7e')]['includes'](_0x1315f4[_0x4474('0x4c')]);return _0x44ebf1&&_0x2cf3e4[_0x4474('0x95')](_0x4474('0x21')),{'classes':_0x2cf3e4,'attributes':{'data-suggestion':_0x592d8f},'priority':_0x44ebf1&&_0x5ac7f3?0xbc2:0xbb8};}_0x566433['on'](_0x4474('0x79'),_0x1d4e77,{'priority':_0x4474('0x1b')}),_0x566433['on'](_0x4474('0x1a'),_0x1d4e77,{'priority':_0x4474('0x1b')}),_0x1d16ee[_0x4474('0x10')][_0x4474('0x66')][_0x4474('0x8f')](()=>{let _0x5abc04=!0x1;const _0x4c37d9=Array[_0x4474('0x37')](_0x1d16ee[_0x4474('0x10')]['document'][_0x4474('0x4f')][_0x4474('0x6b')]());for(const {name:_0x86ff92,data:_0x68cea}of _0x4c37d9){const {group:_0x21256a,type:_0x3787e8,id:_0x2e9c1c}=_0x566433['_splitMarkerName'](_0x86ff92);if('suggestion'!=_0x21256a||'deletion'!=_0x3787e8||_0x68cea[_0x4474('0x64')])continue;if(!_0x566433[_0x4474('0x5c')](_0x2e9c1c))continue;const _0x283f72=_0x566433[_0x4474('0x53')](_0x2e9c1c)[_0x4474('0x5b')](),_0x3a8b97=_0x1d16ee[_0x4474('0x90')][_0x4474('0x97')](_0x4474('0x2c'))['me'];for(const _0x2ac853 of _0x566433[_0x4474('0x4e')]()){if(!_0x2ac853[_0x4474('0x1f')]||_0x2ac853['author']!=_0x3a8b97)continue;if(_0x4474('0x69')!=_0x2ac853['type']||_0x4474('0x2a')!=_0x2ac853[_0x4474('0x40')])continue;if(_0x2ac853[_0x4474('0x5b')]()[_0x4474('0x98')](_0x571dc2=>_0x283f72[_0x4474('0x11')](_0x948c97=>_0x948c97['containsRange'](_0x571dc2,!0x0))))for(const _0x256238 of _0x2ac853[_0x4474('0x20')]())_0x256238[_0x4474('0x1f')]&&(_0x256238[_0x4474('0x9f')](),_0x5abc04=!0x0);}}return _0x5abc04;}),_0x1d16ee[_0x4474('0x10')][_0x4474('0x66')][_0x4474('0x8f')](_0x4e24fc=>{const _0x3909c7=_0x1d16ee[_0x4474('0x15')]['get'](_0x4474('0x5'));if(!_0x3909c7||!_0x3909c7[_0x4474('0x7c')][_0x4474('0x0')](_0x4e24fc[_0x4474('0x33')]))return!0x1;let _0x4db1d3=!0x1;const _0x5efe31=_0x1d16ee['plugins'][_0x4474('0x97')](_0x4474('0x2c'))['me'],_0x464c15=_0x1d16ee['model'][_0x4474('0x66')][_0x4474('0x4f')][_0x4474('0x59')](),_0x1a2517=Array[_0x4474('0x37')](_0x1d16ee[_0x4474('0x10')][_0x4474('0x66')][_0x4474('0x4f')][_0x4474('0x6b')]())['filter'](({name:_0x4c31db,data:_0x210466})=>{const {group:_0x4b9a9c,subType:_0x340803,authorId:_0x19bf59}=_0x566433['_splitMarkerName'](_0x4c31db);return _0x4474('0x67')==_0x4b9a9c&&_0x4474('0x22')==_0x340803&&_0x19bf59==_0x5efe31['id']&&!_0x210466[_0x4474('0x64')];});for(const _0x414e54 of _0x464c15){if('insert'!=_0x414e54[_0x4474('0x83')]||_0x4474('0x81')!=_0x414e54[_0x4474('0x73')]||0x1!=_0x414e54[_0x4474('0x38')])continue;const _0x1eb926=_0x4e24fc[_0x4474('0x8')](_0x414e54[_0x4474('0x70')],_0x414e54[_0x4474('0x70')][_0x4474('0x27')](0x1));if(!_0x1a2517[_0x4474('0x78')](({data:_0x11dcfd})=>_0x11dcfd[_0x4474('0x16')][_0x4474('0x9d')](_0x1eb926)))for(const {name:_0x4f7434,data:_0x470347}of _0x1a2517)if(_0x1eb926['containsRange'](_0x470347[_0x4474('0x16')])){_0x4e24fc[_0x4474('0xb')](_0x4f7434,{'range':_0x1eb926}),_0x4db1d3=!0x0;break;}}return _0x4db1d3;}),_0x1d16ee[_0x4474('0x10')][_0x4474('0x66')]['registerPostFixer'](_0x5dc87f=>{let _0x35086f=!0x1;const _0x4ae77d=_0x1d16ee['plugins'][_0x4474('0x97')](_0x4474('0x2c'))['me'],_0x159bf2=_0x566433[_0x4474('0x4e')]()[_0x4474('0x6d')](_0x5d95b1=>_0x5d95b1['isInContent']&&_0x5d95b1[_0x4474('0x6e')]==_0x4ae77d),_0x2adefc=new Set(),_0x45ed40=new Set();for(const _0x29cc89 of _0x159bf2)if(_0x4474('0x22')==_0x29cc89[_0x4474('0x40')])for(const _0xc88192 of _0x29cc89[_0x4474('0x80')]()){const _0x41cfe6=_0xc88192['getRange']()[_0x4474('0x2e')]();if(_0x41cfe6){if(_0x41cfe6['is'](_0x4474('0x36'),_0x4474('0x81'))&&ce(_0x41cfe6)){_0x29cc89[_0x4474('0xa0')](_0xc88192[_0x4474('0x73')]),_0x2adefc['add'](_0x41cfe6),_0x35086f=!0x0;const _0x46bf92=_0x41cfe6[_0x4474('0x8e')],_0x6a73f=_0x41cfe6['previousSibling'],_0x481390=_0x46bf92&&_0x46bf92['is']('element',_0x4474('0x81')),_0x45b57c=_0x6a73f&&_0x6a73f['is'](_0x4474('0x36'),_0x4474('0x81'));_0x481390&&!_0x2adefc[_0x4474('0x0')](_0x46bf92)&&_0x45ed40[_0x4474('0x76')](_0x46bf92),_0x45b57c&&!_0x2adefc['has'](_0x6a73f)&&_0x45ed40[_0x4474('0x76')](_0x6a73f);}else _0x41cfe6['is']('element',_0x4474('0x48'))&&_0x41cfe6[_0x4474('0x94')]&&(_0x29cc89[_0x4474('0xa0')](_0xc88192[_0x4474('0x73')]),_0x35086f=!0x0);}}else{if('tablePasteCell'==_0x29cc89['subType']){if(!_0x29cc89[_0x4474('0x55')]||!_0x29cc89[_0x4474('0x55')][_0x4474('0x8c')])continue;const _0x3280fc=_0x29cc89[_0x4474('0x55')][_0x4474('0x7b')];if(_0x3280fc&&Object[_0x4474('0x57')](_0x3280fc)[_0x4474('0x38')])continue;const _0x1c05de=_0x29cc89['attributes']['tablePasteChainId'];let _0x394621=!0x0,_0x19bf08=!0x0;for(const _0x2246b1 of _0x159bf2)if(_0x2246b1[_0x4474('0x40')]&&_0x2246b1[_0x4474('0x40')][_0x4474('0x74')](_0x4474('0x22'))){if(!_0x2246b1[_0x4474('0x55')]['tablePasteChainId']){_0x19bf08=!0x1;break;}if(_0x2246b1['id']!=_0x29cc89['id']&&_0x2246b1[_0x4474('0x55')][_0x4474('0x8c')]==_0x1c05de){_0x394621=!0x1;break;}}_0x19bf08&&_0x394621&&(_0x29cc89['removeMarkers'](),_0x35086f=!0x0);}}for(const _0x4d7c98 of _0x2adefc)_0x5dc87f['remove'](_0x4d7c98);for(const _0x2fc73f of _0x45ed40)_0x5dc87f[_0x4474('0x88')](_0x2fc73f);return _0x35086f;}),_0x1d16ee['conversion'][_0x4474('0x1e')](_0x4474('0x30'))['markerToHighlight']({'model':'suggestion:formatBlock:tablePasteCell','view':(_0x2e7684,_0x5e2092)=>_0x30063b(_0x2e7684),'converterPriority':_0x4474('0x1b')}),_0x1d16ee[_0x4474('0x31')][_0x4474('0x1e')](_0x4474('0x47'))[_0x4474('0x72')]({'model':_0x4474('0x50'),'view':(_0x3b7a9a,_0x257221)=>_0x257221[_0x4474('0x9b')]['showSuggestionHighlights']?_0x30063b(_0x3b7a9a,!0x1):null,'converterPriority':_0x4474('0x1b')});const _0x4b924c=_0x1d16ee['editing'][_0x4474('0x28')];this['listenTo'](_0x4b924c[_0x4474('0x66')],_0x4474('0x9'),(_0x430d75,_0x1d0744)=>{const _0x2e0dea=[];for(const _0x5ba776 of _0x4b924c[_0x4474('0x3c')](_0x1d0744[_0x4474('0xc')])['getItems']())_0x5ba776['is']('element',_0x4474('0x4d'))&&_0x2e0dea[_0x4474('0x95')](_0x5ba776);_0x4b924c[_0x4474('0x4')](_0x835fac=>{for(const _0x147ed6 of _0x2e0dea)_0x835fac[_0x4474('0x8a')](_0x835fac['createRangeIn'](_0x147ed6),_0x835fac[_0x4474('0x1')](_0x147ed6)),_0x835fac[_0x4474('0x93')](_0x147ed6);});});}}function ce(_0x392979){if(_0x392979['isEmpty'])return!0x0;const _0x1e5cfb=_0x392979['getChild'](0x0);return _0x1e5cfb['is'](_0x4474('0x36'),_0x4474('0x48'))&&_0x1e5cfb[_0x4474('0x94')];}function fe(_0xb0d74,_0x1a2073={},_0x5d4ed7){for(const {isAnchor:_0x4e6a3b,cellHeight:_0x34a28f,cellWidth:_0xc0364c}of _0x5d4ed7[_0x4474('0x62')](_0xb0d74,{'includeAllSlots':!0x0,..._0x1a2073}))if(!_0x4e6a3b||0x1!=_0x34a28f||0x1!=_0xc0364c)return!0x1;return!0x0;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3c61=['getAttribute','model','getSuggestionCallback','get','TableColumnResizeEditing','author','selection','TrackChangesEditing','table','_suggestionFactory','editor','resizeTableWidth','commandParams','handleResizeTableWidthCommand','accept','*Format:*\x20resize\x20table','resizeTable','bind','getTableColumnsWidths','registerDescriptionCallback','registerCustomCallback','getContainedElement','document','enableCommand','formatGroupId','format','resizeColumnWidths','locale','handleSuggestionDescription','_descriptionFactory','afterInit','discard','has','Users','formatBlock','plugins','tableWidth'];(function(_0x5ac943,_0x3c6122){const _0x2d482e=function(_0x5f30b1){while(--_0x5f30b1){_0x5ac943['push'](_0x5ac943['shift']());}};_0x2d482e(++_0x3c6122);}(_0x3c61,0x1e1));const _0x2d48=function(_0x5ac943,_0x3c6122){_0x5ac943=_0x5ac943-0x0;let _0x2d482e=_0x3c61[_0x5ac943];return _0x2d482e;};import{Plugin as _0x2c0523}from'ckeditor5/src/core';import{getTranslation as _0x636ff3}from'../utils/common-translations';export default class yt extends _0x2c0523{[_0x2d48('0x1e')](){if(!this[_0x2d48('0xa')]['plugins'][_0x2d48('0x20')](_0x2d48('0x4')))return;const _0x20c868=this[_0x2d48('0xa')][_0x2d48('0x23')][_0x2d48('0x3')](_0x2d48('0x7'));_0x20c868[_0x2d48('0x17')](_0x2d48('0xb'),this[_0x2d48('0xd')]['bind'](this)),_0x20c868[_0x2d48('0x17')](_0x2d48('0x1a'),this[_0x2d48('0xd')][_0x2d48('0x11')](this)),_0x20c868[_0x2d48('0x9')][_0x2d48('0x14')](_0x2d48('0x22'),'resizeTable','accept',_0x20c868[_0x2d48('0x9')][_0x2d48('0x2')]('formatBlock',null,_0x2d48('0x1f'))),_0x20c868[_0x2d48('0x9')][_0x2d48('0x14')]('formatBlock','resizeTable',_0x2d48('0x1f'),_0x20c868[_0x2d48('0x9')][_0x2d48('0x2')]('formatBlock',null,_0x2d48('0xe'))),_0x20c868[_0x2d48('0x1d')][_0x2d48('0x13')](this['handleSuggestionDescription'][_0x2d48('0x11')](this));}[_0x2d48('0xd')](_0x4f3f79,_0x111627){const _0x3f339f=this[_0x2d48('0xa')][_0x2d48('0x23')][_0x2d48('0x3')](_0x2d48('0x7')),_0x5a3861=this[_0x2d48('0xa')][_0x2d48('0x23')][_0x2d48('0x3')]('TableColumnResizeEditing'),_0x47fe22=_0x111627[_0x2d48('0x8')]||this['editor'][_0x2d48('0x1')][_0x2d48('0x16')][_0x2d48('0x6')]['getSelectedElement']();this[_0x2d48('0xa')][_0x2d48('0x1')]['change'](()=>{const _0x1e3383=_0x5a3861['getColumnGroupElement'](_0x47fe22);let _0x58f869=_0x1e3383?_0x5a3861[_0x2d48('0x12')](_0x1e3383):null,_0x1fab52=_0x47fe22[_0x2d48('0x0')](_0x2d48('0x24'))||null;const _0x133aa3=_0x111627[_0x2d48('0x24')]||_0x1fab52,_0x294b5a=_0x111627['columnWidths']||_0x58f869,_0x716b40=this[_0x2d48('0xa')][_0x2d48('0x23')][_0x2d48('0x3')](_0x2d48('0x21'))['me'];for(const _0x5615e3 of _0x3f339f['getSuggestions']()){const _0x109f75=_0x5615e3[_0x2d48('0x15')]();if('resizeTable'===_0x5615e3['subType']&&_0x109f75===_0x47fe22){_0x5615e3[_0x2d48('0x5')]!==_0x716b40&&_0x5615e3[_0x2d48('0x1f')]();const _0x4c4e06=_0x5615e3['data'][_0x2d48('0xc')];_0x1fab52=_0x4c4e06[0x0][_0x2d48('0x24')],_0x58f869=_0x4c4e06[0x0]['columnWidths'];break;}}_0x4f3f79({'table':_0x47fe22,'tableWidth':_0x133aa3,'columnWidths':_0x294b5a}),_0x3f339f['markBlockFormat'](_0x47fe22,{'commandName':_0x2d48('0xb'),'commandParams':[{'tableWidth':_0x1fab52,'columnWidths':_0x58f869}],'formatGroupId':_0x2d48('0x10')},[],_0x2d48('0x10'));});}[_0x2d48('0x1c')](_0x592d51){const {data:_0x5bfd33}=_0x592d51;if(_0x5bfd33&&_0x2d48('0x10')===_0x5bfd33[_0x2d48('0x18')]){const _0x2aeb40=_0x2d48('0xf');return{'type':_0x2d48('0x19'),'content':_0x636ff3(this[_0x2d48('0xa')][_0x2d48('0x1b')],_0x2aeb40)};}}}
23
+ const _0x79ce=['selection','handleSuggestionDescription','handleResizeTableWidthCommand','get','commandParams','TableColumnResizeEditing','data','getSuggestions','columnWidths','resizeColumnWidths','formatBlock','bind','_suggestionFactory','discard','enableCommand','locale','TrackChangesEditing','change','getSelectedElement','tableWidth','editor','has','author','resizeTable','getContainedElement','plugins','getAttribute','formatGroupId','getColumnGroupElement','model','resizeTableWidth','afterInit','registerDescriptionCallback','document','subType'];(function(_0x3fe684,_0x79ce6e){const _0x4303fe=function(_0x38690a){while(--_0x38690a){_0x3fe684['push'](_0x3fe684['shift']());}};_0x4303fe(++_0x79ce6e);}(_0x79ce,0x74));const _0x4303=function(_0x3fe684,_0x79ce6e){_0x3fe684=_0x3fe684-0x0;let _0x4303fe=_0x79ce[_0x3fe684];return _0x4303fe;};import{Plugin as _0x51dfe9}from'ckeditor5/src/core';import{getTranslation as _0x31f51c}from'../utils/common-translations';export default class yt extends _0x51dfe9{[_0x4303('0x14')](){if(!this['editor']['plugins'][_0x4303('0xa')](_0x4303('0x1d')))return;const _0x1c0eb7=this[_0x4303('0x9')]['plugins']['get'](_0x4303('0x5'));_0x1c0eb7[_0x4303('0x3')]('resizeTableWidth',this[_0x4303('0x1a')]['bind'](this)),_0x1c0eb7['enableCommand'](_0x4303('0x21'),this['handleResizeTableWidthCommand'][_0x4303('0x0')](this)),_0x1c0eb7[_0x4303('0x1')]['registerCustomCallback'](_0x4303('0x22'),_0x4303('0xc'),'accept',_0x1c0eb7[_0x4303('0x1')]['getSuggestionCallback'](_0x4303('0x22'),null,_0x4303('0x2'))),_0x1c0eb7['_suggestionFactory']['registerCustomCallback'](_0x4303('0x22'),'resizeTable','discard',_0x1c0eb7[_0x4303('0x1')]['getSuggestionCallback']('formatBlock',null,'accept')),_0x1c0eb7['_descriptionFactory'][_0x4303('0x15')](this[_0x4303('0x19')][_0x4303('0x0')](this));}[_0x4303('0x1a')](_0x4ce62c,_0x5235bc){const _0x29934c=this[_0x4303('0x9')][_0x4303('0xe')][_0x4303('0x1b')](_0x4303('0x5')),_0x3241e3=this['editor'][_0x4303('0xe')][_0x4303('0x1b')](_0x4303('0x1d')),_0x547e70=_0x5235bc['table']||this[_0x4303('0x9')][_0x4303('0x12')][_0x4303('0x16')][_0x4303('0x18')][_0x4303('0x7')]();this['editor'][_0x4303('0x12')][_0x4303('0x6')](()=>{const _0x304d22=_0x3241e3[_0x4303('0x11')](_0x547e70);let _0x15f427=_0x304d22?_0x3241e3['getTableColumnsWidths'](_0x304d22):null,_0x59a2a3=_0x547e70[_0x4303('0xf')](_0x4303('0x8'))||null;const _0x1f126a=_0x5235bc['tableWidth']||_0x59a2a3,_0x5c85aa=_0x5235bc[_0x4303('0x20')]||_0x15f427,_0x5aca88=this['editor'][_0x4303('0xe')][_0x4303('0x1b')]('Users')['me'];for(const _0x523368 of _0x29934c[_0x4303('0x1f')]()){const _0x521bbb=_0x523368[_0x4303('0xd')]();if('resizeTable'===_0x523368[_0x4303('0x17')]&&_0x521bbb===_0x547e70){_0x523368[_0x4303('0xb')]!==_0x5aca88&&_0x523368[_0x4303('0x2')]();const _0xd59449=_0x523368[_0x4303('0x1e')][_0x4303('0x1c')];_0x59a2a3=_0xd59449[0x0][_0x4303('0x8')],_0x15f427=_0xd59449[0x0][_0x4303('0x20')];break;}}_0x4ce62c({'table':_0x547e70,'tableWidth':_0x1f126a,'columnWidths':_0x5c85aa}),_0x29934c['markBlockFormat'](_0x547e70,{'commandName':_0x4303('0x13'),'commandParams':[{'tableWidth':_0x59a2a3,'columnWidths':_0x15f427}],'formatGroupId':_0x4303('0xc')},[],_0x4303('0xc'));});}['handleSuggestionDescription'](_0x121dc4){const {data:_0x9f2af7}=_0x121dc4;if(_0x9f2af7&&_0x4303('0xc')===_0x9f2af7[_0x4303('0x10')]){const _0x15c779='*Format:*\x20resize\x20table';return{'type':'format','content':_0x31f51c(this[_0x4303('0x9')][_0x4303('0x4')],_0x15c779)};}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5095=['createRange','setTableRowHeader','addClass','getAttribute','requires','TableUtils','format','name','getSelectionAffectedTableCells','end','accept','FORMAT_REGULAR_COLUMN','commandParams','last','getColumnIndexes','FORMAT_HEADER_ROW','FORMAT_REGULAR_ROW','commandName','_descriptionFactory','formatBlock','data-suggestion','getChild','removeMarker:suggestion','downcastDispatcher','markerNameToElements','includes','nodeBefore','ck-suggestion-marker--active','start','stop','registerCustomCallback','value','get','registerDescriptionCallback','document','_suggestionFactory','createPositionAfter','model','mapper','forceValue','parent','_splitMarkerName','cell','change','activeMarkers','editor','nodeAfter','markerRange','first','getSuggestion','consumable','enableCommand','highest','createPositionBefore','editing','removeClass','markerName','selection','findAncestor','TableEditing','writer','index','isBefore','locale','_acceptFormatSuggestionCallbackFactory','has','table','plugins','ck-suggestion-marker-','TrackChangesEditing','createTableWalker','unbindElementFromMarkerName','commands','markBlockFormat','setTableColumnHeader','data','removeAttribute','options','*Format:*\x20%0'];(function(_0x28a21e,_0x509520){const _0x1500c2=function(_0x214fc1){while(--_0x214fc1){_0x28a21e['push'](_0x28a21e['shift']());}};_0x1500c2(++_0x509520);}(_0x5095,0x10e));const _0x1500=function(_0x28a21e,_0x509520){_0x28a21e=_0x28a21e-0x0;let _0x1500c2=_0x5095[_0x28a21e];return _0x1500c2;};import{Plugin as _0x17d32c}from'ckeditor5/src/core';import _0x26554d from'./table';import{getTranslation as _0x31f78e}from'../utils/common-translations';export default class kt extends _0x17d32c{static get[_0x1500('0x32')](){return[_0x26554d];}['afterInit'](){const _0x1a5780=this[_0x1500('0xc')];if(!_0x1a5780[_0x1500('0x22')][_0x1500('0x20')](_0x1500('0x1a')))return;const _0x40fb88=_0x1a5780[_0x1500('0x1e')],_0x415094=_0x1a5780[_0x1500('0x22')]['get'](_0x1500('0x24')),_0x461c46=_0x1a5780[_0x1500('0x22')]['get'](_0x1500('0x33')),_0x28f8db=_0x1a5780['plugins'][_0x1500('0x4e')](_0x26554d);function _0x5becc1({showActiveMarker:_0x393644=!0x0,setDataAttribute:_0x3e27ae=!0x0}={}){return(_0xb0e8d7,_0x3a16f8,_0x5661dd)=>{const {type:_0x1310d3,id:_0x2f4390}=_0x415094['_splitMarkerName'](_0x3a16f8[_0x1500('0x17')]),_0x5ab56b=_0x415094[_0x1500('0x10')](_0x2f4390);if(!_0x5ab56b['data']||_0x1500('0x29')!=_0x5ab56b['data'][_0x1500('0x3f')])return;if(_0x3a16f8['item'])return void _0xb0e8d7[_0x1500('0x4b')]();if(!_0x5661dd[_0x1500('0x11')]['consume'](_0x3a16f8[_0x1500('0xe')],_0xb0e8d7[_0x1500('0x35')]))return;const _0x56e443=_0x3a16f8['markerRange'][_0x1500('0x4a')][_0x1500('0xd')],_0x135843=_0x3a16f8[_0x1500('0xe')][_0x1500('0x37')][_0x1500('0x48')],_0x2cd411=_0x56e443[_0x1500('0x7')][_0x1500('0x7')],{column:_0x46319a}=_0x461c46['getCellLocation'](_0x56e443),{column:_0x5afbed}=_0x461c46['getCellLocation'](_0x135843);for(let _0x2fe50f=_0x46319a;_0x2fe50f<=_0x5afbed;_0x2fe50f++){const _0x46917e=_0x461c46[_0x1500('0x25')](_0x2cd411,{'column':_0x2fe50f,'includeAllSlots':!0x1});for(const _0x5e1325 of _0x46917e){const _0x2ed33d=_0x5e1325[_0x1500('0x9')],_0x44f3b8=_0x5661dd['mapper']['toViewElement'](_0x2ed33d);_0x5661dd[_0x1500('0x1b')][_0x1500('0x30')](_0x1500('0x23')+_0x1310d3,_0x44f3b8),_0x3e27ae&&_0x5661dd[_0x1500('0x1b')]['setAttribute'](_0x1500('0x42'),_0x2f4390,_0x44f3b8),_0x5661dd[_0x1500('0x5')]['bindElementToMarker'](_0x44f3b8,_0x3a16f8[_0x1500('0x17')]),_0x393644&&(_0x415094[_0x1500('0xb')][_0x1500('0x47')](_0x3a16f8['markerName'])?_0x5661dd[_0x1500('0x1b')]['addClass'](_0x1500('0x49'),_0x44f3b8):_0x5661dd[_0x1500('0x1b')][_0x1500('0x16')](_0x1500('0x49'),_0x44f3b8));}}};}_0x415094[_0x1500('0x12')]('setTableRowHeader',(_0x34208a,_0xee2210)=>{const _0x1491e7=_0x461c46[_0x1500('0x36')](_0x1a5780['model'][_0x1500('0x1')][_0x1500('0x18')]),_0x20d029=_0x461c46['getRowIndexes'](_0x1491e7),_0x17f12c=_0x1491e7[0x0][_0x1500('0x19')](_0x1500('0x21')),_0x31adb4=_0x17f12c[_0x1500('0x31')]('headingRows')||0x0,_0x240e0f=_0xee2210&&null!==_0xee2210[_0x1500('0x6')]?_0xee2210[_0x1500('0x6')]:!_0x1a5780[_0x1500('0x27')][_0x1500('0x4e')](_0x1500('0x2f'))[_0x1500('0x4d')],_0x2fc04f=_0x240e0f?_0x20d029[_0x1500('0x3b')]:_0x20d029[_0x1500('0xf')],_0x33893f=_0x17f12c[_0x1500('0x43')](_0x2fc04f);let _0x14bdbe;if(_0x240e0f){const _0x5c72f9=_0x17f12c[_0x1500('0x43')](_0x31adb4);if(_0x33893f[_0x1500('0x1c')]<_0x5c72f9[_0x1500('0x1c')])return;_0x14bdbe=_0x1a5780[_0x1500('0x4')]['createRange'](_0x1a5780[_0x1500('0x4')][_0x1500('0x14')](_0x5c72f9[_0x1500('0x43')](0x0)),_0x1a5780[_0x1500('0x4')][_0x1500('0x3')](_0x33893f['getChild'](_0x33893f['childCount']-0x1)));}else{const _0x5b0771=_0x17f12c[_0x1500('0x43')](_0x31adb4-0x1);if(!_0x5b0771)return;_0x14bdbe=_0x1a5780[_0x1500('0x4')]['createRange'](_0x1a5780[_0x1500('0x4')][_0x1500('0x14')](_0x33893f[_0x1500('0x43')](0x0)),_0x1a5780[_0x1500('0x4')][_0x1500('0x3')](_0x5b0771['getChild'](_0x5b0771['childCount']-0x1)));}_0x1a5780['model'][_0x1500('0xa')](()=>{_0x415094[_0x1500('0x28')](_0x14bdbe,{'commandName':_0x1500('0x2f'),'commandParams':[{'forceValue':_0x240e0f}]},[],_0x1500('0x2f'));});}),_0x415094[_0x1500('0x12')]('setTableColumnHeader',(_0x23edef,_0x1fed12)=>{const _0x240df3=_0x1a5780[_0x1500('0x22')][_0x1500('0x4e')](_0x1500('0x33')),_0x277626=_0x240df3[_0x1500('0x36')](_0x1a5780['model'][_0x1500('0x1')][_0x1500('0x18')]),_0x290251=_0x240df3[_0x1500('0x3c')](_0x277626),_0xf25d33=_0x277626[0x0]['findAncestor'](_0x1500('0x21')),_0x4da362=_0xf25d33[_0x1500('0x31')]('headingColumns')||0x0,_0x1111b2=_0x1fed12&&null!==_0x1fed12[_0x1500('0x6')]?_0x1fed12[_0x1500('0x6')]:!_0x1a5780[_0x1500('0x27')][_0x1500('0x4e')]('setTableColumnHeader')[_0x1500('0x4d')];let _0x2b3a59;const _0x33a3e3=_0xf25d33[_0x1500('0x43')](0x0),_0x46efa2=_0x1111b2?_0x290251[_0x1500('0x3b')]:_0x290251['first'],_0x41301a=_0x240df3[_0x1500('0x25')](_0xf25d33,{'startRow':0x0,'column':_0x46efa2,'includeAllSlots':!0x1}),_0x1d7a5a=Array['from'](_0x41301a)[0x0][_0x1500('0x9')];if(_0x1111b2){const _0x135137=_0x33a3e3[_0x1500('0x43')](_0x4da362);if(_0x1d7a5a[_0x1500('0x1d')](_0x135137))return;_0x2b3a59=_0x1a5780['model'][_0x1500('0x2e')](_0x1a5780['model'][_0x1500('0x14')](_0x135137),_0x1a5780[_0x1500('0x4')][_0x1500('0x3')](_0x1d7a5a));}else{const _0x27ea7b=_0x33a3e3[_0x1500('0x43')](_0x4da362-0x1);if(!_0x27ea7b)return;_0x2b3a59=_0x1a5780[_0x1500('0x4')][_0x1500('0x2e')](_0x1a5780['model'][_0x1500('0x14')](_0x1d7a5a),_0x1a5780['model'][_0x1500('0x3')](_0x27ea7b));}_0x1a5780['model'][_0x1500('0xa')](()=>{_0x415094[_0x1500('0x28')](_0x2b3a59,{'commandName':_0x1500('0x29'),'commandParams':[{'forceValue':_0x1111b2}]},[],_0x1500('0x29'));});}),_0x1a5780[_0x1500('0x15')][_0x1500('0x45')]['on']('addMarker:suggestion',_0x5becc1(),{'priority':'highest'}),_0x1a5780[_0x1500('0x2a')][_0x1500('0x45')]['on']('addMarker:suggestion',(_0x49cd5d,_0xd2bc92,_0x425dc3)=>{_0x425dc3[_0x1500('0x2c')]['showSuggestionHighlights']&&_0x5becc1({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x49cd5d,_0xd2bc92,_0x425dc3);},{'priority':_0x1500('0x13')}),_0x1a5780[_0x1500('0x15')][_0x1500('0x45')]['on'](_0x1500('0x44'),(_0x3d32b3,_0x5ab162,_0x4477ed)=>{const {type:_0x24dea2,id:_0x3d2f37}=_0x415094[_0x1500('0x8')](_0x5ab162[_0x1500('0x17')]),_0xd46bbf=_0x415094[_0x1500('0x10')](_0x3d2f37);if(!_0xd46bbf['data']||_0x1500('0x29')!=_0xd46bbf[_0x1500('0x2a')][_0x1500('0x3f')])return;const _0x316c5c=_0x4477ed[_0x1500('0x5')][_0x1500('0x46')](_0x5ab162[_0x1500('0x17')]);if(_0x316c5c)for(const _0x149f46 of _0x316c5c)_0x4477ed[_0x1500('0x1b')]['removeClass'](_0x1500('0x23')+_0x24dea2,_0x149f46),_0x4477ed['writer'][_0x1500('0x16')]('ck-suggestion-marker--active',_0x149f46),_0x4477ed['writer'][_0x1500('0x2b')]('data-suggestion',_0x149f46),_0x4477ed[_0x1500('0x5')][_0x1500('0x26')](_0x149f46,_0x5ab162[_0x1500('0x17')]);},{'priority':'highest'}),_0x415094[_0x1500('0x40')][_0x1500('0x0')](_0x1f38d5=>{const {data:_0x4018f0}=_0x1f38d5;if(_0x4018f0){if(_0x1500('0x2f')==_0x4018f0[_0x1500('0x3f')]){const _0x21a309=_0x4018f0[_0x1500('0x3a')][0x0][_0x1500('0x6')];return _0x3f5802(_0x31f78e(_0x40fb88,_0x21a309?_0x1500('0x3d'):_0x1500('0x3e')));}if(_0x1500('0x29')==_0x4018f0[_0x1500('0x3f')]){const _0x363047=_0x4018f0[_0x1500('0x3a')][0x0][_0x1500('0x6')];return _0x3f5802(_0x31f78e(_0x40fb88,_0x363047?'FORMAT_HEADER_COLUMN':_0x1500('0x39')));}}function _0x3f5802(_0x52ed83){return{'type':_0x1500('0x34'),'content':_0x31f78e(_0x40fb88,_0x1500('0x2d'),_0x52ed83)};}});const _0x373154=_0x28f8db[_0x1500('0x1f')]();_0x415094[_0x1500('0x2')][_0x1500('0x4c')]('formatBlock','setTableRowHeader',_0x1500('0x38'),_0x373154),_0x415094['_suggestionFactory']['registerCustomCallback'](_0x1500('0x41'),_0x1500('0x29'),_0x1500('0x38'),_0x373154);}}
23
+ const _0x1d17=['highest','last','consume','cell','_descriptionFactory','registerCustomCallback','commands','showSuggestionHighlights','removeAttribute','registerDescriptionCallback','getRowIndexes','index','getAttribute','removeMarker:suggestion','setAttribute','formatBlock','_splitMarkerName','item','addClass','setTableRowHeader','first','FORMAT_HEADER_ROW','enableCommand','headingColumns','requires','selection','childCount','getChild','commandName','afterInit','document','isBefore','nodeBefore','toViewElement','get','setTableColumnHeader','editing','downcastDispatcher','createPositionAfter','unbindElementFromMarkerName','FORMAT_REGULAR_ROW','markBlockFormat','parent','ck-suggestion-marker--active','getSelectionAffectedTableCells','markerName','model','_acceptFormatSuggestionCallbackFactory','mapper','consumable','TableUtils','_suggestionFactory','markerRange','data','createRange','accept','removeClass','commandParams','value','headingRows','locale','getColumnIndexes','createPositionBefore','findAncestor','writer','activeMarkers','getSuggestion','start','getCellLocation','markerNameToElements','table','forceValue','data-suggestion','plugins','editor','stop','*Format:*\x20%0','ck-suggestion-marker-','nodeAfter','from'];(function(_0x236058,_0x1d17f3){const _0x21cd7e=function(_0x2598f7){while(--_0x2598f7){_0x236058['push'](_0x236058['shift']());}};_0x21cd7e(++_0x1d17f3);}(_0x1d17,0x6d));const _0x21cd=function(_0x236058,_0x1d17f3){_0x236058=_0x236058-0x0;let _0x21cd7e=_0x1d17[_0x236058];return _0x21cd7e;};import{Plugin as _0x544ebb}from'ckeditor5/src/core';import _0x569346 from'./table';import{getTranslation as _0xc87818}from'../utils/common-translations';export default class kt extends _0x544ebb{static get[_0x21cd('0x4b')](){return[_0x569346];}[_0x21cd('0x0')](){const _0x520253=this[_0x21cd('0x2d')];if(!_0x520253['plugins']['has']('TableEditing'))return;const _0x1a3b8e=_0x520253[_0x21cd('0x1f')],_0xb93fda=_0x520253['plugins'][_0x21cd('0x5')]('TrackChangesEditing'),_0x4394e2=_0x520253['plugins'][_0x21cd('0x5')](_0x21cd('0x15')),_0x7969a6=_0x520253[_0x21cd('0x2c')][_0x21cd('0x5')](_0x569346);function _0x1a4aed({showActiveMarker:_0x2d37c9=!0x0,setDataAttribute:_0x513767=!0x0}={}){return(_0x2baf8a,_0x32a909,_0x126f4e)=>{const {type:_0x4767a9,id:_0x316367}=_0xb93fda[_0x21cd('0x43')](_0x32a909[_0x21cd('0x10')]),_0x32998b=_0xb93fda[_0x21cd('0x25')](_0x316367);if(!_0x32998b['data']||_0x21cd('0x6')!=_0x32998b[_0x21cd('0x18')][_0x21cd('0x4f')])return;if(_0x32a909[_0x21cd('0x44')])return void _0x2baf8a[_0x21cd('0x2e')]();if(!_0x126f4e[_0x21cd('0x14')][_0x21cd('0x35')](_0x32a909[_0x21cd('0x17')],_0x2baf8a['name']))return;const _0x1d6440=_0x32a909[_0x21cd('0x17')][_0x21cd('0x26')][_0x21cd('0x31')],_0xbfe399=_0x32a909[_0x21cd('0x17')]['end'][_0x21cd('0x3')],_0x1d9ec4=_0x1d6440[_0x21cd('0xd')]['parent'],{column:_0x2415e0}=_0x4394e2[_0x21cd('0x27')](_0x1d6440),{column:_0x54e54d}=_0x4394e2[_0x21cd('0x27')](_0xbfe399);for(let _0x3f7f38=_0x2415e0;_0x3f7f38<=_0x54e54d;_0x3f7f38++){const _0x24de97=_0x4394e2['createTableWalker'](_0x1d9ec4,{'column':_0x3f7f38,'includeAllSlots':!0x1});for(const _0x112739 of _0x24de97){const _0x15b7ae=_0x112739[_0x21cd('0x36')],_0x2d8edc=_0x126f4e[_0x21cd('0x13')][_0x21cd('0x4')](_0x15b7ae);_0x126f4e['writer'][_0x21cd('0x45')](_0x21cd('0x30')+_0x4767a9,_0x2d8edc),_0x513767&&_0x126f4e[_0x21cd('0x23')][_0x21cd('0x41')](_0x21cd('0x2b'),_0x316367,_0x2d8edc),_0x126f4e[_0x21cd('0x13')]['bindElementToMarker'](_0x2d8edc,_0x32a909['markerName']),_0x2d37c9&&(_0xb93fda[_0x21cd('0x24')]['includes'](_0x32a909[_0x21cd('0x10')])?_0x126f4e[_0x21cd('0x23')]['addClass'](_0x21cd('0xe'),_0x2d8edc):_0x126f4e[_0x21cd('0x23')][_0x21cd('0x1b')]('ck-suggestion-marker--active',_0x2d8edc));}}};}_0xb93fda[_0x21cd('0x49')](_0x21cd('0x46'),(_0xfd86ca,_0x5b18a9)=>{const _0x282586=_0x4394e2[_0x21cd('0xf')](_0x520253[_0x21cd('0x11')][_0x21cd('0x1')][_0x21cd('0x4c')]),_0x4481f5=_0x4394e2[_0x21cd('0x3d')](_0x282586),_0x5868fc=_0x282586[0x0][_0x21cd('0x22')](_0x21cd('0x29')),_0x4533ca=_0x5868fc[_0x21cd('0x3f')](_0x21cd('0x1e'))||0x0,_0x427481=_0x5b18a9&&null!==_0x5b18a9[_0x21cd('0x2a')]?_0x5b18a9[_0x21cd('0x2a')]:!_0x520253['commands'][_0x21cd('0x5')](_0x21cd('0x46'))[_0x21cd('0x1d')],_0x582b58=_0x427481?_0x4481f5[_0x21cd('0x34')]:_0x4481f5[_0x21cd('0x47')],_0x466c51=_0x5868fc['getChild'](_0x582b58);let _0x4c2909;if(_0x427481){const _0x418946=_0x5868fc[_0x21cd('0x4e')](_0x4533ca);if(_0x466c51['index']<_0x418946[_0x21cd('0x3e')])return;_0x4c2909=_0x520253['model'][_0x21cd('0x19')](_0x520253[_0x21cd('0x11')][_0x21cd('0x21')](_0x418946[_0x21cd('0x4e')](0x0)),_0x520253[_0x21cd('0x11')][_0x21cd('0x9')](_0x466c51[_0x21cd('0x4e')](_0x466c51[_0x21cd('0x4d')]-0x1)));}else{const _0x43bbf9=_0x5868fc[_0x21cd('0x4e')](_0x4533ca-0x1);if(!_0x43bbf9)return;_0x4c2909=_0x520253[_0x21cd('0x11')][_0x21cd('0x19')](_0x520253[_0x21cd('0x11')]['createPositionBefore'](_0x466c51[_0x21cd('0x4e')](0x0)),_0x520253[_0x21cd('0x11')]['createPositionAfter'](_0x43bbf9[_0x21cd('0x4e')](_0x43bbf9['childCount']-0x1)));}_0x520253[_0x21cd('0x11')]['change'](()=>{_0xb93fda[_0x21cd('0xc')](_0x4c2909,{'commandName':_0x21cd('0x46'),'commandParams':[{'forceValue':_0x427481}]},[],_0x21cd('0x46'));});}),_0xb93fda['enableCommand'](_0x21cd('0x6'),(_0x334cf1,_0x4f50b9)=>{const _0x485093=_0x520253[_0x21cd('0x2c')][_0x21cd('0x5')](_0x21cd('0x15')),_0x5abd3f=_0x485093[_0x21cd('0xf')](_0x520253[_0x21cd('0x11')]['document'][_0x21cd('0x4c')]),_0x5c2aad=_0x485093[_0x21cd('0x20')](_0x5abd3f),_0x5239f0=_0x5abd3f[0x0][_0x21cd('0x22')](_0x21cd('0x29')),_0x1ca72d=_0x5239f0[_0x21cd('0x3f')](_0x21cd('0x4a'))||0x0,_0x130213=_0x4f50b9&&null!==_0x4f50b9[_0x21cd('0x2a')]?_0x4f50b9[_0x21cd('0x2a')]:!_0x520253[_0x21cd('0x39')][_0x21cd('0x5')](_0x21cd('0x6'))['value'];let _0x466fab;const _0x5217db=_0x5239f0['getChild'](0x0),_0x26b191=_0x130213?_0x5c2aad[_0x21cd('0x34')]:_0x5c2aad[_0x21cd('0x47')],_0x1134b4=_0x485093['createTableWalker'](_0x5239f0,{'startRow':0x0,'column':_0x26b191,'includeAllSlots':!0x1}),_0x19fae0=Array[_0x21cd('0x32')](_0x1134b4)[0x0][_0x21cd('0x36')];if(_0x130213){const _0x59cfa2=_0x5217db['getChild'](_0x1ca72d);if(_0x19fae0[_0x21cd('0x2')](_0x59cfa2))return;_0x466fab=_0x520253[_0x21cd('0x11')][_0x21cd('0x19')](_0x520253[_0x21cd('0x11')][_0x21cd('0x21')](_0x59cfa2),_0x520253[_0x21cd('0x11')][_0x21cd('0x9')](_0x19fae0));}else{const _0xea744=_0x5217db[_0x21cd('0x4e')](_0x1ca72d-0x1);if(!_0xea744)return;_0x466fab=_0x520253['model']['createRange'](_0x520253[_0x21cd('0x11')][_0x21cd('0x21')](_0x19fae0),_0x520253[_0x21cd('0x11')][_0x21cd('0x9')](_0xea744));}_0x520253[_0x21cd('0x11')]['change'](()=>{_0xb93fda[_0x21cd('0xc')](_0x466fab,{'commandName':_0x21cd('0x6'),'commandParams':[{'forceValue':_0x130213}]},[],'setTableColumnHeader');});}),_0x520253[_0x21cd('0x7')][_0x21cd('0x8')]['on']('addMarker:suggestion',_0x1a4aed(),{'priority':_0x21cd('0x33')}),_0x520253['data'][_0x21cd('0x8')]['on']('addMarker:suggestion',(_0x8e361d,_0x4b9b06,_0x54009c)=>{_0x54009c['options'][_0x21cd('0x3a')]&&_0x1a4aed({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x8e361d,_0x4b9b06,_0x54009c);},{'priority':_0x21cd('0x33')}),_0x520253['editing']['downcastDispatcher']['on'](_0x21cd('0x40'),(_0x36b1aa,_0x38f300,_0x48f7c7)=>{const {type:_0x16f266,id:_0x1cd443}=_0xb93fda[_0x21cd('0x43')](_0x38f300[_0x21cd('0x10')]),_0x910abe=_0xb93fda[_0x21cd('0x25')](_0x1cd443);if(!_0x910abe[_0x21cd('0x18')]||'setTableColumnHeader'!=_0x910abe[_0x21cd('0x18')]['commandName'])return;const _0x46b585=_0x48f7c7[_0x21cd('0x13')][_0x21cd('0x28')](_0x38f300['markerName']);if(_0x46b585)for(const _0x33e76d of _0x46b585)_0x48f7c7[_0x21cd('0x23')]['removeClass']('ck-suggestion-marker-'+_0x16f266,_0x33e76d),_0x48f7c7[_0x21cd('0x23')]['removeClass'](_0x21cd('0xe'),_0x33e76d),_0x48f7c7[_0x21cd('0x23')][_0x21cd('0x3b')](_0x21cd('0x2b'),_0x33e76d),_0x48f7c7[_0x21cd('0x13')][_0x21cd('0xa')](_0x33e76d,_0x38f300[_0x21cd('0x10')]);},{'priority':'highest'}),_0xb93fda[_0x21cd('0x37')][_0x21cd('0x3c')](_0xd96529=>{const {data:_0x5569e1}=_0xd96529;if(_0x5569e1){if('setTableRowHeader'==_0x5569e1[_0x21cd('0x4f')]){const _0x1554e9=_0x5569e1['commandParams'][0x0]['forceValue'];return _0xf19c98(_0xc87818(_0x1a3b8e,_0x1554e9?_0x21cd('0x48'):_0x21cd('0xb')));}if(_0x21cd('0x6')==_0x5569e1['commandName']){const _0x3528be=_0x5569e1[_0x21cd('0x1c')][0x0][_0x21cd('0x2a')];return _0xf19c98(_0xc87818(_0x1a3b8e,_0x3528be?'FORMAT_HEADER_COLUMN':'FORMAT_REGULAR_COLUMN'));}}function _0xf19c98(_0x1ddeb3){return{'type':'format','content':_0xc87818(_0x1a3b8e,_0x21cd('0x2f'),_0x1ddeb3)};}});const _0x586ba4=_0x7969a6[_0x21cd('0x12')]();_0xb93fda[_0x21cd('0x16')]['registerCustomCallback'](_0x21cd('0x42'),_0x21cd('0x46'),_0x21cd('0x1a'),_0x586ba4),_0xb93fda[_0x21cd('0x16')][_0x21cd('0x38')]('formatBlock','setTableColumnHeader',_0x21cd('0x1a'),_0x586ba4);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x163c=['commands','markMultiRangeBlockFormat','push','_suggestionFactory','size','getRanges','registerCustomCallback','type','change','forceDefaultExecution','createRangeOn','direction','getAncestors','splitTableCellVertically','locale','formatBlock','registerDescriptionCallback','execute','trackChanges','deletion','detach','mergeTableCellUp','setSelection','highest','value','TableEditing','map','getSelectionAffectedTableCells','root','$graveyard','tableCell','length','find','findAncestor','mergeTableCells','add','author','mergeTableCellLeft','_tablePostFixingSubtypes','TrackChangesEditing','mergeTableCellDown','TableUtils','element','_areMergableCells','containsRange','table','has','format','*Merge\x20cells*','model','return','rootName','refresh','enableCommand','splitTableCellHorizontally','accept','afterInit','commandName','getCellLocation','cell','selection','horizontally','editor','get','subType','from','*Split\x20cell:*\x20horizontally','_isForcedDefaultExecutionBlock','plugins','getSuggestions','isInContent','insertion','low','document','mergeTableCellRight'];(function(_0x42d58e,_0x163c37){const _0x3dc6b3=function(_0x224a75){while(--_0x224a75){_0x42d58e['push'](_0x42d58e['shift']());}};_0x3dc6b3(++_0x163c37);}(_0x163c,0x17d));const _0x3dc6=function(_0x42d58e,_0x163c37){_0x42d58e=_0x42d58e-0x0;let _0x3dc6b3=_0x163c[_0x42d58e];return _0x3dc6b3;};import{Plugin as _0x184073}from'ckeditor5/src/core';import _0x57ce7c from'./table';import{LiveRange as _0x2104ab}from'ckeditor5/src/engine';import{getTranslation as _0x3d77da}from'../utils/common-translations';export default class pt extends _0x184073{static get['requires'](){return[_0x57ce7c];}[_0x3dc6('0x32')](){const _0xe13ce3=this['editor'],_0x41cc94=_0xe13ce3['model'][_0x3dc6('0x43')]['selection'],_0x1be613=_0xe13ce3[_0x3dc6('0x8')];if(!_0xe13ce3[_0x3dc6('0x3e')][_0x3dc6('0x28')](_0x3dc6('0x13')))return;const _0x5596a1=_0xe13ce3['plugins'][_0x3dc6('0x39')]('TrackChangesEditing'),_0x567853=_0xe13ce3[_0x3dc6('0x3e')][_0x3dc6('0x39')](_0x3dc6('0x23')),_0x4868b9=_0xe13ce3[_0x3dc6('0x3e')][_0x3dc6('0x39')](_0x57ce7c);_0x4868b9[_0x3dc6('0x20')][_0x3dc6('0x47')]('mergeTableCells'),_0x5596a1['enableCommand'](_0x3dc6('0x1c'),()=>{const _0x3a873d=_0x567853[_0x3dc6('0x15')](_0xe13ce3['model']['document'][_0x3dc6('0x36')]);_0xe13ce3[_0x3dc6('0x2b')]['change'](()=>{_0x5596a1[_0x3dc6('0x46')](_0x3a873d,{'commandName':_0x3dc6('0x1c'),'commandParams':[]},[],_0x3dc6('0x1c'));});}),_0xe13ce3[_0x3dc6('0x45')][_0x3dc6('0x39')](_0x3dc6('0x1c'))['on']('execute',(_0x4ecf65,_0x4db839)=>{_0xe13ce3[_0x3dc6('0x45')][_0x3dc6('0x39')](_0x3dc6('0xc'))[_0x3dc6('0x12')]&&(_0x4db839[_0x3dc6('0x19')]>0x0&&_0x4db839[_0x4db839[_0x3dc6('0x19')]-0x1]&&_0x4db839[_0x4db839[_0x3dc6('0x19')]-0x1][_0x3dc6('0x3')]||_0x5596a1[_0x3dc6('0x3d')]||this['_areSelectedCellsMergable']()||_0x4ecf65['stop']());},{'priority':_0x3dc6('0x11')});for(const _0x5ea7b4 of['mergeTableCellUp',_0x3dc6('0x44'),_0x3dc6('0x22'),_0x3dc6('0x1f')]){const _0x3a4cd1=_0xe13ce3[_0x3dc6('0x45')][_0x3dc6('0x39')](_0x5ea7b4);_0x5596a1[_0x3dc6('0x2f')](_0x5ea7b4,()=>{const _0x3f117b=_0xe13ce3[_0x3dc6('0x2b')][_0x3dc6('0x43')][_0x3dc6('0x36')]['getFirstPosition']()[_0x3dc6('0x6')]()[_0x3dc6('0x1a')](_0x2f35bb=>_0x2f35bb['is']('element',_0x3dc6('0x18'))),_0x29fd17=_0x3a4cd1['value'];_0xe13ce3['model']['change'](()=>{_0x5596a1['markMultiRangeBlockFormat']([_0x3f117b,_0x29fd17],{'commandName':_0x3dc6('0x1c'),'commandParams':[]},[],_0x3dc6('0x1c'));});});}for(const _0x1f6277 of['splitTableCellVertically','splitTableCellHorizontally']){const _0x1799b8=_0xe13ce3[_0x3dc6('0x45')][_0x3dc6('0x39')](_0x1f6277);_0x5596a1['enableCommand'](_0x1f6277,()=>{const _0x1f02a3=_0x567853[_0x3dc6('0x15')](_0xe13ce3['model']['document']['selection'])[0x0],_0x1f6a58=_0x1f02a3[_0x3dc6('0x1b')](_0x3dc6('0x27')),{column:_0x8a2f25,row:_0x187932}=_0x567853[_0x3dc6('0x34')](_0x1f02a3);let _0x454100=[];if(_0x3dc6('0x37')==_0x1799b8[_0x3dc6('0x5')]){const _0x43ed8b=_0x567853['createTableWalker'](_0x1f6a58,{'startRow':_0x187932,'endRow':_0x187932,'includeAllSlots':!0x0});_0x454100=Array[_0x3dc6('0x3b')](_0x43ed8b)[_0x3dc6('0x14')](_0x47a199=>_0x47a199[_0x3dc6('0x35')]);}else{const _0x4e0d02=_0x567853['createTableWalker'](_0x1f6a58,{'column':_0x8a2f25,'includeAllSlots':!0x0});_0x454100=Array['from'](_0x4e0d02)[_0x3dc6('0x14')](_0xc5e44c=>_0xc5e44c['cell']);}_0xe13ce3[_0x3dc6('0x2b')][_0x3dc6('0x2')](_0x12eb19=>{_0x5596a1['markBlockFormat'](_0x12eb19[_0x3dc6('0x4')](_0x1f02a3),{'commandName':_0x1f6277,'commandParams':[]},_0x454100,_0x1f6277);});});}_0x5596a1['_descriptionFactory']['registerDescriptionCallback'](_0x3577bf=>{const {data:_0x1e8696}=_0x3577bf;if(_0x1e8696)return'mergeTableCells'==_0x1e8696[_0x3dc6('0x33')]?{'type':_0x3dc6('0x29'),'content':_0x3d77da(_0x1be613,_0x3dc6('0x2a'))}:void 0x0;}),_0x5596a1['_descriptionFactory'][_0x3dc6('0xa')](_0x561b22=>{const {data:_0x5d7f1f}=_0x561b22;if(_0x5d7f1f)return _0x3dc6('0x7')==_0x5d7f1f[_0x3dc6('0x33')]?{'type':_0x3dc6('0x29'),'content':_0x3d77da(_0x1be613,'*Split\x20cell:*\x20vertically')}:_0x3dc6('0x30')==_0x5d7f1f[_0x3dc6('0x33')]?{'type':'format','content':_0x3d77da(_0x1be613,_0x3dc6('0x3c'))}:void 0x0;});const _0x3d3a7d=_0x4868b9['_acceptFormatSuggestionCallbackFactory']();for(const _0x12fed9 of[_0x3dc6('0xf'),'mergeTableCellRight',_0x3dc6('0x22'),_0x3dc6('0x1f')])_0x5596a1['_suggestionFactory'][_0x3dc6('0x0')](_0x3dc6('0x9'),_0x12fed9,_0x3dc6('0x31'),_0x3d3a7d);for(const _0x190285 of['splitTableCellVertically',_0x3dc6('0x30')])_0x5596a1['_suggestionFactory'][_0x3dc6('0x0')](_0x3dc6('0x9'),_0x190285,'accept',_0x3d3a7d);_0x5596a1[_0x3dc6('0x48')][_0x3dc6('0x0')](_0x3dc6('0x9'),_0x3dc6('0x1c'),_0x3dc6('0x31'),_0x58d8db=>{_0xe13ce3[_0x3dc6('0x2b')][_0x3dc6('0x2')](_0x1e71d7=>{const _0xb2db2b=Array[_0x3dc6('0x3b')](_0x41cc94[_0x3dc6('0x4a')]())[_0x3dc6('0x14')](_0x5c10e1=>_0x2104ab['fromRange'](_0x5c10e1));_0x1e71d7[_0x3dc6('0x10')](_0x58d8db),_0xe13ce3['commands'][_0x3dc6('0x39')]('mergeTableCells')[_0x3dc6('0x2e')](),_0xe13ce3[_0x3dc6('0xb')]('mergeTableCells',{'forceDefaultExecution':!0x0});const _0x3a8b77=_0xb2db2b['filter'](_0xe455c4=>_0x3dc6('0x17')!=_0xe455c4[_0x3dc6('0x16')][_0x3dc6('0x2d')]);_0x3a8b77[_0x3dc6('0x19')]>0x0&&_0x1e71d7[_0x3dc6('0x10')](_0x3a8b77);for(const _0x4ae38c of _0xb2db2b)_0x4ae38c[_0x3dc6('0xe')]();});});for(const _0x37ba58 of['mergeTableCellUp',_0x3dc6('0x22'),'mergeTableCellLeft',_0x3dc6('0x44')]){const _0x1a0286=_0xe13ce3[_0x3dc6('0x45')][_0x3dc6('0x39')](_0x37ba58);_0x1a0286['on']('set:isEnabled',(_0x592b3e,_0xb8c229,_0x547b03)=>{if(_0x547b03){const _0xbfcf5c=_0xe13ce3[_0x3dc6('0x2b')][_0x3dc6('0x43')]['selection']['getFirstPosition']()['getAncestors']()[_0x3dc6('0x1a')](_0x57a0bf=>_0x57a0bf['is'](_0x3dc6('0x24'),_0x3dc6('0x18')));this['_areMergableCells'](_0x1a0286[_0x3dc6('0x12')],_0xbfcf5c)||(_0x592b3e[_0x3dc6('0x2c')]=!0x1,_0x592b3e['stop']());}},{'priority':_0x3dc6('0x42')});}}['_areSelectedCellsMergable'](){const _0x5f4a13=this[_0x3dc6('0x38')][_0x3dc6('0x45')][_0x3dc6('0x39')](_0x3dc6('0x1c')),_0x42a385=this[_0x3dc6('0x38')][_0x3dc6('0x3e')][_0x3dc6('0x39')](_0x3dc6('0x23'));if(!_0x5f4a13['isEnabled'])return!0x1;const _0x461a89=_0x42a385[_0x3dc6('0x15')](this[_0x3dc6('0x38')]['model'][_0x3dc6('0x43')][_0x3dc6('0x36')]);for(const _0x11c5c8 of _0x461a89)for(const _0x2d9b3a of _0x461a89)if(_0x11c5c8!=_0x2d9b3a&&!this[_0x3dc6('0x25')](_0x11c5c8,_0x2d9b3a))return!0x1;return!0x0;}[_0x3dc6('0x25')](_0x11084a,_0x2a289d){const _0x45ce13=this[_0x3dc6('0x38')]['plugins'][_0x3dc6('0x39')](_0x3dc6('0x21')),_0x492dfe=this['editor'][_0x3dc6('0x2b')][_0x3dc6('0x4')](_0x11084a),_0x3e60b1=this[_0x3dc6('0x38')][_0x3dc6('0x2b')][_0x3dc6('0x4')](_0x2a289d),_0x3d631a=new Set(),_0x1ca9f1=new Set();for(const _0xd9d8c2 of _0x45ce13[_0x3dc6('0x3f')]())if((_0x3dc6('0x41')==_0xd9d8c2[_0x3dc6('0x1')]||_0x3dc6('0xd')==_0xd9d8c2['type']||_0x3dc6('0x1c')==_0xd9d8c2[_0x3dc6('0x3a')])&&_0xd9d8c2[_0x3dc6('0x40')])for(const _0x4096ca of _0xd9d8c2[_0x3dc6('0x4a')]())_0x4096ca['containsRange'](_0x492dfe,!0x0)&&_0x3d631a['add'](_0xd9d8c2[_0x3dc6('0x1')]+':'+_0xd9d8c2[_0x3dc6('0x1e')]['id']),_0x4096ca[_0x3dc6('0x26')](_0x3e60b1,!0x0)&&_0x1ca9f1[_0x3dc6('0x1d')](_0xd9d8c2[_0x3dc6('0x1')]+':'+_0xd9d8c2[_0x3dc6('0x1e')]['id']);if(_0x3d631a[_0x3dc6('0x49')]!=_0x1ca9f1[_0x3dc6('0x49')])return!0x1;for(const _0x491452 of _0x3d631a)if(!_0x1ca9f1['has'](_0x491452))return!0x1;return!0x0;}}
23
+ const _0x446a=['*Merge\x20cells*','size','commandName','mergeTableCellDown','_areSelectedCellsMergable','registerCustomCallback','_areMergableCells','formatBlock','type','execute','splitTableCellHorizontally','splitTableCellVertically','push','format','model','getFirstPosition','enableCommand','containsRange','createRangeOn','cell','TableEditing','isEnabled','createTableWalker','document','deletion','findAncestor','add','forceDefaultExecution','markMultiRangeBlockFormat','registerDescriptionCallback','_suggestionFactory','change','filter','detach','commands','plugins','stop','has','low','getAncestors','getCellLocation','tableCell','_descriptionFactory','editor','accept','mergeTableCells','value','length','getRanges','trackChanges','TableUtils','mergeTableCellUp','getSelectionAffectedTableCells','setSelection','insertion','isInContent','horizontally','element','fromRange','refresh','selection','mergeTableCellLeft','_tablePostFixingSubtypes','direction','map','author','mergeTableCellRight','getSuggestions','TrackChangesEditing','*Split\x20cell:*\x20horizontally','get','from','$graveyard','set:isEnabled','_acceptFormatSuggestionCallbackFactory'];(function(_0x8be984,_0x446aa0){const _0x23d55e=function(_0x2d4fee){while(--_0x2d4fee){_0x8be984['push'](_0x8be984['shift']());}};_0x23d55e(++_0x446aa0);}(_0x446a,0x88));const _0x23d5=function(_0x8be984,_0x446aa0){_0x8be984=_0x8be984-0x0;let _0x23d55e=_0x446a[_0x8be984];return _0x23d55e;};import{Plugin as _0x4122e6}from'ckeditor5/src/core';import _0x4d7f90 from'./table';import{LiveRange as _0x23125b}from'ckeditor5/src/engine';import{getTranslation as _0x44bacb}from'../utils/common-translations';export default class pt extends _0x4122e6{static get['requires'](){return[_0x4d7f90];}['afterInit'](){const _0x4e803c=this[_0x23d5('0x39')],_0x520b08=_0x4e803c[_0x23d5('0x1c')]['document'][_0x23d5('0x4a')],_0x1cbccb=_0x4e803c['locale'];if(!_0x4e803c[_0x23d5('0x31')][_0x23d5('0x33')](_0x23d5('0x22')))return;const _0x1d4952=_0x4e803c[_0x23d5('0x31')][_0x23d5('0x9')](_0x23d5('0x7')),_0x7ff31=_0x4e803c['plugins']['get'](_0x23d5('0x40')),_0x333b6c=_0x4e803c['plugins']['get'](_0x4d7f90);_0x333b6c[_0x23d5('0x1')][_0x23d5('0x1a')](_0x23d5('0x3b')),_0x1d4952[_0x23d5('0x1e')]('mergeTableCells',()=>{const _0x1f3e22=_0x7ff31['getSelectionAffectedTableCells'](_0x4e803c[_0x23d5('0x1c')][_0x23d5('0x25')][_0x23d5('0x4a')]);_0x4e803c[_0x23d5('0x1c')][_0x23d5('0x2d')](()=>{_0x1d4952[_0x23d5('0x2a')](_0x1f3e22,{'commandName':_0x23d5('0x3b'),'commandParams':[]},[],_0x23d5('0x3b'));});}),_0x4e803c[_0x23d5('0x30')][_0x23d5('0x9')](_0x23d5('0x3b'))['on'](_0x23d5('0x17'),(_0x243a1f,_0x30a7e1)=>{_0x4e803c[_0x23d5('0x30')][_0x23d5('0x9')](_0x23d5('0x3f'))[_0x23d5('0x3c')]&&(_0x30a7e1[_0x23d5('0x3d')]>0x0&&_0x30a7e1[_0x30a7e1[_0x23d5('0x3d')]-0x1]&&_0x30a7e1[_0x30a7e1[_0x23d5('0x3d')]-0x1][_0x23d5('0x29')]||_0x1d4952['_isForcedDefaultExecutionBlock']||this[_0x23d5('0x12')]()||_0x243a1f[_0x23d5('0x32')]());},{'priority':'highest'});for(const _0x40abf9 of[_0x23d5('0x41'),'mergeTableCellRight',_0x23d5('0x11'),_0x23d5('0x0')]){const _0x49562a=_0x4e803c[_0x23d5('0x30')][_0x23d5('0x9')](_0x40abf9);_0x1d4952['enableCommand'](_0x40abf9,()=>{const _0x56787b=_0x4e803c['model'][_0x23d5('0x25')][_0x23d5('0x4a')][_0x23d5('0x1d')]()[_0x23d5('0x35')]()['find'](_0x491938=>_0x491938['is'](_0x23d5('0x47'),_0x23d5('0x37'))),_0x6f0321=_0x49562a[_0x23d5('0x3c')];_0x4e803c['model'][_0x23d5('0x2d')](()=>{_0x1d4952[_0x23d5('0x2a')]([_0x56787b,_0x6f0321],{'commandName':_0x23d5('0x3b'),'commandParams':[]},[],_0x23d5('0x3b'));});});}for(const _0x5c7b7a of['splitTableCellVertically',_0x23d5('0x18')]){const _0x1e851b=_0x4e803c['commands'][_0x23d5('0x9')](_0x5c7b7a);_0x1d4952[_0x23d5('0x1e')](_0x5c7b7a,()=>{const _0xce4192=_0x7ff31[_0x23d5('0x42')](_0x4e803c[_0x23d5('0x1c')][_0x23d5('0x25')][_0x23d5('0x4a')])[0x0],_0x246138=_0xce4192[_0x23d5('0x27')]('table'),{column:_0x2dcc2e,row:_0x39675f}=_0x7ff31[_0x23d5('0x36')](_0xce4192);let _0x3015e4=[];if(_0x23d5('0x46')==_0x1e851b[_0x23d5('0x2')]){const _0x2a28d1=_0x7ff31[_0x23d5('0x24')](_0x246138,{'startRow':_0x39675f,'endRow':_0x39675f,'includeAllSlots':!0x0});_0x3015e4=Array[_0x23d5('0xa')](_0x2a28d1)[_0x23d5('0x3')](_0x67bec7=>_0x67bec7[_0x23d5('0x21')]);}else{const _0x55659e=_0x7ff31[_0x23d5('0x24')](_0x246138,{'column':_0x2dcc2e,'includeAllSlots':!0x0});_0x3015e4=Array[_0x23d5('0xa')](_0x55659e)[_0x23d5('0x3')](_0x591485=>_0x591485[_0x23d5('0x21')]);}_0x4e803c[_0x23d5('0x1c')][_0x23d5('0x2d')](_0x7dae2a=>{_0x1d4952['markBlockFormat'](_0x7dae2a[_0x23d5('0x20')](_0xce4192),{'commandName':_0x5c7b7a,'commandParams':[]},_0x3015e4,_0x5c7b7a);});});}_0x1d4952[_0x23d5('0x38')][_0x23d5('0x2b')](_0x2be5de=>{const {data:_0x1086e2}=_0x2be5de;if(_0x1086e2)return _0x23d5('0x3b')==_0x1086e2[_0x23d5('0x10')]?{'type':'format','content':_0x44bacb(_0x1cbccb,_0x23d5('0xe'))}:void 0x0;}),_0x1d4952[_0x23d5('0x38')]['registerDescriptionCallback'](_0x1668a1=>{const {data:_0x586734}=_0x1668a1;if(_0x586734)return _0x23d5('0x19')==_0x586734['commandName']?{'type':_0x23d5('0x1b'),'content':_0x44bacb(_0x1cbccb,'*Split\x20cell:*\x20vertically')}:'splitTableCellHorizontally'==_0x586734[_0x23d5('0x10')]?{'type':_0x23d5('0x1b'),'content':_0x44bacb(_0x1cbccb,_0x23d5('0x8'))}:void 0x0;});const _0x2b4fbc=_0x333b6c[_0x23d5('0xd')]();for(const _0x7d700a of[_0x23d5('0x41'),_0x23d5('0x5'),'mergeTableCellDown',_0x23d5('0x0')])_0x1d4952[_0x23d5('0x2c')][_0x23d5('0x13')](_0x23d5('0x15'),_0x7d700a,'accept',_0x2b4fbc);for(const _0x2fe8c0 of[_0x23d5('0x19'),_0x23d5('0x18')])_0x1d4952[_0x23d5('0x2c')][_0x23d5('0x13')](_0x23d5('0x15'),_0x2fe8c0,_0x23d5('0x3a'),_0x2b4fbc);_0x1d4952[_0x23d5('0x2c')][_0x23d5('0x13')](_0x23d5('0x15'),'mergeTableCells','accept',_0x56aee0=>{_0x4e803c[_0x23d5('0x1c')][_0x23d5('0x2d')](_0x10dd3b=>{const _0x33bbd8=Array[_0x23d5('0xa')](_0x520b08[_0x23d5('0x3e')]())[_0x23d5('0x3')](_0x7249ae=>_0x23125b[_0x23d5('0x48')](_0x7249ae));_0x10dd3b[_0x23d5('0x43')](_0x56aee0),_0x4e803c['commands']['get'](_0x23d5('0x3b'))[_0x23d5('0x49')](),_0x4e803c[_0x23d5('0x17')]('mergeTableCells',{'forceDefaultExecution':!0x0});const _0x24e65c=_0x33bbd8[_0x23d5('0x2e')](_0x1f8512=>_0x23d5('0xb')!=_0x1f8512['root']['rootName']);_0x24e65c[_0x23d5('0x3d')]>0x0&&_0x10dd3b['setSelection'](_0x24e65c);for(const _0x430968 of _0x33bbd8)_0x430968[_0x23d5('0x2f')]();});});for(const _0xef4cd3 of['mergeTableCellUp',_0x23d5('0x11'),_0x23d5('0x0'),_0x23d5('0x5')]){const _0xd35e8d=_0x4e803c[_0x23d5('0x30')][_0x23d5('0x9')](_0xef4cd3);_0xd35e8d['on'](_0x23d5('0xc'),(_0x1e0949,_0x585a7a,_0x4003c7)=>{if(_0x4003c7){const _0x281d08=_0x4e803c[_0x23d5('0x1c')][_0x23d5('0x25')][_0x23d5('0x4a')]['getFirstPosition']()[_0x23d5('0x35')]()['find'](_0x44ef81=>_0x44ef81['is'](_0x23d5('0x47'),_0x23d5('0x37')));this[_0x23d5('0x14')](_0xd35e8d['value'],_0x281d08)||(_0x1e0949['return']=!0x1,_0x1e0949['stop']());}},{'priority':_0x23d5('0x34')});}}[_0x23d5('0x12')](){const _0x152293=this['editor'][_0x23d5('0x30')][_0x23d5('0x9')](_0x23d5('0x3b')),_0x3b861f=this[_0x23d5('0x39')][_0x23d5('0x31')][_0x23d5('0x9')]('TableUtils');if(!_0x152293[_0x23d5('0x23')])return!0x1;const _0x53a166=_0x3b861f[_0x23d5('0x42')](this[_0x23d5('0x39')][_0x23d5('0x1c')][_0x23d5('0x25')]['selection']);for(const _0x17b7c2 of _0x53a166)for(const _0xd27ab5 of _0x53a166)if(_0x17b7c2!=_0xd27ab5&&!this[_0x23d5('0x14')](_0x17b7c2,_0xd27ab5))return!0x1;return!0x0;}[_0x23d5('0x14')](_0x12f533,_0x4a4c9b){const _0x2125b6=this[_0x23d5('0x39')][_0x23d5('0x31')][_0x23d5('0x9')](_0x23d5('0x7')),_0x1e489e=this[_0x23d5('0x39')][_0x23d5('0x1c')]['createRangeOn'](_0x12f533),_0x1e96e8=this[_0x23d5('0x39')][_0x23d5('0x1c')][_0x23d5('0x20')](_0x4a4c9b),_0x5445ac=new Set(),_0x589c3a=new Set();for(const _0x4cb7fb of _0x2125b6[_0x23d5('0x6')]())if((_0x23d5('0x44')==_0x4cb7fb['type']||_0x23d5('0x26')==_0x4cb7fb[_0x23d5('0x16')]||_0x23d5('0x3b')==_0x4cb7fb['subType'])&&_0x4cb7fb[_0x23d5('0x45')])for(const _0x212c95 of _0x4cb7fb['getRanges']())_0x212c95[_0x23d5('0x1f')](_0x1e489e,!0x0)&&_0x5445ac[_0x23d5('0x28')](_0x4cb7fb['type']+':'+_0x4cb7fb['author']['id']),_0x212c95[_0x23d5('0x1f')](_0x1e96e8,!0x0)&&_0x589c3a[_0x23d5('0x28')](_0x4cb7fb['type']+':'+_0x4cb7fb[_0x23d5('0x4')]['id']);if(_0x5445ac[_0x23d5('0xf')]!=_0x589c3a[_0x23d5('0xf')])return!0x1;for(const _0x388bc0 of _0x5445ac)if(!_0x589c3a['has'](_0x388bc0))return!0x1;return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3585=['insertTableOfContents','ELEMENT_TABLE_OF_CONTENTS','tableOfContents','enableCommand','get','plugins','editor','locale','_descriptionFactory'];(function(_0x5619a0,_0x358555){const _0x688c52=function(_0x2dd3f2){while(--_0x2dd3f2){_0x5619a0['push'](_0x5619a0['shift']());}};_0x688c52(++_0x358555);}(_0x3585,0x1ce));const _0x688c=function(_0x5619a0,_0x358555){_0x5619a0=_0x5619a0-0x0;let _0x688c52=_0x3585[_0x5619a0];return _0x688c52;};import{Plugin as _0x2dde81}from'ckeditor5/src/core';import{getTranslation as _0x15d06c}from'../utils/common-translations';export default class St extends _0x2dde81{['afterInit'](){const _0x3f0a76=this[_0x688c('0x3')];if(!_0x3f0a76['commands'][_0x688c('0x1')](_0x688c('0x6')))return;_0x3f0a76[_0x688c('0x2')][_0x688c('0x1')]('TrackChangesEditing')[_0x688c('0x0')](_0x688c('0x6'));const _0x4c8fb4=_0x3f0a76[_0x688c('0x2')][_0x688c('0x1')]('TrackChangesEditing'),_0xe46bf5=_0x3f0a76[_0x688c('0x4')];_0x4c8fb4[_0x688c('0x5')]['registerElementLabel'](_0x688c('0x8'),_0x10151b=>_0x15d06c(_0xe46bf5,_0x688c('0x7'),_0x10151b));}}
23
+ const _0x3da3=['get','enableCommand','tableOfContents','ELEMENT_TABLE_OF_CONTENTS','_descriptionFactory','locale','insertTableOfContents','afterInit','plugins','TrackChangesEditing','commands'];(function(_0x266c6b,_0x3da393){const _0x1c2596=function(_0x48e51d){while(--_0x48e51d){_0x266c6b['push'](_0x266c6b['shift']());}};_0x1c2596(++_0x3da393);}(_0x3da3,0x105));const _0x1c25=function(_0x266c6b,_0x3da393){_0x266c6b=_0x266c6b-0x0;let _0x1c2596=_0x3da3[_0x266c6b];return _0x1c2596;};import{Plugin as _0x11ba8f}from'ckeditor5/src/core';import{getTranslation as _0x342a84}from'../utils/common-translations';export default class St extends _0x11ba8f{[_0x1c25('0xa')](){const _0x50c67f=this['editor'];if(!_0x50c67f[_0x1c25('0x2')][_0x1c25('0x3')](_0x1c25('0x9')))return;_0x50c67f[_0x1c25('0x0')]['get'](_0x1c25('0x1'))[_0x1c25('0x4')](_0x1c25('0x9'));const _0x3120a4=_0x50c67f[_0x1c25('0x0')][_0x1c25('0x3')](_0x1c25('0x1')),_0x25050f=_0x50c67f[_0x1c25('0x8')];_0x3120a4[_0x1c25('0x7')]['registerElementLabel'](_0x1c25('0x5'),_0x4e5717=>_0x342a84(_0x25050f,_0x1c25('0x6'),_0x4e5717));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x67f3=['commandParams','document','handleSuggestionDescription','locale','join','editor','tableCellWidth','table','tableCellProperties','tableCellHorizontalAlignment','setAttribute','tableCellVerticalAlignment','model','TrackChangesEditing','getFirstPosition','tableBorderStyle','TableUtils','tableCellBackgroundColor','get','selection','accept','data','has','batch','getSuggestions','enqueueChange','afterInit','tableCellPadding','_handlePropertyChange','getAttribute','subType','getSelectionAffectedTableCells','getSuggestionCallback','plugins','tableCellBorderWidth','findAncestor','*Format:*\x20change\x20table\x20properties','getContainedElement','removeAttribute','tableBorderColor','registerCustomCallback','change','tableBackgroundColor','tableBorderWidth','tableHeight','tableAlignment','discard','_getSuggestion','format','handleDiscardAction','tableCellHeight','pluginName','_suggestionFactory','registerDescriptionCallback','TableCellPropertiesEditing','tableProperties','formatBlock'];(function(_0x1a2448,_0x67f3e9){const _0x25cc5f=function(_0x5aa3b6){while(--_0x5aa3b6){_0x1a2448['push'](_0x1a2448['shift']());}};_0x25cc5f(++_0x67f3e9);}(_0x67f3,0xd1));const _0x25cc=function(_0x1a2448,_0x67f3e9){_0x1a2448=_0x1a2448-0x0;let _0x25cc5f=_0x67f3[_0x1a2448];return _0x25cc5f;};import{Plugin as _0x5e8ef4}from'ckeditor5/src/core';import{getTranslation as _0x19dc1b}from'../utils/common-translations';export default class Dt extends _0x5e8ef4{constructor(_0xbcc073){super(_0xbcc073),this[_0x25cc('0x11')]=[_0x25cc('0x1'),_0x25cc('0x22'),_0x25cc('0x5'),_0x25cc('0x7'),'tableWidth',_0x25cc('0x6'),_0x25cc('0x4')],this['tableCellProperties']=['tableCellBorderColor','tableCellBorderStyle',_0x25cc('0x35'),_0x25cc('0x2e'),_0x25cc('0x19'),_0x25cc('0xc'),_0x25cc('0x24'),_0x25cc('0x1c'),_0x25cc('0x1e')];}static get[_0x25cc('0xd')](){return'TrackChangesTableProperties';}[_0x25cc('0x2d')](){const _0x3cf79c=this[_0x25cc('0x18')][_0x25cc('0x34')][_0x25cc('0x25')]('TrackChangesEditing');if(this[_0x25cc('0x18')][_0x25cc('0x34')]['has']('TablePropertiesEditing')){for(const _0x4140d7 of this[_0x25cc('0x11')])_0x3cf79c['enableCommand'](_0x4140d7,(_0x2b939d,_0x2717d7)=>{const _0x245c93=this[_0x25cc('0x18')][_0x25cc('0x1f')][_0x25cc('0x14')][_0x25cc('0x26')][_0x25cc('0x21')]()[_0x25cc('0x36')](_0x25cc('0x1a'));this[_0x25cc('0x2f')](_0x4140d7,[_0x245c93],this[_0x25cc('0x11')],_0x25cc('0x11'),_0x2b939d,_0x2717d7);});_0x3cf79c[_0x25cc('0xe')][_0x25cc('0x2')](_0x25cc('0x12'),_0x25cc('0x11'),'accept',_0x3cf79c[_0x25cc('0xe')][_0x25cc('0x33')](_0x25cc('0x12'),null,_0x25cc('0x8'))),_0x3cf79c[_0x25cc('0xe')][_0x25cc('0x2')](_0x25cc('0x12'),_0x25cc('0x11'),'discard',(_0x12d717,_0x246d3e)=>this[_0x25cc('0xb')](this[_0x25cc('0x11')],_0x12d717,_0x246d3e)),_0x3cf79c['_suggestionFactory']['registerCustomCallback'](_0x25cc('0x12'),'tableProperties',_0x25cc('0x17'),()=>!0x1);}if(this[_0x25cc('0x18')][_0x25cc('0x34')][_0x25cc('0x29')](_0x25cc('0x10'))){for(const _0x2d1886 of this[_0x25cc('0x1b')])_0x3cf79c['enableCommand'](_0x2d1886,(_0x5c6093,_0x21e86b)=>{const _0x586452=this['editor'][_0x25cc('0x34')][_0x25cc('0x25')](_0x25cc('0x23'))[_0x25cc('0x32')](this[_0x25cc('0x18')][_0x25cc('0x1f')]['document'][_0x25cc('0x26')]);this[_0x25cc('0x2f')](_0x2d1886,_0x586452,this[_0x25cc('0x1b')],_0x25cc('0x1b'),_0x5c6093,_0x21e86b);});_0x3cf79c[_0x25cc('0xe')][_0x25cc('0x2')](_0x25cc('0x12'),_0x25cc('0x1b'),_0x25cc('0x27'),_0x3cf79c[_0x25cc('0xe')][_0x25cc('0x33')]('formatBlock',null,_0x25cc('0x8'))),_0x3cf79c[_0x25cc('0xe')]['registerCustomCallback']('formatBlock','tableCellProperties',_0x25cc('0x8'),(_0x5c06dd,_0x3e6ec2)=>this[_0x25cc('0xb')](this[_0x25cc('0x1b')],_0x5c06dd,_0x3e6ec2)),_0x3cf79c[_0x25cc('0xe')][_0x25cc('0x2')](_0x25cc('0x12'),_0x25cc('0x1b'),'join',()=>!0x1);}_0x3cf79c['_descriptionFactory'][_0x25cc('0xf')](_0x5b90a3=>this[_0x25cc('0x15')](_0x5b90a3));}[_0x25cc('0x2f')](_0x1773ec,_0xedcb2,_0x3d3667,_0x2bd29d,_0x350394,_0x5ef59c){const _0x1d18dc=this[_0x25cc('0x18')]['plugins'][_0x25cc('0x25')](_0x25cc('0x20'));this[_0x25cc('0x18')][_0x25cc('0x1f')][_0x25cc('0x2c')](_0x5ef59c[_0x25cc('0x2a')],()=>{for(const _0x329214 of _0xedcb2){if(this[_0x25cc('0x9')](_0x329214,_0x2bd29d))_0x350394(_0x5ef59c);else{const _0x2848f6={};for(const _0xfb6b8b of _0x3d3667){const _0xea0ef3=_0x329214[_0x25cc('0x30')](_0xfb6b8b);void 0x0!==_0xea0ef3&&(_0x2848f6[_0xfb6b8b]=_0xea0ef3);}_0x350394(_0x5ef59c),_0x1d18dc['markBlockFormat'](_0x329214,{'commandParams':[_0x2848f6]},[],_0x2bd29d);}}});}[_0x25cc('0xb')](_0x2ba6a0,_0x1c2ba2,_0x558020){const _0x5becf9=_0x1c2ba2[0x0]['start']['nodeAfter'],_0x192d2f=_0x558020[_0x25cc('0x13')][0x0];this[_0x25cc('0x18')]['model'][_0x25cc('0x3')](_0x1746c6=>{for(const _0x3630f6 of _0x2ba6a0)void 0x0!==_0x192d2f[_0x3630f6]?_0x1746c6[_0x25cc('0x1d')](_0x3630f6,_0x192d2f[_0x3630f6],_0x5becf9):_0x1746c6[_0x25cc('0x0')](_0x3630f6,_0x5becf9);});}[_0x25cc('0x15')](_0x2b81ea){if(_0x2b81ea[_0x25cc('0x28')])switch(_0x2b81ea[_0x25cc('0x31')]){case'tableProperties':return{'type':'format','content':_0x19dc1b(this[_0x25cc('0x18')][_0x25cc('0x16')],_0x25cc('0x37'))};case _0x25cc('0x1b'):return{'type':_0x25cc('0xa'),'content':_0x19dc1b(this[_0x25cc('0x18')][_0x25cc('0x16')],'*Format:*\x20change\x20table\x20cell\x20properties')};}}['_getSuggestion'](_0x34e638,_0x29cba3){const _0xf87db0=this['editor'][_0x25cc('0x34')][_0x25cc('0x25')]('TrackChangesEditing');for(const _0x354f84 of _0xf87db0[_0x25cc('0x2b')]({'skipNotAttached':!0x0})){const _0x263da1=_0x354f84[_0x25cc('0x38')]();if(_0x354f84[_0x25cc('0x31')]===_0x29cba3&&_0x263da1===_0x34e638)return _0x354f84;}return null;}}
23
+ const _0x49ad=['start','tableBackgroundColor','tableCellBorderStyle','registerCustomCallback','accept','change','_getSuggestion','getFirstPosition','data','document','handleSuggestionDescription','format','_suggestionFactory','formatBlock','commandParams','tableCellBorderColor','tableHeight','model','_handlePropertyChange','enqueueChange','tableCellBackgroundColor','pluginName','getSuggestions','tableBorderColor','tableCellBorderWidth','markBlockFormat','tableCellPadding','getContainedElement','*Format:*\x20change\x20table\x20properties','TablePropertiesEditing','selection','join','tableAlignment','batch','enableCommand','plugins','nodeAfter','has','afterInit','tableCellProperties','locale','editor','getSuggestionCallback','tableProperties','*Format:*\x20change\x20table\x20cell\x20properties','table','registerDescriptionCallback','tableBorderWidth','tableCellWidth','tableWidth','tableCellVerticalAlignment','discard','findAncestor','removeAttribute','tableCellHeight','get','subType','TrackChangesEditing','handleDiscardAction'];(function(_0x147808,_0x49ad06){const _0x50cac2=function(_0x26e9d7){while(--_0x26e9d7){_0x147808['push'](_0x147808['shift']());}};_0x50cac2(++_0x49ad06);}(_0x49ad,0xba));const _0x50ca=function(_0x147808,_0x49ad06){_0x147808=_0x147808-0x0;let _0x50cac2=_0x49ad[_0x147808];return _0x50cac2;};import{Plugin as _0x356455}from'ckeditor5/src/core';import{getTranslation as _0x1f88ee}from'../utils/common-translations';export default class Dt extends _0x356455{constructor(_0x41dbda){super(_0x41dbda),this[_0x50ca('0x22')]=[_0x50ca('0xe'),'tableBorderStyle',_0x50ca('0x26'),_0x50ca('0x17'),_0x50ca('0x28'),_0x50ca('0x7'),_0x50ca('0x33')],this[_0x50ca('0x1e')]=[_0x50ca('0x6'),_0x50ca('0x34'),_0x50ca('0xf'),_0x50ca('0x11'),_0x50ca('0x27'),_0x50ca('0x2d'),_0x50ca('0xb'),'tableCellHorizontalAlignment',_0x50ca('0x29')];}static get[_0x50ca('0xc')](){return'TrackChangesTableProperties';}[_0x50ca('0x1d')](){const _0x51909f=this['editor'][_0x50ca('0x1a')]['get'](_0x50ca('0x30'));if(this[_0x50ca('0x20')][_0x50ca('0x1a')]['has'](_0x50ca('0x14'))){for(const _0x2578b7 of this[_0x50ca('0x22')])_0x51909f[_0x50ca('0x19')](_0x2578b7,(_0x530b6c,_0x3c2ca8)=>{const _0x33f3b6=this[_0x50ca('0x20')]['model'][_0x50ca('0x0')][_0x50ca('0x15')][_0x50ca('0x39')]()[_0x50ca('0x2b')](_0x50ca('0x24'));this['_handlePropertyChange'](_0x2578b7,[_0x33f3b6],this[_0x50ca('0x22')],_0x50ca('0x22'),_0x530b6c,_0x3c2ca8);});_0x51909f[_0x50ca('0x3')][_0x50ca('0x35')](_0x50ca('0x4'),_0x50ca('0x22'),'accept',_0x51909f['_suggestionFactory'][_0x50ca('0x21')](_0x50ca('0x4'),null,'discard')),_0x51909f['_suggestionFactory'][_0x50ca('0x35')]('formatBlock',_0x50ca('0x22'),_0x50ca('0x2a'),(_0x23b879,_0x23fe11)=>this[_0x50ca('0x31')](this[_0x50ca('0x22')],_0x23b879,_0x23fe11)),_0x51909f[_0x50ca('0x3')][_0x50ca('0x35')](_0x50ca('0x4'),_0x50ca('0x22'),_0x50ca('0x16'),()=>!0x1);}if(this['editor'][_0x50ca('0x1a')][_0x50ca('0x1c')]('TableCellPropertiesEditing')){for(const _0x4fc5dc of this[_0x50ca('0x1e')])_0x51909f[_0x50ca('0x19')](_0x4fc5dc,(_0xc46f63,_0xa014db)=>{const _0x33a4d4=this[_0x50ca('0x20')][_0x50ca('0x1a')][_0x50ca('0x2e')]('TableUtils')['getSelectionAffectedTableCells'](this[_0x50ca('0x20')][_0x50ca('0x8')][_0x50ca('0x0')]['selection']);this[_0x50ca('0x9')](_0x4fc5dc,_0x33a4d4,this[_0x50ca('0x1e')],_0x50ca('0x1e'),_0xc46f63,_0xa014db);});_0x51909f['_suggestionFactory'][_0x50ca('0x35')](_0x50ca('0x4'),_0x50ca('0x1e'),_0x50ca('0x36'),_0x51909f[_0x50ca('0x3')]['getSuggestionCallback'](_0x50ca('0x4'),null,'discard')),_0x51909f[_0x50ca('0x3')][_0x50ca('0x35')]('formatBlock',_0x50ca('0x1e'),_0x50ca('0x2a'),(_0x511816,_0x10a406)=>this[_0x50ca('0x31')](this[_0x50ca('0x1e')],_0x511816,_0x10a406)),_0x51909f[_0x50ca('0x3')][_0x50ca('0x35')]('formatBlock','tableCellProperties','join',()=>!0x1);}_0x51909f['_descriptionFactory'][_0x50ca('0x25')](_0x5e6e80=>this['handleSuggestionDescription'](_0x5e6e80));}[_0x50ca('0x9')](_0x3cb52b,_0x4e594b,_0x5a2933,_0x14770a,_0x579ed9,_0x37ae9d){const _0x2ff160=this[_0x50ca('0x20')][_0x50ca('0x1a')][_0x50ca('0x2e')](_0x50ca('0x30'));this[_0x50ca('0x20')][_0x50ca('0x8')][_0x50ca('0xa')](_0x37ae9d[_0x50ca('0x18')],()=>{for(const _0x1eb8cb of _0x4e594b){if(this[_0x50ca('0x38')](_0x1eb8cb,_0x14770a))_0x579ed9(_0x37ae9d);else{const _0x3538ea={};for(const _0x5618ac of _0x5a2933){const _0x528d7a=_0x1eb8cb['getAttribute'](_0x5618ac);void 0x0!==_0x528d7a&&(_0x3538ea[_0x5618ac]=_0x528d7a);}_0x579ed9(_0x37ae9d),_0x2ff160[_0x50ca('0x10')](_0x1eb8cb,{'commandParams':[_0x3538ea]},[],_0x14770a);}}});}[_0x50ca('0x31')](_0x1ed3cd,_0x13c720,_0x2cbaa6){const _0x2bb61e=_0x13c720[0x0][_0x50ca('0x32')][_0x50ca('0x1b')],_0x637559=_0x2cbaa6[_0x50ca('0x5')][0x0];this[_0x50ca('0x20')][_0x50ca('0x8')][_0x50ca('0x37')](_0x1df2cc=>{for(const _0x100a43 of _0x1ed3cd)void 0x0!==_0x637559[_0x100a43]?_0x1df2cc['setAttribute'](_0x100a43,_0x637559[_0x100a43],_0x2bb61e):_0x1df2cc[_0x50ca('0x2c')](_0x100a43,_0x2bb61e);});}[_0x50ca('0x1')](_0x5953c4){if(_0x5953c4[_0x50ca('0x3a')])switch(_0x5953c4[_0x50ca('0x2f')]){case'tableProperties':return{'type':'format','content':_0x1f88ee(this['editor'][_0x50ca('0x1f')],_0x50ca('0x13'))};case _0x50ca('0x1e'):return{'type':_0x50ca('0x2'),'content':_0x1f88ee(this['editor']['locale'],_0x50ca('0x23'))};}}[_0x50ca('0x38')](_0x1973dd,_0x7dc35){const _0x435abb=this[_0x50ca('0x20')]['plugins']['get']('TrackChangesEditing');for(const _0x337f5b of _0x435abb[_0x50ca('0xd')]({'skipNotAttached':!0x0})){const _0x3bface=_0x337f5b[_0x50ca('0x12')]();if(_0x337f5b['subType']===_0x7dc35&&_0x3bface===_0x1973dd)return _0x337f5b;}return null;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xe099=['plugins','Template','enableCommand','afterInit','get','has','TrackChangesEditing','editor'];(function(_0x5baf08,_0xe099f9){const _0x3a5468=function(_0x559895){while(--_0x559895){_0x5baf08['push'](_0x5baf08['shift']());}};_0x3a5468(++_0xe099f9);}(_0xe099,0x1e5));const _0x3a54=function(_0x5baf08,_0xe099f9){_0x5baf08=_0x5baf08-0x0;let _0x3a5468=_0xe099[_0x5baf08];return _0x3a5468;};import{Plugin as _0x2471b7}from'ckeditor5/src/core';export default class bt extends _0x2471b7{[_0x3a54('0x6')](){const _0x3bc1a6=this[_0x3a54('0x2')];_0x3bc1a6[_0x3a54('0x3')][_0x3a54('0x0')](_0x3a54('0x4'))&&_0x3bc1a6[_0x3a54('0x3')][_0x3a54('0x7')](_0x3a54('0x1'))[_0x3a54('0x5')]('insertTemplate');}}
23
+ const _0x4754=['plugins','get','has','enableCommand','editor','Template'];(function(_0x2d56d6,_0x475408){const _0x17a723=function(_0x1760e0){while(--_0x1760e0){_0x2d56d6['push'](_0x2d56d6['shift']());}};_0x17a723(++_0x475408);}(_0x4754,0x122));const _0x17a7=function(_0x2d56d6,_0x475408){_0x2d56d6=_0x2d56d6-0x0;let _0x17a723=_0x4754[_0x2d56d6];return _0x17a723;};import{Plugin as _0x564951}from'ckeditor5/src/core';export default class bt extends _0x564951{['afterInit'](){const _0x45a71a=this[_0x17a7('0x2')];_0x45a71a['plugins'][_0x17a7('0x0')](_0x17a7('0x3'))&&_0x45a71a[_0x17a7('0x4')][_0x17a7('0x5')]('TrackChangesEditing')[_0x17a7('0x1')]('insertTemplate');}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4789=['locale','schema','model','getNearestSelectionRange','start','isTouching','plugins','has','forward','from','removeMarker','isCollapsed','end','_descriptionFactory','editor','Title','suggestion','isEqual','nodeBefore','document','createRange','newRange','_splitMarkerName','title-content'];(function(_0x329904,_0x47895e){const _0x4a3110=function(_0x417b22){while(--_0x417b22){_0x329904['push'](_0x329904['shift']());}};_0x4a3110(++_0x47895e);}(_0x4789,0x138));const _0x4a31=function(_0x329904,_0x47895e){_0x329904=_0x329904-0x0;let _0x4a3110=_0x4789[_0x329904];return _0x4a3110;};import{Plugin as _0x14207b}from'ckeditor5/src/core';import{getTranslation as _0x262f0a}from'../utils/common-translations';export default class It extends _0x14207b{['afterInit'](){const _0x46e52f=this[_0x4a31('0xe')];if(!_0x46e52f[_0x4a31('0x6')][_0x4a31('0x7')](_0x4a31('0xf')))return;const _0x263bb9=_0x46e52f[_0x4a31('0x6')]['get']('TrackChangesEditing');_0x263bb9[_0x4a31('0xd')]['registerElementLabel'](_0x4a31('0x17'),()=>_0x262f0a(_0x46e52f[_0x4a31('0x0')],'ELEMENT_TITLE')),_0x46e52f[_0x4a31('0x2')][_0x4a31('0x13')]['registerPostFixer'](_0x33be89=>{let _0xa58ea5=!0x1;const _0xbf152a=Array[_0x4a31('0x9')](_0x46e52f[_0x4a31('0x2')][_0x4a31('0x13')]['differ']['getChangedMarkers']());for(const {name:_0x496a9b,data:_0x299890}of _0xbf152a){const {group:_0x58f72d}=_0x263bb9[_0x4a31('0x16')](_0x496a9b);if(_0x4a31('0x10')!==_0x58f72d||!_0x299890[_0x4a31('0x15')])continue;const _0x16d14a=_0x299890[_0x4a31('0x15')],_0x577fff=_0x16d14a[_0x4a31('0xc')][_0x4a31('0x12')];if(!_0x577fff||!_0x577fff['is']('element',_0x4a31('0x17')))continue;if(!_0x16d14a[_0x4a31('0x4')][_0x4a31('0x5')](_0x16d14a[_0x4a31('0xc')]))continue;const _0x3cbadf=_0x46e52f[_0x4a31('0x2')][_0x4a31('0x1')][_0x4a31('0x3')](_0x16d14a[_0x4a31('0xc')],_0x4a31('0x8'));if(_0x3cbadf&&_0x3cbadf[_0x4a31('0xb')]){const _0x57a6ac=_0x33be89[_0x4a31('0x14')](_0x16d14a[_0x4a31('0x4')],_0x3cbadf[_0x4a31('0x4')]);_0x57a6ac[_0x4a31('0x11')](_0x16d14a)||(_0x33be89['updateMarker'](_0x496a9b,{'range':_0x57a6ac}),_0xa58ea5=!0x0);}_0xa58ea5||(_0x33be89[_0x4a31('0xa')](_0x496a9b),_0xa58ea5=!0x0);}return _0xa58ea5;});}}
23
+ const _0x2a7b=['plugins','has','createRange','document','ELEMENT_TITLE','schema','start','Title','TrackChangesEditing','model','isCollapsed','nodeBefore','removeMarker','_splitMarkerName','_descriptionFactory','end','element','title-content','suggestion','registerPostFixer','locale','isEqual','updateMarker','newRange'];(function(_0x599367,_0x2a7bb7){const _0x59d600=function(_0x5aa415){while(--_0x5aa415){_0x599367['push'](_0x599367['shift']());}};_0x59d600(++_0x2a7bb7);}(_0x2a7b,0x1dc));const _0x59d6=function(_0x599367,_0x2a7bb7){_0x599367=_0x599367-0x0;let _0x59d600=_0x2a7b[_0x599367];return _0x59d600;};import{Plugin as _0x593f54}from'ckeditor5/src/core';import{getTranslation as _0x33a197}from'../utils/common-translations';export default class It extends _0x593f54{['afterInit'](){const _0xfad708=this['editor'];if(!_0xfad708[_0x59d6('0x4')][_0x59d6('0x5')](_0x59d6('0xb')))return;const _0x42d2e6=_0xfad708[_0x59d6('0x4')]['get'](_0x59d6('0xc'));_0x42d2e6[_0x59d6('0x12')]['registerElementLabel'](_0x59d6('0x15'),()=>_0x33a197(_0xfad708[_0x59d6('0x0')],_0x59d6('0x8'))),_0xfad708[_0x59d6('0xd')][_0x59d6('0x7')][_0x59d6('0x17')](_0x4362c9=>{let _0x533b24=!0x1;const _0xae8b4f=Array['from'](_0xfad708['model']['document']['differ']['getChangedMarkers']());for(const {name:_0x5d678b,data:_0x52b844}of _0xae8b4f){const {group:_0x39de76}=_0x42d2e6[_0x59d6('0x11')](_0x5d678b);if(_0x59d6('0x16')!==_0x39de76||!_0x52b844['newRange'])continue;const _0x3a0bed=_0x52b844[_0x59d6('0x3')],_0x2fc0c9=_0x3a0bed['end'][_0x59d6('0xf')];if(!_0x2fc0c9||!_0x2fc0c9['is'](_0x59d6('0x14'),_0x59d6('0x15')))continue;if(!_0x3a0bed[_0x59d6('0xa')]['isTouching'](_0x3a0bed[_0x59d6('0x13')]))continue;const _0x2c1949=_0xfad708['model'][_0x59d6('0x9')]['getNearestSelectionRange'](_0x3a0bed[_0x59d6('0x13')],'forward');if(_0x2c1949&&_0x2c1949[_0x59d6('0xe')]){const _0x308ca6=_0x4362c9[_0x59d6('0x6')](_0x3a0bed[_0x59d6('0xa')],_0x2c1949[_0x59d6('0xa')]);_0x308ca6[_0x59d6('0x1')](_0x3a0bed)||(_0x4362c9[_0x59d6('0x2')](_0x5d678b,{'range':_0x308ca6}),_0x533b24=!0x0);}_0x533b24||(_0x4362c9[_0x59d6('0x10')](_0x5d678b),_0x533b24=!0x0);}return _0x533b24;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4170=['enableCommand','has','redo','plugins','UndoEditing','undo','afterInit','editor'];(function(_0x55ffce,_0x417059){const _0x363124=function(_0x451b0b){while(--_0x451b0b){_0x55ffce['push'](_0x55ffce['shift']());}};_0x363124(++_0x417059);}(_0x4170,0x1cd));const _0x3631=function(_0x55ffce,_0x417059){_0x55ffce=_0x55ffce-0x0;let _0x363124=_0x4170[_0x55ffce];return _0x363124;};import{Plugin as _0x5545ee}from'ckeditor5/src/core';export default class vt extends _0x5545ee{[_0x3631('0x1')](){const _0x4f032f=this[_0x3631('0x2')],_0x2a2168=_0x4f032f[_0x3631('0x6')]['get']('TrackChangesEditing');_0x4f032f['plugins'][_0x3631('0x4')](_0x3631('0x7'))&&(_0x2a2168[_0x3631('0x3')](_0x3631('0x0')),_0x2a2168[_0x3631('0x3')](_0x3631('0x5')));}}
23
+ const _0x1000=['afterInit','redo','UndoEditing','has','get','editor','TrackChangesEditing','undo','enableCommand','plugins'];(function(_0x751cac,_0x100083){const _0x2788e4=function(_0x48a1ab){while(--_0x48a1ab){_0x751cac['push'](_0x751cac['shift']());}};_0x2788e4(++_0x100083);}(_0x1000,0x82));const _0x2788=function(_0x751cac,_0x100083){_0x751cac=_0x751cac-0x0;let _0x2788e4=_0x1000[_0x751cac];return _0x2788e4;};import{Plugin as _0x126241}from'ckeditor5/src/core';export default class vt extends _0x126241{[_0x2788('0x0')](){const _0x659ab=this[_0x2788('0x5')],_0x891d3e=_0x659ab[_0x2788('0x9')][_0x2788('0x4')](_0x2788('0x6'));_0x659ab['plugins'][_0x2788('0x3')](_0x2788('0x2'))&&(_0x891d3e['enableCommand'](_0x2788('0x7')),_0x891d3e[_0x2788('0x8')](_0x2788('0x1')));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2cfe=['getWalker','getAttribute','toViewElement','hasAttribute','listItem','activeMarkers','markerRange','parent','writer','model','isAtEnd','getItems','mapper','ck-suggestion-marker-','TrackChangesEditing','consumable','isContent','isBlock','name','get','createUIElement','isLimit','test','previousPosition','plugins','addHighlight','nextSibling','elementEnd','push','ck-suggestion-marker--active','toViewPosition','markerName'];(function(_0x10849b,_0x2cfe1f){const _0x58a460=function(_0x319c7e){while(--_0x319c7e){_0x10849b['push'](_0x10849b['shift']());}};_0x58a460(++_0x2cfe1f);}(_0x2cfe,0xa9));const _0x58a4=function(_0x10849b,_0x2cfe1f){_0x10849b=_0x10849b-0x0;let _0x58a460=_0x2cfe[_0x10849b];return _0x58a460;};export function getRangesWithAttribute(_0x3fafe3,_0x13fa96,_0x19dde9){const _0x37cb81=[];for(const _0xe8ea3b of _0x13fa96[_0x58a4('0x2')]())_0xe8ea3b[_0x58a4('0x1a')](_0x3fafe3)&&_0x37cb81[_0x58a4('0x13')](_0x19dde9['createRangeOn'](_0xe8ea3b));return _0x37cb81;}export function getElementsAffectedByListItemRename(_0xe43db3){const _0xd49a52=[];if(_0xe43db3['is']('element',_0x58a4('0x1b'))){let _0x4a9a1d=_0xe43db3[_0x58a4('0x11')];for(;_0x4a9a1d&&_0x4a9a1d['is']('element','listItem')&&_0x4a9a1d[_0x58a4('0x18')]('listIndent')>0x0;)_0xd49a52[_0x58a4('0x13')](_0x4a9a1d),_0x4a9a1d=_0x4a9a1d[_0x58a4('0x11')];}return _0xd49a52;}export function downcastSplitMergeMarker(_0x287937,_0x43fee4,{showActiveMarker:_0x5da6c2=!0x0}={}){const _0x162192=_0x287937[_0x58a4('0xf')][_0x58a4('0xa')](_0x58a4('0x5'));return(_0x4d61af,_0x3a9d50,_0x219606)=>{if(!_0x219606[_0x58a4('0x6')][_0x58a4('0xd')](_0x3a9d50['markerRange'],_0x4d61af[_0x58a4('0x9')]))return;const _0x4c7274=_0x3a9d50[_0x58a4('0x1d')][_0x58a4('0x17')](),_0x214f7f=_0x3a9d50[_0x58a4('0x1d')]['start'],_0x62b3ff=_0x287937[_0x58a4('0x0')]['schema'];let _0x88ca4=null,_0x5f33a8=null,_0x2a8e4f=!0x1,_0x48bf2c=!0x1;for(const _0x1b687c of _0x4c7274){const _0xc4c56d=_0x1b687c['item'];_0x2a8e4f=_0x2a8e4f||_0x62b3ff[_0x58a4('0x7')](_0xc4c56d);const _0x57328f=_0x219606[_0x58a4('0x3')][_0x58a4('0x19')](_0xc4c56d);if(_0x57328f&&_0x57328f['getCustomProperty'](_0x58a4('0x10')))return;_0x58a4('0x12')==_0x1b687c['type']&&(_0x62b3ff[_0x58a4('0x8')](_0xc4c56d)&&!_0x62b3ff[_0x58a4('0xc')](_0xc4c56d)&&(_0xc4c56d[_0x58a4('0x11')]||_0x214f7f[_0x58a4('0x1')]?_0x88ca4&&_0x88ca4[_0x58a4('0x1e')]==_0xc4c56d||(_0x88ca4=_0xc4c56d,_0x2d2a65(_0x1b687c[_0x58a4('0xe')]),_0x48bf2c=!0x0):_0x5f33a8=_0x5f33a8||_0x1b687c[_0x58a4('0xe')]));}function _0x2d2a65(_0x96b98d){const _0x10f5e4=_0x219606[_0x58a4('0x1f')][_0x58a4('0xb')]('span',{'class':_0x58a4('0x4')+_0x43fee4}),_0x320eb2=_0x219606['mapper'][_0x58a4('0x15')](_0x96b98d);_0x5da6c2&&_0x162192[_0x58a4('0x1c')]['includes'](_0x3a9d50[_0x58a4('0x16')])&&_0x219606[_0x58a4('0x1f')]['addClass'](_0x58a4('0x14'),_0x10f5e4),_0x219606[_0x58a4('0x1f')]['insert'](_0x320eb2,_0x10f5e4),_0x219606['mapper']['bindElementToMarker'](_0x10f5e4,_0x3a9d50[_0x58a4('0x16')]);}_0x2a8e4f||_0x48bf2c||!_0x5f33a8||_0x2d2a65(_0x5f33a8);};}
23
+ const _0x3b98=['isBlock','parent','insert','isAtEnd','ck-suggestion-marker-','toViewElement','markerName','item','plugins','createRangeOn','previousPosition','listItem','createUIElement','schema','listIndent','addHighlight','activeMarkers','element','markerRange','ck-suggestion-marker--active','hasAttribute','push','bindElementToMarker','get','writer','mapper','toViewPosition','isContent','name','model','start','addClass','nextSibling','TrackChangesEditing','getCustomProperty'];(function(_0x55237c,_0x3b98e0){const _0x3ffc9c=function(_0x3615b3){while(--_0x3615b3){_0x55237c['push'](_0x55237c['shift']());}};_0x3ffc9c(++_0x3b98e0);}(_0x3b98,0x7a));const _0x3ffc=function(_0x55237c,_0x3b98e0){_0x55237c=_0x55237c-0x0;let _0x3ffc9c=_0x3b98[_0x55237c];return _0x3ffc9c;};export function getRangesWithAttribute(_0x2ab884,_0x22b065,_0xe978e3){const _0x1c106b=[];for(const _0x411186 of _0x22b065['getItems']())_0x411186[_0x3ffc('0x3')](_0x2ab884)&&_0x1c106b[_0x3ffc('0x4')](_0xe978e3[_0x3ffc('0x1b')](_0x411186));return _0x1c106b;}export function getElementsAffectedByListItemRename(_0x35a82f){const _0x5a4b48=[];if(_0x35a82f['is'](_0x3ffc('0x0'),_0x3ffc('0x1d'))){let _0x49d0ba=_0x35a82f[_0x3ffc('0xf')];for(;_0x49d0ba&&_0x49d0ba['is'](_0x3ffc('0x0'),_0x3ffc('0x1d'))&&_0x49d0ba['getAttribute'](_0x3ffc('0x20'))>0x0;)_0x5a4b48['push'](_0x49d0ba),_0x49d0ba=_0x49d0ba[_0x3ffc('0xf')];}return _0x5a4b48;}export function downcastSplitMergeMarker(_0x385ecf,_0x3f00d0,{showActiveMarker:_0xb853c9=!0x0}={}){const _0x27b8ab=_0x385ecf[_0x3ffc('0x1a')][_0x3ffc('0x6')](_0x3ffc('0x10'));return(_0xcea62e,_0x195057,_0x49bd93)=>{if(!_0x49bd93['consumable']['test'](_0x195057[_0x3ffc('0x1')],_0xcea62e[_0x3ffc('0xb')]))return;const _0x1004ac=_0x195057[_0x3ffc('0x1')]['getWalker'](),_0x44a292=_0x195057[_0x3ffc('0x1')][_0x3ffc('0xd')],_0xa56ef5=_0x385ecf[_0x3ffc('0xc')][_0x3ffc('0x1f')];let _0x31fc10=null,_0x2bc863=null,_0x1e24d1=!0x1,_0x3609b4=!0x1;for(const _0x30c341 of _0x1004ac){const _0x380142=_0x30c341[_0x3ffc('0x19')];_0x1e24d1=_0x1e24d1||_0xa56ef5[_0x3ffc('0xa')](_0x380142);const _0x104e47=_0x49bd93['mapper'][_0x3ffc('0x17')](_0x380142);if(_0x104e47&&_0x104e47[_0x3ffc('0x11')](_0x3ffc('0x21')))return;'elementEnd'==_0x30c341['type']&&(_0xa56ef5[_0x3ffc('0x12')](_0x380142)&&!_0xa56ef5['isLimit'](_0x380142)&&(_0x380142[_0x3ffc('0xf')]||_0x44a292[_0x3ffc('0x15')]?_0x31fc10&&_0x31fc10[_0x3ffc('0x13')]==_0x380142||(_0x31fc10=_0x380142,_0x33beba(_0x30c341[_0x3ffc('0x1c')]),_0x3609b4=!0x0):_0x2bc863=_0x2bc863||_0x30c341['previousPosition']));}function _0x33beba(_0x316e1e){const _0x4e7ead=_0x49bd93[_0x3ffc('0x7')][_0x3ffc('0x1e')]('span',{'class':_0x3ffc('0x16')+_0x3f00d0}),_0x16c481=_0x49bd93[_0x3ffc('0x8')][_0x3ffc('0x9')](_0x316e1e);_0xb853c9&&_0x27b8ab[_0x3ffc('0x22')]['includes'](_0x195057[_0x3ffc('0x18')])&&_0x49bd93['writer'][_0x3ffc('0xe')](_0x3ffc('0x2'),_0x4e7ead),_0x49bd93[_0x3ffc('0x7')][_0x3ffc('0x14')](_0x16c481,_0x4e7ead),_0x49bd93['mapper'][_0x3ffc('0x5')](_0x4e7ead,_0x195057['markerName']);}_0x1e24d1||_0x3609b4||!_0x2bc863||_0x33beba(_0x2bc863);};}