@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20230806.0 → 0.0.0-nightly-20230808.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (67) hide show
  1. package/CHANGELOG.md +2 -2
  2. package/LICENSE.md +5 -5
  3. package/README.md +13 -13
  4. package/build/track-changes.js +1 -1
  5. package/package.json +3 -3
  6. package/src/commands/acceptsuggestioncommand.js +1 -1
  7. package/src/commands/discardsuggestioncommand.js +1 -1
  8. package/src/commands/executeonallsuggestionscommand.js +1 -1
  9. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  10. package/src/commands/trackchangescommand.js +1 -1
  11. package/src/integrations/alignment.js +1 -1
  12. package/src/integrations/basicstyles.js +1 -1
  13. package/src/integrations/blockquote.js +1 -1
  14. package/src/integrations/ckbox.js +1 -1
  15. package/src/integrations/codeblock.js +1 -1
  16. package/src/integrations/comments.js +1 -1
  17. package/src/integrations/deletecommand.js +1 -1
  18. package/src/integrations/documentlist.js +1 -1
  19. package/src/integrations/documentlistproperties.js +1 -1
  20. package/src/integrations/entercommand.js +1 -1
  21. package/src/integrations/findandreplace.js +1 -1
  22. package/src/integrations/font.js +1 -1
  23. package/src/integrations/formatpainter.js +1 -1
  24. package/src/integrations/heading.js +1 -1
  25. package/src/integrations/highlight.js +1 -1
  26. package/src/integrations/horizontalline.js +1 -1
  27. package/src/integrations/htmlembed.js +1 -1
  28. package/src/integrations/image.js +1 -1
  29. package/src/integrations/imagereplace.js +1 -1
  30. package/src/integrations/importword.js +1 -1
  31. package/src/integrations/indent.js +1 -1
  32. package/src/integrations/inputcommand.js +1 -1
  33. package/src/integrations/link.js +1 -1
  34. package/src/integrations/list.js +1 -1
  35. package/src/integrations/listproperties.js +1 -1
  36. package/src/integrations/mediaembed.js +1 -1
  37. package/src/integrations/mention.js +1 -1
  38. package/src/integrations/pagebreak.js +1 -1
  39. package/src/integrations/paragraph.js +1 -1
  40. package/src/integrations/removeformat.js +1 -1
  41. package/src/integrations/restrictededitingmode.js +1 -1
  42. package/src/integrations/shiftentercommand.js +1 -1
  43. package/src/integrations/standardeditingmode.js +1 -1
  44. package/src/integrations/style.js +1 -1
  45. package/src/integrations/table.js +1 -1
  46. package/src/integrations/tablecaption.js +1 -1
  47. package/src/integrations/tableclipboard.js +1 -1
  48. package/src/integrations/tablecolumnresize.js +1 -1
  49. package/src/integrations/tableheadings.js +1 -1
  50. package/src/integrations/tablemergesplit.js +1 -1
  51. package/src/integrations/tableofcontents.js +1 -1
  52. package/src/integrations/tableproperties.js +1 -1
  53. package/src/integrations/template.js +1 -1
  54. package/src/integrations/title.js +1 -1
  55. package/src/integrations/undo.js +1 -1
  56. package/src/integrations/utils.js +1 -1
  57. package/src/suggestion.js +1 -1
  58. package/src/suggestiondescriptionfactory.js +1 -1
  59. package/src/trackchanges.js +1 -1
  60. package/src/trackchangesdata.js +1 -1
  61. package/src/trackchangesediting.js +1 -1
  62. package/src/trackchangesui.js +1 -1
  63. package/src/ui/suggestioncontroller.js +1 -1
  64. package/src/ui/view/basesuggestionthreadview.js +1 -1
  65. package/src/ui/view/suggestionthreadview.js +1 -1
  66. package/src/utils/common-translations.js +1 -1
  67. package/src/utils/utils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1455=['getSuggestionCallback','discard','add','_descriptionFactory','differ','getAllAdjacentSuggestions','map','nodeAfter','tablePasteRow','rootName','documentSelection','insertContent','tablePasteColumn','getTableIfOnlyTableInContent','document','plugins','getRows','registerPostFixer','subType','TableClipboard','model','table','getShiftedBy','_createdBatches','$graveyard','createRange','getRanges','_suggestionFactory','createRangeIn','getChanges','activeMarkers','startsWith','ck-suggestion-marker','join','conversion','move','getRowIndexes','newRange','insertion','getChildren','isInContent','tablePasteCell','getMarkers','registerCustomCallback','tablePaste','tableCellBackgroundColor','includes','getChild','suggestion','find','type','trackChanges','last','start','content','isEqual','listenTo','isEmpty','push','markerAttributes','_replaceTableSlotCell','insertionRanges','name','endColumn','updateMarker','clipboardOutput','redo','getColumns','column','entries','createRangeOn','locale','tableCellBorderColor','deletion','position','paragraph','tableCellVerticalAlignment','removeMarker','suggestion:formatBlock:tablePasteCell','value','findAncestor','tablePasteChainId','_splitMarkerName','editor','root','*Replace\x20table\x20cells*','accept','markerToHighlight','oldRange','tableCellBorderStyle','tableCellPadding','setAttribute','register','_getCoordsForCells','end','tableCellSuggestion','cells','insertColumns','formatBlock','stop','markMultiRangeDeletion','getSelectionAffectedTableCells','getSuggestions','change','every','createTableWalker','for','endRow','has','keys','row','reduce','tableCell','return','TableUtils','tableCellHorizontalAlignment','requires','columnInsertionRanges','high','schema','createElement','insertRows','some','getRange','batch','removeMarkers','deletionRanges','columns','hasSuggestion','remove','markMultiRangeBlockFormat','unwrap','tableCellBorderWidth','getColumnIndexes','attributes','element','TrackChangesEditing','filter','markers','rowInsertionIndexes','_tablePostFixingSubtypes','getAttributes','columnInsertionIndexes','ck-suggestion-marker-insertion','markerName','fill','getContainedElement','author','rowInsertionRanges','get','insert','cell','editing','Users','commands','markMultiRangeInsertion','first','set','next','length','suggestion-td','suggestionUnloaded','from'];(function(_0x31942a,_0x14556d){const _0x1ac331=function(_0x505ff0){while(--_0x505ff0){_0x31942a['push'](_0x31942a['shift']());}};_0x1ac331(++_0x14556d);}(_0x1455,0x70));const _0x1ac3=function(_0x31942a,_0x14556d){_0x31942a=_0x31942a-0x0;let _0x1ac331=_0x1455[_0x31942a];return _0x1ac331;};import{getTranslation as _0x5c1ad8}from'../utils/common-translations';import{Plugin as _0x5da337}from'ckeditor5/src/core';import{uid as _0x118951,priorities as _0x4fc36d}from'ckeditor5/src/utils';import _0x284242 from'./table';const le=[_0x1ac3('0x14'),_0x1ac3('0x7b'),_0x1ac3('0x8c'),_0x1ac3('0x3'),_0x1ac3('0x7f'),_0x1ac3('0x60'),_0x1ac3('0x8d')],ae=Object['fromEntries'](le[_0x1ac3('0x39')](_0x224a30=>[_0x224a30,null]));export default class kt extends _0x5da337{static get[_0x1ac3('0x4')](){return[_0x284242];}['afterInit'](){const _0x3fd9f6=this[_0x1ac3('0x86')];if(!_0x3fd9f6[_0x1ac3('0x42')]['has'](_0x1ac3('0x46')))return;const _0x8ff44a=_0x3fd9f6['plugins'][_0x1ac3('0x25')](_0x1ac3('0x18')),_0x1bf8e0=_0x3fd9f6[_0x1ac3('0x42')][_0x1ac3('0x25')](_0x1ac3('0x2')),_0x559c5c=_0x3fd9f6[_0x1ac3('0x42')][_0x1ac3('0x25')](_0x284242),_0xe11fcb=_0x3fd9f6['plugins'][_0x1ac3('0x25')](_0x1ac3('0x46'));_0x559c5c[_0x1ac3('0x1c')][_0x1ac3('0x6d')](_0x1ac3('0x3b'),_0x1ac3('0x3f')),_0x3fd9f6[_0x1ac3('0x47')][_0x1ac3('0x7')][_0x1ac3('0x8f')]('tableCellSuggestion',{'allowIn':_0x1ac3('0x0'),'allowContentOf':_0x1ac3('0x0'),'isLimit':!0x0}),_0x3fd9f6[_0x1ac3('0x55')]['elementToElement']({'model':'tableCellSuggestion','view':_0x1ac3('0x30')});let _0x1ba689=null;_0x3fd9f6[_0x1ac3('0x47')]['on'](_0x1ac3('0x3e'),(_0x3b73c1,_0x135598)=>{const [_0x3fc577,_0x517739]=_0x135598,_0xcc7e86=_0x135598[_0x135598[_0x1ac3('0x2f')]-0x1];_0xcc7e86&&_0xcc7e86['forceDefaultExecution']||_0x8ff44a['_isForcedDefaultExecutionBlock']||this[_0x1ac3('0x86')][_0x1ac3('0x2a')][_0x1ac3('0x25')](_0x1ac3('0x66'))[_0x1ac3('0x82')]&&function(_0x32e474,_0x6b604e,_0x205626,_0xb5115e,_0x5e5051){if(_0x6b604e&&!_0x6b604e['is'](_0x1ac3('0x3d')))return!0x1;const _0x53288e=_0x5e5051[_0x1ac3('0x40')](_0x32e474,_0x205626);if(!_0x53288e||!fe(_0x53288e,void 0x0,_0xb5115e))return!0x1;const _0x54349d=_0xb5115e[_0x1ac3('0x98')](_0x205626[_0x1ac3('0x41')]['selection']);if(!_0x54349d[_0x1ac3('0x2f')])return!0x1;const _0x47a49e=_0x54349d[0x0][_0x1ac3('0x83')](_0x1ac3('0x48')),_0x407400=_0xb5115e[_0x1ac3('0x57')](_0x54349d),_0xdfcf92=_0xb5115e[_0x1ac3('0x15')](_0x54349d),_0x595bb7={'startRow':_0x407400[_0x1ac3('0x2c')],'endRow':_0x407400[_0x1ac3('0x67')],'startColumn':_0xdfcf92[_0x1ac3('0x2c')],'endColumn':_0xdfcf92[_0x1ac3('0x67')]};return 0x1==_0x54349d[_0x1ac3('0x2f')]&&(_0x595bb7[_0x1ac3('0x9e')]+=_0xb5115e[_0x1ac3('0x43')](_0x53288e)-0x1,_0x595bb7[_0x1ac3('0x72')]+=_0xb5115e[_0x1ac3('0x76')](_0x53288e)-0x1),fe(_0x47a49e,_0x595bb7,_0xb5115e);}(_0x3fc577,_0x517739,_0x3fd9f6[_0x1ac3('0x47')],_0x1bf8e0,_0xe11fcb)&&(_0x3b73c1[_0x1ac3('0x96')](),_0x1ba689={'cells':[],'insertionRanges':[],'deletionRanges':[],'rowInsertionRanges':[],'rowInsertionIndexes':[],'columnInsertionRanges':[],'columnInsertionIndexes':[]},_0x3fd9f6[_0x1ac3('0x47')]['change'](()=>{_0x3fd9f6['model']['insertContent'](_0x135598[0x0],_0x135598[0x1],_0x135598[0x2],{'forceDefaultExecution':!0x0});const _0x4f51c3=_0x118951(),{rowInsertionRanges:_0x4488d7,columnInsertionRanges:_0x254506,insertionRanges:_0x25d3bb,deletionRanges:_0x4e91cc,cells:_0x581b3d}=_0x1ba689;_0x4488d7['length']&&_0x8ff44a[_0x1ac3('0x2b')](_0x4488d7,_0x1ac3('0x3b'),{'tablePasteChainId':_0x4f51c3}),_0x254506['length']&&_0x8ff44a[_0x1ac3('0x2b')](_0x254506,'tablePasteColumn',{'tablePasteChainId':_0x4f51c3}),_0x25d3bb[_0x1ac3('0x2f')]&&_0x8ff44a['markMultiRangeInsertion'](_0x25d3bb,'tablePaste',{'tablePasteChainId':_0x4f51c3,'skipNestingCheck':!0x0}),_0x4e91cc[_0x1ac3('0x2f')]&&_0x8ff44a[_0x1ac3('0x97')](_0x4e91cc,'tablePaste',{'tablePasteChainId':_0x4f51c3,'skipNestingCheck':!0x0});const _0x2d8975=_0x8ff44a[_0x1ac3('0x12')](_0x581b3d[_0x1ac3('0x39')](({element:_0x4da7b2})=>_0x4da7b2),{'formatGroupId':_0x118951()},[],_0x1ac3('0x5c'),{'tablePasteChainId':_0x4f51c3});if(_0x2d8975){const _0x151326=_0x2d8975['getMarkers'](),_0x3978c9=[];for(const {element:_0x57fdbb,attributes:_0x4af227}of _0x581b3d){if(!_0x4af227)continue;const _0x23b1bd=_0x3fd9f6[_0x1ac3('0x47')][_0x1ac3('0x79')](_0x57fdbb),_0x86f5ba=_0x151326['find'](_0x2a9cae=>_0x2a9cae[_0x1ac3('0xb')]()[_0x1ac3('0x6a')](_0x23b1bd));_0x86f5ba&&_0x3978c9['push']([_0x86f5ba[_0x1ac3('0x71')],_0x4af227]);}_0x3978c9['length']&&_0x2d8975[_0x1ac3('0x8e')](_0x1ac3('0x6e'),Object['fromEntries'](_0x3978c9));}_0x1ba689=null;}));},{'priority':_0x4fc36d[_0x1ac3('0x6')]+0xa}),_0x3fd9f6[_0x1ac3('0x42')]['get'](_0x1ac3('0x46'))['on'](_0x1ac3('0x6f'),(_0x2622ae,_0x172838)=>{const [_0x363878,_0x285343,,_0x116f09]=_0x172838;if(!_0x1ba689)return;_0x2622ae[_0x1ac3('0x96')]();const _0x1f3568=_0x363878[_0x1ac3('0x27')],_0x457b8d=_0x285343,_0x40d089=ce(_0x1f3568),_0x13ec4c=ce(_0x457b8d);_0x2622ae[_0x1ac3('0x1')]=_0x1f3568;let _0x54c5a1=null,_0x4b7d12=null;if(_0x13ec4c||_0x40d089){if(_0x40d089&&!_0x13ec4c){_0x116f09[_0x1ac3('0x11')](_0x1f3568[_0x1ac3('0x62')](0x0));for(const _0x1a3860 of Array[_0x1ac3('0x32')](_0x457b8d[_0x1ac3('0x5a')]()))_0x116f09[_0x1ac3('0x26')](_0x1a3860,_0x1f3568,_0x1ac3('0x91'));const _0x5dd153=_0x1ba689[_0x1ac3('0x1b')][_0x1ac3('0x61')](_0x363878[_0x1ac3('0xa1')]),_0x6e186b=_0x1ba689['columnInsertionIndexes']['includes'](_0x363878[_0x1ac3('0x77')]);_0x5dd153||_0x6e186b||(_0x54c5a1=_0x116f09[_0x1ac3('0x4f')](_0x1f3568));}else _0x13ec4c&&!_0x40d089&&(_0x4b7d12=_0x116f09[_0x1ac3('0x4f')](_0x1f3568));}else{const _0x1f2673=_0x116f09[_0x1ac3('0x8')]('tableCellSuggestion'),_0x4de3e7=_0x116f09[_0x1ac3('0x8')](_0x1ac3('0x92'));_0x116f09['wrap'](_0x116f09[_0x1ac3('0x4f')](_0x1f3568),_0x4de3e7),_0x116f09['insert'](_0x1f2673,_0x1f3568,0x0);for(const _0x4849fe of Array[_0x1ac3('0x32')](_0x457b8d[_0x1ac3('0x5a')]()))_0x116f09[_0x1ac3('0x26')](_0x4849fe,_0x1f2673,'end');_0x54c5a1=_0x116f09[_0x1ac3('0x79')](_0x1f2673),_0x4b7d12=_0x116f09[_0x1ac3('0x79')](_0x4de3e7);}const _0x34148a=Array['from'](_0x457b8d[_0x1ac3('0x1d')]())['filter'](([_0x2f3aa2])=>le['includes'](_0x2f3aa2));_0x1ba689[_0x1ac3('0x93')][_0x1ac3('0x6d')]({'element':_0x1f3568,'attributes':_0x34148a[_0x1ac3('0x2f')]?Object['fromEntries'](_0x34148a):null}),_0x54c5a1&&_0x1ba689[_0x1ac3('0x70')][_0x1ac3('0x6d')](_0x54c5a1),_0x4b7d12&&_0x1ba689[_0x1ac3('0xe')][_0x1ac3('0x6d')](_0x4b7d12);},{'priority':_0x1ac3('0x6')}),_0x1bf8e0['on'](_0x1ac3('0x94'),(_0x171f50,_0x484c59)=>{const [_0x12c73b,_0x491b2a={}]=_0x484c59;if(!_0x1ba689)return;const _0x2938fb=_0x491b2a['at']||0x0,_0xab91eb=_0x491b2a[_0x1ac3('0xf')]||0x1;_0x1ba689[_0x1ac3('0x1e')]=new Array(_0xab91eb)[_0x1ac3('0x21')](_0x2938fb)[_0x1ac3('0x39')]((_0xeab7b,_0x1703e5)=>_0xeab7b+_0x1703e5);for(const {cell:_0x382ffd}of _0x1bf8e0[_0x1ac3('0x9c')](_0x12c73b,{'startColumn':_0x2938fb,'endColumn':_0x2938fb+_0xab91eb-0x1}))_0x1ba689[_0x1ac3('0x5')][_0x1ac3('0x6d')](_0x3fd9f6[_0x1ac3('0x47')][_0x1ac3('0x79')](_0x382ffd));},{'priority':'low'}),_0x1bf8e0['on'](_0x1ac3('0x9'),(_0x12ea34,_0x2ac1b5)=>{const [_0x4eff76,_0xf2d78a={}]=_0x2ac1b5;if(!_0x1ba689)return;const _0xbd6123=_0xf2d78a['at']||0x0,_0x4cc35d=_0xf2d78a['rows']||0x1;_0x1ba689[_0x1ac3('0x1b')]=new Array(_0x4cc35d)['fill'](_0xbd6123)[_0x1ac3('0x39')]((_0x2a52cb,_0x177fc6)=>_0x2a52cb+_0x177fc6);for(const {cell:_0x2b5779}of _0x1bf8e0['createTableWalker'](_0x4eff76,{'startRow':_0xbd6123,'endRow':_0xbd6123+_0x4cc35d-0x1}))_0x1ba689[_0x1ac3('0x24')][_0x1ac3('0x6d')](_0x3fd9f6[_0x1ac3('0x47')][_0x1ac3('0x79')](_0x2b5779));},{'priority':'low'}),_0x8ff44a[_0x1ac3('0x36')]['registerDescriptionCallback'](_0x5e225e=>{if(_0x5e225e[_0x1ac3('0x45')]&&_0x5e225e[_0x1ac3('0x45')][_0x1ac3('0x52')](_0x1ac3('0x5f')))return _0x5e225e['previous']?{}:{'type':_0x1ac3('0x59'),'content':_0x5c1ad8(_0x3fd9f6[_0x1ac3('0x7a')],_0x1ac3('0x88'))};});const _0x1c1a05=()=>{};for(const _0x997a9c of[_0x1ac3('0x5f'),'tablePasteColumn','tablePasteRow',_0x1ac3('0x5c')])_0x8ff44a[_0x1ac3('0x4e')][_0x1ac3('0x5e')](_0x1ac3('0x59'),_0x997a9c,_0x1ac3('0x54'),_0x1c1a05),_0x8ff44a[_0x1ac3('0x4e')][_0x1ac3('0x5e')](_0x1ac3('0x7c'),_0x997a9c,_0x1ac3('0x54'),_0x1c1a05);_0x8ff44a['_suggestionFactory'][_0x1ac3('0x5e')](_0x1ac3('0x95'),'tablePasteCell',_0x1ac3('0x34'),_0x1c1a05),_0x8ff44a[_0x1ac3('0x4e')][_0x1ac3('0x5e')](_0x1ac3('0x95'),'tablePasteCell',_0x1ac3('0x89'),(_0xe91c0b,_0x4d8930,_0x4086cf)=>{const _0x562a3c=_0xe91c0b[_0x1ac3('0x39')](_0x2a1708=>_0x2a1708['getContainedElement']())[_0x1ac3('0x19')](_0x422ad5=>_0x422ad5),_0x5c9341=new Map(_0x562a3c[_0x1ac3('0x39')](_0x106eb9=>[_0x106eb9,null]));if(_0x1ba689)for(const {element:_0x34f0df,attributes:_0x19a5ce}of _0x1ba689[_0x1ac3('0x93')])_0x19a5ce&&_0x5c9341[_0x1ac3('0x2d')](_0x34f0df,_0x19a5ce);else{if(_0x4086cf&&_0x4086cf['markerAttributes'])for(const [_0xdaeec6,_0x55f74a]of Object[_0x1ac3('0x78')](_0x4086cf['markerAttributes'])){const _0x417c54=_0x3fd9f6[_0x1ac3('0x47')][_0x1ac3('0x1a')][_0x1ac3('0x25')](_0xdaeec6),_0x973206=_0x417c54?_0x417c54[_0x1ac3('0xb')]()[_0x1ac3('0x22')]():null;_0x973206&&_0x5c9341[_0x1ac3('0x2d')](_0x973206,_0x55f74a);}}_0x3fd9f6[_0x1ac3('0x47')]['change'](_0xdf8217=>{for(const [_0x33b95b,_0xb9f376]of _0x5c9341)_0xdf8217['setAttributes']({...ae,..._0xb9f376},_0x33b95b);});});const _0x3f0c5b=(_0x53a69d,_0xb7f409)=>{_0x8ff44a[_0x1ac3('0x4e')][_0x1ac3('0x5e')](_0x53a69d,_0x1ac3('0x5f'),_0xb7f409,(_0x5cba3e,_0x544bbb,_0x532c57)=>{_0x3fd9f6[_0x1ac3('0x47')][_0x1ac3('0x9a')](_0x1d0301=>{const _0x266738=[];for(const _0x2e748e of _0x5cba3e){const _0x1eb932=_0x2e748e[_0x1ac3('0x68')][_0x1ac3('0x3a')];_0x1eb932['is'](_0x1ac3('0x17'),'tableCellSuggestion')&&_0x266738[_0x1ac3('0x6d')](_0x1eb932);}_0x8ff44a[_0x1ac3('0x4e')][_0x1ac3('0x33')](_0x53a69d,null,_0xb7f409)(_0x5cba3e,_0x544bbb,_0x532c57);for(const _0x1f2168 of _0x266738)_0x1ac3('0x4b')!=_0x1f2168[_0x1ac3('0x87')][_0x1ac3('0x3c')]&&_0x1d0301['unwrap'](_0x1f2168);});});};_0x3f0c5b(_0x1ac3('0x59'),'accept'),_0x3f0c5b(_0x1ac3('0x59'),_0x1ac3('0x34')),_0x3f0c5b(_0x1ac3('0x7c'),_0x1ac3('0x89')),_0x3f0c5b(_0x1ac3('0x7c'),_0x1ac3('0x34')),_0x8ff44a[_0x1ac3('0x4e')][_0x1ac3('0x5e')](_0x1ac3('0x59'),_0x1ac3('0x3b'),_0x1ac3('0x34'),_0x17541e=>{const _0x41542f=_0x17541e[_0x1ac3('0x39')](_0x53c384=>_0x53c384[_0x1ac3('0x22')]()),_0x25a709=_0x41542f[0x0]['findAncestor']('table'),{minRow:_0x4327fc,maxRow:_0xd34720}=_0x559c5c['_getCoordsForCells'](_0x41542f);_0x1bf8e0['removeRows'](_0x25a709,{'at':_0x4327fc,'rows':_0xd34720-_0x4327fc+0x1});}),_0x8ff44a[_0x1ac3('0x4e')][_0x1ac3('0x5e')](_0x1ac3('0x59'),'tablePasteColumn','discard',_0x472684=>{const _0x5f5bdf=_0x472684['map'](_0x4b7bdc=>_0x4b7bdc[_0x1ac3('0x22')]()),_0x2d509f=_0x5f5bdf[0x0][_0x1ac3('0x83')]('table'),{minColumn:_0x4ccbc5,maxColumn:_0x1b930e}=_0x559c5c[_0x1ac3('0x90')](_0x5f5bdf);_0x1bf8e0['removeColumns'](_0x2d509f,{'at':_0x4ccbc5,'columns':_0x1b930e-_0x4ccbc5+0x1});});const _0x5638e7=(_0x47d5ce,_0x207be4)=>{if(!_0x207be4[_0x1ac3('0x45')]||!_0x207be4[_0x1ac3('0x45')][_0x1ac3('0x52')](_0x1ac3('0x5f')))return;const _0x1643fd=_0x207be4[_0x1ac3('0x16')][_0x1ac3('0x84')],_0x3f8e0e=_0x8ff44a[_0x1ac3('0x99')]()[_0x1ac3('0x19')](_0xc01e6b=>_0xc01e6b[_0x1ac3('0x5b')]&&_0xc01e6b[_0x1ac3('0x16')]&&_0xc01e6b['attributes']['tablePasteChainId']==_0x1643fd);_0x3f8e0e[_0x1ac3('0x2f')]&&_0x207be4[_0x1ac3('0x38')]()['length']!=_0x3f8e0e['length']&&_0x3f8e0e[_0x1ac3('0xa2')]((_0x487ff2,_0x4a8244)=>(_0x487ff2[_0x1ac3('0x2e')]=_0x4a8244,_0x4a8244['previous']=_0x487ff2,_0x4a8244));};function _0x37dfc3(_0x33be17,_0x34b028=!0x0){const {id:_0x360f87}=_0x8ff44a[_0x1ac3('0x85')](_0x33be17[_0x1ac3('0x20')]),_0x357f20=[_0x1ac3('0x53'),_0x1ac3('0x1f')],_0x374be5=_0x8ff44a[_0x1ac3('0x51')][_0x1ac3('0x61')](_0x33be17[_0x1ac3('0x20')]);return _0x374be5&&_0x357f20[_0x1ac3('0x6d')]('ck-suggestion-marker--active'),{'classes':_0x357f20,'attributes':{'data-suggestion':_0x360f87},'priority':_0x374be5&&_0x34b028?0xbc2:0xbb8};}_0x8ff44a['on']('suggestionLoaded',_0x5638e7,{'priority':_0x1ac3('0x6')}),_0x8ff44a['on'](_0x1ac3('0x31'),_0x5638e7,{'priority':_0x1ac3('0x6')}),_0x3fd9f6['model'][_0x1ac3('0x41')][_0x1ac3('0x44')](()=>{let _0x16debc=!0x1;const _0x3ab861=Array[_0x1ac3('0x32')](_0x3fd9f6[_0x1ac3('0x47')][_0x1ac3('0x41')][_0x1ac3('0x37')]['getChangedMarkers']());for(const {name:_0x3ca018,data:_0x2cb16d}of _0x3ab861){const {group:_0x2bc196,type:_0x36c8bf,id:_0xf286c7}=_0x8ff44a[_0x1ac3('0x85')](_0x3ca018);if(_0x1ac3('0x63')!=_0x2bc196||_0x1ac3('0x7c')!=_0x36c8bf||_0x2cb16d[_0x1ac3('0x8b')])continue;if(!_0x8ff44a[_0x1ac3('0x10')](_0xf286c7))continue;const _0x378640=_0x8ff44a['getSuggestion'](_0xf286c7)[_0x1ac3('0x4d')](),_0x476a0c=_0x3fd9f6[_0x1ac3('0x42')]['get'](_0x1ac3('0x29'))['me'];for(const _0x25de6b of _0x8ff44a['getSuggestions']()){if(!_0x25de6b[_0x1ac3('0x5b')]||_0x25de6b[_0x1ac3('0x23')]!=_0x476a0c)continue;if(_0x1ac3('0x95')!=_0x25de6b[_0x1ac3('0x65')]||_0x1ac3('0x5c')!=_0x25de6b[_0x1ac3('0x45')])continue;if(_0x25de6b[_0x1ac3('0x4d')]()[_0x1ac3('0x9b')](_0x2d1587=>_0x378640[_0x1ac3('0xa')](_0x12d518=>_0x12d518['containsRange'](_0x2d1587,!0x0))))for(const _0x1bbba1 of _0x25de6b[_0x1ac3('0x38')]())_0x1bbba1['isInContent']&&(_0x1bbba1[_0x1ac3('0x34')](),_0x16debc=!0x0);}}return _0x16debc;}),_0x3fd9f6[_0x1ac3('0x47')][_0x1ac3('0x41')][_0x1ac3('0x44')](_0x3e9381=>{const _0x1646ff=_0x3fd9f6[_0x1ac3('0x2a')]['get'](_0x1ac3('0x75'));if(!_0x1646ff||!_0x1646ff[_0x1ac3('0x4a')][_0x1ac3('0x9f')](_0x3e9381[_0x1ac3('0xc')]))return!0x1;let _0x3b50e9=!0x1;const _0x40bd54=_0x3fd9f6[_0x1ac3('0x42')][_0x1ac3('0x25')]('Users')['me'],_0x35a1e6=_0x3fd9f6[_0x1ac3('0x47')][_0x1ac3('0x41')][_0x1ac3('0x37')][_0x1ac3('0x50')](),_0x36d147=Array[_0x1ac3('0x32')](_0x3fd9f6['model']['document'][_0x1ac3('0x37')]['getChangedMarkers']())[_0x1ac3('0x19')](({name:_0x450491,data:_0x2cd99b})=>{const {group:_0x3b4fc7,subType:_0x43bdbf,authorId:_0x61fdb3}=_0x8ff44a['_splitMarkerName'](_0x450491);return _0x1ac3('0x63')==_0x3b4fc7&&_0x1ac3('0x5f')==_0x43bdbf&&_0x61fdb3==_0x40bd54['id']&&!_0x2cd99b['oldRange'];});for(const _0x53c025 of _0x35a1e6){if('insert'!=_0x53c025[_0x1ac3('0x65')]||_0x1ac3('0x92')!=_0x53c025[_0x1ac3('0x71')]||0x1!=_0x53c025['length'])continue;const _0x3b19f4=_0x3e9381[_0x1ac3('0x4c')](_0x53c025[_0x1ac3('0x7d')],_0x53c025[_0x1ac3('0x7d')][_0x1ac3('0x49')](0x1));if(!_0x36d147[_0x1ac3('0x64')](({data:_0x457931})=>_0x457931[_0x1ac3('0x58')][_0x1ac3('0x6a')](_0x3b19f4)))for(const {name:_0x4d97f1,data:_0x4ac20b}of _0x36d147)if(_0x3b19f4['containsRange'](_0x4ac20b['newRange'])){_0x3e9381[_0x1ac3('0x73')](_0x4d97f1,{'range':_0x3b19f4}),_0x3b50e9=!0x0;break;}}return _0x3b50e9;}),_0x3fd9f6[_0x1ac3('0x47')][_0x1ac3('0x41')]['registerPostFixer'](_0xd0a943=>{let _0x555e2f=!0x1;const _0x4a8516=_0x3fd9f6[_0x1ac3('0x42')][_0x1ac3('0x25')]('Users')['me'],_0x34609b=_0x8ff44a[_0x1ac3('0x99')]()['filter'](_0x28ddc7=>_0x28ddc7[_0x1ac3('0x5b')]&&_0x28ddc7[_0x1ac3('0x23')]==_0x4a8516),_0x11e283=new Set(),_0x28f0d1=new Set();for(const _0x4898a0 of _0x34609b)if(_0x1ac3('0x5f')==_0x4898a0[_0x1ac3('0x45')])for(const _0x353ef0 of _0x4898a0[_0x1ac3('0x5d')]()){const _0x59a17d=_0x353ef0[_0x1ac3('0xb')]()[_0x1ac3('0x22')]();if(_0x59a17d){if(_0x59a17d['is'](_0x1ac3('0x17'),_0x1ac3('0x92'))&&ce(_0x59a17d)){_0x4898a0[_0x1ac3('0x80')](_0x353ef0['name']),_0x11e283['add'](_0x59a17d),_0x555e2f=!0x0;const _0x2240e0=_0x59a17d['nextSibling'],_0x296108=_0x59a17d['previousSibling'],_0x49bc6b=_0x2240e0&&_0x2240e0['is'](_0x1ac3('0x17'),'tableCellSuggestion'),_0x49e0be=_0x296108&&_0x296108['is']('element',_0x1ac3('0x92'));_0x49bc6b&&!_0x11e283[_0x1ac3('0x9f')](_0x2240e0)&&_0x28f0d1[_0x1ac3('0x35')](_0x2240e0),_0x49e0be&&!_0x11e283[_0x1ac3('0x9f')](_0x296108)&&_0x28f0d1['add'](_0x296108);}else _0x59a17d['is'](_0x1ac3('0x17'),_0x1ac3('0x7e'))&&_0x59a17d['isEmpty']&&(_0x4898a0['removeMarker'](_0x353ef0[_0x1ac3('0x71')]),_0x555e2f=!0x0);}}else{if(_0x1ac3('0x5c')==_0x4898a0['subType']){if(!_0x4898a0[_0x1ac3('0x16')]||!_0x4898a0[_0x1ac3('0x16')][_0x1ac3('0x84')])continue;const _0x4ea0ff=_0x4898a0[_0x1ac3('0x16')][_0x1ac3('0x6e')];if(_0x4ea0ff&&Object[_0x1ac3('0xa0')](_0x4ea0ff)['length'])continue;const _0x35eaca=_0x4898a0[_0x1ac3('0x16')][_0x1ac3('0x84')];let _0x556152=!0x0,_0x202935=!0x0;for(const _0x251a66 of _0x34609b)if(_0x251a66[_0x1ac3('0x45')]&&_0x251a66[_0x1ac3('0x45')]['startsWith'](_0x1ac3('0x5f'))){if(!_0x251a66[_0x1ac3('0x16')][_0x1ac3('0x84')]){_0x202935=!0x1;break;}if(_0x251a66['id']!=_0x4898a0['id']&&_0x251a66['attributes'][_0x1ac3('0x84')]==_0x35eaca){_0x556152=!0x1;break;}}_0x202935&&_0x556152&&(_0x4898a0[_0x1ac3('0xd')](),_0x555e2f=!0x0);}}for(const _0x52e324 of _0x11e283)_0xd0a943[_0x1ac3('0x11')](_0x52e324);for(const _0x5e53ca of _0x28f0d1)_0xd0a943[_0x1ac3('0x13')](_0x5e53ca);return _0x555e2f;}),_0x3fd9f6[_0x1ac3('0x55')][_0x1ac3('0x9d')]('editingDowncast')['markerToHighlight']({'model':_0x1ac3('0x81'),'view':(_0x5229e0,_0x86ec95)=>_0x37dfc3(_0x5229e0),'converterPriority':_0x1ac3('0x6')}),_0x3fd9f6[_0x1ac3('0x55')][_0x1ac3('0x9d')]('dataDowncast')[_0x1ac3('0x8a')]({'model':'suggestion:formatBlock:tablePasteCell','view':(_0x2068c5,_0x24e595)=>_0x24e595['options']['showSuggestionHighlights']?_0x37dfc3(_0x2068c5,!0x1):null,'converterPriority':'high'});const _0x108e24=_0x3fd9f6[_0x1ac3('0x28')]['view'];this[_0x1ac3('0x6b')](_0x108e24[_0x1ac3('0x41')],_0x1ac3('0x74'),(_0x453add,_0x563647)=>{const _0x49de40=[];for(const _0x2ff477 of _0x108e24[_0x1ac3('0x4f')](_0x563647[_0x1ac3('0x69')])['getItems']())_0x2ff477['is'](_0x1ac3('0x17'),'suggestion-td')&&_0x49de40[_0x1ac3('0x6d')](_0x2ff477);_0x108e24[_0x1ac3('0x9a')](_0x4d1f8f=>{for(const _0x47162a of _0x49de40)_0x4d1f8f[_0x1ac3('0x56')](_0x4d1f8f[_0x1ac3('0x4f')](_0x47162a),_0x4d1f8f['createPositionBefore'](_0x47162a)),_0x4d1f8f[_0x1ac3('0x11')](_0x47162a);});});}}function ce(_0x1f65ae){if(_0x1f65ae['isEmpty'])return!0x0;const _0x49d741=_0x1f65ae[_0x1ac3('0x62')](0x0);return _0x49d741['is'](_0x1ac3('0x17'),_0x1ac3('0x7e'))&&_0x49d741[_0x1ac3('0x6c')];}function fe(_0x8513ae,_0x395b81={},_0x549c4b){for(const {isAnchor:_0x35b795,cellHeight:_0x59841d,cellWidth:_0x15b811}of _0x549c4b[_0x1ac3('0x9c')](_0x8513ae,{'includeAllSlots':!0x0,..._0x395b81}))if(!_0x35b795||0x1!=_0x59841d||0x1!=_0x15b811)return!0x1;return!0x0;}
23
+ const _0x2f0e=['end','has','unwrap','fromEntries','columns','discard','filter','registerPostFixer','keys','markers','getChanges','markMultiRangeBlockFormat','return','$graveyard','removeMarker','createElement','row','getTableIfOnlyTableInContent','afterInit','createTableWalker','getSelectionAffectedTableCells','content','locale','tablePasteCell','newRange','nextSibling','tableCellBorderStyle','previous','insertRows','entries','_replaceTableSlotCell','options','wrap','rowInsertionRanges','getRowIndexes','length','setAttributes','tableCellBorderColor','deletion','TableClipboard','getChangedMarkers','stop','tablePasteColumn','plugins','cell','join','author','getMarkers','last','value','change','remove','name','model','markMultiRangeInsertion','_createdBatches','first','hasSuggestion','getAttributes','clipboardOutput','low','tableCellBackgroundColor','tablePasteChainId','every','activeMarkers','accept','includes','endRow','documentSelection','markMultiRangeDeletion','commands','isInContent','element','schema','registerCustomCallback','reduce','requires','table','move','fill','getAllAdjacentSuggestions','removeRows','registerDescriptionCallback','suggestion:formatBlock:tablePasteCell','setAttribute','suggestion','tableCell','ck-suggestion-marker','getSuggestionCallback','cells','createRangeOn','markerToHighlight','get','high','deletionRanges','tablePaste','isEqual','register','previousSibling','next','ck-suggestion-marker-insertion','getRanges','trackChanges','isEmpty','add','createRangeIn','some','for','from','tableCellPadding','columnInsertionRanges','_tablePostFixingSubtypes','removeMarkers','markerAttributes','position','tableCellHorizontalAlignment','subType','containsRange','formatBlock','push','insertion','_descriptionFactory','type','rowInsertionIndexes','_splitMarkerName','showSuggestionHighlights','find','editingDowncast','TrackChangesEditing','getRange','startsWith','ck-suggestion-marker--active','tableCellVerticalAlignment','suggestion-td','tablePasteRow','markerName','differ','root','tableCellBorderWidth','getChildren','editor','_isForcedDefaultExecutionBlock','insert','map','getContainedElement','insertColumns','batch','tableCellSuggestion','document','_getCoordsForCells','listenTo','getSuggestions','set','oldRange','findAncestor','Users','attributes','_suggestionFactory','TableUtils','getChild','paragraph'];(function(_0x1e4e8e,_0x2f0ec0){const _0x1456b4=function(_0x5f0d8c){while(--_0x5f0d8c){_0x1e4e8e['push'](_0x1e4e8e['shift']());}};_0x1456b4(++_0x2f0ec0);}(_0x2f0e,0xe3));const _0x1456=function(_0x1e4e8e,_0x2f0ec0){_0x1e4e8e=_0x1e4e8e-0x0;let _0x1456b4=_0x2f0e[_0x1e4e8e];return _0x1456b4;};import{getTranslation as _0x49b8e3}from'../utils/common-translations';import{Plugin as _0x4f3b9b}from'ckeditor5/src/core';import{uid as _0x48a4ac,priorities as _0x58333f}from'ckeditor5/src/utils';import _0xa47a7 from'./table';const le=[_0x1456('0x48'),_0x1456('0x84'),_0x1456('0x79'),_0x1456('0x31'),_0x1456('0x42'),_0x1456('0x9c'),_0x1456('0x2b')],ae=Object[_0x1456('0x62')](le[_0x1456('0x4d')](_0x5b1500=>[_0x5b1500,null]));export default class kt extends _0x4f3b9b{static get[_0x1456('0xa')](){return[_0xa47a7];}[_0x1456('0x71')](){const _0x36a8cc=this['editor'];if(!_0x36a8cc[_0x1456('0x8a')][_0x1456('0x60')]('TableClipboard'))return;const _0x3066b7=_0x36a8cc[_0x1456('0x8a')][_0x1456('0x1a')](_0x1456('0x3e')),_0x34c340=_0x36a8cc['plugins'][_0x1456('0x1a')](_0x1456('0x5c')),_0x2cfa99=_0x36a8cc['plugins']['get'](_0xa47a7),_0x5d49b6=_0x36a8cc[_0x1456('0x8a')][_0x1456('0x1a')](_0x1456('0x86'));_0x2cfa99[_0x1456('0x2d')][_0x1456('0x35')]('tablePasteRow','tablePasteColumn'),_0x36a8cc[_0x1456('0x94')][_0x1456('0x7')][_0x1456('0x1f')](_0x1456('0x51'),{'allowIn':_0x1456('0x14'),'allowContentOf':_0x1456('0x14'),'isLimit':!0x0}),_0x36a8cc['conversion']['elementToElement']({'model':_0x1456('0x51'),'view':_0x1456('0x43')});let _0x3b18bf=null;_0x36a8cc['model']['on']('insertContent',(_0x512bf4,_0x31a72c)=>{const [_0x3764f2,_0x31e6c2]=_0x31a72c,_0x3f11fa=_0x31a72c[_0x31a72c[_0x1456('0x82')]-0x1];_0x3f11fa&&_0x3f11fa['forceDefaultExecution']||_0x3066b7[_0x1456('0x4b')]||this[_0x1456('0x4a')]['commands'][_0x1456('0x1a')](_0x1456('0x24'))[_0x1456('0x90')]&&function(_0x4aba2e,_0xa67270,_0x1b0dc7,_0x50542b,_0x203485){if(_0xa67270&&!_0xa67270['is'](_0x1456('0x2')))return!0x1;const _0x1f2a0b=_0x203485[_0x1456('0x70')](_0x4aba2e,_0x1b0dc7);if(!_0x1f2a0b||!fe(_0x1f2a0b,void 0x0,_0x50542b))return!0x1;const _0x35d90b=_0x50542b[_0x1456('0x73')](_0x1b0dc7[_0x1456('0x52')]['selection']);if(!_0x35d90b['length'])return!0x1;const _0x3e3ea7=_0x35d90b[0x0][_0x1456('0x58')](_0x1456('0xb')),_0x48d09d=_0x50542b[_0x1456('0x81')](_0x35d90b),_0x426a4a=_0x50542b['getColumnIndexes'](_0x35d90b),_0x47e546={'startRow':_0x48d09d[_0x1456('0x97')],'endRow':_0x48d09d[_0x1456('0x8f')],'startColumn':_0x426a4a[_0x1456('0x97')],'endColumn':_0x426a4a['last']};return 0x1==_0x35d90b[_0x1456('0x82')]&&(_0x47e546[_0x1456('0x1')]+=_0x50542b['getRows'](_0x1f2a0b)-0x1,_0x47e546['endColumn']+=_0x50542b['getColumns'](_0x1f2a0b)-0x1),fe(_0x3e3ea7,_0x47e546,_0x50542b);}(_0x3764f2,_0x31e6c2,_0x36a8cc[_0x1456('0x94')],_0x34c340,_0x5d49b6)&&(_0x512bf4[_0x1456('0x88')](),_0x3b18bf={'cells':[],'insertionRanges':[],'deletionRanges':[],'rowInsertionRanges':[],'rowInsertionIndexes':[],'columnInsertionRanges':[],'columnInsertionIndexes':[]},_0x36a8cc[_0x1456('0x94')]['change'](()=>{_0x36a8cc['model']['insertContent'](_0x31a72c[0x0],_0x31a72c[0x1],_0x31a72c[0x2],{'forceDefaultExecution':!0x0});const _0x4a6e3a=_0x48a4ac(),{rowInsertionRanges:_0x56ff24,columnInsertionRanges:_0xa1c7a6,insertionRanges:_0x4fe99b,deletionRanges:_0x450eea,cells:_0x300938}=_0x3b18bf;_0x56ff24[_0x1456('0x82')]&&_0x3066b7[_0x1456('0x95')](_0x56ff24,'tablePasteRow',{'tablePasteChainId':_0x4a6e3a}),_0xa1c7a6['length']&&_0x3066b7[_0x1456('0x95')](_0xa1c7a6,'tablePasteColumn',{'tablePasteChainId':_0x4a6e3a}),_0x4fe99b[_0x1456('0x82')]&&_0x3066b7[_0x1456('0x95')](_0x4fe99b,_0x1456('0x1d'),{'tablePasteChainId':_0x4a6e3a,'skipNestingCheck':!0x0}),_0x450eea[_0x1456('0x82')]&&_0x3066b7[_0x1456('0x3')](_0x450eea,_0x1456('0x1d'),{'tablePasteChainId':_0x4a6e3a,'skipNestingCheck':!0x0});const _0xcd8cd3=_0x3066b7[_0x1456('0x6a')](_0x300938['map'](({element:_0x19bcfb})=>_0x19bcfb),{'formatGroupId':_0x48a4ac()},[],_0x1456('0x76'),{'tablePasteChainId':_0x4a6e3a});if(_0xcd8cd3){const _0x1cc2bf=_0xcd8cd3[_0x1456('0x8e')](),_0x2a60c7=[];for(const {element:_0x5876ee,attributes:_0x4625aa}of _0x300938){if(!_0x4625aa)continue;const _0x55ce7e=_0x36a8cc[_0x1456('0x94')][_0x1456('0x18')](_0x5876ee),_0x396e7b=_0x1cc2bf[_0x1456('0x3c')](_0x485f09=>_0x485f09[_0x1456('0x3f')]()[_0x1456('0x1e')](_0x55ce7e));_0x396e7b&&_0x2a60c7[_0x1456('0x35')]([_0x396e7b[_0x1456('0x93')],_0x4625aa]);}_0x2a60c7['length']&&_0xcd8cd3[_0x1456('0x12')](_0x1456('0x2f'),Object['fromEntries'](_0x2a60c7));}_0x3b18bf=null;}));},{'priority':_0x58333f[_0x1456('0x1b')]+0xa}),_0x36a8cc[_0x1456('0x8a')][_0x1456('0x1a')]('TableClipboard')['on'](_0x1456('0x7d'),(_0x13020a,_0x313e5e)=>{const [_0xf7830c,_0x101027,,_0x3e78b8]=_0x313e5e;if(!_0x3b18bf)return;_0x13020a[_0x1456('0x88')]();const _0x46313a=_0xf7830c[_0x1456('0x8b')],_0x2356eb=_0x101027,_0x19750f=ce(_0x46313a),_0x12e4f2=ce(_0x2356eb);_0x13020a[_0x1456('0x6b')]=_0x46313a;let _0x28ce61=null,_0x52b220=null;if(_0x12e4f2||_0x19750f){if(_0x19750f&&!_0x12e4f2){_0x3e78b8[_0x1456('0x92')](_0x46313a[_0x1456('0x5d')](0x0));for(const _0x35ded9 of Array[_0x1456('0x2a')](_0x2356eb[_0x1456('0x49')]()))_0x3e78b8[_0x1456('0x4c')](_0x35ded9,_0x46313a,_0x1456('0x5f'));const _0x1b96ef=_0x3b18bf[_0x1456('0x39')][_0x1456('0x0')](_0xf7830c[_0x1456('0x6f')]),_0x8be0d6=_0x3b18bf['columnInsertionIndexes']['includes'](_0xf7830c['column']);_0x1b96ef||_0x8be0d6||(_0x28ce61=_0x3e78b8[_0x1456('0x27')](_0x46313a));}else _0x12e4f2&&!_0x19750f&&(_0x52b220=_0x3e78b8[_0x1456('0x27')](_0x46313a));}else{const _0x31ce14=_0x3e78b8['createElement']('tableCellSuggestion'),_0x35d66b=_0x3e78b8[_0x1456('0x6e')]('tableCellSuggestion');_0x3e78b8[_0x1456('0x7f')](_0x3e78b8['createRangeIn'](_0x46313a),_0x35d66b),_0x3e78b8['insert'](_0x31ce14,_0x46313a,0x0);for(const _0x55ce04 of Array['from'](_0x2356eb[_0x1456('0x49')]()))_0x3e78b8[_0x1456('0x4c')](_0x55ce04,_0x31ce14,_0x1456('0x5f'));_0x28ce61=_0x3e78b8['createRangeOn'](_0x31ce14),_0x52b220=_0x3e78b8[_0x1456('0x18')](_0x35d66b);}const _0x5f2164=Array[_0x1456('0x2a')](_0x2356eb[_0x1456('0x99')]())['filter'](([_0x3f82a3])=>le['includes'](_0x3f82a3));_0x3b18bf[_0x1456('0x17')][_0x1456('0x35')]({'element':_0x46313a,'attributes':_0x5f2164[_0x1456('0x82')]?Object['fromEntries'](_0x5f2164):null}),_0x28ce61&&_0x3b18bf['insertionRanges']['push'](_0x28ce61),_0x52b220&&_0x3b18bf[_0x1456('0x1c')][_0x1456('0x35')](_0x52b220);},{'priority':_0x1456('0x1b')}),_0x34c340['on'](_0x1456('0x4f'),(_0x35364b,_0x2c4baa)=>{const [_0x43b6e6,_0x2be5c4={}]=_0x2c4baa;if(!_0x3b18bf)return;const _0x8fa290=_0x2be5c4['at']||0x0,_0x3aa97a=_0x2be5c4[_0x1456('0x63')]||0x1;_0x3b18bf['columnInsertionIndexes']=new Array(_0x3aa97a)[_0x1456('0xd')](_0x8fa290)['map']((_0x5b1ecd,_0x5a2c18)=>_0x5b1ecd+_0x5a2c18);for(const {cell:_0x2667b2}of _0x34c340['createTableWalker'](_0x43b6e6,{'startColumn':_0x8fa290,'endColumn':_0x8fa290+_0x3aa97a-0x1}))_0x3b18bf[_0x1456('0x2c')][_0x1456('0x35')](_0x36a8cc[_0x1456('0x94')][_0x1456('0x18')](_0x2667b2));},{'priority':_0x1456('0x9b')}),_0x34c340['on'](_0x1456('0x7b'),(_0x262124,_0x47230d)=>{const [_0x19d8ca,_0x54061e={}]=_0x47230d;if(!_0x3b18bf)return;const _0x35e1e0=_0x54061e['at']||0x0,_0x11aae6=_0x54061e['rows']||0x1;_0x3b18bf[_0x1456('0x39')]=new Array(_0x11aae6)[_0x1456('0xd')](_0x35e1e0)[_0x1456('0x4d')]((_0x1d645b,_0x6b181)=>_0x1d645b+_0x6b181);for(const {cell:_0x2c3d78}of _0x34c340[_0x1456('0x72')](_0x19d8ca,{'startRow':_0x35e1e0,'endRow':_0x35e1e0+_0x11aae6-0x1}))_0x3b18bf[_0x1456('0x80')][_0x1456('0x35')](_0x36a8cc[_0x1456('0x94')]['createRangeOn'](_0x2c3d78));},{'priority':'low'}),_0x3066b7[_0x1456('0x37')][_0x1456('0x10')](_0x3b5225=>{if(_0x3b5225['subType']&&_0x3b5225['subType']['startsWith']('tablePaste'))return _0x3b5225[_0x1456('0x7a')]?{}:{'type':_0x1456('0x36'),'content':_0x49b8e3(_0x36a8cc[_0x1456('0x75')],'*Replace\x20table\x20cells*')};});const _0xf736f5=()=>{};for(const _0x712fbe of['tablePaste',_0x1456('0x89'),_0x1456('0x44'),_0x1456('0x76')])_0x3066b7['_suggestionFactory']['registerCustomCallback'](_0x1456('0x36'),_0x712fbe,_0x1456('0x8c'),_0xf736f5),_0x3066b7[_0x1456('0x5b')][_0x1456('0x8')](_0x1456('0x85'),_0x712fbe,'join',_0xf736f5);_0x3066b7['_suggestionFactory'][_0x1456('0x8')](_0x1456('0x34'),'tablePasteCell',_0x1456('0x64'),_0xf736f5),_0x3066b7['_suggestionFactory'][_0x1456('0x8')]('formatBlock','tablePasteCell','accept',(_0x19c692,_0x3c134d,_0x2564d6)=>{const _0x7136b7=_0x19c692[_0x1456('0x4d')](_0x337fb8=>_0x337fb8['getContainedElement']())[_0x1456('0x65')](_0x5253b7=>_0x5253b7),_0x5b11d8=new Map(_0x7136b7[_0x1456('0x4d')](_0xf4b6f7=>[_0xf4b6f7,null]));if(_0x3b18bf)for(const {element:_0x4d0e89,attributes:_0x410f64}of _0x3b18bf['cells'])_0x410f64&&_0x5b11d8[_0x1456('0x56')](_0x4d0e89,_0x410f64);else{if(_0x2564d6&&_0x2564d6[_0x1456('0x2f')])for(const [_0x3f6fc2,_0x4f4372]of Object[_0x1456('0x7c')](_0x2564d6[_0x1456('0x2f')])){const _0x542a81=_0x36a8cc['model'][_0x1456('0x68')][_0x1456('0x1a')](_0x3f6fc2),_0x1fc506=_0x542a81?_0x542a81[_0x1456('0x3f')]()[_0x1456('0x4e')]():null;_0x1fc506&&_0x5b11d8['set'](_0x1fc506,_0x4f4372);}}_0x36a8cc[_0x1456('0x94')][_0x1456('0x91')](_0x5ada3a=>{for(const [_0x5dd5b4,_0x23e161]of _0x5b11d8)_0x5ada3a[_0x1456('0x83')]({...ae,..._0x23e161},_0x5dd5b4);});});const _0x3f960e=(_0x43806d,_0x2ea7d9)=>{_0x3066b7[_0x1456('0x5b')][_0x1456('0x8')](_0x43806d,'tablePaste',_0x2ea7d9,(_0x460ec3,_0x579da3,_0x438647)=>{_0x36a8cc[_0x1456('0x94')][_0x1456('0x91')](_0x3cfdd1=>{const _0x352ff8=[];for(const _0x54b017 of _0x460ec3){const _0x67d98c=_0x54b017['start']['nodeAfter'];_0x67d98c['is'](_0x1456('0x6'),_0x1456('0x51'))&&_0x352ff8['push'](_0x67d98c);}_0x3066b7['_suggestionFactory'][_0x1456('0x16')](_0x43806d,null,_0x2ea7d9)(_0x460ec3,_0x579da3,_0x438647);for(const _0x22bbd5 of _0x352ff8)_0x1456('0x6c')!=_0x22bbd5[_0x1456('0x47')]['rootName']&&_0x3cfdd1[_0x1456('0x61')](_0x22bbd5);});});};_0x3f960e(_0x1456('0x36'),_0x1456('0xa0')),_0x3f960e(_0x1456('0x36'),_0x1456('0x64')),_0x3f960e(_0x1456('0x85'),_0x1456('0xa0')),_0x3f960e(_0x1456('0x85'),_0x1456('0x64')),_0x3066b7[_0x1456('0x5b')][_0x1456('0x8')](_0x1456('0x36'),_0x1456('0x44'),_0x1456('0x64'),_0x357ad1=>{const _0x3bd681=_0x357ad1['map'](_0x45152f=>_0x45152f[_0x1456('0x4e')]()),_0x1054d5=_0x3bd681[0x0][_0x1456('0x58')](_0x1456('0xb')),{minRow:_0x37e437,maxRow:_0x40c4de}=_0x2cfa99[_0x1456('0x53')](_0x3bd681);_0x34c340[_0x1456('0xf')](_0x1054d5,{'at':_0x37e437,'rows':_0x40c4de-_0x37e437+0x1});}),_0x3066b7[_0x1456('0x5b')]['registerCustomCallback'](_0x1456('0x36'),_0x1456('0x89'),_0x1456('0x64'),_0x5ce1df=>{const _0x1a814a=_0x5ce1df[_0x1456('0x4d')](_0x3be62b=>_0x3be62b[_0x1456('0x4e')]()),_0x5ad9e0=_0x1a814a[0x0][_0x1456('0x58')](_0x1456('0xb')),{minColumn:_0x444d81,maxColumn:_0x142bef}=_0x2cfa99[_0x1456('0x53')](_0x1a814a);_0x34c340['removeColumns'](_0x5ad9e0,{'at':_0x444d81,'columns':_0x142bef-_0x444d81+0x1});});const _0x2e6476=(_0x250a53,_0x46ccbb)=>{if(!_0x46ccbb[_0x1456('0x32')]||!_0x46ccbb[_0x1456('0x32')][_0x1456('0x40')](_0x1456('0x1d')))return;const _0x47f4d6=_0x46ccbb['attributes']['tablePasteChainId'],_0x35ada3=_0x3066b7['getSuggestions']()['filter'](_0x457dc4=>_0x457dc4[_0x1456('0x5')]&&_0x457dc4[_0x1456('0x5a')]&&_0x457dc4[_0x1456('0x5a')][_0x1456('0x9d')]==_0x47f4d6);_0x35ada3[_0x1456('0x82')]&&_0x46ccbb[_0x1456('0xe')]()[_0x1456('0x82')]!=_0x35ada3[_0x1456('0x82')]&&_0x35ada3[_0x1456('0x9')]((_0x54ad70,_0x485539)=>(_0x54ad70[_0x1456('0x21')]=_0x485539,_0x485539['previous']=_0x54ad70,_0x485539));};function _0x159f30(_0x312ed0,_0x15043a=!0x0){const {id:_0x7bc64f}=_0x3066b7[_0x1456('0x3a')](_0x312ed0['markerName']),_0x344c94=[_0x1456('0x15'),_0x1456('0x22')],_0x4b1ee7=_0x3066b7[_0x1456('0x9f')][_0x1456('0x0')](_0x312ed0[_0x1456('0x45')]);return _0x4b1ee7&&_0x344c94[_0x1456('0x35')](_0x1456('0x41')),{'classes':_0x344c94,'attributes':{'data-suggestion':_0x7bc64f},'priority':_0x4b1ee7&&_0x15043a?0xbc2:0xbb8};}_0x3066b7['on']('suggestionLoaded',_0x2e6476,{'priority':_0x1456('0x1b')}),_0x3066b7['on']('suggestionUnloaded',_0x2e6476,{'priority':_0x1456('0x1b')}),_0x36a8cc['model'][_0x1456('0x52')][_0x1456('0x66')](()=>{let _0xd74b57=!0x1;const _0x39e014=Array['from'](_0x36a8cc['model'][_0x1456('0x52')]['differ'][_0x1456('0x87')]());for(const {name:_0xc26829,data:_0x14979e}of _0x39e014){const {group:_0x255ca8,type:_0x78a3c2,id:_0x4c9eae}=_0x3066b7[_0x1456('0x3a')](_0xc26829);if('suggestion'!=_0x255ca8||_0x1456('0x85')!=_0x78a3c2||_0x14979e[_0x1456('0x57')])continue;if(!_0x3066b7[_0x1456('0x98')](_0x4c9eae))continue;const _0x3f84b4=_0x3066b7['getSuggestion'](_0x4c9eae)[_0x1456('0x23')](),_0x1251ed=_0x36a8cc[_0x1456('0x8a')][_0x1456('0x1a')](_0x1456('0x59'))['me'];for(const _0x48ca17 of _0x3066b7[_0x1456('0x55')]()){if(!_0x48ca17[_0x1456('0x5')]||_0x48ca17[_0x1456('0x8d')]!=_0x1251ed)continue;if(_0x1456('0x34')!=_0x48ca17['type']||_0x1456('0x76')!=_0x48ca17['subType'])continue;if(_0x48ca17[_0x1456('0x23')]()[_0x1456('0x9e')](_0x22fade=>_0x3f84b4[_0x1456('0x28')](_0x3d70bf=>_0x3d70bf['containsRange'](_0x22fade,!0x0))))for(const _0x4b610e of _0x48ca17[_0x1456('0xe')]())_0x4b610e[_0x1456('0x5')]&&(_0x4b610e[_0x1456('0x64')](),_0xd74b57=!0x0);}}return _0xd74b57;}),_0x36a8cc[_0x1456('0x94')][_0x1456('0x52')][_0x1456('0x66')](_0x3490ce=>{const _0x34b4ca=_0x36a8cc[_0x1456('0x4')]['get']('redo');if(!_0x34b4ca||!_0x34b4ca[_0x1456('0x96')][_0x1456('0x60')](_0x3490ce[_0x1456('0x50')]))return!0x1;let _0x46d378=!0x1;const _0x4acf87=_0x36a8cc[_0x1456('0x8a')]['get'](_0x1456('0x59'))['me'],_0x5dc216=_0x36a8cc[_0x1456('0x94')]['document'][_0x1456('0x46')][_0x1456('0x69')](),_0x2977ad=Array['from'](_0x36a8cc[_0x1456('0x94')]['document'][_0x1456('0x46')][_0x1456('0x87')]())[_0x1456('0x65')](({name:_0x2309a2,data:_0x2bd9cc})=>{const {group:_0x7c13f5,subType:_0x2e4b0e,authorId:_0x3a77ba}=_0x3066b7[_0x1456('0x3a')](_0x2309a2);return _0x1456('0x13')==_0x7c13f5&&_0x1456('0x1d')==_0x2e4b0e&&_0x3a77ba==_0x4acf87['id']&&!_0x2bd9cc[_0x1456('0x57')];});for(const _0x5b901d of _0x5dc216){if(_0x1456('0x4c')!=_0x5b901d[_0x1456('0x38')]||_0x1456('0x51')!=_0x5b901d[_0x1456('0x93')]||0x1!=_0x5b901d[_0x1456('0x82')])continue;const _0x2581ba=_0x3490ce['createRange'](_0x5b901d[_0x1456('0x30')],_0x5b901d[_0x1456('0x30')]['getShiftedBy'](0x1));if(!_0x2977ad[_0x1456('0x3c')](({data:_0xdbe1f3})=>_0xdbe1f3['newRange'][_0x1456('0x1e')](_0x2581ba)))for(const {name:_0x25ec35,data:_0x454d0b}of _0x2977ad)if(_0x2581ba[_0x1456('0x33')](_0x454d0b[_0x1456('0x77')])){_0x3490ce['updateMarker'](_0x25ec35,{'range':_0x2581ba}),_0x46d378=!0x0;break;}}return _0x46d378;}),_0x36a8cc[_0x1456('0x94')][_0x1456('0x52')][_0x1456('0x66')](_0x1c071f=>{let _0xff528a=!0x1;const _0x5dcf9c=_0x36a8cc[_0x1456('0x8a')][_0x1456('0x1a')](_0x1456('0x59'))['me'],_0x4596ef=_0x3066b7[_0x1456('0x55')]()['filter'](_0x7fadbe=>_0x7fadbe[_0x1456('0x5')]&&_0x7fadbe[_0x1456('0x8d')]==_0x5dcf9c),_0x10ba0f=new Set(),_0xffcc5d=new Set();for(const _0x42565e of _0x4596ef)if(_0x1456('0x1d')==_0x42565e[_0x1456('0x32')])for(const _0x361287 of _0x42565e[_0x1456('0x8e')]()){const _0x4d8ca4=_0x361287[_0x1456('0x3f')]()[_0x1456('0x4e')]();if(_0x4d8ca4){if(_0x4d8ca4['is'](_0x1456('0x6'),_0x1456('0x51'))&&ce(_0x4d8ca4)){_0x42565e[_0x1456('0x6d')](_0x361287[_0x1456('0x93')]),_0x10ba0f[_0x1456('0x26')](_0x4d8ca4),_0xff528a=!0x0;const _0x4bb5d9=_0x4d8ca4[_0x1456('0x78')],_0x23ee97=_0x4d8ca4[_0x1456('0x20')],_0x12b5de=_0x4bb5d9&&_0x4bb5d9['is'](_0x1456('0x6'),_0x1456('0x51')),_0x9fc562=_0x23ee97&&_0x23ee97['is'](_0x1456('0x6'),_0x1456('0x51'));_0x12b5de&&!_0x10ba0f['has'](_0x4bb5d9)&&_0xffcc5d[_0x1456('0x26')](_0x4bb5d9),_0x9fc562&&!_0x10ba0f[_0x1456('0x60')](_0x23ee97)&&_0xffcc5d[_0x1456('0x26')](_0x23ee97);}else _0x4d8ca4['is']('element','paragraph')&&_0x4d8ca4[_0x1456('0x25')]&&(_0x42565e[_0x1456('0x6d')](_0x361287[_0x1456('0x93')]),_0xff528a=!0x0);}}else{if(_0x1456('0x76')==_0x42565e[_0x1456('0x32')]){if(!_0x42565e[_0x1456('0x5a')]||!_0x42565e['attributes'][_0x1456('0x9d')])continue;const _0xf33480=_0x42565e[_0x1456('0x5a')][_0x1456('0x2f')];if(_0xf33480&&Object[_0x1456('0x67')](_0xf33480)[_0x1456('0x82')])continue;const _0x50a7d9=_0x42565e[_0x1456('0x5a')][_0x1456('0x9d')];let _0x2904bd=!0x0,_0x28ae0d=!0x0;for(const _0x552281 of _0x4596ef)if(_0x552281['subType']&&_0x552281['subType'][_0x1456('0x40')](_0x1456('0x1d'))){if(!_0x552281[_0x1456('0x5a')][_0x1456('0x9d')]){_0x28ae0d=!0x1;break;}if(_0x552281['id']!=_0x42565e['id']&&_0x552281[_0x1456('0x5a')][_0x1456('0x9d')]==_0x50a7d9){_0x2904bd=!0x1;break;}}_0x28ae0d&&_0x2904bd&&(_0x42565e[_0x1456('0x2e')](),_0xff528a=!0x0);}}for(const _0x36bf8b of _0x10ba0f)_0x1c071f[_0x1456('0x92')](_0x36bf8b);for(const _0x181d39 of _0xffcc5d)_0x1c071f['unwrap'](_0x181d39);return _0xff528a;}),_0x36a8cc['conversion'][_0x1456('0x29')](_0x1456('0x3d'))[_0x1456('0x19')]({'model':_0x1456('0x11'),'view':(_0x4ea013,_0x2478a2)=>_0x159f30(_0x4ea013),'converterPriority':_0x1456('0x1b')}),_0x36a8cc['conversion'][_0x1456('0x29')]('dataDowncast')['markerToHighlight']({'model':_0x1456('0x11'),'view':(_0x5674c7,_0x3c669e)=>_0x3c669e[_0x1456('0x7e')][_0x1456('0x3b')]?_0x159f30(_0x5674c7,!0x1):null,'converterPriority':_0x1456('0x1b')});const _0x552641=_0x36a8cc['editing']['view'];this[_0x1456('0x54')](_0x552641[_0x1456('0x52')],_0x1456('0x9a'),(_0x1667b7,_0x5923b9)=>{const _0x2a1fc6=[];for(const _0x31e96f of _0x552641[_0x1456('0x27')](_0x5923b9[_0x1456('0x74')])['getItems']())_0x31e96f['is']('element',_0x1456('0x43'))&&_0x2a1fc6['push'](_0x31e96f);_0x552641[_0x1456('0x91')](_0x4744dc=>{for(const _0x1e47e4 of _0x2a1fc6)_0x4744dc[_0x1456('0xc')](_0x4744dc[_0x1456('0x27')](_0x1e47e4),_0x4744dc['createPositionBefore'](_0x1e47e4)),_0x4744dc[_0x1456('0x92')](_0x1e47e4);});});}}function ce(_0x105dc5){if(_0x105dc5[_0x1456('0x25')])return!0x0;const _0x2c44e8=_0x105dc5[_0x1456('0x5d')](0x0);return _0x2c44e8['is']('element',_0x1456('0x5e'))&&_0x2c44e8[_0x1456('0x25')];}function fe(_0x3c6a3d,_0x42231e={},_0x195eb6){for(const {isAnchor:_0x286e54,cellHeight:_0x58b506,cellWidth:_0x166c8d}of _0x195eb6[_0x1456('0x72')](_0x3c6a3d,{'includeAllSlots':!0x0,..._0x42231e}))if(!_0x286e54||0x1!=_0x58b506||0x1!=_0x166c8d)return!0x1;return!0x0;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5dbe=['formatGroupId','formatBlock','format','locale','selection','enableCommand','author','plugins','resizeTable','discard','editor','registerCustomCallback','change','afterInit','getTableColumnsWidths','_suggestionFactory','accept','get','tableWidth','handleSuggestionDescription','resizeColumnWidths','bind','Users','getSelectedElement','getContainedElement','markBlockFormat','getAttribute','getSuggestionCallback','resizeTableWidth','data','columnWidths','getColumnGroupElement','handleResizeTableWidthCommand','document','model','commandParams','has','TrackChangesEditing','TableColumnResizeEditing'];(function(_0x1a8bea,_0x5dbe1e){const _0x1e64ec=function(_0x628fd2){while(--_0x628fd2){_0x1a8bea['push'](_0x1a8bea['shift']());}};_0x1e64ec(++_0x5dbe1e);}(_0x5dbe,0xd3));const _0x1e64=function(_0x1a8bea,_0x5dbe1e){_0x1a8bea=_0x1a8bea-0x0;let _0x1e64ec=_0x5dbe[_0x1a8bea];return _0x1e64ec;};import{Plugin as _0x667bce}from'ckeditor5/src/core';import{getTranslation as _0x49e94b}from'../utils/common-translations';export default class wt extends _0x667bce{[_0x1e64('0x24')](){if(!this[_0x1e64('0x21')]['plugins'][_0x1e64('0x14')](_0x1e64('0x16')))return;const _0x33370f=this['editor'][_0x1e64('0x1e')][_0x1e64('0x1')](_0x1e64('0x15'));_0x33370f[_0x1e64('0x1c')](_0x1e64('0xc'),this['handleResizeTableWidthCommand'][_0x1e64('0x5')](this)),_0x33370f[_0x1e64('0x1c')](_0x1e64('0x4'),this[_0x1e64('0x10')]['bind'](this)),_0x33370f[_0x1e64('0x26')][_0x1e64('0x22')]('formatBlock',_0x1e64('0x1f'),_0x1e64('0x0'),_0x33370f['_suggestionFactory']['getSuggestionCallback']('formatBlock',null,_0x1e64('0x20'))),_0x33370f[_0x1e64('0x26')]['registerCustomCallback']('formatBlock',_0x1e64('0x1f'),_0x1e64('0x20'),_0x33370f[_0x1e64('0x26')][_0x1e64('0xb')](_0x1e64('0x18'),null,_0x1e64('0x0'))),_0x33370f['_descriptionFactory']['registerDescriptionCallback'](this[_0x1e64('0x3')][_0x1e64('0x5')](this));}[_0x1e64('0x10')](_0x4642b4,_0x2f2334){const _0x3ada92=this[_0x1e64('0x21')]['plugins']['get'](_0x1e64('0x15')),_0x36f046=this['editor'][_0x1e64('0x1e')]['get']('TableColumnResizeEditing'),_0xdcaefe=_0x2f2334['table']||this[_0x1e64('0x21')]['model'][_0x1e64('0x11')][_0x1e64('0x1b')][_0x1e64('0x7')]();this[_0x1e64('0x21')][_0x1e64('0x12')][_0x1e64('0x23')](()=>{const _0xe9f51c=_0x36f046[_0x1e64('0xf')](_0xdcaefe);let _0xccccab=_0xe9f51c?_0x36f046[_0x1e64('0x25')](_0xe9f51c):null,_0x4c2a16=_0xdcaefe[_0x1e64('0xa')](_0x1e64('0x2'))||null;const _0x374d64=_0x2f2334[_0x1e64('0x2')]||_0x4c2a16,_0x206abf=_0x2f2334[_0x1e64('0xe')]||_0xccccab,_0x3c7eec=this[_0x1e64('0x21')]['plugins'][_0x1e64('0x1')](_0x1e64('0x6'))['me'];for(const _0x27abc9 of _0x3ada92['getSuggestions']()){const _0x2eed8d=_0x27abc9[_0x1e64('0x8')]();if(_0x1e64('0x1f')===_0x27abc9['subType']&&_0x2eed8d===_0xdcaefe){_0x27abc9[_0x1e64('0x1d')]!==_0x3c7eec&&_0x27abc9['discard']();const _0x7c126b=_0x27abc9[_0x1e64('0xd')][_0x1e64('0x13')];_0x4c2a16=_0x7c126b[0x0][_0x1e64('0x2')],_0xccccab=_0x7c126b[0x0][_0x1e64('0xe')];break;}}_0x4642b4({'table':_0xdcaefe,'tableWidth':_0x374d64,'columnWidths':_0x206abf}),_0x3ada92[_0x1e64('0x9')](_0xdcaefe,{'commandName':_0x1e64('0xc'),'commandParams':[{'tableWidth':_0x4c2a16,'columnWidths':_0xccccab}],'formatGroupId':_0x1e64('0x1f')},[],'resizeTable');});}['handleSuggestionDescription'](_0x545dc1){const {data:_0x1f61ab}=_0x545dc1;if(_0x1f61ab&&_0x1e64('0x1f')===_0x1f61ab[_0x1e64('0x17')]){const _0x405a35='*Format:*\x20resize\x20table';return{'type':_0x1e64('0x19'),'content':_0x49e94b(this[_0x1e64('0x21')][_0x1e64('0x1a')],_0x405a35)};}}}
23
+ const _0x30da=['get','resizeColumnWidths','enableCommand','editor','resizeTable','tableWidth','formatBlock','afterInit','getSuggestions','_descriptionFactory','model','commandParams','table','getContainedElement','*Format:*\x20resize\x20table','resizeTableWidth','TableColumnResizeEditing','format','data','subType','_suggestionFactory','bind','Users','registerCustomCallback','discard','locale','TrackChangesEditing','getAttribute','getSelectedElement','handleSuggestionDescription','handleResizeTableWidthCommand','columnWidths','plugins','has','registerDescriptionCallback','markBlockFormat'];(function(_0x18b115,_0x30dabd){const _0x28fbb4=function(_0x299b6b){while(--_0x299b6b){_0x18b115['push'](_0x18b115['shift']());}};_0x28fbb4(++_0x30dabd);}(_0x30da,0xcb));const _0x28fb=function(_0x18b115,_0x30dabd){_0x18b115=_0x18b115-0x0;let _0x28fbb4=_0x30da[_0x18b115];return _0x28fbb4;};import{Plugin as _0x58bf00}from'ckeditor5/src/core';import{getTranslation as _0x4e70ee}from'../utils/common-translations';export default class wt extends _0x58bf00{[_0x28fb('0x14')](){if(!this[_0x28fb('0x10')]['plugins'][_0x28fb('0xa')]('TableColumnResizeEditing'))return;const _0x4e74a1=this[_0x28fb('0x10')][_0x28fb('0x9')][_0x28fb('0xd')](_0x28fb('0x3'));_0x4e74a1[_0x28fb('0xf')]('resizeTableWidth',this[_0x28fb('0x7')][_0x28fb('0x22')](this)),_0x4e74a1[_0x28fb('0xf')](_0x28fb('0xe'),this['handleResizeTableWidthCommand'][_0x28fb('0x22')](this)),_0x4e74a1[_0x28fb('0x21')][_0x28fb('0x0')](_0x28fb('0x13'),_0x28fb('0x11'),'accept',_0x4e74a1[_0x28fb('0x21')]['getSuggestionCallback'](_0x28fb('0x13'),null,'discard')),_0x4e74a1['_suggestionFactory'][_0x28fb('0x0')]('formatBlock','resizeTable',_0x28fb('0x1'),_0x4e74a1[_0x28fb('0x21')]['getSuggestionCallback'](_0x28fb('0x13'),null,'accept')),_0x4e74a1[_0x28fb('0x16')][_0x28fb('0xb')](this[_0x28fb('0x6')]['bind'](this));}[_0x28fb('0x7')](_0x1012c5,_0x4fa837){const _0x46ad3a=this['editor'][_0x28fb('0x9')][_0x28fb('0xd')](_0x28fb('0x3')),_0x52c04d=this['editor'][_0x28fb('0x9')][_0x28fb('0xd')](_0x28fb('0x1d')),_0x2ffc67=_0x4fa837[_0x28fb('0x19')]||this[_0x28fb('0x10')][_0x28fb('0x17')]['document']['selection'][_0x28fb('0x5')]();this[_0x28fb('0x10')][_0x28fb('0x17')]['change'](()=>{const _0x5c9502=_0x52c04d['getColumnGroupElement'](_0x2ffc67);let _0x1c1e55=_0x5c9502?_0x52c04d['getTableColumnsWidths'](_0x5c9502):null,_0xb991da=_0x2ffc67[_0x28fb('0x4')]('tableWidth')||null;const _0x535511=_0x4fa837[_0x28fb('0x12')]||_0xb991da,_0x447900=_0x4fa837[_0x28fb('0x8')]||_0x1c1e55,_0x56d5c2=this['editor']['plugins'][_0x28fb('0xd')](_0x28fb('0x23'))['me'];for(const _0x353e67 of _0x46ad3a[_0x28fb('0x15')]()){const _0x481504=_0x353e67[_0x28fb('0x1a')]();if('resizeTable'===_0x353e67[_0x28fb('0x20')]&&_0x481504===_0x2ffc67){_0x353e67['author']!==_0x56d5c2&&_0x353e67[_0x28fb('0x1')]();const _0x5bf344=_0x353e67[_0x28fb('0x1f')][_0x28fb('0x18')];_0xb991da=_0x5bf344[0x0][_0x28fb('0x12')],_0x1c1e55=_0x5bf344[0x0]['columnWidths'];break;}}_0x1012c5({'table':_0x2ffc67,'tableWidth':_0x535511,'columnWidths':_0x447900}),_0x46ad3a[_0x28fb('0xc')](_0x2ffc67,{'commandName':_0x28fb('0x1c'),'commandParams':[{'tableWidth':_0xb991da,'columnWidths':_0x1c1e55}],'formatGroupId':'resizeTable'},[],_0x28fb('0x11'));});}[_0x28fb('0x6')](_0x35a65d){const {data:_0x1d2a7b}=_0x35a65d;if(_0x1d2a7b&&'resizeTable'===_0x1d2a7b['formatGroupId']){const _0x377e54=_0x28fb('0x1b');return{'type':_0x28fb('0x1e'),'content':_0x4e70ee(this[_0x28fb('0x10')][_0x28fb('0x2')],_0x377e54)};}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2b24=['markerName','commands','accept','setTableRowHeader','removeAttribute','unbindElementFromMarkerName','setAttribute','TableUtils','addClass','cell','bindElementToMarker','end','plugins','data-suggestion','createRange','document','registerDescriptionCallback','first','markerRange','get','createTableWalker','stop','TableEditing','highest','has','data','removeClass','from','writer','_suggestionFactory','FORMAT_REGULAR_ROW','registerCustomCallback','childCount','consumable','commandParams','locale','parent','TrackChangesEditing','change','removeMarker:suggestion','getRowIndexes','selection','enableCommand','setTableColumnHeader','model','editor','editing','last','nodeAfter','downcastDispatcher','findAncestor','getSuggestion','_descriptionFactory','getCellLocation','getAttribute','commandName','headingColumns','forceValue','mapper','createPositionAfter','markBlockFormat','table','FORMAT_HEADER_ROW','ck-suggestion-marker-','_splitMarkerName','formatBlock','index','getChild','createPositionBefore','showSuggestionHighlights','ck-suggestion-marker--active','includes'];(function(_0x85f27a,_0x2b24bd){const _0x136c96=function(_0x55d57a){while(--_0x55d57a){_0x85f27a['push'](_0x85f27a['shift']());}};_0x136c96(++_0x2b24bd);}(_0x2b24,0x87));const _0x136c=function(_0x85f27a,_0x2b24bd){_0x85f27a=_0x85f27a-0x0;let _0x136c96=_0x2b24[_0x85f27a];return _0x136c96;};import{Plugin as _0x9cf2c1}from'ckeditor5/src/core';import _0x47cb3c from'./table';import{getTranslation as _0xc3f407}from'../utils/common-translations';export default class pt extends _0x9cf2c1{static get['requires'](){return[_0x47cb3c];}['afterInit'](){const _0x3b0671=this[_0x136c('0x36')];if(!_0x3b0671[_0x136c('0x15')][_0x136c('0x21')](_0x136c('0x1f')))return;const _0x530165=_0x3b0671[_0x136c('0x2c')],_0x3777fa=_0x3b0671[_0x136c('0x15')]['get'](_0x136c('0x2e')),_0x2e9451=_0x3b0671[_0x136c('0x15')][_0x136c('0x1c')]('TableUtils'),_0x2425ce=_0x3b0671[_0x136c('0x15')]['get'](_0x47cb3c);function _0x443571({showActiveMarker:_0x8cea2b=!0x0,setDataAttribute:_0x82ad9e=!0x0}={}){return(_0x5cb159,_0x3035af,_0x5f3496)=>{const {type:_0x3131e3,id:_0x59e6fd}=_0x3777fa[_0x136c('0x1')](_0x3035af[_0x136c('0x9')]),_0x5268f0=_0x3777fa['getSuggestion'](_0x59e6fd);if(!_0x5268f0[_0x136c('0x22')]||_0x136c('0x34')!=_0x5268f0[_0x136c('0x22')][_0x136c('0x40')])return;if(_0x3035af['item'])return void _0x5cb159[_0x136c('0x1e')]();if(!_0x5f3496[_0x136c('0x2a')]['consume'](_0x3035af['markerRange'],_0x5cb159['name']))return;const _0x254a26=_0x3035af[_0x136c('0x1b')]['start'][_0x136c('0x39')],_0x118c72=_0x3035af['markerRange'][_0x136c('0x14')]['nodeBefore'],_0x48bcaf=_0x254a26['parent'][_0x136c('0x2d')],{column:_0x2eb8a6}=_0x2e9451['getCellLocation'](_0x254a26),{column:_0x8ff35}=_0x2e9451[_0x136c('0x3e')](_0x118c72);for(let _0x5693f9=_0x2eb8a6;_0x5693f9<=_0x8ff35;_0x5693f9++){const _0x4cf1e7=_0x2e9451[_0x136c('0x1d')](_0x48bcaf,{'column':_0x5693f9,'includeAllSlots':!0x1});for(const _0x109bc9 of _0x4cf1e7){const _0x163dff=_0x109bc9[_0x136c('0x12')],_0x424f94=_0x5f3496[_0x136c('0x43')]['toViewElement'](_0x163dff);_0x5f3496[_0x136c('0x25')][_0x136c('0x11')](_0x136c('0x0')+_0x3131e3,_0x424f94),_0x82ad9e&&_0x5f3496[_0x136c('0x25')][_0x136c('0xf')](_0x136c('0x16'),_0x59e6fd,_0x424f94),_0x5f3496[_0x136c('0x43')][_0x136c('0x13')](_0x424f94,_0x3035af[_0x136c('0x9')]),_0x8cea2b&&(_0x3777fa['activeMarkers'][_0x136c('0x8')](_0x3035af[_0x136c('0x9')])?_0x5f3496[_0x136c('0x25')]['addClass'](_0x136c('0x7'),_0x424f94):_0x5f3496[_0x136c('0x25')]['removeClass'](_0x136c('0x7'),_0x424f94));}}};}_0x3777fa['enableCommand'](_0x136c('0xc'),(_0x2b9076,_0x341001)=>{const _0x33318c=_0x2e9451['getSelectionAffectedTableCells'](_0x3b0671[_0x136c('0x35')][_0x136c('0x18')][_0x136c('0x32')]),_0x75fad9=_0x2e9451[_0x136c('0x31')](_0x33318c),_0x1181e3=_0x33318c[0x0]['findAncestor']('table'),_0x1111ba=_0x1181e3['getAttribute']('headingRows')||0x0,_0x2e17fb=_0x341001&&null!==_0x341001['forceValue']?_0x341001[_0x136c('0x42')]:!_0x3b0671[_0x136c('0xa')]['get'](_0x136c('0xc'))['value'],_0x8edc12=_0x2e17fb?_0x75fad9['last']:_0x75fad9[_0x136c('0x1a')],_0x37c908=_0x1181e3[_0x136c('0x4')](_0x8edc12);let _0x4c7c7c;if(_0x2e17fb){const _0x308a92=_0x1181e3['getChild'](_0x1111ba);if(_0x37c908['index']<_0x308a92[_0x136c('0x3')])return;_0x4c7c7c=_0x3b0671[_0x136c('0x35')][_0x136c('0x17')](_0x3b0671['model'][_0x136c('0x5')](_0x308a92[_0x136c('0x4')](0x0)),_0x3b0671['model']['createPositionAfter'](_0x37c908['getChild'](_0x37c908[_0x136c('0x29')]-0x1)));}else{const _0x5ef8b7=_0x1181e3[_0x136c('0x4')](_0x1111ba-0x1);if(!_0x5ef8b7)return;_0x4c7c7c=_0x3b0671[_0x136c('0x35')][_0x136c('0x17')](_0x3b0671[_0x136c('0x35')][_0x136c('0x5')](_0x37c908[_0x136c('0x4')](0x0)),_0x3b0671[_0x136c('0x35')]['createPositionAfter'](_0x5ef8b7['getChild'](_0x5ef8b7['childCount']-0x1)));}_0x3b0671[_0x136c('0x35')][_0x136c('0x2f')](()=>{_0x3777fa[_0x136c('0x45')](_0x4c7c7c,{'commandName':_0x136c('0xc'),'commandParams':[{'forceValue':_0x2e17fb}]},[],_0x136c('0xc'));});}),_0x3777fa[_0x136c('0x33')](_0x136c('0x34'),(_0x12563c,_0x4e6bd9)=>{const _0x5d895e=_0x3b0671['plugins']['get'](_0x136c('0x10')),_0x3717b8=_0x5d895e['getSelectionAffectedTableCells'](_0x3b0671[_0x136c('0x35')][_0x136c('0x18')]['selection']),_0x47beb9=_0x5d895e['getColumnIndexes'](_0x3717b8),_0xefc330=_0x3717b8[0x0][_0x136c('0x3b')](_0x136c('0x46')),_0x49e1a3=_0xefc330[_0x136c('0x3f')](_0x136c('0x41'))||0x0,_0x338139=_0x4e6bd9&&null!==_0x4e6bd9[_0x136c('0x42')]?_0x4e6bd9['forceValue']:!_0x3b0671['commands']['get'](_0x136c('0x34'))['value'];let _0x4c081d;const _0x8e6c3f=_0xefc330[_0x136c('0x4')](0x0),_0x222ff0=_0x338139?_0x47beb9[_0x136c('0x38')]:_0x47beb9[_0x136c('0x1a')],_0x37ba9d=_0x5d895e[_0x136c('0x1d')](_0xefc330,{'startRow':0x0,'column':_0x222ff0,'includeAllSlots':!0x1}),_0x149756=Array[_0x136c('0x24')](_0x37ba9d)[0x0][_0x136c('0x12')];if(_0x338139){const _0x2d3af3=_0x8e6c3f[_0x136c('0x4')](_0x49e1a3);if(_0x149756['isBefore'](_0x2d3af3))return;_0x4c081d=_0x3b0671[_0x136c('0x35')][_0x136c('0x17')](_0x3b0671[_0x136c('0x35')][_0x136c('0x5')](_0x2d3af3),_0x3b0671[_0x136c('0x35')][_0x136c('0x44')](_0x149756));}else{const _0x675551=_0x8e6c3f['getChild'](_0x49e1a3-0x1);if(!_0x675551)return;_0x4c081d=_0x3b0671[_0x136c('0x35')][_0x136c('0x17')](_0x3b0671[_0x136c('0x35')]['createPositionBefore'](_0x149756),_0x3b0671[_0x136c('0x35')][_0x136c('0x44')](_0x675551));}_0x3b0671[_0x136c('0x35')][_0x136c('0x2f')](()=>{_0x3777fa['markBlockFormat'](_0x4c081d,{'commandName':_0x136c('0x34'),'commandParams':[{'forceValue':_0x338139}]},[],'setTableColumnHeader');});}),_0x3b0671['editing']['downcastDispatcher']['on']('addMarker:suggestion',_0x443571(),{'priority':'highest'}),_0x3b0671[_0x136c('0x22')][_0x136c('0x3a')]['on']('addMarker:suggestion',(_0x1ef225,_0x554cd6,_0x2a372a)=>{_0x2a372a['options'][_0x136c('0x6')]&&_0x443571({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x1ef225,_0x554cd6,_0x2a372a);},{'priority':'highest'}),_0x3b0671[_0x136c('0x37')]['downcastDispatcher']['on'](_0x136c('0x30'),(_0x4945f0,_0x1c305b,_0x35eafa)=>{const {type:_0x9f7337,id:_0x4879a9}=_0x3777fa[_0x136c('0x1')](_0x1c305b[_0x136c('0x9')]),_0x941d99=_0x3777fa[_0x136c('0x3c')](_0x4879a9);if(!_0x941d99[_0x136c('0x22')]||_0x136c('0x34')!=_0x941d99[_0x136c('0x22')]['commandName'])return;const _0x2d9610=_0x35eafa[_0x136c('0x43')]['markerNameToElements'](_0x1c305b[_0x136c('0x9')]);if(_0x2d9610)for(const _0x145654 of _0x2d9610)_0x35eafa[_0x136c('0x25')]['removeClass']('ck-suggestion-marker-'+_0x9f7337,_0x145654),_0x35eafa[_0x136c('0x25')][_0x136c('0x23')](_0x136c('0x7'),_0x145654),_0x35eafa[_0x136c('0x25')][_0x136c('0xd')](_0x136c('0x16'),_0x145654),_0x35eafa[_0x136c('0x43')][_0x136c('0xe')](_0x145654,_0x1c305b[_0x136c('0x9')]);},{'priority':_0x136c('0x20')}),_0x3777fa[_0x136c('0x3d')][_0x136c('0x19')](_0x3508b4=>{const {data:_0x5ceaf1}=_0x3508b4;if(_0x5ceaf1){if(_0x136c('0xc')==_0x5ceaf1[_0x136c('0x40')]){const _0x2d2062=_0x5ceaf1[_0x136c('0x2b')][0x0]['forceValue'];return _0x455b57(_0xc3f407(_0x530165,_0x2d2062?_0x136c('0x47'):_0x136c('0x27')));}if(_0x136c('0x34')==_0x5ceaf1['commandName']){const _0x379071=_0x5ceaf1['commandParams'][0x0][_0x136c('0x42')];return _0x455b57(_0xc3f407(_0x530165,_0x379071?'FORMAT_HEADER_COLUMN':'FORMAT_REGULAR_COLUMN'));}}function _0x455b57(_0x5cd2a0){return{'type':'format','content':_0xc3f407(_0x530165,'*Format:*\x20%0',_0x5cd2a0)};}});const _0x983096=_0x2425ce['_acceptFormatSuggestionCallbackFactory']();_0x3777fa[_0x136c('0x26')][_0x136c('0x28')](_0x136c('0x2'),_0x136c('0xc'),_0x136c('0xb'),_0x983096),_0x3777fa[_0x136c('0x26')][_0x136c('0x28')](_0x136c('0x2'),_0x136c('0x34'),_0x136c('0xb'),_0x983096);}}
23
+ const _0x791f=['options','ck-suggestion-marker--active','document','has','mapper','forceValue','getColumnIndexes','_splitMarkerName','bindElementToMarker','registerCustomCallback','headingRows','selection','getAttribute','findAncestor','createRange','writer','change','createTableWalker','data','removeClass','item','enableCommand','FORMAT_HEADER_COLUMN','setTableColumnHeader','TableEditing','last','value','ck-suggestion-marker-','commandName','nodeBefore','consume','_suggestionFactory','model','_acceptFormatSuggestionCallbackFactory','FORMAT_REGULAR_COLUMN','FORMAT_REGULAR_ROW','addMarker:suggestion','get','parent','markerRange','editor','table','getChild','getSuggestion','data-suggestion','TableUtils','name','markerName','removeAttribute','from','getSelectionAffectedTableCells','index','downcastDispatcher','getRowIndexes','showSuggestionHighlights','first','childCount','formatBlock','format','commands','afterInit','cell','highest','editing','createPositionBefore','addClass','commandParams','requires','markBlockFormat','includes','*Format:*\x20%0','_descriptionFactory','accept','createPositionAfter','end','FORMAT_HEADER_ROW','headingColumns','plugins','setTableRowHeader','stop','unbindElementFromMarkerName'];(function(_0x21afc3,_0x791fca){const _0x433e13=function(_0x46ed20){while(--_0x46ed20){_0x21afc3['push'](_0x21afc3['shift']());}};_0x433e13(++_0x791fca);}(_0x791f,0xf1));const _0x433e=function(_0x21afc3,_0x791fca){_0x21afc3=_0x21afc3-0x0;let _0x433e13=_0x791f[_0x21afc3];return _0x433e13;};import{Plugin as _0x58df30}from'ckeditor5/src/core';import _0x153ab3 from'./table';import{getTranslation as _0xa605c5}from'../utils/common-translations';export default class pt extends _0x58df30{static get[_0x433e('0x45')](){return[_0x153ab3];}[_0x433e('0x3e')](){const _0x2f7abf=this[_0x433e('0x2a')];if(!_0x2f7abf[_0x433e('0x4f')][_0x433e('0x5')](_0x433e('0x1a')))return;const _0x27569e=_0x2f7abf['locale'],_0x17893a=_0x2f7abf[_0x433e('0x4f')][_0x433e('0x27')]('TrackChangesEditing'),_0xae5c72=_0x2f7abf[_0x433e('0x4f')]['get'](_0x433e('0x2f')),_0x5c2169=_0x2f7abf['plugins'][_0x433e('0x27')](_0x153ab3);function _0x420bd7({showActiveMarker:_0x3dd110=!0x0,setDataAttribute:_0x2b71e8=!0x0}={}){return(_0x148293,_0x38630a,_0x3be5ec)=>{const {type:_0x1c9424,id:_0x1dbcf4}=_0x17893a[_0x433e('0x9')](_0x38630a[_0x433e('0x31')]),_0x6f28e6=_0x17893a[_0x433e('0x2d')](_0x1dbcf4);if(!_0x6f28e6[_0x433e('0x14')]||_0x433e('0x19')!=_0x6f28e6[_0x433e('0x14')][_0x433e('0x1e')])return;if(_0x38630a[_0x433e('0x16')])return void _0x148293[_0x433e('0x0')]();if(!_0x3be5ec['consumable'][_0x433e('0x20')](_0x38630a[_0x433e('0x29')],_0x148293[_0x433e('0x30')]))return;const _0x2cc875=_0x38630a[_0x433e('0x29')]['start']['nodeAfter'],_0x216e4b=_0x38630a[_0x433e('0x29')][_0x433e('0x4c')][_0x433e('0x1f')],_0x508fb3=_0x2cc875[_0x433e('0x28')]['parent'],{column:_0x23e705}=_0xae5c72['getCellLocation'](_0x2cc875),{column:_0x3f1796}=_0xae5c72['getCellLocation'](_0x216e4b);for(let _0x1fcf44=_0x23e705;_0x1fcf44<=_0x3f1796;_0x1fcf44++){const _0x302a0a=_0xae5c72[_0x433e('0x13')](_0x508fb3,{'column':_0x1fcf44,'includeAllSlots':!0x1});for(const _0x38fed0 of _0x302a0a){const _0x2c366f=_0x38fed0[_0x433e('0x3f')],_0x33a170=_0x3be5ec['mapper']['toViewElement'](_0x2c366f);_0x3be5ec[_0x433e('0x11')]['addClass']('ck-suggestion-marker-'+_0x1c9424,_0x33a170),_0x2b71e8&&_0x3be5ec['writer']['setAttribute'](_0x433e('0x2e'),_0x1dbcf4,_0x33a170),_0x3be5ec['mapper'][_0x433e('0xa')](_0x33a170,_0x38630a['markerName']),_0x3dd110&&(_0x17893a['activeMarkers'][_0x433e('0x47')](_0x38630a[_0x433e('0x31')])?_0x3be5ec[_0x433e('0x11')][_0x433e('0x43')](_0x433e('0x3'),_0x33a170):_0x3be5ec[_0x433e('0x11')]['removeClass']('ck-suggestion-marker--active',_0x33a170));}}};}_0x17893a[_0x433e('0x17')](_0x433e('0x50'),(_0x273946,_0x10d636)=>{const _0x5b00e4=_0xae5c72[_0x433e('0x34')](_0x2f7abf['model'][_0x433e('0x4')][_0x433e('0xd')]),_0x2c4b=_0xae5c72[_0x433e('0x37')](_0x5b00e4),_0xa538ed=_0x5b00e4[0x0][_0x433e('0xf')](_0x433e('0x2b')),_0x544eab=_0xa538ed[_0x433e('0xe')](_0x433e('0xc'))||0x0,_0xa723e5=_0x10d636&&null!==_0x10d636[_0x433e('0x7')]?_0x10d636[_0x433e('0x7')]:!_0x2f7abf[_0x433e('0x3d')][_0x433e('0x27')](_0x433e('0x50'))['value'],_0x345ff9=_0xa723e5?_0x2c4b[_0x433e('0x1b')]:_0x2c4b['first'],_0x273e73=_0xa538ed['getChild'](_0x345ff9);let _0x2bb3ef;if(_0xa723e5){const _0x364c3c=_0xa538ed['getChild'](_0x544eab);if(_0x273e73[_0x433e('0x35')]<_0x364c3c[_0x433e('0x35')])return;_0x2bb3ef=_0x2f7abf[_0x433e('0x22')][_0x433e('0x10')](_0x2f7abf['model'][_0x433e('0x42')](_0x364c3c['getChild'](0x0)),_0x2f7abf[_0x433e('0x22')]['createPositionAfter'](_0x273e73[_0x433e('0x2c')](_0x273e73[_0x433e('0x3a')]-0x1)));}else{const _0x2d23ed=_0xa538ed[_0x433e('0x2c')](_0x544eab-0x1);if(!_0x2d23ed)return;_0x2bb3ef=_0x2f7abf[_0x433e('0x22')][_0x433e('0x10')](_0x2f7abf[_0x433e('0x22')]['createPositionBefore'](_0x273e73[_0x433e('0x2c')](0x0)),_0x2f7abf[_0x433e('0x22')][_0x433e('0x4b')](_0x2d23ed[_0x433e('0x2c')](_0x2d23ed['childCount']-0x1)));}_0x2f7abf[_0x433e('0x22')]['change'](()=>{_0x17893a[_0x433e('0x46')](_0x2bb3ef,{'commandName':_0x433e('0x50'),'commandParams':[{'forceValue':_0xa723e5}]},[],_0x433e('0x50'));});}),_0x17893a[_0x433e('0x17')](_0x433e('0x19'),(_0x17bedc,_0x4a1608)=>{const _0x4813c9=_0x2f7abf[_0x433e('0x4f')]['get'](_0x433e('0x2f')),_0x2490f3=_0x4813c9['getSelectionAffectedTableCells'](_0x2f7abf[_0x433e('0x22')][_0x433e('0x4')][_0x433e('0xd')]),_0x5d89ed=_0x4813c9[_0x433e('0x8')](_0x2490f3),_0x4e1799=_0x2490f3[0x0][_0x433e('0xf')]('table'),_0x8d12fd=_0x4e1799[_0x433e('0xe')](_0x433e('0x4e'))||0x0,_0x4e3273=_0x4a1608&&null!==_0x4a1608['forceValue']?_0x4a1608[_0x433e('0x7')]:!_0x2f7abf[_0x433e('0x3d')]['get'](_0x433e('0x19'))[_0x433e('0x1c')];let _0x3fbca3;const _0xf262c2=_0x4e1799[_0x433e('0x2c')](0x0),_0x186049=_0x4e3273?_0x5d89ed[_0x433e('0x1b')]:_0x5d89ed[_0x433e('0x39')],_0xc6587f=_0x4813c9[_0x433e('0x13')](_0x4e1799,{'startRow':0x0,'column':_0x186049,'includeAllSlots':!0x1}),_0x395123=Array[_0x433e('0x33')](_0xc6587f)[0x0][_0x433e('0x3f')];if(_0x4e3273){const _0x3acd42=_0xf262c2[_0x433e('0x2c')](_0x8d12fd);if(_0x395123['isBefore'](_0x3acd42))return;_0x3fbca3=_0x2f7abf[_0x433e('0x22')][_0x433e('0x10')](_0x2f7abf[_0x433e('0x22')][_0x433e('0x42')](_0x3acd42),_0x2f7abf[_0x433e('0x22')][_0x433e('0x4b')](_0x395123));}else{const _0x337684=_0xf262c2[_0x433e('0x2c')](_0x8d12fd-0x1);if(!_0x337684)return;_0x3fbca3=_0x2f7abf[_0x433e('0x22')]['createRange'](_0x2f7abf[_0x433e('0x22')][_0x433e('0x42')](_0x395123),_0x2f7abf[_0x433e('0x22')][_0x433e('0x4b')](_0x337684));}_0x2f7abf['model'][_0x433e('0x12')](()=>{_0x17893a[_0x433e('0x46')](_0x3fbca3,{'commandName':'setTableColumnHeader','commandParams':[{'forceValue':_0x4e3273}]},[],_0x433e('0x19'));});}),_0x2f7abf[_0x433e('0x41')][_0x433e('0x36')]['on'](_0x433e('0x26'),_0x420bd7(),{'priority':'highest'}),_0x2f7abf['data'][_0x433e('0x36')]['on'](_0x433e('0x26'),(_0x780fd2,_0x20d660,_0x5755c7)=>{_0x5755c7[_0x433e('0x2')][_0x433e('0x38')]&&_0x420bd7({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x780fd2,_0x20d660,_0x5755c7);},{'priority':_0x433e('0x40')}),_0x2f7abf['editing'][_0x433e('0x36')]['on']('removeMarker:suggestion',(_0x465d71,_0x48a2a3,_0x5819e0)=>{const {type:_0x5a4f5a,id:_0x57dd29}=_0x17893a['_splitMarkerName'](_0x48a2a3['markerName']),_0x1ffc9c=_0x17893a['getSuggestion'](_0x57dd29);if(!_0x1ffc9c['data']||'setTableColumnHeader'!=_0x1ffc9c[_0x433e('0x14')][_0x433e('0x1e')])return;const _0x536bac=_0x5819e0[_0x433e('0x6')]['markerNameToElements'](_0x48a2a3[_0x433e('0x31')]);if(_0x536bac)for(const _0x29e470 of _0x536bac)_0x5819e0['writer'][_0x433e('0x15')](_0x433e('0x1d')+_0x5a4f5a,_0x29e470),_0x5819e0['writer'][_0x433e('0x15')](_0x433e('0x3'),_0x29e470),_0x5819e0[_0x433e('0x11')][_0x433e('0x32')](_0x433e('0x2e'),_0x29e470),_0x5819e0['mapper'][_0x433e('0x1')](_0x29e470,_0x48a2a3[_0x433e('0x31')]);},{'priority':_0x433e('0x40')}),_0x17893a[_0x433e('0x49')]['registerDescriptionCallback'](_0x43921e=>{const {data:_0x4ccc0b}=_0x43921e;if(_0x4ccc0b){if(_0x433e('0x50')==_0x4ccc0b[_0x433e('0x1e')]){const _0x3371da=_0x4ccc0b[_0x433e('0x44')][0x0][_0x433e('0x7')];return _0x442484(_0xa605c5(_0x27569e,_0x3371da?_0x433e('0x4d'):_0x433e('0x25')));}if(_0x433e('0x19')==_0x4ccc0b[_0x433e('0x1e')]){const _0x4ab9be=_0x4ccc0b[_0x433e('0x44')][0x0][_0x433e('0x7')];return _0x442484(_0xa605c5(_0x27569e,_0x4ab9be?_0x433e('0x18'):_0x433e('0x24')));}}function _0x442484(_0x209099){return{'type':_0x433e('0x3c'),'content':_0xa605c5(_0x27569e,_0x433e('0x48'),_0x209099)};}});const _0x572838=_0x5c2169[_0x433e('0x23')]();_0x17893a[_0x433e('0x21')]['registerCustomCallback'](_0x433e('0x3b'),_0x433e('0x50'),_0x433e('0x4a'),_0x572838),_0x17893a[_0x433e('0x21')][_0x433e('0xb')](_0x433e('0x3b'),'setTableColumnHeader',_0x433e('0x4a'),_0x572838);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x48ab=['type','root','length','enableCommand','getFirstPosition','getCellLocation','from','cell','size','getSelectionAffectedTableCells','filter','execute','mergeTableCellDown','_isForcedDefaultExecutionBlock','markBlockFormat','getSuggestions','mergeTableCellLeft','TrackChangesEditing','createRangeOn','deletion','document','_areMergableCells','low','_descriptionFactory','_areSelectedCellsMergable','*Split\x20cell:*\x20vertically','findAncestor','mergeTableCells','getRanges','element','set:isEnabled','stop','requires','isEnabled','_suggestionFactory','setSelection','mergeTableCellRight','subType','highest','splitTableCellHorizontally','mergeTableCellUp','tableCell','markMultiRangeBlockFormat','value','_acceptFormatSuggestionCallbackFactory','add','map','locale','author','plugins','isInContent','getAncestors','rootName','editor','format','find','commands','TableEditing','accept','registerCustomCallback','insertion','commandName','selection','containsRange','TableUtils','push','get','trackChanges','change','splitTableCellVertically','formatBlock','createTableWalker','horizontally','model'];(function(_0x3196ad,_0x48ab06){const _0x572a2b=function(_0x15ca8a){while(--_0x15ca8a){_0x3196ad['push'](_0x3196ad['shift']());}};_0x572a2b(++_0x48ab06);}(_0x48ab,0x134));const _0x572a=function(_0x3196ad,_0x48ab06){_0x3196ad=_0x3196ad-0x0;let _0x572a2b=_0x48ab[_0x3196ad];return _0x572a2b;};import{Plugin as _0xbc34c6}from'ckeditor5/src/core';import _0x204d04 from'./table';import{LiveRange as _0x835bd}from'ckeditor5/src/engine';import{getTranslation as _0x2826a2}from'../utils/common-translations';export default class dt extends _0xbc34c6{static get[_0x572a('0x14')](){return[_0x204d04];}['afterInit'](){const _0x50c35e=this[_0x572a('0x29')],_0x584d7f=_0x50c35e[_0x572a('0x3d')]['document'][_0x572a('0x32')],_0xb2e4a8=_0x50c35e[_0x572a('0x23')];if(!_0x50c35e[_0x572a('0x25')]['has'](_0x572a('0x2d')))return;const _0x37a0ee=_0x50c35e[_0x572a('0x25')]['get']('TrackChangesEditing'),_0x470ccd=_0x50c35e['plugins'][_0x572a('0x36')](_0x572a('0x34')),_0x4ec9f6=_0x50c35e[_0x572a('0x25')][_0x572a('0x36')](_0x204d04);_0x4ec9f6['_tablePostFixingSubtypes'][_0x572a('0x35')]('mergeTableCells'),_0x37a0ee[_0x572a('0x41')](_0x572a('0xf'),()=>{const _0x249067=_0x470ccd[_0x572a('0x47')](_0x50c35e[_0x572a('0x3d')]['document'][_0x572a('0x32')]);_0x50c35e['model']['change'](()=>{_0x37a0ee[_0x572a('0x1e')](_0x249067,{'commandName':'mergeTableCells','commandParams':[]},[],_0x572a('0xf'));});}),_0x50c35e[_0x572a('0x2c')][_0x572a('0x36')](_0x572a('0xf'))['on'](_0x572a('0x49'),(_0x15a6d6,_0x3493e4)=>{_0x50c35e['commands'][_0x572a('0x36')](_0x572a('0x37'))[_0x572a('0x1f')]&&(_0x3493e4[_0x572a('0x40')]>0x0&&_0x3493e4[_0x3493e4[_0x572a('0x40')]-0x1]&&_0x3493e4[_0x3493e4[_0x572a('0x40')]-0x1]['forceDefaultExecution']||_0x37a0ee[_0x572a('0x1')]||this[_0x572a('0xc')]()||_0x15a6d6[_0x572a('0x13')]());},{'priority':_0x572a('0x1a')});for(const _0x5c20eb of['mergeTableCellUp',_0x572a('0x18'),'mergeTableCellDown',_0x572a('0x4')]){const _0x187ad0=_0x50c35e[_0x572a('0x2c')][_0x572a('0x36')](_0x5c20eb);_0x37a0ee['enableCommand'](_0x5c20eb,()=>{const _0x552e64=_0x50c35e[_0x572a('0x3d')][_0x572a('0x8')][_0x572a('0x32')][_0x572a('0x42')]()[_0x572a('0x27')]()['find'](_0x3cb6d0=>_0x3cb6d0['is'](_0x572a('0x11'),_0x572a('0x1d'))),_0x32aa07=_0x187ad0['value'];_0x50c35e['model'][_0x572a('0x38')](()=>{_0x37a0ee[_0x572a('0x1e')]([_0x552e64,_0x32aa07],{'commandName':_0x572a('0xf'),'commandParams':[]},[],_0x572a('0xf'));});});}for(const _0x4ce04e of[_0x572a('0x39'),_0x572a('0x1b')]){const _0x2ea206=_0x50c35e[_0x572a('0x2c')]['get'](_0x4ce04e);_0x37a0ee['enableCommand'](_0x4ce04e,()=>{const _0x122a27=_0x470ccd[_0x572a('0x47')](_0x50c35e[_0x572a('0x3d')][_0x572a('0x8')]['selection'])[0x0],_0x205f8b=_0x122a27[_0x572a('0xe')]('table'),{column:_0x1c01e3,row:_0x804e60}=_0x470ccd[_0x572a('0x43')](_0x122a27);let _0x10c947=[];if(_0x572a('0x3c')==_0x2ea206['direction']){const _0x3b21b6=_0x470ccd[_0x572a('0x3b')](_0x205f8b,{'startRow':_0x804e60,'endRow':_0x804e60,'includeAllSlots':!0x0});_0x10c947=Array[_0x572a('0x44')](_0x3b21b6)[_0x572a('0x22')](_0x4dcd42=>_0x4dcd42[_0x572a('0x45')]);}else{const _0xeeeff4=_0x470ccd[_0x572a('0x3b')](_0x205f8b,{'column':_0x1c01e3,'includeAllSlots':!0x0});_0x10c947=Array[_0x572a('0x44')](_0xeeeff4)[_0x572a('0x22')](_0xa70eb2=>_0xa70eb2[_0x572a('0x45')]);}_0x50c35e['model'][_0x572a('0x38')](_0x3b7e3b=>{_0x37a0ee[_0x572a('0x2')](_0x3b7e3b['createRangeOn'](_0x122a27),{'commandName':_0x4ce04e,'commandParams':[]},_0x10c947,_0x4ce04e);});});}_0x37a0ee[_0x572a('0xb')]['registerDescriptionCallback'](_0x2ead67=>{const {data:_0x2965c3}=_0x2ead67;if(_0x2965c3)return _0x572a('0xf')==_0x2965c3[_0x572a('0x31')]?{'type':_0x572a('0x2a'),'content':_0x2826a2(_0xb2e4a8,'*Merge\x20cells*')}:void 0x0;}),_0x37a0ee[_0x572a('0xb')]['registerDescriptionCallback'](_0x364dbd=>{const {data:_0x22a1db}=_0x364dbd;if(_0x22a1db)return'splitTableCellVertically'==_0x22a1db[_0x572a('0x31')]?{'type':_0x572a('0x2a'),'content':_0x2826a2(_0xb2e4a8,_0x572a('0xd'))}:_0x572a('0x1b')==_0x22a1db[_0x572a('0x31')]?{'type':_0x572a('0x2a'),'content':_0x2826a2(_0xb2e4a8,'*Split\x20cell:*\x20horizontally')}:void 0x0;});const _0xecc073=_0x4ec9f6[_0x572a('0x20')]();for(const _0xbded33 of[_0x572a('0x1c'),_0x572a('0x18'),_0x572a('0x0'),_0x572a('0x4')])_0x37a0ee['_suggestionFactory'][_0x572a('0x2f')](_0x572a('0x3a'),_0xbded33,_0x572a('0x2e'),_0xecc073);for(const _0x1c9823 of[_0x572a('0x39'),'splitTableCellHorizontally'])_0x37a0ee[_0x572a('0x16')][_0x572a('0x2f')](_0x572a('0x3a'),_0x1c9823,'accept',_0xecc073);_0x37a0ee[_0x572a('0x16')][_0x572a('0x2f')](_0x572a('0x3a'),_0x572a('0xf'),_0x572a('0x2e'),_0x461846=>{_0x50c35e[_0x572a('0x3d')]['change'](_0x541cba=>{const _0xff6182=Array[_0x572a('0x44')](_0x584d7f[_0x572a('0x10')]())['map'](_0x11cf03=>_0x835bd['fromRange'](_0x11cf03));_0x541cba['setSelection'](_0x461846),_0x50c35e[_0x572a('0x2c')]['get'](_0x572a('0xf'))['refresh'](),_0x50c35e[_0x572a('0x49')](_0x572a('0xf'),{'forceDefaultExecution':!0x0});const _0x2a1460=_0xff6182[_0x572a('0x48')](_0x3fb2a0=>'$graveyard'!=_0x3fb2a0[_0x572a('0x3f')][_0x572a('0x28')]);_0x2a1460['length']>0x0&&_0x541cba[_0x572a('0x17')](_0x2a1460);for(const _0x396566 of _0xff6182)_0x396566['detach']();});});for(const _0x2814bd of[_0x572a('0x1c'),_0x572a('0x0'),_0x572a('0x4'),_0x572a('0x18')]){const _0x3ad82b=_0x50c35e['commands'][_0x572a('0x36')](_0x2814bd);_0x3ad82b['on'](_0x572a('0x12'),(_0x4acf7e,_0x5bae65,_0x1a4926)=>{if(_0x1a4926){const _0x5099ce=_0x50c35e[_0x572a('0x3d')][_0x572a('0x8')][_0x572a('0x32')][_0x572a('0x42')]()[_0x572a('0x27')]()[_0x572a('0x2b')](_0x33a921=>_0x33a921['is']('element',_0x572a('0x1d')));this[_0x572a('0x9')](_0x3ad82b['value'],_0x5099ce)||(_0x4acf7e['return']=!0x1,_0x4acf7e['stop']());}},{'priority':_0x572a('0xa')});}}['_areSelectedCellsMergable'](){const _0x22c016=this['editor'][_0x572a('0x2c')][_0x572a('0x36')](_0x572a('0xf')),_0x5c5771=this['editor'][_0x572a('0x25')][_0x572a('0x36')](_0x572a('0x34'));if(!_0x22c016[_0x572a('0x15')])return!0x1;const _0x1be4c6=_0x5c5771[_0x572a('0x47')](this[_0x572a('0x29')]['model']['document'][_0x572a('0x32')]);for(const _0x52bd8d of _0x1be4c6)for(const _0x1f3d1a of _0x1be4c6)if(_0x52bd8d!=_0x1f3d1a&&!this[_0x572a('0x9')](_0x52bd8d,_0x1f3d1a))return!0x1;return!0x0;}[_0x572a('0x9')](_0x812438,_0x5ac3d1){const _0x19e4af=this[_0x572a('0x29')]['plugins'][_0x572a('0x36')](_0x572a('0x5')),_0x787f02=this[_0x572a('0x29')][_0x572a('0x3d')][_0x572a('0x6')](_0x812438),_0x22066e=this[_0x572a('0x29')][_0x572a('0x3d')][_0x572a('0x6')](_0x5ac3d1),_0x4266e9=new Set(),_0x32840d=new Set();for(const _0x4e2d5f of _0x19e4af[_0x572a('0x3')]())if((_0x572a('0x30')==_0x4e2d5f[_0x572a('0x3e')]||_0x572a('0x7')==_0x4e2d5f[_0x572a('0x3e')]||_0x572a('0xf')==_0x4e2d5f[_0x572a('0x19')])&&_0x4e2d5f[_0x572a('0x26')])for(const _0x1624d3 of _0x4e2d5f[_0x572a('0x10')]())_0x1624d3[_0x572a('0x33')](_0x787f02,!0x0)&&_0x4266e9[_0x572a('0x21')](_0x4e2d5f[_0x572a('0x3e')]+':'+_0x4e2d5f[_0x572a('0x24')]['id']),_0x1624d3[_0x572a('0x33')](_0x22066e,!0x0)&&_0x32840d[_0x572a('0x21')](_0x4e2d5f['type']+':'+_0x4e2d5f['author']['id']);if(_0x4266e9[_0x572a('0x46')]!=_0x32840d[_0x572a('0x46')])return!0x1;for(const _0x13e02a of _0x4266e9)if(!_0x32840d['has'](_0x13e02a))return!0x1;return!0x0;}}
23
+ const _0x2fa2=['size','from','horizontally','$graveyard','getAncestors','TableUtils','change','getFirstPosition','_areMergableCells','add','refresh','enableCommand','value','forceDefaultExecution','formatBlock','getSuggestions','registerDescriptionCallback','model','plugins','mergeTableCellDown','splitTableCellHorizontally','requires','stop','findAncestor','mergeTableCellUp','map','editor','push','highest','_suggestionFactory','_acceptFormatSuggestionCallbackFactory','isInContent','containsRange','find','rootName','element','cell','author','get','selection','execute','document','setSelection','detach','direction','return','markBlockFormat','afterInit','deletion','registerCustomCallback','_isForcedDefaultExecutionBlock','locale','format','filter','fromRange','_descriptionFactory','trackChanges','has','mergeTableCells','getSelectionAffectedTableCells','accept','splitTableCellVertically','commandName','mergeTableCellLeft','createRangeOn','_tablePostFixingSubtypes','_areSelectedCellsMergable','length','commands','markMultiRangeBlockFormat','TableEditing','mergeTableCellRight','tableCell','getCellLocation','type'];(function(_0x3a9d07,_0x2fa230){const _0x4ecda6=function(_0xd0488b){while(--_0xd0488b){_0x3a9d07['push'](_0x3a9d07['shift']());}};_0x4ecda6(++_0x2fa230);}(_0x2fa2,0x15a));const _0x4ecd=function(_0x3a9d07,_0x2fa230){_0x3a9d07=_0x3a9d07-0x0;let _0x4ecda6=_0x2fa2[_0x3a9d07];return _0x4ecda6;};import{Plugin as _0x2e2ac1}from'ckeditor5/src/core';import _0x3af763 from'./table';import{LiveRange as _0x51c6f7}from'ckeditor5/src/engine';import{getTranslation as _0x463b32}from'../utils/common-translations';export default class dt extends _0x2e2ac1{static get[_0x4ecd('0x32')](){return[_0x3af763];}[_0x4ecd('0x1')](){const _0x133fbd=this['editor'],_0x96084f=_0x133fbd['model']['document']['selection'],_0x577dda=_0x133fbd[_0x4ecd('0x5')];if(!_0x133fbd[_0x4ecd('0x2f')]['has'](_0x4ecd('0x18')))return;const _0x6c333=_0x133fbd['plugins'][_0x4ecd('0x43')]('TrackChangesEditing'),_0x2a5462=_0x133fbd[_0x4ecd('0x2f')][_0x4ecd('0x43')](_0x4ecd('0x22')),_0x37e92c=_0x133fbd['plugins']['get'](_0x3af763);_0x37e92c[_0x4ecd('0x13')][_0x4ecd('0x38')](_0x4ecd('0xc')),_0x6c333['enableCommand'](_0x4ecd('0xc'),()=>{const _0x34c3fc=_0x2a5462[_0x4ecd('0xd')](_0x133fbd[_0x4ecd('0x2e')][_0x4ecd('0x46')][_0x4ecd('0x44')]);_0x133fbd[_0x4ecd('0x2e')][_0x4ecd('0x23')](()=>{_0x6c333[_0x4ecd('0x17')](_0x34c3fc,{'commandName':'mergeTableCells','commandParams':[]},[],_0x4ecd('0xc'));});}),_0x133fbd[_0x4ecd('0x16')]['get']('mergeTableCells')['on'](_0x4ecd('0x45'),(_0x1b6219,_0x28b91f)=>{_0x133fbd[_0x4ecd('0x16')][_0x4ecd('0x43')](_0x4ecd('0xa'))[_0x4ecd('0x29')]&&(_0x28b91f[_0x4ecd('0x15')]>0x0&&_0x28b91f[_0x28b91f[_0x4ecd('0x15')]-0x1]&&_0x28b91f[_0x28b91f['length']-0x1][_0x4ecd('0x2a')]||_0x6c333[_0x4ecd('0x4')]||this[_0x4ecd('0x14')]()||_0x1b6219[_0x4ecd('0x33')]());},{'priority':_0x4ecd('0x39')});for(const _0x2da4e2 of[_0x4ecd('0x35'),_0x4ecd('0x19'),'mergeTableCellDown',_0x4ecd('0x11')]){const _0x40d35b=_0x133fbd[_0x4ecd('0x16')]['get'](_0x2da4e2);_0x6c333[_0x4ecd('0x28')](_0x2da4e2,()=>{const _0x3e7057=_0x133fbd[_0x4ecd('0x2e')][_0x4ecd('0x46')]['selection'][_0x4ecd('0x24')]()[_0x4ecd('0x21')]()[_0x4ecd('0x3e')](_0x4ea21f=>_0x4ea21f['is'](_0x4ecd('0x40'),_0x4ecd('0x1a'))),_0x4eb132=_0x40d35b[_0x4ecd('0x29')];_0x133fbd[_0x4ecd('0x2e')][_0x4ecd('0x23')](()=>{_0x6c333[_0x4ecd('0x17')]([_0x3e7057,_0x4eb132],{'commandName':_0x4ecd('0xc'),'commandParams':[]},[],_0x4ecd('0xc'));});});}for(const _0x576d45 of[_0x4ecd('0xf'),_0x4ecd('0x31')]){const _0x292859=_0x133fbd[_0x4ecd('0x16')][_0x4ecd('0x43')](_0x576d45);_0x6c333['enableCommand'](_0x576d45,()=>{const _0x21b414=_0x2a5462[_0x4ecd('0xd')](_0x133fbd[_0x4ecd('0x2e')][_0x4ecd('0x46')][_0x4ecd('0x44')])[0x0],_0x1b3713=_0x21b414[_0x4ecd('0x34')]('table'),{column:_0xe2f781,row:_0x34d7c5}=_0x2a5462[_0x4ecd('0x1b')](_0x21b414);let _0x569a13=[];if(_0x4ecd('0x1f')==_0x292859[_0x4ecd('0x49')]){const _0x1a843a=_0x2a5462['createTableWalker'](_0x1b3713,{'startRow':_0x34d7c5,'endRow':_0x34d7c5,'includeAllSlots':!0x0});_0x569a13=Array[_0x4ecd('0x1e')](_0x1a843a)[_0x4ecd('0x36')](_0x1dfea2=>_0x1dfea2[_0x4ecd('0x41')]);}else{const _0x481a54=_0x2a5462['createTableWalker'](_0x1b3713,{'column':_0xe2f781,'includeAllSlots':!0x0});_0x569a13=Array[_0x4ecd('0x1e')](_0x481a54)[_0x4ecd('0x36')](_0x452087=>_0x452087[_0x4ecd('0x41')]);}_0x133fbd[_0x4ecd('0x2e')]['change'](_0x3e950e=>{_0x6c333[_0x4ecd('0x0')](_0x3e950e['createRangeOn'](_0x21b414),{'commandName':_0x576d45,'commandParams':[]},_0x569a13,_0x576d45);});});}_0x6c333[_0x4ecd('0x9')][_0x4ecd('0x2d')](_0x10783c=>{const {data:_0x5f00e9}=_0x10783c;if(_0x5f00e9)return'mergeTableCells'==_0x5f00e9[_0x4ecd('0x10')]?{'type':_0x4ecd('0x6'),'content':_0x463b32(_0x577dda,'*Merge\x20cells*')}:void 0x0;}),_0x6c333[_0x4ecd('0x9')][_0x4ecd('0x2d')](_0x7737b6=>{const {data:_0x1add00}=_0x7737b6;if(_0x1add00)return'splitTableCellVertically'==_0x1add00[_0x4ecd('0x10')]?{'type':'format','content':_0x463b32(_0x577dda,'*Split\x20cell:*\x20vertically')}:_0x4ecd('0x31')==_0x1add00['commandName']?{'type':_0x4ecd('0x6'),'content':_0x463b32(_0x577dda,'*Split\x20cell:*\x20horizontally')}:void 0x0;});const _0x57c466=_0x37e92c[_0x4ecd('0x3b')]();for(const _0x131602 of[_0x4ecd('0x35'),_0x4ecd('0x19'),_0x4ecd('0x30'),_0x4ecd('0x11')])_0x6c333[_0x4ecd('0x3a')]['registerCustomCallback'](_0x4ecd('0x2b'),_0x131602,_0x4ecd('0xe'),_0x57c466);for(const _0x5e2d46 of['splitTableCellVertically',_0x4ecd('0x31')])_0x6c333[_0x4ecd('0x3a')]['registerCustomCallback'](_0x4ecd('0x2b'),_0x5e2d46,_0x4ecd('0xe'),_0x57c466);_0x6c333[_0x4ecd('0x3a')][_0x4ecd('0x3')](_0x4ecd('0x2b'),_0x4ecd('0xc'),'accept',_0x55c726=>{_0x133fbd[_0x4ecd('0x2e')]['change'](_0x4150f4=>{const _0x145444=Array[_0x4ecd('0x1e')](_0x96084f['getRanges']())[_0x4ecd('0x36')](_0x47ae2f=>_0x51c6f7[_0x4ecd('0x8')](_0x47ae2f));_0x4150f4[_0x4ecd('0x47')](_0x55c726),_0x133fbd[_0x4ecd('0x16')][_0x4ecd('0x43')](_0x4ecd('0xc'))[_0x4ecd('0x27')](),_0x133fbd['execute'](_0x4ecd('0xc'),{'forceDefaultExecution':!0x0});const _0xf50910=_0x145444[_0x4ecd('0x7')](_0x832651=>_0x4ecd('0x20')!=_0x832651['root'][_0x4ecd('0x3f')]);_0xf50910[_0x4ecd('0x15')]>0x0&&_0x4150f4[_0x4ecd('0x47')](_0xf50910);for(const _0x207712 of _0x145444)_0x207712[_0x4ecd('0x48')]();});});for(const _0x4de254 of[_0x4ecd('0x35'),_0x4ecd('0x30'),_0x4ecd('0x11'),_0x4ecd('0x19')]){const _0x452cf1=_0x133fbd[_0x4ecd('0x16')]['get'](_0x4de254);_0x452cf1['on']('set:isEnabled',(_0x3ab06b,_0x46738d,_0x3c3d9f)=>{if(_0x3c3d9f){const _0x45a3ef=_0x133fbd[_0x4ecd('0x2e')][_0x4ecd('0x46')][_0x4ecd('0x44')][_0x4ecd('0x24')]()['getAncestors']()[_0x4ecd('0x3e')](_0x2f2932=>_0x2f2932['is'](_0x4ecd('0x40'),_0x4ecd('0x1a')));this[_0x4ecd('0x25')](_0x452cf1[_0x4ecd('0x29')],_0x45a3ef)||(_0x3ab06b[_0x4ecd('0x4a')]=!0x1,_0x3ab06b[_0x4ecd('0x33')]());}},{'priority':'low'});}}[_0x4ecd('0x14')](){const _0x2bf179=this[_0x4ecd('0x37')][_0x4ecd('0x16')]['get']('mergeTableCells'),_0x168cac=this[_0x4ecd('0x37')]['plugins'][_0x4ecd('0x43')]('TableUtils');if(!_0x2bf179['isEnabled'])return!0x1;const _0x5a164d=_0x168cac[_0x4ecd('0xd')](this[_0x4ecd('0x37')][_0x4ecd('0x2e')][_0x4ecd('0x46')][_0x4ecd('0x44')]);for(const _0x5221d7 of _0x5a164d)for(const _0x14e290 of _0x5a164d)if(_0x5221d7!=_0x14e290&&!this['_areMergableCells'](_0x5221d7,_0x14e290))return!0x1;return!0x0;}['_areMergableCells'](_0x3e531f,_0x3bd6e5){const _0x1c73fb=this[_0x4ecd('0x37')][_0x4ecd('0x2f')][_0x4ecd('0x43')]('TrackChangesEditing'),_0x241327=this[_0x4ecd('0x37')][_0x4ecd('0x2e')][_0x4ecd('0x12')](_0x3e531f),_0xc305e4=this[_0x4ecd('0x37')][_0x4ecd('0x2e')][_0x4ecd('0x12')](_0x3bd6e5),_0x92ffd2=new Set(),_0x907d76=new Set();for(const _0x5055d6 of _0x1c73fb[_0x4ecd('0x2c')]())if(('insertion'==_0x5055d6['type']||_0x4ecd('0x2')==_0x5055d6['type']||_0x4ecd('0xc')==_0x5055d6['subType'])&&_0x5055d6[_0x4ecd('0x3c')])for(const _0x26a03 of _0x5055d6['getRanges']())_0x26a03[_0x4ecd('0x3d')](_0x241327,!0x0)&&_0x92ffd2[_0x4ecd('0x26')](_0x5055d6[_0x4ecd('0x1c')]+':'+_0x5055d6[_0x4ecd('0x42')]['id']),_0x26a03[_0x4ecd('0x3d')](_0xc305e4,!0x0)&&_0x907d76[_0x4ecd('0x26')](_0x5055d6[_0x4ecd('0x1c')]+':'+_0x5055d6[_0x4ecd('0x42')]['id']);if(_0x92ffd2[_0x4ecd('0x1d')]!=_0x907d76[_0x4ecd('0x1d')])return!0x1;for(const _0x3e344d of _0x92ffd2)if(!_0x907d76[_0x4ecd('0xb')](_0x3e344d))return!0x1;return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x50cf=['enableCommand','tableOfContents','plugins','ELEMENT_TABLE_OF_CONTENTS','_descriptionFactory','insertTableOfContents','get','TrackChangesEditing','commands','locale'];(function(_0x2d73af,_0x50cf5e){const _0x63928=function(_0x2c662a){while(--_0x2c662a){_0x2d73af['push'](_0x2d73af['shift']());}};_0x63928(++_0x50cf5e);}(_0x50cf,0x123));const _0x6392=function(_0x2d73af,_0x50cf5e){_0x2d73af=_0x2d73af-0x0;let _0x63928=_0x50cf[_0x2d73af];return _0x63928;};import{Plugin as _0x388ebf}from'ckeditor5/src/core';import{getTranslation as _0x243e55}from'../utils/common-translations';export default class bt extends _0x388ebf{['afterInit'](){const _0xf633c1=this['editor'];if(!_0xf633c1[_0x6392('0x7')][_0x6392('0x5')](_0x6392('0x4')))return;_0xf633c1[_0x6392('0x1')][_0x6392('0x5')](_0x6392('0x6'))[_0x6392('0x9')](_0x6392('0x4'));const _0x112317=_0xf633c1[_0x6392('0x1')]['get'](_0x6392('0x6')),_0x5533f7=_0xf633c1[_0x6392('0x8')];_0x112317[_0x6392('0x3')]['registerElementLabel'](_0x6392('0x0'),_0x74e213=>_0x243e55(_0x5533f7,_0x6392('0x2'),_0x74e213));}}
23
+ const _0x2162=['_descriptionFactory','registerElementLabel','insertTableOfContents','TrackChangesEditing','get','afterInit','locale','plugins'];(function(_0x20b01c,_0x216258){const _0x5e2cbf=function(_0x4097a9){while(--_0x4097a9){_0x20b01c['push'](_0x20b01c['shift']());}};_0x5e2cbf(++_0x216258);}(_0x2162,0xed));const _0x5e2c=function(_0x20b01c,_0x216258){_0x20b01c=_0x20b01c-0x0;let _0x5e2cbf=_0x2162[_0x20b01c];return _0x5e2cbf;};import{Plugin as _0x51cc9b}from'ckeditor5/src/core';import{getTranslation as _0xf90e4f}from'../utils/common-translations';export default class bt extends _0x51cc9b{[_0x5e2c('0x0')](){const _0x161402=this['editor'];if(!_0x161402['commands'][_0x5e2c('0x7')](_0x5e2c('0x5')))return;_0x161402[_0x5e2c('0x2')][_0x5e2c('0x7')]('TrackChangesEditing')['enableCommand']('insertTableOfContents');const _0x2dc34d=_0x161402[_0x5e2c('0x2')][_0x5e2c('0x7')](_0x5e2c('0x6')),_0x2e1b86=_0x161402[_0x5e2c('0x1')];_0x2dc34d[_0x5e2c('0x3')][_0x5e2c('0x4')]('tableOfContents',_0x424ce7=>_0xf90e4f(_0x2e1b86,'ELEMENT_TABLE_OF_CONTENTS',_0x424ce7));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5226=['tableCellBackgroundColor','accept','_suggestionFactory','get','*Format:*\x20change\x20table\x20cell\x20properties','start','data','getAttribute','tableCellPadding','tableWidth','tableCellBorderWidth','registerCustomCallback','afterInit','formatBlock','tableProperties','editor','markBlockFormat','model','selection','getFirstPosition','removeAttribute','tableCellProperties','tableBorderColor','locale','registerDescriptionCallback','_descriptionFactory','getContainedElement','setAttribute','join','discard','getSuggestions','enableCommand','tableBorderWidth','nodeAfter','_handlePropertyChange','format','table','handleDiscardAction','tableCellBorderStyle','TrackChangesEditing','tableHeight','document','_getSuggestion','tableCellBorderColor','commandParams','TrackChangesTableProperties','has','subType','getSuggestionCallback','handleSuggestionDescription','TableUtils','TableCellPropertiesEditing','tableBackgroundColor','*Format:*\x20change\x20table\x20properties','tableAlignment','batch','plugins'];(function(_0x5c6f7d,_0x522620){const _0xcaefec=function(_0x316f30){while(--_0x316f30){_0x5c6f7d['push'](_0x5c6f7d['shift']());}};_0xcaefec(++_0x522620);}(_0x5226,0x1e8));const _0xcaef=function(_0x5c6f7d,_0x522620){_0x5c6f7d=_0x5c6f7d-0x0;let _0xcaefec=_0x5226[_0x5c6f7d];return _0xcaefec;};import{Plugin as _0x344b1e}from'ckeditor5/src/core';import{getTranslation as _0x45659c}from'../utils/common-translations';export default class Ct extends _0x344b1e{constructor(_0x3c6ba0){super(_0x3c6ba0),this[_0xcaef('0x27')]=[_0xcaef('0x2f'),'tableBorderStyle',_0xcaef('0x0'),_0xcaef('0x16'),_0xcaef('0x22'),_0xcaef('0x8'),_0xcaef('0x14')],this[_0xcaef('0x2e')]=[_0xcaef('0xb'),_0xcaef('0x6'),_0xcaef('0x23'),_0xcaef('0x21'),'tableCellWidth','tableCellHeight',_0xcaef('0x19'),'tableCellHorizontalAlignment','tableCellVerticalAlignment'];}static get['pluginName'](){return _0xcaef('0xd');}[_0xcaef('0x25')](){const _0x3d2249=this[_0xcaef('0x28')][_0xcaef('0x18')][_0xcaef('0x1c')](_0xcaef('0x7'));if(this[_0xcaef('0x28')][_0xcaef('0x18')]['has']('TablePropertiesEditing')){for(const _0x19030f of this['tableProperties'])_0x3d2249[_0xcaef('0x38')](_0x19030f,(_0x30a0f8,_0x333096)=>{const _0x264861=this[_0xcaef('0x28')][_0xcaef('0x2a')][_0xcaef('0x9')]['selection'][_0xcaef('0x2c')]()['findAncestor'](_0xcaef('0x4'));this[_0xcaef('0x2')](_0x19030f,[_0x264861],this[_0xcaef('0x27')],_0xcaef('0x27'),_0x30a0f8,_0x333096);});_0x3d2249['_suggestionFactory'][_0xcaef('0x24')](_0xcaef('0x26'),_0xcaef('0x27'),_0xcaef('0x1a'),_0x3d2249[_0xcaef('0x1b')][_0xcaef('0x10')](_0xcaef('0x26'),null,_0xcaef('0x36'))),_0x3d2249[_0xcaef('0x1b')][_0xcaef('0x24')](_0xcaef('0x26'),_0xcaef('0x27'),'discard',(_0x8c9af2,_0x3a2293)=>this[_0xcaef('0x5')](this[_0xcaef('0x27')],_0x8c9af2,_0x3a2293)),_0x3d2249[_0xcaef('0x1b')]['registerCustomCallback'](_0xcaef('0x26'),_0xcaef('0x27'),_0xcaef('0x35'),()=>!0x1);}if(this[_0xcaef('0x28')][_0xcaef('0x18')][_0xcaef('0xe')](_0xcaef('0x13'))){for(const _0x340586 of this[_0xcaef('0x2e')])_0x3d2249[_0xcaef('0x38')](_0x340586,(_0x1b762f,_0x480b43)=>{const _0x11d57c=this[_0xcaef('0x28')]['plugins']['get'](_0xcaef('0x12'))['getSelectionAffectedTableCells'](this[_0xcaef('0x28')][_0xcaef('0x2a')][_0xcaef('0x9')][_0xcaef('0x2b')]);this[_0xcaef('0x2')](_0x340586,_0x11d57c,this[_0xcaef('0x2e')],_0xcaef('0x2e'),_0x1b762f,_0x480b43);});_0x3d2249[_0xcaef('0x1b')]['registerCustomCallback'](_0xcaef('0x26'),_0xcaef('0x2e'),_0xcaef('0x1a'),_0x3d2249['_suggestionFactory'][_0xcaef('0x10')](_0xcaef('0x26'),null,_0xcaef('0x36'))),_0x3d2249[_0xcaef('0x1b')]['registerCustomCallback'](_0xcaef('0x26'),_0xcaef('0x2e'),_0xcaef('0x36'),(_0x114dbc,_0x1ea45d)=>this[_0xcaef('0x5')](this[_0xcaef('0x2e')],_0x114dbc,_0x1ea45d)),_0x3d2249[_0xcaef('0x1b')][_0xcaef('0x24')](_0xcaef('0x26'),_0xcaef('0x2e'),'join',()=>!0x1);}_0x3d2249[_0xcaef('0x32')][_0xcaef('0x31')](_0x378d1b=>this[_0xcaef('0x11')](_0x378d1b));}[_0xcaef('0x2')](_0x4d2e95,_0x306379,_0x3ecbd0,_0x1658d2,_0x2417bb,_0x2024f4){const _0xc29f7a=this[_0xcaef('0x28')][_0xcaef('0x18')]['get'](_0xcaef('0x7'));this[_0xcaef('0x28')][_0xcaef('0x2a')]['enqueueChange'](_0x2024f4[_0xcaef('0x17')],()=>{for(const _0x5310e1 of _0x306379){if(this[_0xcaef('0xa')](_0x5310e1,_0x1658d2))_0x2417bb(_0x2024f4);else{const _0x51940f={};for(const _0x2302f0 of _0x3ecbd0){const _0x34ba82=_0x5310e1[_0xcaef('0x20')](_0x2302f0);void 0x0!==_0x34ba82&&(_0x51940f[_0x2302f0]=_0x34ba82);}_0x2417bb(_0x2024f4),_0xc29f7a[_0xcaef('0x29')](_0x5310e1,{'commandParams':[_0x51940f]},[],_0x1658d2);}}});}[_0xcaef('0x5')](_0xb33e7c,_0x38b2b7,_0x3c8231){const _0x148ab0=_0x38b2b7[0x0][_0xcaef('0x1e')][_0xcaef('0x1')],_0x9dcc98=_0x3c8231[_0xcaef('0xc')][0x0];this[_0xcaef('0x28')][_0xcaef('0x2a')]['change'](_0x204840=>{for(const _0x4c8c5d of _0xb33e7c)void 0x0!==_0x9dcc98[_0x4c8c5d]?_0x204840[_0xcaef('0x34')](_0x4c8c5d,_0x9dcc98[_0x4c8c5d],_0x148ab0):_0x204840[_0xcaef('0x2d')](_0x4c8c5d,_0x148ab0);});}[_0xcaef('0x11')](_0x21c2c1){if(_0x21c2c1[_0xcaef('0x1f')])switch(_0x21c2c1[_0xcaef('0xf')]){case _0xcaef('0x27'):return{'type':'format','content':_0x45659c(this['editor'][_0xcaef('0x30')],_0xcaef('0x15'))};case'tableCellProperties':return{'type':_0xcaef('0x3'),'content':_0x45659c(this[_0xcaef('0x28')]['locale'],_0xcaef('0x1d'))};}}[_0xcaef('0xa')](_0x2d03b6,_0x28b8c6){const _0x1ebd12=this[_0xcaef('0x28')][_0xcaef('0x18')][_0xcaef('0x1c')](_0xcaef('0x7'));for(const _0x4431b0 of _0x1ebd12[_0xcaef('0x37')]({'skipNotAttached':!0x0})){const _0x220f26=_0x4431b0[_0xcaef('0x33')]();if(_0x4431b0[_0xcaef('0xf')]===_0x28b8c6&&_0x220f26===_0x2d03b6)return _0x4431b0;}return null;}}
23
+ const _0x1da0=['tableProperties','join','tableCellBorderWidth','discard','getFirstPosition','handleSuggestionDescription','has','tableBorderWidth','tableCellPadding','tableCellProperties','data','tableCellBorderColor','table','TablePropertiesEditing','registerDescriptionCallback','*Format:*\x20change\x20table\x20cell\x20properties','locale','formatBlock','enableCommand','pluginName','selection','commandParams','tableCellVerticalAlignment','accept','findAncestor','_handlePropertyChange','get','TrackChangesEditing','handleDiscardAction','tableCellWidth','editor','enqueueChange','getSuggestionCallback','_getSuggestion','nodeAfter','getContainedElement','removeAttribute','tableWidth','tableBackgroundColor','batch','markBlockFormat','subType','plugins','getSuggestions','start','document','TableUtils','tableCellBorderStyle','registerCustomCallback','_descriptionFactory','_suggestionFactory','tableCellBackgroundColor','getAttribute','format','model'];(function(_0x829dc3,_0x1da076){const _0x879dbd=function(_0x302d12){while(--_0x302d12){_0x829dc3['push'](_0x829dc3['shift']());}};_0x879dbd(++_0x1da076);}(_0x1da0,0x86));const _0x879d=function(_0x829dc3,_0x1da076){_0x829dc3=_0x829dc3-0x0;let _0x879dbd=_0x1da0[_0x829dc3];return _0x879dbd;};import{Plugin as _0x4136f0}from'ckeditor5/src/core';import{getTranslation as _0x1a08bc}from'../utils/common-translations';export default class Ct extends _0x4136f0{constructor(_0x4b476f){super(_0x4b476f),this['tableProperties']=['tableBorderColor','tableBorderStyle',_0x879d('0x26'),'tableAlignment',_0x879d('0xd'),'tableHeight',_0x879d('0xe')],this[_0x879d('0x28')]=[_0x879d('0x2a'),_0x879d('0x17'),_0x879d('0x21'),_0x879d('0x27'),_0x879d('0x5'),'tableCellHeight',_0x879d('0x1b'),'tableCellHorizontalAlignment',_0x879d('0x35')];}static get[_0x879d('0x32')](){return'TrackChangesTableProperties';}['afterInit'](){const _0x566156=this[_0x879d('0x6')][_0x879d('0x12')]['get']('TrackChangesEditing');if(this[_0x879d('0x6')][_0x879d('0x12')][_0x879d('0x25')](_0x879d('0x2c'))){for(const _0x15acc4 of this[_0x879d('0x1f')])_0x566156[_0x879d('0x31')](_0x15acc4,(_0x2c7fb2,_0x2b79c8)=>{const _0x40ad68=this[_0x879d('0x6')][_0x879d('0x1e')][_0x879d('0x15')][_0x879d('0x33')][_0x879d('0x23')]()[_0x879d('0x0')](_0x879d('0x2b'));this[_0x879d('0x1')](_0x15acc4,[_0x40ad68],this[_0x879d('0x1f')],_0x879d('0x1f'),_0x2c7fb2,_0x2b79c8);});_0x566156[_0x879d('0x1a')][_0x879d('0x18')](_0x879d('0x30'),_0x879d('0x1f'),_0x879d('0x36'),_0x566156['_suggestionFactory'][_0x879d('0x8')](_0x879d('0x30'),null,_0x879d('0x22'))),_0x566156[_0x879d('0x1a')][_0x879d('0x18')]('formatBlock',_0x879d('0x1f'),_0x879d('0x22'),(_0x58857a,_0x41faa0)=>this[_0x879d('0x4')](this[_0x879d('0x1f')],_0x58857a,_0x41faa0)),_0x566156[_0x879d('0x1a')][_0x879d('0x18')]('formatBlock',_0x879d('0x1f'),_0x879d('0x20'),()=>!0x1);}if(this[_0x879d('0x6')]['plugins'][_0x879d('0x25')]('TableCellPropertiesEditing')){for(const _0xa2aa8e of this[_0x879d('0x28')])_0x566156[_0x879d('0x31')](_0xa2aa8e,(_0x2d9ec9,_0x2ff96f)=>{const _0x1ea67d=this[_0x879d('0x6')][_0x879d('0x12')]['get'](_0x879d('0x16'))['getSelectionAffectedTableCells'](this['editor'][_0x879d('0x1e')]['document'][_0x879d('0x33')]);this[_0x879d('0x1')](_0xa2aa8e,_0x1ea67d,this[_0x879d('0x28')],'tableCellProperties',_0x2d9ec9,_0x2ff96f);});_0x566156[_0x879d('0x1a')]['registerCustomCallback'](_0x879d('0x30'),_0x879d('0x28'),_0x879d('0x36'),_0x566156[_0x879d('0x1a')]['getSuggestionCallback']('formatBlock',null,_0x879d('0x22'))),_0x566156[_0x879d('0x1a')][_0x879d('0x18')](_0x879d('0x30'),_0x879d('0x28'),_0x879d('0x22'),(_0x1f449b,_0x1ebd26)=>this['handleDiscardAction'](this[_0x879d('0x28')],_0x1f449b,_0x1ebd26)),_0x566156[_0x879d('0x1a')][_0x879d('0x18')](_0x879d('0x30'),_0x879d('0x28'),_0x879d('0x20'),()=>!0x1);}_0x566156[_0x879d('0x19')][_0x879d('0x2d')](_0xe6c4=>this[_0x879d('0x24')](_0xe6c4));}[_0x879d('0x1')](_0x22fb01,_0x2d8262,_0x35b89b,_0xf83a6d,_0x2bf223,_0x4484e5){const _0x499e29=this[_0x879d('0x6')][_0x879d('0x12')][_0x879d('0x2')](_0x879d('0x3'));this['editor'][_0x879d('0x1e')][_0x879d('0x7')](_0x4484e5[_0x879d('0xf')],()=>{for(const _0x43fa84 of _0x2d8262){if(this['_getSuggestion'](_0x43fa84,_0xf83a6d))_0x2bf223(_0x4484e5);else{const _0x4425b3={};for(const _0x14f4bc of _0x35b89b){const _0x225742=_0x43fa84[_0x879d('0x1c')](_0x14f4bc);void 0x0!==_0x225742&&(_0x4425b3[_0x14f4bc]=_0x225742);}_0x2bf223(_0x4484e5),_0x499e29[_0x879d('0x10')](_0x43fa84,{'commandParams':[_0x4425b3]},[],_0xf83a6d);}}});}[_0x879d('0x4')](_0x27822c,_0x2ec81b,_0x691916){const _0x47616d=_0x2ec81b[0x0][_0x879d('0x14')][_0x879d('0xa')],_0x2ffce6=_0x691916[_0x879d('0x34')][0x0];this[_0x879d('0x6')][_0x879d('0x1e')]['change'](_0x18d78e=>{for(const _0xf109a9 of _0x27822c)void 0x0!==_0x2ffce6[_0xf109a9]?_0x18d78e['setAttribute'](_0xf109a9,_0x2ffce6[_0xf109a9],_0x47616d):_0x18d78e[_0x879d('0xc')](_0xf109a9,_0x47616d);});}[_0x879d('0x24')](_0x32f961){if(_0x32f961[_0x879d('0x29')])switch(_0x32f961[_0x879d('0x11')]){case'tableProperties':return{'type':_0x879d('0x1d'),'content':_0x1a08bc(this[_0x879d('0x6')][_0x879d('0x2f')],'*Format:*\x20change\x20table\x20properties')};case _0x879d('0x28'):return{'type':_0x879d('0x1d'),'content':_0x1a08bc(this[_0x879d('0x6')][_0x879d('0x2f')],_0x879d('0x2e'))};}}[_0x879d('0x9')](_0x1024d6,_0x4f94ab){const _0x2dcac1=this[_0x879d('0x6')][_0x879d('0x12')][_0x879d('0x2')](_0x879d('0x3'));for(const _0x31185f of _0x2dcac1[_0x879d('0x13')]({'skipNotAttached':!0x0})){const _0x536f1d=_0x31185f[_0x879d('0xb')]();if(_0x31185f[_0x879d('0x11')]===_0x4f94ab&&_0x536f1d===_0x1024d6)return _0x31185f;}return null;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1150=['get','plugins','insertTemplate','has','TrackChangesEditing','afterInit','Template','enableCommand'];(function(_0x2171d8,_0x1150be){const _0x4c5b7e=function(_0x7980c6){while(--_0x7980c6){_0x2171d8['push'](_0x2171d8['shift']());}};_0x4c5b7e(++_0x1150be);}(_0x1150,0xf0));const _0x4c5b=function(_0x2171d8,_0x1150be){_0x2171d8=_0x2171d8-0x0;let _0x4c5b7e=_0x1150[_0x2171d8];return _0x4c5b7e;};import{Plugin as _0x49e476}from'ckeditor5/src/core';export default class yt extends _0x49e476{[_0x4c5b('0x5')](){const _0x38f9dd=this['editor'];_0x38f9dd[_0x4c5b('0x1')][_0x4c5b('0x3')](_0x4c5b('0x6'))&&_0x38f9dd['plugins'][_0x4c5b('0x0')](_0x4c5b('0x4'))[_0x4c5b('0x7')](_0x4c5b('0x2'));}}
23
+ const _0x3405=['plugins','afterInit','Template','get','insertTemplate','has','TrackChangesEditing'];(function(_0x23d5e3,_0x34059e){const _0x1f467f=function(_0x3d7565){while(--_0x3d7565){_0x23d5e3['push'](_0x23d5e3['shift']());}};_0x1f467f(++_0x34059e);}(_0x3405,0xfa));const _0x1f46=function(_0x23d5e3,_0x34059e){_0x23d5e3=_0x23d5e3-0x0;let _0x1f467f=_0x3405[_0x23d5e3];return _0x1f467f;};import{Plugin as _0x1681ab}from'ckeditor5/src/core';export default class yt extends _0x1681ab{[_0x1f46('0x3')](){const _0x226179=this['editor'];_0x226179['plugins'][_0x1f46('0x0')](_0x1f46('0x4'))&&_0x226179[_0x1f46('0x2')][_0x1f46('0x5')](_0x1f46('0x1'))['enableCommand'](_0x1f46('0x6'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2ab3=['from','nodeBefore','has','isEqual','locale','updateMarker','document','end','plugins','ELEMENT_TITLE','TrackChangesEditing','removeMarker','model','registerElementLabel','get','suggestion','schema','differ','start','title-content','isTouching','getChangedMarkers','element','afterInit','forward'];(function(_0x309c09,_0x2ab359){const _0x4964dd=function(_0x3e4334){while(--_0x3e4334){_0x309c09['push'](_0x309c09['shift']());}};_0x4964dd(++_0x2ab359);}(_0x2ab3,0x130));const _0x4964=function(_0x309c09,_0x2ab359){_0x309c09=_0x309c09-0x0;let _0x4964dd=_0x2ab3[_0x309c09];return _0x4964dd;};import{Plugin as _0x52b950}from'ckeditor5/src/core';import{getTranslation as _0x7bbda1}from'../utils/common-translations';export default class St extends _0x52b950{[_0x4964('0x13')](){const _0x4e3c9a=this['editor'];if(!_0x4e3c9a[_0x4964('0x4')][_0x4964('0x17')]('Title'))return;const _0x58a1dd=_0x4e3c9a[_0x4964('0x4')][_0x4964('0xa')](_0x4964('0x6'));_0x58a1dd['_descriptionFactory'][_0x4964('0x9')](_0x4964('0xf'),()=>_0x7bbda1(_0x4e3c9a[_0x4964('0x0')],_0x4964('0x5'))),_0x4e3c9a[_0x4964('0x8')][_0x4964('0x2')]['registerPostFixer'](_0x2cc132=>{let _0xb3131b=!0x1;const _0x3eade5=Array[_0x4964('0x15')](_0x4e3c9a['model'][_0x4964('0x2')][_0x4964('0xd')][_0x4964('0x11')]());for(const {name:_0x3a10f0,data:_0x40d84e}of _0x3eade5){const {group:_0x1f27e0}=_0x58a1dd['_splitMarkerName'](_0x3a10f0);if(_0x4964('0xb')!==_0x1f27e0||!_0x40d84e['newRange'])continue;const _0x4fcf47=_0x40d84e['newRange'],_0x4fbc42=_0x4fcf47[_0x4964('0x3')][_0x4964('0x16')];if(!_0x4fbc42||!_0x4fbc42['is'](_0x4964('0x12'),_0x4964('0xf')))continue;if(!_0x4fcf47[_0x4964('0xe')][_0x4964('0x10')](_0x4fcf47[_0x4964('0x3')]))continue;const _0x4f3341=_0x4e3c9a['model'][_0x4964('0xc')]['getNearestSelectionRange'](_0x4fcf47[_0x4964('0x3')],_0x4964('0x14'));if(_0x4f3341&&_0x4f3341['isCollapsed']){const _0x427717=_0x2cc132['createRange'](_0x4fcf47[_0x4964('0xe')],_0x4f3341[_0x4964('0xe')]);_0x427717[_0x4964('0x18')](_0x4fcf47)||(_0x2cc132[_0x4964('0x1')](_0x3a10f0,{'range':_0x427717}),_0xb3131b=!0x0);}_0xb3131b||(_0x2cc132[_0x4964('0x7')](_0x3a10f0),_0xb3131b=!0x0);}return _0xb3131b;});}}
23
+ const _0x76bb=['Title','isTouching','has','registerElementLabel','title-content','registerPostFixer','get','schema','locale','getNearestSelectionRange','plugins','start','model','editor','TrackChangesEditing','differ','newRange','nodeBefore','end','document','from','createRange','element','getChangedMarkers','forward'];(function(_0x1f1e8c,_0x76bb3e){const _0x4c795a=function(_0x5be000){while(--_0x5be000){_0x1f1e8c['push'](_0x1f1e8c['shift']());}};_0x4c795a(++_0x76bb3e);}(_0x76bb,0xe6));const _0x4c79=function(_0x1f1e8c,_0x76bb3e){_0x1f1e8c=_0x1f1e8c-0x0;let _0x4c795a=_0x76bb[_0x1f1e8c];return _0x4c795a;};import{Plugin as _0x2e1d69}from'ckeditor5/src/core';import{getTranslation as _0x472133}from'../utils/common-translations';export default class St extends _0x2e1d69{['afterInit'](){const _0x2d7e63=this[_0x4c79('0x8')];if(!_0x2d7e63['plugins'][_0x4c79('0x16')](_0x4c79('0x14')))return;const _0xe23b65=_0x2d7e63[_0x4c79('0x5')][_0x4c79('0x1')](_0x4c79('0x9'));_0xe23b65['_descriptionFactory'][_0x4c79('0x17')]('title-content',()=>_0x472133(_0x2d7e63[_0x4c79('0x3')],'ELEMENT_TITLE')),_0x2d7e63['model'][_0x4c79('0xe')][_0x4c79('0x0')](_0x574adf=>{let _0x235187=!0x1;const _0x1a91c8=Array[_0x4c79('0xf')](_0x2d7e63[_0x4c79('0x7')]['document'][_0x4c79('0xa')][_0x4c79('0x12')]());for(const {name:_0x20e218,data:_0x5cef29}of _0x1a91c8){const {group:_0x2e9634}=_0xe23b65['_splitMarkerName'](_0x20e218);if('suggestion'!==_0x2e9634||!_0x5cef29[_0x4c79('0xb')])continue;const _0x191a17=_0x5cef29['newRange'],_0x1d23ea=_0x191a17[_0x4c79('0xd')][_0x4c79('0xc')];if(!_0x1d23ea||!_0x1d23ea['is'](_0x4c79('0x11'),_0x4c79('0x18')))continue;if(!_0x191a17[_0x4c79('0x6')][_0x4c79('0x15')](_0x191a17[_0x4c79('0xd')]))continue;const _0x2011a8=_0x2d7e63[_0x4c79('0x7')][_0x4c79('0x2')][_0x4c79('0x4')](_0x191a17[_0x4c79('0xd')],_0x4c79('0x13'));if(_0x2011a8&&_0x2011a8['isCollapsed']){const _0x30fe71=_0x574adf[_0x4c79('0x10')](_0x191a17[_0x4c79('0x6')],_0x2011a8[_0x4c79('0x6')]);_0x30fe71['isEqual'](_0x191a17)||(_0x574adf['updateMarker'](_0x20e218,{'range':_0x30fe71}),_0x235187=!0x0);}_0x235187||(_0x574adf['removeMarker'](_0x20e218),_0x235187=!0x0);}return _0x235187;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1eb0=['redo','has','undo','TrackChangesEditing','get','afterInit','UndoEditing','plugins'];(function(_0x482fec,_0x1eb09e){const _0x451169=function(_0x379d27){while(--_0x379d27){_0x482fec['push'](_0x482fec['shift']());}};_0x451169(++_0x1eb09e);}(_0x1eb0,0x193));const _0x4511=function(_0x482fec,_0x1eb09e){_0x482fec=_0x482fec-0x0;let _0x451169=_0x1eb0[_0x482fec];return _0x451169;};import{Plugin as _0xdbe3b5}from'ckeditor5/src/core';export default class It extends _0xdbe3b5{[_0x4511('0x2')](){const _0x3308dc=this['editor'],_0x1bc19b=_0x3308dc[_0x4511('0x4')][_0x4511('0x1')](_0x4511('0x0'));_0x3308dc[_0x4511('0x4')][_0x4511('0x6')](_0x4511('0x3'))&&(_0x1bc19b['enableCommand'](_0x4511('0x7')),_0x1bc19b['enableCommand'](_0x4511('0x5')));}}
23
+ const _0x24cd=['UndoEditing','get','afterInit','editor','undo','TrackChangesEditing','redo','plugins'];(function(_0x1c2b84,_0x24cd83){const _0x1f48db=function(_0x4c533b){while(--_0x4c533b){_0x1c2b84['push'](_0x1c2b84['shift']());}};_0x1f48db(++_0x24cd83);}(_0x24cd,0xda));const _0x1f48=function(_0x1c2b84,_0x24cd83){_0x1c2b84=_0x1c2b84-0x0;let _0x1f48db=_0x24cd[_0x1c2b84];return _0x1f48db;};import{Plugin as _0x45eda4}from'ckeditor5/src/core';export default class It extends _0x45eda4{[_0x1f48('0x0')](){const _0x1bbfe4=this[_0x1f48('0x1')],_0x1249c8=_0x1bbfe4['plugins'][_0x1f48('0x7')](_0x1f48('0x3'));_0x1bbfe4[_0x1f48('0x5')]['has'](_0x1f48('0x6'))&&(_0x1249c8['enableCommand'](_0x1f48('0x2')),_0x1249c8['enableCommand'](_0x1f48('0x4')));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4eab=['toViewElement','createUIElement','markerRange','toViewPosition','get','markerName','includes','insert','getAttribute','getItems','model','name','activeMarkers','isBlock','listIndent','push','createRangeOn','isLimit','getCustomProperty','hasAttribute','TrackChangesEditing','writer','ck-suggestion-marker-','start','mapper','bindElementToMarker','span','previousPosition','plugins','elementEnd','schema','addClass','isAtEnd','type','listItem','nextSibling','ck-suggestion-marker--active','addHighlight','element','getWalker'];(function(_0x493744,_0x4eab94){const _0x4b1be9=function(_0x8647bb){while(--_0x8647bb){_0x493744['push'](_0x493744['shift']());}};_0x4b1be9(++_0x4eab94);}(_0x4eab,0x197));const _0x4b1b=function(_0x493744,_0x4eab94){_0x493744=_0x493744-0x0;let _0x4b1be9=_0x4eab[_0x493744];return _0x4b1be9;};export function getRangesWithAttribute(_0x11d994,_0x16318b,_0x2d9d2a){const _0x30fdcf=[];for(const _0x35a436 of _0x16318b[_0x4b1b('0x2')]())_0x35a436[_0x4b1b('0xc')](_0x11d994)&&_0x30fdcf[_0x4b1b('0x8')](_0x2d9d2a[_0x4b1b('0x9')](_0x35a436));return _0x30fdcf;}export function getElementsAffectedByListItemRename(_0x2ddf30){const _0xdb4636=[];if(_0x2ddf30['is'](_0x4b1b('0x1f'),_0x4b1b('0x1b'))){let _0x456538=_0x2ddf30['nextSibling'];for(;_0x456538&&_0x456538['is'](_0x4b1b('0x1f'),_0x4b1b('0x1b'))&&_0x456538[_0x4b1b('0x1')](_0x4b1b('0x7'))>0x0;)_0xdb4636['push'](_0x456538),_0x456538=_0x456538[_0x4b1b('0x1c')];}return _0xdb4636;}export function downcastSplitMergeMarker(_0x314c2b,_0x2bff62,{showActiveMarker:_0x8b8c73=!0x0}={}){const _0x4c3b62=_0x314c2b[_0x4b1b('0x15')][_0x4b1b('0x25')](_0x4b1b('0xd'));return(_0x428a0c,_0x5f350b,_0x524745)=>{if(!_0x524745['consumable']['test'](_0x5f350b[_0x4b1b('0x23')],_0x428a0c[_0x4b1b('0x4')]))return;const _0x517ae7=_0x5f350b[_0x4b1b('0x23')][_0x4b1b('0x20')](),_0x4ac96a=_0x5f350b[_0x4b1b('0x23')][_0x4b1b('0x10')],_0x238f56=_0x314c2b[_0x4b1b('0x3')][_0x4b1b('0x17')];let _0x5dcc24=null,_0x53d577=null,_0x533e34=!0x1,_0x2d6035=!0x1;for(const _0x131da9 of _0x517ae7){const _0x55eeb6=_0x131da9['item'];_0x533e34=_0x533e34||_0x238f56['isContent'](_0x55eeb6);const _0x14e10a=_0x524745[_0x4b1b('0x11')][_0x4b1b('0x21')](_0x55eeb6);if(_0x14e10a&&_0x14e10a[_0x4b1b('0xb')](_0x4b1b('0x1e')))return;_0x4b1b('0x16')==_0x131da9[_0x4b1b('0x1a')]&&(_0x238f56[_0x4b1b('0x6')](_0x55eeb6)&&!_0x238f56[_0x4b1b('0xa')](_0x55eeb6)&&(_0x55eeb6[_0x4b1b('0x1c')]||_0x4ac96a[_0x4b1b('0x19')]?_0x5dcc24&&_0x5dcc24['parent']==_0x55eeb6||(_0x5dcc24=_0x55eeb6,_0x2ba745(_0x131da9[_0x4b1b('0x14')]),_0x2d6035=!0x0):_0x53d577=_0x53d577||_0x131da9[_0x4b1b('0x14')]));}function _0x2ba745(_0x4f457e){const _0x4659a0=_0x524745[_0x4b1b('0xe')][_0x4b1b('0x22')](_0x4b1b('0x13'),{'class':_0x4b1b('0xf')+_0x2bff62}),_0x2aacba=_0x524745[_0x4b1b('0x11')][_0x4b1b('0x24')](_0x4f457e);_0x8b8c73&&_0x4c3b62[_0x4b1b('0x5')][_0x4b1b('0x27')](_0x5f350b[_0x4b1b('0x26')])&&_0x524745['writer'][_0x4b1b('0x18')](_0x4b1b('0x1d'),_0x4659a0),_0x524745[_0x4b1b('0xe')][_0x4b1b('0x0')](_0x2aacba,_0x4659a0),_0x524745[_0x4b1b('0x11')][_0x4b1b('0x12')](_0x4659a0,_0x5f350b[_0x4b1b('0x26')]);}_0x533e34||_0x2d6035||!_0x53d577||_0x2ba745(_0x53d577);};}
23
+ const _0x3016=['mapper','createRangeOn','span','toViewPosition','isBlock','markerName','nextSibling','type','consumable','name','model','elementEnd','getAttribute','get','bindElementToMarker','test','isContent','isLimit','createUIElement','activeMarkers','parent','writer','ck-suggestion-marker-','start','listIndent','addHighlight','element','includes','push','listItem','previousPosition','markerRange','toViewElement','addClass','isAtEnd','getItems'];(function(_0x1c3023,_0x3016a7){const _0x2a705d=function(_0x3f126f){while(--_0x3f126f){_0x1c3023['push'](_0x1c3023['shift']());}};_0x2a705d(++_0x3016a7);}(_0x3016,0xda));const _0x2a70=function(_0x1c3023,_0x3016a7){_0x1c3023=_0x1c3023-0x0;let _0x2a705d=_0x3016[_0x1c3023];return _0x2a705d;};export function getRangesWithAttribute(_0x20b45c,_0x162797,_0x38dc60){const _0x49d99f=[];for(const _0x2e9b4b of _0x162797[_0x2a70('0x21')]())_0x2e9b4b['hasAttribute'](_0x20b45c)&&_0x49d99f[_0x2a70('0x1a')](_0x38dc60[_0x2a70('0x23')](_0x2e9b4b));return _0x49d99f;}export function getElementsAffectedByListItemRename(_0x367d70){const _0x3d665c=[];if(_0x367d70['is'](_0x2a70('0x18'),_0x2a70('0x1b'))){let _0x91bb96=_0x367d70['nextSibling'];for(;_0x91bb96&&_0x91bb96['is'](_0x2a70('0x18'),'listItem')&&_0x91bb96[_0x2a70('0xa')](_0x2a70('0x16'))>0x0;)_0x3d665c['push'](_0x91bb96),_0x91bb96=_0x91bb96[_0x2a70('0x4')];}return _0x3d665c;}export function downcastSplitMergeMarker(_0x3b27b4,_0x5d0956,{showActiveMarker:_0x4e8d9c=!0x0}={}){const _0x1c09a4=_0x3b27b4['plugins'][_0x2a70('0xb')]('TrackChangesEditing');return(_0x49d9c4,_0x271be7,_0x4a9256)=>{if(!_0x4a9256[_0x2a70('0x6')][_0x2a70('0xd')](_0x271be7[_0x2a70('0x1d')],_0x49d9c4[_0x2a70('0x7')]))return;const _0x479f26=_0x271be7[_0x2a70('0x1d')]['getWalker'](),_0x25d828=_0x271be7[_0x2a70('0x1d')][_0x2a70('0x15')],_0x56bd26=_0x3b27b4[_0x2a70('0x8')]['schema'];let _0xfcfdf7=null,_0x31b992=null,_0x5b21b3=!0x1,_0x5ea0b0=!0x1;for(const _0x4cf321 of _0x479f26){const _0x2b2ea1=_0x4cf321['item'];_0x5b21b3=_0x5b21b3||_0x56bd26[_0x2a70('0xe')](_0x2b2ea1);const _0x500a37=_0x4a9256['mapper'][_0x2a70('0x1e')](_0x2b2ea1);if(_0x500a37&&_0x500a37['getCustomProperty'](_0x2a70('0x17')))return;_0x2a70('0x9')==_0x4cf321[_0x2a70('0x5')]&&(_0x56bd26[_0x2a70('0x2')](_0x2b2ea1)&&!_0x56bd26[_0x2a70('0xf')](_0x2b2ea1)&&(_0x2b2ea1['nextSibling']||_0x25d828[_0x2a70('0x20')]?_0xfcfdf7&&_0xfcfdf7[_0x2a70('0x12')]==_0x2b2ea1||(_0xfcfdf7=_0x2b2ea1,_0x35fca5(_0x4cf321[_0x2a70('0x1c')]),_0x5ea0b0=!0x0):_0x31b992=_0x31b992||_0x4cf321['previousPosition']));}function _0x35fca5(_0x4f88bb){const _0x1d80fe=_0x4a9256['writer'][_0x2a70('0x10')](_0x2a70('0x0'),{'class':_0x2a70('0x14')+_0x5d0956}),_0x18f0e4=_0x4a9256[_0x2a70('0x22')][_0x2a70('0x1')](_0x4f88bb);_0x4e8d9c&&_0x1c09a4[_0x2a70('0x11')][_0x2a70('0x19')](_0x271be7[_0x2a70('0x3')])&&_0x4a9256[_0x2a70('0x13')][_0x2a70('0x1f')]('ck-suggestion-marker--active',_0x1d80fe),_0x4a9256['writer']['insert'](_0x18f0e4,_0x1d80fe),_0x4a9256['mapper'][_0x2a70('0xc')](_0x1d80fe,_0x271be7[_0x2a70('0x3')]);}_0x5b21b3||_0x5ea0b0||!_0x31b992||_0x35fca5(_0x31b992);};}