@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20230804.0 → 0.0.0-nightly-20230805.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (64) hide show
  1. package/build/track-changes.js +1 -1
  2. package/package.json +3 -7
  3. package/src/commands/acceptsuggestioncommand.js +1 -1
  4. package/src/commands/discardsuggestioncommand.js +1 -1
  5. package/src/commands/executeonallsuggestionscommand.js +1 -1
  6. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  7. package/src/commands/trackchangescommand.js +1 -1
  8. package/src/integrations/alignment.js +1 -1
  9. package/src/integrations/basicstyles.js +1 -1
  10. package/src/integrations/blockquote.js +1 -1
  11. package/src/integrations/ckbox.js +1 -1
  12. package/src/integrations/codeblock.js +1 -1
  13. package/src/integrations/comments.js +1 -1
  14. package/src/integrations/deletecommand.js +1 -1
  15. package/src/integrations/documentlist.js +1 -1
  16. package/src/integrations/documentlistproperties.js +1 -1
  17. package/src/integrations/entercommand.js +1 -1
  18. package/src/integrations/findandreplace.js +1 -1
  19. package/src/integrations/font.js +1 -1
  20. package/src/integrations/formatpainter.js +1 -1
  21. package/src/integrations/heading.js +1 -1
  22. package/src/integrations/highlight.js +1 -1
  23. package/src/integrations/horizontalline.js +1 -1
  24. package/src/integrations/htmlembed.js +1 -1
  25. package/src/integrations/image.js +1 -1
  26. package/src/integrations/imagereplace.js +1 -1
  27. package/src/integrations/importword.js +1 -1
  28. package/src/integrations/indent.js +1 -1
  29. package/src/integrations/inputcommand.js +1 -1
  30. package/src/integrations/link.js +1 -1
  31. package/src/integrations/list.js +1 -1
  32. package/src/integrations/listproperties.js +1 -1
  33. package/src/integrations/mediaembed.js +1 -1
  34. package/src/integrations/mention.js +1 -1
  35. package/src/integrations/pagebreak.js +1 -1
  36. package/src/integrations/paragraph.js +1 -1
  37. package/src/integrations/removeformat.js +1 -1
  38. package/src/integrations/restrictededitingmode.js +1 -1
  39. package/src/integrations/shiftentercommand.js +1 -1
  40. package/src/integrations/standardeditingmode.js +1 -1
  41. package/src/integrations/style.js +1 -1
  42. package/src/integrations/table.js +1 -1
  43. package/src/integrations/tablecaption.js +1 -1
  44. package/src/integrations/tableclipboard.js +1 -1
  45. package/src/integrations/tablecolumnresize.js +1 -1
  46. package/src/integrations/tableheadings.js +1 -1
  47. package/src/integrations/tablemergesplit.js +1 -1
  48. package/src/integrations/tableofcontents.js +1 -1
  49. package/src/integrations/tableproperties.js +1 -1
  50. package/src/integrations/template.js +1 -1
  51. package/src/integrations/title.js +1 -1
  52. package/src/integrations/undo.js +1 -1
  53. package/src/integrations/utils.js +1 -1
  54. package/src/suggestion.js +1 -1
  55. package/src/suggestiondescriptionfactory.js +1 -1
  56. package/src/trackchanges.js +1 -1
  57. package/src/trackchangesdata.js +1 -1
  58. package/src/trackchangesediting.js +1 -1
  59. package/src/trackchangesui.js +1 -1
  60. package/src/ui/suggestioncontroller.js +1 -1
  61. package/src/ui/view/basesuggestionthreadview.js +1 -1
  62. package/src/ui/view/suggestionthreadview.js +1 -1
  63. package/src/utils/common-translations.js +1 -1
  64. package/src/utils/utils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4923=['entries','markMultiRangeInsertion','filter','reduce','nodeAfter','differ','tablePasteChainId','_isForcedDefaultExecutionBlock','removeMarker','dataDowncast','isEmpty','position','row','registerCustomCallback','find','tablePasteColumn','suggestion:formatBlock:tablePasteCell','tablePasteCell','redo','updateMarker','markerToHighlight','forceDefaultExecution','previousSibling','findAncestor','getMarkers','ck-suggestion-marker-insertion','for','editing','markerAttributes','name','last','tableCell','createTableWalker','insert','_suggestionFactory','getChildren','tableCellBackgroundColor','commands','trackChanges','newRange','getAllAdjacentSuggestions','nextSibling','_splitMarkerName','end','_replaceTableSlotCell','createRangeOn','from','locale','paragraph','author','insertionRanges','tableCellBorderColor','root','view','suggestion-td','selection','schema','deletion','includes','fromEntries','getTableIfOnlyTableInContent','column','some','suggestion','conversion','TableUtils','discard','table','move','getChangedMarkers','previous','getSuggestions','createPositionBefore','plugins','has','$graveyard','getSuggestionCallback','getChanges','oldRange','options','remove','insertion','element','afterInit','stop','insertContent','length','change','ck-suggestion-marker','_tablePostFixingSubtypes','type','tablePasteRow','add','editor','getRange','push','formatBlock','join','registerPostFixer','getRanges','rowInsertionRanges','getColumnIndexes','columnInsertionIndexes','every','startsWith','createRange','model','high','getRows','keys','rootName','tableCellHorizontalAlignment','subType','elementToElement','batch','TableClipboard','cells','markMultiRangeBlockFormat','tableCellVerticalAlignment','attributes','first','deletionRanges','listenTo','TrackChangesEditing','tableCellSuggestion','getItems','removeColumns','insertRows','set','containsRange','getSelectionAffectedTableCells','isInContent','clipboardOutput','columns','getChild','ck-suggestion-marker--active','suggestionLoaded','activeMarkers','fill','removeRows','cell','createRangeIn','unwrap','register','getSuggestion','getRowIndexes','_getCoordsForCells','suggestionUnloaded','registerDescriptionCallback','map','rowInsertionIndexes','markerName','getContainedElement','documentSelection','document','tablePaste','_createdBatches','createElement','accept','endRow','editingDowncast','low','isEqual','get','tableCellBorderWidth'];(function(_0x3d71b4,_0x492353){const _0x592e98=function(_0x74e7fc){while(--_0x74e7fc){_0x3d71b4['push'](_0x3d71b4['shift']());}};_0x592e98(++_0x492353);}(_0x4923,0x166));const _0x592e=function(_0x3d71b4,_0x492353){_0x3d71b4=_0x3d71b4-0x0;let _0x592e98=_0x4923[_0x3d71b4];return _0x592e98;};import{getTranslation as _0x520f7c}from'../utils/common-translations';import{Plugin as _0x2d0cf3}from'ckeditor5/src/core';import{uid as _0x5695be,priorities as _0x5f23f9}from'ckeditor5/src/utils';import _0xa0f21c from'./table';const le=[_0x592e('0x88'),_0x592e('0x17'),'tableCellBorderStyle',_0x592e('0x53'),_0x592e('0x5a'),_0x592e('0x8'),'tableCellPadding'],ae=Object[_0x592e('0x1f')](le[_0x592e('0x79')](_0x5da68e=>[_0x5da68e,null]));export default class kt extends _0x2d0cf3{static get['requires'](){return[_0xa0f21c];}[_0x592e('0x37')](){const _0x5cf732=this[_0x592e('0x41')];if(!_0x5cf732['plugins'][_0x592e('0x2e')]('TableClipboard'))return;const _0x583ac9=_0x5cf732['plugins'][_0x592e('0x87')](_0x592e('0x5f')),_0x396263=_0x5cf732['plugins']['get'](_0x592e('0x25')),_0xc40910=_0x5cf732['plugins'][_0x592e('0x87')](_0xa0f21c),_0x198d07=_0x5cf732['plugins'][_0x592e('0x87')]('TableClipboard');_0xc40910[_0x592e('0x3d')]['push'](_0x592e('0x3f'),_0x592e('0x98')),_0x5cf732['model'][_0x592e('0x1c')][_0x592e('0x73')](_0x592e('0x60'),{'allowIn':_0x592e('0x3'),'allowContentOf':_0x592e('0x3'),'isLimit':!0x0}),_0x5cf732[_0x592e('0x24')][_0x592e('0x55')]({'model':_0x592e('0x60'),'view':_0x592e('0x1a')});let _0x3507a7=null;_0x5cf732[_0x592e('0x4e')]['on'](_0x592e('0x39'),(_0x35963f,_0x3e13bd)=>{const [_0x24a0fb,_0xb91480]=_0x3e13bd,_0x2ce7e4=_0x3e13bd[_0x3e13bd[_0x592e('0x3a')]-0x1];_0x2ce7e4&&_0x2ce7e4[_0x592e('0x9e')]||_0x583ac9[_0x592e('0x90')]||this[_0x592e('0x41')][_0x592e('0x9')][_0x592e('0x87')](_0x592e('0xa'))['value']&&function(_0x349c8c,_0x1184b0,_0x5979a8,_0x230e7,_0x1972f8){if(_0x1184b0&&!_0x1184b0['is'](_0x592e('0x7d')))return!0x1;const _0x496bbc=_0x1972f8[_0x592e('0x20')](_0x349c8c,_0x5979a8);if(!_0x496bbc||!fe(_0x496bbc,void 0x0,_0x230e7))return!0x1;const _0x364c37=_0x230e7[_0x592e('0x66')](_0x5979a8[_0x592e('0x7e')][_0x592e('0x1b')]);if(!_0x364c37[_0x592e('0x3a')])return!0x1;const _0x5c1169=_0x364c37[0x0][_0x592e('0xa0')](_0x592e('0x27')),_0x439793=_0x230e7[_0x592e('0x75')](_0x364c37),_0x1f90af=_0x230e7[_0x592e('0x49')](_0x364c37),_0x1cff88={'startRow':_0x439793[_0x592e('0x5c')],'endRow':_0x439793[_0x592e('0x2')],'startColumn':_0x1f90af[_0x592e('0x5c')],'endColumn':_0x1f90af[_0x592e('0x2')]};return 0x1==_0x364c37[_0x592e('0x3a')]&&(_0x1cff88[_0x592e('0x83')]+=_0x230e7[_0x592e('0x50')](_0x496bbc)-0x1,_0x1cff88['endColumn']+=_0x230e7['getColumns'](_0x496bbc)-0x1),fe(_0x5c1169,_0x1cff88,_0x230e7);}(_0x24a0fb,_0xb91480,_0x5cf732[_0x592e('0x4e')],_0x396263,_0x198d07)&&(_0x35963f[_0x592e('0x38')](),_0x3507a7={'cells':[],'insertionRanges':[],'deletionRanges':[],'rowInsertionRanges':[],'rowInsertionIndexes':[],'columnInsertionRanges':[],'columnInsertionIndexes':[]},_0x5cf732[_0x592e('0x4e')][_0x592e('0x3b')](()=>{_0x5cf732['model'][_0x592e('0x39')](_0x3e13bd[0x0],_0x3e13bd[0x1],_0x3e13bd[0x2],{'forceDefaultExecution':!0x0});const _0x822269=_0x5695be(),{rowInsertionRanges:_0x49617c,columnInsertionRanges:_0x216184,insertionRanges:_0x33c296,deletionRanges:_0x5bc322,cells:_0x424114}=_0x3507a7;_0x49617c[_0x592e('0x3a')]&&_0x583ac9[_0x592e('0x8a')](_0x49617c,_0x592e('0x3f'),{'tablePasteChainId':_0x822269}),_0x216184[_0x592e('0x3a')]&&_0x583ac9[_0x592e('0x8a')](_0x216184,'tablePasteColumn',{'tablePasteChainId':_0x822269}),_0x33c296[_0x592e('0x3a')]&&_0x583ac9[_0x592e('0x8a')](_0x33c296,'tablePaste',{'tablePasteChainId':_0x822269,'skipNestingCheck':!0x0}),_0x5bc322[_0x592e('0x3a')]&&_0x583ac9['markMultiRangeDeletion'](_0x5bc322,_0x592e('0x7f'),{'tablePasteChainId':_0x822269,'skipNestingCheck':!0x0});const _0x127bd1=_0x583ac9[_0x592e('0x59')](_0x424114[_0x592e('0x79')](({element:_0x4f767e})=>_0x4f767e),{'formatGroupId':_0x5695be()},[],_0x592e('0x9a'),{'tablePasteChainId':_0x822269});if(_0x127bd1){const _0x210aaa=_0x127bd1[_0x592e('0xa1')](),_0x2c63fb=[];for(const {element:_0x113786,attributes:_0x179af4}of _0x424114){if(!_0x179af4)continue;const _0xbb9202=_0x5cf732['model'][_0x592e('0x11')](_0x113786),_0x167f60=_0x210aaa[_0x592e('0x97')](_0xf0c9be=>_0xf0c9be[_0x592e('0x42')]()[_0x592e('0x86')](_0xbb9202));_0x167f60&&_0x2c63fb[_0x592e('0x43')]([_0x167f60[_0x592e('0x1')],_0x179af4]);}_0x2c63fb[_0x592e('0x3a')]&&_0x127bd1['setAttribute'](_0x592e('0x0'),Object[_0x592e('0x1f')](_0x2c63fb));}_0x3507a7=null;}));},{'priority':_0x5f23f9[_0x592e('0x4f')]+0xa}),_0x5cf732[_0x592e('0x2d')][_0x592e('0x87')](_0x592e('0x57'))['on'](_0x592e('0x10'),(_0x4b1014,_0x2a463c)=>{const [_0x3e12e8,_0x3bf535,,_0x4384a2]=_0x2a463c;if(!_0x3507a7)return;_0x4b1014['stop']();const _0x27b064=_0x3e12e8[_0x592e('0x70')],_0x53079c=_0x3bf535,_0x3976aa=ce(_0x27b064),_0x4c551f=ce(_0x53079c);_0x4b1014['return']=_0x27b064;let _0x1fa908=null,_0x7f1b58=null;if(_0x4c551f||_0x3976aa){if(_0x3976aa&&!_0x4c551f){_0x4384a2['remove'](_0x27b064[_0x592e('0x6a')](0x0));for(const _0x301d28 of Array[_0x592e('0x12')](_0x53079c[_0x592e('0x7')]()))_0x4384a2['insert'](_0x301d28,_0x27b064,_0x592e('0xf'));const _0x3d9037=_0x3507a7[_0x592e('0x7a')]['includes'](_0x3e12e8[_0x592e('0x95')]),_0x53aec4=_0x3507a7[_0x592e('0x4a')][_0x592e('0x1e')](_0x3e12e8[_0x592e('0x21')]);_0x3d9037||_0x53aec4||(_0x1fa908=_0x4384a2[_0x592e('0x71')](_0x27b064));}else _0x4c551f&&!_0x3976aa&&(_0x7f1b58=_0x4384a2[_0x592e('0x71')](_0x27b064));}else{const _0x4dea28=_0x4384a2[_0x592e('0x81')]('tableCellSuggestion'),_0x597d97=_0x4384a2['createElement'](_0x592e('0x60'));_0x4384a2['wrap'](_0x4384a2['createRangeIn'](_0x27b064),_0x597d97),_0x4384a2[_0x592e('0x5')](_0x4dea28,_0x27b064,0x0);for(const _0xc2f142 of Array[_0x592e('0x12')](_0x53079c[_0x592e('0x7')]()))_0x4384a2['insert'](_0xc2f142,_0x4dea28,_0x592e('0xf'));_0x1fa908=_0x4384a2[_0x592e('0x11')](_0x4dea28),_0x7f1b58=_0x4384a2[_0x592e('0x11')](_0x597d97);}const _0x27a7ae=Array[_0x592e('0x12')](_0x53079c['getAttributes']())[_0x592e('0x8b')](([_0x3a01ce])=>le['includes'](_0x3a01ce));_0x3507a7['cells'][_0x592e('0x43')]({'element':_0x27b064,'attributes':_0x27a7ae[_0x592e('0x3a')]?Object[_0x592e('0x1f')](_0x27a7ae):null}),_0x1fa908&&_0x3507a7[_0x592e('0x16')][_0x592e('0x43')](_0x1fa908),_0x7f1b58&&_0x3507a7[_0x592e('0x5d')][_0x592e('0x43')](_0x7f1b58);},{'priority':_0x592e('0x4f')}),_0x396263['on']('insertColumns',(_0x1e15c3,_0x8c9046)=>{const [_0xd213c5,_0x1b802d={}]=_0x8c9046;if(!_0x3507a7)return;const _0x556f0b=_0x1b802d['at']||0x0,_0xe05186=_0x1b802d[_0x592e('0x69')]||0x1;_0x3507a7[_0x592e('0x4a')]=new Array(_0xe05186)[_0x592e('0x6e')](_0x556f0b)['map']((_0x484668,_0x2a86aa)=>_0x484668+_0x2a86aa);for(const {cell:_0x13837b}of _0x396263[_0x592e('0x4')](_0xd213c5,{'startColumn':_0x556f0b,'endColumn':_0x556f0b+_0xe05186-0x1}))_0x3507a7['columnInsertionRanges'][_0x592e('0x43')](_0x5cf732[_0x592e('0x4e')]['createRangeOn'](_0x13837b));},{'priority':_0x592e('0x85')}),_0x396263['on'](_0x592e('0x63'),(_0x52eead,_0x424e5b)=>{const [_0x32a576,_0x18ec98={}]=_0x424e5b;if(!_0x3507a7)return;const _0x1fa2b0=_0x18ec98['at']||0x0,_0x547045=_0x18ec98['rows']||0x1;_0x3507a7['rowInsertionIndexes']=new Array(_0x547045)['fill'](_0x1fa2b0)['map']((_0x43214a,_0x5af7ce)=>_0x43214a+_0x5af7ce);for(const {cell:_0x4ce81c}of _0x396263[_0x592e('0x4')](_0x32a576,{'startRow':_0x1fa2b0,'endRow':_0x1fa2b0+_0x547045-0x1}))_0x3507a7[_0x592e('0x48')][_0x592e('0x43')](_0x5cf732[_0x592e('0x4e')][_0x592e('0x11')](_0x4ce81c));},{'priority':_0x592e('0x85')}),_0x583ac9['_descriptionFactory'][_0x592e('0x78')](_0x215042=>{if(_0x215042[_0x592e('0x54')]&&_0x215042[_0x592e('0x54')]['startsWith'](_0x592e('0x7f')))return _0x215042[_0x592e('0x2a')]?{}:{'type':_0x592e('0x35'),'content':_0x520f7c(_0x5cf732[_0x592e('0x13')],'*Replace\x20table\x20cells*')};});const _0x7cc5c2=()=>{};for(const _0x1b7144 of['tablePaste',_0x592e('0x98'),_0x592e('0x3f'),_0x592e('0x9a')])_0x583ac9[_0x592e('0x6')][_0x592e('0x96')](_0x592e('0x35'),_0x1b7144,_0x592e('0x45'),_0x7cc5c2),_0x583ac9[_0x592e('0x6')][_0x592e('0x96')]('deletion',_0x1b7144,_0x592e('0x45'),_0x7cc5c2);_0x583ac9[_0x592e('0x6')][_0x592e('0x96')](_0x592e('0x44'),_0x592e('0x9a'),'discard',_0x7cc5c2),_0x583ac9[_0x592e('0x6')][_0x592e('0x96')](_0x592e('0x44'),_0x592e('0x9a'),_0x592e('0x82'),(_0x53bc82,_0x46d661,_0x1e5e92)=>{const _0x5dcc08=_0x53bc82['map'](_0x4e14fd=>_0x4e14fd[_0x592e('0x7c')]())['filter'](_0x1948bd=>_0x1948bd),_0xa8b66f=new Map(_0x5dcc08[_0x592e('0x79')](_0x77e3c7=>[_0x77e3c7,null]));if(_0x3507a7)for(const {element:_0x43f26c,attributes:_0x4ffcba}of _0x3507a7[_0x592e('0x58')])_0x4ffcba&&_0xa8b66f[_0x592e('0x64')](_0x43f26c,_0x4ffcba);else{if(_0x1e5e92&&_0x1e5e92[_0x592e('0x0')])for(const [_0x5c147b,_0x45b2af]of Object[_0x592e('0x89')](_0x1e5e92[_0x592e('0x0')])){const _0x2dd9a3=_0x5cf732[_0x592e('0x4e')]['markers']['get'](_0x5c147b),_0x5a4d59=_0x2dd9a3?_0x2dd9a3[_0x592e('0x42')]()[_0x592e('0x7c')]():null;_0x5a4d59&&_0xa8b66f[_0x592e('0x64')](_0x5a4d59,_0x45b2af);}}_0x5cf732[_0x592e('0x4e')]['change'](_0x1e87a7=>{for(const [_0x16f18a,_0x4d4f4c]of _0xa8b66f)_0x1e87a7['setAttributes']({...ae,..._0x4d4f4c},_0x16f18a);});});const _0x62d511=(_0x174bac,_0x5d7cea)=>{_0x583ac9[_0x592e('0x6')][_0x592e('0x96')](_0x174bac,_0x592e('0x7f'),_0x5d7cea,(_0x5e3207,_0x144785,_0x7aa322)=>{_0x5cf732['model'][_0x592e('0x3b')](_0x58f083=>{const _0x234fe5=[];for(const _0x276078 of _0x5e3207){const _0x1d815=_0x276078['start'][_0x592e('0x8d')];_0x1d815['is'](_0x592e('0x36'),_0x592e('0x60'))&&_0x234fe5[_0x592e('0x43')](_0x1d815);}_0x583ac9['_suggestionFactory'][_0x592e('0x30')](_0x174bac,null,_0x5d7cea)(_0x5e3207,_0x144785,_0x7aa322);for(const _0x5afb23 of _0x234fe5)_0x592e('0x2f')!=_0x5afb23[_0x592e('0x18')][_0x592e('0x52')]&&_0x58f083['unwrap'](_0x5afb23);});});};_0x62d511(_0x592e('0x35'),'accept'),_0x62d511(_0x592e('0x35'),_0x592e('0x26')),_0x62d511(_0x592e('0x1d'),_0x592e('0x82')),_0x62d511('deletion',_0x592e('0x26')),_0x583ac9[_0x592e('0x6')][_0x592e('0x96')](_0x592e('0x35'),_0x592e('0x3f'),_0x592e('0x26'),_0x3dd4bf=>{const _0x85adf1=_0x3dd4bf['map'](_0x17520c=>_0x17520c[_0x592e('0x7c')]()),_0x238db6=_0x85adf1[0x0]['findAncestor']('table'),{minRow:_0x24b62f,maxRow:_0x3332a8}=_0xc40910[_0x592e('0x76')](_0x85adf1);_0x396263[_0x592e('0x6f')](_0x238db6,{'at':_0x24b62f,'rows':_0x3332a8-_0x24b62f+0x1});}),_0x583ac9[_0x592e('0x6')][_0x592e('0x96')](_0x592e('0x35'),_0x592e('0x98'),_0x592e('0x26'),_0xc03876=>{const _0x27cd88=_0xc03876['map'](_0xdd8659=>_0xdd8659[_0x592e('0x7c')]()),_0x355fcb=_0x27cd88[0x0][_0x592e('0xa0')](_0x592e('0x27')),{minColumn:_0xb4086b,maxColumn:_0x2a0f81}=_0xc40910[_0x592e('0x76')](_0x27cd88);_0x396263[_0x592e('0x62')](_0x355fcb,{'at':_0xb4086b,'columns':_0x2a0f81-_0xb4086b+0x1});});const _0x158b68=(_0x1d5975,_0x196297)=>{if(!_0x196297[_0x592e('0x54')]||!_0x196297[_0x592e('0x54')][_0x592e('0x4c')](_0x592e('0x7f')))return;const _0xf01fd6=_0x196297[_0x592e('0x5b')]['tablePasteChainId'],_0x2b2223=_0x583ac9[_0x592e('0x2b')]()[_0x592e('0x8b')](_0x4562e1=>_0x4562e1[_0x592e('0x67')]&&_0x4562e1['attributes']&&_0x4562e1[_0x592e('0x5b')][_0x592e('0x8f')]==_0xf01fd6);_0x2b2223['length']&&_0x196297[_0x592e('0xc')]()['length']!=_0x2b2223[_0x592e('0x3a')]&&_0x2b2223[_0x592e('0x8c')]((_0x395f91,_0x155ef6)=>(_0x395f91['next']=_0x155ef6,_0x155ef6[_0x592e('0x2a')]=_0x395f91,_0x155ef6));};function _0x2b5e33(_0x2f571c,_0x1b16ef=!0x0){const {id:_0xd533bb}=_0x583ac9[_0x592e('0xe')](_0x2f571c[_0x592e('0x7b')]),_0x32e906=[_0x592e('0x3c'),_0x592e('0xa2')],_0x17ddfa=_0x583ac9[_0x592e('0x6d')][_0x592e('0x1e')](_0x2f571c[_0x592e('0x7b')]);return _0x17ddfa&&_0x32e906[_0x592e('0x43')](_0x592e('0x6b')),{'classes':_0x32e906,'attributes':{'data-suggestion':_0xd533bb},'priority':_0x17ddfa&&_0x1b16ef?0xbc2:0xbb8};}_0x583ac9['on'](_0x592e('0x6c'),_0x158b68,{'priority':_0x592e('0x4f')}),_0x583ac9['on'](_0x592e('0x77'),_0x158b68,{'priority':_0x592e('0x4f')}),_0x5cf732[_0x592e('0x4e')][_0x592e('0x7e')][_0x592e('0x46')](()=>{let _0x2e3af5=!0x1;const _0x502de9=Array[_0x592e('0x12')](_0x5cf732[_0x592e('0x4e')][_0x592e('0x7e')][_0x592e('0x8e')][_0x592e('0x29')]());for(const {name:_0x3d7fe0,data:_0x15e0b0}of _0x502de9){const {group:_0x19bf28,type:_0xf3b4f3,id:_0x51748b}=_0x583ac9[_0x592e('0xe')](_0x3d7fe0);if(_0x592e('0x23')!=_0x19bf28||_0x592e('0x1d')!=_0xf3b4f3||_0x15e0b0[_0x592e('0x32')])continue;if(!_0x583ac9['hasSuggestion'](_0x51748b))continue;const _0x117a10=_0x583ac9[_0x592e('0x74')](_0x51748b)[_0x592e('0x47')](),_0x1212e5=_0x5cf732['plugins'][_0x592e('0x87')]('Users')['me'];for(const _0x3c7c17 of _0x583ac9[_0x592e('0x2b')]()){if(!_0x3c7c17[_0x592e('0x67')]||_0x3c7c17['author']!=_0x1212e5)continue;if('formatBlock'!=_0x3c7c17[_0x592e('0x3e')]||_0x592e('0x9a')!=_0x3c7c17['subType'])continue;if(_0x3c7c17[_0x592e('0x47')]()[_0x592e('0x4b')](_0x24e8ff=>_0x117a10[_0x592e('0x22')](_0x1bd53f=>_0x1bd53f[_0x592e('0x65')](_0x24e8ff,!0x0))))for(const _0x1263f9 of _0x3c7c17[_0x592e('0xc')]())_0x1263f9[_0x592e('0x67')]&&(_0x1263f9[_0x592e('0x26')](),_0x2e3af5=!0x0);}}return _0x2e3af5;}),_0x5cf732[_0x592e('0x4e')][_0x592e('0x7e')][_0x592e('0x46')](_0x1aed86=>{const _0x51e5a5=_0x5cf732[_0x592e('0x9')][_0x592e('0x87')](_0x592e('0x9b'));if(!_0x51e5a5||!_0x51e5a5[_0x592e('0x80')]['has'](_0x1aed86[_0x592e('0x56')]))return!0x1;let _0xa7035=!0x1;const _0x3af96a=_0x5cf732[_0x592e('0x2d')][_0x592e('0x87')]('Users')['me'],_0x1890ac=_0x5cf732[_0x592e('0x4e')][_0x592e('0x7e')]['differ'][_0x592e('0x31')](),_0x13bb7b=Array[_0x592e('0x12')](_0x5cf732[_0x592e('0x4e')]['document'][_0x592e('0x8e')][_0x592e('0x29')]())[_0x592e('0x8b')](({name:_0x45ae14,data:_0x2907d2})=>{const {group:_0x3dc91d,subType:_0x34f7b5,authorId:_0x315917}=_0x583ac9[_0x592e('0xe')](_0x45ae14);return _0x592e('0x23')==_0x3dc91d&&'tablePaste'==_0x34f7b5&&_0x315917==_0x3af96a['id']&&!_0x2907d2['oldRange'];});for(const _0x928aaa of _0x1890ac){if(_0x592e('0x5')!=_0x928aaa[_0x592e('0x3e')]||_0x592e('0x60')!=_0x928aaa[_0x592e('0x1')]||0x1!=_0x928aaa[_0x592e('0x3a')])continue;const _0x1696ac=_0x1aed86[_0x592e('0x4d')](_0x928aaa[_0x592e('0x94')],_0x928aaa['position']['getShiftedBy'](0x1));if(!_0x13bb7b[_0x592e('0x97')](({data:_0x1fdc92})=>_0x1fdc92[_0x592e('0xb')]['isEqual'](_0x1696ac)))for(const {name:_0x561181,data:_0x3d774c}of _0x13bb7b)if(_0x1696ac[_0x592e('0x65')](_0x3d774c[_0x592e('0xb')])){_0x1aed86[_0x592e('0x9c')](_0x561181,{'range':_0x1696ac}),_0xa7035=!0x0;break;}}return _0xa7035;}),_0x5cf732[_0x592e('0x4e')][_0x592e('0x7e')][_0x592e('0x46')](_0x56a4d4=>{let _0xa26b93=!0x1;const _0x53b48a=_0x5cf732[_0x592e('0x2d')][_0x592e('0x87')]('Users')['me'],_0x260df4=_0x583ac9[_0x592e('0x2b')]()[_0x592e('0x8b')](_0x5aedcd=>_0x5aedcd[_0x592e('0x67')]&&_0x5aedcd[_0x592e('0x15')]==_0x53b48a),_0x1bb60e=new Set(),_0xd44512=new Set();for(const _0x5dafb7 of _0x260df4)if(_0x592e('0x7f')==_0x5dafb7[_0x592e('0x54')])for(const _0x32589c of _0x5dafb7[_0x592e('0xa1')]()){const _0x5b3223=_0x32589c[_0x592e('0x42')]()[_0x592e('0x7c')]();if(_0x5b3223){if(_0x5b3223['is']('element',_0x592e('0x60'))&&ce(_0x5b3223)){_0x5dafb7[_0x592e('0x91')](_0x32589c['name']),_0x1bb60e[_0x592e('0x40')](_0x5b3223),_0xa26b93=!0x0;const _0x507897=_0x5b3223[_0x592e('0xd')],_0x524edf=_0x5b3223[_0x592e('0x9f')],_0x3f51bb=_0x507897&&_0x507897['is']('element',_0x592e('0x60')),_0x48fe3b=_0x524edf&&_0x524edf['is']('element',_0x592e('0x60'));_0x3f51bb&&!_0x1bb60e[_0x592e('0x2e')](_0x507897)&&_0xd44512[_0x592e('0x40')](_0x507897),_0x48fe3b&&!_0x1bb60e[_0x592e('0x2e')](_0x524edf)&&_0xd44512[_0x592e('0x40')](_0x524edf);}else _0x5b3223['is'](_0x592e('0x36'),'paragraph')&&_0x5b3223[_0x592e('0x93')]&&(_0x5dafb7[_0x592e('0x91')](_0x32589c['name']),_0xa26b93=!0x0);}}else{if('tablePasteCell'==_0x5dafb7[_0x592e('0x54')]){if(!_0x5dafb7[_0x592e('0x5b')]||!_0x5dafb7[_0x592e('0x5b')][_0x592e('0x8f')])continue;const _0x4a49b5=_0x5dafb7[_0x592e('0x5b')][_0x592e('0x0')];if(_0x4a49b5&&Object[_0x592e('0x51')](_0x4a49b5)['length'])continue;const _0x4fb6af=_0x5dafb7[_0x592e('0x5b')][_0x592e('0x8f')];let _0x5e1cc1=!0x0,_0xc336a6=!0x0;for(const _0x3a453b of _0x260df4)if(_0x3a453b['subType']&&_0x3a453b[_0x592e('0x54')]['startsWith'](_0x592e('0x7f'))){if(!_0x3a453b['attributes'][_0x592e('0x8f')]){_0xc336a6=!0x1;break;}if(_0x3a453b['id']!=_0x5dafb7['id']&&_0x3a453b[_0x592e('0x5b')][_0x592e('0x8f')]==_0x4fb6af){_0x5e1cc1=!0x1;break;}}_0xc336a6&&_0x5e1cc1&&(_0x5dafb7['removeMarkers'](),_0xa26b93=!0x0);}}for(const _0x3e7d3a of _0x1bb60e)_0x56a4d4['remove'](_0x3e7d3a);for(const _0x11359e of _0xd44512)_0x56a4d4[_0x592e('0x72')](_0x11359e);return _0xa26b93;}),_0x5cf732[_0x592e('0x24')][_0x592e('0xa3')](_0x592e('0x84'))[_0x592e('0x9d')]({'model':_0x592e('0x99'),'view':(_0x520824,_0x4f252d)=>_0x2b5e33(_0x520824),'converterPriority':_0x592e('0x4f')}),_0x5cf732[_0x592e('0x24')][_0x592e('0xa3')](_0x592e('0x92'))[_0x592e('0x9d')]({'model':'suggestion:formatBlock:tablePasteCell','view':(_0x4fa193,_0x169795)=>_0x169795[_0x592e('0x33')]['showSuggestionHighlights']?_0x2b5e33(_0x4fa193,!0x1):null,'converterPriority':_0x592e('0x4f')});const _0x2a22e0=_0x5cf732[_0x592e('0xa4')][_0x592e('0x19')];this[_0x592e('0x5e')](_0x2a22e0[_0x592e('0x7e')],_0x592e('0x68'),(_0x463152,_0x32c9a4)=>{const _0x29159a=[];for(const _0x764154 of _0x2a22e0['createRangeIn'](_0x32c9a4['content'])[_0x592e('0x61')]())_0x764154['is'](_0x592e('0x36'),'suggestion-td')&&_0x29159a[_0x592e('0x43')](_0x764154);_0x2a22e0['change'](_0x4216ae=>{for(const _0x18d383 of _0x29159a)_0x4216ae[_0x592e('0x28')](_0x4216ae[_0x592e('0x71')](_0x18d383),_0x4216ae[_0x592e('0x2c')](_0x18d383)),_0x4216ae[_0x592e('0x34')](_0x18d383);});});}}function ce(_0x38d5cc){if(_0x38d5cc['isEmpty'])return!0x0;const _0x40faed=_0x38d5cc[_0x592e('0x6a')](0x0);return _0x40faed['is'](_0x592e('0x36'),_0x592e('0x14'))&&_0x40faed['isEmpty'];}function fe(_0x1d5b5e,_0x1eb265={},_0x490f24){for(const {isAnchor:_0x44dedc,cellHeight:_0x8d40d5,cellWidth:_0x45bb6a}of _0x490f24[_0x592e('0x4')](_0x1d5b5e,{'includeAllSlots':!0x0,..._0x1eb265}))if(!_0x44dedc||0x1!=_0x8d40d5||0x1!=_0x45bb6a)return!0x1;return!0x0;}
23
+ const _0x1455=['getSuggestionCallback','discard','add','_descriptionFactory','differ','getAllAdjacentSuggestions','map','nodeAfter','tablePasteRow','rootName','documentSelection','insertContent','tablePasteColumn','getTableIfOnlyTableInContent','document','plugins','getRows','registerPostFixer','subType','TableClipboard','model','table','getShiftedBy','_createdBatches','$graveyard','createRange','getRanges','_suggestionFactory','createRangeIn','getChanges','activeMarkers','startsWith','ck-suggestion-marker','join','conversion','move','getRowIndexes','newRange','insertion','getChildren','isInContent','tablePasteCell','getMarkers','registerCustomCallback','tablePaste','tableCellBackgroundColor','includes','getChild','suggestion','find','type','trackChanges','last','start','content','isEqual','listenTo','isEmpty','push','markerAttributes','_replaceTableSlotCell','insertionRanges','name','endColumn','updateMarker','clipboardOutput','redo','getColumns','column','entries','createRangeOn','locale','tableCellBorderColor','deletion','position','paragraph','tableCellVerticalAlignment','removeMarker','suggestion:formatBlock:tablePasteCell','value','findAncestor','tablePasteChainId','_splitMarkerName','editor','root','*Replace\x20table\x20cells*','accept','markerToHighlight','oldRange','tableCellBorderStyle','tableCellPadding','setAttribute','register','_getCoordsForCells','end','tableCellSuggestion','cells','insertColumns','formatBlock','stop','markMultiRangeDeletion','getSelectionAffectedTableCells','getSuggestions','change','every','createTableWalker','for','endRow','has','keys','row','reduce','tableCell','return','TableUtils','tableCellHorizontalAlignment','requires','columnInsertionRanges','high','schema','createElement','insertRows','some','getRange','batch','removeMarkers','deletionRanges','columns','hasSuggestion','remove','markMultiRangeBlockFormat','unwrap','tableCellBorderWidth','getColumnIndexes','attributes','element','TrackChangesEditing','filter','markers','rowInsertionIndexes','_tablePostFixingSubtypes','getAttributes','columnInsertionIndexes','ck-suggestion-marker-insertion','markerName','fill','getContainedElement','author','rowInsertionRanges','get','insert','cell','editing','Users','commands','markMultiRangeInsertion','first','set','next','length','suggestion-td','suggestionUnloaded','from'];(function(_0x31942a,_0x14556d){const _0x1ac331=function(_0x505ff0){while(--_0x505ff0){_0x31942a['push'](_0x31942a['shift']());}};_0x1ac331(++_0x14556d);}(_0x1455,0x70));const _0x1ac3=function(_0x31942a,_0x14556d){_0x31942a=_0x31942a-0x0;let _0x1ac331=_0x1455[_0x31942a];return _0x1ac331;};import{getTranslation as _0x5c1ad8}from'../utils/common-translations';import{Plugin as _0x5da337}from'ckeditor5/src/core';import{uid as _0x118951,priorities as _0x4fc36d}from'ckeditor5/src/utils';import _0x284242 from'./table';const le=[_0x1ac3('0x14'),_0x1ac3('0x7b'),_0x1ac3('0x8c'),_0x1ac3('0x3'),_0x1ac3('0x7f'),_0x1ac3('0x60'),_0x1ac3('0x8d')],ae=Object['fromEntries'](le[_0x1ac3('0x39')](_0x224a30=>[_0x224a30,null]));export default class kt extends _0x5da337{static get[_0x1ac3('0x4')](){return[_0x284242];}['afterInit'](){const _0x3fd9f6=this[_0x1ac3('0x86')];if(!_0x3fd9f6[_0x1ac3('0x42')]['has'](_0x1ac3('0x46')))return;const _0x8ff44a=_0x3fd9f6['plugins'][_0x1ac3('0x25')](_0x1ac3('0x18')),_0x1bf8e0=_0x3fd9f6[_0x1ac3('0x42')][_0x1ac3('0x25')](_0x1ac3('0x2')),_0x559c5c=_0x3fd9f6[_0x1ac3('0x42')][_0x1ac3('0x25')](_0x284242),_0xe11fcb=_0x3fd9f6['plugins'][_0x1ac3('0x25')](_0x1ac3('0x46'));_0x559c5c[_0x1ac3('0x1c')][_0x1ac3('0x6d')](_0x1ac3('0x3b'),_0x1ac3('0x3f')),_0x3fd9f6[_0x1ac3('0x47')][_0x1ac3('0x7')][_0x1ac3('0x8f')]('tableCellSuggestion',{'allowIn':_0x1ac3('0x0'),'allowContentOf':_0x1ac3('0x0'),'isLimit':!0x0}),_0x3fd9f6[_0x1ac3('0x55')]['elementToElement']({'model':'tableCellSuggestion','view':_0x1ac3('0x30')});let _0x1ba689=null;_0x3fd9f6[_0x1ac3('0x47')]['on'](_0x1ac3('0x3e'),(_0x3b73c1,_0x135598)=>{const [_0x3fc577,_0x517739]=_0x135598,_0xcc7e86=_0x135598[_0x135598[_0x1ac3('0x2f')]-0x1];_0xcc7e86&&_0xcc7e86['forceDefaultExecution']||_0x8ff44a['_isForcedDefaultExecutionBlock']||this[_0x1ac3('0x86')][_0x1ac3('0x2a')][_0x1ac3('0x25')](_0x1ac3('0x66'))[_0x1ac3('0x82')]&&function(_0x32e474,_0x6b604e,_0x205626,_0xb5115e,_0x5e5051){if(_0x6b604e&&!_0x6b604e['is'](_0x1ac3('0x3d')))return!0x1;const _0x53288e=_0x5e5051[_0x1ac3('0x40')](_0x32e474,_0x205626);if(!_0x53288e||!fe(_0x53288e,void 0x0,_0xb5115e))return!0x1;const _0x54349d=_0xb5115e[_0x1ac3('0x98')](_0x205626[_0x1ac3('0x41')]['selection']);if(!_0x54349d[_0x1ac3('0x2f')])return!0x1;const _0x47a49e=_0x54349d[0x0][_0x1ac3('0x83')](_0x1ac3('0x48')),_0x407400=_0xb5115e[_0x1ac3('0x57')](_0x54349d),_0xdfcf92=_0xb5115e[_0x1ac3('0x15')](_0x54349d),_0x595bb7={'startRow':_0x407400[_0x1ac3('0x2c')],'endRow':_0x407400[_0x1ac3('0x67')],'startColumn':_0xdfcf92[_0x1ac3('0x2c')],'endColumn':_0xdfcf92[_0x1ac3('0x67')]};return 0x1==_0x54349d[_0x1ac3('0x2f')]&&(_0x595bb7[_0x1ac3('0x9e')]+=_0xb5115e[_0x1ac3('0x43')](_0x53288e)-0x1,_0x595bb7[_0x1ac3('0x72')]+=_0xb5115e[_0x1ac3('0x76')](_0x53288e)-0x1),fe(_0x47a49e,_0x595bb7,_0xb5115e);}(_0x3fc577,_0x517739,_0x3fd9f6[_0x1ac3('0x47')],_0x1bf8e0,_0xe11fcb)&&(_0x3b73c1[_0x1ac3('0x96')](),_0x1ba689={'cells':[],'insertionRanges':[],'deletionRanges':[],'rowInsertionRanges':[],'rowInsertionIndexes':[],'columnInsertionRanges':[],'columnInsertionIndexes':[]},_0x3fd9f6[_0x1ac3('0x47')]['change'](()=>{_0x3fd9f6['model']['insertContent'](_0x135598[0x0],_0x135598[0x1],_0x135598[0x2],{'forceDefaultExecution':!0x0});const _0x4f51c3=_0x118951(),{rowInsertionRanges:_0x4488d7,columnInsertionRanges:_0x254506,insertionRanges:_0x25d3bb,deletionRanges:_0x4e91cc,cells:_0x581b3d}=_0x1ba689;_0x4488d7['length']&&_0x8ff44a[_0x1ac3('0x2b')](_0x4488d7,_0x1ac3('0x3b'),{'tablePasteChainId':_0x4f51c3}),_0x254506['length']&&_0x8ff44a[_0x1ac3('0x2b')](_0x254506,'tablePasteColumn',{'tablePasteChainId':_0x4f51c3}),_0x25d3bb[_0x1ac3('0x2f')]&&_0x8ff44a['markMultiRangeInsertion'](_0x25d3bb,'tablePaste',{'tablePasteChainId':_0x4f51c3,'skipNestingCheck':!0x0}),_0x4e91cc[_0x1ac3('0x2f')]&&_0x8ff44a[_0x1ac3('0x97')](_0x4e91cc,'tablePaste',{'tablePasteChainId':_0x4f51c3,'skipNestingCheck':!0x0});const _0x2d8975=_0x8ff44a[_0x1ac3('0x12')](_0x581b3d[_0x1ac3('0x39')](({element:_0x4da7b2})=>_0x4da7b2),{'formatGroupId':_0x118951()},[],_0x1ac3('0x5c'),{'tablePasteChainId':_0x4f51c3});if(_0x2d8975){const _0x151326=_0x2d8975['getMarkers'](),_0x3978c9=[];for(const {element:_0x57fdbb,attributes:_0x4af227}of _0x581b3d){if(!_0x4af227)continue;const _0x23b1bd=_0x3fd9f6[_0x1ac3('0x47')][_0x1ac3('0x79')](_0x57fdbb),_0x86f5ba=_0x151326['find'](_0x2a9cae=>_0x2a9cae[_0x1ac3('0xb')]()[_0x1ac3('0x6a')](_0x23b1bd));_0x86f5ba&&_0x3978c9['push']([_0x86f5ba[_0x1ac3('0x71')],_0x4af227]);}_0x3978c9['length']&&_0x2d8975[_0x1ac3('0x8e')](_0x1ac3('0x6e'),Object['fromEntries'](_0x3978c9));}_0x1ba689=null;}));},{'priority':_0x4fc36d[_0x1ac3('0x6')]+0xa}),_0x3fd9f6[_0x1ac3('0x42')]['get'](_0x1ac3('0x46'))['on'](_0x1ac3('0x6f'),(_0x2622ae,_0x172838)=>{const [_0x363878,_0x285343,,_0x116f09]=_0x172838;if(!_0x1ba689)return;_0x2622ae[_0x1ac3('0x96')]();const _0x1f3568=_0x363878[_0x1ac3('0x27')],_0x457b8d=_0x285343,_0x40d089=ce(_0x1f3568),_0x13ec4c=ce(_0x457b8d);_0x2622ae[_0x1ac3('0x1')]=_0x1f3568;let _0x54c5a1=null,_0x4b7d12=null;if(_0x13ec4c||_0x40d089){if(_0x40d089&&!_0x13ec4c){_0x116f09[_0x1ac3('0x11')](_0x1f3568[_0x1ac3('0x62')](0x0));for(const _0x1a3860 of Array[_0x1ac3('0x32')](_0x457b8d[_0x1ac3('0x5a')]()))_0x116f09[_0x1ac3('0x26')](_0x1a3860,_0x1f3568,_0x1ac3('0x91'));const _0x5dd153=_0x1ba689[_0x1ac3('0x1b')][_0x1ac3('0x61')](_0x363878[_0x1ac3('0xa1')]),_0x6e186b=_0x1ba689['columnInsertionIndexes']['includes'](_0x363878[_0x1ac3('0x77')]);_0x5dd153||_0x6e186b||(_0x54c5a1=_0x116f09[_0x1ac3('0x4f')](_0x1f3568));}else _0x13ec4c&&!_0x40d089&&(_0x4b7d12=_0x116f09[_0x1ac3('0x4f')](_0x1f3568));}else{const _0x1f2673=_0x116f09[_0x1ac3('0x8')]('tableCellSuggestion'),_0x4de3e7=_0x116f09[_0x1ac3('0x8')](_0x1ac3('0x92'));_0x116f09['wrap'](_0x116f09[_0x1ac3('0x4f')](_0x1f3568),_0x4de3e7),_0x116f09['insert'](_0x1f2673,_0x1f3568,0x0);for(const _0x4849fe of Array[_0x1ac3('0x32')](_0x457b8d[_0x1ac3('0x5a')]()))_0x116f09[_0x1ac3('0x26')](_0x4849fe,_0x1f2673,'end');_0x54c5a1=_0x116f09[_0x1ac3('0x79')](_0x1f2673),_0x4b7d12=_0x116f09[_0x1ac3('0x79')](_0x4de3e7);}const _0x34148a=Array['from'](_0x457b8d[_0x1ac3('0x1d')]())['filter'](([_0x2f3aa2])=>le['includes'](_0x2f3aa2));_0x1ba689[_0x1ac3('0x93')][_0x1ac3('0x6d')]({'element':_0x1f3568,'attributes':_0x34148a[_0x1ac3('0x2f')]?Object['fromEntries'](_0x34148a):null}),_0x54c5a1&&_0x1ba689[_0x1ac3('0x70')][_0x1ac3('0x6d')](_0x54c5a1),_0x4b7d12&&_0x1ba689[_0x1ac3('0xe')][_0x1ac3('0x6d')](_0x4b7d12);},{'priority':_0x1ac3('0x6')}),_0x1bf8e0['on'](_0x1ac3('0x94'),(_0x171f50,_0x484c59)=>{const [_0x12c73b,_0x491b2a={}]=_0x484c59;if(!_0x1ba689)return;const _0x2938fb=_0x491b2a['at']||0x0,_0xab91eb=_0x491b2a[_0x1ac3('0xf')]||0x1;_0x1ba689[_0x1ac3('0x1e')]=new Array(_0xab91eb)[_0x1ac3('0x21')](_0x2938fb)[_0x1ac3('0x39')]((_0xeab7b,_0x1703e5)=>_0xeab7b+_0x1703e5);for(const {cell:_0x382ffd}of _0x1bf8e0[_0x1ac3('0x9c')](_0x12c73b,{'startColumn':_0x2938fb,'endColumn':_0x2938fb+_0xab91eb-0x1}))_0x1ba689[_0x1ac3('0x5')][_0x1ac3('0x6d')](_0x3fd9f6[_0x1ac3('0x47')][_0x1ac3('0x79')](_0x382ffd));},{'priority':'low'}),_0x1bf8e0['on'](_0x1ac3('0x9'),(_0x12ea34,_0x2ac1b5)=>{const [_0x4eff76,_0xf2d78a={}]=_0x2ac1b5;if(!_0x1ba689)return;const _0xbd6123=_0xf2d78a['at']||0x0,_0x4cc35d=_0xf2d78a['rows']||0x1;_0x1ba689[_0x1ac3('0x1b')]=new Array(_0x4cc35d)['fill'](_0xbd6123)[_0x1ac3('0x39')]((_0x2a52cb,_0x177fc6)=>_0x2a52cb+_0x177fc6);for(const {cell:_0x2b5779}of _0x1bf8e0['createTableWalker'](_0x4eff76,{'startRow':_0xbd6123,'endRow':_0xbd6123+_0x4cc35d-0x1}))_0x1ba689[_0x1ac3('0x24')][_0x1ac3('0x6d')](_0x3fd9f6[_0x1ac3('0x47')][_0x1ac3('0x79')](_0x2b5779));},{'priority':'low'}),_0x8ff44a[_0x1ac3('0x36')]['registerDescriptionCallback'](_0x5e225e=>{if(_0x5e225e[_0x1ac3('0x45')]&&_0x5e225e[_0x1ac3('0x45')][_0x1ac3('0x52')](_0x1ac3('0x5f')))return _0x5e225e['previous']?{}:{'type':_0x1ac3('0x59'),'content':_0x5c1ad8(_0x3fd9f6[_0x1ac3('0x7a')],_0x1ac3('0x88'))};});const _0x1c1a05=()=>{};for(const _0x997a9c of[_0x1ac3('0x5f'),'tablePasteColumn','tablePasteRow',_0x1ac3('0x5c')])_0x8ff44a[_0x1ac3('0x4e')][_0x1ac3('0x5e')](_0x1ac3('0x59'),_0x997a9c,_0x1ac3('0x54'),_0x1c1a05),_0x8ff44a[_0x1ac3('0x4e')][_0x1ac3('0x5e')](_0x1ac3('0x7c'),_0x997a9c,_0x1ac3('0x54'),_0x1c1a05);_0x8ff44a['_suggestionFactory'][_0x1ac3('0x5e')](_0x1ac3('0x95'),'tablePasteCell',_0x1ac3('0x34'),_0x1c1a05),_0x8ff44a[_0x1ac3('0x4e')][_0x1ac3('0x5e')](_0x1ac3('0x95'),'tablePasteCell',_0x1ac3('0x89'),(_0xe91c0b,_0x4d8930,_0x4086cf)=>{const _0x562a3c=_0xe91c0b[_0x1ac3('0x39')](_0x2a1708=>_0x2a1708['getContainedElement']())[_0x1ac3('0x19')](_0x422ad5=>_0x422ad5),_0x5c9341=new Map(_0x562a3c[_0x1ac3('0x39')](_0x106eb9=>[_0x106eb9,null]));if(_0x1ba689)for(const {element:_0x34f0df,attributes:_0x19a5ce}of _0x1ba689[_0x1ac3('0x93')])_0x19a5ce&&_0x5c9341[_0x1ac3('0x2d')](_0x34f0df,_0x19a5ce);else{if(_0x4086cf&&_0x4086cf['markerAttributes'])for(const [_0xdaeec6,_0x55f74a]of Object[_0x1ac3('0x78')](_0x4086cf['markerAttributes'])){const _0x417c54=_0x3fd9f6[_0x1ac3('0x47')][_0x1ac3('0x1a')][_0x1ac3('0x25')](_0xdaeec6),_0x973206=_0x417c54?_0x417c54[_0x1ac3('0xb')]()[_0x1ac3('0x22')]():null;_0x973206&&_0x5c9341[_0x1ac3('0x2d')](_0x973206,_0x55f74a);}}_0x3fd9f6[_0x1ac3('0x47')]['change'](_0xdf8217=>{for(const [_0x33b95b,_0xb9f376]of _0x5c9341)_0xdf8217['setAttributes']({...ae,..._0xb9f376},_0x33b95b);});});const _0x3f0c5b=(_0x53a69d,_0xb7f409)=>{_0x8ff44a[_0x1ac3('0x4e')][_0x1ac3('0x5e')](_0x53a69d,_0x1ac3('0x5f'),_0xb7f409,(_0x5cba3e,_0x544bbb,_0x532c57)=>{_0x3fd9f6[_0x1ac3('0x47')][_0x1ac3('0x9a')](_0x1d0301=>{const _0x266738=[];for(const _0x2e748e of _0x5cba3e){const _0x1eb932=_0x2e748e[_0x1ac3('0x68')][_0x1ac3('0x3a')];_0x1eb932['is'](_0x1ac3('0x17'),'tableCellSuggestion')&&_0x266738[_0x1ac3('0x6d')](_0x1eb932);}_0x8ff44a[_0x1ac3('0x4e')][_0x1ac3('0x33')](_0x53a69d,null,_0xb7f409)(_0x5cba3e,_0x544bbb,_0x532c57);for(const _0x1f2168 of _0x266738)_0x1ac3('0x4b')!=_0x1f2168[_0x1ac3('0x87')][_0x1ac3('0x3c')]&&_0x1d0301['unwrap'](_0x1f2168);});});};_0x3f0c5b(_0x1ac3('0x59'),'accept'),_0x3f0c5b(_0x1ac3('0x59'),_0x1ac3('0x34')),_0x3f0c5b(_0x1ac3('0x7c'),_0x1ac3('0x89')),_0x3f0c5b(_0x1ac3('0x7c'),_0x1ac3('0x34')),_0x8ff44a[_0x1ac3('0x4e')][_0x1ac3('0x5e')](_0x1ac3('0x59'),_0x1ac3('0x3b'),_0x1ac3('0x34'),_0x17541e=>{const _0x41542f=_0x17541e[_0x1ac3('0x39')](_0x53c384=>_0x53c384[_0x1ac3('0x22')]()),_0x25a709=_0x41542f[0x0]['findAncestor']('table'),{minRow:_0x4327fc,maxRow:_0xd34720}=_0x559c5c['_getCoordsForCells'](_0x41542f);_0x1bf8e0['removeRows'](_0x25a709,{'at':_0x4327fc,'rows':_0xd34720-_0x4327fc+0x1});}),_0x8ff44a[_0x1ac3('0x4e')][_0x1ac3('0x5e')](_0x1ac3('0x59'),'tablePasteColumn','discard',_0x472684=>{const _0x5f5bdf=_0x472684['map'](_0x4b7bdc=>_0x4b7bdc[_0x1ac3('0x22')]()),_0x2d509f=_0x5f5bdf[0x0][_0x1ac3('0x83')]('table'),{minColumn:_0x4ccbc5,maxColumn:_0x1b930e}=_0x559c5c[_0x1ac3('0x90')](_0x5f5bdf);_0x1bf8e0['removeColumns'](_0x2d509f,{'at':_0x4ccbc5,'columns':_0x1b930e-_0x4ccbc5+0x1});});const _0x5638e7=(_0x47d5ce,_0x207be4)=>{if(!_0x207be4[_0x1ac3('0x45')]||!_0x207be4[_0x1ac3('0x45')][_0x1ac3('0x52')](_0x1ac3('0x5f')))return;const _0x1643fd=_0x207be4[_0x1ac3('0x16')][_0x1ac3('0x84')],_0x3f8e0e=_0x8ff44a[_0x1ac3('0x99')]()[_0x1ac3('0x19')](_0xc01e6b=>_0xc01e6b[_0x1ac3('0x5b')]&&_0xc01e6b[_0x1ac3('0x16')]&&_0xc01e6b['attributes']['tablePasteChainId']==_0x1643fd);_0x3f8e0e[_0x1ac3('0x2f')]&&_0x207be4[_0x1ac3('0x38')]()['length']!=_0x3f8e0e['length']&&_0x3f8e0e[_0x1ac3('0xa2')]((_0x487ff2,_0x4a8244)=>(_0x487ff2[_0x1ac3('0x2e')]=_0x4a8244,_0x4a8244['previous']=_0x487ff2,_0x4a8244));};function _0x37dfc3(_0x33be17,_0x34b028=!0x0){const {id:_0x360f87}=_0x8ff44a[_0x1ac3('0x85')](_0x33be17[_0x1ac3('0x20')]),_0x357f20=[_0x1ac3('0x53'),_0x1ac3('0x1f')],_0x374be5=_0x8ff44a[_0x1ac3('0x51')][_0x1ac3('0x61')](_0x33be17[_0x1ac3('0x20')]);return _0x374be5&&_0x357f20[_0x1ac3('0x6d')]('ck-suggestion-marker--active'),{'classes':_0x357f20,'attributes':{'data-suggestion':_0x360f87},'priority':_0x374be5&&_0x34b028?0xbc2:0xbb8};}_0x8ff44a['on']('suggestionLoaded',_0x5638e7,{'priority':_0x1ac3('0x6')}),_0x8ff44a['on'](_0x1ac3('0x31'),_0x5638e7,{'priority':_0x1ac3('0x6')}),_0x3fd9f6['model'][_0x1ac3('0x41')][_0x1ac3('0x44')](()=>{let _0x16debc=!0x1;const _0x3ab861=Array[_0x1ac3('0x32')](_0x3fd9f6[_0x1ac3('0x47')][_0x1ac3('0x41')][_0x1ac3('0x37')]['getChangedMarkers']());for(const {name:_0x3ca018,data:_0x2cb16d}of _0x3ab861){const {group:_0x2bc196,type:_0x36c8bf,id:_0xf286c7}=_0x8ff44a[_0x1ac3('0x85')](_0x3ca018);if(_0x1ac3('0x63')!=_0x2bc196||_0x1ac3('0x7c')!=_0x36c8bf||_0x2cb16d[_0x1ac3('0x8b')])continue;if(!_0x8ff44a[_0x1ac3('0x10')](_0xf286c7))continue;const _0x378640=_0x8ff44a['getSuggestion'](_0xf286c7)[_0x1ac3('0x4d')](),_0x476a0c=_0x3fd9f6[_0x1ac3('0x42')]['get'](_0x1ac3('0x29'))['me'];for(const _0x25de6b of _0x8ff44a['getSuggestions']()){if(!_0x25de6b[_0x1ac3('0x5b')]||_0x25de6b[_0x1ac3('0x23')]!=_0x476a0c)continue;if(_0x1ac3('0x95')!=_0x25de6b[_0x1ac3('0x65')]||_0x1ac3('0x5c')!=_0x25de6b[_0x1ac3('0x45')])continue;if(_0x25de6b[_0x1ac3('0x4d')]()[_0x1ac3('0x9b')](_0x2d1587=>_0x378640[_0x1ac3('0xa')](_0x12d518=>_0x12d518['containsRange'](_0x2d1587,!0x0))))for(const _0x1bbba1 of _0x25de6b[_0x1ac3('0x38')]())_0x1bbba1['isInContent']&&(_0x1bbba1[_0x1ac3('0x34')](),_0x16debc=!0x0);}}return _0x16debc;}),_0x3fd9f6[_0x1ac3('0x47')][_0x1ac3('0x41')][_0x1ac3('0x44')](_0x3e9381=>{const _0x1646ff=_0x3fd9f6[_0x1ac3('0x2a')]['get'](_0x1ac3('0x75'));if(!_0x1646ff||!_0x1646ff[_0x1ac3('0x4a')][_0x1ac3('0x9f')](_0x3e9381[_0x1ac3('0xc')]))return!0x1;let _0x3b50e9=!0x1;const _0x40bd54=_0x3fd9f6[_0x1ac3('0x42')][_0x1ac3('0x25')]('Users')['me'],_0x35a1e6=_0x3fd9f6[_0x1ac3('0x47')][_0x1ac3('0x41')][_0x1ac3('0x37')][_0x1ac3('0x50')](),_0x36d147=Array[_0x1ac3('0x32')](_0x3fd9f6['model']['document'][_0x1ac3('0x37')]['getChangedMarkers']())[_0x1ac3('0x19')](({name:_0x450491,data:_0x2cd99b})=>{const {group:_0x3b4fc7,subType:_0x43bdbf,authorId:_0x61fdb3}=_0x8ff44a['_splitMarkerName'](_0x450491);return _0x1ac3('0x63')==_0x3b4fc7&&_0x1ac3('0x5f')==_0x43bdbf&&_0x61fdb3==_0x40bd54['id']&&!_0x2cd99b['oldRange'];});for(const _0x53c025 of _0x35a1e6){if('insert'!=_0x53c025[_0x1ac3('0x65')]||_0x1ac3('0x92')!=_0x53c025[_0x1ac3('0x71')]||0x1!=_0x53c025['length'])continue;const _0x3b19f4=_0x3e9381[_0x1ac3('0x4c')](_0x53c025[_0x1ac3('0x7d')],_0x53c025[_0x1ac3('0x7d')][_0x1ac3('0x49')](0x1));if(!_0x36d147[_0x1ac3('0x64')](({data:_0x457931})=>_0x457931[_0x1ac3('0x58')][_0x1ac3('0x6a')](_0x3b19f4)))for(const {name:_0x4d97f1,data:_0x4ac20b}of _0x36d147)if(_0x3b19f4['containsRange'](_0x4ac20b['newRange'])){_0x3e9381[_0x1ac3('0x73')](_0x4d97f1,{'range':_0x3b19f4}),_0x3b50e9=!0x0;break;}}return _0x3b50e9;}),_0x3fd9f6[_0x1ac3('0x47')][_0x1ac3('0x41')]['registerPostFixer'](_0xd0a943=>{let _0x555e2f=!0x1;const _0x4a8516=_0x3fd9f6[_0x1ac3('0x42')][_0x1ac3('0x25')]('Users')['me'],_0x34609b=_0x8ff44a[_0x1ac3('0x99')]()['filter'](_0x28ddc7=>_0x28ddc7[_0x1ac3('0x5b')]&&_0x28ddc7[_0x1ac3('0x23')]==_0x4a8516),_0x11e283=new Set(),_0x28f0d1=new Set();for(const _0x4898a0 of _0x34609b)if(_0x1ac3('0x5f')==_0x4898a0[_0x1ac3('0x45')])for(const _0x353ef0 of _0x4898a0[_0x1ac3('0x5d')]()){const _0x59a17d=_0x353ef0[_0x1ac3('0xb')]()[_0x1ac3('0x22')]();if(_0x59a17d){if(_0x59a17d['is'](_0x1ac3('0x17'),_0x1ac3('0x92'))&&ce(_0x59a17d)){_0x4898a0[_0x1ac3('0x80')](_0x353ef0['name']),_0x11e283['add'](_0x59a17d),_0x555e2f=!0x0;const _0x2240e0=_0x59a17d['nextSibling'],_0x296108=_0x59a17d['previousSibling'],_0x49bc6b=_0x2240e0&&_0x2240e0['is'](_0x1ac3('0x17'),'tableCellSuggestion'),_0x49e0be=_0x296108&&_0x296108['is']('element',_0x1ac3('0x92'));_0x49bc6b&&!_0x11e283[_0x1ac3('0x9f')](_0x2240e0)&&_0x28f0d1[_0x1ac3('0x35')](_0x2240e0),_0x49e0be&&!_0x11e283[_0x1ac3('0x9f')](_0x296108)&&_0x28f0d1['add'](_0x296108);}else _0x59a17d['is'](_0x1ac3('0x17'),_0x1ac3('0x7e'))&&_0x59a17d['isEmpty']&&(_0x4898a0['removeMarker'](_0x353ef0[_0x1ac3('0x71')]),_0x555e2f=!0x0);}}else{if(_0x1ac3('0x5c')==_0x4898a0['subType']){if(!_0x4898a0[_0x1ac3('0x16')]||!_0x4898a0[_0x1ac3('0x16')][_0x1ac3('0x84')])continue;const _0x4ea0ff=_0x4898a0[_0x1ac3('0x16')][_0x1ac3('0x6e')];if(_0x4ea0ff&&Object[_0x1ac3('0xa0')](_0x4ea0ff)['length'])continue;const _0x35eaca=_0x4898a0[_0x1ac3('0x16')][_0x1ac3('0x84')];let _0x556152=!0x0,_0x202935=!0x0;for(const _0x251a66 of _0x34609b)if(_0x251a66[_0x1ac3('0x45')]&&_0x251a66[_0x1ac3('0x45')]['startsWith'](_0x1ac3('0x5f'))){if(!_0x251a66[_0x1ac3('0x16')][_0x1ac3('0x84')]){_0x202935=!0x1;break;}if(_0x251a66['id']!=_0x4898a0['id']&&_0x251a66['attributes'][_0x1ac3('0x84')]==_0x35eaca){_0x556152=!0x1;break;}}_0x202935&&_0x556152&&(_0x4898a0[_0x1ac3('0xd')](),_0x555e2f=!0x0);}}for(const _0x52e324 of _0x11e283)_0xd0a943[_0x1ac3('0x11')](_0x52e324);for(const _0x5e53ca of _0x28f0d1)_0xd0a943[_0x1ac3('0x13')](_0x5e53ca);return _0x555e2f;}),_0x3fd9f6[_0x1ac3('0x55')][_0x1ac3('0x9d')]('editingDowncast')['markerToHighlight']({'model':_0x1ac3('0x81'),'view':(_0x5229e0,_0x86ec95)=>_0x37dfc3(_0x5229e0),'converterPriority':_0x1ac3('0x6')}),_0x3fd9f6[_0x1ac3('0x55')][_0x1ac3('0x9d')]('dataDowncast')[_0x1ac3('0x8a')]({'model':'suggestion:formatBlock:tablePasteCell','view':(_0x2068c5,_0x24e595)=>_0x24e595['options']['showSuggestionHighlights']?_0x37dfc3(_0x2068c5,!0x1):null,'converterPriority':'high'});const _0x108e24=_0x3fd9f6[_0x1ac3('0x28')]['view'];this[_0x1ac3('0x6b')](_0x108e24[_0x1ac3('0x41')],_0x1ac3('0x74'),(_0x453add,_0x563647)=>{const _0x49de40=[];for(const _0x2ff477 of _0x108e24[_0x1ac3('0x4f')](_0x563647[_0x1ac3('0x69')])['getItems']())_0x2ff477['is'](_0x1ac3('0x17'),'suggestion-td')&&_0x49de40[_0x1ac3('0x6d')](_0x2ff477);_0x108e24[_0x1ac3('0x9a')](_0x4d1f8f=>{for(const _0x47162a of _0x49de40)_0x4d1f8f[_0x1ac3('0x56')](_0x4d1f8f[_0x1ac3('0x4f')](_0x47162a),_0x4d1f8f['createPositionBefore'](_0x47162a)),_0x4d1f8f[_0x1ac3('0x11')](_0x47162a);});});}}function ce(_0x1f65ae){if(_0x1f65ae['isEmpty'])return!0x0;const _0x49d741=_0x1f65ae[_0x1ac3('0x62')](0x0);return _0x49d741['is'](_0x1ac3('0x17'),_0x1ac3('0x7e'))&&_0x49d741[_0x1ac3('0x6c')];}function fe(_0x8513ae,_0x395b81={},_0x549c4b){for(const {isAnchor:_0x35b795,cellHeight:_0x59841d,cellWidth:_0x15b811}of _0x549c4b[_0x1ac3('0x9c')](_0x8513ae,{'includeAllSlots':!0x0,..._0x395b81}))if(!_0x35b795||0x1!=_0x59841d||0x1!=_0x15b811)return!0x1;return!0x0;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3c98=['_suggestionFactory','discard','registerDescriptionCallback','model','TrackChangesEditing','has','handleSuggestionDescription','formatBlock','handleResizeTableWidthCommand','tableWidth','Users','accept','bind','subType','get','registerCustomCallback','table','getTableColumnsWidths','document','getSelectedElement','editor','commandParams','format','TableColumnResizeEditing','getAttribute','resizeTable','formatGroupId','columnWidths','*Format:*\x20resize\x20table','plugins','getSuggestions','resizeColumnWidths','resizeTableWidth','afterInit','getColumnGroupElement','getSuggestionCallback','enableCommand','markBlockFormat','locale'];(function(_0x5b7147,_0x3c98fd){const _0x47c5bc=function(_0x491a7b){while(--_0x491a7b){_0x5b7147['push'](_0x5b7147['shift']());}};_0x47c5bc(++_0x3c98fd);}(_0x3c98,0x7b));const _0x47c5=function(_0x5b7147,_0x3c98fd){_0x5b7147=_0x5b7147-0x0;let _0x47c5bc=_0x3c98[_0x5b7147];return _0x47c5bc;};import{Plugin as _0x23d8f7}from'ckeditor5/src/core';import{getTranslation as _0x49a302}from'../utils/common-translations';export default class wt extends _0x23d8f7{[_0x47c5('0x1b')](){if(!this[_0x47c5('0xe')][_0x47c5('0x17')][_0x47c5('0x26')](_0x47c5('0x11')))return;const _0x57cc26=this['editor'][_0x47c5('0x17')][_0x47c5('0x8')](_0x47c5('0x25'));_0x57cc26[_0x47c5('0x1e')](_0x47c5('0x1a'),this[_0x47c5('0x2')][_0x47c5('0x6')](this)),_0x57cc26['enableCommand'](_0x47c5('0x19'),this['handleResizeTableWidthCommand']['bind'](this)),_0x57cc26[_0x47c5('0x21')][_0x47c5('0x9')](_0x47c5('0x1'),_0x47c5('0x13'),_0x47c5('0x5'),_0x57cc26[_0x47c5('0x21')][_0x47c5('0x1d')](_0x47c5('0x1'),null,'discard')),_0x57cc26[_0x47c5('0x21')][_0x47c5('0x9')](_0x47c5('0x1'),_0x47c5('0x13'),_0x47c5('0x22'),_0x57cc26[_0x47c5('0x21')][_0x47c5('0x1d')]('formatBlock',null,_0x47c5('0x5'))),_0x57cc26['_descriptionFactory'][_0x47c5('0x23')](this[_0x47c5('0x0')][_0x47c5('0x6')](this));}[_0x47c5('0x2')](_0x58cbaa,_0x87a973){const _0x4320f7=this[_0x47c5('0xe')][_0x47c5('0x17')][_0x47c5('0x8')](_0x47c5('0x25')),_0x553455=this[_0x47c5('0xe')][_0x47c5('0x17')][_0x47c5('0x8')]('TableColumnResizeEditing'),_0x2e9bbc=_0x87a973[_0x47c5('0xa')]||this[_0x47c5('0xe')][_0x47c5('0x24')][_0x47c5('0xc')]['selection'][_0x47c5('0xd')]();this[_0x47c5('0xe')][_0x47c5('0x24')]['change'](()=>{const _0x362ff8=_0x553455[_0x47c5('0x1c')](_0x2e9bbc);let _0x4979fd=_0x362ff8?_0x553455[_0x47c5('0xb')](_0x362ff8):null,_0x184b3d=_0x2e9bbc[_0x47c5('0x12')]('tableWidth')||null;const _0x3a11f0=_0x87a973[_0x47c5('0x3')]||_0x184b3d,_0x433b67=_0x87a973[_0x47c5('0x15')]||_0x4979fd,_0xe7bee4=this[_0x47c5('0xe')][_0x47c5('0x17')]['get'](_0x47c5('0x4'))['me'];for(const _0x40c6b7 of _0x4320f7[_0x47c5('0x18')]()){const _0x10174a=_0x40c6b7['getContainedElement']();if('resizeTable'===_0x40c6b7[_0x47c5('0x7')]&&_0x10174a===_0x2e9bbc){_0x40c6b7['author']!==_0xe7bee4&&_0x40c6b7[_0x47c5('0x22')]();const _0x1b33a4=_0x40c6b7['data'][_0x47c5('0xf')];_0x184b3d=_0x1b33a4[0x0][_0x47c5('0x3')],_0x4979fd=_0x1b33a4[0x0][_0x47c5('0x15')];break;}}_0x58cbaa({'table':_0x2e9bbc,'tableWidth':_0x3a11f0,'columnWidths':_0x433b67}),_0x4320f7[_0x47c5('0x1f')](_0x2e9bbc,{'commandName':'resizeTableWidth','commandParams':[{'tableWidth':_0x184b3d,'columnWidths':_0x4979fd}],'formatGroupId':_0x47c5('0x13')},[],'resizeTable');});}[_0x47c5('0x0')](_0x533232){const {data:_0xcf7ff7}=_0x533232;if(_0xcf7ff7&&_0x47c5('0x13')===_0xcf7ff7[_0x47c5('0x14')]){const _0x41e1a7=_0x47c5('0x16');return{'type':_0x47c5('0x10'),'content':_0x49a302(this[_0x47c5('0xe')][_0x47c5('0x20')],_0x41e1a7)};}}}
23
+ const _0x5dbe=['formatGroupId','formatBlock','format','locale','selection','enableCommand','author','plugins','resizeTable','discard','editor','registerCustomCallback','change','afterInit','getTableColumnsWidths','_suggestionFactory','accept','get','tableWidth','handleSuggestionDescription','resizeColumnWidths','bind','Users','getSelectedElement','getContainedElement','markBlockFormat','getAttribute','getSuggestionCallback','resizeTableWidth','data','columnWidths','getColumnGroupElement','handleResizeTableWidthCommand','document','model','commandParams','has','TrackChangesEditing','TableColumnResizeEditing'];(function(_0x1a8bea,_0x5dbe1e){const _0x1e64ec=function(_0x628fd2){while(--_0x628fd2){_0x1a8bea['push'](_0x1a8bea['shift']());}};_0x1e64ec(++_0x5dbe1e);}(_0x5dbe,0xd3));const _0x1e64=function(_0x1a8bea,_0x5dbe1e){_0x1a8bea=_0x1a8bea-0x0;let _0x1e64ec=_0x5dbe[_0x1a8bea];return _0x1e64ec;};import{Plugin as _0x667bce}from'ckeditor5/src/core';import{getTranslation as _0x49e94b}from'../utils/common-translations';export default class wt extends _0x667bce{[_0x1e64('0x24')](){if(!this[_0x1e64('0x21')]['plugins'][_0x1e64('0x14')](_0x1e64('0x16')))return;const _0x33370f=this['editor'][_0x1e64('0x1e')][_0x1e64('0x1')](_0x1e64('0x15'));_0x33370f[_0x1e64('0x1c')](_0x1e64('0xc'),this['handleResizeTableWidthCommand'][_0x1e64('0x5')](this)),_0x33370f[_0x1e64('0x1c')](_0x1e64('0x4'),this[_0x1e64('0x10')]['bind'](this)),_0x33370f[_0x1e64('0x26')][_0x1e64('0x22')]('formatBlock',_0x1e64('0x1f'),_0x1e64('0x0'),_0x33370f['_suggestionFactory']['getSuggestionCallback']('formatBlock',null,_0x1e64('0x20'))),_0x33370f[_0x1e64('0x26')]['registerCustomCallback']('formatBlock',_0x1e64('0x1f'),_0x1e64('0x20'),_0x33370f[_0x1e64('0x26')][_0x1e64('0xb')](_0x1e64('0x18'),null,_0x1e64('0x0'))),_0x33370f['_descriptionFactory']['registerDescriptionCallback'](this[_0x1e64('0x3')][_0x1e64('0x5')](this));}[_0x1e64('0x10')](_0x4642b4,_0x2f2334){const _0x3ada92=this[_0x1e64('0x21')]['plugins']['get'](_0x1e64('0x15')),_0x36f046=this['editor'][_0x1e64('0x1e')]['get']('TableColumnResizeEditing'),_0xdcaefe=_0x2f2334['table']||this[_0x1e64('0x21')]['model'][_0x1e64('0x11')][_0x1e64('0x1b')][_0x1e64('0x7')]();this[_0x1e64('0x21')][_0x1e64('0x12')][_0x1e64('0x23')](()=>{const _0xe9f51c=_0x36f046[_0x1e64('0xf')](_0xdcaefe);let _0xccccab=_0xe9f51c?_0x36f046[_0x1e64('0x25')](_0xe9f51c):null,_0x4c2a16=_0xdcaefe[_0x1e64('0xa')](_0x1e64('0x2'))||null;const _0x374d64=_0x2f2334[_0x1e64('0x2')]||_0x4c2a16,_0x206abf=_0x2f2334[_0x1e64('0xe')]||_0xccccab,_0x3c7eec=this[_0x1e64('0x21')]['plugins'][_0x1e64('0x1')](_0x1e64('0x6'))['me'];for(const _0x27abc9 of _0x3ada92['getSuggestions']()){const _0x2eed8d=_0x27abc9[_0x1e64('0x8')]();if(_0x1e64('0x1f')===_0x27abc9['subType']&&_0x2eed8d===_0xdcaefe){_0x27abc9[_0x1e64('0x1d')]!==_0x3c7eec&&_0x27abc9['discard']();const _0x7c126b=_0x27abc9[_0x1e64('0xd')][_0x1e64('0x13')];_0x4c2a16=_0x7c126b[0x0][_0x1e64('0x2')],_0xccccab=_0x7c126b[0x0][_0x1e64('0xe')];break;}}_0x4642b4({'table':_0xdcaefe,'tableWidth':_0x374d64,'columnWidths':_0x206abf}),_0x3ada92[_0x1e64('0x9')](_0xdcaefe,{'commandName':_0x1e64('0xc'),'commandParams':[{'tableWidth':_0x4c2a16,'columnWidths':_0xccccab}],'formatGroupId':_0x1e64('0x1f')},[],'resizeTable');});}['handleSuggestionDescription'](_0x545dc1){const {data:_0x1f61ab}=_0x545dc1;if(_0x1f61ab&&_0x1e64('0x1f')===_0x1f61ab[_0x1e64('0x17')]){const _0x405a35='*Format:*\x20resize\x20table';return{'type':_0x1e64('0x19'),'content':_0x49e94b(this[_0x1e64('0x21')][_0x1e64('0x1a')],_0x405a35)};}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x41d2=['highest','mapper','nodeAfter','editor','findAncestor','_splitMarkerName','locale','data','setAttribute','createPositionBefore','cell','bindElementToMarker','editing','ck-suggestion-marker-','get','index','removeAttribute','has','getChild','value','unbindElementFromMarkerName','document','_suggestionFactory','parent','FORMAT_HEADER_COLUMN','downcastDispatcher','*Format:*\x20%0','setTableRowHeader','afterInit','data-suggestion','getCellLocation','registerCustomCallback','getAttribute','childCount','markBlockFormat','addClass','end','options','start','forceValue','commands','consume','stop','table','showSuggestionHighlights','removeMarker:suggestion','getRowIndexes','item','last','commandName','markerRange','selection','addMarker:suggestion','createPositionAfter','ck-suggestion-marker--active','_acceptFormatSuggestionCallbackFactory','from','nodeBefore','TableUtils','formatBlock','getSelectionAffectedTableCells','headingColumns','consumable','plugins','name','writer','createRange','toViewElement','setTableColumnHeader','markerName','FORMAT_REGULAR_ROW','change','createTableWalker','model','enableCommand','accept','getSuggestion','getColumnIndexes','removeClass','first'];(function(_0x53019a,_0x41d284){const _0x2f2581=function(_0x2e0550){while(--_0x2e0550){_0x53019a['push'](_0x53019a['shift']());}};_0x2f2581(++_0x41d284);}(_0x41d2,0x1c1));const _0x2f25=function(_0x53019a,_0x41d284){_0x53019a=_0x53019a-0x0;let _0x2f2581=_0x41d2[_0x53019a];return _0x2f2581;};import{Plugin as _0xd24dd9}from'ckeditor5/src/core';import _0x463786 from'./table';import{getTranslation as _0xd01cba}from'../utils/common-translations';export default class pt extends _0xd24dd9{static get['requires'](){return[_0x463786];}[_0x2f25('0x3b')](){const _0x4bfa2b=this[_0x2f25('0x22')];if(!_0x4bfa2b[_0x2f25('0xe')][_0x2f25('0x30')]('TableEditing'))return;const _0x1439c1=_0x4bfa2b[_0x2f25('0x25')],_0x3a6ccf=_0x4bfa2b[_0x2f25('0xe')]['get']('TrackChangesEditing'),_0x195e6e=_0x4bfa2b['plugins']['get'](_0x2f25('0x9')),_0x3060a1=_0x4bfa2b[_0x2f25('0xe')][_0x2f25('0x2d')](_0x463786);function _0x2d1d0d({showActiveMarker:_0x3b1694=!0x0,setDataAttribute:_0x4676eb=!0x0}={}){return(_0x5adffa,_0x38cbba,_0x55bc19)=>{const {type:_0x23cd1b,id:_0x47e20c}=_0x3a6ccf[_0x2f25('0x24')](_0x38cbba[_0x2f25('0x14')]),_0x1f9952=_0x3a6ccf['getSuggestion'](_0x47e20c);if(!_0x1f9952[_0x2f25('0x26')]||_0x2f25('0x13')!=_0x1f9952[_0x2f25('0x26')]['commandName'])return;if(_0x38cbba[_0x2f25('0x4e')])return void _0x5adffa[_0x2f25('0x49')]();if(!_0x55bc19[_0x2f25('0xd')][_0x2f25('0x48')](_0x38cbba[_0x2f25('0x1')],_0x5adffa[_0x2f25('0xf')]))return;const _0x463029=_0x38cbba[_0x2f25('0x1')][_0x2f25('0x45')][_0x2f25('0x21')],_0x4d619b=_0x38cbba['markerRange'][_0x2f25('0x43')][_0x2f25('0x8')],_0xa597aa=_0x463029[_0x2f25('0x36')]['parent'],{column:_0x453644}=_0x195e6e[_0x2f25('0x3d')](_0x463029),{column:_0x3aa747}=_0x195e6e[_0x2f25('0x3d')](_0x4d619b);for(let _0x5df807=_0x453644;_0x5df807<=_0x3aa747;_0x5df807++){const _0x4598c5=_0x195e6e[_0x2f25('0x17')](_0xa597aa,{'column':_0x5df807,'includeAllSlots':!0x1});for(const _0x37358a of _0x4598c5){const _0x2d2eda=_0x37358a['cell'],_0x207365=_0x55bc19['mapper'][_0x2f25('0x12')](_0x2d2eda);_0x55bc19[_0x2f25('0x10')][_0x2f25('0x42')](_0x2f25('0x2c')+_0x23cd1b,_0x207365),_0x4676eb&&_0x55bc19[_0x2f25('0x10')][_0x2f25('0x27')](_0x2f25('0x3c'),_0x47e20c,_0x207365),_0x55bc19['mapper'][_0x2f25('0x2a')](_0x207365,_0x38cbba[_0x2f25('0x14')]),_0x3b1694&&(_0x3a6ccf['activeMarkers']['includes'](_0x38cbba[_0x2f25('0x14')])?_0x55bc19[_0x2f25('0x10')][_0x2f25('0x42')](_0x2f25('0x5'),_0x207365):_0x55bc19[_0x2f25('0x10')]['removeClass'](_0x2f25('0x5'),_0x207365));}}};}_0x3a6ccf[_0x2f25('0x19')]('setTableRowHeader',(_0xc65ec1,_0x585dac)=>{const _0x22db7b=_0x195e6e['getSelectionAffectedTableCells'](_0x4bfa2b[_0x2f25('0x18')][_0x2f25('0x34')][_0x2f25('0x2')]),_0x23f5d5=_0x195e6e[_0x2f25('0x4d')](_0x22db7b),_0x2ec95a=_0x22db7b[0x0][_0x2f25('0x23')](_0x2f25('0x4a')),_0x239309=_0x2ec95a['getAttribute']('headingRows')||0x0,_0x3af7d6=_0x585dac&&null!==_0x585dac[_0x2f25('0x46')]?_0x585dac[_0x2f25('0x46')]:!_0x4bfa2b[_0x2f25('0x47')][_0x2f25('0x2d')]('setTableRowHeader')[_0x2f25('0x32')],_0x1eaae4=_0x3af7d6?_0x23f5d5[_0x2f25('0x4f')]:_0x23f5d5[_0x2f25('0x1e')],_0x527d18=_0x2ec95a[_0x2f25('0x31')](_0x1eaae4);let _0x238ce7;if(_0x3af7d6){const _0xd4ccbe=_0x2ec95a[_0x2f25('0x31')](_0x239309);if(_0x527d18[_0x2f25('0x2e')]<_0xd4ccbe[_0x2f25('0x2e')])return;_0x238ce7=_0x4bfa2b[_0x2f25('0x18')]['createRange'](_0x4bfa2b[_0x2f25('0x18')][_0x2f25('0x28')](_0xd4ccbe[_0x2f25('0x31')](0x0)),_0x4bfa2b[_0x2f25('0x18')][_0x2f25('0x4')](_0x527d18['getChild'](_0x527d18[_0x2f25('0x40')]-0x1)));}else{const _0x599308=_0x2ec95a[_0x2f25('0x31')](_0x239309-0x1);if(!_0x599308)return;_0x238ce7=_0x4bfa2b[_0x2f25('0x18')][_0x2f25('0x11')](_0x4bfa2b[_0x2f25('0x18')][_0x2f25('0x28')](_0x527d18[_0x2f25('0x31')](0x0)),_0x4bfa2b[_0x2f25('0x18')]['createPositionAfter'](_0x599308[_0x2f25('0x31')](_0x599308[_0x2f25('0x40')]-0x1)));}_0x4bfa2b[_0x2f25('0x18')]['change'](()=>{_0x3a6ccf[_0x2f25('0x41')](_0x238ce7,{'commandName':'setTableRowHeader','commandParams':[{'forceValue':_0x3af7d6}]},[],_0x2f25('0x3a'));});}),_0x3a6ccf['enableCommand']('setTableColumnHeader',(_0x6fc057,_0x50cde1)=>{const _0x534d9e=_0x4bfa2b['plugins'][_0x2f25('0x2d')](_0x2f25('0x9')),_0x23ae35=_0x534d9e[_0x2f25('0xb')](_0x4bfa2b[_0x2f25('0x18')][_0x2f25('0x34')][_0x2f25('0x2')]),_0x2454c7=_0x534d9e[_0x2f25('0x1c')](_0x23ae35),_0x15af96=_0x23ae35[0x0]['findAncestor'](_0x2f25('0x4a')),_0x20cb9a=_0x15af96[_0x2f25('0x3f')](_0x2f25('0xc'))||0x0,_0x2ae1af=_0x50cde1&&null!==_0x50cde1[_0x2f25('0x46')]?_0x50cde1['forceValue']:!_0x4bfa2b['commands'][_0x2f25('0x2d')](_0x2f25('0x13'))[_0x2f25('0x32')];let _0x1f7eea;const _0x42bb83=_0x15af96[_0x2f25('0x31')](0x0),_0xe3d076=_0x2ae1af?_0x2454c7[_0x2f25('0x4f')]:_0x2454c7[_0x2f25('0x1e')],_0x100fc0=_0x534d9e[_0x2f25('0x17')](_0x15af96,{'startRow':0x0,'column':_0xe3d076,'includeAllSlots':!0x1}),_0x44137c=Array[_0x2f25('0x7')](_0x100fc0)[0x0][_0x2f25('0x29')];if(_0x2ae1af){const _0x261989=_0x42bb83[_0x2f25('0x31')](_0x20cb9a);if(_0x44137c['isBefore'](_0x261989))return;_0x1f7eea=_0x4bfa2b[_0x2f25('0x18')][_0x2f25('0x11')](_0x4bfa2b['model'][_0x2f25('0x28')](_0x261989),_0x4bfa2b['model'][_0x2f25('0x4')](_0x44137c));}else{const _0x1a78cc=_0x42bb83[_0x2f25('0x31')](_0x20cb9a-0x1);if(!_0x1a78cc)return;_0x1f7eea=_0x4bfa2b[_0x2f25('0x18')][_0x2f25('0x11')](_0x4bfa2b[_0x2f25('0x18')]['createPositionBefore'](_0x44137c),_0x4bfa2b[_0x2f25('0x18')][_0x2f25('0x4')](_0x1a78cc));}_0x4bfa2b[_0x2f25('0x18')][_0x2f25('0x16')](()=>{_0x3a6ccf[_0x2f25('0x41')](_0x1f7eea,{'commandName':_0x2f25('0x13'),'commandParams':[{'forceValue':_0x2ae1af}]},[],_0x2f25('0x13'));});}),_0x4bfa2b[_0x2f25('0x2b')][_0x2f25('0x38')]['on']('addMarker:suggestion',_0x2d1d0d(),{'priority':'highest'}),_0x4bfa2b[_0x2f25('0x26')][_0x2f25('0x38')]['on'](_0x2f25('0x3'),(_0x1f3ffa,_0x1b1660,_0x4cde14)=>{_0x4cde14[_0x2f25('0x44')][_0x2f25('0x4b')]&&_0x2d1d0d({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x1f3ffa,_0x1b1660,_0x4cde14);},{'priority':_0x2f25('0x1f')}),_0x4bfa2b[_0x2f25('0x2b')][_0x2f25('0x38')]['on'](_0x2f25('0x4c'),(_0x4c8728,_0x1a7a32,_0x4d246a)=>{const {type:_0x4d70aa,id:_0x1cab76}=_0x3a6ccf[_0x2f25('0x24')](_0x1a7a32[_0x2f25('0x14')]),_0x560aee=_0x3a6ccf[_0x2f25('0x1b')](_0x1cab76);if(!_0x560aee['data']||_0x2f25('0x13')!=_0x560aee[_0x2f25('0x26')][_0x2f25('0x0')])return;const _0x33d1ab=_0x4d246a[_0x2f25('0x20')]['markerNameToElements'](_0x1a7a32[_0x2f25('0x14')]);if(_0x33d1ab)for(const _0x5b9db9 of _0x33d1ab)_0x4d246a['writer'][_0x2f25('0x1d')]('ck-suggestion-marker-'+_0x4d70aa,_0x5b9db9),_0x4d246a[_0x2f25('0x10')][_0x2f25('0x1d')](_0x2f25('0x5'),_0x5b9db9),_0x4d246a[_0x2f25('0x10')][_0x2f25('0x2f')](_0x2f25('0x3c'),_0x5b9db9),_0x4d246a[_0x2f25('0x20')][_0x2f25('0x33')](_0x5b9db9,_0x1a7a32[_0x2f25('0x14')]);},{'priority':_0x2f25('0x1f')}),_0x3a6ccf['_descriptionFactory']['registerDescriptionCallback'](_0x4cdbee=>{const {data:_0x5734e6}=_0x4cdbee;if(_0x5734e6){if(_0x2f25('0x3a')==_0x5734e6[_0x2f25('0x0')]){const _0x5f0437=_0x5734e6['commandParams'][0x0][_0x2f25('0x46')];return _0x30b754(_0xd01cba(_0x1439c1,_0x5f0437?'FORMAT_HEADER_ROW':_0x2f25('0x15')));}if(_0x2f25('0x13')==_0x5734e6[_0x2f25('0x0')]){const _0xe69c65=_0x5734e6['commandParams'][0x0][_0x2f25('0x46')];return _0x30b754(_0xd01cba(_0x1439c1,_0xe69c65?_0x2f25('0x37'):'FORMAT_REGULAR_COLUMN'));}}function _0x30b754(_0x48c5a7){return{'type':'format','content':_0xd01cba(_0x1439c1,_0x2f25('0x39'),_0x48c5a7)};}});const _0x1898a4=_0x3060a1[_0x2f25('0x6')]();_0x3a6ccf[_0x2f25('0x35')]['registerCustomCallback'](_0x2f25('0xa'),_0x2f25('0x3a'),_0x2f25('0x1a'),_0x1898a4),_0x3a6ccf['_suggestionFactory'][_0x2f25('0x3e')](_0x2f25('0xa'),_0x2f25('0x13'),'accept',_0x1898a4);}}
23
+ const _0x2b24=['markerName','commands','accept','setTableRowHeader','removeAttribute','unbindElementFromMarkerName','setAttribute','TableUtils','addClass','cell','bindElementToMarker','end','plugins','data-suggestion','createRange','document','registerDescriptionCallback','first','markerRange','get','createTableWalker','stop','TableEditing','highest','has','data','removeClass','from','writer','_suggestionFactory','FORMAT_REGULAR_ROW','registerCustomCallback','childCount','consumable','commandParams','locale','parent','TrackChangesEditing','change','removeMarker:suggestion','getRowIndexes','selection','enableCommand','setTableColumnHeader','model','editor','editing','last','nodeAfter','downcastDispatcher','findAncestor','getSuggestion','_descriptionFactory','getCellLocation','getAttribute','commandName','headingColumns','forceValue','mapper','createPositionAfter','markBlockFormat','table','FORMAT_HEADER_ROW','ck-suggestion-marker-','_splitMarkerName','formatBlock','index','getChild','createPositionBefore','showSuggestionHighlights','ck-suggestion-marker--active','includes'];(function(_0x85f27a,_0x2b24bd){const _0x136c96=function(_0x55d57a){while(--_0x55d57a){_0x85f27a['push'](_0x85f27a['shift']());}};_0x136c96(++_0x2b24bd);}(_0x2b24,0x87));const _0x136c=function(_0x85f27a,_0x2b24bd){_0x85f27a=_0x85f27a-0x0;let _0x136c96=_0x2b24[_0x85f27a];return _0x136c96;};import{Plugin as _0x9cf2c1}from'ckeditor5/src/core';import _0x47cb3c from'./table';import{getTranslation as _0xc3f407}from'../utils/common-translations';export default class pt extends _0x9cf2c1{static get['requires'](){return[_0x47cb3c];}['afterInit'](){const _0x3b0671=this[_0x136c('0x36')];if(!_0x3b0671[_0x136c('0x15')][_0x136c('0x21')](_0x136c('0x1f')))return;const _0x530165=_0x3b0671[_0x136c('0x2c')],_0x3777fa=_0x3b0671[_0x136c('0x15')]['get'](_0x136c('0x2e')),_0x2e9451=_0x3b0671[_0x136c('0x15')][_0x136c('0x1c')]('TableUtils'),_0x2425ce=_0x3b0671[_0x136c('0x15')]['get'](_0x47cb3c);function _0x443571({showActiveMarker:_0x8cea2b=!0x0,setDataAttribute:_0x82ad9e=!0x0}={}){return(_0x5cb159,_0x3035af,_0x5f3496)=>{const {type:_0x3131e3,id:_0x59e6fd}=_0x3777fa[_0x136c('0x1')](_0x3035af[_0x136c('0x9')]),_0x5268f0=_0x3777fa['getSuggestion'](_0x59e6fd);if(!_0x5268f0[_0x136c('0x22')]||_0x136c('0x34')!=_0x5268f0[_0x136c('0x22')][_0x136c('0x40')])return;if(_0x3035af['item'])return void _0x5cb159[_0x136c('0x1e')]();if(!_0x5f3496[_0x136c('0x2a')]['consume'](_0x3035af['markerRange'],_0x5cb159['name']))return;const _0x254a26=_0x3035af[_0x136c('0x1b')]['start'][_0x136c('0x39')],_0x118c72=_0x3035af['markerRange'][_0x136c('0x14')]['nodeBefore'],_0x48bcaf=_0x254a26['parent'][_0x136c('0x2d')],{column:_0x2eb8a6}=_0x2e9451['getCellLocation'](_0x254a26),{column:_0x8ff35}=_0x2e9451[_0x136c('0x3e')](_0x118c72);for(let _0x5693f9=_0x2eb8a6;_0x5693f9<=_0x8ff35;_0x5693f9++){const _0x4cf1e7=_0x2e9451[_0x136c('0x1d')](_0x48bcaf,{'column':_0x5693f9,'includeAllSlots':!0x1});for(const _0x109bc9 of _0x4cf1e7){const _0x163dff=_0x109bc9[_0x136c('0x12')],_0x424f94=_0x5f3496[_0x136c('0x43')]['toViewElement'](_0x163dff);_0x5f3496[_0x136c('0x25')][_0x136c('0x11')](_0x136c('0x0')+_0x3131e3,_0x424f94),_0x82ad9e&&_0x5f3496[_0x136c('0x25')][_0x136c('0xf')](_0x136c('0x16'),_0x59e6fd,_0x424f94),_0x5f3496[_0x136c('0x43')][_0x136c('0x13')](_0x424f94,_0x3035af[_0x136c('0x9')]),_0x8cea2b&&(_0x3777fa['activeMarkers'][_0x136c('0x8')](_0x3035af[_0x136c('0x9')])?_0x5f3496[_0x136c('0x25')]['addClass'](_0x136c('0x7'),_0x424f94):_0x5f3496[_0x136c('0x25')]['removeClass'](_0x136c('0x7'),_0x424f94));}}};}_0x3777fa['enableCommand'](_0x136c('0xc'),(_0x2b9076,_0x341001)=>{const _0x33318c=_0x2e9451['getSelectionAffectedTableCells'](_0x3b0671[_0x136c('0x35')][_0x136c('0x18')][_0x136c('0x32')]),_0x75fad9=_0x2e9451[_0x136c('0x31')](_0x33318c),_0x1181e3=_0x33318c[0x0]['findAncestor']('table'),_0x1111ba=_0x1181e3['getAttribute']('headingRows')||0x0,_0x2e17fb=_0x341001&&null!==_0x341001['forceValue']?_0x341001[_0x136c('0x42')]:!_0x3b0671[_0x136c('0xa')]['get'](_0x136c('0xc'))['value'],_0x8edc12=_0x2e17fb?_0x75fad9['last']:_0x75fad9[_0x136c('0x1a')],_0x37c908=_0x1181e3[_0x136c('0x4')](_0x8edc12);let _0x4c7c7c;if(_0x2e17fb){const _0x308a92=_0x1181e3['getChild'](_0x1111ba);if(_0x37c908['index']<_0x308a92[_0x136c('0x3')])return;_0x4c7c7c=_0x3b0671[_0x136c('0x35')][_0x136c('0x17')](_0x3b0671['model'][_0x136c('0x5')](_0x308a92[_0x136c('0x4')](0x0)),_0x3b0671['model']['createPositionAfter'](_0x37c908['getChild'](_0x37c908[_0x136c('0x29')]-0x1)));}else{const _0x5ef8b7=_0x1181e3[_0x136c('0x4')](_0x1111ba-0x1);if(!_0x5ef8b7)return;_0x4c7c7c=_0x3b0671[_0x136c('0x35')][_0x136c('0x17')](_0x3b0671[_0x136c('0x35')][_0x136c('0x5')](_0x37c908[_0x136c('0x4')](0x0)),_0x3b0671[_0x136c('0x35')]['createPositionAfter'](_0x5ef8b7['getChild'](_0x5ef8b7['childCount']-0x1)));}_0x3b0671[_0x136c('0x35')][_0x136c('0x2f')](()=>{_0x3777fa[_0x136c('0x45')](_0x4c7c7c,{'commandName':_0x136c('0xc'),'commandParams':[{'forceValue':_0x2e17fb}]},[],_0x136c('0xc'));});}),_0x3777fa[_0x136c('0x33')](_0x136c('0x34'),(_0x12563c,_0x4e6bd9)=>{const _0x5d895e=_0x3b0671['plugins']['get'](_0x136c('0x10')),_0x3717b8=_0x5d895e['getSelectionAffectedTableCells'](_0x3b0671[_0x136c('0x35')][_0x136c('0x18')]['selection']),_0x47beb9=_0x5d895e['getColumnIndexes'](_0x3717b8),_0xefc330=_0x3717b8[0x0][_0x136c('0x3b')](_0x136c('0x46')),_0x49e1a3=_0xefc330[_0x136c('0x3f')](_0x136c('0x41'))||0x0,_0x338139=_0x4e6bd9&&null!==_0x4e6bd9[_0x136c('0x42')]?_0x4e6bd9['forceValue']:!_0x3b0671['commands']['get'](_0x136c('0x34'))['value'];let _0x4c081d;const _0x8e6c3f=_0xefc330[_0x136c('0x4')](0x0),_0x222ff0=_0x338139?_0x47beb9[_0x136c('0x38')]:_0x47beb9[_0x136c('0x1a')],_0x37ba9d=_0x5d895e[_0x136c('0x1d')](_0xefc330,{'startRow':0x0,'column':_0x222ff0,'includeAllSlots':!0x1}),_0x149756=Array[_0x136c('0x24')](_0x37ba9d)[0x0][_0x136c('0x12')];if(_0x338139){const _0x2d3af3=_0x8e6c3f[_0x136c('0x4')](_0x49e1a3);if(_0x149756['isBefore'](_0x2d3af3))return;_0x4c081d=_0x3b0671[_0x136c('0x35')][_0x136c('0x17')](_0x3b0671[_0x136c('0x35')][_0x136c('0x5')](_0x2d3af3),_0x3b0671[_0x136c('0x35')][_0x136c('0x44')](_0x149756));}else{const _0x675551=_0x8e6c3f['getChild'](_0x49e1a3-0x1);if(!_0x675551)return;_0x4c081d=_0x3b0671[_0x136c('0x35')][_0x136c('0x17')](_0x3b0671[_0x136c('0x35')]['createPositionBefore'](_0x149756),_0x3b0671[_0x136c('0x35')][_0x136c('0x44')](_0x675551));}_0x3b0671[_0x136c('0x35')][_0x136c('0x2f')](()=>{_0x3777fa['markBlockFormat'](_0x4c081d,{'commandName':_0x136c('0x34'),'commandParams':[{'forceValue':_0x338139}]},[],'setTableColumnHeader');});}),_0x3b0671['editing']['downcastDispatcher']['on']('addMarker:suggestion',_0x443571(),{'priority':'highest'}),_0x3b0671[_0x136c('0x22')][_0x136c('0x3a')]['on']('addMarker:suggestion',(_0x1ef225,_0x554cd6,_0x2a372a)=>{_0x2a372a['options'][_0x136c('0x6')]&&_0x443571({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x1ef225,_0x554cd6,_0x2a372a);},{'priority':'highest'}),_0x3b0671[_0x136c('0x37')]['downcastDispatcher']['on'](_0x136c('0x30'),(_0x4945f0,_0x1c305b,_0x35eafa)=>{const {type:_0x9f7337,id:_0x4879a9}=_0x3777fa[_0x136c('0x1')](_0x1c305b[_0x136c('0x9')]),_0x941d99=_0x3777fa[_0x136c('0x3c')](_0x4879a9);if(!_0x941d99[_0x136c('0x22')]||_0x136c('0x34')!=_0x941d99[_0x136c('0x22')]['commandName'])return;const _0x2d9610=_0x35eafa[_0x136c('0x43')]['markerNameToElements'](_0x1c305b[_0x136c('0x9')]);if(_0x2d9610)for(const _0x145654 of _0x2d9610)_0x35eafa[_0x136c('0x25')]['removeClass']('ck-suggestion-marker-'+_0x9f7337,_0x145654),_0x35eafa[_0x136c('0x25')][_0x136c('0x23')](_0x136c('0x7'),_0x145654),_0x35eafa[_0x136c('0x25')][_0x136c('0xd')](_0x136c('0x16'),_0x145654),_0x35eafa[_0x136c('0x43')][_0x136c('0xe')](_0x145654,_0x1c305b[_0x136c('0x9')]);},{'priority':_0x136c('0x20')}),_0x3777fa[_0x136c('0x3d')][_0x136c('0x19')](_0x3508b4=>{const {data:_0x5ceaf1}=_0x3508b4;if(_0x5ceaf1){if(_0x136c('0xc')==_0x5ceaf1[_0x136c('0x40')]){const _0x2d2062=_0x5ceaf1[_0x136c('0x2b')][0x0]['forceValue'];return _0x455b57(_0xc3f407(_0x530165,_0x2d2062?_0x136c('0x47'):_0x136c('0x27')));}if(_0x136c('0x34')==_0x5ceaf1['commandName']){const _0x379071=_0x5ceaf1['commandParams'][0x0][_0x136c('0x42')];return _0x455b57(_0xc3f407(_0x530165,_0x379071?'FORMAT_HEADER_COLUMN':'FORMAT_REGULAR_COLUMN'));}}function _0x455b57(_0x5cd2a0){return{'type':'format','content':_0xc3f407(_0x530165,'*Format:*\x20%0',_0x5cd2a0)};}});const _0x983096=_0x2425ce['_acceptFormatSuggestionCallbackFactory']();_0x3777fa[_0x136c('0x26')][_0x136c('0x28')](_0x136c('0x2'),_0x136c('0xc'),_0x136c('0xb'),_0x983096),_0x3777fa[_0x136c('0x26')][_0x136c('0x28')](_0x136c('0x2'),_0x136c('0x34'),_0x136c('0xb'),_0x983096);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x54d4=['deletion','getFirstPosition','selection','mergeTableCellRight','markBlockFormat','stop','direction','*Split\x20cell:*\x20vertically','plugins','formatBlock','find','low','locale','set:isEnabled','highest','map','rootName','horizontally','insertion','commandName','_tablePostFixingSubtypes','document','TrackChangesEditing','length','type','registerDescriptionCallback','getAncestors','setSelection','subType','mergeTableCellUp','model','add','containsRange','requires','TableEditing','change','format','has','tableCell','table','markMultiRangeBlockFormat','mergeTableCellDown','TableUtils','cell','getCellLocation','getSuggestions','return','detach','forceDefaultExecution','$graveyard','_isForcedDefaultExecutionBlock','get','accept','_areMergableCells','from','getRanges','push','enableCommand','createRangeOn','size','trackChanges','findAncestor','getSelectionAffectedTableCells','execute','refresh','mergeTableCellLeft','_descriptionFactory','mergeTableCells','commands','splitTableCellVertically','element','_acceptFormatSuggestionCallbackFactory','afterInit','splitTableCellHorizontally','_suggestionFactory','editor','author','registerCustomCallback','_areSelectedCellsMergable'];(function(_0x31e3b7,_0x54d4f7){const _0x489fd2=function(_0x47d68c){while(--_0x47d68c){_0x31e3b7['push'](_0x31e3b7['shift']());}};_0x489fd2(++_0x54d4f7);}(_0x54d4,0x135));const _0x489f=function(_0x31e3b7,_0x54d4f7){_0x31e3b7=_0x31e3b7-0x0;let _0x489fd2=_0x54d4[_0x31e3b7];return _0x489fd2;};import{Plugin as _0x11626c}from'ckeditor5/src/core';import _0xf1238a from'./table';import{LiveRange as _0x3e6cfd}from'ckeditor5/src/engine';import{getTranslation as _0x2eded4}from'../utils/common-translations';export default class dt extends _0x11626c{static get[_0x489f('0x28')](){return[_0xf1238a];}[_0x489f('0x0')](){const _0x2236a7=this[_0x489f('0x3')],_0x17286f=_0x2236a7[_0x489f('0x25')][_0x489f('0x1c')][_0x489f('0x9')],_0xdb4711=_0x2236a7[_0x489f('0x13')];if(!_0x2236a7[_0x489f('0xf')][_0x489f('0x2c')](_0x489f('0x29')))return;const _0x4a6060=_0x2236a7[_0x489f('0xf')][_0x489f('0x3a')](_0x489f('0x1d')),_0x153474=_0x2236a7[_0x489f('0xf')][_0x489f('0x3a')](_0x489f('0x31')),_0x3adbb0=_0x2236a7[_0x489f('0xf')][_0x489f('0x3a')](_0xf1238a);_0x3adbb0[_0x489f('0x1b')][_0x489f('0x3f')](_0x489f('0x4a')),_0x4a6060[_0x489f('0x40')](_0x489f('0x4a'),()=>{const _0x4fbdc3=_0x153474[_0x489f('0x45')](_0x2236a7[_0x489f('0x25')]['document'][_0x489f('0x9')]);_0x2236a7['model'][_0x489f('0x2a')](()=>{_0x4a6060[_0x489f('0x2f')](_0x4fbdc3,{'commandName':_0x489f('0x4a'),'commandParams':[]},[],'mergeTableCells');});}),_0x2236a7[_0x489f('0x4b')]['get'](_0x489f('0x4a'))['on'](_0x489f('0x46'),(_0x5badfd,_0x39c526)=>{_0x2236a7['commands'][_0x489f('0x3a')](_0x489f('0x43'))['value']&&(_0x39c526[_0x489f('0x1e')]>0x0&&_0x39c526[_0x39c526[_0x489f('0x1e')]-0x1]&&_0x39c526[_0x39c526[_0x489f('0x1e')]-0x1][_0x489f('0x37')]||_0x4a6060[_0x489f('0x39')]||this[_0x489f('0x6')]()||_0x5badfd[_0x489f('0xc')]());},{'priority':_0x489f('0x15')});for(const _0x46cb7f of['mergeTableCellUp',_0x489f('0xa'),_0x489f('0x30'),_0x489f('0x48')]){const _0x42569c=_0x2236a7[_0x489f('0x4b')][_0x489f('0x3a')](_0x46cb7f);_0x4a6060[_0x489f('0x40')](_0x46cb7f,()=>{const _0x4b7333=_0x2236a7[_0x489f('0x25')]['document'][_0x489f('0x9')][_0x489f('0x8')]()['getAncestors']()[_0x489f('0x11')](_0x3e958a=>_0x3e958a['is']('element',_0x489f('0x2d'))),_0x34b8f9=_0x42569c['value'];_0x2236a7['model']['change'](()=>{_0x4a6060[_0x489f('0x2f')]([_0x4b7333,_0x34b8f9],{'commandName':_0x489f('0x4a'),'commandParams':[]},[],_0x489f('0x4a'));});});}for(const _0x351c7e of['splitTableCellVertically','splitTableCellHorizontally']){const _0x47f180=_0x2236a7['commands'][_0x489f('0x3a')](_0x351c7e);_0x4a6060['enableCommand'](_0x351c7e,()=>{const _0x239dea=_0x153474[_0x489f('0x45')](_0x2236a7[_0x489f('0x25')][_0x489f('0x1c')]['selection'])[0x0],_0x2dfb63=_0x239dea[_0x489f('0x44')](_0x489f('0x2e')),{column:_0x2f6380,row:_0x2b2cb4}=_0x153474[_0x489f('0x33')](_0x239dea);let _0x232304=[];if(_0x489f('0x18')==_0x47f180[_0x489f('0xd')]){const _0x3f738b=_0x153474['createTableWalker'](_0x2dfb63,{'startRow':_0x2b2cb4,'endRow':_0x2b2cb4,'includeAllSlots':!0x0});_0x232304=Array[_0x489f('0x3d')](_0x3f738b)[_0x489f('0x16')](_0x428574=>_0x428574[_0x489f('0x32')]);}else{const _0x425014=_0x153474['createTableWalker'](_0x2dfb63,{'column':_0x2f6380,'includeAllSlots':!0x0});_0x232304=Array['from'](_0x425014)[_0x489f('0x16')](_0x4b7a4a=>_0x4b7a4a[_0x489f('0x32')]);}_0x2236a7[_0x489f('0x25')][_0x489f('0x2a')](_0x3ddd8d=>{_0x4a6060[_0x489f('0xb')](_0x3ddd8d[_0x489f('0x41')](_0x239dea),{'commandName':_0x351c7e,'commandParams':[]},_0x232304,_0x351c7e);});});}_0x4a6060[_0x489f('0x49')]['registerDescriptionCallback'](_0x10d343=>{const {data:_0x1a5ba4}=_0x10d343;if(_0x1a5ba4)return _0x489f('0x4a')==_0x1a5ba4[_0x489f('0x1a')]?{'type':'format','content':_0x2eded4(_0xdb4711,'*Merge\x20cells*')}:void 0x0;}),_0x4a6060[_0x489f('0x49')][_0x489f('0x20')](_0x2c8801=>{const {data:_0xae64ef}=_0x2c8801;if(_0xae64ef)return _0x489f('0x4c')==_0xae64ef[_0x489f('0x1a')]?{'type':'format','content':_0x2eded4(_0xdb4711,_0x489f('0xe'))}:'splitTableCellHorizontally'==_0xae64ef[_0x489f('0x1a')]?{'type':_0x489f('0x2b'),'content':_0x2eded4(_0xdb4711,'*Split\x20cell:*\x20horizontally')}:void 0x0;});const _0x1df5e2=_0x3adbb0[_0x489f('0x4e')]();for(const _0x5366ff of[_0x489f('0x24'),_0x489f('0xa'),_0x489f('0x30'),_0x489f('0x48')])_0x4a6060[_0x489f('0x2')]['registerCustomCallback'](_0x489f('0x10'),_0x5366ff,_0x489f('0x3b'),_0x1df5e2);for(const _0x34da7d of[_0x489f('0x4c'),_0x489f('0x1')])_0x4a6060[_0x489f('0x2')][_0x489f('0x5')]('formatBlock',_0x34da7d,_0x489f('0x3b'),_0x1df5e2);_0x4a6060['_suggestionFactory'][_0x489f('0x5')](_0x489f('0x10'),_0x489f('0x4a'),'accept',_0x15cb33=>{_0x2236a7[_0x489f('0x25')][_0x489f('0x2a')](_0x4be6e3=>{const _0x349f80=Array[_0x489f('0x3d')](_0x17286f['getRanges']())[_0x489f('0x16')](_0x30bf1f=>_0x3e6cfd['fromRange'](_0x30bf1f));_0x4be6e3[_0x489f('0x22')](_0x15cb33),_0x2236a7['commands'][_0x489f('0x3a')](_0x489f('0x4a'))[_0x489f('0x47')](),_0x2236a7['execute'](_0x489f('0x4a'),{'forceDefaultExecution':!0x0});const _0x92acec=_0x349f80['filter'](_0x7c839d=>_0x489f('0x38')!=_0x7c839d['root'][_0x489f('0x17')]);_0x92acec[_0x489f('0x1e')]>0x0&&_0x4be6e3[_0x489f('0x22')](_0x92acec);for(const _0xd36052 of _0x349f80)_0xd36052[_0x489f('0x36')]();});});for(const _0x1a60d5 of['mergeTableCellUp',_0x489f('0x30'),_0x489f('0x48'),'mergeTableCellRight']){const _0x38eef4=_0x2236a7[_0x489f('0x4b')][_0x489f('0x3a')](_0x1a60d5);_0x38eef4['on'](_0x489f('0x14'),(_0x376412,_0x3f154a,_0x3ccd14)=>{if(_0x3ccd14){const _0x3b8c7b=_0x2236a7[_0x489f('0x25')][_0x489f('0x1c')][_0x489f('0x9')][_0x489f('0x8')]()[_0x489f('0x21')]()[_0x489f('0x11')](_0x28df37=>_0x28df37['is'](_0x489f('0x4d'),_0x489f('0x2d')));this[_0x489f('0x3c')](_0x38eef4['value'],_0x3b8c7b)||(_0x376412[_0x489f('0x35')]=!0x1,_0x376412[_0x489f('0xc')]());}},{'priority':_0x489f('0x12')});}}[_0x489f('0x6')](){const _0x2d9cb0=this['editor']['commands'][_0x489f('0x3a')](_0x489f('0x4a')),_0x41619d=this[_0x489f('0x3')]['plugins'][_0x489f('0x3a')]('TableUtils');if(!_0x2d9cb0['isEnabled'])return!0x1;const _0x1ee674=_0x41619d[_0x489f('0x45')](this[_0x489f('0x3')]['model'][_0x489f('0x1c')][_0x489f('0x9')]);for(const _0x1989dc of _0x1ee674)for(const _0x115672 of _0x1ee674)if(_0x1989dc!=_0x115672&&!this[_0x489f('0x3c')](_0x1989dc,_0x115672))return!0x1;return!0x0;}[_0x489f('0x3c')](_0x2e573c,_0x5e337e){const _0x39a4a1=this['editor'][_0x489f('0xf')][_0x489f('0x3a')](_0x489f('0x1d')),_0x1a60d9=this[_0x489f('0x3')][_0x489f('0x25')][_0x489f('0x41')](_0x2e573c),_0x4c50c7=this[_0x489f('0x3')][_0x489f('0x25')][_0x489f('0x41')](_0x5e337e),_0x3c59ce=new Set(),_0x3fc6db=new Set();for(const _0x453fbd of _0x39a4a1[_0x489f('0x34')]())if((_0x489f('0x19')==_0x453fbd['type']||_0x489f('0x7')==_0x453fbd[_0x489f('0x1f')]||_0x489f('0x4a')==_0x453fbd[_0x489f('0x23')])&&_0x453fbd['isInContent'])for(const _0x2e6515 of _0x453fbd[_0x489f('0x3e')]())_0x2e6515[_0x489f('0x27')](_0x1a60d9,!0x0)&&_0x3c59ce[_0x489f('0x26')](_0x453fbd['type']+':'+_0x453fbd[_0x489f('0x4')]['id']),_0x2e6515[_0x489f('0x27')](_0x4c50c7,!0x0)&&_0x3fc6db[_0x489f('0x26')](_0x453fbd[_0x489f('0x1f')]+':'+_0x453fbd[_0x489f('0x4')]['id']);if(_0x3c59ce[_0x489f('0x42')]!=_0x3fc6db['size'])return!0x1;for(const _0x8012fb of _0x3c59ce)if(!_0x3fc6db['has'](_0x8012fb))return!0x1;return!0x0;}}
23
+ const _0x48ab=['type','root','length','enableCommand','getFirstPosition','getCellLocation','from','cell','size','getSelectionAffectedTableCells','filter','execute','mergeTableCellDown','_isForcedDefaultExecutionBlock','markBlockFormat','getSuggestions','mergeTableCellLeft','TrackChangesEditing','createRangeOn','deletion','document','_areMergableCells','low','_descriptionFactory','_areSelectedCellsMergable','*Split\x20cell:*\x20vertically','findAncestor','mergeTableCells','getRanges','element','set:isEnabled','stop','requires','isEnabled','_suggestionFactory','setSelection','mergeTableCellRight','subType','highest','splitTableCellHorizontally','mergeTableCellUp','tableCell','markMultiRangeBlockFormat','value','_acceptFormatSuggestionCallbackFactory','add','map','locale','author','plugins','isInContent','getAncestors','rootName','editor','format','find','commands','TableEditing','accept','registerCustomCallback','insertion','commandName','selection','containsRange','TableUtils','push','get','trackChanges','change','splitTableCellVertically','formatBlock','createTableWalker','horizontally','model'];(function(_0x3196ad,_0x48ab06){const _0x572a2b=function(_0x15ca8a){while(--_0x15ca8a){_0x3196ad['push'](_0x3196ad['shift']());}};_0x572a2b(++_0x48ab06);}(_0x48ab,0x134));const _0x572a=function(_0x3196ad,_0x48ab06){_0x3196ad=_0x3196ad-0x0;let _0x572a2b=_0x48ab[_0x3196ad];return _0x572a2b;};import{Plugin as _0xbc34c6}from'ckeditor5/src/core';import _0x204d04 from'./table';import{LiveRange as _0x835bd}from'ckeditor5/src/engine';import{getTranslation as _0x2826a2}from'../utils/common-translations';export default class dt extends _0xbc34c6{static get[_0x572a('0x14')](){return[_0x204d04];}['afterInit'](){const _0x50c35e=this[_0x572a('0x29')],_0x584d7f=_0x50c35e[_0x572a('0x3d')]['document'][_0x572a('0x32')],_0xb2e4a8=_0x50c35e[_0x572a('0x23')];if(!_0x50c35e[_0x572a('0x25')]['has'](_0x572a('0x2d')))return;const _0x37a0ee=_0x50c35e[_0x572a('0x25')]['get']('TrackChangesEditing'),_0x470ccd=_0x50c35e['plugins'][_0x572a('0x36')](_0x572a('0x34')),_0x4ec9f6=_0x50c35e[_0x572a('0x25')][_0x572a('0x36')](_0x204d04);_0x4ec9f6['_tablePostFixingSubtypes'][_0x572a('0x35')]('mergeTableCells'),_0x37a0ee[_0x572a('0x41')](_0x572a('0xf'),()=>{const _0x249067=_0x470ccd[_0x572a('0x47')](_0x50c35e[_0x572a('0x3d')]['document'][_0x572a('0x32')]);_0x50c35e['model']['change'](()=>{_0x37a0ee[_0x572a('0x1e')](_0x249067,{'commandName':'mergeTableCells','commandParams':[]},[],_0x572a('0xf'));});}),_0x50c35e[_0x572a('0x2c')][_0x572a('0x36')](_0x572a('0xf'))['on'](_0x572a('0x49'),(_0x15a6d6,_0x3493e4)=>{_0x50c35e['commands'][_0x572a('0x36')](_0x572a('0x37'))[_0x572a('0x1f')]&&(_0x3493e4[_0x572a('0x40')]>0x0&&_0x3493e4[_0x3493e4[_0x572a('0x40')]-0x1]&&_0x3493e4[_0x3493e4[_0x572a('0x40')]-0x1]['forceDefaultExecution']||_0x37a0ee[_0x572a('0x1')]||this[_0x572a('0xc')]()||_0x15a6d6[_0x572a('0x13')]());},{'priority':_0x572a('0x1a')});for(const _0x5c20eb of['mergeTableCellUp',_0x572a('0x18'),'mergeTableCellDown',_0x572a('0x4')]){const _0x187ad0=_0x50c35e[_0x572a('0x2c')][_0x572a('0x36')](_0x5c20eb);_0x37a0ee['enableCommand'](_0x5c20eb,()=>{const _0x552e64=_0x50c35e[_0x572a('0x3d')][_0x572a('0x8')][_0x572a('0x32')][_0x572a('0x42')]()[_0x572a('0x27')]()['find'](_0x3cb6d0=>_0x3cb6d0['is'](_0x572a('0x11'),_0x572a('0x1d'))),_0x32aa07=_0x187ad0['value'];_0x50c35e['model'][_0x572a('0x38')](()=>{_0x37a0ee[_0x572a('0x1e')]([_0x552e64,_0x32aa07],{'commandName':_0x572a('0xf'),'commandParams':[]},[],_0x572a('0xf'));});});}for(const _0x4ce04e of[_0x572a('0x39'),_0x572a('0x1b')]){const _0x2ea206=_0x50c35e[_0x572a('0x2c')]['get'](_0x4ce04e);_0x37a0ee['enableCommand'](_0x4ce04e,()=>{const _0x122a27=_0x470ccd[_0x572a('0x47')](_0x50c35e[_0x572a('0x3d')][_0x572a('0x8')]['selection'])[0x0],_0x205f8b=_0x122a27[_0x572a('0xe')]('table'),{column:_0x1c01e3,row:_0x804e60}=_0x470ccd[_0x572a('0x43')](_0x122a27);let _0x10c947=[];if(_0x572a('0x3c')==_0x2ea206['direction']){const _0x3b21b6=_0x470ccd[_0x572a('0x3b')](_0x205f8b,{'startRow':_0x804e60,'endRow':_0x804e60,'includeAllSlots':!0x0});_0x10c947=Array[_0x572a('0x44')](_0x3b21b6)[_0x572a('0x22')](_0x4dcd42=>_0x4dcd42[_0x572a('0x45')]);}else{const _0xeeeff4=_0x470ccd[_0x572a('0x3b')](_0x205f8b,{'column':_0x1c01e3,'includeAllSlots':!0x0});_0x10c947=Array[_0x572a('0x44')](_0xeeeff4)[_0x572a('0x22')](_0xa70eb2=>_0xa70eb2[_0x572a('0x45')]);}_0x50c35e['model'][_0x572a('0x38')](_0x3b7e3b=>{_0x37a0ee[_0x572a('0x2')](_0x3b7e3b['createRangeOn'](_0x122a27),{'commandName':_0x4ce04e,'commandParams':[]},_0x10c947,_0x4ce04e);});});}_0x37a0ee[_0x572a('0xb')]['registerDescriptionCallback'](_0x2ead67=>{const {data:_0x2965c3}=_0x2ead67;if(_0x2965c3)return _0x572a('0xf')==_0x2965c3[_0x572a('0x31')]?{'type':_0x572a('0x2a'),'content':_0x2826a2(_0xb2e4a8,'*Merge\x20cells*')}:void 0x0;}),_0x37a0ee[_0x572a('0xb')]['registerDescriptionCallback'](_0x364dbd=>{const {data:_0x22a1db}=_0x364dbd;if(_0x22a1db)return'splitTableCellVertically'==_0x22a1db[_0x572a('0x31')]?{'type':_0x572a('0x2a'),'content':_0x2826a2(_0xb2e4a8,_0x572a('0xd'))}:_0x572a('0x1b')==_0x22a1db[_0x572a('0x31')]?{'type':_0x572a('0x2a'),'content':_0x2826a2(_0xb2e4a8,'*Split\x20cell:*\x20horizontally')}:void 0x0;});const _0xecc073=_0x4ec9f6[_0x572a('0x20')]();for(const _0xbded33 of[_0x572a('0x1c'),_0x572a('0x18'),_0x572a('0x0'),_0x572a('0x4')])_0x37a0ee['_suggestionFactory'][_0x572a('0x2f')](_0x572a('0x3a'),_0xbded33,_0x572a('0x2e'),_0xecc073);for(const _0x1c9823 of[_0x572a('0x39'),'splitTableCellHorizontally'])_0x37a0ee[_0x572a('0x16')][_0x572a('0x2f')](_0x572a('0x3a'),_0x1c9823,'accept',_0xecc073);_0x37a0ee[_0x572a('0x16')][_0x572a('0x2f')](_0x572a('0x3a'),_0x572a('0xf'),_0x572a('0x2e'),_0x461846=>{_0x50c35e[_0x572a('0x3d')]['change'](_0x541cba=>{const _0xff6182=Array[_0x572a('0x44')](_0x584d7f[_0x572a('0x10')]())['map'](_0x11cf03=>_0x835bd['fromRange'](_0x11cf03));_0x541cba['setSelection'](_0x461846),_0x50c35e[_0x572a('0x2c')]['get'](_0x572a('0xf'))['refresh'](),_0x50c35e[_0x572a('0x49')](_0x572a('0xf'),{'forceDefaultExecution':!0x0});const _0x2a1460=_0xff6182[_0x572a('0x48')](_0x3fb2a0=>'$graveyard'!=_0x3fb2a0[_0x572a('0x3f')][_0x572a('0x28')]);_0x2a1460['length']>0x0&&_0x541cba[_0x572a('0x17')](_0x2a1460);for(const _0x396566 of _0xff6182)_0x396566['detach']();});});for(const _0x2814bd of[_0x572a('0x1c'),_0x572a('0x0'),_0x572a('0x4'),_0x572a('0x18')]){const _0x3ad82b=_0x50c35e['commands'][_0x572a('0x36')](_0x2814bd);_0x3ad82b['on'](_0x572a('0x12'),(_0x4acf7e,_0x5bae65,_0x1a4926)=>{if(_0x1a4926){const _0x5099ce=_0x50c35e[_0x572a('0x3d')][_0x572a('0x8')][_0x572a('0x32')][_0x572a('0x42')]()[_0x572a('0x27')]()[_0x572a('0x2b')](_0x33a921=>_0x33a921['is']('element',_0x572a('0x1d')));this[_0x572a('0x9')](_0x3ad82b['value'],_0x5099ce)||(_0x4acf7e['return']=!0x1,_0x4acf7e['stop']());}},{'priority':_0x572a('0xa')});}}['_areSelectedCellsMergable'](){const _0x22c016=this['editor'][_0x572a('0x2c')][_0x572a('0x36')](_0x572a('0xf')),_0x5c5771=this['editor'][_0x572a('0x25')][_0x572a('0x36')](_0x572a('0x34'));if(!_0x22c016[_0x572a('0x15')])return!0x1;const _0x1be4c6=_0x5c5771[_0x572a('0x47')](this[_0x572a('0x29')]['model']['document'][_0x572a('0x32')]);for(const _0x52bd8d of _0x1be4c6)for(const _0x1f3d1a of _0x1be4c6)if(_0x52bd8d!=_0x1f3d1a&&!this[_0x572a('0x9')](_0x52bd8d,_0x1f3d1a))return!0x1;return!0x0;}[_0x572a('0x9')](_0x812438,_0x5ac3d1){const _0x19e4af=this[_0x572a('0x29')]['plugins'][_0x572a('0x36')](_0x572a('0x5')),_0x787f02=this[_0x572a('0x29')][_0x572a('0x3d')][_0x572a('0x6')](_0x812438),_0x22066e=this[_0x572a('0x29')][_0x572a('0x3d')][_0x572a('0x6')](_0x5ac3d1),_0x4266e9=new Set(),_0x32840d=new Set();for(const _0x4e2d5f of _0x19e4af[_0x572a('0x3')]())if((_0x572a('0x30')==_0x4e2d5f[_0x572a('0x3e')]||_0x572a('0x7')==_0x4e2d5f[_0x572a('0x3e')]||_0x572a('0xf')==_0x4e2d5f[_0x572a('0x19')])&&_0x4e2d5f[_0x572a('0x26')])for(const _0x1624d3 of _0x4e2d5f[_0x572a('0x10')]())_0x1624d3[_0x572a('0x33')](_0x787f02,!0x0)&&_0x4266e9[_0x572a('0x21')](_0x4e2d5f[_0x572a('0x3e')]+':'+_0x4e2d5f[_0x572a('0x24')]['id']),_0x1624d3[_0x572a('0x33')](_0x22066e,!0x0)&&_0x32840d[_0x572a('0x21')](_0x4e2d5f['type']+':'+_0x4e2d5f['author']['id']);if(_0x4266e9[_0x572a('0x46')]!=_0x32840d[_0x572a('0x46')])return!0x1;for(const _0x13e02a of _0x4266e9)if(!_0x32840d['has'](_0x13e02a))return!0x1;return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x321e=['enableCommand','TrackChangesEditing','_descriptionFactory','plugins','afterInit','get','insertTableOfContents','tableOfContents','registerElementLabel','editor'];(function(_0x10953a,_0x321e74){const _0x3f9051=function(_0x1ed027){while(--_0x1ed027){_0x10953a['push'](_0x10953a['shift']());}};_0x3f9051(++_0x321e74);}(_0x321e,0xa9));const _0x3f90=function(_0x10953a,_0x321e74){_0x10953a=_0x10953a-0x0;let _0x3f9051=_0x321e[_0x10953a];return _0x3f9051;};import{Plugin as _0x1c11a0}from'ckeditor5/src/core';import{getTranslation as _0x42d87e}from'../utils/common-translations';export default class bt extends _0x1c11a0{[_0x3f90('0x5')](){const _0x22ddf5=this[_0x3f90('0x0')];if(!_0x22ddf5['commands'][_0x3f90('0x6')]('insertTableOfContents'))return;_0x22ddf5[_0x3f90('0x4')][_0x3f90('0x6')](_0x3f90('0x2'))[_0x3f90('0x1')](_0x3f90('0x7'));const _0x1952dd=_0x22ddf5['plugins'][_0x3f90('0x6')](_0x3f90('0x2')),_0x468acd=_0x22ddf5['locale'];_0x1952dd[_0x3f90('0x3')][_0x3f90('0x9')](_0x3f90('0x8'),_0x3357e5=>_0x42d87e(_0x468acd,'ELEMENT_TABLE_OF_CONTENTS',_0x3357e5));}}
23
+ const _0x50cf=['enableCommand','tableOfContents','plugins','ELEMENT_TABLE_OF_CONTENTS','_descriptionFactory','insertTableOfContents','get','TrackChangesEditing','commands','locale'];(function(_0x2d73af,_0x50cf5e){const _0x63928=function(_0x2c662a){while(--_0x2c662a){_0x2d73af['push'](_0x2d73af['shift']());}};_0x63928(++_0x50cf5e);}(_0x50cf,0x123));const _0x6392=function(_0x2d73af,_0x50cf5e){_0x2d73af=_0x2d73af-0x0;let _0x63928=_0x50cf[_0x2d73af];return _0x63928;};import{Plugin as _0x388ebf}from'ckeditor5/src/core';import{getTranslation as _0x243e55}from'../utils/common-translations';export default class bt extends _0x388ebf{['afterInit'](){const _0xf633c1=this['editor'];if(!_0xf633c1[_0x6392('0x7')][_0x6392('0x5')](_0x6392('0x4')))return;_0xf633c1[_0x6392('0x1')][_0x6392('0x5')](_0x6392('0x6'))[_0x6392('0x9')](_0x6392('0x4'));const _0x112317=_0xf633c1[_0x6392('0x1')]['get'](_0x6392('0x6')),_0x5533f7=_0xf633c1[_0x6392('0x8')];_0x112317[_0x6392('0x3')]['registerElementLabel'](_0x6392('0x0'),_0x74e213=>_0x243e55(_0x5533f7,_0x6392('0x2'),_0x74e213));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4b35=['document','_descriptionFactory','join','selection','data','change','getAttribute','getContainedElement','*Format:*\x20change\x20table\x20properties','tableCellPadding','editor','table','tableBorderWidth','tableCellVerticalAlignment','tableCellBorderStyle','has','getFirstPosition','TableCellPropertiesEditing','_suggestionFactory','TablePropertiesEditing','setAttribute','commandParams','getSuggestionCallback','discard','format','markBlockFormat','enqueueChange','tableBorderColor','getSuggestions','findAncestor','tableCellBorderColor','enableCommand','batch','registerDescriptionCallback','removeAttribute','tableCellBackgroundColor','tableProperties','handleDiscardAction','nodeAfter','tableWidth','_getSuggestion','model','*Format:*\x20change\x20table\x20cell\x20properties','TableUtils','tableBackgroundColor','TrackChangesEditing','handleSuggestionDescription','subType','start','tableCellHeight','get','tableAlignment','tableCellProperties','plugins','tableBorderStyle','getSelectionAffectedTableCells','TrackChangesTableProperties','_handlePropertyChange','formatBlock','accept','locale','registerCustomCallback','tableCellWidth'];(function(_0xb40a73,_0x4b354c){const _0x435189=function(_0x1895bb){while(--_0x1895bb){_0xb40a73['push'](_0xb40a73['shift']());}};_0x435189(++_0x4b354c);}(_0x4b35,0x93));const _0x4351=function(_0xb40a73,_0x4b354c){_0xb40a73=_0xb40a73-0x0;let _0x435189=_0x4b35[_0xb40a73];return _0x435189;};import{Plugin as _0x2e9dd7}from'ckeditor5/src/core';import{getTranslation as _0x4d8b8c}from'../utils/common-translations';export default class Ct extends _0x2e9dd7{constructor(_0x24292c){super(_0x24292c),this[_0x4351('0xf')]=[_0x4351('0x6'),_0x4351('0x21'),_0x4351('0x36'),_0x4351('0x1e'),_0x4351('0x12'),'tableHeight',_0x4351('0x17')],this[_0x4351('0x1f')]=[_0x4351('0x9'),_0x4351('0x38'),'tableCellBorderWidth',_0x4351('0x33'),_0x4351('0x29'),_0x4351('0x1c'),_0x4351('0xe'),'tableCellHorizontalAlignment',_0x4351('0x37')];}static get['pluginName'](){return _0x4351('0x23');}['afterInit'](){const _0x2de3ad=this[_0x4351('0x34')][_0x4351('0x20')]['get']('TrackChangesEditing');if(this[_0x4351('0x34')][_0x4351('0x20')][_0x4351('0x39')](_0x4351('0x3d'))){for(const _0x350c96 of this['tableProperties'])_0x2de3ad[_0x4351('0xa')](_0x350c96,(_0x494ca1,_0x2ef526)=>{const _0x60d9d3=this[_0x4351('0x34')][_0x4351('0x14')][_0x4351('0x2a')]['selection'][_0x4351('0x3a')]()[_0x4351('0x8')](_0x4351('0x35'));this[_0x4351('0x24')](_0x350c96,[_0x60d9d3],this['tableProperties'],_0x4351('0xf'),_0x494ca1,_0x2ef526);});_0x2de3ad[_0x4351('0x3c')][_0x4351('0x28')](_0x4351('0x25'),_0x4351('0xf'),_0x4351('0x26'),_0x2de3ad[_0x4351('0x3c')]['getSuggestionCallback']('formatBlock',null,_0x4351('0x2'))),_0x2de3ad[_0x4351('0x3c')][_0x4351('0x28')](_0x4351('0x25'),_0x4351('0xf'),_0x4351('0x2'),(_0x3139e1,_0x262170)=>this['handleDiscardAction'](this[_0x4351('0xf')],_0x3139e1,_0x262170)),_0x2de3ad[_0x4351('0x3c')][_0x4351('0x28')]('formatBlock','tableProperties',_0x4351('0x2c'),()=>!0x1);}if(this[_0x4351('0x34')][_0x4351('0x20')][_0x4351('0x39')](_0x4351('0x3b'))){for(const _0x34a881 of this[_0x4351('0x1f')])_0x2de3ad[_0x4351('0xa')](_0x34a881,(_0x3cdbec,_0x45b162)=>{const _0x4ed277=this[_0x4351('0x34')][_0x4351('0x20')][_0x4351('0x1d')](_0x4351('0x16'))[_0x4351('0x22')](this[_0x4351('0x34')]['model']['document'][_0x4351('0x2d')]);this[_0x4351('0x24')](_0x34a881,_0x4ed277,this[_0x4351('0x1f')],_0x4351('0x1f'),_0x3cdbec,_0x45b162);});_0x2de3ad[_0x4351('0x3c')][_0x4351('0x28')](_0x4351('0x25'),_0x4351('0x1f'),_0x4351('0x26'),_0x2de3ad[_0x4351('0x3c')][_0x4351('0x1')]('formatBlock',null,_0x4351('0x2'))),_0x2de3ad[_0x4351('0x3c')][_0x4351('0x28')](_0x4351('0x25'),_0x4351('0x1f'),_0x4351('0x2'),(_0xcdd364,_0x23fc25)=>this[_0x4351('0x10')](this['tableCellProperties'],_0xcdd364,_0x23fc25)),_0x2de3ad[_0x4351('0x3c')][_0x4351('0x28')]('formatBlock',_0x4351('0x1f'),_0x4351('0x2c'),()=>!0x1);}_0x2de3ad[_0x4351('0x2b')][_0x4351('0xc')](_0x3f16e4=>this[_0x4351('0x19')](_0x3f16e4));}[_0x4351('0x24')](_0x5b0930,_0x4bfbeb,_0x2cb7ae,_0x2b4042,_0x93728d,_0x3eaa50){const _0x604415=this[_0x4351('0x34')][_0x4351('0x20')][_0x4351('0x1d')]('TrackChangesEditing');this[_0x4351('0x34')][_0x4351('0x14')][_0x4351('0x5')](_0x3eaa50[_0x4351('0xb')],()=>{for(const _0x74f67c of _0x4bfbeb){if(this[_0x4351('0x13')](_0x74f67c,_0x2b4042))_0x93728d(_0x3eaa50);else{const _0x31c0e4={};for(const _0x1252b2 of _0x2cb7ae){const _0x59d17e=_0x74f67c[_0x4351('0x30')](_0x1252b2);void 0x0!==_0x59d17e&&(_0x31c0e4[_0x1252b2]=_0x59d17e);}_0x93728d(_0x3eaa50),_0x604415[_0x4351('0x4')](_0x74f67c,{'commandParams':[_0x31c0e4]},[],_0x2b4042);}}});}[_0x4351('0x10')](_0x1900e3,_0x4770d6,_0x5214a2){const _0x1a0065=_0x4770d6[0x0][_0x4351('0x1b')][_0x4351('0x11')],_0x4d4bad=_0x5214a2[_0x4351('0x0')][0x0];this[_0x4351('0x34')][_0x4351('0x14')][_0x4351('0x2f')](_0x417475=>{for(const _0x48f21e of _0x1900e3)void 0x0!==_0x4d4bad[_0x48f21e]?_0x417475[_0x4351('0x3e')](_0x48f21e,_0x4d4bad[_0x48f21e],_0x1a0065):_0x417475[_0x4351('0xd')](_0x48f21e,_0x1a0065);});}[_0x4351('0x19')](_0x2fe188){if(_0x2fe188[_0x4351('0x2e')])switch(_0x2fe188[_0x4351('0x1a')]){case'tableProperties':return{'type':_0x4351('0x3'),'content':_0x4d8b8c(this[_0x4351('0x34')]['locale'],_0x4351('0x32'))};case _0x4351('0x1f'):return{'type':'format','content':_0x4d8b8c(this[_0x4351('0x34')][_0x4351('0x27')],_0x4351('0x15'))};}}[_0x4351('0x13')](_0x209ff0,_0x1ff98d){const _0x4315eb=this[_0x4351('0x34')][_0x4351('0x20')][_0x4351('0x1d')](_0x4351('0x18'));for(const _0x4da4b5 of _0x4315eb[_0x4351('0x7')]({'skipNotAttached':!0x0})){const _0x5266af=_0x4da4b5[_0x4351('0x31')]();if(_0x4da4b5[_0x4351('0x1a')]===_0x1ff98d&&_0x5266af===_0x209ff0)return _0x4da4b5;}return null;}}
23
+ const _0x5226=['tableCellBackgroundColor','accept','_suggestionFactory','get','*Format:*\x20change\x20table\x20cell\x20properties','start','data','getAttribute','tableCellPadding','tableWidth','tableCellBorderWidth','registerCustomCallback','afterInit','formatBlock','tableProperties','editor','markBlockFormat','model','selection','getFirstPosition','removeAttribute','tableCellProperties','tableBorderColor','locale','registerDescriptionCallback','_descriptionFactory','getContainedElement','setAttribute','join','discard','getSuggestions','enableCommand','tableBorderWidth','nodeAfter','_handlePropertyChange','format','table','handleDiscardAction','tableCellBorderStyle','TrackChangesEditing','tableHeight','document','_getSuggestion','tableCellBorderColor','commandParams','TrackChangesTableProperties','has','subType','getSuggestionCallback','handleSuggestionDescription','TableUtils','TableCellPropertiesEditing','tableBackgroundColor','*Format:*\x20change\x20table\x20properties','tableAlignment','batch','plugins'];(function(_0x5c6f7d,_0x522620){const _0xcaefec=function(_0x316f30){while(--_0x316f30){_0x5c6f7d['push'](_0x5c6f7d['shift']());}};_0xcaefec(++_0x522620);}(_0x5226,0x1e8));const _0xcaef=function(_0x5c6f7d,_0x522620){_0x5c6f7d=_0x5c6f7d-0x0;let _0xcaefec=_0x5226[_0x5c6f7d];return _0xcaefec;};import{Plugin as _0x344b1e}from'ckeditor5/src/core';import{getTranslation as _0x45659c}from'../utils/common-translations';export default class Ct extends _0x344b1e{constructor(_0x3c6ba0){super(_0x3c6ba0),this[_0xcaef('0x27')]=[_0xcaef('0x2f'),'tableBorderStyle',_0xcaef('0x0'),_0xcaef('0x16'),_0xcaef('0x22'),_0xcaef('0x8'),_0xcaef('0x14')],this[_0xcaef('0x2e')]=[_0xcaef('0xb'),_0xcaef('0x6'),_0xcaef('0x23'),_0xcaef('0x21'),'tableCellWidth','tableCellHeight',_0xcaef('0x19'),'tableCellHorizontalAlignment','tableCellVerticalAlignment'];}static get['pluginName'](){return _0xcaef('0xd');}[_0xcaef('0x25')](){const _0x3d2249=this[_0xcaef('0x28')][_0xcaef('0x18')][_0xcaef('0x1c')](_0xcaef('0x7'));if(this[_0xcaef('0x28')][_0xcaef('0x18')]['has']('TablePropertiesEditing')){for(const _0x19030f of this['tableProperties'])_0x3d2249[_0xcaef('0x38')](_0x19030f,(_0x30a0f8,_0x333096)=>{const _0x264861=this[_0xcaef('0x28')][_0xcaef('0x2a')][_0xcaef('0x9')]['selection'][_0xcaef('0x2c')]()['findAncestor'](_0xcaef('0x4'));this[_0xcaef('0x2')](_0x19030f,[_0x264861],this[_0xcaef('0x27')],_0xcaef('0x27'),_0x30a0f8,_0x333096);});_0x3d2249['_suggestionFactory'][_0xcaef('0x24')](_0xcaef('0x26'),_0xcaef('0x27'),_0xcaef('0x1a'),_0x3d2249[_0xcaef('0x1b')][_0xcaef('0x10')](_0xcaef('0x26'),null,_0xcaef('0x36'))),_0x3d2249[_0xcaef('0x1b')][_0xcaef('0x24')](_0xcaef('0x26'),_0xcaef('0x27'),'discard',(_0x8c9af2,_0x3a2293)=>this[_0xcaef('0x5')](this[_0xcaef('0x27')],_0x8c9af2,_0x3a2293)),_0x3d2249[_0xcaef('0x1b')]['registerCustomCallback'](_0xcaef('0x26'),_0xcaef('0x27'),_0xcaef('0x35'),()=>!0x1);}if(this[_0xcaef('0x28')][_0xcaef('0x18')][_0xcaef('0xe')](_0xcaef('0x13'))){for(const _0x340586 of this[_0xcaef('0x2e')])_0x3d2249[_0xcaef('0x38')](_0x340586,(_0x1b762f,_0x480b43)=>{const _0x11d57c=this[_0xcaef('0x28')]['plugins']['get'](_0xcaef('0x12'))['getSelectionAffectedTableCells'](this[_0xcaef('0x28')][_0xcaef('0x2a')][_0xcaef('0x9')][_0xcaef('0x2b')]);this[_0xcaef('0x2')](_0x340586,_0x11d57c,this[_0xcaef('0x2e')],_0xcaef('0x2e'),_0x1b762f,_0x480b43);});_0x3d2249[_0xcaef('0x1b')]['registerCustomCallback'](_0xcaef('0x26'),_0xcaef('0x2e'),_0xcaef('0x1a'),_0x3d2249['_suggestionFactory'][_0xcaef('0x10')](_0xcaef('0x26'),null,_0xcaef('0x36'))),_0x3d2249[_0xcaef('0x1b')]['registerCustomCallback'](_0xcaef('0x26'),_0xcaef('0x2e'),_0xcaef('0x36'),(_0x114dbc,_0x1ea45d)=>this[_0xcaef('0x5')](this[_0xcaef('0x2e')],_0x114dbc,_0x1ea45d)),_0x3d2249[_0xcaef('0x1b')][_0xcaef('0x24')](_0xcaef('0x26'),_0xcaef('0x2e'),'join',()=>!0x1);}_0x3d2249[_0xcaef('0x32')][_0xcaef('0x31')](_0x378d1b=>this[_0xcaef('0x11')](_0x378d1b));}[_0xcaef('0x2')](_0x4d2e95,_0x306379,_0x3ecbd0,_0x1658d2,_0x2417bb,_0x2024f4){const _0xc29f7a=this[_0xcaef('0x28')][_0xcaef('0x18')]['get'](_0xcaef('0x7'));this[_0xcaef('0x28')][_0xcaef('0x2a')]['enqueueChange'](_0x2024f4[_0xcaef('0x17')],()=>{for(const _0x5310e1 of _0x306379){if(this[_0xcaef('0xa')](_0x5310e1,_0x1658d2))_0x2417bb(_0x2024f4);else{const _0x51940f={};for(const _0x2302f0 of _0x3ecbd0){const _0x34ba82=_0x5310e1[_0xcaef('0x20')](_0x2302f0);void 0x0!==_0x34ba82&&(_0x51940f[_0x2302f0]=_0x34ba82);}_0x2417bb(_0x2024f4),_0xc29f7a[_0xcaef('0x29')](_0x5310e1,{'commandParams':[_0x51940f]},[],_0x1658d2);}}});}[_0xcaef('0x5')](_0xb33e7c,_0x38b2b7,_0x3c8231){const _0x148ab0=_0x38b2b7[0x0][_0xcaef('0x1e')][_0xcaef('0x1')],_0x9dcc98=_0x3c8231[_0xcaef('0xc')][0x0];this[_0xcaef('0x28')][_0xcaef('0x2a')]['change'](_0x204840=>{for(const _0x4c8c5d of _0xb33e7c)void 0x0!==_0x9dcc98[_0x4c8c5d]?_0x204840[_0xcaef('0x34')](_0x4c8c5d,_0x9dcc98[_0x4c8c5d],_0x148ab0):_0x204840[_0xcaef('0x2d')](_0x4c8c5d,_0x148ab0);});}[_0xcaef('0x11')](_0x21c2c1){if(_0x21c2c1[_0xcaef('0x1f')])switch(_0x21c2c1[_0xcaef('0xf')]){case _0xcaef('0x27'):return{'type':'format','content':_0x45659c(this['editor'][_0xcaef('0x30')],_0xcaef('0x15'))};case'tableCellProperties':return{'type':_0xcaef('0x3'),'content':_0x45659c(this[_0xcaef('0x28')]['locale'],_0xcaef('0x1d'))};}}[_0xcaef('0xa')](_0x2d03b6,_0x28b8c6){const _0x1ebd12=this[_0xcaef('0x28')][_0xcaef('0x18')][_0xcaef('0x1c')](_0xcaef('0x7'));for(const _0x4431b0 of _0x1ebd12[_0xcaef('0x37')]({'skipNotAttached':!0x0})){const _0x220f26=_0x4431b0[_0xcaef('0x33')]();if(_0x4431b0[_0xcaef('0xf')]===_0x28b8c6&&_0x220f26===_0x2d03b6)return _0x4431b0;}return null;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x17f0=['enableCommand','editor','TrackChangesEditing','Template','afterInit','insertTemplate','plugins'];(function(_0x29654c,_0x17f037){const _0x4c289c=function(_0x3c7ce2){while(--_0x3c7ce2){_0x29654c['push'](_0x29654c['shift']());}};_0x4c289c(++_0x17f037);}(_0x17f0,0x112));const _0x4c28=function(_0x29654c,_0x17f037){_0x29654c=_0x29654c-0x0;let _0x4c289c=_0x17f0[_0x29654c];return _0x4c289c;};import{Plugin as _0x5b46e0}from'ckeditor5/src/core';export default class yt extends _0x5b46e0{[_0x4c28('0x3')](){const _0x2c97a3=this[_0x4c28('0x0')];_0x2c97a3[_0x4c28('0x5')]['has'](_0x4c28('0x2'))&&_0x2c97a3['plugins']['get'](_0x4c28('0x1'))[_0x4c28('0x6')](_0x4c28('0x4'));}}
23
+ const _0x1150=['get','plugins','insertTemplate','has','TrackChangesEditing','afterInit','Template','enableCommand'];(function(_0x2171d8,_0x1150be){const _0x4c5b7e=function(_0x7980c6){while(--_0x7980c6){_0x2171d8['push'](_0x2171d8['shift']());}};_0x4c5b7e(++_0x1150be);}(_0x1150,0xf0));const _0x4c5b=function(_0x2171d8,_0x1150be){_0x2171d8=_0x2171d8-0x0;let _0x4c5b7e=_0x1150[_0x2171d8];return _0x4c5b7e;};import{Plugin as _0x49e476}from'ckeditor5/src/core';export default class yt extends _0x49e476{[_0x4c5b('0x5')](){const _0x38f9dd=this['editor'];_0x38f9dd[_0x4c5b('0x1')][_0x4c5b('0x3')](_0x4c5b('0x6'))&&_0x38f9dd['plugins'][_0x4c5b('0x0')](_0x4c5b('0x4'))[_0x4c5b('0x7')](_0x4c5b('0x2'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xbef0=['forward','nodeBefore','model','getChangedMarkers','getNearestSelectionRange','from','title-content','afterInit','removeMarker','registerPostFixer','end','get','element','suggestion','newRange','document','plugins','start','TrackChangesEditing','locale','Title','has'];(function(_0x1aeca5,_0xbef090){const _0x1a2c8f=function(_0x267ae8){while(--_0x267ae8){_0x1aeca5['push'](_0x1aeca5['shift']());}};_0x1a2c8f(++_0xbef090);}(_0xbef0,0xd5));const _0x1a2c=function(_0x1aeca5,_0xbef090){_0x1aeca5=_0x1aeca5-0x0;let _0x1a2c8f=_0xbef0[_0x1aeca5];return _0x1a2c8f;};import{Plugin as _0x45df52}from'ckeditor5/src/core';import{getTranslation as _0xbcb311}from'../utils/common-translations';export default class St extends _0x45df52{[_0x1a2c('0xe')](){const _0x455f92=this['editor'];if(!_0x455f92[_0x1a2c('0x1')][_0x1a2c('0x6')](_0x1a2c('0x5')))return;const _0x5595cd=_0x455f92[_0x1a2c('0x1')][_0x1a2c('0x12')](_0x1a2c('0x3'));_0x5595cd['_descriptionFactory']['registerElementLabel']('title-content',()=>_0xbcb311(_0x455f92[_0x1a2c('0x4')],'ELEMENT_TITLE')),_0x455f92[_0x1a2c('0x9')][_0x1a2c('0x0')][_0x1a2c('0x10')](_0x19eaa4=>{let _0x3629ab=!0x1;const _0x102703=Array[_0x1a2c('0xc')](_0x455f92['model']['document']['differ'][_0x1a2c('0xa')]());for(const {name:_0x731321,data:_0x463c9e}of _0x102703){const {group:_0x21f792}=_0x5595cd['_splitMarkerName'](_0x731321);if(_0x1a2c('0x14')!==_0x21f792||!_0x463c9e[_0x1a2c('0x15')])continue;const _0x39bb67=_0x463c9e[_0x1a2c('0x15')],_0x4d9fd7=_0x39bb67[_0x1a2c('0x11')][_0x1a2c('0x8')];if(!_0x4d9fd7||!_0x4d9fd7['is'](_0x1a2c('0x13'),_0x1a2c('0xd')))continue;if(!_0x39bb67['start']['isTouching'](_0x39bb67[_0x1a2c('0x11')]))continue;const _0x1aec2b=_0x455f92[_0x1a2c('0x9')]['schema'][_0x1a2c('0xb')](_0x39bb67[_0x1a2c('0x11')],_0x1a2c('0x7'));if(_0x1aec2b&&_0x1aec2b['isCollapsed']){const _0x18b025=_0x19eaa4['createRange'](_0x39bb67[_0x1a2c('0x2')],_0x1aec2b[_0x1a2c('0x2')]);_0x18b025['isEqual'](_0x39bb67)||(_0x19eaa4['updateMarker'](_0x731321,{'range':_0x18b025}),_0x3629ab=!0x0);}_0x3629ab||(_0x19eaa4[_0x1a2c('0xf')](_0x731321),_0x3629ab=!0x0);}return _0x3629ab;});}}
23
+ const _0x2ab3=['from','nodeBefore','has','isEqual','locale','updateMarker','document','end','plugins','ELEMENT_TITLE','TrackChangesEditing','removeMarker','model','registerElementLabel','get','suggestion','schema','differ','start','title-content','isTouching','getChangedMarkers','element','afterInit','forward'];(function(_0x309c09,_0x2ab359){const _0x4964dd=function(_0x3e4334){while(--_0x3e4334){_0x309c09['push'](_0x309c09['shift']());}};_0x4964dd(++_0x2ab359);}(_0x2ab3,0x130));const _0x4964=function(_0x309c09,_0x2ab359){_0x309c09=_0x309c09-0x0;let _0x4964dd=_0x2ab3[_0x309c09];return _0x4964dd;};import{Plugin as _0x52b950}from'ckeditor5/src/core';import{getTranslation as _0x7bbda1}from'../utils/common-translations';export default class St extends _0x52b950{[_0x4964('0x13')](){const _0x4e3c9a=this['editor'];if(!_0x4e3c9a[_0x4964('0x4')][_0x4964('0x17')]('Title'))return;const _0x58a1dd=_0x4e3c9a[_0x4964('0x4')][_0x4964('0xa')](_0x4964('0x6'));_0x58a1dd['_descriptionFactory'][_0x4964('0x9')](_0x4964('0xf'),()=>_0x7bbda1(_0x4e3c9a[_0x4964('0x0')],_0x4964('0x5'))),_0x4e3c9a[_0x4964('0x8')][_0x4964('0x2')]['registerPostFixer'](_0x2cc132=>{let _0xb3131b=!0x1;const _0x3eade5=Array[_0x4964('0x15')](_0x4e3c9a['model'][_0x4964('0x2')][_0x4964('0xd')][_0x4964('0x11')]());for(const {name:_0x3a10f0,data:_0x40d84e}of _0x3eade5){const {group:_0x1f27e0}=_0x58a1dd['_splitMarkerName'](_0x3a10f0);if(_0x4964('0xb')!==_0x1f27e0||!_0x40d84e['newRange'])continue;const _0x4fcf47=_0x40d84e['newRange'],_0x4fbc42=_0x4fcf47[_0x4964('0x3')][_0x4964('0x16')];if(!_0x4fbc42||!_0x4fbc42['is'](_0x4964('0x12'),_0x4964('0xf')))continue;if(!_0x4fcf47[_0x4964('0xe')][_0x4964('0x10')](_0x4fcf47[_0x4964('0x3')]))continue;const _0x4f3341=_0x4e3c9a['model'][_0x4964('0xc')]['getNearestSelectionRange'](_0x4fcf47[_0x4964('0x3')],_0x4964('0x14'));if(_0x4f3341&&_0x4f3341['isCollapsed']){const _0x427717=_0x2cc132['createRange'](_0x4fcf47[_0x4964('0xe')],_0x4f3341[_0x4964('0xe')]);_0x427717[_0x4964('0x18')](_0x4fcf47)||(_0x2cc132[_0x4964('0x1')](_0x3a10f0,{'range':_0x427717}),_0xb3131b=!0x0);}_0xb3131b||(_0x2cc132[_0x4964('0x7')](_0x3a10f0),_0xb3131b=!0x0);}return _0xb3131b;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x165b=['undo','redo','enableCommand','editor','TrackChangesEditing','plugins','afterInit'];(function(_0x12b3a9,_0x165b71){const _0x2e6472=function(_0x6b9364){while(--_0x6b9364){_0x12b3a9['push'](_0x12b3a9['shift']());}};_0x2e6472(++_0x165b71);}(_0x165b,0xb2));const _0x2e64=function(_0x12b3a9,_0x165b71){_0x12b3a9=_0x12b3a9-0x0;let _0x2e6472=_0x165b[_0x12b3a9];return _0x2e6472;};import{Plugin as _0x3f4c0c}from'ckeditor5/src/core';export default class It extends _0x3f4c0c{[_0x2e64('0x3')](){const _0x509aff=this[_0x2e64('0x0')],_0x1e8aad=_0x509aff[_0x2e64('0x2')]['get'](_0x2e64('0x1'));_0x509aff['plugins']['has']('UndoEditing')&&(_0x1e8aad[_0x2e64('0x6')](_0x2e64('0x4')),_0x1e8aad[_0x2e64('0x6')](_0x2e64('0x5')));}}
23
+ const _0x1eb0=['redo','has','undo','TrackChangesEditing','get','afterInit','UndoEditing','plugins'];(function(_0x482fec,_0x1eb09e){const _0x451169=function(_0x379d27){while(--_0x379d27){_0x482fec['push'](_0x482fec['shift']());}};_0x451169(++_0x1eb09e);}(_0x1eb0,0x193));const _0x4511=function(_0x482fec,_0x1eb09e){_0x482fec=_0x482fec-0x0;let _0x451169=_0x1eb0[_0x482fec];return _0x451169;};import{Plugin as _0xdbe3b5}from'ckeditor5/src/core';export default class It extends _0xdbe3b5{[_0x4511('0x2')](){const _0x3308dc=this['editor'],_0x1bc19b=_0x3308dc[_0x4511('0x4')][_0x4511('0x1')](_0x4511('0x0'));_0x3308dc[_0x4511('0x4')][_0x4511('0x6')](_0x4511('0x3'))&&(_0x1bc19b['enableCommand'](_0x4511('0x7')),_0x1bc19b['enableCommand'](_0x4511('0x5')));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3e41=['markerRange','mapper','getCustomProperty','schema','isContent','consumable','hasAttribute','listItem','span','elementEnd','model','ck-suggestion-marker--active','insert','parent','item','plugins','nextSibling','addClass','previousPosition','getItems','element','createUIElement','type','ck-suggestion-marker-','markerName','start','toViewPosition','createRangeOn','includes','get','writer','listIndent','activeMarkers','getAttribute','push','getWalker','isBlock'];(function(_0x3e9a41,_0x3e411e){const _0x46f2f9=function(_0x171ecc){while(--_0x171ecc){_0x3e9a41['push'](_0x3e9a41['shift']());}};_0x46f2f9(++_0x3e411e);}(_0x3e41,0x16b));const _0x46f2=function(_0x3e9a41,_0x3e411e){_0x3e9a41=_0x3e9a41-0x0;let _0x46f2f9=_0x3e41[_0x3e9a41];return _0x46f2f9;};export function getRangesWithAttribute(_0x3bb5e1,_0x2076f4,_0x463ceb){const _0x239953=[];for(const _0x4d0514 of _0x2076f4[_0x46f2('0x1a')]())_0x4d0514[_0x46f2('0xd')](_0x3bb5e1)&&_0x239953[_0x46f2('0x4')](_0x463ceb[_0x46f2('0x22')](_0x4d0514));return _0x239953;}export function getElementsAffectedByListItemRename(_0x3308e5){const _0x1dcd14=[];if(_0x3308e5['is'](_0x46f2('0x1b'),_0x46f2('0xe'))){let _0x198446=_0x3308e5[_0x46f2('0x17')];for(;_0x198446&&_0x198446['is'](_0x46f2('0x1b'),'listItem')&&_0x198446[_0x46f2('0x3')](_0x46f2('0x1'))>0x0;)_0x1dcd14[_0x46f2('0x4')](_0x198446),_0x198446=_0x198446[_0x46f2('0x17')];}return _0x1dcd14;}export function downcastSplitMergeMarker(_0x4a23eb,_0x537e0d,{showActiveMarker:_0x3ccf00=!0x0}={}){const _0x56e383=_0x4a23eb[_0x46f2('0x16')][_0x46f2('0x24')]('TrackChangesEditing');return(_0x41937a,_0x14963c,_0x33988c)=>{if(!_0x33988c[_0x46f2('0xc')]['test'](_0x14963c['markerRange'],_0x41937a['name']))return;const _0x25ab68=_0x14963c[_0x46f2('0x7')][_0x46f2('0x5')](),_0x37117b=_0x14963c['markerRange'][_0x46f2('0x20')],_0x4fe8f8=_0x4a23eb[_0x46f2('0x11')][_0x46f2('0xa')];let _0x3a572e=null,_0x139fd0=null,_0x227b60=!0x1,_0x4e5c5f=!0x1;for(const _0x2a4e8f of _0x25ab68){const _0x36b969=_0x2a4e8f[_0x46f2('0x15')];_0x227b60=_0x227b60||_0x4fe8f8[_0x46f2('0xb')](_0x36b969);const _0xad562a=_0x33988c['mapper']['toViewElement'](_0x36b969);if(_0xad562a&&_0xad562a[_0x46f2('0x9')]('addHighlight'))return;_0x46f2('0x10')==_0x2a4e8f[_0x46f2('0x1d')]&&(_0x4fe8f8[_0x46f2('0x6')](_0x36b969)&&!_0x4fe8f8['isLimit'](_0x36b969)&&(_0x36b969[_0x46f2('0x17')]||_0x37117b['isAtEnd']?_0x3a572e&&_0x3a572e[_0x46f2('0x14')]==_0x36b969||(_0x3a572e=_0x36b969,_0x109e39(_0x2a4e8f['previousPosition']),_0x4e5c5f=!0x0):_0x139fd0=_0x139fd0||_0x2a4e8f[_0x46f2('0x19')]));}function _0x109e39(_0x3d29fd){const _0x3e2987=_0x33988c[_0x46f2('0x0')][_0x46f2('0x1c')](_0x46f2('0xf'),{'class':_0x46f2('0x1e')+_0x537e0d}),_0x2df1b4=_0x33988c[_0x46f2('0x8')][_0x46f2('0x21')](_0x3d29fd);_0x3ccf00&&_0x56e383[_0x46f2('0x2')][_0x46f2('0x23')](_0x14963c[_0x46f2('0x1f')])&&_0x33988c[_0x46f2('0x0')][_0x46f2('0x18')](_0x46f2('0x12'),_0x3e2987),_0x33988c[_0x46f2('0x0')][_0x46f2('0x13')](_0x2df1b4,_0x3e2987),_0x33988c['mapper']['bindElementToMarker'](_0x3e2987,_0x14963c[_0x46f2('0x1f')]);}_0x227b60||_0x4e5c5f||!_0x139fd0||_0x109e39(_0x139fd0);};}
23
+ const _0x4eab=['toViewElement','createUIElement','markerRange','toViewPosition','get','markerName','includes','insert','getAttribute','getItems','model','name','activeMarkers','isBlock','listIndent','push','createRangeOn','isLimit','getCustomProperty','hasAttribute','TrackChangesEditing','writer','ck-suggestion-marker-','start','mapper','bindElementToMarker','span','previousPosition','plugins','elementEnd','schema','addClass','isAtEnd','type','listItem','nextSibling','ck-suggestion-marker--active','addHighlight','element','getWalker'];(function(_0x493744,_0x4eab94){const _0x4b1be9=function(_0x8647bb){while(--_0x8647bb){_0x493744['push'](_0x493744['shift']());}};_0x4b1be9(++_0x4eab94);}(_0x4eab,0x197));const _0x4b1b=function(_0x493744,_0x4eab94){_0x493744=_0x493744-0x0;let _0x4b1be9=_0x4eab[_0x493744];return _0x4b1be9;};export function getRangesWithAttribute(_0x11d994,_0x16318b,_0x2d9d2a){const _0x30fdcf=[];for(const _0x35a436 of _0x16318b[_0x4b1b('0x2')]())_0x35a436[_0x4b1b('0xc')](_0x11d994)&&_0x30fdcf[_0x4b1b('0x8')](_0x2d9d2a[_0x4b1b('0x9')](_0x35a436));return _0x30fdcf;}export function getElementsAffectedByListItemRename(_0x2ddf30){const _0xdb4636=[];if(_0x2ddf30['is'](_0x4b1b('0x1f'),_0x4b1b('0x1b'))){let _0x456538=_0x2ddf30['nextSibling'];for(;_0x456538&&_0x456538['is'](_0x4b1b('0x1f'),_0x4b1b('0x1b'))&&_0x456538[_0x4b1b('0x1')](_0x4b1b('0x7'))>0x0;)_0xdb4636['push'](_0x456538),_0x456538=_0x456538[_0x4b1b('0x1c')];}return _0xdb4636;}export function downcastSplitMergeMarker(_0x314c2b,_0x2bff62,{showActiveMarker:_0x8b8c73=!0x0}={}){const _0x4c3b62=_0x314c2b[_0x4b1b('0x15')][_0x4b1b('0x25')](_0x4b1b('0xd'));return(_0x428a0c,_0x5f350b,_0x524745)=>{if(!_0x524745['consumable']['test'](_0x5f350b[_0x4b1b('0x23')],_0x428a0c[_0x4b1b('0x4')]))return;const _0x517ae7=_0x5f350b[_0x4b1b('0x23')][_0x4b1b('0x20')](),_0x4ac96a=_0x5f350b[_0x4b1b('0x23')][_0x4b1b('0x10')],_0x238f56=_0x314c2b[_0x4b1b('0x3')][_0x4b1b('0x17')];let _0x5dcc24=null,_0x53d577=null,_0x533e34=!0x1,_0x2d6035=!0x1;for(const _0x131da9 of _0x517ae7){const _0x55eeb6=_0x131da9['item'];_0x533e34=_0x533e34||_0x238f56['isContent'](_0x55eeb6);const _0x14e10a=_0x524745[_0x4b1b('0x11')][_0x4b1b('0x21')](_0x55eeb6);if(_0x14e10a&&_0x14e10a[_0x4b1b('0xb')](_0x4b1b('0x1e')))return;_0x4b1b('0x16')==_0x131da9[_0x4b1b('0x1a')]&&(_0x238f56[_0x4b1b('0x6')](_0x55eeb6)&&!_0x238f56[_0x4b1b('0xa')](_0x55eeb6)&&(_0x55eeb6[_0x4b1b('0x1c')]||_0x4ac96a[_0x4b1b('0x19')]?_0x5dcc24&&_0x5dcc24['parent']==_0x55eeb6||(_0x5dcc24=_0x55eeb6,_0x2ba745(_0x131da9[_0x4b1b('0x14')]),_0x2d6035=!0x0):_0x53d577=_0x53d577||_0x131da9[_0x4b1b('0x14')]));}function _0x2ba745(_0x4f457e){const _0x4659a0=_0x524745[_0x4b1b('0xe')][_0x4b1b('0x22')](_0x4b1b('0x13'),{'class':_0x4b1b('0xf')+_0x2bff62}),_0x2aacba=_0x524745[_0x4b1b('0x11')][_0x4b1b('0x24')](_0x4f457e);_0x8b8c73&&_0x4c3b62[_0x4b1b('0x5')][_0x4b1b('0x27')](_0x5f350b[_0x4b1b('0x26')])&&_0x524745['writer'][_0x4b1b('0x18')](_0x4b1b('0x1d'),_0x4659a0),_0x524745[_0x4b1b('0xe')][_0x4b1b('0x0')](_0x2aacba,_0x4659a0),_0x524745[_0x4b1b('0x11')][_0x4b1b('0x12')](_0x4659a0,_0x5f350b[_0x4b1b('0x26')]);}_0x533e34||_0x2d6035||!_0x53d577||_0x2ba745(_0x53d577);};}