@ckeditor/ckeditor5-track-changes 39.0.0 → 39.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (64) hide show
  1. package/build/track-changes.js +1 -1
  2. package/package.json +3 -3
  3. package/src/commands/acceptsuggestioncommand.js +1 -1
  4. package/src/commands/discardsuggestioncommand.js +1 -1
  5. package/src/commands/executeonallsuggestionscommand.js +1 -1
  6. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  7. package/src/commands/trackchangescommand.js +1 -1
  8. package/src/integrations/alignment.js +1 -1
  9. package/src/integrations/basicstyles.js +1 -1
  10. package/src/integrations/blockquote.js +1 -1
  11. package/src/integrations/ckbox.js +1 -1
  12. package/src/integrations/codeblock.js +1 -1
  13. package/src/integrations/comments.js +1 -1
  14. package/src/integrations/deletecommand.js +1 -1
  15. package/src/integrations/documentlist.js +1 -1
  16. package/src/integrations/documentlistproperties.js +1 -1
  17. package/src/integrations/entercommand.js +1 -1
  18. package/src/integrations/findandreplace.js +1 -1
  19. package/src/integrations/font.js +1 -1
  20. package/src/integrations/formatpainter.js +1 -1
  21. package/src/integrations/heading.js +1 -1
  22. package/src/integrations/highlight.js +1 -1
  23. package/src/integrations/horizontalline.js +1 -1
  24. package/src/integrations/htmlembed.js +1 -1
  25. package/src/integrations/image.js +1 -1
  26. package/src/integrations/imagereplace.js +1 -1
  27. package/src/integrations/importword.js +1 -1
  28. package/src/integrations/indent.js +1 -1
  29. package/src/integrations/inputcommand.js +1 -1
  30. package/src/integrations/link.js +1 -1
  31. package/src/integrations/list.js +1 -1
  32. package/src/integrations/listproperties.js +1 -1
  33. package/src/integrations/mediaembed.js +1 -1
  34. package/src/integrations/mention.js +1 -1
  35. package/src/integrations/pagebreak.js +1 -1
  36. package/src/integrations/paragraph.js +1 -1
  37. package/src/integrations/removeformat.js +1 -1
  38. package/src/integrations/restrictededitingmode.js +1 -1
  39. package/src/integrations/shiftentercommand.js +1 -1
  40. package/src/integrations/standardeditingmode.js +1 -1
  41. package/src/integrations/style.js +1 -1
  42. package/src/integrations/table.js +1 -1
  43. package/src/integrations/tablecaption.js +1 -1
  44. package/src/integrations/tableclipboard.js +1 -1
  45. package/src/integrations/tablecolumnresize.js +1 -1
  46. package/src/integrations/tableheadings.js +1 -1
  47. package/src/integrations/tablemergesplit.js +1 -1
  48. package/src/integrations/tableofcontents.js +1 -1
  49. package/src/integrations/tableproperties.js +1 -1
  50. package/src/integrations/template.js +1 -1
  51. package/src/integrations/title.js +1 -1
  52. package/src/integrations/undo.js +1 -1
  53. package/src/integrations/utils.js +1 -1
  54. package/src/suggestion.js +1 -1
  55. package/src/suggestiondescriptionfactory.js +1 -1
  56. package/src/trackchanges.js +1 -1
  57. package/src/trackchangesdata.js +1 -1
  58. package/src/trackchangesediting.js +1 -1
  59. package/src/trackchangesui.js +1 -1
  60. package/src/ui/suggestioncontroller.js +1 -1
  61. package/src/ui/view/basesuggestionthreadview.js +1 -1
  62. package/src/ui/view/suggestionthreadview.js +1 -1
  63. package/src/utils/common-translations.js +1 -1
  64. package/src/utils/utils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1651=['suggestion','push','getSuggestions','getRanges','name','getChangedMarkers','ck-suggestion-marker--active','hasSuggestion','dataDowncast','stop','markerToHighlight','filter','low','elementToElement','markerAttributes','markerName','tableCell','end','suggestionLoaded','insert','$graveyard','tableCellVerticalAlignment','fromEntries','rowInsertionRanges','markMultiRangeBlockFormat','ck-suggestion-marker','tableCellHorizontalAlignment','getTableIfOnlyTableInContent','model','differ','subType','last','map','tablePasteChainId','length','insertRows','tableCellBackgroundColor','element','schema','tableCellBorderColor','tablePasteCell','TrackChangesEditing','some','registerCustomCallback','content','startsWith','rows','markers','accept','editor','insertion','getSelectionAffectedTableCells','document','includes','rootName','removeMarkers','getChild','afterInit','findAncestor','next','columnInsertionIndexes','_getCoordsForCells','removeRows','removeMarker','getContainedElement','newRange','getShiftedBy','tableCellBorderWidth','first','markMultiRangeInsertion','options','getChildren','getAllAdjacentSuggestions','_splitMarkerName','requires','Users','table','position','remove','TableClipboard','suggestionUnloaded','registerPostFixer','fill','clipboardOutput','createTableWalker','cell','value','isEqual','getRows','_suggestionFactory','locale','getSuggestion','add','from','attributes','oldRange','type','getMarkers','cells','previous','endRow','nextSibling','set','deletion','tablePasteColumn','documentSelection','createRange','insertionRanges','tableCellSuggestion','change','column','redo','getChanges','formatBlock','markMultiRangeDeletion','createElement','_replaceTableSlotCell','rowInsertionIndexes','nodeAfter','_createdBatches','return','tablePasteRow','wrap','registerDescriptionCallback','updateMarker','discard','join','forceDefaultExecution','keys','deletionRanges','containsRange','editing','getRange','tableCellPadding','createRangeOn','TableUtils','get','high','suggestion:formatBlock:tablePasteCell','insertContent','start','isInContent','move','view','every','find','commands','conversion','paragraph','tablePaste','getSuggestionCallback','unwrap','plugins','getColumns','isEmpty','_descriptionFactory','listenTo','has','createRangeIn'];(function(_0x37756e,_0x165161){const _0xdc8659=function(_0x19196e){while(--_0x19196e){_0x37756e['push'](_0x37756e['shift']());}};_0xdc8659(++_0x165161);}(_0x1651,0x72));const _0xdc86=function(_0x37756e,_0x165161){_0x37756e=_0x37756e-0x0;let _0xdc8659=_0x1651[_0x37756e];return _0xdc8659;};import{getTranslation as _0x4cbe12}from'../utils/common-translations';import{Plugin as _0x25125e}from'ckeditor5/src/core';import{uid as _0x3ea129,priorities as _0x1114ae}from'ckeditor5/src/utils';import _0x4f33b5 from'./table';const le=[_0xdc86('0x70'),_0xdc86('0x54'),'tableCellBorderStyle',_0xdc86('0x47'),_0xdc86('0x42'),_0xdc86('0x51'),_0xdc86('0x13')],ae=Object['fromEntries'](le[_0xdc86('0x4d')](_0x2f7d37=>[_0x2f7d37,null]));export default class kt extends _0x25125e{static get[_0xdc86('0x77')](){return[_0x4f33b5];}[_0xdc86('0x66')](){const _0x120594=this[_0xdc86('0x5e')];if(!_0x120594[_0xdc86('0x26')]['has'](_0xdc86('0x7c')))return;const _0x461bb1=_0x120594[_0xdc86('0x26')][_0xdc86('0x16')](_0xdc86('0x56')),_0x45d226=_0x120594[_0xdc86('0x26')][_0xdc86('0x16')](_0xdc86('0x15')),_0x395b46=_0x120594[_0xdc86('0x26')][_0xdc86('0x16')](_0x4f33b5),_0x534393=_0x120594['plugins'][_0xdc86('0x16')](_0xdc86('0x7c'));_0x395b46['_tablePostFixingSubtypes']['push'](_0xdc86('0x7'),_0xdc86('0x95')),_0x120594[_0xdc86('0x49')][_0xdc86('0x53')]['register']('tableCellSuggestion',{'allowIn':_0xdc86('0x3d'),'allowContentOf':_0xdc86('0x3d'),'isLimit':!0x0}),_0x120594[_0xdc86('0x21')][_0xdc86('0x3a')]({'model':'tableCellSuggestion','view':'suggestion-td'});let _0x5f3e5f=null;_0x120594['model']['on']('insertContent',(_0x12ec12,_0x3b6005)=>{const [_0xfce518,_0x27cdc9]=_0x3b6005,_0xdbf4e6=_0x3b6005[_0x3b6005[_0xdc86('0x4f')]-0x1];_0xdbf4e6&&_0xdbf4e6[_0xdc86('0xd')]||_0x461bb1['_isForcedDefaultExecutionBlock']||this['editor'][_0xdc86('0x20')][_0xdc86('0x16')]('trackChanges')[_0xdc86('0x83')]&&function(_0x243c40,_0x30881a,_0x45dd1c,_0x5d675b,_0x4a8373){if(_0x30881a&&!_0x30881a['is'](_0xdc86('0x96')))return!0x1;const _0x203e2c=_0x4a8373[_0xdc86('0x48')](_0x243c40,_0x45dd1c);if(!_0x203e2c||!fe(_0x203e2c,void 0x0,_0x5d675b))return!0x1;const _0x4e7077=_0x5d675b[_0xdc86('0x60')](_0x45dd1c[_0xdc86('0x61')]['selection']);if(!_0x4e7077[_0xdc86('0x4f')])return!0x1;const _0x3dc904=_0x4e7077[0x0][_0xdc86('0x67')](_0xdc86('0x79')),_0x46c89a=_0x5d675b['getRowIndexes'](_0x4e7077),_0x4552f2=_0x5d675b['getColumnIndexes'](_0x4e7077),_0x415cd5={'startRow':_0x46c89a[_0xdc86('0x71')],'endRow':_0x46c89a[_0xdc86('0x4c')],'startColumn':_0x4552f2[_0xdc86('0x71')],'endColumn':_0x4552f2[_0xdc86('0x4c')]};return 0x1==_0x4e7077[_0xdc86('0x4f')]&&(_0x415cd5[_0xdc86('0x91')]+=_0x5d675b[_0xdc86('0x85')](_0x203e2c)-0x1,_0x415cd5['endColumn']+=_0x5d675b[_0xdc86('0x27')](_0x203e2c)-0x1),fe(_0x3dc904,_0x415cd5,_0x5d675b);}(_0xfce518,_0x27cdc9,_0x120594[_0xdc86('0x49')],_0x45d226,_0x534393)&&(_0x12ec12[_0xdc86('0x36')](),_0x5f3e5f={'cells':[],'insertionRanges':[],'deletionRanges':[],'rowInsertionRanges':[],'rowInsertionIndexes':[],'columnInsertionRanges':[],'columnInsertionIndexes':[]},_0x120594[_0xdc86('0x49')][_0xdc86('0x9a')](()=>{_0x120594[_0xdc86('0x49')][_0xdc86('0x19')](_0x3b6005[0x0],_0x3b6005[0x1],_0x3b6005[0x2],{'forceDefaultExecution':!0x0});const _0x584276=_0x3ea129(),{rowInsertionRanges:_0x1ce4c3,columnInsertionRanges:_0x5acc66,insertionRanges:_0x2da280,deletionRanges:_0x26ec3d,cells:_0x5285e3}=_0x5f3e5f;_0x1ce4c3[_0xdc86('0x4f')]&&_0x461bb1[_0xdc86('0x72')](_0x1ce4c3,_0xdc86('0x7'),{'tablePasteChainId':_0x584276}),_0x5acc66[_0xdc86('0x4f')]&&_0x461bb1[_0xdc86('0x72')](_0x5acc66,_0xdc86('0x95'),{'tablePasteChainId':_0x584276}),_0x2da280['length']&&_0x461bb1[_0xdc86('0x72')](_0x2da280,'tablePaste',{'tablePasteChainId':_0x584276,'skipNestingCheck':!0x0}),_0x26ec3d[_0xdc86('0x4f')]&&_0x461bb1[_0xdc86('0x0')](_0x26ec3d,_0xdc86('0x23'),{'tablePasteChainId':_0x584276,'skipNestingCheck':!0x0});const _0x90d0a2=_0x461bb1[_0xdc86('0x45')](_0x5285e3[_0xdc86('0x4d')](({element:_0x826920})=>_0x826920),{'formatGroupId':_0x3ea129()},[],_0xdc86('0x55'),{'tablePasteChainId':_0x584276});if(_0x90d0a2){const _0x24f81b=_0x90d0a2['getMarkers'](),_0x547b83=[];for(const {element:_0x4f7c4e,attributes:_0x2e704c}of _0x5285e3){if(!_0x2e704c)continue;const _0x8d0076=_0x120594[_0xdc86('0x49')]['createRangeOn'](_0x4f7c4e),_0x5b2a5f=_0x24f81b[_0xdc86('0x1f')](_0x333a26=>_0x333a26[_0xdc86('0x12')]()[_0xdc86('0x84')](_0x8d0076));_0x5b2a5f&&_0x547b83[_0xdc86('0x2e')]([_0x5b2a5f['name'],_0x2e704c]);}_0x547b83['length']&&_0x90d0a2['setAttribute'](_0xdc86('0x3b'),Object[_0xdc86('0x43')](_0x547b83));}_0x5f3e5f=null;}));},{'priority':_0x1114ae[_0xdc86('0x17')]+0xa}),_0x120594['plugins']['get'](_0xdc86('0x7c'))['on'](_0xdc86('0x2'),(_0x12e874,_0x105e85)=>{const [_0x5c994b,_0x4e383b,,_0x56d905]=_0x105e85;if(!_0x5f3e5f)return;_0x12e874[_0xdc86('0x36')]();const _0xff64fa=_0x5c994b[_0xdc86('0x82')],_0x212fb9=_0x4e383b,_0x2d8c3c=ce(_0xff64fa),_0x4562b7=ce(_0x212fb9);_0x12e874[_0xdc86('0x6')]=_0xff64fa;let _0x4496e4=null,_0x193688=null;if(_0x4562b7||_0x2d8c3c){if(_0x2d8c3c&&!_0x4562b7){_0x56d905[_0xdc86('0x7b')](_0xff64fa[_0xdc86('0x65')](0x0));for(const _0x2f1e36 of Array[_0xdc86('0x8a')](_0x212fb9[_0xdc86('0x74')]()))_0x56d905[_0xdc86('0x40')](_0x2f1e36,_0xff64fa,_0xdc86('0x3e'));const _0x31ed4c=_0x5f3e5f['rowInsertionIndexes'][_0xdc86('0x62')](_0x5c994b['row']),_0x2cfa1a=_0x5f3e5f['columnInsertionIndexes']['includes'](_0x5c994b[_0xdc86('0x9b')]);_0x31ed4c||_0x2cfa1a||(_0x4496e4=_0x56d905[_0xdc86('0x2c')](_0xff64fa));}else _0x4562b7&&!_0x2d8c3c&&(_0x193688=_0x56d905[_0xdc86('0x2c')](_0xff64fa));}else{const _0x1d6fc7=_0x56d905[_0xdc86('0x1')](_0xdc86('0x99')),_0x2d9132=_0x56d905[_0xdc86('0x1')](_0xdc86('0x99'));_0x56d905[_0xdc86('0x8')](_0x56d905['createRangeIn'](_0xff64fa),_0x2d9132),_0x56d905[_0xdc86('0x40')](_0x1d6fc7,_0xff64fa,0x0);for(const _0x2fdd95 of Array[_0xdc86('0x8a')](_0x212fb9['getChildren']()))_0x56d905[_0xdc86('0x40')](_0x2fdd95,_0x1d6fc7,'end');_0x4496e4=_0x56d905['createRangeOn'](_0x1d6fc7),_0x193688=_0x56d905[_0xdc86('0x14')](_0x2d9132);}const _0x37096c=Array[_0xdc86('0x8a')](_0x212fb9['getAttributes']())['filter'](([_0x372d64])=>le['includes'](_0x372d64));_0x5f3e5f['cells'][_0xdc86('0x2e')]({'element':_0xff64fa,'attributes':_0x37096c[_0xdc86('0x4f')]?Object[_0xdc86('0x43')](_0x37096c):null}),_0x4496e4&&_0x5f3e5f[_0xdc86('0x98')][_0xdc86('0x2e')](_0x4496e4),_0x193688&&_0x5f3e5f[_0xdc86('0xf')][_0xdc86('0x2e')](_0x193688);},{'priority':_0xdc86('0x17')}),_0x45d226['on']('insertColumns',(_0x40ddaa,_0x5a480a)=>{const [_0x58969b,_0x20a158={}]=_0x5a480a;if(!_0x5f3e5f)return;const _0x46630f=_0x20a158['at']||0x0,_0x110f31=_0x20a158['columns']||0x1;_0x5f3e5f[_0xdc86('0x69')]=new Array(_0x110f31)[_0xdc86('0x7f')](_0x46630f)[_0xdc86('0x4d')]((_0x3dc17f,_0x35c650)=>_0x3dc17f+_0x35c650);for(const {cell:_0x352197}of _0x45d226['createTableWalker'](_0x58969b,{'startColumn':_0x46630f,'endColumn':_0x46630f+_0x110f31-0x1}))_0x5f3e5f['columnInsertionRanges'][_0xdc86('0x2e')](_0x120594['model'][_0xdc86('0x14')](_0x352197));},{'priority':_0xdc86('0x39')}),_0x45d226['on'](_0xdc86('0x50'),(_0xdb8465,_0x2a6804)=>{const [_0x532468,_0x4bd168={}]=_0x2a6804;if(!_0x5f3e5f)return;const _0x3549f7=_0x4bd168['at']||0x0,_0x54285a=_0x4bd168[_0xdc86('0x5b')]||0x1;_0x5f3e5f[_0xdc86('0x3')]=new Array(_0x54285a)[_0xdc86('0x7f')](_0x3549f7)[_0xdc86('0x4d')]((_0x3b1a6c,_0x27102f)=>_0x3b1a6c+_0x27102f);for(const {cell:_0x607adb}of _0x45d226['createTableWalker'](_0x532468,{'startRow':_0x3549f7,'endRow':_0x3549f7+_0x54285a-0x1}))_0x5f3e5f[_0xdc86('0x44')][_0xdc86('0x2e')](_0x120594['model'][_0xdc86('0x14')](_0x607adb));},{'priority':_0xdc86('0x39')}),_0x461bb1[_0xdc86('0x29')][_0xdc86('0x9')](_0x1be9dc=>{if(_0x1be9dc['subType']&&_0x1be9dc[_0xdc86('0x4b')][_0xdc86('0x5a')](_0xdc86('0x23')))return _0x1be9dc[_0xdc86('0x90')]?{}:{'type':'insertion','content':_0x4cbe12(_0x120594[_0xdc86('0x87')],'*Replace\x20table\x20cells*')};});const _0x2ae768=()=>{};for(const _0x581f4f of[_0xdc86('0x23'),_0xdc86('0x95'),_0xdc86('0x7'),_0xdc86('0x55')])_0x461bb1[_0xdc86('0x86')][_0xdc86('0x58')]('insertion',_0x581f4f,_0xdc86('0xc'),_0x2ae768),_0x461bb1[_0xdc86('0x86')][_0xdc86('0x58')]('deletion',_0x581f4f,_0xdc86('0xc'),_0x2ae768);_0x461bb1[_0xdc86('0x86')][_0xdc86('0x58')](_0xdc86('0x9e'),_0xdc86('0x55'),_0xdc86('0xb'),_0x2ae768),_0x461bb1['_suggestionFactory'][_0xdc86('0x58')](_0xdc86('0x9e'),_0xdc86('0x55'),_0xdc86('0x5d'),(_0xe18a61,_0x41824c,_0x257c66)=>{const _0x222973=_0xe18a61[_0xdc86('0x4d')](_0x1434d2=>_0x1434d2[_0xdc86('0x6d')]())['filter'](_0x543e46=>_0x543e46),_0x278c56=new Map(_0x222973[_0xdc86('0x4d')](_0x5c9df2=>[_0x5c9df2,null]));if(_0x5f3e5f)for(const {element:_0x34a214,attributes:_0x207458}of _0x5f3e5f[_0xdc86('0x8f')])_0x207458&&_0x278c56[_0xdc86('0x93')](_0x34a214,_0x207458);else{if(_0x257c66&&_0x257c66[_0xdc86('0x3b')])for(const [_0x17ad1e,_0x390a14]of Object['entries'](_0x257c66[_0xdc86('0x3b')])){const _0x352d47=_0x120594[_0xdc86('0x49')][_0xdc86('0x5c')][_0xdc86('0x16')](_0x17ad1e),_0x37af29=_0x352d47?_0x352d47[_0xdc86('0x12')]()['getContainedElement']():null;_0x37af29&&_0x278c56['set'](_0x37af29,_0x390a14);}}_0x120594[_0xdc86('0x49')][_0xdc86('0x9a')](_0x3021ac=>{for(const [_0x2502ee,_0x411660]of _0x278c56)_0x3021ac['setAttributes']({...ae,..._0x411660},_0x2502ee);});});const _0x7a89a2=(_0x507491,_0xb90f3b)=>{_0x461bb1[_0xdc86('0x86')][_0xdc86('0x58')](_0x507491,_0xdc86('0x23'),_0xb90f3b,(_0x23548a,_0x3951e8,_0x4ccdf0)=>{_0x120594['model'][_0xdc86('0x9a')](_0x33ae5a=>{const _0x51d0fd=[];for(const _0x4eb86f of _0x23548a){const _0x3028c7=_0x4eb86f[_0xdc86('0x1a')][_0xdc86('0x4')];_0x3028c7['is'](_0xdc86('0x52'),_0xdc86('0x99'))&&_0x51d0fd[_0xdc86('0x2e')](_0x3028c7);}_0x461bb1[_0xdc86('0x86')][_0xdc86('0x24')](_0x507491,null,_0xb90f3b)(_0x23548a,_0x3951e8,_0x4ccdf0);for(const _0x14dd5c of _0x51d0fd)_0xdc86('0x41')!=_0x14dd5c['root'][_0xdc86('0x63')]&&_0x33ae5a[_0xdc86('0x25')](_0x14dd5c);});});};_0x7a89a2(_0xdc86('0x5f'),_0xdc86('0x5d')),_0x7a89a2(_0xdc86('0x5f'),_0xdc86('0xb')),_0x7a89a2('deletion',_0xdc86('0x5d')),_0x7a89a2(_0xdc86('0x94'),_0xdc86('0xb')),_0x461bb1[_0xdc86('0x86')][_0xdc86('0x58')](_0xdc86('0x5f'),_0xdc86('0x7'),_0xdc86('0xb'),_0xa4a5fa=>{const _0x20a5c8=_0xa4a5fa[_0xdc86('0x4d')](_0x5157ec=>_0x5157ec[_0xdc86('0x6d')]()),_0x44c88c=_0x20a5c8[0x0][_0xdc86('0x67')](_0xdc86('0x79')),{minRow:_0x2b6e6c,maxRow:_0x3c3229}=_0x395b46[_0xdc86('0x6a')](_0x20a5c8);_0x45d226[_0xdc86('0x6b')](_0x44c88c,{'at':_0x2b6e6c,'rows':_0x3c3229-_0x2b6e6c+0x1});}),_0x461bb1['_suggestionFactory'][_0xdc86('0x58')](_0xdc86('0x5f'),_0xdc86('0x95'),'discard',_0x567ab3=>{const _0x55c9f7=_0x567ab3[_0xdc86('0x4d')](_0x2f68cd=>_0x2f68cd['getContainedElement']()),_0x4120f5=_0x55c9f7[0x0][_0xdc86('0x67')]('table'),{minColumn:_0x2aa298,maxColumn:_0x29e4ab}=_0x395b46[_0xdc86('0x6a')](_0x55c9f7);_0x45d226['removeColumns'](_0x4120f5,{'at':_0x2aa298,'columns':_0x29e4ab-_0x2aa298+0x1});});const _0x5aceac=(_0x2020c7,_0x31fc58)=>{if(!_0x31fc58[_0xdc86('0x4b')]||!_0x31fc58[_0xdc86('0x4b')]['startsWith']('tablePaste'))return;const _0x2c4ca6=_0x31fc58['attributes']['tablePasteChainId'],_0x359374=_0x461bb1['getSuggestions']()['filter'](_0x386a3c=>_0x386a3c[_0xdc86('0x1b')]&&_0x386a3c[_0xdc86('0x8b')]&&_0x386a3c[_0xdc86('0x8b')][_0xdc86('0x4e')]==_0x2c4ca6);_0x359374[_0xdc86('0x4f')]&&_0x31fc58[_0xdc86('0x75')]()[_0xdc86('0x4f')]!=_0x359374[_0xdc86('0x4f')]&&_0x359374['reduce']((_0x4db334,_0x2ef919)=>(_0x4db334[_0xdc86('0x68')]=_0x2ef919,_0x2ef919[_0xdc86('0x90')]=_0x4db334,_0x2ef919));};function _0x1fe4b6(_0x2edc04,_0x15839d=!0x0){const {id:_0x3bdf50}=_0x461bb1[_0xdc86('0x76')](_0x2edc04[_0xdc86('0x3c')]),_0xea2331=[_0xdc86('0x46'),'ck-suggestion-marker-insertion'],_0x591a32=_0x461bb1['activeMarkers'][_0xdc86('0x62')](_0x2edc04[_0xdc86('0x3c')]);return _0x591a32&&_0xea2331[_0xdc86('0x2e')](_0xdc86('0x33')),{'classes':_0xea2331,'attributes':{'data-suggestion':_0x3bdf50},'priority':_0x591a32&&_0x15839d?0xbc2:0xbb8};}_0x461bb1['on'](_0xdc86('0x3f'),_0x5aceac,{'priority':'high'}),_0x461bb1['on'](_0xdc86('0x7d'),_0x5aceac,{'priority':_0xdc86('0x17')}),_0x120594['model'][_0xdc86('0x61')][_0xdc86('0x7e')](()=>{let _0x23455f=!0x1;const _0x895224=Array[_0xdc86('0x8a')](_0x120594['model'][_0xdc86('0x61')][_0xdc86('0x4a')][_0xdc86('0x32')]());for(const {name:_0xc30419,data:_0x265d4f}of _0x895224){const {group:_0x291e09,type:_0xbf7c91,id:_0x36925d}=_0x461bb1['_splitMarkerName'](_0xc30419);if(_0xdc86('0x2d')!=_0x291e09||_0xdc86('0x94')!=_0xbf7c91||_0x265d4f['oldRange'])continue;if(!_0x461bb1[_0xdc86('0x34')](_0x36925d))continue;const _0x8860c2=_0x461bb1[_0xdc86('0x88')](_0x36925d)[_0xdc86('0x30')](),_0x3ee976=_0x120594[_0xdc86('0x26')][_0xdc86('0x16')](_0xdc86('0x78'))['me'];for(const _0x5c35e6 of _0x461bb1[_0xdc86('0x2f')]()){if(!_0x5c35e6[_0xdc86('0x1b')]||_0x5c35e6['author']!=_0x3ee976)continue;if('formatBlock'!=_0x5c35e6[_0xdc86('0x8d')]||'tablePasteCell'!=_0x5c35e6[_0xdc86('0x4b')])continue;if(_0x5c35e6[_0xdc86('0x30')]()[_0xdc86('0x1e')](_0xbbcbe8=>_0x8860c2[_0xdc86('0x57')](_0x2f1274=>_0x2f1274[_0xdc86('0x10')](_0xbbcbe8,!0x0))))for(const _0x2a3764 of _0x5c35e6[_0xdc86('0x75')]())_0x2a3764[_0xdc86('0x1b')]&&(_0x2a3764['discard'](),_0x23455f=!0x0);}}return _0x23455f;}),_0x120594[_0xdc86('0x49')]['document'][_0xdc86('0x7e')](_0x5741d6=>{const _0x5ccf75=_0x120594[_0xdc86('0x20')][_0xdc86('0x16')](_0xdc86('0x9c'));if(!_0x5ccf75||!_0x5ccf75[_0xdc86('0x5')][_0xdc86('0x2b')](_0x5741d6['batch']))return!0x1;let _0x3f8403=!0x1;const _0x2b1d81=_0x120594[_0xdc86('0x26')][_0xdc86('0x16')]('Users')['me'],_0x424263=_0x120594['model']['document'][_0xdc86('0x4a')][_0xdc86('0x9d')](),_0x19c81f=Array[_0xdc86('0x8a')](_0x120594['model']['document']['differ'][_0xdc86('0x32')]())[_0xdc86('0x38')](({name:_0x1ae84b,data:_0x36d5ba})=>{const {group:_0x599e2d,subType:_0x244640,authorId:_0x2129d7}=_0x461bb1[_0xdc86('0x76')](_0x1ae84b);return'suggestion'==_0x599e2d&&'tablePaste'==_0x244640&&_0x2129d7==_0x2b1d81['id']&&!_0x36d5ba[_0xdc86('0x8c')];});for(const _0x5101a5 of _0x424263){if(_0xdc86('0x40')!=_0x5101a5[_0xdc86('0x8d')]||_0xdc86('0x99')!=_0x5101a5[_0xdc86('0x31')]||0x1!=_0x5101a5['length'])continue;const _0x3d606e=_0x5741d6[_0xdc86('0x97')](_0x5101a5[_0xdc86('0x7a')],_0x5101a5[_0xdc86('0x7a')][_0xdc86('0x6f')](0x1));if(!_0x19c81f['find'](({data:_0x4b8999})=>_0x4b8999[_0xdc86('0x6e')][_0xdc86('0x84')](_0x3d606e)))for(const {name:_0x2d83f3,data:_0x8871a1}of _0x19c81f)if(_0x3d606e[_0xdc86('0x10')](_0x8871a1[_0xdc86('0x6e')])){_0x5741d6[_0xdc86('0xa')](_0x2d83f3,{'range':_0x3d606e}),_0x3f8403=!0x0;break;}}return _0x3f8403;}),_0x120594[_0xdc86('0x49')][_0xdc86('0x61')][_0xdc86('0x7e')](_0x530762=>{let _0x5a43b0=!0x1;const _0x4c895b=_0x120594[_0xdc86('0x26')][_0xdc86('0x16')](_0xdc86('0x78'))['me'],_0x2034f6=_0x461bb1[_0xdc86('0x2f')]()[_0xdc86('0x38')](_0x132e32=>_0x132e32[_0xdc86('0x1b')]&&_0x132e32['author']==_0x4c895b),_0x2c3753=new Set(),_0x2b829a=new Set();for(const _0x17eaa8 of _0x2034f6)if(_0xdc86('0x23')==_0x17eaa8[_0xdc86('0x4b')])for(const _0x2e6db1 of _0x17eaa8[_0xdc86('0x8e')]()){const _0x45c11d=_0x2e6db1[_0xdc86('0x12')]()[_0xdc86('0x6d')]();if(_0x45c11d){if(_0x45c11d['is']('element','tableCellSuggestion')&&ce(_0x45c11d)){_0x17eaa8[_0xdc86('0x6c')](_0x2e6db1[_0xdc86('0x31')]),_0x2c3753[_0xdc86('0x89')](_0x45c11d),_0x5a43b0=!0x0;const _0x50226e=_0x45c11d[_0xdc86('0x92')],_0x447ce4=_0x45c11d['previousSibling'],_0x27eeda=_0x50226e&&_0x50226e['is'](_0xdc86('0x52'),_0xdc86('0x99')),_0x186304=_0x447ce4&&_0x447ce4['is'](_0xdc86('0x52'),_0xdc86('0x99'));_0x27eeda&&!_0x2c3753['has'](_0x50226e)&&_0x2b829a[_0xdc86('0x89')](_0x50226e),_0x186304&&!_0x2c3753[_0xdc86('0x2b')](_0x447ce4)&&_0x2b829a[_0xdc86('0x89')](_0x447ce4);}else _0x45c11d['is'](_0xdc86('0x52'),'paragraph')&&_0x45c11d[_0xdc86('0x28')]&&(_0x17eaa8[_0xdc86('0x6c')](_0x2e6db1[_0xdc86('0x31')]),_0x5a43b0=!0x0);}}else{if('tablePasteCell'==_0x17eaa8['subType']){if(!_0x17eaa8[_0xdc86('0x8b')]||!_0x17eaa8[_0xdc86('0x8b')][_0xdc86('0x4e')])continue;const _0x5a579e=_0x17eaa8['attributes'][_0xdc86('0x3b')];if(_0x5a579e&&Object[_0xdc86('0xe')](_0x5a579e)[_0xdc86('0x4f')])continue;const _0x129e21=_0x17eaa8['attributes'][_0xdc86('0x4e')];let _0x490ed3=!0x0,_0x4bd5e5=!0x0;for(const _0x5fe8e4 of _0x2034f6)if(_0x5fe8e4['subType']&&_0x5fe8e4[_0xdc86('0x4b')][_0xdc86('0x5a')](_0xdc86('0x23'))){if(!_0x5fe8e4[_0xdc86('0x8b')][_0xdc86('0x4e')]){_0x4bd5e5=!0x1;break;}if(_0x5fe8e4['id']!=_0x17eaa8['id']&&_0x5fe8e4['attributes'][_0xdc86('0x4e')]==_0x129e21){_0x490ed3=!0x1;break;}}_0x4bd5e5&&_0x490ed3&&(_0x17eaa8[_0xdc86('0x64')](),_0x5a43b0=!0x0);}}for(const _0x5934f3 of _0x2c3753)_0x530762[_0xdc86('0x7b')](_0x5934f3);for(const _0x239fa7 of _0x2b829a)_0x530762[_0xdc86('0x25')](_0x239fa7);return _0x5a43b0;}),_0x120594['conversion']['for']('editingDowncast')[_0xdc86('0x37')]({'model':'suggestion:formatBlock:tablePasteCell','view':(_0x486485,_0x483ac5)=>_0x1fe4b6(_0x486485),'converterPriority':_0xdc86('0x17')}),_0x120594[_0xdc86('0x21')]['for'](_0xdc86('0x35'))[_0xdc86('0x37')]({'model':_0xdc86('0x18'),'view':(_0x4cc109,_0x52ab5c)=>_0x52ab5c[_0xdc86('0x73')]['showSuggestionHighlights']?_0x1fe4b6(_0x4cc109,!0x1):null,'converterPriority':_0xdc86('0x17')});const _0x5959b3=_0x120594[_0xdc86('0x11')][_0xdc86('0x1d')];this[_0xdc86('0x2a')](_0x5959b3[_0xdc86('0x61')],_0xdc86('0x80'),(_0x49d938,_0x4a27bd)=>{const _0xfe7002=[];for(const _0x349c1b of _0x5959b3[_0xdc86('0x2c')](_0x4a27bd[_0xdc86('0x59')])['getItems']())_0x349c1b['is']('element','suggestion-td')&&_0xfe7002[_0xdc86('0x2e')](_0x349c1b);_0x5959b3['change'](_0x1d57ed=>{for(const _0x207ee3 of _0xfe7002)_0x1d57ed[_0xdc86('0x1c')](_0x1d57ed['createRangeIn'](_0x207ee3),_0x1d57ed['createPositionBefore'](_0x207ee3)),_0x1d57ed[_0xdc86('0x7b')](_0x207ee3);});});}}function ce(_0xaddb9d){if(_0xaddb9d['isEmpty'])return!0x0;const _0xfae090=_0xaddb9d[_0xdc86('0x65')](0x0);return _0xfae090['is'](_0xdc86('0x52'),_0xdc86('0x22'))&&_0xfae090[_0xdc86('0x28')];}function fe(_0x539c8a,_0x8b663d={},_0x16c463){for(const {isAnchor:_0x4b5cb4,cellHeight:_0x1c4beb,cellWidth:_0x2daefe}of _0x16c463[_0xdc86('0x81')](_0x539c8a,{'includeAllSlots':!0x0,..._0x8b663d}))if(!_0x4b5cb4||0x1!=_0x1c4beb||0x1!=_0x2daefe)return!0x1;return!0x0;}
23
+ const _0x4836=['view','markMultiRangeInsertion','join','table','insert','tablePasteColumn','markerToHighlight','element','oldRange','tablePasteChainId','tableCell','filter','redo','options','markMultiRangeBlockFormat','tableCellBorderColor','rowInsertionRanges','wrap','length','deletion','markers','schema','updateMarker','*Replace\x20table\x20cells*','createRangeIn','registerCustomCallback','markMultiRangeDeletion','get','nodeAfter','entries','markerAttributes','locale','isEqual','change','newRange','findAncestor','tableCellBorderStyle','map','removeColumns','markerName','selection','low','startsWith','editor','getColumnIndexes','paragraph','setAttribute','getRowIndexes','stop','conversion','listenTo','tableCellBorderWidth','move','attributes','getSuggestionCallback','getSuggestions','find','createTableWalker','accept','rowInsertionIndexes','tableCellVerticalAlignment','editing','ck-suggestion-marker-insertion','TrackChangesEditing','tableCellSuggestion','getChildren','tablePasteRow','getContainedElement','insertRows','plugins','isEmpty','fromEntries','author','tableCellBackgroundColor','columns','containsRange','hasSuggestion','insertContent','Users','high','_descriptionFactory','getShiftedBy','name','getRows','_splitMarkerName','column','getAttributes','$graveyard','insertion','columnInsertionRanges','tableCellHorizontalAlignment','getChanges','content','_createdBatches','add','createRangeOn','has','differ','type','formatBlock','showSuggestionHighlights','documentSelection','subType','getChild','createPositionBefore','ck-suggestion-marker','requires','suggestion:formatBlock:tablePasteCell','nextSibling','removeMarkers','batch','position','document','every','getSuggestion','tablePasteCell','_tablePostFixingSubtypes','getSelectionAffectedTableCells','reduce','set','endColumn','elementToElement','registerDescriptionCallback','createElement','registerPostFixer','columnInsertionIndexes','getRanges','_replaceTableSlotCell','fill','getTableIfOnlyTableInContent','TableClipboard','getMarkers','tableCellPadding','push','getColumns','tablePaste','removeMarker','keys','register','getAllAdjacentSuggestions','includes','_getCoordsForCells','unwrap','forceDefaultExecution','previous','for','end','suggestion-td','trackChanges','isInContent','_suggestionFactory','getRange','suggestion','first','remove','removeRows','discard','TableUtils','suggestionLoaded','deletionRanges','getChangedMarkers','model','from','last','commands'];(function(_0x10492b,_0x48366c){const _0x352ca7=function(_0x4db370){while(--_0x4db370){_0x10492b['push'](_0x10492b['shift']());}};_0x352ca7(++_0x48366c);}(_0x4836,0xa8));const _0x352c=function(_0x10492b,_0x48366c){_0x10492b=_0x10492b-0x0;let _0x352ca7=_0x4836[_0x10492b];return _0x352ca7;};import{getTranslation as _0x5e1dce}from'../utils/common-translations';import{Plugin as _0x5db8da}from'ckeditor5/src/core';import{uid as _0x3c6117,priorities as _0x220747}from'ckeditor5/src/utils';import _0x2060a9 from'./table';const le=[_0x352c('0x30'),_0x352c('0xc'),_0x352c('0x21'),_0x352c('0x57'),_0x352c('0x39'),_0x352c('0x46'),_0x352c('0x81')],ae=Object[_0x352c('0x44')](le[_0x352c('0x22')](_0x37127e=>[_0x37127e,null]));export default class kt extends _0x5db8da{static get[_0x352c('0x67')](){return[_0x2060a9];}['afterInit'](){const _0x18d001=this[_0x352c('0x28')];if(!_0x18d001[_0x352c('0x42')][_0x352c('0x5d')](_0x352c('0x7f')))return;const _0x30f891=_0x18d001[_0x352c('0x42')][_0x352c('0x18')](_0x352c('0x3c')),_0x5c60be=_0x18d001[_0x352c('0x42')][_0x352c('0x18')](_0x352c('0x9a')),_0x434e26=_0x18d001[_0x352c('0x42')]['get'](_0x2060a9),_0x3886f9=_0x18d001[_0x352c('0x42')][_0x352c('0x18')](_0x352c('0x7f'));_0x434e26[_0x352c('0x71')][_0x352c('0x82')](_0x352c('0x3f'),'tablePasteColumn'),_0x18d001['model'][_0x352c('0x12')][_0x352c('0x87')](_0x352c('0x3d'),{'allowIn':_0x352c('0x7'),'allowContentOf':_0x352c('0x7'),'isLimit':!0x0}),_0x18d001['conversion'][_0x352c('0x76')]({'model':'tableCellSuggestion','view':_0x352c('0x90')});let _0x558b2f=null;_0x18d001[_0x352c('0x9e')]['on'](_0x352c('0x4a'),(_0x14aa56,_0x3f1505)=>{const [_0x57c54c,_0x4ff70e]=_0x3f1505,_0x5395f6=_0x3f1505[_0x3f1505[_0x352c('0xf')]-0x1];_0x5395f6&&_0x5395f6[_0x352c('0x8c')]||_0x30f891['_isForcedDefaultExecutionBlock']||this['editor'][_0x352c('0xa1')][_0x352c('0x18')](_0x352c('0x91'))['value']&&function(_0x2fa9bf,_0x406ad5,_0x1c1c3e,_0x42cfd5,_0x2b08db){if(_0x406ad5&&!_0x406ad5['is'](_0x352c('0x62')))return!0x1;const _0x25c343=_0x2b08db[_0x352c('0x7e')](_0x2fa9bf,_0x1c1c3e);if(!_0x25c343||!fe(_0x25c343,void 0x0,_0x42cfd5))return!0x1;const _0x1e7473=_0x42cfd5[_0x352c('0x72')](_0x1c1c3e[_0x352c('0x6d')][_0x352c('0x25')]);if(!_0x1e7473[_0x352c('0xf')])return!0x1;const _0x1069ec=_0x1e7473[0x0][_0x352c('0x20')](_0x352c('0x0')),_0x5d5adf=_0x42cfd5[_0x352c('0x2c')](_0x1e7473),_0xed75d7=_0x42cfd5[_0x352c('0x29')](_0x1e7473),_0x2ed9b0={'startRow':_0x5d5adf[_0x352c('0x96')],'endRow':_0x5d5adf['last'],'startColumn':_0xed75d7[_0x352c('0x96')],'endColumn':_0xed75d7[_0x352c('0xa0')]};return 0x1==_0x1e7473['length']&&(_0x2ed9b0['endRow']+=_0x42cfd5[_0x352c('0x50')](_0x25c343)-0x1,_0x2ed9b0[_0x352c('0x75')]+=_0x42cfd5[_0x352c('0x83')](_0x25c343)-0x1),fe(_0x1069ec,_0x2ed9b0,_0x42cfd5);}(_0x57c54c,_0x4ff70e,_0x18d001[_0x352c('0x9e')],_0x5c60be,_0x3886f9)&&(_0x14aa56['stop'](),_0x558b2f={'cells':[],'insertionRanges':[],'deletionRanges':[],'rowInsertionRanges':[],'rowInsertionIndexes':[],'columnInsertionRanges':[],'columnInsertionIndexes':[]},_0x18d001[_0x352c('0x9e')][_0x352c('0x1e')](()=>{_0x18d001['model'][_0x352c('0x4a')](_0x3f1505[0x0],_0x3f1505[0x1],_0x3f1505[0x2],{'forceDefaultExecution':!0x0});const _0x344a3c=_0x3c6117(),{rowInsertionRanges:_0x3f5d8c,columnInsertionRanges:_0x579d1a,insertionRanges:_0x5efe86,deletionRanges:_0x309887,cells:_0x3b5c95}=_0x558b2f;_0x3f5d8c['length']&&_0x30f891[_0x352c('0xa3')](_0x3f5d8c,_0x352c('0x3f'),{'tablePasteChainId':_0x344a3c}),_0x579d1a[_0x352c('0xf')]&&_0x30f891['markMultiRangeInsertion'](_0x579d1a,_0x352c('0x2'),{'tablePasteChainId':_0x344a3c}),_0x5efe86[_0x352c('0xf')]&&_0x30f891[_0x352c('0xa3')](_0x5efe86,'tablePaste',{'tablePasteChainId':_0x344a3c,'skipNestingCheck':!0x0}),_0x309887[_0x352c('0xf')]&&_0x30f891[_0x352c('0x17')](_0x309887,'tablePaste',{'tablePasteChainId':_0x344a3c,'skipNestingCheck':!0x0});const _0x2dad16=_0x30f891[_0x352c('0xb')](_0x3b5c95['map'](({element:_0x4f0fc5})=>_0x4f0fc5),{'formatGroupId':_0x3c6117()},[],_0x352c('0x70'),{'tablePasteChainId':_0x344a3c});if(_0x2dad16){const _0x22620a=_0x2dad16[_0x352c('0x80')](),_0x5d6ac1=[];for(const {element:_0x1356df,attributes:_0x41277c}of _0x3b5c95){if(!_0x41277c)continue;const _0xe3adc5=_0x18d001[_0x352c('0x9e')][_0x352c('0x5c')](_0x1356df),_0x5ef5e1=_0x22620a[_0x352c('0x35')](_0x52dec4=>_0x52dec4[_0x352c('0x94')]()[_0x352c('0x1d')](_0xe3adc5));_0x5ef5e1&&_0x5d6ac1[_0x352c('0x82')]([_0x5ef5e1[_0x352c('0x4f')],_0x41277c]);}_0x5d6ac1[_0x352c('0xf')]&&_0x2dad16[_0x352c('0x2b')](_0x352c('0x1b'),Object['fromEntries'](_0x5d6ac1));}_0x558b2f=null;}));},{'priority':_0x220747[_0x352c('0x4c')]+0xa}),_0x18d001[_0x352c('0x42')]['get'](_0x352c('0x7f'))['on'](_0x352c('0x7c'),(_0x2e3790,_0x4241fe)=>{const [_0x39cada,_0x5ba930,,_0x2bd8f1]=_0x4241fe;if(!_0x558b2f)return;_0x2e3790[_0x352c('0x2d')]();const _0x48be69=_0x39cada['cell'],_0x4c5d06=_0x5ba930,_0x2acb6c=ce(_0x48be69),_0x14a082=ce(_0x4c5d06);_0x2e3790['return']=_0x48be69;let _0x5ee595=null,_0xc96bd6=null;if(_0x14a082||_0x2acb6c){if(_0x2acb6c&&!_0x14a082){_0x2bd8f1[_0x352c('0x97')](_0x48be69[_0x352c('0x64')](0x0));for(const _0x515e6d of Array['from'](_0x4c5d06[_0x352c('0x3e')]()))_0x2bd8f1[_0x352c('0x1')](_0x515e6d,_0x48be69,_0x352c('0x8f'));const _0x3a6ac6=_0x558b2f[_0x352c('0x38')][_0x352c('0x89')](_0x39cada['row']),_0x39de7a=_0x558b2f[_0x352c('0x7a')][_0x352c('0x89')](_0x39cada[_0x352c('0x52')]);_0x3a6ac6||_0x39de7a||(_0x5ee595=_0x2bd8f1[_0x352c('0x15')](_0x48be69));}else _0x14a082&&!_0x2acb6c&&(_0xc96bd6=_0x2bd8f1[_0x352c('0x15')](_0x48be69));}else{const _0x3d2d36=_0x2bd8f1['createElement'](_0x352c('0x3d')),_0x5b04b5=_0x2bd8f1[_0x352c('0x78')](_0x352c('0x3d'));_0x2bd8f1[_0x352c('0xe')](_0x2bd8f1['createRangeIn'](_0x48be69),_0x5b04b5),_0x2bd8f1['insert'](_0x3d2d36,_0x48be69,0x0);for(const _0x300906 of Array['from'](_0x4c5d06[_0x352c('0x3e')]()))_0x2bd8f1[_0x352c('0x1')](_0x300906,_0x3d2d36,'end');_0x5ee595=_0x2bd8f1[_0x352c('0x5c')](_0x3d2d36),_0xc96bd6=_0x2bd8f1[_0x352c('0x5c')](_0x5b04b5);}const _0x233462=Array['from'](_0x4c5d06[_0x352c('0x53')]())[_0x352c('0x8')](([_0x35c303])=>le['includes'](_0x35c303));_0x558b2f['cells'][_0x352c('0x82')]({'element':_0x48be69,'attributes':_0x233462['length']?Object[_0x352c('0x44')](_0x233462):null}),_0x5ee595&&_0x558b2f['insertionRanges']['push'](_0x5ee595),_0xc96bd6&&_0x558b2f[_0x352c('0x9c')][_0x352c('0x82')](_0xc96bd6);},{'priority':_0x352c('0x4c')}),_0x5c60be['on']('insertColumns',(_0x4f718f,_0x284a62)=>{const [_0x26c4ec,_0x274f6d={}]=_0x284a62;if(!_0x558b2f)return;const _0x17962d=_0x274f6d['at']||0x0,_0x3f4130=_0x274f6d[_0x352c('0x47')]||0x1;_0x558b2f['columnInsertionIndexes']=new Array(_0x3f4130)[_0x352c('0x7d')](_0x17962d)[_0x352c('0x22')]((_0x2829d2,_0x5c7f94)=>_0x2829d2+_0x5c7f94);for(const {cell:_0x134b14}of _0x5c60be[_0x352c('0x36')](_0x26c4ec,{'startColumn':_0x17962d,'endColumn':_0x17962d+_0x3f4130-0x1}))_0x558b2f[_0x352c('0x56')]['push'](_0x18d001[_0x352c('0x9e')][_0x352c('0x5c')](_0x134b14));},{'priority':_0x352c('0x26')}),_0x5c60be['on'](_0x352c('0x41'),(_0x28d51c,_0x18a4cc)=>{const [_0x3684d1,_0x1a8996={}]=_0x18a4cc;if(!_0x558b2f)return;const _0x5de894=_0x1a8996['at']||0x0,_0x408c5d=_0x1a8996['rows']||0x1;_0x558b2f[_0x352c('0x38')]=new Array(_0x408c5d)[_0x352c('0x7d')](_0x5de894)[_0x352c('0x22')]((_0x369598,_0x115044)=>_0x369598+_0x115044);for(const {cell:_0x260569}of _0x5c60be[_0x352c('0x36')](_0x3684d1,{'startRow':_0x5de894,'endRow':_0x5de894+_0x408c5d-0x1}))_0x558b2f[_0x352c('0xd')][_0x352c('0x82')](_0x18d001['model'][_0x352c('0x5c')](_0x260569));},{'priority':'low'}),_0x30f891[_0x352c('0x4d')][_0x352c('0x77')](_0x512807=>{if(_0x512807[_0x352c('0x63')]&&_0x512807[_0x352c('0x63')][_0x352c('0x27')](_0x352c('0x84')))return _0x512807[_0x352c('0x8d')]?{}:{'type':'insertion','content':_0x5e1dce(_0x18d001[_0x352c('0x1c')],_0x352c('0x14'))};});const _0x49681d=()=>{};for(const _0xf08a5c of[_0x352c('0x84'),_0x352c('0x2'),_0x352c('0x3f'),_0x352c('0x70')])_0x30f891['_suggestionFactory'][_0x352c('0x16')](_0x352c('0x55'),_0xf08a5c,_0x352c('0xa4'),_0x49681d),_0x30f891[_0x352c('0x93')][_0x352c('0x16')]('deletion',_0xf08a5c,_0x352c('0xa4'),_0x49681d);_0x30f891[_0x352c('0x93')][_0x352c('0x16')]('formatBlock',_0x352c('0x70'),_0x352c('0x99'),_0x49681d),_0x30f891[_0x352c('0x93')][_0x352c('0x16')](_0x352c('0x60'),_0x352c('0x70'),_0x352c('0x37'),(_0x3b8877,_0x5c3573,_0x34bb61)=>{const _0x583c95=_0x3b8877['map'](_0x4d83d1=>_0x4d83d1[_0x352c('0x40')]())[_0x352c('0x8')](_0x3c7724=>_0x3c7724),_0x411e2c=new Map(_0x583c95[_0x352c('0x22')](_0x5bbac8=>[_0x5bbac8,null]));if(_0x558b2f)for(const {element:_0x357357,attributes:_0x50e95c}of _0x558b2f['cells'])_0x50e95c&&_0x411e2c[_0x352c('0x74')](_0x357357,_0x50e95c);else{if(_0x34bb61&&_0x34bb61['markerAttributes'])for(const [_0x59f658,_0x3242fc]of Object[_0x352c('0x1a')](_0x34bb61['markerAttributes'])){const _0x3cea10=_0x18d001['model'][_0x352c('0x11')][_0x352c('0x18')](_0x59f658),_0x1a1ccb=_0x3cea10?_0x3cea10[_0x352c('0x94')]()[_0x352c('0x40')]():null;_0x1a1ccb&&_0x411e2c['set'](_0x1a1ccb,_0x3242fc);}}_0x18d001[_0x352c('0x9e')]['change'](_0xdf857c=>{for(const [_0x34c4b1,_0x1dadfe]of _0x411e2c)_0xdf857c['setAttributes']({...ae,..._0x1dadfe},_0x34c4b1);});});const _0x29deb0=(_0x1c9845,_0x1f0e56)=>{_0x30f891['_suggestionFactory']['registerCustomCallback'](_0x1c9845,_0x352c('0x84'),_0x1f0e56,(_0x461c4e,_0x5b7d54,_0x10a72e)=>{_0x18d001['model'][_0x352c('0x1e')](_0x286f8a=>{const _0x414fb7=[];for(const _0x407383 of _0x461c4e){const _0x312465=_0x407383['start'][_0x352c('0x19')];_0x312465['is'](_0x352c('0x4'),_0x352c('0x3d'))&&_0x414fb7['push'](_0x312465);}_0x30f891['_suggestionFactory'][_0x352c('0x33')](_0x1c9845,null,_0x1f0e56)(_0x461c4e,_0x5b7d54,_0x10a72e);for(const _0x46924d of _0x414fb7)_0x352c('0x54')!=_0x46924d['root']['rootName']&&_0x286f8a[_0x352c('0x8b')](_0x46924d);});});};_0x29deb0(_0x352c('0x55'),_0x352c('0x37')),_0x29deb0('insertion','discard'),_0x29deb0(_0x352c('0x10'),_0x352c('0x37')),_0x29deb0(_0x352c('0x10'),'discard'),_0x30f891[_0x352c('0x93')][_0x352c('0x16')]('insertion',_0x352c('0x3f'),_0x352c('0x99'),_0x1a91b8=>{const _0x290a5d=_0x1a91b8[_0x352c('0x22')](_0x3892d6=>_0x3892d6[_0x352c('0x40')]()),_0x56a46c=_0x290a5d[0x0]['findAncestor']('table'),{minRow:_0x4ea6fe,maxRow:_0x46c496}=_0x434e26[_0x352c('0x8a')](_0x290a5d);_0x5c60be[_0x352c('0x98')](_0x56a46c,{'at':_0x4ea6fe,'rows':_0x46c496-_0x4ea6fe+0x1});}),_0x30f891[_0x352c('0x93')][_0x352c('0x16')](_0x352c('0x55'),_0x352c('0x2'),_0x352c('0x99'),_0x3ce4a4=>{const _0x499e6f=_0x3ce4a4[_0x352c('0x22')](_0x3fb879=>_0x3fb879[_0x352c('0x40')]()),_0x40ec56=_0x499e6f[0x0][_0x352c('0x20')](_0x352c('0x0')),{minColumn:_0x22d4ce,maxColumn:_0x20e10e}=_0x434e26['_getCoordsForCells'](_0x499e6f);_0x5c60be[_0x352c('0x23')](_0x40ec56,{'at':_0x22d4ce,'columns':_0x20e10e-_0x22d4ce+0x1});});const _0x3b08d3=(_0x506569,_0x383b71)=>{if(!_0x383b71[_0x352c('0x63')]||!_0x383b71['subType'][_0x352c('0x27')](_0x352c('0x84')))return;const _0x2e61e6=_0x383b71[_0x352c('0x32')][_0x352c('0x6')],_0x5b94b6=_0x30f891[_0x352c('0x34')]()[_0x352c('0x8')](_0x3dfa80=>_0x3dfa80[_0x352c('0x92')]&&_0x3dfa80[_0x352c('0x32')]&&_0x3dfa80[_0x352c('0x32')][_0x352c('0x6')]==_0x2e61e6);_0x5b94b6['length']&&_0x383b71[_0x352c('0x88')]()[_0x352c('0xf')]!=_0x5b94b6[_0x352c('0xf')]&&_0x5b94b6[_0x352c('0x73')]((_0x16b814,_0x294b53)=>(_0x16b814['next']=_0x294b53,_0x294b53[_0x352c('0x8d')]=_0x16b814,_0x294b53));};function _0x154ea7(_0x1d20e9,_0x525119=!0x0){const {id:_0x2bc79e}=_0x30f891['_splitMarkerName'](_0x1d20e9[_0x352c('0x24')]),_0x49237a=[_0x352c('0x66'),_0x352c('0x3b')],_0x468802=_0x30f891['activeMarkers'][_0x352c('0x89')](_0x1d20e9['markerName']);return _0x468802&&_0x49237a[_0x352c('0x82')]('ck-suggestion-marker--active'),{'classes':_0x49237a,'attributes':{'data-suggestion':_0x2bc79e},'priority':_0x468802&&_0x525119?0xbc2:0xbb8};}_0x30f891['on'](_0x352c('0x9b'),_0x3b08d3,{'priority':_0x352c('0x4c')}),_0x30f891['on']('suggestionUnloaded',_0x3b08d3,{'priority':_0x352c('0x4c')}),_0x18d001[_0x352c('0x9e')][_0x352c('0x6d')][_0x352c('0x79')](()=>{let _0x2e0323=!0x1;const _0x1eac6d=Array[_0x352c('0x9f')](_0x18d001[_0x352c('0x9e')]['document'][_0x352c('0x5e')][_0x352c('0x9d')]());for(const {name:_0x2cbd35,data:_0x233387}of _0x1eac6d){const {group:_0x189cc3,type:_0x52d516,id:_0x4e5e40}=_0x30f891['_splitMarkerName'](_0x2cbd35);if(_0x352c('0x95')!=_0x189cc3||_0x352c('0x10')!=_0x52d516||_0x233387['oldRange'])continue;if(!_0x30f891[_0x352c('0x49')](_0x4e5e40))continue;const _0x524bca=_0x30f891[_0x352c('0x6f')](_0x4e5e40)[_0x352c('0x7b')](),_0x224891=_0x18d001[_0x352c('0x42')][_0x352c('0x18')](_0x352c('0x4b'))['me'];for(const _0x436dab of _0x30f891[_0x352c('0x34')]()){if(!_0x436dab['isInContent']||_0x436dab['author']!=_0x224891)continue;if(_0x352c('0x60')!=_0x436dab[_0x352c('0x5f')]||_0x352c('0x70')!=_0x436dab['subType'])continue;if(_0x436dab[_0x352c('0x7b')]()[_0x352c('0x6e')](_0x31466d=>_0x524bca['some'](_0x50573d=>_0x50573d[_0x352c('0x48')](_0x31466d,!0x0))))for(const _0x38f64d of _0x436dab['getAllAdjacentSuggestions']())_0x38f64d['isInContent']&&(_0x38f64d['discard'](),_0x2e0323=!0x0);}}return _0x2e0323;}),_0x18d001[_0x352c('0x9e')][_0x352c('0x6d')][_0x352c('0x79')](_0x24eee6=>{const _0xf6225b=_0x18d001[_0x352c('0xa1')]['get'](_0x352c('0x9'));if(!_0xf6225b||!_0xf6225b[_0x352c('0x5a')][_0x352c('0x5d')](_0x24eee6[_0x352c('0x6b')]))return!0x1;let _0x2e418b=!0x1;const _0xa6e89d=_0x18d001[_0x352c('0x42')]['get'](_0x352c('0x4b'))['me'],_0x12323b=_0x18d001[_0x352c('0x9e')][_0x352c('0x6d')][_0x352c('0x5e')][_0x352c('0x58')](),_0x5db19b=Array['from'](_0x18d001[_0x352c('0x9e')][_0x352c('0x6d')][_0x352c('0x5e')][_0x352c('0x9d')]())['filter'](({name:_0x51367b,data:_0x5be200})=>{const {group:_0x23962a,subType:_0x3238ae,authorId:_0x36a8eb}=_0x30f891[_0x352c('0x51')](_0x51367b);return _0x352c('0x95')==_0x23962a&&_0x352c('0x84')==_0x3238ae&&_0x36a8eb==_0xa6e89d['id']&&!_0x5be200[_0x352c('0x5')];});for(const _0x4d85cb of _0x12323b){if(_0x352c('0x1')!=_0x4d85cb[_0x352c('0x5f')]||_0x352c('0x3d')!=_0x4d85cb['name']||0x1!=_0x4d85cb[_0x352c('0xf')])continue;const _0x37dd81=_0x24eee6['createRange'](_0x4d85cb[_0x352c('0x6c')],_0x4d85cb['position'][_0x352c('0x4e')](0x1));if(!_0x5db19b[_0x352c('0x35')](({data:_0x5157d5})=>_0x5157d5[_0x352c('0x1f')][_0x352c('0x1d')](_0x37dd81)))for(const {name:_0x296f65,data:_0x1ceca5}of _0x5db19b)if(_0x37dd81[_0x352c('0x48')](_0x1ceca5['newRange'])){_0x24eee6[_0x352c('0x13')](_0x296f65,{'range':_0x37dd81}),_0x2e418b=!0x0;break;}}return _0x2e418b;}),_0x18d001[_0x352c('0x9e')][_0x352c('0x6d')]['registerPostFixer'](_0x4c6ab8=>{let _0x1deb88=!0x1;const _0x319fe3=_0x18d001['plugins']['get'](_0x352c('0x4b'))['me'],_0x470a7d=_0x30f891[_0x352c('0x34')]()['filter'](_0x1b5288=>_0x1b5288[_0x352c('0x92')]&&_0x1b5288[_0x352c('0x45')]==_0x319fe3),_0x1a9998=new Set(),_0x4a521f=new Set();for(const _0x4d094b of _0x470a7d)if(_0x352c('0x84')==_0x4d094b[_0x352c('0x63')])for(const _0x36cbac of _0x4d094b['getMarkers']()){const _0x2cb007=_0x36cbac[_0x352c('0x94')]()['getContainedElement']();if(_0x2cb007){if(_0x2cb007['is'](_0x352c('0x4'),_0x352c('0x3d'))&&ce(_0x2cb007)){_0x4d094b[_0x352c('0x85')](_0x36cbac[_0x352c('0x4f')]),_0x1a9998[_0x352c('0x5b')](_0x2cb007),_0x1deb88=!0x0;const _0x3812b5=_0x2cb007[_0x352c('0x69')],_0x43d150=_0x2cb007['previousSibling'],_0x2bf0d4=_0x3812b5&&_0x3812b5['is'](_0x352c('0x4'),_0x352c('0x3d')),_0x93c357=_0x43d150&&_0x43d150['is']('element',_0x352c('0x3d'));_0x2bf0d4&&!_0x1a9998[_0x352c('0x5d')](_0x3812b5)&&_0x4a521f[_0x352c('0x5b')](_0x3812b5),_0x93c357&&!_0x1a9998[_0x352c('0x5d')](_0x43d150)&&_0x4a521f[_0x352c('0x5b')](_0x43d150);}else _0x2cb007['is']('element','paragraph')&&_0x2cb007['isEmpty']&&(_0x4d094b[_0x352c('0x85')](_0x36cbac[_0x352c('0x4f')]),_0x1deb88=!0x0);}}else{if(_0x352c('0x70')==_0x4d094b[_0x352c('0x63')]){if(!_0x4d094b['attributes']||!_0x4d094b['attributes'][_0x352c('0x6')])continue;const _0x55ec88=_0x4d094b[_0x352c('0x32')][_0x352c('0x1b')];if(_0x55ec88&&Object[_0x352c('0x86')](_0x55ec88)['length'])continue;const _0x108e76=_0x4d094b['attributes'][_0x352c('0x6')];let _0x54edbc=!0x0,_0x41ff30=!0x0;for(const _0x3a7cf1 of _0x470a7d)if(_0x3a7cf1[_0x352c('0x63')]&&_0x3a7cf1[_0x352c('0x63')]['startsWith'](_0x352c('0x84'))){if(!_0x3a7cf1['attributes'][_0x352c('0x6')]){_0x41ff30=!0x1;break;}if(_0x3a7cf1['id']!=_0x4d094b['id']&&_0x3a7cf1[_0x352c('0x32')][_0x352c('0x6')]==_0x108e76){_0x54edbc=!0x1;break;}}_0x41ff30&&_0x54edbc&&(_0x4d094b[_0x352c('0x6a')](),_0x1deb88=!0x0);}}for(const _0x13e5ba of _0x1a9998)_0x4c6ab8[_0x352c('0x97')](_0x13e5ba);for(const _0x316807 of _0x4a521f)_0x4c6ab8[_0x352c('0x8b')](_0x316807);return _0x1deb88;}),_0x18d001[_0x352c('0x2e')][_0x352c('0x8e')]('editingDowncast')['markerToHighlight']({'model':_0x352c('0x68'),'view':(_0x59cbba,_0x5a7d9f)=>_0x154ea7(_0x59cbba),'converterPriority':_0x352c('0x4c')}),_0x18d001[_0x352c('0x2e')][_0x352c('0x8e')]('dataDowncast')[_0x352c('0x3')]({'model':_0x352c('0x68'),'view':(_0x2d9762,_0x79c1ed)=>_0x79c1ed[_0x352c('0xa')][_0x352c('0x61')]?_0x154ea7(_0x2d9762,!0x1):null,'converterPriority':'high'});const _0x11f620=_0x18d001[_0x352c('0x3a')][_0x352c('0xa2')];this[_0x352c('0x2f')](_0x11f620['document'],'clipboardOutput',(_0x55d49c,_0x1cdf98)=>{const _0x3525f1=[];for(const _0x4758bf of _0x11f620[_0x352c('0x15')](_0x1cdf98[_0x352c('0x59')])['getItems']())_0x4758bf['is'](_0x352c('0x4'),_0x352c('0x90'))&&_0x3525f1[_0x352c('0x82')](_0x4758bf);_0x11f620[_0x352c('0x1e')](_0x4fd482=>{for(const _0x2e9c6d of _0x3525f1)_0x4fd482[_0x352c('0x31')](_0x4fd482[_0x352c('0x15')](_0x2e9c6d),_0x4fd482[_0x352c('0x65')](_0x2e9c6d)),_0x4fd482[_0x352c('0x97')](_0x2e9c6d);});});}}function ce(_0x4ccc0c){if(_0x4ccc0c[_0x352c('0x43')])return!0x0;const _0x4951d6=_0x4ccc0c[_0x352c('0x64')](0x0);return _0x4951d6['is'](_0x352c('0x4'),_0x352c('0x2a'))&&_0x4951d6[_0x352c('0x43')];}function fe(_0x4af501,_0x574719={},_0x2fbdb7){for(const {isAnchor:_0x22fd0e,cellHeight:_0x7c5930,cellWidth:_0x53826c}of _0x2fbdb7[_0x352c('0x36')](_0x4af501,{'includeAllSlots':!0x0,..._0x574719}))if(!_0x22fd0e||0x1!=_0x7c5930||0x1!=_0x53826c)return!0x1;return!0x0;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2adb=['change','commandParams','selection','*Format:*\x20resize\x20table','handleResizeTableWidthCommand','discard','author','_suggestionFactory','getTableColumnsWidths','tableWidth','bind','enableCommand','registerCustomCallback','accept','afterInit','columnWidths','formatBlock','table','getColumnGroupElement','TableColumnResizeEditing','resizeTableWidth','getSuggestions','has','handleSuggestionDescription','resizeTable','formatGroupId','getContainedElement','model','TrackChangesEditing','subType','get','editor','getAttribute','registerDescriptionCallback','plugins','getSelectedElement'];(function(_0x4e44ca,_0x2adb4e){const _0x1d918c=function(_0x12eed0){while(--_0x12eed0){_0x4e44ca['push'](_0x4e44ca['shift']());}};_0x1d918c(++_0x2adb4e);}(_0x2adb,0x1ad));const _0x1d91=function(_0x4e44ca,_0x2adb4e){_0x4e44ca=_0x4e44ca-0x0;let _0x1d918c=_0x2adb[_0x4e44ca];return _0x1d918c;};import{Plugin as _0xe40963}from'ckeditor5/src/core';import{getTranslation as _0x12a82c}from'../utils/common-translations';export default class wt extends _0xe40963{[_0x1d91('0x11')](){if(!this[_0x1d91('0x22')][_0x1d91('0x1')][_0x1d91('0x19')](_0x1d91('0x16')))return;const _0x22a2cd=this[_0x1d91('0x22')][_0x1d91('0x1')]['get'](_0x1d91('0x1f'));_0x22a2cd[_0x1d91('0xe')](_0x1d91('0x17'),this[_0x1d91('0x7')][_0x1d91('0xd')](this)),_0x22a2cd[_0x1d91('0xe')]('resizeColumnWidths',this['handleResizeTableWidthCommand']['bind'](this)),_0x22a2cd['_suggestionFactory'][_0x1d91('0xf')](_0x1d91('0x13'),'resizeTable',_0x1d91('0x10'),_0x22a2cd[_0x1d91('0xa')]['getSuggestionCallback'](_0x1d91('0x13'),null,_0x1d91('0x8'))),_0x22a2cd[_0x1d91('0xa')][_0x1d91('0xf')]('formatBlock','resizeTable',_0x1d91('0x8'),_0x22a2cd[_0x1d91('0xa')]['getSuggestionCallback'](_0x1d91('0x13'),null,_0x1d91('0x10'))),_0x22a2cd['_descriptionFactory'][_0x1d91('0x0')](this[_0x1d91('0x1a')]['bind'](this));}[_0x1d91('0x7')](_0x43ca88,_0x36eaec){const _0x3ca976=this[_0x1d91('0x22')][_0x1d91('0x1')][_0x1d91('0x21')](_0x1d91('0x1f')),_0x17ce6a=this[_0x1d91('0x22')][_0x1d91('0x1')][_0x1d91('0x21')](_0x1d91('0x16')),_0x31d059=_0x36eaec[_0x1d91('0x14')]||this[_0x1d91('0x22')]['model']['document'][_0x1d91('0x5')][_0x1d91('0x2')]();this[_0x1d91('0x22')][_0x1d91('0x1e')][_0x1d91('0x3')](()=>{const _0x139023=_0x17ce6a[_0x1d91('0x15')](_0x31d059);let _0x2b5d80=_0x139023?_0x17ce6a[_0x1d91('0xb')](_0x139023):null,_0x3471d3=_0x31d059[_0x1d91('0x23')](_0x1d91('0xc'))||null;const _0x2051e8=_0x36eaec[_0x1d91('0xc')]||_0x3471d3,_0x296cc3=_0x36eaec[_0x1d91('0x12')]||_0x2b5d80,_0x376e01=this[_0x1d91('0x22')]['plugins'][_0x1d91('0x21')]('Users')['me'];for(const _0x3898a8 of _0x3ca976[_0x1d91('0x18')]()){const _0x4e50f8=_0x3898a8[_0x1d91('0x1d')]();if('resizeTable'===_0x3898a8[_0x1d91('0x20')]&&_0x4e50f8===_0x31d059){_0x3898a8[_0x1d91('0x9')]!==_0x376e01&&_0x3898a8[_0x1d91('0x8')]();const _0xd0fd6a=_0x3898a8['data'][_0x1d91('0x4')];_0x3471d3=_0xd0fd6a[0x0][_0x1d91('0xc')],_0x2b5d80=_0xd0fd6a[0x0][_0x1d91('0x12')];break;}}_0x43ca88({'table':_0x31d059,'tableWidth':_0x2051e8,'columnWidths':_0x296cc3}),_0x3ca976['markBlockFormat'](_0x31d059,{'commandName':'resizeTableWidth','commandParams':[{'tableWidth':_0x3471d3,'columnWidths':_0x2b5d80}],'formatGroupId':'resizeTable'},[],_0x1d91('0x1b'));});}[_0x1d91('0x1a')](_0x5db77d){const {data:_0x4b69a0}=_0x5db77d;if(_0x4b69a0&&_0x1d91('0x1b')===_0x4b69a0[_0x1d91('0x1c')]){const _0x43df1d=_0x1d91('0x6');return{'type':'format','content':_0x12a82c(this['editor']['locale'],_0x43df1d)};}}}
23
+ const _0x5c16=['getColumnGroupElement','editor','author','markBlockFormat','registerCustomCallback','columnWidths','getTableColumnsWidths','model','getContainedElement','resizeTable','commandParams','bind','TrackChangesEditing','*Format:*\x20resize\x20table','registerDescriptionCallback','enableCommand','TableColumnResizeEditing','plugins','selection','getSuggestionCallback','formatGroupId','Users','getSelectedElement','resizeTableWidth','tableWidth','_descriptionFactory','_suggestionFactory','document','formatBlock','handleSuggestionDescription','get','locale','has','accept','getAttribute','handleResizeTableWidthCommand','resizeColumnWidths'];(function(_0xab98fc,_0x5c16c8){const _0x3aa27f=function(_0x1c9bb3){while(--_0x1c9bb3){_0xab98fc['push'](_0xab98fc['shift']());}};_0x3aa27f(++_0x5c16c8);}(_0x5c16,0x91));const _0x3aa2=function(_0xab98fc,_0x5c16c8){_0xab98fc=_0xab98fc-0x0;let _0x3aa27f=_0x5c16[_0xab98fc];return _0x3aa27f;};import{Plugin as _0x5e870e}from'ckeditor5/src/core';import{getTranslation as _0x12ea19}from'../utils/common-translations';export default class wt extends _0x5e870e{['afterInit'](){if(!this[_0x3aa2('0x4')][_0x3aa2('0x14')][_0x3aa2('0x23')](_0x3aa2('0x13')))return;const _0x248c23=this[_0x3aa2('0x4')][_0x3aa2('0x14')][_0x3aa2('0x21')](_0x3aa2('0xf'));_0x248c23[_0x3aa2('0x12')](_0x3aa2('0x1a'),this[_0x3aa2('0x1')][_0x3aa2('0xe')](this)),_0x248c23['enableCommand'](_0x3aa2('0x2'),this[_0x3aa2('0x1')][_0x3aa2('0xe')](this)),_0x248c23[_0x3aa2('0x1d')][_0x3aa2('0x7')](_0x3aa2('0x1f'),_0x3aa2('0xc'),'accept',_0x248c23[_0x3aa2('0x1d')][_0x3aa2('0x16')](_0x3aa2('0x1f'),null,'discard')),_0x248c23[_0x3aa2('0x1d')][_0x3aa2('0x7')]('formatBlock',_0x3aa2('0xc'),'discard',_0x248c23['_suggestionFactory'][_0x3aa2('0x16')]('formatBlock',null,_0x3aa2('0x24'))),_0x248c23[_0x3aa2('0x1c')][_0x3aa2('0x11')](this[_0x3aa2('0x20')][_0x3aa2('0xe')](this));}[_0x3aa2('0x1')](_0x228144,_0x48e990){const _0x3f4447=this[_0x3aa2('0x4')][_0x3aa2('0x14')][_0x3aa2('0x21')](_0x3aa2('0xf')),_0x52878c=this[_0x3aa2('0x4')]['plugins'][_0x3aa2('0x21')](_0x3aa2('0x13')),_0x496527=_0x48e990['table']||this['editor']['model'][_0x3aa2('0x1e')][_0x3aa2('0x15')][_0x3aa2('0x19')]();this[_0x3aa2('0x4')][_0x3aa2('0xa')]['change'](()=>{const _0x578b27=_0x52878c[_0x3aa2('0x3')](_0x496527);let _0x2587a8=_0x578b27?_0x52878c[_0x3aa2('0x9')](_0x578b27):null,_0x1febb2=_0x496527[_0x3aa2('0x0')]('tableWidth')||null;const _0x1ac942=_0x48e990[_0x3aa2('0x1b')]||_0x1febb2,_0x537397=_0x48e990[_0x3aa2('0x8')]||_0x2587a8,_0x4036af=this[_0x3aa2('0x4')][_0x3aa2('0x14')][_0x3aa2('0x21')](_0x3aa2('0x18'))['me'];for(const _0x483520 of _0x3f4447['getSuggestions']()){const _0x5791e1=_0x483520[_0x3aa2('0xb')]();if(_0x3aa2('0xc')===_0x483520['subType']&&_0x5791e1===_0x496527){_0x483520[_0x3aa2('0x5')]!==_0x4036af&&_0x483520['discard']();const _0x580b13=_0x483520['data'][_0x3aa2('0xd')];_0x1febb2=_0x580b13[0x0]['tableWidth'],_0x2587a8=_0x580b13[0x0][_0x3aa2('0x8')];break;}}_0x228144({'table':_0x496527,'tableWidth':_0x1ac942,'columnWidths':_0x537397}),_0x3f4447[_0x3aa2('0x6')](_0x496527,{'commandName':_0x3aa2('0x1a'),'commandParams':[{'tableWidth':_0x1febb2,'columnWidths':_0x2587a8}],'formatGroupId':_0x3aa2('0xc')},[],_0x3aa2('0xc'));});}[_0x3aa2('0x20')](_0x370274){const {data:_0x4c7aa7}=_0x370274;if(_0x4c7aa7&&_0x3aa2('0xc')===_0x4c7aa7[_0x3aa2('0x17')]){const _0x5e481c=_0x3aa2('0x10');return{'type':'format','content':_0x12ea19(this['editor'][_0x3aa2('0x22')],_0x5e481c)};}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2865=['getChild','createTableWalker','formatBlock','markerName','value','downcastDispatcher','editing','writer','removeAttribute','FORMAT_HEADER_ROW','addMarker:suggestion','markBlockFormat','findAncestor','nodeAfter','table','removeClass','getCellLocation','setTableRowHeader','getSuggestion','unbindElementFromMarkerName','createPositionBefore','data','start','model','data-suggestion','index','format','name','plugins','cell','nodeBefore','removeMarker:suggestion','commandName','accept','getRowIndexes','get','getColumnIndexes','enableCommand','editor','parent','end','markerRange','getAttribute','bindElementToMarker','TrackChangesEditing','consumable','_acceptFormatSuggestionCallbackFactory','FORMAT_REGULAR_COLUMN','highest','TableEditing','*Format:*\x20%0','mapper','item','options','ck-suggestion-marker--active','has','showSuggestionHighlights','setTableColumnHeader','_suggestionFactory','createRange','commandParams','TableUtils','setAttribute','stop','forceValue','headingRows','from','registerDescriptionCallback','change','_splitMarkerName','selection','includes','document','childCount','afterInit','requires','commands','createPositionAfter','first','getSelectionAffectedTableCells','_descriptionFactory','FORMAT_REGULAR_ROW'];(function(_0x44c09c,_0x2865ce){const _0x541acf=function(_0x541b56){while(--_0x541b56){_0x44c09c['push'](_0x44c09c['shift']());}};_0x541acf(++_0x2865ce);}(_0x2865,0x185));const _0x541a=function(_0x44c09c,_0x2865ce){_0x44c09c=_0x44c09c-0x0;let _0x541acf=_0x2865[_0x44c09c];return _0x541acf;};import{Plugin as _0x5567c6}from'ckeditor5/src/core';import _0x325102 from'./table';import{getTranslation as _0x595569}from'../utils/common-translations';export default class pt extends _0x5567c6{static get[_0x541a('0xe')](){return[_0x325102];}[_0x541a('0xd')](){const _0x246aad=this[_0x541a('0x3b')];if(!_0x246aad['plugins'][_0x541a('0x4c')](_0x541a('0x46')))return;const _0x23dad3=_0x246aad['locale'],_0x2a84a1=_0x246aad[_0x541a('0x31')][_0x541a('0x38')](_0x541a('0x41')),_0x271592=_0x246aad[_0x541a('0x31')][_0x541a('0x38')](_0x541a('0x0')),_0x26bbe8=_0x246aad['plugins'][_0x541a('0x38')](_0x325102);function _0x8b56e({showActiveMarker:_0x382730=!0x0,setDataAttribute:_0x32c310=!0x0}={}){return(_0x354797,_0x27c071,_0x1a01aa)=>{const {type:_0xd5e71f,id:_0x394605}=_0x2a84a1[_0x541a('0x8')](_0x27c071[_0x541a('0x18')]),_0x313226=_0x2a84a1[_0x541a('0x27')](_0x394605);if(!_0x313226[_0x541a('0x2a')]||_0x541a('0x4e')!=_0x313226[_0x541a('0x2a')]['commandName'])return;if(_0x27c071[_0x541a('0x49')])return void _0x354797[_0x541a('0x2')]();if(!_0x1a01aa[_0x541a('0x42')]['consume'](_0x27c071[_0x541a('0x3e')],_0x354797[_0x541a('0x30')]))return;const _0x54031c=_0x27c071['markerRange'][_0x541a('0x2b')][_0x541a('0x22')],_0x3e785d=_0x27c071[_0x541a('0x3e')][_0x541a('0x3d')][_0x541a('0x33')],_0x22d151=_0x54031c[_0x541a('0x3c')][_0x541a('0x3c')],{column:_0xd25088}=_0x271592['getCellLocation'](_0x54031c),{column:_0x3782fa}=_0x271592[_0x541a('0x25')](_0x3e785d);for(let _0x562ccf=_0xd25088;_0x562ccf<=_0x3782fa;_0x562ccf++){const _0x267ef8=_0x271592[_0x541a('0x16')](_0x22d151,{'column':_0x562ccf,'includeAllSlots':!0x1});for(const _0x4e2311 of _0x267ef8){const _0x54020d=_0x4e2311[_0x541a('0x32')],_0x49f19e=_0x1a01aa[_0x541a('0x48')]['toViewElement'](_0x54020d);_0x1a01aa['writer']['addClass']('ck-suggestion-marker-'+_0xd5e71f,_0x49f19e),_0x32c310&&_0x1a01aa['writer'][_0x541a('0x1')](_0x541a('0x2d'),_0x394605,_0x49f19e),_0x1a01aa[_0x541a('0x48')][_0x541a('0x40')](_0x49f19e,_0x27c071[_0x541a('0x18')]),_0x382730&&(_0x2a84a1['activeMarkers'][_0x541a('0xa')](_0x27c071[_0x541a('0x18')])?_0x1a01aa['writer']['addClass'](_0x541a('0x4b'),_0x49f19e):_0x1a01aa['writer'][_0x541a('0x24')]('ck-suggestion-marker--active',_0x49f19e));}}};}_0x2a84a1[_0x541a('0x3a')](_0x541a('0x26'),(_0x43d9f3,_0x12da19)=>{const _0x377f90=_0x271592['getSelectionAffectedTableCells'](_0x246aad[_0x541a('0x2c')][_0x541a('0xb')]['selection']),_0x1f920b=_0x271592[_0x541a('0x37')](_0x377f90),_0x1fb8bd=_0x377f90[0x0][_0x541a('0x21')](_0x541a('0x23')),_0x456a33=_0x1fb8bd[_0x541a('0x3f')](_0x541a('0x4'))||0x0,_0x324951=_0x12da19&&null!==_0x12da19[_0x541a('0x3')]?_0x12da19[_0x541a('0x3')]:!_0x246aad[_0x541a('0xf')][_0x541a('0x38')](_0x541a('0x26'))['value'],_0x188b06=_0x324951?_0x1f920b['last']:_0x1f920b['first'],_0x24190c=_0x1fb8bd[_0x541a('0x15')](_0x188b06);let _0x44215f;if(_0x324951){const _0x1a1529=_0x1fb8bd[_0x541a('0x15')](_0x456a33);if(_0x24190c[_0x541a('0x2e')]<_0x1a1529[_0x541a('0x2e')])return;_0x44215f=_0x246aad[_0x541a('0x2c')][_0x541a('0x50')](_0x246aad[_0x541a('0x2c')][_0x541a('0x29')](_0x1a1529[_0x541a('0x15')](0x0)),_0x246aad[_0x541a('0x2c')][_0x541a('0x10')](_0x24190c[_0x541a('0x15')](_0x24190c[_0x541a('0xc')]-0x1)));}else{const _0x54c420=_0x1fb8bd[_0x541a('0x15')](_0x456a33-0x1);if(!_0x54c420)return;_0x44215f=_0x246aad['model']['createRange'](_0x246aad['model'][_0x541a('0x29')](_0x24190c[_0x541a('0x15')](0x0)),_0x246aad[_0x541a('0x2c')][_0x541a('0x10')](_0x54c420[_0x541a('0x15')](_0x54c420[_0x541a('0xc')]-0x1)));}_0x246aad['model'][_0x541a('0x7')](()=>{_0x2a84a1[_0x541a('0x20')](_0x44215f,{'commandName':_0x541a('0x26'),'commandParams':[{'forceValue':_0x324951}]},[],'setTableRowHeader');});}),_0x2a84a1[_0x541a('0x3a')](_0x541a('0x4e'),(_0x1642ef,_0x3a79ae)=>{const _0x1c18b3=_0x246aad[_0x541a('0x31')]['get']('TableUtils'),_0x138fa6=_0x1c18b3[_0x541a('0x12')](_0x246aad['model']['document'][_0x541a('0x9')]),_0x31a6ab=_0x1c18b3[_0x541a('0x39')](_0x138fa6),_0xcf4bd1=_0x138fa6[0x0]['findAncestor'](_0x541a('0x23')),_0x53df61=_0xcf4bd1[_0x541a('0x3f')]('headingColumns')||0x0,_0x247936=_0x3a79ae&&null!==_0x3a79ae[_0x541a('0x3')]?_0x3a79ae[_0x541a('0x3')]:!_0x246aad[_0x541a('0xf')]['get'](_0x541a('0x4e'))[_0x541a('0x19')];let _0x323b98;const _0x52f132=_0xcf4bd1[_0x541a('0x15')](0x0),_0x21e74b=_0x247936?_0x31a6ab['last']:_0x31a6ab[_0x541a('0x11')],_0x136ea5=_0x1c18b3[_0x541a('0x16')](_0xcf4bd1,{'startRow':0x0,'column':_0x21e74b,'includeAllSlots':!0x1}),_0x20748e=Array[_0x541a('0x5')](_0x136ea5)[0x0][_0x541a('0x32')];if(_0x247936){const _0x3a0af4=_0x52f132['getChild'](_0x53df61);if(_0x20748e['isBefore'](_0x3a0af4))return;_0x323b98=_0x246aad[_0x541a('0x2c')][_0x541a('0x50')](_0x246aad[_0x541a('0x2c')][_0x541a('0x29')](_0x3a0af4),_0x246aad['model'][_0x541a('0x10')](_0x20748e));}else{const _0x27b175=_0x52f132[_0x541a('0x15')](_0x53df61-0x1);if(!_0x27b175)return;_0x323b98=_0x246aad[_0x541a('0x2c')]['createRange'](_0x246aad[_0x541a('0x2c')][_0x541a('0x29')](_0x20748e),_0x246aad[_0x541a('0x2c')][_0x541a('0x10')](_0x27b175));}_0x246aad[_0x541a('0x2c')][_0x541a('0x7')](()=>{_0x2a84a1[_0x541a('0x20')](_0x323b98,{'commandName':_0x541a('0x4e'),'commandParams':[{'forceValue':_0x247936}]},[],'setTableColumnHeader');});}),_0x246aad[_0x541a('0x1b')][_0x541a('0x1a')]['on'](_0x541a('0x1f'),_0x8b56e(),{'priority':_0x541a('0x45')}),_0x246aad['data']['downcastDispatcher']['on']('addMarker:suggestion',(_0x2af489,_0x538e8f,_0x11ea70)=>{_0x11ea70[_0x541a('0x4a')][_0x541a('0x4d')]&&_0x8b56e({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x2af489,_0x538e8f,_0x11ea70);},{'priority':_0x541a('0x45')}),_0x246aad[_0x541a('0x1b')][_0x541a('0x1a')]['on'](_0x541a('0x34'),(_0x6a157c,_0x4772ee,_0x3e3557)=>{const {type:_0x438648,id:_0xed2e41}=_0x2a84a1['_splitMarkerName'](_0x4772ee[_0x541a('0x18')]),_0x58a75b=_0x2a84a1[_0x541a('0x27')](_0xed2e41);if(!_0x58a75b['data']||_0x541a('0x4e')!=_0x58a75b['data'][_0x541a('0x35')])return;const _0x4d5f94=_0x3e3557[_0x541a('0x48')]['markerNameToElements'](_0x4772ee[_0x541a('0x18')]);if(_0x4d5f94)for(const _0x4c88bf of _0x4d5f94)_0x3e3557[_0x541a('0x1c')][_0x541a('0x24')]('ck-suggestion-marker-'+_0x438648,_0x4c88bf),_0x3e3557['writer'][_0x541a('0x24')](_0x541a('0x4b'),_0x4c88bf),_0x3e3557[_0x541a('0x1c')][_0x541a('0x1d')](_0x541a('0x2d'),_0x4c88bf),_0x3e3557[_0x541a('0x48')][_0x541a('0x28')](_0x4c88bf,_0x4772ee[_0x541a('0x18')]);},{'priority':_0x541a('0x45')}),_0x2a84a1[_0x541a('0x13')][_0x541a('0x6')](_0x372910=>{const {data:_0x326a27}=_0x372910;if(_0x326a27){if(_0x541a('0x26')==_0x326a27['commandName']){const _0x40a97c=_0x326a27[_0x541a('0x51')][0x0]['forceValue'];return _0x31dfed(_0x595569(_0x23dad3,_0x40a97c?_0x541a('0x1e'):_0x541a('0x14')));}if(_0x541a('0x4e')==_0x326a27[_0x541a('0x35')]){const _0x52d296=_0x326a27[_0x541a('0x51')][0x0]['forceValue'];return _0x31dfed(_0x595569(_0x23dad3,_0x52d296?'FORMAT_HEADER_COLUMN':_0x541a('0x44')));}}function _0x31dfed(_0x57f7cb){return{'type':_0x541a('0x2f'),'content':_0x595569(_0x23dad3,_0x541a('0x47'),_0x57f7cb)};}});const _0x2042c1=_0x26bbe8[_0x541a('0x43')]();_0x2a84a1[_0x541a('0x4f')]['registerCustomCallback'](_0x541a('0x17'),_0x541a('0x26'),'accept',_0x2042c1),_0x2a84a1[_0x541a('0x4f')]['registerCustomCallback'](_0x541a('0x17'),_0x541a('0x4e'),_0x541a('0x36'),_0x2042c1);}}
23
+ const _0x3734=['document','addMarker:suggestion','change','toViewElement','markerName','setAttribute','addClass','commandParams','stop','formatBlock','ck-suggestion-marker-','getAttribute','getSuggestion','table','setTableRowHeader','registerDescriptionCallback','TableUtils','writer','from','start','selection','end','unbindElementFromMarkerName','item','markerRange','findAncestor','FORMAT_REGULAR_ROW','last','cell','activeMarkers','options','editing','consumable','TrackChangesEditing','data-suggestion','model','createTableWalker','_splitMarkerName','name','createPositionBefore','getChild','getSelectionAffectedTableCells','requires','plugins','bindElementToMarker','getColumnIndexes','FORMAT_REGULAR_COLUMN','format','createRange','editor','data','markBlockFormat','childCount','FORMAT_HEADER_ROW','setTableColumnHeader','FORMAT_HEADER_COLUMN','downcastDispatcher','first','highest','commandName','enableCommand','afterInit','removeAttribute','getCellLocation','locale','forceValue','get','value','isBefore','has','removeClass','ck-suggestion-marker--active','getRowIndexes','commands','nodeAfter','accept','registerCustomCallback','parent','mapper','_descriptionFactory','*Format:*\x20%0','index','markerNameToElements','createPositionAfter'];(function(_0x51fdec,_0x37343a){const _0x4ffae2=function(_0x4511af){while(--_0x4511af){_0x51fdec['push'](_0x51fdec['shift']());}};_0x4ffae2(++_0x37343a);}(_0x3734,0x1bc));const _0x4ffa=function(_0x51fdec,_0x37343a){_0x51fdec=_0x51fdec-0x0;let _0x4ffae2=_0x3734[_0x51fdec];return _0x4ffae2;};import{Plugin as _0x1df3f7}from'ckeditor5/src/core';import _0x23d83f from'./table';import{getTranslation as _0x56f731}from'../utils/common-translations';export default class pt extends _0x1df3f7{static get[_0x4ffa('0x12')](){return[_0x23d83f];}[_0x4ffa('0x25')](){const _0x3e3620=this[_0x4ffa('0x19')];if(!_0x3e3620[_0x4ffa('0x13')][_0x4ffa('0x2d')]('TableEditing'))return;const _0x51743a=_0x3e3620[_0x4ffa('0x28')],_0x53bfd7=_0x3e3620['plugins'][_0x4ffa('0x2a')](_0x4ffa('0x9')),_0x2ebb57=_0x3e3620[_0x4ffa('0x13')]['get'](_0x4ffa('0x4c')),_0x3e129c=_0x3e3620[_0x4ffa('0x13')][_0x4ffa('0x2a')](_0x23d83f);function _0x44a30b({showActiveMarker:_0x5980ca=!0x0,setDataAttribute:_0x3226bb=!0x0}={}){return(_0x316798,_0x20e34f,_0x42d40e)=>{const {type:_0x388dc2,id:_0x2b914c}=_0x53bfd7[_0x4ffa('0xd')](_0x20e34f[_0x4ffa('0x40')]),_0x54c497=_0x53bfd7[_0x4ffa('0x48')](_0x2b914c);if(!_0x54c497[_0x4ffa('0x1a')]||_0x4ffa('0x1e')!=_0x54c497[_0x4ffa('0x1a')][_0x4ffa('0x23')])return;if(_0x20e34f[_0x4ffa('0x53')])return void _0x316798[_0x4ffa('0x44')]();if(!_0x42d40e[_0x4ffa('0x8')]['consume'](_0x20e34f[_0x4ffa('0x0')],_0x316798[_0x4ffa('0xe')]))return;const _0x305aac=_0x20e34f[_0x4ffa('0x0')][_0x4ffa('0x4f')][_0x4ffa('0x32')],_0x440894=_0x20e34f[_0x4ffa('0x0')][_0x4ffa('0x51')]['nodeBefore'],_0x5163a6=_0x305aac[_0x4ffa('0x35')][_0x4ffa('0x35')],{column:_0x2647a9}=_0x2ebb57[_0x4ffa('0x27')](_0x305aac),{column:_0x188719}=_0x2ebb57[_0x4ffa('0x27')](_0x440894);for(let _0x5999e4=_0x2647a9;_0x5999e4<=_0x188719;_0x5999e4++){const _0x52deb9=_0x2ebb57[_0x4ffa('0xc')](_0x5163a6,{'column':_0x5999e4,'includeAllSlots':!0x1});for(const _0x5b099e of _0x52deb9){const _0x6636f8=_0x5b099e[_0x4ffa('0x4')],_0x42e7ec=_0x42d40e[_0x4ffa('0x36')][_0x4ffa('0x3f')](_0x6636f8);_0x42d40e[_0x4ffa('0x4d')][_0x4ffa('0x42')]('ck-suggestion-marker-'+_0x388dc2,_0x42e7ec),_0x3226bb&&_0x42d40e[_0x4ffa('0x4d')][_0x4ffa('0x41')](_0x4ffa('0xa'),_0x2b914c,_0x42e7ec),_0x42d40e[_0x4ffa('0x36')][_0x4ffa('0x14')](_0x42e7ec,_0x20e34f[_0x4ffa('0x40')]),_0x5980ca&&(_0x53bfd7[_0x4ffa('0x5')]['includes'](_0x20e34f[_0x4ffa('0x40')])?_0x42d40e[_0x4ffa('0x4d')]['addClass'](_0x4ffa('0x2f'),_0x42e7ec):_0x42d40e[_0x4ffa('0x4d')][_0x4ffa('0x2e')](_0x4ffa('0x2f'),_0x42e7ec));}}};}_0x53bfd7['enableCommand'](_0x4ffa('0x4a'),(_0x4771f3,_0x38a50e)=>{const _0x2df15f=_0x2ebb57[_0x4ffa('0x11')](_0x3e3620['model']['document'][_0x4ffa('0x50')]),_0x946c30=_0x2ebb57[_0x4ffa('0x30')](_0x2df15f),_0xa8230f=_0x2df15f[0x0][_0x4ffa('0x1')](_0x4ffa('0x49')),_0x5f2b5b=_0xa8230f['getAttribute']('headingRows')||0x0,_0x3f6cb4=_0x38a50e&&null!==_0x38a50e[_0x4ffa('0x29')]?_0x38a50e[_0x4ffa('0x29')]:!_0x3e3620[_0x4ffa('0x31')]['get'](_0x4ffa('0x4a'))[_0x4ffa('0x2b')],_0x50033d=_0x3f6cb4?_0x946c30[_0x4ffa('0x3')]:_0x946c30[_0x4ffa('0x21')],_0x2425bf=_0xa8230f[_0x4ffa('0x10')](_0x50033d);let _0x24b741;if(_0x3f6cb4){const _0x36e00e=_0xa8230f[_0x4ffa('0x10')](_0x5f2b5b);if(_0x2425bf[_0x4ffa('0x39')]<_0x36e00e[_0x4ffa('0x39')])return;_0x24b741=_0x3e3620[_0x4ffa('0xb')][_0x4ffa('0x18')](_0x3e3620[_0x4ffa('0xb')][_0x4ffa('0xf')](_0x36e00e[_0x4ffa('0x10')](0x0)),_0x3e3620[_0x4ffa('0xb')][_0x4ffa('0x3b')](_0x2425bf[_0x4ffa('0x10')](_0x2425bf[_0x4ffa('0x1c')]-0x1)));}else{const _0x591522=_0xa8230f['getChild'](_0x5f2b5b-0x1);if(!_0x591522)return;_0x24b741=_0x3e3620['model']['createRange'](_0x3e3620['model'][_0x4ffa('0xf')](_0x2425bf[_0x4ffa('0x10')](0x0)),_0x3e3620[_0x4ffa('0xb')][_0x4ffa('0x3b')](_0x591522[_0x4ffa('0x10')](_0x591522['childCount']-0x1)));}_0x3e3620[_0x4ffa('0xb')][_0x4ffa('0x3e')](()=>{_0x53bfd7[_0x4ffa('0x1b')](_0x24b741,{'commandName':_0x4ffa('0x4a'),'commandParams':[{'forceValue':_0x3f6cb4}]},[],'setTableRowHeader');});}),_0x53bfd7[_0x4ffa('0x24')](_0x4ffa('0x1e'),(_0x1bf493,_0x1453a5)=>{const _0x240422=_0x3e3620[_0x4ffa('0x13')]['get'](_0x4ffa('0x4c')),_0xa73b2a=_0x240422[_0x4ffa('0x11')](_0x3e3620['model'][_0x4ffa('0x3c')][_0x4ffa('0x50')]),_0x1a8e63=_0x240422[_0x4ffa('0x15')](_0xa73b2a),_0x59287b=_0xa73b2a[0x0]['findAncestor'](_0x4ffa('0x49')),_0x4ac90a=_0x59287b[_0x4ffa('0x47')]('headingColumns')||0x0,_0x2f1bfd=_0x1453a5&&null!==_0x1453a5[_0x4ffa('0x29')]?_0x1453a5[_0x4ffa('0x29')]:!_0x3e3620[_0x4ffa('0x31')][_0x4ffa('0x2a')](_0x4ffa('0x1e'))[_0x4ffa('0x2b')];let _0x3e12f7;const _0x20ff3e=_0x59287b[_0x4ffa('0x10')](0x0),_0x2763c6=_0x2f1bfd?_0x1a8e63[_0x4ffa('0x3')]:_0x1a8e63['first'],_0x31229a=_0x240422[_0x4ffa('0xc')](_0x59287b,{'startRow':0x0,'column':_0x2763c6,'includeAllSlots':!0x1}),_0x5a3f94=Array[_0x4ffa('0x4e')](_0x31229a)[0x0][_0x4ffa('0x4')];if(_0x2f1bfd){const _0x31d9f4=_0x20ff3e[_0x4ffa('0x10')](_0x4ac90a);if(_0x5a3f94[_0x4ffa('0x2c')](_0x31d9f4))return;_0x3e12f7=_0x3e3620[_0x4ffa('0xb')][_0x4ffa('0x18')](_0x3e3620[_0x4ffa('0xb')][_0x4ffa('0xf')](_0x31d9f4),_0x3e3620[_0x4ffa('0xb')][_0x4ffa('0x3b')](_0x5a3f94));}else{const _0x3bb6af=_0x20ff3e[_0x4ffa('0x10')](_0x4ac90a-0x1);if(!_0x3bb6af)return;_0x3e12f7=_0x3e3620['model'][_0x4ffa('0x18')](_0x3e3620[_0x4ffa('0xb')]['createPositionBefore'](_0x5a3f94),_0x3e3620['model'][_0x4ffa('0x3b')](_0x3bb6af));}_0x3e3620[_0x4ffa('0xb')][_0x4ffa('0x3e')](()=>{_0x53bfd7[_0x4ffa('0x1b')](_0x3e12f7,{'commandName':_0x4ffa('0x1e'),'commandParams':[{'forceValue':_0x2f1bfd}]},[],'setTableColumnHeader');});}),_0x3e3620[_0x4ffa('0x7')]['downcastDispatcher']['on'](_0x4ffa('0x3d'),_0x44a30b(),{'priority':_0x4ffa('0x22')}),_0x3e3620[_0x4ffa('0x1a')][_0x4ffa('0x20')]['on'](_0x4ffa('0x3d'),(_0x298432,_0x1f9973,_0x269192)=>{_0x269192[_0x4ffa('0x6')]['showSuggestionHighlights']&&_0x44a30b({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x298432,_0x1f9973,_0x269192);},{'priority':'highest'}),_0x3e3620[_0x4ffa('0x7')][_0x4ffa('0x20')]['on']('removeMarker:suggestion',(_0x13b722,_0x54e25e,_0x2e3a89)=>{const {type:_0x4bf1a5,id:_0x5793b0}=_0x53bfd7[_0x4ffa('0xd')](_0x54e25e[_0x4ffa('0x40')]),_0xca9f40=_0x53bfd7[_0x4ffa('0x48')](_0x5793b0);if(!_0xca9f40[_0x4ffa('0x1a')]||_0x4ffa('0x1e')!=_0xca9f40[_0x4ffa('0x1a')]['commandName'])return;const _0x18378c=_0x2e3a89[_0x4ffa('0x36')][_0x4ffa('0x3a')](_0x54e25e[_0x4ffa('0x40')]);if(_0x18378c)for(const _0x1d9117 of _0x18378c)_0x2e3a89[_0x4ffa('0x4d')][_0x4ffa('0x2e')](_0x4ffa('0x46')+_0x4bf1a5,_0x1d9117),_0x2e3a89[_0x4ffa('0x4d')]['removeClass'](_0x4ffa('0x2f'),_0x1d9117),_0x2e3a89[_0x4ffa('0x4d')][_0x4ffa('0x26')](_0x4ffa('0xa'),_0x1d9117),_0x2e3a89[_0x4ffa('0x36')][_0x4ffa('0x52')](_0x1d9117,_0x54e25e[_0x4ffa('0x40')]);},{'priority':_0x4ffa('0x22')}),_0x53bfd7[_0x4ffa('0x37')][_0x4ffa('0x4b')](_0x3f104b=>{const {data:_0x401489}=_0x3f104b;if(_0x401489){if(_0x4ffa('0x4a')==_0x401489[_0x4ffa('0x23')]){const _0x5983ec=_0x401489[_0x4ffa('0x43')][0x0][_0x4ffa('0x29')];return _0x4d0aab(_0x56f731(_0x51743a,_0x5983ec?_0x4ffa('0x1d'):_0x4ffa('0x2')));}if(_0x4ffa('0x1e')==_0x401489[_0x4ffa('0x23')]){const _0x50c896=_0x401489[_0x4ffa('0x43')][0x0][_0x4ffa('0x29')];return _0x4d0aab(_0x56f731(_0x51743a,_0x50c896?_0x4ffa('0x1f'):_0x4ffa('0x16')));}}function _0x4d0aab(_0x46f2fa){return{'type':_0x4ffa('0x17'),'content':_0x56f731(_0x51743a,_0x4ffa('0x38'),_0x46f2fa)};}});const _0x3bd870=_0x3e129c['_acceptFormatSuggestionCallbackFactory']();_0x53bfd7['_suggestionFactory'][_0x4ffa('0x34')](_0x4ffa('0x45'),'setTableRowHeader','accept',_0x3bd870),_0x53bfd7['_suggestionFactory'][_0x4ffa('0x34')]('formatBlock',_0x4ffa('0x1e'),_0x4ffa('0x33'),_0x3bd870);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2275=['change','mergeTableCells','push','accept','trackChanges','splitTableCellHorizontally','containsRange','enableCommand','registerDescriptionCallback','low','afterInit','mergeTableCellUp','getSuggestions','editor','author','isEnabled','setSelection','getFirstPosition','TableUtils','getSelectionAffectedTableCells','from','TableEditing','*Split\x20cell:*\x20horizontally','TrackChangesEditing','map','filter','table','splitTableCellVertically','set:isEnabled','document','mergeTableCellRight','type','add','plugins','refresh','stop','has','_acceptFormatSuggestionCallbackFactory','markMultiRangeBlockFormat','commands','insertion','size','createTableWalker','value','$graveyard','cell','length','fromRange','element','requires','mergeTableCellDown','model','format','detach','find','direction','forceDefaultExecution','isInContent','selection','mergeTableCellLeft','formatBlock','highest','root','_descriptionFactory','commandName','getAncestors','getRanges','locale','createRangeOn','getCellLocation','_areMergableCells','horizontally','_tablePostFixingSubtypes','_suggestionFactory','_areSelectedCellsMergable','execute','get'];(function(_0x146a77,_0x2275bb){const _0x2b9004=function(_0x2260ef){while(--_0x2260ef){_0x146a77['push'](_0x146a77['shift']());}};_0x2b9004(++_0x2275bb);}(_0x2275,0xb9));const _0x2b90=function(_0x146a77,_0x2275bb){_0x146a77=_0x146a77-0x0;let _0x2b9004=_0x2275[_0x146a77];return _0x2b9004;};import{Plugin as _0xa1ccec}from'ckeditor5/src/core';import _0x351fbc from'./table';import{LiveRange as _0x568f5d}from'ckeditor5/src/engine';import{getTranslation as _0x150c1b}from'../utils/common-translations';export default class dt extends _0xa1ccec{static get[_0x2b90('0x12')](){return[_0x351fbc];}[_0x2b90('0x38')](){const _0x4c0d73=this[_0x2b90('0x3b')],_0x291e3c=_0x4c0d73[_0x2b90('0x14')][_0x2b90('0x4b')][_0x2b90('0x1b')],_0x2326cd=_0x4c0d73[_0x2b90('0x24')];if(!_0x4c0d73[_0x2b90('0x2')][_0x2b90('0x5')](_0x2b90('0x43')))return;const _0x5cffa1=_0x4c0d73['plugins'][_0x2b90('0x2d')](_0x2b90('0x45')),_0x4d45c7=_0x4c0d73[_0x2b90('0x2')][_0x2b90('0x2d')]('TableUtils'),_0x245faf=_0x4c0d73[_0x2b90('0x2')][_0x2b90('0x2d')](_0x351fbc);_0x245faf[_0x2b90('0x29')][_0x2b90('0x30')]('mergeTableCells'),_0x5cffa1[_0x2b90('0x35')](_0x2b90('0x2f'),()=>{const _0x32331d=_0x4d45c7['getSelectionAffectedTableCells'](_0x4c0d73[_0x2b90('0x14')][_0x2b90('0x4b')][_0x2b90('0x1b')]);_0x4c0d73['model'][_0x2b90('0x2e')](()=>{_0x5cffa1[_0x2b90('0x7')](_0x32331d,{'commandName':_0x2b90('0x2f'),'commandParams':[]},[],_0x2b90('0x2f'));});}),_0x4c0d73[_0x2b90('0x8')][_0x2b90('0x2d')]('mergeTableCells')['on'](_0x2b90('0x2c'),(_0x58620f,_0x273665)=>{_0x4c0d73[_0x2b90('0x8')]['get'](_0x2b90('0x32'))[_0x2b90('0xc')]&&(_0x273665[_0x2b90('0xf')]>0x0&&_0x273665[_0x273665[_0x2b90('0xf')]-0x1]&&_0x273665[_0x273665[_0x2b90('0xf')]-0x1][_0x2b90('0x19')]||_0x5cffa1['_isForcedDefaultExecutionBlock']||this[_0x2b90('0x2b')]()||_0x58620f[_0x2b90('0x4')]());},{'priority':_0x2b90('0x1e')});for(const _0x2efea2 of[_0x2b90('0x39'),'mergeTableCellRight',_0x2b90('0x13'),_0x2b90('0x1c')]){const _0x53b15e=_0x4c0d73[_0x2b90('0x8')][_0x2b90('0x2d')](_0x2efea2);_0x5cffa1[_0x2b90('0x35')](_0x2efea2,()=>{const _0x39abf1=_0x4c0d73[_0x2b90('0x14')][_0x2b90('0x4b')][_0x2b90('0x1b')][_0x2b90('0x3f')]()[_0x2b90('0x22')]()[_0x2b90('0x17')](_0x59dd9e=>_0x59dd9e['is'](_0x2b90('0x11'),'tableCell')),_0x17c9db=_0x53b15e[_0x2b90('0xc')];_0x4c0d73[_0x2b90('0x14')][_0x2b90('0x2e')](()=>{_0x5cffa1[_0x2b90('0x7')]([_0x39abf1,_0x17c9db],{'commandName':'mergeTableCells','commandParams':[]},[],_0x2b90('0x2f'));});});}for(const _0x4294ae of[_0x2b90('0x49'),_0x2b90('0x33')]){const _0x560949=_0x4c0d73[_0x2b90('0x8')][_0x2b90('0x2d')](_0x4294ae);_0x5cffa1[_0x2b90('0x35')](_0x4294ae,()=>{const _0x24c75d=_0x4d45c7[_0x2b90('0x41')](_0x4c0d73[_0x2b90('0x14')][_0x2b90('0x4b')][_0x2b90('0x1b')])[0x0],_0x52cdce=_0x24c75d['findAncestor'](_0x2b90('0x48')),{column:_0x1686f9,row:_0xc87f22}=_0x4d45c7[_0x2b90('0x26')](_0x24c75d);let _0x48e3f8=[];if(_0x2b90('0x28')==_0x560949[_0x2b90('0x18')]){const _0x160e21=_0x4d45c7[_0x2b90('0xb')](_0x52cdce,{'startRow':_0xc87f22,'endRow':_0xc87f22,'includeAllSlots':!0x0});_0x48e3f8=Array['from'](_0x160e21)[_0x2b90('0x46')](_0x34c29c=>_0x34c29c[_0x2b90('0xe')]);}else{const _0x3558f8=_0x4d45c7[_0x2b90('0xb')](_0x52cdce,{'column':_0x1686f9,'includeAllSlots':!0x0});_0x48e3f8=Array['from'](_0x3558f8)[_0x2b90('0x46')](_0x2baab8=>_0x2baab8[_0x2b90('0xe')]);}_0x4c0d73['model'][_0x2b90('0x2e')](_0xad188=>{_0x5cffa1['markBlockFormat'](_0xad188[_0x2b90('0x25')](_0x24c75d),{'commandName':_0x4294ae,'commandParams':[]},_0x48e3f8,_0x4294ae);});});}_0x5cffa1[_0x2b90('0x20')][_0x2b90('0x36')](_0x19243f=>{const {data:_0x7bde98}=_0x19243f;if(_0x7bde98)return'mergeTableCells'==_0x7bde98[_0x2b90('0x21')]?{'type':'format','content':_0x150c1b(_0x2326cd,'*Merge\x20cells*')}:void 0x0;}),_0x5cffa1[_0x2b90('0x20')][_0x2b90('0x36')](_0x32b4b0=>{const {data:_0x3e604f}=_0x32b4b0;if(_0x3e604f)return'splitTableCellVertically'==_0x3e604f['commandName']?{'type':_0x2b90('0x15'),'content':_0x150c1b(_0x2326cd,'*Split\x20cell:*\x20vertically')}:'splitTableCellHorizontally'==_0x3e604f['commandName']?{'type':'format','content':_0x150c1b(_0x2326cd,_0x2b90('0x44'))}:void 0x0;});const _0x312499=_0x245faf[_0x2b90('0x6')]();for(const _0x45aea5 of[_0x2b90('0x39'),_0x2b90('0x4c'),_0x2b90('0x13'),_0x2b90('0x1c')])_0x5cffa1[_0x2b90('0x2a')]['registerCustomCallback'](_0x2b90('0x1d'),_0x45aea5,'accept',_0x312499);for(const _0x198d5e of['splitTableCellVertically','splitTableCellHorizontally'])_0x5cffa1[_0x2b90('0x2a')]['registerCustomCallback'](_0x2b90('0x1d'),_0x198d5e,'accept',_0x312499);_0x5cffa1[_0x2b90('0x2a')]['registerCustomCallback']('formatBlock',_0x2b90('0x2f'),_0x2b90('0x31'),_0x2f1713=>{_0x4c0d73[_0x2b90('0x14')][_0x2b90('0x2e')](_0x17b7f0=>{const _0x1ef690=Array[_0x2b90('0x42')](_0x291e3c['getRanges']())['map'](_0x45d101=>_0x568f5d[_0x2b90('0x10')](_0x45d101));_0x17b7f0[_0x2b90('0x3e')](_0x2f1713),_0x4c0d73[_0x2b90('0x8')][_0x2b90('0x2d')](_0x2b90('0x2f'))[_0x2b90('0x3')](),_0x4c0d73['execute']('mergeTableCells',{'forceDefaultExecution':!0x0});const _0x1c45bc=_0x1ef690[_0x2b90('0x47')](_0x21c769=>_0x2b90('0xd')!=_0x21c769[_0x2b90('0x1f')]['rootName']);_0x1c45bc[_0x2b90('0xf')]>0x0&&_0x17b7f0[_0x2b90('0x3e')](_0x1c45bc);for(const _0x7371a9 of _0x1ef690)_0x7371a9[_0x2b90('0x16')]();});});for(const _0x4622ea of[_0x2b90('0x39'),_0x2b90('0x13'),_0x2b90('0x1c'),_0x2b90('0x4c')]){const _0x5a2a63=_0x4c0d73[_0x2b90('0x8')][_0x2b90('0x2d')](_0x4622ea);_0x5a2a63['on'](_0x2b90('0x4a'),(_0x565a60,_0x433d41,_0x3f29a2)=>{if(_0x3f29a2){const _0x59ffea=_0x4c0d73[_0x2b90('0x14')]['document'][_0x2b90('0x1b')][_0x2b90('0x3f')]()[_0x2b90('0x22')]()[_0x2b90('0x17')](_0xcdf9cf=>_0xcdf9cf['is'](_0x2b90('0x11'),'tableCell'));this['_areMergableCells'](_0x5a2a63[_0x2b90('0xc')],_0x59ffea)||(_0x565a60['return']=!0x1,_0x565a60['stop']());}},{'priority':_0x2b90('0x37')});}}[_0x2b90('0x2b')](){const _0x1be891=this[_0x2b90('0x3b')]['commands'][_0x2b90('0x2d')]('mergeTableCells'),_0x3dee9e=this[_0x2b90('0x3b')][_0x2b90('0x2')][_0x2b90('0x2d')](_0x2b90('0x40'));if(!_0x1be891[_0x2b90('0x3d')])return!0x1;const _0x196422=_0x3dee9e[_0x2b90('0x41')](this[_0x2b90('0x3b')][_0x2b90('0x14')][_0x2b90('0x4b')][_0x2b90('0x1b')]);for(const _0x9438f5 of _0x196422)for(const _0x1922ed of _0x196422)if(_0x9438f5!=_0x1922ed&&!this[_0x2b90('0x27')](_0x9438f5,_0x1922ed))return!0x1;return!0x0;}[_0x2b90('0x27')](_0x4d67e0,_0x53bf30){const _0x1c650a=this['editor'][_0x2b90('0x2')]['get'](_0x2b90('0x45')),_0xdd6aaf=this['editor'][_0x2b90('0x14')][_0x2b90('0x25')](_0x4d67e0),_0x1b9653=this['editor'][_0x2b90('0x14')][_0x2b90('0x25')](_0x53bf30),_0xb69dec=new Set(),_0xc77dab=new Set();for(const _0x246c88 of _0x1c650a[_0x2b90('0x3a')]())if((_0x2b90('0x9')==_0x246c88[_0x2b90('0x0')]||'deletion'==_0x246c88['type']||_0x2b90('0x2f')==_0x246c88['subType'])&&_0x246c88[_0x2b90('0x1a')])for(const _0x20f56e of _0x246c88[_0x2b90('0x23')]())_0x20f56e[_0x2b90('0x34')](_0xdd6aaf,!0x0)&&_0xb69dec[_0x2b90('0x1')](_0x246c88[_0x2b90('0x0')]+':'+_0x246c88['author']['id']),_0x20f56e[_0x2b90('0x34')](_0x1b9653,!0x0)&&_0xc77dab[_0x2b90('0x1')](_0x246c88[_0x2b90('0x0')]+':'+_0x246c88[_0x2b90('0x3c')]['id']);if(_0xb69dec[_0x2b90('0xa')]!=_0xc77dab[_0x2b90('0xa')])return!0x1;for(const _0x46aec2 of _0xb69dec)if(!_0xc77dab['has'](_0x46aec2))return!0x1;return!0x0;}}
23
+ const _0x2e7a=['markMultiRangeBlockFormat','_tablePostFixingSubtypes','splitTableCellVertically','_isForcedDefaultExecutionBlock','isEnabled','afterInit','mergeTableCells','author','set:isEnabled','*Split\x20cell:*\x20vertically','has','add','size','formatBlock','mergeTableCellRight','tableCell','registerCustomCallback','document','format','table','type','commands','mergeTableCellLeft','selection','plugins','filter','direction','createRangeOn','element','cell','getRanges','rootName','TrackChangesEditing','enableCommand','_descriptionFactory','accept','from','createTableWalker','commandName','editor','requires','deletion','$graveyard','_areSelectedCellsMergable','setSelection','getAncestors','markBlockFormat','stop','execute','mergeTableCellUp','registerDescriptionCallback','findAncestor','value','_suggestionFactory','trackChanges','fromRange','*Merge\x20cells*','_areMergableCells','push','root','map','containsRange','getSelectionAffectedTableCells','TableUtils','change','refresh','TableEditing','find','return','mergeTableCellDown','splitTableCellHorizontally','insertion','length','get','highest','horizontally','getFirstPosition','model','subType','getCellLocation'];(function(_0xc33fe2,_0x2e7a25){const _0x5e350f=function(_0x436851){while(--_0x436851){_0xc33fe2['push'](_0xc33fe2['shift']());}};_0x5e350f(++_0x2e7a25);}(_0x2e7a,0x97));const _0x5e35=function(_0xc33fe2,_0x2e7a25){_0xc33fe2=_0xc33fe2-0x0;let _0x5e350f=_0x2e7a[_0xc33fe2];return _0x5e350f;};import{Plugin as _0x2a9382}from'ckeditor5/src/core';import _0x4b40a3 from'./table';import{LiveRange as _0x5d9d42}from'ckeditor5/src/engine';import{getTranslation as _0x4c45ff}from'../utils/common-translations';export default class dt extends _0x2a9382{static get[_0x5e35('0x31')](){return[_0x4b40a3];}[_0x5e35('0xe')](){const _0x585364=this[_0x5e35('0x30')],_0x43aedc=_0x585364[_0x5e35('0x6')]['document'][_0x5e35('0x20')],_0x16421f=_0x585364['locale'];if(!_0x585364['plugins'][_0x5e35('0x13')](_0x5e35('0x4b')))return;const _0x324880=_0x585364[_0x5e35('0x21')][_0x5e35('0x2')](_0x5e35('0x29')),_0x36786a=_0x585364[_0x5e35('0x21')]['get'](_0x5e35('0x48')),_0x3bdca2=_0x585364['plugins']['get'](_0x4b40a3);_0x3bdca2[_0x5e35('0xa')][_0x5e35('0x43')](_0x5e35('0xf')),_0x324880[_0x5e35('0x2a')]('mergeTableCells',()=>{const _0x2399cd=_0x36786a[_0x5e35('0x47')](_0x585364[_0x5e35('0x6')][_0x5e35('0x1a')]['selection']);_0x585364[_0x5e35('0x6')][_0x5e35('0x49')](()=>{_0x324880[_0x5e35('0x9')](_0x2399cd,{'commandName':_0x5e35('0xf'),'commandParams':[]},[],_0x5e35('0xf'));});}),_0x585364['commands'][_0x5e35('0x2')](_0x5e35('0xf'))['on']('execute',(_0x3f8a05,_0x4d69e3)=>{_0x585364[_0x5e35('0x1e')][_0x5e35('0x2')](_0x5e35('0x3f'))['value']&&(_0x4d69e3[_0x5e35('0x1')]>0x0&&_0x4d69e3[_0x4d69e3[_0x5e35('0x1')]-0x1]&&_0x4d69e3[_0x4d69e3[_0x5e35('0x1')]-0x1]['forceDefaultExecution']||_0x324880[_0x5e35('0xc')]||this[_0x5e35('0x34')]()||_0x3f8a05[_0x5e35('0x38')]());},{'priority':_0x5e35('0x3')});for(const _0x114372 of[_0x5e35('0x3a'),_0x5e35('0x17'),_0x5e35('0x4e'),_0x5e35('0x1f')]){const _0x397a89=_0x585364[_0x5e35('0x1e')][_0x5e35('0x2')](_0x114372);_0x324880[_0x5e35('0x2a')](_0x114372,()=>{const _0x5b6d42=_0x585364[_0x5e35('0x6')]['document'][_0x5e35('0x20')]['getFirstPosition']()[_0x5e35('0x36')]()[_0x5e35('0x4c')](_0xac2f65=>_0xac2f65['is'](_0x5e35('0x25'),_0x5e35('0x18'))),_0x1141aa=_0x397a89['value'];_0x585364[_0x5e35('0x6')][_0x5e35('0x49')](()=>{_0x324880[_0x5e35('0x9')]([_0x5b6d42,_0x1141aa],{'commandName':'mergeTableCells','commandParams':[]},[],'mergeTableCells');});});}for(const _0x58d334 of[_0x5e35('0xb'),_0x5e35('0x4f')]){const _0x2472cf=_0x585364[_0x5e35('0x1e')][_0x5e35('0x2')](_0x58d334);_0x324880['enableCommand'](_0x58d334,()=>{const _0x588411=_0x36786a[_0x5e35('0x47')](_0x585364[_0x5e35('0x6')][_0x5e35('0x1a')][_0x5e35('0x20')])[0x0],_0x57c10c=_0x588411[_0x5e35('0x3c')](_0x5e35('0x1c')),{column:_0x34ae32,row:_0x2d9533}=_0x36786a[_0x5e35('0x8')](_0x588411);let _0x6f43cb=[];if(_0x5e35('0x4')==_0x2472cf[_0x5e35('0x23')]){const _0x462241=_0x36786a[_0x5e35('0x2e')](_0x57c10c,{'startRow':_0x2d9533,'endRow':_0x2d9533,'includeAllSlots':!0x0});_0x6f43cb=Array[_0x5e35('0x2d')](_0x462241)[_0x5e35('0x45')](_0x4ffaa5=>_0x4ffaa5[_0x5e35('0x26')]);}else{const _0x3ce5c2=_0x36786a[_0x5e35('0x2e')](_0x57c10c,{'column':_0x34ae32,'includeAllSlots':!0x0});_0x6f43cb=Array['from'](_0x3ce5c2)[_0x5e35('0x45')](_0x5c8ac3=>_0x5c8ac3['cell']);}_0x585364['model']['change'](_0x277fe0=>{_0x324880[_0x5e35('0x37')](_0x277fe0[_0x5e35('0x24')](_0x588411),{'commandName':_0x58d334,'commandParams':[]},_0x6f43cb,_0x58d334);});});}_0x324880['_descriptionFactory'][_0x5e35('0x3b')](_0x59be23=>{const {data:_0x3d9dc8}=_0x59be23;if(_0x3d9dc8)return _0x5e35('0xf')==_0x3d9dc8[_0x5e35('0x2f')]?{'type':_0x5e35('0x1b'),'content':_0x4c45ff(_0x16421f,_0x5e35('0x41'))}:void 0x0;}),_0x324880[_0x5e35('0x2b')][_0x5e35('0x3b')](_0x1f8e8a=>{const {data:_0x253501}=_0x1f8e8a;if(_0x253501)return _0x5e35('0xb')==_0x253501[_0x5e35('0x2f')]?{'type':_0x5e35('0x1b'),'content':_0x4c45ff(_0x16421f,_0x5e35('0x12'))}:_0x5e35('0x4f')==_0x253501[_0x5e35('0x2f')]?{'type':_0x5e35('0x1b'),'content':_0x4c45ff(_0x16421f,'*Split\x20cell:*\x20horizontally')}:void 0x0;});const _0x322584=_0x3bdca2['_acceptFormatSuggestionCallbackFactory']();for(const _0x15855a of['mergeTableCellUp',_0x5e35('0x17'),_0x5e35('0x4e'),_0x5e35('0x1f')])_0x324880[_0x5e35('0x3e')][_0x5e35('0x19')](_0x5e35('0x16'),_0x15855a,_0x5e35('0x2c'),_0x322584);for(const _0xef8135 of[_0x5e35('0xb'),_0x5e35('0x4f')])_0x324880[_0x5e35('0x3e')][_0x5e35('0x19')](_0x5e35('0x16'),_0xef8135,_0x5e35('0x2c'),_0x322584);_0x324880[_0x5e35('0x3e')]['registerCustomCallback'](_0x5e35('0x16'),_0x5e35('0xf'),_0x5e35('0x2c'),_0x22b4fb=>{_0x585364['model'][_0x5e35('0x49')](_0x545ea7=>{const _0x2206d4=Array['from'](_0x43aedc[_0x5e35('0x27')]())[_0x5e35('0x45')](_0x383569=>_0x5d9d42[_0x5e35('0x40')](_0x383569));_0x545ea7[_0x5e35('0x35')](_0x22b4fb),_0x585364[_0x5e35('0x1e')][_0x5e35('0x2')](_0x5e35('0xf'))[_0x5e35('0x4a')](),_0x585364[_0x5e35('0x39')](_0x5e35('0xf'),{'forceDefaultExecution':!0x0});const _0x3ccd1f=_0x2206d4[_0x5e35('0x22')](_0x5917c1=>_0x5e35('0x33')!=_0x5917c1[_0x5e35('0x44')][_0x5e35('0x28')]);_0x3ccd1f[_0x5e35('0x1')]>0x0&&_0x545ea7[_0x5e35('0x35')](_0x3ccd1f);for(const _0x3ed67d of _0x2206d4)_0x3ed67d['detach']();});});for(const _0x2b79a0 of['mergeTableCellUp',_0x5e35('0x4e'),_0x5e35('0x1f'),_0x5e35('0x17')]){const _0x1a78c7=_0x585364[_0x5e35('0x1e')][_0x5e35('0x2')](_0x2b79a0);_0x1a78c7['on'](_0x5e35('0x11'),(_0x24638a,_0x5cf10d,_0x2e0b21)=>{if(_0x2e0b21){const _0x5a927e=_0x585364[_0x5e35('0x6')][_0x5e35('0x1a')][_0x5e35('0x20')][_0x5e35('0x5')]()[_0x5e35('0x36')]()[_0x5e35('0x4c')](_0x5cba8b=>_0x5cba8b['is'](_0x5e35('0x25'),'tableCell'));this[_0x5e35('0x42')](_0x1a78c7[_0x5e35('0x3d')],_0x5a927e)||(_0x24638a[_0x5e35('0x4d')]=!0x1,_0x24638a[_0x5e35('0x38')]());}},{'priority':'low'});}}[_0x5e35('0x34')](){const _0x588d9b=this[_0x5e35('0x30')]['commands'][_0x5e35('0x2')](_0x5e35('0xf')),_0x29f140=this[_0x5e35('0x30')][_0x5e35('0x21')][_0x5e35('0x2')]('TableUtils');if(!_0x588d9b[_0x5e35('0xd')])return!0x1;const _0x5627b7=_0x29f140[_0x5e35('0x47')](this[_0x5e35('0x30')][_0x5e35('0x6')][_0x5e35('0x1a')]['selection']);for(const _0x556aba of _0x5627b7)for(const _0x592662 of _0x5627b7)if(_0x556aba!=_0x592662&&!this[_0x5e35('0x42')](_0x556aba,_0x592662))return!0x1;return!0x0;}[_0x5e35('0x42')](_0x362a04,_0xc6f3bf){const _0x557543=this[_0x5e35('0x30')]['plugins'][_0x5e35('0x2')](_0x5e35('0x29')),_0x33504a=this[_0x5e35('0x30')]['model']['createRangeOn'](_0x362a04),_0x582605=this[_0x5e35('0x30')]['model'][_0x5e35('0x24')](_0xc6f3bf),_0x2b7868=new Set(),_0x4c8168=new Set();for(const _0x8bc6b5 of _0x557543['getSuggestions']())if((_0x5e35('0x0')==_0x8bc6b5['type']||_0x5e35('0x32')==_0x8bc6b5[_0x5e35('0x1d')]||'mergeTableCells'==_0x8bc6b5[_0x5e35('0x7')])&&_0x8bc6b5['isInContent'])for(const _0x49ee9c of _0x8bc6b5[_0x5e35('0x27')]())_0x49ee9c[_0x5e35('0x46')](_0x33504a,!0x0)&&_0x2b7868[_0x5e35('0x14')](_0x8bc6b5[_0x5e35('0x1d')]+':'+_0x8bc6b5[_0x5e35('0x10')]['id']),_0x49ee9c[_0x5e35('0x46')](_0x582605,!0x0)&&_0x4c8168[_0x5e35('0x14')](_0x8bc6b5['type']+':'+_0x8bc6b5['author']['id']);if(_0x2b7868[_0x5e35('0x15')]!=_0x4c8168['size'])return!0x1;for(const _0x1e5a2a of _0x2b7868)if(!_0x4c8168[_0x5e35('0x13')](_0x1e5a2a))return!0x1;return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x59f1=['TrackChangesEditing','locale','_descriptionFactory','plugins','get','ELEMENT_TABLE_OF_CONTENTS','enableCommand','afterInit','commands','editor','registerElementLabel','insertTableOfContents','tableOfContents'];(function(_0x26537a,_0x59f155){const _0x1d8c4b=function(_0x28a133){while(--_0x28a133){_0x26537a['push'](_0x26537a['shift']());}};_0x1d8c4b(++_0x59f155);}(_0x59f1,0x105));const _0x1d8c=function(_0x26537a,_0x59f155){_0x26537a=_0x26537a-0x0;let _0x1d8c4b=_0x59f1[_0x26537a];return _0x1d8c4b;};import{Plugin as _0x4526a7}from'ckeditor5/src/core';import{getTranslation as _0x1086b5}from'../utils/common-translations';export default class bt extends _0x4526a7{[_0x1d8c('0x6')](){const _0x24fbab=this[_0x1d8c('0x8')];if(!_0x24fbab[_0x1d8c('0x7')][_0x1d8c('0x3')]('insertTableOfContents'))return;_0x24fbab['plugins'][_0x1d8c('0x3')](_0x1d8c('0xc'))[_0x1d8c('0x5')](_0x1d8c('0xa'));const _0x479cf2=_0x24fbab[_0x1d8c('0x2')][_0x1d8c('0x3')](_0x1d8c('0xc')),_0x20a42f=_0x24fbab[_0x1d8c('0x0')];_0x479cf2[_0x1d8c('0x1')][_0x1d8c('0x9')](_0x1d8c('0xb'),_0x18b75e=>_0x1086b5(_0x20a42f,_0x1d8c('0x4'),_0x18b75e));}}
23
+ const _0xb426=['enableCommand','ELEMENT_TABLE_OF_CONTENTS','plugins','insertTableOfContents','get','editor','commands','locale','TrackChangesEditing','afterInit','tableOfContents'];(function(_0x133951,_0xb42619){const _0x53699f=function(_0x2350b5){while(--_0x2350b5){_0x133951['push'](_0x133951['shift']());}};_0x53699f(++_0xb42619);}(_0xb426,0xb4));const _0x5369=function(_0x133951,_0xb42619){_0x133951=_0x133951-0x0;let _0x53699f=_0xb426[_0x133951];return _0x53699f;};import{Plugin as _0x1f40a0}from'ckeditor5/src/core';import{getTranslation as _0x1669af}from'../utils/common-translations';export default class bt extends _0x1f40a0{[_0x5369('0x5')](){const _0x93c2d2=this[_0x5369('0x1')];if(!_0x93c2d2[_0x5369('0x2')][_0x5369('0x0')](_0x5369('0xa')))return;_0x93c2d2['plugins'][_0x5369('0x0')](_0x5369('0x4'))[_0x5369('0x7')](_0x5369('0xa'));const _0x219700=_0x93c2d2[_0x5369('0x9')][_0x5369('0x0')](_0x5369('0x4')),_0x1716b9=_0x93c2d2[_0x5369('0x3')];_0x219700['_descriptionFactory']['registerElementLabel'](_0x5369('0x6'),_0x4c1c9a=>_0x1669af(_0x1716b9,_0x5369('0x8'),_0x4c1c9a));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5ee1=['registerCustomCallback','commandParams','TrackChangesEditing','tableCellHeight','_descriptionFactory','nodeAfter','getSuggestions','selection','discard','change','_suggestionFactory','getContainedElement','tableWidth','tableCellBorderStyle','handleDiscardAction','_getSuggestion','locale','tableCellVerticalAlignment','format','handleSuggestionDescription','tableCellBackgroundColor','TablePropertiesEditing','join','TrackChangesTableProperties','enqueueChange','has','tableProperties','removeAttribute','document','tableCellProperties','model','table','tableBorderColor','get','tableCellBorderWidth','tableBackgroundColor','plugins','registerDescriptionCallback','setAttribute','TableUtils','getAttribute','_handlePropertyChange','formatBlock','markBlockFormat','enableCommand','pluginName','afterInit','*Format:*\x20change\x20table\x20properties','editor','tableCellWidth'];(function(_0x107f2c,_0x5ee136){const _0x4f29af=function(_0x2b1a44){while(--_0x2b1a44){_0x107f2c['push'](_0x107f2c['shift']());}};_0x4f29af(++_0x5ee136);}(_0x5ee1,0xa9));const _0x4f29=function(_0x107f2c,_0x5ee136){_0x107f2c=_0x107f2c-0x0;let _0x4f29af=_0x5ee1[_0x107f2c];return _0x4f29af;};import{Plugin as _0x48849a}from'ckeditor5/src/core';import{getTranslation as _0x453e3e}from'../utils/common-translations';export default class Ct extends _0x48849a{constructor(_0x351fd2){super(_0x351fd2),this[_0x4f29('0x7')]=[_0x4f29('0xd'),'tableBorderStyle','tableBorderWidth','tableAlignment',_0x4f29('0x2b'),'tableHeight',_0x4f29('0x10')],this[_0x4f29('0xa')]=['tableCellBorderColor',_0x4f29('0x2c'),_0x4f29('0xf'),'tableCellPadding',_0x4f29('0x1e'),_0x4f29('0x22'),_0x4f29('0x1'),'tableCellHorizontalAlignment',_0x4f29('0x30')];}static get[_0x4f29('0x1a')](){return _0x4f29('0x4');}[_0x4f29('0x1b')](){const _0x1851d5=this['editor']['plugins'][_0x4f29('0xe')](_0x4f29('0x21'));if(this[_0x4f29('0x1d')][_0x4f29('0x11')][_0x4f29('0x6')](_0x4f29('0x2'))){for(const _0x1e54a1 of this[_0x4f29('0x7')])_0x1851d5['enableCommand'](_0x1e54a1,(_0x43808f,_0x23d1b3)=>{const _0x5c4943=this[_0x4f29('0x1d')][_0x4f29('0xb')]['document'][_0x4f29('0x26')]['getFirstPosition']()['findAncestor'](_0x4f29('0xc'));this[_0x4f29('0x16')](_0x1e54a1,[_0x5c4943],this[_0x4f29('0x7')],_0x4f29('0x7'),_0x43808f,_0x23d1b3);});_0x1851d5[_0x4f29('0x29')]['registerCustomCallback']('formatBlock',_0x4f29('0x7'),'accept',_0x1851d5[_0x4f29('0x29')]['getSuggestionCallback'](_0x4f29('0x17'),null,_0x4f29('0x27'))),_0x1851d5['_suggestionFactory']['registerCustomCallback'](_0x4f29('0x17'),'tableProperties',_0x4f29('0x27'),(_0x4e329a,_0x5da964)=>this[_0x4f29('0x2d')](this[_0x4f29('0x7')],_0x4e329a,_0x5da964)),_0x1851d5[_0x4f29('0x29')][_0x4f29('0x1f')](_0x4f29('0x17'),_0x4f29('0x7'),_0x4f29('0x3'),()=>!0x1);}if(this[_0x4f29('0x1d')][_0x4f29('0x11')][_0x4f29('0x6')]('TableCellPropertiesEditing')){for(const _0x4b4f45 of this[_0x4f29('0xa')])_0x1851d5[_0x4f29('0x19')](_0x4b4f45,(_0x5abef9,_0xac08ce)=>{const _0x52a99c=this[_0x4f29('0x1d')][_0x4f29('0x11')][_0x4f29('0xe')](_0x4f29('0x14'))['getSelectionAffectedTableCells'](this[_0x4f29('0x1d')][_0x4f29('0xb')][_0x4f29('0x9')][_0x4f29('0x26')]);this[_0x4f29('0x16')](_0x4b4f45,_0x52a99c,this[_0x4f29('0xa')],'tableCellProperties',_0x5abef9,_0xac08ce);});_0x1851d5[_0x4f29('0x29')][_0x4f29('0x1f')](_0x4f29('0x17'),'tableCellProperties','accept',_0x1851d5[_0x4f29('0x29')]['getSuggestionCallback'](_0x4f29('0x17'),null,_0x4f29('0x27'))),_0x1851d5[_0x4f29('0x29')][_0x4f29('0x1f')](_0x4f29('0x17'),_0x4f29('0xa'),_0x4f29('0x27'),(_0x3535b4,_0x577011)=>this[_0x4f29('0x2d')](this['tableCellProperties'],_0x3535b4,_0x577011)),_0x1851d5[_0x4f29('0x29')][_0x4f29('0x1f')]('formatBlock',_0x4f29('0xa'),'join',()=>!0x1);}_0x1851d5[_0x4f29('0x23')][_0x4f29('0x12')](_0x4194d5=>this[_0x4f29('0x0')](_0x4194d5));}[_0x4f29('0x16')](_0x43bf57,_0x2ed874,_0x28a86e,_0x40540d,_0x501cc1,_0x5abe11){const _0x4f5227=this['editor']['plugins'][_0x4f29('0xe')]('TrackChangesEditing');this['editor'][_0x4f29('0xb')][_0x4f29('0x5')](_0x5abe11['batch'],()=>{for(const _0x2dee8a of _0x2ed874){if(this[_0x4f29('0x2e')](_0x2dee8a,_0x40540d))_0x501cc1(_0x5abe11);else{const _0x4dc06c={};for(const _0x510abb of _0x28a86e){const _0x41482b=_0x2dee8a[_0x4f29('0x15')](_0x510abb);void 0x0!==_0x41482b&&(_0x4dc06c[_0x510abb]=_0x41482b);}_0x501cc1(_0x5abe11),_0x4f5227[_0x4f29('0x18')](_0x2dee8a,{'commandParams':[_0x4dc06c]},[],_0x40540d);}}});}[_0x4f29('0x2d')](_0x55b533,_0xc7138e,_0x36453b){const _0x478551=_0xc7138e[0x0]['start'][_0x4f29('0x24')],_0x1c8153=_0x36453b[_0x4f29('0x20')][0x0];this[_0x4f29('0x1d')][_0x4f29('0xb')][_0x4f29('0x28')](_0x5d5706=>{for(const _0x2c9e97 of _0x55b533)void 0x0!==_0x1c8153[_0x2c9e97]?_0x5d5706[_0x4f29('0x13')](_0x2c9e97,_0x1c8153[_0x2c9e97],_0x478551):_0x5d5706[_0x4f29('0x8')](_0x2c9e97,_0x478551);});}['handleSuggestionDescription'](_0x54302a){if(_0x54302a['data'])switch(_0x54302a['subType']){case _0x4f29('0x7'):return{'type':_0x4f29('0x31'),'content':_0x453e3e(this[_0x4f29('0x1d')][_0x4f29('0x2f')],_0x4f29('0x1c'))};case _0x4f29('0xa'):return{'type':_0x4f29('0x31'),'content':_0x453e3e(this[_0x4f29('0x1d')][_0x4f29('0x2f')],'*Format:*\x20change\x20table\x20cell\x20properties')};}}[_0x4f29('0x2e')](_0x14e42c,_0x2506d4){const _0x396dd1=this[_0x4f29('0x1d')][_0x4f29('0x11')]['get'](_0x4f29('0x21'));for(const _0x5328c9 of _0x396dd1[_0x4f29('0x25')]({'skipNotAttached':!0x0})){const _0x46a3ec=_0x5328c9[_0x4f29('0x2a')]();if(_0x5328c9['subType']===_0x2506d4&&_0x46a3ec===_0x14e42c)return _0x5328c9;}return null;}}
23
+ const _0x5da5=['getSelectionAffectedTableCells','setAttribute','enqueueChange','discard','subType','*Format:*\x20change\x20table\x20properties','markBlockFormat','nodeAfter','format','table','tableBackgroundColor','handleDiscardAction','tableCellHorizontalAlignment','tableCellBorderColor','tableCellBackgroundColor','plugins','_handlePropertyChange','_getSuggestion','selection','TablePropertiesEditing','tableAlignment','findAncestor','enableCommand','document','tableCellProperties','getAttribute','model','formatBlock','getFirstPosition','tableCellPadding','tableCellHeight','has','data','registerDescriptionCallback','join','_suggestionFactory','start','tableCellWidth','tableWidth','editor','TrackChangesTableProperties','get','tableProperties','accept','afterInit','pluginName','registerCustomCallback','_descriptionFactory','commandParams','tableBorderColor','TableUtils','tableCellBorderStyle','TrackChangesEditing','tableCellBorderWidth','tableBorderStyle','getSuggestionCallback','change'];(function(_0x55c5bb,_0x5da532){const _0x59044c=function(_0x5a7437){while(--_0x5a7437){_0x55c5bb['push'](_0x55c5bb['shift']());}};_0x59044c(++_0x5da532);}(_0x5da5,0x1cc));const _0x5904=function(_0x55c5bb,_0x5da532){_0x55c5bb=_0x55c5bb-0x0;let _0x59044c=_0x5da5[_0x55c5bb];return _0x59044c;};import{Plugin as _0x285160}from'ckeditor5/src/core';import{getTranslation as _0xe4fcb1}from'../utils/common-translations';export default class Ct extends _0x285160{constructor(_0x185a73){super(_0x185a73),this[_0x5904('0x26')]=[_0x5904('0x2d'),_0x5904('0x32'),'tableBorderWidth',_0x5904('0x10'),_0x5904('0x22'),'tableHeight',_0x5904('0x6')],this[_0x5904('0x14')]=[_0x5904('0x9'),_0x5904('0x2f'),_0x5904('0x31'),_0x5904('0x19'),_0x5904('0x21'),_0x5904('0x1a'),_0x5904('0xa'),_0x5904('0x8'),'tableCellVerticalAlignment'];}static get[_0x5904('0x29')](){return _0x5904('0x24');}[_0x5904('0x28')](){const _0x4c1b20=this[_0x5904('0x23')][_0x5904('0xb')][_0x5904('0x25')](_0x5904('0x30'));if(this[_0x5904('0x23')][_0x5904('0xb')][_0x5904('0x1b')](_0x5904('0xf'))){for(const _0x5d98d2 of this[_0x5904('0x26')])_0x4c1b20[_0x5904('0x12')](_0x5d98d2,(_0x37dea4,_0x4d98f1)=>{const _0x5c807d=this[_0x5904('0x23')][_0x5904('0x16')][_0x5904('0x13')][_0x5904('0xe')][_0x5904('0x18')]()[_0x5904('0x11')](_0x5904('0x5'));this[_0x5904('0xc')](_0x5d98d2,[_0x5c807d],this['tableProperties'],_0x5904('0x26'),_0x37dea4,_0x4d98f1);});_0x4c1b20['_suggestionFactory'][_0x5904('0x2a')](_0x5904('0x17'),_0x5904('0x26'),_0x5904('0x27'),_0x4c1b20[_0x5904('0x1f')][_0x5904('0x33')](_0x5904('0x17'),null,_0x5904('0x38'))),_0x4c1b20[_0x5904('0x1f')][_0x5904('0x2a')](_0x5904('0x17'),_0x5904('0x26'),_0x5904('0x38'),(_0x1bea14,_0x5ecfc7)=>this[_0x5904('0x7')](this[_0x5904('0x26')],_0x1bea14,_0x5ecfc7)),_0x4c1b20[_0x5904('0x1f')][_0x5904('0x2a')](_0x5904('0x17'),'tableProperties',_0x5904('0x1e'),()=>!0x1);}if(this[_0x5904('0x23')][_0x5904('0xb')]['has']('TableCellPropertiesEditing')){for(const _0x4a8983 of this[_0x5904('0x14')])_0x4c1b20['enableCommand'](_0x4a8983,(_0x1f82b9,_0x8c69c2)=>{const _0x624b74=this[_0x5904('0x23')]['plugins'][_0x5904('0x25')](_0x5904('0x2e'))[_0x5904('0x35')](this[_0x5904('0x23')][_0x5904('0x16')][_0x5904('0x13')]['selection']);this[_0x5904('0xc')](_0x4a8983,_0x624b74,this[_0x5904('0x14')],_0x5904('0x14'),_0x1f82b9,_0x8c69c2);});_0x4c1b20[_0x5904('0x1f')][_0x5904('0x2a')](_0x5904('0x17'),_0x5904('0x14'),_0x5904('0x27'),_0x4c1b20[_0x5904('0x1f')][_0x5904('0x33')](_0x5904('0x17'),null,_0x5904('0x38'))),_0x4c1b20['_suggestionFactory'][_0x5904('0x2a')]('formatBlock',_0x5904('0x14'),'discard',(_0x491fe2,_0xe2b6f2)=>this[_0x5904('0x7')](this[_0x5904('0x14')],_0x491fe2,_0xe2b6f2)),_0x4c1b20[_0x5904('0x1f')][_0x5904('0x2a')](_0x5904('0x17'),'tableCellProperties','join',()=>!0x1);}_0x4c1b20[_0x5904('0x2b')][_0x5904('0x1d')](_0x4f422e=>this['handleSuggestionDescription'](_0x4f422e));}['_handlePropertyChange'](_0x4d94c5,_0xb7acae,_0x5cf4bd,_0x3fbb93,_0x179d4f,_0x4319db){const _0xce118a=this[_0x5904('0x23')]['plugins'][_0x5904('0x25')]('TrackChangesEditing');this[_0x5904('0x23')]['model'][_0x5904('0x37')](_0x4319db['batch'],()=>{for(const _0x2dddf4 of _0xb7acae){if(this['_getSuggestion'](_0x2dddf4,_0x3fbb93))_0x179d4f(_0x4319db);else{const _0x2d2bfd={};for(const _0xc403 of _0x5cf4bd){const _0x5ce5c8=_0x2dddf4[_0x5904('0x15')](_0xc403);void 0x0!==_0x5ce5c8&&(_0x2d2bfd[_0xc403]=_0x5ce5c8);}_0x179d4f(_0x4319db),_0xce118a[_0x5904('0x2')](_0x2dddf4,{'commandParams':[_0x2d2bfd]},[],_0x3fbb93);}}});}[_0x5904('0x7')](_0x15d4a9,_0x21e156,_0x2279f0){const _0x5c7b13=_0x21e156[0x0][_0x5904('0x20')][_0x5904('0x3')],_0x27b363=_0x2279f0[_0x5904('0x2c')][0x0];this[_0x5904('0x23')]['model'][_0x5904('0x34')](_0x2094c2=>{for(const _0x328009 of _0x15d4a9)void 0x0!==_0x27b363[_0x328009]?_0x2094c2[_0x5904('0x36')](_0x328009,_0x27b363[_0x328009],_0x5c7b13):_0x2094c2['removeAttribute'](_0x328009,_0x5c7b13);});}['handleSuggestionDescription'](_0x2326de){if(_0x2326de[_0x5904('0x1c')])switch(_0x2326de['subType']){case _0x5904('0x26'):return{'type':_0x5904('0x4'),'content':_0xe4fcb1(this[_0x5904('0x23')]['locale'],_0x5904('0x1'))};case _0x5904('0x14'):return{'type':_0x5904('0x4'),'content':_0xe4fcb1(this[_0x5904('0x23')]['locale'],'*Format:*\x20change\x20table\x20cell\x20properties')};}}[_0x5904('0xd')](_0x5aabd2,_0x1663cc){const _0x5256eb=this['editor']['plugins']['get'](_0x5904('0x30'));for(const _0x30e6e3 of _0x5256eb['getSuggestions']({'skipNotAttached':!0x0})){const _0x3fa8ce=_0x30e6e3['getContainedElement']();if(_0x30e6e3[_0x5904('0x0')]===_0x1663cc&&_0x3fa8ce===_0x5aabd2)return _0x30e6e3;}return null;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1adc=['afterInit','editor','TrackChangesEditing','plugins','get','Template'];(function(_0xc45a04,_0x1adc03){const _0x51f092=function(_0x41efd8){while(--_0x41efd8){_0xc45a04['push'](_0xc45a04['shift']());}};_0x51f092(++_0x1adc03);}(_0x1adc,0x97));const _0x51f0=function(_0xc45a04,_0x1adc03){_0xc45a04=_0xc45a04-0x0;let _0x51f092=_0x1adc[_0xc45a04];return _0x51f092;};import{Plugin as _0x45ebac}from'ckeditor5/src/core';export default class yt extends _0x45ebac{[_0x51f0('0x5')](){const _0x44c1e6=this[_0x51f0('0x0')];_0x44c1e6[_0x51f0('0x2')]['has'](_0x51f0('0x4'))&&_0x44c1e6['plugins'][_0x51f0('0x3')](_0x51f0('0x1'))['enableCommand']('insertTemplate');}}
23
+ const _0xaafc=['afterInit','insertTemplate','enableCommand','editor','Template','get','has','TrackChangesEditing','plugins'];(function(_0x48a26e,_0xaafcfa){const _0x33b165=function(_0x4d7edc){while(--_0x4d7edc){_0x48a26e['push'](_0x48a26e['shift']());}};_0x33b165(++_0xaafcfa);}(_0xaafc,0x195));const _0x33b1=function(_0x48a26e,_0xaafcfa){_0x48a26e=_0x48a26e-0x0;let _0x33b165=_0xaafc[_0x48a26e];return _0x33b165;};import{Plugin as _0x280fca}from'ckeditor5/src/core';export default class yt extends _0x280fca{[_0x33b1('0x0')](){const _0x529f9b=this[_0x33b1('0x3')];_0x529f9b['plugins'][_0x33b1('0x6')](_0x33b1('0x4'))&&_0x529f9b[_0x33b1('0x8')][_0x33b1('0x5')](_0x33b1('0x7'))[_0x33b1('0x2')](_0x33b1('0x1'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x375e=['title-content','isCollapsed','removeMarker','differ','isEqual','start','plugins','nodeBefore','from','locale','Title','getChangedMarkers','_descriptionFactory','TrackChangesEditing','has','getNearestSelectionRange','newRange','afterInit','model','document','end','ELEMENT_TITLE','updateMarker','element','get','editor','createRange','suggestion'];(function(_0x59f51a,_0x375e0b){const _0x1701b7=function(_0x26974d){while(--_0x26974d){_0x59f51a['push'](_0x59f51a['shift']());}};_0x1701b7(++_0x375e0b);}(_0x375e,0x1de));const _0x1701=function(_0x59f51a,_0x375e0b){_0x59f51a=_0x59f51a-0x0;let _0x1701b7=_0x375e[_0x59f51a];return _0x1701b7;};import{Plugin as _0x26b2e0}from'ckeditor5/src/core';import{getTranslation as _0x30334d}from'../utils/common-translations';export default class St extends _0x26b2e0{[_0x1701('0xf')](){const _0x4b9041=this[_0x1701('0x17')];if(!_0x4b9041['plugins'][_0x1701('0xc')](_0x1701('0x8')))return;const _0x1752e0=_0x4b9041[_0x1701('0x4')][_0x1701('0x16')](_0x1701('0xb'));_0x1752e0[_0x1701('0xa')]['registerElementLabel']('title-content',()=>_0x30334d(_0x4b9041[_0x1701('0x7')],_0x1701('0x13'))),_0x4b9041[_0x1701('0x10')][_0x1701('0x11')]['registerPostFixer'](_0x126219=>{let _0x4b1055=!0x1;const _0x2d8aba=Array[_0x1701('0x6')](_0x4b9041[_0x1701('0x10')][_0x1701('0x11')][_0x1701('0x1')][_0x1701('0x9')]());for(const {name:_0x16c1db,data:_0xeab9f2}of _0x2d8aba){const {group:_0x1517b0}=_0x1752e0['_splitMarkerName'](_0x16c1db);if(_0x1701('0x19')!==_0x1517b0||!_0xeab9f2['newRange'])continue;const _0x9b8314=_0xeab9f2[_0x1701('0xe')],_0x5c1537=_0x9b8314[_0x1701('0x12')][_0x1701('0x5')];if(!_0x5c1537||!_0x5c1537['is'](_0x1701('0x15'),_0x1701('0x1a')))continue;if(!_0x9b8314['start']['isTouching'](_0x9b8314[_0x1701('0x12')]))continue;const _0x17fe05=_0x4b9041[_0x1701('0x10')]['schema'][_0x1701('0xd')](_0x9b8314[_0x1701('0x12')],'forward');if(_0x17fe05&&_0x17fe05[_0x1701('0x1b')]){const _0x433320=_0x126219[_0x1701('0x18')](_0x9b8314[_0x1701('0x3')],_0x17fe05[_0x1701('0x3')]);_0x433320[_0x1701('0x2')](_0x9b8314)||(_0x126219[_0x1701('0x14')](_0x16c1db,{'range':_0x433320}),_0x4b1055=!0x0);}_0x4b1055||(_0x126219[_0x1701('0x0')](_0x16c1db),_0x4b1055=!0x0);}return _0x4b1055;});}}
23
+ const _0x3c7a=['registerPostFixer','nodeBefore','isEqual','editor','getNearestSelectionRange','title-content','document','schema','_descriptionFactory','newRange','differ','createRange','_splitMarkerName','forward','end','ELEMENT_TITLE','start','isCollapsed','TrackChangesEditing','locale','element','get','afterInit','Title','plugins','model','isTouching','registerElementLabel'];(function(_0xc8a335,_0x3c7a45){const _0x23b8ff=function(_0x422025){while(--_0x422025){_0xc8a335['push'](_0xc8a335['shift']());}};_0x23b8ff(++_0x3c7a45);}(_0x3c7a,0x98));const _0x23b8=function(_0xc8a335,_0x3c7a45){_0xc8a335=_0xc8a335-0x0;let _0x23b8ff=_0x3c7a[_0xc8a335];return _0x23b8ff;};import{Plugin as _0x58b68b}from'ckeditor5/src/core';import{getTranslation as _0xf4f21d}from'../utils/common-translations';export default class St extends _0x58b68b{[_0x23b8('0xa')](){const _0x1bb2d9=this[_0x23b8('0x13')];if(!_0x1bb2d9['plugins']['has'](_0x23b8('0xb')))return;const _0x429179=_0x1bb2d9[_0x23b8('0xc')][_0x23b8('0x9')](_0x23b8('0x6'));_0x429179[_0x23b8('0x18')][_0x23b8('0xf')](_0x23b8('0x15'),()=>_0xf4f21d(_0x1bb2d9[_0x23b8('0x7')],_0x23b8('0x3'))),_0x1bb2d9[_0x23b8('0xd')][_0x23b8('0x16')][_0x23b8('0x10')](_0x5f22a9=>{let _0x559b81=!0x1;const _0x2e3905=Array['from'](_0x1bb2d9[_0x23b8('0xd')][_0x23b8('0x16')][_0x23b8('0x1a')]['getChangedMarkers']());for(const {name:_0xe530ac,data:_0x17cb79}of _0x2e3905){const {group:_0x68b709}=_0x429179[_0x23b8('0x0')](_0xe530ac);if('suggestion'!==_0x68b709||!_0x17cb79['newRange'])continue;const _0x8effc4=_0x17cb79[_0x23b8('0x19')],_0x324bd8=_0x8effc4[_0x23b8('0x2')][_0x23b8('0x11')];if(!_0x324bd8||!_0x324bd8['is'](_0x23b8('0x8'),'title-content'))continue;if(!_0x8effc4[_0x23b8('0x4')][_0x23b8('0xe')](_0x8effc4[_0x23b8('0x2')]))continue;const _0xe91583=_0x1bb2d9['model'][_0x23b8('0x17')][_0x23b8('0x14')](_0x8effc4['end'],_0x23b8('0x1'));if(_0xe91583&&_0xe91583[_0x23b8('0x5')]){const _0x125902=_0x5f22a9[_0x23b8('0x1b')](_0x8effc4[_0x23b8('0x4')],_0xe91583[_0x23b8('0x4')]);_0x125902[_0x23b8('0x12')](_0x8effc4)||(_0x5f22a9['updateMarker'](_0xe530ac,{'range':_0x125902}),_0x559b81=!0x0);}_0x559b81||(_0x5f22a9['removeMarker'](_0xe530ac),_0x559b81=!0x0);}return _0x559b81;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x313f=['undo','redo','get','plugins','editor','enableCommand'];(function(_0x35e011,_0x313f21){const _0x47b6ea=function(_0x2ba9ff){while(--_0x2ba9ff){_0x35e011['push'](_0x35e011['shift']());}};_0x47b6ea(++_0x313f21);}(_0x313f,0x146));const _0x47b6=function(_0x35e011,_0x313f21){_0x35e011=_0x35e011-0x0;let _0x47b6ea=_0x313f[_0x35e011];return _0x47b6ea;};import{Plugin as _0x44babe}from'ckeditor5/src/core';export default class It extends _0x44babe{['afterInit'](){const _0x4521ea=this[_0x47b6('0x2')],_0x1bb8dc=_0x4521ea[_0x47b6('0x1')][_0x47b6('0x0')]('TrackChangesEditing');_0x4521ea[_0x47b6('0x1')]['has']('UndoEditing')&&(_0x1bb8dc[_0x47b6('0x3')](_0x47b6('0x4')),_0x1bb8dc['enableCommand'](_0x47b6('0x5')));}}
23
+ const _0x4860=['plugins','TrackChangesEditing','UndoEditing','enableCommand','undo','has'];(function(_0x35e95e,_0x486023){const _0x1e7e97=function(_0x8fee6e){while(--_0x8fee6e){_0x35e95e['push'](_0x35e95e['shift']());}};_0x1e7e97(++_0x486023);}(_0x4860,0x146));const _0x1e7e=function(_0x35e95e,_0x486023){_0x35e95e=_0x35e95e-0x0;let _0x1e7e97=_0x4860[_0x35e95e];return _0x1e7e97;};import{Plugin as _0x1d4f8f}from'ckeditor5/src/core';export default class It extends _0x1d4f8f{['afterInit'](){const _0x4b4940=this['editor'],_0x3a4b23=_0x4b4940[_0x1e7e('0x4')]['get'](_0x1e7e('0x5'));_0x4b4940[_0x1e7e('0x4')][_0x1e7e('0x3')](_0x1e7e('0x0'))&&(_0x3a4b23[_0x1e7e('0x1')](_0x1e7e('0x2')),_0x3a4b23[_0x1e7e('0x1')]('redo'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4289=['isAtEnd','test','markerName','markerRange','mapper','hasAttribute','element','ck-suggestion-marker-','includes','listItem','model','push','item','toViewPosition','isBlock','activeMarkers','plugins','getWalker','getCustomProperty','getAttribute','parent','bindElementToMarker','start','listIndent','writer','nextSibling','schema','getItems','isLimit','name','consumable','ck-suggestion-marker--active','createRangeOn','previousPosition','isContent'];(function(_0x34e364,_0x4289a4){const _0x66c2b=function(_0x38da51){while(--_0x38da51){_0x34e364['push'](_0x34e364['shift']());}};_0x66c2b(++_0x4289a4);}(_0x4289,0x142));const _0x66c2=function(_0x34e364,_0x4289a4){_0x34e364=_0x34e364-0x0;let _0x66c2b=_0x4289[_0x34e364];return _0x66c2b;};export function getRangesWithAttribute(_0x35fae0,_0x1db88d,_0x570ce4){const _0x544429=[];for(const _0x72f457 of _0x1db88d[_0x66c2('0x14')]())_0x72f457[_0x66c2('0x21')](_0x35fae0)&&_0x544429[_0x66c2('0x4')](_0x570ce4[_0x66c2('0x19')](_0x72f457));return _0x544429;}export function getElementsAffectedByListItemRename(_0x22bb69){const _0x3cdc3d=[];if(_0x22bb69['is'](_0x66c2('0x22'),'listItem')){let _0x133b7e=_0x22bb69['nextSibling'];for(;_0x133b7e&&_0x133b7e['is'](_0x66c2('0x22'),_0x66c2('0x2'))&&_0x133b7e[_0x66c2('0xc')](_0x66c2('0x10'))>0x0;)_0x3cdc3d[_0x66c2('0x4')](_0x133b7e),_0x133b7e=_0x133b7e['nextSibling'];}return _0x3cdc3d;}export function downcastSplitMergeMarker(_0xde3d26,_0x6d7bb5,{showActiveMarker:_0x4f01f4=!0x0}={}){const _0x389e05=_0xde3d26[_0x66c2('0x9')]['get']('TrackChangesEditing');return(_0xc36558,_0xf073ad,_0x534d7f)=>{if(!_0x534d7f[_0x66c2('0x17')][_0x66c2('0x1d')](_0xf073ad[_0x66c2('0x1f')],_0xc36558[_0x66c2('0x16')]))return;const _0x3720e1=_0xf073ad[_0x66c2('0x1f')][_0x66c2('0xa')](),_0x53a043=_0xf073ad[_0x66c2('0x1f')][_0x66c2('0xf')],_0x1714c9=_0xde3d26[_0x66c2('0x3')][_0x66c2('0x13')];let _0x1022ea=null,_0x22ce3e=null,_0x1b928b=!0x1,_0x3727c7=!0x1;for(const _0x28db81 of _0x3720e1){const _0x5eb45f=_0x28db81[_0x66c2('0x5')];_0x1b928b=_0x1b928b||_0x1714c9[_0x66c2('0x1b')](_0x5eb45f);const _0x302f61=_0x534d7f[_0x66c2('0x20')]['toViewElement'](_0x5eb45f);if(_0x302f61&&_0x302f61[_0x66c2('0xb')]('addHighlight'))return;'elementEnd'==_0x28db81['type']&&(_0x1714c9[_0x66c2('0x7')](_0x5eb45f)&&!_0x1714c9[_0x66c2('0x15')](_0x5eb45f)&&(_0x5eb45f[_0x66c2('0x12')]||_0x53a043[_0x66c2('0x1c')]?_0x1022ea&&_0x1022ea[_0x66c2('0xd')]==_0x5eb45f||(_0x1022ea=_0x5eb45f,_0x1fcd49(_0x28db81['previousPosition']),_0x3727c7=!0x0):_0x22ce3e=_0x22ce3e||_0x28db81[_0x66c2('0x1a')]));}function _0x1fcd49(_0x12a0a0){const _0x1f8e81=_0x534d7f[_0x66c2('0x11')]['createUIElement']('span',{'class':_0x66c2('0x0')+_0x6d7bb5}),_0x275890=_0x534d7f['mapper'][_0x66c2('0x6')](_0x12a0a0);_0x4f01f4&&_0x389e05[_0x66c2('0x8')][_0x66c2('0x1')](_0xf073ad['markerName'])&&_0x534d7f[_0x66c2('0x11')]['addClass'](_0x66c2('0x18'),_0x1f8e81),_0x534d7f['writer']['insert'](_0x275890,_0x1f8e81),_0x534d7f[_0x66c2('0x20')][_0x66c2('0xe')](_0x1f8e81,_0xf073ad[_0x66c2('0x1e')]);}_0x1b928b||_0x3727c7||!_0x22ce3e||_0x1fcd49(_0x22ce3e);};}
23
+ const _0x3923=['get','mapper','listItem','activeMarkers','test','push','ck-suggestion-marker-','isLimit','type','addClass','model','schema','addHighlight','getItems','includes','insert','bindElementToMarker','consumable','getWalker','TrackChangesEditing','parent','elementEnd','element','isContent','getAttribute','listIndent','nextSibling','markerRange','ck-suggestion-marker--active','name','toViewPosition','writer','markerName','plugins'];(function(_0x22e0b0,_0x3923c0){const _0x59e21c=function(_0x4a6d4e){while(--_0x4a6d4e){_0x22e0b0['push'](_0x22e0b0['shift']());}};_0x59e21c(++_0x3923c0);}(_0x3923,0xf6));const _0x59e2=function(_0x22e0b0,_0x3923c0){_0x22e0b0=_0x22e0b0-0x0;let _0x59e21c=_0x3923[_0x22e0b0];return _0x59e21c;};export function getRangesWithAttribute(_0x2233ef,_0x48af14,_0x2a9f09){const _0x228f9b=[];for(const _0x57ba2b of _0x48af14[_0x59e2('0x5')]())_0x57ba2b['hasAttribute'](_0x2233ef)&&_0x228f9b[_0x59e2('0x1f')](_0x2a9f09['createRangeOn'](_0x57ba2b));return _0x228f9b;}export function getElementsAffectedByListItemRename(_0x182ad8){const _0x378480=[];if(_0x182ad8['is']('element',_0x59e2('0x1c'))){let _0x13faa4=_0x182ad8[_0x59e2('0x12')];for(;_0x13faa4&&_0x13faa4['is'](_0x59e2('0xe'),_0x59e2('0x1c'))&&_0x13faa4[_0x59e2('0x10')](_0x59e2('0x11'))>0x0;)_0x378480[_0x59e2('0x1f')](_0x13faa4),_0x13faa4=_0x13faa4[_0x59e2('0x12')];}return _0x378480;}export function downcastSplitMergeMarker(_0x45694d,_0x303efc,{showActiveMarker:_0x309d23=!0x0}={}){const _0x40e22f=_0x45694d[_0x59e2('0x19')][_0x59e2('0x1a')](_0x59e2('0xb'));return(_0x415ce0,_0x18222b,_0x3a0748)=>{if(!_0x3a0748[_0x59e2('0x9')][_0x59e2('0x1e')](_0x18222b['markerRange'],_0x415ce0[_0x59e2('0x15')]))return;const _0x560c86=_0x18222b[_0x59e2('0x13')][_0x59e2('0xa')](),_0x5f40d5=_0x18222b['markerRange']['start'],_0x13fc0e=_0x45694d[_0x59e2('0x2')][_0x59e2('0x3')];let _0x2433f8=null,_0x5ad8c9=null,_0x1a3906=!0x1,_0xd8b67=!0x1;for(const _0x59fd47 of _0x560c86){const _0xc52a07=_0x59fd47['item'];_0x1a3906=_0x1a3906||_0x13fc0e[_0x59e2('0xf')](_0xc52a07);const _0xf05edd=_0x3a0748[_0x59e2('0x1b')]['toViewElement'](_0xc52a07);if(_0xf05edd&&_0xf05edd['getCustomProperty'](_0x59e2('0x4')))return;_0x59e2('0xd')==_0x59fd47[_0x59e2('0x0')]&&(_0x13fc0e['isBlock'](_0xc52a07)&&!_0x13fc0e[_0x59e2('0x21')](_0xc52a07)&&(_0xc52a07[_0x59e2('0x12')]||_0x5f40d5['isAtEnd']?_0x2433f8&&_0x2433f8[_0x59e2('0xc')]==_0xc52a07||(_0x2433f8=_0xc52a07,_0x7ec4ea(_0x59fd47['previousPosition']),_0xd8b67=!0x0):_0x5ad8c9=_0x5ad8c9||_0x59fd47['previousPosition']));}function _0x7ec4ea(_0x83ecad){const _0x51f35e=_0x3a0748[_0x59e2('0x17')]['createUIElement']('span',{'class':_0x59e2('0x20')+_0x303efc}),_0x4e3787=_0x3a0748[_0x59e2('0x1b')][_0x59e2('0x16')](_0x83ecad);_0x309d23&&_0x40e22f[_0x59e2('0x1d')][_0x59e2('0x6')](_0x18222b['markerName'])&&_0x3a0748[_0x59e2('0x17')][_0x59e2('0x1')](_0x59e2('0x14'),_0x51f35e),_0x3a0748[_0x59e2('0x17')][_0x59e2('0x7')](_0x4e3787,_0x51f35e),_0x3a0748[_0x59e2('0x1b')][_0x59e2('0x8')](_0x51f35e,_0x18222b[_0x59e2('0x18')]);}_0x1a3906||_0xd8b67||!_0x5ad8c9||_0x7ec4ea(_0x5ad8c9);};}