@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20231122.0 → 0.0.0-nightly-20231124.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (66) hide show
  1. package/build/track-changes.js +1 -1
  2. package/package.json +3 -3
  3. package/src/commands/acceptsuggestioncommand.js +1 -1
  4. package/src/commands/discardsuggestioncommand.js +1 -1
  5. package/src/commands/executeonallsuggestionscommand.js +1 -1
  6. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  7. package/src/commands/trackchangescommand.js +1 -1
  8. package/src/integrations/aiassistant.js +1 -1
  9. package/src/integrations/alignment.js +1 -1
  10. package/src/integrations/basicstyles.js +1 -1
  11. package/src/integrations/blockquote.js +1 -1
  12. package/src/integrations/ckbox.js +1 -1
  13. package/src/integrations/codeblock.js +1 -1
  14. package/src/integrations/comments.js +1 -1
  15. package/src/integrations/deletecommand.js +1 -1
  16. package/src/integrations/documentlist.js +1 -1
  17. package/src/integrations/documentlistproperties.js +1 -1
  18. package/src/integrations/entercommand.js +1 -1
  19. package/src/integrations/findandreplace.js +1 -1
  20. package/src/integrations/font.js +1 -1
  21. package/src/integrations/formatpainter.js +1 -1
  22. package/src/integrations/heading.js +1 -1
  23. package/src/integrations/highlight.js +1 -1
  24. package/src/integrations/horizontalline.js +1 -1
  25. package/src/integrations/htmlembed.js +1 -1
  26. package/src/integrations/image.js +1 -1
  27. package/src/integrations/imagereplace.js +1 -1
  28. package/src/integrations/imagestyle.js +1 -1
  29. package/src/integrations/importword.js +1 -1
  30. package/src/integrations/indent.js +1 -1
  31. package/src/integrations/inputcommand.js +1 -1
  32. package/src/integrations/link.js +1 -1
  33. package/src/integrations/list.js +1 -1
  34. package/src/integrations/listproperties.js +1 -1
  35. package/src/integrations/mediaembed.js +1 -1
  36. package/src/integrations/mention.js +1 -1
  37. package/src/integrations/pagebreak.js +1 -1
  38. package/src/integrations/paragraph.js +1 -1
  39. package/src/integrations/removeformat.js +1 -1
  40. package/src/integrations/restrictededitingmode.js +1 -1
  41. package/src/integrations/shiftentercommand.js +1 -1
  42. package/src/integrations/standardeditingmode.js +1 -1
  43. package/src/integrations/style.js +1 -1
  44. package/src/integrations/table.js +1 -1
  45. package/src/integrations/tablecaption.js +1 -1
  46. package/src/integrations/tableclipboard.js +1 -1
  47. package/src/integrations/tablecolumnresize.js +1 -1
  48. package/src/integrations/tableheadings.js +1 -1
  49. package/src/integrations/tablemergesplit.js +1 -1
  50. package/src/integrations/tableofcontents.js +1 -1
  51. package/src/integrations/tableproperties.js +1 -1
  52. package/src/integrations/template.js +1 -1
  53. package/src/integrations/title.js +1 -1
  54. package/src/integrations/undo.js +1 -1
  55. package/src/integrations/utils.js +1 -1
  56. package/src/suggestion.js +1 -1
  57. package/src/suggestiondescriptionfactory.js +1 -1
  58. package/src/trackchanges.js +1 -1
  59. package/src/trackchangesdata.js +1 -1
  60. package/src/trackchangesediting.js +1 -1
  61. package/src/trackchangesui.js +1 -1
  62. package/src/ui/suggestioncontroller.js +1 -1
  63. package/src/ui/view/basesuggestionthreadview.js +1 -1
  64. package/src/ui/view/suggestionthreadview.js +1 -1
  65. package/src/utils/common-translations.js +1 -1
  66. package/src/utils/utils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x57b7=['insertContent','afterInit','endRow','add','author','batch','newRange','differ','getContainedElement','keys','find','createPositionBefore','fromEntries','registerCustomCallback','markMultiRangeDeletion','deletion','has','oldRange','_replaceTableSlotCell','isInContent','register','model','subType','every','value','next','tableCellBorderWidth','tablePaste','setAttributes','start','startsWith','insertion','position','tableCellBorderColor','entries','getColumns','unwrap','dataDowncast','tablePasteRow','rowInsertionRanges','getAllAdjacentSuggestions','_tablePostFixingSubtypes','markerToHighlight','_descriptionFactory','cells','getChild','createRangeOn','isEqual','activeMarkers','removeColumns','getTableIfOnlyTableInContent','removeRows','table','rows','listenTo','tableCellHorizontalAlignment','content','insertRows','tableCellPadding','rootName','createTableWalker','deletionRanges','attributes','markers','length','createRangeIn','accept','columnInsertionIndexes','elementToElement','some','tablePasteChainId','join','tableCellVerticalAlignment','*Replace\x20table\x20cells*','tableCell','locale','plugins','editor','suggestion','getItems','stop','fill','previous','remove','getRange','tableCellBorderStyle','columnInsertionRanges','Users','getChildren','getMarkers','createElement','get','editingDowncast','change','high','insert','type','columns','containsRange','conversion','return','last','findAncestor','getSuggestion','removeMarkers','$graveyard','ck-suggestion-marker-insertion','suggestion:formatBlock:tablePasteCell','set','suggestionUnloaded','options','markerAttributes','element','wrap','removeMarker','tablePasteCell','map','isEmpty','ck-suggestion-marker','getSuggestionCallback','filter','discard','insertionRanges','_createdBatches','TableClipboard','trackChanges','includes','ck-suggestion-marker--active','requires','endColumn','tableCellSuggestion','cell','_suggestionFactory','low','getColumnIndexes','tableCellBackgroundColor','first','name','from','move','forceDefaultExecution','for','createRange','editing','end','document','view','registerDescriptionCallback','tablePasteColumn','_splitMarkerName','paragraph','nextSibling','getSelectionAffectedTableCells','getRanges','getSuggestions','formatBlock','getChangedMarkers','push','registerPostFixer','markMultiRangeInsertion','markerName'];(function(_0x381ebd,_0x57b7f0){const _0x37a44b=function(_0x163d08){while(--_0x163d08){_0x381ebd['push'](_0x381ebd['shift']());}};_0x37a44b(++_0x57b7f0);}(_0x57b7,0x14f));const _0x37a4=function(_0x381ebd,_0x57b7f0){_0x381ebd=_0x381ebd-0x0;let _0x37a44b=_0x57b7[_0x381ebd];return _0x37a44b;};import{getTranslation as _0x2e43ca}from'../utils/common-translations';import{Plugin as _0x2ac6e4}from'ckeditor5/src/core';import{uid as _0x20e5b6,priorities as _0x22d3c7}from'ckeditor5/src/utils';import _0x4d668e from'./table';const le=[_0x37a4('0xd'),_0x37a4('0x14'),_0x37a4('0x48'),_0x37a4('0x2a'),_0x37a4('0x3b'),_0x37a4('0x7a'),_0x37a4('0x2d')],ae=Object[_0x37a4('0xa0')](le[_0x37a4('0x67')](_0x20e610=>[_0x20e610,null]));export default class At extends _0x2ac6e4{static get[_0x37a4('0x73')](){return[_0x4d668e];}[_0x37a4('0x95')](){const _0x303dd6=this[_0x37a4('0x40')];if(!_0x303dd6['plugins'][_0x37a4('0x3')](_0x37a4('0x6f')))return;const _0x277b72=_0x303dd6['plugins'][_0x37a4('0x4e')]('TrackChangesEditing'),_0x2c045d=_0x303dd6[_0x37a4('0x3f')]['get']('TableUtils'),_0x3c5dc5=_0x303dd6[_0x37a4('0x3f')]['get'](_0x4d668e),_0x316bc2=_0x303dd6[_0x37a4('0x3f')][_0x37a4('0x4e')](_0x37a4('0x6f'));_0x3c5dc5[_0x37a4('0x1c')][_0x37a4('0x90')](_0x37a4('0x19'),'tablePasteColumn'),_0x303dd6[_0x37a4('0x8')]['schema'][_0x37a4('0x7')]('tableCellSuggestion',{'allowIn':_0x37a4('0x3d'),'allowContentOf':_0x37a4('0x3d'),'isLimit':!0x0}),_0x303dd6[_0x37a4('0x56')][_0x37a4('0x37')]({'model':'tableCellSuggestion','view':'suggestion-td'});let _0x446065=null;_0x303dd6[_0x37a4('0x8')]['on'](_0x37a4('0x94'),(_0x557f34,_0x25f877)=>{const [_0xf679d0,_0x3093c7]=_0x25f877,_0x36a277=_0x25f877[_0x25f877[_0x37a4('0x33')]-0x1];_0x36a277&&_0x36a277[_0x37a4('0x7f')]||_0x277b72['_isForcedDefaultExecutionBlock']||this[_0x37a4('0x40')]['commands'][_0x37a4('0x4e')](_0x37a4('0x70'))[_0x37a4('0xb')]&&function(_0xb410e3,_0x2abe78,_0x1254de,_0x12533b,_0x2ad44f){if(_0x2abe78&&!_0x2abe78['is']('documentSelection'))return!0x1;const _0x5e8fc7=_0x2ad44f[_0x37a4('0x25')](_0xb410e3,_0x1254de);if(!_0x5e8fc7||!fe(_0x5e8fc7,void 0x0,_0x12533b))return!0x1;const _0xaf90d2=_0x12533b[_0x37a4('0x8b')](_0x1254de[_0x37a4('0x84')]['selection']);if(!_0xaf90d2['length'])return!0x1;const _0x3ae941=_0xaf90d2[0x0]['findAncestor'](_0x37a4('0x27')),_0x158faf=_0x12533b['getRowIndexes'](_0xaf90d2),_0x1aa855=_0x12533b[_0x37a4('0x79')](_0xaf90d2),_0x4e7500={'startRow':_0x158faf[_0x37a4('0x7b')],'endRow':_0x158faf['last'],'startColumn':_0x1aa855[_0x37a4('0x7b')],'endColumn':_0x1aa855[_0x37a4('0x58')]};return 0x1==_0xaf90d2['length']&&(_0x4e7500[_0x37a4('0x96')]+=_0x12533b['getRows'](_0x5e8fc7)-0x1,_0x4e7500[_0x37a4('0x74')]+=_0x12533b[_0x37a4('0x16')](_0x5e8fc7)-0x1),fe(_0x3ae941,_0x4e7500,_0x12533b);}(_0xf679d0,_0x3093c7,_0x303dd6[_0x37a4('0x8')],_0x2c045d,_0x316bc2)&&(_0x557f34[_0x37a4('0x43')](),_0x446065={'cells':[],'insertionRanges':[],'deletionRanges':[],'rowInsertionRanges':[],'rowInsertionIndexes':[],'columnInsertionRanges':[],'columnInsertionIndexes':[]},_0x303dd6[_0x37a4('0x8')][_0x37a4('0x50')](()=>{_0x303dd6[_0x37a4('0x8')]['insertContent'](_0x25f877[0x0],_0x25f877[0x1],_0x25f877[0x2],{'forceDefaultExecution':!0x0});const _0x45809f=_0x20e5b6(),{rowInsertionRanges:_0x3dc883,columnInsertionRanges:_0x519677,insertionRanges:_0x4c1cdc,deletionRanges:_0x53fd0a,cells:_0x384a88}=_0x446065;_0x3dc883[_0x37a4('0x33')]&&_0x277b72[_0x37a4('0x92')](_0x3dc883,'tablePasteRow',{'tablePasteChainId':_0x45809f}),_0x519677[_0x37a4('0x33')]&&_0x277b72[_0x37a4('0x92')](_0x519677,_0x37a4('0x87'),{'tablePasteChainId':_0x45809f}),_0x4c1cdc[_0x37a4('0x33')]&&_0x277b72[_0x37a4('0x92')](_0x4c1cdc,_0x37a4('0xe'),{'tablePasteChainId':_0x45809f,'skipNestingCheck':!0x0}),_0x53fd0a['length']&&_0x277b72[_0x37a4('0x1')](_0x53fd0a,_0x37a4('0xe'),{'tablePasteChainId':_0x45809f,'skipNestingCheck':!0x0});const _0x17d409=_0x277b72['markMultiRangeBlockFormat'](_0x384a88['map'](({element:_0x27be3b})=>_0x27be3b),{'formatGroupId':_0x20e5b6()},[],_0x37a4('0x66'),{'tablePasteChainId':_0x45809f});if(_0x17d409){const _0x5add3b=_0x17d409[_0x37a4('0x4c')](),_0x4ad57d=[];for(const {element:_0x28cf30,attributes:_0x2f65fe}of _0x384a88){if(!_0x2f65fe)continue;const _0x10da8e=_0x303dd6[_0x37a4('0x8')][_0x37a4('0x21')](_0x28cf30),_0x4eafe7=_0x5add3b[_0x37a4('0x9e')](_0x4bbf44=>_0x4bbf44[_0x37a4('0x47')]()[_0x37a4('0x22')](_0x10da8e));_0x4eafe7&&_0x4ad57d[_0x37a4('0x90')]([_0x4eafe7[_0x37a4('0x7c')],_0x2f65fe]);}_0x4ad57d[_0x37a4('0x33')]&&_0x17d409['setAttribute'](_0x37a4('0x62'),Object['fromEntries'](_0x4ad57d));}_0x446065=null;}));},{'priority':_0x22d3c7[_0x37a4('0x51')]+0xa}),_0x303dd6[_0x37a4('0x3f')][_0x37a4('0x4e')]('TableClipboard')['on'](_0x37a4('0x5'),(_0x31ae4c,_0x15d4b1)=>{const [_0x21a1a4,_0xc80b75,,_0x3ca908]=_0x15d4b1;if(!_0x446065)return;_0x31ae4c[_0x37a4('0x43')]();const _0xd95f97=_0x21a1a4[_0x37a4('0x76')],_0x222be6=_0xc80b75,_0x37d722=ce(_0xd95f97),_0xb5a51f=ce(_0x222be6);_0x31ae4c[_0x37a4('0x57')]=_0xd95f97;let _0x4f7d40=null,_0x54be31=null;if(_0xb5a51f||_0x37d722){if(_0x37d722&&!_0xb5a51f){_0x3ca908[_0x37a4('0x46')](_0xd95f97[_0x37a4('0x20')](0x0));for(const _0x49714a of Array[_0x37a4('0x7d')](_0x222be6[_0x37a4('0x4b')]()))_0x3ca908[_0x37a4('0x52')](_0x49714a,_0xd95f97,_0x37a4('0x83'));const _0x474067=_0x446065['rowInsertionIndexes'][_0x37a4('0x71')](_0x21a1a4['row']),_0x20d0e6=_0x446065[_0x37a4('0x36')][_0x37a4('0x71')](_0x21a1a4['column']);_0x474067||_0x20d0e6||(_0x4f7d40=_0x3ca908[_0x37a4('0x34')](_0xd95f97));}else _0xb5a51f&&!_0x37d722&&(_0x54be31=_0x3ca908[_0x37a4('0x34')](_0xd95f97));}else{const _0x45dafa=_0x3ca908[_0x37a4('0x4d')](_0x37a4('0x75')),_0x2060d2=_0x3ca908['createElement'](_0x37a4('0x75'));_0x3ca908[_0x37a4('0x64')](_0x3ca908[_0x37a4('0x34')](_0xd95f97),_0x2060d2),_0x3ca908[_0x37a4('0x52')](_0x45dafa,_0xd95f97,0x0);for(const _0x251436 of Array[_0x37a4('0x7d')](_0x222be6['getChildren']()))_0x3ca908[_0x37a4('0x52')](_0x251436,_0x45dafa,'end');_0x4f7d40=_0x3ca908[_0x37a4('0x21')](_0x45dafa),_0x54be31=_0x3ca908['createRangeOn'](_0x2060d2);}const _0xd7bf1f=Array['from'](_0x222be6['getAttributes']())[_0x37a4('0x6b')](([_0x26aa3a])=>le[_0x37a4('0x71')](_0x26aa3a));_0x446065[_0x37a4('0x1f')][_0x37a4('0x90')]({'element':_0xd95f97,'attributes':_0xd7bf1f[_0x37a4('0x33')]?Object[_0x37a4('0xa0')](_0xd7bf1f):null}),_0x4f7d40&&_0x446065[_0x37a4('0x6d')][_0x37a4('0x90')](_0x4f7d40),_0x54be31&&_0x446065[_0x37a4('0x30')][_0x37a4('0x90')](_0x54be31);},{'priority':'high'}),_0x2c045d['on']('insertColumns',(_0x5b5373,_0x17817b)=>{const [_0x400b48,_0x3aca84={}]=_0x17817b;if(!_0x446065)return;const _0x4af710=_0x3aca84['at']||0x0,_0x177464=_0x3aca84[_0x37a4('0x54')]||0x1;_0x446065[_0x37a4('0x36')]=new Array(_0x177464)[_0x37a4('0x44')](_0x4af710)['map']((_0x161a5f,_0x59a2ea)=>_0x161a5f+_0x59a2ea);for(const {cell:_0x5b5c1d}of _0x2c045d[_0x37a4('0x2f')](_0x400b48,{'startColumn':_0x4af710,'endColumn':_0x4af710+_0x177464-0x1}))_0x446065[_0x37a4('0x49')]['push'](_0x303dd6[_0x37a4('0x8')][_0x37a4('0x21')](_0x5b5c1d));},{'priority':_0x37a4('0x78')}),_0x2c045d['on'](_0x37a4('0x2c'),(_0x506b31,_0x1f6321)=>{const [_0x2c75aa,_0x42caae={}]=_0x1f6321;if(!_0x446065)return;const _0x1c0c0f=_0x42caae['at']||0x0,_0xa119b7=_0x42caae[_0x37a4('0x28')]||0x1;_0x446065['rowInsertionIndexes']=new Array(_0xa119b7)['fill'](_0x1c0c0f)['map']((_0x1a9ef3,_0x5465d0)=>_0x1a9ef3+_0x5465d0);for(const {cell:_0x5bc740}of _0x2c045d[_0x37a4('0x2f')](_0x2c75aa,{'startRow':_0x1c0c0f,'endRow':_0x1c0c0f+_0xa119b7-0x1}))_0x446065[_0x37a4('0x1a')]['push'](_0x303dd6[_0x37a4('0x8')]['createRangeOn'](_0x5bc740));},{'priority':_0x37a4('0x78')}),_0x277b72[_0x37a4('0x1e')][_0x37a4('0x86')](_0x3bd4c2=>{if(_0x3bd4c2[_0x37a4('0x9')]&&_0x3bd4c2[_0x37a4('0x9')][_0x37a4('0x11')](_0x37a4('0xe')))return _0x3bd4c2['previous']?{}:{'type':_0x37a4('0x12'),'content':_0x2e43ca(_0x303dd6[_0x37a4('0x3e')],_0x37a4('0x3c'))};});const _0x5669bc=()=>!0x1;for(const _0x3316a4 of[_0x37a4('0xe'),_0x37a4('0x87'),_0x37a4('0x19'),_0x37a4('0x66')])_0x277b72['_suggestionFactory'][_0x37a4('0x0')](_0x37a4('0x12'),_0x3316a4,_0x37a4('0x3a'),_0x5669bc),_0x277b72['_suggestionFactory'][_0x37a4('0x0')]('deletion',_0x3316a4,'join',_0x5669bc),_0x277b72[_0x37a4('0x77')][_0x37a4('0x0')](_0x37a4('0x8e'),_0x3316a4,_0x37a4('0x3a'),_0x5669bc);_0x277b72['_suggestionFactory'][_0x37a4('0x0')](_0x37a4('0x8e'),'tablePasteCell',_0x37a4('0x6c'),_0x5669bc),_0x277b72[_0x37a4('0x77')]['registerCustomCallback'](_0x37a4('0x8e'),_0x37a4('0x66'),_0x37a4('0x35'),(_0x18156b,_0x1915ba,_0x417a6c)=>{const _0x221107=_0x18156b[_0x37a4('0x67')](_0x180151=>_0x180151[_0x37a4('0x9c')]())[_0x37a4('0x6b')](_0x43815e=>_0x43815e),_0x8444ae=new Map(_0x221107[_0x37a4('0x67')](_0x452fe9=>[_0x452fe9,null]));if(_0x446065)for(const {element:_0x1925ba,attributes:_0x2348c1}of _0x446065[_0x37a4('0x1f')])_0x2348c1&&_0x8444ae[_0x37a4('0x5f')](_0x1925ba,_0x2348c1);else{if(_0x417a6c&&_0x417a6c[_0x37a4('0x62')])for(const [_0x23b948,_0x5634ab]of Object[_0x37a4('0x15')](_0x417a6c['markerAttributes'])){const _0x17fd63=_0x303dd6['model'][_0x37a4('0x32')]['get'](_0x23b948),_0x38e766=_0x17fd63?_0x17fd63['getRange']()[_0x37a4('0x9c')]():null;_0x38e766&&_0x8444ae[_0x37a4('0x5f')](_0x38e766,_0x5634ab);}}_0x303dd6[_0x37a4('0x8')]['change'](_0x3877f1=>{for(const [_0x451d30,_0x2701dc]of _0x8444ae)_0x3877f1[_0x37a4('0xf')]({...ae,..._0x2701dc},_0x451d30);});});const _0x2c2000=(_0x4fb607,_0x1a5fb7)=>{_0x277b72[_0x37a4('0x77')][_0x37a4('0x0')](_0x4fb607,'tablePaste',_0x1a5fb7,(_0x2f8927,_0x1859f5,_0x2c7709)=>{_0x303dd6[_0x37a4('0x8')][_0x37a4('0x50')](_0x31d318=>{const _0x2c749e=[];for(const _0xb04213 of _0x2f8927){const _0x4ee225=_0xb04213[_0x37a4('0x10')]['nodeAfter'];_0x4ee225['is'](_0x37a4('0x63'),_0x37a4('0x75'))&&_0x2c749e[_0x37a4('0x90')](_0x4ee225);}_0x277b72[_0x37a4('0x77')][_0x37a4('0x6a')](_0x4fb607,null,_0x1a5fb7)(_0x2f8927,_0x1859f5,_0x2c7709);for(const _0x2f438c of _0x2c749e)_0x37a4('0x5c')!=_0x2f438c['root'][_0x37a4('0x2e')]&&_0x31d318[_0x37a4('0x17')](_0x2f438c);});});};_0x2c2000('insertion','accept'),_0x2c2000('insertion',_0x37a4('0x6c')),_0x2c2000('deletion',_0x37a4('0x35')),_0x2c2000(_0x37a4('0x2'),'discard'),_0x277b72[_0x37a4('0x77')][_0x37a4('0x0')](_0x37a4('0x12'),'tablePasteRow',_0x37a4('0x6c'),_0xec8588=>{const _0x260380=_0xec8588[_0x37a4('0x67')](_0x2ccf44=>_0x2ccf44[_0x37a4('0x9c')]()),_0x141ec0=_0x260380[0x0][_0x37a4('0x59')](_0x37a4('0x27')),{minRow:_0xf182e6,maxRow:_0xa35a7c}=_0x3c5dc5['_getCoordsForCells'](_0x260380);_0x2c045d[_0x37a4('0x26')](_0x141ec0,{'at':_0xf182e6,'rows':_0xa35a7c-_0xf182e6+0x1});}),_0x277b72['_suggestionFactory'][_0x37a4('0x0')](_0x37a4('0x12'),_0x37a4('0x87'),'discard',_0x5732f2=>{const _0x392337=_0x5732f2['map'](_0x13a30a=>_0x13a30a[_0x37a4('0x9c')]()),_0x1c5687=_0x392337[0x0][_0x37a4('0x59')](_0x37a4('0x27')),{minColumn:_0x4a21bd,maxColumn:_0x4dccd7}=_0x3c5dc5['_getCoordsForCells'](_0x392337);_0x2c045d[_0x37a4('0x24')](_0x1c5687,{'at':_0x4a21bd,'columns':_0x4dccd7-_0x4a21bd+0x1});});const _0x29eaec=(_0x866951,_0x580a80)=>{if(!_0x580a80[_0x37a4('0x9')]||!_0x580a80[_0x37a4('0x9')][_0x37a4('0x11')]('tablePaste'))return;const _0x16b529=_0x580a80[_0x37a4('0x31')][_0x37a4('0x39')],_0x2b4934=_0x277b72[_0x37a4('0x8d')]()['filter'](_0x464d72=>_0x464d72[_0x37a4('0x6')]&&_0x464d72[_0x37a4('0x31')]&&_0x464d72['attributes'][_0x37a4('0x39')]==_0x16b529);_0x2b4934['length']&&_0x580a80[_0x37a4('0x1b')]()[_0x37a4('0x33')]!=_0x2b4934[_0x37a4('0x33')]&&_0x2b4934['reduce']((_0x248e56,_0x3e60f6)=>(_0x248e56[_0x37a4('0xc')]=_0x3e60f6,_0x3e60f6[_0x37a4('0x45')]=_0x248e56,_0x3e60f6));};function _0x5ea1ac(_0x18cddf,_0x35f6aa=!0x0){const {id:_0x2fc82b}=_0x277b72[_0x37a4('0x88')](_0x18cddf[_0x37a4('0x93')]),_0x572aa7=[_0x37a4('0x69'),_0x37a4('0x5d')],_0x365ebf=_0x277b72[_0x37a4('0x23')][_0x37a4('0x71')](_0x18cddf['markerName']);return _0x365ebf&&_0x572aa7['push'](_0x37a4('0x72')),{'classes':_0x572aa7,'attributes':{'data-suggestion':_0x2fc82b},'priority':_0x365ebf&&_0x35f6aa?0xbc2:0xbb8};}_0x277b72['on']('suggestionLoaded',_0x29eaec,{'priority':_0x37a4('0x51')}),_0x277b72['on'](_0x37a4('0x60'),_0x29eaec,{'priority':_0x37a4('0x51')}),_0x303dd6[_0x37a4('0x8')][_0x37a4('0x84')][_0x37a4('0x91')](()=>{let _0x3aee8d=!0x1;const _0x201269=Array['from'](_0x303dd6['model'][_0x37a4('0x84')]['differ'][_0x37a4('0x8f')]());for(const {name:_0x40259b,data:_0x164993}of _0x201269){const {group:_0x49b076,type:_0x3bf63c,id:_0x1c5cfb}=_0x277b72[_0x37a4('0x88')](_0x40259b);if(_0x37a4('0x41')!=_0x49b076||'deletion'!=_0x3bf63c||_0x164993['oldRange'])continue;if(!_0x277b72['hasSuggestion'](_0x1c5cfb))continue;const _0x27cab2=_0x277b72[_0x37a4('0x5a')](_0x1c5cfb)[_0x37a4('0x8c')](),_0x15ee67=_0x303dd6[_0x37a4('0x3f')]['get']('Users')['me'];for(const _0x94c5c5 of _0x277b72[_0x37a4('0x8d')]()){if(!_0x94c5c5[_0x37a4('0x6')]||_0x94c5c5[_0x37a4('0x98')]!=_0x15ee67)continue;if(_0x37a4('0x8e')!=_0x94c5c5[_0x37a4('0x53')]||_0x37a4('0x66')!=_0x94c5c5[_0x37a4('0x9')])continue;if(_0x94c5c5['getRanges']()[_0x37a4('0xa')](_0x24e500=>_0x27cab2[_0x37a4('0x38')](_0x1c7c78=>_0x1c7c78[_0x37a4('0x55')](_0x24e500,!0x0))))for(const _0x36307f of _0x94c5c5[_0x37a4('0x1b')]())_0x36307f[_0x37a4('0x6')]&&(_0x36307f[_0x37a4('0x6c')](),_0x3aee8d=!0x0);}}return _0x3aee8d;}),_0x303dd6[_0x37a4('0x8')][_0x37a4('0x84')]['registerPostFixer'](_0x3f1907=>{const _0x4da7cc=_0x303dd6['commands'][_0x37a4('0x4e')]('redo');if(!_0x4da7cc||!_0x4da7cc[_0x37a4('0x6e')][_0x37a4('0x3')](_0x3f1907[_0x37a4('0x99')]))return!0x1;let _0x23b03f=!0x1;const _0x3868e5=_0x303dd6[_0x37a4('0x3f')][_0x37a4('0x4e')](_0x37a4('0x4a'))['me'],_0x1559cf=_0x303dd6[_0x37a4('0x8')]['document'][_0x37a4('0x9b')]['getChanges'](),_0x3495ba=Array[_0x37a4('0x7d')](_0x303dd6['model']['document'][_0x37a4('0x9b')][_0x37a4('0x8f')]())[_0x37a4('0x6b')](({name:_0x531094,data:_0x3efd48})=>{const {group:_0x37bacd,subType:_0x45ff92,authorId:_0xd77975}=_0x277b72[_0x37a4('0x88')](_0x531094);return _0x37a4('0x41')==_0x37bacd&&_0x37a4('0xe')==_0x45ff92&&_0xd77975==_0x3868e5['id']&&!_0x3efd48[_0x37a4('0x4')];});for(const _0x4f95d2 of _0x1559cf){if(_0x37a4('0x52')!=_0x4f95d2[_0x37a4('0x53')]||_0x37a4('0x75')!=_0x4f95d2[_0x37a4('0x7c')]||0x1!=_0x4f95d2[_0x37a4('0x33')])continue;const _0x333663=_0x3f1907[_0x37a4('0x81')](_0x4f95d2[_0x37a4('0x13')],_0x4f95d2[_0x37a4('0x13')]['getShiftedBy'](0x1));if(!_0x3495ba[_0x37a4('0x9e')](({data:_0x510630})=>_0x510630['newRange']['isEqual'](_0x333663)))for(const {name:_0x267484,data:_0x16fb11}of _0x3495ba)if(_0x333663['containsRange'](_0x16fb11[_0x37a4('0x9a')])){_0x3f1907['updateMarker'](_0x267484,{'range':_0x333663}),_0x23b03f=!0x0;break;}}return _0x23b03f;}),_0x303dd6[_0x37a4('0x8')][_0x37a4('0x84')]['registerPostFixer'](_0x3ce4e2=>{let _0x291239=!0x1;const _0x470431=_0x303dd6[_0x37a4('0x3f')][_0x37a4('0x4e')](_0x37a4('0x4a'))['me'],_0x2a5e73=_0x277b72['getSuggestions']()[_0x37a4('0x6b')](_0x1ea22b=>_0x1ea22b[_0x37a4('0x6')]&&_0x1ea22b[_0x37a4('0x98')]==_0x470431),_0x2ac1e6=new Set(),_0x34b0ff=new Set();for(const _0x3b8063 of _0x2a5e73)if(_0x37a4('0xe')==_0x3b8063[_0x37a4('0x9')])for(const _0x53c255 of _0x3b8063['getMarkers']()){const _0x5b8872=_0x53c255['getRange']()[_0x37a4('0x9c')]();if(_0x5b8872){if(_0x5b8872['is'](_0x37a4('0x63'),_0x37a4('0x75'))&&ce(_0x5b8872)){_0x3b8063[_0x37a4('0x65')](_0x53c255[_0x37a4('0x7c')]),_0x2ac1e6[_0x37a4('0x97')](_0x5b8872),_0x291239=!0x0;const _0x33d29d=_0x5b8872[_0x37a4('0x8a')],_0x3818d9=_0x5b8872['previousSibling'],_0x27033e=_0x33d29d&&_0x33d29d['is'](_0x37a4('0x63'),_0x37a4('0x75')),_0x1a6528=_0x3818d9&&_0x3818d9['is'](_0x37a4('0x63'),_0x37a4('0x75'));_0x27033e&&!_0x2ac1e6[_0x37a4('0x3')](_0x33d29d)&&_0x34b0ff[_0x37a4('0x97')](_0x33d29d),_0x1a6528&&!_0x2ac1e6[_0x37a4('0x3')](_0x3818d9)&&_0x34b0ff[_0x37a4('0x97')](_0x3818d9);}else _0x5b8872['is'](_0x37a4('0x63'),_0x37a4('0x89'))&&_0x5b8872[_0x37a4('0x68')]&&(_0x3b8063[_0x37a4('0x65')](_0x53c255['name']),_0x291239=!0x0);}}else{if(_0x37a4('0x66')==_0x3b8063[_0x37a4('0x9')]){if(!_0x3b8063[_0x37a4('0x31')]||!_0x3b8063[_0x37a4('0x31')]['tablePasteChainId'])continue;const _0x405c08=_0x3b8063[_0x37a4('0x31')][_0x37a4('0x62')];if(_0x405c08&&Object[_0x37a4('0x9d')](_0x405c08)[_0x37a4('0x33')])continue;const _0x29c761=_0x3b8063[_0x37a4('0x31')][_0x37a4('0x39')];let _0x24f8bf=!0x0,_0x1bcd5d=!0x0;for(const _0x5436dd of _0x2a5e73)if(_0x5436dd[_0x37a4('0x9')]&&_0x5436dd[_0x37a4('0x9')]['startsWith'](_0x37a4('0xe'))){if(!_0x5436dd[_0x37a4('0x31')][_0x37a4('0x39')]){_0x1bcd5d=!0x1;break;}if(_0x5436dd['id']!=_0x3b8063['id']&&_0x5436dd[_0x37a4('0x31')][_0x37a4('0x39')]==_0x29c761){_0x24f8bf=!0x1;break;}}_0x1bcd5d&&_0x24f8bf&&(_0x3b8063[_0x37a4('0x5b')](),_0x291239=!0x0);}}for(const _0x44d8c9 of _0x2ac1e6)_0x3ce4e2[_0x37a4('0x46')](_0x44d8c9);for(const _0x42b7a3 of _0x34b0ff)_0x3ce4e2['unwrap'](_0x42b7a3);return _0x291239;}),_0x303dd6[_0x37a4('0x56')][_0x37a4('0x80')](_0x37a4('0x4f'))[_0x37a4('0x1d')]({'model':_0x37a4('0x5e'),'view':(_0x2dabba,_0x253c22)=>_0x5ea1ac(_0x2dabba),'converterPriority':_0x37a4('0x51')}),_0x303dd6[_0x37a4('0x56')][_0x37a4('0x80')](_0x37a4('0x18'))[_0x37a4('0x1d')]({'model':_0x37a4('0x5e'),'view':(_0x2e6d0a,_0x1303ab)=>_0x1303ab[_0x37a4('0x61')]['showSuggestionHighlights']?_0x5ea1ac(_0x2e6d0a,!0x1):null,'converterPriority':_0x37a4('0x51')});const _0x15d185=_0x303dd6[_0x37a4('0x82')][_0x37a4('0x85')];this[_0x37a4('0x29')](_0x15d185[_0x37a4('0x84')],'clipboardOutput',(_0x31adf2,_0x395459)=>{const _0x3a1ae1=[];for(const _0xee1670 of _0x15d185[_0x37a4('0x34')](_0x395459[_0x37a4('0x2b')])[_0x37a4('0x42')]())_0xee1670['is'](_0x37a4('0x63'),'suggestion-td')&&_0x3a1ae1[_0x37a4('0x90')](_0xee1670);_0x15d185[_0x37a4('0x50')](_0x5e8e2f=>{for(const _0x16d578 of _0x3a1ae1)_0x5e8e2f[_0x37a4('0x7e')](_0x5e8e2f[_0x37a4('0x34')](_0x16d578),_0x5e8e2f[_0x37a4('0x9f')](_0x16d578)),_0x5e8e2f[_0x37a4('0x46')](_0x16d578);});});}}function ce(_0x3e54f1){if(_0x3e54f1[_0x37a4('0x68')])return!0x0;const _0x3d2385=_0x3e54f1[_0x37a4('0x20')](0x0);return _0x3d2385['is'](_0x37a4('0x63'),_0x37a4('0x89'))&&_0x3d2385[_0x37a4('0x68')];}function fe(_0x558056,_0x29da87={},_0x1d087d){for(const {isAnchor:_0x19ccc8,cellHeight:_0x3b1a8b,cellWidth:_0x3e482f}of _0x1d087d['createTableWalker'](_0x558056,{'includeAllSlots':!0x0,..._0x29da87}))if(!_0x19ccc8||0x1!=_0x3b1a8b||0x1!=_0x3e482f)return!0x1;return!0x0;}
23
+ const _0x12eb=['differ','createTableWalker','getColumns','high','createRangeIn','editing','containsRange','suggestion-td','_replaceTableSlotCell','from','name','return','root','findAncestor','rowInsertionRanges','insert','document','previousSibling','removeColumns','startsWith','cell','tablePasteRow','includes','last','find','remove','suggestion','model','getAllAdjacentSuggestions','has','set','getRows','markerToHighlight','tableCell','author','first','paragraph','_createdBatches','formatBlock','row','markers','TableClipboard','schema','insertion','getSuggestionCallback','selection','type','$graveyard','length','get','columnInsertionIndexes','push','markMultiRangeInsertion','suggestionUnloaded','join','elementToElement','subType','stop','getRowIndexes','markMultiRangeBlockFormat','attributes','requires','getSuggestion','deletion','_tablePostFixingSubtypes','getRanges','rowInsertionIndexes','getMarkers','filter','markerAttributes','tablePasteCell','reduce','setAttributes','Users','getColumnIndexes','nodeAfter','TableUtils','batch','oldRange','markerName','value','fill','position','tablePaste','getRange','afterInit','some','tablePasteColumn','accept','change','conversion','getShiftedBy','tablePasteChainId','previous','end','endRow','insertRows','_suggestionFactory','register','redo','plugins','tableCellSuggestion','commands','clipboardOutput','removeMarker','getChildren','for','endColumn','isInContent','registerPostFixer','getContainedElement','newRange','columnInsertionRanges','getSelectionAffectedTableCells','createRangeOn','removeMarkers','tableCellVerticalAlignment','hasSuggestion','column','unwrap','suggestionLoaded','tableCellBorderColor','columns','documentSelection','_splitMarkerName','tableCellBorderWidth','editor','registerDescriptionCallback','locale','element','showSuggestionHighlights','suggestion:formatBlock:tablePasteCell','ck-suggestion-marker','low','getAttributes','ck-suggestion-marker-insertion','table','fromEntries','insertContent','discard','registerCustomCallback','map','every','add','getSuggestions','isEmpty','tableCellPadding','createPositionBefore'];(function(_0x393502,_0x12ebe4){const _0x1a8012=function(_0x1ade58){while(--_0x1ade58){_0x393502['push'](_0x393502['shift']());}};_0x1a8012(++_0x12ebe4);}(_0x12eb,0x154));const _0x1a80=function(_0x393502,_0x12ebe4){_0x393502=_0x393502-0x0;let _0x1a8012=_0x12eb[_0x393502];return _0x1a8012;};import{getTranslation as _0x1d4b39}from'../utils/common-translations';import{Plugin as _0x5b7942}from'ckeditor5/src/core';import{uid as _0x5bafc0,priorities as _0x264070}from'ckeditor5/src/utils';import _0x56b98d from'./table';const le=[_0x1a80('0x51'),_0x1a80('0x4d'),'tableCellBorderStyle','tableCellHorizontalAlignment',_0x1a80('0x48'),'tableCellBackgroundColor',_0x1a80('0x66')],ae=Object[_0x1a80('0x5d')](le[_0x1a80('0x61')](_0x50cd76=>[_0x50cd76,null]));export default class At extends _0x5b7942{static get[_0x1a80('0x11')](){return[_0x56b98d];}[_0x1a80('0x29')](){const _0x1b9883=this[_0x1a80('0x52')];if(!_0x1b9883['plugins'][_0x1a80('0x85')](_0x1a80('0x91')))return;const _0x75bd67=_0x1b9883[_0x1a80('0x38')][_0x1a80('0x5')]('TrackChangesEditing'),_0x1950d9=_0x1b9883[_0x1a80('0x38')][_0x1a80('0x5')](_0x1a80('0x20')),_0x3e0e1a=_0x1b9883[_0x1a80('0x38')][_0x1a80('0x5')](_0x56b98d),_0x4425a5=_0x1b9883['plugins'][_0x1a80('0x5')](_0x1a80('0x91'));_0x3e0e1a[_0x1a80('0x14')]['push'](_0x1a80('0x7d'),'tablePasteColumn'),_0x1b9883[_0x1a80('0x83')][_0x1a80('0x92')][_0x1a80('0x36')](_0x1a80('0x39'),{'allowIn':_0x1a80('0x89'),'allowContentOf':_0x1a80('0x89'),'isLimit':!0x0}),_0x1b9883['conversion'][_0x1a80('0xb')]({'model':_0x1a80('0x39'),'view':_0x1a80('0x6f')});let _0x575e6e=null;_0x1b9883[_0x1a80('0x83')]['on'](_0x1a80('0x5e'),(_0x136996,_0x27401e)=>{const [_0x39ac39,_0x2fb25d]=_0x27401e,_0x4be61c=_0x27401e[_0x27401e['length']-0x1];_0x4be61c&&_0x4be61c['forceDefaultExecution']||_0x75bd67['_isForcedDefaultExecutionBlock']||this[_0x1a80('0x52')][_0x1a80('0x3a')]['get']('trackChanges')[_0x1a80('0x24')]&&function(_0x12ac2f,_0x5861b6,_0x30ae42,_0x2334c1,_0x265cb5){if(_0x5861b6&&!_0x5861b6['is'](_0x1a80('0x4f')))return!0x1;const _0x25ce97=_0x265cb5['getTableIfOnlyTableInContent'](_0x12ac2f,_0x30ae42);if(!_0x25ce97||!fe(_0x25ce97,void 0x0,_0x2334c1))return!0x1;const _0x36131c=_0x2334c1[_0x1a80('0x45')](_0x30ae42[_0x1a80('0x78')][_0x1a80('0x1')]);if(!_0x36131c[_0x1a80('0x4')])return!0x1;const _0x1719a2=_0x36131c[0x0][_0x1a80('0x75')]('table'),_0x2e7b03=_0x2334c1[_0x1a80('0xe')](_0x36131c),_0x1c0a87=_0x2334c1[_0x1a80('0x1e')](_0x36131c),_0x375192={'startRow':_0x2e7b03[_0x1a80('0x8b')],'endRow':_0x2e7b03[_0x1a80('0x7f')],'startColumn':_0x1c0a87[_0x1a80('0x8b')],'endColumn':_0x1c0a87[_0x1a80('0x7f')]};return 0x1==_0x36131c[_0x1a80('0x4')]&&(_0x375192[_0x1a80('0x33')]+=_0x2334c1[_0x1a80('0x87')](_0x25ce97)-0x1,_0x375192[_0x1a80('0x3f')]+=_0x2334c1[_0x1a80('0x6a')](_0x25ce97)-0x1),fe(_0x1719a2,_0x375192,_0x2334c1);}(_0x39ac39,_0x2fb25d,_0x1b9883[_0x1a80('0x83')],_0x1950d9,_0x4425a5)&&(_0x136996[_0x1a80('0xd')](),_0x575e6e={'cells':[],'insertionRanges':[],'deletionRanges':[],'rowInsertionRanges':[],'rowInsertionIndexes':[],'columnInsertionRanges':[],'columnInsertionIndexes':[]},_0x1b9883[_0x1a80('0x83')]['change'](()=>{_0x1b9883[_0x1a80('0x83')]['insertContent'](_0x27401e[0x0],_0x27401e[0x1],_0x27401e[0x2],{'forceDefaultExecution':!0x0});const _0x28b680=_0x5bafc0(),{rowInsertionRanges:_0x825c32,columnInsertionRanges:_0x35d515,insertionRanges:_0x487c72,deletionRanges:_0x37d30c,cells:_0x131a3e}=_0x575e6e;_0x825c32['length']&&_0x75bd67[_0x1a80('0x8')](_0x825c32,_0x1a80('0x7d'),{'tablePasteChainId':_0x28b680}),_0x35d515[_0x1a80('0x4')]&&_0x75bd67[_0x1a80('0x8')](_0x35d515,_0x1a80('0x2b'),{'tablePasteChainId':_0x28b680}),_0x487c72[_0x1a80('0x4')]&&_0x75bd67[_0x1a80('0x8')](_0x487c72,_0x1a80('0x27'),{'tablePasteChainId':_0x28b680,'skipNestingCheck':!0x0}),_0x37d30c[_0x1a80('0x4')]&&_0x75bd67['markMultiRangeDeletion'](_0x37d30c,'tablePaste',{'tablePasteChainId':_0x28b680,'skipNestingCheck':!0x0});const _0x2cd473=_0x75bd67[_0x1a80('0xf')](_0x131a3e[_0x1a80('0x61')](({element:_0x1ab432})=>_0x1ab432),{'formatGroupId':_0x5bafc0()},[],'tablePasteCell',{'tablePasteChainId':_0x28b680});if(_0x2cd473){const _0x4b7d1c=_0x2cd473[_0x1a80('0x17')](),_0x2c2ad7=[];for(const {element:_0x1b2a29,attributes:_0xf0c2b4}of _0x131a3e){if(!_0xf0c2b4)continue;const _0x33fc1b=_0x1b9883['model'][_0x1a80('0x46')](_0x1b2a29),_0x7e9e1f=_0x4b7d1c[_0x1a80('0x80')](_0xeb5f2=>_0xeb5f2[_0x1a80('0x28')]()['isEqual'](_0x33fc1b));_0x7e9e1f&&_0x2c2ad7['push']([_0x7e9e1f['name'],_0xf0c2b4]);}_0x2c2ad7[_0x1a80('0x4')]&&_0x2cd473['setAttribute'](_0x1a80('0x19'),Object['fromEntries'](_0x2c2ad7));}_0x575e6e=null;}));},{'priority':_0x264070[_0x1a80('0x6b')]+0xa}),_0x1b9883[_0x1a80('0x38')][_0x1a80('0x5')](_0x1a80('0x91'))['on'](_0x1a80('0x70'),(_0x5f5630,_0x3b0678)=>{const [_0x3d12f0,_0x21f5d6,,_0x16315e]=_0x3b0678;if(!_0x575e6e)return;_0x5f5630['stop']();const _0x1b66ce=_0x3d12f0[_0x1a80('0x7c')],_0x2aa1ba=_0x21f5d6,_0x2185f0=ce(_0x1b66ce),_0x9b886f=ce(_0x2aa1ba);_0x5f5630[_0x1a80('0x73')]=_0x1b66ce;let _0x1cf0e6=null,_0x12131c=null;if(_0x9b886f||_0x2185f0){if(_0x2185f0&&!_0x9b886f){_0x16315e[_0x1a80('0x81')](_0x1b66ce['getChild'](0x0));for(const _0x7bf337 of Array[_0x1a80('0x71')](_0x2aa1ba['getChildren']()))_0x16315e[_0x1a80('0x77')](_0x7bf337,_0x1b66ce,_0x1a80('0x32'));const _0x51d17b=_0x575e6e[_0x1a80('0x16')][_0x1a80('0x7e')](_0x3d12f0[_0x1a80('0x8f')]),_0x19a22c=_0x575e6e[_0x1a80('0x6')]['includes'](_0x3d12f0[_0x1a80('0x4a')]);_0x51d17b||_0x19a22c||(_0x1cf0e6=_0x16315e[_0x1a80('0x6c')](_0x1b66ce));}else _0x9b886f&&!_0x2185f0&&(_0x12131c=_0x16315e[_0x1a80('0x6c')](_0x1b66ce));}else{const _0x5dbe10=_0x16315e['createElement'](_0x1a80('0x39')),_0x397f85=_0x16315e['createElement'](_0x1a80('0x39'));_0x16315e['wrap'](_0x16315e[_0x1a80('0x6c')](_0x1b66ce),_0x397f85),_0x16315e['insert'](_0x5dbe10,_0x1b66ce,0x0);for(const _0x52f877 of Array['from'](_0x2aa1ba[_0x1a80('0x3d')]()))_0x16315e[_0x1a80('0x77')](_0x52f877,_0x5dbe10,_0x1a80('0x32'));_0x1cf0e6=_0x16315e[_0x1a80('0x46')](_0x5dbe10),_0x12131c=_0x16315e[_0x1a80('0x46')](_0x397f85);}const _0x4f816a=Array[_0x1a80('0x71')](_0x2aa1ba[_0x1a80('0x5a')]())[_0x1a80('0x18')](([_0x388022])=>le['includes'](_0x388022));_0x575e6e['cells'][_0x1a80('0x7')]({'element':_0x1b66ce,'attributes':_0x4f816a[_0x1a80('0x4')]?Object['fromEntries'](_0x4f816a):null}),_0x1cf0e6&&_0x575e6e['insertionRanges'][_0x1a80('0x7')](_0x1cf0e6),_0x12131c&&_0x575e6e['deletionRanges'][_0x1a80('0x7')](_0x12131c);},{'priority':_0x1a80('0x6b')}),_0x1950d9['on']('insertColumns',(_0x1af303,_0x1c13b7)=>{const [_0x6bfe1,_0x344b05={}]=_0x1c13b7;if(!_0x575e6e)return;const _0x12e60e=_0x344b05['at']||0x0,_0x38e998=_0x344b05[_0x1a80('0x4e')]||0x1;_0x575e6e[_0x1a80('0x6')]=new Array(_0x38e998)['fill'](_0x12e60e)[_0x1a80('0x61')]((_0x16c779,_0x5e3438)=>_0x16c779+_0x5e3438);for(const {cell:_0x57e553}of _0x1950d9[_0x1a80('0x69')](_0x6bfe1,{'startColumn':_0x12e60e,'endColumn':_0x12e60e+_0x38e998-0x1}))_0x575e6e[_0x1a80('0x44')]['push'](_0x1b9883[_0x1a80('0x83')][_0x1a80('0x46')](_0x57e553));},{'priority':_0x1a80('0x59')}),_0x1950d9['on'](_0x1a80('0x34'),(_0x11dfdf,_0xc7ab84)=>{const [_0x7dfcd9,_0x26162e={}]=_0xc7ab84;if(!_0x575e6e)return;const _0x24eb01=_0x26162e['at']||0x0,_0x5a5d45=_0x26162e['rows']||0x1;_0x575e6e[_0x1a80('0x16')]=new Array(_0x5a5d45)[_0x1a80('0x25')](_0x24eb01)[_0x1a80('0x61')]((_0x4406b2,_0x126a2e)=>_0x4406b2+_0x126a2e);for(const {cell:_0x4d76d1}of _0x1950d9[_0x1a80('0x69')](_0x7dfcd9,{'startRow':_0x24eb01,'endRow':_0x24eb01+_0x5a5d45-0x1}))_0x575e6e[_0x1a80('0x76')]['push'](_0x1b9883[_0x1a80('0x83')][_0x1a80('0x46')](_0x4d76d1));},{'priority':_0x1a80('0x59')}),_0x75bd67['_descriptionFactory'][_0x1a80('0x53')](_0x5d1db2=>{if(_0x5d1db2['subType']&&_0x5d1db2['subType'][_0x1a80('0x7b')](_0x1a80('0x27')))return _0x5d1db2[_0x1a80('0x31')]?{}:{'type':_0x1a80('0x93'),'content':_0x1d4b39(_0x1b9883[_0x1a80('0x54')],'*Replace\x20table\x20cells*')};});const _0x5957f2=()=>!0x1;for(const _0x20b449 of['tablePaste',_0x1a80('0x2b'),_0x1a80('0x7d'),_0x1a80('0x1a')])_0x75bd67[_0x1a80('0x35')]['registerCustomCallback'](_0x1a80('0x93'),_0x20b449,_0x1a80('0xa'),_0x5957f2),_0x75bd67[_0x1a80('0x35')][_0x1a80('0x60')](_0x1a80('0x13'),_0x20b449,_0x1a80('0xa'),_0x5957f2),_0x75bd67[_0x1a80('0x35')]['registerCustomCallback'](_0x1a80('0x8e'),_0x20b449,_0x1a80('0xa'),_0x5957f2);_0x75bd67[_0x1a80('0x35')][_0x1a80('0x60')](_0x1a80('0x8e'),'tablePasteCell',_0x1a80('0x5f'),_0x5957f2),_0x75bd67[_0x1a80('0x35')]['registerCustomCallback'](_0x1a80('0x8e'),_0x1a80('0x1a'),'accept',(_0xfa32f2,_0x209c24,_0x20ac0c)=>{const _0x2b457e=_0xfa32f2[_0x1a80('0x61')](_0x394e6d=>_0x394e6d[_0x1a80('0x42')]())[_0x1a80('0x18')](_0x5f589e=>_0x5f589e),_0x55c01c=new Map(_0x2b457e['map'](_0x574bb4=>[_0x574bb4,null]));if(_0x575e6e)for(const {element:_0x4ed726,attributes:_0x2096f4}of _0x575e6e['cells'])_0x2096f4&&_0x55c01c['set'](_0x4ed726,_0x2096f4);else{if(_0x20ac0c&&_0x20ac0c[_0x1a80('0x19')])for(const [_0x9b2d1d,_0x11c283]of Object['entries'](_0x20ac0c[_0x1a80('0x19')])){const _0x66acbc=_0x1b9883[_0x1a80('0x83')][_0x1a80('0x90')][_0x1a80('0x5')](_0x9b2d1d),_0x565174=_0x66acbc?_0x66acbc[_0x1a80('0x28')]()[_0x1a80('0x42')]():null;_0x565174&&_0x55c01c[_0x1a80('0x86')](_0x565174,_0x11c283);}}_0x1b9883[_0x1a80('0x83')][_0x1a80('0x2d')](_0x2c5469=>{for(const [_0x17c780,_0x5af6a6]of _0x55c01c)_0x2c5469[_0x1a80('0x1c')]({...ae,..._0x5af6a6},_0x17c780);});});const _0x1550d6=(_0x22057b,_0x24889a)=>{_0x75bd67[_0x1a80('0x35')][_0x1a80('0x60')](_0x22057b,_0x1a80('0x27'),_0x24889a,(_0x5b6f51,_0x1c6008,_0xd2787)=>{_0x1b9883[_0x1a80('0x83')][_0x1a80('0x2d')](_0x12ed9c=>{const _0x55f17b=[];for(const _0x44bba8 of _0x5b6f51){const _0x5bab9a=_0x44bba8['start'][_0x1a80('0x1f')];_0x5bab9a['is'](_0x1a80('0x55'),_0x1a80('0x39'))&&_0x55f17b[_0x1a80('0x7')](_0x5bab9a);}_0x75bd67[_0x1a80('0x35')][_0x1a80('0x0')](_0x22057b,null,_0x24889a)(_0x5b6f51,_0x1c6008,_0xd2787);for(const _0x361c18 of _0x55f17b)_0x1a80('0x3')!=_0x361c18[_0x1a80('0x74')]['rootName']&&_0x12ed9c['unwrap'](_0x361c18);});});};_0x1550d6(_0x1a80('0x93'),_0x1a80('0x2c')),_0x1550d6('insertion',_0x1a80('0x5f')),_0x1550d6('deletion',_0x1a80('0x2c')),_0x1550d6(_0x1a80('0x13'),_0x1a80('0x5f')),_0x75bd67['_suggestionFactory'][_0x1a80('0x60')](_0x1a80('0x93'),_0x1a80('0x7d'),_0x1a80('0x5f'),_0x783d8c=>{const _0xdbcc4b=_0x783d8c[_0x1a80('0x61')](_0x13002f=>_0x13002f[_0x1a80('0x42')]()),_0x3828a8=_0xdbcc4b[0x0][_0x1a80('0x75')](_0x1a80('0x5c')),{minRow:_0x433133,maxRow:_0x2c0eef}=_0x3e0e1a['_getCoordsForCells'](_0xdbcc4b);_0x1950d9['removeRows'](_0x3828a8,{'at':_0x433133,'rows':_0x2c0eef-_0x433133+0x1});}),_0x75bd67['_suggestionFactory'][_0x1a80('0x60')](_0x1a80('0x93'),'tablePasteColumn',_0x1a80('0x5f'),_0x443ff0=>{const _0x2c2a1c=_0x443ff0[_0x1a80('0x61')](_0x35b06e=>_0x35b06e[_0x1a80('0x42')]()),_0x4309a9=_0x2c2a1c[0x0]['findAncestor'](_0x1a80('0x5c')),{minColumn:_0x49c645,maxColumn:_0x1501a3}=_0x3e0e1a['_getCoordsForCells'](_0x2c2a1c);_0x1950d9[_0x1a80('0x7a')](_0x4309a9,{'at':_0x49c645,'columns':_0x1501a3-_0x49c645+0x1});});const _0x5cdcec=(_0x33ec80,_0x240399)=>{if(!_0x240399[_0x1a80('0xc')]||!_0x240399[_0x1a80('0xc')][_0x1a80('0x7b')](_0x1a80('0x27')))return;const _0x8e3162=_0x240399[_0x1a80('0x10')][_0x1a80('0x30')],_0x85d259=_0x75bd67['getSuggestions']()[_0x1a80('0x18')](_0x2e084d=>_0x2e084d[_0x1a80('0x40')]&&_0x2e084d[_0x1a80('0x10')]&&_0x2e084d['attributes']['tablePasteChainId']==_0x8e3162);_0x85d259[_0x1a80('0x4')]&&_0x240399[_0x1a80('0x84')]()[_0x1a80('0x4')]!=_0x85d259[_0x1a80('0x4')]&&_0x85d259[_0x1a80('0x1b')]((_0x15171b,_0x5b1ee0)=>(_0x15171b['next']=_0x5b1ee0,_0x5b1ee0[_0x1a80('0x31')]=_0x15171b,_0x5b1ee0));};function _0x2f5915(_0xbed65,_0xa82dc8=!0x0){const {id:_0x1d11f5}=_0x75bd67[_0x1a80('0x50')](_0xbed65[_0x1a80('0x23')]),_0x20f4b5=[_0x1a80('0x58'),_0x1a80('0x5b')],_0x457afd=_0x75bd67['activeMarkers'][_0x1a80('0x7e')](_0xbed65[_0x1a80('0x23')]);return _0x457afd&&_0x20f4b5[_0x1a80('0x7')]('ck-suggestion-marker--active'),{'classes':_0x20f4b5,'attributes':{'data-suggestion':_0x1d11f5},'priority':_0x457afd&&_0xa82dc8?0xbc2:0xbb8};}_0x75bd67['on'](_0x1a80('0x4c'),_0x5cdcec,{'priority':_0x1a80('0x6b')}),_0x75bd67['on'](_0x1a80('0x9'),_0x5cdcec,{'priority':_0x1a80('0x6b')}),_0x1b9883[_0x1a80('0x83')]['document'][_0x1a80('0x41')](()=>{let _0x17b3db=!0x1;const _0x172589=Array['from'](_0x1b9883['model']['document'][_0x1a80('0x68')]['getChangedMarkers']());for(const {name:_0x14216d,data:_0x45d7ab}of _0x172589){const {group:_0x32d63d,type:_0x398f56,id:_0x6e9b9e}=_0x75bd67[_0x1a80('0x50')](_0x14216d);if(_0x1a80('0x82')!=_0x32d63d||'deletion'!=_0x398f56||_0x45d7ab[_0x1a80('0x22')])continue;if(!_0x75bd67[_0x1a80('0x49')](_0x6e9b9e))continue;const _0x16ec45=_0x75bd67[_0x1a80('0x12')](_0x6e9b9e)['getRanges'](),_0x1f8dea=_0x1b9883[_0x1a80('0x38')][_0x1a80('0x5')](_0x1a80('0x1d'))['me'];for(const _0x4df8d7 of _0x75bd67[_0x1a80('0x64')]()){if(!_0x4df8d7[_0x1a80('0x40')]||_0x4df8d7[_0x1a80('0x8a')]!=_0x1f8dea)continue;if(_0x1a80('0x8e')!=_0x4df8d7[_0x1a80('0x2')]||_0x1a80('0x1a')!=_0x4df8d7[_0x1a80('0xc')])continue;if(_0x4df8d7[_0x1a80('0x15')]()[_0x1a80('0x62')](_0xd0cbd7=>_0x16ec45[_0x1a80('0x2a')](_0x407069=>_0x407069['containsRange'](_0xd0cbd7,!0x0))))for(const _0x4a67dd of _0x4df8d7[_0x1a80('0x84')]())_0x4a67dd[_0x1a80('0x40')]&&(_0x4a67dd['discard'](),_0x17b3db=!0x0);}}return _0x17b3db;}),_0x1b9883['model'][_0x1a80('0x78')][_0x1a80('0x41')](_0xccc98d=>{const _0x3733b7=_0x1b9883['commands'][_0x1a80('0x5')](_0x1a80('0x37'));if(!_0x3733b7||!_0x3733b7[_0x1a80('0x8d')][_0x1a80('0x85')](_0xccc98d[_0x1a80('0x21')]))return!0x1;let _0x4db803=!0x1;const _0x2136ef=_0x1b9883[_0x1a80('0x38')]['get']('Users')['me'],_0x144590=_0x1b9883[_0x1a80('0x83')][_0x1a80('0x78')]['differ']['getChanges'](),_0x37d6a3=Array[_0x1a80('0x71')](_0x1b9883[_0x1a80('0x83')][_0x1a80('0x78')][_0x1a80('0x68')]['getChangedMarkers']())[_0x1a80('0x18')](({name:_0xfe4404,data:_0x1a757a})=>{const {group:_0x20efae,subType:_0x28d903,authorId:_0x11e760}=_0x75bd67[_0x1a80('0x50')](_0xfe4404);return _0x1a80('0x82')==_0x20efae&&_0x1a80('0x27')==_0x28d903&&_0x11e760==_0x2136ef['id']&&!_0x1a757a['oldRange'];});for(const _0x4ac0f5 of _0x144590){if('insert'!=_0x4ac0f5['type']||'tableCellSuggestion'!=_0x4ac0f5[_0x1a80('0x72')]||0x1!=_0x4ac0f5['length'])continue;const _0x566129=_0xccc98d['createRange'](_0x4ac0f5[_0x1a80('0x26')],_0x4ac0f5[_0x1a80('0x26')][_0x1a80('0x2f')](0x1));if(!_0x37d6a3[_0x1a80('0x80')](({data:_0x58bcff})=>_0x58bcff[_0x1a80('0x43')]['isEqual'](_0x566129)))for(const {name:_0x4b93be,data:_0x377ee9}of _0x37d6a3)if(_0x566129[_0x1a80('0x6e')](_0x377ee9['newRange'])){_0xccc98d['updateMarker'](_0x4b93be,{'range':_0x566129}),_0x4db803=!0x0;break;}}return _0x4db803;}),_0x1b9883['model']['document'][_0x1a80('0x41')](_0x35d35b=>{let _0x1052d9=!0x1;const _0x72f05=_0x1b9883['plugins'][_0x1a80('0x5')](_0x1a80('0x1d'))['me'],_0x237e17=_0x75bd67['getSuggestions']()[_0x1a80('0x18')](_0x1b9b0b=>_0x1b9b0b[_0x1a80('0x40')]&&_0x1b9b0b[_0x1a80('0x8a')]==_0x72f05),_0x47ea3d=new Set(),_0x947c6=new Set();for(const _0x1dd860 of _0x237e17)if(_0x1a80('0x27')==_0x1dd860[_0x1a80('0xc')])for(const _0x38d4ad of _0x1dd860['getMarkers']()){const _0x2e6da9=_0x38d4ad[_0x1a80('0x28')]()[_0x1a80('0x42')]();if(_0x2e6da9){if(_0x2e6da9['is'](_0x1a80('0x55'),_0x1a80('0x39'))&&ce(_0x2e6da9)){_0x1dd860['removeMarker'](_0x38d4ad['name']),_0x47ea3d[_0x1a80('0x63')](_0x2e6da9),_0x1052d9=!0x0;const _0x42fcca=_0x2e6da9['nextSibling'],_0x2d609b=_0x2e6da9[_0x1a80('0x79')],_0x254acd=_0x42fcca&&_0x42fcca['is'](_0x1a80('0x55'),_0x1a80('0x39')),_0x10c3d6=_0x2d609b&&_0x2d609b['is'](_0x1a80('0x55'),_0x1a80('0x39'));_0x254acd&&!_0x47ea3d[_0x1a80('0x85')](_0x42fcca)&&_0x947c6[_0x1a80('0x63')](_0x42fcca),_0x10c3d6&&!_0x47ea3d['has'](_0x2d609b)&&_0x947c6[_0x1a80('0x63')](_0x2d609b);}else _0x2e6da9['is'](_0x1a80('0x55'),_0x1a80('0x8c'))&&_0x2e6da9[_0x1a80('0x65')]&&(_0x1dd860[_0x1a80('0x3c')](_0x38d4ad[_0x1a80('0x72')]),_0x1052d9=!0x0);}}else{if(_0x1a80('0x1a')==_0x1dd860[_0x1a80('0xc')]){if(!_0x1dd860[_0x1a80('0x10')]||!_0x1dd860[_0x1a80('0x10')]['tablePasteChainId'])continue;const _0x2682b6=_0x1dd860['attributes'][_0x1a80('0x19')];if(_0x2682b6&&Object['keys'](_0x2682b6)[_0x1a80('0x4')])continue;const _0x5788c9=_0x1dd860['attributes'][_0x1a80('0x30')];let _0x4cae79=!0x0,_0x1989fb=!0x0;for(const _0x363dc2 of _0x237e17)if(_0x363dc2[_0x1a80('0xc')]&&_0x363dc2[_0x1a80('0xc')][_0x1a80('0x7b')]('tablePaste')){if(!_0x363dc2['attributes'][_0x1a80('0x30')]){_0x1989fb=!0x1;break;}if(_0x363dc2['id']!=_0x1dd860['id']&&_0x363dc2['attributes'][_0x1a80('0x30')]==_0x5788c9){_0x4cae79=!0x1;break;}}_0x1989fb&&_0x4cae79&&(_0x1dd860[_0x1a80('0x47')](),_0x1052d9=!0x0);}}for(const _0x4819b8 of _0x47ea3d)_0x35d35b['remove'](_0x4819b8);for(const _0x31bc3d of _0x947c6)_0x35d35b[_0x1a80('0x4b')](_0x31bc3d);return _0x1052d9;}),_0x1b9883[_0x1a80('0x2e')][_0x1a80('0x3e')]('editingDowncast')[_0x1a80('0x88')]({'model':_0x1a80('0x57'),'view':(_0x1d603a,_0x13bf1d)=>_0x2f5915(_0x1d603a),'converterPriority':_0x1a80('0x6b')}),_0x1b9883['conversion'][_0x1a80('0x3e')]('dataDowncast')[_0x1a80('0x88')]({'model':'suggestion:formatBlock:tablePasteCell','view':(_0x41d026,_0x2a87ed)=>_0x2a87ed['options'][_0x1a80('0x56')]?_0x2f5915(_0x41d026,!0x1):null,'converterPriority':_0x1a80('0x6b')});const _0x446399=_0x1b9883[_0x1a80('0x6d')]['view'];this['listenTo'](_0x446399[_0x1a80('0x78')],_0x1a80('0x3b'),(_0x184baa,_0x4138b7)=>{const _0xab1749=[];for(const _0x469ebc of _0x446399['createRangeIn'](_0x4138b7['content'])['getItems']())_0x469ebc['is'](_0x1a80('0x55'),_0x1a80('0x6f'))&&_0xab1749[_0x1a80('0x7')](_0x469ebc);_0x446399[_0x1a80('0x2d')](_0xb5554b=>{for(const _0x51aa1e of _0xab1749)_0xb5554b['move'](_0xb5554b['createRangeIn'](_0x51aa1e),_0xb5554b[_0x1a80('0x67')](_0x51aa1e)),_0xb5554b[_0x1a80('0x81')](_0x51aa1e);});});}}function ce(_0x18cafe){if(_0x18cafe[_0x1a80('0x65')])return!0x0;const _0x5d6fff=_0x18cafe['getChild'](0x0);return _0x5d6fff['is'](_0x1a80('0x55'),_0x1a80('0x8c'))&&_0x5d6fff['isEmpty'];}function fe(_0x20a9cc,_0x2b8c2a={},_0x1b0a9e){for(const {isAnchor:_0x4e7a45,cellHeight:_0x185831,cellWidth:_0x3f30a1}of _0x1b0a9e[_0x1a80('0x69')](_0x20a9cc,{'includeAllSlots':!0x0,..._0x2b8c2a}))if(!_0x4e7a45||0x1!=_0x185831||0x1!=_0x3f30a1)return!0x1;return!0x0;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4e0e=['getContainedElement','accept','discard','formatGroupId','format','bind','model','handleResizeTableWidthCommand','getSuggestions','_descriptionFactory','formatBlock','type','change','resizeTableWidth','columnWidths','Users','markBlockFormat','data','tableWidth','registerDescriptionCallback','enableCommand','commandParams','TrackChangesEditing','resizeTable','has','handleSuggestionDescription','getColumnGroupElement','getAttribute','document','*Format:*\x20resize\x20table','get','table','author','TableColumnResizeEditing','editor','selection','_suggestionFactory','getSuggestionCallback','plugins','getSelectedElement','registerCustomCallback'];(function(_0x318d83,_0x4e0e9c){const _0x152dcb=function(_0x4282c1){while(--_0x4282c1){_0x318d83['push'](_0x318d83['shift']());}};_0x152dcb(++_0x4e0e9c);}(_0x4e0e,0x134));const _0x152d=function(_0x318d83,_0x4e0e9c){_0x318d83=_0x318d83-0x0;let _0x152dcb=_0x4e0e[_0x318d83];return _0x152dcb;};import{Plugin as _0x2a020e}from'ckeditor5/src/core';import{getTranslation as _0xdb2bd4}from'../utils/common-translations';export default class It extends _0x2a020e{['afterInit'](){if(!this['editor'][_0x152d('0x11')][_0x152d('0x3')](_0x152d('0xc')))return;const _0x4e9702=this['editor'][_0x152d('0x11')][_0x152d('0x9')](_0x152d('0x1'));_0x4e9702[_0x152d('0x28')](_0x152d('0x21'),this[_0x152d('0x1b')]['bind'](this)),_0x4e9702[_0x152d('0xf')][_0x152d('0x13')]('formatBlock',_0x152d('0x2'),_0x152d('0x15'),_0x4e9702['_suggestionFactory'][_0x152d('0x10')](_0x152d('0x1e'),null,_0x152d('0x16'))),_0x4e9702[_0x152d('0xf')][_0x152d('0x13')](_0x152d('0x1e'),_0x152d('0x2'),_0x152d('0x16'),_0x4e9702[_0x152d('0xf')][_0x152d('0x10')](_0x152d('0x1e'),null,_0x152d('0x15'))),_0x4e9702[_0x152d('0x1d')][_0x152d('0x27')](this[_0x152d('0x4')][_0x152d('0x19')](this));}[_0x152d('0x1b')](_0x15c0e,_0x243488){const _0x55b80f=this[_0x152d('0xd')][_0x152d('0x11')][_0x152d('0x9')](_0x152d('0x1')),_0x5c95e2=this['editor'][_0x152d('0x11')][_0x152d('0x9')]('TableColumnResizeEditing'),_0x1400de=_0x243488[_0x152d('0xa')]||this[_0x152d('0xd')][_0x152d('0x1a')][_0x152d('0x7')][_0x152d('0xe')][_0x152d('0x12')]();this['editor'][_0x152d('0x1a')][_0x152d('0x20')](()=>{const _0x46353a=_0x5c95e2[_0x152d('0x5')](_0x1400de);let _0x534ba3=_0x46353a?_0x5c95e2['getTableColumnsWidths'](_0x46353a):null,_0x362e5d=_0x1400de[_0x152d('0x6')](_0x152d('0x26'))||null;const _0x112e3a=_0x243488['tableWidth']||_0x362e5d,_0x219a73=_0x243488['columnWidths']||_0x534ba3,_0x254670=this['editor'][_0x152d('0x11')][_0x152d('0x9')](_0x152d('0x23'))['me'];for(const _0x25006e of _0x55b80f[_0x152d('0x1c')]()){const _0xe2bb42=_0x25006e[_0x152d('0x14')]();if(_0x152d('0x2')===_0x25006e['subType']&&_0xe2bb42===_0x1400de){_0x25006e[_0x152d('0xb')]!==_0x254670&&_0x25006e[_0x152d('0x16')]();const _0x404b9b=_0x25006e[_0x152d('0x25')][_0x152d('0x0')];_0x362e5d=_0x404b9b[0x0][_0x152d('0x26')],_0x534ba3=_0x404b9b[0x0][_0x152d('0x22')];break;}}_0x15c0e({'table':_0x1400de,'tableWidth':_0x112e3a,'columnWidths':_0x219a73}),_0x55b80f[_0x152d('0x24')](_0x1400de,{'commandName':'resizeTableWidth','commandParams':[{'tableWidth':_0x362e5d,'columnWidths':_0x534ba3}],'formatGroupId':_0x152d('0x2')},[],'resizeTable');});}['handleSuggestionDescription'](_0x1c3433){if(_0x152d('0x1e')!=_0x1c3433[_0x152d('0x1f')]&&'formatInline'!=_0x1c3433['type'])return;const {data:_0x4a1da7}=_0x1c3433;if(_0x4a1da7&&_0x152d('0x2')===_0x4a1da7[_0x152d('0x17')]){const _0x27b22a=_0x152d('0x8');return{'type':_0x152d('0x18'),'content':_0xdb2bd4(this['editor']['locale'],_0x27b22a)};}}}
23
+ const _0x55e0=['TrackChangesEditing','tableWidth','getSelectedElement','author','commandParams','getSuggestionCallback','selection','subType','editor','columnWidths','Users','_suggestionFactory','document','*Format:*\x20resize\x20table','model','resizeTable','getTableColumnsWidths','table','data','handleResizeTableWidthCommand','format','has','registerCustomCallback','markBlockFormat','handleSuggestionDescription','plugins','type','formatInline','enableCommand','afterInit','get','formatBlock','getAttribute','locale','resizeTableWidth','discard','bind'];(function(_0x3ab24c,_0x55e05c){const _0x24e745=function(_0x5a5c54){while(--_0x5a5c54){_0x3ab24c['push'](_0x3ab24c['shift']());}};_0x24e745(++_0x55e05c);}(_0x55e0,0x15a));const _0x24e7=function(_0x3ab24c,_0x55e05c){_0x3ab24c=_0x3ab24c-0x0;let _0x24e745=_0x55e0[_0x3ab24c];return _0x24e745;};import{Plugin as _0x468f9b}from'ckeditor5/src/core';import{getTranslation as _0x26f74b}from'../utils/common-translations';export default class It extends _0x468f9b{[_0x24e7('0x10')](){if(!this['editor']['plugins'][_0x24e7('0x8')]('TableColumnResizeEditing'))return;const _0x15a28a=this[_0x24e7('0x20')]['plugins']['get'](_0x24e7('0x18'));_0x15a28a[_0x24e7('0xf')](_0x24e7('0x15'),this[_0x24e7('0x6')][_0x24e7('0x17')](this)),_0x15a28a[_0x24e7('0x23')]['registerCustomCallback']('formatBlock',_0x24e7('0x2'),'accept',_0x15a28a[_0x24e7('0x23')][_0x24e7('0x1d')](_0x24e7('0x12'),null,_0x24e7('0x16'))),_0x15a28a['_suggestionFactory'][_0x24e7('0x9')]('formatBlock',_0x24e7('0x2'),_0x24e7('0x16'),_0x15a28a[_0x24e7('0x23')][_0x24e7('0x1d')](_0x24e7('0x12'),null,'accept')),_0x15a28a['_descriptionFactory']['registerDescriptionCallback'](this['handleSuggestionDescription'][_0x24e7('0x17')](this));}[_0x24e7('0x6')](_0x49fc98,_0xe9bd01){const _0x1f6be8=this[_0x24e7('0x20')]['plugins'][_0x24e7('0x11')]('TrackChangesEditing'),_0x57f413=this[_0x24e7('0x20')][_0x24e7('0xc')]['get']('TableColumnResizeEditing'),_0x33a317=_0xe9bd01[_0x24e7('0x4')]||this[_0x24e7('0x20')][_0x24e7('0x1')][_0x24e7('0x24')][_0x24e7('0x1e')][_0x24e7('0x1a')]();this['editor'][_0x24e7('0x1')]['change'](()=>{const _0x5ea7ec=_0x57f413['getColumnGroupElement'](_0x33a317);let _0x396774=_0x5ea7ec?_0x57f413[_0x24e7('0x3')](_0x5ea7ec):null,_0x259a92=_0x33a317[_0x24e7('0x13')](_0x24e7('0x19'))||null;const _0x373fda=_0xe9bd01['tableWidth']||_0x259a92,_0x5e8d5c=_0xe9bd01[_0x24e7('0x21')]||_0x396774,_0x17d118=this['editor'][_0x24e7('0xc')][_0x24e7('0x11')](_0x24e7('0x22'))['me'];for(const _0xec9e77 of _0x1f6be8['getSuggestions']()){const _0x49c138=_0xec9e77['getContainedElement']();if(_0x24e7('0x2')===_0xec9e77[_0x24e7('0x1f')]&&_0x49c138===_0x33a317){_0xec9e77[_0x24e7('0x1b')]!==_0x17d118&&_0xec9e77['discard']();const _0x1da51b=_0xec9e77[_0x24e7('0x5')][_0x24e7('0x1c')];_0x259a92=_0x1da51b[0x0][_0x24e7('0x19')],_0x396774=_0x1da51b[0x0][_0x24e7('0x21')];break;}}_0x49fc98({'table':_0x33a317,'tableWidth':_0x373fda,'columnWidths':_0x5e8d5c}),_0x1f6be8[_0x24e7('0xa')](_0x33a317,{'commandName':_0x24e7('0x15'),'commandParams':[{'tableWidth':_0x259a92,'columnWidths':_0x396774}],'formatGroupId':_0x24e7('0x2')},[],'resizeTable');});}[_0x24e7('0xb')](_0x5ef831){if(_0x24e7('0x12')!=_0x5ef831[_0x24e7('0xd')]&&_0x24e7('0xe')!=_0x5ef831['type'])return;const {data:_0x33180e}=_0x5ef831;if(_0x33180e&&'resizeTable'===_0x33180e['formatGroupId']){const _0x2c48fd=_0x24e7('0x0');return{'type':_0x24e7('0x7'),'content':_0x26f74b(this[_0x24e7('0x20')][_0x24e7('0x14')],_0x2c48fd)};}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x50de=['item','editor','plugins','addMarker:suggestion','setTableColumnHeader','mapper','FORMAT_REGULAR_ROW','registerAttributeLabel','addClass','markerName','removeMarker:suggestion','forceValue','FORMAT_REGULAR_COLUMN','start','TableEditing','_splitMarkerName','_handleLegacySuggestions','ck-suggestion-marker-','showSuggestionHighlights','getCellLocation','TableUtils','headingRows','registerCustomCallback','markerRange','_enableDefaultAttributesIntegration','bindElementToMarker','getSuggestion','commandName','FORMAT_HEADER_ROW','stop','unbindElementFromMarkerName','get','nodeBefore','editing','writer','has','end','consume','removeClass','includes','data','ck-suggestion-marker--active','downcastDispatcher','accept','locale','createTableWalker','commandParams','TrackChangesEditing','consumable','setTableRowHeader','removeAttribute','type','FORMAT_HEADER_COLUMN','cell','formatBlock','activeMarkers','setAttribute','afterInit','highest','_acceptFormatSuggestionCallbackFactory','name','data-suggestion','headingColumns','_suggestionFactory','markerNameToElements','_registerLegacyDescription','_descriptionFactory'];(function(_0x419c71,_0x50de7f){const _0x5d9543=function(_0x2086ff){while(--_0x2086ff){_0x419c71['push'](_0x419c71['shift']());}};_0x5d9543(++_0x50de7f);}(_0x50de,0x177));const _0x5d95=function(_0x419c71,_0x50de7f){_0x419c71=_0x419c71-0x0;let _0x5d9543=_0x50de[_0x419c71];return _0x5d9543;};import{Plugin as _0x5d9b16}from'ckeditor5/src/core';import _0x3b01d9 from'./table';import{getTranslation as _0x59be36}from'../utils/common-translations';export default class St extends _0x5d9b16{static get['requires'](){return[_0x3b01d9];}[_0x5d95('0x11')](){const _0x54609c=this['editor'];if(!_0x54609c['plugins'][_0x5d95('0x3e')](_0x5d95('0x29')))return;const _0xb94d54=_0x54609c[_0x5d95('0x4')],_0x4a07aa=_0x54609c['plugins']['get']('TrackChangesEditing');_0x4a07aa[_0x5d95('0x33')](_0x5d95('0x9'),[],['headingRows']),_0x4a07aa[_0x5d95('0x33')](_0x5d95('0x1f'),[],[_0x5d95('0x16')]),_0x4a07aa[_0x5d95('0x1a')][_0x5d95('0x22')](_0x5d95('0x30'),_0x59be36(_0xb94d54,_0x5d95('0x37'))),_0x4a07aa['_descriptionFactory'][_0x5d95('0x22')]('headingColumns',_0x59be36(_0xb94d54,'FORMAT_HEADER_COLUMN')),this[_0x5d95('0x2b')]();}[_0x5d95('0x2b')](){const _0x4033db=this[_0x5d95('0x1c')][_0x5d95('0x1d')]['get'](_0x5d95('0x7')),_0x2968fe=this[_0x5d95('0x1c')][_0x5d95('0x1d')][_0x5d95('0x3a')](_0x5d95('0x2f')),_0x48156b=this['editor'][_0x5d95('0x1d')][_0x5d95('0x3a')](_0x3b01d9)[_0x5d95('0x13')]();function _0x411e0f({showActiveMarker:_0x78519e=!0x0,setDataAttribute:_0x289cce=!0x0}={}){return(_0x27c19b,_0x1d582e,_0x13e742)=>{const {type:_0x1cfa7a,id:_0xb79f39}=_0x4033db[_0x5d95('0x2a')](_0x1d582e[_0x5d95('0x24')]),_0x5dc744=_0x4033db[_0x5d95('0x35')](_0xb79f39),_0x579bc0=_0x5dc744[_0x5d95('0x0')];if(_0x5d95('0xe')!=_0x5dc744[_0x5d95('0xb')]||!_0x579bc0||'setTableColumnHeader'!=_0x579bc0[_0x5d95('0x36')])return;if(_0x1d582e[_0x5d95('0x1b')])return void _0x27c19b[_0x5d95('0x38')]();if(!_0x13e742[_0x5d95('0x8')][_0x5d95('0x40')](_0x1d582e['markerRange'],_0x27c19b[_0x5d95('0x14')]))return;const _0x464bdc=_0x1d582e[_0x5d95('0x32')][_0x5d95('0x28')]['nodeAfter'],_0x1d29eb=_0x1d582e['markerRange'][_0x5d95('0x3f')][_0x5d95('0x3b')],_0x10882e=_0x464bdc['parent']['parent'],{column:_0xaaec40}=_0x2968fe[_0x5d95('0x2e')](_0x464bdc),{column:_0x5ce457}=_0x2968fe[_0x5d95('0x2e')](_0x1d29eb);for(let _0x1c23e8=_0xaaec40;_0x1c23e8<=_0x5ce457;_0x1c23e8++){const _0x99150d=_0x2968fe[_0x5d95('0x5')](_0x10882e,{'column':_0x1c23e8,'includeAllSlots':!0x1});for(const _0x5b3de7 of _0x99150d){const _0xa544bc=_0x5b3de7[_0x5d95('0xd')],_0x348151=_0x13e742['mapper']['toViewElement'](_0xa544bc);_0x13e742[_0x5d95('0x3d')][_0x5d95('0x23')](_0x5d95('0x2c')+_0x1cfa7a,_0x348151),_0x289cce&&_0x13e742['writer'][_0x5d95('0x10')](_0x5d95('0x15'),_0xb79f39,_0x348151),_0x13e742[_0x5d95('0x20')][_0x5d95('0x34')](_0x348151,_0x1d582e[_0x5d95('0x24')]),_0x78519e&&(_0x4033db[_0x5d95('0xf')][_0x5d95('0x42')](_0x1d582e[_0x5d95('0x24')])?_0x13e742['writer'][_0x5d95('0x23')]('ck-suggestion-marker--active',_0x348151):_0x13e742[_0x5d95('0x3d')][_0x5d95('0x41')](_0x5d95('0x1'),_0x348151));}}};}_0x4033db[_0x5d95('0x17')][_0x5d95('0x31')](_0x5d95('0xe'),_0x5d95('0x9'),'accept',_0x48156b),_0x4033db['_suggestionFactory'][_0x5d95('0x31')]('formatBlock',_0x5d95('0x1f'),_0x5d95('0x3'),_0x48156b),this['editor']['editing'][_0x5d95('0x2')]['on'](_0x5d95('0x1e'),_0x411e0f(),{'priority':_0x5d95('0x12')}),this[_0x5d95('0x1c')][_0x5d95('0x0')][_0x5d95('0x2')]['on'](_0x5d95('0x1e'),(_0x18a954,_0x544124,_0x56cb0c)=>{_0x56cb0c['options'][_0x5d95('0x2d')]&&_0x411e0f({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x18a954,_0x544124,_0x56cb0c);},{'priority':_0x5d95('0x12')}),this['editor'][_0x5d95('0x3c')][_0x5d95('0x2')]['on'](_0x5d95('0x25'),(_0x5aee77,_0x22c32d,_0x2652ec)=>{const {type:_0x5199a0,id:_0x506f68}=_0x4033db[_0x5d95('0x2a')](_0x22c32d[_0x5d95('0x24')]),_0x5feb8a=_0x4033db[_0x5d95('0x35')](_0x506f68),_0x31804d=_0x5feb8a['data'];if('formatBlock'!=_0x5feb8a['type']||!_0x31804d||_0x5d95('0x1f')!=_0x31804d[_0x5d95('0x36')])return;const _0x4f5068=_0x2652ec[_0x5d95('0x20')][_0x5d95('0x18')](_0x22c32d['markerName']);if(_0x4f5068)for(const _0x476014 of _0x4f5068)_0x2652ec[_0x5d95('0x3d')][_0x5d95('0x41')](_0x5d95('0x2c')+_0x5199a0,_0x476014),_0x2652ec[_0x5d95('0x3d')][_0x5d95('0x41')]('ck-suggestion-marker--active',_0x476014),_0x2652ec[_0x5d95('0x3d')][_0x5d95('0xa')]('data-suggestion',_0x476014),_0x2652ec[_0x5d95('0x20')][_0x5d95('0x39')](_0x476014,_0x22c32d[_0x5d95('0x24')]);},{'priority':_0x5d95('0x12')}),this[_0x5d95('0x19')]();}[_0x5d95('0x19')](){const _0xcd3356=this['editor'],_0x7a5c1c=_0xcd3356[_0x5d95('0x4')];function _0x4f42c9(_0x24e3c7){return{'type':'format','content':_0x59be36(_0x7a5c1c,'*Format:*\x20%0',_0x24e3c7)};}_0xcd3356['plugins'][_0x5d95('0x3a')](_0x5d95('0x7'))[_0x5d95('0x1a')]['registerDescriptionCallback'](_0x4a5bcb=>{if(_0x5d95('0xe')!=_0x4a5bcb[_0x5d95('0xb')])return;const {data:_0x46e57c}=_0x4a5bcb;if(_0x46e57c){if(_0x5d95('0x9')==_0x46e57c[_0x5d95('0x36')]){const _0x1b128e=_0x46e57c[_0x5d95('0x6')][0x0][_0x5d95('0x26')];return _0x4f42c9(_0x59be36(_0x7a5c1c,_0x1b128e?_0x5d95('0x37'):_0x5d95('0x21')));}if(_0x5d95('0x1f')==_0x46e57c[_0x5d95('0x36')]){const _0x597038=_0x46e57c['commandParams'][0x0][_0x5d95('0x26')];return _0x4f42c9(_0x59be36(_0x7a5c1c,_0x597038?_0x5d95('0xc'):_0x5d95('0x27')));}}});}}
23
+ const _0x32f2=['markerRange','FORMAT_HEADER_COLUMN','commandParams','TrackChangesEditing','parent','createTableWalker','addMarker:suggestion','removeMarker:suggestion','toViewElement','has','_splitMarkerName','data-suggestion','markerName','get','highest','setAttribute','showSuggestionHighlights','commandName','activeMarkers','nodeAfter','editing','type','registerDescriptionCallback','name','data','*Format:*\x20%0','removeClass','consumable','includes','editor','end','_descriptionFactory','nodeBefore','mapper','headingColumns','writer','getSuggestion','addClass','accept','FORMAT_REGULAR_COLUMN','headingRows','requires','item','_enableDefaultAttributesIntegration','bindElementToMarker','_handleLegacySuggestions','format','ck-suggestion-marker--active','ck-suggestion-marker-','cell','_registerLegacyDescription','plugins','downcastDispatcher','setTableRowHeader','registerCustomCallback','start','getCellLocation','_suggestionFactory','removeAttribute','locale','formatBlock','FORMAT_HEADER_ROW','registerAttributeLabel','setTableColumnHeader'];(function(_0xaaa2eb,_0x32f2c8){const _0x3cde1f=function(_0x584b7f){while(--_0x584b7f){_0xaaa2eb['push'](_0xaaa2eb['shift']());}};_0x3cde1f(++_0x32f2c8);}(_0x32f2,0x90));const _0x3cde=function(_0xaaa2eb,_0x32f2c8){_0xaaa2eb=_0xaaa2eb-0x0;let _0x3cde1f=_0x32f2[_0xaaa2eb];return _0x3cde1f;};import{Plugin as _0x31236f}from'ckeditor5/src/core';import _0x4f3f17 from'./table';import{getTranslation as _0x275b1f}from'../utils/common-translations';export default class St extends _0x31236f{static get[_0x3cde('0x19')](){return[_0x4f3f17];}['afterInit'](){const _0x4368ff=this[_0x3cde('0xd')];if(!_0x4368ff['plugins'][_0x3cde('0x39')]('TableEditing'))return;const _0x46b03f=_0x4368ff[_0x3cde('0x2b')],_0x531c98=_0x4368ff[_0x3cde('0x23')]['get'](_0x3cde('0x33'));_0x531c98['_enableDefaultAttributesIntegration'](_0x3cde('0x25'),[],[_0x3cde('0x18')]),_0x531c98[_0x3cde('0x1b')](_0x3cde('0x2f'),[],[_0x3cde('0x12')]),_0x531c98[_0x3cde('0xf')]['registerAttributeLabel'](_0x3cde('0x18'),_0x275b1f(_0x46b03f,_0x3cde('0x2d'))),_0x531c98[_0x3cde('0xf')][_0x3cde('0x2e')](_0x3cde('0x12'),_0x275b1f(_0x46b03f,_0x3cde('0x31'))),this[_0x3cde('0x1d')]();}['_handleLegacySuggestions'](){const _0x205aa9=this[_0x3cde('0xd')][_0x3cde('0x23')][_0x3cde('0x3d')]('TrackChangesEditing'),_0x47c780=this[_0x3cde('0xd')][_0x3cde('0x23')][_0x3cde('0x3d')]('TableUtils'),_0x31e190=this[_0x3cde('0xd')][_0x3cde('0x23')]['get'](_0x4f3f17)['_acceptFormatSuggestionCallbackFactory']();function _0x5e3e90({showActiveMarker:_0x4a016=!0x0,setDataAttribute:_0x51db34=!0x0}={}){return(_0x2face8,_0x380d17,_0x1b916e)=>{const {type:_0x320cca,id:_0x418492}=_0x205aa9[_0x3cde('0x3a')](_0x380d17[_0x3cde('0x3c')]),_0x5d9eef=_0x205aa9[_0x3cde('0x14')](_0x418492),_0x3ecba4=_0x5d9eef[_0x3cde('0x8')];if(_0x3cde('0x2c')!=_0x5d9eef[_0x3cde('0x5')]||!_0x3ecba4||_0x3cde('0x2f')!=_0x3ecba4[_0x3cde('0x1')])return;if(_0x380d17[_0x3cde('0x1a')])return void _0x2face8['stop']();if(!_0x1b916e[_0x3cde('0xb')]['consume'](_0x380d17['markerRange'],_0x2face8[_0x3cde('0x7')]))return;const _0x359e55=_0x380d17[_0x3cde('0x30')][_0x3cde('0x27')][_0x3cde('0x3')],_0x427d7f=_0x380d17['markerRange'][_0x3cde('0xe')][_0x3cde('0x10')],_0x572981=_0x359e55[_0x3cde('0x34')][_0x3cde('0x34')],{column:_0x34132b}=_0x47c780[_0x3cde('0x28')](_0x359e55),{column:_0x557450}=_0x47c780['getCellLocation'](_0x427d7f);for(let _0xfb8039=_0x34132b;_0xfb8039<=_0x557450;_0xfb8039++){const _0x41bdb9=_0x47c780[_0x3cde('0x35')](_0x572981,{'column':_0xfb8039,'includeAllSlots':!0x1});for(const _0x486b3 of _0x41bdb9){const _0x448416=_0x486b3[_0x3cde('0x21')],_0x54a360=_0x1b916e[_0x3cde('0x11')][_0x3cde('0x38')](_0x448416);_0x1b916e[_0x3cde('0x13')][_0x3cde('0x15')](_0x3cde('0x20')+_0x320cca,_0x54a360),_0x51db34&&_0x1b916e[_0x3cde('0x13')][_0x3cde('0x3f')](_0x3cde('0x3b'),_0x418492,_0x54a360),_0x1b916e[_0x3cde('0x11')][_0x3cde('0x1c')](_0x54a360,_0x380d17[_0x3cde('0x3c')]),_0x4a016&&(_0x205aa9[_0x3cde('0x2')][_0x3cde('0xc')](_0x380d17[_0x3cde('0x3c')])?_0x1b916e[_0x3cde('0x13')][_0x3cde('0x15')](_0x3cde('0x1f'),_0x54a360):_0x1b916e['writer'][_0x3cde('0xa')](_0x3cde('0x1f'),_0x54a360));}}};}_0x205aa9['_suggestionFactory'][_0x3cde('0x26')](_0x3cde('0x2c'),'setTableRowHeader',_0x3cde('0x16'),_0x31e190),_0x205aa9[_0x3cde('0x29')][_0x3cde('0x26')](_0x3cde('0x2c'),_0x3cde('0x2f'),_0x3cde('0x16'),_0x31e190),this[_0x3cde('0xd')][_0x3cde('0x4')][_0x3cde('0x24')]['on'](_0x3cde('0x36'),_0x5e3e90(),{'priority':_0x3cde('0x3e')}),this[_0x3cde('0xd')][_0x3cde('0x8')][_0x3cde('0x24')]['on'](_0x3cde('0x36'),(_0x2b18f1,_0x4ef069,_0x10f640)=>{_0x10f640['options'][_0x3cde('0x0')]&&_0x5e3e90({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x2b18f1,_0x4ef069,_0x10f640);},{'priority':'highest'}),this[_0x3cde('0xd')]['editing'][_0x3cde('0x24')]['on'](_0x3cde('0x37'),(_0x4cbb81,_0x1dd95d,_0x4127d4)=>{const {type:_0x434a6c,id:_0x8aed5}=_0x205aa9[_0x3cde('0x3a')](_0x1dd95d[_0x3cde('0x3c')]),_0xf5a81c=_0x205aa9[_0x3cde('0x14')](_0x8aed5),_0x1b9996=_0xf5a81c[_0x3cde('0x8')];if(_0x3cde('0x2c')!=_0xf5a81c[_0x3cde('0x5')]||!_0x1b9996||'setTableColumnHeader'!=_0x1b9996[_0x3cde('0x1')])return;const _0x18656d=_0x4127d4['mapper']['markerNameToElements'](_0x1dd95d['markerName']);if(_0x18656d)for(const _0x48d406 of _0x18656d)_0x4127d4[_0x3cde('0x13')][_0x3cde('0xa')]('ck-suggestion-marker-'+_0x434a6c,_0x48d406),_0x4127d4[_0x3cde('0x13')][_0x3cde('0xa')](_0x3cde('0x1f'),_0x48d406),_0x4127d4[_0x3cde('0x13')][_0x3cde('0x2a')](_0x3cde('0x3b'),_0x48d406),_0x4127d4[_0x3cde('0x11')]['unbindElementFromMarkerName'](_0x48d406,_0x1dd95d[_0x3cde('0x3c')]);},{'priority':'highest'}),this[_0x3cde('0x22')]();}[_0x3cde('0x22')](){const _0x4d46d5=this[_0x3cde('0xd')],_0x41d493=_0x4d46d5[_0x3cde('0x2b')];function _0x2f5425(_0x5727e3){return{'type':_0x3cde('0x1e'),'content':_0x275b1f(_0x41d493,_0x3cde('0x9'),_0x5727e3)};}_0x4d46d5[_0x3cde('0x23')][_0x3cde('0x3d')](_0x3cde('0x33'))['_descriptionFactory'][_0x3cde('0x6')](_0x1813b5=>{if('formatBlock'!=_0x1813b5[_0x3cde('0x5')])return;const {data:_0x4abb6c}=_0x1813b5;if(_0x4abb6c){if(_0x3cde('0x25')==_0x4abb6c[_0x3cde('0x1')]){const _0x2bb7c9=_0x4abb6c[_0x3cde('0x32')][0x0]['forceValue'];return _0x2f5425(_0x275b1f(_0x41d493,_0x2bb7c9?_0x3cde('0x2d'):'FORMAT_REGULAR_ROW'));}if('setTableColumnHeader'==_0x4abb6c[_0x3cde('0x1')]){const _0x38d393=_0x4abb6c['commandParams'][0x0]['forceValue'];return _0x2f5425(_0x275b1f(_0x41d493,_0x38d393?_0x3cde('0x31'):_0x3cde('0x17')));}}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1172=['getSelectionAffectedTableCells','subType','has','execute','accept','direction','getRanges','fromRange','length','find','TableUtils','createRangeOn','selection','splitTableCellVertically','mergeTableCellDown','size','registerCustomCallback','TrackChangesEditing','commandName','_descriptionFactory','author','detach','root','_areMergableCells','horizontally','_areSelectedCellsMergable','commands','insertion','splitTableCellHorizontally','locale','mergeTableCellRight','getCellLocation','tableCell','format','mergeTableCells','from','createTableWalker','plugins','TableEditing','push','formatInline','table','add','registerDescriptionCallback','getAncestors','formatBlock','getSuggestions','highest','markMultiRangeBlockFormat','change','type','setSelection','low','*Split\x20cell:*\x20horizontally','requires','editor','stop','mergeTableCellLeft','getFirstPosition','value','set:isEnabled','mergeTableCellUp','$graveyard','*Split\x20cell:*\x20vertically','model','_suggestionFactory','get','_acceptFormatSuggestionCallbackFactory','element','enableCommand','refresh','map','isEnabled','afterInit','markBlockFormat','document','forceDefaultExecution'];(function(_0x35c45e,_0x11723a){const _0xc86517=function(_0x428b24){while(--_0x428b24){_0x35c45e['push'](_0x35c45e['shift']());}};_0xc86517(++_0x11723a);}(_0x1172,0x146));const _0xc865=function(_0x35c45e,_0x11723a){_0x35c45e=_0x35c45e-0x0;let _0xc86517=_0x1172[_0x35c45e];return _0xc86517;};import{Plugin as _0x47902c}from'ckeditor5/src/core';import _0x2a0e2e from'./table';import{LiveRange as _0x248293}from'ckeditor5/src/engine';import{getTranslation as _0x446b36}from'../utils/common-translations';export default class yt extends _0x47902c{static get[_0xc865('0x24')](){return[_0x2a0e2e];}[_0xc865('0x37')](){const _0x581bbe=this[_0xc865('0x25')],_0x54b876=_0x581bbe[_0xc865('0x2e')][_0xc865('0x39')][_0xc865('0x47')],_0x27c445=_0x581bbe[_0xc865('0xb')];if(!_0x581bbe[_0xc865('0x13')][_0xc865('0x3d')](_0xc865('0x14')))return;const _0x97a1a7=_0x581bbe[_0xc865('0x13')]['get'](_0xc865('0x4c')),_0x52759a=_0x581bbe[_0xc865('0x13')][_0xc865('0x30')](_0xc865('0x45')),_0x1da7ba=_0x581bbe['plugins'][_0xc865('0x30')](_0x2a0e2e);_0x1da7ba['_tablePostFixingSubtypes'][_0xc865('0x15')]('mergeTableCells'),_0x97a1a7['enableCommand'](_0xc865('0x10'),()=>{const _0x4658a7=_0x52759a[_0xc865('0x3b')](_0x581bbe['model'][_0xc865('0x39')]['selection']);_0x581bbe['model'][_0xc865('0x1f')](()=>{_0x97a1a7[_0xc865('0x1e')](_0x4658a7,{'commandName':_0xc865('0x10'),'commandParams':[]},[],'mergeTableCells');});}),_0x581bbe['commands']['get'](_0xc865('0x10'))['on'](_0xc865('0x3e'),(_0x3ebfc0,_0x5d42aa)=>{_0x581bbe['commands'][_0xc865('0x30')]('trackChanges')['value']&&(_0x5d42aa[_0xc865('0x43')]>0x0&&_0x5d42aa[_0x5d42aa[_0xc865('0x43')]-0x1]&&_0x5d42aa[_0x5d42aa[_0xc865('0x43')]-0x1][_0xc865('0x3a')]||_0x97a1a7['_isForcedDefaultExecutionBlock']||this[_0xc865('0x7')]()||_0x3ebfc0[_0xc865('0x26')]());},{'priority':_0xc865('0x1d')});for(const _0x49303a of[_0xc865('0x2b'),_0xc865('0xc'),_0xc865('0x49'),_0xc865('0x27')]){const _0x6fb50e=_0x581bbe['commands']['get'](_0x49303a);_0x97a1a7['enableCommand'](_0x49303a,()=>{const _0x512363=_0x581bbe[_0xc865('0x2e')][_0xc865('0x39')][_0xc865('0x47')][_0xc865('0x28')]()[_0xc865('0x1a')]()[_0xc865('0x44')](_0x57496c=>_0x57496c['is'](_0xc865('0x32'),_0xc865('0xe'))),_0xeb2203=_0x6fb50e[_0xc865('0x29')];_0x581bbe[_0xc865('0x2e')]['change'](()=>{_0x97a1a7[_0xc865('0x1e')]([_0x512363,_0xeb2203],{'commandName':_0xc865('0x10'),'commandParams':[]},[],_0xc865('0x10'));});});}for(const _0x5d360c of['splitTableCellVertically',_0xc865('0xa')]){const _0x4c21e5=_0x581bbe[_0xc865('0x8')][_0xc865('0x30')](_0x5d360c);_0x97a1a7[_0xc865('0x33')](_0x5d360c,()=>{const _0x5b688e=_0x52759a[_0xc865('0x3b')](_0x581bbe['model'][_0xc865('0x39')][_0xc865('0x47')])[0x0],_0x5a8ee5=_0x5b688e['findAncestor'](_0xc865('0x17')),{column:_0x1064cb,row:_0x311bc1}=_0x52759a[_0xc865('0xd')](_0x5b688e);let _0x2a5945=[];if(_0xc865('0x6')==_0x4c21e5[_0xc865('0x40')]){const _0x4fc5f4=_0x52759a[_0xc865('0x12')](_0x5a8ee5,{'startRow':_0x311bc1,'endRow':_0x311bc1,'includeAllSlots':!0x0});_0x2a5945=Array['from'](_0x4fc5f4)[_0xc865('0x35')](_0x124ca2=>_0x124ca2['cell']);}else{const _0x464420=_0x52759a['createTableWalker'](_0x5a8ee5,{'column':_0x1064cb,'includeAllSlots':!0x0});_0x2a5945=Array[_0xc865('0x11')](_0x464420)[_0xc865('0x35')](_0x5e89a1=>_0x5e89a1['cell']);}_0x581bbe['model'][_0xc865('0x1f')](_0x2012b6=>{_0x97a1a7[_0xc865('0x38')](_0x2012b6[_0xc865('0x46')](_0x5b688e),{'commandName':_0x5d360c,'commandParams':[]},_0x2a5945,_0x5d360c);});});}_0x97a1a7[_0xc865('0x1')][_0xc865('0x19')](_0x4da96e=>{if(_0xc865('0x1b')!=_0x4da96e[_0xc865('0x20')]&&'formatInline'!=_0x4da96e[_0xc865('0x20')])return;const {data:_0xd8a420}=_0x4da96e;return _0xd8a420&&_0xc865('0x10')==_0xd8a420[_0xc865('0x0')]?{'type':_0xc865('0xf'),'content':_0x446b36(_0x27c445,'*Merge\x20cells*')}:void 0x0;}),_0x97a1a7[_0xc865('0x1')][_0xc865('0x19')](_0x4b5248=>{if(_0xc865('0x1b')!=_0x4b5248[_0xc865('0x20')]&&_0xc865('0x16')!=_0x4b5248[_0xc865('0x20')])return;const {data:_0x3e8e28}=_0x4b5248;return _0x3e8e28?_0xc865('0x48')==_0x3e8e28[_0xc865('0x0')]?{'type':_0xc865('0xf'),'content':_0x446b36(_0x27c445,_0xc865('0x2d'))}:'splitTableCellHorizontally'==_0x3e8e28[_0xc865('0x0')]?{'type':_0xc865('0xf'),'content':_0x446b36(_0x27c445,_0xc865('0x23'))}:void 0x0:void 0x0;});const _0x27a908=_0x1da7ba[_0xc865('0x31')]();for(const _0x241b5c of[_0xc865('0x2b'),_0xc865('0xc'),'mergeTableCellDown','mergeTableCellLeft'])_0x97a1a7['_suggestionFactory'][_0xc865('0x4b')](_0xc865('0x1b'),_0x241b5c,_0xc865('0x3f'),_0x27a908);for(const _0x1e9072 of[_0xc865('0x48'),'splitTableCellHorizontally'])_0x97a1a7[_0xc865('0x2f')][_0xc865('0x4b')]('formatBlock',_0x1e9072,'accept',_0x27a908);_0x97a1a7[_0xc865('0x2f')][_0xc865('0x4b')](_0xc865('0x1b'),_0xc865('0x10'),'accept',_0x1ed343=>{_0x581bbe['model'][_0xc865('0x1f')](_0x2ae1ff=>{const _0x1284a6=Array[_0xc865('0x11')](_0x54b876[_0xc865('0x41')]())[_0xc865('0x35')](_0x2ed561=>_0x248293[_0xc865('0x42')](_0x2ed561));_0x2ae1ff[_0xc865('0x21')](_0x1ed343),_0x581bbe['commands'][_0xc865('0x30')](_0xc865('0x10'))[_0xc865('0x34')](),_0x581bbe[_0xc865('0x3e')]('mergeTableCells',{'forceDefaultExecution':!0x0});const _0x33ae8b=_0x1284a6['filter'](_0x5a373a=>_0xc865('0x2c')!=_0x5a373a[_0xc865('0x4')]['rootName']);_0x33ae8b[_0xc865('0x43')]>0x0&&_0x2ae1ff[_0xc865('0x21')](_0x33ae8b);for(const _0x6c75fc of _0x1284a6)_0x6c75fc[_0xc865('0x3')]();});});for(const _0x273be4 of[_0xc865('0x2b'),'mergeTableCellDown',_0xc865('0x27'),'mergeTableCellRight']){const _0x3c6154=_0x581bbe[_0xc865('0x8')][_0xc865('0x30')](_0x273be4);_0x3c6154['on'](_0xc865('0x2a'),(_0x2ed77c,_0x3bbb13,_0x267891)=>{if(_0x267891){const _0xc734ec=_0x581bbe['model'][_0xc865('0x39')][_0xc865('0x47')][_0xc865('0x28')]()[_0xc865('0x1a')]()[_0xc865('0x44')](_0x2b2236=>_0x2b2236['is'](_0xc865('0x32'),_0xc865('0xe')));this[_0xc865('0x5')](_0x3c6154[_0xc865('0x29')],_0xc734ec)||(_0x2ed77c['return']=!0x1,_0x2ed77c[_0xc865('0x26')]());}},{'priority':_0xc865('0x22')});}}[_0xc865('0x7')](){const _0x3cd4e7=this[_0xc865('0x25')][_0xc865('0x8')][_0xc865('0x30')](_0xc865('0x10')),_0xc976fe=this[_0xc865('0x25')]['plugins'][_0xc865('0x30')](_0xc865('0x45'));if(!_0x3cd4e7[_0xc865('0x36')])return!0x1;const _0x1c33ef=_0xc976fe[_0xc865('0x3b')](this[_0xc865('0x25')][_0xc865('0x2e')][_0xc865('0x39')][_0xc865('0x47')]);for(const _0x4cdac2 of _0x1c33ef)for(const _0x117681 of _0x1c33ef)if(_0x4cdac2!=_0x117681&&!this[_0xc865('0x5')](_0x4cdac2,_0x117681))return!0x1;return!0x0;}[_0xc865('0x5')](_0x1f1e06,_0x4241df){const _0x4b548a=this['editor']['plugins']['get']('TrackChangesEditing'),_0x4a82fe=this['editor'][_0xc865('0x2e')][_0xc865('0x46')](_0x1f1e06),_0x5cfafa=this[_0xc865('0x25')]['model'][_0xc865('0x46')](_0x4241df),_0x28d3e3=new Set(),_0x534ffe=new Set();for(const _0x19f98a of _0x4b548a[_0xc865('0x1c')]())if((_0xc865('0x9')==_0x19f98a[_0xc865('0x20')]||'deletion'==_0x19f98a[_0xc865('0x20')]||_0xc865('0x10')==_0x19f98a[_0xc865('0x3c')])&&_0x19f98a['isInContent'])for(const _0x94edce of _0x19f98a[_0xc865('0x41')]())_0x94edce['containsRange'](_0x4a82fe,!0x0)&&_0x28d3e3[_0xc865('0x18')](_0x19f98a[_0xc865('0x20')]+':'+_0x19f98a[_0xc865('0x2')]['id']),_0x94edce['containsRange'](_0x5cfafa,!0x0)&&_0x534ffe['add'](_0x19f98a[_0xc865('0x20')]+':'+_0x19f98a[_0xc865('0x2')]['id']);if(_0x28d3e3[_0xc865('0x4a')]!=_0x534ffe[_0xc865('0x4a')])return!0x1;for(const _0x32a313 of _0x28d3e3)if(!_0x534ffe[_0xc865('0x3d')](_0x32a313))return!0x1;return!0x0;}}
23
+ const _0x4038=['getAncestors','_tablePostFixingSubtypes','editor','from','push','setSelection','format','trackChanges','deletion','markBlockFormat','type','mergeTableCellLeft','add','map','createRangeOn','getSuggestions','model','findAncestor','element','commands','execute','size','getFirstPosition','mergeTableCellRight','stop','_areSelectedCellsMergable','length','accept','splitTableCellVertically','value','low','highest','rootName','horizontally','createTableWalker','fromRange','plugins','return','TrackChangesEditing','_descriptionFactory','formatBlock','subType','*Split\x20cell:*\x20vertically','_areMergableCells','selection','_acceptFormatSuggestionCallbackFactory','_isForcedDefaultExecutionBlock','mergeTableCells','registerCustomCallback','*Split\x20cell:*\x20horizontally','insertion','filter','markMultiRangeBlockFormat','enableCommand','*Merge\x20cells*','get','mergeTableCellDown','refresh','change','tableCell','formatInline','cell','TableEditing','detach','getSelectionAffectedTableCells','TableUtils','isInContent','locale','containsRange','registerDescriptionCallback','commandName','splitTableCellHorizontally','root','has','getRanges','mergeTableCellUp','$graveyard','table','document','_suggestionFactory','author','find'];(function(_0x5f938b,_0x4038a5){const _0x184eb2=function(_0x3cb905){while(--_0x3cb905){_0x5f938b['push'](_0x5f938b['shift']());}};_0x184eb2(++_0x4038a5);}(_0x4038,0x7d));const _0x184e=function(_0x5f938b,_0x4038a5){_0x5f938b=_0x5f938b-0x0;let _0x184eb2=_0x4038[_0x5f938b];return _0x184eb2;};import{Plugin as _0x2ec216}from'ckeditor5/src/core';import _0x3e08a3 from'./table';import{LiveRange as _0x2134be}from'ckeditor5/src/engine';import{getTranslation as _0x1d20bb}from'../utils/common-translations';export default class yt extends _0x2ec216{static get['requires'](){return[_0x3e08a3];}['afterInit'](){const _0x196454=this[_0x184e('0x29')],_0x12f6db=_0x196454[_0x184e('0x37')]['document']['selection'],_0x423b4f=_0x196454[_0x184e('0x18')];if(!_0x196454[_0x184e('0x4b')][_0x184e('0x1e')](_0x184e('0x13')))return;const _0x462b47=_0x196454[_0x184e('0x4b')][_0x184e('0xc')](_0x184e('0x4d')),_0x2f6ca8=_0x196454[_0x184e('0x4b')][_0x184e('0xc')](_0x184e('0x16')),_0x333eeb=_0x196454[_0x184e('0x4b')][_0x184e('0xc')](_0x3e08a3);_0x333eeb[_0x184e('0x28')][_0x184e('0x2b')]('mergeTableCells'),_0x462b47['enableCommand'](_0x184e('0x4'),()=>{const _0x229c0f=_0x2f6ca8['getSelectionAffectedTableCells'](_0x196454[_0x184e('0x37')][_0x184e('0x23')][_0x184e('0x1')]);_0x196454[_0x184e('0x37')][_0x184e('0xf')](()=>{_0x462b47[_0x184e('0x9')](_0x229c0f,{'commandName':_0x184e('0x4'),'commandParams':[]},[],'mergeTableCells');});}),_0x196454[_0x184e('0x3a')][_0x184e('0xc')]('mergeTableCells')['on']('execute',(_0x1b2e61,_0x4eab2a)=>{_0x196454[_0x184e('0x3a')][_0x184e('0xc')](_0x184e('0x2e'))['value']&&(_0x4eab2a[_0x184e('0x41')]>0x0&&_0x4eab2a[_0x4eab2a[_0x184e('0x41')]-0x1]&&_0x4eab2a[_0x4eab2a[_0x184e('0x41')]-0x1]['forceDefaultExecution']||_0x462b47[_0x184e('0x3')]||this['_areSelectedCellsMergable']()||_0x1b2e61[_0x184e('0x3f')]());},{'priority':_0x184e('0x46')});for(const _0x611bfd of[_0x184e('0x20'),_0x184e('0x3e'),_0x184e('0xd'),_0x184e('0x32')]){const _0x3748b6=_0x196454[_0x184e('0x3a')]['get'](_0x611bfd);_0x462b47[_0x184e('0xa')](_0x611bfd,()=>{const _0x3acc76=_0x196454[_0x184e('0x37')][_0x184e('0x23')]['selection'][_0x184e('0x3d')]()[_0x184e('0x27')]()[_0x184e('0x26')](_0x43bd5a=>_0x43bd5a['is'](_0x184e('0x39'),_0x184e('0x10'))),_0x2a393a=_0x3748b6[_0x184e('0x44')];_0x196454[_0x184e('0x37')][_0x184e('0xf')](()=>{_0x462b47[_0x184e('0x9')]([_0x3acc76,_0x2a393a],{'commandName':'mergeTableCells','commandParams':[]},[],_0x184e('0x4'));});});}for(const _0x4a9e57 of[_0x184e('0x43'),_0x184e('0x1c')]){const _0x1e21a4=_0x196454[_0x184e('0x3a')][_0x184e('0xc')](_0x4a9e57);_0x462b47[_0x184e('0xa')](_0x4a9e57,()=>{const _0x59d9a7=_0x2f6ca8[_0x184e('0x15')](_0x196454[_0x184e('0x37')][_0x184e('0x23')][_0x184e('0x1')])[0x0],_0x2d62bd=_0x59d9a7[_0x184e('0x38')](_0x184e('0x22')),{column:_0x45104b,row:_0x5e6322}=_0x2f6ca8['getCellLocation'](_0x59d9a7);let _0x3e36d6=[];if(_0x184e('0x48')==_0x1e21a4['direction']){const _0x388e64=_0x2f6ca8[_0x184e('0x49')](_0x2d62bd,{'startRow':_0x5e6322,'endRow':_0x5e6322,'includeAllSlots':!0x0});_0x3e36d6=Array['from'](_0x388e64)['map'](_0x41c314=>_0x41c314[_0x184e('0x12')]);}else{const _0x5690a7=_0x2f6ca8[_0x184e('0x49')](_0x2d62bd,{'column':_0x45104b,'includeAllSlots':!0x0});_0x3e36d6=Array['from'](_0x5690a7)['map'](_0x357fa4=>_0x357fa4[_0x184e('0x12')]);}_0x196454[_0x184e('0x37')]['change'](_0xc7b075=>{_0x462b47[_0x184e('0x30')](_0xc7b075[_0x184e('0x35')](_0x59d9a7),{'commandName':_0x4a9e57,'commandParams':[]},_0x3e36d6,_0x4a9e57);});});}_0x462b47['_descriptionFactory'][_0x184e('0x1a')](_0x892d86=>{if(_0x184e('0x4f')!=_0x892d86[_0x184e('0x31')]&&_0x184e('0x11')!=_0x892d86['type'])return;const {data:_0x340a3d}=_0x892d86;return _0x340a3d&&'mergeTableCells'==_0x340a3d[_0x184e('0x1b')]?{'type':_0x184e('0x2d'),'content':_0x1d20bb(_0x423b4f,_0x184e('0xb'))}:void 0x0;}),_0x462b47[_0x184e('0x4e')][_0x184e('0x1a')](_0x2b70c6=>{if(_0x184e('0x4f')!=_0x2b70c6[_0x184e('0x31')]&&_0x184e('0x11')!=_0x2b70c6[_0x184e('0x31')])return;const {data:_0x23919d}=_0x2b70c6;return _0x23919d?_0x184e('0x43')==_0x23919d[_0x184e('0x1b')]?{'type':_0x184e('0x2d'),'content':_0x1d20bb(_0x423b4f,_0x184e('0x51'))}:_0x184e('0x1c')==_0x23919d[_0x184e('0x1b')]?{'type':_0x184e('0x2d'),'content':_0x1d20bb(_0x423b4f,_0x184e('0x6'))}:void 0x0:void 0x0;});const _0x2d614e=_0x333eeb[_0x184e('0x2')]();for(const _0x413b96 of[_0x184e('0x20'),_0x184e('0x3e'),_0x184e('0xd'),'mergeTableCellLeft'])_0x462b47[_0x184e('0x24')]['registerCustomCallback']('formatBlock',_0x413b96,_0x184e('0x42'),_0x2d614e);for(const _0x25b2c5 of['splitTableCellVertically',_0x184e('0x1c')])_0x462b47[_0x184e('0x24')]['registerCustomCallback'](_0x184e('0x4f'),_0x25b2c5,'accept',_0x2d614e);_0x462b47[_0x184e('0x24')][_0x184e('0x5')](_0x184e('0x4f'),_0x184e('0x4'),_0x184e('0x42'),_0x11b2a9=>{_0x196454[_0x184e('0x37')][_0x184e('0xf')](_0x295d03=>{const _0x5d92b5=Array[_0x184e('0x2a')](_0x12f6db[_0x184e('0x1f')]())[_0x184e('0x34')](_0x258eee=>_0x2134be[_0x184e('0x4a')](_0x258eee));_0x295d03[_0x184e('0x2c')](_0x11b2a9),_0x196454[_0x184e('0x3a')]['get'](_0x184e('0x4'))[_0x184e('0xe')](),_0x196454[_0x184e('0x3b')](_0x184e('0x4'),{'forceDefaultExecution':!0x0});const _0x8c435b=_0x5d92b5[_0x184e('0x8')](_0xa56203=>_0x184e('0x21')!=_0xa56203[_0x184e('0x1d')][_0x184e('0x47')]);_0x8c435b[_0x184e('0x41')]>0x0&&_0x295d03[_0x184e('0x2c')](_0x8c435b);for(const _0x1c139b of _0x5d92b5)_0x1c139b[_0x184e('0x14')]();});});for(const _0x23bea8 of['mergeTableCellUp',_0x184e('0xd'),_0x184e('0x32'),_0x184e('0x3e')]){const _0x2bf8c3=_0x196454[_0x184e('0x3a')][_0x184e('0xc')](_0x23bea8);_0x2bf8c3['on']('set:isEnabled',(_0x325102,_0x265130,_0x503cd6)=>{if(_0x503cd6){const _0x2be10e=_0x196454[_0x184e('0x37')][_0x184e('0x23')][_0x184e('0x1')][_0x184e('0x3d')]()[_0x184e('0x27')]()['find'](_0x100e26=>_0x100e26['is']('element',_0x184e('0x10')));this[_0x184e('0x0')](_0x2bf8c3[_0x184e('0x44')],_0x2be10e)||(_0x325102[_0x184e('0x4c')]=!0x1,_0x325102[_0x184e('0x3f')]());}},{'priority':_0x184e('0x45')});}}[_0x184e('0x40')](){const _0x8e8fd0=this[_0x184e('0x29')][_0x184e('0x3a')][_0x184e('0xc')]('mergeTableCells'),_0xe0552b=this[_0x184e('0x29')]['plugins'][_0x184e('0xc')](_0x184e('0x16'));if(!_0x8e8fd0['isEnabled'])return!0x1;const _0x5d1e90=_0xe0552b['getSelectionAffectedTableCells'](this[_0x184e('0x29')][_0x184e('0x37')][_0x184e('0x23')]['selection']);for(const _0x1b6fc1 of _0x5d1e90)for(const _0xe519e of _0x5d1e90)if(_0x1b6fc1!=_0xe519e&&!this[_0x184e('0x0')](_0x1b6fc1,_0xe519e))return!0x1;return!0x0;}[_0x184e('0x0')](_0x192ab6,_0x5733a9){const _0x72bc89=this[_0x184e('0x29')][_0x184e('0x4b')]['get'](_0x184e('0x4d')),_0x120b27=this[_0x184e('0x29')]['model'][_0x184e('0x35')](_0x192ab6),_0x425d9f=this[_0x184e('0x29')]['model'][_0x184e('0x35')](_0x5733a9),_0x35c7bc=new Set(),_0x2cfa57=new Set();for(const _0x1d1aec of _0x72bc89[_0x184e('0x36')]())if((_0x184e('0x7')==_0x1d1aec[_0x184e('0x31')]||_0x184e('0x2f')==_0x1d1aec[_0x184e('0x31')]||_0x184e('0x4')==_0x1d1aec[_0x184e('0x50')])&&_0x1d1aec[_0x184e('0x17')])for(const _0x18f5c0 of _0x1d1aec[_0x184e('0x1f')]())_0x18f5c0[_0x184e('0x19')](_0x120b27,!0x0)&&_0x35c7bc[_0x184e('0x33')](_0x1d1aec['type']+':'+_0x1d1aec[_0x184e('0x25')]['id']),_0x18f5c0['containsRange'](_0x425d9f,!0x0)&&_0x2cfa57[_0x184e('0x33')](_0x1d1aec[_0x184e('0x31')]+':'+_0x1d1aec['author']['id']);if(_0x35c7bc[_0x184e('0x3c')]!=_0x2cfa57[_0x184e('0x3c')])return!0x1;for(const _0x448744 of _0x35c7bc)if(!_0x2cfa57[_0x184e('0x1e')](_0x448744))return!0x1;return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x321f=['_descriptionFactory','afterInit','tableOfContents','insertTableOfContents','plugins','get','TrackChangesEditing','locale','registerElementLabel','enableCommand','ELEMENT_TABLE_OF_CONTENTS'];(function(_0x48def8,_0x321f44){const _0x31cefc=function(_0x3a099b){while(--_0x3a099b){_0x48def8['push'](_0x48def8['shift']());}};_0x31cefc(++_0x321f44);}(_0x321f,0x196));const _0x31ce=function(_0x48def8,_0x321f44){_0x48def8=_0x48def8-0x0;let _0x31cefc=_0x321f[_0x48def8];return _0x31cefc;};import{Plugin as _0x59f720}from'ckeditor5/src/core';import{getTranslation as _0x33f5a5}from'../utils/common-translations';export default class _t extends _0x59f720{[_0x31ce('0x2')](){const _0x304457=this['editor'];if(!_0x304457['commands'][_0x31ce('0x6')](_0x31ce('0x4')))return;_0x304457[_0x31ce('0x5')]['get'](_0x31ce('0x7'))[_0x31ce('0xa')]('insertTableOfContents');const _0x25d6b0=_0x304457[_0x31ce('0x5')][_0x31ce('0x6')](_0x31ce('0x7')),_0x4b6dcc=_0x304457[_0x31ce('0x8')];_0x25d6b0[_0x31ce('0x1')][_0x31ce('0x9')](_0x31ce('0x3'),_0x107843=>_0x33f5a5(_0x4b6dcc,_0x31ce('0x0'),_0x107843));}}
23
+ const _0x14d7=['commands','_descriptionFactory','plugins','registerElementLabel','enableCommand','locale','editor','get','insertTableOfContents','TrackChangesEditing'];(function(_0x4f1ad6,_0x14d7dc){const _0x2f99c5=function(_0x240f10){while(--_0x240f10){_0x4f1ad6['push'](_0x4f1ad6['shift']());}};_0x2f99c5(++_0x14d7dc);}(_0x14d7,0x1b0));const _0x2f99=function(_0x4f1ad6,_0x14d7dc){_0x4f1ad6=_0x4f1ad6-0x0;let _0x2f99c5=_0x14d7[_0x4f1ad6];return _0x2f99c5;};import{Plugin as _0x2f5db6}from'ckeditor5/src/core';import{getTranslation as _0x4fee54}from'../utils/common-translations';export default class _t extends _0x2f5db6{['afterInit'](){const _0xbc24ee=this[_0x2f99('0x4')];if(!_0xbc24ee[_0x2f99('0x8')]['get'](_0x2f99('0x6')))return;_0xbc24ee[_0x2f99('0x0')][_0x2f99('0x5')](_0x2f99('0x7'))[_0x2f99('0x2')](_0x2f99('0x6'));const _0x54ea20=_0xbc24ee[_0x2f99('0x0')]['get']('TrackChangesEditing'),_0x36cd55=_0xbc24ee[_0x2f99('0x3')];_0x54ea20[_0x2f99('0x9')][_0x2f99('0x1')]('tableOfContents',_0x4953bb=>_0x4fee54(_0x36cd55,'ELEMENT_TABLE_OF_CONTENTS',_0x4953bb));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x13b3=['handleDiscardAction','TrackChangesEditing','format','tableCellBorderColor','getContainedElement','subType','locale','plugins','data','batch','tableCellProperties','selection','handleSuggestionDescription','removeAttribute','tableProperties','_suggestionFactory','table','has','tableCellBackgroundColor','tableBackgroundColor','registerCustomCallback','nodeAfter','afterInit','tableCellPadding','tableCellVerticalAlignment','tableCellHeight','tableWidth','discard','tableAlignment','commandParams','getSuggestionCallback','tableCellHorizontalAlignment','model','getFirstPosition','findAncestor','tableBorderColor','tableHeight','TableUtils','getSuggestions','document','formatBlock','tableBorderWidth','getSelectionAffectedTableCells','setAttribute','join','editor','registerDescriptionCallback','tableCellWidth','get','TablePropertiesEditing','getAttribute','*Format:*\x20change\x20table\x20cell\x20properties','pluginName','_handlePropertyChange','tableBorderStyle','accept'];(function(_0x5ee90a,_0x13b35e){const _0x27b676=function(_0x3cdc2a){while(--_0x3cdc2a){_0x5ee90a['push'](_0x5ee90a['shift']());}};_0x27b676(++_0x13b35e);}(_0x13b3,0x1f3));const _0x27b6=function(_0x5ee90a,_0x13b35e){_0x5ee90a=_0x5ee90a-0x0;let _0x27b676=_0x13b3[_0x5ee90a];return _0x27b676;};import{Plugin as _0x5c6e1e}from'ckeditor5/src/core';import{getTranslation as _0x5d2879}from'../utils/common-translations';export default class Mt extends _0x5c6e1e{constructor(_0x4257a2){super(_0x4257a2),this[_0x27b6('0x13')]=[_0x27b6('0x28'),_0x27b6('0x3'),_0x27b6('0x2e'),_0x27b6('0x21'),_0x27b6('0x1f'),_0x27b6('0x29'),_0x27b6('0x18')],this['tableCellProperties']=[_0x27b6('0x8'),'tableCellBorderStyle','tableCellBorderWidth',_0x27b6('0x1c'),_0x27b6('0x34'),_0x27b6('0x1e'),_0x27b6('0x17'),_0x27b6('0x24'),_0x27b6('0x1d')];}static get[_0x27b6('0x1')](){return'TrackChangesTableProperties';}[_0x27b6('0x1b')](){const _0x2c8a7e=this[_0x27b6('0x32')][_0x27b6('0xc')][_0x27b6('0x35')]('TrackChangesEditing');if(this[_0x27b6('0x32')][_0x27b6('0xc')]['has'](_0x27b6('0x36'))){for(const _0x2b9e61 of this[_0x27b6('0x13')])_0x2c8a7e['enableCommand'](_0x2b9e61,(_0x3957f6,_0x8cf440)=>{const _0x2d52b3=this[_0x27b6('0x32')][_0x27b6('0x25')]['document'][_0x27b6('0x10')][_0x27b6('0x26')]()[_0x27b6('0x27')](_0x27b6('0x15'));this[_0x27b6('0x2')](_0x2b9e61,[_0x2d52b3],this[_0x27b6('0x13')],_0x27b6('0x13'),_0x3957f6,_0x8cf440);});_0x2c8a7e[_0x27b6('0x14')][_0x27b6('0x19')]('formatBlock',_0x27b6('0x13'),_0x27b6('0x4'),_0x2c8a7e['_suggestionFactory'][_0x27b6('0x23')]('formatBlock',null,_0x27b6('0x20'))),_0x2c8a7e[_0x27b6('0x14')][_0x27b6('0x19')](_0x27b6('0x2d'),_0x27b6('0x13'),'discard',(_0x211100,_0x1327ef)=>this[_0x27b6('0x5')](this[_0x27b6('0x13')],_0x211100,_0x1327ef)),_0x2c8a7e[_0x27b6('0x14')][_0x27b6('0x19')](_0x27b6('0x2d'),'tableProperties',_0x27b6('0x31'),()=>!0x1);}if(this['editor'][_0x27b6('0xc')][_0x27b6('0x16')]('TableCellPropertiesEditing')){for(const _0x1be55c of this[_0x27b6('0xf')])_0x2c8a7e['enableCommand'](_0x1be55c,(_0xe09a12,_0x450b4e)=>{const _0x4bec87=this[_0x27b6('0x32')]['plugins'][_0x27b6('0x35')](_0x27b6('0x2a'))[_0x27b6('0x2f')](this['editor']['model'][_0x27b6('0x2c')]['selection']);this[_0x27b6('0x2')](_0x1be55c,_0x4bec87,this['tableCellProperties'],'tableCellProperties',_0xe09a12,_0x450b4e);});_0x2c8a7e[_0x27b6('0x14')]['registerCustomCallback'](_0x27b6('0x2d'),_0x27b6('0xf'),_0x27b6('0x4'),_0x2c8a7e[_0x27b6('0x14')]['getSuggestionCallback']('formatBlock',null,_0x27b6('0x20'))),_0x2c8a7e[_0x27b6('0x14')][_0x27b6('0x19')](_0x27b6('0x2d'),_0x27b6('0xf'),'discard',(_0x462d68,_0x2201a7)=>this['handleDiscardAction'](this[_0x27b6('0xf')],_0x462d68,_0x2201a7)),_0x2c8a7e[_0x27b6('0x14')]['registerCustomCallback']('formatBlock',_0x27b6('0xf'),'join',()=>!0x1);}_0x2c8a7e['_descriptionFactory'][_0x27b6('0x33')](_0x13bff1=>this[_0x27b6('0x11')](_0x13bff1));}[_0x27b6('0x2')](_0x4ae9b8,_0x1f01f8,_0x2c903a,_0x5de4ed,_0x1d500b,_0x51128c){const _0x46d477=this[_0x27b6('0x32')][_0x27b6('0xc')][_0x27b6('0x35')](_0x27b6('0x6'));this[_0x27b6('0x32')][_0x27b6('0x25')]['enqueueChange'](_0x51128c[_0x27b6('0xe')],()=>{for(const _0x54e6a5 of _0x1f01f8){if(this['_getSuggestion'](_0x54e6a5,_0x5de4ed))_0x1d500b(_0x51128c);else{const _0x1ce8e9={};for(const _0x13d06a of _0x2c903a){const _0x335d35=_0x54e6a5[_0x27b6('0x37')](_0x13d06a);void 0x0!==_0x335d35&&(_0x1ce8e9[_0x13d06a]=_0x335d35);}_0x1d500b(_0x51128c),_0x46d477['markBlockFormat'](_0x54e6a5,{'commandParams':[_0x1ce8e9]},[],_0x5de4ed);}}});}[_0x27b6('0x5')](_0x4c7e04,_0x504ba5,_0xab3d79){const _0x38079f=_0x504ba5[0x0]['start'][_0x27b6('0x1a')],_0xdec40b=_0xab3d79[_0x27b6('0x22')][0x0];this[_0x27b6('0x32')][_0x27b6('0x25')]['change'](_0x117b29=>{for(const _0x2a752b of _0x4c7e04)void 0x0!==_0xdec40b[_0x2a752b]?_0x117b29[_0x27b6('0x30')](_0x2a752b,_0xdec40b[_0x2a752b],_0x38079f):_0x117b29[_0x27b6('0x12')](_0x2a752b,_0x38079f);});}[_0x27b6('0x11')](_0x499ac0){if(_0x499ac0[_0x27b6('0xd')])switch(_0x499ac0[_0x27b6('0xa')]){case'tableProperties':return{'type':_0x27b6('0x7'),'content':_0x5d2879(this[_0x27b6('0x32')][_0x27b6('0xb')],'*Format:*\x20change\x20table\x20properties')};case _0x27b6('0xf'):return{'type':_0x27b6('0x7'),'content':_0x5d2879(this[_0x27b6('0x32')][_0x27b6('0xb')],_0x27b6('0x0'))};}}['_getSuggestion'](_0x4060f8,_0x9ed95b){const _0x4f1144=this[_0x27b6('0x32')][_0x27b6('0xc')]['get']('TrackChangesEditing');for(const _0x2a7c5f of _0x4f1144[_0x27b6('0x2b')]({'skipNotAttached':!0x0})){const _0xb13ff9=_0x2a7c5f[_0x27b6('0x9')]();if(_0x2a7c5f[_0x27b6('0xa')]===_0x9ed95b&&_0xb13ff9===_0x4060f8)return _0x2a7c5f;}return null;}}
23
+ const _0x2512=['tableCellBorderColor','table','accept','tableBorderColor','get','_handlePropertyChange','selection','document','setAttribute','model','enqueueChange','tableWidth','subType','formatBlock','getSuggestions','_suggestionFactory','format','_descriptionFactory','afterInit','start','tableAlignment','tableBackgroundColor','discard','pluginName','nodeAfter','tableCellWidth','tableCellHorizontalAlignment','tableCellBorderWidth','getSuggestionCallback','tableCellBorderStyle','handleDiscardAction','*Format:*\x20change\x20table\x20cell\x20properties','tableCellPadding','editor','removeAttribute','handleSuggestionDescription','TrackChangesEditing','tableCellVerticalAlignment','getSelectionAffectedTableCells','getFirstPosition','locale','tableProperties','findAncestor','tableBorderWidth','_getSuggestion','tableCellProperties','tableBorderStyle','tableHeight','change','TablePropertiesEditing','join','has','batch','tableCellHeight','TableCellPropertiesEditing','TrackChangesTableProperties','TableUtils','registerCustomCallback','*Format:*\x20change\x20table\x20properties','markBlockFormat','plugins','enableCommand'];(function(_0x383d90,_0x2512c2){const _0x39ed25=function(_0x19fbcc){while(--_0x19fbcc){_0x383d90['push'](_0x383d90['shift']());}};_0x39ed25(++_0x2512c2);}(_0x2512,0x150));const _0x39ed=function(_0x383d90,_0x2512c2){_0x383d90=_0x383d90-0x0;let _0x39ed25=_0x2512[_0x383d90];return _0x39ed25;};import{Plugin as _0x414265}from'ckeditor5/src/core';import{getTranslation as _0x4a4f86}from'../utils/common-translations';export default class Mt extends _0x414265{constructor(_0x59ca44){super(_0x59ca44),this[_0x39ed('0xf')]=[_0x39ed('0x27'),_0x39ed('0x14'),_0x39ed('0x11'),_0x39ed('0x38'),_0x39ed('0x2f'),_0x39ed('0x15'),_0x39ed('0x39')],this['tableCellProperties']=[_0x39ed('0x24'),_0x39ed('0x3'),_0x39ed('0x1'),_0x39ed('0x6'),_0x39ed('0x3d'),_0x39ed('0x1b'),'tableCellBackgroundColor',_0x39ed('0x0'),_0x39ed('0xb')];}static get[_0x39ed('0x3b')](){return _0x39ed('0x1d');}[_0x39ed('0x36')](){const _0x3577ed=this[_0x39ed('0x7')][_0x39ed('0x22')][_0x39ed('0x28')](_0x39ed('0xa'));if(this[_0x39ed('0x7')][_0x39ed('0x22')][_0x39ed('0x19')](_0x39ed('0x17'))){for(const _0x55a696 of this[_0x39ed('0xf')])_0x3577ed['enableCommand'](_0x55a696,(_0x28562d,_0x2da2f0)=>{const _0x2d3e36=this['editor'][_0x39ed('0x2d')][_0x39ed('0x2b')][_0x39ed('0x2a')][_0x39ed('0xd')]()[_0x39ed('0x10')](_0x39ed('0x25'));this[_0x39ed('0x29')](_0x55a696,[_0x2d3e36],this[_0x39ed('0xf')],'tableProperties',_0x28562d,_0x2da2f0);});_0x3577ed[_0x39ed('0x33')][_0x39ed('0x1f')]('formatBlock',_0x39ed('0xf'),_0x39ed('0x26'),_0x3577ed[_0x39ed('0x33')][_0x39ed('0x2')](_0x39ed('0x31'),null,_0x39ed('0x3a'))),_0x3577ed[_0x39ed('0x33')][_0x39ed('0x1f')](_0x39ed('0x31'),'tableProperties',_0x39ed('0x3a'),(_0x2623dc,_0x128989)=>this['handleDiscardAction'](this[_0x39ed('0xf')],_0x2623dc,_0x128989)),_0x3577ed[_0x39ed('0x33')][_0x39ed('0x1f')](_0x39ed('0x31'),_0x39ed('0xf'),_0x39ed('0x18'),()=>!0x1);}if(this[_0x39ed('0x7')]['plugins']['has'](_0x39ed('0x1c'))){for(const _0x443e80 of this[_0x39ed('0x13')])_0x3577ed[_0x39ed('0x23')](_0x443e80,(_0x218c1a,_0x2ff527)=>{const _0x2c4e0b=this[_0x39ed('0x7')][_0x39ed('0x22')][_0x39ed('0x28')](_0x39ed('0x1e'))[_0x39ed('0xc')](this[_0x39ed('0x7')][_0x39ed('0x2d')][_0x39ed('0x2b')][_0x39ed('0x2a')]);this[_0x39ed('0x29')](_0x443e80,_0x2c4e0b,this[_0x39ed('0x13')],'tableCellProperties',_0x218c1a,_0x2ff527);});_0x3577ed[_0x39ed('0x33')][_0x39ed('0x1f')](_0x39ed('0x31'),_0x39ed('0x13'),_0x39ed('0x26'),_0x3577ed[_0x39ed('0x33')][_0x39ed('0x2')](_0x39ed('0x31'),null,'discard')),_0x3577ed[_0x39ed('0x33')][_0x39ed('0x1f')](_0x39ed('0x31'),'tableCellProperties',_0x39ed('0x3a'),(_0x3cd60d,_0x110586)=>this[_0x39ed('0x4')](this[_0x39ed('0x13')],_0x3cd60d,_0x110586)),_0x3577ed[_0x39ed('0x33')][_0x39ed('0x1f')](_0x39ed('0x31'),_0x39ed('0x13'),_0x39ed('0x18'),()=>!0x1);}_0x3577ed[_0x39ed('0x35')]['registerDescriptionCallback'](_0x47c002=>this[_0x39ed('0x9')](_0x47c002));}['_handlePropertyChange'](_0x422312,_0x25d70f,_0x3bddc4,_0x12d24f,_0xc778e0,_0x3ddb8b){const _0x2c2178=this[_0x39ed('0x7')][_0x39ed('0x22')][_0x39ed('0x28')]('TrackChangesEditing');this['editor'][_0x39ed('0x2d')][_0x39ed('0x2e')](_0x3ddb8b[_0x39ed('0x1a')],()=>{for(const _0x1673e0 of _0x25d70f){if(this[_0x39ed('0x12')](_0x1673e0,_0x12d24f))_0xc778e0(_0x3ddb8b);else{const _0x144dff={};for(const _0x191bc6 of _0x3bddc4){const _0x5b922c=_0x1673e0['getAttribute'](_0x191bc6);void 0x0!==_0x5b922c&&(_0x144dff[_0x191bc6]=_0x5b922c);}_0xc778e0(_0x3ddb8b),_0x2c2178[_0x39ed('0x21')](_0x1673e0,{'commandParams':[_0x144dff]},[],_0x12d24f);}}});}[_0x39ed('0x4')](_0x29ce87,_0x5c6271,_0x45d6d3){const _0x139a0a=_0x5c6271[0x0][_0x39ed('0x37')][_0x39ed('0x3c')],_0x5b69f0=_0x45d6d3['commandParams'][0x0];this[_0x39ed('0x7')][_0x39ed('0x2d')][_0x39ed('0x16')](_0x36a66b=>{for(const _0x4bb6e2 of _0x29ce87)void 0x0!==_0x5b69f0[_0x4bb6e2]?_0x36a66b[_0x39ed('0x2c')](_0x4bb6e2,_0x5b69f0[_0x4bb6e2],_0x139a0a):_0x36a66b[_0x39ed('0x8')](_0x4bb6e2,_0x139a0a);});}[_0x39ed('0x9')](_0x3dd045){if(_0x3dd045['data'])switch(_0x3dd045[_0x39ed('0x30')]){case _0x39ed('0xf'):return{'type':_0x39ed('0x34'),'content':_0x4a4f86(this[_0x39ed('0x7')][_0x39ed('0xe')],_0x39ed('0x20'))};case _0x39ed('0x13'):return{'type':_0x39ed('0x34'),'content':_0x4a4f86(this[_0x39ed('0x7')]['locale'],_0x39ed('0x5'))};}}[_0x39ed('0x12')](_0x26c426,_0x15457b){const _0x5125e2=this[_0x39ed('0x7')][_0x39ed('0x22')][_0x39ed('0x28')](_0x39ed('0xa'));for(const _0x1cdc24 of _0x5125e2[_0x39ed('0x32')]({'skipNotAttached':!0x0})){const _0x453d8f=_0x1cdc24['getContainedElement']();if(_0x1cdc24[_0x39ed('0x30')]===_0x15457b&&_0x453d8f===_0x26c426)return _0x1cdc24;}return null;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x196c=['insertTemplate','has','TrackChangesEditing','Template','editor','afterInit','enableCommand'];(function(_0x3bf3bb,_0x196c6b){const _0x5af751=function(_0x1248fc){while(--_0x1248fc){_0x3bf3bb['push'](_0x3bf3bb['shift']());}};_0x5af751(++_0x196c6b);}(_0x196c,0x160));const _0x5af7=function(_0x3bf3bb,_0x196c6b){_0x3bf3bb=_0x3bf3bb-0x0;let _0x5af751=_0x196c[_0x3bf3bb];return _0x5af751;};import{Plugin as _0x33ed5c}from'ckeditor5/src/core';export default class vt extends _0x33ed5c{[_0x5af7('0x3')](){const _0x89d458=this[_0x5af7('0x2')];_0x89d458['plugins'][_0x5af7('0x6')](_0x5af7('0x1'))&&_0x89d458['plugins']['get'](_0x5af7('0x0'))[_0x5af7('0x4')](_0x5af7('0x5'));}}
23
+ const _0x33b3=['TrackChangesEditing','insertTemplate','Template','get','has','enableCommand'];(function(_0x408d15,_0x33b3c7){const _0x56dc71=function(_0x1308d4){while(--_0x1308d4){_0x408d15['push'](_0x408d15['shift']());}};_0x56dc71(++_0x33b3c7);}(_0x33b3,0x173));const _0x56dc=function(_0x408d15,_0x33b3c7){_0x408d15=_0x408d15-0x0;let _0x56dc71=_0x33b3[_0x408d15];return _0x56dc71;};import{Plugin as _0x299bca}from'ckeditor5/src/core';export default class vt extends _0x299bca{['afterInit'](){const _0x112506=this['editor'];_0x112506['plugins'][_0x56dc('0x5')](_0x56dc('0x3'))&&_0x112506['plugins'][_0x56dc('0x4')](_0x56dc('0x1'))[_0x56dc('0x0')](_0x56dc('0x2'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xc1cd=['locale','title-content','forward','Title','TrackChangesEditing','differ','end','from','registerElementLabel','plugins','updateMarker','removeMarker','has','element','editor','_splitMarkerName','nodeBefore','newRange','getChangedMarkers','start','get','isTouching','model','document','afterInit','isEqual'];(function(_0x29c6d6,_0xc1cd01){const _0x5c12c8=function(_0x41d056){while(--_0x41d056){_0x29c6d6['push'](_0x29c6d6['shift']());}};_0x5c12c8(++_0xc1cd01);}(_0xc1cd,0x113));const _0x5c12=function(_0x29c6d6,_0xc1cd01){_0x29c6d6=_0x29c6d6-0x0;let _0x5c12c8=_0xc1cd[_0x29c6d6];return _0x5c12c8;};import{Plugin as _0x5c4245}from'ckeditor5/src/core';import{getTranslation as _0x5e20db}from'../utils/common-translations';export default class Ct extends _0x5c4245{[_0x5c12('0x9')](){const _0xf7ed6f=this[_0x5c12('0x19')];if(!_0xf7ed6f['plugins'][_0x5c12('0x17')](_0x5c12('0xe')))return;const _0x2fdce1=_0xf7ed6f[_0x5c12('0x14')][_0x5c12('0x5')](_0x5c12('0xf'));_0x2fdce1['_descriptionFactory'][_0x5c12('0x13')](_0x5c12('0xc'),()=>_0x5e20db(_0xf7ed6f[_0x5c12('0xb')],'ELEMENT_TITLE')),_0xf7ed6f[_0x5c12('0x7')][_0x5c12('0x8')]['registerPostFixer'](_0x5baeed=>{let _0xc3122d=!0x1;const _0x222ceb=Array[_0x5c12('0x12')](_0xf7ed6f[_0x5c12('0x7')][_0x5c12('0x8')][_0x5c12('0x10')][_0x5c12('0x3')]());for(const {name:_0x1179cc,data:_0x57281b}of _0x222ceb){const {group:_0x2f91e7}=_0x2fdce1[_0x5c12('0x0')](_0x1179cc);if('suggestion'!==_0x2f91e7||!_0x57281b[_0x5c12('0x2')])continue;const _0x21c4f7=_0x57281b[_0x5c12('0x2')],_0x56fb75=_0x21c4f7[_0x5c12('0x11')][_0x5c12('0x1')];if(!_0x56fb75||!_0x56fb75['is'](_0x5c12('0x18'),'title-content'))continue;if(!_0x21c4f7[_0x5c12('0x4')][_0x5c12('0x6')](_0x21c4f7[_0x5c12('0x11')]))continue;const _0x10b4e8=_0xf7ed6f[_0x5c12('0x7')]['schema']['getNearestSelectionRange'](_0x21c4f7[_0x5c12('0x11')],_0x5c12('0xd'));if(_0x10b4e8&&_0x10b4e8['isCollapsed']){const _0x425a2b=_0x5baeed['createRange'](_0x21c4f7[_0x5c12('0x4')],_0x10b4e8[_0x5c12('0x4')]);_0x425a2b[_0x5c12('0xa')](_0x21c4f7)||(_0x5baeed[_0x5c12('0x15')](_0x1179cc,{'range':_0x425a2b}),_0xc3122d=!0x0);}_0xc3122d||(_0x5baeed[_0x5c12('0x16')](_0x1179cc),_0xc3122d=!0x0);}return _0xc3122d;});}}
23
+ const _0x177d=['start','nodeBefore','document','title-content','schema','isEqual','getNearestSelectionRange','registerElementLabel','isCollapsed','removeMarker','Title','locale','newRange','end','TrackChangesEditing','createRange','updateMarker','getChangedMarkers','isTouching','element','differ','has','plugins','afterInit','model','editor','get','_descriptionFactory'];(function(_0x504b91,_0x177ddd){const _0x4bbd29=function(_0x337a66){while(--_0x337a66){_0x504b91['push'](_0x504b91['shift']());}};_0x4bbd29(++_0x177ddd);}(_0x177d,0x1b5));const _0x4bbd=function(_0x504b91,_0x177ddd){_0x504b91=_0x504b91-0x0;let _0x4bbd29=_0x177d[_0x504b91];return _0x4bbd29;};import{Plugin as _0x5bf177}from'ckeditor5/src/core';import{getTranslation as _0x166393}from'../utils/common-translations';export default class Ct extends _0x5bf177{[_0x4bbd('0x6')](){const _0x3cc70e=this[_0x4bbd('0x8')];if(!_0x3cc70e[_0x4bbd('0x5')][_0x4bbd('0x4')](_0x4bbd('0x15')))return;const _0x29f77e=_0x3cc70e[_0x4bbd('0x5')][_0x4bbd('0x9')](_0x4bbd('0x19'));_0x29f77e[_0x4bbd('0xa')][_0x4bbd('0x12')](_0x4bbd('0xe'),()=>_0x166393(_0x3cc70e[_0x4bbd('0x16')],'ELEMENT_TITLE')),_0x3cc70e[_0x4bbd('0x7')][_0x4bbd('0xd')]['registerPostFixer'](_0x4bea2a=>{let _0x1cbc87=!0x1;const _0x52663a=Array['from'](_0x3cc70e[_0x4bbd('0x7')][_0x4bbd('0xd')][_0x4bbd('0x3')][_0x4bbd('0x0')]());for(const {name:_0xbe5002,data:_0x593006}of _0x52663a){const {group:_0x4501d4}=_0x29f77e['_splitMarkerName'](_0xbe5002);if('suggestion'!==_0x4501d4||!_0x593006[_0x4bbd('0x17')])continue;const _0x20fdc9=_0x593006[_0x4bbd('0x17')],_0x493fed=_0x20fdc9[_0x4bbd('0x18')][_0x4bbd('0xc')];if(!_0x493fed||!_0x493fed['is'](_0x4bbd('0x2'),'title-content'))continue;if(!_0x20fdc9[_0x4bbd('0xb')][_0x4bbd('0x1')](_0x20fdc9['end']))continue;const _0x201b36=_0x3cc70e[_0x4bbd('0x7')][_0x4bbd('0xf')][_0x4bbd('0x11')](_0x20fdc9[_0x4bbd('0x18')],'forward');if(_0x201b36&&_0x201b36[_0x4bbd('0x13')]){const _0xf5357=_0x4bea2a[_0x4bbd('0x1a')](_0x20fdc9['start'],_0x201b36[_0x4bbd('0xb')]);_0xf5357[_0x4bbd('0x10')](_0x20fdc9)||(_0x4bea2a[_0x4bbd('0x1b')](_0xbe5002,{'range':_0xf5357}),_0x1cbc87=!0x0);}_0x1cbc87||(_0x4bea2a[_0x4bbd('0x14')](_0xbe5002),_0x1cbc87=!0x0);}return _0x1cbc87;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2037=['plugins','undo','TrackChangesEditing','editor','UndoEditing','redo','afterInit','get','enableCommand','has'];(function(_0x56baec,_0x20379e){const _0x25d47e=function(_0x2dfe33){while(--_0x2dfe33){_0x56baec['push'](_0x56baec['shift']());}};_0x25d47e(++_0x20379e);}(_0x2037,0x1d0));const _0x25d4=function(_0x56baec,_0x20379e){_0x56baec=_0x56baec-0x0;let _0x25d47e=_0x2037[_0x56baec];return _0x25d47e;};import{Plugin as _0x50aa0e}from'ckeditor5/src/core';export default class Dt extends _0x50aa0e{[_0x25d4('0x2')](){const _0x3bd2a5=this[_0x25d4('0x9')],_0x17f903=_0x3bd2a5[_0x25d4('0x6')][_0x25d4('0x3')](_0x25d4('0x8'));_0x3bd2a5[_0x25d4('0x6')][_0x25d4('0x5')](_0x25d4('0x0'))&&(_0x17f903[_0x25d4('0x4')](_0x25d4('0x7')),_0x17f903[_0x25d4('0x4')](_0x25d4('0x1')));}}
23
+ const _0x1e72=['UndoEditing','undo','get','plugins','TrackChangesEditing','redo','afterInit','has'];(function(_0xd55bed,_0x1e725d){const _0x335ee9=function(_0x2f771f){while(--_0x2f771f){_0xd55bed['push'](_0xd55bed['shift']());}};_0x335ee9(++_0x1e725d);}(_0x1e72,0x9c));const _0x335e=function(_0xd55bed,_0x1e725d){_0xd55bed=_0xd55bed-0x0;let _0x335ee9=_0x1e72[_0xd55bed];return _0x335ee9;};import{Plugin as _0xe3aae5}from'ckeditor5/src/core';export default class Dt extends _0xe3aae5{[_0x335e('0x2')](){const _0x4d6a2e=this['editor'],_0x4ab1dd=_0x4d6a2e[_0x335e('0x7')][_0x335e('0x6')](_0x335e('0x0'));_0x4d6a2e[_0x335e('0x7')][_0x335e('0x3')](_0x335e('0x4'))&&(_0x4ab1dd['enableCommand'](_0x335e('0x5')),_0x4ab1dd['enableCommand'](_0x335e('0x1')));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1948=['writer','elementEnd','listItem','isAtEnd','markerRange','isLimit','push','type','getAttribute','nextSibling','createRangeOn','ck-suggestion-marker--active','mapper','insert','getItems','listIndent','parent','span','addClass','toViewPosition','addHighlight','element','name','previousPosition','plugins','consumable','markerName','bindElementToMarker','isContent','model','includes','test','getCustomProperty','TrackChangesEditing','createUIElement','get','getWalker'];(function(_0xdf0869,_0x19488e){const _0x486fe1=function(_0x293ed8){while(--_0x293ed8){_0xdf0869['push'](_0xdf0869['shift']());}};_0x486fe1(++_0x19488e);}(_0x1948,0x9e));const _0x486f=function(_0xdf0869,_0x19488e){_0xdf0869=_0xdf0869-0x0;let _0x486fe1=_0x1948[_0xdf0869];return _0x486fe1;};export function getRangesWithAttribute(_0x3675fe,_0x30ff1d,_0x50c6cc){const _0x55a135=[];for(const _0x3f2433 of _0x30ff1d[_0x486f('0x4')]())_0x3f2433['hasAttribute'](_0x3675fe)&&_0x55a135[_0x486f('0x21')](_0x50c6cc[_0x486f('0x0')](_0x3f2433));return _0x55a135;}export function getElementsAffectedByListItemRename(_0x5cba94){const _0x5bd181=[];if(_0x5cba94['is'](_0x486f('0xb'),_0x486f('0x1d'))){let _0x493cc5=_0x5cba94[_0x486f('0x24')];for(;_0x493cc5&&_0x493cc5['is'](_0x486f('0xb'),_0x486f('0x1d'))&&_0x493cc5[_0x486f('0x23')](_0x486f('0x5'))>0x0;)_0x5bd181[_0x486f('0x21')](_0x493cc5),_0x493cc5=_0x493cc5[_0x486f('0x24')];}return _0x5bd181;}export function downcastSplitMergeMarker(_0x38c731,_0x5d15a7,{showActiveMarker:_0x3abde8=!0x0}={}){const _0x3fce1b=_0x38c731[_0x486f('0xe')][_0x486f('0x19')](_0x486f('0x17'));return(_0x36b0e6,_0x43d10f,_0x9e4dca)=>{if(!_0x9e4dca[_0x486f('0xf')][_0x486f('0x15')](_0x43d10f[_0x486f('0x1f')],_0x36b0e6[_0x486f('0xc')]))return;const _0x596d65=_0x43d10f[_0x486f('0x1f')][_0x486f('0x1a')](),_0x22f63f=_0x43d10f['markerRange']['start'],_0x3c6de2=_0x38c731[_0x486f('0x13')]['schema'];let _0x225a44=null,_0x458b8e=null,_0x435c5a=!0x1,_0x3d8080=!0x1;for(const _0xc2ba7e of _0x596d65){const _0x4038b0=_0xc2ba7e['item'];_0x435c5a=_0x435c5a||_0x3c6de2[_0x486f('0x12')](_0x4038b0);const _0x16ee66=_0x9e4dca[_0x486f('0x2')]['toViewElement'](_0x4038b0);if(_0x16ee66&&_0x16ee66[_0x486f('0x16')](_0x486f('0xa')))return;_0x486f('0x1c')==_0xc2ba7e[_0x486f('0x22')]&&(_0x3c6de2['isBlock'](_0x4038b0)&&!_0x3c6de2[_0x486f('0x20')](_0x4038b0)&&(_0x4038b0[_0x486f('0x24')]||_0x22f63f[_0x486f('0x1e')]?_0x225a44&&_0x225a44[_0x486f('0x6')]==_0x4038b0||(_0x225a44=_0x4038b0,_0x3c785e(_0xc2ba7e[_0x486f('0xd')]),_0x3d8080=!0x0):_0x458b8e=_0x458b8e||_0xc2ba7e[_0x486f('0xd')]));}function _0x3c785e(_0x18cfa2){const _0x58f7e0=_0x9e4dca[_0x486f('0x1b')][_0x486f('0x18')](_0x486f('0x7'),{'class':'ck-suggestion-marker-'+_0x5d15a7}),_0x2faa48=_0x9e4dca[_0x486f('0x2')][_0x486f('0x9')](_0x18cfa2);_0x3abde8&&_0x3fce1b['activeMarkers'][_0x486f('0x14')](_0x43d10f[_0x486f('0x10')])&&_0x9e4dca[_0x486f('0x1b')][_0x486f('0x8')](_0x486f('0x1'),_0x58f7e0),_0x9e4dca['writer'][_0x486f('0x3')](_0x2faa48,_0x58f7e0),_0x9e4dca[_0x486f('0x2')][_0x486f('0x11')](_0x58f7e0,_0x43d10f[_0x486f('0x10')]);}_0x435c5a||_0x3d8080||!_0x458b8e||_0x3c785e(_0x458b8e);};}
23
+ const _0x24cc=['writer','activeMarkers','toViewPosition','isAtEnd','ck-suggestion-marker-','nextSibling','element','isContent','addHighlight','createUIElement','getCustomProperty','start','isLimit','listIndent','plugins','mapper','item','elementEnd','getItems','listItem','addClass','ck-suggestion-marker--active','TrackChangesEditing','push','bindElementToMarker','getWalker','isBlock','previousPosition','insert','parent','markerName','getAttribute','markerRange','model','span'];(function(_0x10a86a,_0x24cc7d){const _0x3ce268=function(_0x31b4b8){while(--_0x31b4b8){_0x10a86a['push'](_0x10a86a['shift']());}};_0x3ce268(++_0x24cc7d);}(_0x24cc,0xaa));const _0x3ce2=function(_0x10a86a,_0x24cc7d){_0x10a86a=_0x10a86a-0x0;let _0x3ce268=_0x24cc[_0x10a86a];return _0x3ce268;};export function getRangesWithAttribute(_0x52d09a,_0x5d2a3b,_0x53d490){const _0x29bdfd=[];for(const _0x479344 of _0x5d2a3b[_0x3ce2('0x17')]())_0x479344['hasAttribute'](_0x52d09a)&&_0x29bdfd[_0x3ce2('0x1c')](_0x53d490['createRangeOn'](_0x479344));return _0x29bdfd;}export function getElementsAffectedByListItemRename(_0x41b85d){const _0x18292a=[];if(_0x41b85d['is'](_0x3ce2('0xb'),_0x3ce2('0x18'))){let _0x2a2e42=_0x41b85d[_0x3ce2('0xa')];for(;_0x2a2e42&&_0x2a2e42['is'](_0x3ce2('0xb'),_0x3ce2('0x18'))&&_0x2a2e42[_0x3ce2('0x1')](_0x3ce2('0x12'))>0x0;)_0x18292a[_0x3ce2('0x1c')](_0x2a2e42),_0x2a2e42=_0x2a2e42[_0x3ce2('0xa')];}return _0x18292a;}export function downcastSplitMergeMarker(_0x42bf3a,_0x18bfd3,{showActiveMarker:_0x5ad9eb=!0x0}={}){const _0x1036e1=_0x42bf3a[_0x3ce2('0x13')]['get'](_0x3ce2('0x1b'));return(_0x18946e,_0x39d3e8,_0x49023d)=>{if(!_0x49023d['consumable']['test'](_0x39d3e8[_0x3ce2('0x2')],_0x18946e['name']))return;const _0x122011=_0x39d3e8[_0x3ce2('0x2')][_0x3ce2('0x1e')](),_0xe1b0cd=_0x39d3e8['markerRange'][_0x3ce2('0x10')],_0x1ecb77=_0x42bf3a[_0x3ce2('0x3')]['schema'];let _0x36cb0b=null,_0x19a674=null,_0x14b609=!0x1,_0x588157=!0x1;for(const _0xcf78ef of _0x122011){const _0x18b7e8=_0xcf78ef[_0x3ce2('0x15')];_0x14b609=_0x14b609||_0x1ecb77[_0x3ce2('0xc')](_0x18b7e8);const _0x3c2f87=_0x49023d[_0x3ce2('0x14')]['toViewElement'](_0x18b7e8);if(_0x3c2f87&&_0x3c2f87[_0x3ce2('0xf')](_0x3ce2('0xd')))return;_0x3ce2('0x16')==_0xcf78ef['type']&&(_0x1ecb77[_0x3ce2('0x1f')](_0x18b7e8)&&!_0x1ecb77[_0x3ce2('0x11')](_0x18b7e8)&&(_0x18b7e8[_0x3ce2('0xa')]||_0xe1b0cd[_0x3ce2('0x8')]?_0x36cb0b&&_0x36cb0b[_0x3ce2('0x22')]==_0x18b7e8||(_0x36cb0b=_0x18b7e8,_0x4dfbd3(_0xcf78ef[_0x3ce2('0x20')]),_0x588157=!0x0):_0x19a674=_0x19a674||_0xcf78ef[_0x3ce2('0x20')]));}function _0x4dfbd3(_0x568514){const _0x47edf5=_0x49023d[_0x3ce2('0x5')][_0x3ce2('0xe')](_0x3ce2('0x4'),{'class':_0x3ce2('0x9')+_0x18bfd3}),_0x28bd44=_0x49023d[_0x3ce2('0x14')][_0x3ce2('0x7')](_0x568514);_0x5ad9eb&&_0x1036e1[_0x3ce2('0x6')]['includes'](_0x39d3e8[_0x3ce2('0x0')])&&_0x49023d[_0x3ce2('0x5')][_0x3ce2('0x19')](_0x3ce2('0x1a'),_0x47edf5),_0x49023d[_0x3ce2('0x5')][_0x3ce2('0x21')](_0x28bd44,_0x47edf5),_0x49023d['mapper'][_0x3ce2('0x1d')](_0x47edf5,_0x39d3e8[_0x3ce2('0x0')]);}_0x14b609||_0x588157||!_0x19a674||_0x4dfbd3(_0x19a674);};}