@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20230907.0 → 0.0.0-nightly-20230908.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 _0x2670=['_replaceTableSlotCell','high','has','tableCell','registerCustomCallback','column','join','suggestionUnloaded','keys','Users','root','ck-suggestion-marker--active','cells','getAllAdjacentSuggestions','commands','includes','containsRange','_getCoordsForCells','plugins','getRange','batch','suggestion-td','createTableWalker','rowInsertionIndexes','subType','oldRange','markMultiRangeInsertion','position','tableCellSuggestion','tableCellBorderColor','markerName','forceDefaultExecution','hasSuggestion','suggestionLoaded','length','clipboardOutput','suggestion:formatBlock:tablePasteCell','filter','selection','low','wrap','getSelectionAffectedTableCells','content','markerAttributes','getTableIfOnlyTableInContent','_tablePostFixingSubtypes','fill','showSuggestionHighlights','from','tablePasteChainId','tablePasteRow','add','value','document','isInContent','model','unwrap','insertion','getItems','fromEntries','rowInsertionRanges','element','deletion','deletionRanges','formatBlock','endRow','previousSibling','_createdBatches','first','tablePasteColumn','redo','activeMarkers','insertRows','setAttribute','$graveyard','tableCellBackgroundColor','ck-suggestion-marker','registerPostFixer','_suggestionFactory','tablePaste','markMultiRangeBlockFormat','get','removeMarker','ck-suggestion-marker-insertion','tablePasteCell','createPositionBefore','columnInsertionRanges','name','getMarkers','schema','getColumns','_splitMarkerName','documentSelection','startsWith','type','row','createElement','tableCellHorizontalAlignment','TrackChangesEditing','endColumn','getRanges','newRange','setAttributes','end','getSuggestions','start','attributes','locale','isEmpty','elementToElement','isEqual','findAncestor','tableCellBorderWidth','nextSibling','columnInsertionIndexes','accept','getRowIndexes','markers','rows','stop','every','trackChanges','reduce','removeColumns','differ','getChangedMarkers','tableCellVerticalAlignment','getColumnIndexes','getChanges','push','removeMarkers','registerDescriptionCallback','register','createRangeOn','editing','paragraph','change','markerToHighlight','*Replace\x20table\x20cells*','dataDowncast','TableClipboard','createRangeIn','nodeAfter','remove','_descriptionFactory','getChild','editingDowncast','set','table','map','getContainedElement','discard','rootName','suggestion','getRows','tableCellBorderStyle','options','conversion','getSuggestionCallback','getChildren','insert','find','entries','afterInit','tableCellPadding','author','_isForcedDefaultExecutionBlock','cell','next','for','getShiftedBy'];(function(_0x5e3596,_0x2670da){const _0x57bdaa=function(_0xba5dca){while(--_0xba5dca){_0x5e3596['push'](_0x5e3596['shift']());}};_0x57bdaa(++_0x2670da);}(_0x2670,0x1f0));const _0x57bd=function(_0x5e3596,_0x2670da){_0x5e3596=_0x5e3596-0x0;let _0x57bdaa=_0x2670[_0x5e3596];return _0x57bdaa;};import{getTranslation as _0x5bff6f}from'../utils/common-translations';import{Plugin as _0x83a10b}from'ckeditor5/src/core';import{uid as _0x198896,priorities as _0x23292c}from'ckeditor5/src/utils';import _0x1df6b9 from'./table';const le=[_0x57bd('0x81'),_0x57bd('0x2e'),_0x57bd('0x1'),_0x57bd('0x72'),_0x57bd('0x8f'),_0x57bd('0x5c'),_0x57bd('0xa')],ae=Object[_0x57bd('0x4c')](le[_0x57bd('0xa6')](_0x1dff6e=>[_0x1dff6e,null]));export default class kt extends _0x83a10b{static get['requires'](){return[_0x1df6b9];}[_0x57bd('0x9')](){const _0x56b108=this['editor'];if(!_0x56b108['plugins'][_0x57bd('0x13')](_0x57bd('0x9d')))return;const _0x5a1790=_0x56b108[_0x57bd('0x23')]['get'](_0x57bd('0x73')),_0x170fa6=_0x56b108[_0x57bd('0x23')][_0x57bd('0x62')]('TableUtils'),_0x7df81f=_0x56b108[_0x57bd('0x23')][_0x57bd('0x62')](_0x1df6b9),_0x25a187=_0x56b108[_0x57bd('0x23')]['get'](_0x57bd('0x9d'));_0x7df81f[_0x57bd('0x3e')][_0x57bd('0x92')](_0x57bd('0x43'),_0x57bd('0x56')),_0x56b108['model'][_0x57bd('0x6a')][_0x57bd('0x95')](_0x57bd('0x2d'),{'allowIn':_0x57bd('0x14'),'allowContentOf':_0x57bd('0x14'),'isLimit':!0x0}),_0x56b108[_0x57bd('0x3')][_0x57bd('0x7e')]({'model':_0x57bd('0x2d'),'view':_0x57bd('0x26')});let _0x4b47cc=null;_0x56b108[_0x57bd('0x48')]['on']('insertContent',(_0x1f2506,_0x479e18)=>{const [_0x23e24b,_0x4e8565]=_0x479e18,_0x572e60=_0x479e18[_0x479e18['length']-0x1];_0x572e60&&_0x572e60[_0x57bd('0x30')]||_0x5a1790[_0x57bd('0xc')]||this['editor'][_0x57bd('0x1f')][_0x57bd('0x62')](_0x57bd('0x8a'))[_0x57bd('0x45')]&&function(_0x588074,_0x3d239,_0x352a58,_0x39597b,_0x5ece7b){if(_0x3d239&&!_0x3d239['is'](_0x57bd('0x6d')))return!0x1;const _0x845f17=_0x5ece7b[_0x57bd('0x3d')](_0x588074,_0x352a58);if(!_0x845f17||!fe(_0x845f17,void 0x0,_0x39597b))return!0x1;const _0x4653b2=_0x39597b[_0x57bd('0x3a')](_0x352a58['document'][_0x57bd('0x37')]);if(!_0x4653b2[_0x57bd('0x33')])return!0x1;const _0x4b71fc=_0x4653b2[0x0][_0x57bd('0x80')]('table'),_0x2217bb=_0x39597b[_0x57bd('0x85')](_0x4653b2),_0x59da67=_0x39597b[_0x57bd('0x90')](_0x4653b2),_0x32bbff={'startRow':_0x2217bb[_0x57bd('0x55')],'endRow':_0x2217bb['last'],'startColumn':_0x59da67['first'],'endColumn':_0x59da67['last']};return 0x1==_0x4653b2[_0x57bd('0x33')]&&(_0x32bbff[_0x57bd('0x52')]+=_0x39597b[_0x57bd('0x0')](_0x845f17)-0x1,_0x32bbff[_0x57bd('0x74')]+=_0x39597b[_0x57bd('0x6b')](_0x845f17)-0x1),fe(_0x4b71fc,_0x32bbff,_0x39597b);}(_0x23e24b,_0x4e8565,_0x56b108[_0x57bd('0x48')],_0x170fa6,_0x25a187)&&(_0x1f2506['stop'](),_0x4b47cc={'cells':[],'insertionRanges':[],'deletionRanges':[],'rowInsertionRanges':[],'rowInsertionIndexes':[],'columnInsertionRanges':[],'columnInsertionIndexes':[]},_0x56b108[_0x57bd('0x48')][_0x57bd('0x99')](()=>{_0x56b108[_0x57bd('0x48')]['insertContent'](_0x479e18[0x0],_0x479e18[0x1],_0x479e18[0x2],{'forceDefaultExecution':!0x0});const _0x430520=_0x198896(),{rowInsertionRanges:_0x1fe1ca,columnInsertionRanges:_0xc18953,insertionRanges:_0x249265,deletionRanges:_0x143ccb,cells:_0x1df9f8}=_0x4b47cc;_0x1fe1ca['length']&&_0x5a1790['markMultiRangeInsertion'](_0x1fe1ca,'tablePasteRow',{'tablePasteChainId':_0x430520}),_0xc18953[_0x57bd('0x33')]&&_0x5a1790[_0x57bd('0x2b')](_0xc18953,'tablePasteColumn',{'tablePasteChainId':_0x430520}),_0x249265[_0x57bd('0x33')]&&_0x5a1790[_0x57bd('0x2b')](_0x249265,_0x57bd('0x60'),{'tablePasteChainId':_0x430520,'skipNestingCheck':!0x0}),_0x143ccb[_0x57bd('0x33')]&&_0x5a1790['markMultiRangeDeletion'](_0x143ccb,'tablePaste',{'tablePasteChainId':_0x430520,'skipNestingCheck':!0x0});const _0x5a82ba=_0x5a1790[_0x57bd('0x61')](_0x1df9f8[_0x57bd('0xa6')](({element:_0x56d33e})=>_0x56d33e),{'formatGroupId':_0x198896()},[],'tablePasteCell',{'tablePasteChainId':_0x430520});if(_0x5a82ba){const _0x125159=_0x5a82ba[_0x57bd('0x69')](),_0x3eab13=[];for(const {element:_0x8c866e,attributes:_0x5e29ff}of _0x1df9f8){if(!_0x5e29ff)continue;const _0x42ca35=_0x56b108[_0x57bd('0x48')][_0x57bd('0x96')](_0x8c866e),_0x2feca7=_0x125159[_0x57bd('0x7')](_0x24663d=>_0x24663d[_0x57bd('0x24')]()[_0x57bd('0x7f')](_0x42ca35));_0x2feca7&&_0x3eab13[_0x57bd('0x92')]([_0x2feca7[_0x57bd('0x68')],_0x5e29ff]);}_0x3eab13['length']&&_0x5a82ba[_0x57bd('0x5a')](_0x57bd('0x3c'),Object[_0x57bd('0x4c')](_0x3eab13));}_0x4b47cc=null;}));},{'priority':_0x23292c[_0x57bd('0x12')]+0xa}),_0x56b108[_0x57bd('0x23')][_0x57bd('0x62')](_0x57bd('0x9d'))['on'](_0x57bd('0x11'),(_0x27ee74,_0x43aea3)=>{const [_0x3b9ef1,_0x42ad57,,_0xbae66c]=_0x43aea3;if(!_0x4b47cc)return;_0x27ee74[_0x57bd('0x88')]();const _0x1b9826=_0x3b9ef1[_0x57bd('0xd')],_0x5d5ff5=_0x42ad57,_0xe1d827=ce(_0x1b9826),_0x544fd7=ce(_0x5d5ff5);_0x27ee74['return']=_0x1b9826;let _0x297a83=null,_0x356ab2=null;if(_0x544fd7||_0xe1d827){if(_0xe1d827&&!_0x544fd7){_0xbae66c['remove'](_0x1b9826[_0x57bd('0xa2')](0x0));for(const _0x4b4dd9 of Array[_0x57bd('0x41')](_0x5d5ff5[_0x57bd('0x5')]()))_0xbae66c[_0x57bd('0x6')](_0x4b4dd9,_0x1b9826,_0x57bd('0x78'));const _0x49f49d=_0x4b47cc[_0x57bd('0x28')]['includes'](_0x3b9ef1[_0x57bd('0x70')]),_0x1912c1=_0x4b47cc[_0x57bd('0x83')][_0x57bd('0x20')](_0x3b9ef1[_0x57bd('0x16')]);_0x49f49d||_0x1912c1||(_0x297a83=_0xbae66c[_0x57bd('0x9e')](_0x1b9826));}else _0x544fd7&&!_0xe1d827&&(_0x356ab2=_0xbae66c['createRangeIn'](_0x1b9826));}else{const _0x5098df=_0xbae66c[_0x57bd('0x71')]('tableCellSuggestion'),_0x5b2f13=_0xbae66c[_0x57bd('0x71')](_0x57bd('0x2d'));_0xbae66c[_0x57bd('0x39')](_0xbae66c['createRangeIn'](_0x1b9826),_0x5b2f13),_0xbae66c[_0x57bd('0x6')](_0x5098df,_0x1b9826,0x0);for(const _0x26efc7 of Array[_0x57bd('0x41')](_0x5d5ff5[_0x57bd('0x5')]()))_0xbae66c[_0x57bd('0x6')](_0x26efc7,_0x5098df,'end');_0x297a83=_0xbae66c['createRangeOn'](_0x5098df),_0x356ab2=_0xbae66c[_0x57bd('0x96')](_0x5b2f13);}const _0x235531=Array[_0x57bd('0x41')](_0x5d5ff5['getAttributes']())[_0x57bd('0x36')](([_0x4c6b0e])=>le[_0x57bd('0x20')](_0x4c6b0e));_0x4b47cc[_0x57bd('0x1d')]['push']({'element':_0x1b9826,'attributes':_0x235531[_0x57bd('0x33')]?Object[_0x57bd('0x4c')](_0x235531):null}),_0x297a83&&_0x4b47cc['insertionRanges'][_0x57bd('0x92')](_0x297a83),_0x356ab2&&_0x4b47cc[_0x57bd('0x50')][_0x57bd('0x92')](_0x356ab2);},{'priority':_0x57bd('0x12')}),_0x170fa6['on']('insertColumns',(_0x319ca3,_0x17bae0)=>{const [_0x2d682f,_0x3b6d40={}]=_0x17bae0;if(!_0x4b47cc)return;const _0x5aa72a=_0x3b6d40['at']||0x0,_0x2f74db=_0x3b6d40['columns']||0x1;_0x4b47cc['columnInsertionIndexes']=new Array(_0x2f74db)[_0x57bd('0x3f')](_0x5aa72a)[_0x57bd('0xa6')]((_0x3e09b4,_0x3f8176)=>_0x3e09b4+_0x3f8176);for(const {cell:_0x2e065b}of _0x170fa6['createTableWalker'](_0x2d682f,{'startColumn':_0x5aa72a,'endColumn':_0x5aa72a+_0x2f74db-0x1}))_0x4b47cc[_0x57bd('0x67')][_0x57bd('0x92')](_0x56b108['model'][_0x57bd('0x96')](_0x2e065b));},{'priority':'low'}),_0x170fa6['on'](_0x57bd('0x59'),(_0x1e54fc,_0x3e2ebf)=>{const [_0x56f69e,_0x3c9fa7={}]=_0x3e2ebf;if(!_0x4b47cc)return;const _0x221d12=_0x3c9fa7['at']||0x0,_0x5533a6=_0x3c9fa7[_0x57bd('0x87')]||0x1;_0x4b47cc[_0x57bd('0x28')]=new Array(_0x5533a6)['fill'](_0x221d12)[_0x57bd('0xa6')]((_0x3a37cd,_0x2d0da5)=>_0x3a37cd+_0x2d0da5);for(const {cell:_0x10ea3d}of _0x170fa6[_0x57bd('0x27')](_0x56f69e,{'startRow':_0x221d12,'endRow':_0x221d12+_0x5533a6-0x1}))_0x4b47cc[_0x57bd('0x4d')][_0x57bd('0x92')](_0x56b108['model']['createRangeOn'](_0x10ea3d));},{'priority':_0x57bd('0x38')}),_0x5a1790[_0x57bd('0xa1')][_0x57bd('0x94')](_0x232664=>{if(_0x232664[_0x57bd('0x29')]&&_0x232664[_0x57bd('0x29')][_0x57bd('0x6e')]('tablePaste'))return _0x232664['previous']?{}:{'type':_0x57bd('0x4a'),'content':_0x5bff6f(_0x56b108[_0x57bd('0x7c')],_0x57bd('0x9b'))};});const _0x2d19dc=()=>!0x1;for(const _0x248acc of[_0x57bd('0x60'),_0x57bd('0x56'),'tablePasteRow',_0x57bd('0x65')])_0x5a1790[_0x57bd('0x5f')][_0x57bd('0x15')]('insertion',_0x248acc,_0x57bd('0x17'),_0x2d19dc),_0x5a1790[_0x57bd('0x5f')]['registerCustomCallback'](_0x57bd('0x4f'),_0x248acc,'join',_0x2d19dc),_0x5a1790[_0x57bd('0x5f')][_0x57bd('0x15')](_0x57bd('0x51'),_0x248acc,_0x57bd('0x17'),_0x2d19dc);_0x5a1790[_0x57bd('0x5f')][_0x57bd('0x15')]('formatBlock',_0x57bd('0x65'),_0x57bd('0xa8'),_0x2d19dc),_0x5a1790['_suggestionFactory'][_0x57bd('0x15')](_0x57bd('0x51'),_0x57bd('0x65'),_0x57bd('0x84'),(_0x38bfdc,_0x73ba61,_0x544afd)=>{const _0x35653c=_0x38bfdc[_0x57bd('0xa6')](_0x3b4096=>_0x3b4096[_0x57bd('0xa7')]())['filter'](_0x4debb0=>_0x4debb0),_0x3fefeb=new Map(_0x35653c[_0x57bd('0xa6')](_0xc05c7=>[_0xc05c7,null]));if(_0x4b47cc)for(const {element:_0x5cbb07,attributes:_0x5d47c3}of _0x4b47cc[_0x57bd('0x1d')])_0x5d47c3&&_0x3fefeb['set'](_0x5cbb07,_0x5d47c3);else{if(_0x544afd&&_0x544afd[_0x57bd('0x3c')])for(const [_0x355669,_0x43f191]of Object[_0x57bd('0x8')](_0x544afd[_0x57bd('0x3c')])){const _0x3cf290=_0x56b108['model'][_0x57bd('0x86')][_0x57bd('0x62')](_0x355669),_0x55749e=_0x3cf290?_0x3cf290[_0x57bd('0x24')]()['getContainedElement']():null;_0x55749e&&_0x3fefeb[_0x57bd('0xa4')](_0x55749e,_0x43f191);}}_0x56b108[_0x57bd('0x48')][_0x57bd('0x99')](_0x532bc4=>{for(const [_0x4225af,_0x44e536]of _0x3fefeb)_0x532bc4[_0x57bd('0x77')]({...ae,..._0x44e536},_0x4225af);});});const _0x5b05da=(_0x2ca065,_0xb08344)=>{_0x5a1790[_0x57bd('0x5f')][_0x57bd('0x15')](_0x2ca065,_0x57bd('0x60'),_0xb08344,(_0x61b831,_0x207f29,_0x47db73)=>{_0x56b108['model'][_0x57bd('0x99')](_0x2a7859=>{const _0x57881=[];for(const _0x58c30c of _0x61b831){const _0x3a5b0a=_0x58c30c[_0x57bd('0x7a')][_0x57bd('0x9f')];_0x3a5b0a['is'](_0x57bd('0x4e'),'tableCellSuggestion')&&_0x57881['push'](_0x3a5b0a);}_0x5a1790[_0x57bd('0x5f')][_0x57bd('0x4')](_0x2ca065,null,_0xb08344)(_0x61b831,_0x207f29,_0x47db73);for(const _0x503a62 of _0x57881)_0x57bd('0x5b')!=_0x503a62[_0x57bd('0x1b')][_0x57bd('0xa9')]&&_0x2a7859[_0x57bd('0x49')](_0x503a62);});});};_0x5b05da('insertion',_0x57bd('0x84')),_0x5b05da(_0x57bd('0x4a'),_0x57bd('0xa8')),_0x5b05da(_0x57bd('0x4f'),_0x57bd('0x84')),_0x5b05da('deletion',_0x57bd('0xa8')),_0x5a1790[_0x57bd('0x5f')][_0x57bd('0x15')]('insertion',_0x57bd('0x43'),_0x57bd('0xa8'),_0xa92056=>{const _0x9805e5=_0xa92056['map'](_0x2f99be=>_0x2f99be[_0x57bd('0xa7')]()),_0x4275bc=_0x9805e5[0x0][_0x57bd('0x80')](_0x57bd('0xa5')),{minRow:_0x4d2cad,maxRow:_0x1e2d42}=_0x7df81f[_0x57bd('0x22')](_0x9805e5);_0x170fa6['removeRows'](_0x4275bc,{'at':_0x4d2cad,'rows':_0x1e2d42-_0x4d2cad+0x1});}),_0x5a1790['_suggestionFactory'][_0x57bd('0x15')](_0x57bd('0x4a'),_0x57bd('0x56'),_0x57bd('0xa8'),_0x2fb94a=>{const _0x5a3b5f=_0x2fb94a['map'](_0x2221c4=>_0x2221c4['getContainedElement']()),_0x339cc8=_0x5a3b5f[0x0][_0x57bd('0x80')]('table'),{minColumn:_0x515f48,maxColumn:_0x2079b3}=_0x7df81f['_getCoordsForCells'](_0x5a3b5f);_0x170fa6[_0x57bd('0x8c')](_0x339cc8,{'at':_0x515f48,'columns':_0x2079b3-_0x515f48+0x1});});const _0x1b1cbf=(_0x42414d,_0x4607d5)=>{if(!_0x4607d5[_0x57bd('0x29')]||!_0x4607d5[_0x57bd('0x29')][_0x57bd('0x6e')]('tablePaste'))return;const _0x27a586=_0x4607d5['attributes'][_0x57bd('0x42')],_0x5f4559=_0x5a1790['getSuggestions']()['filter'](_0x74fd75=>_0x74fd75[_0x57bd('0x47')]&&_0x74fd75[_0x57bd('0x7b')]&&_0x74fd75[_0x57bd('0x7b')][_0x57bd('0x42')]==_0x27a586);_0x5f4559['length']&&_0x4607d5[_0x57bd('0x1e')]()[_0x57bd('0x33')]!=_0x5f4559['length']&&_0x5f4559[_0x57bd('0x8b')]((_0x585316,_0x3cad2c)=>(_0x585316[_0x57bd('0xe')]=_0x3cad2c,_0x3cad2c['previous']=_0x585316,_0x3cad2c));};function _0x545e57(_0x44c6a7,_0x3adfea=!0x0){const {id:_0x220d29}=_0x5a1790[_0x57bd('0x6c')](_0x44c6a7[_0x57bd('0x2f')]),_0x13891a=[_0x57bd('0x5d'),_0x57bd('0x64')],_0x2a9f57=_0x5a1790[_0x57bd('0x58')]['includes'](_0x44c6a7[_0x57bd('0x2f')]);return _0x2a9f57&&_0x13891a[_0x57bd('0x92')](_0x57bd('0x1c')),{'classes':_0x13891a,'attributes':{'data-suggestion':_0x220d29},'priority':_0x2a9f57&&_0x3adfea?0xbc2:0xbb8};}_0x5a1790['on'](_0x57bd('0x32'),_0x1b1cbf,{'priority':_0x57bd('0x12')}),_0x5a1790['on'](_0x57bd('0x18'),_0x1b1cbf,{'priority':_0x57bd('0x12')}),_0x56b108[_0x57bd('0x48')][_0x57bd('0x46')][_0x57bd('0x5e')](()=>{let _0x2c7fca=!0x1;const _0x24e7e7=Array[_0x57bd('0x41')](_0x56b108[_0x57bd('0x48')][_0x57bd('0x46')][_0x57bd('0x8d')][_0x57bd('0x8e')]());for(const {name:_0x1200f0,data:_0x2f0c3c}of _0x24e7e7){const {group:_0x5d5172,type:_0x2f5ce5,id:_0x529cac}=_0x5a1790['_splitMarkerName'](_0x1200f0);if(_0x57bd('0xaa')!=_0x5d5172||_0x57bd('0x4f')!=_0x2f5ce5||_0x2f0c3c[_0x57bd('0x2a')])continue;if(!_0x5a1790[_0x57bd('0x31')](_0x529cac))continue;const _0x25d6ae=_0x5a1790['getSuggestion'](_0x529cac)['getRanges'](),_0x2b56f0=_0x56b108[_0x57bd('0x23')][_0x57bd('0x62')](_0x57bd('0x1a'))['me'];for(const _0x2120ac of _0x5a1790[_0x57bd('0x79')]()){if(!_0x2120ac[_0x57bd('0x47')]||_0x2120ac[_0x57bd('0xb')]!=_0x2b56f0)continue;if(_0x57bd('0x51')!=_0x2120ac['type']||_0x57bd('0x65')!=_0x2120ac[_0x57bd('0x29')])continue;if(_0x2120ac[_0x57bd('0x75')]()[_0x57bd('0x89')](_0x379cff=>_0x25d6ae['some'](_0xbf0387=>_0xbf0387[_0x57bd('0x21')](_0x379cff,!0x0))))for(const _0x35ffa7 of _0x2120ac[_0x57bd('0x1e')]())_0x35ffa7['isInContent']&&(_0x35ffa7[_0x57bd('0xa8')](),_0x2c7fca=!0x0);}}return _0x2c7fca;}),_0x56b108['model']['document']['registerPostFixer'](_0x57a262=>{const _0x761eef=_0x56b108['commands'][_0x57bd('0x62')](_0x57bd('0x57'));if(!_0x761eef||!_0x761eef[_0x57bd('0x54')][_0x57bd('0x13')](_0x57a262[_0x57bd('0x25')]))return!0x1;let _0xd6aae=!0x1;const _0x13798f=_0x56b108[_0x57bd('0x23')][_0x57bd('0x62')]('Users')['me'],_0x2955d9=_0x56b108[_0x57bd('0x48')][_0x57bd('0x46')]['differ'][_0x57bd('0x91')](),_0xd5b0c5=Array[_0x57bd('0x41')](_0x56b108[_0x57bd('0x48')][_0x57bd('0x46')][_0x57bd('0x8d')][_0x57bd('0x8e')]())[_0x57bd('0x36')](({name:_0x16ec5f,data:_0x48cd01})=>{const {group:_0xdb4707,subType:_0x97ef22,authorId:_0x5bc97c}=_0x5a1790[_0x57bd('0x6c')](_0x16ec5f);return _0x57bd('0xaa')==_0xdb4707&&_0x57bd('0x60')==_0x97ef22&&_0x5bc97c==_0x13798f['id']&&!_0x48cd01[_0x57bd('0x2a')];});for(const _0x448876 of _0x2955d9){if(_0x57bd('0x6')!=_0x448876[_0x57bd('0x6f')]||_0x57bd('0x2d')!=_0x448876['name']||0x1!=_0x448876['length'])continue;const _0x5806e7=_0x57a262['createRange'](_0x448876[_0x57bd('0x2c')],_0x448876[_0x57bd('0x2c')][_0x57bd('0x10')](0x1));if(!_0xd5b0c5['find'](({data:_0x247093})=>_0x247093['newRange'][_0x57bd('0x7f')](_0x5806e7)))for(const {name:_0x404488,data:_0xd4943b}of _0xd5b0c5)if(_0x5806e7[_0x57bd('0x21')](_0xd4943b[_0x57bd('0x76')])){_0x57a262['updateMarker'](_0x404488,{'range':_0x5806e7}),_0xd6aae=!0x0;break;}}return _0xd6aae;}),_0x56b108[_0x57bd('0x48')][_0x57bd('0x46')][_0x57bd('0x5e')](_0x487917=>{let _0x1734c5=!0x1;const _0x5613aa=_0x56b108['plugins']['get'](_0x57bd('0x1a'))['me'],_0x1be407=_0x5a1790[_0x57bd('0x79')]()[_0x57bd('0x36')](_0x5f345a=>_0x5f345a['isInContent']&&_0x5f345a[_0x57bd('0xb')]==_0x5613aa),_0x237d92=new Set(),_0x43dbf0=new Set();for(const _0x24797a of _0x1be407)if(_0x57bd('0x60')==_0x24797a[_0x57bd('0x29')])for(const _0x53c82b of _0x24797a[_0x57bd('0x69')]()){const _0x14aaff=_0x53c82b[_0x57bd('0x24')]()[_0x57bd('0xa7')]();if(_0x14aaff){if(_0x14aaff['is'](_0x57bd('0x4e'),_0x57bd('0x2d'))&&ce(_0x14aaff)){_0x24797a['removeMarker'](_0x53c82b[_0x57bd('0x68')]),_0x237d92[_0x57bd('0x44')](_0x14aaff),_0x1734c5=!0x0;const _0x225edf=_0x14aaff[_0x57bd('0x82')],_0x2670e5=_0x14aaff[_0x57bd('0x53')],_0x165ff9=_0x225edf&&_0x225edf['is']('element',_0x57bd('0x2d')),_0x79aa6d=_0x2670e5&&_0x2670e5['is'](_0x57bd('0x4e'),'tableCellSuggestion');_0x165ff9&&!_0x237d92[_0x57bd('0x13')](_0x225edf)&&_0x43dbf0['add'](_0x225edf),_0x79aa6d&&!_0x237d92[_0x57bd('0x13')](_0x2670e5)&&_0x43dbf0[_0x57bd('0x44')](_0x2670e5);}else _0x14aaff['is'](_0x57bd('0x4e'),'paragraph')&&_0x14aaff[_0x57bd('0x7d')]&&(_0x24797a[_0x57bd('0x63')](_0x53c82b[_0x57bd('0x68')]),_0x1734c5=!0x0);}}else{if(_0x57bd('0x65')==_0x24797a[_0x57bd('0x29')]){if(!_0x24797a['attributes']||!_0x24797a['attributes'][_0x57bd('0x42')])continue;const _0xaf7de2=_0x24797a['attributes'][_0x57bd('0x3c')];if(_0xaf7de2&&Object[_0x57bd('0x19')](_0xaf7de2)['length'])continue;const _0x304dce=_0x24797a[_0x57bd('0x7b')][_0x57bd('0x42')];let _0x24684a=!0x0,_0xcfbce1=!0x0;for(const _0x16b92d of _0x1be407)if(_0x16b92d[_0x57bd('0x29')]&&_0x16b92d[_0x57bd('0x29')][_0x57bd('0x6e')](_0x57bd('0x60'))){if(!_0x16b92d['attributes'][_0x57bd('0x42')]){_0xcfbce1=!0x1;break;}if(_0x16b92d['id']!=_0x24797a['id']&&_0x16b92d[_0x57bd('0x7b')][_0x57bd('0x42')]==_0x304dce){_0x24684a=!0x1;break;}}_0xcfbce1&&_0x24684a&&(_0x24797a[_0x57bd('0x93')](),_0x1734c5=!0x0);}}for(const _0x3dd410 of _0x237d92)_0x487917['remove'](_0x3dd410);for(const _0x20adca of _0x43dbf0)_0x487917['unwrap'](_0x20adca);return _0x1734c5;}),_0x56b108[_0x57bd('0x3')][_0x57bd('0xf')](_0x57bd('0xa3'))[_0x57bd('0x9a')]({'model':_0x57bd('0x35'),'view':(_0x51fbaa,_0x5adc62)=>_0x545e57(_0x51fbaa),'converterPriority':_0x57bd('0x12')}),_0x56b108['conversion']['for'](_0x57bd('0x9c'))[_0x57bd('0x9a')]({'model':_0x57bd('0x35'),'view':(_0x250997,_0x3c1380)=>_0x3c1380[_0x57bd('0x2')][_0x57bd('0x40')]?_0x545e57(_0x250997,!0x1):null,'converterPriority':_0x57bd('0x12')});const _0x570ccb=_0x56b108[_0x57bd('0x97')]['view'];this['listenTo'](_0x570ccb['document'],_0x57bd('0x34'),(_0x2fb49b,_0x593735)=>{const _0x9a91c3=[];for(const _0x446d4a of _0x570ccb[_0x57bd('0x9e')](_0x593735[_0x57bd('0x3b')])[_0x57bd('0x4b')]())_0x446d4a['is']('element',_0x57bd('0x26'))&&_0x9a91c3['push'](_0x446d4a);_0x570ccb[_0x57bd('0x99')](_0x49e654=>{for(const _0xf32417 of _0x9a91c3)_0x49e654['move'](_0x49e654[_0x57bd('0x9e')](_0xf32417),_0x49e654[_0x57bd('0x66')](_0xf32417)),_0x49e654[_0x57bd('0xa0')](_0xf32417);});});}}function ce(_0x159949){if(_0x159949[_0x57bd('0x7d')])return!0x0;const _0x34a5fd=_0x159949['getChild'](0x0);return _0x34a5fd['is']('element',_0x57bd('0x98'))&&_0x34a5fd['isEmpty'];}function fe(_0x395f93,_0x316d28={},_0x2e090c){for(const {isAnchor:_0x886fd3,cellHeight:_0x4e085b,cellWidth:_0x4ba664}of _0x2e090c['createTableWalker'](_0x395f93,{'includeAllSlots':!0x0,..._0x316d28}))if(!_0x886fd3||0x1!=_0x4e085b||0x1!=_0x4ba664)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 _0x26a2=['accept','getTableColumnsWidths','resizeTable','TrackChangesEditing','formatBlock','handleResizeTableWidthCommand','handleSuggestionDescription','columnWidths','change','selection','document','author','editor','getContainedElement','getSuggestionCallback','afterInit','format','enableCommand','registerCustomCallback','bind','discard','resizeColumnWidths','model','get','Users','subType','*Format:*\x20resize\x20table','tableWidth','table','_suggestionFactory','resizeTableWidth','_descriptionFactory','getAttribute','TableColumnResizeEditing','has','plugins','getColumnGroupElement','locale','formatGroupId'];(function(_0x1e9fcb,_0x26a273){const _0x1f4f7c=function(_0x2b428f){while(--_0x2b428f){_0x1e9fcb['push'](_0x1e9fcb['shift']());}};_0x1f4f7c(++_0x26a273);}(_0x26a2,0xe4));const _0x1f4f=function(_0x1e9fcb,_0x26a273){_0x1e9fcb=_0x1e9fcb-0x0;let _0x1f4f7c=_0x26a2[_0x1e9fcb];return _0x1f4f7c;};import{Plugin as _0xab3633}from'ckeditor5/src/core';import{getTranslation as _0x3fb37d}from'../utils/common-translations';export default class wt extends _0xab3633{[_0x1f4f('0x15')](){if(!this[_0x1f4f('0x12')][_0x1f4f('0x2')][_0x1f4f('0x1')]('TableColumnResizeEditing'))return;const _0x3f6820=this[_0x1f4f('0x12')][_0x1f4f('0x2')][_0x1f4f('0x1d')]('TrackChangesEditing');_0x3f6820[_0x1f4f('0x17')](_0x1f4f('0x24'),this[_0x1f4f('0xb')][_0x1f4f('0x19')](this)),_0x3f6820['enableCommand'](_0x1f4f('0x1b'),this[_0x1f4f('0xb')]['bind'](this)),_0x3f6820['_suggestionFactory'][_0x1f4f('0x18')](_0x1f4f('0xa'),_0x1f4f('0x8'),'accept',_0x3f6820[_0x1f4f('0x23')][_0x1f4f('0x14')](_0x1f4f('0xa'),null,_0x1f4f('0x1a'))),_0x3f6820[_0x1f4f('0x23')]['registerCustomCallback'](_0x1f4f('0xa'),_0x1f4f('0x8'),'discard',_0x3f6820[_0x1f4f('0x23')][_0x1f4f('0x14')](_0x1f4f('0xa'),null,_0x1f4f('0x6'))),_0x3f6820[_0x1f4f('0x25')]['registerDescriptionCallback'](this['handleSuggestionDescription'][_0x1f4f('0x19')](this));}['handleResizeTableWidthCommand'](_0x546960,_0x29113e){const _0x2980c3=this[_0x1f4f('0x12')][_0x1f4f('0x2')][_0x1f4f('0x1d')](_0x1f4f('0x9')),_0xab64f7=this[_0x1f4f('0x12')][_0x1f4f('0x2')][_0x1f4f('0x1d')](_0x1f4f('0x0')),_0x4cb4a7=_0x29113e[_0x1f4f('0x22')]||this[_0x1f4f('0x12')]['model'][_0x1f4f('0x10')][_0x1f4f('0xf')]['getSelectedElement']();this[_0x1f4f('0x12')][_0x1f4f('0x1c')][_0x1f4f('0xe')](()=>{const _0x3df278=_0xab64f7[_0x1f4f('0x3')](_0x4cb4a7);let _0x3bc336=_0x3df278?_0xab64f7[_0x1f4f('0x7')](_0x3df278):null,_0x5c6dee=_0x4cb4a7[_0x1f4f('0x26')]('tableWidth')||null;const _0x55d30=_0x29113e[_0x1f4f('0x21')]||_0x5c6dee,_0x33cfa2=_0x29113e[_0x1f4f('0xd')]||_0x3bc336,_0x4cc43f=this[_0x1f4f('0x12')][_0x1f4f('0x2')][_0x1f4f('0x1d')](_0x1f4f('0x1e'))['me'];for(const _0x2c2db9 of _0x2980c3['getSuggestions']()){const _0x1457fc=_0x2c2db9[_0x1f4f('0x13')]();if('resizeTable'===_0x2c2db9[_0x1f4f('0x1f')]&&_0x1457fc===_0x4cb4a7){_0x2c2db9[_0x1f4f('0x11')]!==_0x4cc43f&&_0x2c2db9[_0x1f4f('0x1a')]();const _0x383d87=_0x2c2db9['data']['commandParams'];_0x5c6dee=_0x383d87[0x0][_0x1f4f('0x21')],_0x3bc336=_0x383d87[0x0][_0x1f4f('0xd')];break;}}_0x546960({'table':_0x4cb4a7,'tableWidth':_0x55d30,'columnWidths':_0x33cfa2}),_0x2980c3['markBlockFormat'](_0x4cb4a7,{'commandName':'resizeTableWidth','commandParams':[{'tableWidth':_0x5c6dee,'columnWidths':_0x3bc336}],'formatGroupId':_0x1f4f('0x8')},[],_0x1f4f('0x8'));});}[_0x1f4f('0xc')](_0x8c9c05){const {data:_0x166198}=_0x8c9c05;if(_0x166198&&_0x1f4f('0x8')===_0x166198[_0x1f4f('0x5')]){const _0x42a4d3=_0x1f4f('0x20');return{'type':_0x1f4f('0x16'),'content':_0x3fb37d(this['editor'][_0x1f4f('0x4')],_0x42a4d3)};}}}
@@ -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 _0x453a=['model','first','removeAttribute','createPositionBefore','showSuggestionHighlights','markerName','getSuggestion','getColumnIndexes','formatBlock','_descriptionFactory','nodeAfter','consume','getRowIndexes','editor','childCount','FORMAT_REGULAR_ROW','_splitMarkerName','headingRows','data','writer','item','setAttribute','data-suggestion','ck-suggestion-marker--active','TableEditing','setTableColumnHeader','markerRange','enableCommand','getAttribute','consumable','forceValue','format','parent','bindElementToMarker','downcastDispatcher','commandName','setTableRowHeader','addMarker:suggestion','name','createRange','stop','createTableWalker','end','markBlockFormat','ck-suggestion-marker-','FORMAT_HEADER_ROW','findAncestor','unbindElementFromMarkerName','last','registerCustomCallback','createPositionAfter','*Format:*\x20%0','selection','get','requires','nodeBefore','registerDescriptionCallback','isBefore','toViewElement','from','value','getCellLocation','cell','commandParams','document','removeMarker:suggestion','highest','removeClass','getChild','has','mapper','TableUtils','index','getSelectionAffectedTableCells','plugins','FORMAT_HEADER_COLUMN','FORMAT_REGULAR_COLUMN','TrackChangesEditing','markerNameToElements','afterInit'];(function(_0x424be1,_0x453aca){const _0x1ad02a=function(_0x32e402){while(--_0x32e402){_0x424be1['push'](_0x424be1['shift']());}};_0x1ad02a(++_0x453aca);}(_0x453a,0x17a));const _0x1ad0=function(_0x424be1,_0x453aca){_0x424be1=_0x424be1-0x0;let _0x1ad02a=_0x453a[_0x424be1];return _0x1ad02a;};import{Plugin as _0x461e0f}from'ckeditor5/src/core';import _0x33a2c0 from'./table';import{getTranslation as _0x11faa5}from'../utils/common-translations';export default class pt extends _0x461e0f{static get[_0x1ad0('0x4c')](){return[_0x33a2c0];}[_0x1ad0('0x15')](){const _0x493011=this[_0x1ad0('0x23')];if(!_0x493011[_0x1ad0('0x10')][_0x1ad0('0xb')](_0x1ad0('0x2e')))return;const _0xb11e6f=_0x493011['locale'],_0x360aed=_0x493011[_0x1ad0('0x10')][_0x1ad0('0x4b')](_0x1ad0('0x13')),_0x1880f1=_0x493011[_0x1ad0('0x10')][_0x1ad0('0x4b')](_0x1ad0('0xd')),_0x3368df=_0x493011[_0x1ad0('0x10')][_0x1ad0('0x4b')](_0x33a2c0);function _0x15ffe4({showActiveMarker:_0xb0fd5d=!0x0,setDataAttribute:_0x4bef4a=!0x0}={}){return(_0x20a2a8,_0x492ea1,_0x4cd438)=>{const {type:_0x1e9e36,id:_0x485d3f}=_0x360aed[_0x1ad0('0x26')](_0x492ea1[_0x1ad0('0x1b')]),_0x3bf2ac=_0x360aed['getSuggestion'](_0x485d3f);if(!_0x3bf2ac[_0x1ad0('0x28')]||'setTableColumnHeader'!=_0x3bf2ac[_0x1ad0('0x28')][_0x1ad0('0x39')])return;if(_0x492ea1[_0x1ad0('0x2a')])return void _0x20a2a8[_0x1ad0('0x3e')]();if(!_0x4cd438[_0x1ad0('0x33')][_0x1ad0('0x21')](_0x492ea1[_0x1ad0('0x30')],_0x20a2a8[_0x1ad0('0x3c')]))return;const _0x1c4148=_0x492ea1['markerRange']['start'][_0x1ad0('0x20')],_0x64e13=_0x492ea1[_0x1ad0('0x30')][_0x1ad0('0x40')][_0x1ad0('0x4d')],_0x4e87eb=_0x1c4148[_0x1ad0('0x36')]['parent'],{column:_0x1af414}=_0x1880f1[_0x1ad0('0x3')](_0x1c4148),{column:_0x3a4ca5}=_0x1880f1[_0x1ad0('0x3')](_0x64e13);for(let _0x5f5b98=_0x1af414;_0x5f5b98<=_0x3a4ca5;_0x5f5b98++){const _0x536d14=_0x1880f1[_0x1ad0('0x3f')](_0x4e87eb,{'column':_0x5f5b98,'includeAllSlots':!0x1});for(const _0x477bd2 of _0x536d14){const _0x28d8e6=_0x477bd2[_0x1ad0('0x4')],_0x3d9847=_0x4cd438[_0x1ad0('0xc')][_0x1ad0('0x0')](_0x28d8e6);_0x4cd438[_0x1ad0('0x29')]['addClass'](_0x1ad0('0x42')+_0x1e9e36,_0x3d9847),_0x4bef4a&&_0x4cd438[_0x1ad0('0x29')][_0x1ad0('0x2b')](_0x1ad0('0x2c'),_0x485d3f,_0x3d9847),_0x4cd438[_0x1ad0('0xc')][_0x1ad0('0x37')](_0x3d9847,_0x492ea1[_0x1ad0('0x1b')]),_0xb0fd5d&&(_0x360aed['activeMarkers']['includes'](_0x492ea1[_0x1ad0('0x1b')])?_0x4cd438[_0x1ad0('0x29')]['addClass'](_0x1ad0('0x2d'),_0x3d9847):_0x4cd438[_0x1ad0('0x29')]['removeClass'](_0x1ad0('0x2d'),_0x3d9847));}}};}_0x360aed[_0x1ad0('0x31')](_0x1ad0('0x3a'),(_0x3fdcf8,_0x2fbe18)=>{const _0x5ace7e=_0x1880f1[_0x1ad0('0xf')](_0x493011[_0x1ad0('0x16')][_0x1ad0('0x6')][_0x1ad0('0x4a')]),_0x370546=_0x1880f1[_0x1ad0('0x22')](_0x5ace7e),_0x4cca61=_0x5ace7e[0x0]['findAncestor']('table'),_0x450221=_0x4cca61[_0x1ad0('0x32')](_0x1ad0('0x27'))||0x0,_0x5e5e5b=_0x2fbe18&&null!==_0x2fbe18[_0x1ad0('0x34')]?_0x2fbe18[_0x1ad0('0x34')]:!_0x493011['commands'][_0x1ad0('0x4b')]('setTableRowHeader')[_0x1ad0('0x2')],_0x39d3c8=_0x5e5e5b?_0x370546[_0x1ad0('0x46')]:_0x370546[_0x1ad0('0x17')],_0xcb2fbc=_0x4cca61[_0x1ad0('0xa')](_0x39d3c8);let _0x17b0f8;if(_0x5e5e5b){const _0x193edf=_0x4cca61[_0x1ad0('0xa')](_0x450221);if(_0xcb2fbc[_0x1ad0('0xe')]<_0x193edf[_0x1ad0('0xe')])return;_0x17b0f8=_0x493011['model'][_0x1ad0('0x3d')](_0x493011[_0x1ad0('0x16')][_0x1ad0('0x19')](_0x193edf[_0x1ad0('0xa')](0x0)),_0x493011[_0x1ad0('0x16')][_0x1ad0('0x48')](_0xcb2fbc[_0x1ad0('0xa')](_0xcb2fbc['childCount']-0x1)));}else{const _0x22e195=_0x4cca61[_0x1ad0('0xa')](_0x450221-0x1);if(!_0x22e195)return;_0x17b0f8=_0x493011[_0x1ad0('0x16')]['createRange'](_0x493011['model']['createPositionBefore'](_0xcb2fbc[_0x1ad0('0xa')](0x0)),_0x493011['model'][_0x1ad0('0x48')](_0x22e195[_0x1ad0('0xa')](_0x22e195[_0x1ad0('0x24')]-0x1)));}_0x493011[_0x1ad0('0x16')]['change'](()=>{_0x360aed[_0x1ad0('0x41')](_0x17b0f8,{'commandName':'setTableRowHeader','commandParams':[{'forceValue':_0x5e5e5b}]},[],_0x1ad0('0x3a'));});}),_0x360aed[_0x1ad0('0x31')](_0x1ad0('0x2f'),(_0x2b4379,_0x2f153b)=>{const _0x35e41e=_0x493011['plugins'][_0x1ad0('0x4b')](_0x1ad0('0xd')),_0x4e02b4=_0x35e41e['getSelectionAffectedTableCells'](_0x493011[_0x1ad0('0x16')]['document'][_0x1ad0('0x4a')]),_0x2a8c94=_0x35e41e[_0x1ad0('0x1d')](_0x4e02b4),_0x2409b4=_0x4e02b4[0x0][_0x1ad0('0x44')]('table'),_0x528bfa=_0x2409b4[_0x1ad0('0x32')]('headingColumns')||0x0,_0x4c4e5a=_0x2f153b&&null!==_0x2f153b[_0x1ad0('0x34')]?_0x2f153b[_0x1ad0('0x34')]:!_0x493011['commands'][_0x1ad0('0x4b')]('setTableColumnHeader')[_0x1ad0('0x2')];let _0x4d186e;const _0x2c19d9=_0x2409b4[_0x1ad0('0xa')](0x0),_0xc0c7ae=_0x4c4e5a?_0x2a8c94[_0x1ad0('0x46')]:_0x2a8c94[_0x1ad0('0x17')],_0x540174=_0x35e41e['createTableWalker'](_0x2409b4,{'startRow':0x0,'column':_0xc0c7ae,'includeAllSlots':!0x1}),_0x38f966=Array[_0x1ad0('0x1')](_0x540174)[0x0][_0x1ad0('0x4')];if(_0x4c4e5a){const _0x2bb47e=_0x2c19d9[_0x1ad0('0xa')](_0x528bfa);if(_0x38f966[_0x1ad0('0x4f')](_0x2bb47e))return;_0x4d186e=_0x493011['model'][_0x1ad0('0x3d')](_0x493011[_0x1ad0('0x16')][_0x1ad0('0x19')](_0x2bb47e),_0x493011[_0x1ad0('0x16')]['createPositionAfter'](_0x38f966));}else{const _0x4ca06f=_0x2c19d9[_0x1ad0('0xa')](_0x528bfa-0x1);if(!_0x4ca06f)return;_0x4d186e=_0x493011[_0x1ad0('0x16')][_0x1ad0('0x3d')](_0x493011[_0x1ad0('0x16')]['createPositionBefore'](_0x38f966),_0x493011[_0x1ad0('0x16')][_0x1ad0('0x48')](_0x4ca06f));}_0x493011[_0x1ad0('0x16')]['change'](()=>{_0x360aed[_0x1ad0('0x41')](_0x4d186e,{'commandName':_0x1ad0('0x2f'),'commandParams':[{'forceValue':_0x4c4e5a}]},[],_0x1ad0('0x2f'));});}),_0x493011['editing'][_0x1ad0('0x38')]['on']('addMarker:suggestion',_0x15ffe4(),{'priority':_0x1ad0('0x8')}),_0x493011[_0x1ad0('0x28')]['downcastDispatcher']['on'](_0x1ad0('0x3b'),(_0x1c289f,_0x604da,_0x26327f)=>{_0x26327f['options'][_0x1ad0('0x1a')]&&_0x15ffe4({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x1c289f,_0x604da,_0x26327f);},{'priority':_0x1ad0('0x8')}),_0x493011['editing']['downcastDispatcher']['on'](_0x1ad0('0x7'),(_0x4a8f76,_0x2baeff,_0x506f5a)=>{const {type:_0x1d61f1,id:_0xae08f1}=_0x360aed['_splitMarkerName'](_0x2baeff[_0x1ad0('0x1b')]),_0x4178fd=_0x360aed[_0x1ad0('0x1c')](_0xae08f1);if(!_0x4178fd[_0x1ad0('0x28')]||'setTableColumnHeader'!=_0x4178fd[_0x1ad0('0x28')]['commandName'])return;const _0x2adeaf=_0x506f5a[_0x1ad0('0xc')][_0x1ad0('0x14')](_0x2baeff['markerName']);if(_0x2adeaf)for(const _0x4bd8c2 of _0x2adeaf)_0x506f5a[_0x1ad0('0x29')][_0x1ad0('0x9')](_0x1ad0('0x42')+_0x1d61f1,_0x4bd8c2),_0x506f5a[_0x1ad0('0x29')][_0x1ad0('0x9')](_0x1ad0('0x2d'),_0x4bd8c2),_0x506f5a[_0x1ad0('0x29')][_0x1ad0('0x18')](_0x1ad0('0x2c'),_0x4bd8c2),_0x506f5a[_0x1ad0('0xc')][_0x1ad0('0x45')](_0x4bd8c2,_0x2baeff[_0x1ad0('0x1b')]);},{'priority':_0x1ad0('0x8')}),_0x360aed[_0x1ad0('0x1f')][_0x1ad0('0x4e')](_0x3f58c1=>{const {data:_0x428b3c}=_0x3f58c1;if(_0x428b3c){if(_0x1ad0('0x3a')==_0x428b3c[_0x1ad0('0x39')]){const _0x2d3c14=_0x428b3c[_0x1ad0('0x5')][0x0][_0x1ad0('0x34')];return _0x41d208(_0x11faa5(_0xb11e6f,_0x2d3c14?_0x1ad0('0x43'):_0x1ad0('0x25')));}if(_0x1ad0('0x2f')==_0x428b3c[_0x1ad0('0x39')]){const _0x1e15d9=_0x428b3c[_0x1ad0('0x5')][0x0]['forceValue'];return _0x41d208(_0x11faa5(_0xb11e6f,_0x1e15d9?_0x1ad0('0x11'):_0x1ad0('0x12')));}}function _0x41d208(_0x3f2c16){return{'type':_0x1ad0('0x35'),'content':_0x11faa5(_0xb11e6f,_0x1ad0('0x49'),_0x3f2c16)};}});const _0x2f9bd9=_0x3368df['_acceptFormatSuggestionCallbackFactory']();_0x360aed['_suggestionFactory'][_0x1ad0('0x47')](_0x1ad0('0x1e'),_0x1ad0('0x3a'),'accept',_0x2f9bd9),_0x360aed['_suggestionFactory'][_0x1ad0('0x47')](_0x1ad0('0x1e'),_0x1ad0('0x2f'),'accept',_0x2f9bd9);}}
@@ -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 _0x44dd=['has','stop','createRangeOn','commands','length','mergeTableCellLeft','trackChanges','add','_areMergableCells','map','commandName','mergeTableCellDown','get','rootName','horizontally','markMultiRangeBlockFormat','splitTableCellVertically','editor','_descriptionFactory','_areSelectedCellsMergable','formatBlock','model','afterInit','getSelectionAffectedTableCells','$graveyard','enableCommand','splitTableCellHorizontally','getSuggestions','getAncestors','size','TrackChangesEditing','refresh','*Merge\x20cells*','direction','tableCell','isInContent','from','registerCustomCallback','table','detach','requires','isEnabled','TableEditing','value','locale','insertion','findAncestor','type','getRanges','push','_isForcedDefaultExecutionBlock','element','low','mergeTableCells','root','highest','createTableWalker','filter','accept','format','setSelection','selection','TableUtils','deletion','change','find','registerDescriptionCallback','containsRange','cell','fromRange','document','forceDefaultExecution','plugins','_tablePostFixingSubtypes','getCellLocation','mergeTableCellRight','*Split\x20cell:*\x20horizontally','getFirstPosition','author','_suggestionFactory','return','_acceptFormatSuggestionCallbackFactory'];(function(_0x479c4d,_0x44ddcf){const _0x257672=function(_0xef651c){while(--_0xef651c){_0x479c4d['push'](_0x479c4d['shift']());}};_0x257672(++_0x44ddcf);}(_0x44dd,0x191));const _0x2576=function(_0x479c4d,_0x44ddcf){_0x479c4d=_0x479c4d-0x0;let _0x257672=_0x44dd[_0x479c4d];return _0x257672;};import{Plugin as _0xfe5ebc}from'ckeditor5/src/core';import _0x535eb2 from'./table';import{LiveRange as _0x5078c4}from'ckeditor5/src/engine';import{getTranslation as _0x12d9d7}from'../utils/common-translations';export default class dt extends _0xfe5ebc{static get[_0x2576('0x31')](){return[_0x535eb2];}[_0x2576('0x1f')](){const _0x3b11e6=this['editor'],_0x229ac2=_0x3b11e6[_0x2576('0x1e')][_0x2576('0x4f')][_0x2576('0x46')],_0xe7180d=_0x3b11e6[_0x2576('0x35')];if(!_0x3b11e6[_0x2576('0x51')][_0x2576('0x9')](_0x2576('0x33')))return;const _0x130224=_0x3b11e6[_0x2576('0x51')][_0x2576('0x15')]('TrackChangesEditing'),_0x227a01=_0x3b11e6['plugins']['get'](_0x2576('0x47')),_0x4c7365=_0x3b11e6[_0x2576('0x51')][_0x2576('0x15')](_0x535eb2);_0x4c7365[_0x2576('0x0')][_0x2576('0x3a')](_0x2576('0x3e')),_0x130224[_0x2576('0x22')](_0x2576('0x3e'),()=>{const _0x4ea996=_0x227a01[_0x2576('0x20')](_0x3b11e6[_0x2576('0x1e')]['document'][_0x2576('0x46')]);_0x3b11e6['model']['change'](()=>{_0x130224[_0x2576('0x18')](_0x4ea996,{'commandName':_0x2576('0x3e'),'commandParams':[]},[],_0x2576('0x3e'));});}),_0x3b11e6[_0x2576('0xc')]['get'](_0x2576('0x3e'))['on']('execute',(_0x5872d0,_0x285dd8)=>{_0x3b11e6[_0x2576('0xc')][_0x2576('0x15')](_0x2576('0xf'))[_0x2576('0x34')]&&(_0x285dd8[_0x2576('0xd')]>0x0&&_0x285dd8[_0x285dd8['length']-0x1]&&_0x285dd8[_0x285dd8[_0x2576('0xd')]-0x1][_0x2576('0x50')]||_0x130224[_0x2576('0x3b')]||this[_0x2576('0x1c')]()||_0x5872d0[_0x2576('0xa')]());},{'priority':_0x2576('0x40')});for(const _0x4ff5e8 of['mergeTableCellUp',_0x2576('0x2'),_0x2576('0x14'),_0x2576('0xe')]){const _0x1744f1=_0x3b11e6['commands']['get'](_0x4ff5e8);_0x130224['enableCommand'](_0x4ff5e8,()=>{const _0x405396=_0x3b11e6[_0x2576('0x1e')][_0x2576('0x4f')][_0x2576('0x46')][_0x2576('0x4')]()['getAncestors']()[_0x2576('0x4a')](_0x5cd6ee=>_0x5cd6ee['is']('element',_0x2576('0x2b'))),_0x4bcf2b=_0x1744f1[_0x2576('0x34')];_0x3b11e6[_0x2576('0x1e')]['change'](()=>{_0x130224[_0x2576('0x18')]([_0x405396,_0x4bcf2b],{'commandName':_0x2576('0x3e'),'commandParams':[]},[],_0x2576('0x3e'));});});}for(const _0x40b8cb of[_0x2576('0x19'),_0x2576('0x23')]){const _0x41797c=_0x3b11e6[_0x2576('0xc')][_0x2576('0x15')](_0x40b8cb);_0x130224[_0x2576('0x22')](_0x40b8cb,()=>{const _0x337f39=_0x227a01[_0x2576('0x20')](_0x3b11e6[_0x2576('0x1e')][_0x2576('0x4f')][_0x2576('0x46')])[0x0],_0xf34829=_0x337f39[_0x2576('0x37')](_0x2576('0x2f')),{column:_0x35dd48,row:_0x1ce950}=_0x227a01[_0x2576('0x1')](_0x337f39);let _0x37d3eb=[];if(_0x2576('0x17')==_0x41797c[_0x2576('0x2a')]){const _0x2cd86b=_0x227a01[_0x2576('0x41')](_0xf34829,{'startRow':_0x1ce950,'endRow':_0x1ce950,'includeAllSlots':!0x0});_0x37d3eb=Array['from'](_0x2cd86b)['map'](_0x1faff2=>_0x1faff2[_0x2576('0x4d')]);}else{const _0x3c980c=_0x227a01['createTableWalker'](_0xf34829,{'column':_0x35dd48,'includeAllSlots':!0x0});_0x37d3eb=Array[_0x2576('0x2d')](_0x3c980c)[_0x2576('0x12')](_0xde8c46=>_0xde8c46[_0x2576('0x4d')]);}_0x3b11e6['model'][_0x2576('0x49')](_0x1f66a3=>{_0x130224['markBlockFormat'](_0x1f66a3[_0x2576('0xb')](_0x337f39),{'commandName':_0x40b8cb,'commandParams':[]},_0x37d3eb,_0x40b8cb);});});}_0x130224[_0x2576('0x1b')][_0x2576('0x4b')](_0x506cd0=>{const {data:_0x1b31c3}=_0x506cd0;if(_0x1b31c3)return _0x2576('0x3e')==_0x1b31c3[_0x2576('0x13')]?{'type':_0x2576('0x44'),'content':_0x12d9d7(_0xe7180d,_0x2576('0x29'))}:void 0x0;}),_0x130224['_descriptionFactory']['registerDescriptionCallback'](_0x33ec99=>{const {data:_0x3ddf5c}=_0x33ec99;if(_0x3ddf5c)return _0x2576('0x19')==_0x3ddf5c['commandName']?{'type':_0x2576('0x44'),'content':_0x12d9d7(_0xe7180d,'*Split\x20cell:*\x20vertically')}:_0x2576('0x23')==_0x3ddf5c[_0x2576('0x13')]?{'type':_0x2576('0x44'),'content':_0x12d9d7(_0xe7180d,_0x2576('0x3'))}:void 0x0;});const _0x4e65d5=_0x4c7365[_0x2576('0x8')]();for(const _0x53e0b6 of['mergeTableCellUp',_0x2576('0x2'),_0x2576('0x14'),_0x2576('0xe')])_0x130224[_0x2576('0x6')][_0x2576('0x2e')](_0x2576('0x1d'),_0x53e0b6,_0x2576('0x43'),_0x4e65d5);for(const _0x45acdc of[_0x2576('0x19'),'splitTableCellHorizontally'])_0x130224[_0x2576('0x6')][_0x2576('0x2e')](_0x2576('0x1d'),_0x45acdc,_0x2576('0x43'),_0x4e65d5);_0x130224[_0x2576('0x6')][_0x2576('0x2e')](_0x2576('0x1d'),_0x2576('0x3e'),_0x2576('0x43'),_0x53c988=>{_0x3b11e6[_0x2576('0x1e')][_0x2576('0x49')](_0x128dae=>{const _0x1e0a09=Array['from'](_0x229ac2['getRanges']())[_0x2576('0x12')](_0x4679ee=>_0x5078c4[_0x2576('0x4e')](_0x4679ee));_0x128dae['setSelection'](_0x53c988),_0x3b11e6[_0x2576('0xc')][_0x2576('0x15')]('mergeTableCells')[_0x2576('0x28')](),_0x3b11e6['execute'](_0x2576('0x3e'),{'forceDefaultExecution':!0x0});const _0x5dd3d4=_0x1e0a09[_0x2576('0x42')](_0x1fa5db=>_0x2576('0x21')!=_0x1fa5db[_0x2576('0x3f')][_0x2576('0x16')]);_0x5dd3d4[_0x2576('0xd')]>0x0&&_0x128dae[_0x2576('0x45')](_0x5dd3d4);for(const _0x189f63 of _0x1e0a09)_0x189f63[_0x2576('0x30')]();});});for(const _0x5802dd of['mergeTableCellUp',_0x2576('0x14'),_0x2576('0xe'),_0x2576('0x2')]){const _0x1c71d7=_0x3b11e6[_0x2576('0xc')][_0x2576('0x15')](_0x5802dd);_0x1c71d7['on']('set:isEnabled',(_0x3f42cf,_0x3483af,_0x29b85f)=>{if(_0x29b85f){const _0x46bc42=_0x3b11e6[_0x2576('0x1e')][_0x2576('0x4f')][_0x2576('0x46')][_0x2576('0x4')]()[_0x2576('0x25')]()[_0x2576('0x4a')](_0x2d3075=>_0x2d3075['is'](_0x2576('0x3c'),_0x2576('0x2b')));this[_0x2576('0x11')](_0x1c71d7[_0x2576('0x34')],_0x46bc42)||(_0x3f42cf[_0x2576('0x7')]=!0x1,_0x3f42cf['stop']());}},{'priority':_0x2576('0x3d')});}}['_areSelectedCellsMergable'](){const _0x55f29b=this[_0x2576('0x1a')][_0x2576('0xc')][_0x2576('0x15')]('mergeTableCells'),_0x3ffe2c=this[_0x2576('0x1a')][_0x2576('0x51')]['get'](_0x2576('0x47'));if(!_0x55f29b[_0x2576('0x32')])return!0x1;const _0x30bc5a=_0x3ffe2c['getSelectionAffectedTableCells'](this[_0x2576('0x1a')][_0x2576('0x1e')][_0x2576('0x4f')]['selection']);for(const _0x6680fe of _0x30bc5a)for(const _0x88c5fb of _0x30bc5a)if(_0x6680fe!=_0x88c5fb&&!this[_0x2576('0x11')](_0x6680fe,_0x88c5fb))return!0x1;return!0x0;}['_areMergableCells'](_0x3e2cf3,_0x43cf65){const _0x301d84=this[_0x2576('0x1a')][_0x2576('0x51')][_0x2576('0x15')](_0x2576('0x27')),_0x482386=this[_0x2576('0x1a')][_0x2576('0x1e')]['createRangeOn'](_0x3e2cf3),_0x1676af=this[_0x2576('0x1a')][_0x2576('0x1e')][_0x2576('0xb')](_0x43cf65),_0x5ccaaa=new Set(),_0x38421b=new Set();for(const _0x2e44f0 of _0x301d84[_0x2576('0x24')]())if((_0x2576('0x36')==_0x2e44f0[_0x2576('0x38')]||_0x2576('0x48')==_0x2e44f0[_0x2576('0x38')]||_0x2576('0x3e')==_0x2e44f0['subType'])&&_0x2e44f0[_0x2576('0x2c')])for(const _0x258fdf of _0x2e44f0[_0x2576('0x39')]())_0x258fdf[_0x2576('0x4c')](_0x482386,!0x0)&&_0x5ccaaa[_0x2576('0x10')](_0x2e44f0[_0x2576('0x38')]+':'+_0x2e44f0[_0x2576('0x5')]['id']),_0x258fdf[_0x2576('0x4c')](_0x1676af,!0x0)&&_0x38421b[_0x2576('0x10')](_0x2e44f0[_0x2576('0x38')]+':'+_0x2e44f0[_0x2576('0x5')]['id']);if(_0x5ccaaa[_0x2576('0x26')]!=_0x38421b['size'])return!0x1;for(const _0x23a818 of _0x5ccaaa)if(!_0x38421b[_0x2576('0x9')](_0x23a818))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 _0x2c86=['get','tableOfContents','editor','plugins','ELEMENT_TABLE_OF_CONTENTS','_descriptionFactory','registerElementLabel','afterInit','insertTableOfContents','TrackChangesEditing','enableCommand'];(function(_0x59d945,_0x2c8647){const _0x4f10bf=function(_0x1a3b83){while(--_0x1a3b83){_0x59d945['push'](_0x59d945['shift']());}};_0x4f10bf(++_0x2c8647);}(_0x2c86,0x1dd));const _0x4f10=function(_0x59d945,_0x2c8647){_0x59d945=_0x59d945-0x0;let _0x4f10bf=_0x2c86[_0x59d945];return _0x4f10bf;};import{Plugin as _0x2a75a8}from'ckeditor5/src/core';import{getTranslation as _0x3f1324}from'../utils/common-translations';export default class bt extends _0x2a75a8{[_0x4f10('0x3')](){const _0x541f31=this[_0x4f10('0x9')];if(!_0x541f31['commands'][_0x4f10('0x7')]('insertTableOfContents'))return;_0x541f31[_0x4f10('0xa')]['get'](_0x4f10('0x5'))[_0x4f10('0x6')](_0x4f10('0x4'));const _0x47563a=_0x541f31['plugins']['get'](_0x4f10('0x5')),_0x4a30f2=_0x541f31['locale'];_0x47563a[_0x4f10('0x1')][_0x4f10('0x2')](_0x4f10('0x8'),_0x52fb86=>_0x3f1324(_0x4a30f2,_0x4f10('0x0'),_0x52fb86));}}
@@ -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 _0x44e7=['TrackChangesTableProperties','TablePropertiesEditing','selection','tableCellBorderStyle','handleDiscardAction','change','model','accept','plugins','tableCellProperties','enableCommand','getContainedElement','TrackChangesEditing','enqueueChange','registerCustomCallback','tableProperties','_suggestionFactory','afterInit','formatBlock','has','nodeAfter','start','_getSuggestion','batch','tableBorderStyle','removeAttribute','*Format:*\x20change\x20table\x20properties','tableCellHorizontalAlignment','data','getSelectionAffectedTableCells','discard','editor','getSuggestionCallback','format','handleSuggestionDescription','getFirstPosition','document','join','tableHeight','*Format:*\x20change\x20table\x20cell\x20properties','getSuggestions','commandParams','registerDescriptionCallback','get','findAncestor','getAttribute','tableCellHeight','pluginName','_handlePropertyChange','TableUtils','tableBorderWidth','_descriptionFactory','TableCellPropertiesEditing','table','tableAlignment','tableBorderColor'];(function(_0x44a92d,_0x44e766){const _0x485e64=function(_0x5b1540){while(--_0x5b1540){_0x44a92d['push'](_0x44a92d['shift']());}};_0x485e64(++_0x44e766);}(_0x44e7,0x184));const _0x485e=function(_0x44a92d,_0x44e766){_0x44a92d=_0x44a92d-0x0;let _0x485e64=_0x44e7[_0x44a92d];return _0x485e64;};import{Plugin as _0xa8e360}from'ckeditor5/src/core';import{getTranslation as _0x18a71a}from'../utils/common-translations';export default class Ct extends _0xa8e360{constructor(_0x295103){super(_0x295103),this[_0x485e('0x13')]=[_0x485e('0x3'),_0x485e('0x1c'),_0x485e('0x36'),_0x485e('0x2'),'tableWidth',_0x485e('0x2a'),'tableBackgroundColor'],this[_0x485e('0xd')]=['tableCellBorderColor',_0x485e('0x7'),'tableCellBorderWidth','tableCellPadding','tableCellWidth',_0x485e('0x32'),'tableCellBackgroundColor',_0x485e('0x1f'),'tableCellVerticalAlignment'];}static get[_0x485e('0x33')](){return _0x485e('0x4');}[_0x485e('0x15')](){const _0x23ca5e=this[_0x485e('0x23')]['plugins'][_0x485e('0x2f')](_0x485e('0x10'));if(this[_0x485e('0x23')][_0x485e('0xc')][_0x485e('0x17')](_0x485e('0x5'))){for(const _0x27d4ff of this[_0x485e('0x13')])_0x23ca5e[_0x485e('0xe')](_0x27d4ff,(_0x3250b8,_0x55f6bc)=>{const _0x60cd33=this['editor'][_0x485e('0xa')][_0x485e('0x28')][_0x485e('0x6')][_0x485e('0x27')]()[_0x485e('0x30')](_0x485e('0x1'));this[_0x485e('0x34')](_0x27d4ff,[_0x60cd33],this[_0x485e('0x13')],_0x485e('0x13'),_0x3250b8,_0x55f6bc);});_0x23ca5e[_0x485e('0x14')]['registerCustomCallback'](_0x485e('0x16'),_0x485e('0x13'),'accept',_0x23ca5e['_suggestionFactory'][_0x485e('0x24')]('formatBlock',null,_0x485e('0x22'))),_0x23ca5e[_0x485e('0x14')]['registerCustomCallback'](_0x485e('0x16'),'tableProperties','discard',(_0x435b92,_0x479dcb)=>this[_0x485e('0x8')](this[_0x485e('0x13')],_0x435b92,_0x479dcb)),_0x23ca5e[_0x485e('0x14')][_0x485e('0x12')](_0x485e('0x16'),'tableProperties','join',()=>!0x1);}if(this[_0x485e('0x23')]['plugins'][_0x485e('0x17')](_0x485e('0x0'))){for(const _0x3df895 of this[_0x485e('0xd')])_0x23ca5e[_0x485e('0xe')](_0x3df895,(_0x47f6b1,_0x2994a3)=>{const _0x5922b1=this[_0x485e('0x23')][_0x485e('0xc')]['get'](_0x485e('0x35'))[_0x485e('0x21')](this[_0x485e('0x23')][_0x485e('0xa')][_0x485e('0x28')][_0x485e('0x6')]);this[_0x485e('0x34')](_0x3df895,_0x5922b1,this[_0x485e('0xd')],_0x485e('0xd'),_0x47f6b1,_0x2994a3);});_0x23ca5e[_0x485e('0x14')][_0x485e('0x12')](_0x485e('0x16'),_0x485e('0xd'),_0x485e('0xb'),_0x23ca5e['_suggestionFactory'][_0x485e('0x24')](_0x485e('0x16'),null,_0x485e('0x22'))),_0x23ca5e[_0x485e('0x14')][_0x485e('0x12')](_0x485e('0x16'),'tableCellProperties',_0x485e('0x22'),(_0x3ecc07,_0x5b657c)=>this['handleDiscardAction'](this['tableCellProperties'],_0x3ecc07,_0x5b657c)),_0x23ca5e['_suggestionFactory']['registerCustomCallback'](_0x485e('0x16'),_0x485e('0xd'),_0x485e('0x29'),()=>!0x1);}_0x23ca5e[_0x485e('0x37')][_0x485e('0x2e')](_0x52f9d3=>this[_0x485e('0x26')](_0x52f9d3));}[_0x485e('0x34')](_0x5d13b2,_0x5a862e,_0x2628fe,_0x244ac4,_0x132bc5,_0x444798){const _0x4d77b6=this['editor']['plugins'][_0x485e('0x2f')](_0x485e('0x10'));this['editor'][_0x485e('0xa')][_0x485e('0x11')](_0x444798[_0x485e('0x1b')],()=>{for(const _0x45e19d of _0x5a862e){if(this[_0x485e('0x1a')](_0x45e19d,_0x244ac4))_0x132bc5(_0x444798);else{const _0x1eaf3a={};for(const _0x5e6b7d of _0x2628fe){const _0x36d230=_0x45e19d[_0x485e('0x31')](_0x5e6b7d);void 0x0!==_0x36d230&&(_0x1eaf3a[_0x5e6b7d]=_0x36d230);}_0x132bc5(_0x444798),_0x4d77b6['markBlockFormat'](_0x45e19d,{'commandParams':[_0x1eaf3a]},[],_0x244ac4);}}});}[_0x485e('0x8')](_0x179490,_0x5e1437,_0x1fdfb9){const _0x549166=_0x5e1437[0x0][_0x485e('0x19')][_0x485e('0x18')],_0x4d9414=_0x1fdfb9[_0x485e('0x2d')][0x0];this[_0x485e('0x23')]['model'][_0x485e('0x9')](_0x49363b=>{for(const _0x1c01a2 of _0x179490)void 0x0!==_0x4d9414[_0x1c01a2]?_0x49363b['setAttribute'](_0x1c01a2,_0x4d9414[_0x1c01a2],_0x549166):_0x49363b[_0x485e('0x1d')](_0x1c01a2,_0x549166);});}[_0x485e('0x26')](_0x46ef93){if(_0x46ef93[_0x485e('0x20')])switch(_0x46ef93['subType']){case _0x485e('0x13'):return{'type':_0x485e('0x25'),'content':_0x18a71a(this[_0x485e('0x23')]['locale'],_0x485e('0x1e'))};case'tableCellProperties':return{'type':_0x485e('0x25'),'content':_0x18a71a(this['editor']['locale'],_0x485e('0x2b'))};}}[_0x485e('0x1a')](_0x5e96f,_0x302fed){const _0x3d0d2b=this[_0x485e('0x23')]['plugins'][_0x485e('0x2f')](_0x485e('0x10'));for(const _0x3bbbfe of _0x3d0d2b[_0x485e('0x2c')]({'skipNotAttached':!0x0})){const _0x25f104=_0x3bbbfe[_0x485e('0xf')]();if(_0x3bbbfe['subType']===_0x302fed&&_0x25f104===_0x5e96f)return _0x3bbbfe;}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 _0x8ee2=['has','insertTemplate','editor','enableCommand','Template','plugins'];(function(_0x332710,_0x8ee2b5){const _0x14a706=function(_0x23bb8e){while(--_0x23bb8e){_0x332710['push'](_0x332710['shift']());}};_0x14a706(++_0x8ee2b5);}(_0x8ee2,0x13b));const _0x14a7=function(_0x332710,_0x8ee2b5){_0x332710=_0x332710-0x0;let _0x14a706=_0x8ee2[_0x332710];return _0x14a706;};import{Plugin as _0x5c64b0}from'ckeditor5/src/core';export default class yt extends _0x5c64b0{['afterInit'](){const _0x43f025=this[_0x14a7('0x5')];_0x43f025['plugins'][_0x14a7('0x3')](_0x14a7('0x1'))&&_0x43f025[_0x14a7('0x2')]['get']('TrackChangesEditing')[_0x14a7('0x0')](_0x14a7('0x4'));}}
@@ -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 _0x4100=['has','title-content','nodeBefore','document','get','start','suggestion','editor','isCollapsed','plugins','from','getChangedMarkers','getNearestSelectionRange','differ','schema','newRange','removeMarker','end','TrackChangesEditing','updateMarker','Title','forward','registerElementLabel','ELEMENT_TITLE','createRange','registerPostFixer','_descriptionFactory','model','isEqual'];(function(_0x1af08a,_0x4100e8){const _0x223528=function(_0x54ac90){while(--_0x54ac90){_0x1af08a['push'](_0x1af08a['shift']());}};_0x223528(++_0x4100e8);}(_0x4100,0xd5));const _0x2235=function(_0x1af08a,_0x4100e8){_0x1af08a=_0x1af08a-0x0;let _0x223528=_0x4100[_0x1af08a];return _0x223528;};import{Plugin as _0x34e0b3}from'ckeditor5/src/core';import{getTranslation as _0x123557}from'../utils/common-translations';export default class St extends _0x34e0b3{['afterInit'](){const _0x377c05=this[_0x2235('0x1a')];if(!_0x377c05[_0x2235('0x1c')][_0x2235('0x13')](_0x2235('0xa')))return;const _0x5051f9=_0x377c05[_0x2235('0x1c')][_0x2235('0x17')](_0x2235('0x8'));_0x5051f9[_0x2235('0x10')][_0x2235('0xc')](_0x2235('0x14'),()=>_0x123557(_0x377c05['locale'],_0x2235('0xd'))),_0x377c05[_0x2235('0x11')][_0x2235('0x16')][_0x2235('0xf')](_0x4933f8=>{let _0x5a9bef=!0x1;const _0x32c1fb=Array[_0x2235('0x0')](_0x377c05[_0x2235('0x11')]['document'][_0x2235('0x3')][_0x2235('0x1')]());for(const {name:_0x28ad50,data:_0x12d8b5}of _0x32c1fb){const {group:_0x2ddde7}=_0x5051f9['_splitMarkerName'](_0x28ad50);if(_0x2235('0x19')!==_0x2ddde7||!_0x12d8b5['newRange'])continue;const _0x733bc5=_0x12d8b5[_0x2235('0x5')],_0x5a98f7=_0x733bc5[_0x2235('0x7')][_0x2235('0x15')];if(!_0x5a98f7||!_0x5a98f7['is']('element',_0x2235('0x14')))continue;if(!_0x733bc5[_0x2235('0x18')]['isTouching'](_0x733bc5[_0x2235('0x7')]))continue;const _0x406a04=_0x377c05[_0x2235('0x11')][_0x2235('0x4')][_0x2235('0x2')](_0x733bc5[_0x2235('0x7')],_0x2235('0xb'));if(_0x406a04&&_0x406a04[_0x2235('0x1b')]){const _0x3eb883=_0x4933f8[_0x2235('0xe')](_0x733bc5['start'],_0x406a04[_0x2235('0x18')]);_0x3eb883[_0x2235('0x12')](_0x733bc5)||(_0x4933f8[_0x2235('0x9')](_0x28ad50,{'range':_0x3eb883}),_0x5a9bef=!0x0);}_0x5a9bef||(_0x4933f8[_0x2235('0x6')](_0x28ad50),_0x5a9bef=!0x0);}return _0x5a9bef;});}}
@@ -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 _0x1c62=['enableCommand','afterInit','TrackChangesEditing','plugins','get','editor','redo'];(function(_0x2a3d6a,_0x1c62aa){const _0x254a02=function(_0x519984){while(--_0x519984){_0x2a3d6a['push'](_0x2a3d6a['shift']());}};_0x254a02(++_0x1c62aa);}(_0x1c62,0x115));const _0x254a=function(_0x2a3d6a,_0x1c62aa){_0x2a3d6a=_0x2a3d6a-0x0;let _0x254a02=_0x1c62[_0x2a3d6a];return _0x254a02;};import{Plugin as _0x55741f}from'ckeditor5/src/core';export default class It extends _0x55741f{[_0x254a('0x4')](){const _0x5a40d4=this[_0x254a('0x1')],_0x88f816=_0x5a40d4['plugins'][_0x254a('0x0')](_0x254a('0x5'));_0x5a40d4[_0x254a('0x6')]['has']('UndoEditing')&&(_0x88f816[_0x254a('0x3')]('undo'),_0x88f816[_0x254a('0x3')](_0x254a('0x2')));}}
@@ -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 _0x3ca3=['name','includes','ck-suggestion-marker--active','getItems','listIndent','createUIElement','markerName','push','schema','createRangeOn','toViewPosition','markerRange','isLimit','span','mapper','addClass','model','ck-suggestion-marker-','getWalker','listItem','type','TrackChangesEditing','hasAttribute','element','nextSibling','get','previousPosition','item','getAttribute','writer'];(function(_0x3c22c1,_0x3ca38c){const _0x33d0ac=function(_0x328736){while(--_0x328736){_0x3c22c1['push'](_0x3c22c1['shift']());}};_0x33d0ac(++_0x3ca38c);}(_0x3ca3,0x160));const _0x33d0=function(_0x3c22c1,_0x3ca38c){_0x3c22c1=_0x3c22c1-0x0;let _0x33d0ac=_0x3ca3[_0x3c22c1];return _0x33d0ac;};export function getRangesWithAttribute(_0x4d17c8,_0x418ada,_0x4fc680){const _0x484c6e=[];for(const _0x25fa09 of _0x418ada[_0x33d0('0xb')]())_0x25fa09[_0x33d0('0x0')](_0x4d17c8)&&_0x484c6e[_0x33d0('0xf')](_0x4fc680[_0x33d0('0x11')](_0x25fa09));return _0x484c6e;}export function getElementsAffectedByListItemRename(_0x27913e){const _0x5e3cf2=[];if(_0x27913e['is'](_0x33d0('0x1'),_0x33d0('0x1b'))){let _0x187aa6=_0x27913e[_0x33d0('0x2')];for(;_0x187aa6&&_0x187aa6['is'](_0x33d0('0x1'),_0x33d0('0x1b'))&&_0x187aa6[_0x33d0('0x6')](_0x33d0('0xc'))>0x0;)_0x5e3cf2[_0x33d0('0xf')](_0x187aa6),_0x187aa6=_0x187aa6[_0x33d0('0x2')];}return _0x5e3cf2;}export function downcastSplitMergeMarker(_0x1e1acb,_0x27a490,{showActiveMarker:_0x590cd7=!0x0}={}){const _0x4ff228=_0x1e1acb['plugins'][_0x33d0('0x3')](_0x33d0('0x1d'));return(_0x13c3ce,_0x544151,_0x1a3a83)=>{if(!_0x1a3a83['consumable']['test'](_0x544151[_0x33d0('0x13')],_0x13c3ce[_0x33d0('0x8')]))return;const _0x22b365=_0x544151[_0x33d0('0x13')][_0x33d0('0x1a')](),_0x209b5b=_0x544151['markerRange']['start'],_0x1ae69c=_0x1e1acb[_0x33d0('0x18')][_0x33d0('0x10')];let _0x131186=null,_0x4809f3=null,_0x1275b4=!0x1,_0x2c8b67=!0x1;for(const _0x335761 of _0x22b365){const _0x427205=_0x335761[_0x33d0('0x5')];_0x1275b4=_0x1275b4||_0x1ae69c['isContent'](_0x427205);const _0x5c38fe=_0x1a3a83[_0x33d0('0x16')]['toViewElement'](_0x427205);if(_0x5c38fe&&_0x5c38fe['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x335761[_0x33d0('0x1c')]&&(_0x1ae69c['isBlock'](_0x427205)&&!_0x1ae69c[_0x33d0('0x14')](_0x427205)&&(_0x427205['nextSibling']||_0x209b5b['isAtEnd']?_0x131186&&_0x131186['parent']==_0x427205||(_0x131186=_0x427205,_0x1c4e55(_0x335761[_0x33d0('0x4')]),_0x2c8b67=!0x0):_0x4809f3=_0x4809f3||_0x335761[_0x33d0('0x4')]));}function _0x1c4e55(_0x17e4c7){const _0x5c43e2=_0x1a3a83[_0x33d0('0x7')][_0x33d0('0xd')](_0x33d0('0x15'),{'class':_0x33d0('0x19')+_0x27a490}),_0x1878d0=_0x1a3a83[_0x33d0('0x16')][_0x33d0('0x12')](_0x17e4c7);_0x590cd7&&_0x4ff228['activeMarkers'][_0x33d0('0x9')](_0x544151[_0x33d0('0xe')])&&_0x1a3a83[_0x33d0('0x7')][_0x33d0('0x17')](_0x33d0('0xa'),_0x5c43e2),_0x1a3a83[_0x33d0('0x7')]['insert'](_0x1878d0,_0x5c43e2),_0x1a3a83[_0x33d0('0x16')]['bindElementToMarker'](_0x5c43e2,_0x544151[_0x33d0('0xe')]);}_0x1275b4||_0x2c8b67||!_0x4809f3||_0x1c4e55(_0x4809f3);};}