@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20231124.0 → 0.0.0-nightly-20231125.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 (66) hide show
  1. package/build/track-changes.js +1 -1
  2. package/package.json +3 -3
  3. package/src/commands/acceptsuggestioncommand.js +1 -1
  4. package/src/commands/discardsuggestioncommand.js +1 -1
  5. package/src/commands/executeonallsuggestionscommand.js +1 -1
  6. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  7. package/src/commands/trackchangescommand.js +1 -1
  8. package/src/integrations/aiassistant.js +1 -1
  9. package/src/integrations/alignment.js +1 -1
  10. package/src/integrations/basicstyles.js +1 -1
  11. package/src/integrations/blockquote.js +1 -1
  12. package/src/integrations/ckbox.js +1 -1
  13. package/src/integrations/codeblock.js +1 -1
  14. package/src/integrations/comments.js +1 -1
  15. package/src/integrations/deletecommand.js +1 -1
  16. package/src/integrations/documentlist.js +1 -1
  17. package/src/integrations/documentlistproperties.js +1 -1
  18. package/src/integrations/entercommand.js +1 -1
  19. package/src/integrations/findandreplace.js +1 -1
  20. package/src/integrations/font.js +1 -1
  21. package/src/integrations/formatpainter.js +1 -1
  22. package/src/integrations/heading.js +1 -1
  23. package/src/integrations/highlight.js +1 -1
  24. package/src/integrations/horizontalline.js +1 -1
  25. package/src/integrations/htmlembed.js +1 -1
  26. package/src/integrations/image.js +1 -1
  27. package/src/integrations/imagereplace.js +1 -1
  28. package/src/integrations/imagestyle.js +1 -1
  29. package/src/integrations/importword.js +1 -1
  30. package/src/integrations/indent.js +1 -1
  31. package/src/integrations/inputcommand.js +1 -1
  32. package/src/integrations/link.js +1 -1
  33. package/src/integrations/list.js +1 -1
  34. package/src/integrations/listproperties.js +1 -1
  35. package/src/integrations/mediaembed.js +1 -1
  36. package/src/integrations/mention.js +1 -1
  37. package/src/integrations/pagebreak.js +1 -1
  38. package/src/integrations/paragraph.js +1 -1
  39. package/src/integrations/removeformat.js +1 -1
  40. package/src/integrations/restrictededitingmode.js +1 -1
  41. package/src/integrations/shiftentercommand.js +1 -1
  42. package/src/integrations/standardeditingmode.js +1 -1
  43. package/src/integrations/style.js +1 -1
  44. package/src/integrations/table.js +1 -1
  45. package/src/integrations/tablecaption.js +1 -1
  46. package/src/integrations/tableclipboard.js +1 -1
  47. package/src/integrations/tablecolumnresize.js +1 -1
  48. package/src/integrations/tableheadings.js +1 -1
  49. package/src/integrations/tablemergesplit.js +1 -1
  50. package/src/integrations/tableofcontents.js +1 -1
  51. package/src/integrations/tableproperties.js +1 -1
  52. package/src/integrations/template.js +1 -1
  53. package/src/integrations/title.js +1 -1
  54. package/src/integrations/undo.js +1 -1
  55. package/src/integrations/utils.js +1 -1
  56. package/src/suggestion.js +1 -1
  57. package/src/suggestiondescriptionfactory.js +1 -1
  58. package/src/trackchanges.js +1 -1
  59. package/src/trackchangesdata.js +1 -1
  60. package/src/trackchangesediting.js +1 -1
  61. package/src/trackchangesui.js +1 -1
  62. package/src/ui/suggestioncontroller.js +1 -1
  63. package/src/ui/view/basesuggestionthreadview.js +1 -1
  64. package/src/ui/view/suggestionthreadview.js +1 -1
  65. package/src/utils/common-translations.js +1 -1
  66. package/src/utils/utils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x12eb=['differ','createTableWalker','getColumns','high','createRangeIn','editing','containsRange','suggestion-td','_replaceTableSlotCell','from','name','return','root','findAncestor','rowInsertionRanges','insert','document','previousSibling','removeColumns','startsWith','cell','tablePasteRow','includes','last','find','remove','suggestion','model','getAllAdjacentSuggestions','has','set','getRows','markerToHighlight','tableCell','author','first','paragraph','_createdBatches','formatBlock','row','markers','TableClipboard','schema','insertion','getSuggestionCallback','selection','type','$graveyard','length','get','columnInsertionIndexes','push','markMultiRangeInsertion','suggestionUnloaded','join','elementToElement','subType','stop','getRowIndexes','markMultiRangeBlockFormat','attributes','requires','getSuggestion','deletion','_tablePostFixingSubtypes','getRanges','rowInsertionIndexes','getMarkers','filter','markerAttributes','tablePasteCell','reduce','setAttributes','Users','getColumnIndexes','nodeAfter','TableUtils','batch','oldRange','markerName','value','fill','position','tablePaste','getRange','afterInit','some','tablePasteColumn','accept','change','conversion','getShiftedBy','tablePasteChainId','previous','end','endRow','insertRows','_suggestionFactory','register','redo','plugins','tableCellSuggestion','commands','clipboardOutput','removeMarker','getChildren','for','endColumn','isInContent','registerPostFixer','getContainedElement','newRange','columnInsertionRanges','getSelectionAffectedTableCells','createRangeOn','removeMarkers','tableCellVerticalAlignment','hasSuggestion','column','unwrap','suggestionLoaded','tableCellBorderColor','columns','documentSelection','_splitMarkerName','tableCellBorderWidth','editor','registerDescriptionCallback','locale','element','showSuggestionHighlights','suggestion:formatBlock:tablePasteCell','ck-suggestion-marker','low','getAttributes','ck-suggestion-marker-insertion','table','fromEntries','insertContent','discard','registerCustomCallback','map','every','add','getSuggestions','isEmpty','tableCellPadding','createPositionBefore'];(function(_0x393502,_0x12ebe4){const _0x1a8012=function(_0x1ade58){while(--_0x1ade58){_0x393502['push'](_0x393502['shift']());}};_0x1a8012(++_0x12ebe4);}(_0x12eb,0x154));const _0x1a80=function(_0x393502,_0x12ebe4){_0x393502=_0x393502-0x0;let _0x1a8012=_0x12eb[_0x393502];return _0x1a8012;};import{getTranslation as _0x1d4b39}from'../utils/common-translations';import{Plugin as _0x5b7942}from'ckeditor5/src/core';import{uid as _0x5bafc0,priorities as _0x264070}from'ckeditor5/src/utils';import _0x56b98d from'./table';const le=[_0x1a80('0x51'),_0x1a80('0x4d'),'tableCellBorderStyle','tableCellHorizontalAlignment',_0x1a80('0x48'),'tableCellBackgroundColor',_0x1a80('0x66')],ae=Object[_0x1a80('0x5d')](le[_0x1a80('0x61')](_0x50cd76=>[_0x50cd76,null]));export default class At extends _0x5b7942{static get[_0x1a80('0x11')](){return[_0x56b98d];}[_0x1a80('0x29')](){const _0x1b9883=this[_0x1a80('0x52')];if(!_0x1b9883['plugins'][_0x1a80('0x85')](_0x1a80('0x91')))return;const _0x75bd67=_0x1b9883[_0x1a80('0x38')][_0x1a80('0x5')]('TrackChangesEditing'),_0x1950d9=_0x1b9883[_0x1a80('0x38')][_0x1a80('0x5')](_0x1a80('0x20')),_0x3e0e1a=_0x1b9883[_0x1a80('0x38')][_0x1a80('0x5')](_0x56b98d),_0x4425a5=_0x1b9883['plugins'][_0x1a80('0x5')](_0x1a80('0x91'));_0x3e0e1a[_0x1a80('0x14')]['push'](_0x1a80('0x7d'),'tablePasteColumn'),_0x1b9883[_0x1a80('0x83')][_0x1a80('0x92')][_0x1a80('0x36')](_0x1a80('0x39'),{'allowIn':_0x1a80('0x89'),'allowContentOf':_0x1a80('0x89'),'isLimit':!0x0}),_0x1b9883['conversion'][_0x1a80('0xb')]({'model':_0x1a80('0x39'),'view':_0x1a80('0x6f')});let _0x575e6e=null;_0x1b9883[_0x1a80('0x83')]['on'](_0x1a80('0x5e'),(_0x136996,_0x27401e)=>{const [_0x39ac39,_0x2fb25d]=_0x27401e,_0x4be61c=_0x27401e[_0x27401e['length']-0x1];_0x4be61c&&_0x4be61c['forceDefaultExecution']||_0x75bd67['_isForcedDefaultExecutionBlock']||this[_0x1a80('0x52')][_0x1a80('0x3a')]['get']('trackChanges')[_0x1a80('0x24')]&&function(_0x12ac2f,_0x5861b6,_0x30ae42,_0x2334c1,_0x265cb5){if(_0x5861b6&&!_0x5861b6['is'](_0x1a80('0x4f')))return!0x1;const _0x25ce97=_0x265cb5['getTableIfOnlyTableInContent'](_0x12ac2f,_0x30ae42);if(!_0x25ce97||!fe(_0x25ce97,void 0x0,_0x2334c1))return!0x1;const _0x36131c=_0x2334c1[_0x1a80('0x45')](_0x30ae42[_0x1a80('0x78')][_0x1a80('0x1')]);if(!_0x36131c[_0x1a80('0x4')])return!0x1;const _0x1719a2=_0x36131c[0x0][_0x1a80('0x75')]('table'),_0x2e7b03=_0x2334c1[_0x1a80('0xe')](_0x36131c),_0x1c0a87=_0x2334c1[_0x1a80('0x1e')](_0x36131c),_0x375192={'startRow':_0x2e7b03[_0x1a80('0x8b')],'endRow':_0x2e7b03[_0x1a80('0x7f')],'startColumn':_0x1c0a87[_0x1a80('0x8b')],'endColumn':_0x1c0a87[_0x1a80('0x7f')]};return 0x1==_0x36131c[_0x1a80('0x4')]&&(_0x375192[_0x1a80('0x33')]+=_0x2334c1[_0x1a80('0x87')](_0x25ce97)-0x1,_0x375192[_0x1a80('0x3f')]+=_0x2334c1[_0x1a80('0x6a')](_0x25ce97)-0x1),fe(_0x1719a2,_0x375192,_0x2334c1);}(_0x39ac39,_0x2fb25d,_0x1b9883[_0x1a80('0x83')],_0x1950d9,_0x4425a5)&&(_0x136996[_0x1a80('0xd')](),_0x575e6e={'cells':[],'insertionRanges':[],'deletionRanges':[],'rowInsertionRanges':[],'rowInsertionIndexes':[],'columnInsertionRanges':[],'columnInsertionIndexes':[]},_0x1b9883[_0x1a80('0x83')]['change'](()=>{_0x1b9883[_0x1a80('0x83')]['insertContent'](_0x27401e[0x0],_0x27401e[0x1],_0x27401e[0x2],{'forceDefaultExecution':!0x0});const _0x28b680=_0x5bafc0(),{rowInsertionRanges:_0x825c32,columnInsertionRanges:_0x35d515,insertionRanges:_0x487c72,deletionRanges:_0x37d30c,cells:_0x131a3e}=_0x575e6e;_0x825c32['length']&&_0x75bd67[_0x1a80('0x8')](_0x825c32,_0x1a80('0x7d'),{'tablePasteChainId':_0x28b680}),_0x35d515[_0x1a80('0x4')]&&_0x75bd67[_0x1a80('0x8')](_0x35d515,_0x1a80('0x2b'),{'tablePasteChainId':_0x28b680}),_0x487c72[_0x1a80('0x4')]&&_0x75bd67[_0x1a80('0x8')](_0x487c72,_0x1a80('0x27'),{'tablePasteChainId':_0x28b680,'skipNestingCheck':!0x0}),_0x37d30c[_0x1a80('0x4')]&&_0x75bd67['markMultiRangeDeletion'](_0x37d30c,'tablePaste',{'tablePasteChainId':_0x28b680,'skipNestingCheck':!0x0});const _0x2cd473=_0x75bd67[_0x1a80('0xf')](_0x131a3e[_0x1a80('0x61')](({element:_0x1ab432})=>_0x1ab432),{'formatGroupId':_0x5bafc0()},[],'tablePasteCell',{'tablePasteChainId':_0x28b680});if(_0x2cd473){const _0x4b7d1c=_0x2cd473[_0x1a80('0x17')](),_0x2c2ad7=[];for(const {element:_0x1b2a29,attributes:_0xf0c2b4}of _0x131a3e){if(!_0xf0c2b4)continue;const _0x33fc1b=_0x1b9883['model'][_0x1a80('0x46')](_0x1b2a29),_0x7e9e1f=_0x4b7d1c[_0x1a80('0x80')](_0xeb5f2=>_0xeb5f2[_0x1a80('0x28')]()['isEqual'](_0x33fc1b));_0x7e9e1f&&_0x2c2ad7['push']([_0x7e9e1f['name'],_0xf0c2b4]);}_0x2c2ad7[_0x1a80('0x4')]&&_0x2cd473['setAttribute'](_0x1a80('0x19'),Object['fromEntries'](_0x2c2ad7));}_0x575e6e=null;}));},{'priority':_0x264070[_0x1a80('0x6b')]+0xa}),_0x1b9883[_0x1a80('0x38')][_0x1a80('0x5')](_0x1a80('0x91'))['on'](_0x1a80('0x70'),(_0x5f5630,_0x3b0678)=>{const [_0x3d12f0,_0x21f5d6,,_0x16315e]=_0x3b0678;if(!_0x575e6e)return;_0x5f5630['stop']();const _0x1b66ce=_0x3d12f0[_0x1a80('0x7c')],_0x2aa1ba=_0x21f5d6,_0x2185f0=ce(_0x1b66ce),_0x9b886f=ce(_0x2aa1ba);_0x5f5630[_0x1a80('0x73')]=_0x1b66ce;let _0x1cf0e6=null,_0x12131c=null;if(_0x9b886f||_0x2185f0){if(_0x2185f0&&!_0x9b886f){_0x16315e[_0x1a80('0x81')](_0x1b66ce['getChild'](0x0));for(const _0x7bf337 of Array[_0x1a80('0x71')](_0x2aa1ba['getChildren']()))_0x16315e[_0x1a80('0x77')](_0x7bf337,_0x1b66ce,_0x1a80('0x32'));const _0x51d17b=_0x575e6e[_0x1a80('0x16')][_0x1a80('0x7e')](_0x3d12f0[_0x1a80('0x8f')]),_0x19a22c=_0x575e6e[_0x1a80('0x6')]['includes'](_0x3d12f0[_0x1a80('0x4a')]);_0x51d17b||_0x19a22c||(_0x1cf0e6=_0x16315e[_0x1a80('0x6c')](_0x1b66ce));}else _0x9b886f&&!_0x2185f0&&(_0x12131c=_0x16315e[_0x1a80('0x6c')](_0x1b66ce));}else{const _0x5dbe10=_0x16315e['createElement'](_0x1a80('0x39')),_0x397f85=_0x16315e['createElement'](_0x1a80('0x39'));_0x16315e['wrap'](_0x16315e[_0x1a80('0x6c')](_0x1b66ce),_0x397f85),_0x16315e['insert'](_0x5dbe10,_0x1b66ce,0x0);for(const _0x52f877 of Array['from'](_0x2aa1ba[_0x1a80('0x3d')]()))_0x16315e[_0x1a80('0x77')](_0x52f877,_0x5dbe10,_0x1a80('0x32'));_0x1cf0e6=_0x16315e[_0x1a80('0x46')](_0x5dbe10),_0x12131c=_0x16315e[_0x1a80('0x46')](_0x397f85);}const _0x4f816a=Array[_0x1a80('0x71')](_0x2aa1ba[_0x1a80('0x5a')]())[_0x1a80('0x18')](([_0x388022])=>le['includes'](_0x388022));_0x575e6e['cells'][_0x1a80('0x7')]({'element':_0x1b66ce,'attributes':_0x4f816a[_0x1a80('0x4')]?Object['fromEntries'](_0x4f816a):null}),_0x1cf0e6&&_0x575e6e['insertionRanges'][_0x1a80('0x7')](_0x1cf0e6),_0x12131c&&_0x575e6e['deletionRanges'][_0x1a80('0x7')](_0x12131c);},{'priority':_0x1a80('0x6b')}),_0x1950d9['on']('insertColumns',(_0x1af303,_0x1c13b7)=>{const [_0x6bfe1,_0x344b05={}]=_0x1c13b7;if(!_0x575e6e)return;const _0x12e60e=_0x344b05['at']||0x0,_0x38e998=_0x344b05[_0x1a80('0x4e')]||0x1;_0x575e6e[_0x1a80('0x6')]=new Array(_0x38e998)['fill'](_0x12e60e)[_0x1a80('0x61')]((_0x16c779,_0x5e3438)=>_0x16c779+_0x5e3438);for(const {cell:_0x57e553}of _0x1950d9[_0x1a80('0x69')](_0x6bfe1,{'startColumn':_0x12e60e,'endColumn':_0x12e60e+_0x38e998-0x1}))_0x575e6e[_0x1a80('0x44')]['push'](_0x1b9883[_0x1a80('0x83')][_0x1a80('0x46')](_0x57e553));},{'priority':_0x1a80('0x59')}),_0x1950d9['on'](_0x1a80('0x34'),(_0x11dfdf,_0xc7ab84)=>{const [_0x7dfcd9,_0x26162e={}]=_0xc7ab84;if(!_0x575e6e)return;const _0x24eb01=_0x26162e['at']||0x0,_0x5a5d45=_0x26162e['rows']||0x1;_0x575e6e[_0x1a80('0x16')]=new Array(_0x5a5d45)[_0x1a80('0x25')](_0x24eb01)[_0x1a80('0x61')]((_0x4406b2,_0x126a2e)=>_0x4406b2+_0x126a2e);for(const {cell:_0x4d76d1}of _0x1950d9[_0x1a80('0x69')](_0x7dfcd9,{'startRow':_0x24eb01,'endRow':_0x24eb01+_0x5a5d45-0x1}))_0x575e6e[_0x1a80('0x76')]['push'](_0x1b9883[_0x1a80('0x83')][_0x1a80('0x46')](_0x4d76d1));},{'priority':_0x1a80('0x59')}),_0x75bd67['_descriptionFactory'][_0x1a80('0x53')](_0x5d1db2=>{if(_0x5d1db2['subType']&&_0x5d1db2['subType'][_0x1a80('0x7b')](_0x1a80('0x27')))return _0x5d1db2[_0x1a80('0x31')]?{}:{'type':_0x1a80('0x93'),'content':_0x1d4b39(_0x1b9883[_0x1a80('0x54')],'*Replace\x20table\x20cells*')};});const _0x5957f2=()=>!0x1;for(const _0x20b449 of['tablePaste',_0x1a80('0x2b'),_0x1a80('0x7d'),_0x1a80('0x1a')])_0x75bd67[_0x1a80('0x35')]['registerCustomCallback'](_0x1a80('0x93'),_0x20b449,_0x1a80('0xa'),_0x5957f2),_0x75bd67[_0x1a80('0x35')][_0x1a80('0x60')](_0x1a80('0x13'),_0x20b449,_0x1a80('0xa'),_0x5957f2),_0x75bd67[_0x1a80('0x35')]['registerCustomCallback'](_0x1a80('0x8e'),_0x20b449,_0x1a80('0xa'),_0x5957f2);_0x75bd67[_0x1a80('0x35')][_0x1a80('0x60')](_0x1a80('0x8e'),'tablePasteCell',_0x1a80('0x5f'),_0x5957f2),_0x75bd67[_0x1a80('0x35')]['registerCustomCallback'](_0x1a80('0x8e'),_0x1a80('0x1a'),'accept',(_0xfa32f2,_0x209c24,_0x20ac0c)=>{const _0x2b457e=_0xfa32f2[_0x1a80('0x61')](_0x394e6d=>_0x394e6d[_0x1a80('0x42')]())[_0x1a80('0x18')](_0x5f589e=>_0x5f589e),_0x55c01c=new Map(_0x2b457e['map'](_0x574bb4=>[_0x574bb4,null]));if(_0x575e6e)for(const {element:_0x4ed726,attributes:_0x2096f4}of _0x575e6e['cells'])_0x2096f4&&_0x55c01c['set'](_0x4ed726,_0x2096f4);else{if(_0x20ac0c&&_0x20ac0c[_0x1a80('0x19')])for(const [_0x9b2d1d,_0x11c283]of Object['entries'](_0x20ac0c[_0x1a80('0x19')])){const _0x66acbc=_0x1b9883[_0x1a80('0x83')][_0x1a80('0x90')][_0x1a80('0x5')](_0x9b2d1d),_0x565174=_0x66acbc?_0x66acbc[_0x1a80('0x28')]()[_0x1a80('0x42')]():null;_0x565174&&_0x55c01c[_0x1a80('0x86')](_0x565174,_0x11c283);}}_0x1b9883[_0x1a80('0x83')][_0x1a80('0x2d')](_0x2c5469=>{for(const [_0x17c780,_0x5af6a6]of _0x55c01c)_0x2c5469[_0x1a80('0x1c')]({...ae,..._0x5af6a6},_0x17c780);});});const _0x1550d6=(_0x22057b,_0x24889a)=>{_0x75bd67[_0x1a80('0x35')][_0x1a80('0x60')](_0x22057b,_0x1a80('0x27'),_0x24889a,(_0x5b6f51,_0x1c6008,_0xd2787)=>{_0x1b9883[_0x1a80('0x83')][_0x1a80('0x2d')](_0x12ed9c=>{const _0x55f17b=[];for(const _0x44bba8 of _0x5b6f51){const _0x5bab9a=_0x44bba8['start'][_0x1a80('0x1f')];_0x5bab9a['is'](_0x1a80('0x55'),_0x1a80('0x39'))&&_0x55f17b[_0x1a80('0x7')](_0x5bab9a);}_0x75bd67[_0x1a80('0x35')][_0x1a80('0x0')](_0x22057b,null,_0x24889a)(_0x5b6f51,_0x1c6008,_0xd2787);for(const _0x361c18 of _0x55f17b)_0x1a80('0x3')!=_0x361c18[_0x1a80('0x74')]['rootName']&&_0x12ed9c['unwrap'](_0x361c18);});});};_0x1550d6(_0x1a80('0x93'),_0x1a80('0x2c')),_0x1550d6('insertion',_0x1a80('0x5f')),_0x1550d6('deletion',_0x1a80('0x2c')),_0x1550d6(_0x1a80('0x13'),_0x1a80('0x5f')),_0x75bd67['_suggestionFactory'][_0x1a80('0x60')](_0x1a80('0x93'),_0x1a80('0x7d'),_0x1a80('0x5f'),_0x783d8c=>{const _0xdbcc4b=_0x783d8c[_0x1a80('0x61')](_0x13002f=>_0x13002f[_0x1a80('0x42')]()),_0x3828a8=_0xdbcc4b[0x0][_0x1a80('0x75')](_0x1a80('0x5c')),{minRow:_0x433133,maxRow:_0x2c0eef}=_0x3e0e1a['_getCoordsForCells'](_0xdbcc4b);_0x1950d9['removeRows'](_0x3828a8,{'at':_0x433133,'rows':_0x2c0eef-_0x433133+0x1});}),_0x75bd67['_suggestionFactory'][_0x1a80('0x60')](_0x1a80('0x93'),'tablePasteColumn',_0x1a80('0x5f'),_0x443ff0=>{const _0x2c2a1c=_0x443ff0[_0x1a80('0x61')](_0x35b06e=>_0x35b06e[_0x1a80('0x42')]()),_0x4309a9=_0x2c2a1c[0x0]['findAncestor'](_0x1a80('0x5c')),{minColumn:_0x49c645,maxColumn:_0x1501a3}=_0x3e0e1a['_getCoordsForCells'](_0x2c2a1c);_0x1950d9[_0x1a80('0x7a')](_0x4309a9,{'at':_0x49c645,'columns':_0x1501a3-_0x49c645+0x1});});const _0x5cdcec=(_0x33ec80,_0x240399)=>{if(!_0x240399[_0x1a80('0xc')]||!_0x240399[_0x1a80('0xc')][_0x1a80('0x7b')](_0x1a80('0x27')))return;const _0x8e3162=_0x240399[_0x1a80('0x10')][_0x1a80('0x30')],_0x85d259=_0x75bd67['getSuggestions']()[_0x1a80('0x18')](_0x2e084d=>_0x2e084d[_0x1a80('0x40')]&&_0x2e084d[_0x1a80('0x10')]&&_0x2e084d['attributes']['tablePasteChainId']==_0x8e3162);_0x85d259[_0x1a80('0x4')]&&_0x240399[_0x1a80('0x84')]()[_0x1a80('0x4')]!=_0x85d259[_0x1a80('0x4')]&&_0x85d259[_0x1a80('0x1b')]((_0x15171b,_0x5b1ee0)=>(_0x15171b['next']=_0x5b1ee0,_0x5b1ee0[_0x1a80('0x31')]=_0x15171b,_0x5b1ee0));};function _0x2f5915(_0xbed65,_0xa82dc8=!0x0){const {id:_0x1d11f5}=_0x75bd67[_0x1a80('0x50')](_0xbed65[_0x1a80('0x23')]),_0x20f4b5=[_0x1a80('0x58'),_0x1a80('0x5b')],_0x457afd=_0x75bd67['activeMarkers'][_0x1a80('0x7e')](_0xbed65[_0x1a80('0x23')]);return _0x457afd&&_0x20f4b5[_0x1a80('0x7')]('ck-suggestion-marker--active'),{'classes':_0x20f4b5,'attributes':{'data-suggestion':_0x1d11f5},'priority':_0x457afd&&_0xa82dc8?0xbc2:0xbb8};}_0x75bd67['on'](_0x1a80('0x4c'),_0x5cdcec,{'priority':_0x1a80('0x6b')}),_0x75bd67['on'](_0x1a80('0x9'),_0x5cdcec,{'priority':_0x1a80('0x6b')}),_0x1b9883[_0x1a80('0x83')]['document'][_0x1a80('0x41')](()=>{let _0x17b3db=!0x1;const _0x172589=Array['from'](_0x1b9883['model']['document'][_0x1a80('0x68')]['getChangedMarkers']());for(const {name:_0x14216d,data:_0x45d7ab}of _0x172589){const {group:_0x32d63d,type:_0x398f56,id:_0x6e9b9e}=_0x75bd67[_0x1a80('0x50')](_0x14216d);if(_0x1a80('0x82')!=_0x32d63d||'deletion'!=_0x398f56||_0x45d7ab[_0x1a80('0x22')])continue;if(!_0x75bd67[_0x1a80('0x49')](_0x6e9b9e))continue;const _0x16ec45=_0x75bd67[_0x1a80('0x12')](_0x6e9b9e)['getRanges'](),_0x1f8dea=_0x1b9883[_0x1a80('0x38')][_0x1a80('0x5')](_0x1a80('0x1d'))['me'];for(const _0x4df8d7 of _0x75bd67[_0x1a80('0x64')]()){if(!_0x4df8d7[_0x1a80('0x40')]||_0x4df8d7[_0x1a80('0x8a')]!=_0x1f8dea)continue;if(_0x1a80('0x8e')!=_0x4df8d7[_0x1a80('0x2')]||_0x1a80('0x1a')!=_0x4df8d7[_0x1a80('0xc')])continue;if(_0x4df8d7[_0x1a80('0x15')]()[_0x1a80('0x62')](_0xd0cbd7=>_0x16ec45[_0x1a80('0x2a')](_0x407069=>_0x407069['containsRange'](_0xd0cbd7,!0x0))))for(const _0x4a67dd of _0x4df8d7[_0x1a80('0x84')]())_0x4a67dd[_0x1a80('0x40')]&&(_0x4a67dd['discard'](),_0x17b3db=!0x0);}}return _0x17b3db;}),_0x1b9883['model'][_0x1a80('0x78')][_0x1a80('0x41')](_0xccc98d=>{const _0x3733b7=_0x1b9883['commands'][_0x1a80('0x5')](_0x1a80('0x37'));if(!_0x3733b7||!_0x3733b7[_0x1a80('0x8d')][_0x1a80('0x85')](_0xccc98d[_0x1a80('0x21')]))return!0x1;let _0x4db803=!0x1;const _0x2136ef=_0x1b9883[_0x1a80('0x38')]['get']('Users')['me'],_0x144590=_0x1b9883[_0x1a80('0x83')][_0x1a80('0x78')]['differ']['getChanges'](),_0x37d6a3=Array[_0x1a80('0x71')](_0x1b9883[_0x1a80('0x83')][_0x1a80('0x78')][_0x1a80('0x68')]['getChangedMarkers']())[_0x1a80('0x18')](({name:_0xfe4404,data:_0x1a757a})=>{const {group:_0x20efae,subType:_0x28d903,authorId:_0x11e760}=_0x75bd67[_0x1a80('0x50')](_0xfe4404);return _0x1a80('0x82')==_0x20efae&&_0x1a80('0x27')==_0x28d903&&_0x11e760==_0x2136ef['id']&&!_0x1a757a['oldRange'];});for(const _0x4ac0f5 of _0x144590){if('insert'!=_0x4ac0f5['type']||'tableCellSuggestion'!=_0x4ac0f5[_0x1a80('0x72')]||0x1!=_0x4ac0f5['length'])continue;const _0x566129=_0xccc98d['createRange'](_0x4ac0f5[_0x1a80('0x26')],_0x4ac0f5[_0x1a80('0x26')][_0x1a80('0x2f')](0x1));if(!_0x37d6a3[_0x1a80('0x80')](({data:_0x58bcff})=>_0x58bcff[_0x1a80('0x43')]['isEqual'](_0x566129)))for(const {name:_0x4b93be,data:_0x377ee9}of _0x37d6a3)if(_0x566129[_0x1a80('0x6e')](_0x377ee9['newRange'])){_0xccc98d['updateMarker'](_0x4b93be,{'range':_0x566129}),_0x4db803=!0x0;break;}}return _0x4db803;}),_0x1b9883['model']['document'][_0x1a80('0x41')](_0x35d35b=>{let _0x1052d9=!0x1;const _0x72f05=_0x1b9883['plugins'][_0x1a80('0x5')](_0x1a80('0x1d'))['me'],_0x237e17=_0x75bd67['getSuggestions']()[_0x1a80('0x18')](_0x1b9b0b=>_0x1b9b0b[_0x1a80('0x40')]&&_0x1b9b0b[_0x1a80('0x8a')]==_0x72f05),_0x47ea3d=new Set(),_0x947c6=new Set();for(const _0x1dd860 of _0x237e17)if(_0x1a80('0x27')==_0x1dd860[_0x1a80('0xc')])for(const _0x38d4ad of _0x1dd860['getMarkers']()){const _0x2e6da9=_0x38d4ad[_0x1a80('0x28')]()[_0x1a80('0x42')]();if(_0x2e6da9){if(_0x2e6da9['is'](_0x1a80('0x55'),_0x1a80('0x39'))&&ce(_0x2e6da9)){_0x1dd860['removeMarker'](_0x38d4ad['name']),_0x47ea3d[_0x1a80('0x63')](_0x2e6da9),_0x1052d9=!0x0;const _0x42fcca=_0x2e6da9['nextSibling'],_0x2d609b=_0x2e6da9[_0x1a80('0x79')],_0x254acd=_0x42fcca&&_0x42fcca['is'](_0x1a80('0x55'),_0x1a80('0x39')),_0x10c3d6=_0x2d609b&&_0x2d609b['is'](_0x1a80('0x55'),_0x1a80('0x39'));_0x254acd&&!_0x47ea3d[_0x1a80('0x85')](_0x42fcca)&&_0x947c6[_0x1a80('0x63')](_0x42fcca),_0x10c3d6&&!_0x47ea3d['has'](_0x2d609b)&&_0x947c6[_0x1a80('0x63')](_0x2d609b);}else _0x2e6da9['is'](_0x1a80('0x55'),_0x1a80('0x8c'))&&_0x2e6da9[_0x1a80('0x65')]&&(_0x1dd860[_0x1a80('0x3c')](_0x38d4ad[_0x1a80('0x72')]),_0x1052d9=!0x0);}}else{if(_0x1a80('0x1a')==_0x1dd860[_0x1a80('0xc')]){if(!_0x1dd860[_0x1a80('0x10')]||!_0x1dd860[_0x1a80('0x10')]['tablePasteChainId'])continue;const _0x2682b6=_0x1dd860['attributes'][_0x1a80('0x19')];if(_0x2682b6&&Object['keys'](_0x2682b6)[_0x1a80('0x4')])continue;const _0x5788c9=_0x1dd860['attributes'][_0x1a80('0x30')];let _0x4cae79=!0x0,_0x1989fb=!0x0;for(const _0x363dc2 of _0x237e17)if(_0x363dc2[_0x1a80('0xc')]&&_0x363dc2[_0x1a80('0xc')][_0x1a80('0x7b')]('tablePaste')){if(!_0x363dc2['attributes'][_0x1a80('0x30')]){_0x1989fb=!0x1;break;}if(_0x363dc2['id']!=_0x1dd860['id']&&_0x363dc2['attributes'][_0x1a80('0x30')]==_0x5788c9){_0x4cae79=!0x1;break;}}_0x1989fb&&_0x4cae79&&(_0x1dd860[_0x1a80('0x47')](),_0x1052d9=!0x0);}}for(const _0x4819b8 of _0x47ea3d)_0x35d35b['remove'](_0x4819b8);for(const _0x31bc3d of _0x947c6)_0x35d35b[_0x1a80('0x4b')](_0x31bc3d);return _0x1052d9;}),_0x1b9883[_0x1a80('0x2e')][_0x1a80('0x3e')]('editingDowncast')[_0x1a80('0x88')]({'model':_0x1a80('0x57'),'view':(_0x1d603a,_0x13bf1d)=>_0x2f5915(_0x1d603a),'converterPriority':_0x1a80('0x6b')}),_0x1b9883['conversion'][_0x1a80('0x3e')]('dataDowncast')[_0x1a80('0x88')]({'model':'suggestion:formatBlock:tablePasteCell','view':(_0x41d026,_0x2a87ed)=>_0x2a87ed['options'][_0x1a80('0x56')]?_0x2f5915(_0x41d026,!0x1):null,'converterPriority':_0x1a80('0x6b')});const _0x446399=_0x1b9883[_0x1a80('0x6d')]['view'];this['listenTo'](_0x446399[_0x1a80('0x78')],_0x1a80('0x3b'),(_0x184baa,_0x4138b7)=>{const _0xab1749=[];for(const _0x469ebc of _0x446399['createRangeIn'](_0x4138b7['content'])['getItems']())_0x469ebc['is'](_0x1a80('0x55'),_0x1a80('0x6f'))&&_0xab1749[_0x1a80('0x7')](_0x469ebc);_0x446399[_0x1a80('0x2d')](_0xb5554b=>{for(const _0x51aa1e of _0xab1749)_0xb5554b['move'](_0xb5554b['createRangeIn'](_0x51aa1e),_0xb5554b[_0x1a80('0x67')](_0x51aa1e)),_0xb5554b[_0x1a80('0x81')](_0x51aa1e);});});}}function ce(_0x18cafe){if(_0x18cafe[_0x1a80('0x65')])return!0x0;const _0x5d6fff=_0x18cafe['getChild'](0x0);return _0x5d6fff['is'](_0x1a80('0x55'),_0x1a80('0x8c'))&&_0x5d6fff['isEmpty'];}function fe(_0x20a9cc,_0x2b8c2a={},_0x1b0a9e){for(const {isAnchor:_0x4e7a45,cellHeight:_0x185831,cellWidth:_0x3f30a1}of _0x1b0a9e[_0x1a80('0x69')](_0x20a9cc,{'includeAllSlots':!0x0,..._0x2b8c2a}))if(!_0x4e7a45||0x1!=_0x185831||0x1!=_0x3f30a1)return!0x1;return!0x0;}
23
+ const _0x4c69=['forceDefaultExecution','cells','deletionRanges','get','isEmpty','editingDowncast','markMultiRangeInsertion','insert','tableCell','some','insertion','elementToElement','suggestionLoaded','markerToHighlight','columnInsertionIndexes','markerName','filter','suggestion','activeMarkers','dataDowncast','getAttributes','attributes','push','getColumnIndexes','columns','createRangeIn','getSuggestion','from','registerCustomCallback','_createdBatches','keys','for','batch','last','first','removeMarkers','remove','tableCellSuggestion','next','markMultiRangeDeletion','conversion','tablePaste','type','high','Users','start','setAttributes','paragraph','discard','isInContent','commands','markers','TrackChangesEditing','insertColumns','registerPostFixer','find','deletion','position','value','column','length','table','end','fill','getChild','model','nextSibling','getSuggestionCallback','includes','_suggestionFactory','rowInsertionIndexes','register','_isForcedDefaultExecutionBlock','element','tablePasteRow','set','redo','getChangedMarkers','schema','tableCellVerticalAlignment','updateMarker','tableCellHorizontalAlignment','showSuggestionHighlights','wrap','entries','return','document','tablePasteCell','TableClipboard','documentSelection','getMarkers','oldRange','change','nodeAfter','selection','stop','low','tableCellBorderColor','getAllAdjacentSuggestions','_replaceTableSlotCell','root','getContainedElement','containsRange','getSuggestions','map','view','$graveyard','registerDescriptionCallback','previous','getChanges','afterInit','previousSibling','plugins','join','removeRows','options','ck-suggestion-marker--active','tableCellPadding','suggestion-td','getRows','createTableWalker','content','rows','markMultiRangeBlockFormat','listenTo','newRange','getChildren','editing','removeColumns','requires','_getCoordsForCells','createRangeOn','TableUtils','suggestionUnloaded','reduce','tablePasteChainId','getRange','every','cell','markerAttributes','setAttribute','add','has','getRanges','author','differ','*Replace\x20table\x20cells*','columnInsertionRanges','fromEntries','getSelectionAffectedTableCells','getTableIfOnlyTableInContent','getColumns','insertRows','insertContent','rowInsertionRanges','findAncestor','suggestion:formatBlock:tablePasteCell','endRow','isEqual','locale','formatBlock','endColumn','accept','createElement','move','_tablePostFixingSubtypes','name','subType','startsWith','tablePasteColumn','editor'];(function(_0x8a5474,_0x4c6937){const _0x4f9912=function(_0x77c3a8){while(--_0x77c3a8){_0x8a5474['push'](_0x8a5474['shift']());}};_0x4f9912(++_0x4c6937);}(_0x4c69,0x88));const _0x4f99=function(_0x8a5474,_0x4c6937){_0x8a5474=_0x8a5474-0x0;let _0x4f9912=_0x4c69[_0x8a5474];return _0x4f9912;};import{getTranslation as _0x4d2670}from'../utils/common-translations';import{Plugin as _0x1620c4}from'ckeditor5/src/core';import{uid as _0x512848,priorities as _0x166a5d}from'ckeditor5/src/utils';import _0x59f70a from'./table';const le=['tableCellBorderWidth',_0x4f99('0x84'),'tableCellBorderStyle',_0x4f99('0x74'),_0x4f99('0x72'),'tableCellBackgroundColor',_0x4f99('0x98')],ae=Object[_0x4f99('0xc')](le[_0x4f99('0x8b')](_0x4ccb0a=>[_0x4ccb0a,null]));export default class At extends _0x1620c4{static get[_0x4f99('0xa4')](){return[_0x59f70a];}[_0x4f99('0x91')](){const _0xa1f1f1=this[_0x4f99('0x22')];if(!_0xa1f1f1['plugins'][_0x4f99('0x6')]('TableClipboard'))return;const _0xd25c8=_0xa1f1f1[_0x4f99('0x93')][_0x4f99('0x26')](_0x4f99('0x57')),_0x57fafb=_0xa1f1f1['plugins'][_0x4f99('0x26')](_0x4f99('0xa7')),_0x1f03cf=_0xa1f1f1[_0x4f99('0x93')]['get'](_0x59f70a),_0x39288d=_0xa1f1f1[_0x4f99('0x93')][_0x4f99('0x26')]('TableClipboard');_0x1f03cf[_0x4f99('0x1d')][_0x4f99('0x39')](_0x4f99('0x6d'),_0x4f99('0x21')),_0xa1f1f1['model'][_0x4f99('0x71')][_0x4f99('0x6a')](_0x4f99('0x48'),{'allowIn':_0x4f99('0x2b'),'allowContentOf':_0x4f99('0x2b'),'isLimit':!0x0}),_0xa1f1f1[_0x4f99('0x4b')][_0x4f99('0x2e')]({'model':_0x4f99('0x48'),'view':'suggestion-td'});let _0x4f1d9e=null;_0xa1f1f1[_0x4f99('0x64')]['on'](_0x4f99('0x11'),(_0x17d297,_0xcba97f)=>{const [_0x33e2e9,_0x2225f7]=_0xcba97f,_0x4c1a93=_0xcba97f[_0xcba97f['length']-0x1];_0x4c1a93&&_0x4c1a93[_0x4f99('0x23')]||_0xd25c8[_0x4f99('0x6b')]||this[_0x4f99('0x22')][_0x4f99('0x55')][_0x4f99('0x26')]('trackChanges')[_0x4f99('0x5d')]&&function(_0x5447e6,_0x1bb5e0,_0x433549,_0x25d341,_0x4b7944){if(_0x1bb5e0&&!_0x1bb5e0['is'](_0x4f99('0x7c')))return!0x1;const _0x55bd33=_0x4b7944[_0x4f99('0xe')](_0x5447e6,_0x433549);if(!_0x55bd33||!fe(_0x55bd33,void 0x0,_0x25d341))return!0x1;const _0x482522=_0x25d341[_0x4f99('0xd')](_0x433549['document'][_0x4f99('0x81')]);if(!_0x482522[_0x4f99('0x5f')])return!0x1;const _0x123a88=_0x482522[0x0]['findAncestor']('table'),_0x466d1f=_0x25d341['getRowIndexes'](_0x482522),_0x4d4840=_0x25d341[_0x4f99('0x3a')](_0x482522),_0x38cf16={'startRow':_0x466d1f[_0x4f99('0x45')],'endRow':_0x466d1f[_0x4f99('0x44')],'startColumn':_0x4d4840[_0x4f99('0x45')],'endColumn':_0x4d4840[_0x4f99('0x44')]};return 0x1==_0x482522[_0x4f99('0x5f')]&&(_0x38cf16[_0x4f99('0x15')]+=_0x25d341[_0x4f99('0x9a')](_0x55bd33)-0x1,_0x38cf16[_0x4f99('0x19')]+=_0x25d341[_0x4f99('0xf')](_0x55bd33)-0x1),fe(_0x123a88,_0x38cf16,_0x25d341);}(_0x33e2e9,_0x2225f7,_0xa1f1f1['model'],_0x57fafb,_0x39288d)&&(_0x17d297[_0x4f99('0x82')](),_0x4f1d9e={'cells':[],'insertionRanges':[],'deletionRanges':[],'rowInsertionRanges':[],'rowInsertionIndexes':[],'columnInsertionRanges':[],'columnInsertionIndexes':[]},_0xa1f1f1[_0x4f99('0x64')][_0x4f99('0x7f')](()=>{_0xa1f1f1[_0x4f99('0x64')][_0x4f99('0x11')](_0xcba97f[0x0],_0xcba97f[0x1],_0xcba97f[0x2],{'forceDefaultExecution':!0x0});const _0x323e6f=_0x512848(),{rowInsertionRanges:_0x5832cb,columnInsertionRanges:_0x5a1fec,insertionRanges:_0xef8f52,deletionRanges:_0x2630df,cells:_0x4e8e65}=_0x4f1d9e;_0x5832cb['length']&&_0xd25c8[_0x4f99('0x29')](_0x5832cb,_0x4f99('0x6d'),{'tablePasteChainId':_0x323e6f}),_0x5a1fec[_0x4f99('0x5f')]&&_0xd25c8['markMultiRangeInsertion'](_0x5a1fec,_0x4f99('0x21'),{'tablePasteChainId':_0x323e6f}),_0xef8f52[_0x4f99('0x5f')]&&_0xd25c8['markMultiRangeInsertion'](_0xef8f52,'tablePaste',{'tablePasteChainId':_0x323e6f,'skipNestingCheck':!0x0}),_0x2630df[_0x4f99('0x5f')]&&_0xd25c8[_0x4f99('0x4a')](_0x2630df,'tablePaste',{'tablePasteChainId':_0x323e6f,'skipNestingCheck':!0x0});const _0x65a75b=_0xd25c8[_0x4f99('0x9e')](_0x4e8e65[_0x4f99('0x8b')](({element:_0x1ba09e})=>_0x1ba09e),{'formatGroupId':_0x512848()},[],'tablePasteCell',{'tablePasteChainId':_0x323e6f});if(_0x65a75b){const _0x34bb9b=_0x65a75b[_0x4f99('0x7d')](),_0x4c68e2=[];for(const {element:_0x2b88e7,attributes:_0x15654f}of _0x4e8e65){if(!_0x15654f)continue;const _0xb33373=_0xa1f1f1[_0x4f99('0x64')][_0x4f99('0xa6')](_0x2b88e7),_0x4ea5ed=_0x34bb9b[_0x4f99('0x5a')](_0xe67f70=>_0xe67f70['getRange']()[_0x4f99('0x16')](_0xb33373));_0x4ea5ed&&_0x4c68e2[_0x4f99('0x39')]([_0x4ea5ed[_0x4f99('0x1e')],_0x15654f]);}_0x4c68e2[_0x4f99('0x5f')]&&_0x65a75b[_0x4f99('0x4')](_0x4f99('0x3'),Object['fromEntries'](_0x4c68e2));}_0x4f1d9e=null;}));},{'priority':_0x166a5d[_0x4f99('0x4e')]+0xa}),_0xa1f1f1[_0x4f99('0x93')][_0x4f99('0x26')](_0x4f99('0x7b'))['on'](_0x4f99('0x86'),(_0x5c5009,_0x3aa0ac)=>{const [_0x30a08c,_0x2ff3e5,,_0x51c233]=_0x3aa0ac;if(!_0x4f1d9e)return;_0x5c5009['stop']();const _0x3b374e=_0x30a08c[_0x4f99('0x2')],_0x236ca=_0x2ff3e5,_0x2a4c94=ce(_0x3b374e),_0x1a4845=ce(_0x236ca);_0x5c5009[_0x4f99('0x78')]=_0x3b374e;let _0x11855b=null,_0x4a43fd=null;if(_0x1a4845||_0x2a4c94){if(_0x2a4c94&&!_0x1a4845){_0x51c233[_0x4f99('0x47')](_0x3b374e[_0x4f99('0x63')](0x0));for(const _0xd0c8c9 of Array[_0x4f99('0x3e')](_0x236ca[_0x4f99('0xa1')]()))_0x51c233[_0x4f99('0x2a')](_0xd0c8c9,_0x3b374e,_0x4f99('0x61'));const _0x3fd893=_0x4f1d9e['rowInsertionIndexes']['includes'](_0x30a08c['row']),_0x1d4291=_0x4f1d9e[_0x4f99('0x31')][_0x4f99('0x67')](_0x30a08c[_0x4f99('0x5e')]);_0x3fd893||_0x1d4291||(_0x11855b=_0x51c233[_0x4f99('0x3c')](_0x3b374e));}else _0x1a4845&&!_0x2a4c94&&(_0x4a43fd=_0x51c233['createRangeIn'](_0x3b374e));}else{const _0x2cae53=_0x51c233['createElement']('tableCellSuggestion'),_0x58a82e=_0x51c233[_0x4f99('0x1b')](_0x4f99('0x48'));_0x51c233[_0x4f99('0x76')](_0x51c233[_0x4f99('0x3c')](_0x3b374e),_0x58a82e),_0x51c233['insert'](_0x2cae53,_0x3b374e,0x0);for(const _0x55c9ec of Array[_0x4f99('0x3e')](_0x236ca[_0x4f99('0xa1')]()))_0x51c233[_0x4f99('0x2a')](_0x55c9ec,_0x2cae53,'end');_0x11855b=_0x51c233[_0x4f99('0xa6')](_0x2cae53),_0x4a43fd=_0x51c233[_0x4f99('0xa6')](_0x58a82e);}const _0x10932b=Array[_0x4f99('0x3e')](_0x236ca[_0x4f99('0x37')]())['filter'](([_0x3a23b7])=>le[_0x4f99('0x67')](_0x3a23b7));_0x4f1d9e[_0x4f99('0x24')][_0x4f99('0x39')]({'element':_0x3b374e,'attributes':_0x10932b[_0x4f99('0x5f')]?Object['fromEntries'](_0x10932b):null}),_0x11855b&&_0x4f1d9e['insertionRanges'][_0x4f99('0x39')](_0x11855b),_0x4a43fd&&_0x4f1d9e[_0x4f99('0x25')]['push'](_0x4a43fd);},{'priority':'high'}),_0x57fafb['on'](_0x4f99('0x58'),(_0x19ebb6,_0x4aa01b)=>{const [_0x555c79,_0x52193b={}]=_0x4aa01b;if(!_0x4f1d9e)return;const _0x9f2633=_0x52193b['at']||0x0,_0x4fb3d0=_0x52193b[_0x4f99('0x3b')]||0x1;_0x4f1d9e[_0x4f99('0x31')]=new Array(_0x4fb3d0)['fill'](_0x9f2633)[_0x4f99('0x8b')]((_0x31cce7,_0x48f8d4)=>_0x31cce7+_0x48f8d4);for(const {cell:_0x42235e}of _0x57fafb['createTableWalker'](_0x555c79,{'startColumn':_0x9f2633,'endColumn':_0x9f2633+_0x4fb3d0-0x1}))_0x4f1d9e[_0x4f99('0xb')][_0x4f99('0x39')](_0xa1f1f1[_0x4f99('0x64')]['createRangeOn'](_0x42235e));},{'priority':_0x4f99('0x83')}),_0x57fafb['on'](_0x4f99('0x10'),(_0x3ee51f,_0x12074)=>{const [_0x204e59,_0x24410b={}]=_0x12074;if(!_0x4f1d9e)return;const _0x2d0524=_0x24410b['at']||0x0,_0x4564f7=_0x24410b[_0x4f99('0x9d')]||0x1;_0x4f1d9e[_0x4f99('0x69')]=new Array(_0x4564f7)[_0x4f99('0x62')](_0x2d0524)[_0x4f99('0x8b')]((_0x23615,_0x2a5b7d)=>_0x23615+_0x2a5b7d);for(const {cell:_0x35cdde}of _0x57fafb[_0x4f99('0x9b')](_0x204e59,{'startRow':_0x2d0524,'endRow':_0x2d0524+_0x4564f7-0x1}))_0x4f1d9e[_0x4f99('0x12')]['push'](_0xa1f1f1[_0x4f99('0x64')][_0x4f99('0xa6')](_0x35cdde));},{'priority':'low'}),_0xd25c8['_descriptionFactory'][_0x4f99('0x8e')](_0x120b62=>{if(_0x120b62[_0x4f99('0x1f')]&&_0x120b62[_0x4f99('0x1f')][_0x4f99('0x20')](_0x4f99('0x4c')))return _0x120b62[_0x4f99('0x8f')]?{}:{'type':_0x4f99('0x2d'),'content':_0x4d2670(_0xa1f1f1[_0x4f99('0x17')],_0x4f99('0xa'))};});const _0x39b92f=()=>!0x1;for(const _0x3f468a of[_0x4f99('0x4c'),_0x4f99('0x21'),_0x4f99('0x6d'),_0x4f99('0x7a')])_0xd25c8['_suggestionFactory']['registerCustomCallback']('insertion',_0x3f468a,_0x4f99('0x94'),_0x39b92f),_0xd25c8[_0x4f99('0x68')][_0x4f99('0x3f')](_0x4f99('0x5b'),_0x3f468a,_0x4f99('0x94'),_0x39b92f),_0xd25c8[_0x4f99('0x68')][_0x4f99('0x3f')]('formatBlock',_0x3f468a,_0x4f99('0x94'),_0x39b92f);_0xd25c8[_0x4f99('0x68')][_0x4f99('0x3f')](_0x4f99('0x18'),_0x4f99('0x7a'),_0x4f99('0x53'),_0x39b92f),_0xd25c8['_suggestionFactory'][_0x4f99('0x3f')](_0x4f99('0x18'),_0x4f99('0x7a'),'accept',(_0x40fc4c,_0x533d4d,_0x540fb6)=>{const _0x100de4=_0x40fc4c[_0x4f99('0x8b')](_0x48675a=>_0x48675a[_0x4f99('0x88')]())[_0x4f99('0x33')](_0x29664f=>_0x29664f),_0x43aa8e=new Map(_0x100de4['map'](_0x3eefea=>[_0x3eefea,null]));if(_0x4f1d9e)for(const {element:_0x145fb2,attributes:_0x337220}of _0x4f1d9e[_0x4f99('0x24')])_0x337220&&_0x43aa8e[_0x4f99('0x6e')](_0x145fb2,_0x337220);else{if(_0x540fb6&&_0x540fb6['markerAttributes'])for(const [_0x45b4f9,_0x522d14]of Object[_0x4f99('0x77')](_0x540fb6['markerAttributes'])){const _0x4113cf=_0xa1f1f1[_0x4f99('0x64')][_0x4f99('0x56')]['get'](_0x45b4f9),_0x17a299=_0x4113cf?_0x4113cf[_0x4f99('0x0')]()['getContainedElement']():null;_0x17a299&&_0x43aa8e[_0x4f99('0x6e')](_0x17a299,_0x522d14);}}_0xa1f1f1['model']['change'](_0x18e1d5=>{for(const [_0x3520b3,_0x360a9f]of _0x43aa8e)_0x18e1d5[_0x4f99('0x51')]({...ae,..._0x360a9f},_0x3520b3);});});const _0x32421e=(_0x2f45c0,_0xf2078f)=>{_0xd25c8[_0x4f99('0x68')][_0x4f99('0x3f')](_0x2f45c0,_0x4f99('0x4c'),_0xf2078f,(_0x3a3c54,_0x28b864,_0x258871)=>{_0xa1f1f1[_0x4f99('0x64')][_0x4f99('0x7f')](_0x1bc6ba=>{const _0x2add97=[];for(const _0x3f36ab of _0x3a3c54){const _0x216d38=_0x3f36ab[_0x4f99('0x50')][_0x4f99('0x80')];_0x216d38['is']('element',_0x4f99('0x48'))&&_0x2add97[_0x4f99('0x39')](_0x216d38);}_0xd25c8[_0x4f99('0x68')][_0x4f99('0x66')](_0x2f45c0,null,_0xf2078f)(_0x3a3c54,_0x28b864,_0x258871);for(const _0x1fd7cc of _0x2add97)_0x4f99('0x8d')!=_0x1fd7cc[_0x4f99('0x87')]['rootName']&&_0x1bc6ba['unwrap'](_0x1fd7cc);});});};_0x32421e(_0x4f99('0x2d'),_0x4f99('0x1a')),_0x32421e(_0x4f99('0x2d'),_0x4f99('0x53')),_0x32421e(_0x4f99('0x5b'),'accept'),_0x32421e(_0x4f99('0x5b'),_0x4f99('0x53')),_0xd25c8[_0x4f99('0x68')]['registerCustomCallback'](_0x4f99('0x2d'),_0x4f99('0x6d'),_0x4f99('0x53'),_0x32de24=>{const _0x509b05=_0x32de24[_0x4f99('0x8b')](_0x5054c8=>_0x5054c8[_0x4f99('0x88')]()),_0x3c32dd=_0x509b05[0x0][_0x4f99('0x13')](_0x4f99('0x60')),{minRow:_0x532477,maxRow:_0x43f22a}=_0x1f03cf[_0x4f99('0xa5')](_0x509b05);_0x57fafb[_0x4f99('0x95')](_0x3c32dd,{'at':_0x532477,'rows':_0x43f22a-_0x532477+0x1});}),_0xd25c8[_0x4f99('0x68')][_0x4f99('0x3f')](_0x4f99('0x2d'),_0x4f99('0x21'),_0x4f99('0x53'),_0x2d1a29=>{const _0x168a9d=_0x2d1a29[_0x4f99('0x8b')](_0x39ec09=>_0x39ec09[_0x4f99('0x88')]()),_0x2e14ad=_0x168a9d[0x0]['findAncestor'](_0x4f99('0x60')),{minColumn:_0x2dce6d,maxColumn:_0xd310b2}=_0x1f03cf[_0x4f99('0xa5')](_0x168a9d);_0x57fafb[_0x4f99('0xa3')](_0x2e14ad,{'at':_0x2dce6d,'columns':_0xd310b2-_0x2dce6d+0x1});});const _0x4c5d2a=(_0x42a23e,_0x4c8f63)=>{if(!_0x4c8f63[_0x4f99('0x1f')]||!_0x4c8f63['subType']['startsWith']('tablePaste'))return;const _0x4fc890=_0x4c8f63[_0x4f99('0x38')]['tablePasteChainId'],_0x3d0608=_0xd25c8[_0x4f99('0x8a')]()[_0x4f99('0x33')](_0x28a021=>_0x28a021[_0x4f99('0x54')]&&_0x28a021[_0x4f99('0x38')]&&_0x28a021[_0x4f99('0x38')][_0x4f99('0xaa')]==_0x4fc890);_0x3d0608['length']&&_0x4c8f63[_0x4f99('0x85')]()['length']!=_0x3d0608[_0x4f99('0x5f')]&&_0x3d0608[_0x4f99('0xa9')]((_0xb65b0f,_0x5e2c0f)=>(_0xb65b0f[_0x4f99('0x49')]=_0x5e2c0f,_0x5e2c0f[_0x4f99('0x8f')]=_0xb65b0f,_0x5e2c0f));};function _0x998cbe(_0x249994,_0x28d5e7=!0x0){const {id:_0x2474e7}=_0xd25c8['_splitMarkerName'](_0x249994[_0x4f99('0x32')]),_0x504da3=['ck-suggestion-marker','ck-suggestion-marker-insertion'],_0x5f5230=_0xd25c8[_0x4f99('0x35')][_0x4f99('0x67')](_0x249994[_0x4f99('0x32')]);return _0x5f5230&&_0x504da3[_0x4f99('0x39')](_0x4f99('0x97')),{'classes':_0x504da3,'attributes':{'data-suggestion':_0x2474e7},'priority':_0x5f5230&&_0x28d5e7?0xbc2:0xbb8};}_0xd25c8['on'](_0x4f99('0x2f'),_0x4c5d2a,{'priority':_0x4f99('0x4e')}),_0xd25c8['on'](_0x4f99('0xa8'),_0x4c5d2a,{'priority':_0x4f99('0x4e')}),_0xa1f1f1['model'][_0x4f99('0x79')][_0x4f99('0x59')](()=>{let _0x1b7b63=!0x1;const _0x3948d1=Array[_0x4f99('0x3e')](_0xa1f1f1[_0x4f99('0x64')][_0x4f99('0x79')]['differ'][_0x4f99('0x70')]());for(const {name:_0x209206,data:_0x3b67b1}of _0x3948d1){const {group:_0x431d22,type:_0x797235,id:_0x3e2236}=_0xd25c8['_splitMarkerName'](_0x209206);if(_0x4f99('0x34')!=_0x431d22||_0x4f99('0x5b')!=_0x797235||_0x3b67b1[_0x4f99('0x7e')])continue;if(!_0xd25c8['hasSuggestion'](_0x3e2236))continue;const _0x18df34=_0xd25c8[_0x4f99('0x3d')](_0x3e2236)[_0x4f99('0x7')](),_0x456b84=_0xa1f1f1[_0x4f99('0x93')][_0x4f99('0x26')](_0x4f99('0x4f'))['me'];for(const _0x96f06b of _0xd25c8[_0x4f99('0x8a')]()){if(!_0x96f06b[_0x4f99('0x54')]||_0x96f06b[_0x4f99('0x8')]!=_0x456b84)continue;if(_0x4f99('0x18')!=_0x96f06b[_0x4f99('0x4d')]||_0x4f99('0x7a')!=_0x96f06b[_0x4f99('0x1f')])continue;if(_0x96f06b[_0x4f99('0x7')]()[_0x4f99('0x1')](_0xcf47b6=>_0x18df34[_0x4f99('0x2c')](_0x5d615e=>_0x5d615e[_0x4f99('0x89')](_0xcf47b6,!0x0))))for(const _0x27ce09 of _0x96f06b[_0x4f99('0x85')]())_0x27ce09[_0x4f99('0x54')]&&(_0x27ce09[_0x4f99('0x53')](),_0x1b7b63=!0x0);}}return _0x1b7b63;}),_0xa1f1f1[_0x4f99('0x64')][_0x4f99('0x79')]['registerPostFixer'](_0xdb295c=>{const _0x2560d6=_0xa1f1f1[_0x4f99('0x55')][_0x4f99('0x26')](_0x4f99('0x6f'));if(!_0x2560d6||!_0x2560d6[_0x4f99('0x40')][_0x4f99('0x6')](_0xdb295c[_0x4f99('0x43')]))return!0x1;let _0x1e0662=!0x1;const _0x463ac6=_0xa1f1f1[_0x4f99('0x93')][_0x4f99('0x26')](_0x4f99('0x4f'))['me'],_0x4fea66=_0xa1f1f1['model']['document'][_0x4f99('0x9')][_0x4f99('0x90')](),_0x260dcd=Array[_0x4f99('0x3e')](_0xa1f1f1[_0x4f99('0x64')][_0x4f99('0x79')][_0x4f99('0x9')][_0x4f99('0x70')]())['filter'](({name:_0x3ad1a5,data:_0x2b242a})=>{const {group:_0x59db0f,subType:_0x2ea739,authorId:_0x3470f7}=_0xd25c8['_splitMarkerName'](_0x3ad1a5);return _0x4f99('0x34')==_0x59db0f&&_0x4f99('0x4c')==_0x2ea739&&_0x3470f7==_0x463ac6['id']&&!_0x2b242a['oldRange'];});for(const _0x1ebdc6 of _0x4fea66){if(_0x4f99('0x2a')!=_0x1ebdc6['type']||_0x4f99('0x48')!=_0x1ebdc6[_0x4f99('0x1e')]||0x1!=_0x1ebdc6[_0x4f99('0x5f')])continue;const _0x3dc0b4=_0xdb295c['createRange'](_0x1ebdc6[_0x4f99('0x5c')],_0x1ebdc6[_0x4f99('0x5c')]['getShiftedBy'](0x1));if(!_0x260dcd[_0x4f99('0x5a')](({data:_0x1b240f})=>_0x1b240f[_0x4f99('0xa0')][_0x4f99('0x16')](_0x3dc0b4)))for(const {name:_0xc781e7,data:_0x29a2b5}of _0x260dcd)if(_0x3dc0b4['containsRange'](_0x29a2b5[_0x4f99('0xa0')])){_0xdb295c[_0x4f99('0x73')](_0xc781e7,{'range':_0x3dc0b4}),_0x1e0662=!0x0;break;}}return _0x1e0662;}),_0xa1f1f1[_0x4f99('0x64')][_0x4f99('0x79')][_0x4f99('0x59')](_0x23f611=>{let _0x2aceec=!0x1;const _0x28bb4f=_0xa1f1f1['plugins'][_0x4f99('0x26')](_0x4f99('0x4f'))['me'],_0x5f3742=_0xd25c8[_0x4f99('0x8a')]()[_0x4f99('0x33')](_0x23dc35=>_0x23dc35[_0x4f99('0x54')]&&_0x23dc35['author']==_0x28bb4f),_0x5b42e8=new Set(),_0x38d924=new Set();for(const _0x25c49c of _0x5f3742)if('tablePaste'==_0x25c49c[_0x4f99('0x1f')])for(const _0x43f912 of _0x25c49c[_0x4f99('0x7d')]()){const _0x6d5ac8=_0x43f912[_0x4f99('0x0')]()['getContainedElement']();if(_0x6d5ac8){if(_0x6d5ac8['is'](_0x4f99('0x6c'),_0x4f99('0x48'))&&ce(_0x6d5ac8)){_0x25c49c['removeMarker'](_0x43f912[_0x4f99('0x1e')]),_0x5b42e8['add'](_0x6d5ac8),_0x2aceec=!0x0;const _0x2249ef=_0x6d5ac8[_0x4f99('0x65')],_0x152bf3=_0x6d5ac8[_0x4f99('0x92')],_0x2a03df=_0x2249ef&&_0x2249ef['is'](_0x4f99('0x6c'),_0x4f99('0x48')),_0x5e949f=_0x152bf3&&_0x152bf3['is'](_0x4f99('0x6c'),_0x4f99('0x48'));_0x2a03df&&!_0x5b42e8[_0x4f99('0x6')](_0x2249ef)&&_0x38d924[_0x4f99('0x5')](_0x2249ef),_0x5e949f&&!_0x5b42e8['has'](_0x152bf3)&&_0x38d924[_0x4f99('0x5')](_0x152bf3);}else _0x6d5ac8['is']('element',_0x4f99('0x52'))&&_0x6d5ac8[_0x4f99('0x27')]&&(_0x25c49c['removeMarker'](_0x43f912[_0x4f99('0x1e')]),_0x2aceec=!0x0);}}else{if(_0x4f99('0x7a')==_0x25c49c[_0x4f99('0x1f')]){if(!_0x25c49c[_0x4f99('0x38')]||!_0x25c49c[_0x4f99('0x38')][_0x4f99('0xaa')])continue;const _0xf413b8=_0x25c49c[_0x4f99('0x38')][_0x4f99('0x3')];if(_0xf413b8&&Object[_0x4f99('0x41')](_0xf413b8)['length'])continue;const _0x304391=_0x25c49c[_0x4f99('0x38')][_0x4f99('0xaa')];let _0x2c22a4=!0x0,_0x379fc3=!0x0;for(const _0x58e180 of _0x5f3742)if(_0x58e180['subType']&&_0x58e180[_0x4f99('0x1f')][_0x4f99('0x20')](_0x4f99('0x4c'))){if(!_0x58e180['attributes'][_0x4f99('0xaa')]){_0x379fc3=!0x1;break;}if(_0x58e180['id']!=_0x25c49c['id']&&_0x58e180['attributes']['tablePasteChainId']==_0x304391){_0x2c22a4=!0x1;break;}}_0x379fc3&&_0x2c22a4&&(_0x25c49c[_0x4f99('0x46')](),_0x2aceec=!0x0);}}for(const _0x474c57 of _0x5b42e8)_0x23f611[_0x4f99('0x47')](_0x474c57);for(const _0x22b7a1 of _0x38d924)_0x23f611['unwrap'](_0x22b7a1);return _0x2aceec;}),_0xa1f1f1[_0x4f99('0x4b')]['for'](_0x4f99('0x28'))[_0x4f99('0x30')]({'model':_0x4f99('0x14'),'view':(_0x1cba60,_0x1e2528)=>_0x998cbe(_0x1cba60),'converterPriority':'high'}),_0xa1f1f1[_0x4f99('0x4b')][_0x4f99('0x42')](_0x4f99('0x36'))[_0x4f99('0x30')]({'model':_0x4f99('0x14'),'view':(_0x24852d,_0xabb78a)=>_0xabb78a[_0x4f99('0x96')][_0x4f99('0x75')]?_0x998cbe(_0x24852d,!0x1):null,'converterPriority':_0x4f99('0x4e')});const _0x170794=_0xa1f1f1[_0x4f99('0xa2')][_0x4f99('0x8c')];this[_0x4f99('0x9f')](_0x170794['document'],'clipboardOutput',(_0xdc3193,_0x2a378c)=>{const _0x57926e=[];for(const _0x7d66 of _0x170794[_0x4f99('0x3c')](_0x2a378c[_0x4f99('0x9c')])['getItems']())_0x7d66['is'](_0x4f99('0x6c'),_0x4f99('0x99'))&&_0x57926e['push'](_0x7d66);_0x170794[_0x4f99('0x7f')](_0x1b12f8=>{for(const _0x172130 of _0x57926e)_0x1b12f8[_0x4f99('0x1c')](_0x1b12f8[_0x4f99('0x3c')](_0x172130),_0x1b12f8['createPositionBefore'](_0x172130)),_0x1b12f8['remove'](_0x172130);});});}}function ce(_0x2a60c6){if(_0x2a60c6[_0x4f99('0x27')])return!0x0;const _0x4e6371=_0x2a60c6[_0x4f99('0x63')](0x0);return _0x4e6371['is'](_0x4f99('0x6c'),_0x4f99('0x52'))&&_0x4e6371[_0x4f99('0x27')];}function fe(_0xba22c7,_0x2b2571={},_0x2c4317){for(const {isAnchor:_0x538644,cellHeight:_0x367b84,cellWidth:_0x3cd1c0}of _0x2c4317[_0x4f99('0x9b')](_0xba22c7,{'includeAllSlots':!0x0,..._0x2b2571}))if(!_0x538644||0x1!=_0x367b84||0x1!=_0x3cd1c0)return!0x1;return!0x0;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x55e0=['TrackChangesEditing','tableWidth','getSelectedElement','author','commandParams','getSuggestionCallback','selection','subType','editor','columnWidths','Users','_suggestionFactory','document','*Format:*\x20resize\x20table','model','resizeTable','getTableColumnsWidths','table','data','handleResizeTableWidthCommand','format','has','registerCustomCallback','markBlockFormat','handleSuggestionDescription','plugins','type','formatInline','enableCommand','afterInit','get','formatBlock','getAttribute','locale','resizeTableWidth','discard','bind'];(function(_0x3ab24c,_0x55e05c){const _0x24e745=function(_0x5a5c54){while(--_0x5a5c54){_0x3ab24c['push'](_0x3ab24c['shift']());}};_0x24e745(++_0x55e05c);}(_0x55e0,0x15a));const _0x24e7=function(_0x3ab24c,_0x55e05c){_0x3ab24c=_0x3ab24c-0x0;let _0x24e745=_0x55e0[_0x3ab24c];return _0x24e745;};import{Plugin as _0x468f9b}from'ckeditor5/src/core';import{getTranslation as _0x26f74b}from'../utils/common-translations';export default class It extends _0x468f9b{[_0x24e7('0x10')](){if(!this['editor']['plugins'][_0x24e7('0x8')]('TableColumnResizeEditing'))return;const _0x15a28a=this[_0x24e7('0x20')]['plugins']['get'](_0x24e7('0x18'));_0x15a28a[_0x24e7('0xf')](_0x24e7('0x15'),this[_0x24e7('0x6')][_0x24e7('0x17')](this)),_0x15a28a[_0x24e7('0x23')]['registerCustomCallback']('formatBlock',_0x24e7('0x2'),'accept',_0x15a28a[_0x24e7('0x23')][_0x24e7('0x1d')](_0x24e7('0x12'),null,_0x24e7('0x16'))),_0x15a28a['_suggestionFactory'][_0x24e7('0x9')]('formatBlock',_0x24e7('0x2'),_0x24e7('0x16'),_0x15a28a[_0x24e7('0x23')][_0x24e7('0x1d')](_0x24e7('0x12'),null,'accept')),_0x15a28a['_descriptionFactory']['registerDescriptionCallback'](this['handleSuggestionDescription'][_0x24e7('0x17')](this));}[_0x24e7('0x6')](_0x49fc98,_0xe9bd01){const _0x1f6be8=this[_0x24e7('0x20')]['plugins'][_0x24e7('0x11')]('TrackChangesEditing'),_0x57f413=this[_0x24e7('0x20')][_0x24e7('0xc')]['get']('TableColumnResizeEditing'),_0x33a317=_0xe9bd01[_0x24e7('0x4')]||this[_0x24e7('0x20')][_0x24e7('0x1')][_0x24e7('0x24')][_0x24e7('0x1e')][_0x24e7('0x1a')]();this['editor'][_0x24e7('0x1')]['change'](()=>{const _0x5ea7ec=_0x57f413['getColumnGroupElement'](_0x33a317);let _0x396774=_0x5ea7ec?_0x57f413[_0x24e7('0x3')](_0x5ea7ec):null,_0x259a92=_0x33a317[_0x24e7('0x13')](_0x24e7('0x19'))||null;const _0x373fda=_0xe9bd01['tableWidth']||_0x259a92,_0x5e8d5c=_0xe9bd01[_0x24e7('0x21')]||_0x396774,_0x17d118=this['editor'][_0x24e7('0xc')][_0x24e7('0x11')](_0x24e7('0x22'))['me'];for(const _0xec9e77 of _0x1f6be8['getSuggestions']()){const _0x49c138=_0xec9e77['getContainedElement']();if(_0x24e7('0x2')===_0xec9e77[_0x24e7('0x1f')]&&_0x49c138===_0x33a317){_0xec9e77[_0x24e7('0x1b')]!==_0x17d118&&_0xec9e77['discard']();const _0x1da51b=_0xec9e77[_0x24e7('0x5')][_0x24e7('0x1c')];_0x259a92=_0x1da51b[0x0][_0x24e7('0x19')],_0x396774=_0x1da51b[0x0][_0x24e7('0x21')];break;}}_0x49fc98({'table':_0x33a317,'tableWidth':_0x373fda,'columnWidths':_0x5e8d5c}),_0x1f6be8[_0x24e7('0xa')](_0x33a317,{'commandName':_0x24e7('0x15'),'commandParams':[{'tableWidth':_0x259a92,'columnWidths':_0x396774}],'formatGroupId':_0x24e7('0x2')},[],'resizeTable');});}[_0x24e7('0xb')](_0x5ef831){if(_0x24e7('0x12')!=_0x5ef831[_0x24e7('0xd')]&&_0x24e7('0xe')!=_0x5ef831['type'])return;const {data:_0x33180e}=_0x5ef831;if(_0x33180e&&'resizeTable'===_0x33180e['formatGroupId']){const _0x2c48fd=_0x24e7('0x0');return{'type':_0x24e7('0x7'),'content':_0x26f74b(this[_0x24e7('0x20')][_0x24e7('0x14')],_0x2c48fd)};}}}
23
+ const _0x1a8c=['editor','data','table','get','afterInit','bind','getColumnGroupElement','subType','resizeTableWidth','registerDescriptionCallback','*Format:*\x20resize\x20table','getSelectedElement','has','handleSuggestionDescription','_suggestionFactory','markBlockFormat','registerCustomCallback','selection','change','enableCommand','getTableColumnsWidths','TableColumnResizeEditing','document','discard','formatGroupId','tableWidth','getContainedElement','formatBlock','formatInline','type','handleResizeTableWidthCommand','getSuggestionCallback','commandParams','accept','resizeTable','TrackChangesEditing','columnWidths','getSuggestions','plugins','Users'];(function(_0x305d2e,_0x1a8ce8){const _0x2ff887=function(_0x591778){while(--_0x591778){_0x305d2e['push'](_0x305d2e['shift']());}};_0x2ff887(++_0x1a8ce8);}(_0x1a8c,0x12f));const _0x2ff8=function(_0x305d2e,_0x1a8ce8){_0x305d2e=_0x305d2e-0x0;let _0x2ff887=_0x1a8c[_0x305d2e];return _0x2ff887;};import{Plugin as _0x5cd4b5}from'ckeditor5/src/core';import{getTranslation as _0x207a2b}from'../utils/common-translations';export default class It extends _0x5cd4b5{[_0x2ff8('0x15')](){if(!this['editor'][_0x2ff8('0xf')][_0x2ff8('0x1d')](_0x2ff8('0x26')))return;const _0x562f60=this['editor'][_0x2ff8('0xf')][_0x2ff8('0x14')]('TrackChangesEditing');_0x562f60[_0x2ff8('0x24')](_0x2ff8('0x19'),this[_0x2ff8('0x7')]['bind'](this)),_0x562f60[_0x2ff8('0x1f')]['registerCustomCallback'](_0x2ff8('0x4'),_0x2ff8('0xb'),'accept',_0x562f60[_0x2ff8('0x1f')][_0x2ff8('0x8')](_0x2ff8('0x4'),null,_0x2ff8('0x0'))),_0x562f60['_suggestionFactory'][_0x2ff8('0x21')](_0x2ff8('0x4'),_0x2ff8('0xb'),'discard',_0x562f60[_0x2ff8('0x1f')][_0x2ff8('0x8')](_0x2ff8('0x4'),null,_0x2ff8('0xa'))),_0x562f60['_descriptionFactory'][_0x2ff8('0x1a')](this[_0x2ff8('0x1e')][_0x2ff8('0x16')](this));}[_0x2ff8('0x7')](_0x46a550,_0x46f6a9){const _0x433f04=this[_0x2ff8('0x11')][_0x2ff8('0xf')][_0x2ff8('0x14')](_0x2ff8('0xc')),_0x422d12=this['editor'][_0x2ff8('0xf')][_0x2ff8('0x14')]('TableColumnResizeEditing'),_0x46d639=_0x46f6a9[_0x2ff8('0x13')]||this[_0x2ff8('0x11')]['model'][_0x2ff8('0x27')][_0x2ff8('0x22')][_0x2ff8('0x1c')]();this[_0x2ff8('0x11')]['model'][_0x2ff8('0x23')](()=>{const _0x1bcc83=_0x422d12[_0x2ff8('0x17')](_0x46d639);let _0x595073=_0x1bcc83?_0x422d12[_0x2ff8('0x25')](_0x1bcc83):null,_0x16d4e2=_0x46d639['getAttribute']('tableWidth')||null;const _0x2216d9=_0x46f6a9[_0x2ff8('0x2')]||_0x16d4e2,_0x544dd2=_0x46f6a9[_0x2ff8('0xd')]||_0x595073,_0x1e8e22=this['editor'][_0x2ff8('0xf')][_0x2ff8('0x14')](_0x2ff8('0x10'))['me'];for(const _0x3ebc51 of _0x433f04[_0x2ff8('0xe')]()){const _0x399c10=_0x3ebc51[_0x2ff8('0x3')]();if('resizeTable'===_0x3ebc51[_0x2ff8('0x18')]&&_0x399c10===_0x46d639){_0x3ebc51['author']!==_0x1e8e22&&_0x3ebc51['discard']();const _0x130fbe=_0x3ebc51[_0x2ff8('0x12')][_0x2ff8('0x9')];_0x16d4e2=_0x130fbe[0x0]['tableWidth'],_0x595073=_0x130fbe[0x0][_0x2ff8('0xd')];break;}}_0x46a550({'table':_0x46d639,'tableWidth':_0x2216d9,'columnWidths':_0x544dd2}),_0x433f04[_0x2ff8('0x20')](_0x46d639,{'commandName':_0x2ff8('0x19'),'commandParams':[{'tableWidth':_0x16d4e2,'columnWidths':_0x595073}],'formatGroupId':_0x2ff8('0xb')},[],_0x2ff8('0xb'));});}[_0x2ff8('0x1e')](_0x1d3cb4){if(_0x2ff8('0x4')!=_0x1d3cb4[_0x2ff8('0x6')]&&_0x2ff8('0x5')!=_0x1d3cb4['type'])return;const {data:_0x3ba25e}=_0x1d3cb4;if(_0x3ba25e&&'resizeTable'===_0x3ba25e[_0x2ff8('0x1')]){const _0x56aae0=_0x2ff8('0x1b');return{'type':'format','content':_0x207a2b(this[_0x2ff8('0x11')]['locale'],_0x56aae0)};}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x32f2=['markerRange','FORMAT_HEADER_COLUMN','commandParams','TrackChangesEditing','parent','createTableWalker','addMarker:suggestion','removeMarker:suggestion','toViewElement','has','_splitMarkerName','data-suggestion','markerName','get','highest','setAttribute','showSuggestionHighlights','commandName','activeMarkers','nodeAfter','editing','type','registerDescriptionCallback','name','data','*Format:*\x20%0','removeClass','consumable','includes','editor','end','_descriptionFactory','nodeBefore','mapper','headingColumns','writer','getSuggestion','addClass','accept','FORMAT_REGULAR_COLUMN','headingRows','requires','item','_enableDefaultAttributesIntegration','bindElementToMarker','_handleLegacySuggestions','format','ck-suggestion-marker--active','ck-suggestion-marker-','cell','_registerLegacyDescription','plugins','downcastDispatcher','setTableRowHeader','registerCustomCallback','start','getCellLocation','_suggestionFactory','removeAttribute','locale','formatBlock','FORMAT_HEADER_ROW','registerAttributeLabel','setTableColumnHeader'];(function(_0xaaa2eb,_0x32f2c8){const _0x3cde1f=function(_0x584b7f){while(--_0x584b7f){_0xaaa2eb['push'](_0xaaa2eb['shift']());}};_0x3cde1f(++_0x32f2c8);}(_0x32f2,0x90));const _0x3cde=function(_0xaaa2eb,_0x32f2c8){_0xaaa2eb=_0xaaa2eb-0x0;let _0x3cde1f=_0x32f2[_0xaaa2eb];return _0x3cde1f;};import{Plugin as _0x31236f}from'ckeditor5/src/core';import _0x4f3f17 from'./table';import{getTranslation as _0x275b1f}from'../utils/common-translations';export default class St extends _0x31236f{static get[_0x3cde('0x19')](){return[_0x4f3f17];}['afterInit'](){const _0x4368ff=this[_0x3cde('0xd')];if(!_0x4368ff['plugins'][_0x3cde('0x39')]('TableEditing'))return;const _0x46b03f=_0x4368ff[_0x3cde('0x2b')],_0x531c98=_0x4368ff[_0x3cde('0x23')]['get'](_0x3cde('0x33'));_0x531c98['_enableDefaultAttributesIntegration'](_0x3cde('0x25'),[],[_0x3cde('0x18')]),_0x531c98[_0x3cde('0x1b')](_0x3cde('0x2f'),[],[_0x3cde('0x12')]),_0x531c98[_0x3cde('0xf')]['registerAttributeLabel'](_0x3cde('0x18'),_0x275b1f(_0x46b03f,_0x3cde('0x2d'))),_0x531c98[_0x3cde('0xf')][_0x3cde('0x2e')](_0x3cde('0x12'),_0x275b1f(_0x46b03f,_0x3cde('0x31'))),this[_0x3cde('0x1d')]();}['_handleLegacySuggestions'](){const _0x205aa9=this[_0x3cde('0xd')][_0x3cde('0x23')][_0x3cde('0x3d')]('TrackChangesEditing'),_0x47c780=this[_0x3cde('0xd')][_0x3cde('0x23')][_0x3cde('0x3d')]('TableUtils'),_0x31e190=this[_0x3cde('0xd')][_0x3cde('0x23')]['get'](_0x4f3f17)['_acceptFormatSuggestionCallbackFactory']();function _0x5e3e90({showActiveMarker:_0x4a016=!0x0,setDataAttribute:_0x51db34=!0x0}={}){return(_0x2face8,_0x380d17,_0x1b916e)=>{const {type:_0x320cca,id:_0x418492}=_0x205aa9[_0x3cde('0x3a')](_0x380d17[_0x3cde('0x3c')]),_0x5d9eef=_0x205aa9[_0x3cde('0x14')](_0x418492),_0x3ecba4=_0x5d9eef[_0x3cde('0x8')];if(_0x3cde('0x2c')!=_0x5d9eef[_0x3cde('0x5')]||!_0x3ecba4||_0x3cde('0x2f')!=_0x3ecba4[_0x3cde('0x1')])return;if(_0x380d17[_0x3cde('0x1a')])return void _0x2face8['stop']();if(!_0x1b916e[_0x3cde('0xb')]['consume'](_0x380d17['markerRange'],_0x2face8[_0x3cde('0x7')]))return;const _0x359e55=_0x380d17[_0x3cde('0x30')][_0x3cde('0x27')][_0x3cde('0x3')],_0x427d7f=_0x380d17['markerRange'][_0x3cde('0xe')][_0x3cde('0x10')],_0x572981=_0x359e55[_0x3cde('0x34')][_0x3cde('0x34')],{column:_0x34132b}=_0x47c780[_0x3cde('0x28')](_0x359e55),{column:_0x557450}=_0x47c780['getCellLocation'](_0x427d7f);for(let _0xfb8039=_0x34132b;_0xfb8039<=_0x557450;_0xfb8039++){const _0x41bdb9=_0x47c780[_0x3cde('0x35')](_0x572981,{'column':_0xfb8039,'includeAllSlots':!0x1});for(const _0x486b3 of _0x41bdb9){const _0x448416=_0x486b3[_0x3cde('0x21')],_0x54a360=_0x1b916e[_0x3cde('0x11')][_0x3cde('0x38')](_0x448416);_0x1b916e[_0x3cde('0x13')][_0x3cde('0x15')](_0x3cde('0x20')+_0x320cca,_0x54a360),_0x51db34&&_0x1b916e[_0x3cde('0x13')][_0x3cde('0x3f')](_0x3cde('0x3b'),_0x418492,_0x54a360),_0x1b916e[_0x3cde('0x11')][_0x3cde('0x1c')](_0x54a360,_0x380d17[_0x3cde('0x3c')]),_0x4a016&&(_0x205aa9[_0x3cde('0x2')][_0x3cde('0xc')](_0x380d17[_0x3cde('0x3c')])?_0x1b916e[_0x3cde('0x13')][_0x3cde('0x15')](_0x3cde('0x1f'),_0x54a360):_0x1b916e['writer'][_0x3cde('0xa')](_0x3cde('0x1f'),_0x54a360));}}};}_0x205aa9['_suggestionFactory'][_0x3cde('0x26')](_0x3cde('0x2c'),'setTableRowHeader',_0x3cde('0x16'),_0x31e190),_0x205aa9[_0x3cde('0x29')][_0x3cde('0x26')](_0x3cde('0x2c'),_0x3cde('0x2f'),_0x3cde('0x16'),_0x31e190),this[_0x3cde('0xd')][_0x3cde('0x4')][_0x3cde('0x24')]['on'](_0x3cde('0x36'),_0x5e3e90(),{'priority':_0x3cde('0x3e')}),this[_0x3cde('0xd')][_0x3cde('0x8')][_0x3cde('0x24')]['on'](_0x3cde('0x36'),(_0x2b18f1,_0x4ef069,_0x10f640)=>{_0x10f640['options'][_0x3cde('0x0')]&&_0x5e3e90({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x2b18f1,_0x4ef069,_0x10f640);},{'priority':'highest'}),this[_0x3cde('0xd')]['editing'][_0x3cde('0x24')]['on'](_0x3cde('0x37'),(_0x4cbb81,_0x1dd95d,_0x4127d4)=>{const {type:_0x434a6c,id:_0x8aed5}=_0x205aa9[_0x3cde('0x3a')](_0x1dd95d[_0x3cde('0x3c')]),_0xf5a81c=_0x205aa9[_0x3cde('0x14')](_0x8aed5),_0x1b9996=_0xf5a81c[_0x3cde('0x8')];if(_0x3cde('0x2c')!=_0xf5a81c[_0x3cde('0x5')]||!_0x1b9996||'setTableColumnHeader'!=_0x1b9996[_0x3cde('0x1')])return;const _0x18656d=_0x4127d4['mapper']['markerNameToElements'](_0x1dd95d['markerName']);if(_0x18656d)for(const _0x48d406 of _0x18656d)_0x4127d4[_0x3cde('0x13')][_0x3cde('0xa')]('ck-suggestion-marker-'+_0x434a6c,_0x48d406),_0x4127d4[_0x3cde('0x13')][_0x3cde('0xa')](_0x3cde('0x1f'),_0x48d406),_0x4127d4[_0x3cde('0x13')][_0x3cde('0x2a')](_0x3cde('0x3b'),_0x48d406),_0x4127d4[_0x3cde('0x11')]['unbindElementFromMarkerName'](_0x48d406,_0x1dd95d[_0x3cde('0x3c')]);},{'priority':'highest'}),this[_0x3cde('0x22')]();}[_0x3cde('0x22')](){const _0x4d46d5=this[_0x3cde('0xd')],_0x41d493=_0x4d46d5[_0x3cde('0x2b')];function _0x2f5425(_0x5727e3){return{'type':_0x3cde('0x1e'),'content':_0x275b1f(_0x41d493,_0x3cde('0x9'),_0x5727e3)};}_0x4d46d5[_0x3cde('0x23')][_0x3cde('0x3d')](_0x3cde('0x33'))['_descriptionFactory'][_0x3cde('0x6')](_0x1813b5=>{if('formatBlock'!=_0x1813b5[_0x3cde('0x5')])return;const {data:_0x4abb6c}=_0x1813b5;if(_0x4abb6c){if(_0x3cde('0x25')==_0x4abb6c[_0x3cde('0x1')]){const _0x2bb7c9=_0x4abb6c[_0x3cde('0x32')][0x0]['forceValue'];return _0x2f5425(_0x275b1f(_0x41d493,_0x2bb7c9?_0x3cde('0x2d'):'FORMAT_REGULAR_ROW'));}if('setTableColumnHeader'==_0x4abb6c[_0x3cde('0x1')]){const _0x38d393=_0x4abb6c['commandParams'][0x0]['forceValue'];return _0x2f5425(_0x275b1f(_0x41d493,_0x38d393?_0x3cde('0x31'):_0x3cde('0x17')));}}});}}
23
+ const _0x4f67=['writer','registerCustomCallback','ck-suggestion-marker--active','registerDescriptionCallback','FORMAT_REGULAR_COLUMN','toViewElement','createTableWalker','removeMarker:suggestion','editor','getCellLocation','ck-suggestion-marker-','forceValue','setAttribute','accept','markerRange','get','consume','_descriptionFactory','*Format:*\x20%0','name','markerName','commandName','type','headingRows','parent','nodeAfter','unbindElementFromMarkerName','_enableDefaultAttributesIntegration','afterInit','headingColumns','data','plugins','registerAttributeLabel','addMarker:suggestion','FORMAT_REGULAR_ROW','_suggestionFactory','cell','removeClass','downcastDispatcher','setTableRowHeader','addClass','options','FORMAT_HEADER_COLUMN','bindElementToMarker','mapper','getSuggestion','TableEditing','consumable','start','FORMAT_HEADER_ROW','TrackChangesEditing','editing','_splitMarkerName','markerNameToElements','TableUtils','_handleLegacySuggestions','includes','highest','requires','locale','setTableColumnHeader','formatBlock'];(function(_0x428293,_0x4f67b7){const _0x2b63d7=function(_0x58f1a1){while(--_0x58f1a1){_0x428293['push'](_0x428293['shift']());}};_0x2b63d7(++_0x4f67b7);}(_0x4f67,0x17b));const _0x2b63=function(_0x428293,_0x4f67b7){_0x428293=_0x428293-0x0;let _0x2b63d7=_0x4f67[_0x428293];return _0x2b63d7;};import{Plugin as _0x105667}from'ckeditor5/src/core';import _0x1b8d5b from'./table';import{getTranslation as _0x562606}from'../utils/common-translations';export default class St extends _0x105667{static get[_0x2b63('0x33')](){return[_0x1b8d5b];}[_0x2b63('0x15')](){const _0x45c894=this[_0x2b63('0x1')];if(!_0x45c894[_0x2b63('0x18')]['has'](_0x2b63('0x27')))return;const _0x329b27=_0x45c894[_0x2b63('0x34')],_0x2f5074=_0x45c894[_0x2b63('0x18')][_0x2b63('0x8')]('TrackChangesEditing');_0x2f5074[_0x2b63('0x14')](_0x2b63('0x20'),[],[_0x2b63('0x10')]),_0x2f5074[_0x2b63('0x14')](_0x2b63('0x35'),[],[_0x2b63('0x16')]),_0x2f5074[_0x2b63('0xa')][_0x2b63('0x19')](_0x2b63('0x10'),_0x562606(_0x329b27,_0x2b63('0x2a'))),_0x2f5074[_0x2b63('0xa')][_0x2b63('0x19')](_0x2b63('0x16'),_0x562606(_0x329b27,_0x2b63('0x23'))),this['_handleLegacySuggestions']();}[_0x2b63('0x30')](){const _0x29bcc1=this[_0x2b63('0x1')]['plugins'][_0x2b63('0x8')]('TrackChangesEditing'),_0x3ad445=this[_0x2b63('0x1')][_0x2b63('0x18')][_0x2b63('0x8')](_0x2b63('0x2f')),_0x20328a=this[_0x2b63('0x1')]['plugins']['get'](_0x1b8d5b)['_acceptFormatSuggestionCallbackFactory']();function _0x188237({showActiveMarker:_0x6e0a91=!0x0,setDataAttribute:_0x5173bd=!0x0}={}){return(_0x54541c,_0xa12b2b,_0xe4b7f3)=>{const {type:_0xe9c511,id:_0x2da383}=_0x29bcc1[_0x2b63('0x2d')](_0xa12b2b[_0x2b63('0xd')]),_0x1caa94=_0x29bcc1[_0x2b63('0x26')](_0x2da383),_0x4942bb=_0x1caa94[_0x2b63('0x17')];if(_0x2b63('0x36')!=_0x1caa94[_0x2b63('0xf')]||!_0x4942bb||'setTableColumnHeader'!=_0x4942bb[_0x2b63('0xe')])return;if(_0xa12b2b['item'])return void _0x54541c['stop']();if(!_0xe4b7f3[_0x2b63('0x28')][_0x2b63('0x9')](_0xa12b2b[_0x2b63('0x7')],_0x54541c[_0x2b63('0xc')]))return;const _0x56dac0=_0xa12b2b[_0x2b63('0x7')][_0x2b63('0x29')][_0x2b63('0x12')],_0x22dd65=_0xa12b2b[_0x2b63('0x7')]['end']['nodeBefore'],_0x476583=_0x56dac0[_0x2b63('0x11')][_0x2b63('0x11')],{column:_0x18aaf7}=_0x3ad445[_0x2b63('0x2')](_0x56dac0),{column:_0x100da5}=_0x3ad445['getCellLocation'](_0x22dd65);for(let _0x25ea4f=_0x18aaf7;_0x25ea4f<=_0x100da5;_0x25ea4f++){const _0x19e7b6=_0x3ad445[_0x2b63('0x3d')](_0x476583,{'column':_0x25ea4f,'includeAllSlots':!0x1});for(const _0x45cd5b of _0x19e7b6){const _0x5768a5=_0x45cd5b[_0x2b63('0x1d')],_0x4248ea=_0xe4b7f3[_0x2b63('0x25')][_0x2b63('0x3c')](_0x5768a5);_0xe4b7f3[_0x2b63('0x37')][_0x2b63('0x21')](_0x2b63('0x3')+_0xe9c511,_0x4248ea),_0x5173bd&&_0xe4b7f3[_0x2b63('0x37')][_0x2b63('0x5')]('data-suggestion',_0x2da383,_0x4248ea),_0xe4b7f3[_0x2b63('0x25')][_0x2b63('0x24')](_0x4248ea,_0xa12b2b[_0x2b63('0xd')]),_0x6e0a91&&(_0x29bcc1['activeMarkers'][_0x2b63('0x31')](_0xa12b2b['markerName'])?_0xe4b7f3['writer'][_0x2b63('0x21')](_0x2b63('0x39'),_0x4248ea):_0xe4b7f3[_0x2b63('0x37')][_0x2b63('0x1e')](_0x2b63('0x39'),_0x4248ea));}}};}_0x29bcc1[_0x2b63('0x1c')][_0x2b63('0x38')](_0x2b63('0x36'),_0x2b63('0x20'),'accept',_0x20328a),_0x29bcc1[_0x2b63('0x1c')]['registerCustomCallback'](_0x2b63('0x36'),'setTableColumnHeader',_0x2b63('0x6'),_0x20328a),this['editor'][_0x2b63('0x2c')][_0x2b63('0x1f')]['on'](_0x2b63('0x1a'),_0x188237(),{'priority':_0x2b63('0x32')}),this[_0x2b63('0x1')][_0x2b63('0x17')][_0x2b63('0x1f')]['on'](_0x2b63('0x1a'),(_0x5d9ade,_0x25b28c,_0x408f56)=>{_0x408f56[_0x2b63('0x22')]['showSuggestionHighlights']&&_0x188237({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x5d9ade,_0x25b28c,_0x408f56);},{'priority':'highest'}),this['editor'][_0x2b63('0x2c')]['downcastDispatcher']['on'](_0x2b63('0x0'),(_0x2f2afb,_0x122371,_0x3f1501)=>{const {type:_0xf18a01,id:_0x3085ed}=_0x29bcc1[_0x2b63('0x2d')](_0x122371[_0x2b63('0xd')]),_0x1ab906=_0x29bcc1['getSuggestion'](_0x3085ed),_0x2193e4=_0x1ab906[_0x2b63('0x17')];if(_0x2b63('0x36')!=_0x1ab906[_0x2b63('0xf')]||!_0x2193e4||_0x2b63('0x35')!=_0x2193e4[_0x2b63('0xe')])return;const _0x579303=_0x3f1501[_0x2b63('0x25')][_0x2b63('0x2e')](_0x122371[_0x2b63('0xd')]);if(_0x579303)for(const _0x33cff3 of _0x579303)_0x3f1501[_0x2b63('0x37')]['removeClass'](_0x2b63('0x3')+_0xf18a01,_0x33cff3),_0x3f1501[_0x2b63('0x37')][_0x2b63('0x1e')](_0x2b63('0x39'),_0x33cff3),_0x3f1501['writer']['removeAttribute']('data-suggestion',_0x33cff3),_0x3f1501[_0x2b63('0x25')][_0x2b63('0x13')](_0x33cff3,_0x122371[_0x2b63('0xd')]);},{'priority':'highest'}),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x10686f=this[_0x2b63('0x1')],_0x50ffc1=_0x10686f[_0x2b63('0x34')];function _0xc4fb33(_0x3c3708){return{'type':'format','content':_0x562606(_0x50ffc1,_0x2b63('0xb'),_0x3c3708)};}_0x10686f[_0x2b63('0x18')][_0x2b63('0x8')](_0x2b63('0x2b'))[_0x2b63('0xa')][_0x2b63('0x3a')](_0x39b94e=>{if(_0x2b63('0x36')!=_0x39b94e[_0x2b63('0xf')])return;const {data:_0x65b362}=_0x39b94e;if(_0x65b362){if(_0x2b63('0x20')==_0x65b362[_0x2b63('0xe')]){const _0x1695e6=_0x65b362['commandParams'][0x0][_0x2b63('0x4')];return _0xc4fb33(_0x562606(_0x50ffc1,_0x1695e6?_0x2b63('0x2a'):_0x2b63('0x1b')));}if(_0x2b63('0x35')==_0x65b362[_0x2b63('0xe')]){const _0x527ddc=_0x65b362['commandParams'][0x0][_0x2b63('0x4')];return _0xc4fb33(_0x562606(_0x50ffc1,_0x527ddc?_0x2b63('0x23'):_0x2b63('0x3b')));}}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4038=['getAncestors','_tablePostFixingSubtypes','editor','from','push','setSelection','format','trackChanges','deletion','markBlockFormat','type','mergeTableCellLeft','add','map','createRangeOn','getSuggestions','model','findAncestor','element','commands','execute','size','getFirstPosition','mergeTableCellRight','stop','_areSelectedCellsMergable','length','accept','splitTableCellVertically','value','low','highest','rootName','horizontally','createTableWalker','fromRange','plugins','return','TrackChangesEditing','_descriptionFactory','formatBlock','subType','*Split\x20cell:*\x20vertically','_areMergableCells','selection','_acceptFormatSuggestionCallbackFactory','_isForcedDefaultExecutionBlock','mergeTableCells','registerCustomCallback','*Split\x20cell:*\x20horizontally','insertion','filter','markMultiRangeBlockFormat','enableCommand','*Merge\x20cells*','get','mergeTableCellDown','refresh','change','tableCell','formatInline','cell','TableEditing','detach','getSelectionAffectedTableCells','TableUtils','isInContent','locale','containsRange','registerDescriptionCallback','commandName','splitTableCellHorizontally','root','has','getRanges','mergeTableCellUp','$graveyard','table','document','_suggestionFactory','author','find'];(function(_0x5f938b,_0x4038a5){const _0x184eb2=function(_0x3cb905){while(--_0x3cb905){_0x5f938b['push'](_0x5f938b['shift']());}};_0x184eb2(++_0x4038a5);}(_0x4038,0x7d));const _0x184e=function(_0x5f938b,_0x4038a5){_0x5f938b=_0x5f938b-0x0;let _0x184eb2=_0x4038[_0x5f938b];return _0x184eb2;};import{Plugin as _0x2ec216}from'ckeditor5/src/core';import _0x3e08a3 from'./table';import{LiveRange as _0x2134be}from'ckeditor5/src/engine';import{getTranslation as _0x1d20bb}from'../utils/common-translations';export default class yt extends _0x2ec216{static get['requires'](){return[_0x3e08a3];}['afterInit'](){const _0x196454=this[_0x184e('0x29')],_0x12f6db=_0x196454[_0x184e('0x37')]['document']['selection'],_0x423b4f=_0x196454[_0x184e('0x18')];if(!_0x196454[_0x184e('0x4b')][_0x184e('0x1e')](_0x184e('0x13')))return;const _0x462b47=_0x196454[_0x184e('0x4b')][_0x184e('0xc')](_0x184e('0x4d')),_0x2f6ca8=_0x196454[_0x184e('0x4b')][_0x184e('0xc')](_0x184e('0x16')),_0x333eeb=_0x196454[_0x184e('0x4b')][_0x184e('0xc')](_0x3e08a3);_0x333eeb[_0x184e('0x28')][_0x184e('0x2b')]('mergeTableCells'),_0x462b47['enableCommand'](_0x184e('0x4'),()=>{const _0x229c0f=_0x2f6ca8['getSelectionAffectedTableCells'](_0x196454[_0x184e('0x37')][_0x184e('0x23')][_0x184e('0x1')]);_0x196454[_0x184e('0x37')][_0x184e('0xf')](()=>{_0x462b47[_0x184e('0x9')](_0x229c0f,{'commandName':_0x184e('0x4'),'commandParams':[]},[],'mergeTableCells');});}),_0x196454[_0x184e('0x3a')][_0x184e('0xc')]('mergeTableCells')['on']('execute',(_0x1b2e61,_0x4eab2a)=>{_0x196454[_0x184e('0x3a')][_0x184e('0xc')](_0x184e('0x2e'))['value']&&(_0x4eab2a[_0x184e('0x41')]>0x0&&_0x4eab2a[_0x4eab2a[_0x184e('0x41')]-0x1]&&_0x4eab2a[_0x4eab2a[_0x184e('0x41')]-0x1]['forceDefaultExecution']||_0x462b47[_0x184e('0x3')]||this['_areSelectedCellsMergable']()||_0x1b2e61[_0x184e('0x3f')]());},{'priority':_0x184e('0x46')});for(const _0x611bfd of[_0x184e('0x20'),_0x184e('0x3e'),_0x184e('0xd'),_0x184e('0x32')]){const _0x3748b6=_0x196454[_0x184e('0x3a')]['get'](_0x611bfd);_0x462b47[_0x184e('0xa')](_0x611bfd,()=>{const _0x3acc76=_0x196454[_0x184e('0x37')][_0x184e('0x23')]['selection'][_0x184e('0x3d')]()[_0x184e('0x27')]()[_0x184e('0x26')](_0x43bd5a=>_0x43bd5a['is'](_0x184e('0x39'),_0x184e('0x10'))),_0x2a393a=_0x3748b6[_0x184e('0x44')];_0x196454[_0x184e('0x37')][_0x184e('0xf')](()=>{_0x462b47[_0x184e('0x9')]([_0x3acc76,_0x2a393a],{'commandName':'mergeTableCells','commandParams':[]},[],_0x184e('0x4'));});});}for(const _0x4a9e57 of[_0x184e('0x43'),_0x184e('0x1c')]){const _0x1e21a4=_0x196454[_0x184e('0x3a')][_0x184e('0xc')](_0x4a9e57);_0x462b47[_0x184e('0xa')](_0x4a9e57,()=>{const _0x59d9a7=_0x2f6ca8[_0x184e('0x15')](_0x196454[_0x184e('0x37')][_0x184e('0x23')][_0x184e('0x1')])[0x0],_0x2d62bd=_0x59d9a7[_0x184e('0x38')](_0x184e('0x22')),{column:_0x45104b,row:_0x5e6322}=_0x2f6ca8['getCellLocation'](_0x59d9a7);let _0x3e36d6=[];if(_0x184e('0x48')==_0x1e21a4['direction']){const _0x388e64=_0x2f6ca8[_0x184e('0x49')](_0x2d62bd,{'startRow':_0x5e6322,'endRow':_0x5e6322,'includeAllSlots':!0x0});_0x3e36d6=Array['from'](_0x388e64)['map'](_0x41c314=>_0x41c314[_0x184e('0x12')]);}else{const _0x5690a7=_0x2f6ca8[_0x184e('0x49')](_0x2d62bd,{'column':_0x45104b,'includeAllSlots':!0x0});_0x3e36d6=Array['from'](_0x5690a7)['map'](_0x357fa4=>_0x357fa4[_0x184e('0x12')]);}_0x196454[_0x184e('0x37')]['change'](_0xc7b075=>{_0x462b47[_0x184e('0x30')](_0xc7b075[_0x184e('0x35')](_0x59d9a7),{'commandName':_0x4a9e57,'commandParams':[]},_0x3e36d6,_0x4a9e57);});});}_0x462b47['_descriptionFactory'][_0x184e('0x1a')](_0x892d86=>{if(_0x184e('0x4f')!=_0x892d86[_0x184e('0x31')]&&_0x184e('0x11')!=_0x892d86['type'])return;const {data:_0x340a3d}=_0x892d86;return _0x340a3d&&'mergeTableCells'==_0x340a3d[_0x184e('0x1b')]?{'type':_0x184e('0x2d'),'content':_0x1d20bb(_0x423b4f,_0x184e('0xb'))}:void 0x0;}),_0x462b47[_0x184e('0x4e')][_0x184e('0x1a')](_0x2b70c6=>{if(_0x184e('0x4f')!=_0x2b70c6[_0x184e('0x31')]&&_0x184e('0x11')!=_0x2b70c6[_0x184e('0x31')])return;const {data:_0x23919d}=_0x2b70c6;return _0x23919d?_0x184e('0x43')==_0x23919d[_0x184e('0x1b')]?{'type':_0x184e('0x2d'),'content':_0x1d20bb(_0x423b4f,_0x184e('0x51'))}:_0x184e('0x1c')==_0x23919d[_0x184e('0x1b')]?{'type':_0x184e('0x2d'),'content':_0x1d20bb(_0x423b4f,_0x184e('0x6'))}:void 0x0:void 0x0;});const _0x2d614e=_0x333eeb[_0x184e('0x2')]();for(const _0x413b96 of[_0x184e('0x20'),_0x184e('0x3e'),_0x184e('0xd'),'mergeTableCellLeft'])_0x462b47[_0x184e('0x24')]['registerCustomCallback']('formatBlock',_0x413b96,_0x184e('0x42'),_0x2d614e);for(const _0x25b2c5 of['splitTableCellVertically',_0x184e('0x1c')])_0x462b47[_0x184e('0x24')]['registerCustomCallback'](_0x184e('0x4f'),_0x25b2c5,'accept',_0x2d614e);_0x462b47[_0x184e('0x24')][_0x184e('0x5')](_0x184e('0x4f'),_0x184e('0x4'),_0x184e('0x42'),_0x11b2a9=>{_0x196454[_0x184e('0x37')][_0x184e('0xf')](_0x295d03=>{const _0x5d92b5=Array[_0x184e('0x2a')](_0x12f6db[_0x184e('0x1f')]())[_0x184e('0x34')](_0x258eee=>_0x2134be[_0x184e('0x4a')](_0x258eee));_0x295d03[_0x184e('0x2c')](_0x11b2a9),_0x196454[_0x184e('0x3a')]['get'](_0x184e('0x4'))[_0x184e('0xe')](),_0x196454[_0x184e('0x3b')](_0x184e('0x4'),{'forceDefaultExecution':!0x0});const _0x8c435b=_0x5d92b5[_0x184e('0x8')](_0xa56203=>_0x184e('0x21')!=_0xa56203[_0x184e('0x1d')][_0x184e('0x47')]);_0x8c435b[_0x184e('0x41')]>0x0&&_0x295d03[_0x184e('0x2c')](_0x8c435b);for(const _0x1c139b of _0x5d92b5)_0x1c139b[_0x184e('0x14')]();});});for(const _0x23bea8 of['mergeTableCellUp',_0x184e('0xd'),_0x184e('0x32'),_0x184e('0x3e')]){const _0x2bf8c3=_0x196454[_0x184e('0x3a')][_0x184e('0xc')](_0x23bea8);_0x2bf8c3['on']('set:isEnabled',(_0x325102,_0x265130,_0x503cd6)=>{if(_0x503cd6){const _0x2be10e=_0x196454[_0x184e('0x37')][_0x184e('0x23')][_0x184e('0x1')][_0x184e('0x3d')]()[_0x184e('0x27')]()['find'](_0x100e26=>_0x100e26['is']('element',_0x184e('0x10')));this[_0x184e('0x0')](_0x2bf8c3[_0x184e('0x44')],_0x2be10e)||(_0x325102[_0x184e('0x4c')]=!0x1,_0x325102[_0x184e('0x3f')]());}},{'priority':_0x184e('0x45')});}}[_0x184e('0x40')](){const _0x8e8fd0=this[_0x184e('0x29')][_0x184e('0x3a')][_0x184e('0xc')]('mergeTableCells'),_0xe0552b=this[_0x184e('0x29')]['plugins'][_0x184e('0xc')](_0x184e('0x16'));if(!_0x8e8fd0['isEnabled'])return!0x1;const _0x5d1e90=_0xe0552b['getSelectionAffectedTableCells'](this[_0x184e('0x29')][_0x184e('0x37')][_0x184e('0x23')]['selection']);for(const _0x1b6fc1 of _0x5d1e90)for(const _0xe519e of _0x5d1e90)if(_0x1b6fc1!=_0xe519e&&!this[_0x184e('0x0')](_0x1b6fc1,_0xe519e))return!0x1;return!0x0;}[_0x184e('0x0')](_0x192ab6,_0x5733a9){const _0x72bc89=this[_0x184e('0x29')][_0x184e('0x4b')]['get'](_0x184e('0x4d')),_0x120b27=this[_0x184e('0x29')]['model'][_0x184e('0x35')](_0x192ab6),_0x425d9f=this[_0x184e('0x29')]['model'][_0x184e('0x35')](_0x5733a9),_0x35c7bc=new Set(),_0x2cfa57=new Set();for(const _0x1d1aec of _0x72bc89[_0x184e('0x36')]())if((_0x184e('0x7')==_0x1d1aec[_0x184e('0x31')]||_0x184e('0x2f')==_0x1d1aec[_0x184e('0x31')]||_0x184e('0x4')==_0x1d1aec[_0x184e('0x50')])&&_0x1d1aec[_0x184e('0x17')])for(const _0x18f5c0 of _0x1d1aec[_0x184e('0x1f')]())_0x18f5c0[_0x184e('0x19')](_0x120b27,!0x0)&&_0x35c7bc[_0x184e('0x33')](_0x1d1aec['type']+':'+_0x1d1aec[_0x184e('0x25')]['id']),_0x18f5c0['containsRange'](_0x425d9f,!0x0)&&_0x2cfa57[_0x184e('0x33')](_0x1d1aec[_0x184e('0x31')]+':'+_0x1d1aec['author']['id']);if(_0x35c7bc[_0x184e('0x3c')]!=_0x2cfa57[_0x184e('0x3c')])return!0x1;for(const _0x448744 of _0x35c7bc)if(!_0x2cfa57[_0x184e('0x1e')](_0x448744))return!0x1;return!0x0;}}
23
+ const _0xd5a9=['add','stop','low','getSuggestions','accept','getFirstPosition','getCellLocation','isEnabled','refresh','return','model','type','isInContent','selection','afterInit','mergeTableCellDown','get','execute','insertion','map','_tablePostFixingSubtypes','TableUtils','subType','rootName','detach','formatInline','markMultiRangeBlockFormat','$graveyard','highest','createRangeOn','format','tableCell','length','markBlockFormat','getSelectionAffectedTableCells','set:isEnabled','setSelection','_areMergableCells','from','mergeTableCellRight','getAncestors','registerDescriptionCallback','_areSelectedCellsMergable','TrackChangesEditing','value','commands','find','author','direction','cell','plugins','findAncestor','splitTableCellVertically','trackChanges','mergeTableCellLeft','*Split\x20cell:*\x20vertically','editor','change','push','formatBlock','table','getRanges','requires','element','mergeTableCellUp','mergeTableCells','registerCustomCallback','_descriptionFactory','document','containsRange','_acceptFormatSuggestionCallbackFactory','size','enableCommand','commandName','*Merge\x20cells*','createTableWalker','splitTableCellHorizontally','_suggestionFactory','fromRange','TableEditing'];(function(_0x11a6fd,_0xd5a9b1){const _0x5be758=function(_0x32a021){while(--_0x32a021){_0x11a6fd['push'](_0x11a6fd['shift']());}};_0x5be758(++_0xd5a9b1);}(_0xd5a9,0xae));const _0x5be7=function(_0x11a6fd,_0xd5a9b1){_0x11a6fd=_0x11a6fd-0x0;let _0x5be758=_0xd5a9[_0x11a6fd];return _0x5be758;};import{Plugin as _0x289fc3}from'ckeditor5/src/core';import _0x2f5fde from'./table';import{LiveRange as _0x436bb2}from'ckeditor5/src/engine';import{getTranslation as _0x4de55b}from'../utils/common-translations';export default class yt extends _0x289fc3{static get[_0x5be7('0x30')](){return[_0x2f5fde];}[_0x5be7('0x0')](){const _0x1c1126=this[_0x5be7('0x2a')],_0x52b138=_0x1c1126[_0x5be7('0x4c')][_0x5be7('0x36')][_0x5be7('0x4f')],_0x544bef=_0x1c1126['locale'];if(!_0x1c1126[_0x5be7('0x24')]['has'](_0x5be7('0x41')))return;const _0x203099=_0x1c1126[_0x5be7('0x24')][_0x5be7('0x2')](_0x5be7('0x1d')),_0x112c18=_0x1c1126[_0x5be7('0x24')][_0x5be7('0x2')](_0x5be7('0x7')),_0x14c60c=_0x1c1126[_0x5be7('0x24')][_0x5be7('0x2')](_0x2f5fde);_0x14c60c[_0x5be7('0x6')][_0x5be7('0x2c')](_0x5be7('0x33')),_0x203099[_0x5be7('0x3a')](_0x5be7('0x33'),()=>{const _0x2aa492=_0x112c18['getSelectionAffectedTableCells'](_0x1c1126['model'][_0x5be7('0x36')]['selection']);_0x1c1126['model']['change'](()=>{_0x203099[_0x5be7('0xc')](_0x2aa492,{'commandName':_0x5be7('0x33'),'commandParams':[]},[],'mergeTableCells');});}),_0x1c1126['commands']['get'](_0x5be7('0x33'))['on'](_0x5be7('0x3'),(_0xc049ee,_0x20ebe0)=>{_0x1c1126['commands']['get'](_0x5be7('0x27'))['value']&&(_0x20ebe0[_0x5be7('0x12')]>0x0&&_0x20ebe0[_0x20ebe0[_0x5be7('0x12')]-0x1]&&_0x20ebe0[_0x20ebe0[_0x5be7('0x12')]-0x1]['forceDefaultExecution']||_0x203099['_isForcedDefaultExecutionBlock']||this[_0x5be7('0x1c')]()||_0xc049ee[_0x5be7('0x43')]());},{'priority':_0x5be7('0xe')});for(const _0x29a590 of[_0x5be7('0x32'),_0x5be7('0x19'),'mergeTableCellDown','mergeTableCellLeft']){const _0x3ed0ee=_0x1c1126[_0x5be7('0x1f')]['get'](_0x29a590);_0x203099[_0x5be7('0x3a')](_0x29a590,()=>{const _0x544582=_0x1c1126['model']['document']['selection']['getFirstPosition']()[_0x5be7('0x1a')]()[_0x5be7('0x20')](_0x55047b=>_0x55047b['is'](_0x5be7('0x31'),_0x5be7('0x11'))),_0xe89972=_0x3ed0ee[_0x5be7('0x1e')];_0x1c1126[_0x5be7('0x4c')]['change'](()=>{_0x203099[_0x5be7('0xc')]([_0x544582,_0xe89972],{'commandName':_0x5be7('0x33'),'commandParams':[]},[],_0x5be7('0x33'));});});}for(const _0x1c383c of['splitTableCellVertically',_0x5be7('0x3e')]){const _0x42d1e7=_0x1c1126[_0x5be7('0x1f')][_0x5be7('0x2')](_0x1c383c);_0x203099[_0x5be7('0x3a')](_0x1c383c,()=>{const _0x418d3e=_0x112c18[_0x5be7('0x14')](_0x1c1126[_0x5be7('0x4c')]['document'][_0x5be7('0x4f')])[0x0],_0x323a73=_0x418d3e[_0x5be7('0x25')](_0x5be7('0x2e')),{column:_0x1528e6,row:_0x3f7cad}=_0x112c18[_0x5be7('0x48')](_0x418d3e);let _0x450e9c=[];if('horizontally'==_0x42d1e7[_0x5be7('0x22')]){const _0x5dc1c9=_0x112c18[_0x5be7('0x3d')](_0x323a73,{'startRow':_0x3f7cad,'endRow':_0x3f7cad,'includeAllSlots':!0x0});_0x450e9c=Array['from'](_0x5dc1c9)['map'](_0x11a89f=>_0x11a89f[_0x5be7('0x23')]);}else{const _0x1d70f1=_0x112c18['createTableWalker'](_0x323a73,{'column':_0x1528e6,'includeAllSlots':!0x0});_0x450e9c=Array[_0x5be7('0x18')](_0x1d70f1)[_0x5be7('0x5')](_0x43b79d=>_0x43b79d[_0x5be7('0x23')]);}_0x1c1126[_0x5be7('0x4c')][_0x5be7('0x2b')](_0xd7a5b2=>{_0x203099[_0x5be7('0x13')](_0xd7a5b2[_0x5be7('0xf')](_0x418d3e),{'commandName':_0x1c383c,'commandParams':[]},_0x450e9c,_0x1c383c);});});}_0x203099[_0x5be7('0x35')][_0x5be7('0x1b')](_0x380ddb=>{if(_0x5be7('0x2d')!=_0x380ddb[_0x5be7('0x4d')]&&_0x5be7('0xb')!=_0x380ddb[_0x5be7('0x4d')])return;const {data:_0x5738d9}=_0x380ddb;return _0x5738d9&&_0x5be7('0x33')==_0x5738d9[_0x5be7('0x3b')]?{'type':'format','content':_0x4de55b(_0x544bef,_0x5be7('0x3c'))}:void 0x0;}),_0x203099['_descriptionFactory']['registerDescriptionCallback'](_0x17db1f=>{if('formatBlock'!=_0x17db1f[_0x5be7('0x4d')]&&_0x5be7('0xb')!=_0x17db1f[_0x5be7('0x4d')])return;const {data:_0x358b2a}=_0x17db1f;return _0x358b2a?_0x5be7('0x26')==_0x358b2a['commandName']?{'type':'format','content':_0x4de55b(_0x544bef,_0x5be7('0x29'))}:_0x5be7('0x3e')==_0x358b2a[_0x5be7('0x3b')]?{'type':_0x5be7('0x10'),'content':_0x4de55b(_0x544bef,'*Split\x20cell:*\x20horizontally')}:void 0x0:void 0x0;});const _0x205f90=_0x14c60c[_0x5be7('0x38')]();for(const _0x399939 of[_0x5be7('0x32'),_0x5be7('0x19'),_0x5be7('0x1'),_0x5be7('0x28')])_0x203099[_0x5be7('0x3f')][_0x5be7('0x34')](_0x5be7('0x2d'),_0x399939,'accept',_0x205f90);for(const _0x5206f3 of['splitTableCellVertically',_0x5be7('0x3e')])_0x203099[_0x5be7('0x3f')][_0x5be7('0x34')]('formatBlock',_0x5206f3,_0x5be7('0x46'),_0x205f90);_0x203099[_0x5be7('0x3f')][_0x5be7('0x34')](_0x5be7('0x2d'),_0x5be7('0x33'),_0x5be7('0x46'),_0x1cd749=>{_0x1c1126[_0x5be7('0x4c')][_0x5be7('0x2b')](_0x5d222d=>{const _0x9db23e=Array[_0x5be7('0x18')](_0x52b138[_0x5be7('0x2f')]())[_0x5be7('0x5')](_0x357598=>_0x436bb2[_0x5be7('0x40')](_0x357598));_0x5d222d[_0x5be7('0x16')](_0x1cd749),_0x1c1126[_0x5be7('0x1f')]['get'](_0x5be7('0x33'))[_0x5be7('0x4a')](),_0x1c1126[_0x5be7('0x3')]('mergeTableCells',{'forceDefaultExecution':!0x0});const _0x38da69=_0x9db23e['filter'](_0x541b3c=>_0x5be7('0xd')!=_0x541b3c['root'][_0x5be7('0x9')]);_0x38da69[_0x5be7('0x12')]>0x0&&_0x5d222d[_0x5be7('0x16')](_0x38da69);for(const _0x192355 of _0x9db23e)_0x192355[_0x5be7('0xa')]();});});for(const _0x46d0ec of[_0x5be7('0x32'),_0x5be7('0x1'),'mergeTableCellLeft',_0x5be7('0x19')]){const _0x28ad3e=_0x1c1126[_0x5be7('0x1f')][_0x5be7('0x2')](_0x46d0ec);_0x28ad3e['on'](_0x5be7('0x15'),(_0x53e7f3,_0x1a5206,_0x1685c5)=>{if(_0x1685c5){const _0x410e17=_0x1c1126[_0x5be7('0x4c')][_0x5be7('0x36')][_0x5be7('0x4f')][_0x5be7('0x47')]()[_0x5be7('0x1a')]()[_0x5be7('0x20')](_0x2db2bb=>_0x2db2bb['is'](_0x5be7('0x31'),_0x5be7('0x11')));this['_areMergableCells'](_0x28ad3e[_0x5be7('0x1e')],_0x410e17)||(_0x53e7f3[_0x5be7('0x4b')]=!0x1,_0x53e7f3[_0x5be7('0x43')]());}},{'priority':_0x5be7('0x44')});}}[_0x5be7('0x1c')](){const _0x2f37eb=this['editor'][_0x5be7('0x1f')]['get'](_0x5be7('0x33')),_0x23379e=this[_0x5be7('0x2a')][_0x5be7('0x24')][_0x5be7('0x2')]('TableUtils');if(!_0x2f37eb[_0x5be7('0x49')])return!0x1;const _0x49f548=_0x23379e['getSelectionAffectedTableCells'](this[_0x5be7('0x2a')][_0x5be7('0x4c')]['document'][_0x5be7('0x4f')]);for(const _0x15feab of _0x49f548)for(const _0x81b20d of _0x49f548)if(_0x15feab!=_0x81b20d&&!this[_0x5be7('0x17')](_0x15feab,_0x81b20d))return!0x1;return!0x0;}['_areMergableCells'](_0x54cf5f,_0x1ef7a7){const _0x5018d3=this['editor'][_0x5be7('0x24')][_0x5be7('0x2')](_0x5be7('0x1d')),_0x8bc151=this[_0x5be7('0x2a')]['model'][_0x5be7('0xf')](_0x54cf5f),_0x4e78fe=this['editor'][_0x5be7('0x4c')][_0x5be7('0xf')](_0x1ef7a7),_0x268f5d=new Set(),_0x58732b=new Set();for(const _0x5d5e18 of _0x5018d3[_0x5be7('0x45')]())if((_0x5be7('0x4')==_0x5d5e18[_0x5be7('0x4d')]||'deletion'==_0x5d5e18['type']||_0x5be7('0x33')==_0x5d5e18[_0x5be7('0x8')])&&_0x5d5e18[_0x5be7('0x4e')])for(const _0x21f83f of _0x5d5e18['getRanges']())_0x21f83f[_0x5be7('0x37')](_0x8bc151,!0x0)&&_0x268f5d[_0x5be7('0x42')](_0x5d5e18[_0x5be7('0x4d')]+':'+_0x5d5e18[_0x5be7('0x21')]['id']),_0x21f83f['containsRange'](_0x4e78fe,!0x0)&&_0x58732b[_0x5be7('0x42')](_0x5d5e18[_0x5be7('0x4d')]+':'+_0x5d5e18[_0x5be7('0x21')]['id']);if(_0x268f5d[_0x5be7('0x39')]!=_0x58732b[_0x5be7('0x39')])return!0x1;for(const _0x1bb4f9 of _0x268f5d)if(!_0x58732b['has'](_0x1bb4f9))return!0x1;return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x14d7=['commands','_descriptionFactory','plugins','registerElementLabel','enableCommand','locale','editor','get','insertTableOfContents','TrackChangesEditing'];(function(_0x4f1ad6,_0x14d7dc){const _0x2f99c5=function(_0x240f10){while(--_0x240f10){_0x4f1ad6['push'](_0x4f1ad6['shift']());}};_0x2f99c5(++_0x14d7dc);}(_0x14d7,0x1b0));const _0x2f99=function(_0x4f1ad6,_0x14d7dc){_0x4f1ad6=_0x4f1ad6-0x0;let _0x2f99c5=_0x14d7[_0x4f1ad6];return _0x2f99c5;};import{Plugin as _0x2f5db6}from'ckeditor5/src/core';import{getTranslation as _0x4fee54}from'../utils/common-translations';export default class _t extends _0x2f5db6{['afterInit'](){const _0xbc24ee=this[_0x2f99('0x4')];if(!_0xbc24ee[_0x2f99('0x8')]['get'](_0x2f99('0x6')))return;_0xbc24ee[_0x2f99('0x0')][_0x2f99('0x5')](_0x2f99('0x7'))[_0x2f99('0x2')](_0x2f99('0x6'));const _0x54ea20=_0xbc24ee[_0x2f99('0x0')]['get']('TrackChangesEditing'),_0x36cd55=_0xbc24ee[_0x2f99('0x3')];_0x54ea20[_0x2f99('0x9')][_0x2f99('0x1')]('tableOfContents',_0x4953bb=>_0x4fee54(_0x36cd55,'ELEMENT_TABLE_OF_CONTENTS',_0x4953bb));}}
23
+ const _0x5e83=['insertTableOfContents','TrackChangesEditing','get','enableCommand','plugins','tableOfContents','afterInit','editor','registerElementLabel','ELEMENT_TABLE_OF_CONTENTS','locale'];(function(_0x1e35ea,_0x5e8359){const _0x41fbe8=function(_0x2ea19b){while(--_0x2ea19b){_0x1e35ea['push'](_0x1e35ea['shift']());}};_0x41fbe8(++_0x5e8359);}(_0x5e83,0xe3));const _0x41fb=function(_0x1e35ea,_0x5e8359){_0x1e35ea=_0x1e35ea-0x0;let _0x41fbe8=_0x5e83[_0x1e35ea];return _0x41fbe8;};import{Plugin as _0x2b081a}from'ckeditor5/src/core';import{getTranslation as _0x406117}from'../utils/common-translations';export default class _t extends _0x2b081a{[_0x41fb('0xa')](){const _0x219884=this[_0x41fb('0x0')];if(!_0x219884['commands'][_0x41fb('0x6')](_0x41fb('0x4')))return;_0x219884[_0x41fb('0x8')][_0x41fb('0x6')](_0x41fb('0x5'))[_0x41fb('0x7')]('insertTableOfContents');const _0x9c66cd=_0x219884[_0x41fb('0x8')][_0x41fb('0x6')]('TrackChangesEditing'),_0x12b1c7=_0x219884[_0x41fb('0x3')];_0x9c66cd['_descriptionFactory'][_0x41fb('0x1')](_0x41fb('0x9'),_0x589b40=>_0x406117(_0x12b1c7,_0x41fb('0x2'),_0x589b40));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2512=['tableCellBorderColor','table','accept','tableBorderColor','get','_handlePropertyChange','selection','document','setAttribute','model','enqueueChange','tableWidth','subType','formatBlock','getSuggestions','_suggestionFactory','format','_descriptionFactory','afterInit','start','tableAlignment','tableBackgroundColor','discard','pluginName','nodeAfter','tableCellWidth','tableCellHorizontalAlignment','tableCellBorderWidth','getSuggestionCallback','tableCellBorderStyle','handleDiscardAction','*Format:*\x20change\x20table\x20cell\x20properties','tableCellPadding','editor','removeAttribute','handleSuggestionDescription','TrackChangesEditing','tableCellVerticalAlignment','getSelectionAffectedTableCells','getFirstPosition','locale','tableProperties','findAncestor','tableBorderWidth','_getSuggestion','tableCellProperties','tableBorderStyle','tableHeight','change','TablePropertiesEditing','join','has','batch','tableCellHeight','TableCellPropertiesEditing','TrackChangesTableProperties','TableUtils','registerCustomCallback','*Format:*\x20change\x20table\x20properties','markBlockFormat','plugins','enableCommand'];(function(_0x383d90,_0x2512c2){const _0x39ed25=function(_0x19fbcc){while(--_0x19fbcc){_0x383d90['push'](_0x383d90['shift']());}};_0x39ed25(++_0x2512c2);}(_0x2512,0x150));const _0x39ed=function(_0x383d90,_0x2512c2){_0x383d90=_0x383d90-0x0;let _0x39ed25=_0x2512[_0x383d90];return _0x39ed25;};import{Plugin as _0x414265}from'ckeditor5/src/core';import{getTranslation as _0x4a4f86}from'../utils/common-translations';export default class Mt extends _0x414265{constructor(_0x59ca44){super(_0x59ca44),this[_0x39ed('0xf')]=[_0x39ed('0x27'),_0x39ed('0x14'),_0x39ed('0x11'),_0x39ed('0x38'),_0x39ed('0x2f'),_0x39ed('0x15'),_0x39ed('0x39')],this['tableCellProperties']=[_0x39ed('0x24'),_0x39ed('0x3'),_0x39ed('0x1'),_0x39ed('0x6'),_0x39ed('0x3d'),_0x39ed('0x1b'),'tableCellBackgroundColor',_0x39ed('0x0'),_0x39ed('0xb')];}static get[_0x39ed('0x3b')](){return _0x39ed('0x1d');}[_0x39ed('0x36')](){const _0x3577ed=this[_0x39ed('0x7')][_0x39ed('0x22')][_0x39ed('0x28')](_0x39ed('0xa'));if(this[_0x39ed('0x7')][_0x39ed('0x22')][_0x39ed('0x19')](_0x39ed('0x17'))){for(const _0x55a696 of this[_0x39ed('0xf')])_0x3577ed['enableCommand'](_0x55a696,(_0x28562d,_0x2da2f0)=>{const _0x2d3e36=this['editor'][_0x39ed('0x2d')][_0x39ed('0x2b')][_0x39ed('0x2a')][_0x39ed('0xd')]()[_0x39ed('0x10')](_0x39ed('0x25'));this[_0x39ed('0x29')](_0x55a696,[_0x2d3e36],this[_0x39ed('0xf')],'tableProperties',_0x28562d,_0x2da2f0);});_0x3577ed[_0x39ed('0x33')][_0x39ed('0x1f')]('formatBlock',_0x39ed('0xf'),_0x39ed('0x26'),_0x3577ed[_0x39ed('0x33')][_0x39ed('0x2')](_0x39ed('0x31'),null,_0x39ed('0x3a'))),_0x3577ed[_0x39ed('0x33')][_0x39ed('0x1f')](_0x39ed('0x31'),'tableProperties',_0x39ed('0x3a'),(_0x2623dc,_0x128989)=>this['handleDiscardAction'](this[_0x39ed('0xf')],_0x2623dc,_0x128989)),_0x3577ed[_0x39ed('0x33')][_0x39ed('0x1f')](_0x39ed('0x31'),_0x39ed('0xf'),_0x39ed('0x18'),()=>!0x1);}if(this[_0x39ed('0x7')]['plugins']['has'](_0x39ed('0x1c'))){for(const _0x443e80 of this[_0x39ed('0x13')])_0x3577ed[_0x39ed('0x23')](_0x443e80,(_0x218c1a,_0x2ff527)=>{const _0x2c4e0b=this[_0x39ed('0x7')][_0x39ed('0x22')][_0x39ed('0x28')](_0x39ed('0x1e'))[_0x39ed('0xc')](this[_0x39ed('0x7')][_0x39ed('0x2d')][_0x39ed('0x2b')][_0x39ed('0x2a')]);this[_0x39ed('0x29')](_0x443e80,_0x2c4e0b,this[_0x39ed('0x13')],'tableCellProperties',_0x218c1a,_0x2ff527);});_0x3577ed[_0x39ed('0x33')][_0x39ed('0x1f')](_0x39ed('0x31'),_0x39ed('0x13'),_0x39ed('0x26'),_0x3577ed[_0x39ed('0x33')][_0x39ed('0x2')](_0x39ed('0x31'),null,'discard')),_0x3577ed[_0x39ed('0x33')][_0x39ed('0x1f')](_0x39ed('0x31'),'tableCellProperties',_0x39ed('0x3a'),(_0x3cd60d,_0x110586)=>this[_0x39ed('0x4')](this[_0x39ed('0x13')],_0x3cd60d,_0x110586)),_0x3577ed[_0x39ed('0x33')][_0x39ed('0x1f')](_0x39ed('0x31'),_0x39ed('0x13'),_0x39ed('0x18'),()=>!0x1);}_0x3577ed[_0x39ed('0x35')]['registerDescriptionCallback'](_0x47c002=>this[_0x39ed('0x9')](_0x47c002));}['_handlePropertyChange'](_0x422312,_0x25d70f,_0x3bddc4,_0x12d24f,_0xc778e0,_0x3ddb8b){const _0x2c2178=this[_0x39ed('0x7')][_0x39ed('0x22')][_0x39ed('0x28')]('TrackChangesEditing');this['editor'][_0x39ed('0x2d')][_0x39ed('0x2e')](_0x3ddb8b[_0x39ed('0x1a')],()=>{for(const _0x1673e0 of _0x25d70f){if(this[_0x39ed('0x12')](_0x1673e0,_0x12d24f))_0xc778e0(_0x3ddb8b);else{const _0x144dff={};for(const _0x191bc6 of _0x3bddc4){const _0x5b922c=_0x1673e0['getAttribute'](_0x191bc6);void 0x0!==_0x5b922c&&(_0x144dff[_0x191bc6]=_0x5b922c);}_0xc778e0(_0x3ddb8b),_0x2c2178[_0x39ed('0x21')](_0x1673e0,{'commandParams':[_0x144dff]},[],_0x12d24f);}}});}[_0x39ed('0x4')](_0x29ce87,_0x5c6271,_0x45d6d3){const _0x139a0a=_0x5c6271[0x0][_0x39ed('0x37')][_0x39ed('0x3c')],_0x5b69f0=_0x45d6d3['commandParams'][0x0];this[_0x39ed('0x7')][_0x39ed('0x2d')][_0x39ed('0x16')](_0x36a66b=>{for(const _0x4bb6e2 of _0x29ce87)void 0x0!==_0x5b69f0[_0x4bb6e2]?_0x36a66b[_0x39ed('0x2c')](_0x4bb6e2,_0x5b69f0[_0x4bb6e2],_0x139a0a):_0x36a66b[_0x39ed('0x8')](_0x4bb6e2,_0x139a0a);});}[_0x39ed('0x9')](_0x3dd045){if(_0x3dd045['data'])switch(_0x3dd045[_0x39ed('0x30')]){case _0x39ed('0xf'):return{'type':_0x39ed('0x34'),'content':_0x4a4f86(this[_0x39ed('0x7')][_0x39ed('0xe')],_0x39ed('0x20'))};case _0x39ed('0x13'):return{'type':_0x39ed('0x34'),'content':_0x4a4f86(this[_0x39ed('0x7')]['locale'],_0x39ed('0x5'))};}}[_0x39ed('0x12')](_0x26c426,_0x15457b){const _0x5125e2=this[_0x39ed('0x7')][_0x39ed('0x22')][_0x39ed('0x28')](_0x39ed('0xa'));for(const _0x1cdc24 of _0x5125e2[_0x39ed('0x32')]({'skipNotAttached':!0x0})){const _0x453d8f=_0x1cdc24['getContainedElement']();if(_0x1cdc24[_0x39ed('0x30')]===_0x15457b&&_0x453d8f===_0x26c426)return _0x1cdc24;}return null;}}
23
+ const _0x5ef0=['formatBlock','enableCommand','_handlePropertyChange','findAncestor','*Format:*\x20change\x20table\x20cell\x20properties','tableBackgroundColor','tableAlignment','tableBorderStyle','_suggestionFactory','join','discard','enqueueChange','get','selection','table','markBlockFormat','removeAttribute','getSelectionAffectedTableCells','handleDiscardAction','tableCellBorderWidth','getSuggestionCallback','model','tableCellPadding','TableCellPropertiesEditing','tableCellBorderStyle','_getSuggestion','plugins','tableCellProperties','format','afterInit','tableBorderWidth','editor','tableWidth','tableCellVerticalAlignment','batch','data','has','TablePropertiesEditing','TableUtils','accept','tableProperties','TrackChangesEditing','tableCellHeight','subType','setAttribute','TrackChangesTableProperties','*Format:*\x20change\x20table\x20properties','pluginName','nodeAfter','commandParams','handleSuggestionDescription','locale','getAttribute','getFirstPosition','change','tableCellHorizontalAlignment','tableCellWidth','registerCustomCallback','registerDescriptionCallback','document'];(function(_0x14e80d,_0x5ef0c8){const _0xa40a0d=function(_0x3505ba){while(--_0x3505ba){_0x14e80d['push'](_0x14e80d['shift']());}};_0xa40a0d(++_0x5ef0c8);}(_0x5ef0,0xbb));const _0xa40a=function(_0x14e80d,_0x5ef0c8){_0x14e80d=_0x14e80d-0x0;let _0xa40a0d=_0x5ef0[_0x14e80d];return _0xa40a0d;};import{Plugin as _0x3fbf59}from'ckeditor5/src/core';import{getTranslation as _0x3b6e85}from'../utils/common-translations';export default class Mt extends _0x3fbf59{constructor(_0x16ff38){super(_0x16ff38),this[_0xa40a('0x21')]=['tableBorderColor',_0xa40a('0x0'),_0xa40a('0x17'),_0xa40a('0x3b'),_0xa40a('0x19'),'tableHeight',_0xa40a('0x3a')],this[_0xa40a('0x14')]=['tableCellBorderColor',_0xa40a('0x11'),_0xa40a('0xc'),_0xa40a('0xf'),_0xa40a('0x31'),_0xa40a('0x23'),'tableCellBackgroundColor',_0xa40a('0x30'),_0xa40a('0x1a')];}static get[_0xa40a('0x28')](){return _0xa40a('0x26');}[_0xa40a('0x16')](){const _0x4ae67c=this[_0xa40a('0x18')][_0xa40a('0x13')][_0xa40a('0x5')](_0xa40a('0x22'));if(this[_0xa40a('0x18')][_0xa40a('0x13')][_0xa40a('0x1d')](_0xa40a('0x1e'))){for(const _0x2a55fa of this[_0xa40a('0x21')])_0x4ae67c[_0xa40a('0x36')](_0x2a55fa,(_0x1123dd,_0x4ef929)=>{const _0x139855=this[_0xa40a('0x18')][_0xa40a('0xe')]['document'][_0xa40a('0x6')][_0xa40a('0x2e')]()[_0xa40a('0x38')](_0xa40a('0x7'));this[_0xa40a('0x37')](_0x2a55fa,[_0x139855],this['tableProperties'],_0xa40a('0x21'),_0x1123dd,_0x4ef929);});_0x4ae67c[_0xa40a('0x1')][_0xa40a('0x32')](_0xa40a('0x35'),_0xa40a('0x21'),_0xa40a('0x20'),_0x4ae67c[_0xa40a('0x1')][_0xa40a('0xd')](_0xa40a('0x35'),null,_0xa40a('0x3'))),_0x4ae67c[_0xa40a('0x1')][_0xa40a('0x32')](_0xa40a('0x35'),_0xa40a('0x21'),'discard',(_0x300f88,_0x12a2a0)=>this[_0xa40a('0xb')](this[_0xa40a('0x21')],_0x300f88,_0x12a2a0)),_0x4ae67c[_0xa40a('0x1')][_0xa40a('0x32')](_0xa40a('0x35'),'tableProperties','join',()=>!0x1);}if(this[_0xa40a('0x18')][_0xa40a('0x13')][_0xa40a('0x1d')](_0xa40a('0x10'))){for(const _0x310c7b of this[_0xa40a('0x14')])_0x4ae67c[_0xa40a('0x36')](_0x310c7b,(_0x14eb70,_0x40a811)=>{const _0x3c8f5f=this['editor'][_0xa40a('0x13')]['get'](_0xa40a('0x1f'))[_0xa40a('0xa')](this['editor'][_0xa40a('0xe')][_0xa40a('0x34')][_0xa40a('0x6')]);this[_0xa40a('0x37')](_0x310c7b,_0x3c8f5f,this[_0xa40a('0x14')],'tableCellProperties',_0x14eb70,_0x40a811);});_0x4ae67c['_suggestionFactory'][_0xa40a('0x32')](_0xa40a('0x35'),_0xa40a('0x14'),_0xa40a('0x20'),_0x4ae67c[_0xa40a('0x1')][_0xa40a('0xd')](_0xa40a('0x35'),null,'discard')),_0x4ae67c[_0xa40a('0x1')][_0xa40a('0x32')](_0xa40a('0x35'),_0xa40a('0x14'),'discard',(_0x40e78b,_0x578b7d)=>this['handleDiscardAction'](this[_0xa40a('0x14')],_0x40e78b,_0x578b7d)),_0x4ae67c[_0xa40a('0x1')][_0xa40a('0x32')](_0xa40a('0x35'),'tableCellProperties',_0xa40a('0x2'),()=>!0x1);}_0x4ae67c['_descriptionFactory'][_0xa40a('0x33')](_0x19a6b2=>this[_0xa40a('0x2b')](_0x19a6b2));}['_handlePropertyChange'](_0x3376c5,_0x3c5428,_0x2431d5,_0x27753e,_0x39cce1,_0x109de2){const _0x110e7c=this[_0xa40a('0x18')][_0xa40a('0x13')][_0xa40a('0x5')](_0xa40a('0x22'));this[_0xa40a('0x18')][_0xa40a('0xe')][_0xa40a('0x4')](_0x109de2[_0xa40a('0x1b')],()=>{for(const _0x3254e of _0x3c5428){if(this[_0xa40a('0x12')](_0x3254e,_0x27753e))_0x39cce1(_0x109de2);else{const _0x4849e2={};for(const _0x26621d of _0x2431d5){const _0xdbf1e4=_0x3254e[_0xa40a('0x2d')](_0x26621d);void 0x0!==_0xdbf1e4&&(_0x4849e2[_0x26621d]=_0xdbf1e4);}_0x39cce1(_0x109de2),_0x110e7c[_0xa40a('0x8')](_0x3254e,{'commandParams':[_0x4849e2]},[],_0x27753e);}}});}[_0xa40a('0xb')](_0x4d26c5,_0x4a49eb,_0x5b6fc8){const _0x41afb8=_0x4a49eb[0x0]['start'][_0xa40a('0x29')],_0x4a4426=_0x5b6fc8[_0xa40a('0x2a')][0x0];this[_0xa40a('0x18')][_0xa40a('0xe')][_0xa40a('0x2f')](_0x34aa06=>{for(const _0x5607ab of _0x4d26c5)void 0x0!==_0x4a4426[_0x5607ab]?_0x34aa06[_0xa40a('0x25')](_0x5607ab,_0x4a4426[_0x5607ab],_0x41afb8):_0x34aa06[_0xa40a('0x9')](_0x5607ab,_0x41afb8);});}[_0xa40a('0x2b')](_0x1ce0de){if(_0x1ce0de[_0xa40a('0x1c')])switch(_0x1ce0de[_0xa40a('0x24')]){case'tableProperties':return{'type':'format','content':_0x3b6e85(this['editor'][_0xa40a('0x2c')],_0xa40a('0x27'))};case _0xa40a('0x14'):return{'type':_0xa40a('0x15'),'content':_0x3b6e85(this[_0xa40a('0x18')][_0xa40a('0x2c')],_0xa40a('0x39'))};}}[_0xa40a('0x12')](_0xa8f667,_0xfecf6f){const _0x4e1f41=this[_0xa40a('0x18')][_0xa40a('0x13')]['get'](_0xa40a('0x22'));for(const _0x1510b9 of _0x4e1f41['getSuggestions']({'skipNotAttached':!0x0})){const _0x2e5b27=_0x1510b9['getContainedElement']();if(_0x1510b9['subType']===_0xfecf6f&&_0x2e5b27===_0xa8f667)return _0x1510b9;}return null;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x33b3=['TrackChangesEditing','insertTemplate','Template','get','has','enableCommand'];(function(_0x408d15,_0x33b3c7){const _0x56dc71=function(_0x1308d4){while(--_0x1308d4){_0x408d15['push'](_0x408d15['shift']());}};_0x56dc71(++_0x33b3c7);}(_0x33b3,0x173));const _0x56dc=function(_0x408d15,_0x33b3c7){_0x408d15=_0x408d15-0x0;let _0x56dc71=_0x33b3[_0x408d15];return _0x56dc71;};import{Plugin as _0x299bca}from'ckeditor5/src/core';export default class vt extends _0x299bca{['afterInit'](){const _0x112506=this['editor'];_0x112506['plugins'][_0x56dc('0x5')](_0x56dc('0x3'))&&_0x112506['plugins'][_0x56dc('0x4')](_0x56dc('0x1'))[_0x56dc('0x0')](_0x56dc('0x2'));}}
23
+ const _0x2003=['enableCommand','has','editor','afterInit','plugins','Template'];(function(_0x41a7bd,_0x200347){const _0x5914d6=function(_0x207349){while(--_0x207349){_0x41a7bd['push'](_0x41a7bd['shift']());}};_0x5914d6(++_0x200347);}(_0x2003,0x178));const _0x5914=function(_0x41a7bd,_0x200347){_0x41a7bd=_0x41a7bd-0x0;let _0x5914d6=_0x2003[_0x41a7bd];return _0x5914d6;};import{Plugin as _0x23551a}from'ckeditor5/src/core';export default class vt extends _0x23551a{[_0x5914('0x5')](){const _0x434174=this[_0x5914('0x4')];_0x434174[_0x5914('0x0')][_0x5914('0x3')](_0x5914('0x1'))&&_0x434174['plugins']['get']('TrackChangesEditing')[_0x5914('0x2')]('insertTemplate');}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x177d=['start','nodeBefore','document','title-content','schema','isEqual','getNearestSelectionRange','registerElementLabel','isCollapsed','removeMarker','Title','locale','newRange','end','TrackChangesEditing','createRange','updateMarker','getChangedMarkers','isTouching','element','differ','has','plugins','afterInit','model','editor','get','_descriptionFactory'];(function(_0x504b91,_0x177ddd){const _0x4bbd29=function(_0x337a66){while(--_0x337a66){_0x504b91['push'](_0x504b91['shift']());}};_0x4bbd29(++_0x177ddd);}(_0x177d,0x1b5));const _0x4bbd=function(_0x504b91,_0x177ddd){_0x504b91=_0x504b91-0x0;let _0x4bbd29=_0x177d[_0x504b91];return _0x4bbd29;};import{Plugin as _0x5bf177}from'ckeditor5/src/core';import{getTranslation as _0x166393}from'../utils/common-translations';export default class Ct extends _0x5bf177{[_0x4bbd('0x6')](){const _0x3cc70e=this[_0x4bbd('0x8')];if(!_0x3cc70e[_0x4bbd('0x5')][_0x4bbd('0x4')](_0x4bbd('0x15')))return;const _0x29f77e=_0x3cc70e[_0x4bbd('0x5')][_0x4bbd('0x9')](_0x4bbd('0x19'));_0x29f77e[_0x4bbd('0xa')][_0x4bbd('0x12')](_0x4bbd('0xe'),()=>_0x166393(_0x3cc70e[_0x4bbd('0x16')],'ELEMENT_TITLE')),_0x3cc70e[_0x4bbd('0x7')][_0x4bbd('0xd')]['registerPostFixer'](_0x4bea2a=>{let _0x1cbc87=!0x1;const _0x52663a=Array['from'](_0x3cc70e[_0x4bbd('0x7')][_0x4bbd('0xd')][_0x4bbd('0x3')][_0x4bbd('0x0')]());for(const {name:_0xbe5002,data:_0x593006}of _0x52663a){const {group:_0x4501d4}=_0x29f77e['_splitMarkerName'](_0xbe5002);if('suggestion'!==_0x4501d4||!_0x593006[_0x4bbd('0x17')])continue;const _0x20fdc9=_0x593006[_0x4bbd('0x17')],_0x493fed=_0x20fdc9[_0x4bbd('0x18')][_0x4bbd('0xc')];if(!_0x493fed||!_0x493fed['is'](_0x4bbd('0x2'),'title-content'))continue;if(!_0x20fdc9[_0x4bbd('0xb')][_0x4bbd('0x1')](_0x20fdc9['end']))continue;const _0x201b36=_0x3cc70e[_0x4bbd('0x7')][_0x4bbd('0xf')][_0x4bbd('0x11')](_0x20fdc9[_0x4bbd('0x18')],'forward');if(_0x201b36&&_0x201b36[_0x4bbd('0x13')]){const _0xf5357=_0x4bea2a[_0x4bbd('0x1a')](_0x20fdc9['start'],_0x201b36[_0x4bbd('0xb')]);_0xf5357[_0x4bbd('0x10')](_0x20fdc9)||(_0x4bea2a[_0x4bbd('0x1b')](_0xbe5002,{'range':_0xf5357}),_0x1cbc87=!0x0);}_0x1cbc87||(_0x4bea2a[_0x4bbd('0x14')](_0xbe5002),_0x1cbc87=!0x0);}return _0x1cbc87;});}}
23
+ const _0x354b=['getChangedMarkers','updateMarker','getNearestSelectionRange','differ','locale','title-content','document','has','ELEMENT_TITLE','_splitMarkerName','TrackChangesEditing','isEqual','_descriptionFactory','plugins','createRange','start','isTouching','registerPostFixer','nodeBefore','isCollapsed','newRange','end','forward','schema','get'];(function(_0x52fe22,_0x354b9d){const _0x58ce1b=function(_0x23facd){while(--_0x23facd){_0x52fe22['push'](_0x52fe22['shift']());}};_0x58ce1b(++_0x354b9d);}(_0x354b,0x1c0));const _0x58ce=function(_0x52fe22,_0x354b9d){_0x52fe22=_0x52fe22-0x0;let _0x58ce1b=_0x354b[_0x52fe22];return _0x58ce1b;};import{Plugin as _0x4e9edf}from'ckeditor5/src/core';import{getTranslation as _0x2bd8dd}from'../utils/common-translations';export default class Ct extends _0x4e9edf{['afterInit'](){const _0x434c23=this['editor'];if(!_0x434c23['plugins'][_0x58ce('0x9')]('Title'))return;const _0x1ea551=_0x434c23[_0x58ce('0xf')][_0x58ce('0x1')](_0x58ce('0xc'));_0x1ea551[_0x58ce('0xe')]['registerElementLabel'](_0x58ce('0x7'),()=>_0x2bd8dd(_0x434c23[_0x58ce('0x6')],_0x58ce('0xa'))),_0x434c23['model'][_0x58ce('0x8')][_0x58ce('0x13')](_0x4c7cfc=>{let _0xd1686f=!0x1;const _0x2b0634=Array['from'](_0x434c23['model'][_0x58ce('0x8')][_0x58ce('0x5')][_0x58ce('0x2')]());for(const {name:_0x4da069,data:_0x1915f2}of _0x2b0634){const {group:_0x5cd8f3}=_0x1ea551[_0x58ce('0xb')](_0x4da069);if('suggestion'!==_0x5cd8f3||!_0x1915f2['newRange'])continue;const _0xee032b=_0x1915f2[_0x58ce('0x16')],_0x4d0abc=_0xee032b[_0x58ce('0x17')][_0x58ce('0x14')];if(!_0x4d0abc||!_0x4d0abc['is']('element',_0x58ce('0x7')))continue;if(!_0xee032b['start'][_0x58ce('0x12')](_0xee032b['end']))continue;const _0xb8253c=_0x434c23['model'][_0x58ce('0x0')][_0x58ce('0x4')](_0xee032b['end'],_0x58ce('0x18'));if(_0xb8253c&&_0xb8253c[_0x58ce('0x15')]){const _0x27ee87=_0x4c7cfc[_0x58ce('0x10')](_0xee032b[_0x58ce('0x11')],_0xb8253c[_0x58ce('0x11')]);_0x27ee87[_0x58ce('0xd')](_0xee032b)||(_0x4c7cfc[_0x58ce('0x3')](_0x4da069,{'range':_0x27ee87}),_0xd1686f=!0x0);}_0xd1686f||(_0x4c7cfc['removeMarker'](_0x4da069),_0xd1686f=!0x0);}return _0xd1686f;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1e72=['UndoEditing','undo','get','plugins','TrackChangesEditing','redo','afterInit','has'];(function(_0xd55bed,_0x1e725d){const _0x335ee9=function(_0x2f771f){while(--_0x2f771f){_0xd55bed['push'](_0xd55bed['shift']());}};_0x335ee9(++_0x1e725d);}(_0x1e72,0x9c));const _0x335e=function(_0xd55bed,_0x1e725d){_0xd55bed=_0xd55bed-0x0;let _0x335ee9=_0x1e72[_0xd55bed];return _0x335ee9;};import{Plugin as _0xe3aae5}from'ckeditor5/src/core';export default class Dt extends _0xe3aae5{[_0x335e('0x2')](){const _0x4d6a2e=this['editor'],_0x4ab1dd=_0x4d6a2e[_0x335e('0x7')][_0x335e('0x6')](_0x335e('0x0'));_0x4d6a2e[_0x335e('0x7')][_0x335e('0x3')](_0x335e('0x4'))&&(_0x4ab1dd['enableCommand'](_0x335e('0x5')),_0x4ab1dd['enableCommand'](_0x335e('0x1')));}}
23
+ const _0x9dad=['enableCommand','plugins','UndoEditing','afterInit','TrackChangesEditing','get','editor','has'];(function(_0x10259d,_0x9dada3){const _0x370f02=function(_0x40a023){while(--_0x40a023){_0x10259d['push'](_0x10259d['shift']());}};_0x370f02(++_0x9dada3);}(_0x9dad,0xa7));const _0x370f=function(_0x10259d,_0x9dada3){_0x10259d=_0x10259d-0x0;let _0x370f02=_0x9dad[_0x10259d];return _0x370f02;};import{Plugin as _0x4a4821}from'ckeditor5/src/core';export default class Dt extends _0x4a4821{[_0x370f('0x4')](){const _0x2c0af3=this[_0x370f('0x7')],_0x312672=_0x2c0af3['plugins'][_0x370f('0x6')](_0x370f('0x5'));_0x2c0af3[_0x370f('0x2')][_0x370f('0x0')](_0x370f('0x3'))&&(_0x312672[_0x370f('0x1')]('undo'),_0x312672[_0x370f('0x1')]('redo'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x24cc=['writer','activeMarkers','toViewPosition','isAtEnd','ck-suggestion-marker-','nextSibling','element','isContent','addHighlight','createUIElement','getCustomProperty','start','isLimit','listIndent','plugins','mapper','item','elementEnd','getItems','listItem','addClass','ck-suggestion-marker--active','TrackChangesEditing','push','bindElementToMarker','getWalker','isBlock','previousPosition','insert','parent','markerName','getAttribute','markerRange','model','span'];(function(_0x10a86a,_0x24cc7d){const _0x3ce268=function(_0x31b4b8){while(--_0x31b4b8){_0x10a86a['push'](_0x10a86a['shift']());}};_0x3ce268(++_0x24cc7d);}(_0x24cc,0xaa));const _0x3ce2=function(_0x10a86a,_0x24cc7d){_0x10a86a=_0x10a86a-0x0;let _0x3ce268=_0x24cc[_0x10a86a];return _0x3ce268;};export function getRangesWithAttribute(_0x52d09a,_0x5d2a3b,_0x53d490){const _0x29bdfd=[];for(const _0x479344 of _0x5d2a3b[_0x3ce2('0x17')]())_0x479344['hasAttribute'](_0x52d09a)&&_0x29bdfd[_0x3ce2('0x1c')](_0x53d490['createRangeOn'](_0x479344));return _0x29bdfd;}export function getElementsAffectedByListItemRename(_0x41b85d){const _0x18292a=[];if(_0x41b85d['is'](_0x3ce2('0xb'),_0x3ce2('0x18'))){let _0x2a2e42=_0x41b85d[_0x3ce2('0xa')];for(;_0x2a2e42&&_0x2a2e42['is'](_0x3ce2('0xb'),_0x3ce2('0x18'))&&_0x2a2e42[_0x3ce2('0x1')](_0x3ce2('0x12'))>0x0;)_0x18292a[_0x3ce2('0x1c')](_0x2a2e42),_0x2a2e42=_0x2a2e42[_0x3ce2('0xa')];}return _0x18292a;}export function downcastSplitMergeMarker(_0x42bf3a,_0x18bfd3,{showActiveMarker:_0x5ad9eb=!0x0}={}){const _0x1036e1=_0x42bf3a[_0x3ce2('0x13')]['get'](_0x3ce2('0x1b'));return(_0x18946e,_0x39d3e8,_0x49023d)=>{if(!_0x49023d['consumable']['test'](_0x39d3e8[_0x3ce2('0x2')],_0x18946e['name']))return;const _0x122011=_0x39d3e8[_0x3ce2('0x2')][_0x3ce2('0x1e')](),_0xe1b0cd=_0x39d3e8['markerRange'][_0x3ce2('0x10')],_0x1ecb77=_0x42bf3a[_0x3ce2('0x3')]['schema'];let _0x36cb0b=null,_0x19a674=null,_0x14b609=!0x1,_0x588157=!0x1;for(const _0xcf78ef of _0x122011){const _0x18b7e8=_0xcf78ef[_0x3ce2('0x15')];_0x14b609=_0x14b609||_0x1ecb77[_0x3ce2('0xc')](_0x18b7e8);const _0x3c2f87=_0x49023d[_0x3ce2('0x14')]['toViewElement'](_0x18b7e8);if(_0x3c2f87&&_0x3c2f87[_0x3ce2('0xf')](_0x3ce2('0xd')))return;_0x3ce2('0x16')==_0xcf78ef['type']&&(_0x1ecb77[_0x3ce2('0x1f')](_0x18b7e8)&&!_0x1ecb77[_0x3ce2('0x11')](_0x18b7e8)&&(_0x18b7e8[_0x3ce2('0xa')]||_0xe1b0cd[_0x3ce2('0x8')]?_0x36cb0b&&_0x36cb0b[_0x3ce2('0x22')]==_0x18b7e8||(_0x36cb0b=_0x18b7e8,_0x4dfbd3(_0xcf78ef[_0x3ce2('0x20')]),_0x588157=!0x0):_0x19a674=_0x19a674||_0xcf78ef[_0x3ce2('0x20')]));}function _0x4dfbd3(_0x568514){const _0x47edf5=_0x49023d[_0x3ce2('0x5')][_0x3ce2('0xe')](_0x3ce2('0x4'),{'class':_0x3ce2('0x9')+_0x18bfd3}),_0x28bd44=_0x49023d[_0x3ce2('0x14')][_0x3ce2('0x7')](_0x568514);_0x5ad9eb&&_0x1036e1[_0x3ce2('0x6')]['includes'](_0x39d3e8[_0x3ce2('0x0')])&&_0x49023d[_0x3ce2('0x5')][_0x3ce2('0x19')](_0x3ce2('0x1a'),_0x47edf5),_0x49023d[_0x3ce2('0x5')][_0x3ce2('0x21')](_0x28bd44,_0x47edf5),_0x49023d['mapper'][_0x3ce2('0x1d')](_0x47edf5,_0x39d3e8[_0x3ce2('0x0')]);}_0x14b609||_0x588157||!_0x19a674||_0x4dfbd3(_0x19a674);};}
23
+ const _0x1e5d=['ck-suggestion-marker-','addHighlight','TrackChangesEditing','hasAttribute','plugins','createUIElement','test','listItem','createRangeOn','markerName','getAttribute','elementEnd','getCustomProperty','bindElementToMarker','schema','get','push','span','markerRange','isAtEnd','isLimit','consumable','previousPosition','ck-suggestion-marker--active','addClass','getWalker','element','includes','isBlock','model','writer','nextSibling'];(function(_0x4af421,_0x1e5d2){const _0x41e29a=function(_0x152e2b){while(--_0x152e2b){_0x4af421['push'](_0x4af421['shift']());}};_0x41e29a(++_0x1e5d2);}(_0x1e5d,0x19f));const _0x41e2=function(_0x4af421,_0x1e5d2){_0x4af421=_0x4af421-0x0;let _0x41e29a=_0x1e5d[_0x4af421];return _0x41e29a;};export function getRangesWithAttribute(_0x134ee2,_0x210e9f,_0xa5a37a){const _0x214d71=[];for(const _0x515c96 of _0x210e9f['getItems']())_0x515c96[_0x41e2('0x4')](_0x134ee2)&&_0x214d71[_0x41e2('0x11')](_0xa5a37a[_0x41e2('0x9')](_0x515c96));return _0x214d71;}export function getElementsAffectedByListItemRename(_0x524661){const _0x18ee1b=[];if(_0x524661['is'](_0x41e2('0x1b'),_0x41e2('0x8'))){let _0x1b4e98=_0x524661[_0x41e2('0x0')];for(;_0x1b4e98&&_0x1b4e98['is'](_0x41e2('0x1b'),_0x41e2('0x8'))&&_0x1b4e98[_0x41e2('0xb')]('listIndent')>0x0;)_0x18ee1b[_0x41e2('0x11')](_0x1b4e98),_0x1b4e98=_0x1b4e98[_0x41e2('0x0')];}return _0x18ee1b;}export function downcastSplitMergeMarker(_0x19ae4e,_0x2f8806,{showActiveMarker:_0x11d535=!0x0}={}){const _0x1fcbc9=_0x19ae4e[_0x41e2('0x5')][_0x41e2('0x10')](_0x41e2('0x3'));return(_0x2a5fb3,_0x58bb19,_0x172eb9)=>{if(!_0x172eb9[_0x41e2('0x16')][_0x41e2('0x7')](_0x58bb19['markerRange'],_0x2a5fb3['name']))return;const _0x290755=_0x58bb19[_0x41e2('0x13')][_0x41e2('0x1a')](),_0x16986c=_0x58bb19[_0x41e2('0x13')]['start'],_0x1d5f22=_0x19ae4e[_0x41e2('0x1e')][_0x41e2('0xf')];let _0x4f7143=null,_0x554e7e=null,_0x26f25b=!0x1,_0x1394bd=!0x1;for(const _0x3209ff of _0x290755){const _0x9898fb=_0x3209ff['item'];_0x26f25b=_0x26f25b||_0x1d5f22['isContent'](_0x9898fb);const _0x2e130f=_0x172eb9['mapper']['toViewElement'](_0x9898fb);if(_0x2e130f&&_0x2e130f[_0x41e2('0xd')](_0x41e2('0x2')))return;_0x41e2('0xc')==_0x3209ff['type']&&(_0x1d5f22[_0x41e2('0x1d')](_0x9898fb)&&!_0x1d5f22[_0x41e2('0x15')](_0x9898fb)&&(_0x9898fb[_0x41e2('0x0')]||_0x16986c[_0x41e2('0x14')]?_0x4f7143&&_0x4f7143['parent']==_0x9898fb||(_0x4f7143=_0x9898fb,_0x478ed1(_0x3209ff[_0x41e2('0x17')]),_0x1394bd=!0x0):_0x554e7e=_0x554e7e||_0x3209ff['previousPosition']));}function _0x478ed1(_0x115466){const _0x4fa497=_0x172eb9['writer'][_0x41e2('0x6')](_0x41e2('0x12'),{'class':_0x41e2('0x1')+_0x2f8806}),_0x25413c=_0x172eb9['mapper']['toViewPosition'](_0x115466);_0x11d535&&_0x1fcbc9['activeMarkers'][_0x41e2('0x1c')](_0x58bb19[_0x41e2('0xa')])&&_0x172eb9['writer'][_0x41e2('0x19')](_0x41e2('0x18'),_0x4fa497),_0x172eb9[_0x41e2('0x1f')]['insert'](_0x25413c,_0x4fa497),_0x172eb9['mapper'][_0x41e2('0xe')](_0x4fa497,_0x58bb19[_0x41e2('0xa')]);}_0x26f25b||_0x1394bd||!_0x554e7e||_0x478ed1(_0x554e7e);};}