@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20231105.0 → 0.0.0-nightly-20231107.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (65) hide show
  1. package/build/track-changes.js +1 -1
  2. package/package.json +3 -3
  3. package/src/commands/acceptsuggestioncommand.js +1 -1
  4. package/src/commands/discardsuggestioncommand.js +1 -1
  5. package/src/commands/executeonallsuggestionscommand.js +1 -1
  6. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  7. package/src/commands/trackchangescommand.js +1 -1
  8. package/src/integrations/aiassistant.js +1 -1
  9. package/src/integrations/alignment.js +1 -1
  10. package/src/integrations/basicstyles.js +1 -1
  11. package/src/integrations/blockquote.js +1 -1
  12. package/src/integrations/ckbox.js +1 -1
  13. package/src/integrations/codeblock.js +1 -1
  14. package/src/integrations/comments.js +1 -1
  15. package/src/integrations/deletecommand.js +1 -1
  16. package/src/integrations/documentlist.js +1 -1
  17. package/src/integrations/documentlistproperties.js +1 -1
  18. package/src/integrations/entercommand.js +1 -1
  19. package/src/integrations/findandreplace.js +1 -1
  20. package/src/integrations/font.js +1 -1
  21. package/src/integrations/formatpainter.js +1 -1
  22. package/src/integrations/heading.js +1 -1
  23. package/src/integrations/highlight.js +1 -1
  24. package/src/integrations/horizontalline.js +1 -1
  25. package/src/integrations/htmlembed.js +1 -1
  26. package/src/integrations/image.js +1 -1
  27. package/src/integrations/imagereplace.js +1 -1
  28. package/src/integrations/importword.js +1 -1
  29. package/src/integrations/indent.js +1 -1
  30. package/src/integrations/inputcommand.js +1 -1
  31. package/src/integrations/link.js +1 -1
  32. package/src/integrations/list.js +1 -1
  33. package/src/integrations/listproperties.js +1 -1
  34. package/src/integrations/mediaembed.js +1 -1
  35. package/src/integrations/mention.js +1 -1
  36. package/src/integrations/pagebreak.js +1 -1
  37. package/src/integrations/paragraph.js +1 -1
  38. package/src/integrations/removeformat.js +1 -1
  39. package/src/integrations/restrictededitingmode.js +1 -1
  40. package/src/integrations/shiftentercommand.js +1 -1
  41. package/src/integrations/standardeditingmode.js +1 -1
  42. package/src/integrations/style.js +1 -1
  43. package/src/integrations/table.js +1 -1
  44. package/src/integrations/tablecaption.js +1 -1
  45. package/src/integrations/tableclipboard.js +1 -1
  46. package/src/integrations/tablecolumnresize.js +1 -1
  47. package/src/integrations/tableheadings.js +1 -1
  48. package/src/integrations/tablemergesplit.js +1 -1
  49. package/src/integrations/tableofcontents.js +1 -1
  50. package/src/integrations/tableproperties.js +1 -1
  51. package/src/integrations/template.js +1 -1
  52. package/src/integrations/title.js +1 -1
  53. package/src/integrations/undo.js +1 -1
  54. package/src/integrations/utils.js +1 -1
  55. package/src/suggestion.js +1 -1
  56. package/src/suggestiondescriptionfactory.js +1 -1
  57. package/src/trackchanges.js +1 -1
  58. package/src/trackchangesdata.js +1 -1
  59. package/src/trackchangesediting.js +1 -1
  60. package/src/trackchangesui.js +1 -1
  61. package/src/ui/suggestioncontroller.js +1 -1
  62. package/src/ui/view/basesuggestionthreadview.js +1 -1
  63. package/src/ui/view/suggestionthreadview.js +1 -1
  64. package/src/utils/common-translations.js +1 -1
  65. package/src/utils/utils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x104f=['markerName','fromEntries','_tablePostFixingSubtypes','registerPostFixer','markMultiRangeBlockFormat','createPositionBefore','model','columnInsertionRanges','createRangeOn','suggestion-td','getColumns','editor','from','suggestionLoaded','paragraph','clipboardOutput','find','author','hasSuggestion','editingDowncast','Users','subType','TableClipboard','elementToElement','ck-suggestion-marker-insertion','next','endColumn','removeMarkers','afterInit','nextSibling','tablePasteColumn','markers','getRowIndexes','createRangeIn','activeMarkers','_isForcedDefaultExecutionBlock','isEqual','first','join','findAncestor','suggestion:formatBlock:tablePasteCell','getChangedMarkers','entries','isEmpty','schema','insert','get','createTableWalker','getMarkers','rowInsertionIndexes','tableCell','tableCellBorderStyle','getSuggestions','listenTo','oldRange','_getCoordsForCells','name','markerAttributes','tableCellBorderWidth','set','insertContent','options','discard','markMultiRangeInsertion','insertColumns','document','getContainedElement','$graveyard','locale','tableCellSuggestion','getRange','updateMarker','batch','TrackChangesEditing','nodeAfter','createElement','ck-suggestion-marker','cells','tableCellHorizontalAlignment','fill','plugins','accept','commands','low','setAttributes','_suggestionFactory','markerToHighlight','has','insertion','column','content','some','_splitMarkerName','tableCellPadding','_replaceTableSlotCell','for','high','includes','_descriptionFactory','tablePasteChainId','cell','element','getSuggestion','previous','differ','isInContent','removeMarker','view','deletion','formatBlock','getChildren','dataDowncast','getTableIfOnlyTableInContent','newRange','start','*Replace\x20table\x20cells*','getAllAdjacentSuggestions','attributes','startsWith','requires','add','getColumnIndexes','tablePaste','table','_createdBatches','editing','register','endRow','tablePasteRow','getItems','ck-suggestion-marker--active','removeColumns','getRanges','stop','wrap','documentSelection','type','registerCustomCallback','position','map','markMultiRangeDeletion','suggestion','showSuggestionHighlights','every','getAttributes','conversion','tablePasteCell','columnInsertionIndexes','length','filter','containsRange','getSuggestionCallback','change','rowInsertionRanges','registerDescriptionCallback','columns','push','rows','getSelectionAffectedTableCells','removeRows','end','remove','getChanges','getChild','row'];(function(_0x3998fa,_0x104f35){const _0xd8b61e=function(_0x132284){while(--_0x132284){_0x3998fa['push'](_0x3998fa['shift']());}};_0xd8b61e(++_0x104f35);}(_0x104f,0x156));const _0xd8b6=function(_0x3998fa,_0x104f35){_0x3998fa=_0x3998fa-0x0;let _0xd8b61e=_0x104f[_0x3998fa];return _0xd8b61e;};import{getTranslation as _0x37fa70}from'../utils/common-translations';import{Plugin as _0x5d380b}from'ckeditor5/src/core';import{uid as _0x233263,priorities as _0x4d2f04}from'ckeditor5/src/utils';import _0x3b16f1 from'./table';const le=[_0xd8b6('0x2e'),'tableCellBorderColor',_0xd8b6('0x27'),_0xd8b6('0x42'),'tableCellVerticalAlignment','tableCellBackgroundColor',_0xd8b6('0x51')],ae=Object[_0xd8b6('0x9a')](le[_0xd8b6('0x7f')](_0x31f68a=>[_0x31f68a,null]));export default class wt extends _0x5d380b{static get[_0xd8b6('0x6b')](){return[_0x3b16f1];}[_0xd8b6('0x10')](){const _0x20e6cd=this[_0xd8b6('0xa4')];if(!_0x20e6cd[_0xd8b6('0x44')][_0xd8b6('0x4b')](_0xd8b6('0xa')))return;const _0x37adb5=_0x20e6cd[_0xd8b6('0x44')]['get'](_0xd8b6('0x3d')),_0x1d3604=_0x20e6cd[_0xd8b6('0x44')][_0xd8b6('0x22')]('TableUtils'),_0x56449c=_0x20e6cd['plugins'][_0xd8b6('0x22')](_0x3b16f1),_0x2ea4e2=_0x20e6cd[_0xd8b6('0x44')][_0xd8b6('0x22')]('TableClipboard');_0x56449c[_0xd8b6('0x9b')][_0xd8b6('0x90')](_0xd8b6('0x74'),_0xd8b6('0x12')),_0x20e6cd[_0xd8b6('0x9f')][_0xd8b6('0x20')][_0xd8b6('0x72')](_0xd8b6('0x39'),{'allowIn':_0xd8b6('0x26'),'allowContentOf':_0xd8b6('0x26'),'isLimit':!0x0}),_0x20e6cd['conversion'][_0xd8b6('0xb')]({'model':_0xd8b6('0x39'),'view':_0xd8b6('0xa2')});let _0x796147=null;_0x20e6cd['model']['on']('insertContent',(_0x1c0adc,_0x15f2c7)=>{const [_0x5bf600,_0x48e18e]=_0x15f2c7,_0x3b7cb8=_0x15f2c7[_0x15f2c7['length']-0x1];_0x3b7cb8&&_0x3b7cb8['forceDefaultExecution']||_0x37adb5[_0xd8b6('0x17')]||this[_0xd8b6('0xa4')][_0xd8b6('0x46')][_0xd8b6('0x22')]('trackChanges')['value']&&function(_0x1e7bc3,_0x16fe41,_0x2cc1ec,_0x39cc18,_0x2c797c){if(_0x16fe41&&!_0x16fe41['is'](_0xd8b6('0x7b')))return!0x1;const _0xc4717e=_0x2c797c[_0xd8b6('0x64')](_0x1e7bc3,_0x2cc1ec);if(!_0xc4717e||!fe(_0xc4717e,void 0x0,_0x39cc18))return!0x1;const _0x59f16f=_0x39cc18[_0xd8b6('0x92')](_0x2cc1ec['document']['selection']);if(!_0x59f16f['length'])return!0x1;const _0xded24=_0x59f16f[0x0]['findAncestor'](_0xd8b6('0x6f')),_0x4919d8=_0x39cc18[_0xd8b6('0x14')](_0x59f16f),_0x2f2433=_0x39cc18[_0xd8b6('0x6d')](_0x59f16f),_0x7c4afc={'startRow':_0x4919d8[_0xd8b6('0x19')],'endRow':_0x4919d8['last'],'startColumn':_0x2f2433[_0xd8b6('0x19')],'endColumn':_0x2f2433['last']};return 0x1==_0x59f16f[_0xd8b6('0x88')]&&(_0x7c4afc[_0xd8b6('0x73')]+=_0x39cc18['getRows'](_0xc4717e)-0x1,_0x7c4afc[_0xd8b6('0xe')]+=_0x39cc18[_0xd8b6('0xa3')](_0xc4717e)-0x1),fe(_0xded24,_0x7c4afc,_0x39cc18);}(_0x5bf600,_0x48e18e,_0x20e6cd[_0xd8b6('0x9f')],_0x1d3604,_0x2ea4e2)&&(_0x1c0adc['stop'](),_0x796147={'cells':[],'insertionRanges':[],'deletionRanges':[],'rowInsertionRanges':[],'rowInsertionIndexes':[],'columnInsertionRanges':[],'columnInsertionIndexes':[]},_0x20e6cd[_0xd8b6('0x9f')][_0xd8b6('0x8c')](()=>{_0x20e6cd['model'][_0xd8b6('0x30')](_0x15f2c7[0x0],_0x15f2c7[0x1],_0x15f2c7[0x2],{'forceDefaultExecution':!0x0});const _0x143df6=_0x233263(),{rowInsertionRanges:_0x488620,columnInsertionRanges:_0x3d0b4d,insertionRanges:_0x2cb345,deletionRanges:_0x1f02ab,cells:_0xf9951e}=_0x796147;_0x488620[_0xd8b6('0x88')]&&_0x37adb5[_0xd8b6('0x33')](_0x488620,_0xd8b6('0x74'),{'tablePasteChainId':_0x143df6}),_0x3d0b4d[_0xd8b6('0x88')]&&_0x37adb5[_0xd8b6('0x33')](_0x3d0b4d,_0xd8b6('0x12'),{'tablePasteChainId':_0x143df6}),_0x2cb345[_0xd8b6('0x88')]&&_0x37adb5['markMultiRangeInsertion'](_0x2cb345,'tablePaste',{'tablePasteChainId':_0x143df6,'skipNestingCheck':!0x0}),_0x1f02ab[_0xd8b6('0x88')]&&_0x37adb5[_0xd8b6('0x80')](_0x1f02ab,_0xd8b6('0x6e'),{'tablePasteChainId':_0x143df6,'skipNestingCheck':!0x0});const _0x19c3d7=_0x37adb5[_0xd8b6('0x9d')](_0xf9951e[_0xd8b6('0x7f')](({element:_0x1660cd})=>_0x1660cd),{'formatGroupId':_0x233263()},[],_0xd8b6('0x86'),{'tablePasteChainId':_0x143df6});if(_0x19c3d7){const _0xf373b0=_0x19c3d7[_0xd8b6('0x24')](),_0xee7aec=[];for(const {element:_0x57e5f4,attributes:_0xf9f8a8}of _0xf9951e){if(!_0xf9f8a8)continue;const _0x4ce9de=_0x20e6cd[_0xd8b6('0x9f')]['createRangeOn'](_0x57e5f4),_0x1b547e=_0xf373b0[_0xd8b6('0x4')](_0x282b25=>_0x282b25[_0xd8b6('0x3a')]()[_0xd8b6('0x18')](_0x4ce9de));_0x1b547e&&_0xee7aec['push']([_0x1b547e[_0xd8b6('0x2c')],_0xf9f8a8]);}_0xee7aec[_0xd8b6('0x88')]&&_0x19c3d7['setAttribute'](_0xd8b6('0x2d'),Object[_0xd8b6('0x9a')](_0xee7aec));}_0x796147=null;}));},{'priority':_0x4d2f04[_0xd8b6('0x54')]+0xa}),_0x20e6cd[_0xd8b6('0x44')]['get'](_0xd8b6('0xa'))['on'](_0xd8b6('0x52'),(_0x492dec,_0x544d2a)=>{const [_0x4f4ca6,_0x50ca33,,_0x35ce63]=_0x544d2a;if(!_0x796147)return;_0x492dec[_0xd8b6('0x79')]();const _0x550c45=_0x4f4ca6[_0xd8b6('0x58')],_0x1aaf09=_0x50ca33,_0x53ef02=ce(_0x550c45),_0x3e7183=ce(_0x1aaf09);_0x492dec['return']=_0x550c45;let _0x33aa9a=null,_0x871f94=null;if(_0x3e7183||_0x53ef02){if(_0x53ef02&&!_0x3e7183){_0x35ce63[_0xd8b6('0x95')](_0x550c45[_0xd8b6('0x97')](0x0));for(const _0xedc5bc of Array[_0xd8b6('0x0')](_0x1aaf09[_0xd8b6('0x62')]()))_0x35ce63[_0xd8b6('0x21')](_0xedc5bc,_0x550c45,'end');const _0x1eea6c=_0x796147[_0xd8b6('0x25')][_0xd8b6('0x55')](_0x4f4ca6[_0xd8b6('0x98')]),_0x5f0334=_0x796147[_0xd8b6('0x87')]['includes'](_0x4f4ca6[_0xd8b6('0x4d')]);_0x1eea6c||_0x5f0334||(_0x33aa9a=_0x35ce63['createRangeIn'](_0x550c45));}else _0x3e7183&&!_0x53ef02&&(_0x871f94=_0x35ce63['createRangeIn'](_0x550c45));}else{const _0x37fa49=_0x35ce63[_0xd8b6('0x3f')](_0xd8b6('0x39')),_0x2e3354=_0x35ce63[_0xd8b6('0x3f')](_0xd8b6('0x39'));_0x35ce63[_0xd8b6('0x7a')](_0x35ce63['createRangeIn'](_0x550c45),_0x2e3354),_0x35ce63[_0xd8b6('0x21')](_0x37fa49,_0x550c45,0x0);for(const _0x403672 of Array[_0xd8b6('0x0')](_0x1aaf09[_0xd8b6('0x62')]()))_0x35ce63['insert'](_0x403672,_0x37fa49,_0xd8b6('0x94'));_0x33aa9a=_0x35ce63[_0xd8b6('0xa1')](_0x37fa49),_0x871f94=_0x35ce63[_0xd8b6('0xa1')](_0x2e3354);}const _0x3757b5=Array[_0xd8b6('0x0')](_0x1aaf09[_0xd8b6('0x84')]())[_0xd8b6('0x89')](([_0x1c6bef])=>le['includes'](_0x1c6bef));_0x796147[_0xd8b6('0x41')][_0xd8b6('0x90')]({'element':_0x550c45,'attributes':_0x3757b5['length']?Object[_0xd8b6('0x9a')](_0x3757b5):null}),_0x33aa9a&&_0x796147['insertionRanges'][_0xd8b6('0x90')](_0x33aa9a),_0x871f94&&_0x796147['deletionRanges']['push'](_0x871f94);},{'priority':_0xd8b6('0x54')}),_0x1d3604['on'](_0xd8b6('0x34'),(_0x3938da,_0x14f00a)=>{const [_0x1bf90e,_0x5ee743={}]=_0x14f00a;if(!_0x796147)return;const _0x11c780=_0x5ee743['at']||0x0,_0x41e454=_0x5ee743[_0xd8b6('0x8f')]||0x1;_0x796147['columnInsertionIndexes']=new Array(_0x41e454)['fill'](_0x11c780)['map']((_0x611eb3,_0x396a7e)=>_0x611eb3+_0x396a7e);for(const {cell:_0x253195}of _0x1d3604[_0xd8b6('0x23')](_0x1bf90e,{'startColumn':_0x11c780,'endColumn':_0x11c780+_0x41e454-0x1}))_0x796147[_0xd8b6('0xa0')][_0xd8b6('0x90')](_0x20e6cd['model'][_0xd8b6('0xa1')](_0x253195));},{'priority':'low'}),_0x1d3604['on']('insertRows',(_0x52785f,_0x38f222)=>{const [_0x274969,_0x5829ef={}]=_0x38f222;if(!_0x796147)return;const _0x46e3e9=_0x5829ef['at']||0x0,_0x54d15c=_0x5829ef[_0xd8b6('0x91')]||0x1;_0x796147['rowInsertionIndexes']=new Array(_0x54d15c)[_0xd8b6('0x43')](_0x46e3e9)['map']((_0x370734,_0x3a766b)=>_0x370734+_0x3a766b);for(const {cell:_0x1a9d9d}of _0x1d3604['createTableWalker'](_0x274969,{'startRow':_0x46e3e9,'endRow':_0x46e3e9+_0x54d15c-0x1}))_0x796147[_0xd8b6('0x8d')]['push'](_0x20e6cd[_0xd8b6('0x9f')][_0xd8b6('0xa1')](_0x1a9d9d));},{'priority':_0xd8b6('0x47')}),_0x37adb5[_0xd8b6('0x56')][_0xd8b6('0x8e')](_0x490cd2=>{if(_0x490cd2[_0xd8b6('0x9')]&&_0x490cd2[_0xd8b6('0x9')]['startsWith']('tablePaste'))return _0x490cd2[_0xd8b6('0x5b')]?{}:{'type':'insertion','content':_0x37fa70(_0x20e6cd[_0xd8b6('0x38')],_0xd8b6('0x67'))};});const _0x1721df=()=>!0x1;for(const _0x591c8f of[_0xd8b6('0x6e'),_0xd8b6('0x12'),_0xd8b6('0x74'),'tablePasteCell'])_0x37adb5['_suggestionFactory']['registerCustomCallback'](_0xd8b6('0x4c'),_0x591c8f,_0xd8b6('0x1a'),_0x1721df),_0x37adb5[_0xd8b6('0x49')][_0xd8b6('0x7d')]('deletion',_0x591c8f,_0xd8b6('0x1a'),_0x1721df),_0x37adb5[_0xd8b6('0x49')]['registerCustomCallback'](_0xd8b6('0x61'),_0x591c8f,_0xd8b6('0x1a'),_0x1721df);_0x37adb5[_0xd8b6('0x49')][_0xd8b6('0x7d')]('formatBlock',_0xd8b6('0x86'),_0xd8b6('0x32'),_0x1721df),_0x37adb5['_suggestionFactory']['registerCustomCallback'](_0xd8b6('0x61'),_0xd8b6('0x86'),_0xd8b6('0x45'),(_0xc632e,_0xd1cde1,_0x32758b)=>{const _0x3fca06=_0xc632e['map'](_0x3b95ee=>_0x3b95ee[_0xd8b6('0x36')]())[_0xd8b6('0x89')](_0x1dd6f1=>_0x1dd6f1),_0x475341=new Map(_0x3fca06['map'](_0x4fadd2=>[_0x4fadd2,null]));if(_0x796147)for(const {element:_0x10cf67,attributes:_0x5ae627}of _0x796147['cells'])_0x5ae627&&_0x475341['set'](_0x10cf67,_0x5ae627);else{if(_0x32758b&&_0x32758b[_0xd8b6('0x2d')])for(const [_0x5b2cf4,_0x1511f1]of Object[_0xd8b6('0x1e')](_0x32758b['markerAttributes'])){const _0x32a893=_0x20e6cd[_0xd8b6('0x9f')][_0xd8b6('0x13')]['get'](_0x5b2cf4),_0x4c9ff5=_0x32a893?_0x32a893[_0xd8b6('0x3a')]()[_0xd8b6('0x36')]():null;_0x4c9ff5&&_0x475341[_0xd8b6('0x2f')](_0x4c9ff5,_0x1511f1);}}_0x20e6cd[_0xd8b6('0x9f')][_0xd8b6('0x8c')](_0x3231c1=>{for(const [_0x49fe87,_0x43f070]of _0x475341)_0x3231c1[_0xd8b6('0x48')]({...ae,..._0x43f070},_0x49fe87);});});const _0x56d260=(_0x3660b4,_0x404b49)=>{_0x37adb5[_0xd8b6('0x49')][_0xd8b6('0x7d')](_0x3660b4,'tablePaste',_0x404b49,(_0x2e7e01,_0xb225ea,_0x400ae2)=>{_0x20e6cd[_0xd8b6('0x9f')][_0xd8b6('0x8c')](_0x28f7f1=>{const _0x5bfc56=[];for(const _0x3896a9 of _0x2e7e01){const _0x17e835=_0x3896a9[_0xd8b6('0x66')][_0xd8b6('0x3e')];_0x17e835['is'](_0xd8b6('0x59'),_0xd8b6('0x39'))&&_0x5bfc56[_0xd8b6('0x90')](_0x17e835);}_0x37adb5[_0xd8b6('0x49')][_0xd8b6('0x8b')](_0x3660b4,null,_0x404b49)(_0x2e7e01,_0xb225ea,_0x400ae2);for(const _0x4db946 of _0x5bfc56)_0xd8b6('0x37')!=_0x4db946['root']['rootName']&&_0x28f7f1['unwrap'](_0x4db946);});});};_0x56d260(_0xd8b6('0x4c'),_0xd8b6('0x45')),_0x56d260(_0xd8b6('0x4c'),'discard'),_0x56d260(_0xd8b6('0x60'),_0xd8b6('0x45')),_0x56d260('deletion',_0xd8b6('0x32')),_0x37adb5[_0xd8b6('0x49')][_0xd8b6('0x7d')](_0xd8b6('0x4c'),_0xd8b6('0x74'),_0xd8b6('0x32'),_0x1756c5=>{const _0x573f9d=_0x1756c5[_0xd8b6('0x7f')](_0x18f75d=>_0x18f75d['getContainedElement']()),_0x4e1608=_0x573f9d[0x0][_0xd8b6('0x1b')](_0xd8b6('0x6f')),{minRow:_0x28e74e,maxRow:_0x124cb4}=_0x56449c[_0xd8b6('0x2b')](_0x573f9d);_0x1d3604[_0xd8b6('0x93')](_0x4e1608,{'at':_0x28e74e,'rows':_0x124cb4-_0x28e74e+0x1});}),_0x37adb5[_0xd8b6('0x49')][_0xd8b6('0x7d')]('insertion',_0xd8b6('0x12'),_0xd8b6('0x32'),_0x115444=>{const _0x13161c=_0x115444[_0xd8b6('0x7f')](_0x1d087d=>_0x1d087d['getContainedElement']()),_0x271cb5=_0x13161c[0x0][_0xd8b6('0x1b')](_0xd8b6('0x6f')),{minColumn:_0x19f922,maxColumn:_0x165d1c}=_0x56449c['_getCoordsForCells'](_0x13161c);_0x1d3604[_0xd8b6('0x77')](_0x271cb5,{'at':_0x19f922,'columns':_0x165d1c-_0x19f922+0x1});});const _0x1f93bc=(_0x38ac4b,_0x4afb54)=>{if(!_0x4afb54[_0xd8b6('0x9')]||!_0x4afb54[_0xd8b6('0x9')][_0xd8b6('0x6a')]('tablePaste'))return;const _0xb4a2ff=_0x4afb54['attributes']['tablePasteChainId'],_0x2b9c22=_0x37adb5[_0xd8b6('0x28')]()['filter'](_0x59a095=>_0x59a095[_0xd8b6('0x5d')]&&_0x59a095[_0xd8b6('0x69')]&&_0x59a095['attributes']['tablePasteChainId']==_0xb4a2ff);_0x2b9c22[_0xd8b6('0x88')]&&_0x4afb54[_0xd8b6('0x68')]()[_0xd8b6('0x88')]!=_0x2b9c22[_0xd8b6('0x88')]&&_0x2b9c22['reduce']((_0x2b277a,_0x50387d)=>(_0x2b277a[_0xd8b6('0xd')]=_0x50387d,_0x50387d[_0xd8b6('0x5b')]=_0x2b277a,_0x50387d));};function _0x532625(_0x461142,_0x3471f5=!0x0){const {id:_0x28a11c}=_0x37adb5[_0xd8b6('0x50')](_0x461142[_0xd8b6('0x99')]),_0x37f9ca=[_0xd8b6('0x40'),_0xd8b6('0xc')],_0x27798f=_0x37adb5[_0xd8b6('0x16')]['includes'](_0x461142['markerName']);return _0x27798f&&_0x37f9ca[_0xd8b6('0x90')](_0xd8b6('0x76')),{'classes':_0x37f9ca,'attributes':{'data-suggestion':_0x28a11c},'priority':_0x27798f&&_0x3471f5?0xbc2:0xbb8};}_0x37adb5['on'](_0xd8b6('0x1'),_0x1f93bc,{'priority':_0xd8b6('0x54')}),_0x37adb5['on']('suggestionUnloaded',_0x1f93bc,{'priority':_0xd8b6('0x54')}),_0x20e6cd[_0xd8b6('0x9f')][_0xd8b6('0x35')][_0xd8b6('0x9c')](()=>{let _0xa9c12d=!0x1;const _0x56af8e=Array['from'](_0x20e6cd[_0xd8b6('0x9f')]['document']['differ'][_0xd8b6('0x1d')]());for(const {name:_0x1918c6,data:_0x137201}of _0x56af8e){const {group:_0x1bcdca,type:_0x5c4e49,id:_0x1f8219}=_0x37adb5[_0xd8b6('0x50')](_0x1918c6);if('suggestion'!=_0x1bcdca||'deletion'!=_0x5c4e49||_0x137201[_0xd8b6('0x2a')])continue;if(!_0x37adb5[_0xd8b6('0x6')](_0x1f8219))continue;const _0x31197f=_0x37adb5[_0xd8b6('0x5a')](_0x1f8219)[_0xd8b6('0x78')](),_0x429a66=_0x20e6cd[_0xd8b6('0x44')]['get'](_0xd8b6('0x8'))['me'];for(const _0x11aed6 of _0x37adb5[_0xd8b6('0x28')]()){if(!_0x11aed6[_0xd8b6('0x5d')]||_0x11aed6[_0xd8b6('0x5')]!=_0x429a66)continue;if(_0xd8b6('0x61')!=_0x11aed6[_0xd8b6('0x7c')]||_0xd8b6('0x86')!=_0x11aed6[_0xd8b6('0x9')])continue;if(_0x11aed6[_0xd8b6('0x78')]()[_0xd8b6('0x83')](_0x83c5af=>_0x31197f[_0xd8b6('0x4f')](_0x42878f=>_0x42878f[_0xd8b6('0x8a')](_0x83c5af,!0x0))))for(const _0x30093e of _0x11aed6[_0xd8b6('0x68')]())_0x30093e[_0xd8b6('0x5d')]&&(_0x30093e[_0xd8b6('0x32')](),_0xa9c12d=!0x0);}}return _0xa9c12d;}),_0x20e6cd['model'][_0xd8b6('0x35')][_0xd8b6('0x9c')](_0x3e0b9b=>{const _0x2d68d2=_0x20e6cd[_0xd8b6('0x46')][_0xd8b6('0x22')]('redo');if(!_0x2d68d2||!_0x2d68d2[_0xd8b6('0x70')][_0xd8b6('0x4b')](_0x3e0b9b[_0xd8b6('0x3c')]))return!0x1;let _0x52c31c=!0x1;const _0x5a29b6=_0x20e6cd['plugins'][_0xd8b6('0x22')](_0xd8b6('0x8'))['me'],_0x1bfe83=_0x20e6cd['model']['document']['differ'][_0xd8b6('0x96')](),_0x370620=Array['from'](_0x20e6cd['model']['document'][_0xd8b6('0x5c')][_0xd8b6('0x1d')]())[_0xd8b6('0x89')](({name:_0x544caf,data:_0x34e8e9})=>{const {group:_0x31e695,subType:_0x452aa7,authorId:_0x5ced84}=_0x37adb5[_0xd8b6('0x50')](_0x544caf);return _0xd8b6('0x81')==_0x31e695&&_0xd8b6('0x6e')==_0x452aa7&&_0x5ced84==_0x5a29b6['id']&&!_0x34e8e9[_0xd8b6('0x2a')];});for(const _0x449498 of _0x1bfe83){if(_0xd8b6('0x21')!=_0x449498[_0xd8b6('0x7c')]||_0xd8b6('0x39')!=_0x449498[_0xd8b6('0x2c')]||0x1!=_0x449498[_0xd8b6('0x88')])continue;const _0x1a59ce=_0x3e0b9b['createRange'](_0x449498['position'],_0x449498[_0xd8b6('0x7e')]['getShiftedBy'](0x1));if(!_0x370620[_0xd8b6('0x4')](({data:_0x36b656})=>_0x36b656[_0xd8b6('0x65')][_0xd8b6('0x18')](_0x1a59ce)))for(const {name:_0x4f44a3,data:_0x243c36}of _0x370620)if(_0x1a59ce['containsRange'](_0x243c36[_0xd8b6('0x65')])){_0x3e0b9b[_0xd8b6('0x3b')](_0x4f44a3,{'range':_0x1a59ce}),_0x52c31c=!0x0;break;}}return _0x52c31c;}),_0x20e6cd[_0xd8b6('0x9f')][_0xd8b6('0x35')]['registerPostFixer'](_0x5b1008=>{let _0x1e663a=!0x1;const _0x5d9b7c=_0x20e6cd[_0xd8b6('0x44')][_0xd8b6('0x22')]('Users')['me'],_0x12e992=_0x37adb5[_0xd8b6('0x28')]()['filter'](_0x17662e=>_0x17662e[_0xd8b6('0x5d')]&&_0x17662e['author']==_0x5d9b7c),_0x4de0b2=new Set(),_0x162f2b=new Set();for(const _0x15196c of _0x12e992)if('tablePaste'==_0x15196c[_0xd8b6('0x9')])for(const _0x55cfed of _0x15196c[_0xd8b6('0x24')]()){const _0x4056f1=_0x55cfed[_0xd8b6('0x3a')]()['getContainedElement']();if(_0x4056f1){if(_0x4056f1['is'](_0xd8b6('0x59'),'tableCellSuggestion')&&ce(_0x4056f1)){_0x15196c['removeMarker'](_0x55cfed[_0xd8b6('0x2c')]),_0x4de0b2['add'](_0x4056f1),_0x1e663a=!0x0;const _0x1afae1=_0x4056f1[_0xd8b6('0x11')],_0xd81bcd=_0x4056f1['previousSibling'],_0x207e7f=_0x1afae1&&_0x1afae1['is'](_0xd8b6('0x59'),'tableCellSuggestion'),_0x49fa4d=_0xd81bcd&&_0xd81bcd['is'](_0xd8b6('0x59'),'tableCellSuggestion');_0x207e7f&&!_0x4de0b2[_0xd8b6('0x4b')](_0x1afae1)&&_0x162f2b[_0xd8b6('0x6c')](_0x1afae1),_0x49fa4d&&!_0x4de0b2['has'](_0xd81bcd)&&_0x162f2b['add'](_0xd81bcd);}else _0x4056f1['is'](_0xd8b6('0x59'),_0xd8b6('0x2'))&&_0x4056f1[_0xd8b6('0x1f')]&&(_0x15196c[_0xd8b6('0x5e')](_0x55cfed['name']),_0x1e663a=!0x0);}}else{if(_0xd8b6('0x86')==_0x15196c[_0xd8b6('0x9')]){if(!_0x15196c[_0xd8b6('0x69')]||!_0x15196c['attributes'][_0xd8b6('0x57')])continue;const _0x3fc119=_0x15196c[_0xd8b6('0x69')][_0xd8b6('0x2d')];if(_0x3fc119&&Object['keys'](_0x3fc119)[_0xd8b6('0x88')])continue;const _0x224fe7=_0x15196c[_0xd8b6('0x69')][_0xd8b6('0x57')];let _0x5d9a0e=!0x0,_0xbf3f3e=!0x0;for(const _0x457a7e of _0x12e992)if(_0x457a7e[_0xd8b6('0x9')]&&_0x457a7e[_0xd8b6('0x9')][_0xd8b6('0x6a')](_0xd8b6('0x6e'))){if(!_0x457a7e[_0xd8b6('0x69')][_0xd8b6('0x57')]){_0xbf3f3e=!0x1;break;}if(_0x457a7e['id']!=_0x15196c['id']&&_0x457a7e[_0xd8b6('0x69')][_0xd8b6('0x57')]==_0x224fe7){_0x5d9a0e=!0x1;break;}}_0xbf3f3e&&_0x5d9a0e&&(_0x15196c[_0xd8b6('0xf')](),_0x1e663a=!0x0);}}for(const _0x36a42a of _0x4de0b2)_0x5b1008[_0xd8b6('0x95')](_0x36a42a);for(const _0x59a137 of _0x162f2b)_0x5b1008['unwrap'](_0x59a137);return _0x1e663a;}),_0x20e6cd[_0xd8b6('0x85')]['for'](_0xd8b6('0x7'))[_0xd8b6('0x4a')]({'model':_0xd8b6('0x1c'),'view':(_0x29bf54,_0x222ac1)=>_0x532625(_0x29bf54),'converterPriority':_0xd8b6('0x54')}),_0x20e6cd[_0xd8b6('0x85')][_0xd8b6('0x53')](_0xd8b6('0x63'))[_0xd8b6('0x4a')]({'model':_0xd8b6('0x1c'),'view':(_0x5aa1c8,_0xe6a2f3)=>_0xe6a2f3[_0xd8b6('0x31')][_0xd8b6('0x82')]?_0x532625(_0x5aa1c8,!0x1):null,'converterPriority':'high'});const _0x540128=_0x20e6cd[_0xd8b6('0x71')][_0xd8b6('0x5f')];this[_0xd8b6('0x29')](_0x540128[_0xd8b6('0x35')],_0xd8b6('0x3'),(_0x183337,_0x2e078a)=>{const _0x28a3eb=[];for(const _0x4dc0bc of _0x540128[_0xd8b6('0x15')](_0x2e078a[_0xd8b6('0x4e')])[_0xd8b6('0x75')]())_0x4dc0bc['is']('element',_0xd8b6('0xa2'))&&_0x28a3eb['push'](_0x4dc0bc);_0x540128['change'](_0x4d323a=>{for(const _0xc6fd88 of _0x28a3eb)_0x4d323a['move'](_0x4d323a[_0xd8b6('0x15')](_0xc6fd88),_0x4d323a[_0xd8b6('0x9e')](_0xc6fd88)),_0x4d323a[_0xd8b6('0x95')](_0xc6fd88);});});}}function ce(_0x4fd976){if(_0x4fd976[_0xd8b6('0x1f')])return!0x0;const _0x19d65a=_0x4fd976['getChild'](0x0);return _0x19d65a['is'](_0xd8b6('0x59'),'paragraph')&&_0x19d65a[_0xd8b6('0x1f')];}function fe(_0x40b7a7,_0x4bb1d3={},_0x5805ed){for(const {isAnchor:_0x2573a9,cellHeight:_0x46b41c,cellWidth:_0x434f7c}of _0x5805ed[_0xd8b6('0x23')](_0x40b7a7,{'includeAllSlots':!0x0,..._0x4bb1d3}))if(!_0x2573a9||0x1!=_0x46b41c||0x1!=_0x434f7c)return!0x1;return!0x0;}
23
+ const _0x11b0=['formatBlock','entries','subType','getChangedMarkers','getContainedElement','fromEntries','map','getChanges','next','insertion','endRow','some','_descriptionFactory','createElement','set','get','clipboardOutput','rows','requires','markerAttributes','suggestion:formatBlock:tablePasteCell','findAncestor','columnInsertionIndexes','_splitMarkerName','tableCellBorderStyle','getColumns','oldRange','tableCell','change','insertContent','getChild','tablePasteCell','end','add','discard','endColumn','cell','tablePaste','setAttributes','move','from','value','paragraph','documentSelection','column','setAttribute','stop','getRanges','suggestion','columnInsertionRanges','first','tableCellHorizontalAlignment','position','unwrap','getRange','removeMarker','last','getShiftedBy','createTableWalker','*Replace\x20table\x20cells*','registerCustomCallback','root','suggestionLoaded','getTableIfOnlyTableInContent','content','containsRange','nextSibling','redo','tableCellBorderWidth','ck-suggestion-marker--active','cells','tableCellBackgroundColor','createRange','registerDescriptionCallback','tablePasteColumn','editingDowncast','editing','Users','rootName','rowInsertionIndexes','createRangeIn','wrap','_getCoordsForCells','isEmpty','rowInsertionRanges','start','options','register','join','trackChanges','model','newRange','tablePasteChainId','_suggestionFactory','getRows','insertRows','insertColumns','insert','accept','deletion','tableCellPadding','listenTo','getColumnIndexes','view','selection','TableUtils','schema','getMarkers','markers','markMultiRangeBlockFormat','markerName','type','low','editor','find','insertionRanges','elementToElement','getRowIndexes','activeMarkers','tableCellVerticalAlignment','getSuggestions','previousSibling','element','getChildren','TableClipboard','plugins','deletionRanges','ck-suggestion-marker','filter','locale','commands','conversion','ck-suggestion-marker-insertion','document','markerToHighlight','afterInit','suggestion-td','name','columns','getAllAdjacentSuggestions','length','previous','_createdBatches','push','markMultiRangeInsertion','tablePasteRow','getItems','fill','high','forceDefaultExecution','getAttributes','isEqual','startsWith','nodeAfter','batch','tableCellSuggestion','for','dataDowncast','row','remove','getSuggestion','differ','markMultiRangeDeletion','tableCellBorderColor','removeMarkers','table','isInContent','attributes','_tablePostFixingSubtypes','createRangeOn','has','includes','_replaceTableSlotCell'];(function(_0x2dcb16,_0x11b0ac){const _0x5642f3=function(_0x1cf81e){while(--_0x1cf81e){_0x2dcb16['push'](_0x2dcb16['shift']());}};_0x5642f3(++_0x11b0ac);}(_0x11b0,0x6f));const _0x5642=function(_0x2dcb16,_0x11b0ac){_0x2dcb16=_0x2dcb16-0x0;let _0x5642f3=_0x11b0[_0x2dcb16];return _0x5642f3;};import{getTranslation as _0xa875de}from'../utils/common-translations';import{Plugin as _0x165864}from'ckeditor5/src/core';import{uid as _0x5412e2,priorities as _0x3c7394}from'ckeditor5/src/utils';import _0x288b55 from'./table';const le=[_0x5642('0x82'),_0x5642('0x34'),_0x5642('0x56'),_0x5642('0x71'),_0x5642('0x8'),_0x5642('0x85'),_0x5642('0xa2')],ae=Object[_0x5642('0x43')](le[_0x5642('0x44')](_0x352d3f=>[_0x352d3f,null]));export default class wt extends _0x165864{static get[_0x5642('0x50')](){return[_0x288b55];}[_0x5642('0x18')](){const _0x388b7a=this[_0x5642('0x2')];if(!_0x388b7a[_0x5642('0xe')]['has'](_0x5642('0xd')))return;const _0x3dd1fc=_0x388b7a['plugins'][_0x5642('0x4d')]('TrackChangesEditing'),_0x50f67e=_0x388b7a[_0x5642('0xe')][_0x5642('0x4d')](_0x5642('0xa7')),_0x196aa1=_0x388b7a['plugins'][_0x5642('0x4d')](_0x288b55),_0x55cc2f=_0x388b7a[_0x5642('0xe')][_0x5642('0x4d')]('TableClipboard');_0x196aa1[_0x5642('0x39')][_0x5642('0x20')]('tablePasteRow','tablePasteColumn'),_0x388b7a[_0x5642('0x98')][_0x5642('0xa8')][_0x5642('0x95')](_0x5642('0x2c'),{'allowIn':'tableCell','allowContentOf':_0x5642('0x59'),'isLimit':!0x0}),_0x388b7a[_0x5642('0x14')][_0x5642('0x5')]({'model':_0x5642('0x2c'),'view':_0x5642('0x19')});let _0x45cd31=null;_0x388b7a[_0x5642('0x98')]['on'](_0x5642('0x5b'),(_0x451e3a,_0x4081fb)=>{const [_0x29bf29,_0x5d12f6]=_0x4081fb,_0x4458c7=_0x4081fb[_0x4081fb[_0x5642('0x1d')]-0x1];_0x4458c7&&_0x4458c7[_0x5642('0x26')]||_0x3dd1fc['_isForcedDefaultExecutionBlock']||this[_0x5642('0x2')]['commands'][_0x5642('0x4d')](_0x5642('0x97'))[_0x5642('0x67')]&&function(_0x32352d,_0x53e8f2,_0x427fb4,_0x4d54f4,_0x1eb3c9){if(_0x53e8f2&&!_0x53e8f2['is'](_0x5642('0x69')))return!0x1;const _0x3c7dbe=_0x1eb3c9[_0x5642('0x7d')](_0x32352d,_0x427fb4);if(!_0x3c7dbe||!fe(_0x3c7dbe,void 0x0,_0x4d54f4))return!0x1;const _0x854b90=_0x4d54f4['getSelectionAffectedTableCells'](_0x427fb4[_0x5642('0x16')][_0x5642('0xa6')]);if(!_0x854b90[_0x5642('0x1d')])return!0x1;const _0x19253f=_0x854b90[0x0][_0x5642('0x53')](_0x5642('0x36')),_0x440d02=_0x4d54f4[_0x5642('0x6')](_0x854b90),_0x4330c0=_0x4d54f4[_0x5642('0xa4')](_0x854b90),_0x7397e1={'startRow':_0x440d02[_0x5642('0x70')],'endRow':_0x440d02[_0x5642('0x76')],'startColumn':_0x4330c0['first'],'endColumn':_0x4330c0[_0x5642('0x76')]};return 0x1==_0x854b90[_0x5642('0x1d')]&&(_0x7397e1[_0x5642('0x48')]+=_0x4d54f4[_0x5642('0x9c')](_0x3c7dbe)-0x1,_0x7397e1[_0x5642('0x61')]+=_0x4d54f4[_0x5642('0x57')](_0x3c7dbe)-0x1),fe(_0x19253f,_0x7397e1,_0x4d54f4);}(_0x29bf29,_0x5d12f6,_0x388b7a['model'],_0x50f67e,_0x55cc2f)&&(_0x451e3a[_0x5642('0x6c')](),_0x45cd31={'cells':[],'insertionRanges':[],'deletionRanges':[],'rowInsertionRanges':[],'rowInsertionIndexes':[],'columnInsertionRanges':[],'columnInsertionIndexes':[]},_0x388b7a[_0x5642('0x98')][_0x5642('0x5a')](()=>{_0x388b7a[_0x5642('0x98')]['insertContent'](_0x4081fb[0x0],_0x4081fb[0x1],_0x4081fb[0x2],{'forceDefaultExecution':!0x0});const _0x5c201a=_0x5412e2(),{rowInsertionRanges:_0x42acd7,columnInsertionRanges:_0x57c2fb,insertionRanges:_0x416efc,deletionRanges:_0x1cba20,cells:_0x5d4e9b}=_0x45cd31;_0x42acd7[_0x5642('0x1d')]&&_0x3dd1fc[_0x5642('0x21')](_0x42acd7,_0x5642('0x22'),{'tablePasteChainId':_0x5c201a}),_0x57c2fb[_0x5642('0x1d')]&&_0x3dd1fc[_0x5642('0x21')](_0x57c2fb,_0x5642('0x88'),{'tablePasteChainId':_0x5c201a}),_0x416efc[_0x5642('0x1d')]&&_0x3dd1fc[_0x5642('0x21')](_0x416efc,_0x5642('0x63'),{'tablePasteChainId':_0x5c201a,'skipNestingCheck':!0x0}),_0x1cba20[_0x5642('0x1d')]&&_0x3dd1fc[_0x5642('0x33')](_0x1cba20,_0x5642('0x63'),{'tablePasteChainId':_0x5c201a,'skipNestingCheck':!0x0});const _0x286bf1=_0x3dd1fc[_0x5642('0xab')](_0x5d4e9b['map'](({element:_0x1919c7})=>_0x1919c7),{'formatGroupId':_0x5412e2()},[],_0x5642('0x5d'),{'tablePasteChainId':_0x5c201a});if(_0x286bf1){const _0x1e2240=_0x286bf1[_0x5642('0xa9')](),_0x37b763=[];for(const {element:_0x2e44cf,attributes:_0xbffe3a}of _0x5d4e9b){if(!_0xbffe3a)continue;const _0x2ac40a=_0x388b7a[_0x5642('0x98')][_0x5642('0x3a')](_0x2e44cf),_0x142f92=_0x1e2240[_0x5642('0x3')](_0xe21d37=>_0xe21d37[_0x5642('0x74')]()[_0x5642('0x28')](_0x2ac40a));_0x142f92&&_0x37b763[_0x5642('0x20')]([_0x142f92['name'],_0xbffe3a]);}_0x37b763[_0x5642('0x1d')]&&_0x286bf1[_0x5642('0x6b')](_0x5642('0x51'),Object[_0x5642('0x43')](_0x37b763));}_0x45cd31=null;}));},{'priority':_0x3c7394[_0x5642('0x25')]+0xa}),_0x388b7a[_0x5642('0xe')][_0x5642('0x4d')]('TableClipboard')['on'](_0x5642('0x3d'),(_0x105e21,_0x53e2e4)=>{const [_0x496c53,_0x7afd1,,_0x3aab53]=_0x53e2e4;if(!_0x45cd31)return;_0x105e21[_0x5642('0x6c')]();const _0x3de90a=_0x496c53[_0x5642('0x62')],_0x43b9c2=_0x7afd1,_0x2ae200=ce(_0x3de90a),_0x2aa4a0=ce(_0x43b9c2);_0x105e21['return']=_0x3de90a;let _0x40853d=null,_0x361498=null;if(_0x2aa4a0||_0x2ae200){if(_0x2ae200&&!_0x2aa4a0){_0x3aab53[_0x5642('0x30')](_0x3de90a[_0x5642('0x5c')](0x0));for(const _0x30c627 of Array[_0x5642('0x66')](_0x43b9c2[_0x5642('0xc')]()))_0x3aab53['insert'](_0x30c627,_0x3de90a,_0x5642('0x5e'));const _0xc6049e=_0x45cd31[_0x5642('0x8d')][_0x5642('0x3c')](_0x496c53[_0x5642('0x2f')]),_0x4b11c7=_0x45cd31[_0x5642('0x54')][_0x5642('0x3c')](_0x496c53[_0x5642('0x6a')]);_0xc6049e||_0x4b11c7||(_0x40853d=_0x3aab53[_0x5642('0x8e')](_0x3de90a));}else _0x2aa4a0&&!_0x2ae200&&(_0x361498=_0x3aab53[_0x5642('0x8e')](_0x3de90a));}else{const _0x1ef4b3=_0x3aab53[_0x5642('0x4b')](_0x5642('0x2c')),_0x1905c1=_0x3aab53[_0x5642('0x4b')](_0x5642('0x2c'));_0x3aab53[_0x5642('0x8f')](_0x3aab53[_0x5642('0x8e')](_0x3de90a),_0x1905c1),_0x3aab53[_0x5642('0x9f')](_0x1ef4b3,_0x3de90a,0x0);for(const _0x355d31 of Array['from'](_0x43b9c2[_0x5642('0xc')]()))_0x3aab53['insert'](_0x355d31,_0x1ef4b3,_0x5642('0x5e'));_0x40853d=_0x3aab53[_0x5642('0x3a')](_0x1ef4b3),_0x361498=_0x3aab53[_0x5642('0x3a')](_0x1905c1);}const _0x34be33=Array[_0x5642('0x66')](_0x43b9c2[_0x5642('0x27')]())[_0x5642('0x11')](([_0x4d4d4b])=>le[_0x5642('0x3c')](_0x4d4d4b));_0x45cd31[_0x5642('0x84')][_0x5642('0x20')]({'element':_0x3de90a,'attributes':_0x34be33['length']?Object[_0x5642('0x43')](_0x34be33):null}),_0x40853d&&_0x45cd31[_0x5642('0x4')][_0x5642('0x20')](_0x40853d),_0x361498&&_0x45cd31[_0x5642('0xf')]['push'](_0x361498);},{'priority':_0x5642('0x25')}),_0x50f67e['on'](_0x5642('0x9e'),(_0x2ae9cb,_0x3bd34f)=>{const [_0x13eba7,_0x395a70={}]=_0x3bd34f;if(!_0x45cd31)return;const _0x518711=_0x395a70['at']||0x0,_0x1103cb=_0x395a70[_0x5642('0x1b')]||0x1;_0x45cd31[_0x5642('0x54')]=new Array(_0x1103cb)[_0x5642('0x24')](_0x518711)[_0x5642('0x44')]((_0x3eb7f5,_0x4a8b96)=>_0x3eb7f5+_0x4a8b96);for(const {cell:_0x37c701}of _0x50f67e[_0x5642('0x78')](_0x13eba7,{'startColumn':_0x518711,'endColumn':_0x518711+_0x1103cb-0x1}))_0x45cd31[_0x5642('0x6f')]['push'](_0x388b7a[_0x5642('0x98')][_0x5642('0x3a')](_0x37c701));},{'priority':'low'}),_0x50f67e['on'](_0x5642('0x9d'),(_0x288265,_0x371b5a)=>{const [_0x3fb19a,_0x5d9338={}]=_0x371b5a;if(!_0x45cd31)return;const _0x31ae94=_0x5d9338['at']||0x0,_0x27a281=_0x5d9338[_0x5642('0x4f')]||0x1;_0x45cd31['rowInsertionIndexes']=new Array(_0x27a281)['fill'](_0x31ae94)['map']((_0x2ab328,_0xb76dea)=>_0x2ab328+_0xb76dea);for(const {cell:_0x32fc69}of _0x50f67e['createTableWalker'](_0x3fb19a,{'startRow':_0x31ae94,'endRow':_0x31ae94+_0x27a281-0x1}))_0x45cd31[_0x5642('0x92')][_0x5642('0x20')](_0x388b7a[_0x5642('0x98')][_0x5642('0x3a')](_0x32fc69));},{'priority':_0x5642('0x1')}),_0x3dd1fc[_0x5642('0x4a')][_0x5642('0x87')](_0x379df2=>{if(_0x379df2[_0x5642('0x40')]&&_0x379df2[_0x5642('0x40')]['startsWith'](_0x5642('0x63')))return _0x379df2[_0x5642('0x1e')]?{}:{'type':_0x5642('0x47'),'content':_0xa875de(_0x388b7a[_0x5642('0x12')],_0x5642('0x79'))};});const _0x34fe22=()=>!0x1;for(const _0x596028 of[_0x5642('0x63'),'tablePasteColumn',_0x5642('0x22'),_0x5642('0x5d')])_0x3dd1fc[_0x5642('0x9b')][_0x5642('0x7a')](_0x5642('0x47'),_0x596028,'join',_0x34fe22),_0x3dd1fc['_suggestionFactory']['registerCustomCallback'](_0x5642('0xa1'),_0x596028,'join',_0x34fe22),_0x3dd1fc[_0x5642('0x9b')][_0x5642('0x7a')](_0x5642('0x3e'),_0x596028,_0x5642('0x96'),_0x34fe22);_0x3dd1fc['_suggestionFactory'][_0x5642('0x7a')]('formatBlock',_0x5642('0x5d'),_0x5642('0x60'),_0x34fe22),_0x3dd1fc[_0x5642('0x9b')][_0x5642('0x7a')](_0x5642('0x3e'),_0x5642('0x5d'),_0x5642('0xa0'),(_0x671d13,_0x14eea7,_0x2b10fa)=>{const _0x3f150e=_0x671d13[_0x5642('0x44')](_0x10fc0e=>_0x10fc0e[_0x5642('0x42')]())[_0x5642('0x11')](_0x2df892=>_0x2df892),_0x562b91=new Map(_0x3f150e[_0x5642('0x44')](_0x15b6ac=>[_0x15b6ac,null]));if(_0x45cd31)for(const {element:_0x396189,attributes:_0x3b40b3}of _0x45cd31[_0x5642('0x84')])_0x3b40b3&&_0x562b91[_0x5642('0x4c')](_0x396189,_0x3b40b3);else{if(_0x2b10fa&&_0x2b10fa[_0x5642('0x51')])for(const [_0x8e92e7,_0x2a4dd6]of Object[_0x5642('0x3f')](_0x2b10fa['markerAttributes'])){const _0x40c205=_0x388b7a[_0x5642('0x98')][_0x5642('0xaa')][_0x5642('0x4d')](_0x8e92e7),_0x42e7bb=_0x40c205?_0x40c205[_0x5642('0x74')]()[_0x5642('0x42')]():null;_0x42e7bb&&_0x562b91['set'](_0x42e7bb,_0x2a4dd6);}}_0x388b7a['model'][_0x5642('0x5a')](_0x2dc03e=>{for(const [_0x5b1b37,_0x44ab1c]of _0x562b91)_0x2dc03e[_0x5642('0x64')]({...ae,..._0x44ab1c},_0x5b1b37);});});const _0x384946=(_0x272eed,_0x271e51)=>{_0x3dd1fc[_0x5642('0x9b')][_0x5642('0x7a')](_0x272eed,'tablePaste',_0x271e51,(_0x1b83aa,_0x3dd0b4,_0x1aea3d)=>{_0x388b7a[_0x5642('0x98')]['change'](_0x1b832e=>{const _0xad25b4=[];for(const _0x284016 of _0x1b83aa){const _0x5df35b=_0x284016[_0x5642('0x93')][_0x5642('0x2a')];_0x5df35b['is'](_0x5642('0xb'),'tableCellSuggestion')&&_0xad25b4['push'](_0x5df35b);}_0x3dd1fc['_suggestionFactory']['getSuggestionCallback'](_0x272eed,null,_0x271e51)(_0x1b83aa,_0x3dd0b4,_0x1aea3d);for(const _0x5a714d of _0xad25b4)'$graveyard'!=_0x5a714d[_0x5642('0x7b')][_0x5642('0x8c')]&&_0x1b832e['unwrap'](_0x5a714d);});});};_0x384946('insertion',_0x5642('0xa0')),_0x384946(_0x5642('0x47'),_0x5642('0x60')),_0x384946('deletion','accept'),_0x384946(_0x5642('0xa1'),_0x5642('0x60')),_0x3dd1fc['_suggestionFactory'][_0x5642('0x7a')](_0x5642('0x47'),'tablePasteRow','discard',_0x54f7c7=>{const _0x5cb497=_0x54f7c7['map'](_0x1c756c=>_0x1c756c[_0x5642('0x42')]()),_0x47d795=_0x5cb497[0x0][_0x5642('0x53')](_0x5642('0x36')),{minRow:_0x4dafcf,maxRow:_0x2d444c}=_0x196aa1[_0x5642('0x90')](_0x5cb497);_0x50f67e['removeRows'](_0x47d795,{'at':_0x4dafcf,'rows':_0x2d444c-_0x4dafcf+0x1});}),_0x3dd1fc[_0x5642('0x9b')][_0x5642('0x7a')](_0x5642('0x47'),_0x5642('0x88'),_0x5642('0x60'),_0x281907=>{const _0x79dc2c=_0x281907[_0x5642('0x44')](_0x134e29=>_0x134e29['getContainedElement']()),_0x338d22=_0x79dc2c[0x0][_0x5642('0x53')](_0x5642('0x36')),{minColumn:_0x33bb3b,maxColumn:_0x535388}=_0x196aa1[_0x5642('0x90')](_0x79dc2c);_0x50f67e['removeColumns'](_0x338d22,{'at':_0x33bb3b,'columns':_0x535388-_0x33bb3b+0x1});});const _0x5cda79=(_0x21dafb,_0x4d7b8c)=>{if(!_0x4d7b8c[_0x5642('0x40')]||!_0x4d7b8c[_0x5642('0x40')][_0x5642('0x29')](_0x5642('0x63')))return;const _0x32b6ff=_0x4d7b8c[_0x5642('0x38')]['tablePasteChainId'],_0x2d4e29=_0x3dd1fc[_0x5642('0x9')]()[_0x5642('0x11')](_0xf15bba=>_0xf15bba[_0x5642('0x37')]&&_0xf15bba['attributes']&&_0xf15bba[_0x5642('0x38')][_0x5642('0x9a')]==_0x32b6ff);_0x2d4e29[_0x5642('0x1d')]&&_0x4d7b8c[_0x5642('0x1c')]()[_0x5642('0x1d')]!=_0x2d4e29[_0x5642('0x1d')]&&_0x2d4e29['reduce']((_0x320058,_0x1a5f84)=>(_0x320058[_0x5642('0x46')]=_0x1a5f84,_0x1a5f84[_0x5642('0x1e')]=_0x320058,_0x1a5f84));};function _0x39e87b(_0x2a1f87,_0x55ddd6=!0x0){const {id:_0x17ce7c}=_0x3dd1fc[_0x5642('0x55')](_0x2a1f87[_0x5642('0xac')]),_0x4cdc26=[_0x5642('0x10'),_0x5642('0x15')],_0x268511=_0x3dd1fc[_0x5642('0x7')]['includes'](_0x2a1f87[_0x5642('0xac')]);return _0x268511&&_0x4cdc26[_0x5642('0x20')](_0x5642('0x83')),{'classes':_0x4cdc26,'attributes':{'data-suggestion':_0x17ce7c},'priority':_0x268511&&_0x55ddd6?0xbc2:0xbb8};}_0x3dd1fc['on'](_0x5642('0x7c'),_0x5cda79,{'priority':'high'}),_0x3dd1fc['on']('suggestionUnloaded',_0x5cda79,{'priority':_0x5642('0x25')}),_0x388b7a[_0x5642('0x98')][_0x5642('0x16')]['registerPostFixer'](()=>{let _0x221d16=!0x1;const _0x37dd5d=Array[_0x5642('0x66')](_0x388b7a['model'][_0x5642('0x16')][_0x5642('0x32')][_0x5642('0x41')]());for(const {name:_0x14cc71,data:_0xe8a524}of _0x37dd5d){const {group:_0x3a433a,type:_0x4557b0,id:_0xd55f96}=_0x3dd1fc[_0x5642('0x55')](_0x14cc71);if(_0x5642('0x6e')!=_0x3a433a||_0x5642('0xa1')!=_0x4557b0||_0xe8a524['oldRange'])continue;if(!_0x3dd1fc['hasSuggestion'](_0xd55f96))continue;const _0x36685e=_0x3dd1fc[_0x5642('0x31')](_0xd55f96)[_0x5642('0x6d')](),_0x30e268=_0x388b7a['plugins'][_0x5642('0x4d')](_0x5642('0x8b'))['me'];for(const _0x141441 of _0x3dd1fc[_0x5642('0x9')]()){if(!_0x141441[_0x5642('0x37')]||_0x141441['author']!=_0x30e268)continue;if('formatBlock'!=_0x141441[_0x5642('0x0')]||'tablePasteCell'!=_0x141441[_0x5642('0x40')])continue;if(_0x141441['getRanges']()['every'](_0x695107=>_0x36685e[_0x5642('0x49')](_0xda9e38=>_0xda9e38['containsRange'](_0x695107,!0x0))))for(const _0x354843 of _0x141441[_0x5642('0x1c')]())_0x354843['isInContent']&&(_0x354843['discard'](),_0x221d16=!0x0);}}return _0x221d16;}),_0x388b7a[_0x5642('0x98')]['document']['registerPostFixer'](_0x34beaa=>{const _0x35dcab=_0x388b7a[_0x5642('0x13')]['get'](_0x5642('0x81'));if(!_0x35dcab||!_0x35dcab[_0x5642('0x1f')][_0x5642('0x3b')](_0x34beaa[_0x5642('0x2b')]))return!0x1;let _0x5c6730=!0x1;const _0x212452=_0x388b7a[_0x5642('0xe')]['get'](_0x5642('0x8b'))['me'],_0x429d65=_0x388b7a[_0x5642('0x98')][_0x5642('0x16')][_0x5642('0x32')][_0x5642('0x45')](),_0x5af9ea=Array['from'](_0x388b7a['model'][_0x5642('0x16')][_0x5642('0x32')][_0x5642('0x41')]())[_0x5642('0x11')](({name:_0x41d168,data:_0x2fd26e})=>{const {group:_0x502aaa,subType:_0x3e0a30,authorId:_0x19e443}=_0x3dd1fc[_0x5642('0x55')](_0x41d168);return _0x5642('0x6e')==_0x502aaa&&'tablePaste'==_0x3e0a30&&_0x19e443==_0x212452['id']&&!_0x2fd26e[_0x5642('0x58')];});for(const _0x1a6518 of _0x429d65){if(_0x5642('0x9f')!=_0x1a6518[_0x5642('0x0')]||_0x5642('0x2c')!=_0x1a6518[_0x5642('0x1a')]||0x1!=_0x1a6518[_0x5642('0x1d')])continue;const _0x58d3a7=_0x34beaa[_0x5642('0x86')](_0x1a6518['position'],_0x1a6518[_0x5642('0x72')][_0x5642('0x77')](0x1));if(!_0x5af9ea[_0x5642('0x3')](({data:_0x124add})=>_0x124add['newRange'][_0x5642('0x28')](_0x58d3a7)))for(const {name:_0x31bee5,data:_0x1bf108}of _0x5af9ea)if(_0x58d3a7[_0x5642('0x7f')](_0x1bf108[_0x5642('0x99')])){_0x34beaa['updateMarker'](_0x31bee5,{'range':_0x58d3a7}),_0x5c6730=!0x0;break;}}return _0x5c6730;}),_0x388b7a[_0x5642('0x98')][_0x5642('0x16')]['registerPostFixer'](_0x4e75d7=>{let _0x14aae3=!0x1;const _0x55cddc=_0x388b7a[_0x5642('0xe')][_0x5642('0x4d')](_0x5642('0x8b'))['me'],_0x34b3ba=_0x3dd1fc['getSuggestions']()['filter'](_0x59c883=>_0x59c883[_0x5642('0x37')]&&_0x59c883['author']==_0x55cddc),_0x12f554=new Set(),_0x3541a9=new Set();for(const _0x4a5793 of _0x34b3ba)if('tablePaste'==_0x4a5793[_0x5642('0x40')])for(const _0x5c0f65 of _0x4a5793['getMarkers']()){const _0x2d8a02=_0x5c0f65[_0x5642('0x74')]()['getContainedElement']();if(_0x2d8a02){if(_0x2d8a02['is'](_0x5642('0xb'),'tableCellSuggestion')&&ce(_0x2d8a02)){_0x4a5793['removeMarker'](_0x5c0f65[_0x5642('0x1a')]),_0x12f554['add'](_0x2d8a02),_0x14aae3=!0x0;const _0x365672=_0x2d8a02[_0x5642('0x80')],_0x5937ee=_0x2d8a02[_0x5642('0xa')],_0x2a880b=_0x365672&&_0x365672['is'](_0x5642('0xb'),_0x5642('0x2c')),_0x3181ae=_0x5937ee&&_0x5937ee['is'](_0x5642('0xb'),'tableCellSuggestion');_0x2a880b&&!_0x12f554[_0x5642('0x3b')](_0x365672)&&_0x3541a9[_0x5642('0x5f')](_0x365672),_0x3181ae&&!_0x12f554[_0x5642('0x3b')](_0x5937ee)&&_0x3541a9[_0x5642('0x5f')](_0x5937ee);}else _0x2d8a02['is'](_0x5642('0xb'),_0x5642('0x68'))&&_0x2d8a02[_0x5642('0x91')]&&(_0x4a5793[_0x5642('0x75')](_0x5c0f65[_0x5642('0x1a')]),_0x14aae3=!0x0);}}else{if('tablePasteCell'==_0x4a5793['subType']){if(!_0x4a5793['attributes']||!_0x4a5793[_0x5642('0x38')][_0x5642('0x9a')])continue;const _0x58eabf=_0x4a5793[_0x5642('0x38')]['markerAttributes'];if(_0x58eabf&&Object['keys'](_0x58eabf)['length'])continue;const _0x1fbccd=_0x4a5793[_0x5642('0x38')][_0x5642('0x9a')];let _0x1c12d3=!0x0,_0x3a3d0f=!0x0;for(const _0x4c22b of _0x34b3ba)if(_0x4c22b[_0x5642('0x40')]&&_0x4c22b[_0x5642('0x40')][_0x5642('0x29')](_0x5642('0x63'))){if(!_0x4c22b['attributes'][_0x5642('0x9a')]){_0x3a3d0f=!0x1;break;}if(_0x4c22b['id']!=_0x4a5793['id']&&_0x4c22b[_0x5642('0x38')][_0x5642('0x9a')]==_0x1fbccd){_0x1c12d3=!0x1;break;}}_0x3a3d0f&&_0x1c12d3&&(_0x4a5793[_0x5642('0x35')](),_0x14aae3=!0x0);}}for(const _0x36e207 of _0x12f554)_0x4e75d7[_0x5642('0x30')](_0x36e207);for(const _0x5d2ef9 of _0x3541a9)_0x4e75d7[_0x5642('0x73')](_0x5d2ef9);return _0x14aae3;}),_0x388b7a[_0x5642('0x14')][_0x5642('0x2d')](_0x5642('0x89'))[_0x5642('0x17')]({'model':'suggestion:formatBlock:tablePasteCell','view':(_0xa63a95,_0x1ddf26)=>_0x39e87b(_0xa63a95),'converterPriority':'high'}),_0x388b7a['conversion'][_0x5642('0x2d')](_0x5642('0x2e'))['markerToHighlight']({'model':_0x5642('0x52'),'view':(_0x5d2d99,_0x1f9983)=>_0x1f9983[_0x5642('0x94')]['showSuggestionHighlights']?_0x39e87b(_0x5d2d99,!0x1):null,'converterPriority':_0x5642('0x25')});const _0x4aebd4=_0x388b7a[_0x5642('0x8a')][_0x5642('0xa5')];this[_0x5642('0xa3')](_0x4aebd4[_0x5642('0x16')],_0x5642('0x4e'),(_0x3f0c1e,_0x2a4fa9)=>{const _0x35a577=[];for(const _0x8e5458 of _0x4aebd4[_0x5642('0x8e')](_0x2a4fa9[_0x5642('0x7e')])[_0x5642('0x23')]())_0x8e5458['is'](_0x5642('0xb'),_0x5642('0x19'))&&_0x35a577['push'](_0x8e5458);_0x4aebd4[_0x5642('0x5a')](_0x2ff9a4=>{for(const _0x526514 of _0x35a577)_0x2ff9a4[_0x5642('0x65')](_0x2ff9a4['createRangeIn'](_0x526514),_0x2ff9a4['createPositionBefore'](_0x526514)),_0x2ff9a4[_0x5642('0x30')](_0x526514);});});}}function ce(_0x5e43c9){if(_0x5e43c9[_0x5642('0x91')])return!0x0;const _0x25e06b=_0x5e43c9['getChild'](0x0);return _0x25e06b['is'](_0x5642('0xb'),_0x5642('0x68'))&&_0x25e06b['isEmpty'];}function fe(_0x206daa,_0x2d9184={},_0x1629a8){for(const {isAnchor:_0x17b3b7,cellHeight:_0x36e06f,cellWidth:_0x4ec34f}of _0x1629a8[_0x5642('0x78')](_0x206daa,{'includeAllSlots':!0x0,..._0x2d9184}))if(!_0x17b3b7||0x1!=_0x36e06f||0x1!=_0x4ec34f)return!0x1;return!0x0;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x476d=['getSuggestions','afterInit','data','resizeTable','selection','_descriptionFactory','editor','registerDescriptionCallback','tableWidth','locale','getSuggestionCallback','has','columnWidths','TrackChangesEditing','_suggestionFactory','get','change','accept','author','markBlockFormat','enableCommand','Users','handleSuggestionDescription','getTableColumnsWidths','resizeColumnWidths','model','formatBlock','getContainedElement','getSelectedElement','table','plugins','bind','registerCustomCallback','subType','TableColumnResizeEditing','handleResizeTableWidthCommand','discard','format','resizeTableWidth','getAttribute'];(function(_0x274ddb,_0x476d8f){const _0x664dbb=function(_0x45efdd){while(--_0x45efdd){_0x274ddb['push'](_0x274ddb['shift']());}};_0x664dbb(++_0x476d8f);}(_0x476d,0x109));const _0x664d=function(_0x274ddb,_0x476d8f){_0x274ddb=_0x274ddb-0x0;let _0x664dbb=_0x476d[_0x274ddb];return _0x664dbb;};import{Plugin as _0x2c185b}from'ckeditor5/src/core';import{getTranslation as _0x11b015}from'../utils/common-translations';export default class yt extends _0x2c185b{[_0x664d('0x10')](){if(!this[_0x664d('0x15')][_0x664d('0x5')][_0x664d('0x1a')](_0x664d('0x9')))return;const _0x320720=this[_0x664d('0x15')][_0x664d('0x5')][_0x664d('0x1e')](_0x664d('0x1c'));_0x320720[_0x664d('0x23')]('resizeTableWidth',this[_0x664d('0xa')][_0x664d('0x6')](this)),_0x320720[_0x664d('0x23')](_0x664d('0x27'),this[_0x664d('0xa')]['bind'](this)),_0x320720[_0x664d('0x1d')]['registerCustomCallback'](_0x664d('0x1'),'resizeTable',_0x664d('0x20'),_0x320720['_suggestionFactory']['getSuggestionCallback']('formatBlock',null,_0x664d('0xb'))),_0x320720[_0x664d('0x1d')][_0x664d('0x7')](_0x664d('0x1'),_0x664d('0x12'),_0x664d('0xb'),_0x320720[_0x664d('0x1d')][_0x664d('0x19')](_0x664d('0x1'),null,'accept')),_0x320720[_0x664d('0x14')][_0x664d('0x16')](this[_0x664d('0x25')][_0x664d('0x6')](this));}['handleResizeTableWidthCommand'](_0x4ca6c4,_0x157111){const _0xd3f67a=this['editor'][_0x664d('0x5')][_0x664d('0x1e')](_0x664d('0x1c')),_0x2990b3=this[_0x664d('0x15')][_0x664d('0x5')][_0x664d('0x1e')](_0x664d('0x9')),_0x597bd1=_0x157111[_0x664d('0x4')]||this['editor'][_0x664d('0x0')]['document'][_0x664d('0x13')][_0x664d('0x3')]();this['editor'][_0x664d('0x0')][_0x664d('0x1f')](()=>{const _0x2bcd22=_0x2990b3['getColumnGroupElement'](_0x597bd1);let _0x4226a3=_0x2bcd22?_0x2990b3[_0x664d('0x26')](_0x2bcd22):null,_0x45bafa=_0x597bd1[_0x664d('0xe')](_0x664d('0x17'))||null;const _0x381aa5=_0x157111[_0x664d('0x17')]||_0x45bafa,_0x59794a=_0x157111[_0x664d('0x1b')]||_0x4226a3,_0x37d3d4=this[_0x664d('0x15')][_0x664d('0x5')][_0x664d('0x1e')](_0x664d('0x24'))['me'];for(const _0x3b56c0 of _0xd3f67a[_0x664d('0xf')]()){const _0x4f9cc2=_0x3b56c0[_0x664d('0x2')]();if(_0x664d('0x12')===_0x3b56c0[_0x664d('0x8')]&&_0x4f9cc2===_0x597bd1){_0x3b56c0[_0x664d('0x21')]!==_0x37d3d4&&_0x3b56c0[_0x664d('0xb')]();const _0x59d8d8=_0x3b56c0[_0x664d('0x11')]['commandParams'];_0x45bafa=_0x59d8d8[0x0][_0x664d('0x17')],_0x4226a3=_0x59d8d8[0x0][_0x664d('0x1b')];break;}}_0x4ca6c4({'table':_0x597bd1,'tableWidth':_0x381aa5,'columnWidths':_0x59794a}),_0xd3f67a[_0x664d('0x22')](_0x597bd1,{'commandName':_0x664d('0xd'),'commandParams':[{'tableWidth':_0x45bafa,'columnWidths':_0x4226a3}],'formatGroupId':_0x664d('0x12')},[],'resizeTable');});}[_0x664d('0x25')](_0x497a6a){const {data:_0x1c2f17}=_0x497a6a;if(_0x1c2f17&&_0x664d('0x12')===_0x1c2f17['formatGroupId']){const _0x32628b='*Format:*\x20resize\x20table';return{'type':_0x664d('0xc'),'content':_0x11b015(this[_0x664d('0x15')][_0x664d('0x18')],_0x32628b)};}}}
23
+ const _0x3b1f=['TableColumnResizeEditing','selection','table','resizeTable','_suggestionFactory','*Format:*\x20resize\x20table','formatBlock','subType','get','document','format','model','accept','enableCommand','getSelectedElement','change','has','markBlockFormat','plugins','tableWidth','handleSuggestionDescription','afterInit','formatGroupId','registerCustomCallback','_descriptionFactory','getTableColumnsWidths','locale','resizeTableWidth','bind','registerDescriptionCallback','getSuggestions','getSuggestionCallback','discard','getAttribute','columnWidths','commandParams','getContainedElement','editor'];(function(_0x1cf695,_0x3b1f73){const _0x45add3=function(_0x255605){while(--_0x255605){_0x1cf695['push'](_0x1cf695['shift']());}};_0x45add3(++_0x3b1f73);}(_0x3b1f,0xdd));const _0x45ad=function(_0x1cf695,_0x3b1f73){_0x1cf695=_0x1cf695-0x0;let _0x45add3=_0x3b1f[_0x1cf695];return _0x45add3;};import{Plugin as _0x1265a6}from'ckeditor5/src/core';import{getTranslation as _0x143e22}from'../utils/common-translations';export default class yt extends _0x1265a6{[_0x45ad('0x1c')](){if(!this['editor'][_0x45ad('0x19')][_0x45ad('0x17')](_0x45ad('0x7')))return;const _0x3baefb=this[_0x45ad('0x6')][_0x45ad('0x19')][_0x45ad('0xf')]('TrackChangesEditing');_0x3baefb[_0x45ad('0x14')]('resizeTableWidth',this['handleResizeTableWidthCommand']['bind'](this)),_0x3baefb[_0x45ad('0x14')]('resizeColumnWidths',this['handleResizeTableWidthCommand'][_0x45ad('0x23')](this)),_0x3baefb[_0x45ad('0xb')][_0x45ad('0x1e')](_0x45ad('0xd'),_0x45ad('0xa'),_0x45ad('0x13'),_0x3baefb[_0x45ad('0xb')][_0x45ad('0x0')](_0x45ad('0xd'),null,_0x45ad('0x1'))),_0x3baefb[_0x45ad('0xb')]['registerCustomCallback'](_0x45ad('0xd'),_0x45ad('0xa'),_0x45ad('0x1'),_0x3baefb['_suggestionFactory'][_0x45ad('0x0')](_0x45ad('0xd'),null,_0x45ad('0x13'))),_0x3baefb[_0x45ad('0x1f')][_0x45ad('0x24')](this['handleSuggestionDescription'][_0x45ad('0x23')](this));}['handleResizeTableWidthCommand'](_0x4cceec,_0xe8942f){const _0x480562=this[_0x45ad('0x6')]['plugins'][_0x45ad('0xf')]('TrackChangesEditing'),_0x127da2=this['editor'][_0x45ad('0x19')]['get']('TableColumnResizeEditing'),_0x5093d8=_0xe8942f[_0x45ad('0x9')]||this[_0x45ad('0x6')][_0x45ad('0x12')][_0x45ad('0x10')][_0x45ad('0x8')][_0x45ad('0x15')]();this[_0x45ad('0x6')][_0x45ad('0x12')][_0x45ad('0x16')](()=>{const _0x421402=_0x127da2['getColumnGroupElement'](_0x5093d8);let _0x318cd5=_0x421402?_0x127da2[_0x45ad('0x20')](_0x421402):null,_0x4e92f2=_0x5093d8[_0x45ad('0x2')](_0x45ad('0x1a'))||null;const _0x2693ec=_0xe8942f[_0x45ad('0x1a')]||_0x4e92f2,_0x59b988=_0xe8942f['columnWidths']||_0x318cd5,_0xc8abe2=this[_0x45ad('0x6')][_0x45ad('0x19')][_0x45ad('0xf')]('Users')['me'];for(const _0x109dfe of _0x480562[_0x45ad('0x25')]()){const _0x27f42d=_0x109dfe[_0x45ad('0x5')]();if(_0x45ad('0xa')===_0x109dfe[_0x45ad('0xe')]&&_0x27f42d===_0x5093d8){_0x109dfe['author']!==_0xc8abe2&&_0x109dfe['discard']();const _0x5c957f=_0x109dfe['data'][_0x45ad('0x4')];_0x4e92f2=_0x5c957f[0x0][_0x45ad('0x1a')],_0x318cd5=_0x5c957f[0x0][_0x45ad('0x3')];break;}}_0x4cceec({'table':_0x5093d8,'tableWidth':_0x2693ec,'columnWidths':_0x59b988}),_0x480562[_0x45ad('0x18')](_0x5093d8,{'commandName':_0x45ad('0x22'),'commandParams':[{'tableWidth':_0x4e92f2,'columnWidths':_0x318cd5}],'formatGroupId':_0x45ad('0xa')},[],_0x45ad('0xa'));});}[_0x45ad('0x1b')](_0x437cbd){const {data:_0x28025c}=_0x437cbd;if(_0x28025c&&_0x45ad('0xa')===_0x28025c[_0x45ad('0x1d')]){const _0x48feb6=_0x45ad('0xc');return{'type':_0x45ad('0x11'),'content':_0x143e22(this[_0x45ad('0x6')][_0x45ad('0x21')],_0x48feb6)};}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4ead=['accept','enableCommand','parent','from','setTableColumnHeader','showSuggestionHighlights','index','createPositionBefore','table','ck-suggestion-marker--active','FORMAT_HEADER_ROW','formatBlock','first','commandName','childCount','selection','createTableWalker','getCellLocation','value','cell','item','_acceptFormatSuggestionCallbackFactory','removeMarker:suggestion','TrackChangesEditing','getRowIndexes','getColumnIndexes','change','end','stop','FORMAT_HEADER_COLUMN','highest','_suggestionFactory','TableUtils','createPositionAfter','commands','unbindElementFromMarkerName','addClass','editing','FORMAT_REGULAR_ROW','options','forceValue','setTableRowHeader','registerCustomCallback','markerName','markerRange','markerNameToElements','removeClass','addMarker:suggestion','bindElementToMarker','toViewElement','FORMAT_REGULAR_COLUMN','getSelectionAffectedTableCells','TableEditing','includes','data','last','getSuggestion','isBefore','commandParams','nodeBefore','getAttribute','createRange','_splitMarkerName','plugins','findAncestor','get','headingColumns','downcastDispatcher','name','ck-suggestion-marker-','mapper','model','_descriptionFactory','registerDescriptionCallback','*Format:*\x20%0','document','start','data-suggestion','writer','getChild','markBlockFormat','consume'];(function(_0x40e451,_0x4ead29){const _0x4daca3=function(_0x586143){while(--_0x586143){_0x40e451['push'](_0x40e451['shift']());}};_0x4daca3(++_0x4ead29);}(_0x4ead,0x174));const _0x4dac=function(_0x40e451,_0x4ead29){_0x40e451=_0x40e451-0x0;let _0x4daca3=_0x4ead[_0x40e451];return _0x4daca3;};import{Plugin as _0x48e470}from'ckeditor5/src/core';import _0x2065bc from'./table';import{getTranslation as _0x5f4ab1}from'../utils/common-translations';export default class kt extends _0x48e470{static get['requires'](){return[_0x2065bc];}['afterInit'](){const _0x4839ee=this['editor'];if(!_0x4839ee['plugins']['has'](_0x4dac('0x8')))return;const _0x58df96=_0x4839ee['locale'],_0x45b7b6=_0x4839ee[_0x4dac('0x13')][_0x4dac('0x15')](_0x4dac('0x3d')),_0x21b48d=_0x4839ee[_0x4dac('0x13')]['get'](_0x4dac('0x46')),_0x3da409=_0x4839ee[_0x4dac('0x13')][_0x4dac('0x15')](_0x2065bc);function _0x4e0028({showActiveMarker:_0x1ad571=!0x0,setDataAttribute:_0x4d9899=!0x0}={}){return(_0x37b7e5,_0x176421,_0x45af38)=>{const {type:_0x50f43d,id:_0x3669bc}=_0x45b7b6[_0x4dac('0x12')](_0x176421[_0x4dac('0x51')]),_0x206287=_0x45b7b6[_0x4dac('0xc')](_0x3669bc);if(!_0x206287['data']||_0x4dac('0x2a')!=_0x206287[_0x4dac('0xa')][_0x4dac('0x33')])return;if(_0x176421[_0x4dac('0x3a')])return void _0x37b7e5[_0x4dac('0x42')]();if(!_0x45af38['consumable'][_0x4dac('0x25')](_0x176421[_0x4dac('0x0')],_0x37b7e5[_0x4dac('0x18')]))return;const _0x865a51=_0x176421['markerRange'][_0x4dac('0x20')]['nodeAfter'],_0x15c786=_0x176421['markerRange'][_0x4dac('0x41')][_0x4dac('0xf')],_0xd74186=_0x865a51[_0x4dac('0x28')][_0x4dac('0x28')],{column:_0x127e14}=_0x21b48d['getCellLocation'](_0x865a51),{column:_0x1f7071}=_0x21b48d[_0x4dac('0x37')](_0x15c786);for(let _0x2b2763=_0x127e14;_0x2b2763<=_0x1f7071;_0x2b2763++){const _0x451dc7=_0x21b48d[_0x4dac('0x36')](_0xd74186,{'column':_0x2b2763,'includeAllSlots':!0x1});for(const _0x4cf605 of _0x451dc7){const _0x46476c=_0x4cf605[_0x4dac('0x39')],_0xd773d6=_0x45af38['mapper'][_0x4dac('0x5')](_0x46476c);_0x45af38['writer'][_0x4dac('0x4a')](_0x4dac('0x19')+_0x50f43d,_0xd773d6),_0x4d9899&&_0x45af38[_0x4dac('0x22')]['setAttribute'](_0x4dac('0x21'),_0x3669bc,_0xd773d6),_0x45af38['mapper'][_0x4dac('0x4')](_0xd773d6,_0x176421[_0x4dac('0x51')]),_0x1ad571&&(_0x45b7b6['activeMarkers'][_0x4dac('0x9')](_0x176421[_0x4dac('0x51')])?_0x45af38[_0x4dac('0x22')]['addClass'](_0x4dac('0x2f'),_0xd773d6):_0x45af38['writer']['removeClass'](_0x4dac('0x2f'),_0xd773d6));}}};}_0x45b7b6[_0x4dac('0x27')](_0x4dac('0x4f'),(_0x45d5d5,_0x51cf2)=>{const _0x2ead59=_0x21b48d[_0x4dac('0x7')](_0x4839ee[_0x4dac('0x1b')][_0x4dac('0x1f')]['selection']),_0x2defb2=_0x21b48d[_0x4dac('0x3e')](_0x2ead59),_0x44df35=_0x2ead59[0x0][_0x4dac('0x14')](_0x4dac('0x2e')),_0x42038f=_0x44df35[_0x4dac('0x10')]('headingRows')||0x0,_0xe5f371=_0x51cf2&&null!==_0x51cf2['forceValue']?_0x51cf2[_0x4dac('0x4e')]:!_0x4839ee[_0x4dac('0x48')][_0x4dac('0x15')](_0x4dac('0x4f'))['value'],_0x344859=_0xe5f371?_0x2defb2[_0x4dac('0xb')]:_0x2defb2[_0x4dac('0x32')],_0xe13ef5=_0x44df35[_0x4dac('0x23')](_0x344859);let _0x10feb8;if(_0xe5f371){const _0x550a8f=_0x44df35[_0x4dac('0x23')](_0x42038f);if(_0xe13ef5[_0x4dac('0x2c')]<_0x550a8f[_0x4dac('0x2c')])return;_0x10feb8=_0x4839ee[_0x4dac('0x1b')]['createRange'](_0x4839ee[_0x4dac('0x1b')][_0x4dac('0x2d')](_0x550a8f[_0x4dac('0x23')](0x0)),_0x4839ee[_0x4dac('0x1b')][_0x4dac('0x47')](_0xe13ef5[_0x4dac('0x23')](_0xe13ef5[_0x4dac('0x34')]-0x1)));}else{const _0x3a991f=_0x44df35[_0x4dac('0x23')](_0x42038f-0x1);if(!_0x3a991f)return;_0x10feb8=_0x4839ee[_0x4dac('0x1b')][_0x4dac('0x11')](_0x4839ee[_0x4dac('0x1b')][_0x4dac('0x2d')](_0xe13ef5['getChild'](0x0)),_0x4839ee[_0x4dac('0x1b')]['createPositionAfter'](_0x3a991f[_0x4dac('0x23')](_0x3a991f[_0x4dac('0x34')]-0x1)));}_0x4839ee[_0x4dac('0x1b')][_0x4dac('0x40')](()=>{_0x45b7b6['markBlockFormat'](_0x10feb8,{'commandName':'setTableRowHeader','commandParams':[{'forceValue':_0xe5f371}]},[],'setTableRowHeader');});}),_0x45b7b6[_0x4dac('0x27')](_0x4dac('0x2a'),(_0xd6d0b4,_0x60a718)=>{const _0x325b29=_0x4839ee[_0x4dac('0x13')][_0x4dac('0x15')](_0x4dac('0x46')),_0x2d6e6b=_0x325b29[_0x4dac('0x7')](_0x4839ee[_0x4dac('0x1b')]['document'][_0x4dac('0x35')]),_0x5df990=_0x325b29[_0x4dac('0x3f')](_0x2d6e6b),_0x300b2d=_0x2d6e6b[0x0]['findAncestor'](_0x4dac('0x2e')),_0x4018a9=_0x300b2d['getAttribute'](_0x4dac('0x16'))||0x0,_0x51327c=_0x60a718&&null!==_0x60a718['forceValue']?_0x60a718[_0x4dac('0x4e')]:!_0x4839ee[_0x4dac('0x48')][_0x4dac('0x15')](_0x4dac('0x2a'))[_0x4dac('0x38')];let _0x1a16a8;const _0x2c5105=_0x300b2d['getChild'](0x0),_0x449165=_0x51327c?_0x5df990[_0x4dac('0xb')]:_0x5df990['first'],_0x32d4a1=_0x325b29[_0x4dac('0x36')](_0x300b2d,{'startRow':0x0,'column':_0x449165,'includeAllSlots':!0x1}),_0x3f9a87=Array[_0x4dac('0x29')](_0x32d4a1)[0x0]['cell'];if(_0x51327c){const _0xd82376=_0x2c5105[_0x4dac('0x23')](_0x4018a9);if(_0x3f9a87[_0x4dac('0xd')](_0xd82376))return;_0x1a16a8=_0x4839ee[_0x4dac('0x1b')][_0x4dac('0x11')](_0x4839ee[_0x4dac('0x1b')][_0x4dac('0x2d')](_0xd82376),_0x4839ee[_0x4dac('0x1b')][_0x4dac('0x47')](_0x3f9a87));}else{const _0x21f934=_0x2c5105[_0x4dac('0x23')](_0x4018a9-0x1);if(!_0x21f934)return;_0x1a16a8=_0x4839ee['model']['createRange'](_0x4839ee[_0x4dac('0x1b')][_0x4dac('0x2d')](_0x3f9a87),_0x4839ee[_0x4dac('0x1b')][_0x4dac('0x47')](_0x21f934));}_0x4839ee[_0x4dac('0x1b')]['change'](()=>{_0x45b7b6[_0x4dac('0x24')](_0x1a16a8,{'commandName':'setTableColumnHeader','commandParams':[{'forceValue':_0x51327c}]},[],'setTableColumnHeader');});}),_0x4839ee[_0x4dac('0x4b')]['downcastDispatcher']['on'](_0x4dac('0x3'),_0x4e0028(),{'priority':_0x4dac('0x44')}),_0x4839ee[_0x4dac('0xa')]['downcastDispatcher']['on']('addMarker:suggestion',(_0x1c1971,_0x43fd2f,_0x2ddd1d)=>{_0x2ddd1d[_0x4dac('0x4d')][_0x4dac('0x2b')]&&_0x4e0028({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x1c1971,_0x43fd2f,_0x2ddd1d);},{'priority':'highest'}),_0x4839ee[_0x4dac('0x4b')][_0x4dac('0x17')]['on'](_0x4dac('0x3c'),(_0x2a5b89,_0x52304a,_0x1e8cb1)=>{const {type:_0x58bca5,id:_0x624a57}=_0x45b7b6['_splitMarkerName'](_0x52304a['markerName']),_0x240572=_0x45b7b6[_0x4dac('0xc')](_0x624a57);if(!_0x240572[_0x4dac('0xa')]||_0x4dac('0x2a')!=_0x240572[_0x4dac('0xa')][_0x4dac('0x33')])return;const _0x1d98dd=_0x1e8cb1[_0x4dac('0x1a')][_0x4dac('0x1')](_0x52304a[_0x4dac('0x51')]);if(_0x1d98dd)for(const _0x13c690 of _0x1d98dd)_0x1e8cb1[_0x4dac('0x22')][_0x4dac('0x2')](_0x4dac('0x19')+_0x58bca5,_0x13c690),_0x1e8cb1[_0x4dac('0x22')][_0x4dac('0x2')](_0x4dac('0x2f'),_0x13c690),_0x1e8cb1[_0x4dac('0x22')]['removeAttribute'](_0x4dac('0x21'),_0x13c690),_0x1e8cb1['mapper'][_0x4dac('0x49')](_0x13c690,_0x52304a['markerName']);},{'priority':_0x4dac('0x44')}),_0x45b7b6[_0x4dac('0x1c')][_0x4dac('0x1d')](_0x2990a7=>{const {data:_0x100f68}=_0x2990a7;if(_0x100f68){if(_0x4dac('0x4f')==_0x100f68[_0x4dac('0x33')]){const _0x56bbfb=_0x100f68[_0x4dac('0xe')][0x0][_0x4dac('0x4e')];return _0x34ae8e(_0x5f4ab1(_0x58df96,_0x56bbfb?_0x4dac('0x30'):_0x4dac('0x4c')));}if(_0x4dac('0x2a')==_0x100f68[_0x4dac('0x33')]){const _0x4b2a52=_0x100f68[_0x4dac('0xe')][0x0][_0x4dac('0x4e')];return _0x34ae8e(_0x5f4ab1(_0x58df96,_0x4b2a52?_0x4dac('0x43'):_0x4dac('0x6')));}}function _0x34ae8e(_0x4decb7){return{'type':'format','content':_0x5f4ab1(_0x58df96,_0x4dac('0x1e'),_0x4decb7)};}});const _0x390dfd=_0x3da409[_0x4dac('0x3b')]();_0x45b7b6[_0x4dac('0x45')][_0x4dac('0x50')]('formatBlock','setTableRowHeader',_0x4dac('0x26'),_0x390dfd),_0x45b7b6[_0x4dac('0x45')][_0x4dac('0x50')](_0x4dac('0x31'),_0x4dac('0x2a'),_0x4dac('0x26'),_0x390dfd);}}
23
+ const _0x3dd9=['createRange','activeMarkers','nodeAfter','last','createPositionAfter','headingColumns','*Format:*\x20%0','_suggestionFactory','get','cell','document','first','createPositionBefore','bindElementToMarker','has','commandName','end','getColumnIndexes','enableCommand','writer','TableUtils','data-suggestion','getChild','accept','getRowIndexes','editor','getSelectionAffectedTableCells','addClass','setTableColumnHeader','ck-suggestion-marker--active','setAttribute','createTableWalker','TableEditing','index','isBefore','consume','ck-suggestion-marker-','FORMAT_REGULAR_COLUMN','markerName','mapper','getCellLocation','addMarker:suggestion','value','parent','_acceptFormatSuggestionCallbackFactory','markerRange','formatBlock','registerCustomCallback','nodeBefore','includes','setTableRowHeader','childCount','editing','start','selection','FORMAT_HEADER_COLUMN','change','removeClass','registerDescriptionCallback','plugins','table','removeAttribute','_descriptionFactory','highest','model','removeMarker:suggestion','forceValue','showSuggestionHighlights','locale','headingRows','data','toViewElement','downcastDispatcher','commandParams','markBlockFormat','FORMAT_REGULAR_ROW','getSuggestion','_splitMarkerName','markerNameToElements'];(function(_0x395db8,_0x3dd9c9){const _0x310efe=function(_0x383ca6){while(--_0x383ca6){_0x395db8['push'](_0x395db8['shift']());}};_0x310efe(++_0x3dd9c9);}(_0x3dd9,0x73));const _0x310e=function(_0x395db8,_0x3dd9c9){_0x395db8=_0x395db8-0x0;let _0x310efe=_0x3dd9[_0x395db8];return _0x310efe;};import{Plugin as _0x500e68}from'ckeditor5/src/core';import _0x5d152c from'./table';import{getTranslation as _0x33167d}from'../utils/common-translations';export default class kt extends _0x500e68{static get['requires'](){return[_0x5d152c];}['afterInit'](){const _0x1f97f4=this[_0x310e('0x44')];if(!_0x1f97f4['plugins'][_0x310e('0x39')](_0x310e('0x4b')))return;const _0x55682f=_0x1f97f4[_0x310e('0x20')],_0x44d0a0=_0x1f97f4['plugins'][_0x310e('0x33')]('TrackChangesEditing'),_0x532fd8=_0x1f97f4[_0x310e('0x17')][_0x310e('0x33')]('TableUtils'),_0x44c94d=_0x1f97f4[_0x310e('0x17')][_0x310e('0x33')](_0x5d152c);function _0x20b0c2({showActiveMarker:_0x2be551=!0x0,setDataAttribute:_0x1ad3e9=!0x0}={}){return(_0x4e0df9,_0x23fb63,_0x2af00b)=>{const {type:_0x5cde63,id:_0x3471bf}=_0x44d0a0[_0x310e('0x29')](_0x23fb63[_0x310e('0x2')]),_0x289d46=_0x44d0a0['getSuggestion'](_0x3471bf);if(!_0x289d46[_0x310e('0x22')]||'setTableColumnHeader'!=_0x289d46[_0x310e('0x22')][_0x310e('0x3a')])return;if(_0x23fb63['item'])return void _0x4e0df9['stop']();if(!_0x2af00b['consumable'][_0x310e('0x4e')](_0x23fb63[_0x310e('0x9')],_0x4e0df9['name']))return;const _0x1bbc70=_0x23fb63[_0x310e('0x9')][_0x310e('0x11')][_0x310e('0x2d')],_0x1798d7=_0x23fb63[_0x310e('0x9')][_0x310e('0x3b')][_0x310e('0xc')],_0x28c503=_0x1bbc70[_0x310e('0x7')][_0x310e('0x7')],{column:_0x271f13}=_0x532fd8[_0x310e('0x4')](_0x1bbc70),{column:_0xe75493}=_0x532fd8[_0x310e('0x4')](_0x1798d7);for(let _0x5eece7=_0x271f13;_0x5eece7<=_0xe75493;_0x5eece7++){const _0x28a122=_0x532fd8[_0x310e('0x4a')](_0x28c503,{'column':_0x5eece7,'includeAllSlots':!0x1});for(const _0x1c9177 of _0x28a122){const _0x24f5bf=_0x1c9177[_0x310e('0x34')],_0x3e037b=_0x2af00b[_0x310e('0x3')][_0x310e('0x23')](_0x24f5bf);_0x2af00b[_0x310e('0x3e')][_0x310e('0x46')]('ck-suggestion-marker-'+_0x5cde63,_0x3e037b),_0x1ad3e9&&_0x2af00b[_0x310e('0x3e')][_0x310e('0x49')]('data-suggestion',_0x3471bf,_0x3e037b),_0x2af00b[_0x310e('0x3')][_0x310e('0x38')](_0x3e037b,_0x23fb63[_0x310e('0x2')]),_0x2be551&&(_0x44d0a0[_0x310e('0x2c')][_0x310e('0xd')](_0x23fb63[_0x310e('0x2')])?_0x2af00b[_0x310e('0x3e')][_0x310e('0x46')](_0x310e('0x48'),_0x3e037b):_0x2af00b['writer'][_0x310e('0x15')]('ck-suggestion-marker--active',_0x3e037b));}}};}_0x44d0a0[_0x310e('0x3d')](_0x310e('0xe'),(_0x127d00,_0x185c03)=>{const _0x923b07=_0x532fd8[_0x310e('0x45')](_0x1f97f4[_0x310e('0x1c')][_0x310e('0x35')][_0x310e('0x12')]),_0x25e7eb=_0x532fd8[_0x310e('0x43')](_0x923b07),_0x5ef2bf=_0x923b07[0x0]['findAncestor'](_0x310e('0x18')),_0xcef8b3=_0x5ef2bf['getAttribute'](_0x310e('0x21'))||0x0,_0x4bf785=_0x185c03&&null!==_0x185c03['forceValue']?_0x185c03[_0x310e('0x1e')]:!_0x1f97f4['commands'][_0x310e('0x33')]('setTableRowHeader')['value'],_0xae836a=_0x4bf785?_0x25e7eb[_0x310e('0x2e')]:_0x25e7eb[_0x310e('0x36')],_0x4753d7=_0x5ef2bf['getChild'](_0xae836a);let _0x367070;if(_0x4bf785){const _0xcd5bd1=_0x5ef2bf[_0x310e('0x41')](_0xcef8b3);if(_0x4753d7[_0x310e('0x4c')]<_0xcd5bd1[_0x310e('0x4c')])return;_0x367070=_0x1f97f4[_0x310e('0x1c')]['createRange'](_0x1f97f4['model'][_0x310e('0x37')](_0xcd5bd1[_0x310e('0x41')](0x0)),_0x1f97f4['model'][_0x310e('0x2f')](_0x4753d7['getChild'](_0x4753d7[_0x310e('0xf')]-0x1)));}else{const _0x2e0950=_0x5ef2bf[_0x310e('0x41')](_0xcef8b3-0x1);if(!_0x2e0950)return;_0x367070=_0x1f97f4[_0x310e('0x1c')][_0x310e('0x2b')](_0x1f97f4[_0x310e('0x1c')]['createPositionBefore'](_0x4753d7[_0x310e('0x41')](0x0)),_0x1f97f4[_0x310e('0x1c')][_0x310e('0x2f')](_0x2e0950[_0x310e('0x41')](_0x2e0950[_0x310e('0xf')]-0x1)));}_0x1f97f4[_0x310e('0x1c')][_0x310e('0x14')](()=>{_0x44d0a0[_0x310e('0x26')](_0x367070,{'commandName':_0x310e('0xe'),'commandParams':[{'forceValue':_0x4bf785}]},[],'setTableRowHeader');});}),_0x44d0a0[_0x310e('0x3d')]('setTableColumnHeader',(_0x42ce65,_0x282693)=>{const _0x159ad1=_0x1f97f4[_0x310e('0x17')][_0x310e('0x33')](_0x310e('0x3f')),_0x5b8cf3=_0x159ad1['getSelectionAffectedTableCells'](_0x1f97f4[_0x310e('0x1c')][_0x310e('0x35')][_0x310e('0x12')]),_0x33cf50=_0x159ad1[_0x310e('0x3c')](_0x5b8cf3),_0x43be50=_0x5b8cf3[0x0]['findAncestor'](_0x310e('0x18')),_0x5c2602=_0x43be50['getAttribute'](_0x310e('0x30'))||0x0,_0x4c5df8=_0x282693&&null!==_0x282693['forceValue']?_0x282693[_0x310e('0x1e')]:!_0x1f97f4['commands'][_0x310e('0x33')](_0x310e('0x47'))[_0x310e('0x6')];let _0x5babfc;const _0x4547ed=_0x43be50[_0x310e('0x41')](0x0),_0x696284=_0x4c5df8?_0x33cf50[_0x310e('0x2e')]:_0x33cf50[_0x310e('0x36')],_0x1f1f55=_0x159ad1[_0x310e('0x4a')](_0x43be50,{'startRow':0x0,'column':_0x696284,'includeAllSlots':!0x1}),_0x431caf=Array['from'](_0x1f1f55)[0x0]['cell'];if(_0x4c5df8){const _0x2c0e5d=_0x4547ed[_0x310e('0x41')](_0x5c2602);if(_0x431caf[_0x310e('0x4d')](_0x2c0e5d))return;_0x5babfc=_0x1f97f4[_0x310e('0x1c')]['createRange'](_0x1f97f4[_0x310e('0x1c')][_0x310e('0x37')](_0x2c0e5d),_0x1f97f4[_0x310e('0x1c')][_0x310e('0x2f')](_0x431caf));}else{const _0x32bac2=_0x4547ed[_0x310e('0x41')](_0x5c2602-0x1);if(!_0x32bac2)return;_0x5babfc=_0x1f97f4['model'][_0x310e('0x2b')](_0x1f97f4['model'][_0x310e('0x37')](_0x431caf),_0x1f97f4['model']['createPositionAfter'](_0x32bac2));}_0x1f97f4[_0x310e('0x1c')][_0x310e('0x14')](()=>{_0x44d0a0[_0x310e('0x26')](_0x5babfc,{'commandName':'setTableColumnHeader','commandParams':[{'forceValue':_0x4c5df8}]},[],'setTableColumnHeader');});}),_0x1f97f4[_0x310e('0x10')][_0x310e('0x24')]['on'](_0x310e('0x5'),_0x20b0c2(),{'priority':_0x310e('0x1b')}),_0x1f97f4[_0x310e('0x22')][_0x310e('0x24')]['on']('addMarker:suggestion',(_0x4c31e7,_0x5a4fee,_0x23cdf6)=>{_0x23cdf6['options'][_0x310e('0x1f')]&&_0x20b0c2({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x4c31e7,_0x5a4fee,_0x23cdf6);},{'priority':_0x310e('0x1b')}),_0x1f97f4[_0x310e('0x10')][_0x310e('0x24')]['on'](_0x310e('0x1d'),(_0x56fab5,_0x171322,_0x553e31)=>{const {type:_0x23d2b7,id:_0x167acb}=_0x44d0a0['_splitMarkerName'](_0x171322[_0x310e('0x2')]),_0x51cf33=_0x44d0a0[_0x310e('0x28')](_0x167acb);if(!_0x51cf33[_0x310e('0x22')]||'setTableColumnHeader'!=_0x51cf33[_0x310e('0x22')][_0x310e('0x3a')])return;const _0x5d4f8e=_0x553e31[_0x310e('0x3')][_0x310e('0x2a')](_0x171322[_0x310e('0x2')]);if(_0x5d4f8e)for(const _0x4d8d21 of _0x5d4f8e)_0x553e31['writer'][_0x310e('0x15')](_0x310e('0x0')+_0x23d2b7,_0x4d8d21),_0x553e31[_0x310e('0x3e')][_0x310e('0x15')]('ck-suggestion-marker--active',_0x4d8d21),_0x553e31[_0x310e('0x3e')][_0x310e('0x19')](_0x310e('0x40'),_0x4d8d21),_0x553e31[_0x310e('0x3')]['unbindElementFromMarkerName'](_0x4d8d21,_0x171322['markerName']);},{'priority':_0x310e('0x1b')}),_0x44d0a0[_0x310e('0x1a')][_0x310e('0x16')](_0x397285=>{const {data:_0x430450}=_0x397285;if(_0x430450){if(_0x310e('0xe')==_0x430450['commandName']){const _0xe6fd6d=_0x430450[_0x310e('0x25')][0x0][_0x310e('0x1e')];return _0x4b1eed(_0x33167d(_0x55682f,_0xe6fd6d?'FORMAT_HEADER_ROW':_0x310e('0x27')));}if(_0x310e('0x47')==_0x430450['commandName']){const _0xbf8219=_0x430450[_0x310e('0x25')][0x0][_0x310e('0x1e')];return _0x4b1eed(_0x33167d(_0x55682f,_0xbf8219?_0x310e('0x13'):_0x310e('0x1')));}}function _0x4b1eed(_0x4e768b){return{'type':'format','content':_0x33167d(_0x55682f,_0x310e('0x31'),_0x4e768b)};}});const _0x1d8724=_0x44c94d[_0x310e('0x8')]();_0x44d0a0[_0x310e('0x32')][_0x310e('0xb')](_0x310e('0xa'),_0x310e('0xe'),_0x310e('0x42'),_0x1d8724),_0x44d0a0[_0x310e('0x32')]['registerCustomCallback']('formatBlock',_0x310e('0x47'),_0x310e('0x42'),_0x1d8724);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x451b=['add','tableCell','type','createRangeOn','containsRange','find','getSuggestions','has','author','commandName','enableCommand','markMultiRangeBlockFormat','_descriptionFactory','model','mergeTableCellDown','editor','*Split\x20cell:*\x20vertically','mergeTableCellLeft','*Split\x20cell:*\x20horizontally','splitTableCellVertically','execute','_suggestionFactory','mergeTableCellUp','length','splitTableCellHorizontally','insertion','element','refresh','*Merge\x20cells*','root','plugins','TableUtils','_tablePostFixingSubtypes','format','horizontally','TrackChangesEditing','afterInit','requires','formatBlock','markBlockFormat','getCellLocation','push','get','commands','_acceptFormatSuggestionCallbackFactory','document','trackChanges','rootName','_areMergableCells','change','detach','deletion','selection','createTableWalker','getFirstPosition','table','from','cell','setSelection','low','isEnabled','getAncestors','mergeTableCells','map','size','filter','isInContent','mergeTableCellRight','getSelectionAffectedTableCells','value','accept','direction','forceDefaultExecution','stop','getRanges','registerCustomCallback'];(function(_0x163238,_0x451b4b){const _0x5e104d=function(_0x3d8c30){while(--_0x3d8c30){_0x163238['push'](_0x163238['shift']());}};_0x5e104d(++_0x451b4b);}(_0x451b,0xc1));const _0x5e10=function(_0x163238,_0x451b4b){_0x163238=_0x163238-0x0;let _0x5e104d=_0x451b[_0x163238];return _0x5e104d;};import{Plugin as _0x256b2b}from'ckeditor5/src/core';import _0x53cb95 from'./table';import{LiveRange as _0x358e76}from'ckeditor5/src/engine';import{getTranslation as _0x5d88ac}from'../utils/common-translations';export default class pt extends _0x256b2b{static get[_0x5e10('0x48')](){return[_0x53cb95];}[_0x5e10('0x47')](){const _0x371e5f=this[_0x5e10('0x32')],_0x2b595e=_0x371e5f[_0x5e10('0x30')][_0x5e10('0x4')]['selection'],_0x43ab1c=_0x371e5f['locale'];if(!_0x371e5f[_0x5e10('0x41')][_0x5e10('0x2a')]('TableEditing'))return;const _0x5b949e=_0x371e5f[_0x5e10('0x41')][_0x5e10('0x1')](_0x5e10('0x46')),_0x4a8cc3=_0x371e5f[_0x5e10('0x41')][_0x5e10('0x1')](_0x5e10('0x42')),_0x55a176=_0x371e5f[_0x5e10('0x41')][_0x5e10('0x1')](_0x53cb95);_0x55a176[_0x5e10('0x43')][_0x5e10('0x0')]('mergeTableCells'),_0x5b949e['enableCommand'](_0x5e10('0x15'),()=>{const _0x510596=_0x4a8cc3[_0x5e10('0x1b')](_0x371e5f[_0x5e10('0x30')]['document'][_0x5e10('0xb')]);_0x371e5f[_0x5e10('0x30')]['change'](()=>{_0x5b949e[_0x5e10('0x2e')](_0x510596,{'commandName':_0x5e10('0x15'),'commandParams':[]},[],'mergeTableCells');});}),_0x371e5f[_0x5e10('0x2')][_0x5e10('0x1')](_0x5e10('0x15'))['on'](_0x5e10('0x37'),(_0x330543,_0xf42b19)=>{_0x371e5f[_0x5e10('0x2')][_0x5e10('0x1')](_0x5e10('0x5'))[_0x5e10('0x1c')]&&(_0xf42b19['length']>0x0&&_0xf42b19[_0xf42b19[_0x5e10('0x3a')]-0x1]&&_0xf42b19[_0xf42b19[_0x5e10('0x3a')]-0x1][_0x5e10('0x1f')]||_0x5b949e['_isForcedDefaultExecutionBlock']||this['_areSelectedCellsMergable']()||_0x330543[_0x5e10('0x20')]());},{'priority':'highest'});for(const _0x5af327 of[_0x5e10('0x39'),_0x5e10('0x1a'),_0x5e10('0x31'),'mergeTableCellLeft']){const _0x1defa9=_0x371e5f['commands'][_0x5e10('0x1')](_0x5af327);_0x5b949e[_0x5e10('0x2d')](_0x5af327,()=>{const _0x5437e9=_0x371e5f[_0x5e10('0x30')][_0x5e10('0x4')]['selection'][_0x5e10('0xd')]()[_0x5e10('0x14')]()[_0x5e10('0x28')](_0x3eadeb=>_0x3eadeb['is'](_0x5e10('0x3d'),_0x5e10('0x24'))),_0x2ebc07=_0x1defa9['value'];_0x371e5f['model'][_0x5e10('0x8')](()=>{_0x5b949e[_0x5e10('0x2e')]([_0x5437e9,_0x2ebc07],{'commandName':_0x5e10('0x15'),'commandParams':[]},[],_0x5e10('0x15'));});});}for(const _0xc39fd2 of[_0x5e10('0x36'),'splitTableCellHorizontally']){const _0x342925=_0x371e5f[_0x5e10('0x2')]['get'](_0xc39fd2);_0x5b949e['enableCommand'](_0xc39fd2,()=>{const _0x419198=_0x4a8cc3[_0x5e10('0x1b')](_0x371e5f['model'][_0x5e10('0x4')]['selection'])[0x0],_0x56b539=_0x419198['findAncestor'](_0x5e10('0xe')),{column:_0x852944,row:_0x3991a3}=_0x4a8cc3[_0x5e10('0x4b')](_0x419198);let _0x15ab31=[];if(_0x5e10('0x45')==_0x342925[_0x5e10('0x1e')]){const _0xecb404=_0x4a8cc3[_0x5e10('0xc')](_0x56b539,{'startRow':_0x3991a3,'endRow':_0x3991a3,'includeAllSlots':!0x0});_0x15ab31=Array[_0x5e10('0xf')](_0xecb404)[_0x5e10('0x16')](_0xbe0e4e=>_0xbe0e4e[_0x5e10('0x10')]);}else{const _0x44d20e=_0x4a8cc3[_0x5e10('0xc')](_0x56b539,{'column':_0x852944,'includeAllSlots':!0x0});_0x15ab31=Array['from'](_0x44d20e)[_0x5e10('0x16')](_0x4b0eb2=>_0x4b0eb2['cell']);}_0x371e5f[_0x5e10('0x30')]['change'](_0x2fb598=>{_0x5b949e[_0x5e10('0x4a')](_0x2fb598['createRangeOn'](_0x419198),{'commandName':_0xc39fd2,'commandParams':[]},_0x15ab31,_0xc39fd2);});});}_0x5b949e[_0x5e10('0x2f')]['registerDescriptionCallback'](_0x5839e4=>{const {data:_0x31352d}=_0x5839e4;if(_0x31352d)return _0x5e10('0x15')==_0x31352d[_0x5e10('0x2c')]?{'type':_0x5e10('0x44'),'content':_0x5d88ac(_0x43ab1c,_0x5e10('0x3f'))}:void 0x0;}),_0x5b949e[_0x5e10('0x2f')]['registerDescriptionCallback'](_0xc59cc4=>{const {data:_0x534e9a}=_0xc59cc4;if(_0x534e9a)return'splitTableCellVertically'==_0x534e9a[_0x5e10('0x2c')]?{'type':_0x5e10('0x44'),'content':_0x5d88ac(_0x43ab1c,_0x5e10('0x33'))}:_0x5e10('0x3b')==_0x534e9a['commandName']?{'type':_0x5e10('0x44'),'content':_0x5d88ac(_0x43ab1c,_0x5e10('0x35'))}:void 0x0;});const _0x27572a=_0x55a176[_0x5e10('0x3')]();for(const _0x3157e1 of[_0x5e10('0x39'),'mergeTableCellRight',_0x5e10('0x31'),_0x5e10('0x34')])_0x5b949e[_0x5e10('0x38')][_0x5e10('0x22')](_0x5e10('0x49'),_0x3157e1,'accept',_0x27572a);for(const _0x32d234 of[_0x5e10('0x36'),_0x5e10('0x3b')])_0x5b949e[_0x5e10('0x38')][_0x5e10('0x22')]('formatBlock',_0x32d234,_0x5e10('0x1d'),_0x27572a);_0x5b949e[_0x5e10('0x38')][_0x5e10('0x22')](_0x5e10('0x49'),_0x5e10('0x15'),_0x5e10('0x1d'),_0x9a89b5=>{_0x371e5f[_0x5e10('0x30')][_0x5e10('0x8')](_0x57b0f8=>{const _0x2b48ff=Array[_0x5e10('0xf')](_0x2b595e[_0x5e10('0x21')]())[_0x5e10('0x16')](_0x37f3b2=>_0x358e76['fromRange'](_0x37f3b2));_0x57b0f8[_0x5e10('0x11')](_0x9a89b5),_0x371e5f['commands']['get']('mergeTableCells')[_0x5e10('0x3e')](),_0x371e5f[_0x5e10('0x37')](_0x5e10('0x15'),{'forceDefaultExecution':!0x0});const _0xfb13ed=_0x2b48ff[_0x5e10('0x18')](_0x4b0e9b=>'$graveyard'!=_0x4b0e9b[_0x5e10('0x40')][_0x5e10('0x6')]);_0xfb13ed['length']>0x0&&_0x57b0f8['setSelection'](_0xfb13ed);for(const _0x2155a1 of _0x2b48ff)_0x2155a1[_0x5e10('0x9')]();});});for(const _0x2b95b3 of[_0x5e10('0x39'),_0x5e10('0x31'),_0x5e10('0x34'),_0x5e10('0x1a')]){const _0x3c31b2=_0x371e5f[_0x5e10('0x2')]['get'](_0x2b95b3);_0x3c31b2['on']('set:isEnabled',(_0x41d211,_0x3defcf,_0x328edf)=>{if(_0x328edf){const _0x1f5d7d=_0x371e5f[_0x5e10('0x30')][_0x5e10('0x4')]['selection'][_0x5e10('0xd')]()['getAncestors']()[_0x5e10('0x28')](_0x3856e8=>_0x3856e8['is'](_0x5e10('0x3d'),_0x5e10('0x24')));this[_0x5e10('0x7')](_0x3c31b2['value'],_0x1f5d7d)||(_0x41d211['return']=!0x1,_0x41d211[_0x5e10('0x20')]());}},{'priority':_0x5e10('0x12')});}}['_areSelectedCellsMergable'](){const _0x3f4abe=this[_0x5e10('0x32')][_0x5e10('0x2')]['get'](_0x5e10('0x15')),_0xd8f81d=this[_0x5e10('0x32')]['plugins']['get']('TableUtils');if(!_0x3f4abe[_0x5e10('0x13')])return!0x1;const _0x5e5106=_0xd8f81d[_0x5e10('0x1b')](this[_0x5e10('0x32')][_0x5e10('0x30')][_0x5e10('0x4')][_0x5e10('0xb')]);for(const _0x3a5ec8 of _0x5e5106)for(const _0x17ce51 of _0x5e5106)if(_0x3a5ec8!=_0x17ce51&&!this['_areMergableCells'](_0x3a5ec8,_0x17ce51))return!0x1;return!0x0;}['_areMergableCells'](_0x1c2e00,_0x8864b){const _0x474e11=this[_0x5e10('0x32')][_0x5e10('0x41')][_0x5e10('0x1')](_0x5e10('0x46')),_0x5e5cf7=this[_0x5e10('0x32')][_0x5e10('0x30')][_0x5e10('0x26')](_0x1c2e00),_0x201e26=this[_0x5e10('0x32')][_0x5e10('0x30')][_0x5e10('0x26')](_0x8864b),_0x456880=new Set(),_0x10b6b8=new Set();for(const _0x415ec6 of _0x474e11[_0x5e10('0x29')]())if((_0x5e10('0x3c')==_0x415ec6['type']||_0x5e10('0xa')==_0x415ec6['type']||_0x5e10('0x15')==_0x415ec6['subType'])&&_0x415ec6[_0x5e10('0x19')])for(const _0x1ce92d of _0x415ec6[_0x5e10('0x21')]())_0x1ce92d[_0x5e10('0x27')](_0x5e5cf7,!0x0)&&_0x456880[_0x5e10('0x23')](_0x415ec6[_0x5e10('0x25')]+':'+_0x415ec6['author']['id']),_0x1ce92d[_0x5e10('0x27')](_0x201e26,!0x0)&&_0x10b6b8['add'](_0x415ec6[_0x5e10('0x25')]+':'+_0x415ec6[_0x5e10('0x2b')]['id']);if(_0x456880['size']!=_0x10b6b8[_0x5e10('0x17')])return!0x1;for(const _0x11c8b5 of _0x456880)if(!_0x10b6b8[_0x5e10('0x2a')](_0x11c8b5))return!0x1;return!0x0;}}
23
+ const _0x28dc=['TrackChangesEditing','change','afterInit','mergeTableCellLeft','model','*Split\x20cell:*\x20vertically','refresh','splitTableCellHorizontally','getAncestors','tableCell','mergeTableCellUp','detach','mergeTableCellRight','has','registerDescriptionCallback','author','commands','markMultiRangeBlockFormat','*Merge\x20cells*','_acceptFormatSuggestionCallbackFactory','mergeTableCells','from','highest','mergeTableCellDown','getFirstPosition','forceDefaultExecution','cell','enableCommand','containsRange','type','createRangeOn','trackChanges','TableUtils','_areSelectedCellsMergable','subType','document','plugins','TableEditing','_areMergableCells','length','stop','map','value','getCellLocation','return','format','getSelectionAffectedTableCells','accept','setSelection','table','root','execute','getSuggestions','size','push','requires','filter','get','formatBlock','find','_suggestionFactory','isEnabled','element','fromRange','commandName','add','_descriptionFactory','isInContent','editor','getRanges','splitTableCellVertically','insertion','registerCustomCallback','set:isEnabled','selection'];(function(_0x696fc4,_0x28dcd9){const _0x491370=function(_0x1070b4){while(--_0x1070b4){_0x696fc4['push'](_0x696fc4['shift']());}};_0x491370(++_0x28dcd9);}(_0x28dc,0x7f));const _0x4913=function(_0x696fc4,_0x28dcd9){_0x696fc4=_0x696fc4-0x0;let _0x491370=_0x28dc[_0x696fc4];return _0x491370;};import{Plugin as _0x38ab99}from'ckeditor5/src/core';import _0x11e873 from'./table';import{LiveRange as _0x169a45}from'ckeditor5/src/engine';import{getTranslation as _0x20a34c}from'../utils/common-translations';export default class pt extends _0x38ab99{static get[_0x4913('0x3')](){return[_0x11e873];}[_0x4913('0x19')](){const _0x14da6b=this[_0x4913('0x10')],_0x418386=_0x14da6b[_0x4913('0x1b')][_0x4913('0x3a')][_0x4913('0x16')],_0x537950=_0x14da6b['locale'];if(!_0x14da6b[_0x4913('0x3b')][_0x4913('0x24')](_0x4913('0x3c')))return;const _0x3743b2=_0x14da6b[_0x4913('0x3b')][_0x4913('0x5')](_0x4913('0x17')),_0x1f5835=_0x14da6b['plugins'][_0x4913('0x5')](_0x4913('0x37')),_0x506b54=_0x14da6b[_0x4913('0x3b')][_0x4913('0x5')](_0x11e873);_0x506b54['_tablePostFixingSubtypes'][_0x4913('0x2')](_0x4913('0x2b')),_0x3743b2[_0x4913('0x32')]('mergeTableCells',()=>{const _0x37aaa7=_0x1f5835['getSelectionAffectedTableCells'](_0x14da6b[_0x4913('0x1b')][_0x4913('0x3a')]['selection']);_0x14da6b[_0x4913('0x1b')][_0x4913('0x18')](()=>{_0x3743b2[_0x4913('0x28')](_0x37aaa7,{'commandName':_0x4913('0x2b'),'commandParams':[]},[],_0x4913('0x2b'));});}),_0x14da6b[_0x4913('0x27')][_0x4913('0x5')](_0x4913('0x2b'))['on']('execute',(_0x4ff25c,_0x281c42)=>{_0x14da6b[_0x4913('0x27')]['get'](_0x4913('0x36'))[_0x4913('0x41')]&&(_0x281c42[_0x4913('0x3e')]>0x0&&_0x281c42[_0x281c42[_0x4913('0x3e')]-0x1]&&_0x281c42[_0x281c42[_0x4913('0x3e')]-0x1][_0x4913('0x30')]||_0x3743b2['_isForcedDefaultExecutionBlock']||this[_0x4913('0x38')]()||_0x4ff25c['stop']());},{'priority':_0x4913('0x2d')});for(const _0x19c64f of['mergeTableCellUp','mergeTableCellRight',_0x4913('0x2e'),_0x4913('0x1a')]){const _0x47e701=_0x14da6b['commands']['get'](_0x19c64f);_0x3743b2[_0x4913('0x32')](_0x19c64f,()=>{const _0x400360=_0x14da6b['model'][_0x4913('0x3a')][_0x4913('0x16')]['getFirstPosition']()[_0x4913('0x1f')]()[_0x4913('0x7')](_0x3e8678=>_0x3e8678['is'](_0x4913('0xa'),_0x4913('0x20'))),_0x36bff8=_0x47e701[_0x4913('0x41')];_0x14da6b[_0x4913('0x1b')][_0x4913('0x18')](()=>{_0x3743b2[_0x4913('0x28')]([_0x400360,_0x36bff8],{'commandName':_0x4913('0x2b'),'commandParams':[]},[],_0x4913('0x2b'));});});}for(const _0x372ea0 of[_0x4913('0x12'),_0x4913('0x1e')]){const _0x3394ae=_0x14da6b[_0x4913('0x27')][_0x4913('0x5')](_0x372ea0);_0x3743b2[_0x4913('0x32')](_0x372ea0,()=>{const _0x5ed722=_0x1f5835[_0x4913('0x45')](_0x14da6b['model'][_0x4913('0x3a')]['selection'])[0x0],_0x136ef9=_0x5ed722['findAncestor'](_0x4913('0x48')),{column:_0x46db6b,row:_0x1bd69c}=_0x1f5835[_0x4913('0x42')](_0x5ed722);let _0x34fcf5=[];if('horizontally'==_0x3394ae['direction']){const _0x365a6d=_0x1f5835['createTableWalker'](_0x136ef9,{'startRow':_0x1bd69c,'endRow':_0x1bd69c,'includeAllSlots':!0x0});_0x34fcf5=Array[_0x4913('0x2c')](_0x365a6d)['map'](_0x28aeb6=>_0x28aeb6[_0x4913('0x31')]);}else{const _0x1605e1=_0x1f5835['createTableWalker'](_0x136ef9,{'column':_0x46db6b,'includeAllSlots':!0x0});_0x34fcf5=Array[_0x4913('0x2c')](_0x1605e1)[_0x4913('0x40')](_0xfecf75=>_0xfecf75[_0x4913('0x31')]);}_0x14da6b[_0x4913('0x1b')]['change'](_0x212f69=>{_0x3743b2['markBlockFormat'](_0x212f69[_0x4913('0x35')](_0x5ed722),{'commandName':_0x372ea0,'commandParams':[]},_0x34fcf5,_0x372ea0);});});}_0x3743b2[_0x4913('0xe')][_0x4913('0x25')](_0x3f0268=>{const {data:_0x364a76}=_0x3f0268;if(_0x364a76)return _0x4913('0x2b')==_0x364a76['commandName']?{'type':_0x4913('0x44'),'content':_0x20a34c(_0x537950,_0x4913('0x29'))}:void 0x0;}),_0x3743b2['_descriptionFactory'][_0x4913('0x25')](_0x15228f=>{const {data:_0x5ea7cb}=_0x15228f;if(_0x5ea7cb)return _0x4913('0x12')==_0x5ea7cb[_0x4913('0xc')]?{'type':_0x4913('0x44'),'content':_0x20a34c(_0x537950,_0x4913('0x1c'))}:'splitTableCellHorizontally'==_0x5ea7cb['commandName']?{'type':_0x4913('0x44'),'content':_0x20a34c(_0x537950,'*Split\x20cell:*\x20horizontally')}:void 0x0;});const _0x26a886=_0x506b54[_0x4913('0x2a')]();for(const _0x44b985 of['mergeTableCellUp','mergeTableCellRight',_0x4913('0x2e'),_0x4913('0x1a')])_0x3743b2[_0x4913('0x8')][_0x4913('0x14')](_0x4913('0x6'),_0x44b985,_0x4913('0x46'),_0x26a886);for(const _0x496dd5 of[_0x4913('0x12'),_0x4913('0x1e')])_0x3743b2[_0x4913('0x8')]['registerCustomCallback'](_0x4913('0x6'),_0x496dd5,_0x4913('0x46'),_0x26a886);_0x3743b2[_0x4913('0x8')][_0x4913('0x14')](_0x4913('0x6'),_0x4913('0x2b'),_0x4913('0x46'),_0x122604=>{_0x14da6b[_0x4913('0x1b')][_0x4913('0x18')](_0xad7c5c=>{const _0x4fdf88=Array[_0x4913('0x2c')](_0x418386[_0x4913('0x11')]())['map'](_0x52e016=>_0x169a45[_0x4913('0xb')](_0x52e016));_0xad7c5c[_0x4913('0x47')](_0x122604),_0x14da6b[_0x4913('0x27')][_0x4913('0x5')](_0x4913('0x2b'))[_0x4913('0x1d')](),_0x14da6b[_0x4913('0x4a')](_0x4913('0x2b'),{'forceDefaultExecution':!0x0});const _0x563f23=_0x4fdf88[_0x4913('0x4')](_0x565586=>'$graveyard'!=_0x565586[_0x4913('0x49')]['rootName']);_0x563f23[_0x4913('0x3e')]>0x0&&_0xad7c5c[_0x4913('0x47')](_0x563f23);for(const _0x2126e7 of _0x4fdf88)_0x2126e7[_0x4913('0x22')]();});});for(const _0x1fb6e1 of[_0x4913('0x21'),_0x4913('0x2e'),'mergeTableCellLeft',_0x4913('0x23')]){const _0x454692=_0x14da6b['commands'][_0x4913('0x5')](_0x1fb6e1);_0x454692['on'](_0x4913('0x15'),(_0x562516,_0x44b446,_0x432d35)=>{if(_0x432d35){const _0x12fc16=_0x14da6b['model'][_0x4913('0x3a')][_0x4913('0x16')][_0x4913('0x2f')]()[_0x4913('0x1f')]()['find'](_0x3672a0=>_0x3672a0['is'](_0x4913('0xa'),_0x4913('0x20')));this[_0x4913('0x3d')](_0x454692['value'],_0x12fc16)||(_0x562516[_0x4913('0x43')]=!0x1,_0x562516[_0x4913('0x3f')]());}},{'priority':'low'});}}['_areSelectedCellsMergable'](){const _0x26609d=this[_0x4913('0x10')]['commands']['get']('mergeTableCells'),_0x32efc3=this[_0x4913('0x10')][_0x4913('0x3b')]['get'](_0x4913('0x37'));if(!_0x26609d[_0x4913('0x9')])return!0x1;const _0x4ea6cd=_0x32efc3['getSelectionAffectedTableCells'](this[_0x4913('0x10')][_0x4913('0x1b')][_0x4913('0x3a')][_0x4913('0x16')]);for(const _0x162285 of _0x4ea6cd)for(const _0x485dd0 of _0x4ea6cd)if(_0x162285!=_0x485dd0&&!this['_areMergableCells'](_0x162285,_0x485dd0))return!0x1;return!0x0;}[_0x4913('0x3d')](_0x66b32f,_0x3afa1a){const _0x5610dd=this[_0x4913('0x10')][_0x4913('0x3b')][_0x4913('0x5')](_0x4913('0x17')),_0x813047=this[_0x4913('0x10')]['model']['createRangeOn'](_0x66b32f),_0x1ffb76=this[_0x4913('0x10')]['model'][_0x4913('0x35')](_0x3afa1a),_0x36e1c2=new Set(),_0x59eda4=new Set();for(const _0x39a3d6 of _0x5610dd[_0x4913('0x0')]())if((_0x4913('0x13')==_0x39a3d6['type']||'deletion'==_0x39a3d6[_0x4913('0x34')]||_0x4913('0x2b')==_0x39a3d6[_0x4913('0x39')])&&_0x39a3d6[_0x4913('0xf')])for(const _0x3d92f9 of _0x39a3d6[_0x4913('0x11')]())_0x3d92f9[_0x4913('0x33')](_0x813047,!0x0)&&_0x36e1c2[_0x4913('0xd')](_0x39a3d6['type']+':'+_0x39a3d6['author']['id']),_0x3d92f9['containsRange'](_0x1ffb76,!0x0)&&_0x59eda4[_0x4913('0xd')](_0x39a3d6[_0x4913('0x34')]+':'+_0x39a3d6[_0x4913('0x26')]['id']);if(_0x36e1c2[_0x4913('0x1')]!=_0x59eda4[_0x4913('0x1')])return!0x1;for(const _0x4b9495 of _0x36e1c2)if(!_0x59eda4[_0x4913('0x24')](_0x4b9495))return!0x1;return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x28e5=['commands','plugins','editor','get','insertTableOfContents','_descriptionFactory','enableCommand','TrackChangesEditing','ELEMENT_TABLE_OF_CONTENTS','locale','registerElementLabel','tableOfContents'];(function(_0x2092c7,_0x28e53d){const _0x1f7ce9=function(_0x3a0930){while(--_0x3a0930){_0x2092c7['push'](_0x2092c7['shift']());}};_0x1f7ce9(++_0x28e53d);}(_0x28e5,0xec));const _0x1f7c=function(_0x2092c7,_0x28e53d){_0x2092c7=_0x2092c7-0x0;let _0x1f7ce9=_0x28e5[_0x2092c7];return _0x1f7ce9;};import{Plugin as _0x44a80b}from'ckeditor5/src/core';import{getTranslation as _0x2c2a90}from'../utils/common-translations';export default class St extends _0x44a80b{['afterInit'](){const _0x28a579=this[_0x1f7c('0x6')];if(!_0x28a579[_0x1f7c('0x4')]['get'](_0x1f7c('0x8')))return;_0x28a579[_0x1f7c('0x5')][_0x1f7c('0x7')](_0x1f7c('0xb'))[_0x1f7c('0xa')]('insertTableOfContents');const _0x200976=_0x28a579[_0x1f7c('0x5')][_0x1f7c('0x7')]('TrackChangesEditing'),_0x110f08=_0x28a579[_0x1f7c('0x1')];_0x200976[_0x1f7c('0x9')][_0x1f7c('0x2')](_0x1f7c('0x3'),_0x5a175e=>_0x2c2a90(_0x110f08,_0x1f7c('0x0'),_0x5a175e));}}
23
+ const _0x4061=['enableCommand','_descriptionFactory','tableOfContents','insertTableOfContents','afterInit','registerElementLabel','editor','TrackChangesEditing','get'];(function(_0x42aa7,_0x4061ba){const _0x3b1755=function(_0x3b23a4){while(--_0x3b23a4){_0x42aa7['push'](_0x42aa7['shift']());}};_0x3b1755(++_0x4061ba);}(_0x4061,0x65));const _0x3b17=function(_0x42aa7,_0x4061ba){_0x42aa7=_0x42aa7-0x0;let _0x3b1755=_0x4061[_0x42aa7];return _0x3b1755;};import{Plugin as _0xd05785}from'ckeditor5/src/core';import{getTranslation as _0x303311}from'../utils/common-translations';export default class St extends _0xd05785{[_0x3b17('0x2')](){const _0x11999a=this[_0x3b17('0x4')];if(!_0x11999a['commands']['get'](_0x3b17('0x1')))return;_0x11999a['plugins'][_0x3b17('0x6')](_0x3b17('0x5'))[_0x3b17('0x7')](_0x3b17('0x1'));const _0x4b5404=_0x11999a['plugins'][_0x3b17('0x6')]('TrackChangesEditing'),_0x5ca915=_0x11999a['locale'];_0x4b5404[_0x3b17('0x8')][_0x3b17('0x3')](_0x3b17('0x0'),_0x5514d9=>_0x303311(_0x5ca915,'ELEMENT_TABLE_OF_CONTENTS',_0x5514d9));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2f0e=['discard','formatBlock','TableCellPropertiesEditing','join','start','selection','data','tableBackgroundColor','editor','_suggestionFactory','getSuggestionCallback','tableHeight','tableWidth','get','findAncestor','enableCommand','batch','getFirstPosition','handleSuggestionDescription','_getSuggestion','getSelectionAffectedTableCells','table','subType','tableBorderStyle','TablePropertiesEditing','tableCellHeight','enqueueChange','change','TrackChangesEditing','has','model','registerDescriptionCallback','tableCellPadding','removeAttribute','getAttribute','plugins','registerCustomCallback','handleDiscardAction','locale','getContainedElement','tableProperties','document','afterInit','_handlePropertyChange','tableCellBorderStyle','tableCellHorizontalAlignment','tableAlignment','tableCellBorderWidth','nodeAfter','commandParams','tableCellProperties','setAttribute','markBlockFormat'];(function(_0x162e54,_0x2f0e57){const _0x22fcd5=function(_0x355400){while(--_0x355400){_0x162e54['push'](_0x162e54['shift']());}};_0x22fcd5(++_0x2f0e57);}(_0x2f0e,0xc1));const _0x22fc=function(_0x162e54,_0x2f0e57){_0x162e54=_0x162e54-0x0;let _0x22fcd5=_0x2f0e[_0x162e54];return _0x22fcd5;};import{Plugin as _0x129cb7}from'ckeditor5/src/core';import{getTranslation as _0x3714b5}from'../utils/common-translations';export default class Dt extends _0x129cb7{constructor(_0x97c1e3){super(_0x97c1e3),this['tableProperties']=['tableBorderColor',_0x22fc('0x2a'),'tableBorderWidth',_0x22fc('0xc'),_0x22fc('0x1f'),_0x22fc('0x1e'),_0x22fc('0x1a')],this['tableCellProperties']=['tableCellBorderColor',_0x22fc('0xa'),_0x22fc('0xd'),_0x22fc('0x33'),'tableCellWidth',_0x22fc('0x2c'),'tableCellBackgroundColor',_0x22fc('0xb'),'tableCellVerticalAlignment'];}static get['pluginName'](){return'TrackChangesTableProperties';}[_0x22fc('0x8')](){const _0x15acc5=this[_0x22fc('0x1b')]['plugins'][_0x22fc('0x20')](_0x22fc('0x2f'));if(this[_0x22fc('0x1b')][_0x22fc('0x1')][_0x22fc('0x30')](_0x22fc('0x2b'))){for(const _0x16bde0 of this['tableProperties'])_0x15acc5['enableCommand'](_0x16bde0,(_0x29fbfd,_0x55f888)=>{const _0x3d5289=this[_0x22fc('0x1b')][_0x22fc('0x31')][_0x22fc('0x7')][_0x22fc('0x18')][_0x22fc('0x24')]()[_0x22fc('0x21')](_0x22fc('0x28'));this[_0x22fc('0x9')](_0x16bde0,[_0x3d5289],this[_0x22fc('0x6')],_0x22fc('0x6'),_0x29fbfd,_0x55f888);});_0x15acc5[_0x22fc('0x1c')][_0x22fc('0x2')](_0x22fc('0x14'),'tableProperties','accept',_0x15acc5[_0x22fc('0x1c')][_0x22fc('0x1d')](_0x22fc('0x14'),null,_0x22fc('0x13'))),_0x15acc5[_0x22fc('0x1c')][_0x22fc('0x2')](_0x22fc('0x14'),_0x22fc('0x6'),_0x22fc('0x13'),(_0x439a4f,_0x373349)=>this[_0x22fc('0x3')](this['tableProperties'],_0x439a4f,_0x373349)),_0x15acc5[_0x22fc('0x1c')]['registerCustomCallback'](_0x22fc('0x14'),'tableProperties',_0x22fc('0x16'),()=>!0x1);}if(this[_0x22fc('0x1b')][_0x22fc('0x1')]['has'](_0x22fc('0x15'))){for(const _0xd5b2ca of this[_0x22fc('0x10')])_0x15acc5[_0x22fc('0x22')](_0xd5b2ca,(_0x5a7cc8,_0x4d15c7)=>{const _0x3050c9=this[_0x22fc('0x1b')][_0x22fc('0x1')]['get']('TableUtils')[_0x22fc('0x27')](this[_0x22fc('0x1b')][_0x22fc('0x31')][_0x22fc('0x7')][_0x22fc('0x18')]);this[_0x22fc('0x9')](_0xd5b2ca,_0x3050c9,this[_0x22fc('0x10')],_0x22fc('0x10'),_0x5a7cc8,_0x4d15c7);});_0x15acc5[_0x22fc('0x1c')]['registerCustomCallback'](_0x22fc('0x14'),_0x22fc('0x10'),'accept',_0x15acc5['_suggestionFactory']['getSuggestionCallback']('formatBlock',null,'discard')),_0x15acc5[_0x22fc('0x1c')][_0x22fc('0x2')](_0x22fc('0x14'),_0x22fc('0x10'),_0x22fc('0x13'),(_0x5e8be8,_0x1f1ee5)=>this[_0x22fc('0x3')](this[_0x22fc('0x10')],_0x5e8be8,_0x1f1ee5)),_0x15acc5[_0x22fc('0x1c')]['registerCustomCallback']('formatBlock',_0x22fc('0x10'),'join',()=>!0x1);}_0x15acc5['_descriptionFactory'][_0x22fc('0x32')](_0x25d98b=>this[_0x22fc('0x25')](_0x25d98b));}[_0x22fc('0x9')](_0x1adb4b,_0x2a099e,_0xdc7bb1,_0x4a6e79,_0x1364e2,_0x5bface){const _0x4e725b=this[_0x22fc('0x1b')][_0x22fc('0x1')]['get'](_0x22fc('0x2f'));this[_0x22fc('0x1b')][_0x22fc('0x31')][_0x22fc('0x2d')](_0x5bface[_0x22fc('0x23')],()=>{for(const _0x2e6626 of _0x2a099e){if(this['_getSuggestion'](_0x2e6626,_0x4a6e79))_0x1364e2(_0x5bface);else{const _0x2cfdc2={};for(const _0x31c8c9 of _0xdc7bb1){const _0x590ef0=_0x2e6626[_0x22fc('0x0')](_0x31c8c9);void 0x0!==_0x590ef0&&(_0x2cfdc2[_0x31c8c9]=_0x590ef0);}_0x1364e2(_0x5bface),_0x4e725b[_0x22fc('0x12')](_0x2e6626,{'commandParams':[_0x2cfdc2]},[],_0x4a6e79);}}});}['handleDiscardAction'](_0x27d892,_0x26c002,_0x1fa4dc){const _0x405d2e=_0x26c002[0x0][_0x22fc('0x17')][_0x22fc('0xe')],_0x1daa9e=_0x1fa4dc[_0x22fc('0xf')][0x0];this['editor'][_0x22fc('0x31')][_0x22fc('0x2e')](_0x147d6b=>{for(const _0x504531 of _0x27d892)void 0x0!==_0x1daa9e[_0x504531]?_0x147d6b[_0x22fc('0x11')](_0x504531,_0x1daa9e[_0x504531],_0x405d2e):_0x147d6b[_0x22fc('0x34')](_0x504531,_0x405d2e);});}['handleSuggestionDescription'](_0x4be0da){if(_0x4be0da[_0x22fc('0x19')])switch(_0x4be0da[_0x22fc('0x29')]){case _0x22fc('0x6'):return{'type':'format','content':_0x3714b5(this[_0x22fc('0x1b')]['locale'],'*Format:*\x20change\x20table\x20properties')};case _0x22fc('0x10'):return{'type':'format','content':_0x3714b5(this[_0x22fc('0x1b')][_0x22fc('0x4')],'*Format:*\x20change\x20table\x20cell\x20properties')};}}[_0x22fc('0x26')](_0x2f600e,_0x22d097){const _0x14ca08=this[_0x22fc('0x1b')][_0x22fc('0x1')][_0x22fc('0x20')](_0x22fc('0x2f'));for(const _0x73573b of _0x14ca08['getSuggestions']({'skipNotAttached':!0x0})){const _0x41f2e1=_0x73573b[_0x22fc('0x5')]();if(_0x73573b[_0x22fc('0x29')]===_0x22d097&&_0x41f2e1===_0x2f600e)return _0x73573b;}return null;}}
23
+ const _0x29a0=['setAttribute','tableAlignment','accept','_getSuggestion','TrackChangesTableProperties','getContainedElement','handleSuggestionDescription','editor','tableCellHorizontalAlignment','tableBorderColor','enableCommand','tableCellBorderWidth','subType','tableCellProperties','getFirstPosition','tableCellBorderColor','tableProperties','change','formatBlock','findAncestor','TrackChangesEditing','getAttribute','plugins','model','tableHeight','enqueueChange','locale','nodeAfter','_suggestionFactory','tableCellVerticalAlignment','markBlockFormat','format','tableWidth','registerCustomCallback','getSuggestionCallback','TableCellPropertiesEditing','_handlePropertyChange','tableCellBackgroundColor','discard','has','selection','*Format:*\x20change\x20table\x20cell\x20properties','data','_descriptionFactory','getSelectionAffectedTableCells','join','*Format:*\x20change\x20table\x20properties','commandParams','handleDiscardAction','afterInit','tableCellBorderStyle','tableBorderWidth','document','get','TablePropertiesEditing','pluginName'];(function(_0x62eab,_0x29a0b4){const _0x53271a=function(_0x1477a3){while(--_0x1477a3){_0x62eab['push'](_0x62eab['shift']());}};_0x53271a(++_0x29a0b4);}(_0x29a0,0x65));const _0x5327=function(_0x62eab,_0x29a0b4){_0x62eab=_0x62eab-0x0;let _0x53271a=_0x29a0[_0x62eab];return _0x53271a;};import{Plugin as _0x407bad}from'ckeditor5/src/core';import{getTranslation as _0x53ef0e}from'../utils/common-translations';export default class Dt extends _0x407bad{constructor(_0x35fc09){super(_0x35fc09),this[_0x5327('0x1b')]=[_0x5327('0x14'),'tableBorderStyle',_0x5327('0x6'),_0x5327('0xc'),_0x5327('0x2b'),_0x5327('0x23'),'tableBackgroundColor'],this[_0x5327('0x18')]=[_0x5327('0x1a'),_0x5327('0x5'),_0x5327('0x16'),'tableCellPadding','tableCellWidth','tableCellHeight',_0x5327('0x30'),_0x5327('0x13'),_0x5327('0x28')];}static get[_0x5327('0xa')](){return _0x5327('0xf');}[_0x5327('0x4')](){const _0x191fb3=this[_0x5327('0x12')][_0x5327('0x21')][_0x5327('0x8')](_0x5327('0x1f'));if(this['editor'][_0x5327('0x21')][_0x5327('0x32')](_0x5327('0x9'))){for(const _0xa6fdbc of this[_0x5327('0x1b')])_0x191fb3['enableCommand'](_0xa6fdbc,(_0x2e0fbe,_0x3170e2)=>{const _0x4ba73b=this['editor'][_0x5327('0x22')][_0x5327('0x7')][_0x5327('0x33')][_0x5327('0x19')]()[_0x5327('0x1e')]('table');this[_0x5327('0x2f')](_0xa6fdbc,[_0x4ba73b],this[_0x5327('0x1b')],'tableProperties',_0x2e0fbe,_0x3170e2);});_0x191fb3[_0x5327('0x27')][_0x5327('0x2c')]('formatBlock','tableProperties',_0x5327('0xd'),_0x191fb3['_suggestionFactory'][_0x5327('0x2d')](_0x5327('0x1d'),null,_0x5327('0x31'))),_0x191fb3[_0x5327('0x27')][_0x5327('0x2c')](_0x5327('0x1d'),_0x5327('0x1b'),_0x5327('0x31'),(_0x3e8488,_0x4b14b7)=>this[_0x5327('0x3')](this['tableProperties'],_0x3e8488,_0x4b14b7)),_0x191fb3['_suggestionFactory'][_0x5327('0x2c')](_0x5327('0x1d'),_0x5327('0x1b'),_0x5327('0x0'),()=>!0x1);}if(this[_0x5327('0x12')][_0x5327('0x21')][_0x5327('0x32')](_0x5327('0x2e'))){for(const _0x48d8a7 of this['tableCellProperties'])_0x191fb3[_0x5327('0x15')](_0x48d8a7,(_0x1aecc4,_0x9ec0b7)=>{const _0x541b5c=this[_0x5327('0x12')]['plugins']['get']('TableUtils')[_0x5327('0x37')](this['editor'][_0x5327('0x22')][_0x5327('0x7')][_0x5327('0x33')]);this[_0x5327('0x2f')](_0x48d8a7,_0x541b5c,this[_0x5327('0x18')],_0x5327('0x18'),_0x1aecc4,_0x9ec0b7);});_0x191fb3['_suggestionFactory'][_0x5327('0x2c')](_0x5327('0x1d'),_0x5327('0x18'),_0x5327('0xd'),_0x191fb3[_0x5327('0x27')][_0x5327('0x2d')]('formatBlock',null,'discard')),_0x191fb3['_suggestionFactory'][_0x5327('0x2c')](_0x5327('0x1d'),_0x5327('0x18'),_0x5327('0x31'),(_0x9d4b7e,_0x15d9e8)=>this[_0x5327('0x3')](this[_0x5327('0x18')],_0x9d4b7e,_0x15d9e8)),_0x191fb3[_0x5327('0x27')]['registerCustomCallback'](_0x5327('0x1d'),_0x5327('0x18'),'join',()=>!0x1);}_0x191fb3[_0x5327('0x36')]['registerDescriptionCallback'](_0x6176e0=>this[_0x5327('0x11')](_0x6176e0));}[_0x5327('0x2f')](_0x5057da,_0x59611f,_0x311666,_0x5d44bb,_0x4af970,_0x22af04){const _0x35fd4b=this[_0x5327('0x12')][_0x5327('0x21')][_0x5327('0x8')](_0x5327('0x1f'));this[_0x5327('0x12')][_0x5327('0x22')][_0x5327('0x24')](_0x22af04['batch'],()=>{for(const _0x2ed084 of _0x59611f){if(this[_0x5327('0xe')](_0x2ed084,_0x5d44bb))_0x4af970(_0x22af04);else{const _0x421466={};for(const _0x3c1c27 of _0x311666){const _0x253dd5=_0x2ed084[_0x5327('0x20')](_0x3c1c27);void 0x0!==_0x253dd5&&(_0x421466[_0x3c1c27]=_0x253dd5);}_0x4af970(_0x22af04),_0x35fd4b[_0x5327('0x29')](_0x2ed084,{'commandParams':[_0x421466]},[],_0x5d44bb);}}});}[_0x5327('0x3')](_0x3f5121,_0x15e8fa,_0x4d8052){const _0x112d33=_0x15e8fa[0x0]['start'][_0x5327('0x26')],_0x51baef=_0x4d8052[_0x5327('0x2')][0x0];this[_0x5327('0x12')][_0x5327('0x22')][_0x5327('0x1c')](_0x31c7da=>{for(const _0x32c055 of _0x3f5121)void 0x0!==_0x51baef[_0x32c055]?_0x31c7da[_0x5327('0xb')](_0x32c055,_0x51baef[_0x32c055],_0x112d33):_0x31c7da['removeAttribute'](_0x32c055,_0x112d33);});}['handleSuggestionDescription'](_0x56ac28){if(_0x56ac28[_0x5327('0x35')])switch(_0x56ac28[_0x5327('0x17')]){case _0x5327('0x1b'):return{'type':_0x5327('0x2a'),'content':_0x53ef0e(this[_0x5327('0x12')][_0x5327('0x25')],_0x5327('0x1'))};case _0x5327('0x18'):return{'type':_0x5327('0x2a'),'content':_0x53ef0e(this[_0x5327('0x12')]['locale'],_0x5327('0x34'))};}}[_0x5327('0xe')](_0x1b01b1,_0x4524b4){const _0x2508e3=this['editor'][_0x5327('0x21')][_0x5327('0x8')](_0x5327('0x1f'));for(const _0x55fb5d of _0x2508e3['getSuggestions']({'skipNotAttached':!0x0})){const _0x350788=_0x55fb5d[_0x5327('0x10')]();if(_0x55fb5d[_0x5327('0x17')]===_0x4524b4&&_0x350788===_0x1b01b1)return _0x55fb5d;}return null;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5c90=['plugins','Template','has','insertTemplate','get','TrackChangesEditing'];(function(_0x212054,_0x5c905c){const _0x149963=function(_0x2256b2){while(--_0x2256b2){_0x212054['push'](_0x212054['shift']());}};_0x149963(++_0x5c905c);}(_0x5c90,0xef));const _0x1499=function(_0x212054,_0x5c905c){_0x212054=_0x212054-0x0;let _0x149963=_0x5c90[_0x212054];return _0x149963;};import{Plugin as _0x110395}from'ckeditor5/src/core';export default class bt extends _0x110395{['afterInit'](){const _0x4785ea=this['editor'];_0x4785ea[_0x1499('0x1')][_0x1499('0x3')](_0x1499('0x2'))&&_0x4785ea[_0x1499('0x1')][_0x1499('0x5')](_0x1499('0x0'))['enableCommand'](_0x1499('0x4'));}}
23
+ const _0x39dc=['insertTemplate','get','enableCommand','plugins','editor','has'];(function(_0x144b2c,_0x39dc80){const _0x279022=function(_0x41b425){while(--_0x41b425){_0x144b2c['push'](_0x144b2c['shift']());}};_0x279022(++_0x39dc80);}(_0x39dc,0xb9));const _0x2790=function(_0x144b2c,_0x39dc80){_0x144b2c=_0x144b2c-0x0;let _0x279022=_0x39dc[_0x144b2c];return _0x279022;};import{Plugin as _0x125797}from'ckeditor5/src/core';export default class bt extends _0x125797{['afterInit'](){const _0x1301d6=this[_0x2790('0x5')];_0x1301d6[_0x2790('0x4')][_0x2790('0x0')]('Template')&&_0x1301d6[_0x2790('0x4')][_0x2790('0x2')]('TrackChangesEditing')[_0x2790('0x3')](_0x2790('0x1'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2191=['newRange','suggestion','locale','isEqual','Title','isCollapsed','schema','isTouching','_descriptionFactory','createRange','TrackChangesEditing','from','differ','_splitMarkerName','start','forward','updateMarker','registerPostFixer','nodeBefore','registerElementLabel','getNearestSelectionRange','title-content','has','getChangedMarkers','plugins','editor','end','removeMarker','model','document','ELEMENT_TITLE','get'];(function(_0x51a324,_0x219196){const _0x15b874=function(_0x333de9){while(--_0x333de9){_0x51a324['push'](_0x51a324['shift']());}};_0x15b874(++_0x219196);}(_0x2191,0x1bb));const _0x15b8=function(_0x51a324,_0x219196){_0x51a324=_0x51a324-0x0;let _0x15b874=_0x2191[_0x51a324];return _0x15b874;};import{Plugin as _0x1ffecb}from'ckeditor5/src/core';import{getTranslation as _0x4b6cb0}from'../utils/common-translations';export default class It extends _0x1ffecb{['afterInit'](){const _0xb31e28=this[_0x15b8('0x1e')];if(!_0xb31e28[_0x15b8('0x1d')][_0x15b8('0x1b')](_0x15b8('0x9')))return;const _0x2543ea=_0xb31e28[_0x15b8('0x1d')][_0x15b8('0x4')](_0x15b8('0xf'));_0x2543ea[_0x15b8('0xd')][_0x15b8('0x18')](_0x15b8('0x1a'),()=>_0x4b6cb0(_0xb31e28[_0x15b8('0x7')],_0x15b8('0x3'))),_0xb31e28['model'][_0x15b8('0x2')][_0x15b8('0x16')](_0x1b6b86=>{let _0x813a79=!0x1;const _0x471c31=Array[_0x15b8('0x10')](_0xb31e28[_0x15b8('0x1')][_0x15b8('0x2')][_0x15b8('0x11')][_0x15b8('0x1c')]());for(const {name:_0x2ae187,data:_0x2d8633}of _0x471c31){const {group:_0x5230e2}=_0x2543ea[_0x15b8('0x12')](_0x2ae187);if(_0x15b8('0x6')!==_0x5230e2||!_0x2d8633[_0x15b8('0x5')])continue;const _0x3dfd20=_0x2d8633[_0x15b8('0x5')],_0x122b22=_0x3dfd20[_0x15b8('0x1f')][_0x15b8('0x17')];if(!_0x122b22||!_0x122b22['is']('element',_0x15b8('0x1a')))continue;if(!_0x3dfd20[_0x15b8('0x13')][_0x15b8('0xc')](_0x3dfd20[_0x15b8('0x1f')]))continue;const _0x1893f5=_0xb31e28[_0x15b8('0x1')][_0x15b8('0xb')][_0x15b8('0x19')](_0x3dfd20[_0x15b8('0x1f')],_0x15b8('0x14'));if(_0x1893f5&&_0x1893f5[_0x15b8('0xa')]){const _0x651312=_0x1b6b86[_0x15b8('0xe')](_0x3dfd20['start'],_0x1893f5['start']);_0x651312[_0x15b8('0x8')](_0x3dfd20)||(_0x1b6b86[_0x15b8('0x15')](_0x2ae187,{'range':_0x651312}),_0x813a79=!0x0);}_0x813a79||(_0x1b6b86[_0x15b8('0x0')](_0x2ae187),_0x813a79=!0x0);}return _0x813a79;});}}
23
+ const _0x11ef=['start','_splitMarkerName','document','model','get','plugins','title-content','removeMarker','isCollapsed','forward','_descriptionFactory','nodeBefore','afterInit','editor','has','updateMarker','TrackChangesEditing','locale','getNearestSelectionRange','newRange','element','isTouching','differ','end','registerElementLabel','createRange','registerPostFixer'];(function(_0x56e4fc,_0x11ef97){const _0x4bbec4=function(_0x3c49c1){while(--_0x3c49c1){_0x56e4fc['push'](_0x56e4fc['shift']());}};_0x4bbec4(++_0x11ef97);}(_0x11ef,0x1d1));const _0x4bbe=function(_0x56e4fc,_0x11ef97){_0x56e4fc=_0x56e4fc-0x0;let _0x4bbec4=_0x11ef[_0x56e4fc];return _0x4bbec4;};import{Plugin as _0x56dc24}from'ckeditor5/src/core';import{getTranslation as _0x5198ad}from'../utils/common-translations';export default class It extends _0x56dc24{[_0x4bbe('0x6')](){const _0x3c68e1=this[_0x4bbe('0x7')];if(!_0x3c68e1[_0x4bbe('0x1a')][_0x4bbe('0x8')]('Title'))return;const _0x1a5f42=_0x3c68e1[_0x4bbe('0x1a')][_0x4bbe('0x19')](_0x4bbe('0xa'));_0x1a5f42[_0x4bbe('0x4')][_0x4bbe('0x12')](_0x4bbe('0x0'),()=>_0x5198ad(_0x3c68e1[_0x4bbe('0xb')],'ELEMENT_TITLE')),_0x3c68e1[_0x4bbe('0x18')][_0x4bbe('0x17')][_0x4bbe('0x14')](_0x50e95c=>{let _0x434578=!0x1;const _0x34d4de=Array['from'](_0x3c68e1[_0x4bbe('0x18')]['document'][_0x4bbe('0x10')]['getChangedMarkers']());for(const {name:_0x41a513,data:_0x6b764d}of _0x34d4de){const {group:_0x47cc66}=_0x1a5f42[_0x4bbe('0x16')](_0x41a513);if('suggestion'!==_0x47cc66||!_0x6b764d['newRange'])continue;const _0x2d596a=_0x6b764d[_0x4bbe('0xd')],_0x339057=_0x2d596a[_0x4bbe('0x11')][_0x4bbe('0x5')];if(!_0x339057||!_0x339057['is'](_0x4bbe('0xe'),_0x4bbe('0x0')))continue;if(!_0x2d596a[_0x4bbe('0x15')][_0x4bbe('0xf')](_0x2d596a['end']))continue;const _0x5165e6=_0x3c68e1[_0x4bbe('0x18')]['schema'][_0x4bbe('0xc')](_0x2d596a['end'],_0x4bbe('0x3'));if(_0x5165e6&&_0x5165e6[_0x4bbe('0x2')]){const _0x121ccb=_0x50e95c[_0x4bbe('0x13')](_0x2d596a[_0x4bbe('0x15')],_0x5165e6[_0x4bbe('0x15')]);_0x121ccb['isEqual'](_0x2d596a)||(_0x50e95c[_0x4bbe('0x9')](_0x41a513,{'range':_0x121ccb}),_0x434578=!0x0);}_0x434578||(_0x50e95c[_0x4bbe('0x1')](_0x41a513),_0x434578=!0x0);}return _0x434578;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5edd=['plugins','enableCommand','editor','has','TrackChangesEditing','afterInit','UndoEditing','undo'];(function(_0x291311,_0x5edd86){const _0x2b8845=function(_0x566cd9){while(--_0x566cd9){_0x291311['push'](_0x291311['shift']());}};_0x2b8845(++_0x5edd86);}(_0x5edd,0x110));const _0x2b88=function(_0x291311,_0x5edd86){_0x291311=_0x291311-0x0;let _0x2b8845=_0x5edd[_0x291311];return _0x2b8845;};import{Plugin as _0x3749ca}from'ckeditor5/src/core';export default class vt extends _0x3749ca{[_0x2b88('0x5')](){const _0xc3b530=this[_0x2b88('0x2')],_0x518d69=_0xc3b530['plugins']['get'](_0x2b88('0x4'));_0xc3b530[_0x2b88('0x0')][_0x2b88('0x3')](_0x2b88('0x6'))&&(_0x518d69['enableCommand'](_0x2b88('0x7')),_0x518d69[_0x2b88('0x1')]('redo'));}}
23
+ const _0x1df9=['UndoEditing','get','plugins','enableCommand','editor','undo','afterInit'];(function(_0x48edf2,_0x1df935){const _0x4cc0d4=function(_0xeb9324){while(--_0xeb9324){_0x48edf2['push'](_0x48edf2['shift']());}};_0x4cc0d4(++_0x1df935);}(_0x1df9,0x196));const _0x4cc0=function(_0x48edf2,_0x1df935){_0x48edf2=_0x48edf2-0x0;let _0x4cc0d4=_0x1df9[_0x48edf2];return _0x4cc0d4;};import{Plugin as _0x176a54}from'ckeditor5/src/core';export default class vt extends _0x176a54{[_0x4cc0('0x6')](){const _0x580aff=this[_0x4cc0('0x4')],_0x4728a8=_0x580aff[_0x4cc0('0x2')][_0x4cc0('0x1')]('TrackChangesEditing');_0x580aff['plugins']['has'](_0x4cc0('0x0'))&&(_0x4728a8['enableCommand'](_0x4cc0('0x5')),_0x4728a8[_0x4cc0('0x3')]('redo'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x11b1=['ck-suggestion-marker--active','consumable','push','isContent','type','isAtEnd','listIndent','writer','name','activeMarkers','mapper','createUIElement','isBlock','ck-suggestion-marker-','model','get','element','listItem','createRangeOn','getCustomProperty','schema','addClass','getItems','span','bindElementToMarker','test','parent','includes','markerRange','nextSibling','item','getWalker'];(function(_0x4fb41c,_0x11b148){const _0x4c9bde=function(_0x2f88c4){while(--_0x2f88c4){_0x4fb41c['push'](_0x4fb41c['shift']());}};_0x4c9bde(++_0x11b148);}(_0x11b1,0x1b3));const _0x4c9b=function(_0x4fb41c,_0x11b148){_0x4fb41c=_0x4fb41c-0x0;let _0x4c9bde=_0x11b1[_0x4fb41c];return _0x4c9bde;};export function getRangesWithAttribute(_0x1fb87c,_0xbb8df,_0x45a7a3){const _0x22366e=[];for(const _0x2dadb5 of _0xbb8df[_0x4c9b('0x3')]())_0x2dadb5['hasAttribute'](_0x1fb87c)&&_0x22366e[_0x4c9b('0xf')](_0x45a7a3[_0x4c9b('0x1f')](_0x2dadb5));return _0x22366e;}export function getElementsAffectedByListItemRename(_0x53fa30){const _0x54d82c=[];if(_0x53fa30['is'](_0x4c9b('0x1d'),_0x4c9b('0x1e'))){let _0x21bfde=_0x53fa30['nextSibling'];for(;_0x21bfde&&_0x21bfde['is'](_0x4c9b('0x1d'),'listItem')&&_0x21bfde['getAttribute'](_0x4c9b('0x13'))>0x0;)_0x54d82c[_0x4c9b('0xf')](_0x21bfde),_0x21bfde=_0x21bfde['nextSibling'];}return _0x54d82c;}export function downcastSplitMergeMarker(_0x37a9e5,_0x1fcd44,{showActiveMarker:_0x1c4b71=!0x0}={}){const _0x4859a3=_0x37a9e5['plugins'][_0x4c9b('0x1c')]('TrackChangesEditing');return(_0x493e53,_0x3a6cdd,_0x36d75b)=>{if(!_0x36d75b[_0x4c9b('0xe')][_0x4c9b('0x6')](_0x3a6cdd[_0x4c9b('0x9')],_0x493e53[_0x4c9b('0x15')]))return;const _0x43b61b=_0x3a6cdd[_0x4c9b('0x9')][_0x4c9b('0xc')](),_0x567b31=_0x3a6cdd['markerRange']['start'],_0x2396e4=_0x37a9e5[_0x4c9b('0x1b')][_0x4c9b('0x1')];let _0x34928e=null,_0xb1312f=null,_0xf2ceaf=!0x1,_0x222c62=!0x1;for(const _0x41b90d of _0x43b61b){const _0x3d9b28=_0x41b90d[_0x4c9b('0xb')];_0xf2ceaf=_0xf2ceaf||_0x2396e4[_0x4c9b('0x10')](_0x3d9b28);const _0x554ba6=_0x36d75b[_0x4c9b('0x17')]['toViewElement'](_0x3d9b28);if(_0x554ba6&&_0x554ba6[_0x4c9b('0x0')]('addHighlight'))return;'elementEnd'==_0x41b90d[_0x4c9b('0x11')]&&(_0x2396e4[_0x4c9b('0x19')](_0x3d9b28)&&!_0x2396e4['isLimit'](_0x3d9b28)&&(_0x3d9b28[_0x4c9b('0xa')]||_0x567b31[_0x4c9b('0x12')]?_0x34928e&&_0x34928e[_0x4c9b('0x7')]==_0x3d9b28||(_0x34928e=_0x3d9b28,_0x5805c9(_0x41b90d['previousPosition']),_0x222c62=!0x0):_0xb1312f=_0xb1312f||_0x41b90d['previousPosition']));}function _0x5805c9(_0xa2082b){const _0x1b4897=_0x36d75b[_0x4c9b('0x14')][_0x4c9b('0x18')](_0x4c9b('0x4'),{'class':_0x4c9b('0x1a')+_0x1fcd44}),_0x46e147=_0x36d75b[_0x4c9b('0x17')]['toViewPosition'](_0xa2082b);_0x1c4b71&&_0x4859a3[_0x4c9b('0x16')][_0x4c9b('0x8')](_0x3a6cdd['markerName'])&&_0x36d75b[_0x4c9b('0x14')][_0x4c9b('0x2')](_0x4c9b('0xd'),_0x1b4897),_0x36d75b[_0x4c9b('0x14')]['insert'](_0x46e147,_0x1b4897),_0x36d75b[_0x4c9b('0x17')][_0x4c9b('0x5')](_0x1b4897,_0x3a6cdd['markerName']);}_0xf2ceaf||_0x222c62||!_0xb1312f||_0x5805c9(_0xb1312f);};}
23
+ const _0x25b2=['insert','isContent','test','item','element','ck-suggestion-marker--active','isLimit','activeMarkers','consumable','hasAttribute','plugins','addClass','addHighlight','getWalker','name','nextSibling','bindElementToMarker','getCustomProperty','listIndent','previousPosition','mapper','span','markerRange','getAttribute','listItem','TrackChangesEditing','schema','createRangeOn','get','parent','isBlock','markerName','toViewPosition','elementEnd','writer','type','isAtEnd','push','start'];(function(_0x15766f,_0x25b2bd){const _0x331a86=function(_0x16acf0){while(--_0x16acf0){_0x15766f['push'](_0x15766f['shift']());}};_0x331a86(++_0x25b2bd);}(_0x25b2,0xbe));const _0x331a=function(_0x15766f,_0x25b2bd){_0x15766f=_0x15766f-0x0;let _0x331a86=_0x25b2[_0x15766f];return _0x331a86;};export function getRangesWithAttribute(_0x5009af,_0x883288,_0x565835){const _0x236459=[];for(const _0x5f7012 of _0x883288['getItems']())_0x5f7012[_0x331a('0xe')](_0x5009af)&&_0x236459['push'](_0x565835[_0x331a('0x20')](_0x5f7012));return _0x236459;}export function getElementsAffectedByListItemRename(_0x5c3a95){const _0x425312=[];if(_0x5c3a95['is'](_0x331a('0x9'),_0x331a('0x1d'))){let _0x159264=_0x5c3a95[_0x331a('0x14')];for(;_0x159264&&_0x159264['is'](_0x331a('0x9'),_0x331a('0x1d'))&&_0x159264[_0x331a('0x1c')](_0x331a('0x17'))>0x0;)_0x425312[_0x331a('0x3')](_0x159264),_0x159264=_0x159264['nextSibling'];}return _0x425312;}export function downcastSplitMergeMarker(_0x3d1fc2,_0x56c7c0,{showActiveMarker:_0x3082b5=!0x0}={}){const _0x4d568c=_0x3d1fc2[_0x331a('0xf')][_0x331a('0x21')](_0x331a('0x1e'));return(_0x4ed2ee,_0x102d45,_0x5da557)=>{if(!_0x5da557[_0x331a('0xd')][_0x331a('0x7')](_0x102d45[_0x331a('0x1b')],_0x4ed2ee[_0x331a('0x13')]))return;const _0x3bc86=_0x102d45[_0x331a('0x1b')][_0x331a('0x12')](),_0x43b84b=_0x102d45[_0x331a('0x1b')][_0x331a('0x4')],_0x387040=_0x3d1fc2['model'][_0x331a('0x1f')];let _0x74330=null,_0x27e486=null,_0xd39933=!0x1,_0x27825a=!0x1;for(const _0x348c59 of _0x3bc86){const _0x5edaa6=_0x348c59[_0x331a('0x8')];_0xd39933=_0xd39933||_0x387040[_0x331a('0x6')](_0x5edaa6);const _0x45fff0=_0x5da557[_0x331a('0x19')]['toViewElement'](_0x5edaa6);if(_0x45fff0&&_0x45fff0[_0x331a('0x16')](_0x331a('0x11')))return;_0x331a('0x26')==_0x348c59[_0x331a('0x1')]&&(_0x387040[_0x331a('0x23')](_0x5edaa6)&&!_0x387040[_0x331a('0xb')](_0x5edaa6)&&(_0x5edaa6[_0x331a('0x14')]||_0x43b84b[_0x331a('0x2')]?_0x74330&&_0x74330[_0x331a('0x22')]==_0x5edaa6||(_0x74330=_0x5edaa6,_0x37d6aa(_0x348c59[_0x331a('0x18')]),_0x27825a=!0x0):_0x27e486=_0x27e486||_0x348c59[_0x331a('0x18')]));}function _0x37d6aa(_0x51db79){const _0x6e6bbf=_0x5da557['writer']['createUIElement'](_0x331a('0x1a'),{'class':'ck-suggestion-marker-'+_0x56c7c0}),_0x58fc96=_0x5da557['mapper'][_0x331a('0x25')](_0x51db79);_0x3082b5&&_0x4d568c[_0x331a('0xc')]['includes'](_0x102d45[_0x331a('0x24')])&&_0x5da557[_0x331a('0x0')][_0x331a('0x10')](_0x331a('0xa'),_0x6e6bbf),_0x5da557[_0x331a('0x0')][_0x331a('0x5')](_0x58fc96,_0x6e6bbf),_0x5da557[_0x331a('0x19')][_0x331a('0x15')](_0x6e6bbf,_0x102d45['markerName']);}_0xd39933||_0x27825a||!_0x27e486||_0x37d6aa(_0x27e486);};}