@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20231103.0 → 0.0.0-nightly-20231105.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 (66) hide show
  1. package/LICENSE.md +3 -3
  2. package/build/track-changes.js +1 -1
  3. package/package.json +3 -3
  4. package/src/commands/acceptsuggestioncommand.js +1 -1
  5. package/src/commands/discardsuggestioncommand.js +1 -1
  6. package/src/commands/executeonallsuggestionscommand.js +1 -1
  7. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  8. package/src/commands/trackchangescommand.js +1 -1
  9. package/src/integrations/aiassistant.js +1 -1
  10. package/src/integrations/alignment.js +1 -1
  11. package/src/integrations/basicstyles.js +1 -1
  12. package/src/integrations/blockquote.js +1 -1
  13. package/src/integrations/ckbox.js +1 -1
  14. package/src/integrations/codeblock.js +1 -1
  15. package/src/integrations/comments.js +1 -1
  16. package/src/integrations/deletecommand.js +1 -1
  17. package/src/integrations/documentlist.js +1 -1
  18. package/src/integrations/documentlistproperties.js +1 -1
  19. package/src/integrations/entercommand.js +1 -1
  20. package/src/integrations/findandreplace.js +1 -1
  21. package/src/integrations/font.js +1 -1
  22. package/src/integrations/formatpainter.js +1 -1
  23. package/src/integrations/heading.js +1 -1
  24. package/src/integrations/highlight.js +1 -1
  25. package/src/integrations/horizontalline.js +1 -1
  26. package/src/integrations/htmlembed.js +1 -1
  27. package/src/integrations/image.js +1 -1
  28. package/src/integrations/imagereplace.js +1 -1
  29. package/src/integrations/importword.js +1 -1
  30. package/src/integrations/indent.js +1 -1
  31. package/src/integrations/inputcommand.js +1 -1
  32. package/src/integrations/link.js +1 -1
  33. package/src/integrations/list.js +1 -1
  34. package/src/integrations/listproperties.js +1 -1
  35. package/src/integrations/mediaembed.js +1 -1
  36. package/src/integrations/mention.js +1 -1
  37. package/src/integrations/pagebreak.js +1 -1
  38. package/src/integrations/paragraph.js +1 -1
  39. package/src/integrations/removeformat.js +1 -1
  40. package/src/integrations/restrictededitingmode.js +1 -1
  41. package/src/integrations/shiftentercommand.js +1 -1
  42. package/src/integrations/standardeditingmode.js +1 -1
  43. package/src/integrations/style.js +1 -1
  44. package/src/integrations/table.js +1 -1
  45. package/src/integrations/tablecaption.js +1 -1
  46. package/src/integrations/tableclipboard.js +1 -1
  47. package/src/integrations/tablecolumnresize.js +1 -1
  48. package/src/integrations/tableheadings.js +1 -1
  49. package/src/integrations/tablemergesplit.js +1 -1
  50. package/src/integrations/tableofcontents.js +1 -1
  51. package/src/integrations/tableproperties.js +1 -1
  52. package/src/integrations/template.js +1 -1
  53. package/src/integrations/title.js +1 -1
  54. package/src/integrations/undo.js +1 -1
  55. package/src/integrations/utils.js +1 -1
  56. package/src/suggestion.js +1 -1
  57. package/src/suggestiondescriptionfactory.js +1 -1
  58. package/src/trackchanges.js +1 -1
  59. package/src/trackchangesdata.js +1 -1
  60. package/src/trackchangesediting.js +1 -1
  61. package/src/trackchangesui.js +1 -1
  62. package/src/ui/suggestioncontroller.js +1 -1
  63. package/src/ui/view/basesuggestionthreadview.js +1 -1
  64. package/src/ui/view/suggestionthreadview.js +1 -1
  65. package/src/utils/common-translations.js +1 -1
  66. package/src/utils/utils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3862=['deletion','markers','low','editor','getColumns','cell','plugins','TableUtils','filter','oldRange','document','tableCellHorizontalAlignment','differ','start','suggestionUnloaded','elementToElement','getChild','insertContent','push','unwrap','return','register','_isForcedDefaultExecutionBlock','get','includes','suggestionLoaded','high','updateMarker','createTableWalker','paragraph','add','selection','tablePaste','join','end','registerCustomCallback','subType','tableCell','tableCellBorderStyle','createRangeOn','previous','createRangeIn','listenTo','createRange','from','fromEntries','tableCellVerticalAlignment','_getCoordsForCells','insertion','accept','afterInit','registerPostFixer','discard','documentSelection','tablePasteChainId','tableCellBackgroundColor','getItems','hasSuggestion','getSuggestionCallback','next','markMultiRangeBlockFormat','getRanges','position','rows','nodeAfter','Users','schema','element','markerToHighlight','row','map','createElement','markMultiRangeDeletion','setAttribute','remove','tablePasteCell','has','columnInsertionIndexes','dataDowncast','getAllAdjacentSuggestions','nextSibling','requires','conversion','isEqual','getSelectionAffectedTableCells','registerDescriptionCallback','_createdBatches','getSuggestions','keys','change','model','startsWith','set','isEmpty','name','table','newRange','insertRows','containsRange','rowInsertionIndexes','commands','_suggestionFactory','TrackChangesEditing','showSuggestionHighlights','tableCellBorderWidth','getChanges','stop','author','ck-suggestion-marker-insertion','endRow','endColumn','deletionRanges','for','content','forceDefaultExecution','getChildren','tableCellSuggestion','markMultiRangeInsertion','attributes','suggestion:formatBlock:tablePasteCell','getShiftedBy','value','some','cells','getTableIfOnlyTableInContent','previousSibling','editing','getSuggestion','removeRows','rootName','every','find','reduce','first','createPositionBefore','TableClipboard','markerName','tablePasteColumn','editingDowncast','_splitMarkerName','insert','removeMarker','getMarkers','fill','tablePasteRow','move','redo','getRows','getContainedElement','insertColumns','column','_descriptionFactory','suggestion','formatBlock','markerAttributes','view','getChangedMarkers','isInContent','_tablePostFixingSubtypes','length','getRange','activeMarkers','findAncestor','columns','suggestion-td','batch','_replaceTableSlotCell','last','locale'];(function(_0x44aecd,_0x38622e){const _0x28c9e0=function(_0x255b1e){while(--_0x255b1e){_0x44aecd['push'](_0x44aecd['shift']());}};_0x28c9e0(++_0x38622e);}(_0x3862,0x184));const _0x28c9=function(_0x44aecd,_0x38622e){_0x44aecd=_0x44aecd-0x0;let _0x28c9e0=_0x3862[_0x44aecd];return _0x28c9e0;};import{getTranslation as _0x6f4cb8}from'../utils/common-translations';import{Plugin as _0x38c12e}from'ckeditor5/src/core';import{uid as _0x2c7fe8,priorities as _0x377691}from'ckeditor5/src/utils';import _0x25a472 from'./table';const le=[_0x28c9('0x36'),'tableCellBorderColor',_0x28c9('0x9d'),_0x28c9('0x82'),_0x28c9('0xa5'),_0x28c9('0x5'),'tableCellPadding'],ae=Object[_0x28c9('0xa4')](le[_0x28c9('0x14')](_0x308f54=>[_0x308f54,null]));export default class wt extends _0x38c12e{static get[_0x28c9('0x1f')](){return[_0x25a472];}[_0x28c9('0x0')](){const _0x4585d3=this[_0x28c9('0x7a')];if(!_0x4585d3[_0x28c9('0x7d')]['has'](_0x28c9('0x55')))return;const _0xef5e97=_0x4585d3[_0x28c9('0x7d')][_0x28c9('0x8e')](_0x28c9('0x34')),_0x45e433=_0x4585d3[_0x28c9('0x7d')]['get'](_0x28c9('0x7e')),_0x368641=_0x4585d3[_0x28c9('0x7d')][_0x28c9('0x8e')](_0x25a472),_0x38eb3c=_0x4585d3['plugins'][_0x28c9('0x8e')](_0x28c9('0x55'));_0x368641[_0x28c9('0x6c')]['push'](_0x28c9('0x5e'),_0x28c9('0x57')),_0x4585d3[_0x28c9('0x28')][_0x28c9('0x10')][_0x28c9('0x8c')]('tableCellSuggestion',{'allowIn':_0x28c9('0x9c'),'allowContentOf':_0x28c9('0x9c'),'isLimit':!0x0}),_0x4585d3[_0x28c9('0x20')][_0x28c9('0x86')]({'model':'tableCellSuggestion','view':_0x28c9('0x72')});let _0x2230f1=null;_0x4585d3[_0x28c9('0x28')]['on']('insertContent',(_0x38a04c,_0x168ba7)=>{const [_0x430f5d,_0x5f1e4f]=_0x168ba7,_0x292ae2=_0x168ba7[_0x168ba7[_0x28c9('0x6d')]-0x1];_0x292ae2&&_0x292ae2[_0x28c9('0x40')]||_0xef5e97[_0x28c9('0x8d')]||this[_0x28c9('0x7a')][_0x28c9('0x32')][_0x28c9('0x8e')]('trackChanges')[_0x28c9('0x47')]&&function(_0x25fe26,_0x1787e7,_0xb85c7e,_0x3b02cc,_0xea42a8){if(_0x1787e7&&!_0x1787e7['is'](_0x28c9('0x3')))return!0x1;const _0x3f8556=_0xea42a8[_0x28c9('0x4a')](_0x25fe26,_0xb85c7e);if(!_0x3f8556||!fe(_0x3f8556,void 0x0,_0x3b02cc))return!0x1;const _0x1c139b=_0x3b02cc[_0x28c9('0x22')](_0xb85c7e[_0x28c9('0x81')][_0x28c9('0x96')]);if(!_0x1c139b['length'])return!0x1;const _0x5bbd5a=_0x1c139b[0x0][_0x28c9('0x70')]('table'),_0x1e7b1b=_0x3b02cc['getRowIndexes'](_0x1c139b),_0x2582e1=_0x3b02cc['getColumnIndexes'](_0x1c139b),_0x47f1be={'startRow':_0x1e7b1b[_0x28c9('0x53')],'endRow':_0x1e7b1b[_0x28c9('0x75')],'startColumn':_0x2582e1['first'],'endColumn':_0x2582e1['last']};return 0x1==_0x1c139b[_0x28c9('0x6d')]&&(_0x47f1be[_0x28c9('0x3b')]+=_0x3b02cc[_0x28c9('0x61')](_0x3f8556)-0x1,_0x47f1be[_0x28c9('0x3c')]+=_0x3b02cc[_0x28c9('0x7b')](_0x3f8556)-0x1),fe(_0x5bbd5a,_0x47f1be,_0x3b02cc);}(_0x430f5d,_0x5f1e4f,_0x4585d3[_0x28c9('0x28')],_0x45e433,_0x38eb3c)&&(_0x38a04c[_0x28c9('0x38')](),_0x2230f1={'cells':[],'insertionRanges':[],'deletionRanges':[],'rowInsertionRanges':[],'rowInsertionIndexes':[],'columnInsertionRanges':[],'columnInsertionIndexes':[]},_0x4585d3['model'][_0x28c9('0x27')](()=>{_0x4585d3['model'][_0x28c9('0x88')](_0x168ba7[0x0],_0x168ba7[0x1],_0x168ba7[0x2],{'forceDefaultExecution':!0x0});const _0x280914=_0x2c7fe8(),{rowInsertionRanges:_0x167c17,columnInsertionRanges:_0x1ef5a7,insertionRanges:_0x3d015a,deletionRanges:_0x235850,cells:_0x3a2e03}=_0x2230f1;_0x167c17[_0x28c9('0x6d')]&&_0xef5e97[_0x28c9('0x43')](_0x167c17,_0x28c9('0x5e'),{'tablePasteChainId':_0x280914}),_0x1ef5a7['length']&&_0xef5e97[_0x28c9('0x43')](_0x1ef5a7,_0x28c9('0x57'),{'tablePasteChainId':_0x280914}),_0x3d015a['length']&&_0xef5e97[_0x28c9('0x43')](_0x3d015a,'tablePaste',{'tablePasteChainId':_0x280914,'skipNestingCheck':!0x0}),_0x235850[_0x28c9('0x6d')]&&_0xef5e97[_0x28c9('0x16')](_0x235850,'tablePaste',{'tablePasteChainId':_0x280914,'skipNestingCheck':!0x0});const _0x3747c1=_0xef5e97[_0x28c9('0xa')](_0x3a2e03['map'](({element:_0x310180})=>_0x310180),{'formatGroupId':_0x2c7fe8()},[],_0x28c9('0x19'),{'tablePasteChainId':_0x280914});if(_0x3747c1){const _0x2f7d1d=_0x3747c1[_0x28c9('0x5c')](),_0x5dd47b=[];for(const {element:_0x5b252b,attributes:_0x3a96b5}of _0x3a2e03){if(!_0x3a96b5)continue;const _0x3d3399=_0x4585d3[_0x28c9('0x28')][_0x28c9('0x9e')](_0x5b252b),_0x49444e=_0x2f7d1d[_0x28c9('0x51')](_0x505fdb=>_0x505fdb[_0x28c9('0x6e')]()[_0x28c9('0x21')](_0x3d3399));_0x49444e&&_0x5dd47b[_0x28c9('0x89')]([_0x49444e[_0x28c9('0x2c')],_0x3a96b5]);}_0x5dd47b[_0x28c9('0x6d')]&&_0x3747c1[_0x28c9('0x17')](_0x28c9('0x68'),Object[_0x28c9('0xa4')](_0x5dd47b));}_0x2230f1=null;}));},{'priority':_0x377691[_0x28c9('0x91')]+0xa}),_0x4585d3[_0x28c9('0x7d')][_0x28c9('0x8e')]('TableClipboard')['on'](_0x28c9('0x74'),(_0x3067cd,_0x5807f6)=>{const [_0x309aa8,_0x33a726,,_0x44c87c]=_0x5807f6;if(!_0x2230f1)return;_0x3067cd[_0x28c9('0x38')]();const _0x15f1e2=_0x309aa8[_0x28c9('0x7c')],_0x1c50f9=_0x33a726,_0x3ec4e3=ce(_0x15f1e2),_0x5b4c52=ce(_0x1c50f9);_0x3067cd[_0x28c9('0x8b')]=_0x15f1e2;let _0xbf9129=null,_0x3ca1ea=null;if(_0x5b4c52||_0x3ec4e3){if(_0x3ec4e3&&!_0x5b4c52){_0x44c87c[_0x28c9('0x18')](_0x15f1e2['getChild'](0x0));for(const _0x50b3ac of Array[_0x28c9('0xa3')](_0x1c50f9[_0x28c9('0x41')]()))_0x44c87c[_0x28c9('0x5a')](_0x50b3ac,_0x15f1e2,_0x28c9('0x99'));const _0x34726f=_0x2230f1[_0x28c9('0x31')][_0x28c9('0x8f')](_0x309aa8[_0x28c9('0x13')]),_0x11b461=_0x2230f1[_0x28c9('0x1b')][_0x28c9('0x8f')](_0x309aa8[_0x28c9('0x64')]);_0x34726f||_0x11b461||(_0xbf9129=_0x44c87c['createRangeIn'](_0x15f1e2));}else _0x5b4c52&&!_0x3ec4e3&&(_0x3ca1ea=_0x44c87c[_0x28c9('0xa0')](_0x15f1e2));}else{const _0x2d78ff=_0x44c87c['createElement'](_0x28c9('0x42')),_0x13862b=_0x44c87c[_0x28c9('0x15')](_0x28c9('0x42'));_0x44c87c['wrap'](_0x44c87c[_0x28c9('0xa0')](_0x15f1e2),_0x13862b),_0x44c87c[_0x28c9('0x5a')](_0x2d78ff,_0x15f1e2,0x0);for(const _0x236699 of Array[_0x28c9('0xa3')](_0x1c50f9[_0x28c9('0x41')]()))_0x44c87c[_0x28c9('0x5a')](_0x236699,_0x2d78ff,'end');_0xbf9129=_0x44c87c[_0x28c9('0x9e')](_0x2d78ff),_0x3ca1ea=_0x44c87c[_0x28c9('0x9e')](_0x13862b);}const _0x30a393=Array[_0x28c9('0xa3')](_0x1c50f9['getAttributes']())[_0x28c9('0x7f')](([_0xfec6f0])=>le[_0x28c9('0x8f')](_0xfec6f0));_0x2230f1[_0x28c9('0x49')]['push']({'element':_0x15f1e2,'attributes':_0x30a393[_0x28c9('0x6d')]?Object[_0x28c9('0xa4')](_0x30a393):null}),_0xbf9129&&_0x2230f1['insertionRanges'][_0x28c9('0x89')](_0xbf9129),_0x3ca1ea&&_0x2230f1[_0x28c9('0x3d')][_0x28c9('0x89')](_0x3ca1ea);},{'priority':_0x28c9('0x91')}),_0x45e433['on'](_0x28c9('0x63'),(_0x5de655,_0x585944)=>{const [_0x2a5314,_0x5bf7ab={}]=_0x585944;if(!_0x2230f1)return;const _0x4f36cd=_0x5bf7ab['at']||0x0,_0x265ede=_0x5bf7ab[_0x28c9('0x71')]||0x1;_0x2230f1['columnInsertionIndexes']=new Array(_0x265ede)[_0x28c9('0x5d')](_0x4f36cd)[_0x28c9('0x14')]((_0x547f04,_0x5a6dd6)=>_0x547f04+_0x5a6dd6);for(const {cell:_0x4cd3d8}of _0x45e433[_0x28c9('0x93')](_0x2a5314,{'startColumn':_0x4f36cd,'endColumn':_0x4f36cd+_0x265ede-0x1}))_0x2230f1['columnInsertionRanges']['push'](_0x4585d3[_0x28c9('0x28')]['createRangeOn'](_0x4cd3d8));},{'priority':_0x28c9('0x79')}),_0x45e433['on'](_0x28c9('0x2f'),(_0x1050dc,_0x2f2b51)=>{const [_0x51d2b6,_0x4cca1f={}]=_0x2f2b51;if(!_0x2230f1)return;const _0x125e1e=_0x4cca1f['at']||0x0,_0x344d0f=_0x4cca1f[_0x28c9('0xd')]||0x1;_0x2230f1[_0x28c9('0x31')]=new Array(_0x344d0f)[_0x28c9('0x5d')](_0x125e1e)[_0x28c9('0x14')]((_0x14f0b2,_0x245414)=>_0x14f0b2+_0x245414);for(const {cell:_0x341334}of _0x45e433[_0x28c9('0x93')](_0x51d2b6,{'startRow':_0x125e1e,'endRow':_0x125e1e+_0x344d0f-0x1}))_0x2230f1['rowInsertionRanges'][_0x28c9('0x89')](_0x4585d3[_0x28c9('0x28')][_0x28c9('0x9e')](_0x341334));},{'priority':'low'}),_0xef5e97[_0x28c9('0x65')][_0x28c9('0x23')](_0x216810=>{if(_0x216810[_0x28c9('0x9b')]&&_0x216810[_0x28c9('0x9b')][_0x28c9('0x29')](_0x28c9('0x97')))return _0x216810['previous']?{}:{'type':_0x28c9('0xa7'),'content':_0x6f4cb8(_0x4585d3[_0x28c9('0x76')],'*Replace\x20table\x20cells*')};});const _0x51aaec=()=>!0x1;for(const _0x1ace84 of[_0x28c9('0x97'),'tablePasteColumn',_0x28c9('0x5e'),_0x28c9('0x19')])_0xef5e97[_0x28c9('0x33')][_0x28c9('0x9a')](_0x28c9('0xa7'),_0x1ace84,_0x28c9('0x98'),_0x51aaec),_0xef5e97['_suggestionFactory'][_0x28c9('0x9a')](_0x28c9('0x77'),_0x1ace84,'join',_0x51aaec),_0xef5e97['_suggestionFactory']['registerCustomCallback']('formatBlock',_0x1ace84,_0x28c9('0x98'),_0x51aaec);_0xef5e97[_0x28c9('0x33')]['registerCustomCallback']('formatBlock','tablePasteCell',_0x28c9('0x2'),_0x51aaec),_0xef5e97[_0x28c9('0x33')][_0x28c9('0x9a')](_0x28c9('0x67'),_0x28c9('0x19'),'accept',(_0x5aec89,_0x54729d,_0x191c6d)=>{const _0x3bb88a=_0x5aec89['map'](_0x216d92=>_0x216d92['getContainedElement']())[_0x28c9('0x7f')](_0x1deb1c=>_0x1deb1c),_0x56c954=new Map(_0x3bb88a[_0x28c9('0x14')](_0x25732e=>[_0x25732e,null]));if(_0x2230f1)for(const {element:_0x4c89e5,attributes:_0x1e7d01}of _0x2230f1[_0x28c9('0x49')])_0x1e7d01&&_0x56c954[_0x28c9('0x2a')](_0x4c89e5,_0x1e7d01);else{if(_0x191c6d&&_0x191c6d[_0x28c9('0x68')])for(const [_0x5d3b8e,_0x2264c5]of Object['entries'](_0x191c6d[_0x28c9('0x68')])){const _0x371e83=_0x4585d3[_0x28c9('0x28')][_0x28c9('0x78')]['get'](_0x5d3b8e),_0x40e028=_0x371e83?_0x371e83[_0x28c9('0x6e')]()[_0x28c9('0x62')]():null;_0x40e028&&_0x56c954[_0x28c9('0x2a')](_0x40e028,_0x2264c5);}}_0x4585d3[_0x28c9('0x28')][_0x28c9('0x27')](_0x16f392=>{for(const [_0x46ebe3,_0x4eee3b]of _0x56c954)_0x16f392['setAttributes']({...ae,..._0x4eee3b},_0x46ebe3);});});const _0x4d050a=(_0x282acb,_0x17b1d7)=>{_0xef5e97['_suggestionFactory'][_0x28c9('0x9a')](_0x282acb,_0x28c9('0x97'),_0x17b1d7,(_0x5da849,_0x1402eb,_0x12e102)=>{_0x4585d3[_0x28c9('0x28')][_0x28c9('0x27')](_0x20809d=>{const _0x1e2b76=[];for(const _0x35f422 of _0x5da849){const _0x4cda66=_0x35f422[_0x28c9('0x84')][_0x28c9('0xe')];_0x4cda66['is'](_0x28c9('0x11'),'tableCellSuggestion')&&_0x1e2b76[_0x28c9('0x89')](_0x4cda66);}_0xef5e97['_suggestionFactory'][_0x28c9('0x8')](_0x282acb,null,_0x17b1d7)(_0x5da849,_0x1402eb,_0x12e102);for(const _0x17f2cb of _0x1e2b76)'$graveyard'!=_0x17f2cb['root'][_0x28c9('0x4f')]&&_0x20809d[_0x28c9('0x8a')](_0x17f2cb);});});};_0x4d050a(_0x28c9('0xa7'),_0x28c9('0xa8')),_0x4d050a('insertion',_0x28c9('0x2')),_0x4d050a(_0x28c9('0x77'),'accept'),_0x4d050a(_0x28c9('0x77'),_0x28c9('0x2')),_0xef5e97[_0x28c9('0x33')]['registerCustomCallback']('insertion','tablePasteRow','discard',_0x3df412=>{const _0x3fd298=_0x3df412['map'](_0x56ce85=>_0x56ce85[_0x28c9('0x62')]()),_0x17f72e=_0x3fd298[0x0][_0x28c9('0x70')](_0x28c9('0x2d')),{minRow:_0x29de52,maxRow:_0x230424}=_0x368641[_0x28c9('0xa6')](_0x3fd298);_0x45e433[_0x28c9('0x4e')](_0x17f72e,{'at':_0x29de52,'rows':_0x230424-_0x29de52+0x1});}),_0xef5e97[_0x28c9('0x33')][_0x28c9('0x9a')](_0x28c9('0xa7'),_0x28c9('0x57'),_0x28c9('0x2'),_0x44bacc=>{const _0x3376e4=_0x44bacc[_0x28c9('0x14')](_0x1a0930=>_0x1a0930[_0x28c9('0x62')]()),_0x33777b=_0x3376e4[0x0][_0x28c9('0x70')](_0x28c9('0x2d')),{minColumn:_0x1b66c9,maxColumn:_0x16b83e}=_0x368641[_0x28c9('0xa6')](_0x3376e4);_0x45e433['removeColumns'](_0x33777b,{'at':_0x1b66c9,'columns':_0x16b83e-_0x1b66c9+0x1});});const _0x18b541=(_0x45fb71,_0x7f37d)=>{if(!_0x7f37d['subType']||!_0x7f37d['subType'][_0x28c9('0x29')]('tablePaste'))return;const _0x31ca99=_0x7f37d[_0x28c9('0x44')][_0x28c9('0x4')],_0x2ec27d=_0xef5e97['getSuggestions']()['filter'](_0x3c7d07=>_0x3c7d07['isInContent']&&_0x3c7d07['attributes']&&_0x3c7d07['attributes'][_0x28c9('0x4')]==_0x31ca99);_0x2ec27d['length']&&_0x7f37d['getAllAdjacentSuggestions']()[_0x28c9('0x6d')]!=_0x2ec27d[_0x28c9('0x6d')]&&_0x2ec27d[_0x28c9('0x52')]((_0x4cbc0c,_0x128000)=>(_0x4cbc0c[_0x28c9('0x9')]=_0x128000,_0x128000[_0x28c9('0x9f')]=_0x4cbc0c,_0x128000));};function _0x3809fe(_0x30911f,_0x4073c5=!0x0){const {id:_0xa90dab}=_0xef5e97['_splitMarkerName'](_0x30911f[_0x28c9('0x56')]),_0x27aaa4=['ck-suggestion-marker',_0x28c9('0x3a')],_0xc340c4=_0xef5e97[_0x28c9('0x6f')][_0x28c9('0x8f')](_0x30911f[_0x28c9('0x56')]);return _0xc340c4&&_0x27aaa4[_0x28c9('0x89')]('ck-suggestion-marker--active'),{'classes':_0x27aaa4,'attributes':{'data-suggestion':_0xa90dab},'priority':_0xc340c4&&_0x4073c5?0xbc2:0xbb8};}_0xef5e97['on'](_0x28c9('0x90'),_0x18b541,{'priority':_0x28c9('0x91')}),_0xef5e97['on'](_0x28c9('0x85'),_0x18b541,{'priority':_0x28c9('0x91')}),_0x4585d3[_0x28c9('0x28')][_0x28c9('0x81')][_0x28c9('0x1')](()=>{let _0x447df4=!0x1;const _0x2c3a79=Array['from'](_0x4585d3[_0x28c9('0x28')][_0x28c9('0x81')]['differ'][_0x28c9('0x6a')]());for(const {name:_0x50669e,data:_0x13e763}of _0x2c3a79){const {group:_0x420b61,type:_0x2f4780,id:_0x64d22d}=_0xef5e97[_0x28c9('0x59')](_0x50669e);if(_0x28c9('0x66')!=_0x420b61||_0x28c9('0x77')!=_0x2f4780||_0x13e763[_0x28c9('0x80')])continue;if(!_0xef5e97[_0x28c9('0x7')](_0x64d22d))continue;const _0x45b769=_0xef5e97[_0x28c9('0x4d')](_0x64d22d)['getRanges'](),_0x3a1c1d=_0x4585d3[_0x28c9('0x7d')][_0x28c9('0x8e')](_0x28c9('0xf'))['me'];for(const _0x4a7151 of _0xef5e97[_0x28c9('0x25')]()){if(!_0x4a7151[_0x28c9('0x6b')]||_0x4a7151[_0x28c9('0x39')]!=_0x3a1c1d)continue;if(_0x28c9('0x67')!=_0x4a7151['type']||_0x28c9('0x19')!=_0x4a7151[_0x28c9('0x9b')])continue;if(_0x4a7151[_0x28c9('0xb')]()[_0x28c9('0x50')](_0x3ebca5=>_0x45b769[_0x28c9('0x48')](_0x4fd10e=>_0x4fd10e[_0x28c9('0x30')](_0x3ebca5,!0x0))))for(const _0x40e298 of _0x4a7151[_0x28c9('0x1d')]())_0x40e298[_0x28c9('0x6b')]&&(_0x40e298[_0x28c9('0x2')](),_0x447df4=!0x0);}}return _0x447df4;}),_0x4585d3[_0x28c9('0x28')][_0x28c9('0x81')][_0x28c9('0x1')](_0x29558c=>{const _0x3a2d8c=_0x4585d3[_0x28c9('0x32')]['get'](_0x28c9('0x60'));if(!_0x3a2d8c||!_0x3a2d8c[_0x28c9('0x24')]['has'](_0x29558c[_0x28c9('0x73')]))return!0x1;let _0x92317e=!0x1;const _0x273fe0=_0x4585d3[_0x28c9('0x7d')][_0x28c9('0x8e')](_0x28c9('0xf'))['me'],_0x41af4e=_0x4585d3[_0x28c9('0x28')][_0x28c9('0x81')]['differ'][_0x28c9('0x37')](),_0x550aba=Array['from'](_0x4585d3[_0x28c9('0x28')][_0x28c9('0x81')][_0x28c9('0x83')][_0x28c9('0x6a')]())[_0x28c9('0x7f')](({name:_0x3561c2,data:_0x52e7c1})=>{const {group:_0x2c92df,subType:_0x5ebf72,authorId:_0x15bff0}=_0xef5e97['_splitMarkerName'](_0x3561c2);return _0x28c9('0x66')==_0x2c92df&&_0x28c9('0x97')==_0x5ebf72&&_0x15bff0==_0x273fe0['id']&&!_0x52e7c1[_0x28c9('0x80')];});for(const _0x37bccf of _0x41af4e){if(_0x28c9('0x5a')!=_0x37bccf['type']||_0x28c9('0x42')!=_0x37bccf[_0x28c9('0x2c')]||0x1!=_0x37bccf[_0x28c9('0x6d')])continue;const _0x1c848d=_0x29558c[_0x28c9('0xa2')](_0x37bccf[_0x28c9('0xc')],_0x37bccf[_0x28c9('0xc')][_0x28c9('0x46')](0x1));if(!_0x550aba['find'](({data:_0x512c51})=>_0x512c51[_0x28c9('0x2e')][_0x28c9('0x21')](_0x1c848d)))for(const {name:_0x2eccfc,data:_0xd42cb3}of _0x550aba)if(_0x1c848d[_0x28c9('0x30')](_0xd42cb3['newRange'])){_0x29558c[_0x28c9('0x92')](_0x2eccfc,{'range':_0x1c848d}),_0x92317e=!0x0;break;}}return _0x92317e;}),_0x4585d3[_0x28c9('0x28')]['document']['registerPostFixer'](_0x197eb0=>{let _0x11e01c=!0x1;const _0xb3f0e9=_0x4585d3[_0x28c9('0x7d')]['get'](_0x28c9('0xf'))['me'],_0x425ddd=_0xef5e97[_0x28c9('0x25')]()[_0x28c9('0x7f')](_0x20d791=>_0x20d791[_0x28c9('0x6b')]&&_0x20d791['author']==_0xb3f0e9),_0x157901=new Set(),_0x67054=new Set();for(const _0x597bed of _0x425ddd)if(_0x28c9('0x97')==_0x597bed[_0x28c9('0x9b')])for(const _0x233f51 of _0x597bed['getMarkers']()){const _0x52f154=_0x233f51[_0x28c9('0x6e')]()[_0x28c9('0x62')]();if(_0x52f154){if(_0x52f154['is'](_0x28c9('0x11'),_0x28c9('0x42'))&&ce(_0x52f154)){_0x597bed[_0x28c9('0x5b')](_0x233f51[_0x28c9('0x2c')]),_0x157901[_0x28c9('0x95')](_0x52f154),_0x11e01c=!0x0;const _0x53cabd=_0x52f154[_0x28c9('0x1e')],_0x3f1e09=_0x52f154[_0x28c9('0x4b')],_0x1c6714=_0x53cabd&&_0x53cabd['is'](_0x28c9('0x11'),_0x28c9('0x42')),_0x781e3a=_0x3f1e09&&_0x3f1e09['is'](_0x28c9('0x11'),'tableCellSuggestion');_0x1c6714&&!_0x157901[_0x28c9('0x1a')](_0x53cabd)&&_0x67054[_0x28c9('0x95')](_0x53cabd),_0x781e3a&&!_0x157901[_0x28c9('0x1a')](_0x3f1e09)&&_0x67054['add'](_0x3f1e09);}else _0x52f154['is']('element',_0x28c9('0x94'))&&_0x52f154[_0x28c9('0x2b')]&&(_0x597bed[_0x28c9('0x5b')](_0x233f51[_0x28c9('0x2c')]),_0x11e01c=!0x0);}}else{if(_0x28c9('0x19')==_0x597bed['subType']){if(!_0x597bed['attributes']||!_0x597bed[_0x28c9('0x44')][_0x28c9('0x4')])continue;const _0x75b701=_0x597bed[_0x28c9('0x44')][_0x28c9('0x68')];if(_0x75b701&&Object[_0x28c9('0x26')](_0x75b701)[_0x28c9('0x6d')])continue;const _0x5db44e=_0x597bed[_0x28c9('0x44')][_0x28c9('0x4')];let _0x4012f3=!0x0,_0x625832=!0x0;for(const _0x4cefad of _0x425ddd)if(_0x4cefad['subType']&&_0x4cefad[_0x28c9('0x9b')][_0x28c9('0x29')]('tablePaste')){if(!_0x4cefad[_0x28c9('0x44')]['tablePasteChainId']){_0x625832=!0x1;break;}if(_0x4cefad['id']!=_0x597bed['id']&&_0x4cefad[_0x28c9('0x44')][_0x28c9('0x4')]==_0x5db44e){_0x4012f3=!0x1;break;}}_0x625832&&_0x4012f3&&(_0x597bed['removeMarkers'](),_0x11e01c=!0x0);}}for(const _0x489009 of _0x157901)_0x197eb0[_0x28c9('0x18')](_0x489009);for(const _0xebf30 of _0x67054)_0x197eb0[_0x28c9('0x8a')](_0xebf30);return _0x11e01c;}),_0x4585d3[_0x28c9('0x20')]['for'](_0x28c9('0x58'))[_0x28c9('0x12')]({'model':_0x28c9('0x45'),'view':(_0x21aab5,_0x2db691)=>_0x3809fe(_0x21aab5),'converterPriority':_0x28c9('0x91')}),_0x4585d3['conversion'][_0x28c9('0x3e')](_0x28c9('0x1c'))[_0x28c9('0x12')]({'model':_0x28c9('0x45'),'view':(_0x5b2ebf,_0x9400f)=>_0x9400f['options'][_0x28c9('0x35')]?_0x3809fe(_0x5b2ebf,!0x1):null,'converterPriority':_0x28c9('0x91')});const _0x1f79b0=_0x4585d3[_0x28c9('0x4c')][_0x28c9('0x69')];this[_0x28c9('0xa1')](_0x1f79b0[_0x28c9('0x81')],'clipboardOutput',(_0x1a9489,_0x25f9c4)=>{const _0x45f98a=[];for(const _0x5df3b3 of _0x1f79b0[_0x28c9('0xa0')](_0x25f9c4[_0x28c9('0x3f')])[_0x28c9('0x6')]())_0x5df3b3['is']('element','suggestion-td')&&_0x45f98a[_0x28c9('0x89')](_0x5df3b3);_0x1f79b0['change'](_0x128ff4=>{for(const _0x10ebed of _0x45f98a)_0x128ff4[_0x28c9('0x5f')](_0x128ff4[_0x28c9('0xa0')](_0x10ebed),_0x128ff4[_0x28c9('0x54')](_0x10ebed)),_0x128ff4['remove'](_0x10ebed);});});}}function ce(_0x4c6abf){if(_0x4c6abf['isEmpty'])return!0x0;const _0x27c509=_0x4c6abf[_0x28c9('0x87')](0x0);return _0x27c509['is'](_0x28c9('0x11'),_0x28c9('0x94'))&&_0x27c509[_0x28c9('0x2b')];}function fe(_0x11b6ef,_0x226380={},_0x49e04d){for(const {isAnchor:_0xbe0727,cellHeight:_0xe2cc1c,cellWidth:_0x512f7d}of _0x49e04d['createTableWalker'](_0x11b6ef,{'includeAllSlots':!0x0,..._0x226380}))if(!_0xbe0727||0x1!=_0xe2cc1c||0x1!=_0x512f7d)return!0x1;return!0x0;}
23
+ const _0x104f=['markerName','fromEntries','_tablePostFixingSubtypes','registerPostFixer','markMultiRangeBlockFormat','createPositionBefore','model','columnInsertionRanges','createRangeOn','suggestion-td','getColumns','editor','from','suggestionLoaded','paragraph','clipboardOutput','find','author','hasSuggestion','editingDowncast','Users','subType','TableClipboard','elementToElement','ck-suggestion-marker-insertion','next','endColumn','removeMarkers','afterInit','nextSibling','tablePasteColumn','markers','getRowIndexes','createRangeIn','activeMarkers','_isForcedDefaultExecutionBlock','isEqual','first','join','findAncestor','suggestion:formatBlock:tablePasteCell','getChangedMarkers','entries','isEmpty','schema','insert','get','createTableWalker','getMarkers','rowInsertionIndexes','tableCell','tableCellBorderStyle','getSuggestions','listenTo','oldRange','_getCoordsForCells','name','markerAttributes','tableCellBorderWidth','set','insertContent','options','discard','markMultiRangeInsertion','insertColumns','document','getContainedElement','$graveyard','locale','tableCellSuggestion','getRange','updateMarker','batch','TrackChangesEditing','nodeAfter','createElement','ck-suggestion-marker','cells','tableCellHorizontalAlignment','fill','plugins','accept','commands','low','setAttributes','_suggestionFactory','markerToHighlight','has','insertion','column','content','some','_splitMarkerName','tableCellPadding','_replaceTableSlotCell','for','high','includes','_descriptionFactory','tablePasteChainId','cell','element','getSuggestion','previous','differ','isInContent','removeMarker','view','deletion','formatBlock','getChildren','dataDowncast','getTableIfOnlyTableInContent','newRange','start','*Replace\x20table\x20cells*','getAllAdjacentSuggestions','attributes','startsWith','requires','add','getColumnIndexes','tablePaste','table','_createdBatches','editing','register','endRow','tablePasteRow','getItems','ck-suggestion-marker--active','removeColumns','getRanges','stop','wrap','documentSelection','type','registerCustomCallback','position','map','markMultiRangeDeletion','suggestion','showSuggestionHighlights','every','getAttributes','conversion','tablePasteCell','columnInsertionIndexes','length','filter','containsRange','getSuggestionCallback','change','rowInsertionRanges','registerDescriptionCallback','columns','push','rows','getSelectionAffectedTableCells','removeRows','end','remove','getChanges','getChild','row'];(function(_0x3998fa,_0x104f35){const _0xd8b61e=function(_0x132284){while(--_0x132284){_0x3998fa['push'](_0x3998fa['shift']());}};_0xd8b61e(++_0x104f35);}(_0x104f,0x156));const _0xd8b6=function(_0x3998fa,_0x104f35){_0x3998fa=_0x3998fa-0x0;let _0xd8b61e=_0x104f[_0x3998fa];return _0xd8b61e;};import{getTranslation as _0x37fa70}from'../utils/common-translations';import{Plugin as _0x5d380b}from'ckeditor5/src/core';import{uid as _0x233263,priorities as _0x4d2f04}from'ckeditor5/src/utils';import _0x3b16f1 from'./table';const le=[_0xd8b6('0x2e'),'tableCellBorderColor',_0xd8b6('0x27'),_0xd8b6('0x42'),'tableCellVerticalAlignment','tableCellBackgroundColor',_0xd8b6('0x51')],ae=Object[_0xd8b6('0x9a')](le[_0xd8b6('0x7f')](_0x31f68a=>[_0x31f68a,null]));export default class wt extends _0x5d380b{static get[_0xd8b6('0x6b')](){return[_0x3b16f1];}[_0xd8b6('0x10')](){const _0x20e6cd=this[_0xd8b6('0xa4')];if(!_0x20e6cd[_0xd8b6('0x44')][_0xd8b6('0x4b')](_0xd8b6('0xa')))return;const _0x37adb5=_0x20e6cd[_0xd8b6('0x44')]['get'](_0xd8b6('0x3d')),_0x1d3604=_0x20e6cd[_0xd8b6('0x44')][_0xd8b6('0x22')]('TableUtils'),_0x56449c=_0x20e6cd['plugins'][_0xd8b6('0x22')](_0x3b16f1),_0x2ea4e2=_0x20e6cd[_0xd8b6('0x44')][_0xd8b6('0x22')]('TableClipboard');_0x56449c[_0xd8b6('0x9b')][_0xd8b6('0x90')](_0xd8b6('0x74'),_0xd8b6('0x12')),_0x20e6cd[_0xd8b6('0x9f')][_0xd8b6('0x20')][_0xd8b6('0x72')](_0xd8b6('0x39'),{'allowIn':_0xd8b6('0x26'),'allowContentOf':_0xd8b6('0x26'),'isLimit':!0x0}),_0x20e6cd['conversion'][_0xd8b6('0xb')]({'model':_0xd8b6('0x39'),'view':_0xd8b6('0xa2')});let _0x796147=null;_0x20e6cd['model']['on']('insertContent',(_0x1c0adc,_0x15f2c7)=>{const [_0x5bf600,_0x48e18e]=_0x15f2c7,_0x3b7cb8=_0x15f2c7[_0x15f2c7['length']-0x1];_0x3b7cb8&&_0x3b7cb8['forceDefaultExecution']||_0x37adb5[_0xd8b6('0x17')]||this[_0xd8b6('0xa4')][_0xd8b6('0x46')][_0xd8b6('0x22')]('trackChanges')['value']&&function(_0x1e7bc3,_0x16fe41,_0x2cc1ec,_0x39cc18,_0x2c797c){if(_0x16fe41&&!_0x16fe41['is'](_0xd8b6('0x7b')))return!0x1;const _0xc4717e=_0x2c797c[_0xd8b6('0x64')](_0x1e7bc3,_0x2cc1ec);if(!_0xc4717e||!fe(_0xc4717e,void 0x0,_0x39cc18))return!0x1;const _0x59f16f=_0x39cc18[_0xd8b6('0x92')](_0x2cc1ec['document']['selection']);if(!_0x59f16f['length'])return!0x1;const _0xded24=_0x59f16f[0x0]['findAncestor'](_0xd8b6('0x6f')),_0x4919d8=_0x39cc18[_0xd8b6('0x14')](_0x59f16f),_0x2f2433=_0x39cc18[_0xd8b6('0x6d')](_0x59f16f),_0x7c4afc={'startRow':_0x4919d8[_0xd8b6('0x19')],'endRow':_0x4919d8['last'],'startColumn':_0x2f2433[_0xd8b6('0x19')],'endColumn':_0x2f2433['last']};return 0x1==_0x59f16f[_0xd8b6('0x88')]&&(_0x7c4afc[_0xd8b6('0x73')]+=_0x39cc18['getRows'](_0xc4717e)-0x1,_0x7c4afc[_0xd8b6('0xe')]+=_0x39cc18[_0xd8b6('0xa3')](_0xc4717e)-0x1),fe(_0xded24,_0x7c4afc,_0x39cc18);}(_0x5bf600,_0x48e18e,_0x20e6cd[_0xd8b6('0x9f')],_0x1d3604,_0x2ea4e2)&&(_0x1c0adc['stop'](),_0x796147={'cells':[],'insertionRanges':[],'deletionRanges':[],'rowInsertionRanges':[],'rowInsertionIndexes':[],'columnInsertionRanges':[],'columnInsertionIndexes':[]},_0x20e6cd[_0xd8b6('0x9f')][_0xd8b6('0x8c')](()=>{_0x20e6cd['model'][_0xd8b6('0x30')](_0x15f2c7[0x0],_0x15f2c7[0x1],_0x15f2c7[0x2],{'forceDefaultExecution':!0x0});const _0x143df6=_0x233263(),{rowInsertionRanges:_0x488620,columnInsertionRanges:_0x3d0b4d,insertionRanges:_0x2cb345,deletionRanges:_0x1f02ab,cells:_0xf9951e}=_0x796147;_0x488620[_0xd8b6('0x88')]&&_0x37adb5[_0xd8b6('0x33')](_0x488620,_0xd8b6('0x74'),{'tablePasteChainId':_0x143df6}),_0x3d0b4d[_0xd8b6('0x88')]&&_0x37adb5[_0xd8b6('0x33')](_0x3d0b4d,_0xd8b6('0x12'),{'tablePasteChainId':_0x143df6}),_0x2cb345[_0xd8b6('0x88')]&&_0x37adb5['markMultiRangeInsertion'](_0x2cb345,'tablePaste',{'tablePasteChainId':_0x143df6,'skipNestingCheck':!0x0}),_0x1f02ab[_0xd8b6('0x88')]&&_0x37adb5[_0xd8b6('0x80')](_0x1f02ab,_0xd8b6('0x6e'),{'tablePasteChainId':_0x143df6,'skipNestingCheck':!0x0});const _0x19c3d7=_0x37adb5[_0xd8b6('0x9d')](_0xf9951e[_0xd8b6('0x7f')](({element:_0x1660cd})=>_0x1660cd),{'formatGroupId':_0x233263()},[],_0xd8b6('0x86'),{'tablePasteChainId':_0x143df6});if(_0x19c3d7){const _0xf373b0=_0x19c3d7[_0xd8b6('0x24')](),_0xee7aec=[];for(const {element:_0x57e5f4,attributes:_0xf9f8a8}of _0xf9951e){if(!_0xf9f8a8)continue;const _0x4ce9de=_0x20e6cd[_0xd8b6('0x9f')]['createRangeOn'](_0x57e5f4),_0x1b547e=_0xf373b0[_0xd8b6('0x4')](_0x282b25=>_0x282b25[_0xd8b6('0x3a')]()[_0xd8b6('0x18')](_0x4ce9de));_0x1b547e&&_0xee7aec['push']([_0x1b547e[_0xd8b6('0x2c')],_0xf9f8a8]);}_0xee7aec[_0xd8b6('0x88')]&&_0x19c3d7['setAttribute'](_0xd8b6('0x2d'),Object[_0xd8b6('0x9a')](_0xee7aec));}_0x796147=null;}));},{'priority':_0x4d2f04[_0xd8b6('0x54')]+0xa}),_0x20e6cd[_0xd8b6('0x44')]['get'](_0xd8b6('0xa'))['on'](_0xd8b6('0x52'),(_0x492dec,_0x544d2a)=>{const [_0x4f4ca6,_0x50ca33,,_0x35ce63]=_0x544d2a;if(!_0x796147)return;_0x492dec[_0xd8b6('0x79')]();const _0x550c45=_0x4f4ca6[_0xd8b6('0x58')],_0x1aaf09=_0x50ca33,_0x53ef02=ce(_0x550c45),_0x3e7183=ce(_0x1aaf09);_0x492dec['return']=_0x550c45;let _0x33aa9a=null,_0x871f94=null;if(_0x3e7183||_0x53ef02){if(_0x53ef02&&!_0x3e7183){_0x35ce63[_0xd8b6('0x95')](_0x550c45[_0xd8b6('0x97')](0x0));for(const _0xedc5bc of Array[_0xd8b6('0x0')](_0x1aaf09[_0xd8b6('0x62')]()))_0x35ce63[_0xd8b6('0x21')](_0xedc5bc,_0x550c45,'end');const _0x1eea6c=_0x796147[_0xd8b6('0x25')][_0xd8b6('0x55')](_0x4f4ca6[_0xd8b6('0x98')]),_0x5f0334=_0x796147[_0xd8b6('0x87')]['includes'](_0x4f4ca6[_0xd8b6('0x4d')]);_0x1eea6c||_0x5f0334||(_0x33aa9a=_0x35ce63['createRangeIn'](_0x550c45));}else _0x3e7183&&!_0x53ef02&&(_0x871f94=_0x35ce63['createRangeIn'](_0x550c45));}else{const _0x37fa49=_0x35ce63[_0xd8b6('0x3f')](_0xd8b6('0x39')),_0x2e3354=_0x35ce63[_0xd8b6('0x3f')](_0xd8b6('0x39'));_0x35ce63[_0xd8b6('0x7a')](_0x35ce63['createRangeIn'](_0x550c45),_0x2e3354),_0x35ce63[_0xd8b6('0x21')](_0x37fa49,_0x550c45,0x0);for(const _0x403672 of Array[_0xd8b6('0x0')](_0x1aaf09[_0xd8b6('0x62')]()))_0x35ce63['insert'](_0x403672,_0x37fa49,_0xd8b6('0x94'));_0x33aa9a=_0x35ce63[_0xd8b6('0xa1')](_0x37fa49),_0x871f94=_0x35ce63[_0xd8b6('0xa1')](_0x2e3354);}const _0x3757b5=Array[_0xd8b6('0x0')](_0x1aaf09[_0xd8b6('0x84')]())[_0xd8b6('0x89')](([_0x1c6bef])=>le['includes'](_0x1c6bef));_0x796147[_0xd8b6('0x41')][_0xd8b6('0x90')]({'element':_0x550c45,'attributes':_0x3757b5['length']?Object[_0xd8b6('0x9a')](_0x3757b5):null}),_0x33aa9a&&_0x796147['insertionRanges'][_0xd8b6('0x90')](_0x33aa9a),_0x871f94&&_0x796147['deletionRanges']['push'](_0x871f94);},{'priority':_0xd8b6('0x54')}),_0x1d3604['on'](_0xd8b6('0x34'),(_0x3938da,_0x14f00a)=>{const [_0x1bf90e,_0x5ee743={}]=_0x14f00a;if(!_0x796147)return;const _0x11c780=_0x5ee743['at']||0x0,_0x41e454=_0x5ee743[_0xd8b6('0x8f')]||0x1;_0x796147['columnInsertionIndexes']=new Array(_0x41e454)['fill'](_0x11c780)['map']((_0x611eb3,_0x396a7e)=>_0x611eb3+_0x396a7e);for(const {cell:_0x253195}of _0x1d3604[_0xd8b6('0x23')](_0x1bf90e,{'startColumn':_0x11c780,'endColumn':_0x11c780+_0x41e454-0x1}))_0x796147[_0xd8b6('0xa0')][_0xd8b6('0x90')](_0x20e6cd['model'][_0xd8b6('0xa1')](_0x253195));},{'priority':'low'}),_0x1d3604['on']('insertRows',(_0x52785f,_0x38f222)=>{const [_0x274969,_0x5829ef={}]=_0x38f222;if(!_0x796147)return;const _0x46e3e9=_0x5829ef['at']||0x0,_0x54d15c=_0x5829ef[_0xd8b6('0x91')]||0x1;_0x796147['rowInsertionIndexes']=new Array(_0x54d15c)[_0xd8b6('0x43')](_0x46e3e9)['map']((_0x370734,_0x3a766b)=>_0x370734+_0x3a766b);for(const {cell:_0x1a9d9d}of _0x1d3604['createTableWalker'](_0x274969,{'startRow':_0x46e3e9,'endRow':_0x46e3e9+_0x54d15c-0x1}))_0x796147[_0xd8b6('0x8d')]['push'](_0x20e6cd[_0xd8b6('0x9f')][_0xd8b6('0xa1')](_0x1a9d9d));},{'priority':_0xd8b6('0x47')}),_0x37adb5[_0xd8b6('0x56')][_0xd8b6('0x8e')](_0x490cd2=>{if(_0x490cd2[_0xd8b6('0x9')]&&_0x490cd2[_0xd8b6('0x9')]['startsWith']('tablePaste'))return _0x490cd2[_0xd8b6('0x5b')]?{}:{'type':'insertion','content':_0x37fa70(_0x20e6cd[_0xd8b6('0x38')],_0xd8b6('0x67'))};});const _0x1721df=()=>!0x1;for(const _0x591c8f of[_0xd8b6('0x6e'),_0xd8b6('0x12'),_0xd8b6('0x74'),'tablePasteCell'])_0x37adb5['_suggestionFactory']['registerCustomCallback'](_0xd8b6('0x4c'),_0x591c8f,_0xd8b6('0x1a'),_0x1721df),_0x37adb5[_0xd8b6('0x49')][_0xd8b6('0x7d')]('deletion',_0x591c8f,_0xd8b6('0x1a'),_0x1721df),_0x37adb5[_0xd8b6('0x49')]['registerCustomCallback'](_0xd8b6('0x61'),_0x591c8f,_0xd8b6('0x1a'),_0x1721df);_0x37adb5[_0xd8b6('0x49')][_0xd8b6('0x7d')]('formatBlock',_0xd8b6('0x86'),_0xd8b6('0x32'),_0x1721df),_0x37adb5['_suggestionFactory']['registerCustomCallback'](_0xd8b6('0x61'),_0xd8b6('0x86'),_0xd8b6('0x45'),(_0xc632e,_0xd1cde1,_0x32758b)=>{const _0x3fca06=_0xc632e['map'](_0x3b95ee=>_0x3b95ee[_0xd8b6('0x36')]())[_0xd8b6('0x89')](_0x1dd6f1=>_0x1dd6f1),_0x475341=new Map(_0x3fca06['map'](_0x4fadd2=>[_0x4fadd2,null]));if(_0x796147)for(const {element:_0x10cf67,attributes:_0x5ae627}of _0x796147['cells'])_0x5ae627&&_0x475341['set'](_0x10cf67,_0x5ae627);else{if(_0x32758b&&_0x32758b[_0xd8b6('0x2d')])for(const [_0x5b2cf4,_0x1511f1]of Object[_0xd8b6('0x1e')](_0x32758b['markerAttributes'])){const _0x32a893=_0x20e6cd[_0xd8b6('0x9f')][_0xd8b6('0x13')]['get'](_0x5b2cf4),_0x4c9ff5=_0x32a893?_0x32a893[_0xd8b6('0x3a')]()[_0xd8b6('0x36')]():null;_0x4c9ff5&&_0x475341[_0xd8b6('0x2f')](_0x4c9ff5,_0x1511f1);}}_0x20e6cd[_0xd8b6('0x9f')][_0xd8b6('0x8c')](_0x3231c1=>{for(const [_0x49fe87,_0x43f070]of _0x475341)_0x3231c1[_0xd8b6('0x48')]({...ae,..._0x43f070},_0x49fe87);});});const _0x56d260=(_0x3660b4,_0x404b49)=>{_0x37adb5[_0xd8b6('0x49')][_0xd8b6('0x7d')](_0x3660b4,'tablePaste',_0x404b49,(_0x2e7e01,_0xb225ea,_0x400ae2)=>{_0x20e6cd[_0xd8b6('0x9f')][_0xd8b6('0x8c')](_0x28f7f1=>{const _0x5bfc56=[];for(const _0x3896a9 of _0x2e7e01){const _0x17e835=_0x3896a9[_0xd8b6('0x66')][_0xd8b6('0x3e')];_0x17e835['is'](_0xd8b6('0x59'),_0xd8b6('0x39'))&&_0x5bfc56[_0xd8b6('0x90')](_0x17e835);}_0x37adb5[_0xd8b6('0x49')][_0xd8b6('0x8b')](_0x3660b4,null,_0x404b49)(_0x2e7e01,_0xb225ea,_0x400ae2);for(const _0x4db946 of _0x5bfc56)_0xd8b6('0x37')!=_0x4db946['root']['rootName']&&_0x28f7f1['unwrap'](_0x4db946);});});};_0x56d260(_0xd8b6('0x4c'),_0xd8b6('0x45')),_0x56d260(_0xd8b6('0x4c'),'discard'),_0x56d260(_0xd8b6('0x60'),_0xd8b6('0x45')),_0x56d260('deletion',_0xd8b6('0x32')),_0x37adb5[_0xd8b6('0x49')][_0xd8b6('0x7d')](_0xd8b6('0x4c'),_0xd8b6('0x74'),_0xd8b6('0x32'),_0x1756c5=>{const _0x573f9d=_0x1756c5[_0xd8b6('0x7f')](_0x18f75d=>_0x18f75d['getContainedElement']()),_0x4e1608=_0x573f9d[0x0][_0xd8b6('0x1b')](_0xd8b6('0x6f')),{minRow:_0x28e74e,maxRow:_0x124cb4}=_0x56449c[_0xd8b6('0x2b')](_0x573f9d);_0x1d3604[_0xd8b6('0x93')](_0x4e1608,{'at':_0x28e74e,'rows':_0x124cb4-_0x28e74e+0x1});}),_0x37adb5[_0xd8b6('0x49')][_0xd8b6('0x7d')]('insertion',_0xd8b6('0x12'),_0xd8b6('0x32'),_0x115444=>{const _0x13161c=_0x115444[_0xd8b6('0x7f')](_0x1d087d=>_0x1d087d['getContainedElement']()),_0x271cb5=_0x13161c[0x0][_0xd8b6('0x1b')](_0xd8b6('0x6f')),{minColumn:_0x19f922,maxColumn:_0x165d1c}=_0x56449c['_getCoordsForCells'](_0x13161c);_0x1d3604[_0xd8b6('0x77')](_0x271cb5,{'at':_0x19f922,'columns':_0x165d1c-_0x19f922+0x1});});const _0x1f93bc=(_0x38ac4b,_0x4afb54)=>{if(!_0x4afb54[_0xd8b6('0x9')]||!_0x4afb54[_0xd8b6('0x9')][_0xd8b6('0x6a')]('tablePaste'))return;const _0xb4a2ff=_0x4afb54['attributes']['tablePasteChainId'],_0x2b9c22=_0x37adb5[_0xd8b6('0x28')]()['filter'](_0x59a095=>_0x59a095[_0xd8b6('0x5d')]&&_0x59a095[_0xd8b6('0x69')]&&_0x59a095['attributes']['tablePasteChainId']==_0xb4a2ff);_0x2b9c22[_0xd8b6('0x88')]&&_0x4afb54[_0xd8b6('0x68')]()[_0xd8b6('0x88')]!=_0x2b9c22[_0xd8b6('0x88')]&&_0x2b9c22['reduce']((_0x2b277a,_0x50387d)=>(_0x2b277a[_0xd8b6('0xd')]=_0x50387d,_0x50387d[_0xd8b6('0x5b')]=_0x2b277a,_0x50387d));};function _0x532625(_0x461142,_0x3471f5=!0x0){const {id:_0x28a11c}=_0x37adb5[_0xd8b6('0x50')](_0x461142[_0xd8b6('0x99')]),_0x37f9ca=[_0xd8b6('0x40'),_0xd8b6('0xc')],_0x27798f=_0x37adb5[_0xd8b6('0x16')]['includes'](_0x461142['markerName']);return _0x27798f&&_0x37f9ca[_0xd8b6('0x90')](_0xd8b6('0x76')),{'classes':_0x37f9ca,'attributes':{'data-suggestion':_0x28a11c},'priority':_0x27798f&&_0x3471f5?0xbc2:0xbb8};}_0x37adb5['on'](_0xd8b6('0x1'),_0x1f93bc,{'priority':_0xd8b6('0x54')}),_0x37adb5['on']('suggestionUnloaded',_0x1f93bc,{'priority':_0xd8b6('0x54')}),_0x20e6cd[_0xd8b6('0x9f')][_0xd8b6('0x35')][_0xd8b6('0x9c')](()=>{let _0xa9c12d=!0x1;const _0x56af8e=Array['from'](_0x20e6cd[_0xd8b6('0x9f')]['document']['differ'][_0xd8b6('0x1d')]());for(const {name:_0x1918c6,data:_0x137201}of _0x56af8e){const {group:_0x1bcdca,type:_0x5c4e49,id:_0x1f8219}=_0x37adb5[_0xd8b6('0x50')](_0x1918c6);if('suggestion'!=_0x1bcdca||'deletion'!=_0x5c4e49||_0x137201[_0xd8b6('0x2a')])continue;if(!_0x37adb5[_0xd8b6('0x6')](_0x1f8219))continue;const _0x31197f=_0x37adb5[_0xd8b6('0x5a')](_0x1f8219)[_0xd8b6('0x78')](),_0x429a66=_0x20e6cd[_0xd8b6('0x44')]['get'](_0xd8b6('0x8'))['me'];for(const _0x11aed6 of _0x37adb5[_0xd8b6('0x28')]()){if(!_0x11aed6[_0xd8b6('0x5d')]||_0x11aed6[_0xd8b6('0x5')]!=_0x429a66)continue;if(_0xd8b6('0x61')!=_0x11aed6[_0xd8b6('0x7c')]||_0xd8b6('0x86')!=_0x11aed6[_0xd8b6('0x9')])continue;if(_0x11aed6[_0xd8b6('0x78')]()[_0xd8b6('0x83')](_0x83c5af=>_0x31197f[_0xd8b6('0x4f')](_0x42878f=>_0x42878f[_0xd8b6('0x8a')](_0x83c5af,!0x0))))for(const _0x30093e of _0x11aed6[_0xd8b6('0x68')]())_0x30093e[_0xd8b6('0x5d')]&&(_0x30093e[_0xd8b6('0x32')](),_0xa9c12d=!0x0);}}return _0xa9c12d;}),_0x20e6cd['model'][_0xd8b6('0x35')][_0xd8b6('0x9c')](_0x3e0b9b=>{const _0x2d68d2=_0x20e6cd[_0xd8b6('0x46')][_0xd8b6('0x22')]('redo');if(!_0x2d68d2||!_0x2d68d2[_0xd8b6('0x70')][_0xd8b6('0x4b')](_0x3e0b9b[_0xd8b6('0x3c')]))return!0x1;let _0x52c31c=!0x1;const _0x5a29b6=_0x20e6cd['plugins'][_0xd8b6('0x22')](_0xd8b6('0x8'))['me'],_0x1bfe83=_0x20e6cd['model']['document']['differ'][_0xd8b6('0x96')](),_0x370620=Array['from'](_0x20e6cd['model']['document'][_0xd8b6('0x5c')][_0xd8b6('0x1d')]())[_0xd8b6('0x89')](({name:_0x544caf,data:_0x34e8e9})=>{const {group:_0x31e695,subType:_0x452aa7,authorId:_0x5ced84}=_0x37adb5[_0xd8b6('0x50')](_0x544caf);return _0xd8b6('0x81')==_0x31e695&&_0xd8b6('0x6e')==_0x452aa7&&_0x5ced84==_0x5a29b6['id']&&!_0x34e8e9[_0xd8b6('0x2a')];});for(const _0x449498 of _0x1bfe83){if(_0xd8b6('0x21')!=_0x449498[_0xd8b6('0x7c')]||_0xd8b6('0x39')!=_0x449498[_0xd8b6('0x2c')]||0x1!=_0x449498[_0xd8b6('0x88')])continue;const _0x1a59ce=_0x3e0b9b['createRange'](_0x449498['position'],_0x449498[_0xd8b6('0x7e')]['getShiftedBy'](0x1));if(!_0x370620[_0xd8b6('0x4')](({data:_0x36b656})=>_0x36b656[_0xd8b6('0x65')][_0xd8b6('0x18')](_0x1a59ce)))for(const {name:_0x4f44a3,data:_0x243c36}of _0x370620)if(_0x1a59ce['containsRange'](_0x243c36[_0xd8b6('0x65')])){_0x3e0b9b[_0xd8b6('0x3b')](_0x4f44a3,{'range':_0x1a59ce}),_0x52c31c=!0x0;break;}}return _0x52c31c;}),_0x20e6cd[_0xd8b6('0x9f')][_0xd8b6('0x35')]['registerPostFixer'](_0x5b1008=>{let _0x1e663a=!0x1;const _0x5d9b7c=_0x20e6cd[_0xd8b6('0x44')][_0xd8b6('0x22')]('Users')['me'],_0x12e992=_0x37adb5[_0xd8b6('0x28')]()['filter'](_0x17662e=>_0x17662e[_0xd8b6('0x5d')]&&_0x17662e['author']==_0x5d9b7c),_0x4de0b2=new Set(),_0x162f2b=new Set();for(const _0x15196c of _0x12e992)if('tablePaste'==_0x15196c[_0xd8b6('0x9')])for(const _0x55cfed of _0x15196c[_0xd8b6('0x24')]()){const _0x4056f1=_0x55cfed[_0xd8b6('0x3a')]()['getContainedElement']();if(_0x4056f1){if(_0x4056f1['is'](_0xd8b6('0x59'),'tableCellSuggestion')&&ce(_0x4056f1)){_0x15196c['removeMarker'](_0x55cfed[_0xd8b6('0x2c')]),_0x4de0b2['add'](_0x4056f1),_0x1e663a=!0x0;const _0x1afae1=_0x4056f1[_0xd8b6('0x11')],_0xd81bcd=_0x4056f1['previousSibling'],_0x207e7f=_0x1afae1&&_0x1afae1['is'](_0xd8b6('0x59'),'tableCellSuggestion'),_0x49fa4d=_0xd81bcd&&_0xd81bcd['is'](_0xd8b6('0x59'),'tableCellSuggestion');_0x207e7f&&!_0x4de0b2[_0xd8b6('0x4b')](_0x1afae1)&&_0x162f2b[_0xd8b6('0x6c')](_0x1afae1),_0x49fa4d&&!_0x4de0b2['has'](_0xd81bcd)&&_0x162f2b['add'](_0xd81bcd);}else _0x4056f1['is'](_0xd8b6('0x59'),_0xd8b6('0x2'))&&_0x4056f1[_0xd8b6('0x1f')]&&(_0x15196c[_0xd8b6('0x5e')](_0x55cfed['name']),_0x1e663a=!0x0);}}else{if(_0xd8b6('0x86')==_0x15196c[_0xd8b6('0x9')]){if(!_0x15196c[_0xd8b6('0x69')]||!_0x15196c['attributes'][_0xd8b6('0x57')])continue;const _0x3fc119=_0x15196c[_0xd8b6('0x69')][_0xd8b6('0x2d')];if(_0x3fc119&&Object['keys'](_0x3fc119)[_0xd8b6('0x88')])continue;const _0x224fe7=_0x15196c[_0xd8b6('0x69')][_0xd8b6('0x57')];let _0x5d9a0e=!0x0,_0xbf3f3e=!0x0;for(const _0x457a7e of _0x12e992)if(_0x457a7e[_0xd8b6('0x9')]&&_0x457a7e[_0xd8b6('0x9')][_0xd8b6('0x6a')](_0xd8b6('0x6e'))){if(!_0x457a7e[_0xd8b6('0x69')][_0xd8b6('0x57')]){_0xbf3f3e=!0x1;break;}if(_0x457a7e['id']!=_0x15196c['id']&&_0x457a7e[_0xd8b6('0x69')][_0xd8b6('0x57')]==_0x224fe7){_0x5d9a0e=!0x1;break;}}_0xbf3f3e&&_0x5d9a0e&&(_0x15196c[_0xd8b6('0xf')](),_0x1e663a=!0x0);}}for(const _0x36a42a of _0x4de0b2)_0x5b1008[_0xd8b6('0x95')](_0x36a42a);for(const _0x59a137 of _0x162f2b)_0x5b1008['unwrap'](_0x59a137);return _0x1e663a;}),_0x20e6cd[_0xd8b6('0x85')]['for'](_0xd8b6('0x7'))[_0xd8b6('0x4a')]({'model':_0xd8b6('0x1c'),'view':(_0x29bf54,_0x222ac1)=>_0x532625(_0x29bf54),'converterPriority':_0xd8b6('0x54')}),_0x20e6cd[_0xd8b6('0x85')][_0xd8b6('0x53')](_0xd8b6('0x63'))[_0xd8b6('0x4a')]({'model':_0xd8b6('0x1c'),'view':(_0x5aa1c8,_0xe6a2f3)=>_0xe6a2f3[_0xd8b6('0x31')][_0xd8b6('0x82')]?_0x532625(_0x5aa1c8,!0x1):null,'converterPriority':'high'});const _0x540128=_0x20e6cd[_0xd8b6('0x71')][_0xd8b6('0x5f')];this[_0xd8b6('0x29')](_0x540128[_0xd8b6('0x35')],_0xd8b6('0x3'),(_0x183337,_0x2e078a)=>{const _0x28a3eb=[];for(const _0x4dc0bc of _0x540128[_0xd8b6('0x15')](_0x2e078a[_0xd8b6('0x4e')])[_0xd8b6('0x75')]())_0x4dc0bc['is']('element',_0xd8b6('0xa2'))&&_0x28a3eb['push'](_0x4dc0bc);_0x540128['change'](_0x4d323a=>{for(const _0xc6fd88 of _0x28a3eb)_0x4d323a['move'](_0x4d323a[_0xd8b6('0x15')](_0xc6fd88),_0x4d323a[_0xd8b6('0x9e')](_0xc6fd88)),_0x4d323a[_0xd8b6('0x95')](_0xc6fd88);});});}}function ce(_0x4fd976){if(_0x4fd976[_0xd8b6('0x1f')])return!0x0;const _0x19d65a=_0x4fd976['getChild'](0x0);return _0x19d65a['is'](_0xd8b6('0x59'),'paragraph')&&_0x19d65a[_0xd8b6('0x1f')];}function fe(_0x40b7a7,_0x4bb1d3={},_0x5805ed){for(const {isAnchor:_0x2573a9,cellHeight:_0x46b41c,cellWidth:_0x434f7c}of _0x5805ed[_0xd8b6('0x23')](_0x40b7a7,{'includeAllSlots':!0x0,..._0x4bb1d3}))if(!_0x2573a9||0x1!=_0x46b41c||0x1!=_0x434f7c)return!0x1;return!0x0;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x7737=['TableColumnResizeEditing','resizeColumnWidths','formatBlock','subType','discard','TrackChangesEditing','getTableColumnsWidths','format','commandParams','resizeTableWidth','model','registerDescriptionCallback','editor','formatGroupId','getSuggestions','getAttribute','author','data','_suggestionFactory','handleResizeTableWidthCommand','columnWidths','get','_descriptionFactory','registerCustomCallback','resizeTable','markBlockFormat','afterInit','locale','accept','enableCommand','selection','bind','document','getSuggestionCallback','change','tableWidth','plugins','handleSuggestionDescription'];(function(_0x44150a,_0x77378){const _0x51233c=function(_0x29d3a0){while(--_0x29d3a0){_0x44150a['push'](_0x44150a['shift']());}};_0x51233c(++_0x77378);}(_0x7737,0x182));const _0x5123=function(_0x44150a,_0x77378){_0x44150a=_0x44150a-0x0;let _0x51233c=_0x7737[_0x44150a];return _0x51233c;};import{Plugin as _0x3b2f9b}from'ckeditor5/src/core';import{getTranslation as _0x5e09da}from'../utils/common-translations';export default class yt extends _0x3b2f9b{[_0x5123('0x14')](){if(!this['editor'][_0x5123('0x1e')]['has'](_0x5123('0x20')))return;const _0x1cff87=this[_0x5123('0x6')][_0x5123('0x1e')][_0x5123('0xf')](_0x5123('0x25'));_0x1cff87[_0x5123('0x17')](_0x5123('0x3'),this[_0x5123('0xd')]['bind'](this)),_0x1cff87[_0x5123('0x17')](_0x5123('0x21'),this[_0x5123('0xd')][_0x5123('0x19')](this)),_0x1cff87[_0x5123('0xc')][_0x5123('0x11')]('formatBlock',_0x5123('0x12'),_0x5123('0x16'),_0x1cff87[_0x5123('0xc')]['getSuggestionCallback']('formatBlock',null,_0x5123('0x24'))),_0x1cff87['_suggestionFactory'][_0x5123('0x11')](_0x5123('0x22'),_0x5123('0x12'),_0x5123('0x24'),_0x1cff87['_suggestionFactory'][_0x5123('0x1b')](_0x5123('0x22'),null,'accept')),_0x1cff87[_0x5123('0x10')][_0x5123('0x5')](this[_0x5123('0x1f')][_0x5123('0x19')](this));}['handleResizeTableWidthCommand'](_0x357aa5,_0x44ea1b){const _0x37f3aa=this[_0x5123('0x6')][_0x5123('0x1e')][_0x5123('0xf')](_0x5123('0x25')),_0x1833cf=this[_0x5123('0x6')][_0x5123('0x1e')][_0x5123('0xf')](_0x5123('0x20')),_0x4c3df6=_0x44ea1b['table']||this[_0x5123('0x6')][_0x5123('0x4')][_0x5123('0x1a')][_0x5123('0x18')]['getSelectedElement']();this['editor'][_0x5123('0x4')][_0x5123('0x1c')](()=>{const _0x513c2c=_0x1833cf['getColumnGroupElement'](_0x4c3df6);let _0x14825b=_0x513c2c?_0x1833cf[_0x5123('0x0')](_0x513c2c):null,_0xf8ce02=_0x4c3df6[_0x5123('0x9')](_0x5123('0x1d'))||null;const _0x587f28=_0x44ea1b[_0x5123('0x1d')]||_0xf8ce02,_0x15a551=_0x44ea1b[_0x5123('0xe')]||_0x14825b,_0x4ec5c7=this[_0x5123('0x6')][_0x5123('0x1e')][_0x5123('0xf')]('Users')['me'];for(const _0x4e9f87 of _0x37f3aa[_0x5123('0x8')]()){const _0x1b0b19=_0x4e9f87['getContainedElement']();if(_0x5123('0x12')===_0x4e9f87[_0x5123('0x23')]&&_0x1b0b19===_0x4c3df6){_0x4e9f87[_0x5123('0xa')]!==_0x4ec5c7&&_0x4e9f87['discard']();const _0x2e914e=_0x4e9f87[_0x5123('0xb')][_0x5123('0x2')];_0xf8ce02=_0x2e914e[0x0][_0x5123('0x1d')],_0x14825b=_0x2e914e[0x0]['columnWidths'];break;}}_0x357aa5({'table':_0x4c3df6,'tableWidth':_0x587f28,'columnWidths':_0x15a551}),_0x37f3aa[_0x5123('0x13')](_0x4c3df6,{'commandName':_0x5123('0x3'),'commandParams':[{'tableWidth':_0xf8ce02,'columnWidths':_0x14825b}],'formatGroupId':'resizeTable'},[],'resizeTable');});}[_0x5123('0x1f')](_0x30b18c){const {data:_0x4a38bf}=_0x30b18c;if(_0x4a38bf&&'resizeTable'===_0x4a38bf[_0x5123('0x7')]){const _0x5b691c='*Format:*\x20resize\x20table';return{'type':_0x5123('0x1'),'content':_0x5e09da(this[_0x5123('0x6')][_0x5123('0x15')],_0x5b691c)};}}}
23
+ const _0x476d=['getSuggestions','afterInit','data','resizeTable','selection','_descriptionFactory','editor','registerDescriptionCallback','tableWidth','locale','getSuggestionCallback','has','columnWidths','TrackChangesEditing','_suggestionFactory','get','change','accept','author','markBlockFormat','enableCommand','Users','handleSuggestionDescription','getTableColumnsWidths','resizeColumnWidths','model','formatBlock','getContainedElement','getSelectedElement','table','plugins','bind','registerCustomCallback','subType','TableColumnResizeEditing','handleResizeTableWidthCommand','discard','format','resizeTableWidth','getAttribute'];(function(_0x274ddb,_0x476d8f){const _0x664dbb=function(_0x45efdd){while(--_0x45efdd){_0x274ddb['push'](_0x274ddb['shift']());}};_0x664dbb(++_0x476d8f);}(_0x476d,0x109));const _0x664d=function(_0x274ddb,_0x476d8f){_0x274ddb=_0x274ddb-0x0;let _0x664dbb=_0x476d[_0x274ddb];return _0x664dbb;};import{Plugin as _0x2c185b}from'ckeditor5/src/core';import{getTranslation as _0x11b015}from'../utils/common-translations';export default class yt extends _0x2c185b{[_0x664d('0x10')](){if(!this[_0x664d('0x15')][_0x664d('0x5')][_0x664d('0x1a')](_0x664d('0x9')))return;const _0x320720=this[_0x664d('0x15')][_0x664d('0x5')][_0x664d('0x1e')](_0x664d('0x1c'));_0x320720[_0x664d('0x23')]('resizeTableWidth',this[_0x664d('0xa')][_0x664d('0x6')](this)),_0x320720[_0x664d('0x23')](_0x664d('0x27'),this[_0x664d('0xa')]['bind'](this)),_0x320720[_0x664d('0x1d')]['registerCustomCallback'](_0x664d('0x1'),'resizeTable',_0x664d('0x20'),_0x320720['_suggestionFactory']['getSuggestionCallback']('formatBlock',null,_0x664d('0xb'))),_0x320720[_0x664d('0x1d')][_0x664d('0x7')](_0x664d('0x1'),_0x664d('0x12'),_0x664d('0xb'),_0x320720[_0x664d('0x1d')][_0x664d('0x19')](_0x664d('0x1'),null,'accept')),_0x320720[_0x664d('0x14')][_0x664d('0x16')](this[_0x664d('0x25')][_0x664d('0x6')](this));}['handleResizeTableWidthCommand'](_0x4ca6c4,_0x157111){const _0xd3f67a=this['editor'][_0x664d('0x5')][_0x664d('0x1e')](_0x664d('0x1c')),_0x2990b3=this[_0x664d('0x15')][_0x664d('0x5')][_0x664d('0x1e')](_0x664d('0x9')),_0x597bd1=_0x157111[_0x664d('0x4')]||this['editor'][_0x664d('0x0')]['document'][_0x664d('0x13')][_0x664d('0x3')]();this['editor'][_0x664d('0x0')][_0x664d('0x1f')](()=>{const _0x2bcd22=_0x2990b3['getColumnGroupElement'](_0x597bd1);let _0x4226a3=_0x2bcd22?_0x2990b3[_0x664d('0x26')](_0x2bcd22):null,_0x45bafa=_0x597bd1[_0x664d('0xe')](_0x664d('0x17'))||null;const _0x381aa5=_0x157111[_0x664d('0x17')]||_0x45bafa,_0x59794a=_0x157111[_0x664d('0x1b')]||_0x4226a3,_0x37d3d4=this[_0x664d('0x15')][_0x664d('0x5')][_0x664d('0x1e')](_0x664d('0x24'))['me'];for(const _0x3b56c0 of _0xd3f67a[_0x664d('0xf')]()){const _0x4f9cc2=_0x3b56c0[_0x664d('0x2')]();if(_0x664d('0x12')===_0x3b56c0[_0x664d('0x8')]&&_0x4f9cc2===_0x597bd1){_0x3b56c0[_0x664d('0x21')]!==_0x37d3d4&&_0x3b56c0[_0x664d('0xb')]();const _0x59d8d8=_0x3b56c0[_0x664d('0x11')]['commandParams'];_0x45bafa=_0x59d8d8[0x0][_0x664d('0x17')],_0x4226a3=_0x59d8d8[0x0][_0x664d('0x1b')];break;}}_0x4ca6c4({'table':_0x597bd1,'tableWidth':_0x381aa5,'columnWidths':_0x59794a}),_0xd3f67a[_0x664d('0x22')](_0x597bd1,{'commandName':_0x664d('0xd'),'commandParams':[{'tableWidth':_0x45bafa,'columnWidths':_0x4226a3}],'formatGroupId':_0x664d('0x12')},[],'resizeTable');});}[_0x664d('0x25')](_0x497a6a){const {data:_0x1c2f17}=_0x497a6a;if(_0x1c2f17&&_0x664d('0x12')===_0x1c2f17['formatGroupId']){const _0x32628b='*Format:*\x20resize\x20table';return{'type':_0x664d('0xc'),'content':_0x11b015(this[_0x664d('0x15')][_0x664d('0x18')],_0x32628b)};}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4755=['registerCustomCallback','_acceptFormatSuggestionCallbackFactory','commandName','markerNameToElements','childCount','FORMAT_REGULAR_ROW','registerDescriptionCallback','consumable','isBefore','accept','locale','headingColumns','createPositionBefore','document','requires','stop','has','change','getCellLocation','createTableWalker','formatBlock','cell','removeClass','addClass','addMarker:suggestion','item','getSelectionAffectedTableCells','createPositionAfter','TrackChangesEditing','selection','getChild','headingRows','ck-suggestion-marker-','data-suggestion','consume','includes','highest','markerRange','commandParams','TableUtils','removeAttribute','FORMAT_HEADER_COLUMN','ck-suggestion-marker--active','markerName','toViewElement','get','nodeAfter','setTableColumnHeader','last','markBlockFormat','model','TableEditing','FORMAT_REGULAR_COLUMN','format','options','_splitMarkerName','first','afterInit','data','writer','createRange','mapper','plugins','*Format:*\x20%0','name','findAncestor','start','editing','index','end','activeMarkers','enableCommand','value','table','getAttribute','setTableRowHeader','forceValue','_descriptionFactory','commands'];(function(_0x551dea,_0x4755fb){const _0x240415=function(_0x11fa55){while(--_0x11fa55){_0x551dea['push'](_0x551dea['shift']());}};_0x240415(++_0x4755fb);}(_0x4755,0x1c9));const _0x2404=function(_0x551dea,_0x4755fb){_0x551dea=_0x551dea-0x0;let _0x240415=_0x4755[_0x551dea];return _0x240415;};import{Plugin as _0x2821ea}from'ckeditor5/src/core';import _0x4b255d from'./table';import{getTranslation as _0x1718bf}from'../utils/common-translations';export default class kt extends _0x2821ea{static get[_0x2404('0x1f')](){return[_0x4b255d];}[_0x2404('0x4a')](){const _0x2305fe=this['editor'];if(!_0x2305fe[_0x2404('0x0')][_0x2404('0x21')](_0x2404('0x44')))return;const _0x373c72=_0x2305fe[_0x2404('0x1b')],_0x513285=_0x2305fe[_0x2404('0x0')]['get'](_0x2404('0x2d')),_0x5cd89e=_0x2305fe[_0x2404('0x0')][_0x2404('0x3e')](_0x2404('0x38')),_0x347045=_0x2305fe[_0x2404('0x0')][_0x2404('0x3e')](_0x4b255d);function _0x1f2779({showActiveMarker:_0x35df88=!0x0,setDataAttribute:_0x41278d=!0x0}={}){return(_0x18c064,_0x51907b,_0x529ad5)=>{const {type:_0x3d7f5a,id:_0x87e06a}=_0x513285[_0x2404('0x48')](_0x51907b[_0x2404('0x3c')]),_0x313caf=_0x513285['getSuggestion'](_0x87e06a);if(!_0x313caf[_0x2404('0x4b')]||_0x2404('0x40')!=_0x313caf['data'][_0x2404('0x13')])return;if(_0x51907b[_0x2404('0x2a')])return void _0x18c064[_0x2404('0x20')]();if(!_0x529ad5[_0x2404('0x18')][_0x2404('0x33')](_0x51907b[_0x2404('0x36')],_0x18c064[_0x2404('0x2')]))return;const _0x511d8f=_0x51907b[_0x2404('0x36')][_0x2404('0x4')][_0x2404('0x3f')],_0x2fa66d=_0x51907b[_0x2404('0x36')][_0x2404('0x7')]['nodeBefore'],_0x50d8db=_0x511d8f['parent']['parent'],{column:_0x1f1165}=_0x5cd89e['getCellLocation'](_0x511d8f),{column:_0x5164fb}=_0x5cd89e[_0x2404('0x23')](_0x2fa66d);for(let _0x3b09be=_0x1f1165;_0x3b09be<=_0x5164fb;_0x3b09be++){const _0x49678=_0x5cd89e[_0x2404('0x24')](_0x50d8db,{'column':_0x3b09be,'includeAllSlots':!0x1});for(const _0x29a6f7 of _0x49678){const _0x2dbc49=_0x29a6f7[_0x2404('0x26')],_0x19bb1b=_0x529ad5[_0x2404('0x4e')][_0x2404('0x3d')](_0x2dbc49);_0x529ad5['writer']['addClass'](_0x2404('0x31')+_0x3d7f5a,_0x19bb1b),_0x41278d&&_0x529ad5[_0x2404('0x4c')]['setAttribute'](_0x2404('0x32'),_0x87e06a,_0x19bb1b),_0x529ad5[_0x2404('0x4e')]['bindElementToMarker'](_0x19bb1b,_0x51907b[_0x2404('0x3c')]),_0x35df88&&(_0x513285[_0x2404('0x8')][_0x2404('0x34')](_0x51907b[_0x2404('0x3c')])?_0x529ad5[_0x2404('0x4c')][_0x2404('0x28')](_0x2404('0x3b'),_0x19bb1b):_0x529ad5[_0x2404('0x4c')][_0x2404('0x27')](_0x2404('0x3b'),_0x19bb1b));}}};}_0x513285[_0x2404('0x9')]('setTableRowHeader',(_0x8cb4a0,_0x302ca8)=>{const _0x740890=_0x5cd89e[_0x2404('0x2b')](_0x2305fe[_0x2404('0x43')][_0x2404('0x1e')][_0x2404('0x2e')]),_0x4d49e8=_0x5cd89e['getRowIndexes'](_0x740890),_0x18e803=_0x740890[0x0][_0x2404('0x3')](_0x2404('0xb')),_0x44d211=_0x18e803[_0x2404('0xc')](_0x2404('0x30'))||0x0,_0x543eb9=_0x302ca8&&null!==_0x302ca8[_0x2404('0xe')]?_0x302ca8[_0x2404('0xe')]:!_0x2305fe['commands'][_0x2404('0x3e')](_0x2404('0xd'))[_0x2404('0xa')],_0x17b228=_0x543eb9?_0x4d49e8[_0x2404('0x41')]:_0x4d49e8[_0x2404('0x49')],_0x2ab472=_0x18e803[_0x2404('0x2f')](_0x17b228);let _0x48b82b;if(_0x543eb9){const _0x2bc7e3=_0x18e803[_0x2404('0x2f')](_0x44d211);if(_0x2ab472[_0x2404('0x6')]<_0x2bc7e3['index'])return;_0x48b82b=_0x2305fe[_0x2404('0x43')]['createRange'](_0x2305fe[_0x2404('0x43')][_0x2404('0x1d')](_0x2bc7e3[_0x2404('0x2f')](0x0)),_0x2305fe[_0x2404('0x43')][_0x2404('0x2c')](_0x2ab472[_0x2404('0x2f')](_0x2ab472[_0x2404('0x15')]-0x1)));}else{const _0x28d307=_0x18e803[_0x2404('0x2f')](_0x44d211-0x1);if(!_0x28d307)return;_0x48b82b=_0x2305fe[_0x2404('0x43')]['createRange'](_0x2305fe['model'][_0x2404('0x1d')](_0x2ab472['getChild'](0x0)),_0x2305fe['model'][_0x2404('0x2c')](_0x28d307['getChild'](_0x28d307[_0x2404('0x15')]-0x1)));}_0x2305fe[_0x2404('0x43')][_0x2404('0x22')](()=>{_0x513285[_0x2404('0x42')](_0x48b82b,{'commandName':_0x2404('0xd'),'commandParams':[{'forceValue':_0x543eb9}]},[],_0x2404('0xd'));});}),_0x513285[_0x2404('0x9')](_0x2404('0x40'),(_0x4265bc,_0x32cd3a)=>{const _0xbaaaa8=_0x2305fe[_0x2404('0x0')][_0x2404('0x3e')](_0x2404('0x38')),_0x13a63d=_0xbaaaa8[_0x2404('0x2b')](_0x2305fe[_0x2404('0x43')][_0x2404('0x1e')][_0x2404('0x2e')]),_0x172d11=_0xbaaaa8['getColumnIndexes'](_0x13a63d),_0xc85869=_0x13a63d[0x0][_0x2404('0x3')](_0x2404('0xb')),_0x42fb41=_0xc85869[_0x2404('0xc')](_0x2404('0x1c'))||0x0,_0x2b1dea=_0x32cd3a&&null!==_0x32cd3a[_0x2404('0xe')]?_0x32cd3a[_0x2404('0xe')]:!_0x2305fe[_0x2404('0x10')][_0x2404('0x3e')](_0x2404('0x40'))[_0x2404('0xa')];let _0x4a8515;const _0x34569c=_0xc85869['getChild'](0x0),_0x295600=_0x2b1dea?_0x172d11[_0x2404('0x41')]:_0x172d11[_0x2404('0x49')],_0x4a5914=_0xbaaaa8[_0x2404('0x24')](_0xc85869,{'startRow':0x0,'column':_0x295600,'includeAllSlots':!0x1}),_0x3f10ca=Array['from'](_0x4a5914)[0x0][_0x2404('0x26')];if(_0x2b1dea){const _0x1b39d6=_0x34569c[_0x2404('0x2f')](_0x42fb41);if(_0x3f10ca[_0x2404('0x19')](_0x1b39d6))return;_0x4a8515=_0x2305fe['model'][_0x2404('0x4d')](_0x2305fe[_0x2404('0x43')]['createPositionBefore'](_0x1b39d6),_0x2305fe[_0x2404('0x43')]['createPositionAfter'](_0x3f10ca));}else{const _0x51ce0d=_0x34569c[_0x2404('0x2f')](_0x42fb41-0x1);if(!_0x51ce0d)return;_0x4a8515=_0x2305fe['model'][_0x2404('0x4d')](_0x2305fe[_0x2404('0x43')][_0x2404('0x1d')](_0x3f10ca),_0x2305fe[_0x2404('0x43')][_0x2404('0x2c')](_0x51ce0d));}_0x2305fe[_0x2404('0x43')][_0x2404('0x22')](()=>{_0x513285[_0x2404('0x42')](_0x4a8515,{'commandName':_0x2404('0x40'),'commandParams':[{'forceValue':_0x2b1dea}]},[],_0x2404('0x40'));});}),_0x2305fe[_0x2404('0x5')]['downcastDispatcher']['on']('addMarker:suggestion',_0x1f2779(),{'priority':'highest'}),_0x2305fe[_0x2404('0x4b')]['downcastDispatcher']['on'](_0x2404('0x29'),(_0x473d0a,_0x641a5f,_0x5092ba)=>{_0x5092ba[_0x2404('0x47')]['showSuggestionHighlights']&&_0x1f2779({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x473d0a,_0x641a5f,_0x5092ba);},{'priority':_0x2404('0x35')}),_0x2305fe[_0x2404('0x5')]['downcastDispatcher']['on']('removeMarker:suggestion',(_0x5e8465,_0x3fc787,_0x477da9)=>{const {type:_0x5cb9e6,id:_0xb52d25}=_0x513285[_0x2404('0x48')](_0x3fc787[_0x2404('0x3c')]),_0x3c33dd=_0x513285['getSuggestion'](_0xb52d25);if(!_0x3c33dd['data']||'setTableColumnHeader'!=_0x3c33dd[_0x2404('0x4b')]['commandName'])return;const _0x127530=_0x477da9[_0x2404('0x4e')][_0x2404('0x14')](_0x3fc787[_0x2404('0x3c')]);if(_0x127530)for(const _0x4dae66 of _0x127530)_0x477da9[_0x2404('0x4c')]['removeClass'](_0x2404('0x31')+_0x5cb9e6,_0x4dae66),_0x477da9[_0x2404('0x4c')][_0x2404('0x27')](_0x2404('0x3b'),_0x4dae66),_0x477da9[_0x2404('0x4c')][_0x2404('0x39')]('data-suggestion',_0x4dae66),_0x477da9['mapper']['unbindElementFromMarkerName'](_0x4dae66,_0x3fc787['markerName']);},{'priority':_0x2404('0x35')}),_0x513285[_0x2404('0xf')][_0x2404('0x17')](_0x181ff1=>{const {data:_0x35b235}=_0x181ff1;if(_0x35b235){if('setTableRowHeader'==_0x35b235['commandName']){const _0x2118e5=_0x35b235[_0x2404('0x37')][0x0][_0x2404('0xe')];return _0xbd0e7e(_0x1718bf(_0x373c72,_0x2118e5?'FORMAT_HEADER_ROW':_0x2404('0x16')));}if(_0x2404('0x40')==_0x35b235[_0x2404('0x13')]){const _0x504231=_0x35b235[_0x2404('0x37')][0x0][_0x2404('0xe')];return _0xbd0e7e(_0x1718bf(_0x373c72,_0x504231?_0x2404('0x3a'):_0x2404('0x45')));}}function _0xbd0e7e(_0x21543c){return{'type':_0x2404('0x46'),'content':_0x1718bf(_0x373c72,_0x2404('0x1'),_0x21543c)};}});const _0x302ace=_0x347045[_0x2404('0x12')]();_0x513285['_suggestionFactory'][_0x2404('0x11')](_0x2404('0x25'),'setTableRowHeader',_0x2404('0x1a'),_0x302ace),_0x513285['_suggestionFactory']['registerCustomCallback'](_0x2404('0x25'),_0x2404('0x40'),_0x2404('0x1a'),_0x302ace);}}
23
+ const _0x4ead=['accept','enableCommand','parent','from','setTableColumnHeader','showSuggestionHighlights','index','createPositionBefore','table','ck-suggestion-marker--active','FORMAT_HEADER_ROW','formatBlock','first','commandName','childCount','selection','createTableWalker','getCellLocation','value','cell','item','_acceptFormatSuggestionCallbackFactory','removeMarker:suggestion','TrackChangesEditing','getRowIndexes','getColumnIndexes','change','end','stop','FORMAT_HEADER_COLUMN','highest','_suggestionFactory','TableUtils','createPositionAfter','commands','unbindElementFromMarkerName','addClass','editing','FORMAT_REGULAR_ROW','options','forceValue','setTableRowHeader','registerCustomCallback','markerName','markerRange','markerNameToElements','removeClass','addMarker:suggestion','bindElementToMarker','toViewElement','FORMAT_REGULAR_COLUMN','getSelectionAffectedTableCells','TableEditing','includes','data','last','getSuggestion','isBefore','commandParams','nodeBefore','getAttribute','createRange','_splitMarkerName','plugins','findAncestor','get','headingColumns','downcastDispatcher','name','ck-suggestion-marker-','mapper','model','_descriptionFactory','registerDescriptionCallback','*Format:*\x20%0','document','start','data-suggestion','writer','getChild','markBlockFormat','consume'];(function(_0x40e451,_0x4ead29){const _0x4daca3=function(_0x586143){while(--_0x586143){_0x40e451['push'](_0x40e451['shift']());}};_0x4daca3(++_0x4ead29);}(_0x4ead,0x174));const _0x4dac=function(_0x40e451,_0x4ead29){_0x40e451=_0x40e451-0x0;let _0x4daca3=_0x4ead[_0x40e451];return _0x4daca3;};import{Plugin as _0x48e470}from'ckeditor5/src/core';import _0x2065bc from'./table';import{getTranslation as _0x5f4ab1}from'../utils/common-translations';export default class kt extends _0x48e470{static get['requires'](){return[_0x2065bc];}['afterInit'](){const _0x4839ee=this['editor'];if(!_0x4839ee['plugins']['has'](_0x4dac('0x8')))return;const _0x58df96=_0x4839ee['locale'],_0x45b7b6=_0x4839ee[_0x4dac('0x13')][_0x4dac('0x15')](_0x4dac('0x3d')),_0x21b48d=_0x4839ee[_0x4dac('0x13')]['get'](_0x4dac('0x46')),_0x3da409=_0x4839ee[_0x4dac('0x13')][_0x4dac('0x15')](_0x2065bc);function _0x4e0028({showActiveMarker:_0x1ad571=!0x0,setDataAttribute:_0x4d9899=!0x0}={}){return(_0x37b7e5,_0x176421,_0x45af38)=>{const {type:_0x50f43d,id:_0x3669bc}=_0x45b7b6[_0x4dac('0x12')](_0x176421[_0x4dac('0x51')]),_0x206287=_0x45b7b6[_0x4dac('0xc')](_0x3669bc);if(!_0x206287['data']||_0x4dac('0x2a')!=_0x206287[_0x4dac('0xa')][_0x4dac('0x33')])return;if(_0x176421[_0x4dac('0x3a')])return void _0x37b7e5[_0x4dac('0x42')]();if(!_0x45af38['consumable'][_0x4dac('0x25')](_0x176421[_0x4dac('0x0')],_0x37b7e5[_0x4dac('0x18')]))return;const _0x865a51=_0x176421['markerRange'][_0x4dac('0x20')]['nodeAfter'],_0x15c786=_0x176421['markerRange'][_0x4dac('0x41')][_0x4dac('0xf')],_0xd74186=_0x865a51[_0x4dac('0x28')][_0x4dac('0x28')],{column:_0x127e14}=_0x21b48d['getCellLocation'](_0x865a51),{column:_0x1f7071}=_0x21b48d[_0x4dac('0x37')](_0x15c786);for(let _0x2b2763=_0x127e14;_0x2b2763<=_0x1f7071;_0x2b2763++){const _0x451dc7=_0x21b48d[_0x4dac('0x36')](_0xd74186,{'column':_0x2b2763,'includeAllSlots':!0x1});for(const _0x4cf605 of _0x451dc7){const _0x46476c=_0x4cf605[_0x4dac('0x39')],_0xd773d6=_0x45af38['mapper'][_0x4dac('0x5')](_0x46476c);_0x45af38['writer'][_0x4dac('0x4a')](_0x4dac('0x19')+_0x50f43d,_0xd773d6),_0x4d9899&&_0x45af38[_0x4dac('0x22')]['setAttribute'](_0x4dac('0x21'),_0x3669bc,_0xd773d6),_0x45af38['mapper'][_0x4dac('0x4')](_0xd773d6,_0x176421[_0x4dac('0x51')]),_0x1ad571&&(_0x45b7b6['activeMarkers'][_0x4dac('0x9')](_0x176421[_0x4dac('0x51')])?_0x45af38[_0x4dac('0x22')]['addClass'](_0x4dac('0x2f'),_0xd773d6):_0x45af38['writer']['removeClass'](_0x4dac('0x2f'),_0xd773d6));}}};}_0x45b7b6[_0x4dac('0x27')](_0x4dac('0x4f'),(_0x45d5d5,_0x51cf2)=>{const _0x2ead59=_0x21b48d[_0x4dac('0x7')](_0x4839ee[_0x4dac('0x1b')][_0x4dac('0x1f')]['selection']),_0x2defb2=_0x21b48d[_0x4dac('0x3e')](_0x2ead59),_0x44df35=_0x2ead59[0x0][_0x4dac('0x14')](_0x4dac('0x2e')),_0x42038f=_0x44df35[_0x4dac('0x10')]('headingRows')||0x0,_0xe5f371=_0x51cf2&&null!==_0x51cf2['forceValue']?_0x51cf2[_0x4dac('0x4e')]:!_0x4839ee[_0x4dac('0x48')][_0x4dac('0x15')](_0x4dac('0x4f'))['value'],_0x344859=_0xe5f371?_0x2defb2[_0x4dac('0xb')]:_0x2defb2[_0x4dac('0x32')],_0xe13ef5=_0x44df35[_0x4dac('0x23')](_0x344859);let _0x10feb8;if(_0xe5f371){const _0x550a8f=_0x44df35[_0x4dac('0x23')](_0x42038f);if(_0xe13ef5[_0x4dac('0x2c')]<_0x550a8f[_0x4dac('0x2c')])return;_0x10feb8=_0x4839ee[_0x4dac('0x1b')]['createRange'](_0x4839ee[_0x4dac('0x1b')][_0x4dac('0x2d')](_0x550a8f[_0x4dac('0x23')](0x0)),_0x4839ee[_0x4dac('0x1b')][_0x4dac('0x47')](_0xe13ef5[_0x4dac('0x23')](_0xe13ef5[_0x4dac('0x34')]-0x1)));}else{const _0x3a991f=_0x44df35[_0x4dac('0x23')](_0x42038f-0x1);if(!_0x3a991f)return;_0x10feb8=_0x4839ee[_0x4dac('0x1b')][_0x4dac('0x11')](_0x4839ee[_0x4dac('0x1b')][_0x4dac('0x2d')](_0xe13ef5['getChild'](0x0)),_0x4839ee[_0x4dac('0x1b')]['createPositionAfter'](_0x3a991f[_0x4dac('0x23')](_0x3a991f[_0x4dac('0x34')]-0x1)));}_0x4839ee[_0x4dac('0x1b')][_0x4dac('0x40')](()=>{_0x45b7b6['markBlockFormat'](_0x10feb8,{'commandName':'setTableRowHeader','commandParams':[{'forceValue':_0xe5f371}]},[],'setTableRowHeader');});}),_0x45b7b6[_0x4dac('0x27')](_0x4dac('0x2a'),(_0xd6d0b4,_0x60a718)=>{const _0x325b29=_0x4839ee[_0x4dac('0x13')][_0x4dac('0x15')](_0x4dac('0x46')),_0x2d6e6b=_0x325b29[_0x4dac('0x7')](_0x4839ee[_0x4dac('0x1b')]['document'][_0x4dac('0x35')]),_0x5df990=_0x325b29[_0x4dac('0x3f')](_0x2d6e6b),_0x300b2d=_0x2d6e6b[0x0]['findAncestor'](_0x4dac('0x2e')),_0x4018a9=_0x300b2d['getAttribute'](_0x4dac('0x16'))||0x0,_0x51327c=_0x60a718&&null!==_0x60a718['forceValue']?_0x60a718[_0x4dac('0x4e')]:!_0x4839ee[_0x4dac('0x48')][_0x4dac('0x15')](_0x4dac('0x2a'))[_0x4dac('0x38')];let _0x1a16a8;const _0x2c5105=_0x300b2d['getChild'](0x0),_0x449165=_0x51327c?_0x5df990[_0x4dac('0xb')]:_0x5df990['first'],_0x32d4a1=_0x325b29[_0x4dac('0x36')](_0x300b2d,{'startRow':0x0,'column':_0x449165,'includeAllSlots':!0x1}),_0x3f9a87=Array[_0x4dac('0x29')](_0x32d4a1)[0x0]['cell'];if(_0x51327c){const _0xd82376=_0x2c5105[_0x4dac('0x23')](_0x4018a9);if(_0x3f9a87[_0x4dac('0xd')](_0xd82376))return;_0x1a16a8=_0x4839ee[_0x4dac('0x1b')][_0x4dac('0x11')](_0x4839ee[_0x4dac('0x1b')][_0x4dac('0x2d')](_0xd82376),_0x4839ee[_0x4dac('0x1b')][_0x4dac('0x47')](_0x3f9a87));}else{const _0x21f934=_0x2c5105[_0x4dac('0x23')](_0x4018a9-0x1);if(!_0x21f934)return;_0x1a16a8=_0x4839ee['model']['createRange'](_0x4839ee[_0x4dac('0x1b')][_0x4dac('0x2d')](_0x3f9a87),_0x4839ee[_0x4dac('0x1b')][_0x4dac('0x47')](_0x21f934));}_0x4839ee[_0x4dac('0x1b')]['change'](()=>{_0x45b7b6[_0x4dac('0x24')](_0x1a16a8,{'commandName':'setTableColumnHeader','commandParams':[{'forceValue':_0x51327c}]},[],'setTableColumnHeader');});}),_0x4839ee[_0x4dac('0x4b')]['downcastDispatcher']['on'](_0x4dac('0x3'),_0x4e0028(),{'priority':_0x4dac('0x44')}),_0x4839ee[_0x4dac('0xa')]['downcastDispatcher']['on']('addMarker:suggestion',(_0x1c1971,_0x43fd2f,_0x2ddd1d)=>{_0x2ddd1d[_0x4dac('0x4d')][_0x4dac('0x2b')]&&_0x4e0028({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x1c1971,_0x43fd2f,_0x2ddd1d);},{'priority':'highest'}),_0x4839ee[_0x4dac('0x4b')][_0x4dac('0x17')]['on'](_0x4dac('0x3c'),(_0x2a5b89,_0x52304a,_0x1e8cb1)=>{const {type:_0x58bca5,id:_0x624a57}=_0x45b7b6['_splitMarkerName'](_0x52304a['markerName']),_0x240572=_0x45b7b6[_0x4dac('0xc')](_0x624a57);if(!_0x240572[_0x4dac('0xa')]||_0x4dac('0x2a')!=_0x240572[_0x4dac('0xa')][_0x4dac('0x33')])return;const _0x1d98dd=_0x1e8cb1[_0x4dac('0x1a')][_0x4dac('0x1')](_0x52304a[_0x4dac('0x51')]);if(_0x1d98dd)for(const _0x13c690 of _0x1d98dd)_0x1e8cb1[_0x4dac('0x22')][_0x4dac('0x2')](_0x4dac('0x19')+_0x58bca5,_0x13c690),_0x1e8cb1[_0x4dac('0x22')][_0x4dac('0x2')](_0x4dac('0x2f'),_0x13c690),_0x1e8cb1[_0x4dac('0x22')]['removeAttribute'](_0x4dac('0x21'),_0x13c690),_0x1e8cb1['mapper'][_0x4dac('0x49')](_0x13c690,_0x52304a['markerName']);},{'priority':_0x4dac('0x44')}),_0x45b7b6[_0x4dac('0x1c')][_0x4dac('0x1d')](_0x2990a7=>{const {data:_0x100f68}=_0x2990a7;if(_0x100f68){if(_0x4dac('0x4f')==_0x100f68[_0x4dac('0x33')]){const _0x56bbfb=_0x100f68[_0x4dac('0xe')][0x0][_0x4dac('0x4e')];return _0x34ae8e(_0x5f4ab1(_0x58df96,_0x56bbfb?_0x4dac('0x30'):_0x4dac('0x4c')));}if(_0x4dac('0x2a')==_0x100f68[_0x4dac('0x33')]){const _0x4b2a52=_0x100f68[_0x4dac('0xe')][0x0][_0x4dac('0x4e')];return _0x34ae8e(_0x5f4ab1(_0x58df96,_0x4b2a52?_0x4dac('0x43'):_0x4dac('0x6')));}}function _0x34ae8e(_0x4decb7){return{'type':'format','content':_0x5f4ab1(_0x58df96,_0x4dac('0x1e'),_0x4decb7)};}});const _0x390dfd=_0x3da409[_0x4dac('0x3b')]();_0x45b7b6[_0x4dac('0x45')][_0x4dac('0x50')]('formatBlock','setTableRowHeader',_0x4dac('0x26'),_0x390dfd),_0x45b7b6[_0x4dac('0x45')][_0x4dac('0x50')](_0x4dac('0x31'),_0x4dac('0x2a'),_0x4dac('0x26'),_0x390dfd);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1244=['type','mergeTableCellRight','document','commands','horizontally','has','containsRange','mergeTableCellLeft','getSuggestions','return','TableUtils','createTableWalker','low','registerCustomCallback','push','mergeTableCellUp','plugins','format','*Merge\x20cells*','insertion','mergeTableCellDown','_areSelectedCellsMergable','markMultiRangeBlockFormat','locale','filter','formatBlock','commandName','stop','root','getRanges','cell','editor','author','highest','$graveyard','value','add','map','from','splitTableCellHorizontally','registerDescriptionCallback','createRangeOn','selection','forceDefaultExecution','get','change','getAncestors','rootName','afterInit','getFirstPosition','findAncestor','TrackChangesEditing','set:isEnabled','_descriptionFactory','size','*Split\x20cell:*\x20vertically','model','tableCell','enableCommand','setSelection','_isForcedDefaultExecutionBlock','find','_acceptFormatSuggestionCallbackFactory','markBlockFormat','getSelectionAffectedTableCells','_tablePostFixingSubtypes','mergeTableCells','refresh','direction','splitTableCellVertically','element','trackChanges','length','accept','_areMergableCells'];(function(_0x5ab325,_0x12448e){const _0x4112cf=function(_0x39c04c){while(--_0x39c04c){_0x5ab325['push'](_0x5ab325['shift']());}};_0x4112cf(++_0x12448e);}(_0x1244,0x1e1));const _0x4112=function(_0x5ab325,_0x12448e){_0x5ab325=_0x5ab325-0x0;let _0x4112cf=_0x1244[_0x5ab325];return _0x4112cf;};import{Plugin as _0x2c4165}from'ckeditor5/src/core';import _0x557df3 from'./table';import{LiveRange as _0x31c31a}from'ckeditor5/src/engine';import{getTranslation as _0x54c887}from'../utils/common-translations';export default class pt extends _0x2c4165{static get['requires'](){return[_0x557df3];}[_0x4112('0x11')](){const _0x50b689=this[_0x4112('0x0')],_0x43b7d4=_0x50b689[_0x4112('0x19')]['document'][_0x4112('0xb')],_0x3d0dfc=_0x50b689[_0x4112('0x43')];if(!_0x50b689['plugins'][_0x4112('0x31')]('TableEditing'))return;const _0x1fdebc=_0x50b689['plugins'][_0x4112('0xd')](_0x4112('0x14')),_0x827a92=_0x50b689[_0x4112('0x3c')]['get'](_0x4112('0x36')),_0x4e052d=_0x50b689['plugins'][_0x4112('0xd')](_0x557df3);_0x4e052d[_0x4112('0x22')][_0x4112('0x3a')](_0x4112('0x23')),_0x1fdebc[_0x4112('0x1b')](_0x4112('0x23'),()=>{const _0x2c0806=_0x827a92[_0x4112('0x21')](_0x50b689[_0x4112('0x19')][_0x4112('0x2e')]['selection']);_0x50b689[_0x4112('0x19')][_0x4112('0xe')](()=>{_0x1fdebc['markMultiRangeBlockFormat'](_0x2c0806,{'commandName':'mergeTableCells','commandParams':[]},[],_0x4112('0x23'));});}),_0x50b689['commands'][_0x4112('0xd')](_0x4112('0x23'))['on']('execute',(_0x260295,_0x55e118)=>{_0x50b689[_0x4112('0x2f')][_0x4112('0xd')](_0x4112('0x28'))['value']&&(_0x55e118[_0x4112('0x29')]>0x0&&_0x55e118[_0x55e118['length']-0x1]&&_0x55e118[_0x55e118[_0x4112('0x29')]-0x1][_0x4112('0xc')]||_0x1fdebc[_0x4112('0x1d')]||this[_0x4112('0x41')]()||_0x260295[_0x4112('0x47')]());},{'priority':_0x4112('0x2')});for(const _0x4aa51d of[_0x4112('0x3b'),_0x4112('0x2d'),_0x4112('0x40'),_0x4112('0x33')]){const _0x46c30f=_0x50b689[_0x4112('0x2f')][_0x4112('0xd')](_0x4aa51d);_0x1fdebc['enableCommand'](_0x4aa51d,()=>{const _0x5d0b86=_0x50b689[_0x4112('0x19')][_0x4112('0x2e')][_0x4112('0xb')][_0x4112('0x12')]()[_0x4112('0xf')]()[_0x4112('0x1e')](_0x542de7=>_0x542de7['is'](_0x4112('0x27'),_0x4112('0x1a'))),_0x46fa42=_0x46c30f['value'];_0x50b689[_0x4112('0x19')]['change'](()=>{_0x1fdebc[_0x4112('0x42')]([_0x5d0b86,_0x46fa42],{'commandName':_0x4112('0x23'),'commandParams':[]},[],_0x4112('0x23'));});});}for(const _0xbfd9a8 of[_0x4112('0x26'),_0x4112('0x8')]){const _0x246ead=_0x50b689[_0x4112('0x2f')][_0x4112('0xd')](_0xbfd9a8);_0x1fdebc[_0x4112('0x1b')](_0xbfd9a8,()=>{const _0xe965c=_0x827a92[_0x4112('0x21')](_0x50b689[_0x4112('0x19')]['document']['selection'])[0x0],_0x5975c9=_0xe965c[_0x4112('0x13')]('table'),{column:_0x478674,row:_0x24ef1a}=_0x827a92['getCellLocation'](_0xe965c);let _0x171e52=[];if(_0x4112('0x30')==_0x246ead[_0x4112('0x25')]){const _0x2778a2=_0x827a92['createTableWalker'](_0x5975c9,{'startRow':_0x24ef1a,'endRow':_0x24ef1a,'includeAllSlots':!0x0});_0x171e52=Array[_0x4112('0x7')](_0x2778a2)[_0x4112('0x6')](_0x53b7f2=>_0x53b7f2[_0x4112('0x4a')]);}else{const _0x3ba13f=_0x827a92[_0x4112('0x37')](_0x5975c9,{'column':_0x478674,'includeAllSlots':!0x0});_0x171e52=Array['from'](_0x3ba13f)[_0x4112('0x6')](_0x9a4624=>_0x9a4624[_0x4112('0x4a')]);}_0x50b689['model'][_0x4112('0xe')](_0x3e3bdd=>{_0x1fdebc[_0x4112('0x20')](_0x3e3bdd[_0x4112('0xa')](_0xe965c),{'commandName':_0xbfd9a8,'commandParams':[]},_0x171e52,_0xbfd9a8);});});}_0x1fdebc[_0x4112('0x16')]['registerDescriptionCallback'](_0x502c9c=>{const {data:_0x1b252c}=_0x502c9c;if(_0x1b252c)return'mergeTableCells'==_0x1b252c[_0x4112('0x46')]?{'type':'format','content':_0x54c887(_0x3d0dfc,_0x4112('0x3e'))}:void 0x0;}),_0x1fdebc[_0x4112('0x16')][_0x4112('0x9')](_0x581bdb=>{const {data:_0xa553ba}=_0x581bdb;if(_0xa553ba)return _0x4112('0x26')==_0xa553ba[_0x4112('0x46')]?{'type':_0x4112('0x3d'),'content':_0x54c887(_0x3d0dfc,_0x4112('0x18'))}:_0x4112('0x8')==_0xa553ba['commandName']?{'type':_0x4112('0x3d'),'content':_0x54c887(_0x3d0dfc,'*Split\x20cell:*\x20horizontally')}:void 0x0;});const _0x54369a=_0x4e052d[_0x4112('0x1f')]();for(const _0x1155e3 of['mergeTableCellUp',_0x4112('0x2d'),_0x4112('0x40'),_0x4112('0x33')])_0x1fdebc['_suggestionFactory']['registerCustomCallback']('formatBlock',_0x1155e3,_0x4112('0x2a'),_0x54369a);for(const _0x175dc2 of[_0x4112('0x26'),_0x4112('0x8')])_0x1fdebc['_suggestionFactory'][_0x4112('0x39')](_0x4112('0x45'),_0x175dc2,_0x4112('0x2a'),_0x54369a);_0x1fdebc['_suggestionFactory'][_0x4112('0x39')](_0x4112('0x45'),_0x4112('0x23'),_0x4112('0x2a'),_0xa90c73=>{_0x50b689['model'][_0x4112('0xe')](_0xd17aba=>{const _0xc6ca32=Array[_0x4112('0x7')](_0x43b7d4['getRanges']())['map'](_0xada9fc=>_0x31c31a['fromRange'](_0xada9fc));_0xd17aba[_0x4112('0x1c')](_0xa90c73),_0x50b689[_0x4112('0x2f')][_0x4112('0xd')]('mergeTableCells')[_0x4112('0x24')](),_0x50b689['execute']('mergeTableCells',{'forceDefaultExecution':!0x0});const _0x56166a=_0xc6ca32[_0x4112('0x44')](_0x5aa0aa=>_0x4112('0x3')!=_0x5aa0aa[_0x4112('0x48')][_0x4112('0x10')]);_0x56166a[_0x4112('0x29')]>0x0&&_0xd17aba['setSelection'](_0x56166a);for(const _0xc47a01 of _0xc6ca32)_0xc47a01['detach']();});});for(const _0x1c8897 of[_0x4112('0x3b'),_0x4112('0x40'),'mergeTableCellLeft',_0x4112('0x2d')]){const _0x498e61=_0x50b689[_0x4112('0x2f')][_0x4112('0xd')](_0x1c8897);_0x498e61['on'](_0x4112('0x15'),(_0x14af44,_0x35451b,_0x4c29b9)=>{if(_0x4c29b9){const _0x27e7bb=_0x50b689[_0x4112('0x19')][_0x4112('0x2e')][_0x4112('0xb')]['getFirstPosition']()[_0x4112('0xf')]()[_0x4112('0x1e')](_0x4684f4=>_0x4684f4['is'](_0x4112('0x27'),_0x4112('0x1a')));this[_0x4112('0x2b')](_0x498e61[_0x4112('0x4')],_0x27e7bb)||(_0x14af44[_0x4112('0x35')]=!0x1,_0x14af44[_0x4112('0x47')]());}},{'priority':_0x4112('0x38')});}}['_areSelectedCellsMergable'](){const _0x2e366b=this['editor'][_0x4112('0x2f')][_0x4112('0xd')]('mergeTableCells'),_0x518fa8=this[_0x4112('0x0')][_0x4112('0x3c')][_0x4112('0xd')](_0x4112('0x36'));if(!_0x2e366b['isEnabled'])return!0x1;const _0x516ce2=_0x518fa8[_0x4112('0x21')](this[_0x4112('0x0')][_0x4112('0x19')]['document']['selection']);for(const _0x9117e0 of _0x516ce2)for(const _0x3fc150 of _0x516ce2)if(_0x9117e0!=_0x3fc150&&!this['_areMergableCells'](_0x9117e0,_0x3fc150))return!0x1;return!0x0;}[_0x4112('0x2b')](_0x545a01,_0x22bfa9){const _0x370e69=this[_0x4112('0x0')][_0x4112('0x3c')][_0x4112('0xd')]('TrackChangesEditing'),_0x133913=this[_0x4112('0x0')]['model'][_0x4112('0xa')](_0x545a01),_0x24aa41=this[_0x4112('0x0')][_0x4112('0x19')][_0x4112('0xa')](_0x22bfa9),_0x536916=new Set(),_0x1f78e0=new Set();for(const _0x7a3889 of _0x370e69[_0x4112('0x34')]())if((_0x4112('0x3f')==_0x7a3889[_0x4112('0x2c')]||'deletion'==_0x7a3889[_0x4112('0x2c')]||_0x4112('0x23')==_0x7a3889['subType'])&&_0x7a3889['isInContent'])for(const _0x46e153 of _0x7a3889[_0x4112('0x49')]())_0x46e153[_0x4112('0x32')](_0x133913,!0x0)&&_0x536916[_0x4112('0x5')](_0x7a3889[_0x4112('0x2c')]+':'+_0x7a3889[_0x4112('0x1')]['id']),_0x46e153[_0x4112('0x32')](_0x24aa41,!0x0)&&_0x1f78e0[_0x4112('0x5')](_0x7a3889['type']+':'+_0x7a3889[_0x4112('0x1')]['id']);if(_0x536916['size']!=_0x1f78e0[_0x4112('0x17')])return!0x1;for(const _0x1f1065 of _0x536916)if(!_0x1f78e0[_0x4112('0x31')](_0x1f1065))return!0x1;return!0x0;}}
23
+ const _0x451b=['add','tableCell','type','createRangeOn','containsRange','find','getSuggestions','has','author','commandName','enableCommand','markMultiRangeBlockFormat','_descriptionFactory','model','mergeTableCellDown','editor','*Split\x20cell:*\x20vertically','mergeTableCellLeft','*Split\x20cell:*\x20horizontally','splitTableCellVertically','execute','_suggestionFactory','mergeTableCellUp','length','splitTableCellHorizontally','insertion','element','refresh','*Merge\x20cells*','root','plugins','TableUtils','_tablePostFixingSubtypes','format','horizontally','TrackChangesEditing','afterInit','requires','formatBlock','markBlockFormat','getCellLocation','push','get','commands','_acceptFormatSuggestionCallbackFactory','document','trackChanges','rootName','_areMergableCells','change','detach','deletion','selection','createTableWalker','getFirstPosition','table','from','cell','setSelection','low','isEnabled','getAncestors','mergeTableCells','map','size','filter','isInContent','mergeTableCellRight','getSelectionAffectedTableCells','value','accept','direction','forceDefaultExecution','stop','getRanges','registerCustomCallback'];(function(_0x163238,_0x451b4b){const _0x5e104d=function(_0x3d8c30){while(--_0x3d8c30){_0x163238['push'](_0x163238['shift']());}};_0x5e104d(++_0x451b4b);}(_0x451b,0xc1));const _0x5e10=function(_0x163238,_0x451b4b){_0x163238=_0x163238-0x0;let _0x5e104d=_0x451b[_0x163238];return _0x5e104d;};import{Plugin as _0x256b2b}from'ckeditor5/src/core';import _0x53cb95 from'./table';import{LiveRange as _0x358e76}from'ckeditor5/src/engine';import{getTranslation as _0x5d88ac}from'../utils/common-translations';export default class pt extends _0x256b2b{static get[_0x5e10('0x48')](){return[_0x53cb95];}[_0x5e10('0x47')](){const _0x371e5f=this[_0x5e10('0x32')],_0x2b595e=_0x371e5f[_0x5e10('0x30')][_0x5e10('0x4')]['selection'],_0x43ab1c=_0x371e5f['locale'];if(!_0x371e5f[_0x5e10('0x41')][_0x5e10('0x2a')]('TableEditing'))return;const _0x5b949e=_0x371e5f[_0x5e10('0x41')][_0x5e10('0x1')](_0x5e10('0x46')),_0x4a8cc3=_0x371e5f[_0x5e10('0x41')][_0x5e10('0x1')](_0x5e10('0x42')),_0x55a176=_0x371e5f[_0x5e10('0x41')][_0x5e10('0x1')](_0x53cb95);_0x55a176[_0x5e10('0x43')][_0x5e10('0x0')]('mergeTableCells'),_0x5b949e['enableCommand'](_0x5e10('0x15'),()=>{const _0x510596=_0x4a8cc3[_0x5e10('0x1b')](_0x371e5f[_0x5e10('0x30')]['document'][_0x5e10('0xb')]);_0x371e5f[_0x5e10('0x30')]['change'](()=>{_0x5b949e[_0x5e10('0x2e')](_0x510596,{'commandName':_0x5e10('0x15'),'commandParams':[]},[],'mergeTableCells');});}),_0x371e5f[_0x5e10('0x2')][_0x5e10('0x1')](_0x5e10('0x15'))['on'](_0x5e10('0x37'),(_0x330543,_0xf42b19)=>{_0x371e5f[_0x5e10('0x2')][_0x5e10('0x1')](_0x5e10('0x5'))[_0x5e10('0x1c')]&&(_0xf42b19['length']>0x0&&_0xf42b19[_0xf42b19[_0x5e10('0x3a')]-0x1]&&_0xf42b19[_0xf42b19[_0x5e10('0x3a')]-0x1][_0x5e10('0x1f')]||_0x5b949e['_isForcedDefaultExecutionBlock']||this['_areSelectedCellsMergable']()||_0x330543[_0x5e10('0x20')]());},{'priority':'highest'});for(const _0x5af327 of[_0x5e10('0x39'),_0x5e10('0x1a'),_0x5e10('0x31'),'mergeTableCellLeft']){const _0x1defa9=_0x371e5f['commands'][_0x5e10('0x1')](_0x5af327);_0x5b949e[_0x5e10('0x2d')](_0x5af327,()=>{const _0x5437e9=_0x371e5f[_0x5e10('0x30')][_0x5e10('0x4')]['selection'][_0x5e10('0xd')]()[_0x5e10('0x14')]()[_0x5e10('0x28')](_0x3eadeb=>_0x3eadeb['is'](_0x5e10('0x3d'),_0x5e10('0x24'))),_0x2ebc07=_0x1defa9['value'];_0x371e5f['model'][_0x5e10('0x8')](()=>{_0x5b949e[_0x5e10('0x2e')]([_0x5437e9,_0x2ebc07],{'commandName':_0x5e10('0x15'),'commandParams':[]},[],_0x5e10('0x15'));});});}for(const _0xc39fd2 of[_0x5e10('0x36'),'splitTableCellHorizontally']){const _0x342925=_0x371e5f[_0x5e10('0x2')]['get'](_0xc39fd2);_0x5b949e['enableCommand'](_0xc39fd2,()=>{const _0x419198=_0x4a8cc3[_0x5e10('0x1b')](_0x371e5f['model'][_0x5e10('0x4')]['selection'])[0x0],_0x56b539=_0x419198['findAncestor'](_0x5e10('0xe')),{column:_0x852944,row:_0x3991a3}=_0x4a8cc3[_0x5e10('0x4b')](_0x419198);let _0x15ab31=[];if(_0x5e10('0x45')==_0x342925[_0x5e10('0x1e')]){const _0xecb404=_0x4a8cc3[_0x5e10('0xc')](_0x56b539,{'startRow':_0x3991a3,'endRow':_0x3991a3,'includeAllSlots':!0x0});_0x15ab31=Array[_0x5e10('0xf')](_0xecb404)[_0x5e10('0x16')](_0xbe0e4e=>_0xbe0e4e[_0x5e10('0x10')]);}else{const _0x44d20e=_0x4a8cc3[_0x5e10('0xc')](_0x56b539,{'column':_0x852944,'includeAllSlots':!0x0});_0x15ab31=Array['from'](_0x44d20e)[_0x5e10('0x16')](_0x4b0eb2=>_0x4b0eb2['cell']);}_0x371e5f[_0x5e10('0x30')]['change'](_0x2fb598=>{_0x5b949e[_0x5e10('0x4a')](_0x2fb598['createRangeOn'](_0x419198),{'commandName':_0xc39fd2,'commandParams':[]},_0x15ab31,_0xc39fd2);});});}_0x5b949e[_0x5e10('0x2f')]['registerDescriptionCallback'](_0x5839e4=>{const {data:_0x31352d}=_0x5839e4;if(_0x31352d)return _0x5e10('0x15')==_0x31352d[_0x5e10('0x2c')]?{'type':_0x5e10('0x44'),'content':_0x5d88ac(_0x43ab1c,_0x5e10('0x3f'))}:void 0x0;}),_0x5b949e[_0x5e10('0x2f')]['registerDescriptionCallback'](_0xc59cc4=>{const {data:_0x534e9a}=_0xc59cc4;if(_0x534e9a)return'splitTableCellVertically'==_0x534e9a[_0x5e10('0x2c')]?{'type':_0x5e10('0x44'),'content':_0x5d88ac(_0x43ab1c,_0x5e10('0x33'))}:_0x5e10('0x3b')==_0x534e9a['commandName']?{'type':_0x5e10('0x44'),'content':_0x5d88ac(_0x43ab1c,_0x5e10('0x35'))}:void 0x0;});const _0x27572a=_0x55a176[_0x5e10('0x3')]();for(const _0x3157e1 of[_0x5e10('0x39'),'mergeTableCellRight',_0x5e10('0x31'),_0x5e10('0x34')])_0x5b949e[_0x5e10('0x38')][_0x5e10('0x22')](_0x5e10('0x49'),_0x3157e1,'accept',_0x27572a);for(const _0x32d234 of[_0x5e10('0x36'),_0x5e10('0x3b')])_0x5b949e[_0x5e10('0x38')][_0x5e10('0x22')]('formatBlock',_0x32d234,_0x5e10('0x1d'),_0x27572a);_0x5b949e[_0x5e10('0x38')][_0x5e10('0x22')](_0x5e10('0x49'),_0x5e10('0x15'),_0x5e10('0x1d'),_0x9a89b5=>{_0x371e5f[_0x5e10('0x30')][_0x5e10('0x8')](_0x57b0f8=>{const _0x2b48ff=Array[_0x5e10('0xf')](_0x2b595e[_0x5e10('0x21')]())[_0x5e10('0x16')](_0x37f3b2=>_0x358e76['fromRange'](_0x37f3b2));_0x57b0f8[_0x5e10('0x11')](_0x9a89b5),_0x371e5f['commands']['get']('mergeTableCells')[_0x5e10('0x3e')](),_0x371e5f[_0x5e10('0x37')](_0x5e10('0x15'),{'forceDefaultExecution':!0x0});const _0xfb13ed=_0x2b48ff[_0x5e10('0x18')](_0x4b0e9b=>'$graveyard'!=_0x4b0e9b[_0x5e10('0x40')][_0x5e10('0x6')]);_0xfb13ed['length']>0x0&&_0x57b0f8['setSelection'](_0xfb13ed);for(const _0x2155a1 of _0x2b48ff)_0x2155a1[_0x5e10('0x9')]();});});for(const _0x2b95b3 of[_0x5e10('0x39'),_0x5e10('0x31'),_0x5e10('0x34'),_0x5e10('0x1a')]){const _0x3c31b2=_0x371e5f[_0x5e10('0x2')]['get'](_0x2b95b3);_0x3c31b2['on']('set:isEnabled',(_0x41d211,_0x3defcf,_0x328edf)=>{if(_0x328edf){const _0x1f5d7d=_0x371e5f[_0x5e10('0x30')][_0x5e10('0x4')]['selection'][_0x5e10('0xd')]()['getAncestors']()[_0x5e10('0x28')](_0x3856e8=>_0x3856e8['is'](_0x5e10('0x3d'),_0x5e10('0x24')));this[_0x5e10('0x7')](_0x3c31b2['value'],_0x1f5d7d)||(_0x41d211['return']=!0x1,_0x41d211[_0x5e10('0x20')]());}},{'priority':_0x5e10('0x12')});}}['_areSelectedCellsMergable'](){const _0x3f4abe=this[_0x5e10('0x32')][_0x5e10('0x2')]['get'](_0x5e10('0x15')),_0xd8f81d=this[_0x5e10('0x32')]['plugins']['get']('TableUtils');if(!_0x3f4abe[_0x5e10('0x13')])return!0x1;const _0x5e5106=_0xd8f81d[_0x5e10('0x1b')](this[_0x5e10('0x32')][_0x5e10('0x30')][_0x5e10('0x4')][_0x5e10('0xb')]);for(const _0x3a5ec8 of _0x5e5106)for(const _0x17ce51 of _0x5e5106)if(_0x3a5ec8!=_0x17ce51&&!this['_areMergableCells'](_0x3a5ec8,_0x17ce51))return!0x1;return!0x0;}['_areMergableCells'](_0x1c2e00,_0x8864b){const _0x474e11=this[_0x5e10('0x32')][_0x5e10('0x41')][_0x5e10('0x1')](_0x5e10('0x46')),_0x5e5cf7=this[_0x5e10('0x32')][_0x5e10('0x30')][_0x5e10('0x26')](_0x1c2e00),_0x201e26=this[_0x5e10('0x32')][_0x5e10('0x30')][_0x5e10('0x26')](_0x8864b),_0x456880=new Set(),_0x10b6b8=new Set();for(const _0x415ec6 of _0x474e11[_0x5e10('0x29')]())if((_0x5e10('0x3c')==_0x415ec6['type']||_0x5e10('0xa')==_0x415ec6['type']||_0x5e10('0x15')==_0x415ec6['subType'])&&_0x415ec6[_0x5e10('0x19')])for(const _0x1ce92d of _0x415ec6[_0x5e10('0x21')]())_0x1ce92d[_0x5e10('0x27')](_0x5e5cf7,!0x0)&&_0x456880[_0x5e10('0x23')](_0x415ec6[_0x5e10('0x25')]+':'+_0x415ec6['author']['id']),_0x1ce92d[_0x5e10('0x27')](_0x201e26,!0x0)&&_0x10b6b8['add'](_0x415ec6[_0x5e10('0x25')]+':'+_0x415ec6[_0x5e10('0x2b')]['id']);if(_0x456880['size']!=_0x10b6b8[_0x5e10('0x17')])return!0x1;for(const _0x11c8b5 of _0x456880)if(!_0x10b6b8[_0x5e10('0x2a')](_0x11c8b5))return!0x1;return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3d75=['get','enableCommand','plugins','insertTableOfContents','TrackChangesEditing','registerElementLabel','afterInit','commands','tableOfContents'];(function(_0x527c32,_0x3d7525){const _0x3c93e8=function(_0x1710b1){while(--_0x1710b1){_0x527c32['push'](_0x527c32['shift']());}};_0x3c93e8(++_0x3d7525);}(_0x3d75,0x1be));const _0x3c93=function(_0x527c32,_0x3d7525){_0x527c32=_0x527c32-0x0;let _0x3c93e8=_0x3d75[_0x527c32];return _0x3c93e8;};import{Plugin as _0x2eb181}from'ckeditor5/src/core';import{getTranslation as _0x2bcb9d}from'../utils/common-translations';export default class St extends _0x2eb181{[_0x3c93('0x1')](){const _0x3f3d36=this['editor'];if(!_0x3f3d36[_0x3c93('0x2')]['get'](_0x3c93('0x7')))return;_0x3f3d36[_0x3c93('0x6')][_0x3c93('0x4')]('TrackChangesEditing')[_0x3c93('0x5')]('insertTableOfContents');const _0x13dd31=_0x3f3d36['plugins'][_0x3c93('0x4')](_0x3c93('0x8')),_0x89f20b=_0x3f3d36['locale'];_0x13dd31['_descriptionFactory'][_0x3c93('0x0')](_0x3c93('0x3'),_0x2c44ab=>_0x2bcb9d(_0x89f20b,'ELEMENT_TABLE_OF_CONTENTS',_0x2c44ab));}}
23
+ const _0x28e5=['commands','plugins','editor','get','insertTableOfContents','_descriptionFactory','enableCommand','TrackChangesEditing','ELEMENT_TABLE_OF_CONTENTS','locale','registerElementLabel','tableOfContents'];(function(_0x2092c7,_0x28e53d){const _0x1f7ce9=function(_0x3a0930){while(--_0x3a0930){_0x2092c7['push'](_0x2092c7['shift']());}};_0x1f7ce9(++_0x28e53d);}(_0x28e5,0xec));const _0x1f7c=function(_0x2092c7,_0x28e53d){_0x2092c7=_0x2092c7-0x0;let _0x1f7ce9=_0x28e5[_0x2092c7];return _0x1f7ce9;};import{Plugin as _0x44a80b}from'ckeditor5/src/core';import{getTranslation as _0x2c2a90}from'../utils/common-translations';export default class St extends _0x44a80b{['afterInit'](){const _0x28a579=this[_0x1f7c('0x6')];if(!_0x28a579[_0x1f7c('0x4')]['get'](_0x1f7c('0x8')))return;_0x28a579[_0x1f7c('0x5')][_0x1f7c('0x7')](_0x1f7c('0xb'))[_0x1f7c('0xa')]('insertTableOfContents');const _0x200976=_0x28a579[_0x1f7c('0x5')][_0x1f7c('0x7')]('TrackChangesEditing'),_0x110f08=_0x28a579[_0x1f7c('0x1')];_0x200976[_0x1f7c('0x9')][_0x1f7c('0x2')](_0x1f7c('0x3'),_0x5a175e=>_0x2c2a90(_0x110f08,_0x1f7c('0x0'),_0x5a175e));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2ff4=['TrackChangesTableProperties','subType','getSelectionAffectedTableCells','change','handleDiscardAction','document','tableCellBorderStyle','tableCellPadding','removeAttribute','tableCellBorderWidth','tableCellWidth','join','_descriptionFactory','start','batch','format','*Format:*\x20change\x20table\x20properties','locale','_handlePropertyChange','discard','_getSuggestion','tableCellVerticalAlignment','plugins','tableProperties','getFirstPosition','data','tableCellBorderColor','tableAlignment','registerCustomCallback','_suggestionFactory','handleSuggestionDescription','pluginName','tableCellProperties','table','TrackChangesEditing','formatBlock','selection','tableCellHorizontalAlignment','getSuggestionCallback','TableUtils','TablePropertiesEditing','model','tableCellHeight','enableCommand','accept','get','has','editor','getAttribute','tableBorderWidth','tableBorderColor','afterInit'];(function(_0x2e4ff8,_0x2ff421){const _0x5a4f91=function(_0x428c5b){while(--_0x428c5b){_0x2e4ff8['push'](_0x2e4ff8['shift']());}};_0x5a4f91(++_0x2ff421);}(_0x2ff4,0x126));const _0x5a4f=function(_0x2e4ff8,_0x2ff421){_0x2e4ff8=_0x2e4ff8-0x0;let _0x5a4f91=_0x2ff4[_0x2e4ff8];return _0x5a4f91;};import{Plugin as _0x8c4243}from'ckeditor5/src/core';import{getTranslation as _0x5aaa4f}from'../utils/common-translations';export default class Dt extends _0x8c4243{constructor(_0x94019c){super(_0x94019c),this['tableProperties']=[_0x5a4f('0x10'),'tableBorderStyle',_0x5a4f('0xf'),_0x5a4f('0x2d'),'tableWidth','tableHeight','tableBackgroundColor'],this['tableCellProperties']=[_0x5a4f('0x2c'),_0x5a4f('0x18'),_0x5a4f('0x1b'),_0x5a4f('0x19'),_0x5a4f('0x1c'),_0x5a4f('0x8'),'tableCellBackgroundColor',_0x5a4f('0x3'),_0x5a4f('0x27')];}static get[_0x5a4f('0x31')](){return _0x5a4f('0x12');}[_0x5a4f('0x11')](){const _0x39d59d=this['editor'][_0x5a4f('0x28')]['get'](_0x5a4f('0x0'));if(this[_0x5a4f('0xd')][_0x5a4f('0x28')][_0x5a4f('0xc')](_0x5a4f('0x6'))){for(const _0x1fec5d of this[_0x5a4f('0x29')])_0x39d59d[_0x5a4f('0x9')](_0x1fec5d,(_0x5559ca,_0x1e1529)=>{const _0x3917b9=this[_0x5a4f('0xd')][_0x5a4f('0x7')][_0x5a4f('0x17')][_0x5a4f('0x2')][_0x5a4f('0x2a')]()['findAncestor'](_0x5a4f('0x33'));this['_handlePropertyChange'](_0x1fec5d,[_0x3917b9],this['tableProperties'],_0x5a4f('0x29'),_0x5559ca,_0x1e1529);});_0x39d59d[_0x5a4f('0x2f')][_0x5a4f('0x2e')](_0x5a4f('0x1'),'tableProperties',_0x5a4f('0xa'),_0x39d59d['_suggestionFactory'][_0x5a4f('0x4')]('formatBlock',null,_0x5a4f('0x25'))),_0x39d59d[_0x5a4f('0x2f')][_0x5a4f('0x2e')](_0x5a4f('0x1'),_0x5a4f('0x29'),_0x5a4f('0x25'),(_0x40e2ac,_0x59ce67)=>this[_0x5a4f('0x16')](this[_0x5a4f('0x29')],_0x40e2ac,_0x59ce67)),_0x39d59d['_suggestionFactory'][_0x5a4f('0x2e')](_0x5a4f('0x1'),_0x5a4f('0x29'),'join',()=>!0x1);}if(this[_0x5a4f('0xd')][_0x5a4f('0x28')][_0x5a4f('0xc')]('TableCellPropertiesEditing')){for(const _0x4d9829 of this['tableCellProperties'])_0x39d59d[_0x5a4f('0x9')](_0x4d9829,(_0x752c92,_0x4b5679)=>{const _0x2ba51a=this[_0x5a4f('0xd')][_0x5a4f('0x28')]['get'](_0x5a4f('0x5'))[_0x5a4f('0x14')](this['editor'][_0x5a4f('0x7')][_0x5a4f('0x17')][_0x5a4f('0x2')]);this[_0x5a4f('0x24')](_0x4d9829,_0x2ba51a,this[_0x5a4f('0x32')],_0x5a4f('0x32'),_0x752c92,_0x4b5679);});_0x39d59d['_suggestionFactory'][_0x5a4f('0x2e')](_0x5a4f('0x1'),'tableCellProperties',_0x5a4f('0xa'),_0x39d59d['_suggestionFactory'][_0x5a4f('0x4')](_0x5a4f('0x1'),null,_0x5a4f('0x25'))),_0x39d59d[_0x5a4f('0x2f')]['registerCustomCallback'](_0x5a4f('0x1'),'tableCellProperties',_0x5a4f('0x25'),(_0x11b0e2,_0x1111d3)=>this[_0x5a4f('0x16')](this[_0x5a4f('0x32')],_0x11b0e2,_0x1111d3)),_0x39d59d[_0x5a4f('0x2f')]['registerCustomCallback'](_0x5a4f('0x1'),_0x5a4f('0x32'),_0x5a4f('0x1d'),()=>!0x1);}_0x39d59d[_0x5a4f('0x1e')]['registerDescriptionCallback'](_0x5c7245=>this[_0x5a4f('0x30')](_0x5c7245));}[_0x5a4f('0x24')](_0x12edd5,_0x17a701,_0x2228fc,_0x1afb65,_0x2bddb9,_0x4bfe82){const _0x1c072c=this[_0x5a4f('0xd')][_0x5a4f('0x28')][_0x5a4f('0xb')]('TrackChangesEditing');this[_0x5a4f('0xd')][_0x5a4f('0x7')]['enqueueChange'](_0x4bfe82[_0x5a4f('0x20')],()=>{for(const _0x4df7e7 of _0x17a701){if(this[_0x5a4f('0x26')](_0x4df7e7,_0x1afb65))_0x2bddb9(_0x4bfe82);else{const _0x2f2943={};for(const _0x1d2272 of _0x2228fc){const _0x196680=_0x4df7e7[_0x5a4f('0xe')](_0x1d2272);void 0x0!==_0x196680&&(_0x2f2943[_0x1d2272]=_0x196680);}_0x2bddb9(_0x4bfe82),_0x1c072c['markBlockFormat'](_0x4df7e7,{'commandParams':[_0x2f2943]},[],_0x1afb65);}}});}['handleDiscardAction'](_0xda69f0,_0x2744e4,_0x2bb2bb){const _0x2f3f31=_0x2744e4[0x0][_0x5a4f('0x1f')]['nodeAfter'],_0xd25673=_0x2bb2bb['commandParams'][0x0];this['editor'][_0x5a4f('0x7')][_0x5a4f('0x15')](_0x3fc1f8=>{for(const _0x1a459b of _0xda69f0)void 0x0!==_0xd25673[_0x1a459b]?_0x3fc1f8['setAttribute'](_0x1a459b,_0xd25673[_0x1a459b],_0x2f3f31):_0x3fc1f8[_0x5a4f('0x1a')](_0x1a459b,_0x2f3f31);});}[_0x5a4f('0x30')](_0x151942){if(_0x151942[_0x5a4f('0x2b')])switch(_0x151942[_0x5a4f('0x13')]){case _0x5a4f('0x29'):return{'type':_0x5a4f('0x21'),'content':_0x5aaa4f(this[_0x5a4f('0xd')]['locale'],_0x5a4f('0x22'))};case _0x5a4f('0x32'):return{'type':_0x5a4f('0x21'),'content':_0x5aaa4f(this[_0x5a4f('0xd')][_0x5a4f('0x23')],'*Format:*\x20change\x20table\x20cell\x20properties')};}}[_0x5a4f('0x26')](_0x6fd33d,_0x2555c5){const _0x1d0ea3=this[_0x5a4f('0xd')][_0x5a4f('0x28')]['get'](_0x5a4f('0x0'));for(const _0x31cdf5 of _0x1d0ea3['getSuggestions']({'skipNotAttached':!0x0})){const _0x469d3a=_0x31cdf5['getContainedElement']();if(_0x31cdf5['subType']===_0x2555c5&&_0x469d3a===_0x6fd33d)return _0x31cdf5;}return null;}}
23
+ const _0x2f0e=['discard','formatBlock','TableCellPropertiesEditing','join','start','selection','data','tableBackgroundColor','editor','_suggestionFactory','getSuggestionCallback','tableHeight','tableWidth','get','findAncestor','enableCommand','batch','getFirstPosition','handleSuggestionDescription','_getSuggestion','getSelectionAffectedTableCells','table','subType','tableBorderStyle','TablePropertiesEditing','tableCellHeight','enqueueChange','change','TrackChangesEditing','has','model','registerDescriptionCallback','tableCellPadding','removeAttribute','getAttribute','plugins','registerCustomCallback','handleDiscardAction','locale','getContainedElement','tableProperties','document','afterInit','_handlePropertyChange','tableCellBorderStyle','tableCellHorizontalAlignment','tableAlignment','tableCellBorderWidth','nodeAfter','commandParams','tableCellProperties','setAttribute','markBlockFormat'];(function(_0x162e54,_0x2f0e57){const _0x22fcd5=function(_0x355400){while(--_0x355400){_0x162e54['push'](_0x162e54['shift']());}};_0x22fcd5(++_0x2f0e57);}(_0x2f0e,0xc1));const _0x22fc=function(_0x162e54,_0x2f0e57){_0x162e54=_0x162e54-0x0;let _0x22fcd5=_0x2f0e[_0x162e54];return _0x22fcd5;};import{Plugin as _0x129cb7}from'ckeditor5/src/core';import{getTranslation as _0x3714b5}from'../utils/common-translations';export default class Dt extends _0x129cb7{constructor(_0x97c1e3){super(_0x97c1e3),this['tableProperties']=['tableBorderColor',_0x22fc('0x2a'),'tableBorderWidth',_0x22fc('0xc'),_0x22fc('0x1f'),_0x22fc('0x1e'),_0x22fc('0x1a')],this['tableCellProperties']=['tableCellBorderColor',_0x22fc('0xa'),_0x22fc('0xd'),_0x22fc('0x33'),'tableCellWidth',_0x22fc('0x2c'),'tableCellBackgroundColor',_0x22fc('0xb'),'tableCellVerticalAlignment'];}static get['pluginName'](){return'TrackChangesTableProperties';}[_0x22fc('0x8')](){const _0x15acc5=this[_0x22fc('0x1b')]['plugins'][_0x22fc('0x20')](_0x22fc('0x2f'));if(this[_0x22fc('0x1b')][_0x22fc('0x1')][_0x22fc('0x30')](_0x22fc('0x2b'))){for(const _0x16bde0 of this['tableProperties'])_0x15acc5['enableCommand'](_0x16bde0,(_0x29fbfd,_0x55f888)=>{const _0x3d5289=this[_0x22fc('0x1b')][_0x22fc('0x31')][_0x22fc('0x7')][_0x22fc('0x18')][_0x22fc('0x24')]()[_0x22fc('0x21')](_0x22fc('0x28'));this[_0x22fc('0x9')](_0x16bde0,[_0x3d5289],this[_0x22fc('0x6')],_0x22fc('0x6'),_0x29fbfd,_0x55f888);});_0x15acc5[_0x22fc('0x1c')][_0x22fc('0x2')](_0x22fc('0x14'),'tableProperties','accept',_0x15acc5[_0x22fc('0x1c')][_0x22fc('0x1d')](_0x22fc('0x14'),null,_0x22fc('0x13'))),_0x15acc5[_0x22fc('0x1c')][_0x22fc('0x2')](_0x22fc('0x14'),_0x22fc('0x6'),_0x22fc('0x13'),(_0x439a4f,_0x373349)=>this[_0x22fc('0x3')](this['tableProperties'],_0x439a4f,_0x373349)),_0x15acc5[_0x22fc('0x1c')]['registerCustomCallback'](_0x22fc('0x14'),'tableProperties',_0x22fc('0x16'),()=>!0x1);}if(this[_0x22fc('0x1b')][_0x22fc('0x1')]['has'](_0x22fc('0x15'))){for(const _0xd5b2ca of this[_0x22fc('0x10')])_0x15acc5[_0x22fc('0x22')](_0xd5b2ca,(_0x5a7cc8,_0x4d15c7)=>{const _0x3050c9=this[_0x22fc('0x1b')][_0x22fc('0x1')]['get']('TableUtils')[_0x22fc('0x27')](this[_0x22fc('0x1b')][_0x22fc('0x31')][_0x22fc('0x7')][_0x22fc('0x18')]);this[_0x22fc('0x9')](_0xd5b2ca,_0x3050c9,this[_0x22fc('0x10')],_0x22fc('0x10'),_0x5a7cc8,_0x4d15c7);});_0x15acc5[_0x22fc('0x1c')]['registerCustomCallback'](_0x22fc('0x14'),_0x22fc('0x10'),'accept',_0x15acc5['_suggestionFactory']['getSuggestionCallback']('formatBlock',null,'discard')),_0x15acc5[_0x22fc('0x1c')][_0x22fc('0x2')](_0x22fc('0x14'),_0x22fc('0x10'),_0x22fc('0x13'),(_0x5e8be8,_0x1f1ee5)=>this[_0x22fc('0x3')](this[_0x22fc('0x10')],_0x5e8be8,_0x1f1ee5)),_0x15acc5[_0x22fc('0x1c')]['registerCustomCallback']('formatBlock',_0x22fc('0x10'),'join',()=>!0x1);}_0x15acc5['_descriptionFactory'][_0x22fc('0x32')](_0x25d98b=>this[_0x22fc('0x25')](_0x25d98b));}[_0x22fc('0x9')](_0x1adb4b,_0x2a099e,_0xdc7bb1,_0x4a6e79,_0x1364e2,_0x5bface){const _0x4e725b=this[_0x22fc('0x1b')][_0x22fc('0x1')]['get'](_0x22fc('0x2f'));this[_0x22fc('0x1b')][_0x22fc('0x31')][_0x22fc('0x2d')](_0x5bface[_0x22fc('0x23')],()=>{for(const _0x2e6626 of _0x2a099e){if(this['_getSuggestion'](_0x2e6626,_0x4a6e79))_0x1364e2(_0x5bface);else{const _0x2cfdc2={};for(const _0x31c8c9 of _0xdc7bb1){const _0x590ef0=_0x2e6626[_0x22fc('0x0')](_0x31c8c9);void 0x0!==_0x590ef0&&(_0x2cfdc2[_0x31c8c9]=_0x590ef0);}_0x1364e2(_0x5bface),_0x4e725b[_0x22fc('0x12')](_0x2e6626,{'commandParams':[_0x2cfdc2]},[],_0x4a6e79);}}});}['handleDiscardAction'](_0x27d892,_0x26c002,_0x1fa4dc){const _0x405d2e=_0x26c002[0x0][_0x22fc('0x17')][_0x22fc('0xe')],_0x1daa9e=_0x1fa4dc[_0x22fc('0xf')][0x0];this['editor'][_0x22fc('0x31')][_0x22fc('0x2e')](_0x147d6b=>{for(const _0x504531 of _0x27d892)void 0x0!==_0x1daa9e[_0x504531]?_0x147d6b[_0x22fc('0x11')](_0x504531,_0x1daa9e[_0x504531],_0x405d2e):_0x147d6b[_0x22fc('0x34')](_0x504531,_0x405d2e);});}['handleSuggestionDescription'](_0x4be0da){if(_0x4be0da[_0x22fc('0x19')])switch(_0x4be0da[_0x22fc('0x29')]){case _0x22fc('0x6'):return{'type':'format','content':_0x3714b5(this[_0x22fc('0x1b')]['locale'],'*Format:*\x20change\x20table\x20properties')};case _0x22fc('0x10'):return{'type':'format','content':_0x3714b5(this[_0x22fc('0x1b')][_0x22fc('0x4')],'*Format:*\x20change\x20table\x20cell\x20properties')};}}[_0x22fc('0x26')](_0x2f600e,_0x22d097){const _0x14ca08=this[_0x22fc('0x1b')][_0x22fc('0x1')][_0x22fc('0x20')](_0x22fc('0x2f'));for(const _0x73573b of _0x14ca08['getSuggestions']({'skipNotAttached':!0x0})){const _0x41f2e1=_0x73573b[_0x22fc('0x5')]();if(_0x73573b[_0x22fc('0x29')]===_0x22d097&&_0x41f2e1===_0x2f600e)return _0x73573b;}return null;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x21e7=['afterInit','Template','TrackChangesEditing','has','editor','enableCommand','get'];(function(_0x437c50,_0x21e748){const _0x577109=function(_0x3500af){while(--_0x3500af){_0x437c50['push'](_0x437c50['shift']());}};_0x577109(++_0x21e748);}(_0x21e7,0x17f));const _0x5771=function(_0x437c50,_0x21e748){_0x437c50=_0x437c50-0x0;let _0x577109=_0x21e7[_0x437c50];return _0x577109;};import{Plugin as _0x149bd3}from'ckeditor5/src/core';export default class bt extends _0x149bd3{[_0x5771('0x2')](){const _0x45f94c=this[_0x5771('0x6')];_0x45f94c['plugins'][_0x5771('0x5')](_0x5771('0x3'))&&_0x45f94c['plugins'][_0x5771('0x1')](_0x5771('0x4'))[_0x5771('0x0')]('insertTemplate');}}
23
+ const _0x5c90=['plugins','Template','has','insertTemplate','get','TrackChangesEditing'];(function(_0x212054,_0x5c905c){const _0x149963=function(_0x2256b2){while(--_0x2256b2){_0x212054['push'](_0x212054['shift']());}};_0x149963(++_0x5c905c);}(_0x5c90,0xef));const _0x1499=function(_0x212054,_0x5c905c){_0x212054=_0x212054-0x0;let _0x149963=_0x5c90[_0x212054];return _0x149963;};import{Plugin as _0x110395}from'ckeditor5/src/core';export default class bt extends _0x110395{['afterInit'](){const _0x4785ea=this['editor'];_0x4785ea[_0x1499('0x1')][_0x1499('0x3')](_0x1499('0x2'))&&_0x4785ea[_0x1499('0x1')][_0x1499('0x5')](_0x1499('0x0'))['enableCommand'](_0x1499('0x4'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x13e6=['suggestion','_descriptionFactory','end','isCollapsed','has','element','newRange','from','editor','isTouching','TrackChangesEditing','registerPostFixer','title-content','differ','createRange','getNearestSelectionRange','get','locale','start','_splitMarkerName','updateMarker','forward','document','ELEMENT_TITLE','model'];(function(_0x3827d4,_0x13e63b){const _0x15bc06=function(_0x4484af){while(--_0x4484af){_0x3827d4['push'](_0x3827d4['shift']());}};_0x15bc06(++_0x13e63b);}(_0x13e6,0x150));const _0x15bc=function(_0x3827d4,_0x13e63b){_0x3827d4=_0x3827d4-0x0;let _0x15bc06=_0x13e6[_0x3827d4];return _0x15bc06;};import{Plugin as _0x590ac9}from'ckeditor5/src/core';import{getTranslation as _0x4d3431}from'../utils/common-translations';export default class It extends _0x590ac9{['afterInit'](){const _0x3ecee9=this[_0x15bc('0x16')];if(!_0x3ecee9['plugins'][_0x15bc('0x12')]('Title'))return;const _0x15d7b8=_0x3ecee9['plugins'][_0x15bc('0x5')](_0x15bc('0x18'));_0x15d7b8[_0x15bc('0xf')]['registerElementLabel']('title-content',()=>_0x4d3431(_0x3ecee9[_0x15bc('0x6')],_0x15bc('0xc'))),_0x3ecee9[_0x15bc('0xd')][_0x15bc('0xb')][_0x15bc('0x0')](_0x5b626f=>{let _0x44d217=!0x1;const _0x3feb03=Array[_0x15bc('0x15')](_0x3ecee9['model'][_0x15bc('0xb')][_0x15bc('0x2')]['getChangedMarkers']());for(const {name:_0x22b5fc,data:_0x53e4cc}of _0x3feb03){const {group:_0x4f7fcc}=_0x15d7b8[_0x15bc('0x8')](_0x22b5fc);if(_0x15bc('0xe')!==_0x4f7fcc||!_0x53e4cc['newRange'])continue;const _0x34246e=_0x53e4cc[_0x15bc('0x14')],_0x3257c9=_0x34246e[_0x15bc('0x10')]['nodeBefore'];if(!_0x3257c9||!_0x3257c9['is'](_0x15bc('0x13'),_0x15bc('0x1')))continue;if(!_0x34246e[_0x15bc('0x7')][_0x15bc('0x17')](_0x34246e[_0x15bc('0x10')]))continue;const _0x3f1ce8=_0x3ecee9['model']['schema'][_0x15bc('0x4')](_0x34246e[_0x15bc('0x10')],_0x15bc('0xa'));if(_0x3f1ce8&&_0x3f1ce8[_0x15bc('0x11')]){const _0xa25cea=_0x5b626f[_0x15bc('0x3')](_0x34246e['start'],_0x3f1ce8[_0x15bc('0x7')]);_0xa25cea['isEqual'](_0x34246e)||(_0x5b626f[_0x15bc('0x9')](_0x22b5fc,{'range':_0xa25cea}),_0x44d217=!0x0);}_0x44d217||(_0x5b626f['removeMarker'](_0x22b5fc),_0x44d217=!0x0);}return _0x44d217;});}}
23
+ const _0x2191=['newRange','suggestion','locale','isEqual','Title','isCollapsed','schema','isTouching','_descriptionFactory','createRange','TrackChangesEditing','from','differ','_splitMarkerName','start','forward','updateMarker','registerPostFixer','nodeBefore','registerElementLabel','getNearestSelectionRange','title-content','has','getChangedMarkers','plugins','editor','end','removeMarker','model','document','ELEMENT_TITLE','get'];(function(_0x51a324,_0x219196){const _0x15b874=function(_0x333de9){while(--_0x333de9){_0x51a324['push'](_0x51a324['shift']());}};_0x15b874(++_0x219196);}(_0x2191,0x1bb));const _0x15b8=function(_0x51a324,_0x219196){_0x51a324=_0x51a324-0x0;let _0x15b874=_0x2191[_0x51a324];return _0x15b874;};import{Plugin as _0x1ffecb}from'ckeditor5/src/core';import{getTranslation as _0x4b6cb0}from'../utils/common-translations';export default class It extends _0x1ffecb{['afterInit'](){const _0xb31e28=this[_0x15b8('0x1e')];if(!_0xb31e28[_0x15b8('0x1d')][_0x15b8('0x1b')](_0x15b8('0x9')))return;const _0x2543ea=_0xb31e28[_0x15b8('0x1d')][_0x15b8('0x4')](_0x15b8('0xf'));_0x2543ea[_0x15b8('0xd')][_0x15b8('0x18')](_0x15b8('0x1a'),()=>_0x4b6cb0(_0xb31e28[_0x15b8('0x7')],_0x15b8('0x3'))),_0xb31e28['model'][_0x15b8('0x2')][_0x15b8('0x16')](_0x1b6b86=>{let _0x813a79=!0x1;const _0x471c31=Array[_0x15b8('0x10')](_0xb31e28[_0x15b8('0x1')][_0x15b8('0x2')][_0x15b8('0x11')][_0x15b8('0x1c')]());for(const {name:_0x2ae187,data:_0x2d8633}of _0x471c31){const {group:_0x5230e2}=_0x2543ea[_0x15b8('0x12')](_0x2ae187);if(_0x15b8('0x6')!==_0x5230e2||!_0x2d8633[_0x15b8('0x5')])continue;const _0x3dfd20=_0x2d8633[_0x15b8('0x5')],_0x122b22=_0x3dfd20[_0x15b8('0x1f')][_0x15b8('0x17')];if(!_0x122b22||!_0x122b22['is']('element',_0x15b8('0x1a')))continue;if(!_0x3dfd20[_0x15b8('0x13')][_0x15b8('0xc')](_0x3dfd20[_0x15b8('0x1f')]))continue;const _0x1893f5=_0xb31e28[_0x15b8('0x1')][_0x15b8('0xb')][_0x15b8('0x19')](_0x3dfd20[_0x15b8('0x1f')],_0x15b8('0x14'));if(_0x1893f5&&_0x1893f5[_0x15b8('0xa')]){const _0x651312=_0x1b6b86[_0x15b8('0xe')](_0x3dfd20['start'],_0x1893f5['start']);_0x651312[_0x15b8('0x8')](_0x3dfd20)||(_0x1b6b86[_0x15b8('0x15')](_0x2ae187,{'range':_0x651312}),_0x813a79=!0x0);}_0x813a79||(_0x1b6b86[_0x15b8('0x0')](_0x2ae187),_0x813a79=!0x0);}return _0x813a79;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1ed3=['plugins','afterInit','undo','enableCommand','get','UndoEditing','has','TrackChangesEditing','redo'];(function(_0x1125a6,_0x1ed30b){const _0x189f15=function(_0x36c4c1){while(--_0x36c4c1){_0x1125a6['push'](_0x1125a6['shift']());}};_0x189f15(++_0x1ed30b);}(_0x1ed3,0xac));const _0x189f=function(_0x1125a6,_0x1ed30b){_0x1125a6=_0x1125a6-0x0;let _0x189f15=_0x1ed3[_0x1125a6];return _0x189f15;};import{Plugin as _0x1ee5d1}from'ckeditor5/src/core';export default class vt extends _0x1ee5d1{[_0x189f('0x0')](){const _0x174e3c=this['editor'],_0x1f27f2=_0x174e3c[_0x189f('0x8')][_0x189f('0x3')](_0x189f('0x6'));_0x174e3c[_0x189f('0x8')][_0x189f('0x5')](_0x189f('0x4'))&&(_0x1f27f2[_0x189f('0x2')](_0x189f('0x1')),_0x1f27f2[_0x189f('0x2')](_0x189f('0x7')));}}
23
+ const _0x5edd=['plugins','enableCommand','editor','has','TrackChangesEditing','afterInit','UndoEditing','undo'];(function(_0x291311,_0x5edd86){const _0x2b8845=function(_0x566cd9){while(--_0x566cd9){_0x291311['push'](_0x291311['shift']());}};_0x2b8845(++_0x5edd86);}(_0x5edd,0x110));const _0x2b88=function(_0x291311,_0x5edd86){_0x291311=_0x291311-0x0;let _0x2b8845=_0x5edd[_0x291311];return _0x2b8845;};import{Plugin as _0x3749ca}from'ckeditor5/src/core';export default class vt extends _0x3749ca{[_0x2b88('0x5')](){const _0xc3b530=this[_0x2b88('0x2')],_0x518d69=_0xc3b530['plugins']['get'](_0x2b88('0x4'));_0xc3b530[_0x2b88('0x0')][_0x2b88('0x3')](_0x2b88('0x6'))&&(_0x518d69['enableCommand'](_0x2b88('0x7')),_0x518d69[_0x2b88('0x1')]('redo'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x595d=['previousPosition','activeMarkers','TrackChangesEditing','getItems','createRangeOn','isAtEnd','ck-suggestion-marker--active','name','item','bindElementToMarker','type','nextSibling','getCustomProperty','listIndent','get','plugins','markerName','elementEnd','insert','isBlock','mapper','test','listItem','markerRange','isLimit','isContent','hasAttribute','getWalker','ck-suggestion-marker-','includes','span','writer','getAttribute','parent'];(function(_0x86ea39,_0x595df5){const _0x582754=function(_0x11cb24){while(--_0x11cb24){_0x86ea39['push'](_0x86ea39['shift']());}};_0x582754(++_0x595df5);}(_0x595d,0x87));const _0x5827=function(_0x86ea39,_0x595df5){_0x86ea39=_0x86ea39-0x0;let _0x582754=_0x595d[_0x86ea39];return _0x582754;};export function getRangesWithAttribute(_0x413a97,_0x261c29,_0x401304){const _0x570d18=[];for(const _0x55eec8 of _0x261c29[_0x5827('0x4')]())_0x55eec8[_0x5827('0x1b')](_0x413a97)&&_0x570d18['push'](_0x401304[_0x5827('0x5')](_0x55eec8));return _0x570d18;}export function getElementsAffectedByListItemRename(_0x1e261d){const _0x2df1b9=[];if(_0x1e261d['is']('element',_0x5827('0x17'))){let _0xff9382=_0x1e261d[_0x5827('0xc')];for(;_0xff9382&&_0xff9382['is']('element',_0x5827('0x17'))&&_0xff9382[_0x5827('0x21')](_0x5827('0xe'))>0x0;)_0x2df1b9['push'](_0xff9382),_0xff9382=_0xff9382['nextSibling'];}return _0x2df1b9;}export function downcastSplitMergeMarker(_0x506b13,_0x4ee16e,{showActiveMarker:_0x56e183=!0x0}={}){const _0x3eba72=_0x506b13[_0x5827('0x10')][_0x5827('0xf')](_0x5827('0x3'));return(_0x2c876d,_0x23c0ef,_0x228613)=>{if(!_0x228613['consumable'][_0x5827('0x16')](_0x23c0ef[_0x5827('0x18')],_0x2c876d[_0x5827('0x8')]))return;const _0x39a47e=_0x23c0ef[_0x5827('0x18')][_0x5827('0x1c')](),_0x1a3b7b=_0x23c0ef[_0x5827('0x18')]['start'],_0x294c3d=_0x506b13['model']['schema'];let _0x4ab423=null,_0x536f6e=null,_0x2af311=!0x1,_0x47d9ba=!0x1;for(const _0x2bfeaa of _0x39a47e){const _0x506381=_0x2bfeaa[_0x5827('0x9')];_0x2af311=_0x2af311||_0x294c3d[_0x5827('0x1a')](_0x506381);const _0x965483=_0x228613[_0x5827('0x15')]['toViewElement'](_0x506381);if(_0x965483&&_0x965483[_0x5827('0xd')]('addHighlight'))return;_0x5827('0x12')==_0x2bfeaa[_0x5827('0xb')]&&(_0x294c3d[_0x5827('0x14')](_0x506381)&&!_0x294c3d[_0x5827('0x19')](_0x506381)&&(_0x506381[_0x5827('0xc')]||_0x1a3b7b[_0x5827('0x6')]?_0x4ab423&&_0x4ab423[_0x5827('0x0')]==_0x506381||(_0x4ab423=_0x506381,_0x259b99(_0x2bfeaa[_0x5827('0x1')]),_0x47d9ba=!0x0):_0x536f6e=_0x536f6e||_0x2bfeaa[_0x5827('0x1')]));}function _0x259b99(_0x3aa837){const _0x425afc=_0x228613[_0x5827('0x20')]['createUIElement'](_0x5827('0x1f'),{'class':_0x5827('0x1d')+_0x4ee16e}),_0x13e3de=_0x228613['mapper']['toViewPosition'](_0x3aa837);_0x56e183&&_0x3eba72[_0x5827('0x2')][_0x5827('0x1e')](_0x23c0ef[_0x5827('0x11')])&&_0x228613['writer']['addClass'](_0x5827('0x7'),_0x425afc),_0x228613[_0x5827('0x20')][_0x5827('0x13')](_0x13e3de,_0x425afc),_0x228613['mapper'][_0x5827('0xa')](_0x425afc,_0x23c0ef['markerName']);}_0x2af311||_0x47d9ba||!_0x536f6e||_0x259b99(_0x536f6e);};}
23
+ const _0x11b1=['ck-suggestion-marker--active','consumable','push','isContent','type','isAtEnd','listIndent','writer','name','activeMarkers','mapper','createUIElement','isBlock','ck-suggestion-marker-','model','get','element','listItem','createRangeOn','getCustomProperty','schema','addClass','getItems','span','bindElementToMarker','test','parent','includes','markerRange','nextSibling','item','getWalker'];(function(_0x4fb41c,_0x11b148){const _0x4c9bde=function(_0x2f88c4){while(--_0x2f88c4){_0x4fb41c['push'](_0x4fb41c['shift']());}};_0x4c9bde(++_0x11b148);}(_0x11b1,0x1b3));const _0x4c9b=function(_0x4fb41c,_0x11b148){_0x4fb41c=_0x4fb41c-0x0;let _0x4c9bde=_0x11b1[_0x4fb41c];return _0x4c9bde;};export function getRangesWithAttribute(_0x1fb87c,_0xbb8df,_0x45a7a3){const _0x22366e=[];for(const _0x2dadb5 of _0xbb8df[_0x4c9b('0x3')]())_0x2dadb5['hasAttribute'](_0x1fb87c)&&_0x22366e[_0x4c9b('0xf')](_0x45a7a3[_0x4c9b('0x1f')](_0x2dadb5));return _0x22366e;}export function getElementsAffectedByListItemRename(_0x53fa30){const _0x54d82c=[];if(_0x53fa30['is'](_0x4c9b('0x1d'),_0x4c9b('0x1e'))){let _0x21bfde=_0x53fa30['nextSibling'];for(;_0x21bfde&&_0x21bfde['is'](_0x4c9b('0x1d'),'listItem')&&_0x21bfde['getAttribute'](_0x4c9b('0x13'))>0x0;)_0x54d82c[_0x4c9b('0xf')](_0x21bfde),_0x21bfde=_0x21bfde['nextSibling'];}return _0x54d82c;}export function downcastSplitMergeMarker(_0x37a9e5,_0x1fcd44,{showActiveMarker:_0x1c4b71=!0x0}={}){const _0x4859a3=_0x37a9e5['plugins'][_0x4c9b('0x1c')]('TrackChangesEditing');return(_0x493e53,_0x3a6cdd,_0x36d75b)=>{if(!_0x36d75b[_0x4c9b('0xe')][_0x4c9b('0x6')](_0x3a6cdd[_0x4c9b('0x9')],_0x493e53[_0x4c9b('0x15')]))return;const _0x43b61b=_0x3a6cdd[_0x4c9b('0x9')][_0x4c9b('0xc')](),_0x567b31=_0x3a6cdd['markerRange']['start'],_0x2396e4=_0x37a9e5[_0x4c9b('0x1b')][_0x4c9b('0x1')];let _0x34928e=null,_0xb1312f=null,_0xf2ceaf=!0x1,_0x222c62=!0x1;for(const _0x41b90d of _0x43b61b){const _0x3d9b28=_0x41b90d[_0x4c9b('0xb')];_0xf2ceaf=_0xf2ceaf||_0x2396e4[_0x4c9b('0x10')](_0x3d9b28);const _0x554ba6=_0x36d75b[_0x4c9b('0x17')]['toViewElement'](_0x3d9b28);if(_0x554ba6&&_0x554ba6[_0x4c9b('0x0')]('addHighlight'))return;'elementEnd'==_0x41b90d[_0x4c9b('0x11')]&&(_0x2396e4[_0x4c9b('0x19')](_0x3d9b28)&&!_0x2396e4['isLimit'](_0x3d9b28)&&(_0x3d9b28[_0x4c9b('0xa')]||_0x567b31[_0x4c9b('0x12')]?_0x34928e&&_0x34928e[_0x4c9b('0x7')]==_0x3d9b28||(_0x34928e=_0x3d9b28,_0x5805c9(_0x41b90d['previousPosition']),_0x222c62=!0x0):_0xb1312f=_0xb1312f||_0x41b90d['previousPosition']));}function _0x5805c9(_0xa2082b){const _0x1b4897=_0x36d75b[_0x4c9b('0x14')][_0x4c9b('0x18')](_0x4c9b('0x4'),{'class':_0x4c9b('0x1a')+_0x1fcd44}),_0x46e147=_0x36d75b[_0x4c9b('0x17')]['toViewPosition'](_0xa2082b);_0x1c4b71&&_0x4859a3[_0x4c9b('0x16')][_0x4c9b('0x8')](_0x3a6cdd['markerName'])&&_0x36d75b[_0x4c9b('0x14')][_0x4c9b('0x2')](_0x4c9b('0xd'),_0x1b4897),_0x36d75b[_0x4c9b('0x14')]['insert'](_0x46e147,_0x1b4897),_0x36d75b[_0x4c9b('0x17')][_0x4c9b('0x5')](_0x1b4897,_0x3a6cdd['markerName']);}_0xf2ceaf||_0x222c62||!_0xb1312f||_0x5805c9(_0xb1312f);};}