@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20230803.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 _0x1e8c=['push','startsWith','setAttribute','markMultiRangeBlockFormat','editingDowncast','requires','insertColumns','get','suggestionUnloaded','_descriptionFactory','ck-suggestion-marker-insertion','getSuggestions','previous','getSuggestion','subType','_splitMarkerName','getChangedMarkers','createElement','some','createTableWalker','tableCell','createRange','plugins','stop','markerAttributes','previousSibling','attributes','remove','position','cell','documentSelection','markerName','getAttributes','tableCellBackgroundColor','ck-suggestion-marker','redo','tablePaste','removeRows','map','tableCellSuggestion','wrap','tablePasteRow','columns','fill','change','isInContent','isEmpty','_isForcedDefaultExecutionBlock','insertRows','afterInit','move','registerPostFixer','find','getRowIndexes','type','rowInsertionRanges','TableUtils','tableCellBorderWidth','hasSuggestion','deletion','$graveyard','conversion','for','tablePasteCell','last','end','value','high','getRange','editing','element','length','containsRange','paragraph','set','fromEntries','nodeAfter','getChildren','return','markMultiRangeInsertion','includes','register','setAttributes','suggestion-td','insert','document','TableClipboard','every','author','registerCustomCallback','suggestionLoaded','insertContent','Users','getAllAdjacentSuggestions','row','keys','unwrap','content','add','batch','elementToElement','_suggestionFactory','tableCellHorizontalAlignment','entries','locale','getItems','rowInsertionIndexes','removeColumns','reduce','columnInsertionIndexes','view','schema','from','nextSibling','createPositionBefore','forceDefaultExecution','join','removeMarker','model','low','endRow','markMultiRangeDeletion','editor','getMarkers','name','accept','column','endColumn','markerToHighlight','differ','ck-suggestion-marker--active','filter','columnInsertionRanges','getColumns','findAncestor','suggestion','isEqual','formatBlock','createRangeOn','tablePasteColumn','getContainedElement','discard','has','deletionRanges','markers','rootName','commands','getChild','dataDowncast','_createdBatches','cells','insertion','tablePasteChainId','getColumnIndexes','newRange','_getCoordsForCells','getTableIfOnlyTableInContent','next','getRanges','_replaceTableSlotCell','start','*Replace\x20table\x20cells*','updateMarker','removeMarkers','activeMarkers','table','first','listenTo','createRangeIn'];(function(_0x5f3d25,_0x1e8cb7){const _0x44d0b4=function(_0x1aa71f){while(--_0x1aa71f){_0x5f3d25['push'](_0x5f3d25['shift']());}};_0x44d0b4(++_0x1e8cb7);}(_0x1e8c,0x7c));const _0x44d0=function(_0x5f3d25,_0x1e8cb7){_0x5f3d25=_0x5f3d25-0x0;let _0x44d0b4=_0x1e8c[_0x5f3d25];return _0x44d0b4;};import{getTranslation as _0x1d414a}from'../utils/common-translations';import{Plugin as _0x344134}from'ckeditor5/src/core';import{uid as _0x44fbe5,priorities as _0x3e8708}from'ckeditor5/src/utils';import _0x5ac569 from'./table';const le=[_0x44d0('0x66'),'tableCellBorderColor','tableCellBorderStyle',_0x44d0('0x93'),'tableCellVerticalAlignment',_0x44d0('0x4e'),'tableCellPadding'],ae=Object[_0x44d0('0x78')](le[_0x44d0('0x53')](_0x2556d8=>[_0x2556d8,null]));export default class kt extends _0x344134{static get[_0x44d0('0x32')](){return[_0x5ac569];}[_0x44d0('0x5e')](){const _0x159ad5=this[_0x44d0('0xa7')];if(!_0x159ad5[_0x44d0('0x43')]['has']('TableClipboard'))return;const _0xc09994=_0x159ad5[_0x44d0('0x43')][_0x44d0('0x34')]('TrackChangesEditing'),_0x23a3ca=_0x159ad5['plugins'][_0x44d0('0x34')](_0x44d0('0x65')),_0x408c51=_0x159ad5[_0x44d0('0x43')]['get'](_0x5ac569),_0x562f78=_0x159ad5[_0x44d0('0x43')][_0x44d0('0x34')](_0x44d0('0x83'));_0x408c51['_tablePostFixingSubtypes'][_0x44d0('0x2d')]('tablePasteRow',_0x44d0('0xf')),_0x159ad5['model'][_0x44d0('0x9c')][_0x44d0('0x7e')](_0x44d0('0x54'),{'allowIn':_0x44d0('0x41'),'allowContentOf':_0x44d0('0x41'),'isLimit':!0x0}),_0x159ad5[_0x44d0('0x6a')][_0x44d0('0x91')]({'model':'tableCellSuggestion','view':_0x44d0('0x80')});let _0x2fe20c=null;_0x159ad5[_0x44d0('0xa3')]['on'](_0x44d0('0x88'),(_0xbce495,_0xe70537)=>{const [_0x2d3cb6,_0x5d98a1]=_0xe70537,_0x536e05=_0xe70537[_0xe70537[_0x44d0('0x74')]-0x1];_0x536e05&&_0x536e05[_0x44d0('0xa0')]||_0xc09994[_0x44d0('0x5c')]||this[_0x44d0('0xa7')][_0x44d0('0x16')][_0x44d0('0x34')]('trackChanges')[_0x44d0('0x6f')]&&function(_0x35127e,_0x5db4e5,_0x49ed45,_0x2b3407,_0x572297){if(_0x5db4e5&&!_0x5db4e5['is'](_0x44d0('0x4b')))return!0x1;const _0x39aee3=_0x572297[_0x44d0('0x20')](_0x35127e,_0x49ed45);if(!_0x39aee3||!fe(_0x39aee3,void 0x0,_0x2b3407))return!0x1;const _0x2a4f83=_0x2b3407['getSelectionAffectedTableCells'](_0x49ed45['document']['selection']);if(!_0x2a4f83['length'])return!0x1;const _0x2ae044=_0x2a4f83[0x0][_0x44d0('0xa')](_0x44d0('0x29')),_0x456636=_0x2b3407[_0x44d0('0x62')](_0x2a4f83),_0x43f243=_0x2b3407[_0x44d0('0x1d')](_0x2a4f83),_0xe18a3f={'startRow':_0x456636[_0x44d0('0x2a')],'endRow':_0x456636['last'],'startColumn':_0x43f243[_0x44d0('0x2a')],'endColumn':_0x43f243[_0x44d0('0x6d')]};return 0x1==_0x2a4f83['length']&&(_0xe18a3f[_0x44d0('0xa5')]+=_0x2b3407['getRows'](_0x39aee3)-0x1,_0xe18a3f[_0x44d0('0x3')]+=_0x2b3407[_0x44d0('0x9')](_0x39aee3)-0x1),fe(_0x2ae044,_0xe18a3f,_0x2b3407);}(_0x2d3cb6,_0x5d98a1,_0x159ad5[_0x44d0('0xa3')],_0x23a3ca,_0x562f78)&&(_0xbce495[_0x44d0('0x44')](),_0x2fe20c={'cells':[],'insertionRanges':[],'deletionRanges':[],'rowInsertionRanges':[],'rowInsertionIndexes':[],'columnInsertionRanges':[],'columnInsertionIndexes':[]},_0x159ad5[_0x44d0('0xa3')][_0x44d0('0x59')](()=>{_0x159ad5[_0x44d0('0xa3')][_0x44d0('0x88')](_0xe70537[0x0],_0xe70537[0x1],_0xe70537[0x2],{'forceDefaultExecution':!0x0});const _0x17948b=_0x44fbe5(),{rowInsertionRanges:_0x193caa,columnInsertionRanges:_0x31e47d,insertionRanges:_0x12b4ce,deletionRanges:_0x28ce1b,cells:_0x136c66}=_0x2fe20c;_0x193caa[_0x44d0('0x74')]&&_0xc09994['markMultiRangeInsertion'](_0x193caa,'tablePasteRow',{'tablePasteChainId':_0x17948b}),_0x31e47d[_0x44d0('0x74')]&&_0xc09994[_0x44d0('0x7c')](_0x31e47d,_0x44d0('0xf'),{'tablePasteChainId':_0x17948b}),_0x12b4ce[_0x44d0('0x74')]&&_0xc09994[_0x44d0('0x7c')](_0x12b4ce,_0x44d0('0x51'),{'tablePasteChainId':_0x17948b,'skipNestingCheck':!0x0}),_0x28ce1b[_0x44d0('0x74')]&&_0xc09994[_0x44d0('0xa6')](_0x28ce1b,_0x44d0('0x51'),{'tablePasteChainId':_0x17948b,'skipNestingCheck':!0x0});const _0x471249=_0xc09994[_0x44d0('0x30')](_0x136c66[_0x44d0('0x53')](({element:_0x22c338})=>_0x22c338),{'formatGroupId':_0x44fbe5()},[],_0x44d0('0x6c'),{'tablePasteChainId':_0x17948b});if(_0x471249){const _0x56fcce=_0x471249[_0x44d0('0xa8')](),_0x3fba37=[];for(const {element:_0x14cb8e,attributes:_0x719f67}of _0x136c66){if(!_0x719f67)continue;const _0x172908=_0x159ad5[_0x44d0('0xa3')][_0x44d0('0xe')](_0x14cb8e),_0x512be0=_0x56fcce[_0x44d0('0x61')](_0x494b04=>_0x494b04[_0x44d0('0x71')]()[_0x44d0('0xc')](_0x172908));_0x512be0&&_0x3fba37['push']([_0x512be0[_0x44d0('0x0')],_0x719f67]);}_0x3fba37[_0x44d0('0x74')]&&_0x471249[_0x44d0('0x2f')]('markerAttributes',Object[_0x44d0('0x78')](_0x3fba37));}_0x2fe20c=null;}));},{'priority':_0x3e8708[_0x44d0('0x70')]+0xa}),_0x159ad5['plugins'][_0x44d0('0x34')]('TableClipboard')['on'](_0x44d0('0x23'),(_0x53b6ad,_0x46bb2e)=>{const [_0x4f05ab,_0x353d4d,,_0x159b09]=_0x46bb2e;if(!_0x2fe20c)return;_0x53b6ad['stop']();const _0x44f49a=_0x4f05ab[_0x44d0('0x4a')],_0x22a570=_0x353d4d,_0x38d7ae=ce(_0x44f49a),_0x3af73d=ce(_0x22a570);_0x53b6ad[_0x44d0('0x7b')]=_0x44f49a;let _0x141d23=null,_0x39bcf6=null;if(_0x3af73d||_0x38d7ae){if(_0x38d7ae&&!_0x3af73d){_0x159b09[_0x44d0('0x48')](_0x44f49a['getChild'](0x0));for(const _0x4b0092 of Array[_0x44d0('0x9d')](_0x22a570[_0x44d0('0x7a')]()))_0x159b09[_0x44d0('0x81')](_0x4b0092,_0x44f49a,'end');const _0x4d0f87=_0x2fe20c['rowInsertionIndexes'][_0x44d0('0x7d')](_0x4f05ab[_0x44d0('0x8b')]),_0x82734d=_0x2fe20c[_0x44d0('0x9a')]['includes'](_0x4f05ab[_0x44d0('0x2')]);_0x4d0f87||_0x82734d||(_0x141d23=_0x159b09['createRangeIn'](_0x44f49a));}else _0x3af73d&&!_0x38d7ae&&(_0x39bcf6=_0x159b09['createRangeIn'](_0x44f49a));}else{const _0x231721=_0x159b09[_0x44d0('0x3e')](_0x44d0('0x54')),_0x3abcc5=_0x159b09[_0x44d0('0x3e')](_0x44d0('0x54'));_0x159b09[_0x44d0('0x55')](_0x159b09[_0x44d0('0x2c')](_0x44f49a),_0x3abcc5),_0x159b09['insert'](_0x231721,_0x44f49a,0x0);for(const _0x1c96c5 of Array['from'](_0x22a570['getChildren']()))_0x159b09[_0x44d0('0x81')](_0x1c96c5,_0x231721,_0x44d0('0x6e'));_0x141d23=_0x159b09[_0x44d0('0xe')](_0x231721),_0x39bcf6=_0x159b09['createRangeOn'](_0x3abcc5);}const _0x19c600=Array['from'](_0x22a570[_0x44d0('0x4d')]())[_0x44d0('0x7')](([_0x4d24b5])=>le[_0x44d0('0x7d')](_0x4d24b5));_0x2fe20c[_0x44d0('0x1a')]['push']({'element':_0x44f49a,'attributes':_0x19c600[_0x44d0('0x74')]?Object[_0x44d0('0x78')](_0x19c600):null}),_0x141d23&&_0x2fe20c['insertionRanges'][_0x44d0('0x2d')](_0x141d23),_0x39bcf6&&_0x2fe20c[_0x44d0('0x13')][_0x44d0('0x2d')](_0x39bcf6);},{'priority':'high'}),_0x23a3ca['on'](_0x44d0('0x33'),(_0x5e5917,_0x45b2df)=>{const [_0x747195,_0x32b06d={}]=_0x45b2df;if(!_0x2fe20c)return;const _0x193721=_0x32b06d['at']||0x0,_0x125ec1=_0x32b06d[_0x44d0('0x57')]||0x1;_0x2fe20c[_0x44d0('0x9a')]=new Array(_0x125ec1)[_0x44d0('0x58')](_0x193721)[_0x44d0('0x53')]((_0x1b482e,_0x1ba0e5)=>_0x1b482e+_0x1ba0e5);for(const {cell:_0x180896}of _0x23a3ca['createTableWalker'](_0x747195,{'startColumn':_0x193721,'endColumn':_0x193721+_0x125ec1-0x1}))_0x2fe20c[_0x44d0('0x8')][_0x44d0('0x2d')](_0x159ad5[_0x44d0('0xa3')]['createRangeOn'](_0x180896));},{'priority':_0x44d0('0xa4')}),_0x23a3ca['on'](_0x44d0('0x5d'),(_0xf1a303,_0x360f26)=>{const [_0x4fc758,_0x308640={}]=_0x360f26;if(!_0x2fe20c)return;const _0x4594d1=_0x308640['at']||0x0,_0x344f63=_0x308640['rows']||0x1;_0x2fe20c[_0x44d0('0x97')]=new Array(_0x344f63)[_0x44d0('0x58')](_0x4594d1)['map']((_0x51e15c,_0x25b262)=>_0x51e15c+_0x25b262);for(const {cell:_0x495980}of _0x23a3ca[_0x44d0('0x40')](_0x4fc758,{'startRow':_0x4594d1,'endRow':_0x4594d1+_0x344f63-0x1}))_0x2fe20c[_0x44d0('0x64')]['push'](_0x159ad5['model'][_0x44d0('0xe')](_0x495980));},{'priority':_0x44d0('0xa4')}),_0xc09994[_0x44d0('0x36')]['registerDescriptionCallback'](_0x52b44f=>{if(_0x52b44f[_0x44d0('0x3b')]&&_0x52b44f[_0x44d0('0x3b')][_0x44d0('0x2e')]('tablePaste'))return _0x52b44f['previous']?{}:{'type':'insertion','content':_0x1d414a(_0x159ad5[_0x44d0('0x95')],_0x44d0('0x25'))};});const _0x5633d5=()=>{};for(const _0x494dbe of[_0x44d0('0x51'),'tablePasteColumn',_0x44d0('0x56'),'tablePasteCell'])_0xc09994[_0x44d0('0x92')][_0x44d0('0x86')]('insertion',_0x494dbe,_0x44d0('0xa1'),_0x5633d5),_0xc09994[_0x44d0('0x92')]['registerCustomCallback']('deletion',_0x494dbe,_0x44d0('0xa1'),_0x5633d5);_0xc09994[_0x44d0('0x92')][_0x44d0('0x86')](_0x44d0('0xd'),_0x44d0('0x6c'),'discard',_0x5633d5),_0xc09994[_0x44d0('0x92')][_0x44d0('0x86')](_0x44d0('0xd'),_0x44d0('0x6c'),_0x44d0('0x1'),(_0x2aedd9,_0xeed9c6,_0x1d7e15)=>{const _0x3226a2=_0x2aedd9[_0x44d0('0x53')](_0x300efb=>_0x300efb[_0x44d0('0x10')]())['filter'](_0x426b8c=>_0x426b8c),_0x100ad4=new Map(_0x3226a2['map'](_0x13a889=>[_0x13a889,null]));if(_0x2fe20c)for(const {element:_0x214ebd,attributes:_0x4bfb93}of _0x2fe20c[_0x44d0('0x1a')])_0x4bfb93&&_0x100ad4[_0x44d0('0x77')](_0x214ebd,_0x4bfb93);else{if(_0x1d7e15&&_0x1d7e15[_0x44d0('0x45')])for(const [_0x2830cd,_0x2a141f]of Object[_0x44d0('0x94')](_0x1d7e15[_0x44d0('0x45')])){const _0x244c8c=_0x159ad5['model'][_0x44d0('0x14')][_0x44d0('0x34')](_0x2830cd),_0x54c09e=_0x244c8c?_0x244c8c[_0x44d0('0x71')]()[_0x44d0('0x10')]():null;_0x54c09e&&_0x100ad4[_0x44d0('0x77')](_0x54c09e,_0x2a141f);}}_0x159ad5['model'][_0x44d0('0x59')](_0x507f5c=>{for(const [_0x4cbf9e,_0x23e9e9]of _0x100ad4)_0x507f5c[_0x44d0('0x7f')]({...ae,..._0x23e9e9},_0x4cbf9e);});});const _0x45b8d3=(_0x3ca91b,_0x388416)=>{_0xc09994[_0x44d0('0x92')]['registerCustomCallback'](_0x3ca91b,_0x44d0('0x51'),_0x388416,(_0xac39f8,_0xcd3ba1,_0xd1a3b)=>{_0x159ad5[_0x44d0('0xa3')]['change'](_0x2e9673=>{const _0x31d803=[];for(const _0x1f3e2f of _0xac39f8){const _0x33645b=_0x1f3e2f[_0x44d0('0x24')][_0x44d0('0x79')];_0x33645b['is'](_0x44d0('0x73'),'tableCellSuggestion')&&_0x31d803[_0x44d0('0x2d')](_0x33645b);}_0xc09994[_0x44d0('0x92')]['getSuggestionCallback'](_0x3ca91b,null,_0x388416)(_0xac39f8,_0xcd3ba1,_0xd1a3b);for(const _0x4553e9 of _0x31d803)_0x44d0('0x69')!=_0x4553e9['root'][_0x44d0('0x15')]&&_0x2e9673[_0x44d0('0x8d')](_0x4553e9);});});};_0x45b8d3('insertion','accept'),_0x45b8d3('insertion','discard'),_0x45b8d3('deletion','accept'),_0x45b8d3(_0x44d0('0x68'),_0x44d0('0x11')),_0xc09994[_0x44d0('0x92')][_0x44d0('0x86')](_0x44d0('0x1b'),'tablePasteRow',_0x44d0('0x11'),_0x2551c7=>{const _0x460902=_0x2551c7[_0x44d0('0x53')](_0x3eed85=>_0x3eed85[_0x44d0('0x10')]()),_0x1d3b0a=_0x460902[0x0][_0x44d0('0xa')]('table'),{minRow:_0x6bc0ab,maxRow:_0x2e2b45}=_0x408c51[_0x44d0('0x1f')](_0x460902);_0x23a3ca[_0x44d0('0x52')](_0x1d3b0a,{'at':_0x6bc0ab,'rows':_0x2e2b45-_0x6bc0ab+0x1});}),_0xc09994[_0x44d0('0x92')][_0x44d0('0x86')](_0x44d0('0x1b'),_0x44d0('0xf'),_0x44d0('0x11'),_0x48e530=>{const _0x2311d7=_0x48e530[_0x44d0('0x53')](_0x2b990f=>_0x2b990f[_0x44d0('0x10')]()),_0x2d2184=_0x2311d7[0x0][_0x44d0('0xa')](_0x44d0('0x29')),{minColumn:_0x4f2972,maxColumn:_0x4eebf7}=_0x408c51[_0x44d0('0x1f')](_0x2311d7);_0x23a3ca[_0x44d0('0x98')](_0x2d2184,{'at':_0x4f2972,'columns':_0x4eebf7-_0x4f2972+0x1});});const _0x3a8598=(_0x4f3feb,_0x275a4d)=>{if(!_0x275a4d[_0x44d0('0x3b')]||!_0x275a4d['subType'][_0x44d0('0x2e')]('tablePaste'))return;const _0x32f563=_0x275a4d[_0x44d0('0x47')][_0x44d0('0x1c')],_0x588203=_0xc09994[_0x44d0('0x38')]()[_0x44d0('0x7')](_0x311565=>_0x311565[_0x44d0('0x5a')]&&_0x311565[_0x44d0('0x47')]&&_0x311565[_0x44d0('0x47')]['tablePasteChainId']==_0x32f563);_0x588203[_0x44d0('0x74')]&&_0x275a4d['getAllAdjacentSuggestions']()[_0x44d0('0x74')]!=_0x588203[_0x44d0('0x74')]&&_0x588203[_0x44d0('0x99')]((_0x55e2a4,_0x2f28d2)=>(_0x55e2a4[_0x44d0('0x21')]=_0x2f28d2,_0x2f28d2[_0x44d0('0x39')]=_0x55e2a4,_0x2f28d2));};function _0x5a1c25(_0x51d4cb,_0x2edff7=!0x0){const {id:_0x2f6700}=_0xc09994[_0x44d0('0x3c')](_0x51d4cb[_0x44d0('0x4c')]),_0x35cb10=[_0x44d0('0x4f'),_0x44d0('0x37')],_0x471e06=_0xc09994[_0x44d0('0x28')]['includes'](_0x51d4cb[_0x44d0('0x4c')]);return _0x471e06&&_0x35cb10[_0x44d0('0x2d')](_0x44d0('0x6')),{'classes':_0x35cb10,'attributes':{'data-suggestion':_0x2f6700},'priority':_0x471e06&&_0x2edff7?0xbc2:0xbb8};}_0xc09994['on'](_0x44d0('0x87'),_0x3a8598,{'priority':'high'}),_0xc09994['on'](_0x44d0('0x35'),_0x3a8598,{'priority':'high'}),_0x159ad5['model']['document']['registerPostFixer'](()=>{let _0x3cb1e9=!0x1;const _0x5da41d=Array[_0x44d0('0x9d')](_0x159ad5[_0x44d0('0xa3')][_0x44d0('0x82')][_0x44d0('0x5')][_0x44d0('0x3d')]());for(const {name:_0x33cb0d,data:_0x213b5b}of _0x5da41d){const {group:_0x7ab585,type:_0x5b4a7b,id:_0x517485}=_0xc09994[_0x44d0('0x3c')](_0x33cb0d);if('suggestion'!=_0x7ab585||_0x44d0('0x68')!=_0x5b4a7b||_0x213b5b['oldRange'])continue;if(!_0xc09994[_0x44d0('0x67')](_0x517485))continue;const _0x5c2e3f=_0xc09994[_0x44d0('0x3a')](_0x517485)[_0x44d0('0x22')](),_0x336799=_0x159ad5[_0x44d0('0x43')][_0x44d0('0x34')](_0x44d0('0x89'))['me'];for(const _0x3ca2f9 of _0xc09994[_0x44d0('0x38')]()){if(!_0x3ca2f9['isInContent']||_0x3ca2f9[_0x44d0('0x85')]!=_0x336799)continue;if('formatBlock'!=_0x3ca2f9['type']||_0x44d0('0x6c')!=_0x3ca2f9['subType'])continue;if(_0x3ca2f9[_0x44d0('0x22')]()[_0x44d0('0x84')](_0x25d8f8=>_0x5c2e3f[_0x44d0('0x3f')](_0x2c2c62=>_0x2c2c62[_0x44d0('0x75')](_0x25d8f8,!0x0))))for(const _0x38c5b7 of _0x3ca2f9[_0x44d0('0x8a')]())_0x38c5b7[_0x44d0('0x5a')]&&(_0x38c5b7['discard'](),_0x3cb1e9=!0x0);}}return _0x3cb1e9;}),_0x159ad5['model'][_0x44d0('0x82')][_0x44d0('0x60')](_0x4d9591=>{const _0x1e3e0f=_0x159ad5[_0x44d0('0x16')][_0x44d0('0x34')](_0x44d0('0x50'));if(!_0x1e3e0f||!_0x1e3e0f[_0x44d0('0x19')][_0x44d0('0x12')](_0x4d9591[_0x44d0('0x90')]))return!0x1;let _0x1c3407=!0x1;const _0x1352ac=_0x159ad5[_0x44d0('0x43')]['get'](_0x44d0('0x89'))['me'],_0xfabf6f=_0x159ad5[_0x44d0('0xa3')][_0x44d0('0x82')][_0x44d0('0x5')]['getChanges'](),_0x3b01d6=Array['from'](_0x159ad5[_0x44d0('0xa3')][_0x44d0('0x82')]['differ'][_0x44d0('0x3d')]())['filter'](({name:_0x109659,data:_0x448995})=>{const {group:_0x1b4273,subType:_0x3d6398,authorId:_0x4fff35}=_0xc09994[_0x44d0('0x3c')](_0x109659);return _0x44d0('0xb')==_0x1b4273&&'tablePaste'==_0x3d6398&&_0x4fff35==_0x1352ac['id']&&!_0x448995['oldRange'];});for(const _0x2901e8 of _0xfabf6f){if(_0x44d0('0x81')!=_0x2901e8[_0x44d0('0x63')]||_0x44d0('0x54')!=_0x2901e8['name']||0x1!=_0x2901e8[_0x44d0('0x74')])continue;const _0x233de0=_0x4d9591[_0x44d0('0x42')](_0x2901e8['position'],_0x2901e8[_0x44d0('0x49')]['getShiftedBy'](0x1));if(!_0x3b01d6[_0x44d0('0x61')](({data:_0x22b74f})=>_0x22b74f[_0x44d0('0x1e')][_0x44d0('0xc')](_0x233de0)))for(const {name:_0x472486,data:_0x460b73}of _0x3b01d6)if(_0x233de0[_0x44d0('0x75')](_0x460b73[_0x44d0('0x1e')])){_0x4d9591[_0x44d0('0x26')](_0x472486,{'range':_0x233de0}),_0x1c3407=!0x0;break;}}return _0x1c3407;}),_0x159ad5[_0x44d0('0xa3')][_0x44d0('0x82')][_0x44d0('0x60')](_0x3373ed=>{let _0x42b02f=!0x1;const _0x1885f8=_0x159ad5['plugins']['get']('Users')['me'],_0x41b583=_0xc09994[_0x44d0('0x38')]()[_0x44d0('0x7')](_0x203bdf=>_0x203bdf[_0x44d0('0x5a')]&&_0x203bdf[_0x44d0('0x85')]==_0x1885f8),_0x21731f=new Set(),_0x1e54b3=new Set();for(const _0x3646f1 of _0x41b583)if(_0x44d0('0x51')==_0x3646f1['subType'])for(const _0x1fa069 of _0x3646f1[_0x44d0('0xa8')]()){const _0x529560=_0x1fa069[_0x44d0('0x71')]()[_0x44d0('0x10')]();if(_0x529560){if(_0x529560['is']('element','tableCellSuggestion')&&ce(_0x529560)){_0x3646f1[_0x44d0('0xa2')](_0x1fa069[_0x44d0('0x0')]),_0x21731f['add'](_0x529560),_0x42b02f=!0x0;const _0x364caf=_0x529560[_0x44d0('0x9e')],_0x3d8b27=_0x529560[_0x44d0('0x46')],_0x3e64b2=_0x364caf&&_0x364caf['is'](_0x44d0('0x73'),_0x44d0('0x54')),_0x1b343a=_0x3d8b27&&_0x3d8b27['is'](_0x44d0('0x73'),_0x44d0('0x54'));_0x3e64b2&&!_0x21731f[_0x44d0('0x12')](_0x364caf)&&_0x1e54b3[_0x44d0('0x8f')](_0x364caf),_0x1b343a&&!_0x21731f[_0x44d0('0x12')](_0x3d8b27)&&_0x1e54b3[_0x44d0('0x8f')](_0x3d8b27);}else _0x529560['is'](_0x44d0('0x73'),_0x44d0('0x76'))&&_0x529560[_0x44d0('0x5b')]&&(_0x3646f1[_0x44d0('0xa2')](_0x1fa069['name']),_0x42b02f=!0x0);}}else{if(_0x44d0('0x6c')==_0x3646f1[_0x44d0('0x3b')]){if(!_0x3646f1['attributes']||!_0x3646f1[_0x44d0('0x47')]['tablePasteChainId'])continue;const _0xa250ef=_0x3646f1['attributes']['markerAttributes'];if(_0xa250ef&&Object[_0x44d0('0x8c')](_0xa250ef)['length'])continue;const _0x42621a=_0x3646f1[_0x44d0('0x47')][_0x44d0('0x1c')];let _0x4bf195=!0x0,_0x464dda=!0x0;for(const _0x2f9d08 of _0x41b583)if(_0x2f9d08[_0x44d0('0x3b')]&&_0x2f9d08[_0x44d0('0x3b')][_0x44d0('0x2e')](_0x44d0('0x51'))){if(!_0x2f9d08[_0x44d0('0x47')]['tablePasteChainId']){_0x464dda=!0x1;break;}if(_0x2f9d08['id']!=_0x3646f1['id']&&_0x2f9d08['attributes']['tablePasteChainId']==_0x42621a){_0x4bf195=!0x1;break;}}_0x464dda&&_0x4bf195&&(_0x3646f1[_0x44d0('0x27')](),_0x42b02f=!0x0);}}for(const _0x46e213 of _0x21731f)_0x3373ed[_0x44d0('0x48')](_0x46e213);for(const _0x416091 of _0x1e54b3)_0x3373ed['unwrap'](_0x416091);return _0x42b02f;}),_0x159ad5[_0x44d0('0x6a')][_0x44d0('0x6b')](_0x44d0('0x31'))[_0x44d0('0x4')]({'model':'suggestion:formatBlock:tablePasteCell','view':(_0x48e7e1,_0xffa7e6)=>_0x5a1c25(_0x48e7e1),'converterPriority':_0x44d0('0x70')}),_0x159ad5[_0x44d0('0x6a')]['for'](_0x44d0('0x18'))[_0x44d0('0x4')]({'model':'suggestion:formatBlock:tablePasteCell','view':(_0x53777f,_0x23ed16)=>_0x23ed16['options']['showSuggestionHighlights']?_0x5a1c25(_0x53777f,!0x1):null,'converterPriority':_0x44d0('0x70')});const _0x1c44cf=_0x159ad5[_0x44d0('0x72')][_0x44d0('0x9b')];this[_0x44d0('0x2b')](_0x1c44cf[_0x44d0('0x82')],'clipboardOutput',(_0x43c23e,_0x751a45)=>{const _0x22af2d=[];for(const _0x52c2db of _0x1c44cf[_0x44d0('0x2c')](_0x751a45[_0x44d0('0x8e')])[_0x44d0('0x96')]())_0x52c2db['is']('element','suggestion-td')&&_0x22af2d[_0x44d0('0x2d')](_0x52c2db);_0x1c44cf['change'](_0x17540e=>{for(const _0x58002b of _0x22af2d)_0x17540e[_0x44d0('0x5f')](_0x17540e[_0x44d0('0x2c')](_0x58002b),_0x17540e[_0x44d0('0x9f')](_0x58002b)),_0x17540e[_0x44d0('0x48')](_0x58002b);});});}}function ce(_0xacb33f){if(_0xacb33f['isEmpty'])return!0x0;const _0x566529=_0xacb33f[_0x44d0('0x17')](0x0);return _0x566529['is'](_0x44d0('0x73'),'paragraph')&&_0x566529[_0x44d0('0x5b')];}function fe(_0x1fce2c,_0x5f2925={},_0x577653){for(const {isAnchor:_0x213c27,cellHeight:_0x19ce7d,cellWidth:_0x51dab7}of _0x577653[_0x44d0('0x40')](_0x1fce2c,{'includeAllSlots':!0x0,..._0x5f2925}))if(!_0x213c27||0x1!=_0x19ce7d||0x1!=_0x51dab7)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 _0x3864=['getColumnGroupElement','resizeTableWidth','accept','afterInit','selection','get','registerCustomCallback','getSuggestionCallback','model','discard','TrackChangesEditing','getAttribute','getSuggestions','markBlockFormat','change','bind','editor','tableWidth','columnWidths','registerDescriptionCallback','author','handleResizeTableWidthCommand','enableCommand','Users','TableColumnResizeEditing','locale','formatGroupId','resizeTable','resizeColumnWidths','has','_suggestionFactory','document','format','data','formatBlock','plugins','handleSuggestionDescription','commandParams','_descriptionFactory'];(function(_0x2b3581,_0x386413){const _0x703ec=function(_0x555ede){while(--_0x555ede){_0x2b3581['push'](_0x2b3581['shift']());}};_0x703ec(++_0x386413);}(_0x3864,0x119));const _0x703e=function(_0x2b3581,_0x386413){_0x2b3581=_0x2b3581-0x0;let _0x703ec=_0x3864[_0x2b3581];return _0x703ec;};import{Plugin as _0x5463de}from'ckeditor5/src/core';import{getTranslation as _0x165b65}from'../utils/common-translations';export default class wt extends _0x5463de{[_0x703e('0x22')](){if(!this['editor'][_0x703e('0x1b')][_0x703e('0x15')](_0x703e('0x10')))return;const _0xe59b61=this['editor'][_0x703e('0x1b')]['get']('TrackChangesEditing');_0xe59b61[_0x703e('0xe')](_0x703e('0x20'),this[_0x703e('0xd')][_0x703e('0x7')](this)),_0xe59b61[_0x703e('0xe')](_0x703e('0x14'),this[_0x703e('0xd')][_0x703e('0x7')](this)),_0xe59b61[_0x703e('0x16')][_0x703e('0x25')]('formatBlock','resizeTable','accept',_0xe59b61[_0x703e('0x16')][_0x703e('0x26')](_0x703e('0x1a'),null,_0x703e('0x1'))),_0xe59b61[_0x703e('0x16')]['registerCustomCallback'](_0x703e('0x1a'),_0x703e('0x13'),'discard',_0xe59b61[_0x703e('0x16')][_0x703e('0x26')](_0x703e('0x1a'),null,_0x703e('0x21'))),_0xe59b61[_0x703e('0x1e')][_0x703e('0xb')](this[_0x703e('0x1c')][_0x703e('0x7')](this));}[_0x703e('0xd')](_0x1a1dfd,_0x526893){const _0x2a62d5=this['editor'][_0x703e('0x1b')][_0x703e('0x24')](_0x703e('0x2')),_0x236aba=this[_0x703e('0x8')]['plugins'][_0x703e('0x24')](_0x703e('0x10')),_0x51abfe=_0x526893['table']||this[_0x703e('0x8')][_0x703e('0x0')][_0x703e('0x17')][_0x703e('0x23')]['getSelectedElement']();this[_0x703e('0x8')]['model'][_0x703e('0x6')](()=>{const _0x499f26=_0x236aba[_0x703e('0x1f')](_0x51abfe);let _0x4672df=_0x499f26?_0x236aba['getTableColumnsWidths'](_0x499f26):null,_0x4f8234=_0x51abfe[_0x703e('0x3')](_0x703e('0x9'))||null;const _0x189cf2=_0x526893[_0x703e('0x9')]||_0x4f8234,_0x1a2197=_0x526893[_0x703e('0xa')]||_0x4672df,_0x5c22a4=this[_0x703e('0x8')][_0x703e('0x1b')][_0x703e('0x24')](_0x703e('0xf'))['me'];for(const _0x814e4c of _0x2a62d5[_0x703e('0x4')]()){const _0x29ffa2=_0x814e4c['getContainedElement']();if('resizeTable'===_0x814e4c['subType']&&_0x29ffa2===_0x51abfe){_0x814e4c[_0x703e('0xc')]!==_0x5c22a4&&_0x814e4c[_0x703e('0x1')]();const _0x4320f8=_0x814e4c[_0x703e('0x19')][_0x703e('0x1d')];_0x4f8234=_0x4320f8[0x0][_0x703e('0x9')],_0x4672df=_0x4320f8[0x0][_0x703e('0xa')];break;}}_0x1a1dfd({'table':_0x51abfe,'tableWidth':_0x189cf2,'columnWidths':_0x1a2197}),_0x2a62d5[_0x703e('0x5')](_0x51abfe,{'commandName':_0x703e('0x20'),'commandParams':[{'tableWidth':_0x4f8234,'columnWidths':_0x4672df}],'formatGroupId':_0x703e('0x13')},[],'resizeTable');});}[_0x703e('0x1c')](_0x17be36){const {data:_0x3e38cd}=_0x17be36;if(_0x3e38cd&&'resizeTable'===_0x3e38cd[_0x703e('0x12')]){const _0x2a32c1='*Format:*\x20resize\x20table';return{'type':_0x703e('0x18'),'content':_0x165b65(this[_0x703e('0x8')][_0x703e('0x11')],_0x2a32c1)};}}}
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 _0x26a3=['model','commandName','addMarker:suggestion','from','parent','ck-suggestion-marker--active','markBlockFormat','registerDescriptionCallback','data','options','childCount','consumable','writer','ck-suggestion-marker-','nodeBefore','editor','setTableColumnHeader','name','selection','setTableRowHeader','getCellLocation','data-suggestion','_descriptionFactory','createPositionBefore','afterInit','getRowIndexes','headingRows','editing','createTableWalker','table','activeMarkers','createRange','getSuggestion','plugins','headingColumns','TableUtils','*Format:*\x20%0','highest','bindElementToMarker','last','formatBlock','index','forceValue','FORMAT_REGULAR_ROW','consume','addClass','markerRange','registerCustomCallback','downcastDispatcher','_splitMarkerName','isBefore','cell','commands','createPositionAfter','showSuggestionHighlights','commandParams','removeClass','getSelectionAffectedTableCells','get','TableEditing','has','end','mapper','locale','getColumnIndexes','nodeAfter','stop','removeAttribute','_suggestionFactory','document','markerName','first','change','value','getChild','unbindElementFromMarkerName'];(function(_0x202afb,_0x26a3c8){const _0xe8c437=function(_0x434e42){while(--_0x434e42){_0x202afb['push'](_0x202afb['shift']());}};_0xe8c437(++_0x26a3c8);}(_0x26a3,0xeb));const _0xe8c4=function(_0x202afb,_0x26a3c8){_0x202afb=_0x202afb-0x0;let _0xe8c437=_0x26a3[_0x202afb];return _0xe8c437;};import{Plugin as _0x5da303}from'ckeditor5/src/core';import _0x2e3a90 from'./table';import{getTranslation as _0x3afef9}from'../utils/common-translations';export default class pt extends _0x5da303{static get['requires'](){return[_0x2e3a90];}[_0xe8c4('0x11')](){const _0x1acbe9=this[_0xe8c4('0x8')];if(!_0x1acbe9[_0xe8c4('0x1a')][_0xe8c4('0x35')](_0xe8c4('0x34')))return;const _0x1b8631=_0x1acbe9[_0xe8c4('0x38')],_0x4a3a23=_0x1acbe9[_0xe8c4('0x1a')][_0xe8c4('0x33')]('TrackChangesEditing'),_0x29e980=_0x1acbe9[_0xe8c4('0x1a')][_0xe8c4('0x33')](_0xe8c4('0x1c')),_0x2e0863=_0x1acbe9['plugins'][_0xe8c4('0x33')](_0x2e3a90);function _0x1bd11a({showActiveMarker:_0x3dbf56=!0x0,setDataAttribute:_0xd6f8be=!0x0}={}){return(_0x1d3491,_0xcb2e22,_0x2feda7)=>{const {type:_0x3410e0,id:_0xb63d73}=_0x4a3a23[_0xe8c4('0x2a')](_0xcb2e22[_0xe8c4('0x3f')]),_0x50dc16=_0x4a3a23['getSuggestion'](_0xb63d73);if(!_0x50dc16[_0xe8c4('0x1')]||_0xe8c4('0x9')!=_0x50dc16['data'][_0xe8c4('0x46')])return;if(_0xcb2e22['item'])return void _0x1d3491[_0xe8c4('0x3b')]();if(!_0x2feda7[_0xe8c4('0x4')][_0xe8c4('0x25')](_0xcb2e22[_0xe8c4('0x27')],_0x1d3491[_0xe8c4('0xa')]))return;const _0x2c355f=_0xcb2e22[_0xe8c4('0x27')]['start'][_0xe8c4('0x3a')],_0x1727d4=_0xcb2e22['markerRange'][_0xe8c4('0x36')][_0xe8c4('0x7')],_0x33ebe7=_0x2c355f[_0xe8c4('0x49')]['parent'],{column:_0x4987a9}=_0x29e980[_0xe8c4('0xd')](_0x2c355f),{column:_0x36cc28}=_0x29e980[_0xe8c4('0xd')](_0x1727d4);for(let _0x566089=_0x4987a9;_0x566089<=_0x36cc28;_0x566089++){const _0x4bdfe8=_0x29e980[_0xe8c4('0x15')](_0x33ebe7,{'column':_0x566089,'includeAllSlots':!0x1});for(const _0x1b795f of _0x4bdfe8){const _0x93d9c=_0x1b795f[_0xe8c4('0x2c')],_0x3b9d13=_0x2feda7[_0xe8c4('0x37')]['toViewElement'](_0x93d9c);_0x2feda7[_0xe8c4('0x5')][_0xe8c4('0x26')](_0xe8c4('0x6')+_0x3410e0,_0x3b9d13),_0xd6f8be&&_0x2feda7[_0xe8c4('0x5')]['setAttribute'](_0xe8c4('0xe'),_0xb63d73,_0x3b9d13),_0x2feda7[_0xe8c4('0x37')][_0xe8c4('0x1f')](_0x3b9d13,_0xcb2e22[_0xe8c4('0x3f')]),_0x3dbf56&&(_0x4a3a23[_0xe8c4('0x17')]['includes'](_0xcb2e22[_0xe8c4('0x3f')])?_0x2feda7[_0xe8c4('0x5')]['addClass']('ck-suggestion-marker--active',_0x3b9d13):_0x2feda7[_0xe8c4('0x5')][_0xe8c4('0x31')](_0xe8c4('0x4a'),_0x3b9d13));}}};}_0x4a3a23['enableCommand'](_0xe8c4('0xc'),(_0x61f21e,_0x38e400)=>{const _0x58b4b7=_0x29e980[_0xe8c4('0x32')](_0x1acbe9[_0xe8c4('0x45')]['document'][_0xe8c4('0xb')]),_0x12c819=_0x29e980[_0xe8c4('0x12')](_0x58b4b7),_0x482133=_0x58b4b7[0x0]['findAncestor'](_0xe8c4('0x16')),_0x3ba279=_0x482133['getAttribute'](_0xe8c4('0x13'))||0x0,_0x3ac76d=_0x38e400&&null!==_0x38e400['forceValue']?_0x38e400[_0xe8c4('0x23')]:!_0x1acbe9['commands']['get'](_0xe8c4('0xc'))['value'],_0x21750b=_0x3ac76d?_0x12c819[_0xe8c4('0x20')]:_0x12c819[_0xe8c4('0x40')],_0x82c5de=_0x482133['getChild'](_0x21750b);let _0x45e55e;if(_0x3ac76d){const _0x5574d1=_0x482133[_0xe8c4('0x43')](_0x3ba279);if(_0x82c5de[_0xe8c4('0x22')]<_0x5574d1[_0xe8c4('0x22')])return;_0x45e55e=_0x1acbe9[_0xe8c4('0x45')][_0xe8c4('0x18')](_0x1acbe9[_0xe8c4('0x45')][_0xe8c4('0x10')](_0x5574d1[_0xe8c4('0x43')](0x0)),_0x1acbe9[_0xe8c4('0x45')]['createPositionAfter'](_0x82c5de['getChild'](_0x82c5de[_0xe8c4('0x3')]-0x1)));}else{const _0x698931=_0x482133[_0xe8c4('0x43')](_0x3ba279-0x1);if(!_0x698931)return;_0x45e55e=_0x1acbe9[_0xe8c4('0x45')][_0xe8c4('0x18')](_0x1acbe9[_0xe8c4('0x45')][_0xe8c4('0x10')](_0x82c5de['getChild'](0x0)),_0x1acbe9[_0xe8c4('0x45')][_0xe8c4('0x2e')](_0x698931[_0xe8c4('0x43')](_0x698931[_0xe8c4('0x3')]-0x1)));}_0x1acbe9['model'][_0xe8c4('0x41')](()=>{_0x4a3a23[_0xe8c4('0x4b')](_0x45e55e,{'commandName':_0xe8c4('0xc'),'commandParams':[{'forceValue':_0x3ac76d}]},[],_0xe8c4('0xc'));});}),_0x4a3a23['enableCommand'](_0xe8c4('0x9'),(_0xe81771,_0x2c6f11)=>{const _0xe98fcb=_0x1acbe9[_0xe8c4('0x1a')][_0xe8c4('0x33')](_0xe8c4('0x1c')),_0x162794=_0xe98fcb[_0xe8c4('0x32')](_0x1acbe9[_0xe8c4('0x45')][_0xe8c4('0x3e')][_0xe8c4('0xb')]),_0x3b738c=_0xe98fcb[_0xe8c4('0x39')](_0x162794),_0x5f3bf2=_0x162794[0x0]['findAncestor'](_0xe8c4('0x16')),_0x2ceaa3=_0x5f3bf2['getAttribute'](_0xe8c4('0x1b'))||0x0,_0x2358de=_0x2c6f11&&null!==_0x2c6f11['forceValue']?_0x2c6f11[_0xe8c4('0x23')]:!_0x1acbe9[_0xe8c4('0x2d')][_0xe8c4('0x33')](_0xe8c4('0x9'))[_0xe8c4('0x42')];let _0x180a62;const _0x6fd08c=_0x5f3bf2[_0xe8c4('0x43')](0x0),_0x4b644d=_0x2358de?_0x3b738c[_0xe8c4('0x20')]:_0x3b738c[_0xe8c4('0x40')],_0x43d18f=_0xe98fcb[_0xe8c4('0x15')](_0x5f3bf2,{'startRow':0x0,'column':_0x4b644d,'includeAllSlots':!0x1}),_0x546e98=Array[_0xe8c4('0x48')](_0x43d18f)[0x0][_0xe8c4('0x2c')];if(_0x2358de){const _0x3f7ca2=_0x6fd08c['getChild'](_0x2ceaa3);if(_0x546e98[_0xe8c4('0x2b')](_0x3f7ca2))return;_0x180a62=_0x1acbe9[_0xe8c4('0x45')][_0xe8c4('0x18')](_0x1acbe9[_0xe8c4('0x45')][_0xe8c4('0x10')](_0x3f7ca2),_0x1acbe9[_0xe8c4('0x45')][_0xe8c4('0x2e')](_0x546e98));}else{const _0x43e6f4=_0x6fd08c[_0xe8c4('0x43')](_0x2ceaa3-0x1);if(!_0x43e6f4)return;_0x180a62=_0x1acbe9[_0xe8c4('0x45')][_0xe8c4('0x18')](_0x1acbe9[_0xe8c4('0x45')]['createPositionBefore'](_0x546e98),_0x1acbe9[_0xe8c4('0x45')][_0xe8c4('0x2e')](_0x43e6f4));}_0x1acbe9[_0xe8c4('0x45')]['change'](()=>{_0x4a3a23['markBlockFormat'](_0x180a62,{'commandName':_0xe8c4('0x9'),'commandParams':[{'forceValue':_0x2358de}]},[],_0xe8c4('0x9'));});}),_0x1acbe9[_0xe8c4('0x14')][_0xe8c4('0x29')]['on'](_0xe8c4('0x47'),_0x1bd11a(),{'priority':_0xe8c4('0x1e')}),_0x1acbe9['data'][_0xe8c4('0x29')]['on']('addMarker:suggestion',(_0x40d9be,_0x140164,_0x1045ae)=>{_0x1045ae[_0xe8c4('0x2')][_0xe8c4('0x2f')]&&_0x1bd11a({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x40d9be,_0x140164,_0x1045ae);},{'priority':_0xe8c4('0x1e')}),_0x1acbe9[_0xe8c4('0x14')][_0xe8c4('0x29')]['on']('removeMarker:suggestion',(_0x5af0ee,_0xd1718f,_0x4c1aa1)=>{const {type:_0x12fae9,id:_0x15fb8d}=_0x4a3a23[_0xe8c4('0x2a')](_0xd1718f[_0xe8c4('0x3f')]),_0x196c3c=_0x4a3a23[_0xe8c4('0x19')](_0x15fb8d);if(!_0x196c3c[_0xe8c4('0x1')]||'setTableColumnHeader'!=_0x196c3c[_0xe8c4('0x1')]['commandName'])return;const _0x1e2826=_0x4c1aa1[_0xe8c4('0x37')]['markerNameToElements'](_0xd1718f[_0xe8c4('0x3f')]);if(_0x1e2826)for(const _0x524c2f of _0x1e2826)_0x4c1aa1[_0xe8c4('0x5')][_0xe8c4('0x31')](_0xe8c4('0x6')+_0x12fae9,_0x524c2f),_0x4c1aa1[_0xe8c4('0x5')][_0xe8c4('0x31')](_0xe8c4('0x4a'),_0x524c2f),_0x4c1aa1['writer'][_0xe8c4('0x3c')](_0xe8c4('0xe'),_0x524c2f),_0x4c1aa1[_0xe8c4('0x37')][_0xe8c4('0x44')](_0x524c2f,_0xd1718f['markerName']);},{'priority':_0xe8c4('0x1e')}),_0x4a3a23[_0xe8c4('0xf')][_0xe8c4('0x0')](_0x4af857=>{const {data:_0x29c6dc}=_0x4af857;if(_0x29c6dc){if(_0xe8c4('0xc')==_0x29c6dc[_0xe8c4('0x46')]){const _0x4460cf=_0x29c6dc[_0xe8c4('0x30')][0x0][_0xe8c4('0x23')];return _0x714ce(_0x3afef9(_0x1b8631,_0x4460cf?'FORMAT_HEADER_ROW':_0xe8c4('0x24')));}if(_0xe8c4('0x9')==_0x29c6dc[_0xe8c4('0x46')]){const _0x10daef=_0x29c6dc[_0xe8c4('0x30')][0x0][_0xe8c4('0x23')];return _0x714ce(_0x3afef9(_0x1b8631,_0x10daef?'FORMAT_HEADER_COLUMN':'FORMAT_REGULAR_COLUMN'));}}function _0x714ce(_0x5b034b){return{'type':'format','content':_0x3afef9(_0x1b8631,_0xe8c4('0x1d'),_0x5b034b)};}});const _0x1af804=_0x2e0863['_acceptFormatSuggestionCallbackFactory']();_0x4a3a23[_0xe8c4('0x3d')][_0xe8c4('0x28')]('formatBlock',_0xe8c4('0xc'),'accept',_0x1af804),_0x4a3a23['_suggestionFactory'][_0xe8c4('0x28')](_0xe8c4('0x21'),_0xe8c4('0x9'),'accept',_0x1af804);}}
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 _0x1e88=['refresh','length','author','TrackChangesEditing','requires','_areSelectedCellsMergable','_tablePostFixingSubtypes','TableUtils','find','*Split\x20cell:*\x20vertically','markBlockFormat','horizontally','fromRange','deletion','plugins','markMultiRangeBlockFormat','_descriptionFactory','document','registerDescriptionCallback','selection','mergeTableCells','editor','createRangeOn','getCellLocation','getAncestors','map','splitTableCellHorizontally','splitTableCellVertically','accept','get','add','mergeTableCellLeft','*Split\x20cell:*\x20horizontally','_suggestionFactory','return','commandName','rootName','low','findAncestor','getRanges','enableCommand','afterInit','table','isInContent','_areMergableCells','change','getSelectionAffectedTableCells','_acceptFormatSuggestionCallbackFactory','getSuggestions','isEnabled','_isForcedDefaultExecutionBlock','mergeTableCellRight','$graveyard','highest','trackChanges','createTableWalker','commands','root','type','model','containsRange','from','cell','push','forceDefaultExecution','execute','element','formatBlock','value','format','registerCustomCallback','mergeTableCellUp','setSelection','mergeTableCellDown','stop','insertion','has'];(function(_0x103656,_0x1e8885){const _0x19ef05=function(_0x3ee9e4){while(--_0x3ee9e4){_0x103656['push'](_0x103656['shift']());}};_0x19ef05(++_0x1e8885);}(_0x1e88,0xa8));const _0x19ef=function(_0x103656,_0x1e8885){_0x103656=_0x103656-0x0;let _0x19ef05=_0x1e88[_0x103656];return _0x19ef05;};import{Plugin as _0x455f55}from'ckeditor5/src/core';import _0x38d3f1 from'./table';import{LiveRange as _0x1a421d}from'ckeditor5/src/engine';import{getTranslation as _0x8e2dee}from'../utils/common-translations';export default class dt extends _0x455f55{static get[_0x19ef('0x43')](){return[_0x38d3f1];}[_0x19ef('0x1b')](){const _0x20fdde=this['editor'],_0x198b16=_0x20fdde[_0x19ef('0x2d')][_0x19ef('0x3')][_0x19ef('0x5')],_0x37a094=_0x20fdde['locale'];if(!_0x20fdde['plugins'][_0x19ef('0x3e')]('TableEditing'))return;const _0xa745fd=_0x20fdde['plugins'][_0x19ef('0xf')](_0x19ef('0x42')),_0x4161b3=_0x20fdde[_0x19ef('0x0')][_0x19ef('0xf')](_0x19ef('0x46')),_0x4e711f=_0x20fdde[_0x19ef('0x0')]['get'](_0x38d3f1);_0x4e711f[_0x19ef('0x45')][_0x19ef('0x31')](_0x19ef('0x6')),_0xa745fd[_0x19ef('0x1a')](_0x19ef('0x6'),()=>{const _0x23ecdb=_0x4161b3[_0x19ef('0x20')](_0x20fdde[_0x19ef('0x2d')]['document'][_0x19ef('0x5')]);_0x20fdde[_0x19ef('0x2d')][_0x19ef('0x1f')](()=>{_0xa745fd[_0x19ef('0x1')](_0x23ecdb,{'commandName':_0x19ef('0x6'),'commandParams':[]},[],_0x19ef('0x6'));});}),_0x20fdde[_0x19ef('0x2a')][_0x19ef('0xf')](_0x19ef('0x6'))['on']('execute',(_0x3ead76,_0x4ef128)=>{_0x20fdde[_0x19ef('0x2a')]['get'](_0x19ef('0x28'))['value']&&(_0x4ef128[_0x19ef('0x40')]>0x0&&_0x4ef128[_0x4ef128[_0x19ef('0x40')]-0x1]&&_0x4ef128[_0x4ef128[_0x19ef('0x40')]-0x1][_0x19ef('0x32')]||_0xa745fd[_0x19ef('0x24')]||this[_0x19ef('0x44')]()||_0x3ead76['stop']());},{'priority':_0x19ef('0x27')});for(const _0x3c34c3 of[_0x19ef('0x39'),_0x19ef('0x25'),'mergeTableCellDown',_0x19ef('0x11')]){const _0x503576=_0x20fdde[_0x19ef('0x2a')][_0x19ef('0xf')](_0x3c34c3);_0xa745fd[_0x19ef('0x1a')](_0x3c34c3,()=>{const _0x1f89c1=_0x20fdde[_0x19ef('0x2d')][_0x19ef('0x3')]['selection']['getFirstPosition']()[_0x19ef('0xa')]()[_0x19ef('0x47')](_0x2f8ad9=>_0x2f8ad9['is'](_0x19ef('0x34'),'tableCell')),_0x2b1de0=_0x503576['value'];_0x20fdde[_0x19ef('0x2d')]['change'](()=>{_0xa745fd[_0x19ef('0x1')]([_0x1f89c1,_0x2b1de0],{'commandName':_0x19ef('0x6'),'commandParams':[]},[],_0x19ef('0x6'));});});}for(const _0x461a15 of[_0x19ef('0xd'),_0x19ef('0xc')]){const _0x13ac3c=_0x20fdde['commands'][_0x19ef('0xf')](_0x461a15);_0xa745fd[_0x19ef('0x1a')](_0x461a15,()=>{const _0x180306=_0x4161b3[_0x19ef('0x20')](_0x20fdde[_0x19ef('0x2d')][_0x19ef('0x3')]['selection'])[0x0],_0x43bcb1=_0x180306[_0x19ef('0x18')](_0x19ef('0x1c')),{column:_0x52ec06,row:_0x14a6bb}=_0x4161b3[_0x19ef('0x9')](_0x180306);let _0x562b82=[];if(_0x19ef('0x4a')==_0x13ac3c['direction']){const _0x48b946=_0x4161b3[_0x19ef('0x29')](_0x43bcb1,{'startRow':_0x14a6bb,'endRow':_0x14a6bb,'includeAllSlots':!0x0});_0x562b82=Array['from'](_0x48b946)['map'](_0x16e54e=>_0x16e54e[_0x19ef('0x30')]);}else{const _0xa02b5c=_0x4161b3[_0x19ef('0x29')](_0x43bcb1,{'column':_0x52ec06,'includeAllSlots':!0x0});_0x562b82=Array['from'](_0xa02b5c)['map'](_0x25e1b4=>_0x25e1b4['cell']);}_0x20fdde['model']['change'](_0x3db56e=>{_0xa745fd[_0x19ef('0x49')](_0x3db56e[_0x19ef('0x8')](_0x180306),{'commandName':_0x461a15,'commandParams':[]},_0x562b82,_0x461a15);});});}_0xa745fd[_0x19ef('0x2')]['registerDescriptionCallback'](_0x46354b=>{const {data:_0x764ef6}=_0x46354b;if(_0x764ef6)return _0x19ef('0x6')==_0x764ef6[_0x19ef('0x15')]?{'type':'format','content':_0x8e2dee(_0x37a094,'*Merge\x20cells*')}:void 0x0;}),_0xa745fd[_0x19ef('0x2')][_0x19ef('0x4')](_0x2627b8=>{const {data:_0x3a763d}=_0x2627b8;if(_0x3a763d)return'splitTableCellVertically'==_0x3a763d[_0x19ef('0x15')]?{'type':'format','content':_0x8e2dee(_0x37a094,_0x19ef('0x48'))}:_0x19ef('0xc')==_0x3a763d[_0x19ef('0x15')]?{'type':_0x19ef('0x37'),'content':_0x8e2dee(_0x37a094,_0x19ef('0x12'))}:void 0x0;});const _0x5a24d3=_0x4e711f[_0x19ef('0x21')]();for(const _0x55aa2a of[_0x19ef('0x39'),_0x19ef('0x25'),_0x19ef('0x3b'),_0x19ef('0x11')])_0xa745fd[_0x19ef('0x13')][_0x19ef('0x38')](_0x19ef('0x35'),_0x55aa2a,_0x19ef('0xe'),_0x5a24d3);for(const _0x56b323 of['splitTableCellVertically',_0x19ef('0xc')])_0xa745fd[_0x19ef('0x13')][_0x19ef('0x38')](_0x19ef('0x35'),_0x56b323,_0x19ef('0xe'),_0x5a24d3);_0xa745fd[_0x19ef('0x13')][_0x19ef('0x38')](_0x19ef('0x35'),'mergeTableCells',_0x19ef('0xe'),_0x24c8ac=>{_0x20fdde['model'][_0x19ef('0x1f')](_0x2e9b8=>{const _0xff8dd0=Array[_0x19ef('0x2f')](_0x198b16[_0x19ef('0x19')]())[_0x19ef('0xb')](_0x5e6a23=>_0x1a421d[_0x19ef('0x4b')](_0x5e6a23));_0x2e9b8['setSelection'](_0x24c8ac),_0x20fdde[_0x19ef('0x2a')][_0x19ef('0xf')](_0x19ef('0x6'))[_0x19ef('0x3f')](),_0x20fdde[_0x19ef('0x33')](_0x19ef('0x6'),{'forceDefaultExecution':!0x0});const _0x165f7d=_0xff8dd0['filter'](_0x2f6b61=>_0x19ef('0x26')!=_0x2f6b61[_0x19ef('0x2b')][_0x19ef('0x16')]);_0x165f7d[_0x19ef('0x40')]>0x0&&_0x2e9b8[_0x19ef('0x3a')](_0x165f7d);for(const _0x25381f of _0xff8dd0)_0x25381f['detach']();});});for(const _0x5e4a5e of['mergeTableCellUp',_0x19ef('0x3b'),_0x19ef('0x11'),_0x19ef('0x25')]){const _0x382fa8=_0x20fdde[_0x19ef('0x2a')][_0x19ef('0xf')](_0x5e4a5e);_0x382fa8['on']('set:isEnabled',(_0x275d12,_0x2737c8,_0x3764a3)=>{if(_0x3764a3){const _0x5177ee=_0x20fdde[_0x19ef('0x2d')]['document']['selection']['getFirstPosition']()[_0x19ef('0xa')]()[_0x19ef('0x47')](_0x331cf2=>_0x331cf2['is'](_0x19ef('0x34'),'tableCell'));this[_0x19ef('0x1e')](_0x382fa8[_0x19ef('0x36')],_0x5177ee)||(_0x275d12[_0x19ef('0x14')]=!0x1,_0x275d12[_0x19ef('0x3c')]());}},{'priority':_0x19ef('0x17')});}}[_0x19ef('0x44')](){const _0x4a0fe1=this[_0x19ef('0x7')]['commands'][_0x19ef('0xf')]('mergeTableCells'),_0xefd0b3=this[_0x19ef('0x7')][_0x19ef('0x0')][_0x19ef('0xf')]('TableUtils');if(!_0x4a0fe1[_0x19ef('0x23')])return!0x1;const _0x435d35=_0xefd0b3[_0x19ef('0x20')](this[_0x19ef('0x7')][_0x19ef('0x2d')][_0x19ef('0x3')][_0x19ef('0x5')]);for(const _0x3bf36c of _0x435d35)for(const _0x5036bc of _0x435d35)if(_0x3bf36c!=_0x5036bc&&!this[_0x19ef('0x1e')](_0x3bf36c,_0x5036bc))return!0x1;return!0x0;}[_0x19ef('0x1e')](_0x21b9b6,_0x50d2fd){const _0x5adba5=this[_0x19ef('0x7')]['plugins']['get'](_0x19ef('0x42')),_0x292cf3=this[_0x19ef('0x7')][_0x19ef('0x2d')][_0x19ef('0x8')](_0x21b9b6),_0x2f4c2c=this[_0x19ef('0x7')]['model'][_0x19ef('0x8')](_0x50d2fd),_0x2ae2b5=new Set(),_0xe70df=new Set();for(const _0x1baeea of _0x5adba5[_0x19ef('0x22')]())if((_0x19ef('0x3d')==_0x1baeea[_0x19ef('0x2c')]||_0x19ef('0x4c')==_0x1baeea['type']||'mergeTableCells'==_0x1baeea['subType'])&&_0x1baeea[_0x19ef('0x1d')])for(const _0x853b33 of _0x1baeea[_0x19ef('0x19')]())_0x853b33[_0x19ef('0x2e')](_0x292cf3,!0x0)&&_0x2ae2b5[_0x19ef('0x10')](_0x1baeea[_0x19ef('0x2c')]+':'+_0x1baeea[_0x19ef('0x41')]['id']),_0x853b33[_0x19ef('0x2e')](_0x2f4c2c,!0x0)&&_0xe70df[_0x19ef('0x10')](_0x1baeea[_0x19ef('0x2c')]+':'+_0x1baeea['author']['id']);if(_0x2ae2b5['size']!=_0xe70df['size'])return!0x1;for(const _0x142d45 of _0x2ae2b5)if(!_0xe70df[_0x19ef('0x3e')](_0x142d45))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 _0x1f19=['_descriptionFactory','ELEMENT_TABLE_OF_CONTENTS','get','plugins','afterInit','TrackChangesEditing','editor','commands','enableCommand','insertTableOfContents'];(function(_0x3d6ed1,_0x1f19b2){const _0x4fd067=function(_0xd9cda8){while(--_0xd9cda8){_0x3d6ed1['push'](_0x3d6ed1['shift']());}};_0x4fd067(++_0x1f19b2);}(_0x1f19,0x166));const _0x4fd0=function(_0x3d6ed1,_0x1f19b2){_0x3d6ed1=_0x3d6ed1-0x0;let _0x4fd067=_0x1f19[_0x3d6ed1];return _0x4fd067;};import{Plugin as _0x484b21}from'ckeditor5/src/core';import{getTranslation as _0x18f75e}from'../utils/common-translations';export default class bt extends _0x484b21{[_0x4fd0('0x6')](){const _0x372aed=this[_0x4fd0('0x8')];if(!_0x372aed[_0x4fd0('0x9')][_0x4fd0('0x4')](_0x4fd0('0x1')))return;_0x372aed[_0x4fd0('0x5')][_0x4fd0('0x4')](_0x4fd0('0x7'))[_0x4fd0('0x0')](_0x4fd0('0x1'));const _0x33a64e=_0x372aed['plugins'][_0x4fd0('0x4')](_0x4fd0('0x7')),_0x471d82=_0x372aed['locale'];_0x33a64e[_0x4fd0('0x2')]['registerElementLabel']('tableOfContents',_0x236cf1=>_0x18f75e(_0x471d82,_0x4fd0('0x3'),_0x236cf1));}}
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 _0x9925=['getSelectionAffectedTableCells','getContainedElement','selection','TableCellPropertiesEditing','subType','_suggestionFactory','model','editor','tableCellPadding','_handlePropertyChange','tableCellBorderColor','document','tableBorderStyle','tableBorderColor','batch','tableCellBorderStyle','enableCommand','handleSuggestionDescription','*Format:*\x20change\x20table\x20cell\x20properties','handleDiscardAction','afterInit','markBlockFormat','registerDescriptionCallback','_getSuggestion','formatBlock','join','data','registerCustomCallback','locale','tableCellBorderWidth','getSuggestionCallback','plugins','tableBorderWidth','change','tableProperties','_descriptionFactory','nodeAfter','tableAlignment','tableCellWidth','has','TrackChangesEditing','TableUtils','tableCellHorizontalAlignment','get','accept','tableWidth','pluginName','tableBackgroundColor','tableCellProperties','TrackChangesTableProperties','start','getAttribute','tableCellHeight','enqueueChange','tableCellVerticalAlignment','*Format:*\x20change\x20table\x20properties','format','getSuggestions','discard'];(function(_0x10d078,_0x9925ec){const _0x58558a=function(_0x6277b){while(--_0x6277b){_0x10d078['push'](_0x10d078['shift']());}};_0x58558a(++_0x9925ec);}(_0x9925,0xaa));const _0x5855=function(_0x10d078,_0x9925ec){_0x10d078=_0x10d078-0x0;let _0x58558a=_0x9925[_0x10d078];return _0x58558a;};import{Plugin as _0x2a5ebe}from'ckeditor5/src/core';import{getTranslation as _0x5223d0}from'../utils/common-translations';export default class Ct extends _0x2a5ebe{constructor(_0x448348){super(_0x448348),this[_0x5855('0x29')]=[_0x5855('0x14'),_0x5855('0x13'),_0x5855('0x27'),_0x5855('0x2c'),_0x5855('0x34'),'tableHeight',_0x5855('0x36')],this[_0x5855('0x37')]=[_0x5855('0x11'),_0x5855('0x16'),_0x5855('0x24'),_0x5855('0xf'),_0x5855('0x2d'),_0x5855('0x0'),'tableCellBackgroundColor',_0x5855('0x31'),_0x5855('0x2')];}static get[_0x5855('0x35')](){return _0x5855('0x38');}[_0x5855('0x1b')](){const _0x1974cb=this['editor'][_0x5855('0x26')]['get'](_0x5855('0x2f'));if(this[_0x5855('0xe')][_0x5855('0x26')][_0x5855('0x2e')]('TablePropertiesEditing')){for(const _0x1bdecf of this['tableProperties'])_0x1974cb[_0x5855('0x17')](_0x1bdecf,(_0x27b882,_0x417f2e)=>{const _0xf02c6b=this['editor'][_0x5855('0xd')]['document']['selection']['getFirstPosition']()['findAncestor']('table');this[_0x5855('0x10')](_0x1bdecf,[_0xf02c6b],this[_0x5855('0x29')],_0x5855('0x29'),_0x27b882,_0x417f2e);});_0x1974cb[_0x5855('0xc')][_0x5855('0x22')](_0x5855('0x1f'),'tableProperties',_0x5855('0x33'),_0x1974cb[_0x5855('0xc')][_0x5855('0x25')](_0x5855('0x1f'),null,_0x5855('0x6'))),_0x1974cb[_0x5855('0xc')][_0x5855('0x22')](_0x5855('0x1f'),_0x5855('0x29'),_0x5855('0x6'),(_0x19a19c,_0xcf4574)=>this[_0x5855('0x1a')](this[_0x5855('0x29')],_0x19a19c,_0xcf4574)),_0x1974cb[_0x5855('0xc')][_0x5855('0x22')](_0x5855('0x1f'),_0x5855('0x29'),_0x5855('0x20'),()=>!0x1);}if(this[_0x5855('0xe')][_0x5855('0x26')][_0x5855('0x2e')](_0x5855('0xa'))){for(const _0x40751b of this[_0x5855('0x37')])_0x1974cb['enableCommand'](_0x40751b,(_0x5cd4b5,_0x3cf18e)=>{const _0x59f179=this[_0x5855('0xe')][_0x5855('0x26')][_0x5855('0x32')](_0x5855('0x30'))[_0x5855('0x7')](this[_0x5855('0xe')][_0x5855('0xd')][_0x5855('0x12')][_0x5855('0x9')]);this[_0x5855('0x10')](_0x40751b,_0x59f179,this[_0x5855('0x37')],_0x5855('0x37'),_0x5cd4b5,_0x3cf18e);});_0x1974cb['_suggestionFactory'][_0x5855('0x22')](_0x5855('0x1f'),_0x5855('0x37'),'accept',_0x1974cb[_0x5855('0xc')][_0x5855('0x25')](_0x5855('0x1f'),null,_0x5855('0x6'))),_0x1974cb[_0x5855('0xc')]['registerCustomCallback']('formatBlock',_0x5855('0x37'),_0x5855('0x6'),(_0xd3d566,_0x134d15)=>this[_0x5855('0x1a')](this[_0x5855('0x37')],_0xd3d566,_0x134d15)),_0x1974cb[_0x5855('0xc')]['registerCustomCallback'](_0x5855('0x1f'),_0x5855('0x37'),_0x5855('0x20'),()=>!0x1);}_0x1974cb[_0x5855('0x2a')][_0x5855('0x1d')](_0x2f18e4=>this[_0x5855('0x18')](_0x2f18e4));}[_0x5855('0x10')](_0x15219d,_0x2d0638,_0x5b35b1,_0x3f7c62,_0x3b0d4b,_0x165ef9){const _0x47712b=this[_0x5855('0xe')]['plugins'][_0x5855('0x32')](_0x5855('0x2f'));this[_0x5855('0xe')][_0x5855('0xd')][_0x5855('0x1')](_0x165ef9[_0x5855('0x15')],()=>{for(const _0x3bf270 of _0x2d0638){if(this['_getSuggestion'](_0x3bf270,_0x3f7c62))_0x3b0d4b(_0x165ef9);else{const _0x17c860={};for(const _0x2a9f9d of _0x5b35b1){const _0x3d3132=_0x3bf270[_0x5855('0x3a')](_0x2a9f9d);void 0x0!==_0x3d3132&&(_0x17c860[_0x2a9f9d]=_0x3d3132);}_0x3b0d4b(_0x165ef9),_0x47712b[_0x5855('0x1c')](_0x3bf270,{'commandParams':[_0x17c860]},[],_0x3f7c62);}}});}[_0x5855('0x1a')](_0x383ed9,_0x5428e5,_0x48de46){const _0x39de3d=_0x5428e5[0x0][_0x5855('0x39')][_0x5855('0x2b')],_0x461585=_0x48de46['commandParams'][0x0];this[_0x5855('0xe')][_0x5855('0xd')][_0x5855('0x28')](_0x1f61db=>{for(const _0x559d72 of _0x383ed9)void 0x0!==_0x461585[_0x559d72]?_0x1f61db['setAttribute'](_0x559d72,_0x461585[_0x559d72],_0x39de3d):_0x1f61db['removeAttribute'](_0x559d72,_0x39de3d);});}[_0x5855('0x18')](_0x3805ab){if(_0x3805ab[_0x5855('0x21')])switch(_0x3805ab[_0x5855('0xb')]){case _0x5855('0x29'):return{'type':_0x5855('0x4'),'content':_0x5223d0(this[_0x5855('0xe')][_0x5855('0x23')],_0x5855('0x3'))};case _0x5855('0x37'):return{'type':'format','content':_0x5223d0(this[_0x5855('0xe')]['locale'],_0x5855('0x19'))};}}[_0x5855('0x1e')](_0x8bb0f6,_0x5aeb6c){const _0x3492c5=this[_0x5855('0xe')][_0x5855('0x26')][_0x5855('0x32')](_0x5855('0x2f'));for(const _0x303f9d of _0x3492c5[_0x5855('0x5')]({'skipNotAttached':!0x0})){const _0x16303d=_0x303f9d[_0x5855('0x8')]();if(_0x303f9d[_0x5855('0xb')]===_0x5aeb6c&&_0x16303d===_0x8bb0f6)return _0x303f9d;}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 _0xb34e=['get','TrackChangesEditing','has','afterInit','plugins','insertTemplate','enableCommand','editor'];(function(_0x585ee7,_0xb34ec9){const _0x2afea7=function(_0x29f632){while(--_0x29f632){_0x585ee7['push'](_0x585ee7['shift']());}};_0x2afea7(++_0xb34ec9);}(_0xb34e,0x1d7));const _0x2afe=function(_0x585ee7,_0xb34ec9){_0x585ee7=_0x585ee7-0x0;let _0x2afea7=_0xb34e[_0x585ee7];return _0x2afea7;};import{Plugin as _0x446952}from'ckeditor5/src/core';export default class yt extends _0x446952{[_0x2afe('0x4')](){const _0x171e6c=this[_0x2afe('0x0')];_0x171e6c[_0x2afe('0x5')][_0x2afe('0x3')]('Template')&&_0x171e6c['plugins'][_0x2afe('0x1')](_0x2afe('0x2'))[_0x2afe('0x7')](_0x2afe('0x6'));}}
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 _0xb235=['ELEMENT_TITLE','forward','isCollapsed','afterInit','getChangedMarkers','start','editor','element','newRange','nodeBefore','end','updateMarker','model','get','suggestion','differ','title-content','registerElementLabel','plugins','registerPostFixer','has','document','locale','schema'];(function(_0x981f43,_0xb2350f){const _0x391b97=function(_0x286850){while(--_0x286850){_0x981f43['push'](_0x981f43['shift']());}};_0x391b97(++_0xb2350f);}(_0xb235,0x8b));const _0x391b=function(_0x981f43,_0xb2350f){_0x981f43=_0x981f43-0x0;let _0x391b97=_0xb235[_0x981f43];return _0x391b97;};import{Plugin as _0x117da4}from'ckeditor5/src/core';import{getTranslation as _0x4355c0}from'../utils/common-translations';export default class St extends _0x117da4{[_0x391b('0x8')](){const _0x5c9c33=this[_0x391b('0xb')];if(!_0x5c9c33[_0x391b('0x17')][_0x391b('0x1')]('Title'))return;const _0x16f59f=_0x5c9c33[_0x391b('0x17')][_0x391b('0x12')]('TrackChangesEditing');_0x16f59f['_descriptionFactory'][_0x391b('0x16')](_0x391b('0x15'),()=>_0x4355c0(_0x5c9c33[_0x391b('0x3')],_0x391b('0x5'))),_0x5c9c33[_0x391b('0x11')][_0x391b('0x2')][_0x391b('0x0')](_0x34c4b1=>{let _0x5637e6=!0x1;const _0x2401fb=Array['from'](_0x5c9c33['model'][_0x391b('0x2')][_0x391b('0x14')][_0x391b('0x9')]());for(const {name:_0x3dabbe,data:_0x2c41bf}of _0x2401fb){const {group:_0x38dabd}=_0x16f59f['_splitMarkerName'](_0x3dabbe);if(_0x391b('0x13')!==_0x38dabd||!_0x2c41bf[_0x391b('0xd')])continue;const _0x170bf4=_0x2c41bf['newRange'],_0x413265=_0x170bf4['end'][_0x391b('0xe')];if(!_0x413265||!_0x413265['is'](_0x391b('0xc'),_0x391b('0x15')))continue;if(!_0x170bf4[_0x391b('0xa')]['isTouching'](_0x170bf4[_0x391b('0xf')]))continue;const _0xbe0d76=_0x5c9c33[_0x391b('0x11')][_0x391b('0x4')]['getNearestSelectionRange'](_0x170bf4[_0x391b('0xf')],_0x391b('0x6'));if(_0xbe0d76&&_0xbe0d76[_0x391b('0x7')]){const _0x19bb1e=_0x34c4b1['createRange'](_0x170bf4[_0x391b('0xa')],_0xbe0d76['start']);_0x19bb1e['isEqual'](_0x170bf4)||(_0x34c4b1[_0x391b('0x10')](_0x3dabbe,{'range':_0x19bb1e}),_0x5637e6=!0x0);}_0x5637e6||(_0x34c4b1['removeMarker'](_0x3dabbe),_0x5637e6=!0x0);}return _0x5637e6;});}}
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 _0x4782=['enableCommand','has','get','TrackChangesEditing','undo','plugins'];(function(_0x4c6563,_0x47826e){const _0x2a1be8=function(_0x1b8b76){while(--_0x1b8b76){_0x4c6563['push'](_0x4c6563['shift']());}};_0x2a1be8(++_0x47826e);}(_0x4782,0x1a5));const _0x2a1b=function(_0x4c6563,_0x47826e){_0x4c6563=_0x4c6563-0x0;let _0x2a1be8=_0x4782[_0x4c6563];return _0x2a1be8;};import{Plugin as _0x17edaf}from'ckeditor5/src/core';export default class It extends _0x17edaf{['afterInit'](){const _0x5685fa=this['editor'],_0x4dec32=_0x5685fa['plugins'][_0x2a1b('0x1')](_0x2a1b('0x2'));_0x5685fa[_0x2a1b('0x4')][_0x2a1b('0x0')]('UndoEditing')&&(_0x4dec32['enableCommand'](_0x2a1b('0x3')),_0x4dec32[_0x2a1b('0x5')]('redo'));}}
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 _0x1fd7=['includes','bindElementToMarker','plugins','addHighlight','writer','listIndent','item','span','getItems','nextSibling','markerName','toViewElement','getAttribute','schema','test','hasAttribute','isLimit','addClass','ck-suggestion-marker--active','get','ck-suggestion-marker-','insert','getWalker','isContent','getCustomProperty','previousPosition','TrackChangesEditing','parent','consumable','name','isBlock','markerRange','listItem','toViewPosition','mapper','push'];(function(_0x34f909,_0x1fd72a){const _0x31b137=function(_0x23fc1f){while(--_0x23fc1f){_0x34f909['push'](_0x34f909['shift']());}};_0x31b137(++_0x1fd72a);}(_0x1fd7,0x142));const _0x31b1=function(_0x34f909,_0x1fd72a){_0x34f909=_0x34f909-0x0;let _0x31b137=_0x1fd7[_0x34f909];return _0x31b137;};export function getRangesWithAttribute(_0x1df0f0,_0x47a3b4,_0x4b604f){const _0x4e92b3=[];for(const _0x2aaa20 of _0x47a3b4[_0x31b1('0xa')]())_0x2aaa20[_0x31b1('0x11')](_0x1df0f0)&&_0x4e92b3[_0x31b1('0x1')](_0x4b604f['createRangeOn'](_0x2aaa20));return _0x4e92b3;}export function getElementsAffectedByListItemRename(_0x39d9c3){const _0x261a7a=[];if(_0x39d9c3['is']('element',_0x31b1('0x22'))){let _0x564c21=_0x39d9c3[_0x31b1('0xb')];for(;_0x564c21&&_0x564c21['is']('element',_0x31b1('0x22'))&&_0x564c21[_0x31b1('0xe')](_0x31b1('0x7'))>0x0;)_0x261a7a['push'](_0x564c21),_0x564c21=_0x564c21[_0x31b1('0xb')];}return _0x261a7a;}export function downcastSplitMergeMarker(_0x2c8069,_0x3ed3ce,{showActiveMarker:_0x4a73f1=!0x0}={}){const _0x195e85=_0x2c8069[_0x31b1('0x4')][_0x31b1('0x15')](_0x31b1('0x1c'));return(_0x5b9bb1,_0x322ac0,_0x346afe)=>{if(!_0x346afe[_0x31b1('0x1e')][_0x31b1('0x10')](_0x322ac0[_0x31b1('0x21')],_0x5b9bb1[_0x31b1('0x1f')]))return;const _0x136f11=_0x322ac0[_0x31b1('0x21')][_0x31b1('0x18')](),_0x20e23f=_0x322ac0[_0x31b1('0x21')]['start'],_0xe4351e=_0x2c8069['model'][_0x31b1('0xf')];let _0xaa84fb=null,_0x2cbf8c=null,_0x3808a0=!0x1,_0x5f3c8e=!0x1;for(const _0x5d2bda of _0x136f11){const _0x134650=_0x5d2bda[_0x31b1('0x8')];_0x3808a0=_0x3808a0||_0xe4351e[_0x31b1('0x19')](_0x134650);const _0x23eb9b=_0x346afe[_0x31b1('0x0')][_0x31b1('0xd')](_0x134650);if(_0x23eb9b&&_0x23eb9b[_0x31b1('0x1a')](_0x31b1('0x5')))return;'elementEnd'==_0x5d2bda['type']&&(_0xe4351e[_0x31b1('0x20')](_0x134650)&&!_0xe4351e[_0x31b1('0x12')](_0x134650)&&(_0x134650[_0x31b1('0xb')]||_0x20e23f['isAtEnd']?_0xaa84fb&&_0xaa84fb[_0x31b1('0x1d')]==_0x134650||(_0xaa84fb=_0x134650,_0x32d065(_0x5d2bda[_0x31b1('0x1b')]),_0x5f3c8e=!0x0):_0x2cbf8c=_0x2cbf8c||_0x5d2bda[_0x31b1('0x1b')]));}function _0x32d065(_0x19c3de){const _0x82ff65=_0x346afe[_0x31b1('0x6')]['createUIElement'](_0x31b1('0x9'),{'class':_0x31b1('0x16')+_0x3ed3ce}),_0x103e1e=_0x346afe[_0x31b1('0x0')][_0x31b1('0x23')](_0x19c3de);_0x4a73f1&&_0x195e85['activeMarkers'][_0x31b1('0x2')](_0x322ac0[_0x31b1('0xc')])&&_0x346afe['writer'][_0x31b1('0x13')](_0x31b1('0x14'),_0x82ff65),_0x346afe['writer'][_0x31b1('0x17')](_0x103e1e,_0x82ff65),_0x346afe[_0x31b1('0x0')][_0x31b1('0x3')](_0x82ff65,_0x322ac0[_0x31b1('0xc')]);}_0x3808a0||_0x5f3c8e||!_0x2cbf8c||_0x32d065(_0x2cbf8c);};}
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);};}