@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20240124.0 → 0.0.0-nightly-20240126.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (67) hide show
  1. package/build/track-changes.js +1 -1
  2. package/package.json +3 -3
  3. package/src/commands/acceptsuggestioncommand.js +1 -1
  4. package/src/commands/discardsuggestioncommand.js +1 -1
  5. package/src/commands/executeonallsuggestionscommand.js +1 -1
  6. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  7. package/src/commands/trackchangescommand.js +1 -1
  8. package/src/integrations/aiassistant.js +1 -1
  9. package/src/integrations/alignment.js +1 -1
  10. package/src/integrations/basicstyles.js +1 -1
  11. package/src/integrations/blockquote.js +1 -1
  12. package/src/integrations/casechange.js +1 -1
  13. package/src/integrations/ckbox.js +1 -1
  14. package/src/integrations/codeblock.js +1 -1
  15. package/src/integrations/comments.js +1 -1
  16. package/src/integrations/deletecommand.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/imagestyle.js +1 -1
  28. package/src/integrations/importword.js +1 -1
  29. package/src/integrations/indent.js +1 -1
  30. package/src/integrations/inputcommand.js +1 -1
  31. package/src/integrations/legacylist.js +1 -1
  32. package/src/integrations/legacylistproperties.js +1 -1
  33. package/src/integrations/link.js +1 -1
  34. package/src/integrations/list.js +1 -1
  35. package/src/integrations/listproperties.js +1 -1
  36. package/src/integrations/mediaembed.js +1 -1
  37. package/src/integrations/mention.js +1 -1
  38. package/src/integrations/pagebreak.js +1 -1
  39. package/src/integrations/paragraph.js +1 -1
  40. package/src/integrations/removeformat.js +1 -1
  41. package/src/integrations/restrictededitingmode.js +1 -1
  42. package/src/integrations/shiftentercommand.js +1 -1
  43. package/src/integrations/standardeditingmode.js +1 -1
  44. package/src/integrations/style.js +1 -1
  45. package/src/integrations/table.js +1 -1
  46. package/src/integrations/tablecaption.js +1 -1
  47. package/src/integrations/tableclipboard.js +1 -1
  48. package/src/integrations/tablecolumnresize.js +1 -1
  49. package/src/integrations/tableheadings.js +1 -1
  50. package/src/integrations/tablemergesplit.js +1 -1
  51. package/src/integrations/tableofcontents.js +1 -1
  52. package/src/integrations/tableproperties.js +1 -1
  53. package/src/integrations/template.js +1 -1
  54. package/src/integrations/title.js +1 -1
  55. package/src/integrations/undo.js +1 -1
  56. package/src/integrations/utils.js +1 -1
  57. package/src/suggestion.js +1 -1
  58. package/src/suggestiondescriptionfactory.js +1 -1
  59. package/src/trackchanges.js +1 -1
  60. package/src/trackchangesdata.js +1 -1
  61. package/src/trackchangesediting.js +1 -1
  62. package/src/trackchangesui.js +1 -1
  63. package/src/ui/suggestioncontroller.js +1 -1
  64. package/src/ui/view/basesuggestionthreadview.js +1 -1
  65. package/src/ui/view/suggestionthreadview.js +1 -1
  66. package/src/utils/common-translations.js +1 -1
  67. package/src/utils/utils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1559=['register','getRanges','suggestion:formatBlock:tablePasteCell','removeRows','name','redo','getSuggestion','locale','Users','model','row','rowInsertionIndexes','suggestion','getColumnIndexes','createRangeOn','getContainedElement','TrackChangesEditing','set','tablePasteRow','discard','nodeAfter','getShiftedBy','isEqual','tableCellBorderColor','TableClipboard','newRange','formatBlock','fill','position','options','_suggestionFactory','requires','markerAttributes','plugins','includes','view','TableUtils','accept','tableCellHorizontalAlignment','for','dataDowncast','tableCellPadding','filter','_splitMarkerName','showSuggestionHighlights','getSelectionAffectedTableCells','getRowIndexes','markerToHighlight','tableCellBackgroundColor','conversion','differ','getTableIfOnlyTableInContent','isEmpty','getAllAdjacentSuggestions','content','keys','document','unwrap','some','attributes','insertContent','createPositionBefore','ck-suggestion-marker--active','clipboardOutput','tableCell','editor','low','change','batch','findAncestor','join','registerPostFixer','isInContent','getRange','tablePaste','getSuggestions','getColumns','getAttributes','trackChanges','documentSelection','add','deletion','selection','*Replace\x20table\x20cells*','move','markerName','markers','remove','getMarkers','start','getChangedMarkers','schema','first','markMultiRangeInsertion','subType','element','find','tableCellBorderStyle','removeMarker','rowInsertionRanges','columns','get','elementToElement','cells','removeMarkers','tablePasteChainId','_tablePostFixingSubtypes','paragraph','fromEntries','commands','stop','table','return','previous','ck-suggestion-marker-insertion','removeColumns','length','endRow','has','column','value','getChildren','forceDefaultExecution','getChild','_createdBatches','columnInsertionIndexes','afterInit','last','startsWith','createRange','activeMarkers','push','insertRows','containsRange','next','ck-suggestion-marker','insertion','author','high','tablePasteCell','endColumn','from','root','tableCellBorderWidth','tablePasteColumn','insertionRanges','map','wrap','getRows','editing','oldRange','registerCustomCallback','createRangeIn','suggestionUnloaded','columnInsertionRanges','cell','suggestion-td','listenTo','_isForcedDefaultExecutionBlock','tableCellSuggestion','type','_getCoordsForCells','createTableWalker','insert','createElement','setAttributes'];(function(_0x28f99a,_0x15598f){const _0x544b75=function(_0x312935){while(--_0x312935){_0x28f99a['push'](_0x28f99a['shift']());}};_0x544b75(++_0x15598f);}(_0x1559,0x110));const _0x544b=function(_0x28f99a,_0x15598f){_0x28f99a=_0x28f99a-0x0;let _0x544b75=_0x1559[_0x28f99a];return _0x544b75;};import{getTranslation as _0x2879e3}from'../utils/common-translations.js';import{Plugin as _0x12b9a6}from'ckeditor5/src/core.js';import{uid as _0x4622f5,priorities as _0x4f34fd}from'ckeditor5/src/utils.js';import _0x4b63f3 from'./table.js';const fe=[_0x544b('0x25'),_0x544b('0x53'),_0x544b('0x9d'),_0x544b('0x62'),'tableCellVerticalAlignment',_0x544b('0x6c'),_0x544b('0x65')],be=Object['fromEntries'](fe[_0x544b('0x28')](_0x15d117=>[_0x15d117,null]));export default class At extends _0x12b9a6{static get[_0x544b('0x5b')](){return[_0x4b63f3];}[_0x544b('0x14')](){const _0x1adb6a=this[_0x544b('0x7d')];if(!_0x1adb6a['plugins'][_0x544b('0xc')]('TableClipboard'))return;const _0xfcb76e=_0x1adb6a[_0x544b('0x5d')][_0x544b('0xa1')](_0x544b('0x4c')),_0x5831d4=_0x1adb6a['plugins']['get'](_0x544b('0x60')),_0x2a89cb=_0x1adb6a[_0x544b('0x5d')]['get'](_0x4b63f3),_0x4da2b1=_0x1adb6a['plugins'][_0x544b('0xa1')]('TableClipboard');_0x2a89cb[_0x544b('0x0')][_0x544b('0x19')]('tablePasteRow',_0x544b('0x26')),_0x1adb6a[_0x544b('0x45')][_0x544b('0x97')][_0x544b('0x3c')](_0x544b('0x35'),{'allowIn':_0x544b('0x7c'),'allowContentOf':_0x544b('0x7c'),'isLimit':!0x0}),_0x1adb6a[_0x544b('0x6d')][_0x544b('0xa2')]({'model':_0x544b('0x35'),'view':_0x544b('0x32')});let _0x256f34=null;_0x1adb6a[_0x544b('0x45')]['on'](_0x544b('0x78'),(_0x401547,_0x1982b5)=>{const [_0x3bc54c,_0xe23e63]=_0x1982b5,_0x413014=_0x1982b5[_0x1982b5[_0x544b('0xa')]-0x1];_0x413014&&_0x413014[_0x544b('0x10')]||_0xfcb76e[_0x544b('0x34')]||this[_0x544b('0x7d')][_0x544b('0x3')][_0x544b('0xa1')](_0x544b('0x8a'))[_0x544b('0xe')]&&function(_0x376d04,_0x4526ff,_0x8bacb7,_0x1a42f8,_0x3f7979){if(_0x4526ff&&!_0x4526ff['is'](_0x544b('0x8b')))return!0x1;const _0x3ac084=_0x3f7979[_0x544b('0x6f')](_0x376d04,_0x8bacb7);if(!_0x3ac084||!de(_0x3ac084,void 0x0,_0x1a42f8))return!0x1;const _0x14a563=_0x1a42f8[_0x544b('0x69')](_0x8bacb7['document'][_0x544b('0x8e')]);if(!_0x14a563[_0x544b('0xa')])return!0x1;const _0x18bc92=_0x14a563[0x0]['findAncestor']('table'),_0x5ca2a4=_0x1a42f8[_0x544b('0x6a')](_0x14a563),_0x5d1b3d=_0x1a42f8[_0x544b('0x49')](_0x14a563),_0x5280f8={'startRow':_0x5ca2a4[_0x544b('0x98')],'endRow':_0x5ca2a4[_0x544b('0x15')],'startColumn':_0x5d1b3d[_0x544b('0x98')],'endColumn':_0x5d1b3d[_0x544b('0x15')]};return 0x1==_0x14a563['length']&&(_0x5280f8[_0x544b('0xb')]+=_0x1a42f8[_0x544b('0x2a')](_0x3ac084)-0x1,_0x5280f8[_0x544b('0x22')]+=_0x1a42f8[_0x544b('0x88')](_0x3ac084)-0x1),de(_0x18bc92,_0x5280f8,_0x1a42f8);}(_0x3bc54c,_0xe23e63,_0x1adb6a[_0x544b('0x45')],_0x5831d4,_0x4da2b1)&&(_0x401547[_0x544b('0x4')](),_0x256f34={'cells':[],'insertionRanges':[],'deletionRanges':[],'rowInsertionRanges':[],'rowInsertionIndexes':[],'columnInsertionRanges':[],'columnInsertionIndexes':[]},_0x1adb6a[_0x544b('0x45')][_0x544b('0x7f')](()=>{_0x1adb6a[_0x544b('0x45')][_0x544b('0x78')](_0x1982b5[0x0],_0x1982b5[0x1],_0x1982b5[0x2],{'forceDefaultExecution':!0x0});const _0x30c989=_0x4622f5(),{rowInsertionRanges:_0x44d3b8,columnInsertionRanges:_0x4d5e39,insertionRanges:_0x53aa1e,deletionRanges:_0x4c8d9a,cells:_0x149e65}=_0x256f34;_0x44d3b8[_0x544b('0xa')]&&_0xfcb76e['markMultiRangeInsertion'](_0x44d3b8,_0x544b('0x4e'),{'tablePasteChainId':_0x30c989}),_0x4d5e39['length']&&_0xfcb76e[_0x544b('0x99')](_0x4d5e39,_0x544b('0x26'),{'tablePasteChainId':_0x30c989}),_0x53aa1e[_0x544b('0xa')]&&_0xfcb76e['markMultiRangeInsertion'](_0x53aa1e,_0x544b('0x86'),{'tablePasteChainId':_0x30c989,'skipNestingCheck':!0x0}),_0x4c8d9a[_0x544b('0xa')]&&_0xfcb76e['markMultiRangeDeletion'](_0x4c8d9a,_0x544b('0x86'),{'tablePasteChainId':_0x30c989,'skipNestingCheck':!0x0});const _0x768b0c=_0xfcb76e['markMultiRangeBlockFormat'](_0x149e65[_0x544b('0x28')](({element:_0x7a539e})=>_0x7a539e),{'formatGroupId':_0x4622f5()},[],'tablePasteCell',{'tablePasteChainId':_0x30c989});if(_0x768b0c){const _0x14f48f=_0x768b0c['getMarkers'](),_0x36fd7a=[];for(const {element:_0x27bcc4,attributes:_0x3b9976}of _0x149e65){if(!_0x3b9976)continue;const _0x3facb6=_0x1adb6a['model'][_0x544b('0x4a')](_0x27bcc4),_0x588be9=_0x14f48f[_0x544b('0x9c')](_0x328801=>_0x328801['getRange']()[_0x544b('0x52')](_0x3facb6));_0x588be9&&_0x36fd7a[_0x544b('0x19')]([_0x588be9[_0x544b('0x40')],_0x3b9976]);}_0x36fd7a[_0x544b('0xa')]&&_0x768b0c['setAttribute']('markerAttributes',Object[_0x544b('0x2')](_0x36fd7a));}_0x256f34=null;}));},{'priority':_0x4f34fd[_0x544b('0x20')]+0xa}),_0x1adb6a[_0x544b('0x5d')][_0x544b('0xa1')](_0x544b('0x54'))['on']('_replaceTableSlotCell',(_0x1e481e,_0x5d6181)=>{const [_0x44274c,_0x16728e,,_0x1bf6b5]=_0x5d6181;if(!_0x256f34)return;_0x1e481e[_0x544b('0x4')]();const _0xb60dcd=_0x44274c[_0x544b('0x31')],_0x129d76=_0x16728e,_0x429478=ge(_0xb60dcd),_0x374e77=ge(_0x129d76);_0x1e481e[_0x544b('0x6')]=_0xb60dcd;let _0x1e3859=null,_0x5d271f=null;if(_0x374e77||_0x429478){if(_0x429478&&!_0x374e77){_0x1bf6b5['remove'](_0xb60dcd['getChild'](0x0));for(const _0x167970 of Array['from'](_0x129d76[_0x544b('0xf')]()))_0x1bf6b5[_0x544b('0x39')](_0x167970,_0xb60dcd,'end');const _0x43ff5e=_0x256f34[_0x544b('0x47')][_0x544b('0x5e')](_0x44274c[_0x544b('0x46')]),_0x3d122d=_0x256f34[_0x544b('0x13')]['includes'](_0x44274c[_0x544b('0xd')]);_0x43ff5e||_0x3d122d||(_0x1e3859=_0x1bf6b5[_0x544b('0x2e')](_0xb60dcd));}else _0x374e77&&!_0x429478&&(_0x5d271f=_0x1bf6b5[_0x544b('0x2e')](_0xb60dcd));}else{const _0x524cb0=_0x1bf6b5[_0x544b('0x3a')](_0x544b('0x35')),_0x3e24a2=_0x1bf6b5['createElement'](_0x544b('0x35'));_0x1bf6b5[_0x544b('0x29')](_0x1bf6b5[_0x544b('0x2e')](_0xb60dcd),_0x3e24a2),_0x1bf6b5[_0x544b('0x39')](_0x524cb0,_0xb60dcd,0x0);for(const _0x4a8bb8 of Array[_0x544b('0x23')](_0x129d76[_0x544b('0xf')]()))_0x1bf6b5[_0x544b('0x39')](_0x4a8bb8,_0x524cb0,'end');_0x1e3859=_0x1bf6b5[_0x544b('0x4a')](_0x524cb0),_0x5d271f=_0x1bf6b5[_0x544b('0x4a')](_0x3e24a2);}const _0x1974e2=Array[_0x544b('0x23')](_0x129d76[_0x544b('0x89')]())[_0x544b('0x66')](([_0x15e9f8])=>fe[_0x544b('0x5e')](_0x15e9f8));_0x256f34['cells']['push']({'element':_0xb60dcd,'attributes':_0x1974e2[_0x544b('0xa')]?Object['fromEntries'](_0x1974e2):null}),_0x1e3859&&_0x256f34[_0x544b('0x27')][_0x544b('0x19')](_0x1e3859),_0x5d271f&&_0x256f34['deletionRanges']['push'](_0x5d271f);},{'priority':_0x544b('0x20')}),_0x5831d4['on']('insertColumns',(_0x109fcc,_0x3e92ac)=>{const [_0x397a99,_0x3e042b={}]=_0x3e92ac;if(!_0x256f34)return;const _0x43a4e9=_0x3e042b['at']||0x0,_0x5377d1=_0x3e042b[_0x544b('0xa0')]||0x1;_0x256f34[_0x544b('0x13')]=new Array(_0x5377d1)[_0x544b('0x57')](_0x43a4e9)['map']((_0x11e9fe,_0x534cfa)=>_0x11e9fe+_0x534cfa);for(const {cell:_0x1a70b5}of _0x5831d4[_0x544b('0x38')](_0x397a99,{'startColumn':_0x43a4e9,'endColumn':_0x43a4e9+_0x5377d1-0x1}))_0x256f34[_0x544b('0x30')][_0x544b('0x19')](_0x1adb6a[_0x544b('0x45')]['createRangeOn'](_0x1a70b5));},{'priority':_0x544b('0x7e')}),_0x5831d4['on'](_0x544b('0x1a'),(_0x4ae2d1,_0x446dd4)=>{const [_0x2a4b3d,_0x312178={}]=_0x446dd4;if(!_0x256f34)return;const _0x50b9cf=_0x312178['at']||0x0,_0x51cef2=_0x312178['rows']||0x1;_0x256f34[_0x544b('0x47')]=new Array(_0x51cef2)['fill'](_0x50b9cf)[_0x544b('0x28')]((_0x5f2461,_0xf0d4d7)=>_0x5f2461+_0xf0d4d7);for(const {cell:_0x461c44}of _0x5831d4[_0x544b('0x38')](_0x2a4b3d,{'startRow':_0x50b9cf,'endRow':_0x50b9cf+_0x51cef2-0x1}))_0x256f34[_0x544b('0x9f')][_0x544b('0x19')](_0x1adb6a['model']['createRangeOn'](_0x461c44));},{'priority':_0x544b('0x7e')}),_0xfcb76e['_descriptionFactory']['registerDescriptionCallback'](_0x27e297=>{if(_0x27e297[_0x544b('0x9a')]&&_0x27e297['subType'][_0x544b('0x16')](_0x544b('0x86')))return _0x27e297[_0x544b('0x7')]?{}:{'type':_0x544b('0x1e'),'content':_0x2879e3(_0x1adb6a[_0x544b('0x43')],_0x544b('0x8f'))};});const _0x392543=()=>!0x1;for(const _0x351c78 of[_0x544b('0x86'),_0x544b('0x26'),'tablePasteRow','tablePasteCell'])_0xfcb76e[_0x544b('0x5a')][_0x544b('0x2d')]('insertion',_0x351c78,_0x544b('0x82'),_0x392543),_0xfcb76e['_suggestionFactory'][_0x544b('0x2d')](_0x544b('0x8d'),_0x351c78,_0x544b('0x82'),_0x392543),_0xfcb76e['_suggestionFactory'][_0x544b('0x2d')](_0x544b('0x56'),_0x351c78,_0x544b('0x82'),_0x392543);_0xfcb76e[_0x544b('0x5a')][_0x544b('0x2d')](_0x544b('0x56'),'tablePasteCell',_0x544b('0x4f'),_0x392543),_0xfcb76e['_suggestionFactory'][_0x544b('0x2d')](_0x544b('0x56'),_0x544b('0x21'),_0x544b('0x61'),(_0x50ad4b,_0x3d33e0,_0x4e7d25)=>{const _0x477f38=_0x50ad4b[_0x544b('0x28')](_0x28e5d1=>_0x28e5d1['getContainedElement']())[_0x544b('0x66')](_0x2fe9ac=>_0x2fe9ac),_0x36998f=new Map(_0x477f38['map'](_0x450b6a=>[_0x450b6a,null]));if(_0x256f34)for(const {element:_0x27e490,attributes:_0x1195a4}of _0x256f34[_0x544b('0xa3')])_0x1195a4&&_0x36998f[_0x544b('0x4d')](_0x27e490,_0x1195a4);else{if(_0x4e7d25&&_0x4e7d25[_0x544b('0x5c')])for(const [_0x5e0554,_0x5b00b4]of Object['entries'](_0x4e7d25[_0x544b('0x5c')])){const _0x350fd5=_0x1adb6a[_0x544b('0x45')][_0x544b('0x92')]['get'](_0x5e0554),_0x3fa8f5=_0x350fd5?_0x350fd5[_0x544b('0x85')]()[_0x544b('0x4b')]():null;_0x3fa8f5&&_0x36998f['set'](_0x3fa8f5,_0x5b00b4);}}_0x1adb6a[_0x544b('0x45')][_0x544b('0x7f')](_0x5f57d3=>{for(const [_0x5a44b4,_0x18c532]of _0x36998f)_0x5f57d3[_0x544b('0x3b')]({...be,..._0x18c532},_0x5a44b4);});});const _0x9f52ed=(_0x189d96,_0x1532a5)=>{_0xfcb76e[_0x544b('0x5a')][_0x544b('0x2d')](_0x189d96,'tablePaste',_0x1532a5,(_0x3ef3ad,_0x597f4a,_0x28039a)=>{_0x1adb6a['model'][_0x544b('0x7f')](_0x26c859=>{const _0x180a7c=[];for(const _0x5a09d2 of _0x3ef3ad){const _0x5b86e3=_0x5a09d2[_0x544b('0x95')][_0x544b('0x50')];_0x5b86e3['is'](_0x544b('0x9b'),_0x544b('0x35'))&&_0x180a7c[_0x544b('0x19')](_0x5b86e3);}_0xfcb76e[_0x544b('0x5a')]['getSuggestionCallback'](_0x189d96,null,_0x1532a5)(_0x3ef3ad,_0x597f4a,_0x28039a);for(const _0x46e027 of _0x180a7c)'$graveyard'!=_0x46e027[_0x544b('0x24')]['rootName']&&_0x26c859[_0x544b('0x75')](_0x46e027);});});};_0x9f52ed(_0x544b('0x1e'),_0x544b('0x61')),_0x9f52ed(_0x544b('0x1e'),'discard'),_0x9f52ed(_0x544b('0x8d'),_0x544b('0x61')),_0x9f52ed(_0x544b('0x8d'),'discard'),_0xfcb76e[_0x544b('0x5a')][_0x544b('0x2d')](_0x544b('0x1e'),'tablePasteRow','discard',_0x469065=>{const _0x188bd9=_0x469065[_0x544b('0x28')](_0x4b0221=>_0x4b0221[_0x544b('0x4b')]()),_0x4cbb72=_0x188bd9[0x0][_0x544b('0x81')](_0x544b('0x5')),{minRow:_0xfa3eeb,maxRow:_0x7202ac}=_0x2a89cb[_0x544b('0x37')](_0x188bd9);_0x5831d4[_0x544b('0x3f')](_0x4cbb72,{'at':_0xfa3eeb,'rows':_0x7202ac-_0xfa3eeb+0x1});}),_0xfcb76e[_0x544b('0x5a')][_0x544b('0x2d')]('insertion',_0x544b('0x26'),'discard',_0x5736b2=>{const _0xdd7d4f=_0x5736b2[_0x544b('0x28')](_0x44bdf2=>_0x44bdf2[_0x544b('0x4b')]()),_0x322c65=_0xdd7d4f[0x0]['findAncestor'](_0x544b('0x5')),{minColumn:_0x535d8e,maxColumn:_0x5c4f1a}=_0x2a89cb[_0x544b('0x37')](_0xdd7d4f);_0x5831d4[_0x544b('0x9')](_0x322c65,{'at':_0x535d8e,'columns':_0x5c4f1a-_0x535d8e+0x1});});const _0x49373b=(_0x5ad178,_0x5b587b)=>{if(!_0x5b587b[_0x544b('0x9a')]||!_0x5b587b[_0x544b('0x9a')][_0x544b('0x16')](_0x544b('0x86')))return;const _0x4b4338=_0x5b587b['attributes'][_0x544b('0xa5')],_0x33bbfe=_0xfcb76e[_0x544b('0x87')]()['filter'](_0x44c9a1=>_0x44c9a1[_0x544b('0x84')]&&_0x44c9a1['attributes']&&_0x44c9a1['attributes'][_0x544b('0xa5')]==_0x4b4338);_0x33bbfe[_0x544b('0xa')]&&_0x5b587b[_0x544b('0x71')]()['length']!=_0x33bbfe[_0x544b('0xa')]&&_0x33bbfe['reduce']((_0x44ba75,_0x38c636)=>(_0x44ba75[_0x544b('0x1c')]=_0x38c636,_0x38c636[_0x544b('0x7')]=_0x44ba75,_0x38c636));};function _0x4c655b(_0x3ae496,_0xb53efb=!0x0){const {id:_0x5a923e}=_0xfcb76e['_splitMarkerName'](_0x3ae496[_0x544b('0x91')]),_0x18bd33=[_0x544b('0x1d'),_0x544b('0x8')],_0x50eb2f=_0xfcb76e[_0x544b('0x18')]['includes'](_0x3ae496[_0x544b('0x91')]);return _0x50eb2f&&_0x18bd33[_0x544b('0x19')](_0x544b('0x7a')),{'classes':_0x18bd33,'attributes':{'data-suggestion':_0x5a923e},'priority':_0x50eb2f&&_0xb53efb?0xbc2:0xbb8};}_0xfcb76e['on']('suggestionLoaded',_0x49373b,{'priority':'high'}),_0xfcb76e['on'](_0x544b('0x2f'),_0x49373b,{'priority':_0x544b('0x20')}),_0x1adb6a[_0x544b('0x45')]['document'][_0x544b('0x83')](()=>{let _0x55e332=!0x1;const _0x483dbf=Array[_0x544b('0x23')](_0x1adb6a[_0x544b('0x45')][_0x544b('0x74')][_0x544b('0x6e')][_0x544b('0x96')]());for(const {name:_0x3b1c77,data:_0x4ddab8}of _0x483dbf){const {group:_0x290bd8,type:_0x1be752,id:_0x13fb61}=_0xfcb76e[_0x544b('0x67')](_0x3b1c77);if(_0x544b('0x48')!=_0x290bd8||_0x544b('0x8d')!=_0x1be752||_0x4ddab8[_0x544b('0x2c')])continue;if(!_0xfcb76e['hasSuggestion'](_0x13fb61))continue;const _0x1a42e5=_0xfcb76e[_0x544b('0x42')](_0x13fb61)[_0x544b('0x3d')](),_0x35ec45=_0x1adb6a['plugins'][_0x544b('0xa1')]('Users')['me'];for(const _0x975e70 of _0xfcb76e[_0x544b('0x87')]()){if(!_0x975e70[_0x544b('0x84')]||_0x975e70[_0x544b('0x1f')]!=_0x35ec45)continue;if(_0x544b('0x56')!=_0x975e70[_0x544b('0x36')]||_0x544b('0x21')!=_0x975e70[_0x544b('0x9a')])continue;if(_0x975e70[_0x544b('0x3d')]()['every'](_0x4a2d7e=>_0x1a42e5[_0x544b('0x76')](_0x45138a=>_0x45138a[_0x544b('0x1b')](_0x4a2d7e,!0x0))))for(const _0x812632 of _0x975e70[_0x544b('0x71')]())_0x812632[_0x544b('0x84')]&&(_0x812632[_0x544b('0x4f')](),_0x55e332=!0x0);}}return _0x55e332;}),_0x1adb6a[_0x544b('0x45')]['document']['registerPostFixer'](_0x1edc12=>{const _0x2d7c7e=_0x1adb6a[_0x544b('0x3')]['get'](_0x544b('0x41'));if(!_0x2d7c7e||!_0x2d7c7e[_0x544b('0x12')][_0x544b('0xc')](_0x1edc12[_0x544b('0x80')]))return!0x1;let _0x3b8d76=!0x1;const _0x25b498=_0x1adb6a[_0x544b('0x5d')]['get'](_0x544b('0x44'))['me'],_0x1bc2b4=_0x1adb6a[_0x544b('0x45')]['document'][_0x544b('0x6e')]['getChanges'](),_0x4d12b2=Array['from'](_0x1adb6a['model'][_0x544b('0x74')]['differ']['getChangedMarkers']())[_0x544b('0x66')](({name:_0x5c1027,data:_0x3482bf})=>{const {group:_0x38f290,subType:_0x7068e7,authorId:_0xb7075a}=_0xfcb76e[_0x544b('0x67')](_0x5c1027);return _0x544b('0x48')==_0x38f290&&_0x544b('0x86')==_0x7068e7&&_0xb7075a==_0x25b498['id']&&!_0x3482bf[_0x544b('0x2c')];});for(const _0x3833d3 of _0x1bc2b4){if(_0x544b('0x39')!=_0x3833d3['type']||'tableCellSuggestion'!=_0x3833d3[_0x544b('0x40')]||0x1!=_0x3833d3['length'])continue;const _0x524f25=_0x1edc12[_0x544b('0x17')](_0x3833d3[_0x544b('0x58')],_0x3833d3['position'][_0x544b('0x51')](0x1));if(!_0x4d12b2[_0x544b('0x9c')](({data:_0x4608bd})=>_0x4608bd[_0x544b('0x55')][_0x544b('0x52')](_0x524f25)))for(const {name:_0x31040d,data:_0x520cac}of _0x4d12b2)if(_0x524f25[_0x544b('0x1b')](_0x520cac['newRange'])){_0x1edc12['updateMarker'](_0x31040d,{'range':_0x524f25}),_0x3b8d76=!0x0;break;}}return _0x3b8d76;}),_0x1adb6a[_0x544b('0x45')][_0x544b('0x74')][_0x544b('0x83')](_0x4af83f=>{let _0x24e6f=!0x1;const _0x548814=_0x1adb6a[_0x544b('0x5d')][_0x544b('0xa1')](_0x544b('0x44'))['me'],_0x527959=_0xfcb76e[_0x544b('0x87')]()[_0x544b('0x66')](_0x2c5909=>_0x2c5909[_0x544b('0x84')]&&_0x2c5909[_0x544b('0x1f')]==_0x548814),_0x154370=new Set(),_0x1908d1=new Set();for(const _0x48b7db of _0x527959)if('tablePaste'==_0x48b7db[_0x544b('0x9a')])for(const _0x5bf095 of _0x48b7db[_0x544b('0x94')]()){const _0x82c651=_0x5bf095['getRange']()[_0x544b('0x4b')]();if(_0x82c651){if(_0x82c651['is'](_0x544b('0x9b'),'tableCellSuggestion')&&ge(_0x82c651)){_0x48b7db[_0x544b('0x9e')](_0x5bf095[_0x544b('0x40')]),_0x154370[_0x544b('0x8c')](_0x82c651),_0x24e6f=!0x0;const _0x40b94f=_0x82c651['nextSibling'],_0x1d2f0b=_0x82c651['previousSibling'],_0x3653a4=_0x40b94f&&_0x40b94f['is'](_0x544b('0x9b'),'tableCellSuggestion'),_0x530055=_0x1d2f0b&&_0x1d2f0b['is'](_0x544b('0x9b'),_0x544b('0x35'));_0x3653a4&&!_0x154370['has'](_0x40b94f)&&_0x1908d1['add'](_0x40b94f),_0x530055&&!_0x154370['has'](_0x1d2f0b)&&_0x1908d1[_0x544b('0x8c')](_0x1d2f0b);}else _0x82c651['is']('element','paragraph')&&_0x82c651[_0x544b('0x70')]&&(_0x48b7db[_0x544b('0x9e')](_0x5bf095[_0x544b('0x40')]),_0x24e6f=!0x0);}}else{if('tablePasteCell'==_0x48b7db[_0x544b('0x9a')]){if(!_0x48b7db['attributes']||!_0x48b7db[_0x544b('0x77')][_0x544b('0xa5')])continue;const _0x4f3ae9=_0x48b7db[_0x544b('0x77')]['markerAttributes'];if(_0x4f3ae9&&Object[_0x544b('0x73')](_0x4f3ae9)[_0x544b('0xa')])continue;const _0x40ab64=_0x48b7db[_0x544b('0x77')]['tablePasteChainId'];let _0x2ad30c=!0x0,_0x132ea1=!0x0;for(const _0x255557 of _0x527959)if(_0x255557[_0x544b('0x9a')]&&_0x255557[_0x544b('0x9a')][_0x544b('0x16')](_0x544b('0x86'))){if(!_0x255557[_0x544b('0x77')][_0x544b('0xa5')]){_0x132ea1=!0x1;break;}if(_0x255557['id']!=_0x48b7db['id']&&_0x255557[_0x544b('0x77')][_0x544b('0xa5')]==_0x40ab64){_0x2ad30c=!0x1;break;}}_0x132ea1&&_0x2ad30c&&(_0x48b7db[_0x544b('0xa4')](),_0x24e6f=!0x0);}}for(const _0x35da58 of _0x154370)_0x4af83f['remove'](_0x35da58);for(const _0x308120 of _0x1908d1)_0x4af83f[_0x544b('0x75')](_0x308120);return _0x24e6f;}),_0x1adb6a[_0x544b('0x6d')]['for']('editingDowncast')['markerToHighlight']({'model':'suggestion:formatBlock:tablePasteCell','view':(_0x39ec08,_0x5f44d3)=>_0x4c655b(_0x39ec08),'converterPriority':'high'}),_0x1adb6a['conversion'][_0x544b('0x63')](_0x544b('0x64'))[_0x544b('0x6b')]({'model':_0x544b('0x3e'),'view':(_0x5f3613,_0x9ee268)=>_0x9ee268[_0x544b('0x59')][_0x544b('0x68')]?_0x4c655b(_0x5f3613,!0x1):null,'converterPriority':_0x544b('0x20')});const _0x1f4d57=_0x1adb6a[_0x544b('0x2b')][_0x544b('0x5f')];this[_0x544b('0x33')](_0x1f4d57[_0x544b('0x74')],_0x544b('0x7b'),(_0x179168,_0x1a7e6b)=>{const _0x1d9a90=[];for(const _0x22cfae of _0x1f4d57[_0x544b('0x2e')](_0x1a7e6b[_0x544b('0x72')])['getItems']())_0x22cfae['is'](_0x544b('0x9b'),_0x544b('0x32'))&&_0x1d9a90[_0x544b('0x19')](_0x22cfae);_0x1f4d57[_0x544b('0x7f')](_0x1b0a28=>{for(const _0x15a25a of _0x1d9a90)_0x1b0a28[_0x544b('0x90')](_0x1b0a28[_0x544b('0x2e')](_0x15a25a),_0x1b0a28[_0x544b('0x79')](_0x15a25a)),_0x1b0a28[_0x544b('0x93')](_0x15a25a);});});}}function ge(_0x4f985b){if(_0x4f985b[_0x544b('0x70')])return!0x0;const _0x361791=_0x4f985b[_0x544b('0x11')](0x0);return _0x361791['is'](_0x544b('0x9b'),_0x544b('0x1'))&&_0x361791[_0x544b('0x70')];}function de(_0x8c7713,_0x398702={},_0xa8df77){for(const {isAnchor:_0x5987eb,cellHeight:_0x3459d3,cellWidth:_0x683c6f}of _0xa8df77[_0x544b('0x38')](_0x8c7713,{'includeAllSlots':!0x0,..._0x398702}))if(!_0x5987eb||0x1!=_0x3459d3||0x1!=_0x683c6f)return!0x1;return!0x0;}
23
+ const _0x27cf=['isEmpty','markerAttributes','locale','column','stop','updateMarker','tablePasteRow','getRows','commands','containsRange','columnInsertionIndexes','document','tablePasteColumn','plugins','getSuggestionCallback','suggestionUnloaded','wrap','createRangeOn','startsWith','isInContent','return','has','tablePasteChainId','table','content','removeMarkers','markMultiRangeBlockFormat','markers','_tablePostFixingSubtypes','map','getColumnIndexes','registerCustomCallback','activeMarkers','createTableWalker','getSelectionAffectedTableCells','createRange','tableCellVerticalAlignment','nextSibling','createRangeIn','tableCellPadding','_descriptionFactory','getChangedMarkers','tablePasteCell','removeMarker','end','model','row','previousSibling','listenTo','trackChanges','unwrap','nodeAfter','options','subType','getTableIfOnlyTableInContent','reduce','getMarkers','from','previous','author','attributes','hasSuggestion','setAttributes','getChildren','getRange','push','isEqual','find','forceDefaultExecution','cells','_createdBatches','deletionRanges','getItems','tableCell','conversion','insertion','formatBlock','suggestion-td','removeColumns','oldRange','tableCellHorizontalAlignment','suggestionLoaded','remove','insert','change','for','tableCellBorderStyle','markerToHighlight','registerPostFixer','*Replace\x20table\x20cells*','endColumn','_suggestionFactory','position','editor','get','ck-suggestion-marker--active','markMultiRangeInsertion','markMultiRangeDeletion','name','differ','dataDowncast','fromEntries','filter','deletion','rowInsertionRanges','move','editing','suggestion','columnInsertionRanges','TableClipboard','includes','fill','insertContent','value','showSuggestionHighlights','requires','getRanges','insertColumns','removeRows','getContainedElement','tableCellBorderWidth','_getCoordsForCells','newRange','documentSelection','endRow','low','add','getChild','getRowIndexes','createElement','paragraph','length','discard','getAttributes','first','join','tablePaste','suggestion:formatBlock:tablePasteCell','accept','ck-suggestion-marker-insertion','getChanges','createPositionBefore','redo','ck-suggestion-marker','some','tableCellBorderColor','element','tableCellSuggestion','Users','_splitMarkerName','next','last','register','set','findAncestor','high','insertRows','getSuggestions','cell','columns','markerName'];(function(_0x1fe8da,_0x27cf86){const _0x297d79=function(_0x4af0be){while(--_0x4af0be){_0x1fe8da['push'](_0x1fe8da['shift']());}};_0x297d79(++_0x27cf86);}(_0x27cf,0xea));const _0x297d=function(_0x1fe8da,_0x27cf86){_0x1fe8da=_0x1fe8da-0x0;let _0x297d79=_0x27cf[_0x1fe8da];return _0x297d79;};import{getTranslation as _0x43fd15}from'../utils/common-translations.js';import{Plugin as _0x17ddcd}from'ckeditor5/src/core.js';import{uid as _0x19b912,priorities as _0x508eb9}from'ckeditor5/src/utils.js';import _0x217b34 from'./table.js';const fe=[_0x297d('0x2f'),_0x297d('0x48'),_0x297d('0xd'),_0x297d('0x7'),_0x297d('0x7c'),'tableCellBackgroundColor',_0x297d('0x7f')],be=Object[_0x297d('0x1c')](fe['map'](_0x38cc37=>[_0x38cc37,null]));export default class At extends _0x17ddcd{static get[_0x297d('0x2a')](){return[_0x217b34];}['afterInit'](){const _0x20fdd2=this[_0x297d('0x14')];if(!_0x20fdd2[_0x297d('0x65')]['has'](_0x297d('0x24')))return;const _0x4984c0=_0x20fdd2[_0x297d('0x65')][_0x297d('0x15')]('TrackChangesEditing'),_0x36c6e5=_0x20fdd2['plugins'][_0x297d('0x15')]('TableUtils'),_0x35413d=_0x20fdd2[_0x297d('0x65')][_0x297d('0x15')](_0x217b34),_0xfe7c84=_0x20fdd2[_0x297d('0x65')][_0x297d('0x15')]('TableClipboard');_0x35413d[_0x297d('0x74')][_0x297d('0x99')](_0x297d('0x5e'),'tablePasteColumn'),_0x20fdd2[_0x297d('0x85')]['schema'][_0x297d('0x4f')](_0x297d('0x4a'),{'allowIn':'tableCell','allowContentOf':_0x297d('0x0'),'isLimit':!0x0}),_0x20fdd2['conversion']['elementToElement']({'model':_0x297d('0x4a'),'view':'suggestion-td'});let _0x21ad02=null;_0x20fdd2[_0x297d('0x85')]['on'](_0x297d('0x27'),(_0x323c8c,_0x20f4dc)=>{const [_0x4fe976,_0x5f4cff]=_0x20f4dc,_0x1821e5=_0x20f4dc[_0x20f4dc[_0x297d('0x3a')]-0x1];_0x1821e5&&_0x1821e5[_0x297d('0x9c')]||_0x4984c0['_isForcedDefaultExecutionBlock']||this[_0x297d('0x14')]['commands']['get'](_0x297d('0x89'))[_0x297d('0x28')]&&function(_0x466509,_0x4a2750,_0x136e10,_0x4055d9,_0x324da4){if(_0x4a2750&&!_0x4a2750['is'](_0x297d('0x32')))return!0x1;const _0x53f738=_0x324da4[_0x297d('0x8e')](_0x466509,_0x136e10);if(!_0x53f738||!de(_0x53f738,void 0x0,_0x4055d9))return!0x1;const _0x2dfb9c=_0x4055d9[_0x297d('0x7a')](_0x136e10['document']['selection']);if(!_0x2dfb9c[_0x297d('0x3a')])return!0x1;const _0x432b23=_0x2dfb9c[0x0][_0x297d('0x51')](_0x297d('0x6f')),_0xdaf21a=_0x4055d9[_0x297d('0x37')](_0x2dfb9c),_0x9c90a4=_0x4055d9[_0x297d('0x76')](_0x2dfb9c),_0x560fdb={'startRow':_0xdaf21a[_0x297d('0x3d')],'endRow':_0xdaf21a[_0x297d('0x4e')],'startColumn':_0x9c90a4[_0x297d('0x3d')],'endColumn':_0x9c90a4[_0x297d('0x4e')]};return 0x1==_0x2dfb9c[_0x297d('0x3a')]&&(_0x560fdb[_0x297d('0x33')]+=_0x4055d9[_0x297d('0x5f')](_0x53f738)-0x1,_0x560fdb[_0x297d('0x11')]+=_0x4055d9['getColumns'](_0x53f738)-0x1),de(_0x432b23,_0x560fdb,_0x4055d9);}(_0x4fe976,_0x5f4cff,_0x20fdd2[_0x297d('0x85')],_0x36c6e5,_0xfe7c84)&&(_0x323c8c[_0x297d('0x5c')](),_0x21ad02={'cells':[],'insertionRanges':[],'deletionRanges':[],'rowInsertionRanges':[],'rowInsertionIndexes':[],'columnInsertionRanges':[],'columnInsertionIndexes':[]},_0x20fdd2['model'][_0x297d('0xb')](()=>{_0x20fdd2[_0x297d('0x85')][_0x297d('0x27')](_0x20f4dc[0x0],_0x20f4dc[0x1],_0x20f4dc[0x2],{'forceDefaultExecution':!0x0});const _0x2c12a6=_0x19b912(),{rowInsertionRanges:_0x57f1fe,columnInsertionRanges:_0x288de4,insertionRanges:_0x4f9a2b,deletionRanges:_0x49bc90,cells:_0x48df83}=_0x21ad02;_0x57f1fe['length']&&_0x4984c0[_0x297d('0x17')](_0x57f1fe,'tablePasteRow',{'tablePasteChainId':_0x2c12a6}),_0x288de4[_0x297d('0x3a')]&&_0x4984c0[_0x297d('0x17')](_0x288de4,_0x297d('0x64'),{'tablePasteChainId':_0x2c12a6}),_0x4f9a2b[_0x297d('0x3a')]&&_0x4984c0['markMultiRangeInsertion'](_0x4f9a2b,_0x297d('0x3f'),{'tablePasteChainId':_0x2c12a6,'skipNestingCheck':!0x0}),_0x49bc90[_0x297d('0x3a')]&&_0x4984c0[_0x297d('0x18')](_0x49bc90,_0x297d('0x3f'),{'tablePasteChainId':_0x2c12a6,'skipNestingCheck':!0x0});const _0xd1d2a8=_0x4984c0[_0x297d('0x72')](_0x48df83['map'](({element:_0x53f88d})=>_0x53f88d),{'formatGroupId':_0x19b912()},[],_0x297d('0x82'),{'tablePasteChainId':_0x2c12a6});if(_0xd1d2a8){const _0xe01040=_0xd1d2a8[_0x297d('0x90')](),_0x4de3b2=[];for(const {element:_0x5e6eb2,attributes:_0x6e6f54}of _0x48df83){if(!_0x6e6f54)continue;const _0x83f097=_0x20fdd2[_0x297d('0x85')][_0x297d('0x69')](_0x5e6eb2),_0x220177=_0xe01040[_0x297d('0x9b')](_0xfbd187=>_0xfbd187[_0x297d('0x98')]()[_0x297d('0x9a')](_0x83f097));_0x220177&&_0x4de3b2['push']([_0x220177[_0x297d('0x19')],_0x6e6f54]);}_0x4de3b2[_0x297d('0x3a')]&&_0xd1d2a8['setAttribute'](_0x297d('0x59'),Object[_0x297d('0x1c')](_0x4de3b2));}_0x21ad02=null;}));},{'priority':_0x508eb9[_0x297d('0x52')]+0xa}),_0x20fdd2[_0x297d('0x65')][_0x297d('0x15')](_0x297d('0x24'))['on']('_replaceTableSlotCell',(_0x5e2a4a,_0x5aa18f)=>{const [_0x3dd14d,_0x66bd34,,_0x7f2898]=_0x5aa18f;if(!_0x21ad02)return;_0x5e2a4a[_0x297d('0x5c')]();const _0x327369=_0x3dd14d[_0x297d('0x55')],_0x4a7f11=_0x66bd34,_0xf8d098=ge(_0x327369),_0x4582d0=ge(_0x4a7f11);_0x5e2a4a[_0x297d('0x6c')]=_0x327369;let _0x44bfa6=null,_0x3fdd3a=null;if(_0x4582d0||_0xf8d098){if(_0xf8d098&&!_0x4582d0){_0x7f2898[_0x297d('0x9')](_0x327369[_0x297d('0x36')](0x0));for(const _0x575aa8 of Array[_0x297d('0x91')](_0x4a7f11['getChildren']()))_0x7f2898['insert'](_0x575aa8,_0x327369,_0x297d('0x84'));const _0x53214e=_0x21ad02['rowInsertionIndexes'][_0x297d('0x25')](_0x3dd14d[_0x297d('0x86')]),_0x1c6114=_0x21ad02['columnInsertionIndexes']['includes'](_0x3dd14d[_0x297d('0x5b')]);_0x53214e||_0x1c6114||(_0x44bfa6=_0x7f2898[_0x297d('0x7e')](_0x327369));}else _0x4582d0&&!_0xf8d098&&(_0x3fdd3a=_0x7f2898['createRangeIn'](_0x327369));}else{const _0x4878f7=_0x7f2898['createElement'](_0x297d('0x4a')),_0x2720e9=_0x7f2898[_0x297d('0x38')]('tableCellSuggestion');_0x7f2898[_0x297d('0x68')](_0x7f2898[_0x297d('0x7e')](_0x327369),_0x2720e9),_0x7f2898[_0x297d('0xa')](_0x4878f7,_0x327369,0x0);for(const _0x24caac of Array[_0x297d('0x91')](_0x4a7f11[_0x297d('0x97')]()))_0x7f2898['insert'](_0x24caac,_0x4878f7,_0x297d('0x84'));_0x44bfa6=_0x7f2898['createRangeOn'](_0x4878f7),_0x3fdd3a=_0x7f2898[_0x297d('0x69')](_0x2720e9);}const _0x2dd084=Array[_0x297d('0x91')](_0x4a7f11[_0x297d('0x3c')]())['filter'](([_0x316935])=>fe[_0x297d('0x25')](_0x316935));_0x21ad02['cells'][_0x297d('0x99')]({'element':_0x327369,'attributes':_0x2dd084['length']?Object[_0x297d('0x1c')](_0x2dd084):null}),_0x44bfa6&&_0x21ad02['insertionRanges'][_0x297d('0x99')](_0x44bfa6),_0x3fdd3a&&_0x21ad02[_0x297d('0x9f')][_0x297d('0x99')](_0x3fdd3a);},{'priority':_0x297d('0x52')}),_0x36c6e5['on'](_0x297d('0x2c'),(_0x5253d7,_0x3fe4cb)=>{const [_0x4dea96,_0x4b15d7={}]=_0x3fe4cb;if(!_0x21ad02)return;const _0x268134=_0x4b15d7['at']||0x0,_0x2f806a=_0x4b15d7[_0x297d('0x56')]||0x1;_0x21ad02[_0x297d('0x62')]=new Array(_0x2f806a)[_0x297d('0x26')](_0x268134)[_0x297d('0x75')]((_0x2c73b7,_0x452fa3)=>_0x2c73b7+_0x452fa3);for(const {cell:_0xde2241}of _0x36c6e5[_0x297d('0x79')](_0x4dea96,{'startColumn':_0x268134,'endColumn':_0x268134+_0x2f806a-0x1}))_0x21ad02[_0x297d('0x23')][_0x297d('0x99')](_0x20fdd2[_0x297d('0x85')][_0x297d('0x69')](_0xde2241));},{'priority':'low'}),_0x36c6e5['on'](_0x297d('0x53'),(_0x4622a9,_0x5bb1f1)=>{const [_0x31f6c9,_0x5ceefa={}]=_0x5bb1f1;if(!_0x21ad02)return;const _0x1987e8=_0x5ceefa['at']||0x0,_0x2d4cca=_0x5ceefa['rows']||0x1;_0x21ad02['rowInsertionIndexes']=new Array(_0x2d4cca)['fill'](_0x1987e8)['map']((_0x702264,_0x2b8a8f)=>_0x702264+_0x2b8a8f);for(const {cell:_0x2ec46e}of _0x36c6e5[_0x297d('0x79')](_0x31f6c9,{'startRow':_0x1987e8,'endRow':_0x1987e8+_0x2d4cca-0x1}))_0x21ad02[_0x297d('0x1f')]['push'](_0x20fdd2['model'][_0x297d('0x69')](_0x2ec46e));},{'priority':_0x297d('0x34')}),_0x4984c0[_0x297d('0x80')]['registerDescriptionCallback'](_0x9e01d0=>{if(_0x9e01d0[_0x297d('0x8d')]&&_0x9e01d0[_0x297d('0x8d')][_0x297d('0x6a')](_0x297d('0x3f')))return _0x9e01d0['previous']?{}:{'type':_0x297d('0x2'),'content':_0x43fd15(_0x20fdd2[_0x297d('0x5a')],_0x297d('0x10'))};});const _0x33067b=()=>!0x1;for(const _0x2f5c0c of['tablePaste','tablePasteColumn',_0x297d('0x5e'),_0x297d('0x82')])_0x4984c0[_0x297d('0x12')][_0x297d('0x77')](_0x297d('0x2'),_0x2f5c0c,_0x297d('0x3e'),_0x33067b),_0x4984c0[_0x297d('0x12')]['registerCustomCallback'](_0x297d('0x1e'),_0x2f5c0c,_0x297d('0x3e'),_0x33067b),_0x4984c0[_0x297d('0x12')]['registerCustomCallback'](_0x297d('0x3'),_0x2f5c0c,_0x297d('0x3e'),_0x33067b);_0x4984c0['_suggestionFactory'][_0x297d('0x77')]('formatBlock',_0x297d('0x82'),_0x297d('0x3b'),_0x33067b),_0x4984c0[_0x297d('0x12')][_0x297d('0x77')](_0x297d('0x3'),_0x297d('0x82'),_0x297d('0x41'),(_0x324840,_0x2eacf7,_0x8661f7)=>{const _0x3bc2de=_0x324840[_0x297d('0x75')](_0x4df520=>_0x4df520['getContainedElement']())[_0x297d('0x1d')](_0x1b1158=>_0x1b1158),_0x254203=new Map(_0x3bc2de[_0x297d('0x75')](_0x433619=>[_0x433619,null]));if(_0x21ad02)for(const {element:_0xe40d00,attributes:_0x68a39b}of _0x21ad02[_0x297d('0x9d')])_0x68a39b&&_0x254203['set'](_0xe40d00,_0x68a39b);else{if(_0x8661f7&&_0x8661f7[_0x297d('0x59')])for(const [_0x53f0fe,_0x471e1d]of Object['entries'](_0x8661f7[_0x297d('0x59')])){const _0x3d11ff=_0x20fdd2[_0x297d('0x85')][_0x297d('0x73')][_0x297d('0x15')](_0x53f0fe),_0x5df7af=_0x3d11ff?_0x3d11ff[_0x297d('0x98')]()[_0x297d('0x2e')]():null;_0x5df7af&&_0x254203[_0x297d('0x50')](_0x5df7af,_0x471e1d);}}_0x20fdd2['model'][_0x297d('0xb')](_0x382829=>{for(const [_0xda4c61,_0x33b7d8]of _0x254203)_0x382829[_0x297d('0x96')]({...be,..._0x33b7d8},_0xda4c61);});});const _0x1c20a3=(_0x23fd2e,_0x2472eb)=>{_0x4984c0[_0x297d('0x12')][_0x297d('0x77')](_0x23fd2e,'tablePaste',_0x2472eb,(_0x53baa3,_0x593e95,_0x3325b9)=>{_0x20fdd2[_0x297d('0x85')][_0x297d('0xb')](_0x5c9311=>{const _0x2247da=[];for(const _0x2782c0 of _0x53baa3){const _0x2ca88f=_0x2782c0['start'][_0x297d('0x8b')];_0x2ca88f['is'](_0x297d('0x49'),_0x297d('0x4a'))&&_0x2247da[_0x297d('0x99')](_0x2ca88f);}_0x4984c0[_0x297d('0x12')][_0x297d('0x66')](_0x23fd2e,null,_0x2472eb)(_0x53baa3,_0x593e95,_0x3325b9);for(const _0x4e7c97 of _0x2247da)'$graveyard'!=_0x4e7c97['root']['rootName']&&_0x5c9311['unwrap'](_0x4e7c97);});});};_0x1c20a3(_0x297d('0x2'),_0x297d('0x41')),_0x1c20a3(_0x297d('0x2'),_0x297d('0x3b')),_0x1c20a3(_0x297d('0x1e'),'accept'),_0x1c20a3(_0x297d('0x1e'),_0x297d('0x3b')),_0x4984c0['_suggestionFactory'][_0x297d('0x77')](_0x297d('0x2'),_0x297d('0x5e'),_0x297d('0x3b'),_0x2b6ae7=>{const _0x1c2d6c=_0x2b6ae7['map'](_0x3a285c=>_0x3a285c[_0x297d('0x2e')]()),_0x2df79a=_0x1c2d6c[0x0][_0x297d('0x51')](_0x297d('0x6f')),{minRow:_0x173a15,maxRow:_0x482a65}=_0x35413d[_0x297d('0x30')](_0x1c2d6c);_0x36c6e5[_0x297d('0x2d')](_0x2df79a,{'at':_0x173a15,'rows':_0x482a65-_0x173a15+0x1});}),_0x4984c0[_0x297d('0x12')][_0x297d('0x77')]('insertion',_0x297d('0x64'),_0x297d('0x3b'),_0x1ca089=>{const _0x5de882=_0x1ca089[_0x297d('0x75')](_0x54d541=>_0x54d541['getContainedElement']()),_0x56cc0f=_0x5de882[0x0][_0x297d('0x51')](_0x297d('0x6f')),{minColumn:_0x5006c0,maxColumn:_0x2d21a7}=_0x35413d['_getCoordsForCells'](_0x5de882);_0x36c6e5[_0x297d('0x5')](_0x56cc0f,{'at':_0x5006c0,'columns':_0x2d21a7-_0x5006c0+0x1});});const _0x42e7e9=(_0x4f67df,_0x430179)=>{if(!_0x430179[_0x297d('0x8d')]||!_0x430179[_0x297d('0x8d')][_0x297d('0x6a')](_0x297d('0x3f')))return;const _0x2e172a=_0x430179[_0x297d('0x94')][_0x297d('0x6e')],_0x4f326a=_0x4984c0[_0x297d('0x54')]()[_0x297d('0x1d')](_0x37efc7=>_0x37efc7[_0x297d('0x6b')]&&_0x37efc7[_0x297d('0x94')]&&_0x37efc7[_0x297d('0x94')][_0x297d('0x6e')]==_0x2e172a);_0x4f326a[_0x297d('0x3a')]&&_0x430179['getAllAdjacentSuggestions']()[_0x297d('0x3a')]!=_0x4f326a[_0x297d('0x3a')]&&_0x4f326a[_0x297d('0x8f')]((_0x54efa3,_0x37cbdb)=>(_0x54efa3[_0x297d('0x4d')]=_0x37cbdb,_0x37cbdb[_0x297d('0x92')]=_0x54efa3,_0x37cbdb));};function _0x32bb70(_0x32c371,_0x5539b4=!0x0){const {id:_0xcce05a}=_0x4984c0[_0x297d('0x4c')](_0x32c371[_0x297d('0x57')]),_0x4b0348=[_0x297d('0x46'),_0x297d('0x42')],_0x3de576=_0x4984c0[_0x297d('0x78')][_0x297d('0x25')](_0x32c371[_0x297d('0x57')]);return _0x3de576&&_0x4b0348[_0x297d('0x99')](_0x297d('0x16')),{'classes':_0x4b0348,'attributes':{'data-suggestion':_0xcce05a},'priority':_0x3de576&&_0x5539b4?0xbc2:0xbb8};}_0x4984c0['on'](_0x297d('0x8'),_0x42e7e9,{'priority':_0x297d('0x52')}),_0x4984c0['on'](_0x297d('0x67'),_0x42e7e9,{'priority':_0x297d('0x52')}),_0x20fdd2[_0x297d('0x85')][_0x297d('0x63')][_0x297d('0xf')](()=>{let _0xb05e73=!0x1;const _0x4f13fc=Array[_0x297d('0x91')](_0x20fdd2[_0x297d('0x85')][_0x297d('0x63')][_0x297d('0x1a')]['getChangedMarkers']());for(const {name:_0x57285f,data:_0x2cfdfa}of _0x4f13fc){const {group:_0x30f20a,type:_0x3130ac,id:_0x59a040}=_0x4984c0[_0x297d('0x4c')](_0x57285f);if(_0x297d('0x22')!=_0x30f20a||_0x297d('0x1e')!=_0x3130ac||_0x2cfdfa[_0x297d('0x6')])continue;if(!_0x4984c0[_0x297d('0x95')](_0x59a040))continue;const _0x56f936=_0x4984c0['getSuggestion'](_0x59a040)[_0x297d('0x2b')](),_0x197b4c=_0x20fdd2['plugins'][_0x297d('0x15')](_0x297d('0x4b'))['me'];for(const _0x5876f8 of _0x4984c0[_0x297d('0x54')]()){if(!_0x5876f8[_0x297d('0x6b')]||_0x5876f8[_0x297d('0x93')]!=_0x197b4c)continue;if('formatBlock'!=_0x5876f8['type']||'tablePasteCell'!=_0x5876f8['subType'])continue;if(_0x5876f8[_0x297d('0x2b')]()['every'](_0x19fa98=>_0x56f936[_0x297d('0x47')](_0x4e6696=>_0x4e6696[_0x297d('0x61')](_0x19fa98,!0x0))))for(const _0x5c6648 of _0x5876f8['getAllAdjacentSuggestions']())_0x5c6648[_0x297d('0x6b')]&&(_0x5c6648[_0x297d('0x3b')](),_0xb05e73=!0x0);}}return _0xb05e73;}),_0x20fdd2[_0x297d('0x85')][_0x297d('0x63')][_0x297d('0xf')](_0x4f1b5e=>{const _0x4fa65=_0x20fdd2[_0x297d('0x60')][_0x297d('0x15')](_0x297d('0x45'));if(!_0x4fa65||!_0x4fa65[_0x297d('0x9e')][_0x297d('0x6d')](_0x4f1b5e['batch']))return!0x1;let _0x612929=!0x1;const _0x147fcf=_0x20fdd2[_0x297d('0x65')][_0x297d('0x15')]('Users')['me'],_0x2f1eac=_0x20fdd2[_0x297d('0x85')][_0x297d('0x63')][_0x297d('0x1a')][_0x297d('0x43')](),_0x3bab6f=Array['from'](_0x20fdd2[_0x297d('0x85')][_0x297d('0x63')][_0x297d('0x1a')][_0x297d('0x81')]())['filter'](({name:_0x136f66,data:_0x324105})=>{const {group:_0x11fbef,subType:_0x2633d4,authorId:_0x322217}=_0x4984c0['_splitMarkerName'](_0x136f66);return _0x297d('0x22')==_0x11fbef&&_0x297d('0x3f')==_0x2633d4&&_0x322217==_0x147fcf['id']&&!_0x324105['oldRange'];});for(const _0xdc6597 of _0x2f1eac){if(_0x297d('0xa')!=_0xdc6597['type']||_0x297d('0x4a')!=_0xdc6597[_0x297d('0x19')]||0x1!=_0xdc6597[_0x297d('0x3a')])continue;const _0x37eb92=_0x4f1b5e[_0x297d('0x7b')](_0xdc6597['position'],_0xdc6597[_0x297d('0x13')]['getShiftedBy'](0x1));if(!_0x3bab6f[_0x297d('0x9b')](({data:_0x2d5829})=>_0x2d5829[_0x297d('0x31')][_0x297d('0x9a')](_0x37eb92)))for(const {name:_0xfb1638,data:_0x3ec005}of _0x3bab6f)if(_0x37eb92['containsRange'](_0x3ec005[_0x297d('0x31')])){_0x4f1b5e[_0x297d('0x5d')](_0xfb1638,{'range':_0x37eb92}),_0x612929=!0x0;break;}}return _0x612929;}),_0x20fdd2[_0x297d('0x85')][_0x297d('0x63')][_0x297d('0xf')](_0x5271ce=>{let _0x124e5e=!0x1;const _0x59fe81=_0x20fdd2['plugins']['get'](_0x297d('0x4b'))['me'],_0x4a6308=_0x4984c0[_0x297d('0x54')]()[_0x297d('0x1d')](_0x31a51b=>_0x31a51b[_0x297d('0x6b')]&&_0x31a51b[_0x297d('0x93')]==_0x59fe81),_0x4638cb=new Set(),_0x376e3b=new Set();for(const _0x53cc0f of _0x4a6308)if(_0x297d('0x3f')==_0x53cc0f['subType'])for(const _0x132f78 of _0x53cc0f[_0x297d('0x90')]()){const _0x301e7b=_0x132f78[_0x297d('0x98')]()[_0x297d('0x2e')]();if(_0x301e7b){if(_0x301e7b['is'](_0x297d('0x49'),_0x297d('0x4a'))&&ge(_0x301e7b)){_0x53cc0f[_0x297d('0x83')](_0x132f78[_0x297d('0x19')]),_0x4638cb['add'](_0x301e7b),_0x124e5e=!0x0;const _0x2070fc=_0x301e7b[_0x297d('0x7d')],_0x1ac05f=_0x301e7b[_0x297d('0x87')],_0x556019=_0x2070fc&&_0x2070fc['is']('element','tableCellSuggestion'),_0x181af4=_0x1ac05f&&_0x1ac05f['is'](_0x297d('0x49'),_0x297d('0x4a'));_0x556019&&!_0x4638cb[_0x297d('0x6d')](_0x2070fc)&&_0x376e3b[_0x297d('0x35')](_0x2070fc),_0x181af4&&!_0x4638cb[_0x297d('0x6d')](_0x1ac05f)&&_0x376e3b[_0x297d('0x35')](_0x1ac05f);}else _0x301e7b['is'](_0x297d('0x49'),'paragraph')&&_0x301e7b[_0x297d('0x58')]&&(_0x53cc0f[_0x297d('0x83')](_0x132f78[_0x297d('0x19')]),_0x124e5e=!0x0);}}else{if('tablePasteCell'==_0x53cc0f[_0x297d('0x8d')]){if(!_0x53cc0f['attributes']||!_0x53cc0f[_0x297d('0x94')][_0x297d('0x6e')])continue;const _0xcbb923=_0x53cc0f[_0x297d('0x94')][_0x297d('0x59')];if(_0xcbb923&&Object['keys'](_0xcbb923)[_0x297d('0x3a')])continue;const _0x1e16c6=_0x53cc0f['attributes']['tablePasteChainId'];let _0xdcf4b0=!0x0,_0x5f2d0f=!0x0;for(const _0x4093f0 of _0x4a6308)if(_0x4093f0[_0x297d('0x8d')]&&_0x4093f0['subType'][_0x297d('0x6a')](_0x297d('0x3f'))){if(!_0x4093f0['attributes'][_0x297d('0x6e')]){_0x5f2d0f=!0x1;break;}if(_0x4093f0['id']!=_0x53cc0f['id']&&_0x4093f0[_0x297d('0x94')][_0x297d('0x6e')]==_0x1e16c6){_0xdcf4b0=!0x1;break;}}_0x5f2d0f&&_0xdcf4b0&&(_0x53cc0f[_0x297d('0x71')](),_0x124e5e=!0x0);}}for(const _0x132cd0 of _0x4638cb)_0x5271ce[_0x297d('0x9')](_0x132cd0);for(const _0x2152d0 of _0x376e3b)_0x5271ce[_0x297d('0x8a')](_0x2152d0);return _0x124e5e;}),_0x20fdd2[_0x297d('0x1')][_0x297d('0xc')]('editingDowncast')[_0x297d('0xe')]({'model':'suggestion:formatBlock:tablePasteCell','view':(_0x34fbde,_0x89d486)=>_0x32bb70(_0x34fbde),'converterPriority':_0x297d('0x52')}),_0x20fdd2[_0x297d('0x1')][_0x297d('0xc')](_0x297d('0x1b'))[_0x297d('0xe')]({'model':_0x297d('0x40'),'view':(_0x1c9cce,_0x4616ed)=>_0x4616ed[_0x297d('0x8c')][_0x297d('0x29')]?_0x32bb70(_0x1c9cce,!0x1):null,'converterPriority':_0x297d('0x52')});const _0x129a54=_0x20fdd2[_0x297d('0x21')]['view'];this[_0x297d('0x88')](_0x129a54['document'],'clipboardOutput',(_0x16d9c2,_0x4ed73d)=>{const _0x262f06=[];for(const _0x221112 of _0x129a54[_0x297d('0x7e')](_0x4ed73d[_0x297d('0x70')])[_0x297d('0xa0')]())_0x221112['is'](_0x297d('0x49'),_0x297d('0x4'))&&_0x262f06[_0x297d('0x99')](_0x221112);_0x129a54[_0x297d('0xb')](_0x39362e=>{for(const _0x2e73f0 of _0x262f06)_0x39362e[_0x297d('0x20')](_0x39362e[_0x297d('0x7e')](_0x2e73f0),_0x39362e[_0x297d('0x44')](_0x2e73f0)),_0x39362e[_0x297d('0x9')](_0x2e73f0);});});}}function ge(_0xb6acf4){if(_0xb6acf4[_0x297d('0x58')])return!0x0;const _0x50db40=_0xb6acf4[_0x297d('0x36')](0x0);return _0x50db40['is']('element',_0x297d('0x39'))&&_0x50db40[_0x297d('0x58')];}function de(_0x22ca43,_0x4a420b={},_0x1023f8){for(const {isAnchor:_0x3c60e9,cellHeight:_0x37d6f0,cellWidth:_0x2eac85}of _0x1023f8[_0x297d('0x79')](_0x22ca43,{'includeAllSlots':!0x0,..._0x4a420b}))if(!_0x3c60e9||0x1!=_0x37d6f0||0x1!=_0x2eac85)return!0x1;return!0x0;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3e74=['model','get','afterInit','subType','accept','type','has','document','*Format:*\x20resize\x20table','resizeTable','_suggestionFactory','formatInline','formatGroupId','plugins','handleSuggestionDescription','author','tableWidth','bind','locale','TableColumnResizeEditing','table','Users','getSelectedElement','formatBlock','discard','columnWidths','change','getSuggestions','commandParams','resizeTableWidth','editor','_descriptionFactory','getColumnGroupElement','markBlockFormat','format','handleResizeTableWidthCommand','registerCustomCallback','getAttribute','registerDescriptionCallback'];(function(_0x40e1e4,_0x3e740f){const _0xc7c923=function(_0x136945){while(--_0x136945){_0x40e1e4['push'](_0x40e1e4['shift']());}};_0xc7c923(++_0x3e740f);}(_0x3e74,0x174));const _0xc7c9=function(_0x40e1e4,_0x3e740f){_0x40e1e4=_0x40e1e4-0x0;let _0xc7c923=_0x3e74[_0x40e1e4];return _0xc7c923;};import{Plugin as _0x2d67f5}from'ckeditor5/src/core.js';import{getTranslation as _0x168061}from'../utils/common-translations.js';export default class It extends _0x2d67f5{[_0xc7c9('0x14')](){if(!this[_0xc7c9('0x9')]['plugins'][_0xc7c9('0x18')](_0xc7c9('0x25')))return;const _0x36f89a=this['editor']['plugins'][_0xc7c9('0x13')]('TrackChangesEditing');_0x36f89a['enableCommand'](_0xc7c9('0x8'),this[_0xc7c9('0xe')][_0xc7c9('0x23')](this)),_0x36f89a[_0xc7c9('0x1c')][_0xc7c9('0xf')](_0xc7c9('0x2'),_0xc7c9('0x1b'),'accept',_0x36f89a['_suggestionFactory']['getSuggestionCallback']('formatBlock',null,_0xc7c9('0x3'))),_0x36f89a[_0xc7c9('0x1c')][_0xc7c9('0xf')](_0xc7c9('0x2'),_0xc7c9('0x1b'),_0xc7c9('0x3'),_0x36f89a[_0xc7c9('0x1c')]['getSuggestionCallback'](_0xc7c9('0x2'),null,_0xc7c9('0x16'))),_0x36f89a[_0xc7c9('0xa')][_0xc7c9('0x11')](this[_0xc7c9('0x20')][_0xc7c9('0x23')](this));}[_0xc7c9('0xe')](_0x55f585,_0x5de9f2){const _0x4c01df=this['editor'][_0xc7c9('0x1f')]['get']('TrackChangesEditing'),_0x200bf2=this[_0xc7c9('0x9')][_0xc7c9('0x1f')][_0xc7c9('0x13')](_0xc7c9('0x25')),_0x79be36=_0x5de9f2[_0xc7c9('0x26')]||this[_0xc7c9('0x9')][_0xc7c9('0x12')][_0xc7c9('0x19')]['selection'][_0xc7c9('0x1')]();this[_0xc7c9('0x9')][_0xc7c9('0x12')][_0xc7c9('0x5')](()=>{const _0x3c3119=_0x200bf2[_0xc7c9('0xb')](_0x79be36);let _0x5b010e=_0x3c3119?_0x200bf2['getTableColumnsWidths'](_0x3c3119):null,_0x2cbea4=_0x79be36[_0xc7c9('0x10')](_0xc7c9('0x22'))||null;const _0x316df0=_0x5de9f2['tableWidth']||_0x2cbea4,_0x148c8b=_0x5de9f2[_0xc7c9('0x4')]||_0x5b010e,_0x1ab2b8=this[_0xc7c9('0x9')][_0xc7c9('0x1f')][_0xc7c9('0x13')](_0xc7c9('0x0'))['me'];for(const _0x171a09 of _0x4c01df[_0xc7c9('0x6')]()){const _0x409665=_0x171a09['getContainedElement']();if('resizeTable'===_0x171a09[_0xc7c9('0x15')]&&_0x409665===_0x79be36){_0x171a09[_0xc7c9('0x21')]!==_0x1ab2b8&&_0x171a09[_0xc7c9('0x3')]();const _0x2e2e0a=_0x171a09['data'][_0xc7c9('0x7')];_0x2cbea4=_0x2e2e0a[0x0][_0xc7c9('0x22')],_0x5b010e=_0x2e2e0a[0x0][_0xc7c9('0x4')];break;}}_0x55f585({'table':_0x79be36,'tableWidth':_0x316df0,'columnWidths':_0x148c8b}),_0x4c01df[_0xc7c9('0xc')](_0x79be36,{'commandName':_0xc7c9('0x8'),'commandParams':[{'tableWidth':_0x2cbea4,'columnWidths':_0x5b010e}],'formatGroupId':'resizeTable'},[],'resizeTable');});}[_0xc7c9('0x20')](_0x7d227b){if(_0xc7c9('0x2')!=_0x7d227b[_0xc7c9('0x17')]&&_0xc7c9('0x1d')!=_0x7d227b['type'])return;const {data:_0x3d0c41}=_0x7d227b;if(_0x3d0c41&&_0xc7c9('0x1b')===_0x3d0c41[_0xc7c9('0x1e')]){const _0x2efe3f=_0xc7c9('0x1a');return{'type':_0xc7c9('0xd'),'content':_0x168061(this[_0xc7c9('0x9')][_0xc7c9('0x24')],_0x2efe3f)};}}}
23
+ const _0x4659=['getAttribute','accept','handleResizeTableWidthCommand','formatInline','_descriptionFactory','change','selection','TrackChangesEditing','registerCustomCallback','type','has','tableWidth','columnWidths','bind','editor','get','*Format:*\x20resize\x20table','locale','enableCommand','author','document','getSuggestions','resizeTableWidth','formatBlock','TableColumnResizeEditing','discard','_suggestionFactory','Users','plugins','resizeTable','handleSuggestionDescription','model','registerDescriptionCallback','subType','markBlockFormat','table','getSuggestionCallback'];(function(_0x20f6b5,_0x465925){const _0x2f0602=function(_0x56e9bb){while(--_0x56e9bb){_0x20f6b5['push'](_0x20f6b5['shift']());}};_0x2f0602(++_0x465925);}(_0x4659,0xee));const _0x2f06=function(_0x20f6b5,_0x465925){_0x20f6b5=_0x20f6b5-0x0;let _0x2f0602=_0x4659[_0x20f6b5];return _0x2f0602;};import{Plugin as _0x3ca0f1}from'ckeditor5/src/core.js';import{getTranslation as _0x30d5d4}from'../utils/common-translations.js';export default class It extends _0x3ca0f1{['afterInit'](){if(!this['editor']['plugins'][_0x2f06('0x1f')](_0x2f06('0x8')))return;const _0x44b3e9=this['editor'][_0x2f06('0xc')][_0x2f06('0x24')]('TrackChangesEditing');_0x44b3e9[_0x2f06('0x2')](_0x2f06('0x6'),this[_0x2f06('0x17')][_0x2f06('0x22')](this)),_0x44b3e9[_0x2f06('0xa')][_0x2f06('0x1d')](_0x2f06('0x7'),_0x2f06('0xd'),_0x2f06('0x16'),_0x44b3e9[_0x2f06('0xa')][_0x2f06('0x14')](_0x2f06('0x7'),null,_0x2f06('0x9'))),_0x44b3e9[_0x2f06('0xa')][_0x2f06('0x1d')](_0x2f06('0x7'),_0x2f06('0xd'),_0x2f06('0x9'),_0x44b3e9[_0x2f06('0xa')][_0x2f06('0x14')](_0x2f06('0x7'),null,'accept')),_0x44b3e9[_0x2f06('0x19')][_0x2f06('0x10')](this['handleSuggestionDescription'][_0x2f06('0x22')](this));}[_0x2f06('0x17')](_0x1e0912,_0x455f24){const _0x2eceb5=this[_0x2f06('0x23')]['plugins'][_0x2f06('0x24')](_0x2f06('0x1c')),_0x42a5ce=this[_0x2f06('0x23')]['plugins']['get'](_0x2f06('0x8')),_0x2eb07d=_0x455f24[_0x2f06('0x13')]||this[_0x2f06('0x23')][_0x2f06('0xf')][_0x2f06('0x4')][_0x2f06('0x1b')]['getSelectedElement']();this['editor'][_0x2f06('0xf')][_0x2f06('0x1a')](()=>{const _0x147bed=_0x42a5ce['getColumnGroupElement'](_0x2eb07d);let _0x6a38d4=_0x147bed?_0x42a5ce['getTableColumnsWidths'](_0x147bed):null,_0x13bb76=_0x2eb07d[_0x2f06('0x15')](_0x2f06('0x20'))||null;const _0x236db1=_0x455f24[_0x2f06('0x20')]||_0x13bb76,_0x28f9c4=_0x455f24[_0x2f06('0x21')]||_0x6a38d4,_0xf1782c=this[_0x2f06('0x23')]['plugins'][_0x2f06('0x24')](_0x2f06('0xb'))['me'];for(const _0x472003 of _0x2eceb5[_0x2f06('0x5')]()){const _0x1425d7=_0x472003['getContainedElement']();if(_0x2f06('0xd')===_0x472003[_0x2f06('0x11')]&&_0x1425d7===_0x2eb07d){_0x472003[_0x2f06('0x3')]!==_0xf1782c&&_0x472003[_0x2f06('0x9')]();const _0x278c45=_0x472003['data']['commandParams'];_0x13bb76=_0x278c45[0x0][_0x2f06('0x20')],_0x6a38d4=_0x278c45[0x0][_0x2f06('0x21')];break;}}_0x1e0912({'table':_0x2eb07d,'tableWidth':_0x236db1,'columnWidths':_0x28f9c4}),_0x2eceb5[_0x2f06('0x12')](_0x2eb07d,{'commandName':_0x2f06('0x6'),'commandParams':[{'tableWidth':_0x13bb76,'columnWidths':_0x6a38d4}],'formatGroupId':_0x2f06('0xd')},[],'resizeTable');});}[_0x2f06('0xe')](_0x4b1a1c){if('formatBlock'!=_0x4b1a1c['type']&&_0x2f06('0x18')!=_0x4b1a1c[_0x2f06('0x1e')])return;const {data:_0x3521d6}=_0x4b1a1c;if(_0x3521d6&&_0x2f06('0xd')===_0x3521d6['formatGroupId']){const _0x3d3ce0=_0x2f06('0x0');return{'type':'format','content':_0x30d5d4(this[_0x2f06('0x23')][_0x2f06('0x1')],_0x3d3ce0)};}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1803=['end','_enableDefaultAttributesIntegration','locale','type','addMarker:suggestion','markerNameToElements','formatBlock','has','forceValue','registerCustomCallback','ck-suggestion-marker-','nodeBefore','item','markerName','requires','downcastDispatcher','name','headingColumns','commandParams','format','bindElementToMarker','registerDescriptionCallback','getSuggestion','addClass','data-suggestion','setTableRowHeader','ck-suggestion-marker--active','nodeAfter','plugins','_registerLegacyDescription','createTableWalker','removeClass','TableUtils','editor','cell','_splitMarkerName','_suggestionFactory','FORMAT_REGULAR_COLUMN','*Format:*\x20%0','registerAttributeLabel','getCellLocation','FORMAT_HEADER_COLUMN','FORMAT_HEADER_ROW','accept','commandName','editing','activeMarkers','get','TableEditing','writer','showSuggestionHighlights','TrackChangesEditing','options','includes','mapper','_acceptFormatSuggestionCallbackFactory','headingRows','parent','_descriptionFactory','setTableColumnHeader','_handleLegacySuggestions','highest','data','removeMarker:suggestion','FORMAT_REGULAR_ROW','markerRange','unbindElementFromMarkerName'];(function(_0x178ee5,_0x1803d8){const _0x28ccc1=function(_0x136698){while(--_0x136698){_0x178ee5['push'](_0x178ee5['shift']());}};_0x28ccc1(++_0x1803d8);}(_0x1803,0x6a));const _0x28cc=function(_0x178ee5,_0x1803d8){_0x178ee5=_0x178ee5-0x0;let _0x28ccc1=_0x1803[_0x178ee5];return _0x28ccc1;};import{Plugin as _0x1af93d}from'ckeditor5/src/core.js';import _0x38398f from'./table.js';import{getTranslation as _0x1c799d}from'../utils/common-translations.js';export default class St extends _0x1af93d{static get[_0x28cc('0x2a')](){return[_0x38398f];}['afterInit'](){const _0x147ca3=this[_0x28cc('0x3d')];if(!_0x147ca3[_0x28cc('0x38')][_0x28cc('0x23')](_0x28cc('0x9')))return;const _0x161d83=_0x147ca3[_0x28cc('0x1e')],_0x5ba65c=_0x147ca3[_0x28cc('0x38')]['get'](_0x28cc('0xc'));_0x5ba65c[_0x28cc('0x1d')]('setTableRowHeader',[],[_0x28cc('0x11')]),_0x5ba65c[_0x28cc('0x1d')]('setTableColumnHeader',[],[_0x28cc('0x2d')]),_0x5ba65c['_descriptionFactory'][_0x28cc('0x0')]('headingRows',_0x1c799d(_0x161d83,_0x28cc('0x3'))),_0x5ba65c[_0x28cc('0x13')]['registerAttributeLabel']('headingColumns',_0x1c799d(_0x161d83,_0x28cc('0x2'))),this[_0x28cc('0x15')]();}[_0x28cc('0x15')](){const _0x11fd52=this[_0x28cc('0x3d')][_0x28cc('0x38')]['get']('TrackChangesEditing'),_0x28838d=this[_0x28cc('0x3d')][_0x28cc('0x38')]['get'](_0x28cc('0x3c')),_0x1bb59c=this[_0x28cc('0x3d')][_0x28cc('0x38')]['get'](_0x38398f)[_0x28cc('0x10')]();function _0x525e1e({showActiveMarker:_0x31d2d1=!0x0,setDataAttribute:_0x199e26=!0x0}={}){return(_0x5af3f7,_0x4d30f9,_0x1040c8)=>{const {type:_0x2cfb60,id:_0x307439}=_0x11fd52[_0x28cc('0x3f')](_0x4d30f9[_0x28cc('0x29')]),_0x561f8a=_0x11fd52[_0x28cc('0x32')](_0x307439),_0xe876f5=_0x561f8a[_0x28cc('0x17')];if('formatBlock'!=_0x561f8a[_0x28cc('0x1f')]||!_0xe876f5||_0x28cc('0x14')!=_0xe876f5['commandName'])return;if(_0x4d30f9[_0x28cc('0x28')])return void _0x5af3f7['stop']();if(!_0x1040c8['consumable']['consume'](_0x4d30f9[_0x28cc('0x1a')],_0x5af3f7[_0x28cc('0x2c')]))return;const _0x22cad5=_0x4d30f9[_0x28cc('0x1a')]['start'][_0x28cc('0x37')],_0x135a67=_0x4d30f9[_0x28cc('0x1a')][_0x28cc('0x1c')][_0x28cc('0x27')],_0x18471a=_0x22cad5['parent'][_0x28cc('0x12')],{column:_0x5d45a2}=_0x28838d[_0x28cc('0x1')](_0x22cad5),{column:_0x239e36}=_0x28838d[_0x28cc('0x1')](_0x135a67);for(let _0x2d5469=_0x5d45a2;_0x2d5469<=_0x239e36;_0x2d5469++){const _0xb62e7b=_0x28838d[_0x28cc('0x3a')](_0x18471a,{'column':_0x2d5469,'includeAllSlots':!0x1});for(const _0x38e61c of _0xb62e7b){const _0x29b24d=_0x38e61c[_0x28cc('0x3e')],_0x22a336=_0x1040c8[_0x28cc('0xf')]['toViewElement'](_0x29b24d);_0x1040c8[_0x28cc('0xa')]['addClass'](_0x28cc('0x26')+_0x2cfb60,_0x22a336),_0x199e26&&_0x1040c8[_0x28cc('0xa')]['setAttribute']('data-suggestion',_0x307439,_0x22a336),_0x1040c8[_0x28cc('0xf')][_0x28cc('0x30')](_0x22a336,_0x4d30f9['markerName']),_0x31d2d1&&(_0x11fd52[_0x28cc('0x7')][_0x28cc('0xe')](_0x4d30f9[_0x28cc('0x29')])?_0x1040c8[_0x28cc('0xa')][_0x28cc('0x33')]('ck-suggestion-marker--active',_0x22a336):_0x1040c8[_0x28cc('0xa')]['removeClass']('ck-suggestion-marker--active',_0x22a336));}}};}_0x11fd52[_0x28cc('0x40')][_0x28cc('0x25')]('formatBlock','setTableRowHeader',_0x28cc('0x4'),_0x1bb59c),_0x11fd52[_0x28cc('0x40')][_0x28cc('0x25')](_0x28cc('0x22'),_0x28cc('0x14'),_0x28cc('0x4'),_0x1bb59c),this[_0x28cc('0x3d')][_0x28cc('0x6')][_0x28cc('0x2b')]['on'](_0x28cc('0x20'),_0x525e1e(),{'priority':_0x28cc('0x16')}),this[_0x28cc('0x3d')][_0x28cc('0x17')][_0x28cc('0x2b')]['on']('addMarker:suggestion',(_0x1093c9,_0x3e456f,_0x24d4b0)=>{_0x24d4b0[_0x28cc('0xd')][_0x28cc('0xb')]&&_0x525e1e({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x1093c9,_0x3e456f,_0x24d4b0);},{'priority':_0x28cc('0x16')}),this[_0x28cc('0x3d')][_0x28cc('0x6')][_0x28cc('0x2b')]['on'](_0x28cc('0x18'),(_0x47b909,_0x1c630b,_0x18a6ed)=>{const {type:_0x52a733,id:_0x283a7a}=_0x11fd52['_splitMarkerName'](_0x1c630b[_0x28cc('0x29')]),_0x217d55=_0x11fd52[_0x28cc('0x32')](_0x283a7a),_0x1b24ec=_0x217d55['data'];if(_0x28cc('0x22')!=_0x217d55['type']||!_0x1b24ec||'setTableColumnHeader'!=_0x1b24ec['commandName'])return;const _0x1aed72=_0x18a6ed[_0x28cc('0xf')][_0x28cc('0x21')](_0x1c630b[_0x28cc('0x29')]);if(_0x1aed72)for(const _0xd2be6e of _0x1aed72)_0x18a6ed[_0x28cc('0xa')][_0x28cc('0x3b')](_0x28cc('0x26')+_0x52a733,_0xd2be6e),_0x18a6ed[_0x28cc('0xa')][_0x28cc('0x3b')](_0x28cc('0x36'),_0xd2be6e),_0x18a6ed[_0x28cc('0xa')]['removeAttribute'](_0x28cc('0x34'),_0xd2be6e),_0x18a6ed[_0x28cc('0xf')][_0x28cc('0x1b')](_0xd2be6e,_0x1c630b[_0x28cc('0x29')]);},{'priority':_0x28cc('0x16')}),this[_0x28cc('0x39')]();}[_0x28cc('0x39')](){const _0x59f82f=this['editor'],_0x4ea8ba=_0x59f82f[_0x28cc('0x1e')];function _0x23b582(_0x41f94a){return{'type':_0x28cc('0x2f'),'content':_0x1c799d(_0x4ea8ba,_0x28cc('0x42'),_0x41f94a)};}_0x59f82f[_0x28cc('0x38')][_0x28cc('0x8')](_0x28cc('0xc'))[_0x28cc('0x13')][_0x28cc('0x31')](_0x2f06a6=>{if(_0x28cc('0x22')!=_0x2f06a6[_0x28cc('0x1f')])return;const {data:_0x1be65f}=_0x2f06a6;if(_0x1be65f){if(_0x28cc('0x35')==_0x1be65f['commandName']){const _0xc7fc11=_0x1be65f[_0x28cc('0x2e')][0x0]['forceValue'];return _0x23b582(_0x1c799d(_0x4ea8ba,_0xc7fc11?'FORMAT_HEADER_ROW':_0x28cc('0x19')));}if('setTableColumnHeader'==_0x1be65f[_0x28cc('0x5')]){const _0x188b61=_0x1be65f[_0x28cc('0x2e')][0x0][_0x28cc('0x24')];return _0x23b582(_0x1c799d(_0x4ea8ba,_0x188b61?'FORMAT_HEADER_COLUMN':_0x28cc('0x41')));}}});}}
23
+ const _0x3553=['ck-suggestion-marker-','commandName','markerName','data','highest','commandParams','setTableColumnHeader','parent','removeClass','downcastDispatcher','_enableDefaultAttributesIntegration','start','locale','format','FORMAT_HEADER_ROW','markerRange','createTableWalker','removeAttribute','setTableRowHeader','formatBlock','nodeAfter','_suggestionFactory','mapper','stop','_handleLegacySuggestions','TrackChangesEditing','FORMAT_HEADER_COLUMN','registerDescriptionCallback','ck-suggestion-marker--active','addMarker:suggestion','consume','forceValue','registerCustomCallback','nodeBefore','registerAttributeLabel','editing','requires','includes','item','headingColumns','headingRows','toViewElement','markerNameToElements','TableUtils','getCellLocation','_registerLegacyDescription','get','FORMAT_REGULAR_COLUMN','writer','FORMAT_REGULAR_ROW','_splitMarkerName','addClass','setAttribute','plugins','getSuggestion','consumable','activeMarkers','cell','_descriptionFactory','accept','editor','type','unbindElementFromMarkerName','data-suggestion'];(function(_0x281b72,_0x355386){const _0x44918f=function(_0x1cc608){while(--_0x1cc608){_0x281b72['push'](_0x281b72['shift']());}};_0x44918f(++_0x355386);}(_0x3553,0x6e));const _0x4491=function(_0x281b72,_0x355386){_0x281b72=_0x281b72-0x0;let _0x44918f=_0x3553[_0x281b72];return _0x44918f;};import{Plugin as _0xe89e44}from'ckeditor5/src/core.js';import _0x1b1ba9 from'./table.js';import{getTranslation as _0x15ba60}from'../utils/common-translations.js';export default class St extends _0xe89e44{static get[_0x4491('0x36')](){return[_0x1b1ba9];}['afterInit'](){const _0x955a85=this[_0x4491('0xe')];if(!_0x955a85[_0x4491('0x7')]['has']('TableEditing'))return;const _0x5bf976=_0x955a85[_0x4491('0x1e')],_0x2ceb3b=_0x955a85[_0x4491('0x7')][_0x4491('0x0')](_0x4491('0x2b'));_0x2ceb3b[_0x4491('0x1c')](_0x4491('0x24'),[],['headingRows']),_0x2ceb3b['_enableDefaultAttributesIntegration']('setTableColumnHeader',[],[_0x4491('0x39')]),_0x2ceb3b[_0x4491('0xc')][_0x4491('0x34')](_0x4491('0x3a'),_0x15ba60(_0x5bf976,_0x4491('0x20'))),_0x2ceb3b['_descriptionFactory'][_0x4491('0x34')](_0x4491('0x39'),_0x15ba60(_0x5bf976,_0x4491('0x2c'))),this[_0x4491('0x2a')]();}['_handleLegacySuggestions'](){const _0x121345=this[_0x4491('0xe')][_0x4491('0x7')]['get']('TrackChangesEditing'),_0x469d34=this[_0x4491('0xe')][_0x4491('0x7')][_0x4491('0x0')](_0x4491('0x3d')),_0x472567=this['editor'][_0x4491('0x7')][_0x4491('0x0')](_0x1b1ba9)['_acceptFormatSuggestionCallbackFactory']();function _0x1c52d1({showActiveMarker:_0x3d024f=!0x0,setDataAttribute:_0x3ec914=!0x0}={}){return(_0x4a834e,_0x3c1e66,_0x3baaeb)=>{const {type:_0x2c506d,id:_0x4e54f9}=_0x121345[_0x4491('0x4')](_0x3c1e66[_0x4491('0x14')]),_0xd4a7aa=_0x121345[_0x4491('0x8')](_0x4e54f9),_0x51e3c5=_0xd4a7aa[_0x4491('0x15')];if(_0x4491('0x25')!=_0xd4a7aa[_0x4491('0xf')]||!_0x51e3c5||_0x4491('0x18')!=_0x51e3c5[_0x4491('0x13')])return;if(_0x3c1e66[_0x4491('0x38')])return void _0x4a834e[_0x4491('0x29')]();if(!_0x3baaeb[_0x4491('0x9')][_0x4491('0x30')](_0x3c1e66[_0x4491('0x21')],_0x4a834e['name']))return;const _0x1a34de=_0x3c1e66[_0x4491('0x21')][_0x4491('0x1d')][_0x4491('0x26')],_0x54fc56=_0x3c1e66[_0x4491('0x21')]['end'][_0x4491('0x33')],_0x4b222e=_0x1a34de[_0x4491('0x19')]['parent'],{column:_0x2e0836}=_0x469d34[_0x4491('0x3e')](_0x1a34de),{column:_0x1fba5d}=_0x469d34[_0x4491('0x3e')](_0x54fc56);for(let _0x237668=_0x2e0836;_0x237668<=_0x1fba5d;_0x237668++){const _0x3b2d7b=_0x469d34[_0x4491('0x22')](_0x4b222e,{'column':_0x237668,'includeAllSlots':!0x1});for(const _0x551303 of _0x3b2d7b){const _0x28d8d3=_0x551303[_0x4491('0xb')],_0x1882ad=_0x3baaeb[_0x4491('0x28')][_0x4491('0x3b')](_0x28d8d3);_0x3baaeb[_0x4491('0x2')][_0x4491('0x5')](_0x4491('0x12')+_0x2c506d,_0x1882ad),_0x3ec914&&_0x3baaeb[_0x4491('0x2')][_0x4491('0x6')](_0x4491('0x11'),_0x4e54f9,_0x1882ad),_0x3baaeb[_0x4491('0x28')]['bindElementToMarker'](_0x1882ad,_0x3c1e66[_0x4491('0x14')]),_0x3d024f&&(_0x121345[_0x4491('0xa')][_0x4491('0x37')](_0x3c1e66[_0x4491('0x14')])?_0x3baaeb[_0x4491('0x2')][_0x4491('0x5')](_0x4491('0x2e'),_0x1882ad):_0x3baaeb[_0x4491('0x2')]['removeClass'](_0x4491('0x2e'),_0x1882ad));}}};}_0x121345['_suggestionFactory']['registerCustomCallback'](_0x4491('0x25'),_0x4491('0x24'),_0x4491('0xd'),_0x472567),_0x121345[_0x4491('0x27')][_0x4491('0x32')](_0x4491('0x25'),_0x4491('0x18'),_0x4491('0xd'),_0x472567),this['editor']['editing'][_0x4491('0x1b')]['on'](_0x4491('0x2f'),_0x1c52d1(),{'priority':'highest'}),this[_0x4491('0xe')][_0x4491('0x15')][_0x4491('0x1b')]['on'](_0x4491('0x2f'),(_0x4e8b6e,_0x28a67f,_0x49dd92)=>{_0x49dd92['options']['showSuggestionHighlights']&&_0x1c52d1({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x4e8b6e,_0x28a67f,_0x49dd92);},{'priority':'highest'}),this[_0x4491('0xe')][_0x4491('0x35')][_0x4491('0x1b')]['on']('removeMarker:suggestion',(_0x458256,_0xe38ca5,_0x391502)=>{const {type:_0x1d9221,id:_0x5c3038}=_0x121345[_0x4491('0x4')](_0xe38ca5[_0x4491('0x14')]),_0x2283a0=_0x121345[_0x4491('0x8')](_0x5c3038),_0x240682=_0x2283a0[_0x4491('0x15')];if(_0x4491('0x25')!=_0x2283a0['type']||!_0x240682||'setTableColumnHeader'!=_0x240682[_0x4491('0x13')])return;const _0x95e915=_0x391502['mapper'][_0x4491('0x3c')](_0xe38ca5[_0x4491('0x14')]);if(_0x95e915)for(const _0x155313 of _0x95e915)_0x391502['writer'][_0x4491('0x1a')](_0x4491('0x12')+_0x1d9221,_0x155313),_0x391502[_0x4491('0x2')][_0x4491('0x1a')]('ck-suggestion-marker--active',_0x155313),_0x391502['writer'][_0x4491('0x23')](_0x4491('0x11'),_0x155313),_0x391502[_0x4491('0x28')][_0x4491('0x10')](_0x155313,_0xe38ca5[_0x4491('0x14')]);},{'priority':_0x4491('0x16')}),this[_0x4491('0x3f')]();}[_0x4491('0x3f')](){const _0x41eee5=this[_0x4491('0xe')],_0x2ac55f=_0x41eee5[_0x4491('0x1e')];function _0x541564(_0xdcf724){return{'type':_0x4491('0x1f'),'content':_0x15ba60(_0x2ac55f,'*Format:*\x20%0',_0xdcf724)};}_0x41eee5[_0x4491('0x7')]['get'](_0x4491('0x2b'))[_0x4491('0xc')][_0x4491('0x2d')](_0xb2ca11=>{if(_0x4491('0x25')!=_0xb2ca11[_0x4491('0xf')])return;const {data:_0x22079a}=_0xb2ca11;if(_0x22079a){if(_0x4491('0x24')==_0x22079a['commandName']){const _0x7d6eef=_0x22079a[_0x4491('0x17')][0x0][_0x4491('0x31')];return _0x541564(_0x15ba60(_0x2ac55f,_0x7d6eef?_0x4491('0x20'):_0x4491('0x3')));}if(_0x4491('0x18')==_0x22079a[_0x4491('0x13')]){const _0x5390a9=_0x22079a[_0x4491('0x17')][0x0][_0x4491('0x31')];return _0x541564(_0x15ba60(_0x2ac55f,_0x5390a9?_0x4491('0x2c'):_0x4491('0x1')));}}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x94eb=['value','registerCustomCallback','insertion','getAncestors','has','deletion','findAncestor','_suggestionFactory','cell','markMultiRangeBlockFormat','commandName','formatBlock','TableEditing','return','getSuggestions','getCellLocation','registerDescriptionCallback','author','highest','selection','add','subType','map','mergeTableCellDown','format','_areSelectedCellsMergable','getRanges','TrackChangesEditing','root','horizontally','refresh','type','$graveyard','_descriptionFactory','_areMergableCells','tableCell','from','editor','detach','_acceptFormatSuggestionCallbackFactory','createRangeOn','size','*Split\x20cell:*\x20vertically','element','table','trackChanges','splitTableCellHorizontally','direction','mergeTableCellRight','stop','plugins','get','enableCommand','setSelection','getFirstPosition','isInContent','model','locale','mergeTableCellUp','formatInline','commands','set:isEnabled','afterInit','mergeTableCells','createTableWalker','change','splitTableCellVertically','mergeTableCellLeft','getSelectionAffectedTableCells','containsRange','TableUtils','*Split\x20cell:*\x20horizontally','find','forceDefaultExecution','document','execute','accept','length'];(function(_0x5384dc,_0x94eb60){const _0x3808de=function(_0x1a2c89){while(--_0x1a2c89){_0x5384dc['push'](_0x5384dc['shift']());}};_0x3808de(++_0x94eb60);}(_0x94eb,0x1c3));const _0x3808=function(_0x5384dc,_0x94eb60){_0x5384dc=_0x5384dc-0x0;let _0x3808de=_0x94eb[_0x5384dc];return _0x3808de;};import{Plugin as _0x3eedf0}from'ckeditor5/src/core.js';import _0x347925 from'./table.js';import{LiveRange as _0x265149}from'ckeditor5/src/engine.js';import{getTranslation as _0x58fc66}from'../utils/common-translations.js';export default class jt extends _0x3eedf0{static get['requires'](){return[_0x347925];}[_0x3808('0x1')](){const _0x7ce43=this['editor'],_0x41c1d5=_0x7ce43[_0x3808('0x49')][_0x3808('0xd')][_0x3808('0x24')],_0x4c6fe0=_0x7ce43[_0x3808('0x4a')];if(!_0x7ce43['plugins'][_0x3808('0x15')](_0x3808('0x1d')))return;const _0x4ade5b=_0x7ce43[_0x3808('0x43')][_0x3808('0x44')](_0x3808('0x2c')),_0x1764da=_0x7ce43[_0x3808('0x43')][_0x3808('0x44')](_0x3808('0x9')),_0xa6d6d7=_0x7ce43[_0x3808('0x43')][_0x3808('0x44')](_0x347925);_0xa6d6d7['_tablePostFixingSubtypes']['push'](_0x3808('0x2')),_0x4ade5b['enableCommand'](_0x3808('0x2'),()=>{const _0x3c0b74=_0x1764da[_0x3808('0x7')](_0x7ce43[_0x3808('0x49')][_0x3808('0xd')][_0x3808('0x24')]);_0x7ce43[_0x3808('0x49')]['change'](()=>{_0x4ade5b[_0x3808('0x1a')](_0x3c0b74,{'commandName':_0x3808('0x2'),'commandParams':[]},[],_0x3808('0x2'));});}),_0x7ce43['commands'][_0x3808('0x44')](_0x3808('0x2'))['on']('execute',(_0x2d63f9,_0x4ee977)=>{_0x7ce43[_0x3808('0x4d')]['get'](_0x3808('0x3e'))[_0x3808('0x11')]&&(_0x4ee977[_0x3808('0x10')]>0x0&&_0x4ee977[_0x4ee977[_0x3808('0x10')]-0x1]&&_0x4ee977[_0x4ee977['length']-0x1][_0x3808('0xc')]||_0x4ade5b['_isForcedDefaultExecutionBlock']||this[_0x3808('0x2a')]()||_0x2d63f9[_0x3808('0x42')]());},{'priority':_0x3808('0x23')});for(const _0x5b91ed of['mergeTableCellUp',_0x3808('0x41'),_0x3808('0x28'),_0x3808('0x6')]){const _0x40c73a=_0x7ce43['commands'][_0x3808('0x44')](_0x5b91ed);_0x4ade5b[_0x3808('0x45')](_0x5b91ed,()=>{const _0x18edcc=_0x7ce43['model'][_0x3808('0xd')]['selection'][_0x3808('0x47')]()[_0x3808('0x14')]()[_0x3808('0xb')](_0x14f67d=>_0x14f67d['is']('element',_0x3808('0x34'))),_0x248646=_0x40c73a[_0x3808('0x11')];_0x7ce43[_0x3808('0x49')][_0x3808('0x4')](()=>{_0x4ade5b[_0x3808('0x1a')]([_0x18edcc,_0x248646],{'commandName':_0x3808('0x2'),'commandParams':[]},[],_0x3808('0x2'));});});}for(const _0x371d71 of[_0x3808('0x5'),_0x3808('0x3f')]){const _0x3c76dd=_0x7ce43[_0x3808('0x4d')][_0x3808('0x44')](_0x371d71);_0x4ade5b[_0x3808('0x45')](_0x371d71,()=>{const _0x8a3360=_0x1764da[_0x3808('0x7')](_0x7ce43['model'][_0x3808('0xd')]['selection'])[0x0],_0x34d9d6=_0x8a3360[_0x3808('0x17')](_0x3808('0x3d')),{column:_0x1dd067,row:_0x9c289c}=_0x1764da[_0x3808('0x20')](_0x8a3360);let _0x35e892=[];if(_0x3808('0x2e')==_0x3c76dd[_0x3808('0x40')]){const _0x2e643f=_0x1764da[_0x3808('0x3')](_0x34d9d6,{'startRow':_0x9c289c,'endRow':_0x9c289c,'includeAllSlots':!0x0});_0x35e892=Array[_0x3808('0x35')](_0x2e643f)[_0x3808('0x27')](_0x1fd108=>_0x1fd108[_0x3808('0x19')]);}else{const _0x5c4b10=_0x1764da[_0x3808('0x3')](_0x34d9d6,{'column':_0x1dd067,'includeAllSlots':!0x0});_0x35e892=Array[_0x3808('0x35')](_0x5c4b10)['map'](_0x96e03=>_0x96e03[_0x3808('0x19')]);}_0x7ce43[_0x3808('0x49')][_0x3808('0x4')](_0x480030=>{_0x4ade5b['markBlockFormat'](_0x480030['createRangeOn'](_0x8a3360),{'commandName':_0x371d71,'commandParams':[]},_0x35e892,_0x371d71);});});}_0x4ade5b['_descriptionFactory']['registerDescriptionCallback'](_0xab53b0=>{if('formatBlock'!=_0xab53b0[_0x3808('0x30')]&&_0x3808('0x4c')!=_0xab53b0[_0x3808('0x30')])return;const {data:_0x4d696e}=_0xab53b0;return _0x4d696e&&_0x3808('0x2')==_0x4d696e[_0x3808('0x1b')]?{'type':'format','content':_0x58fc66(_0x4c6fe0,'*Merge\x20cells*')}:void 0x0;}),_0x4ade5b[_0x3808('0x32')][_0x3808('0x21')](_0x4d8368=>{if(_0x3808('0x1c')!=_0x4d8368[_0x3808('0x30')]&&_0x3808('0x4c')!=_0x4d8368['type'])return;const {data:_0x326e7c}=_0x4d8368;return _0x326e7c?'splitTableCellVertically'==_0x326e7c[_0x3808('0x1b')]?{'type':_0x3808('0x29'),'content':_0x58fc66(_0x4c6fe0,_0x3808('0x3b'))}:'splitTableCellHorizontally'==_0x326e7c['commandName']?{'type':_0x3808('0x29'),'content':_0x58fc66(_0x4c6fe0,_0x3808('0xa'))}:void 0x0:void 0x0;});const _0x1f440d=_0xa6d6d7[_0x3808('0x38')]();for(const _0x2de3df of[_0x3808('0x4b'),'mergeTableCellRight',_0x3808('0x28'),_0x3808('0x6')])_0x4ade5b[_0x3808('0x18')][_0x3808('0x12')]('formatBlock',_0x2de3df,'accept',_0x1f440d);for(const _0x344697 of[_0x3808('0x5'),_0x3808('0x3f')])_0x4ade5b['_suggestionFactory']['registerCustomCallback'](_0x3808('0x1c'),_0x344697,_0x3808('0xf'),_0x1f440d);_0x4ade5b[_0x3808('0x18')][_0x3808('0x12')](_0x3808('0x1c'),_0x3808('0x2'),'accept',_0x181fcd=>{_0x7ce43['model'][_0x3808('0x4')](_0x50723a=>{const _0x3b7846=Array[_0x3808('0x35')](_0x41c1d5[_0x3808('0x2b')]())[_0x3808('0x27')](_0x5c69d8=>_0x265149['fromRange'](_0x5c69d8));_0x50723a['setSelection'](_0x181fcd),_0x7ce43[_0x3808('0x4d')][_0x3808('0x44')]('mergeTableCells')[_0x3808('0x2f')](),_0x7ce43[_0x3808('0xe')](_0x3808('0x2'),{'forceDefaultExecution':!0x0});const _0x29c7b2=_0x3b7846['filter'](_0x262a7e=>_0x3808('0x31')!=_0x262a7e[_0x3808('0x2d')]['rootName']);_0x29c7b2['length']>0x0&&_0x50723a[_0x3808('0x46')](_0x29c7b2);for(const _0x438a64 of _0x3b7846)_0x438a64[_0x3808('0x37')]();});});for(const _0x2250b7 of[_0x3808('0x4b'),_0x3808('0x28'),'mergeTableCellLeft','mergeTableCellRight']){const _0x6d2fc4=_0x7ce43[_0x3808('0x4d')][_0x3808('0x44')](_0x2250b7);_0x6d2fc4['on'](_0x3808('0x0'),(_0x4bdd8a,_0x593225,_0x33dce9)=>{if(_0x33dce9){const _0xee98c9=_0x7ce43[_0x3808('0x49')][_0x3808('0xd')][_0x3808('0x24')][_0x3808('0x47')]()[_0x3808('0x14')]()[_0x3808('0xb')](_0x1ea7f6=>_0x1ea7f6['is'](_0x3808('0x3c'),'tableCell'));this[_0x3808('0x33')](_0x6d2fc4[_0x3808('0x11')],_0xee98c9)||(_0x4bdd8a[_0x3808('0x1e')]=!0x1,_0x4bdd8a[_0x3808('0x42')]());}},{'priority':'low'});}}[_0x3808('0x2a')](){const _0x18776e=this['editor'][_0x3808('0x4d')][_0x3808('0x44')](_0x3808('0x2')),_0x45cb81=this['editor'][_0x3808('0x43')][_0x3808('0x44')](_0x3808('0x9'));if(!_0x18776e['isEnabled'])return!0x1;const _0x4ce170=_0x45cb81[_0x3808('0x7')](this[_0x3808('0x36')][_0x3808('0x49')][_0x3808('0xd')][_0x3808('0x24')]);for(const _0x541f39 of _0x4ce170)for(const _0x15d999 of _0x4ce170)if(_0x541f39!=_0x15d999&&!this[_0x3808('0x33')](_0x541f39,_0x15d999))return!0x1;return!0x0;}[_0x3808('0x33')](_0x16aba5,_0x1a5a61){const _0x3918a3=this[_0x3808('0x36')][_0x3808('0x43')][_0x3808('0x44')](_0x3808('0x2c')),_0x36f21f=this[_0x3808('0x36')][_0x3808('0x49')][_0x3808('0x39')](_0x16aba5),_0x312fed=this[_0x3808('0x36')]['model'][_0x3808('0x39')](_0x1a5a61),_0x169250=new Set(),_0x59fda2=new Set();for(const _0x497cb6 of _0x3918a3[_0x3808('0x1f')]())if((_0x3808('0x13')==_0x497cb6['type']||_0x3808('0x16')==_0x497cb6[_0x3808('0x30')]||'mergeTableCells'==_0x497cb6[_0x3808('0x26')])&&_0x497cb6[_0x3808('0x48')])for(const _0x36cec4 of _0x497cb6[_0x3808('0x2b')]())_0x36cec4[_0x3808('0x8')](_0x36f21f,!0x0)&&_0x169250[_0x3808('0x25')](_0x497cb6[_0x3808('0x30')]+':'+_0x497cb6[_0x3808('0x22')]['id']),_0x36cec4[_0x3808('0x8')](_0x312fed,!0x0)&&_0x59fda2[_0x3808('0x25')](_0x497cb6[_0x3808('0x30')]+':'+_0x497cb6['author']['id']);if(_0x169250[_0x3808('0x3a')]!=_0x59fda2['size'])return!0x1;for(const _0x5028bf of _0x169250)if(!_0x59fda2[_0x3808('0x15')](_0x5028bf))return!0x1;return!0x0;}}
23
+ const _0xb93a=['format','getFirstPosition','rootName','mergeTableCellUp','afterInit','getRanges','return','isEnabled','value','size','createRangeOn','_isForcedDefaultExecutionBlock','plugins','_tablePostFixingSubtypes','low','_suggestionFactory','subType','change','findAncestor','type','detach','splitTableCellHorizontally','createTableWalker','commands','registerCustomCallback','markBlockFormat','model','author','accept','execute','stop','add','find','_areMergableCells','trackChanges','editor','mergeTableCellDown','isInContent','*Merge\x20cells*','length','commandName','getSelectionAffectedTableCells','TableUtils','splitTableCellVertically','mergeTableCellLeft','map','table','_acceptFormatSuggestionCallbackFactory','from','registerDescriptionCallback','*Split\x20cell:*\x20horizontally','set:isEnabled','root','push','containsRange','setSelection','enableCommand','element','cell','document','get','formatBlock','$graveyard','fromRange','markMultiRangeBlockFormat','insertion','_areSelectedCellsMergable','requires','_descriptionFactory','selection','TrackChangesEditing','mergeTableCells','mergeTableCellRight','getAncestors'];(function(_0x61a0ce,_0xb93a4e){const _0x356bf3=function(_0x384bcb){while(--_0x384bcb){_0x61a0ce['push'](_0x61a0ce['shift']());}};_0x356bf3(++_0xb93a4e);}(_0xb93a,0x7d));const _0x356b=function(_0x61a0ce,_0xb93a4e){_0x61a0ce=_0x61a0ce-0x0;let _0x356bf3=_0xb93a[_0x61a0ce];return _0x356bf3;};import{Plugin as _0x10b3c8}from'ckeditor5/src/core.js';import _0xf33597 from'./table.js';import{LiveRange as _0x21b650}from'ckeditor5/src/engine.js';import{getTranslation as _0x11c49c}from'../utils/common-translations.js';export default class jt extends _0x10b3c8{static get[_0x356b('0x10')](){return[_0xf33597];}[_0x356b('0x1b')](){const _0x2d8f44=this[_0x356b('0x3a')],_0x10325f=_0x2d8f44[_0x356b('0x31')][_0x356b('0x8')][_0x356b('0x12')],_0xe1a3ff=_0x2d8f44['locale'];if(!_0x2d8f44[_0x356b('0x23')]['has']('TableEditing'))return;const _0x1c8f2b=_0x2d8f44[_0x356b('0x23')]['get'](_0x356b('0x13')),_0x27f351=_0x2d8f44[_0x356b('0x23')][_0x356b('0x9')]('TableUtils'),_0x76582=_0x2d8f44[_0x356b('0x23')]['get'](_0xf33597);_0x76582[_0x356b('0x24')][_0x356b('0x2')](_0x356b('0x14')),_0x1c8f2b['enableCommand'](_0x356b('0x14'),()=>{const _0x2540bf=_0x27f351[_0x356b('0x40')](_0x2d8f44[_0x356b('0x31')]['document'][_0x356b('0x12')]);_0x2d8f44[_0x356b('0x31')][_0x356b('0x28')](()=>{_0x1c8f2b[_0x356b('0xd')](_0x2540bf,{'commandName':_0x356b('0x14'),'commandParams':[]},[],_0x356b('0x14'));});}),_0x2d8f44[_0x356b('0x2e')][_0x356b('0x9')]('mergeTableCells')['on'](_0x356b('0x34'),(_0x36e189,_0x227d96)=>{_0x2d8f44['commands'][_0x356b('0x9')](_0x356b('0x39'))['value']&&(_0x227d96[_0x356b('0x3e')]>0x0&&_0x227d96[_0x227d96[_0x356b('0x3e')]-0x1]&&_0x227d96[_0x227d96[_0x356b('0x3e')]-0x1]['forceDefaultExecution']||_0x1c8f2b[_0x356b('0x22')]||this[_0x356b('0xf')]()||_0x36e189[_0x356b('0x35')]());},{'priority':'highest'});for(const _0x5c8842 of[_0x356b('0x1a'),_0x356b('0x15'),_0x356b('0x3b'),_0x356b('0x43')]){const _0x4ce7ad=_0x2d8f44[_0x356b('0x2e')][_0x356b('0x9')](_0x5c8842);_0x1c8f2b[_0x356b('0x5')](_0x5c8842,()=>{const _0x55f64c=_0x2d8f44[_0x356b('0x31')]['document']['selection'][_0x356b('0x18')]()[_0x356b('0x16')]()[_0x356b('0x37')](_0x58bffa=>_0x58bffa['is']('element','tableCell')),_0x22cebd=_0x4ce7ad[_0x356b('0x1f')];_0x2d8f44['model'][_0x356b('0x28')](()=>{_0x1c8f2b[_0x356b('0xd')]([_0x55f64c,_0x22cebd],{'commandName':_0x356b('0x14'),'commandParams':[]},[],_0x356b('0x14'));});});}for(const _0x1cb73e of['splitTableCellVertically',_0x356b('0x2c')]){const _0x4efd15=_0x2d8f44[_0x356b('0x2e')][_0x356b('0x9')](_0x1cb73e);_0x1c8f2b[_0x356b('0x5')](_0x1cb73e,()=>{const _0x28da75=_0x27f351[_0x356b('0x40')](_0x2d8f44[_0x356b('0x31')][_0x356b('0x8')][_0x356b('0x12')])[0x0],_0x2f70dd=_0x28da75[_0x356b('0x29')](_0x356b('0x45')),{column:_0x174f5c,row:_0x1935a4}=_0x27f351['getCellLocation'](_0x28da75);let _0x3e1895=[];if('horizontally'==_0x4efd15['direction']){const _0x345cd9=_0x27f351[_0x356b('0x2d')](_0x2f70dd,{'startRow':_0x1935a4,'endRow':_0x1935a4,'includeAllSlots':!0x0});_0x3e1895=Array[_0x356b('0x47')](_0x345cd9)[_0x356b('0x44')](_0x2e3961=>_0x2e3961[_0x356b('0x7')]);}else{const _0x123f70=_0x27f351['createTableWalker'](_0x2f70dd,{'column':_0x174f5c,'includeAllSlots':!0x0});_0x3e1895=Array[_0x356b('0x47')](_0x123f70)[_0x356b('0x44')](_0xff9228=>_0xff9228[_0x356b('0x7')]);}_0x2d8f44[_0x356b('0x31')][_0x356b('0x28')](_0x16c917=>{_0x1c8f2b[_0x356b('0x30')](_0x16c917[_0x356b('0x21')](_0x28da75),{'commandName':_0x1cb73e,'commandParams':[]},_0x3e1895,_0x1cb73e);});});}_0x1c8f2b[_0x356b('0x11')][_0x356b('0x48')](_0x2d8b52=>{if(_0x356b('0xa')!=_0x2d8b52[_0x356b('0x2a')]&&'formatInline'!=_0x2d8b52[_0x356b('0x2a')])return;const {data:_0x41d07e}=_0x2d8b52;return _0x41d07e&&_0x356b('0x14')==_0x41d07e[_0x356b('0x3f')]?{'type':_0x356b('0x17'),'content':_0x11c49c(_0xe1a3ff,_0x356b('0x3d'))}:void 0x0;}),_0x1c8f2b[_0x356b('0x11')][_0x356b('0x48')](_0x4d7443=>{if('formatBlock'!=_0x4d7443[_0x356b('0x2a')]&&'formatInline'!=_0x4d7443[_0x356b('0x2a')])return;const {data:_0x18134b}=_0x4d7443;return _0x18134b?_0x356b('0x42')==_0x18134b[_0x356b('0x3f')]?{'type':_0x356b('0x17'),'content':_0x11c49c(_0xe1a3ff,'*Split\x20cell:*\x20vertically')}:_0x356b('0x2c')==_0x18134b[_0x356b('0x3f')]?{'type':_0x356b('0x17'),'content':_0x11c49c(_0xe1a3ff,_0x356b('0x49'))}:void 0x0:void 0x0;});const _0x2dcb03=_0x76582[_0x356b('0x46')]();for(const _0x1eae8b of['mergeTableCellUp',_0x356b('0x15'),_0x356b('0x3b'),_0x356b('0x43')])_0x1c8f2b[_0x356b('0x26')]['registerCustomCallback']('formatBlock',_0x1eae8b,_0x356b('0x33'),_0x2dcb03);for(const _0x326cf5 of[_0x356b('0x42'),_0x356b('0x2c')])_0x1c8f2b[_0x356b('0x26')][_0x356b('0x2f')](_0x356b('0xa'),_0x326cf5,_0x356b('0x33'),_0x2dcb03);_0x1c8f2b[_0x356b('0x26')][_0x356b('0x2f')](_0x356b('0xa'),'mergeTableCells',_0x356b('0x33'),_0x3d7d6b=>{_0x2d8f44[_0x356b('0x31')][_0x356b('0x28')](_0x46bded=>{const _0x2eaf94=Array[_0x356b('0x47')](_0x10325f[_0x356b('0x1c')]())[_0x356b('0x44')](_0x31a5e5=>_0x21b650[_0x356b('0xc')](_0x31a5e5));_0x46bded[_0x356b('0x4')](_0x3d7d6b),_0x2d8f44[_0x356b('0x2e')][_0x356b('0x9')](_0x356b('0x14'))['refresh'](),_0x2d8f44['execute'](_0x356b('0x14'),{'forceDefaultExecution':!0x0});const _0x28cf26=_0x2eaf94['filter'](_0x381432=>_0x356b('0xb')!=_0x381432[_0x356b('0x1')][_0x356b('0x19')]);_0x28cf26[_0x356b('0x3e')]>0x0&&_0x46bded[_0x356b('0x4')](_0x28cf26);for(const _0x5f379f of _0x2eaf94)_0x5f379f[_0x356b('0x2b')]();});});for(const _0x2d03ea of[_0x356b('0x1a'),_0x356b('0x3b'),_0x356b('0x43'),_0x356b('0x15')]){const _0x414d54=_0x2d8f44['commands']['get'](_0x2d03ea);_0x414d54['on'](_0x356b('0x0'),(_0x156646,_0xed33b5,_0x4f278f)=>{if(_0x4f278f){const _0x581b84=_0x2d8f44['model'][_0x356b('0x8')][_0x356b('0x12')][_0x356b('0x18')]()[_0x356b('0x16')]()[_0x356b('0x37')](_0x881ad0=>_0x881ad0['is'](_0x356b('0x6'),'tableCell'));this['_areMergableCells'](_0x414d54[_0x356b('0x1f')],_0x581b84)||(_0x156646[_0x356b('0x1d')]=!0x1,_0x156646[_0x356b('0x35')]());}},{'priority':_0x356b('0x25')});}}[_0x356b('0xf')](){const _0x147e6f=this[_0x356b('0x3a')][_0x356b('0x2e')][_0x356b('0x9')](_0x356b('0x14')),_0x471d8d=this[_0x356b('0x3a')][_0x356b('0x23')][_0x356b('0x9')](_0x356b('0x41'));if(!_0x147e6f[_0x356b('0x1e')])return!0x1;const _0x1a1297=_0x471d8d[_0x356b('0x40')](this['editor'][_0x356b('0x31')]['document']['selection']);for(const _0x119d3b of _0x1a1297)for(const _0xeaf86 of _0x1a1297)if(_0x119d3b!=_0xeaf86&&!this[_0x356b('0x38')](_0x119d3b,_0xeaf86))return!0x1;return!0x0;}[_0x356b('0x38')](_0x5b27a2,_0x23afec){const _0x497421=this[_0x356b('0x3a')][_0x356b('0x23')][_0x356b('0x9')](_0x356b('0x13')),_0x25d185=this[_0x356b('0x3a')][_0x356b('0x31')][_0x356b('0x21')](_0x5b27a2),_0x233201=this[_0x356b('0x3a')][_0x356b('0x31')][_0x356b('0x21')](_0x23afec),_0x431841=new Set(),_0x24f7cb=new Set();for(const _0x3e486f of _0x497421['getSuggestions']())if((_0x356b('0xe')==_0x3e486f['type']||'deletion'==_0x3e486f[_0x356b('0x2a')]||'mergeTableCells'==_0x3e486f[_0x356b('0x27')])&&_0x3e486f[_0x356b('0x3c')])for(const _0xda9152 of _0x3e486f[_0x356b('0x1c')]())_0xda9152['containsRange'](_0x25d185,!0x0)&&_0x431841[_0x356b('0x36')](_0x3e486f[_0x356b('0x2a')]+':'+_0x3e486f[_0x356b('0x32')]['id']),_0xda9152[_0x356b('0x3')](_0x233201,!0x0)&&_0x24f7cb['add'](_0x3e486f[_0x356b('0x2a')]+':'+_0x3e486f['author']['id']);if(_0x431841['size']!=_0x24f7cb[_0x356b('0x20')])return!0x1;for(const _0x374023 of _0x431841)if(!_0x24f7cb['has'](_0x374023))return!0x1;return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2c41=['_descriptionFactory','get','editor','tableOfContents','insertTableOfContents','plugins','TrackChangesEditing','enableCommand','ELEMENT_TABLE_OF_CONTENTS'];(function(_0x21b177,_0x2c4175){const _0x3153c8=function(_0x292051){while(--_0x292051){_0x21b177['push'](_0x21b177['shift']());}};_0x3153c8(++_0x2c4175);}(_0x2c41,0xf1));const _0x3153=function(_0x21b177,_0x2c4175){_0x21b177=_0x21b177-0x0;let _0x3153c8=_0x2c41[_0x21b177];return _0x3153c8;};import{Plugin as _0x36963b}from'ckeditor5/src/core.js';import{getTranslation as _0x4a691a}from'../utils/common-translations.js';export default class _t extends _0x36963b{['afterInit'](){const _0x4024b7=this[_0x3153('0x4')];if(!_0x4024b7['commands']['get'](_0x3153('0x6')))return;_0x4024b7[_0x3153('0x7')]['get']('TrackChangesEditing')[_0x3153('0x0')]('insertTableOfContents');const _0x497fcc=_0x4024b7[_0x3153('0x7')][_0x3153('0x3')](_0x3153('0x8')),_0x61d816=_0x4024b7['locale'];_0x497fcc[_0x3153('0x2')]['registerElementLabel'](_0x3153('0x5'),_0x127a01=>_0x4a691a(_0x61d816,_0x3153('0x1'),_0x127a01));}}
23
+ const _0x1fa2=['locale','ELEMENT_TABLE_OF_CONTENTS','tableOfContents','afterInit','registerElementLabel','TrackChangesEditing','insertTableOfContents','editor','plugins','_descriptionFactory','commands','get'];(function(_0x18224c,_0x1fa2d8){const _0xe69c2d=function(_0x51b9d1){while(--_0x51b9d1){_0x18224c['push'](_0x18224c['shift']());}};_0xe69c2d(++_0x1fa2d8);}(_0x1fa2,0xc9));const _0xe69c=function(_0x18224c,_0x1fa2d8){_0x18224c=_0x18224c-0x0;let _0xe69c2d=_0x1fa2[_0x18224c];return _0xe69c2d;};import{Plugin as _0x5a362c}from'ckeditor5/src/core.js';import{getTranslation as _0x35d493}from'../utils/common-translations.js';export default class _t extends _0x5a362c{[_0xe69c('0x6')](){const _0x2bca45=this[_0xe69c('0xa')];if(!_0x2bca45[_0xe69c('0x1')][_0xe69c('0x2')]('insertTableOfContents'))return;_0x2bca45['plugins']['get'](_0xe69c('0x8'))['enableCommand'](_0xe69c('0x9'));const _0x2e4592=_0x2bca45[_0xe69c('0xb')]['get']('TrackChangesEditing'),_0x5a772e=_0x2bca45[_0xe69c('0x3')];_0x2e4592[_0xe69c('0x0')][_0xe69c('0x7')](_0xe69c('0x5'),_0x2b2379=>_0x35d493(_0x5a772e,_0xe69c('0x4'),_0x2b2379));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xe8b7=['TablePropertiesEditing','getSuggestions','tableAlignment','document','tableBorderColor','format','getSuggestionCallback','get','setAttribute','getContainedElement','TableCellPropertiesEditing','enableCommand','handleSuggestionDescription','nodeAfter','commandParams','tableCellProperties','tableBackgroundColor','TrackChangesEditing','has','_suggestionFactory','tableCellHorizontalAlignment','start','registerDescriptionCallback','change','data','_getSuggestion','accept','handleDiscardAction','discard','tableCellWidth','tableProperties','join','tableBorderWidth','selection','tableCellBorderColor','editor','getAttribute','_descriptionFactory','locale','registerCustomCallback','_handlePropertyChange','tableCellVerticalAlignment','TrackChangesTableProperties','model','subType','table','plugins','enqueueChange','tableBorderStyle','findAncestor','tableCellHeight','formatBlock','getSelectionAffectedTableCells','markBlockFormat','tableCellBorderStyle','tableCellBackgroundColor'];(function(_0x2a11c2,_0xe8b7e9){const _0x485034=function(_0x505904){while(--_0x505904){_0x2a11c2['push'](_0x2a11c2['shift']());}};_0x485034(++_0xe8b7e9);}(_0xe8b7,0x114));const _0x4850=function(_0x2a11c2,_0xe8b7e9){_0x2a11c2=_0x2a11c2-0x0;let _0x485034=_0xe8b7[_0x2a11c2];return _0x485034;};import{Plugin as _0x596199}from'ckeditor5/src/core.js';import{getTranslation as _0x469644}from'../utils/common-translations.js';export default class Mt extends _0x596199{constructor(_0x3ecfee){super(_0x3ecfee),this['tableProperties']=[_0x4850('0x8'),_0x4850('0x34'),_0x4850('0x24'),_0x4850('0x6'),'tableWidth','tableHeight',_0x4850('0x14')],this[_0x4850('0x13')]=[_0x4850('0x26'),_0x4850('0x2'),'tableCellBorderWidth','tableCellPadding',_0x4850('0x21'),_0x4850('0x36'),_0x4850('0x3'),_0x4850('0x18'),_0x4850('0x2d')];}static get['pluginName'](){return _0x4850('0x2e');}['afterInit'](){const _0x3d83fe=this[_0x4850('0x27')][_0x4850('0x32')]['get'](_0x4850('0x15'));if(this[_0x4850('0x27')][_0x4850('0x32')][_0x4850('0x16')](_0x4850('0x4'))){for(const _0x2d9e16 of this[_0x4850('0x22')])_0x3d83fe[_0x4850('0xf')](_0x2d9e16,(_0x3c6086,_0xce0e98)=>{const _0x2c3f33=this['editor'][_0x4850('0x2f')][_0x4850('0x7')][_0x4850('0x25')]['getFirstPosition']()[_0x4850('0x35')](_0x4850('0x31'));this[_0x4850('0x2c')](_0x2d9e16,[_0x2c3f33],this[_0x4850('0x22')],'tableProperties',_0x3c6086,_0xce0e98);});_0x3d83fe[_0x4850('0x17')][_0x4850('0x2b')]('formatBlock',_0x4850('0x22'),_0x4850('0x1e'),_0x3d83fe[_0x4850('0x17')][_0x4850('0xa')](_0x4850('0x37'),null,_0x4850('0x20'))),_0x3d83fe[_0x4850('0x17')]['registerCustomCallback'](_0x4850('0x37'),_0x4850('0x22'),'discard',(_0x39a8e4,_0x14fa30)=>this[_0x4850('0x1f')](this[_0x4850('0x22')],_0x39a8e4,_0x14fa30)),_0x3d83fe['_suggestionFactory']['registerCustomCallback']('formatBlock',_0x4850('0x22'),_0x4850('0x23'),()=>!0x1);}if(this[_0x4850('0x27')][_0x4850('0x32')][_0x4850('0x16')](_0x4850('0xe'))){for(const _0x19c4a7 of this[_0x4850('0x13')])_0x3d83fe[_0x4850('0xf')](_0x19c4a7,(_0x162d4e,_0x1499fb)=>{const _0x47064a=this[_0x4850('0x27')]['plugins'][_0x4850('0xb')]('TableUtils')[_0x4850('0x0')](this[_0x4850('0x27')]['model'][_0x4850('0x7')][_0x4850('0x25')]);this[_0x4850('0x2c')](_0x19c4a7,_0x47064a,this[_0x4850('0x13')],_0x4850('0x13'),_0x162d4e,_0x1499fb);});_0x3d83fe[_0x4850('0x17')][_0x4850('0x2b')](_0x4850('0x37'),_0x4850('0x13'),_0x4850('0x1e'),_0x3d83fe[_0x4850('0x17')][_0x4850('0xa')](_0x4850('0x37'),null,_0x4850('0x20'))),_0x3d83fe[_0x4850('0x17')][_0x4850('0x2b')]('formatBlock',_0x4850('0x13'),_0x4850('0x20'),(_0x1bbf49,_0x5b9435)=>this['handleDiscardAction'](this[_0x4850('0x13')],_0x1bbf49,_0x5b9435)),_0x3d83fe[_0x4850('0x17')][_0x4850('0x2b')](_0x4850('0x37'),_0x4850('0x13'),_0x4850('0x23'),()=>!0x1);}_0x3d83fe[_0x4850('0x29')][_0x4850('0x1a')](_0x35ee79=>this[_0x4850('0x10')](_0x35ee79));}[_0x4850('0x2c')](_0xc30c1a,_0x40f262,_0x1618e7,_0x6733ef,_0x1310a6,_0x467602){const _0x1f2b5e=this['editor'][_0x4850('0x32')]['get'](_0x4850('0x15'));this['editor'][_0x4850('0x2f')][_0x4850('0x33')](_0x467602['batch'],()=>{for(const _0x6434b5 of _0x40f262){if(this[_0x4850('0x1d')](_0x6434b5,_0x6733ef))_0x1310a6(_0x467602);else{const _0x12182e={};for(const _0xf4ffaf of _0x1618e7){const _0x57945f=_0x6434b5[_0x4850('0x28')](_0xf4ffaf);void 0x0!==_0x57945f&&(_0x12182e[_0xf4ffaf]=_0x57945f);}_0x1310a6(_0x467602),_0x1f2b5e[_0x4850('0x1')](_0x6434b5,{'commandParams':[_0x12182e]},[],_0x6733ef);}}});}[_0x4850('0x1f')](_0x3a78fe,_0x307b45,_0xee655b){const _0xbfe40f=_0x307b45[0x0][_0x4850('0x19')][_0x4850('0x11')],_0x21ba21=_0xee655b[_0x4850('0x12')][0x0];this[_0x4850('0x27')][_0x4850('0x2f')][_0x4850('0x1b')](_0x1073a8=>{for(const _0xab456c of _0x3a78fe)void 0x0!==_0x21ba21[_0xab456c]?_0x1073a8[_0x4850('0xc')](_0xab456c,_0x21ba21[_0xab456c],_0xbfe40f):_0x1073a8['removeAttribute'](_0xab456c,_0xbfe40f);});}['handleSuggestionDescription'](_0x24979b){if(_0x24979b[_0x4850('0x1c')])switch(_0x24979b[_0x4850('0x30')]){case _0x4850('0x22'):return{'type':'format','content':_0x469644(this[_0x4850('0x27')][_0x4850('0x2a')],'*Format:*\x20change\x20table\x20properties')};case _0x4850('0x13'):return{'type':_0x4850('0x9'),'content':_0x469644(this[_0x4850('0x27')][_0x4850('0x2a')],'*Format:*\x20change\x20table\x20cell\x20properties')};}}[_0x4850('0x1d')](_0xab48c8,_0x3ecb53){const _0x4bfd49=this[_0x4850('0x27')]['plugins'][_0x4850('0xb')](_0x4850('0x15'));for(const _0x5b4289 of _0x4bfd49[_0x4850('0x5')]({'skipNotAttached':!0x0})){const _0x383b27=_0x5b4289[_0x4850('0xd')]();if(_0x5b4289[_0x4850('0x30')]===_0x3ecb53&&_0x383b27===_0xab48c8)return _0x5b4289;}return null;}}
23
+ const _0x10ae=['table','TableUtils','tableCellPadding','_descriptionFactory','tableBorderColor','_suggestionFactory','format','registerDescriptionCallback','findAncestor','discard','commandParams','tableCellBorderWidth','selection','tableHeight','*Format:*\x20change\x20table\x20cell\x20properties','tableBorderWidth','getSuggestionCallback','tableProperties','join','afterInit','_getSuggestion','change','*Format:*\x20change\x20table\x20properties','registerCustomCallback','getSuggestions','plugins','tableCellVerticalAlignment','removeAttribute','tableBorderStyle','document','getSelectionAffectedTableCells','tableBackgroundColor','nodeAfter','TablePropertiesEditing','TableCellPropertiesEditing','TrackChangesTableProperties','editor','formatBlock','tableCellBorderColor','subType','setAttribute','tableWidth','batch','_handlePropertyChange','handleDiscardAction','getContainedElement','has','accept','tableCellProperties','get','markBlockFormat','tableAlignment','getAttribute','TrackChangesEditing','handleSuggestionDescription','model','start','enableCommand','enqueueChange','pluginName','tableCellWidth'];(function(_0x110d47,_0x10aedf){const _0x1f9b55=function(_0x3444b1){while(--_0x3444b1){_0x110d47['push'](_0x110d47['shift']());}};_0x1f9b55(++_0x10aedf);}(_0x10ae,0xab));const _0x1f9b=function(_0x110d47,_0x10aedf){_0x110d47=_0x110d47-0x0;let _0x1f9b55=_0x10ae[_0x110d47];return _0x1f9b55;};import{Plugin as _0x1d39e8}from'ckeditor5/src/core.js';import{getTranslation as _0x54eac5}from'../utils/common-translations.js';export default class Mt extends _0x1d39e8{constructor(_0x4c52e4){super(_0x4c52e4),this[_0x1f9b('0x1d')]=[_0x1f9b('0x10'),_0x1f9b('0x28'),_0x1f9b('0x1b'),_0x1f9b('0x2'),_0x1f9b('0x35'),_0x1f9b('0x19'),_0x1f9b('0x2b')],this[_0x1f9b('0x3c')]=[_0x1f9b('0x32'),'tableCellBorderStyle',_0x1f9b('0x17'),_0x1f9b('0xe'),_0x1f9b('0xb'),'tableCellHeight','tableCellBackgroundColor','tableCellHorizontalAlignment',_0x1f9b('0x26')];}static get[_0x1f9b('0xa')](){return _0x1f9b('0x2f');}[_0x1f9b('0x1f')](){const _0x238f2e=this[_0x1f9b('0x30')]['plugins'][_0x1f9b('0x0')]('TrackChangesEditing');if(this[_0x1f9b('0x30')]['plugins'][_0x1f9b('0x3a')](_0x1f9b('0x2d'))){for(const _0x4caac8 of this[_0x1f9b('0x1d')])_0x238f2e[_0x1f9b('0x8')](_0x4caac8,(_0x5baf99,_0x32c9d2)=>{const _0x34d2c2=this[_0x1f9b('0x30')]['model'][_0x1f9b('0x29')]['selection']['getFirstPosition']()[_0x1f9b('0x14')](_0x1f9b('0xc'));this['_handlePropertyChange'](_0x4caac8,[_0x34d2c2],this['tableProperties'],_0x1f9b('0x1d'),_0x5baf99,_0x32c9d2);});_0x238f2e[_0x1f9b('0x11')][_0x1f9b('0x23')]('formatBlock','tableProperties','accept',_0x238f2e['_suggestionFactory']['getSuggestionCallback'](_0x1f9b('0x31'),null,_0x1f9b('0x15'))),_0x238f2e['_suggestionFactory'][_0x1f9b('0x23')](_0x1f9b('0x31'),_0x1f9b('0x1d'),_0x1f9b('0x15'),(_0x22d9a0,_0x3d9a93)=>this[_0x1f9b('0x38')](this[_0x1f9b('0x1d')],_0x22d9a0,_0x3d9a93)),_0x238f2e[_0x1f9b('0x11')][_0x1f9b('0x23')](_0x1f9b('0x31'),_0x1f9b('0x1d'),_0x1f9b('0x1e'),()=>!0x1);}if(this[_0x1f9b('0x30')][_0x1f9b('0x25')][_0x1f9b('0x3a')](_0x1f9b('0x2e'))){for(const _0x334442 of this['tableCellProperties'])_0x238f2e[_0x1f9b('0x8')](_0x334442,(_0x363bdf,_0x13341a)=>{const _0x4f628b=this[_0x1f9b('0x30')][_0x1f9b('0x25')][_0x1f9b('0x0')](_0x1f9b('0xd'))[_0x1f9b('0x2a')](this[_0x1f9b('0x30')][_0x1f9b('0x6')][_0x1f9b('0x29')][_0x1f9b('0x18')]);this[_0x1f9b('0x37')](_0x334442,_0x4f628b,this[_0x1f9b('0x3c')],_0x1f9b('0x3c'),_0x363bdf,_0x13341a);});_0x238f2e['_suggestionFactory'][_0x1f9b('0x23')](_0x1f9b('0x31'),'tableCellProperties',_0x1f9b('0x3b'),_0x238f2e[_0x1f9b('0x11')][_0x1f9b('0x1c')](_0x1f9b('0x31'),null,_0x1f9b('0x15'))),_0x238f2e[_0x1f9b('0x11')][_0x1f9b('0x23')](_0x1f9b('0x31'),_0x1f9b('0x3c'),_0x1f9b('0x15'),(_0x252a57,_0x55a0c7)=>this[_0x1f9b('0x38')](this[_0x1f9b('0x3c')],_0x252a57,_0x55a0c7)),_0x238f2e[_0x1f9b('0x11')][_0x1f9b('0x23')](_0x1f9b('0x31'),_0x1f9b('0x3c'),'join',()=>!0x1);}_0x238f2e[_0x1f9b('0xf')][_0x1f9b('0x13')](_0x122b81=>this[_0x1f9b('0x5')](_0x122b81));}[_0x1f9b('0x37')](_0x33202f,_0xdb2bdf,_0x47cefd,_0x5f63ac,_0x169698,_0x19037b){const _0x3d384=this[_0x1f9b('0x30')][_0x1f9b('0x25')]['get'](_0x1f9b('0x4'));this[_0x1f9b('0x30')][_0x1f9b('0x6')][_0x1f9b('0x9')](_0x19037b[_0x1f9b('0x36')],()=>{for(const _0x26e1b5 of _0xdb2bdf){if(this[_0x1f9b('0x20')](_0x26e1b5,_0x5f63ac))_0x169698(_0x19037b);else{const _0x13b8bb={};for(const _0x13e26c of _0x47cefd){const _0x1cf790=_0x26e1b5[_0x1f9b('0x3')](_0x13e26c);void 0x0!==_0x1cf790&&(_0x13b8bb[_0x13e26c]=_0x1cf790);}_0x169698(_0x19037b),_0x3d384[_0x1f9b('0x1')](_0x26e1b5,{'commandParams':[_0x13b8bb]},[],_0x5f63ac);}}});}['handleDiscardAction'](_0x1951f7,_0x5e1478,_0x3d7a5c){const _0x2d639a=_0x5e1478[0x0][_0x1f9b('0x7')][_0x1f9b('0x2c')],_0x431a6b=_0x3d7a5c[_0x1f9b('0x16')][0x0];this['editor'][_0x1f9b('0x6')][_0x1f9b('0x21')](_0x74d83c=>{for(const _0x42771b of _0x1951f7)void 0x0!==_0x431a6b[_0x42771b]?_0x74d83c[_0x1f9b('0x34')](_0x42771b,_0x431a6b[_0x42771b],_0x2d639a):_0x74d83c[_0x1f9b('0x27')](_0x42771b,_0x2d639a);});}['handleSuggestionDescription'](_0xc87d81){if(_0xc87d81['data'])switch(_0xc87d81[_0x1f9b('0x33')]){case _0x1f9b('0x1d'):return{'type':'format','content':_0x54eac5(this[_0x1f9b('0x30')]['locale'],_0x1f9b('0x22'))};case _0x1f9b('0x3c'):return{'type':_0x1f9b('0x12'),'content':_0x54eac5(this['editor']['locale'],_0x1f9b('0x1a'))};}}[_0x1f9b('0x20')](_0x3a947e,_0x425803){const _0x54b06c=this[_0x1f9b('0x30')][_0x1f9b('0x25')]['get'](_0x1f9b('0x4'));for(const _0x45ecd8 of _0x54b06c[_0x1f9b('0x24')]({'skipNotAttached':!0x0})){const _0x7c15a0=_0x45ecd8[_0x1f9b('0x39')]();if(_0x45ecd8[_0x1f9b('0x33')]===_0x425803&&_0x7c15a0===_0x3a947e)return _0x45ecd8;}return null;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x401e=['plugins','editor','has','Template','enableCommand','get','TrackChangesEditing'];(function(_0x37ee39,_0x401ee4){const _0x43833a=function(_0x75888e){while(--_0x75888e){_0x37ee39['push'](_0x37ee39['shift']());}};_0x43833a(++_0x401ee4);}(_0x401e,0x72));const _0x4383=function(_0x37ee39,_0x401ee4){_0x37ee39=_0x37ee39-0x0;let _0x43833a=_0x401e[_0x37ee39];return _0x43833a;};import{Plugin as _0x1d28c6}from'ckeditor5/src/core.js';export default class vt extends _0x1d28c6{['afterInit'](){const _0x27b776=this[_0x4383('0x6')];_0x27b776[_0x4383('0x5')][_0x4383('0x0')](_0x4383('0x1'))&&_0x27b776[_0x4383('0x5')][_0x4383('0x3')](_0x4383('0x4'))[_0x4383('0x2')]('insertTemplate');}}
23
+ const _0x7755=['afterInit','enableCommand','insertTemplate','TrackChangesEditing','plugins','get'];(function(_0x446bfb,_0x775548){const _0x4b9688=function(_0x8119fc){while(--_0x8119fc){_0x446bfb['push'](_0x446bfb['shift']());}};_0x4b9688(++_0x775548);}(_0x7755,0x183));const _0x4b96=function(_0x446bfb,_0x775548){_0x446bfb=_0x446bfb-0x0;let _0x4b9688=_0x7755[_0x446bfb];return _0x4b9688;};import{Plugin as _0x42e55e}from'ckeditor5/src/core.js';export default class vt extends _0x42e55e{[_0x4b96('0x3')](){const _0x11c8a1=this['editor'];_0x11c8a1[_0x4b96('0x1')]['has']('Template')&&_0x11c8a1[_0x4b96('0x1')][_0x4b96('0x2')](_0x4b96('0x0'))[_0x4b96('0x4')](_0x4b96('0x5'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xce35=['ELEMENT_TITLE','isCollapsed','registerElementLabel','createRange','newRange','isTouching','registerPostFixer','plugins','end','start','document','has','_splitMarkerName','locale','model','differ','from','Title','get','element','getChangedMarkers','updateMarker','schema','TrackChangesEditing','suggestion','title-content','forward','nodeBefore'];(function(_0x50a55f,_0xce355b){const _0x14cad2=function(_0x15c3b7){while(--_0x15c3b7){_0x50a55f['push'](_0x50a55f['shift']());}};_0x14cad2(++_0xce355b);}(_0xce35,0x1b7));const _0x14ca=function(_0x50a55f,_0xce355b){_0x50a55f=_0x50a55f-0x0;let _0x14cad2=_0xce35[_0x50a55f];return _0x14cad2;};import{Plugin as _0x2effb2}from'ckeditor5/src/core.js';import{getTranslation as _0x5767bb}from'../utils/common-translations.js';export default class Ct extends _0x2effb2{['afterInit'](){const _0x37e797=this['editor'];if(!_0x37e797[_0x14ca('0x10')][_0x14ca('0x14')](_0x14ca('0x1a')))return;const _0x3b455c=_0x37e797[_0x14ca('0x10')][_0x14ca('0x1b')](_0x14ca('0x4'));_0x3b455c['_descriptionFactory'][_0x14ca('0xb')](_0x14ca('0x6'),()=>_0x5767bb(_0x37e797[_0x14ca('0x16')],_0x14ca('0x9'))),_0x37e797[_0x14ca('0x17')]['document'][_0x14ca('0xf')](_0x1e847e=>{let _0x1d002e=!0x1;const _0x227ac1=Array[_0x14ca('0x19')](_0x37e797[_0x14ca('0x17')][_0x14ca('0x13')][_0x14ca('0x18')][_0x14ca('0x1')]());for(const {name:_0x849199,data:_0x5ad42f}of _0x227ac1){const {group:_0x2fdce9}=_0x3b455c[_0x14ca('0x15')](_0x849199);if(_0x14ca('0x5')!==_0x2fdce9||!_0x5ad42f[_0x14ca('0xd')])continue;const _0x1886e8=_0x5ad42f[_0x14ca('0xd')],_0x465bce=_0x1886e8[_0x14ca('0x11')][_0x14ca('0x8')];if(!_0x465bce||!_0x465bce['is'](_0x14ca('0x0'),_0x14ca('0x6')))continue;if(!_0x1886e8[_0x14ca('0x12')][_0x14ca('0xe')](_0x1886e8['end']))continue;const _0x2473f7=_0x37e797[_0x14ca('0x17')][_0x14ca('0x3')]['getNearestSelectionRange'](_0x1886e8[_0x14ca('0x11')],_0x14ca('0x7'));if(_0x2473f7&&_0x2473f7[_0x14ca('0xa')]){const _0x1e8c72=_0x1e847e[_0x14ca('0xc')](_0x1886e8[_0x14ca('0x12')],_0x2473f7[_0x14ca('0x12')]);_0x1e8c72['isEqual'](_0x1886e8)||(_0x1e847e[_0x14ca('0x2')](_0x849199,{'range':_0x1e8c72}),_0x1d002e=!0x0);}_0x1d002e||(_0x1e847e['removeMarker'](_0x849199),_0x1d002e=!0x0);}return _0x1d002e;});}}
23
+ const _0x2320=['isCollapsed','getChangedMarkers','afterInit','end','editor','registerPostFixer','has','nodeBefore','createRange','document','isTouching','element','plugins','locale','isEqual','from','ELEMENT_TITLE','model','removeMarker','title-content','suggestion','get','TrackChangesEditing','newRange','schema','getNearestSelectionRange','updateMarker','registerElementLabel','start'];(function(_0x1786d6,_0x2320fa){const _0x36346d=function(_0x20c605){while(--_0x20c605){_0x1786d6['push'](_0x1786d6['shift']());}};_0x36346d(++_0x2320fa);}(_0x2320,0xc6));const _0x3634=function(_0x1786d6,_0x2320fa){_0x1786d6=_0x1786d6-0x0;let _0x36346d=_0x2320[_0x1786d6];return _0x36346d;};import{Plugin as _0x31ee02}from'ckeditor5/src/core.js';import{getTranslation as _0x129d3a}from'../utils/common-translations.js';export default class Ct extends _0x31ee02{[_0x3634('0x7')](){const _0x19c188=this[_0x3634('0x9')];if(!_0x19c188[_0x3634('0x11')][_0x3634('0xb')]('Title'))return;const _0x1424f6=_0x19c188[_0x3634('0x11')][_0x3634('0x1a')](_0x3634('0x1b'));_0x1424f6['_descriptionFactory'][_0x3634('0x3')](_0x3634('0x18'),()=>_0x129d3a(_0x19c188[_0x3634('0x12')],_0x3634('0x15'))),_0x19c188[_0x3634('0x16')][_0x3634('0xe')][_0x3634('0xa')](_0x8d6413=>{let _0x5479b3=!0x1;const _0x515f7e=Array[_0x3634('0x14')](_0x19c188[_0x3634('0x16')][_0x3634('0xe')]['differ'][_0x3634('0x6')]());for(const {name:_0x12e71f,data:_0x355d93}of _0x515f7e){const {group:_0x21531e}=_0x1424f6['_splitMarkerName'](_0x12e71f);if(_0x3634('0x19')!==_0x21531e||!_0x355d93[_0x3634('0x1c')])continue;const _0x284e0c=_0x355d93[_0x3634('0x1c')],_0x59feac=_0x284e0c[_0x3634('0x8')][_0x3634('0xc')];if(!_0x59feac||!_0x59feac['is'](_0x3634('0x10'),_0x3634('0x18')))continue;if(!_0x284e0c['start'][_0x3634('0xf')](_0x284e0c['end']))continue;const _0x40eac2=_0x19c188['model'][_0x3634('0x0')][_0x3634('0x1')](_0x284e0c['end'],'forward');if(_0x40eac2&&_0x40eac2[_0x3634('0x5')]){const _0x3c99aa=_0x8d6413[_0x3634('0xd')](_0x284e0c[_0x3634('0x4')],_0x40eac2['start']);_0x3c99aa[_0x3634('0x13')](_0x284e0c)||(_0x8d6413[_0x3634('0x2')](_0x12e71f,{'range':_0x3c99aa}),_0x5479b3=!0x0);}_0x5479b3||(_0x8d6413[_0x3634('0x17')](_0x12e71f),_0x5479b3=!0x0);}return _0x5479b3;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4abf=['afterInit','redo','undo','enableCommand','plugins','UndoEditing','get'];(function(_0x2d8647,_0x4abf2d){const _0x4fa1c3=function(_0x4b0522){while(--_0x4b0522){_0x2d8647['push'](_0x2d8647['shift']());}};_0x4fa1c3(++_0x4abf2d);}(_0x4abf,0x123));const _0x4fa1=function(_0x2d8647,_0x4abf2d){_0x2d8647=_0x2d8647-0x0;let _0x4fa1c3=_0x4abf[_0x2d8647];return _0x4fa1c3;};import{Plugin as _0x57361e}from'ckeditor5/src/core.js';export default class Dt extends _0x57361e{[_0x4fa1('0x3')](){const _0x4bffcf=this['editor'],_0x1c447f=_0x4bffcf['plugins'][_0x4fa1('0x2')]('TrackChangesEditing');_0x4bffcf[_0x4fa1('0x0')]['has'](_0x4fa1('0x1'))&&(_0x1c447f[_0x4fa1('0x6')](_0x4fa1('0x5')),_0x1c447f[_0x4fa1('0x6')](_0x4fa1('0x4')));}}
23
+ const _0x28ea=['UndoEditing','has','plugins','TrackChangesEditing','undo','enableCommand','redo'];(function(_0x3cf072,_0x28ea42){const _0xe24018=function(_0x2945b3){while(--_0x2945b3){_0x3cf072['push'](_0x3cf072['shift']());}};_0xe24018(++_0x28ea42);}(_0x28ea,0x164));const _0xe240=function(_0x3cf072,_0x28ea42){_0x3cf072=_0x3cf072-0x0;let _0xe24018=_0x28ea[_0x3cf072];return _0xe24018;};import{Plugin as _0x4c66b4}from'ckeditor5/src/core.js';export default class Dt extends _0x4c66b4{['afterInit'](){const _0x474fad=this['editor'],_0x3b0673=_0x474fad[_0xe240('0x3')]['get'](_0xe240('0x4'));_0x474fad[_0xe240('0x3')][_0xe240('0x2')](_0xe240('0x1'))&&(_0x3b0673[_0xe240('0x6')](_0xe240('0x5')),_0x3b0673[_0xe240('0x6')](_0xe240('0x0')));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xdcab=['writer','hasAttribute','test','push','name','span','getAttribute','model','listIndent','isBlock','markerRange','elementEnd','consumable','includes','mapper','markerName','isAtEnd','isLimit','listItem','toViewPosition','TrackChangesEditing','addHighlight','nextSibling','isContent','plugins','previousPosition','bindElementToMarker','insert','element','createRangeOn','getItems'];(function(_0x29cfdc,_0xdcab16){const _0x9e2775=function(_0x41aeb9){while(--_0x41aeb9){_0x29cfdc['push'](_0x29cfdc['shift']());}};_0x9e2775(++_0xdcab16);}(_0xdcab,0x113));const _0x9e27=function(_0x29cfdc,_0xdcab16){_0x29cfdc=_0x29cfdc-0x0;let _0x9e2775=_0xdcab[_0x29cfdc];return _0x9e2775;};export function getRangesWithAttribute(_0x3fff2d,_0x15d433,_0x473c8a){const _0x5a3934=[];for(const _0x41b781 of _0x15d433[_0x9e27('0x3')]())_0x41b781[_0x9e27('0x5')](_0x3fff2d)&&_0x5a3934[_0x9e27('0x7')](_0x473c8a[_0x9e27('0x2')](_0x41b781));return _0x5a3934;}export function getElementsAffectedByListItemRename(_0x1ff703){const _0x494ced=[];if(_0x1ff703['is'](_0x9e27('0x1'),'listItem')){let _0x4fc1f1=_0x1ff703[_0x9e27('0x1a')];for(;_0x4fc1f1&&_0x4fc1f1['is'](_0x9e27('0x1'),_0x9e27('0x16'))&&_0x4fc1f1[_0x9e27('0xa')](_0x9e27('0xc'))>0x0;)_0x494ced[_0x9e27('0x7')](_0x4fc1f1),_0x4fc1f1=_0x4fc1f1[_0x9e27('0x1a')];}return _0x494ced;}export function downcastSplitMergeMarker(_0x244261,_0x5ccd7e,{showActiveMarker:_0x10de3b=!0x0}={}){const _0x24675b=_0x244261[_0x9e27('0x1c')]['get'](_0x9e27('0x18'));return(_0x3d9924,_0x13a606,_0x223eca)=>{if(!_0x223eca[_0x9e27('0x10')][_0x9e27('0x6')](_0x13a606['markerRange'],_0x3d9924[_0x9e27('0x8')]))return;const _0x4bdabd=_0x13a606[_0x9e27('0xe')]['getWalker'](),_0x59bbcd=_0x13a606[_0x9e27('0xe')]['start'],_0x367d2b=_0x244261[_0x9e27('0xb')]['schema'];let _0x4ffe83=null,_0x14f5c2=null,_0x29bf25=!0x1,_0x9035c7=!0x1;for(const _0x501bda of _0x4bdabd){const _0x4a09b8=_0x501bda['item'];_0x29bf25=_0x29bf25||_0x367d2b[_0x9e27('0x1b')](_0x4a09b8);const _0x4d5d03=_0x223eca[_0x9e27('0x12')]['toViewElement'](_0x4a09b8);if(_0x4d5d03&&_0x4d5d03['getCustomProperty'](_0x9e27('0x19')))return;_0x9e27('0xf')==_0x501bda['type']&&(_0x367d2b[_0x9e27('0xd')](_0x4a09b8)&&!_0x367d2b[_0x9e27('0x15')](_0x4a09b8)&&(_0x4a09b8[_0x9e27('0x1a')]||_0x59bbcd[_0x9e27('0x14')]?_0x4ffe83&&_0x4ffe83['parent']==_0x4a09b8||(_0x4ffe83=_0x4a09b8,_0x47a325(_0x501bda[_0x9e27('0x1d')]),_0x9035c7=!0x0):_0x14f5c2=_0x14f5c2||_0x501bda[_0x9e27('0x1d')]));}function _0x47a325(_0x286478){const _0x343ce1=_0x223eca[_0x9e27('0x4')]['createUIElement'](_0x9e27('0x9'),{'class':'ck-suggestion-marker-'+_0x5ccd7e}),_0x186d47=_0x223eca[_0x9e27('0x12')][_0x9e27('0x17')](_0x286478);_0x10de3b&&_0x24675b['activeMarkers'][_0x9e27('0x11')](_0x13a606[_0x9e27('0x13')])&&_0x223eca['writer']['addClass']('ck-suggestion-marker--active',_0x343ce1),_0x223eca[_0x9e27('0x4')][_0x9e27('0x0')](_0x186d47,_0x343ce1),_0x223eca[_0x9e27('0x12')][_0x9e27('0x1e')](_0x343ce1,_0x13a606[_0x9e27('0x13')]);}_0x29bf25||_0x9035c7||!_0x14f5c2||_0x47a325(_0x14f5c2);};}
23
+ const _0x40a8=['type','consumable','isLimit','TrackChangesEditing','markerName','elementEnd','test','plugins','markerRange','getAttribute','activeMarkers','getCustomProperty','writer','previousPosition','nextSibling','schema','mapper','ck-suggestion-marker--active','listItem','item','start','isBlock','insert','element','name','ck-suggestion-marker-','span','isAtEnd','includes','listIndent','addClass','toViewElement','addHighlight','push','bindElementToMarker'];(function(_0x5cb82c,_0x40a848){const _0x36c8e8=function(_0x3751ad){while(--_0x3751ad){_0x5cb82c['push'](_0x5cb82c['shift']());}};_0x36c8e8(++_0x40a848);}(_0x40a8,0x1e9));const _0x36c8=function(_0x5cb82c,_0x40a848){_0x5cb82c=_0x5cb82c-0x0;let _0x36c8e8=_0x40a8[_0x5cb82c];return _0x36c8e8;};export function getRangesWithAttribute(_0x2a7af5,_0x3f06be,_0x527dfd){const _0x1d41d0=[];for(const _0xc7c360 of _0x3f06be['getItems']())_0xc7c360['hasAttribute'](_0x2a7af5)&&_0x1d41d0[_0x36c8('0x22')](_0x527dfd['createRangeOn'](_0xc7c360));return _0x1d41d0;}export function getElementsAffectedByListItemRename(_0x56a3f5){const _0x59bc5e=[];if(_0x56a3f5['is'](_0x36c8('0x18'),_0x36c8('0x13'))){let _0x1432b5=_0x56a3f5[_0x36c8('0xf')];for(;_0x1432b5&&_0x1432b5['is'](_0x36c8('0x18'),'listItem')&&_0x1432b5[_0x36c8('0xa')](_0x36c8('0x1e'))>0x0;)_0x59bc5e[_0x36c8('0x22')](_0x1432b5),_0x1432b5=_0x1432b5['nextSibling'];}return _0x59bc5e;}export function downcastSplitMergeMarker(_0xddff72,_0x16f6ca,{showActiveMarker:_0x130c18=!0x0}={}){const _0x381a48=_0xddff72[_0x36c8('0x8')]['get'](_0x36c8('0x4'));return(_0x534d46,_0x317ed8,_0x32a162)=>{if(!_0x32a162[_0x36c8('0x2')][_0x36c8('0x7')](_0x317ed8['markerRange'],_0x534d46[_0x36c8('0x19')]))return;const _0x52117a=_0x317ed8[_0x36c8('0x9')]['getWalker'](),_0x204c6e=_0x317ed8[_0x36c8('0x9')][_0x36c8('0x15')],_0x5118e0=_0xddff72['model'][_0x36c8('0x10')];let _0x1f514d=null,_0x276f40=null,_0x216917=!0x1,_0x2ebdf1=!0x1;for(const _0x2e105f of _0x52117a){const _0x198ece=_0x2e105f[_0x36c8('0x14')];_0x216917=_0x216917||_0x5118e0['isContent'](_0x198ece);const _0x392f84=_0x32a162['mapper'][_0x36c8('0x20')](_0x198ece);if(_0x392f84&&_0x392f84[_0x36c8('0xc')](_0x36c8('0x21')))return;_0x36c8('0x6')==_0x2e105f[_0x36c8('0x1')]&&(_0x5118e0[_0x36c8('0x16')](_0x198ece)&&!_0x5118e0[_0x36c8('0x3')](_0x198ece)&&(_0x198ece[_0x36c8('0xf')]||_0x204c6e[_0x36c8('0x1c')]?_0x1f514d&&_0x1f514d['parent']==_0x198ece||(_0x1f514d=_0x198ece,_0x14513f(_0x2e105f[_0x36c8('0xe')]),_0x2ebdf1=!0x0):_0x276f40=_0x276f40||_0x2e105f[_0x36c8('0xe')]));}function _0x14513f(_0x298365){const _0x5adb81=_0x32a162[_0x36c8('0xd')]['createUIElement'](_0x36c8('0x1b'),{'class':_0x36c8('0x1a')+_0x16f6ca}),_0x42a2cd=_0x32a162[_0x36c8('0x11')]['toViewPosition'](_0x298365);_0x130c18&&_0x381a48[_0x36c8('0xb')][_0x36c8('0x1d')](_0x317ed8[_0x36c8('0x5')])&&_0x32a162[_0x36c8('0xd')][_0x36c8('0x1f')](_0x36c8('0x12'),_0x5adb81),_0x32a162[_0x36c8('0xd')][_0x36c8('0x17')](_0x42a2cd,_0x5adb81),_0x32a162[_0x36c8('0x11')][_0x36c8('0x0')](_0x5adb81,_0x317ed8[_0x36c8('0x5')]);}_0x216917||_0x2ebdf1||!_0x276f40||_0x14513f(_0x276f40);};}