@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20240104.0 → 0.0.0-nightly-20240105.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/documentlist.js +1 -1
  18. package/src/integrations/documentlistproperties.js +1 -1
  19. package/src/integrations/entercommand.js +1 -1
  20. package/src/integrations/findandreplace.js +1 -1
  21. package/src/integrations/font.js +1 -1
  22. package/src/integrations/formatpainter.js +1 -1
  23. package/src/integrations/heading.js +1 -1
  24. package/src/integrations/highlight.js +1 -1
  25. package/src/integrations/horizontalline.js +1 -1
  26. package/src/integrations/htmlembed.js +1 -1
  27. package/src/integrations/image.js +1 -1
  28. package/src/integrations/imagereplace.js +1 -1
  29. package/src/integrations/imagestyle.js +1 -1
  30. package/src/integrations/importword.js +1 -1
  31. package/src/integrations/indent.js +1 -1
  32. package/src/integrations/inputcommand.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 _0x1cd0=['remove','insertColumns','tableCellBackgroundColor','TableClipboard','isEmpty','activeMarkers','markMultiRangeBlockFormat','rootName','find','setAttributes','getChanges','newRange','tableCellVerticalAlignment','createRangeOn','markMultiRangeInsertion','_createdBatches','set','keys','has','_replaceTableSlotCell','conversion','getChildren','tablePasteChainId','Users','high','insertRows','registerDescriptionCallback','isEqual','createElement','_suggestionFactory','tablePasteRow','registerPostFixer','registerCustomCallback','getChild','name','ck-suggestion-marker','afterInit','updateMarker','tableCellSuggestion','endColumn','selection','tablePasteColumn','_descriptionFactory','TrackChangesEditing','for','options','fill','removeMarker','hasSuggestion','containsRange','stop','getRowIndexes','from','column','markerName','columns','getRanges','getSuggestionCallback','tablePasteCell','differ','getRows','_getCoordsForCells','add','get','accept','includes','getMarkers','fromEntries','batch','markerToHighlight','removeRows','insertion','low','commands','listenTo','unwrap','TableUtils','view','return','createRangeIn','getAllAdjacentSuggestions','tableCellBorderColor','_isForcedDefaultExecutionBlock','getContainedElement','getColumnIndexes','rowInsertionIndexes','insert','_splitMarkerName','type','getSuggestions','map','change','position','deletionRanges','insertContent','showSuggestionHighlights','deletion','register','tableCell','oldRange','_tablePostFixingSubtypes','isInContent','subType','columnInsertionIndexes','tableCellHorizontalAlignment','suggestionUnloaded','getChangedMarkers','tablePaste','suggestion-td','markMultiRangeDeletion','filter','createRange','getTableIfOnlyTableInContent','cells','nextSibling','rows','endRow','$graveyard','formatBlock','model','push','discard','wrap','document','every','elementToElement','startsWith','rowInsertionRanges','author','previousSibling','dataDowncast','getShiftedBy','first','join','end','suggestion','attributes','removeColumns','element','paragraph','getItems','suggestionLoaded','createTableWalker','editor','findAncestor','table','schema','getRange','ck-suggestion-marker-insertion','plugins','last','markers','length','editingDowncast','markerAttributes','nodeAfter'];(function(_0x1255ae,_0x1cd0a5){const _0x54c053=function(_0x1eb1bc){while(--_0x1eb1bc){_0x1255ae['push'](_0x1255ae['shift']());}};_0x54c053(++_0x1cd0a5);}(_0x1cd0,0xb1));const _0x54c0=function(_0x1255ae,_0x1cd0a5){_0x1255ae=_0x1255ae-0x0;let _0x54c053=_0x1cd0[_0x1255ae];return _0x54c053;};import{getTranslation as _0x285d30}from'../utils/common-translations.js';import{Plugin as _0x57b700}from'ckeditor5/src/core.js';import{uid as _0x1ef439,priorities as _0x517e06}from'ckeditor5/src/utils.js';import _0x101e57 from'./table.js';const le=['tableCellBorderWidth',_0x54c0('0x3c'),'tableCellBorderStyle',_0x54c0('0x53'),_0x54c0('0x93'),_0x54c0('0x89'),'tableCellPadding'],ae=Object['fromEntries'](le['map'](_0x32add2=>[_0x32add2,null]));export default class At extends _0x57b700{static get['requires'](){return[_0x101e57];}[_0x54c0('0xf')](){const _0x15ec79=this[_0x54c0('0x7a')];if(!_0x15ec79[_0x54c0('0x80')][_0x54c0('0x99')]('TableClipboard'))return;const _0x45296e=_0x15ec79[_0x54c0('0x80')][_0x54c0('0x2a')](_0x54c0('0x16')),_0x5883a3=_0x15ec79[_0x54c0('0x80')][_0x54c0('0x2a')](_0x54c0('0x37')),_0x47f973=_0x15ec79[_0x54c0('0x80')][_0x54c0('0x2a')](_0x101e57),_0x153220=_0x15ec79[_0x54c0('0x80')]['get'](_0x54c0('0x8a'));_0x47f973[_0x54c0('0x4f')][_0x54c0('0x63')](_0x54c0('0x9'),'tablePasteColumn'),_0x15ec79[_0x54c0('0x62')][_0x54c0('0x7d')][_0x54c0('0x4c')](_0x54c0('0x11'),{'allowIn':_0x54c0('0x4d'),'allowContentOf':_0x54c0('0x4d'),'isLimit':!0x0}),_0x15ec79[_0x54c0('0x9b')][_0x54c0('0x68')]({'model':_0x54c0('0x11'),'view':_0x54c0('0x57')});let _0x32b29d=null;_0x15ec79[_0x54c0('0x62')]['on'](_0x54c0('0x49'),(_0x3eea1c,_0x2feae5)=>{const [_0x401ce0,_0x507726]=_0x2feae5,_0x2f9739=_0x2feae5[_0x2feae5[_0x54c0('0x83')]-0x1];_0x2f9739&&_0x2f9739['forceDefaultExecution']||_0x45296e[_0x54c0('0x3d')]||this[_0x54c0('0x7a')][_0x54c0('0x34')]['get']('trackChanges')['value']&&function(_0x3426c3,_0x5c995c,_0x2d2a80,_0x5ceebf,_0x5074e5){if(_0x5c995c&&!_0x5c995c['is']('documentSelection'))return!0x1;const _0x5aa22d=_0x5074e5[_0x54c0('0x5b')](_0x3426c3,_0x2d2a80);if(!_0x5aa22d||!fe(_0x5aa22d,void 0x0,_0x5ceebf))return!0x1;const _0x3cf13a=_0x5ceebf['getSelectionAffectedTableCells'](_0x2d2a80[_0x54c0('0x66')][_0x54c0('0x13')]);if(!_0x3cf13a['length'])return!0x1;const _0x1ada91=_0x3cf13a[0x0]['findAncestor'](_0x54c0('0x7c')),_0xc13359=_0x5ceebf[_0x54c0('0x1e')](_0x3cf13a),_0x2ca664=_0x5ceebf[_0x54c0('0x3f')](_0x3cf13a),_0x1df091={'startRow':_0xc13359[_0x54c0('0x6f')],'endRow':_0xc13359[_0x54c0('0x81')],'startColumn':_0x2ca664[_0x54c0('0x6f')],'endColumn':_0x2ca664[_0x54c0('0x81')]};return 0x1==_0x3cf13a[_0x54c0('0x83')]&&(_0x1df091[_0x54c0('0x5f')]+=_0x5ceebf[_0x54c0('0x27')](_0x5aa22d)-0x1,_0x1df091[_0x54c0('0x12')]+=_0x5ceebf['getColumns'](_0x5aa22d)-0x1),fe(_0x1ada91,_0x1df091,_0x5ceebf);}(_0x401ce0,_0x507726,_0x15ec79[_0x54c0('0x62')],_0x5883a3,_0x153220)&&(_0x3eea1c['stop'](),_0x32b29d={'cells':[],'insertionRanges':[],'deletionRanges':[],'rowInsertionRanges':[],'rowInsertionIndexes':[],'columnInsertionRanges':[],'columnInsertionIndexes':[]},_0x15ec79[_0x54c0('0x62')][_0x54c0('0x46')](()=>{_0x15ec79['model'][_0x54c0('0x49')](_0x2feae5[0x0],_0x2feae5[0x1],_0x2feae5[0x2],{'forceDefaultExecution':!0x0});const _0x110b8d=_0x1ef439(),{rowInsertionRanges:_0x515f1d,columnInsertionRanges:_0x253bba,insertionRanges:_0x50dafb,deletionRanges:_0x1b80e1,cells:_0x7b75b4}=_0x32b29d;_0x515f1d['length']&&_0x45296e[_0x54c0('0x95')](_0x515f1d,'tablePasteRow',{'tablePasteChainId':_0x110b8d}),_0x253bba[_0x54c0('0x83')]&&_0x45296e['markMultiRangeInsertion'](_0x253bba,_0x54c0('0x14'),{'tablePasteChainId':_0x110b8d}),_0x50dafb['length']&&_0x45296e[_0x54c0('0x95')](_0x50dafb,_0x54c0('0x56'),{'tablePasteChainId':_0x110b8d,'skipNestingCheck':!0x0}),_0x1b80e1[_0x54c0('0x83')]&&_0x45296e[_0x54c0('0x58')](_0x1b80e1,'tablePaste',{'tablePasteChainId':_0x110b8d,'skipNestingCheck':!0x0});const _0x18ed2f=_0x45296e[_0x54c0('0x8d')](_0x7b75b4['map'](({element:_0x5a4ee1})=>_0x5a4ee1),{'formatGroupId':_0x1ef439()},[],_0x54c0('0x25'),{'tablePasteChainId':_0x110b8d});if(_0x18ed2f){const _0x2e99e9=_0x18ed2f[_0x54c0('0x2d')](),_0x574538=[];for(const {element:_0x3e00f1,attributes:_0x498871}of _0x7b75b4){if(!_0x498871)continue;const _0x3a72ba=_0x15ec79[_0x54c0('0x62')][_0x54c0('0x94')](_0x3e00f1),_0x7fc4e3=_0x2e99e9[_0x54c0('0x8f')](_0x38e266=>_0x38e266[_0x54c0('0x7e')]()[_0x54c0('0x6')](_0x3a72ba));_0x7fc4e3&&_0x574538['push']([_0x7fc4e3['name'],_0x498871]);}_0x574538['length']&&_0x18ed2f['setAttribute'](_0x54c0('0x85'),Object['fromEntries'](_0x574538));}_0x32b29d=null;}));},{'priority':_0x517e06[_0x54c0('0x3')]+0xa}),_0x15ec79[_0x54c0('0x80')][_0x54c0('0x2a')]('TableClipboard')['on'](_0x54c0('0x9a'),(_0x403cc2,_0x126d17)=>{const [_0x49c6c9,_0x2f0306,,_0x57338d]=_0x126d17;if(!_0x32b29d)return;_0x403cc2[_0x54c0('0x1d')]();const _0x1e6e2f=_0x49c6c9['cell'],_0x162bbc=_0x2f0306,_0x1dfc50=ce(_0x1e6e2f),_0x3ea23d=ce(_0x162bbc);_0x403cc2[_0x54c0('0x39')]=_0x1e6e2f;let _0x3e0d0c=null,_0x43de70=null;if(_0x3ea23d||_0x1dfc50){if(_0x1dfc50&&!_0x3ea23d){_0x57338d[_0x54c0('0x87')](_0x1e6e2f['getChild'](0x0));for(const _0x4938ce of Array['from'](_0x162bbc[_0x54c0('0x0')]()))_0x57338d[_0x54c0('0x41')](_0x4938ce,_0x1e6e2f,'end');const _0x4d990b=_0x32b29d['rowInsertionIndexes']['includes'](_0x49c6c9['row']),_0x50e7a9=_0x32b29d[_0x54c0('0x52')][_0x54c0('0x2c')](_0x49c6c9[_0x54c0('0x20')]);_0x4d990b||_0x50e7a9||(_0x3e0d0c=_0x57338d[_0x54c0('0x3a')](_0x1e6e2f));}else _0x3ea23d&&!_0x1dfc50&&(_0x43de70=_0x57338d[_0x54c0('0x3a')](_0x1e6e2f));}else{const _0x948ddb=_0x57338d['createElement'](_0x54c0('0x11')),_0x56cc19=_0x57338d[_0x54c0('0x7')]('tableCellSuggestion');_0x57338d[_0x54c0('0x65')](_0x57338d[_0x54c0('0x3a')](_0x1e6e2f),_0x56cc19),_0x57338d[_0x54c0('0x41')](_0x948ddb,_0x1e6e2f,0x0);for(const _0x2ac784 of Array['from'](_0x162bbc[_0x54c0('0x0')]()))_0x57338d[_0x54c0('0x41')](_0x2ac784,_0x948ddb,_0x54c0('0x71'));_0x3e0d0c=_0x57338d['createRangeOn'](_0x948ddb),_0x43de70=_0x57338d[_0x54c0('0x94')](_0x56cc19);}const _0x25bc69=Array[_0x54c0('0x1f')](_0x162bbc['getAttributes']())[_0x54c0('0x59')](([_0x2f3a6d])=>le[_0x54c0('0x2c')](_0x2f3a6d));_0x32b29d['cells'][_0x54c0('0x63')]({'element':_0x1e6e2f,'attributes':_0x25bc69[_0x54c0('0x83')]?Object[_0x54c0('0x2e')](_0x25bc69):null}),_0x3e0d0c&&_0x32b29d['insertionRanges'][_0x54c0('0x63')](_0x3e0d0c),_0x43de70&&_0x32b29d[_0x54c0('0x48')]['push'](_0x43de70);},{'priority':_0x54c0('0x3')}),_0x5883a3['on'](_0x54c0('0x88'),(_0x551433,_0x105aaa)=>{const [_0xc265c,_0x11cfd3={}]=_0x105aaa;if(!_0x32b29d)return;const _0xb7185=_0x11cfd3['at']||0x0,_0x58808a=_0x11cfd3[_0x54c0('0x22')]||0x1;_0x32b29d['columnInsertionIndexes']=new Array(_0x58808a)[_0x54c0('0x19')](_0xb7185)[_0x54c0('0x45')]((_0x6a5f2c,_0x59608b)=>_0x6a5f2c+_0x59608b);for(const {cell:_0xcc0611}of _0x5883a3[_0x54c0('0x79')](_0xc265c,{'startColumn':_0xb7185,'endColumn':_0xb7185+_0x58808a-0x1}))_0x32b29d['columnInsertionRanges'][_0x54c0('0x63')](_0x15ec79[_0x54c0('0x62')][_0x54c0('0x94')](_0xcc0611));},{'priority':_0x54c0('0x33')}),_0x5883a3['on'](_0x54c0('0x4'),(_0x5bfa7b,_0x3f2e2a)=>{const [_0x3d917d,_0x39eddc={}]=_0x3f2e2a;if(!_0x32b29d)return;const _0x192b42=_0x39eddc['at']||0x0,_0x1d50d7=_0x39eddc[_0x54c0('0x5e')]||0x1;_0x32b29d[_0x54c0('0x40')]=new Array(_0x1d50d7)[_0x54c0('0x19')](_0x192b42)[_0x54c0('0x45')]((_0x86d32d,_0x16a8c9)=>_0x86d32d+_0x16a8c9);for(const {cell:_0x249267}of _0x5883a3[_0x54c0('0x79')](_0x3d917d,{'startRow':_0x192b42,'endRow':_0x192b42+_0x1d50d7-0x1}))_0x32b29d[_0x54c0('0x6a')]['push'](_0x15ec79[_0x54c0('0x62')]['createRangeOn'](_0x249267));},{'priority':'low'}),_0x45296e[_0x54c0('0x15')][_0x54c0('0x5')](_0x2b57af=>{if(_0x2b57af[_0x54c0('0x51')]&&_0x2b57af[_0x54c0('0x51')][_0x54c0('0x69')](_0x54c0('0x56')))return _0x2b57af['previous']?{}:{'type':'insertion','content':_0x285d30(_0x15ec79['locale'],'*Replace\x20table\x20cells*')};});const _0xdecbdd=()=>!0x1;for(const _0x2ced94 of['tablePaste','tablePasteColumn','tablePasteRow',_0x54c0('0x25')])_0x45296e[_0x54c0('0x8')][_0x54c0('0xb')](_0x54c0('0x32'),_0x2ced94,_0x54c0('0x70'),_0xdecbdd),_0x45296e['_suggestionFactory']['registerCustomCallback']('deletion',_0x2ced94,'join',_0xdecbdd),_0x45296e[_0x54c0('0x8')][_0x54c0('0xb')](_0x54c0('0x61'),_0x2ced94,_0x54c0('0x70'),_0xdecbdd);_0x45296e['_suggestionFactory']['registerCustomCallback'](_0x54c0('0x61'),_0x54c0('0x25'),_0x54c0('0x64'),_0xdecbdd),_0x45296e['_suggestionFactory']['registerCustomCallback'](_0x54c0('0x61'),_0x54c0('0x25'),_0x54c0('0x2b'),(_0x154e11,_0x2c0812,_0x55c15d)=>{const _0x3e7110=_0x154e11[_0x54c0('0x45')](_0x172894=>_0x172894[_0x54c0('0x3e')]())['filter'](_0x3de849=>_0x3de849),_0x135d6c=new Map(_0x3e7110[_0x54c0('0x45')](_0x107e83=>[_0x107e83,null]));if(_0x32b29d)for(const {element:_0x552239,attributes:_0x19703e}of _0x32b29d[_0x54c0('0x5c')])_0x19703e&&_0x135d6c[_0x54c0('0x97')](_0x552239,_0x19703e);else{if(_0x55c15d&&_0x55c15d[_0x54c0('0x85')])for(const [_0x3df194,_0x40fbe7]of Object['entries'](_0x55c15d[_0x54c0('0x85')])){const _0x404ddc=_0x15ec79[_0x54c0('0x62')][_0x54c0('0x82')][_0x54c0('0x2a')](_0x3df194),_0x2b065b=_0x404ddc?_0x404ddc['getRange']()[_0x54c0('0x3e')]():null;_0x2b065b&&_0x135d6c[_0x54c0('0x97')](_0x2b065b,_0x40fbe7);}}_0x15ec79[_0x54c0('0x62')][_0x54c0('0x46')](_0x3a1636=>{for(const [_0x3f5991,_0x40c1fe]of _0x135d6c)_0x3a1636[_0x54c0('0x90')]({...ae,..._0x40c1fe},_0x3f5991);});});const _0x5e9c75=(_0x58d9c6,_0x159f92)=>{_0x45296e['_suggestionFactory']['registerCustomCallback'](_0x58d9c6,_0x54c0('0x56'),_0x159f92,(_0x2fc308,_0x59ee4d,_0x3e3d8a)=>{_0x15ec79[_0x54c0('0x62')][_0x54c0('0x46')](_0xd205d7=>{const _0x391bd9=[];for(const _0x12ac5d of _0x2fc308){const _0x3ec964=_0x12ac5d['start'][_0x54c0('0x86')];_0x3ec964['is'](_0x54c0('0x75'),'tableCellSuggestion')&&_0x391bd9[_0x54c0('0x63')](_0x3ec964);}_0x45296e[_0x54c0('0x8')][_0x54c0('0x24')](_0x58d9c6,null,_0x159f92)(_0x2fc308,_0x59ee4d,_0x3e3d8a);for(const _0x332a4a of _0x391bd9)_0x54c0('0x60')!=_0x332a4a['root'][_0x54c0('0x8e')]&&_0xd205d7[_0x54c0('0x36')](_0x332a4a);});});};_0x5e9c75('insertion',_0x54c0('0x2b')),_0x5e9c75(_0x54c0('0x32'),_0x54c0('0x64')),_0x5e9c75('deletion',_0x54c0('0x2b')),_0x5e9c75(_0x54c0('0x4b'),'discard'),_0x45296e[_0x54c0('0x8')][_0x54c0('0xb')]('insertion',_0x54c0('0x9'),_0x54c0('0x64'),_0x4c4f87=>{const _0x4f1929=_0x4c4f87[_0x54c0('0x45')](_0x4d2acb=>_0x4d2acb[_0x54c0('0x3e')]()),_0x4038cf=_0x4f1929[0x0][_0x54c0('0x7b')](_0x54c0('0x7c')),{minRow:_0x45c27f,maxRow:_0x2c608b}=_0x47f973[_0x54c0('0x28')](_0x4f1929);_0x5883a3[_0x54c0('0x31')](_0x4038cf,{'at':_0x45c27f,'rows':_0x2c608b-_0x45c27f+0x1});}),_0x45296e[_0x54c0('0x8')][_0x54c0('0xb')](_0x54c0('0x32'),_0x54c0('0x14'),_0x54c0('0x64'),_0x53f9ed=>{const _0x442dd0=_0x53f9ed['map'](_0x1f02ea=>_0x1f02ea[_0x54c0('0x3e')]()),_0x4524b2=_0x442dd0[0x0][_0x54c0('0x7b')]('table'),{minColumn:_0x15fa29,maxColumn:_0x54a109}=_0x47f973[_0x54c0('0x28')](_0x442dd0);_0x5883a3[_0x54c0('0x74')](_0x4524b2,{'at':_0x15fa29,'columns':_0x54a109-_0x15fa29+0x1});});const _0x26fe5d=(_0x18f8f7,_0x31803f)=>{if(!_0x31803f['subType']||!_0x31803f['subType'][_0x54c0('0x69')]('tablePaste'))return;const _0x2ba736=_0x31803f['attributes'][_0x54c0('0x1')],_0x33aa85=_0x45296e[_0x54c0('0x44')]()[_0x54c0('0x59')](_0x5093e3=>_0x5093e3['isInContent']&&_0x5093e3[_0x54c0('0x73')]&&_0x5093e3[_0x54c0('0x73')][_0x54c0('0x1')]==_0x2ba736);_0x33aa85[_0x54c0('0x83')]&&_0x31803f[_0x54c0('0x3b')]()[_0x54c0('0x83')]!=_0x33aa85[_0x54c0('0x83')]&&_0x33aa85['reduce']((_0x7e54ec,_0x5ed220)=>(_0x7e54ec['next']=_0x5ed220,_0x5ed220['previous']=_0x7e54ec,_0x5ed220));};function _0x252051(_0xc3eddf,_0x29ba8e=!0x0){const {id:_0x1ddd7b}=_0x45296e[_0x54c0('0x42')](_0xc3eddf[_0x54c0('0x21')]),_0x293d59=[_0x54c0('0xe'),_0x54c0('0x7f')],_0x3fbd1f=_0x45296e[_0x54c0('0x8c')][_0x54c0('0x2c')](_0xc3eddf[_0x54c0('0x21')]);return _0x3fbd1f&&_0x293d59[_0x54c0('0x63')]('ck-suggestion-marker--active'),{'classes':_0x293d59,'attributes':{'data-suggestion':_0x1ddd7b},'priority':_0x3fbd1f&&_0x29ba8e?0xbc2:0xbb8};}_0x45296e['on'](_0x54c0('0x78'),_0x26fe5d,{'priority':'high'}),_0x45296e['on'](_0x54c0('0x54'),_0x26fe5d,{'priority':_0x54c0('0x3')}),_0x15ec79[_0x54c0('0x62')][_0x54c0('0x66')]['registerPostFixer'](()=>{let _0x478779=!0x1;const _0x1ce9c9=Array[_0x54c0('0x1f')](_0x15ec79[_0x54c0('0x62')][_0x54c0('0x66')][_0x54c0('0x26')]['getChangedMarkers']());for(const {name:_0x416638,data:_0x3465b4}of _0x1ce9c9){const {group:_0x2869f5,type:_0x405769,id:_0xed4db}=_0x45296e[_0x54c0('0x42')](_0x416638);if('suggestion'!=_0x2869f5||_0x54c0('0x4b')!=_0x405769||_0x3465b4[_0x54c0('0x4e')])continue;if(!_0x45296e[_0x54c0('0x1b')](_0xed4db))continue;const _0x255bab=_0x45296e['getSuggestion'](_0xed4db)['getRanges'](),_0x327c9d=_0x15ec79[_0x54c0('0x80')][_0x54c0('0x2a')](_0x54c0('0x2'))['me'];for(const _0x48b3cf of _0x45296e['getSuggestions']()){if(!_0x48b3cf['isInContent']||_0x48b3cf[_0x54c0('0x6b')]!=_0x327c9d)continue;if('formatBlock'!=_0x48b3cf[_0x54c0('0x43')]||_0x54c0('0x25')!=_0x48b3cf[_0x54c0('0x51')])continue;if(_0x48b3cf[_0x54c0('0x23')]()[_0x54c0('0x67')](_0x26c8ba=>_0x255bab['some'](_0x30ac1c=>_0x30ac1c[_0x54c0('0x1c')](_0x26c8ba,!0x0))))for(const _0x2550a2 of _0x48b3cf[_0x54c0('0x3b')]())_0x2550a2[_0x54c0('0x50')]&&(_0x2550a2[_0x54c0('0x64')](),_0x478779=!0x0);}}return _0x478779;}),_0x15ec79[_0x54c0('0x62')][_0x54c0('0x66')][_0x54c0('0xa')](_0x2b353d=>{const _0x57c40a=_0x15ec79[_0x54c0('0x34')][_0x54c0('0x2a')]('redo');if(!_0x57c40a||!_0x57c40a[_0x54c0('0x96')][_0x54c0('0x99')](_0x2b353d[_0x54c0('0x2f')]))return!0x1;let _0x351f55=!0x1;const _0x306040=_0x15ec79[_0x54c0('0x80')][_0x54c0('0x2a')]('Users')['me'],_0x51adaa=_0x15ec79[_0x54c0('0x62')]['document'][_0x54c0('0x26')][_0x54c0('0x91')](),_0x12937a=Array[_0x54c0('0x1f')](_0x15ec79[_0x54c0('0x62')]['document'][_0x54c0('0x26')][_0x54c0('0x55')]())['filter'](({name:_0x39fd8b,data:_0x47171})=>{const {group:_0x31bb6f,subType:_0x1b189d,authorId:_0x122e0e}=_0x45296e['_splitMarkerName'](_0x39fd8b);return _0x54c0('0x72')==_0x31bb6f&&_0x54c0('0x56')==_0x1b189d&&_0x122e0e==_0x306040['id']&&!_0x47171['oldRange'];});for(const _0x2b9a9a of _0x51adaa){if('insert'!=_0x2b9a9a['type']||_0x54c0('0x11')!=_0x2b9a9a[_0x54c0('0xd')]||0x1!=_0x2b9a9a[_0x54c0('0x83')])continue;const _0x556fbc=_0x2b353d[_0x54c0('0x5a')](_0x2b9a9a[_0x54c0('0x47')],_0x2b9a9a[_0x54c0('0x47')][_0x54c0('0x6e')](0x1));if(!_0x12937a[_0x54c0('0x8f')](({data:_0x1438e9})=>_0x1438e9['newRange'][_0x54c0('0x6')](_0x556fbc)))for(const {name:_0x230603,data:_0x26add1}of _0x12937a)if(_0x556fbc[_0x54c0('0x1c')](_0x26add1[_0x54c0('0x92')])){_0x2b353d[_0x54c0('0x10')](_0x230603,{'range':_0x556fbc}),_0x351f55=!0x0;break;}}return _0x351f55;}),_0x15ec79['model'][_0x54c0('0x66')][_0x54c0('0xa')](_0x6dfe33=>{let _0x1895ac=!0x1;const _0x2b0ac6=_0x15ec79[_0x54c0('0x80')][_0x54c0('0x2a')](_0x54c0('0x2'))['me'],_0x33d378=_0x45296e[_0x54c0('0x44')]()[_0x54c0('0x59')](_0x11193b=>_0x11193b[_0x54c0('0x50')]&&_0x11193b['author']==_0x2b0ac6),_0x1ef1ee=new Set(),_0x306e36=new Set();for(const _0x496e52 of _0x33d378)if(_0x54c0('0x56')==_0x496e52[_0x54c0('0x51')])for(const _0x41c608 of _0x496e52[_0x54c0('0x2d')]()){const _0x4d816d=_0x41c608[_0x54c0('0x7e')]()['getContainedElement']();if(_0x4d816d){if(_0x4d816d['is'](_0x54c0('0x75'),_0x54c0('0x11'))&&ce(_0x4d816d)){_0x496e52[_0x54c0('0x1a')](_0x41c608[_0x54c0('0xd')]),_0x1ef1ee['add'](_0x4d816d),_0x1895ac=!0x0;const _0x311a78=_0x4d816d[_0x54c0('0x5d')],_0x71b544=_0x4d816d[_0x54c0('0x6c')],_0x1bf443=_0x311a78&&_0x311a78['is'](_0x54c0('0x75'),_0x54c0('0x11')),_0x3892fc=_0x71b544&&_0x71b544['is'](_0x54c0('0x75'),'tableCellSuggestion');_0x1bf443&&!_0x1ef1ee[_0x54c0('0x99')](_0x311a78)&&_0x306e36['add'](_0x311a78),_0x3892fc&&!_0x1ef1ee['has'](_0x71b544)&&_0x306e36[_0x54c0('0x29')](_0x71b544);}else _0x4d816d['is'](_0x54c0('0x75'),_0x54c0('0x76'))&&_0x4d816d[_0x54c0('0x8b')]&&(_0x496e52[_0x54c0('0x1a')](_0x41c608[_0x54c0('0xd')]),_0x1895ac=!0x0);}}else{if(_0x54c0('0x25')==_0x496e52['subType']){if(!_0x496e52[_0x54c0('0x73')]||!_0x496e52['attributes'][_0x54c0('0x1')])continue;const _0x4b7c58=_0x496e52['attributes'][_0x54c0('0x85')];if(_0x4b7c58&&Object[_0x54c0('0x98')](_0x4b7c58)[_0x54c0('0x83')])continue;const _0x3deefc=_0x496e52[_0x54c0('0x73')][_0x54c0('0x1')];let _0x53ee2c=!0x0,_0x4fba11=!0x0;for(const _0xb352a3 of _0x33d378)if(_0xb352a3[_0x54c0('0x51')]&&_0xb352a3[_0x54c0('0x51')][_0x54c0('0x69')](_0x54c0('0x56'))){if(!_0xb352a3['attributes']['tablePasteChainId']){_0x4fba11=!0x1;break;}if(_0xb352a3['id']!=_0x496e52['id']&&_0xb352a3[_0x54c0('0x73')]['tablePasteChainId']==_0x3deefc){_0x53ee2c=!0x1;break;}}_0x4fba11&&_0x53ee2c&&(_0x496e52['removeMarkers'](),_0x1895ac=!0x0);}}for(const _0xe48a22 of _0x1ef1ee)_0x6dfe33[_0x54c0('0x87')](_0xe48a22);for(const _0x2674bf of _0x306e36)_0x6dfe33['unwrap'](_0x2674bf);return _0x1895ac;}),_0x15ec79[_0x54c0('0x9b')]['for'](_0x54c0('0x84'))[_0x54c0('0x30')]({'model':'suggestion:formatBlock:tablePasteCell','view':(_0xe38901,_0x227129)=>_0x252051(_0xe38901),'converterPriority':_0x54c0('0x3')}),_0x15ec79[_0x54c0('0x9b')][_0x54c0('0x17')](_0x54c0('0x6d'))[_0x54c0('0x30')]({'model':'suggestion:formatBlock:tablePasteCell','view':(_0x8e930,_0x516d3f)=>_0x516d3f[_0x54c0('0x18')][_0x54c0('0x4a')]?_0x252051(_0x8e930,!0x1):null,'converterPriority':_0x54c0('0x3')});const _0x36645d=_0x15ec79['editing'][_0x54c0('0x38')];this[_0x54c0('0x35')](_0x36645d['document'],'clipboardOutput',(_0x4f477a,_0x3c20ae)=>{const _0x109a5e=[];for(const _0x44e2bb of _0x36645d[_0x54c0('0x3a')](_0x3c20ae['content'])[_0x54c0('0x77')]())_0x44e2bb['is']('element',_0x54c0('0x57'))&&_0x109a5e['push'](_0x44e2bb);_0x36645d[_0x54c0('0x46')](_0x36d2e1=>{for(const _0x540ea0 of _0x109a5e)_0x36d2e1['move'](_0x36d2e1['createRangeIn'](_0x540ea0),_0x36d2e1['createPositionBefore'](_0x540ea0)),_0x36d2e1[_0x54c0('0x87')](_0x540ea0);});});}}function ce(_0x3fa61f){if(_0x3fa61f['isEmpty'])return!0x0;const _0x5ce347=_0x3fa61f[_0x54c0('0xc')](0x0);return _0x5ce347['is']('element',_0x54c0('0x76'))&&_0x5ce347[_0x54c0('0x8b')];}function fe(_0x47c07a,_0x2912c6={},_0x50f4a2){for(const {isAnchor:_0x410a3f,cellHeight:_0x5c48ef,cellWidth:_0x41dabd}of _0x50f4a2[_0x54c0('0x79')](_0x47c07a,{'includeAllSlots':!0x0,..._0x2912c6}))if(!_0x410a3f||0x1!=_0x5c48ef||0x1!=_0x41dabd)return!0x1;return!0x0;}
23
+ const _0x3c06=['markMultiRangeInsertion','tablePasteColumn','first','selection','tableCellBackgroundColor','TrackChangesEditing','ck-suggestion-marker','change','keys','unwrap','getSuggestionCallback','isEmpty','suggestion','getChangedMarkers','getAttributes','length','isInContent','nextSibling','deletion','name','previous','table','endRow','set','getChanges','markerName','tablePasteChainId','findAncestor','setAttributes','tableCellBorderColor','createRangeIn','getItems','endColumn','suggestion:formatBlock:tablePasteCell','getRowIndexes','cell','registerPostFixer','createPositionBefore','getChild','get','rootName','view','removeRows','tablePasteCell','model','getRows','paragraph','rows','tableCellBorderStyle','tableCellVerticalAlignment','getSuggestions','differ','forceDefaultExecution','requires','author','_tablePostFixingSubtypes','low','startsWith','row','columnInsertionIndexes','push','ck-suggestion-marker--active','getContainedElement','_suggestionFactory','wrap','_splitMarkerName','tableCell','getColumnIndexes','conversion','map','remove','Users','options','rowInsertionRanges','nodeAfter','newRange','oldRange','commands','insertion','next','column','setAttribute','insertContent','trackChanges','createTableWalker','getMarkers','*Replace\x20table\x20cells*','hasSuggestion','TableUtils','getSuggestion','insert','formatBlock','find','createRangeOn','stop','insertionRanges','batch','getChildren','TableClipboard','filter','return','rowInsertionIndexes','editor','markerAttributes','move','columnInsertionRanges','attributes','getAllAdjacentSuggestions','position','redo','element','tablePasteRow','includes','start','getColumns','from','getRanges','_descriptionFactory','join','insertColumns','markerToHighlight','subType','showSuggestionHighlights','schema','discard','root','markers','add','cells','tablePaste','containsRange','reduce','dataDowncast','fill','suggestionUnloaded','for','document','high','accept','value','getRange','_replaceTableSlotCell','_getCoordsForCells','tableCellSuggestion','markMultiRangeDeletion','removeColumns','removeMarkers','activeMarkers','removeMarker','isEqual','fromEntries','last','_isForcedDefaultExecutionBlock','createElement','registerCustomCallback','tableCellBorderWidth','plugins','content','has','locale','type','editingDowncast'];(function(_0x2306cd,_0x3c0688){const _0x3ad0ec=function(_0x30f1d6){while(--_0x30f1d6){_0x2306cd['push'](_0x2306cd['shift']());}};_0x3ad0ec(++_0x3c0688);}(_0x3c06,0xf7));const _0x3ad0=function(_0x2306cd,_0x3c0688){_0x2306cd=_0x2306cd-0x0;let _0x3ad0ec=_0x3c06[_0x2306cd];return _0x3ad0ec;};import{getTranslation as _0x523855}from'../utils/common-translations.js';import{Plugin as _0x596724}from'ckeditor5/src/core.js';import{uid as _0x5c542a,priorities as _0x22ad12}from'ckeditor5/src/utils.js';import _0x5e9139 from'./table.js';const le=[_0x3ad0('0x46'),_0x3ad0('0x6a'),_0x3ad0('0x7d'),'tableCellHorizontalAlignment',_0x3ad0('0x7e'),_0x3ad0('0x51'),'tableCellPadding'],ae=Object[_0x3ad0('0x41')](le['map'](_0x34b333=>[_0x34b333,null]));export default class At extends _0x596724{static get[_0x3ad0('0x82')](){return[_0x5e9139];}['afterInit'](){const _0x27ff27=this[_0x3ad0('0x11')];if(!_0x27ff27[_0x3ad0('0x47')][_0x3ad0('0x49')](_0x3ad0('0xd')))return;const _0x1ad1b5=_0x27ff27['plugins'][_0x3ad0('0x74')](_0x3ad0('0x52')),_0x1abb9d=_0x27ff27[_0x3ad0('0x47')][_0x3ad0('0x74')](_0x3ad0('0x3')),_0x1fa77b=_0x27ff27[_0x3ad0('0x47')]['get'](_0x5e9139),_0x33e74a=_0x27ff27[_0x3ad0('0x47')][_0x3ad0('0x74')](_0x3ad0('0xd'));_0x1fa77b[_0x3ad0('0x84')][_0x3ad0('0x89')](_0x3ad0('0x1a'),_0x3ad0('0x4e')),_0x27ff27['model'][_0x3ad0('0x26')]['register'](_0x3ad0('0x3a'),{'allowIn':_0x3ad0('0x8f'),'allowContentOf':_0x3ad0('0x8f'),'isLimit':!0x0}),_0x27ff27[_0x3ad0('0x91')]['elementToElement']({'model':_0x3ad0('0x3a'),'view':'suggestion-td'});let _0x3a2ff4=null;_0x27ff27[_0x3ad0('0x79')]['on'](_0x3ad0('0x9f'),(_0x52cbe2,_0x44e0b4)=>{const [_0x4fc9c0,_0x65e6d9]=_0x44e0b4,_0x3f23c4=_0x44e0b4[_0x44e0b4['length']-0x1];_0x3f23c4&&_0x3f23c4[_0x3ad0('0x81')]||_0x1ad1b5[_0x3ad0('0x43')]||this[_0x3ad0('0x11')][_0x3ad0('0x9a')][_0x3ad0('0x74')](_0x3ad0('0xa0'))[_0x3ad0('0x36')]&&function(_0x333c0d,_0x5e8699,_0x4ebf19,_0x439db1,_0x338b22){if(_0x5e8699&&!_0x5e8699['is']('documentSelection'))return!0x1;const _0xf7a526=_0x338b22['getTableIfOnlyTableInContent'](_0x333c0d,_0x4ebf19);if(!_0xf7a526||!fe(_0xf7a526,void 0x0,_0x439db1))return!0x1;const _0x2c4a89=_0x439db1['getSelectionAffectedTableCells'](_0x4ebf19[_0x3ad0('0x33')][_0x3ad0('0x50')]);if(!_0x2c4a89[_0x3ad0('0x5c')])return!0x1;const _0x3ef135=_0x2c4a89[0x0]['findAncestor']('table'),_0x417184=_0x439db1[_0x3ad0('0x6f')](_0x2c4a89),_0x5f5d9e=_0x439db1[_0x3ad0('0x90')](_0x2c4a89),_0x4dec6f={'startRow':_0x417184[_0x3ad0('0x4f')],'endRow':_0x417184[_0x3ad0('0x42')],'startColumn':_0x5f5d9e[_0x3ad0('0x4f')],'endColumn':_0x5f5d9e['last']};return 0x1==_0x2c4a89[_0x3ad0('0x5c')]&&(_0x4dec6f[_0x3ad0('0x63')]+=_0x439db1[_0x3ad0('0x7a')](_0xf7a526)-0x1,_0x4dec6f[_0x3ad0('0x6d')]+=_0x439db1[_0x3ad0('0x1d')](_0xf7a526)-0x1),fe(_0x3ef135,_0x4dec6f,_0x439db1);}(_0x4fc9c0,_0x65e6d9,_0x27ff27['model'],_0x1abb9d,_0x33e74a)&&(_0x52cbe2[_0x3ad0('0x9')](),_0x3a2ff4={'cells':[],'insertionRanges':[],'deletionRanges':[],'rowInsertionRanges':[],'rowInsertionIndexes':[],'columnInsertionRanges':[],'columnInsertionIndexes':[]},_0x27ff27[_0x3ad0('0x79')][_0x3ad0('0x54')](()=>{_0x27ff27[_0x3ad0('0x79')][_0x3ad0('0x9f')](_0x44e0b4[0x0],_0x44e0b4[0x1],_0x44e0b4[0x2],{'forceDefaultExecution':!0x0});const _0x37cc09=_0x5c542a(),{rowInsertionRanges:_0x389eeb,columnInsertionRanges:_0xee3e3e,insertionRanges:_0x10bb75,deletionRanges:_0x296b0e,cells:_0x1e16b6}=_0x3a2ff4;_0x389eeb[_0x3ad0('0x5c')]&&_0x1ad1b5[_0x3ad0('0x4d')](_0x389eeb,_0x3ad0('0x1a'),{'tablePasteChainId':_0x37cc09}),_0xee3e3e[_0x3ad0('0x5c')]&&_0x1ad1b5[_0x3ad0('0x4d')](_0xee3e3e,'tablePasteColumn',{'tablePasteChainId':_0x37cc09}),_0x10bb75['length']&&_0x1ad1b5['markMultiRangeInsertion'](_0x10bb75,_0x3ad0('0x2c'),{'tablePasteChainId':_0x37cc09,'skipNestingCheck':!0x0}),_0x296b0e[_0x3ad0('0x5c')]&&_0x1ad1b5[_0x3ad0('0x3b')](_0x296b0e,_0x3ad0('0x2c'),{'tablePasteChainId':_0x37cc09,'skipNestingCheck':!0x0});const _0x4c3c43=_0x1ad1b5['markMultiRangeBlockFormat'](_0x1e16b6[_0x3ad0('0x92')](({element:_0x2bc269})=>_0x2bc269),{'formatGroupId':_0x5c542a()},[],_0x3ad0('0x78'),{'tablePasteChainId':_0x37cc09});if(_0x4c3c43){const _0x209d32=_0x4c3c43['getMarkers'](),_0x3d79da=[];for(const {element:_0x140a0d,attributes:_0xf9a656}of _0x1e16b6){if(!_0xf9a656)continue;const _0x4d7777=_0x27ff27[_0x3ad0('0x79')][_0x3ad0('0x8')](_0x140a0d),_0x2f1b8b=_0x209d32[_0x3ad0('0x7')](_0x30a438=>_0x30a438[_0x3ad0('0x37')]()[_0x3ad0('0x40')](_0x4d7777));_0x2f1b8b&&_0x3d79da[_0x3ad0('0x89')]([_0x2f1b8b[_0x3ad0('0x60')],_0xf9a656]);}_0x3d79da['length']&&_0x4c3c43[_0x3ad0('0x9e')]('markerAttributes',Object['fromEntries'](_0x3d79da));}_0x3a2ff4=null;}));},{'priority':_0x22ad12[_0x3ad0('0x34')]+0xa}),_0x27ff27[_0x3ad0('0x47')]['get']('TableClipboard')['on'](_0x3ad0('0x38'),(_0x573640,_0x5ed0d2)=>{const [_0x1c3781,_0x30945b,,_0x2c3132]=_0x5ed0d2;if(!_0x3a2ff4)return;_0x573640[_0x3ad0('0x9')]();const _0x277fa1=_0x1c3781[_0x3ad0('0x70')],_0x15b4a8=_0x30945b,_0x3f2481=ce(_0x277fa1),_0x3f3fb4=ce(_0x15b4a8);_0x573640[_0x3ad0('0xf')]=_0x277fa1;let _0x34f712=null,_0x55209f=null;if(_0x3f3fb4||_0x3f2481){if(_0x3f2481&&!_0x3f3fb4){_0x2c3132[_0x3ad0('0x93')](_0x277fa1[_0x3ad0('0x73')](0x0));for(const _0x5699d0 of Array['from'](_0x15b4a8[_0x3ad0('0xc')]()))_0x2c3132[_0x3ad0('0x5')](_0x5699d0,_0x277fa1,'end');const _0x508162=_0x3a2ff4[_0x3ad0('0x10')][_0x3ad0('0x1b')](_0x1c3781[_0x3ad0('0x87')]),_0x366740=_0x3a2ff4[_0x3ad0('0x88')][_0x3ad0('0x1b')](_0x1c3781[_0x3ad0('0x9d')]);_0x508162||_0x366740||(_0x34f712=_0x2c3132[_0x3ad0('0x6b')](_0x277fa1));}else _0x3f3fb4&&!_0x3f2481&&(_0x55209f=_0x2c3132['createRangeIn'](_0x277fa1));}else{const _0x1cb237=_0x2c3132[_0x3ad0('0x44')](_0x3ad0('0x3a')),_0x1196bf=_0x2c3132[_0x3ad0('0x44')](_0x3ad0('0x3a'));_0x2c3132[_0x3ad0('0x8d')](_0x2c3132[_0x3ad0('0x6b')](_0x277fa1),_0x1196bf),_0x2c3132[_0x3ad0('0x5')](_0x1cb237,_0x277fa1,0x0);for(const _0x518326 of Array[_0x3ad0('0x1e')](_0x15b4a8['getChildren']()))_0x2c3132['insert'](_0x518326,_0x1cb237,'end');_0x34f712=_0x2c3132['createRangeOn'](_0x1cb237),_0x55209f=_0x2c3132[_0x3ad0('0x8')](_0x1196bf);}const _0x241236=Array[_0x3ad0('0x1e')](_0x15b4a8[_0x3ad0('0x5b')]())[_0x3ad0('0xe')](([_0xf7d6c7])=>le[_0x3ad0('0x1b')](_0xf7d6c7));_0x3a2ff4[_0x3ad0('0x2b')][_0x3ad0('0x89')]({'element':_0x277fa1,'attributes':_0x241236[_0x3ad0('0x5c')]?Object[_0x3ad0('0x41')](_0x241236):null}),_0x34f712&&_0x3a2ff4[_0x3ad0('0xa')][_0x3ad0('0x89')](_0x34f712),_0x55209f&&_0x3a2ff4['deletionRanges'][_0x3ad0('0x89')](_0x55209f);},{'priority':'high'}),_0x1abb9d['on'](_0x3ad0('0x22'),(_0x4b83e2,_0x2b1372)=>{const [_0x15f145,_0x5349a9={}]=_0x2b1372;if(!_0x3a2ff4)return;const _0x48e1c4=_0x5349a9['at']||0x0,_0x506265=_0x5349a9['columns']||0x1;_0x3a2ff4['columnInsertionIndexes']=new Array(_0x506265)[_0x3ad0('0x30')](_0x48e1c4)['map']((_0x1bc471,_0x520722)=>_0x1bc471+_0x520722);for(const {cell:_0x249cb2}of _0x1abb9d[_0x3ad0('0xa1')](_0x15f145,{'startColumn':_0x48e1c4,'endColumn':_0x48e1c4+_0x506265-0x1}))_0x3a2ff4[_0x3ad0('0x14')][_0x3ad0('0x89')](_0x27ff27[_0x3ad0('0x79')]['createRangeOn'](_0x249cb2));},{'priority':_0x3ad0('0x85')}),_0x1abb9d['on']('insertRows',(_0x18a77f,_0x496585)=>{const [_0x4b4004,_0x47dda6={}]=_0x496585;if(!_0x3a2ff4)return;const _0x2f1895=_0x47dda6['at']||0x0,_0x2e0b37=_0x47dda6[_0x3ad0('0x7c')]||0x1;_0x3a2ff4[_0x3ad0('0x10')]=new Array(_0x2e0b37)['fill'](_0x2f1895)[_0x3ad0('0x92')]((_0xee9676,_0x5d68a8)=>_0xee9676+_0x5d68a8);for(const {cell:_0x46bab0}of _0x1abb9d[_0x3ad0('0xa1')](_0x4b4004,{'startRow':_0x2f1895,'endRow':_0x2f1895+_0x2e0b37-0x1}))_0x3a2ff4[_0x3ad0('0x96')][_0x3ad0('0x89')](_0x27ff27[_0x3ad0('0x79')][_0x3ad0('0x8')](_0x46bab0));},{'priority':_0x3ad0('0x85')}),_0x1ad1b5[_0x3ad0('0x20')]['registerDescriptionCallback'](_0x156f6a=>{if(_0x156f6a[_0x3ad0('0x24')]&&_0x156f6a[_0x3ad0('0x24')]['startsWith'](_0x3ad0('0x2c')))return _0x156f6a['previous']?{}:{'type':_0x3ad0('0x9b'),'content':_0x523855(_0x27ff27[_0x3ad0('0x4a')],_0x3ad0('0x1'))};});const _0x3865aa=()=>!0x1;for(const _0x39aafe of['tablePaste',_0x3ad0('0x4e'),'tablePasteRow',_0x3ad0('0x78')])_0x1ad1b5['_suggestionFactory'][_0x3ad0('0x45')](_0x3ad0('0x9b'),_0x39aafe,'join',_0x3865aa),_0x1ad1b5[_0x3ad0('0x8c')][_0x3ad0('0x45')](_0x3ad0('0x5f'),_0x39aafe,_0x3ad0('0x21'),_0x3865aa),_0x1ad1b5[_0x3ad0('0x8c')][_0x3ad0('0x45')](_0x3ad0('0x6'),_0x39aafe,_0x3ad0('0x21'),_0x3865aa);_0x1ad1b5['_suggestionFactory'][_0x3ad0('0x45')](_0x3ad0('0x6'),'tablePasteCell',_0x3ad0('0x27'),_0x3865aa),_0x1ad1b5[_0x3ad0('0x8c')]['registerCustomCallback']('formatBlock','tablePasteCell',_0x3ad0('0x35'),(_0x5797b6,_0x51cb91,_0x2ad195)=>{const _0x5b9936=_0x5797b6[_0x3ad0('0x92')](_0x3490cb=>_0x3490cb[_0x3ad0('0x8b')]())[_0x3ad0('0xe')](_0x35f3f0=>_0x35f3f0),_0x26866d=new Map(_0x5b9936[_0x3ad0('0x92')](_0x192ff9=>[_0x192ff9,null]));if(_0x3a2ff4)for(const {element:_0x1dae53,attributes:_0x2aea74}of _0x3a2ff4['cells'])_0x2aea74&&_0x26866d[_0x3ad0('0x64')](_0x1dae53,_0x2aea74);else{if(_0x2ad195&&_0x2ad195[_0x3ad0('0x12')])for(const [_0x33296c,_0x7f7b52]of Object['entries'](_0x2ad195[_0x3ad0('0x12')])){const _0x46cde7=_0x27ff27[_0x3ad0('0x79')][_0x3ad0('0x29')]['get'](_0x33296c),_0x55e2ef=_0x46cde7?_0x46cde7['getRange']()[_0x3ad0('0x8b')]():null;_0x55e2ef&&_0x26866d[_0x3ad0('0x64')](_0x55e2ef,_0x7f7b52);}}_0x27ff27['model']['change'](_0x5ef6a9=>{for(const [_0x552f95,_0x49bbba]of _0x26866d)_0x5ef6a9[_0x3ad0('0x69')]({...ae,..._0x49bbba},_0x552f95);});});const _0x49924e=(_0x2a494f,_0x1680b8)=>{_0x1ad1b5[_0x3ad0('0x8c')][_0x3ad0('0x45')](_0x2a494f,_0x3ad0('0x2c'),_0x1680b8,(_0x52f639,_0x52534c,_0x1c4adf)=>{_0x27ff27['model'][_0x3ad0('0x54')](_0x1cfe8a=>{const _0xf3630e=[];for(const _0x5c55b4 of _0x52f639){const _0x27b6ec=_0x5c55b4[_0x3ad0('0x1c')][_0x3ad0('0x97')];_0x27b6ec['is'](_0x3ad0('0x19'),_0x3ad0('0x3a'))&&_0xf3630e[_0x3ad0('0x89')](_0x27b6ec);}_0x1ad1b5['_suggestionFactory'][_0x3ad0('0x57')](_0x2a494f,null,_0x1680b8)(_0x52f639,_0x52534c,_0x1c4adf);for(const _0x3c38dc of _0xf3630e)'$graveyard'!=_0x3c38dc[_0x3ad0('0x28')][_0x3ad0('0x75')]&&_0x1cfe8a[_0x3ad0('0x56')](_0x3c38dc);});});};_0x49924e(_0x3ad0('0x9b'),_0x3ad0('0x35')),_0x49924e(_0x3ad0('0x9b'),_0x3ad0('0x27')),_0x49924e('deletion',_0x3ad0('0x35')),_0x49924e(_0x3ad0('0x5f'),_0x3ad0('0x27')),_0x1ad1b5[_0x3ad0('0x8c')][_0x3ad0('0x45')](_0x3ad0('0x9b'),'tablePasteRow','discard',_0x20b54f=>{const _0x55ebb9=_0x20b54f[_0x3ad0('0x92')](_0x5e1234=>_0x5e1234[_0x3ad0('0x8b')]()),_0x129b45=_0x55ebb9[0x0][_0x3ad0('0x68')](_0x3ad0('0x62')),{minRow:_0x2f57cf,maxRow:_0x393655}=_0x1fa77b[_0x3ad0('0x39')](_0x55ebb9);_0x1abb9d[_0x3ad0('0x77')](_0x129b45,{'at':_0x2f57cf,'rows':_0x393655-_0x2f57cf+0x1});}),_0x1ad1b5[_0x3ad0('0x8c')][_0x3ad0('0x45')](_0x3ad0('0x9b'),_0x3ad0('0x4e'),_0x3ad0('0x27'),_0x83a6a0=>{const _0x13e29a=_0x83a6a0[_0x3ad0('0x92')](_0x386870=>_0x386870[_0x3ad0('0x8b')]()),_0x5959bd=_0x13e29a[0x0][_0x3ad0('0x68')](_0x3ad0('0x62')),{minColumn:_0x380c30,maxColumn:_0x4f74ce}=_0x1fa77b[_0x3ad0('0x39')](_0x13e29a);_0x1abb9d[_0x3ad0('0x3c')](_0x5959bd,{'at':_0x380c30,'columns':_0x4f74ce-_0x380c30+0x1});});const _0x34028e=(_0x5c05f9,_0x54ef04)=>{if(!_0x54ef04[_0x3ad0('0x24')]||!_0x54ef04[_0x3ad0('0x24')][_0x3ad0('0x86')](_0x3ad0('0x2c')))return;const _0x2fd310=_0x54ef04['attributes'][_0x3ad0('0x67')],_0x2bed1f=_0x1ad1b5['getSuggestions']()[_0x3ad0('0xe')](_0xe0cddf=>_0xe0cddf[_0x3ad0('0x5d')]&&_0xe0cddf[_0x3ad0('0x15')]&&_0xe0cddf[_0x3ad0('0x15')]['tablePasteChainId']==_0x2fd310);_0x2bed1f[_0x3ad0('0x5c')]&&_0x54ef04[_0x3ad0('0x16')]()[_0x3ad0('0x5c')]!=_0x2bed1f[_0x3ad0('0x5c')]&&_0x2bed1f[_0x3ad0('0x2e')]((_0x4be8b3,_0xe56734)=>(_0x4be8b3[_0x3ad0('0x9c')]=_0xe56734,_0xe56734[_0x3ad0('0x61')]=_0x4be8b3,_0xe56734));};function _0x3b6d64(_0x498075,_0x4ee567=!0x0){const {id:_0x5b9f72}=_0x1ad1b5[_0x3ad0('0x8e')](_0x498075[_0x3ad0('0x66')]),_0x5ecfc4=[_0x3ad0('0x53'),'ck-suggestion-marker-insertion'],_0x119ef5=_0x1ad1b5[_0x3ad0('0x3e')]['includes'](_0x498075[_0x3ad0('0x66')]);return _0x119ef5&&_0x5ecfc4[_0x3ad0('0x89')](_0x3ad0('0x8a')),{'classes':_0x5ecfc4,'attributes':{'data-suggestion':_0x5b9f72},'priority':_0x119ef5&&_0x4ee567?0xbc2:0xbb8};}_0x1ad1b5['on']('suggestionLoaded',_0x34028e,{'priority':_0x3ad0('0x34')}),_0x1ad1b5['on'](_0x3ad0('0x31'),_0x34028e,{'priority':'high'}),_0x27ff27[_0x3ad0('0x79')][_0x3ad0('0x33')]['registerPostFixer'](()=>{let _0x29a3de=!0x1;const _0x3c3673=Array[_0x3ad0('0x1e')](_0x27ff27[_0x3ad0('0x79')]['document']['differ'][_0x3ad0('0x5a')]());for(const {name:_0x516edf,data:_0x6fb64c}of _0x3c3673){const {group:_0x1e98ab,type:_0x2dc4ff,id:_0x5703bd}=_0x1ad1b5['_splitMarkerName'](_0x516edf);if(_0x3ad0('0x59')!=_0x1e98ab||_0x3ad0('0x5f')!=_0x2dc4ff||_0x6fb64c['oldRange'])continue;if(!_0x1ad1b5[_0x3ad0('0x2')](_0x5703bd))continue;const _0xe511d5=_0x1ad1b5[_0x3ad0('0x4')](_0x5703bd)[_0x3ad0('0x1f')](),_0x224471=_0x27ff27[_0x3ad0('0x47')][_0x3ad0('0x74')]('Users')['me'];for(const _0x53d687 of _0x1ad1b5[_0x3ad0('0x7f')]()){if(!_0x53d687[_0x3ad0('0x5d')]||_0x53d687[_0x3ad0('0x83')]!=_0x224471)continue;if(_0x3ad0('0x6')!=_0x53d687[_0x3ad0('0x4b')]||_0x3ad0('0x78')!=_0x53d687[_0x3ad0('0x24')])continue;if(_0x53d687[_0x3ad0('0x1f')]()['every'](_0x12baec=>_0xe511d5['some'](_0x53fd60=>_0x53fd60[_0x3ad0('0x2d')](_0x12baec,!0x0))))for(const _0x183c96 of _0x53d687[_0x3ad0('0x16')]())_0x183c96[_0x3ad0('0x5d')]&&(_0x183c96[_0x3ad0('0x27')](),_0x29a3de=!0x0);}}return _0x29a3de;}),_0x27ff27[_0x3ad0('0x79')][_0x3ad0('0x33')][_0x3ad0('0x71')](_0x5d15ec=>{const _0x2d614f=_0x27ff27['commands'][_0x3ad0('0x74')](_0x3ad0('0x18'));if(!_0x2d614f||!_0x2d614f['_createdBatches'][_0x3ad0('0x49')](_0x5d15ec[_0x3ad0('0xb')]))return!0x1;let _0x248992=!0x1;const _0x41a2e6=_0x27ff27[_0x3ad0('0x47')]['get'](_0x3ad0('0x94'))['me'],_0x1c368=_0x27ff27[_0x3ad0('0x79')][_0x3ad0('0x33')][_0x3ad0('0x80')][_0x3ad0('0x65')](),_0x3c68be=Array[_0x3ad0('0x1e')](_0x27ff27[_0x3ad0('0x79')][_0x3ad0('0x33')][_0x3ad0('0x80')]['getChangedMarkers']())[_0x3ad0('0xe')](({name:_0x978ae,data:_0x33b6fb})=>{const {group:_0xf9e098,subType:_0x541d6e,authorId:_0x38d00e}=_0x1ad1b5['_splitMarkerName'](_0x978ae);return _0x3ad0('0x59')==_0xf9e098&&'tablePaste'==_0x541d6e&&_0x38d00e==_0x41a2e6['id']&&!_0x33b6fb[_0x3ad0('0x99')];});for(const _0x35a3c4 of _0x1c368){if(_0x3ad0('0x5')!=_0x35a3c4[_0x3ad0('0x4b')]||_0x3ad0('0x3a')!=_0x35a3c4[_0x3ad0('0x60')]||0x1!=_0x35a3c4[_0x3ad0('0x5c')])continue;const _0x345ac7=_0x5d15ec['createRange'](_0x35a3c4[_0x3ad0('0x17')],_0x35a3c4['position']['getShiftedBy'](0x1));if(!_0x3c68be['find'](({data:_0x46b56d})=>_0x46b56d['newRange'][_0x3ad0('0x40')](_0x345ac7)))for(const {name:_0x7d5942,data:_0x67d4}of _0x3c68be)if(_0x345ac7['containsRange'](_0x67d4[_0x3ad0('0x98')])){_0x5d15ec['updateMarker'](_0x7d5942,{'range':_0x345ac7}),_0x248992=!0x0;break;}}return _0x248992;}),_0x27ff27[_0x3ad0('0x79')][_0x3ad0('0x33')][_0x3ad0('0x71')](_0x4826ad=>{let _0x131da0=!0x1;const _0x1cd570=_0x27ff27[_0x3ad0('0x47')]['get']('Users')['me'],_0x343db4=_0x1ad1b5[_0x3ad0('0x7f')]()[_0x3ad0('0xe')](_0x7a5920=>_0x7a5920[_0x3ad0('0x5d')]&&_0x7a5920[_0x3ad0('0x83')]==_0x1cd570),_0x45957a=new Set(),_0x537e2e=new Set();for(const _0x154232 of _0x343db4)if('tablePaste'==_0x154232[_0x3ad0('0x24')])for(const _0x403ba7 of _0x154232[_0x3ad0('0x0')]()){const _0x1502ee=_0x403ba7[_0x3ad0('0x37')]()[_0x3ad0('0x8b')]();if(_0x1502ee){if(_0x1502ee['is']('element',_0x3ad0('0x3a'))&&ce(_0x1502ee)){_0x154232[_0x3ad0('0x3f')](_0x403ba7[_0x3ad0('0x60')]),_0x45957a[_0x3ad0('0x2a')](_0x1502ee),_0x131da0=!0x0;const _0x3b6c2d=_0x1502ee[_0x3ad0('0x5e')],_0x7b2120=_0x1502ee['previousSibling'],_0x5a7354=_0x3b6c2d&&_0x3b6c2d['is']('element','tableCellSuggestion'),_0x2c73c2=_0x7b2120&&_0x7b2120['is'](_0x3ad0('0x19'),'tableCellSuggestion');_0x5a7354&&!_0x45957a['has'](_0x3b6c2d)&&_0x537e2e[_0x3ad0('0x2a')](_0x3b6c2d),_0x2c73c2&&!_0x45957a['has'](_0x7b2120)&&_0x537e2e[_0x3ad0('0x2a')](_0x7b2120);}else _0x1502ee['is'](_0x3ad0('0x19'),_0x3ad0('0x7b'))&&_0x1502ee[_0x3ad0('0x58')]&&(_0x154232['removeMarker'](_0x403ba7[_0x3ad0('0x60')]),_0x131da0=!0x0);}}else{if(_0x3ad0('0x78')==_0x154232[_0x3ad0('0x24')]){if(!_0x154232[_0x3ad0('0x15')]||!_0x154232[_0x3ad0('0x15')][_0x3ad0('0x67')])continue;const _0x22b519=_0x154232[_0x3ad0('0x15')][_0x3ad0('0x12')];if(_0x22b519&&Object[_0x3ad0('0x55')](_0x22b519)[_0x3ad0('0x5c')])continue;const _0x5136ba=_0x154232[_0x3ad0('0x15')][_0x3ad0('0x67')];let _0x33c505=!0x0,_0x1af60e=!0x0;for(const _0x5ea8b2 of _0x343db4)if(_0x5ea8b2[_0x3ad0('0x24')]&&_0x5ea8b2[_0x3ad0('0x24')]['startsWith'](_0x3ad0('0x2c'))){if(!_0x5ea8b2[_0x3ad0('0x15')]['tablePasteChainId']){_0x1af60e=!0x1;break;}if(_0x5ea8b2['id']!=_0x154232['id']&&_0x5ea8b2['attributes'][_0x3ad0('0x67')]==_0x5136ba){_0x33c505=!0x1;break;}}_0x1af60e&&_0x33c505&&(_0x154232[_0x3ad0('0x3d')](),_0x131da0=!0x0);}}for(const _0x1d1335 of _0x45957a)_0x4826ad[_0x3ad0('0x93')](_0x1d1335);for(const _0x1057da of _0x537e2e)_0x4826ad[_0x3ad0('0x56')](_0x1057da);return _0x131da0;}),_0x27ff27[_0x3ad0('0x91')][_0x3ad0('0x32')](_0x3ad0('0x4c'))['markerToHighlight']({'model':_0x3ad0('0x6e'),'view':(_0x949582,_0x45de9f)=>_0x3b6d64(_0x949582),'converterPriority':_0x3ad0('0x34')}),_0x27ff27['conversion'][_0x3ad0('0x32')](_0x3ad0('0x2f'))[_0x3ad0('0x23')]({'model':_0x3ad0('0x6e'),'view':(_0x272e15,_0x1c711d)=>_0x1c711d[_0x3ad0('0x95')][_0x3ad0('0x25')]?_0x3b6d64(_0x272e15,!0x1):null,'converterPriority':_0x3ad0('0x34')});const _0x5e531b=_0x27ff27['editing'][_0x3ad0('0x76')];this['listenTo'](_0x5e531b[_0x3ad0('0x33')],'clipboardOutput',(_0x9e2492,_0x700e08)=>{const _0x358567=[];for(const _0x296730 of _0x5e531b[_0x3ad0('0x6b')](_0x700e08[_0x3ad0('0x48')])[_0x3ad0('0x6c')]())_0x296730['is'](_0x3ad0('0x19'),'suggestion-td')&&_0x358567[_0x3ad0('0x89')](_0x296730);_0x5e531b[_0x3ad0('0x54')](_0x2be6b4=>{for(const _0x3f4cd8 of _0x358567)_0x2be6b4[_0x3ad0('0x13')](_0x2be6b4[_0x3ad0('0x6b')](_0x3f4cd8),_0x2be6b4[_0x3ad0('0x72')](_0x3f4cd8)),_0x2be6b4['remove'](_0x3f4cd8);});});}}function ce(_0x7953e0){if(_0x7953e0[_0x3ad0('0x58')])return!0x0;const _0x299d8f=_0x7953e0[_0x3ad0('0x73')](0x0);return _0x299d8f['is'](_0x3ad0('0x19'),_0x3ad0('0x7b'))&&_0x299d8f['isEmpty'];}function fe(_0x1b3811,_0x3d109f={},_0x2fb471){for(const {isAnchor:_0xa49e6a,cellHeight:_0x2bd53c,cellWidth:_0xd2042a}of _0x2fb471[_0x3ad0('0xa1')](_0x1b3811,{'includeAllSlots':!0x0,..._0x3d109f}))if(!_0xa49e6a||0x1!=_0x2bd53c||0x1!=_0xd2042a)return!0x1;return!0x0;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1b30=['getContainedElement','Users','markBlockFormat','accept','afterInit','registerDescriptionCallback','handleResizeTableWidthCommand','resizeTableWidth','columnWidths','handleSuggestionDescription','enableCommand','discard','TrackChangesEditing','selection','formatBlock','registerCustomCallback','getSuggestionCallback','TableColumnResizeEditing','document','data','_suggestionFactory','commandParams','format','model','editor','getSuggestions','tableWidth','formatInline','getColumnGroupElement','type','has','author','resizeTable','locale','plugins','get','subType','formatGroupId','getAttribute','table','_descriptionFactory'];(function(_0xab7bf6,_0x1b3075){const _0x5f5bf0=function(_0x1a0e6c){while(--_0x1a0e6c){_0xab7bf6['push'](_0xab7bf6['shift']());}};_0x5f5bf0(++_0x1b3075);}(_0x1b30,0x91));const _0x5f5b=function(_0xab7bf6,_0x1b3075){_0xab7bf6=_0xab7bf6-0x0;let _0x5f5bf0=_0x1b30[_0xab7bf6];return _0x5f5bf0;};import{Plugin as _0x3006f1}from'ckeditor5/src/core.js';import{getTranslation as _0x4c474e}from'../utils/common-translations.js';export default class It extends _0x3006f1{[_0x5f5b('0x17')](){if(!this[_0x5f5b('0x2')][_0x5f5b('0xc')][_0x5f5b('0x8')](_0x5f5b('0x24')))return;const _0x51333e=this['editor'][_0x5f5b('0xc')][_0x5f5b('0xd')](_0x5f5b('0x1f'));_0x51333e[_0x5f5b('0x1d')](_0x5f5b('0x1a'),this[_0x5f5b('0x19')]['bind'](this)),_0x51333e[_0x5f5b('0x27')]['registerCustomCallback'](_0x5f5b('0x21'),'resizeTable',_0x5f5b('0x16'),_0x51333e[_0x5f5b('0x27')]['getSuggestionCallback'](_0x5f5b('0x21'),null,_0x5f5b('0x1e'))),_0x51333e[_0x5f5b('0x27')][_0x5f5b('0x22')]('formatBlock',_0x5f5b('0xa'),_0x5f5b('0x1e'),_0x51333e['_suggestionFactory'][_0x5f5b('0x23')](_0x5f5b('0x21'),null,'accept')),_0x51333e[_0x5f5b('0x12')][_0x5f5b('0x18')](this[_0x5f5b('0x1c')]['bind'](this));}['handleResizeTableWidthCommand'](_0x2abfc6,_0x40be45){const _0x2bd4ac=this['editor']['plugins'][_0x5f5b('0xd')](_0x5f5b('0x1f')),_0x8ab46c=this['editor']['plugins'][_0x5f5b('0xd')]('TableColumnResizeEditing'),_0x174ea8=_0x40be45[_0x5f5b('0x11')]||this['editor'][_0x5f5b('0x1')][_0x5f5b('0x25')][_0x5f5b('0x20')]['getSelectedElement']();this[_0x5f5b('0x2')][_0x5f5b('0x1')]['change'](()=>{const _0x228af2=_0x8ab46c[_0x5f5b('0x6')](_0x174ea8);let _0x3edc5e=_0x228af2?_0x8ab46c['getTableColumnsWidths'](_0x228af2):null,_0x3b3ebc=_0x174ea8[_0x5f5b('0x10')](_0x5f5b('0x4'))||null;const _0x5524c6=_0x40be45['tableWidth']||_0x3b3ebc,_0x909e6=_0x40be45[_0x5f5b('0x1b')]||_0x3edc5e,_0x1d4a9b=this[_0x5f5b('0x2')][_0x5f5b('0xc')][_0x5f5b('0xd')](_0x5f5b('0x14'))['me'];for(const _0x2c3100 of _0x2bd4ac[_0x5f5b('0x3')]()){const _0x431560=_0x2c3100[_0x5f5b('0x13')]();if(_0x5f5b('0xa')===_0x2c3100[_0x5f5b('0xe')]&&_0x431560===_0x174ea8){_0x2c3100[_0x5f5b('0x9')]!==_0x1d4a9b&&_0x2c3100[_0x5f5b('0x1e')]();const _0x16c309=_0x2c3100[_0x5f5b('0x26')][_0x5f5b('0x28')];_0x3b3ebc=_0x16c309[0x0][_0x5f5b('0x4')],_0x3edc5e=_0x16c309[0x0][_0x5f5b('0x1b')];break;}}_0x2abfc6({'table':_0x174ea8,'tableWidth':_0x5524c6,'columnWidths':_0x909e6}),_0x2bd4ac[_0x5f5b('0x15')](_0x174ea8,{'commandName':_0x5f5b('0x1a'),'commandParams':[{'tableWidth':_0x3b3ebc,'columnWidths':_0x3edc5e}],'formatGroupId':_0x5f5b('0xa')},[],'resizeTable');});}[_0x5f5b('0x1c')](_0x48c387){if('formatBlock'!=_0x48c387['type']&&_0x5f5b('0x5')!=_0x48c387[_0x5f5b('0x7')])return;const {data:_0x1de2f8}=_0x48c387;if(_0x1de2f8&&_0x5f5b('0xa')===_0x1de2f8[_0x5f5b('0xf')]){const _0x5cc2f4='*Format:*\x20resize\x20table';return{'type':_0x5f5b('0x0'),'content':_0x4c474e(this[_0x5f5b('0x2')][_0x5f5b('0xb')],_0x5cc2f4)};}}}
23
+ const _0x5762=['afterInit','columnWidths','getContainedElement','registerDescriptionCallback','plugins','table','getColumnGroupElement','Users','locale','*Format:*\x20resize\x20table','TableColumnResizeEditing','get','tableWidth','formatInline','formatBlock','formatGroupId','editor','getAttribute','_suggestionFactory','model','document','selection','bind','getSelectedElement','getSuggestions','handleSuggestionDescription','discard','accept','author','markBlockFormat','handleResizeTableWidthCommand','commandParams','resizeTable','getSuggestionCallback','type','change','registerCustomCallback','resizeTableWidth'];(function(_0x33fa5d,_0x57627c){const _0x595f07=function(_0x491f36){while(--_0x491f36){_0x33fa5d['push'](_0x33fa5d['shift']());}};_0x595f07(++_0x57627c);}(_0x5762,0x13e));const _0x595f=function(_0x33fa5d,_0x57627c){_0x33fa5d=_0x33fa5d-0x0;let _0x595f07=_0x5762[_0x33fa5d];return _0x595f07;};import{Plugin as _0x118dc9}from'ckeditor5/src/core.js';import{getTranslation as _0x2725ef}from'../utils/common-translations.js';export default class It extends _0x118dc9{[_0x595f('0x18')](){if(!this[_0x595f('0x2')][_0x595f('0x1c')]['has'](_0x595f('0x22')))return;const _0x30e0dd=this[_0x595f('0x2')][_0x595f('0x1c')][_0x595f('0x23')]('TrackChangesEditing');_0x30e0dd['enableCommand'](_0x595f('0x17'),this[_0x595f('0x10')][_0x595f('0x8')](this)),_0x30e0dd[_0x595f('0x4')][_0x595f('0x16')](_0x595f('0x0'),_0x595f('0x12'),'accept',_0x30e0dd[_0x595f('0x4')][_0x595f('0x13')]('formatBlock',null,_0x595f('0xc'))),_0x30e0dd['_suggestionFactory'][_0x595f('0x16')](_0x595f('0x0'),_0x595f('0x12'),_0x595f('0xc'),_0x30e0dd['_suggestionFactory'][_0x595f('0x13')]('formatBlock',null,_0x595f('0xd'))),_0x30e0dd['_descriptionFactory'][_0x595f('0x1b')](this['handleSuggestionDescription'][_0x595f('0x8')](this));}[_0x595f('0x10')](_0x182cd4,_0x411536){const _0x37b1f9=this['editor'][_0x595f('0x1c')]['get']('TrackChangesEditing'),_0x5c01cf=this[_0x595f('0x2')][_0x595f('0x1c')][_0x595f('0x23')]('TableColumnResizeEditing'),_0x52dd64=_0x411536[_0x595f('0x1d')]||this[_0x595f('0x2')][_0x595f('0x5')][_0x595f('0x6')][_0x595f('0x7')][_0x595f('0x9')]();this['editor'][_0x595f('0x5')][_0x595f('0x15')](()=>{const _0x1767c6=_0x5c01cf[_0x595f('0x1e')](_0x52dd64);let _0x1f0f46=_0x1767c6?_0x5c01cf['getTableColumnsWidths'](_0x1767c6):null,_0x26119a=_0x52dd64[_0x595f('0x3')](_0x595f('0x24'))||null;const _0x21dba2=_0x411536[_0x595f('0x24')]||_0x26119a,_0x27d1f8=_0x411536[_0x595f('0x19')]||_0x1f0f46,_0x386185=this[_0x595f('0x2')][_0x595f('0x1c')][_0x595f('0x23')](_0x595f('0x1f'))['me'];for(const _0x7a8937 of _0x37b1f9[_0x595f('0xa')]()){const _0xbdee2=_0x7a8937[_0x595f('0x1a')]();if('resizeTable'===_0x7a8937['subType']&&_0xbdee2===_0x52dd64){_0x7a8937[_0x595f('0xe')]!==_0x386185&&_0x7a8937[_0x595f('0xc')]();const _0x38f985=_0x7a8937['data'][_0x595f('0x11')];_0x26119a=_0x38f985[0x0]['tableWidth'],_0x1f0f46=_0x38f985[0x0][_0x595f('0x19')];break;}}_0x182cd4({'table':_0x52dd64,'tableWidth':_0x21dba2,'columnWidths':_0x27d1f8}),_0x37b1f9[_0x595f('0xf')](_0x52dd64,{'commandName':_0x595f('0x17'),'commandParams':[{'tableWidth':_0x26119a,'columnWidths':_0x1f0f46}],'formatGroupId':_0x595f('0x12')},[],_0x595f('0x12'));});}[_0x595f('0xb')](_0x508aee){if(_0x595f('0x0')!=_0x508aee['type']&&_0x595f('0x25')!=_0x508aee[_0x595f('0x14')])return;const {data:_0x30d33f}=_0x508aee;if(_0x30d33f&&'resizeTable'===_0x30d33f[_0x595f('0x1')]){const _0x12c934=_0x595f('0x21');return{'type':'format','content':_0x2725ef(this[_0x595f('0x2')][_0x595f('0x20')],_0x12c934)};}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4f15=['getCellLocation','formatBlock','ck-suggestion-marker--active','setTableColumnHeader','setTableRowHeader','nodeAfter','removeClass','stop','accept','options','data-suggestion','nodeBefore','showSuggestionHighlights','forceValue','writer','TableEditing','registerAttributeLabel','plugins','_acceptFormatSuggestionCallbackFactory','name','FORMAT_REGULAR_COLUMN','type','removeAttribute','editor','includes','end','createTableWalker','TableUtils','editing','_suggestionFactory','get','registerCustomCallback','getSuggestion','markerNameToElements','consumable','afterInit','highest','markerRange','FORMAT_HEADER_ROW','addClass','_splitMarkerName','consume','ck-suggestion-marker-','commandName','headingColumns','markerName','start','_enableDefaultAttributesIntegration','parent','bindElementToMarker','cell','mapper','_descriptionFactory','FORMAT_HEADER_COLUMN','item','headingRows','TrackChangesEditing','_handleLegacySuggestions','addMarker:suggestion','activeMarkers','registerDescriptionCallback','_registerLegacyDescription','has'];(function(_0x15f97d,_0x4f155c){const _0x5853e4=function(_0x3cff0c){while(--_0x3cff0c){_0x15f97d['push'](_0x15f97d['shift']());}};_0x5853e4(++_0x4f155c);}(_0x4f15,0xc0));const _0x5853=function(_0x15f97d,_0x4f155c){_0x15f97d=_0x15f97d-0x0;let _0x5853e4=_0x4f15[_0x15f97d];return _0x5853e4;};import{Plugin as _0x3dcd07}from'ckeditor5/src/core.js';import _0x3caf57 from'./table.js';import{getTranslation as _0x392f63}from'../utils/common-translations.js';export default class St extends _0x3dcd07{static get['requires'](){return[_0x3caf57];}[_0x5853('0x20')](){const _0x482eee=this[_0x5853('0x14')];if(!_0x482eee[_0x5853('0xe')][_0x5853('0x3b')](_0x5853('0xc')))return;const _0x2808da=_0x482eee['locale'],_0x151ab9=_0x482eee['plugins']['get']('TrackChangesEditing');_0x151ab9[_0x5853('0x2c')](_0x5853('0x1'),[],[_0x5853('0x34')]),_0x151ab9[_0x5853('0x2c')](_0x5853('0x0'),[],[_0x5853('0x29')]),_0x151ab9[_0x5853('0x31')]['registerAttributeLabel'](_0x5853('0x34'),_0x392f63(_0x2808da,_0x5853('0x23'))),_0x151ab9[_0x5853('0x31')][_0x5853('0xd')](_0x5853('0x29'),_0x392f63(_0x2808da,'FORMAT_HEADER_COLUMN')),this[_0x5853('0x36')]();}[_0x5853('0x36')](){const _0x4f5b6d=this[_0x5853('0x14')][_0x5853('0xe')]['get'](_0x5853('0x35')),_0x59f04c=this['editor']['plugins'][_0x5853('0x1b')](_0x5853('0x18')),_0x53eae4=this[_0x5853('0x14')][_0x5853('0xe')][_0x5853('0x1b')](_0x3caf57)[_0x5853('0xf')]();function _0x547e8a({showActiveMarker:_0x27dc39=!0x0,setDataAttribute:_0x7b6e0d=!0x0}={}){return(_0x13788c,_0x22dc47,_0x3b3ae3)=>{const {type:_0x2dbba8,id:_0x40d431}=_0x4f5b6d[_0x5853('0x25')](_0x22dc47[_0x5853('0x2a')]),_0x60e1ff=_0x4f5b6d[_0x5853('0x1d')](_0x40d431),_0x2e614c=_0x60e1ff['data'];if(_0x5853('0x3d')!=_0x60e1ff[_0x5853('0x12')]||!_0x2e614c||_0x5853('0x0')!=_0x2e614c['commandName'])return;if(_0x22dc47[_0x5853('0x33')])return void _0x13788c[_0x5853('0x4')]();if(!_0x3b3ae3[_0x5853('0x1f')][_0x5853('0x26')](_0x22dc47[_0x5853('0x22')],_0x13788c[_0x5853('0x10')]))return;const _0xa60f1a=_0x22dc47[_0x5853('0x22')][_0x5853('0x2b')][_0x5853('0x2')],_0x26e80e=_0x22dc47[_0x5853('0x22')][_0x5853('0x16')][_0x5853('0x8')],_0x3683ca=_0xa60f1a[_0x5853('0x2d')][_0x5853('0x2d')],{column:_0x23b5d2}=_0x59f04c[_0x5853('0x3c')](_0xa60f1a),{column:_0x1dcdb5}=_0x59f04c[_0x5853('0x3c')](_0x26e80e);for(let _0xc4532b=_0x23b5d2;_0xc4532b<=_0x1dcdb5;_0xc4532b++){const _0x15b517=_0x59f04c[_0x5853('0x17')](_0x3683ca,{'column':_0xc4532b,'includeAllSlots':!0x1});for(const _0x5da65d of _0x15b517){const _0x537e5b=_0x5da65d[_0x5853('0x2f')],_0x324c29=_0x3b3ae3[_0x5853('0x30')]['toViewElement'](_0x537e5b);_0x3b3ae3[_0x5853('0xb')][_0x5853('0x24')](_0x5853('0x27')+_0x2dbba8,_0x324c29),_0x7b6e0d&&_0x3b3ae3[_0x5853('0xb')]['setAttribute'](_0x5853('0x7'),_0x40d431,_0x324c29),_0x3b3ae3[_0x5853('0x30')][_0x5853('0x2e')](_0x324c29,_0x22dc47[_0x5853('0x2a')]),_0x27dc39&&(_0x4f5b6d[_0x5853('0x38')][_0x5853('0x15')](_0x22dc47[_0x5853('0x2a')])?_0x3b3ae3[_0x5853('0xb')][_0x5853('0x24')]('ck-suggestion-marker--active',_0x324c29):_0x3b3ae3[_0x5853('0xb')][_0x5853('0x3')](_0x5853('0x3e'),_0x324c29));}}};}_0x4f5b6d['_suggestionFactory'][_0x5853('0x1c')](_0x5853('0x3d'),'setTableRowHeader',_0x5853('0x5'),_0x53eae4),_0x4f5b6d[_0x5853('0x1a')][_0x5853('0x1c')](_0x5853('0x3d'),_0x5853('0x0'),_0x5853('0x5'),_0x53eae4),this['editor'][_0x5853('0x19')]['downcastDispatcher']['on'](_0x5853('0x37'),_0x547e8a(),{'priority':'highest'}),this[_0x5853('0x14')]['data']['downcastDispatcher']['on'](_0x5853('0x37'),(_0x274d3f,_0x3dcbc6,_0x3252d2)=>{_0x3252d2[_0x5853('0x6')][_0x5853('0x9')]&&_0x547e8a({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x274d3f,_0x3dcbc6,_0x3252d2);},{'priority':_0x5853('0x21')}),this[_0x5853('0x14')][_0x5853('0x19')]['downcastDispatcher']['on']('removeMarker:suggestion',(_0x130813,_0x455d9e,_0x40fc23)=>{const {type:_0x101507,id:_0x186660}=_0x4f5b6d[_0x5853('0x25')](_0x455d9e[_0x5853('0x2a')]),_0x28342a=_0x4f5b6d[_0x5853('0x1d')](_0x186660),_0x3f1312=_0x28342a['data'];if('formatBlock'!=_0x28342a[_0x5853('0x12')]||!_0x3f1312||_0x5853('0x0')!=_0x3f1312['commandName'])return;const _0x1f5fdf=_0x40fc23[_0x5853('0x30')][_0x5853('0x1e')](_0x455d9e[_0x5853('0x2a')]);if(_0x1f5fdf)for(const _0x378891 of _0x1f5fdf)_0x40fc23['writer'][_0x5853('0x3')]('ck-suggestion-marker-'+_0x101507,_0x378891),_0x40fc23[_0x5853('0xb')]['removeClass'](_0x5853('0x3e'),_0x378891),_0x40fc23[_0x5853('0xb')][_0x5853('0x13')](_0x5853('0x7'),_0x378891),_0x40fc23[_0x5853('0x30')]['unbindElementFromMarkerName'](_0x378891,_0x455d9e[_0x5853('0x2a')]);},{'priority':_0x5853('0x21')}),this[_0x5853('0x3a')]();}[_0x5853('0x3a')](){const _0x475916=this[_0x5853('0x14')],_0x240cae=_0x475916['locale'];function _0x1a417e(_0x3741ef){return{'type':'format','content':_0x392f63(_0x240cae,'*Format:*\x20%0',_0x3741ef)};}_0x475916[_0x5853('0xe')][_0x5853('0x1b')](_0x5853('0x35'))[_0x5853('0x31')][_0x5853('0x39')](_0x5d0683=>{if(_0x5853('0x3d')!=_0x5d0683[_0x5853('0x12')])return;const {data:_0x314d4f}=_0x5d0683;if(_0x314d4f){if(_0x5853('0x1')==_0x314d4f['commandName']){const _0xfa07bb=_0x314d4f['commandParams'][0x0][_0x5853('0xa')];return _0x1a417e(_0x392f63(_0x240cae,_0xfa07bb?_0x5853('0x23'):'FORMAT_REGULAR_ROW'));}if(_0x5853('0x0')==_0x314d4f[_0x5853('0x28')]){const _0x496cd7=_0x314d4f['commandParams'][0x0][_0x5853('0xa')];return _0x1a417e(_0x392f63(_0x240cae,_0x496cd7?_0x5853('0x32'):_0x5853('0x11')));}}});}}
23
+ const _0x4ff0=['FORMAT_HEADER_COLUMN','_splitMarkerName','addClass','commandName','registerAttributeLabel','has','*Format:*\x20%0','FORMAT_HEADER_ROW','FORMAT_REGULAR_ROW','name','type','plugins','TableUtils','activeMarkers','TableEditing','accept','_descriptionFactory','locale','data','nodeAfter','downcastDispatcher','consume','highest','TrackChangesEditing','get','headingColumns','removeAttribute','removeClass','addMarker:suggestion','setTableColumnHeader','getSuggestion','commandParams','headingRows','item','registerCustomCallback','_suggestionFactory','data-suggestion','consumable','toViewElement','FORMAT_REGULAR_COLUMN','bindElementToMarker','editor','removeMarker:suggestion','start','_acceptFormatSuggestionCallbackFactory','mapper','_enableDefaultAttributesIntegration','ck-suggestion-marker--active','forceValue','_handleLegacySuggestions','stop','setTableRowHeader','showSuggestionHighlights','markerRange','format','formatBlock','markerName','getCellLocation','editing','options','_registerLegacyDescription','writer'];(function(_0x4c8289,_0x4ff04e){const _0x1b5fc9=function(_0x16633a){while(--_0x16633a){_0x4c8289['push'](_0x4c8289['shift']());}};_0x1b5fc9(++_0x4ff04e);}(_0x4ff0,0x1a5));const _0x1b5f=function(_0x4c8289,_0x4ff04e){_0x4c8289=_0x4c8289-0x0;let _0x1b5fc9=_0x4ff0[_0x4c8289];return _0x1b5fc9;};import{Plugin as _0x4f8c3e}from'ckeditor5/src/core.js';import _0x367594 from'./table.js';import{getTranslation as _0x1820bd}from'../utils/common-translations.js';export default class St extends _0x4f8c3e{static get['requires'](){return[_0x367594];}['afterInit'](){const _0x398c67=this['editor'];if(!_0x398c67[_0x1b5f('0x18')][_0x1b5f('0x12')](_0x1b5f('0x1b')))return;const _0x4176df=_0x398c67[_0x1b5f('0x1e')],_0x1057aa=_0x398c67[_0x1b5f('0x18')][_0x1b5f('0x25')](_0x1b5f('0x24'));_0x1057aa[_0x1b5f('0x3b')](_0x1b5f('0x2'),[],[_0x1b5f('0x2d')]),_0x1057aa[_0x1b5f('0x3b')](_0x1b5f('0x2a'),[],[_0x1b5f('0x26')]),_0x1057aa[_0x1b5f('0x1d')][_0x1b5f('0x11')](_0x1b5f('0x2d'),_0x1820bd(_0x4176df,_0x1b5f('0x14'))),_0x1057aa[_0x1b5f('0x1d')]['registerAttributeLabel']('headingColumns',_0x1820bd(_0x4176df,_0x1b5f('0xd'))),this[_0x1b5f('0x0')]();}[_0x1b5f('0x0')](){const _0x4cf9b6=this[_0x1b5f('0x36')][_0x1b5f('0x18')]['get']('TrackChangesEditing'),_0x3830dd=this['editor'][_0x1b5f('0x18')][_0x1b5f('0x25')](_0x1b5f('0x19')),_0x39d51c=this[_0x1b5f('0x36')]['plugins'][_0x1b5f('0x25')](_0x367594)[_0x1b5f('0x39')]();function _0x4a6b9f({showActiveMarker:_0x4c0e9f=!0x0,setDataAttribute:_0x3d2dbf=!0x0}={}){return(_0x3ed7ae,_0x5b9814,_0x2d60c1)=>{const {type:_0x4bdd53,id:_0x864f99}=_0x4cf9b6[_0x1b5f('0xe')](_0x5b9814[_0x1b5f('0x7')]),_0x1d5d02=_0x4cf9b6['getSuggestion'](_0x864f99),_0x32b9bf=_0x1d5d02['data'];if(_0x1b5f('0x6')!=_0x1d5d02[_0x1b5f('0x17')]||!_0x32b9bf||'setTableColumnHeader'!=_0x32b9bf[_0x1b5f('0x10')])return;if(_0x5b9814[_0x1b5f('0x2e')])return void _0x3ed7ae[_0x1b5f('0x1')]();if(!_0x2d60c1[_0x1b5f('0x32')][_0x1b5f('0x22')](_0x5b9814[_0x1b5f('0x4')],_0x3ed7ae[_0x1b5f('0x16')]))return;const _0x2ea354=_0x5b9814[_0x1b5f('0x4')][_0x1b5f('0x38')][_0x1b5f('0x20')],_0x15076c=_0x5b9814[_0x1b5f('0x4')]['end']['nodeBefore'],_0x15ce29=_0x2ea354['parent']['parent'],{column:_0x5dad6a}=_0x3830dd[_0x1b5f('0x8')](_0x2ea354),{column:_0x40f41f}=_0x3830dd[_0x1b5f('0x8')](_0x15076c);for(let _0x51d0eb=_0x5dad6a;_0x51d0eb<=_0x40f41f;_0x51d0eb++){const _0x292e51=_0x3830dd['createTableWalker'](_0x15ce29,{'column':_0x51d0eb,'includeAllSlots':!0x1});for(const _0x2b29ed of _0x292e51){const _0x576815=_0x2b29ed['cell'],_0x163b26=_0x2d60c1[_0x1b5f('0x3a')][_0x1b5f('0x33')](_0x576815);_0x2d60c1['writer'][_0x1b5f('0xf')]('ck-suggestion-marker-'+_0x4bdd53,_0x163b26),_0x3d2dbf&&_0x2d60c1[_0x1b5f('0xc')]['setAttribute']('data-suggestion',_0x864f99,_0x163b26),_0x2d60c1[_0x1b5f('0x3a')][_0x1b5f('0x35')](_0x163b26,_0x5b9814[_0x1b5f('0x7')]),_0x4c0e9f&&(_0x4cf9b6[_0x1b5f('0x1a')]['includes'](_0x5b9814[_0x1b5f('0x7')])?_0x2d60c1[_0x1b5f('0xc')][_0x1b5f('0xf')]('ck-suggestion-marker--active',_0x163b26):_0x2d60c1[_0x1b5f('0xc')][_0x1b5f('0x28')](_0x1b5f('0x3c'),_0x163b26));}}};}_0x4cf9b6[_0x1b5f('0x30')][_0x1b5f('0x2f')](_0x1b5f('0x6'),_0x1b5f('0x2'),_0x1b5f('0x1c'),_0x39d51c),_0x4cf9b6['_suggestionFactory'][_0x1b5f('0x2f')](_0x1b5f('0x6'),_0x1b5f('0x2a'),_0x1b5f('0x1c'),_0x39d51c),this[_0x1b5f('0x36')][_0x1b5f('0x9')][_0x1b5f('0x21')]['on'](_0x1b5f('0x29'),_0x4a6b9f(),{'priority':_0x1b5f('0x23')}),this[_0x1b5f('0x36')][_0x1b5f('0x1f')][_0x1b5f('0x21')]['on'](_0x1b5f('0x29'),(_0x49fa13,_0x331622,_0x4c680f)=>{_0x4c680f[_0x1b5f('0xa')][_0x1b5f('0x3')]&&_0x4a6b9f({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x49fa13,_0x331622,_0x4c680f);},{'priority':'highest'}),this[_0x1b5f('0x36')][_0x1b5f('0x9')][_0x1b5f('0x21')]['on'](_0x1b5f('0x37'),(_0x41d746,_0x120d16,_0x2f180b)=>{const {type:_0x4adaa4,id:_0x21ac13}=_0x4cf9b6[_0x1b5f('0xe')](_0x120d16[_0x1b5f('0x7')]),_0x49b4ee=_0x4cf9b6[_0x1b5f('0x2b')](_0x21ac13),_0x2abbcb=_0x49b4ee['data'];if(_0x1b5f('0x6')!=_0x49b4ee[_0x1b5f('0x17')]||!_0x2abbcb||_0x1b5f('0x2a')!=_0x2abbcb[_0x1b5f('0x10')])return;const _0x59c3bd=_0x2f180b[_0x1b5f('0x3a')]['markerNameToElements'](_0x120d16[_0x1b5f('0x7')]);if(_0x59c3bd)for(const _0x2d6f95 of _0x59c3bd)_0x2f180b[_0x1b5f('0xc')][_0x1b5f('0x28')]('ck-suggestion-marker-'+_0x4adaa4,_0x2d6f95),_0x2f180b[_0x1b5f('0xc')][_0x1b5f('0x28')]('ck-suggestion-marker--active',_0x2d6f95),_0x2f180b['writer'][_0x1b5f('0x27')](_0x1b5f('0x31'),_0x2d6f95),_0x2f180b[_0x1b5f('0x3a')]['unbindElementFromMarkerName'](_0x2d6f95,_0x120d16['markerName']);},{'priority':_0x1b5f('0x23')}),this[_0x1b5f('0xb')]();}[_0x1b5f('0xb')](){const _0x58b23b=this['editor'],_0xab5f61=_0x58b23b[_0x1b5f('0x1e')];function _0xfe6e93(_0x48ef7e){return{'type':_0x1b5f('0x5'),'content':_0x1820bd(_0xab5f61,_0x1b5f('0x13'),_0x48ef7e)};}_0x58b23b[_0x1b5f('0x18')]['get']('TrackChangesEditing')[_0x1b5f('0x1d')]['registerDescriptionCallback'](_0xd2b503=>{if('formatBlock'!=_0xd2b503[_0x1b5f('0x17')])return;const {data:_0x356720}=_0xd2b503;if(_0x356720){if(_0x1b5f('0x2')==_0x356720[_0x1b5f('0x10')]){const _0x5c47e3=_0x356720['commandParams'][0x0][_0x1b5f('0x3d')];return _0xfe6e93(_0x1820bd(_0xab5f61,_0x5c47e3?_0x1b5f('0x14'):_0x1b5f('0x15')));}if(_0x1b5f('0x2a')==_0x356720['commandName']){const _0x7346b9=_0x356720[_0x1b5f('0x2c')][0x0][_0x1b5f('0x3d')];return _0xfe6e93(_0x1820bd(_0xab5f61,_0x7346b9?_0x1b5f('0xd'):_0x1b5f('0x34')));}}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4393=['size','getRanges','mergeTableCells','cell','_areMergableCells','_tablePostFixingSubtypes','push','getSelectionAffectedTableCells','find','type','*Split\x20cell:*\x20vertically','TrackChangesEditing','from','locale','commands','formatBlock','set:isEnabled','change','direction','isEnabled','table','enableCommand','$graveyard','low','selection','TableEditing','fromRange','model','getSuggestions','plugins','accept','afterInit','mergeTableCellRight','format','editor','_suggestionFactory','mergeTableCellLeft','rootName','createRangeOn','mergeTableCellDown','tableCell','_acceptFormatSuggestionCallbackFactory','return','execute','mergeTableCellUp','horizontally','_isForcedDefaultExecutionBlock','detach','setSelection','filter','subType','registerDescriptionCallback','deletion','markBlockFormat','author','markMultiRangeBlockFormat','_areSelectedCellsMergable','getFirstPosition','value','findAncestor','splitTableCellVertically','isInContent','length','formatInline','createTableWalker','element','stop','commandName','registerCustomCallback','get','TableUtils','getAncestors','map','*Split\x20cell:*\x20horizontally','root','forceDefaultExecution','splitTableCellHorizontally','*Merge\x20cells*','document'];(function(_0x5dcd29,_0x43937d){const _0x533d4c=function(_0x168d61){while(--_0x168d61){_0x5dcd29['push'](_0x5dcd29['shift']());}};_0x533d4c(++_0x43937d);}(_0x4393,0x1ee));const _0x533d=function(_0x5dcd29,_0x43937d){_0x5dcd29=_0x5dcd29-0x0;let _0x533d4c=_0x4393[_0x5dcd29];return _0x533d4c;};import{Plugin as _0x33d1aa}from'ckeditor5/src/core.js';import _0x155400 from'./table.js';import{LiveRange as _0x15e0c8}from'ckeditor5/src/engine.js';import{getTranslation as _0x5d061f}from'../utils/common-translations.js';export default class jt extends _0x33d1aa{static get['requires'](){return[_0x155400];}[_0x533d('0xb')](){const _0x32a418=this[_0x533d('0xe')],_0x2d6a9a=_0x32a418[_0x533d('0x7')]['document'][_0x533d('0x4')],_0x40fd00=_0x32a418[_0x533d('0x48')];if(!_0x32a418[_0x533d('0x9')]['has'](_0x533d('0x5')))return;const _0x8d9c03=_0x32a418[_0x533d('0x9')][_0x533d('0x31')]('TrackChangesEditing'),_0x130b0b=_0x32a418[_0x533d('0x9')]['get'](_0x533d('0x32')),_0x30b883=_0x32a418[_0x533d('0x9')]['get'](_0x155400);_0x30b883[_0x533d('0x40')][_0x533d('0x41')](_0x533d('0x3d')),_0x8d9c03['enableCommand'](_0x533d('0x3d'),()=>{const _0x216e3c=_0x130b0b[_0x533d('0x42')](_0x32a418[_0x533d('0x7')][_0x533d('0x3a')]['selection']);_0x32a418[_0x533d('0x7')]['change'](()=>{_0x8d9c03['markMultiRangeBlockFormat'](_0x216e3c,{'commandName':_0x533d('0x3d'),'commandParams':[]},[],_0x533d('0x3d'));});}),_0x32a418[_0x533d('0x49')][_0x533d('0x31')](_0x533d('0x3d'))['on'](_0x533d('0x17'),(_0x1bcfb1,_0x453085)=>{_0x32a418[_0x533d('0x49')]['get']('trackChanges')[_0x533d('0x26')]&&(_0x453085['length']>0x0&&_0x453085[_0x453085[_0x533d('0x2a')]-0x1]&&_0x453085[_0x453085['length']-0x1][_0x533d('0x37')]||_0x8d9c03[_0x533d('0x1a')]||this['_areSelectedCellsMergable']()||_0x1bcfb1['stop']());},{'priority':'highest'});for(const _0x275093 of[_0x533d('0x18'),_0x533d('0xc'),_0x533d('0x13'),_0x533d('0x10')]){const _0x3b8a3f=_0x32a418[_0x533d('0x49')][_0x533d('0x31')](_0x275093);_0x8d9c03[_0x533d('0x1')](_0x275093,()=>{const _0x56e38c=_0x32a418['model']['document'][_0x533d('0x4')][_0x533d('0x25')]()[_0x533d('0x33')]()[_0x533d('0x43')](_0x2714cd=>_0x2714cd['is'](_0x533d('0x2d'),'tableCell')),_0xea6dca=_0x3b8a3f[_0x533d('0x26')];_0x32a418['model'][_0x533d('0x4c')](()=>{_0x8d9c03[_0x533d('0x23')]([_0x56e38c,_0xea6dca],{'commandName':_0x533d('0x3d'),'commandParams':[]},[],'mergeTableCells');});});}for(const _0x4a765c of['splitTableCellVertically','splitTableCellHorizontally']){const _0x211261=_0x32a418[_0x533d('0x49')][_0x533d('0x31')](_0x4a765c);_0x8d9c03[_0x533d('0x1')](_0x4a765c,()=>{const _0x5d34a7=_0x130b0b[_0x533d('0x42')](_0x32a418[_0x533d('0x7')][_0x533d('0x3a')][_0x533d('0x4')])[0x0],_0x5e026d=_0x5d34a7[_0x533d('0x27')](_0x533d('0x0')),{column:_0x540dfa,row:_0x4cf842}=_0x130b0b['getCellLocation'](_0x5d34a7);let _0x481b2e=[];if(_0x533d('0x19')==_0x211261[_0x533d('0x4d')]){const _0x3d89f4=_0x130b0b[_0x533d('0x2c')](_0x5e026d,{'startRow':_0x4cf842,'endRow':_0x4cf842,'includeAllSlots':!0x0});_0x481b2e=Array[_0x533d('0x47')](_0x3d89f4)[_0x533d('0x34')](_0x4eb658=>_0x4eb658['cell']);}else{const _0x15d260=_0x130b0b[_0x533d('0x2c')](_0x5e026d,{'column':_0x540dfa,'includeAllSlots':!0x0});_0x481b2e=Array[_0x533d('0x47')](_0x15d260)[_0x533d('0x34')](_0x4bec3b=>_0x4bec3b[_0x533d('0x3e')]);}_0x32a418['model']['change'](_0x3c8560=>{_0x8d9c03[_0x533d('0x21')](_0x3c8560[_0x533d('0x12')](_0x5d34a7),{'commandName':_0x4a765c,'commandParams':[]},_0x481b2e,_0x4a765c);});});}_0x8d9c03['_descriptionFactory'][_0x533d('0x1f')](_0xcbe3be=>{if(_0x533d('0x4a')!=_0xcbe3be['type']&&_0x533d('0x2b')!=_0xcbe3be[_0x533d('0x44')])return;const {data:_0x1dd57a}=_0xcbe3be;return _0x1dd57a&&_0x533d('0x3d')==_0x1dd57a[_0x533d('0x2f')]?{'type':'format','content':_0x5d061f(_0x40fd00,_0x533d('0x39'))}:void 0x0;}),_0x8d9c03['_descriptionFactory'][_0x533d('0x1f')](_0xc0e2b3=>{if(_0x533d('0x4a')!=_0xc0e2b3[_0x533d('0x44')]&&_0x533d('0x2b')!=_0xc0e2b3[_0x533d('0x44')])return;const {data:_0x4ba625}=_0xc0e2b3;return _0x4ba625?_0x533d('0x28')==_0x4ba625['commandName']?{'type':_0x533d('0xd'),'content':_0x5d061f(_0x40fd00,_0x533d('0x45'))}:'splitTableCellHorizontally'==_0x4ba625[_0x533d('0x2f')]?{'type':'format','content':_0x5d061f(_0x40fd00,_0x533d('0x35'))}:void 0x0:void 0x0;});const _0x2ca379=_0x30b883[_0x533d('0x15')]();for(const _0x542797 of['mergeTableCellUp','mergeTableCellRight','mergeTableCellDown',_0x533d('0x10')])_0x8d9c03[_0x533d('0xf')]['registerCustomCallback'](_0x533d('0x4a'),_0x542797,_0x533d('0xa'),_0x2ca379);for(const _0x35d6dc of[_0x533d('0x28'),_0x533d('0x38')])_0x8d9c03[_0x533d('0xf')]['registerCustomCallback'](_0x533d('0x4a'),_0x35d6dc,_0x533d('0xa'),_0x2ca379);_0x8d9c03['_suggestionFactory'][_0x533d('0x30')](_0x533d('0x4a'),_0x533d('0x3d'),'accept',_0x1b3614=>{_0x32a418[_0x533d('0x7')]['change'](_0x278fb2=>{const _0x44b7d4=Array['from'](_0x2d6a9a[_0x533d('0x3c')]())[_0x533d('0x34')](_0x1ece1a=>_0x15e0c8[_0x533d('0x6')](_0x1ece1a));_0x278fb2[_0x533d('0x1c')](_0x1b3614),_0x32a418[_0x533d('0x49')]['get'](_0x533d('0x3d'))['refresh'](),_0x32a418['execute']('mergeTableCells',{'forceDefaultExecution':!0x0});const _0x592eba=_0x44b7d4[_0x533d('0x1d')](_0x302954=>_0x533d('0x2')!=_0x302954[_0x533d('0x36')][_0x533d('0x11')]);_0x592eba['length']>0x0&&_0x278fb2[_0x533d('0x1c')](_0x592eba);for(const _0x31dc62 of _0x44b7d4)_0x31dc62[_0x533d('0x1b')]();});});for(const _0x425c0c of['mergeTableCellUp','mergeTableCellDown',_0x533d('0x10'),_0x533d('0xc')]){const _0x331a85=_0x32a418[_0x533d('0x49')]['get'](_0x425c0c);_0x331a85['on'](_0x533d('0x4b'),(_0x163188,_0x388e2d,_0x613e87)=>{if(_0x613e87){const _0x288694=_0x32a418[_0x533d('0x7')][_0x533d('0x3a')][_0x533d('0x4')][_0x533d('0x25')]()[_0x533d('0x33')]()[_0x533d('0x43')](_0x1e7b27=>_0x1e7b27['is'](_0x533d('0x2d'),_0x533d('0x14')));this['_areMergableCells'](_0x331a85['value'],_0x288694)||(_0x163188[_0x533d('0x16')]=!0x1,_0x163188[_0x533d('0x2e')]());}},{'priority':_0x533d('0x3')});}}[_0x533d('0x24')](){const _0x20a7be=this[_0x533d('0xe')][_0x533d('0x49')][_0x533d('0x31')](_0x533d('0x3d')),_0x2dc815=this['editor']['plugins']['get'](_0x533d('0x32'));if(!_0x20a7be[_0x533d('0x4e')])return!0x1;const _0x4fd559=_0x2dc815['getSelectionAffectedTableCells'](this['editor'][_0x533d('0x7')][_0x533d('0x3a')][_0x533d('0x4')]);for(const _0x95847 of _0x4fd559)for(const _0x331c70 of _0x4fd559)if(_0x95847!=_0x331c70&&!this[_0x533d('0x3f')](_0x95847,_0x331c70))return!0x1;return!0x0;}[_0x533d('0x3f')](_0x16de8c,_0x7fcb2){const _0x6f3607=this[_0x533d('0xe')][_0x533d('0x9')][_0x533d('0x31')](_0x533d('0x46')),_0xad3ca9=this[_0x533d('0xe')]['model']['createRangeOn'](_0x16de8c),_0x375565=this[_0x533d('0xe')][_0x533d('0x7')][_0x533d('0x12')](_0x7fcb2),_0x1f8c49=new Set(),_0x3269c1=new Set();for(const _0xeff407 of _0x6f3607[_0x533d('0x8')]())if(('insertion'==_0xeff407[_0x533d('0x44')]||_0x533d('0x20')==_0xeff407[_0x533d('0x44')]||_0x533d('0x3d')==_0xeff407[_0x533d('0x1e')])&&_0xeff407[_0x533d('0x29')])for(const _0x463d5a of _0xeff407['getRanges']())_0x463d5a['containsRange'](_0xad3ca9,!0x0)&&_0x1f8c49['add'](_0xeff407[_0x533d('0x44')]+':'+_0xeff407['author']['id']),_0x463d5a['containsRange'](_0x375565,!0x0)&&_0x3269c1['add'](_0xeff407[_0x533d('0x44')]+':'+_0xeff407[_0x533d('0x22')]['id']);if(_0x1f8c49[_0x533d('0x3b')]!=_0x3269c1[_0x533d('0x3b')])return!0x1;for(const _0xe8a018 of _0x1f8c49)if(!_0x3269c1['has'](_0xe8a018))return!0x1;return!0x0;}}
23
+ const _0x4ba5=['refresh','accept','length','TrackChangesEditing','commands','afterInit','from','rootName','setSelection','markMultiRangeBlockFormat','_descriptionFactory','mergeTableCellLeft','direction','getSelectionAffectedTableCells','createTableWalker','subType','highest','format','createRangeOn','getFirstPosition','getCellLocation','_suggestionFactory','registerCustomCallback','$graveyard','TableUtils','enableCommand','commandName','root','requires','getSuggestions','value','editor','mergeTableCellRight','TableEditing','change','*Split\x20cell:*\x20vertically','_areMergableCells','registerDescriptionCallback','map','get','mergeTableCellUp','stop','element','mergeTableCells','push','isInContent','filter','model','_areSelectedCellsMergable','formatBlock','tableCell','getAncestors','locale','deletion','*Merge\x20cells*','plugins','isEnabled','getRanges','return','detach','cell','formatInline','document','*Split\x20cell:*\x20horizontally','has','splitTableCellVertically','selection','add','trackChanges','insertion','author','type','low','mergeTableCellDown','fromRange','_acceptFormatSuggestionCallbackFactory','splitTableCellHorizontally','set:isEnabled','size','table'];(function(_0x1155b6,_0x4ba52b){const _0x2bf87e=function(_0x22fc4b){while(--_0x22fc4b){_0x1155b6['push'](_0x1155b6['shift']());}};_0x2bf87e(++_0x4ba52b);}(_0x4ba5,0xac));const _0x2bf8=function(_0x1155b6,_0x4ba52b){_0x1155b6=_0x1155b6-0x0;let _0x2bf87e=_0x4ba5[_0x1155b6];return _0x2bf87e;};import{Plugin as _0x26a0a3}from'ckeditor5/src/core.js';import _0x46876e from'./table.js';import{LiveRange as _0x493df3}from'ckeditor5/src/engine.js';import{getTranslation as _0x3c0cf7}from'../utils/common-translations.js';export default class jt extends _0x26a0a3{static get[_0x2bf8('0x10')](){return[_0x46876e];}[_0x2bf8('0x49')](){const _0x3a3875=this[_0x2bf8('0x13')],_0x14a9bb=_0x3a3875['model'][_0x2bf8('0x32')][_0x2bf8('0x36')],_0x18ef67=_0x3a3875[_0x2bf8('0x28')];if(!_0x3a3875[_0x2bf8('0x2b')]['has'](_0x2bf8('0x15')))return;const _0x5e50bf=_0x3a3875['plugins'][_0x2bf8('0x1b')](_0x2bf8('0x47')),_0xf8bd36=_0x3a3875[_0x2bf8('0x2b')][_0x2bf8('0x1b')](_0x2bf8('0xc')),_0x579f3f=_0x3a3875[_0x2bf8('0x2b')][_0x2bf8('0x1b')](_0x46876e);_0x579f3f['_tablePostFixingSubtypes'][_0x2bf8('0x20')](_0x2bf8('0x1f')),_0x5e50bf[_0x2bf8('0xd')]('mergeTableCells',()=>{const _0x17b9a2=_0xf8bd36['getSelectionAffectedTableCells'](_0x3a3875[_0x2bf8('0x23')][_0x2bf8('0x32')][_0x2bf8('0x36')]);_0x3a3875[_0x2bf8('0x23')][_0x2bf8('0x16')](()=>{_0x5e50bf[_0x2bf8('0x4d')](_0x17b9a2,{'commandName':_0x2bf8('0x1f'),'commandParams':[]},[],_0x2bf8('0x1f'));});}),_0x3a3875[_0x2bf8('0x48')]['get'](_0x2bf8('0x1f'))['on']('execute',(_0xb6fa49,_0x1a0844)=>{_0x3a3875[_0x2bf8('0x48')][_0x2bf8('0x1b')](_0x2bf8('0x38'))[_0x2bf8('0x12')]&&(_0x1a0844[_0x2bf8('0x46')]>0x0&&_0x1a0844[_0x1a0844[_0x2bf8('0x46')]-0x1]&&_0x1a0844[_0x1a0844[_0x2bf8('0x46')]-0x1]['forceDefaultExecution']||_0x5e50bf['_isForcedDefaultExecutionBlock']||this[_0x2bf8('0x24')]()||_0xb6fa49[_0x2bf8('0x1d')]());},{'priority':_0x2bf8('0x4')});for(const _0x57f46d of[_0x2bf8('0x1c'),_0x2bf8('0x14'),'mergeTableCellDown',_0x2bf8('0x4f')]){const _0x2b8167=_0x3a3875[_0x2bf8('0x48')]['get'](_0x57f46d);_0x5e50bf[_0x2bf8('0xd')](_0x57f46d,()=>{const _0x53e6bd=_0x3a3875[_0x2bf8('0x23')][_0x2bf8('0x32')][_0x2bf8('0x36')][_0x2bf8('0x7')]()[_0x2bf8('0x27')]()['find'](_0x3f070a=>_0x3f070a['is']('element',_0x2bf8('0x26'))),_0x3cfab6=_0x2b8167[_0x2bf8('0x12')];_0x3a3875[_0x2bf8('0x23')][_0x2bf8('0x16')](()=>{_0x5e50bf[_0x2bf8('0x4d')]([_0x53e6bd,_0x3cfab6],{'commandName':'mergeTableCells','commandParams':[]},[],'mergeTableCells');});});}for(const _0x78f331 of[_0x2bf8('0x35'),'splitTableCellHorizontally']){const _0x48f6b7=_0x3a3875[_0x2bf8('0x48')][_0x2bf8('0x1b')](_0x78f331);_0x5e50bf[_0x2bf8('0xd')](_0x78f331,()=>{const _0x5a8cb0=_0xf8bd36[_0x2bf8('0x1')](_0x3a3875[_0x2bf8('0x23')][_0x2bf8('0x32')][_0x2bf8('0x36')])[0x0],_0x284886=_0x5a8cb0['findAncestor'](_0x2bf8('0x43')),{column:_0x5a4854,row:_0x5974eb}=_0xf8bd36[_0x2bf8('0x8')](_0x5a8cb0);let _0x1ea02e=[];if('horizontally'==_0x48f6b7[_0x2bf8('0x0')]){const _0x5bc25d=_0xf8bd36[_0x2bf8('0x2')](_0x284886,{'startRow':_0x5974eb,'endRow':_0x5974eb,'includeAllSlots':!0x0});_0x1ea02e=Array[_0x2bf8('0x4a')](_0x5bc25d)['map'](_0x4acae=>_0x4acae[_0x2bf8('0x30')]);}else{const _0x486f06=_0xf8bd36['createTableWalker'](_0x284886,{'column':_0x5a4854,'includeAllSlots':!0x0});_0x1ea02e=Array[_0x2bf8('0x4a')](_0x486f06)[_0x2bf8('0x1a')](_0x4be56a=>_0x4be56a[_0x2bf8('0x30')]);}_0x3a3875[_0x2bf8('0x23')][_0x2bf8('0x16')](_0x14ef7f=>{_0x5e50bf['markBlockFormat'](_0x14ef7f[_0x2bf8('0x6')](_0x5a8cb0),{'commandName':_0x78f331,'commandParams':[]},_0x1ea02e,_0x78f331);});});}_0x5e50bf[_0x2bf8('0x4e')]['registerDescriptionCallback'](_0x18a19a=>{if('formatBlock'!=_0x18a19a[_0x2bf8('0x3b')]&&_0x2bf8('0x31')!=_0x18a19a[_0x2bf8('0x3b')])return;const {data:_0x583e92}=_0x18a19a;return _0x583e92&&_0x2bf8('0x1f')==_0x583e92['commandName']?{'type':_0x2bf8('0x5'),'content':_0x3c0cf7(_0x18ef67,_0x2bf8('0x2a'))}:void 0x0;}),_0x5e50bf[_0x2bf8('0x4e')][_0x2bf8('0x19')](_0x2584d3=>{if(_0x2bf8('0x25')!=_0x2584d3['type']&&'formatInline'!=_0x2584d3[_0x2bf8('0x3b')])return;const {data:_0x4a96da}=_0x2584d3;return _0x4a96da?_0x2bf8('0x35')==_0x4a96da[_0x2bf8('0xe')]?{'type':'format','content':_0x3c0cf7(_0x18ef67,_0x2bf8('0x17'))}:_0x2bf8('0x40')==_0x4a96da[_0x2bf8('0xe')]?{'type':'format','content':_0x3c0cf7(_0x18ef67,_0x2bf8('0x33'))}:void 0x0:void 0x0;});const _0x32d15e=_0x579f3f[_0x2bf8('0x3f')]();for(const _0x5d896d of[_0x2bf8('0x1c'),_0x2bf8('0x14'),_0x2bf8('0x3d'),'mergeTableCellLeft'])_0x5e50bf['_suggestionFactory'][_0x2bf8('0xa')](_0x2bf8('0x25'),_0x5d896d,_0x2bf8('0x45'),_0x32d15e);for(const _0x40445c of[_0x2bf8('0x35'),_0x2bf8('0x40')])_0x5e50bf['_suggestionFactory'][_0x2bf8('0xa')](_0x2bf8('0x25'),_0x40445c,'accept',_0x32d15e);_0x5e50bf[_0x2bf8('0x9')][_0x2bf8('0xa')](_0x2bf8('0x25'),_0x2bf8('0x1f'),_0x2bf8('0x45'),_0x8a5c0d=>{_0x3a3875[_0x2bf8('0x23')][_0x2bf8('0x16')](_0x237797=>{const _0x13db0c=Array['from'](_0x14a9bb[_0x2bf8('0x2d')]())[_0x2bf8('0x1a')](_0x2c164e=>_0x493df3[_0x2bf8('0x3e')](_0x2c164e));_0x237797[_0x2bf8('0x4c')](_0x8a5c0d),_0x3a3875[_0x2bf8('0x48')]['get']('mergeTableCells')[_0x2bf8('0x44')](),_0x3a3875['execute'](_0x2bf8('0x1f'),{'forceDefaultExecution':!0x0});const _0x6488d3=_0x13db0c[_0x2bf8('0x22')](_0x36a3bd=>_0x2bf8('0xb')!=_0x36a3bd[_0x2bf8('0xf')][_0x2bf8('0x4b')]);_0x6488d3[_0x2bf8('0x46')]>0x0&&_0x237797['setSelection'](_0x6488d3);for(const _0x142a8a of _0x13db0c)_0x142a8a[_0x2bf8('0x2f')]();});});for(const _0x2715e0 of[_0x2bf8('0x1c'),'mergeTableCellDown',_0x2bf8('0x4f'),_0x2bf8('0x14')]){const _0x54bece=_0x3a3875[_0x2bf8('0x48')][_0x2bf8('0x1b')](_0x2715e0);_0x54bece['on'](_0x2bf8('0x41'),(_0x595c85,_0x3303e4,_0x68c830)=>{if(_0x68c830){const _0x485046=_0x3a3875[_0x2bf8('0x23')][_0x2bf8('0x32')]['selection']['getFirstPosition']()[_0x2bf8('0x27')]()['find'](_0x187956=>_0x187956['is'](_0x2bf8('0x1e'),_0x2bf8('0x26')));this[_0x2bf8('0x18')](_0x54bece[_0x2bf8('0x12')],_0x485046)||(_0x595c85[_0x2bf8('0x2e')]=!0x1,_0x595c85[_0x2bf8('0x1d')]());}},{'priority':_0x2bf8('0x3c')});}}[_0x2bf8('0x24')](){const _0x1af711=this[_0x2bf8('0x13')][_0x2bf8('0x48')]['get']('mergeTableCells'),_0x1e34f4=this['editor'][_0x2bf8('0x2b')][_0x2bf8('0x1b')]('TableUtils');if(!_0x1af711[_0x2bf8('0x2c')])return!0x1;const _0x5d3898=_0x1e34f4['getSelectionAffectedTableCells'](this[_0x2bf8('0x13')][_0x2bf8('0x23')][_0x2bf8('0x32')][_0x2bf8('0x36')]);for(const _0x39b7f5 of _0x5d3898)for(const _0x37d703 of _0x5d3898)if(_0x39b7f5!=_0x37d703&&!this[_0x2bf8('0x18')](_0x39b7f5,_0x37d703))return!0x1;return!0x0;}[_0x2bf8('0x18')](_0x4eb446,_0x2c4a79){const _0x3f4e83=this[_0x2bf8('0x13')][_0x2bf8('0x2b')][_0x2bf8('0x1b')]('TrackChangesEditing'),_0x401a64=this['editor'][_0x2bf8('0x23')][_0x2bf8('0x6')](_0x4eb446),_0x4d2af5=this[_0x2bf8('0x13')][_0x2bf8('0x23')][_0x2bf8('0x6')](_0x2c4a79),_0x312502=new Set(),_0x30afab=new Set();for(const _0xd24415 of _0x3f4e83[_0x2bf8('0x11')]())if((_0x2bf8('0x39')==_0xd24415['type']||_0x2bf8('0x29')==_0xd24415[_0x2bf8('0x3b')]||'mergeTableCells'==_0xd24415[_0x2bf8('0x3')])&&_0xd24415[_0x2bf8('0x21')])for(const _0x4b2b7f of _0xd24415[_0x2bf8('0x2d')]())_0x4b2b7f['containsRange'](_0x401a64,!0x0)&&_0x312502[_0x2bf8('0x37')](_0xd24415[_0x2bf8('0x3b')]+':'+_0xd24415['author']['id']),_0x4b2b7f['containsRange'](_0x4d2af5,!0x0)&&_0x30afab[_0x2bf8('0x37')](_0xd24415[_0x2bf8('0x3b')]+':'+_0xd24415[_0x2bf8('0x3a')]['id']);if(_0x312502[_0x2bf8('0x42')]!=_0x30afab[_0x2bf8('0x42')])return!0x1;for(const _0x4309e0 of _0x312502)if(!_0x30afab[_0x2bf8('0x34')](_0x4309e0))return!0x1;return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3e97=['ELEMENT_TABLE_OF_CONTENTS','editor','TrackChangesEditing','insertTableOfContents','commands','_descriptionFactory','registerElementLabel','tableOfContents','get','afterInit','plugins','enableCommand'];(function(_0x523ba1,_0x3e9744){const _0x2cf2ea=function(_0x2e6865){while(--_0x2e6865){_0x523ba1['push'](_0x523ba1['shift']());}};_0x2cf2ea(++_0x3e9744);}(_0x3e97,0x1bd));const _0x2cf2=function(_0x523ba1,_0x3e9744){_0x523ba1=_0x523ba1-0x0;let _0x2cf2ea=_0x3e97[_0x523ba1];return _0x2cf2ea;};import{Plugin as _0x2ae0d0}from'ckeditor5/src/core.js';import{getTranslation as _0x5d88c2}from'../utils/common-translations.js';export default class Ct extends _0x2ae0d0{[_0x2cf2('0x8')](){const _0x3a87f9=this[_0x2cf2('0x0')];if(!_0x3a87f9[_0x2cf2('0x3')][_0x2cf2('0x7')](_0x2cf2('0x2')))return;_0x3a87f9[_0x2cf2('0x9')]['get'](_0x2cf2('0x1'))[_0x2cf2('0xa')](_0x2cf2('0x2'));const _0x47eb99=_0x3a87f9[_0x2cf2('0x9')][_0x2cf2('0x7')](_0x2cf2('0x1')),_0x4b67da=_0x3a87f9['locale'];_0x47eb99[_0x2cf2('0x4')][_0x2cf2('0x5')](_0x2cf2('0x6'),_0x1f8bc5=>_0x5d88c2(_0x4b67da,_0x2cf2('0xb'),_0x1f8bc5));}}
23
+ const _0x447a=['get','enableCommand','registerElementLabel','commands','ELEMENT_TABLE_OF_CONTENTS','_descriptionFactory','editor','TrackChangesEditing','insertTableOfContents'];(function(_0x2d0856,_0x447ab1){const _0x33554d=function(_0x58da77){while(--_0x58da77){_0x2d0856['push'](_0x2d0856['shift']());}};_0x33554d(++_0x447ab1);}(_0x447a,0x121));const _0x3355=function(_0x2d0856,_0x447ab1){_0x2d0856=_0x2d0856-0x0;let _0x33554d=_0x447a[_0x2d0856];return _0x33554d;};import{Plugin as _0xcd166a}from'ckeditor5/src/core.js';import{getTranslation as _0x17b64a}from'../utils/common-translations.js';export default class Ct extends _0xcd166a{['afterInit'](){const _0x2dff45=this[_0x3355('0x5')];if(!_0x2dff45[_0x3355('0x2')][_0x3355('0x8')]('insertTableOfContents'))return;_0x2dff45['plugins'][_0x3355('0x8')](_0x3355('0x6'))[_0x3355('0x0')](_0x3355('0x7'));const _0x24a13e=_0x2dff45['plugins'][_0x3355('0x8')](_0x3355('0x6')),_0x5c3a82=_0x2dff45['locale'];_0x24a13e[_0x3355('0x4')][_0x3355('0x1')]('tableOfContents',_0x3db166=>_0x17b64a(_0x5c3a82,_0x3355('0x3'),_0x3db166));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xb0f2=['tableCellBackgroundColor','tableAlignment','formatBlock','selection','registerCustomCallback','document','tableHeight','get','commandParams','getSelectionAffectedTableCells','pluginName','enableCommand','_suggestionFactory','_getSuggestion','tableCellHorizontalAlignment','_handlePropertyChange','has','tableCellProperties','getSuggestionCallback','enqueueChange','TrackChangesTableProperties','handleDiscardAction','TrackChangesEditing','tableWidth','accept','setAttribute','tableProperties','TablePropertiesEditing','discard','tableCellBorderWidth','editor','afterInit','tableCellBorderColor','getFirstPosition','getSuggestions','model','change','tableCellVerticalAlignment','join','_descriptionFactory','tableBorderColor','handleSuggestionDescription','TableCellPropertiesEditing','findAncestor','table','tableCellWidth','format','subType','markBlockFormat','tableCellHeight','tableBorderWidth','tableCellPadding','tableBorderStyle','batch','TableUtils','plugins','*Format:*\x20change\x20table\x20properties','locale'];(function(_0x33cbe9,_0xb0f2e2){const _0x1c81ca=function(_0x332424){while(--_0x332424){_0x33cbe9['push'](_0x33cbe9['shift']());}};_0x1c81ca(++_0xb0f2e2);}(_0xb0f2,0x13d));const _0x1c81=function(_0x33cbe9,_0xb0f2e2){_0x33cbe9=_0x33cbe9-0x0;let _0x1c81ca=_0xb0f2[_0x33cbe9];return _0x1c81ca;};import{Plugin as _0x38b3c2}from'ckeditor5/src/core.js';import{getTranslation as _0x82054d}from'../utils/common-translations.js';export default class Mt extends _0x38b3c2{constructor(_0x4c2649){super(_0x4c2649),this[_0x1c81('0x39')]=[_0x1c81('0xd'),_0x1c81('0x19'),_0x1c81('0x17'),_0x1c81('0x20'),_0x1c81('0x36'),_0x1c81('0x25'),'tableBackgroundColor'],this['tableCellProperties']=[_0x1c81('0x5'),'tableCellBorderStyle',_0x1c81('0x2'),_0x1c81('0x18'),_0x1c81('0x12'),_0x1c81('0x16'),_0x1c81('0x1f'),_0x1c81('0x2d'),_0x1c81('0xa')];}static get[_0x1c81('0x29')](){return _0x1c81('0x33');}[_0x1c81('0x4')](){const _0x133b8d=this[_0x1c81('0x3')][_0x1c81('0x1c')][_0x1c81('0x26')](_0x1c81('0x35'));if(this[_0x1c81('0x3')][_0x1c81('0x1c')][_0x1c81('0x2f')](_0x1c81('0x0'))){for(const _0x58589e of this[_0x1c81('0x39')])_0x133b8d[_0x1c81('0x2a')](_0x58589e,(_0x2dbf16,_0x243d42)=>{const _0x32ae67=this[_0x1c81('0x3')][_0x1c81('0x8')]['document'][_0x1c81('0x22')][_0x1c81('0x6')]()[_0x1c81('0x10')](_0x1c81('0x11'));this[_0x1c81('0x2e')](_0x58589e,[_0x32ae67],this[_0x1c81('0x39')],_0x1c81('0x39'),_0x2dbf16,_0x243d42);});_0x133b8d[_0x1c81('0x2b')]['registerCustomCallback'](_0x1c81('0x21'),'tableProperties','accept',_0x133b8d[_0x1c81('0x2b')][_0x1c81('0x31')](_0x1c81('0x21'),null,_0x1c81('0x1'))),_0x133b8d['_suggestionFactory'][_0x1c81('0x23')](_0x1c81('0x21'),_0x1c81('0x39'),_0x1c81('0x1'),(_0x53f6aa,_0x34d05b)=>this['handleDiscardAction'](this[_0x1c81('0x39')],_0x53f6aa,_0x34d05b)),_0x133b8d[_0x1c81('0x2b')][_0x1c81('0x23')](_0x1c81('0x21'),_0x1c81('0x39'),_0x1c81('0xb'),()=>!0x1);}if(this[_0x1c81('0x3')][_0x1c81('0x1c')][_0x1c81('0x2f')](_0x1c81('0xf'))){for(const _0x41c4d3 of this[_0x1c81('0x30')])_0x133b8d[_0x1c81('0x2a')](_0x41c4d3,(_0x4b3502,_0x4935d5)=>{const _0x42dcad=this[_0x1c81('0x3')][_0x1c81('0x1c')]['get'](_0x1c81('0x1b'))[_0x1c81('0x28')](this[_0x1c81('0x3')][_0x1c81('0x8')][_0x1c81('0x24')][_0x1c81('0x22')]);this[_0x1c81('0x2e')](_0x41c4d3,_0x42dcad,this[_0x1c81('0x30')],_0x1c81('0x30'),_0x4b3502,_0x4935d5);});_0x133b8d[_0x1c81('0x2b')]['registerCustomCallback'](_0x1c81('0x21'),_0x1c81('0x30'),_0x1c81('0x37'),_0x133b8d[_0x1c81('0x2b')][_0x1c81('0x31')]('formatBlock',null,_0x1c81('0x1'))),_0x133b8d[_0x1c81('0x2b')][_0x1c81('0x23')](_0x1c81('0x21'),_0x1c81('0x30'),_0x1c81('0x1'),(_0x3ee35d,_0x765826)=>this['handleDiscardAction'](this[_0x1c81('0x30')],_0x3ee35d,_0x765826)),_0x133b8d[_0x1c81('0x2b')][_0x1c81('0x23')]('formatBlock',_0x1c81('0x30'),_0x1c81('0xb'),()=>!0x1);}_0x133b8d[_0x1c81('0xc')]['registerDescriptionCallback'](_0x269033=>this['handleSuggestionDescription'](_0x269033));}[_0x1c81('0x2e')](_0x35889b,_0x49f48a,_0x2b4a04,_0x404fac,_0x43d579,_0x3d81b1){const _0x15b94b=this[_0x1c81('0x3')]['plugins'][_0x1c81('0x26')](_0x1c81('0x35'));this[_0x1c81('0x3')]['model'][_0x1c81('0x32')](_0x3d81b1[_0x1c81('0x1a')],()=>{for(const _0x49b0df of _0x49f48a){if(this[_0x1c81('0x2c')](_0x49b0df,_0x404fac))_0x43d579(_0x3d81b1);else{const _0x269737={};for(const _0x33b0f3 of _0x2b4a04){const _0x15caea=_0x49b0df['getAttribute'](_0x33b0f3);void 0x0!==_0x15caea&&(_0x269737[_0x33b0f3]=_0x15caea);}_0x43d579(_0x3d81b1),_0x15b94b[_0x1c81('0x15')](_0x49b0df,{'commandParams':[_0x269737]},[],_0x404fac);}}});}[_0x1c81('0x34')](_0x296116,_0x509b17,_0x393115){const _0x2bcd4f=_0x509b17[0x0]['start']['nodeAfter'],_0x1b22d1=_0x393115[_0x1c81('0x27')][0x0];this[_0x1c81('0x3')][_0x1c81('0x8')][_0x1c81('0x9')](_0x17c8ee=>{for(const _0x590701 of _0x296116)void 0x0!==_0x1b22d1[_0x590701]?_0x17c8ee[_0x1c81('0x38')](_0x590701,_0x1b22d1[_0x590701],_0x2bcd4f):_0x17c8ee['removeAttribute'](_0x590701,_0x2bcd4f);});}[_0x1c81('0xe')](_0x421bf8){if(_0x421bf8['data'])switch(_0x421bf8['subType']){case'tableProperties':return{'type':_0x1c81('0x13'),'content':_0x82054d(this[_0x1c81('0x3')][_0x1c81('0x1e')],_0x1c81('0x1d'))};case _0x1c81('0x30'):return{'type':_0x1c81('0x13'),'content':_0x82054d(this[_0x1c81('0x3')]['locale'],'*Format:*\x20change\x20table\x20cell\x20properties')};}}[_0x1c81('0x2c')](_0x9a6f42,_0x513100){const _0xc5fe50=this['editor'][_0x1c81('0x1c')][_0x1c81('0x26')](_0x1c81('0x35'));for(const _0x123e61 of _0xc5fe50[_0x1c81('0x7')]({'skipNotAttached':!0x0})){const _0x5ee06e=_0x123e61['getContainedElement']();if(_0x123e61[_0x1c81('0x14')]===_0x513100&&_0x5ee06e===_0x9a6f42)return _0x123e61;}return null;}}
23
+ const _0x4819=['findAncestor','*Format:*\x20change\x20table\x20properties','document','_handlePropertyChange','selection','subType','*Format:*\x20change\x20table\x20cell\x20properties','_descriptionFactory','format','has','tableBorderColor','editor','tableBorderWidth','tableCellHeight','nodeAfter','handleDiscardAction','tableCellBorderWidth','join','getSelectionAffectedTableCells','formatBlock','tableBorderStyle','getSuggestions','table','get','tableCellVerticalAlignment','pluginName','getAttribute','plugins','tableCellProperties','model','tableCellPadding','locale','_getSuggestion','afterInit','tableCellWidth','_suggestionFactory','getContainedElement','removeAttribute','data','TableUtils','tableWidth','change','commandParams','start','tableProperties','discard','tableCellBackgroundColor','TrackChangesEditing','tableCellBorderStyle','enqueueChange','enableCommand','registerDescriptionCallback','tableHeight','TableCellPropertiesEditing','accept','registerCustomCallback','handleSuggestionDescription','getSuggestionCallback','markBlockFormat'];(function(_0x5896ee,_0x481922){const _0x3a4996=function(_0x5eb3b4){while(--_0x5eb3b4){_0x5896ee['push'](_0x5896ee['shift']());}};_0x3a4996(++_0x481922);}(_0x4819,0x7b));const _0x3a49=function(_0x5896ee,_0x481922){_0x5896ee=_0x5896ee-0x0;let _0x3a4996=_0x4819[_0x5896ee];return _0x3a4996;};import{Plugin as _0x269b97}from'ckeditor5/src/core.js';import{getTranslation as _0x2dc0bd}from'../utils/common-translations.js';export default class Mt extends _0x269b97{constructor(_0xa5c670){super(_0xa5c670),this[_0x3a49('0x27')]=[_0x3a49('0x5'),_0x3a49('0xf'),_0x3a49('0x7'),'tableAlignment',_0x3a49('0x23'),_0x3a49('0x2f'),'tableBackgroundColor'],this[_0x3a49('0x17')]=['tableCellBorderColor',_0x3a49('0x2b'),_0x3a49('0xb'),_0x3a49('0x19'),_0x3a49('0x1d'),_0x3a49('0x8'),_0x3a49('0x29'),'tableCellHorizontalAlignment',_0x3a49('0x13')];}static get[_0x3a49('0x14')](){return'TrackChangesTableProperties';}[_0x3a49('0x1c')](){const _0x453f1a=this[_0x3a49('0x6')]['plugins'][_0x3a49('0x12')](_0x3a49('0x2a'));if(this['editor'][_0x3a49('0x16')][_0x3a49('0x4')]('TablePropertiesEditing')){for(const _0x554102 of this[_0x3a49('0x27')])_0x453f1a['enableCommand'](_0x554102,(_0x1596b9,_0x239392)=>{const _0x3882e2=this[_0x3a49('0x6')]['model']['document'][_0x3a49('0x3a')]['getFirstPosition']()[_0x3a49('0x36')](_0x3a49('0x11'));this[_0x3a49('0x39')](_0x554102,[_0x3882e2],this[_0x3a49('0x27')],_0x3a49('0x27'),_0x1596b9,_0x239392);});_0x453f1a[_0x3a49('0x1e')][_0x3a49('0x32')](_0x3a49('0xe'),'tableProperties','accept',_0x453f1a[_0x3a49('0x1e')][_0x3a49('0x34')](_0x3a49('0xe'),null,_0x3a49('0x28'))),_0x453f1a[_0x3a49('0x1e')]['registerCustomCallback'](_0x3a49('0xe'),_0x3a49('0x27'),_0x3a49('0x28'),(_0x734506,_0xdf08a2)=>this['handleDiscardAction'](this[_0x3a49('0x27')],_0x734506,_0xdf08a2)),_0x453f1a[_0x3a49('0x1e')][_0x3a49('0x32')](_0x3a49('0xe'),'tableProperties',_0x3a49('0xc'),()=>!0x1);}if(this['editor'][_0x3a49('0x16')]['has'](_0x3a49('0x30'))){for(const _0x225891 of this[_0x3a49('0x17')])_0x453f1a[_0x3a49('0x2d')](_0x225891,(_0x5832d9,_0x232eb1)=>{const _0x80ae87=this[_0x3a49('0x6')][_0x3a49('0x16')][_0x3a49('0x12')](_0x3a49('0x22'))[_0x3a49('0xd')](this[_0x3a49('0x6')][_0x3a49('0x18')][_0x3a49('0x38')][_0x3a49('0x3a')]);this['_handlePropertyChange'](_0x225891,_0x80ae87,this[_0x3a49('0x17')],_0x3a49('0x17'),_0x5832d9,_0x232eb1);});_0x453f1a[_0x3a49('0x1e')][_0x3a49('0x32')](_0x3a49('0xe'),'tableCellProperties',_0x3a49('0x31'),_0x453f1a['_suggestionFactory'][_0x3a49('0x34')](_0x3a49('0xe'),null,_0x3a49('0x28'))),_0x453f1a[_0x3a49('0x1e')][_0x3a49('0x32')](_0x3a49('0xe'),_0x3a49('0x17'),_0x3a49('0x28'),(_0x3960f9,_0x3a9ed6)=>this[_0x3a49('0xa')](this[_0x3a49('0x17')],_0x3960f9,_0x3a9ed6)),_0x453f1a[_0x3a49('0x1e')][_0x3a49('0x32')]('formatBlock',_0x3a49('0x17'),_0x3a49('0xc'),()=>!0x1);}_0x453f1a[_0x3a49('0x2')][_0x3a49('0x2e')](_0x577904=>this[_0x3a49('0x33')](_0x577904));}[_0x3a49('0x39')](_0x5723ab,_0x390d05,_0x31f50b,_0x2d4af6,_0x1fc8c4,_0x4c9ceb){const _0x27730a=this[_0x3a49('0x6')][_0x3a49('0x16')]['get']('TrackChangesEditing');this[_0x3a49('0x6')][_0x3a49('0x18')][_0x3a49('0x2c')](_0x4c9ceb['batch'],()=>{for(const _0x56392d of _0x390d05){if(this[_0x3a49('0x1b')](_0x56392d,_0x2d4af6))_0x1fc8c4(_0x4c9ceb);else{const _0x64571b={};for(const _0x3bbdab of _0x31f50b){const _0x53ea42=_0x56392d[_0x3a49('0x15')](_0x3bbdab);void 0x0!==_0x53ea42&&(_0x64571b[_0x3bbdab]=_0x53ea42);}_0x1fc8c4(_0x4c9ceb),_0x27730a[_0x3a49('0x35')](_0x56392d,{'commandParams':[_0x64571b]},[],_0x2d4af6);}}});}[_0x3a49('0xa')](_0x8beeca,_0x26eeca,_0x55d547){const _0x5c631e=_0x26eeca[0x0][_0x3a49('0x26')][_0x3a49('0x9')],_0x294a1a=_0x55d547[_0x3a49('0x25')][0x0];this[_0x3a49('0x6')][_0x3a49('0x18')][_0x3a49('0x24')](_0x1cf143=>{for(const _0x41de86 of _0x8beeca)void 0x0!==_0x294a1a[_0x41de86]?_0x1cf143['setAttribute'](_0x41de86,_0x294a1a[_0x41de86],_0x5c631e):_0x1cf143[_0x3a49('0x20')](_0x41de86,_0x5c631e);});}[_0x3a49('0x33')](_0x4a79a9){if(_0x4a79a9[_0x3a49('0x21')])switch(_0x4a79a9['subType']){case _0x3a49('0x27'):return{'type':_0x3a49('0x3'),'content':_0x2dc0bd(this[_0x3a49('0x6')][_0x3a49('0x1a')],_0x3a49('0x37'))};case _0x3a49('0x17'):return{'type':'format','content':_0x2dc0bd(this[_0x3a49('0x6')][_0x3a49('0x1a')],_0x3a49('0x1'))};}}['_getSuggestion'](_0x25c952,_0x595a71){const _0x5771df=this[_0x3a49('0x6')]['plugins'][_0x3a49('0x12')](_0x3a49('0x2a'));for(const _0x1fbbe4 of _0x5771df[_0x3a49('0x10')]({'skipNotAttached':!0x0})){const _0x5864f4=_0x1fbbe4[_0x3a49('0x1f')]();if(_0x1fbbe4[_0x3a49('0x0')]===_0x595a71&&_0x5864f4===_0x25c952)return _0x1fbbe4;}return null;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2f63=['insertTemplate','TrackChangesEditing','editor','plugins','afterInit'];(function(_0x4d8cf6,_0x2f636d){const _0x100a1d=function(_0x1e3595){while(--_0x1e3595){_0x4d8cf6['push'](_0x4d8cf6['shift']());}};_0x100a1d(++_0x2f636d);}(_0x2f63,0x1aa));const _0x100a=function(_0x4d8cf6,_0x2f636d){_0x4d8cf6=_0x4d8cf6-0x0;let _0x100a1d=_0x2f63[_0x4d8cf6];return _0x100a1d;};import{Plugin as _0x1cf5d5}from'ckeditor5/src/core.js';export default class vt extends _0x1cf5d5{[_0x100a('0x3')](){const _0x6a96e6=this[_0x100a('0x1')];_0x6a96e6[_0x100a('0x2')]['has']('Template')&&_0x6a96e6[_0x100a('0x2')]['get'](_0x100a('0x0'))['enableCommand'](_0x100a('0x4'));}}
23
+ const _0x4099=['plugins','insertTemplate','editor','get','Template','TrackChangesEditing','enableCommand'];(function(_0x6ef300,_0x40998b){const _0x459850=function(_0x5001b3){while(--_0x5001b3){_0x6ef300['push'](_0x6ef300['shift']());}};_0x459850(++_0x40998b);}(_0x4099,0x81));const _0x4598=function(_0x6ef300,_0x40998b){_0x6ef300=_0x6ef300-0x0;let _0x459850=_0x4099[_0x6ef300];return _0x459850;};import{Plugin as _0x5b545f}from'ckeditor5/src/core.js';export default class vt extends _0x5b545f{['afterInit'](){const _0x51a8bf=this[_0x4598('0x6')];_0x51a8bf[_0x4598('0x4')]['has'](_0x4598('0x1'))&&_0x51a8bf['plugins'][_0x4598('0x0')](_0x4598('0x2'))[_0x4598('0x3')](_0x4598('0x5'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x217c=['nodeBefore','title-content','updateMarker','createRange','differ','has','registerElementLabel','start','editor','forward','TrackChangesEditing','registerPostFixer','suggestion','isTouching','document','end','removeMarker','newRange','isCollapsed','isEqual','afterInit','getChangedMarkers','element','model','ELEMENT_TITLE','get','plugins','_splitMarkerName'];(function(_0x18e827,_0x217c36){const _0x481f43=function(_0x4965dc){while(--_0x4965dc){_0x18e827['push'](_0x18e827['shift']());}};_0x481f43(++_0x217c36);}(_0x217c,0xcc));const _0x481f=function(_0x18e827,_0x217c36){_0x18e827=_0x18e827-0x0;let _0x481f43=_0x217c[_0x18e827];return _0x481f43;};import{Plugin as _0xb116}from'ckeditor5/src/core.js';import{getTranslation as _0xc7e867}from'../utils/common-translations.js';export default class _t extends _0xb116{[_0x481f('0xc')](){const _0x53f915=this[_0x481f('0x0')];if(!_0x53f915[_0x481f('0x12')][_0x481f('0x19')]('Title'))return;const _0x587b01=_0x53f915['plugins'][_0x481f('0x11')](_0x481f('0x2'));_0x587b01['_descriptionFactory'][_0x481f('0x1a')]('title-content',()=>_0xc7e867(_0x53f915['locale'],_0x481f('0x10'))),_0x53f915[_0x481f('0xf')][_0x481f('0x6')][_0x481f('0x3')](_0x373779=>{let _0x3d0d27=!0x1;const _0x4b47e2=Array['from'](_0x53f915[_0x481f('0xf')][_0x481f('0x6')][_0x481f('0x18')][_0x481f('0xd')]());for(const {name:_0x4cafac,data:_0x147a62}of _0x4b47e2){const {group:_0x3d39d1}=_0x587b01[_0x481f('0x13')](_0x4cafac);if(_0x481f('0x4')!==_0x3d39d1||!_0x147a62[_0x481f('0x9')])continue;const _0x54765f=_0x147a62[_0x481f('0x9')],_0xc5f8d2=_0x54765f['end'][_0x481f('0x14')];if(!_0xc5f8d2||!_0xc5f8d2['is'](_0x481f('0xe'),_0x481f('0x15')))continue;if(!_0x54765f[_0x481f('0x1b')][_0x481f('0x5')](_0x54765f[_0x481f('0x7')]))continue;const _0x3f5f88=_0x53f915[_0x481f('0xf')]['schema']['getNearestSelectionRange'](_0x54765f[_0x481f('0x7')],_0x481f('0x1'));if(_0x3f5f88&&_0x3f5f88[_0x481f('0xa')]){const _0x1a54c3=_0x373779[_0x481f('0x17')](_0x54765f[_0x481f('0x1b')],_0x3f5f88['start']);_0x1a54c3[_0x481f('0xb')](_0x54765f)||(_0x373779[_0x481f('0x16')](_0x4cafac,{'range':_0x1a54c3}),_0x3d0d27=!0x0);}_0x3d0d27||(_0x373779[_0x481f('0x8')](_0x4cafac),_0x3d0d27=!0x0);}return _0x3d0d27;});}}
23
+ const _0x1803=['get','isTouching','isEqual','from','differ','element','afterInit','suggestion','start','title-content','schema','registerElementLabel','_splitMarkerName','has','newRange','isCollapsed','model','removeMarker','getNearestSelectionRange','forward','end','_descriptionFactory','TrackChangesEditing','editor','document','registerPostFixer','plugins'];(function(_0x1c0b20,_0x1803a4){const _0x556cc6=function(_0x26269c){while(--_0x26269c){_0x1c0b20['push'](_0x1c0b20['shift']());}};_0x556cc6(++_0x1803a4);}(_0x1803,0xd9));const _0x556c=function(_0x1c0b20,_0x1803a4){_0x1c0b20=_0x1c0b20-0x0;let _0x556cc6=_0x1803[_0x1c0b20];return _0x556cc6;};import{Plugin as _0x4c114f}from'ckeditor5/src/core.js';import{getTranslation as _0x12b856}from'../utils/common-translations.js';export default class _t extends _0x4c114f{[_0x556c('0x5')](){const _0x130823=this[_0x556c('0x16')];if(!_0x130823['plugins'][_0x556c('0xc')]('Title'))return;const _0x353800=_0x130823[_0x556c('0x19')][_0x556c('0x1a')](_0x556c('0x15'));_0x353800[_0x556c('0x14')][_0x556c('0xa')](_0x556c('0x8'),()=>_0x12b856(_0x130823['locale'],'ELEMENT_TITLE')),_0x130823[_0x556c('0xf')][_0x556c('0x17')][_0x556c('0x18')](_0x14d2cc=>{let _0x540647=!0x1;const _0x55ef73=Array[_0x556c('0x2')](_0x130823[_0x556c('0xf')][_0x556c('0x17')][_0x556c('0x3')]['getChangedMarkers']());for(const {name:_0x28485e,data:_0x2f4f12}of _0x55ef73){const {group:_0x2fd614}=_0x353800[_0x556c('0xb')](_0x28485e);if(_0x556c('0x6')!==_0x2fd614||!_0x2f4f12[_0x556c('0xd')])continue;const _0x2821b4=_0x2f4f12[_0x556c('0xd')],_0x2cb848=_0x2821b4[_0x556c('0x13')]['nodeBefore'];if(!_0x2cb848||!_0x2cb848['is'](_0x556c('0x4'),'title-content'))continue;if(!_0x2821b4[_0x556c('0x7')][_0x556c('0x0')](_0x2821b4['end']))continue;const _0x32486a=_0x130823[_0x556c('0xf')][_0x556c('0x9')][_0x556c('0x11')](_0x2821b4[_0x556c('0x13')],_0x556c('0x12'));if(_0x32486a&&_0x32486a[_0x556c('0xe')]){const _0x2b4757=_0x14d2cc['createRange'](_0x2821b4[_0x556c('0x7')],_0x32486a['start']);_0x2b4757[_0x556c('0x1')](_0x2821b4)||(_0x14d2cc['updateMarker'](_0x28485e,{'range':_0x2b4757}),_0x540647=!0x0);}_0x540647||(_0x14d2cc[_0x556c('0x10')](_0x28485e),_0x540647=!0x0);}return _0x540647;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2ea0=['redo','editor','TrackChangesEditing','has','UndoEditing','get','afterInit','plugins','undo'];(function(_0x528213,_0x2ea003){const _0x151e5a=function(_0x2d1c51){while(--_0x2d1c51){_0x528213['push'](_0x528213['shift']());}};_0x151e5a(++_0x2ea003);}(_0x2ea0,0x1be));const _0x151e=function(_0x528213,_0x2ea003){_0x528213=_0x528213-0x0;let _0x151e5a=_0x2ea0[_0x528213];return _0x151e5a;};import{Plugin as _0x416d65}from'ckeditor5/src/core.js';export default class Dt extends _0x416d65{[_0x151e('0x1')](){const _0x1c8386=this[_0x151e('0x5')],_0x2f17c3=_0x1c8386[_0x151e('0x2')][_0x151e('0x0')](_0x151e('0x6'));_0x1c8386[_0x151e('0x2')][_0x151e('0x7')](_0x151e('0x8'))&&(_0x2f17c3['enableCommand'](_0x151e('0x3')),_0x2f17c3['enableCommand'](_0x151e('0x4')));}}
23
+ const _0x8487=['UndoEditing','enableCommand','has','undo','get','plugins','editor','TrackChangesEditing'];(function(_0x278391,_0x848710){const _0x5869c3=function(_0x2bd7c6){while(--_0x2bd7c6){_0x278391['push'](_0x278391['shift']());}};_0x5869c3(++_0x848710);}(_0x8487,0x10a));const _0x5869=function(_0x278391,_0x848710){_0x278391=_0x278391-0x0;let _0x5869c3=_0x8487[_0x278391];return _0x5869c3;};import{Plugin as _0xdf5dac}from'ckeditor5/src/core.js';export default class Dt extends _0xdf5dac{['afterInit'](){const _0x24d9fe=this[_0x5869('0x4')],_0x548e0c=_0x24d9fe[_0x5869('0x3')][_0x5869('0x2')](_0x5869('0x5'));_0x24d9fe[_0x5869('0x3')][_0x5869('0x0')](_0x5869('0x6'))&&(_0x548e0c['enableCommand'](_0x5869('0x1')),_0x548e0c[_0x5869('0x7')]('redo'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4fc4=['markerName','ck-suggestion-marker-','element','isAtEnd','createRangeOn','previousPosition','insert','plugins','bindElementToMarker','ck-suggestion-marker--active','isLimit','markerRange','push','addClass','nextSibling','consumable','get','TrackChangesEditing','writer','toViewElement','start','getAttribute','parent','mapper','item','getWalker','type','name','span','listIndent','elementEnd','getItems','model','isContent'];(function(_0x54806e,_0x4fc40f){const _0x17c581=function(_0x329b67){while(--_0x329b67){_0x54806e['push'](_0x54806e['shift']());}};_0x17c581(++_0x4fc40f);}(_0x4fc4,0x1c7));const _0x17c5=function(_0x54806e,_0x4fc40f){_0x54806e=_0x54806e-0x0;let _0x17c581=_0x4fc4[_0x54806e];return _0x17c581;};export function getRangesWithAttribute(_0xb52b7,_0x35628b,_0x42dcab){const _0x394b4f=[];for(const _0x18fdb3 of _0x35628b[_0x17c5('0x12')]())_0x18fdb3['hasAttribute'](_0xb52b7)&&_0x394b4f[_0x17c5('0x21')](_0x42dcab[_0x17c5('0x19')](_0x18fdb3));return _0x394b4f;}export function getElementsAffectedByListItemRename(_0x470f35){const _0x4b9eb2=[];if(_0x470f35['is'](_0x17c5('0x17'),'listItem')){let _0x931e4d=_0x470f35[_0x17c5('0x1')];for(;_0x931e4d&&_0x931e4d['is'](_0x17c5('0x17'),'listItem')&&_0x931e4d[_0x17c5('0x8')](_0x17c5('0x10'))>0x0;)_0x4b9eb2['push'](_0x931e4d),_0x931e4d=_0x931e4d['nextSibling'];}return _0x4b9eb2;}export function downcastSplitMergeMarker(_0x766f2,_0x1e3c9e,{showActiveMarker:_0x57a985=!0x0}={}){const _0x58573c=_0x766f2[_0x17c5('0x1c')][_0x17c5('0x3')](_0x17c5('0x4'));return(_0x1de5fe,_0x47d8dd,_0x43e611)=>{if(!_0x43e611[_0x17c5('0x2')]['test'](_0x47d8dd[_0x17c5('0x20')],_0x1de5fe[_0x17c5('0xe')]))return;const _0x3514df=_0x47d8dd[_0x17c5('0x20')][_0x17c5('0xc')](),_0x594dc8=_0x47d8dd[_0x17c5('0x20')][_0x17c5('0x7')],_0x26467c=_0x766f2[_0x17c5('0x13')]['schema'];let _0x22f190=null,_0x3632df=null,_0x460636=!0x1,_0x3c96=!0x1;for(const _0x8ee9f6 of _0x3514df){const _0xede7e3=_0x8ee9f6[_0x17c5('0xb')];_0x460636=_0x460636||_0x26467c[_0x17c5('0x14')](_0xede7e3);const _0x3b15a3=_0x43e611[_0x17c5('0xa')][_0x17c5('0x6')](_0xede7e3);if(_0x3b15a3&&_0x3b15a3['getCustomProperty']('addHighlight'))return;_0x17c5('0x11')==_0x8ee9f6[_0x17c5('0xd')]&&(_0x26467c['isBlock'](_0xede7e3)&&!_0x26467c[_0x17c5('0x1f')](_0xede7e3)&&(_0xede7e3[_0x17c5('0x1')]||_0x594dc8[_0x17c5('0x18')]?_0x22f190&&_0x22f190[_0x17c5('0x9')]==_0xede7e3||(_0x22f190=_0xede7e3,_0x6283aa(_0x8ee9f6[_0x17c5('0x1a')]),_0x3c96=!0x0):_0x3632df=_0x3632df||_0x8ee9f6[_0x17c5('0x1a')]));}function _0x6283aa(_0x1bcc4a){const _0x4931e1=_0x43e611['writer']['createUIElement'](_0x17c5('0xf'),{'class':_0x17c5('0x16')+_0x1e3c9e}),_0x9aaf2b=_0x43e611[_0x17c5('0xa')]['toViewPosition'](_0x1bcc4a);_0x57a985&&_0x58573c['activeMarkers']['includes'](_0x47d8dd['markerName'])&&_0x43e611[_0x17c5('0x5')][_0x17c5('0x0')](_0x17c5('0x1e'),_0x4931e1),_0x43e611[_0x17c5('0x5')][_0x17c5('0x1b')](_0x9aaf2b,_0x4931e1),_0x43e611[_0x17c5('0xa')][_0x17c5('0x1d')](_0x4931e1,_0x47d8dd[_0x17c5('0x15')]);}_0x460636||_0x3c96||!_0x3632df||_0x6283aa(_0x3632df);};}
23
+ const _0x8f0f=['parent','span','markerRange','ck-suggestion-marker-','name','markerName','model','consumable','isBlock','isAtEnd','element','nextSibling','getWalker','hasAttribute','toViewElement','writer','elementEnd','listIndent','isLimit','get','getItems','insert','addClass','ck-suggestion-marker--active','TrackChangesEditing','mapper','createUIElement','item','listItem','previousPosition','push','type'];(function(_0x25a7c3,_0x8f0fa7){const _0xc0926=function(_0x179751){while(--_0x179751){_0x25a7c3['push'](_0x25a7c3['shift']());}};_0xc0926(++_0x8f0fa7);}(_0x8f0f,0x102));const _0xc092=function(_0x25a7c3,_0x8f0fa7){_0x25a7c3=_0x25a7c3-0x0;let _0xc0926=_0x8f0f[_0x25a7c3];return _0xc0926;};export function getRangesWithAttribute(_0x18a307,_0x1840d0,_0x512fc3){const _0x42cb36=[];for(const _0x5abe55 of _0x1840d0[_0xc092('0x12')]())_0x5abe55[_0xc092('0xb')](_0x18a307)&&_0x42cb36[_0xc092('0x1c')](_0x512fc3['createRangeOn'](_0x5abe55));return _0x42cb36;}export function getElementsAffectedByListItemRename(_0x262a60){const _0x165d8e=[];if(_0x262a60['is']('element',_0xc092('0x1a'))){let _0x152c53=_0x262a60['nextSibling'];for(;_0x152c53&&_0x152c53['is'](_0xc092('0x8'),_0xc092('0x1a'))&&_0x152c53['getAttribute'](_0xc092('0xf'))>0x0;)_0x165d8e[_0xc092('0x1c')](_0x152c53),_0x152c53=_0x152c53[_0xc092('0x9')];}return _0x165d8e;}export function downcastSplitMergeMarker(_0x257fd6,_0x28425e,{showActiveMarker:_0x29349a=!0x0}={}){const _0x38df91=_0x257fd6['plugins'][_0xc092('0x11')](_0xc092('0x16'));return(_0x37326a,_0x36da91,_0x5a8a4b)=>{if(!_0x5a8a4b[_0xc092('0x5')]['test'](_0x36da91['markerRange'],_0x37326a[_0xc092('0x2')]))return;const _0x4f63f5=_0x36da91[_0xc092('0x0')][_0xc092('0xa')](),_0x222afc=_0x36da91[_0xc092('0x0')]['start'],_0x39d1ba=_0x257fd6[_0xc092('0x4')]['schema'];let _0x6f247a=null,_0x502a10=null,_0x3e2591=!0x1,_0x10dd6c=!0x1;for(const _0x522c05 of _0x4f63f5){const _0x49923b=_0x522c05[_0xc092('0x19')];_0x3e2591=_0x3e2591||_0x39d1ba['isContent'](_0x49923b);const _0x35e9d2=_0x5a8a4b['mapper'][_0xc092('0xc')](_0x49923b);if(_0x35e9d2&&_0x35e9d2['getCustomProperty']('addHighlight'))return;_0xc092('0xe')==_0x522c05[_0xc092('0x1d')]&&(_0x39d1ba[_0xc092('0x6')](_0x49923b)&&!_0x39d1ba[_0xc092('0x10')](_0x49923b)&&(_0x49923b['nextSibling']||_0x222afc[_0xc092('0x7')]?_0x6f247a&&_0x6f247a[_0xc092('0x1e')]==_0x49923b||(_0x6f247a=_0x49923b,_0x1a6c23(_0x522c05['previousPosition']),_0x10dd6c=!0x0):_0x502a10=_0x502a10||_0x522c05[_0xc092('0x1b')]));}function _0x1a6c23(_0xfef600){const _0x4778e3=_0x5a8a4b[_0xc092('0xd')][_0xc092('0x18')](_0xc092('0x1f'),{'class':_0xc092('0x1')+_0x28425e}),_0x457bbe=_0x5a8a4b[_0xc092('0x17')]['toViewPosition'](_0xfef600);_0x29349a&&_0x38df91['activeMarkers']['includes'](_0x36da91[_0xc092('0x3')])&&_0x5a8a4b[_0xc092('0xd')][_0xc092('0x14')](_0xc092('0x15'),_0x4778e3),_0x5a8a4b[_0xc092('0xd')][_0xc092('0x13')](_0x457bbe,_0x4778e3),_0x5a8a4b[_0xc092('0x17')]['bindElementToMarker'](_0x4778e3,_0x36da91[_0xc092('0x3')]);}_0x3e2591||_0x10dd6c||!_0x502a10||_0x1a6c23(_0x502a10);};}