@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20230907.0 → 0.0.0-nightly-20230909.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 -3
  3. package/src/commands/acceptsuggestioncommand.js +1 -1
  4. package/src/commands/discardsuggestioncommand.js +1 -1
  5. package/src/commands/executeonallsuggestionscommand.js +1 -1
  6. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  7. package/src/commands/trackchangescommand.js +1 -1
  8. package/src/integrations/alignment.js +1 -1
  9. package/src/integrations/basicstyles.js +1 -1
  10. package/src/integrations/blockquote.js +1 -1
  11. package/src/integrations/ckbox.js +1 -1
  12. package/src/integrations/codeblock.js +1 -1
  13. package/src/integrations/comments.js +1 -1
  14. package/src/integrations/deletecommand.js +1 -1
  15. package/src/integrations/documentlist.js +1 -1
  16. package/src/integrations/documentlistproperties.js +1 -1
  17. package/src/integrations/entercommand.js +1 -1
  18. package/src/integrations/findandreplace.js +1 -1
  19. package/src/integrations/font.js +1 -1
  20. package/src/integrations/formatpainter.js +1 -1
  21. package/src/integrations/heading.js +1 -1
  22. package/src/integrations/highlight.js +1 -1
  23. package/src/integrations/horizontalline.js +1 -1
  24. package/src/integrations/htmlembed.js +1 -1
  25. package/src/integrations/image.js +1 -1
  26. package/src/integrations/imagereplace.js +1 -1
  27. package/src/integrations/importword.js +1 -1
  28. package/src/integrations/indent.js +1 -1
  29. package/src/integrations/inputcommand.js +1 -1
  30. package/src/integrations/link.js +1 -1
  31. package/src/integrations/list.js +1 -1
  32. package/src/integrations/listproperties.js +1 -1
  33. package/src/integrations/mediaembed.js +1 -1
  34. package/src/integrations/mention.js +1 -1
  35. package/src/integrations/pagebreak.js +1 -1
  36. package/src/integrations/paragraph.js +1 -1
  37. package/src/integrations/removeformat.js +1 -1
  38. package/src/integrations/restrictededitingmode.js +1 -1
  39. package/src/integrations/shiftentercommand.js +1 -1
  40. package/src/integrations/standardeditingmode.js +1 -1
  41. package/src/integrations/style.js +1 -1
  42. package/src/integrations/table.js +1 -1
  43. package/src/integrations/tablecaption.js +1 -1
  44. package/src/integrations/tableclipboard.js +1 -1
  45. package/src/integrations/tablecolumnresize.js +1 -1
  46. package/src/integrations/tableheadings.js +1 -1
  47. package/src/integrations/tablemergesplit.js +1 -1
  48. package/src/integrations/tableofcontents.js +1 -1
  49. package/src/integrations/tableproperties.js +1 -1
  50. package/src/integrations/template.js +1 -1
  51. package/src/integrations/title.js +1 -1
  52. package/src/integrations/undo.js +1 -1
  53. package/src/integrations/utils.js +1 -1
  54. package/src/suggestion.js +1 -1
  55. package/src/suggestiondescriptionfactory.js +1 -1
  56. package/src/trackchanges.js +1 -1
  57. package/src/trackchangesdata.js +1 -1
  58. package/src/trackchangesediting.js +1 -1
  59. package/src/trackchangesui.js +1 -1
  60. package/src/ui/suggestioncontroller.js +1 -1
  61. package/src/ui/view/basesuggestionthreadview.js +1 -1
  62. package/src/ui/view/suggestionthreadview.js +1 -1
  63. package/src/utils/common-translations.js +1 -1
  64. package/src/utils/utils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1caf=['insertion','suggestion:formatBlock:tablePasteCell','has','getShiftedBy','low','batch','markMultiRangeInsertion','createRangeOn','getItems','model','locale','keys','formatBlock','createRange','entries','oldRange','name','createElement','createRangeIn','activeMarkers','isEqual','from','type','TableClipboard','element','tableCellSuggestion','getContainedElement','last','getRanges','_tablePostFixingSubtypes','first','deletion','clipboardOutput','move','ck-suggestion-marker','suggestionUnloaded','markerName','tablePasteCell','columnInsertionRanges','startsWith','tableCellPadding','ck-suggestion-marker--active','root','getSuggestion','containsRange','getSuggestionCallback','column','table','insertContent','subType','tablePasteRow','rowInsertionIndexes','plugins','_createdBatches','newRange','_replaceTableSlotCell','endRow','registerDescriptionCallback','hasSuggestion','getChild','suggestion-td','high','nextSibling','redo','*Replace\x20table\x20cells*','find','columns','commands','suggestion','filter','join','TableUtils','remove','includes','createPositionBefore','getRowIndexes','isEmpty','_suggestionFactory','removeMarkers','view','getTableIfOnlyTableInContent','previous','content','for','register','insertRows','getSuggestions','change','fromEntries','tablePaste','discard','get','tableCellBorderColor','createTableWalker','Users','some','tableCellBorderWidth','getSelectionAffectedTableCells','length','tableCell','removeRows','add','nodeAfter','rows','editor','_descriptionFactory','previousSibling','getChildren','rootName','showSuggestionHighlights','afterInit','tableCellVerticalAlignment','removeMarker','_splitMarkerName','documentSelection','tablePasteColumn','row','schema','markerToHighlight','getMarkers','_getCoordsForCells','set','position','fill','value','getAllAdjacentSuggestions','markMultiRangeDeletion','reduce','isInContent','push','listenTo','document','markerAttributes','columnInsertionIndexes','getAttributes','getChangedMarkers','return','_isForcedDefaultExecutionBlock','attributes','getRange','paragraph','map','unwrap','elementToElement','differ','dataDowncast','registerPostFixer','tablePasteChainId','TrackChangesEditing','cells','end','insert','setAttribute','conversion','accept','suggestionLoaded','tableCellHorizontalAlignment','registerCustomCallback','findAncestor'];(function(_0x44615f,_0x1caf27){const _0xefd4bd=function(_0x5e9fd5){while(--_0x5e9fd5){_0x44615f['push'](_0x44615f['shift']());}};_0xefd4bd(++_0x1caf27);}(_0x1caf,0x183));const _0xefd4=function(_0x44615f,_0x1caf27){_0x44615f=_0x44615f-0x0;let _0xefd4bd=_0x1caf[_0x44615f];return _0xefd4bd;};import{getTranslation as _0x3de7ea}from'../utils/common-translations';import{Plugin as _0x101f97}from'ckeditor5/src/core';import{uid as _0x44960e,priorities as _0x36516c}from'ckeditor5/src/utils';import _0x3fad85 from'./table';const le=[_0xefd4('0x1b'),_0xefd4('0x17'),'tableCellBorderStyle',_0xefd4('0x57'),_0xefd4('0x2a'),'tableCellBackgroundColor',_0xefd4('0x82')],ae=Object[_0xefd4('0x13')](le[_0xefd4('0x48')](_0x462334=>[_0x462334,null]));export default class kt extends _0x101f97{static get['requires'](){return[_0x3fad85];}[_0xefd4('0x29')](){const _0x1ae366=this[_0xefd4('0x23')];if(!_0x1ae366[_0xefd4('0x8e')][_0xefd4('0x5c')]('TableClipboard'))return;const _0x461ca2=_0x1ae366[_0xefd4('0x8e')][_0xefd4('0x16')](_0xefd4('0x4f')),_0x3a5409=_0x1ae366[_0xefd4('0x8e')][_0xefd4('0x16')](_0xefd4('0x2')),_0x2642bf=_0x1ae366[_0xefd4('0x8e')][_0xefd4('0x16')](_0x3fad85),_0x2dd7af=_0x1ae366[_0xefd4('0x8e')][_0xefd4('0x16')](_0xefd4('0x71'));_0x2642bf[_0xefd4('0x77')][_0xefd4('0x3c')](_0xefd4('0x8c'),'tablePasteColumn'),_0x1ae366[_0xefd4('0x63')][_0xefd4('0x30')][_0xefd4('0xf')](_0xefd4('0x73'),{'allowIn':_0xefd4('0x1e'),'allowContentOf':_0xefd4('0x1e'),'isLimit':!0x0}),_0x1ae366[_0xefd4('0x54')][_0xefd4('0x4a')]({'model':_0xefd4('0x73'),'view':_0xefd4('0x96')});let _0x54d36a=null;_0x1ae366[_0xefd4('0x63')]['on'](_0xefd4('0x8a'),(_0x2b7df5,_0x1ed974)=>{const [_0x4a1e7c,_0x6bb735]=_0x1ed974,_0x2354e4=_0x1ed974[_0x1ed974[_0xefd4('0x1d')]-0x1];_0x2354e4&&_0x2354e4['forceDefaultExecution']||_0x461ca2[_0xefd4('0x44')]||this[_0xefd4('0x23')]['commands'][_0xefd4('0x16')]('trackChanges')[_0xefd4('0x37')]&&function(_0x514ba2,_0x3279bd,_0x4e1f68,_0xc5f299,_0x3c2f48){if(_0x3279bd&&!_0x3279bd['is'](_0xefd4('0x2d')))return!0x1;const _0x19409b=_0x3c2f48[_0xefd4('0xb')](_0x514ba2,_0x4e1f68);if(!_0x19409b||!fe(_0x19409b,void 0x0,_0xc5f299))return!0x1;const _0x310c8b=_0xc5f299[_0xefd4('0x1c')](_0x4e1f68[_0xefd4('0x3e')]['selection']);if(!_0x310c8b[_0xefd4('0x1d')])return!0x1;const _0x43f86b=_0x310c8b[0x0]['findAncestor'](_0xefd4('0x89')),_0x3053d5=_0xc5f299[_0xefd4('0x6')](_0x310c8b),_0x5c110d=_0xc5f299['getColumnIndexes'](_0x310c8b),_0x1bfb1c={'startRow':_0x3053d5[_0xefd4('0x78')],'endRow':_0x3053d5[_0xefd4('0x75')],'startColumn':_0x5c110d[_0xefd4('0x78')],'endColumn':_0x5c110d[_0xefd4('0x75')]};return 0x1==_0x310c8b['length']&&(_0x1bfb1c[_0xefd4('0x92')]+=_0xc5f299['getRows'](_0x19409b)-0x1,_0x1bfb1c['endColumn']+=_0xc5f299['getColumns'](_0x19409b)-0x1),fe(_0x43f86b,_0x1bfb1c,_0xc5f299);}(_0x4a1e7c,_0x6bb735,_0x1ae366[_0xefd4('0x63')],_0x3a5409,_0x2dd7af)&&(_0x2b7df5['stop'](),_0x54d36a={'cells':[],'insertionRanges':[],'deletionRanges':[],'rowInsertionRanges':[],'rowInsertionIndexes':[],'columnInsertionRanges':[],'columnInsertionIndexes':[]},_0x1ae366[_0xefd4('0x63')][_0xefd4('0x12')](()=>{_0x1ae366[_0xefd4('0x63')][_0xefd4('0x8a')](_0x1ed974[0x0],_0x1ed974[0x1],_0x1ed974[0x2],{'forceDefaultExecution':!0x0});const _0x2cb716=_0x44960e(),{rowInsertionRanges:_0x382110,columnInsertionRanges:_0x1430e9,insertionRanges:_0x96ef28,deletionRanges:_0x13f2a6,cells:_0x2f68ae}=_0x54d36a;_0x382110['length']&&_0x461ca2[_0xefd4('0x60')](_0x382110,_0xefd4('0x8c'),{'tablePasteChainId':_0x2cb716}),_0x1430e9['length']&&_0x461ca2[_0xefd4('0x60')](_0x1430e9,_0xefd4('0x2e'),{'tablePasteChainId':_0x2cb716}),_0x96ef28[_0xefd4('0x1d')]&&_0x461ca2[_0xefd4('0x60')](_0x96ef28,_0xefd4('0x14'),{'tablePasteChainId':_0x2cb716,'skipNestingCheck':!0x0}),_0x13f2a6[_0xefd4('0x1d')]&&_0x461ca2[_0xefd4('0x39')](_0x13f2a6,_0xefd4('0x14'),{'tablePasteChainId':_0x2cb716,'skipNestingCheck':!0x0});const _0x3ec141=_0x461ca2['markMultiRangeBlockFormat'](_0x2f68ae[_0xefd4('0x48')](({element:_0x425cb8})=>_0x425cb8),{'formatGroupId':_0x44960e()},[],_0xefd4('0x7f'),{'tablePasteChainId':_0x2cb716});if(_0x3ec141){const _0x57c521=_0x3ec141[_0xefd4('0x32')](),_0x5551d0=[];for(const {element:_0x3a25ab,attributes:_0x4c11ab}of _0x2f68ae){if(!_0x4c11ab)continue;const _0xb0c2f=_0x1ae366['model'][_0xefd4('0x61')](_0x3a25ab),_0x2ac4f6=_0x57c521['find'](_0x42e5ce=>_0x42e5ce[_0xefd4('0x46')]()[_0xefd4('0x6e')](_0xb0c2f));_0x2ac4f6&&_0x5551d0[_0xefd4('0x3c')]([_0x2ac4f6['name'],_0x4c11ab]);}_0x5551d0[_0xefd4('0x1d')]&&_0x3ec141[_0xefd4('0x53')]('markerAttributes',Object['fromEntries'](_0x5551d0));}_0x54d36a=null;}));},{'priority':_0x36516c['high']+0xa}),_0x1ae366[_0xefd4('0x8e')][_0xefd4('0x16')](_0xefd4('0x71'))['on'](_0xefd4('0x91'),(_0x36d84c,_0x1dd925)=>{const [_0x38bcff,_0x494732,,_0x2d198b]=_0x1dd925;if(!_0x54d36a)return;_0x36d84c['stop']();const _0x5ce8ce=_0x38bcff['cell'],_0x38f26e=_0x494732,_0x9a5012=ce(_0x5ce8ce),_0xab1aee=ce(_0x38f26e);_0x36d84c[_0xefd4('0x43')]=_0x5ce8ce;let _0x320009=null,_0x3632e3=null;if(_0xab1aee||_0x9a5012){if(_0x9a5012&&!_0xab1aee){_0x2d198b['remove'](_0x5ce8ce['getChild'](0x0));for(const _0x1d36c4 of Array[_0xefd4('0x6f')](_0x38f26e['getChildren']()))_0x2d198b[_0xefd4('0x52')](_0x1d36c4,_0x5ce8ce,_0xefd4('0x51'));const _0x2a5040=_0x54d36a[_0xefd4('0x8d')][_0xefd4('0x4')](_0x38bcff[_0xefd4('0x2f')]),_0x18e99d=_0x54d36a[_0xefd4('0x40')][_0xefd4('0x4')](_0x38bcff[_0xefd4('0x88')]);_0x2a5040||_0x18e99d||(_0x320009=_0x2d198b['createRangeIn'](_0x5ce8ce));}else _0xab1aee&&!_0x9a5012&&(_0x3632e3=_0x2d198b[_0xefd4('0x6c')](_0x5ce8ce));}else{const _0x8c3dec=_0x2d198b[_0xefd4('0x6b')]('tableCellSuggestion'),_0xeebf70=_0x2d198b[_0xefd4('0x6b')](_0xefd4('0x73'));_0x2d198b['wrap'](_0x2d198b['createRangeIn'](_0x5ce8ce),_0xeebf70),_0x2d198b[_0xefd4('0x52')](_0x8c3dec,_0x5ce8ce,0x0);for(const _0x54a671 of Array[_0xefd4('0x6f')](_0x38f26e[_0xefd4('0x26')]()))_0x2d198b['insert'](_0x54a671,_0x8c3dec,_0xefd4('0x51'));_0x320009=_0x2d198b[_0xefd4('0x61')](_0x8c3dec),_0x3632e3=_0x2d198b['createRangeOn'](_0xeebf70);}const _0x275a14=Array[_0xefd4('0x6f')](_0x38f26e[_0xefd4('0x41')]())[_0xefd4('0x0')](([_0x111705])=>le[_0xefd4('0x4')](_0x111705));_0x54d36a[_0xefd4('0x50')][_0xefd4('0x3c')]({'element':_0x5ce8ce,'attributes':_0x275a14[_0xefd4('0x1d')]?Object[_0xefd4('0x13')](_0x275a14):null}),_0x320009&&_0x54d36a['insertionRanges'][_0xefd4('0x3c')](_0x320009),_0x3632e3&&_0x54d36a['deletionRanges'][_0xefd4('0x3c')](_0x3632e3);},{'priority':_0xefd4('0x97')}),_0x3a5409['on']('insertColumns',(_0x28a4f9,_0x2fbb3b)=>{const [_0xdb4974,_0x15f855={}]=_0x2fbb3b;if(!_0x54d36a)return;const _0x5643f6=_0x15f855['at']||0x0,_0x545477=_0x15f855[_0xefd4('0x9c')]||0x1;_0x54d36a[_0xefd4('0x40')]=new Array(_0x545477)[_0xefd4('0x36')](_0x5643f6)[_0xefd4('0x48')]((_0x42f6e9,_0x5b6029)=>_0x42f6e9+_0x5b6029);for(const {cell:_0xd12bc}of _0x3a5409[_0xefd4('0x18')](_0xdb4974,{'startColumn':_0x5643f6,'endColumn':_0x5643f6+_0x545477-0x1}))_0x54d36a[_0xefd4('0x80')][_0xefd4('0x3c')](_0x1ae366[_0xefd4('0x63')][_0xefd4('0x61')](_0xd12bc));},{'priority':'low'}),_0x3a5409['on'](_0xefd4('0x10'),(_0x18d330,_0x39ae35)=>{const [_0x386549,_0x4809ab={}]=_0x39ae35;if(!_0x54d36a)return;const _0x25291f=_0x4809ab['at']||0x0,_0x35459c=_0x4809ab[_0xefd4('0x22')]||0x1;_0x54d36a[_0xefd4('0x8d')]=new Array(_0x35459c)[_0xefd4('0x36')](_0x25291f)[_0xefd4('0x48')]((_0x542bee,_0x1bae74)=>_0x542bee+_0x1bae74);for(const {cell:_0x1edc3e}of _0x3a5409[_0xefd4('0x18')](_0x386549,{'startRow':_0x25291f,'endRow':_0x25291f+_0x35459c-0x1}))_0x54d36a['rowInsertionRanges']['push'](_0x1ae366[_0xefd4('0x63')][_0xefd4('0x61')](_0x1edc3e));},{'priority':_0xefd4('0x5e')}),_0x461ca2[_0xefd4('0x24')][_0xefd4('0x93')](_0x10bb6e=>{if(_0x10bb6e[_0xefd4('0x8b')]&&_0x10bb6e['subType'][_0xefd4('0x81')](_0xefd4('0x14')))return _0x10bb6e[_0xefd4('0xc')]?{}:{'type':_0xefd4('0x5a'),'content':_0x3de7ea(_0x1ae366[_0xefd4('0x64')],_0xefd4('0x9a'))};});const _0x4ae7d9=()=>!0x1;for(const _0x93f70 of['tablePaste','tablePasteColumn',_0xefd4('0x8c'),_0xefd4('0x7f')])_0x461ca2[_0xefd4('0x8')]['registerCustomCallback'](_0xefd4('0x5a'),_0x93f70,_0xefd4('0x1'),_0x4ae7d9),_0x461ca2[_0xefd4('0x8')]['registerCustomCallback'](_0xefd4('0x79'),_0x93f70,_0xefd4('0x1'),_0x4ae7d9),_0x461ca2['_suggestionFactory'][_0xefd4('0x58')](_0xefd4('0x66'),_0x93f70,_0xefd4('0x1'),_0x4ae7d9);_0x461ca2[_0xefd4('0x8')][_0xefd4('0x58')](_0xefd4('0x66'),_0xefd4('0x7f'),'discard',_0x4ae7d9),_0x461ca2[_0xefd4('0x8')][_0xefd4('0x58')](_0xefd4('0x66'),_0xefd4('0x7f'),_0xefd4('0x55'),(_0x24d344,_0x263f66,_0x49cee7)=>{const _0x178270=_0x24d344[_0xefd4('0x48')](_0x5074ab=>_0x5074ab[_0xefd4('0x74')]())['filter'](_0x1e8761=>_0x1e8761),_0x1ecc0c=new Map(_0x178270[_0xefd4('0x48')](_0x4ab45e=>[_0x4ab45e,null]));if(_0x54d36a)for(const {element:_0x5a4957,attributes:_0xea4b55}of _0x54d36a[_0xefd4('0x50')])_0xea4b55&&_0x1ecc0c[_0xefd4('0x34')](_0x5a4957,_0xea4b55);else{if(_0x49cee7&&_0x49cee7['markerAttributes'])for(const [_0x39100a,_0x3e721c]of Object[_0xefd4('0x68')](_0x49cee7[_0xefd4('0x3f')])){const _0x2dfa84=_0x1ae366['model']['markers'][_0xefd4('0x16')](_0x39100a),_0x259a17=_0x2dfa84?_0x2dfa84['getRange']()[_0xefd4('0x74')]():null;_0x259a17&&_0x1ecc0c['set'](_0x259a17,_0x3e721c);}}_0x1ae366[_0xefd4('0x63')]['change'](_0x191caa=>{for(const [_0x4dd5ae,_0x12c738]of _0x1ecc0c)_0x191caa['setAttributes']({...ae,..._0x12c738},_0x4dd5ae);});});const _0x90fff0=(_0x5a1d2c,_0x1da9d9)=>{_0x461ca2[_0xefd4('0x8')][_0xefd4('0x58')](_0x5a1d2c,_0xefd4('0x14'),_0x1da9d9,(_0x50c732,_0x435930,_0x28cee6)=>{_0x1ae366[_0xefd4('0x63')][_0xefd4('0x12')](_0x58737e=>{const _0x387115=[];for(const _0xd8fd21 of _0x50c732){const _0x208508=_0xd8fd21['start'][_0xefd4('0x21')];_0x208508['is'](_0xefd4('0x72'),_0xefd4('0x73'))&&_0x387115[_0xefd4('0x3c')](_0x208508);}_0x461ca2[_0xefd4('0x8')][_0xefd4('0x87')](_0x5a1d2c,null,_0x1da9d9)(_0x50c732,_0x435930,_0x28cee6);for(const _0x158a47 of _0x387115)'$graveyard'!=_0x158a47[_0xefd4('0x84')][_0xefd4('0x27')]&&_0x58737e[_0xefd4('0x49')](_0x158a47);});});};_0x90fff0(_0xefd4('0x5a'),'accept'),_0x90fff0(_0xefd4('0x5a'),_0xefd4('0x15')),_0x90fff0(_0xefd4('0x79'),'accept'),_0x90fff0(_0xefd4('0x79'),'discard'),_0x461ca2[_0xefd4('0x8')][_0xefd4('0x58')](_0xefd4('0x5a'),_0xefd4('0x8c'),_0xefd4('0x15'),_0x28d5bc=>{const _0x46a33a=_0x28d5bc[_0xefd4('0x48')](_0x31112a=>_0x31112a[_0xefd4('0x74')]()),_0x1ee774=_0x46a33a[0x0][_0xefd4('0x59')](_0xefd4('0x89')),{minRow:_0x1b0887,maxRow:_0x323f4b}=_0x2642bf['_getCoordsForCells'](_0x46a33a);_0x3a5409[_0xefd4('0x1f')](_0x1ee774,{'at':_0x1b0887,'rows':_0x323f4b-_0x1b0887+0x1});}),_0x461ca2[_0xefd4('0x8')][_0xefd4('0x58')]('insertion',_0xefd4('0x2e'),_0xefd4('0x15'),_0x46b23a=>{const _0x49da23=_0x46b23a[_0xefd4('0x48')](_0xf3e9a4=>_0xf3e9a4['getContainedElement']()),_0x141c46=_0x49da23[0x0][_0xefd4('0x59')]('table'),{minColumn:_0x510517,maxColumn:_0x497a8b}=_0x2642bf[_0xefd4('0x33')](_0x49da23);_0x3a5409['removeColumns'](_0x141c46,{'at':_0x510517,'columns':_0x497a8b-_0x510517+0x1});});const _0x577e4a=(_0x307450,_0x4b789d)=>{if(!_0x4b789d[_0xefd4('0x8b')]||!_0x4b789d[_0xefd4('0x8b')]['startsWith'](_0xefd4('0x14')))return;const _0x207a88=_0x4b789d[_0xefd4('0x45')][_0xefd4('0x4e')],_0x33feab=_0x461ca2[_0xefd4('0x11')]()['filter'](_0x4f9789=>_0x4f9789[_0xefd4('0x3b')]&&_0x4f9789['attributes']&&_0x4f9789[_0xefd4('0x45')]['tablePasteChainId']==_0x207a88);_0x33feab['length']&&_0x4b789d[_0xefd4('0x38')]()[_0xefd4('0x1d')]!=_0x33feab[_0xefd4('0x1d')]&&_0x33feab[_0xefd4('0x3a')]((_0x3f62e7,_0x59c229)=>(_0x3f62e7['next']=_0x59c229,_0x59c229[_0xefd4('0xc')]=_0x3f62e7,_0x59c229));};function _0x25fa51(_0x4628d7,_0x116714=!0x0){const {id:_0x3906ed}=_0x461ca2[_0xefd4('0x2c')](_0x4628d7[_0xefd4('0x7e')]),_0xea1bc9=[_0xefd4('0x7c'),'ck-suggestion-marker-insertion'],_0x1c1daf=_0x461ca2[_0xefd4('0x6d')]['includes'](_0x4628d7['markerName']);return _0x1c1daf&&_0xea1bc9[_0xefd4('0x3c')](_0xefd4('0x83')),{'classes':_0xea1bc9,'attributes':{'data-suggestion':_0x3906ed},'priority':_0x1c1daf&&_0x116714?0xbc2:0xbb8};}_0x461ca2['on'](_0xefd4('0x56'),_0x577e4a,{'priority':_0xefd4('0x97')}),_0x461ca2['on'](_0xefd4('0x7d'),_0x577e4a,{'priority':_0xefd4('0x97')}),_0x1ae366[_0xefd4('0x63')]['document'][_0xefd4('0x4d')](()=>{let _0x4c44b3=!0x1;const _0x148b83=Array[_0xefd4('0x6f')](_0x1ae366[_0xefd4('0x63')]['document'][_0xefd4('0x4b')][_0xefd4('0x42')]());for(const {name:_0x13428a,data:_0x2c3c6c}of _0x148b83){const {group:_0x3fd730,type:_0x3d55af,id:_0x5f4834}=_0x461ca2[_0xefd4('0x2c')](_0x13428a);if(_0xefd4('0x9e')!=_0x3fd730||_0xefd4('0x79')!=_0x3d55af||_0x2c3c6c[_0xefd4('0x69')])continue;if(!_0x461ca2[_0xefd4('0x94')](_0x5f4834))continue;const _0x429ec4=_0x461ca2[_0xefd4('0x85')](_0x5f4834)[_0xefd4('0x76')](),_0xe7bce2=_0x1ae366[_0xefd4('0x8e')]['get'](_0xefd4('0x19'))['me'];for(const _0x5bd26b of _0x461ca2[_0xefd4('0x11')]()){if(!_0x5bd26b[_0xefd4('0x3b')]||_0x5bd26b['author']!=_0xe7bce2)continue;if('formatBlock'!=_0x5bd26b[_0xefd4('0x70')]||_0xefd4('0x7f')!=_0x5bd26b[_0xefd4('0x8b')])continue;if(_0x5bd26b['getRanges']()['every'](_0x1036ad=>_0x429ec4[_0xefd4('0x1a')](_0x185332=>_0x185332[_0xefd4('0x86')](_0x1036ad,!0x0))))for(const _0x2fff62 of _0x5bd26b[_0xefd4('0x38')]())_0x2fff62['isInContent']&&(_0x2fff62[_0xefd4('0x15')](),_0x4c44b3=!0x0);}}return _0x4c44b3;}),_0x1ae366[_0xefd4('0x63')][_0xefd4('0x3e')][_0xefd4('0x4d')](_0x14db52=>{const _0x5edba9=_0x1ae366[_0xefd4('0x9d')]['get'](_0xefd4('0x99'));if(!_0x5edba9||!_0x5edba9[_0xefd4('0x8f')][_0xefd4('0x5c')](_0x14db52[_0xefd4('0x5f')]))return!0x1;let _0x268c99=!0x1;const _0x1b75e0=_0x1ae366[_0xefd4('0x8e')][_0xefd4('0x16')](_0xefd4('0x19'))['me'],_0xedef85=_0x1ae366[_0xefd4('0x63')]['document'][_0xefd4('0x4b')]['getChanges'](),_0x419490=Array[_0xefd4('0x6f')](_0x1ae366['model']['document'][_0xefd4('0x4b')][_0xefd4('0x42')]())[_0xefd4('0x0')](({name:_0x140d1a,data:_0x3f165e})=>{const {group:_0x2b30ba,subType:_0x16a77e,authorId:_0x49853c}=_0x461ca2[_0xefd4('0x2c')](_0x140d1a);return _0xefd4('0x9e')==_0x2b30ba&&_0xefd4('0x14')==_0x16a77e&&_0x49853c==_0x1b75e0['id']&&!_0x3f165e[_0xefd4('0x69')];});for(const _0xbcda82 of _0xedef85){if('insert'!=_0xbcda82[_0xefd4('0x70')]||_0xefd4('0x73')!=_0xbcda82[_0xefd4('0x6a')]||0x1!=_0xbcda82[_0xefd4('0x1d')])continue;const _0x1c3bd2=_0x14db52[_0xefd4('0x67')](_0xbcda82[_0xefd4('0x35')],_0xbcda82[_0xefd4('0x35')][_0xefd4('0x5d')](0x1));if(!_0x419490[_0xefd4('0x9b')](({data:_0x21ec77})=>_0x21ec77[_0xefd4('0x90')][_0xefd4('0x6e')](_0x1c3bd2)))for(const {name:_0x270612,data:_0x1ae6aa}of _0x419490)if(_0x1c3bd2[_0xefd4('0x86')](_0x1ae6aa[_0xefd4('0x90')])){_0x14db52['updateMarker'](_0x270612,{'range':_0x1c3bd2}),_0x268c99=!0x0;break;}}return _0x268c99;}),_0x1ae366[_0xefd4('0x63')]['document'][_0xefd4('0x4d')](_0x26f718=>{let _0x400ef8=!0x1;const _0xec6ca6=_0x1ae366['plugins'][_0xefd4('0x16')]('Users')['me'],_0x3b6cf1=_0x461ca2[_0xefd4('0x11')]()[_0xefd4('0x0')](_0x25a249=>_0x25a249[_0xefd4('0x3b')]&&_0x25a249['author']==_0xec6ca6),_0x14ab12=new Set(),_0x1af2b7=new Set();for(const _0x131355 of _0x3b6cf1)if(_0xefd4('0x14')==_0x131355[_0xefd4('0x8b')])for(const _0x12381d of _0x131355[_0xefd4('0x32')]()){const _0xcb5d97=_0x12381d[_0xefd4('0x46')]()['getContainedElement']();if(_0xcb5d97){if(_0xcb5d97['is'](_0xefd4('0x72'),'tableCellSuggestion')&&ce(_0xcb5d97)){_0x131355[_0xefd4('0x2b')](_0x12381d[_0xefd4('0x6a')]),_0x14ab12[_0xefd4('0x20')](_0xcb5d97),_0x400ef8=!0x0;const _0xab6291=_0xcb5d97[_0xefd4('0x98')],_0x5d71f7=_0xcb5d97[_0xefd4('0x25')],_0x3f5704=_0xab6291&&_0xab6291['is'](_0xefd4('0x72'),'tableCellSuggestion'),_0x4556c2=_0x5d71f7&&_0x5d71f7['is'](_0xefd4('0x72'),_0xefd4('0x73'));_0x3f5704&&!_0x14ab12[_0xefd4('0x5c')](_0xab6291)&&_0x1af2b7[_0xefd4('0x20')](_0xab6291),_0x4556c2&&!_0x14ab12['has'](_0x5d71f7)&&_0x1af2b7[_0xefd4('0x20')](_0x5d71f7);}else _0xcb5d97['is'](_0xefd4('0x72'),'paragraph')&&_0xcb5d97[_0xefd4('0x7')]&&(_0x131355[_0xefd4('0x2b')](_0x12381d[_0xefd4('0x6a')]),_0x400ef8=!0x0);}}else{if(_0xefd4('0x7f')==_0x131355['subType']){if(!_0x131355['attributes']||!_0x131355['attributes'][_0xefd4('0x4e')])continue;const _0x825e0e=_0x131355[_0xefd4('0x45')][_0xefd4('0x3f')];if(_0x825e0e&&Object[_0xefd4('0x65')](_0x825e0e)['length'])continue;const _0x378d8e=_0x131355[_0xefd4('0x45')][_0xefd4('0x4e')];let _0x476f1a=!0x0,_0x5564f6=!0x0;for(const _0x5aa58a of _0x3b6cf1)if(_0x5aa58a[_0xefd4('0x8b')]&&_0x5aa58a[_0xefd4('0x8b')][_0xefd4('0x81')](_0xefd4('0x14'))){if(!_0x5aa58a[_0xefd4('0x45')][_0xefd4('0x4e')]){_0x5564f6=!0x1;break;}if(_0x5aa58a['id']!=_0x131355['id']&&_0x5aa58a['attributes'][_0xefd4('0x4e')]==_0x378d8e){_0x476f1a=!0x1;break;}}_0x5564f6&&_0x476f1a&&(_0x131355[_0xefd4('0x9')](),_0x400ef8=!0x0);}}for(const _0x43d88c of _0x14ab12)_0x26f718[_0xefd4('0x3')](_0x43d88c);for(const _0x4582a0 of _0x1af2b7)_0x26f718[_0xefd4('0x49')](_0x4582a0);return _0x400ef8;}),_0x1ae366[_0xefd4('0x54')]['for']('editingDowncast')[_0xefd4('0x31')]({'model':_0xefd4('0x5b'),'view':(_0xf0ebe8,_0x450606)=>_0x25fa51(_0xf0ebe8),'converterPriority':_0xefd4('0x97')}),_0x1ae366['conversion'][_0xefd4('0xe')](_0xefd4('0x4c'))['markerToHighlight']({'model':'suggestion:formatBlock:tablePasteCell','view':(_0x358b34,_0x2603d0)=>_0x2603d0['options'][_0xefd4('0x28')]?_0x25fa51(_0x358b34,!0x1):null,'converterPriority':_0xefd4('0x97')});const _0x4e53cc=_0x1ae366['editing'][_0xefd4('0xa')];this[_0xefd4('0x3d')](_0x4e53cc[_0xefd4('0x3e')],_0xefd4('0x7a'),(_0x1a0b7c,_0x1b16d8)=>{const _0x245767=[];for(const _0x16b2ad of _0x4e53cc['createRangeIn'](_0x1b16d8[_0xefd4('0xd')])[_0xefd4('0x62')]())_0x16b2ad['is'](_0xefd4('0x72'),'suggestion-td')&&_0x245767[_0xefd4('0x3c')](_0x16b2ad);_0x4e53cc[_0xefd4('0x12')](_0x25c376=>{for(const _0x236e11 of _0x245767)_0x25c376[_0xefd4('0x7b')](_0x25c376[_0xefd4('0x6c')](_0x236e11),_0x25c376[_0xefd4('0x5')](_0x236e11)),_0x25c376[_0xefd4('0x3')](_0x236e11);});});}}function ce(_0x3187e6){if(_0x3187e6['isEmpty'])return!0x0;const _0x2e6654=_0x3187e6[_0xefd4('0x95')](0x0);return _0x2e6654['is'](_0xefd4('0x72'),_0xefd4('0x47'))&&_0x2e6654[_0xefd4('0x7')];}function fe(_0x3b8f32,_0x322d7f={},_0x58a89c){for(const {isAnchor:_0x11419d,cellHeight:_0x3415f0,cellWidth:_0x4a43c7}of _0x58a89c[_0xefd4('0x18')](_0x3b8f32,{'includeAllSlots':!0x0,..._0x322d7f}))if(!_0x11419d||0x1!=_0x3415f0||0x1!=_0x4a43c7)return!0x1;return!0x0;}
23
+ const _0x4308=['suggestion-td','document','getAttributes','previous','editing','findAncestor','tableCellBorderWidth','row','root','next','suggestion','differ','find','markMultiRangeBlockFormat','markers','tablePasteChainId','nodeAfter','columns','getShiftedBy','formatBlock','name','updateMarker','add','getSuggestionCallback','removeRows','options','documentSelection','getItems','suggestion:formatBlock:tablePasteCell','dataDowncast','newRange','subType','batch','move','start','includes','has','createPositionBefore','length','startsWith','tableCellHorizontalAlignment','for','tablePasteColumn','_isForcedDefaultExecutionBlock','element','tableCellBorderStyle','createRangeOn','createRangeIn','_splitMarkerName','isEqual','_suggestionFactory','_createdBatches','map','_descriptionFactory','tableCellBackgroundColor','getTableIfOnlyTableInContent','rowInsertionRanges','columnInsertionIndexes','unwrap','TrackChangesEditing','content','_tablePostFixingSubtypes','column','markMultiRangeDeletion','getSuggestion','tablePaste','rootName','table','tablePasteCell','requires','endRow','tableCell','last','schema','first','insertColumns','insertContent','model','markerName','getContainedElement','cell','getSuggestions','getRowIndexes','endColumn','showSuggestionHighlights','selection','ck-suggestion-marker--active','wrap','remove','author','getAllAdjacentSuggestions','containsRange','low','*Replace\x20table\x20cells*','oldRange','getChild','getColumnIndexes','getRanges','_getCoordsForCells','change','markerAttributes','suggestionLoaded','TableClipboard','Users','markerToHighlight','deletion','tableCellVerticalAlignment','some','tableCellPadding','clipboardOutput','attributes','discard','type','editingDowncast','end','getMarkers','reduce','_replaceTableSlotCell','rowInsertionIndexes','isInContent','afterInit','insertion','plugins','previousSibling','insert','getChangedMarkers','from','push','isEmpty','createTableWalker','accept','filter','insertRows','view','get','tableCellSuggestion','entries','keys','fill','TableUtils','set','getRange','registerPostFixer','paragraph','high','registerCustomCallback','stop','cells','markMultiRangeInsertion','conversion','locale','position','ck-suggestion-marker-insertion','createElement','ck-suggestion-marker','getChildren','deletionRanges','forceDefaultExecution','editor','getRows','removeMarker','$graveyard','trackChanges','tablePasteRow','elementToElement','every','commands'];(function(_0x1730ac,_0x430898){const _0x551ff2=function(_0x55d893){while(--_0x55d893){_0x1730ac['push'](_0x1730ac['shift']());}};_0x551ff2(++_0x430898);}(_0x4308,0xc5));const _0x551f=function(_0x1730ac,_0x430898){_0x1730ac=_0x1730ac-0x0;let _0x551ff2=_0x4308[_0x1730ac];return _0x551ff2;};import{getTranslation as _0x54105c}from'../utils/common-translations';import{Plugin as _0x19e520}from'ckeditor5/src/core';import{uid as _0x56a239,priorities as _0x1bb9ac}from'ckeditor5/src/utils';import _0x425bf0 from'./table';const le=[_0x551f('0x8f'),'tableCellBorderColor',_0x551f('0xf'),_0x551f('0xa'),_0x551f('0x4c'),_0x551f('0x18'),_0x551f('0x4e')],ae=Object['fromEntries'](le[_0x551f('0x16')](_0x33d4a8=>[_0x33d4a8,null]));export default class kt extends _0x19e520{static get[_0x551f('0x27')](){return[_0x425bf0];}[_0x551f('0x5a')](){const _0x5d8bd4=this['editor'];if(!_0x5d8bd4[_0x551f('0x5c')][_0x551f('0x6')](_0x551f('0x48')))return;const _0x274d92=_0x5d8bd4['plugins']['get'](_0x551f('0x1d')),_0x510534=_0x5d8bd4[_0x551f('0x5c')][_0x551f('0x68')](_0x551f('0x6d')),_0x4f7339=_0x5d8bd4[_0x551f('0x5c')][_0x551f('0x68')](_0x425bf0),_0x129c08=_0x5d8bd4[_0x551f('0x5c')][_0x551f('0x68')](_0x551f('0x48'));_0x4f7339[_0x551f('0x1f')][_0x551f('0x61')](_0x551f('0x85'),_0x551f('0xc')),_0x5d8bd4[_0x551f('0x2f')][_0x551f('0x2b')]['register'](_0x551f('0x69'),{'allowIn':_0x551f('0x29'),'allowContentOf':_0x551f('0x29'),'isLimit':!0x0}),_0x5d8bd4[_0x551f('0x77')][_0x551f('0x86')]({'model':_0x551f('0x69'),'view':_0x551f('0x89')});let _0x53ba1c=null;_0x5d8bd4[_0x551f('0x2f')]['on'](_0x551f('0x2e'),(_0x3ab84b,_0x407d29)=>{const [_0x18d6a1,_0xb6efb4]=_0x407d29,_0x175c34=_0x407d29[_0x407d29[_0x551f('0x8')]-0x1];_0x175c34&&_0x175c34[_0x551f('0x7f')]||_0x274d92[_0x551f('0xd')]||this[_0x551f('0x80')][_0x551f('0x88')][_0x551f('0x68')](_0x551f('0x84'))['value']&&function(_0x39d9d3,_0x5abda6,_0x456bc4,_0x438461,_0x2ecc24){if(_0x5abda6&&!_0x5abda6['is'](_0x551f('0xa3')))return!0x1;const _0x568863=_0x2ecc24[_0x551f('0x19')](_0x39d9d3,_0x456bc4);if(!_0x568863||!fe(_0x568863,void 0x0,_0x438461))return!0x1;const _0xaa7c74=_0x438461['getSelectionAffectedTableCells'](_0x456bc4[_0x551f('0x8a')][_0x551f('0x37')]);if(!_0xaa7c74[_0x551f('0x8')])return!0x1;const _0x6705e1=_0xaa7c74[0x0][_0x551f('0x8e')](_0x551f('0x25')),_0x3be573=_0x438461[_0x551f('0x34')](_0xaa7c74),_0x2327eb=_0x438461[_0x551f('0x42')](_0xaa7c74),_0x3c0842={'startRow':_0x3be573[_0x551f('0x2c')],'endRow':_0x3be573[_0x551f('0x2a')],'startColumn':_0x2327eb[_0x551f('0x2c')],'endColumn':_0x2327eb['last']};return 0x1==_0xaa7c74[_0x551f('0x8')]&&(_0x3c0842[_0x551f('0x28')]+=_0x438461[_0x551f('0x81')](_0x568863)-0x1,_0x3c0842[_0x551f('0x35')]+=_0x438461['getColumns'](_0x568863)-0x1),fe(_0x6705e1,_0x3c0842,_0x438461);}(_0x18d6a1,_0xb6efb4,_0x5d8bd4[_0x551f('0x2f')],_0x510534,_0x129c08)&&(_0x3ab84b[_0x551f('0x74')](),_0x53ba1c={'cells':[],'insertionRanges':[],'deletionRanges':[],'rowInsertionRanges':[],'rowInsertionIndexes':[],'columnInsertionRanges':[],'columnInsertionIndexes':[]},_0x5d8bd4[_0x551f('0x2f')][_0x551f('0x45')](()=>{_0x5d8bd4[_0x551f('0x2f')]['insertContent'](_0x407d29[0x0],_0x407d29[0x1],_0x407d29[0x2],{'forceDefaultExecution':!0x0});const _0xad84e7=_0x56a239(),{rowInsertionRanges:_0x39ac14,columnInsertionRanges:_0x1b522c,insertionRanges:_0x769b9c,deletionRanges:_0x4a6d28,cells:_0x33b145}=_0x53ba1c;_0x39ac14['length']&&_0x274d92[_0x551f('0x76')](_0x39ac14,_0x551f('0x85'),{'tablePasteChainId':_0xad84e7}),_0x1b522c[_0x551f('0x8')]&&_0x274d92['markMultiRangeInsertion'](_0x1b522c,_0x551f('0xc'),{'tablePasteChainId':_0xad84e7}),_0x769b9c[_0x551f('0x8')]&&_0x274d92[_0x551f('0x76')](_0x769b9c,_0x551f('0x23'),{'tablePasteChainId':_0xad84e7,'skipNestingCheck':!0x0}),_0x4a6d28[_0x551f('0x8')]&&_0x274d92[_0x551f('0x21')](_0x4a6d28,'tablePaste',{'tablePasteChainId':_0xad84e7,'skipNestingCheck':!0x0});const _0x53ce8a=_0x274d92[_0x551f('0x96')](_0x33b145[_0x551f('0x16')](({element:_0x1d5666})=>_0x1d5666),{'formatGroupId':_0x56a239()},[],_0x551f('0x26'),{'tablePasteChainId':_0xad84e7});if(_0x53ce8a){const _0x212916=_0x53ce8a[_0x551f('0x55')](),_0x3d766d=[];for(const {element:_0x13fe33,attributes:_0x1883ab}of _0x33b145){if(!_0x1883ab)continue;const _0x9eecc9=_0x5d8bd4[_0x551f('0x2f')][_0x551f('0x10')](_0x13fe33),_0x562b6b=_0x212916['find'](_0x96c542=>_0x96c542[_0x551f('0x6f')]()[_0x551f('0x13')](_0x9eecc9));_0x562b6b&&_0x3d766d['push']([_0x562b6b[_0x551f('0x9d')],_0x1883ab]);}_0x3d766d[_0x551f('0x8')]&&_0x53ce8a['setAttribute'](_0x551f('0x46'),Object['fromEntries'](_0x3d766d));}_0x53ba1c=null;}));},{'priority':_0x1bb9ac[_0x551f('0x72')]+0xa}),_0x5d8bd4[_0x551f('0x5c')][_0x551f('0x68')]('TableClipboard')['on'](_0x551f('0x57'),(_0xe0e7d7,_0x19ccaa)=>{const [_0x3125ed,_0x212f36,,_0x3e5fc1]=_0x19ccaa;if(!_0x53ba1c)return;_0xe0e7d7[_0x551f('0x74')]();const _0x413195=_0x3125ed[_0x551f('0x32')],_0x48bd0d=_0x212f36,_0x5d9c57=ce(_0x413195),_0x3cd40b=ce(_0x48bd0d);_0xe0e7d7['return']=_0x413195;let _0x5ccf81=null,_0x458746=null;if(_0x3cd40b||_0x5d9c57){if(_0x5d9c57&&!_0x3cd40b){_0x3e5fc1['remove'](_0x413195['getChild'](0x0));for(const _0x49b297 of Array[_0x551f('0x60')](_0x48bd0d['getChildren']()))_0x3e5fc1[_0x551f('0x5e')](_0x49b297,_0x413195,_0x551f('0x54'));const _0x188408=_0x53ba1c[_0x551f('0x58')][_0x551f('0x5')](_0x3125ed[_0x551f('0x90')]),_0x3eb64d=_0x53ba1c[_0x551f('0x1b')]['includes'](_0x3125ed[_0x551f('0x20')]);_0x188408||_0x3eb64d||(_0x5ccf81=_0x3e5fc1[_0x551f('0x11')](_0x413195));}else _0x3cd40b&&!_0x5d9c57&&(_0x458746=_0x3e5fc1[_0x551f('0x11')](_0x413195));}else{const _0x11f869=_0x3e5fc1[_0x551f('0x7b')](_0x551f('0x69')),_0x5552df=_0x3e5fc1[_0x551f('0x7b')](_0x551f('0x69'));_0x3e5fc1[_0x551f('0x39')](_0x3e5fc1[_0x551f('0x11')](_0x413195),_0x5552df),_0x3e5fc1[_0x551f('0x5e')](_0x11f869,_0x413195,0x0);for(const _0x42ccd7 of Array[_0x551f('0x60')](_0x48bd0d[_0x551f('0x7d')]()))_0x3e5fc1[_0x551f('0x5e')](_0x42ccd7,_0x11f869,_0x551f('0x54'));_0x5ccf81=_0x3e5fc1[_0x551f('0x10')](_0x11f869),_0x458746=_0x3e5fc1[_0x551f('0x10')](_0x5552df);}const _0x2f0093=Array['from'](_0x48bd0d[_0x551f('0x8b')]())[_0x551f('0x65')](([_0x186f0b])=>le[_0x551f('0x5')](_0x186f0b));_0x53ba1c[_0x551f('0x75')]['push']({'element':_0x413195,'attributes':_0x2f0093[_0x551f('0x8')]?Object['fromEntries'](_0x2f0093):null}),_0x5ccf81&&_0x53ba1c['insertionRanges'][_0x551f('0x61')](_0x5ccf81),_0x458746&&_0x53ba1c[_0x551f('0x7e')]['push'](_0x458746);},{'priority':_0x551f('0x72')}),_0x510534['on'](_0x551f('0x2d'),(_0x509f71,_0x3c0183)=>{const [_0x148f59,_0x1a6ef9={}]=_0x3c0183;if(!_0x53ba1c)return;const _0xb0e6c6=_0x1a6ef9['at']||0x0,_0x3725ee=_0x1a6ef9[_0x551f('0x9a')]||0x1;_0x53ba1c['columnInsertionIndexes']=new Array(_0x3725ee)[_0x551f('0x6c')](_0xb0e6c6)[_0x551f('0x16')]((_0x5a44f4,_0x2d0e09)=>_0x5a44f4+_0x2d0e09);for(const {cell:_0x11196f}of _0x510534[_0x551f('0x63')](_0x148f59,{'startColumn':_0xb0e6c6,'endColumn':_0xb0e6c6+_0x3725ee-0x1}))_0x53ba1c['columnInsertionRanges']['push'](_0x5d8bd4['model'][_0x551f('0x10')](_0x11196f));},{'priority':_0x551f('0x3e')}),_0x510534['on'](_0x551f('0x66'),(_0x4f679a,_0x273d97)=>{const [_0xe6a49d,_0x545b69={}]=_0x273d97;if(!_0x53ba1c)return;const _0x1716fc=_0x545b69['at']||0x0,_0x10671c=_0x545b69['rows']||0x1;_0x53ba1c[_0x551f('0x58')]=new Array(_0x10671c)[_0x551f('0x6c')](_0x1716fc)[_0x551f('0x16')]((_0xf8c376,_0x2b2e79)=>_0xf8c376+_0x2b2e79);for(const {cell:_0x38e414}of _0x510534[_0x551f('0x63')](_0xe6a49d,{'startRow':_0x1716fc,'endRow':_0x1716fc+_0x10671c-0x1}))_0x53ba1c[_0x551f('0x1a')][_0x551f('0x61')](_0x5d8bd4[_0x551f('0x2f')][_0x551f('0x10')](_0x38e414));},{'priority':'low'}),_0x274d92[_0x551f('0x17')]['registerDescriptionCallback'](_0x28da45=>{if(_0x28da45[_0x551f('0x1')]&&_0x28da45[_0x551f('0x1')][_0x551f('0x9')](_0x551f('0x23')))return _0x28da45['previous']?{}:{'type':_0x551f('0x5b'),'content':_0x54105c(_0x5d8bd4[_0x551f('0x78')],_0x551f('0x3f'))};});const _0x323bfb=()=>!0x1;for(const _0xcb4a99 of[_0x551f('0x23'),_0x551f('0xc'),'tablePasteRow',_0x551f('0x26')])_0x274d92[_0x551f('0x14')]['registerCustomCallback'](_0x551f('0x5b'),_0xcb4a99,'join',_0x323bfb),_0x274d92[_0x551f('0x14')][_0x551f('0x73')]('deletion',_0xcb4a99,'join',_0x323bfb),_0x274d92[_0x551f('0x14')][_0x551f('0x73')](_0x551f('0x9c'),_0xcb4a99,'join',_0x323bfb);_0x274d92['_suggestionFactory']['registerCustomCallback'](_0x551f('0x9c'),_0x551f('0x26'),_0x551f('0x51'),_0x323bfb),_0x274d92[_0x551f('0x14')][_0x551f('0x73')](_0x551f('0x9c'),_0x551f('0x26'),'accept',(_0x245930,_0x52a7c7,_0x1542db)=>{const _0x388e48=_0x245930[_0x551f('0x16')](_0x86ba78=>_0x86ba78[_0x551f('0x31')]())[_0x551f('0x65')](_0x28c410=>_0x28c410),_0x23d618=new Map(_0x388e48[_0x551f('0x16')](_0x189b0d=>[_0x189b0d,null]));if(_0x53ba1c)for(const {element:_0x21553c,attributes:_0x159987}of _0x53ba1c[_0x551f('0x75')])_0x159987&&_0x23d618['set'](_0x21553c,_0x159987);else{if(_0x1542db&&_0x1542db[_0x551f('0x46')])for(const [_0x1a3002,_0x39fd16]of Object[_0x551f('0x6a')](_0x1542db[_0x551f('0x46')])){const _0x1f726d=_0x5d8bd4[_0x551f('0x2f')][_0x551f('0x97')][_0x551f('0x68')](_0x1a3002),_0x893770=_0x1f726d?_0x1f726d[_0x551f('0x6f')]()['getContainedElement']():null;_0x893770&&_0x23d618[_0x551f('0x6e')](_0x893770,_0x39fd16);}}_0x5d8bd4[_0x551f('0x2f')][_0x551f('0x45')](_0x40452c=>{for(const [_0x4bdba3,_0x337bee]of _0x23d618)_0x40452c['setAttributes']({...ae,..._0x337bee},_0x4bdba3);});});const _0x16e014=(_0x5f15b6,_0x3f93ef)=>{_0x274d92[_0x551f('0x14')][_0x551f('0x73')](_0x5f15b6,'tablePaste',_0x3f93ef,(_0x2b7c5a,_0x3d4a38,_0x822654)=>{_0x5d8bd4['model'][_0x551f('0x45')](_0xa57b26=>{const _0x1ff820=[];for(const _0x4412d1 of _0x2b7c5a){const _0x1f337f=_0x4412d1[_0x551f('0x4')][_0x551f('0x99')];_0x1f337f['is'](_0x551f('0xe'),'tableCellSuggestion')&&_0x1ff820[_0x551f('0x61')](_0x1f337f);}_0x274d92[_0x551f('0x14')][_0x551f('0xa0')](_0x5f15b6,null,_0x3f93ef)(_0x2b7c5a,_0x3d4a38,_0x822654);for(const _0xa620b4 of _0x1ff820)_0x551f('0x83')!=_0xa620b4[_0x551f('0x91')][_0x551f('0x24')]&&_0xa57b26[_0x551f('0x1c')](_0xa620b4);});});};_0x16e014(_0x551f('0x5b'),_0x551f('0x64')),_0x16e014('insertion',_0x551f('0x51')),_0x16e014(_0x551f('0x4b'),_0x551f('0x64')),_0x16e014('deletion',_0x551f('0x51')),_0x274d92[_0x551f('0x14')]['registerCustomCallback']('insertion','tablePasteRow',_0x551f('0x51'),_0x2579a6=>{const _0x306b18=_0x2579a6[_0x551f('0x16')](_0x3e8271=>_0x3e8271[_0x551f('0x31')]()),_0x179a18=_0x306b18[0x0][_0x551f('0x8e')](_0x551f('0x25')),{minRow:_0x226aa9,maxRow:_0x1cc295}=_0x4f7339['_getCoordsForCells'](_0x306b18);_0x510534[_0x551f('0xa1')](_0x179a18,{'at':_0x226aa9,'rows':_0x1cc295-_0x226aa9+0x1});}),_0x274d92[_0x551f('0x14')][_0x551f('0x73')]('insertion','tablePasteColumn',_0x551f('0x51'),_0x455350=>{const _0x2b02e1=_0x455350[_0x551f('0x16')](_0x91c84b=>_0x91c84b[_0x551f('0x31')]()),_0x4d47ac=_0x2b02e1[0x0][_0x551f('0x8e')](_0x551f('0x25')),{minColumn:_0x12f647,maxColumn:_0x1389cb}=_0x4f7339[_0x551f('0x44')](_0x2b02e1);_0x510534['removeColumns'](_0x4d47ac,{'at':_0x12f647,'columns':_0x1389cb-_0x12f647+0x1});});const _0x166964=(_0x4cd22d,_0x1ecb58)=>{if(!_0x1ecb58['subType']||!_0x1ecb58['subType'][_0x551f('0x9')](_0x551f('0x23')))return;const _0x36091f=_0x1ecb58['attributes']['tablePasteChainId'],_0x48a46b=_0x274d92['getSuggestions']()[_0x551f('0x65')](_0x3d15f5=>_0x3d15f5[_0x551f('0x59')]&&_0x3d15f5[_0x551f('0x50')]&&_0x3d15f5[_0x551f('0x50')][_0x551f('0x98')]==_0x36091f);_0x48a46b[_0x551f('0x8')]&&_0x1ecb58[_0x551f('0x3c')]()[_0x551f('0x8')]!=_0x48a46b[_0x551f('0x8')]&&_0x48a46b[_0x551f('0x56')]((_0xe1c95d,_0x4ad8c7)=>(_0xe1c95d[_0x551f('0x92')]=_0x4ad8c7,_0x4ad8c7[_0x551f('0x8c')]=_0xe1c95d,_0x4ad8c7));};function _0x5678c7(_0x265022,_0x134325=!0x0){const {id:_0x16ea78}=_0x274d92['_splitMarkerName'](_0x265022[_0x551f('0x30')]),_0x1cda74=[_0x551f('0x7c'),_0x551f('0x7a')],_0x591e79=_0x274d92['activeMarkers']['includes'](_0x265022[_0x551f('0x30')]);return _0x591e79&&_0x1cda74[_0x551f('0x61')](_0x551f('0x38')),{'classes':_0x1cda74,'attributes':{'data-suggestion':_0x16ea78},'priority':_0x591e79&&_0x134325?0xbc2:0xbb8};}_0x274d92['on'](_0x551f('0x47'),_0x166964,{'priority':_0x551f('0x72')}),_0x274d92['on']('suggestionUnloaded',_0x166964,{'priority':_0x551f('0x72')}),_0x5d8bd4['model'][_0x551f('0x8a')][_0x551f('0x70')](()=>{let _0x136553=!0x1;const _0x5f19e4=Array['from'](_0x5d8bd4[_0x551f('0x2f')][_0x551f('0x8a')][_0x551f('0x94')][_0x551f('0x5f')]());for(const {name:_0x1da946,data:_0x407471}of _0x5f19e4){const {group:_0x6c7c20,type:_0xd39b3e,id:_0x461df9}=_0x274d92[_0x551f('0x12')](_0x1da946);if(_0x551f('0x93')!=_0x6c7c20||_0x551f('0x4b')!=_0xd39b3e||_0x407471[_0x551f('0x40')])continue;if(!_0x274d92['hasSuggestion'](_0x461df9))continue;const _0x3819a5=_0x274d92[_0x551f('0x22')](_0x461df9)[_0x551f('0x43')](),_0x3fbe36=_0x5d8bd4[_0x551f('0x5c')]['get'](_0x551f('0x49'))['me'];for(const _0x54e255 of _0x274d92[_0x551f('0x33')]()){if(!_0x54e255[_0x551f('0x59')]||_0x54e255[_0x551f('0x3b')]!=_0x3fbe36)continue;if('formatBlock'!=_0x54e255[_0x551f('0x52')]||_0x551f('0x26')!=_0x54e255[_0x551f('0x1')])continue;if(_0x54e255[_0x551f('0x43')]()[_0x551f('0x87')](_0x595b4e=>_0x3819a5[_0x551f('0x4d')](_0x350397=>_0x350397[_0x551f('0x3d')](_0x595b4e,!0x0))))for(const _0x4104ae of _0x54e255[_0x551f('0x3c')]())_0x4104ae[_0x551f('0x59')]&&(_0x4104ae[_0x551f('0x51')](),_0x136553=!0x0);}}return _0x136553;}),_0x5d8bd4[_0x551f('0x2f')]['document']['registerPostFixer'](_0x4712c0=>{const _0x4f44d3=_0x5d8bd4[_0x551f('0x88')][_0x551f('0x68')]('redo');if(!_0x4f44d3||!_0x4f44d3[_0x551f('0x15')][_0x551f('0x6')](_0x4712c0[_0x551f('0x2')]))return!0x1;let _0x23af07=!0x1;const _0x1d4fdf=_0x5d8bd4[_0x551f('0x5c')]['get'](_0x551f('0x49'))['me'],_0x54280=_0x5d8bd4[_0x551f('0x2f')][_0x551f('0x8a')][_0x551f('0x94')]['getChanges'](),_0x86dedc=Array[_0x551f('0x60')](_0x5d8bd4['model'][_0x551f('0x8a')][_0x551f('0x94')][_0x551f('0x5f')]())[_0x551f('0x65')](({name:_0x167722,data:_0x2329c5})=>{const {group:_0x3877a1,subType:_0x269d9a,authorId:_0x45f0d8}=_0x274d92[_0x551f('0x12')](_0x167722);return _0x551f('0x93')==_0x3877a1&&_0x551f('0x23')==_0x269d9a&&_0x45f0d8==_0x1d4fdf['id']&&!_0x2329c5['oldRange'];});for(const _0x24e003 of _0x54280){if('insert'!=_0x24e003[_0x551f('0x52')]||_0x551f('0x69')!=_0x24e003['name']||0x1!=_0x24e003[_0x551f('0x8')])continue;const _0x2eef04=_0x4712c0['createRange'](_0x24e003[_0x551f('0x79')],_0x24e003[_0x551f('0x79')][_0x551f('0x9b')](0x1));if(!_0x86dedc[_0x551f('0x95')](({data:_0x2aba00})=>_0x2aba00[_0x551f('0x0')]['isEqual'](_0x2eef04)))for(const {name:_0x41a38a,data:_0x384552}of _0x86dedc)if(_0x2eef04[_0x551f('0x3d')](_0x384552['newRange'])){_0x4712c0[_0x551f('0x9e')](_0x41a38a,{'range':_0x2eef04}),_0x23af07=!0x0;break;}}return _0x23af07;}),_0x5d8bd4['model'][_0x551f('0x8a')]['registerPostFixer'](_0x56fb6c=>{let _0x4683b0=!0x1;const _0x1216ef=_0x5d8bd4[_0x551f('0x5c')][_0x551f('0x68')](_0x551f('0x49'))['me'],_0x50357b=_0x274d92[_0x551f('0x33')]()[_0x551f('0x65')](_0x3a6d28=>_0x3a6d28[_0x551f('0x59')]&&_0x3a6d28[_0x551f('0x3b')]==_0x1216ef),_0x3f6651=new Set(),_0x1a05e3=new Set();for(const _0x1adbdd of _0x50357b)if('tablePaste'==_0x1adbdd['subType'])for(const _0x24535c of _0x1adbdd['getMarkers']()){const _0x3c559b=_0x24535c[_0x551f('0x6f')]()['getContainedElement']();if(_0x3c559b){if(_0x3c559b['is']('element',_0x551f('0x69'))&&ce(_0x3c559b)){_0x1adbdd[_0x551f('0x82')](_0x24535c[_0x551f('0x9d')]),_0x3f6651[_0x551f('0x9f')](_0x3c559b),_0x4683b0=!0x0;const _0x3ca6ab=_0x3c559b['nextSibling'],_0x9351dc=_0x3c559b[_0x551f('0x5d')],_0x5922c1=_0x3ca6ab&&_0x3ca6ab['is'](_0x551f('0xe'),'tableCellSuggestion'),_0x20e372=_0x9351dc&&_0x9351dc['is']('element',_0x551f('0x69'));_0x5922c1&&!_0x3f6651['has'](_0x3ca6ab)&&_0x1a05e3[_0x551f('0x9f')](_0x3ca6ab),_0x20e372&&!_0x3f6651[_0x551f('0x6')](_0x9351dc)&&_0x1a05e3[_0x551f('0x9f')](_0x9351dc);}else _0x3c559b['is'](_0x551f('0xe'),_0x551f('0x71'))&&_0x3c559b[_0x551f('0x62')]&&(_0x1adbdd[_0x551f('0x82')](_0x24535c['name']),_0x4683b0=!0x0);}}else{if(_0x551f('0x26')==_0x1adbdd[_0x551f('0x1')]){if(!_0x1adbdd[_0x551f('0x50')]||!_0x1adbdd['attributes'][_0x551f('0x98')])continue;const _0x70f57d=_0x1adbdd[_0x551f('0x50')][_0x551f('0x46')];if(_0x70f57d&&Object[_0x551f('0x6b')](_0x70f57d)[_0x551f('0x8')])continue;const _0x1081a0=_0x1adbdd[_0x551f('0x50')][_0x551f('0x98')];let _0x540b4f=!0x0,_0x21ce4a=!0x0;for(const _0x25110f of _0x50357b)if(_0x25110f[_0x551f('0x1')]&&_0x25110f[_0x551f('0x1')][_0x551f('0x9')](_0x551f('0x23'))){if(!_0x25110f['attributes'][_0x551f('0x98')]){_0x21ce4a=!0x1;break;}if(_0x25110f['id']!=_0x1adbdd['id']&&_0x25110f['attributes'][_0x551f('0x98')]==_0x1081a0){_0x540b4f=!0x1;break;}}_0x21ce4a&&_0x540b4f&&(_0x1adbdd['removeMarkers'](),_0x4683b0=!0x0);}}for(const _0x5c7925 of _0x3f6651)_0x56fb6c['remove'](_0x5c7925);for(const _0x24455c of _0x1a05e3)_0x56fb6c[_0x551f('0x1c')](_0x24455c);return _0x4683b0;}),_0x5d8bd4['conversion'][_0x551f('0xb')](_0x551f('0x53'))[_0x551f('0x4a')]({'model':_0x551f('0xa5'),'view':(_0x554099,_0x325662)=>_0x5678c7(_0x554099),'converterPriority':_0x551f('0x72')}),_0x5d8bd4[_0x551f('0x77')][_0x551f('0xb')](_0x551f('0xa6'))[_0x551f('0x4a')]({'model':_0x551f('0xa5'),'view':(_0x49222c,_0x331597)=>_0x331597[_0x551f('0xa2')][_0x551f('0x36')]?_0x5678c7(_0x49222c,!0x1):null,'converterPriority':_0x551f('0x72')});const _0x40ae2f=_0x5d8bd4[_0x551f('0x8d')][_0x551f('0x67')];this['listenTo'](_0x40ae2f[_0x551f('0x8a')],_0x551f('0x4f'),(_0x2cf29a,_0x15d78e)=>{const _0x36f860=[];for(const _0x197c60 of _0x40ae2f['createRangeIn'](_0x15d78e[_0x551f('0x1e')])[_0x551f('0xa4')]())_0x197c60['is']('element',_0x551f('0x89'))&&_0x36f860[_0x551f('0x61')](_0x197c60);_0x40ae2f[_0x551f('0x45')](_0x30fcec=>{for(const _0x39182a of _0x36f860)_0x30fcec[_0x551f('0x3')](_0x30fcec[_0x551f('0x11')](_0x39182a),_0x30fcec[_0x551f('0x7')](_0x39182a)),_0x30fcec[_0x551f('0x3a')](_0x39182a);});});}}function ce(_0x4f21a0){if(_0x4f21a0['isEmpty'])return!0x0;const _0x4cb25f=_0x4f21a0[_0x551f('0x41')](0x0);return _0x4cb25f['is'](_0x551f('0xe'),_0x551f('0x71'))&&_0x4cb25f[_0x551f('0x62')];}function fe(_0x4de9d6,_0x3f41ba={},_0x13476c){for(const {isAnchor:_0x2036e5,cellHeight:_0x1cd871,cellWidth:_0x5cf217}of _0x13476c[_0x551f('0x63')](_0x4de9d6,{'includeAllSlots':!0x0,..._0x3f41ba}))if(!_0x2036e5||0x1!=_0x1cd871||0x1!=_0x5cf217)return!0x1;return!0x0;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x458e=['getSuggestionCallback','bind','accept','document','*Format:*\x20resize\x20table','formatBlock','getContainedElement','formatGroupId','markBlockFormat','afterInit','getAttribute','author','Users','handleResizeTableWidthCommand','get','plugins','table','change','has','getColumnGroupElement','selection','subType','_descriptionFactory','editor','commandParams','resizeTable','TrackChangesEditing','model','handleSuggestionDescription','discard','TableColumnResizeEditing','tableWidth','_suggestionFactory','getSuggestions','registerCustomCallback','locale','getSelectedElement','format'];(function(_0xb985a0,_0x458e56){const _0xdd8156=function(_0x27fd6b){while(--_0x27fd6b){_0xb985a0['push'](_0xb985a0['shift']());}};_0xdd8156(++_0x458e56);}(_0x458e,0x94));const _0xdd81=function(_0xb985a0,_0x458e56){_0xb985a0=_0xb985a0-0x0;let _0xdd8156=_0x458e[_0xb985a0];return _0xdd8156;};import{Plugin as _0x1773ca}from'ckeditor5/src/core';import{getTranslation as _0x68a885}from'../utils/common-translations';export default class wt extends _0x1773ca{[_0xdd81('0xd')](){if(!this[_0xdd81('0x1b')][_0xdd81('0x13')][_0xdd81('0x16')](_0xdd81('0x22')))return;const _0x1278c1=this[_0xdd81('0x1b')][_0xdd81('0x13')]['get'](_0xdd81('0x1e'));_0x1278c1['enableCommand']('resizeTableWidth',this[_0xdd81('0x11')][_0xdd81('0x5')](this)),_0x1278c1['enableCommand']('resizeColumnWidths',this[_0xdd81('0x11')][_0xdd81('0x5')](this)),_0x1278c1[_0xdd81('0x24')][_0xdd81('0x0')](_0xdd81('0x9'),_0xdd81('0x1d'),_0xdd81('0x6'),_0x1278c1[_0xdd81('0x24')][_0xdd81('0x4')]('formatBlock',null,_0xdd81('0x21'))),_0x1278c1['_suggestionFactory']['registerCustomCallback'](_0xdd81('0x9'),'resizeTable',_0xdd81('0x21'),_0x1278c1[_0xdd81('0x24')][_0xdd81('0x4')]('formatBlock',null,_0xdd81('0x6'))),_0x1278c1[_0xdd81('0x1a')]['registerDescriptionCallback'](this[_0xdd81('0x20')][_0xdd81('0x5')](this));}[_0xdd81('0x11')](_0x36049e,_0x27f2a4){const _0x4666db=this[_0xdd81('0x1b')][_0xdd81('0x13')][_0xdd81('0x12')]('TrackChangesEditing'),_0xf03658=this[_0xdd81('0x1b')][_0xdd81('0x13')]['get'](_0xdd81('0x22')),_0xfadf85=_0x27f2a4[_0xdd81('0x14')]||this['editor'][_0xdd81('0x1f')][_0xdd81('0x7')][_0xdd81('0x18')][_0xdd81('0x2')]();this['editor'][_0xdd81('0x1f')][_0xdd81('0x15')](()=>{const _0x106a6a=_0xf03658[_0xdd81('0x17')](_0xfadf85);let _0x70c976=_0x106a6a?_0xf03658['getTableColumnsWidths'](_0x106a6a):null,_0x12e543=_0xfadf85[_0xdd81('0xe')](_0xdd81('0x23'))||null;const _0x34fba0=_0x27f2a4[_0xdd81('0x23')]||_0x12e543,_0x212baf=_0x27f2a4['columnWidths']||_0x70c976,_0x3dc9fd=this[_0xdd81('0x1b')]['plugins'][_0xdd81('0x12')](_0xdd81('0x10'))['me'];for(const _0x2eafeb of _0x4666db[_0xdd81('0x25')]()){const _0x3069ba=_0x2eafeb[_0xdd81('0xa')]();if(_0xdd81('0x1d')===_0x2eafeb[_0xdd81('0x19')]&&_0x3069ba===_0xfadf85){_0x2eafeb[_0xdd81('0xf')]!==_0x3dc9fd&&_0x2eafeb[_0xdd81('0x21')]();const _0xf409cb=_0x2eafeb['data'][_0xdd81('0x1c')];_0x12e543=_0xf409cb[0x0]['tableWidth'],_0x70c976=_0xf409cb[0x0]['columnWidths'];break;}}_0x36049e({'table':_0xfadf85,'tableWidth':_0x34fba0,'columnWidths':_0x212baf}),_0x4666db[_0xdd81('0xc')](_0xfadf85,{'commandName':'resizeTableWidth','commandParams':[{'tableWidth':_0x12e543,'columnWidths':_0x70c976}],'formatGroupId':_0xdd81('0x1d')},[],'resizeTable');});}['handleSuggestionDescription'](_0x94a09f){const {data:_0x499b65}=_0x94a09f;if(_0x499b65&&'resizeTable'===_0x499b65[_0xdd81('0xb')]){const _0x1e382b=_0xdd81('0x8');return{'type':_0xdd81('0x3'),'content':_0x68a885(this[_0xdd81('0x1b')][_0xdd81('0x1')],_0x1e382b)};}}}
23
+ const _0x9d03=['document','TrackChangesEditing','_suggestionFactory','format','data','locale','enableCommand','getTableColumnsWidths','handleResizeTableWidthCommand','getContainedElement','formatGroupId','getSuggestionCallback','afterInit','columnWidths','registerDescriptionCallback','discard','accept','model','has','author','change','registerCustomCallback','selection','plugins','_descriptionFactory','getColumnGroupElement','table','getAttribute','*Format:*\x20resize\x20table','resizeTableWidth','TableColumnResizeEditing','commandParams','tableWidth','handleSuggestionDescription','editor','subType','get','formatBlock','resizeTable','Users','markBlockFormat','bind'];(function(_0x40870d,_0x9d03ac){const _0x4cdd1e=function(_0x610d85){while(--_0x610d85){_0x40870d['push'](_0x40870d['shift']());}};_0x4cdd1e(++_0x9d03ac);}(_0x9d03,0x173));const _0x4cdd=function(_0x40870d,_0x9d03ac){_0x40870d=_0x40870d-0x0;let _0x4cdd1e=_0x9d03[_0x40870d];return _0x4cdd1e;};import{Plugin as _0x474931}from'ckeditor5/src/core';import{getTranslation as _0x1c5e1c}from'../utils/common-translations';export default class wt extends _0x474931{[_0x4cdd('0x13')](){if(!this[_0x4cdd('0x29')][_0x4cdd('0x1e')][_0x4cdd('0x19')](_0x4cdd('0x25')))return;const _0x53f54c=this[_0x4cdd('0x29')]['plugins'][_0x4cdd('0x1')](_0x4cdd('0x8'));_0x53f54c[_0x4cdd('0xd')]('resizeTableWidth',this['handleResizeTableWidthCommand'][_0x4cdd('0x6')](this)),_0x53f54c[_0x4cdd('0xd')]('resizeColumnWidths',this[_0x4cdd('0xf')]['bind'](this)),_0x53f54c[_0x4cdd('0x9')][_0x4cdd('0x1c')](_0x4cdd('0x2'),'resizeTable','accept',_0x53f54c['_suggestionFactory'][_0x4cdd('0x12')](_0x4cdd('0x2'),null,_0x4cdd('0x16'))),_0x53f54c[_0x4cdd('0x9')]['registerCustomCallback'](_0x4cdd('0x2'),_0x4cdd('0x3'),_0x4cdd('0x16'),_0x53f54c[_0x4cdd('0x9')]['getSuggestionCallback'](_0x4cdd('0x2'),null,_0x4cdd('0x17'))),_0x53f54c[_0x4cdd('0x1f')][_0x4cdd('0x15')](this['handleSuggestionDescription'][_0x4cdd('0x6')](this));}['handleResizeTableWidthCommand'](_0x44d34c,_0x453dca){const _0x334c92=this[_0x4cdd('0x29')][_0x4cdd('0x1e')][_0x4cdd('0x1')](_0x4cdd('0x8')),_0x2ebd0a=this[_0x4cdd('0x29')][_0x4cdd('0x1e')]['get'](_0x4cdd('0x25')),_0x22bda4=_0x453dca[_0x4cdd('0x21')]||this[_0x4cdd('0x29')][_0x4cdd('0x18')][_0x4cdd('0x7')][_0x4cdd('0x1d')]['getSelectedElement']();this[_0x4cdd('0x29')][_0x4cdd('0x18')][_0x4cdd('0x1b')](()=>{const _0x5adc87=_0x2ebd0a[_0x4cdd('0x20')](_0x22bda4);let _0x5aabc3=_0x5adc87?_0x2ebd0a[_0x4cdd('0xe')](_0x5adc87):null,_0x20f7f9=_0x22bda4[_0x4cdd('0x22')](_0x4cdd('0x27'))||null;const _0x4b05a1=_0x453dca[_0x4cdd('0x27')]||_0x20f7f9,_0x56859b=_0x453dca[_0x4cdd('0x14')]||_0x5aabc3,_0x3227b0=this['editor']['plugins'][_0x4cdd('0x1')](_0x4cdd('0x4'))['me'];for(const _0x87ca5a of _0x334c92['getSuggestions']()){const _0x443234=_0x87ca5a[_0x4cdd('0x10')]();if(_0x4cdd('0x3')===_0x87ca5a[_0x4cdd('0x0')]&&_0x443234===_0x22bda4){_0x87ca5a[_0x4cdd('0x1a')]!==_0x3227b0&&_0x87ca5a[_0x4cdd('0x16')]();const _0x44d4fd=_0x87ca5a[_0x4cdd('0xb')][_0x4cdd('0x26')];_0x20f7f9=_0x44d4fd[0x0]['tableWidth'],_0x5aabc3=_0x44d4fd[0x0][_0x4cdd('0x14')];break;}}_0x44d34c({'table':_0x22bda4,'tableWidth':_0x4b05a1,'columnWidths':_0x56859b}),_0x334c92[_0x4cdd('0x5')](_0x22bda4,{'commandName':_0x4cdd('0x24'),'commandParams':[{'tableWidth':_0x20f7f9,'columnWidths':_0x5aabc3}],'formatGroupId':'resizeTable'},[],'resizeTable');});}[_0x4cdd('0x28')](_0x5f97b3){const {data:_0x21a89d}=_0x5f97b3;if(_0x21a89d&&'resizeTable'===_0x21a89d[_0x4cdd('0x11')]){const _0x28e712=_0x4cdd('0x23');return{'type':_0x4cdd('0xa'),'content':_0x1c5e1c(this['editor'][_0x4cdd('0xc')],_0x28e712)};}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3527=['commandName','index','accept','commands','isBefore','nodeBefore','requires','setTableRowHeader','editing','includes','_acceptFormatSuggestionCallbackFactory','document','headingColumns','getSelectionAffectedTableCells','setAttribute','createTableWalker','highest','downcastDispatcher','mapper','get','stop','nodeAfter','ck-suggestion-marker-','data','ck-suggestion-marker--active','unbindElementFromMarkerName','getChild','forceValue','getAttribute','FORMAT_HEADER_ROW','createPositionBefore','cell','removeMarker:suggestion','markerName','has','from','value','editor','plugins','FORMAT_REGULAR_COLUMN','table','model','start','options','headingRows','parent','setTableColumnHeader','writer','toViewElement','registerDescriptionCallback','markBlockFormat','change','getColumnIndexes','childCount','getSuggestion','last','_descriptionFactory','data-suggestion','name','getCellLocation','FORMAT_REGULAR_ROW','markerNameToElements','getRowIndexes','commandParams','addMarker:suggestion','findAncestor','_suggestionFactory','first','TableEditing','_splitMarkerName','consumable','createRange','markerRange','removeClass','createPositionAfter','registerCustomCallback','bindElementToMarker','formatBlock','TableUtils','TrackChangesEditing'];(function(_0x59b7f2,_0x3527ef){const _0x591b34=function(_0x335a2d){while(--_0x335a2d){_0x59b7f2['push'](_0x59b7f2['shift']());}};_0x591b34(++_0x3527ef);}(_0x3527,0x1dd));const _0x591b=function(_0x59b7f2,_0x3527ef){_0x59b7f2=_0x59b7f2-0x0;let _0x591b34=_0x3527[_0x59b7f2];return _0x591b34;};import{Plugin as _0xe6e537}from'ckeditor5/src/core';import _0x1522c5 from'./table';import{getTranslation as _0x1bd412}from'../utils/common-translations';export default class pt extends _0xe6e537{static get[_0x591b('0x9')](){return[_0x1522c5];}['afterInit'](){const _0x968b47=this[_0x591b('0x28')];if(!_0x968b47[_0x591b('0x29')][_0x591b('0x25')](_0x591b('0x47')))return;const _0x5bf7b3=_0x968b47['locale'],_0x2b711a=_0x968b47[_0x591b('0x29')][_0x591b('0x16')](_0x591b('0x2')),_0x5a9f5f=_0x968b47[_0x591b('0x29')][_0x591b('0x16')](_0x591b('0x1')),_0xce4f4a=_0x968b47['plugins'][_0x591b('0x16')](_0x1522c5);function _0x420d44({showActiveMarker:_0x3d00cd=!0x0,setDataAttribute:_0x2b2a04=!0x0}={}){return(_0x45673c,_0x2fb92a,_0x3702ac)=>{const {type:_0x23e262,id:_0x4e7a7b}=_0x2b711a[_0x591b('0x48')](_0x2fb92a[_0x591b('0x24')]),_0x137de0=_0x2b711a[_0x591b('0x39')](_0x4e7a7b);if(!_0x137de0[_0x591b('0x1a')]||'setTableColumnHeader'!=_0x137de0['data'][_0x591b('0x3')])return;if(_0x2fb92a['item'])return void _0x45673c[_0x591b('0x17')]();if(!_0x3702ac[_0x591b('0x49')]['consume'](_0x2fb92a[_0x591b('0x4b')],_0x45673c[_0x591b('0x3d')]))return;const _0x2bc537=_0x2fb92a['markerRange'][_0x591b('0x2d')][_0x591b('0x18')],_0x501713=_0x2fb92a[_0x591b('0x4b')]['end'][_0x591b('0x8')],_0x503505=_0x2bc537[_0x591b('0x30')]['parent'],{column:_0x143be5}=_0x5a9f5f[_0x591b('0x3e')](_0x2bc537),{column:_0x1e0a3e}=_0x5a9f5f['getCellLocation'](_0x501713);for(let _0x597764=_0x143be5;_0x597764<=_0x1e0a3e;_0x597764++){const _0x1d8b4a=_0x5a9f5f[_0x591b('0x12')](_0x503505,{'column':_0x597764,'includeAllSlots':!0x1});for(const _0x126c73 of _0x1d8b4a){const _0x188b2f=_0x126c73['cell'],_0x12daa1=_0x3702ac[_0x591b('0x15')][_0x591b('0x33')](_0x188b2f);_0x3702ac['writer']['addClass'](_0x591b('0x19')+_0x23e262,_0x12daa1),_0x2b2a04&&_0x3702ac[_0x591b('0x32')][_0x591b('0x11')](_0x591b('0x3c'),_0x4e7a7b,_0x12daa1),_0x3702ac[_0x591b('0x15')][_0x591b('0x4f')](_0x12daa1,_0x2fb92a[_0x591b('0x24')]),_0x3d00cd&&(_0x2b711a['activeMarkers'][_0x591b('0xc')](_0x2fb92a[_0x591b('0x24')])?_0x3702ac[_0x591b('0x32')]['addClass'](_0x591b('0x1b'),_0x12daa1):_0x3702ac[_0x591b('0x32')][_0x591b('0x4c')](_0x591b('0x1b'),_0x12daa1));}}};}_0x2b711a['enableCommand']('setTableRowHeader',(_0x4ac8fc,_0x146183)=>{const _0x4701d0=_0x5a9f5f[_0x591b('0x10')](_0x968b47[_0x591b('0x2c')][_0x591b('0xe')]['selection']),_0x3368ac=_0x5a9f5f[_0x591b('0x41')](_0x4701d0),_0x50bd54=_0x4701d0[0x0][_0x591b('0x44')](_0x591b('0x2b')),_0x44cdc2=_0x50bd54[_0x591b('0x1f')](_0x591b('0x2f'))||0x0,_0x1e0e40=_0x146183&&null!==_0x146183['forceValue']?_0x146183['forceValue']:!_0x968b47[_0x591b('0x6')][_0x591b('0x16')](_0x591b('0xa'))[_0x591b('0x27')],_0xb0465f=_0x1e0e40?_0x3368ac[_0x591b('0x3a')]:_0x3368ac[_0x591b('0x46')],_0x3d7b8b=_0x50bd54[_0x591b('0x1d')](_0xb0465f);let _0x3d790d;if(_0x1e0e40){const _0x4b57b4=_0x50bd54[_0x591b('0x1d')](_0x44cdc2);if(_0x3d7b8b[_0x591b('0x4')]<_0x4b57b4[_0x591b('0x4')])return;_0x3d790d=_0x968b47['model'][_0x591b('0x4a')](_0x968b47[_0x591b('0x2c')][_0x591b('0x21')](_0x4b57b4['getChild'](0x0)),_0x968b47[_0x591b('0x2c')][_0x591b('0x4d')](_0x3d7b8b[_0x591b('0x1d')](_0x3d7b8b[_0x591b('0x38')]-0x1)));}else{const _0x1e6256=_0x50bd54[_0x591b('0x1d')](_0x44cdc2-0x1);if(!_0x1e6256)return;_0x3d790d=_0x968b47[_0x591b('0x2c')][_0x591b('0x4a')](_0x968b47[_0x591b('0x2c')][_0x591b('0x21')](_0x3d7b8b[_0x591b('0x1d')](0x0)),_0x968b47['model'][_0x591b('0x4d')](_0x1e6256[_0x591b('0x1d')](_0x1e6256['childCount']-0x1)));}_0x968b47['model']['change'](()=>{_0x2b711a[_0x591b('0x35')](_0x3d790d,{'commandName':_0x591b('0xa'),'commandParams':[{'forceValue':_0x1e0e40}]},[],_0x591b('0xa'));});}),_0x2b711a['enableCommand']('setTableColumnHeader',(_0x27b0ac,_0x262e7b)=>{const _0x4b8dd6=_0x968b47[_0x591b('0x29')][_0x591b('0x16')](_0x591b('0x1')),_0x5c8209=_0x4b8dd6['getSelectionAffectedTableCells'](_0x968b47['model'][_0x591b('0xe')]['selection']),_0x45a0ad=_0x4b8dd6[_0x591b('0x37')](_0x5c8209),_0xe7f88f=_0x5c8209[0x0][_0x591b('0x44')](_0x591b('0x2b')),_0x3b9088=_0xe7f88f[_0x591b('0x1f')](_0x591b('0xf'))||0x0,_0x1d4503=_0x262e7b&&null!==_0x262e7b['forceValue']?_0x262e7b[_0x591b('0x1e')]:!_0x968b47['commands']['get'](_0x591b('0x31'))[_0x591b('0x27')];let _0x5011dc;const _0x2fabb4=_0xe7f88f['getChild'](0x0),_0x59eb24=_0x1d4503?_0x45a0ad[_0x591b('0x3a')]:_0x45a0ad[_0x591b('0x46')],_0x15590a=_0x4b8dd6[_0x591b('0x12')](_0xe7f88f,{'startRow':0x0,'column':_0x59eb24,'includeAllSlots':!0x1}),_0x1ebc3e=Array[_0x591b('0x26')](_0x15590a)[0x0][_0x591b('0x22')];if(_0x1d4503){const _0x3149e8=_0x2fabb4[_0x591b('0x1d')](_0x3b9088);if(_0x1ebc3e[_0x591b('0x7')](_0x3149e8))return;_0x5011dc=_0x968b47[_0x591b('0x2c')]['createRange'](_0x968b47[_0x591b('0x2c')][_0x591b('0x21')](_0x3149e8),_0x968b47[_0x591b('0x2c')][_0x591b('0x4d')](_0x1ebc3e));}else{const _0x5daaef=_0x2fabb4['getChild'](_0x3b9088-0x1);if(!_0x5daaef)return;_0x5011dc=_0x968b47[_0x591b('0x2c')][_0x591b('0x4a')](_0x968b47[_0x591b('0x2c')][_0x591b('0x21')](_0x1ebc3e),_0x968b47[_0x591b('0x2c')][_0x591b('0x4d')](_0x5daaef));}_0x968b47[_0x591b('0x2c')][_0x591b('0x36')](()=>{_0x2b711a['markBlockFormat'](_0x5011dc,{'commandName':_0x591b('0x31'),'commandParams':[{'forceValue':_0x1d4503}]},[],_0x591b('0x31'));});}),_0x968b47[_0x591b('0xb')][_0x591b('0x14')]['on']('addMarker:suggestion',_0x420d44(),{'priority':_0x591b('0x13')}),_0x968b47[_0x591b('0x1a')][_0x591b('0x14')]['on'](_0x591b('0x43'),(_0x41409b,_0x1f6f9b,_0x96da2e)=>{_0x96da2e[_0x591b('0x2e')]['showSuggestionHighlights']&&_0x420d44({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x41409b,_0x1f6f9b,_0x96da2e);},{'priority':_0x591b('0x13')}),_0x968b47['editing']['downcastDispatcher']['on'](_0x591b('0x23'),(_0x57c56a,_0x23ac6b,_0x20a0cc)=>{const {type:_0x117f7e,id:_0x556d3f}=_0x2b711a['_splitMarkerName'](_0x23ac6b[_0x591b('0x24')]),_0x371aa3=_0x2b711a['getSuggestion'](_0x556d3f);if(!_0x371aa3['data']||_0x591b('0x31')!=_0x371aa3[_0x591b('0x1a')][_0x591b('0x3')])return;const _0x483276=_0x20a0cc['mapper'][_0x591b('0x40')](_0x23ac6b[_0x591b('0x24')]);if(_0x483276)for(const _0x2f18ab of _0x483276)_0x20a0cc['writer']['removeClass'](_0x591b('0x19')+_0x117f7e,_0x2f18ab),_0x20a0cc[_0x591b('0x32')][_0x591b('0x4c')](_0x591b('0x1b'),_0x2f18ab),_0x20a0cc[_0x591b('0x32')]['removeAttribute'](_0x591b('0x3c'),_0x2f18ab),_0x20a0cc['mapper'][_0x591b('0x1c')](_0x2f18ab,_0x23ac6b[_0x591b('0x24')]);},{'priority':_0x591b('0x13')}),_0x2b711a[_0x591b('0x3b')][_0x591b('0x34')](_0x4b0f71=>{const {data:_0x47f2a8}=_0x4b0f71;if(_0x47f2a8){if('setTableRowHeader'==_0x47f2a8[_0x591b('0x3')]){const _0x58590e=_0x47f2a8[_0x591b('0x42')][0x0]['forceValue'];return _0x41b9ec(_0x1bd412(_0x5bf7b3,_0x58590e?_0x591b('0x20'):_0x591b('0x3f')));}if(_0x591b('0x31')==_0x47f2a8[_0x591b('0x3')]){const _0x4ec018=_0x47f2a8[_0x591b('0x42')][0x0]['forceValue'];return _0x41b9ec(_0x1bd412(_0x5bf7b3,_0x4ec018?'FORMAT_HEADER_COLUMN':_0x591b('0x2a')));}}function _0x41b9ec(_0x448d98){return{'type':'format','content':_0x1bd412(_0x5bf7b3,'*Format:*\x20%0',_0x448d98)};}});const _0x5bc2bb=_0xce4f4a[_0x591b('0xd')]();_0x2b711a['_suggestionFactory'][_0x591b('0x4e')]('formatBlock',_0x591b('0xa'),_0x591b('0x5'),_0x5bc2bb),_0x2b711a[_0x591b('0x45')][_0x591b('0x4e')](_0x591b('0x0'),_0x591b('0x31'),_0x591b('0x5'),_0x5bc2bb);}}
23
+ const _0x5e8c=['showSuggestionHighlights','parent','index','enableCommand','removeAttribute','options','consumable','registerCustomCallback','table','isBefore','ck-suggestion-marker--active','formatBlock','name','item','locale','getSelectionAffectedTableCells','ck-suggestion-marker-','createTableWalker','editor','headingRows','toViewElement','first','findAncestor','removeClass','change','accept','TableEditing','model','_suggestionFactory','unbindElementFromMarkerName','end','setTableRowHeader','createRange','afterInit','nodeAfter','markerName','FORMAT_REGULAR_COLUMN','data','addMarker:suggestion','setAttribute','markBlockFormat','TableUtils','requires','value','data-suggestion','setTableColumnHeader','get','createPositionBefore','document','mapper','highest','plugins','getSuggestion','nodeBefore','forceValue','cell','TrackChangesEditing','getAttribute','addClass','commandName','*Format:*\x20%0','commands','getColumnIndexes','markerRange','createPositionAfter','registerDescriptionCallback','format','FORMAT_REGULAR_ROW','getCellLocation','headingColumns','downcastDispatcher','writer','last','editing','bindElementToMarker','getChild','_acceptFormatSuggestionCallbackFactory','_descriptionFactory','childCount','removeMarker:suggestion','selection','commandParams','has'];(function(_0x33b3ab,_0x5e8c09){const _0x57cbf0=function(_0x403b25){while(--_0x403b25){_0x33b3ab['push'](_0x33b3ab['shift']());}};_0x57cbf0(++_0x5e8c09);}(_0x5e8c,0x13d));const _0x57cb=function(_0x33b3ab,_0x5e8c09){_0x33b3ab=_0x33b3ab-0x0;let _0x57cbf0=_0x5e8c[_0x33b3ab];return _0x57cbf0;};import{Plugin as _0x51cc06}from'ckeditor5/src/core';import _0x52c776 from'./table';import{getTranslation as _0xff836e}from'../utils/common-translations';export default class pt extends _0x51cc06{static get[_0x57cb('0x39')](){return[_0x52c776];}[_0x57cb('0x30')](){const _0x5bde4e=this[_0x57cb('0x21')];if(!_0x5bde4e[_0x57cb('0x42')][_0x57cb('0xe')](_0x57cb('0x29')))return;const _0x33cd51=_0x5bde4e[_0x57cb('0x1d')],_0x37533d=_0x5bde4e[_0x57cb('0x42')][_0x57cb('0x3d')](_0x57cb('0x47')),_0x1732dd=_0x5bde4e[_0x57cb('0x42')][_0x57cb('0x3d')]('TableUtils'),_0x361e77=_0x5bde4e[_0x57cb('0x42')][_0x57cb('0x3d')](_0x52c776);function _0x28beeb({showActiveMarker:_0x4de9b4=!0x0,setDataAttribute:_0x359aca=!0x0}={}){return(_0x3056cd,_0x180a3,_0x3e65aa)=>{const {type:_0x36e666,id:_0x5dfdd1}=_0x37533d['_splitMarkerName'](_0x180a3[_0x57cb('0x32')]),_0x3dd8f0=_0x37533d[_0x57cb('0x43')](_0x5dfdd1);if(!_0x3dd8f0[_0x57cb('0x34')]||_0x57cb('0x3c')!=_0x3dd8f0[_0x57cb('0x34')][_0x57cb('0x4a')])return;if(_0x180a3[_0x57cb('0x1c')])return void _0x3056cd['stop']();if(!_0x3e65aa[_0x57cb('0x15')]['consume'](_0x180a3[_0x57cb('0x4e')],_0x3056cd[_0x57cb('0x1b')]))return;const _0x29fe96=_0x180a3['markerRange']['start'][_0x57cb('0x31')],_0x456e52=_0x180a3[_0x57cb('0x4e')][_0x57cb('0x2d')][_0x57cb('0x44')],_0x163dfa=_0x29fe96['parent'][_0x57cb('0x10')],{column:_0x484ea0}=_0x1732dd[_0x57cb('0x0')](_0x29fe96),{column:_0x57226a}=_0x1732dd['getCellLocation'](_0x456e52);for(let _0x39bf7c=_0x484ea0;_0x39bf7c<=_0x57226a;_0x39bf7c++){const _0x483de3=_0x1732dd[_0x57cb('0x20')](_0x163dfa,{'column':_0x39bf7c,'includeAllSlots':!0x1});for(const _0xe4e7bd of _0x483de3){const _0x15b42e=_0xe4e7bd['cell'],_0x5e5b82=_0x3e65aa[_0x57cb('0x40')][_0x57cb('0x23')](_0x15b42e);_0x3e65aa['writer'][_0x57cb('0x49')]('ck-suggestion-marker-'+_0x36e666,_0x5e5b82),_0x359aca&&_0x3e65aa['writer'][_0x57cb('0x36')](_0x57cb('0x3b'),_0x5dfdd1,_0x5e5b82),_0x3e65aa[_0x57cb('0x40')][_0x57cb('0x6')](_0x5e5b82,_0x180a3[_0x57cb('0x32')]),_0x4de9b4&&(_0x37533d['activeMarkers']['includes'](_0x180a3[_0x57cb('0x32')])?_0x3e65aa[_0x57cb('0x3')]['addClass']('ck-suggestion-marker--active',_0x5e5b82):_0x3e65aa['writer'][_0x57cb('0x26')]('ck-suggestion-marker--active',_0x5e5b82));}}};}_0x37533d['enableCommand'](_0x57cb('0x2e'),(_0x3084ed,_0x382193)=>{const _0x51b570=_0x1732dd[_0x57cb('0x1e')](_0x5bde4e['model'][_0x57cb('0x3f')][_0x57cb('0xc')]),_0x1fb550=_0x1732dd['getRowIndexes'](_0x51b570),_0x36eddd=_0x51b570[0x0][_0x57cb('0x25')](_0x57cb('0x17')),_0xb1a59b=_0x36eddd['getAttribute'](_0x57cb('0x22'))||0x0,_0x1a9027=_0x382193&&null!==_0x382193[_0x57cb('0x45')]?_0x382193[_0x57cb('0x45')]:!_0x5bde4e[_0x57cb('0x4c')][_0x57cb('0x3d')](_0x57cb('0x2e'))[_0x57cb('0x3a')],_0x4d747e=_0x1a9027?_0x1fb550[_0x57cb('0x4')]:_0x1fb550[_0x57cb('0x24')],_0x4b876e=_0x36eddd[_0x57cb('0x7')](_0x4d747e);let _0x30f96e;if(_0x1a9027){const _0x3913a7=_0x36eddd[_0x57cb('0x7')](_0xb1a59b);if(_0x4b876e[_0x57cb('0x11')]<_0x3913a7['index'])return;_0x30f96e=_0x5bde4e['model'][_0x57cb('0x2f')](_0x5bde4e[_0x57cb('0x2a')][_0x57cb('0x3e')](_0x3913a7['getChild'](0x0)),_0x5bde4e[_0x57cb('0x2a')][_0x57cb('0x4f')](_0x4b876e[_0x57cb('0x7')](_0x4b876e['childCount']-0x1)));}else{const _0x5851cd=_0x36eddd['getChild'](_0xb1a59b-0x1);if(!_0x5851cd)return;_0x30f96e=_0x5bde4e['model'][_0x57cb('0x2f')](_0x5bde4e['model'][_0x57cb('0x3e')](_0x4b876e['getChild'](0x0)),_0x5bde4e[_0x57cb('0x2a')][_0x57cb('0x4f')](_0x5851cd[_0x57cb('0x7')](_0x5851cd[_0x57cb('0xa')]-0x1)));}_0x5bde4e[_0x57cb('0x2a')]['change'](()=>{_0x37533d[_0x57cb('0x37')](_0x30f96e,{'commandName':_0x57cb('0x2e'),'commandParams':[{'forceValue':_0x1a9027}]},[],_0x57cb('0x2e'));});}),_0x37533d[_0x57cb('0x12')]('setTableColumnHeader',(_0xe255b1,_0x42c6fd)=>{const _0x43c8f0=_0x5bde4e[_0x57cb('0x42')][_0x57cb('0x3d')](_0x57cb('0x38')),_0x47cf45=_0x43c8f0['getSelectionAffectedTableCells'](_0x5bde4e[_0x57cb('0x2a')]['document']['selection']),_0x348fd4=_0x43c8f0[_0x57cb('0x4d')](_0x47cf45),_0x20b5cf=_0x47cf45[0x0]['findAncestor'](_0x57cb('0x17')),_0x28c6b6=_0x20b5cf[_0x57cb('0x48')](_0x57cb('0x1'))||0x0,_0x371c45=_0x42c6fd&&null!==_0x42c6fd['forceValue']?_0x42c6fd[_0x57cb('0x45')]:!_0x5bde4e[_0x57cb('0x4c')][_0x57cb('0x3d')]('setTableColumnHeader')['value'];let _0x16f872;const _0x40627d=_0x20b5cf[_0x57cb('0x7')](0x0),_0x1a3586=_0x371c45?_0x348fd4['last']:_0x348fd4[_0x57cb('0x24')],_0x35221e=_0x43c8f0[_0x57cb('0x20')](_0x20b5cf,{'startRow':0x0,'column':_0x1a3586,'includeAllSlots':!0x1}),_0x4612d2=Array['from'](_0x35221e)[0x0][_0x57cb('0x46')];if(_0x371c45){const _0x3c0327=_0x40627d['getChild'](_0x28c6b6);if(_0x4612d2[_0x57cb('0x18')](_0x3c0327))return;_0x16f872=_0x5bde4e[_0x57cb('0x2a')][_0x57cb('0x2f')](_0x5bde4e[_0x57cb('0x2a')]['createPositionBefore'](_0x3c0327),_0x5bde4e[_0x57cb('0x2a')]['createPositionAfter'](_0x4612d2));}else{const _0x382343=_0x40627d['getChild'](_0x28c6b6-0x1);if(!_0x382343)return;_0x16f872=_0x5bde4e[_0x57cb('0x2a')][_0x57cb('0x2f')](_0x5bde4e['model'][_0x57cb('0x3e')](_0x4612d2),_0x5bde4e['model'][_0x57cb('0x4f')](_0x382343));}_0x5bde4e[_0x57cb('0x2a')][_0x57cb('0x27')](()=>{_0x37533d[_0x57cb('0x37')](_0x16f872,{'commandName':_0x57cb('0x3c'),'commandParams':[{'forceValue':_0x371c45}]},[],_0x57cb('0x3c'));});}),_0x5bde4e['editing'][_0x57cb('0x2')]['on'](_0x57cb('0x35'),_0x28beeb(),{'priority':_0x57cb('0x41')}),_0x5bde4e[_0x57cb('0x34')][_0x57cb('0x2')]['on'](_0x57cb('0x35'),(_0x4a46e3,_0x5ad551,_0x2cd5f1)=>{_0x2cd5f1[_0x57cb('0x14')][_0x57cb('0xf')]&&_0x28beeb({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x4a46e3,_0x5ad551,_0x2cd5f1);},{'priority':_0x57cb('0x41')}),_0x5bde4e[_0x57cb('0x5')][_0x57cb('0x2')]['on'](_0x57cb('0xb'),(_0x1aa39d,_0x4a7bfe,_0x4d5d25)=>{const {type:_0x90c17,id:_0x99ed73}=_0x37533d['_splitMarkerName'](_0x4a7bfe[_0x57cb('0x32')]),_0x253c97=_0x37533d[_0x57cb('0x43')](_0x99ed73);if(!_0x253c97['data']||'setTableColumnHeader'!=_0x253c97[_0x57cb('0x34')][_0x57cb('0x4a')])return;const _0x16d612=_0x4d5d25[_0x57cb('0x40')]['markerNameToElements'](_0x4a7bfe[_0x57cb('0x32')]);if(_0x16d612)for(const _0x1b2681 of _0x16d612)_0x4d5d25[_0x57cb('0x3')]['removeClass'](_0x57cb('0x1f')+_0x90c17,_0x1b2681),_0x4d5d25[_0x57cb('0x3')][_0x57cb('0x26')](_0x57cb('0x19'),_0x1b2681),_0x4d5d25[_0x57cb('0x3')][_0x57cb('0x13')](_0x57cb('0x3b'),_0x1b2681),_0x4d5d25[_0x57cb('0x40')][_0x57cb('0x2c')](_0x1b2681,_0x4a7bfe[_0x57cb('0x32')]);},{'priority':_0x57cb('0x41')}),_0x37533d[_0x57cb('0x9')][_0x57cb('0x50')](_0x306944=>{const {data:_0x37d086}=_0x306944;if(_0x37d086){if(_0x57cb('0x2e')==_0x37d086[_0x57cb('0x4a')]){const _0x27d298=_0x37d086[_0x57cb('0xd')][0x0][_0x57cb('0x45')];return _0x5bbe72(_0xff836e(_0x33cd51,_0x27d298?'FORMAT_HEADER_ROW':_0x57cb('0x52')));}if(_0x57cb('0x3c')==_0x37d086['commandName']){const _0x4aee06=_0x37d086['commandParams'][0x0]['forceValue'];return _0x5bbe72(_0xff836e(_0x33cd51,_0x4aee06?'FORMAT_HEADER_COLUMN':_0x57cb('0x33')));}}function _0x5bbe72(_0xad6c5d){return{'type':_0x57cb('0x51'),'content':_0xff836e(_0x33cd51,_0x57cb('0x4b'),_0xad6c5d)};}});const _0x4eb16a=_0x361e77[_0x57cb('0x8')]();_0x37533d[_0x57cb('0x2b')][_0x57cb('0x16')](_0x57cb('0x1a'),'setTableRowHeader',_0x57cb('0x28'),_0x4eb16a),_0x37533d[_0x57cb('0x2b')]['registerCustomCallback'](_0x57cb('0x1a'),'setTableColumnHeader','accept',_0x4eb16a);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x45fe=['table','type','*Merge\x20cells*','registerDescriptionCallback','value','selection','TableUtils','has','containsRange','get','execute','map','editor','change','horizontally','forceDefaultExecution','registerCustomCallback','_descriptionFactory','element','TrackChangesEditing','document','size','getAncestors','createTableWalker','mergeTableCellUp','tableCell','getSuggestions','from','cell','set:isEnabled','splitTableCellVertically','model','mergeTableCellDown','setSelection','mergeTableCells','author','find','length','markBlockFormat','enableCommand','accept','markMultiRangeBlockFormat','locale','detach','requires','subType','mergeTableCellRight','formatBlock','splitTableCellHorizontally','refresh','insertion','getFirstPosition','_isForcedDefaultExecutionBlock','_suggestionFactory','TableEditing','isEnabled','root','$graveyard','getCellLocation','commands','mergeTableCellLeft','format','rootName','direction','_areMergableCells','_areSelectedCellsMergable','findAncestor','stop','_tablePostFixingSubtypes','commandName','plugins','fromRange','highest','getSelectionAffectedTableCells'];(function(_0x1295b7,_0x45fe24){const _0x5029d5=function(_0x63d213){while(--_0x63d213){_0x1295b7['push'](_0x1295b7['shift']());}};_0x5029d5(++_0x45fe24);}(_0x45fe,0xb2));const _0x5029=function(_0x1295b7,_0x45fe24){_0x1295b7=_0x1295b7-0x0;let _0x5029d5=_0x45fe[_0x1295b7];return _0x5029d5;};import{Plugin as _0x29f9d5}from'ckeditor5/src/core';import _0x579ca8 from'./table';import{LiveRange as _0x15a9e2}from'ckeditor5/src/engine';import{getTranslation as _0x1513f8}from'../utils/common-translations';export default class dt extends _0x29f9d5{static get[_0x5029('0xe')](){return[_0x579ca8];}['afterInit'](){const _0x5a5ba0=this[_0x5029('0x38')],_0x14508d=_0x5a5ba0[_0x5029('0x1')][_0x5029('0x40')][_0x5029('0x31')],_0x47c6f0=_0x5a5ba0[_0x5029('0xc')];if(!_0x5a5ba0['plugins']['has'](_0x5029('0x18')))return;const _0x4cacf7=_0x5a5ba0[_0x5029('0x28')][_0x5029('0x35')](_0x5029('0x3f')),_0x41f817=_0x5a5ba0['plugins'][_0x5029('0x35')](_0x5029('0x32')),_0x1ba5cf=_0x5a5ba0[_0x5029('0x28')][_0x5029('0x35')](_0x579ca8);_0x1ba5cf[_0x5029('0x26')]['push'](_0x5029('0x4')),_0x4cacf7[_0x5029('0x9')]('mergeTableCells',()=>{const _0x1affbd=_0x41f817['getSelectionAffectedTableCells'](_0x5a5ba0[_0x5029('0x1')][_0x5029('0x40')][_0x5029('0x31')]);_0x5a5ba0[_0x5029('0x1')][_0x5029('0x39')](()=>{_0x4cacf7[_0x5029('0xb')](_0x1affbd,{'commandName':'mergeTableCells','commandParams':[]},[],_0x5029('0x4'));});}),_0x5a5ba0['commands']['get'](_0x5029('0x4'))['on'](_0x5029('0x36'),(_0x226b5c,_0xbe6d45)=>{_0x5a5ba0[_0x5029('0x1d')][_0x5029('0x35')]('trackChanges')['value']&&(_0xbe6d45[_0x5029('0x7')]>0x0&&_0xbe6d45[_0xbe6d45['length']-0x1]&&_0xbe6d45[_0xbe6d45[_0x5029('0x7')]-0x1][_0x5029('0x3b')]||_0x4cacf7[_0x5029('0x16')]||this[_0x5029('0x23')]()||_0x226b5c[_0x5029('0x25')]());},{'priority':_0x5029('0x2a')});for(const _0x2847e3 of[_0x5029('0x44'),_0x5029('0x10'),_0x5029('0x2'),_0x5029('0x1e')]){const _0x4bcac2=_0x5a5ba0['commands'][_0x5029('0x35')](_0x2847e3);_0x4cacf7[_0x5029('0x9')](_0x2847e3,()=>{const _0x948c60=_0x5a5ba0[_0x5029('0x1')][_0x5029('0x40')][_0x5029('0x31')][_0x5029('0x15')]()[_0x5029('0x42')]()[_0x5029('0x6')](_0x36ec5e=>_0x36ec5e['is'](_0x5029('0x3e'),'tableCell')),_0x2f6319=_0x4bcac2[_0x5029('0x30')];_0x5a5ba0[_0x5029('0x1')][_0x5029('0x39')](()=>{_0x4cacf7[_0x5029('0xb')]([_0x948c60,_0x2f6319],{'commandName':_0x5029('0x4'),'commandParams':[]},[],'mergeTableCells');});});}for(const _0x269cca of['splitTableCellVertically',_0x5029('0x12')]){const _0x2a8e95=_0x5a5ba0['commands'][_0x5029('0x35')](_0x269cca);_0x4cacf7[_0x5029('0x9')](_0x269cca,()=>{const _0xdcd1b9=_0x41f817['getSelectionAffectedTableCells'](_0x5a5ba0[_0x5029('0x1')][_0x5029('0x40')][_0x5029('0x31')])[0x0],_0x382016=_0xdcd1b9[_0x5029('0x24')](_0x5029('0x2c')),{column:_0x7e0009,row:_0x54732b}=_0x41f817[_0x5029('0x1c')](_0xdcd1b9);let _0x40f5b3=[];if(_0x5029('0x3a')==_0x2a8e95[_0x5029('0x21')]){const _0x536fe4=_0x41f817['createTableWalker'](_0x382016,{'startRow':_0x54732b,'endRow':_0x54732b,'includeAllSlots':!0x0});_0x40f5b3=Array['from'](_0x536fe4)[_0x5029('0x37')](_0x582cd3=>_0x582cd3[_0x5029('0x48')]);}else{const _0xe70bb8=_0x41f817[_0x5029('0x43')](_0x382016,{'column':_0x7e0009,'includeAllSlots':!0x0});_0x40f5b3=Array['from'](_0xe70bb8)[_0x5029('0x37')](_0x219873=>_0x219873[_0x5029('0x48')]);}_0x5a5ba0['model']['change'](_0x29bfe8=>{_0x4cacf7[_0x5029('0x8')](_0x29bfe8['createRangeOn'](_0xdcd1b9),{'commandName':_0x269cca,'commandParams':[]},_0x40f5b3,_0x269cca);});});}_0x4cacf7[_0x5029('0x3d')]['registerDescriptionCallback'](_0x82fd21=>{const {data:_0x5e413b}=_0x82fd21;if(_0x5e413b)return _0x5029('0x4')==_0x5e413b[_0x5029('0x27')]?{'type':_0x5029('0x1f'),'content':_0x1513f8(_0x47c6f0,_0x5029('0x2e'))}:void 0x0;}),_0x4cacf7[_0x5029('0x3d')][_0x5029('0x2f')](_0xd2dea6=>{const {data:_0x4fbe74}=_0xd2dea6;if(_0x4fbe74)return _0x5029('0x0')==_0x4fbe74['commandName']?{'type':_0x5029('0x1f'),'content':_0x1513f8(_0x47c6f0,'*Split\x20cell:*\x20vertically')}:'splitTableCellHorizontally'==_0x4fbe74['commandName']?{'type':_0x5029('0x1f'),'content':_0x1513f8(_0x47c6f0,'*Split\x20cell:*\x20horizontally')}:void 0x0;});const _0x161a91=_0x1ba5cf['_acceptFormatSuggestionCallbackFactory']();for(const _0x1c8206 of[_0x5029('0x44'),'mergeTableCellRight',_0x5029('0x2'),_0x5029('0x1e')])_0x4cacf7[_0x5029('0x17')]['registerCustomCallback'](_0x5029('0x11'),_0x1c8206,_0x5029('0xa'),_0x161a91);for(const _0x59ef8f of[_0x5029('0x0'),_0x5029('0x12')])_0x4cacf7[_0x5029('0x17')][_0x5029('0x3c')]('formatBlock',_0x59ef8f,_0x5029('0xa'),_0x161a91);_0x4cacf7[_0x5029('0x17')][_0x5029('0x3c')](_0x5029('0x11'),_0x5029('0x4'),_0x5029('0xa'),_0x13d765=>{_0x5a5ba0['model'][_0x5029('0x39')](_0x7f408f=>{const _0x58dc79=Array[_0x5029('0x47')](_0x14508d['getRanges']())['map'](_0x33f72a=>_0x15a9e2[_0x5029('0x29')](_0x33f72a));_0x7f408f['setSelection'](_0x13d765),_0x5a5ba0[_0x5029('0x1d')][_0x5029('0x35')](_0x5029('0x4'))[_0x5029('0x13')](),_0x5a5ba0['execute'](_0x5029('0x4'),{'forceDefaultExecution':!0x0});const _0x40a4aa=_0x58dc79['filter'](_0x1a314b=>_0x5029('0x1b')!=_0x1a314b[_0x5029('0x1a')][_0x5029('0x20')]);_0x40a4aa[_0x5029('0x7')]>0x0&&_0x7f408f[_0x5029('0x3')](_0x40a4aa);for(const _0x24c095 of _0x58dc79)_0x24c095[_0x5029('0xd')]();});});for(const _0x535005 of[_0x5029('0x44'),_0x5029('0x2'),'mergeTableCellLeft',_0x5029('0x10')]){const _0x1b3955=_0x5a5ba0[_0x5029('0x1d')][_0x5029('0x35')](_0x535005);_0x1b3955['on'](_0x5029('0x49'),(_0xb558f1,_0x3a2e9a,_0xc0584f)=>{if(_0xc0584f){const _0x49ff04=_0x5a5ba0['model']['document']['selection'][_0x5029('0x15')]()[_0x5029('0x42')]()[_0x5029('0x6')](_0x3ad0a0=>_0x3ad0a0['is'](_0x5029('0x3e'),_0x5029('0x45')));this['_areMergableCells'](_0x1b3955[_0x5029('0x30')],_0x49ff04)||(_0xb558f1['return']=!0x1,_0xb558f1[_0x5029('0x25')]());}},{'priority':'low'});}}['_areSelectedCellsMergable'](){const _0x3f12e7=this[_0x5029('0x38')][_0x5029('0x1d')][_0x5029('0x35')]('mergeTableCells'),_0x251384=this[_0x5029('0x38')][_0x5029('0x28')][_0x5029('0x35')](_0x5029('0x32'));if(!_0x3f12e7[_0x5029('0x19')])return!0x1;const _0x50cee5=_0x251384[_0x5029('0x2b')](this[_0x5029('0x38')][_0x5029('0x1')]['document'][_0x5029('0x31')]);for(const _0x3670e2 of _0x50cee5)for(const _0x40f8e5 of _0x50cee5)if(_0x3670e2!=_0x40f8e5&&!this['_areMergableCells'](_0x3670e2,_0x40f8e5))return!0x1;return!0x0;}[_0x5029('0x22')](_0x5ebc79,_0x719e84){const _0x49a051=this[_0x5029('0x38')][_0x5029('0x28')][_0x5029('0x35')](_0x5029('0x3f')),_0x416c73=this[_0x5029('0x38')][_0x5029('0x1')]['createRangeOn'](_0x5ebc79),_0x283f9e=this['editor']['model']['createRangeOn'](_0x719e84),_0x2b2dad=new Set(),_0x285224=new Set();for(const _0x27c3eb of _0x49a051[_0x5029('0x46')]())if((_0x5029('0x14')==_0x27c3eb[_0x5029('0x2d')]||'deletion'==_0x27c3eb[_0x5029('0x2d')]||_0x5029('0x4')==_0x27c3eb[_0x5029('0xf')])&&_0x27c3eb['isInContent'])for(const _0x197582 of _0x27c3eb['getRanges']())_0x197582['containsRange'](_0x416c73,!0x0)&&_0x2b2dad['add'](_0x27c3eb[_0x5029('0x2d')]+':'+_0x27c3eb['author']['id']),_0x197582[_0x5029('0x34')](_0x283f9e,!0x0)&&_0x285224['add'](_0x27c3eb['type']+':'+_0x27c3eb[_0x5029('0x5')]['id']);if(_0x2b2dad[_0x5029('0x41')]!=_0x285224[_0x5029('0x41')])return!0x1;for(const _0x18bbe3 of _0x2b2dad)if(!_0x285224[_0x5029('0x33')](_0x18bbe3))return!0x1;return!0x0;}}
23
+ const _0x1b34=['TableUtils','low','plugins','find','value','map','setSelection','formatBlock','getSuggestions','markMultiRangeBlockFormat','detach','model','registerCustomCallback','getFirstPosition','locale','type','splitTableCellVertically','_acceptFormatSuggestionCallbackFactory','has','return','document','fromRange','mergeTableCellLeft','enableCommand','getSelectionAffectedTableCells','stop','commands','horizontally','highest','accept','from','format','trackChanges','cell','$graveyard','forceDefaultExecution','tableCell','mergeTableCellDown','length','table','mergeTableCellRight','add','splitTableCellHorizontally','_isForcedDefaultExecutionBlock','registerDescriptionCallback','_descriptionFactory','get','direction','refresh','editor','mergeTableCells','TrackChangesEditing','commandName','markBlockFormat','author','selection','_areSelectedCellsMergable','subType','_areMergableCells','*Merge\x20cells*','createTableWalker','size','insertion','*Split\x20cell:*\x20vertically','getAncestors','getCellLocation','filter','afterInit','element','TableEditing','_suggestionFactory','mergeTableCellUp','createRangeOn','change','isEnabled'];(function(_0xfe2f5d,_0x1b3476){const _0x44f784=function(_0x1b2bea){while(--_0x1b2bea){_0xfe2f5d['push'](_0xfe2f5d['shift']());}};_0x44f784(++_0x1b3476);}(_0x1b34,0xa6));const _0x44f7=function(_0xfe2f5d,_0x1b3476){_0xfe2f5d=_0xfe2f5d-0x0;let _0x44f784=_0x1b34[_0xfe2f5d];return _0x44f784;};import{Plugin as _0x180175}from'ckeditor5/src/core';import _0x3f35de from'./table';import{LiveRange as _0x39c6e2}from'ckeditor5/src/engine';import{getTranslation as _0x17fc6f}from'../utils/common-translations';export default class dt extends _0x180175{static get['requires'](){return[_0x3f35de];}[_0x44f7('0x33')](){const _0x47050d=this[_0x44f7('0x21')],_0x1d9fed=_0x47050d[_0x44f7('0x46')][_0x44f7('0x4')][_0x44f7('0x27')],_0x111f31=_0x47050d[_0x44f7('0x49')];if(!_0x47050d[_0x44f7('0x3d')]['has'](_0x44f7('0x35')))return;const _0x4d48ea=_0x47050d[_0x44f7('0x3d')][_0x44f7('0x1e')](_0x44f7('0x23')),_0x462b9a=_0x47050d[_0x44f7('0x3d')]['get'](_0x44f7('0x3b')),_0x4323d9=_0x47050d['plugins'][_0x44f7('0x1e')](_0x3f35de);_0x4323d9['_tablePostFixingSubtypes']['push']('mergeTableCells'),_0x4d48ea[_0x44f7('0x7')]('mergeTableCells',()=>{const _0x3ba4f9=_0x462b9a[_0x44f7('0x8')](_0x47050d[_0x44f7('0x46')][_0x44f7('0x4')][_0x44f7('0x27')]);_0x47050d[_0x44f7('0x46')][_0x44f7('0x39')](()=>{_0x4d48ea[_0x44f7('0x44')](_0x3ba4f9,{'commandName':_0x44f7('0x22'),'commandParams':[]},[],_0x44f7('0x22'));});}),_0x47050d[_0x44f7('0xa')]['get'](_0x44f7('0x22'))['on']('execute',(_0x5ae062,_0x435fc8)=>{_0x47050d[_0x44f7('0xa')][_0x44f7('0x1e')](_0x44f7('0x10'))[_0x44f7('0x3f')]&&(_0x435fc8[_0x44f7('0x16')]>0x0&&_0x435fc8[_0x435fc8[_0x44f7('0x16')]-0x1]&&_0x435fc8[_0x435fc8['length']-0x1][_0x44f7('0x13')]||_0x4d48ea[_0x44f7('0x1b')]||this['_areSelectedCellsMergable']()||_0x5ae062[_0x44f7('0x9')]());},{'priority':_0x44f7('0xc')});for(const _0x35cbe5 of['mergeTableCellUp',_0x44f7('0x18'),_0x44f7('0x15'),_0x44f7('0x6')]){const _0x2612e5=_0x47050d['commands'][_0x44f7('0x1e')](_0x35cbe5);_0x4d48ea[_0x44f7('0x7')](_0x35cbe5,()=>{const _0x39f0c3=_0x47050d[_0x44f7('0x46')]['document'][_0x44f7('0x27')][_0x44f7('0x48')]()['getAncestors']()['find'](_0x1de2b6=>_0x1de2b6['is'](_0x44f7('0x34'),_0x44f7('0x14'))),_0x2081bb=_0x2612e5[_0x44f7('0x3f')];_0x47050d[_0x44f7('0x46')][_0x44f7('0x39')](()=>{_0x4d48ea[_0x44f7('0x44')]([_0x39f0c3,_0x2081bb],{'commandName':_0x44f7('0x22'),'commandParams':[]},[],_0x44f7('0x22'));});});}for(const _0x13138f of['splitTableCellVertically',_0x44f7('0x1a')]){const _0x1e177c=_0x47050d['commands']['get'](_0x13138f);_0x4d48ea['enableCommand'](_0x13138f,()=>{const _0x4321df=_0x462b9a[_0x44f7('0x8')](_0x47050d[_0x44f7('0x46')][_0x44f7('0x4')][_0x44f7('0x27')])[0x0],_0x1d2a9c=_0x4321df['findAncestor'](_0x44f7('0x17')),{column:_0x569db7,row:_0x3125f3}=_0x462b9a[_0x44f7('0x31')](_0x4321df);let _0x5e5114=[];if(_0x44f7('0xb')==_0x1e177c[_0x44f7('0x1f')]){const _0x4459f7=_0x462b9a['createTableWalker'](_0x1d2a9c,{'startRow':_0x3125f3,'endRow':_0x3125f3,'includeAllSlots':!0x0});_0x5e5114=Array[_0x44f7('0xe')](_0x4459f7)[_0x44f7('0x40')](_0x2b709c=>_0x2b709c[_0x44f7('0x11')]);}else{const _0x1c7f2e=_0x462b9a[_0x44f7('0x2c')](_0x1d2a9c,{'column':_0x569db7,'includeAllSlots':!0x0});_0x5e5114=Array[_0x44f7('0xe')](_0x1c7f2e)[_0x44f7('0x40')](_0x51e100=>_0x51e100[_0x44f7('0x11')]);}_0x47050d['model'][_0x44f7('0x39')](_0x23f342=>{_0x4d48ea[_0x44f7('0x25')](_0x23f342[_0x44f7('0x38')](_0x4321df),{'commandName':_0x13138f,'commandParams':[]},_0x5e5114,_0x13138f);});});}_0x4d48ea[_0x44f7('0x1d')][_0x44f7('0x1c')](_0x434e51=>{const {data:_0x4a4411}=_0x434e51;if(_0x4a4411)return'mergeTableCells'==_0x4a4411[_0x44f7('0x24')]?{'type':_0x44f7('0xf'),'content':_0x17fc6f(_0x111f31,_0x44f7('0x2b'))}:void 0x0;}),_0x4d48ea[_0x44f7('0x1d')]['registerDescriptionCallback'](_0x453336=>{const {data:_0x44e3b8}=_0x453336;if(_0x44e3b8)return _0x44f7('0x0')==_0x44e3b8[_0x44f7('0x24')]?{'type':'format','content':_0x17fc6f(_0x111f31,_0x44f7('0x2f'))}:'splitTableCellHorizontally'==_0x44e3b8['commandName']?{'type':_0x44f7('0xf'),'content':_0x17fc6f(_0x111f31,'*Split\x20cell:*\x20horizontally')}:void 0x0;});const _0x23478d=_0x4323d9[_0x44f7('0x1')]();for(const _0x43f825 of[_0x44f7('0x37'),'mergeTableCellRight',_0x44f7('0x15'),_0x44f7('0x6')])_0x4d48ea[_0x44f7('0x36')]['registerCustomCallback']('formatBlock',_0x43f825,_0x44f7('0xd'),_0x23478d);for(const _0x4cff98 of['splitTableCellVertically',_0x44f7('0x1a')])_0x4d48ea[_0x44f7('0x36')]['registerCustomCallback']('formatBlock',_0x4cff98,'accept',_0x23478d);_0x4d48ea[_0x44f7('0x36')][_0x44f7('0x47')](_0x44f7('0x42'),_0x44f7('0x22'),_0x44f7('0xd'),_0x2f038f=>{_0x47050d[_0x44f7('0x46')][_0x44f7('0x39')](_0x523cc9=>{const _0x171a3e=Array[_0x44f7('0xe')](_0x1d9fed['getRanges']())[_0x44f7('0x40')](_0x18d5fd=>_0x39c6e2[_0x44f7('0x5')](_0x18d5fd));_0x523cc9[_0x44f7('0x41')](_0x2f038f),_0x47050d[_0x44f7('0xa')][_0x44f7('0x1e')](_0x44f7('0x22'))[_0x44f7('0x20')](),_0x47050d['execute'](_0x44f7('0x22'),{'forceDefaultExecution':!0x0});const _0x473ae0=_0x171a3e[_0x44f7('0x32')](_0x2ef3d2=>_0x44f7('0x12')!=_0x2ef3d2['root']['rootName']);_0x473ae0[_0x44f7('0x16')]>0x0&&_0x523cc9[_0x44f7('0x41')](_0x473ae0);for(const _0x30bf7b of _0x171a3e)_0x30bf7b[_0x44f7('0x45')]();});});for(const _0x5a8d17 of[_0x44f7('0x37'),_0x44f7('0x15'),_0x44f7('0x6'),_0x44f7('0x18')]){const _0x32214a=_0x47050d['commands'][_0x44f7('0x1e')](_0x5a8d17);_0x32214a['on']('set:isEnabled',(_0x57a0d7,_0x144a84,_0x1d6fd9)=>{if(_0x1d6fd9){const _0x98f469=_0x47050d[_0x44f7('0x46')][_0x44f7('0x4')]['selection'][_0x44f7('0x48')]()[_0x44f7('0x30')]()[_0x44f7('0x3e')](_0x3269a3=>_0x3269a3['is'](_0x44f7('0x34'),_0x44f7('0x14')));this[_0x44f7('0x2a')](_0x32214a[_0x44f7('0x3f')],_0x98f469)||(_0x57a0d7[_0x44f7('0x3')]=!0x1,_0x57a0d7[_0x44f7('0x9')]());}},{'priority':_0x44f7('0x3c')});}}[_0x44f7('0x28')](){const _0x235181=this[_0x44f7('0x21')][_0x44f7('0xa')][_0x44f7('0x1e')]('mergeTableCells'),_0x19b172=this[_0x44f7('0x21')][_0x44f7('0x3d')][_0x44f7('0x1e')](_0x44f7('0x3b'));if(!_0x235181[_0x44f7('0x3a')])return!0x1;const _0x125419=_0x19b172[_0x44f7('0x8')](this[_0x44f7('0x21')][_0x44f7('0x46')]['document']['selection']);for(const _0x1c0ae8 of _0x125419)for(const _0x364666 of _0x125419)if(_0x1c0ae8!=_0x364666&&!this[_0x44f7('0x2a')](_0x1c0ae8,_0x364666))return!0x1;return!0x0;}[_0x44f7('0x2a')](_0x1b23c9,_0x131ca6){const _0x15cb34=this[_0x44f7('0x21')][_0x44f7('0x3d')][_0x44f7('0x1e')]('TrackChangesEditing'),_0x41da17=this['editor']['model'][_0x44f7('0x38')](_0x1b23c9),_0x4c828a=this[_0x44f7('0x21')]['model']['createRangeOn'](_0x131ca6),_0x1898f4=new Set(),_0x5ebe6d=new Set();for(const _0x3a571c of _0x15cb34[_0x44f7('0x43')]())if((_0x44f7('0x2e')==_0x3a571c[_0x44f7('0x4a')]||'deletion'==_0x3a571c['type']||_0x44f7('0x22')==_0x3a571c[_0x44f7('0x29')])&&_0x3a571c['isInContent'])for(const _0x8f20ae of _0x3a571c['getRanges']())_0x8f20ae['containsRange'](_0x41da17,!0x0)&&_0x1898f4[_0x44f7('0x19')](_0x3a571c[_0x44f7('0x4a')]+':'+_0x3a571c[_0x44f7('0x26')]['id']),_0x8f20ae['containsRange'](_0x4c828a,!0x0)&&_0x5ebe6d[_0x44f7('0x19')](_0x3a571c[_0x44f7('0x4a')]+':'+_0x3a571c[_0x44f7('0x26')]['id']);if(_0x1898f4['size']!=_0x5ebe6d[_0x44f7('0x2d')])return!0x1;for(const _0x4ba06a of _0x1898f4)if(!_0x5ebe6d[_0x44f7('0x2')](_0x4ba06a))return!0x1;return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3496=['registerElementLabel','insertTableOfContents','TrackChangesEditing','get','editor','plugins','commands','ELEMENT_TABLE_OF_CONTENTS','afterInit','tableOfContents','locale'];(function(_0x16845b,_0x349679){const _0x5bf8b=function(_0x3b9313){while(--_0x3b9313){_0x16845b['push'](_0x16845b['shift']());}};_0x5bf8b(++_0x349679);}(_0x3496,0xc2));const _0x5bf8=function(_0x16845b,_0x349679){_0x16845b=_0x16845b-0x0;let _0x5bf8b=_0x3496[_0x16845b];return _0x5bf8b;};import{Plugin as _0x3f072e}from'ckeditor5/src/core';import{getTranslation as _0x45da01}from'../utils/common-translations';export default class bt extends _0x3f072e{[_0x5bf8('0x1')](){const _0x1f34e3=this[_0x5bf8('0x8')];if(!_0x1f34e3[_0x5bf8('0xa')]['get']('insertTableOfContents'))return;_0x1f34e3['plugins'][_0x5bf8('0x7')](_0x5bf8('0x6'))['enableCommand'](_0x5bf8('0x5'));const _0x51288c=_0x1f34e3[_0x5bf8('0x9')][_0x5bf8('0x7')](_0x5bf8('0x6')),_0x78bc7f=_0x1f34e3[_0x5bf8('0x3')];_0x51288c['_descriptionFactory'][_0x5bf8('0x4')](_0x5bf8('0x2'),_0x4c8b8a=>_0x45da01(_0x78bc7f,_0x5bf8('0x0'),_0x4c8b8a));}}
23
+ const _0x16f1=['tableOfContents','commands','get','_descriptionFactory','plugins','locale','afterInit','editor','enableCommand','TrackChangesEditing','ELEMENT_TABLE_OF_CONTENTS','insertTableOfContents'];(function(_0x282036,_0x16f108){const _0x4b7ad1=function(_0x57e28e){while(--_0x57e28e){_0x282036['push'](_0x282036['shift']());}};_0x4b7ad1(++_0x16f108);}(_0x16f1,0x10c));const _0x4b7a=function(_0x282036,_0x16f108){_0x282036=_0x282036-0x0;let _0x4b7ad1=_0x16f1[_0x282036];return _0x4b7ad1;};import{Plugin as _0x3829a3}from'ckeditor5/src/core';import{getTranslation as _0x2837ef}from'../utils/common-translations';export default class bt extends _0x3829a3{[_0x4b7a('0x2')](){const _0x1955f3=this[_0x4b7a('0x3')];if(!_0x1955f3[_0x4b7a('0x9')][_0x4b7a('0xa')](_0x4b7a('0x7')))return;_0x1955f3['plugins'][_0x4b7a('0xa')]('TrackChangesEditing')[_0x4b7a('0x4')](_0x4b7a('0x7'));const _0x21ca89=_0x1955f3[_0x4b7a('0x0')][_0x4b7a('0xa')](_0x4b7a('0x5')),_0x379a94=_0x1955f3[_0x4b7a('0x1')];_0x21ca89[_0x4b7a('0xb')]['registerElementLabel'](_0x4b7a('0x8'),_0xad0a96=>_0x2837ef(_0x379a94,_0x4b7a('0x6'),_0xad0a96));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xdc2b=['join','change','registerDescriptionCallback','locale','plugins','TrackChangesEditing','tableCellWidth','getAttribute','selection','editor','*Format:*\x20change\x20table\x20cell\x20properties','enableCommand','getFirstPosition','tableBorderColor','get','table','tableCellBorderStyle','accept','tableCellVerticalAlignment','enqueueChange','formatBlock','_descriptionFactory','data','subType','_suggestionFactory','discard','tableCellBorderColor','_getSuggestion','tableAlignment','pluginName','TrackChangesTableProperties','TablePropertiesEditing','model','getSuggestionCallback','tableBorderWidth','batch','findAncestor','tableProperties','setAttribute','tableWidth','registerCustomCallback','format','tableCellProperties','handleSuggestionDescription','has','start','_handlePropertyChange','handleDiscardAction','tableCellBorderWidth','tableCellHeight','getSelectionAffectedTableCells','TableCellPropertiesEditing','tableCellPadding'];(function(_0x4455dd,_0xdc2bc6){const _0x35a8e9=function(_0x2913e4){while(--_0x2913e4){_0x4455dd['push'](_0x4455dd['shift']());}};_0x35a8e9(++_0xdc2bc6);}(_0xdc2b,0x183));const _0x35a8=function(_0x4455dd,_0xdc2bc6){_0x4455dd=_0x4455dd-0x0;let _0x35a8e9=_0xdc2b[_0x4455dd];return _0x35a8e9;};import{Plugin as _0x27358a}from'ckeditor5/src/core';import{getTranslation as _0x2f6ebb}from'../utils/common-translations';export default class Ct extends _0x27358a{constructor(_0x53989e){super(_0x53989e),this[_0x35a8('0x15')]=[_0x35a8('0x32'),'tableBorderStyle',_0x35a8('0x12'),_0x35a8('0xc'),_0x35a8('0x17'),'tableHeight','tableBackgroundColor'],this['tableCellProperties']=[_0x35a8('0xa'),_0x35a8('0x0'),_0x35a8('0x20'),_0x35a8('0x24'),_0x35a8('0x2b'),_0x35a8('0x21'),'tableCellBackgroundColor','tableCellHorizontalAlignment',_0x35a8('0x2')];}static get[_0x35a8('0xd')](){return _0x35a8('0xe');}['afterInit'](){const _0x27b4b6=this[_0x35a8('0x2e')][_0x35a8('0x29')]['get'](_0x35a8('0x2a'));if(this[_0x35a8('0x2e')]['plugins'][_0x35a8('0x1c')](_0x35a8('0xf'))){for(const _0x594a26 of this[_0x35a8('0x15')])_0x27b4b6[_0x35a8('0x30')](_0x594a26,(_0x2133c6,_0x4a7e60)=>{const _0x103c78=this[_0x35a8('0x2e')][_0x35a8('0x10')]['document'][_0x35a8('0x2d')][_0x35a8('0x31')]()[_0x35a8('0x14')](_0x35a8('0x34'));this[_0x35a8('0x1e')](_0x594a26,[_0x103c78],this[_0x35a8('0x15')],_0x35a8('0x15'),_0x2133c6,_0x4a7e60);});_0x27b4b6[_0x35a8('0x8')][_0x35a8('0x18')](_0x35a8('0x4'),_0x35a8('0x15'),_0x35a8('0x1'),_0x27b4b6[_0x35a8('0x8')][_0x35a8('0x11')]('formatBlock',null,_0x35a8('0x9'))),_0x27b4b6[_0x35a8('0x8')][_0x35a8('0x18')](_0x35a8('0x4'),_0x35a8('0x15'),_0x35a8('0x9'),(_0x2dbd04,_0x433c7d)=>this[_0x35a8('0x1f')](this[_0x35a8('0x15')],_0x2dbd04,_0x433c7d)),_0x27b4b6[_0x35a8('0x8')][_0x35a8('0x18')]('formatBlock',_0x35a8('0x15'),_0x35a8('0x25'),()=>!0x1);}if(this['editor'][_0x35a8('0x29')][_0x35a8('0x1c')](_0x35a8('0x23'))){for(const _0x41d798 of this[_0x35a8('0x1a')])_0x27b4b6[_0x35a8('0x30')](_0x41d798,(_0x36cb14,_0x526e5c)=>{const _0x13ab1d=this['editor'][_0x35a8('0x29')][_0x35a8('0x33')]('TableUtils')[_0x35a8('0x22')](this[_0x35a8('0x2e')][_0x35a8('0x10')]['document']['selection']);this[_0x35a8('0x1e')](_0x41d798,_0x13ab1d,this[_0x35a8('0x1a')],_0x35a8('0x1a'),_0x36cb14,_0x526e5c);});_0x27b4b6[_0x35a8('0x8')]['registerCustomCallback'](_0x35a8('0x4'),_0x35a8('0x1a'),_0x35a8('0x1'),_0x27b4b6[_0x35a8('0x8')][_0x35a8('0x11')](_0x35a8('0x4'),null,_0x35a8('0x9'))),_0x27b4b6[_0x35a8('0x8')][_0x35a8('0x18')](_0x35a8('0x4'),'tableCellProperties',_0x35a8('0x9'),(_0x4bbd87,_0x1d3789)=>this[_0x35a8('0x1f')](this[_0x35a8('0x1a')],_0x4bbd87,_0x1d3789)),_0x27b4b6[_0x35a8('0x8')][_0x35a8('0x18')]('formatBlock',_0x35a8('0x1a'),_0x35a8('0x25'),()=>!0x1);}_0x27b4b6[_0x35a8('0x5')][_0x35a8('0x27')](_0x1f34b3=>this[_0x35a8('0x1b')](_0x1f34b3));}['_handlePropertyChange'](_0x522da3,_0x1540ce,_0x4c163e,_0x58d396,_0x51e02b,_0x51e315){const _0x1eba8e=this[_0x35a8('0x2e')][_0x35a8('0x29')]['get']('TrackChangesEditing');this['editor'][_0x35a8('0x10')][_0x35a8('0x3')](_0x51e315[_0x35a8('0x13')],()=>{for(const _0x5c0b19 of _0x1540ce){if(this[_0x35a8('0xb')](_0x5c0b19,_0x58d396))_0x51e02b(_0x51e315);else{const _0x4cafe8={};for(const _0x3482a5 of _0x4c163e){const _0x58bbff=_0x5c0b19[_0x35a8('0x2c')](_0x3482a5);void 0x0!==_0x58bbff&&(_0x4cafe8[_0x3482a5]=_0x58bbff);}_0x51e02b(_0x51e315),_0x1eba8e['markBlockFormat'](_0x5c0b19,{'commandParams':[_0x4cafe8]},[],_0x58d396);}}});}[_0x35a8('0x1f')](_0x552470,_0x4ef150,_0x232e52){const _0x373277=_0x4ef150[0x0][_0x35a8('0x1d')]['nodeAfter'],_0x59741f=_0x232e52['commandParams'][0x0];this[_0x35a8('0x2e')][_0x35a8('0x10')][_0x35a8('0x26')](_0x13dcc5=>{for(const _0x798241 of _0x552470)void 0x0!==_0x59741f[_0x798241]?_0x13dcc5[_0x35a8('0x16')](_0x798241,_0x59741f[_0x798241],_0x373277):_0x13dcc5['removeAttribute'](_0x798241,_0x373277);});}[_0x35a8('0x1b')](_0x340465){if(_0x340465[_0x35a8('0x6')])switch(_0x340465['subType']){case _0x35a8('0x15'):return{'type':_0x35a8('0x19'),'content':_0x2f6ebb(this['editor'][_0x35a8('0x28')],'*Format:*\x20change\x20table\x20properties')};case _0x35a8('0x1a'):return{'type':_0x35a8('0x19'),'content':_0x2f6ebb(this[_0x35a8('0x2e')]['locale'],_0x35a8('0x2f'))};}}[_0x35a8('0xb')](_0x1db3de,_0x4b8015){const _0x3d8ad5=this['editor'][_0x35a8('0x29')][_0x35a8('0x33')]('TrackChangesEditing');for(const _0x22c9a7 of _0x3d8ad5['getSuggestions']({'skipNotAttached':!0x0})){const _0x1cc33f=_0x22c9a7['getContainedElement']();if(_0x22c9a7[_0x35a8('0x7')]===_0x4b8015&&_0x1cc33f===_0x1db3de)return _0x22c9a7;}return null;}}
23
+ const _0x42e5=['_descriptionFactory','enqueueChange','table','change','_suggestionFactory','registerDescriptionCallback','getSuggestionCallback','plugins','tableBorderColor','tableCellBorderWidth','get','getFirstPosition','tableCellWidth','discard','batch','tableCellBackgroundColor','document','locale','tableBorderWidth','handleSuggestionDescription','tableCellHeight','enableCommand','TrackChangesEditing','model','TablePropertiesEditing','tableWidth','tableBorderStyle','findAncestor','handleDiscardAction','accept','tableCellBorderColor','removeAttribute','_handlePropertyChange','pluginName','has','selection','getAttribute','registerCustomCallback','format','join','data','subType','tableCellProperties','getSuggestions','formatBlock','tableProperties','getSelectionAffectedTableCells','start','*Format:*\x20change\x20table\x20cell\x20properties','tableCellPadding','_getSuggestion','setAttribute','markBlockFormat','getContainedElement','editor','TableCellPropertiesEditing'];(function(_0x5380a2,_0x42e58b){const _0x1a8499=function(_0x1fca7a){while(--_0x1fca7a){_0x5380a2['push'](_0x5380a2['shift']());}};_0x1a8499(++_0x42e58b);}(_0x42e5,0x1c3));const _0x1a84=function(_0x5380a2,_0x42e58b){_0x5380a2=_0x5380a2-0x0;let _0x1a8499=_0x42e5[_0x5380a2];return _0x1a8499;};import{Plugin as _0x27861f}from'ckeditor5/src/core';import{getTranslation as _0x46a2e9}from'../utils/common-translations';export default class Ct extends _0x27861f{constructor(_0xeacb5d){super(_0xeacb5d),this[_0x1a84('0x2a')]=[_0x1a84('0x5'),_0x1a84('0x17'),_0x1a84('0xf'),'tableAlignment',_0x1a84('0x16'),'tableHeight','tableBackgroundColor'],this[_0x1a84('0x27')]=[_0x1a84('0x1b'),'tableCellBorderStyle',_0x1a84('0x6'),_0x1a84('0x2e'),_0x1a84('0x9'),_0x1a84('0x11'),_0x1a84('0xc'),'tableCellHorizontalAlignment','tableCellVerticalAlignment'];}static get[_0x1a84('0x1e')](){return'TrackChangesTableProperties';}['afterInit'](){const _0x12b1f4=this[_0x1a84('0x33')][_0x1a84('0x4')][_0x1a84('0x7')](_0x1a84('0x13'));if(this[_0x1a84('0x33')][_0x1a84('0x4')][_0x1a84('0x1f')](_0x1a84('0x15'))){for(const _0x5b89f3 of this['tableProperties'])_0x12b1f4['enableCommand'](_0x5b89f3,(_0x1af3dc,_0xc9f1cb)=>{const _0x4040f9=this[_0x1a84('0x33')][_0x1a84('0x14')][_0x1a84('0xd')]['selection'][_0x1a84('0x8')]()[_0x1a84('0x18')](_0x1a84('0x37'));this[_0x1a84('0x1d')](_0x5b89f3,[_0x4040f9],this[_0x1a84('0x2a')],'tableProperties',_0x1af3dc,_0xc9f1cb);});_0x12b1f4[_0x1a84('0x1')][_0x1a84('0x22')](_0x1a84('0x29'),_0x1a84('0x2a'),_0x1a84('0x1a'),_0x12b1f4[_0x1a84('0x1')][_0x1a84('0x3')](_0x1a84('0x29'),null,_0x1a84('0xa'))),_0x12b1f4['_suggestionFactory'][_0x1a84('0x22')](_0x1a84('0x29'),'tableProperties',_0x1a84('0xa'),(_0x1d39a5,_0x4e909e)=>this[_0x1a84('0x19')](this[_0x1a84('0x2a')],_0x1d39a5,_0x4e909e)),_0x12b1f4['_suggestionFactory'][_0x1a84('0x22')](_0x1a84('0x29'),_0x1a84('0x2a'),_0x1a84('0x24'),()=>!0x1);}if(this['editor']['plugins'][_0x1a84('0x1f')](_0x1a84('0x34'))){for(const _0x4c0086 of this[_0x1a84('0x27')])_0x12b1f4[_0x1a84('0x12')](_0x4c0086,(_0x341186,_0x391711)=>{const _0x49b7c2=this[_0x1a84('0x33')][_0x1a84('0x4')]['get']('TableUtils')[_0x1a84('0x2b')](this['editor'][_0x1a84('0x14')][_0x1a84('0xd')][_0x1a84('0x20')]);this[_0x1a84('0x1d')](_0x4c0086,_0x49b7c2,this[_0x1a84('0x27')],_0x1a84('0x27'),_0x341186,_0x391711);});_0x12b1f4[_0x1a84('0x1')][_0x1a84('0x22')](_0x1a84('0x29'),_0x1a84('0x27'),_0x1a84('0x1a'),_0x12b1f4[_0x1a84('0x1')][_0x1a84('0x3')]('formatBlock',null,'discard')),_0x12b1f4['_suggestionFactory']['registerCustomCallback'](_0x1a84('0x29'),_0x1a84('0x27'),'discard',(_0x1b5a33,_0x3246b5)=>this[_0x1a84('0x19')](this[_0x1a84('0x27')],_0x1b5a33,_0x3246b5)),_0x12b1f4[_0x1a84('0x1')][_0x1a84('0x22')](_0x1a84('0x29'),_0x1a84('0x27'),_0x1a84('0x24'),()=>!0x1);}_0x12b1f4[_0x1a84('0x35')][_0x1a84('0x2')](_0x5f1f10=>this['handleSuggestionDescription'](_0x5f1f10));}['_handlePropertyChange'](_0x583b1e,_0x12a6c2,_0x229361,_0x4b133c,_0x2c4ba7,_0x88637a){const _0x3deb96=this[_0x1a84('0x33')][_0x1a84('0x4')][_0x1a84('0x7')](_0x1a84('0x13'));this['editor'][_0x1a84('0x14')][_0x1a84('0x36')](_0x88637a[_0x1a84('0xb')],()=>{for(const _0x5e8081 of _0x12a6c2){if(this['_getSuggestion'](_0x5e8081,_0x4b133c))_0x2c4ba7(_0x88637a);else{const _0x4359da={};for(const _0x45035b of _0x229361){const _0x288a7a=_0x5e8081[_0x1a84('0x21')](_0x45035b);void 0x0!==_0x288a7a&&(_0x4359da[_0x45035b]=_0x288a7a);}_0x2c4ba7(_0x88637a),_0x3deb96[_0x1a84('0x31')](_0x5e8081,{'commandParams':[_0x4359da]},[],_0x4b133c);}}});}[_0x1a84('0x19')](_0x60867e,_0x155ad1,_0x3bfddf){const _0x4abca6=_0x155ad1[0x0][_0x1a84('0x2c')]['nodeAfter'],_0x57547f=_0x3bfddf['commandParams'][0x0];this[_0x1a84('0x33')]['model'][_0x1a84('0x0')](_0x67bc20=>{for(const _0x3eae85 of _0x60867e)void 0x0!==_0x57547f[_0x3eae85]?_0x67bc20[_0x1a84('0x30')](_0x3eae85,_0x57547f[_0x3eae85],_0x4abca6):_0x67bc20[_0x1a84('0x1c')](_0x3eae85,_0x4abca6);});}[_0x1a84('0x10')](_0x401598){if(_0x401598[_0x1a84('0x25')])switch(_0x401598[_0x1a84('0x26')]){case _0x1a84('0x2a'):return{'type':'format','content':_0x46a2e9(this['editor']['locale'],'*Format:*\x20change\x20table\x20properties')};case _0x1a84('0x27'):return{'type':_0x1a84('0x23'),'content':_0x46a2e9(this[_0x1a84('0x33')][_0x1a84('0xe')],_0x1a84('0x2d'))};}}[_0x1a84('0x2f')](_0x57453f,_0x3f03d2){const _0x454a5c=this[_0x1a84('0x33')][_0x1a84('0x4')][_0x1a84('0x7')](_0x1a84('0x13'));for(const _0x77ea37 of _0x454a5c[_0x1a84('0x28')]({'skipNotAttached':!0x0})){const _0x1292ab=_0x77ea37[_0x1a84('0x32')]();if(_0x77ea37[_0x1a84('0x26')]===_0x3f03d2&&_0x1292ab===_0x57453f)return _0x77ea37;}return null;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3d7a=['Template','enableCommand','insertTemplate','has','editor','plugins','get'];(function(_0x4815f9,_0x3d7af8){const _0x228820=function(_0x164353){while(--_0x164353){_0x4815f9['push'](_0x4815f9['shift']());}};_0x228820(++_0x3d7af8);}(_0x3d7a,0x193));const _0x2288=function(_0x4815f9,_0x3d7af8){_0x4815f9=_0x4815f9-0x0;let _0x228820=_0x3d7a[_0x4815f9];return _0x228820;};import{Plugin as _0xd878ef}from'ckeditor5/src/core';export default class yt extends _0xd878ef{['afterInit'](){const _0x1eb7a8=this[_0x2288('0x0')];_0x1eb7a8[_0x2288('0x1')][_0x2288('0x6')](_0x2288('0x3'))&&_0x1eb7a8[_0x2288('0x1')][_0x2288('0x2')]('TrackChangesEditing')[_0x2288('0x4')](_0x2288('0x5'));}}
23
+ const _0x1ed1=['insertTemplate','has','Template','get','editor','plugins','TrackChangesEditing','enableCommand','afterInit'];(function(_0x515be8,_0x1ed15a){const _0x101055=function(_0x5cd222){while(--_0x5cd222){_0x515be8['push'](_0x515be8['shift']());}};_0x101055(++_0x1ed15a);}(_0x1ed1,0x79));const _0x1010=function(_0x515be8,_0x1ed15a){_0x515be8=_0x515be8-0x0;let _0x101055=_0x1ed1[_0x515be8];return _0x101055;};import{Plugin as _0x37c137}from'ckeditor5/src/core';export default class yt extends _0x37c137{[_0x1010('0x4')](){const _0x1cb656=this[_0x1010('0x0')];_0x1cb656[_0x1010('0x1')][_0x1010('0x6')](_0x1010('0x7'))&&_0x1cb656[_0x1010('0x1')][_0x1010('0x8')](_0x1010('0x2'))[_0x1010('0x3')](_0x1010('0x5'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x55bc=['locale','_descriptionFactory','isTouching','createRange','getNearestSelectionRange','editor','model','differ','schema','end','element','updateMarker','Title','suggestion','get','from','plugins','document','has','title-content','newRange','afterInit','start','nodeBefore','removeMarker','TrackChangesEditing'];(function(_0x543534,_0x55bc70){const _0x5d067a=function(_0x9f61a9){while(--_0x9f61a9){_0x543534['push'](_0x543534['shift']());}};_0x5d067a(++_0x55bc70);}(_0x55bc,0x1c6));const _0x5d06=function(_0x543534,_0x55bc70){_0x543534=_0x543534-0x0;let _0x5d067a=_0x55bc[_0x543534];return _0x5d067a;};import{Plugin as _0x38d89f}from'ckeditor5/src/core';import{getTranslation as _0x5535ed}from'../utils/common-translations';export default class St extends _0x38d89f{[_0x5d06('0x9')](){const _0x5f0eff=this[_0x5d06('0x13')];if(!_0x5f0eff[_0x5d06('0x4')][_0x5d06('0x6')](_0x5d06('0x0')))return;const _0x48ac73=_0x5f0eff[_0x5d06('0x4')][_0x5d06('0x2')](_0x5d06('0xd'));_0x48ac73[_0x5d06('0xf')]['registerElementLabel']('title-content',()=>_0x5535ed(_0x5f0eff[_0x5d06('0xe')],'ELEMENT_TITLE')),_0x5f0eff[_0x5d06('0x14')][_0x5d06('0x5')]['registerPostFixer'](_0x3bff97=>{let _0x2319b2=!0x1;const _0x4c9a02=Array[_0x5d06('0x3')](_0x5f0eff[_0x5d06('0x14')][_0x5d06('0x5')][_0x5d06('0x15')]['getChangedMarkers']());for(const {name:_0x36d4e8,data:_0x4b9008}of _0x4c9a02){const {group:_0x5188d7}=_0x48ac73['_splitMarkerName'](_0x36d4e8);if(_0x5d06('0x1')!==_0x5188d7||!_0x4b9008['newRange'])continue;const _0x38603f=_0x4b9008[_0x5d06('0x8')],_0x51df76=_0x38603f['end'][_0x5d06('0xb')];if(!_0x51df76||!_0x51df76['is'](_0x5d06('0x18'),_0x5d06('0x7')))continue;if(!_0x38603f[_0x5d06('0xa')][_0x5d06('0x10')](_0x38603f[_0x5d06('0x17')]))continue;const _0x34c25b=_0x5f0eff[_0x5d06('0x14')][_0x5d06('0x16')][_0x5d06('0x12')](_0x38603f[_0x5d06('0x17')],'forward');if(_0x34c25b&&_0x34c25b['isCollapsed']){const _0x5c758b=_0x3bff97[_0x5d06('0x11')](_0x38603f[_0x5d06('0xa')],_0x34c25b[_0x5d06('0xa')]);_0x5c758b['isEqual'](_0x38603f)||(_0x3bff97[_0x5d06('0x19')](_0x36d4e8,{'range':_0x5c758b}),_0x2319b2=!0x0);}_0x2319b2||(_0x3bff97[_0x5d06('0xc')](_0x36d4e8),_0x2319b2=!0x0);}return _0x2319b2;});}}
23
+ const _0x4153=['afterInit','_splitMarkerName','schema','getChangedMarkers','get','isTouching','title-content','_descriptionFactory','isCollapsed','nodeBefore','Title','model','removeMarker','element','newRange','start','registerElementLabel','has','plugins','isEqual','suggestion','forward','differ','end','locale','TrackChangesEditing','document','from'];(function(_0x25d0a4,_0x4153db){const _0x1cf3c1=function(_0x509e56){while(--_0x509e56){_0x25d0a4['push'](_0x25d0a4['shift']());}};_0x1cf3c1(++_0x4153db);}(_0x4153,0x102));const _0x1cf3=function(_0x25d0a4,_0x4153db){_0x25d0a4=_0x25d0a4-0x0;let _0x1cf3c1=_0x4153[_0x25d0a4];return _0x1cf3c1;};import{Plugin as _0x30e115}from'ckeditor5/src/core';import{getTranslation as _0x5288fe}from'../utils/common-translations';export default class St extends _0x30e115{[_0x1cf3('0x16')](){const _0x4ab21e=this['editor'];if(!_0x4ab21e[_0x1cf3('0xc')][_0x1cf3('0xb')](_0x1cf3('0x4')))return;const _0x4440a5=_0x4ab21e[_0x1cf3('0xc')][_0x1cf3('0x1a')](_0x1cf3('0x13'));_0x4440a5[_0x1cf3('0x1')][_0x1cf3('0xa')](_0x1cf3('0x0'),()=>_0x5288fe(_0x4ab21e[_0x1cf3('0x12')],'ELEMENT_TITLE')),_0x4ab21e['model'][_0x1cf3('0x14')]['registerPostFixer'](_0x461e63=>{let _0x330b1a=!0x1;const _0x4c4459=Array[_0x1cf3('0x15')](_0x4ab21e[_0x1cf3('0x5')][_0x1cf3('0x14')][_0x1cf3('0x10')][_0x1cf3('0x19')]());for(const {name:_0x219e68,data:_0x9480ac}of _0x4c4459){const {group:_0x35ecbe}=_0x4440a5[_0x1cf3('0x17')](_0x219e68);if(_0x1cf3('0xe')!==_0x35ecbe||!_0x9480ac[_0x1cf3('0x8')])continue;const _0x39f292=_0x9480ac[_0x1cf3('0x8')],_0x3fb826=_0x39f292[_0x1cf3('0x11')][_0x1cf3('0x3')];if(!_0x3fb826||!_0x3fb826['is'](_0x1cf3('0x7'),_0x1cf3('0x0')))continue;if(!_0x39f292[_0x1cf3('0x9')][_0x1cf3('0x1b')](_0x39f292['end']))continue;const _0x46586c=_0x4ab21e[_0x1cf3('0x5')][_0x1cf3('0x18')]['getNearestSelectionRange'](_0x39f292[_0x1cf3('0x11')],_0x1cf3('0xf'));if(_0x46586c&&_0x46586c[_0x1cf3('0x2')]){const _0x421325=_0x461e63['createRange'](_0x39f292[_0x1cf3('0x9')],_0x46586c['start']);_0x421325[_0x1cf3('0xd')](_0x39f292)||(_0x461e63['updateMarker'](_0x219e68,{'range':_0x421325}),_0x330b1a=!0x0);}_0x330b1a||(_0x461e63[_0x1cf3('0x6')](_0x219e68),_0x330b1a=!0x0);}return _0x330b1a;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2a47=['has','TrackChangesEditing','redo','undo','plugins','editor','get','enableCommand'];(function(_0x33ea6c,_0x2a47a9){const _0x27ce19=function(_0x566d19){while(--_0x566d19){_0x33ea6c['push'](_0x33ea6c['shift']());}};_0x27ce19(++_0x2a47a9);}(_0x2a47,0x13e));const _0x27ce=function(_0x33ea6c,_0x2a47a9){_0x33ea6c=_0x33ea6c-0x0;let _0x27ce19=_0x2a47[_0x33ea6c];return _0x27ce19;};import{Plugin as _0x1e70a8}from'ckeditor5/src/core';export default class It extends _0x1e70a8{['afterInit'](){const _0x4dcde8=this[_0x27ce('0x7')],_0x1f407d=_0x4dcde8[_0x27ce('0x6')][_0x27ce('0x0')](_0x27ce('0x3'));_0x4dcde8['plugins'][_0x27ce('0x2')]('UndoEditing')&&(_0x1f407d[_0x27ce('0x1')](_0x27ce('0x5')),_0x1f407d[_0x27ce('0x1')](_0x27ce('0x4')));}}
23
+ const _0x287c=['redo','editor','get','TrackChangesEditing','afterInit','plugins','UndoEditing','has'];(function(_0x121ac5,_0x287c99){const _0x3f6cb4=function(_0x5c96e9){while(--_0x5c96e9){_0x121ac5['push'](_0x121ac5['shift']());}};_0x3f6cb4(++_0x287c99);}(_0x287c,0xb0));const _0x3f6c=function(_0x121ac5,_0x287c99){_0x121ac5=_0x121ac5-0x0;let _0x3f6cb4=_0x287c[_0x121ac5];return _0x3f6cb4;};import{Plugin as _0x143994}from'ckeditor5/src/core';export default class It extends _0x143994{[_0x3f6c('0x4')](){const _0x4fce40=this[_0x3f6c('0x1')],_0x1405da=_0x4fce40[_0x3f6c('0x5')][_0x3f6c('0x2')](_0x3f6c('0x3'));_0x4fce40[_0x3f6c('0x5')][_0x3f6c('0x7')](_0x3f6c('0x6'))&&(_0x1405da['enableCommand']('undo'),_0x1405da['enableCommand'](_0x3f6c('0x0')));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5d98=['schema','bindElementToMarker','listItem','hasAttribute','addClass','name','includes','parent','previousPosition','elementEnd','type','createRangeOn','TrackChangesEditing','item','element','markerName','listIndent','isLimit','addHighlight','toViewElement','activeMarkers','isContent','getWalker','get','push','ck-suggestion-marker--active','isAtEnd','markerRange','getAttribute','getCustomProperty','nextSibling','insert','model','mapper','start','toViewPosition','writer'];(function(_0x39c1f3,_0x5d98b4){const _0xf2e59b=function(_0xb036cb){while(--_0xb036cb){_0x39c1f3['push'](_0x39c1f3['shift']());}};_0xf2e59b(++_0x5d98b4);}(_0x5d98,0x156));const _0xf2e5=function(_0x39c1f3,_0x5d98b4){_0x39c1f3=_0x39c1f3-0x0;let _0xf2e59b=_0x5d98[_0x39c1f3];return _0xf2e59b;};export function getRangesWithAttribute(_0x3bc743,_0x5d8f11,_0x1a2a51){const _0x1d2ec9=[];for(const _0xc5154f of _0x5d8f11['getItems']())_0xc5154f[_0xf2e5('0x1f')](_0x3bc743)&&_0x1d2ec9[_0xf2e5('0xf')](_0x1a2a51[_0xf2e5('0x2')](_0xc5154f));return _0x1d2ec9;}export function getElementsAffectedByListItemRename(_0x1c6aec){const _0x33d489=[];if(_0x1c6aec['is']('element',_0xf2e5('0x1e'))){let _0x5b86ef=_0x1c6aec['nextSibling'];for(;_0x5b86ef&&_0x5b86ef['is'](_0xf2e5('0x5'),_0xf2e5('0x1e'))&&_0x5b86ef[_0xf2e5('0x13')](_0xf2e5('0x7'))>0x0;)_0x33d489[_0xf2e5('0xf')](_0x5b86ef),_0x5b86ef=_0x5b86ef[_0xf2e5('0x15')];}return _0x33d489;}export function downcastSplitMergeMarker(_0x221520,_0x417517,{showActiveMarker:_0x438449=!0x0}={}){const _0x107a68=_0x221520['plugins'][_0xf2e5('0xe')](_0xf2e5('0x3'));return(_0x5cfdc6,_0x561542,_0x390ba9)=>{if(!_0x390ba9['consumable']['test'](_0x561542[_0xf2e5('0x12')],_0x5cfdc6[_0xf2e5('0x21')]))return;const _0x4cf287=_0x561542[_0xf2e5('0x12')][_0xf2e5('0xd')](),_0x323059=_0x561542['markerRange'][_0xf2e5('0x19')],_0x3fd7d4=_0x221520[_0xf2e5('0x17')][_0xf2e5('0x1c')];let _0x54b8c9=null,_0x53a576=null,_0x1b990e=!0x1,_0x3dd4bb=!0x1;for(const _0x5afa4a of _0x4cf287){const _0x3a4c3e=_0x5afa4a[_0xf2e5('0x4')];_0x1b990e=_0x1b990e||_0x3fd7d4[_0xf2e5('0xc')](_0x3a4c3e);const _0x48facc=_0x390ba9['mapper'][_0xf2e5('0xa')](_0x3a4c3e);if(_0x48facc&&_0x48facc[_0xf2e5('0x14')](_0xf2e5('0x9')))return;_0xf2e5('0x0')==_0x5afa4a[_0xf2e5('0x1')]&&(_0x3fd7d4['isBlock'](_0x3a4c3e)&&!_0x3fd7d4[_0xf2e5('0x8')](_0x3a4c3e)&&(_0x3a4c3e['nextSibling']||_0x323059[_0xf2e5('0x11')]?_0x54b8c9&&_0x54b8c9[_0xf2e5('0x23')]==_0x3a4c3e||(_0x54b8c9=_0x3a4c3e,_0x551de2(_0x5afa4a[_0xf2e5('0x24')]),_0x3dd4bb=!0x0):_0x53a576=_0x53a576||_0x5afa4a[_0xf2e5('0x24')]));}function _0x551de2(_0x19a1cb){const _0x3b3977=_0x390ba9[_0xf2e5('0x1b')]['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x417517}),_0x123cdd=_0x390ba9['mapper'][_0xf2e5('0x1a')](_0x19a1cb);_0x438449&&_0x107a68[_0xf2e5('0xb')][_0xf2e5('0x22')](_0x561542['markerName'])&&_0x390ba9[_0xf2e5('0x1b')][_0xf2e5('0x20')](_0xf2e5('0x10'),_0x3b3977),_0x390ba9[_0xf2e5('0x1b')][_0xf2e5('0x16')](_0x123cdd,_0x3b3977),_0x390ba9[_0xf2e5('0x18')][_0xf2e5('0x1d')](_0x3b3977,_0x561542[_0xf2e5('0x6')]);}_0x1b990e||_0x3dd4bb||!_0x53a576||_0x551de2(_0x53a576);};}
23
+ const _0x2865=['type','ck-suggestion-marker-','parent','isAtEnd','listItem','writer','isLimit','markerName','isBlock','test','addClass','markerRange','previousPosition','consumable','elementEnd','hasAttribute','getWalker','mapper','name','nextSibling','listIndent','TrackChangesEditing','getCustomProperty','getItems','insert','isContent','includes','plugins','schema','element','push','get','bindElementToMarker','createRangeOn'];(function(_0x5c6fbc,_0x28653f){const _0x2c7518=function(_0x3dbcbd){while(--_0x3dbcbd){_0x5c6fbc['push'](_0x5c6fbc['shift']());}};_0x2c7518(++_0x28653f);}(_0x2865,0x1e8));const _0x2c75=function(_0x5c6fbc,_0x28653f){_0x5c6fbc=_0x5c6fbc-0x0;let _0x2c7518=_0x2865[_0x5c6fbc];return _0x2c7518;};export function getRangesWithAttribute(_0xf48921,_0x5aefce,_0x3f4433){const _0x4d4f29=[];for(const _0x37ed6a of _0x5aefce[_0x2c75('0xb')]())_0x37ed6a[_0x2c75('0x3')](_0xf48921)&&_0x4d4f29['push'](_0x3f4433[_0x2c75('0x15')](_0x37ed6a));return _0x4d4f29;}export function getElementsAffectedByListItemRename(_0x2fed14){const _0x594107=[];if(_0x2fed14['is'](_0x2c75('0x11'),_0x2c75('0x1a'))){let _0x396b0d=_0x2fed14[_0x2c75('0x7')];for(;_0x396b0d&&_0x396b0d['is'](_0x2c75('0x11'),_0x2c75('0x1a'))&&_0x396b0d['getAttribute'](_0x2c75('0x8'))>0x0;)_0x594107[_0x2c75('0x12')](_0x396b0d),_0x396b0d=_0x396b0d[_0x2c75('0x7')];}return _0x594107;}export function downcastSplitMergeMarker(_0xabdb2d,_0x2800b6,{showActiveMarker:_0x4ab04b=!0x0}={}){const _0x256b15=_0xabdb2d[_0x2c75('0xf')][_0x2c75('0x13')](_0x2c75('0x9'));return(_0x4e3e42,_0x417220,_0x1e89bb)=>{if(!_0x1e89bb[_0x2c75('0x1')][_0x2c75('0x1f')](_0x417220['markerRange'],_0x4e3e42[_0x2c75('0x6')]))return;const _0x2eb2ba=_0x417220[_0x2c75('0x21')][_0x2c75('0x4')](),_0x2ed626=_0x417220[_0x2c75('0x21')]['start'],_0x413ea6=_0xabdb2d['model'][_0x2c75('0x10')];let _0x48ed14=null,_0x42c9f5=null,_0xcd5c74=!0x1,_0x4670ab=!0x1;for(const _0x215f1b of _0x2eb2ba){const _0x4b3873=_0x215f1b['item'];_0xcd5c74=_0xcd5c74||_0x413ea6[_0x2c75('0xd')](_0x4b3873);const _0x314ba3=_0x1e89bb[_0x2c75('0x5')]['toViewElement'](_0x4b3873);if(_0x314ba3&&_0x314ba3[_0x2c75('0xa')]('addHighlight'))return;_0x2c75('0x2')==_0x215f1b[_0x2c75('0x16')]&&(_0x413ea6[_0x2c75('0x1e')](_0x4b3873)&&!_0x413ea6[_0x2c75('0x1c')](_0x4b3873)&&(_0x4b3873[_0x2c75('0x7')]||_0x2ed626[_0x2c75('0x19')]?_0x48ed14&&_0x48ed14[_0x2c75('0x18')]==_0x4b3873||(_0x48ed14=_0x4b3873,_0x39d0fb(_0x215f1b[_0x2c75('0x0')]),_0x4670ab=!0x0):_0x42c9f5=_0x42c9f5||_0x215f1b[_0x2c75('0x0')]));}function _0x39d0fb(_0x140e5b){const _0x48d3c5=_0x1e89bb[_0x2c75('0x1b')]['createUIElement']('span',{'class':_0x2c75('0x17')+_0x2800b6}),_0x581893=_0x1e89bb[_0x2c75('0x5')]['toViewPosition'](_0x140e5b);_0x4ab04b&&_0x256b15['activeMarkers'][_0x2c75('0xe')](_0x417220[_0x2c75('0x1d')])&&_0x1e89bb[_0x2c75('0x1b')][_0x2c75('0x20')]('ck-suggestion-marker--active',_0x48d3c5),_0x1e89bb[_0x2c75('0x1b')][_0x2c75('0xc')](_0x581893,_0x48d3c5),_0x1e89bb[_0x2c75('0x5')][_0x2c75('0x14')](_0x48d3c5,_0x417220[_0x2c75('0x1d')]);}_0xcd5c74||_0x4670ab||!_0x42c9f5||_0x39d0fb(_0x42c9f5);};}