@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20230720.0 → 0.0.0-nightly-20230721.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 _0x3122=['getRows','tableCellBorderWidth','removeRows','conversion','high','cells','getRowIndexes','plugins','editor','markMultiRangeInsertion','getContainedElement','insert','insertColumns','document','first','suggestion','deletionRanges','registerCustomCallback','showSuggestionHighlights','markerName','setAttributes','tableCellSuggestion','tablePasteCell','locale','columnInsertionIndexes','_suggestionFactory','rowInsertionIndexes','getSelectionAffectedTableCells','markerToHighlight','redo','change','length','createTableWalker','rootName','position','set','view','registerDescriptionCallback','keys','tablePasteRow','getChanges','find','findAncestor','TrackChangesEditing','element','tablePaste','setAttribute','root','_descriptionFactory','tableCellBorderStyle','content','value','startsWith','markMultiRangeDeletion','has','row','type','getSuggestions','tableCellPadding','isEmpty','createRangeIn','for','suggestionUnloaded','trackChanges','containsRange','columns','isEqual','tableCellHorizontalAlignment','suggestionLoaded','unwrap','model','getAllAdjacentSuggestions','column','includes','getTableIfOnlyTableInContent','_tablePostFixingSubtypes','end','*Replace\x20table\x20cells*','markers','removeColumns','from','entries','requires','nodeAfter','commands','fromEntries','getSuggestionCallback','createElement','getSuggestion','paragraph','wrap','push','tableCell','accept','editing','getChangedMarkers','suggestion:formatBlock:tablePasteCell','discard','_replaceTableSlotCell','tableCellVerticalAlignment','filter','oldRange','ck-suggestion-marker--active','start','insertContent','getShiftedBy','removeMarker','getItems','tablePasteChainId','endColumn','table','TableClipboard','cell','add','previousSibling','get','differ','nextSibling','formatBlock','remove','getColumns','createRangeOn','getAttributes','join','dataDowncast','tableCellBackgroundColor','forceDefaultExecution','getRange','attributes','insertion','ck-suggestion-marker-insertion','documentSelection','Users','map','insertRows','suggestion-td','markerAttributes','move','removeMarkers','stop','rows','clipboardOutput','getMarkers','newRange','getChildren','elementToElement','ck-suggestion-marker','insertionRanges','activeMarkers','return','subType','last','listenTo','name','reduce','author','fill','registerPostFixer','deletion','low','selection','getChild','isInContent','options'];(function(_0x18ccdc,_0x312258){const _0x2930ce=function(_0x45f285){while(--_0x45f285){_0x18ccdc['push'](_0x18ccdc['shift']());}};_0x2930ce(++_0x312258);}(_0x3122,0xcc));const _0x2930=function(_0x18ccdc,_0x312258){_0x18ccdc=_0x18ccdc-0x0;let _0x2930ce=_0x3122[_0x18ccdc];return _0x2930ce;};import{getTranslation as _0x499243}from'../utils/common-translations';import{Plugin as _0x4e3013}from'ckeditor5/src/core';import{uid as _0x230d37,priorities as _0x4770cb}from'ckeditor5/src/utils';import _0x44d2e4 from'./table';const le=[_0x2930('0x7d'),'tableCellBorderColor',_0x2930('0x9'),_0x2930('0x1b'),_0x2930('0x3b'),_0x2930('0x55'),_0x2930('0x12')],ae=Object[_0x2930('0x2d')](le[_0x2930('0x5d')](_0x1679c2=>[_0x1679c2,null]));export default class kt extends _0x4e3013{static get[_0x2930('0x2a')](){return[_0x44d2e4];}['afterInit'](){const _0x11e7c9=this[_0x2930('0x84')];if(!_0x11e7c9[_0x2930('0x83')][_0x2930('0xe')](_0x2930('0x47')))return;const _0x484bb2=_0x11e7c9[_0x2930('0x83')][_0x2930('0x4b')](_0x2930('0x3')),_0x142df1=_0x11e7c9['plugins'][_0x2930('0x4b')]('TableUtils'),_0x2e7a6a=_0x11e7c9['plugins'][_0x2930('0x4b')](_0x44d2e4),_0x39888e=_0x11e7c9[_0x2930('0x83')][_0x2930('0x4b')]('TableClipboard');_0x2e7a6a[_0x2930('0x23')][_0x2930('0x33')](_0x2930('0xa3'),'tablePasteColumn'),_0x11e7c9['model']['schema']['register']('tableCellSuggestion',{'allowIn':_0x2930('0x34'),'allowContentOf':_0x2930('0x34'),'isLimit':!0x0}),_0x11e7c9[_0x2930('0x7f')][_0x2930('0x69')]({'model':_0x2930('0x91'),'view':_0x2930('0x5f')});let _0x37925b=null;_0x11e7c9[_0x2930('0x1e')]['on'](_0x2930('0x40'),(_0x48e584,_0x2369ca)=>{const [_0x371b5d,_0x291a7a]=_0x2369ca,_0x8fbdf8=_0x2369ca[_0x2369ca['length']-0x1];_0x8fbdf8&&_0x8fbdf8[_0x2930('0x56')]||_0x484bb2['_isForcedDefaultExecutionBlock']||this[_0x2930('0x84')][_0x2930('0x2c')]['get'](_0x2930('0x17'))[_0x2930('0xb')]&&function(_0x2c4554,_0xff7b3d,_0x324651,_0x19fece,_0xeb7a23){if(_0xff7b3d&&!_0xff7b3d['is'](_0x2930('0x5b')))return!0x1;const _0x15df0a=_0xeb7a23[_0x2930('0x22')](_0x2c4554,_0x324651);if(!_0x15df0a||!fe(_0x15df0a,void 0x0,_0x19fece))return!0x1;const _0x3c49d3=_0x19fece[_0x2930('0x97')](_0x324651[_0x2930('0x89')][_0x2930('0x78')]);if(!_0x3c49d3[_0x2930('0x9b')])return!0x1;const _0x2566f4=_0x3c49d3[0x0][_0x2930('0x2')](_0x2930('0x46')),_0x54f9cc=_0x19fece[_0x2930('0x82')](_0x3c49d3),_0xa657eb=_0x19fece['getColumnIndexes'](_0x3c49d3),_0x1bad4d={'startRow':_0x54f9cc[_0x2930('0x8a')],'endRow':_0x54f9cc[_0x2930('0x6f')],'startColumn':_0xa657eb[_0x2930('0x8a')],'endColumn':_0xa657eb['last']};return 0x1==_0x3c49d3[_0x2930('0x9b')]&&(_0x1bad4d['endRow']+=_0x19fece[_0x2930('0x7c')](_0x15df0a)-0x1,_0x1bad4d[_0x2930('0x45')]+=_0x19fece[_0x2930('0x50')](_0x15df0a)-0x1),fe(_0x2566f4,_0x1bad4d,_0x19fece);}(_0x371b5d,_0x291a7a,_0x11e7c9[_0x2930('0x1e')],_0x142df1,_0x39888e)&&(_0x48e584[_0x2930('0x63')](),_0x37925b={'cells':[],'insertionRanges':[],'deletionRanges':[],'rowInsertionRanges':[],'rowInsertionIndexes':[],'columnInsertionRanges':[],'columnInsertionIndexes':[]},_0x11e7c9[_0x2930('0x1e')][_0x2930('0x9a')](()=>{_0x11e7c9[_0x2930('0x1e')][_0x2930('0x40')](_0x2369ca[0x0],_0x2369ca[0x1],_0x2369ca[0x2],{'forceDefaultExecution':!0x0});const _0x1142ec=_0x230d37(),{rowInsertionRanges:_0x33a3fd,columnInsertionRanges:_0xd18c29,insertionRanges:_0x23934c,deletionRanges:_0x27d67f,cells:_0x46c68d}=_0x37925b;_0x33a3fd['length']&&_0x484bb2[_0x2930('0x85')](_0x33a3fd,_0x2930('0xa3'),{'tablePasteChainId':_0x1142ec}),_0xd18c29['length']&&_0x484bb2['markMultiRangeInsertion'](_0xd18c29,'tablePasteColumn',{'tablePasteChainId':_0x1142ec}),_0x23934c['length']&&_0x484bb2[_0x2930('0x85')](_0x23934c,_0x2930('0x5'),{'tablePasteChainId':_0x1142ec,'skipNestingCheck':!0x0}),_0x27d67f[_0x2930('0x9b')]&&_0x484bb2[_0x2930('0xd')](_0x27d67f,_0x2930('0x5'),{'tablePasteChainId':_0x1142ec,'skipNestingCheck':!0x0});const _0x3626d3=_0x484bb2['markMultiRangeBlockFormat'](_0x46c68d[_0x2930('0x5d')](({element:_0x469c80})=>_0x469c80),{'formatGroupId':_0x230d37()},[],_0x2930('0x92'),{'tablePasteChainId':_0x1142ec});if(_0x3626d3){const _0xee159e=_0x3626d3[_0x2930('0x66')](),_0xfc0680=[];for(const {element:_0x4e966b,attributes:_0x56afb2}of _0x46c68d){if(!_0x56afb2)continue;const _0x52ec26=_0x11e7c9[_0x2930('0x1e')]['createRangeOn'](_0x4e966b),_0x1bfea2=_0xee159e[_0x2930('0x1')](_0x8f9bde=>_0x8f9bde[_0x2930('0x57')]()[_0x2930('0x1a')](_0x52ec26));_0x1bfea2&&_0xfc0680[_0x2930('0x33')]([_0x1bfea2[_0x2930('0x71')],_0x56afb2]);}_0xfc0680[_0x2930('0x9b')]&&_0x3626d3[_0x2930('0x6')](_0x2930('0x60'),Object['fromEntries'](_0xfc0680));}_0x37925b=null;}));},{'priority':_0x4770cb[_0x2930('0x80')]+0xa}),_0x11e7c9[_0x2930('0x83')][_0x2930('0x4b')]('TableClipboard')['on'](_0x2930('0x3a'),(_0x2a0884,_0x4b8331)=>{const [_0x20dff5,_0x3bac88,,_0x2cdf52]=_0x4b8331;if(!_0x37925b)return;_0x2a0884[_0x2930('0x63')]();const _0x340cf0=_0x20dff5[_0x2930('0x48')],_0x4a4001=_0x3bac88,_0x3c510a=ce(_0x340cf0),_0x441444=ce(_0x4a4001);_0x2a0884[_0x2930('0x6d')]=_0x340cf0;let _0x41da11=null,_0x955ac3=null;if(_0x441444||_0x3c510a){if(_0x3c510a&&!_0x441444){_0x2cdf52['remove'](_0x340cf0[_0x2930('0x79')](0x0));for(const _0x2d60d8 of Array[_0x2930('0x28')](_0x4a4001[_0x2930('0x68')]()))_0x2cdf52[_0x2930('0x87')](_0x2d60d8,_0x340cf0,_0x2930('0x24'));const _0x334ffa=_0x37925b['rowInsertionIndexes'][_0x2930('0x21')](_0x20dff5[_0x2930('0xf')]),_0x2382a3=_0x37925b[_0x2930('0x94')][_0x2930('0x21')](_0x20dff5[_0x2930('0x20')]);_0x334ffa||_0x2382a3||(_0x41da11=_0x2cdf52[_0x2930('0x14')](_0x340cf0));}else _0x441444&&!_0x3c510a&&(_0x955ac3=_0x2cdf52[_0x2930('0x14')](_0x340cf0));}else{const _0x2aa504=_0x2cdf52[_0x2930('0x2f')](_0x2930('0x91')),_0x2f00a8=_0x2cdf52[_0x2930('0x2f')](_0x2930('0x91'));_0x2cdf52[_0x2930('0x32')](_0x2cdf52[_0x2930('0x14')](_0x340cf0),_0x2f00a8),_0x2cdf52[_0x2930('0x87')](_0x2aa504,_0x340cf0,0x0);for(const _0x311e4c of Array['from'](_0x4a4001['getChildren']()))_0x2cdf52[_0x2930('0x87')](_0x311e4c,_0x2aa504,'end');_0x41da11=_0x2cdf52[_0x2930('0x51')](_0x2aa504),_0x955ac3=_0x2cdf52['createRangeOn'](_0x2f00a8);}const _0x8cb158=Array['from'](_0x4a4001[_0x2930('0x52')]())[_0x2930('0x3c')](([_0x189553])=>le[_0x2930('0x21')](_0x189553));_0x37925b[_0x2930('0x81')][_0x2930('0x33')]({'element':_0x340cf0,'attributes':_0x8cb158[_0x2930('0x9b')]?Object[_0x2930('0x2d')](_0x8cb158):null}),_0x41da11&&_0x37925b[_0x2930('0x6b')][_0x2930('0x33')](_0x41da11),_0x955ac3&&_0x37925b[_0x2930('0x8c')][_0x2930('0x33')](_0x955ac3);},{'priority':'high'}),_0x142df1['on'](_0x2930('0x88'),(_0x137826,_0x3bcf84)=>{const [_0x1fc5e4,_0x1cba33={}]=_0x3bcf84;if(!_0x37925b)return;const _0x28efe7=_0x1cba33['at']||0x0,_0x4f1ba4=_0x1cba33[_0x2930('0x19')]||0x1;_0x37925b[_0x2930('0x94')]=new Array(_0x4f1ba4)['fill'](_0x28efe7)[_0x2930('0x5d')]((_0xdfae74,_0x2c600c)=>_0xdfae74+_0x2c600c);for(const {cell:_0x16fe6a}of _0x142df1[_0x2930('0x9c')](_0x1fc5e4,{'startColumn':_0x28efe7,'endColumn':_0x28efe7+_0x4f1ba4-0x1}))_0x37925b['columnInsertionRanges']['push'](_0x11e7c9[_0x2930('0x1e')][_0x2930('0x51')](_0x16fe6a));},{'priority':_0x2930('0x77')}),_0x142df1['on'](_0x2930('0x5e'),(_0x572d2d,_0x2a7878)=>{const [_0x4427b9,_0x58b95e={}]=_0x2a7878;if(!_0x37925b)return;const _0x5274d5=_0x58b95e['at']||0x0,_0x205794=_0x58b95e[_0x2930('0x64')]||0x1;_0x37925b[_0x2930('0x96')]=new Array(_0x205794)[_0x2930('0x74')](_0x5274d5)['map']((_0x10fe7e,_0x2cabc9)=>_0x10fe7e+_0x2cabc9);for(const {cell:_0x3f677b}of _0x142df1[_0x2930('0x9c')](_0x4427b9,{'startRow':_0x5274d5,'endRow':_0x5274d5+_0x205794-0x1}))_0x37925b['rowInsertionRanges'][_0x2930('0x33')](_0x11e7c9[_0x2930('0x1e')][_0x2930('0x51')](_0x3f677b));},{'priority':_0x2930('0x77')}),_0x484bb2[_0x2930('0x8')][_0x2930('0xa1')](_0x592edd=>{if(_0x592edd[_0x2930('0x6e')]&&_0x592edd[_0x2930('0x6e')][_0x2930('0xc')](_0x2930('0x5')))return _0x592edd['previous']?{}:{'type':_0x2930('0x59'),'content':_0x499243(_0x11e7c9[_0x2930('0x93')],_0x2930('0x25'))};});const _0x49f6fc=()=>{};for(const _0x36f6a4 of['tablePaste','tablePasteColumn',_0x2930('0xa3'),_0x2930('0x92')])_0x484bb2[_0x2930('0x95')][_0x2930('0x8d')](_0x2930('0x59'),_0x36f6a4,_0x2930('0x53'),_0x49f6fc),_0x484bb2[_0x2930('0x95')]['registerCustomCallback'](_0x2930('0x76'),_0x36f6a4,_0x2930('0x53'),_0x49f6fc);_0x484bb2[_0x2930('0x95')][_0x2930('0x8d')]('formatBlock',_0x2930('0x92'),'discard',_0x49f6fc),_0x484bb2[_0x2930('0x95')][_0x2930('0x8d')](_0x2930('0x4e'),'tablePasteCell',_0x2930('0x35'),(_0x2dba46,_0x4cb4bd,_0x31851a)=>{const _0x48ab78=_0x2dba46[_0x2930('0x5d')](_0x35cd77=>_0x35cd77['getContainedElement']())['filter'](_0x47839c=>_0x47839c),_0x55d672=new Map(_0x48ab78[_0x2930('0x5d')](_0x4e5b55=>[_0x4e5b55,null]));if(_0x37925b)for(const {element:_0x873f5b,attributes:_0x58d7e9}of _0x37925b[_0x2930('0x81')])_0x58d7e9&&_0x55d672[_0x2930('0x9f')](_0x873f5b,_0x58d7e9);else{if(_0x31851a&&_0x31851a[_0x2930('0x60')])for(const [_0x27fcc5,_0x127b32]of Object[_0x2930('0x29')](_0x31851a['markerAttributes'])){const _0x1e4bed=_0x11e7c9[_0x2930('0x1e')][_0x2930('0x26')][_0x2930('0x4b')](_0x27fcc5),_0x252895=_0x1e4bed?_0x1e4bed[_0x2930('0x57')]()['getContainedElement']():null;_0x252895&&_0x55d672[_0x2930('0x9f')](_0x252895,_0x127b32);}}_0x11e7c9[_0x2930('0x1e')][_0x2930('0x9a')](_0x102cf=>{for(const [_0x1c9bb4,_0xbb0ed5]of _0x55d672)_0x102cf[_0x2930('0x90')]({...ae,..._0xbb0ed5},_0x1c9bb4);});});const _0x5eddad=(_0x4735a1,_0x40d177)=>{_0x484bb2[_0x2930('0x95')][_0x2930('0x8d')](_0x4735a1,_0x2930('0x5'),_0x40d177,(_0x5d6872,_0x4a5189,_0x5be77a)=>{_0x11e7c9[_0x2930('0x1e')]['change'](_0x3dbc79=>{const _0x30a7f7=[];for(const _0x2a4717 of _0x5d6872){const _0x3be3d8=_0x2a4717[_0x2930('0x3f')][_0x2930('0x2b')];_0x3be3d8['is']('element',_0x2930('0x91'))&&_0x30a7f7[_0x2930('0x33')](_0x3be3d8);}_0x484bb2[_0x2930('0x95')][_0x2930('0x2e')](_0x4735a1,null,_0x40d177)(_0x5d6872,_0x4a5189,_0x5be77a);for(const _0x45cd8b of _0x30a7f7)'$graveyard'!=_0x45cd8b[_0x2930('0x7')][_0x2930('0x9d')]&&_0x3dbc79['unwrap'](_0x45cd8b);});});};_0x5eddad(_0x2930('0x59'),'accept'),_0x5eddad(_0x2930('0x59'),_0x2930('0x39')),_0x5eddad(_0x2930('0x76'),'accept'),_0x5eddad(_0x2930('0x76'),_0x2930('0x39')),_0x484bb2[_0x2930('0x95')][_0x2930('0x8d')]('insertion',_0x2930('0xa3'),_0x2930('0x39'),_0x2b81f0=>{const _0x59c314=_0x2b81f0[_0x2930('0x5d')](_0x4d6bef=>_0x4d6bef[_0x2930('0x86')]()),_0xfbb47c=_0x59c314[0x0]['findAncestor'](_0x2930('0x46')),{minRow:_0x5dd52a,maxRow:_0x5d0e6c}=_0x2e7a6a['_getCoordsForCells'](_0x59c314);_0x142df1[_0x2930('0x7e')](_0xfbb47c,{'at':_0x5dd52a,'rows':_0x5d0e6c-_0x5dd52a+0x1});}),_0x484bb2[_0x2930('0x95')][_0x2930('0x8d')](_0x2930('0x59'),'tablePasteColumn','discard',_0xe19aea=>{const _0x5e626f=_0xe19aea['map'](_0x2c4433=>_0x2c4433[_0x2930('0x86')]()),_0x57ca86=_0x5e626f[0x0][_0x2930('0x2')]('table'),{minColumn:_0x1a87b3,maxColumn:_0x2984d6}=_0x2e7a6a['_getCoordsForCells'](_0x5e626f);_0x142df1[_0x2930('0x27')](_0x57ca86,{'at':_0x1a87b3,'columns':_0x2984d6-_0x1a87b3+0x1});});const _0x2e0df6=(_0x41feae,_0x5c7dfe)=>{if(!_0x5c7dfe['subType']||!_0x5c7dfe[_0x2930('0x6e')][_0x2930('0xc')]('tablePaste'))return;const _0x282cb2=_0x5c7dfe[_0x2930('0x58')][_0x2930('0x44')],_0xa49ab=_0x484bb2[_0x2930('0x11')]()['filter'](_0x572904=>_0x572904['isInContent']&&_0x572904[_0x2930('0x58')]&&_0x572904[_0x2930('0x58')][_0x2930('0x44')]==_0x282cb2);_0xa49ab[_0x2930('0x9b')]&&_0x5c7dfe[_0x2930('0x1f')]()[_0x2930('0x9b')]!=_0xa49ab[_0x2930('0x9b')]&&_0xa49ab[_0x2930('0x72')]((_0x2f58d2,_0x4559e7)=>(_0x2f58d2['next']=_0x4559e7,_0x4559e7['previous']=_0x2f58d2,_0x4559e7));};function _0x42bd57(_0x187c49,_0x24a235=!0x0){const {id:_0x168cc3}=_0x484bb2['_splitMarkerName'](_0x187c49[_0x2930('0x8f')]),_0x3a820a=[_0x2930('0x6a'),_0x2930('0x5a')],_0xd27617=_0x484bb2[_0x2930('0x6c')][_0x2930('0x21')](_0x187c49['markerName']);return _0xd27617&&_0x3a820a[_0x2930('0x33')](_0x2930('0x3e')),{'classes':_0x3a820a,'attributes':{'data-suggestion':_0x168cc3},'priority':_0xd27617&&_0x24a235?0xbc2:0xbb8};}_0x484bb2['on'](_0x2930('0x1c'),_0x2e0df6,{'priority':'high'}),_0x484bb2['on'](_0x2930('0x16'),_0x2e0df6,{'priority':_0x2930('0x80')}),_0x11e7c9['model']['document'][_0x2930('0x75')](()=>{let _0x3d0a32=!0x1;const _0xe0df23=Array[_0x2930('0x28')](_0x11e7c9[_0x2930('0x1e')]['document'][_0x2930('0x4c')][_0x2930('0x37')]());for(const {name:_0x58242f,data:_0x42727e}of _0xe0df23){const {group:_0x555b43,type:_0x539a37,id:_0x5211c1}=_0x484bb2['_splitMarkerName'](_0x58242f);if(_0x2930('0x8b')!=_0x555b43||'deletion'!=_0x539a37||_0x42727e[_0x2930('0x3d')])continue;if(!_0x484bb2['hasSuggestion'](_0x5211c1))continue;const _0x57237c=_0x484bb2[_0x2930('0x30')](_0x5211c1)['getRanges'](),_0x44fe7d=_0x11e7c9['plugins'][_0x2930('0x4b')](_0x2930('0x5c'))['me'];for(const _0x3a0ff6 of _0x484bb2[_0x2930('0x11')]()){if(!_0x3a0ff6[_0x2930('0x7a')]||_0x3a0ff6[_0x2930('0x73')]!=_0x44fe7d)continue;if(_0x2930('0x4e')!=_0x3a0ff6[_0x2930('0x10')]||'tablePasteCell'!=_0x3a0ff6[_0x2930('0x6e')])continue;if(_0x3a0ff6['getRanges']()['every'](_0x5949a9=>_0x57237c['some'](_0x110fd7=>_0x110fd7[_0x2930('0x18')](_0x5949a9,!0x0))))for(const _0x10a117 of _0x3a0ff6[_0x2930('0x1f')]())_0x10a117[_0x2930('0x7a')]&&(_0x10a117['discard'](),_0x3d0a32=!0x0);}}return _0x3d0a32;}),_0x11e7c9['model']['document'][_0x2930('0x75')](_0x5551e4=>{const _0x3d5214=_0x11e7c9[_0x2930('0x2c')][_0x2930('0x4b')](_0x2930('0x99'));if(!_0x3d5214||!_0x3d5214['_createdBatches'][_0x2930('0xe')](_0x5551e4['batch']))return!0x1;let _0x4893ed=!0x1;const _0x4a3375=_0x11e7c9[_0x2930('0x83')][_0x2930('0x4b')](_0x2930('0x5c'))['me'],_0x3e9479=_0x11e7c9[_0x2930('0x1e')][_0x2930('0x89')][_0x2930('0x4c')][_0x2930('0x0')](),_0x3976fa=Array[_0x2930('0x28')](_0x11e7c9[_0x2930('0x1e')][_0x2930('0x89')]['differ']['getChangedMarkers']())[_0x2930('0x3c')](({name:_0x425447,data:_0x3e6475})=>{const {group:_0x5d531f,subType:_0x53a4e9,authorId:_0x2b994a}=_0x484bb2['_splitMarkerName'](_0x425447);return _0x2930('0x8b')==_0x5d531f&&_0x2930('0x5')==_0x53a4e9&&_0x2b994a==_0x4a3375['id']&&!_0x3e6475['oldRange'];});for(const _0x245f50 of _0x3e9479){if(_0x2930('0x87')!=_0x245f50[_0x2930('0x10')]||'tableCellSuggestion'!=_0x245f50[_0x2930('0x71')]||0x1!=_0x245f50['length'])continue;const _0x3895c8=_0x5551e4['createRange'](_0x245f50[_0x2930('0x9e')],_0x245f50[_0x2930('0x9e')][_0x2930('0x41')](0x1));if(!_0x3976fa[_0x2930('0x1')](({data:_0x823ac4})=>_0x823ac4[_0x2930('0x67')]['isEqual'](_0x3895c8)))for(const {name:_0x489672,data:_0x860a42}of _0x3976fa)if(_0x3895c8[_0x2930('0x18')](_0x860a42[_0x2930('0x67')])){_0x5551e4['updateMarker'](_0x489672,{'range':_0x3895c8}),_0x4893ed=!0x0;break;}}return _0x4893ed;}),_0x11e7c9[_0x2930('0x1e')][_0x2930('0x89')][_0x2930('0x75')](_0x3fab09=>{let _0x48faf8=!0x1;const _0x43b44c=_0x11e7c9[_0x2930('0x83')][_0x2930('0x4b')](_0x2930('0x5c'))['me'],_0x1c236f=_0x484bb2[_0x2930('0x11')]()[_0x2930('0x3c')](_0x505485=>_0x505485['isInContent']&&_0x505485[_0x2930('0x73')]==_0x43b44c),_0x1cc5d8=new Set(),_0x15c989=new Set();for(const _0x40db4d of _0x1c236f)if('tablePaste'==_0x40db4d[_0x2930('0x6e')])for(const _0x3a6881 of _0x40db4d['getMarkers']()){const _0x19fe83=_0x3a6881[_0x2930('0x57')]()[_0x2930('0x86')]();if(_0x19fe83){if(_0x19fe83['is']('element',_0x2930('0x91'))&&ce(_0x19fe83)){_0x40db4d[_0x2930('0x42')](_0x3a6881[_0x2930('0x71')]),_0x1cc5d8['add'](_0x19fe83),_0x48faf8=!0x0;const _0x219bf3=_0x19fe83[_0x2930('0x4d')],_0x4bbd0c=_0x19fe83[_0x2930('0x4a')],_0x122067=_0x219bf3&&_0x219bf3['is'](_0x2930('0x4'),_0x2930('0x91')),_0x54d938=_0x4bbd0c&&_0x4bbd0c['is'](_0x2930('0x4'),_0x2930('0x91'));_0x122067&&!_0x1cc5d8[_0x2930('0xe')](_0x219bf3)&&_0x15c989[_0x2930('0x49')](_0x219bf3),_0x54d938&&!_0x1cc5d8[_0x2930('0xe')](_0x4bbd0c)&&_0x15c989[_0x2930('0x49')](_0x4bbd0c);}else _0x19fe83['is'](_0x2930('0x4'),_0x2930('0x31'))&&_0x19fe83[_0x2930('0x13')]&&(_0x40db4d[_0x2930('0x42')](_0x3a6881['name']),_0x48faf8=!0x0);}}else{if('tablePasteCell'==_0x40db4d['subType']){if(!_0x40db4d[_0x2930('0x58')]||!_0x40db4d[_0x2930('0x58')][_0x2930('0x44')])continue;const _0x4b806c=_0x40db4d[_0x2930('0x58')][_0x2930('0x60')];if(_0x4b806c&&Object[_0x2930('0xa2')](_0x4b806c)[_0x2930('0x9b')])continue;const _0x5aa67e=_0x40db4d['attributes'][_0x2930('0x44')];let _0x3590d1=!0x0,_0x424bac=!0x0;for(const _0x51c98d of _0x1c236f)if(_0x51c98d[_0x2930('0x6e')]&&_0x51c98d[_0x2930('0x6e')][_0x2930('0xc')](_0x2930('0x5'))){if(!_0x51c98d[_0x2930('0x58')]['tablePasteChainId']){_0x424bac=!0x1;break;}if(_0x51c98d['id']!=_0x40db4d['id']&&_0x51c98d[_0x2930('0x58')][_0x2930('0x44')]==_0x5aa67e){_0x3590d1=!0x1;break;}}_0x424bac&&_0x3590d1&&(_0x40db4d[_0x2930('0x62')](),_0x48faf8=!0x0);}}for(const _0x10e119 of _0x1cc5d8)_0x3fab09[_0x2930('0x4f')](_0x10e119);for(const _0x4a7779 of _0x15c989)_0x3fab09[_0x2930('0x1d')](_0x4a7779);return _0x48faf8;}),_0x11e7c9[_0x2930('0x7f')]['for']('editingDowncast')[_0x2930('0x98')]({'model':_0x2930('0x38'),'view':(_0x24239c,_0xb4b478)=>_0x42bd57(_0x24239c),'converterPriority':_0x2930('0x80')}),_0x11e7c9[_0x2930('0x7f')][_0x2930('0x15')](_0x2930('0x54'))[_0x2930('0x98')]({'model':_0x2930('0x38'),'view':(_0x9e0b23,_0x921def)=>_0x921def[_0x2930('0x7b')][_0x2930('0x8e')]?_0x42bd57(_0x9e0b23,!0x1):null,'converterPriority':_0x2930('0x80')});const _0x286f71=_0x11e7c9[_0x2930('0x36')][_0x2930('0xa0')];this[_0x2930('0x70')](_0x286f71[_0x2930('0x89')],_0x2930('0x65'),(_0x13391a,_0xaffbb8)=>{const _0x5dd636=[];for(const _0x33ca19 of _0x286f71[_0x2930('0x14')](_0xaffbb8[_0x2930('0xa')])[_0x2930('0x43')]())_0x33ca19['is'](_0x2930('0x4'),_0x2930('0x5f'))&&_0x5dd636['push'](_0x33ca19);_0x286f71['change'](_0x1b7404=>{for(const _0x14381f of _0x5dd636)_0x1b7404[_0x2930('0x61')](_0x1b7404[_0x2930('0x14')](_0x14381f),_0x1b7404['createPositionBefore'](_0x14381f)),_0x1b7404[_0x2930('0x4f')](_0x14381f);});});}}function ce(_0x375684){if(_0x375684['isEmpty'])return!0x0;const _0x238822=_0x375684['getChild'](0x0);return _0x238822['is'](_0x2930('0x4'),'paragraph')&&_0x238822[_0x2930('0x13')];}function fe(_0x3e0175,_0x24e121={},_0x4c152f){for(const {isAnchor:_0x2e0643,cellHeight:_0x4c9b57,cellWidth:_0x4c70ed}of _0x4c152f[_0x2930('0x9c')](_0x3e0175,{'includeAllSlots':!0x0,..._0x24e121}))if(!_0x2e0643||0x1!=_0x4c9b57||0x1!=_0x4c70ed)return!0x1;return!0x0;}
23
+ const _0x3fdb=['getSuggestion','editingDowncast','removeColumns','documentSelection','stop','author','ck-suggestion-marker--active','add','requires','reduce','suggestion','getChildren','value','TrackChangesEditing','accept','getColumnIndexes','_createdBatches','tableCellHorizontalAlignment','_getCoordsForCells','commands','isInContent','from','position','table','root','previousSibling','markers','low','editor','setAttribute','tablePasteRow','markMultiRangeInsertion','conversion','oldRange','first','$graveyard','cells','nextSibling','document','Users','redo','getChangedMarkers','selection','getSuggestions','getChild','editing','removeRows','model','rootName','includes','createRange','discard','getRanges','tableCellBorderStyle','schema','registerDescriptionCallback','formatBlock','previous','registerCustomCallback','columns','suggestion-td','type','getContainedElement','last','markerToHighlight','paragraph','next','wrap','fill','tableCellBorderWidth','_descriptionFactory','deletion','ck-suggestion-marker','push','for','containsRange','tableCellSuggestion','setAttributes','insert','markerName','_splitMarkerName','remove','tablePaste','move','updateMarker','columnInsertionRanges','insertRows','every','name','rowInsertionIndexes','getMarkers','insertionRanges','batch','isEmpty','endColumn','tablePasteCell','newRange','unwrap','high','hasSuggestion','markerAttributes','listenTo','getRange','dataDowncast','clipboardOutput','find','createRangeIn','tableCellVerticalAlignment','tablePasteChainId','markMultiRangeDeletion','tableCellBorderColor','startsWith','set','return','createTableWalker','suggestion:formatBlock:tablePasteCell','ck-suggestion-marker-insertion','elementToElement','suggestionLoaded','column','register','suggestionUnloaded','getAllAdjacentSuggestions','plugins','registerPostFixer','findAncestor','_suggestionFactory','removeMarkers','change','TableClipboard','removeMarker','view','attributes','createRangeOn','subType','keys','cell','fromEntries','has','insertion','start','isEqual','showSuggestionHighlights','tablePasteColumn','insertColumns','differ','filter','length','insertContent','end','getChanges','get','options','element','join','map','createPositionBefore','markMultiRangeBlockFormat','getColumns','trackChanges','tableCell','_tablePostFixingSubtypes','some','createElement','deletionRanges'];(function(_0x187632,_0x3fdb0e){const _0x5ace36=function(_0x34a125){while(--_0x34a125){_0x187632['push'](_0x187632['shift']());}};_0x5ace36(++_0x3fdb0e);}(_0x3fdb,0xca));const _0x5ace=function(_0x187632,_0x3fdb0e){_0x187632=_0x187632-0x0;let _0x5ace36=_0x3fdb[_0x187632];return _0x5ace36;};import{getTranslation as _0x5eee4d}from'../utils/common-translations';import{Plugin as _0x18732e}from'ckeditor5/src/core';import{uid as _0x50fd1f,priorities as _0x1a7134}from'ckeditor5/src/utils';import _0x5b68a1 from'./table';const le=[_0x5ace('0x20'),_0x5ace('0x49'),_0x5ace('0x10'),_0x5ace('0x91'),_0x5ace('0x46'),'tableCellBackgroundColor','tableCellPadding'],ae=Object[_0x5ace('0x64')](le[_0x5ace('0x76')](_0x7baba2=>[_0x7baba2,null]));export default class kt extends _0x18732e{static get[_0x5ace('0x88')](){return[_0x5b68a1];}['afterInit'](){const _0x56bf5c=this['editor'];if(!_0x56bf5c['plugins']['has'](_0x5ace('0x5c')))return;const _0x590b6f=_0x56bf5c[_0x5ace('0x56')]['get'](_0x5ace('0x8d')),_0x100933=_0x56bf5c['plugins'][_0x5ace('0x72')]('TableUtils'),_0x9aa838=_0x56bf5c[_0x5ace('0x56')][_0x5ace('0x72')](_0x5b68a1),_0x3c32c5=_0x56bf5c[_0x5ace('0x56')]['get'](_0x5ace('0x5c'));_0x9aa838[_0x5ace('0x7c')][_0x5ace('0x24')]('tablePasteRow','tablePasteColumn'),_0x56bf5c['model'][_0x5ace('0x11')][_0x5ace('0x53')]('tableCellSuggestion',{'allowIn':'tableCell','allowContentOf':_0x5ace('0x7b'),'isLimit':!0x0}),_0x56bf5c[_0x5ace('0xa0')][_0x5ace('0x50')]({'model':_0x5ace('0x27'),'view':_0x5ace('0x17')});let _0x2b374a=null;_0x56bf5c[_0x5ace('0xa')]['on'](_0x5ace('0x6f'),(_0x46b02a,_0x3f1d02)=>{const [_0x58f117,_0x4184b9]=_0x3f1d02,_0x37026a=_0x3f1d02[_0x3f1d02[_0x5ace('0x6e')]-0x1];_0x37026a&&_0x37026a['forceDefaultExecution']||_0x590b6f['_isForcedDefaultExecutionBlock']||this[_0x5ace('0x9c')]['commands']['get'](_0x5ace('0x7a'))[_0x5ace('0x8c')]&&function(_0x2439e2,_0x2b9565,_0x122151,_0x9f3101,_0x1daed3){if(_0x2b9565&&!_0x2b9565['is'](_0x5ace('0x83')))return!0x1;const _0x4cb5a8=_0x1daed3['getTableIfOnlyTableInContent'](_0x2439e2,_0x122151);if(!_0x4cb5a8||!fe(_0x4cb5a8,void 0x0,_0x9f3101))return!0x1;const _0x571859=_0x9f3101['getSelectionAffectedTableCells'](_0x122151[_0x5ace('0x1')][_0x5ace('0x5')]);if(!_0x571859[_0x5ace('0x6e')])return!0x1;const _0x459065=_0x571859[0x0]['findAncestor']('table'),_0x29ecd2=_0x9f3101['getRowIndexes'](_0x571859),_0x207a53=_0x9f3101[_0x5ace('0x8f')](_0x571859),_0x5d8f9c={'startRow':_0x29ecd2[_0x5ace('0xa2')],'endRow':_0x29ecd2[_0x5ace('0x1a')],'startColumn':_0x207a53[_0x5ace('0xa2')],'endColumn':_0x207a53[_0x5ace('0x1a')]};return 0x1==_0x571859[_0x5ace('0x6e')]&&(_0x5d8f9c['endRow']+=_0x9f3101['getRows'](_0x4cb5a8)-0x1,_0x5d8f9c[_0x5ace('0x39')]+=_0x9f3101[_0x5ace('0x79')](_0x4cb5a8)-0x1),fe(_0x459065,_0x5d8f9c,_0x9f3101);}(_0x58f117,_0x4184b9,_0x56bf5c[_0x5ace('0xa')],_0x100933,_0x3c32c5)&&(_0x46b02a[_0x5ace('0x84')](),_0x2b374a={'cells':[],'insertionRanges':[],'deletionRanges':[],'rowInsertionRanges':[],'rowInsertionIndexes':[],'columnInsertionRanges':[],'columnInsertionIndexes':[]},_0x56bf5c[_0x5ace('0xa')][_0x5ace('0x5b')](()=>{_0x56bf5c[_0x5ace('0xa')]['insertContent'](_0x3f1d02[0x0],_0x3f1d02[0x1],_0x3f1d02[0x2],{'forceDefaultExecution':!0x0});const _0x298974=_0x50fd1f(),{rowInsertionRanges:_0x3bdfaa,columnInsertionRanges:_0x43bb83,insertionRanges:_0xe2593e,deletionRanges:_0x1fb0bb,cells:_0x15ecb9}=_0x2b374a;_0x3bdfaa[_0x5ace('0x6e')]&&_0x590b6f[_0x5ace('0x9f')](_0x3bdfaa,_0x5ace('0x9e'),{'tablePasteChainId':_0x298974}),_0x43bb83['length']&&_0x590b6f[_0x5ace('0x9f')](_0x43bb83,'tablePasteColumn',{'tablePasteChainId':_0x298974}),_0xe2593e['length']&&_0x590b6f[_0x5ace('0x9f')](_0xe2593e,'tablePaste',{'tablePasteChainId':_0x298974,'skipNestingCheck':!0x0}),_0x1fb0bb[_0x5ace('0x6e')]&&_0x590b6f[_0x5ace('0x48')](_0x1fb0bb,_0x5ace('0x2d'),{'tablePasteChainId':_0x298974,'skipNestingCheck':!0x0});const _0x352e42=_0x590b6f[_0x5ace('0x78')](_0x15ecb9[_0x5ace('0x76')](({element:_0x60510f})=>_0x60510f),{'formatGroupId':_0x50fd1f()},[],_0x5ace('0x3a'),{'tablePasteChainId':_0x298974});if(_0x352e42){const _0x45fdb5=_0x352e42[_0x5ace('0x35')](),_0x396f7f=[];for(const {element:_0x4e80a1,attributes:_0x4d3b28}of _0x15ecb9){if(!_0x4d3b28)continue;const _0x5aaf56=_0x56bf5c[_0x5ace('0xa')][_0x5ace('0x60')](_0x4e80a1),_0x35560b=_0x45fdb5[_0x5ace('0x44')](_0x34de7c=>_0x34de7c[_0x5ace('0x41')]()[_0x5ace('0x68')](_0x5aaf56));_0x35560b&&_0x396f7f[_0x5ace('0x24')]([_0x35560b['name'],_0x4d3b28]);}_0x396f7f[_0x5ace('0x6e')]&&_0x352e42[_0x5ace('0x9d')](_0x5ace('0x3f'),Object['fromEntries'](_0x396f7f));}_0x2b374a=null;}));},{'priority':_0x1a7134[_0x5ace('0x3d')]+0xa}),_0x56bf5c[_0x5ace('0x56')]['get'](_0x5ace('0x5c'))['on']('_replaceTableSlotCell',(_0x383feb,_0x1f3e7b)=>{const [_0x4df857,_0x2b0f8f,,_0x1f82d4]=_0x1f3e7b;if(!_0x2b374a)return;_0x383feb[_0x5ace('0x84')]();const _0x5ba791=_0x4df857[_0x5ace('0x63')],_0x33ac88=_0x2b0f8f,_0x234c73=ce(_0x5ba791),_0x256eec=ce(_0x33ac88);_0x383feb[_0x5ace('0x4c')]=_0x5ba791;let _0x37c511=null,_0x31c25b=null;if(_0x256eec||_0x234c73){if(_0x234c73&&!_0x256eec){_0x1f82d4[_0x5ace('0x2c')](_0x5ba791[_0x5ace('0x7')](0x0));for(const _0x538e8b of Array[_0x5ace('0x95')](_0x33ac88[_0x5ace('0x8b')]()))_0x1f82d4['insert'](_0x538e8b,_0x5ba791,_0x5ace('0x70'));const _0x1e3b9e=_0x2b374a[_0x5ace('0x34')][_0x5ace('0xc')](_0x4df857['row']),_0x4bc399=_0x2b374a['columnInsertionIndexes']['includes'](_0x4df857[_0x5ace('0x52')]);_0x1e3b9e||_0x4bc399||(_0x37c511=_0x1f82d4[_0x5ace('0x45')](_0x5ba791));}else _0x256eec&&!_0x234c73&&(_0x31c25b=_0x1f82d4[_0x5ace('0x45')](_0x5ba791));}else{const _0x15a097=_0x1f82d4[_0x5ace('0x7e')](_0x5ace('0x27')),_0x58cae4=_0x1f82d4[_0x5ace('0x7e')]('tableCellSuggestion');_0x1f82d4[_0x5ace('0x1e')](_0x1f82d4[_0x5ace('0x45')](_0x5ba791),_0x58cae4),_0x1f82d4[_0x5ace('0x29')](_0x15a097,_0x5ba791,0x0);for(const _0x54333f of Array['from'](_0x33ac88['getChildren']()))_0x1f82d4[_0x5ace('0x29')](_0x54333f,_0x15a097,_0x5ace('0x70'));_0x37c511=_0x1f82d4['createRangeOn'](_0x15a097),_0x31c25b=_0x1f82d4[_0x5ace('0x60')](_0x58cae4);}const _0x19d11b=Array[_0x5ace('0x95')](_0x33ac88['getAttributes']())[_0x5ace('0x6d')](([_0x3b40bf])=>le[_0x5ace('0xc')](_0x3b40bf));_0x2b374a[_0x5ace('0xa4')][_0x5ace('0x24')]({'element':_0x5ba791,'attributes':_0x19d11b['length']?Object['fromEntries'](_0x19d11b):null}),_0x37c511&&_0x2b374a[_0x5ace('0x36')][_0x5ace('0x24')](_0x37c511),_0x31c25b&&_0x2b374a[_0x5ace('0x7f')][_0x5ace('0x24')](_0x31c25b);},{'priority':'high'}),_0x100933['on'](_0x5ace('0x6b'),(_0x3dcf95,_0x2959bb)=>{const [_0x25acb6,_0x3089b9={}]=_0x2959bb;if(!_0x2b374a)return;const _0x19ddeb=_0x3089b9['at']||0x0,_0x24e92d=_0x3089b9[_0x5ace('0x16')]||0x1;_0x2b374a['columnInsertionIndexes']=new Array(_0x24e92d)[_0x5ace('0x1f')](_0x19ddeb)['map']((_0x40139c,_0x37d4b8)=>_0x40139c+_0x37d4b8);for(const {cell:_0x2d49e0}of _0x100933[_0x5ace('0x4d')](_0x25acb6,{'startColumn':_0x19ddeb,'endColumn':_0x19ddeb+_0x24e92d-0x1}))_0x2b374a[_0x5ace('0x30')][_0x5ace('0x24')](_0x56bf5c[_0x5ace('0xa')]['createRangeOn'](_0x2d49e0));},{'priority':_0x5ace('0x9b')}),_0x100933['on'](_0x5ace('0x31'),(_0x389b5e,_0xd5ed5f)=>{const [_0x1427d4,_0x45a089={}]=_0xd5ed5f;if(!_0x2b374a)return;const _0x3cc8b5=_0x45a089['at']||0x0,_0x195515=_0x45a089['rows']||0x1;_0x2b374a['rowInsertionIndexes']=new Array(_0x195515)[_0x5ace('0x1f')](_0x3cc8b5)['map']((_0x475610,_0x143c44)=>_0x475610+_0x143c44);for(const {cell:_0x2fa19a}of _0x100933[_0x5ace('0x4d')](_0x1427d4,{'startRow':_0x3cc8b5,'endRow':_0x3cc8b5+_0x195515-0x1}))_0x2b374a['rowInsertionRanges'][_0x5ace('0x24')](_0x56bf5c[_0x5ace('0xa')]['createRangeOn'](_0x2fa19a));},{'priority':_0x5ace('0x9b')}),_0x590b6f[_0x5ace('0x21')][_0x5ace('0x12')](_0x77748b=>{if(_0x77748b[_0x5ace('0x61')]&&_0x77748b[_0x5ace('0x61')][_0x5ace('0x4a')]('tablePaste'))return _0x77748b['previous']?{}:{'type':'insertion','content':_0x5eee4d(_0x56bf5c['locale'],'*Replace\x20table\x20cells*')};});const _0x5d07d1=()=>{};for(const _0x10e81c of[_0x5ace('0x2d'),_0x5ace('0x6a'),_0x5ace('0x9e'),_0x5ace('0x3a')])_0x590b6f[_0x5ace('0x59')][_0x5ace('0x15')](_0x5ace('0x66'),_0x10e81c,_0x5ace('0x75'),_0x5d07d1),_0x590b6f['_suggestionFactory'][_0x5ace('0x15')](_0x5ace('0x22'),_0x10e81c,_0x5ace('0x75'),_0x5d07d1);_0x590b6f['_suggestionFactory'][_0x5ace('0x15')](_0x5ace('0x13'),_0x5ace('0x3a'),_0x5ace('0xe'),_0x5d07d1),_0x590b6f[_0x5ace('0x59')]['registerCustomCallback']('formatBlock',_0x5ace('0x3a'),_0x5ace('0x8e'),(_0x50e99d,_0x583838,_0x1c19f1)=>{const _0x44b4b4=_0x50e99d['map'](_0x3b8c8f=>_0x3b8c8f[_0x5ace('0x19')]())[_0x5ace('0x6d')](_0x2f2df5=>_0x2f2df5),_0x2971cd=new Map(_0x44b4b4['map'](_0x905fe2=>[_0x905fe2,null]));if(_0x2b374a)for(const {element:_0x411bed,attributes:_0x3f79f0}of _0x2b374a['cells'])_0x3f79f0&&_0x2971cd[_0x5ace('0x4b')](_0x411bed,_0x3f79f0);else{if(_0x1c19f1&&_0x1c19f1['markerAttributes'])for(const [_0x15f4ea,_0x7685a6]of Object['entries'](_0x1c19f1['markerAttributes'])){const _0x2d4111=_0x56bf5c[_0x5ace('0xa')][_0x5ace('0x9a')][_0x5ace('0x72')](_0x15f4ea),_0xa9d6cf=_0x2d4111?_0x2d4111['getRange']()[_0x5ace('0x19')]():null;_0xa9d6cf&&_0x2971cd[_0x5ace('0x4b')](_0xa9d6cf,_0x7685a6);}}_0x56bf5c[_0x5ace('0xa')][_0x5ace('0x5b')](_0x3d0951=>{for(const [_0x31cb06,_0x46beec]of _0x2971cd)_0x3d0951[_0x5ace('0x28')]({...ae,..._0x46beec},_0x31cb06);});});const _0x44f19d=(_0x361d03,_0x18b7d4)=>{_0x590b6f[_0x5ace('0x59')]['registerCustomCallback'](_0x361d03,_0x5ace('0x2d'),_0x18b7d4,(_0x120e04,_0x1a6dd7,_0x12c48f)=>{_0x56bf5c[_0x5ace('0xa')][_0x5ace('0x5b')](_0x49c02e=>{const _0x557fe8=[];for(const _0x39d45b of _0x120e04){const _0x3ca558=_0x39d45b[_0x5ace('0x67')]['nodeAfter'];_0x3ca558['is']('element',_0x5ace('0x27'))&&_0x557fe8[_0x5ace('0x24')](_0x3ca558);}_0x590b6f[_0x5ace('0x59')]['getSuggestionCallback'](_0x361d03,null,_0x18b7d4)(_0x120e04,_0x1a6dd7,_0x12c48f);for(const _0x22c73b of _0x557fe8)_0x5ace('0xa3')!=_0x22c73b[_0x5ace('0x98')][_0x5ace('0xb')]&&_0x49c02e[_0x5ace('0x3c')](_0x22c73b);});});};_0x44f19d(_0x5ace('0x66'),_0x5ace('0x8e')),_0x44f19d(_0x5ace('0x66'),'discard'),_0x44f19d(_0x5ace('0x22'),_0x5ace('0x8e')),_0x44f19d(_0x5ace('0x22'),'discard'),_0x590b6f['_suggestionFactory'][_0x5ace('0x15')](_0x5ace('0x66'),_0x5ace('0x9e'),_0x5ace('0xe'),_0x391a3a=>{const _0x730775=_0x391a3a[_0x5ace('0x76')](_0x32bf1f=>_0x32bf1f['getContainedElement']()),_0x3dd1dc=_0x730775[0x0][_0x5ace('0x58')](_0x5ace('0x97')),{minRow:_0x3599cd,maxRow:_0x2515a9}=_0x9aa838[_0x5ace('0x92')](_0x730775);_0x100933[_0x5ace('0x9')](_0x3dd1dc,{'at':_0x3599cd,'rows':_0x2515a9-_0x3599cd+0x1});}),_0x590b6f['_suggestionFactory'][_0x5ace('0x15')]('insertion','tablePasteColumn','discard',_0x2f595a=>{const _0x9a0e3b=_0x2f595a['map'](_0x5d1f5c=>_0x5d1f5c[_0x5ace('0x19')]()),_0x14eac1=_0x9a0e3b[0x0]['findAncestor'](_0x5ace('0x97')),{minColumn:_0x4e31fc,maxColumn:_0x2a8487}=_0x9aa838['_getCoordsForCells'](_0x9a0e3b);_0x100933[_0x5ace('0x82')](_0x14eac1,{'at':_0x4e31fc,'columns':_0x2a8487-_0x4e31fc+0x1});});const _0x57c9a0=(_0xcc4fab,_0x2b10d1)=>{if(!_0x2b10d1[_0x5ace('0x61')]||!_0x2b10d1['subType'][_0x5ace('0x4a')](_0x5ace('0x2d')))return;const _0x136cca=_0x2b10d1[_0x5ace('0x5f')][_0x5ace('0x47')],_0x4dd740=_0x590b6f[_0x5ace('0x6')]()['filter'](_0x3413b4=>_0x3413b4[_0x5ace('0x94')]&&_0x3413b4[_0x5ace('0x5f')]&&_0x3413b4[_0x5ace('0x5f')]['tablePasteChainId']==_0x136cca);_0x4dd740[_0x5ace('0x6e')]&&_0x2b10d1[_0x5ace('0x55')]()[_0x5ace('0x6e')]!=_0x4dd740[_0x5ace('0x6e')]&&_0x4dd740[_0x5ace('0x89')]((_0x582af0,_0x583e34)=>(_0x582af0[_0x5ace('0x1d')]=_0x583e34,_0x583e34[_0x5ace('0x14')]=_0x582af0,_0x583e34));};function _0x2ca03a(_0x48fa60,_0x230eb7=!0x0){const {id:_0x42a367}=_0x590b6f[_0x5ace('0x2b')](_0x48fa60[_0x5ace('0x2a')]),_0x5f4268=[_0x5ace('0x23'),_0x5ace('0x4f')],_0x4aa70e=_0x590b6f['activeMarkers'][_0x5ace('0xc')](_0x48fa60[_0x5ace('0x2a')]);return _0x4aa70e&&_0x5f4268['push'](_0x5ace('0x86')),{'classes':_0x5f4268,'attributes':{'data-suggestion':_0x42a367},'priority':_0x4aa70e&&_0x230eb7?0xbc2:0xbb8};}_0x590b6f['on'](_0x5ace('0x51'),_0x57c9a0,{'priority':_0x5ace('0x3d')}),_0x590b6f['on'](_0x5ace('0x54'),_0x57c9a0,{'priority':_0x5ace('0x3d')}),_0x56bf5c[_0x5ace('0xa')][_0x5ace('0x1')][_0x5ace('0x57')](()=>{let _0x23b7c2=!0x1;const _0x431c11=Array[_0x5ace('0x95')](_0x56bf5c[_0x5ace('0xa')][_0x5ace('0x1')]['differ'][_0x5ace('0x4')]());for(const {name:_0x493c42,data:_0x795655}of _0x431c11){const {group:_0x358da6,type:_0x5b3afd,id:_0x543ec3}=_0x590b6f[_0x5ace('0x2b')](_0x493c42);if(_0x5ace('0x8a')!=_0x358da6||_0x5ace('0x22')!=_0x5b3afd||_0x795655['oldRange'])continue;if(!_0x590b6f[_0x5ace('0x3e')](_0x543ec3))continue;const _0x431f49=_0x590b6f[_0x5ace('0x80')](_0x543ec3)[_0x5ace('0xf')](),_0x1ef77b=_0x56bf5c[_0x5ace('0x56')][_0x5ace('0x72')](_0x5ace('0x2'))['me'];for(const _0x3a7bcb of _0x590b6f[_0x5ace('0x6')]()){if(!_0x3a7bcb[_0x5ace('0x94')]||_0x3a7bcb[_0x5ace('0x85')]!=_0x1ef77b)continue;if(_0x5ace('0x13')!=_0x3a7bcb[_0x5ace('0x18')]||_0x5ace('0x3a')!=_0x3a7bcb['subType'])continue;if(_0x3a7bcb[_0x5ace('0xf')]()[_0x5ace('0x32')](_0x16a7bc=>_0x431f49[_0x5ace('0x7d')](_0x59462a=>_0x59462a[_0x5ace('0x26')](_0x16a7bc,!0x0))))for(const _0x25176c of _0x3a7bcb[_0x5ace('0x55')]())_0x25176c[_0x5ace('0x94')]&&(_0x25176c[_0x5ace('0xe')](),_0x23b7c2=!0x0);}}return _0x23b7c2;}),_0x56bf5c['model'][_0x5ace('0x1')][_0x5ace('0x57')](_0x333fec=>{const _0x360d2b=_0x56bf5c[_0x5ace('0x93')]['get'](_0x5ace('0x3'));if(!_0x360d2b||!_0x360d2b[_0x5ace('0x90')][_0x5ace('0x65')](_0x333fec[_0x5ace('0x37')]))return!0x1;let _0x39fc20=!0x1;const _0x14ba8d=_0x56bf5c[_0x5ace('0x56')][_0x5ace('0x72')]('Users')['me'],_0x16be09=_0x56bf5c[_0x5ace('0xa')][_0x5ace('0x1')][_0x5ace('0x6c')][_0x5ace('0x71')](),_0x150f02=Array[_0x5ace('0x95')](_0x56bf5c[_0x5ace('0xa')]['document'][_0x5ace('0x6c')][_0x5ace('0x4')]())[_0x5ace('0x6d')](({name:_0x283fb8,data:_0xaddd7c})=>{const {group:_0x4f7ee1,subType:_0x1ffb13,authorId:_0x47514d}=_0x590b6f['_splitMarkerName'](_0x283fb8);return _0x5ace('0x8a')==_0x4f7ee1&&'tablePaste'==_0x1ffb13&&_0x47514d==_0x14ba8d['id']&&!_0xaddd7c[_0x5ace('0xa1')];});for(const _0xac9bf9 of _0x16be09){if(_0x5ace('0x29')!=_0xac9bf9[_0x5ace('0x18')]||_0x5ace('0x27')!=_0xac9bf9[_0x5ace('0x33')]||0x1!=_0xac9bf9[_0x5ace('0x6e')])continue;const _0x25c477=_0x333fec[_0x5ace('0xd')](_0xac9bf9['position'],_0xac9bf9[_0x5ace('0x96')]['getShiftedBy'](0x1));if(!_0x150f02[_0x5ace('0x44')](({data:_0x1f6569})=>_0x1f6569[_0x5ace('0x3b')][_0x5ace('0x68')](_0x25c477)))for(const {name:_0x50c9bb,data:_0x4e14a0}of _0x150f02)if(_0x25c477['containsRange'](_0x4e14a0['newRange'])){_0x333fec[_0x5ace('0x2f')](_0x50c9bb,{'range':_0x25c477}),_0x39fc20=!0x0;break;}}return _0x39fc20;}),_0x56bf5c[_0x5ace('0xa')][_0x5ace('0x1')][_0x5ace('0x57')](_0x18da4d=>{let _0x2d0d1f=!0x1;const _0x8ec674=_0x56bf5c[_0x5ace('0x56')]['get']('Users')['me'],_0x5ddc3d=_0x590b6f[_0x5ace('0x6')]()[_0x5ace('0x6d')](_0x1864b3=>_0x1864b3[_0x5ace('0x94')]&&_0x1864b3[_0x5ace('0x85')]==_0x8ec674),_0x30b92d=new Set(),_0x3786b7=new Set();for(const _0x3c743f of _0x5ddc3d)if('tablePaste'==_0x3c743f[_0x5ace('0x61')])for(const _0x2b0f31 of _0x3c743f['getMarkers']()){const _0x1bd04a=_0x2b0f31[_0x5ace('0x41')]()[_0x5ace('0x19')]();if(_0x1bd04a){if(_0x1bd04a['is'](_0x5ace('0x74'),'tableCellSuggestion')&&ce(_0x1bd04a)){_0x3c743f['removeMarker'](_0x2b0f31[_0x5ace('0x33')]),_0x30b92d[_0x5ace('0x87')](_0x1bd04a),_0x2d0d1f=!0x0;const _0x763b7c=_0x1bd04a[_0x5ace('0x0')],_0x41f730=_0x1bd04a[_0x5ace('0x99')],_0x38896c=_0x763b7c&&_0x763b7c['is'](_0x5ace('0x74'),'tableCellSuggestion'),_0x165720=_0x41f730&&_0x41f730['is']('element',_0x5ace('0x27'));_0x38896c&&!_0x30b92d[_0x5ace('0x65')](_0x763b7c)&&_0x3786b7[_0x5ace('0x87')](_0x763b7c),_0x165720&&!_0x30b92d[_0x5ace('0x65')](_0x41f730)&&_0x3786b7[_0x5ace('0x87')](_0x41f730);}else _0x1bd04a['is'](_0x5ace('0x74'),_0x5ace('0x1c'))&&_0x1bd04a[_0x5ace('0x38')]&&(_0x3c743f[_0x5ace('0x5d')](_0x2b0f31[_0x5ace('0x33')]),_0x2d0d1f=!0x0);}}else{if(_0x5ace('0x3a')==_0x3c743f['subType']){if(!_0x3c743f[_0x5ace('0x5f')]||!_0x3c743f[_0x5ace('0x5f')]['tablePasteChainId'])continue;const _0x4c6349=_0x3c743f[_0x5ace('0x5f')][_0x5ace('0x3f')];if(_0x4c6349&&Object[_0x5ace('0x62')](_0x4c6349)['length'])continue;const _0x2ea779=_0x3c743f[_0x5ace('0x5f')]['tablePasteChainId'];let _0x483e61=!0x0,_0x407aa3=!0x0;for(const _0x1d3000 of _0x5ddc3d)if(_0x1d3000['subType']&&_0x1d3000[_0x5ace('0x61')][_0x5ace('0x4a')]('tablePaste')){if(!_0x1d3000[_0x5ace('0x5f')][_0x5ace('0x47')]){_0x407aa3=!0x1;break;}if(_0x1d3000['id']!=_0x3c743f['id']&&_0x1d3000[_0x5ace('0x5f')]['tablePasteChainId']==_0x2ea779){_0x483e61=!0x1;break;}}_0x407aa3&&_0x483e61&&(_0x3c743f[_0x5ace('0x5a')](),_0x2d0d1f=!0x0);}}for(const _0x5d2f02 of _0x30b92d)_0x18da4d['remove'](_0x5d2f02);for(const _0x411713 of _0x3786b7)_0x18da4d[_0x5ace('0x3c')](_0x411713);return _0x2d0d1f;}),_0x56bf5c['conversion'][_0x5ace('0x25')](_0x5ace('0x81'))[_0x5ace('0x1b')]({'model':_0x5ace('0x4e'),'view':(_0x9c979a,_0x905464)=>_0x2ca03a(_0x9c979a),'converterPriority':'high'}),_0x56bf5c[_0x5ace('0xa0')][_0x5ace('0x25')](_0x5ace('0x42'))['markerToHighlight']({'model':_0x5ace('0x4e'),'view':(_0x36ac2e,_0x97f7c1)=>_0x97f7c1[_0x5ace('0x73')][_0x5ace('0x69')]?_0x2ca03a(_0x36ac2e,!0x1):null,'converterPriority':_0x5ace('0x3d')});const _0x3fb369=_0x56bf5c[_0x5ace('0x8')][_0x5ace('0x5e')];this[_0x5ace('0x40')](_0x3fb369[_0x5ace('0x1')],_0x5ace('0x43'),(_0x51dfef,_0x575b78)=>{const _0x4299f4=[];for(const _0xe3a1b1 of _0x3fb369['createRangeIn'](_0x575b78['content'])['getItems']())_0xe3a1b1['is'](_0x5ace('0x74'),_0x5ace('0x17'))&&_0x4299f4[_0x5ace('0x24')](_0xe3a1b1);_0x3fb369['change'](_0x4ba4e7=>{for(const _0x5695f4 of _0x4299f4)_0x4ba4e7[_0x5ace('0x2e')](_0x4ba4e7[_0x5ace('0x45')](_0x5695f4),_0x4ba4e7[_0x5ace('0x77')](_0x5695f4)),_0x4ba4e7['remove'](_0x5695f4);});});}}function ce(_0x29286c){if(_0x29286c['isEmpty'])return!0x0;const _0x15599c=_0x29286c[_0x5ace('0x7')](0x0);return _0x15599c['is'](_0x5ace('0x74'),_0x5ace('0x1c'))&&_0x15599c['isEmpty'];}function fe(_0x2731af,_0x47555c={},_0x229d1f){for(const {isAnchor:_0x72d50c,cellHeight:_0x13bcbb,cellWidth:_0x137c3b}of _0x229d1f[_0x5ace('0x4d')](_0x2731af,{'includeAllSlots':!0x0,..._0x47555c}))if(!_0x72d50c||0x1!=_0x13bcbb||0x1!=_0x137c3b)return!0x1;return!0x0;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4200=['TableColumnResizeEditing','_suggestionFactory','accept','bind','data','handleSuggestionDescription','resizeTable','enableCommand','commandParams','get','editor','table','formatGroupId','has','markBlockFormat','handleResizeTableWidthCommand','registerCustomCallback','getTableColumnsWidths','_descriptionFactory','plugins','selection','model','discard','getContainedElement','document','registerDescriptionCallback','Users','resizeTableWidth','formatBlock','format','afterInit','change','getSelectedElement','resizeColumnWidths','getSuggestions','getColumnGroupElement','TrackChangesEditing','tableWidth','getSuggestionCallback','*Format:*\x20resize\x20table','author','subType','columnWidths'];(function(_0x58f15d,_0x4200d0){const _0x3d85d1=function(_0x2ca8ca){while(--_0x2ca8ca){_0x58f15d['push'](_0x58f15d['shift']());}};_0x3d85d1(++_0x4200d0);}(_0x4200,0x1d9));const _0x3d85=function(_0x58f15d,_0x4200d0){_0x58f15d=_0x58f15d-0x0;let _0x3d85d1=_0x4200[_0x58f15d];return _0x3d85d1;};import{Plugin as _0x31b218}from'ckeditor5/src/core';import{getTranslation as _0x188849}from'../utils/common-translations';export default class wt extends _0x31b218{[_0x3d85('0x1e')](){if(!this['editor'][_0x3d85('0x13')][_0x3d85('0xd')](_0x3d85('0x0')))return;const _0x152374=this[_0x3d85('0xa')][_0x3d85('0x13')]['get'](_0x3d85('0x24'));_0x152374[_0x3d85('0x7')]('resizeTableWidth',this[_0x3d85('0xf')][_0x3d85('0x3')](this)),_0x152374['enableCommand'](_0x3d85('0x21'),this[_0x3d85('0xf')][_0x3d85('0x3')](this)),_0x152374[_0x3d85('0x1')]['registerCustomCallback'](_0x3d85('0x1c'),_0x3d85('0x6'),'accept',_0x152374['_suggestionFactory'][_0x3d85('0x26')](_0x3d85('0x1c'),null,_0x3d85('0x16'))),_0x152374[_0x3d85('0x1')][_0x3d85('0x10')]('formatBlock','resizeTable',_0x3d85('0x16'),_0x152374[_0x3d85('0x1')][_0x3d85('0x26')](_0x3d85('0x1c'),null,_0x3d85('0x2'))),_0x152374[_0x3d85('0x12')][_0x3d85('0x19')](this[_0x3d85('0x5')][_0x3d85('0x3')](this));}['handleResizeTableWidthCommand'](_0xa35618,_0x8393fe){const _0x4ef171=this['editor'][_0x3d85('0x13')]['get']('TrackChangesEditing'),_0x633ac1=this[_0x3d85('0xa')][_0x3d85('0x13')][_0x3d85('0x9')]('TableColumnResizeEditing'),_0x5bd2c1=_0x8393fe[_0x3d85('0xb')]||this['editor'][_0x3d85('0x15')][_0x3d85('0x18')][_0x3d85('0x14')][_0x3d85('0x20')]();this['editor'][_0x3d85('0x15')][_0x3d85('0x1f')](()=>{const _0x4374f2=_0x633ac1[_0x3d85('0x23')](_0x5bd2c1);let _0x5bfb27=_0x4374f2?_0x633ac1[_0x3d85('0x11')](_0x4374f2):null,_0x5e9661=_0x5bd2c1['getAttribute'](_0x3d85('0x25'))||null;const _0x256bb7=_0x8393fe['tableWidth']||_0x5e9661,_0x2e3eb0=_0x8393fe[_0x3d85('0x2a')]||_0x5bfb27,_0x2fc859=this[_0x3d85('0xa')]['plugins'][_0x3d85('0x9')](_0x3d85('0x1a'))['me'];for(const _0x27f9a1 of _0x4ef171[_0x3d85('0x22')]()){const _0x4c060a=_0x27f9a1[_0x3d85('0x17')]();if('resizeTable'===_0x27f9a1[_0x3d85('0x29')]&&_0x4c060a===_0x5bd2c1){_0x27f9a1[_0x3d85('0x28')]!==_0x2fc859&&_0x27f9a1[_0x3d85('0x16')]();const _0x3acd19=_0x27f9a1[_0x3d85('0x4')][_0x3d85('0x8')];_0x5e9661=_0x3acd19[0x0][_0x3d85('0x25')],_0x5bfb27=_0x3acd19[0x0][_0x3d85('0x2a')];break;}}_0xa35618({'table':_0x5bd2c1,'tableWidth':_0x256bb7,'columnWidths':_0x2e3eb0}),_0x4ef171[_0x3d85('0xe')](_0x5bd2c1,{'commandName':_0x3d85('0x1b'),'commandParams':[{'tableWidth':_0x5e9661,'columnWidths':_0x5bfb27}],'formatGroupId':_0x3d85('0x6')},[],_0x3d85('0x6'));});}[_0x3d85('0x5')](_0x519540){const {data:_0x31b9bf}=_0x519540;if(_0x31b9bf&&_0x3d85('0x6')===_0x31b9bf[_0x3d85('0xc')]){const _0xd5c5cb=_0x3d85('0x27');return{'type':_0x3d85('0x1d'),'content':_0x188849(this[_0x3d85('0xa')]['locale'],_0xd5c5cb)};}}}
23
+ const _0x55a4=['format','handleResizeTableWidthCommand','resizeTableWidth','tableWidth','_descriptionFactory','_suggestionFactory','getSuggestionCallback','accept','has','registerDescriptionCallback','enableCommand','discard','*Format:*\x20resize\x20table','editor','subType','getAttribute','plugins','bind','table','getSelectedElement','formatGroupId','get','TrackChangesEditing','getColumnGroupElement','markBlockFormat','TableColumnResizeEditing','registerCustomCallback','handleSuggestionDescription','resizeColumnWidths','afterInit','getSuggestions','Users','model','locale','formatBlock','resizeTable','author'];(function(_0x4a28dc,_0x55a44e){const _0x281509=function(_0x4eee30){while(--_0x4eee30){_0x4a28dc['push'](_0x4a28dc['shift']());}};_0x281509(++_0x55a44e);}(_0x55a4,0x19b));const _0x2815=function(_0x4a28dc,_0x55a44e){_0x4a28dc=_0x4a28dc-0x0;let _0x281509=_0x55a4[_0x4a28dc];return _0x281509;};import{Plugin as _0x3407b6}from'ckeditor5/src/core';import{getTranslation as _0x5e0625}from'../utils/common-translations';export default class wt extends _0x3407b6{[_0x2815('0x19')](){if(!this[_0x2815('0x9')][_0x2815('0xc')][_0x2815('0x4')](_0x2815('0x15')))return;const _0x4c3d5a=this['editor']['plugins'][_0x2815('0x11')]('TrackChangesEditing');_0x4c3d5a[_0x2815('0x6')](_0x2815('0x23'),this[_0x2815('0x22')][_0x2815('0xd')](this)),_0x4c3d5a['enableCommand'](_0x2815('0x18'),this[_0x2815('0x22')]['bind'](this)),_0x4c3d5a[_0x2815('0x1')][_0x2815('0x16')](_0x2815('0x1e'),'resizeTable',_0x2815('0x3'),_0x4c3d5a[_0x2815('0x1')][_0x2815('0x2')](_0x2815('0x1e'),null,_0x2815('0x7'))),_0x4c3d5a[_0x2815('0x1')][_0x2815('0x16')](_0x2815('0x1e'),_0x2815('0x1f'),_0x2815('0x7'),_0x4c3d5a[_0x2815('0x1')][_0x2815('0x2')](_0x2815('0x1e'),null,_0x2815('0x3'))),_0x4c3d5a[_0x2815('0x0')][_0x2815('0x5')](this[_0x2815('0x17')][_0x2815('0xd')](this));}[_0x2815('0x22')](_0x121825,_0x132806){const _0x2277e7=this['editor'][_0x2815('0xc')]['get'](_0x2815('0x12')),_0x212a7a=this[_0x2815('0x9')][_0x2815('0xc')][_0x2815('0x11')]('TableColumnResizeEditing'),_0x169d8f=_0x132806[_0x2815('0xe')]||this[_0x2815('0x9')]['model']['document']['selection'][_0x2815('0xf')]();this[_0x2815('0x9')][_0x2815('0x1c')]['change'](()=>{const _0x165302=_0x212a7a[_0x2815('0x13')](_0x169d8f);let _0x1d8eda=_0x165302?_0x212a7a['getTableColumnsWidths'](_0x165302):null,_0x4e4726=_0x169d8f[_0x2815('0xb')](_0x2815('0x24'))||null;const _0x4dda3b=_0x132806['tableWidth']||_0x4e4726,_0x4a1928=_0x132806['columnWidths']||_0x1d8eda,_0x5d106=this[_0x2815('0x9')][_0x2815('0xc')]['get'](_0x2815('0x1b'))['me'];for(const _0x135c72 of _0x2277e7[_0x2815('0x1a')]()){const _0x4f7ada=_0x135c72['getContainedElement']();if(_0x2815('0x1f')===_0x135c72[_0x2815('0xa')]&&_0x4f7ada===_0x169d8f){_0x135c72[_0x2815('0x20')]!==_0x5d106&&_0x135c72[_0x2815('0x7')]();const _0x1f661b=_0x135c72['data']['commandParams'];_0x4e4726=_0x1f661b[0x0][_0x2815('0x24')],_0x1d8eda=_0x1f661b[0x0]['columnWidths'];break;}}_0x121825({'table':_0x169d8f,'tableWidth':_0x4dda3b,'columnWidths':_0x4a1928}),_0x2277e7[_0x2815('0x14')](_0x169d8f,{'commandName':_0x2815('0x23'),'commandParams':[{'tableWidth':_0x4e4726,'columnWidths':_0x1d8eda}],'formatGroupId':_0x2815('0x1f')},[],_0x2815('0x1f'));});}[_0x2815('0x17')](_0x9d2241){const {data:_0x444690}=_0x9d2241;if(_0x444690&&'resizeTable'===_0x444690[_0x2815('0x10')]){const _0x356905=_0x2815('0x8');return{'type':_0x2815('0x21'),'content':_0x5e0625(this[_0x2815('0x9')][_0x2815('0x1d')],_0x356905)};}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4f59=['index','nodeAfter','getColumnIndexes','data-suggestion','_suggestionFactory','registerDescriptionCallback','removeMarker:suggestion','first','locale','consumable','writer','end','formatBlock','getChild','findAncestor','headingRows','setTableRowHeader','removeAttribute','options','_descriptionFactory','plugins','setTableColumnHeader','editing','ck-suggestion-marker--active','includes','getSuggestion','getAttribute','childCount','commandName','selection','_splitMarkerName','removeClass','markerName','value','headingColumns','addMarker:suggestion','TableUtils','commandParams','showSuggestionHighlights','createPositionAfter','getCellLocation','TableEditing','ck-suggestion-marker-','*Format:*\x20%0','format','setAttribute','highest','markBlockFormat','data','markerRange','markerNameToElements','afterInit','createRange','createPositionBefore','FORMAT_HEADER_ROW','model','parent','has','mapper','commands','registerCustomCallback','change','unbindElementFromMarkerName','_acceptFormatSuggestionCallbackFactory','document','table','addClass','downcastDispatcher','accept','getRowIndexes','enableCommand','FORMAT_HEADER_COLUMN','start','get','forceValue','createTableWalker','cell','FORMAT_REGULAR_ROW','getSelectionAffectedTableCells'];(function(_0x2a41ca,_0x4f59b9){const _0x3717b0=function(_0x486bd8){while(--_0x486bd8){_0x2a41ca['push'](_0x2a41ca['shift']());}};_0x3717b0(++_0x4f59b9);}(_0x4f59,0x115));const _0x3717=function(_0x2a41ca,_0x4f59b9){_0x2a41ca=_0x2a41ca-0x0;let _0x3717b0=_0x4f59[_0x2a41ca];return _0x3717b0;};import{Plugin as _0x3ef1d1}from'ckeditor5/src/core';import _0x34f4e4 from'./table';import{getTranslation as _0x449c15}from'../utils/common-translations';export default class pt extends _0x3ef1d1{static get['requires'](){return[_0x34f4e4];}[_0x3717('0xb')](){const _0x10bfbb=this['editor'];if(!_0x10bfbb[_0x3717('0x3b')][_0x3717('0x11')](_0x3717('0x1')))return;const _0x161355=_0x10bfbb[_0x3717('0x2f')],_0xb9f186=_0x10bfbb[_0x3717('0x3b')][_0x3717('0x21')]('TrackChangesEditing'),_0x3d2bfb=_0x10bfbb[_0x3717('0x3b')][_0x3717('0x21')]('TableUtils'),_0x5cae19=_0x10bfbb[_0x3717('0x3b')][_0x3717('0x21')](_0x34f4e4);function _0x3c2cfd({showActiveMarker:_0x34d64c=!0x0,setDataAttribute:_0x2bb478=!0x0}={}){return(_0x192454,_0x36f4e4,_0xa8c580)=>{const {type:_0x3e7e42,id:_0x5694ac}=_0xb9f186[_0x3717('0x45')](_0x36f4e4[_0x3717('0x47')]),_0xd98b9d=_0xb9f186[_0x3717('0x40')](_0x5694ac);if(!_0xd98b9d[_0x3717('0x8')]||_0x3717('0x3c')!=_0xd98b9d[_0x3717('0x8')][_0x3717('0x43')])return;if(_0x36f4e4['item'])return void _0x192454['stop']();if(!_0xa8c580[_0x3717('0x30')]['consume'](_0x36f4e4[_0x3717('0x9')],_0x192454['name']))return;const _0x2c6524=_0x36f4e4['markerRange'][_0x3717('0x20')][_0x3717('0x28')],_0x4c5537=_0x36f4e4[_0x3717('0x9')][_0x3717('0x32')]['nodeBefore'],_0x1fe9a0=_0x2c6524['parent'][_0x3717('0x10')],{column:_0x320921}=_0x3d2bfb[_0x3717('0x0')](_0x2c6524),{column:_0x3ce5bb}=_0x3d2bfb[_0x3717('0x0')](_0x4c5537);for(let _0xfa72a=_0x320921;_0xfa72a<=_0x3ce5bb;_0xfa72a++){const _0x36ee60=_0x3d2bfb[_0x3717('0x23')](_0x1fe9a0,{'column':_0xfa72a,'includeAllSlots':!0x1});for(const _0xe2d9a4 of _0x36ee60){const _0x73e833=_0xe2d9a4['cell'],_0x48e76a=_0xa8c580[_0x3717('0x12')]['toViewElement'](_0x73e833);_0xa8c580['writer'][_0x3717('0x1a')]('ck-suggestion-marker-'+_0x3e7e42,_0x48e76a),_0x2bb478&&_0xa8c580['writer'][_0x3717('0x5')](_0x3717('0x2a'),_0x5694ac,_0x48e76a),_0xa8c580[_0x3717('0x12')]['bindElementToMarker'](_0x48e76a,_0x36f4e4[_0x3717('0x47')]),_0x34d64c&&(_0xb9f186['activeMarkers'][_0x3717('0x3f')](_0x36f4e4[_0x3717('0x47')])?_0xa8c580[_0x3717('0x31')]['addClass'](_0x3717('0x3e'),_0x48e76a):_0xa8c580[_0x3717('0x31')][_0x3717('0x46')](_0x3717('0x3e'),_0x48e76a));}}};}_0xb9f186[_0x3717('0x1e')](_0x3717('0x37'),(_0x41f77e,_0x45a22b)=>{const _0x416402=_0x3d2bfb[_0x3717('0x26')](_0x10bfbb[_0x3717('0xf')]['document'][_0x3717('0x44')]),_0x30f315=_0x3d2bfb[_0x3717('0x1d')](_0x416402),_0x5c13d1=_0x416402[0x0]['findAncestor'](_0x3717('0x19')),_0x2cac46=_0x5c13d1[_0x3717('0x41')](_0x3717('0x36'))||0x0,_0x4282b2=_0x45a22b&&null!==_0x45a22b[_0x3717('0x22')]?_0x45a22b['forceValue']:!_0x10bfbb[_0x3717('0x13')][_0x3717('0x21')]('setTableRowHeader')['value'],_0x5017f6=_0x4282b2?_0x30f315['last']:_0x30f315[_0x3717('0x2e')],_0x35416c=_0x5c13d1['getChild'](_0x5017f6);let _0x8ef81a;if(_0x4282b2){const _0x1a4953=_0x5c13d1['getChild'](_0x2cac46);if(_0x35416c['index']<_0x1a4953[_0x3717('0x27')])return;_0x8ef81a=_0x10bfbb[_0x3717('0xf')][_0x3717('0xc')](_0x10bfbb[_0x3717('0xf')][_0x3717('0xd')](_0x1a4953['getChild'](0x0)),_0x10bfbb[_0x3717('0xf')][_0x3717('0x4e')](_0x35416c[_0x3717('0x34')](_0x35416c[_0x3717('0x42')]-0x1)));}else{const _0x466a66=_0x5c13d1[_0x3717('0x34')](_0x2cac46-0x1);if(!_0x466a66)return;_0x8ef81a=_0x10bfbb[_0x3717('0xf')]['createRange'](_0x10bfbb['model'][_0x3717('0xd')](_0x35416c[_0x3717('0x34')](0x0)),_0x10bfbb[_0x3717('0xf')]['createPositionAfter'](_0x466a66[_0x3717('0x34')](_0x466a66[_0x3717('0x42')]-0x1)));}_0x10bfbb['model'][_0x3717('0x15')](()=>{_0xb9f186['markBlockFormat'](_0x8ef81a,{'commandName':_0x3717('0x37'),'commandParams':[{'forceValue':_0x4282b2}]},[],'setTableRowHeader');});}),_0xb9f186[_0x3717('0x1e')](_0x3717('0x3c'),(_0x28f9c1,_0x295b64)=>{const _0x1b670d=_0x10bfbb[_0x3717('0x3b')][_0x3717('0x21')](_0x3717('0x4b')),_0x530d57=_0x1b670d['getSelectionAffectedTableCells'](_0x10bfbb['model'][_0x3717('0x18')][_0x3717('0x44')]),_0x1a20f1=_0x1b670d[_0x3717('0x29')](_0x530d57),_0x830778=_0x530d57[0x0][_0x3717('0x35')](_0x3717('0x19')),_0x378e55=_0x830778[_0x3717('0x41')](_0x3717('0x49'))||0x0,_0x2fab0a=_0x295b64&&null!==_0x295b64['forceValue']?_0x295b64[_0x3717('0x22')]:!_0x10bfbb[_0x3717('0x13')][_0x3717('0x21')](_0x3717('0x3c'))[_0x3717('0x48')];let _0x1e2c33;const _0x12b448=_0x830778[_0x3717('0x34')](0x0),_0xeb85c6=_0x2fab0a?_0x1a20f1['last']:_0x1a20f1[_0x3717('0x2e')],_0x1d876e=_0x1b670d[_0x3717('0x23')](_0x830778,{'startRow':0x0,'column':_0xeb85c6,'includeAllSlots':!0x1}),_0x536c56=Array['from'](_0x1d876e)[0x0][_0x3717('0x24')];if(_0x2fab0a){const _0x25dc26=_0x12b448[_0x3717('0x34')](_0x378e55);if(_0x536c56['isBefore'](_0x25dc26))return;_0x1e2c33=_0x10bfbb[_0x3717('0xf')][_0x3717('0xc')](_0x10bfbb[_0x3717('0xf')][_0x3717('0xd')](_0x25dc26),_0x10bfbb['model']['createPositionAfter'](_0x536c56));}else{const _0x27872=_0x12b448['getChild'](_0x378e55-0x1);if(!_0x27872)return;_0x1e2c33=_0x10bfbb[_0x3717('0xf')]['createRange'](_0x10bfbb[_0x3717('0xf')][_0x3717('0xd')](_0x536c56),_0x10bfbb['model'][_0x3717('0x4e')](_0x27872));}_0x10bfbb['model'][_0x3717('0x15')](()=>{_0xb9f186[_0x3717('0x7')](_0x1e2c33,{'commandName':_0x3717('0x3c'),'commandParams':[{'forceValue':_0x2fab0a}]},[],_0x3717('0x3c'));});}),_0x10bfbb[_0x3717('0x3d')][_0x3717('0x1b')]['on']('addMarker:suggestion',_0x3c2cfd(),{'priority':_0x3717('0x6')}),_0x10bfbb[_0x3717('0x8')][_0x3717('0x1b')]['on'](_0x3717('0x4a'),(_0x3345b7,_0x47c7e1,_0x54b8cd)=>{_0x54b8cd[_0x3717('0x39')][_0x3717('0x4d')]&&_0x3c2cfd({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x3345b7,_0x47c7e1,_0x54b8cd);},{'priority':_0x3717('0x6')}),_0x10bfbb['editing'][_0x3717('0x1b')]['on'](_0x3717('0x2d'),(_0x5a55d0,_0x269d55,_0x3d1002)=>{const {type:_0x397cb5,id:_0x14ecf5}=_0xb9f186['_splitMarkerName'](_0x269d55[_0x3717('0x47')]),_0x691c50=_0xb9f186[_0x3717('0x40')](_0x14ecf5);if(!_0x691c50[_0x3717('0x8')]||_0x3717('0x3c')!=_0x691c50[_0x3717('0x8')][_0x3717('0x43')])return;const _0xb080a4=_0x3d1002[_0x3717('0x12')][_0x3717('0xa')](_0x269d55[_0x3717('0x47')]);if(_0xb080a4)for(const _0x51644d of _0xb080a4)_0x3d1002[_0x3717('0x31')][_0x3717('0x46')](_0x3717('0x2')+_0x397cb5,_0x51644d),_0x3d1002['writer']['removeClass']('ck-suggestion-marker--active',_0x51644d),_0x3d1002[_0x3717('0x31')][_0x3717('0x38')](_0x3717('0x2a'),_0x51644d),_0x3d1002[_0x3717('0x12')][_0x3717('0x16')](_0x51644d,_0x269d55['markerName']);},{'priority':_0x3717('0x6')}),_0xb9f186[_0x3717('0x3a')][_0x3717('0x2c')](_0x112ca1=>{const {data:_0xde260f}=_0x112ca1;if(_0xde260f){if(_0x3717('0x37')==_0xde260f[_0x3717('0x43')]){const _0x4d008a=_0xde260f[_0x3717('0x4c')][0x0][_0x3717('0x22')];return _0x55a48d(_0x449c15(_0x161355,_0x4d008a?_0x3717('0xe'):_0x3717('0x25')));}if('setTableColumnHeader'==_0xde260f[_0x3717('0x43')]){const _0x58f3e5=_0xde260f[_0x3717('0x4c')][0x0]['forceValue'];return _0x55a48d(_0x449c15(_0x161355,_0x58f3e5?_0x3717('0x1f'):'FORMAT_REGULAR_COLUMN'));}}function _0x55a48d(_0x52c646){return{'type':_0x3717('0x4'),'content':_0x449c15(_0x161355,_0x3717('0x3'),_0x52c646)};}});const _0x3a483a=_0x5cae19[_0x3717('0x17')]();_0xb9f186[_0x3717('0x2b')]['registerCustomCallback'](_0x3717('0x33'),_0x3717('0x37'),_0x3717('0x1c'),_0x3a483a),_0xb9f186[_0x3717('0x2b')][_0x3717('0x14')](_0x3717('0x33'),_0x3717('0x3c'),_0x3717('0x1c'),_0x3a483a);}}
23
+ const _0x34d9=['markerName','setTableColumnHeader','registerCustomCallback','parent','_descriptionFactory','TableEditing','_splitMarkerName','value','createRange','removeMarker:suggestion','FORMAT_HEADER_COLUMN','createPositionBefore','mapper','document','removeClass','setTableRowHeader','headingColumns','showSuggestionHighlights','editing','isBefore','findAncestor','writer','table','change','createTableWalker','options','getSuggestion','commandName','cell','getAttribute','requires','*Format:*\x20%0','unbindElementFromMarkerName','TableUtils','forceValue','index','last','createPositionAfter','markerRange','getColumnIndexes','commands','item','plugins','childCount','model','start','data','highest','markerNameToElements','accept','getChild','getSelectionAffectedTableCells','_suggestionFactory','includes','ck-suggestion-marker--active','getCellLocation','end','formatBlock','format','enableCommand','name','first','get','selection','registerDescriptionCallback','downcastDispatcher','TrackChangesEditing','FORMAT_REGULAR_COLUMN','removeAttribute','stop','toViewElement','FORMAT_REGULAR_ROW','getRowIndexes','addClass','data-suggestion','afterInit','addMarker:suggestion','editor'];(function(_0x2429bb,_0x34d985){const _0x9f1ff9=function(_0x4ad509){while(--_0x4ad509){_0x2429bb['push'](_0x2429bb['shift']());}};_0x9f1ff9(++_0x34d985);}(_0x34d9,0xfc));const _0x9f1f=function(_0x2429bb,_0x34d985){_0x2429bb=_0x2429bb-0x0;let _0x9f1ff9=_0x34d9[_0x2429bb];return _0x9f1ff9;};import{Plugin as _0x3564b4}from'ckeditor5/src/core';import _0x1f4cdd from'./table';import{getTranslation as _0x2fdb95}from'../utils/common-translations';export default class pt extends _0x3564b4{static get[_0x9f1f('0xc')](){return[_0x1f4cdd];}[_0x9f1f('0x39')](){const _0x16c8ce=this[_0x9f1f('0x3b')];if(!_0x16c8ce[_0x9f1f('0x18')]['has'](_0x9f1f('0x41')))return;const _0x481793=_0x16c8ce['locale'],_0x7f68e5=_0x16c8ce[_0x9f1f('0x18')][_0x9f1f('0x2c')](_0x9f1f('0x30')),_0x3da7a4=_0x16c8ce[_0x9f1f('0x18')]['get'](_0x9f1f('0xf')),_0x271e2e=_0x16c8ce[_0x9f1f('0x18')]['get'](_0x1f4cdd);function _0x32a98e({showActiveMarker:_0x4ce543=!0x0,setDataAttribute:_0x303265=!0x0}={}){return(_0x5a9276,_0x4e1279,_0x4ab0f2)=>{const {type:_0x221839,id:_0x37898e}=_0x7f68e5['_splitMarkerName'](_0x4e1279[_0x9f1f('0x3c')]),_0x4ac166=_0x7f68e5[_0x9f1f('0x8')](_0x37898e);if(!_0x4ac166['data']||'setTableColumnHeader'!=_0x4ac166['data']['commandName'])return;if(_0x4e1279[_0x9f1f('0x17')])return void _0x5a9276[_0x9f1f('0x33')]();if(!_0x4ab0f2['consumable']['consume'](_0x4e1279['markerRange'],_0x5a9276[_0x9f1f('0x2a')]))return;const _0x5cfccf=_0x4e1279[_0x9f1f('0x14')][_0x9f1f('0x1b')]['nodeAfter'],_0x2aa633=_0x4e1279[_0x9f1f('0x14')][_0x9f1f('0x26')]['nodeBefore'],_0x37d91a=_0x5cfccf[_0x9f1f('0x3f')][_0x9f1f('0x3f')],{column:_0x24bae5}=_0x3da7a4[_0x9f1f('0x25')](_0x5cfccf),{column:_0x1bad58}=_0x3da7a4[_0x9f1f('0x25')](_0x2aa633);for(let _0x521b78=_0x24bae5;_0x521b78<=_0x1bad58;_0x521b78++){const _0x5ce69d=_0x3da7a4[_0x9f1f('0x6')](_0x37d91a,{'column':_0x521b78,'includeAllSlots':!0x1});for(const _0x412ab6 of _0x5ce69d){const _0x3938fe=_0x412ab6[_0x9f1f('0xa')],_0x4e4080=_0x4ab0f2['mapper'][_0x9f1f('0x34')](_0x3938fe);_0x4ab0f2['writer'][_0x9f1f('0x37')]('ck-suggestion-marker-'+_0x221839,_0x4e4080),_0x303265&&_0x4ab0f2[_0x9f1f('0x3')]['setAttribute'](_0x9f1f('0x38'),_0x37898e,_0x4e4080),_0x4ab0f2[_0x9f1f('0x48')]['bindElementToMarker'](_0x4e4080,_0x4e1279['markerName']),_0x4ce543&&(_0x7f68e5['activeMarkers'][_0x9f1f('0x23')](_0x4e1279['markerName'])?_0x4ab0f2[_0x9f1f('0x3')]['addClass'](_0x9f1f('0x24'),_0x4e4080):_0x4ab0f2[_0x9f1f('0x3')]['removeClass'](_0x9f1f('0x24'),_0x4e4080));}}};}_0x7f68e5[_0x9f1f('0x29')]('setTableRowHeader',(_0x1cb2e9,_0x10b5c1)=>{const _0x1c2723=_0x3da7a4[_0x9f1f('0x21')](_0x16c8ce[_0x9f1f('0x1a')][_0x9f1f('0x49')][_0x9f1f('0x2d')]),_0x1b2fbb=_0x3da7a4[_0x9f1f('0x36')](_0x1c2723),_0x3716ba=_0x1c2723[0x0]['findAncestor']('table'),_0x301fe3=_0x3716ba[_0x9f1f('0xb')]('headingRows')||0x0,_0x11dd04=_0x10b5c1&&null!==_0x10b5c1[_0x9f1f('0x10')]?_0x10b5c1['forceValue']:!_0x16c8ce['commands'][_0x9f1f('0x2c')](_0x9f1f('0x4b'))[_0x9f1f('0x43')],_0x7f9c93=_0x11dd04?_0x1b2fbb[_0x9f1f('0x12')]:_0x1b2fbb[_0x9f1f('0x2b')],_0x6699e4=_0x3716ba[_0x9f1f('0x20')](_0x7f9c93);let _0x3c25d2;if(_0x11dd04){const _0x5c5553=_0x3716ba[_0x9f1f('0x20')](_0x301fe3);if(_0x6699e4[_0x9f1f('0x11')]<_0x5c5553['index'])return;_0x3c25d2=_0x16c8ce['model'][_0x9f1f('0x44')](_0x16c8ce[_0x9f1f('0x1a')][_0x9f1f('0x47')](_0x5c5553['getChild'](0x0)),_0x16c8ce['model'][_0x9f1f('0x13')](_0x6699e4[_0x9f1f('0x20')](_0x6699e4[_0x9f1f('0x19')]-0x1)));}else{const _0x586833=_0x3716ba['getChild'](_0x301fe3-0x1);if(!_0x586833)return;_0x3c25d2=_0x16c8ce[_0x9f1f('0x1a')][_0x9f1f('0x44')](_0x16c8ce[_0x9f1f('0x1a')][_0x9f1f('0x47')](_0x6699e4[_0x9f1f('0x20')](0x0)),_0x16c8ce[_0x9f1f('0x1a')][_0x9f1f('0x13')](_0x586833[_0x9f1f('0x20')](_0x586833[_0x9f1f('0x19')]-0x1)));}_0x16c8ce[_0x9f1f('0x1a')][_0x9f1f('0x5')](()=>{_0x7f68e5['markBlockFormat'](_0x3c25d2,{'commandName':_0x9f1f('0x4b'),'commandParams':[{'forceValue':_0x11dd04}]},[],_0x9f1f('0x4b'));});}),_0x7f68e5[_0x9f1f('0x29')](_0x9f1f('0x3d'),(_0x1407f3,_0x13395d)=>{const _0x248956=_0x16c8ce[_0x9f1f('0x18')]['get'](_0x9f1f('0xf')),_0x39925d=_0x248956[_0x9f1f('0x21')](_0x16c8ce[_0x9f1f('0x1a')][_0x9f1f('0x49')][_0x9f1f('0x2d')]),_0x3ebc65=_0x248956[_0x9f1f('0x15')](_0x39925d),_0xaf7745=_0x39925d[0x0][_0x9f1f('0x2')](_0x9f1f('0x4')),_0x211a3f=_0xaf7745[_0x9f1f('0xb')](_0x9f1f('0x4c'))||0x0,_0x4156df=_0x13395d&&null!==_0x13395d[_0x9f1f('0x10')]?_0x13395d['forceValue']:!_0x16c8ce[_0x9f1f('0x16')]['get'](_0x9f1f('0x3d'))[_0x9f1f('0x43')];let _0x1b1529;const _0x42056f=_0xaf7745[_0x9f1f('0x20')](0x0),_0x5be901=_0x4156df?_0x3ebc65['last']:_0x3ebc65[_0x9f1f('0x2b')],_0x4ea8cc=_0x248956[_0x9f1f('0x6')](_0xaf7745,{'startRow':0x0,'column':_0x5be901,'includeAllSlots':!0x1}),_0x220f63=Array['from'](_0x4ea8cc)[0x0][_0x9f1f('0xa')];if(_0x4156df){const _0x20eff7=_0x42056f[_0x9f1f('0x20')](_0x211a3f);if(_0x220f63[_0x9f1f('0x1')](_0x20eff7))return;_0x1b1529=_0x16c8ce['model'][_0x9f1f('0x44')](_0x16c8ce[_0x9f1f('0x1a')][_0x9f1f('0x47')](_0x20eff7),_0x16c8ce['model'][_0x9f1f('0x13')](_0x220f63));}else{const _0x41486b=_0x42056f[_0x9f1f('0x20')](_0x211a3f-0x1);if(!_0x41486b)return;_0x1b1529=_0x16c8ce['model'][_0x9f1f('0x44')](_0x16c8ce[_0x9f1f('0x1a')][_0x9f1f('0x47')](_0x220f63),_0x16c8ce[_0x9f1f('0x1a')][_0x9f1f('0x13')](_0x41486b));}_0x16c8ce[_0x9f1f('0x1a')][_0x9f1f('0x5')](()=>{_0x7f68e5['markBlockFormat'](_0x1b1529,{'commandName':_0x9f1f('0x3d'),'commandParams':[{'forceValue':_0x4156df}]},[],_0x9f1f('0x3d'));});}),_0x16c8ce[_0x9f1f('0x0')][_0x9f1f('0x2f')]['on'](_0x9f1f('0x3a'),_0x32a98e(),{'priority':_0x9f1f('0x1d')}),_0x16c8ce['data'][_0x9f1f('0x2f')]['on'](_0x9f1f('0x3a'),(_0x575591,_0x359120,_0x17a80f)=>{_0x17a80f[_0x9f1f('0x7')][_0x9f1f('0x4d')]&&_0x32a98e({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x575591,_0x359120,_0x17a80f);},{'priority':'highest'}),_0x16c8ce['editing'][_0x9f1f('0x2f')]['on'](_0x9f1f('0x45'),(_0x35141b,_0x3b7029,_0x4efbd2)=>{const {type:_0x4514e2,id:_0x508950}=_0x7f68e5[_0x9f1f('0x42')](_0x3b7029[_0x9f1f('0x3c')]),_0x2f54c0=_0x7f68e5[_0x9f1f('0x8')](_0x508950);if(!_0x2f54c0[_0x9f1f('0x1c')]||_0x9f1f('0x3d')!=_0x2f54c0[_0x9f1f('0x1c')][_0x9f1f('0x9')])return;const _0x37a1df=_0x4efbd2[_0x9f1f('0x48')][_0x9f1f('0x1e')](_0x3b7029[_0x9f1f('0x3c')]);if(_0x37a1df)for(const _0x1452a3 of _0x37a1df)_0x4efbd2[_0x9f1f('0x3')][_0x9f1f('0x4a')]('ck-suggestion-marker-'+_0x4514e2,_0x1452a3),_0x4efbd2[_0x9f1f('0x3')]['removeClass']('ck-suggestion-marker--active',_0x1452a3),_0x4efbd2['writer'][_0x9f1f('0x32')](_0x9f1f('0x38'),_0x1452a3),_0x4efbd2[_0x9f1f('0x48')][_0x9f1f('0xe')](_0x1452a3,_0x3b7029[_0x9f1f('0x3c')]);},{'priority':'highest'}),_0x7f68e5[_0x9f1f('0x40')][_0x9f1f('0x2e')](_0x30e273=>{const {data:_0x5e67b8}=_0x30e273;if(_0x5e67b8){if('setTableRowHeader'==_0x5e67b8['commandName']){const _0x2ff2ac=_0x5e67b8['commandParams'][0x0][_0x9f1f('0x10')];return _0x27ede0(_0x2fdb95(_0x481793,_0x2ff2ac?'FORMAT_HEADER_ROW':_0x9f1f('0x35')));}if(_0x9f1f('0x3d')==_0x5e67b8[_0x9f1f('0x9')]){const _0x1f9ae7=_0x5e67b8['commandParams'][0x0][_0x9f1f('0x10')];return _0x27ede0(_0x2fdb95(_0x481793,_0x1f9ae7?_0x9f1f('0x46'):_0x9f1f('0x31')));}}function _0x27ede0(_0x1c0456){return{'type':_0x9f1f('0x28'),'content':_0x2fdb95(_0x481793,_0x9f1f('0xd'),_0x1c0456)};}});const _0x25d36a=_0x271e2e['_acceptFormatSuggestionCallbackFactory']();_0x7f68e5['_suggestionFactory'][_0x9f1f('0x3e')](_0x9f1f('0x27'),_0x9f1f('0x4b'),'accept',_0x25d36a),_0x7f68e5[_0x9f1f('0x22')][_0x9f1f('0x3e')](_0x9f1f('0x27'),_0x9f1f('0x3d'),_0x9f1f('0x1f'),_0x25d36a);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5822=['isInContent','has','cell','mergeTableCellLeft','mergeTableCellDown','mergeTableCellRight','_descriptionFactory','tableCell','isEnabled','push','findAncestor','getSelectionAffectedTableCells','accept','formatBlock','markBlockFormat','add','horizontally','length','setSelection','editor','author','get','type','document','_suggestionFactory','*Split\x20cell:*\x20horizontally','filter','createTableWalker','rootName','*Merge\x20cells*','createRangeOn','detach','subType','markMultiRangeBlockFormat','getRanges','set:isEnabled','TableEditing','model','getFirstPosition','registerCustomCallback','mergeTableCellUp','plugins','getCellLocation','insertion','TableUtils','enableCommand','containsRange','getSuggestions','forceDefaultExecution','locale','change','return','format','selection','map','_tablePostFixingSubtypes','TrackChangesEditing','commandName','_isForcedDefaultExecutionBlock','commands','splitTableCellVertically','mergeTableCells','find','trackChanges','*Split\x20cell:*\x20vertically','splitTableCellHorizontally','value','_areMergableCells','element','fromRange','deletion','registerDescriptionCallback','direction','from','stop','table','refresh','size','requires','getAncestors'];(function(_0x148ff8,_0x582243){const _0x3774f5=function(_0x1067c6){while(--_0x1067c6){_0x148ff8['push'](_0x148ff8['shift']());}};_0x3774f5(++_0x582243);}(_0x5822,0xba));const _0x3774=function(_0x148ff8,_0x582243){_0x148ff8=_0x148ff8-0x0;let _0x3774f5=_0x5822[_0x148ff8];return _0x3774f5;};import{Plugin as _0x1200fd}from'ckeditor5/src/core';import _0x46954c from'./table';import{LiveRange as _0xd122af}from'ckeditor5/src/engine';import{getTranslation as _0x49a73d}from'../utils/common-translations';export default class dt extends _0x1200fd{static get[_0x3774('0x34')](){return[_0x46954c];}['afterInit'](){const _0x311eea=this[_0x3774('0x49')],_0x1ae0ca=_0x311eea[_0x3774('0xb')][_0x3774('0x4d')][_0x3774('0x1b')],_0x25eeff=_0x311eea[_0x3774('0x17')];if(!_0x311eea[_0x3774('0xf')][_0x3774('0x37')](_0x3774('0xa')))return;const _0x26a3b8=_0x311eea[_0x3774('0xf')][_0x3774('0x4b')]('TrackChangesEditing'),_0xdc4a17=_0x311eea[_0x3774('0xf')]['get']('TableUtils'),_0x19c0ec=_0x311eea[_0x3774('0xf')][_0x3774('0x4b')](_0x46954c);_0x19c0ec[_0x3774('0x1d')][_0x3774('0x3f')](_0x3774('0x23')),_0x26a3b8['enableCommand']('mergeTableCells',()=>{const _0x1bf571=_0xdc4a17[_0x3774('0x41')](_0x311eea[_0x3774('0xb')][_0x3774('0x4d')][_0x3774('0x1b')]);_0x311eea[_0x3774('0xb')][_0x3774('0x18')](()=>{_0x26a3b8[_0x3774('0x7')](_0x1bf571,{'commandName':_0x3774('0x23'),'commandParams':[]},[],'mergeTableCells');});}),_0x311eea[_0x3774('0x21')][_0x3774('0x4b')](_0x3774('0x23'))['on']('execute',(_0x2e205a,_0x4a449b)=>{_0x311eea[_0x3774('0x21')][_0x3774('0x4b')](_0x3774('0x25'))['value']&&(_0x4a449b[_0x3774('0x47')]>0x0&&_0x4a449b[_0x4a449b[_0x3774('0x47')]-0x1]&&_0x4a449b[_0x4a449b['length']-0x1][_0x3774('0x16')]||_0x26a3b8[_0x3774('0x20')]||this['_areSelectedCellsMergable']()||_0x2e205a['stop']());},{'priority':'highest'});for(const _0x159087 of[_0x3774('0xe'),_0x3774('0x3b'),'mergeTableCellDown',_0x3774('0x39')]){const _0x9e658f=_0x311eea[_0x3774('0x21')][_0x3774('0x4b')](_0x159087);_0x26a3b8[_0x3774('0x13')](_0x159087,()=>{const _0x1cd51e=_0x311eea[_0x3774('0xb')][_0x3774('0x4d')][_0x3774('0x1b')][_0x3774('0xc')]()[_0x3774('0x35')]()[_0x3774('0x24')](_0x13b57a=>_0x13b57a['is']('element','tableCell')),_0x2587c6=_0x9e658f[_0x3774('0x28')];_0x311eea[_0x3774('0xb')][_0x3774('0x18')](()=>{_0x26a3b8['markMultiRangeBlockFormat']([_0x1cd51e,_0x2587c6],{'commandName':_0x3774('0x23'),'commandParams':[]},[],'mergeTableCells');});});}for(const _0x55299d of[_0x3774('0x22'),_0x3774('0x27')]){const _0x587d2d=_0x311eea[_0x3774('0x21')][_0x3774('0x4b')](_0x55299d);_0x26a3b8['enableCommand'](_0x55299d,()=>{const _0x6bf6b=_0xdc4a17['getSelectionAffectedTableCells'](_0x311eea[_0x3774('0xb')][_0x3774('0x4d')][_0x3774('0x1b')])[0x0],_0x7278a8=_0x6bf6b[_0x3774('0x40')](_0x3774('0x31')),{column:_0x257b0c,row:_0x492c82}=_0xdc4a17[_0x3774('0x10')](_0x6bf6b);let _0xe487b8=[];if(_0x3774('0x46')==_0x587d2d[_0x3774('0x2e')]){const _0x552fbf=_0xdc4a17[_0x3774('0x1')](_0x7278a8,{'startRow':_0x492c82,'endRow':_0x492c82,'includeAllSlots':!0x0});_0xe487b8=Array['from'](_0x552fbf)[_0x3774('0x1c')](_0x1b5497=>_0x1b5497[_0x3774('0x38')]);}else{const _0x516b49=_0xdc4a17[_0x3774('0x1')](_0x7278a8,{'column':_0x257b0c,'includeAllSlots':!0x0});_0xe487b8=Array[_0x3774('0x2f')](_0x516b49)[_0x3774('0x1c')](_0x91b8b3=>_0x91b8b3[_0x3774('0x38')]);}_0x311eea[_0x3774('0xb')]['change'](_0x58c851=>{_0x26a3b8[_0x3774('0x44')](_0x58c851[_0x3774('0x4')](_0x6bf6b),{'commandName':_0x55299d,'commandParams':[]},_0xe487b8,_0x55299d);});});}_0x26a3b8[_0x3774('0x3c')][_0x3774('0x2d')](_0x2bfd9e=>{const {data:_0x5a0dbd}=_0x2bfd9e;if(_0x5a0dbd)return _0x3774('0x23')==_0x5a0dbd[_0x3774('0x1f')]?{'type':'format','content':_0x49a73d(_0x25eeff,_0x3774('0x3'))}:void 0x0;}),_0x26a3b8[_0x3774('0x3c')][_0x3774('0x2d')](_0x474b65=>{const {data:_0x5bd28d}=_0x474b65;if(_0x5bd28d)return _0x3774('0x22')==_0x5bd28d[_0x3774('0x1f')]?{'type':'format','content':_0x49a73d(_0x25eeff,_0x3774('0x26'))}:_0x3774('0x27')==_0x5bd28d['commandName']?{'type':_0x3774('0x1a'),'content':_0x49a73d(_0x25eeff,_0x3774('0x4f'))}:void 0x0;});const _0x4e37c8=_0x19c0ec['_acceptFormatSuggestionCallbackFactory']();for(const _0x41afb0 of[_0x3774('0xe'),_0x3774('0x3b'),_0x3774('0x3a'),'mergeTableCellLeft'])_0x26a3b8[_0x3774('0x4e')][_0x3774('0xd')](_0x3774('0x43'),_0x41afb0,_0x3774('0x42'),_0x4e37c8);for(const _0x423826 of[_0x3774('0x22'),'splitTableCellHorizontally'])_0x26a3b8[_0x3774('0x4e')][_0x3774('0xd')]('formatBlock',_0x423826,_0x3774('0x42'),_0x4e37c8);_0x26a3b8[_0x3774('0x4e')][_0x3774('0xd')](_0x3774('0x43'),'mergeTableCells',_0x3774('0x42'),_0x595c51=>{_0x311eea[_0x3774('0xb')][_0x3774('0x18')](_0x419483=>{const _0x1cafd5=Array[_0x3774('0x2f')](_0x1ae0ca[_0x3774('0x8')]())[_0x3774('0x1c')](_0x392fd5=>_0xd122af[_0x3774('0x2b')](_0x392fd5));_0x419483[_0x3774('0x48')](_0x595c51),_0x311eea[_0x3774('0x21')][_0x3774('0x4b')](_0x3774('0x23'))[_0x3774('0x32')](),_0x311eea['execute'](_0x3774('0x23'),{'forceDefaultExecution':!0x0});const _0x21cd32=_0x1cafd5[_0x3774('0x0')](_0x112179=>'$graveyard'!=_0x112179['root'][_0x3774('0x2')]);_0x21cd32['length']>0x0&&_0x419483[_0x3774('0x48')](_0x21cd32);for(const _0x122ba6 of _0x1cafd5)_0x122ba6[_0x3774('0x5')]();});});for(const _0x285a7a of['mergeTableCellUp','mergeTableCellDown',_0x3774('0x39'),_0x3774('0x3b')]){const _0x59ce33=_0x311eea[_0x3774('0x21')]['get'](_0x285a7a);_0x59ce33['on'](_0x3774('0x9'),(_0x24021e,_0x3d8bbd,_0x44daea)=>{if(_0x44daea){const _0x13da50=_0x311eea[_0x3774('0xb')][_0x3774('0x4d')][_0x3774('0x1b')][_0x3774('0xc')]()[_0x3774('0x35')]()[_0x3774('0x24')](_0x3f1a81=>_0x3f1a81['is'](_0x3774('0x2a'),_0x3774('0x3d')));this[_0x3774('0x29')](_0x59ce33['value'],_0x13da50)||(_0x24021e[_0x3774('0x19')]=!0x1,_0x24021e[_0x3774('0x30')]());}},{'priority':'low'});}}['_areSelectedCellsMergable'](){const _0x4d7ee7=this['editor']['commands']['get'](_0x3774('0x23')),_0x205fd8=this[_0x3774('0x49')][_0x3774('0xf')][_0x3774('0x4b')](_0x3774('0x12'));if(!_0x4d7ee7[_0x3774('0x3e')])return!0x1;const _0xd94095=_0x205fd8[_0x3774('0x41')](this['editor'][_0x3774('0xb')][_0x3774('0x4d')][_0x3774('0x1b')]);for(const _0x4a9b66 of _0xd94095)for(const _0x3f2d6d of _0xd94095)if(_0x4a9b66!=_0x3f2d6d&&!this[_0x3774('0x29')](_0x4a9b66,_0x3f2d6d))return!0x1;return!0x0;}[_0x3774('0x29')](_0x38a453,_0x5d5644){const _0x589b6f=this[_0x3774('0x49')]['plugins'][_0x3774('0x4b')](_0x3774('0x1e')),_0x1a52d2=this[_0x3774('0x49')][_0x3774('0xb')][_0x3774('0x4')](_0x38a453),_0x1f284b=this[_0x3774('0x49')][_0x3774('0xb')][_0x3774('0x4')](_0x5d5644),_0x3946ed=new Set(),_0x537732=new Set();for(const _0x92c08f of _0x589b6f[_0x3774('0x15')]())if((_0x3774('0x11')==_0x92c08f[_0x3774('0x4c')]||_0x3774('0x2c')==_0x92c08f['type']||_0x3774('0x23')==_0x92c08f[_0x3774('0x6')])&&_0x92c08f[_0x3774('0x36')])for(const _0x30dd4b of _0x92c08f['getRanges']())_0x30dd4b[_0x3774('0x14')](_0x1a52d2,!0x0)&&_0x3946ed[_0x3774('0x45')](_0x92c08f['type']+':'+_0x92c08f[_0x3774('0x4a')]['id']),_0x30dd4b[_0x3774('0x14')](_0x1f284b,!0x0)&&_0x537732[_0x3774('0x45')](_0x92c08f[_0x3774('0x4c')]+':'+_0x92c08f['author']['id']);if(_0x3946ed[_0x3774('0x33')]!=_0x537732[_0x3774('0x33')])return!0x1;for(const _0x2c924b of _0x3946ed)if(!_0x537732['has'](_0x2c924b))return!0x1;return!0x0;}}
23
+ const _0x593e=['markMultiRangeBlockFormat','trackChanges','getCellLocation','mergeTableCellDown','getSelectionAffectedTableCells','low','setSelection','_tablePostFixingSubtypes','forceDefaultExecution','selection','commands','isInContent','registerCustomCallback','add','*Split\x20cell:*\x20horizontally','mergeTableCellUp','markBlockFormat','deletion','cell','value','TrackChangesEditing','direction','_suggestionFactory','createRangeOn','_descriptionFactory','getAncestors','formatBlock','isEnabled','enableCommand','length','rootName','accept','return','from','commandName','afterInit','model','_isForcedDefaultExecutionBlock','root','findAncestor','stop','find','document','createTableWalker','*Merge\x20cells*','subType','splitTableCellVertically','locale','TableUtils','has','format','containsRange','table','type','map','mergeTableCellRight','splitTableCellHorizontally','registerDescriptionCallback','filter','get','highest','size','_acceptFormatSuggestionCallbackFactory','change','tableCell','editor','insertion','horizontally','TableEditing','requires','mergeTableCellLeft','getRanges','_areMergableCells','mergeTableCells','_areSelectedCellsMergable','detach','refresh','execute','getFirstPosition','author','plugins'];(function(_0x2cadad,_0x593e65){const _0x1ce858=function(_0x4b2cbc){while(--_0x4b2cbc){_0x2cadad['push'](_0x2cadad['shift']());}};_0x1ce858(++_0x593e65);}(_0x593e,0x11f));const _0x1ce8=function(_0x2cadad,_0x593e65){_0x2cadad=_0x2cadad-0x0;let _0x1ce858=_0x593e[_0x2cadad];return _0x1ce858;};import{Plugin as _0x41fec8}from'ckeditor5/src/core';import _0x1be3e6 from'./table';import{LiveRange as _0x4bf0e7}from'ckeditor5/src/engine';import{getTranslation as _0x5addeb}from'../utils/common-translations';export default class dt extends _0x41fec8{static get[_0x1ce8('0x19')](){return[_0x1be3e6];}[_0x1ce8('0x48')](){const _0x3c631d=this[_0x1ce8('0x15')],_0x2696c1=_0x3c631d['model'][_0x1ce8('0x4f')][_0x1ce8('0x2e')],_0x15e32e=_0x3c631d[_0x1ce8('0x3')];if(!_0x3c631d[_0x1ce8('0x24')][_0x1ce8('0x5')](_0x1ce8('0x18')))return;const _0x269c82=_0x3c631d[_0x1ce8('0x24')][_0x1ce8('0xf')]('TrackChangesEditing'),_0x4f977c=_0x3c631d[_0x1ce8('0x24')][_0x1ce8('0xf')](_0x1ce8('0x4')),_0x91ff92=_0x3c631d['plugins']['get'](_0x1be3e6);_0x91ff92[_0x1ce8('0x2c')]['push'](_0x1ce8('0x1d')),_0x269c82[_0x1ce8('0x41')](_0x1ce8('0x1d'),()=>{const _0x38f957=_0x4f977c[_0x1ce8('0x29')](_0x3c631d['model'][_0x1ce8('0x4f')][_0x1ce8('0x2e')]);_0x3c631d[_0x1ce8('0x49')][_0x1ce8('0x13')](()=>{_0x269c82[_0x1ce8('0x25')](_0x38f957,{'commandName':_0x1ce8('0x1d'),'commandParams':[]},[],_0x1ce8('0x1d'));});}),_0x3c631d['commands'][_0x1ce8('0xf')](_0x1ce8('0x1d'))['on']('execute',(_0x5650e5,_0x36f520)=>{_0x3c631d[_0x1ce8('0x2f')][_0x1ce8('0xf')](_0x1ce8('0x26'))[_0x1ce8('0x38')]&&(_0x36f520[_0x1ce8('0x42')]>0x0&&_0x36f520[_0x36f520[_0x1ce8('0x42')]-0x1]&&_0x36f520[_0x36f520[_0x1ce8('0x42')]-0x1][_0x1ce8('0x2d')]||_0x269c82[_0x1ce8('0x4a')]||this[_0x1ce8('0x1e')]()||_0x5650e5[_0x1ce8('0x4d')]());},{'priority':_0x1ce8('0x10')});for(const _0x2785b5 of[_0x1ce8('0x34'),_0x1ce8('0xb'),_0x1ce8('0x28'),_0x1ce8('0x1a')]){const _0x2e4526=_0x3c631d[_0x1ce8('0x2f')][_0x1ce8('0xf')](_0x2785b5);_0x269c82[_0x1ce8('0x41')](_0x2785b5,()=>{const _0x195915=_0x3c631d[_0x1ce8('0x49')][_0x1ce8('0x4f')]['selection']['getFirstPosition']()[_0x1ce8('0x3e')]()[_0x1ce8('0x4e')](_0x453d9c=>_0x453d9c['is']('element',_0x1ce8('0x14'))),_0x31b6b8=_0x2e4526[_0x1ce8('0x38')];_0x3c631d['model'][_0x1ce8('0x13')](()=>{_0x269c82[_0x1ce8('0x25')]([_0x195915,_0x31b6b8],{'commandName':_0x1ce8('0x1d'),'commandParams':[]},[],_0x1ce8('0x1d'));});});}for(const _0x44ae12 of[_0x1ce8('0x2'),'splitTableCellHorizontally']){const _0x2b090b=_0x3c631d['commands'][_0x1ce8('0xf')](_0x44ae12);_0x269c82[_0x1ce8('0x41')](_0x44ae12,()=>{const _0x15629e=_0x4f977c[_0x1ce8('0x29')](_0x3c631d[_0x1ce8('0x49')][_0x1ce8('0x4f')]['selection'])[0x0],_0xc7ae2f=_0x15629e[_0x1ce8('0x4c')](_0x1ce8('0x8')),{column:_0x12fda3,row:_0x1d5735}=_0x4f977c[_0x1ce8('0x27')](_0x15629e);let _0x3a3abf=[];if(_0x1ce8('0x17')==_0x2b090b[_0x1ce8('0x3a')]){const _0x1440f9=_0x4f977c[_0x1ce8('0x50')](_0xc7ae2f,{'startRow':_0x1d5735,'endRow':_0x1d5735,'includeAllSlots':!0x0});_0x3a3abf=Array[_0x1ce8('0x46')](_0x1440f9)[_0x1ce8('0xa')](_0x30d3cc=>_0x30d3cc[_0x1ce8('0x37')]);}else{const _0x2c7bc1=_0x4f977c[_0x1ce8('0x50')](_0xc7ae2f,{'column':_0x12fda3,'includeAllSlots':!0x0});_0x3a3abf=Array[_0x1ce8('0x46')](_0x2c7bc1)['map'](_0x751f0a=>_0x751f0a[_0x1ce8('0x37')]);}_0x3c631d[_0x1ce8('0x49')][_0x1ce8('0x13')](_0xf3cbbe=>{_0x269c82[_0x1ce8('0x35')](_0xf3cbbe['createRangeOn'](_0x15629e),{'commandName':_0x44ae12,'commandParams':[]},_0x3a3abf,_0x44ae12);});});}_0x269c82[_0x1ce8('0x3d')][_0x1ce8('0xd')](_0x353b8d=>{const {data:_0x4b654b}=_0x353b8d;if(_0x4b654b)return _0x1ce8('0x1d')==_0x4b654b[_0x1ce8('0x47')]?{'type':_0x1ce8('0x6'),'content':_0x5addeb(_0x15e32e,_0x1ce8('0x0'))}:void 0x0;}),_0x269c82[_0x1ce8('0x3d')]['registerDescriptionCallback'](_0x6a1158=>{const {data:_0xa0ed3e}=_0x6a1158;if(_0xa0ed3e)return'splitTableCellVertically'==_0xa0ed3e[_0x1ce8('0x47')]?{'type':_0x1ce8('0x6'),'content':_0x5addeb(_0x15e32e,'*Split\x20cell:*\x20vertically')}:_0x1ce8('0xc')==_0xa0ed3e['commandName']?{'type':_0x1ce8('0x6'),'content':_0x5addeb(_0x15e32e,_0x1ce8('0x33'))}:void 0x0;});const _0x5e5c12=_0x91ff92[_0x1ce8('0x12')]();for(const _0x589b03 of[_0x1ce8('0x34'),_0x1ce8('0xb'),_0x1ce8('0x28'),_0x1ce8('0x1a')])_0x269c82['_suggestionFactory'][_0x1ce8('0x31')](_0x1ce8('0x3f'),_0x589b03,_0x1ce8('0x44'),_0x5e5c12);for(const _0x11e2ba of[_0x1ce8('0x2'),_0x1ce8('0xc')])_0x269c82[_0x1ce8('0x3b')]['registerCustomCallback'](_0x1ce8('0x3f'),_0x11e2ba,_0x1ce8('0x44'),_0x5e5c12);_0x269c82[_0x1ce8('0x3b')]['registerCustomCallback']('formatBlock','mergeTableCells',_0x1ce8('0x44'),_0x2713d0=>{_0x3c631d[_0x1ce8('0x49')][_0x1ce8('0x13')](_0x573e2d=>{const _0x4c58fd=Array['from'](_0x2696c1[_0x1ce8('0x1b')]())[_0x1ce8('0xa')](_0x596a42=>_0x4bf0e7['fromRange'](_0x596a42));_0x573e2d[_0x1ce8('0x2b')](_0x2713d0),_0x3c631d[_0x1ce8('0x2f')]['get'](_0x1ce8('0x1d'))[_0x1ce8('0x20')](),_0x3c631d[_0x1ce8('0x21')](_0x1ce8('0x1d'),{'forceDefaultExecution':!0x0});const _0x1f233b=_0x4c58fd[_0x1ce8('0xe')](_0x5342bc=>'$graveyard'!=_0x5342bc[_0x1ce8('0x4b')][_0x1ce8('0x43')]);_0x1f233b['length']>0x0&&_0x573e2d[_0x1ce8('0x2b')](_0x1f233b);for(const _0x52f5d8 of _0x4c58fd)_0x52f5d8[_0x1ce8('0x1f')]();});});for(const _0x14427f of[_0x1ce8('0x34'),_0x1ce8('0x28'),_0x1ce8('0x1a'),'mergeTableCellRight']){const _0xe42c34=_0x3c631d[_0x1ce8('0x2f')]['get'](_0x14427f);_0xe42c34['on']('set:isEnabled',(_0x4faa60,_0x5c6faf,_0x1628b0)=>{if(_0x1628b0){const _0x153147=_0x3c631d[_0x1ce8('0x49')][_0x1ce8('0x4f')][_0x1ce8('0x2e')][_0x1ce8('0x22')]()[_0x1ce8('0x3e')]()[_0x1ce8('0x4e')](_0x50b9e2=>_0x50b9e2['is']('element',_0x1ce8('0x14')));this[_0x1ce8('0x1c')](_0xe42c34[_0x1ce8('0x38')],_0x153147)||(_0x4faa60[_0x1ce8('0x45')]=!0x1,_0x4faa60[_0x1ce8('0x4d')]());}},{'priority':_0x1ce8('0x2a')});}}[_0x1ce8('0x1e')](){const _0x181b8c=this['editor'][_0x1ce8('0x2f')]['get'](_0x1ce8('0x1d')),_0x5d9c12=this['editor']['plugins'][_0x1ce8('0xf')](_0x1ce8('0x4'));if(!_0x181b8c[_0x1ce8('0x40')])return!0x1;const _0x11eae5=_0x5d9c12[_0x1ce8('0x29')](this['editor'][_0x1ce8('0x49')][_0x1ce8('0x4f')][_0x1ce8('0x2e')]);for(const _0x2b904a of _0x11eae5)for(const _0x489457 of _0x11eae5)if(_0x2b904a!=_0x489457&&!this[_0x1ce8('0x1c')](_0x2b904a,_0x489457))return!0x1;return!0x0;}[_0x1ce8('0x1c')](_0x328853,_0x258583){const _0x1c50b4=this[_0x1ce8('0x15')]['plugins'][_0x1ce8('0xf')](_0x1ce8('0x39')),_0x3db263=this['editor'][_0x1ce8('0x49')]['createRangeOn'](_0x328853),_0x4037ed=this[_0x1ce8('0x15')][_0x1ce8('0x49')][_0x1ce8('0x3c')](_0x258583),_0x51194a=new Set(),_0x5c750c=new Set();for(const _0x57747b of _0x1c50b4['getSuggestions']())if((_0x1ce8('0x16')==_0x57747b['type']||_0x1ce8('0x36')==_0x57747b[_0x1ce8('0x9')]||_0x1ce8('0x1d')==_0x57747b[_0x1ce8('0x1')])&&_0x57747b[_0x1ce8('0x30')])for(const _0x404085 of _0x57747b[_0x1ce8('0x1b')]())_0x404085[_0x1ce8('0x7')](_0x3db263,!0x0)&&_0x51194a[_0x1ce8('0x32')](_0x57747b['type']+':'+_0x57747b[_0x1ce8('0x23')]['id']),_0x404085[_0x1ce8('0x7')](_0x4037ed,!0x0)&&_0x5c750c[_0x1ce8('0x32')](_0x57747b['type']+':'+_0x57747b[_0x1ce8('0x23')]['id']);if(_0x51194a[_0x1ce8('0x11')]!=_0x5c750c[_0x1ce8('0x11')])return!0x1;for(const _0x3584a5 of _0x51194a)if(!_0x5c750c[_0x1ce8('0x5')](_0x3584a5))return!0x1;return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x55af=['insertTableOfContents','tableOfContents','get','plugins','enableCommand','commands','ELEMENT_TABLE_OF_CONTENTS','TrackChangesEditing','registerElementLabel','locale','afterInit'];(function(_0x30a276,_0x55aff0){const _0x503ccd=function(_0xcff3af){while(--_0xcff3af){_0x30a276['push'](_0x30a276['shift']());}};_0x503ccd(++_0x55aff0);}(_0x55af,0x130));const _0x503c=function(_0x30a276,_0x55aff0){_0x30a276=_0x30a276-0x0;let _0x503ccd=_0x55af[_0x30a276];return _0x503ccd;};import{Plugin as _0x5e7fb5}from'ckeditor5/src/core';import{getTranslation as _0x204d8d}from'../utils/common-translations';export default class bt extends _0x5e7fb5{[_0x503c('0x3')](){const _0x3b6da3=this['editor'];if(!_0x3b6da3[_0x503c('0x9')][_0x503c('0x6')](_0x503c('0x4')))return;_0x3b6da3[_0x503c('0x7')][_0x503c('0x6')](_0x503c('0x0'))[_0x503c('0x8')]('insertTableOfContents');const _0x5f564e=_0x3b6da3['plugins'][_0x503c('0x6')]('TrackChangesEditing'),_0x2d0a72=_0x3b6da3[_0x503c('0x2')];_0x5f564e['_descriptionFactory'][_0x503c('0x1')](_0x503c('0x5'),_0x2e4cb6=>_0x204d8d(_0x2d0a72,_0x503c('0xa'),_0x2e4cb6));}}
23
+ const _0x3880=['registerElementLabel','enableCommand','commands','insertTableOfContents','plugins','tableOfContents','ELEMENT_TABLE_OF_CONTENTS','afterInit','get','TrackChangesEditing','_descriptionFactory'];(function(_0x433689,_0x388006){const _0x4297a2=function(_0x1a7c00){while(--_0x1a7c00){_0x433689['push'](_0x433689['shift']());}};_0x4297a2(++_0x388006);}(_0x3880,0x17e));const _0x4297=function(_0x433689,_0x388006){_0x433689=_0x433689-0x0;let _0x4297a2=_0x3880[_0x433689];return _0x4297a2;};import{Plugin as _0x130650}from'ckeditor5/src/core';import{getTranslation as _0x10273a}from'../utils/common-translations';export default class bt extends _0x130650{[_0x4297('0xa')](){const _0x5147fb=this['editor'];if(!_0x5147fb[_0x4297('0x5')][_0x4297('0x0')](_0x4297('0x6')))return;_0x5147fb[_0x4297('0x7')][_0x4297('0x0')](_0x4297('0x1'))[_0x4297('0x4')](_0x4297('0x6'));const _0x34eaab=_0x5147fb['plugins']['get'](_0x4297('0x1')),_0x3c2f02=_0x5147fb['locale'];_0x34eaab[_0x4297('0x2')][_0x4297('0x3')](_0x4297('0x8'),_0x55efb9=>_0x10273a(_0x3c2f02,_0x4297('0x9'),_0x55efb9));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x43d2=['*Format:*\x20change\x20table\x20properties','has','enableCommand','tableCellVerticalAlignment','TrackChangesEditing','enqueueChange','locale','table','data','removeAttribute','getSelectionAffectedTableCells','tableBorderColor','selection','get','pluginName','afterInit','tableWidth','_suggestionFactory','tableBorderWidth','document','findAncestor','handleDiscardAction','registerCustomCallback','tableCellWidth','tableCellPadding','subType','tableHeight','tableBackgroundColor','tableBorderStyle','tableCellProperties','tableCellBorderStyle','discard','markBlockFormat','_getSuggestion','tableCellBorderColor','TableUtils','getSuggestionCallback','plugins','tableAlignment','model','accept','format','tableCellHeight','TableCellPropertiesEditing','getFirstPosition','tableCellBorderWidth','editor','formatBlock','join','getSuggestions','tableProperties','handleSuggestionDescription','_handlePropertyChange','nodeAfter','tableCellHorizontalAlignment','batch'];(function(_0x1177db,_0x43d221){const _0x288603=function(_0x327fd3){while(--_0x327fd3){_0x1177db['push'](_0x1177db['shift']());}};_0x288603(++_0x43d221);}(_0x43d2,0xad));const _0x2886=function(_0x1177db,_0x43d221){_0x1177db=_0x1177db-0x0;let _0x288603=_0x43d2[_0x1177db];return _0x288603;};import{Plugin as _0x12c094}from'ckeditor5/src/core';import{getTranslation as _0x1c790c}from'../utils/common-translations';export default class Ct extends _0x12c094{constructor(_0x4b90e6){super(_0x4b90e6),this[_0x2886('0x2d')]=[_0x2886('0x6'),_0x2886('0x17'),_0x2886('0xd'),_0x2886('0x21'),_0x2886('0xb'),_0x2886('0x15'),_0x2886('0x16')],this['tableCellProperties']=[_0x2886('0x1d'),_0x2886('0x19'),_0x2886('0x28'),_0x2886('0x13'),_0x2886('0x12'),_0x2886('0x25'),'tableCellBackgroundColor',_0x2886('0x31'),_0x2886('0x36')];}static get[_0x2886('0x9')](){return'TrackChangesTableProperties';}[_0x2886('0xa')](){const _0x40b08c=this[_0x2886('0x29')][_0x2886('0x20')][_0x2886('0x8')](_0x2886('0x37'));if(this['editor']['plugins'][_0x2886('0x34')]('TablePropertiesEditing')){for(const _0x5b8784 of this[_0x2886('0x2d')])_0x40b08c[_0x2886('0x35')](_0x5b8784,(_0x60d2b0,_0x1e359d)=>{const _0x33273b=this['editor']['model'][_0x2886('0xe')][_0x2886('0x7')][_0x2886('0x27')]()[_0x2886('0xf')](_0x2886('0x2'));this[_0x2886('0x2f')](_0x5b8784,[_0x33273b],this['tableProperties'],_0x2886('0x2d'),_0x60d2b0,_0x1e359d);});_0x40b08c[_0x2886('0xc')][_0x2886('0x11')](_0x2886('0x2a'),_0x2886('0x2d'),'accept',_0x40b08c[_0x2886('0xc')][_0x2886('0x1f')]('formatBlock',null,'discard')),_0x40b08c[_0x2886('0xc')][_0x2886('0x11')](_0x2886('0x2a'),_0x2886('0x2d'),_0x2886('0x1a'),(_0x5f1845,_0x5d6b35)=>this['handleDiscardAction'](this[_0x2886('0x2d')],_0x5f1845,_0x5d6b35)),_0x40b08c['_suggestionFactory'][_0x2886('0x11')](_0x2886('0x2a'),'tableProperties',_0x2886('0x2b'),()=>!0x1);}if(this['editor'][_0x2886('0x20')]['has'](_0x2886('0x26'))){for(const _0x49c439 of this[_0x2886('0x18')])_0x40b08c['enableCommand'](_0x49c439,(_0x3d81c8,_0xf631e)=>{const _0x5b6668=this[_0x2886('0x29')][_0x2886('0x20')][_0x2886('0x8')](_0x2886('0x1e'))[_0x2886('0x5')](this[_0x2886('0x29')]['model'][_0x2886('0xe')]['selection']);this[_0x2886('0x2f')](_0x49c439,_0x5b6668,this['tableCellProperties'],_0x2886('0x18'),_0x3d81c8,_0xf631e);});_0x40b08c[_0x2886('0xc')]['registerCustomCallback'](_0x2886('0x2a'),_0x2886('0x18'),_0x2886('0x23'),_0x40b08c[_0x2886('0xc')][_0x2886('0x1f')](_0x2886('0x2a'),null,_0x2886('0x1a'))),_0x40b08c[_0x2886('0xc')][_0x2886('0x11')](_0x2886('0x2a'),_0x2886('0x18'),_0x2886('0x1a'),(_0x5c6f40,_0x4c6fdd)=>this[_0x2886('0x10')](this[_0x2886('0x18')],_0x5c6f40,_0x4c6fdd)),_0x40b08c[_0x2886('0xc')][_0x2886('0x11')]('formatBlock',_0x2886('0x18'),_0x2886('0x2b'),()=>!0x1);}_0x40b08c['_descriptionFactory']['registerDescriptionCallback'](_0x47ccf1=>this[_0x2886('0x2e')](_0x47ccf1));}[_0x2886('0x2f')](_0x277df0,_0x5c7a8b,_0x1383b4,_0x384248,_0x34b248,_0x40ac91){const _0x2a931c=this['editor'][_0x2886('0x20')][_0x2886('0x8')](_0x2886('0x37'));this[_0x2886('0x29')][_0x2886('0x22')][_0x2886('0x0')](_0x40ac91[_0x2886('0x32')],()=>{for(const _0x4c7595 of _0x5c7a8b){if(this['_getSuggestion'](_0x4c7595,_0x384248))_0x34b248(_0x40ac91);else{const _0x319573={};for(const _0x5aef6f of _0x1383b4){const _0x363988=_0x4c7595['getAttribute'](_0x5aef6f);void 0x0!==_0x363988&&(_0x319573[_0x5aef6f]=_0x363988);}_0x34b248(_0x40ac91),_0x2a931c[_0x2886('0x1b')](_0x4c7595,{'commandParams':[_0x319573]},[],_0x384248);}}});}['handleDiscardAction'](_0x43530d,_0x26281a,_0x3f7a81){const _0x3592fc=_0x26281a[0x0]['start'][_0x2886('0x30')],_0x12d18c=_0x3f7a81['commandParams'][0x0];this[_0x2886('0x29')][_0x2886('0x22')]['change'](_0x1bee74=>{for(const _0x5a6aaa of _0x43530d)void 0x0!==_0x12d18c[_0x5a6aaa]?_0x1bee74['setAttribute'](_0x5a6aaa,_0x12d18c[_0x5a6aaa],_0x3592fc):_0x1bee74[_0x2886('0x4')](_0x5a6aaa,_0x3592fc);});}[_0x2886('0x2e')](_0x252131){if(_0x252131[_0x2886('0x3')])switch(_0x252131[_0x2886('0x14')]){case'tableProperties':return{'type':_0x2886('0x24'),'content':_0x1c790c(this[_0x2886('0x29')][_0x2886('0x1')],_0x2886('0x33'))};case _0x2886('0x18'):return{'type':_0x2886('0x24'),'content':_0x1c790c(this[_0x2886('0x29')][_0x2886('0x1')],'*Format:*\x20change\x20table\x20cell\x20properties')};}}[_0x2886('0x1c')](_0x1b381b,_0x23d783){const _0x4d245c=this[_0x2886('0x29')][_0x2886('0x20')][_0x2886('0x8')](_0x2886('0x37'));for(const _0x549062 of _0x4d245c[_0x2886('0x2c')]({'skipNotAttached':!0x0})){const _0x4d0ad1=_0x549062['getContainedElement']();if(_0x549062[_0x2886('0x14')]===_0x23d783&&_0x4d0ad1===_0x1b381b)return _0x549062;}return null;}}
23
+ const _0x572e=['TableUtils','tableCellHorizontalAlignment','discard','enableCommand','batch','tableWidth','tableCellVerticalAlignment','has','subType','tableHeight','TableCellPropertiesEditing','registerCustomCallback','_handlePropertyChange','tableCellHeight','tableBorderColor','getSuggestionCallback','document','tableCellProperties','tableBackgroundColor','handleSuggestionDescription','plugins','getSelectionAffectedTableCells','table','getContainedElement','tableCellBackgroundColor','TablePropertiesEditing','*Format:*\x20change\x20table\x20cell\x20properties','_suggestionFactory','locale','data','enqueueChange','removeAttribute','pluginName','change','nodeAfter','handleDiscardAction','tableProperties','getSuggestions','findAncestor','tableCellBorderColor','tableBorderWidth','_getSuggestion','afterInit','get','editor','selection','model','markBlockFormat','tableBorderStyle','commandParams','tableCellPadding','TrackChangesEditing','formatBlock','accept','getFirstPosition','format','tableCellBorderStyle','join','start','tableCellWidth'];(function(_0x43ef6f,_0x572e7d){const _0x123c5e=function(_0x195f41){while(--_0x195f41){_0x43ef6f['push'](_0x43ef6f['shift']());}};_0x123c5e(++_0x572e7d);}(_0x572e,0x181));const _0x123c=function(_0x43ef6f,_0x572e7d){_0x43ef6f=_0x43ef6f-0x0;let _0x123c5e=_0x572e[_0x43ef6f];return _0x123c5e;};import{Plugin as _0x58bfd8}from'ckeditor5/src/core';import{getTranslation as _0x225f4c}from'../utils/common-translations';export default class Ct extends _0x58bfd8{constructor(_0x4b218a){super(_0x4b218a),this['tableProperties']=[_0x123c('0x31'),_0x123c('0x17'),_0x123c('0xf'),'tableAlignment',_0x123c('0x28'),_0x123c('0x2c'),_0x123c('0x35')],this['tableCellProperties']=[_0x123c('0xe'),_0x123c('0x1f'),'tableCellBorderWidth',_0x123c('0x19'),_0x123c('0x22'),_0x123c('0x30'),_0x123c('0x3b'),_0x123c('0x24'),_0x123c('0x29')];}static get[_0x123c('0x7')](){return'TrackChangesTableProperties';}[_0x123c('0x11')](){const _0x4c755d=this[_0x123c('0x13')]['plugins'][_0x123c('0x12')]('TrackChangesEditing');if(this[_0x123c('0x13')][_0x123c('0x37')][_0x123c('0x2a')](_0x123c('0x0'))){for(const _0x1e34a9 of this['tableProperties'])_0x4c755d['enableCommand'](_0x1e34a9,(_0x1fed27,_0x357910)=>{const _0x571918=this[_0x123c('0x13')]['model'][_0x123c('0x33')]['selection'][_0x123c('0x1d')]()[_0x123c('0xd')](_0x123c('0x39'));this['_handlePropertyChange'](_0x1e34a9,[_0x571918],this[_0x123c('0xb')],_0x123c('0xb'),_0x1fed27,_0x357910);});_0x4c755d['_suggestionFactory']['registerCustomCallback'](_0x123c('0x1b'),'tableProperties','accept',_0x4c755d[_0x123c('0x2')][_0x123c('0x32')](_0x123c('0x1b'),null,'discard')),_0x4c755d[_0x123c('0x2')][_0x123c('0x2e')](_0x123c('0x1b'),_0x123c('0xb'),_0x123c('0x25'),(_0x218321,_0x5a2cd6)=>this[_0x123c('0xa')](this[_0x123c('0xb')],_0x218321,_0x5a2cd6)),_0x4c755d[_0x123c('0x2')]['registerCustomCallback'](_0x123c('0x1b'),'tableProperties',_0x123c('0x20'),()=>!0x1);}if(this[_0x123c('0x13')][_0x123c('0x37')][_0x123c('0x2a')](_0x123c('0x2d'))){for(const _0x23d85c of this[_0x123c('0x34')])_0x4c755d[_0x123c('0x26')](_0x23d85c,(_0x1bf309,_0x30bfb7)=>{const _0xcd4751=this['editor']['plugins'][_0x123c('0x12')](_0x123c('0x23'))[_0x123c('0x38')](this[_0x123c('0x13')][_0x123c('0x15')][_0x123c('0x33')][_0x123c('0x14')]);this[_0x123c('0x2f')](_0x23d85c,_0xcd4751,this['tableCellProperties'],_0x123c('0x34'),_0x1bf309,_0x30bfb7);});_0x4c755d['_suggestionFactory'][_0x123c('0x2e')](_0x123c('0x1b'),_0x123c('0x34'),_0x123c('0x1c'),_0x4c755d[_0x123c('0x2')][_0x123c('0x32')](_0x123c('0x1b'),null,_0x123c('0x25'))),_0x4c755d[_0x123c('0x2')][_0x123c('0x2e')](_0x123c('0x1b'),_0x123c('0x34'),_0x123c('0x25'),(_0x220cd7,_0x22ec92)=>this[_0x123c('0xa')](this['tableCellProperties'],_0x220cd7,_0x22ec92)),_0x4c755d[_0x123c('0x2')][_0x123c('0x2e')](_0x123c('0x1b'),_0x123c('0x34'),_0x123c('0x20'),()=>!0x1);}_0x4c755d['_descriptionFactory']['registerDescriptionCallback'](_0x5f2177=>this[_0x123c('0x36')](_0x5f2177));}['_handlePropertyChange'](_0x4bc5a7,_0xfb3000,_0x55b609,_0x4adc3f,_0x7dda35,_0x5ac230){const _0x292f2=this[_0x123c('0x13')]['plugins'][_0x123c('0x12')](_0x123c('0x1a'));this[_0x123c('0x13')][_0x123c('0x15')][_0x123c('0x5')](_0x5ac230[_0x123c('0x27')],()=>{for(const _0x15dcbe of _0xfb3000){if(this[_0x123c('0x10')](_0x15dcbe,_0x4adc3f))_0x7dda35(_0x5ac230);else{const _0x3030c2={};for(const _0x4c4cee of _0x55b609){const _0x599133=_0x15dcbe['getAttribute'](_0x4c4cee);void 0x0!==_0x599133&&(_0x3030c2[_0x4c4cee]=_0x599133);}_0x7dda35(_0x5ac230),_0x292f2[_0x123c('0x16')](_0x15dcbe,{'commandParams':[_0x3030c2]},[],_0x4adc3f);}}});}[_0x123c('0xa')](_0x26279d,_0x5014aa,_0xcfb7bb){const _0x5d55a1=_0x5014aa[0x0][_0x123c('0x21')][_0x123c('0x9')],_0x5db9fc=_0xcfb7bb[_0x123c('0x18')][0x0];this['editor']['model'][_0x123c('0x8')](_0x3db7ab=>{for(const _0x432725 of _0x26279d)void 0x0!==_0x5db9fc[_0x432725]?_0x3db7ab['setAttribute'](_0x432725,_0x5db9fc[_0x432725],_0x5d55a1):_0x3db7ab[_0x123c('0x6')](_0x432725,_0x5d55a1);});}['handleSuggestionDescription'](_0xe4ab96){if(_0xe4ab96[_0x123c('0x4')])switch(_0xe4ab96[_0x123c('0x2b')]){case _0x123c('0xb'):return{'type':_0x123c('0x1e'),'content':_0x225f4c(this[_0x123c('0x13')]['locale'],'*Format:*\x20change\x20table\x20properties')};case'tableCellProperties':return{'type':_0x123c('0x1e'),'content':_0x225f4c(this['editor'][_0x123c('0x3')],_0x123c('0x1'))};}}[_0x123c('0x10')](_0x18cd07,_0x3928c6){const _0x1d82c2=this[_0x123c('0x13')]['plugins'][_0x123c('0x12')]('TrackChangesEditing');for(const _0x3a5f63 of _0x1d82c2[_0x123c('0xc')]({'skipNotAttached':!0x0})){const _0x2c8cfe=_0x3a5f63[_0x123c('0x3a')]();if(_0x3a5f63[_0x123c('0x2b')]===_0x3928c6&&_0x2c8cfe===_0x18cd07)return _0x3a5f63;}return null;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x38f3=['has','plugins','afterInit','insertTemplate','Template','editor','enableCommand'];(function(_0x49dc8b,_0x38f31f){const _0x37a949=function(_0x3cd38b){while(--_0x3cd38b){_0x49dc8b['push'](_0x49dc8b['shift']());}};_0x37a949(++_0x38f31f);}(_0x38f3,0x19a));const _0x37a9=function(_0x49dc8b,_0x38f31f){_0x49dc8b=_0x49dc8b-0x0;let _0x37a949=_0x38f3[_0x49dc8b];return _0x37a949;};import{Plugin as _0x53cefc}from'ckeditor5/src/core';export default class yt extends _0x53cefc{[_0x37a9('0x5')](){const _0x221c76=this[_0x37a9('0x1')];_0x221c76['plugins'][_0x37a9('0x3')](_0x37a9('0x0'))&&_0x221c76[_0x37a9('0x4')]['get']('TrackChangesEditing')[_0x37a9('0x2')](_0x37a9('0x6'));}}
23
+ const _0x2ce9=['enableCommand','Template','TrackChangesEditing','insertTemplate','editor','plugins','has'];(function(_0x21ba7d,_0x2ce9e2){const _0x4c0b30=function(_0x2e3a76){while(--_0x2e3a76){_0x21ba7d['push'](_0x21ba7d['shift']());}};_0x4c0b30(++_0x2ce9e2);}(_0x2ce9,0xf1));const _0x4c0b=function(_0x21ba7d,_0x2ce9e2){_0x21ba7d=_0x21ba7d-0x0;let _0x4c0b30=_0x2ce9[_0x21ba7d];return _0x4c0b30;};import{Plugin as _0x5bf3ed}from'ckeditor5/src/core';export default class yt extends _0x5bf3ed{['afterInit'](){const _0x42930a=this[_0x4c0b('0x1')];_0x42930a[_0x4c0b('0x2')][_0x4c0b('0x3')](_0x4c0b('0x5'))&&_0x42930a[_0x4c0b('0x2')]['get'](_0x4c0b('0x6'))[_0x4c0b('0x4')](_0x4c0b('0x0'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x33ba=['isTouching','schema','element','model','ELEMENT_TITLE','locale','Title','differ','_descriptionFactory','get','TrackChangesEditing','isCollapsed','from','start','registerPostFixer','afterInit','has','plugins','end','createRange','nodeBefore','title-content','getNearestSelectionRange','editor','document','forward','_splitMarkerName','removeMarker','suggestion'];(function(_0x3bb333,_0x33ba1f){const _0xf9dd42=function(_0x3e6a03){while(--_0x3e6a03){_0x3bb333['push'](_0x3bb333['shift']());}};_0xf9dd42(++_0x33ba1f);}(_0x33ba,0x15f));const _0xf9dd=function(_0x3bb333,_0x33ba1f){_0x3bb333=_0x3bb333-0x0;let _0xf9dd42=_0x33ba[_0x3bb333];return _0xf9dd42;};import{Plugin as _0x276d0e}from'ckeditor5/src/core';import{getTranslation as _0x5e570b}from'../utils/common-translations';export default class St extends _0x276d0e{[_0xf9dd('0xc')](){const _0x283980=this[_0xf9dd('0x14')];if(!_0x283980[_0xf9dd('0xe')][_0xf9dd('0xd')](_0xf9dd('0x3')))return;const _0x1d0ec0=_0x283980['plugins'][_0xf9dd('0x6')](_0xf9dd('0x7'));_0x1d0ec0[_0xf9dd('0x5')]['registerElementLabel'](_0xf9dd('0x12'),()=>_0x5e570b(_0x283980[_0xf9dd('0x2')],_0xf9dd('0x1'))),_0x283980['model'][_0xf9dd('0x15')][_0xf9dd('0xb')](_0x594dad=>{let _0x58bd25=!0x1;const _0x151107=Array[_0xf9dd('0x9')](_0x283980['model'][_0xf9dd('0x15')][_0xf9dd('0x4')]['getChangedMarkers']());for(const {name:_0x2e58d9,data:_0x1d483a}of _0x151107){const {group:_0x54cc55}=_0x1d0ec0[_0xf9dd('0x17')](_0x2e58d9);if(_0xf9dd('0x19')!==_0x54cc55||!_0x1d483a['newRange'])continue;const _0x232ba6=_0x1d483a['newRange'],_0x262af8=_0x232ba6['end'][_0xf9dd('0x11')];if(!_0x262af8||!_0x262af8['is'](_0xf9dd('0x1c'),'title-content'))continue;if(!_0x232ba6['start'][_0xf9dd('0x1a')](_0x232ba6[_0xf9dd('0xf')]))continue;const _0x2e8ed4=_0x283980[_0xf9dd('0x0')][_0xf9dd('0x1b')][_0xf9dd('0x13')](_0x232ba6[_0xf9dd('0xf')],_0xf9dd('0x16'));if(_0x2e8ed4&&_0x2e8ed4[_0xf9dd('0x8')]){const _0xc3ef9d=_0x594dad[_0xf9dd('0x10')](_0x232ba6[_0xf9dd('0xa')],_0x2e8ed4['start']);_0xc3ef9d['isEqual'](_0x232ba6)||(_0x594dad['updateMarker'](_0x2e58d9,{'range':_0xc3ef9d}),_0x58bd25=!0x0);}_0x58bd25||(_0x594dad[_0xf9dd('0x18')](_0x2e58d9),_0x58bd25=!0x0);}return _0x58bd25;});}}
23
+ const _0x2278=['from','end','removeMarker','registerPostFixer','title-content','model','has','element','getChangedMarkers','registerElementLabel','differ','ELEMENT_TITLE','TrackChangesEditing','plugins','_descriptionFactory','newRange','Title','isEqual','get','locale','start','isCollapsed','createRange','forward','updateMarker','afterInit','schema','suggestion'];(function(_0x2f8360,_0x22782f){const _0x366380=function(_0x2b31fe){while(--_0x2b31fe){_0x2f8360['push'](_0x2f8360['shift']());}};_0x366380(++_0x22782f);}(_0x2278,0x12b));const _0x3663=function(_0x2f8360,_0x22782f){_0x2f8360=_0x2f8360-0x0;let _0x366380=_0x2278[_0x2f8360];return _0x366380;};import{Plugin as _0x3b0797}from'ckeditor5/src/core';import{getTranslation as _0x5c8648}from'../utils/common-translations';export default class St extends _0x3b0797{[_0x3663('0x6')](){const _0x35cb86=this['editor'];if(!_0x35cb86[_0x3663('0x16')][_0x3663('0xf')](_0x3663('0x19')))return;const _0xaf54b1=_0x35cb86[_0x3663('0x16')][_0x3663('0x1b')](_0x3663('0x15'));_0xaf54b1[_0x3663('0x17')][_0x3663('0x12')](_0x3663('0xd'),()=>_0x5c8648(_0x35cb86[_0x3663('0x0')],_0x3663('0x14'))),_0x35cb86[_0x3663('0xe')]['document'][_0x3663('0xc')](_0x135225=>{let _0x370431=!0x1;const _0x5a0e77=Array[_0x3663('0x9')](_0x35cb86[_0x3663('0xe')]['document'][_0x3663('0x13')][_0x3663('0x11')]());for(const {name:_0x23ae50,data:_0x11dec9}of _0x5a0e77){const {group:_0x5ebca6}=_0xaf54b1['_splitMarkerName'](_0x23ae50);if(_0x3663('0x8')!==_0x5ebca6||!_0x11dec9[_0x3663('0x18')])continue;const _0x5d7927=_0x11dec9['newRange'],_0x42bbaa=_0x5d7927[_0x3663('0xa')]['nodeBefore'];if(!_0x42bbaa||!_0x42bbaa['is'](_0x3663('0x10'),_0x3663('0xd')))continue;if(!_0x5d7927[_0x3663('0x1')]['isTouching'](_0x5d7927[_0x3663('0xa')]))continue;const _0x3d79a0=_0x35cb86[_0x3663('0xe')][_0x3663('0x7')]['getNearestSelectionRange'](_0x5d7927[_0x3663('0xa')],_0x3663('0x4'));if(_0x3d79a0&&_0x3d79a0[_0x3663('0x2')]){const _0x1f68d7=_0x135225[_0x3663('0x3')](_0x5d7927[_0x3663('0x1')],_0x3d79a0['start']);_0x1f68d7[_0x3663('0x1a')](_0x5d7927)||(_0x135225[_0x3663('0x5')](_0x23ae50,{'range':_0x1f68d7}),_0x370431=!0x0);}_0x370431||(_0x135225[_0x3663('0xb')](_0x23ae50),_0x370431=!0x0);}return _0x370431;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4e73=['get','enableCommand','plugins','afterInit','has','TrackChangesEditing'];(function(_0x4d7948,_0x4e73f4){const _0x2c7acd=function(_0x1abe55){while(--_0x1abe55){_0x4d7948['push'](_0x4d7948['shift']());}};_0x2c7acd(++_0x4e73f4);}(_0x4e73,0x1a9));const _0x2c7a=function(_0x4d7948,_0x4e73f4){_0x4d7948=_0x4d7948-0x0;let _0x2c7acd=_0x4e73[_0x4d7948];return _0x2c7acd;};import{Plugin as _0x1fc26e}from'ckeditor5/src/core';export default class It extends _0x1fc26e{[_0x2c7a('0x4')](){const _0x1f63aa=this['editor'],_0x5d6ea7=_0x1f63aa[_0x2c7a('0x3')][_0x2c7a('0x1')](_0x2c7a('0x0'));_0x1f63aa[_0x2c7a('0x3')][_0x2c7a('0x5')]('UndoEditing')&&(_0x5d6ea7[_0x2c7a('0x2')]('undo'),_0x5d6ea7[_0x2c7a('0x2')]('redo'));}}
23
+ const _0x1528=['redo','TrackChangesEditing','afterInit','get','enableCommand','UndoEditing','undo','plugins','editor'];(function(_0x4d5917,_0x15285a){const _0x484296=function(_0x529ae0){while(--_0x529ae0){_0x4d5917['push'](_0x4d5917['shift']());}};_0x484296(++_0x15285a);}(_0x1528,0x1a9));const _0x4842=function(_0x4d5917,_0x15285a){_0x4d5917=_0x4d5917-0x0;let _0x484296=_0x1528[_0x4d5917];return _0x484296;};import{Plugin as _0x4ad19f}from'ckeditor5/src/core';export default class It extends _0x4ad19f{[_0x4842('0x0')](){const _0x4e4871=this[_0x4842('0x6')],_0x2365ae=_0x4e4871[_0x4842('0x5')][_0x4842('0x1')](_0x4842('0x8'));_0x4e4871[_0x4842('0x5')]['has'](_0x4842('0x3'))&&(_0x2365ae[_0x4842('0x2')](_0x4842('0x4')),_0x2365ae['enableCommand'](_0x4842('0x7')));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4a4d=['mapper','getAttribute','markerName','span','listItem','getItems','isBlock','insert','start','previousPosition','addClass','get','elementEnd','nextSibling','plugins','toViewPosition','listIndent','ck-suggestion-marker--active','item','getCustomProperty','push','hasAttribute','element','activeMarkers','createRangeOn','writer','name','bindElementToMarker','createUIElement','ck-suggestion-marker-','toViewElement','markerRange','getWalker','test','type','parent'];(function(_0x1e207a,_0x4a4d3c){const _0x43c482=function(_0x502fa){while(--_0x502fa){_0x1e207a['push'](_0x1e207a['shift']());}};_0x43c482(++_0x4a4d3c);}(_0x4a4d,0xe2));const _0x43c4=function(_0x1e207a,_0x4a4d3c){_0x1e207a=_0x1e207a-0x0;let _0x43c482=_0x4a4d[_0x1e207a];return _0x43c482;};export function getRangesWithAttribute(_0x2b62ae,_0xccfba3,_0x2b07fc){const _0x152390=[];for(const _0x38d47b of _0xccfba3[_0x43c4('0x1f')]())_0x38d47b[_0x43c4('0xb')](_0x2b62ae)&&_0x152390['push'](_0x2b07fc[_0x43c4('0xe')](_0x38d47b));return _0x152390;}export function getElementsAffectedByListItemRename(_0x5c3755){const _0x571b2f=[];if(_0x5c3755['is'](_0x43c4('0xc'),_0x43c4('0x1e'))){let _0xacda10=_0x5c3755['nextSibling'];for(;_0xacda10&&_0xacda10['is'](_0x43c4('0xc'),_0x43c4('0x1e'))&&_0xacda10[_0x43c4('0x1b')](_0x43c4('0x6'))>0x0;)_0x571b2f[_0x43c4('0xa')](_0xacda10),_0xacda10=_0xacda10[_0x43c4('0x3')];}return _0x571b2f;}export function downcastSplitMergeMarker(_0x2d4980,_0x42a57f,{showActiveMarker:_0x576656=!0x0}={}){const _0x6ed112=_0x2d4980[_0x43c4('0x4')][_0x43c4('0x1')]('TrackChangesEditing');return(_0x2aee22,_0x4a2396,_0x11880e)=>{if(!_0x11880e['consumable'][_0x43c4('0x17')](_0x4a2396[_0x43c4('0x15')],_0x2aee22[_0x43c4('0x10')]))return;const _0x3b3bbd=_0x4a2396[_0x43c4('0x15')][_0x43c4('0x16')](),_0x3011b3=_0x4a2396['markerRange'][_0x43c4('0x22')],_0x503f3a=_0x2d4980['model']['schema'];let _0x5cd038=null,_0xaabf89=null,_0x48f663=!0x1,_0x3d02af=!0x1;for(const _0x5a2512 of _0x3b3bbd){const _0x195894=_0x5a2512[_0x43c4('0x8')];_0x48f663=_0x48f663||_0x503f3a['isContent'](_0x195894);const _0xa19c26=_0x11880e[_0x43c4('0x1a')][_0x43c4('0x14')](_0x195894);if(_0xa19c26&&_0xa19c26[_0x43c4('0x9')]('addHighlight'))return;_0x43c4('0x2')==_0x5a2512[_0x43c4('0x18')]&&(_0x503f3a[_0x43c4('0x20')](_0x195894)&&!_0x503f3a['isLimit'](_0x195894)&&(_0x195894[_0x43c4('0x3')]||_0x3011b3['isAtEnd']?_0x5cd038&&_0x5cd038[_0x43c4('0x19')]==_0x195894||(_0x5cd038=_0x195894,_0x48a24(_0x5a2512[_0x43c4('0x23')]),_0x3d02af=!0x0):_0xaabf89=_0xaabf89||_0x5a2512['previousPosition']));}function _0x48a24(_0x550ac1){const _0x1f1339=_0x11880e[_0x43c4('0xf')][_0x43c4('0x12')](_0x43c4('0x1d'),{'class':_0x43c4('0x13')+_0x42a57f}),_0x472722=_0x11880e[_0x43c4('0x1a')][_0x43c4('0x5')](_0x550ac1);_0x576656&&_0x6ed112[_0x43c4('0xd')]['includes'](_0x4a2396[_0x43c4('0x1c')])&&_0x11880e['writer'][_0x43c4('0x0')](_0x43c4('0x7'),_0x1f1339),_0x11880e[_0x43c4('0xf')][_0x43c4('0x21')](_0x472722,_0x1f1339),_0x11880e['mapper'][_0x43c4('0x11')](_0x1f1339,_0x4a2396['markerName']);}_0x48f663||_0x3d02af||!_0xaabf89||_0x48a24(_0xaabf89);};}
23
+ const _0x16b7=['elementEnd','mapper','isBlock','isContent','push','hasAttribute','start','writer','getItems','test','listItem','listIndent','nextSibling','getCustomProperty','previousPosition','element','markerRange','TrackChangesEditing','insert','toViewPosition','plugins','span','addClass','name','get','parent','getAttribute','isLimit','model','ck-suggestion-marker-','ck-suggestion-marker--active','type','consumable','toViewElement','markerName','createUIElement'];(function(_0x470b3e,_0x16b7be){const _0x416cdf=function(_0x452d92){while(--_0x452d92){_0x470b3e['push'](_0x470b3e['shift']());}};_0x416cdf(++_0x16b7be);}(_0x16b7,0x18e));const _0x416c=function(_0x470b3e,_0x16b7be){_0x470b3e=_0x470b3e-0x0;let _0x416cdf=_0x16b7[_0x470b3e];return _0x416cdf;};export function getRangesWithAttribute(_0x3fab9b,_0x15a7d7,_0x40b897){const _0x2ab7ca=[];for(const _0x28c5b1 of _0x15a7d7[_0x416c('0x6')]())_0x28c5b1[_0x416c('0x3')](_0x3fab9b)&&_0x2ab7ca[_0x416c('0x2')](_0x40b897['createRangeOn'](_0x28c5b1));return _0x2ab7ca;}export function getElementsAffectedByListItemRename(_0x30912a){const _0x3b5685=[];if(_0x30912a['is'](_0x416c('0xd'),_0x416c('0x8'))){let _0x3b397a=_0x30912a[_0x416c('0xa')];for(;_0x3b397a&&_0x3b397a['is'](_0x416c('0xd'),'listItem')&&_0x3b397a[_0x416c('0x18')](_0x416c('0x9'))>0x0;)_0x3b5685[_0x416c('0x2')](_0x3b397a),_0x3b397a=_0x3b397a[_0x416c('0xa')];}return _0x3b5685;}export function downcastSplitMergeMarker(_0x113971,_0x215af1,{showActiveMarker:_0x17b11c=!0x0}={}){const _0x20d0d4=_0x113971[_0x416c('0x12')][_0x416c('0x16')](_0x416c('0xf'));return(_0x48586d,_0x3a41b4,_0x1516bc)=>{if(!_0x1516bc[_0x416c('0x1e')][_0x416c('0x7')](_0x3a41b4['markerRange'],_0x48586d[_0x416c('0x15')]))return;const _0x245ad0=_0x3a41b4[_0x416c('0xe')]['getWalker'](),_0x523e2=_0x3a41b4['markerRange'][_0x416c('0x4')],_0xf8813=_0x113971[_0x416c('0x1a')]['schema'];let _0x1e188b=null,_0x4d8438=null,_0x118cf7=!0x1,_0x13005d=!0x1;for(const _0x118c75 of _0x245ad0){const _0x563927=_0x118c75['item'];_0x118cf7=_0x118cf7||_0xf8813[_0x416c('0x1')](_0x563927);const _0x27fd66=_0x1516bc['mapper'][_0x416c('0x1f')](_0x563927);if(_0x27fd66&&_0x27fd66[_0x416c('0xb')]('addHighlight'))return;_0x416c('0x22')==_0x118c75[_0x416c('0x1d')]&&(_0xf8813[_0x416c('0x0')](_0x563927)&&!_0xf8813[_0x416c('0x19')](_0x563927)&&(_0x563927[_0x416c('0xa')]||_0x523e2['isAtEnd']?_0x1e188b&&_0x1e188b[_0x416c('0x17')]==_0x563927||(_0x1e188b=_0x563927,_0x15a8d3(_0x118c75['previousPosition']),_0x13005d=!0x0):_0x4d8438=_0x4d8438||_0x118c75[_0x416c('0xc')]));}function _0x15a8d3(_0x26838f){const _0x23f41c=_0x1516bc[_0x416c('0x5')][_0x416c('0x21')](_0x416c('0x13'),{'class':_0x416c('0x1b')+_0x215af1}),_0x18f774=_0x1516bc[_0x416c('0x23')][_0x416c('0x11')](_0x26838f);_0x17b11c&&_0x20d0d4['activeMarkers']['includes'](_0x3a41b4[_0x416c('0x20')])&&_0x1516bc[_0x416c('0x5')][_0x416c('0x14')](_0x416c('0x1c'),_0x23f41c),_0x1516bc[_0x416c('0x5')][_0x416c('0x10')](_0x18f774,_0x23f41c),_0x1516bc[_0x416c('0x23')]['bindElementToMarker'](_0x23f41c,_0x3a41b4[_0x416c('0x20')]);}_0x118cf7||_0x13005d||!_0x4d8438||_0x15a8d3(_0x4d8438);};}