@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20231029.0 → 0.0.0-nightly-20231031.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (65) hide show
  1. package/build/track-changes.js +1 -1
  2. package/package.json +3 -3
  3. package/src/commands/acceptsuggestioncommand.js +1 -1
  4. package/src/commands/discardsuggestioncommand.js +1 -1
  5. package/src/commands/executeonallsuggestionscommand.js +1 -1
  6. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  7. package/src/commands/trackchangescommand.js +1 -1
  8. package/src/integrations/aiassistant.js +1 -1
  9. package/src/integrations/alignment.js +1 -1
  10. package/src/integrations/basicstyles.js +1 -1
  11. package/src/integrations/blockquote.js +1 -1
  12. package/src/integrations/ckbox.js +1 -1
  13. package/src/integrations/codeblock.js +1 -1
  14. package/src/integrations/comments.js +1 -1
  15. package/src/integrations/deletecommand.js +1 -1
  16. package/src/integrations/documentlist.js +1 -1
  17. package/src/integrations/documentlistproperties.js +1 -1
  18. package/src/integrations/entercommand.js +1 -1
  19. package/src/integrations/findandreplace.js +1 -1
  20. package/src/integrations/font.js +1 -1
  21. package/src/integrations/formatpainter.js +1 -1
  22. package/src/integrations/heading.js +1 -1
  23. package/src/integrations/highlight.js +1 -1
  24. package/src/integrations/horizontalline.js +1 -1
  25. package/src/integrations/htmlembed.js +1 -1
  26. package/src/integrations/image.js +1 -1
  27. package/src/integrations/imagereplace.js +1 -1
  28. package/src/integrations/importword.js +1 -1
  29. package/src/integrations/indent.js +1 -1
  30. package/src/integrations/inputcommand.js +1 -1
  31. package/src/integrations/link.js +1 -1
  32. package/src/integrations/list.js +1 -1
  33. package/src/integrations/listproperties.js +1 -1
  34. package/src/integrations/mediaembed.js +1 -1
  35. package/src/integrations/mention.js +1 -1
  36. package/src/integrations/pagebreak.js +1 -1
  37. package/src/integrations/paragraph.js +1 -1
  38. package/src/integrations/removeformat.js +1 -1
  39. package/src/integrations/restrictededitingmode.js +1 -1
  40. package/src/integrations/shiftentercommand.js +1 -1
  41. package/src/integrations/standardeditingmode.js +1 -1
  42. package/src/integrations/style.js +1 -1
  43. package/src/integrations/table.js +1 -1
  44. package/src/integrations/tablecaption.js +1 -1
  45. package/src/integrations/tableclipboard.js +1 -1
  46. package/src/integrations/tablecolumnresize.js +1 -1
  47. package/src/integrations/tableheadings.js +1 -1
  48. package/src/integrations/tablemergesplit.js +1 -1
  49. package/src/integrations/tableofcontents.js +1 -1
  50. package/src/integrations/tableproperties.js +1 -1
  51. package/src/integrations/template.js +1 -1
  52. package/src/integrations/title.js +1 -1
  53. package/src/integrations/undo.js +1 -1
  54. package/src/integrations/utils.js +1 -1
  55. package/src/suggestion.js +1 -1
  56. package/src/suggestiondescriptionfactory.js +1 -1
  57. package/src/trackchanges.js +1 -1
  58. package/src/trackchangesdata.js +1 -1
  59. package/src/trackchangesediting.js +1 -1
  60. package/src/trackchangesui.js +1 -1
  61. package/src/ui/suggestioncontroller.js +1 -1
  62. package/src/ui/view/basesuggestionthreadview.js +1 -1
  63. package/src/ui/view/suggestionthreadview.js +1 -1
  64. package/src/utils/common-translations.js +1 -1
  65. package/src/utils/utils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x11e7=['keys','elementToElement','markerToHighlight','createElement','filter','editing','model','createPositionBefore','getRange','registerDescriptionCallback','name','getShiftedBy','editor','formatBlock','markerName','afterInit','cell','getChangedMarkers','*Replace\x20table\x20cells*','getAttributes','nextSibling','endRow','conversion','getContainedElement','getChild','next','unwrap','getRows','rows','containsRange','return','insert','markMultiRangeDeletion','for','nodeAfter','table','accept','low','newRange','findAncestor','subType','getSelectionAffectedTableCells','join','getChildren','_suggestionFactory','TableUtils','find','previousSibling','tablePasteCell','insertionRanges','getSuggestions','insertContent','cells','_splitMarkerName','_createdBatches','length','first','set','column','removeColumns','suggestion:formatBlock:tablePasteCell','getSuggestionCallback','TableClipboard','suggestion','_replaceTableSlotCell','options','row','type','insertion','register','documentSelection','some','isEqual','fromEntries','tableCellPadding','every','createRangeOn','move','removeMarkers','setAttribute','isInContent','ck-suggestion-marker--active','createRangeIn','deletionRanges','startsWith','fill','remove','discard','createTableWalker','last','markerAttributes','_tablePostFixingSubtypes','redo','tableCellSuggestion','tablePaste','differ','getMarkers','listenTo','getTableIfOnlyTableInContent','removeRows','removeMarker','getRanges','push','tablePasteRow','tablePasteChainId','has','$graveyard','includes','document','insertRows','paragraph','requires','updateMarker','stop','end','suggestion-td','wrap','selection','registerPostFixer','root','from','showSuggestionHighlights','entries','map','tableCell','high','attributes','rootName','_getCoordsForCells','ck-suggestion-marker-insertion','author','activeMarkers','tableCellBorderWidth','getColumnIndexes','tableCellBorderStyle','Users','change','tableCellBackgroundColor','add','get','tableCellVerticalAlignment','tablePasteColumn','markers','batch','deletion','element','previous','_descriptionFactory','TrackChangesEditing','clipboardOutput','isEmpty','value','createRange','trackChanges','plugins','getSuggestion','reduce','markMultiRangeBlockFormat','tableCellBorderColor','getAllAdjacentSuggestions','setAttributes','getRowIndexes','registerCustomCallback'];(function(_0x1cb5ec,_0x11e78f){const _0xf1023f=function(_0x3ea80f){while(--_0x3ea80f){_0x1cb5ec['push'](_0x1cb5ec['shift']());}};_0xf1023f(++_0x11e78f);}(_0x11e7,0xdc));const _0xf102=function(_0x1cb5ec,_0x11e78f){_0x1cb5ec=_0x1cb5ec-0x0;let _0xf1023f=_0x11e7[_0x1cb5ec];return _0xf1023f;};import{getTranslation as _0x2ff337}from'../utils/common-translations';import{Plugin as _0x5d8833}from'ckeditor5/src/core';import{uid as _0x4aecfa,priorities as _0x37d1d1}from'ckeditor5/src/utils';import _0x3bbc0b from'./table';const le=[_0xf102('0x4b'),_0xf102('0x65'),_0xf102('0x4d'),'tableCellHorizontalAlignment',_0xf102('0x53'),_0xf102('0x50'),_0xf102('0x11')],ae=Object[_0xf102('0x10')](le[_0xf102('0x42')](_0x40aacd=>[_0x40aacd,null]));export default class wt extends _0x5d8833{static get[_0xf102('0x36')](){return[_0x3bbc0b];}[_0xf102('0x79')](){const _0x40af49=this['editor'];if(!_0x40af49[_0xf102('0x61')][_0xf102('0x30')]('TableClipboard'))return;const _0x223397=_0x40af49[_0xf102('0x61')][_0xf102('0x52')](_0xf102('0x5b')),_0x5296a8=_0x40af49[_0xf102('0x61')]['get'](_0xf102('0x97')),_0xcd4d41=_0x40af49[_0xf102('0x61')]['get'](_0x3bbc0b),_0x998718=_0x40af49[_0xf102('0x61')][_0xf102('0x52')](_0xf102('0x5'));_0xcd4d41[_0xf102('0x22')]['push'](_0xf102('0x2e'),_0xf102('0x54')),_0x40af49[_0xf102('0x70')]['schema'][_0xf102('0xc')](_0xf102('0x24'),{'allowIn':_0xf102('0x43'),'allowContentOf':'tableCell','isLimit':!0x0}),_0x40af49[_0xf102('0x80')][_0xf102('0x6b')]({'model':_0xf102('0x24'),'view':_0xf102('0x3a')});let _0x509e8b=null;_0x40af49[_0xf102('0x70')]['on'](_0xf102('0x9d'),(_0x6fe525,_0x4445a4)=>{const [_0x425ea2,_0xeb8ab]=_0x4445a4,_0x21f06e=_0x4445a4[_0x4445a4[_0xf102('0xa1')]-0x1];_0x21f06e&&_0x21f06e['forceDefaultExecution']||_0x223397['_isForcedDefaultExecutionBlock']||this[_0xf102('0x76')]['commands'][_0xf102('0x52')](_0xf102('0x60'))[_0xf102('0x5e')]&&function(_0x13d66b,_0x197779,_0x53abf5,_0x326679,_0x1ff022){if(_0x197779&&!_0x197779['is'](_0xf102('0xd')))return!0x1;const _0x2e7948=_0x1ff022[_0xf102('0x29')](_0x13d66b,_0x53abf5);if(!_0x2e7948||!fe(_0x2e7948,void 0x0,_0x326679))return!0x1;const _0x5cade8=_0x326679[_0xf102('0x93')](_0x53abf5[_0xf102('0x33')][_0xf102('0x3c')]);if(!_0x5cade8[_0xf102('0xa1')])return!0x1;const _0x537343=_0x5cade8[0x0][_0xf102('0x91')](_0xf102('0x8d')),_0x3e5fea=_0x326679[_0xf102('0x68')](_0x5cade8),_0xb9a8e0=_0x326679[_0xf102('0x4c')](_0x5cade8),_0x5e1310={'startRow':_0x3e5fea[_0xf102('0xa2')],'endRow':_0x3e5fea[_0xf102('0x20')],'startColumn':_0xb9a8e0[_0xf102('0xa2')],'endColumn':_0xb9a8e0[_0xf102('0x20')]};return 0x1==_0x5cade8[_0xf102('0xa1')]&&(_0x5e1310[_0xf102('0x7f')]+=_0x326679[_0xf102('0x85')](_0x2e7948)-0x1,_0x5e1310['endColumn']+=_0x326679['getColumns'](_0x2e7948)-0x1),fe(_0x537343,_0x5e1310,_0x326679);}(_0x425ea2,_0xeb8ab,_0x40af49[_0xf102('0x70')],_0x5296a8,_0x998718)&&(_0x6fe525['stop'](),_0x509e8b={'cells':[],'insertionRanges':[],'deletionRanges':[],'rowInsertionRanges':[],'rowInsertionIndexes':[],'columnInsertionRanges':[],'columnInsertionIndexes':[]},_0x40af49[_0xf102('0x70')][_0xf102('0x4f')](()=>{_0x40af49[_0xf102('0x70')]['insertContent'](_0x4445a4[0x0],_0x4445a4[0x1],_0x4445a4[0x2],{'forceDefaultExecution':!0x0});const _0x463a50=_0x4aecfa(),{rowInsertionRanges:_0x41d577,columnInsertionRanges:_0x1469bc,insertionRanges:_0x33f8d8,deletionRanges:_0x50e02a,cells:_0xae3c4c}=_0x509e8b;_0x41d577['length']&&_0x223397['markMultiRangeInsertion'](_0x41d577,_0xf102('0x2e'),{'tablePasteChainId':_0x463a50}),_0x1469bc['length']&&_0x223397['markMultiRangeInsertion'](_0x1469bc,_0xf102('0x54'),{'tablePasteChainId':_0x463a50}),_0x33f8d8['length']&&_0x223397['markMultiRangeInsertion'](_0x33f8d8,_0xf102('0x25'),{'tablePasteChainId':_0x463a50,'skipNestingCheck':!0x0}),_0x50e02a[_0xf102('0xa1')]&&_0x223397[_0xf102('0x8a')](_0x50e02a,'tablePaste',{'tablePasteChainId':_0x463a50,'skipNestingCheck':!0x0});const _0x1961a3=_0x223397[_0xf102('0x64')](_0xae3c4c['map'](({element:_0x33113b})=>_0x33113b),{'formatGroupId':_0x4aecfa()},[],_0xf102('0x9a'),{'tablePasteChainId':_0x463a50});if(_0x1961a3){const _0x88233f=_0x1961a3[_0xf102('0x27')](),_0x54c52c=[];for(const {element:_0x43320d,attributes:_0x3b7e41}of _0xae3c4c){if(!_0x3b7e41)continue;const _0x4d54e8=_0x40af49[_0xf102('0x70')]['createRangeOn'](_0x43320d),_0x15c382=_0x88233f['find'](_0x2d81de=>_0x2d81de[_0xf102('0x72')]()[_0xf102('0xf')](_0x4d54e8));_0x15c382&&_0x54c52c[_0xf102('0x2d')]([_0x15c382[_0xf102('0x74')],_0x3b7e41]);}_0x54c52c[_0xf102('0xa1')]&&_0x1961a3[_0xf102('0x16')]('markerAttributes',Object['fromEntries'](_0x54c52c));}_0x509e8b=null;}));},{'priority':_0x37d1d1['high']+0xa}),_0x40af49['plugins'][_0xf102('0x52')](_0xf102('0x5'))['on'](_0xf102('0x7'),(_0x14dcaf,_0x128013)=>{const [_0x310bdb,_0x42f1cc,,_0x318358]=_0x128013;if(!_0x509e8b)return;_0x14dcaf[_0xf102('0x38')]();const _0x499645=_0x310bdb[_0xf102('0x7a')],_0x5708d8=_0x42f1cc,_0x3068ec=ce(_0x499645),_0x30295c=ce(_0x5708d8);_0x14dcaf[_0xf102('0x88')]=_0x499645;let _0x130faa=null,_0x52d668=null;if(_0x30295c||_0x3068ec){if(_0x3068ec&&!_0x30295c){_0x318358[_0xf102('0x1d')](_0x499645[_0xf102('0x82')](0x0));for(const _0x28696 of Array['from'](_0x5708d8[_0xf102('0x95')]()))_0x318358['insert'](_0x28696,_0x499645,_0xf102('0x39'));const _0x5c7681=_0x509e8b['rowInsertionIndexes'][_0xf102('0x32')](_0x310bdb[_0xf102('0x9')]),_0x452651=_0x509e8b['columnInsertionIndexes'][_0xf102('0x32')](_0x310bdb[_0xf102('0x1')]);_0x5c7681||_0x452651||(_0x130faa=_0x318358['createRangeIn'](_0x499645));}else _0x30295c&&!_0x3068ec&&(_0x52d668=_0x318358[_0xf102('0x19')](_0x499645));}else{const _0x5864b8=_0x318358[_0xf102('0x6d')](_0xf102('0x24')),_0x481e5e=_0x318358['createElement'](_0xf102('0x24'));_0x318358[_0xf102('0x3b')](_0x318358[_0xf102('0x19')](_0x499645),_0x481e5e),_0x318358[_0xf102('0x89')](_0x5864b8,_0x499645,0x0);for(const _0x37c29f of Array['from'](_0x5708d8['getChildren']()))_0x318358['insert'](_0x37c29f,_0x5864b8,_0xf102('0x39'));_0x130faa=_0x318358['createRangeOn'](_0x5864b8),_0x52d668=_0x318358[_0xf102('0x13')](_0x481e5e);}const _0x1fcb43=Array[_0xf102('0x3f')](_0x5708d8[_0xf102('0x7d')]())[_0xf102('0x6e')](([_0x5b23fc])=>le[_0xf102('0x32')](_0x5b23fc));_0x509e8b[_0xf102('0x9e')]['push']({'element':_0x499645,'attributes':_0x1fcb43[_0xf102('0xa1')]?Object[_0xf102('0x10')](_0x1fcb43):null}),_0x130faa&&_0x509e8b[_0xf102('0x9b')][_0xf102('0x2d')](_0x130faa),_0x52d668&&_0x509e8b[_0xf102('0x1a')]['push'](_0x52d668);},{'priority':_0xf102('0x44')}),_0x5296a8['on']('insertColumns',(_0xf179e,_0x3d0c2c)=>{const [_0x5a6959,_0x5afba2={}]=_0x3d0c2c;if(!_0x509e8b)return;const _0x32c3a4=_0x5afba2['at']||0x0,_0x425f68=_0x5afba2['columns']||0x1;_0x509e8b['columnInsertionIndexes']=new Array(_0x425f68)[_0xf102('0x1c')](_0x32c3a4)[_0xf102('0x42')]((_0x414d5c,_0x4ac175)=>_0x414d5c+_0x4ac175);for(const {cell:_0x1d7110}of _0x5296a8[_0xf102('0x1f')](_0x5a6959,{'startColumn':_0x32c3a4,'endColumn':_0x32c3a4+_0x425f68-0x1}))_0x509e8b['columnInsertionRanges']['push'](_0x40af49[_0xf102('0x70')][_0xf102('0x13')](_0x1d7110));},{'priority':_0xf102('0x8f')}),_0x5296a8['on'](_0xf102('0x34'),(_0x4a01df,_0x523391)=>{const [_0x181b95,_0x5d1613={}]=_0x523391;if(!_0x509e8b)return;const _0x3be05b=_0x5d1613['at']||0x0,_0x2cb952=_0x5d1613[_0xf102('0x86')]||0x1;_0x509e8b['rowInsertionIndexes']=new Array(_0x2cb952)[_0xf102('0x1c')](_0x3be05b)[_0xf102('0x42')]((_0x5a9a0f,_0x5d6756)=>_0x5a9a0f+_0x5d6756);for(const {cell:_0x1d4caf}of _0x5296a8[_0xf102('0x1f')](_0x181b95,{'startRow':_0x3be05b,'endRow':_0x3be05b+_0x2cb952-0x1}))_0x509e8b['rowInsertionRanges'][_0xf102('0x2d')](_0x40af49['model'][_0xf102('0x13')](_0x1d4caf));},{'priority':_0xf102('0x8f')}),_0x223397[_0xf102('0x5a')][_0xf102('0x73')](_0x12ae71=>{if(_0x12ae71[_0xf102('0x92')]&&_0x12ae71[_0xf102('0x92')][_0xf102('0x1b')](_0xf102('0x25')))return _0x12ae71[_0xf102('0x59')]?{}:{'type':'insertion','content':_0x2ff337(_0x40af49['locale'],_0xf102('0x7c'))};});const _0x383c9a=()=>!0x1;for(const _0x33b9f7 of[_0xf102('0x25'),_0xf102('0x54'),_0xf102('0x2e'),_0xf102('0x9a')])_0x223397[_0xf102('0x96')][_0xf102('0x69')](_0xf102('0xb'),_0x33b9f7,_0xf102('0x94'),_0x383c9a),_0x223397[_0xf102('0x96')][_0xf102('0x69')](_0xf102('0x57'),_0x33b9f7,_0xf102('0x94'),_0x383c9a),_0x223397[_0xf102('0x96')][_0xf102('0x69')](_0xf102('0x77'),_0x33b9f7,_0xf102('0x94'),_0x383c9a);_0x223397[_0xf102('0x96')]['registerCustomCallback'](_0xf102('0x77'),_0xf102('0x9a'),'discard',_0x383c9a),_0x223397[_0xf102('0x96')][_0xf102('0x69')](_0xf102('0x77'),_0xf102('0x9a'),'accept',(_0x219f86,_0x4861ff,_0x54e9bb)=>{const _0x21f109=_0x219f86[_0xf102('0x42')](_0x2f1bd2=>_0x2f1bd2['getContainedElement']())['filter'](_0x1cfa65=>_0x1cfa65),_0x194ef4=new Map(_0x21f109['map'](_0x596dd5=>[_0x596dd5,null]));if(_0x509e8b)for(const {element:_0x4b0677,attributes:_0x8c6491}of _0x509e8b[_0xf102('0x9e')])_0x8c6491&&_0x194ef4[_0xf102('0x0')](_0x4b0677,_0x8c6491);else{if(_0x54e9bb&&_0x54e9bb[_0xf102('0x21')])for(const [_0x317196,_0x3fc3ea]of Object[_0xf102('0x41')](_0x54e9bb[_0xf102('0x21')])){const _0x572a4c=_0x40af49[_0xf102('0x70')][_0xf102('0x55')][_0xf102('0x52')](_0x317196),_0x2c1eba=_0x572a4c?_0x572a4c['getRange']()['getContainedElement']():null;_0x2c1eba&&_0x194ef4[_0xf102('0x0')](_0x2c1eba,_0x3fc3ea);}}_0x40af49['model'][_0xf102('0x4f')](_0x8156d4=>{for(const [_0x362da1,_0x33c9de]of _0x194ef4)_0x8156d4[_0xf102('0x67')]({...ae,..._0x33c9de},_0x362da1);});});const _0x36268d=(_0x124916,_0x4c54c7)=>{_0x223397['_suggestionFactory']['registerCustomCallback'](_0x124916,'tablePaste',_0x4c54c7,(_0x38e48b,_0x211d63,_0x168cc7)=>{_0x40af49['model'][_0xf102('0x4f')](_0x16f019=>{const _0x855962=[];for(const _0x1ba969 of _0x38e48b){const _0x42442f=_0x1ba969['start'][_0xf102('0x8c')];_0x42442f['is'](_0xf102('0x58'),_0xf102('0x24'))&&_0x855962['push'](_0x42442f);}_0x223397[_0xf102('0x96')][_0xf102('0x4')](_0x124916,null,_0x4c54c7)(_0x38e48b,_0x211d63,_0x168cc7);for(const _0x3d8287 of _0x855962)_0xf102('0x31')!=_0x3d8287[_0xf102('0x3e')][_0xf102('0x46')]&&_0x16f019[_0xf102('0x84')](_0x3d8287);});});};_0x36268d(_0xf102('0xb'),_0xf102('0x8e')),_0x36268d(_0xf102('0xb'),'discard'),_0x36268d(_0xf102('0x57'),_0xf102('0x8e')),_0x36268d(_0xf102('0x57'),_0xf102('0x1e')),_0x223397[_0xf102('0x96')][_0xf102('0x69')]('insertion',_0xf102('0x2e'),_0xf102('0x1e'),_0x2b4505=>{const _0xd8a3fc=_0x2b4505[_0xf102('0x42')](_0x5ec8dc=>_0x5ec8dc[_0xf102('0x81')]()),_0x242d52=_0xd8a3fc[0x0]['findAncestor'](_0xf102('0x8d')),{minRow:_0x2196d2,maxRow:_0x5795ab}=_0xcd4d41[_0xf102('0x47')](_0xd8a3fc);_0x5296a8[_0xf102('0x2a')](_0x242d52,{'at':_0x2196d2,'rows':_0x5795ab-_0x2196d2+0x1});}),_0x223397[_0xf102('0x96')][_0xf102('0x69')](_0xf102('0xb'),_0xf102('0x54'),_0xf102('0x1e'),_0x3776c8=>{const _0x1512d9=_0x3776c8['map'](_0x3469da=>_0x3469da[_0xf102('0x81')]()),_0x32f768=_0x1512d9[0x0][_0xf102('0x91')](_0xf102('0x8d')),{minColumn:_0x8066ea,maxColumn:_0x320967}=_0xcd4d41[_0xf102('0x47')](_0x1512d9);_0x5296a8[_0xf102('0x2')](_0x32f768,{'at':_0x8066ea,'columns':_0x320967-_0x8066ea+0x1});});const _0x5edf70=(_0x125f34,_0x147504)=>{if(!_0x147504[_0xf102('0x92')]||!_0x147504[_0xf102('0x92')]['startsWith']('tablePaste'))return;const _0x181d5e=_0x147504['attributes'][_0xf102('0x2f')],_0x338029=_0x223397['getSuggestions']()[_0xf102('0x6e')](_0x5f584e=>_0x5f584e[_0xf102('0x17')]&&_0x5f584e[_0xf102('0x45')]&&_0x5f584e[_0xf102('0x45')][_0xf102('0x2f')]==_0x181d5e);_0x338029[_0xf102('0xa1')]&&_0x147504[_0xf102('0x66')]()[_0xf102('0xa1')]!=_0x338029[_0xf102('0xa1')]&&_0x338029[_0xf102('0x63')]((_0x24044e,_0x252f3d)=>(_0x24044e[_0xf102('0x83')]=_0x252f3d,_0x252f3d[_0xf102('0x59')]=_0x24044e,_0x252f3d));};function _0x3ab965(_0x2b72b4,_0x209dfd=!0x0){const {id:_0x2d3878}=_0x223397[_0xf102('0x9f')](_0x2b72b4[_0xf102('0x78')]),_0x4e73e7=['ck-suggestion-marker',_0xf102('0x48')],_0x47001c=_0x223397[_0xf102('0x4a')][_0xf102('0x32')](_0x2b72b4['markerName']);return _0x47001c&&_0x4e73e7['push'](_0xf102('0x18')),{'classes':_0x4e73e7,'attributes':{'data-suggestion':_0x2d3878},'priority':_0x47001c&&_0x209dfd?0xbc2:0xbb8};}_0x223397['on']('suggestionLoaded',_0x5edf70,{'priority':_0xf102('0x44')}),_0x223397['on']('suggestionUnloaded',_0x5edf70,{'priority':_0xf102('0x44')}),_0x40af49[_0xf102('0x70')][_0xf102('0x33')]['registerPostFixer'](()=>{let _0x4b1d42=!0x1;const _0x4fd22d=Array['from'](_0x40af49['model'][_0xf102('0x33')][_0xf102('0x26')]['getChangedMarkers']());for(const {name:_0x2913c4,data:_0x7d7e6e}of _0x4fd22d){const {group:_0x329e87,type:_0x4b5597,id:_0x252e9f}=_0x223397[_0xf102('0x9f')](_0x2913c4);if(_0xf102('0x6')!=_0x329e87||_0xf102('0x57')!=_0x4b5597||_0x7d7e6e['oldRange'])continue;if(!_0x223397['hasSuggestion'](_0x252e9f))continue;const _0x5a8a56=_0x223397[_0xf102('0x62')](_0x252e9f)[_0xf102('0x2c')](),_0x42660e=_0x40af49[_0xf102('0x61')][_0xf102('0x52')](_0xf102('0x4e'))['me'];for(const _0x9417c3 of _0x223397[_0xf102('0x9c')]()){if(!_0x9417c3[_0xf102('0x17')]||_0x9417c3[_0xf102('0x49')]!=_0x42660e)continue;if(_0xf102('0x77')!=_0x9417c3[_0xf102('0xa')]||'tablePasteCell'!=_0x9417c3['subType'])continue;if(_0x9417c3[_0xf102('0x2c')]()[_0xf102('0x12')](_0x5be59e=>_0x5a8a56[_0xf102('0xe')](_0xd4830a=>_0xd4830a[_0xf102('0x87')](_0x5be59e,!0x0))))for(const _0x411ef4 of _0x9417c3['getAllAdjacentSuggestions']())_0x411ef4[_0xf102('0x17')]&&(_0x411ef4[_0xf102('0x1e')](),_0x4b1d42=!0x0);}}return _0x4b1d42;}),_0x40af49['model'][_0xf102('0x33')]['registerPostFixer'](_0x2f841f=>{const _0x5290ed=_0x40af49['commands'][_0xf102('0x52')](_0xf102('0x23'));if(!_0x5290ed||!_0x5290ed[_0xf102('0xa0')][_0xf102('0x30')](_0x2f841f[_0xf102('0x56')]))return!0x1;let _0x58d5ee=!0x1;const _0x2d32ac=_0x40af49['plugins']['get'](_0xf102('0x4e'))['me'],_0x4c6570=_0x40af49[_0xf102('0x70')][_0xf102('0x33')][_0xf102('0x26')]['getChanges'](),_0x251546=Array[_0xf102('0x3f')](_0x40af49[_0xf102('0x70')]['document']['differ'][_0xf102('0x7b')]())[_0xf102('0x6e')](({name:_0x2bbc03,data:_0x5dc4bc})=>{const {group:_0x5ee581,subType:_0x5f3f90,authorId:_0x38fcfe}=_0x223397[_0xf102('0x9f')](_0x2bbc03);return _0xf102('0x6')==_0x5ee581&&_0xf102('0x25')==_0x5f3f90&&_0x38fcfe==_0x2d32ac['id']&&!_0x5dc4bc['oldRange'];});for(const _0x3469c0 of _0x4c6570){if('insert'!=_0x3469c0[_0xf102('0xa')]||_0xf102('0x24')!=_0x3469c0['name']||0x1!=_0x3469c0[_0xf102('0xa1')])continue;const _0x597c84=_0x2f841f[_0xf102('0x5f')](_0x3469c0['position'],_0x3469c0['position'][_0xf102('0x75')](0x1));if(!_0x251546[_0xf102('0x98')](({data:_0x4270d1})=>_0x4270d1['newRange'][_0xf102('0xf')](_0x597c84)))for(const {name:_0x332e32,data:_0x208796}of _0x251546)if(_0x597c84[_0xf102('0x87')](_0x208796[_0xf102('0x90')])){_0x2f841f[_0xf102('0x37')](_0x332e32,{'range':_0x597c84}),_0x58d5ee=!0x0;break;}}return _0x58d5ee;}),_0x40af49[_0xf102('0x70')][_0xf102('0x33')][_0xf102('0x3d')](_0x24b7bc=>{let _0x2a5bcb=!0x1;const _0x2d380d=_0x40af49[_0xf102('0x61')][_0xf102('0x52')](_0xf102('0x4e'))['me'],_0x3a87de=_0x223397[_0xf102('0x9c')]()[_0xf102('0x6e')](_0x7cb0c7=>_0x7cb0c7[_0xf102('0x17')]&&_0x7cb0c7[_0xf102('0x49')]==_0x2d380d),_0x4a932b=new Set(),_0x586407=new Set();for(const _0x5ce94a of _0x3a87de)if(_0xf102('0x25')==_0x5ce94a[_0xf102('0x92')])for(const _0x2d8069 of _0x5ce94a[_0xf102('0x27')]()){const _0x50bed9=_0x2d8069[_0xf102('0x72')]()[_0xf102('0x81')]();if(_0x50bed9){if(_0x50bed9['is'](_0xf102('0x58'),_0xf102('0x24'))&&ce(_0x50bed9)){_0x5ce94a[_0xf102('0x2b')](_0x2d8069['name']),_0x4a932b[_0xf102('0x51')](_0x50bed9),_0x2a5bcb=!0x0;const _0x52b037=_0x50bed9[_0xf102('0x7e')],_0x16d63f=_0x50bed9[_0xf102('0x99')],_0x4f1faf=_0x52b037&&_0x52b037['is'](_0xf102('0x58'),_0xf102('0x24')),_0x142c4a=_0x16d63f&&_0x16d63f['is'](_0xf102('0x58'),_0xf102('0x24'));_0x4f1faf&&!_0x4a932b[_0xf102('0x30')](_0x52b037)&&_0x586407[_0xf102('0x51')](_0x52b037),_0x142c4a&&!_0x4a932b[_0xf102('0x30')](_0x16d63f)&&_0x586407[_0xf102('0x51')](_0x16d63f);}else _0x50bed9['is'](_0xf102('0x58'),_0xf102('0x35'))&&_0x50bed9[_0xf102('0x5d')]&&(_0x5ce94a[_0xf102('0x2b')](_0x2d8069[_0xf102('0x74')]),_0x2a5bcb=!0x0);}}else{if(_0xf102('0x9a')==_0x5ce94a['subType']){if(!_0x5ce94a[_0xf102('0x45')]||!_0x5ce94a[_0xf102('0x45')]['tablePasteChainId'])continue;const _0x4ccc44=_0x5ce94a['attributes']['markerAttributes'];if(_0x4ccc44&&Object[_0xf102('0x6a')](_0x4ccc44)[_0xf102('0xa1')])continue;const _0x2c285c=_0x5ce94a[_0xf102('0x45')][_0xf102('0x2f')];let _0x38d869=!0x0,_0x3368c6=!0x0;for(const _0x3123c1 of _0x3a87de)if(_0x3123c1[_0xf102('0x92')]&&_0x3123c1['subType'][_0xf102('0x1b')](_0xf102('0x25'))){if(!_0x3123c1[_0xf102('0x45')][_0xf102('0x2f')]){_0x3368c6=!0x1;break;}if(_0x3123c1['id']!=_0x5ce94a['id']&&_0x3123c1[_0xf102('0x45')]['tablePasteChainId']==_0x2c285c){_0x38d869=!0x1;break;}}_0x3368c6&&_0x38d869&&(_0x5ce94a[_0xf102('0x15')](),_0x2a5bcb=!0x0);}}for(const _0x36e5c0 of _0x4a932b)_0x24b7bc[_0xf102('0x1d')](_0x36e5c0);for(const _0x237804 of _0x586407)_0x24b7bc[_0xf102('0x84')](_0x237804);return _0x2a5bcb;}),_0x40af49[_0xf102('0x80')][_0xf102('0x8b')]('editingDowncast')['markerToHighlight']({'model':_0xf102('0x3'),'view':(_0x52b1ec,_0xaad1b1)=>_0x3ab965(_0x52b1ec),'converterPriority':_0xf102('0x44')}),_0x40af49['conversion'][_0xf102('0x8b')]('dataDowncast')[_0xf102('0x6c')]({'model':_0xf102('0x3'),'view':(_0xa5c760,_0x4932e0)=>_0x4932e0[_0xf102('0x8')][_0xf102('0x40')]?_0x3ab965(_0xa5c760,!0x1):null,'converterPriority':_0xf102('0x44')});const _0x45dffe=_0x40af49[_0xf102('0x6f')]['view'];this[_0xf102('0x28')](_0x45dffe[_0xf102('0x33')],_0xf102('0x5c'),(_0x801124,_0x58d1ce)=>{const _0x528fd5=[];for(const _0x511daa of _0x45dffe[_0xf102('0x19')](_0x58d1ce['content'])['getItems']())_0x511daa['is'](_0xf102('0x58'),'suggestion-td')&&_0x528fd5[_0xf102('0x2d')](_0x511daa);_0x45dffe['change'](_0x19d6cd=>{for(const _0x1d8e70 of _0x528fd5)_0x19d6cd[_0xf102('0x14')](_0x19d6cd[_0xf102('0x19')](_0x1d8e70),_0x19d6cd[_0xf102('0x71')](_0x1d8e70)),_0x19d6cd['remove'](_0x1d8e70);});});}}function ce(_0x4bad79){if(_0x4bad79[_0xf102('0x5d')])return!0x0;const _0x4831e0=_0x4bad79[_0xf102('0x82')](0x0);return _0x4831e0['is'](_0xf102('0x58'),'paragraph')&&_0x4831e0[_0xf102('0x5d')];}function fe(_0x2830bd,_0x4bf71f={},_0x12f7b1){for(const {isAnchor:_0x3cd9da,cellHeight:_0x3f3ce4,cellWidth:_0x195802}of _0x12f7b1[_0xf102('0x1f')](_0x2830bd,{'includeAllSlots':!0x0,..._0x4bf71f}))if(!_0x3cd9da||0x1!=_0x3f3ce4||0x1!=_0x195802)return!0x1;return!0x0;}
23
+ const _0x1ca7=['getAttributes','insertion','document','table','type','_splitMarkerName','removeColumns','fill','createRangeOn','length','isEqual','getSuggestion','_suggestionFactory','previous','getChildren','some','editor','tableCellHorizontalAlignment','row','root','insertionRanges','endRow','_createdBatches','getShiftedBy','unwrap','formatBlock','next','editingDowncast','name','subType','first','change','tablePaste','differ','nodeAfter','elementToElement','content','deletion','getChanges','columns','getSuggestions','getSuggestionCallback','rowInsertionRanges','entries','suggestionUnloaded','every','fromEntries','clipboardOutput','getRows','requires','getRange','getSelectionAffectedTableCells','tableCellVerticalAlignment','remove','tableCellBorderStyle','commands','getTableIfOnlyTableInContent','cell','suggestionLoaded','activeMarkers','add','tablePasteCell','set','dataDowncast','tableCellBorderWidth','TrackChangesEditing','getItems','map','containsRange','batch','conversion','removeMarker','createRange','join','has','Users','isInContent','nextSibling','_isForcedDefaultExecutionBlock','locale','oldRange','ck-suggestion-marker-insertion','from','markerName','suggestion:formatBlock:tablePasteCell','wrap','insert','end','filter','paragraph','suggestion','isEmpty','tablePasteColumn','tablePasteRow','rootName','updateMarker','markMultiRangeBlockFormat','getMarkers','schema','find','previousSibling','suggestion-td','get','redo','tableCellBorderColor','tableCellSuggestion','registerCustomCallback','markerAttributes','selection','findAncestor','newRange','getRowIndexes','createRangeIn','plugins','*Replace\x20table\x20cells*','showSuggestionHighlights','tableCell','reduce','getAllAdjacentSuggestions','accept','markMultiRangeDeletion','position','getContainedElement','editing','getChild','keys','trackChanges','TableUtils','removeRows','stop','low','getRanges','setAttributes','_getCoordsForCells','last','rowInsertionIndexes','startsWith','documentSelection','high','insertContent','start','registerDescriptionCallback','setAttribute','createElement','createTableWalker','push','discard','getColumns','attributes','TableClipboard','element','getColumnIndexes','getChangedMarkers','includes','register','author','insertRows','rows','markMultiRangeInsertion','markers','ck-suggestion-marker--active','tablePasteChainId','model','hasSuggestion','ck-suggestion-marker','markerToHighlight','columnInsertionIndexes','forceDefaultExecution','view','registerPostFixer','move'];(function(_0x420db0,_0x1ca7b7){const _0x25f6a0=function(_0x124ef5){while(--_0x124ef5){_0x420db0['push'](_0x420db0['shift']());}};_0x25f6a0(++_0x1ca7b7);}(_0x1ca7,0x179));const _0x25f6=function(_0x420db0,_0x1ca7b7){_0x420db0=_0x420db0-0x0;let _0x25f6a0=_0x1ca7[_0x420db0];return _0x25f6a0;};import{getTranslation as _0x71459}from'../utils/common-translations';import{Plugin as _0x4cd15d}from'ckeditor5/src/core';import{uid as _0x52b973,priorities as _0x245b0a}from'ckeditor5/src/utils';import _0x35ed69 from'./table';const le=[_0x25f6('0x1d'),_0x25f6('0x45'),_0x25f6('0x13'),_0x25f6('0x99'),_0x25f6('0x11'),'tableCellBackgroundColor','tableCellPadding'],ae=Object[_0x25f6('0xb')](le[_0x25f6('0x20')](_0x629c34=>[_0x629c34,null]));export default class wt extends _0x4cd15d{static get[_0x25f6('0xe')](){return[_0x35ed69];}['afterInit'](){const _0x4920a4=this[_0x25f6('0x98')];if(!_0x4920a4['plugins'][_0x25f6('0x27')](_0x25f6('0x72')))return;const _0x30e8a2=_0x4920a4['plugins']['get'](_0x25f6('0x1e')),_0x29e552=_0x4920a4[_0x25f6('0x4e')][_0x25f6('0x43')](_0x25f6('0x5c')),_0x44b7bd=_0x4920a4[_0x25f6('0x4e')][_0x25f6('0x43')](_0x35ed69),_0x17e609=_0x4920a4[_0x25f6('0x4e')][_0x25f6('0x43')](_0x25f6('0x72'));_0x44b7bd['_tablePostFixingSubtypes'][_0x25f6('0x6e')](_0x25f6('0x3a'),_0x25f6('0x39')),_0x4920a4['model'][_0x25f6('0x3f')][_0x25f6('0x77')](_0x25f6('0x46'),{'allowIn':_0x25f6('0x51'),'allowContentOf':'tableCell','isLimit':!0x0}),_0x4920a4[_0x25f6('0x23')][_0x25f6('0x0')]({'model':_0x25f6('0x46'),'view':_0x25f6('0x42')});let _0x13b2be=null;_0x4920a4[_0x25f6('0x7f')]['on'](_0x25f6('0x68'),(_0x3dc41d,_0x56c425)=>{const [_0x33a847,_0x32d854]=_0x56c425,_0x25d8e6=_0x56c425[_0x56c425['length']-0x1];_0x25d8e6&&_0x25d8e6[_0x25f6('0x84')]||_0x30e8a2[_0x25f6('0x2b')]||this[_0x25f6('0x98')][_0x25f6('0x14')]['get'](_0x25f6('0x5b'))['value']&&function(_0x56b060,_0x31b3d7,_0x1b5fc0,_0x4068bd,_0x3f9914){if(_0x31b3d7&&!_0x31b3d7['is'](_0x25f6('0x66')))return!0x1;const _0x7bf76f=_0x3f9914[_0x25f6('0x15')](_0x56b060,_0x1b5fc0);if(!_0x7bf76f||!fe(_0x7bf76f,void 0x0,_0x4068bd))return!0x1;const _0x7a9537=_0x4068bd[_0x25f6('0x10')](_0x1b5fc0[_0x25f6('0x8a')][_0x25f6('0x49')]);if(!_0x7a9537[_0x25f6('0x91')])return!0x1;const _0x3248c9=_0x7a9537[0x0]['findAncestor'](_0x25f6('0x8b')),_0x204100=_0x4068bd[_0x25f6('0x4c')](_0x7a9537),_0x2a8919=_0x4068bd[_0x25f6('0x74')](_0x7a9537),_0x1896fd={'startRow':_0x204100[_0x25f6('0xa6')],'endRow':_0x204100[_0x25f6('0x63')],'startColumn':_0x2a8919[_0x25f6('0xa6')],'endColumn':_0x2a8919[_0x25f6('0x63')]};return 0x1==_0x7a9537[_0x25f6('0x91')]&&(_0x1896fd[_0x25f6('0x9d')]+=_0x4068bd[_0x25f6('0xd')](_0x7bf76f)-0x1,_0x1896fd['endColumn']+=_0x4068bd[_0x25f6('0x70')](_0x7bf76f)-0x1),fe(_0x3248c9,_0x1896fd,_0x4068bd);}(_0x33a847,_0x32d854,_0x4920a4[_0x25f6('0x7f')],_0x29e552,_0x17e609)&&(_0x3dc41d[_0x25f6('0x5e')](),_0x13b2be={'cells':[],'insertionRanges':[],'deletionRanges':[],'rowInsertionRanges':[],'rowInsertionIndexes':[],'columnInsertionRanges':[],'columnInsertionIndexes':[]},_0x4920a4[_0x25f6('0x7f')][_0x25f6('0xa7')](()=>{_0x4920a4[_0x25f6('0x7f')][_0x25f6('0x68')](_0x56c425[0x0],_0x56c425[0x1],_0x56c425[0x2],{'forceDefaultExecution':!0x0});const _0x40b625=_0x52b973(),{rowInsertionRanges:_0x30a6e6,columnInsertionRanges:_0x8320f,insertionRanges:_0x2d12aa,deletionRanges:_0x5c4055,cells:_0x18f608}=_0x13b2be;_0x30a6e6[_0x25f6('0x91')]&&_0x30e8a2[_0x25f6('0x7b')](_0x30a6e6,_0x25f6('0x3a'),{'tablePasteChainId':_0x40b625}),_0x8320f[_0x25f6('0x91')]&&_0x30e8a2[_0x25f6('0x7b')](_0x8320f,_0x25f6('0x39'),{'tablePasteChainId':_0x40b625}),_0x2d12aa[_0x25f6('0x91')]&&_0x30e8a2[_0x25f6('0x7b')](_0x2d12aa,'tablePaste',{'tablePasteChainId':_0x40b625,'skipNestingCheck':!0x0}),_0x5c4055[_0x25f6('0x91')]&&_0x30e8a2[_0x25f6('0x55')](_0x5c4055,_0x25f6('0xa8'),{'tablePasteChainId':_0x40b625,'skipNestingCheck':!0x0});const _0x54af43=_0x30e8a2[_0x25f6('0x3d')](_0x18f608[_0x25f6('0x20')](({element:_0x8805c1})=>_0x8805c1),{'formatGroupId':_0x52b973()},[],'tablePasteCell',{'tablePasteChainId':_0x40b625});if(_0x54af43){const _0x572fa6=_0x54af43['getMarkers'](),_0x8a91e7=[];for(const {element:_0x3d1f4f,attributes:_0x5d598b}of _0x18f608){if(!_0x5d598b)continue;const _0x35d97f=_0x4920a4[_0x25f6('0x7f')][_0x25f6('0x90')](_0x3d1f4f),_0x30d675=_0x572fa6[_0x25f6('0x40')](_0xe8f2c=>_0xe8f2c[_0x25f6('0xf')]()[_0x25f6('0x92')](_0x35d97f));_0x30d675&&_0x8a91e7[_0x25f6('0x6e')]([_0x30d675[_0x25f6('0xa4')],_0x5d598b]);}_0x8a91e7[_0x25f6('0x91')]&&_0x54af43[_0x25f6('0x6b')](_0x25f6('0x48'),Object['fromEntries'](_0x8a91e7));}_0x13b2be=null;}));},{'priority':_0x245b0a[_0x25f6('0x67')]+0xa}),_0x4920a4[_0x25f6('0x4e')][_0x25f6('0x43')](_0x25f6('0x72'))['on']('_replaceTableSlotCell',(_0x5aac52,_0xd9f55b)=>{const [_0x41af4c,_0x1d9741,,_0x34c08f]=_0xd9f55b;if(!_0x13b2be)return;_0x5aac52[_0x25f6('0x5e')]();const _0x4dbe5b=_0x41af4c[_0x25f6('0x16')],_0x365719=_0x1d9741,_0x15cceb=ce(_0x4dbe5b),_0x5dc022=ce(_0x365719);_0x5aac52['return']=_0x4dbe5b;let _0x1c0cb8=null,_0x125e7a=null;if(_0x5dc022||_0x15cceb){if(_0x15cceb&&!_0x5dc022){_0x34c08f[_0x25f6('0x12')](_0x4dbe5b[_0x25f6('0x59')](0x0));for(const _0x4a9067 of Array['from'](_0x365719[_0x25f6('0x96')]()))_0x34c08f[_0x25f6('0x33')](_0x4a9067,_0x4dbe5b,_0x25f6('0x34'));const _0x57c784=_0x13b2be[_0x25f6('0x64')][_0x25f6('0x76')](_0x41af4c[_0x25f6('0x9a')]),_0x17eed0=_0x13b2be[_0x25f6('0x83')][_0x25f6('0x76')](_0x41af4c['column']);_0x57c784||_0x17eed0||(_0x1c0cb8=_0x34c08f[_0x25f6('0x4d')](_0x4dbe5b));}else _0x5dc022&&!_0x15cceb&&(_0x125e7a=_0x34c08f['createRangeIn'](_0x4dbe5b));}else{const _0x35e377=_0x34c08f['createElement']('tableCellSuggestion'),_0xadd5e9=_0x34c08f[_0x25f6('0x6c')](_0x25f6('0x46'));_0x34c08f[_0x25f6('0x32')](_0x34c08f[_0x25f6('0x4d')](_0x4dbe5b),_0xadd5e9),_0x34c08f['insert'](_0x35e377,_0x4dbe5b,0x0);for(const _0x4d5926 of Array[_0x25f6('0x2f')](_0x365719[_0x25f6('0x96')]()))_0x34c08f['insert'](_0x4d5926,_0x35e377,_0x25f6('0x34'));_0x1c0cb8=_0x34c08f['createRangeOn'](_0x35e377),_0x125e7a=_0x34c08f[_0x25f6('0x90')](_0xadd5e9);}const _0x3d70b1=Array[_0x25f6('0x2f')](_0x365719[_0x25f6('0x88')]())[_0x25f6('0x35')](([_0x5297c9])=>le['includes'](_0x5297c9));_0x13b2be['cells'][_0x25f6('0x6e')]({'element':_0x4dbe5b,'attributes':_0x3d70b1[_0x25f6('0x91')]?Object[_0x25f6('0xb')](_0x3d70b1):null}),_0x1c0cb8&&_0x13b2be[_0x25f6('0x9c')][_0x25f6('0x6e')](_0x1c0cb8),_0x125e7a&&_0x13b2be['deletionRanges']['push'](_0x125e7a);},{'priority':_0x25f6('0x67')}),_0x29e552['on']('insertColumns',(_0xf45220,_0x4e7149)=>{const [_0x19d152,_0x2db6e0={}]=_0x4e7149;if(!_0x13b2be)return;const _0x23aa08=_0x2db6e0['at']||0x0,_0x565bc7=_0x2db6e0[_0x25f6('0x4')]||0x1;_0x13b2be['columnInsertionIndexes']=new Array(_0x565bc7)['fill'](_0x23aa08)['map']((_0x94a8e0,_0x20af3b)=>_0x94a8e0+_0x20af3b);for(const {cell:_0x128df9}of _0x29e552[_0x25f6('0x6d')](_0x19d152,{'startColumn':_0x23aa08,'endColumn':_0x23aa08+_0x565bc7-0x1}))_0x13b2be['columnInsertionRanges'][_0x25f6('0x6e')](_0x4920a4[_0x25f6('0x7f')]['createRangeOn'](_0x128df9));},{'priority':_0x25f6('0x5f')}),_0x29e552['on'](_0x25f6('0x79'),(_0x33d434,_0x1a44e5)=>{const [_0x402266,_0x24b6cc={}]=_0x1a44e5;if(!_0x13b2be)return;const _0x2187d7=_0x24b6cc['at']||0x0,_0x2e9c9a=_0x24b6cc[_0x25f6('0x7a')]||0x1;_0x13b2be[_0x25f6('0x64')]=new Array(_0x2e9c9a)[_0x25f6('0x8f')](_0x2187d7)[_0x25f6('0x20')]((_0x3f7feb,_0x4ff422)=>_0x3f7feb+_0x4ff422);for(const {cell:_0x5e2e3b}of _0x29e552[_0x25f6('0x6d')](_0x402266,{'startRow':_0x2187d7,'endRow':_0x2187d7+_0x2e9c9a-0x1}))_0x13b2be[_0x25f6('0x7')]['push'](_0x4920a4[_0x25f6('0x7f')]['createRangeOn'](_0x5e2e3b));},{'priority':'low'}),_0x30e8a2['_descriptionFactory'][_0x25f6('0x6a')](_0x2fead8=>{if(_0x2fead8['subType']&&_0x2fead8[_0x25f6('0xa5')][_0x25f6('0x65')](_0x25f6('0xa8')))return _0x2fead8[_0x25f6('0x95')]?{}:{'type':_0x25f6('0x89'),'content':_0x71459(_0x4920a4[_0x25f6('0x2c')],_0x25f6('0x4f'))};});const _0x469959=()=>!0x1;for(const _0x2709f6 of[_0x25f6('0xa8'),_0x25f6('0x39'),_0x25f6('0x3a'),'tablePasteCell'])_0x30e8a2[_0x25f6('0x94')]['registerCustomCallback'](_0x25f6('0x89'),_0x2709f6,_0x25f6('0x26'),_0x469959),_0x30e8a2[_0x25f6('0x94')][_0x25f6('0x47')]('deletion',_0x2709f6,'join',_0x469959),_0x30e8a2[_0x25f6('0x94')][_0x25f6('0x47')](_0x25f6('0xa1'),_0x2709f6,'join',_0x469959);_0x30e8a2['_suggestionFactory']['registerCustomCallback'](_0x25f6('0xa1'),_0x25f6('0x1a'),_0x25f6('0x6f'),_0x469959),_0x30e8a2[_0x25f6('0x94')][_0x25f6('0x47')](_0x25f6('0xa1'),_0x25f6('0x1a'),_0x25f6('0x54'),(_0x1b438d,_0x116775,_0x255180)=>{const _0x437039=_0x1b438d[_0x25f6('0x20')](_0x2fe60b=>_0x2fe60b['getContainedElement']())[_0x25f6('0x35')](_0x4cfd2a=>_0x4cfd2a),_0x5c89e9=new Map(_0x437039[_0x25f6('0x20')](_0xd6549f=>[_0xd6549f,null]));if(_0x13b2be)for(const {element:_0x58d904,attributes:_0x26adf6}of _0x13b2be['cells'])_0x26adf6&&_0x5c89e9[_0x25f6('0x1b')](_0x58d904,_0x26adf6);else{if(_0x255180&&_0x255180[_0x25f6('0x48')])for(const [_0x522011,_0x226728]of Object[_0x25f6('0x8')](_0x255180[_0x25f6('0x48')])){const _0x247b8f=_0x4920a4[_0x25f6('0x7f')][_0x25f6('0x7c')][_0x25f6('0x43')](_0x522011),_0x17a2f8=_0x247b8f?_0x247b8f[_0x25f6('0xf')]()[_0x25f6('0x57')]():null;_0x17a2f8&&_0x5c89e9[_0x25f6('0x1b')](_0x17a2f8,_0x226728);}}_0x4920a4[_0x25f6('0x7f')][_0x25f6('0xa7')](_0x4e9e96=>{for(const [_0xb6288d,_0x2e062d]of _0x5c89e9)_0x4e9e96[_0x25f6('0x61')]({...ae,..._0x2e062d},_0xb6288d);});});const _0x487fa6=(_0x52bbde,_0x2ed8e6)=>{_0x30e8a2[_0x25f6('0x94')]['registerCustomCallback'](_0x52bbde,'tablePaste',_0x2ed8e6,(_0x1f3a21,_0x53929c,_0x22e557)=>{_0x4920a4['model'][_0x25f6('0xa7')](_0x80c7=>{const _0x508a30=[];for(const _0x3cf38 of _0x1f3a21){const _0x4696ea=_0x3cf38[_0x25f6('0x69')][_0x25f6('0xaa')];_0x4696ea['is'](_0x25f6('0x73'),'tableCellSuggestion')&&_0x508a30[_0x25f6('0x6e')](_0x4696ea);}_0x30e8a2[_0x25f6('0x94')][_0x25f6('0x6')](_0x52bbde,null,_0x2ed8e6)(_0x1f3a21,_0x53929c,_0x22e557);for(const _0x199b39 of _0x508a30)'$graveyard'!=_0x199b39[_0x25f6('0x9b')][_0x25f6('0x3b')]&&_0x80c7['unwrap'](_0x199b39);});});};_0x487fa6(_0x25f6('0x89'),_0x25f6('0x54')),_0x487fa6(_0x25f6('0x89'),'discard'),_0x487fa6(_0x25f6('0x2'),_0x25f6('0x54')),_0x487fa6(_0x25f6('0x2'),_0x25f6('0x6f')),_0x30e8a2[_0x25f6('0x94')][_0x25f6('0x47')]('insertion',_0x25f6('0x3a'),_0x25f6('0x6f'),_0x493a4c=>{const _0x1c0233=_0x493a4c[_0x25f6('0x20')](_0x29c6ec=>_0x29c6ec[_0x25f6('0x57')]()),_0x225d37=_0x1c0233[0x0][_0x25f6('0x4a')](_0x25f6('0x8b')),{minRow:_0xc1ea80,maxRow:_0x23cb3c}=_0x44b7bd[_0x25f6('0x62')](_0x1c0233);_0x29e552[_0x25f6('0x5d')](_0x225d37,{'at':_0xc1ea80,'rows':_0x23cb3c-_0xc1ea80+0x1});}),_0x30e8a2[_0x25f6('0x94')][_0x25f6('0x47')](_0x25f6('0x89'),_0x25f6('0x39'),_0x25f6('0x6f'),_0x5920e0=>{const _0x44256d=_0x5920e0[_0x25f6('0x20')](_0x7fbb17=>_0x7fbb17[_0x25f6('0x57')]()),_0x286607=_0x44256d[0x0][_0x25f6('0x4a')]('table'),{minColumn:_0x54b1a6,maxColumn:_0x796266}=_0x44b7bd[_0x25f6('0x62')](_0x44256d);_0x29e552[_0x25f6('0x8e')](_0x286607,{'at':_0x54b1a6,'columns':_0x796266-_0x54b1a6+0x1});});const _0xc8e80d=(_0x50ba13,_0x12f9ba)=>{if(!_0x12f9ba[_0x25f6('0xa5')]||!_0x12f9ba[_0x25f6('0xa5')][_0x25f6('0x65')]('tablePaste'))return;const _0x5afbc9=_0x12f9ba[_0x25f6('0x71')][_0x25f6('0x7e')],_0x3b4246=_0x30e8a2[_0x25f6('0x5')]()[_0x25f6('0x35')](_0x1cb659=>_0x1cb659['isInContent']&&_0x1cb659[_0x25f6('0x71')]&&_0x1cb659[_0x25f6('0x71')][_0x25f6('0x7e')]==_0x5afbc9);_0x3b4246[_0x25f6('0x91')]&&_0x12f9ba[_0x25f6('0x53')]()[_0x25f6('0x91')]!=_0x3b4246[_0x25f6('0x91')]&&_0x3b4246[_0x25f6('0x52')]((_0x681cc2,_0xa72b6f)=>(_0x681cc2[_0x25f6('0xa2')]=_0xa72b6f,_0xa72b6f['previous']=_0x681cc2,_0xa72b6f));};function _0x12b1d1(_0x367108,_0x3d08a2=!0x0){const {id:_0x59b48f}=_0x30e8a2[_0x25f6('0x8d')](_0x367108[_0x25f6('0x30')]),_0x3dab6b=[_0x25f6('0x81'),_0x25f6('0x2e')],_0x5aa84b=_0x30e8a2[_0x25f6('0x18')][_0x25f6('0x76')](_0x367108[_0x25f6('0x30')]);return _0x5aa84b&&_0x3dab6b[_0x25f6('0x6e')](_0x25f6('0x7d')),{'classes':_0x3dab6b,'attributes':{'data-suggestion':_0x59b48f},'priority':_0x5aa84b&&_0x3d08a2?0xbc2:0xbb8};}_0x30e8a2['on'](_0x25f6('0x17'),_0xc8e80d,{'priority':_0x25f6('0x67')}),_0x30e8a2['on'](_0x25f6('0x9'),_0xc8e80d,{'priority':_0x25f6('0x67')}),_0x4920a4[_0x25f6('0x7f')][_0x25f6('0x8a')][_0x25f6('0x86')](()=>{let _0x20f023=!0x1;const _0x5affa0=Array[_0x25f6('0x2f')](_0x4920a4['model'][_0x25f6('0x8a')]['differ'][_0x25f6('0x75')]());for(const {name:_0x2ca02f,data:_0x3c6a95}of _0x5affa0){const {group:_0x531ecb,type:_0x2162de,id:_0x452644}=_0x30e8a2[_0x25f6('0x8d')](_0x2ca02f);if(_0x25f6('0x37')!=_0x531ecb||_0x25f6('0x2')!=_0x2162de||_0x3c6a95[_0x25f6('0x2d')])continue;if(!_0x30e8a2[_0x25f6('0x80')](_0x452644))continue;const _0x497b99=_0x30e8a2[_0x25f6('0x93')](_0x452644)[_0x25f6('0x60')](),_0x4928a1=_0x4920a4[_0x25f6('0x4e')]['get']('Users')['me'];for(const _0x892c49 of _0x30e8a2[_0x25f6('0x5')]()){if(!_0x892c49[_0x25f6('0x29')]||_0x892c49[_0x25f6('0x78')]!=_0x4928a1)continue;if(_0x25f6('0xa1')!=_0x892c49[_0x25f6('0x8c')]||_0x25f6('0x1a')!=_0x892c49[_0x25f6('0xa5')])continue;if(_0x892c49[_0x25f6('0x60')]()[_0x25f6('0xa')](_0x1d6c92=>_0x497b99[_0x25f6('0x97')](_0x2b560b=>_0x2b560b[_0x25f6('0x21')](_0x1d6c92,!0x0))))for(const _0x57f48b of _0x892c49['getAllAdjacentSuggestions']())_0x57f48b[_0x25f6('0x29')]&&(_0x57f48b[_0x25f6('0x6f')](),_0x20f023=!0x0);}}return _0x20f023;}),_0x4920a4[_0x25f6('0x7f')][_0x25f6('0x8a')][_0x25f6('0x86')](_0xc71d8e=>{const _0x3e7489=_0x4920a4[_0x25f6('0x14')][_0x25f6('0x43')](_0x25f6('0x44'));if(!_0x3e7489||!_0x3e7489[_0x25f6('0x9e')][_0x25f6('0x27')](_0xc71d8e[_0x25f6('0x22')]))return!0x1;let _0x3fb764=!0x1;const _0x517426=_0x4920a4[_0x25f6('0x4e')]['get'](_0x25f6('0x28'))['me'],_0x472083=_0x4920a4[_0x25f6('0x7f')]['document']['differ'][_0x25f6('0x3')](),_0x5c7619=Array[_0x25f6('0x2f')](_0x4920a4['model'][_0x25f6('0x8a')][_0x25f6('0xa9')][_0x25f6('0x75')]())[_0x25f6('0x35')](({name:_0x58e2f9,data:_0x5af329})=>{const {group:_0x1c5370,subType:_0x2f7ead,authorId:_0x5adb4c}=_0x30e8a2['_splitMarkerName'](_0x58e2f9);return'suggestion'==_0x1c5370&&_0x25f6('0xa8')==_0x2f7ead&&_0x5adb4c==_0x517426['id']&&!_0x5af329[_0x25f6('0x2d')];});for(const _0x47052d of _0x472083){if('insert'!=_0x47052d[_0x25f6('0x8c')]||_0x25f6('0x46')!=_0x47052d[_0x25f6('0xa4')]||0x1!=_0x47052d['length'])continue;const _0x3566da=_0xc71d8e[_0x25f6('0x25')](_0x47052d[_0x25f6('0x56')],_0x47052d[_0x25f6('0x56')][_0x25f6('0x9f')](0x1));if(!_0x5c7619[_0x25f6('0x40')](({data:_0x3e69a5})=>_0x3e69a5[_0x25f6('0x4b')][_0x25f6('0x92')](_0x3566da)))for(const {name:_0x28f840,data:_0xdb41db}of _0x5c7619)if(_0x3566da[_0x25f6('0x21')](_0xdb41db['newRange'])){_0xc71d8e[_0x25f6('0x3c')](_0x28f840,{'range':_0x3566da}),_0x3fb764=!0x0;break;}}return _0x3fb764;}),_0x4920a4[_0x25f6('0x7f')]['document'][_0x25f6('0x86')](_0x40c0e5=>{let _0x13a53b=!0x1;const _0x56fb03=_0x4920a4[_0x25f6('0x4e')]['get'](_0x25f6('0x28'))['me'],_0x5f015a=_0x30e8a2['getSuggestions']()[_0x25f6('0x35')](_0x3d4476=>_0x3d4476['isInContent']&&_0x3d4476[_0x25f6('0x78')]==_0x56fb03),_0xd0301e=new Set(),_0x5cb0b3=new Set();for(const _0x3ec3bc of _0x5f015a)if(_0x25f6('0xa8')==_0x3ec3bc[_0x25f6('0xa5')])for(const _0x5bee19 of _0x3ec3bc[_0x25f6('0x3e')]()){const _0x1567b5=_0x5bee19['getRange']()[_0x25f6('0x57')]();if(_0x1567b5){if(_0x1567b5['is']('element','tableCellSuggestion')&&ce(_0x1567b5)){_0x3ec3bc[_0x25f6('0x24')](_0x5bee19[_0x25f6('0xa4')]),_0xd0301e[_0x25f6('0x19')](_0x1567b5),_0x13a53b=!0x0;const _0x3cd1af=_0x1567b5[_0x25f6('0x2a')],_0x13b54a=_0x1567b5[_0x25f6('0x41')],_0x1c43f6=_0x3cd1af&&_0x3cd1af['is']('element','tableCellSuggestion'),_0x33c39f=_0x13b54a&&_0x13b54a['is'](_0x25f6('0x73'),_0x25f6('0x46'));_0x1c43f6&&!_0xd0301e['has'](_0x3cd1af)&&_0x5cb0b3[_0x25f6('0x19')](_0x3cd1af),_0x33c39f&&!_0xd0301e[_0x25f6('0x27')](_0x13b54a)&&_0x5cb0b3[_0x25f6('0x19')](_0x13b54a);}else _0x1567b5['is'](_0x25f6('0x73'),'paragraph')&&_0x1567b5[_0x25f6('0x38')]&&(_0x3ec3bc['removeMarker'](_0x5bee19[_0x25f6('0xa4')]),_0x13a53b=!0x0);}}else{if(_0x25f6('0x1a')==_0x3ec3bc[_0x25f6('0xa5')]){if(!_0x3ec3bc['attributes']||!_0x3ec3bc[_0x25f6('0x71')][_0x25f6('0x7e')])continue;const _0x15ed15=_0x3ec3bc['attributes'][_0x25f6('0x48')];if(_0x15ed15&&Object[_0x25f6('0x5a')](_0x15ed15)['length'])continue;const _0xeedbcc=_0x3ec3bc[_0x25f6('0x71')][_0x25f6('0x7e')];let _0x515276=!0x0,_0x3d049c=!0x0;for(const _0x14eeaa of _0x5f015a)if(_0x14eeaa['subType']&&_0x14eeaa[_0x25f6('0xa5')][_0x25f6('0x65')]('tablePaste')){if(!_0x14eeaa[_0x25f6('0x71')][_0x25f6('0x7e')]){_0x3d049c=!0x1;break;}if(_0x14eeaa['id']!=_0x3ec3bc['id']&&_0x14eeaa[_0x25f6('0x71')]['tablePasteChainId']==_0xeedbcc){_0x515276=!0x1;break;}}_0x3d049c&&_0x515276&&(_0x3ec3bc['removeMarkers'](),_0x13a53b=!0x0);}}for(const _0x5cd3c1 of _0xd0301e)_0x40c0e5[_0x25f6('0x12')](_0x5cd3c1);for(const _0x84c77c of _0x5cb0b3)_0x40c0e5[_0x25f6('0xa0')](_0x84c77c);return _0x13a53b;}),_0x4920a4[_0x25f6('0x23')]['for'](_0x25f6('0xa3'))['markerToHighlight']({'model':_0x25f6('0x31'),'view':(_0x1b3b36,_0x81a451)=>_0x12b1d1(_0x1b3b36),'converterPriority':'high'}),_0x4920a4['conversion']['for'](_0x25f6('0x1c'))[_0x25f6('0x82')]({'model':_0x25f6('0x31'),'view':(_0x30a89d,_0x29103c)=>_0x29103c['options'][_0x25f6('0x50')]?_0x12b1d1(_0x30a89d,!0x1):null,'converterPriority':_0x25f6('0x67')});const _0x596c2e=_0x4920a4[_0x25f6('0x58')][_0x25f6('0x85')];this['listenTo'](_0x596c2e[_0x25f6('0x8a')],_0x25f6('0xc'),(_0x46b964,_0x410792)=>{const _0x22de3f=[];for(const _0x28cdb5 of _0x596c2e['createRangeIn'](_0x410792[_0x25f6('0x1')])[_0x25f6('0x1f')]())_0x28cdb5['is'](_0x25f6('0x73'),_0x25f6('0x42'))&&_0x22de3f[_0x25f6('0x6e')](_0x28cdb5);_0x596c2e['change'](_0x268467=>{for(const _0x52f08b of _0x22de3f)_0x268467[_0x25f6('0x87')](_0x268467[_0x25f6('0x4d')](_0x52f08b),_0x268467['createPositionBefore'](_0x52f08b)),_0x268467['remove'](_0x52f08b);});});}}function ce(_0xc91662){if(_0xc91662['isEmpty'])return!0x0;const _0x148750=_0xc91662[_0x25f6('0x59')](0x0);return _0x148750['is'](_0x25f6('0x73'),_0x25f6('0x36'))&&_0x148750[_0x25f6('0x38')];}function fe(_0x545fad,_0x38b0ff={},_0x32353a){for(const {isAnchor:_0x2ce680,cellHeight:_0x35043b,cellWidth:_0xc9a938}of _0x32353a[_0x25f6('0x6d')](_0x545fad,{'includeAllSlots':!0x0,..._0x38b0ff}))if(!_0x2ce680||0x1!=_0x35043b||0x1!=_0xc9a938)return!0x1;return!0x0;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3243=['Users','getSuggestions','formatBlock','model','has','resizeTableWidth','_suggestionFactory','resizeColumnWidths','getAttribute','accept','bind','getContainedElement','handleSuggestionDescription','TrackChangesEditing','get','getTableColumnsWidths','resizeTable','registerCustomCallback','enableCommand','data','subType','getSelectedElement','selection','_descriptionFactory','getSuggestionCallback','handleResizeTableWidthCommand','plugins','format','getColumnGroupElement','registerDescriptionCallback','editor','author','change','TableColumnResizeEditing','columnWidths','discard','markBlockFormat'];(function(_0x56123b,_0x324332){const _0x5e9783=function(_0x30528d){while(--_0x30528d){_0x56123b['push'](_0x56123b['shift']());}};_0x5e9783(++_0x324332);}(_0x3243,0x1cd));const _0x5e97=function(_0x56123b,_0x324332){_0x56123b=_0x56123b-0x0;let _0x5e9783=_0x3243[_0x56123b];return _0x5e9783;};import{Plugin as _0x6a33c0}from'ckeditor5/src/core';import{getTranslation as _0x47a8f9}from'../utils/common-translations';export default class yt extends _0x6a33c0{['afterInit'](){if(!this[_0x5e97('0xd')]['plugins'][_0x5e97('0x18')](_0x5e97('0x10')))return;const _0x59f232=this[_0x5e97('0xd')][_0x5e97('0x9')][_0x5e97('0x22')](_0x5e97('0x21'));_0x59f232[_0x5e97('0x1')]('resizeTableWidth',this[_0x5e97('0x8')][_0x5e97('0x1e')](this)),_0x59f232['enableCommand'](_0x5e97('0x1b'),this[_0x5e97('0x8')]['bind'](this)),_0x59f232[_0x5e97('0x1a')]['registerCustomCallback'](_0x5e97('0x16'),_0x5e97('0x24'),_0x5e97('0x1d'),_0x59f232[_0x5e97('0x1a')][_0x5e97('0x7')]('formatBlock',null,'discard')),_0x59f232[_0x5e97('0x1a')][_0x5e97('0x0')](_0x5e97('0x16'),_0x5e97('0x24'),_0x5e97('0x12'),_0x59f232[_0x5e97('0x1a')][_0x5e97('0x7')]('formatBlock',null,_0x5e97('0x1d'))),_0x59f232[_0x5e97('0x6')][_0x5e97('0xc')](this[_0x5e97('0x20')][_0x5e97('0x1e')](this));}['handleResizeTableWidthCommand'](_0x15f460,_0x26626c){const _0x3db280=this['editor']['plugins'][_0x5e97('0x22')]('TrackChangesEditing'),_0x27f9e9=this[_0x5e97('0xd')][_0x5e97('0x9')][_0x5e97('0x22')](_0x5e97('0x10')),_0x335399=_0x26626c['table']||this[_0x5e97('0xd')][_0x5e97('0x17')]['document'][_0x5e97('0x5')][_0x5e97('0x4')]();this[_0x5e97('0xd')][_0x5e97('0x17')][_0x5e97('0xf')](()=>{const _0x5215a7=_0x27f9e9[_0x5e97('0xb')](_0x335399);let _0x1ee083=_0x5215a7?_0x27f9e9[_0x5e97('0x23')](_0x5215a7):null,_0x411862=_0x335399[_0x5e97('0x1c')]('tableWidth')||null;const _0x5332a0=_0x26626c['tableWidth']||_0x411862,_0x3a0844=_0x26626c[_0x5e97('0x11')]||_0x1ee083,_0x133659=this[_0x5e97('0xd')][_0x5e97('0x9')][_0x5e97('0x22')](_0x5e97('0x14'))['me'];for(const _0xd7f171 of _0x3db280[_0x5e97('0x15')]()){const _0xa18f8c=_0xd7f171[_0x5e97('0x1f')]();if(_0x5e97('0x24')===_0xd7f171[_0x5e97('0x3')]&&_0xa18f8c===_0x335399){_0xd7f171[_0x5e97('0xe')]!==_0x133659&&_0xd7f171[_0x5e97('0x12')]();const _0x1960c4=_0xd7f171[_0x5e97('0x2')]['commandParams'];_0x411862=_0x1960c4[0x0]['tableWidth'],_0x1ee083=_0x1960c4[0x0]['columnWidths'];break;}}_0x15f460({'table':_0x335399,'tableWidth':_0x5332a0,'columnWidths':_0x3a0844}),_0x3db280[_0x5e97('0x13')](_0x335399,{'commandName':_0x5e97('0x19'),'commandParams':[{'tableWidth':_0x411862,'columnWidths':_0x1ee083}],'formatGroupId':_0x5e97('0x24')},[],_0x5e97('0x24'));});}[_0x5e97('0x20')](_0x24b115){const {data:_0x565476}=_0x24b115;if(_0x565476&&_0x5e97('0x24')===_0x565476['formatGroupId']){const _0x3d7f03='*Format:*\x20resize\x20table';return{'type':_0x5e97('0xa'),'content':_0x47a8f9(this['editor']['locale'],_0x3d7f03)};}}}
23
+ const _0x3d81=['TrackChangesEditing','editor','accept','locale','author','handleResizeTableWidthCommand','get','format','getSuggestionCallback','plugins','afterInit','registerCustomCallback','getTableColumnsWidths','bind','enableCommand','getContainedElement','getSelectedElement','change','formatGroupId','data','registerDescriptionCallback','resizeTableWidth','columnWidths','getSuggestions','document','formatBlock','Users','_descriptionFactory','handleSuggestionDescription','TableColumnResizeEditing','model','getAttribute','*Format:*\x20resize\x20table','_suggestionFactory','resizeTable','markBlockFormat','discard','commandParams','has','table'];(function(_0xf70d25,_0x3d81f0){const _0x1d305f=function(_0x5c016f){while(--_0x5c016f){_0xf70d25['push'](_0xf70d25['shift']());}};_0x1d305f(++_0x3d81f0);}(_0x3d81,0xa4));const _0x1d30=function(_0xf70d25,_0x3d81f0){_0xf70d25=_0xf70d25-0x0;let _0x1d305f=_0x3d81[_0xf70d25];return _0x1d305f;};import{Plugin as _0x5e54a5}from'ckeditor5/src/core';import{getTranslation as _0x4b176b}from'../utils/common-translations';export default class yt extends _0x5e54a5{[_0x1d30('0x6')](){if(!this[_0x1d30('0x25')]['plugins'][_0x1d30('0x22')](_0x1d30('0x19')))return;const _0x421319=this[_0x1d30('0x25')]['plugins'][_0x1d30('0x2')]('TrackChangesEditing');_0x421319[_0x1d30('0xa')](_0x1d30('0x11'),this[_0x1d30('0x1')][_0x1d30('0x9')](this)),_0x421319[_0x1d30('0xa')]('resizeColumnWidths',this[_0x1d30('0x1')][_0x1d30('0x9')](this)),_0x421319[_0x1d30('0x1d')][_0x1d30('0x7')](_0x1d30('0x15'),_0x1d30('0x1e'),'accept',_0x421319[_0x1d30('0x1d')]['getSuggestionCallback']('formatBlock',null,_0x1d30('0x20'))),_0x421319['_suggestionFactory'][_0x1d30('0x7')](_0x1d30('0x15'),'resizeTable',_0x1d30('0x20'),_0x421319[_0x1d30('0x1d')][_0x1d30('0x4')](_0x1d30('0x15'),null,_0x1d30('0x26'))),_0x421319[_0x1d30('0x17')][_0x1d30('0x10')](this[_0x1d30('0x18')]['bind'](this));}[_0x1d30('0x1')](_0x2c652f,_0x102e90){const _0x550e30=this[_0x1d30('0x25')][_0x1d30('0x5')][_0x1d30('0x2')](_0x1d30('0x24')),_0x46eccf=this[_0x1d30('0x25')][_0x1d30('0x5')][_0x1d30('0x2')](_0x1d30('0x19')),_0x45a207=_0x102e90[_0x1d30('0x23')]||this[_0x1d30('0x25')][_0x1d30('0x1a')][_0x1d30('0x14')]['selection'][_0x1d30('0xc')]();this[_0x1d30('0x25')][_0x1d30('0x1a')][_0x1d30('0xd')](()=>{const _0x495e34=_0x46eccf['getColumnGroupElement'](_0x45a207);let _0x28fd9a=_0x495e34?_0x46eccf[_0x1d30('0x8')](_0x495e34):null,_0x572f97=_0x45a207[_0x1d30('0x1b')]('tableWidth')||null;const _0x7efdfc=_0x102e90['tableWidth']||_0x572f97,_0x459142=_0x102e90[_0x1d30('0x12')]||_0x28fd9a,_0x26db6a=this[_0x1d30('0x25')][_0x1d30('0x5')]['get'](_0x1d30('0x16'))['me'];for(const _0x3a1bcd of _0x550e30[_0x1d30('0x13')]()){const _0x408338=_0x3a1bcd[_0x1d30('0xb')]();if('resizeTable'===_0x3a1bcd['subType']&&_0x408338===_0x45a207){_0x3a1bcd[_0x1d30('0x0')]!==_0x26db6a&&_0x3a1bcd['discard']();const _0x233962=_0x3a1bcd[_0x1d30('0xf')][_0x1d30('0x21')];_0x572f97=_0x233962[0x0]['tableWidth'],_0x28fd9a=_0x233962[0x0][_0x1d30('0x12')];break;}}_0x2c652f({'table':_0x45a207,'tableWidth':_0x7efdfc,'columnWidths':_0x459142}),_0x550e30[_0x1d30('0x1f')](_0x45a207,{'commandName':_0x1d30('0x11'),'commandParams':[{'tableWidth':_0x572f97,'columnWidths':_0x28fd9a}],'formatGroupId':_0x1d30('0x1e')},[],_0x1d30('0x1e'));});}[_0x1d30('0x18')](_0x35c3f8){const {data:_0x5b4546}=_0x35c3f8;if(_0x5b4546&&_0x1d30('0x1e')===_0x5b4546[_0x1d30('0xe')]){const _0x26869c=_0x1d30('0x1c');return{'type':_0x1d30('0x3'),'content':_0x4b176b(this[_0x1d30('0x25')][_0x1d30('0x27')],_0x26869c)};}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2fdc=['FORMAT_HEADER_ROW','createPositionBefore','unbindElementFromMarkerName','isBefore','_descriptionFactory','*Format:*\x20%0','markBlockFormat','plugins','afterInit','createPositionAfter','enableCommand','setAttribute','nodeAfter','findAncestor','registerCustomCallback','activeMarkers','markerName','headingColumns','addMarker:suggestion','data','TrackChangesEditing','markerNameToElements','_suggestionFactory','consumable','consume','from','FORMAT_REGULAR_COLUMN','model','highest','getCellLocation','setTableColumnHeader','get','commandParams','downcastDispatcher','index','registerDescriptionCallback','getSuggestion','last','removeMarker:suggestion','includes','selection','commands','nodeBefore','name','_acceptFormatSuggestionCallbackFactory','writer','table','createRange','_splitMarkerName','end','forceValue','change','getRowIndexes','data-suggestion','locale','TableUtils','getSelectionAffectedTableCells','formatBlock','FORMAT_HEADER_COLUMN','ck-suggestion-marker--active','setTableRowHeader','childCount','document','toViewElement','options','commandName','cell','removeClass','first','markerRange','parent','createTableWalker','item','TableEditing','getChild','requires','editing','format','accept','FORMAT_REGULAR_ROW','addClass','getAttribute','removeAttribute','ck-suggestion-marker-','mapper'];(function(_0x3efdc6,_0x2fdcaa){const _0x3f8716=function(_0x5c0cf7){while(--_0x5c0cf7){_0x3efdc6['push'](_0x3efdc6['shift']());}};_0x3f8716(++_0x2fdcaa);}(_0x2fdc,0x16c));const _0x3f87=function(_0x3efdc6,_0x2fdcaa){_0x3efdc6=_0x3efdc6-0x0;let _0x3f8716=_0x2fdc[_0x3efdc6];return _0x3f8716;};import{Plugin as _0xf40504}from'ckeditor5/src/core';import _0x37c839 from'./table';import{getTranslation as _0x4e1252}from'../utils/common-translations';export default class kt extends _0xf40504{static get[_0x3f87('0x33')](){return[_0x37c839];}[_0x3f87('0x45')](){const _0xbc913c=this['editor'];if(!_0xbc913c[_0x3f87('0x44')]['has'](_0x3f87('0x31')))return;const _0x352911=_0xbc913c[_0x3f87('0x1e')],_0x5c8e85=_0xbc913c[_0x3f87('0x44')][_0x3f87('0x7')](_0x3f87('0x51')),_0x231ea9=_0xbc913c[_0x3f87('0x44')][_0x3f87('0x7')](_0x3f87('0x1f')),_0x40656f=_0xbc913c[_0x3f87('0x44')][_0x3f87('0x7')](_0x37c839);function _0x5d3b35({showActiveMarker:_0x14bdfe=!0x0,setDataAttribute:_0x78e0d5=!0x0}={}){return(_0x1adc8f,_0x2853d3,_0x483e27)=>{const {type:_0x4db0c0,id:_0x4902bc}=_0x5c8e85['_splitMarkerName'](_0x2853d3[_0x3f87('0x4d')]),_0x370c9d=_0x5c8e85[_0x3f87('0xc')](_0x4902bc);if(!_0x370c9d[_0x3f87('0x50')]||_0x3f87('0x6')!=_0x370c9d[_0x3f87('0x50')][_0x3f87('0x29')])return;if(_0x2853d3[_0x3f87('0x30')])return void _0x1adc8f['stop']();if(!_0x483e27[_0x3f87('0x54')][_0x3f87('0x0')](_0x2853d3[_0x3f87('0x2d')],_0x1adc8f[_0x3f87('0x13')]))return;const _0x28e5ac=_0x2853d3[_0x3f87('0x2d')]['start'][_0x3f87('0x49')],_0x1a919f=_0x2853d3[_0x3f87('0x2d')][_0x3f87('0x19')][_0x3f87('0x12')],_0x2c9470=_0x28e5ac[_0x3f87('0x2e')][_0x3f87('0x2e')],{column:_0x3ae123}=_0x231ea9[_0x3f87('0x5')](_0x28e5ac),{column:_0x1ae439}=_0x231ea9[_0x3f87('0x5')](_0x1a919f);for(let _0x1c27b1=_0x3ae123;_0x1c27b1<=_0x1ae439;_0x1c27b1++){const _0x52fa9c=_0x231ea9[_0x3f87('0x2f')](_0x2c9470,{'column':_0x1c27b1,'includeAllSlots':!0x1});for(const _0x116d71 of _0x52fa9c){const _0x35ffbc=_0x116d71[_0x3f87('0x2a')],_0x3d0813=_0x483e27[_0x3f87('0x3c')][_0x3f87('0x27')](_0x35ffbc);_0x483e27[_0x3f87('0x15')][_0x3f87('0x38')]('ck-suggestion-marker-'+_0x4db0c0,_0x3d0813),_0x78e0d5&&_0x483e27[_0x3f87('0x15')][_0x3f87('0x48')](_0x3f87('0x1d'),_0x4902bc,_0x3d0813),_0x483e27['mapper']['bindElementToMarker'](_0x3d0813,_0x2853d3['markerName']),_0x14bdfe&&(_0x5c8e85[_0x3f87('0x4c')][_0x3f87('0xf')](_0x2853d3[_0x3f87('0x4d')])?_0x483e27[_0x3f87('0x15')][_0x3f87('0x38')]('ck-suggestion-marker--active',_0x3d0813):_0x483e27[_0x3f87('0x15')][_0x3f87('0x2b')](_0x3f87('0x23'),_0x3d0813));}}};}_0x5c8e85['enableCommand'](_0x3f87('0x24'),(_0x38a433,_0x1edf55)=>{const _0x50345a=_0x231ea9['getSelectionAffectedTableCells'](_0xbc913c[_0x3f87('0x3')][_0x3f87('0x26')][_0x3f87('0x10')]),_0x20f53d=_0x231ea9[_0x3f87('0x1c')](_0x50345a),_0x565dbc=_0x50345a[0x0]['findAncestor']('table'),_0x52e1de=_0x565dbc[_0x3f87('0x39')]('headingRows')||0x0,_0x4d4ade=_0x1edf55&&null!==_0x1edf55[_0x3f87('0x1a')]?_0x1edf55[_0x3f87('0x1a')]:!_0xbc913c[_0x3f87('0x11')][_0x3f87('0x7')](_0x3f87('0x24'))['value'],_0x400c8c=_0x4d4ade?_0x20f53d[_0x3f87('0xd')]:_0x20f53d[_0x3f87('0x2c')],_0x28feed=_0x565dbc[_0x3f87('0x32')](_0x400c8c);let _0x440439;if(_0x4d4ade){const _0x59055b=_0x565dbc[_0x3f87('0x32')](_0x52e1de);if(_0x28feed[_0x3f87('0xa')]<_0x59055b['index'])return;_0x440439=_0xbc913c[_0x3f87('0x3')]['createRange'](_0xbc913c[_0x3f87('0x3')][_0x3f87('0x3e')](_0x59055b[_0x3f87('0x32')](0x0)),_0xbc913c[_0x3f87('0x3')][_0x3f87('0x46')](_0x28feed['getChild'](_0x28feed['childCount']-0x1)));}else{const _0x51f750=_0x565dbc['getChild'](_0x52e1de-0x1);if(!_0x51f750)return;_0x440439=_0xbc913c[_0x3f87('0x3')]['createRange'](_0xbc913c['model'][_0x3f87('0x3e')](_0x28feed['getChild'](0x0)),_0xbc913c['model'][_0x3f87('0x46')](_0x51f750[_0x3f87('0x32')](_0x51f750[_0x3f87('0x25')]-0x1)));}_0xbc913c[_0x3f87('0x3')][_0x3f87('0x1b')](()=>{_0x5c8e85[_0x3f87('0x43')](_0x440439,{'commandName':_0x3f87('0x24'),'commandParams':[{'forceValue':_0x4d4ade}]},[],_0x3f87('0x24'));});}),_0x5c8e85[_0x3f87('0x47')](_0x3f87('0x6'),(_0x4d7926,_0x35b91e)=>{const _0x4f6cf9=_0xbc913c[_0x3f87('0x44')]['get']('TableUtils'),_0x4f20f6=_0x4f6cf9[_0x3f87('0x20')](_0xbc913c[_0x3f87('0x3')][_0x3f87('0x26')]['selection']),_0x1d8ed1=_0x4f6cf9['getColumnIndexes'](_0x4f20f6),_0x462e99=_0x4f20f6[0x0][_0x3f87('0x4a')](_0x3f87('0x16')),_0x5f444f=_0x462e99[_0x3f87('0x39')](_0x3f87('0x4e'))||0x0,_0x4d49bb=_0x35b91e&&null!==_0x35b91e[_0x3f87('0x1a')]?_0x35b91e[_0x3f87('0x1a')]:!_0xbc913c['commands']['get'](_0x3f87('0x6'))['value'];let _0x4ef1eb;const _0x38bf0b=_0x462e99['getChild'](0x0),_0x50fc98=_0x4d49bb?_0x1d8ed1[_0x3f87('0xd')]:_0x1d8ed1[_0x3f87('0x2c')],_0xa23c65=_0x4f6cf9['createTableWalker'](_0x462e99,{'startRow':0x0,'column':_0x50fc98,'includeAllSlots':!0x1}),_0x366def=Array[_0x3f87('0x1')](_0xa23c65)[0x0]['cell'];if(_0x4d49bb){const _0x222ae3=_0x38bf0b[_0x3f87('0x32')](_0x5f444f);if(_0x366def[_0x3f87('0x40')](_0x222ae3))return;_0x4ef1eb=_0xbc913c[_0x3f87('0x3')][_0x3f87('0x17')](_0xbc913c[_0x3f87('0x3')][_0x3f87('0x3e')](_0x222ae3),_0xbc913c['model'][_0x3f87('0x46')](_0x366def));}else{const _0x532a7a=_0x38bf0b[_0x3f87('0x32')](_0x5f444f-0x1);if(!_0x532a7a)return;_0x4ef1eb=_0xbc913c[_0x3f87('0x3')][_0x3f87('0x17')](_0xbc913c[_0x3f87('0x3')][_0x3f87('0x3e')](_0x366def),_0xbc913c[_0x3f87('0x3')]['createPositionAfter'](_0x532a7a));}_0xbc913c[_0x3f87('0x3')][_0x3f87('0x1b')](()=>{_0x5c8e85[_0x3f87('0x43')](_0x4ef1eb,{'commandName':_0x3f87('0x6'),'commandParams':[{'forceValue':_0x4d49bb}]},[],_0x3f87('0x6'));});}),_0xbc913c[_0x3f87('0x34')][_0x3f87('0x9')]['on']('addMarker:suggestion',_0x5d3b35(),{'priority':_0x3f87('0x4')}),_0xbc913c[_0x3f87('0x50')]['downcastDispatcher']['on'](_0x3f87('0x4f'),(_0x227933,_0x11d8ce,_0x4ad3be)=>{_0x4ad3be[_0x3f87('0x28')]['showSuggestionHighlights']&&_0x5d3b35({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x227933,_0x11d8ce,_0x4ad3be);},{'priority':_0x3f87('0x4')}),_0xbc913c[_0x3f87('0x34')][_0x3f87('0x9')]['on'](_0x3f87('0xe'),(_0x3476a7,_0x326b7e,_0xe122d1)=>{const {type:_0x404902,id:_0x3c1fa3}=_0x5c8e85[_0x3f87('0x18')](_0x326b7e['markerName']),_0x2bf53b=_0x5c8e85[_0x3f87('0xc')](_0x3c1fa3);if(!_0x2bf53b[_0x3f87('0x50')]||_0x3f87('0x6')!=_0x2bf53b[_0x3f87('0x50')]['commandName'])return;const _0x20b751=_0xe122d1[_0x3f87('0x3c')][_0x3f87('0x52')](_0x326b7e[_0x3f87('0x4d')]);if(_0x20b751)for(const _0x4c5d1e of _0x20b751)_0xe122d1[_0x3f87('0x15')][_0x3f87('0x2b')](_0x3f87('0x3b')+_0x404902,_0x4c5d1e),_0xe122d1[_0x3f87('0x15')][_0x3f87('0x2b')]('ck-suggestion-marker--active',_0x4c5d1e),_0xe122d1[_0x3f87('0x15')][_0x3f87('0x3a')](_0x3f87('0x1d'),_0x4c5d1e),_0xe122d1[_0x3f87('0x3c')][_0x3f87('0x3f')](_0x4c5d1e,_0x326b7e[_0x3f87('0x4d')]);},{'priority':_0x3f87('0x4')}),_0x5c8e85[_0x3f87('0x41')][_0x3f87('0xb')](_0x51c076=>{const {data:_0x4c7bf1}=_0x51c076;if(_0x4c7bf1){if(_0x3f87('0x24')==_0x4c7bf1[_0x3f87('0x29')]){const _0x3ff436=_0x4c7bf1[_0x3f87('0x8')][0x0][_0x3f87('0x1a')];return _0xfcd78f(_0x4e1252(_0x352911,_0x3ff436?_0x3f87('0x3d'):_0x3f87('0x37')));}if(_0x3f87('0x6')==_0x4c7bf1[_0x3f87('0x29')]){const _0x535f43=_0x4c7bf1[_0x3f87('0x8')][0x0][_0x3f87('0x1a')];return _0xfcd78f(_0x4e1252(_0x352911,_0x535f43?_0x3f87('0x22'):_0x3f87('0x2')));}}function _0xfcd78f(_0x5e6f1b){return{'type':_0x3f87('0x35'),'content':_0x4e1252(_0x352911,_0x3f87('0x42'),_0x5e6f1b)};}});const _0x43c12d=_0x40656f[_0x3f87('0x14')]();_0x5c8e85[_0x3f87('0x53')]['registerCustomCallback']('formatBlock',_0x3f87('0x24'),_0x3f87('0x36'),_0x43c12d),_0x5c8e85[_0x3f87('0x53')][_0x3f87('0x4b')](_0x3f87('0x21'),_0x3f87('0x6'),_0x3f87('0x36'),_0x43c12d);}}
23
+ const _0x2f31=['table','start','setTableColumnHeader','commandParams','registerCustomCallback','model','writer','document','FORMAT_HEADER_COLUMN','commandName','createPositionAfter','setAttribute','data','enableCommand','options','createPositionBefore','editing','createRange','removeClass','accept','format','selection','ck-suggestion-marker--active','FORMAT_REGULAR_COLUMN','value','last','from','_suggestionFactory','markerRange','setTableRowHeader','TrackChangesEditing','index','highest','TableUtils','headingColumns','isBefore','findAncestor','getRowIndexes','childCount','headingRows','createTableWalker','getCellLocation','mapper','data-suggestion','forceValue','TableEditing','consume','getSuggestion','stop','*Format:*\x20%0','includes','markerNameToElements','markBlockFormat','parent','ck-suggestion-marker-','formatBlock','editor','downcastDispatcher','bindElementToMarker','cell','getChild','FORMAT_REGULAR_ROW','nodeBefore','_descriptionFactory','locale','markerName','_splitMarkerName','end','addClass','has','plugins','removeAttribute','get','getSelectionAffectedTableCells','name','item'];(function(_0x44798c,_0x2f311f){const _0x571b1c=function(_0x5dd6f7){while(--_0x5dd6f7){_0x44798c['push'](_0x44798c['shift']());}};_0x571b1c(++_0x2f311f);}(_0x2f31,0x183));const _0x571b=function(_0x44798c,_0x2f311f){_0x44798c=_0x44798c-0x0;let _0x571b1c=_0x2f31[_0x44798c];return _0x571b1c;};import{Plugin as _0x539c2c}from'ckeditor5/src/core';import _0x1750c6 from'./table';import{getTranslation as _0x43b386}from'../utils/common-translations';export default class kt extends _0x539c2c{static get['requires'](){return[_0x1750c6];}['afterInit'](){const _0x219aa7=this[_0x571b('0x31')];if(!_0x219aa7[_0x571b('0x3f')][_0x571b('0x3e')](_0x571b('0x26')))return;const _0x4a0c23=_0x219aa7[_0x571b('0x39')],_0x2f26a5=_0x219aa7[_0x571b('0x3f')][_0x571b('0x41')](_0x571b('0x17')),_0x1bb188=_0x219aa7['plugins'][_0x571b('0x41')](_0x571b('0x1a')),_0x2da186=_0x219aa7[_0x571b('0x3f')][_0x571b('0x41')](_0x1750c6);function _0xe1ab13({showActiveMarker:_0x432d48=!0x0,setDataAttribute:_0x579361=!0x0}={}){return(_0x55e0ea,_0x5196b6,_0x2d5fcf)=>{const {type:_0x1ab857,id:_0x17a622}=_0x2f26a5[_0x571b('0x3b')](_0x5196b6[_0x571b('0x3a')]),_0x4d7c97=_0x2f26a5[_0x571b('0x28')](_0x17a622);if(!_0x4d7c97[_0x571b('0x5')]||'setTableColumnHeader'!=_0x4d7c97[_0x571b('0x5')][_0x571b('0x2')])return;if(_0x5196b6[_0x571b('0x44')])return void _0x55e0ea[_0x571b('0x29')]();if(!_0x2d5fcf['consumable'][_0x571b('0x27')](_0x5196b6[_0x571b('0x15')],_0x55e0ea[_0x571b('0x43')]))return;const _0x329945=_0x5196b6['markerRange'][_0x571b('0x46')]['nodeAfter'],_0x43911a=_0x5196b6[_0x571b('0x15')][_0x571b('0x3c')][_0x571b('0x37')],_0x591ba3=_0x329945[_0x571b('0x2e')]['parent'],{column:_0x475c08}=_0x1bb188[_0x571b('0x22')](_0x329945),{column:_0x434ec8}=_0x1bb188[_0x571b('0x22')](_0x43911a);for(let _0x2ad770=_0x475c08;_0x2ad770<=_0x434ec8;_0x2ad770++){const _0x41aea0=_0x1bb188[_0x571b('0x21')](_0x591ba3,{'column':_0x2ad770,'includeAllSlots':!0x1});for(const _0x4a27bb of _0x41aea0){const _0x3ffd05=_0x4a27bb['cell'],_0x42a2f0=_0x2d5fcf['mapper']['toViewElement'](_0x3ffd05);_0x2d5fcf[_0x571b('0x4b')][_0x571b('0x3d')]('ck-suggestion-marker-'+_0x1ab857,_0x42a2f0),_0x579361&&_0x2d5fcf['writer'][_0x571b('0x4')](_0x571b('0x24'),_0x17a622,_0x42a2f0),_0x2d5fcf[_0x571b('0x23')][_0x571b('0x33')](_0x42a2f0,_0x5196b6[_0x571b('0x3a')]),_0x432d48&&(_0x2f26a5['activeMarkers'][_0x571b('0x2b')](_0x5196b6['markerName'])?_0x2d5fcf[_0x571b('0x4b')][_0x571b('0x3d')](_0x571b('0xf'),_0x42a2f0):_0x2d5fcf['writer'][_0x571b('0xb')](_0x571b('0xf'),_0x42a2f0));}}};}_0x2f26a5[_0x571b('0x6')](_0x571b('0x16'),(_0x2074ca,_0x33b032)=>{const _0x6edb06=_0x1bb188[_0x571b('0x42')](_0x219aa7[_0x571b('0x4a')][_0x571b('0x0')][_0x571b('0xe')]),_0x4a1d3d=_0x1bb188[_0x571b('0x1e')](_0x6edb06),_0x27aa98=_0x6edb06[0x0][_0x571b('0x1d')](_0x571b('0x45')),_0x3fe053=_0x27aa98['getAttribute'](_0x571b('0x20'))||0x0,_0xbf47be=_0x33b032&&null!==_0x33b032[_0x571b('0x25')]?_0x33b032[_0x571b('0x25')]:!_0x219aa7['commands']['get'](_0x571b('0x16'))[_0x571b('0x11')],_0x59056e=_0xbf47be?_0x4a1d3d[_0x571b('0x12')]:_0x4a1d3d['first'],_0x1c6635=_0x27aa98[_0x571b('0x35')](_0x59056e);let _0x31a5a6;if(_0xbf47be){const _0x5b416b=_0x27aa98[_0x571b('0x35')](_0x3fe053);if(_0x1c6635['index']<_0x5b416b[_0x571b('0x18')])return;_0x31a5a6=_0x219aa7[_0x571b('0x4a')]['createRange'](_0x219aa7[_0x571b('0x4a')]['createPositionBefore'](_0x5b416b[_0x571b('0x35')](0x0)),_0x219aa7['model'][_0x571b('0x3')](_0x1c6635[_0x571b('0x35')](_0x1c6635[_0x571b('0x1f')]-0x1)));}else{const _0x40e409=_0x27aa98[_0x571b('0x35')](_0x3fe053-0x1);if(!_0x40e409)return;_0x31a5a6=_0x219aa7[_0x571b('0x4a')][_0x571b('0xa')](_0x219aa7[_0x571b('0x4a')][_0x571b('0x8')](_0x1c6635[_0x571b('0x35')](0x0)),_0x219aa7['model']['createPositionAfter'](_0x40e409[_0x571b('0x35')](_0x40e409[_0x571b('0x1f')]-0x1)));}_0x219aa7[_0x571b('0x4a')]['change'](()=>{_0x2f26a5[_0x571b('0x2d')](_0x31a5a6,{'commandName':_0x571b('0x16'),'commandParams':[{'forceValue':_0xbf47be}]},[],'setTableRowHeader');});}),_0x2f26a5['enableCommand'](_0x571b('0x47'),(_0x36be4b,_0x441549)=>{const _0x2d980b=_0x219aa7[_0x571b('0x3f')][_0x571b('0x41')](_0x571b('0x1a')),_0x55ae8f=_0x2d980b['getSelectionAffectedTableCells'](_0x219aa7['model'][_0x571b('0x0')][_0x571b('0xe')]),_0x9774e=_0x2d980b['getColumnIndexes'](_0x55ae8f),_0x3f5594=_0x55ae8f[0x0][_0x571b('0x1d')]('table'),_0x16e2f2=_0x3f5594['getAttribute'](_0x571b('0x1b'))||0x0,_0x334bfe=_0x441549&&null!==_0x441549[_0x571b('0x25')]?_0x441549['forceValue']:!_0x219aa7['commands'][_0x571b('0x41')]('setTableColumnHeader')['value'];let _0x4a71a9;const _0x4d1a93=_0x3f5594[_0x571b('0x35')](0x0),_0x32e0e1=_0x334bfe?_0x9774e[_0x571b('0x12')]:_0x9774e['first'],_0x5819c5=_0x2d980b[_0x571b('0x21')](_0x3f5594,{'startRow':0x0,'column':_0x32e0e1,'includeAllSlots':!0x1}),_0x59b445=Array[_0x571b('0x13')](_0x5819c5)[0x0][_0x571b('0x34')];if(_0x334bfe){const _0x262a12=_0x4d1a93[_0x571b('0x35')](_0x16e2f2);if(_0x59b445[_0x571b('0x1c')](_0x262a12))return;_0x4a71a9=_0x219aa7[_0x571b('0x4a')]['createRange'](_0x219aa7[_0x571b('0x4a')][_0x571b('0x8')](_0x262a12),_0x219aa7[_0x571b('0x4a')]['createPositionAfter'](_0x59b445));}else{const _0x5c9df1=_0x4d1a93[_0x571b('0x35')](_0x16e2f2-0x1);if(!_0x5c9df1)return;_0x4a71a9=_0x219aa7[_0x571b('0x4a')][_0x571b('0xa')](_0x219aa7['model'][_0x571b('0x8')](_0x59b445),_0x219aa7['model'][_0x571b('0x3')](_0x5c9df1));}_0x219aa7[_0x571b('0x4a')]['change'](()=>{_0x2f26a5[_0x571b('0x2d')](_0x4a71a9,{'commandName':_0x571b('0x47'),'commandParams':[{'forceValue':_0x334bfe}]},[],'setTableColumnHeader');});}),_0x219aa7[_0x571b('0x9')][_0x571b('0x32')]['on']('addMarker:suggestion',_0xe1ab13(),{'priority':_0x571b('0x19')}),_0x219aa7['data'][_0x571b('0x32')]['on']('addMarker:suggestion',(_0x17ae4f,_0x12ffd1,_0x166721)=>{_0x166721[_0x571b('0x7')]['showSuggestionHighlights']&&_0xe1ab13({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x17ae4f,_0x12ffd1,_0x166721);},{'priority':_0x571b('0x19')}),_0x219aa7['editing'][_0x571b('0x32')]['on']('removeMarker:suggestion',(_0x38f63d,_0x25c82b,_0x4a0645)=>{const {type:_0x10c8a0,id:_0x4cefde}=_0x2f26a5[_0x571b('0x3b')](_0x25c82b[_0x571b('0x3a')]),_0xce0d3=_0x2f26a5['getSuggestion'](_0x4cefde);if(!_0xce0d3[_0x571b('0x5')]||'setTableColumnHeader'!=_0xce0d3['data'][_0x571b('0x2')])return;const _0x1ad599=_0x4a0645[_0x571b('0x23')][_0x571b('0x2c')](_0x25c82b['markerName']);if(_0x1ad599)for(const _0x5b12c1 of _0x1ad599)_0x4a0645[_0x571b('0x4b')][_0x571b('0xb')](_0x571b('0x2f')+_0x10c8a0,_0x5b12c1),_0x4a0645[_0x571b('0x4b')]['removeClass']('ck-suggestion-marker--active',_0x5b12c1),_0x4a0645['writer'][_0x571b('0x40')](_0x571b('0x24'),_0x5b12c1),_0x4a0645[_0x571b('0x23')]['unbindElementFromMarkerName'](_0x5b12c1,_0x25c82b[_0x571b('0x3a')]);},{'priority':_0x571b('0x19')}),_0x2f26a5[_0x571b('0x38')]['registerDescriptionCallback'](_0x4533db=>{const {data:_0x2c4fa6}=_0x4533db;if(_0x2c4fa6){if('setTableRowHeader'==_0x2c4fa6[_0x571b('0x2')]){const _0x33f47a=_0x2c4fa6[_0x571b('0x48')][0x0][_0x571b('0x25')];return _0xcfd005(_0x43b386(_0x4a0c23,_0x33f47a?'FORMAT_HEADER_ROW':_0x571b('0x36')));}if(_0x571b('0x47')==_0x2c4fa6['commandName']){const _0x20588f=_0x2c4fa6[_0x571b('0x48')][0x0][_0x571b('0x25')];return _0xcfd005(_0x43b386(_0x4a0c23,_0x20588f?_0x571b('0x1'):_0x571b('0x10')));}}function _0xcfd005(_0x59811b){return{'type':_0x571b('0xd'),'content':_0x43b386(_0x4a0c23,_0x571b('0x2a'),_0x59811b)};}});const _0x1b4c2b=_0x2da186['_acceptFormatSuggestionCallbackFactory']();_0x2f26a5[_0x571b('0x14')][_0x571b('0x49')](_0x571b('0x30'),_0x571b('0x16'),_0x571b('0xc'),_0x1b4c2b),_0x2f26a5[_0x571b('0x14')]['registerCustomCallback'](_0x571b('0x30'),'setTableColumnHeader',_0x571b('0xc'),_0x1b4c2b);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x51fa=['document','isInContent','format','cell','TableEditing','mergeTableCellRight','fromRange','registerCustomCallback','set:isEnabled','*Split\x20cell:*\x20horizontally','size','requires','model','add','markMultiRangeBlockFormat','low','deletion','registerDescriptionCallback','find','createRangeOn','detach','accept','formatBlock','findAncestor','getAncestors','length','subType','from','splitTableCellHorizontally','getSuggestions','$graveyard','rootName','get','refresh','mergeTableCellUp','getCellLocation','horizontally','mergeTableCells','_tablePostFixingSubtypes','_suggestionFactory','editor','*Split\x20cell:*\x20vertically','_areMergableCells','root','isEnabled','_descriptionFactory','locale','markBlockFormat','createTableWalker','type','execute','trackChanges','TrackChangesEditing','getRanges','splitTableCellVertically','setSelection','mergeTableCellLeft','has','push','*Merge\x20cells*','plugins','element','commands','selection','containsRange','value','highest','author','map','change','TableUtils','filter','getFirstPosition','getSelectionAffectedTableCells','tableCell','direction','mergeTableCellDown','_acceptFormatSuggestionCallbackFactory','afterInit','enableCommand'];(function(_0x48c926,_0x51fabb){const _0x496172=function(_0x8a1095){while(--_0x8a1095){_0x48c926['push'](_0x48c926['shift']());}};_0x496172(++_0x51fabb);}(_0x51fa,0x196));const _0x4961=function(_0x48c926,_0x51fabb){_0x48c926=_0x48c926-0x0;let _0x496172=_0x51fa[_0x48c926];return _0x496172;};import{Plugin as _0x62aecf}from'ckeditor5/src/core';import _0x3c7851 from'./table';import{LiveRange as _0x2f918a}from'ckeditor5/src/engine';import{getTranslation as _0x426e9e}from'../utils/common-translations';export default class pt extends _0x62aecf{static get[_0x4961('0x5')](){return[_0x3c7851];}[_0x4961('0x48')](){const _0x1286fb=this[_0x4961('0x22')],_0x2fee77=_0x1286fb['model'][_0x4961('0x4a')][_0x4961('0x39')],_0x4031e0=_0x1286fb[_0x4961('0x28')];if(!_0x1286fb[_0x4961('0x36')][_0x4961('0x33')](_0x4961('0x4e')))return;const _0x2d7d48=_0x1286fb[_0x4961('0x36')][_0x4961('0x1a')](_0x4961('0x2e')),_0x618699=_0x1286fb[_0x4961('0x36')][_0x4961('0x1a')](_0x4961('0x40')),_0x2ae41c=_0x1286fb[_0x4961('0x36')][_0x4961('0x1a')](_0x3c7851);_0x2ae41c[_0x4961('0x20')][_0x4961('0x34')](_0x4961('0x1f')),_0x2d7d48[_0x4961('0x49')](_0x4961('0x1f'),()=>{const _0x71c898=_0x618699[_0x4961('0x43')](_0x1286fb[_0x4961('0x6')][_0x4961('0x4a')]['selection']);_0x1286fb[_0x4961('0x6')][_0x4961('0x3f')](()=>{_0x2d7d48[_0x4961('0x8')](_0x71c898,{'commandName':_0x4961('0x1f'),'commandParams':[]},[],_0x4961('0x1f'));});}),_0x1286fb[_0x4961('0x38')][_0x4961('0x1a')](_0x4961('0x1f'))['on']('execute',(_0xcb9f21,_0x1cf55f)=>{_0x1286fb[_0x4961('0x38')][_0x4961('0x1a')](_0x4961('0x2d'))[_0x4961('0x3b')]&&(_0x1cf55f['length']>0x0&&_0x1cf55f[_0x1cf55f['length']-0x1]&&_0x1cf55f[_0x1cf55f['length']-0x1]['forceDefaultExecution']||_0x2d7d48['_isForcedDefaultExecutionBlock']||this['_areSelectedCellsMergable']()||_0xcb9f21['stop']());},{'priority':_0x4961('0x3c')});for(const _0x4339b7 of['mergeTableCellUp',_0x4961('0x4f'),_0x4961('0x46'),_0x4961('0x32')]){const _0x36d4f9=_0x1286fb[_0x4961('0x38')][_0x4961('0x1a')](_0x4339b7);_0x2d7d48[_0x4961('0x49')](_0x4339b7,()=>{const _0x37d07d=_0x1286fb[_0x4961('0x6')][_0x4961('0x4a')]['selection']['getFirstPosition']()[_0x4961('0x12')]()['find'](_0x3aa1c5=>_0x3aa1c5['is'](_0x4961('0x37'),'tableCell')),_0x1c9754=_0x36d4f9['value'];_0x1286fb[_0x4961('0x6')][_0x4961('0x3f')](()=>{_0x2d7d48[_0x4961('0x8')]([_0x37d07d,_0x1c9754],{'commandName':_0x4961('0x1f'),'commandParams':[]},[],_0x4961('0x1f'));});});}for(const _0xf6971a of[_0x4961('0x30'),_0x4961('0x16')]){const _0x52d1e3=_0x1286fb[_0x4961('0x38')]['get'](_0xf6971a);_0x2d7d48['enableCommand'](_0xf6971a,()=>{const _0x3c9ed0=_0x618699[_0x4961('0x43')](_0x1286fb[_0x4961('0x6')][_0x4961('0x4a')][_0x4961('0x39')])[0x0],_0x35dd20=_0x3c9ed0[_0x4961('0x11')]('table'),{column:_0x515cc9,row:_0x30c411}=_0x618699[_0x4961('0x1d')](_0x3c9ed0);let _0x48a52a=[];if(_0x4961('0x1e')==_0x52d1e3[_0x4961('0x45')]){const _0x4fe2d8=_0x618699[_0x4961('0x2a')](_0x35dd20,{'startRow':_0x30c411,'endRow':_0x30c411,'includeAllSlots':!0x0});_0x48a52a=Array['from'](_0x4fe2d8)[_0x4961('0x3e')](_0xe3e0d=>_0xe3e0d['cell']);}else{const _0x21e53f=_0x618699[_0x4961('0x2a')](_0x35dd20,{'column':_0x515cc9,'includeAllSlots':!0x0});_0x48a52a=Array[_0x4961('0x15')](_0x21e53f)['map'](_0x14a6ef=>_0x14a6ef[_0x4961('0x4d')]);}_0x1286fb[_0x4961('0x6')][_0x4961('0x3f')](_0x200d02=>{_0x2d7d48[_0x4961('0x29')](_0x200d02[_0x4961('0xd')](_0x3c9ed0),{'commandName':_0xf6971a,'commandParams':[]},_0x48a52a,_0xf6971a);});});}_0x2d7d48[_0x4961('0x27')][_0x4961('0xb')](_0x3d83b7=>{const {data:_0x4d3f68}=_0x3d83b7;if(_0x4d3f68)return _0x4961('0x1f')==_0x4d3f68['commandName']?{'type':'format','content':_0x426e9e(_0x4031e0,_0x4961('0x35'))}:void 0x0;}),_0x2d7d48[_0x4961('0x27')]['registerDescriptionCallback'](_0x1b91b2=>{const {data:_0x24125f}=_0x1b91b2;if(_0x24125f)return _0x4961('0x30')==_0x24125f['commandName']?{'type':_0x4961('0x4c'),'content':_0x426e9e(_0x4031e0,_0x4961('0x23'))}:_0x4961('0x16')==_0x24125f['commandName']?{'type':_0x4961('0x4c'),'content':_0x426e9e(_0x4031e0,_0x4961('0x3'))}:void 0x0;});const _0x5b7606=_0x2ae41c[_0x4961('0x47')]();for(const _0x281725 of['mergeTableCellUp','mergeTableCellRight',_0x4961('0x46'),_0x4961('0x32')])_0x2d7d48[_0x4961('0x21')][_0x4961('0x1')](_0x4961('0x10'),_0x281725,_0x4961('0xf'),_0x5b7606);for(const _0x3c8d70 of['splitTableCellVertically',_0x4961('0x16')])_0x2d7d48[_0x4961('0x21')]['registerCustomCallback'](_0x4961('0x10'),_0x3c8d70,_0x4961('0xf'),_0x5b7606);_0x2d7d48['_suggestionFactory'][_0x4961('0x1')]('formatBlock',_0x4961('0x1f'),_0x4961('0xf'),_0x4f9397=>{_0x1286fb['model'][_0x4961('0x3f')](_0x3eca91=>{const _0x108133=Array[_0x4961('0x15')](_0x2fee77[_0x4961('0x2f')]())[_0x4961('0x3e')](_0x2d5c53=>_0x2f918a[_0x4961('0x0')](_0x2d5c53));_0x3eca91[_0x4961('0x31')](_0x4f9397),_0x1286fb[_0x4961('0x38')][_0x4961('0x1a')]('mergeTableCells')[_0x4961('0x1b')](),_0x1286fb[_0x4961('0x2c')](_0x4961('0x1f'),{'forceDefaultExecution':!0x0});const _0x2a058c=_0x108133[_0x4961('0x41')](_0x3953b1=>_0x4961('0x18')!=_0x3953b1[_0x4961('0x25')][_0x4961('0x19')]);_0x2a058c[_0x4961('0x13')]>0x0&&_0x3eca91[_0x4961('0x31')](_0x2a058c);for(const _0x430935 of _0x108133)_0x430935[_0x4961('0xe')]();});});for(const _0x4bd290 of[_0x4961('0x1c'),'mergeTableCellDown',_0x4961('0x32'),_0x4961('0x4f')]){const _0x2971c8=_0x1286fb['commands']['get'](_0x4bd290);_0x2971c8['on'](_0x4961('0x2'),(_0xd08118,_0x38aae6,_0x5981ca)=>{if(_0x5981ca){const _0x57a7ed=_0x1286fb[_0x4961('0x6')][_0x4961('0x4a')]['selection'][_0x4961('0x42')]()['getAncestors']()[_0x4961('0xc')](_0x4e16e1=>_0x4e16e1['is'](_0x4961('0x37'),_0x4961('0x44')));this[_0x4961('0x24')](_0x2971c8['value'],_0x57a7ed)||(_0xd08118['return']=!0x1,_0xd08118['stop']());}},{'priority':_0x4961('0x9')});}}['_areSelectedCellsMergable'](){const _0x3aeb1e=this['editor'][_0x4961('0x38')][_0x4961('0x1a')](_0x4961('0x1f')),_0x4f7ace=this[_0x4961('0x22')][_0x4961('0x36')]['get'](_0x4961('0x40'));if(!_0x3aeb1e[_0x4961('0x26')])return!0x1;const _0x51da3d=_0x4f7ace[_0x4961('0x43')](this[_0x4961('0x22')][_0x4961('0x6')][_0x4961('0x4a')][_0x4961('0x39')]);for(const _0x4c7674 of _0x51da3d)for(const _0x549f93 of _0x51da3d)if(_0x4c7674!=_0x549f93&&!this['_areMergableCells'](_0x4c7674,_0x549f93))return!0x1;return!0x0;}[_0x4961('0x24')](_0x563ba6,_0x1cb771){const _0x1df8fb=this[_0x4961('0x22')][_0x4961('0x36')][_0x4961('0x1a')](_0x4961('0x2e')),_0x1aed47=this['editor']['model'][_0x4961('0xd')](_0x563ba6),_0x27b206=this[_0x4961('0x22')][_0x4961('0x6')][_0x4961('0xd')](_0x1cb771),_0x3566ba=new Set(),_0x591f7c=new Set();for(const _0x3e9cac of _0x1df8fb[_0x4961('0x17')]())if(('insertion'==_0x3e9cac[_0x4961('0x2b')]||_0x4961('0xa')==_0x3e9cac['type']||_0x4961('0x1f')==_0x3e9cac[_0x4961('0x14')])&&_0x3e9cac[_0x4961('0x4b')])for(const _0x38823e of _0x3e9cac[_0x4961('0x2f')]())_0x38823e[_0x4961('0x3a')](_0x1aed47,!0x0)&&_0x3566ba['add'](_0x3e9cac[_0x4961('0x2b')]+':'+_0x3e9cac[_0x4961('0x3d')]['id']),_0x38823e['containsRange'](_0x27b206,!0x0)&&_0x591f7c[_0x4961('0x7')](_0x3e9cac[_0x4961('0x2b')]+':'+_0x3e9cac['author']['id']);if(_0x3566ba[_0x4961('0x4')]!=_0x591f7c[_0x4961('0x4')])return!0x1;for(const _0x11dad9 of _0x3566ba)if(!_0x591f7c[_0x4961('0x33')](_0x11dad9))return!0x1;return!0x0;}}
23
+ const _0x216e=['forceDefaultExecution','map','rootName','refresh','execute','model','find','_areSelectedCellsMergable','get','mergeTableCellDown','TableUtils','mergeTableCellUp','splitTableCellHorizontally','accept','detach','deletion','filter','createRangeOn','document','registerDescriptionCallback','trackChanges','insertion','isEnabled','size','getRanges','getFirstPosition','mergeTableCellLeft','getAncestors','horizontally','type','TableEditing','commandName','findAncestor','direction','_isForcedDefaultExecutionBlock','root','*Split\x20cell:*\x20vertically','containsRange','highest','format','value','createTableWalker','requires','mergeTableCellRight','push','mergeTableCells','setSelection','editor','markBlockFormat','_tablePostFixingSubtypes','splitTableCellVertically','add','_suggestionFactory','low','table','formatBlock','change','getSelectionAffectedTableCells','enableCommand','locale','registerCustomCallback','fromRange','plugins','TrackChangesEditing','afterInit','commands','_descriptionFactory','from','length','_areMergableCells','selection','markMultiRangeBlockFormat','author','stop'];(function(_0x3f6884,_0x216e70){const _0x526269=function(_0x35945c){while(--_0x35945c){_0x3f6884['push'](_0x3f6884['shift']());}};_0x526269(++_0x216e70);}(_0x216e,0x16e));const _0x5262=function(_0x3f6884,_0x216e70){_0x3f6884=_0x3f6884-0x0;let _0x526269=_0x216e[_0x3f6884];return _0x526269;};import{Plugin as _0x4cee5d}from'ckeditor5/src/core';import _0x3b4f34 from'./table';import{LiveRange as _0x4556bd}from'ckeditor5/src/engine';import{getTranslation as _0x326290}from'../utils/common-translations';export default class pt extends _0x4cee5d{static get[_0x5262('0x2e')](){return[_0x3b4f34];}[_0x5262('0x44')](){const _0xef08b8=this[_0x5262('0x33')],_0xedb00e=_0xef08b8[_0x5262('0x9')][_0x5262('0x16')]['selection'],_0x59377d=_0xef08b8[_0x5262('0x3f')];if(!_0xef08b8[_0x5262('0x42')]['has'](_0x5262('0x22')))return;const _0x26d285=_0xef08b8[_0x5262('0x42')]['get']('TrackChangesEditing'),_0x586d2d=_0xef08b8[_0x5262('0x42')][_0x5262('0xc')]('TableUtils'),_0x1e9f58=_0xef08b8[_0x5262('0x42')][_0x5262('0xc')](_0x3b4f34);_0x1e9f58[_0x5262('0x35')][_0x5262('0x30')]('mergeTableCells'),_0x26d285[_0x5262('0x3e')](_0x5262('0x31'),()=>{const _0x4f8ecf=_0x586d2d[_0x5262('0x3d')](_0xef08b8[_0x5262('0x9')][_0x5262('0x16')]['selection']);_0xef08b8['model'][_0x5262('0x3c')](()=>{_0x26d285[_0x5262('0x1')](_0x4f8ecf,{'commandName':_0x5262('0x31'),'commandParams':[]},[],_0x5262('0x31'));});}),_0xef08b8[_0x5262('0x45')][_0x5262('0xc')](_0x5262('0x31'))['on']('execute',(_0x5d8526,_0xb9e90b)=>{_0xef08b8['commands']['get'](_0x5262('0x18'))[_0x5262('0x2c')]&&(_0xb9e90b['length']>0x0&&_0xb9e90b[_0xb9e90b['length']-0x1]&&_0xb9e90b[_0xb9e90b[_0x5262('0x48')]-0x1][_0x5262('0x4')]||_0x26d285[_0x5262('0x26')]||this[_0x5262('0xb')]()||_0x5d8526['stop']());},{'priority':_0x5262('0x2a')});for(const _0x447a48 of['mergeTableCellUp',_0x5262('0x2f'),'mergeTableCellDown',_0x5262('0x1e')]){const _0x3e38fd=_0xef08b8[_0x5262('0x45')][_0x5262('0xc')](_0x447a48);_0x26d285[_0x5262('0x3e')](_0x447a48,()=>{const _0x196173=_0xef08b8['model'][_0x5262('0x16')][_0x5262('0x0')][_0x5262('0x1d')]()[_0x5262('0x1f')]()[_0x5262('0xa')](_0x435b9=>_0x435b9['is']('element','tableCell')),_0x45092d=_0x3e38fd[_0x5262('0x2c')];_0xef08b8[_0x5262('0x9')][_0x5262('0x3c')](()=>{_0x26d285[_0x5262('0x1')]([_0x196173,_0x45092d],{'commandName':'mergeTableCells','commandParams':[]},[],_0x5262('0x31'));});});}for(const _0x5eea5b of[_0x5262('0x36'),_0x5262('0x10')]){const _0x36908b=_0xef08b8[_0x5262('0x45')][_0x5262('0xc')](_0x5eea5b);_0x26d285['enableCommand'](_0x5eea5b,()=>{const _0x350d9d=_0x586d2d[_0x5262('0x3d')](_0xef08b8['model'][_0x5262('0x16')][_0x5262('0x0')])[0x0],_0x9a42c=_0x350d9d[_0x5262('0x24')](_0x5262('0x3a')),{column:_0x5d56b2,row:_0xf16faf}=_0x586d2d['getCellLocation'](_0x350d9d);let _0x32cbeb=[];if(_0x5262('0x20')==_0x36908b[_0x5262('0x25')]){const _0x5c4f2f=_0x586d2d[_0x5262('0x2d')](_0x9a42c,{'startRow':_0xf16faf,'endRow':_0xf16faf,'includeAllSlots':!0x0});_0x32cbeb=Array[_0x5262('0x47')](_0x5c4f2f)[_0x5262('0x5')](_0x231ae9=>_0x231ae9['cell']);}else{const _0x3fc399=_0x586d2d[_0x5262('0x2d')](_0x9a42c,{'column':_0x5d56b2,'includeAllSlots':!0x0});_0x32cbeb=Array[_0x5262('0x47')](_0x3fc399)[_0x5262('0x5')](_0x316113=>_0x316113['cell']);}_0xef08b8['model'][_0x5262('0x3c')](_0x39ae15=>{_0x26d285[_0x5262('0x34')](_0x39ae15[_0x5262('0x15')](_0x350d9d),{'commandName':_0x5eea5b,'commandParams':[]},_0x32cbeb,_0x5eea5b);});});}_0x26d285['_descriptionFactory'][_0x5262('0x17')](_0x20284e=>{const {data:_0xc67ede}=_0x20284e;if(_0xc67ede)return _0x5262('0x31')==_0xc67ede[_0x5262('0x23')]?{'type':'format','content':_0x326290(_0x59377d,'*Merge\x20cells*')}:void 0x0;}),_0x26d285[_0x5262('0x46')][_0x5262('0x17')](_0x4e7ed8=>{const {data:_0x9a5e58}=_0x4e7ed8;if(_0x9a5e58)return _0x5262('0x36')==_0x9a5e58[_0x5262('0x23')]?{'type':_0x5262('0x2b'),'content':_0x326290(_0x59377d,_0x5262('0x28'))}:_0x5262('0x10')==_0x9a5e58[_0x5262('0x23')]?{'type':_0x5262('0x2b'),'content':_0x326290(_0x59377d,'*Split\x20cell:*\x20horizontally')}:void 0x0;});const _0xdac95=_0x1e9f58['_acceptFormatSuggestionCallbackFactory']();for(const _0x4b1ee0 of['mergeTableCellUp',_0x5262('0x2f'),'mergeTableCellDown',_0x5262('0x1e')])_0x26d285[_0x5262('0x38')][_0x5262('0x40')]('formatBlock',_0x4b1ee0,_0x5262('0x11'),_0xdac95);for(const _0x101c24 of['splitTableCellVertically',_0x5262('0x10')])_0x26d285[_0x5262('0x38')][_0x5262('0x40')](_0x5262('0x3b'),_0x101c24,_0x5262('0x11'),_0xdac95);_0x26d285[_0x5262('0x38')][_0x5262('0x40')](_0x5262('0x3b'),_0x5262('0x31'),_0x5262('0x11'),_0x5c3d1b=>{_0xef08b8[_0x5262('0x9')][_0x5262('0x3c')](_0x3ab062=>{const _0x2fc871=Array['from'](_0xedb00e[_0x5262('0x1c')]())[_0x5262('0x5')](_0x3cb82f=>_0x4556bd[_0x5262('0x41')](_0x3cb82f));_0x3ab062[_0x5262('0x32')](_0x5c3d1b),_0xef08b8[_0x5262('0x45')]['get'](_0x5262('0x31'))[_0x5262('0x7')](),_0xef08b8[_0x5262('0x8')]('mergeTableCells',{'forceDefaultExecution':!0x0});const _0x69c064=_0x2fc871[_0x5262('0x14')](_0x4b33b5=>'$graveyard'!=_0x4b33b5[_0x5262('0x27')][_0x5262('0x6')]);_0x69c064[_0x5262('0x48')]>0x0&&_0x3ab062[_0x5262('0x32')](_0x69c064);for(const _0x29556a of _0x2fc871)_0x29556a[_0x5262('0x12')]();});});for(const _0x4946ab of[_0x5262('0xf'),_0x5262('0xd'),_0x5262('0x1e'),_0x5262('0x2f')]){const _0x2c5881=_0xef08b8[_0x5262('0x45')][_0x5262('0xc')](_0x4946ab);_0x2c5881['on']('set:isEnabled',(_0x21d76b,_0x9b8416,_0x2163da)=>{if(_0x2163da){const _0x616e21=_0xef08b8['model']['document'][_0x5262('0x0')][_0x5262('0x1d')]()[_0x5262('0x1f')]()['find'](_0x1da7ff=>_0x1da7ff['is']('element','tableCell'));this['_areMergableCells'](_0x2c5881[_0x5262('0x2c')],_0x616e21)||(_0x21d76b['return']=!0x1,_0x21d76b[_0x5262('0x3')]());}},{'priority':_0x5262('0x39')});}}[_0x5262('0xb')](){const _0xc15cdd=this['editor'][_0x5262('0x45')][_0x5262('0xc')](_0x5262('0x31')),_0x5e517d=this[_0x5262('0x33')]['plugins']['get'](_0x5262('0xe'));if(!_0xc15cdd[_0x5262('0x1a')])return!0x1;const _0x3f7716=_0x5e517d[_0x5262('0x3d')](this[_0x5262('0x33')][_0x5262('0x9')][_0x5262('0x16')]['selection']);for(const _0x41034c of _0x3f7716)for(const _0x186d2b of _0x3f7716)if(_0x41034c!=_0x186d2b&&!this[_0x5262('0x49')](_0x41034c,_0x186d2b))return!0x1;return!0x0;}[_0x5262('0x49')](_0x52fa58,_0x4cada8){const _0x3c61ac=this[_0x5262('0x33')][_0x5262('0x42')]['get'](_0x5262('0x43')),_0x4641f6=this['editor']['model'][_0x5262('0x15')](_0x52fa58),_0x2ddf20=this[_0x5262('0x33')][_0x5262('0x9')][_0x5262('0x15')](_0x4cada8),_0x5156e4=new Set(),_0x107fc1=new Set();for(const _0x353d48 of _0x3c61ac['getSuggestions']())if((_0x5262('0x19')==_0x353d48[_0x5262('0x21')]||_0x5262('0x13')==_0x353d48[_0x5262('0x21')]||'mergeTableCells'==_0x353d48['subType'])&&_0x353d48['isInContent'])for(const _0x4a715e of _0x353d48[_0x5262('0x1c')]())_0x4a715e[_0x5262('0x29')](_0x4641f6,!0x0)&&_0x5156e4['add'](_0x353d48[_0x5262('0x21')]+':'+_0x353d48[_0x5262('0x2')]['id']),_0x4a715e[_0x5262('0x29')](_0x2ddf20,!0x0)&&_0x107fc1[_0x5262('0x37')](_0x353d48[_0x5262('0x21')]+':'+_0x353d48[_0x5262('0x2')]['id']);if(_0x5156e4['size']!=_0x107fc1[_0x5262('0x1b')])return!0x1;for(const _0x5c4e4d of _0x5156e4)if(!_0x107fc1['has'](_0x5c4e4d))return!0x1;return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2e45=['plugins','insertTableOfContents','editor','get','TrackChangesEditing','enableCommand','ELEMENT_TABLE_OF_CONTENTS','locale','tableOfContents','afterInit','registerElementLabel','commands'];(function(_0xf3e7ec,_0x2e4518){const _0xe9eab7=function(_0x5db4d3){while(--_0x5db4d3){_0xf3e7ec['push'](_0xf3e7ec['shift']());}};_0xe9eab7(++_0x2e4518);}(_0x2e45,0xa4));const _0xe9ea=function(_0xf3e7ec,_0x2e4518){_0xf3e7ec=_0xf3e7ec-0x0;let _0xe9eab7=_0x2e45[_0xf3e7ec];return _0xe9eab7;};import{Plugin as _0x26a5aa}from'ckeditor5/src/core';import{getTranslation as _0x2ed183}from'../utils/common-translations';export default class St extends _0x26a5aa{[_0xe9ea('0x1')](){const _0x543a81=this[_0xe9ea('0x6')];if(!_0x543a81[_0xe9ea('0x3')][_0xe9ea('0x7')](_0xe9ea('0x5')))return;_0x543a81[_0xe9ea('0x4')][_0xe9ea('0x7')]('TrackChangesEditing')[_0xe9ea('0x9')](_0xe9ea('0x5'));const _0x207c87=_0x543a81[_0xe9ea('0x4')][_0xe9ea('0x7')](_0xe9ea('0x8')),_0x14e761=_0x543a81[_0xe9ea('0xb')];_0x207c87['_descriptionFactory'][_0xe9ea('0x2')](_0xe9ea('0x0'),_0x4426c8=>_0x2ed183(_0x14e761,_0xe9ea('0xa'),_0x4426c8));}}
23
+ const _0x4f90=['TrackChangesEditing','locale','get','plugins','insertTableOfContents','_descriptionFactory','enableCommand','tableOfContents','ELEMENT_TABLE_OF_CONTENTS'];(function(_0x1077ee,_0x4f9036){const _0x33f746=function(_0xa09bb8){while(--_0xa09bb8){_0x1077ee['push'](_0x1077ee['shift']());}};_0x33f746(++_0x4f9036);}(_0x4f90,0xa9));const _0x33f7=function(_0x1077ee,_0x4f9036){_0x1077ee=_0x1077ee-0x0;let _0x33f746=_0x4f90[_0x1077ee];return _0x33f746;};import{Plugin as _0x4d1c5b}from'ckeditor5/src/core';import{getTranslation as _0x32cc8d}from'../utils/common-translations';export default class St extends _0x4d1c5b{['afterInit'](){const _0x423f9d=this['editor'];if(!_0x423f9d['commands'][_0x33f7('0x4')](_0x33f7('0x6')))return;_0x423f9d[_0x33f7('0x5')][_0x33f7('0x4')]('TrackChangesEditing')[_0x33f7('0x8')](_0x33f7('0x6'));const _0x42b566=_0x423f9d[_0x33f7('0x5')][_0x33f7('0x4')](_0x33f7('0x2')),_0x432764=_0x423f9d[_0x33f7('0x3')];_0x42b566[_0x33f7('0x7')]['registerElementLabel'](_0x33f7('0x0'),_0x64384d=>_0x32cc8d(_0x432764,_0x33f7('0x1'),_0x64384d));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5859=['tableBorderStyle','TrackChangesEditing','has','tableBorderWidth','removeAttribute','tableCellBorderWidth','TablePropertiesEditing','tableCellWidth','join','tableWidth','plugins','getAttribute','enableCommand','handleSuggestionDescription','tableCellBackgroundColor','table','_handlePropertyChange','TrackChangesTableProperties','getSelectionAffectedTableCells','tableCellProperties','registerDescriptionCallback','document','tableProperties','locale','tableCellHeight','TableUtils','get','discard','registerCustomCallback','markBlockFormat','_suggestionFactory','getSuggestions','tableCellBorderStyle','formatBlock','accept','tableCellHorizontalAlignment','change','tableHeight','editor','tableBackgroundColor','afterInit','selection','TableCellPropertiesEditing','model','_getSuggestion','*Format:*\x20change\x20table\x20properties','handleDiscardAction','setAttribute','findAncestor','batch','tableBorderColor','getSuggestionCallback'];(function(_0x32fbc7,_0x5859d5){const _0x4ee970=function(_0x43d265){while(--_0x43d265){_0x32fbc7['push'](_0x32fbc7['shift']());}};_0x4ee970(++_0x5859d5);}(_0x5859,0x13a));const _0x4ee9=function(_0x32fbc7,_0x5859d5){_0x32fbc7=_0x32fbc7-0x0;let _0x4ee970=_0x5859[_0x32fbc7];return _0x4ee970;};import{Plugin as _0x2e7dcb}from'ckeditor5/src/core';import{getTranslation as _0x310da2}from'../utils/common-translations';export default class Dt extends _0x2e7dcb{constructor(_0x10447e){super(_0x10447e),this[_0x4ee9('0x14')]=[_0x4ee9('0x30'),_0x4ee9('0x32'),_0x4ee9('0x1'),'tableAlignment',_0x4ee9('0x7'),_0x4ee9('0x23'),_0x4ee9('0x25')],this['tableCellProperties']=['tableCellBorderColor',_0x4ee9('0x1e'),_0x4ee9('0x3'),'tableCellPadding',_0x4ee9('0x5'),_0x4ee9('0x16'),_0x4ee9('0xc'),_0x4ee9('0x21'),'tableCellVerticalAlignment'];}static get['pluginName'](){return _0x4ee9('0xf');}[_0x4ee9('0x26')](){const _0x2d5d28=this[_0x4ee9('0x24')][_0x4ee9('0x8')]['get']('TrackChangesEditing');if(this['editor'][_0x4ee9('0x8')][_0x4ee9('0x0')](_0x4ee9('0x4'))){for(const _0xcc0e98 of this[_0x4ee9('0x14')])_0x2d5d28[_0x4ee9('0xa')](_0xcc0e98,(_0x2ce63d,_0x39a679)=>{const _0x147e4c=this[_0x4ee9('0x24')]['model'][_0x4ee9('0x13')]['selection']['getFirstPosition']()[_0x4ee9('0x2e')](_0x4ee9('0xd'));this[_0x4ee9('0xe')](_0xcc0e98,[_0x147e4c],this[_0x4ee9('0x14')],'tableProperties',_0x2ce63d,_0x39a679);});_0x2d5d28[_0x4ee9('0x1c')][_0x4ee9('0x1a')](_0x4ee9('0x1f'),_0x4ee9('0x14'),_0x4ee9('0x20'),_0x2d5d28['_suggestionFactory'][_0x4ee9('0x31')](_0x4ee9('0x1f'),null,_0x4ee9('0x19'))),_0x2d5d28['_suggestionFactory'][_0x4ee9('0x1a')](_0x4ee9('0x1f'),_0x4ee9('0x14'),_0x4ee9('0x19'),(_0x202e1d,_0x53d0c7)=>this[_0x4ee9('0x2c')](this['tableProperties'],_0x202e1d,_0x53d0c7)),_0x2d5d28[_0x4ee9('0x1c')][_0x4ee9('0x1a')]('formatBlock',_0x4ee9('0x14'),_0x4ee9('0x6'),()=>!0x1);}if(this[_0x4ee9('0x24')][_0x4ee9('0x8')]['has'](_0x4ee9('0x28'))){for(const _0x2e8c98 of this[_0x4ee9('0x11')])_0x2d5d28[_0x4ee9('0xa')](_0x2e8c98,(_0x1a78b1,_0x3e81dc)=>{const _0x51a823=this[_0x4ee9('0x24')]['plugins'][_0x4ee9('0x18')](_0x4ee9('0x17'))[_0x4ee9('0x10')](this[_0x4ee9('0x24')]['model']['document'][_0x4ee9('0x27')]);this[_0x4ee9('0xe')](_0x2e8c98,_0x51a823,this['tableCellProperties'],_0x4ee9('0x11'),_0x1a78b1,_0x3e81dc);});_0x2d5d28[_0x4ee9('0x1c')][_0x4ee9('0x1a')](_0x4ee9('0x1f'),_0x4ee9('0x11'),_0x4ee9('0x20'),_0x2d5d28['_suggestionFactory'][_0x4ee9('0x31')](_0x4ee9('0x1f'),null,_0x4ee9('0x19'))),_0x2d5d28[_0x4ee9('0x1c')][_0x4ee9('0x1a')](_0x4ee9('0x1f'),_0x4ee9('0x11'),_0x4ee9('0x19'),(_0x4c4f99,_0xc1ade3)=>this[_0x4ee9('0x2c')](this[_0x4ee9('0x11')],_0x4c4f99,_0xc1ade3)),_0x2d5d28['_suggestionFactory'][_0x4ee9('0x1a')](_0x4ee9('0x1f'),'tableCellProperties',_0x4ee9('0x6'),()=>!0x1);}_0x2d5d28['_descriptionFactory'][_0x4ee9('0x12')](_0x2c41a6=>this[_0x4ee9('0xb')](_0x2c41a6));}[_0x4ee9('0xe')](_0x13688c,_0x2a9687,_0x10cd7c,_0x3b41d1,_0x2dbd1c,_0x5807fa){const _0xbbd2fe=this[_0x4ee9('0x24')][_0x4ee9('0x8')][_0x4ee9('0x18')](_0x4ee9('0x33'));this[_0x4ee9('0x24')][_0x4ee9('0x29')]['enqueueChange'](_0x5807fa[_0x4ee9('0x2f')],()=>{for(const _0x28b4cc of _0x2a9687){if(this['_getSuggestion'](_0x28b4cc,_0x3b41d1))_0x2dbd1c(_0x5807fa);else{const _0xb998c5={};for(const _0x4b600a of _0x10cd7c){const _0xd76a00=_0x28b4cc[_0x4ee9('0x9')](_0x4b600a);void 0x0!==_0xd76a00&&(_0xb998c5[_0x4b600a]=_0xd76a00);}_0x2dbd1c(_0x5807fa),_0xbbd2fe[_0x4ee9('0x1b')](_0x28b4cc,{'commandParams':[_0xb998c5]},[],_0x3b41d1);}}});}['handleDiscardAction'](_0x2037cb,_0x495cde,_0x6da82a){const _0x433fdb=_0x495cde[0x0]['start']['nodeAfter'],_0x466432=_0x6da82a['commandParams'][0x0];this[_0x4ee9('0x24')][_0x4ee9('0x29')][_0x4ee9('0x22')](_0x2920a3=>{for(const _0x47e166 of _0x2037cb)void 0x0!==_0x466432[_0x47e166]?_0x2920a3[_0x4ee9('0x2d')](_0x47e166,_0x466432[_0x47e166],_0x433fdb):_0x2920a3[_0x4ee9('0x2')](_0x47e166,_0x433fdb);});}[_0x4ee9('0xb')](_0x1e6efc){if(_0x1e6efc['data'])switch(_0x1e6efc['subType']){case _0x4ee9('0x14'):return{'type':'format','content':_0x310da2(this[_0x4ee9('0x24')][_0x4ee9('0x15')],_0x4ee9('0x2b'))};case _0x4ee9('0x11'):return{'type':'format','content':_0x310da2(this[_0x4ee9('0x24')][_0x4ee9('0x15')],'*Format:*\x20change\x20table\x20cell\x20properties')};}}[_0x4ee9('0x2a')](_0x5d3f42,_0x1a3e69){const _0x352ef4=this[_0x4ee9('0x24')][_0x4ee9('0x8')]['get'](_0x4ee9('0x33'));for(const _0x51117f of _0x352ef4[_0x4ee9('0x1d')]({'skipNotAttached':!0x0})){const _0x4a8a06=_0x51117f['getContainedElement']();if(_0x51117f['subType']===_0x1a3e69&&_0x4a8a06===_0x5d3f42)return _0x51117f;}return null;}}
23
+ const _0x1e69=['TrackChangesEditing','selection','data','TrackChangesTableProperties','tableBorderColor','has','_suggestionFactory','tableAlignment','join','tableCellProperties','enqueueChange','discard','setAttribute','table','change','get','removeAttribute','getSuggestionCallback','*Format:*\x20change\x20table\x20cell\x20properties','registerCustomCallback','nodeAfter','tableCellWidth','editor','TablePropertiesEditing','tableCellBorderColor','start','tableProperties','handleSuggestionDescription','tableCellHeight','TableUtils','tableWidth','tableBackgroundColor','_getSuggestion','handleDiscardAction','tableBorderWidth','getSuggestions','format','commandParams','model','plugins','TableCellPropertiesEditing','findAncestor','tableCellPadding','markBlockFormat','tableCellHorizontalAlignment','getSelectionAffectedTableCells','_handlePropertyChange','tableCellBackgroundColor','formatBlock','accept','document','tableCellBorderStyle','subType','_descriptionFactory','tableCellVerticalAlignment','locale','getAttribute'];(function(_0x48632c,_0x1e690a){const _0x59c9dc=function(_0xe335d8){while(--_0xe335d8){_0x48632c['push'](_0x48632c['shift']());}};_0x59c9dc(++_0x1e690a);}(_0x1e69,0x194));const _0x59c9=function(_0x48632c,_0x1e690a){_0x48632c=_0x48632c-0x0;let _0x59c9dc=_0x1e69[_0x48632c];return _0x59c9dc;};import{Plugin as _0x1b37a3}from'ckeditor5/src/core';import{getTranslation as _0x8793b9}from'../utils/common-translations';export default class Dt extends _0x1b37a3{constructor(_0x50df2d){super(_0x50df2d),this['tableProperties']=[_0x59c9('0x38'),'tableBorderStyle',_0x59c9('0x1d'),_0x59c9('0x2'),_0x59c9('0x19'),'tableHeight',_0x59c9('0x1a')],this['tableCellProperties']=[_0x59c9('0x13'),_0x59c9('0x2e'),'tableCellBorderWidth',_0x59c9('0x25'),_0x59c9('0x10'),_0x59c9('0x17'),_0x59c9('0x2a'),_0x59c9('0x27'),_0x59c9('0x31')];}static get['pluginName'](){return _0x59c9('0x37');}['afterInit'](){const _0x2316c5=this[_0x59c9('0x11')][_0x59c9('0x22')][_0x59c9('0xa')](_0x59c9('0x34'));if(this[_0x59c9('0x11')][_0x59c9('0x22')]['has'](_0x59c9('0x12'))){for(const _0x2a4362 of this[_0x59c9('0x15')])_0x2316c5['enableCommand'](_0x2a4362,(_0x45385d,_0xe7206b)=>{const _0x5d17c3=this[_0x59c9('0x11')]['model'][_0x59c9('0x2d')][_0x59c9('0x35')]['getFirstPosition']()[_0x59c9('0x24')](_0x59c9('0x8'));this[_0x59c9('0x29')](_0x2a4362,[_0x5d17c3],this['tableProperties'],_0x59c9('0x15'),_0x45385d,_0xe7206b);});_0x2316c5[_0x59c9('0x1')][_0x59c9('0xe')](_0x59c9('0x2b'),_0x59c9('0x15'),_0x59c9('0x2c'),_0x2316c5[_0x59c9('0x1')][_0x59c9('0xc')](_0x59c9('0x2b'),null,_0x59c9('0x6'))),_0x2316c5[_0x59c9('0x1')][_0x59c9('0xe')](_0x59c9('0x2b'),'tableProperties',_0x59c9('0x6'),(_0x5aac35,_0x4e55dc)=>this[_0x59c9('0x1c')](this[_0x59c9('0x15')],_0x5aac35,_0x4e55dc)),_0x2316c5[_0x59c9('0x1')][_0x59c9('0xe')](_0x59c9('0x2b'),_0x59c9('0x15'),_0x59c9('0x3'),()=>!0x1);}if(this[_0x59c9('0x11')]['plugins'][_0x59c9('0x0')](_0x59c9('0x23'))){for(const _0x268390 of this[_0x59c9('0x4')])_0x2316c5['enableCommand'](_0x268390,(_0x1e8e99,_0x351e94)=>{const _0x181e57=this[_0x59c9('0x11')]['plugins'][_0x59c9('0xa')](_0x59c9('0x18'))[_0x59c9('0x28')](this[_0x59c9('0x11')][_0x59c9('0x21')][_0x59c9('0x2d')][_0x59c9('0x35')]);this['_handlePropertyChange'](_0x268390,_0x181e57,this[_0x59c9('0x4')],'tableCellProperties',_0x1e8e99,_0x351e94);});_0x2316c5['_suggestionFactory']['registerCustomCallback'](_0x59c9('0x2b'),_0x59c9('0x4'),'accept',_0x2316c5[_0x59c9('0x1')][_0x59c9('0xc')]('formatBlock',null,_0x59c9('0x6'))),_0x2316c5['_suggestionFactory'][_0x59c9('0xe')](_0x59c9('0x2b'),_0x59c9('0x4'),_0x59c9('0x6'),(_0xa50ec8,_0x4d01cb)=>this['handleDiscardAction'](this[_0x59c9('0x4')],_0xa50ec8,_0x4d01cb)),_0x2316c5['_suggestionFactory']['registerCustomCallback'](_0x59c9('0x2b'),_0x59c9('0x4'),_0x59c9('0x3'),()=>!0x1);}_0x2316c5[_0x59c9('0x30')]['registerDescriptionCallback'](_0x311f71=>this[_0x59c9('0x16')](_0x311f71));}['_handlePropertyChange'](_0x3a561f,_0x52bc62,_0x415771,_0x43e104,_0x4a09a8,_0x25b6a4){const _0x229ee8=this[_0x59c9('0x11')][_0x59c9('0x22')][_0x59c9('0xa')]('TrackChangesEditing');this[_0x59c9('0x11')][_0x59c9('0x21')][_0x59c9('0x5')](_0x25b6a4['batch'],()=>{for(const _0x42dcd7 of _0x52bc62){if(this[_0x59c9('0x1b')](_0x42dcd7,_0x43e104))_0x4a09a8(_0x25b6a4);else{const _0x53ee1a={};for(const _0x2cfa49 of _0x415771){const _0x1c5d4e=_0x42dcd7[_0x59c9('0x33')](_0x2cfa49);void 0x0!==_0x1c5d4e&&(_0x53ee1a[_0x2cfa49]=_0x1c5d4e);}_0x4a09a8(_0x25b6a4),_0x229ee8[_0x59c9('0x26')](_0x42dcd7,{'commandParams':[_0x53ee1a]},[],_0x43e104);}}});}['handleDiscardAction'](_0x1dba71,_0xee6839,_0x5e1c6c){const _0x239d22=_0xee6839[0x0][_0x59c9('0x14')][_0x59c9('0xf')],_0x5994f9=_0x5e1c6c[_0x59c9('0x20')][0x0];this[_0x59c9('0x11')][_0x59c9('0x21')][_0x59c9('0x9')](_0x115d48=>{for(const _0x4f22e7 of _0x1dba71)void 0x0!==_0x5994f9[_0x4f22e7]?_0x115d48[_0x59c9('0x7')](_0x4f22e7,_0x5994f9[_0x4f22e7],_0x239d22):_0x115d48[_0x59c9('0xb')](_0x4f22e7,_0x239d22);});}[_0x59c9('0x16')](_0x1937c5){if(_0x1937c5[_0x59c9('0x36')])switch(_0x1937c5[_0x59c9('0x2f')]){case _0x59c9('0x15'):return{'type':_0x59c9('0x1f'),'content':_0x8793b9(this['editor'][_0x59c9('0x32')],'*Format:*\x20change\x20table\x20properties')};case _0x59c9('0x4'):return{'type':_0x59c9('0x1f'),'content':_0x8793b9(this[_0x59c9('0x11')][_0x59c9('0x32')],_0x59c9('0xd'))};}}['_getSuggestion'](_0x1987d9,_0x2086b6){const _0x240ee8=this[_0x59c9('0x11')][_0x59c9('0x22')][_0x59c9('0xa')](_0x59c9('0x34'));for(const _0x32f250 of _0x240ee8[_0x59c9('0x1e')]({'skipNotAttached':!0x0})){const _0x5d4668=_0x32f250['getContainedElement']();if(_0x32f250['subType']===_0x2086b6&&_0x5d4668===_0x1987d9)return _0x32f250;}return null;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3cf7=['afterInit','enableCommand','TrackChangesEditing','Template','insertTemplate','has','plugins'];(function(_0x7f179b,_0x3cf71b){const _0x259e2e=function(_0x57ab1f){while(--_0x57ab1f){_0x7f179b['push'](_0x7f179b['shift']());}};_0x259e2e(++_0x3cf71b);}(_0x3cf7,0x85));const _0x259e=function(_0x7f179b,_0x3cf71b){_0x7f179b=_0x7f179b-0x0;let _0x259e2e=_0x3cf7[_0x7f179b];return _0x259e2e;};import{Plugin as _0x7ac89d}from'ckeditor5/src/core';export default class bt extends _0x7ac89d{[_0x259e('0x0')](){const _0x52b9e2=this['editor'];_0x52b9e2[_0x259e('0x6')][_0x259e('0x5')](_0x259e('0x3'))&&_0x52b9e2[_0x259e('0x6')]['get'](_0x259e('0x2'))[_0x259e('0x1')](_0x259e('0x4'));}}
23
+ const _0x4f30=['TrackChangesEditing','get','has','insertTemplate','plugins','Template','afterInit','enableCommand','editor'];(function(_0x4f2e22,_0x4f3032){const _0x13ae95=function(_0x470116){while(--_0x470116){_0x4f2e22['push'](_0x4f2e22['shift']());}};_0x13ae95(++_0x4f3032);}(_0x4f30,0x1b0));const _0x13ae=function(_0x4f2e22,_0x4f3032){_0x4f2e22=_0x4f2e22-0x0;let _0x13ae95=_0x4f30[_0x4f2e22];return _0x13ae95;};import{Plugin as _0x3346f5}from'ckeditor5/src/core';export default class bt extends _0x3346f5{[_0x13ae('0x6')](){const _0x3fe4e3=this[_0x13ae('0x8')];_0x3fe4e3[_0x13ae('0x4')][_0x13ae('0x2')](_0x13ae('0x5'))&&_0x3fe4e3[_0x13ae('0x4')][_0x13ae('0x1')](_0x13ae('0x0'))[_0x13ae('0x7')](_0x13ae('0x3'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2182=['start','end','schema','plugins','has','get','registerPostFixer','locale','differ','Title','getNearestSelectionRange','title-content','suggestion','document','isCollapsed','newRange','TrackChangesEditing','_descriptionFactory','registerElementLabel','ELEMENT_TITLE','updateMarker','removeMarker','getChangedMarkers','nodeBefore','model','forward','createRange','_splitMarkerName','afterInit'];(function(_0x29a562,_0x218245){const _0x2273fb=function(_0x399c4d){while(--_0x399c4d){_0x29a562['push'](_0x29a562['shift']());}};_0x2273fb(++_0x218245);}(_0x2182,0x113));const _0x2273=function(_0x29a562,_0x218245){_0x29a562=_0x29a562-0x0;let _0x2273fb=_0x2182[_0x29a562];return _0x2273fb;};import{Plugin as _0x3bf6f6}from'ckeditor5/src/core';import{getTranslation as _0xc61843}from'../utils/common-translations';export default class It extends _0x3bf6f6{[_0x2273('0xe')](){const _0x6c232e=this['editor'];if(!_0x6c232e['plugins'][_0x2273('0x13')](_0x2273('0x18')))return;const _0x427978=_0x6c232e[_0x2273('0x12')][_0x2273('0x14')](_0x2273('0x2'));_0x427978[_0x2273('0x3')][_0x2273('0x4')](_0x2273('0x1a'),()=>_0xc61843(_0x6c232e[_0x2273('0x16')],_0x2273('0x5'))),_0x6c232e['model'][_0x2273('0x1c')][_0x2273('0x15')](_0x27b7ce=>{let _0x4fb2ca=!0x1;const _0x2ba838=Array['from'](_0x6c232e[_0x2273('0xa')][_0x2273('0x1c')][_0x2273('0x17')][_0x2273('0x8')]());for(const {name:_0x46af55,data:_0x4a4f70}of _0x2ba838){const {group:_0x2c96d0}=_0x427978[_0x2273('0xd')](_0x46af55);if(_0x2273('0x1b')!==_0x2c96d0||!_0x4a4f70[_0x2273('0x1')])continue;const _0x40d90c=_0x4a4f70['newRange'],_0xa9580b=_0x40d90c[_0x2273('0x10')][_0x2273('0x9')];if(!_0xa9580b||!_0xa9580b['is']('element',_0x2273('0x1a')))continue;if(!_0x40d90c[_0x2273('0xf')]['isTouching'](_0x40d90c[_0x2273('0x10')]))continue;const _0x43c0ac=_0x6c232e['model'][_0x2273('0x11')][_0x2273('0x19')](_0x40d90c['end'],_0x2273('0xb'));if(_0x43c0ac&&_0x43c0ac[_0x2273('0x0')]){const _0xc152cb=_0x27b7ce[_0x2273('0xc')](_0x40d90c[_0x2273('0xf')],_0x43c0ac['start']);_0xc152cb['isEqual'](_0x40d90c)||(_0x27b7ce[_0x2273('0x6')](_0x46af55,{'range':_0xc152cb}),_0x4fb2ca=!0x0);}_0x4fb2ca||(_0x27b7ce[_0x2273('0x7')](_0x46af55),_0x4fb2ca=!0x0);}return _0x4fb2ca;});}}
23
+ const _0x4ffb=['_descriptionFactory','model','afterInit','start','document','plugins','forward','locale','newRange','updateMarker','ELEMENT_TITLE','_splitMarkerName','nodeBefore','schema','end','title-content','element','from','isCollapsed','isTouching','get','getNearestSelectionRange','differ','getChangedMarkers','TrackChangesEditing'];(function(_0x49df44,_0x4ffb0d){const _0x3eac0c=function(_0x4c99d6){while(--_0x4c99d6){_0x49df44['push'](_0x49df44['shift']());}};_0x3eac0c(++_0x4ffb0d);}(_0x4ffb,0x19a));const _0x3eac=function(_0x49df44,_0x4ffb0d){_0x49df44=_0x49df44-0x0;let _0x3eac0c=_0x4ffb[_0x49df44];return _0x3eac0c;};import{Plugin as _0x5d772b}from'ckeditor5/src/core';import{getTranslation as _0x40e8a4}from'../utils/common-translations';export default class It extends _0x5d772b{[_0x3eac('0x11')](){const _0xad953c=this['editor'];if(!_0xad953c[_0x3eac('0x14')]['has']('Title'))return;const _0x1d2927=_0xad953c['plugins'][_0x3eac('0xa')](_0x3eac('0xe'));_0x1d2927[_0x3eac('0xf')]['registerElementLabel'](_0x3eac('0x5'),()=>_0x40e8a4(_0xad953c[_0x3eac('0x16')],_0x3eac('0x0'))),_0xad953c[_0x3eac('0x10')][_0x3eac('0x13')]['registerPostFixer'](_0x4d2d16=>{let _0x4324ad=!0x1;const _0xca72ee=Array[_0x3eac('0x7')](_0xad953c['model']['document'][_0x3eac('0xc')][_0x3eac('0xd')]());for(const {name:_0x2b99e5,data:_0xaa9482}of _0xca72ee){const {group:_0x178268}=_0x1d2927[_0x3eac('0x1')](_0x2b99e5);if('suggestion'!==_0x178268||!_0xaa9482[_0x3eac('0x17')])continue;const _0x61c49b=_0xaa9482[_0x3eac('0x17')],_0x38d605=_0x61c49b['end'][_0x3eac('0x2')];if(!_0x38d605||!_0x38d605['is'](_0x3eac('0x6'),_0x3eac('0x5')))continue;if(!_0x61c49b[_0x3eac('0x12')][_0x3eac('0x9')](_0x61c49b[_0x3eac('0x4')]))continue;const _0x3dfd22=_0xad953c['model'][_0x3eac('0x3')][_0x3eac('0xb')](_0x61c49b[_0x3eac('0x4')],_0x3eac('0x15'));if(_0x3dfd22&&_0x3dfd22[_0x3eac('0x8')]){const _0x3cd039=_0x4d2d16['createRange'](_0x61c49b[_0x3eac('0x12')],_0x3dfd22[_0x3eac('0x12')]);_0x3cd039['isEqual'](_0x61c49b)||(_0x4d2d16[_0x3eac('0x18')](_0x2b99e5,{'range':_0x3cd039}),_0x4324ad=!0x0);}_0x4324ad||(_0x4d2d16['removeMarker'](_0x2b99e5),_0x4324ad=!0x0);}return _0x4324ad;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4d27=['afterInit','TrackChangesEditing','enableCommand','undo','has','redo','UndoEditing','editor','plugins'];(function(_0x18c8d8,_0x4d27fe){const _0x4686be=function(_0x196988){while(--_0x196988){_0x18c8d8['push'](_0x18c8d8['shift']());}};_0x4686be(++_0x4d27fe);}(_0x4d27,0xcc));const _0x4686=function(_0x18c8d8,_0x4d27fe){_0x18c8d8=_0x18c8d8-0x0;let _0x4686be=_0x4d27[_0x18c8d8];return _0x4686be;};import{Plugin as _0xc0e8ae}from'ckeditor5/src/core';export default class vt extends _0xc0e8ae{[_0x4686('0x3')](){const _0x7ece95=this[_0x4686('0x1')],_0x262408=_0x7ece95[_0x4686('0x2')]['get'](_0x4686('0x4'));_0x7ece95[_0x4686('0x2')][_0x4686('0x7')](_0x4686('0x0'))&&(_0x262408[_0x4686('0x5')](_0x4686('0x6')),_0x262408[_0x4686('0x5')](_0x4686('0x8')));}}
23
+ const _0x3cbb=['plugins','get','redo','undo','enableCommand'];(function(_0xe96590,_0x3cbbde){const _0x517d85=function(_0x30493c){while(--_0x30493c){_0xe96590['push'](_0xe96590['shift']());}};_0x517d85(++_0x3cbbde);}(_0x3cbb,0xa1));const _0x517d=function(_0xe96590,_0x3cbbde){_0xe96590=_0xe96590-0x0;let _0x517d85=_0x3cbb[_0xe96590];return _0x517d85;};import{Plugin as _0x34defb}from'ckeditor5/src/core';export default class vt extends _0x34defb{['afterInit'](){const _0x563edb=this['editor'],_0x460280=_0x563edb[_0x517d('0x4')][_0x517d('0x0')]('TrackChangesEditing');_0x563edb[_0x517d('0x4')]['has']('UndoEditing')&&(_0x460280[_0x517d('0x3')](_0x517d('0x2')),_0x460280[_0x517d('0x3')](_0x517d('0x1')));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4b01=['hasAttribute','listItem','name','writer','element','get','type','nextSibling','consumable','test','schema','addHighlight','push','elementEnd','markerRange','mapper','getAttribute','model','listIndent','ck-suggestion-marker-','addClass','item','activeMarkers','previousPosition','parent','isContent','createUIElement','start','markerName','createRangeOn','isLimit','getCustomProperty'];(function(_0x1173ca,_0x4b01f4){const _0x4a097e=function(_0x50618a){while(--_0x50618a){_0x1173ca['push'](_0x1173ca['shift']());}};_0x4a097e(++_0x4b01f4);}(_0x4b01,0xad));const _0x4a09=function(_0x1173ca,_0x4b01f4){_0x1173ca=_0x1173ca-0x0;let _0x4a097e=_0x4b01[_0x1173ca];return _0x4a097e;};export function getRangesWithAttribute(_0x3ff13c,_0x596362,_0x2b4f85){const _0x29c462=[];for(const _0x2c948e of _0x596362['getItems']())_0x2c948e[_0x4a09('0x13')](_0x3ff13c)&&_0x29c462['push'](_0x2b4f85[_0x4a09('0x10')](_0x2c948e));return _0x29c462;}export function getElementsAffectedByListItemRename(_0x8f192d){const _0x38363b=[];if(_0x8f192d['is'](_0x4a09('0x17'),_0x4a09('0x14'))){let _0x2607c9=_0x8f192d[_0x4a09('0x1a')];for(;_0x2607c9&&_0x2607c9['is'](_0x4a09('0x17'),_0x4a09('0x14'))&&_0x2607c9[_0x4a09('0x3')](_0x4a09('0x5'))>0x0;)_0x38363b[_0x4a09('0x1f')](_0x2607c9),_0x2607c9=_0x2607c9[_0x4a09('0x1a')];}return _0x38363b;}export function downcastSplitMergeMarker(_0x3fc186,_0x1fb8cd,{showActiveMarker:_0x182a27=!0x0}={}){const _0x34d2ae=_0x3fc186['plugins'][_0x4a09('0x18')]('TrackChangesEditing');return(_0x1020ed,_0x214dcd,_0x2ac054)=>{if(!_0x2ac054[_0x4a09('0x1b')][_0x4a09('0x1c')](_0x214dcd[_0x4a09('0x1')],_0x1020ed[_0x4a09('0x15')]))return;const _0x5d5596=_0x214dcd['markerRange']['getWalker'](),_0x4c604a=_0x214dcd['markerRange'][_0x4a09('0xe')],_0x26b70c=_0x3fc186[_0x4a09('0x4')][_0x4a09('0x1d')];let _0x3097ce=null,_0x28a1de=null,_0x28a3a7=!0x1,_0x4315ab=!0x1;for(const _0x4f8ec8 of _0x5d5596){const _0x41fc85=_0x4f8ec8[_0x4a09('0x8')];_0x28a3a7=_0x28a3a7||_0x26b70c[_0x4a09('0xc')](_0x41fc85);const _0xb15d73=_0x2ac054[_0x4a09('0x2')]['toViewElement'](_0x41fc85);if(_0xb15d73&&_0xb15d73[_0x4a09('0x12')](_0x4a09('0x1e')))return;_0x4a09('0x0')==_0x4f8ec8[_0x4a09('0x19')]&&(_0x26b70c['isBlock'](_0x41fc85)&&!_0x26b70c[_0x4a09('0x11')](_0x41fc85)&&(_0x41fc85['nextSibling']||_0x4c604a['isAtEnd']?_0x3097ce&&_0x3097ce[_0x4a09('0xb')]==_0x41fc85||(_0x3097ce=_0x41fc85,_0x3c4579(_0x4f8ec8[_0x4a09('0xa')]),_0x4315ab=!0x0):_0x28a1de=_0x28a1de||_0x4f8ec8[_0x4a09('0xa')]));}function _0x3c4579(_0x2c8042){const _0x1fabb4=_0x2ac054['writer'][_0x4a09('0xd')]('span',{'class':_0x4a09('0x6')+_0x1fb8cd}),_0x1761c5=_0x2ac054[_0x4a09('0x2')]['toViewPosition'](_0x2c8042);_0x182a27&&_0x34d2ae[_0x4a09('0x9')]['includes'](_0x214dcd[_0x4a09('0xf')])&&_0x2ac054[_0x4a09('0x16')][_0x4a09('0x7')]('ck-suggestion-marker--active',_0x1fabb4),_0x2ac054[_0x4a09('0x16')]['insert'](_0x1761c5,_0x1fabb4),_0x2ac054[_0x4a09('0x2')]['bindElementToMarker'](_0x1fabb4,_0x214dcd['markerName']);}_0x28a3a7||_0x4315ab||!_0x28a1de||_0x3c4579(_0x28a1de);};}
23
+ const _0x2514=['bindElementToMarker','listItem','push','elementEnd','isLimit','getItems','markerRange','parent','activeMarkers','get','model','plugins','addHighlight','markerName','isAtEnd','writer','isContent','schema','nextSibling','name','getCustomProperty','ck-suggestion-marker-','listIndent','item','addClass','toViewElement','isBlock','includes','consumable','start','previousPosition','insert','createUIElement','getWalker','type','test','getAttribute','mapper'];(function(_0x2c174d,_0x2514bc){const _0x481410=function(_0x805c25){while(--_0x805c25){_0x2c174d['push'](_0x2c174d['shift']());}};_0x481410(++_0x2514bc);}(_0x2514,0x11d));const _0x4814=function(_0x2c174d,_0x2514bc){_0x2c174d=_0x2c174d-0x0;let _0x481410=_0x2514[_0x2c174d];return _0x481410;};export function getRangesWithAttribute(_0x1529ff,_0x5f11ed,_0x1be026){const _0x227b0d=[];for(const _0x1fa558 of _0x5f11ed[_0x4814('0x18')]())_0x1fa558['hasAttribute'](_0x1529ff)&&_0x227b0d[_0x4814('0x15')](_0x1be026['createRangeOn'](_0x1fa558));return _0x227b0d;}export function getElementsAffectedByListItemRename(_0x494077){const _0x32f8a0=[];if(_0x494077['is']('element',_0x4814('0x14'))){let _0x59b7a8=_0x494077[_0x4814('0x25')];for(;_0x59b7a8&&_0x59b7a8['is']('element','listItem')&&_0x59b7a8[_0x4814('0x11')](_0x4814('0x3'))>0x0;)_0x32f8a0[_0x4814('0x15')](_0x59b7a8),_0x59b7a8=_0x59b7a8[_0x4814('0x25')];}return _0x32f8a0;}export function downcastSplitMergeMarker(_0x5e033a,_0x4a2771,{showActiveMarker:_0x790467=!0x0}={}){const _0x5288c5=_0x5e033a[_0x4814('0x1e')][_0x4814('0x1c')]('TrackChangesEditing');return(_0x464b20,_0x5dd7fa,_0x42ec76)=>{if(!_0x42ec76[_0x4814('0x9')][_0x4814('0x10')](_0x5dd7fa['markerRange'],_0x464b20[_0x4814('0x0')]))return;const _0x1ad3ee=_0x5dd7fa[_0x4814('0x19')][_0x4814('0xe')](),_0x4ed8a1=_0x5dd7fa[_0x4814('0x19')][_0x4814('0xa')],_0x505fda=_0x5e033a[_0x4814('0x1d')][_0x4814('0x24')];let _0x5ad2a8=null,_0x11d5ff=null,_0x2f5786=!0x1,_0x4efe5b=!0x1;for(const _0x24840c of _0x1ad3ee){const _0x2085ff=_0x24840c[_0x4814('0x4')];_0x2f5786=_0x2f5786||_0x505fda[_0x4814('0x23')](_0x2085ff);const _0x31c191=_0x42ec76[_0x4814('0x12')][_0x4814('0x6')](_0x2085ff);if(_0x31c191&&_0x31c191[_0x4814('0x1')](_0x4814('0x1f')))return;_0x4814('0x16')==_0x24840c[_0x4814('0xf')]&&(_0x505fda[_0x4814('0x7')](_0x2085ff)&&!_0x505fda[_0x4814('0x17')](_0x2085ff)&&(_0x2085ff[_0x4814('0x25')]||_0x4ed8a1[_0x4814('0x21')]?_0x5ad2a8&&_0x5ad2a8[_0x4814('0x1a')]==_0x2085ff||(_0x5ad2a8=_0x2085ff,_0x74d1ff(_0x24840c[_0x4814('0xb')]),_0x4efe5b=!0x0):_0x11d5ff=_0x11d5ff||_0x24840c['previousPosition']));}function _0x74d1ff(_0x462853){const _0x48cfbe=_0x42ec76['writer'][_0x4814('0xd')]('span',{'class':_0x4814('0x2')+_0x4a2771}),_0x535a54=_0x42ec76[_0x4814('0x12')]['toViewPosition'](_0x462853);_0x790467&&_0x5288c5[_0x4814('0x1b')][_0x4814('0x8')](_0x5dd7fa[_0x4814('0x20')])&&_0x42ec76['writer'][_0x4814('0x5')]('ck-suggestion-marker--active',_0x48cfbe),_0x42ec76[_0x4814('0x22')][_0x4814('0xc')](_0x535a54,_0x48cfbe),_0x42ec76[_0x4814('0x12')][_0x4814('0x13')](_0x48cfbe,_0x5dd7fa[_0x4814('0x20')]);}_0x2f5786||_0x4efe5b||!_0x11d5ff||_0x74d1ff(_0x11d5ff);};}