@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20231017.0 → 0.0.0-nightly-20231019.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 (65) 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/importword.js +1 -1
  29. package/src/integrations/indent.js +1 -1
  30. package/src/integrations/inputcommand.js +1 -1
  31. package/src/integrations/link.js +1 -1
  32. package/src/integrations/list.js +1 -1
  33. package/src/integrations/listproperties.js +1 -1
  34. package/src/integrations/mediaembed.js +1 -1
  35. package/src/integrations/mention.js +1 -1
  36. package/src/integrations/pagebreak.js +1 -1
  37. package/src/integrations/paragraph.js +1 -1
  38. package/src/integrations/removeformat.js +1 -1
  39. package/src/integrations/restrictededitingmode.js +1 -1
  40. package/src/integrations/shiftentercommand.js +1 -1
  41. package/src/integrations/standardeditingmode.js +1 -1
  42. package/src/integrations/style.js +1 -1
  43. package/src/integrations/table.js +1 -1
  44. package/src/integrations/tablecaption.js +1 -1
  45. package/src/integrations/tableclipboard.js +1 -1
  46. package/src/integrations/tablecolumnresize.js +1 -1
  47. package/src/integrations/tableheadings.js +1 -1
  48. package/src/integrations/tablemergesplit.js +1 -1
  49. package/src/integrations/tableofcontents.js +1 -1
  50. package/src/integrations/tableproperties.js +1 -1
  51. package/src/integrations/template.js +1 -1
  52. package/src/integrations/title.js +1 -1
  53. package/src/integrations/undo.js +1 -1
  54. package/src/integrations/utils.js +1 -1
  55. package/src/suggestion.js +1 -1
  56. package/src/suggestiondescriptionfactory.js +1 -1
  57. package/src/trackchanges.js +1 -1
  58. package/src/trackchangesdata.js +1 -1
  59. package/src/trackchangesediting.js +1 -1
  60. package/src/trackchangesui.js +1 -1
  61. package/src/ui/suggestioncontroller.js +1 -1
  62. package/src/ui/view/basesuggestionthreadview.js +1 -1
  63. package/src/ui/view/suggestionthreadview.js +1 -1
  64. package/src/utils/common-translations.js +1 -1
  65. package/src/utils/utils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1ef9=['selection','table','createElement','suggestionLoaded','markerName','document','insertRows','startsWith','root','getChild','from','columns','differ','suggestion','tablePasteColumn','paragraph','suggestionUnloaded','ck-suggestion-marker--active','includes','getAllAdjacentSuggestions','_tablePostFixingSubtypes','insert','nodeAfter','removeMarker','row','insertion','every','_replaceTableSlotCell','column','createTableWalker','suggestion:formatBlock:tablePasteCell','registerPostFixer','fromEntries','fill','isInContent','createRange','rowInsertionRanges','join','getSuggestion','insertionRanges','registerDescriptionCallback','push','oldRange','locale','high','getChangedMarkers','markMultiRangeBlockFormat','getChildren','markerAttributes','accept','value','last','name','removeRows','tableCellSuggestion','get','batch','getContainedElement','some','getMarkers','afterInit','getSuggestions','tableCellHorizontalAlignment','updateMarker','commands','conversion','options','Users','length','discard','keys','start','documentSelection','TableClipboard','change','markerToHighlight','markers','getColumns','model','getColumnIndexes','createRangeOn','elementToElement','markMultiRangeDeletion','filter','position','for','_suggestionFactory','low','tableCell','remove','add','TableUtils','previousSibling','nextSibling','ck-suggestion-marker','findAncestor','deletion','suggestion-td','hasSuggestion','subType','removeMarkers','attributes','getRange','containsRange','_isForcedDefaultExecutionBlock','getItems','next','getRanges','isEmpty','tablePasteChainId','rowInsertionIndexes','tableCellBorderColor','listenTo','author','cell','register','tableCellVerticalAlignment','first','map','unwrap','tableCellBorderWidth','find','tablePasteCell','formatBlock','createPositionBefore','columnInsertionIndexes','previous','entries','insertContent','clipboardOutput','newRange','element','registerCustomCallback','editor','markMultiRangeInsertion','getSuggestionCallback','tableCellBorderStyle','set','insertColumns','deletionRanges','editing','end','showSuggestionHighlights','redo','TrackChangesEditing','forceDefaultExecution','tablePasteRow','move','createRangeIn','type','has','_splitMarkerName','getTableIfOnlyTableInContent','_getCoordsForCells','_createdBatches','$graveyard','wrap','setAttributes','tablePaste','plugins','getAttributes','content'];(function(_0x4ce951,_0x1ef913){const _0x225647=function(_0x219274){while(--_0x219274){_0x4ce951['push'](_0x4ce951['shift']());}};_0x225647(++_0x1ef913);}(_0x1ef9,0x1a7));const _0x2256=function(_0x4ce951,_0x1ef913){_0x4ce951=_0x4ce951-0x0;let _0x225647=_0x1ef9[_0x4ce951];return _0x225647;};import{getTranslation as _0x4cadb0}from'../utils/common-translations';import{Plugin as _0x237ee0}from'ckeditor5/src/core';import{uid as _0x3962b1,priorities as _0x115ca2}from'ckeditor5/src/utils';import _0x189b1d from'./table';const le=[_0x2256('0x15'),_0x2256('0xc'),_0x2256('0x25'),_0x2256('0x7d'),_0x2256('0x11'),'tableCellBackgroundColor','tableCellPadding'],ae=Object[_0x2256('0x5f')](le[_0x2256('0x13')](_0x370ded=>[_0x370ded,null]));export default class wt extends _0x237ee0{static get['requires'](){return[_0x189b1d];}[_0x2256('0x7b')](){const _0x592677=this['editor'];if(!_0x592677['plugins']['has']('TableClipboard'))return;const _0x1586a1=_0x592677['plugins'][_0x2256('0x76')](_0x2256('0x2d')),_0x31340f=_0x592677[_0x2256('0x3c')][_0x2256('0x76')](_0x2256('0x9a')),_0xd872e2=_0x592677['plugins'][_0x2256('0x76')](_0x189b1d),_0x3a69cd=_0x592677[_0x2256('0x3c')][_0x2256('0x76')]('TableClipboard');_0xd872e2[_0x2256('0x53')][_0x2256('0x68')](_0x2256('0x2f'),'tablePasteColumn'),_0x592677[_0x2256('0x8d')]['schema'][_0x2256('0x10')](_0x2256('0x75'),{'allowIn':_0x2256('0x97'),'allowContentOf':'tableCell','isLimit':!0x0}),_0x592677[_0x2256('0x80')][_0x2256('0x90')]({'model':_0x2256('0x75'),'view':_0x2256('0xa0')});let _0x323093=null;_0x592677[_0x2256('0x8d')]['on'](_0x2256('0x1d'),(_0xd34759,_0x2a9286)=>{const [_0x217495,_0x44d22c]=_0x2a9286,_0x4f2643=_0x2a9286[_0x2a9286['length']-0x1];_0x4f2643&&_0x4f2643[_0x2256('0x2e')]||_0x1586a1[_0x2256('0x5')]||this[_0x2256('0x22')][_0x2256('0x7f')][_0x2256('0x76')]('trackChanges')[_0x2256('0x71')]&&function(_0x26be96,_0x281cdd,_0x370dbf,_0x319637,_0x5751ed){if(_0x281cdd&&!_0x281cdd['is'](_0x2256('0x87')))return!0x1;const _0xec48c1=_0x5751ed[_0x2256('0x35')](_0x26be96,_0x370dbf);if(!_0xec48c1||!fe(_0xec48c1,void 0x0,_0x319637))return!0x1;const _0x12eddd=_0x319637['getSelectionAffectedTableCells'](_0x370dbf[_0x2256('0x44')][_0x2256('0x3f')]);if(!_0x12eddd['length'])return!0x1;const _0x2a8d14=_0x12eddd[0x0][_0x2256('0x9e')](_0x2256('0x40')),_0x1974f2=_0x319637['getRowIndexes'](_0x12eddd),_0x42ba1f=_0x319637[_0x2256('0x8e')](_0x12eddd),_0x5a1b42={'startRow':_0x1974f2[_0x2256('0x12')],'endRow':_0x1974f2[_0x2256('0x72')],'startColumn':_0x42ba1f[_0x2256('0x12')],'endColumn':_0x42ba1f[_0x2256('0x72')]};return 0x1==_0x12eddd[_0x2256('0x83')]&&(_0x5a1b42['endRow']+=_0x319637['getRows'](_0xec48c1)-0x1,_0x5a1b42['endColumn']+=_0x319637[_0x2256('0x8c')](_0xec48c1)-0x1),fe(_0x2a8d14,_0x5a1b42,_0x319637);}(_0x217495,_0x44d22c,_0x592677[_0x2256('0x8d')],_0x31340f,_0x3a69cd)&&(_0xd34759['stop'](),_0x323093={'cells':[],'insertionRanges':[],'deletionRanges':[],'rowInsertionRanges':[],'rowInsertionIndexes':[],'columnInsertionRanges':[],'columnInsertionIndexes':[]},_0x592677['model'][_0x2256('0x89')](()=>{_0x592677[_0x2256('0x8d')]['insertContent'](_0x2a9286[0x0],_0x2a9286[0x1],_0x2a9286[0x2],{'forceDefaultExecution':!0x0});const _0x955a9b=_0x3962b1(),{rowInsertionRanges:_0x105833,columnInsertionRanges:_0x6b3c1d,insertionRanges:_0x300f0d,deletionRanges:_0x58b644,cells:_0x42aa58}=_0x323093;_0x105833[_0x2256('0x83')]&&_0x1586a1[_0x2256('0x23')](_0x105833,_0x2256('0x2f'),{'tablePasteChainId':_0x955a9b}),_0x6b3c1d[_0x2256('0x83')]&&_0x1586a1[_0x2256('0x23')](_0x6b3c1d,_0x2256('0x4d'),{'tablePasteChainId':_0x955a9b}),_0x300f0d[_0x2256('0x83')]&&_0x1586a1[_0x2256('0x23')](_0x300f0d,_0x2256('0x3b'),{'tablePasteChainId':_0x955a9b,'skipNestingCheck':!0x0}),_0x58b644[_0x2256('0x83')]&&_0x1586a1[_0x2256('0x91')](_0x58b644,_0x2256('0x3b'),{'tablePasteChainId':_0x955a9b,'skipNestingCheck':!0x0});const _0x506887=_0x1586a1[_0x2256('0x6d')](_0x42aa58[_0x2256('0x13')](({element:_0x4a98fe})=>_0x4a98fe),{'formatGroupId':_0x3962b1()},[],_0x2256('0x17'),{'tablePasteChainId':_0x955a9b});if(_0x506887){const _0x14339c=_0x506887['getMarkers'](),_0x1a4f4d=[];for(const {element:_0x18fcaf,attributes:_0x25589a}of _0x42aa58){if(!_0x25589a)continue;const _0x1c9447=_0x592677['model'][_0x2256('0x8f')](_0x18fcaf),_0x3a40a5=_0x14339c[_0x2256('0x16')](_0x2d7cc0=>_0x2d7cc0[_0x2256('0x3')]()['isEqual'](_0x1c9447));_0x3a40a5&&_0x1a4f4d[_0x2256('0x68')]([_0x3a40a5['name'],_0x25589a]);}_0x1a4f4d[_0x2256('0x83')]&&_0x506887['setAttribute'](_0x2256('0x6f'),Object[_0x2256('0x5f')](_0x1a4f4d));}_0x323093=null;}));},{'priority':_0x115ca2['high']+0xa}),_0x592677[_0x2256('0x3c')][_0x2256('0x76')](_0x2256('0x88'))['on'](_0x2256('0x5a'),(_0x2d2f19,_0x3adb95)=>{const [_0x4aeeef,_0x10a931,,_0x14acdf]=_0x3adb95;if(!_0x323093)return;_0x2d2f19['stop']();const _0x38bc02=_0x4aeeef[_0x2256('0xf')],_0xd6baf9=_0x10a931,_0x3b6e03=ce(_0x38bc02),_0x4bb7b9=ce(_0xd6baf9);_0x2d2f19['return']=_0x38bc02;let _0x7f993=null,_0x37e8ac=null;if(_0x4bb7b9||_0x3b6e03){if(_0x3b6e03&&!_0x4bb7b9){_0x14acdf[_0x2256('0x98')](_0x38bc02['getChild'](0x0));for(const _0x24de8a of Array[_0x2256('0x49')](_0xd6baf9[_0x2256('0x6e')]()))_0x14acdf['insert'](_0x24de8a,_0x38bc02,_0x2256('0x2a'));const _0x3a903c=_0x323093[_0x2256('0xb')][_0x2256('0x51')](_0x4aeeef[_0x2256('0x57')]),_0x46bb65=_0x323093['columnInsertionIndexes'][_0x2256('0x51')](_0x4aeeef[_0x2256('0x5b')]);_0x3a903c||_0x46bb65||(_0x7f993=_0x14acdf[_0x2256('0x31')](_0x38bc02));}else _0x4bb7b9&&!_0x3b6e03&&(_0x37e8ac=_0x14acdf[_0x2256('0x31')](_0x38bc02));}else{const _0x93998b=_0x14acdf[_0x2256('0x41')]('tableCellSuggestion'),_0x2520dd=_0x14acdf[_0x2256('0x41')](_0x2256('0x75'));_0x14acdf[_0x2256('0x39')](_0x14acdf[_0x2256('0x31')](_0x38bc02),_0x2520dd),_0x14acdf[_0x2256('0x54')](_0x93998b,_0x38bc02,0x0);for(const _0x364e20 of Array[_0x2256('0x49')](_0xd6baf9['getChildren']()))_0x14acdf['insert'](_0x364e20,_0x93998b,_0x2256('0x2a'));_0x7f993=_0x14acdf[_0x2256('0x8f')](_0x93998b),_0x37e8ac=_0x14acdf['createRangeOn'](_0x2520dd);}const _0x226193=Array[_0x2256('0x49')](_0xd6baf9[_0x2256('0x3d')]())[_0x2256('0x92')](([_0x590a6b])=>le[_0x2256('0x51')](_0x590a6b));_0x323093['cells']['push']({'element':_0x38bc02,'attributes':_0x226193[_0x2256('0x83')]?Object[_0x2256('0x5f')](_0x226193):null}),_0x7f993&&_0x323093[_0x2256('0x66')][_0x2256('0x68')](_0x7f993),_0x37e8ac&&_0x323093[_0x2256('0x28')]['push'](_0x37e8ac);},{'priority':_0x2256('0x6b')}),_0x31340f['on'](_0x2256('0x27'),(_0x214937,_0x34d15e)=>{const [_0x5bb2a0,_0x106ee4={}]=_0x34d15e;if(!_0x323093)return;const _0x262a0d=_0x106ee4['at']||0x0,_0x22a4d2=_0x106ee4[_0x2256('0x4a')]||0x1;_0x323093[_0x2256('0x1a')]=new Array(_0x22a4d2)[_0x2256('0x60')](_0x262a0d)[_0x2256('0x13')]((_0x40d8e7,_0x1135c1)=>_0x40d8e7+_0x1135c1);for(const {cell:_0x1d7317}of _0x31340f['createTableWalker'](_0x5bb2a0,{'startColumn':_0x262a0d,'endColumn':_0x262a0d+_0x22a4d2-0x1}))_0x323093['columnInsertionRanges']['push'](_0x592677[_0x2256('0x8d')][_0x2256('0x8f')](_0x1d7317));},{'priority':'low'}),_0x31340f['on'](_0x2256('0x45'),(_0x39ad6c,_0x39b3d8)=>{const [_0x51e31d,_0x3ba991={}]=_0x39b3d8;if(!_0x323093)return;const _0x513f86=_0x3ba991['at']||0x0,_0x1d0170=_0x3ba991['rows']||0x1;_0x323093[_0x2256('0xb')]=new Array(_0x1d0170)['fill'](_0x513f86)['map']((_0x116d0f,_0x364a8a)=>_0x116d0f+_0x364a8a);for(const {cell:_0xc264e9}of _0x31340f['createTableWalker'](_0x51e31d,{'startRow':_0x513f86,'endRow':_0x513f86+_0x1d0170-0x1}))_0x323093[_0x2256('0x63')]['push'](_0x592677[_0x2256('0x8d')][_0x2256('0x8f')](_0xc264e9));},{'priority':_0x2256('0x96')}),_0x1586a1['_descriptionFactory'][_0x2256('0x67')](_0x2ac5e4=>{if(_0x2ac5e4['subType']&&_0x2ac5e4[_0x2256('0x0')]['startsWith'](_0x2256('0x3b')))return _0x2ac5e4[_0x2256('0x1b')]?{}:{'type':'insertion','content':_0x4cadb0(_0x592677[_0x2256('0x6a')],'*Replace\x20table\x20cells*')};});const _0x16062b=()=>!0x1;for(const _0x25f45e of['tablePaste','tablePasteColumn',_0x2256('0x2f'),_0x2256('0x17')])_0x1586a1[_0x2256('0x95')][_0x2256('0x21')]('insertion',_0x25f45e,_0x2256('0x64'),_0x16062b),_0x1586a1[_0x2256('0x95')][_0x2256('0x21')](_0x2256('0x9f'),_0x25f45e,_0x2256('0x64'),_0x16062b),_0x1586a1['_suggestionFactory'][_0x2256('0x21')](_0x2256('0x18'),_0x25f45e,_0x2256('0x64'),_0x16062b);_0x1586a1[_0x2256('0x95')][_0x2256('0x21')](_0x2256('0x18'),'tablePasteCell',_0x2256('0x84'),_0x16062b),_0x1586a1[_0x2256('0x95')][_0x2256('0x21')](_0x2256('0x18'),'tablePasteCell','accept',(_0x4e3200,_0x5934e7,_0x580352)=>{const _0x5dec5e=_0x4e3200[_0x2256('0x13')](_0x24bb7e=>_0x24bb7e[_0x2256('0x78')]())['filter'](_0x2f96ff=>_0x2f96ff),_0x33d292=new Map(_0x5dec5e[_0x2256('0x13')](_0x4a583b=>[_0x4a583b,null]));if(_0x323093)for(const {element:_0x57082a,attributes:_0x3861e9}of _0x323093['cells'])_0x3861e9&&_0x33d292['set'](_0x57082a,_0x3861e9);else{if(_0x580352&&_0x580352[_0x2256('0x6f')])for(const [_0xd15918,_0x200fae]of Object[_0x2256('0x1c')](_0x580352[_0x2256('0x6f')])){const _0x5cfe8e=_0x592677[_0x2256('0x8d')][_0x2256('0x8b')][_0x2256('0x76')](_0xd15918),_0x5d780d=_0x5cfe8e?_0x5cfe8e[_0x2256('0x3')]()['getContainedElement']():null;_0x5d780d&&_0x33d292[_0x2256('0x26')](_0x5d780d,_0x200fae);}}_0x592677['model'][_0x2256('0x89')](_0x5c69e8=>{for(const [_0x1e68ff,_0x5bf692]of _0x33d292)_0x5c69e8[_0x2256('0x3a')]({...ae,..._0x5bf692},_0x1e68ff);});});const _0x24121a=(_0x3ca85,_0x2d8f39)=>{_0x1586a1[_0x2256('0x95')][_0x2256('0x21')](_0x3ca85,_0x2256('0x3b'),_0x2d8f39,(_0x2ccc4e,_0xf3492,_0x5c76f5)=>{_0x592677['model'][_0x2256('0x89')](_0x53aa52=>{const _0x3bb3e9=[];for(const _0x1be578 of _0x2ccc4e){const _0x416208=_0x1be578[_0x2256('0x86')][_0x2256('0x55')];_0x416208['is'](_0x2256('0x20'),_0x2256('0x75'))&&_0x3bb3e9[_0x2256('0x68')](_0x416208);}_0x1586a1[_0x2256('0x95')][_0x2256('0x24')](_0x3ca85,null,_0x2d8f39)(_0x2ccc4e,_0xf3492,_0x5c76f5);for(const _0x1d2cf3 of _0x3bb3e9)_0x2256('0x38')!=_0x1d2cf3[_0x2256('0x47')]['rootName']&&_0x53aa52['unwrap'](_0x1d2cf3);});});};_0x24121a(_0x2256('0x58'),_0x2256('0x70')),_0x24121a(_0x2256('0x58'),_0x2256('0x84')),_0x24121a(_0x2256('0x9f'),'accept'),_0x24121a('deletion',_0x2256('0x84')),_0x1586a1[_0x2256('0x95')][_0x2256('0x21')]('insertion',_0x2256('0x2f'),_0x2256('0x84'),_0x3e0afb=>{const _0x5586f7=_0x3e0afb[_0x2256('0x13')](_0x4f05d4=>_0x4f05d4['getContainedElement']()),_0x306d42=_0x5586f7[0x0][_0x2256('0x9e')](_0x2256('0x40')),{minRow:_0x143ff4,maxRow:_0x3964fd}=_0xd872e2[_0x2256('0x36')](_0x5586f7);_0x31340f[_0x2256('0x74')](_0x306d42,{'at':_0x143ff4,'rows':_0x3964fd-_0x143ff4+0x1});}),_0x1586a1[_0x2256('0x95')][_0x2256('0x21')]('insertion',_0x2256('0x4d'),'discard',_0x5ce0f9=>{const _0x4b2bba=_0x5ce0f9[_0x2256('0x13')](_0x1ee009=>_0x1ee009[_0x2256('0x78')]()),_0x2371cc=_0x4b2bba[0x0]['findAncestor'](_0x2256('0x40')),{minColumn:_0x3d14ca,maxColumn:_0x1932f9}=_0xd872e2[_0x2256('0x36')](_0x4b2bba);_0x31340f['removeColumns'](_0x2371cc,{'at':_0x3d14ca,'columns':_0x1932f9-_0x3d14ca+0x1});});const _0x42d6f4=(_0x1fee8c,_0x38fa15)=>{if(!_0x38fa15['subType']||!_0x38fa15[_0x2256('0x0')]['startsWith'](_0x2256('0x3b')))return;const _0x360153=_0x38fa15[_0x2256('0x2')]['tablePasteChainId'],_0x2bd4a2=_0x1586a1[_0x2256('0x7c')]()['filter'](_0x246e9a=>_0x246e9a[_0x2256('0x61')]&&_0x246e9a['attributes']&&_0x246e9a[_0x2256('0x2')][_0x2256('0xa')]==_0x360153);_0x2bd4a2['length']&&_0x38fa15['getAllAdjacentSuggestions']()[_0x2256('0x83')]!=_0x2bd4a2['length']&&_0x2bd4a2['reduce']((_0x48d2f1,_0x201c00)=>(_0x48d2f1[_0x2256('0x7')]=_0x201c00,_0x201c00[_0x2256('0x1b')]=_0x48d2f1,_0x201c00));};function _0x2b2121(_0x147622,_0x57db07=!0x0){const {id:_0x4ac732}=_0x1586a1['_splitMarkerName'](_0x147622[_0x2256('0x43')]),_0x2f4e28=[_0x2256('0x9d'),'ck-suggestion-marker-insertion'],_0x42c126=_0x1586a1['activeMarkers'][_0x2256('0x51')](_0x147622[_0x2256('0x43')]);return _0x42c126&&_0x2f4e28[_0x2256('0x68')](_0x2256('0x50')),{'classes':_0x2f4e28,'attributes':{'data-suggestion':_0x4ac732},'priority':_0x42c126&&_0x57db07?0xbc2:0xbb8};}_0x1586a1['on'](_0x2256('0x42'),_0x42d6f4,{'priority':_0x2256('0x6b')}),_0x1586a1['on'](_0x2256('0x4f'),_0x42d6f4,{'priority':'high'}),_0x592677[_0x2256('0x8d')][_0x2256('0x44')][_0x2256('0x5e')](()=>{let _0x267667=!0x1;const _0x7e55fa=Array['from'](_0x592677[_0x2256('0x8d')][_0x2256('0x44')]['differ'][_0x2256('0x6c')]());for(const {name:_0x4a3d4d,data:_0x5ddabb}of _0x7e55fa){const {group:_0x54187d,type:_0xddf81d,id:_0x21bd68}=_0x1586a1[_0x2256('0x34')](_0x4a3d4d);if(_0x2256('0x4c')!=_0x54187d||_0x2256('0x9f')!=_0xddf81d||_0x5ddabb[_0x2256('0x69')])continue;if(!_0x1586a1[_0x2256('0xa1')](_0x21bd68))continue;const _0x29a334=_0x1586a1[_0x2256('0x65')](_0x21bd68)['getRanges'](),_0x45bd8b=_0x592677[_0x2256('0x3c')][_0x2256('0x76')](_0x2256('0x82'))['me'];for(const _0x4f44b7 of _0x1586a1['getSuggestions']()){if(!_0x4f44b7[_0x2256('0x61')]||_0x4f44b7[_0x2256('0xe')]!=_0x45bd8b)continue;if(_0x2256('0x18')!=_0x4f44b7[_0x2256('0x32')]||_0x2256('0x17')!=_0x4f44b7[_0x2256('0x0')])continue;if(_0x4f44b7[_0x2256('0x8')]()[_0x2256('0x59')](_0x19a4c4=>_0x29a334[_0x2256('0x79')](_0x5f41fe=>_0x5f41fe[_0x2256('0x4')](_0x19a4c4,!0x0))))for(const _0x57e1ed of _0x4f44b7[_0x2256('0x52')]())_0x57e1ed[_0x2256('0x61')]&&(_0x57e1ed[_0x2256('0x84')](),_0x267667=!0x0);}}return _0x267667;}),_0x592677['model'][_0x2256('0x44')][_0x2256('0x5e')](_0x29bc20=>{const _0x266bd2=_0x592677[_0x2256('0x7f')][_0x2256('0x76')](_0x2256('0x2c'));if(!_0x266bd2||!_0x266bd2[_0x2256('0x37')]['has'](_0x29bc20[_0x2256('0x77')]))return!0x1;let _0x31c2ac=!0x1;const _0x254f85=_0x592677[_0x2256('0x3c')][_0x2256('0x76')](_0x2256('0x82'))['me'],_0x1d2b65=_0x592677[_0x2256('0x8d')]['document'][_0x2256('0x4b')]['getChanges'](),_0x157c78=Array[_0x2256('0x49')](_0x592677['model']['document'][_0x2256('0x4b')]['getChangedMarkers']())[_0x2256('0x92')](({name:_0xf9b6a5,data:_0x44e752})=>{const {group:_0x420a71,subType:_0x4feef3,authorId:_0x4f95db}=_0x1586a1['_splitMarkerName'](_0xf9b6a5);return'suggestion'==_0x420a71&&_0x2256('0x3b')==_0x4feef3&&_0x4f95db==_0x254f85['id']&&!_0x44e752[_0x2256('0x69')];});for(const _0x5e433d of _0x1d2b65){if(_0x2256('0x54')!=_0x5e433d[_0x2256('0x32')]||_0x2256('0x75')!=_0x5e433d[_0x2256('0x73')]||0x1!=_0x5e433d[_0x2256('0x83')])continue;const _0x503cca=_0x29bc20[_0x2256('0x62')](_0x5e433d['position'],_0x5e433d[_0x2256('0x93')]['getShiftedBy'](0x1));if(!_0x157c78[_0x2256('0x16')](({data:_0x315bf8})=>_0x315bf8['newRange']['isEqual'](_0x503cca)))for(const {name:_0x439252,data:_0x3d1be1}of _0x157c78)if(_0x503cca[_0x2256('0x4')](_0x3d1be1[_0x2256('0x1f')])){_0x29bc20[_0x2256('0x7e')](_0x439252,{'range':_0x503cca}),_0x31c2ac=!0x0;break;}}return _0x31c2ac;}),_0x592677[_0x2256('0x8d')][_0x2256('0x44')][_0x2256('0x5e')](_0x137fb0=>{let _0x4e920b=!0x1;const _0x664fbc=_0x592677['plugins']['get'](_0x2256('0x82'))['me'],_0x4d37f7=_0x1586a1[_0x2256('0x7c')]()[_0x2256('0x92')](_0x175ef8=>_0x175ef8[_0x2256('0x61')]&&_0x175ef8[_0x2256('0xe')]==_0x664fbc),_0x206a60=new Set(),_0x262bbb=new Set();for(const _0x1d348f of _0x4d37f7)if(_0x2256('0x3b')==_0x1d348f[_0x2256('0x0')])for(const _0x21787c of _0x1d348f[_0x2256('0x7a')]()){const _0x55a51b=_0x21787c['getRange']()[_0x2256('0x78')]();if(_0x55a51b){if(_0x55a51b['is'](_0x2256('0x20'),_0x2256('0x75'))&&ce(_0x55a51b)){_0x1d348f[_0x2256('0x56')](_0x21787c['name']),_0x206a60['add'](_0x55a51b),_0x4e920b=!0x0;const _0x2d860a=_0x55a51b[_0x2256('0x9c')],_0x43ac3b=_0x55a51b[_0x2256('0x9b')],_0x497725=_0x2d860a&&_0x2d860a['is']('element',_0x2256('0x75')),_0x1b94b4=_0x43ac3b&&_0x43ac3b['is'](_0x2256('0x20'),_0x2256('0x75'));_0x497725&&!_0x206a60['has'](_0x2d860a)&&_0x262bbb[_0x2256('0x99')](_0x2d860a),_0x1b94b4&&!_0x206a60[_0x2256('0x33')](_0x43ac3b)&&_0x262bbb['add'](_0x43ac3b);}else _0x55a51b['is'](_0x2256('0x20'),_0x2256('0x4e'))&&_0x55a51b[_0x2256('0x9')]&&(_0x1d348f['removeMarker'](_0x21787c['name']),_0x4e920b=!0x0);}}else{if(_0x2256('0x17')==_0x1d348f[_0x2256('0x0')]){if(!_0x1d348f[_0x2256('0x2')]||!_0x1d348f['attributes']['tablePasteChainId'])continue;const _0x529c9c=_0x1d348f[_0x2256('0x2')]['markerAttributes'];if(_0x529c9c&&Object[_0x2256('0x85')](_0x529c9c)['length'])continue;const _0x2cdc7b=_0x1d348f[_0x2256('0x2')][_0x2256('0xa')];let _0x3654b5=!0x0,_0x3cbcf2=!0x0;for(const _0x345053 of _0x4d37f7)if(_0x345053['subType']&&_0x345053[_0x2256('0x0')][_0x2256('0x46')]('tablePaste')){if(!_0x345053['attributes']['tablePasteChainId']){_0x3cbcf2=!0x1;break;}if(_0x345053['id']!=_0x1d348f['id']&&_0x345053[_0x2256('0x2')][_0x2256('0xa')]==_0x2cdc7b){_0x3654b5=!0x1;break;}}_0x3cbcf2&&_0x3654b5&&(_0x1d348f[_0x2256('0x1')](),_0x4e920b=!0x0);}}for(const _0x5f2bee of _0x206a60)_0x137fb0['remove'](_0x5f2bee);for(const _0x40542a of _0x262bbb)_0x137fb0[_0x2256('0x14')](_0x40542a);return _0x4e920b;}),_0x592677[_0x2256('0x80')][_0x2256('0x94')]('editingDowncast')[_0x2256('0x8a')]({'model':'suggestion:formatBlock:tablePasteCell','view':(_0x4d7417,_0x385125)=>_0x2b2121(_0x4d7417),'converterPriority':_0x2256('0x6b')}),_0x592677[_0x2256('0x80')][_0x2256('0x94')]('dataDowncast')['markerToHighlight']({'model':_0x2256('0x5d'),'view':(_0x265118,_0x8c77db)=>_0x8c77db[_0x2256('0x81')][_0x2256('0x2b')]?_0x2b2121(_0x265118,!0x1):null,'converterPriority':'high'});const _0x5d392e=_0x592677[_0x2256('0x29')]['view'];this[_0x2256('0xd')](_0x5d392e['document'],_0x2256('0x1e'),(_0x108b3e,_0x595581)=>{const _0x4fc40a=[];for(const _0x2c9eef of _0x5d392e['createRangeIn'](_0x595581[_0x2256('0x3e')])[_0x2256('0x6')]())_0x2c9eef['is'](_0x2256('0x20'),_0x2256('0xa0'))&&_0x4fc40a[_0x2256('0x68')](_0x2c9eef);_0x5d392e[_0x2256('0x89')](_0x172678=>{for(const _0x442465 of _0x4fc40a)_0x172678[_0x2256('0x30')](_0x172678['createRangeIn'](_0x442465),_0x172678[_0x2256('0x19')](_0x442465)),_0x172678[_0x2256('0x98')](_0x442465);});});}}function ce(_0x3a1cb1){if(_0x3a1cb1['isEmpty'])return!0x0;const _0x4041a7=_0x3a1cb1[_0x2256('0x48')](0x0);return _0x4041a7['is'](_0x2256('0x20'),_0x2256('0x4e'))&&_0x4041a7['isEmpty'];}function fe(_0x432321,_0x558f43={},_0x38da3d){for(const {isAnchor:_0x4eac31,cellHeight:_0x5490c7,cellWidth:_0x19e62a}of _0x38da3d[_0x2256('0x5c')](_0x432321,{'includeAllSlots':!0x0,..._0x558f43}))if(!_0x4eac31||0x1!=_0x5490c7||0x1!=_0x19e62a)return!0x1;return!0x0;}
23
+ const _0x4598=['Users','cells','change','TableUtils','createRangeOn','startsWith','createTableWalker','findAncestor','fill','subType','has','includes','getSuggestion','oldRange','ck-suggestion-marker-insertion','first','name','accept','hasSuggestion','markMultiRangeDeletion','rowInsertionRanges','element','isEqual','tableCellVerticalAlignment','start','from','cell','_isForcedDefaultExecutionBlock','insert','isInContent','set','tablePasteRow','suggestion:formatBlock:tablePasteCell','markMultiRangeBlockFormat','batch','conversion','for','documentSelection','register','getContainedElement','keys','differ','dataDowncast','tableCellBorderWidth','view','createElement','find','length','push','setAttributes','map','author','filter','getAllAdjacentSuggestions','rows','markers','suggestion','tablePaste','commands','rowInsertionIndexes','_suggestionFactory','markerAttributes','editor','getRanges','registerCustomCallback','table','tableCell','isEmpty','columnInsertionIndexes','_getCoordsForCells','getShiftedBy','column','add','columns','getChanges','options','newRange','type','insertionRanges','endRow','end','getRange','paragraph','nodeAfter','wrap','getAttributes','selection','activeMarkers','high','last','tablePasteColumn','showSuggestionHighlights','previous','createPositionBefore','suggestionLoaded','value','editingDowncast','position','return','getChangedMarkers','low','setAttribute','afterInit','getColumns','_tablePostFixingSubtypes','ck-suggestion-marker--active','tableCellBackgroundColor','discard','suggestion-td','insertRows','endColumn','document','_splitMarkerName','columnInsertionRanges','getItems','requires','some','insertContent','model','TableClipboard','createRangeIn','tableCellPadding','tableCellBorderStyle','unwrap','getChildren','forceDefaultExecution','locale','remove','attributes','tablePasteCell','tableCellSuggestion','deletion','removeMarkers','join','elementToElement','nextSibling','tableCellHorizontalAlignment','stop','plugins','getSuggestions','getChild','get','containsRange','getMarkers','removeMarker','fromEntries','content','removeRows','registerPostFixer','formatBlock','TrackChangesEditing','$graveyard','markerToHighlight','tablePasteChainId','getRowIndexes','removeColumns','markMultiRangeInsertion','schema','insertion','markerName','_descriptionFactory'];(function(_0x1a9ca2,_0x459861){const _0x30d7ba=function(_0x3d74f5){while(--_0x3d74f5){_0x1a9ca2['push'](_0x1a9ca2['shift']());}};_0x30d7ba(++_0x459861);}(_0x4598,0xd3));const _0x30d7=function(_0x1a9ca2,_0x459861){_0x1a9ca2=_0x1a9ca2-0x0;let _0x30d7ba=_0x4598[_0x1a9ca2];return _0x30d7ba;};import{getTranslation as _0x4f11c9}from'../utils/common-translations';import{Plugin as _0x193d5c}from'ckeditor5/src/core';import{uid as _0x30d86a,priorities as _0x251459}from'ckeditor5/src/utils';import _0x4af02b from'./table';const le=[_0x30d7('0x9a'),'tableCellBorderColor',_0x30d7('0x48'),_0x30d7('0x56'),_0x30d7('0x86'),_0x30d7('0x38'),_0x30d7('0x47')],ae=Object[_0x30d7('0x5f')](le['map'](_0x120f77=>[_0x120f77,null]));export default class wt extends _0x193d5c{static get[_0x30d7('0x41')](){return[_0x4af02b];}[_0x30d7('0x34')](){const _0x47f864=this[_0x30d7('0xc')];if(!_0x47f864[_0x30d7('0x58')]['has'](_0x30d7('0x45')))return;const _0x4791f1=_0x47f864[_0x30d7('0x58')][_0x30d7('0x5b')](_0x30d7('0x64')),_0x5771bb=_0x47f864[_0x30d7('0x58')][_0x30d7('0x5b')](_0x30d7('0x72')),_0x2ff99e=_0x47f864[_0x30d7('0x58')][_0x30d7('0x5b')](_0x4af02b),_0x2c0d82=_0x47f864[_0x30d7('0x58')][_0x30d7('0x5b')](_0x30d7('0x45'));_0x2ff99e[_0x30d7('0x36')][_0x30d7('0x9f')](_0x30d7('0x8e'),'tablePasteColumn'),_0x47f864[_0x30d7('0x44')][_0x30d7('0x6b')][_0x30d7('0x95')]('tableCellSuggestion',{'allowIn':_0x30d7('0x10'),'allowContentOf':_0x30d7('0x10'),'isLimit':!0x0}),_0x47f864[_0x30d7('0x92')][_0x30d7('0x54')]({'model':'tableCellSuggestion','view':_0x30d7('0x3a')});let _0x29992f=null;_0x47f864[_0x30d7('0x44')]['on']('insertContent',(_0x43043b,_0x410146)=>{const [_0x1d5f05,_0xcf9a8f]=_0x410146,_0x5955ec=_0x410146[_0x410146[_0x30d7('0x9e')]-0x1];_0x5955ec&&_0x5955ec[_0x30d7('0x4b')]||_0x4791f1[_0x30d7('0x8a')]||this[_0x30d7('0xc')][_0x30d7('0x8')][_0x30d7('0x5b')]('trackChanges')[_0x30d7('0x2d')]&&function(_0x4ecc7f,_0x490446,_0x88bde5,_0x2c139a,_0x5b6d5a){if(_0x490446&&!_0x490446['is'](_0x30d7('0x94')))return!0x1;const _0x552a81=_0x5b6d5a['getTableIfOnlyTableInContent'](_0x4ecc7f,_0x88bde5);if(!_0x552a81||!fe(_0x552a81,void 0x0,_0x2c139a))return!0x1;const _0x1ae513=_0x2c139a['getSelectionAffectedTableCells'](_0x88bde5['document'][_0x30d7('0x24')]);if(!_0x1ae513[_0x30d7('0x9e')])return!0x1;const _0x127f13=_0x1ae513[0x0][_0x30d7('0x76')](_0x30d7('0xf')),_0x3fe6f1=_0x2c139a[_0x30d7('0x68')](_0x1ae513),_0x37b6c9=_0x2c139a['getColumnIndexes'](_0x1ae513),_0x37f16b={'startRow':_0x3fe6f1['first'],'endRow':_0x3fe6f1[_0x30d7('0x27')],'startColumn':_0x37b6c9[_0x30d7('0x7e')],'endColumn':_0x37b6c9['last']};return 0x1==_0x1ae513[_0x30d7('0x9e')]&&(_0x37f16b[_0x30d7('0x1d')]+=_0x2c139a['getRows'](_0x552a81)-0x1,_0x37f16b[_0x30d7('0x3c')]+=_0x2c139a[_0x30d7('0x35')](_0x552a81)-0x1),fe(_0x127f13,_0x37f16b,_0x2c139a);}(_0x1d5f05,_0xcf9a8f,_0x47f864[_0x30d7('0x44')],_0x5771bb,_0x2c0d82)&&(_0x43043b[_0x30d7('0x57')](),_0x29992f={'cells':[],'insertionRanges':[],'deletionRanges':[],'rowInsertionRanges':[],'rowInsertionIndexes':[],'columnInsertionRanges':[],'columnInsertionIndexes':[]},_0x47f864[_0x30d7('0x44')][_0x30d7('0x71')](()=>{_0x47f864[_0x30d7('0x44')][_0x30d7('0x43')](_0x410146[0x0],_0x410146[0x1],_0x410146[0x2],{'forceDefaultExecution':!0x0});const _0x2b21a4=_0x30d86a(),{rowInsertionRanges:_0x495131,columnInsertionRanges:_0x5033ec,insertionRanges:_0x2785ea,deletionRanges:_0x299818,cells:_0x44847a}=_0x29992f;_0x495131['length']&&_0x4791f1[_0x30d7('0x6a')](_0x495131,_0x30d7('0x8e'),{'tablePasteChainId':_0x2b21a4}),_0x5033ec[_0x30d7('0x9e')]&&_0x4791f1[_0x30d7('0x6a')](_0x5033ec,_0x30d7('0x28'),{'tablePasteChainId':_0x2b21a4}),_0x2785ea[_0x30d7('0x9e')]&&_0x4791f1[_0x30d7('0x6a')](_0x2785ea,_0x30d7('0x7'),{'tablePasteChainId':_0x2b21a4,'skipNestingCheck':!0x0}),_0x299818['length']&&_0x4791f1[_0x30d7('0x82')](_0x299818,_0x30d7('0x7'),{'tablePasteChainId':_0x2b21a4,'skipNestingCheck':!0x0});const _0x33e85e=_0x4791f1[_0x30d7('0x90')](_0x44847a[_0x30d7('0x0')](({element:_0x553851})=>_0x553851),{'formatGroupId':_0x30d86a()},[],_0x30d7('0x4f'),{'tablePasteChainId':_0x2b21a4});if(_0x33e85e){const _0x52278f=_0x33e85e[_0x30d7('0x5d')](),_0x37ca11=[];for(const {element:_0x5d560b,attributes:_0x4bfe46}of _0x44847a){if(!_0x4bfe46)continue;const _0x2a7df7=_0x47f864[_0x30d7('0x44')]['createRangeOn'](_0x5d560b),_0x23d493=_0x52278f[_0x30d7('0x9d')](_0x39bdf9=>_0x39bdf9[_0x30d7('0x1f')]()['isEqual'](_0x2a7df7));_0x23d493&&_0x37ca11[_0x30d7('0x9f')]([_0x23d493[_0x30d7('0x7f')],_0x4bfe46]);}_0x37ca11['length']&&_0x33e85e[_0x30d7('0x33')]('markerAttributes',Object['fromEntries'](_0x37ca11));}_0x29992f=null;}));},{'priority':_0x251459[_0x30d7('0x26')]+0xa}),_0x47f864[_0x30d7('0x58')][_0x30d7('0x5b')](_0x30d7('0x45'))['on']('_replaceTableSlotCell',(_0x4c34a7,_0x159a1b)=>{const [_0xb062a7,_0x12609a,,_0x2f4676]=_0x159a1b;if(!_0x29992f)return;_0x4c34a7[_0x30d7('0x57')]();const _0x176f04=_0xb062a7[_0x30d7('0x89')],_0x56a24a=_0x12609a,_0x23dbbb=ce(_0x176f04),_0x37fcca=ce(_0x56a24a);_0x4c34a7[_0x30d7('0x30')]=_0x176f04;let _0x4db56a=null,_0x57612b=null;if(_0x37fcca||_0x23dbbb){if(_0x23dbbb&&!_0x37fcca){_0x2f4676['remove'](_0x176f04[_0x30d7('0x5a')](0x0));for(const _0x4405f8 of Array[_0x30d7('0x88')](_0x56a24a[_0x30d7('0x4a')]()))_0x2f4676[_0x30d7('0x8b')](_0x4405f8,_0x176f04,_0x30d7('0x1e'));const _0x4558f2=_0x29992f[_0x30d7('0x9')][_0x30d7('0x7a')](_0xb062a7['row']),_0x2c3cef=_0x29992f['columnInsertionIndexes'][_0x30d7('0x7a')](_0xb062a7[_0x30d7('0x15')]);_0x4558f2||_0x2c3cef||(_0x4db56a=_0x2f4676[_0x30d7('0x46')](_0x176f04));}else _0x37fcca&&!_0x23dbbb&&(_0x57612b=_0x2f4676[_0x30d7('0x46')](_0x176f04));}else{const _0x150be8=_0x2f4676[_0x30d7('0x9c')]('tableCellSuggestion'),_0x363d29=_0x2f4676[_0x30d7('0x9c')]('tableCellSuggestion');_0x2f4676[_0x30d7('0x22')](_0x2f4676[_0x30d7('0x46')](_0x176f04),_0x363d29),_0x2f4676[_0x30d7('0x8b')](_0x150be8,_0x176f04,0x0);for(const _0x720c5a of Array[_0x30d7('0x88')](_0x56a24a[_0x30d7('0x4a')]()))_0x2f4676[_0x30d7('0x8b')](_0x720c5a,_0x150be8,_0x30d7('0x1e'));_0x4db56a=_0x2f4676[_0x30d7('0x73')](_0x150be8),_0x57612b=_0x2f4676[_0x30d7('0x73')](_0x363d29);}const _0x1bf83c=Array[_0x30d7('0x88')](_0x56a24a[_0x30d7('0x23')]())[_0x30d7('0x2')](([_0x543c8b])=>le['includes'](_0x543c8b));_0x29992f[_0x30d7('0x70')][_0x30d7('0x9f')]({'element':_0x176f04,'attributes':_0x1bf83c['length']?Object[_0x30d7('0x5f')](_0x1bf83c):null}),_0x4db56a&&_0x29992f[_0x30d7('0x1c')][_0x30d7('0x9f')](_0x4db56a),_0x57612b&&_0x29992f['deletionRanges'][_0x30d7('0x9f')](_0x57612b);},{'priority':_0x30d7('0x26')}),_0x5771bb['on']('insertColumns',(_0x104df8,_0x47ffa8)=>{const [_0x5c336b,_0x68cfd9={}]=_0x47ffa8;if(!_0x29992f)return;const _0x2c1997=_0x68cfd9['at']||0x0,_0x253399=_0x68cfd9[_0x30d7('0x17')]||0x1;_0x29992f[_0x30d7('0x12')]=new Array(_0x253399)[_0x30d7('0x77')](_0x2c1997)['map']((_0x31afed,_0x11877b)=>_0x31afed+_0x11877b);for(const {cell:_0x71b0eb}of _0x5771bb[_0x30d7('0x75')](_0x5c336b,{'startColumn':_0x2c1997,'endColumn':_0x2c1997+_0x253399-0x1}))_0x29992f[_0x30d7('0x3f')][_0x30d7('0x9f')](_0x47f864[_0x30d7('0x44')]['createRangeOn'](_0x71b0eb));},{'priority':_0x30d7('0x32')}),_0x5771bb['on'](_0x30d7('0x3b'),(_0x1e9097,_0x3bd84f)=>{const [_0x3bc949,_0x334c7d={}]=_0x3bd84f;if(!_0x29992f)return;const _0x22a57e=_0x334c7d['at']||0x0,_0x3eccc6=_0x334c7d[_0x30d7('0x4')]||0x1;_0x29992f[_0x30d7('0x9')]=new Array(_0x3eccc6)[_0x30d7('0x77')](_0x22a57e)[_0x30d7('0x0')]((_0x430b6e,_0x205dd2)=>_0x430b6e+_0x205dd2);for(const {cell:_0x1761c0}of _0x5771bb[_0x30d7('0x75')](_0x3bc949,{'startRow':_0x22a57e,'endRow':_0x22a57e+_0x3eccc6-0x1}))_0x29992f[_0x30d7('0x83')][_0x30d7('0x9f')](_0x47f864[_0x30d7('0x44')][_0x30d7('0x73')](_0x1761c0));},{'priority':'low'}),_0x4791f1[_0x30d7('0x6e')]['registerDescriptionCallback'](_0x1f2dac=>{if(_0x1f2dac['subType']&&_0x1f2dac[_0x30d7('0x78')][_0x30d7('0x74')](_0x30d7('0x7')))return _0x1f2dac[_0x30d7('0x2a')]?{}:{'type':'insertion','content':_0x4f11c9(_0x47f864[_0x30d7('0x4c')],'*Replace\x20table\x20cells*')};});const _0x36f9b4=()=>!0x1;for(const _0x311ea0 of['tablePaste',_0x30d7('0x28'),_0x30d7('0x8e'),_0x30d7('0x4f')])_0x4791f1['_suggestionFactory'][_0x30d7('0xe')](_0x30d7('0x6c'),_0x311ea0,_0x30d7('0x53'),_0x36f9b4),_0x4791f1[_0x30d7('0xa')][_0x30d7('0xe')](_0x30d7('0x51'),_0x311ea0,'join',_0x36f9b4),_0x4791f1[_0x30d7('0xa')][_0x30d7('0xe')](_0x30d7('0x63'),_0x311ea0,_0x30d7('0x53'),_0x36f9b4);_0x4791f1[_0x30d7('0xa')]['registerCustomCallback'](_0x30d7('0x63'),_0x30d7('0x4f'),'discard',_0x36f9b4),_0x4791f1[_0x30d7('0xa')][_0x30d7('0xe')](_0x30d7('0x63'),'tablePasteCell',_0x30d7('0x80'),(_0x431312,_0x133fb8,_0x45fbe4)=>{const _0x423bf0=_0x431312['map'](_0x2c6ba4=>_0x2c6ba4[_0x30d7('0x96')]())[_0x30d7('0x2')](_0x1c8590=>_0x1c8590),_0x49d1b4=new Map(_0x423bf0[_0x30d7('0x0')](_0x495dcb=>[_0x495dcb,null]));if(_0x29992f)for(const {element:_0x517d80,attributes:_0x1ebfd7}of _0x29992f[_0x30d7('0x70')])_0x1ebfd7&&_0x49d1b4[_0x30d7('0x8d')](_0x517d80,_0x1ebfd7);else{if(_0x45fbe4&&_0x45fbe4[_0x30d7('0xb')])for(const [_0x594c89,_0x2acdf5]of Object['entries'](_0x45fbe4[_0x30d7('0xb')])){const _0xbfed9e=_0x47f864[_0x30d7('0x44')][_0x30d7('0x5')][_0x30d7('0x5b')](_0x594c89),_0x20f77e=_0xbfed9e?_0xbfed9e[_0x30d7('0x1f')]()['getContainedElement']():null;_0x20f77e&&_0x49d1b4['set'](_0x20f77e,_0x2acdf5);}}_0x47f864[_0x30d7('0x44')]['change'](_0x50b8d8=>{for(const [_0x30f354,_0x284067]of _0x49d1b4)_0x50b8d8[_0x30d7('0xa0')]({...ae,..._0x284067},_0x30f354);});});const _0x38be4b=(_0x2d55dd,_0x2be451)=>{_0x4791f1[_0x30d7('0xa')][_0x30d7('0xe')](_0x2d55dd,_0x30d7('0x7'),_0x2be451,(_0x109292,_0x2a8281,_0x3610c3)=>{_0x47f864[_0x30d7('0x44')][_0x30d7('0x71')](_0x881078=>{const _0x5d101d=[];for(const _0x483e6a of _0x109292){const _0xcd3470=_0x483e6a[_0x30d7('0x87')][_0x30d7('0x21')];_0xcd3470['is']('element',_0x30d7('0x50'))&&_0x5d101d[_0x30d7('0x9f')](_0xcd3470);}_0x4791f1[_0x30d7('0xa')]['getSuggestionCallback'](_0x2d55dd,null,_0x2be451)(_0x109292,_0x2a8281,_0x3610c3);for(const _0x358b81 of _0x5d101d)_0x30d7('0x65')!=_0x358b81['root']['rootName']&&_0x881078['unwrap'](_0x358b81);});});};_0x38be4b(_0x30d7('0x6c'),_0x30d7('0x80')),_0x38be4b(_0x30d7('0x6c'),_0x30d7('0x39')),_0x38be4b(_0x30d7('0x51'),'accept'),_0x38be4b('deletion',_0x30d7('0x39')),_0x4791f1['_suggestionFactory'][_0x30d7('0xe')](_0x30d7('0x6c'),_0x30d7('0x8e'),_0x30d7('0x39'),_0x17b400=>{const _0x295cbb=_0x17b400[_0x30d7('0x0')](_0xe83555=>_0xe83555[_0x30d7('0x96')]()),_0x4d1748=_0x295cbb[0x0]['findAncestor'](_0x30d7('0xf')),{minRow:_0x2518d4,maxRow:_0x1a0101}=_0x2ff99e[_0x30d7('0x13')](_0x295cbb);_0x5771bb[_0x30d7('0x61')](_0x4d1748,{'at':_0x2518d4,'rows':_0x1a0101-_0x2518d4+0x1});}),_0x4791f1[_0x30d7('0xa')][_0x30d7('0xe')](_0x30d7('0x6c'),_0x30d7('0x28'),_0x30d7('0x39'),_0x8f2e81=>{const _0x1ff3fa=_0x8f2e81[_0x30d7('0x0')](_0x54ad6a=>_0x54ad6a[_0x30d7('0x96')]()),_0x491dc6=_0x1ff3fa[0x0][_0x30d7('0x76')](_0x30d7('0xf')),{minColumn:_0x2b78e9,maxColumn:_0x510e01}=_0x2ff99e[_0x30d7('0x13')](_0x1ff3fa);_0x5771bb[_0x30d7('0x69')](_0x491dc6,{'at':_0x2b78e9,'columns':_0x510e01-_0x2b78e9+0x1});});const _0x1a56ba=(_0x1bd6a3,_0x389d86)=>{if(!_0x389d86[_0x30d7('0x78')]||!_0x389d86[_0x30d7('0x78')][_0x30d7('0x74')](_0x30d7('0x7')))return;const _0x261b7e=_0x389d86[_0x30d7('0x4e')][_0x30d7('0x67')],_0x226d0c=_0x4791f1[_0x30d7('0x59')]()[_0x30d7('0x2')](_0x16363d=>_0x16363d[_0x30d7('0x8c')]&&_0x16363d[_0x30d7('0x4e')]&&_0x16363d[_0x30d7('0x4e')][_0x30d7('0x67')]==_0x261b7e);_0x226d0c[_0x30d7('0x9e')]&&_0x389d86[_0x30d7('0x3')]()[_0x30d7('0x9e')]!=_0x226d0c[_0x30d7('0x9e')]&&_0x226d0c['reduce']((_0x4294c1,_0x203767)=>(_0x4294c1['next']=_0x203767,_0x203767['previous']=_0x4294c1,_0x203767));};function _0x54c692(_0x117fd2,_0x3a482f=!0x0){const {id:_0x36f74e}=_0x4791f1[_0x30d7('0x3e')](_0x117fd2['markerName']),_0x5c4640=['ck-suggestion-marker',_0x30d7('0x7d')],_0x550019=_0x4791f1[_0x30d7('0x25')][_0x30d7('0x7a')](_0x117fd2[_0x30d7('0x6d')]);return _0x550019&&_0x5c4640[_0x30d7('0x9f')](_0x30d7('0x37')),{'classes':_0x5c4640,'attributes':{'data-suggestion':_0x36f74e},'priority':_0x550019&&_0x3a482f?0xbc2:0xbb8};}_0x4791f1['on'](_0x30d7('0x2c'),_0x1a56ba,{'priority':_0x30d7('0x26')}),_0x4791f1['on']('suggestionUnloaded',_0x1a56ba,{'priority':_0x30d7('0x26')}),_0x47f864[_0x30d7('0x44')]['document'][_0x30d7('0x62')](()=>{let _0x5981f9=!0x1;const _0x24b259=Array[_0x30d7('0x88')](_0x47f864[_0x30d7('0x44')][_0x30d7('0x3d')][_0x30d7('0x98')][_0x30d7('0x31')]());for(const {name:_0x3d5e97,data:_0x3417b1}of _0x24b259){const {group:_0x4fe255,type:_0x473d7d,id:_0x4f59e6}=_0x4791f1[_0x30d7('0x3e')](_0x3d5e97);if(_0x30d7('0x6')!=_0x4fe255||_0x30d7('0x51')!=_0x473d7d||_0x3417b1[_0x30d7('0x7c')])continue;if(!_0x4791f1[_0x30d7('0x81')](_0x4f59e6))continue;const _0x15f8dd=_0x4791f1[_0x30d7('0x7b')](_0x4f59e6)[_0x30d7('0xd')](),_0x1fe7f9=_0x47f864[_0x30d7('0x58')][_0x30d7('0x5b')]('Users')['me'];for(const _0x143c9b of _0x4791f1[_0x30d7('0x59')]()){if(!_0x143c9b[_0x30d7('0x8c')]||_0x143c9b['author']!=_0x1fe7f9)continue;if(_0x30d7('0x63')!=_0x143c9b[_0x30d7('0x1b')]||_0x30d7('0x4f')!=_0x143c9b[_0x30d7('0x78')])continue;if(_0x143c9b[_0x30d7('0xd')]()['every'](_0x7c6f11=>_0x15f8dd[_0x30d7('0x42')](_0x4673c4=>_0x4673c4[_0x30d7('0x5c')](_0x7c6f11,!0x0))))for(const _0x3335f3 of _0x143c9b['getAllAdjacentSuggestions']())_0x3335f3[_0x30d7('0x8c')]&&(_0x3335f3[_0x30d7('0x39')](),_0x5981f9=!0x0);}}return _0x5981f9;}),_0x47f864['model'][_0x30d7('0x3d')]['registerPostFixer'](_0x7aceb1=>{const _0x5707dc=_0x47f864[_0x30d7('0x8')][_0x30d7('0x5b')]('redo');if(!_0x5707dc||!_0x5707dc['_createdBatches']['has'](_0x7aceb1[_0x30d7('0x91')]))return!0x1;let _0x1e13ce=!0x1;const _0x214d47=_0x47f864[_0x30d7('0x58')][_0x30d7('0x5b')](_0x30d7('0x6f'))['me'],_0x35f592=_0x47f864[_0x30d7('0x44')]['document'][_0x30d7('0x98')][_0x30d7('0x18')](),_0x140028=Array[_0x30d7('0x88')](_0x47f864[_0x30d7('0x44')]['document'][_0x30d7('0x98')][_0x30d7('0x31')]())[_0x30d7('0x2')](({name:_0x56faa2,data:_0x36bb13})=>{const {group:_0x25146a,subType:_0x15d474,authorId:_0x474180}=_0x4791f1[_0x30d7('0x3e')](_0x56faa2);return'suggestion'==_0x25146a&&'tablePaste'==_0x15d474&&_0x474180==_0x214d47['id']&&!_0x36bb13[_0x30d7('0x7c')];});for(const _0x5517ea of _0x35f592){if('insert'!=_0x5517ea[_0x30d7('0x1b')]||'tableCellSuggestion'!=_0x5517ea[_0x30d7('0x7f')]||0x1!=_0x5517ea[_0x30d7('0x9e')])continue;const _0x44ae2d=_0x7aceb1['createRange'](_0x5517ea[_0x30d7('0x2f')],_0x5517ea['position'][_0x30d7('0x14')](0x1));if(!_0x140028['find'](({data:_0x1d43a5})=>_0x1d43a5[_0x30d7('0x1a')][_0x30d7('0x85')](_0x44ae2d)))for(const {name:_0x21b358,data:_0x156f00}of _0x140028)if(_0x44ae2d[_0x30d7('0x5c')](_0x156f00['newRange'])){_0x7aceb1['updateMarker'](_0x21b358,{'range':_0x44ae2d}),_0x1e13ce=!0x0;break;}}return _0x1e13ce;}),_0x47f864[_0x30d7('0x44')][_0x30d7('0x3d')][_0x30d7('0x62')](_0x587959=>{let _0x1519b3=!0x1;const _0x51fb40=_0x47f864['plugins'][_0x30d7('0x5b')](_0x30d7('0x6f'))['me'],_0x573c5e=_0x4791f1[_0x30d7('0x59')]()[_0x30d7('0x2')](_0x2d1513=>_0x2d1513['isInContent']&&_0x2d1513[_0x30d7('0x1')]==_0x51fb40),_0x2beb7a=new Set(),_0x1a3fa5=new Set();for(const _0x36f404 of _0x573c5e)if('tablePaste'==_0x36f404['subType'])for(const _0xd5af5a of _0x36f404[_0x30d7('0x5d')]()){const _0xee6d1c=_0xd5af5a[_0x30d7('0x1f')]()[_0x30d7('0x96')]();if(_0xee6d1c){if(_0xee6d1c['is'](_0x30d7('0x84'),'tableCellSuggestion')&&ce(_0xee6d1c)){_0x36f404[_0x30d7('0x5e')](_0xd5af5a[_0x30d7('0x7f')]),_0x2beb7a[_0x30d7('0x16')](_0xee6d1c),_0x1519b3=!0x0;const _0x1f1c8e=_0xee6d1c[_0x30d7('0x55')],_0x2980c2=_0xee6d1c['previousSibling'],_0x310c2f=_0x1f1c8e&&_0x1f1c8e['is'](_0x30d7('0x84'),_0x30d7('0x50')),_0x192c6e=_0x2980c2&&_0x2980c2['is'](_0x30d7('0x84'),'tableCellSuggestion');_0x310c2f&&!_0x2beb7a[_0x30d7('0x79')](_0x1f1c8e)&&_0x1a3fa5[_0x30d7('0x16')](_0x1f1c8e),_0x192c6e&&!_0x2beb7a[_0x30d7('0x79')](_0x2980c2)&&_0x1a3fa5[_0x30d7('0x16')](_0x2980c2);}else _0xee6d1c['is']('element',_0x30d7('0x20'))&&_0xee6d1c[_0x30d7('0x11')]&&(_0x36f404['removeMarker'](_0xd5af5a[_0x30d7('0x7f')]),_0x1519b3=!0x0);}}else{if(_0x30d7('0x4f')==_0x36f404[_0x30d7('0x78')]){if(!_0x36f404[_0x30d7('0x4e')]||!_0x36f404['attributes'][_0x30d7('0x67')])continue;const _0x425b3c=_0x36f404[_0x30d7('0x4e')][_0x30d7('0xb')];if(_0x425b3c&&Object[_0x30d7('0x97')](_0x425b3c)['length'])continue;const _0x340cb6=_0x36f404[_0x30d7('0x4e')][_0x30d7('0x67')];let _0x3a75d8=!0x0,_0x7fea9d=!0x0;for(const _0x49f1d8 of _0x573c5e)if(_0x49f1d8['subType']&&_0x49f1d8['subType'][_0x30d7('0x74')]('tablePaste')){if(!_0x49f1d8['attributes'][_0x30d7('0x67')]){_0x7fea9d=!0x1;break;}if(_0x49f1d8['id']!=_0x36f404['id']&&_0x49f1d8[_0x30d7('0x4e')][_0x30d7('0x67')]==_0x340cb6){_0x3a75d8=!0x1;break;}}_0x7fea9d&&_0x3a75d8&&(_0x36f404[_0x30d7('0x52')](),_0x1519b3=!0x0);}}for(const _0x40fc98 of _0x2beb7a)_0x587959[_0x30d7('0x4d')](_0x40fc98);for(const _0xc6aaf2 of _0x1a3fa5)_0x587959[_0x30d7('0x49')](_0xc6aaf2);return _0x1519b3;}),_0x47f864[_0x30d7('0x92')]['for'](_0x30d7('0x2e'))[_0x30d7('0x66')]({'model':_0x30d7('0x8f'),'view':(_0x934def,_0x1b5c0f)=>_0x54c692(_0x934def),'converterPriority':_0x30d7('0x26')}),_0x47f864['conversion'][_0x30d7('0x93')](_0x30d7('0x99'))[_0x30d7('0x66')]({'model':'suggestion:formatBlock:tablePasteCell','view':(_0x3333c7,_0x346dde)=>_0x346dde[_0x30d7('0x19')][_0x30d7('0x29')]?_0x54c692(_0x3333c7,!0x1):null,'converterPriority':_0x30d7('0x26')});const _0x495ac6=_0x47f864['editing'][_0x30d7('0x9b')];this['listenTo'](_0x495ac6[_0x30d7('0x3d')],'clipboardOutput',(_0x366754,_0x51d0c1)=>{const _0x4ebd76=[];for(const _0x51644e of _0x495ac6['createRangeIn'](_0x51d0c1[_0x30d7('0x60')])[_0x30d7('0x40')]())_0x51644e['is'](_0x30d7('0x84'),'suggestion-td')&&_0x4ebd76[_0x30d7('0x9f')](_0x51644e);_0x495ac6[_0x30d7('0x71')](_0x157cf6=>{for(const _0x557175 of _0x4ebd76)_0x157cf6['move'](_0x157cf6['createRangeIn'](_0x557175),_0x157cf6[_0x30d7('0x2b')](_0x557175)),_0x157cf6[_0x30d7('0x4d')](_0x557175);});});}}function ce(_0x331deb){if(_0x331deb[_0x30d7('0x11')])return!0x0;const _0x24a75a=_0x331deb[_0x30d7('0x5a')](0x0);return _0x24a75a['is']('element',_0x30d7('0x20'))&&_0x24a75a[_0x30d7('0x11')];}function fe(_0x1726b3,_0x53875c={},_0x565e3f){for(const {isAnchor:_0x2fa5f6,cellHeight:_0x1d8f8a,cellWidth:_0x4c01cf}of _0x565e3f['createTableWalker'](_0x1726b3,{'includeAllSlots':!0x0,..._0x53875c}))if(!_0x2fa5f6||0x1!=_0x1d8f8a||0x1!=_0x4c01cf)return!0x1;return!0x0;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5208=['_suggestionFactory','editor','selection','plugins','tableWidth','getAttribute','getSuggestionCallback','handleResizeTableWidthCommand','resizeTable','resizeColumnWidths','subType','change','registerCustomCallback','formatBlock','Users','discard','getTableColumnsWidths','TableColumnResizeEditing','enableCommand','accept','format','get','resizeTableWidth','bind','markBlockFormat','getColumnGroupElement','*Format:*\x20resize\x20table','handleSuggestionDescription','document','data','author','commandParams','getContainedElement','getSuggestions','TrackChangesEditing','_descriptionFactory','formatGroupId','getSelectedElement','model'];(function(_0x51cd9f,_0x52083d){const _0x2993dc=function(_0x1c0f2b){while(--_0x1c0f2b){_0x51cd9f['push'](_0x51cd9f['shift']());}};_0x2993dc(++_0x52083d);}(_0x5208,0x1bb));const _0x2993=function(_0x51cd9f,_0x52083d){_0x51cd9f=_0x51cd9f-0x0;let _0x2993dc=_0x5208[_0x51cd9f];return _0x2993dc;};import{Plugin as _0x23f797}from'ckeditor5/src/core';import{getTranslation as _0x5a7cbe}from'../utils/common-translations';export default class yt extends _0x23f797{['afterInit'](){if(!this[_0x2993('0x1a')]['plugins']['has'](_0x2993('0x3')))return;const _0x5af794=this[_0x2993('0x1a')][_0x2993('0x1c')][_0x2993('0x7')](_0x2993('0x14'));_0x5af794[_0x2993('0x4')](_0x2993('0x8'),this[_0x2993('0x20')]['bind'](this)),_0x5af794['enableCommand'](_0x2993('0x22'),this[_0x2993('0x20')]['bind'](this)),_0x5af794[_0x2993('0x19')][_0x2993('0x25')]('formatBlock',_0x2993('0x21'),_0x2993('0x5'),_0x5af794['_suggestionFactory'][_0x2993('0x1f')](_0x2993('0x26'),null,_0x2993('0x1'))),_0x5af794[_0x2993('0x19')][_0x2993('0x25')]('formatBlock','resizeTable',_0x2993('0x1'),_0x5af794[_0x2993('0x19')][_0x2993('0x1f')](_0x2993('0x26'),null,_0x2993('0x5'))),_0x5af794[_0x2993('0x15')]['registerDescriptionCallback'](this[_0x2993('0xd')][_0x2993('0x9')](this));}['handleResizeTableWidthCommand'](_0x1cb6cc,_0x560a52){const _0x37d615=this[_0x2993('0x1a')][_0x2993('0x1c')][_0x2993('0x7')](_0x2993('0x14')),_0xe3f99a=this[_0x2993('0x1a')][_0x2993('0x1c')][_0x2993('0x7')]('TableColumnResizeEditing'),_0x3d2f9b=_0x560a52['table']||this[_0x2993('0x1a')]['model'][_0x2993('0xe')][_0x2993('0x1b')][_0x2993('0x17')]();this[_0x2993('0x1a')][_0x2993('0x18')][_0x2993('0x24')](()=>{const _0x3209b6=_0xe3f99a[_0x2993('0xb')](_0x3d2f9b);let _0x4f3adc=_0x3209b6?_0xe3f99a[_0x2993('0x2')](_0x3209b6):null,_0x59a674=_0x3d2f9b[_0x2993('0x1e')](_0x2993('0x1d'))||null;const _0x3b5c09=_0x560a52[_0x2993('0x1d')]||_0x59a674,_0x1c248b=_0x560a52['columnWidths']||_0x4f3adc,_0x2e7d34=this[_0x2993('0x1a')][_0x2993('0x1c')]['get'](_0x2993('0x0'))['me'];for(const _0x5f5317 of _0x37d615[_0x2993('0x13')]()){const _0x36a060=_0x5f5317[_0x2993('0x12')]();if(_0x2993('0x21')===_0x5f5317[_0x2993('0x23')]&&_0x36a060===_0x3d2f9b){_0x5f5317[_0x2993('0x10')]!==_0x2e7d34&&_0x5f5317[_0x2993('0x1')]();const _0x49e69f=_0x5f5317[_0x2993('0xf')][_0x2993('0x11')];_0x59a674=_0x49e69f[0x0]['tableWidth'],_0x4f3adc=_0x49e69f[0x0]['columnWidths'];break;}}_0x1cb6cc({'table':_0x3d2f9b,'tableWidth':_0x3b5c09,'columnWidths':_0x1c248b}),_0x37d615[_0x2993('0xa')](_0x3d2f9b,{'commandName':_0x2993('0x8'),'commandParams':[{'tableWidth':_0x59a674,'columnWidths':_0x4f3adc}],'formatGroupId':_0x2993('0x21')},[],'resizeTable');});}[_0x2993('0xd')](_0x436d3b){const {data:_0x23fd57}=_0x436d3b;if(_0x23fd57&&_0x2993('0x21')===_0x23fd57[_0x2993('0x16')]){const _0x309fbf=_0x2993('0xc');return{'type':_0x2993('0x6'),'content':_0x5a7cbe(this[_0x2993('0x1a')]['locale'],_0x309fbf)};}}}
23
+ const _0x25dc=['has','tableWidth','handleResizeTableWidthCommand','bind','getAttribute','data','selection','get','registerDescriptionCallback','model','formatBlock','TableColumnResizeEditing','Users','getTableColumnsWidths','editor','handleSuggestionDescription','enableCommand','_suggestionFactory','getSelectedElement','plugins','format','accept','document','registerCustomCallback','formatGroupId','resizeTable','TrackChangesEditing','resizeColumnWidths','locale','discard','*Format:*\x20resize\x20table','getSuggestionCallback','afterInit','_descriptionFactory','resizeTableWidth','commandParams','author'];(function(_0x213bf4,_0x25dc4e){const _0xdc1270=function(_0x18b1a6){while(--_0x18b1a6){_0x213bf4['push'](_0x213bf4['shift']());}};_0xdc1270(++_0x25dc4e);}(_0x25dc,0xef));const _0xdc12=function(_0x213bf4,_0x25dc4e){_0x213bf4=_0x213bf4-0x0;let _0xdc1270=_0x25dc[_0x213bf4];return _0xdc1270;};import{Plugin as _0x2709e5}from'ckeditor5/src/core';import{getTranslation as _0x5009b0}from'../utils/common-translations';export default class yt extends _0x2709e5{[_0xdc12('0xf')](){if(!this[_0xdc12('0x22')][_0xdc12('0x2')][_0xdc12('0x14')](_0xdc12('0x1f')))return;const _0x4d415c=this[_0xdc12('0x22')][_0xdc12('0x2')][_0xdc12('0x1b')](_0xdc12('0x9'));_0x4d415c[_0xdc12('0x24')](_0xdc12('0x11'),this[_0xdc12('0x16')][_0xdc12('0x17')](this)),_0x4d415c[_0xdc12('0x24')](_0xdc12('0xa'),this[_0xdc12('0x16')][_0xdc12('0x17')](this)),_0x4d415c[_0xdc12('0x0')][_0xdc12('0x6')](_0xdc12('0x1e'),'resizeTable',_0xdc12('0x4'),_0x4d415c[_0xdc12('0x0')][_0xdc12('0xe')]('formatBlock',null,_0xdc12('0xc'))),_0x4d415c[_0xdc12('0x0')]['registerCustomCallback'](_0xdc12('0x1e'),_0xdc12('0x8'),_0xdc12('0xc'),_0x4d415c[_0xdc12('0x0')][_0xdc12('0xe')](_0xdc12('0x1e'),null,_0xdc12('0x4'))),_0x4d415c[_0xdc12('0x10')][_0xdc12('0x1c')](this[_0xdc12('0x23')][_0xdc12('0x17')](this));}[_0xdc12('0x16')](_0x1f3e98,_0x407243){const _0x434dff=this[_0xdc12('0x22')][_0xdc12('0x2')][_0xdc12('0x1b')](_0xdc12('0x9')),_0x3873d7=this[_0xdc12('0x22')][_0xdc12('0x2')]['get'](_0xdc12('0x1f')),_0x23a5ad=_0x407243['table']||this['editor'][_0xdc12('0x1d')][_0xdc12('0x5')][_0xdc12('0x1a')][_0xdc12('0x1')]();this['editor']['model']['change'](()=>{const _0x5b9d39=_0x3873d7['getColumnGroupElement'](_0x23a5ad);let _0x3e79ec=_0x5b9d39?_0x3873d7[_0xdc12('0x21')](_0x5b9d39):null,_0xd8ce6a=_0x23a5ad[_0xdc12('0x18')]('tableWidth')||null;const _0x5c3786=_0x407243[_0xdc12('0x15')]||_0xd8ce6a,_0x11f8d2=_0x407243['columnWidths']||_0x3e79ec,_0x4a7f99=this['editor'][_0xdc12('0x2')][_0xdc12('0x1b')](_0xdc12('0x20'))['me'];for(const _0x9a5374 of _0x434dff['getSuggestions']()){const _0xd29f30=_0x9a5374['getContainedElement']();if(_0xdc12('0x8')===_0x9a5374['subType']&&_0xd29f30===_0x23a5ad){_0x9a5374[_0xdc12('0x13')]!==_0x4a7f99&&_0x9a5374[_0xdc12('0xc')]();const _0x17a550=_0x9a5374[_0xdc12('0x19')][_0xdc12('0x12')];_0xd8ce6a=_0x17a550[0x0][_0xdc12('0x15')],_0x3e79ec=_0x17a550[0x0]['columnWidths'];break;}}_0x1f3e98({'table':_0x23a5ad,'tableWidth':_0x5c3786,'columnWidths':_0x11f8d2}),_0x434dff['markBlockFormat'](_0x23a5ad,{'commandName':_0xdc12('0x11'),'commandParams':[{'tableWidth':_0xd8ce6a,'columnWidths':_0x3e79ec}],'formatGroupId':'resizeTable'},[],'resizeTable');});}[_0xdc12('0x23')](_0x3d6d21){const {data:_0x2452f4}=_0x3d6d21;if(_0x2452f4&&_0xdc12('0x8')===_0x2452f4[_0xdc12('0x7')]){const _0x5b06a9=_0xdc12('0xd');return{'type':_0xdc12('0x3'),'content':_0x5009b0(this[_0xdc12('0x22')][_0xdc12('0xb')],_0x5b06a9)};}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1d2d=['cell','parent','removeClass','getSuggestion','addClass','commandName','getCellLocation','unbindElementFromMarkerName','_descriptionFactory','getAttribute','locale','data','first','createPositionAfter','removeMarker:suggestion','createPositionBefore','_splitMarkerName','addMarker:suggestion','removeAttribute','selection','highest','registerDescriptionCallback','markerRange','downcastDispatcher','bindElementToMarker','accept','plugins','headingColumns','editing','formatBlock','createRange','nodeBefore','format','forceValue','ck-suggestion-marker-','FORMAT_HEADER_COLUMN','registerCustomCallback','TrackChangesEditing','includes','getRowIndexes','FORMAT_HEADER_ROW','from','index','isBefore','*Format:*\x20%0','mapper','findAncestor','end','getChild','getSelectionAffectedTableCells','item','writer','afterInit','enableCommand','setTableRowHeader','setAttribute','_suggestionFactory','headingRows','model','_acceptFormatSuggestionCallbackFactory','last','toViewElement','has','nodeAfter','TableUtils','setTableColumnHeader','TableEditing','document','get','markerName','ck-suggestion-marker--active','consumable','markerNameToElements','requires','commands','commandParams','value','start','FORMAT_REGULAR_COLUMN','markBlockFormat','createTableWalker','activeMarkers','editor','childCount','FORMAT_REGULAR_ROW','name','table'];(function(_0x341975,_0x1d2d68){const _0x414572=function(_0x7e5f62){while(--_0x7e5f62){_0x341975['push'](_0x341975['shift']());}};_0x414572(++_0x1d2d68);}(_0x1d2d,0x13f));const _0x4145=function(_0x341975,_0x1d2d68){_0x341975=_0x341975-0x0;let _0x414572=_0x1d2d[_0x341975];return _0x414572;};import{Plugin as _0x43233d}from'ckeditor5/src/core';import _0x4d8c05 from'./table';import{getTranslation as _0x5ca3c7}from'../utils/common-translations';export default class kt extends _0x43233d{static get[_0x4145('0xf')](){return[_0x4d8c05];}[_0x4145('0x51')](){const _0x55d253=this[_0x4145('0x18')];if(!_0x55d253['plugins'][_0x4145('0x4')](_0x4145('0x8')))return;const _0x1d3bdc=_0x55d253[_0x4145('0x27')],_0x3378a7=_0x55d253[_0x4145('0x37')][_0x4145('0xa')](_0x4145('0x42')),_0x360212=_0x55d253[_0x4145('0x37')][_0x4145('0xa')](_0x4145('0x6')),_0x2dcad0=_0x55d253[_0x4145('0x37')][_0x4145('0xa')](_0x4d8c05);function _0x1a8897({showActiveMarker:_0x4ed035=!0x0,setDataAttribute:_0x1bc314=!0x0}={}){return(_0x2c893b,_0x3503c7,_0x59993d)=>{const {type:_0x2fda41,id:_0x7d2a0b}=_0x3378a7[_0x4145('0x2d')](_0x3503c7[_0x4145('0xb')]),_0x27fe9a=_0x3378a7[_0x4145('0x20')](_0x7d2a0b);if(!_0x27fe9a[_0x4145('0x28')]||_0x4145('0x7')!=_0x27fe9a['data'][_0x4145('0x22')])return;if(_0x3503c7[_0x4145('0x4f')])return void _0x2c893b['stop']();if(!_0x59993d[_0x4145('0xd')]['consume'](_0x3503c7['markerRange'],_0x2c893b[_0x4145('0x1b')]))return;const _0x15231b=_0x3503c7[_0x4145('0x33')][_0x4145('0x13')][_0x4145('0x5')],_0x31e95c=_0x3503c7[_0x4145('0x33')][_0x4145('0x4c')][_0x4145('0x3c')],_0x5883b0=_0x15231b['parent'][_0x4145('0x1e')],{column:_0x5d5daa}=_0x360212['getCellLocation'](_0x15231b),{column:_0xb4a707}=_0x360212[_0x4145('0x23')](_0x31e95c);for(let _0x9ca9f=_0x5d5daa;_0x9ca9f<=_0xb4a707;_0x9ca9f++){const _0x5a1857=_0x360212[_0x4145('0x16')](_0x5883b0,{'column':_0x9ca9f,'includeAllSlots':!0x1});for(const _0x53bf73 of _0x5a1857){const _0x264958=_0x53bf73[_0x4145('0x1d')],_0xd76efe=_0x59993d[_0x4145('0x4a')][_0x4145('0x3')](_0x264958);_0x59993d[_0x4145('0x50')][_0x4145('0x21')](_0x4145('0x3f')+_0x2fda41,_0xd76efe),_0x1bc314&&_0x59993d[_0x4145('0x50')][_0x4145('0x54')]('data-suggestion',_0x7d2a0b,_0xd76efe),_0x59993d['mapper'][_0x4145('0x35')](_0xd76efe,_0x3503c7['markerName']),_0x4ed035&&(_0x3378a7[_0x4145('0x17')][_0x4145('0x43')](_0x3503c7[_0x4145('0xb')])?_0x59993d[_0x4145('0x50')][_0x4145('0x21')]('ck-suggestion-marker--active',_0xd76efe):_0x59993d[_0x4145('0x50')][_0x4145('0x1f')]('ck-suggestion-marker--active',_0xd76efe));}}};}_0x3378a7[_0x4145('0x52')](_0x4145('0x53'),(_0x53e0f6,_0x3fc0a9)=>{const _0xa56b3d=_0x360212[_0x4145('0x4e')](_0x55d253[_0x4145('0x0')][_0x4145('0x9')][_0x4145('0x30')]),_0x2907a3=_0x360212[_0x4145('0x44')](_0xa56b3d),_0x1fe4e7=_0xa56b3d[0x0][_0x4145('0x4b')]('table'),_0x70e7b3=_0x1fe4e7[_0x4145('0x26')](_0x4145('0x56'))||0x0,_0x5582c5=_0x3fc0a9&&null!==_0x3fc0a9[_0x4145('0x3e')]?_0x3fc0a9[_0x4145('0x3e')]:!_0x55d253['commands']['get'](_0x4145('0x53'))[_0x4145('0x12')],_0x4b1180=_0x5582c5?_0x2907a3[_0x4145('0x2')]:_0x2907a3[_0x4145('0x29')],_0xe6d67=_0x1fe4e7[_0x4145('0x4d')](_0x4b1180);let _0x3b4999;if(_0x5582c5){const _0xb984d7=_0x1fe4e7[_0x4145('0x4d')](_0x70e7b3);if(_0xe6d67['index']<_0xb984d7[_0x4145('0x47')])return;_0x3b4999=_0x55d253[_0x4145('0x0')][_0x4145('0x3b')](_0x55d253[_0x4145('0x0')]['createPositionBefore'](_0xb984d7[_0x4145('0x4d')](0x0)),_0x55d253[_0x4145('0x0')][_0x4145('0x2a')](_0xe6d67[_0x4145('0x4d')](_0xe6d67[_0x4145('0x19')]-0x1)));}else{const _0x3392bf=_0x1fe4e7[_0x4145('0x4d')](_0x70e7b3-0x1);if(!_0x3392bf)return;_0x3b4999=_0x55d253[_0x4145('0x0')][_0x4145('0x3b')](_0x55d253[_0x4145('0x0')][_0x4145('0x2c')](_0xe6d67['getChild'](0x0)),_0x55d253[_0x4145('0x0')][_0x4145('0x2a')](_0x3392bf[_0x4145('0x4d')](_0x3392bf[_0x4145('0x19')]-0x1)));}_0x55d253['model']['change'](()=>{_0x3378a7[_0x4145('0x15')](_0x3b4999,{'commandName':_0x4145('0x53'),'commandParams':[{'forceValue':_0x5582c5}]},[],'setTableRowHeader');});}),_0x3378a7['enableCommand']('setTableColumnHeader',(_0x3e268c,_0x37d72d)=>{const _0x58c24e=_0x55d253[_0x4145('0x37')][_0x4145('0xa')]('TableUtils'),_0x121554=_0x58c24e[_0x4145('0x4e')](_0x55d253['model'][_0x4145('0x9')][_0x4145('0x30')]),_0x47fcbd=_0x58c24e['getColumnIndexes'](_0x121554),_0x2f658e=_0x121554[0x0][_0x4145('0x4b')](_0x4145('0x1c')),_0x15e76d=_0x2f658e['getAttribute'](_0x4145('0x38'))||0x0,_0x43fd47=_0x37d72d&&null!==_0x37d72d[_0x4145('0x3e')]?_0x37d72d[_0x4145('0x3e')]:!_0x55d253[_0x4145('0x10')][_0x4145('0xa')](_0x4145('0x7'))[_0x4145('0x12')];let _0x4ec3b5;const _0x259f49=_0x2f658e[_0x4145('0x4d')](0x0),_0x5afdce=_0x43fd47?_0x47fcbd[_0x4145('0x2')]:_0x47fcbd[_0x4145('0x29')],_0x248b9a=_0x58c24e[_0x4145('0x16')](_0x2f658e,{'startRow':0x0,'column':_0x5afdce,'includeAllSlots':!0x1}),_0x264ba6=Array[_0x4145('0x46')](_0x248b9a)[0x0][_0x4145('0x1d')];if(_0x43fd47){const _0x9ae8b8=_0x259f49[_0x4145('0x4d')](_0x15e76d);if(_0x264ba6[_0x4145('0x48')](_0x9ae8b8))return;_0x4ec3b5=_0x55d253['model']['createRange'](_0x55d253['model'][_0x4145('0x2c')](_0x9ae8b8),_0x55d253[_0x4145('0x0')]['createPositionAfter'](_0x264ba6));}else{const _0x490229=_0x259f49[_0x4145('0x4d')](_0x15e76d-0x1);if(!_0x490229)return;_0x4ec3b5=_0x55d253[_0x4145('0x0')][_0x4145('0x3b')](_0x55d253[_0x4145('0x0')][_0x4145('0x2c')](_0x264ba6),_0x55d253[_0x4145('0x0')]['createPositionAfter'](_0x490229));}_0x55d253[_0x4145('0x0')]['change'](()=>{_0x3378a7[_0x4145('0x15')](_0x4ec3b5,{'commandName':_0x4145('0x7'),'commandParams':[{'forceValue':_0x43fd47}]},[],'setTableColumnHeader');});}),_0x55d253[_0x4145('0x39')][_0x4145('0x34')]['on'](_0x4145('0x2e'),_0x1a8897(),{'priority':_0x4145('0x31')}),_0x55d253[_0x4145('0x28')][_0x4145('0x34')]['on'](_0x4145('0x2e'),(_0x18de49,_0x37ff4b,_0x436580)=>{_0x436580['options']['showSuggestionHighlights']&&_0x1a8897({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x18de49,_0x37ff4b,_0x436580);},{'priority':_0x4145('0x31')}),_0x55d253[_0x4145('0x39')][_0x4145('0x34')]['on'](_0x4145('0x2b'),(_0x36a9c8,_0x5e7759,_0x236496)=>{const {type:_0x2661e3,id:_0x1ec978}=_0x3378a7[_0x4145('0x2d')](_0x5e7759[_0x4145('0xb')]),_0x45454b=_0x3378a7[_0x4145('0x20')](_0x1ec978);if(!_0x45454b['data']||_0x4145('0x7')!=_0x45454b[_0x4145('0x28')][_0x4145('0x22')])return;const _0x565d50=_0x236496['mapper'][_0x4145('0xe')](_0x5e7759[_0x4145('0xb')]);if(_0x565d50)for(const _0x2a4e4d of _0x565d50)_0x236496[_0x4145('0x50')]['removeClass'](_0x4145('0x3f')+_0x2661e3,_0x2a4e4d),_0x236496[_0x4145('0x50')][_0x4145('0x1f')](_0x4145('0xc'),_0x2a4e4d),_0x236496['writer'][_0x4145('0x2f')]('data-suggestion',_0x2a4e4d),_0x236496['mapper'][_0x4145('0x24')](_0x2a4e4d,_0x5e7759[_0x4145('0xb')]);},{'priority':_0x4145('0x31')}),_0x3378a7[_0x4145('0x25')][_0x4145('0x32')](_0x252278=>{const {data:_0x12401a}=_0x252278;if(_0x12401a){if(_0x4145('0x53')==_0x12401a['commandName']){const _0x43b618=_0x12401a[_0x4145('0x11')][0x0][_0x4145('0x3e')];return _0x43d02a(_0x5ca3c7(_0x1d3bdc,_0x43b618?_0x4145('0x45'):_0x4145('0x1a')));}if(_0x4145('0x7')==_0x12401a['commandName']){const _0x279a64=_0x12401a['commandParams'][0x0][_0x4145('0x3e')];return _0x43d02a(_0x5ca3c7(_0x1d3bdc,_0x279a64?_0x4145('0x40'):_0x4145('0x14')));}}function _0x43d02a(_0x12a591){return{'type':_0x4145('0x3d'),'content':_0x5ca3c7(_0x1d3bdc,_0x4145('0x49'),_0x12a591)};}});const _0x5da98f=_0x2dcad0[_0x4145('0x1')]();_0x3378a7['_suggestionFactory'][_0x4145('0x41')](_0x4145('0x3a'),'setTableRowHeader','accept',_0x5da98f),_0x3378a7[_0x4145('0x55')]['registerCustomCallback'](_0x4145('0x3a'),_0x4145('0x7'),_0x4145('0x36'),_0x5da98f);}}
23
+ const _0xbdb7=['markBlockFormat','createRange','writer','data','TableUtils','_suggestionFactory','consumable','editing','commandName','item','TrackChangesEditing','index','mapper','enableCommand','change','requires','createPositionBefore','removeMarker:suggestion','first','setAttribute','removeAttribute','table','document','getColumnIndexes','*Format:*\x20%0','ck-suggestion-marker--active','getSuggestion','accept','getSelectionAffectedTableCells','createPositionAfter','forceValue','_splitMarkerName','removeClass','headingColumns','editor','markerName','getCellLocation','data-suggestion','getRowIndexes','model','afterInit','get','FORMAT_REGULAR_ROW','_descriptionFactory','activeMarkers','locale','unbindElementFromMarkerName','end','setTableRowHeader','ck-suggestion-marker-','nodeAfter','childCount','createTableWalker','nodeBefore','getChild','addMarker:suggestion','has','highest','cell','last','setTableColumnHeader','name','value','showSuggestionHighlights','findAncestor','parent','format','FORMAT_HEADER_COLUMN','registerDescriptionCallback','getAttribute','markerRange','addClass','formatBlock','TableEditing','downcastDispatcher','plugins','FORMAT_REGULAR_COLUMN'];(function(_0x842dc8,_0xbdb7e4){const _0x11684d=function(_0x5cbd3e){while(--_0x5cbd3e){_0x842dc8['push'](_0x842dc8['shift']());}};_0x11684d(++_0xbdb7e4);}(_0xbdb7,0x86));const _0x1168=function(_0x842dc8,_0xbdb7e4){_0x842dc8=_0x842dc8-0x0;let _0x11684d=_0xbdb7[_0x842dc8];return _0x11684d;};import{Plugin as _0x53f684}from'ckeditor5/src/core';import _0x2b1126 from'./table';import{getTranslation as _0x1044ed}from'../utils/common-translations';export default class kt extends _0x53f684{static get[_0x1168('0x23')](){return[_0x2b1126];}[_0x1168('0x3c')](){const _0x520fed=this[_0x1168('0x36')];if(!_0x520fed[_0x1168('0x12')][_0x1168('0x4c')](_0x1168('0x10')))return;const _0x3ebb64=_0x520fed[_0x1168('0x41')],_0x3e0e26=_0x520fed[_0x1168('0x12')][_0x1168('0x3d')](_0x1168('0x1e')),_0x522f93=_0x520fed[_0x1168('0x12')][_0x1168('0x3d')](_0x1168('0x18')),_0x2153fb=_0x520fed[_0x1168('0x12')][_0x1168('0x3d')](_0x2b1126);function _0x3c9c3c({showActiveMarker:_0x4bbf6c=!0x0,setDataAttribute:_0x4d3682=!0x0}={}){return(_0x5c7736,_0x4021ef,_0x4da16e)=>{const {type:_0x2fed94,id:_0xd2a3e3}=_0x3e0e26[_0x1168('0x33')](_0x4021ef[_0x1168('0x37')]),_0x144d57=_0x3e0e26[_0x1168('0x2e')](_0xd2a3e3);if(!_0x144d57[_0x1168('0x17')]||'setTableColumnHeader'!=_0x144d57['data'][_0x1168('0x1c')])return;if(_0x4021ef[_0x1168('0x1d')])return void _0x5c7736['stop']();if(!_0x4da16e[_0x1168('0x1a')]['consume'](_0x4021ef['markerRange'],_0x5c7736[_0x1168('0x4')]))return;const _0x55c97a=_0x4021ef[_0x1168('0xd')]['start'][_0x1168('0x46')],_0x218217=_0x4021ef[_0x1168('0xd')][_0x1168('0x43')][_0x1168('0x49')],_0x5dd5dd=_0x55c97a[_0x1168('0x8')][_0x1168('0x8')],{column:_0x3014fb}=_0x522f93[_0x1168('0x38')](_0x55c97a),{column:_0x5880ed}=_0x522f93[_0x1168('0x38')](_0x218217);for(let _0x2769f5=_0x3014fb;_0x2769f5<=_0x5880ed;_0x2769f5++){const _0x5e58cf=_0x522f93[_0x1168('0x48')](_0x5dd5dd,{'column':_0x2769f5,'includeAllSlots':!0x1});for(const _0x3bb165 of _0x5e58cf){const _0x2b6cd9=_0x3bb165[_0x1168('0x1')],_0x53a995=_0x4da16e[_0x1168('0x20')]['toViewElement'](_0x2b6cd9);_0x4da16e[_0x1168('0x16')][_0x1168('0xe')]('ck-suggestion-marker-'+_0x2fed94,_0x53a995),_0x4d3682&&_0x4da16e[_0x1168('0x16')][_0x1168('0x27')]('data-suggestion',_0xd2a3e3,_0x53a995),_0x4da16e[_0x1168('0x20')]['bindElementToMarker'](_0x53a995,_0x4021ef['markerName']),_0x4bbf6c&&(_0x3e0e26[_0x1168('0x40')]['includes'](_0x4021ef[_0x1168('0x37')])?_0x4da16e[_0x1168('0x16')][_0x1168('0xe')](_0x1168('0x2d'),_0x53a995):_0x4da16e[_0x1168('0x16')][_0x1168('0x34')](_0x1168('0x2d'),_0x53a995));}}};}_0x3e0e26[_0x1168('0x21')](_0x1168('0x44'),(_0x2d6ef9,_0x480de3)=>{const _0x3ecc03=_0x522f93[_0x1168('0x30')](_0x520fed[_0x1168('0x3b')][_0x1168('0x2a')]['selection']),_0xfe42e1=_0x522f93[_0x1168('0x3a')](_0x3ecc03),_0x1f8e06=_0x3ecc03[0x0][_0x1168('0x7')](_0x1168('0x29')),_0x468476=_0x1f8e06[_0x1168('0xc')]('headingRows')||0x0,_0x2c1e53=_0x480de3&&null!==_0x480de3['forceValue']?_0x480de3[_0x1168('0x32')]:!_0x520fed['commands'][_0x1168('0x3d')](_0x1168('0x44'))[_0x1168('0x5')],_0x12da37=_0x2c1e53?_0xfe42e1[_0x1168('0x2')]:_0xfe42e1[_0x1168('0x26')],_0x4ea68e=_0x1f8e06[_0x1168('0x4a')](_0x12da37);let _0x38d63b;if(_0x2c1e53){const _0x320c3c=_0x1f8e06[_0x1168('0x4a')](_0x468476);if(_0x4ea68e[_0x1168('0x1f')]<_0x320c3c[_0x1168('0x1f')])return;_0x38d63b=_0x520fed[_0x1168('0x3b')][_0x1168('0x15')](_0x520fed[_0x1168('0x3b')][_0x1168('0x24')](_0x320c3c[_0x1168('0x4a')](0x0)),_0x520fed['model'][_0x1168('0x31')](_0x4ea68e[_0x1168('0x4a')](_0x4ea68e[_0x1168('0x47')]-0x1)));}else{const _0x4fe636=_0x1f8e06[_0x1168('0x4a')](_0x468476-0x1);if(!_0x4fe636)return;_0x38d63b=_0x520fed[_0x1168('0x3b')][_0x1168('0x15')](_0x520fed[_0x1168('0x3b')]['createPositionBefore'](_0x4ea68e[_0x1168('0x4a')](0x0)),_0x520fed[_0x1168('0x3b')]['createPositionAfter'](_0x4fe636[_0x1168('0x4a')](_0x4fe636[_0x1168('0x47')]-0x1)));}_0x520fed[_0x1168('0x3b')][_0x1168('0x22')](()=>{_0x3e0e26['markBlockFormat'](_0x38d63b,{'commandName':'setTableRowHeader','commandParams':[{'forceValue':_0x2c1e53}]},[],_0x1168('0x44'));});}),_0x3e0e26[_0x1168('0x21')](_0x1168('0x3'),(_0x3dccf4,_0x1c0f22)=>{const _0x3880d2=_0x520fed['plugins'][_0x1168('0x3d')](_0x1168('0x18')),_0x1aee86=_0x3880d2[_0x1168('0x30')](_0x520fed[_0x1168('0x3b')]['document']['selection']),_0x42328b=_0x3880d2[_0x1168('0x2b')](_0x1aee86),_0x3d7951=_0x1aee86[0x0]['findAncestor']('table'),_0x51d067=_0x3d7951['getAttribute'](_0x1168('0x35'))||0x0,_0x1fdb84=_0x1c0f22&&null!==_0x1c0f22['forceValue']?_0x1c0f22[_0x1168('0x32')]:!_0x520fed['commands'][_0x1168('0x3d')]('setTableColumnHeader')[_0x1168('0x5')];let _0x2aca98;const _0x108241=_0x3d7951['getChild'](0x0),_0x3d5c61=_0x1fdb84?_0x42328b[_0x1168('0x2')]:_0x42328b[_0x1168('0x26')],_0x28ac95=_0x3880d2[_0x1168('0x48')](_0x3d7951,{'startRow':0x0,'column':_0x3d5c61,'includeAllSlots':!0x1}),_0x598bb3=Array['from'](_0x28ac95)[0x0][_0x1168('0x1')];if(_0x1fdb84){const _0xaac654=_0x108241['getChild'](_0x51d067);if(_0x598bb3['isBefore'](_0xaac654))return;_0x2aca98=_0x520fed[_0x1168('0x3b')][_0x1168('0x15')](_0x520fed[_0x1168('0x3b')][_0x1168('0x24')](_0xaac654),_0x520fed[_0x1168('0x3b')][_0x1168('0x31')](_0x598bb3));}else{const _0x2c0434=_0x108241[_0x1168('0x4a')](_0x51d067-0x1);if(!_0x2c0434)return;_0x2aca98=_0x520fed[_0x1168('0x3b')][_0x1168('0x15')](_0x520fed[_0x1168('0x3b')][_0x1168('0x24')](_0x598bb3),_0x520fed[_0x1168('0x3b')]['createPositionAfter'](_0x2c0434));}_0x520fed[_0x1168('0x3b')][_0x1168('0x22')](()=>{_0x3e0e26[_0x1168('0x14')](_0x2aca98,{'commandName':_0x1168('0x3'),'commandParams':[{'forceValue':_0x1fdb84}]},[],_0x1168('0x3'));});}),_0x520fed[_0x1168('0x1b')][_0x1168('0x11')]['on']('addMarker:suggestion',_0x3c9c3c(),{'priority':_0x1168('0x0')}),_0x520fed[_0x1168('0x17')]['downcastDispatcher']['on'](_0x1168('0x4b'),(_0x447854,_0x348c86,_0x371dd8)=>{_0x371dd8['options'][_0x1168('0x6')]&&_0x3c9c3c({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x447854,_0x348c86,_0x371dd8);},{'priority':_0x1168('0x0')}),_0x520fed['editing'][_0x1168('0x11')]['on'](_0x1168('0x25'),(_0x255e7b,_0x3e2a76,_0x869b6d)=>{const {type:_0x741e8f,id:_0x3175bb}=_0x3e0e26[_0x1168('0x33')](_0x3e2a76[_0x1168('0x37')]),_0x2f255b=_0x3e0e26[_0x1168('0x2e')](_0x3175bb);if(!_0x2f255b[_0x1168('0x17')]||'setTableColumnHeader'!=_0x2f255b[_0x1168('0x17')][_0x1168('0x1c')])return;const _0x413634=_0x869b6d[_0x1168('0x20')]['markerNameToElements'](_0x3e2a76[_0x1168('0x37')]);if(_0x413634)for(const _0x30796f of _0x413634)_0x869b6d[_0x1168('0x16')][_0x1168('0x34')](_0x1168('0x45')+_0x741e8f,_0x30796f),_0x869b6d['writer'][_0x1168('0x34')]('ck-suggestion-marker--active',_0x30796f),_0x869b6d[_0x1168('0x16')][_0x1168('0x28')](_0x1168('0x39'),_0x30796f),_0x869b6d[_0x1168('0x20')][_0x1168('0x42')](_0x30796f,_0x3e2a76[_0x1168('0x37')]);},{'priority':_0x1168('0x0')}),_0x3e0e26[_0x1168('0x3f')][_0x1168('0xb')](_0x1a3d50=>{const {data:_0x3c2251}=_0x1a3d50;if(_0x3c2251){if(_0x1168('0x44')==_0x3c2251['commandName']){const _0xd8ce72=_0x3c2251['commandParams'][0x0][_0x1168('0x32')];return _0x40720d(_0x1044ed(_0x3ebb64,_0xd8ce72?'FORMAT_HEADER_ROW':_0x1168('0x3e')));}if(_0x1168('0x3')==_0x3c2251[_0x1168('0x1c')]){const _0x17072a=_0x3c2251['commandParams'][0x0][_0x1168('0x32')];return _0x40720d(_0x1044ed(_0x3ebb64,_0x17072a?_0x1168('0xa'):_0x1168('0x13')));}}function _0x40720d(_0x433bb6){return{'type':_0x1168('0x9'),'content':_0x1044ed(_0x3ebb64,_0x1168('0x2c'),_0x433bb6)};}});const _0x470a1f=_0x2153fb['_acceptFormatSuggestionCallbackFactory']();_0x3e0e26[_0x1168('0x19')]['registerCustomCallback'](_0x1168('0xf'),_0x1168('0x44'),_0x1168('0x2f'),_0x470a1f),_0x3e0e26[_0x1168('0x19')]['registerCustomCallback'](_0x1168('0xf'),_0x1168('0x3'),_0x1168('0x2f'),_0x470a1f);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4bef=['*Merge\x20cells*','type','commandName','createRangeOn','mergeTableCellRight','stop','commands','markMultiRangeBlockFormat','map','TrackChangesEditing','table','TableUtils','_suggestionFactory','plugins','mergeTableCellDown','formatBlock','createTableWalker','deletion','has','findAncestor','splitTableCellHorizontally','add','filter','document','cell','isInContent','rootName','accept','fromRange','$graveyard','highest','mergeTableCells','_areMergableCells','mergeTableCellUp','horizontally','TableEditing','format','element','getRanges','execute','value','author','root','mergeTableCellLeft','*Split\x20cell:*\x20horizontally','forceDefaultExecution','get','size','getSuggestions','selection','trackChanges','markBlockFormat','find','*Split\x20cell:*\x20vertically','enableCommand','subType','registerDescriptionCallback','from','setSelection','push','refresh','_tablePostFixingSubtypes','length','set:isEnabled','model','change','_acceptFormatSuggestionCallbackFactory','insertion','getSelectionAffectedTableCells','getAncestors','isEnabled','editor','registerCustomCallback','_areSelectedCellsMergable','containsRange','getCellLocation','detach','getFirstPosition','splitTableCellVertically','tableCell','_descriptionFactory'];(function(_0x5509e1,_0x4befc0){const _0x514fd6=function(_0x4d8da5){while(--_0x4d8da5){_0x5509e1['push'](_0x5509e1['shift']());}};_0x514fd6(++_0x4befc0);}(_0x4bef,0x1c9));const _0x514f=function(_0x5509e1,_0x4befc0){_0x5509e1=_0x5509e1-0x0;let _0x514fd6=_0x4bef[_0x5509e1];return _0x514fd6;};import{Plugin as _0x55888d}from'ckeditor5/src/core';import _0x3c81e7 from'./table';import{LiveRange as _0xb4d6d8}from'ckeditor5/src/engine';import{getTranslation as _0x44cf89}from'../utils/common-translations';export default class pt extends _0x55888d{static get['requires'](){return[_0x3c81e7];}['afterInit'](){const _0x26f024=this[_0x514f('0x13')],_0x13c5b4=_0x26f024[_0x514f('0xc')][_0x514f('0x34')]['selection'],_0x9f4606=_0x26f024['locale'];if(!_0x26f024['plugins'][_0x514f('0x2f')](_0x514f('0x40')))return;const _0x5d1824=_0x26f024[_0x514f('0x2a')]['get'](_0x514f('0x26')),_0x392943=_0x26f024[_0x514f('0x2a')][_0x514f('0x4b')](_0x514f('0x28')),_0x444262=_0x26f024[_0x514f('0x2a')][_0x514f('0x4b')](_0x3c81e7);_0x444262[_0x514f('0x9')][_0x514f('0x7')](_0x514f('0x3c')),_0x5d1824['enableCommand'](_0x514f('0x3c'),()=>{const _0x57cc57=_0x392943[_0x514f('0x10')](_0x26f024[_0x514f('0xc')][_0x514f('0x34')][_0x514f('0x4e')]);_0x26f024['model'][_0x514f('0xd')](()=>{_0x5d1824[_0x514f('0x24')](_0x57cc57,{'commandName':'mergeTableCells','commandParams':[]},[],'mergeTableCells');});}),_0x26f024['commands'][_0x514f('0x4b')]('mergeTableCells')['on'](_0x514f('0x44'),(_0x48e869,_0x164953)=>{_0x26f024['commands'][_0x514f('0x4b')](_0x514f('0x4f'))[_0x514f('0x45')]&&(_0x164953[_0x514f('0xa')]>0x0&&_0x164953[_0x164953['length']-0x1]&&_0x164953[_0x164953['length']-0x1][_0x514f('0x4a')]||_0x5d1824['_isForcedDefaultExecutionBlock']||this[_0x514f('0x15')]()||_0x48e869[_0x514f('0x22')]());},{'priority':_0x514f('0x3b')});for(const _0x30e192 of[_0x514f('0x3e'),_0x514f('0x21'),_0x514f('0x2b'),'mergeTableCellLeft']){const _0x25941a=_0x26f024[_0x514f('0x23')][_0x514f('0x4b')](_0x30e192);_0x5d1824[_0x514f('0x2')](_0x30e192,()=>{const _0x22e3e1=_0x26f024[_0x514f('0xc')][_0x514f('0x34')][_0x514f('0x4e')][_0x514f('0x19')]()[_0x514f('0x11')]()[_0x514f('0x0')](_0x465abd=>_0x465abd['is'](_0x514f('0x42'),'tableCell')),_0x4d17e7=_0x25941a[_0x514f('0x45')];_0x26f024[_0x514f('0xc')][_0x514f('0xd')](()=>{_0x5d1824[_0x514f('0x24')]([_0x22e3e1,_0x4d17e7],{'commandName':_0x514f('0x3c'),'commandParams':[]},[],_0x514f('0x3c'));});});}for(const _0x2e54c5 of[_0x514f('0x1a'),_0x514f('0x31')]){const _0x55b482=_0x26f024['commands'][_0x514f('0x4b')](_0x2e54c5);_0x5d1824[_0x514f('0x2')](_0x2e54c5,()=>{const _0x4dbde9=_0x392943['getSelectionAffectedTableCells'](_0x26f024[_0x514f('0xc')][_0x514f('0x34')][_0x514f('0x4e')])[0x0],_0x37c543=_0x4dbde9[_0x514f('0x30')](_0x514f('0x27')),{column:_0x22947b,row:_0x3f1fa3}=_0x392943[_0x514f('0x17')](_0x4dbde9);let _0x11d568=[];if(_0x514f('0x3f')==_0x55b482['direction']){const _0x9b593f=_0x392943['createTableWalker'](_0x37c543,{'startRow':_0x3f1fa3,'endRow':_0x3f1fa3,'includeAllSlots':!0x0});_0x11d568=Array[_0x514f('0x5')](_0x9b593f)[_0x514f('0x25')](_0x5324eb=>_0x5324eb[_0x514f('0x35')]);}else{const _0x246f04=_0x392943[_0x514f('0x2d')](_0x37c543,{'column':_0x22947b,'includeAllSlots':!0x0});_0x11d568=Array['from'](_0x246f04)[_0x514f('0x25')](_0x59c26d=>_0x59c26d[_0x514f('0x35')]);}_0x26f024['model']['change'](_0x35d8ad=>{_0x5d1824[_0x514f('0x50')](_0x35d8ad[_0x514f('0x20')](_0x4dbde9),{'commandName':_0x2e54c5,'commandParams':[]},_0x11d568,_0x2e54c5);});});}_0x5d1824[_0x514f('0x1c')][_0x514f('0x4')](_0x47675d=>{const {data:_0x4000db}=_0x47675d;if(_0x4000db)return _0x514f('0x3c')==_0x4000db[_0x514f('0x1f')]?{'type':_0x514f('0x41'),'content':_0x44cf89(_0x9f4606,_0x514f('0x1d'))}:void 0x0;}),_0x5d1824[_0x514f('0x1c')][_0x514f('0x4')](_0x199d4b=>{const {data:_0x303e9e}=_0x199d4b;if(_0x303e9e)return _0x514f('0x1a')==_0x303e9e[_0x514f('0x1f')]?{'type':_0x514f('0x41'),'content':_0x44cf89(_0x9f4606,_0x514f('0x1'))}:_0x514f('0x31')==_0x303e9e['commandName']?{'type':_0x514f('0x41'),'content':_0x44cf89(_0x9f4606,_0x514f('0x49'))}:void 0x0;});const _0x27e585=_0x444262[_0x514f('0xe')]();for(const _0x29d9ae of['mergeTableCellUp',_0x514f('0x21'),_0x514f('0x2b'),_0x514f('0x48')])_0x5d1824[_0x514f('0x29')][_0x514f('0x14')](_0x514f('0x2c'),_0x29d9ae,_0x514f('0x38'),_0x27e585);for(const _0x8e0610 of[_0x514f('0x1a'),_0x514f('0x31')])_0x5d1824[_0x514f('0x29')]['registerCustomCallback'](_0x514f('0x2c'),_0x8e0610,_0x514f('0x38'),_0x27e585);_0x5d1824['_suggestionFactory'][_0x514f('0x14')]('formatBlock','mergeTableCells','accept',_0x1d443c=>{_0x26f024['model'][_0x514f('0xd')](_0x23e10e=>{const _0x408ef6=Array[_0x514f('0x5')](_0x13c5b4['getRanges']())['map'](_0x479246=>_0xb4d6d8[_0x514f('0x39')](_0x479246));_0x23e10e[_0x514f('0x6')](_0x1d443c),_0x26f024[_0x514f('0x23')][_0x514f('0x4b')](_0x514f('0x3c'))[_0x514f('0x8')](),_0x26f024['execute'](_0x514f('0x3c'),{'forceDefaultExecution':!0x0});const _0x503202=_0x408ef6[_0x514f('0x33')](_0xeeda5a=>_0x514f('0x3a')!=_0xeeda5a[_0x514f('0x47')][_0x514f('0x37')]);_0x503202['length']>0x0&&_0x23e10e[_0x514f('0x6')](_0x503202);for(const _0x4ef74a of _0x408ef6)_0x4ef74a[_0x514f('0x18')]();});});for(const _0x2e4d37 of['mergeTableCellUp',_0x514f('0x2b'),'mergeTableCellLeft',_0x514f('0x21')]){const _0x28917d=_0x26f024[_0x514f('0x23')][_0x514f('0x4b')](_0x2e4d37);_0x28917d['on'](_0x514f('0xb'),(_0x65d4a3,_0xd6bacf,_0x3de880)=>{if(_0x3de880){const _0x41d305=_0x26f024[_0x514f('0xc')][_0x514f('0x34')]['selection'][_0x514f('0x19')]()[_0x514f('0x11')]()[_0x514f('0x0')](_0x2f44b1=>_0x2f44b1['is'](_0x514f('0x42'),_0x514f('0x1b')));this[_0x514f('0x3d')](_0x28917d[_0x514f('0x45')],_0x41d305)||(_0x65d4a3['return']=!0x1,_0x65d4a3[_0x514f('0x22')]());}},{'priority':'low'});}}['_areSelectedCellsMergable'](){const _0x6b2ca4=this[_0x514f('0x13')]['commands'][_0x514f('0x4b')]('mergeTableCells'),_0x3d1a21=this['editor']['plugins'][_0x514f('0x4b')]('TableUtils');if(!_0x6b2ca4[_0x514f('0x12')])return!0x1;const _0x254602=_0x3d1a21['getSelectionAffectedTableCells'](this['editor'][_0x514f('0xc')][_0x514f('0x34')]['selection']);for(const _0x330acb of _0x254602)for(const _0x5141b2 of _0x254602)if(_0x330acb!=_0x5141b2&&!this['_areMergableCells'](_0x330acb,_0x5141b2))return!0x1;return!0x0;}[_0x514f('0x3d')](_0x560c73,_0x3ade7a){const _0x30ab88=this[_0x514f('0x13')][_0x514f('0x2a')][_0x514f('0x4b')](_0x514f('0x26')),_0x52e837=this[_0x514f('0x13')][_0x514f('0xc')][_0x514f('0x20')](_0x560c73),_0x21f322=this[_0x514f('0x13')][_0x514f('0xc')][_0x514f('0x20')](_0x3ade7a),_0x507e68=new Set(),_0x422c6a=new Set();for(const _0x2683fb of _0x30ab88[_0x514f('0x4d')]())if((_0x514f('0xf')==_0x2683fb[_0x514f('0x1e')]||_0x514f('0x2e')==_0x2683fb[_0x514f('0x1e')]||_0x514f('0x3c')==_0x2683fb[_0x514f('0x3')])&&_0x2683fb[_0x514f('0x36')])for(const _0x319780 of _0x2683fb[_0x514f('0x43')]())_0x319780[_0x514f('0x16')](_0x52e837,!0x0)&&_0x507e68['add'](_0x2683fb['type']+':'+_0x2683fb[_0x514f('0x46')]['id']),_0x319780['containsRange'](_0x21f322,!0x0)&&_0x422c6a[_0x514f('0x32')](_0x2683fb[_0x514f('0x1e')]+':'+_0x2683fb[_0x514f('0x46')]['id']);if(_0x507e68['size']!=_0x422c6a[_0x514f('0x4c')])return!0x1;for(const _0x7955c of _0x507e68)if(!_0x422c6a[_0x514f('0x2f')](_0x7955c))return!0x1;return!0x0;}}
23
+ const _0x46e3=['getSelectionAffectedTableCells','setSelection','markMultiRangeBlockFormat','detach','rootName','deletion','trackChanges','change','direction','_acceptFormatSuggestionCallbackFactory','get','*Split\x20cell:*\x20vertically','forceDefaultExecution','getFirstPosition','add','from','mergeTableCellUp','element','isInContent','registerDescriptionCallback','tableCell','registerCustomCallback','isEnabled','TableUtils','type','accept','$graveyard','set:isEnabled','getRanges','createRangeOn','mergeTableCells','cell','locale','stop','TableEditing','find','enableCommand','commands','mergeTableCellLeft','table','author','afterInit','_areSelectedCellsMergable','filter','_descriptionFactory','plugins','_tablePostFixingSubtypes','refresh','size','*Merge\x20cells*','containsRange','low','getSuggestions','value','markBlockFormat','findAncestor','_suggestionFactory','getCellLocation','insertion','fromRange','mergeTableCellRight','splitTableCellHorizontally','map','commandName','createTableWalker','length','requires','editor','splitTableCellVertically','selection','model','horizontally','getAncestors','formatBlock','format','execute','document','*Split\x20cell:*\x20horizontally','_areMergableCells','TrackChangesEditing','mergeTableCellDown'];(function(_0xaa4bd4,_0x46e33f){const _0x2da883=function(_0x394bbe){while(--_0x394bbe){_0xaa4bd4['push'](_0xaa4bd4['shift']());}};_0x2da883(++_0x46e33f);}(_0x46e3,0x90));const _0x2da8=function(_0xaa4bd4,_0x46e33f){_0xaa4bd4=_0xaa4bd4-0x0;let _0x2da883=_0x46e3[_0xaa4bd4];return _0x2da883;};import{Plugin as _0x7a5b0e}from'ckeditor5/src/core';import _0xca8bb4 from'./table';import{LiveRange as _0x26c499}from'ckeditor5/src/engine';import{getTranslation as _0x42baca}from'../utils/common-translations';export default class pt extends _0x7a5b0e{static get[_0x2da8('0x3')](){return[_0xca8bb4];}[_0x2da8('0x3b')](){const _0x1e153f=this[_0x2da8('0x4')],_0x992187=_0x1e153f[_0x2da8('0x7')][_0x2da8('0xd')][_0x2da8('0x6')],_0x4f7377=_0x1e153f[_0x2da8('0x32')];if(!_0x1e153f['plugins']['has'](_0x2da8('0x34')))return;const _0x2f948c=_0x1e153f[_0x2da8('0x3f')][_0x2da8('0x1c')](_0x2da8('0x10')),_0xf47134=_0x1e153f[_0x2da8('0x3f')][_0x2da8('0x1c')](_0x2da8('0x29')),_0x2c3dba=_0x1e153f[_0x2da8('0x3f')][_0x2da8('0x1c')](_0xca8bb4);_0x2c3dba[_0x2da8('0x40')]['push']('mergeTableCells'),_0x2f948c[_0x2da8('0x36')](_0x2da8('0x30'),()=>{const _0x5b5829=_0xf47134[_0x2da8('0x12')](_0x1e153f[_0x2da8('0x7')][_0x2da8('0xd')][_0x2da8('0x6')]);_0x1e153f[_0x2da8('0x7')][_0x2da8('0x19')](()=>{_0x2f948c[_0x2da8('0x14')](_0x5b5829,{'commandName':'mergeTableCells','commandParams':[]},[],_0x2da8('0x30'));});}),_0x1e153f['commands']['get'](_0x2da8('0x30'))['on']('execute',(_0x17fb4c,_0x4e8f60)=>{_0x1e153f[_0x2da8('0x37')][_0x2da8('0x1c')](_0x2da8('0x18'))[_0x2da8('0x47')]&&(_0x4e8f60[_0x2da8('0x2')]>0x0&&_0x4e8f60[_0x4e8f60['length']-0x1]&&_0x4e8f60[_0x4e8f60[_0x2da8('0x2')]-0x1][_0x2da8('0x1e')]||_0x2f948c['_isForcedDefaultExecutionBlock']||this[_0x2da8('0x3c')]()||_0x17fb4c[_0x2da8('0x33')]());},{'priority':'highest'});for(const _0x45902a of['mergeTableCellUp',_0x2da8('0x4e'),_0x2da8('0x11'),_0x2da8('0x38')]){const _0x53f990=_0x1e153f[_0x2da8('0x37')]['get'](_0x45902a);_0x2f948c['enableCommand'](_0x45902a,()=>{const _0x612e25=_0x1e153f['model'][_0x2da8('0xd')][_0x2da8('0x6')][_0x2da8('0x1f')]()[_0x2da8('0x9')]()[_0x2da8('0x35')](_0x8281a=>_0x8281a['is'](_0x2da8('0x23'),_0x2da8('0x26'))),_0x51f2e4=_0x53f990['value'];_0x1e153f[_0x2da8('0x7')]['change'](()=>{_0x2f948c['markMultiRangeBlockFormat']([_0x612e25,_0x51f2e4],{'commandName':_0x2da8('0x30'),'commandParams':[]},[],_0x2da8('0x30'));});});}for(const _0x2cb5a0 of[_0x2da8('0x5'),_0x2da8('0x4f')]){const _0x13c78d=_0x1e153f[_0x2da8('0x37')][_0x2da8('0x1c')](_0x2cb5a0);_0x2f948c[_0x2da8('0x36')](_0x2cb5a0,()=>{const _0x20ab2a=_0xf47134[_0x2da8('0x12')](_0x1e153f[_0x2da8('0x7')][_0x2da8('0xd')][_0x2da8('0x6')])[0x0],_0x1c3fa8=_0x20ab2a[_0x2da8('0x49')](_0x2da8('0x39')),{column:_0x31f2b8,row:_0x3cfadd}=_0xf47134[_0x2da8('0x4b')](_0x20ab2a);let _0x5ca1ea=[];if(_0x2da8('0x8')==_0x13c78d[_0x2da8('0x1a')]){const _0x375130=_0xf47134[_0x2da8('0x1')](_0x1c3fa8,{'startRow':_0x3cfadd,'endRow':_0x3cfadd,'includeAllSlots':!0x0});_0x5ca1ea=Array[_0x2da8('0x21')](_0x375130)[_0x2da8('0x50')](_0x17f9e2=>_0x17f9e2[_0x2da8('0x31')]);}else{const _0x42abb9=_0xf47134[_0x2da8('0x1')](_0x1c3fa8,{'column':_0x31f2b8,'includeAllSlots':!0x0});_0x5ca1ea=Array[_0x2da8('0x21')](_0x42abb9)['map'](_0x1c1742=>_0x1c1742['cell']);}_0x1e153f[_0x2da8('0x7')][_0x2da8('0x19')](_0x2628ac=>{_0x2f948c[_0x2da8('0x48')](_0x2628ac[_0x2da8('0x2f')](_0x20ab2a),{'commandName':_0x2cb5a0,'commandParams':[]},_0x5ca1ea,_0x2cb5a0);});});}_0x2f948c[_0x2da8('0x3e')][_0x2da8('0x25')](_0x111aa6=>{const {data:_0x306074}=_0x111aa6;if(_0x306074)return _0x2da8('0x30')==_0x306074['commandName']?{'type':'format','content':_0x42baca(_0x4f7377,_0x2da8('0x43'))}:void 0x0;}),_0x2f948c[_0x2da8('0x3e')][_0x2da8('0x25')](_0xd2c6a5=>{const {data:_0x50c187}=_0xd2c6a5;if(_0x50c187)return _0x2da8('0x5')==_0x50c187['commandName']?{'type':'format','content':_0x42baca(_0x4f7377,_0x2da8('0x1d'))}:'splitTableCellHorizontally'==_0x50c187[_0x2da8('0x0')]?{'type':_0x2da8('0xb'),'content':_0x42baca(_0x4f7377,_0x2da8('0xe'))}:void 0x0;});const _0x350830=_0x2c3dba[_0x2da8('0x1b')]();for(const _0x5540e7 of[_0x2da8('0x22'),_0x2da8('0x4e'),_0x2da8('0x11'),_0x2da8('0x38')])_0x2f948c[_0x2da8('0x4a')][_0x2da8('0x27')]('formatBlock',_0x5540e7,_0x2da8('0x2b'),_0x350830);for(const _0x42b7eb of[_0x2da8('0x5'),_0x2da8('0x4f')])_0x2f948c[_0x2da8('0x4a')][_0x2da8('0x27')]('formatBlock',_0x42b7eb,_0x2da8('0x2b'),_0x350830);_0x2f948c[_0x2da8('0x4a')][_0x2da8('0x27')](_0x2da8('0xa'),_0x2da8('0x30'),_0x2da8('0x2b'),_0x4b4f2a=>{_0x1e153f[_0x2da8('0x7')][_0x2da8('0x19')](_0x423d21=>{const _0x22c0cf=Array[_0x2da8('0x21')](_0x992187[_0x2da8('0x2e')]())[_0x2da8('0x50')](_0x168e22=>_0x26c499[_0x2da8('0x4d')](_0x168e22));_0x423d21[_0x2da8('0x13')](_0x4b4f2a),_0x1e153f['commands'][_0x2da8('0x1c')]('mergeTableCells')[_0x2da8('0x41')](),_0x1e153f[_0x2da8('0xc')](_0x2da8('0x30'),{'forceDefaultExecution':!0x0});const _0x190b4b=_0x22c0cf[_0x2da8('0x3d')](_0x14152a=>_0x2da8('0x2c')!=_0x14152a['root'][_0x2da8('0x16')]);_0x190b4b[_0x2da8('0x2')]>0x0&&_0x423d21[_0x2da8('0x13')](_0x190b4b);for(const _0x6b641 of _0x22c0cf)_0x6b641[_0x2da8('0x15')]();});});for(const _0x435933 of[_0x2da8('0x22'),_0x2da8('0x11'),_0x2da8('0x38'),_0x2da8('0x4e')]){const _0x12087a=_0x1e153f['commands'][_0x2da8('0x1c')](_0x435933);_0x12087a['on'](_0x2da8('0x2d'),(_0xf87a31,_0x46b19e,_0x45322f)=>{if(_0x45322f){const _0x4271ca=_0x1e153f[_0x2da8('0x7')]['document'][_0x2da8('0x6')][_0x2da8('0x1f')]()[_0x2da8('0x9')]()[_0x2da8('0x35')](_0x29f884=>_0x29f884['is'](_0x2da8('0x23'),_0x2da8('0x26')));this[_0x2da8('0xf')](_0x12087a['value'],_0x4271ca)||(_0xf87a31['return']=!0x1,_0xf87a31[_0x2da8('0x33')]());}},{'priority':_0x2da8('0x45')});}}[_0x2da8('0x3c')](){const _0x3151e0=this[_0x2da8('0x4')]['commands'][_0x2da8('0x1c')](_0x2da8('0x30')),_0x3fdffa=this[_0x2da8('0x4')][_0x2da8('0x3f')][_0x2da8('0x1c')](_0x2da8('0x29'));if(!_0x3151e0[_0x2da8('0x28')])return!0x1;const _0x395b17=_0x3fdffa[_0x2da8('0x12')](this['editor'][_0x2da8('0x7')][_0x2da8('0xd')][_0x2da8('0x6')]);for(const _0x24110a of _0x395b17)for(const _0x1b01a6 of _0x395b17)if(_0x24110a!=_0x1b01a6&&!this[_0x2da8('0xf')](_0x24110a,_0x1b01a6))return!0x1;return!0x0;}[_0x2da8('0xf')](_0x2c9bfb,_0x361245){const _0x4bcd1a=this[_0x2da8('0x4')]['plugins']['get'](_0x2da8('0x10')),_0x1c0d7c=this[_0x2da8('0x4')][_0x2da8('0x7')][_0x2da8('0x2f')](_0x2c9bfb),_0x4e97b0=this['editor'][_0x2da8('0x7')][_0x2da8('0x2f')](_0x361245),_0x35fc62=new Set(),_0x43a1d0=new Set();for(const _0xbcb962 of _0x4bcd1a[_0x2da8('0x46')]())if((_0x2da8('0x4c')==_0xbcb962[_0x2da8('0x2a')]||_0x2da8('0x17')==_0xbcb962[_0x2da8('0x2a')]||'mergeTableCells'==_0xbcb962['subType'])&&_0xbcb962[_0x2da8('0x24')])for(const _0x2c161b of _0xbcb962['getRanges']())_0x2c161b['containsRange'](_0x1c0d7c,!0x0)&&_0x35fc62[_0x2da8('0x20')](_0xbcb962[_0x2da8('0x2a')]+':'+_0xbcb962['author']['id']),_0x2c161b[_0x2da8('0x44')](_0x4e97b0,!0x0)&&_0x43a1d0[_0x2da8('0x20')](_0xbcb962[_0x2da8('0x2a')]+':'+_0xbcb962[_0x2da8('0x3a')]['id']);if(_0x35fc62[_0x2da8('0x42')]!=_0x43a1d0[_0x2da8('0x42')])return!0x1;for(const _0x424a42 of _0x35fc62)if(!_0x43a1d0['has'](_0x424a42))return!0x1;return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5cb5=['enableCommand','ELEMENT_TABLE_OF_CONTENTS','tableOfContents','_descriptionFactory','TrackChangesEditing','plugins','afterInit','get','registerElementLabel','editor','insertTableOfContents','locale'];(function(_0x328e8c,_0x5cb5ca){const _0x292f4b=function(_0x555cb1){while(--_0x555cb1){_0x328e8c['push'](_0x328e8c['shift']());}};_0x292f4b(++_0x5cb5ca);}(_0x5cb5,0x138));const _0x292f=function(_0x328e8c,_0x5cb5ca){_0x328e8c=_0x328e8c-0x0;let _0x292f4b=_0x5cb5[_0x328e8c];return _0x292f4b;};import{Plugin as _0x49a69b}from'ckeditor5/src/core';import{getTranslation as _0x5ab900}from'../utils/common-translations';export default class St extends _0x49a69b{[_0x292f('0x6')](){const _0x33beda=this[_0x292f('0x9')];if(!_0x33beda['commands'][_0x292f('0x7')](_0x292f('0xa')))return;_0x33beda[_0x292f('0x5')][_0x292f('0x7')]('TrackChangesEditing')[_0x292f('0x0')](_0x292f('0xa'));const _0x433adc=_0x33beda[_0x292f('0x5')][_0x292f('0x7')](_0x292f('0x4')),_0x2b69ea=_0x33beda[_0x292f('0xb')];_0x433adc[_0x292f('0x3')][_0x292f('0x8')](_0x292f('0x2'),_0x33948f=>_0x5ab900(_0x2b69ea,_0x292f('0x1'),_0x33948f));}}
23
+ const _0x2b3a=['ELEMENT_TABLE_OF_CONTENTS','get','_descriptionFactory','insertTableOfContents','commands','tableOfContents','TrackChangesEditing','locale','registerElementLabel','enableCommand'];(function(_0x46d2f5,_0x2b3a5e){const _0x16709a=function(_0x396667){while(--_0x396667){_0x46d2f5['push'](_0x46d2f5['shift']());}};_0x16709a(++_0x2b3a5e);}(_0x2b3a,0x18d));const _0x1670=function(_0x46d2f5,_0x2b3a5e){_0x46d2f5=_0x46d2f5-0x0;let _0x16709a=_0x2b3a[_0x46d2f5];return _0x16709a;};import{Plugin as _0x4d6a57}from'ckeditor5/src/core';import{getTranslation as _0x38ed2f}from'../utils/common-translations';export default class St extends _0x4d6a57{['afterInit'](){const _0xa03689=this['editor'];if(!_0xa03689[_0x1670('0x7')][_0x1670('0x4')](_0x1670('0x6')))return;_0xa03689['plugins']['get'](_0x1670('0x9'))[_0x1670('0x2')](_0x1670('0x6'));const _0x138690=_0xa03689['plugins']['get'](_0x1670('0x9')),_0x1987cb=_0xa03689[_0x1670('0x0')];_0x138690[_0x1670('0x5')][_0x1670('0x1')](_0x1670('0x8'),_0x10d855=>_0x38ed2f(_0x1987cb,_0x1670('0x3'),_0x10d855));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x47ef=['tableCellHeight','findAncestor','start','TablePropertiesEditing','subType','getAttribute','document','getSuggestionCallback','discard','nodeAfter','TrackChangesEditing','get','tableCellPadding','TableUtils','locale','_handlePropertyChange','removeAttribute','tableCellWidth','setAttribute','handleSuggestionDescription','tableCellBorderColor','TableCellPropertiesEditing','join','commandParams','accept','tableCellBorderWidth','model','tableCellHorizontalAlignment','formatBlock','table','tableBorderColor','tableAlignment','enqueueChange','pluginName','tableCellVerticalAlignment','registerCustomCallback','getContainedElement','_descriptionFactory','has','plugins','tableCellProperties','afterInit','getFirstPosition','tableHeight','TrackChangesTableProperties','tableProperties','tableCellBackgroundColor','tableWidth','_suggestionFactory','markBlockFormat','editor','getSelectionAffectedTableCells','tableBackgroundColor','enableCommand','_getSuggestion','handleDiscardAction','format'];(function(_0xa66887,_0x47efce){const _0x151c6e=function(_0x40d2e1){while(--_0x40d2e1){_0xa66887['push'](_0xa66887['shift']());}};_0x151c6e(++_0x47efce);}(_0x47ef,0x8f));const _0x151c=function(_0xa66887,_0x47efce){_0xa66887=_0xa66887-0x0;let _0x151c6e=_0x47ef[_0xa66887];return _0x151c6e;};import{Plugin as _0x44d5ca}from'ckeditor5/src/core';import{getTranslation as _0x5405ff}from'../utils/common-translations';export default class Dt extends _0x44d5ca{constructor(_0x227786){super(_0x227786),this[_0x151c('0x10')]=[_0x151c('0x1'),'tableBorderStyle','tableBorderWidth',_0x151c('0x2'),_0x151c('0x12'),_0x151c('0xe'),_0x151c('0x17')],this[_0x151c('0xb')]=[_0x151c('0x30'),'tableCellBorderStyle',_0x151c('0x35'),_0x151c('0x28'),_0x151c('0x2d'),_0x151c('0x1c'),_0x151c('0x11'),_0x151c('0x37'),_0x151c('0x5')];}static get[_0x151c('0x4')](){return _0x151c('0xf');}[_0x151c('0xc')](){const _0x4d2c8c=this['editor'][_0x151c('0xa')]['get'](_0x151c('0x26'));if(this[_0x151c('0x15')][_0x151c('0xa')][_0x151c('0x9')](_0x151c('0x1f'))){for(const _0x837bdd of this['tableProperties'])_0x4d2c8c[_0x151c('0x18')](_0x837bdd,(_0x4f0c12,_0x6c6aee)=>{const _0xdf50f2=this[_0x151c('0x15')][_0x151c('0x36')]['document']['selection'][_0x151c('0xd')]()[_0x151c('0x1d')](_0x151c('0x0'));this[_0x151c('0x2b')](_0x837bdd,[_0xdf50f2],this['tableProperties'],_0x151c('0x10'),_0x4f0c12,_0x6c6aee);});_0x4d2c8c[_0x151c('0x13')]['registerCustomCallback'](_0x151c('0x38'),_0x151c('0x10'),_0x151c('0x34'),_0x4d2c8c[_0x151c('0x13')][_0x151c('0x23')](_0x151c('0x38'),null,_0x151c('0x24'))),_0x4d2c8c[_0x151c('0x13')][_0x151c('0x6')](_0x151c('0x38'),_0x151c('0x10'),_0x151c('0x24'),(_0x5783a6,_0xa45834)=>this[_0x151c('0x1a')](this[_0x151c('0x10')],_0x5783a6,_0xa45834)),_0x4d2c8c['_suggestionFactory']['registerCustomCallback'](_0x151c('0x38'),_0x151c('0x10'),_0x151c('0x32'),()=>!0x1);}if(this[_0x151c('0x15')][_0x151c('0xa')][_0x151c('0x9')](_0x151c('0x31'))){for(const _0x5f126d of this[_0x151c('0xb')])_0x4d2c8c['enableCommand'](_0x5f126d,(_0x57bbcd,_0x5903c6)=>{const _0x273b92=this[_0x151c('0x15')]['plugins'][_0x151c('0x27')](_0x151c('0x29'))[_0x151c('0x16')](this['editor'][_0x151c('0x36')][_0x151c('0x22')]['selection']);this[_0x151c('0x2b')](_0x5f126d,_0x273b92,this[_0x151c('0xb')],_0x151c('0xb'),_0x57bbcd,_0x5903c6);});_0x4d2c8c['_suggestionFactory']['registerCustomCallback']('formatBlock',_0x151c('0xb'),_0x151c('0x34'),_0x4d2c8c['_suggestionFactory'][_0x151c('0x23')]('formatBlock',null,'discard')),_0x4d2c8c['_suggestionFactory'][_0x151c('0x6')](_0x151c('0x38'),_0x151c('0xb'),_0x151c('0x24'),(_0x4cbee6,_0x37325e)=>this[_0x151c('0x1a')](this[_0x151c('0xb')],_0x4cbee6,_0x37325e)),_0x4d2c8c[_0x151c('0x13')][_0x151c('0x6')](_0x151c('0x38'),_0x151c('0xb'),_0x151c('0x32'),()=>!0x1);}_0x4d2c8c[_0x151c('0x8')]['registerDescriptionCallback'](_0x260c70=>this['handleSuggestionDescription'](_0x260c70));}['_handlePropertyChange'](_0x2f0934,_0x35211a,_0x5825f5,_0x12d1d5,_0x7e7a57,_0x36cb90){const _0x490629=this['editor']['plugins']['get'](_0x151c('0x26'));this['editor'][_0x151c('0x36')][_0x151c('0x3')](_0x36cb90['batch'],()=>{for(const _0x241b5b of _0x35211a){if(this[_0x151c('0x19')](_0x241b5b,_0x12d1d5))_0x7e7a57(_0x36cb90);else{const _0x2a5623={};for(const _0x39b6fa of _0x5825f5){const _0x2782ee=_0x241b5b[_0x151c('0x21')](_0x39b6fa);void 0x0!==_0x2782ee&&(_0x2a5623[_0x39b6fa]=_0x2782ee);}_0x7e7a57(_0x36cb90),_0x490629[_0x151c('0x14')](_0x241b5b,{'commandParams':[_0x2a5623]},[],_0x12d1d5);}}});}[_0x151c('0x1a')](_0x524621,_0x5c674c,_0x3595e0){const _0x15902e=_0x5c674c[0x0][_0x151c('0x1e')][_0x151c('0x25')],_0x3aa151=_0x3595e0[_0x151c('0x33')][0x0];this[_0x151c('0x15')][_0x151c('0x36')]['change'](_0x497b34=>{for(const _0x493df8 of _0x524621)void 0x0!==_0x3aa151[_0x493df8]?_0x497b34[_0x151c('0x2e')](_0x493df8,_0x3aa151[_0x493df8],_0x15902e):_0x497b34[_0x151c('0x2c')](_0x493df8,_0x15902e);});}[_0x151c('0x2f')](_0x1a9652){if(_0x1a9652['data'])switch(_0x1a9652[_0x151c('0x20')]){case'tableProperties':return{'type':'format','content':_0x5405ff(this[_0x151c('0x15')][_0x151c('0x2a')],'*Format:*\x20change\x20table\x20properties')};case _0x151c('0xb'):return{'type':_0x151c('0x1b'),'content':_0x5405ff(this[_0x151c('0x15')]['locale'],'*Format:*\x20change\x20table\x20cell\x20properties')};}}[_0x151c('0x19')](_0x3e72d2,_0x32db15){const _0xf2746c=this['editor'][_0x151c('0xa')][_0x151c('0x27')](_0x151c('0x26'));for(const _0x48eeb1 of _0xf2746c['getSuggestions']({'skipNotAttached':!0x0})){const _0x2083da=_0x48eeb1[_0x151c('0x7')]();if(_0x48eeb1[_0x151c('0x20')]===_0x32db15&&_0x2083da===_0x3e72d2)return _0x48eeb1;}return null;}}
23
+ const _0x595f=['enableCommand','format','removeAttribute','change','tableBackgroundColor','getSuggestions','plugins','tableCellWidth','nodeAfter','subType','tableBorderColor','data','markBlockFormat','tableBorderStyle','document','handleDiscardAction','getSuggestionCallback','model','TableCellPropertiesEditing','discard','tableWidth','_handlePropertyChange','tableBorderWidth','_descriptionFactory','tableCellBorderColor','selection','TrackChangesEditing','handleSuggestionDescription','tableCellHeight','_suggestionFactory','get','tableCellVerticalAlignment','tableHeight','start','formatBlock','locale','registerDescriptionCallback','enqueueChange','tableCellProperties','getSelectionAffectedTableCells','setAttribute','TablePropertiesEditing','getAttribute','getContainedElement','_getSuggestion','registerCustomCallback','join','findAncestor','batch','has','tableCellBorderStyle','tableProperties','*Format:*\x20change\x20table\x20properties','editor'];(function(_0x49ca6e,_0x595f1e){const _0xeac80e=function(_0x164294){while(--_0x164294){_0x49ca6e['push'](_0x49ca6e['shift']());}};_0xeac80e(++_0x595f1e);}(_0x595f,0x19a));const _0xeac8=function(_0x49ca6e,_0x595f1e){_0x49ca6e=_0x49ca6e-0x0;let _0xeac80e=_0x595f[_0x49ca6e];return _0xeac80e;};import{Plugin as _0x3e4f00}from'ckeditor5/src/core';import{getTranslation as _0x56a173}from'../utils/common-translations';export default class Dt extends _0x3e4f00{constructor(_0x31cbb1){super(_0x31cbb1),this[_0xeac8('0x13')]=[_0xeac8('0x20'),_0xeac8('0x23'),_0xeac8('0x2c'),'tableAlignment',_0xeac8('0x2a'),_0xeac8('0x0'),_0xeac8('0x1a')],this[_0xeac8('0x6')]=[_0xeac8('0x2e'),_0xeac8('0x12'),'tableCellBorderWidth','tableCellPadding',_0xeac8('0x1d'),_0xeac8('0x32'),'tableCellBackgroundColor','tableCellHorizontalAlignment',_0xeac8('0x35')];}static get['pluginName'](){return'TrackChangesTableProperties';}['afterInit'](){const _0x390ce5=this[_0xeac8('0x15')][_0xeac8('0x1c')][_0xeac8('0x34')]('TrackChangesEditing');if(this[_0xeac8('0x15')][_0xeac8('0x1c')][_0xeac8('0x11')](_0xeac8('0x9'))){for(const _0x598a26 of this[_0xeac8('0x13')])_0x390ce5['enableCommand'](_0x598a26,(_0x18a82b,_0x131a94)=>{const _0x51ed74=this[_0xeac8('0x15')][_0xeac8('0x27')][_0xeac8('0x24')][_0xeac8('0x2f')]['getFirstPosition']()[_0xeac8('0xf')]('table');this[_0xeac8('0x2b')](_0x598a26,[_0x51ed74],this['tableProperties'],'tableProperties',_0x18a82b,_0x131a94);});_0x390ce5['_suggestionFactory']['registerCustomCallback'](_0xeac8('0x2'),_0xeac8('0x13'),'accept',_0x390ce5[_0xeac8('0x33')]['getSuggestionCallback']('formatBlock',null,_0xeac8('0x29'))),_0x390ce5[_0xeac8('0x33')][_0xeac8('0xd')](_0xeac8('0x2'),_0xeac8('0x13'),_0xeac8('0x29'),(_0xd79b86,_0x18cb56)=>this[_0xeac8('0x25')](this[_0xeac8('0x13')],_0xd79b86,_0x18cb56)),_0x390ce5[_0xeac8('0x33')]['registerCustomCallback']('formatBlock',_0xeac8('0x13'),'join',()=>!0x1);}if(this[_0xeac8('0x15')][_0xeac8('0x1c')][_0xeac8('0x11')](_0xeac8('0x28'))){for(const _0x52428e of this[_0xeac8('0x6')])_0x390ce5[_0xeac8('0x16')](_0x52428e,(_0x1f7a2a,_0x136862)=>{const _0x5be2c8=this[_0xeac8('0x15')][_0xeac8('0x1c')][_0xeac8('0x34')]('TableUtils')[_0xeac8('0x7')](this['editor'][_0xeac8('0x27')][_0xeac8('0x24')][_0xeac8('0x2f')]);this[_0xeac8('0x2b')](_0x52428e,_0x5be2c8,this[_0xeac8('0x6')],_0xeac8('0x6'),_0x1f7a2a,_0x136862);});_0x390ce5['_suggestionFactory'][_0xeac8('0xd')](_0xeac8('0x2'),'tableCellProperties','accept',_0x390ce5[_0xeac8('0x33')][_0xeac8('0x26')](_0xeac8('0x2'),null,_0xeac8('0x29'))),_0x390ce5[_0xeac8('0x33')]['registerCustomCallback'](_0xeac8('0x2'),_0xeac8('0x6'),_0xeac8('0x29'),(_0xd77726,_0x192554)=>this['handleDiscardAction'](this['tableCellProperties'],_0xd77726,_0x192554)),_0x390ce5[_0xeac8('0x33')][_0xeac8('0xd')](_0xeac8('0x2'),'tableCellProperties',_0xeac8('0xe'),()=>!0x1);}_0x390ce5[_0xeac8('0x2d')][_0xeac8('0x4')](_0x251183=>this[_0xeac8('0x31')](_0x251183));}[_0xeac8('0x2b')](_0x41c775,_0x3895e8,_0xe7bf66,_0x430af7,_0x54fac7,_0x1774f8){const _0x35b069=this[_0xeac8('0x15')][_0xeac8('0x1c')][_0xeac8('0x34')]('TrackChangesEditing');this[_0xeac8('0x15')]['model'][_0xeac8('0x5')](_0x1774f8[_0xeac8('0x10')],()=>{for(const _0x4437e6 of _0x3895e8){if(this[_0xeac8('0xc')](_0x4437e6,_0x430af7))_0x54fac7(_0x1774f8);else{const _0x38ccbe={};for(const _0x43dfd0 of _0xe7bf66){const _0x5a9182=_0x4437e6[_0xeac8('0xa')](_0x43dfd0);void 0x0!==_0x5a9182&&(_0x38ccbe[_0x43dfd0]=_0x5a9182);}_0x54fac7(_0x1774f8),_0x35b069[_0xeac8('0x22')](_0x4437e6,{'commandParams':[_0x38ccbe]},[],_0x430af7);}}});}[_0xeac8('0x25')](_0x47a7fc,_0x1e83de,_0x5bf96c){const _0x21a26a=_0x1e83de[0x0][_0xeac8('0x1')][_0xeac8('0x1e')],_0x30594e=_0x5bf96c['commandParams'][0x0];this[_0xeac8('0x15')]['model'][_0xeac8('0x19')](_0x1ba150=>{for(const _0x4ca881 of _0x47a7fc)void 0x0!==_0x30594e[_0x4ca881]?_0x1ba150[_0xeac8('0x8')](_0x4ca881,_0x30594e[_0x4ca881],_0x21a26a):_0x1ba150[_0xeac8('0x18')](_0x4ca881,_0x21a26a);});}[_0xeac8('0x31')](_0x40a62c){if(_0x40a62c[_0xeac8('0x21')])switch(_0x40a62c[_0xeac8('0x1f')]){case'tableProperties':return{'type':'format','content':_0x56a173(this[_0xeac8('0x15')][_0xeac8('0x3')],_0xeac8('0x14'))};case'tableCellProperties':return{'type':_0xeac8('0x17'),'content':_0x56a173(this[_0xeac8('0x15')]['locale'],'*Format:*\x20change\x20table\x20cell\x20properties')};}}['_getSuggestion'](_0x1ecfd0,_0x5cd3e6){const _0x4fb2a5=this['editor'][_0xeac8('0x1c')][_0xeac8('0x34')](_0xeac8('0x30'));for(const _0x3e007b of _0x4fb2a5[_0xeac8('0x1b')]({'skipNotAttached':!0x0})){const _0x1bd2b7=_0x3e007b[_0xeac8('0xb')]();if(_0x3e007b[_0xeac8('0x1f')]===_0x5cd3e6&&_0x1bd2b7===_0x1ecfd0)return _0x3e007b;}return null;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3788=['editor','Template','get','has','afterInit','insertTemplate','TrackChangesEditing','enableCommand','plugins'];(function(_0x3d0cd2,_0x3788e5){const _0x27f8d4=function(_0x572c64){while(--_0x572c64){_0x3d0cd2['push'](_0x3d0cd2['shift']());}};_0x27f8d4(++_0x3788e5);}(_0x3788,0x164));const _0x27f8=function(_0x3d0cd2,_0x3788e5){_0x3d0cd2=_0x3d0cd2-0x0;let _0x27f8d4=_0x3788[_0x3d0cd2];return _0x27f8d4;};import{Plugin as _0x25090a}from'ckeditor5/src/core';export default class bt extends _0x25090a{[_0x27f8('0x8')](){const _0x32c17d=this[_0x27f8('0x4')];_0x32c17d[_0x27f8('0x3')][_0x27f8('0x7')](_0x27f8('0x5'))&&_0x32c17d[_0x27f8('0x3')][_0x27f8('0x6')](_0x27f8('0x1'))[_0x27f8('0x2')](_0x27f8('0x0'));}}
23
+ const _0x3c82=['plugins','Template','TrackChangesEditing','insertTemplate','afterInit','get'];(function(_0xf401d7,_0x3c82ff){const _0x51f01a=function(_0x468bdd){while(--_0x468bdd){_0xf401d7['push'](_0xf401d7['shift']());}};_0x51f01a(++_0x3c82ff);}(_0x3c82,0xa4));const _0x51f0=function(_0xf401d7,_0x3c82ff){_0xf401d7=_0xf401d7-0x0;let _0x51f01a=_0x3c82[_0xf401d7];return _0x51f01a;};import{Plugin as _0x2743d1}from'ckeditor5/src/core';export default class bt extends _0x2743d1{[_0x51f0('0x2')](){const _0x4964b8=this['editor'];_0x4964b8[_0x51f0('0x4')]['has'](_0x51f0('0x5'))&&_0x4964b8[_0x51f0('0x4')][_0x51f0('0x3')](_0x51f0('0x0'))['enableCommand'](_0x51f0('0x1'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1764=['registerPostFixer','removeMarker','has','afterInit','Title','updateMarker','element','_descriptionFactory','model','getNearestSelectionRange','isTouching','from','suggestion','editor','ELEMENT_TITLE','registerElementLabel','isEqual','createRange','_splitMarkerName','plugins','differ','title-content','newRange','document','getChangedMarkers','start','get','end','locale','TrackChangesEditing'];(function(_0x2f2faf,_0x176414){const _0x5d77c6=function(_0x10463d){while(--_0x10463d){_0x2f2faf['push'](_0x2f2faf['shift']());}};_0x5d77c6(++_0x176414);}(_0x1764,0x12a));const _0x5d77=function(_0x2f2faf,_0x176414){_0x2f2faf=_0x2f2faf-0x0;let _0x5d77c6=_0x1764[_0x2f2faf];return _0x5d77c6;};import{Plugin as _0x29ae90}from'ckeditor5/src/core';import{getTranslation as _0x525943}from'../utils/common-translations';export default class It extends _0x29ae90{[_0x5d77('0x5')](){const _0x5eed1e=this[_0x5d77('0xf')];if(!_0x5eed1e[_0x5d77('0x15')][_0x5d77('0x4')](_0x5d77('0x6')))return;const _0xcd0c0b=_0x5eed1e['plugins'][_0x5d77('0x1c')](_0x5d77('0x1'));_0xcd0c0b[_0x5d77('0x9')][_0x5d77('0x11')](_0x5d77('0x17'),()=>_0x525943(_0x5eed1e[_0x5d77('0x0')],_0x5d77('0x10'))),_0x5eed1e['model']['document'][_0x5d77('0x2')](_0x2073c7=>{let _0x5ab0d4=!0x1;const _0x2ae9c0=Array[_0x5d77('0xd')](_0x5eed1e[_0x5d77('0xa')][_0x5d77('0x19')][_0x5d77('0x16')][_0x5d77('0x1a')]());for(const {name:_0x2bbb3e,data:_0x3dd504}of _0x2ae9c0){const {group:_0x6c320b}=_0xcd0c0b[_0x5d77('0x14')](_0x2bbb3e);if(_0x5d77('0xe')!==_0x6c320b||!_0x3dd504['newRange'])continue;const _0x1f5d78=_0x3dd504[_0x5d77('0x18')],_0xd7141f=_0x1f5d78['end']['nodeBefore'];if(!_0xd7141f||!_0xd7141f['is'](_0x5d77('0x8'),'title-content'))continue;if(!_0x1f5d78[_0x5d77('0x1b')][_0x5d77('0xc')](_0x1f5d78[_0x5d77('0x1d')]))continue;const _0x4de732=_0x5eed1e[_0x5d77('0xa')]['schema'][_0x5d77('0xb')](_0x1f5d78[_0x5d77('0x1d')],'forward');if(_0x4de732&&_0x4de732['isCollapsed']){const _0xa061=_0x2073c7[_0x5d77('0x13')](_0x1f5d78[_0x5d77('0x1b')],_0x4de732[_0x5d77('0x1b')]);_0xa061[_0x5d77('0x12')](_0x1f5d78)||(_0x2073c7[_0x5d77('0x7')](_0x2bbb3e,{'range':_0xa061}),_0x5ab0d4=!0x0);}_0x5ab0d4||(_0x2073c7[_0x5d77('0x3')](_0x2bbb3e),_0x5ab0d4=!0x0);}return _0x5ab0d4;});}}
23
+ const _0x514d=['removeMarker','forward','newRange','isEqual','document','locale','nodeBefore','TrackChangesEditing','start','has','getNearestSelectionRange','ELEMENT_TITLE','afterInit','getChangedMarkers','createRange','element','isCollapsed','end','plugins','title-content','suggestion','_splitMarkerName','model','schema','get','Title'];(function(_0x1c675e,_0x514ded){const _0x1423ca=function(_0x4268dd){while(--_0x4268dd){_0x1c675e['push'](_0x1c675e['shift']());}};_0x1423ca(++_0x514ded);}(_0x514d,0xdb));const _0x1423=function(_0x1c675e,_0x514ded){_0x1c675e=_0x1c675e-0x0;let _0x1423ca=_0x514d[_0x1c675e];return _0x1423ca;};import{Plugin as _0x232700}from'ckeditor5/src/core';import{getTranslation as _0x1f9407}from'../utils/common-translations';export default class It extends _0x232700{[_0x1423('0x1')](){const _0x28976d=this['editor'];if(!_0x28976d[_0x1423('0x7')][_0x1423('0x18')](_0x1423('0xe')))return;const _0xcdfe15=_0x28976d[_0x1423('0x7')][_0x1423('0xd')](_0x1423('0x16'));_0xcdfe15['_descriptionFactory']['registerElementLabel'](_0x1423('0x8'),()=>_0x1f9407(_0x28976d[_0x1423('0x14')],_0x1423('0x0'))),_0x28976d['model'][_0x1423('0x13')]['registerPostFixer'](_0x50afda=>{let _0x137832=!0x1;const _0x59f0a1=Array['from'](_0x28976d[_0x1423('0xb')][_0x1423('0x13')]['differ'][_0x1423('0x2')]());for(const {name:_0x40e58e,data:_0x2b4055}of _0x59f0a1){const {group:_0x1f8add}=_0xcdfe15[_0x1423('0xa')](_0x40e58e);if(_0x1423('0x9')!==_0x1f8add||!_0x2b4055[_0x1423('0x11')])continue;const _0x3e74e6=_0x2b4055['newRange'],_0x2353d2=_0x3e74e6[_0x1423('0x6')][_0x1423('0x15')];if(!_0x2353d2||!_0x2353d2['is'](_0x1423('0x4'),_0x1423('0x8')))continue;if(!_0x3e74e6[_0x1423('0x17')]['isTouching'](_0x3e74e6['end']))continue;const _0x4cc246=_0x28976d[_0x1423('0xb')][_0x1423('0xc')][_0x1423('0x19')](_0x3e74e6[_0x1423('0x6')],_0x1423('0x10'));if(_0x4cc246&&_0x4cc246[_0x1423('0x5')]){const _0xc0641d=_0x50afda[_0x1423('0x3')](_0x3e74e6[_0x1423('0x17')],_0x4cc246[_0x1423('0x17')]);_0xc0641d[_0x1423('0x12')](_0x3e74e6)||(_0x50afda['updateMarker'](_0x40e58e,{'range':_0xc0641d}),_0x137832=!0x0);}_0x137832||(_0x50afda[_0x1423('0xf')](_0x40e58e),_0x137832=!0x0);}return _0x137832;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x41b1=['redo','plugins','has','enableCommand','get','editor','undo','UndoEditing','TrackChangesEditing'];(function(_0x35540d,_0x41b12f){const _0x1291c7=function(_0x430e23){while(--_0x430e23){_0x35540d['push'](_0x35540d['shift']());}};_0x1291c7(++_0x41b12f);}(_0x41b1,0x144));const _0x1291=function(_0x35540d,_0x41b12f){_0x35540d=_0x35540d-0x0;let _0x1291c7=_0x41b1[_0x35540d];return _0x1291c7;};import{Plugin as _0x18ec5b}from'ckeditor5/src/core';export default class vt extends _0x18ec5b{['afterInit'](){const _0x444521=this[_0x1291('0x5')],_0x156f49=_0x444521[_0x1291('0x1')][_0x1291('0x4')](_0x1291('0x8'));_0x444521['plugins'][_0x1291('0x2')](_0x1291('0x7'))&&(_0x156f49[_0x1291('0x3')](_0x1291('0x6')),_0x156f49['enableCommand'](_0x1291('0x0')));}}
23
+ const _0x3661=['TrackChangesEditing','redo','enableCommand','UndoEditing','get','undo','editor','plugins'];(function(_0x24a596,_0x36615c){const _0x4e66aa=function(_0x52164a){while(--_0x52164a){_0x24a596['push'](_0x24a596['shift']());}};_0x4e66aa(++_0x36615c);}(_0x3661,0xfe));const _0x4e66=function(_0x24a596,_0x36615c){_0x24a596=_0x24a596-0x0;let _0x4e66aa=_0x3661[_0x24a596];return _0x4e66aa;};import{Plugin as _0x459b3f}from'ckeditor5/src/core';export default class vt extends _0x459b3f{['afterInit'](){const _0x45e966=this[_0x4e66('0x0')],_0x4929c8=_0x45e966[_0x4e66('0x1')][_0x4e66('0x6')](_0x4e66('0x2'));_0x45e966['plugins']['has'](_0x4e66('0x5'))&&(_0x4929c8[_0x4e66('0x4')](_0x4e66('0x7')),_0x4929c8[_0x4e66('0x4')](_0x4e66('0x3')));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4ca8=['span','element','item','listItem','writer','includes','isContent','activeMarkers','bindElementToMarker','model','name','test','consumable','elementEnd','markerName','markerRange','listIndent','toViewElement','toViewPosition','getAttribute','get','previousPosition','createUIElement','getWalker','ck-suggestion-marker-','hasAttribute','push','addHighlight','type','addClass','createRangeOn','nextSibling','start','getCustomProperty','getItems','ck-suggestion-marker--active'];(function(_0x1cc634,_0x4ca8be){const _0xf3d0c6=function(_0x3ece68){while(--_0x3ece68){_0x1cc634['push'](_0x1cc634['shift']());}};_0xf3d0c6(++_0x4ca8be);}(_0x4ca8,0xdc));const _0xf3d0=function(_0x1cc634,_0x4ca8be){_0x1cc634=_0x1cc634-0x0;let _0xf3d0c6=_0x4ca8[_0x1cc634];return _0xf3d0c6;};export function getRangesWithAttribute(_0x3b2920,_0x286230,_0x19cdd5){const _0x332e74=[];for(const _0x5b07ea of _0x286230[_0xf3d0('0x1e')]())_0x5b07ea[_0xf3d0('0x15')](_0x3b2920)&&_0x332e74[_0xf3d0('0x16')](_0x19cdd5[_0xf3d0('0x1a')](_0x5b07ea));return _0x332e74;}export function getElementsAffectedByListItemRename(_0x46ad52){const _0x4287ea=[];if(_0x46ad52['is']('element','listItem')){let _0x3babf1=_0x46ad52['nextSibling'];for(;_0x3babf1&&_0x3babf1['is'](_0xf3d0('0x21'),_0xf3d0('0x23'))&&_0x3babf1[_0xf3d0('0xf')](_0xf3d0('0xc'))>0x0;)_0x4287ea[_0xf3d0('0x16')](_0x3babf1),_0x3babf1=_0x3babf1[_0xf3d0('0x1b')];}return _0x4287ea;}export function downcastSplitMergeMarker(_0x822211,_0x45dad7,{showActiveMarker:_0x131e11=!0x0}={}){const _0x33028b=_0x822211['plugins'][_0xf3d0('0x10')]('TrackChangesEditing');return(_0x28cf3c,_0xd9ce6e,_0x1a3525)=>{if(!_0x1a3525[_0xf3d0('0x8')][_0xf3d0('0x7')](_0xd9ce6e[_0xf3d0('0xb')],_0x28cf3c[_0xf3d0('0x6')]))return;const _0x23aabe=_0xd9ce6e[_0xf3d0('0xb')][_0xf3d0('0x13')](),_0x13d897=_0xd9ce6e[_0xf3d0('0xb')][_0xf3d0('0x1c')],_0x5c12c0=_0x822211[_0xf3d0('0x5')]['schema'];let _0x468f4b=null,_0x593a5f=null,_0x2c03ed=!0x1,_0x49f69d=!0x1;for(const _0x19ddfe of _0x23aabe){const _0x46c0c3=_0x19ddfe[_0xf3d0('0x22')];_0x2c03ed=_0x2c03ed||_0x5c12c0[_0xf3d0('0x2')](_0x46c0c3);const _0x33db87=_0x1a3525['mapper'][_0xf3d0('0xd')](_0x46c0c3);if(_0x33db87&&_0x33db87[_0xf3d0('0x1d')](_0xf3d0('0x17')))return;_0xf3d0('0x9')==_0x19ddfe[_0xf3d0('0x18')]&&(_0x5c12c0['isBlock'](_0x46c0c3)&&!_0x5c12c0['isLimit'](_0x46c0c3)&&(_0x46c0c3[_0xf3d0('0x1b')]||_0x13d897['isAtEnd']?_0x468f4b&&_0x468f4b['parent']==_0x46c0c3||(_0x468f4b=_0x46c0c3,_0x48bf25(_0x19ddfe[_0xf3d0('0x11')]),_0x49f69d=!0x0):_0x593a5f=_0x593a5f||_0x19ddfe[_0xf3d0('0x11')]));}function _0x48bf25(_0x363e2e){const _0x127bfa=_0x1a3525['writer'][_0xf3d0('0x12')](_0xf3d0('0x20'),{'class':_0xf3d0('0x14')+_0x45dad7}),_0x58d1aa=_0x1a3525['mapper'][_0xf3d0('0xe')](_0x363e2e);_0x131e11&&_0x33028b[_0xf3d0('0x3')][_0xf3d0('0x1')](_0xd9ce6e[_0xf3d0('0xa')])&&_0x1a3525['writer'][_0xf3d0('0x19')](_0xf3d0('0x1f'),_0x127bfa),_0x1a3525[_0xf3d0('0x0')]['insert'](_0x58d1aa,_0x127bfa),_0x1a3525['mapper'][_0xf3d0('0x4')](_0x127bfa,_0xd9ce6e['markerName']);}_0x2c03ed||_0x49f69d||!_0x593a5f||_0x48bf25(_0x593a5f);};}
23
+ const _0x18cb=['item','ck-suggestion-marker--active','ck-suggestion-marker-','createRangeOn','activeMarkers','type','markerName','listItem','insert','isBlock','nextSibling','span','includes','consumable','plugins','previousPosition','push','test','model','isLimit','element','toViewPosition','TrackChangesEditing','getWalker','getAttribute','markerRange','getCustomProperty','getItems','toViewElement','name','listIndent','createUIElement','addHighlight','mapper','hasAttribute','get','start','writer','isContent','addClass'];(function(_0x5c797e,_0x18cb5b){const _0x4fac2c=function(_0x724d8){while(--_0x724d8){_0x5c797e['push'](_0x5c797e['shift']());}};_0x4fac2c(++_0x18cb5b);}(_0x18cb,0x1e8));const _0x4fac=function(_0x5c797e,_0x18cb5b){_0x5c797e=_0x5c797e-0x0;let _0x4fac2c=_0x18cb[_0x5c797e];return _0x4fac2c;};export function getRangesWithAttribute(_0x38b2bb,_0x39dc52,_0x24f032){const _0x265720=[];for(const _0xead062 of _0x39dc52[_0x4fac('0x13')]())_0xead062[_0x4fac('0x1a')](_0x38b2bb)&&_0x265720['push'](_0x24f032[_0x4fac('0x23')](_0xead062));return _0x265720;}export function getElementsAffectedByListItemRename(_0x5db330){const _0x29a79b=[];if(_0x5db330['is'](_0x4fac('0xc'),_0x4fac('0x27'))){let _0x2a4194=_0x5db330[_0x4fac('0x2')];for(;_0x2a4194&&_0x2a4194['is'](_0x4fac('0xc'),'listItem')&&_0x2a4194[_0x4fac('0x10')](_0x4fac('0x16'))>0x0;)_0x29a79b[_0x4fac('0x8')](_0x2a4194),_0x2a4194=_0x2a4194[_0x4fac('0x2')];}return _0x29a79b;}export function downcastSplitMergeMarker(_0x41fd7b,_0x2e2425,{showActiveMarker:_0x1ff22b=!0x0}={}){const _0x510e20=_0x41fd7b[_0x4fac('0x6')][_0x4fac('0x1b')](_0x4fac('0xe'));return(_0x322875,_0x337cdd,_0x1834fc)=>{if(!_0x1834fc[_0x4fac('0x5')][_0x4fac('0x9')](_0x337cdd[_0x4fac('0x11')],_0x322875[_0x4fac('0x15')]))return;const _0x294ea3=_0x337cdd[_0x4fac('0x11')][_0x4fac('0xf')](),_0x583d93=_0x337cdd[_0x4fac('0x11')][_0x4fac('0x1c')],_0x394338=_0x41fd7b[_0x4fac('0xa')]['schema'];let _0x15566d=null,_0x87c95c=null,_0x3b1931=!0x1,_0xaeca1e=!0x1;for(const _0x1e619d of _0x294ea3){const _0x1cd65=_0x1e619d[_0x4fac('0x20')];_0x3b1931=_0x3b1931||_0x394338[_0x4fac('0x1e')](_0x1cd65);const _0x7f1dd9=_0x1834fc[_0x4fac('0x19')][_0x4fac('0x14')](_0x1cd65);if(_0x7f1dd9&&_0x7f1dd9[_0x4fac('0x12')](_0x4fac('0x18')))return;'elementEnd'==_0x1e619d[_0x4fac('0x25')]&&(_0x394338[_0x4fac('0x1')](_0x1cd65)&&!_0x394338[_0x4fac('0xb')](_0x1cd65)&&(_0x1cd65[_0x4fac('0x2')]||_0x583d93['isAtEnd']?_0x15566d&&_0x15566d['parent']==_0x1cd65||(_0x15566d=_0x1cd65,_0x109a5e(_0x1e619d['previousPosition']),_0xaeca1e=!0x0):_0x87c95c=_0x87c95c||_0x1e619d[_0x4fac('0x7')]));}function _0x109a5e(_0x4cb846){const _0x2b1ee4=_0x1834fc[_0x4fac('0x1d')][_0x4fac('0x17')](_0x4fac('0x3'),{'class':_0x4fac('0x22')+_0x2e2425}),_0x138330=_0x1834fc[_0x4fac('0x19')][_0x4fac('0xd')](_0x4cb846);_0x1ff22b&&_0x510e20[_0x4fac('0x24')][_0x4fac('0x4')](_0x337cdd[_0x4fac('0x26')])&&_0x1834fc[_0x4fac('0x1d')][_0x4fac('0x1f')](_0x4fac('0x21'),_0x2b1ee4),_0x1834fc[_0x4fac('0x1d')][_0x4fac('0x0')](_0x138330,_0x2b1ee4),_0x1834fc[_0x4fac('0x19')]['bindElementToMarker'](_0x2b1ee4,_0x337cdd[_0x4fac('0x26')]);}_0x3b1931||_0xaeca1e||!_0x87c95c||_0x109a5e(_0x87c95c);};}