@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20230801.0 → 0.0.0-nightly-20230803.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (64) hide show
  1. package/build/track-changes.js +1 -1
  2. package/package.json +3 -3
  3. package/src/commands/acceptsuggestioncommand.js +1 -1
  4. package/src/commands/discardsuggestioncommand.js +1 -1
  5. package/src/commands/executeonallsuggestionscommand.js +1 -1
  6. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  7. package/src/commands/trackchangescommand.js +1 -1
  8. package/src/integrations/alignment.js +1 -1
  9. package/src/integrations/basicstyles.js +1 -1
  10. package/src/integrations/blockquote.js +1 -1
  11. package/src/integrations/ckbox.js +1 -1
  12. package/src/integrations/codeblock.js +1 -1
  13. package/src/integrations/comments.js +1 -1
  14. package/src/integrations/deletecommand.js +1 -1
  15. package/src/integrations/documentlist.js +1 -1
  16. package/src/integrations/documentlistproperties.js +1 -1
  17. package/src/integrations/entercommand.js +1 -1
  18. package/src/integrations/findandreplace.js +1 -1
  19. package/src/integrations/font.js +1 -1
  20. package/src/integrations/formatpainter.js +1 -1
  21. package/src/integrations/heading.js +1 -1
  22. package/src/integrations/highlight.js +1 -1
  23. package/src/integrations/horizontalline.js +1 -1
  24. package/src/integrations/htmlembed.js +1 -1
  25. package/src/integrations/image.js +1 -1
  26. package/src/integrations/imagereplace.js +1 -1
  27. package/src/integrations/importword.js +1 -1
  28. package/src/integrations/indent.js +1 -1
  29. package/src/integrations/inputcommand.js +1 -1
  30. package/src/integrations/link.js +1 -1
  31. package/src/integrations/list.js +1 -1
  32. package/src/integrations/listproperties.js +1 -1
  33. package/src/integrations/mediaembed.js +1 -1
  34. package/src/integrations/mention.js +1 -1
  35. package/src/integrations/pagebreak.js +1 -1
  36. package/src/integrations/paragraph.js +1 -1
  37. package/src/integrations/removeformat.js +1 -1
  38. package/src/integrations/restrictededitingmode.js +1 -1
  39. package/src/integrations/shiftentercommand.js +1 -1
  40. package/src/integrations/standardeditingmode.js +1 -1
  41. package/src/integrations/style.js +1 -1
  42. package/src/integrations/table.js +1 -1
  43. package/src/integrations/tablecaption.js +1 -1
  44. package/src/integrations/tableclipboard.js +1 -1
  45. package/src/integrations/tablecolumnresize.js +1 -1
  46. package/src/integrations/tableheadings.js +1 -1
  47. package/src/integrations/tablemergesplit.js +1 -1
  48. package/src/integrations/tableofcontents.js +1 -1
  49. package/src/integrations/tableproperties.js +1 -1
  50. package/src/integrations/template.js +1 -1
  51. package/src/integrations/title.js +1 -1
  52. package/src/integrations/undo.js +1 -1
  53. package/src/integrations/utils.js +1 -1
  54. package/src/suggestion.js +1 -1
  55. package/src/suggestiondescriptionfactory.js +1 -1
  56. package/src/trackchanges.js +1 -1
  57. package/src/trackchangesdata.js +1 -1
  58. package/src/trackchangesediting.js +1 -1
  59. package/src/trackchangesui.js +1 -1
  60. package/src/ui/suggestioncontroller.js +1 -1
  61. package/src/ui/view/basesuggestionthreadview.js +1 -1
  62. package/src/ui/view/suggestionthreadview.js +1 -1
  63. package/src/utils/common-translations.js +1 -1
  64. package/src/utils/utils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x9995=['_tablePostFixingSubtypes','redo','markMultiRangeDeletion','registerPostFixer','getSuggestion','getRowIndexes','discard','ck-suggestion-marker','getChangedMarkers','dataDowncast','getRanges','*Replace\x20table\x20cells*','Users','commands','removeMarkers','name','findAncestor','createRangeIn','fromEntries','push','return','accept','next','createElement','register','high','createTableWalker','has','suggestionLoaded','deletionRanges','TrackChangesEditing','suggestion-td','rows','suggestion:formatBlock:tablePasteCell','tableCellBorderColor','_suggestionFactory','previous','getColumns','setAttribute','stop','model','tableCellBorderWidth','editor','tableCellHorizontalAlignment','cells','getItems','registerDescriptionCallback','_descriptionFactory','low','createPositionBefore','schema','locale','set','markMultiRangeInsertion','paragraph','attributes','insertionRanges','updateMarker','tablePasteChainId','suggestion','listenTo','getRange','selection','every','tablePasteRow','remove','getAllAdjacentSuggestions','removeMarker','registerCustomCallback','insertRows','getMarkers','map','nextSibling','element','removeColumns','filter','markMultiRangeBlockFormat','tableCell','_getCoordsForCells','document','editingDowncast','from','wrap','createRange','oldRange','rowInsertionRanges','getAttributes','author','find','hasSuggestion','showSuggestionHighlights','join','first','createRangeOn','value','tableCellPadding','isEqual','columnInsertionIndexes','$graveyard','getShiftedBy','TableClipboard','nodeAfter','differ','change','rowInsertionIndexes','conversion','end','columns','plugins','editing','content','cell','entries','tableCellSuggestion','insertion','view','getSuggestions','getChildren','some','columnInsertionRanges','deletion','isEmpty','tablePasteColumn','start','getSelectionAffectedTableCells','tablePaste','insertColumns','markerName','ck-suggestion-marker--active','suggestionUnloaded','reduce','insertContent','unwrap','includes','isInContent','getChanges','newRange','endRow','forceDefaultExecution','markerToHighlight','getChild','table','last','fill','trackChanges','for','_splitMarkerName','column','tablePasteCell','subType','options','startsWith','length','formatBlock','get','add','type','previousSibling','position','insert','markerAttributes','elementToElement','getContainedElement'];(function(_0x50d235,_0x99951b){const _0x3523a6=function(_0xb17aa8){while(--_0xb17aa8){_0x50d235['push'](_0x50d235['shift']());}};_0x3523a6(++_0x99951b);}(_0x9995,0x1b7));const _0x3523=function(_0x50d235,_0x99951b){_0x50d235=_0x50d235-0x0;let _0x3523a6=_0x9995[_0x50d235];return _0x3523a6;};import{getTranslation as _0x151c95}from'../utils/common-translations';import{Plugin as _0x1e1302}from'ckeditor5/src/core';import{uid as _0x5d14ee,priorities as _0x42d7c0}from'ckeditor5/src/utils';import _0x2e6e3 from'./table';const le=[_0x3523('0x5b'),_0x3523('0x54'),'tableCellBorderStyle',_0x3523('0x5d'),'tableCellVerticalAlignment','tableCellBackgroundColor',_0x3523('0x91')],ae=Object[_0x3523('0x44')](le['map'](_0x39e0b4=>[_0x39e0b4,null]));export default class kt extends _0x1e1302{static get['requires'](){return[_0x2e6e3];}['afterInit'](){const _0x447c95=this[_0x3523('0x5c')];if(!_0x447c95[_0x3523('0x9e')][_0x3523('0x4d')]('TableClipboard'))return;const _0x4e6f84=_0x447c95[_0x3523('0x9e')]['get'](_0x3523('0x50')),_0x2080cb=_0x447c95[_0x3523('0x9e')][_0x3523('0x29')]('TableUtils'),_0x4cd0ab=_0x447c95[_0x3523('0x9e')][_0x3523('0x29')](_0x2e6e3),_0x31f914=_0x447c95[_0x3523('0x9e')][_0x3523('0x29')]('TableClipboard');_0x4cd0ab[_0x3523('0x32')][_0x3523('0x45')](_0x3523('0x72'),_0x3523('0x9')),_0x447c95['model'][_0x3523('0x64')][_0x3523('0x4a')]('tableCellSuggestion',{'allowIn':_0x3523('0x7f'),'allowContentOf':_0x3523('0x7f'),'isLimit':!0x0}),_0x447c95[_0x3523('0x9b')][_0x3523('0x30')]({'model':_0x3523('0x0'),'view':_0x3523('0x51')});let _0x491322=null;_0x447c95[_0x3523('0x5a')]['on'](_0x3523('0x12'),(_0x8156bc,_0x51fd4a)=>{const [_0x2d5e9e,_0x45686e]=_0x51fd4a,_0x1fe700=_0x51fd4a[_0x51fd4a[_0x3523('0x27')]-0x1];_0x1fe700&&_0x1fe700[_0x3523('0x19')]||_0x4e6f84['_isForcedDefaultExecutionBlock']||this[_0x3523('0x5c')][_0x3523('0x3f')][_0x3523('0x29')](_0x3523('0x1f'))[_0x3523('0x90')]&&function(_0x5c3dff,_0x5c93f6,_0x54edf6,_0x23c567,_0x564618){if(_0x5c93f6&&!_0x5c93f6['is']('documentSelection'))return!0x1;const _0x15d1cd=_0x564618['getTableIfOnlyTableInContent'](_0x5c3dff,_0x54edf6);if(!_0x15d1cd||!fe(_0x15d1cd,void 0x0,_0x23c567))return!0x1;const _0x439c15=_0x23c567[_0x3523('0xb')](_0x54edf6[_0x3523('0x81')][_0x3523('0x70')]);if(!_0x439c15['length'])return!0x1;const _0x3d739b=_0x439c15[0x0]['findAncestor']('table'),_0x163285=_0x23c567[_0x3523('0x37')](_0x439c15),_0x227c68=_0x23c567['getColumnIndexes'](_0x439c15),_0x1839f8={'startRow':_0x163285[_0x3523('0x8e')],'endRow':_0x163285[_0x3523('0x1d')],'startColumn':_0x227c68[_0x3523('0x8e')],'endColumn':_0x227c68['last']};return 0x1==_0x439c15['length']&&(_0x1839f8[_0x3523('0x18')]+=_0x23c567['getRows'](_0x15d1cd)-0x1,_0x1839f8['endColumn']+=_0x23c567[_0x3523('0x57')](_0x15d1cd)-0x1),fe(_0x3d739b,_0x1839f8,_0x23c567);}(_0x2d5e9e,_0x45686e,_0x447c95['model'],_0x2080cb,_0x31f914)&&(_0x8156bc[_0x3523('0x59')](),_0x491322={'cells':[],'insertionRanges':[],'deletionRanges':[],'rowInsertionRanges':[],'rowInsertionIndexes':[],'columnInsertionRanges':[],'columnInsertionIndexes':[]},_0x447c95[_0x3523('0x5a')][_0x3523('0x99')](()=>{_0x447c95['model'][_0x3523('0x12')](_0x51fd4a[0x0],_0x51fd4a[0x1],_0x51fd4a[0x2],{'forceDefaultExecution':!0x0});const _0x32f4ee=_0x5d14ee(),{rowInsertionRanges:_0x34559d,columnInsertionRanges:_0x621f1b,insertionRanges:_0x5b6f8e,deletionRanges:_0x131cd2,cells:_0x568c2c}=_0x491322;_0x34559d[_0x3523('0x27')]&&_0x4e6f84[_0x3523('0x67')](_0x34559d,_0x3523('0x72'),{'tablePasteChainId':_0x32f4ee}),_0x621f1b['length']&&_0x4e6f84[_0x3523('0x67')](_0x621f1b,_0x3523('0x9'),{'tablePasteChainId':_0x32f4ee}),_0x5b6f8e['length']&&_0x4e6f84[_0x3523('0x67')](_0x5b6f8e,_0x3523('0xc'),{'tablePasteChainId':_0x32f4ee,'skipNestingCheck':!0x0}),_0x131cd2[_0x3523('0x27')]&&_0x4e6f84[_0x3523('0x34')](_0x131cd2,_0x3523('0xc'),{'tablePasteChainId':_0x32f4ee,'skipNestingCheck':!0x0});const _0x468a13=_0x4e6f84[_0x3523('0x7e')](_0x568c2c[_0x3523('0x79')](({element:_0x149caa})=>_0x149caa),{'formatGroupId':_0x5d14ee()},[],_0x3523('0x23'),{'tablePasteChainId':_0x32f4ee});if(_0x468a13){const _0x4d77fb=_0x468a13['getMarkers'](),_0x343fbd=[];for(const {element:_0x28064f,attributes:_0x5b4eee}of _0x568c2c){if(!_0x5b4eee)continue;const _0x9d0629=_0x447c95['model'][_0x3523('0x8f')](_0x28064f),_0x47ca8c=_0x4d77fb['find'](_0x40875e=>_0x40875e[_0x3523('0x6f')]()[_0x3523('0x92')](_0x9d0629));_0x47ca8c&&_0x343fbd[_0x3523('0x45')]([_0x47ca8c[_0x3523('0x41')],_0x5b4eee]);}_0x343fbd[_0x3523('0x27')]&&_0x468a13[_0x3523('0x58')](_0x3523('0x2f'),Object[_0x3523('0x44')](_0x343fbd));}_0x491322=null;}));},{'priority':_0x42d7c0[_0x3523('0x4b')]+0xa}),_0x447c95[_0x3523('0x9e')][_0x3523('0x29')](_0x3523('0x96'))['on']('_replaceTableSlotCell',(_0x59ede7,_0x20b276)=>{const [_0x1408d7,_0x44729c,,_0x40b926]=_0x20b276;if(!_0x491322)return;_0x59ede7[_0x3523('0x59')]();const _0x16088c=_0x1408d7[_0x3523('0xa1')],_0x197954=_0x44729c,_0xd06aa6=ce(_0x16088c),_0x37bf7b=ce(_0x197954);_0x59ede7[_0x3523('0x46')]=_0x16088c;let _0x204972=null,_0x298290=null;if(_0x37bf7b||_0xd06aa6){if(_0xd06aa6&&!_0x37bf7b){_0x40b926['remove'](_0x16088c[_0x3523('0x1b')](0x0));for(const _0x5ba5f0 of Array[_0x3523('0x83')](_0x197954['getChildren']()))_0x40b926[_0x3523('0x2e')](_0x5ba5f0,_0x16088c,_0x3523('0x9c'));const _0x3f12e3=_0x491322[_0x3523('0x9a')]['includes'](_0x1408d7['row']),_0x5d784f=_0x491322['columnInsertionIndexes'][_0x3523('0x14')](_0x1408d7[_0x3523('0x22')]);_0x3f12e3||_0x5d784f||(_0x204972=_0x40b926['createRangeIn'](_0x16088c));}else _0x37bf7b&&!_0xd06aa6&&(_0x298290=_0x40b926['createRangeIn'](_0x16088c));}else{const _0x119a0c=_0x40b926['createElement'](_0x3523('0x0')),_0x390a1f=_0x40b926[_0x3523('0x49')](_0x3523('0x0'));_0x40b926[_0x3523('0x84')](_0x40b926[_0x3523('0x43')](_0x16088c),_0x390a1f),_0x40b926[_0x3523('0x2e')](_0x119a0c,_0x16088c,0x0);for(const _0x115671 of Array[_0x3523('0x83')](_0x197954[_0x3523('0x4')]()))_0x40b926[_0x3523('0x2e')](_0x115671,_0x119a0c,'end');_0x204972=_0x40b926['createRangeOn'](_0x119a0c),_0x298290=_0x40b926[_0x3523('0x8f')](_0x390a1f);}const _0x1cda6c=Array[_0x3523('0x83')](_0x197954[_0x3523('0x88')]())[_0x3523('0x7d')](([_0x2dc218])=>le[_0x3523('0x14')](_0x2dc218));_0x491322[_0x3523('0x5e')][_0x3523('0x45')]({'element':_0x16088c,'attributes':_0x1cda6c[_0x3523('0x27')]?Object[_0x3523('0x44')](_0x1cda6c):null}),_0x204972&&_0x491322[_0x3523('0x6a')][_0x3523('0x45')](_0x204972),_0x298290&&_0x491322[_0x3523('0x4f')][_0x3523('0x45')](_0x298290);},{'priority':_0x3523('0x4b')}),_0x2080cb['on'](_0x3523('0xd'),(_0x5ba2b7,_0x51cf8f)=>{const [_0x49c332,_0x149d5a={}]=_0x51cf8f;if(!_0x491322)return;const _0xf639eb=_0x149d5a['at']||0x0,_0x537afc=_0x149d5a[_0x3523('0x9d')]||0x1;_0x491322[_0x3523('0x93')]=new Array(_0x537afc)[_0x3523('0x1e')](_0xf639eb)['map']((_0x1bedbb,_0x291664)=>_0x1bedbb+_0x291664);for(const {cell:_0x3ed74b}of _0x2080cb[_0x3523('0x4c')](_0x49c332,{'startColumn':_0xf639eb,'endColumn':_0xf639eb+_0x537afc-0x1}))_0x491322[_0x3523('0x6')][_0x3523('0x45')](_0x447c95[_0x3523('0x5a')][_0x3523('0x8f')](_0x3ed74b));},{'priority':_0x3523('0x62')}),_0x2080cb['on'](_0x3523('0x77'),(_0x63c9ea,_0x45b4b5)=>{const [_0x2460b5,_0x24441b={}]=_0x45b4b5;if(!_0x491322)return;const _0x4849ec=_0x24441b['at']||0x0,_0x420351=_0x24441b[_0x3523('0x52')]||0x1;_0x491322[_0x3523('0x9a')]=new Array(_0x420351)[_0x3523('0x1e')](_0x4849ec)[_0x3523('0x79')]((_0xb871c6,_0x3ecaab)=>_0xb871c6+_0x3ecaab);for(const {cell:_0x3887f4}of _0x2080cb[_0x3523('0x4c')](_0x2460b5,{'startRow':_0x4849ec,'endRow':_0x4849ec+_0x420351-0x1}))_0x491322[_0x3523('0x87')][_0x3523('0x45')](_0x447c95[_0x3523('0x5a')][_0x3523('0x8f')](_0x3887f4));},{'priority':_0x3523('0x62')}),_0x4e6f84[_0x3523('0x61')][_0x3523('0x60')](_0x1039c2=>{if(_0x1039c2['subType']&&_0x1039c2[_0x3523('0x24')][_0x3523('0x26')](_0x3523('0xc')))return _0x1039c2[_0x3523('0x56')]?{}:{'type':_0x3523('0x1'),'content':_0x151c95(_0x447c95[_0x3523('0x65')],_0x3523('0x3d'))};});const _0x2e7aa1=()=>{};for(const _0x168c9c of['tablePaste',_0x3523('0x9'),'tablePasteRow',_0x3523('0x23')])_0x4e6f84[_0x3523('0x55')][_0x3523('0x76')]('insertion',_0x168c9c,_0x3523('0x8d'),_0x2e7aa1),_0x4e6f84[_0x3523('0x55')][_0x3523('0x76')]('deletion',_0x168c9c,'join',_0x2e7aa1);_0x4e6f84[_0x3523('0x55')]['registerCustomCallback'](_0x3523('0x28'),_0x3523('0x23'),'discard',_0x2e7aa1),_0x4e6f84['_suggestionFactory']['registerCustomCallback'](_0x3523('0x28'),'tablePasteCell',_0x3523('0x47'),(_0x5b2ac9,_0xdd071f,_0x8fa079)=>{const _0x747111=_0x5b2ac9[_0x3523('0x79')](_0x44c435=>_0x44c435[_0x3523('0x31')]())['filter'](_0x5a0e99=>_0x5a0e99),_0x2705fa=new Map(_0x747111[_0x3523('0x79')](_0x4f3c47=>[_0x4f3c47,null]));if(_0x491322)for(const {element:_0x48b014,attributes:_0x1e7b50}of _0x491322[_0x3523('0x5e')])_0x1e7b50&&_0x2705fa[_0x3523('0x66')](_0x48b014,_0x1e7b50);else{if(_0x8fa079&&_0x8fa079['markerAttributes'])for(const [_0x12d78e,_0x45a345]of Object[_0x3523('0xa2')](_0x8fa079[_0x3523('0x2f')])){const _0xb48a0a=_0x447c95[_0x3523('0x5a')]['markers'][_0x3523('0x29')](_0x12d78e),_0x4d967f=_0xb48a0a?_0xb48a0a[_0x3523('0x6f')]()[_0x3523('0x31')]():null;_0x4d967f&&_0x2705fa[_0x3523('0x66')](_0x4d967f,_0x45a345);}}_0x447c95[_0x3523('0x5a')][_0x3523('0x99')](_0x27922a=>{for(const [_0x572aa4,_0x5a292f]of _0x2705fa)_0x27922a['setAttributes']({...ae,..._0x5a292f},_0x572aa4);});});const _0x501dd3=(_0x29d834,_0x2a13a2)=>{_0x4e6f84['_suggestionFactory'][_0x3523('0x76')](_0x29d834,'tablePaste',_0x2a13a2,(_0x1509a3,_0x1123a9,_0x19a238)=>{_0x447c95['model'][_0x3523('0x99')](_0x4771ce=>{const _0x1b12b0=[];for(const _0xe2c50f of _0x1509a3){const _0x2d96b4=_0xe2c50f[_0x3523('0xa')][_0x3523('0x97')];_0x2d96b4['is'](_0x3523('0x7b'),_0x3523('0x0'))&&_0x1b12b0[_0x3523('0x45')](_0x2d96b4);}_0x4e6f84[_0x3523('0x55')]['getSuggestionCallback'](_0x29d834,null,_0x2a13a2)(_0x1509a3,_0x1123a9,_0x19a238);for(const _0x2f31d6 of _0x1b12b0)_0x3523('0x94')!=_0x2f31d6['root']['rootName']&&_0x4771ce['unwrap'](_0x2f31d6);});});};_0x501dd3('insertion',_0x3523('0x47')),_0x501dd3(_0x3523('0x1'),'discard'),_0x501dd3(_0x3523('0x7'),_0x3523('0x47')),_0x501dd3('deletion',_0x3523('0x38')),_0x4e6f84[_0x3523('0x55')]['registerCustomCallback']('insertion',_0x3523('0x72'),_0x3523('0x38'),_0xf50218=>{const _0x4b72b4=_0xf50218['map'](_0x249189=>_0x249189[_0x3523('0x31')]()),_0x383b75=_0x4b72b4[0x0][_0x3523('0x42')]('table'),{minRow:_0x42fd88,maxRow:_0x3c9f33}=_0x4cd0ab[_0x3523('0x80')](_0x4b72b4);_0x2080cb['removeRows'](_0x383b75,{'at':_0x42fd88,'rows':_0x3c9f33-_0x42fd88+0x1});}),_0x4e6f84[_0x3523('0x55')][_0x3523('0x76')]('insertion',_0x3523('0x9'),'discard',_0x1eccfd=>{const _0x1e6f6d=_0x1eccfd[_0x3523('0x79')](_0x4a7f60=>_0x4a7f60['getContainedElement']()),_0x8fa365=_0x1e6f6d[0x0][_0x3523('0x42')](_0x3523('0x1c')),{minColumn:_0x1bb3ed,maxColumn:_0x49e21f}=_0x4cd0ab['_getCoordsForCells'](_0x1e6f6d);_0x2080cb[_0x3523('0x7c')](_0x8fa365,{'at':_0x1bb3ed,'columns':_0x49e21f-_0x1bb3ed+0x1});});const _0x333fd3=(_0xa1f989,_0x14fe00)=>{if(!_0x14fe00[_0x3523('0x24')]||!_0x14fe00['subType'][_0x3523('0x26')]('tablePaste'))return;const _0x316780=_0x14fe00[_0x3523('0x69')][_0x3523('0x6c')],_0x8c26a1=_0x4e6f84[_0x3523('0x3')]()['filter'](_0xad496e=>_0xad496e[_0x3523('0x15')]&&_0xad496e[_0x3523('0x69')]&&_0xad496e[_0x3523('0x69')]['tablePasteChainId']==_0x316780);_0x8c26a1[_0x3523('0x27')]&&_0x14fe00['getAllAdjacentSuggestions']()[_0x3523('0x27')]!=_0x8c26a1[_0x3523('0x27')]&&_0x8c26a1[_0x3523('0x11')]((_0x3db917,_0x1bc57f)=>(_0x3db917[_0x3523('0x48')]=_0x1bc57f,_0x1bc57f[_0x3523('0x56')]=_0x3db917,_0x1bc57f));};function _0x4747d7(_0x10db1b,_0x5d4c7d=!0x0){const {id:_0x27b54e}=_0x4e6f84[_0x3523('0x21')](_0x10db1b[_0x3523('0xe')]),_0x5f2452=[_0x3523('0x39'),'ck-suggestion-marker-insertion'],_0x3c68b4=_0x4e6f84['activeMarkers']['includes'](_0x10db1b[_0x3523('0xe')]);return _0x3c68b4&&_0x5f2452['push'](_0x3523('0xf')),{'classes':_0x5f2452,'attributes':{'data-suggestion':_0x27b54e},'priority':_0x3c68b4&&_0x5d4c7d?0xbc2:0xbb8};}_0x4e6f84['on'](_0x3523('0x4e'),_0x333fd3,{'priority':_0x3523('0x4b')}),_0x4e6f84['on'](_0x3523('0x10'),_0x333fd3,{'priority':_0x3523('0x4b')}),_0x447c95[_0x3523('0x5a')][_0x3523('0x81')]['registerPostFixer'](()=>{let _0x57234a=!0x1;const _0x2157ee=Array[_0x3523('0x83')](_0x447c95[_0x3523('0x5a')][_0x3523('0x81')][_0x3523('0x98')][_0x3523('0x3a')]());for(const {name:_0xa962c4,data:_0x96a5e6}of _0x2157ee){const {group:_0xe07481,type:_0x47a501,id:_0x583db2}=_0x4e6f84[_0x3523('0x21')](_0xa962c4);if(_0x3523('0x6d')!=_0xe07481||_0x3523('0x7')!=_0x47a501||_0x96a5e6[_0x3523('0x86')])continue;if(!_0x4e6f84[_0x3523('0x8b')](_0x583db2))continue;const _0x500ccb=_0x4e6f84[_0x3523('0x36')](_0x583db2)[_0x3523('0x3c')](),_0x2f6372=_0x447c95['plugins']['get'](_0x3523('0x3e'))['me'];for(const _0xadac8 of _0x4e6f84['getSuggestions']()){if(!_0xadac8[_0x3523('0x15')]||_0xadac8['author']!=_0x2f6372)continue;if(_0x3523('0x28')!=_0xadac8[_0x3523('0x2b')]||_0x3523('0x23')!=_0xadac8['subType'])continue;if(_0xadac8[_0x3523('0x3c')]()[_0x3523('0x71')](_0x42edec=>_0x500ccb[_0x3523('0x5')](_0x9a4ae3=>_0x9a4ae3['containsRange'](_0x42edec,!0x0))))for(const _0x1d51fb of _0xadac8[_0x3523('0x74')]())_0x1d51fb[_0x3523('0x15')]&&(_0x1d51fb[_0x3523('0x38')](),_0x57234a=!0x0);}}return _0x57234a;}),_0x447c95['model'][_0x3523('0x81')]['registerPostFixer'](_0x35f4b0=>{const _0x10677a=_0x447c95['commands'][_0x3523('0x29')](_0x3523('0x33'));if(!_0x10677a||!_0x10677a['_createdBatches']['has'](_0x35f4b0['batch']))return!0x1;let _0x2adc11=!0x1;const _0x4be993=_0x447c95['plugins'][_0x3523('0x29')](_0x3523('0x3e'))['me'],_0x4a298d=_0x447c95['model'][_0x3523('0x81')]['differ'][_0x3523('0x16')](),_0x2b305f=Array[_0x3523('0x83')](_0x447c95[_0x3523('0x5a')][_0x3523('0x81')][_0x3523('0x98')]['getChangedMarkers']())[_0x3523('0x7d')](({name:_0x18a234,data:_0x2a6a84})=>{const {group:_0x3a7f75,subType:_0x430548,authorId:_0x29c775}=_0x4e6f84[_0x3523('0x21')](_0x18a234);return _0x3523('0x6d')==_0x3a7f75&&_0x3523('0xc')==_0x430548&&_0x29c775==_0x4be993['id']&&!_0x2a6a84['oldRange'];});for(const _0x23d7d8 of _0x4a298d){if(_0x3523('0x2e')!=_0x23d7d8[_0x3523('0x2b')]||_0x3523('0x0')!=_0x23d7d8[_0x3523('0x41')]||0x1!=_0x23d7d8[_0x3523('0x27')])continue;const _0x10d198=_0x35f4b0[_0x3523('0x85')](_0x23d7d8[_0x3523('0x2d')],_0x23d7d8[_0x3523('0x2d')][_0x3523('0x95')](0x1));if(!_0x2b305f[_0x3523('0x8a')](({data:_0xffc7b0})=>_0xffc7b0[_0x3523('0x17')][_0x3523('0x92')](_0x10d198)))for(const {name:_0x2c8816,data:_0x423e28}of _0x2b305f)if(_0x10d198['containsRange'](_0x423e28[_0x3523('0x17')])){_0x35f4b0[_0x3523('0x6b')](_0x2c8816,{'range':_0x10d198}),_0x2adc11=!0x0;break;}}return _0x2adc11;}),_0x447c95['model'][_0x3523('0x81')][_0x3523('0x35')](_0x1565d1=>{let _0x523874=!0x1;const _0x2e19e6=_0x447c95['plugins']['get'](_0x3523('0x3e'))['me'],_0x22ebad=_0x4e6f84[_0x3523('0x3')]()[_0x3523('0x7d')](_0x5915c3=>_0x5915c3[_0x3523('0x15')]&&_0x5915c3[_0x3523('0x89')]==_0x2e19e6),_0x3db1c7=new Set(),_0x113721=new Set();for(const _0x46bb10 of _0x22ebad)if(_0x3523('0xc')==_0x46bb10['subType'])for(const _0x1cf9c of _0x46bb10[_0x3523('0x78')]()){const _0x1247b4=_0x1cf9c[_0x3523('0x6f')]()[_0x3523('0x31')]();if(_0x1247b4){if(_0x1247b4['is'](_0x3523('0x7b'),_0x3523('0x0'))&&ce(_0x1247b4)){_0x46bb10[_0x3523('0x75')](_0x1cf9c['name']),_0x3db1c7['add'](_0x1247b4),_0x523874=!0x0;const _0x3aa356=_0x1247b4[_0x3523('0x7a')],_0x50534f=_0x1247b4[_0x3523('0x2c')],_0x401e10=_0x3aa356&&_0x3aa356['is'](_0x3523('0x7b'),_0x3523('0x0')),_0x21890c=_0x50534f&&_0x50534f['is'](_0x3523('0x7b'),_0x3523('0x0'));_0x401e10&&!_0x3db1c7[_0x3523('0x4d')](_0x3aa356)&&_0x113721[_0x3523('0x2a')](_0x3aa356),_0x21890c&&!_0x3db1c7[_0x3523('0x4d')](_0x50534f)&&_0x113721[_0x3523('0x2a')](_0x50534f);}else _0x1247b4['is'](_0x3523('0x7b'),_0x3523('0x68'))&&_0x1247b4[_0x3523('0x8')]&&(_0x46bb10['removeMarker'](_0x1cf9c[_0x3523('0x41')]),_0x523874=!0x0);}}else{if(_0x3523('0x23')==_0x46bb10[_0x3523('0x24')]){if(!_0x46bb10[_0x3523('0x69')]||!_0x46bb10['attributes']['tablePasteChainId'])continue;const _0x32f6cc=_0x46bb10[_0x3523('0x69')][_0x3523('0x2f')];if(_0x32f6cc&&Object['keys'](_0x32f6cc)[_0x3523('0x27')])continue;const _0x3a30a6=_0x46bb10[_0x3523('0x69')][_0x3523('0x6c')];let _0xd5b951=!0x0,_0x130c8d=!0x0;for(const _0x1d4c4d of _0x22ebad)if(_0x1d4c4d[_0x3523('0x24')]&&_0x1d4c4d['subType'][_0x3523('0x26')]('tablePaste')){if(!_0x1d4c4d[_0x3523('0x69')]['tablePasteChainId']){_0x130c8d=!0x1;break;}if(_0x1d4c4d['id']!=_0x46bb10['id']&&_0x1d4c4d[_0x3523('0x69')][_0x3523('0x6c')]==_0x3a30a6){_0xd5b951=!0x1;break;}}_0x130c8d&&_0xd5b951&&(_0x46bb10[_0x3523('0x40')](),_0x523874=!0x0);}}for(const _0x47f0be of _0x3db1c7)_0x1565d1[_0x3523('0x73')](_0x47f0be);for(const _0x2cae57 of _0x113721)_0x1565d1[_0x3523('0x13')](_0x2cae57);return _0x523874;}),_0x447c95[_0x3523('0x9b')][_0x3523('0x20')](_0x3523('0x82'))[_0x3523('0x1a')]({'model':_0x3523('0x53'),'view':(_0x3e5332,_0x5b4f13)=>_0x4747d7(_0x3e5332),'converterPriority':'high'}),_0x447c95[_0x3523('0x9b')][_0x3523('0x20')](_0x3523('0x3b'))[_0x3523('0x1a')]({'model':_0x3523('0x53'),'view':(_0x2c1dd0,_0x9a454f)=>_0x9a454f[_0x3523('0x25')][_0x3523('0x8c')]?_0x4747d7(_0x2c1dd0,!0x1):null,'converterPriority':_0x3523('0x4b')});const _0xf1bd96=_0x447c95[_0x3523('0x9f')][_0x3523('0x2')];this[_0x3523('0x6e')](_0xf1bd96[_0x3523('0x81')],'clipboardOutput',(_0x34cf8b,_0x4b6910)=>{const _0x93e13c=[];for(const _0x14e78f of _0xf1bd96[_0x3523('0x43')](_0x4b6910[_0x3523('0xa0')])[_0x3523('0x5f')]())_0x14e78f['is'](_0x3523('0x7b'),_0x3523('0x51'))&&_0x93e13c[_0x3523('0x45')](_0x14e78f);_0xf1bd96[_0x3523('0x99')](_0x46c52b=>{for(const _0x476f4c of _0x93e13c)_0x46c52b['move'](_0x46c52b[_0x3523('0x43')](_0x476f4c),_0x46c52b[_0x3523('0x63')](_0x476f4c)),_0x46c52b[_0x3523('0x73')](_0x476f4c);});});}}function ce(_0xb49763){if(_0xb49763['isEmpty'])return!0x0;const _0x2e2179=_0xb49763[_0x3523('0x1b')](0x0);return _0x2e2179['is'](_0x3523('0x7b'),_0x3523('0x68'))&&_0x2e2179[_0x3523('0x8')];}function fe(_0x2997e2,_0x1df8e7={},_0x9182d0){for(const {isAnchor:_0x4b906d,cellHeight:_0x2e3765,cellWidth:_0x6d5874}of _0x9182d0[_0x3523('0x4c')](_0x2997e2,{'includeAllSlots':!0x0,..._0x1df8e7}))if(!_0x4b906d||0x1!=_0x2e3765||0x1!=_0x6d5874)return!0x1;return!0x0;}
23
+ const _0x1e8c=['push','startsWith','setAttribute','markMultiRangeBlockFormat','editingDowncast','requires','insertColumns','get','suggestionUnloaded','_descriptionFactory','ck-suggestion-marker-insertion','getSuggestions','previous','getSuggestion','subType','_splitMarkerName','getChangedMarkers','createElement','some','createTableWalker','tableCell','createRange','plugins','stop','markerAttributes','previousSibling','attributes','remove','position','cell','documentSelection','markerName','getAttributes','tableCellBackgroundColor','ck-suggestion-marker','redo','tablePaste','removeRows','map','tableCellSuggestion','wrap','tablePasteRow','columns','fill','change','isInContent','isEmpty','_isForcedDefaultExecutionBlock','insertRows','afterInit','move','registerPostFixer','find','getRowIndexes','type','rowInsertionRanges','TableUtils','tableCellBorderWidth','hasSuggestion','deletion','$graveyard','conversion','for','tablePasteCell','last','end','value','high','getRange','editing','element','length','containsRange','paragraph','set','fromEntries','nodeAfter','getChildren','return','markMultiRangeInsertion','includes','register','setAttributes','suggestion-td','insert','document','TableClipboard','every','author','registerCustomCallback','suggestionLoaded','insertContent','Users','getAllAdjacentSuggestions','row','keys','unwrap','content','add','batch','elementToElement','_suggestionFactory','tableCellHorizontalAlignment','entries','locale','getItems','rowInsertionIndexes','removeColumns','reduce','columnInsertionIndexes','view','schema','from','nextSibling','createPositionBefore','forceDefaultExecution','join','removeMarker','model','low','endRow','markMultiRangeDeletion','editor','getMarkers','name','accept','column','endColumn','markerToHighlight','differ','ck-suggestion-marker--active','filter','columnInsertionRanges','getColumns','findAncestor','suggestion','isEqual','formatBlock','createRangeOn','tablePasteColumn','getContainedElement','discard','has','deletionRanges','markers','rootName','commands','getChild','dataDowncast','_createdBatches','cells','insertion','tablePasteChainId','getColumnIndexes','newRange','_getCoordsForCells','getTableIfOnlyTableInContent','next','getRanges','_replaceTableSlotCell','start','*Replace\x20table\x20cells*','updateMarker','removeMarkers','activeMarkers','table','first','listenTo','createRangeIn'];(function(_0x5f3d25,_0x1e8cb7){const _0x44d0b4=function(_0x1aa71f){while(--_0x1aa71f){_0x5f3d25['push'](_0x5f3d25['shift']());}};_0x44d0b4(++_0x1e8cb7);}(_0x1e8c,0x7c));const _0x44d0=function(_0x5f3d25,_0x1e8cb7){_0x5f3d25=_0x5f3d25-0x0;let _0x44d0b4=_0x1e8c[_0x5f3d25];return _0x44d0b4;};import{getTranslation as _0x1d414a}from'../utils/common-translations';import{Plugin as _0x344134}from'ckeditor5/src/core';import{uid as _0x44fbe5,priorities as _0x3e8708}from'ckeditor5/src/utils';import _0x5ac569 from'./table';const le=[_0x44d0('0x66'),'tableCellBorderColor','tableCellBorderStyle',_0x44d0('0x93'),'tableCellVerticalAlignment',_0x44d0('0x4e'),'tableCellPadding'],ae=Object[_0x44d0('0x78')](le[_0x44d0('0x53')](_0x2556d8=>[_0x2556d8,null]));export default class kt extends _0x344134{static get[_0x44d0('0x32')](){return[_0x5ac569];}[_0x44d0('0x5e')](){const _0x159ad5=this[_0x44d0('0xa7')];if(!_0x159ad5[_0x44d0('0x43')]['has']('TableClipboard'))return;const _0xc09994=_0x159ad5[_0x44d0('0x43')][_0x44d0('0x34')]('TrackChangesEditing'),_0x23a3ca=_0x159ad5['plugins'][_0x44d0('0x34')](_0x44d0('0x65')),_0x408c51=_0x159ad5[_0x44d0('0x43')]['get'](_0x5ac569),_0x562f78=_0x159ad5[_0x44d0('0x43')][_0x44d0('0x34')](_0x44d0('0x83'));_0x408c51['_tablePostFixingSubtypes'][_0x44d0('0x2d')]('tablePasteRow',_0x44d0('0xf')),_0x159ad5['model'][_0x44d0('0x9c')][_0x44d0('0x7e')](_0x44d0('0x54'),{'allowIn':_0x44d0('0x41'),'allowContentOf':_0x44d0('0x41'),'isLimit':!0x0}),_0x159ad5[_0x44d0('0x6a')][_0x44d0('0x91')]({'model':'tableCellSuggestion','view':_0x44d0('0x80')});let _0x2fe20c=null;_0x159ad5[_0x44d0('0xa3')]['on'](_0x44d0('0x88'),(_0xbce495,_0xe70537)=>{const [_0x2d3cb6,_0x5d98a1]=_0xe70537,_0x536e05=_0xe70537[_0xe70537[_0x44d0('0x74')]-0x1];_0x536e05&&_0x536e05[_0x44d0('0xa0')]||_0xc09994[_0x44d0('0x5c')]||this[_0x44d0('0xa7')][_0x44d0('0x16')][_0x44d0('0x34')]('trackChanges')[_0x44d0('0x6f')]&&function(_0x35127e,_0x5db4e5,_0x49ed45,_0x2b3407,_0x572297){if(_0x5db4e5&&!_0x5db4e5['is'](_0x44d0('0x4b')))return!0x1;const _0x39aee3=_0x572297[_0x44d0('0x20')](_0x35127e,_0x49ed45);if(!_0x39aee3||!fe(_0x39aee3,void 0x0,_0x2b3407))return!0x1;const _0x2a4f83=_0x2b3407['getSelectionAffectedTableCells'](_0x49ed45['document']['selection']);if(!_0x2a4f83['length'])return!0x1;const _0x2ae044=_0x2a4f83[0x0][_0x44d0('0xa')](_0x44d0('0x29')),_0x456636=_0x2b3407[_0x44d0('0x62')](_0x2a4f83),_0x43f243=_0x2b3407[_0x44d0('0x1d')](_0x2a4f83),_0xe18a3f={'startRow':_0x456636[_0x44d0('0x2a')],'endRow':_0x456636['last'],'startColumn':_0x43f243[_0x44d0('0x2a')],'endColumn':_0x43f243[_0x44d0('0x6d')]};return 0x1==_0x2a4f83['length']&&(_0xe18a3f[_0x44d0('0xa5')]+=_0x2b3407['getRows'](_0x39aee3)-0x1,_0xe18a3f[_0x44d0('0x3')]+=_0x2b3407[_0x44d0('0x9')](_0x39aee3)-0x1),fe(_0x2ae044,_0xe18a3f,_0x2b3407);}(_0x2d3cb6,_0x5d98a1,_0x159ad5[_0x44d0('0xa3')],_0x23a3ca,_0x562f78)&&(_0xbce495[_0x44d0('0x44')](),_0x2fe20c={'cells':[],'insertionRanges':[],'deletionRanges':[],'rowInsertionRanges':[],'rowInsertionIndexes':[],'columnInsertionRanges':[],'columnInsertionIndexes':[]},_0x159ad5[_0x44d0('0xa3')][_0x44d0('0x59')](()=>{_0x159ad5[_0x44d0('0xa3')][_0x44d0('0x88')](_0xe70537[0x0],_0xe70537[0x1],_0xe70537[0x2],{'forceDefaultExecution':!0x0});const _0x17948b=_0x44fbe5(),{rowInsertionRanges:_0x193caa,columnInsertionRanges:_0x31e47d,insertionRanges:_0x12b4ce,deletionRanges:_0x28ce1b,cells:_0x136c66}=_0x2fe20c;_0x193caa[_0x44d0('0x74')]&&_0xc09994['markMultiRangeInsertion'](_0x193caa,'tablePasteRow',{'tablePasteChainId':_0x17948b}),_0x31e47d[_0x44d0('0x74')]&&_0xc09994[_0x44d0('0x7c')](_0x31e47d,_0x44d0('0xf'),{'tablePasteChainId':_0x17948b}),_0x12b4ce[_0x44d0('0x74')]&&_0xc09994[_0x44d0('0x7c')](_0x12b4ce,_0x44d0('0x51'),{'tablePasteChainId':_0x17948b,'skipNestingCheck':!0x0}),_0x28ce1b[_0x44d0('0x74')]&&_0xc09994[_0x44d0('0xa6')](_0x28ce1b,_0x44d0('0x51'),{'tablePasteChainId':_0x17948b,'skipNestingCheck':!0x0});const _0x471249=_0xc09994[_0x44d0('0x30')](_0x136c66[_0x44d0('0x53')](({element:_0x22c338})=>_0x22c338),{'formatGroupId':_0x44fbe5()},[],_0x44d0('0x6c'),{'tablePasteChainId':_0x17948b});if(_0x471249){const _0x56fcce=_0x471249[_0x44d0('0xa8')](),_0x3fba37=[];for(const {element:_0x14cb8e,attributes:_0x719f67}of _0x136c66){if(!_0x719f67)continue;const _0x172908=_0x159ad5[_0x44d0('0xa3')][_0x44d0('0xe')](_0x14cb8e),_0x512be0=_0x56fcce[_0x44d0('0x61')](_0x494b04=>_0x494b04[_0x44d0('0x71')]()[_0x44d0('0xc')](_0x172908));_0x512be0&&_0x3fba37['push']([_0x512be0[_0x44d0('0x0')],_0x719f67]);}_0x3fba37[_0x44d0('0x74')]&&_0x471249[_0x44d0('0x2f')]('markerAttributes',Object[_0x44d0('0x78')](_0x3fba37));}_0x2fe20c=null;}));},{'priority':_0x3e8708[_0x44d0('0x70')]+0xa}),_0x159ad5['plugins'][_0x44d0('0x34')]('TableClipboard')['on'](_0x44d0('0x23'),(_0x53b6ad,_0x46bb2e)=>{const [_0x4f05ab,_0x353d4d,,_0x159b09]=_0x46bb2e;if(!_0x2fe20c)return;_0x53b6ad['stop']();const _0x44f49a=_0x4f05ab[_0x44d0('0x4a')],_0x22a570=_0x353d4d,_0x38d7ae=ce(_0x44f49a),_0x3af73d=ce(_0x22a570);_0x53b6ad[_0x44d0('0x7b')]=_0x44f49a;let _0x141d23=null,_0x39bcf6=null;if(_0x3af73d||_0x38d7ae){if(_0x38d7ae&&!_0x3af73d){_0x159b09[_0x44d0('0x48')](_0x44f49a['getChild'](0x0));for(const _0x4b0092 of Array[_0x44d0('0x9d')](_0x22a570[_0x44d0('0x7a')]()))_0x159b09[_0x44d0('0x81')](_0x4b0092,_0x44f49a,'end');const _0x4d0f87=_0x2fe20c['rowInsertionIndexes'][_0x44d0('0x7d')](_0x4f05ab[_0x44d0('0x8b')]),_0x82734d=_0x2fe20c[_0x44d0('0x9a')]['includes'](_0x4f05ab[_0x44d0('0x2')]);_0x4d0f87||_0x82734d||(_0x141d23=_0x159b09['createRangeIn'](_0x44f49a));}else _0x3af73d&&!_0x38d7ae&&(_0x39bcf6=_0x159b09['createRangeIn'](_0x44f49a));}else{const _0x231721=_0x159b09[_0x44d0('0x3e')](_0x44d0('0x54')),_0x3abcc5=_0x159b09[_0x44d0('0x3e')](_0x44d0('0x54'));_0x159b09[_0x44d0('0x55')](_0x159b09[_0x44d0('0x2c')](_0x44f49a),_0x3abcc5),_0x159b09['insert'](_0x231721,_0x44f49a,0x0);for(const _0x1c96c5 of Array['from'](_0x22a570['getChildren']()))_0x159b09[_0x44d0('0x81')](_0x1c96c5,_0x231721,_0x44d0('0x6e'));_0x141d23=_0x159b09[_0x44d0('0xe')](_0x231721),_0x39bcf6=_0x159b09['createRangeOn'](_0x3abcc5);}const _0x19c600=Array['from'](_0x22a570[_0x44d0('0x4d')]())[_0x44d0('0x7')](([_0x4d24b5])=>le[_0x44d0('0x7d')](_0x4d24b5));_0x2fe20c[_0x44d0('0x1a')]['push']({'element':_0x44f49a,'attributes':_0x19c600[_0x44d0('0x74')]?Object[_0x44d0('0x78')](_0x19c600):null}),_0x141d23&&_0x2fe20c['insertionRanges'][_0x44d0('0x2d')](_0x141d23),_0x39bcf6&&_0x2fe20c[_0x44d0('0x13')][_0x44d0('0x2d')](_0x39bcf6);},{'priority':'high'}),_0x23a3ca['on'](_0x44d0('0x33'),(_0x5e5917,_0x45b2df)=>{const [_0x747195,_0x32b06d={}]=_0x45b2df;if(!_0x2fe20c)return;const _0x193721=_0x32b06d['at']||0x0,_0x125ec1=_0x32b06d[_0x44d0('0x57')]||0x1;_0x2fe20c[_0x44d0('0x9a')]=new Array(_0x125ec1)[_0x44d0('0x58')](_0x193721)[_0x44d0('0x53')]((_0x1b482e,_0x1ba0e5)=>_0x1b482e+_0x1ba0e5);for(const {cell:_0x180896}of _0x23a3ca['createTableWalker'](_0x747195,{'startColumn':_0x193721,'endColumn':_0x193721+_0x125ec1-0x1}))_0x2fe20c[_0x44d0('0x8')][_0x44d0('0x2d')](_0x159ad5[_0x44d0('0xa3')]['createRangeOn'](_0x180896));},{'priority':_0x44d0('0xa4')}),_0x23a3ca['on'](_0x44d0('0x5d'),(_0xf1a303,_0x360f26)=>{const [_0x4fc758,_0x308640={}]=_0x360f26;if(!_0x2fe20c)return;const _0x4594d1=_0x308640['at']||0x0,_0x344f63=_0x308640['rows']||0x1;_0x2fe20c[_0x44d0('0x97')]=new Array(_0x344f63)[_0x44d0('0x58')](_0x4594d1)['map']((_0x51e15c,_0x25b262)=>_0x51e15c+_0x25b262);for(const {cell:_0x495980}of _0x23a3ca[_0x44d0('0x40')](_0x4fc758,{'startRow':_0x4594d1,'endRow':_0x4594d1+_0x344f63-0x1}))_0x2fe20c[_0x44d0('0x64')]['push'](_0x159ad5['model'][_0x44d0('0xe')](_0x495980));},{'priority':_0x44d0('0xa4')}),_0xc09994[_0x44d0('0x36')]['registerDescriptionCallback'](_0x52b44f=>{if(_0x52b44f[_0x44d0('0x3b')]&&_0x52b44f[_0x44d0('0x3b')][_0x44d0('0x2e')]('tablePaste'))return _0x52b44f['previous']?{}:{'type':'insertion','content':_0x1d414a(_0x159ad5[_0x44d0('0x95')],_0x44d0('0x25'))};});const _0x5633d5=()=>{};for(const _0x494dbe of[_0x44d0('0x51'),'tablePasteColumn',_0x44d0('0x56'),'tablePasteCell'])_0xc09994[_0x44d0('0x92')][_0x44d0('0x86')]('insertion',_0x494dbe,_0x44d0('0xa1'),_0x5633d5),_0xc09994[_0x44d0('0x92')]['registerCustomCallback']('deletion',_0x494dbe,_0x44d0('0xa1'),_0x5633d5);_0xc09994[_0x44d0('0x92')][_0x44d0('0x86')](_0x44d0('0xd'),_0x44d0('0x6c'),'discard',_0x5633d5),_0xc09994[_0x44d0('0x92')][_0x44d0('0x86')](_0x44d0('0xd'),_0x44d0('0x6c'),_0x44d0('0x1'),(_0x2aedd9,_0xeed9c6,_0x1d7e15)=>{const _0x3226a2=_0x2aedd9[_0x44d0('0x53')](_0x300efb=>_0x300efb[_0x44d0('0x10')]())['filter'](_0x426b8c=>_0x426b8c),_0x100ad4=new Map(_0x3226a2['map'](_0x13a889=>[_0x13a889,null]));if(_0x2fe20c)for(const {element:_0x214ebd,attributes:_0x4bfb93}of _0x2fe20c[_0x44d0('0x1a')])_0x4bfb93&&_0x100ad4[_0x44d0('0x77')](_0x214ebd,_0x4bfb93);else{if(_0x1d7e15&&_0x1d7e15[_0x44d0('0x45')])for(const [_0x2830cd,_0x2a141f]of Object[_0x44d0('0x94')](_0x1d7e15[_0x44d0('0x45')])){const _0x244c8c=_0x159ad5['model'][_0x44d0('0x14')][_0x44d0('0x34')](_0x2830cd),_0x54c09e=_0x244c8c?_0x244c8c[_0x44d0('0x71')]()[_0x44d0('0x10')]():null;_0x54c09e&&_0x100ad4[_0x44d0('0x77')](_0x54c09e,_0x2a141f);}}_0x159ad5['model'][_0x44d0('0x59')](_0x507f5c=>{for(const [_0x4cbf9e,_0x23e9e9]of _0x100ad4)_0x507f5c[_0x44d0('0x7f')]({...ae,..._0x23e9e9},_0x4cbf9e);});});const _0x45b8d3=(_0x3ca91b,_0x388416)=>{_0xc09994[_0x44d0('0x92')]['registerCustomCallback'](_0x3ca91b,_0x44d0('0x51'),_0x388416,(_0xac39f8,_0xcd3ba1,_0xd1a3b)=>{_0x159ad5[_0x44d0('0xa3')]['change'](_0x2e9673=>{const _0x31d803=[];for(const _0x1f3e2f of _0xac39f8){const _0x33645b=_0x1f3e2f[_0x44d0('0x24')][_0x44d0('0x79')];_0x33645b['is'](_0x44d0('0x73'),'tableCellSuggestion')&&_0x31d803[_0x44d0('0x2d')](_0x33645b);}_0xc09994[_0x44d0('0x92')]['getSuggestionCallback'](_0x3ca91b,null,_0x388416)(_0xac39f8,_0xcd3ba1,_0xd1a3b);for(const _0x4553e9 of _0x31d803)_0x44d0('0x69')!=_0x4553e9['root'][_0x44d0('0x15')]&&_0x2e9673[_0x44d0('0x8d')](_0x4553e9);});});};_0x45b8d3('insertion','accept'),_0x45b8d3('insertion','discard'),_0x45b8d3('deletion','accept'),_0x45b8d3(_0x44d0('0x68'),_0x44d0('0x11')),_0xc09994[_0x44d0('0x92')][_0x44d0('0x86')](_0x44d0('0x1b'),'tablePasteRow',_0x44d0('0x11'),_0x2551c7=>{const _0x460902=_0x2551c7[_0x44d0('0x53')](_0x3eed85=>_0x3eed85[_0x44d0('0x10')]()),_0x1d3b0a=_0x460902[0x0][_0x44d0('0xa')]('table'),{minRow:_0x6bc0ab,maxRow:_0x2e2b45}=_0x408c51[_0x44d0('0x1f')](_0x460902);_0x23a3ca[_0x44d0('0x52')](_0x1d3b0a,{'at':_0x6bc0ab,'rows':_0x2e2b45-_0x6bc0ab+0x1});}),_0xc09994[_0x44d0('0x92')][_0x44d0('0x86')](_0x44d0('0x1b'),_0x44d0('0xf'),_0x44d0('0x11'),_0x48e530=>{const _0x2311d7=_0x48e530[_0x44d0('0x53')](_0x2b990f=>_0x2b990f[_0x44d0('0x10')]()),_0x2d2184=_0x2311d7[0x0][_0x44d0('0xa')](_0x44d0('0x29')),{minColumn:_0x4f2972,maxColumn:_0x4eebf7}=_0x408c51[_0x44d0('0x1f')](_0x2311d7);_0x23a3ca[_0x44d0('0x98')](_0x2d2184,{'at':_0x4f2972,'columns':_0x4eebf7-_0x4f2972+0x1});});const _0x3a8598=(_0x4f3feb,_0x275a4d)=>{if(!_0x275a4d[_0x44d0('0x3b')]||!_0x275a4d['subType'][_0x44d0('0x2e')]('tablePaste'))return;const _0x32f563=_0x275a4d[_0x44d0('0x47')][_0x44d0('0x1c')],_0x588203=_0xc09994[_0x44d0('0x38')]()[_0x44d0('0x7')](_0x311565=>_0x311565[_0x44d0('0x5a')]&&_0x311565[_0x44d0('0x47')]&&_0x311565[_0x44d0('0x47')]['tablePasteChainId']==_0x32f563);_0x588203[_0x44d0('0x74')]&&_0x275a4d['getAllAdjacentSuggestions']()[_0x44d0('0x74')]!=_0x588203[_0x44d0('0x74')]&&_0x588203[_0x44d0('0x99')]((_0x55e2a4,_0x2f28d2)=>(_0x55e2a4[_0x44d0('0x21')]=_0x2f28d2,_0x2f28d2[_0x44d0('0x39')]=_0x55e2a4,_0x2f28d2));};function _0x5a1c25(_0x51d4cb,_0x2edff7=!0x0){const {id:_0x2f6700}=_0xc09994[_0x44d0('0x3c')](_0x51d4cb[_0x44d0('0x4c')]),_0x35cb10=[_0x44d0('0x4f'),_0x44d0('0x37')],_0x471e06=_0xc09994[_0x44d0('0x28')]['includes'](_0x51d4cb[_0x44d0('0x4c')]);return _0x471e06&&_0x35cb10[_0x44d0('0x2d')](_0x44d0('0x6')),{'classes':_0x35cb10,'attributes':{'data-suggestion':_0x2f6700},'priority':_0x471e06&&_0x2edff7?0xbc2:0xbb8};}_0xc09994['on'](_0x44d0('0x87'),_0x3a8598,{'priority':'high'}),_0xc09994['on'](_0x44d0('0x35'),_0x3a8598,{'priority':'high'}),_0x159ad5['model']['document']['registerPostFixer'](()=>{let _0x3cb1e9=!0x1;const _0x5da41d=Array[_0x44d0('0x9d')](_0x159ad5[_0x44d0('0xa3')][_0x44d0('0x82')][_0x44d0('0x5')][_0x44d0('0x3d')]());for(const {name:_0x33cb0d,data:_0x213b5b}of _0x5da41d){const {group:_0x7ab585,type:_0x5b4a7b,id:_0x517485}=_0xc09994[_0x44d0('0x3c')](_0x33cb0d);if('suggestion'!=_0x7ab585||_0x44d0('0x68')!=_0x5b4a7b||_0x213b5b['oldRange'])continue;if(!_0xc09994[_0x44d0('0x67')](_0x517485))continue;const _0x5c2e3f=_0xc09994[_0x44d0('0x3a')](_0x517485)[_0x44d0('0x22')](),_0x336799=_0x159ad5[_0x44d0('0x43')][_0x44d0('0x34')](_0x44d0('0x89'))['me'];for(const _0x3ca2f9 of _0xc09994[_0x44d0('0x38')]()){if(!_0x3ca2f9['isInContent']||_0x3ca2f9[_0x44d0('0x85')]!=_0x336799)continue;if('formatBlock'!=_0x3ca2f9['type']||_0x44d0('0x6c')!=_0x3ca2f9['subType'])continue;if(_0x3ca2f9[_0x44d0('0x22')]()[_0x44d0('0x84')](_0x25d8f8=>_0x5c2e3f[_0x44d0('0x3f')](_0x2c2c62=>_0x2c2c62[_0x44d0('0x75')](_0x25d8f8,!0x0))))for(const _0x38c5b7 of _0x3ca2f9[_0x44d0('0x8a')]())_0x38c5b7[_0x44d0('0x5a')]&&(_0x38c5b7['discard'](),_0x3cb1e9=!0x0);}}return _0x3cb1e9;}),_0x159ad5['model'][_0x44d0('0x82')][_0x44d0('0x60')](_0x4d9591=>{const _0x1e3e0f=_0x159ad5[_0x44d0('0x16')][_0x44d0('0x34')](_0x44d0('0x50'));if(!_0x1e3e0f||!_0x1e3e0f[_0x44d0('0x19')][_0x44d0('0x12')](_0x4d9591[_0x44d0('0x90')]))return!0x1;let _0x1c3407=!0x1;const _0x1352ac=_0x159ad5[_0x44d0('0x43')]['get'](_0x44d0('0x89'))['me'],_0xfabf6f=_0x159ad5[_0x44d0('0xa3')][_0x44d0('0x82')][_0x44d0('0x5')]['getChanges'](),_0x3b01d6=Array['from'](_0x159ad5[_0x44d0('0xa3')][_0x44d0('0x82')]['differ'][_0x44d0('0x3d')]())['filter'](({name:_0x109659,data:_0x448995})=>{const {group:_0x1b4273,subType:_0x3d6398,authorId:_0x4fff35}=_0xc09994[_0x44d0('0x3c')](_0x109659);return _0x44d0('0xb')==_0x1b4273&&'tablePaste'==_0x3d6398&&_0x4fff35==_0x1352ac['id']&&!_0x448995['oldRange'];});for(const _0x2901e8 of _0xfabf6f){if(_0x44d0('0x81')!=_0x2901e8[_0x44d0('0x63')]||_0x44d0('0x54')!=_0x2901e8['name']||0x1!=_0x2901e8[_0x44d0('0x74')])continue;const _0x233de0=_0x4d9591[_0x44d0('0x42')](_0x2901e8['position'],_0x2901e8[_0x44d0('0x49')]['getShiftedBy'](0x1));if(!_0x3b01d6[_0x44d0('0x61')](({data:_0x22b74f})=>_0x22b74f[_0x44d0('0x1e')][_0x44d0('0xc')](_0x233de0)))for(const {name:_0x472486,data:_0x460b73}of _0x3b01d6)if(_0x233de0[_0x44d0('0x75')](_0x460b73[_0x44d0('0x1e')])){_0x4d9591[_0x44d0('0x26')](_0x472486,{'range':_0x233de0}),_0x1c3407=!0x0;break;}}return _0x1c3407;}),_0x159ad5[_0x44d0('0xa3')][_0x44d0('0x82')][_0x44d0('0x60')](_0x3373ed=>{let _0x42b02f=!0x1;const _0x1885f8=_0x159ad5['plugins']['get']('Users')['me'],_0x41b583=_0xc09994[_0x44d0('0x38')]()[_0x44d0('0x7')](_0x203bdf=>_0x203bdf[_0x44d0('0x5a')]&&_0x203bdf[_0x44d0('0x85')]==_0x1885f8),_0x21731f=new Set(),_0x1e54b3=new Set();for(const _0x3646f1 of _0x41b583)if(_0x44d0('0x51')==_0x3646f1['subType'])for(const _0x1fa069 of _0x3646f1[_0x44d0('0xa8')]()){const _0x529560=_0x1fa069[_0x44d0('0x71')]()[_0x44d0('0x10')]();if(_0x529560){if(_0x529560['is']('element','tableCellSuggestion')&&ce(_0x529560)){_0x3646f1[_0x44d0('0xa2')](_0x1fa069[_0x44d0('0x0')]),_0x21731f['add'](_0x529560),_0x42b02f=!0x0;const _0x364caf=_0x529560[_0x44d0('0x9e')],_0x3d8b27=_0x529560[_0x44d0('0x46')],_0x3e64b2=_0x364caf&&_0x364caf['is'](_0x44d0('0x73'),_0x44d0('0x54')),_0x1b343a=_0x3d8b27&&_0x3d8b27['is'](_0x44d0('0x73'),_0x44d0('0x54'));_0x3e64b2&&!_0x21731f[_0x44d0('0x12')](_0x364caf)&&_0x1e54b3[_0x44d0('0x8f')](_0x364caf),_0x1b343a&&!_0x21731f[_0x44d0('0x12')](_0x3d8b27)&&_0x1e54b3[_0x44d0('0x8f')](_0x3d8b27);}else _0x529560['is'](_0x44d0('0x73'),_0x44d0('0x76'))&&_0x529560[_0x44d0('0x5b')]&&(_0x3646f1[_0x44d0('0xa2')](_0x1fa069['name']),_0x42b02f=!0x0);}}else{if(_0x44d0('0x6c')==_0x3646f1[_0x44d0('0x3b')]){if(!_0x3646f1['attributes']||!_0x3646f1[_0x44d0('0x47')]['tablePasteChainId'])continue;const _0xa250ef=_0x3646f1['attributes']['markerAttributes'];if(_0xa250ef&&Object[_0x44d0('0x8c')](_0xa250ef)['length'])continue;const _0x42621a=_0x3646f1[_0x44d0('0x47')][_0x44d0('0x1c')];let _0x4bf195=!0x0,_0x464dda=!0x0;for(const _0x2f9d08 of _0x41b583)if(_0x2f9d08[_0x44d0('0x3b')]&&_0x2f9d08[_0x44d0('0x3b')][_0x44d0('0x2e')](_0x44d0('0x51'))){if(!_0x2f9d08[_0x44d0('0x47')]['tablePasteChainId']){_0x464dda=!0x1;break;}if(_0x2f9d08['id']!=_0x3646f1['id']&&_0x2f9d08['attributes']['tablePasteChainId']==_0x42621a){_0x4bf195=!0x1;break;}}_0x464dda&&_0x4bf195&&(_0x3646f1[_0x44d0('0x27')](),_0x42b02f=!0x0);}}for(const _0x46e213 of _0x21731f)_0x3373ed[_0x44d0('0x48')](_0x46e213);for(const _0x416091 of _0x1e54b3)_0x3373ed['unwrap'](_0x416091);return _0x42b02f;}),_0x159ad5[_0x44d0('0x6a')][_0x44d0('0x6b')](_0x44d0('0x31'))[_0x44d0('0x4')]({'model':'suggestion:formatBlock:tablePasteCell','view':(_0x48e7e1,_0xffa7e6)=>_0x5a1c25(_0x48e7e1),'converterPriority':_0x44d0('0x70')}),_0x159ad5[_0x44d0('0x6a')]['for'](_0x44d0('0x18'))[_0x44d0('0x4')]({'model':'suggestion:formatBlock:tablePasteCell','view':(_0x53777f,_0x23ed16)=>_0x23ed16['options']['showSuggestionHighlights']?_0x5a1c25(_0x53777f,!0x1):null,'converterPriority':_0x44d0('0x70')});const _0x1c44cf=_0x159ad5[_0x44d0('0x72')][_0x44d0('0x9b')];this[_0x44d0('0x2b')](_0x1c44cf[_0x44d0('0x82')],'clipboardOutput',(_0x43c23e,_0x751a45)=>{const _0x22af2d=[];for(const _0x52c2db of _0x1c44cf[_0x44d0('0x2c')](_0x751a45[_0x44d0('0x8e')])[_0x44d0('0x96')]())_0x52c2db['is']('element','suggestion-td')&&_0x22af2d[_0x44d0('0x2d')](_0x52c2db);_0x1c44cf['change'](_0x17540e=>{for(const _0x58002b of _0x22af2d)_0x17540e[_0x44d0('0x5f')](_0x17540e[_0x44d0('0x2c')](_0x58002b),_0x17540e[_0x44d0('0x9f')](_0x58002b)),_0x17540e[_0x44d0('0x48')](_0x58002b);});});}}function ce(_0xacb33f){if(_0xacb33f['isEmpty'])return!0x0;const _0x566529=_0xacb33f[_0x44d0('0x17')](0x0);return _0x566529['is'](_0x44d0('0x73'),'paragraph')&&_0x566529[_0x44d0('0x5b')];}function fe(_0x1fce2c,_0x5f2925={},_0x577653){for(const {isAnchor:_0x213c27,cellHeight:_0x19ce7d,cellWidth:_0x51dab7}of _0x577653[_0x44d0('0x40')](_0x1fce2c,{'includeAllSlots':!0x0,..._0x5f2925}))if(!_0x213c27||0x1!=_0x19ce7d||0x1!=_0x51dab7)return!0x1;return!0x0;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4a36=['get','document','_suggestionFactory','model','enableCommand','getContainedElement','resizeTable','getSuggestions','columnWidths','markBlockFormat','editor','getTableColumnsWidths','TableColumnResizeEditing','formatGroupId','plugins','accept','afterInit','bind','TrackChangesEditing','registerCustomCallback','has','getSelectedElement','data','commandParams','getSuggestionCallback','formatBlock','getColumnGroupElement','registerDescriptionCallback','tableWidth','discard','*Format:*\x20resize\x20table','handleResizeTableWidthCommand'];(function(_0x367acc,_0x4a36b4){const _0xd423d0=function(_0x399c7d){while(--_0x399c7d){_0x367acc['push'](_0x367acc['shift']());}};_0xd423d0(++_0x4a36b4);}(_0x4a36,0x149));const _0xd423=function(_0x367acc,_0x4a36b4){_0x367acc=_0x367acc-0x0;let _0xd423d0=_0x4a36[_0x367acc];return _0xd423d0;};import{Plugin as _0x56d04b}from'ckeditor5/src/core';import{getTranslation as _0x1fad54}from'../utils/common-translations';export default class wt extends _0x56d04b{[_0xd423('0x7')](){if(!this[_0xd423('0x1')][_0xd423('0x5')][_0xd423('0xb')](_0xd423('0x3')))return;const _0x30013b=this['editor'][_0xd423('0x5')][_0xd423('0x17')](_0xd423('0x9'));_0x30013b[_0xd423('0x1b')]('resizeTableWidth',this[_0xd423('0x16')][_0xd423('0x8')](this)),_0x30013b['enableCommand']('resizeColumnWidths',this[_0xd423('0x16')][_0xd423('0x8')](this)),_0x30013b[_0xd423('0x19')][_0xd423('0xa')](_0xd423('0x10'),_0xd423('0x1d'),_0xd423('0x6'),_0x30013b[_0xd423('0x19')][_0xd423('0xf')](_0xd423('0x10'),null,'discard')),_0x30013b['_suggestionFactory'][_0xd423('0xa')]('formatBlock',_0xd423('0x1d'),_0xd423('0x14'),_0x30013b['_suggestionFactory']['getSuggestionCallback'](_0xd423('0x10'),null,'accept')),_0x30013b['_descriptionFactory'][_0xd423('0x12')](this['handleSuggestionDescription'][_0xd423('0x8')](this));}['handleResizeTableWidthCommand'](_0x4f3e83,_0x51aafa){const _0x4084c4=this[_0xd423('0x1')][_0xd423('0x5')][_0xd423('0x17')]('TrackChangesEditing'),_0x2cd221=this[_0xd423('0x1')][_0xd423('0x5')][_0xd423('0x17')]('TableColumnResizeEditing'),_0x2d5fda=_0x51aafa['table']||this[_0xd423('0x1')][_0xd423('0x1a')][_0xd423('0x18')]['selection'][_0xd423('0xc')]();this['editor'][_0xd423('0x1a')]['change'](()=>{const _0x271a47=_0x2cd221[_0xd423('0x11')](_0x2d5fda);let _0x5c794f=_0x271a47?_0x2cd221[_0xd423('0x2')](_0x271a47):null,_0x5c6c06=_0x2d5fda['getAttribute'](_0xd423('0x13'))||null;const _0x1ccd90=_0x51aafa[_0xd423('0x13')]||_0x5c6c06,_0x55538c=_0x51aafa[_0xd423('0x1f')]||_0x5c794f,_0x197ab3=this[_0xd423('0x1')][_0xd423('0x5')][_0xd423('0x17')]('Users')['me'];for(const _0x346544 of _0x4084c4[_0xd423('0x1e')]()){const _0x5e25e2=_0x346544[_0xd423('0x1c')]();if('resizeTable'===_0x346544['subType']&&_0x5e25e2===_0x2d5fda){_0x346544['author']!==_0x197ab3&&_0x346544[_0xd423('0x14')]();const _0x4c0c23=_0x346544[_0xd423('0xd')][_0xd423('0xe')];_0x5c6c06=_0x4c0c23[0x0][_0xd423('0x13')],_0x5c794f=_0x4c0c23[0x0]['columnWidths'];break;}}_0x4f3e83({'table':_0x2d5fda,'tableWidth':_0x1ccd90,'columnWidths':_0x55538c}),_0x4084c4[_0xd423('0x0')](_0x2d5fda,{'commandName':'resizeTableWidth','commandParams':[{'tableWidth':_0x5c6c06,'columnWidths':_0x5c794f}],'formatGroupId':_0xd423('0x1d')},[],'resizeTable');});}['handleSuggestionDescription'](_0x325792){const {data:_0x1e50aa}=_0x325792;if(_0x1e50aa&&_0xd423('0x1d')===_0x1e50aa[_0xd423('0x4')]){const _0x52fbdb=_0xd423('0x15');return{'type':'format','content':_0x1fad54(this[_0xd423('0x1')]['locale'],_0x52fbdb)};}}}
23
+ const _0x3864=['getColumnGroupElement','resizeTableWidth','accept','afterInit','selection','get','registerCustomCallback','getSuggestionCallback','model','discard','TrackChangesEditing','getAttribute','getSuggestions','markBlockFormat','change','bind','editor','tableWidth','columnWidths','registerDescriptionCallback','author','handleResizeTableWidthCommand','enableCommand','Users','TableColumnResizeEditing','locale','formatGroupId','resizeTable','resizeColumnWidths','has','_suggestionFactory','document','format','data','formatBlock','plugins','handleSuggestionDescription','commandParams','_descriptionFactory'];(function(_0x2b3581,_0x386413){const _0x703ec=function(_0x555ede){while(--_0x555ede){_0x2b3581['push'](_0x2b3581['shift']());}};_0x703ec(++_0x386413);}(_0x3864,0x119));const _0x703e=function(_0x2b3581,_0x386413){_0x2b3581=_0x2b3581-0x0;let _0x703ec=_0x3864[_0x2b3581];return _0x703ec;};import{Plugin as _0x5463de}from'ckeditor5/src/core';import{getTranslation as _0x165b65}from'../utils/common-translations';export default class wt extends _0x5463de{[_0x703e('0x22')](){if(!this['editor'][_0x703e('0x1b')][_0x703e('0x15')](_0x703e('0x10')))return;const _0xe59b61=this['editor'][_0x703e('0x1b')]['get']('TrackChangesEditing');_0xe59b61[_0x703e('0xe')](_0x703e('0x20'),this[_0x703e('0xd')][_0x703e('0x7')](this)),_0xe59b61[_0x703e('0xe')](_0x703e('0x14'),this[_0x703e('0xd')][_0x703e('0x7')](this)),_0xe59b61[_0x703e('0x16')][_0x703e('0x25')]('formatBlock','resizeTable','accept',_0xe59b61[_0x703e('0x16')][_0x703e('0x26')](_0x703e('0x1a'),null,_0x703e('0x1'))),_0xe59b61[_0x703e('0x16')]['registerCustomCallback'](_0x703e('0x1a'),_0x703e('0x13'),'discard',_0xe59b61[_0x703e('0x16')][_0x703e('0x26')](_0x703e('0x1a'),null,_0x703e('0x21'))),_0xe59b61[_0x703e('0x1e')][_0x703e('0xb')](this[_0x703e('0x1c')][_0x703e('0x7')](this));}[_0x703e('0xd')](_0x1a1dfd,_0x526893){const _0x2a62d5=this['editor'][_0x703e('0x1b')][_0x703e('0x24')](_0x703e('0x2')),_0x236aba=this[_0x703e('0x8')]['plugins'][_0x703e('0x24')](_0x703e('0x10')),_0x51abfe=_0x526893['table']||this[_0x703e('0x8')][_0x703e('0x0')][_0x703e('0x17')][_0x703e('0x23')]['getSelectedElement']();this[_0x703e('0x8')]['model'][_0x703e('0x6')](()=>{const _0x499f26=_0x236aba[_0x703e('0x1f')](_0x51abfe);let _0x4672df=_0x499f26?_0x236aba['getTableColumnsWidths'](_0x499f26):null,_0x4f8234=_0x51abfe[_0x703e('0x3')](_0x703e('0x9'))||null;const _0x189cf2=_0x526893[_0x703e('0x9')]||_0x4f8234,_0x1a2197=_0x526893[_0x703e('0xa')]||_0x4672df,_0x5c22a4=this[_0x703e('0x8')][_0x703e('0x1b')][_0x703e('0x24')](_0x703e('0xf'))['me'];for(const _0x814e4c of _0x2a62d5[_0x703e('0x4')]()){const _0x29ffa2=_0x814e4c['getContainedElement']();if('resizeTable'===_0x814e4c['subType']&&_0x29ffa2===_0x51abfe){_0x814e4c[_0x703e('0xc')]!==_0x5c22a4&&_0x814e4c[_0x703e('0x1')]();const _0x4320f8=_0x814e4c[_0x703e('0x19')][_0x703e('0x1d')];_0x4f8234=_0x4320f8[0x0][_0x703e('0x9')],_0x4672df=_0x4320f8[0x0][_0x703e('0xa')];break;}}_0x1a1dfd({'table':_0x51abfe,'tableWidth':_0x189cf2,'columnWidths':_0x1a2197}),_0x2a62d5[_0x703e('0x5')](_0x51abfe,{'commandName':_0x703e('0x20'),'commandParams':[{'tableWidth':_0x4f8234,'columnWidths':_0x4672df}],'formatGroupId':_0x703e('0x13')},[],'resizeTable');});}[_0x703e('0x1c')](_0x17be36){const {data:_0x3e38cd}=_0x17be36;if(_0x3e38cd&&'resizeTable'===_0x3e38cd[_0x703e('0x12')]){const _0x2a32c1='*Format:*\x20resize\x20table';return{'type':_0x703e('0x18'),'content':_0x165b65(this[_0x703e('0x8')][_0x703e('0x11')],_0x2a32c1)};}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2d0f=['unbindElementFromMarkerName','FORMAT_REGULAR_COLUMN','TrackChangesEditing','showSuggestionHighlights','toViewElement','change','_descriptionFactory','FORMAT_REGULAR_ROW','nodeAfter','requires','last','accept','commands','locale','commandParams','markerNameToElements','parent','registerCustomCallback','createPositionAfter','afterInit','TableUtils','removeClass','highest','FORMAT_HEADER_ROW','_splitMarkerName','first','markBlockFormat','downcastDispatcher','setAttribute','_suggestionFactory','enableCommand','registerDescriptionCallback','markerName','getChild','formatBlock','getSelectionAffectedTableCells','end','has','activeMarkers','data','removeMarker:suggestion','markerRange','ck-suggestion-marker--active','_acceptFormatSuggestionCallbackFactory','createRange','getRowIndexes','childCount','writer','commandName','consume','forceValue','table','from','mapper','item','getSuggestion','start','findAncestor','addClass','cell','index','model','document','includes','data-suggestion','TableEditing','getCellLocation','value','setTableRowHeader','createPositionBefore','addMarker:suggestion','createTableWalker','getAttribute','name','headingRows','plugins','editing','get','getColumnIndexes','setTableColumnHeader','format'];(function(_0x453aa3,_0x2d0f26){const _0x5cecb4=function(_0x3079e1){while(--_0x3079e1){_0x453aa3['push'](_0x453aa3['shift']());}};_0x5cecb4(++_0x2d0f26);}(_0x2d0f,0x187));const _0x5cec=function(_0x453aa3,_0x2d0f26){_0x453aa3=_0x453aa3-0x0;let _0x5cecb4=_0x2d0f[_0x453aa3];return _0x5cecb4;};import{Plugin as _0x34e615}from'ckeditor5/src/core';import _0x7e359f from'./table';import{getTranslation as _0x294bc3}from'../utils/common-translations';export default class pt extends _0x34e615{static get[_0x5cec('0x17')](){return[_0x7e359f];}[_0x5cec('0x21')](){const _0x3d958a=this['editor'];if(!_0x3d958a[_0x5cec('0x8')][_0x5cec('0x33')](_0x5cec('0x4f')))return;const _0x3b9d6b=_0x3d958a[_0x5cec('0x1b')],_0x2f6c18=_0x3d958a[_0x5cec('0x8')]['get'](_0x5cec('0x10')),_0x180ee6=_0x3d958a[_0x5cec('0x8')][_0x5cec('0xa')](_0x5cec('0x22')),_0x52529a=_0x3d958a['plugins'][_0x5cec('0xa')](_0x7e359f);function _0x28a6f0({showActiveMarker:_0xcefbb4=!0x0,setDataAttribute:_0x3c0eec=!0x0}={}){return(_0x105505,_0x44c4e5,_0x3b6400)=>{const {type:_0x529723,id:_0x4254dc}=_0x2f6c18[_0x5cec('0x26')](_0x44c4e5[_0x5cec('0x2e')]),_0x47666d=_0x2f6c18[_0x5cec('0x45')](_0x4254dc);if(!_0x47666d[_0x5cec('0x35')]||_0x5cec('0xc')!=_0x47666d['data'][_0x5cec('0x3e')])return;if(_0x44c4e5[_0x5cec('0x44')])return void _0x105505['stop']();if(!_0x3b6400['consumable'][_0x5cec('0x3f')](_0x44c4e5[_0x5cec('0x37')],_0x105505[_0x5cec('0x6')]))return;const _0x391621=_0x44c4e5[_0x5cec('0x37')][_0x5cec('0x46')][_0x5cec('0x16')],_0x1594c7=_0x44c4e5[_0x5cec('0x37')][_0x5cec('0x32')]['nodeBefore'],_0x386f2d=_0x391621[_0x5cec('0x1e')][_0x5cec('0x1e')],{column:_0x209a9f}=_0x180ee6[_0x5cec('0x50')](_0x391621),{column:_0x4e374e}=_0x180ee6[_0x5cec('0x50')](_0x1594c7);for(let _0x931f72=_0x209a9f;_0x931f72<=_0x4e374e;_0x931f72++){const _0x268e1b=_0x180ee6[_0x5cec('0x4')](_0x386f2d,{'column':_0x931f72,'includeAllSlots':!0x1});for(const _0x148f7e of _0x268e1b){const _0x322f29=_0x148f7e[_0x5cec('0x49')],_0x366ce5=_0x3b6400[_0x5cec('0x43')][_0x5cec('0x12')](_0x322f29);_0x3b6400[_0x5cec('0x3d')][_0x5cec('0x48')]('ck-suggestion-marker-'+_0x529723,_0x366ce5),_0x3c0eec&&_0x3b6400['writer'][_0x5cec('0x2a')](_0x5cec('0x4e'),_0x4254dc,_0x366ce5),_0x3b6400[_0x5cec('0x43')]['bindElementToMarker'](_0x366ce5,_0x44c4e5[_0x5cec('0x2e')]),_0xcefbb4&&(_0x2f6c18[_0x5cec('0x34')][_0x5cec('0x4d')](_0x44c4e5[_0x5cec('0x2e')])?_0x3b6400['writer'][_0x5cec('0x48')]('ck-suggestion-marker--active',_0x366ce5):_0x3b6400['writer'][_0x5cec('0x23')](_0x5cec('0x38'),_0x366ce5));}}};}_0x2f6c18[_0x5cec('0x2c')](_0x5cec('0x1'),(_0x24502f,_0x42f01c)=>{const _0x265afd=_0x180ee6[_0x5cec('0x31')](_0x3d958a[_0x5cec('0x4b')][_0x5cec('0x4c')]['selection']),_0x48d0bb=_0x180ee6[_0x5cec('0x3b')](_0x265afd),_0x16c067=_0x265afd[0x0]['findAncestor'](_0x5cec('0x41')),_0x99533f=_0x16c067[_0x5cec('0x5')](_0x5cec('0x7'))||0x0,_0x24935b=_0x42f01c&&null!==_0x42f01c[_0x5cec('0x40')]?_0x42f01c[_0x5cec('0x40')]:!_0x3d958a[_0x5cec('0x1a')]['get'](_0x5cec('0x1'))[_0x5cec('0x0')],_0x3123ed=_0x24935b?_0x48d0bb[_0x5cec('0x18')]:_0x48d0bb[_0x5cec('0x27')],_0x5b9e30=_0x16c067[_0x5cec('0x2f')](_0x3123ed);let _0x286d53;if(_0x24935b){const _0x1a0184=_0x16c067[_0x5cec('0x2f')](_0x99533f);if(_0x5b9e30['index']<_0x1a0184[_0x5cec('0x4a')])return;_0x286d53=_0x3d958a[_0x5cec('0x4b')][_0x5cec('0x3a')](_0x3d958a[_0x5cec('0x4b')][_0x5cec('0x2')](_0x1a0184[_0x5cec('0x2f')](0x0)),_0x3d958a[_0x5cec('0x4b')][_0x5cec('0x20')](_0x5b9e30[_0x5cec('0x2f')](_0x5b9e30[_0x5cec('0x3c')]-0x1)));}else{const _0x8c92d1=_0x16c067['getChild'](_0x99533f-0x1);if(!_0x8c92d1)return;_0x286d53=_0x3d958a[_0x5cec('0x4b')][_0x5cec('0x3a')](_0x3d958a[_0x5cec('0x4b')]['createPositionBefore'](_0x5b9e30[_0x5cec('0x2f')](0x0)),_0x3d958a[_0x5cec('0x4b')]['createPositionAfter'](_0x8c92d1['getChild'](_0x8c92d1[_0x5cec('0x3c')]-0x1)));}_0x3d958a[_0x5cec('0x4b')][_0x5cec('0x13')](()=>{_0x2f6c18[_0x5cec('0x28')](_0x286d53,{'commandName':_0x5cec('0x1'),'commandParams':[{'forceValue':_0x24935b}]},[],_0x5cec('0x1'));});}),_0x2f6c18[_0x5cec('0x2c')](_0x5cec('0xc'),(_0x2300ff,_0x6f4883)=>{const _0x10f758=_0x3d958a['plugins'][_0x5cec('0xa')]('TableUtils'),_0x1e9939=_0x10f758[_0x5cec('0x31')](_0x3d958a[_0x5cec('0x4b')]['document']['selection']),_0x599e39=_0x10f758[_0x5cec('0xb')](_0x1e9939),_0x1c46ef=_0x1e9939[0x0][_0x5cec('0x47')](_0x5cec('0x41')),_0x42656b=_0x1c46ef['getAttribute']('headingColumns')||0x0,_0x2f6e08=_0x6f4883&&null!==_0x6f4883[_0x5cec('0x40')]?_0x6f4883[_0x5cec('0x40')]:!_0x3d958a[_0x5cec('0x1a')][_0x5cec('0xa')]('setTableColumnHeader')[_0x5cec('0x0')];let _0x12e586;const _0x3ba118=_0x1c46ef['getChild'](0x0),_0x5cd806=_0x2f6e08?_0x599e39[_0x5cec('0x18')]:_0x599e39[_0x5cec('0x27')],_0x51877d=_0x10f758[_0x5cec('0x4')](_0x1c46ef,{'startRow':0x0,'column':_0x5cd806,'includeAllSlots':!0x1}),_0x41557e=Array[_0x5cec('0x42')](_0x51877d)[0x0][_0x5cec('0x49')];if(_0x2f6e08){const _0x1e0459=_0x3ba118[_0x5cec('0x2f')](_0x42656b);if(_0x41557e['isBefore'](_0x1e0459))return;_0x12e586=_0x3d958a[_0x5cec('0x4b')][_0x5cec('0x3a')](_0x3d958a[_0x5cec('0x4b')][_0x5cec('0x2')](_0x1e0459),_0x3d958a['model'][_0x5cec('0x20')](_0x41557e));}else{const _0x1369c8=_0x3ba118[_0x5cec('0x2f')](_0x42656b-0x1);if(!_0x1369c8)return;_0x12e586=_0x3d958a[_0x5cec('0x4b')][_0x5cec('0x3a')](_0x3d958a[_0x5cec('0x4b')]['createPositionBefore'](_0x41557e),_0x3d958a['model'][_0x5cec('0x20')](_0x1369c8));}_0x3d958a['model']['change'](()=>{_0x2f6c18[_0x5cec('0x28')](_0x12e586,{'commandName':_0x5cec('0xc'),'commandParams':[{'forceValue':_0x2f6e08}]},[],_0x5cec('0xc'));});}),_0x3d958a[_0x5cec('0x9')][_0x5cec('0x29')]['on'](_0x5cec('0x3'),_0x28a6f0(),{'priority':_0x5cec('0x24')}),_0x3d958a[_0x5cec('0x35')][_0x5cec('0x29')]['on']('addMarker:suggestion',(_0x54f0b2,_0x1c0736,_0xc6d5a2)=>{_0xc6d5a2['options'][_0x5cec('0x11')]&&_0x28a6f0({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x54f0b2,_0x1c0736,_0xc6d5a2);},{'priority':_0x5cec('0x24')}),_0x3d958a[_0x5cec('0x9')][_0x5cec('0x29')]['on'](_0x5cec('0x36'),(_0x39d57d,_0xa476c5,_0x391168)=>{const {type:_0x560d08,id:_0x5b436c}=_0x2f6c18[_0x5cec('0x26')](_0xa476c5['markerName']),_0x293258=_0x2f6c18['getSuggestion'](_0x5b436c);if(!_0x293258[_0x5cec('0x35')]||_0x5cec('0xc')!=_0x293258[_0x5cec('0x35')]['commandName'])return;const _0x4456a1=_0x391168[_0x5cec('0x43')][_0x5cec('0x1d')](_0xa476c5[_0x5cec('0x2e')]);if(_0x4456a1)for(const _0x4495b4 of _0x4456a1)_0x391168[_0x5cec('0x3d')][_0x5cec('0x23')]('ck-suggestion-marker-'+_0x560d08,_0x4495b4),_0x391168[_0x5cec('0x3d')][_0x5cec('0x23')](_0x5cec('0x38'),_0x4495b4),_0x391168['writer']['removeAttribute'](_0x5cec('0x4e'),_0x4495b4),_0x391168['mapper'][_0x5cec('0xe')](_0x4495b4,_0xa476c5[_0x5cec('0x2e')]);},{'priority':'highest'}),_0x2f6c18[_0x5cec('0x14')][_0x5cec('0x2d')](_0x23ead5=>{const {data:_0x443f2f}=_0x23ead5;if(_0x443f2f){if('setTableRowHeader'==_0x443f2f[_0x5cec('0x3e')]){const _0x7e3e03=_0x443f2f[_0x5cec('0x1c')][0x0][_0x5cec('0x40')];return _0x2da1cf(_0x294bc3(_0x3b9d6b,_0x7e3e03?_0x5cec('0x25'):_0x5cec('0x15')));}if(_0x5cec('0xc')==_0x443f2f[_0x5cec('0x3e')]){const _0x32da48=_0x443f2f[_0x5cec('0x1c')][0x0][_0x5cec('0x40')];return _0x2da1cf(_0x294bc3(_0x3b9d6b,_0x32da48?'FORMAT_HEADER_COLUMN':_0x5cec('0xf')));}}function _0x2da1cf(_0x305e1a){return{'type':_0x5cec('0xd'),'content':_0x294bc3(_0x3b9d6b,'*Format:*\x20%0',_0x305e1a)};}});const _0x1a886e=_0x52529a[_0x5cec('0x39')]();_0x2f6c18[_0x5cec('0x2b')][_0x5cec('0x1f')](_0x5cec('0x30'),_0x5cec('0x1'),_0x5cec('0x19'),_0x1a886e),_0x2f6c18[_0x5cec('0x2b')][_0x5cec('0x1f')](_0x5cec('0x30'),_0x5cec('0xc'),_0x5cec('0x19'),_0x1a886e);}}
23
+ const _0x26a3=['model','commandName','addMarker:suggestion','from','parent','ck-suggestion-marker--active','markBlockFormat','registerDescriptionCallback','data','options','childCount','consumable','writer','ck-suggestion-marker-','nodeBefore','editor','setTableColumnHeader','name','selection','setTableRowHeader','getCellLocation','data-suggestion','_descriptionFactory','createPositionBefore','afterInit','getRowIndexes','headingRows','editing','createTableWalker','table','activeMarkers','createRange','getSuggestion','plugins','headingColumns','TableUtils','*Format:*\x20%0','highest','bindElementToMarker','last','formatBlock','index','forceValue','FORMAT_REGULAR_ROW','consume','addClass','markerRange','registerCustomCallback','downcastDispatcher','_splitMarkerName','isBefore','cell','commands','createPositionAfter','showSuggestionHighlights','commandParams','removeClass','getSelectionAffectedTableCells','get','TableEditing','has','end','mapper','locale','getColumnIndexes','nodeAfter','stop','removeAttribute','_suggestionFactory','document','markerName','first','change','value','getChild','unbindElementFromMarkerName'];(function(_0x202afb,_0x26a3c8){const _0xe8c437=function(_0x434e42){while(--_0x434e42){_0x202afb['push'](_0x202afb['shift']());}};_0xe8c437(++_0x26a3c8);}(_0x26a3,0xeb));const _0xe8c4=function(_0x202afb,_0x26a3c8){_0x202afb=_0x202afb-0x0;let _0xe8c437=_0x26a3[_0x202afb];return _0xe8c437;};import{Plugin as _0x5da303}from'ckeditor5/src/core';import _0x2e3a90 from'./table';import{getTranslation as _0x3afef9}from'../utils/common-translations';export default class pt extends _0x5da303{static get['requires'](){return[_0x2e3a90];}[_0xe8c4('0x11')](){const _0x1acbe9=this[_0xe8c4('0x8')];if(!_0x1acbe9[_0xe8c4('0x1a')][_0xe8c4('0x35')](_0xe8c4('0x34')))return;const _0x1b8631=_0x1acbe9[_0xe8c4('0x38')],_0x4a3a23=_0x1acbe9[_0xe8c4('0x1a')][_0xe8c4('0x33')]('TrackChangesEditing'),_0x29e980=_0x1acbe9[_0xe8c4('0x1a')][_0xe8c4('0x33')](_0xe8c4('0x1c')),_0x2e0863=_0x1acbe9['plugins'][_0xe8c4('0x33')](_0x2e3a90);function _0x1bd11a({showActiveMarker:_0x3dbf56=!0x0,setDataAttribute:_0xd6f8be=!0x0}={}){return(_0x1d3491,_0xcb2e22,_0x2feda7)=>{const {type:_0x3410e0,id:_0xb63d73}=_0x4a3a23[_0xe8c4('0x2a')](_0xcb2e22[_0xe8c4('0x3f')]),_0x50dc16=_0x4a3a23['getSuggestion'](_0xb63d73);if(!_0x50dc16[_0xe8c4('0x1')]||_0xe8c4('0x9')!=_0x50dc16['data'][_0xe8c4('0x46')])return;if(_0xcb2e22['item'])return void _0x1d3491[_0xe8c4('0x3b')]();if(!_0x2feda7[_0xe8c4('0x4')][_0xe8c4('0x25')](_0xcb2e22[_0xe8c4('0x27')],_0x1d3491[_0xe8c4('0xa')]))return;const _0x2c355f=_0xcb2e22[_0xe8c4('0x27')]['start'][_0xe8c4('0x3a')],_0x1727d4=_0xcb2e22['markerRange'][_0xe8c4('0x36')][_0xe8c4('0x7')],_0x33ebe7=_0x2c355f[_0xe8c4('0x49')]['parent'],{column:_0x4987a9}=_0x29e980[_0xe8c4('0xd')](_0x2c355f),{column:_0x36cc28}=_0x29e980[_0xe8c4('0xd')](_0x1727d4);for(let _0x566089=_0x4987a9;_0x566089<=_0x36cc28;_0x566089++){const _0x4bdfe8=_0x29e980[_0xe8c4('0x15')](_0x33ebe7,{'column':_0x566089,'includeAllSlots':!0x1});for(const _0x1b795f of _0x4bdfe8){const _0x93d9c=_0x1b795f[_0xe8c4('0x2c')],_0x3b9d13=_0x2feda7[_0xe8c4('0x37')]['toViewElement'](_0x93d9c);_0x2feda7[_0xe8c4('0x5')][_0xe8c4('0x26')](_0xe8c4('0x6')+_0x3410e0,_0x3b9d13),_0xd6f8be&&_0x2feda7[_0xe8c4('0x5')]['setAttribute'](_0xe8c4('0xe'),_0xb63d73,_0x3b9d13),_0x2feda7[_0xe8c4('0x37')][_0xe8c4('0x1f')](_0x3b9d13,_0xcb2e22[_0xe8c4('0x3f')]),_0x3dbf56&&(_0x4a3a23[_0xe8c4('0x17')]['includes'](_0xcb2e22[_0xe8c4('0x3f')])?_0x2feda7[_0xe8c4('0x5')]['addClass']('ck-suggestion-marker--active',_0x3b9d13):_0x2feda7[_0xe8c4('0x5')][_0xe8c4('0x31')](_0xe8c4('0x4a'),_0x3b9d13));}}};}_0x4a3a23['enableCommand'](_0xe8c4('0xc'),(_0x61f21e,_0x38e400)=>{const _0x58b4b7=_0x29e980[_0xe8c4('0x32')](_0x1acbe9[_0xe8c4('0x45')]['document'][_0xe8c4('0xb')]),_0x12c819=_0x29e980[_0xe8c4('0x12')](_0x58b4b7),_0x482133=_0x58b4b7[0x0]['findAncestor'](_0xe8c4('0x16')),_0x3ba279=_0x482133['getAttribute'](_0xe8c4('0x13'))||0x0,_0x3ac76d=_0x38e400&&null!==_0x38e400['forceValue']?_0x38e400[_0xe8c4('0x23')]:!_0x1acbe9['commands']['get'](_0xe8c4('0xc'))['value'],_0x21750b=_0x3ac76d?_0x12c819[_0xe8c4('0x20')]:_0x12c819[_0xe8c4('0x40')],_0x82c5de=_0x482133['getChild'](_0x21750b);let _0x45e55e;if(_0x3ac76d){const _0x5574d1=_0x482133[_0xe8c4('0x43')](_0x3ba279);if(_0x82c5de[_0xe8c4('0x22')]<_0x5574d1[_0xe8c4('0x22')])return;_0x45e55e=_0x1acbe9[_0xe8c4('0x45')][_0xe8c4('0x18')](_0x1acbe9[_0xe8c4('0x45')][_0xe8c4('0x10')](_0x5574d1[_0xe8c4('0x43')](0x0)),_0x1acbe9[_0xe8c4('0x45')]['createPositionAfter'](_0x82c5de['getChild'](_0x82c5de[_0xe8c4('0x3')]-0x1)));}else{const _0x698931=_0x482133[_0xe8c4('0x43')](_0x3ba279-0x1);if(!_0x698931)return;_0x45e55e=_0x1acbe9[_0xe8c4('0x45')][_0xe8c4('0x18')](_0x1acbe9[_0xe8c4('0x45')][_0xe8c4('0x10')](_0x82c5de['getChild'](0x0)),_0x1acbe9[_0xe8c4('0x45')][_0xe8c4('0x2e')](_0x698931[_0xe8c4('0x43')](_0x698931[_0xe8c4('0x3')]-0x1)));}_0x1acbe9['model'][_0xe8c4('0x41')](()=>{_0x4a3a23[_0xe8c4('0x4b')](_0x45e55e,{'commandName':_0xe8c4('0xc'),'commandParams':[{'forceValue':_0x3ac76d}]},[],_0xe8c4('0xc'));});}),_0x4a3a23['enableCommand'](_0xe8c4('0x9'),(_0xe81771,_0x2c6f11)=>{const _0xe98fcb=_0x1acbe9[_0xe8c4('0x1a')][_0xe8c4('0x33')](_0xe8c4('0x1c')),_0x162794=_0xe98fcb[_0xe8c4('0x32')](_0x1acbe9[_0xe8c4('0x45')][_0xe8c4('0x3e')][_0xe8c4('0xb')]),_0x3b738c=_0xe98fcb[_0xe8c4('0x39')](_0x162794),_0x5f3bf2=_0x162794[0x0]['findAncestor'](_0xe8c4('0x16')),_0x2ceaa3=_0x5f3bf2['getAttribute'](_0xe8c4('0x1b'))||0x0,_0x2358de=_0x2c6f11&&null!==_0x2c6f11['forceValue']?_0x2c6f11[_0xe8c4('0x23')]:!_0x1acbe9[_0xe8c4('0x2d')][_0xe8c4('0x33')](_0xe8c4('0x9'))[_0xe8c4('0x42')];let _0x180a62;const _0x6fd08c=_0x5f3bf2[_0xe8c4('0x43')](0x0),_0x4b644d=_0x2358de?_0x3b738c[_0xe8c4('0x20')]:_0x3b738c[_0xe8c4('0x40')],_0x43d18f=_0xe98fcb[_0xe8c4('0x15')](_0x5f3bf2,{'startRow':0x0,'column':_0x4b644d,'includeAllSlots':!0x1}),_0x546e98=Array[_0xe8c4('0x48')](_0x43d18f)[0x0][_0xe8c4('0x2c')];if(_0x2358de){const _0x3f7ca2=_0x6fd08c['getChild'](_0x2ceaa3);if(_0x546e98[_0xe8c4('0x2b')](_0x3f7ca2))return;_0x180a62=_0x1acbe9[_0xe8c4('0x45')][_0xe8c4('0x18')](_0x1acbe9[_0xe8c4('0x45')][_0xe8c4('0x10')](_0x3f7ca2),_0x1acbe9[_0xe8c4('0x45')][_0xe8c4('0x2e')](_0x546e98));}else{const _0x43e6f4=_0x6fd08c[_0xe8c4('0x43')](_0x2ceaa3-0x1);if(!_0x43e6f4)return;_0x180a62=_0x1acbe9[_0xe8c4('0x45')][_0xe8c4('0x18')](_0x1acbe9[_0xe8c4('0x45')]['createPositionBefore'](_0x546e98),_0x1acbe9[_0xe8c4('0x45')][_0xe8c4('0x2e')](_0x43e6f4));}_0x1acbe9[_0xe8c4('0x45')]['change'](()=>{_0x4a3a23['markBlockFormat'](_0x180a62,{'commandName':_0xe8c4('0x9'),'commandParams':[{'forceValue':_0x2358de}]},[],_0xe8c4('0x9'));});}),_0x1acbe9[_0xe8c4('0x14')][_0xe8c4('0x29')]['on'](_0xe8c4('0x47'),_0x1bd11a(),{'priority':_0xe8c4('0x1e')}),_0x1acbe9['data'][_0xe8c4('0x29')]['on']('addMarker:suggestion',(_0x40d9be,_0x140164,_0x1045ae)=>{_0x1045ae[_0xe8c4('0x2')][_0xe8c4('0x2f')]&&_0x1bd11a({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x40d9be,_0x140164,_0x1045ae);},{'priority':_0xe8c4('0x1e')}),_0x1acbe9[_0xe8c4('0x14')][_0xe8c4('0x29')]['on']('removeMarker:suggestion',(_0x5af0ee,_0xd1718f,_0x4c1aa1)=>{const {type:_0x12fae9,id:_0x15fb8d}=_0x4a3a23[_0xe8c4('0x2a')](_0xd1718f[_0xe8c4('0x3f')]),_0x196c3c=_0x4a3a23[_0xe8c4('0x19')](_0x15fb8d);if(!_0x196c3c[_0xe8c4('0x1')]||'setTableColumnHeader'!=_0x196c3c[_0xe8c4('0x1')]['commandName'])return;const _0x1e2826=_0x4c1aa1[_0xe8c4('0x37')]['markerNameToElements'](_0xd1718f[_0xe8c4('0x3f')]);if(_0x1e2826)for(const _0x524c2f of _0x1e2826)_0x4c1aa1[_0xe8c4('0x5')][_0xe8c4('0x31')](_0xe8c4('0x6')+_0x12fae9,_0x524c2f),_0x4c1aa1[_0xe8c4('0x5')][_0xe8c4('0x31')](_0xe8c4('0x4a'),_0x524c2f),_0x4c1aa1['writer'][_0xe8c4('0x3c')](_0xe8c4('0xe'),_0x524c2f),_0x4c1aa1[_0xe8c4('0x37')][_0xe8c4('0x44')](_0x524c2f,_0xd1718f['markerName']);},{'priority':_0xe8c4('0x1e')}),_0x4a3a23[_0xe8c4('0xf')][_0xe8c4('0x0')](_0x4af857=>{const {data:_0x29c6dc}=_0x4af857;if(_0x29c6dc){if(_0xe8c4('0xc')==_0x29c6dc[_0xe8c4('0x46')]){const _0x4460cf=_0x29c6dc[_0xe8c4('0x30')][0x0][_0xe8c4('0x23')];return _0x714ce(_0x3afef9(_0x1b8631,_0x4460cf?'FORMAT_HEADER_ROW':_0xe8c4('0x24')));}if(_0xe8c4('0x9')==_0x29c6dc[_0xe8c4('0x46')]){const _0x10daef=_0x29c6dc[_0xe8c4('0x30')][0x0][_0xe8c4('0x23')];return _0x714ce(_0x3afef9(_0x1b8631,_0x10daef?'FORMAT_HEADER_COLUMN':'FORMAT_REGULAR_COLUMN'));}}function _0x714ce(_0x5b034b){return{'type':'format','content':_0x3afef9(_0x1b8631,_0xe8c4('0x1d'),_0x5b034b)};}});const _0x1af804=_0x2e0863['_acceptFormatSuggestionCallbackFactory']();_0x4a3a23[_0xe8c4('0x3d')][_0xe8c4('0x28')]('formatBlock',_0xe8c4('0xc'),'accept',_0x1af804),_0x4a3a23['_suggestionFactory'][_0xe8c4('0x28')](_0xe8c4('0x21'),_0xe8c4('0x9'),'accept',_0x1af804);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2c70=['createRangeOn','getRanges','locale','_areSelectedCellsMergable','isInContent','selection','stop','find','execute','return','low','model','tableCell','isEnabled','add','requires','direction','has','enableCommand','_areMergableCells','commands','_isForcedDefaultExecutionBlock','accept','registerCustomCallback','TableUtils','subType','*Merge\x20cells*','change','findAncestor','splitTableCellHorizontally','createTableWalker','highest','_suggestionFactory','filter','root','markMultiRangeBlockFormat','commandName','*Split\x20cell:*\x20vertically','*Split\x20cell:*\x20horizontally','registerDescriptionCallback','push','getSelectionAffectedTableCells','_acceptFormatSuggestionCallbackFactory','editor','cell','getAncestors','length','element','getSuggestions','value','mergeTableCellDown','format','document','_descriptionFactory','TableEditing','map','formatBlock','get','size','rootName','getFirstPosition','TrackChangesEditing','setSelection','plugins','type','mergeTableCellUp','forceDefaultExecution','horizontally','mergeTableCellLeft','from','mergeTableCellRight','trackChanges','splitTableCellVertically','author','afterInit','mergeTableCells','detach','containsRange','$graveyard'];(function(_0x438864,_0x2c70ae){const _0x2d2d99=function(_0x5bab4d){while(--_0x5bab4d){_0x438864['push'](_0x438864['shift']());}};_0x2d2d99(++_0x2c70ae);}(_0x2c70,0x17f));const _0x2d2d=function(_0x438864,_0x2c70ae){_0x438864=_0x438864-0x0;let _0x2d2d99=_0x2c70[_0x438864];return _0x2d2d99;};import{Plugin as _0x5c8447}from'ckeditor5/src/core';import _0x5340e9 from'./table';import{LiveRange as _0x32e8ac}from'ckeditor5/src/engine';import{getTranslation as _0x234375}from'../utils/common-translations';export default class dt extends _0x5c8447{static get[_0x2d2d('0x1b')](){return[_0x5340e9];}[_0x2d2d('0x7')](){const _0x3d827f=this[_0x2d2d('0x37')],_0x19d168=_0x3d827f[_0x2d2d('0x17')][_0x2d2d('0x40')]['selection'],_0x180fe1=_0x3d827f[_0x2d2d('0xe')];if(!_0x3d827f[_0x2d2d('0x4b')][_0x2d2d('0x1d')](_0x2d2d('0x42')))return;const _0x3e39cf=_0x3d827f['plugins'][_0x2d2d('0x45')]('TrackChangesEditing'),_0x372629=_0x3d827f[_0x2d2d('0x4b')][_0x2d2d('0x45')](_0x2d2d('0x24')),_0x34d128=_0x3d827f[_0x2d2d('0x4b')][_0x2d2d('0x45')](_0x5340e9);_0x34d128['_tablePostFixingSubtypes'][_0x2d2d('0x34')](_0x2d2d('0x8')),_0x3e39cf[_0x2d2d('0x1e')](_0x2d2d('0x8'),()=>{const _0x455409=_0x372629[_0x2d2d('0x35')](_0x3d827f[_0x2d2d('0x17')][_0x2d2d('0x40')][_0x2d2d('0x11')]);_0x3d827f[_0x2d2d('0x17')][_0x2d2d('0x27')](()=>{_0x3e39cf[_0x2d2d('0x2f')](_0x455409,{'commandName':_0x2d2d('0x8'),'commandParams':[]},[],_0x2d2d('0x8'));});}),_0x3d827f[_0x2d2d('0x20')][_0x2d2d('0x45')]('mergeTableCells')['on'](_0x2d2d('0x14'),(_0xab9af7,_0x2e2e6b)=>{_0x3d827f[_0x2d2d('0x20')][_0x2d2d('0x45')](_0x2d2d('0x4'))['value']&&(_0x2e2e6b[_0x2d2d('0x3a')]>0x0&&_0x2e2e6b[_0x2e2e6b[_0x2d2d('0x3a')]-0x1]&&_0x2e2e6b[_0x2e2e6b[_0x2d2d('0x3a')]-0x1][_0x2d2d('0x4e')]||_0x3e39cf[_0x2d2d('0x21')]||this[_0x2d2d('0xf')]()||_0xab9af7[_0x2d2d('0x12')]());},{'priority':_0x2d2d('0x2b')});for(const _0x1de934 of[_0x2d2d('0x4d'),_0x2d2d('0x3'),_0x2d2d('0x3e'),'mergeTableCellLeft']){const _0x5f1aff=_0x3d827f['commands']['get'](_0x1de934);_0x3e39cf['enableCommand'](_0x1de934,()=>{const _0x52546d=_0x3d827f['model']['document']['selection']['getFirstPosition']()[_0x2d2d('0x39')]()[_0x2d2d('0x13')](_0x275e90=>_0x275e90['is'](_0x2d2d('0x3b'),_0x2d2d('0x18'))),_0x5a2ac5=_0x5f1aff['value'];_0x3d827f['model']['change'](()=>{_0x3e39cf[_0x2d2d('0x2f')]([_0x52546d,_0x5a2ac5],{'commandName':_0x2d2d('0x8'),'commandParams':[]},[],_0x2d2d('0x8'));});});}for(const _0x438911 of[_0x2d2d('0x5'),_0x2d2d('0x29')]){const _0x5a59bc=_0x3d827f[_0x2d2d('0x20')]['get'](_0x438911);_0x3e39cf[_0x2d2d('0x1e')](_0x438911,()=>{const _0x15b128=_0x372629[_0x2d2d('0x35')](_0x3d827f['model']['document']['selection'])[0x0],_0x19ee8d=_0x15b128[_0x2d2d('0x28')]('table'),{column:_0x231ab1,row:_0x25dd69}=_0x372629['getCellLocation'](_0x15b128);let _0x4c9077=[];if(_0x2d2d('0x0')==_0x5a59bc[_0x2d2d('0x1c')]){const _0x27fad2=_0x372629['createTableWalker'](_0x19ee8d,{'startRow':_0x25dd69,'endRow':_0x25dd69,'includeAllSlots':!0x0});_0x4c9077=Array[_0x2d2d('0x2')](_0x27fad2)[_0x2d2d('0x43')](_0x279278=>_0x279278[_0x2d2d('0x38')]);}else{const _0x322756=_0x372629[_0x2d2d('0x2a')](_0x19ee8d,{'column':_0x231ab1,'includeAllSlots':!0x0});_0x4c9077=Array[_0x2d2d('0x2')](_0x322756)[_0x2d2d('0x43')](_0x369a53=>_0x369a53[_0x2d2d('0x38')]);}_0x3d827f[_0x2d2d('0x17')][_0x2d2d('0x27')](_0x341939=>{_0x3e39cf['markBlockFormat'](_0x341939[_0x2d2d('0xc')](_0x15b128),{'commandName':_0x438911,'commandParams':[]},_0x4c9077,_0x438911);});});}_0x3e39cf['_descriptionFactory'][_0x2d2d('0x33')](_0x1cc1e5=>{const {data:_0x4530b2}=_0x1cc1e5;if(_0x4530b2)return _0x2d2d('0x8')==_0x4530b2[_0x2d2d('0x30')]?{'type':_0x2d2d('0x3f'),'content':_0x234375(_0x180fe1,_0x2d2d('0x26'))}:void 0x0;}),_0x3e39cf[_0x2d2d('0x41')][_0x2d2d('0x33')](_0x107c4f=>{const {data:_0x308758}=_0x107c4f;if(_0x308758)return _0x2d2d('0x5')==_0x308758[_0x2d2d('0x30')]?{'type':_0x2d2d('0x3f'),'content':_0x234375(_0x180fe1,_0x2d2d('0x31'))}:_0x2d2d('0x29')==_0x308758['commandName']?{'type':_0x2d2d('0x3f'),'content':_0x234375(_0x180fe1,_0x2d2d('0x32'))}:void 0x0;});const _0x11fa0c=_0x34d128[_0x2d2d('0x36')]();for(const _0x586781 of['mergeTableCellUp',_0x2d2d('0x3'),_0x2d2d('0x3e'),_0x2d2d('0x1')])_0x3e39cf[_0x2d2d('0x2c')][_0x2d2d('0x23')](_0x2d2d('0x44'),_0x586781,'accept',_0x11fa0c);for(const _0x39c403 of['splitTableCellVertically',_0x2d2d('0x29')])_0x3e39cf[_0x2d2d('0x2c')][_0x2d2d('0x23')](_0x2d2d('0x44'),_0x39c403,_0x2d2d('0x22'),_0x11fa0c);_0x3e39cf[_0x2d2d('0x2c')][_0x2d2d('0x23')]('formatBlock',_0x2d2d('0x8'),_0x2d2d('0x22'),_0x191ff8=>{_0x3d827f[_0x2d2d('0x17')][_0x2d2d('0x27')](_0x5eca02=>{const _0x217849=Array['from'](_0x19d168[_0x2d2d('0xd')]())[_0x2d2d('0x43')](_0x7e5067=>_0x32e8ac['fromRange'](_0x7e5067));_0x5eca02[_0x2d2d('0x4a')](_0x191ff8),_0x3d827f['commands']['get']('mergeTableCells')['refresh'](),_0x3d827f[_0x2d2d('0x14')](_0x2d2d('0x8'),{'forceDefaultExecution':!0x0});const _0x1f748a=_0x217849[_0x2d2d('0x2d')](_0x5de149=>_0x2d2d('0xb')!=_0x5de149[_0x2d2d('0x2e')][_0x2d2d('0x47')]);_0x1f748a[_0x2d2d('0x3a')]>0x0&&_0x5eca02[_0x2d2d('0x4a')](_0x1f748a);for(const _0x59cc5b of _0x217849)_0x59cc5b[_0x2d2d('0x9')]();});});for(const _0x14121e of[_0x2d2d('0x4d'),_0x2d2d('0x3e'),_0x2d2d('0x1'),_0x2d2d('0x3')]){const _0x48d08b=_0x3d827f['commands'][_0x2d2d('0x45')](_0x14121e);_0x48d08b['on']('set:isEnabled',(_0x4a4564,_0x1f1534,_0x34fc49)=>{if(_0x34fc49){const _0x583f78=_0x3d827f['model'][_0x2d2d('0x40')][_0x2d2d('0x11')][_0x2d2d('0x48')]()[_0x2d2d('0x39')]()['find'](_0x2aa65c=>_0x2aa65c['is'](_0x2d2d('0x3b'),'tableCell'));this['_areMergableCells'](_0x48d08b[_0x2d2d('0x3d')],_0x583f78)||(_0x4a4564[_0x2d2d('0x15')]=!0x1,_0x4a4564[_0x2d2d('0x12')]());}},{'priority':_0x2d2d('0x16')});}}['_areSelectedCellsMergable'](){const _0xfa03f4=this[_0x2d2d('0x37')][_0x2d2d('0x20')][_0x2d2d('0x45')]('mergeTableCells'),_0x1eb7b5=this[_0x2d2d('0x37')][_0x2d2d('0x4b')][_0x2d2d('0x45')](_0x2d2d('0x24'));if(!_0xfa03f4[_0x2d2d('0x19')])return!0x1;const _0xcbd5de=_0x1eb7b5[_0x2d2d('0x35')](this['editor'][_0x2d2d('0x17')][_0x2d2d('0x40')][_0x2d2d('0x11')]);for(const _0x25962f of _0xcbd5de)for(const _0x49b6e0 of _0xcbd5de)if(_0x25962f!=_0x49b6e0&&!this[_0x2d2d('0x1f')](_0x25962f,_0x49b6e0))return!0x1;return!0x0;}['_areMergableCells'](_0x553a85,_0x4fcf07){const _0x5aae5f=this[_0x2d2d('0x37')][_0x2d2d('0x4b')]['get'](_0x2d2d('0x49')),_0x33644b=this[_0x2d2d('0x37')][_0x2d2d('0x17')][_0x2d2d('0xc')](_0x553a85),_0x128543=this[_0x2d2d('0x37')][_0x2d2d('0x17')][_0x2d2d('0xc')](_0x4fcf07),_0x4fd632=new Set(),_0x27f5d0=new Set();for(const _0x266ab1 of _0x5aae5f[_0x2d2d('0x3c')]())if(('insertion'==_0x266ab1[_0x2d2d('0x4c')]||'deletion'==_0x266ab1[_0x2d2d('0x4c')]||'mergeTableCells'==_0x266ab1[_0x2d2d('0x25')])&&_0x266ab1[_0x2d2d('0x10')])for(const _0x3e5bb1 of _0x266ab1[_0x2d2d('0xd')]())_0x3e5bb1[_0x2d2d('0xa')](_0x33644b,!0x0)&&_0x4fd632['add'](_0x266ab1['type']+':'+_0x266ab1[_0x2d2d('0x6')]['id']),_0x3e5bb1['containsRange'](_0x128543,!0x0)&&_0x27f5d0[_0x2d2d('0x1a')](_0x266ab1['type']+':'+_0x266ab1[_0x2d2d('0x6')]['id']);if(_0x4fd632[_0x2d2d('0x46')]!=_0x27f5d0[_0x2d2d('0x46')])return!0x1;for(const _0x33e31c of _0x4fd632)if(!_0x27f5d0[_0x2d2d('0x1d')](_0x33e31c))return!0x1;return!0x0;}}
23
+ const _0x1e88=['refresh','length','author','TrackChangesEditing','requires','_areSelectedCellsMergable','_tablePostFixingSubtypes','TableUtils','find','*Split\x20cell:*\x20vertically','markBlockFormat','horizontally','fromRange','deletion','plugins','markMultiRangeBlockFormat','_descriptionFactory','document','registerDescriptionCallback','selection','mergeTableCells','editor','createRangeOn','getCellLocation','getAncestors','map','splitTableCellHorizontally','splitTableCellVertically','accept','get','add','mergeTableCellLeft','*Split\x20cell:*\x20horizontally','_suggestionFactory','return','commandName','rootName','low','findAncestor','getRanges','enableCommand','afterInit','table','isInContent','_areMergableCells','change','getSelectionAffectedTableCells','_acceptFormatSuggestionCallbackFactory','getSuggestions','isEnabled','_isForcedDefaultExecutionBlock','mergeTableCellRight','$graveyard','highest','trackChanges','createTableWalker','commands','root','type','model','containsRange','from','cell','push','forceDefaultExecution','execute','element','formatBlock','value','format','registerCustomCallback','mergeTableCellUp','setSelection','mergeTableCellDown','stop','insertion','has'];(function(_0x103656,_0x1e8885){const _0x19ef05=function(_0x3ee9e4){while(--_0x3ee9e4){_0x103656['push'](_0x103656['shift']());}};_0x19ef05(++_0x1e8885);}(_0x1e88,0xa8));const _0x19ef=function(_0x103656,_0x1e8885){_0x103656=_0x103656-0x0;let _0x19ef05=_0x1e88[_0x103656];return _0x19ef05;};import{Plugin as _0x455f55}from'ckeditor5/src/core';import _0x38d3f1 from'./table';import{LiveRange as _0x1a421d}from'ckeditor5/src/engine';import{getTranslation as _0x8e2dee}from'../utils/common-translations';export default class dt extends _0x455f55{static get[_0x19ef('0x43')](){return[_0x38d3f1];}[_0x19ef('0x1b')](){const _0x20fdde=this['editor'],_0x198b16=_0x20fdde[_0x19ef('0x2d')][_0x19ef('0x3')][_0x19ef('0x5')],_0x37a094=_0x20fdde['locale'];if(!_0x20fdde['plugins'][_0x19ef('0x3e')]('TableEditing'))return;const _0xa745fd=_0x20fdde['plugins'][_0x19ef('0xf')](_0x19ef('0x42')),_0x4161b3=_0x20fdde[_0x19ef('0x0')][_0x19ef('0xf')](_0x19ef('0x46')),_0x4e711f=_0x20fdde[_0x19ef('0x0')]['get'](_0x38d3f1);_0x4e711f[_0x19ef('0x45')][_0x19ef('0x31')](_0x19ef('0x6')),_0xa745fd[_0x19ef('0x1a')](_0x19ef('0x6'),()=>{const _0x23ecdb=_0x4161b3[_0x19ef('0x20')](_0x20fdde[_0x19ef('0x2d')]['document'][_0x19ef('0x5')]);_0x20fdde[_0x19ef('0x2d')][_0x19ef('0x1f')](()=>{_0xa745fd[_0x19ef('0x1')](_0x23ecdb,{'commandName':_0x19ef('0x6'),'commandParams':[]},[],_0x19ef('0x6'));});}),_0x20fdde[_0x19ef('0x2a')][_0x19ef('0xf')](_0x19ef('0x6'))['on']('execute',(_0x3ead76,_0x4ef128)=>{_0x20fdde[_0x19ef('0x2a')]['get'](_0x19ef('0x28'))['value']&&(_0x4ef128[_0x19ef('0x40')]>0x0&&_0x4ef128[_0x4ef128[_0x19ef('0x40')]-0x1]&&_0x4ef128[_0x4ef128[_0x19ef('0x40')]-0x1][_0x19ef('0x32')]||_0xa745fd[_0x19ef('0x24')]||this[_0x19ef('0x44')]()||_0x3ead76['stop']());},{'priority':_0x19ef('0x27')});for(const _0x3c34c3 of[_0x19ef('0x39'),_0x19ef('0x25'),'mergeTableCellDown',_0x19ef('0x11')]){const _0x503576=_0x20fdde[_0x19ef('0x2a')][_0x19ef('0xf')](_0x3c34c3);_0xa745fd[_0x19ef('0x1a')](_0x3c34c3,()=>{const _0x1f89c1=_0x20fdde[_0x19ef('0x2d')][_0x19ef('0x3')]['selection']['getFirstPosition']()[_0x19ef('0xa')]()[_0x19ef('0x47')](_0x2f8ad9=>_0x2f8ad9['is'](_0x19ef('0x34'),'tableCell')),_0x2b1de0=_0x503576['value'];_0x20fdde[_0x19ef('0x2d')]['change'](()=>{_0xa745fd[_0x19ef('0x1')]([_0x1f89c1,_0x2b1de0],{'commandName':_0x19ef('0x6'),'commandParams':[]},[],_0x19ef('0x6'));});});}for(const _0x461a15 of[_0x19ef('0xd'),_0x19ef('0xc')]){const _0x13ac3c=_0x20fdde['commands'][_0x19ef('0xf')](_0x461a15);_0xa745fd[_0x19ef('0x1a')](_0x461a15,()=>{const _0x180306=_0x4161b3[_0x19ef('0x20')](_0x20fdde[_0x19ef('0x2d')][_0x19ef('0x3')]['selection'])[0x0],_0x43bcb1=_0x180306[_0x19ef('0x18')](_0x19ef('0x1c')),{column:_0x52ec06,row:_0x14a6bb}=_0x4161b3[_0x19ef('0x9')](_0x180306);let _0x562b82=[];if(_0x19ef('0x4a')==_0x13ac3c['direction']){const _0x48b946=_0x4161b3[_0x19ef('0x29')](_0x43bcb1,{'startRow':_0x14a6bb,'endRow':_0x14a6bb,'includeAllSlots':!0x0});_0x562b82=Array['from'](_0x48b946)['map'](_0x16e54e=>_0x16e54e[_0x19ef('0x30')]);}else{const _0xa02b5c=_0x4161b3[_0x19ef('0x29')](_0x43bcb1,{'column':_0x52ec06,'includeAllSlots':!0x0});_0x562b82=Array['from'](_0xa02b5c)['map'](_0x25e1b4=>_0x25e1b4['cell']);}_0x20fdde['model']['change'](_0x3db56e=>{_0xa745fd[_0x19ef('0x49')](_0x3db56e[_0x19ef('0x8')](_0x180306),{'commandName':_0x461a15,'commandParams':[]},_0x562b82,_0x461a15);});});}_0xa745fd[_0x19ef('0x2')]['registerDescriptionCallback'](_0x46354b=>{const {data:_0x764ef6}=_0x46354b;if(_0x764ef6)return _0x19ef('0x6')==_0x764ef6[_0x19ef('0x15')]?{'type':'format','content':_0x8e2dee(_0x37a094,'*Merge\x20cells*')}:void 0x0;}),_0xa745fd[_0x19ef('0x2')][_0x19ef('0x4')](_0x2627b8=>{const {data:_0x3a763d}=_0x2627b8;if(_0x3a763d)return'splitTableCellVertically'==_0x3a763d[_0x19ef('0x15')]?{'type':'format','content':_0x8e2dee(_0x37a094,_0x19ef('0x48'))}:_0x19ef('0xc')==_0x3a763d[_0x19ef('0x15')]?{'type':_0x19ef('0x37'),'content':_0x8e2dee(_0x37a094,_0x19ef('0x12'))}:void 0x0;});const _0x5a24d3=_0x4e711f[_0x19ef('0x21')]();for(const _0x55aa2a of[_0x19ef('0x39'),_0x19ef('0x25'),_0x19ef('0x3b'),_0x19ef('0x11')])_0xa745fd[_0x19ef('0x13')][_0x19ef('0x38')](_0x19ef('0x35'),_0x55aa2a,_0x19ef('0xe'),_0x5a24d3);for(const _0x56b323 of['splitTableCellVertically',_0x19ef('0xc')])_0xa745fd[_0x19ef('0x13')][_0x19ef('0x38')](_0x19ef('0x35'),_0x56b323,_0x19ef('0xe'),_0x5a24d3);_0xa745fd[_0x19ef('0x13')][_0x19ef('0x38')](_0x19ef('0x35'),'mergeTableCells',_0x19ef('0xe'),_0x24c8ac=>{_0x20fdde['model'][_0x19ef('0x1f')](_0x2e9b8=>{const _0xff8dd0=Array[_0x19ef('0x2f')](_0x198b16[_0x19ef('0x19')]())[_0x19ef('0xb')](_0x5e6a23=>_0x1a421d[_0x19ef('0x4b')](_0x5e6a23));_0x2e9b8['setSelection'](_0x24c8ac),_0x20fdde[_0x19ef('0x2a')][_0x19ef('0xf')](_0x19ef('0x6'))[_0x19ef('0x3f')](),_0x20fdde[_0x19ef('0x33')](_0x19ef('0x6'),{'forceDefaultExecution':!0x0});const _0x165f7d=_0xff8dd0['filter'](_0x2f6b61=>_0x19ef('0x26')!=_0x2f6b61[_0x19ef('0x2b')][_0x19ef('0x16')]);_0x165f7d[_0x19ef('0x40')]>0x0&&_0x2e9b8[_0x19ef('0x3a')](_0x165f7d);for(const _0x25381f of _0xff8dd0)_0x25381f['detach']();});});for(const _0x5e4a5e of['mergeTableCellUp',_0x19ef('0x3b'),_0x19ef('0x11'),_0x19ef('0x25')]){const _0x382fa8=_0x20fdde[_0x19ef('0x2a')][_0x19ef('0xf')](_0x5e4a5e);_0x382fa8['on']('set:isEnabled',(_0x275d12,_0x2737c8,_0x3764a3)=>{if(_0x3764a3){const _0x5177ee=_0x20fdde[_0x19ef('0x2d')]['document']['selection']['getFirstPosition']()[_0x19ef('0xa')]()[_0x19ef('0x47')](_0x331cf2=>_0x331cf2['is'](_0x19ef('0x34'),'tableCell'));this[_0x19ef('0x1e')](_0x382fa8[_0x19ef('0x36')],_0x5177ee)||(_0x275d12[_0x19ef('0x14')]=!0x1,_0x275d12[_0x19ef('0x3c')]());}},{'priority':_0x19ef('0x17')});}}[_0x19ef('0x44')](){const _0x4a0fe1=this[_0x19ef('0x7')]['commands'][_0x19ef('0xf')]('mergeTableCells'),_0xefd0b3=this[_0x19ef('0x7')][_0x19ef('0x0')][_0x19ef('0xf')]('TableUtils');if(!_0x4a0fe1[_0x19ef('0x23')])return!0x1;const _0x435d35=_0xefd0b3[_0x19ef('0x20')](this[_0x19ef('0x7')][_0x19ef('0x2d')][_0x19ef('0x3')][_0x19ef('0x5')]);for(const _0x3bf36c of _0x435d35)for(const _0x5036bc of _0x435d35)if(_0x3bf36c!=_0x5036bc&&!this[_0x19ef('0x1e')](_0x3bf36c,_0x5036bc))return!0x1;return!0x0;}[_0x19ef('0x1e')](_0x21b9b6,_0x50d2fd){const _0x5adba5=this[_0x19ef('0x7')]['plugins']['get'](_0x19ef('0x42')),_0x292cf3=this[_0x19ef('0x7')][_0x19ef('0x2d')][_0x19ef('0x8')](_0x21b9b6),_0x2f4c2c=this[_0x19ef('0x7')]['model'][_0x19ef('0x8')](_0x50d2fd),_0x2ae2b5=new Set(),_0xe70df=new Set();for(const _0x1baeea of _0x5adba5[_0x19ef('0x22')]())if((_0x19ef('0x3d')==_0x1baeea[_0x19ef('0x2c')]||_0x19ef('0x4c')==_0x1baeea['type']||'mergeTableCells'==_0x1baeea['subType'])&&_0x1baeea[_0x19ef('0x1d')])for(const _0x853b33 of _0x1baeea[_0x19ef('0x19')]())_0x853b33[_0x19ef('0x2e')](_0x292cf3,!0x0)&&_0x2ae2b5[_0x19ef('0x10')](_0x1baeea[_0x19ef('0x2c')]+':'+_0x1baeea[_0x19ef('0x41')]['id']),_0x853b33[_0x19ef('0x2e')](_0x2f4c2c,!0x0)&&_0xe70df[_0x19ef('0x10')](_0x1baeea[_0x19ef('0x2c')]+':'+_0x1baeea['author']['id']);if(_0x2ae2b5['size']!=_0xe70df['size'])return!0x1;for(const _0x142d45 of _0x2ae2b5)if(!_0xe70df[_0x19ef('0x3e')](_0x142d45))return!0x1;return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x29aa=['tableOfContents','ELEMENT_TABLE_OF_CONTENTS','TrackChangesEditing','commands','plugins','enableCommand','editor','locale','_descriptionFactory','afterInit','insertTableOfContents','get'];(function(_0x1c3fa7,_0x29aac0){const _0x47263a=function(_0x913fc5){while(--_0x913fc5){_0x1c3fa7['push'](_0x1c3fa7['shift']());}};_0x47263a(++_0x29aac0);}(_0x29aa,0xda));const _0x4726=function(_0x1c3fa7,_0x29aac0){_0x1c3fa7=_0x1c3fa7-0x0;let _0x47263a=_0x29aa[_0x1c3fa7];return _0x47263a;};import{Plugin as _0xef6585}from'ckeditor5/src/core';import{getTranslation as _0x76623a}from'../utils/common-translations';export default class bt extends _0xef6585{[_0x4726('0x7')](){const _0x308c93=this[_0x4726('0x4')];if(!_0x308c93[_0x4726('0x1')][_0x4726('0x9')]('insertTableOfContents'))return;_0x308c93[_0x4726('0x2')][_0x4726('0x9')](_0x4726('0x0'))[_0x4726('0x3')](_0x4726('0x8'));const _0x534f29=_0x308c93[_0x4726('0x2')][_0x4726('0x9')](_0x4726('0x0')),_0x406922=_0x308c93[_0x4726('0x5')];_0x534f29[_0x4726('0x6')]['registerElementLabel'](_0x4726('0xa'),_0x2eaa79=>_0x76623a(_0x406922,_0x4726('0xb'),_0x2eaa79));}}
23
+ const _0x1f19=['_descriptionFactory','ELEMENT_TABLE_OF_CONTENTS','get','plugins','afterInit','TrackChangesEditing','editor','commands','enableCommand','insertTableOfContents'];(function(_0x3d6ed1,_0x1f19b2){const _0x4fd067=function(_0xd9cda8){while(--_0xd9cda8){_0x3d6ed1['push'](_0x3d6ed1['shift']());}};_0x4fd067(++_0x1f19b2);}(_0x1f19,0x166));const _0x4fd0=function(_0x3d6ed1,_0x1f19b2){_0x3d6ed1=_0x3d6ed1-0x0;let _0x4fd067=_0x1f19[_0x3d6ed1];return _0x4fd067;};import{Plugin as _0x484b21}from'ckeditor5/src/core';import{getTranslation as _0x18f75e}from'../utils/common-translations';export default class bt extends _0x484b21{[_0x4fd0('0x6')](){const _0x372aed=this[_0x4fd0('0x8')];if(!_0x372aed[_0x4fd0('0x9')][_0x4fd0('0x4')](_0x4fd0('0x1')))return;_0x372aed[_0x4fd0('0x5')][_0x4fd0('0x4')](_0x4fd0('0x7'))[_0x4fd0('0x0')](_0x4fd0('0x1'));const _0x33a64e=_0x372aed['plugins'][_0x4fd0('0x4')](_0x4fd0('0x7')),_0x471d82=_0x372aed['locale'];_0x33a64e[_0x4fd0('0x2')]['registerElementLabel']('tableOfContents',_0x236cf1=>_0x18f75e(_0x471d82,_0x4fd0('0x3'),_0x236cf1));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x487d=['getAttribute','findAncestor','tableCellBorderWidth','_suggestionFactory','nodeAfter','tableCellHeight','selection','editor','getSuggestions','registerCustomCallback','tableCellWidth','tableHeight','subType','tableCellProperties','start','getSelectionAffectedTableCells','pluginName','table','handleDiscardAction','tableBackgroundColor','removeAttribute','has','*Format:*\x20change\x20table\x20cell\x20properties','tableCellBorderColor','format','tableProperties','get','tableCellBackgroundColor','handleSuggestionDescription','document','enableCommand','tableBorderColor','tableCellPadding','locale','_handlePropertyChange','commandParams','getFirstPosition','change','_descriptionFactory','discard','tableCellHorizontalAlignment','tableAlignment','registerDescriptionCallback','batch','_getSuggestion','formatBlock','tableWidth','data','setAttribute','plugins','accept','TablePropertiesEditing','getSuggestionCallback','tableCellVerticalAlignment','tableCellBorderStyle','TableCellPropertiesEditing','TrackChangesEditing','model','*Format:*\x20change\x20table\x20properties'];(function(_0x35a501,_0x487d89){const _0x3fc605=function(_0x3eacb6){while(--_0x3eacb6){_0x35a501['push'](_0x35a501['shift']());}};_0x3fc605(++_0x487d89);}(_0x487d,0x145));const _0x3fc6=function(_0x35a501,_0x487d89){_0x35a501=_0x35a501-0x0;let _0x3fc605=_0x487d[_0x35a501];return _0x3fc605;};import{Plugin as _0x265353}from'ckeditor5/src/core';import{getTranslation as _0x3bff51}from'../utils/common-translations';export default class Ct extends _0x265353{constructor(_0x19de0f){super(_0x19de0f),this[_0x3fc6('0x36')]=[_0x3fc6('0x1'),'tableBorderStyle','tableBorderWidth',_0x3fc6('0xb'),_0x3fc6('0x10'),_0x3fc6('0x28'),_0x3fc6('0x30')],this['tableCellProperties']=[_0x3fc6('0x34'),_0x3fc6('0x18'),_0x3fc6('0x1f'),_0x3fc6('0x2'),_0x3fc6('0x27'),_0x3fc6('0x22'),_0x3fc6('0x38'),_0x3fc6('0xa'),_0x3fc6('0x17')];}static get[_0x3fc6('0x2d')](){return'TrackChangesTableProperties';}['afterInit'](){const _0x39b6be=this[_0x3fc6('0x24')]['plugins'][_0x3fc6('0x37')](_0x3fc6('0x1a'));if(this[_0x3fc6('0x24')]['plugins']['has'](_0x3fc6('0x15'))){for(const _0x108ae4 of this[_0x3fc6('0x36')])_0x39b6be['enableCommand'](_0x108ae4,(_0x55de26,_0x2dd131)=>{const _0x249510=this[_0x3fc6('0x24')][_0x3fc6('0x1b')]['document']['selection'][_0x3fc6('0x6')]()[_0x3fc6('0x1e')](_0x3fc6('0x2e'));this[_0x3fc6('0x4')](_0x108ae4,[_0x249510],this['tableProperties'],'tableProperties',_0x55de26,_0x2dd131);});_0x39b6be['_suggestionFactory'][_0x3fc6('0x26')](_0x3fc6('0xf'),_0x3fc6('0x36'),_0x3fc6('0x14'),_0x39b6be[_0x3fc6('0x20')]['getSuggestionCallback'](_0x3fc6('0xf'),null,_0x3fc6('0x9'))),_0x39b6be[_0x3fc6('0x20')][_0x3fc6('0x26')](_0x3fc6('0xf'),_0x3fc6('0x36'),_0x3fc6('0x9'),(_0x4fc110,_0x355186)=>this[_0x3fc6('0x2f')](this['tableProperties'],_0x4fc110,_0x355186)),_0x39b6be['_suggestionFactory'][_0x3fc6('0x26')](_0x3fc6('0xf'),_0x3fc6('0x36'),'join',()=>!0x1);}if(this['editor'][_0x3fc6('0x13')][_0x3fc6('0x32')](_0x3fc6('0x19'))){for(const _0x452bd1 of this[_0x3fc6('0x2a')])_0x39b6be[_0x3fc6('0x0')](_0x452bd1,(_0x50c17c,_0x2837b6)=>{const _0x17db7c=this[_0x3fc6('0x24')]['plugins'][_0x3fc6('0x37')]('TableUtils')[_0x3fc6('0x2c')](this[_0x3fc6('0x24')]['model'][_0x3fc6('0x3a')][_0x3fc6('0x23')]);this[_0x3fc6('0x4')](_0x452bd1,_0x17db7c,this[_0x3fc6('0x2a')],_0x3fc6('0x2a'),_0x50c17c,_0x2837b6);});_0x39b6be[_0x3fc6('0x20')]['registerCustomCallback'](_0x3fc6('0xf'),'tableCellProperties',_0x3fc6('0x14'),_0x39b6be['_suggestionFactory'][_0x3fc6('0x16')](_0x3fc6('0xf'),null,_0x3fc6('0x9'))),_0x39b6be['_suggestionFactory'][_0x3fc6('0x26')](_0x3fc6('0xf'),'tableCellProperties',_0x3fc6('0x9'),(_0x36271c,_0x3c27f9)=>this[_0x3fc6('0x2f')](this[_0x3fc6('0x2a')],_0x36271c,_0x3c27f9)),_0x39b6be[_0x3fc6('0x20')][_0x3fc6('0x26')]('formatBlock',_0x3fc6('0x2a'),'join',()=>!0x1);}_0x39b6be[_0x3fc6('0x8')][_0x3fc6('0xc')](_0x34a1ad=>this[_0x3fc6('0x39')](_0x34a1ad));}['_handlePropertyChange'](_0x20f136,_0x5bcd1c,_0x73bf93,_0x271915,_0x3a8ec9,_0xe0b1f7){const _0x5dc985=this[_0x3fc6('0x24')][_0x3fc6('0x13')][_0x3fc6('0x37')]('TrackChangesEditing');this['editor']['model']['enqueueChange'](_0xe0b1f7[_0x3fc6('0xd')],()=>{for(const _0xbf1e8f of _0x5bcd1c){if(this[_0x3fc6('0xe')](_0xbf1e8f,_0x271915))_0x3a8ec9(_0xe0b1f7);else{const _0x2a96d8={};for(const _0x3f57a7 of _0x73bf93){const _0x3418e5=_0xbf1e8f[_0x3fc6('0x1d')](_0x3f57a7);void 0x0!==_0x3418e5&&(_0x2a96d8[_0x3f57a7]=_0x3418e5);}_0x3a8ec9(_0xe0b1f7),_0x5dc985['markBlockFormat'](_0xbf1e8f,{'commandParams':[_0x2a96d8]},[],_0x271915);}}});}[_0x3fc6('0x2f')](_0x29c15d,_0x1c886e,_0x1582b9){const _0x2db9c8=_0x1c886e[0x0][_0x3fc6('0x2b')][_0x3fc6('0x21')],_0x2927ae=_0x1582b9[_0x3fc6('0x5')][0x0];this[_0x3fc6('0x24')][_0x3fc6('0x1b')][_0x3fc6('0x7')](_0x4e9f86=>{for(const _0x4085fb of _0x29c15d)void 0x0!==_0x2927ae[_0x4085fb]?_0x4e9f86[_0x3fc6('0x12')](_0x4085fb,_0x2927ae[_0x4085fb],_0x2db9c8):_0x4e9f86[_0x3fc6('0x31')](_0x4085fb,_0x2db9c8);});}[_0x3fc6('0x39')](_0x5f2920){if(_0x5f2920[_0x3fc6('0x11')])switch(_0x5f2920[_0x3fc6('0x29')]){case _0x3fc6('0x36'):return{'type':_0x3fc6('0x35'),'content':_0x3bff51(this[_0x3fc6('0x24')][_0x3fc6('0x3')],_0x3fc6('0x1c'))};case _0x3fc6('0x2a'):return{'type':_0x3fc6('0x35'),'content':_0x3bff51(this[_0x3fc6('0x24')]['locale'],_0x3fc6('0x33'))};}}[_0x3fc6('0xe')](_0x3c7616,_0x4014a5){const _0x4635a4=this['editor'][_0x3fc6('0x13')][_0x3fc6('0x37')](_0x3fc6('0x1a'));for(const _0x489b0e of _0x4635a4[_0x3fc6('0x25')]({'skipNotAttached':!0x0})){const _0x4a8aab=_0x489b0e['getContainedElement']();if(_0x489b0e['subType']===_0x4014a5&&_0x4a8aab===_0x3c7616)return _0x489b0e;}return null;}}
23
+ const _0x9925=['getSelectionAffectedTableCells','getContainedElement','selection','TableCellPropertiesEditing','subType','_suggestionFactory','model','editor','tableCellPadding','_handlePropertyChange','tableCellBorderColor','document','tableBorderStyle','tableBorderColor','batch','tableCellBorderStyle','enableCommand','handleSuggestionDescription','*Format:*\x20change\x20table\x20cell\x20properties','handleDiscardAction','afterInit','markBlockFormat','registerDescriptionCallback','_getSuggestion','formatBlock','join','data','registerCustomCallback','locale','tableCellBorderWidth','getSuggestionCallback','plugins','tableBorderWidth','change','tableProperties','_descriptionFactory','nodeAfter','tableAlignment','tableCellWidth','has','TrackChangesEditing','TableUtils','tableCellHorizontalAlignment','get','accept','tableWidth','pluginName','tableBackgroundColor','tableCellProperties','TrackChangesTableProperties','start','getAttribute','tableCellHeight','enqueueChange','tableCellVerticalAlignment','*Format:*\x20change\x20table\x20properties','format','getSuggestions','discard'];(function(_0x10d078,_0x9925ec){const _0x58558a=function(_0x6277b){while(--_0x6277b){_0x10d078['push'](_0x10d078['shift']());}};_0x58558a(++_0x9925ec);}(_0x9925,0xaa));const _0x5855=function(_0x10d078,_0x9925ec){_0x10d078=_0x10d078-0x0;let _0x58558a=_0x9925[_0x10d078];return _0x58558a;};import{Plugin as _0x2a5ebe}from'ckeditor5/src/core';import{getTranslation as _0x5223d0}from'../utils/common-translations';export default class Ct extends _0x2a5ebe{constructor(_0x448348){super(_0x448348),this[_0x5855('0x29')]=[_0x5855('0x14'),_0x5855('0x13'),_0x5855('0x27'),_0x5855('0x2c'),_0x5855('0x34'),'tableHeight',_0x5855('0x36')],this[_0x5855('0x37')]=[_0x5855('0x11'),_0x5855('0x16'),_0x5855('0x24'),_0x5855('0xf'),_0x5855('0x2d'),_0x5855('0x0'),'tableCellBackgroundColor',_0x5855('0x31'),_0x5855('0x2')];}static get[_0x5855('0x35')](){return _0x5855('0x38');}[_0x5855('0x1b')](){const _0x1974cb=this['editor'][_0x5855('0x26')]['get'](_0x5855('0x2f'));if(this[_0x5855('0xe')][_0x5855('0x26')][_0x5855('0x2e')]('TablePropertiesEditing')){for(const _0x1bdecf of this['tableProperties'])_0x1974cb[_0x5855('0x17')](_0x1bdecf,(_0x27b882,_0x417f2e)=>{const _0xf02c6b=this['editor'][_0x5855('0xd')]['document']['selection']['getFirstPosition']()['findAncestor']('table');this[_0x5855('0x10')](_0x1bdecf,[_0xf02c6b],this[_0x5855('0x29')],_0x5855('0x29'),_0x27b882,_0x417f2e);});_0x1974cb[_0x5855('0xc')][_0x5855('0x22')](_0x5855('0x1f'),'tableProperties',_0x5855('0x33'),_0x1974cb[_0x5855('0xc')][_0x5855('0x25')](_0x5855('0x1f'),null,_0x5855('0x6'))),_0x1974cb[_0x5855('0xc')][_0x5855('0x22')](_0x5855('0x1f'),_0x5855('0x29'),_0x5855('0x6'),(_0x19a19c,_0xcf4574)=>this[_0x5855('0x1a')](this[_0x5855('0x29')],_0x19a19c,_0xcf4574)),_0x1974cb[_0x5855('0xc')][_0x5855('0x22')](_0x5855('0x1f'),_0x5855('0x29'),_0x5855('0x20'),()=>!0x1);}if(this[_0x5855('0xe')][_0x5855('0x26')][_0x5855('0x2e')](_0x5855('0xa'))){for(const _0x40751b of this[_0x5855('0x37')])_0x1974cb['enableCommand'](_0x40751b,(_0x5cd4b5,_0x3cf18e)=>{const _0x59f179=this[_0x5855('0xe')][_0x5855('0x26')][_0x5855('0x32')](_0x5855('0x30'))[_0x5855('0x7')](this[_0x5855('0xe')][_0x5855('0xd')][_0x5855('0x12')][_0x5855('0x9')]);this[_0x5855('0x10')](_0x40751b,_0x59f179,this[_0x5855('0x37')],_0x5855('0x37'),_0x5cd4b5,_0x3cf18e);});_0x1974cb['_suggestionFactory'][_0x5855('0x22')](_0x5855('0x1f'),_0x5855('0x37'),'accept',_0x1974cb[_0x5855('0xc')][_0x5855('0x25')](_0x5855('0x1f'),null,_0x5855('0x6'))),_0x1974cb[_0x5855('0xc')]['registerCustomCallback']('formatBlock',_0x5855('0x37'),_0x5855('0x6'),(_0xd3d566,_0x134d15)=>this[_0x5855('0x1a')](this[_0x5855('0x37')],_0xd3d566,_0x134d15)),_0x1974cb[_0x5855('0xc')]['registerCustomCallback'](_0x5855('0x1f'),_0x5855('0x37'),_0x5855('0x20'),()=>!0x1);}_0x1974cb[_0x5855('0x2a')][_0x5855('0x1d')](_0x2f18e4=>this[_0x5855('0x18')](_0x2f18e4));}[_0x5855('0x10')](_0x15219d,_0x2d0638,_0x5b35b1,_0x3f7c62,_0x3b0d4b,_0x165ef9){const _0x47712b=this[_0x5855('0xe')]['plugins'][_0x5855('0x32')](_0x5855('0x2f'));this[_0x5855('0xe')][_0x5855('0xd')][_0x5855('0x1')](_0x165ef9[_0x5855('0x15')],()=>{for(const _0x3bf270 of _0x2d0638){if(this['_getSuggestion'](_0x3bf270,_0x3f7c62))_0x3b0d4b(_0x165ef9);else{const _0x17c860={};for(const _0x2a9f9d of _0x5b35b1){const _0x3d3132=_0x3bf270[_0x5855('0x3a')](_0x2a9f9d);void 0x0!==_0x3d3132&&(_0x17c860[_0x2a9f9d]=_0x3d3132);}_0x3b0d4b(_0x165ef9),_0x47712b[_0x5855('0x1c')](_0x3bf270,{'commandParams':[_0x17c860]},[],_0x3f7c62);}}});}[_0x5855('0x1a')](_0x383ed9,_0x5428e5,_0x48de46){const _0x39de3d=_0x5428e5[0x0][_0x5855('0x39')][_0x5855('0x2b')],_0x461585=_0x48de46['commandParams'][0x0];this[_0x5855('0xe')][_0x5855('0xd')][_0x5855('0x28')](_0x1f61db=>{for(const _0x559d72 of _0x383ed9)void 0x0!==_0x461585[_0x559d72]?_0x1f61db['setAttribute'](_0x559d72,_0x461585[_0x559d72],_0x39de3d):_0x1f61db['removeAttribute'](_0x559d72,_0x39de3d);});}[_0x5855('0x18')](_0x3805ab){if(_0x3805ab[_0x5855('0x21')])switch(_0x3805ab[_0x5855('0xb')]){case _0x5855('0x29'):return{'type':_0x5855('0x4'),'content':_0x5223d0(this[_0x5855('0xe')][_0x5855('0x23')],_0x5855('0x3'))};case _0x5855('0x37'):return{'type':'format','content':_0x5223d0(this[_0x5855('0xe')]['locale'],_0x5855('0x19'))};}}[_0x5855('0x1e')](_0x8bb0f6,_0x5aeb6c){const _0x3492c5=this[_0x5855('0xe')][_0x5855('0x26')][_0x5855('0x32')](_0x5855('0x2f'));for(const _0x303f9d of _0x3492c5[_0x5855('0x5')]({'skipNotAttached':!0x0})){const _0x16303d=_0x303f9d[_0x5855('0x8')]();if(_0x303f9d[_0x5855('0xb')]===_0x5aeb6c&&_0x16303d===_0x8bb0f6)return _0x303f9d;}return null;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x370b=['TrackChangesEditing','enableCommand','Template','insertTemplate','get','has','afterInit','plugins'];(function(_0x15ee94,_0x370b92){const _0x281cea=function(_0x2f6055){while(--_0x2f6055){_0x15ee94['push'](_0x15ee94['shift']());}};_0x281cea(++_0x370b92);}(_0x370b,0xc0));const _0x281c=function(_0x15ee94,_0x370b92){_0x15ee94=_0x15ee94-0x0;let _0x281cea=_0x370b[_0x15ee94];return _0x281cea;};import{Plugin as _0x3b3a35}from'ckeditor5/src/core';export default class yt extends _0x3b3a35{[_0x281c('0x6')](){const _0x52f6c3=this['editor'];_0x52f6c3['plugins'][_0x281c('0x5')](_0x281c('0x2'))&&_0x52f6c3[_0x281c('0x7')][_0x281c('0x4')](_0x281c('0x0'))[_0x281c('0x1')](_0x281c('0x3'));}}
23
+ const _0xb34e=['get','TrackChangesEditing','has','afterInit','plugins','insertTemplate','enableCommand','editor'];(function(_0x585ee7,_0xb34ec9){const _0x2afea7=function(_0x29f632){while(--_0x29f632){_0x585ee7['push'](_0x585ee7['shift']());}};_0x2afea7(++_0xb34ec9);}(_0xb34e,0x1d7));const _0x2afe=function(_0x585ee7,_0xb34ec9){_0x585ee7=_0x585ee7-0x0;let _0x2afea7=_0xb34e[_0x585ee7];return _0x2afea7;};import{Plugin as _0x446952}from'ckeditor5/src/core';export default class yt extends _0x446952{[_0x2afe('0x4')](){const _0x171e6c=this[_0x2afe('0x0')];_0x171e6c[_0x2afe('0x5')][_0x2afe('0x3')]('Template')&&_0x171e6c['plugins'][_0x2afe('0x1')](_0x2afe('0x2'))[_0x2afe('0x7')](_0x2afe('0x6'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x556d=['newRange','title-content','registerElementLabel','element','_descriptionFactory','removeMarker','TrackChangesEditing','differ','isTouching','registerPostFixer','getChangedMarkers','ELEMENT_TITLE','forward','schema','afterInit','isCollapsed','createRange','document','get','plugins','start','updateMarker','locale','model','from','Title','end','suggestion','getNearestSelectionRange','isEqual'];(function(_0x38472e,_0x556dc0){const _0x288933=function(_0x5805c6){while(--_0x5805c6){_0x38472e['push'](_0x38472e['shift']());}};_0x288933(++_0x556dc0);}(_0x556d,0x150));const _0x2889=function(_0x38472e,_0x556dc0){_0x38472e=_0x38472e-0x0;let _0x288933=_0x556d[_0x38472e];return _0x288933;};import{Plugin as _0x14852b}from'ckeditor5/src/core';import{getTranslation as _0x5379ca}from'../utils/common-translations';export default class St extends _0x14852b{[_0x2889('0x8')](){const _0x3448d6=this['editor'];if(!_0x3448d6[_0x2889('0xd')]['has'](_0x2889('0x13')))return;const _0x2c6e19=_0x3448d6[_0x2889('0xd')][_0x2889('0xc')](_0x2889('0x0'));_0x2c6e19[_0x2889('0x1c')][_0x2889('0x1a')](_0x2889('0x19'),()=>_0x5379ca(_0x3448d6[_0x2889('0x10')],_0x2889('0x5'))),_0x3448d6[_0x2889('0x11')]['document'][_0x2889('0x3')](_0x3999ec=>{let _0x1af5a9=!0x1;const _0x967920=Array[_0x2889('0x12')](_0x3448d6['model'][_0x2889('0xb')][_0x2889('0x1')][_0x2889('0x4')]());for(const {name:_0x425daa,data:_0x1e38c2}of _0x967920){const {group:_0x7060c}=_0x2c6e19['_splitMarkerName'](_0x425daa);if(_0x2889('0x15')!==_0x7060c||!_0x1e38c2[_0x2889('0x18')])continue;const _0x306b02=_0x1e38c2[_0x2889('0x18')],_0x139d61=_0x306b02[_0x2889('0x14')]['nodeBefore'];if(!_0x139d61||!_0x139d61['is'](_0x2889('0x1b'),_0x2889('0x19')))continue;if(!_0x306b02['start'][_0x2889('0x2')](_0x306b02[_0x2889('0x14')]))continue;const _0x13d4ae=_0x3448d6['model'][_0x2889('0x7')][_0x2889('0x16')](_0x306b02['end'],_0x2889('0x6'));if(_0x13d4ae&&_0x13d4ae[_0x2889('0x9')]){const _0xe169a6=_0x3999ec[_0x2889('0xa')](_0x306b02[_0x2889('0xe')],_0x13d4ae[_0x2889('0xe')]);_0xe169a6[_0x2889('0x17')](_0x306b02)||(_0x3999ec[_0x2889('0xf')](_0x425daa,{'range':_0xe169a6}),_0x1af5a9=!0x0);}_0x1af5a9||(_0x3999ec[_0x2889('0x1d')](_0x425daa),_0x1af5a9=!0x0);}return _0x1af5a9;});}}
23
+ const _0xb235=['ELEMENT_TITLE','forward','isCollapsed','afterInit','getChangedMarkers','start','editor','element','newRange','nodeBefore','end','updateMarker','model','get','suggestion','differ','title-content','registerElementLabel','plugins','registerPostFixer','has','document','locale','schema'];(function(_0x981f43,_0xb2350f){const _0x391b97=function(_0x286850){while(--_0x286850){_0x981f43['push'](_0x981f43['shift']());}};_0x391b97(++_0xb2350f);}(_0xb235,0x8b));const _0x391b=function(_0x981f43,_0xb2350f){_0x981f43=_0x981f43-0x0;let _0x391b97=_0xb235[_0x981f43];return _0x391b97;};import{Plugin as _0x117da4}from'ckeditor5/src/core';import{getTranslation as _0x4355c0}from'../utils/common-translations';export default class St extends _0x117da4{[_0x391b('0x8')](){const _0x5c9c33=this[_0x391b('0xb')];if(!_0x5c9c33[_0x391b('0x17')][_0x391b('0x1')]('Title'))return;const _0x16f59f=_0x5c9c33[_0x391b('0x17')][_0x391b('0x12')]('TrackChangesEditing');_0x16f59f['_descriptionFactory'][_0x391b('0x16')](_0x391b('0x15'),()=>_0x4355c0(_0x5c9c33[_0x391b('0x3')],_0x391b('0x5'))),_0x5c9c33[_0x391b('0x11')][_0x391b('0x2')][_0x391b('0x0')](_0x34c4b1=>{let _0x5637e6=!0x1;const _0x2401fb=Array['from'](_0x5c9c33['model'][_0x391b('0x2')][_0x391b('0x14')][_0x391b('0x9')]());for(const {name:_0x3dabbe,data:_0x2c41bf}of _0x2401fb){const {group:_0x38dabd}=_0x16f59f['_splitMarkerName'](_0x3dabbe);if(_0x391b('0x13')!==_0x38dabd||!_0x2c41bf[_0x391b('0xd')])continue;const _0x170bf4=_0x2c41bf['newRange'],_0x413265=_0x170bf4['end'][_0x391b('0xe')];if(!_0x413265||!_0x413265['is'](_0x391b('0xc'),_0x391b('0x15')))continue;if(!_0x170bf4[_0x391b('0xa')]['isTouching'](_0x170bf4[_0x391b('0xf')]))continue;const _0xbe0d76=_0x5c9c33[_0x391b('0x11')][_0x391b('0x4')]['getNearestSelectionRange'](_0x170bf4[_0x391b('0xf')],_0x391b('0x6'));if(_0xbe0d76&&_0xbe0d76[_0x391b('0x7')]){const _0x19bb1e=_0x34c4b1['createRange'](_0x170bf4[_0x391b('0xa')],_0xbe0d76['start']);_0x19bb1e['isEqual'](_0x170bf4)||(_0x34c4b1[_0x391b('0x10')](_0x3dabbe,{'range':_0x19bb1e}),_0x5637e6=!0x0);}_0x5637e6||(_0x34c4b1['removeMarker'](_0x3dabbe),_0x5637e6=!0x0);}return _0x5637e6;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x286e=['plugins','undo','get','TrackChangesEditing','editor','UndoEditing','has','enableCommand'];(function(_0x5c42f4,_0x286eb1){const _0x3132e9=function(_0x5d31e2){while(--_0x5d31e2){_0x5c42f4['push'](_0x5c42f4['shift']());}};_0x3132e9(++_0x286eb1);}(_0x286e,0x1e7));const _0x3132=function(_0x5c42f4,_0x286eb1){_0x5c42f4=_0x5c42f4-0x0;let _0x3132e9=_0x286e[_0x5c42f4];return _0x3132e9;};import{Plugin as _0x2c1b63}from'ckeditor5/src/core';export default class It extends _0x2c1b63{['afterInit'](){const _0xfb8cc2=this[_0x3132('0x5')],_0x31bd44=_0xfb8cc2['plugins'][_0x3132('0x3')](_0x3132('0x4'));_0xfb8cc2[_0x3132('0x1')][_0x3132('0x7')](_0x3132('0x6'))&&(_0x31bd44[_0x3132('0x0')](_0x3132('0x2')),_0x31bd44['enableCommand']('redo'));}}
23
+ const _0x4782=['enableCommand','has','get','TrackChangesEditing','undo','plugins'];(function(_0x4c6563,_0x47826e){const _0x2a1be8=function(_0x1b8b76){while(--_0x1b8b76){_0x4c6563['push'](_0x4c6563['shift']());}};_0x2a1be8(++_0x47826e);}(_0x4782,0x1a5));const _0x2a1b=function(_0x4c6563,_0x47826e){_0x4c6563=_0x4c6563-0x0;let _0x2a1be8=_0x4782[_0x4c6563];return _0x2a1be8;};import{Plugin as _0x17edaf}from'ckeditor5/src/core';export default class It extends _0x17edaf{['afterInit'](){const _0x5685fa=this['editor'],_0x4dec32=_0x5685fa['plugins'][_0x2a1b('0x1')](_0x2a1b('0x2'));_0x5685fa[_0x2a1b('0x4')][_0x2a1b('0x0')]('UndoEditing')&&(_0x4dec32['enableCommand'](_0x2a1b('0x3')),_0x4dec32[_0x2a1b('0x5')]('redo'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3603=['createRangeOn','previousPosition','addHighlight','writer','span','isBlock','listIndent','schema','nextSibling','ck-suggestion-marker--active','listItem','getItems','getWalker','insert','getCustomProperty','isLimit','toViewElement','model','createUIElement','consumable','hasAttribute','parent','ck-suggestion-marker-','getAttribute','push','get','TrackChangesEditing','start','activeMarkers','elementEnd','isAtEnd','isContent','markerRange','type','includes','markerName','addClass','bindElementToMarker','toViewPosition','mapper','element'];(function(_0xe46aed,_0x36032a){const _0x2491a0=function(_0x3de99b){while(--_0x3de99b){_0xe46aed['push'](_0xe46aed['shift']());}};_0x2491a0(++_0x36032a);}(_0x3603,0x9f));const _0x2491=function(_0xe46aed,_0x36032a){_0xe46aed=_0xe46aed-0x0;let _0x2491a0=_0x3603[_0xe46aed];return _0x2491a0;};export function getRangesWithAttribute(_0x4febe3,_0x28df4c,_0x5d9e10){const _0x18691c=[];for(const _0x39b758 of _0x28df4c[_0x2491('0x10')]())_0x39b758[_0x2491('0x19')](_0x4febe3)&&_0x18691c[_0x2491('0x1d')](_0x5d9e10[_0x2491('0x5')](_0x39b758));return _0x18691c;}export function getElementsAffectedByListItemRename(_0x1a81bb){const _0x35663d=[];if(_0x1a81bb['is'](_0x2491('0x4'),_0x2491('0xf'))){let _0x2e4090=_0x1a81bb[_0x2491('0xd')];for(;_0x2e4090&&_0x2e4090['is'](_0x2491('0x4'),_0x2491('0xf'))&&_0x2e4090[_0x2491('0x1c')](_0x2491('0xb'))>0x0;)_0x35663d[_0x2491('0x1d')](_0x2e4090),_0x2e4090=_0x2e4090[_0x2491('0xd')];}return _0x35663d;}export function downcastSplitMergeMarker(_0x145a01,_0x431319,{showActiveMarker:_0x18c875=!0x0}={}){const _0x2dd694=_0x145a01['plugins'][_0x2491('0x1e')](_0x2491('0x1f'));return(_0x1690dc,_0x45a719,_0x432b1f)=>{if(!_0x432b1f[_0x2491('0x18')]['test'](_0x45a719[_0x2491('0x25')],_0x1690dc['name']))return;const _0x25505e=_0x45a719[_0x2491('0x25')][_0x2491('0x11')](),_0x3639a3=_0x45a719[_0x2491('0x25')][_0x2491('0x20')],_0x5955c6=_0x145a01[_0x2491('0x16')][_0x2491('0xc')];let _0x47b839=null,_0x51709c=null,_0x34693a=!0x1,_0x2fccf2=!0x1;for(const _0x206e3f of _0x25505e){const _0x432f81=_0x206e3f['item'];_0x34693a=_0x34693a||_0x5955c6[_0x2491('0x24')](_0x432f81);const _0x3f7b9d=_0x432b1f[_0x2491('0x3')][_0x2491('0x15')](_0x432f81);if(_0x3f7b9d&&_0x3f7b9d[_0x2491('0x13')](_0x2491('0x7')))return;_0x2491('0x22')==_0x206e3f[_0x2491('0x26')]&&(_0x5955c6[_0x2491('0xa')](_0x432f81)&&!_0x5955c6[_0x2491('0x14')](_0x432f81)&&(_0x432f81[_0x2491('0xd')]||_0x3639a3[_0x2491('0x23')]?_0x47b839&&_0x47b839[_0x2491('0x1a')]==_0x432f81||(_0x47b839=_0x432f81,_0x336009(_0x206e3f[_0x2491('0x6')]),_0x2fccf2=!0x0):_0x51709c=_0x51709c||_0x206e3f[_0x2491('0x6')]));}function _0x336009(_0x5ed731){const _0x58e938=_0x432b1f['writer'][_0x2491('0x17')](_0x2491('0x9'),{'class':_0x2491('0x1b')+_0x431319}),_0x370f41=_0x432b1f[_0x2491('0x3')][_0x2491('0x2')](_0x5ed731);_0x18c875&&_0x2dd694[_0x2491('0x21')][_0x2491('0x27')](_0x45a719[_0x2491('0x28')])&&_0x432b1f[_0x2491('0x8')][_0x2491('0x0')](_0x2491('0xe'),_0x58e938),_0x432b1f['writer'][_0x2491('0x12')](_0x370f41,_0x58e938),_0x432b1f[_0x2491('0x3')][_0x2491('0x1')](_0x58e938,_0x45a719[_0x2491('0x28')]);}_0x34693a||_0x2fccf2||!_0x51709c||_0x336009(_0x51709c);};}
23
+ const _0x1fd7=['includes','bindElementToMarker','plugins','addHighlight','writer','listIndent','item','span','getItems','nextSibling','markerName','toViewElement','getAttribute','schema','test','hasAttribute','isLimit','addClass','ck-suggestion-marker--active','get','ck-suggestion-marker-','insert','getWalker','isContent','getCustomProperty','previousPosition','TrackChangesEditing','parent','consumable','name','isBlock','markerRange','listItem','toViewPosition','mapper','push'];(function(_0x34f909,_0x1fd72a){const _0x31b137=function(_0x23fc1f){while(--_0x23fc1f){_0x34f909['push'](_0x34f909['shift']());}};_0x31b137(++_0x1fd72a);}(_0x1fd7,0x142));const _0x31b1=function(_0x34f909,_0x1fd72a){_0x34f909=_0x34f909-0x0;let _0x31b137=_0x1fd7[_0x34f909];return _0x31b137;};export function getRangesWithAttribute(_0x1df0f0,_0x47a3b4,_0x4b604f){const _0x4e92b3=[];for(const _0x2aaa20 of _0x47a3b4[_0x31b1('0xa')]())_0x2aaa20[_0x31b1('0x11')](_0x1df0f0)&&_0x4e92b3[_0x31b1('0x1')](_0x4b604f['createRangeOn'](_0x2aaa20));return _0x4e92b3;}export function getElementsAffectedByListItemRename(_0x39d9c3){const _0x261a7a=[];if(_0x39d9c3['is']('element',_0x31b1('0x22'))){let _0x564c21=_0x39d9c3[_0x31b1('0xb')];for(;_0x564c21&&_0x564c21['is']('element',_0x31b1('0x22'))&&_0x564c21[_0x31b1('0xe')](_0x31b1('0x7'))>0x0;)_0x261a7a['push'](_0x564c21),_0x564c21=_0x564c21[_0x31b1('0xb')];}return _0x261a7a;}export function downcastSplitMergeMarker(_0x2c8069,_0x3ed3ce,{showActiveMarker:_0x4a73f1=!0x0}={}){const _0x195e85=_0x2c8069[_0x31b1('0x4')][_0x31b1('0x15')](_0x31b1('0x1c'));return(_0x5b9bb1,_0x322ac0,_0x346afe)=>{if(!_0x346afe[_0x31b1('0x1e')][_0x31b1('0x10')](_0x322ac0[_0x31b1('0x21')],_0x5b9bb1[_0x31b1('0x1f')]))return;const _0x136f11=_0x322ac0[_0x31b1('0x21')][_0x31b1('0x18')](),_0x20e23f=_0x322ac0[_0x31b1('0x21')]['start'],_0xe4351e=_0x2c8069['model'][_0x31b1('0xf')];let _0xaa84fb=null,_0x2cbf8c=null,_0x3808a0=!0x1,_0x5f3c8e=!0x1;for(const _0x5d2bda of _0x136f11){const _0x134650=_0x5d2bda[_0x31b1('0x8')];_0x3808a0=_0x3808a0||_0xe4351e[_0x31b1('0x19')](_0x134650);const _0x23eb9b=_0x346afe[_0x31b1('0x0')][_0x31b1('0xd')](_0x134650);if(_0x23eb9b&&_0x23eb9b[_0x31b1('0x1a')](_0x31b1('0x5')))return;'elementEnd'==_0x5d2bda['type']&&(_0xe4351e[_0x31b1('0x20')](_0x134650)&&!_0xe4351e[_0x31b1('0x12')](_0x134650)&&(_0x134650[_0x31b1('0xb')]||_0x20e23f['isAtEnd']?_0xaa84fb&&_0xaa84fb[_0x31b1('0x1d')]==_0x134650||(_0xaa84fb=_0x134650,_0x32d065(_0x5d2bda[_0x31b1('0x1b')]),_0x5f3c8e=!0x0):_0x2cbf8c=_0x2cbf8c||_0x5d2bda[_0x31b1('0x1b')]));}function _0x32d065(_0x19c3de){const _0x82ff65=_0x346afe[_0x31b1('0x6')]['createUIElement'](_0x31b1('0x9'),{'class':_0x31b1('0x16')+_0x3ed3ce}),_0x103e1e=_0x346afe[_0x31b1('0x0')][_0x31b1('0x23')](_0x19c3de);_0x4a73f1&&_0x195e85['activeMarkers'][_0x31b1('0x2')](_0x322ac0[_0x31b1('0xc')])&&_0x346afe['writer'][_0x31b1('0x13')](_0x31b1('0x14'),_0x82ff65),_0x346afe['writer'][_0x31b1('0x17')](_0x103e1e,_0x82ff65),_0x346afe[_0x31b1('0x0')][_0x31b1('0x3')](_0x82ff65,_0x322ac0[_0x31b1('0xc')]);}_0x3808a0||_0x5f3c8e||!_0x2cbf8c||_0x32d065(_0x2cbf8c);};}