@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20230815.0 → 0.0.0-nightly-20230817.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 _0x36b4=['end','setAttribute','getSelectionAffectedTableCells','add','row','discard','entries','createRangeIn','push','includes','fill','documentSelection','getItems','_getCoordsForCells','insertion','get','ck-suggestion-marker','rowInsertionIndexes','return','_splitMarkerName','model','suggestion-td','last','_createdBatches','columns','insertionRanges','newRange','getRows','tableCellBorderColor','plugins','differ','getSuggestions','ck-suggestion-marker-insertion','name','unwrap','getSuggestionCallback','tablePasteColumn','activeMarkers','element','findAncestor','suggestionUnloaded','commands','getColumns','registerDescriptionCallback','filter','tablePasteChainId','next','type','tableCellBorderWidth','tableCellSuggestion','paragraph','getContainedElement','ck-suggestion-marker--active','createElement','view','fromEntries','remove','isEqual','markerAttributes','first','move','endRow','high','subType','deletion','insertContent','_isForcedDefaultExecutionBlock','attributes','insert','getAllAdjacentSuggestions','tablePasteRow','createRangeOn','_replaceTableSlotCell','rootName','trackChanges','accept','isEmpty','registerPostFixer','_suggestionFactory','tablePaste','markMultiRangeInsertion','getMarkers','getSuggestion','start','getTableIfOnlyTableInContent','rowInsertionRanges','tableCell','createTableWalker','containsRange','low','position','redo','schema','author','reduce','table','find','join','afterInit','previousSibling','createPositionBefore','removeColumns','markerName','for','register','getChangedMarkers','some','registerCustomCallback','suggestionLoaded','from','insertColumns','change','getRanges','previous','updateMarker','deletionRanges','listenTo','content','every','options','elementToElement','columnInsertionRanges','tableCellHorizontalAlignment','startsWith','cells','TrackChangesEditing','value','setAttributes','document','has','column','Users','showSuggestionHighlights','markerToHighlight','map','isInContent','formatBlock','removeRows','getChildren','requires','tablePasteCell','getRowIndexes','getChild','stop','columnInsertionIndexes','keys','insertRows','suggestion','getShiftedBy','set','getRange','removeMarker','oldRange','markers','length','_tablePostFixingSubtypes','TableClipboard','endColumn','wrap'];(function(_0x3b4c08,_0x36b4a4){const _0xcc8f2b=function(_0x57ac78){while(--_0x57ac78){_0x3b4c08['push'](_0x3b4c08['shift']());}};_0xcc8f2b(++_0x36b4a4);}(_0x36b4,0x15d));const _0xcc8f=function(_0x3b4c08,_0x36b4a4){_0x3b4c08=_0x3b4c08-0x0;let _0xcc8f2b=_0x36b4[_0x3b4c08];return _0xcc8f2b;};import{getTranslation as _0x34a40d}from'../utils/common-translations';import{Plugin as _0x3d7833}from'ckeditor5/src/core';import{uid as _0x308946,priorities as _0x18ed9a}from'ckeditor5/src/utils';import _0x157772 from'./table';const le=[_0xcc8f('0x11'),_0xcc8f('0x9c'),'tableCellBorderStyle',_0xcc8f('0x5b'),'tableCellVerticalAlignment','tableCellBackgroundColor','tableCellPadding'],ae=Object['fromEntries'](le['map'](_0x5550e6=>[_0x5550e6,null]));export default class kt extends _0x3d7833{static get[_0xcc8f('0x6c')](){return[_0x157772];}[_0xcc8f('0x43')](){const _0x4c76a5=this['editor'];if(!_0x4c76a5[_0xcc8f('0x9d')][_0xcc8f('0x62')](_0xcc8f('0x7d')))return;const _0x36b1f4=_0x4c76a5[_0xcc8f('0x9d')][_0xcc8f('0x8f')](_0xcc8f('0x5e')),_0x1c6dda=_0x4c76a5[_0xcc8f('0x9d')]['get']('TableUtils'),_0x25d3d1=_0x4c76a5['plugins'][_0xcc8f('0x8f')](_0x157772),_0x3e6b21=_0x4c76a5['plugins'][_0xcc8f('0x8f')](_0xcc8f('0x7d'));_0x25d3d1[_0xcc8f('0x7c')][_0xcc8f('0x88')](_0xcc8f('0x27'),_0xcc8f('0x5')),_0x4c76a5[_0xcc8f('0x94')][_0xcc8f('0x3d')][_0xcc8f('0x49')]('tableCellSuggestion',{'allowIn':_0xcc8f('0x37'),'allowContentOf':_0xcc8f('0x37'),'isLimit':!0x0}),_0x4c76a5['conversion'][_0xcc8f('0x59')]({'model':_0xcc8f('0x12'),'view':_0xcc8f('0x95')});let _0xa7158f=null;_0x4c76a5[_0xcc8f('0x94')]['on'](_0xcc8f('0x22'),(_0x488876,_0x5ae0f5)=>{const [_0x2d1862,_0x33f10f]=_0x5ae0f5,_0x345f2d=_0x5ae0f5[_0x5ae0f5[_0xcc8f('0x7b')]-0x1];_0x345f2d&&_0x345f2d['forceDefaultExecution']||_0x36b1f4[_0xcc8f('0x23')]||this['editor'][_0xcc8f('0xa')][_0xcc8f('0x8f')](_0xcc8f('0x2b'))[_0xcc8f('0x5f')]&&function(_0x995551,_0x2e5aa8,_0x47881b,_0x218947,_0x587947){if(_0x2e5aa8&&!_0x2e5aa8['is'](_0xcc8f('0x8b')))return!0x1;const _0x565c45=_0x587947[_0xcc8f('0x35')](_0x995551,_0x47881b);if(!_0x565c45||!fe(_0x565c45,void 0x0,_0x218947))return!0x1;const _0x4011d5=_0x218947[_0xcc8f('0x82')](_0x47881b[_0xcc8f('0x61')]['selection']);if(!_0x4011d5[_0xcc8f('0x7b')])return!0x1;const _0x3f01b7=_0x4011d5[0x0]['findAncestor'](_0xcc8f('0x40')),_0x54c329=_0x218947[_0xcc8f('0x6e')](_0x4011d5),_0x28a199=_0x218947['getColumnIndexes'](_0x4011d5),_0x19ef31={'startRow':_0x54c329[_0xcc8f('0x1c')],'endRow':_0x54c329[_0xcc8f('0x96')],'startColumn':_0x28a199[_0xcc8f('0x1c')],'endColumn':_0x28a199['last']};return 0x1==_0x4011d5['length']&&(_0x19ef31[_0xcc8f('0x1e')]+=_0x218947[_0xcc8f('0x9b')](_0x565c45)-0x1,_0x19ef31[_0xcc8f('0x7e')]+=_0x218947[_0xcc8f('0xb')](_0x565c45)-0x1),fe(_0x3f01b7,_0x19ef31,_0x218947);}(_0x2d1862,_0x33f10f,_0x4c76a5[_0xcc8f('0x94')],_0x1c6dda,_0x3e6b21)&&(_0x488876[_0xcc8f('0x70')](),_0xa7158f={'cells':[],'insertionRanges':[],'deletionRanges':[],'rowInsertionRanges':[],'rowInsertionIndexes':[],'columnInsertionRanges':[],'columnInsertionIndexes':[]},_0x4c76a5[_0xcc8f('0x94')][_0xcc8f('0x50')](()=>{_0x4c76a5[_0xcc8f('0x94')]['insertContent'](_0x5ae0f5[0x0],_0x5ae0f5[0x1],_0x5ae0f5[0x2],{'forceDefaultExecution':!0x0});const _0x16b52d=_0x308946(),{rowInsertionRanges:_0x4d4384,columnInsertionRanges:_0x3b08f1,insertionRanges:_0xc0ea40,deletionRanges:_0x26eb30,cells:_0x52abac}=_0xa7158f;_0x4d4384[_0xcc8f('0x7b')]&&_0x36b1f4[_0xcc8f('0x31')](_0x4d4384,_0xcc8f('0x27'),{'tablePasteChainId':_0x16b52d}),_0x3b08f1[_0xcc8f('0x7b')]&&_0x36b1f4[_0xcc8f('0x31')](_0x3b08f1,_0xcc8f('0x5'),{'tablePasteChainId':_0x16b52d}),_0xc0ea40[_0xcc8f('0x7b')]&&_0x36b1f4[_0xcc8f('0x31')](_0xc0ea40,_0xcc8f('0x30'),{'tablePasteChainId':_0x16b52d,'skipNestingCheck':!0x0}),_0x26eb30[_0xcc8f('0x7b')]&&_0x36b1f4['markMultiRangeDeletion'](_0x26eb30,_0xcc8f('0x30'),{'tablePasteChainId':_0x16b52d,'skipNestingCheck':!0x0});const _0x69a947=_0x36b1f4['markMultiRangeBlockFormat'](_0x52abac[_0xcc8f('0x67')](({element:_0x22c14d})=>_0x22c14d),{'formatGroupId':_0x308946()},[],_0xcc8f('0x6d'),{'tablePasteChainId':_0x16b52d});if(_0x69a947){const _0xeda1c8=_0x69a947[_0xcc8f('0x32')](),_0x209468=[];for(const {element:_0x49fb9e,attributes:_0x420e4b}of _0x52abac){if(!_0x420e4b)continue;const _0x33096d=_0x4c76a5['model']['createRangeOn'](_0x49fb9e),_0x11d7fc=_0xeda1c8[_0xcc8f('0x41')](_0x398685=>_0x398685['getRange']()[_0xcc8f('0x1a')](_0x33096d));_0x11d7fc&&_0x209468[_0xcc8f('0x88')]([_0x11d7fc[_0xcc8f('0x2')],_0x420e4b]);}_0x209468[_0xcc8f('0x7b')]&&_0x69a947[_0xcc8f('0x81')](_0xcc8f('0x1b'),Object[_0xcc8f('0x18')](_0x209468));}_0xa7158f=null;}));},{'priority':_0x18ed9a[_0xcc8f('0x1f')]+0xa}),_0x4c76a5[_0xcc8f('0x9d')][_0xcc8f('0x8f')]('TableClipboard')['on'](_0xcc8f('0x29'),(_0x4f38ad,_0x42c9e9)=>{const [_0x5c4282,_0x49f768,,_0x1cda3c]=_0x42c9e9;if(!_0xa7158f)return;_0x4f38ad[_0xcc8f('0x70')]();const _0x55cb73=_0x5c4282['cell'],_0x5a4489=_0x49f768,_0x4d431e=ce(_0x55cb73),_0x56fa4a=ce(_0x5a4489);_0x4f38ad[_0xcc8f('0x92')]=_0x55cb73;let _0x517312=null,_0x377734=null;if(_0x56fa4a||_0x4d431e){if(_0x4d431e&&!_0x56fa4a){_0x1cda3c['remove'](_0x55cb73[_0xcc8f('0x6f')](0x0));for(const _0x264013 of Array['from'](_0x5a4489['getChildren']()))_0x1cda3c[_0xcc8f('0x25')](_0x264013,_0x55cb73,'end');const _0x28cbd5=_0xa7158f[_0xcc8f('0x91')][_0xcc8f('0x89')](_0x5c4282[_0xcc8f('0x84')]),_0x40f5ad=_0xa7158f['columnInsertionIndexes'][_0xcc8f('0x89')](_0x5c4282[_0xcc8f('0x63')]);_0x28cbd5||_0x40f5ad||(_0x517312=_0x1cda3c[_0xcc8f('0x87')](_0x55cb73));}else _0x56fa4a&&!_0x4d431e&&(_0x377734=_0x1cda3c[_0xcc8f('0x87')](_0x55cb73));}else{const _0x47bf52=_0x1cda3c[_0xcc8f('0x16')](_0xcc8f('0x12')),_0xdf2686=_0x1cda3c[_0xcc8f('0x16')](_0xcc8f('0x12'));_0x1cda3c[_0xcc8f('0x7f')](_0x1cda3c[_0xcc8f('0x87')](_0x55cb73),_0xdf2686),_0x1cda3c[_0xcc8f('0x25')](_0x47bf52,_0x55cb73,0x0);for(const _0x854068 of Array[_0xcc8f('0x4e')](_0x5a4489[_0xcc8f('0x6b')]()))_0x1cda3c[_0xcc8f('0x25')](_0x854068,_0x47bf52,_0xcc8f('0x80'));_0x517312=_0x1cda3c[_0xcc8f('0x28')](_0x47bf52),_0x377734=_0x1cda3c['createRangeOn'](_0xdf2686);}const _0x3bb260=Array[_0xcc8f('0x4e')](_0x5a4489['getAttributes']())[_0xcc8f('0xd')](([_0x3c56ee])=>le[_0xcc8f('0x89')](_0x3c56ee));_0xa7158f['cells'][_0xcc8f('0x88')]({'element':_0x55cb73,'attributes':_0x3bb260[_0xcc8f('0x7b')]?Object[_0xcc8f('0x18')](_0x3bb260):null}),_0x517312&&_0xa7158f[_0xcc8f('0x99')]['push'](_0x517312),_0x377734&&_0xa7158f[_0xcc8f('0x54')][_0xcc8f('0x88')](_0x377734);},{'priority':_0xcc8f('0x1f')}),_0x1c6dda['on'](_0xcc8f('0x4f'),(_0x1066db,_0x3fc360)=>{const [_0x3a00a7,_0x1e8a70={}]=_0x3fc360;if(!_0xa7158f)return;const _0x11c890=_0x1e8a70['at']||0x0,_0x3f7b64=_0x1e8a70[_0xcc8f('0x98')]||0x1;_0xa7158f[_0xcc8f('0x71')]=new Array(_0x3f7b64)[_0xcc8f('0x8a')](_0x11c890)[_0xcc8f('0x67')]((_0x153fe9,_0x30ef82)=>_0x153fe9+_0x30ef82);for(const {cell:_0x2fbe8c}of _0x1c6dda[_0xcc8f('0x38')](_0x3a00a7,{'startColumn':_0x11c890,'endColumn':_0x11c890+_0x3f7b64-0x1}))_0xa7158f[_0xcc8f('0x5a')][_0xcc8f('0x88')](_0x4c76a5[_0xcc8f('0x94')][_0xcc8f('0x28')](_0x2fbe8c));},{'priority':_0xcc8f('0x3a')}),_0x1c6dda['on'](_0xcc8f('0x73'),(_0x51c577,_0x59ce60)=>{const [_0x1f6b31,_0x1b17ed={}]=_0x59ce60;if(!_0xa7158f)return;const _0x5f0c1b=_0x1b17ed['at']||0x0,_0x541a7c=_0x1b17ed['rows']||0x1;_0xa7158f[_0xcc8f('0x91')]=new Array(_0x541a7c)[_0xcc8f('0x8a')](_0x5f0c1b)['map']((_0x317993,_0x1008cc)=>_0x317993+_0x1008cc);for(const {cell:_0x3f4d4e}of _0x1c6dda['createTableWalker'](_0x1f6b31,{'startRow':_0x5f0c1b,'endRow':_0x5f0c1b+_0x541a7c-0x1}))_0xa7158f[_0xcc8f('0x36')]['push'](_0x4c76a5[_0xcc8f('0x94')]['createRangeOn'](_0x3f4d4e));},{'priority':_0xcc8f('0x3a')}),_0x36b1f4['_descriptionFactory'][_0xcc8f('0xc')](_0x3c8a51=>{if(_0x3c8a51[_0xcc8f('0x20')]&&_0x3c8a51[_0xcc8f('0x20')][_0xcc8f('0x5c')]('tablePaste'))return _0x3c8a51[_0xcc8f('0x52')]?{}:{'type':'insertion','content':_0x34a40d(_0x4c76a5['locale'],'*Replace\x20table\x20cells*')};});const _0x53528a=()=>{};for(const _0x1ccb80 of[_0xcc8f('0x30'),_0xcc8f('0x5'),_0xcc8f('0x27'),'tablePasteCell'])_0x36b1f4[_0xcc8f('0x2f')][_0xcc8f('0x4c')]('insertion',_0x1ccb80,_0xcc8f('0x42'),_0x53528a),_0x36b1f4[_0xcc8f('0x2f')][_0xcc8f('0x4c')]('deletion',_0x1ccb80,_0xcc8f('0x42'),_0x53528a);_0x36b1f4[_0xcc8f('0x2f')][_0xcc8f('0x4c')](_0xcc8f('0x69'),_0xcc8f('0x6d'),_0xcc8f('0x85'),_0x53528a),_0x36b1f4[_0xcc8f('0x2f')][_0xcc8f('0x4c')](_0xcc8f('0x69'),_0xcc8f('0x6d'),'accept',(_0x245850,_0x3c571a,_0x104b5c)=>{const _0x1e15fb=_0x245850['map'](_0x26dd0d=>_0x26dd0d[_0xcc8f('0x14')]())[_0xcc8f('0xd')](_0x124af7=>_0x124af7),_0x456f7f=new Map(_0x1e15fb[_0xcc8f('0x67')](_0x50c338=>[_0x50c338,null]));if(_0xa7158f)for(const {element:_0x2ac957,attributes:_0xaa0f30}of _0xa7158f[_0xcc8f('0x5d')])_0xaa0f30&&_0x456f7f['set'](_0x2ac957,_0xaa0f30);else{if(_0x104b5c&&_0x104b5c[_0xcc8f('0x1b')])for(const [_0x27c8ee,_0x3ef5ad]of Object[_0xcc8f('0x86')](_0x104b5c['markerAttributes'])){const _0x22d486=_0x4c76a5[_0xcc8f('0x94')][_0xcc8f('0x7a')][_0xcc8f('0x8f')](_0x27c8ee),_0x314e1d=_0x22d486?_0x22d486['getRange']()[_0xcc8f('0x14')]():null;_0x314e1d&&_0x456f7f[_0xcc8f('0x76')](_0x314e1d,_0x3ef5ad);}}_0x4c76a5[_0xcc8f('0x94')]['change'](_0x279f4c=>{for(const [_0x4354b3,_0x2bd124]of _0x456f7f)_0x279f4c[_0xcc8f('0x60')]({...ae,..._0x2bd124},_0x4354b3);});});const _0x33f049=(_0x3676f4,_0x2010f0)=>{_0x36b1f4[_0xcc8f('0x2f')][_0xcc8f('0x4c')](_0x3676f4,_0xcc8f('0x30'),_0x2010f0,(_0x332b0b,_0x396e69,_0x1dbd32)=>{_0x4c76a5[_0xcc8f('0x94')]['change'](_0x15175d=>{const _0x2b5e48=[];for(const _0x14f5a7 of _0x332b0b){const _0x41889b=_0x14f5a7[_0xcc8f('0x34')]['nodeAfter'];_0x41889b['is'](_0xcc8f('0x7'),'tableCellSuggestion')&&_0x2b5e48['push'](_0x41889b);}_0x36b1f4[_0xcc8f('0x2f')][_0xcc8f('0x4')](_0x3676f4,null,_0x2010f0)(_0x332b0b,_0x396e69,_0x1dbd32);for(const _0x5efab0 of _0x2b5e48)'$graveyard'!=_0x5efab0['root'][_0xcc8f('0x2a')]&&_0x15175d[_0xcc8f('0x3')](_0x5efab0);});});};_0x33f049(_0xcc8f('0x8e'),_0xcc8f('0x2c')),_0x33f049(_0xcc8f('0x8e'),'discard'),_0x33f049(_0xcc8f('0x21'),_0xcc8f('0x2c')),_0x33f049('deletion',_0xcc8f('0x85')),_0x36b1f4[_0xcc8f('0x2f')][_0xcc8f('0x4c')](_0xcc8f('0x8e'),_0xcc8f('0x27'),_0xcc8f('0x85'),_0x3f0101=>{const _0x45be96=_0x3f0101['map'](_0x55cd61=>_0x55cd61[_0xcc8f('0x14')]()),_0x2dabcc=_0x45be96[0x0]['findAncestor'](_0xcc8f('0x40')),{minRow:_0x3c1ec3,maxRow:_0x1af1e7}=_0x25d3d1[_0xcc8f('0x8d')](_0x45be96);_0x1c6dda[_0xcc8f('0x6a')](_0x2dabcc,{'at':_0x3c1ec3,'rows':_0x1af1e7-_0x3c1ec3+0x1});}),_0x36b1f4['_suggestionFactory']['registerCustomCallback'](_0xcc8f('0x8e'),_0xcc8f('0x5'),_0xcc8f('0x85'),_0x3a89c1=>{const _0x4b0fd2=_0x3a89c1[_0xcc8f('0x67')](_0xa4f5b0=>_0xa4f5b0[_0xcc8f('0x14')]()),_0x4f0c72=_0x4b0fd2[0x0][_0xcc8f('0x8')](_0xcc8f('0x40')),{minColumn:_0x3247ba,maxColumn:_0x565c33}=_0x25d3d1[_0xcc8f('0x8d')](_0x4b0fd2);_0x1c6dda[_0xcc8f('0x46')](_0x4f0c72,{'at':_0x3247ba,'columns':_0x565c33-_0x3247ba+0x1});});const _0x484efa=(_0x291641,_0x2b2c7a)=>{if(!_0x2b2c7a[_0xcc8f('0x20')]||!_0x2b2c7a['subType']['startsWith'](_0xcc8f('0x30')))return;const _0x1a2ec8=_0x2b2c7a['attributes'][_0xcc8f('0xe')],_0x49eed7=_0x36b1f4[_0xcc8f('0x0')]()[_0xcc8f('0xd')](_0x4cb1ff=>_0x4cb1ff['isInContent']&&_0x4cb1ff[_0xcc8f('0x24')]&&_0x4cb1ff[_0xcc8f('0x24')][_0xcc8f('0xe')]==_0x1a2ec8);_0x49eed7[_0xcc8f('0x7b')]&&_0x2b2c7a[_0xcc8f('0x26')]()[_0xcc8f('0x7b')]!=_0x49eed7['length']&&_0x49eed7[_0xcc8f('0x3f')]((_0x567e62,_0x29da68)=>(_0x567e62[_0xcc8f('0xf')]=_0x29da68,_0x29da68[_0xcc8f('0x52')]=_0x567e62,_0x29da68));};function _0x4f75a4(_0x53ebcd,_0xdb7960=!0x0){const {id:_0x29503b}=_0x36b1f4[_0xcc8f('0x93')](_0x53ebcd[_0xcc8f('0x47')]),_0x5a1b02=[_0xcc8f('0x90'),_0xcc8f('0x1')],_0x2705b0=_0x36b1f4[_0xcc8f('0x6')]['includes'](_0x53ebcd[_0xcc8f('0x47')]);return _0x2705b0&&_0x5a1b02[_0xcc8f('0x88')](_0xcc8f('0x15')),{'classes':_0x5a1b02,'attributes':{'data-suggestion':_0x29503b},'priority':_0x2705b0&&_0xdb7960?0xbc2:0xbb8};}_0x36b1f4['on'](_0xcc8f('0x4d'),_0x484efa,{'priority':_0xcc8f('0x1f')}),_0x36b1f4['on'](_0xcc8f('0x9'),_0x484efa,{'priority':_0xcc8f('0x1f')}),_0x4c76a5[_0xcc8f('0x94')][_0xcc8f('0x61')]['registerPostFixer'](()=>{let _0x5d2bda=!0x1;const _0x903e8a=Array[_0xcc8f('0x4e')](_0x4c76a5[_0xcc8f('0x94')][_0xcc8f('0x61')][_0xcc8f('0x9e')][_0xcc8f('0x4a')]());for(const {name:_0x55716a,data:_0x3923a5}of _0x903e8a){const {group:_0x1d291d,type:_0x454732,id:_0x3e5423}=_0x36b1f4[_0xcc8f('0x93')](_0x55716a);if(_0xcc8f('0x74')!=_0x1d291d||'deletion'!=_0x454732||_0x3923a5['oldRange'])continue;if(!_0x36b1f4['hasSuggestion'](_0x3e5423))continue;const _0x51a7ed=_0x36b1f4[_0xcc8f('0x33')](_0x3e5423)[_0xcc8f('0x51')](),_0x511246=_0x4c76a5[_0xcc8f('0x9d')][_0xcc8f('0x8f')]('Users')['me'];for(const _0x2c51da of _0x36b1f4[_0xcc8f('0x0')]()){if(!_0x2c51da[_0xcc8f('0x68')]||_0x2c51da[_0xcc8f('0x3e')]!=_0x511246)continue;if(_0xcc8f('0x69')!=_0x2c51da[_0xcc8f('0x10')]||_0xcc8f('0x6d')!=_0x2c51da['subType'])continue;if(_0x2c51da['getRanges']()[_0xcc8f('0x57')](_0x580892=>_0x51a7ed[_0xcc8f('0x4b')](_0x49acc4=>_0x49acc4[_0xcc8f('0x39')](_0x580892,!0x0))))for(const _0x55851e of _0x2c51da[_0xcc8f('0x26')]())_0x55851e[_0xcc8f('0x68')]&&(_0x55851e['discard'](),_0x5d2bda=!0x0);}}return _0x5d2bda;}),_0x4c76a5[_0xcc8f('0x94')][_0xcc8f('0x61')][_0xcc8f('0x2e')](_0x2c2f33=>{const _0x5b0695=_0x4c76a5[_0xcc8f('0xa')][_0xcc8f('0x8f')](_0xcc8f('0x3c'));if(!_0x5b0695||!_0x5b0695[_0xcc8f('0x97')][_0xcc8f('0x62')](_0x2c2f33['batch']))return!0x1;let _0x30db29=!0x1;const _0x74a11b=_0x4c76a5['plugins'][_0xcc8f('0x8f')](_0xcc8f('0x64'))['me'],_0x5c3e9a=_0x4c76a5['model'][_0xcc8f('0x61')][_0xcc8f('0x9e')]['getChanges'](),_0x41255d=Array[_0xcc8f('0x4e')](_0x4c76a5[_0xcc8f('0x94')]['document'][_0xcc8f('0x9e')]['getChangedMarkers']())[_0xcc8f('0xd')](({name:_0x37bd0d,data:_0x1f3c7c})=>{const {group:_0x3b7add,subType:_0x3fca49,authorId:_0x197428}=_0x36b1f4[_0xcc8f('0x93')](_0x37bd0d);return _0xcc8f('0x74')==_0x3b7add&&_0xcc8f('0x30')==_0x3fca49&&_0x197428==_0x74a11b['id']&&!_0x1f3c7c[_0xcc8f('0x79')];});for(const _0x1a7d98 of _0x5c3e9a){if(_0xcc8f('0x25')!=_0x1a7d98[_0xcc8f('0x10')]||_0xcc8f('0x12')!=_0x1a7d98['name']||0x1!=_0x1a7d98[_0xcc8f('0x7b')])continue;const _0x4ad072=_0x2c2f33['createRange'](_0x1a7d98[_0xcc8f('0x3b')],_0x1a7d98[_0xcc8f('0x3b')][_0xcc8f('0x75')](0x1));if(!_0x41255d[_0xcc8f('0x41')](({data:_0x694413})=>_0x694413[_0xcc8f('0x9a')][_0xcc8f('0x1a')](_0x4ad072)))for(const {name:_0x4cb95c,data:_0x5585fb}of _0x41255d)if(_0x4ad072[_0xcc8f('0x39')](_0x5585fb[_0xcc8f('0x9a')])){_0x2c2f33[_0xcc8f('0x53')](_0x4cb95c,{'range':_0x4ad072}),_0x30db29=!0x0;break;}}return _0x30db29;}),_0x4c76a5[_0xcc8f('0x94')]['document']['registerPostFixer'](_0x54206d=>{let _0x41f781=!0x1;const _0x58b079=_0x4c76a5['plugins'][_0xcc8f('0x8f')](_0xcc8f('0x64'))['me'],_0x408ae7=_0x36b1f4[_0xcc8f('0x0')]()[_0xcc8f('0xd')](_0x30ea25=>_0x30ea25['isInContent']&&_0x30ea25[_0xcc8f('0x3e')]==_0x58b079),_0x1b6eb2=new Set(),_0x2d0c15=new Set();for(const _0x23fefd of _0x408ae7)if('tablePaste'==_0x23fefd[_0xcc8f('0x20')])for(const _0x13cde8 of _0x23fefd[_0xcc8f('0x32')]()){const _0x36b618=_0x13cde8[_0xcc8f('0x77')]()['getContainedElement']();if(_0x36b618){if(_0x36b618['is'](_0xcc8f('0x7'),_0xcc8f('0x12'))&&ce(_0x36b618)){_0x23fefd[_0xcc8f('0x78')](_0x13cde8[_0xcc8f('0x2')]),_0x1b6eb2[_0xcc8f('0x83')](_0x36b618),_0x41f781=!0x0;const _0x117a06=_0x36b618['nextSibling'],_0x543ad0=_0x36b618[_0xcc8f('0x44')],_0x346a63=_0x117a06&&_0x117a06['is'](_0xcc8f('0x7'),'tableCellSuggestion'),_0x4e009=_0x543ad0&&_0x543ad0['is'](_0xcc8f('0x7'),'tableCellSuggestion');_0x346a63&&!_0x1b6eb2[_0xcc8f('0x62')](_0x117a06)&&_0x2d0c15[_0xcc8f('0x83')](_0x117a06),_0x4e009&&!_0x1b6eb2[_0xcc8f('0x62')](_0x543ad0)&&_0x2d0c15['add'](_0x543ad0);}else _0x36b618['is'](_0xcc8f('0x7'),'paragraph')&&_0x36b618[_0xcc8f('0x2d')]&&(_0x23fefd[_0xcc8f('0x78')](_0x13cde8[_0xcc8f('0x2')]),_0x41f781=!0x0);}}else{if(_0xcc8f('0x6d')==_0x23fefd[_0xcc8f('0x20')]){if(!_0x23fefd[_0xcc8f('0x24')]||!_0x23fefd[_0xcc8f('0x24')][_0xcc8f('0xe')])continue;const _0x4f0cb4=_0x23fefd[_0xcc8f('0x24')]['markerAttributes'];if(_0x4f0cb4&&Object[_0xcc8f('0x72')](_0x4f0cb4)['length'])continue;const _0x302250=_0x23fefd[_0xcc8f('0x24')][_0xcc8f('0xe')];let _0x3ca97e=!0x0,_0x1a5bd4=!0x0;for(const _0x54d591 of _0x408ae7)if(_0x54d591['subType']&&_0x54d591[_0xcc8f('0x20')]['startsWith'](_0xcc8f('0x30'))){if(!_0x54d591[_0xcc8f('0x24')][_0xcc8f('0xe')]){_0x1a5bd4=!0x1;break;}if(_0x54d591['id']!=_0x23fefd['id']&&_0x54d591[_0xcc8f('0x24')][_0xcc8f('0xe')]==_0x302250){_0x3ca97e=!0x1;break;}}_0x1a5bd4&&_0x3ca97e&&(_0x23fefd['removeMarkers'](),_0x41f781=!0x0);}}for(const _0x4eaa12 of _0x1b6eb2)_0x54206d[_0xcc8f('0x19')](_0x4eaa12);for(const _0x1aa66f of _0x2d0c15)_0x54206d[_0xcc8f('0x3')](_0x1aa66f);return _0x41f781;}),_0x4c76a5['conversion'][_0xcc8f('0x48')]('editingDowncast')['markerToHighlight']({'model':'suggestion:formatBlock:tablePasteCell','view':(_0x2455a1,_0xcf9831)=>_0x4f75a4(_0x2455a1),'converterPriority':_0xcc8f('0x1f')}),_0x4c76a5['conversion'][_0xcc8f('0x48')]('dataDowncast')[_0xcc8f('0x66')]({'model':'suggestion:formatBlock:tablePasteCell','view':(_0x52c277,_0x5c0cfe)=>_0x5c0cfe[_0xcc8f('0x58')][_0xcc8f('0x65')]?_0x4f75a4(_0x52c277,!0x1):null,'converterPriority':_0xcc8f('0x1f')});const _0x179949=_0x4c76a5['editing'][_0xcc8f('0x17')];this[_0xcc8f('0x55')](_0x179949[_0xcc8f('0x61')],'clipboardOutput',(_0x1eb2a7,_0x3ceebb)=>{const _0x3f3e86=[];for(const _0x290ef2 of _0x179949[_0xcc8f('0x87')](_0x3ceebb[_0xcc8f('0x56')])[_0xcc8f('0x8c')]())_0x290ef2['is'](_0xcc8f('0x7'),_0xcc8f('0x95'))&&_0x3f3e86['push'](_0x290ef2);_0x179949['change'](_0x96220=>{for(const _0x31fb87 of _0x3f3e86)_0x96220[_0xcc8f('0x1d')](_0x96220['createRangeIn'](_0x31fb87),_0x96220[_0xcc8f('0x45')](_0x31fb87)),_0x96220[_0xcc8f('0x19')](_0x31fb87);});});}}function ce(_0x44bc76){if(_0x44bc76[_0xcc8f('0x2d')])return!0x0;const _0xee658=_0x44bc76[_0xcc8f('0x6f')](0x0);return _0xee658['is']('element',_0xcc8f('0x13'))&&_0xee658[_0xcc8f('0x2d')];}function fe(_0x2282fa,_0xc2b72b={},_0x512a3a){for(const {isAnchor:_0x238cb2,cellHeight:_0x89cbb7,cellWidth:_0xaef13b}of _0x512a3a[_0xcc8f('0x38')](_0x2282fa,{'includeAllSlots':!0x0,..._0xc2b72b}))if(!_0x238cb2||0x1!=_0x89cbb7||0x1!=_0xaef13b)return!0x1;return!0x0;}
23
+ const _0x4ef2=['batch','getAttributes','_descriptionFactory','get','redo','tableCellBorderStyle','has','isInContent','includes','tablePasteCell','createElement','unwrap','clipboardOutput','_isForcedDefaultExecutionBlock','suggestion:formatBlock:tablePasteCell','markerAttributes','insertRows','name','insertColumns','insertion','row','filter','tableCell','trackChanges','removeRows','cells','getColumnIndexes','attributes','plugins','conversion','move','set','model','document','tablePasteColumn','getItems','nextSibling','dataDowncast','_replaceTableSlotCell','suggestion-td','stop','newRange','markerName','paragraph','find','startsWith','markMultiRangeBlockFormat','containsRange','type','some','keys','createRangeOn','getSuggestion','getTableIfOnlyTableInContent','insert','register','_splitMarkerName','setAttributes','TableUtils','_suggestionFactory','*Replace\x20table\x20cells*','fromEntries','reduce','deletion','removeColumns','ck-suggestion-marker--active','markMultiRangeInsertion','first','map','column','rows','locale','getContainedElement','subType','options','position','registerPostFixer','documentSelection','tableCellBackgroundColor','accept','return','removeMarker','Users','element','rowInsertionRanges','createRange','markers','oldRange','join','createRangeIn','hasSuggestion','showSuggestionHighlights','markerToHighlight','fill','from','findAncestor','rootName','getChangedMarkers','columnInsertionRanges','tablePasteRow','start','suggestionLoaded','updateMarker','createTableWalker','suggestion','commands','formatBlock','registerCustomCallback','getChanges','view','ck-suggestion-marker-insertion','getColumns','editing','getAllAdjacentSuggestions','insertContent','root','activeMarkers','isEmpty','length','_getCoordsForCells','columnInsertionIndexes','wrap','previousSibling','getChildren','change','getSuggestions','rowInsertionIndexes','getChild','tableCellBorderColor','requires','end','differ','forceDefaultExecution','low','_createdBatches','previous','add','getRange','discard','tablePaste','columns','removeMarkers','tablePasteChainId','value','insertionRanges','selection','push','_tablePostFixingSubtypes','getRanges','editor','afterInit','getSuggestionCallback','listenTo','entries','getMarkers','high','tableCellVerticalAlignment','TableClipboard','tableCellSuggestion','endColumn','markMultiRangeDeletion','last','editingDowncast','remove','table','for'];(function(_0x37621d,_0x4ef25c){const _0x5546fd=function(_0x43a4f2){while(--_0x43a4f2){_0x37621d['push'](_0x37621d['shift']());}};_0x5546fd(++_0x4ef25c);}(_0x4ef2,0x14c));const _0x5546=function(_0x37621d,_0x4ef25c){_0x37621d=_0x37621d-0x0;let _0x5546fd=_0x4ef2[_0x37621d];return _0x5546fd;};import{getTranslation as _0x505689}from'../utils/common-translations';import{Plugin as _0x1f73c4}from'ckeditor5/src/core';import{uid as _0x368707,priorities as _0xfcd920}from'ckeditor5/src/utils';import _0x20cf4b from'./table';const le=['tableCellBorderWidth',_0x5546('0x80'),_0x5546('0x5'),'tableCellHorizontalAlignment',_0x5546('0x9c'),_0x5546('0x4e'),'tableCellPadding'],ae=Object['fromEntries'](le[_0x5546('0x44')](_0x1f74d5=>[_0x1f74d5,null]));export default class kt extends _0x1f73c4{static get[_0x5546('0x81')](){return[_0x20cf4b];}[_0x5546('0x96')](){const _0x185eec=this[_0x5546('0x95')];if(!_0x185eec[_0x5546('0x1c')][_0x5546('0x6')](_0x5546('0x9d')))return;const _0xd2678=_0x185eec[_0x5546('0x1c')][_0x5546('0x3')]('TrackChangesEditing'),_0x2bfa96=_0x185eec['plugins'][_0x5546('0x3')](_0x5546('0x3a')),_0x25bc79=_0x185eec[_0x5546('0x1c')]['get'](_0x20cf4b),_0x204f36=_0x185eec['plugins'][_0x5546('0x3')]('TableClipboard');_0x25bc79[_0x5546('0x93')][_0x5546('0x92')](_0x5546('0x63'),'tablePasteColumn'),_0x185eec['model']['schema'][_0x5546('0x37')](_0x5546('0x9e'),{'allowIn':'tableCell','allowContentOf':_0x5546('0x16'),'isLimit':!0x0}),_0x185eec[_0x5546('0x1d')]['elementToElement']({'model':'tableCellSuggestion','view':'suggestion-td'});let _0x3ac969=null;_0x185eec['model']['on'](_0x5546('0x72'),(_0x2c2a62,_0x36a0c3)=>{const [_0xdfcd1c,_0x108d92]=_0x36a0c3,_0x2888b1=_0x36a0c3[_0x36a0c3[_0x5546('0x76')]-0x1];_0x2888b1&&_0x2888b1[_0x5546('0x84')]||_0xd2678[_0x5546('0xd')]||this[_0x5546('0x95')]['commands']['get'](_0x5546('0x17'))[_0x5546('0x8f')]&&function(_0x2b6b4a,_0x20586d,_0x3e3d78,_0x4786e3,_0x1ddf63){if(_0x20586d&&!_0x20586d['is'](_0x5546('0x4d')))return!0x1;const _0x2ba9fd=_0x1ddf63[_0x5546('0x35')](_0x2b6b4a,_0x3e3d78);if(!_0x2ba9fd||!fe(_0x2ba9fd,void 0x0,_0x4786e3))return!0x1;const _0x2606da=_0x4786e3['getSelectionAffectedTableCells'](_0x3e3d78[_0x5546('0x21')][_0x5546('0x91')]);if(!_0x2606da['length'])return!0x1;const _0x45f4b3=_0x2606da[0x0][_0x5546('0x5f')](_0x5546('0xa4')),_0x10f39c=_0x4786e3['getRowIndexes'](_0x2606da),_0x25e971=_0x4786e3[_0x5546('0x1a')](_0x2606da),_0x4f6cd8={'startRow':_0x10f39c[_0x5546('0x43')],'endRow':_0x10f39c[_0x5546('0xa1')],'startColumn':_0x25e971[_0x5546('0x43')],'endColumn':_0x25e971[_0x5546('0xa1')]};return 0x1==_0x2606da[_0x5546('0x76')]&&(_0x4f6cd8['endRow']+=_0x4786e3['getRows'](_0x2ba9fd)-0x1,_0x4f6cd8[_0x5546('0x9f')]+=_0x4786e3[_0x5546('0x6f')](_0x2ba9fd)-0x1),fe(_0x45f4b3,_0x4f6cd8,_0x4786e3);}(_0xdfcd1c,_0x108d92,_0x185eec[_0x5546('0x20')],_0x2bfa96,_0x204f36)&&(_0x2c2a62[_0x5546('0x28')](),_0x3ac969={'cells':[],'insertionRanges':[],'deletionRanges':[],'rowInsertionRanges':[],'rowInsertionIndexes':[],'columnInsertionRanges':[],'columnInsertionIndexes':[]},_0x185eec['model'][_0x5546('0x7c')](()=>{_0x185eec[_0x5546('0x20')][_0x5546('0x72')](_0x36a0c3[0x0],_0x36a0c3[0x1],_0x36a0c3[0x2],{'forceDefaultExecution':!0x0});const _0x52254e=_0x368707(),{rowInsertionRanges:_0x5075bf,columnInsertionRanges:_0x4ded22,insertionRanges:_0xe22073,deletionRanges:_0x4b254e,cells:_0xd2de4}=_0x3ac969;_0x5075bf['length']&&_0xd2678[_0x5546('0x42')](_0x5075bf,_0x5546('0x63'),{'tablePasteChainId':_0x52254e}),_0x4ded22['length']&&_0xd2678['markMultiRangeInsertion'](_0x4ded22,'tablePasteColumn',{'tablePasteChainId':_0x52254e}),_0xe22073[_0x5546('0x76')]&&_0xd2678['markMultiRangeInsertion'](_0xe22073,_0x5546('0x8b'),{'tablePasteChainId':_0x52254e,'skipNestingCheck':!0x0}),_0x4b254e[_0x5546('0x76')]&&_0xd2678[_0x5546('0xa0')](_0x4b254e,_0x5546('0x8b'),{'tablePasteChainId':_0x52254e,'skipNestingCheck':!0x0});const _0x23f1fc=_0xd2678[_0x5546('0x2e')](_0xd2de4[_0x5546('0x44')](({element:_0x401f32})=>_0x401f32),{'formatGroupId':_0x368707()},[],'tablePasteCell',{'tablePasteChainId':_0x52254e});if(_0x23f1fc){const _0x36e854=_0x23f1fc[_0x5546('0x9a')](),_0x122d24=[];for(const {element:_0xa292ea,attributes:_0x24f16e}of _0xd2de4){if(!_0x24f16e)continue;const _0x34f0a5=_0x185eec[_0x5546('0x20')][_0x5546('0x33')](_0xa292ea),_0x41aaf2=_0x36e854[_0x5546('0x2c')](_0x16958d=>_0x16958d[_0x5546('0x89')]()['isEqual'](_0x34f0a5));_0x41aaf2&&_0x122d24[_0x5546('0x92')]([_0x41aaf2[_0x5546('0x11')],_0x24f16e]);}_0x122d24[_0x5546('0x76')]&&_0x23f1fc['setAttribute'](_0x5546('0xf'),Object[_0x5546('0x3d')](_0x122d24));}_0x3ac969=null;}));},{'priority':_0xfcd920['high']+0xa}),_0x185eec[_0x5546('0x1c')]['get'](_0x5546('0x9d'))['on'](_0x5546('0x26'),(_0x13f925,_0x2bfff3)=>{const [_0x44071b,_0x3503dd,,_0x2a0f1f]=_0x2bfff3;if(!_0x3ac969)return;_0x13f925['stop']();const _0x4b9994=_0x44071b['cell'],_0x3c461e=_0x3503dd,_0x510b75=ce(_0x4b9994),_0x43c7aa=ce(_0x3c461e);_0x13f925[_0x5546('0x50')]=_0x4b9994;let _0x10ad61=null,_0x5cb55c=null;if(_0x43c7aa||_0x510b75){if(_0x510b75&&!_0x43c7aa){_0x2a0f1f[_0x5546('0xa3')](_0x4b9994[_0x5546('0x7f')](0x0));for(const _0x3e870b of Array['from'](_0x3c461e[_0x5546('0x7b')]()))_0x2a0f1f[_0x5546('0x36')](_0x3e870b,_0x4b9994,_0x5546('0x82'));const _0x4b91ad=_0x3ac969['rowInsertionIndexes']['includes'](_0x44071b[_0x5546('0x14')]),_0x544318=_0x3ac969[_0x5546('0x78')]['includes'](_0x44071b[_0x5546('0x45')]);_0x4b91ad||_0x544318||(_0x10ad61=_0x2a0f1f[_0x5546('0x59')](_0x4b9994));}else _0x43c7aa&&!_0x510b75&&(_0x5cb55c=_0x2a0f1f['createRangeIn'](_0x4b9994));}else{const _0x289003=_0x2a0f1f[_0x5546('0xa')]('tableCellSuggestion'),_0x51b310=_0x2a0f1f[_0x5546('0xa')](_0x5546('0x9e'));_0x2a0f1f[_0x5546('0x79')](_0x2a0f1f[_0x5546('0x59')](_0x4b9994),_0x51b310),_0x2a0f1f['insert'](_0x289003,_0x4b9994,0x0);for(const _0x891586 of Array[_0x5546('0x5e')](_0x3c461e[_0x5546('0x7b')]()))_0x2a0f1f['insert'](_0x891586,_0x289003,'end');_0x10ad61=_0x2a0f1f[_0x5546('0x33')](_0x289003),_0x5cb55c=_0x2a0f1f[_0x5546('0x33')](_0x51b310);}const _0x595b9c=Array[_0x5546('0x5e')](_0x3c461e[_0x5546('0x1')]())['filter'](([_0x5451bf])=>le[_0x5546('0x8')](_0x5451bf));_0x3ac969[_0x5546('0x19')]['push']({'element':_0x4b9994,'attributes':_0x595b9c['length']?Object['fromEntries'](_0x595b9c):null}),_0x10ad61&&_0x3ac969[_0x5546('0x90')][_0x5546('0x92')](_0x10ad61),_0x5cb55c&&_0x3ac969['deletionRanges']['push'](_0x5cb55c);},{'priority':_0x5546('0x9b')}),_0x2bfa96['on'](_0x5546('0x12'),(_0x189b3e,_0x158048)=>{const [_0x12d428,_0x2f28d7={}]=_0x158048;if(!_0x3ac969)return;const _0x3a2ffa=_0x2f28d7['at']||0x0,_0x3096ca=_0x2f28d7[_0x5546('0x8c')]||0x1;_0x3ac969[_0x5546('0x78')]=new Array(_0x3096ca)['fill'](_0x3a2ffa)[_0x5546('0x44')]((_0x469f1b,_0x21bfa0)=>_0x469f1b+_0x21bfa0);for(const {cell:_0x13786e}of _0x2bfa96[_0x5546('0x67')](_0x12d428,{'startColumn':_0x3a2ffa,'endColumn':_0x3a2ffa+_0x3096ca-0x1}))_0x3ac969[_0x5546('0x62')][_0x5546('0x92')](_0x185eec[_0x5546('0x20')][_0x5546('0x33')](_0x13786e));},{'priority':_0x5546('0x85')}),_0x2bfa96['on'](_0x5546('0x10'),(_0x5371ea,_0x137072)=>{const [_0x29a9f3,_0x2a9d8e={}]=_0x137072;if(!_0x3ac969)return;const _0x529b68=_0x2a9d8e['at']||0x0,_0x49286c=_0x2a9d8e[_0x5546('0x46')]||0x1;_0x3ac969[_0x5546('0x7e')]=new Array(_0x49286c)[_0x5546('0x5d')](_0x529b68)['map']((_0x28f24a,_0x22c91e)=>_0x28f24a+_0x22c91e);for(const {cell:_0x12e38c}of _0x2bfa96[_0x5546('0x67')](_0x29a9f3,{'startRow':_0x529b68,'endRow':_0x529b68+_0x49286c-0x1}))_0x3ac969[_0x5546('0x54')][_0x5546('0x92')](_0x185eec['model'][_0x5546('0x33')](_0x12e38c));},{'priority':_0x5546('0x85')}),_0xd2678[_0x5546('0x2')]['registerDescriptionCallback'](_0x160585=>{if(_0x160585[_0x5546('0x49')]&&_0x160585[_0x5546('0x49')][_0x5546('0x2d')](_0x5546('0x8b')))return _0x160585[_0x5546('0x87')]?{}:{'type':'insertion','content':_0x505689(_0x185eec[_0x5546('0x47')],_0x5546('0x3c'))};});const _0x44e077=()=>{};for(const _0x770312 of[_0x5546('0x8b'),'tablePasteColumn',_0x5546('0x63'),'tablePasteCell'])_0xd2678[_0x5546('0x3b')][_0x5546('0x6b')](_0x5546('0x13'),_0x770312,'join',_0x44e077),_0xd2678['_suggestionFactory']['registerCustomCallback'](_0x5546('0x3f'),_0x770312,_0x5546('0x58'),_0x44e077);_0xd2678[_0x5546('0x3b')]['registerCustomCallback'](_0x5546('0x6a'),_0x5546('0x9'),_0x5546('0x8a'),_0x44e077),_0xd2678[_0x5546('0x3b')]['registerCustomCallback'](_0x5546('0x6a'),_0x5546('0x9'),'accept',(_0x115bc2,_0x1df290,_0x5bcbaf)=>{const _0x486492=_0x115bc2[_0x5546('0x44')](_0x1c3847=>_0x1c3847['getContainedElement']())[_0x5546('0x15')](_0x2ac37e=>_0x2ac37e),_0x1b8782=new Map(_0x486492['map'](_0x39ac6f=>[_0x39ac6f,null]));if(_0x3ac969)for(const {element:_0x158e1d,attributes:_0xa7a2e2}of _0x3ac969[_0x5546('0x19')])_0xa7a2e2&&_0x1b8782['set'](_0x158e1d,_0xa7a2e2);else{if(_0x5bcbaf&&_0x5bcbaf[_0x5546('0xf')])for(const [_0x3cf067,_0x446f5d]of Object[_0x5546('0x99')](_0x5bcbaf[_0x5546('0xf')])){const _0x3630ef=_0x185eec[_0x5546('0x20')][_0x5546('0x56')][_0x5546('0x3')](_0x3cf067),_0x1793aa=_0x3630ef?_0x3630ef['getRange']()[_0x5546('0x48')]():null;_0x1793aa&&_0x1b8782[_0x5546('0x1f')](_0x1793aa,_0x446f5d);}}_0x185eec[_0x5546('0x20')]['change'](_0x285b56=>{for(const [_0x13b565,_0x37acfb]of _0x1b8782)_0x285b56[_0x5546('0x39')]({...ae,..._0x37acfb},_0x13b565);});});const _0x748b16=(_0x3b9d8e,_0xba3a2e)=>{_0xd2678[_0x5546('0x3b')]['registerCustomCallback'](_0x3b9d8e,_0x5546('0x8b'),_0xba3a2e,(_0x1dc26c,_0x59e339,_0xbbbb58)=>{_0x185eec[_0x5546('0x20')][_0x5546('0x7c')](_0x1a3530=>{const _0x13ded7=[];for(const _0x2a01e0 of _0x1dc26c){const _0xe8bd83=_0x2a01e0[_0x5546('0x64')]['nodeAfter'];_0xe8bd83['is'](_0x5546('0x53'),_0x5546('0x9e'))&&_0x13ded7['push'](_0xe8bd83);}_0xd2678['_suggestionFactory'][_0x5546('0x97')](_0x3b9d8e,null,_0xba3a2e)(_0x1dc26c,_0x59e339,_0xbbbb58);for(const _0x10a3ad of _0x13ded7)'$graveyard'!=_0x10a3ad[_0x5546('0x73')][_0x5546('0x60')]&&_0x1a3530[_0x5546('0xb')](_0x10a3ad);});});};_0x748b16(_0x5546('0x13'),_0x5546('0x4f')),_0x748b16('insertion',_0x5546('0x8a')),_0x748b16(_0x5546('0x3f'),_0x5546('0x4f')),_0x748b16(_0x5546('0x3f'),_0x5546('0x8a')),_0xd2678[_0x5546('0x3b')][_0x5546('0x6b')](_0x5546('0x13'),_0x5546('0x63'),_0x5546('0x8a'),_0x3260dc=>{const _0x4b7698=_0x3260dc[_0x5546('0x44')](_0x2c339d=>_0x2c339d['getContainedElement']()),_0x44397e=_0x4b7698[0x0]['findAncestor'](_0x5546('0xa4')),{minRow:_0x2dea36,maxRow:_0x40c699}=_0x25bc79[_0x5546('0x77')](_0x4b7698);_0x2bfa96[_0x5546('0x18')](_0x44397e,{'at':_0x2dea36,'rows':_0x40c699-_0x2dea36+0x1});}),_0xd2678['_suggestionFactory']['registerCustomCallback'](_0x5546('0x13'),_0x5546('0x22'),_0x5546('0x8a'),_0x4b4c80=>{const _0x294545=_0x4b4c80[_0x5546('0x44')](_0x199099=>_0x199099[_0x5546('0x48')]()),_0x10b11=_0x294545[0x0][_0x5546('0x5f')](_0x5546('0xa4')),{minColumn:_0x11481c,maxColumn:_0x5bbb27}=_0x25bc79[_0x5546('0x77')](_0x294545);_0x2bfa96[_0x5546('0x40')](_0x10b11,{'at':_0x11481c,'columns':_0x5bbb27-_0x11481c+0x1});});const _0x4738e4=(_0x5fb209,_0x57c4bb)=>{if(!_0x57c4bb[_0x5546('0x49')]||!_0x57c4bb[_0x5546('0x49')][_0x5546('0x2d')](_0x5546('0x8b')))return;const _0x295580=_0x57c4bb['attributes'][_0x5546('0x8e')],_0x3b6a60=_0xd2678[_0x5546('0x7d')]()['filter'](_0x51fd1d=>_0x51fd1d[_0x5546('0x7')]&&_0x51fd1d['attributes']&&_0x51fd1d[_0x5546('0x1b')][_0x5546('0x8e')]==_0x295580);_0x3b6a60[_0x5546('0x76')]&&_0x57c4bb[_0x5546('0x71')]()['length']!=_0x3b6a60['length']&&_0x3b6a60[_0x5546('0x3e')]((_0x29109c,_0x2d81e6)=>(_0x29109c['next']=_0x2d81e6,_0x2d81e6[_0x5546('0x87')]=_0x29109c,_0x2d81e6));};function _0x50ceeb(_0x44120a,_0x2add1d=!0x0){const {id:_0x36e8ea}=_0xd2678['_splitMarkerName'](_0x44120a[_0x5546('0x2a')]),_0x31e8e1=['ck-suggestion-marker',_0x5546('0x6e')],_0x3dfb9d=_0xd2678[_0x5546('0x74')][_0x5546('0x8')](_0x44120a[_0x5546('0x2a')]);return _0x3dfb9d&&_0x31e8e1[_0x5546('0x92')](_0x5546('0x41')),{'classes':_0x31e8e1,'attributes':{'data-suggestion':_0x36e8ea},'priority':_0x3dfb9d&&_0x2add1d?0xbc2:0xbb8};}_0xd2678['on'](_0x5546('0x65'),_0x4738e4,{'priority':_0x5546('0x9b')}),_0xd2678['on']('suggestionUnloaded',_0x4738e4,{'priority':_0x5546('0x9b')}),_0x185eec[_0x5546('0x20')]['document'][_0x5546('0x4c')](()=>{let _0x46f975=!0x1;const _0x29ad4e=Array[_0x5546('0x5e')](_0x185eec['model'][_0x5546('0x21')]['differ'][_0x5546('0x61')]());for(const {name:_0x12c190,data:_0x6083f3}of _0x29ad4e){const {group:_0x262720,type:_0x1286a5,id:_0x28a992}=_0xd2678[_0x5546('0x38')](_0x12c190);if(_0x5546('0x68')!=_0x262720||_0x5546('0x3f')!=_0x1286a5||_0x6083f3[_0x5546('0x57')])continue;if(!_0xd2678[_0x5546('0x5a')](_0x28a992))continue;const _0x263bff=_0xd2678[_0x5546('0x34')](_0x28a992)[_0x5546('0x94')](),_0x522102=_0x185eec[_0x5546('0x1c')][_0x5546('0x3')](_0x5546('0x52'))['me'];for(const _0x13962a of _0xd2678[_0x5546('0x7d')]()){if(!_0x13962a[_0x5546('0x7')]||_0x13962a['author']!=_0x522102)continue;if(_0x5546('0x6a')!=_0x13962a[_0x5546('0x30')]||_0x5546('0x9')!=_0x13962a[_0x5546('0x49')])continue;if(_0x13962a[_0x5546('0x94')]()['every'](_0x4f9dca=>_0x263bff[_0x5546('0x31')](_0x44dfeb=>_0x44dfeb[_0x5546('0x2f')](_0x4f9dca,!0x0))))for(const _0x4c45ae of _0x13962a['getAllAdjacentSuggestions']())_0x4c45ae['isInContent']&&(_0x4c45ae['discard'](),_0x46f975=!0x0);}}return _0x46f975;}),_0x185eec[_0x5546('0x20')][_0x5546('0x21')]['registerPostFixer'](_0x173016=>{const _0x511902=_0x185eec[_0x5546('0x69')][_0x5546('0x3')](_0x5546('0x4'));if(!_0x511902||!_0x511902[_0x5546('0x86')][_0x5546('0x6')](_0x173016[_0x5546('0x0')]))return!0x1;let _0x2fadfb=!0x1;const _0x5650b5=_0x185eec[_0x5546('0x1c')][_0x5546('0x3')](_0x5546('0x52'))['me'],_0x15067e=_0x185eec['model'][_0x5546('0x21')][_0x5546('0x83')][_0x5546('0x6c')](),_0x49c9f0=Array[_0x5546('0x5e')](_0x185eec[_0x5546('0x20')][_0x5546('0x21')][_0x5546('0x83')][_0x5546('0x61')]())[_0x5546('0x15')](({name:_0x5c41c1,data:_0x3caa6b})=>{const {group:_0x4cb8de,subType:_0x20184b,authorId:_0x5aaa16}=_0xd2678['_splitMarkerName'](_0x5c41c1);return'suggestion'==_0x4cb8de&&'tablePaste'==_0x20184b&&_0x5aaa16==_0x5650b5['id']&&!_0x3caa6b[_0x5546('0x57')];});for(const _0x2d0f92 of _0x15067e){if(_0x5546('0x36')!=_0x2d0f92['type']||_0x5546('0x9e')!=_0x2d0f92[_0x5546('0x11')]||0x1!=_0x2d0f92[_0x5546('0x76')])continue;const _0x3397b2=_0x173016[_0x5546('0x55')](_0x2d0f92[_0x5546('0x4b')],_0x2d0f92['position']['getShiftedBy'](0x1));if(!_0x49c9f0['find'](({data:_0x232ff8})=>_0x232ff8[_0x5546('0x29')]['isEqual'](_0x3397b2)))for(const {name:_0x1c4de8,data:_0x475541}of _0x49c9f0)if(_0x3397b2[_0x5546('0x2f')](_0x475541['newRange'])){_0x173016[_0x5546('0x66')](_0x1c4de8,{'range':_0x3397b2}),_0x2fadfb=!0x0;break;}}return _0x2fadfb;}),_0x185eec['model'][_0x5546('0x21')]['registerPostFixer'](_0x1f0b37=>{let _0x495d3d=!0x1;const _0x3f1943=_0x185eec['plugins'][_0x5546('0x3')](_0x5546('0x52'))['me'],_0x108edc=_0xd2678[_0x5546('0x7d')]()[_0x5546('0x15')](_0x5ef82b=>_0x5ef82b[_0x5546('0x7')]&&_0x5ef82b['author']==_0x3f1943),_0x4a3e9f=new Set(),_0x27b765=new Set();for(const _0x1edc6a of _0x108edc)if(_0x5546('0x8b')==_0x1edc6a[_0x5546('0x49')])for(const _0x5aa787 of _0x1edc6a[_0x5546('0x9a')]()){const _0x19a871=_0x5aa787[_0x5546('0x89')]()[_0x5546('0x48')]();if(_0x19a871){if(_0x19a871['is']('element',_0x5546('0x9e'))&&ce(_0x19a871)){_0x1edc6a['removeMarker'](_0x5aa787[_0x5546('0x11')]),_0x4a3e9f['add'](_0x19a871),_0x495d3d=!0x0;const _0x2d04f5=_0x19a871[_0x5546('0x24')],_0x218e8c=_0x19a871[_0x5546('0x7a')],_0x93dbf2=_0x2d04f5&&_0x2d04f5['is'](_0x5546('0x53'),_0x5546('0x9e')),_0x1df6f0=_0x218e8c&&_0x218e8c['is'](_0x5546('0x53'),'tableCellSuggestion');_0x93dbf2&&!_0x4a3e9f['has'](_0x2d04f5)&&_0x27b765[_0x5546('0x88')](_0x2d04f5),_0x1df6f0&&!_0x4a3e9f[_0x5546('0x6')](_0x218e8c)&&_0x27b765[_0x5546('0x88')](_0x218e8c);}else _0x19a871['is'](_0x5546('0x53'),_0x5546('0x2b'))&&_0x19a871[_0x5546('0x75')]&&(_0x1edc6a[_0x5546('0x51')](_0x5aa787[_0x5546('0x11')]),_0x495d3d=!0x0);}}else{if('tablePasteCell'==_0x1edc6a[_0x5546('0x49')]){if(!_0x1edc6a[_0x5546('0x1b')]||!_0x1edc6a[_0x5546('0x1b')][_0x5546('0x8e')])continue;const _0x44e31f=_0x1edc6a[_0x5546('0x1b')]['markerAttributes'];if(_0x44e31f&&Object[_0x5546('0x32')](_0x44e31f)['length'])continue;const _0x1b7c7f=_0x1edc6a[_0x5546('0x1b')][_0x5546('0x8e')];let _0x4df99d=!0x0,_0x120b65=!0x0;for(const _0x3fe081 of _0x108edc)if(_0x3fe081[_0x5546('0x49')]&&_0x3fe081['subType'][_0x5546('0x2d')](_0x5546('0x8b'))){if(!_0x3fe081[_0x5546('0x1b')][_0x5546('0x8e')]){_0x120b65=!0x1;break;}if(_0x3fe081['id']!=_0x1edc6a['id']&&_0x3fe081[_0x5546('0x1b')][_0x5546('0x8e')]==_0x1b7c7f){_0x4df99d=!0x1;break;}}_0x120b65&&_0x4df99d&&(_0x1edc6a[_0x5546('0x8d')](),_0x495d3d=!0x0);}}for(const _0x4e4f75 of _0x4a3e9f)_0x1f0b37[_0x5546('0xa3')](_0x4e4f75);for(const _0x3f8a17 of _0x27b765)_0x1f0b37[_0x5546('0xb')](_0x3f8a17);return _0x495d3d;}),_0x185eec[_0x5546('0x1d')][_0x5546('0xa5')](_0x5546('0xa2'))[_0x5546('0x5c')]({'model':_0x5546('0xe'),'view':(_0x11362c,_0xefa557)=>_0x50ceeb(_0x11362c),'converterPriority':_0x5546('0x9b')}),_0x185eec['conversion'][_0x5546('0xa5')](_0x5546('0x25'))['markerToHighlight']({'model':'suggestion:formatBlock:tablePasteCell','view':(_0x5a2bf3,_0xc30f16)=>_0xc30f16[_0x5546('0x4a')][_0x5546('0x5b')]?_0x50ceeb(_0x5a2bf3,!0x1):null,'converterPriority':_0x5546('0x9b')});const _0x25106b=_0x185eec[_0x5546('0x70')][_0x5546('0x6d')];this[_0x5546('0x98')](_0x25106b[_0x5546('0x21')],_0x5546('0xc'),(_0x5a72eb,_0x526f8a)=>{const _0x25ab68=[];for(const _0x3e5c05 of _0x25106b[_0x5546('0x59')](_0x526f8a['content'])[_0x5546('0x23')]())_0x3e5c05['is'](_0x5546('0x53'),_0x5546('0x27'))&&_0x25ab68[_0x5546('0x92')](_0x3e5c05);_0x25106b['change'](_0x39d1e1=>{for(const _0x15aab9 of _0x25ab68)_0x39d1e1[_0x5546('0x1e')](_0x39d1e1[_0x5546('0x59')](_0x15aab9),_0x39d1e1['createPositionBefore'](_0x15aab9)),_0x39d1e1[_0x5546('0xa3')](_0x15aab9);});});}}function ce(_0x30bc25){if(_0x30bc25['isEmpty'])return!0x0;const _0x1e160d=_0x30bc25[_0x5546('0x7f')](0x0);return _0x1e160d['is'](_0x5546('0x53'),_0x5546('0x2b'))&&_0x1e160d[_0x5546('0x75')];}function fe(_0x4744c2,_0x3f084e={},_0x30b385){for(const {isAnchor:_0x2d9879,cellHeight:_0x2fb656,cellWidth:_0x2b1174}of _0x30b385[_0x5546('0x67')](_0x4744c2,{'includeAllSlots':!0x0,..._0x3f084e}))if(!_0x2d9879||0x1!=_0x2fb656||0x1!=_0x2b1174)return!0x1;return!0x0;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3836=['plugins','columnWidths','resizeTable','get','Users','handleSuggestionDescription','_suggestionFactory','getContainedElement','formatGroupId','subType','getTableColumnsWidths','TrackChangesEditing','locale','TableColumnResizeEditing','getAttribute','registerCustomCallback','selection','*Format:*\x20resize\x20table','formatBlock','bind','_descriptionFactory','data','discard','table','model','change','commandParams','resizeColumnWidths','editor','resizeTableWidth','handleResizeTableWidthCommand','accept','tableWidth','getSelectedElement','enableCommand'];(function(_0x167f0c,_0x383660){const _0x2db146=function(_0x5e1325){while(--_0x5e1325){_0x167f0c['push'](_0x167f0c['shift']());}};_0x2db146(++_0x383660);}(_0x3836,0xc2));const _0x2db1=function(_0x167f0c,_0x383660){_0x167f0c=_0x167f0c-0x0;let _0x2db146=_0x3836[_0x167f0c];return _0x2db146;};import{Plugin as _0x5f0bb4}from'ckeditor5/src/core';import{getTranslation as _0x3a7b60}from'../utils/common-translations';export default class wt extends _0x5f0bb4{['afterInit'](){if(!this[_0x2db1('0x9')][_0x2db1('0x10')]['has']('TableColumnResizeEditing'))return;const _0x32ab85=this[_0x2db1('0x9')][_0x2db1('0x10')][_0x2db1('0x13')](_0x2db1('0x1b'));_0x32ab85[_0x2db1('0xf')]('resizeTableWidth',this[_0x2db1('0xb')]['bind'](this)),_0x32ab85[_0x2db1('0xf')](_0x2db1('0x8'),this[_0x2db1('0xb')][_0x2db1('0x0')](this)),_0x32ab85[_0x2db1('0x16')][_0x2db1('0x1f')](_0x2db1('0x22'),_0x2db1('0x12'),_0x2db1('0xc'),_0x32ab85[_0x2db1('0x16')]['getSuggestionCallback'](_0x2db1('0x22'),null,'discard')),_0x32ab85[_0x2db1('0x16')][_0x2db1('0x1f')](_0x2db1('0x22'),'resizeTable','discard',_0x32ab85[_0x2db1('0x16')]['getSuggestionCallback'](_0x2db1('0x22'),null,_0x2db1('0xc'))),_0x32ab85[_0x2db1('0x1')]['registerDescriptionCallback'](this[_0x2db1('0x15')][_0x2db1('0x0')](this));}['handleResizeTableWidthCommand'](_0xa65db7,_0x579753){const _0x1779ae=this['editor'][_0x2db1('0x10')][_0x2db1('0x13')]('TrackChangesEditing'),_0x52943e=this[_0x2db1('0x9')][_0x2db1('0x10')][_0x2db1('0x13')](_0x2db1('0x1d')),_0x18c782=_0x579753[_0x2db1('0x4')]||this[_0x2db1('0x9')][_0x2db1('0x5')]['document'][_0x2db1('0x20')][_0x2db1('0xe')]();this[_0x2db1('0x9')][_0x2db1('0x5')][_0x2db1('0x6')](()=>{const _0x3087bf=_0x52943e['getColumnGroupElement'](_0x18c782);let _0x4c7474=_0x3087bf?_0x52943e[_0x2db1('0x1a')](_0x3087bf):null,_0x54089c=_0x18c782[_0x2db1('0x1e')](_0x2db1('0xd'))||null;const _0x57a92d=_0x579753[_0x2db1('0xd')]||_0x54089c,_0x276c7f=_0x579753[_0x2db1('0x11')]||_0x4c7474,_0x3eaae9=this['editor']['plugins'][_0x2db1('0x13')](_0x2db1('0x14'))['me'];for(const _0x46d2f6 of _0x1779ae['getSuggestions']()){const _0x16e9fc=_0x46d2f6[_0x2db1('0x17')]();if(_0x2db1('0x12')===_0x46d2f6[_0x2db1('0x19')]&&_0x16e9fc===_0x18c782){_0x46d2f6['author']!==_0x3eaae9&&_0x46d2f6[_0x2db1('0x3')]();const _0x3f84cb=_0x46d2f6[_0x2db1('0x2')][_0x2db1('0x7')];_0x54089c=_0x3f84cb[0x0][_0x2db1('0xd')],_0x4c7474=_0x3f84cb[0x0][_0x2db1('0x11')];break;}}_0xa65db7({'table':_0x18c782,'tableWidth':_0x57a92d,'columnWidths':_0x276c7f}),_0x1779ae['markBlockFormat'](_0x18c782,{'commandName':_0x2db1('0xa'),'commandParams':[{'tableWidth':_0x54089c,'columnWidths':_0x4c7474}],'formatGroupId':_0x2db1('0x12')},[],_0x2db1('0x12'));});}['handleSuggestionDescription'](_0x350cfb){const {data:_0x3309e8}=_0x350cfb;if(_0x3309e8&&_0x2db1('0x12')===_0x3309e8[_0x2db1('0x18')]){const _0x354cb5=_0x2db1('0x21');return{'type':'format','content':_0x3a7b60(this['editor'][_0x2db1('0x1c')],_0x354cb5)};}}}
23
+ const _0x1954=['table','getColumnGroupElement','subType','model','tableWidth','plugins','columnWidths','handleResizeTableWidthCommand','_suggestionFactory','editor','_descriptionFactory','*Format:*\x20resize\x20table','resizeTable','getAttribute','selection','data','bind','registerDescriptionCallback','handleSuggestionDescription','registerCustomCallback','discard','getContainedElement','resizeTableWidth','format','formatBlock','has','getSuggestions','TableColumnResizeEditing','document','getSelectedElement','get','Users','resizeColumnWidths','enableCommand','TrackChangesEditing','markBlockFormat'];(function(_0x27df41,_0x195428){const _0x11bd57=function(_0x20c52f){while(--_0x20c52f){_0x27df41['push'](_0x27df41['shift']());}};_0x11bd57(++_0x195428);}(_0x1954,0x10b));const _0x11bd=function(_0x27df41,_0x195428){_0x27df41=_0x27df41-0x0;let _0x11bd57=_0x1954[_0x27df41];return _0x11bd57;};import{Plugin as _0x3f6a78}from'ckeditor5/src/core';import{getTranslation as _0x2de2c8}from'../utils/common-translations';export default class wt extends _0x3f6a78{['afterInit'](){if(!this[_0x11bd('0x1e')][_0x11bd('0x1a')][_0x11bd('0xa')](_0x11bd('0xc')))return;const _0x1abb2d=this[_0x11bd('0x1e')][_0x11bd('0x1a')][_0x11bd('0xf')](_0x11bd('0x13'));_0x1abb2d[_0x11bd('0x12')](_0x11bd('0x7'),this[_0x11bd('0x1c')]['bind'](this)),_0x1abb2d[_0x11bd('0x12')](_0x11bd('0x11'),this[_0x11bd('0x1c')]['bind'](this)),_0x1abb2d[_0x11bd('0x1d')][_0x11bd('0x4')](_0x11bd('0x9'),'resizeTable','accept',_0x1abb2d[_0x11bd('0x1d')]['getSuggestionCallback']('formatBlock',null,_0x11bd('0x5'))),_0x1abb2d[_0x11bd('0x1d')][_0x11bd('0x4')](_0x11bd('0x9'),_0x11bd('0x21'),_0x11bd('0x5'),_0x1abb2d['_suggestionFactory']['getSuggestionCallback'](_0x11bd('0x9'),null,'accept')),_0x1abb2d[_0x11bd('0x1f')][_0x11bd('0x2')](this[_0x11bd('0x3')][_0x11bd('0x1')](this));}[_0x11bd('0x1c')](_0xb46de,_0x3a72b6){const _0x275ea2=this[_0x11bd('0x1e')][_0x11bd('0x1a')]['get'](_0x11bd('0x13')),_0x10b8d8=this[_0x11bd('0x1e')]['plugins']['get']('TableColumnResizeEditing'),_0x33019e=_0x3a72b6[_0x11bd('0x15')]||this[_0x11bd('0x1e')][_0x11bd('0x18')][_0x11bd('0xd')][_0x11bd('0x23')][_0x11bd('0xe')]();this['editor'][_0x11bd('0x18')]['change'](()=>{const _0x24ba7a=_0x10b8d8[_0x11bd('0x16')](_0x33019e);let _0x449c36=_0x24ba7a?_0x10b8d8['getTableColumnsWidths'](_0x24ba7a):null,_0xca9d23=_0x33019e[_0x11bd('0x22')]('tableWidth')||null;const _0x4f3ff6=_0x3a72b6[_0x11bd('0x19')]||_0xca9d23,_0x472e88=_0x3a72b6[_0x11bd('0x1b')]||_0x449c36,_0x58bbca=this['editor'][_0x11bd('0x1a')][_0x11bd('0xf')](_0x11bd('0x10'))['me'];for(const _0xec0846 of _0x275ea2[_0x11bd('0xb')]()){const _0x4a8c48=_0xec0846[_0x11bd('0x6')]();if('resizeTable'===_0xec0846[_0x11bd('0x17')]&&_0x4a8c48===_0x33019e){_0xec0846['author']!==_0x58bbca&&_0xec0846[_0x11bd('0x5')]();const _0x268088=_0xec0846[_0x11bd('0x0')]['commandParams'];_0xca9d23=_0x268088[0x0]['tableWidth'],_0x449c36=_0x268088[0x0][_0x11bd('0x1b')];break;}}_0xb46de({'table':_0x33019e,'tableWidth':_0x4f3ff6,'columnWidths':_0x472e88}),_0x275ea2[_0x11bd('0x14')](_0x33019e,{'commandName':'resizeTableWidth','commandParams':[{'tableWidth':_0xca9d23,'columnWidths':_0x449c36}],'formatGroupId':_0x11bd('0x21')},[],_0x11bd('0x21'));});}[_0x11bd('0x3')](_0x5d97c8){const {data:_0x233b67}=_0x5d97c8;if(_0x233b67&&_0x11bd('0x21')===_0x233b67['formatGroupId']){const _0xe910ea=_0x11bd('0x20');return{'type':_0x11bd('0x8'),'content':_0x2de2c8(this[_0x11bd('0x1e')]['locale'],_0xe910ea)};}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x6672=['ck-suggestion-marker-','locale','data-suggestion','start','createPositionBefore','consume','has','markerRange','nodeBefore','markerName','TableEditing','FORMAT_REGULAR_ROW','registerDescriptionCallback','data','markerNameToElements','_suggestionFactory','editor','commandName','formatBlock','document','toViewElement','FORMAT_HEADER_COLUMN','getSuggestion','stop','model','nodeAfter','setTableColumnHeader','table','forceValue','getCellLocation','findAncestor','get','index','TableUtils','commandParams','parent','setTableRowHeader','afterInit','childCount','FORMAT_REGULAR_COLUMN','last','editing','activeMarkers','isBefore','TrackChangesEditing','getRowIndexes','change','value','markBlockFormat','selection','getChild','createRange','*Format:*\x20%0','end','headingRows','removeClass','plugins','cell','registerCustomCallback','addClass','getSelectionAffectedTableCells','options','addMarker:suggestion','removeAttribute','accept','highest','showSuggestionHighlights','headingColumns','setAttribute','name','getAttribute','createPositionAfter','createTableWalker','downcastDispatcher','_acceptFormatSuggestionCallbackFactory','mapper','writer','enableCommand','unbindElementFromMarkerName'];(function(_0x136454,_0x66728f){const _0x597470=function(_0x2d6a1e){while(--_0x2d6a1e){_0x136454['push'](_0x136454['shift']());}};_0x597470(++_0x66728f);}(_0x6672,0xb5));const _0x5974=function(_0x136454,_0x66728f){_0x136454=_0x136454-0x0;let _0x597470=_0x6672[_0x136454];return _0x597470;};import{Plugin as _0x419a5f}from'ckeditor5/src/core';import _0x59cc61 from'./table';import{getTranslation as _0x1d570c}from'../utils/common-translations';export default class pt extends _0x419a5f{static get['requires'](){return[_0x59cc61];}[_0x5974('0xe')](){const _0x286395=this[_0x5974('0x48')];if(!_0x286395[_0x5974('0x21')][_0x5974('0x3e')](_0x5974('0x42')))return;const _0x19753e=_0x286395[_0x5974('0x39')],_0x59ba61=_0x286395[_0x5974('0x21')]['get'](_0x5974('0x15')),_0x256893=_0x286395[_0x5974('0x21')][_0x5974('0x8')](_0x5974('0xa')),_0x2d4043=_0x286395[_0x5974('0x21')][_0x5974('0x8')](_0x59cc61);function _0xf5cd34({showActiveMarker:_0x206850=!0x0,setDataAttribute:_0x446f45=!0x0}={}){return(_0x517ba5,_0x4ebbf0,_0x117190)=>{const {type:_0x6dc98c,id:_0x4d3e61}=_0x59ba61['_splitMarkerName'](_0x4ebbf0[_0x5974('0x41')]),_0x4c60a8=_0x59ba61['getSuggestion'](_0x4d3e61);if(!_0x4c60a8[_0x5974('0x45')]||'setTableColumnHeader'!=_0x4c60a8[_0x5974('0x45')][_0x5974('0x49')])return;if(_0x4ebbf0['item'])return void _0x517ba5[_0x5974('0x0')]();if(!_0x117190['consumable'][_0x5974('0x3d')](_0x4ebbf0[_0x5974('0x3f')],_0x517ba5[_0x5974('0x2e')]))return;const _0x3d4b1a=_0x4ebbf0[_0x5974('0x3f')][_0x5974('0x3b')][_0x5974('0x2')],_0xcc7870=_0x4ebbf0[_0x5974('0x3f')][_0x5974('0x1e')][_0x5974('0x40')],_0x563bc9=_0x3d4b1a[_0x5974('0xc')][_0x5974('0xc')],{column:_0x806a6}=_0x256893[_0x5974('0x6')](_0x3d4b1a),{column:_0x39be36}=_0x256893[_0x5974('0x6')](_0xcc7870);for(let _0x1deee7=_0x806a6;_0x1deee7<=_0x39be36;_0x1deee7++){const _0x5a4dfc=_0x256893[_0x5974('0x31')](_0x563bc9,{'column':_0x1deee7,'includeAllSlots':!0x1});for(const _0x58b9f of _0x5a4dfc){const _0x147357=_0x58b9f[_0x5974('0x22')],_0x11fb31=_0x117190[_0x5974('0x34')][_0x5974('0x4c')](_0x147357);_0x117190['writer']['addClass']('ck-suggestion-marker-'+_0x6dc98c,_0x11fb31),_0x446f45&&_0x117190[_0x5974('0x35')][_0x5974('0x2d')](_0x5974('0x3a'),_0x4d3e61,_0x11fb31),_0x117190[_0x5974('0x34')]['bindElementToMarker'](_0x11fb31,_0x4ebbf0['markerName']),_0x206850&&(_0x59ba61[_0x5974('0x13')]['includes'](_0x4ebbf0[_0x5974('0x41')])?_0x117190[_0x5974('0x35')][_0x5974('0x24')]('ck-suggestion-marker--active',_0x11fb31):_0x117190[_0x5974('0x35')][_0x5974('0x20')]('ck-suggestion-marker--active',_0x11fb31));}}};}_0x59ba61[_0x5974('0x36')](_0x5974('0xd'),(_0x4d9a2a,_0x3dbb31)=>{const _0x5146c8=_0x256893[_0x5974('0x25')](_0x286395[_0x5974('0x1')][_0x5974('0x4b')][_0x5974('0x1a')]),_0x762510=_0x256893[_0x5974('0x16')](_0x5146c8),_0x1d03ed=_0x5146c8[0x0][_0x5974('0x7')](_0x5974('0x4')),_0x3fbcaa=_0x1d03ed[_0x5974('0x2f')](_0x5974('0x1f'))||0x0,_0x5d3f0d=_0x3dbb31&&null!==_0x3dbb31[_0x5974('0x5')]?_0x3dbb31[_0x5974('0x5')]:!_0x286395['commands'][_0x5974('0x8')]('setTableRowHeader')[_0x5974('0x18')],_0x32978d=_0x5d3f0d?_0x762510[_0x5974('0x11')]:_0x762510['first'],_0x4db051=_0x1d03ed[_0x5974('0x1b')](_0x32978d);let _0x584a09;if(_0x5d3f0d){const _0x1404cb=_0x1d03ed['getChild'](_0x3fbcaa);if(_0x4db051[_0x5974('0x9')]<_0x1404cb['index'])return;_0x584a09=_0x286395['model'][_0x5974('0x1c')](_0x286395[_0x5974('0x1')][_0x5974('0x3c')](_0x1404cb[_0x5974('0x1b')](0x0)),_0x286395[_0x5974('0x1')][_0x5974('0x30')](_0x4db051['getChild'](_0x4db051[_0x5974('0xf')]-0x1)));}else{const _0x3a295d=_0x1d03ed[_0x5974('0x1b')](_0x3fbcaa-0x1);if(!_0x3a295d)return;_0x584a09=_0x286395[_0x5974('0x1')]['createRange'](_0x286395[_0x5974('0x1')][_0x5974('0x3c')](_0x4db051['getChild'](0x0)),_0x286395[_0x5974('0x1')][_0x5974('0x30')](_0x3a295d[_0x5974('0x1b')](_0x3a295d[_0x5974('0xf')]-0x1)));}_0x286395[_0x5974('0x1')]['change'](()=>{_0x59ba61[_0x5974('0x19')](_0x584a09,{'commandName':'setTableRowHeader','commandParams':[{'forceValue':_0x5d3f0d}]},[],_0x5974('0xd'));});}),_0x59ba61[_0x5974('0x36')](_0x5974('0x3'),(_0x256f93,_0x47b378)=>{const _0x280bbf=_0x286395[_0x5974('0x21')][_0x5974('0x8')](_0x5974('0xa')),_0xf0fbb=_0x280bbf[_0x5974('0x25')](_0x286395[_0x5974('0x1')]['document'][_0x5974('0x1a')]),_0x579517=_0x280bbf['getColumnIndexes'](_0xf0fbb),_0x93dc9a=_0xf0fbb[0x0][_0x5974('0x7')]('table'),_0x402233=_0x93dc9a[_0x5974('0x2f')](_0x5974('0x2c'))||0x0,_0x42c395=_0x47b378&&null!==_0x47b378[_0x5974('0x5')]?_0x47b378[_0x5974('0x5')]:!_0x286395['commands'][_0x5974('0x8')]('setTableColumnHeader')[_0x5974('0x18')];let _0xe956e9;const _0x26e871=_0x93dc9a[_0x5974('0x1b')](0x0),_0x3e96b8=_0x42c395?_0x579517[_0x5974('0x11')]:_0x579517['first'],_0xd3bdc5=_0x280bbf[_0x5974('0x31')](_0x93dc9a,{'startRow':0x0,'column':_0x3e96b8,'includeAllSlots':!0x1}),_0x21d16b=Array['from'](_0xd3bdc5)[0x0]['cell'];if(_0x42c395){const _0x585d72=_0x26e871[_0x5974('0x1b')](_0x402233);if(_0x21d16b[_0x5974('0x14')](_0x585d72))return;_0xe956e9=_0x286395[_0x5974('0x1')][_0x5974('0x1c')](_0x286395[_0x5974('0x1')][_0x5974('0x3c')](_0x585d72),_0x286395['model'][_0x5974('0x30')](_0x21d16b));}else{const _0x4d9322=_0x26e871[_0x5974('0x1b')](_0x402233-0x1);if(!_0x4d9322)return;_0xe956e9=_0x286395[_0x5974('0x1')][_0x5974('0x1c')](_0x286395['model']['createPositionBefore'](_0x21d16b),_0x286395[_0x5974('0x1')][_0x5974('0x30')](_0x4d9322));}_0x286395[_0x5974('0x1')][_0x5974('0x17')](()=>{_0x59ba61[_0x5974('0x19')](_0xe956e9,{'commandName':'setTableColumnHeader','commandParams':[{'forceValue':_0x42c395}]},[],'setTableColumnHeader');});}),_0x286395[_0x5974('0x12')][_0x5974('0x32')]['on'](_0x5974('0x27'),_0xf5cd34(),{'priority':'highest'}),_0x286395[_0x5974('0x45')][_0x5974('0x32')]['on'](_0x5974('0x27'),(_0x1e4fa4,_0x5f0b9b,_0x382279)=>{_0x382279[_0x5974('0x26')][_0x5974('0x2b')]&&_0xf5cd34({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x1e4fa4,_0x5f0b9b,_0x382279);},{'priority':'highest'}),_0x286395[_0x5974('0x12')]['downcastDispatcher']['on']('removeMarker:suggestion',(_0x4e8678,_0x51a868,_0x3c4df7)=>{const {type:_0x21dea6,id:_0x4b168c}=_0x59ba61['_splitMarkerName'](_0x51a868[_0x5974('0x41')]),_0xe75909=_0x59ba61[_0x5974('0x4e')](_0x4b168c);if(!_0xe75909[_0x5974('0x45')]||_0x5974('0x3')!=_0xe75909['data'][_0x5974('0x49')])return;const _0x51a278=_0x3c4df7[_0x5974('0x34')][_0x5974('0x46')](_0x51a868[_0x5974('0x41')]);if(_0x51a278)for(const _0x353d9b of _0x51a278)_0x3c4df7[_0x5974('0x35')][_0x5974('0x20')](_0x5974('0x38')+_0x21dea6,_0x353d9b),_0x3c4df7[_0x5974('0x35')][_0x5974('0x20')]('ck-suggestion-marker--active',_0x353d9b),_0x3c4df7[_0x5974('0x35')][_0x5974('0x28')](_0x5974('0x3a'),_0x353d9b),_0x3c4df7[_0x5974('0x34')][_0x5974('0x37')](_0x353d9b,_0x51a868[_0x5974('0x41')]);},{'priority':_0x5974('0x2a')}),_0x59ba61['_descriptionFactory'][_0x5974('0x44')](_0x6f891f=>{const {data:_0x3023e7}=_0x6f891f;if(_0x3023e7){if(_0x5974('0xd')==_0x3023e7[_0x5974('0x49')]){const _0x4c1f85=_0x3023e7[_0x5974('0xb')][0x0][_0x5974('0x5')];return _0x6a65b2(_0x1d570c(_0x19753e,_0x4c1f85?'FORMAT_HEADER_ROW':_0x5974('0x43')));}if('setTableColumnHeader'==_0x3023e7[_0x5974('0x49')]){const _0x5023d3=_0x3023e7['commandParams'][0x0][_0x5974('0x5')];return _0x6a65b2(_0x1d570c(_0x19753e,_0x5023d3?_0x5974('0x4d'):_0x5974('0x10')));}}function _0x6a65b2(_0x46181f){return{'type':'format','content':_0x1d570c(_0x19753e,_0x5974('0x1d'),_0x46181f)};}});const _0x189b00=_0x2d4043[_0x5974('0x33')]();_0x59ba61[_0x5974('0x47')][_0x5974('0x23')](_0x5974('0x4a'),_0x5974('0xd'),_0x5974('0x29'),_0x189b00),_0x59ba61['_suggestionFactory'][_0x5974('0x23')](_0x5974('0x4a'),_0x5974('0x3'),_0x5974('0x29'),_0x189b00);}}
23
+ const _0x5565=['getSuggestion','mapper','getAttribute','selection','setTableRowHeader','formatBlock','afterInit','nodeBefore','activeMarkers','includes','writer','commandParams','headingColumns','plugins','createPositionAfter','get','cell','document','_splitMarkerName','from','registerCustomCallback','getColumnIndexes','showSuggestionHighlights','_suggestionFactory','_acceptFormatSuggestionCallbackFactory','markBlockFormat','setTableColumnHeader','getChild','editing','data-suggestion','start','parent','isBefore','_descriptionFactory','getCellLocation','*Format:*\x20%0','headingRows','model','change','format','FORMAT_REGULAR_COLUMN','registerDescriptionCallback','addClass','markerRange','childCount','createPositionBefore','item','removeMarker:suggestion','commands','value','enableCommand','first','removeAttribute','forceValue','FORMAT_HEADER_ROW','highest','setAttribute','commandName','ck-suggestion-marker-','FORMAT_HEADER_COLUMN','removeClass','table','createTableWalker','addMarker:suggestion','unbindElementFromMarkerName','createRange','TableUtils','downcastDispatcher','findAncestor','getSelectionAffectedTableCells','accept','data','ck-suggestion-marker--active','last','markerName','consumable','consume','options','index'];(function(_0x35315c,_0x556566){const _0x39fb33=function(_0x36fa71){while(--_0x36fa71){_0x35315c['push'](_0x35315c['shift']());}};_0x39fb33(++_0x556566);}(_0x5565,0x71));const _0x39fb=function(_0x35315c,_0x556566){_0x35315c=_0x35315c-0x0;let _0x39fb33=_0x5565[_0x35315c];return _0x39fb33;};import{Plugin as _0x373530}from'ckeditor5/src/core';import _0x4560ac from'./table';import{getTranslation as _0x332f53}from'../utils/common-translations';export default class pt extends _0x373530{static get['requires'](){return[_0x4560ac];}[_0x39fb('0x33')](){const _0x3ec982=this['editor'];if(!_0x3ec982[_0x39fb('0x3a')]['has']('TableEditing'))return;const _0x2aaef5=_0x3ec982['locale'],_0x3f69e4=_0x3ec982[_0x39fb('0x3a')][_0x39fb('0x3c')]('TrackChangesEditing'),_0x25c1ae=_0x3ec982[_0x39fb('0x3a')]['get'](_0x39fb('0x20')),_0x1cdd8a=_0x3ec982[_0x39fb('0x3a')][_0x39fb('0x3c')](_0x4560ac);function _0xd86692({showActiveMarker:_0x2e943d=!0x0,setDataAttribute:_0x3d5f9a=!0x0}={}){return(_0x572283,_0x4149d3,_0x5e624a)=>{const {type:_0x4bb71e,id:_0x4cf71d}=_0x3f69e4['_splitMarkerName'](_0x4149d3[_0x39fb('0x28')]),_0x56da91=_0x3f69e4[_0x39fb('0x2d')](_0x4cf71d);if(!_0x56da91[_0x39fb('0x25')]||'setTableColumnHeader'!=_0x56da91['data'][_0x39fb('0x17')])return;if(_0x4149d3[_0x39fb('0xc')])return void _0x572283['stop']();if(!_0x5e624a[_0x39fb('0x29')][_0x39fb('0x2a')](_0x4149d3[_0x39fb('0x9')],_0x572283['name']))return;const _0x208f9d=_0x4149d3[_0x39fb('0x9')][_0x39fb('0x4b')]['nodeAfter'],_0x401b02=_0x4149d3[_0x39fb('0x9')]['end'][_0x39fb('0x34')],_0x6a2413=_0x208f9d[_0x39fb('0x4c')][_0x39fb('0x4c')],{column:_0x22ac3d}=_0x25c1ae[_0x39fb('0x0')](_0x208f9d),{column:_0x161ffc}=_0x25c1ae[_0x39fb('0x0')](_0x401b02);for(let _0x5ce643=_0x22ac3d;_0x5ce643<=_0x161ffc;_0x5ce643++){const _0x3b71f9=_0x25c1ae[_0x39fb('0x1c')](_0x6a2413,{'column':_0x5ce643,'includeAllSlots':!0x1});for(const _0x2ce4d3 of _0x3b71f9){const _0xa3f322=_0x2ce4d3['cell'],_0x4f3a55=_0x5e624a[_0x39fb('0x2e')]['toViewElement'](_0xa3f322);_0x5e624a[_0x39fb('0x37')][_0x39fb('0x8')]('ck-suggestion-marker-'+_0x4bb71e,_0x4f3a55),_0x3d5f9a&&_0x5e624a[_0x39fb('0x37')][_0x39fb('0x16')](_0x39fb('0x4a'),_0x4cf71d,_0x4f3a55),_0x5e624a['mapper']['bindElementToMarker'](_0x4f3a55,_0x4149d3[_0x39fb('0x28')]),_0x2e943d&&(_0x3f69e4[_0x39fb('0x35')][_0x39fb('0x36')](_0x4149d3['markerName'])?_0x5e624a[_0x39fb('0x37')][_0x39fb('0x8')](_0x39fb('0x26'),_0x4f3a55):_0x5e624a[_0x39fb('0x37')][_0x39fb('0x1a')](_0x39fb('0x26'),_0x4f3a55));}}};}_0x3f69e4[_0x39fb('0x10')](_0x39fb('0x31'),(_0x24e7a6,_0x17bf07)=>{const _0x13c2ca=_0x25c1ae[_0x39fb('0x23')](_0x3ec982[_0x39fb('0x3')][_0x39fb('0x3e')][_0x39fb('0x30')]),_0x306051=_0x25c1ae['getRowIndexes'](_0x13c2ca),_0x465f67=_0x13c2ca[0x0][_0x39fb('0x22')](_0x39fb('0x1b')),_0x416762=_0x465f67['getAttribute'](_0x39fb('0x2'))||0x0,_0x13ea36=_0x17bf07&&null!==_0x17bf07[_0x39fb('0x13')]?_0x17bf07[_0x39fb('0x13')]:!_0x3ec982[_0x39fb('0xe')][_0x39fb('0x3c')](_0x39fb('0x31'))[_0x39fb('0xf')],_0x1dff48=_0x13ea36?_0x306051['last']:_0x306051[_0x39fb('0x11')],_0x1459ac=_0x465f67[_0x39fb('0x48')](_0x1dff48);let _0x47c796;if(_0x13ea36){const _0x31377a=_0x465f67[_0x39fb('0x48')](_0x416762);if(_0x1459ac[_0x39fb('0x2c')]<_0x31377a[_0x39fb('0x2c')])return;_0x47c796=_0x3ec982[_0x39fb('0x3')][_0x39fb('0x1f')](_0x3ec982['model'][_0x39fb('0xb')](_0x31377a['getChild'](0x0)),_0x3ec982[_0x39fb('0x3')]['createPositionAfter'](_0x1459ac[_0x39fb('0x48')](_0x1459ac['childCount']-0x1)));}else{const _0x27e152=_0x465f67['getChild'](_0x416762-0x1);if(!_0x27e152)return;_0x47c796=_0x3ec982['model']['createRange'](_0x3ec982[_0x39fb('0x3')][_0x39fb('0xb')](_0x1459ac[_0x39fb('0x48')](0x0)),_0x3ec982[_0x39fb('0x3')][_0x39fb('0x3b')](_0x27e152[_0x39fb('0x48')](_0x27e152[_0x39fb('0xa')]-0x1)));}_0x3ec982[_0x39fb('0x3')][_0x39fb('0x4')](()=>{_0x3f69e4[_0x39fb('0x46')](_0x47c796,{'commandName':_0x39fb('0x31'),'commandParams':[{'forceValue':_0x13ea36}]},[],_0x39fb('0x31'));});}),_0x3f69e4[_0x39fb('0x10')](_0x39fb('0x47'),(_0x3f332d,_0x7676f1)=>{const _0x44c73b=_0x3ec982[_0x39fb('0x3a')][_0x39fb('0x3c')](_0x39fb('0x20')),_0x29f71b=_0x44c73b['getSelectionAffectedTableCells'](_0x3ec982[_0x39fb('0x3')]['document'][_0x39fb('0x30')]),_0x2b531d=_0x44c73b[_0x39fb('0x42')](_0x29f71b),_0x573c91=_0x29f71b[0x0]['findAncestor']('table'),_0x33f905=_0x573c91[_0x39fb('0x2f')](_0x39fb('0x39'))||0x0,_0x42bf7f=_0x7676f1&&null!==_0x7676f1[_0x39fb('0x13')]?_0x7676f1[_0x39fb('0x13')]:!_0x3ec982[_0x39fb('0xe')][_0x39fb('0x3c')](_0x39fb('0x47'))[_0x39fb('0xf')];let _0x13ba10;const _0x49128c=_0x573c91[_0x39fb('0x48')](0x0),_0x1c40e5=_0x42bf7f?_0x2b531d[_0x39fb('0x27')]:_0x2b531d['first'],_0x99f0b2=_0x44c73b[_0x39fb('0x1c')](_0x573c91,{'startRow':0x0,'column':_0x1c40e5,'includeAllSlots':!0x1}),_0x43bb69=Array[_0x39fb('0x40')](_0x99f0b2)[0x0][_0x39fb('0x3d')];if(_0x42bf7f){const _0x2c9a91=_0x49128c[_0x39fb('0x48')](_0x33f905);if(_0x43bb69[_0x39fb('0x4d')](_0x2c9a91))return;_0x13ba10=_0x3ec982[_0x39fb('0x3')]['createRange'](_0x3ec982[_0x39fb('0x3')][_0x39fb('0xb')](_0x2c9a91),_0x3ec982[_0x39fb('0x3')]['createPositionAfter'](_0x43bb69));}else{const _0x28d526=_0x49128c[_0x39fb('0x48')](_0x33f905-0x1);if(!_0x28d526)return;_0x13ba10=_0x3ec982[_0x39fb('0x3')]['createRange'](_0x3ec982[_0x39fb('0x3')]['createPositionBefore'](_0x43bb69),_0x3ec982['model'][_0x39fb('0x3b')](_0x28d526));}_0x3ec982[_0x39fb('0x3')][_0x39fb('0x4')](()=>{_0x3f69e4['markBlockFormat'](_0x13ba10,{'commandName':_0x39fb('0x47'),'commandParams':[{'forceValue':_0x42bf7f}]},[],_0x39fb('0x47'));});}),_0x3ec982[_0x39fb('0x49')][_0x39fb('0x21')]['on']('addMarker:suggestion',_0xd86692(),{'priority':_0x39fb('0x15')}),_0x3ec982[_0x39fb('0x25')][_0x39fb('0x21')]['on'](_0x39fb('0x1d'),(_0x1b8d3e,_0x5de25f,_0x157cf3)=>{_0x157cf3[_0x39fb('0x2b')][_0x39fb('0x43')]&&_0xd86692({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x1b8d3e,_0x5de25f,_0x157cf3);},{'priority':_0x39fb('0x15')}),_0x3ec982['editing']['downcastDispatcher']['on'](_0x39fb('0xd'),(_0x12b7b8,_0x1645e8,_0x37b4ba)=>{const {type:_0x4850e7,id:_0x3157b7}=_0x3f69e4[_0x39fb('0x3f')](_0x1645e8[_0x39fb('0x28')]),_0x1461d2=_0x3f69e4[_0x39fb('0x2d')](_0x3157b7);if(!_0x1461d2[_0x39fb('0x25')]||_0x39fb('0x47')!=_0x1461d2[_0x39fb('0x25')][_0x39fb('0x17')])return;const _0x214f58=_0x37b4ba[_0x39fb('0x2e')]['markerNameToElements'](_0x1645e8[_0x39fb('0x28')]);if(_0x214f58)for(const _0x2a0c13 of _0x214f58)_0x37b4ba[_0x39fb('0x37')][_0x39fb('0x1a')](_0x39fb('0x18')+_0x4850e7,_0x2a0c13),_0x37b4ba[_0x39fb('0x37')][_0x39fb('0x1a')](_0x39fb('0x26'),_0x2a0c13),_0x37b4ba['writer'][_0x39fb('0x12')]('data-suggestion',_0x2a0c13),_0x37b4ba[_0x39fb('0x2e')][_0x39fb('0x1e')](_0x2a0c13,_0x1645e8[_0x39fb('0x28')]);},{'priority':_0x39fb('0x15')}),_0x3f69e4[_0x39fb('0x4e')][_0x39fb('0x7')](_0x53ea05=>{const {data:_0x3820ee}=_0x53ea05;if(_0x3820ee){if(_0x39fb('0x31')==_0x3820ee[_0x39fb('0x17')]){const _0x1d3731=_0x3820ee[_0x39fb('0x38')][0x0][_0x39fb('0x13')];return _0x1a3ddd(_0x332f53(_0x2aaef5,_0x1d3731?_0x39fb('0x14'):'FORMAT_REGULAR_ROW'));}if(_0x39fb('0x47')==_0x3820ee['commandName']){const _0x4470fb=_0x3820ee[_0x39fb('0x38')][0x0][_0x39fb('0x13')];return _0x1a3ddd(_0x332f53(_0x2aaef5,_0x4470fb?_0x39fb('0x19'):_0x39fb('0x6')));}}function _0x1a3ddd(_0x136021){return{'type':_0x39fb('0x5'),'content':_0x332f53(_0x2aaef5,_0x39fb('0x1'),_0x136021)};}});const _0x25e9fa=_0x1cdd8a[_0x39fb('0x45')]();_0x3f69e4[_0x39fb('0x44')][_0x39fb('0x41')]('formatBlock',_0x39fb('0x31'),'accept',_0x25e9fa),_0x3f69e4[_0x39fb('0x44')]['registerCustomCallback'](_0x39fb('0x32'),_0x39fb('0x47'),_0x39fb('0x24'),_0x25e9fa);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x27b7=['_suggestionFactory','push','length','createRangeOn','trackChanges','registerDescriptionCallback','setSelection','low','accept','highest','TrackChangesEditing','commandName','element','afterInit','size','execute','*Split\x20cell:*\x20horizontally','selection','mergeTableCellRight','change','_tablePostFixingSubtypes','document','insertion','formatBlock','set:isEnabled','getAncestors','getSelectionAffectedTableCells','registerCustomCallback','mergeTableCellDown','requires','cell','$graveyard','forceDefaultExecution','return','has','mergeTableCells','mergeTableCellUp','refresh','format','enableCommand','fromRange','_areSelectedCellsMergable','createTableWalker','detach','add','_isForcedDefaultExecutionBlock','tableCell','plugins','root','from','getSuggestions','findAncestor','mergeTableCellLeft','stop','splitTableCellHorizontally','get','_areMergableCells','*Split\x20cell:*\x20vertically','containsRange','rootName','getFirstPosition','type','_descriptionFactory','isEnabled','find','deletion','markBlockFormat','TableUtils','commands','splitTableCellVertically','getCellLocation','_acceptFormatSuggestionCallbackFactory','getRanges','direction','horizontally','value','model','author','table','editor','locale','filter','map'];(function(_0x2c4bce,_0x27b70c){const _0x2e1be4=function(_0x44d47e){while(--_0x44d47e){_0x2c4bce['push'](_0x2c4bce['shift']());}};_0x2e1be4(++_0x27b70c);}(_0x27b7,0x11e));const _0x2e1b=function(_0x2c4bce,_0x27b70c){_0x2c4bce=_0x2c4bce-0x0;let _0x2e1be4=_0x27b7[_0x2c4bce];return _0x2e1be4;};import{Plugin as _0x13d5a1}from'ckeditor5/src/core';import _0x359feb from'./table';import{LiveRange as _0x7c9dc5}from'ckeditor5/src/engine';import{getTranslation as _0x40a93d}from'../utils/common-translations';export default class dt extends _0x13d5a1{static get[_0x2e1b('0x4b')](){return[_0x359feb];}[_0x2e1b('0x3b')](){const _0x59600b=this[_0x2e1b('0x2a')],_0x37327f=_0x59600b[_0x2e1b('0x27')][_0x2e1b('0x43')][_0x2e1b('0x3f')],_0x56ed64=_0x59600b[_0x2e1b('0x2b')];if(!_0x59600b[_0x2e1b('0xa')][_0x2e1b('0x50')]('TableEditing'))return;const _0x190945=_0x59600b[_0x2e1b('0xa')][_0x2e1b('0x12')](_0x2e1b('0x38')),_0x16c981=_0x59600b['plugins'][_0x2e1b('0x12')]('TableUtils'),_0x11e821=_0x59600b[_0x2e1b('0xa')][_0x2e1b('0x12')](_0x359feb);_0x11e821[_0x2e1b('0x42')][_0x2e1b('0x2f')]('mergeTableCells'),_0x190945[_0x2e1b('0x2')](_0x2e1b('0x51'),()=>{const _0x314ec9=_0x16c981[_0x2e1b('0x48')](_0x59600b[_0x2e1b('0x27')]['document']['selection']);_0x59600b[_0x2e1b('0x27')]['change'](()=>{_0x190945['markMultiRangeBlockFormat'](_0x314ec9,{'commandName':_0x2e1b('0x51'),'commandParams':[]},[],_0x2e1b('0x51'));});}),_0x59600b[_0x2e1b('0x1f')][_0x2e1b('0x12')]('mergeTableCells')['on'](_0x2e1b('0x3d'),(_0x54d7d3,_0x4a80d0)=>{_0x59600b['commands'][_0x2e1b('0x12')](_0x2e1b('0x32'))[_0x2e1b('0x26')]&&(_0x4a80d0[_0x2e1b('0x30')]>0x0&&_0x4a80d0[_0x4a80d0['length']-0x1]&&_0x4a80d0[_0x4a80d0['length']-0x1][_0x2e1b('0x4e')]||_0x190945[_0x2e1b('0x8')]||this['_areSelectedCellsMergable']()||_0x54d7d3[_0x2e1b('0x10')]());},{'priority':_0x2e1b('0x37')});for(const _0xc3b865 of[_0x2e1b('0x52'),_0x2e1b('0x40'),'mergeTableCellDown','mergeTableCellLeft']){const _0x3aa062=_0x59600b[_0x2e1b('0x1f')]['get'](_0xc3b865);_0x190945[_0x2e1b('0x2')](_0xc3b865,()=>{const _0x4ddb0b=_0x59600b['model'][_0x2e1b('0x43')][_0x2e1b('0x3f')]['getFirstPosition']()[_0x2e1b('0x47')]()[_0x2e1b('0x1b')](_0x4501ab=>_0x4501ab['is'](_0x2e1b('0x3a'),_0x2e1b('0x9'))),_0x19ed0a=_0x3aa062[_0x2e1b('0x26')];_0x59600b['model'][_0x2e1b('0x41')](()=>{_0x190945['markMultiRangeBlockFormat']([_0x4ddb0b,_0x19ed0a],{'commandName':'mergeTableCells','commandParams':[]},[],_0x2e1b('0x51'));});});}for(const _0x1c2a8f of[_0x2e1b('0x20'),_0x2e1b('0x11')]){const _0x4927b0=_0x59600b[_0x2e1b('0x1f')]['get'](_0x1c2a8f);_0x190945[_0x2e1b('0x2')](_0x1c2a8f,()=>{const _0x5272c6=_0x16c981['getSelectionAffectedTableCells'](_0x59600b[_0x2e1b('0x27')]['document'][_0x2e1b('0x3f')])[0x0],_0x21ff8c=_0x5272c6[_0x2e1b('0xe')](_0x2e1b('0x29')),{column:_0x2642bc,row:_0x1a1038}=_0x16c981[_0x2e1b('0x21')](_0x5272c6);let _0x294fe5=[];if(_0x2e1b('0x25')==_0x4927b0[_0x2e1b('0x24')]){const _0x44cdfb=_0x16c981[_0x2e1b('0x5')](_0x21ff8c,{'startRow':_0x1a1038,'endRow':_0x1a1038,'includeAllSlots':!0x0});_0x294fe5=Array[_0x2e1b('0xc')](_0x44cdfb)[_0x2e1b('0x2d')](_0xbfd74f=>_0xbfd74f['cell']);}else{const _0x3155f9=_0x16c981[_0x2e1b('0x5')](_0x21ff8c,{'column':_0x2642bc,'includeAllSlots':!0x0});_0x294fe5=Array[_0x2e1b('0xc')](_0x3155f9)[_0x2e1b('0x2d')](_0x47612a=>_0x47612a[_0x2e1b('0x4c')]);}_0x59600b['model']['change'](_0x3e369d=>{_0x190945[_0x2e1b('0x1d')](_0x3e369d[_0x2e1b('0x31')](_0x5272c6),{'commandName':_0x1c2a8f,'commandParams':[]},_0x294fe5,_0x1c2a8f);});});}_0x190945['_descriptionFactory'][_0x2e1b('0x33')](_0x264214=>{const {data:_0x5c3d86}=_0x264214;if(_0x5c3d86)return'mergeTableCells'==_0x5c3d86[_0x2e1b('0x39')]?{'type':_0x2e1b('0x1'),'content':_0x40a93d(_0x56ed64,'*Merge\x20cells*')}:void 0x0;}),_0x190945[_0x2e1b('0x19')][_0x2e1b('0x33')](_0x1fbdd1=>{const {data:_0x2a8398}=_0x1fbdd1;if(_0x2a8398)return _0x2e1b('0x20')==_0x2a8398[_0x2e1b('0x39')]?{'type':_0x2e1b('0x1'),'content':_0x40a93d(_0x56ed64,_0x2e1b('0x14'))}:_0x2e1b('0x11')==_0x2a8398[_0x2e1b('0x39')]?{'type':'format','content':_0x40a93d(_0x56ed64,_0x2e1b('0x3e'))}:void 0x0;});const _0x3281a6=_0x11e821[_0x2e1b('0x22')]();for(const _0xfb1ceb of[_0x2e1b('0x52'),_0x2e1b('0x40'),_0x2e1b('0x4a'),'mergeTableCellLeft'])_0x190945[_0x2e1b('0x2e')]['registerCustomCallback'](_0x2e1b('0x45'),_0xfb1ceb,_0x2e1b('0x36'),_0x3281a6);for(const _0xab41fa of[_0x2e1b('0x20'),_0x2e1b('0x11')])_0x190945['_suggestionFactory'][_0x2e1b('0x49')](_0x2e1b('0x45'),_0xab41fa,_0x2e1b('0x36'),_0x3281a6);_0x190945[_0x2e1b('0x2e')][_0x2e1b('0x49')](_0x2e1b('0x45'),_0x2e1b('0x51'),'accept',_0x55c572=>{_0x59600b[_0x2e1b('0x27')][_0x2e1b('0x41')](_0x319d70=>{const _0x5c3446=Array[_0x2e1b('0xc')](_0x37327f['getRanges']())[_0x2e1b('0x2d')](_0x252d62=>_0x7c9dc5[_0x2e1b('0x3')](_0x252d62));_0x319d70['setSelection'](_0x55c572),_0x59600b[_0x2e1b('0x1f')][_0x2e1b('0x12')]('mergeTableCells')[_0x2e1b('0x0')](),_0x59600b[_0x2e1b('0x3d')](_0x2e1b('0x51'),{'forceDefaultExecution':!0x0});const _0x2f4b55=_0x5c3446[_0x2e1b('0x2c')](_0x56900c=>_0x2e1b('0x4d')!=_0x56900c[_0x2e1b('0xb')][_0x2e1b('0x16')]);_0x2f4b55[_0x2e1b('0x30')]>0x0&&_0x319d70[_0x2e1b('0x34')](_0x2f4b55);for(const _0x913375 of _0x5c3446)_0x913375[_0x2e1b('0x6')]();});});for(const _0x36981f of['mergeTableCellUp',_0x2e1b('0x4a'),_0x2e1b('0xf'),_0x2e1b('0x40')]){const _0x1a64df=_0x59600b[_0x2e1b('0x1f')][_0x2e1b('0x12')](_0x36981f);_0x1a64df['on'](_0x2e1b('0x46'),(_0x123df2,_0x1bf8d4,_0x52648f)=>{if(_0x52648f){const _0x3e6e0b=_0x59600b[_0x2e1b('0x27')][_0x2e1b('0x43')][_0x2e1b('0x3f')][_0x2e1b('0x17')]()[_0x2e1b('0x47')]()[_0x2e1b('0x1b')](_0x5f092e=>_0x5f092e['is'](_0x2e1b('0x3a'),_0x2e1b('0x9')));this[_0x2e1b('0x13')](_0x1a64df[_0x2e1b('0x26')],_0x3e6e0b)||(_0x123df2[_0x2e1b('0x4f')]=!0x1,_0x123df2[_0x2e1b('0x10')]());}},{'priority':_0x2e1b('0x35')});}}[_0x2e1b('0x4')](){const _0xd03d44=this['editor'][_0x2e1b('0x1f')][_0x2e1b('0x12')](_0x2e1b('0x51')),_0x303549=this[_0x2e1b('0x2a')][_0x2e1b('0xa')][_0x2e1b('0x12')](_0x2e1b('0x1e'));if(!_0xd03d44[_0x2e1b('0x1a')])return!0x1;const _0x4ee715=_0x303549[_0x2e1b('0x48')](this[_0x2e1b('0x2a')][_0x2e1b('0x27')][_0x2e1b('0x43')][_0x2e1b('0x3f')]);for(const _0x22daf7 of _0x4ee715)for(const _0x5b8048 of _0x4ee715)if(_0x22daf7!=_0x5b8048&&!this[_0x2e1b('0x13')](_0x22daf7,_0x5b8048))return!0x1;return!0x0;}['_areMergableCells'](_0x40a8c2,_0x33aee5){const _0x3dc846=this[_0x2e1b('0x2a')][_0x2e1b('0xa')][_0x2e1b('0x12')](_0x2e1b('0x38')),_0x527e95=this['editor'][_0x2e1b('0x27')][_0x2e1b('0x31')](_0x40a8c2),_0x54fed9=this[_0x2e1b('0x2a')]['model']['createRangeOn'](_0x33aee5),_0x4dc37e=new Set(),_0x38d0d3=new Set();for(const _0x465145 of _0x3dc846[_0x2e1b('0xd')]())if((_0x2e1b('0x44')==_0x465145['type']||_0x2e1b('0x1c')==_0x465145['type']||_0x2e1b('0x51')==_0x465145['subType'])&&_0x465145['isInContent'])for(const _0x11e455 of _0x465145[_0x2e1b('0x23')]())_0x11e455[_0x2e1b('0x15')](_0x527e95,!0x0)&&_0x4dc37e[_0x2e1b('0x7')](_0x465145[_0x2e1b('0x18')]+':'+_0x465145['author']['id']),_0x11e455[_0x2e1b('0x15')](_0x54fed9,!0x0)&&_0x38d0d3[_0x2e1b('0x7')](_0x465145['type']+':'+_0x465145[_0x2e1b('0x28')]['id']);if(_0x4dc37e[_0x2e1b('0x3c')]!=_0x38d0d3[_0x2e1b('0x3c')])return!0x1;for(const _0x245da6 of _0x4dc37e)if(!_0x38d0d3[_0x2e1b('0x50')](_0x245da6))return!0x1;return!0x0;}}
23
+ const _0x2b50=['*Split\x20cell:*\x20vertically','mergeTableCellDown','size','push','_tablePostFixingSubtypes','stop','requires','getSuggestions','has','mergeTableCells','insertion','add','isInContent','horizontally','getCellLocation','format','root','map','_suggestionFactory','detach','from','_acceptFormatSuggestionCallbackFactory','TableUtils','registerCustomCallback','change','_isForcedDefaultExecutionBlock','*Split\x20cell:*\x20horizontally','_areSelectedCellsMergable','containsRange','highest','return','getSelectionAffectedTableCells','enableCommand','mergeTableCellUp','formatBlock','commandName','plugins','author','low','createTableWalker','value','forceDefaultExecution','fromRange','setSelection','execute','registerDescriptionCallback','markBlockFormat','direction','accept','getRanges','cell','_areMergableCells','find','tableCell','commands','type','afterInit','get','getAncestors','selection','table','mergeTableCellRight','refresh','findAncestor','_descriptionFactory','getFirstPosition','TrackChangesEditing','createRangeOn','length','editor','document','model','rootName','splitTableCellVertically','markMultiRangeBlockFormat','mergeTableCellLeft','subType','splitTableCellHorizontally'];(function(_0x344323,_0x2b50fb){const _0x1e1ab4=function(_0x40fe5d){while(--_0x40fe5d){_0x344323['push'](_0x344323['shift']());}};_0x1e1ab4(++_0x2b50fb);}(_0x2b50,0x13f));const _0x1e1a=function(_0x344323,_0x2b50fb){_0x344323=_0x344323-0x0;let _0x1e1ab4=_0x2b50[_0x344323];return _0x1e1ab4;};import{Plugin as _0x1bc6d8}from'ckeditor5/src/core';import _0x25606e from'./table';import{LiveRange as _0x55ca79}from'ckeditor5/src/engine';import{getTranslation as _0x297c4b}from'../utils/common-translations';export default class dt extends _0x1bc6d8{static get[_0x1e1a('0x4d')](){return[_0x25606e];}[_0x1e1a('0x31')](){const _0xdaefbe=this[_0x1e1a('0x3e')],_0x478787=_0xdaefbe[_0x1e1a('0x40')][_0x1e1a('0x3f')][_0x1e1a('0x34')],_0x5c09b4=_0xdaefbe['locale'];if(!_0xdaefbe[_0x1e1a('0x1d')][_0x1e1a('0x1')]('TableEditing'))return;const _0x1481aa=_0xdaefbe[_0x1e1a('0x1d')]['get']('TrackChangesEditing'),_0x4e83ae=_0xdaefbe[_0x1e1a('0x1d')][_0x1e1a('0x32')]('TableUtils'),_0x26b067=_0xdaefbe['plugins'][_0x1e1a('0x32')](_0x25606e);_0x26b067[_0x1e1a('0x4b')][_0x1e1a('0x4a')]('mergeTableCells'),_0x1481aa[_0x1e1a('0x19')](_0x1e1a('0x2'),()=>{const _0x5926fc=_0x4e83ae[_0x1e1a('0x18')](_0xdaefbe[_0x1e1a('0x40')]['document']['selection']);_0xdaefbe[_0x1e1a('0x40')][_0x1e1a('0x11')](()=>{_0x1481aa['markMultiRangeBlockFormat'](_0x5926fc,{'commandName':_0x1e1a('0x2'),'commandParams':[]},[],_0x1e1a('0x2'));});}),_0xdaefbe[_0x1e1a('0x2f')]['get'](_0x1e1a('0x2'))['on'](_0x1e1a('0x25'),(_0x48616e,_0x2945e0)=>{_0xdaefbe[_0x1e1a('0x2f')]['get']('trackChanges')[_0x1e1a('0x21')]&&(_0x2945e0[_0x1e1a('0x3d')]>0x0&&_0x2945e0[_0x2945e0[_0x1e1a('0x3d')]-0x1]&&_0x2945e0[_0x2945e0['length']-0x1][_0x1e1a('0x22')]||_0x1481aa[_0x1e1a('0x12')]||this['_areSelectedCellsMergable']()||_0x48616e[_0x1e1a('0x4c')]());},{'priority':_0x1e1a('0x16')});for(const _0x46e7be of[_0x1e1a('0x1a'),'mergeTableCellRight',_0x1e1a('0x48'),_0x1e1a('0x44')]){const _0x5a3e2d=_0xdaefbe[_0x1e1a('0x2f')]['get'](_0x46e7be);_0x1481aa[_0x1e1a('0x19')](_0x46e7be,()=>{const _0x37a5d3=_0xdaefbe[_0x1e1a('0x40')][_0x1e1a('0x3f')][_0x1e1a('0x34')][_0x1e1a('0x3a')]()[_0x1e1a('0x33')]()[_0x1e1a('0x2d')](_0x5515fb=>_0x5515fb['is']('element',_0x1e1a('0x2e'))),_0x4ac46d=_0x5a3e2d[_0x1e1a('0x21')];_0xdaefbe[_0x1e1a('0x40')][_0x1e1a('0x11')](()=>{_0x1481aa[_0x1e1a('0x43')]([_0x37a5d3,_0x4ac46d],{'commandName':'mergeTableCells','commandParams':[]},[],_0x1e1a('0x2'));});});}for(const _0x2768ca of[_0x1e1a('0x42'),_0x1e1a('0x46')]){const _0x151cae=_0xdaefbe['commands'][_0x1e1a('0x32')](_0x2768ca);_0x1481aa['enableCommand'](_0x2768ca,()=>{const _0x125f87=_0x4e83ae[_0x1e1a('0x18')](_0xdaefbe[_0x1e1a('0x40')]['document'][_0x1e1a('0x34')])[0x0],_0x222fae=_0x125f87[_0x1e1a('0x38')](_0x1e1a('0x35')),{column:_0x571b5f,row:_0x5b5f28}=_0x4e83ae[_0x1e1a('0x7')](_0x125f87);let _0x342c44=[];if(_0x1e1a('0x6')==_0x151cae[_0x1e1a('0x28')]){const _0x45ea97=_0x4e83ae[_0x1e1a('0x20')](_0x222fae,{'startRow':_0x5b5f28,'endRow':_0x5b5f28,'includeAllSlots':!0x0});_0x342c44=Array['from'](_0x45ea97)['map'](_0x21081e=>_0x21081e[_0x1e1a('0x2b')]);}else{const _0x13ee65=_0x4e83ae[_0x1e1a('0x20')](_0x222fae,{'column':_0x571b5f,'includeAllSlots':!0x0});_0x342c44=Array[_0x1e1a('0xd')](_0x13ee65)[_0x1e1a('0xa')](_0x5abe3e=>_0x5abe3e[_0x1e1a('0x2b')]);}_0xdaefbe[_0x1e1a('0x40')][_0x1e1a('0x11')](_0x2c5a31=>{_0x1481aa[_0x1e1a('0x27')](_0x2c5a31[_0x1e1a('0x3c')](_0x125f87),{'commandName':_0x2768ca,'commandParams':[]},_0x342c44,_0x2768ca);});});}_0x1481aa[_0x1e1a('0x39')][_0x1e1a('0x26')](_0x2f9115=>{const {data:_0x41e047}=_0x2f9115;if(_0x41e047)return _0x1e1a('0x2')==_0x41e047[_0x1e1a('0x1c')]?{'type':_0x1e1a('0x8'),'content':_0x297c4b(_0x5c09b4,'*Merge\x20cells*')}:void 0x0;}),_0x1481aa[_0x1e1a('0x39')][_0x1e1a('0x26')](_0x4dd707=>{const {data:_0x57bb4b}=_0x4dd707;if(_0x57bb4b)return _0x1e1a('0x42')==_0x57bb4b['commandName']?{'type':'format','content':_0x297c4b(_0x5c09b4,_0x1e1a('0x47'))}:_0x1e1a('0x46')==_0x57bb4b[_0x1e1a('0x1c')]?{'type':'format','content':_0x297c4b(_0x5c09b4,_0x1e1a('0x13'))}:void 0x0;});const _0x4f65cf=_0x26b067[_0x1e1a('0xe')]();for(const _0x2ec75a of[_0x1e1a('0x1a'),_0x1e1a('0x36'),_0x1e1a('0x48'),_0x1e1a('0x44')])_0x1481aa[_0x1e1a('0xb')][_0x1e1a('0x10')](_0x1e1a('0x1b'),_0x2ec75a,_0x1e1a('0x29'),_0x4f65cf);for(const _0x17a682 of[_0x1e1a('0x42'),'splitTableCellHorizontally'])_0x1481aa[_0x1e1a('0xb')]['registerCustomCallback'](_0x1e1a('0x1b'),_0x17a682,_0x1e1a('0x29'),_0x4f65cf);_0x1481aa[_0x1e1a('0xb')][_0x1e1a('0x10')]('formatBlock',_0x1e1a('0x2'),'accept',_0x3c0430=>{_0xdaefbe[_0x1e1a('0x40')][_0x1e1a('0x11')](_0x34fda2=>{const _0x10e1fd=Array[_0x1e1a('0xd')](_0x478787['getRanges']())[_0x1e1a('0xa')](_0x5c0252=>_0x55ca79[_0x1e1a('0x23')](_0x5c0252));_0x34fda2['setSelection'](_0x3c0430),_0xdaefbe[_0x1e1a('0x2f')][_0x1e1a('0x32')](_0x1e1a('0x2'))[_0x1e1a('0x37')](),_0xdaefbe[_0x1e1a('0x25')](_0x1e1a('0x2'),{'forceDefaultExecution':!0x0});const _0xec3522=_0x10e1fd['filter'](_0xf11072=>'$graveyard'!=_0xf11072[_0x1e1a('0x9')][_0x1e1a('0x41')]);_0xec3522[_0x1e1a('0x3d')]>0x0&&_0x34fda2[_0x1e1a('0x24')](_0xec3522);for(const _0x40a0c8 of _0x10e1fd)_0x40a0c8[_0x1e1a('0xc')]();});});for(const _0x4d79d6 of[_0x1e1a('0x1a'),'mergeTableCellDown',_0x1e1a('0x44'),_0x1e1a('0x36')]){const _0x1a4876=_0xdaefbe['commands'][_0x1e1a('0x32')](_0x4d79d6);_0x1a4876['on']('set:isEnabled',(_0x4ee93c,_0x598ff4,_0x5f4107)=>{if(_0x5f4107){const _0x455e71=_0xdaefbe['model'][_0x1e1a('0x3f')][_0x1e1a('0x34')]['getFirstPosition']()[_0x1e1a('0x33')]()['find'](_0x529ed4=>_0x529ed4['is']('element','tableCell'));this[_0x1e1a('0x2c')](_0x1a4876[_0x1e1a('0x21')],_0x455e71)||(_0x4ee93c[_0x1e1a('0x17')]=!0x1,_0x4ee93c['stop']());}},{'priority':_0x1e1a('0x1f')});}}[_0x1e1a('0x14')](){const _0x33cfbd=this['editor'][_0x1e1a('0x2f')][_0x1e1a('0x32')](_0x1e1a('0x2')),_0x5f3cd6=this['editor'][_0x1e1a('0x1d')]['get'](_0x1e1a('0xf'));if(!_0x33cfbd['isEnabled'])return!0x1;const _0x14e48a=_0x5f3cd6[_0x1e1a('0x18')](this[_0x1e1a('0x3e')][_0x1e1a('0x40')]['document'][_0x1e1a('0x34')]);for(const _0x700ff1 of _0x14e48a)for(const _0x30e2f0 of _0x14e48a)if(_0x700ff1!=_0x30e2f0&&!this['_areMergableCells'](_0x700ff1,_0x30e2f0))return!0x1;return!0x0;}['_areMergableCells'](_0x166864,_0x4bf894){const _0x1a3c7e=this[_0x1e1a('0x3e')][_0x1e1a('0x1d')][_0x1e1a('0x32')](_0x1e1a('0x3b')),_0x166063=this[_0x1e1a('0x3e')][_0x1e1a('0x40')][_0x1e1a('0x3c')](_0x166864),_0x8bdf73=this[_0x1e1a('0x3e')][_0x1e1a('0x40')][_0x1e1a('0x3c')](_0x4bf894),_0x41df80=new Set(),_0x2205a6=new Set();for(const _0x4ec039 of _0x1a3c7e[_0x1e1a('0x0')]())if((_0x1e1a('0x3')==_0x4ec039[_0x1e1a('0x30')]||'deletion'==_0x4ec039[_0x1e1a('0x30')]||_0x1e1a('0x2')==_0x4ec039[_0x1e1a('0x45')])&&_0x4ec039[_0x1e1a('0x5')])for(const _0x69647d of _0x4ec039[_0x1e1a('0x2a')]())_0x69647d[_0x1e1a('0x15')](_0x166063,!0x0)&&_0x41df80[_0x1e1a('0x4')](_0x4ec039[_0x1e1a('0x30')]+':'+_0x4ec039[_0x1e1a('0x1e')]['id']),_0x69647d[_0x1e1a('0x15')](_0x8bdf73,!0x0)&&_0x2205a6[_0x1e1a('0x4')](_0x4ec039[_0x1e1a('0x30')]+':'+_0x4ec039[_0x1e1a('0x1e')]['id']);if(_0x41df80['size']!=_0x2205a6[_0x1e1a('0x49')])return!0x1;for(const _0x5a52ec of _0x41df80)if(!_0x2205a6[_0x1e1a('0x1')](_0x5a52ec))return!0x1;return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2da4=['plugins','commands','ELEMENT_TABLE_OF_CONTENTS','afterInit','insertTableOfContents','get','tableOfContents','locale','_descriptionFactory','enableCommand','registerElementLabel'];(function(_0xc20978,_0x2da494){const _0x19237b=function(_0x10cf9c){while(--_0x10cf9c){_0xc20978['push'](_0xc20978['shift']());}};_0x19237b(++_0x2da494);}(_0x2da4,0x96));const _0x1923=function(_0xc20978,_0x2da494){_0xc20978=_0xc20978-0x0;let _0x19237b=_0x2da4[_0xc20978];return _0x19237b;};import{Plugin as _0xa3367a}from'ckeditor5/src/core';import{getTranslation as _0x48ae06}from'../utils/common-translations';export default class bt extends _0xa3367a{[_0x1923('0x7')](){const _0x108b29=this['editor'];if(!_0x108b29[_0x1923('0x5')][_0x1923('0x9')](_0x1923('0x8')))return;_0x108b29['plugins']['get']('TrackChangesEditing')[_0x1923('0x2')](_0x1923('0x8'));const _0x26eeea=_0x108b29[_0x1923('0x4')][_0x1923('0x9')]('TrackChangesEditing'),_0x320408=_0x108b29[_0x1923('0x0')];_0x26eeea[_0x1923('0x1')][_0x1923('0x3')](_0x1923('0xa'),_0x5cab16=>_0x48ae06(_0x320408,_0x1923('0x6'),_0x5cab16));}}
23
+ const _0x1e46=['editor','insertTableOfContents','locale','commands','tableOfContents','ELEMENT_TABLE_OF_CONTENTS','plugins','enableCommand','get','TrackChangesEditing','registerElementLabel'];(function(_0xf1d16f,_0x1e468c){const _0x1ca9c6=function(_0x2d7ee8){while(--_0x2d7ee8){_0xf1d16f['push'](_0xf1d16f['shift']());}};_0x1ca9c6(++_0x1e468c);}(_0x1e46,0xa3));const _0x1ca9=function(_0xf1d16f,_0x1e468c){_0xf1d16f=_0xf1d16f-0x0;let _0x1ca9c6=_0x1e46[_0xf1d16f];return _0x1ca9c6;};import{Plugin as _0x27fc07}from'ckeditor5/src/core';import{getTranslation as _0x103132}from'../utils/common-translations';export default class bt extends _0x27fc07{['afterInit'](){const _0x381c29=this[_0x1ca9('0x2')];if(!_0x381c29[_0x1ca9('0x5')][_0x1ca9('0xa')](_0x1ca9('0x3')))return;_0x381c29[_0x1ca9('0x8')]['get'](_0x1ca9('0x0'))[_0x1ca9('0x9')](_0x1ca9('0x3'));const _0x3eaff0=_0x381c29[_0x1ca9('0x8')][_0x1ca9('0xa')](_0x1ca9('0x0')),_0x26b1b7=_0x381c29[_0x1ca9('0x4')];_0x3eaff0['_descriptionFactory'][_0x1ca9('0x1')](_0x1ca9('0x6'),_0x3ee7dc=>_0x103132(_0x26b1b7,_0x1ca9('0x7'),_0x3ee7dc));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x211a=['tableBorderWidth','getAttribute','tableCellPadding','tableWidth','format','tableHeight','getSuggestionCallback','tableCellBorderStyle','editor','get','join','enqueueChange','nodeAfter','discard','handleDiscardAction','registerCustomCallback','_suggestionFactory','getSuggestions','removeAttribute','data','commandParams','tableCellProperties','registerDescriptionCallback','selection','tableCellBorderColor','tableCellHeight','TrackChangesTableProperties','enableCommand','TablePropertiesEditing','tableProperties','afterInit','_handlePropertyChange','model','TableCellPropertiesEditing','table','tableCellWidth','tableBackgroundColor','locale','getFirstPosition','tableBorderStyle','*Format:*\x20change\x20table\x20cell\x20properties','start','_getSuggestion','tableCellBorderWidth','has','accept','plugins','markBlockFormat','subType','formatBlock','document','tableCellVerticalAlignment','change','pluginName','tableCellBackgroundColor'];(function(_0x525bee,_0x211ad7){const _0x335f67=function(_0x5b119a){while(--_0x5b119a){_0x525bee['push'](_0x525bee['shift']());}};_0x335f67(++_0x211ad7);}(_0x211a,0x1be));const _0x335f=function(_0x525bee,_0x211ad7){_0x525bee=_0x525bee-0x0;let _0x335f67=_0x211a[_0x525bee];return _0x335f67;};import{Plugin as _0x3dd014}from'ckeditor5/src/core';import{getTranslation as _0x3ea840}from'../utils/common-translations';export default class Ct extends _0x3dd014{constructor(_0x5b7250){super(_0x5b7250),this[_0x335f('0x17')]=['tableBorderColor',_0x335f('0x21'),_0x335f('0x31'),'tableAlignment',_0x335f('0x34'),_0x335f('0x36'),_0x335f('0x1e')],this[_0x335f('0xf')]=[_0x335f('0x12'),_0x335f('0x1'),_0x335f('0x25'),_0x335f('0x33'),_0x335f('0x1d'),_0x335f('0x13'),_0x335f('0x30'),'tableCellHorizontalAlignment',_0x335f('0x2d')];}static get[_0x335f('0x2f')](){return _0x335f('0x14');}[_0x335f('0x18')](){const _0x1fed04=this['editor'][_0x335f('0x28')][_0x335f('0x3')]('TrackChangesEditing');if(this[_0x335f('0x2')][_0x335f('0x28')][_0x335f('0x26')](_0x335f('0x16'))){for(const _0x225252 of this[_0x335f('0x17')])_0x1fed04[_0x335f('0x15')](_0x225252,(_0x406ff9,_0x1abab0)=>{const _0x242480=this['editor'][_0x335f('0x1a')]['document']['selection'][_0x335f('0x20')]()['findAncestor'](_0x335f('0x1c'));this[_0x335f('0x19')](_0x225252,[_0x242480],this['tableProperties'],_0x335f('0x17'),_0x406ff9,_0x1abab0);});_0x1fed04[_0x335f('0xa')][_0x335f('0x9')](_0x335f('0x2b'),'tableProperties','accept',_0x1fed04[_0x335f('0xa')]['getSuggestionCallback'](_0x335f('0x2b'),null,'discard')),_0x1fed04[_0x335f('0xa')]['registerCustomCallback'](_0x335f('0x2b'),_0x335f('0x17'),_0x335f('0x7'),(_0x69d846,_0x34bd9f)=>this[_0x335f('0x8')](this[_0x335f('0x17')],_0x69d846,_0x34bd9f)),_0x1fed04[_0x335f('0xa')][_0x335f('0x9')]('formatBlock',_0x335f('0x17'),_0x335f('0x4'),()=>!0x1);}if(this[_0x335f('0x2')][_0x335f('0x28')][_0x335f('0x26')](_0x335f('0x1b'))){for(const _0x1bdc62 of this[_0x335f('0xf')])_0x1fed04['enableCommand'](_0x1bdc62,(_0x2911c1,_0x1057ed)=>{const _0x2b6824=this[_0x335f('0x2')][_0x335f('0x28')]['get']('TableUtils')['getSelectionAffectedTableCells'](this[_0x335f('0x2')][_0x335f('0x1a')][_0x335f('0x2c')][_0x335f('0x11')]);this[_0x335f('0x19')](_0x1bdc62,_0x2b6824,this[_0x335f('0xf')],_0x335f('0xf'),_0x2911c1,_0x1057ed);});_0x1fed04[_0x335f('0xa')][_0x335f('0x9')](_0x335f('0x2b'),'tableCellProperties',_0x335f('0x27'),_0x1fed04[_0x335f('0xa')][_0x335f('0x0')](_0x335f('0x2b'),null,'discard')),_0x1fed04['_suggestionFactory'][_0x335f('0x9')](_0x335f('0x2b'),'tableCellProperties','discard',(_0x24e8db,_0x42c000)=>this['handleDiscardAction'](this[_0x335f('0xf')],_0x24e8db,_0x42c000)),_0x1fed04['_suggestionFactory'][_0x335f('0x9')](_0x335f('0x2b'),_0x335f('0xf'),_0x335f('0x4'),()=>!0x1);}_0x1fed04['_descriptionFactory'][_0x335f('0x10')](_0x20db43=>this['handleSuggestionDescription'](_0x20db43));}[_0x335f('0x19')](_0x47eadb,_0x31cbaa,_0x56a995,_0x21a5b9,_0x2a12a6,_0x5807e3){const _0x16790b=this[_0x335f('0x2')][_0x335f('0x28')][_0x335f('0x3')]('TrackChangesEditing');this[_0x335f('0x2')]['model'][_0x335f('0x5')](_0x5807e3['batch'],()=>{for(const _0x246608 of _0x31cbaa){if(this['_getSuggestion'](_0x246608,_0x21a5b9))_0x2a12a6(_0x5807e3);else{const _0x1c21ce={};for(const _0x4b0d2d of _0x56a995){const _0x46d03b=_0x246608[_0x335f('0x32')](_0x4b0d2d);void 0x0!==_0x46d03b&&(_0x1c21ce[_0x4b0d2d]=_0x46d03b);}_0x2a12a6(_0x5807e3),_0x16790b[_0x335f('0x29')](_0x246608,{'commandParams':[_0x1c21ce]},[],_0x21a5b9);}}});}[_0x335f('0x8')](_0x325ad5,_0x2dc63d,_0x4dc3a3){const _0x57bc37=_0x2dc63d[0x0][_0x335f('0x23')][_0x335f('0x6')],_0x3d6996=_0x4dc3a3[_0x335f('0xe')][0x0];this[_0x335f('0x2')]['model'][_0x335f('0x2e')](_0x39bdb7=>{for(const _0x1ace60 of _0x325ad5)void 0x0!==_0x3d6996[_0x1ace60]?_0x39bdb7['setAttribute'](_0x1ace60,_0x3d6996[_0x1ace60],_0x57bc37):_0x39bdb7[_0x335f('0xc')](_0x1ace60,_0x57bc37);});}['handleSuggestionDescription'](_0x1e1b0f){if(_0x1e1b0f[_0x335f('0xd')])switch(_0x1e1b0f[_0x335f('0x2a')]){case _0x335f('0x17'):return{'type':_0x335f('0x35'),'content':_0x3ea840(this[_0x335f('0x2')][_0x335f('0x1f')],'*Format:*\x20change\x20table\x20properties')};case'tableCellProperties':return{'type':_0x335f('0x35'),'content':_0x3ea840(this[_0x335f('0x2')][_0x335f('0x1f')],_0x335f('0x22'))};}}[_0x335f('0x24')](_0x4d1db5,_0x994221){const _0x23d153=this[_0x335f('0x2')][_0x335f('0x28')][_0x335f('0x3')]('TrackChangesEditing');for(const _0x13f957 of _0x23d153[_0x335f('0xb')]({'skipNotAttached':!0x0})){const _0xb5eb5e=_0x13f957['getContainedElement']();if(_0x13f957['subType']===_0x994221&&_0xb5eb5e===_0x4d1db5)return _0x13f957;}return null;}}
23
+ const _0x3adf=['enableCommand','*Format:*\x20change\x20table\x20properties','tableCellVerticalAlignment','tableWidth','TrackChangesTableProperties','get','_descriptionFactory','handleSuggestionDescription','nodeAfter','TablePropertiesEditing','handleDiscardAction','format','getFirstPosition','tableAlignment','locale','afterInit','commandParams','start','tableCellHeight','*Format:*\x20change\x20table\x20cell\x20properties','tableCellProperties','removeAttribute','tableCellWidth','change','_suggestionFactory','enqueueChange','subType','discard','tableBorderWidth','tableProperties','tableCellBorderColor','TableUtils','plugins','registerDescriptionCallback','_handlePropertyChange','getSuggestionCallback','tableBackgroundColor','join','registerCustomCallback','tableHeight','TableCellPropertiesEditing','getSuggestions','accept','tableCellBorderStyle','TrackChangesEditing','model','has','data','editor','formatBlock','_getSuggestion','document','tableCellBorderWidth','selection','tableCellPadding','tableBorderColor','getSelectionAffectedTableCells','markBlockFormat'];(function(_0xd529b5,_0x3adf51){const _0x19a35c=function(_0x46206a){while(--_0x46206a){_0xd529b5['push'](_0xd529b5['shift']());}};_0x19a35c(++_0x3adf51);}(_0x3adf,0x9b));const _0x19a3=function(_0xd529b5,_0x3adf51){_0xd529b5=_0xd529b5-0x0;let _0x19a35c=_0x3adf[_0xd529b5];return _0x19a35c;};import{Plugin as _0x11ccb9}from'ckeditor5/src/core';import{getTranslation as _0x335727}from'../utils/common-translations';export default class Ct extends _0x11ccb9{constructor(_0x504d16){super(_0x504d16),this['tableProperties']=[_0x19a3('0x10'),'tableBorderStyle',_0x19a3('0x2f'),_0x19a3('0x20'),_0x19a3('0x16'),_0x19a3('0x0'),_0x19a3('0x37')],this[_0x19a3('0x27')]=[_0x19a3('0x31'),_0x19a3('0x4'),_0x19a3('0xd'),_0x19a3('0xf'),_0x19a3('0x29'),_0x19a3('0x25'),'tableCellBackgroundColor','tableCellHorizontalAlignment',_0x19a3('0x15')];}static get['pluginName'](){return _0x19a3('0x17');}[_0x19a3('0x22')](){const _0x580e9e=this[_0x19a3('0x9')][_0x19a3('0x33')]['get']('TrackChangesEditing');if(this['editor'][_0x19a3('0x33')][_0x19a3('0x7')](_0x19a3('0x1c'))){for(const _0x1f2cd7 of this[_0x19a3('0x30')])_0x580e9e[_0x19a3('0x13')](_0x1f2cd7,(_0x51be97,_0x17f6ea)=>{const _0x4a0e0d=this[_0x19a3('0x9')][_0x19a3('0x6')][_0x19a3('0xc')][_0x19a3('0xe')][_0x19a3('0x1f')]()['findAncestor']('table');this[_0x19a3('0x35')](_0x1f2cd7,[_0x4a0e0d],this[_0x19a3('0x30')],_0x19a3('0x30'),_0x51be97,_0x17f6ea);});_0x580e9e['_suggestionFactory']['registerCustomCallback']('formatBlock','tableProperties','accept',_0x580e9e[_0x19a3('0x2b')]['getSuggestionCallback']('formatBlock',null,_0x19a3('0x2e'))),_0x580e9e['_suggestionFactory'][_0x19a3('0x39')](_0x19a3('0xa'),_0x19a3('0x30'),_0x19a3('0x2e'),(_0x13e2fb,_0x21086b)=>this[_0x19a3('0x1d')](this['tableProperties'],_0x13e2fb,_0x21086b)),_0x580e9e['_suggestionFactory'][_0x19a3('0x39')]('formatBlock',_0x19a3('0x30'),_0x19a3('0x38'),()=>!0x1);}if(this[_0x19a3('0x9')][_0x19a3('0x33')][_0x19a3('0x7')](_0x19a3('0x1'))){for(const _0x3bacab of this[_0x19a3('0x27')])_0x580e9e[_0x19a3('0x13')](_0x3bacab,(_0x166a91,_0x3954d6)=>{const _0x2f38e9=this[_0x19a3('0x9')]['plugins']['get'](_0x19a3('0x32'))[_0x19a3('0x11')](this[_0x19a3('0x9')]['model'][_0x19a3('0xc')]['selection']);this[_0x19a3('0x35')](_0x3bacab,_0x2f38e9,this[_0x19a3('0x27')],_0x19a3('0x27'),_0x166a91,_0x3954d6);});_0x580e9e[_0x19a3('0x2b')][_0x19a3('0x39')](_0x19a3('0xa'),_0x19a3('0x27'),_0x19a3('0x3'),_0x580e9e[_0x19a3('0x2b')][_0x19a3('0x36')](_0x19a3('0xa'),null,_0x19a3('0x2e'))),_0x580e9e['_suggestionFactory'][_0x19a3('0x39')](_0x19a3('0xa'),'tableCellProperties',_0x19a3('0x2e'),(_0x400057,_0x108327)=>this[_0x19a3('0x1d')](this[_0x19a3('0x27')],_0x400057,_0x108327)),_0x580e9e[_0x19a3('0x2b')][_0x19a3('0x39')](_0x19a3('0xa'),_0x19a3('0x27'),'join',()=>!0x1);}_0x580e9e[_0x19a3('0x19')][_0x19a3('0x34')](_0x5c3490=>this['handleSuggestionDescription'](_0x5c3490));}[_0x19a3('0x35')](_0x65f59f,_0x40e7a8,_0x5b3876,_0x1d15be,_0x5191bf,_0x30e340){const _0x25eb50=this['editor'][_0x19a3('0x33')][_0x19a3('0x18')](_0x19a3('0x5'));this['editor'][_0x19a3('0x6')][_0x19a3('0x2c')](_0x30e340['batch'],()=>{for(const _0x1315d9 of _0x40e7a8){if(this[_0x19a3('0xb')](_0x1315d9,_0x1d15be))_0x5191bf(_0x30e340);else{const _0x30cf4a={};for(const _0x53e01a of _0x5b3876){const _0x4014a6=_0x1315d9['getAttribute'](_0x53e01a);void 0x0!==_0x4014a6&&(_0x30cf4a[_0x53e01a]=_0x4014a6);}_0x5191bf(_0x30e340),_0x25eb50[_0x19a3('0x12')](_0x1315d9,{'commandParams':[_0x30cf4a]},[],_0x1d15be);}}});}['handleDiscardAction'](_0x540d71,_0x16af64,_0x494f23){const _0x57ea53=_0x16af64[0x0][_0x19a3('0x24')][_0x19a3('0x1b')],_0x367689=_0x494f23[_0x19a3('0x23')][0x0];this[_0x19a3('0x9')][_0x19a3('0x6')][_0x19a3('0x2a')](_0x1ea03b=>{for(const _0x199a4c of _0x540d71)void 0x0!==_0x367689[_0x199a4c]?_0x1ea03b['setAttribute'](_0x199a4c,_0x367689[_0x199a4c],_0x57ea53):_0x1ea03b[_0x19a3('0x28')](_0x199a4c,_0x57ea53);});}[_0x19a3('0x1a')](_0x43db0c){if(_0x43db0c[_0x19a3('0x8')])switch(_0x43db0c[_0x19a3('0x2d')]){case'tableProperties':return{'type':'format','content':_0x335727(this[_0x19a3('0x9')][_0x19a3('0x21')],_0x19a3('0x14'))};case _0x19a3('0x27'):return{'type':_0x19a3('0x1e'),'content':_0x335727(this['editor']['locale'],_0x19a3('0x26'))};}}[_0x19a3('0xb')](_0x347330,_0xe85de){const _0x1ad1e0=this['editor'][_0x19a3('0x33')]['get'](_0x19a3('0x5'));for(const _0x54ac4b of _0x1ad1e0[_0x19a3('0x2')]({'skipNotAttached':!0x0})){const _0x5e123c=_0x54ac4b['getContainedElement']();if(_0x54ac4b['subType']===_0xe85de&&_0x5e123c===_0x347330)return _0x54ac4b;}return null;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5043=['TrackChangesEditing','insertTemplate','get','editor','plugins','has','afterInit'];(function(_0x127743,_0x504377){const _0x370065=function(_0x34dfe4){while(--_0x34dfe4){_0x127743['push'](_0x127743['shift']());}};_0x370065(++_0x504377);}(_0x5043,0xb1));const _0x3700=function(_0x127743,_0x504377){_0x127743=_0x127743-0x0;let _0x370065=_0x5043[_0x127743];return _0x370065;};import{Plugin as _0x9d0f0b}from'ckeditor5/src/core';export default class yt extends _0x9d0f0b{[_0x3700('0x4')](){const _0x33905b=this[_0x3700('0x1')];_0x33905b['plugins'][_0x3700('0x3')]('Template')&&_0x33905b[_0x3700('0x2')][_0x3700('0x0')](_0x3700('0x5'))['enableCommand'](_0x3700('0x6'));}}
23
+ const _0x3df2=['TrackChangesEditing','editor','afterInit','plugins','get','has','Template','insertTemplate','enableCommand'];(function(_0x630116,_0x3df22e){const _0x156c6e=function(_0x44a6ac){while(--_0x44a6ac){_0x630116['push'](_0x630116['shift']());}};_0x156c6e(++_0x3df22e);}(_0x3df2,0x7d));const _0x156c=function(_0x630116,_0x3df22e){_0x630116=_0x630116-0x0;let _0x156c6e=_0x3df2[_0x630116];return _0x156c6e;};import{Plugin as _0x173fcb}from'ckeditor5/src/core';export default class yt extends _0x173fcb{[_0x156c('0x3')](){const _0x27f1fe=this[_0x156c('0x2')];_0x27f1fe[_0x156c('0x4')][_0x156c('0x6')](_0x156c('0x7'))&&_0x27f1fe[_0x156c('0x4')][_0x156c('0x5')](_0x156c('0x1'))[_0x156c('0x0')](_0x156c('0x8'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x15a5=['editor','createRange','_splitMarkerName','plugins','getChangedMarkers','updateMarker','TrackChangesEditing','document','suggestion','_descriptionFactory','removeMarker','newRange','start','model','differ','from','registerElementLabel','getNearestSelectionRange','schema','get','locale','isCollapsed','registerPostFixer','end','isEqual','title-content'];(function(_0xb6369b,_0x15a534){const _0x54b4e4=function(_0xe5c7fa){while(--_0xe5c7fa){_0xb6369b['push'](_0xb6369b['shift']());}};_0x54b4e4(++_0x15a534);}(_0x15a5,0x93));const _0x54b4=function(_0xb6369b,_0x15a534){_0xb6369b=_0xb6369b-0x0;let _0x54b4e4=_0x15a5[_0xb6369b];return _0x54b4e4;};import{Plugin as _0x483e3b}from'ckeditor5/src/core';import{getTranslation as _0x26384d}from'../utils/common-translations';export default class St extends _0x483e3b{['afterInit'](){const _0x486900=this[_0x54b4('0x9')];if(!_0x486900['plugins']['has']('Title'))return;const _0x2da380=_0x486900[_0x54b4('0xc')][_0x54b4('0x2')](_0x54b4('0xf'));_0x2da380[_0x54b4('0x12')][_0x54b4('0x19')]('title-content',()=>_0x26384d(_0x486900[_0x54b4('0x3')],'ELEMENT_TITLE')),_0x486900[_0x54b4('0x16')][_0x54b4('0x10')][_0x54b4('0x5')](_0x127055=>{let _0x1152d7=!0x1;const _0x12d371=Array[_0x54b4('0x18')](_0x486900['model'][_0x54b4('0x10')][_0x54b4('0x17')][_0x54b4('0xd')]());for(const {name:_0xd6bbd5,data:_0x26a625}of _0x12d371){const {group:_0x4dc33c}=_0x2da380[_0x54b4('0xb')](_0xd6bbd5);if(_0x54b4('0x11')!==_0x4dc33c||!_0x26a625[_0x54b4('0x14')])continue;const _0x3b9f32=_0x26a625[_0x54b4('0x14')],_0x17f42f=_0x3b9f32[_0x54b4('0x6')]['nodeBefore'];if(!_0x17f42f||!_0x17f42f['is']('element',_0x54b4('0x8')))continue;if(!_0x3b9f32['start']['isTouching'](_0x3b9f32[_0x54b4('0x6')]))continue;const _0x2149b5=_0x486900[_0x54b4('0x16')][_0x54b4('0x1')][_0x54b4('0x0')](_0x3b9f32[_0x54b4('0x6')],'forward');if(_0x2149b5&&_0x2149b5[_0x54b4('0x4')]){const _0x2cab58=_0x127055[_0x54b4('0xa')](_0x3b9f32[_0x54b4('0x15')],_0x2149b5['start']);_0x2cab58[_0x54b4('0x7')](_0x3b9f32)||(_0x127055[_0x54b4('0xe')](_0xd6bbd5,{'range':_0x2cab58}),_0x1152d7=!0x0);}_0x1152d7||(_0x127055[_0x54b4('0x13')](_0xd6bbd5),_0x1152d7=!0x0);}return _0x1152d7;});}}
23
+ const _0x2a32=['editor','schema','updateMarker','registerElementLabel','isCollapsed','has','element','createRange','document','newRange','forward','ELEMENT_TITLE','get','_splitMarkerName','end','suggestion','afterInit','removeMarker','TrackChangesEditing','plugins','model','isTouching','isEqual','Title','getNearestSelectionRange','title-content','start'];(function(_0x26c886,_0x2a3240){const _0xbb3d73=function(_0x439e17){while(--_0x439e17){_0x26c886['push'](_0x26c886['shift']());}};_0xbb3d73(++_0x2a3240);}(_0x2a32,0x107));const _0xbb3d=function(_0x26c886,_0x2a3240){_0x26c886=_0x26c886-0x0;let _0xbb3d73=_0x2a32[_0x26c886];return _0xbb3d73;};import{Plugin as _0x4a3c96}from'ckeditor5/src/core';import{getTranslation as _0x57392d}from'../utils/common-translations';export default class St extends _0x4a3c96{[_0xbb3d('0x17')](){const _0x3addf5=this[_0xbb3d('0x7')];if(!_0x3addf5['plugins'][_0xbb3d('0xc')](_0xbb3d('0x3')))return;const _0x3789eb=_0x3addf5[_0xbb3d('0x1a')][_0xbb3d('0x13')](_0xbb3d('0x19'));_0x3789eb['_descriptionFactory'][_0xbb3d('0xa')](_0xbb3d('0x5'),()=>_0x57392d(_0x3addf5['locale'],_0xbb3d('0x12'))),_0x3addf5['model'][_0xbb3d('0xf')]['registerPostFixer'](_0x283ba7=>{let _0x3908d8=!0x1;const _0x862b0b=Array['from'](_0x3addf5[_0xbb3d('0x0')]['document']['differ']['getChangedMarkers']());for(const {name:_0x5092a0,data:_0x113f0f}of _0x862b0b){const {group:_0x355a8b}=_0x3789eb[_0xbb3d('0x14')](_0x5092a0);if(_0xbb3d('0x16')!==_0x355a8b||!_0x113f0f[_0xbb3d('0x10')])continue;const _0x1d9f6b=_0x113f0f[_0xbb3d('0x10')],_0x145941=_0x1d9f6b[_0xbb3d('0x15')]['nodeBefore'];if(!_0x145941||!_0x145941['is'](_0xbb3d('0xd'),_0xbb3d('0x5')))continue;if(!_0x1d9f6b[_0xbb3d('0x6')][_0xbb3d('0x1')](_0x1d9f6b[_0xbb3d('0x15')]))continue;const _0x4ca339=_0x3addf5['model'][_0xbb3d('0x8')][_0xbb3d('0x4')](_0x1d9f6b[_0xbb3d('0x15')],_0xbb3d('0x11'));if(_0x4ca339&&_0x4ca339[_0xbb3d('0xb')]){const _0x578a27=_0x283ba7[_0xbb3d('0xe')](_0x1d9f6b['start'],_0x4ca339['start']);_0x578a27[_0xbb3d('0x2')](_0x1d9f6b)||(_0x283ba7[_0xbb3d('0x9')](_0x5092a0,{'range':_0x578a27}),_0x3908d8=!0x0);}_0x3908d8||(_0x283ba7[_0xbb3d('0x18')](_0x5092a0),_0x3908d8=!0x0);}return _0x3908d8;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x44bf=['has','editor','plugins','redo','afterInit','get','enableCommand'];(function(_0x540a08,_0x44bffa){const _0x4c6cf7=function(_0x258d3a){while(--_0x258d3a){_0x540a08['push'](_0x540a08['shift']());}};_0x4c6cf7(++_0x44bffa);}(_0x44bf,0x1c5));const _0x4c6c=function(_0x540a08,_0x44bffa){_0x540a08=_0x540a08-0x0;let _0x4c6cf7=_0x44bf[_0x540a08];return _0x4c6cf7;};import{Plugin as _0x573b37}from'ckeditor5/src/core';export default class It extends _0x573b37{[_0x4c6c('0x6')](){const _0x55dcdc=this[_0x4c6c('0x3')],_0x250069=_0x55dcdc[_0x4c6c('0x4')][_0x4c6c('0x0')]('TrackChangesEditing');_0x55dcdc[_0x4c6c('0x4')][_0x4c6c('0x2')]('UndoEditing')&&(_0x250069[_0x4c6c('0x1')]('undo'),_0x250069[_0x4c6c('0x1')](_0x4c6c('0x5')));}}
23
+ const _0x4710=['enableCommand','UndoEditing','undo','afterInit','redo','has','plugins','editor','TrackChangesEditing'];(function(_0x3c20cb,_0x4710cf){const _0x3589b9=function(_0x13cc63){while(--_0x13cc63){_0x3c20cb['push'](_0x3c20cb['shift']());}};_0x3589b9(++_0x4710cf);}(_0x4710,0x160));const _0x3589=function(_0x3c20cb,_0x4710cf){_0x3c20cb=_0x3c20cb-0x0;let _0x3589b9=_0x4710[_0x3c20cb];return _0x3589b9;};import{Plugin as _0x1364cc}from'ckeditor5/src/core';export default class It extends _0x1364cc{[_0x3589('0x2')](){const _0x16798a=this[_0x3589('0x6')],_0x5662a5=_0x16798a[_0x3589('0x5')]['get'](_0x3589('0x7'));_0x16798a[_0x3589('0x5')][_0x3589('0x4')](_0x3589('0x0'))&&(_0x5662a5[_0x3589('0x8')](_0x3589('0x1')),_0x5662a5[_0x3589('0x8')](_0x3589('0x3')));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x57c4=['mapper','toViewElement','isAtEnd','writer','previousPosition','includes','elementEnd','getItems','nextSibling','addClass','start','hasAttribute','consumable','insert','model','push','get','activeMarkers','ck-suggestion-marker-','TrackChangesEditing','listItem','listIndent','element','markerRange','name','isContent','test','type','plugins','span','parent','bindElementToMarker','schema','getWalker'];(function(_0x48e9fa,_0x57c4ef){const _0x209fb0=function(_0x13427e){while(--_0x13427e){_0x48e9fa['push'](_0x48e9fa['shift']());}};_0x209fb0(++_0x57c4ef);}(_0x57c4,0x196));const _0x209f=function(_0x48e9fa,_0x57c4ef){_0x48e9fa=_0x48e9fa-0x0;let _0x209fb0=_0x57c4[_0x48e9fa];return _0x209fb0;};export function getRangesWithAttribute(_0x577a44,_0x18445a,_0x3c9c17){const _0x4956d0=[];for(const _0x475490 of _0x18445a[_0x209f('0x9')]())_0x475490[_0x209f('0xd')](_0x577a44)&&_0x4956d0[_0x209f('0x11')](_0x3c9c17['createRangeOn'](_0x475490));return _0x4956d0;}export function getElementsAffectedByListItemRename(_0x3d4c3d){const _0x55469f=[];if(_0x3d4c3d['is'](_0x209f('0x18'),_0x209f('0x16'))){let _0x753bff=_0x3d4c3d[_0x209f('0xa')];for(;_0x753bff&&_0x753bff['is'](_0x209f('0x18'),_0x209f('0x16'))&&_0x753bff['getAttribute'](_0x209f('0x17'))>0x0;)_0x55469f['push'](_0x753bff),_0x753bff=_0x753bff[_0x209f('0xa')];}return _0x55469f;}export function downcastSplitMergeMarker(_0x2638df,_0x1164d0,{showActiveMarker:_0x35945e=!0x0}={}){const _0x122efb=_0x2638df[_0x209f('0x1e')][_0x209f('0x12')](_0x209f('0x15'));return(_0x2e38f8,_0x4d4f14,_0xb0fa19)=>{if(!_0xb0fa19[_0x209f('0xe')][_0x209f('0x1c')](_0x4d4f14['markerRange'],_0x2e38f8[_0x209f('0x1a')]))return;const _0x82d2f1=_0x4d4f14['markerRange'][_0x209f('0x1')](),_0x523e75=_0x4d4f14[_0x209f('0x19')][_0x209f('0xc')],_0x30ee7f=_0x2638df[_0x209f('0x10')][_0x209f('0x0')];let _0x2282a8=null,_0x397718=null,_0x5693d6=!0x1,_0x2f8d80=!0x1;for(const _0x8ec43a of _0x82d2f1){const _0x2a217c=_0x8ec43a['item'];_0x5693d6=_0x5693d6||_0x30ee7f[_0x209f('0x1b')](_0x2a217c);const _0x7f4ff1=_0xb0fa19[_0x209f('0x2')][_0x209f('0x3')](_0x2a217c);if(_0x7f4ff1&&_0x7f4ff1['getCustomProperty']('addHighlight'))return;_0x209f('0x8')==_0x8ec43a[_0x209f('0x1d')]&&(_0x30ee7f['isBlock'](_0x2a217c)&&!_0x30ee7f['isLimit'](_0x2a217c)&&(_0x2a217c[_0x209f('0xa')]||_0x523e75[_0x209f('0x4')]?_0x2282a8&&_0x2282a8[_0x209f('0x20')]==_0x2a217c||(_0x2282a8=_0x2a217c,_0x9dfdcf(_0x8ec43a[_0x209f('0x6')]),_0x2f8d80=!0x0):_0x397718=_0x397718||_0x8ec43a['previousPosition']));}function _0x9dfdcf(_0xcd76f9){const _0x8a94da=_0xb0fa19['writer']['createUIElement'](_0x209f('0x1f'),{'class':_0x209f('0x14')+_0x1164d0}),_0x504c98=_0xb0fa19[_0x209f('0x2')]['toViewPosition'](_0xcd76f9);_0x35945e&&_0x122efb[_0x209f('0x13')][_0x209f('0x7')](_0x4d4f14['markerName'])&&_0xb0fa19[_0x209f('0x5')][_0x209f('0xb')]('ck-suggestion-marker--active',_0x8a94da),_0xb0fa19[_0x209f('0x5')][_0x209f('0xf')](_0x504c98,_0x8a94da),_0xb0fa19[_0x209f('0x2')][_0x209f('0x21')](_0x8a94da,_0x4d4f14['markerName']);}_0x5693d6||_0x2f8d80||!_0x397718||_0x9dfdcf(_0x397718);};}
23
+ const _0x42bf=['bindElementToMarker','markerRange','name','ck-suggestion-marker-','listItem','test','isAtEnd','item','getItems','nextSibling','ck-suggestion-marker--active','get','addClass','hasAttribute','consumable','previousPosition','push','type','getCustomProperty','mapper','element','insert','toViewPosition','createRangeOn','isContent','elementEnd','start','isLimit','getAttribute','span','markerName','writer','getWalker','addHighlight','createUIElement','activeMarkers','includes','isBlock'];(function(_0x2219f3,_0x42bfac){const _0x25181e=function(_0x60a453){while(--_0x60a453){_0x2219f3['push'](_0x2219f3['shift']());}};_0x25181e(++_0x42bfac);}(_0x42bf,0xf3));const _0x2518=function(_0x2219f3,_0x42bfac){_0x2219f3=_0x2219f3-0x0;let _0x25181e=_0x42bf[_0x2219f3];return _0x25181e;};export function getRangesWithAttribute(_0x4084cd,_0x4f86a0,_0x21379f){const _0x3abedc=[];for(const _0x31a625 of _0x4f86a0[_0x2518('0x1f')]())_0x31a625[_0x2518('0x24')](_0x4084cd)&&_0x3abedc[_0x2518('0x1')](_0x21379f[_0x2518('0x8')](_0x31a625));return _0x3abedc;}export function getElementsAffectedByListItemRename(_0x4ed689){const _0x418230=[];if(_0x4ed689['is'](_0x2518('0x5'),_0x2518('0x1b'))){let _0x27d695=_0x4ed689['nextSibling'];for(;_0x27d695&&_0x27d695['is'](_0x2518('0x5'),_0x2518('0x1b'))&&_0x27d695[_0x2518('0xd')]('listIndent')>0x0;)_0x418230['push'](_0x27d695),_0x27d695=_0x27d695[_0x2518('0x20')];}return _0x418230;}export function downcastSplitMergeMarker(_0xb2d3dd,_0xb5a20e,{showActiveMarker:_0x545553=!0x0}={}){const _0x49ac18=_0xb2d3dd['plugins'][_0x2518('0x22')]('TrackChangesEditing');return(_0x4906c3,_0x75a43f,_0x1bd4b5)=>{if(!_0x1bd4b5[_0x2518('0x25')][_0x2518('0x1c')](_0x75a43f[_0x2518('0x18')],_0x4906c3[_0x2518('0x19')]))return;const _0xca5336=_0x75a43f['markerRange'][_0x2518('0x11')](),_0x37b4d1=_0x75a43f[_0x2518('0x18')][_0x2518('0xb')],_0x5cb62a=_0xb2d3dd['model']['schema'];let _0x61bc32=null,_0x18d41a=null,_0x1851fc=!0x1,_0x2581d5=!0x1;for(const _0x1e4c24 of _0xca5336){const _0x2ac0bc=_0x1e4c24[_0x2518('0x1e')];_0x1851fc=_0x1851fc||_0x5cb62a[_0x2518('0x9')](_0x2ac0bc);const _0xd2980f=_0x1bd4b5['mapper']['toViewElement'](_0x2ac0bc);if(_0xd2980f&&_0xd2980f[_0x2518('0x3')](_0x2518('0x12')))return;_0x2518('0xa')==_0x1e4c24[_0x2518('0x2')]&&(_0x5cb62a[_0x2518('0x16')](_0x2ac0bc)&&!_0x5cb62a[_0x2518('0xc')](_0x2ac0bc)&&(_0x2ac0bc[_0x2518('0x20')]||_0x37b4d1[_0x2518('0x1d')]?_0x61bc32&&_0x61bc32['parent']==_0x2ac0bc||(_0x61bc32=_0x2ac0bc,_0x1b7dbd(_0x1e4c24['previousPosition']),_0x2581d5=!0x0):_0x18d41a=_0x18d41a||_0x1e4c24[_0x2518('0x0')]));}function _0x1b7dbd(_0x20970c){const _0x506895=_0x1bd4b5[_0x2518('0x10')][_0x2518('0x13')](_0x2518('0xe'),{'class':_0x2518('0x1a')+_0xb5a20e}),_0x1c273b=_0x1bd4b5[_0x2518('0x4')][_0x2518('0x7')](_0x20970c);_0x545553&&_0x49ac18[_0x2518('0x14')][_0x2518('0x15')](_0x75a43f['markerName'])&&_0x1bd4b5[_0x2518('0x10')][_0x2518('0x23')](_0x2518('0x21'),_0x506895),_0x1bd4b5[_0x2518('0x10')][_0x2518('0x6')](_0x1c273b,_0x506895),_0x1bd4b5[_0x2518('0x4')][_0x2518('0x17')](_0x506895,_0x75a43f[_0x2518('0xf')]);}_0x1851fc||_0x2581d5||!_0x18d41a||_0x1b7dbd(_0x18d41a);};}