@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20230808.0 → 0.0.0-nightly-20230809.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 (64) 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/alignment.js +1 -1
  9. package/src/integrations/basicstyles.js +1 -1
  10. package/src/integrations/blockquote.js +1 -1
  11. package/src/integrations/ckbox.js +1 -1
  12. package/src/integrations/codeblock.js +1 -1
  13. package/src/integrations/comments.js +1 -1
  14. package/src/integrations/deletecommand.js +1 -1
  15. package/src/integrations/documentlist.js +1 -1
  16. package/src/integrations/documentlistproperties.js +1 -1
  17. package/src/integrations/entercommand.js +1 -1
  18. package/src/integrations/findandreplace.js +1 -1
  19. package/src/integrations/font.js +1 -1
  20. package/src/integrations/formatpainter.js +1 -1
  21. package/src/integrations/heading.js +1 -1
  22. package/src/integrations/highlight.js +1 -1
  23. package/src/integrations/horizontalline.js +1 -1
  24. package/src/integrations/htmlembed.js +1 -1
  25. package/src/integrations/image.js +1 -1
  26. package/src/integrations/imagereplace.js +1 -1
  27. package/src/integrations/importword.js +1 -1
  28. package/src/integrations/indent.js +1 -1
  29. package/src/integrations/inputcommand.js +1 -1
  30. package/src/integrations/link.js +1 -1
  31. package/src/integrations/list.js +1 -1
  32. package/src/integrations/listproperties.js +1 -1
  33. package/src/integrations/mediaembed.js +1 -1
  34. package/src/integrations/mention.js +1 -1
  35. package/src/integrations/pagebreak.js +1 -1
  36. package/src/integrations/paragraph.js +1 -1
  37. package/src/integrations/removeformat.js +1 -1
  38. package/src/integrations/restrictededitingmode.js +1 -1
  39. package/src/integrations/shiftentercommand.js +1 -1
  40. package/src/integrations/standardeditingmode.js +1 -1
  41. package/src/integrations/style.js +1 -1
  42. package/src/integrations/table.js +1 -1
  43. package/src/integrations/tablecaption.js +1 -1
  44. package/src/integrations/tableclipboard.js +1 -1
  45. package/src/integrations/tablecolumnresize.js +1 -1
  46. package/src/integrations/tableheadings.js +1 -1
  47. package/src/integrations/tablemergesplit.js +1 -1
  48. package/src/integrations/tableofcontents.js +1 -1
  49. package/src/integrations/tableproperties.js +1 -1
  50. package/src/integrations/template.js +1 -1
  51. package/src/integrations/title.js +1 -1
  52. package/src/integrations/undo.js +1 -1
  53. package/src/integrations/utils.js +1 -1
  54. package/src/suggestion.js +1 -1
  55. package/src/suggestiondescriptionfactory.js +1 -1
  56. package/src/trackchanges.js +1 -1
  57. package/src/trackchangesdata.js +1 -1
  58. package/src/trackchangesediting.js +1 -1
  59. package/src/trackchangesui.js +1 -1
  60. package/src/ui/suggestioncontroller.js +1 -1
  61. package/src/ui/view/basesuggestionthreadview.js +1 -1
  62. package/src/ui/view/suggestionthreadview.js +1 -1
  63. package/src/utils/common-translations.js +1 -1
  64. package/src/utils/utils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2f0e=['end','has','unwrap','fromEntries','columns','discard','filter','registerPostFixer','keys','markers','getChanges','markMultiRangeBlockFormat','return','$graveyard','removeMarker','createElement','row','getTableIfOnlyTableInContent','afterInit','createTableWalker','getSelectionAffectedTableCells','content','locale','tablePasteCell','newRange','nextSibling','tableCellBorderStyle','previous','insertRows','entries','_replaceTableSlotCell','options','wrap','rowInsertionRanges','getRowIndexes','length','setAttributes','tableCellBorderColor','deletion','TableClipboard','getChangedMarkers','stop','tablePasteColumn','plugins','cell','join','author','getMarkers','last','value','change','remove','name','model','markMultiRangeInsertion','_createdBatches','first','hasSuggestion','getAttributes','clipboardOutput','low','tableCellBackgroundColor','tablePasteChainId','every','activeMarkers','accept','includes','endRow','documentSelection','markMultiRangeDeletion','commands','isInContent','element','schema','registerCustomCallback','reduce','requires','table','move','fill','getAllAdjacentSuggestions','removeRows','registerDescriptionCallback','suggestion:formatBlock:tablePasteCell','setAttribute','suggestion','tableCell','ck-suggestion-marker','getSuggestionCallback','cells','createRangeOn','markerToHighlight','get','high','deletionRanges','tablePaste','isEqual','register','previousSibling','next','ck-suggestion-marker-insertion','getRanges','trackChanges','isEmpty','add','createRangeIn','some','for','from','tableCellPadding','columnInsertionRanges','_tablePostFixingSubtypes','removeMarkers','markerAttributes','position','tableCellHorizontalAlignment','subType','containsRange','formatBlock','push','insertion','_descriptionFactory','type','rowInsertionIndexes','_splitMarkerName','showSuggestionHighlights','find','editingDowncast','TrackChangesEditing','getRange','startsWith','ck-suggestion-marker--active','tableCellVerticalAlignment','suggestion-td','tablePasteRow','markerName','differ','root','tableCellBorderWidth','getChildren','editor','_isForcedDefaultExecutionBlock','insert','map','getContainedElement','insertColumns','batch','tableCellSuggestion','document','_getCoordsForCells','listenTo','getSuggestions','set','oldRange','findAncestor','Users','attributes','_suggestionFactory','TableUtils','getChild','paragraph'];(function(_0x1e4e8e,_0x2f0ec0){const _0x1456b4=function(_0x5f0d8c){while(--_0x5f0d8c){_0x1e4e8e['push'](_0x1e4e8e['shift']());}};_0x1456b4(++_0x2f0ec0);}(_0x2f0e,0xe3));const _0x1456=function(_0x1e4e8e,_0x2f0ec0){_0x1e4e8e=_0x1e4e8e-0x0;let _0x1456b4=_0x2f0e[_0x1e4e8e];return _0x1456b4;};import{getTranslation as _0x49b8e3}from'../utils/common-translations';import{Plugin as _0x4f3b9b}from'ckeditor5/src/core';import{uid as _0x48a4ac,priorities as _0x58333f}from'ckeditor5/src/utils';import _0xa47a7 from'./table';const le=[_0x1456('0x48'),_0x1456('0x84'),_0x1456('0x79'),_0x1456('0x31'),_0x1456('0x42'),_0x1456('0x9c'),_0x1456('0x2b')],ae=Object[_0x1456('0x62')](le[_0x1456('0x4d')](_0x5b1500=>[_0x5b1500,null]));export default class kt extends _0x4f3b9b{static get[_0x1456('0xa')](){return[_0xa47a7];}[_0x1456('0x71')](){const _0x36a8cc=this['editor'];if(!_0x36a8cc[_0x1456('0x8a')][_0x1456('0x60')]('TableClipboard'))return;const _0x3066b7=_0x36a8cc[_0x1456('0x8a')][_0x1456('0x1a')](_0x1456('0x3e')),_0x34c340=_0x36a8cc['plugins'][_0x1456('0x1a')](_0x1456('0x5c')),_0x2cfa99=_0x36a8cc['plugins']['get'](_0xa47a7),_0x5d49b6=_0x36a8cc[_0x1456('0x8a')][_0x1456('0x1a')](_0x1456('0x86'));_0x2cfa99[_0x1456('0x2d')][_0x1456('0x35')]('tablePasteRow','tablePasteColumn'),_0x36a8cc[_0x1456('0x94')][_0x1456('0x7')][_0x1456('0x1f')](_0x1456('0x51'),{'allowIn':_0x1456('0x14'),'allowContentOf':_0x1456('0x14'),'isLimit':!0x0}),_0x36a8cc['conversion']['elementToElement']({'model':_0x1456('0x51'),'view':_0x1456('0x43')});let _0x3b18bf=null;_0x36a8cc['model']['on']('insertContent',(_0x512bf4,_0x31a72c)=>{const [_0x3764f2,_0x31e6c2]=_0x31a72c,_0x3f11fa=_0x31a72c[_0x31a72c[_0x1456('0x82')]-0x1];_0x3f11fa&&_0x3f11fa['forceDefaultExecution']||_0x3066b7[_0x1456('0x4b')]||this[_0x1456('0x4a')]['commands'][_0x1456('0x1a')](_0x1456('0x24'))[_0x1456('0x90')]&&function(_0x4aba2e,_0xa67270,_0x1b0dc7,_0x50542b,_0x203485){if(_0xa67270&&!_0xa67270['is'](_0x1456('0x2')))return!0x1;const _0x1f2a0b=_0x203485[_0x1456('0x70')](_0x4aba2e,_0x1b0dc7);if(!_0x1f2a0b||!fe(_0x1f2a0b,void 0x0,_0x50542b))return!0x1;const _0x35d90b=_0x50542b[_0x1456('0x73')](_0x1b0dc7[_0x1456('0x52')]['selection']);if(!_0x35d90b['length'])return!0x1;const _0x3e3ea7=_0x35d90b[0x0][_0x1456('0x58')](_0x1456('0xb')),_0x48d09d=_0x50542b[_0x1456('0x81')](_0x35d90b),_0x426a4a=_0x50542b['getColumnIndexes'](_0x35d90b),_0x47e546={'startRow':_0x48d09d[_0x1456('0x97')],'endRow':_0x48d09d[_0x1456('0x8f')],'startColumn':_0x426a4a[_0x1456('0x97')],'endColumn':_0x426a4a['last']};return 0x1==_0x35d90b[_0x1456('0x82')]&&(_0x47e546[_0x1456('0x1')]+=_0x50542b['getRows'](_0x1f2a0b)-0x1,_0x47e546['endColumn']+=_0x50542b['getColumns'](_0x1f2a0b)-0x1),fe(_0x3e3ea7,_0x47e546,_0x50542b);}(_0x3764f2,_0x31e6c2,_0x36a8cc[_0x1456('0x94')],_0x34c340,_0x5d49b6)&&(_0x512bf4[_0x1456('0x88')](),_0x3b18bf={'cells':[],'insertionRanges':[],'deletionRanges':[],'rowInsertionRanges':[],'rowInsertionIndexes':[],'columnInsertionRanges':[],'columnInsertionIndexes':[]},_0x36a8cc[_0x1456('0x94')]['change'](()=>{_0x36a8cc['model']['insertContent'](_0x31a72c[0x0],_0x31a72c[0x1],_0x31a72c[0x2],{'forceDefaultExecution':!0x0});const _0x4a6e3a=_0x48a4ac(),{rowInsertionRanges:_0x56ff24,columnInsertionRanges:_0xa1c7a6,insertionRanges:_0x4fe99b,deletionRanges:_0x450eea,cells:_0x300938}=_0x3b18bf;_0x56ff24[_0x1456('0x82')]&&_0x3066b7[_0x1456('0x95')](_0x56ff24,'tablePasteRow',{'tablePasteChainId':_0x4a6e3a}),_0xa1c7a6['length']&&_0x3066b7[_0x1456('0x95')](_0xa1c7a6,'tablePasteColumn',{'tablePasteChainId':_0x4a6e3a}),_0x4fe99b[_0x1456('0x82')]&&_0x3066b7[_0x1456('0x95')](_0x4fe99b,_0x1456('0x1d'),{'tablePasteChainId':_0x4a6e3a,'skipNestingCheck':!0x0}),_0x450eea[_0x1456('0x82')]&&_0x3066b7[_0x1456('0x3')](_0x450eea,_0x1456('0x1d'),{'tablePasteChainId':_0x4a6e3a,'skipNestingCheck':!0x0});const _0xcd8cd3=_0x3066b7[_0x1456('0x6a')](_0x300938['map'](({element:_0x19bcfb})=>_0x19bcfb),{'formatGroupId':_0x48a4ac()},[],_0x1456('0x76'),{'tablePasteChainId':_0x4a6e3a});if(_0xcd8cd3){const _0x1cc2bf=_0xcd8cd3[_0x1456('0x8e')](),_0x2a60c7=[];for(const {element:_0x5876ee,attributes:_0x4625aa}of _0x300938){if(!_0x4625aa)continue;const _0x55ce7e=_0x36a8cc[_0x1456('0x94')][_0x1456('0x18')](_0x5876ee),_0x396e7b=_0x1cc2bf[_0x1456('0x3c')](_0x485f09=>_0x485f09[_0x1456('0x3f')]()[_0x1456('0x1e')](_0x55ce7e));_0x396e7b&&_0x2a60c7[_0x1456('0x35')]([_0x396e7b[_0x1456('0x93')],_0x4625aa]);}_0x2a60c7['length']&&_0xcd8cd3[_0x1456('0x12')](_0x1456('0x2f'),Object['fromEntries'](_0x2a60c7));}_0x3b18bf=null;}));},{'priority':_0x58333f[_0x1456('0x1b')]+0xa}),_0x36a8cc[_0x1456('0x8a')][_0x1456('0x1a')]('TableClipboard')['on'](_0x1456('0x7d'),(_0x13020a,_0x313e5e)=>{const [_0xf7830c,_0x101027,,_0x3e78b8]=_0x313e5e;if(!_0x3b18bf)return;_0x13020a[_0x1456('0x88')]();const _0x46313a=_0xf7830c[_0x1456('0x8b')],_0x2356eb=_0x101027,_0x19750f=ce(_0x46313a),_0x12e4f2=ce(_0x2356eb);_0x13020a[_0x1456('0x6b')]=_0x46313a;let _0x28ce61=null,_0x52b220=null;if(_0x12e4f2||_0x19750f){if(_0x19750f&&!_0x12e4f2){_0x3e78b8[_0x1456('0x92')](_0x46313a[_0x1456('0x5d')](0x0));for(const _0x35ded9 of Array[_0x1456('0x2a')](_0x2356eb[_0x1456('0x49')]()))_0x3e78b8[_0x1456('0x4c')](_0x35ded9,_0x46313a,_0x1456('0x5f'));const _0x1b96ef=_0x3b18bf[_0x1456('0x39')][_0x1456('0x0')](_0xf7830c[_0x1456('0x6f')]),_0x8be0d6=_0x3b18bf['columnInsertionIndexes']['includes'](_0xf7830c['column']);_0x1b96ef||_0x8be0d6||(_0x28ce61=_0x3e78b8[_0x1456('0x27')](_0x46313a));}else _0x12e4f2&&!_0x19750f&&(_0x52b220=_0x3e78b8[_0x1456('0x27')](_0x46313a));}else{const _0x31ce14=_0x3e78b8['createElement']('tableCellSuggestion'),_0x35d66b=_0x3e78b8[_0x1456('0x6e')]('tableCellSuggestion');_0x3e78b8[_0x1456('0x7f')](_0x3e78b8['createRangeIn'](_0x46313a),_0x35d66b),_0x3e78b8['insert'](_0x31ce14,_0x46313a,0x0);for(const _0x55ce04 of Array['from'](_0x2356eb[_0x1456('0x49')]()))_0x3e78b8[_0x1456('0x4c')](_0x55ce04,_0x31ce14,_0x1456('0x5f'));_0x28ce61=_0x3e78b8['createRangeOn'](_0x31ce14),_0x52b220=_0x3e78b8[_0x1456('0x18')](_0x35d66b);}const _0x5f2164=Array[_0x1456('0x2a')](_0x2356eb[_0x1456('0x99')]())['filter'](([_0x3f82a3])=>le['includes'](_0x3f82a3));_0x3b18bf[_0x1456('0x17')][_0x1456('0x35')]({'element':_0x46313a,'attributes':_0x5f2164[_0x1456('0x82')]?Object['fromEntries'](_0x5f2164):null}),_0x28ce61&&_0x3b18bf['insertionRanges']['push'](_0x28ce61),_0x52b220&&_0x3b18bf[_0x1456('0x1c')][_0x1456('0x35')](_0x52b220);},{'priority':_0x1456('0x1b')}),_0x34c340['on'](_0x1456('0x4f'),(_0x35364b,_0x2c4baa)=>{const [_0x43b6e6,_0x2be5c4={}]=_0x2c4baa;if(!_0x3b18bf)return;const _0x8fa290=_0x2be5c4['at']||0x0,_0x3aa97a=_0x2be5c4[_0x1456('0x63')]||0x1;_0x3b18bf['columnInsertionIndexes']=new Array(_0x3aa97a)[_0x1456('0xd')](_0x8fa290)['map']((_0x5b1ecd,_0x5a2c18)=>_0x5b1ecd+_0x5a2c18);for(const {cell:_0x2667b2}of _0x34c340['createTableWalker'](_0x43b6e6,{'startColumn':_0x8fa290,'endColumn':_0x8fa290+_0x3aa97a-0x1}))_0x3b18bf[_0x1456('0x2c')][_0x1456('0x35')](_0x36a8cc[_0x1456('0x94')][_0x1456('0x18')](_0x2667b2));},{'priority':_0x1456('0x9b')}),_0x34c340['on'](_0x1456('0x7b'),(_0x262124,_0x47230d)=>{const [_0x19d8ca,_0x54061e={}]=_0x47230d;if(!_0x3b18bf)return;const _0x35e1e0=_0x54061e['at']||0x0,_0x11aae6=_0x54061e['rows']||0x1;_0x3b18bf[_0x1456('0x39')]=new Array(_0x11aae6)[_0x1456('0xd')](_0x35e1e0)[_0x1456('0x4d')]((_0x1d645b,_0x6b181)=>_0x1d645b+_0x6b181);for(const {cell:_0x2c3d78}of _0x34c340[_0x1456('0x72')](_0x19d8ca,{'startRow':_0x35e1e0,'endRow':_0x35e1e0+_0x11aae6-0x1}))_0x3b18bf[_0x1456('0x80')][_0x1456('0x35')](_0x36a8cc[_0x1456('0x94')]['createRangeOn'](_0x2c3d78));},{'priority':'low'}),_0x3066b7[_0x1456('0x37')][_0x1456('0x10')](_0x3b5225=>{if(_0x3b5225['subType']&&_0x3b5225['subType']['startsWith']('tablePaste'))return _0x3b5225[_0x1456('0x7a')]?{}:{'type':_0x1456('0x36'),'content':_0x49b8e3(_0x36a8cc[_0x1456('0x75')],'*Replace\x20table\x20cells*')};});const _0xf736f5=()=>{};for(const _0x712fbe of['tablePaste',_0x1456('0x89'),_0x1456('0x44'),_0x1456('0x76')])_0x3066b7['_suggestionFactory']['registerCustomCallback'](_0x1456('0x36'),_0x712fbe,_0x1456('0x8c'),_0xf736f5),_0x3066b7[_0x1456('0x5b')][_0x1456('0x8')](_0x1456('0x85'),_0x712fbe,'join',_0xf736f5);_0x3066b7['_suggestionFactory'][_0x1456('0x8')](_0x1456('0x34'),'tablePasteCell',_0x1456('0x64'),_0xf736f5),_0x3066b7['_suggestionFactory'][_0x1456('0x8')]('formatBlock','tablePasteCell','accept',(_0x19c692,_0x3c134d,_0x2564d6)=>{const _0x7136b7=_0x19c692[_0x1456('0x4d')](_0x337fb8=>_0x337fb8['getContainedElement']())[_0x1456('0x65')](_0x5253b7=>_0x5253b7),_0x5b11d8=new Map(_0x7136b7[_0x1456('0x4d')](_0xf4b6f7=>[_0xf4b6f7,null]));if(_0x3b18bf)for(const {element:_0x4d0e89,attributes:_0x410f64}of _0x3b18bf['cells'])_0x410f64&&_0x5b11d8[_0x1456('0x56')](_0x4d0e89,_0x410f64);else{if(_0x2564d6&&_0x2564d6[_0x1456('0x2f')])for(const [_0x3f6fc2,_0x4f4372]of Object[_0x1456('0x7c')](_0x2564d6[_0x1456('0x2f')])){const _0x542a81=_0x36a8cc['model'][_0x1456('0x68')][_0x1456('0x1a')](_0x3f6fc2),_0x1fc506=_0x542a81?_0x542a81[_0x1456('0x3f')]()[_0x1456('0x4e')]():null;_0x1fc506&&_0x5b11d8['set'](_0x1fc506,_0x4f4372);}}_0x36a8cc[_0x1456('0x94')][_0x1456('0x91')](_0x5ada3a=>{for(const [_0x5dd5b4,_0x23e161]of _0x5b11d8)_0x5ada3a[_0x1456('0x83')]({...ae,..._0x23e161},_0x5dd5b4);});});const _0x3f960e=(_0x43806d,_0x2ea7d9)=>{_0x3066b7[_0x1456('0x5b')][_0x1456('0x8')](_0x43806d,'tablePaste',_0x2ea7d9,(_0x460ec3,_0x579da3,_0x438647)=>{_0x36a8cc[_0x1456('0x94')][_0x1456('0x91')](_0x3cfdd1=>{const _0x352ff8=[];for(const _0x54b017 of _0x460ec3){const _0x67d98c=_0x54b017['start']['nodeAfter'];_0x67d98c['is'](_0x1456('0x6'),_0x1456('0x51'))&&_0x352ff8['push'](_0x67d98c);}_0x3066b7['_suggestionFactory'][_0x1456('0x16')](_0x43806d,null,_0x2ea7d9)(_0x460ec3,_0x579da3,_0x438647);for(const _0x22bbd5 of _0x352ff8)_0x1456('0x6c')!=_0x22bbd5[_0x1456('0x47')]['rootName']&&_0x3cfdd1[_0x1456('0x61')](_0x22bbd5);});});};_0x3f960e(_0x1456('0x36'),_0x1456('0xa0')),_0x3f960e(_0x1456('0x36'),_0x1456('0x64')),_0x3f960e(_0x1456('0x85'),_0x1456('0xa0')),_0x3f960e(_0x1456('0x85'),_0x1456('0x64')),_0x3066b7[_0x1456('0x5b')][_0x1456('0x8')](_0x1456('0x36'),_0x1456('0x44'),_0x1456('0x64'),_0x357ad1=>{const _0x3bd681=_0x357ad1['map'](_0x45152f=>_0x45152f[_0x1456('0x4e')]()),_0x1054d5=_0x3bd681[0x0][_0x1456('0x58')](_0x1456('0xb')),{minRow:_0x37e437,maxRow:_0x40c4de}=_0x2cfa99[_0x1456('0x53')](_0x3bd681);_0x34c340[_0x1456('0xf')](_0x1054d5,{'at':_0x37e437,'rows':_0x40c4de-_0x37e437+0x1});}),_0x3066b7[_0x1456('0x5b')]['registerCustomCallback'](_0x1456('0x36'),_0x1456('0x89'),_0x1456('0x64'),_0x5ce1df=>{const _0x1a814a=_0x5ce1df[_0x1456('0x4d')](_0x3be62b=>_0x3be62b[_0x1456('0x4e')]()),_0x5ad9e0=_0x1a814a[0x0][_0x1456('0x58')](_0x1456('0xb')),{minColumn:_0x444d81,maxColumn:_0x142bef}=_0x2cfa99[_0x1456('0x53')](_0x1a814a);_0x34c340['removeColumns'](_0x5ad9e0,{'at':_0x444d81,'columns':_0x142bef-_0x444d81+0x1});});const _0x2e6476=(_0x250a53,_0x46ccbb)=>{if(!_0x46ccbb[_0x1456('0x32')]||!_0x46ccbb[_0x1456('0x32')][_0x1456('0x40')](_0x1456('0x1d')))return;const _0x47f4d6=_0x46ccbb['attributes']['tablePasteChainId'],_0x35ada3=_0x3066b7['getSuggestions']()['filter'](_0x457dc4=>_0x457dc4[_0x1456('0x5')]&&_0x457dc4[_0x1456('0x5a')]&&_0x457dc4[_0x1456('0x5a')][_0x1456('0x9d')]==_0x47f4d6);_0x35ada3[_0x1456('0x82')]&&_0x46ccbb[_0x1456('0xe')]()[_0x1456('0x82')]!=_0x35ada3[_0x1456('0x82')]&&_0x35ada3[_0x1456('0x9')]((_0x54ad70,_0x485539)=>(_0x54ad70[_0x1456('0x21')]=_0x485539,_0x485539['previous']=_0x54ad70,_0x485539));};function _0x159f30(_0x312ed0,_0x15043a=!0x0){const {id:_0x7bc64f}=_0x3066b7[_0x1456('0x3a')](_0x312ed0['markerName']),_0x344c94=[_0x1456('0x15'),_0x1456('0x22')],_0x4b1ee7=_0x3066b7[_0x1456('0x9f')][_0x1456('0x0')](_0x312ed0[_0x1456('0x45')]);return _0x4b1ee7&&_0x344c94[_0x1456('0x35')](_0x1456('0x41')),{'classes':_0x344c94,'attributes':{'data-suggestion':_0x7bc64f},'priority':_0x4b1ee7&&_0x15043a?0xbc2:0xbb8};}_0x3066b7['on']('suggestionLoaded',_0x2e6476,{'priority':_0x1456('0x1b')}),_0x3066b7['on']('suggestionUnloaded',_0x2e6476,{'priority':_0x1456('0x1b')}),_0x36a8cc['model'][_0x1456('0x52')][_0x1456('0x66')](()=>{let _0xd74b57=!0x1;const _0x39e014=Array['from'](_0x36a8cc['model'][_0x1456('0x52')]['differ'][_0x1456('0x87')]());for(const {name:_0xc26829,data:_0x14979e}of _0x39e014){const {group:_0x255ca8,type:_0x78a3c2,id:_0x4c9eae}=_0x3066b7[_0x1456('0x3a')](_0xc26829);if('suggestion'!=_0x255ca8||_0x1456('0x85')!=_0x78a3c2||_0x14979e[_0x1456('0x57')])continue;if(!_0x3066b7[_0x1456('0x98')](_0x4c9eae))continue;const _0x3f84b4=_0x3066b7['getSuggestion'](_0x4c9eae)[_0x1456('0x23')](),_0x1251ed=_0x36a8cc[_0x1456('0x8a')][_0x1456('0x1a')](_0x1456('0x59'))['me'];for(const _0x48ca17 of _0x3066b7[_0x1456('0x55')]()){if(!_0x48ca17[_0x1456('0x5')]||_0x48ca17[_0x1456('0x8d')]!=_0x1251ed)continue;if(_0x1456('0x34')!=_0x48ca17['type']||_0x1456('0x76')!=_0x48ca17['subType'])continue;if(_0x48ca17[_0x1456('0x23')]()[_0x1456('0x9e')](_0x22fade=>_0x3f84b4[_0x1456('0x28')](_0x3d70bf=>_0x3d70bf['containsRange'](_0x22fade,!0x0))))for(const _0x4b610e of _0x48ca17[_0x1456('0xe')]())_0x4b610e[_0x1456('0x5')]&&(_0x4b610e[_0x1456('0x64')](),_0xd74b57=!0x0);}}return _0xd74b57;}),_0x36a8cc[_0x1456('0x94')][_0x1456('0x52')][_0x1456('0x66')](_0x3490ce=>{const _0x34b4ca=_0x36a8cc[_0x1456('0x4')]['get']('redo');if(!_0x34b4ca||!_0x34b4ca[_0x1456('0x96')][_0x1456('0x60')](_0x3490ce[_0x1456('0x50')]))return!0x1;let _0x46d378=!0x1;const _0x4acf87=_0x36a8cc[_0x1456('0x8a')]['get'](_0x1456('0x59'))['me'],_0x5dc216=_0x36a8cc[_0x1456('0x94')]['document'][_0x1456('0x46')][_0x1456('0x69')](),_0x2977ad=Array['from'](_0x36a8cc[_0x1456('0x94')]['document'][_0x1456('0x46')][_0x1456('0x87')]())[_0x1456('0x65')](({name:_0x2309a2,data:_0x2bd9cc})=>{const {group:_0x7c13f5,subType:_0x2e4b0e,authorId:_0x3a77ba}=_0x3066b7[_0x1456('0x3a')](_0x2309a2);return _0x1456('0x13')==_0x7c13f5&&_0x1456('0x1d')==_0x2e4b0e&&_0x3a77ba==_0x4acf87['id']&&!_0x2bd9cc[_0x1456('0x57')];});for(const _0x5b901d of _0x5dc216){if(_0x1456('0x4c')!=_0x5b901d[_0x1456('0x38')]||_0x1456('0x51')!=_0x5b901d[_0x1456('0x93')]||0x1!=_0x5b901d[_0x1456('0x82')])continue;const _0x2581ba=_0x3490ce['createRange'](_0x5b901d[_0x1456('0x30')],_0x5b901d[_0x1456('0x30')]['getShiftedBy'](0x1));if(!_0x2977ad[_0x1456('0x3c')](({data:_0xdbe1f3})=>_0xdbe1f3['newRange'][_0x1456('0x1e')](_0x2581ba)))for(const {name:_0x25ec35,data:_0x454d0b}of _0x2977ad)if(_0x2581ba[_0x1456('0x33')](_0x454d0b[_0x1456('0x77')])){_0x3490ce['updateMarker'](_0x25ec35,{'range':_0x2581ba}),_0x46d378=!0x0;break;}}return _0x46d378;}),_0x36a8cc[_0x1456('0x94')][_0x1456('0x52')][_0x1456('0x66')](_0x1c071f=>{let _0xff528a=!0x1;const _0x5dcf9c=_0x36a8cc[_0x1456('0x8a')][_0x1456('0x1a')](_0x1456('0x59'))['me'],_0x4596ef=_0x3066b7[_0x1456('0x55')]()['filter'](_0x7fadbe=>_0x7fadbe[_0x1456('0x5')]&&_0x7fadbe[_0x1456('0x8d')]==_0x5dcf9c),_0x10ba0f=new Set(),_0xffcc5d=new Set();for(const _0x42565e of _0x4596ef)if(_0x1456('0x1d')==_0x42565e[_0x1456('0x32')])for(const _0x361287 of _0x42565e[_0x1456('0x8e')]()){const _0x4d8ca4=_0x361287[_0x1456('0x3f')]()[_0x1456('0x4e')]();if(_0x4d8ca4){if(_0x4d8ca4['is'](_0x1456('0x6'),_0x1456('0x51'))&&ce(_0x4d8ca4)){_0x42565e[_0x1456('0x6d')](_0x361287[_0x1456('0x93')]),_0x10ba0f[_0x1456('0x26')](_0x4d8ca4),_0xff528a=!0x0;const _0x4bb5d9=_0x4d8ca4[_0x1456('0x78')],_0x23ee97=_0x4d8ca4[_0x1456('0x20')],_0x12b5de=_0x4bb5d9&&_0x4bb5d9['is'](_0x1456('0x6'),_0x1456('0x51')),_0x9fc562=_0x23ee97&&_0x23ee97['is'](_0x1456('0x6'),_0x1456('0x51'));_0x12b5de&&!_0x10ba0f['has'](_0x4bb5d9)&&_0xffcc5d[_0x1456('0x26')](_0x4bb5d9),_0x9fc562&&!_0x10ba0f[_0x1456('0x60')](_0x23ee97)&&_0xffcc5d[_0x1456('0x26')](_0x23ee97);}else _0x4d8ca4['is']('element','paragraph')&&_0x4d8ca4[_0x1456('0x25')]&&(_0x42565e[_0x1456('0x6d')](_0x361287[_0x1456('0x93')]),_0xff528a=!0x0);}}else{if(_0x1456('0x76')==_0x42565e[_0x1456('0x32')]){if(!_0x42565e[_0x1456('0x5a')]||!_0x42565e['attributes'][_0x1456('0x9d')])continue;const _0xf33480=_0x42565e[_0x1456('0x5a')][_0x1456('0x2f')];if(_0xf33480&&Object[_0x1456('0x67')](_0xf33480)[_0x1456('0x82')])continue;const _0x50a7d9=_0x42565e[_0x1456('0x5a')][_0x1456('0x9d')];let _0x2904bd=!0x0,_0x28ae0d=!0x0;for(const _0x552281 of _0x4596ef)if(_0x552281['subType']&&_0x552281['subType'][_0x1456('0x40')](_0x1456('0x1d'))){if(!_0x552281[_0x1456('0x5a')][_0x1456('0x9d')]){_0x28ae0d=!0x1;break;}if(_0x552281['id']!=_0x42565e['id']&&_0x552281[_0x1456('0x5a')][_0x1456('0x9d')]==_0x50a7d9){_0x2904bd=!0x1;break;}}_0x28ae0d&&_0x2904bd&&(_0x42565e[_0x1456('0x2e')](),_0xff528a=!0x0);}}for(const _0x36bf8b of _0x10ba0f)_0x1c071f[_0x1456('0x92')](_0x36bf8b);for(const _0x181d39 of _0xffcc5d)_0x1c071f['unwrap'](_0x181d39);return _0xff528a;}),_0x36a8cc['conversion'][_0x1456('0x29')](_0x1456('0x3d'))[_0x1456('0x19')]({'model':_0x1456('0x11'),'view':(_0x4ea013,_0x2478a2)=>_0x159f30(_0x4ea013),'converterPriority':_0x1456('0x1b')}),_0x36a8cc['conversion'][_0x1456('0x29')]('dataDowncast')['markerToHighlight']({'model':_0x1456('0x11'),'view':(_0x5674c7,_0x3c669e)=>_0x3c669e[_0x1456('0x7e')][_0x1456('0x3b')]?_0x159f30(_0x5674c7,!0x1):null,'converterPriority':_0x1456('0x1b')});const _0x552641=_0x36a8cc['editing']['view'];this[_0x1456('0x54')](_0x552641[_0x1456('0x52')],_0x1456('0x9a'),(_0x1667b7,_0x5923b9)=>{const _0x2a1fc6=[];for(const _0x31e96f of _0x552641[_0x1456('0x27')](_0x5923b9[_0x1456('0x74')])['getItems']())_0x31e96f['is']('element',_0x1456('0x43'))&&_0x2a1fc6['push'](_0x31e96f);_0x552641[_0x1456('0x91')](_0x4744dc=>{for(const _0x1e47e4 of _0x2a1fc6)_0x4744dc[_0x1456('0xc')](_0x4744dc[_0x1456('0x27')](_0x1e47e4),_0x4744dc['createPositionBefore'](_0x1e47e4)),_0x4744dc[_0x1456('0x92')](_0x1e47e4);});});}}function ce(_0x105dc5){if(_0x105dc5[_0x1456('0x25')])return!0x0;const _0x2c44e8=_0x105dc5[_0x1456('0x5d')](0x0);return _0x2c44e8['is']('element',_0x1456('0x5e'))&&_0x2c44e8[_0x1456('0x25')];}function fe(_0x3c6a3d,_0x42231e={},_0x195eb6){for(const {isAnchor:_0x286e54,cellHeight:_0x58b506,cellWidth:_0x166c8d}of _0x195eb6[_0x1456('0x72')](_0x3c6a3d,{'includeAllSlots':!0x0,..._0x42231e}))if(!_0x286e54||0x1!=_0x58b506||0x1!=_0x166c8d)return!0x1;return!0x0;}
23
+ const _0x1f11=['type','nextSibling','editingDowncast','endRow','tableCellBorderColor','markMultiRangeInsertion','unwrap','start','document','markers','rowInsertionIndexes','_splitMarkerName','previous','_replaceTableSlotCell','tableCellSuggestion','tableCellHorizontalAlignment','tableCellPadding','_suggestionFactory','suggestion-td','tableCellBorderWidth','trackChanges','tablePasteChainId','editing','element','getColumns','fromEntries','join','register','dataDowncast','content','columnInsertionRanges','$graveyard','createRange','suggestion:formatBlock:tablePasteCell','registerCustomCallback','getTableIfOnlyTableInContent','differ','tablePasteRow','commands','tablePaste','for','tableCellBorderStyle','schema','markMultiRangeBlockFormat','removeColumns','isInContent','Users','tableCell','editor','includes','rowInsertionRanges','suggestion','tablePasteColumn','length','row','accept','low','add','registerPostFixer','redo','from','tableCellBackgroundColor','getContainedElement','locale','findAncestor','position','tablePasteCell','startsWith','setAttribute','get','stop','selection','getSelectionAffectedTableCells','previousSibling','ck-suggestion-marker--active','_getCoordsForCells','return','createRangeIn','getRows','some','getChild','set','getSuggestion','insertContent','setAttributes','columnInsertionIndexes','cell','batch','removeMarker','insertColumns','deletion','getSuggestions','getChanges','formatBlock','registerDescriptionCallback','ck-suggestion-marker','removeMarkers','clipboardOutput','first','map','value','move','containsRange','markerAttributes','getRanges','last','_createdBatches','elementToElement','getRange','insert','hasSuggestion','removeRows','forceDefaultExecution','createTableWalker','every','name','getAttributes','insertionRanges','rows','createRangeOn','getChildren','newRange','plugins','filter','model','afterInit','getSuggestionCallback','subType','remove','fill','markerName','getColumnIndexes','high','markMultiRangeDeletion','TableUtils','isEqual','documentSelection','push','reduce','_isForcedDefaultExecutionBlock','createElement','next','paragraph','showSuggestionHighlights','getChangedMarkers','requires','getMarkers','getShiftedBy','endColumn','*Replace\x20table\x20cells*','TableClipboard','find','change','oldRange','attributes','discard','has','insertion','isEmpty','_descriptionFactory','cells','table','markerToHighlight'];(function(_0x41da1a,_0x1f11cf){const _0x47e194=function(_0x5f20f1){while(--_0x5f20f1){_0x41da1a['push'](_0x41da1a['shift']());}};_0x47e194(++_0x1f11cf);}(_0x1f11,0x178));const _0x47e1=function(_0x41da1a,_0x1f11cf){_0x41da1a=_0x41da1a-0x0;let _0x47e194=_0x1f11[_0x41da1a];return _0x47e194;};import{getTranslation as _0xafdc07}from'../utils/common-translations';import{Plugin as _0x41864d}from'ckeditor5/src/core';import{uid as _0x32119c,priorities as _0x3e8157}from'ckeditor5/src/utils';import _0x560d41 from'./table';const le=[_0x47e1('0x84'),_0x47e1('0x75'),_0x47e1('0x9a'),_0x47e1('0x80'),'tableCellVerticalAlignment',_0x47e1('0xb'),_0x47e1('0x81')],ae=Object[_0x47e1('0x8a')](le['map'](_0x3de32d=>[_0x3de32d,null]));export default class kt extends _0x41864d{static get[_0x47e1('0x5f')](){return[_0x560d41];}[_0x47e1('0x4b')](){const _0x3f86f7=this[_0x47e1('0xa1')];if(!_0x3f86f7[_0x47e1('0x48')][_0x47e1('0x6a')](_0x47e1('0x64')))return;const _0x474843=_0x3f86f7[_0x47e1('0x48')][_0x47e1('0x13')]('TrackChangesEditing'),_0xf83e42=_0x3f86f7['plugins']['get'](_0x47e1('0x54')),_0xbc6d28=_0x3f86f7[_0x47e1('0x48')][_0x47e1('0x13')](_0x560d41),_0x443261=_0x3f86f7[_0x47e1('0x48')][_0x47e1('0x13')](_0x47e1('0x64'));_0xbc6d28['_tablePostFixingSubtypes'][_0x47e1('0x57')](_0x47e1('0x96'),_0x47e1('0x2')),_0x3f86f7[_0x47e1('0x4a')][_0x47e1('0x9b')][_0x47e1('0x8c')](_0x47e1('0x7f'),{'allowIn':_0x47e1('0xa0'),'allowContentOf':_0x47e1('0xa0'),'isLimit':!0x0}),_0x3f86f7['conversion'][_0x47e1('0x39')]({'model':'tableCellSuggestion','view':_0x47e1('0x83')});let _0x524490=null;_0x3f86f7[_0x47e1('0x4a')]['on'](_0x47e1('0x21'),(_0x47f63b,_0x444c56)=>{const [_0x4f82ca,_0x326c3b]=_0x444c56,_0x4f36f9=_0x444c56[_0x444c56['length']-0x1];_0x4f36f9&&_0x4f36f9[_0x47e1('0x3e')]||_0x474843[_0x47e1('0x59')]||this[_0x47e1('0xa1')][_0x47e1('0x97')][_0x47e1('0x13')](_0x47e1('0x85'))[_0x47e1('0x32')]&&function(_0x1f4709,_0x5d8201,_0x19b456,_0x210bca,_0x2a6bd2){if(_0x5d8201&&!_0x5d8201['is'](_0x47e1('0x56')))return!0x1;const _0x5b0edd=_0x2a6bd2[_0x47e1('0x94')](_0x1f4709,_0x19b456);if(!_0x5b0edd||!fe(_0x5b0edd,void 0x0,_0x210bca))return!0x1;const _0x1b0f1a=_0x210bca[_0x47e1('0x16')](_0x19b456['document'][_0x47e1('0x15')]);if(!_0x1b0f1a[_0x47e1('0x3')])return!0x1;const _0xd9c70f=_0x1b0f1a[0x0][_0x47e1('0xe')](_0x47e1('0x6f')),_0x21b29f=_0x210bca['getRowIndexes'](_0x1b0f1a),_0x2c5262=_0x210bca[_0x47e1('0x51')](_0x1b0f1a),_0x2d9091={'startRow':_0x21b29f['first'],'endRow':_0x21b29f[_0x47e1('0x37')],'startColumn':_0x2c5262[_0x47e1('0x30')],'endColumn':_0x2c5262[_0x47e1('0x37')]};return 0x1==_0x1b0f1a['length']&&(_0x2d9091[_0x47e1('0x74')]+=_0x210bca[_0x47e1('0x1c')](_0x5b0edd)-0x1,_0x2d9091[_0x47e1('0x62')]+=_0x210bca[_0x47e1('0x89')](_0x5b0edd)-0x1),fe(_0xd9c70f,_0x2d9091,_0x210bca);}(_0x4f82ca,_0x326c3b,_0x3f86f7[_0x47e1('0x4a')],_0xf83e42,_0x443261)&&(_0x47f63b[_0x47e1('0x14')](),_0x524490={'cells':[],'insertionRanges':[],'deletionRanges':[],'rowInsertionRanges':[],'rowInsertionIndexes':[],'columnInsertionRanges':[],'columnInsertionIndexes':[]},_0x3f86f7[_0x47e1('0x4a')][_0x47e1('0x66')](()=>{_0x3f86f7['model'][_0x47e1('0x21')](_0x444c56[0x0],_0x444c56[0x1],_0x444c56[0x2],{'forceDefaultExecution':!0x0});const _0x1acaeb=_0x32119c(),{rowInsertionRanges:_0x390982,columnInsertionRanges:_0x3c5ae7,insertionRanges:_0x1c7295,deletionRanges:_0x41ba9a,cells:_0x3732b7}=_0x524490;_0x390982[_0x47e1('0x3')]&&_0x474843[_0x47e1('0x76')](_0x390982,_0x47e1('0x96'),{'tablePasteChainId':_0x1acaeb}),_0x3c5ae7[_0x47e1('0x3')]&&_0x474843[_0x47e1('0x76')](_0x3c5ae7,_0x47e1('0x2'),{'tablePasteChainId':_0x1acaeb}),_0x1c7295[_0x47e1('0x3')]&&_0x474843['markMultiRangeInsertion'](_0x1c7295,_0x47e1('0x98'),{'tablePasteChainId':_0x1acaeb,'skipNestingCheck':!0x0}),_0x41ba9a[_0x47e1('0x3')]&&_0x474843[_0x47e1('0x53')](_0x41ba9a,'tablePaste',{'tablePasteChainId':_0x1acaeb,'skipNestingCheck':!0x0});const _0x3a6eba=_0x474843[_0x47e1('0x9c')](_0x3732b7[_0x47e1('0x31')](({element:_0x17b477})=>_0x17b477),{'formatGroupId':_0x32119c()},[],_0x47e1('0x10'),{'tablePasteChainId':_0x1acaeb});if(_0x3a6eba){const _0x66c4a6=_0x3a6eba[_0x47e1('0x60')](),_0x2e2e55=[];for(const {element:_0x5cffd5,attributes:_0xc79d1e}of _0x3732b7){if(!_0xc79d1e)continue;const _0x5782fa=_0x3f86f7[_0x47e1('0x4a')][_0x47e1('0x45')](_0x5cffd5),_0x2c1e3b=_0x66c4a6[_0x47e1('0x65')](_0x2035ba=>_0x2035ba[_0x47e1('0x3a')]()[_0x47e1('0x55')](_0x5782fa));_0x2c1e3b&&_0x2e2e55[_0x47e1('0x57')]([_0x2c1e3b['name'],_0xc79d1e]);}_0x2e2e55[_0x47e1('0x3')]&&_0x3a6eba[_0x47e1('0x12')](_0x47e1('0x35'),Object[_0x47e1('0x8a')](_0x2e2e55));}_0x524490=null;}));},{'priority':_0x3e8157[_0x47e1('0x52')]+0xa}),_0x3f86f7[_0x47e1('0x48')][_0x47e1('0x13')](_0x47e1('0x64'))['on'](_0x47e1('0x7e'),(_0x5ef8b6,_0x73fdf7)=>{const [_0x23c6c7,_0x18b7cd,,_0x1f72b9]=_0x73fdf7;if(!_0x524490)return;_0x5ef8b6[_0x47e1('0x14')]();const _0x59082a=_0x23c6c7[_0x47e1('0x24')],_0x498ad3=_0x18b7cd,_0x3a7883=ce(_0x59082a),_0x5c137c=ce(_0x498ad3);_0x5ef8b6[_0x47e1('0x1a')]=_0x59082a;let _0x1eb836=null,_0x2d6f8f=null;if(_0x5c137c||_0x3a7883){if(_0x3a7883&&!_0x5c137c){_0x1f72b9[_0x47e1('0x4e')](_0x59082a[_0x47e1('0x1e')](0x0));for(const _0x5df523 of Array[_0x47e1('0xa')](_0x498ad3['getChildren']()))_0x1f72b9[_0x47e1('0x3b')](_0x5df523,_0x59082a,'end');const _0x507b73=_0x524490[_0x47e1('0x7b')][_0x47e1('0xa2')](_0x23c6c7[_0x47e1('0x4')]),_0x2fd2db=_0x524490[_0x47e1('0x23')]['includes'](_0x23c6c7['column']);_0x507b73||_0x2fd2db||(_0x1eb836=_0x1f72b9[_0x47e1('0x1b')](_0x59082a));}else _0x5c137c&&!_0x3a7883&&(_0x2d6f8f=_0x1f72b9[_0x47e1('0x1b')](_0x59082a));}else{const _0x3708c2=_0x1f72b9[_0x47e1('0x5a')]('tableCellSuggestion'),_0x36ae08=_0x1f72b9['createElement'](_0x47e1('0x7f'));_0x1f72b9['wrap'](_0x1f72b9[_0x47e1('0x1b')](_0x59082a),_0x36ae08),_0x1f72b9[_0x47e1('0x3b')](_0x3708c2,_0x59082a,0x0);for(const _0x2e2f1f of Array[_0x47e1('0xa')](_0x498ad3[_0x47e1('0x46')]()))_0x1f72b9['insert'](_0x2e2f1f,_0x3708c2,'end');_0x1eb836=_0x1f72b9[_0x47e1('0x45')](_0x3708c2),_0x2d6f8f=_0x1f72b9['createRangeOn'](_0x36ae08);}const _0x35bb73=Array[_0x47e1('0xa')](_0x498ad3[_0x47e1('0x42')]())['filter'](([_0x53d0ea])=>le[_0x47e1('0xa2')](_0x53d0ea));_0x524490[_0x47e1('0x6e')]['push']({'element':_0x59082a,'attributes':_0x35bb73[_0x47e1('0x3')]?Object[_0x47e1('0x8a')](_0x35bb73):null}),_0x1eb836&&_0x524490[_0x47e1('0x43')][_0x47e1('0x57')](_0x1eb836),_0x2d6f8f&&_0x524490['deletionRanges'][_0x47e1('0x57')](_0x2d6f8f);},{'priority':_0x47e1('0x52')}),_0xf83e42['on'](_0x47e1('0x27'),(_0x510dfe,_0x19e399)=>{const [_0x25af0c,_0x5e90f6={}]=_0x19e399;if(!_0x524490)return;const _0x21e9b7=_0x5e90f6['at']||0x0,_0x2c574e=_0x5e90f6['columns']||0x1;_0x524490[_0x47e1('0x23')]=new Array(_0x2c574e)[_0x47e1('0x4f')](_0x21e9b7)[_0x47e1('0x31')]((_0x2c8015,_0x49487f)=>_0x2c8015+_0x49487f);for(const {cell:_0x15540b}of _0xf83e42[_0x47e1('0x3f')](_0x25af0c,{'startColumn':_0x21e9b7,'endColumn':_0x21e9b7+_0x2c574e-0x1}))_0x524490[_0x47e1('0x8f')][_0x47e1('0x57')](_0x3f86f7[_0x47e1('0x4a')][_0x47e1('0x45')](_0x15540b));},{'priority':_0x47e1('0x6')}),_0xf83e42['on']('insertRows',(_0x313218,_0x6ccf8b)=>{const [_0x1a6675,_0x3a7b16={}]=_0x6ccf8b;if(!_0x524490)return;const _0x58cbd3=_0x3a7b16['at']||0x0,_0x323d80=_0x3a7b16[_0x47e1('0x44')]||0x1;_0x524490[_0x47e1('0x7b')]=new Array(_0x323d80)[_0x47e1('0x4f')](_0x58cbd3)[_0x47e1('0x31')]((_0x4eebeb,_0x30f510)=>_0x4eebeb+_0x30f510);for(const {cell:_0x244886}of _0xf83e42[_0x47e1('0x3f')](_0x1a6675,{'startRow':_0x58cbd3,'endRow':_0x58cbd3+_0x323d80-0x1}))_0x524490[_0x47e1('0x0')][_0x47e1('0x57')](_0x3f86f7[_0x47e1('0x4a')][_0x47e1('0x45')](_0x244886));},{'priority':_0x47e1('0x6')}),_0x474843[_0x47e1('0x6d')][_0x47e1('0x2c')](_0x173e1c=>{if(_0x173e1c[_0x47e1('0x4d')]&&_0x173e1c[_0x47e1('0x4d')][_0x47e1('0x11')](_0x47e1('0x98')))return _0x173e1c[_0x47e1('0x7d')]?{}:{'type':_0x47e1('0x6b'),'content':_0xafdc07(_0x3f86f7[_0x47e1('0xd')],_0x47e1('0x63'))};});const _0x30fb29=()=>{};for(const _0x1c6b48 of['tablePaste',_0x47e1('0x2'),'tablePasteRow',_0x47e1('0x10')])_0x474843[_0x47e1('0x82')][_0x47e1('0x93')](_0x47e1('0x6b'),_0x1c6b48,_0x47e1('0x8b'),_0x30fb29),_0x474843['_suggestionFactory'][_0x47e1('0x93')](_0x47e1('0x28'),_0x1c6b48,'join',_0x30fb29);_0x474843['_suggestionFactory'][_0x47e1('0x93')](_0x47e1('0x2b'),_0x47e1('0x10'),_0x47e1('0x69'),_0x30fb29),_0x474843[_0x47e1('0x82')][_0x47e1('0x93')](_0x47e1('0x2b'),_0x47e1('0x10'),_0x47e1('0x5'),(_0x1192d7,_0x44377b,_0x418715)=>{const _0x5e14e4=_0x1192d7[_0x47e1('0x31')](_0x338c1e=>_0x338c1e[_0x47e1('0xc')]())['filter'](_0x3d7b77=>_0x3d7b77),_0x23bd65=new Map(_0x5e14e4[_0x47e1('0x31')](_0x18c138=>[_0x18c138,null]));if(_0x524490)for(const {element:_0x214799,attributes:_0x5db7d2}of _0x524490[_0x47e1('0x6e')])_0x5db7d2&&_0x23bd65[_0x47e1('0x1f')](_0x214799,_0x5db7d2);else{if(_0x418715&&_0x418715[_0x47e1('0x35')])for(const [_0x50fc7d,_0x40fd47]of Object['entries'](_0x418715[_0x47e1('0x35')])){const _0xd49fc4=_0x3f86f7[_0x47e1('0x4a')][_0x47e1('0x7a')][_0x47e1('0x13')](_0x50fc7d),_0x16dafb=_0xd49fc4?_0xd49fc4[_0x47e1('0x3a')]()[_0x47e1('0xc')]():null;_0x16dafb&&_0x23bd65[_0x47e1('0x1f')](_0x16dafb,_0x40fd47);}}_0x3f86f7['model'][_0x47e1('0x66')](_0x2b0d0f=>{for(const [_0x3bda71,_0x2b5dc6]of _0x23bd65)_0x2b0d0f[_0x47e1('0x22')]({...ae,..._0x2b5dc6},_0x3bda71);});});const _0x2878ad=(_0x4f887b,_0x92d517)=>{_0x474843[_0x47e1('0x82')][_0x47e1('0x93')](_0x4f887b,'tablePaste',_0x92d517,(_0x1d777b,_0xef10e6,_0x19768b)=>{_0x3f86f7[_0x47e1('0x4a')][_0x47e1('0x66')](_0x359876=>{const _0x19771e=[];for(const _0x4343ca of _0x1d777b){const _0x121755=_0x4343ca[_0x47e1('0x78')]['nodeAfter'];_0x121755['is'](_0x47e1('0x88'),_0x47e1('0x7f'))&&_0x19771e[_0x47e1('0x57')](_0x121755);}_0x474843[_0x47e1('0x82')][_0x47e1('0x4c')](_0x4f887b,null,_0x92d517)(_0x1d777b,_0xef10e6,_0x19768b);for(const _0x4ead0c of _0x19771e)_0x47e1('0x90')!=_0x4ead0c['root']['rootName']&&_0x359876[_0x47e1('0x77')](_0x4ead0c);});});};_0x2878ad(_0x47e1('0x6b'),_0x47e1('0x5')),_0x2878ad(_0x47e1('0x6b'),_0x47e1('0x69')),_0x2878ad(_0x47e1('0x28'),'accept'),_0x2878ad(_0x47e1('0x28'),_0x47e1('0x69')),_0x474843[_0x47e1('0x82')][_0x47e1('0x93')](_0x47e1('0x6b'),_0x47e1('0x96'),_0x47e1('0x69'),_0x4a27f8=>{const _0x5aa7fa=_0x4a27f8[_0x47e1('0x31')](_0x493cc4=>_0x493cc4[_0x47e1('0xc')]()),_0x37d793=_0x5aa7fa[0x0][_0x47e1('0xe')](_0x47e1('0x6f')),{minRow:_0x49fbd5,maxRow:_0x87cdd5}=_0xbc6d28[_0x47e1('0x19')](_0x5aa7fa);_0xf83e42[_0x47e1('0x3d')](_0x37d793,{'at':_0x49fbd5,'rows':_0x87cdd5-_0x49fbd5+0x1});}),_0x474843[_0x47e1('0x82')]['registerCustomCallback'](_0x47e1('0x6b'),_0x47e1('0x2'),_0x47e1('0x69'),_0x42496c=>{const _0x268446=_0x42496c[_0x47e1('0x31')](_0x4911fa=>_0x4911fa['getContainedElement']()),_0x447987=_0x268446[0x0][_0x47e1('0xe')](_0x47e1('0x6f')),{minColumn:_0x497fc3,maxColumn:_0x12bfba}=_0xbc6d28[_0x47e1('0x19')](_0x268446);_0xf83e42[_0x47e1('0x9d')](_0x447987,{'at':_0x497fc3,'columns':_0x12bfba-_0x497fc3+0x1});});const _0x19e624=(_0x1da252,_0x1d3f8d)=>{if(!_0x1d3f8d[_0x47e1('0x4d')]||!_0x1d3f8d[_0x47e1('0x4d')][_0x47e1('0x11')](_0x47e1('0x98')))return;const _0x48e1ec=_0x1d3f8d[_0x47e1('0x68')][_0x47e1('0x86')],_0x4c5f3f=_0x474843[_0x47e1('0x29')]()['filter'](_0x4cf6ed=>_0x4cf6ed[_0x47e1('0x9e')]&&_0x4cf6ed['attributes']&&_0x4cf6ed[_0x47e1('0x68')][_0x47e1('0x86')]==_0x48e1ec);_0x4c5f3f[_0x47e1('0x3')]&&_0x1d3f8d['getAllAdjacentSuggestions']()[_0x47e1('0x3')]!=_0x4c5f3f[_0x47e1('0x3')]&&_0x4c5f3f[_0x47e1('0x58')]((_0x1cb8fa,_0x3e7a81)=>(_0x1cb8fa[_0x47e1('0x5b')]=_0x3e7a81,_0x3e7a81[_0x47e1('0x7d')]=_0x1cb8fa,_0x3e7a81));};function _0x22b68d(_0x1b9ed7,_0x5308a1=!0x0){const {id:_0x2dc0a7}=_0x474843[_0x47e1('0x7c')](_0x1b9ed7[_0x47e1('0x50')]),_0x3b62e3=[_0x47e1('0x2d'),'ck-suggestion-marker-insertion'],_0x2b3d1b=_0x474843['activeMarkers']['includes'](_0x1b9ed7['markerName']);return _0x2b3d1b&&_0x3b62e3[_0x47e1('0x57')](_0x47e1('0x18')),{'classes':_0x3b62e3,'attributes':{'data-suggestion':_0x2dc0a7},'priority':_0x2b3d1b&&_0x5308a1?0xbc2:0xbb8};}_0x474843['on']('suggestionLoaded',_0x19e624,{'priority':_0x47e1('0x52')}),_0x474843['on']('suggestionUnloaded',_0x19e624,{'priority':'high'}),_0x3f86f7[_0x47e1('0x4a')][_0x47e1('0x79')]['registerPostFixer'](()=>{let _0x36ba82=!0x1;const _0x27840b=Array['from'](_0x3f86f7[_0x47e1('0x4a')]['document']['differ'][_0x47e1('0x5e')]());for(const {name:_0x544bcd,data:_0xd52747}of _0x27840b){const {group:_0x400977,type:_0x10cf15,id:_0x5f3956}=_0x474843['_splitMarkerName'](_0x544bcd);if(_0x47e1('0x1')!=_0x400977||_0x47e1('0x28')!=_0x10cf15||_0xd52747[_0x47e1('0x67')])continue;if(!_0x474843[_0x47e1('0x3c')](_0x5f3956))continue;const _0x3283d8=_0x474843[_0x47e1('0x20')](_0x5f3956)['getRanges'](),_0x376996=_0x3f86f7[_0x47e1('0x48')][_0x47e1('0x13')](_0x47e1('0x9f'))['me'];for(const _0x579e9a of _0x474843[_0x47e1('0x29')]()){if(!_0x579e9a[_0x47e1('0x9e')]||_0x579e9a['author']!=_0x376996)continue;if('formatBlock'!=_0x579e9a[_0x47e1('0x71')]||'tablePasteCell'!=_0x579e9a[_0x47e1('0x4d')])continue;if(_0x579e9a[_0x47e1('0x36')]()[_0x47e1('0x40')](_0x19634d=>_0x3283d8[_0x47e1('0x1d')](_0x49ab06=>_0x49ab06['containsRange'](_0x19634d,!0x0))))for(const _0x382825 of _0x579e9a['getAllAdjacentSuggestions']())_0x382825[_0x47e1('0x9e')]&&(_0x382825['discard'](),_0x36ba82=!0x0);}}return _0x36ba82;}),_0x3f86f7[_0x47e1('0x4a')]['document']['registerPostFixer'](_0x5ba19a=>{const _0x2720a6=_0x3f86f7['commands']['get'](_0x47e1('0x9'));if(!_0x2720a6||!_0x2720a6[_0x47e1('0x38')][_0x47e1('0x6a')](_0x5ba19a[_0x47e1('0x25')]))return!0x1;let _0x2e64fb=!0x1;const _0x54516f=_0x3f86f7[_0x47e1('0x48')][_0x47e1('0x13')]('Users')['me'],_0x323673=_0x3f86f7[_0x47e1('0x4a')][_0x47e1('0x79')][_0x47e1('0x95')][_0x47e1('0x2a')](),_0x2bc9aa=Array[_0x47e1('0xa')](_0x3f86f7[_0x47e1('0x4a')]['document'][_0x47e1('0x95')][_0x47e1('0x5e')]())['filter'](({name:_0x15539f,data:_0x38635f})=>{const {group:_0x4af825,subType:_0x3ad807,authorId:_0x53737e}=_0x474843[_0x47e1('0x7c')](_0x15539f);return'suggestion'==_0x4af825&&_0x47e1('0x98')==_0x3ad807&&_0x53737e==_0x54516f['id']&&!_0x38635f[_0x47e1('0x67')];});for(const _0x5020e5 of _0x323673){if('insert'!=_0x5020e5['type']||_0x47e1('0x7f')!=_0x5020e5[_0x47e1('0x41')]||0x1!=_0x5020e5['length'])continue;const _0x455d7e=_0x5ba19a[_0x47e1('0x91')](_0x5020e5['position'],_0x5020e5[_0x47e1('0xf')][_0x47e1('0x61')](0x1));if(!_0x2bc9aa['find'](({data:_0x4e4e72})=>_0x4e4e72[_0x47e1('0x47')][_0x47e1('0x55')](_0x455d7e)))for(const {name:_0x3d7e31,data:_0x55bdef}of _0x2bc9aa)if(_0x455d7e[_0x47e1('0x34')](_0x55bdef[_0x47e1('0x47')])){_0x5ba19a['updateMarker'](_0x3d7e31,{'range':_0x455d7e}),_0x2e64fb=!0x0;break;}}return _0x2e64fb;}),_0x3f86f7[_0x47e1('0x4a')][_0x47e1('0x79')][_0x47e1('0x8')](_0x122231=>{let _0x559e47=!0x1;const _0x3e6fcd=_0x3f86f7['plugins']['get'](_0x47e1('0x9f'))['me'],_0xb885d6=_0x474843[_0x47e1('0x29')]()[_0x47e1('0x49')](_0x5ab112=>_0x5ab112['isInContent']&&_0x5ab112['author']==_0x3e6fcd),_0x24e942=new Set(),_0x2f6a80=new Set();for(const _0x3c1a76 of _0xb885d6)if(_0x47e1('0x98')==_0x3c1a76['subType'])for(const _0x4f5dae of _0x3c1a76['getMarkers']()){const _0x5ac266=_0x4f5dae[_0x47e1('0x3a')]()['getContainedElement']();if(_0x5ac266){if(_0x5ac266['is'](_0x47e1('0x88'),_0x47e1('0x7f'))&&ce(_0x5ac266)){_0x3c1a76['removeMarker'](_0x4f5dae[_0x47e1('0x41')]),_0x24e942[_0x47e1('0x7')](_0x5ac266),_0x559e47=!0x0;const _0x35730d=_0x5ac266[_0x47e1('0x72')],_0xb30c61=_0x5ac266[_0x47e1('0x17')],_0x5dc347=_0x35730d&&_0x35730d['is'](_0x47e1('0x88'),_0x47e1('0x7f')),_0x1d383e=_0xb30c61&&_0xb30c61['is']('element','tableCellSuggestion');_0x5dc347&&!_0x24e942['has'](_0x35730d)&&_0x2f6a80[_0x47e1('0x7')](_0x35730d),_0x1d383e&&!_0x24e942[_0x47e1('0x6a')](_0xb30c61)&&_0x2f6a80[_0x47e1('0x7')](_0xb30c61);}else _0x5ac266['is'](_0x47e1('0x88'),_0x47e1('0x5c'))&&_0x5ac266[_0x47e1('0x6c')]&&(_0x3c1a76[_0x47e1('0x26')](_0x4f5dae['name']),_0x559e47=!0x0);}}else{if(_0x47e1('0x10')==_0x3c1a76[_0x47e1('0x4d')]){if(!_0x3c1a76[_0x47e1('0x68')]||!_0x3c1a76[_0x47e1('0x68')][_0x47e1('0x86')])continue;const _0x1df176=_0x3c1a76['attributes'][_0x47e1('0x35')];if(_0x1df176&&Object['keys'](_0x1df176)['length'])continue;const _0x43ee1f=_0x3c1a76[_0x47e1('0x68')][_0x47e1('0x86')];let _0x2e4548=!0x0,_0x1364f8=!0x0;for(const _0x565121 of _0xb885d6)if(_0x565121[_0x47e1('0x4d')]&&_0x565121[_0x47e1('0x4d')][_0x47e1('0x11')](_0x47e1('0x98'))){if(!_0x565121[_0x47e1('0x68')]['tablePasteChainId']){_0x1364f8=!0x1;break;}if(_0x565121['id']!=_0x3c1a76['id']&&_0x565121['attributes'][_0x47e1('0x86')]==_0x43ee1f){_0x2e4548=!0x1;break;}}_0x1364f8&&_0x2e4548&&(_0x3c1a76[_0x47e1('0x2e')](),_0x559e47=!0x0);}}for(const _0x3ae28c of _0x24e942)_0x122231['remove'](_0x3ae28c);for(const _0xc827cc of _0x2f6a80)_0x122231['unwrap'](_0xc827cc);return _0x559e47;}),_0x3f86f7['conversion']['for'](_0x47e1('0x73'))[_0x47e1('0x70')]({'model':_0x47e1('0x92'),'view':(_0x683a58,_0x2324b3)=>_0x22b68d(_0x683a58),'converterPriority':'high'}),_0x3f86f7['conversion'][_0x47e1('0x99')](_0x47e1('0x8d'))[_0x47e1('0x70')]({'model':_0x47e1('0x92'),'view':(_0x3b6b5a,_0x3953c0)=>_0x3953c0['options'][_0x47e1('0x5d')]?_0x22b68d(_0x3b6b5a,!0x1):null,'converterPriority':_0x47e1('0x52')});const _0x4bd61a=_0x3f86f7[_0x47e1('0x87')]['view'];this['listenTo'](_0x4bd61a[_0x47e1('0x79')],_0x47e1('0x2f'),(_0x4e357a,_0x3c806c)=>{const _0x3a02fc=[];for(const _0x204a59 of _0x4bd61a['createRangeIn'](_0x3c806c[_0x47e1('0x8e')])['getItems']())_0x204a59['is'](_0x47e1('0x88'),_0x47e1('0x83'))&&_0x3a02fc[_0x47e1('0x57')](_0x204a59);_0x4bd61a['change'](_0x451c51=>{for(const _0x523360 of _0x3a02fc)_0x451c51[_0x47e1('0x33')](_0x451c51[_0x47e1('0x1b')](_0x523360),_0x451c51['createPositionBefore'](_0x523360)),_0x451c51['remove'](_0x523360);});});}}function ce(_0xd216df){if(_0xd216df[_0x47e1('0x6c')])return!0x0;const _0x3339d1=_0xd216df[_0x47e1('0x1e')](0x0);return _0x3339d1['is'](_0x47e1('0x88'),_0x47e1('0x5c'))&&_0x3339d1[_0x47e1('0x6c')];}function fe(_0x3552ae,_0x2bc982={},_0xf3da21){for(const {isAnchor:_0x2cf0f2,cellHeight:_0x4b5c11,cellWidth:_0x27e5a3}of _0xf3da21[_0x47e1('0x3f')](_0x3552ae,{'includeAllSlots':!0x0,..._0x2bc982}))if(!_0x2cf0f2||0x1!=_0x4b5c11||0x1!=_0x27e5a3)return!0x1;return!0x0;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x30da=['get','resizeColumnWidths','enableCommand','editor','resizeTable','tableWidth','formatBlock','afterInit','getSuggestions','_descriptionFactory','model','commandParams','table','getContainedElement','*Format:*\x20resize\x20table','resizeTableWidth','TableColumnResizeEditing','format','data','subType','_suggestionFactory','bind','Users','registerCustomCallback','discard','locale','TrackChangesEditing','getAttribute','getSelectedElement','handleSuggestionDescription','handleResizeTableWidthCommand','columnWidths','plugins','has','registerDescriptionCallback','markBlockFormat'];(function(_0x18b115,_0x30dabd){const _0x28fbb4=function(_0x299b6b){while(--_0x299b6b){_0x18b115['push'](_0x18b115['shift']());}};_0x28fbb4(++_0x30dabd);}(_0x30da,0xcb));const _0x28fb=function(_0x18b115,_0x30dabd){_0x18b115=_0x18b115-0x0;let _0x28fbb4=_0x30da[_0x18b115];return _0x28fbb4;};import{Plugin as _0x58bf00}from'ckeditor5/src/core';import{getTranslation as _0x4e70ee}from'../utils/common-translations';export default class wt extends _0x58bf00{[_0x28fb('0x14')](){if(!this[_0x28fb('0x10')]['plugins'][_0x28fb('0xa')]('TableColumnResizeEditing'))return;const _0x4e74a1=this[_0x28fb('0x10')][_0x28fb('0x9')][_0x28fb('0xd')](_0x28fb('0x3'));_0x4e74a1[_0x28fb('0xf')]('resizeTableWidth',this[_0x28fb('0x7')][_0x28fb('0x22')](this)),_0x4e74a1[_0x28fb('0xf')](_0x28fb('0xe'),this['handleResizeTableWidthCommand'][_0x28fb('0x22')](this)),_0x4e74a1[_0x28fb('0x21')][_0x28fb('0x0')](_0x28fb('0x13'),_0x28fb('0x11'),'accept',_0x4e74a1[_0x28fb('0x21')]['getSuggestionCallback'](_0x28fb('0x13'),null,'discard')),_0x4e74a1['_suggestionFactory'][_0x28fb('0x0')]('formatBlock','resizeTable',_0x28fb('0x1'),_0x4e74a1[_0x28fb('0x21')]['getSuggestionCallback'](_0x28fb('0x13'),null,'accept')),_0x4e74a1[_0x28fb('0x16')][_0x28fb('0xb')](this[_0x28fb('0x6')]['bind'](this));}[_0x28fb('0x7')](_0x1012c5,_0x4fa837){const _0x46ad3a=this['editor'][_0x28fb('0x9')][_0x28fb('0xd')](_0x28fb('0x3')),_0x52c04d=this['editor'][_0x28fb('0x9')][_0x28fb('0xd')](_0x28fb('0x1d')),_0x2ffc67=_0x4fa837[_0x28fb('0x19')]||this[_0x28fb('0x10')][_0x28fb('0x17')]['document']['selection'][_0x28fb('0x5')]();this[_0x28fb('0x10')][_0x28fb('0x17')]['change'](()=>{const _0x5c9502=_0x52c04d['getColumnGroupElement'](_0x2ffc67);let _0x1c1e55=_0x5c9502?_0x52c04d['getTableColumnsWidths'](_0x5c9502):null,_0xb991da=_0x2ffc67[_0x28fb('0x4')]('tableWidth')||null;const _0x535511=_0x4fa837[_0x28fb('0x12')]||_0xb991da,_0x447900=_0x4fa837[_0x28fb('0x8')]||_0x1c1e55,_0x56d5c2=this['editor']['plugins'][_0x28fb('0xd')](_0x28fb('0x23'))['me'];for(const _0x353e67 of _0x46ad3a[_0x28fb('0x15')]()){const _0x481504=_0x353e67[_0x28fb('0x1a')]();if('resizeTable'===_0x353e67[_0x28fb('0x20')]&&_0x481504===_0x2ffc67){_0x353e67['author']!==_0x56d5c2&&_0x353e67[_0x28fb('0x1')]();const _0x5bf344=_0x353e67[_0x28fb('0x1f')][_0x28fb('0x18')];_0xb991da=_0x5bf344[0x0][_0x28fb('0x12')],_0x1c1e55=_0x5bf344[0x0]['columnWidths'];break;}}_0x1012c5({'table':_0x2ffc67,'tableWidth':_0x535511,'columnWidths':_0x447900}),_0x46ad3a[_0x28fb('0xc')](_0x2ffc67,{'commandName':_0x28fb('0x1c'),'commandParams':[{'tableWidth':_0xb991da,'columnWidths':_0x1c1e55}],'formatGroupId':'resizeTable'},[],_0x28fb('0x11'));});}[_0x28fb('0x6')](_0x35a65d){const {data:_0x1d2a7b}=_0x35a65d;if(_0x1d2a7b&&'resizeTable'===_0x1d2a7b['formatGroupId']){const _0x377e54=_0x28fb('0x1b');return{'type':_0x28fb('0x1e'),'content':_0x4e70ee(this[_0x28fb('0x10')][_0x28fb('0x2')],_0x377e54)};}}}
23
+ const _0xce64=['change','tableWidth','discard','model','subType','_descriptionFactory','getColumnGroupElement','formatBlock','resizeColumnWidths','markBlockFormat','accept','locale','Users','editor','handleSuggestionDescription','selection','author','resizeTableWidth','handleResizeTableWidthCommand','TableColumnResizeEditing','data','getSuggestions','enableCommand','get','getTableColumnsWidths','getAttribute','table','resizeTable','_suggestionFactory','registerDescriptionCallback','bind','commandParams','plugins','TrackChangesEditing','columnWidths','format','getContainedElement','document'];(function(_0x941ca8,_0xce64a7){const _0xa6090a=function(_0x4b738f){while(--_0x4b738f){_0x941ca8['push'](_0x941ca8['shift']());}};_0xa6090a(++_0xce64a7);}(_0xce64,0x8a));const _0xa609=function(_0x941ca8,_0xce64a7){_0x941ca8=_0x941ca8-0x0;let _0xa6090a=_0xce64[_0x941ca8];return _0xa6090a;};import{Plugin as _0x5675e1}from'ckeditor5/src/core';import{getTranslation as _0x3189a5}from'../utils/common-translations';export default class wt extends _0x5675e1{['afterInit'](){if(!this[_0xa609('0x1b')][_0xa609('0x8')]['has'](_0xa609('0x21')))return;const _0x253cc6=this[_0xa609('0x1b')][_0xa609('0x8')][_0xa609('0x25')](_0xa609('0x9'));_0x253cc6[_0xa609('0x24')](_0xa609('0x1f'),this[_0xa609('0x20')][_0xa609('0x6')](this)),_0x253cc6[_0xa609('0x24')](_0xa609('0x16'),this['handleResizeTableWidthCommand'][_0xa609('0x6')](this)),_0x253cc6['_suggestionFactory']['registerCustomCallback'](_0xa609('0x15'),_0xa609('0x3'),_0xa609('0x18'),_0x253cc6[_0xa609('0x4')]['getSuggestionCallback']('formatBlock',null,'discard')),_0x253cc6[_0xa609('0x4')]['registerCustomCallback'](_0xa609('0x15'),_0xa609('0x3'),_0xa609('0x10'),_0x253cc6[_0xa609('0x4')]['getSuggestionCallback'](_0xa609('0x15'),null,_0xa609('0x18'))),_0x253cc6[_0xa609('0x13')][_0xa609('0x5')](this[_0xa609('0x1c')][_0xa609('0x6')](this));}[_0xa609('0x20')](_0x38aa73,_0xd31a11){const _0x33a16e=this[_0xa609('0x1b')][_0xa609('0x8')]['get'](_0xa609('0x9')),_0x2e840a=this[_0xa609('0x1b')]['plugins'][_0xa609('0x25')](_0xa609('0x21')),_0x331c86=_0xd31a11[_0xa609('0x2')]||this[_0xa609('0x1b')][_0xa609('0x11')][_0xa609('0xd')][_0xa609('0x1d')]['getSelectedElement']();this[_0xa609('0x1b')]['model'][_0xa609('0xe')](()=>{const _0x1037df=_0x2e840a[_0xa609('0x14')](_0x331c86);let _0x3e65e5=_0x1037df?_0x2e840a[_0xa609('0x0')](_0x1037df):null,_0x29cc7f=_0x331c86[_0xa609('0x1')]('tableWidth')||null;const _0x5ddbff=_0xd31a11[_0xa609('0xf')]||_0x29cc7f,_0x540f4c=_0xd31a11[_0xa609('0xa')]||_0x3e65e5,_0x3d39f7=this[_0xa609('0x1b')][_0xa609('0x8')][_0xa609('0x25')](_0xa609('0x1a'))['me'];for(const _0x108cda of _0x33a16e[_0xa609('0x23')]()){const _0x5c5498=_0x108cda[_0xa609('0xc')]();if(_0xa609('0x3')===_0x108cda[_0xa609('0x12')]&&_0x5c5498===_0x331c86){_0x108cda[_0xa609('0x1e')]!==_0x3d39f7&&_0x108cda[_0xa609('0x10')]();const _0x262a6b=_0x108cda[_0xa609('0x22')][_0xa609('0x7')];_0x29cc7f=_0x262a6b[0x0][_0xa609('0xf')],_0x3e65e5=_0x262a6b[0x0][_0xa609('0xa')];break;}}_0x38aa73({'table':_0x331c86,'tableWidth':_0x5ddbff,'columnWidths':_0x540f4c}),_0x33a16e[_0xa609('0x17')](_0x331c86,{'commandName':_0xa609('0x1f'),'commandParams':[{'tableWidth':_0x29cc7f,'columnWidths':_0x3e65e5}],'formatGroupId':'resizeTable'},[],_0xa609('0x3'));});}[_0xa609('0x1c')](_0x29cc4a){const {data:_0x56ce23}=_0x29cc4a;if(_0x56ce23&&'resizeTable'===_0x56ce23['formatGroupId']){const _0x501fce='*Format:*\x20resize\x20table';return{'type':_0xa609('0xb'),'content':_0x3189a5(this[_0xa609('0x1b')][_0xa609('0x19')],_0x501fce)};}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x791f=['options','ck-suggestion-marker--active','document','has','mapper','forceValue','getColumnIndexes','_splitMarkerName','bindElementToMarker','registerCustomCallback','headingRows','selection','getAttribute','findAncestor','createRange','writer','change','createTableWalker','data','removeClass','item','enableCommand','FORMAT_HEADER_COLUMN','setTableColumnHeader','TableEditing','last','value','ck-suggestion-marker-','commandName','nodeBefore','consume','_suggestionFactory','model','_acceptFormatSuggestionCallbackFactory','FORMAT_REGULAR_COLUMN','FORMAT_REGULAR_ROW','addMarker:suggestion','get','parent','markerRange','editor','table','getChild','getSuggestion','data-suggestion','TableUtils','name','markerName','removeAttribute','from','getSelectionAffectedTableCells','index','downcastDispatcher','getRowIndexes','showSuggestionHighlights','first','childCount','formatBlock','format','commands','afterInit','cell','highest','editing','createPositionBefore','addClass','commandParams','requires','markBlockFormat','includes','*Format:*\x20%0','_descriptionFactory','accept','createPositionAfter','end','FORMAT_HEADER_ROW','headingColumns','plugins','setTableRowHeader','stop','unbindElementFromMarkerName'];(function(_0x21afc3,_0x791fca){const _0x433e13=function(_0x46ed20){while(--_0x46ed20){_0x21afc3['push'](_0x21afc3['shift']());}};_0x433e13(++_0x791fca);}(_0x791f,0xf1));const _0x433e=function(_0x21afc3,_0x791fca){_0x21afc3=_0x21afc3-0x0;let _0x433e13=_0x791f[_0x21afc3];return _0x433e13;};import{Plugin as _0x58df30}from'ckeditor5/src/core';import _0x153ab3 from'./table';import{getTranslation as _0xa605c5}from'../utils/common-translations';export default class pt extends _0x58df30{static get[_0x433e('0x45')](){return[_0x153ab3];}[_0x433e('0x3e')](){const _0x2f7abf=this[_0x433e('0x2a')];if(!_0x2f7abf[_0x433e('0x4f')][_0x433e('0x5')](_0x433e('0x1a')))return;const _0x27569e=_0x2f7abf['locale'],_0x17893a=_0x2f7abf[_0x433e('0x4f')][_0x433e('0x27')]('TrackChangesEditing'),_0xae5c72=_0x2f7abf[_0x433e('0x4f')]['get'](_0x433e('0x2f')),_0x5c2169=_0x2f7abf['plugins'][_0x433e('0x27')](_0x153ab3);function _0x420bd7({showActiveMarker:_0x3dd110=!0x0,setDataAttribute:_0x2b71e8=!0x0}={}){return(_0x148293,_0x38630a,_0x3be5ec)=>{const {type:_0x1c9424,id:_0x1dbcf4}=_0x17893a[_0x433e('0x9')](_0x38630a[_0x433e('0x31')]),_0x6f28e6=_0x17893a[_0x433e('0x2d')](_0x1dbcf4);if(!_0x6f28e6[_0x433e('0x14')]||_0x433e('0x19')!=_0x6f28e6[_0x433e('0x14')][_0x433e('0x1e')])return;if(_0x38630a[_0x433e('0x16')])return void _0x148293[_0x433e('0x0')]();if(!_0x3be5ec['consumable'][_0x433e('0x20')](_0x38630a[_0x433e('0x29')],_0x148293[_0x433e('0x30')]))return;const _0x2cc875=_0x38630a[_0x433e('0x29')]['start']['nodeAfter'],_0x216e4b=_0x38630a[_0x433e('0x29')][_0x433e('0x4c')][_0x433e('0x1f')],_0x508fb3=_0x2cc875[_0x433e('0x28')]['parent'],{column:_0x23e705}=_0xae5c72['getCellLocation'](_0x2cc875),{column:_0x3f1796}=_0xae5c72['getCellLocation'](_0x216e4b);for(let _0x1fcf44=_0x23e705;_0x1fcf44<=_0x3f1796;_0x1fcf44++){const _0x302a0a=_0xae5c72[_0x433e('0x13')](_0x508fb3,{'column':_0x1fcf44,'includeAllSlots':!0x1});for(const _0x38fed0 of _0x302a0a){const _0x2c366f=_0x38fed0[_0x433e('0x3f')],_0x33a170=_0x3be5ec['mapper']['toViewElement'](_0x2c366f);_0x3be5ec[_0x433e('0x11')]['addClass']('ck-suggestion-marker-'+_0x1c9424,_0x33a170),_0x2b71e8&&_0x3be5ec['writer']['setAttribute'](_0x433e('0x2e'),_0x1dbcf4,_0x33a170),_0x3be5ec['mapper'][_0x433e('0xa')](_0x33a170,_0x38630a['markerName']),_0x3dd110&&(_0x17893a['activeMarkers'][_0x433e('0x47')](_0x38630a[_0x433e('0x31')])?_0x3be5ec[_0x433e('0x11')][_0x433e('0x43')](_0x433e('0x3'),_0x33a170):_0x3be5ec[_0x433e('0x11')]['removeClass']('ck-suggestion-marker--active',_0x33a170));}}};}_0x17893a[_0x433e('0x17')](_0x433e('0x50'),(_0x273946,_0x10d636)=>{const _0x5b00e4=_0xae5c72[_0x433e('0x34')](_0x2f7abf['model'][_0x433e('0x4')][_0x433e('0xd')]),_0x2c4b=_0xae5c72[_0x433e('0x37')](_0x5b00e4),_0xa538ed=_0x5b00e4[0x0][_0x433e('0xf')](_0x433e('0x2b')),_0x544eab=_0xa538ed[_0x433e('0xe')](_0x433e('0xc'))||0x0,_0xa723e5=_0x10d636&&null!==_0x10d636[_0x433e('0x7')]?_0x10d636[_0x433e('0x7')]:!_0x2f7abf[_0x433e('0x3d')][_0x433e('0x27')](_0x433e('0x50'))['value'],_0x345ff9=_0xa723e5?_0x2c4b[_0x433e('0x1b')]:_0x2c4b['first'],_0x273e73=_0xa538ed['getChild'](_0x345ff9);let _0x2bb3ef;if(_0xa723e5){const _0x364c3c=_0xa538ed['getChild'](_0x544eab);if(_0x273e73[_0x433e('0x35')]<_0x364c3c[_0x433e('0x35')])return;_0x2bb3ef=_0x2f7abf[_0x433e('0x22')][_0x433e('0x10')](_0x2f7abf['model'][_0x433e('0x42')](_0x364c3c['getChild'](0x0)),_0x2f7abf[_0x433e('0x22')]['createPositionAfter'](_0x273e73[_0x433e('0x2c')](_0x273e73[_0x433e('0x3a')]-0x1)));}else{const _0x2d23ed=_0xa538ed[_0x433e('0x2c')](_0x544eab-0x1);if(!_0x2d23ed)return;_0x2bb3ef=_0x2f7abf[_0x433e('0x22')][_0x433e('0x10')](_0x2f7abf[_0x433e('0x22')]['createPositionBefore'](_0x273e73[_0x433e('0x2c')](0x0)),_0x2f7abf[_0x433e('0x22')][_0x433e('0x4b')](_0x2d23ed[_0x433e('0x2c')](_0x2d23ed['childCount']-0x1)));}_0x2f7abf[_0x433e('0x22')]['change'](()=>{_0x17893a[_0x433e('0x46')](_0x2bb3ef,{'commandName':_0x433e('0x50'),'commandParams':[{'forceValue':_0xa723e5}]},[],_0x433e('0x50'));});}),_0x17893a[_0x433e('0x17')](_0x433e('0x19'),(_0x17bedc,_0x4a1608)=>{const _0x4813c9=_0x2f7abf[_0x433e('0x4f')]['get'](_0x433e('0x2f')),_0x2490f3=_0x4813c9['getSelectionAffectedTableCells'](_0x2f7abf[_0x433e('0x22')][_0x433e('0x4')][_0x433e('0xd')]),_0x5d89ed=_0x4813c9[_0x433e('0x8')](_0x2490f3),_0x4e1799=_0x2490f3[0x0][_0x433e('0xf')]('table'),_0x8d12fd=_0x4e1799[_0x433e('0xe')](_0x433e('0x4e'))||0x0,_0x4e3273=_0x4a1608&&null!==_0x4a1608['forceValue']?_0x4a1608[_0x433e('0x7')]:!_0x2f7abf[_0x433e('0x3d')]['get'](_0x433e('0x19'))[_0x433e('0x1c')];let _0x3fbca3;const _0xf262c2=_0x4e1799[_0x433e('0x2c')](0x0),_0x186049=_0x4e3273?_0x5d89ed[_0x433e('0x1b')]:_0x5d89ed[_0x433e('0x39')],_0xc6587f=_0x4813c9[_0x433e('0x13')](_0x4e1799,{'startRow':0x0,'column':_0x186049,'includeAllSlots':!0x1}),_0x395123=Array[_0x433e('0x33')](_0xc6587f)[0x0][_0x433e('0x3f')];if(_0x4e3273){const _0x3acd42=_0xf262c2[_0x433e('0x2c')](_0x8d12fd);if(_0x395123['isBefore'](_0x3acd42))return;_0x3fbca3=_0x2f7abf[_0x433e('0x22')][_0x433e('0x10')](_0x2f7abf[_0x433e('0x22')][_0x433e('0x42')](_0x3acd42),_0x2f7abf[_0x433e('0x22')][_0x433e('0x4b')](_0x395123));}else{const _0x337684=_0xf262c2[_0x433e('0x2c')](_0x8d12fd-0x1);if(!_0x337684)return;_0x3fbca3=_0x2f7abf[_0x433e('0x22')]['createRange'](_0x2f7abf[_0x433e('0x22')][_0x433e('0x42')](_0x395123),_0x2f7abf[_0x433e('0x22')][_0x433e('0x4b')](_0x337684));}_0x2f7abf['model'][_0x433e('0x12')](()=>{_0x17893a[_0x433e('0x46')](_0x3fbca3,{'commandName':'setTableColumnHeader','commandParams':[{'forceValue':_0x4e3273}]},[],_0x433e('0x19'));});}),_0x2f7abf[_0x433e('0x41')][_0x433e('0x36')]['on'](_0x433e('0x26'),_0x420bd7(),{'priority':'highest'}),_0x2f7abf['data'][_0x433e('0x36')]['on'](_0x433e('0x26'),(_0x780fd2,_0x20d660,_0x5755c7)=>{_0x5755c7[_0x433e('0x2')][_0x433e('0x38')]&&_0x420bd7({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x780fd2,_0x20d660,_0x5755c7);},{'priority':_0x433e('0x40')}),_0x2f7abf['editing'][_0x433e('0x36')]['on']('removeMarker:suggestion',(_0x465d71,_0x48a2a3,_0x5819e0)=>{const {type:_0x5a4f5a,id:_0x57dd29}=_0x17893a['_splitMarkerName'](_0x48a2a3['markerName']),_0x1ffc9c=_0x17893a['getSuggestion'](_0x57dd29);if(!_0x1ffc9c['data']||'setTableColumnHeader'!=_0x1ffc9c[_0x433e('0x14')][_0x433e('0x1e')])return;const _0x536bac=_0x5819e0[_0x433e('0x6')]['markerNameToElements'](_0x48a2a3[_0x433e('0x31')]);if(_0x536bac)for(const _0x29e470 of _0x536bac)_0x5819e0['writer'][_0x433e('0x15')](_0x433e('0x1d')+_0x5a4f5a,_0x29e470),_0x5819e0['writer'][_0x433e('0x15')](_0x433e('0x3'),_0x29e470),_0x5819e0[_0x433e('0x11')][_0x433e('0x32')](_0x433e('0x2e'),_0x29e470),_0x5819e0['mapper'][_0x433e('0x1')](_0x29e470,_0x48a2a3[_0x433e('0x31')]);},{'priority':_0x433e('0x40')}),_0x17893a[_0x433e('0x49')]['registerDescriptionCallback'](_0x43921e=>{const {data:_0x4ccc0b}=_0x43921e;if(_0x4ccc0b){if(_0x433e('0x50')==_0x4ccc0b[_0x433e('0x1e')]){const _0x3371da=_0x4ccc0b[_0x433e('0x44')][0x0][_0x433e('0x7')];return _0x442484(_0xa605c5(_0x27569e,_0x3371da?_0x433e('0x4d'):_0x433e('0x25')));}if(_0x433e('0x19')==_0x4ccc0b[_0x433e('0x1e')]){const _0x4ab9be=_0x4ccc0b[_0x433e('0x44')][0x0][_0x433e('0x7')];return _0x442484(_0xa605c5(_0x27569e,_0x4ab9be?_0x433e('0x18'):_0x433e('0x24')));}}function _0x442484(_0x209099){return{'type':_0x433e('0x3c'),'content':_0xa605c5(_0x27569e,_0x433e('0x48'),_0x209099)};}});const _0x572838=_0x5c2169[_0x433e('0x23')]();_0x17893a[_0x433e('0x21')]['registerCustomCallback'](_0x433e('0x3b'),_0x433e('0x50'),_0x433e('0x4a'),_0x572838),_0x17893a[_0x433e('0x21')][_0x433e('0xb')](_0x433e('0x3b'),'setTableColumnHeader',_0x433e('0x4a'),_0x572838);}}
23
+ const _0x2a58=['downcastDispatcher','writer','_descriptionFactory','FORMAT_REGULAR_ROW','childCount','options','registerCustomCallback','addMarker:suggestion','consume','removeClass','value','_acceptFormatSuggestionCallbackFactory','editing','ck-suggestion-marker--active','consumable','setTableColumnHeader','isBefore','removeAttribute','setAttribute','TableUtils','forceValue','plugins','findAncestor','commandParams','data','locale','createPositionAfter','getChild','getAttribute','has','headingRows','commands','stop','mapper','model','ck-suggestion-marker-','markerNameToElements','createTableWalker','getColumnIndexes','format','formatBlock','last','accept','addClass','item','getRowIndexes','nodeAfter','get','TrackChangesEditing','from','change','nodeBefore','afterInit','setTableRowHeader','end','getCellLocation','cell','_suggestionFactory','*Format:*\x20%0','markerRange','bindElementToMarker','createPositionBefore','index','highest','parent','_splitMarkerName','getSuggestion','createRange','toViewElement','removeMarker:suggestion','unbindElementFromMarkerName','selection','FORMAT_HEADER_COLUMN','table','requires','commandName','editor','registerDescriptionCallback','getSelectionAffectedTableCells','data-suggestion','document','markerName','first'];(function(_0x158ad6,_0x2a58ae){const _0x59aae8=function(_0x2a8ad5){while(--_0x2a8ad5){_0x158ad6['push'](_0x158ad6['shift']());}};_0x59aae8(++_0x2a58ae);}(_0x2a58,0xbe));const _0x59aa=function(_0x158ad6,_0x2a58ae){_0x158ad6=_0x158ad6-0x0;let _0x59aae8=_0x2a58[_0x158ad6];return _0x59aae8;};import{Plugin as _0x309d54}from'ckeditor5/src/core';import _0x14006d from'./table';import{getTranslation as _0x3b9a4d}from'../utils/common-translations';export default class pt extends _0x309d54{static get[_0x59aa('0x32')](){return[_0x14006d];}[_0x59aa('0x1c')](){const _0x4345e6=this[_0x59aa('0x34')];if(!_0x4345e6['plugins'][_0x59aa('0x5')]('TableEditing'))return;const _0xdc7f6d=_0x4345e6[_0x59aa('0x1')],_0x32e8e6=_0x4345e6[_0x59aa('0x50')][_0x59aa('0x17')](_0x59aa('0x18')),_0x3543e1=_0x4345e6[_0x59aa('0x50')]['get'](_0x59aa('0x4e')),_0x38c92c=_0x4345e6[_0x59aa('0x50')]['get'](_0x14006d);function _0x4e1927({showActiveMarker:_0x10f568=!0x0,setDataAttribute:_0x2de3ca=!0x0}={}){return(_0x5aa2e9,_0x298039,_0x126df6)=>{const {type:_0x20a220,id:_0x35284d}=_0x32e8e6[_0x59aa('0x29')](_0x298039[_0x59aa('0x39')]),_0x390c14=_0x32e8e6[_0x59aa('0x2a')](_0x35284d);if(!_0x390c14[_0x59aa('0x0')]||'setTableColumnHeader'!=_0x390c14[_0x59aa('0x0')][_0x59aa('0x33')])return;if(_0x298039[_0x59aa('0x14')])return void _0x5aa2e9[_0x59aa('0x8')]();if(!_0x126df6[_0x59aa('0x49')][_0x59aa('0x43')](_0x298039[_0x59aa('0x23')],_0x5aa2e9['name']))return;const _0xba436e=_0x298039[_0x59aa('0x23')]['start'][_0x59aa('0x16')],_0x17d79f=_0x298039['markerRange'][_0x59aa('0x1e')][_0x59aa('0x1b')],_0x172338=_0xba436e[_0x59aa('0x28')]['parent'],{column:_0x11eb2f}=_0x3543e1[_0x59aa('0x1f')](_0xba436e),{column:_0x499c47}=_0x3543e1[_0x59aa('0x1f')](_0x17d79f);for(let _0xdc23e9=_0x11eb2f;_0xdc23e9<=_0x499c47;_0xdc23e9++){const _0x66bb11=_0x3543e1[_0x59aa('0xd')](_0x172338,{'column':_0xdc23e9,'includeAllSlots':!0x1});for(const _0x2dca97 of _0x66bb11){const _0x4e241a=_0x2dca97[_0x59aa('0x20')],_0x178a1a=_0x126df6[_0x59aa('0x9')][_0x59aa('0x2c')](_0x4e241a);_0x126df6['writer'][_0x59aa('0x13')](_0x59aa('0xb')+_0x20a220,_0x178a1a),_0x2de3ca&&_0x126df6[_0x59aa('0x3c')][_0x59aa('0x4d')](_0x59aa('0x37'),_0x35284d,_0x178a1a),_0x126df6[_0x59aa('0x9')][_0x59aa('0x24')](_0x178a1a,_0x298039[_0x59aa('0x39')]),_0x10f568&&(_0x32e8e6['activeMarkers']['includes'](_0x298039[_0x59aa('0x39')])?_0x126df6['writer'][_0x59aa('0x13')](_0x59aa('0x48'),_0x178a1a):_0x126df6['writer']['removeClass']('ck-suggestion-marker--active',_0x178a1a));}}};}_0x32e8e6['enableCommand'](_0x59aa('0x1d'),(_0x598b10,_0x17f142)=>{const _0x200754=_0x3543e1[_0x59aa('0x36')](_0x4345e6['model']['document'][_0x59aa('0x2f')]),_0x54da1e=_0x3543e1[_0x59aa('0x15')](_0x200754),_0x99695f=_0x200754[0x0]['findAncestor'](_0x59aa('0x31')),_0x542017=_0x99695f['getAttribute'](_0x59aa('0x6'))||0x0,_0x1b7fde=_0x17f142&&null!==_0x17f142[_0x59aa('0x4f')]?_0x17f142[_0x59aa('0x4f')]:!_0x4345e6[_0x59aa('0x7')][_0x59aa('0x17')](_0x59aa('0x1d'))[_0x59aa('0x45')],_0x1f1ad6=_0x1b7fde?_0x54da1e['last']:_0x54da1e[_0x59aa('0x3a')],_0x571573=_0x99695f[_0x59aa('0x3')](_0x1f1ad6);let _0x2df9d2;if(_0x1b7fde){const _0x264c54=_0x99695f[_0x59aa('0x3')](_0x542017);if(_0x571573[_0x59aa('0x26')]<_0x264c54['index'])return;_0x2df9d2=_0x4345e6[_0x59aa('0xa')][_0x59aa('0x2b')](_0x4345e6[_0x59aa('0xa')][_0x59aa('0x25')](_0x264c54[_0x59aa('0x3')](0x0)),_0x4345e6[_0x59aa('0xa')][_0x59aa('0x2')](_0x571573[_0x59aa('0x3')](_0x571573[_0x59aa('0x3f')]-0x1)));}else{const _0x239ac6=_0x99695f['getChild'](_0x542017-0x1);if(!_0x239ac6)return;_0x2df9d2=_0x4345e6[_0x59aa('0xa')][_0x59aa('0x2b')](_0x4345e6[_0x59aa('0xa')][_0x59aa('0x25')](_0x571573[_0x59aa('0x3')](0x0)),_0x4345e6[_0x59aa('0xa')][_0x59aa('0x2')](_0x239ac6[_0x59aa('0x3')](_0x239ac6[_0x59aa('0x3f')]-0x1)));}_0x4345e6['model']['change'](()=>{_0x32e8e6['markBlockFormat'](_0x2df9d2,{'commandName':_0x59aa('0x1d'),'commandParams':[{'forceValue':_0x1b7fde}]},[],'setTableRowHeader');});}),_0x32e8e6['enableCommand']('setTableColumnHeader',(_0x5e2586,_0x58daf3)=>{const _0x58cd27=_0x4345e6[_0x59aa('0x50')][_0x59aa('0x17')](_0x59aa('0x4e')),_0x1796ba=_0x58cd27[_0x59aa('0x36')](_0x4345e6[_0x59aa('0xa')][_0x59aa('0x38')][_0x59aa('0x2f')]),_0x4b6617=_0x58cd27[_0x59aa('0xe')](_0x1796ba),_0x72678=_0x1796ba[0x0][_0x59aa('0x51')]('table'),_0x4ed47c=_0x72678[_0x59aa('0x4')]('headingColumns')||0x0,_0x2d0267=_0x58daf3&&null!==_0x58daf3[_0x59aa('0x4f')]?_0x58daf3['forceValue']:!_0x4345e6[_0x59aa('0x7')][_0x59aa('0x17')]('setTableColumnHeader')[_0x59aa('0x45')];let _0x306379;const _0x5f25ee=_0x72678[_0x59aa('0x3')](0x0),_0x5e092b=_0x2d0267?_0x4b6617[_0x59aa('0x11')]:_0x4b6617[_0x59aa('0x3a')],_0x40ca0a=_0x58cd27[_0x59aa('0xd')](_0x72678,{'startRow':0x0,'column':_0x5e092b,'includeAllSlots':!0x1}),_0x559579=Array[_0x59aa('0x19')](_0x40ca0a)[0x0][_0x59aa('0x20')];if(_0x2d0267){const _0x2a4bed=_0x5f25ee['getChild'](_0x4ed47c);if(_0x559579[_0x59aa('0x4b')](_0x2a4bed))return;_0x306379=_0x4345e6[_0x59aa('0xa')][_0x59aa('0x2b')](_0x4345e6[_0x59aa('0xa')][_0x59aa('0x25')](_0x2a4bed),_0x4345e6[_0x59aa('0xa')][_0x59aa('0x2')](_0x559579));}else{const _0x23096a=_0x5f25ee[_0x59aa('0x3')](_0x4ed47c-0x1);if(!_0x23096a)return;_0x306379=_0x4345e6[_0x59aa('0xa')]['createRange'](_0x4345e6[_0x59aa('0xa')][_0x59aa('0x25')](_0x559579),_0x4345e6[_0x59aa('0xa')][_0x59aa('0x2')](_0x23096a));}_0x4345e6[_0x59aa('0xa')][_0x59aa('0x1a')](()=>{_0x32e8e6['markBlockFormat'](_0x306379,{'commandName':_0x59aa('0x4a'),'commandParams':[{'forceValue':_0x2d0267}]},[],_0x59aa('0x4a'));});}),_0x4345e6[_0x59aa('0x47')][_0x59aa('0x3b')]['on'](_0x59aa('0x42'),_0x4e1927(),{'priority':_0x59aa('0x27')}),_0x4345e6['data'][_0x59aa('0x3b')]['on']('addMarker:suggestion',(_0x46d977,_0x2bc4a2,_0x1e51da)=>{_0x1e51da[_0x59aa('0x40')]['showSuggestionHighlights']&&_0x4e1927({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x46d977,_0x2bc4a2,_0x1e51da);},{'priority':_0x59aa('0x27')}),_0x4345e6[_0x59aa('0x47')][_0x59aa('0x3b')]['on'](_0x59aa('0x2d'),(_0x46d999,_0x2e3eb0,_0x54db51)=>{const {type:_0x19c8aa,id:_0xeb79a5}=_0x32e8e6['_splitMarkerName'](_0x2e3eb0[_0x59aa('0x39')]),_0x515a91=_0x32e8e6[_0x59aa('0x2a')](_0xeb79a5);if(!_0x515a91[_0x59aa('0x0')]||_0x59aa('0x4a')!=_0x515a91[_0x59aa('0x0')]['commandName'])return;const _0x18a9b2=_0x54db51['mapper'][_0x59aa('0xc')](_0x2e3eb0['markerName']);if(_0x18a9b2)for(const _0x3be81a of _0x18a9b2)_0x54db51[_0x59aa('0x3c')][_0x59aa('0x44')](_0x59aa('0xb')+_0x19c8aa,_0x3be81a),_0x54db51['writer'][_0x59aa('0x44')](_0x59aa('0x48'),_0x3be81a),_0x54db51[_0x59aa('0x3c')][_0x59aa('0x4c')](_0x59aa('0x37'),_0x3be81a),_0x54db51['mapper'][_0x59aa('0x2e')](_0x3be81a,_0x2e3eb0[_0x59aa('0x39')]);},{'priority':_0x59aa('0x27')}),_0x32e8e6[_0x59aa('0x3d')][_0x59aa('0x35')](_0x8f2c04=>{const {data:_0x243dd9}=_0x8f2c04;if(_0x243dd9){if(_0x59aa('0x1d')==_0x243dd9[_0x59aa('0x33')]){const _0x4d9e96=_0x243dd9[_0x59aa('0x52')][0x0][_0x59aa('0x4f')];return _0x1254c4(_0x3b9a4d(_0xdc7f6d,_0x4d9e96?'FORMAT_HEADER_ROW':_0x59aa('0x3e')));}if('setTableColumnHeader'==_0x243dd9[_0x59aa('0x33')]){const _0x56160b=_0x243dd9[_0x59aa('0x52')][0x0]['forceValue'];return _0x1254c4(_0x3b9a4d(_0xdc7f6d,_0x56160b?_0x59aa('0x30'):'FORMAT_REGULAR_COLUMN'));}}function _0x1254c4(_0x35a134){return{'type':_0x59aa('0xf'),'content':_0x3b9a4d(_0xdc7f6d,_0x59aa('0x22'),_0x35a134)};}});const _0x5960c2=_0x38c92c[_0x59aa('0x46')]();_0x32e8e6[_0x59aa('0x21')][_0x59aa('0x41')](_0x59aa('0x10'),_0x59aa('0x1d'),'accept',_0x5960c2),_0x32e8e6[_0x59aa('0x21')]['registerCustomCallback'](_0x59aa('0x10'),_0x59aa('0x4a'),_0x59aa('0x12'),_0x5960c2);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2fa2=['size','from','horizontally','$graveyard','getAncestors','TableUtils','change','getFirstPosition','_areMergableCells','add','refresh','enableCommand','value','forceDefaultExecution','formatBlock','getSuggestions','registerDescriptionCallback','model','plugins','mergeTableCellDown','splitTableCellHorizontally','requires','stop','findAncestor','mergeTableCellUp','map','editor','push','highest','_suggestionFactory','_acceptFormatSuggestionCallbackFactory','isInContent','containsRange','find','rootName','element','cell','author','get','selection','execute','document','setSelection','detach','direction','return','markBlockFormat','afterInit','deletion','registerCustomCallback','_isForcedDefaultExecutionBlock','locale','format','filter','fromRange','_descriptionFactory','trackChanges','has','mergeTableCells','getSelectionAffectedTableCells','accept','splitTableCellVertically','commandName','mergeTableCellLeft','createRangeOn','_tablePostFixingSubtypes','_areSelectedCellsMergable','length','commands','markMultiRangeBlockFormat','TableEditing','mergeTableCellRight','tableCell','getCellLocation','type'];(function(_0x3a9d07,_0x2fa230){const _0x4ecda6=function(_0xd0488b){while(--_0xd0488b){_0x3a9d07['push'](_0x3a9d07['shift']());}};_0x4ecda6(++_0x2fa230);}(_0x2fa2,0x15a));const _0x4ecd=function(_0x3a9d07,_0x2fa230){_0x3a9d07=_0x3a9d07-0x0;let _0x4ecda6=_0x2fa2[_0x3a9d07];return _0x4ecda6;};import{Plugin as _0x2e2ac1}from'ckeditor5/src/core';import _0x3af763 from'./table';import{LiveRange as _0x51c6f7}from'ckeditor5/src/engine';import{getTranslation as _0x463b32}from'../utils/common-translations';export default class dt extends _0x2e2ac1{static get[_0x4ecd('0x32')](){return[_0x3af763];}[_0x4ecd('0x1')](){const _0x133fbd=this['editor'],_0x96084f=_0x133fbd['model']['document']['selection'],_0x577dda=_0x133fbd[_0x4ecd('0x5')];if(!_0x133fbd[_0x4ecd('0x2f')]['has'](_0x4ecd('0x18')))return;const _0x6c333=_0x133fbd['plugins'][_0x4ecd('0x43')]('TrackChangesEditing'),_0x2a5462=_0x133fbd[_0x4ecd('0x2f')][_0x4ecd('0x43')](_0x4ecd('0x22')),_0x37e92c=_0x133fbd['plugins']['get'](_0x3af763);_0x37e92c[_0x4ecd('0x13')][_0x4ecd('0x38')](_0x4ecd('0xc')),_0x6c333['enableCommand'](_0x4ecd('0xc'),()=>{const _0x34c3fc=_0x2a5462[_0x4ecd('0xd')](_0x133fbd[_0x4ecd('0x2e')][_0x4ecd('0x46')][_0x4ecd('0x44')]);_0x133fbd[_0x4ecd('0x2e')][_0x4ecd('0x23')](()=>{_0x6c333[_0x4ecd('0x17')](_0x34c3fc,{'commandName':'mergeTableCells','commandParams':[]},[],_0x4ecd('0xc'));});}),_0x133fbd[_0x4ecd('0x16')]['get']('mergeTableCells')['on'](_0x4ecd('0x45'),(_0x1b6219,_0x28b91f)=>{_0x133fbd[_0x4ecd('0x16')][_0x4ecd('0x43')](_0x4ecd('0xa'))[_0x4ecd('0x29')]&&(_0x28b91f[_0x4ecd('0x15')]>0x0&&_0x28b91f[_0x28b91f[_0x4ecd('0x15')]-0x1]&&_0x28b91f[_0x28b91f['length']-0x1][_0x4ecd('0x2a')]||_0x6c333[_0x4ecd('0x4')]||this[_0x4ecd('0x14')]()||_0x1b6219[_0x4ecd('0x33')]());},{'priority':_0x4ecd('0x39')});for(const _0x2da4e2 of[_0x4ecd('0x35'),_0x4ecd('0x19'),'mergeTableCellDown',_0x4ecd('0x11')]){const _0x40d35b=_0x133fbd[_0x4ecd('0x16')]['get'](_0x2da4e2);_0x6c333[_0x4ecd('0x28')](_0x2da4e2,()=>{const _0x3e7057=_0x133fbd[_0x4ecd('0x2e')][_0x4ecd('0x46')]['selection'][_0x4ecd('0x24')]()[_0x4ecd('0x21')]()[_0x4ecd('0x3e')](_0x4ea21f=>_0x4ea21f['is'](_0x4ecd('0x40'),_0x4ecd('0x1a'))),_0x4eb132=_0x40d35b[_0x4ecd('0x29')];_0x133fbd[_0x4ecd('0x2e')][_0x4ecd('0x23')](()=>{_0x6c333[_0x4ecd('0x17')]([_0x3e7057,_0x4eb132],{'commandName':_0x4ecd('0xc'),'commandParams':[]},[],_0x4ecd('0xc'));});});}for(const _0x576d45 of[_0x4ecd('0xf'),_0x4ecd('0x31')]){const _0x292859=_0x133fbd[_0x4ecd('0x16')][_0x4ecd('0x43')](_0x576d45);_0x6c333['enableCommand'](_0x576d45,()=>{const _0x21b414=_0x2a5462[_0x4ecd('0xd')](_0x133fbd[_0x4ecd('0x2e')][_0x4ecd('0x46')][_0x4ecd('0x44')])[0x0],_0x1b3713=_0x21b414[_0x4ecd('0x34')]('table'),{column:_0xe2f781,row:_0x34d7c5}=_0x2a5462[_0x4ecd('0x1b')](_0x21b414);let _0x569a13=[];if(_0x4ecd('0x1f')==_0x292859[_0x4ecd('0x49')]){const _0x1a843a=_0x2a5462['createTableWalker'](_0x1b3713,{'startRow':_0x34d7c5,'endRow':_0x34d7c5,'includeAllSlots':!0x0});_0x569a13=Array[_0x4ecd('0x1e')](_0x1a843a)[_0x4ecd('0x36')](_0x1dfea2=>_0x1dfea2[_0x4ecd('0x41')]);}else{const _0x481a54=_0x2a5462['createTableWalker'](_0x1b3713,{'column':_0xe2f781,'includeAllSlots':!0x0});_0x569a13=Array[_0x4ecd('0x1e')](_0x481a54)[_0x4ecd('0x36')](_0x452087=>_0x452087[_0x4ecd('0x41')]);}_0x133fbd[_0x4ecd('0x2e')]['change'](_0x3e950e=>{_0x6c333[_0x4ecd('0x0')](_0x3e950e['createRangeOn'](_0x21b414),{'commandName':_0x576d45,'commandParams':[]},_0x569a13,_0x576d45);});});}_0x6c333[_0x4ecd('0x9')][_0x4ecd('0x2d')](_0x10783c=>{const {data:_0x5f00e9}=_0x10783c;if(_0x5f00e9)return'mergeTableCells'==_0x5f00e9[_0x4ecd('0x10')]?{'type':_0x4ecd('0x6'),'content':_0x463b32(_0x577dda,'*Merge\x20cells*')}:void 0x0;}),_0x6c333[_0x4ecd('0x9')][_0x4ecd('0x2d')](_0x7737b6=>{const {data:_0x1add00}=_0x7737b6;if(_0x1add00)return'splitTableCellVertically'==_0x1add00[_0x4ecd('0x10')]?{'type':'format','content':_0x463b32(_0x577dda,'*Split\x20cell:*\x20vertically')}:_0x4ecd('0x31')==_0x1add00['commandName']?{'type':_0x4ecd('0x6'),'content':_0x463b32(_0x577dda,'*Split\x20cell:*\x20horizontally')}:void 0x0;});const _0x57c466=_0x37e92c[_0x4ecd('0x3b')]();for(const _0x131602 of[_0x4ecd('0x35'),_0x4ecd('0x19'),_0x4ecd('0x30'),_0x4ecd('0x11')])_0x6c333[_0x4ecd('0x3a')]['registerCustomCallback'](_0x4ecd('0x2b'),_0x131602,_0x4ecd('0xe'),_0x57c466);for(const _0x5e2d46 of['splitTableCellVertically',_0x4ecd('0x31')])_0x6c333[_0x4ecd('0x3a')]['registerCustomCallback'](_0x4ecd('0x2b'),_0x5e2d46,_0x4ecd('0xe'),_0x57c466);_0x6c333[_0x4ecd('0x3a')][_0x4ecd('0x3')](_0x4ecd('0x2b'),_0x4ecd('0xc'),'accept',_0x55c726=>{_0x133fbd[_0x4ecd('0x2e')]['change'](_0x4150f4=>{const _0x145444=Array[_0x4ecd('0x1e')](_0x96084f['getRanges']())[_0x4ecd('0x36')](_0x47ae2f=>_0x51c6f7[_0x4ecd('0x8')](_0x47ae2f));_0x4150f4[_0x4ecd('0x47')](_0x55c726),_0x133fbd[_0x4ecd('0x16')][_0x4ecd('0x43')](_0x4ecd('0xc'))[_0x4ecd('0x27')](),_0x133fbd['execute'](_0x4ecd('0xc'),{'forceDefaultExecution':!0x0});const _0xf50910=_0x145444[_0x4ecd('0x7')](_0x832651=>_0x4ecd('0x20')!=_0x832651['root'][_0x4ecd('0x3f')]);_0xf50910[_0x4ecd('0x15')]>0x0&&_0x4150f4[_0x4ecd('0x47')](_0xf50910);for(const _0x207712 of _0x145444)_0x207712[_0x4ecd('0x48')]();});});for(const _0x4de254 of[_0x4ecd('0x35'),_0x4ecd('0x30'),_0x4ecd('0x11'),_0x4ecd('0x19')]){const _0x452cf1=_0x133fbd[_0x4ecd('0x16')]['get'](_0x4de254);_0x452cf1['on']('set:isEnabled',(_0x3ab06b,_0x46738d,_0x3c3d9f)=>{if(_0x3c3d9f){const _0x45a3ef=_0x133fbd[_0x4ecd('0x2e')][_0x4ecd('0x46')][_0x4ecd('0x44')][_0x4ecd('0x24')]()['getAncestors']()[_0x4ecd('0x3e')](_0x2f2932=>_0x2f2932['is'](_0x4ecd('0x40'),_0x4ecd('0x1a')));this[_0x4ecd('0x25')](_0x452cf1[_0x4ecd('0x29')],_0x45a3ef)||(_0x3ab06b[_0x4ecd('0x4a')]=!0x1,_0x3ab06b[_0x4ecd('0x33')]());}},{'priority':'low'});}}[_0x4ecd('0x14')](){const _0x2bf179=this[_0x4ecd('0x37')][_0x4ecd('0x16')]['get']('mergeTableCells'),_0x168cac=this[_0x4ecd('0x37')]['plugins'][_0x4ecd('0x43')]('TableUtils');if(!_0x2bf179['isEnabled'])return!0x1;const _0x5a164d=_0x168cac[_0x4ecd('0xd')](this[_0x4ecd('0x37')][_0x4ecd('0x2e')][_0x4ecd('0x46')][_0x4ecd('0x44')]);for(const _0x5221d7 of _0x5a164d)for(const _0x14e290 of _0x5a164d)if(_0x5221d7!=_0x14e290&&!this['_areMergableCells'](_0x5221d7,_0x14e290))return!0x1;return!0x0;}['_areMergableCells'](_0x3e531f,_0x3bd6e5){const _0x1c73fb=this[_0x4ecd('0x37')][_0x4ecd('0x2f')][_0x4ecd('0x43')]('TrackChangesEditing'),_0x241327=this[_0x4ecd('0x37')][_0x4ecd('0x2e')][_0x4ecd('0x12')](_0x3e531f),_0xc305e4=this[_0x4ecd('0x37')][_0x4ecd('0x2e')][_0x4ecd('0x12')](_0x3bd6e5),_0x92ffd2=new Set(),_0x907d76=new Set();for(const _0x5055d6 of _0x1c73fb[_0x4ecd('0x2c')]())if(('insertion'==_0x5055d6['type']||_0x4ecd('0x2')==_0x5055d6['type']||_0x4ecd('0xc')==_0x5055d6['subType'])&&_0x5055d6[_0x4ecd('0x3c')])for(const _0x26a03 of _0x5055d6['getRanges']())_0x26a03[_0x4ecd('0x3d')](_0x241327,!0x0)&&_0x92ffd2[_0x4ecd('0x26')](_0x5055d6[_0x4ecd('0x1c')]+':'+_0x5055d6[_0x4ecd('0x42')]['id']),_0x26a03[_0x4ecd('0x3d')](_0xc305e4,!0x0)&&_0x907d76[_0x4ecd('0x26')](_0x5055d6[_0x4ecd('0x1c')]+':'+_0x5055d6[_0x4ecd('0x42')]['id']);if(_0x92ffd2[_0x4ecd('0x1d')]!=_0x907d76[_0x4ecd('0x1d')])return!0x1;for(const _0x3e344d of _0x92ffd2)if(!_0x907d76[_0x4ecd('0xb')](_0x3e344d))return!0x1;return!0x0;}}
23
+ const _0x1106=['getAncestors','low','find','enableCommand','mergeTableCellUp','plugins','*Merge\x20cells*','commandName','containsRange','detach','direction','_areSelectedCellsMergable','TableEditing','getSuggestions','insertion','registerDescriptionCallback','mergeTableCellLeft','TableUtils','filter','isInContent','length','setSelection','execute','set:isEnabled','getRanges','cell','getSelectionAffectedTableCells','editor','fromRange','_descriptionFactory','getFirstPosition','$graveyard','model','tableCell','markMultiRangeBlockFormat','add','findAncestor','value','change','isEnabled','registerCustomCallback','requires','splitTableCellHorizontally','afterInit','createRangeOn','refresh','mergeTableCells','document','subType','root','stop','size','commands','splitTableCellVertically','deletion','markBlockFormat','author','locale','selection','_isForcedDefaultExecutionBlock','table','trackChanges','get','mergeTableCellDown','*Split\x20cell:*\x20vertically','map','accept','from','element','push','format','TrackChangesEditing','type','_areMergableCells','rootName','has','formatBlock','_suggestionFactory','mergeTableCellRight'];(function(_0x1ff3e8,_0x1106a4){const _0x2c61cf=function(_0x1f60b9){while(--_0x1f60b9){_0x1ff3e8['push'](_0x1ff3e8['shift']());}};_0x2c61cf(++_0x1106a4);}(_0x1106,0xea));const _0x2c61=function(_0x1ff3e8,_0x1106a4){_0x1ff3e8=_0x1ff3e8-0x0;let _0x2c61cf=_0x1106[_0x1ff3e8];return _0x2c61cf;};import{Plugin as _0xb72da2}from'ckeditor5/src/core';import _0x3b47bc from'./table';import{LiveRange as _0x105eb0}from'ckeditor5/src/engine';import{getTranslation as _0x4d7d8d}from'../utils/common-translations';export default class dt extends _0xb72da2{static get[_0x2c61('0x2c')](){return[_0x3b47bc];}[_0x2c61('0x2e')](){const _0x466fed=this[_0x2c61('0x1e')],_0x33c004=_0x466fed[_0x2c61('0x23')][_0x2c61('0x32')][_0x2c61('0x3d')],_0x238068=_0x466fed[_0x2c61('0x3c')];if(!_0x466fed[_0x2c61('0x8')]['has'](_0x2c61('0xf')))return;const _0x4b5ed3=_0x466fed['plugins']['get']('TrackChangesEditing'),_0x1fc994=_0x466fed[_0x2c61('0x8')][_0x2c61('0x41')](_0x2c61('0x14')),_0x19a605=_0x466fed['plugins'][_0x2c61('0x41')](_0x3b47bc);_0x19a605['_tablePostFixingSubtypes'][_0x2c61('0x48')](_0x2c61('0x31')),_0x4b5ed3['enableCommand'](_0x2c61('0x31'),()=>{const _0x1d5d62=_0x1fc994[_0x2c61('0x1d')](_0x466fed['model']['document'][_0x2c61('0x3d')]);_0x466fed[_0x2c61('0x23')]['change'](()=>{_0x4b5ed3[_0x2c61('0x25')](_0x1d5d62,{'commandName':'mergeTableCells','commandParams':[]},[],'mergeTableCells');});}),_0x466fed[_0x2c61('0x37')][_0x2c61('0x41')](_0x2c61('0x31'))['on']('execute',(_0x4d55e8,_0x12a5b6)=>{_0x466fed[_0x2c61('0x37')][_0x2c61('0x41')](_0x2c61('0x40'))[_0x2c61('0x28')]&&(_0x12a5b6[_0x2c61('0x17')]>0x0&&_0x12a5b6[_0x12a5b6['length']-0x1]&&_0x12a5b6[_0x12a5b6['length']-0x1]['forceDefaultExecution']||_0x4b5ed3[_0x2c61('0x3e')]||this[_0x2c61('0xe')]()||_0x4d55e8[_0x2c61('0x35')]());},{'priority':'highest'});for(const _0x1c6634 of[_0x2c61('0x7'),_0x2c61('0x2'),'mergeTableCellDown','mergeTableCellLeft']){const _0x487509=_0x466fed[_0x2c61('0x37')][_0x2c61('0x41')](_0x1c6634);_0x4b5ed3[_0x2c61('0x6')](_0x1c6634,()=>{const _0x35f2d7=_0x466fed[_0x2c61('0x23')]['document']['selection'][_0x2c61('0x21')]()[_0x2c61('0x3')]()[_0x2c61('0x5')](_0x22f144=>_0x22f144['is']('element','tableCell')),_0x2844f6=_0x487509[_0x2c61('0x28')];_0x466fed[_0x2c61('0x23')]['change'](()=>{_0x4b5ed3[_0x2c61('0x25')]([_0x35f2d7,_0x2844f6],{'commandName':_0x2c61('0x31'),'commandParams':[]},[],_0x2c61('0x31'));});});}for(const _0x2747a2 of[_0x2c61('0x38'),_0x2c61('0x2d')]){const _0x2a1192=_0x466fed[_0x2c61('0x37')][_0x2c61('0x41')](_0x2747a2);_0x4b5ed3[_0x2c61('0x6')](_0x2747a2,()=>{const _0x4249c1=_0x1fc994[_0x2c61('0x1d')](_0x466fed[_0x2c61('0x23')][_0x2c61('0x32')][_0x2c61('0x3d')])[0x0],_0x35adad=_0x4249c1[_0x2c61('0x27')](_0x2c61('0x3f')),{column:_0x5b1f8a,row:_0x15a032}=_0x1fc994['getCellLocation'](_0x4249c1);let _0x1d6261=[];if('horizontally'==_0x2a1192[_0x2c61('0xd')]){const _0x4bee74=_0x1fc994['createTableWalker'](_0x35adad,{'startRow':_0x15a032,'endRow':_0x15a032,'includeAllSlots':!0x0});_0x1d6261=Array[_0x2c61('0x46')](_0x4bee74)[_0x2c61('0x44')](_0x2051cd=>_0x2051cd[_0x2c61('0x1c')]);}else{const _0x23628a=_0x1fc994['createTableWalker'](_0x35adad,{'column':_0x5b1f8a,'includeAllSlots':!0x0});_0x1d6261=Array[_0x2c61('0x46')](_0x23628a)[_0x2c61('0x44')](_0x15c50a=>_0x15c50a[_0x2c61('0x1c')]);}_0x466fed[_0x2c61('0x23')][_0x2c61('0x29')](_0x55909f=>{_0x4b5ed3[_0x2c61('0x3a')](_0x55909f[_0x2c61('0x2f')](_0x4249c1),{'commandName':_0x2747a2,'commandParams':[]},_0x1d6261,_0x2747a2);});});}_0x4b5ed3['_descriptionFactory']['registerDescriptionCallback'](_0x1a12b5=>{const {data:_0xf8ae4a}=_0x1a12b5;if(_0xf8ae4a)return'mergeTableCells'==_0xf8ae4a[_0x2c61('0xa')]?{'type':_0x2c61('0x49'),'content':_0x4d7d8d(_0x238068,_0x2c61('0x9'))}:void 0x0;}),_0x4b5ed3[_0x2c61('0x20')][_0x2c61('0x12')](_0x1f3c5f=>{const {data:_0xf59995}=_0x1f3c5f;if(_0xf59995)return _0x2c61('0x38')==_0xf59995[_0x2c61('0xa')]?{'type':_0x2c61('0x49'),'content':_0x4d7d8d(_0x238068,_0x2c61('0x43'))}:_0x2c61('0x2d')==_0xf59995[_0x2c61('0xa')]?{'type':_0x2c61('0x49'),'content':_0x4d7d8d(_0x238068,'*Split\x20cell:*\x20horizontally')}:void 0x0;});const _0x13124b=_0x19a605['_acceptFormatSuggestionCallbackFactory']();for(const _0x172ee7 of['mergeTableCellUp',_0x2c61('0x2'),_0x2c61('0x42'),_0x2c61('0x13')])_0x4b5ed3[_0x2c61('0x1')]['registerCustomCallback'](_0x2c61('0x0'),_0x172ee7,_0x2c61('0x45'),_0x13124b);for(const _0x57ea64 of[_0x2c61('0x38'),'splitTableCellHorizontally'])_0x4b5ed3[_0x2c61('0x1')][_0x2c61('0x2b')](_0x2c61('0x0'),_0x57ea64,_0x2c61('0x45'),_0x13124b);_0x4b5ed3[_0x2c61('0x1')][_0x2c61('0x2b')]('formatBlock',_0x2c61('0x31'),_0x2c61('0x45'),_0x86639c=>{_0x466fed[_0x2c61('0x23')][_0x2c61('0x29')](_0x39b43d=>{const _0x7b161a=Array[_0x2c61('0x46')](_0x33c004['getRanges']())[_0x2c61('0x44')](_0x18e123=>_0x105eb0[_0x2c61('0x1f')](_0x18e123));_0x39b43d[_0x2c61('0x18')](_0x86639c),_0x466fed[_0x2c61('0x37')]['get'](_0x2c61('0x31'))[_0x2c61('0x30')](),_0x466fed[_0x2c61('0x19')](_0x2c61('0x31'),{'forceDefaultExecution':!0x0});const _0x3f8806=_0x7b161a[_0x2c61('0x15')](_0x35e175=>_0x2c61('0x22')!=_0x35e175[_0x2c61('0x34')][_0x2c61('0x4d')]);_0x3f8806[_0x2c61('0x17')]>0x0&&_0x39b43d[_0x2c61('0x18')](_0x3f8806);for(const _0x2b83b3 of _0x7b161a)_0x2b83b3[_0x2c61('0xc')]();});});for(const _0x30d388 of[_0x2c61('0x7'),'mergeTableCellDown',_0x2c61('0x13'),_0x2c61('0x2')]){const _0x2fdbf2=_0x466fed[_0x2c61('0x37')][_0x2c61('0x41')](_0x30d388);_0x2fdbf2['on'](_0x2c61('0x1a'),(_0x3123ce,_0x41044f,_0x4484b0)=>{if(_0x4484b0){const _0x20a2d3=_0x466fed[_0x2c61('0x23')][_0x2c61('0x32')][_0x2c61('0x3d')][_0x2c61('0x21')]()[_0x2c61('0x3')]()[_0x2c61('0x5')](_0x2159c7=>_0x2159c7['is'](_0x2c61('0x47'),_0x2c61('0x24')));this[_0x2c61('0x4c')](_0x2fdbf2['value'],_0x20a2d3)||(_0x3123ce['return']=!0x1,_0x3123ce[_0x2c61('0x35')]());}},{'priority':_0x2c61('0x4')});}}['_areSelectedCellsMergable'](){const _0xd1e86b=this['editor'][_0x2c61('0x37')]['get'](_0x2c61('0x31')),_0x3e57b2=this[_0x2c61('0x1e')][_0x2c61('0x8')][_0x2c61('0x41')](_0x2c61('0x14'));if(!_0xd1e86b[_0x2c61('0x2a')])return!0x1;const _0x4d5a92=_0x3e57b2[_0x2c61('0x1d')](this[_0x2c61('0x1e')][_0x2c61('0x23')][_0x2c61('0x32')][_0x2c61('0x3d')]);for(const _0x494b91 of _0x4d5a92)for(const _0xecad0d of _0x4d5a92)if(_0x494b91!=_0xecad0d&&!this[_0x2c61('0x4c')](_0x494b91,_0xecad0d))return!0x1;return!0x0;}[_0x2c61('0x4c')](_0x3a8b0e,_0x2d4fe0){const _0x5ec06c=this['editor'][_0x2c61('0x8')]['get'](_0x2c61('0x4a')),_0x4e0ab9=this[_0x2c61('0x1e')][_0x2c61('0x23')][_0x2c61('0x2f')](_0x3a8b0e),_0x52204b=this[_0x2c61('0x1e')][_0x2c61('0x23')][_0x2c61('0x2f')](_0x2d4fe0),_0x20b8cc=new Set(),_0x180c00=new Set();for(const _0x1a8087 of _0x5ec06c[_0x2c61('0x10')]())if((_0x2c61('0x11')==_0x1a8087[_0x2c61('0x4b')]||_0x2c61('0x39')==_0x1a8087[_0x2c61('0x4b')]||_0x2c61('0x31')==_0x1a8087[_0x2c61('0x33')])&&_0x1a8087[_0x2c61('0x16')])for(const _0x549b3a of _0x1a8087[_0x2c61('0x1b')]())_0x549b3a['containsRange'](_0x4e0ab9,!0x0)&&_0x20b8cc[_0x2c61('0x26')](_0x1a8087['type']+':'+_0x1a8087[_0x2c61('0x3b')]['id']),_0x549b3a[_0x2c61('0xb')](_0x52204b,!0x0)&&_0x180c00[_0x2c61('0x26')](_0x1a8087['type']+':'+_0x1a8087['author']['id']);if(_0x20b8cc['size']!=_0x180c00[_0x2c61('0x36')])return!0x1;for(const _0x29d600 of _0x20b8cc)if(!_0x180c00[_0x2c61('0x4e')](_0x29d600))return!0x1;return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2162=['_descriptionFactory','registerElementLabel','insertTableOfContents','TrackChangesEditing','get','afterInit','locale','plugins'];(function(_0x20b01c,_0x216258){const _0x5e2cbf=function(_0x4097a9){while(--_0x4097a9){_0x20b01c['push'](_0x20b01c['shift']());}};_0x5e2cbf(++_0x216258);}(_0x2162,0xed));const _0x5e2c=function(_0x20b01c,_0x216258){_0x20b01c=_0x20b01c-0x0;let _0x5e2cbf=_0x2162[_0x20b01c];return _0x5e2cbf;};import{Plugin as _0x51cc9b}from'ckeditor5/src/core';import{getTranslation as _0xf90e4f}from'../utils/common-translations';export default class bt extends _0x51cc9b{[_0x5e2c('0x0')](){const _0x161402=this['editor'];if(!_0x161402['commands'][_0x5e2c('0x7')](_0x5e2c('0x5')))return;_0x161402[_0x5e2c('0x2')][_0x5e2c('0x7')]('TrackChangesEditing')['enableCommand']('insertTableOfContents');const _0x2dc34d=_0x161402[_0x5e2c('0x2')][_0x5e2c('0x7')](_0x5e2c('0x6')),_0x2e1b86=_0x161402[_0x5e2c('0x1')];_0x2dc34d[_0x5e2c('0x3')][_0x5e2c('0x4')]('tableOfContents',_0x424ce7=>_0xf90e4f(_0x2e1b86,'ELEMENT_TABLE_OF_CONTENTS',_0x424ce7));}}
23
+ const _0x4b3a=['_descriptionFactory','plugins','get','locale','insertTableOfContents','afterInit','registerElementLabel','TrackChangesEditing','commands','enableCommand','ELEMENT_TABLE_OF_CONTENTS'];(function(_0x3b47a4,_0x4b3a09){const _0x14561d=function(_0x3abca4){while(--_0x3abca4){_0x3b47a4['push'](_0x3b47a4['shift']());}};_0x14561d(++_0x4b3a09);}(_0x4b3a,0x15d));const _0x1456=function(_0x3b47a4,_0x4b3a09){_0x3b47a4=_0x3b47a4-0x0;let _0x14561d=_0x4b3a[_0x3b47a4];return _0x14561d;};import{Plugin as _0x584b2c}from'ckeditor5/src/core';import{getTranslation as _0x40c45c}from'../utils/common-translations';export default class bt extends _0x584b2c{[_0x1456('0x8')](){const _0xf224c6=this['editor'];if(!_0xf224c6[_0x1456('0x0')][_0x1456('0x5')]('insertTableOfContents'))return;_0xf224c6[_0x1456('0x4')][_0x1456('0x5')]('TrackChangesEditing')[_0x1456('0x1')](_0x1456('0x7'));const _0x34f5be=_0xf224c6[_0x1456('0x4')][_0x1456('0x5')](_0x1456('0xa')),_0x4deb17=_0xf224c6[_0x1456('0x6')];_0x34f5be[_0x1456('0x3')][_0x1456('0x9')]('tableOfContents',_0x4370ef=>_0x40c45c(_0x4deb17,_0x1456('0x2'),_0x4370ef));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1da0=['tableProperties','join','tableCellBorderWidth','discard','getFirstPosition','handleSuggestionDescription','has','tableBorderWidth','tableCellPadding','tableCellProperties','data','tableCellBorderColor','table','TablePropertiesEditing','registerDescriptionCallback','*Format:*\x20change\x20table\x20cell\x20properties','locale','formatBlock','enableCommand','pluginName','selection','commandParams','tableCellVerticalAlignment','accept','findAncestor','_handlePropertyChange','get','TrackChangesEditing','handleDiscardAction','tableCellWidth','editor','enqueueChange','getSuggestionCallback','_getSuggestion','nodeAfter','getContainedElement','removeAttribute','tableWidth','tableBackgroundColor','batch','markBlockFormat','subType','plugins','getSuggestions','start','document','TableUtils','tableCellBorderStyle','registerCustomCallback','_descriptionFactory','_suggestionFactory','tableCellBackgroundColor','getAttribute','format','model'];(function(_0x829dc3,_0x1da076){const _0x879dbd=function(_0x302d12){while(--_0x302d12){_0x829dc3['push'](_0x829dc3['shift']());}};_0x879dbd(++_0x1da076);}(_0x1da0,0x86));const _0x879d=function(_0x829dc3,_0x1da076){_0x829dc3=_0x829dc3-0x0;let _0x879dbd=_0x1da0[_0x829dc3];return _0x879dbd;};import{Plugin as _0x4136f0}from'ckeditor5/src/core';import{getTranslation as _0x1a08bc}from'../utils/common-translations';export default class Ct extends _0x4136f0{constructor(_0x4b476f){super(_0x4b476f),this['tableProperties']=['tableBorderColor','tableBorderStyle',_0x879d('0x26'),'tableAlignment',_0x879d('0xd'),'tableHeight',_0x879d('0xe')],this[_0x879d('0x28')]=[_0x879d('0x2a'),_0x879d('0x17'),_0x879d('0x21'),_0x879d('0x27'),_0x879d('0x5'),'tableCellHeight',_0x879d('0x1b'),'tableCellHorizontalAlignment',_0x879d('0x35')];}static get[_0x879d('0x32')](){return'TrackChangesTableProperties';}['afterInit'](){const _0x566156=this[_0x879d('0x6')][_0x879d('0x12')]['get']('TrackChangesEditing');if(this[_0x879d('0x6')][_0x879d('0x12')][_0x879d('0x25')](_0x879d('0x2c'))){for(const _0x15acc4 of this[_0x879d('0x1f')])_0x566156[_0x879d('0x31')](_0x15acc4,(_0x2c7fb2,_0x2b79c8)=>{const _0x40ad68=this[_0x879d('0x6')][_0x879d('0x1e')][_0x879d('0x15')][_0x879d('0x33')][_0x879d('0x23')]()[_0x879d('0x0')](_0x879d('0x2b'));this[_0x879d('0x1')](_0x15acc4,[_0x40ad68],this[_0x879d('0x1f')],_0x879d('0x1f'),_0x2c7fb2,_0x2b79c8);});_0x566156[_0x879d('0x1a')][_0x879d('0x18')](_0x879d('0x30'),_0x879d('0x1f'),_0x879d('0x36'),_0x566156['_suggestionFactory'][_0x879d('0x8')](_0x879d('0x30'),null,_0x879d('0x22'))),_0x566156[_0x879d('0x1a')][_0x879d('0x18')]('formatBlock',_0x879d('0x1f'),_0x879d('0x22'),(_0x58857a,_0x41faa0)=>this[_0x879d('0x4')](this[_0x879d('0x1f')],_0x58857a,_0x41faa0)),_0x566156[_0x879d('0x1a')][_0x879d('0x18')]('formatBlock',_0x879d('0x1f'),_0x879d('0x20'),()=>!0x1);}if(this[_0x879d('0x6')]['plugins'][_0x879d('0x25')]('TableCellPropertiesEditing')){for(const _0xa2aa8e of this[_0x879d('0x28')])_0x566156[_0x879d('0x31')](_0xa2aa8e,(_0x2d9ec9,_0x2ff96f)=>{const _0x1ea67d=this[_0x879d('0x6')][_0x879d('0x12')]['get'](_0x879d('0x16'))['getSelectionAffectedTableCells'](this['editor'][_0x879d('0x1e')]['document'][_0x879d('0x33')]);this[_0x879d('0x1')](_0xa2aa8e,_0x1ea67d,this[_0x879d('0x28')],'tableCellProperties',_0x2d9ec9,_0x2ff96f);});_0x566156[_0x879d('0x1a')]['registerCustomCallback'](_0x879d('0x30'),_0x879d('0x28'),_0x879d('0x36'),_0x566156[_0x879d('0x1a')]['getSuggestionCallback']('formatBlock',null,_0x879d('0x22'))),_0x566156[_0x879d('0x1a')][_0x879d('0x18')](_0x879d('0x30'),_0x879d('0x28'),_0x879d('0x22'),(_0x1f449b,_0x1ebd26)=>this['handleDiscardAction'](this[_0x879d('0x28')],_0x1f449b,_0x1ebd26)),_0x566156[_0x879d('0x1a')][_0x879d('0x18')](_0x879d('0x30'),_0x879d('0x28'),_0x879d('0x20'),()=>!0x1);}_0x566156[_0x879d('0x19')][_0x879d('0x2d')](_0xe6c4=>this[_0x879d('0x24')](_0xe6c4));}[_0x879d('0x1')](_0x22fb01,_0x2d8262,_0x35b89b,_0xf83a6d,_0x2bf223,_0x4484e5){const _0x499e29=this[_0x879d('0x6')][_0x879d('0x12')][_0x879d('0x2')](_0x879d('0x3'));this['editor'][_0x879d('0x1e')][_0x879d('0x7')](_0x4484e5[_0x879d('0xf')],()=>{for(const _0x43fa84 of _0x2d8262){if(this['_getSuggestion'](_0x43fa84,_0xf83a6d))_0x2bf223(_0x4484e5);else{const _0x4425b3={};for(const _0x14f4bc of _0x35b89b){const _0x225742=_0x43fa84[_0x879d('0x1c')](_0x14f4bc);void 0x0!==_0x225742&&(_0x4425b3[_0x14f4bc]=_0x225742);}_0x2bf223(_0x4484e5),_0x499e29[_0x879d('0x10')](_0x43fa84,{'commandParams':[_0x4425b3]},[],_0xf83a6d);}}});}[_0x879d('0x4')](_0x27822c,_0x2ec81b,_0x691916){const _0x47616d=_0x2ec81b[0x0][_0x879d('0x14')][_0x879d('0xa')],_0x2ffce6=_0x691916[_0x879d('0x34')][0x0];this[_0x879d('0x6')][_0x879d('0x1e')]['change'](_0x18d78e=>{for(const _0xf109a9 of _0x27822c)void 0x0!==_0x2ffce6[_0xf109a9]?_0x18d78e['setAttribute'](_0xf109a9,_0x2ffce6[_0xf109a9],_0x47616d):_0x18d78e[_0x879d('0xc')](_0xf109a9,_0x47616d);});}[_0x879d('0x24')](_0x32f961){if(_0x32f961[_0x879d('0x29')])switch(_0x32f961[_0x879d('0x11')]){case'tableProperties':return{'type':_0x879d('0x1d'),'content':_0x1a08bc(this[_0x879d('0x6')][_0x879d('0x2f')],'*Format:*\x20change\x20table\x20properties')};case _0x879d('0x28'):return{'type':_0x879d('0x1d'),'content':_0x1a08bc(this[_0x879d('0x6')][_0x879d('0x2f')],_0x879d('0x2e'))};}}[_0x879d('0x9')](_0x1024d6,_0x4f94ab){const _0x2dcac1=this[_0x879d('0x6')][_0x879d('0x12')][_0x879d('0x2')](_0x879d('0x3'));for(const _0x31185f of _0x2dcac1[_0x879d('0x13')]({'skipNotAttached':!0x0})){const _0x536f1d=_0x31185f[_0x879d('0xb')]();if(_0x31185f[_0x879d('0x11')]===_0x4f94ab&&_0x536f1d===_0x1024d6)return _0x31185f;}return null;}}
23
+ const _0xcdc5=['_suggestionFactory','TrackChangesTableProperties','TrackChangesEditing','getSelectionAffectedTableCells','*Format:*\x20change\x20table\x20cell\x20properties','editor','subType','TableCellPropertiesEditing','tableCellBorderColor','markBlockFormat','document','_handlePropertyChange','plugins','tableCellHorizontalAlignment','_descriptionFactory','getSuggestions','_getSuggestion','tableHeight','join','data','handleDiscardAction','tableBorderWidth','pluginName','tableCellBorderWidth','has','getFirstPosition','locale','tableCellBorderStyle','removeAttribute','enqueueChange','selection','tableProperties','formatBlock','enableCommand','registerCustomCallback','getAttribute','getSuggestionCallback','tableBackgroundColor','registerDescriptionCallback','afterInit','batch','get','model','start','discard','*Format:*\x20change\x20table\x20properties','tableCellWidth','setAttribute','tableCellBackgroundColor','tableCellProperties','tableBorderStyle','handleSuggestionDescription','tableCellHeight','TableUtils','TablePropertiesEditing','accept','format','tableCellPadding'];(function(_0x2a5df8,_0xcdc594){const _0x313eb8=function(_0x4a3b1c){while(--_0x4a3b1c){_0x2a5df8['push'](_0x2a5df8['shift']());}};_0x313eb8(++_0xcdc594);}(_0xcdc5,0x116));const _0x313e=function(_0x2a5df8,_0xcdc594){_0x2a5df8=_0x2a5df8-0x0;let _0x313eb8=_0xcdc5[_0x2a5df8];return _0x313eb8;};import{Plugin as _0x356151}from'ckeditor5/src/core';import{getTranslation as _0x1a38da}from'../utils/common-translations';export default class Ct extends _0x356151{constructor(_0x5ee155){super(_0x5ee155),this[_0x313e('0x2b')]=['tableBorderColor',_0x313e('0x4'),_0x313e('0x21'),'tableAlignment','tableWidth',_0x313e('0x1d'),_0x313e('0x31')],this['tableCellProperties']=[_0x313e('0x14'),_0x313e('0x27'),_0x313e('0x23'),_0x313e('0xb'),_0x313e('0x0'),_0x313e('0x6'),_0x313e('0x2'),_0x313e('0x19'),'tableCellVerticalAlignment'];}static get[_0x313e('0x22')](){return _0x313e('0xd');}[_0x313e('0x33')](){const _0x2664ff=this['editor'][_0x313e('0x18')][_0x313e('0x35')](_0x313e('0xe'));if(this[_0x313e('0x11')][_0x313e('0x18')][_0x313e('0x24')](_0x313e('0x8'))){for(const _0x63d805 of this[_0x313e('0x2b')])_0x2664ff[_0x313e('0x2d')](_0x63d805,(_0x5ac207,_0x2b19a6)=>{const _0x3d75a8=this['editor'][_0x313e('0x36')]['document'][_0x313e('0x2a')][_0x313e('0x25')]()['findAncestor']('table');this[_0x313e('0x17')](_0x63d805,[_0x3d75a8],this[_0x313e('0x2b')],_0x313e('0x2b'),_0x5ac207,_0x2b19a6);});_0x2664ff[_0x313e('0xc')]['registerCustomCallback'](_0x313e('0x2c'),_0x313e('0x2b'),'accept',_0x2664ff[_0x313e('0xc')][_0x313e('0x30')](_0x313e('0x2c'),null,_0x313e('0x38'))),_0x2664ff['_suggestionFactory'][_0x313e('0x2e')](_0x313e('0x2c'),_0x313e('0x2b'),_0x313e('0x38'),(_0x368bea,_0x5146d0)=>this[_0x313e('0x20')](this[_0x313e('0x2b')],_0x368bea,_0x5146d0)),_0x2664ff[_0x313e('0xc')][_0x313e('0x2e')](_0x313e('0x2c'),_0x313e('0x2b'),'join',()=>!0x1);}if(this[_0x313e('0x11')][_0x313e('0x18')][_0x313e('0x24')](_0x313e('0x13'))){for(const _0x11153e of this['tableCellProperties'])_0x2664ff[_0x313e('0x2d')](_0x11153e,(_0x19669d,_0x2aeee)=>{const _0x33de5a=this['editor']['plugins'][_0x313e('0x35')](_0x313e('0x7'))[_0x313e('0xf')](this[_0x313e('0x11')][_0x313e('0x36')][_0x313e('0x16')][_0x313e('0x2a')]);this[_0x313e('0x17')](_0x11153e,_0x33de5a,this[_0x313e('0x3')],_0x313e('0x3'),_0x19669d,_0x2aeee);});_0x2664ff[_0x313e('0xc')][_0x313e('0x2e')](_0x313e('0x2c'),_0x313e('0x3'),_0x313e('0x9'),_0x2664ff[_0x313e('0xc')]['getSuggestionCallback'](_0x313e('0x2c'),null,_0x313e('0x38'))),_0x2664ff[_0x313e('0xc')][_0x313e('0x2e')](_0x313e('0x2c'),'tableCellProperties','discard',(_0x226985,_0x4ceadf)=>this['handleDiscardAction'](this[_0x313e('0x3')],_0x226985,_0x4ceadf)),_0x2664ff['_suggestionFactory'][_0x313e('0x2e')](_0x313e('0x2c'),_0x313e('0x3'),_0x313e('0x1e'),()=>!0x1);}_0x2664ff[_0x313e('0x1a')][_0x313e('0x32')](_0x5e0f7e=>this[_0x313e('0x5')](_0x5e0f7e));}[_0x313e('0x17')](_0x3958e8,_0x33f083,_0x11b3a4,_0x53decb,_0x5dd2f7,_0x33d252){const _0x2f8d98=this[_0x313e('0x11')][_0x313e('0x18')][_0x313e('0x35')](_0x313e('0xe'));this['editor'][_0x313e('0x36')][_0x313e('0x29')](_0x33d252[_0x313e('0x34')],()=>{for(const _0x4228d3 of _0x33f083){if(this['_getSuggestion'](_0x4228d3,_0x53decb))_0x5dd2f7(_0x33d252);else{const _0x182c0d={};for(const _0x20a50c of _0x11b3a4){const _0x52e245=_0x4228d3[_0x313e('0x2f')](_0x20a50c);void 0x0!==_0x52e245&&(_0x182c0d[_0x20a50c]=_0x52e245);}_0x5dd2f7(_0x33d252),_0x2f8d98[_0x313e('0x15')](_0x4228d3,{'commandParams':[_0x182c0d]},[],_0x53decb);}}});}['handleDiscardAction'](_0x4f9b4f,_0x4cf875,_0x442ef5){const _0x46e412=_0x4cf875[0x0][_0x313e('0x37')]['nodeAfter'],_0x2d7834=_0x442ef5['commandParams'][0x0];this[_0x313e('0x11')]['model']['change'](_0x5593d2=>{for(const _0x373b17 of _0x4f9b4f)void 0x0!==_0x2d7834[_0x373b17]?_0x5593d2[_0x313e('0x1')](_0x373b17,_0x2d7834[_0x373b17],_0x46e412):_0x5593d2[_0x313e('0x28')](_0x373b17,_0x46e412);});}[_0x313e('0x5')](_0x5025c2){if(_0x5025c2[_0x313e('0x1f')])switch(_0x5025c2[_0x313e('0x12')]){case _0x313e('0x2b'):return{'type':_0x313e('0xa'),'content':_0x1a38da(this['editor']['locale'],_0x313e('0x39'))};case'tableCellProperties':return{'type':'format','content':_0x1a38da(this[_0x313e('0x11')][_0x313e('0x26')],_0x313e('0x10'))};}}[_0x313e('0x1c')](_0x14abda,_0xadcfe2){const _0x288340=this['editor']['plugins']['get'](_0x313e('0xe'));for(const _0xfdff89 of _0x288340[_0x313e('0x1b')]({'skipNotAttached':!0x0})){const _0x20c26d=_0xfdff89['getContainedElement']();if(_0xfdff89[_0x313e('0x12')]===_0xadcfe2&&_0x20c26d===_0x14abda)return _0xfdff89;}return null;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3405=['plugins','afterInit','Template','get','insertTemplate','has','TrackChangesEditing'];(function(_0x23d5e3,_0x34059e){const _0x1f467f=function(_0x3d7565){while(--_0x3d7565){_0x23d5e3['push'](_0x23d5e3['shift']());}};_0x1f467f(++_0x34059e);}(_0x3405,0xfa));const _0x1f46=function(_0x23d5e3,_0x34059e){_0x23d5e3=_0x23d5e3-0x0;let _0x1f467f=_0x3405[_0x23d5e3];return _0x1f467f;};import{Plugin as _0x1681ab}from'ckeditor5/src/core';export default class yt extends _0x1681ab{[_0x1f46('0x3')](){const _0x226179=this['editor'];_0x226179['plugins'][_0x1f46('0x0')](_0x1f46('0x4'))&&_0x226179[_0x1f46('0x2')][_0x1f46('0x5')](_0x1f46('0x1'))['enableCommand'](_0x1f46('0x6'));}}
23
+ const _0x4080=['get','afterInit','Template','has','insertTemplate','editor','enableCommand','plugins','TrackChangesEditing'];(function(_0x12c15f,_0x408050){const _0xb9f1dd=function(_0x455498){while(--_0x455498){_0x12c15f['push'](_0x12c15f['shift']());}};_0xb9f1dd(++_0x408050);}(_0x4080,0xb2));const _0xb9f1=function(_0x12c15f,_0x408050){_0x12c15f=_0x12c15f-0x0;let _0xb9f1dd=_0x4080[_0x12c15f];return _0xb9f1dd;};import{Plugin as _0x410538}from'ckeditor5/src/core';export default class yt extends _0x410538{[_0xb9f1('0x3')](){const _0x5f36d7=this[_0xb9f1('0x7')];_0x5f36d7[_0xb9f1('0x0')][_0xb9f1('0x5')](_0xb9f1('0x4'))&&_0x5f36d7[_0xb9f1('0x0')][_0xb9f1('0x2')](_0xb9f1('0x1'))[_0xb9f1('0x8')](_0xb9f1('0x6'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x76bb=['Title','isTouching','has','registerElementLabel','title-content','registerPostFixer','get','schema','locale','getNearestSelectionRange','plugins','start','model','editor','TrackChangesEditing','differ','newRange','nodeBefore','end','document','from','createRange','element','getChangedMarkers','forward'];(function(_0x1f1e8c,_0x76bb3e){const _0x4c795a=function(_0x5be000){while(--_0x5be000){_0x1f1e8c['push'](_0x1f1e8c['shift']());}};_0x4c795a(++_0x76bb3e);}(_0x76bb,0xe6));const _0x4c79=function(_0x1f1e8c,_0x76bb3e){_0x1f1e8c=_0x1f1e8c-0x0;let _0x4c795a=_0x76bb[_0x1f1e8c];return _0x4c795a;};import{Plugin as _0x2e1d69}from'ckeditor5/src/core';import{getTranslation as _0x472133}from'../utils/common-translations';export default class St extends _0x2e1d69{['afterInit'](){const _0x2d7e63=this[_0x4c79('0x8')];if(!_0x2d7e63['plugins'][_0x4c79('0x16')](_0x4c79('0x14')))return;const _0xe23b65=_0x2d7e63[_0x4c79('0x5')][_0x4c79('0x1')](_0x4c79('0x9'));_0xe23b65['_descriptionFactory'][_0x4c79('0x17')]('title-content',()=>_0x472133(_0x2d7e63[_0x4c79('0x3')],'ELEMENT_TITLE')),_0x2d7e63['model'][_0x4c79('0xe')][_0x4c79('0x0')](_0x574adf=>{let _0x235187=!0x1;const _0x1a91c8=Array[_0x4c79('0xf')](_0x2d7e63[_0x4c79('0x7')]['document'][_0x4c79('0xa')][_0x4c79('0x12')]());for(const {name:_0x20e218,data:_0x5cef29}of _0x1a91c8){const {group:_0x2e9634}=_0xe23b65['_splitMarkerName'](_0x20e218);if('suggestion'!==_0x2e9634||!_0x5cef29[_0x4c79('0xb')])continue;const _0x191a17=_0x5cef29['newRange'],_0x1d23ea=_0x191a17[_0x4c79('0xd')][_0x4c79('0xc')];if(!_0x1d23ea||!_0x1d23ea['is'](_0x4c79('0x11'),_0x4c79('0x18')))continue;if(!_0x191a17[_0x4c79('0x6')][_0x4c79('0x15')](_0x191a17[_0x4c79('0xd')]))continue;const _0x2011a8=_0x2d7e63[_0x4c79('0x7')][_0x4c79('0x2')][_0x4c79('0x4')](_0x191a17[_0x4c79('0xd')],_0x4c79('0x13'));if(_0x2011a8&&_0x2011a8['isCollapsed']){const _0x30fe71=_0x574adf[_0x4c79('0x10')](_0x191a17[_0x4c79('0x6')],_0x2011a8[_0x4c79('0x6')]);_0x30fe71['isEqual'](_0x191a17)||(_0x574adf['updateMarker'](_0x20e218,{'range':_0x30fe71}),_0x235187=!0x0);}_0x235187||(_0x574adf['removeMarker'](_0x20e218),_0x235187=!0x0);}return _0x235187;});}}
23
+ const _0x1d90=['start','differ','Title','get','registerElementLabel','TrackChangesEditing','newRange','_descriptionFactory','isTouching','element','getChangedMarkers','editor','has','createRange','model','getNearestSelectionRange','title-content','from','end','schema','forward','isEqual','document','suggestion','plugins'];(function(_0x3db2d8,_0x1d90d4){const _0x4c722d=function(_0x50e9e2){while(--_0x50e9e2){_0x3db2d8['push'](_0x3db2d8['shift']());}};_0x4c722d(++_0x1d90d4);}(_0x1d90,0x167));const _0x4c72=function(_0x3db2d8,_0x1d90d4){_0x3db2d8=_0x3db2d8-0x0;let _0x4c722d=_0x1d90[_0x3db2d8];return _0x4c722d;};import{Plugin as _0x4a7ff8}from'ckeditor5/src/core';import{getTranslation as _0x216327}from'../utils/common-translations';export default class St extends _0x4a7ff8{['afterInit'](){const _0x31113c=this[_0x4c72('0x2')];if(!_0x31113c[_0x4c72('0xf')][_0x4c72('0x3')](_0x4c72('0x12')))return;const _0x12171a=_0x31113c[_0x4c72('0xf')][_0x4c72('0x13')](_0x4c72('0x15'));_0x12171a[_0x4c72('0x17')][_0x4c72('0x14')]('title-content',()=>_0x216327(_0x31113c['locale'],'ELEMENT_TITLE')),_0x31113c[_0x4c72('0x5')][_0x4c72('0xd')]['registerPostFixer'](_0x303531=>{let _0x56e65d=!0x1;const _0x2e7730=Array[_0x4c72('0x8')](_0x31113c[_0x4c72('0x5')][_0x4c72('0xd')][_0x4c72('0x11')][_0x4c72('0x1')]());for(const {name:_0x52249d,data:_0x1997f1}of _0x2e7730){const {group:_0x27abd8}=_0x12171a['_splitMarkerName'](_0x52249d);if(_0x4c72('0xe')!==_0x27abd8||!_0x1997f1[_0x4c72('0x16')])continue;const _0x5f47e7=_0x1997f1[_0x4c72('0x16')],_0x41f4c8=_0x5f47e7[_0x4c72('0x9')]['nodeBefore'];if(!_0x41f4c8||!_0x41f4c8['is'](_0x4c72('0x0'),_0x4c72('0x7')))continue;if(!_0x5f47e7[_0x4c72('0x10')][_0x4c72('0x18')](_0x5f47e7[_0x4c72('0x9')]))continue;const _0x39695f=_0x31113c[_0x4c72('0x5')][_0x4c72('0xa')][_0x4c72('0x6')](_0x5f47e7[_0x4c72('0x9')],_0x4c72('0xb'));if(_0x39695f&&_0x39695f['isCollapsed']){const _0x52216a=_0x303531[_0x4c72('0x4')](_0x5f47e7['start'],_0x39695f[_0x4c72('0x10')]);_0x52216a[_0x4c72('0xc')](_0x5f47e7)||(_0x303531['updateMarker'](_0x52249d,{'range':_0x52216a}),_0x56e65d=!0x0);}_0x56e65d||(_0x303531['removeMarker'](_0x52249d),_0x56e65d=!0x0);}return _0x56e65d;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x24cd=['UndoEditing','get','afterInit','editor','undo','TrackChangesEditing','redo','plugins'];(function(_0x1c2b84,_0x24cd83){const _0x1f48db=function(_0x4c533b){while(--_0x4c533b){_0x1c2b84['push'](_0x1c2b84['shift']());}};_0x1f48db(++_0x24cd83);}(_0x24cd,0xda));const _0x1f48=function(_0x1c2b84,_0x24cd83){_0x1c2b84=_0x1c2b84-0x0;let _0x1f48db=_0x24cd[_0x1c2b84];return _0x1f48db;};import{Plugin as _0x45eda4}from'ckeditor5/src/core';export default class It extends _0x45eda4{[_0x1f48('0x0')](){const _0x1bbfe4=this[_0x1f48('0x1')],_0x1249c8=_0x1bbfe4['plugins'][_0x1f48('0x7')](_0x1f48('0x3'));_0x1bbfe4[_0x1f48('0x5')]['has'](_0x1f48('0x6'))&&(_0x1249c8['enableCommand'](_0x1f48('0x2')),_0x1249c8['enableCommand'](_0x1f48('0x4')));}}
23
+ const _0x32a1=['TrackChangesEditing','afterInit','plugins','redo','undo','editor','get','has','UndoEditing','enableCommand'];(function(_0x2b9a58,_0x32a15f){const _0x6b5eb8=function(_0x51873d){while(--_0x51873d){_0x2b9a58['push'](_0x2b9a58['shift']());}};_0x6b5eb8(++_0x32a15f);}(_0x32a1,0x11b));const _0x6b5e=function(_0x2b9a58,_0x32a15f){_0x2b9a58=_0x2b9a58-0x0;let _0x6b5eb8=_0x32a1[_0x2b9a58];return _0x6b5eb8;};import{Plugin as _0x15c95f}from'ckeditor5/src/core';export default class It extends _0x15c95f{[_0x6b5e('0x8')](){const _0x22719e=this[_0x6b5e('0x2')],_0x44e0b0=_0x22719e[_0x6b5e('0x9')][_0x6b5e('0x3')](_0x6b5e('0x7'));_0x22719e[_0x6b5e('0x9')][_0x6b5e('0x4')](_0x6b5e('0x5'))&&(_0x44e0b0[_0x6b5e('0x6')](_0x6b5e('0x1')),_0x44e0b0[_0x6b5e('0x6')](_0x6b5e('0x0')));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3016=['mapper','createRangeOn','span','toViewPosition','isBlock','markerName','nextSibling','type','consumable','name','model','elementEnd','getAttribute','get','bindElementToMarker','test','isContent','isLimit','createUIElement','activeMarkers','parent','writer','ck-suggestion-marker-','start','listIndent','addHighlight','element','includes','push','listItem','previousPosition','markerRange','toViewElement','addClass','isAtEnd','getItems'];(function(_0x1c3023,_0x3016a7){const _0x2a705d=function(_0x3f126f){while(--_0x3f126f){_0x1c3023['push'](_0x1c3023['shift']());}};_0x2a705d(++_0x3016a7);}(_0x3016,0xda));const _0x2a70=function(_0x1c3023,_0x3016a7){_0x1c3023=_0x1c3023-0x0;let _0x2a705d=_0x3016[_0x1c3023];return _0x2a705d;};export function getRangesWithAttribute(_0x20b45c,_0x162797,_0x38dc60){const _0x49d99f=[];for(const _0x2e9b4b of _0x162797[_0x2a70('0x21')]())_0x2e9b4b['hasAttribute'](_0x20b45c)&&_0x49d99f[_0x2a70('0x1a')](_0x38dc60[_0x2a70('0x23')](_0x2e9b4b));return _0x49d99f;}export function getElementsAffectedByListItemRename(_0x367d70){const _0x3d665c=[];if(_0x367d70['is'](_0x2a70('0x18'),_0x2a70('0x1b'))){let _0x91bb96=_0x367d70['nextSibling'];for(;_0x91bb96&&_0x91bb96['is'](_0x2a70('0x18'),'listItem')&&_0x91bb96[_0x2a70('0xa')](_0x2a70('0x16'))>0x0;)_0x3d665c['push'](_0x91bb96),_0x91bb96=_0x91bb96[_0x2a70('0x4')];}return _0x3d665c;}export function downcastSplitMergeMarker(_0x3b27b4,_0x5d0956,{showActiveMarker:_0x4e8d9c=!0x0}={}){const _0x1c09a4=_0x3b27b4['plugins'][_0x2a70('0xb')]('TrackChangesEditing');return(_0x49d9c4,_0x271be7,_0x4a9256)=>{if(!_0x4a9256[_0x2a70('0x6')][_0x2a70('0xd')](_0x271be7[_0x2a70('0x1d')],_0x49d9c4[_0x2a70('0x7')]))return;const _0x479f26=_0x271be7[_0x2a70('0x1d')]['getWalker'](),_0x25d828=_0x271be7[_0x2a70('0x1d')][_0x2a70('0x15')],_0x56bd26=_0x3b27b4[_0x2a70('0x8')]['schema'];let _0xfcfdf7=null,_0x31b992=null,_0x5b21b3=!0x1,_0x5ea0b0=!0x1;for(const _0x4cf321 of _0x479f26){const _0x2b2ea1=_0x4cf321['item'];_0x5b21b3=_0x5b21b3||_0x56bd26[_0x2a70('0xe')](_0x2b2ea1);const _0x500a37=_0x4a9256['mapper'][_0x2a70('0x1e')](_0x2b2ea1);if(_0x500a37&&_0x500a37['getCustomProperty'](_0x2a70('0x17')))return;_0x2a70('0x9')==_0x4cf321[_0x2a70('0x5')]&&(_0x56bd26[_0x2a70('0x2')](_0x2b2ea1)&&!_0x56bd26[_0x2a70('0xf')](_0x2b2ea1)&&(_0x2b2ea1['nextSibling']||_0x25d828[_0x2a70('0x20')]?_0xfcfdf7&&_0xfcfdf7[_0x2a70('0x12')]==_0x2b2ea1||(_0xfcfdf7=_0x2b2ea1,_0x35fca5(_0x4cf321[_0x2a70('0x1c')]),_0x5ea0b0=!0x0):_0x31b992=_0x31b992||_0x4cf321['previousPosition']));}function _0x35fca5(_0x4f88bb){const _0x1d80fe=_0x4a9256['writer'][_0x2a70('0x10')](_0x2a70('0x0'),{'class':_0x2a70('0x14')+_0x5d0956}),_0x18f0e4=_0x4a9256[_0x2a70('0x22')][_0x2a70('0x1')](_0x4f88bb);_0x4e8d9c&&_0x1c09a4[_0x2a70('0x11')][_0x2a70('0x19')](_0x271be7[_0x2a70('0x3')])&&_0x4a9256[_0x2a70('0x13')][_0x2a70('0x1f')]('ck-suggestion-marker--active',_0x1d80fe),_0x4a9256['writer']['insert'](_0x18f0e4,_0x1d80fe),_0x4a9256['mapper'][_0x2a70('0xc')](_0x1d80fe,_0x271be7[_0x2a70('0x3')]);}_0x5b21b3||_0x5ea0b0||!_0x31b992||_0x35fca5(_0x31b992);};}
23
+ const _0x3e59=['name','schema','activeMarkers','element','addClass','elementEnd','getItems','plugins','isBlock','consumable','start','get','listIndent','listItem','test','ck-suggestion-marker--active','item','toViewPosition','previousPosition','mapper','isContent','isAtEnd','writer','parent','addHighlight','hasAttribute','getWalker','nextSibling','markerName','markerRange','createRangeOn','isLimit','ck-suggestion-marker-','includes','getAttribute','push','bindElementToMarker','insert','createUIElement','TrackChangesEditing'];(function(_0x359e86,_0x3e599f){const _0x351860=function(_0xc404a2){while(--_0xc404a2){_0x359e86['push'](_0x359e86['shift']());}};_0x351860(++_0x3e599f);}(_0x3e59,0x145));const _0x3518=function(_0x359e86,_0x3e599f){_0x359e86=_0x359e86-0x0;let _0x351860=_0x3e59[_0x359e86];return _0x351860;};export function getRangesWithAttribute(_0x29dd30,_0x5a5c8d,_0x4fd75a){const _0x5c456c=[];for(const _0xb20764 of _0x5a5c8d[_0x3518('0x1')]())_0xb20764[_0x3518('0x14')](_0x29dd30)&&_0x5c456c['push'](_0x4fd75a[_0x3518('0x19')](_0xb20764));return _0x5c456c;}export function getElementsAffectedByListItemRename(_0x43f2a1){const _0x45750=[];if(_0x43f2a1['is'](_0x3518('0x26'),'listItem')){let _0x2cc9b8=_0x43f2a1[_0x3518('0x16')];for(;_0x2cc9b8&&_0x2cc9b8['is'](_0x3518('0x26'),_0x3518('0x8'))&&_0x2cc9b8[_0x3518('0x1d')](_0x3518('0x7'))>0x0;)_0x45750[_0x3518('0x1e')](_0x2cc9b8),_0x2cc9b8=_0x2cc9b8[_0x3518('0x16')];}return _0x45750;}export function downcastSplitMergeMarker(_0x18ac95,_0x5aee0b,{showActiveMarker:_0x2bcda1=!0x0}={}){const _0x13bc0f=_0x18ac95[_0x3518('0x2')][_0x3518('0x6')](_0x3518('0x22'));return(_0x1c9cc6,_0x56ae97,_0x49aa13)=>{if(!_0x49aa13[_0x3518('0x4')][_0x3518('0x9')](_0x56ae97[_0x3518('0x18')],_0x1c9cc6[_0x3518('0x23')]))return;const _0x187150=_0x56ae97[_0x3518('0x18')][_0x3518('0x15')](),_0x1fa921=_0x56ae97['markerRange'][_0x3518('0x5')],_0x22fc14=_0x18ac95['model'][_0x3518('0x24')];let _0x50bfb2=null,_0x166a1e=null,_0x298995=!0x1,_0x293e9a=!0x1;for(const _0x5b1496 of _0x187150){const _0x3bbc23=_0x5b1496[_0x3518('0xb')];_0x298995=_0x298995||_0x22fc14[_0x3518('0xf')](_0x3bbc23);const _0x42a329=_0x49aa13['mapper']['toViewElement'](_0x3bbc23);if(_0x42a329&&_0x42a329['getCustomProperty'](_0x3518('0x13')))return;_0x3518('0x0')==_0x5b1496['type']&&(_0x22fc14[_0x3518('0x3')](_0x3bbc23)&&!_0x22fc14[_0x3518('0x1a')](_0x3bbc23)&&(_0x3bbc23[_0x3518('0x16')]||_0x1fa921[_0x3518('0x10')]?_0x50bfb2&&_0x50bfb2[_0x3518('0x12')]==_0x3bbc23||(_0x50bfb2=_0x3bbc23,_0x2a3272(_0x5b1496[_0x3518('0xd')]),_0x293e9a=!0x0):_0x166a1e=_0x166a1e||_0x5b1496[_0x3518('0xd')]));}function _0x2a3272(_0x4c9b0a){const _0x21dafa=_0x49aa13[_0x3518('0x11')][_0x3518('0x21')]('span',{'class':_0x3518('0x1b')+_0x5aee0b}),_0x51b2f7=_0x49aa13[_0x3518('0xe')][_0x3518('0xc')](_0x4c9b0a);_0x2bcda1&&_0x13bc0f[_0x3518('0x25')][_0x3518('0x1c')](_0x56ae97[_0x3518('0x17')])&&_0x49aa13[_0x3518('0x11')][_0x3518('0x27')](_0x3518('0xa'),_0x21dafa),_0x49aa13['writer'][_0x3518('0x20')](_0x51b2f7,_0x21dafa),_0x49aa13[_0x3518('0xe')][_0x3518('0x1f')](_0x21dafa,_0x56ae97[_0x3518('0x17')]);}_0x298995||_0x293e9a||!_0x166a1e||_0x2a3272(_0x166a1e);};}