@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20230718.0 → 0.0.0-nightly-20230720.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (64) hide show
  1. package/build/track-changes.js +1 -1
  2. package/package.json +4 -4
  3. package/src/commands/acceptsuggestioncommand.js +1 -1
  4. package/src/commands/discardsuggestioncommand.js +1 -1
  5. package/src/commands/executeonallsuggestionscommand.js +1 -1
  6. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  7. package/src/commands/trackchangescommand.js +1 -1
  8. package/src/integrations/alignment.js +1 -1
  9. package/src/integrations/basicstyles.js +1 -1
  10. package/src/integrations/blockquote.js +1 -1
  11. package/src/integrations/ckbox.js +1 -1
  12. package/src/integrations/codeblock.js +1 -1
  13. package/src/integrations/comments.js +1 -1
  14. package/src/integrations/deletecommand.js +1 -1
  15. package/src/integrations/documentlist.js +1 -1
  16. package/src/integrations/documentlistproperties.js +1 -1
  17. package/src/integrations/entercommand.js +1 -1
  18. package/src/integrations/findandreplace.js +1 -1
  19. package/src/integrations/font.js +1 -1
  20. package/src/integrations/formatpainter.js +1 -1
  21. package/src/integrations/heading.js +1 -1
  22. package/src/integrations/highlight.js +1 -1
  23. package/src/integrations/horizontalline.js +1 -1
  24. package/src/integrations/htmlembed.js +1 -1
  25. package/src/integrations/image.js +1 -1
  26. package/src/integrations/imagereplace.js +1 -1
  27. package/src/integrations/importword.js +1 -1
  28. package/src/integrations/indent.js +1 -1
  29. package/src/integrations/inputcommand.js +1 -1
  30. package/src/integrations/link.js +1 -1
  31. package/src/integrations/list.js +1 -1
  32. package/src/integrations/listproperties.js +1 -1
  33. package/src/integrations/mediaembed.js +1 -1
  34. package/src/integrations/mention.js +1 -1
  35. package/src/integrations/pagebreak.js +1 -1
  36. package/src/integrations/paragraph.js +1 -1
  37. package/src/integrations/removeformat.js +1 -1
  38. package/src/integrations/restrictededitingmode.js +1 -1
  39. package/src/integrations/shiftentercommand.js +1 -1
  40. package/src/integrations/standardeditingmode.js +1 -1
  41. package/src/integrations/style.js +1 -1
  42. package/src/integrations/table.js +1 -1
  43. package/src/integrations/tablecaption.js +1 -1
  44. package/src/integrations/tableclipboard.js +1 -1
  45. package/src/integrations/tablecolumnresize.js +1 -1
  46. package/src/integrations/tableheadings.js +1 -1
  47. package/src/integrations/tablemergesplit.js +1 -1
  48. package/src/integrations/tableofcontents.js +1 -1
  49. package/src/integrations/tableproperties.js +1 -1
  50. package/src/integrations/template.js +1 -1
  51. package/src/integrations/title.js +1 -1
  52. package/src/integrations/undo.js +1 -1
  53. package/src/integrations/utils.js +1 -1
  54. package/src/suggestion.js +1 -1
  55. package/src/suggestiondescriptionfactory.js +1 -1
  56. package/src/trackchanges.js +1 -1
  57. package/src/trackchangesdata.js +1 -1
  58. package/src/trackchangesediting.js +1 -1
  59. package/src/trackchangesui.js +1 -1
  60. package/src/ui/suggestioncontroller.js +1 -1
  61. package/src/ui/view/basesuggestionthreadview.js +1 -1
  62. package/src/ui/view/suggestionthreadview.js +1 -1
  63. package/src/utils/common-translations.js +1 -1
  64. package/src/utils/utils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1c30=['previous','getChangedMarkers','getRange','tableCellSuggestion','suggestion','map','view','join','for','rowInsertionIndexes','getAllAdjacentSuggestions','cell','createTableWalker','get','getAttributes','start','markerToHighlight','push','tableCellBorderStyle','tableCellBorderWidth','registerPostFixer','options','markMultiRangeInsertion','paragraph','TableClipboard','getTableIfOnlyTableInContent','elementToElement','oldRange','tableCell','some','remove','suggestionUnloaded','move','locale','commands','suggestion-td','listenTo','discard','subType','nextSibling','insertion','createRangeOn','removeColumns','_replaceTableSlotCell','tableCellBackgroundColor','position','registerDescriptionCallback','dataDowncast','model','name','newRange','table','find','tableCellHorizontalAlignment','createElement','return','endRow','accept','conversion','removeMarker','element','rows','_descriptionFactory','activeMarkers','stop','getSuggestionCallback','forceDefaultExecution','markMultiRangeBlockFormat','tablePasteRow','next','last','author','formatBlock','getRows','createRange','tablePasteChainId','_isForcedDefaultExecutionBlock','markMultiRangeDeletion','content','tablePaste','tablePasteColumn','ck-suggestion-marker-insertion','hasSuggestion','_createdBatches','getRanges','nodeAfter','previousSibling','markerName','first','wrap','_getCoordsForCells','add','batch','createPositionBefore','selection','getChild','getChildren','deletion','register','filter','set','Users','editing','findAncestor','markers','editor','insertContent','end','change','TableUtils','unwrap','registerCustomCallback','suggestion:formatBlock:tablePasteCell','markerAttributes','createRangeIn','length','tablePasteCell','getContainedElement','schema','reduce','includes','_suggestionFactory','startsWith','ck-suggestion-marker--active','afterInit','_tablePostFixingSubtypes','setAttributes','differ','containsRange','isEmpty','column','insert','insertionRanges','every','suggestionLoaded','trackChanges','removeMarkers','endColumn','insertColumns','type','redo','requires','$graveyard','low','updateMarker','isInContent','document','_splitMarkerName','getChanges','from','entries','attributes','has','getSuggestion','ck-suggestion-marker','setAttribute','columnInsertionIndexes','plugins','TrackChangesEditing','insertRows','keys','isEqual','getSuggestions','row','getColumns','cells','high'];(function(_0x10f7d8,_0x1c3035){const _0x1c2a78=function(_0x2b89ea){while(--_0x2b89ea){_0x10f7d8['push'](_0x10f7d8['shift']());}};_0x1c2a78(++_0x1c3035);}(_0x1c30,0xab));const _0x1c2a=function(_0x10f7d8,_0x1c3035){_0x10f7d8=_0x10f7d8-0x0;let _0x1c2a78=_0x1c30[_0x10f7d8];return _0x1c2a78;};import{getTranslation as _0x3caa7d}from'../utils/common-translations';import{Plugin as _0x1bf279}from'ckeditor5/src/core';import{uid as _0xe0c9c9,priorities as _0x5706b5}from'ckeditor5/src/utils';import _0x477987 from'./table';const le=[_0x1c2a('0xf'),'tableCellBorderColor',_0x1c2a('0xe'),_0x1c2a('0x31'),'tableCellVerticalAlignment',_0x1c2a('0x28'),'tableCellPadding'],ae=Object['fromEntries'](le['map'](_0x288b8b=>[_0x288b8b,null]));export default class kt extends _0x1bf279{static get[_0x1c2a('0x89')](){return[_0x477987];}[_0x1c2a('0x78')](){const _0x358f5d=this[_0x1c2a('0x65')];if(!_0x358f5d[_0x1c2a('0x99')]['has'](_0x1c2a('0x14')))return;const _0x5d720e=_0x358f5d[_0x1c2a('0x99')]['get'](_0x1c2a('0x9a')),_0x452980=_0x358f5d['plugins'][_0x1c2a('0x9')](_0x1c2a('0x69')),_0x48b65f=_0x358f5d[_0x1c2a('0x99')][_0x1c2a('0x9')](_0x477987),_0x1357e2=_0x358f5d[_0x1c2a('0x99')][_0x1c2a('0x9')](_0x1c2a('0x14'));_0x48b65f[_0x1c2a('0x79')]['push'](_0x1c2a('0x40'),_0x1c2a('0x4c')),_0x358f5d[_0x1c2a('0x2c')][_0x1c2a('0x72')][_0x1c2a('0x5e')](_0x1c2a('0xa6'),{'allowIn':'tableCell','allowContentOf':_0x1c2a('0x18'),'isLimit':!0x0}),_0x358f5d['conversion'][_0x1c2a('0x16')]({'model':_0x1c2a('0xa6'),'view':_0x1c2a('0x1f')});let _0x2537f5=null;_0x358f5d[_0x1c2a('0x2c')]['on'](_0x1c2a('0x66'),(_0x373ed2,_0x1c9f87)=>{const [_0x2d1dc6,_0x3cda52]=_0x1c9f87,_0x5147bc=_0x1c9f87[_0x1c9f87[_0x1c2a('0x6f')]-0x1];_0x5147bc&&_0x5147bc[_0x1c2a('0x3e')]||_0x5d720e[_0x1c2a('0x48')]||this['editor'][_0x1c2a('0x1e')][_0x1c2a('0x9')](_0x1c2a('0x83'))['value']&&function(_0x20bf70,_0x1f532b,_0x43a09f,_0x4ca99d,_0x4e2398){if(_0x1f532b&&!_0x1f532b['is']('documentSelection'))return!0x1;const _0xcda2c7=_0x4e2398[_0x1c2a('0x15')](_0x20bf70,_0x43a09f);if(!_0xcda2c7||!fe(_0xcda2c7,void 0x0,_0x4ca99d))return!0x1;const _0x32d700=_0x4ca99d['getSelectionAffectedTableCells'](_0x43a09f[_0x1c2a('0x8e')][_0x1c2a('0x5a')]);if(!_0x32d700[_0x1c2a('0x6f')])return!0x1;const _0x54546e=_0x32d700[0x0][_0x1c2a('0x63')](_0x1c2a('0x2f')),_0x349ddc=_0x4ca99d['getRowIndexes'](_0x32d700),_0xbcbe5=_0x4ca99d['getColumnIndexes'](_0x32d700),_0x129364={'startRow':_0x349ddc[_0x1c2a('0x54')],'endRow':_0x349ddc['last'],'startColumn':_0xbcbe5[_0x1c2a('0x54')],'endColumn':_0xbcbe5[_0x1c2a('0x42')]};return 0x1==_0x32d700[_0x1c2a('0x6f')]&&(_0x129364[_0x1c2a('0x34')]+=_0x4ca99d[_0x1c2a('0x45')](_0xcda2c7)-0x1,_0x129364[_0x1c2a('0x85')]+=_0x4ca99d[_0x1c2a('0xa0')](_0xcda2c7)-0x1),fe(_0x54546e,_0x129364,_0x4ca99d);}(_0x2d1dc6,_0x3cda52,_0x358f5d[_0x1c2a('0x2c')],_0x452980,_0x1357e2)&&(_0x373ed2[_0x1c2a('0x3c')](),_0x2537f5={'cells':[],'insertionRanges':[],'deletionRanges':[],'rowInsertionRanges':[],'rowInsertionIndexes':[],'columnInsertionRanges':[],'columnInsertionIndexes':[]},_0x358f5d[_0x1c2a('0x2c')]['change'](()=>{_0x358f5d[_0x1c2a('0x2c')]['insertContent'](_0x1c9f87[0x0],_0x1c9f87[0x1],_0x1c9f87[0x2],{'forceDefaultExecution':!0x0});const _0x381156=_0xe0c9c9(),{rowInsertionRanges:_0x1de1f3,columnInsertionRanges:_0x2db466,insertionRanges:_0x4b3c8a,deletionRanges:_0x39cca0,cells:_0x4e8700}=_0x2537f5;_0x1de1f3['length']&&_0x5d720e[_0x1c2a('0x12')](_0x1de1f3,_0x1c2a('0x40'),{'tablePasteChainId':_0x381156}),_0x2db466['length']&&_0x5d720e[_0x1c2a('0x12')](_0x2db466,_0x1c2a('0x4c'),{'tablePasteChainId':_0x381156}),_0x4b3c8a[_0x1c2a('0x6f')]&&_0x5d720e[_0x1c2a('0x12')](_0x4b3c8a,'tablePaste',{'tablePasteChainId':_0x381156,'skipNestingCheck':!0x0}),_0x39cca0[_0x1c2a('0x6f')]&&_0x5d720e[_0x1c2a('0x49')](_0x39cca0,_0x1c2a('0x4b'),{'tablePasteChainId':_0x381156,'skipNestingCheck':!0x0});const _0x2a9ff0=_0x5d720e[_0x1c2a('0x3f')](_0x4e8700['map'](({element:_0x2075ec})=>_0x2075ec),{'formatGroupId':_0xe0c9c9()},[],_0x1c2a('0x70'),{'tablePasteChainId':_0x381156});if(_0x2a9ff0){const _0x261f14=_0x2a9ff0['getMarkers'](),_0x31814f=[];for(const {element:_0x353043,attributes:_0x304d14}of _0x4e8700){if(!_0x304d14)continue;const _0x3105c5=_0x358f5d[_0x1c2a('0x2c')][_0x1c2a('0x25')](_0x353043),_0x595b33=_0x261f14[_0x1c2a('0x30')](_0x2a06d0=>_0x2a06d0[_0x1c2a('0xa5')]()[_0x1c2a('0x9d')](_0x3105c5));_0x595b33&&_0x31814f[_0x1c2a('0xd')]([_0x595b33[_0x1c2a('0x2d')],_0x304d14]);}_0x31814f[_0x1c2a('0x6f')]&&_0x2a9ff0[_0x1c2a('0x97')](_0x1c2a('0x6d'),Object['fromEntries'](_0x31814f));}_0x2537f5=null;}));},{'priority':_0x5706b5[_0x1c2a('0xa2')]+0xa}),_0x358f5d[_0x1c2a('0x99')][_0x1c2a('0x9')](_0x1c2a('0x14'))['on'](_0x1c2a('0x27'),(_0x5544e6,_0x129192)=>{const [_0x2f8c47,_0x54f2f5,,_0x21a304]=_0x129192;if(!_0x2537f5)return;_0x5544e6[_0x1c2a('0x3c')]();const _0x471299=_0x2f8c47[_0x1c2a('0x7')],_0x4c3945=_0x54f2f5,_0x4161b8=ce(_0x471299),_0x3f5ae6=ce(_0x4c3945);_0x5544e6[_0x1c2a('0x33')]=_0x471299;let _0x516817=null,_0x5bae5d=null;if(_0x3f5ae6||_0x4161b8){if(_0x4161b8&&!_0x3f5ae6){_0x21a304[_0x1c2a('0x1a')](_0x471299[_0x1c2a('0x5b')](0x0));for(const _0x163a0d of Array[_0x1c2a('0x91')](_0x4c3945[_0x1c2a('0x5c')]()))_0x21a304[_0x1c2a('0x7f')](_0x163a0d,_0x471299,_0x1c2a('0x67'));const _0x2eec41=_0x2537f5[_0x1c2a('0x5')][_0x1c2a('0x74')](_0x2f8c47[_0x1c2a('0x9f')]),_0x262cca=_0x2537f5[_0x1c2a('0x98')][_0x1c2a('0x74')](_0x2f8c47[_0x1c2a('0x7e')]);_0x2eec41||_0x262cca||(_0x516817=_0x21a304[_0x1c2a('0x6e')](_0x471299));}else _0x3f5ae6&&!_0x4161b8&&(_0x5bae5d=_0x21a304[_0x1c2a('0x6e')](_0x471299));}else{const _0x2bcc65=_0x21a304[_0x1c2a('0x32')](_0x1c2a('0xa6')),_0x3d9f8c=_0x21a304[_0x1c2a('0x32')]('tableCellSuggestion');_0x21a304[_0x1c2a('0x55')](_0x21a304[_0x1c2a('0x6e')](_0x471299),_0x3d9f8c),_0x21a304[_0x1c2a('0x7f')](_0x2bcc65,_0x471299,0x0);for(const _0x251dd4 of Array[_0x1c2a('0x91')](_0x4c3945[_0x1c2a('0x5c')]()))_0x21a304[_0x1c2a('0x7f')](_0x251dd4,_0x2bcc65,_0x1c2a('0x67'));_0x516817=_0x21a304[_0x1c2a('0x25')](_0x2bcc65),_0x5bae5d=_0x21a304[_0x1c2a('0x25')](_0x3d9f8c);}const _0x1c538a=Array['from'](_0x4c3945[_0x1c2a('0xa')]())[_0x1c2a('0x5f')](([_0x4436c7])=>le['includes'](_0x4436c7));_0x2537f5[_0x1c2a('0xa1')][_0x1c2a('0xd')]({'element':_0x471299,'attributes':_0x1c538a[_0x1c2a('0x6f')]?Object['fromEntries'](_0x1c538a):null}),_0x516817&&_0x2537f5[_0x1c2a('0x80')][_0x1c2a('0xd')](_0x516817),_0x5bae5d&&_0x2537f5['deletionRanges']['push'](_0x5bae5d);},{'priority':_0x1c2a('0xa2')}),_0x452980['on'](_0x1c2a('0x86'),(_0x1014be,_0x5e1c50)=>{const [_0x287c27,_0x22b6b2={}]=_0x5e1c50;if(!_0x2537f5)return;const _0x37beac=_0x22b6b2['at']||0x0,_0x3d4dfb=_0x22b6b2['columns']||0x1;_0x2537f5['columnInsertionIndexes']=new Array(_0x3d4dfb)['fill'](_0x37beac)['map']((_0x23491c,_0x316b2d)=>_0x23491c+_0x316b2d);for(const {cell:_0x19eb66}of _0x452980[_0x1c2a('0x8')](_0x287c27,{'startColumn':_0x37beac,'endColumn':_0x37beac+_0x3d4dfb-0x1}))_0x2537f5['columnInsertionRanges'][_0x1c2a('0xd')](_0x358f5d[_0x1c2a('0x2c')][_0x1c2a('0x25')](_0x19eb66));},{'priority':'low'}),_0x452980['on'](_0x1c2a('0x9b'),(_0x5184e4,_0x346379)=>{const [_0x4a9190,_0x358259={}]=_0x346379;if(!_0x2537f5)return;const _0x4ed0bb=_0x358259['at']||0x0,_0x4ca932=_0x358259[_0x1c2a('0x39')]||0x1;_0x2537f5['rowInsertionIndexes']=new Array(_0x4ca932)['fill'](_0x4ed0bb)[_0x1c2a('0x1')]((_0xf63f87,_0x27d409)=>_0xf63f87+_0x27d409);for(const {cell:_0xe8cf06}of _0x452980[_0x1c2a('0x8')](_0x4a9190,{'startRow':_0x4ed0bb,'endRow':_0x4ed0bb+_0x4ca932-0x1}))_0x2537f5['rowInsertionRanges']['push'](_0x358f5d[_0x1c2a('0x2c')]['createRangeOn'](_0xe8cf06));},{'priority':_0x1c2a('0x8b')}),_0x5d720e[_0x1c2a('0x3a')][_0x1c2a('0x2a')](_0x4c58f6=>{if(_0x4c58f6[_0x1c2a('0x22')]&&_0x4c58f6[_0x1c2a('0x22')][_0x1c2a('0x76')](_0x1c2a('0x4b')))return _0x4c58f6[_0x1c2a('0xa3')]?{}:{'type':_0x1c2a('0x24'),'content':_0x3caa7d(_0x358f5d[_0x1c2a('0x1d')],'*Replace\x20table\x20cells*')};});const _0x4d585a=()=>{};for(const _0x3abb21 of[_0x1c2a('0x4b'),_0x1c2a('0x4c'),_0x1c2a('0x40'),'tablePasteCell'])_0x5d720e[_0x1c2a('0x75')][_0x1c2a('0x6b')](_0x1c2a('0x24'),_0x3abb21,_0x1c2a('0x3'),_0x4d585a),_0x5d720e['_suggestionFactory']['registerCustomCallback'](_0x1c2a('0x5d'),_0x3abb21,_0x1c2a('0x3'),_0x4d585a);_0x5d720e['_suggestionFactory'][_0x1c2a('0x6b')](_0x1c2a('0x44'),_0x1c2a('0x70'),'discard',_0x4d585a),_0x5d720e[_0x1c2a('0x75')][_0x1c2a('0x6b')](_0x1c2a('0x44'),_0x1c2a('0x70'),_0x1c2a('0x35'),(_0x47aabc,_0x4855ad,_0x562c5b)=>{const _0x599d2c=_0x47aabc[_0x1c2a('0x1')](_0x3a6150=>_0x3a6150[_0x1c2a('0x71')]())[_0x1c2a('0x5f')](_0x43c74f=>_0x43c74f),_0x4d4c6c=new Map(_0x599d2c[_0x1c2a('0x1')](_0x1bd7c3=>[_0x1bd7c3,null]));if(_0x2537f5)for(const {element:_0x2115e0,attributes:_0xb630ff}of _0x2537f5[_0x1c2a('0xa1')])_0xb630ff&&_0x4d4c6c[_0x1c2a('0x60')](_0x2115e0,_0xb630ff);else{if(_0x562c5b&&_0x562c5b[_0x1c2a('0x6d')])for(const [_0x2bf824,_0x2f9573]of Object[_0x1c2a('0x92')](_0x562c5b[_0x1c2a('0x6d')])){const _0x520dd4=_0x358f5d[_0x1c2a('0x2c')][_0x1c2a('0x64')][_0x1c2a('0x9')](_0x2bf824),_0x3e238e=_0x520dd4?_0x520dd4[_0x1c2a('0xa5')]()['getContainedElement']():null;_0x3e238e&&_0x4d4c6c[_0x1c2a('0x60')](_0x3e238e,_0x2f9573);}}_0x358f5d[_0x1c2a('0x2c')][_0x1c2a('0x68')](_0x5c0e82=>{for(const [_0x4d9c28,_0x4144fd]of _0x4d4c6c)_0x5c0e82[_0x1c2a('0x7a')]({...ae,..._0x4144fd},_0x4d9c28);});});const _0x4d7e51=(_0x4dccd3,_0x4b8c27)=>{_0x5d720e['_suggestionFactory'][_0x1c2a('0x6b')](_0x4dccd3,'tablePaste',_0x4b8c27,(_0x2d31dd,_0x572504,_0x519021)=>{_0x358f5d[_0x1c2a('0x2c')][_0x1c2a('0x68')](_0x4441ed=>{const _0x5ec105=[];for(const _0x28dfcd of _0x2d31dd){const _0x16c8e5=_0x28dfcd[_0x1c2a('0xb')][_0x1c2a('0x51')];_0x16c8e5['is'](_0x1c2a('0x38'),_0x1c2a('0xa6'))&&_0x5ec105[_0x1c2a('0xd')](_0x16c8e5);}_0x5d720e['_suggestionFactory'][_0x1c2a('0x3d')](_0x4dccd3,null,_0x4b8c27)(_0x2d31dd,_0x572504,_0x519021);for(const _0x3fdb45 of _0x5ec105)_0x1c2a('0x8a')!=_0x3fdb45['root']['rootName']&&_0x4441ed[_0x1c2a('0x6a')](_0x3fdb45);});});};_0x4d7e51(_0x1c2a('0x24'),_0x1c2a('0x35')),_0x4d7e51(_0x1c2a('0x24'),_0x1c2a('0x21')),_0x4d7e51(_0x1c2a('0x5d'),_0x1c2a('0x35')),_0x4d7e51(_0x1c2a('0x5d'),_0x1c2a('0x21')),_0x5d720e[_0x1c2a('0x75')]['registerCustomCallback']('insertion',_0x1c2a('0x40'),_0x1c2a('0x21'),_0x1a8b84=>{const _0x22db99=_0x1a8b84[_0x1c2a('0x1')](_0x54d480=>_0x54d480[_0x1c2a('0x71')]()),_0x531c1c=_0x22db99[0x0][_0x1c2a('0x63')](_0x1c2a('0x2f')),{minRow:_0x53384a,maxRow:_0x152902}=_0x48b65f[_0x1c2a('0x56')](_0x22db99);_0x452980['removeRows'](_0x531c1c,{'at':_0x53384a,'rows':_0x152902-_0x53384a+0x1});}),_0x5d720e['_suggestionFactory'][_0x1c2a('0x6b')](_0x1c2a('0x24'),_0x1c2a('0x4c'),_0x1c2a('0x21'),_0x1f7a06=>{const _0x5b2d3b=_0x1f7a06[_0x1c2a('0x1')](_0x445a09=>_0x445a09['getContainedElement']()),_0x2a0f4c=_0x5b2d3b[0x0][_0x1c2a('0x63')](_0x1c2a('0x2f')),{minColumn:_0xe456a6,maxColumn:_0x3a2988}=_0x48b65f[_0x1c2a('0x56')](_0x5b2d3b);_0x452980[_0x1c2a('0x26')](_0x2a0f4c,{'at':_0xe456a6,'columns':_0x3a2988-_0xe456a6+0x1});});const _0x476bc3=(_0x73c4af,_0x38e31c)=>{if(!_0x38e31c[_0x1c2a('0x22')]||!_0x38e31c[_0x1c2a('0x22')]['startsWith'](_0x1c2a('0x4b')))return;const _0x4ccc26=_0x38e31c[_0x1c2a('0x93')]['tablePasteChainId'],_0x3dbd34=_0x5d720e[_0x1c2a('0x9e')]()[_0x1c2a('0x5f')](_0x2cfa77=>_0x2cfa77['isInContent']&&_0x2cfa77[_0x1c2a('0x93')]&&_0x2cfa77[_0x1c2a('0x93')][_0x1c2a('0x47')]==_0x4ccc26);_0x3dbd34[_0x1c2a('0x6f')]&&_0x38e31c[_0x1c2a('0x6')]()['length']!=_0x3dbd34[_0x1c2a('0x6f')]&&_0x3dbd34[_0x1c2a('0x73')]((_0x16b602,_0x5d282d)=>(_0x16b602[_0x1c2a('0x41')]=_0x5d282d,_0x5d282d[_0x1c2a('0xa3')]=_0x16b602,_0x5d282d));};function _0x3d00ff(_0xc47b,_0x4aa620=!0x0){const {id:_0x1bfe4a}=_0x5d720e['_splitMarkerName'](_0xc47b[_0x1c2a('0x53')]),_0x4681a0=[_0x1c2a('0x96'),_0x1c2a('0x4d')],_0x37d050=_0x5d720e[_0x1c2a('0x3b')][_0x1c2a('0x74')](_0xc47b['markerName']);return _0x37d050&&_0x4681a0[_0x1c2a('0xd')](_0x1c2a('0x77')),{'classes':_0x4681a0,'attributes':{'data-suggestion':_0x1bfe4a},'priority':_0x37d050&&_0x4aa620?0xbc2:0xbb8};}_0x5d720e['on'](_0x1c2a('0x82'),_0x476bc3,{'priority':_0x1c2a('0xa2')}),_0x5d720e['on'](_0x1c2a('0x1b'),_0x476bc3,{'priority':_0x1c2a('0xa2')}),_0x358f5d[_0x1c2a('0x2c')][_0x1c2a('0x8e')]['registerPostFixer'](()=>{let _0x116865=!0x1;const _0x1a6356=Array['from'](_0x358f5d[_0x1c2a('0x2c')][_0x1c2a('0x8e')]['differ'][_0x1c2a('0xa4')]());for(const {name:_0x4d96e0,data:_0x400251}of _0x1a6356){const {group:_0x35109b,type:_0x1440be,id:_0x511fe0}=_0x5d720e[_0x1c2a('0x8f')](_0x4d96e0);if(_0x1c2a('0x0')!=_0x35109b||'deletion'!=_0x1440be||_0x400251[_0x1c2a('0x17')])continue;if(!_0x5d720e[_0x1c2a('0x4e')](_0x511fe0))continue;const _0x1e34bd=_0x5d720e[_0x1c2a('0x95')](_0x511fe0)[_0x1c2a('0x50')](),_0x4908a6=_0x358f5d[_0x1c2a('0x99')][_0x1c2a('0x9')](_0x1c2a('0x61'))['me'];for(const _0x2d771c of _0x5d720e[_0x1c2a('0x9e')]()){if(!_0x2d771c[_0x1c2a('0x8d')]||_0x2d771c[_0x1c2a('0x43')]!=_0x4908a6)continue;if(_0x1c2a('0x44')!=_0x2d771c[_0x1c2a('0x87')]||_0x1c2a('0x70')!=_0x2d771c[_0x1c2a('0x22')])continue;if(_0x2d771c[_0x1c2a('0x50')]()[_0x1c2a('0x81')](_0xfd2a02=>_0x1e34bd[_0x1c2a('0x19')](_0x1c832e=>_0x1c832e[_0x1c2a('0x7c')](_0xfd2a02,!0x0))))for(const _0x2bc609 of _0x2d771c[_0x1c2a('0x6')]())_0x2bc609[_0x1c2a('0x8d')]&&(_0x2bc609['discard'](),_0x116865=!0x0);}}return _0x116865;}),_0x358f5d[_0x1c2a('0x2c')][_0x1c2a('0x8e')][_0x1c2a('0x10')](_0xdb3b2b=>{const _0x5785ad=_0x358f5d[_0x1c2a('0x1e')][_0x1c2a('0x9')](_0x1c2a('0x88'));if(!_0x5785ad||!_0x5785ad[_0x1c2a('0x4f')][_0x1c2a('0x94')](_0xdb3b2b[_0x1c2a('0x58')]))return!0x1;let _0x40d022=!0x1;const _0x2e391c=_0x358f5d['plugins'][_0x1c2a('0x9')](_0x1c2a('0x61'))['me'],_0x3ff041=_0x358f5d[_0x1c2a('0x2c')]['document'][_0x1c2a('0x7b')][_0x1c2a('0x90')](),_0x1dff34=Array[_0x1c2a('0x91')](_0x358f5d[_0x1c2a('0x2c')]['document'][_0x1c2a('0x7b')][_0x1c2a('0xa4')]())[_0x1c2a('0x5f')](({name:_0x4899a4,data:_0x310225})=>{const {group:_0x4185fa,subType:_0x64ae60,authorId:_0x4d6f8d}=_0x5d720e[_0x1c2a('0x8f')](_0x4899a4);return _0x1c2a('0x0')==_0x4185fa&&_0x1c2a('0x4b')==_0x64ae60&&_0x4d6f8d==_0x2e391c['id']&&!_0x310225['oldRange'];});for(const _0x4e723c of _0x3ff041){if(_0x1c2a('0x7f')!=_0x4e723c[_0x1c2a('0x87')]||_0x1c2a('0xa6')!=_0x4e723c[_0x1c2a('0x2d')]||0x1!=_0x4e723c[_0x1c2a('0x6f')])continue;const _0x2c0d8f=_0xdb3b2b[_0x1c2a('0x46')](_0x4e723c[_0x1c2a('0x29')],_0x4e723c[_0x1c2a('0x29')]['getShiftedBy'](0x1));if(!_0x1dff34[_0x1c2a('0x30')](({data:_0x3f30f0})=>_0x3f30f0[_0x1c2a('0x2e')][_0x1c2a('0x9d')](_0x2c0d8f)))for(const {name:_0x1b69dd,data:_0x29d9f0}of _0x1dff34)if(_0x2c0d8f[_0x1c2a('0x7c')](_0x29d9f0['newRange'])){_0xdb3b2b[_0x1c2a('0x8c')](_0x1b69dd,{'range':_0x2c0d8f}),_0x40d022=!0x0;break;}}return _0x40d022;}),_0x358f5d[_0x1c2a('0x2c')][_0x1c2a('0x8e')][_0x1c2a('0x10')](_0x4e19d6=>{let _0x3dcb6a=!0x1;const _0x4ababc=_0x358f5d[_0x1c2a('0x99')]['get'](_0x1c2a('0x61'))['me'],_0x138914=_0x5d720e[_0x1c2a('0x9e')]()[_0x1c2a('0x5f')](_0x42f917=>_0x42f917[_0x1c2a('0x8d')]&&_0x42f917['author']==_0x4ababc),_0x2875ac=new Set(),_0x4e5737=new Set();for(const _0x312884 of _0x138914)if(_0x1c2a('0x4b')==_0x312884[_0x1c2a('0x22')])for(const _0x141d16 of _0x312884['getMarkers']()){const _0xc97119=_0x141d16[_0x1c2a('0xa5')]()['getContainedElement']();if(_0xc97119){if(_0xc97119['is'](_0x1c2a('0x38'),_0x1c2a('0xa6'))&&ce(_0xc97119)){_0x312884[_0x1c2a('0x37')](_0x141d16[_0x1c2a('0x2d')]),_0x2875ac[_0x1c2a('0x57')](_0xc97119),_0x3dcb6a=!0x0;const _0x514bb9=_0xc97119[_0x1c2a('0x23')],_0x225529=_0xc97119[_0x1c2a('0x52')],_0x5963e2=_0x514bb9&&_0x514bb9['is'](_0x1c2a('0x38'),_0x1c2a('0xa6')),_0x539be1=_0x225529&&_0x225529['is'](_0x1c2a('0x38'),_0x1c2a('0xa6'));_0x5963e2&&!_0x2875ac['has'](_0x514bb9)&&_0x4e5737[_0x1c2a('0x57')](_0x514bb9),_0x539be1&&!_0x2875ac[_0x1c2a('0x94')](_0x225529)&&_0x4e5737[_0x1c2a('0x57')](_0x225529);}else _0xc97119['is']('element',_0x1c2a('0x13'))&&_0xc97119[_0x1c2a('0x7d')]&&(_0x312884[_0x1c2a('0x37')](_0x141d16[_0x1c2a('0x2d')]),_0x3dcb6a=!0x0);}}else{if('tablePasteCell'==_0x312884[_0x1c2a('0x22')]){if(!_0x312884[_0x1c2a('0x93')]||!_0x312884[_0x1c2a('0x93')][_0x1c2a('0x47')])continue;const _0xf96f31=_0x312884[_0x1c2a('0x93')]['markerAttributes'];if(_0xf96f31&&Object[_0x1c2a('0x9c')](_0xf96f31)[_0x1c2a('0x6f')])continue;const _0x233a5c=_0x312884[_0x1c2a('0x93')][_0x1c2a('0x47')];let _0x3dfa80=!0x0,_0x1da473=!0x0;for(const _0x3c5b78 of _0x138914)if(_0x3c5b78[_0x1c2a('0x22')]&&_0x3c5b78[_0x1c2a('0x22')][_0x1c2a('0x76')](_0x1c2a('0x4b'))){if(!_0x3c5b78[_0x1c2a('0x93')]['tablePasteChainId']){_0x1da473=!0x1;break;}if(_0x3c5b78['id']!=_0x312884['id']&&_0x3c5b78[_0x1c2a('0x93')][_0x1c2a('0x47')]==_0x233a5c){_0x3dfa80=!0x1;break;}}_0x1da473&&_0x3dfa80&&(_0x312884[_0x1c2a('0x84')](),_0x3dcb6a=!0x0);}}for(const _0x251638 of _0x2875ac)_0x4e19d6[_0x1c2a('0x1a')](_0x251638);for(const _0x170f2a of _0x4e5737)_0x4e19d6[_0x1c2a('0x6a')](_0x170f2a);return _0x3dcb6a;}),_0x358f5d[_0x1c2a('0x36')][_0x1c2a('0x4')]('editingDowncast')['markerToHighlight']({'model':_0x1c2a('0x6c'),'view':(_0x462374,_0x650b24)=>_0x3d00ff(_0x462374),'converterPriority':'high'}),_0x358f5d[_0x1c2a('0x36')][_0x1c2a('0x4')](_0x1c2a('0x2b'))[_0x1c2a('0xc')]({'model':_0x1c2a('0x6c'),'view':(_0x2c8e25,_0x54fc44)=>_0x54fc44[_0x1c2a('0x11')]['showSuggestionHighlights']?_0x3d00ff(_0x2c8e25,!0x1):null,'converterPriority':_0x1c2a('0xa2')});const _0x198028=_0x358f5d[_0x1c2a('0x62')][_0x1c2a('0x2')];this[_0x1c2a('0x20')](_0x198028[_0x1c2a('0x8e')],'clipboardOutput',(_0x1c8b04,_0x17f3e6)=>{const _0x2fe973=[];for(const _0x4c7a63 of _0x198028['createRangeIn'](_0x17f3e6[_0x1c2a('0x4a')])['getItems']())_0x4c7a63['is']('element',_0x1c2a('0x1f'))&&_0x2fe973[_0x1c2a('0xd')](_0x4c7a63);_0x198028[_0x1c2a('0x68')](_0x1d9a40=>{for(const _0x38f4dc of _0x2fe973)_0x1d9a40[_0x1c2a('0x1c')](_0x1d9a40[_0x1c2a('0x6e')](_0x38f4dc),_0x1d9a40[_0x1c2a('0x59')](_0x38f4dc)),_0x1d9a40[_0x1c2a('0x1a')](_0x38f4dc);});});}}function ce(_0x17e0a0){if(_0x17e0a0[_0x1c2a('0x7d')])return!0x0;const _0x352f06=_0x17e0a0[_0x1c2a('0x5b')](0x0);return _0x352f06['is'](_0x1c2a('0x38'),_0x1c2a('0x13'))&&_0x352f06['isEmpty'];}function fe(_0x43420d,_0x971ad8={},_0x2727ab){for(const {isAnchor:_0x54275a,cellHeight:_0x1c64cc,cellWidth:_0x47aa68}of _0x2727ab[_0x1c2a('0x8')](_0x43420d,{'includeAllSlots':!0x0,..._0x971ad8}))if(!_0x54275a||0x1!=_0x1c64cc||0x1!=_0x47aa68)return!0x1;return!0x0;}
23
+ const _0x3122=['getRows','tableCellBorderWidth','removeRows','conversion','high','cells','getRowIndexes','plugins','editor','markMultiRangeInsertion','getContainedElement','insert','insertColumns','document','first','suggestion','deletionRanges','registerCustomCallback','showSuggestionHighlights','markerName','setAttributes','tableCellSuggestion','tablePasteCell','locale','columnInsertionIndexes','_suggestionFactory','rowInsertionIndexes','getSelectionAffectedTableCells','markerToHighlight','redo','change','length','createTableWalker','rootName','position','set','view','registerDescriptionCallback','keys','tablePasteRow','getChanges','find','findAncestor','TrackChangesEditing','element','tablePaste','setAttribute','root','_descriptionFactory','tableCellBorderStyle','content','value','startsWith','markMultiRangeDeletion','has','row','type','getSuggestions','tableCellPadding','isEmpty','createRangeIn','for','suggestionUnloaded','trackChanges','containsRange','columns','isEqual','tableCellHorizontalAlignment','suggestionLoaded','unwrap','model','getAllAdjacentSuggestions','column','includes','getTableIfOnlyTableInContent','_tablePostFixingSubtypes','end','*Replace\x20table\x20cells*','markers','removeColumns','from','entries','requires','nodeAfter','commands','fromEntries','getSuggestionCallback','createElement','getSuggestion','paragraph','wrap','push','tableCell','accept','editing','getChangedMarkers','suggestion:formatBlock:tablePasteCell','discard','_replaceTableSlotCell','tableCellVerticalAlignment','filter','oldRange','ck-suggestion-marker--active','start','insertContent','getShiftedBy','removeMarker','getItems','tablePasteChainId','endColumn','table','TableClipboard','cell','add','previousSibling','get','differ','nextSibling','formatBlock','remove','getColumns','createRangeOn','getAttributes','join','dataDowncast','tableCellBackgroundColor','forceDefaultExecution','getRange','attributes','insertion','ck-suggestion-marker-insertion','documentSelection','Users','map','insertRows','suggestion-td','markerAttributes','move','removeMarkers','stop','rows','clipboardOutput','getMarkers','newRange','getChildren','elementToElement','ck-suggestion-marker','insertionRanges','activeMarkers','return','subType','last','listenTo','name','reduce','author','fill','registerPostFixer','deletion','low','selection','getChild','isInContent','options'];(function(_0x18ccdc,_0x312258){const _0x2930ce=function(_0x45f285){while(--_0x45f285){_0x18ccdc['push'](_0x18ccdc['shift']());}};_0x2930ce(++_0x312258);}(_0x3122,0xcc));const _0x2930=function(_0x18ccdc,_0x312258){_0x18ccdc=_0x18ccdc-0x0;let _0x2930ce=_0x3122[_0x18ccdc];return _0x2930ce;};import{getTranslation as _0x499243}from'../utils/common-translations';import{Plugin as _0x4e3013}from'ckeditor5/src/core';import{uid as _0x230d37,priorities as _0x4770cb}from'ckeditor5/src/utils';import _0x44d2e4 from'./table';const le=[_0x2930('0x7d'),'tableCellBorderColor',_0x2930('0x9'),_0x2930('0x1b'),_0x2930('0x3b'),_0x2930('0x55'),_0x2930('0x12')],ae=Object[_0x2930('0x2d')](le[_0x2930('0x5d')](_0x1679c2=>[_0x1679c2,null]));export default class kt extends _0x4e3013{static get[_0x2930('0x2a')](){return[_0x44d2e4];}['afterInit'](){const _0x11e7c9=this[_0x2930('0x84')];if(!_0x11e7c9[_0x2930('0x83')][_0x2930('0xe')](_0x2930('0x47')))return;const _0x484bb2=_0x11e7c9[_0x2930('0x83')][_0x2930('0x4b')](_0x2930('0x3')),_0x142df1=_0x11e7c9['plugins'][_0x2930('0x4b')]('TableUtils'),_0x2e7a6a=_0x11e7c9['plugins'][_0x2930('0x4b')](_0x44d2e4),_0x39888e=_0x11e7c9[_0x2930('0x83')][_0x2930('0x4b')]('TableClipboard');_0x2e7a6a[_0x2930('0x23')][_0x2930('0x33')](_0x2930('0xa3'),'tablePasteColumn'),_0x11e7c9['model']['schema']['register']('tableCellSuggestion',{'allowIn':_0x2930('0x34'),'allowContentOf':_0x2930('0x34'),'isLimit':!0x0}),_0x11e7c9[_0x2930('0x7f')][_0x2930('0x69')]({'model':_0x2930('0x91'),'view':_0x2930('0x5f')});let _0x37925b=null;_0x11e7c9[_0x2930('0x1e')]['on'](_0x2930('0x40'),(_0x48e584,_0x2369ca)=>{const [_0x371b5d,_0x291a7a]=_0x2369ca,_0x8fbdf8=_0x2369ca[_0x2369ca['length']-0x1];_0x8fbdf8&&_0x8fbdf8[_0x2930('0x56')]||_0x484bb2['_isForcedDefaultExecutionBlock']||this[_0x2930('0x84')][_0x2930('0x2c')]['get'](_0x2930('0x17'))[_0x2930('0xb')]&&function(_0x2c4554,_0xff7b3d,_0x324651,_0x19fece,_0xeb7a23){if(_0xff7b3d&&!_0xff7b3d['is'](_0x2930('0x5b')))return!0x1;const _0x15df0a=_0xeb7a23[_0x2930('0x22')](_0x2c4554,_0x324651);if(!_0x15df0a||!fe(_0x15df0a,void 0x0,_0x19fece))return!0x1;const _0x3c49d3=_0x19fece[_0x2930('0x97')](_0x324651[_0x2930('0x89')][_0x2930('0x78')]);if(!_0x3c49d3[_0x2930('0x9b')])return!0x1;const _0x2566f4=_0x3c49d3[0x0][_0x2930('0x2')](_0x2930('0x46')),_0x54f9cc=_0x19fece[_0x2930('0x82')](_0x3c49d3),_0xa657eb=_0x19fece['getColumnIndexes'](_0x3c49d3),_0x1bad4d={'startRow':_0x54f9cc[_0x2930('0x8a')],'endRow':_0x54f9cc[_0x2930('0x6f')],'startColumn':_0xa657eb[_0x2930('0x8a')],'endColumn':_0xa657eb['last']};return 0x1==_0x3c49d3[_0x2930('0x9b')]&&(_0x1bad4d['endRow']+=_0x19fece[_0x2930('0x7c')](_0x15df0a)-0x1,_0x1bad4d[_0x2930('0x45')]+=_0x19fece[_0x2930('0x50')](_0x15df0a)-0x1),fe(_0x2566f4,_0x1bad4d,_0x19fece);}(_0x371b5d,_0x291a7a,_0x11e7c9[_0x2930('0x1e')],_0x142df1,_0x39888e)&&(_0x48e584[_0x2930('0x63')](),_0x37925b={'cells':[],'insertionRanges':[],'deletionRanges':[],'rowInsertionRanges':[],'rowInsertionIndexes':[],'columnInsertionRanges':[],'columnInsertionIndexes':[]},_0x11e7c9[_0x2930('0x1e')][_0x2930('0x9a')](()=>{_0x11e7c9[_0x2930('0x1e')][_0x2930('0x40')](_0x2369ca[0x0],_0x2369ca[0x1],_0x2369ca[0x2],{'forceDefaultExecution':!0x0});const _0x1142ec=_0x230d37(),{rowInsertionRanges:_0x33a3fd,columnInsertionRanges:_0xd18c29,insertionRanges:_0x23934c,deletionRanges:_0x27d67f,cells:_0x46c68d}=_0x37925b;_0x33a3fd['length']&&_0x484bb2[_0x2930('0x85')](_0x33a3fd,_0x2930('0xa3'),{'tablePasteChainId':_0x1142ec}),_0xd18c29['length']&&_0x484bb2['markMultiRangeInsertion'](_0xd18c29,'tablePasteColumn',{'tablePasteChainId':_0x1142ec}),_0x23934c['length']&&_0x484bb2[_0x2930('0x85')](_0x23934c,_0x2930('0x5'),{'tablePasteChainId':_0x1142ec,'skipNestingCheck':!0x0}),_0x27d67f[_0x2930('0x9b')]&&_0x484bb2[_0x2930('0xd')](_0x27d67f,_0x2930('0x5'),{'tablePasteChainId':_0x1142ec,'skipNestingCheck':!0x0});const _0x3626d3=_0x484bb2['markMultiRangeBlockFormat'](_0x46c68d[_0x2930('0x5d')](({element:_0x469c80})=>_0x469c80),{'formatGroupId':_0x230d37()},[],_0x2930('0x92'),{'tablePasteChainId':_0x1142ec});if(_0x3626d3){const _0xee159e=_0x3626d3[_0x2930('0x66')](),_0xfc0680=[];for(const {element:_0x4e966b,attributes:_0x56afb2}of _0x46c68d){if(!_0x56afb2)continue;const _0x52ec26=_0x11e7c9[_0x2930('0x1e')]['createRangeOn'](_0x4e966b),_0x1bfea2=_0xee159e[_0x2930('0x1')](_0x8f9bde=>_0x8f9bde[_0x2930('0x57')]()[_0x2930('0x1a')](_0x52ec26));_0x1bfea2&&_0xfc0680[_0x2930('0x33')]([_0x1bfea2[_0x2930('0x71')],_0x56afb2]);}_0xfc0680[_0x2930('0x9b')]&&_0x3626d3[_0x2930('0x6')](_0x2930('0x60'),Object['fromEntries'](_0xfc0680));}_0x37925b=null;}));},{'priority':_0x4770cb[_0x2930('0x80')]+0xa}),_0x11e7c9[_0x2930('0x83')][_0x2930('0x4b')]('TableClipboard')['on'](_0x2930('0x3a'),(_0x2a0884,_0x4b8331)=>{const [_0x20dff5,_0x3bac88,,_0x2cdf52]=_0x4b8331;if(!_0x37925b)return;_0x2a0884[_0x2930('0x63')]();const _0x340cf0=_0x20dff5[_0x2930('0x48')],_0x4a4001=_0x3bac88,_0x3c510a=ce(_0x340cf0),_0x441444=ce(_0x4a4001);_0x2a0884[_0x2930('0x6d')]=_0x340cf0;let _0x41da11=null,_0x955ac3=null;if(_0x441444||_0x3c510a){if(_0x3c510a&&!_0x441444){_0x2cdf52['remove'](_0x340cf0[_0x2930('0x79')](0x0));for(const _0x2d60d8 of Array[_0x2930('0x28')](_0x4a4001[_0x2930('0x68')]()))_0x2cdf52[_0x2930('0x87')](_0x2d60d8,_0x340cf0,_0x2930('0x24'));const _0x334ffa=_0x37925b['rowInsertionIndexes'][_0x2930('0x21')](_0x20dff5[_0x2930('0xf')]),_0x2382a3=_0x37925b[_0x2930('0x94')][_0x2930('0x21')](_0x20dff5[_0x2930('0x20')]);_0x334ffa||_0x2382a3||(_0x41da11=_0x2cdf52[_0x2930('0x14')](_0x340cf0));}else _0x441444&&!_0x3c510a&&(_0x955ac3=_0x2cdf52[_0x2930('0x14')](_0x340cf0));}else{const _0x2aa504=_0x2cdf52[_0x2930('0x2f')](_0x2930('0x91')),_0x2f00a8=_0x2cdf52[_0x2930('0x2f')](_0x2930('0x91'));_0x2cdf52[_0x2930('0x32')](_0x2cdf52[_0x2930('0x14')](_0x340cf0),_0x2f00a8),_0x2cdf52[_0x2930('0x87')](_0x2aa504,_0x340cf0,0x0);for(const _0x311e4c of Array['from'](_0x4a4001['getChildren']()))_0x2cdf52[_0x2930('0x87')](_0x311e4c,_0x2aa504,'end');_0x41da11=_0x2cdf52[_0x2930('0x51')](_0x2aa504),_0x955ac3=_0x2cdf52['createRangeOn'](_0x2f00a8);}const _0x8cb158=Array['from'](_0x4a4001[_0x2930('0x52')]())[_0x2930('0x3c')](([_0x189553])=>le[_0x2930('0x21')](_0x189553));_0x37925b[_0x2930('0x81')][_0x2930('0x33')]({'element':_0x340cf0,'attributes':_0x8cb158[_0x2930('0x9b')]?Object[_0x2930('0x2d')](_0x8cb158):null}),_0x41da11&&_0x37925b[_0x2930('0x6b')][_0x2930('0x33')](_0x41da11),_0x955ac3&&_0x37925b[_0x2930('0x8c')][_0x2930('0x33')](_0x955ac3);},{'priority':'high'}),_0x142df1['on'](_0x2930('0x88'),(_0x137826,_0x3bcf84)=>{const [_0x1fc5e4,_0x1cba33={}]=_0x3bcf84;if(!_0x37925b)return;const _0x28efe7=_0x1cba33['at']||0x0,_0x4f1ba4=_0x1cba33[_0x2930('0x19')]||0x1;_0x37925b[_0x2930('0x94')]=new Array(_0x4f1ba4)['fill'](_0x28efe7)[_0x2930('0x5d')]((_0xdfae74,_0x2c600c)=>_0xdfae74+_0x2c600c);for(const {cell:_0x16fe6a}of _0x142df1[_0x2930('0x9c')](_0x1fc5e4,{'startColumn':_0x28efe7,'endColumn':_0x28efe7+_0x4f1ba4-0x1}))_0x37925b['columnInsertionRanges']['push'](_0x11e7c9[_0x2930('0x1e')][_0x2930('0x51')](_0x16fe6a));},{'priority':_0x2930('0x77')}),_0x142df1['on'](_0x2930('0x5e'),(_0x572d2d,_0x2a7878)=>{const [_0x4427b9,_0x58b95e={}]=_0x2a7878;if(!_0x37925b)return;const _0x5274d5=_0x58b95e['at']||0x0,_0x205794=_0x58b95e[_0x2930('0x64')]||0x1;_0x37925b[_0x2930('0x96')]=new Array(_0x205794)[_0x2930('0x74')](_0x5274d5)['map']((_0x10fe7e,_0x2cabc9)=>_0x10fe7e+_0x2cabc9);for(const {cell:_0x3f677b}of _0x142df1[_0x2930('0x9c')](_0x4427b9,{'startRow':_0x5274d5,'endRow':_0x5274d5+_0x205794-0x1}))_0x37925b['rowInsertionRanges'][_0x2930('0x33')](_0x11e7c9[_0x2930('0x1e')][_0x2930('0x51')](_0x3f677b));},{'priority':_0x2930('0x77')}),_0x484bb2[_0x2930('0x8')][_0x2930('0xa1')](_0x592edd=>{if(_0x592edd[_0x2930('0x6e')]&&_0x592edd[_0x2930('0x6e')][_0x2930('0xc')](_0x2930('0x5')))return _0x592edd['previous']?{}:{'type':_0x2930('0x59'),'content':_0x499243(_0x11e7c9[_0x2930('0x93')],_0x2930('0x25'))};});const _0x49f6fc=()=>{};for(const _0x36f6a4 of['tablePaste','tablePasteColumn',_0x2930('0xa3'),_0x2930('0x92')])_0x484bb2[_0x2930('0x95')][_0x2930('0x8d')](_0x2930('0x59'),_0x36f6a4,_0x2930('0x53'),_0x49f6fc),_0x484bb2[_0x2930('0x95')]['registerCustomCallback'](_0x2930('0x76'),_0x36f6a4,_0x2930('0x53'),_0x49f6fc);_0x484bb2[_0x2930('0x95')][_0x2930('0x8d')]('formatBlock',_0x2930('0x92'),'discard',_0x49f6fc),_0x484bb2[_0x2930('0x95')][_0x2930('0x8d')](_0x2930('0x4e'),'tablePasteCell',_0x2930('0x35'),(_0x2dba46,_0x4cb4bd,_0x31851a)=>{const _0x48ab78=_0x2dba46[_0x2930('0x5d')](_0x35cd77=>_0x35cd77['getContainedElement']())['filter'](_0x47839c=>_0x47839c),_0x55d672=new Map(_0x48ab78[_0x2930('0x5d')](_0x4e5b55=>[_0x4e5b55,null]));if(_0x37925b)for(const {element:_0x873f5b,attributes:_0x58d7e9}of _0x37925b[_0x2930('0x81')])_0x58d7e9&&_0x55d672[_0x2930('0x9f')](_0x873f5b,_0x58d7e9);else{if(_0x31851a&&_0x31851a[_0x2930('0x60')])for(const [_0x27fcc5,_0x127b32]of Object[_0x2930('0x29')](_0x31851a['markerAttributes'])){const _0x1e4bed=_0x11e7c9[_0x2930('0x1e')][_0x2930('0x26')][_0x2930('0x4b')](_0x27fcc5),_0x252895=_0x1e4bed?_0x1e4bed[_0x2930('0x57')]()['getContainedElement']():null;_0x252895&&_0x55d672[_0x2930('0x9f')](_0x252895,_0x127b32);}}_0x11e7c9[_0x2930('0x1e')][_0x2930('0x9a')](_0x102cf=>{for(const [_0x1c9bb4,_0xbb0ed5]of _0x55d672)_0x102cf[_0x2930('0x90')]({...ae,..._0xbb0ed5},_0x1c9bb4);});});const _0x5eddad=(_0x4735a1,_0x40d177)=>{_0x484bb2[_0x2930('0x95')][_0x2930('0x8d')](_0x4735a1,_0x2930('0x5'),_0x40d177,(_0x5d6872,_0x4a5189,_0x5be77a)=>{_0x11e7c9[_0x2930('0x1e')]['change'](_0x3dbc79=>{const _0x30a7f7=[];for(const _0x2a4717 of _0x5d6872){const _0x3be3d8=_0x2a4717[_0x2930('0x3f')][_0x2930('0x2b')];_0x3be3d8['is']('element',_0x2930('0x91'))&&_0x30a7f7[_0x2930('0x33')](_0x3be3d8);}_0x484bb2[_0x2930('0x95')][_0x2930('0x2e')](_0x4735a1,null,_0x40d177)(_0x5d6872,_0x4a5189,_0x5be77a);for(const _0x45cd8b of _0x30a7f7)'$graveyard'!=_0x45cd8b[_0x2930('0x7')][_0x2930('0x9d')]&&_0x3dbc79['unwrap'](_0x45cd8b);});});};_0x5eddad(_0x2930('0x59'),'accept'),_0x5eddad(_0x2930('0x59'),_0x2930('0x39')),_0x5eddad(_0x2930('0x76'),'accept'),_0x5eddad(_0x2930('0x76'),_0x2930('0x39')),_0x484bb2[_0x2930('0x95')][_0x2930('0x8d')]('insertion',_0x2930('0xa3'),_0x2930('0x39'),_0x2b81f0=>{const _0x59c314=_0x2b81f0[_0x2930('0x5d')](_0x4d6bef=>_0x4d6bef[_0x2930('0x86')]()),_0xfbb47c=_0x59c314[0x0]['findAncestor'](_0x2930('0x46')),{minRow:_0x5dd52a,maxRow:_0x5d0e6c}=_0x2e7a6a['_getCoordsForCells'](_0x59c314);_0x142df1[_0x2930('0x7e')](_0xfbb47c,{'at':_0x5dd52a,'rows':_0x5d0e6c-_0x5dd52a+0x1});}),_0x484bb2[_0x2930('0x95')][_0x2930('0x8d')](_0x2930('0x59'),'tablePasteColumn','discard',_0xe19aea=>{const _0x5e626f=_0xe19aea['map'](_0x2c4433=>_0x2c4433[_0x2930('0x86')]()),_0x57ca86=_0x5e626f[0x0][_0x2930('0x2')]('table'),{minColumn:_0x1a87b3,maxColumn:_0x2984d6}=_0x2e7a6a['_getCoordsForCells'](_0x5e626f);_0x142df1[_0x2930('0x27')](_0x57ca86,{'at':_0x1a87b3,'columns':_0x2984d6-_0x1a87b3+0x1});});const _0x2e0df6=(_0x41feae,_0x5c7dfe)=>{if(!_0x5c7dfe['subType']||!_0x5c7dfe[_0x2930('0x6e')][_0x2930('0xc')]('tablePaste'))return;const _0x282cb2=_0x5c7dfe[_0x2930('0x58')][_0x2930('0x44')],_0xa49ab=_0x484bb2[_0x2930('0x11')]()['filter'](_0x572904=>_0x572904['isInContent']&&_0x572904[_0x2930('0x58')]&&_0x572904[_0x2930('0x58')][_0x2930('0x44')]==_0x282cb2);_0xa49ab[_0x2930('0x9b')]&&_0x5c7dfe[_0x2930('0x1f')]()[_0x2930('0x9b')]!=_0xa49ab[_0x2930('0x9b')]&&_0xa49ab[_0x2930('0x72')]((_0x2f58d2,_0x4559e7)=>(_0x2f58d2['next']=_0x4559e7,_0x4559e7['previous']=_0x2f58d2,_0x4559e7));};function _0x42bd57(_0x187c49,_0x24a235=!0x0){const {id:_0x168cc3}=_0x484bb2['_splitMarkerName'](_0x187c49[_0x2930('0x8f')]),_0x3a820a=[_0x2930('0x6a'),_0x2930('0x5a')],_0xd27617=_0x484bb2[_0x2930('0x6c')][_0x2930('0x21')](_0x187c49['markerName']);return _0xd27617&&_0x3a820a[_0x2930('0x33')](_0x2930('0x3e')),{'classes':_0x3a820a,'attributes':{'data-suggestion':_0x168cc3},'priority':_0xd27617&&_0x24a235?0xbc2:0xbb8};}_0x484bb2['on'](_0x2930('0x1c'),_0x2e0df6,{'priority':'high'}),_0x484bb2['on'](_0x2930('0x16'),_0x2e0df6,{'priority':_0x2930('0x80')}),_0x11e7c9['model']['document'][_0x2930('0x75')](()=>{let _0x3d0a32=!0x1;const _0xe0df23=Array[_0x2930('0x28')](_0x11e7c9[_0x2930('0x1e')]['document'][_0x2930('0x4c')][_0x2930('0x37')]());for(const {name:_0x58242f,data:_0x42727e}of _0xe0df23){const {group:_0x555b43,type:_0x539a37,id:_0x5211c1}=_0x484bb2['_splitMarkerName'](_0x58242f);if(_0x2930('0x8b')!=_0x555b43||'deletion'!=_0x539a37||_0x42727e[_0x2930('0x3d')])continue;if(!_0x484bb2['hasSuggestion'](_0x5211c1))continue;const _0x57237c=_0x484bb2[_0x2930('0x30')](_0x5211c1)['getRanges'](),_0x44fe7d=_0x11e7c9['plugins'][_0x2930('0x4b')](_0x2930('0x5c'))['me'];for(const _0x3a0ff6 of _0x484bb2[_0x2930('0x11')]()){if(!_0x3a0ff6[_0x2930('0x7a')]||_0x3a0ff6[_0x2930('0x73')]!=_0x44fe7d)continue;if(_0x2930('0x4e')!=_0x3a0ff6[_0x2930('0x10')]||'tablePasteCell'!=_0x3a0ff6[_0x2930('0x6e')])continue;if(_0x3a0ff6['getRanges']()['every'](_0x5949a9=>_0x57237c['some'](_0x110fd7=>_0x110fd7[_0x2930('0x18')](_0x5949a9,!0x0))))for(const _0x10a117 of _0x3a0ff6[_0x2930('0x1f')]())_0x10a117[_0x2930('0x7a')]&&(_0x10a117['discard'](),_0x3d0a32=!0x0);}}return _0x3d0a32;}),_0x11e7c9['model']['document'][_0x2930('0x75')](_0x5551e4=>{const _0x3d5214=_0x11e7c9[_0x2930('0x2c')][_0x2930('0x4b')](_0x2930('0x99'));if(!_0x3d5214||!_0x3d5214['_createdBatches'][_0x2930('0xe')](_0x5551e4['batch']))return!0x1;let _0x4893ed=!0x1;const _0x4a3375=_0x11e7c9[_0x2930('0x83')][_0x2930('0x4b')](_0x2930('0x5c'))['me'],_0x3e9479=_0x11e7c9[_0x2930('0x1e')][_0x2930('0x89')][_0x2930('0x4c')][_0x2930('0x0')](),_0x3976fa=Array[_0x2930('0x28')](_0x11e7c9[_0x2930('0x1e')][_0x2930('0x89')]['differ']['getChangedMarkers']())[_0x2930('0x3c')](({name:_0x425447,data:_0x3e6475})=>{const {group:_0x5d531f,subType:_0x53a4e9,authorId:_0x2b994a}=_0x484bb2['_splitMarkerName'](_0x425447);return _0x2930('0x8b')==_0x5d531f&&_0x2930('0x5')==_0x53a4e9&&_0x2b994a==_0x4a3375['id']&&!_0x3e6475['oldRange'];});for(const _0x245f50 of _0x3e9479){if(_0x2930('0x87')!=_0x245f50[_0x2930('0x10')]||'tableCellSuggestion'!=_0x245f50[_0x2930('0x71')]||0x1!=_0x245f50['length'])continue;const _0x3895c8=_0x5551e4['createRange'](_0x245f50[_0x2930('0x9e')],_0x245f50[_0x2930('0x9e')][_0x2930('0x41')](0x1));if(!_0x3976fa[_0x2930('0x1')](({data:_0x823ac4})=>_0x823ac4[_0x2930('0x67')]['isEqual'](_0x3895c8)))for(const {name:_0x489672,data:_0x860a42}of _0x3976fa)if(_0x3895c8[_0x2930('0x18')](_0x860a42[_0x2930('0x67')])){_0x5551e4['updateMarker'](_0x489672,{'range':_0x3895c8}),_0x4893ed=!0x0;break;}}return _0x4893ed;}),_0x11e7c9[_0x2930('0x1e')][_0x2930('0x89')][_0x2930('0x75')](_0x3fab09=>{let _0x48faf8=!0x1;const _0x43b44c=_0x11e7c9[_0x2930('0x83')][_0x2930('0x4b')](_0x2930('0x5c'))['me'],_0x1c236f=_0x484bb2[_0x2930('0x11')]()[_0x2930('0x3c')](_0x505485=>_0x505485['isInContent']&&_0x505485[_0x2930('0x73')]==_0x43b44c),_0x1cc5d8=new Set(),_0x15c989=new Set();for(const _0x40db4d of _0x1c236f)if('tablePaste'==_0x40db4d[_0x2930('0x6e')])for(const _0x3a6881 of _0x40db4d['getMarkers']()){const _0x19fe83=_0x3a6881[_0x2930('0x57')]()[_0x2930('0x86')]();if(_0x19fe83){if(_0x19fe83['is']('element',_0x2930('0x91'))&&ce(_0x19fe83)){_0x40db4d[_0x2930('0x42')](_0x3a6881[_0x2930('0x71')]),_0x1cc5d8['add'](_0x19fe83),_0x48faf8=!0x0;const _0x219bf3=_0x19fe83[_0x2930('0x4d')],_0x4bbd0c=_0x19fe83[_0x2930('0x4a')],_0x122067=_0x219bf3&&_0x219bf3['is'](_0x2930('0x4'),_0x2930('0x91')),_0x54d938=_0x4bbd0c&&_0x4bbd0c['is'](_0x2930('0x4'),_0x2930('0x91'));_0x122067&&!_0x1cc5d8[_0x2930('0xe')](_0x219bf3)&&_0x15c989[_0x2930('0x49')](_0x219bf3),_0x54d938&&!_0x1cc5d8[_0x2930('0xe')](_0x4bbd0c)&&_0x15c989[_0x2930('0x49')](_0x4bbd0c);}else _0x19fe83['is'](_0x2930('0x4'),_0x2930('0x31'))&&_0x19fe83[_0x2930('0x13')]&&(_0x40db4d[_0x2930('0x42')](_0x3a6881['name']),_0x48faf8=!0x0);}}else{if('tablePasteCell'==_0x40db4d['subType']){if(!_0x40db4d[_0x2930('0x58')]||!_0x40db4d[_0x2930('0x58')][_0x2930('0x44')])continue;const _0x4b806c=_0x40db4d[_0x2930('0x58')][_0x2930('0x60')];if(_0x4b806c&&Object[_0x2930('0xa2')](_0x4b806c)[_0x2930('0x9b')])continue;const _0x5aa67e=_0x40db4d['attributes'][_0x2930('0x44')];let _0x3590d1=!0x0,_0x424bac=!0x0;for(const _0x51c98d of _0x1c236f)if(_0x51c98d[_0x2930('0x6e')]&&_0x51c98d[_0x2930('0x6e')][_0x2930('0xc')](_0x2930('0x5'))){if(!_0x51c98d[_0x2930('0x58')]['tablePasteChainId']){_0x424bac=!0x1;break;}if(_0x51c98d['id']!=_0x40db4d['id']&&_0x51c98d[_0x2930('0x58')][_0x2930('0x44')]==_0x5aa67e){_0x3590d1=!0x1;break;}}_0x424bac&&_0x3590d1&&(_0x40db4d[_0x2930('0x62')](),_0x48faf8=!0x0);}}for(const _0x10e119 of _0x1cc5d8)_0x3fab09[_0x2930('0x4f')](_0x10e119);for(const _0x4a7779 of _0x15c989)_0x3fab09[_0x2930('0x1d')](_0x4a7779);return _0x48faf8;}),_0x11e7c9[_0x2930('0x7f')]['for']('editingDowncast')[_0x2930('0x98')]({'model':_0x2930('0x38'),'view':(_0x24239c,_0xb4b478)=>_0x42bd57(_0x24239c),'converterPriority':_0x2930('0x80')}),_0x11e7c9[_0x2930('0x7f')][_0x2930('0x15')](_0x2930('0x54'))[_0x2930('0x98')]({'model':_0x2930('0x38'),'view':(_0x9e0b23,_0x921def)=>_0x921def[_0x2930('0x7b')][_0x2930('0x8e')]?_0x42bd57(_0x9e0b23,!0x1):null,'converterPriority':_0x2930('0x80')});const _0x286f71=_0x11e7c9[_0x2930('0x36')][_0x2930('0xa0')];this[_0x2930('0x70')](_0x286f71[_0x2930('0x89')],_0x2930('0x65'),(_0x13391a,_0xaffbb8)=>{const _0x5dd636=[];for(const _0x33ca19 of _0x286f71[_0x2930('0x14')](_0xaffbb8[_0x2930('0xa')])[_0x2930('0x43')]())_0x33ca19['is'](_0x2930('0x4'),_0x2930('0x5f'))&&_0x5dd636['push'](_0x33ca19);_0x286f71['change'](_0x1b7404=>{for(const _0x14381f of _0x5dd636)_0x1b7404[_0x2930('0x61')](_0x1b7404[_0x2930('0x14')](_0x14381f),_0x1b7404['createPositionBefore'](_0x14381f)),_0x1b7404[_0x2930('0x4f')](_0x14381f);});});}}function ce(_0x375684){if(_0x375684['isEmpty'])return!0x0;const _0x238822=_0x375684['getChild'](0x0);return _0x238822['is'](_0x2930('0x4'),'paragraph')&&_0x238822[_0x2930('0x13')];}function fe(_0x3e0175,_0x24e121={},_0x4c152f){for(const {isAnchor:_0x2e0643,cellHeight:_0x4c9b57,cellWidth:_0x4c70ed}of _0x4c152f[_0x2930('0x9c')](_0x3e0175,{'includeAllSlots':!0x0,..._0x24e121}))if(!_0x2e0643||0x1!=_0x4c9b57||0x1!=_0x4c70ed)return!0x1;return!0x0;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x51be=['_suggestionFactory','getSuggestionCallback','table','getSelectedElement','data','getSuggestions','formatBlock','author','handleResizeTableWidthCommand','change','commandParams','getAttribute','getColumnGroupElement','resizeTable','get','bind','resizeTableWidth','formatGroupId','Users','format','enableCommand','plugins','model','editor','tableWidth','getContainedElement','*Format:*\x20resize\x20table','discard','_descriptionFactory','afterInit','resizeColumnWidths','columnWidths','subType','accept','TableColumnResizeEditing','TrackChangesEditing','registerDescriptionCallback'];(function(_0x257cf1,_0x51bef0){const _0x29b494=function(_0x394e29){while(--_0x394e29){_0x257cf1['push'](_0x257cf1['shift']());}};_0x29b494(++_0x51bef0);}(_0x51be,0x101));const _0x29b4=function(_0x257cf1,_0x51bef0){_0x257cf1=_0x257cf1-0x0;let _0x29b494=_0x51be[_0x257cf1];return _0x29b494;};import{Plugin as _0x14f6e6}from'ckeditor5/src/core';import{getTranslation as _0x66829b}from'../utils/common-translations';export default class wt extends _0x14f6e6{[_0x29b4('0x1f')](){if(!this['editor']['plugins']['has'](_0x29b4('0x24')))return;const _0x5af38f=this[_0x29b4('0x19')][_0x29b4('0x17')]['get']('TrackChangesEditing');_0x5af38f[_0x29b4('0x16')](_0x29b4('0x12'),this['handleResizeTableWidthCommand'][_0x29b4('0x11')](this)),_0x5af38f[_0x29b4('0x16')](_0x29b4('0x20'),this[_0x29b4('0xa')][_0x29b4('0x11')](this)),_0x5af38f[_0x29b4('0x2')]['registerCustomCallback'](_0x29b4('0x8'),_0x29b4('0xf'),_0x29b4('0x23'),_0x5af38f[_0x29b4('0x2')]['getSuggestionCallback'](_0x29b4('0x8'),null,_0x29b4('0x1d'))),_0x5af38f[_0x29b4('0x2')]['registerCustomCallback'](_0x29b4('0x8'),_0x29b4('0xf'),_0x29b4('0x1d'),_0x5af38f['_suggestionFactory'][_0x29b4('0x3')](_0x29b4('0x8'),null,_0x29b4('0x23'))),_0x5af38f[_0x29b4('0x1e')][_0x29b4('0x1')](this['handleSuggestionDescription'][_0x29b4('0x11')](this));}[_0x29b4('0xa')](_0x5c9707,_0x54eff2){const _0x1893d6=this[_0x29b4('0x19')]['plugins'][_0x29b4('0x10')](_0x29b4('0x0')),_0x53a4fa=this['editor'][_0x29b4('0x17')][_0x29b4('0x10')](_0x29b4('0x24')),_0x3cf53c=_0x54eff2[_0x29b4('0x4')]||this[_0x29b4('0x19')]['model']['document']['selection'][_0x29b4('0x5')]();this[_0x29b4('0x19')][_0x29b4('0x18')][_0x29b4('0xb')](()=>{const _0x47a1fe=_0x53a4fa[_0x29b4('0xe')](_0x3cf53c);let _0x4f3fba=_0x47a1fe?_0x53a4fa['getTableColumnsWidths'](_0x47a1fe):null,_0x53620e=_0x3cf53c[_0x29b4('0xd')](_0x29b4('0x1a'))||null;const _0x268073=_0x54eff2['tableWidth']||_0x53620e,_0x3803b8=_0x54eff2['columnWidths']||_0x4f3fba,_0x4aaad0=this[_0x29b4('0x19')][_0x29b4('0x17')][_0x29b4('0x10')](_0x29b4('0x14'))['me'];for(const _0x8caa28 of _0x1893d6[_0x29b4('0x7')]()){const _0x5510e2=_0x8caa28[_0x29b4('0x1b')]();if(_0x29b4('0xf')===_0x8caa28[_0x29b4('0x22')]&&_0x5510e2===_0x3cf53c){_0x8caa28[_0x29b4('0x9')]!==_0x4aaad0&&_0x8caa28[_0x29b4('0x1d')]();const _0x23dd99=_0x8caa28[_0x29b4('0x6')][_0x29b4('0xc')];_0x53620e=_0x23dd99[0x0][_0x29b4('0x1a')],_0x4f3fba=_0x23dd99[0x0][_0x29b4('0x21')];break;}}_0x5c9707({'table':_0x3cf53c,'tableWidth':_0x268073,'columnWidths':_0x3803b8}),_0x1893d6['markBlockFormat'](_0x3cf53c,{'commandName':_0x29b4('0x12'),'commandParams':[{'tableWidth':_0x53620e,'columnWidths':_0x4f3fba}],'formatGroupId':_0x29b4('0xf')},[],'resizeTable');});}['handleSuggestionDescription'](_0x5d4619){const {data:_0x369176}=_0x5d4619;if(_0x369176&&'resizeTable'===_0x369176[_0x29b4('0x13')]){const _0x2919db=_0x29b4('0x1c');return{'type':_0x29b4('0x15'),'content':_0x66829b(this[_0x29b4('0x19')]['locale'],_0x2919db)};}}}
23
+ const _0x4200=['TableColumnResizeEditing','_suggestionFactory','accept','bind','data','handleSuggestionDescription','resizeTable','enableCommand','commandParams','get','editor','table','formatGroupId','has','markBlockFormat','handleResizeTableWidthCommand','registerCustomCallback','getTableColumnsWidths','_descriptionFactory','plugins','selection','model','discard','getContainedElement','document','registerDescriptionCallback','Users','resizeTableWidth','formatBlock','format','afterInit','change','getSelectedElement','resizeColumnWidths','getSuggestions','getColumnGroupElement','TrackChangesEditing','tableWidth','getSuggestionCallback','*Format:*\x20resize\x20table','author','subType','columnWidths'];(function(_0x58f15d,_0x4200d0){const _0x3d85d1=function(_0x2ca8ca){while(--_0x2ca8ca){_0x58f15d['push'](_0x58f15d['shift']());}};_0x3d85d1(++_0x4200d0);}(_0x4200,0x1d9));const _0x3d85=function(_0x58f15d,_0x4200d0){_0x58f15d=_0x58f15d-0x0;let _0x3d85d1=_0x4200[_0x58f15d];return _0x3d85d1;};import{Plugin as _0x31b218}from'ckeditor5/src/core';import{getTranslation as _0x188849}from'../utils/common-translations';export default class wt extends _0x31b218{[_0x3d85('0x1e')](){if(!this['editor'][_0x3d85('0x13')][_0x3d85('0xd')](_0x3d85('0x0')))return;const _0x152374=this[_0x3d85('0xa')][_0x3d85('0x13')]['get'](_0x3d85('0x24'));_0x152374[_0x3d85('0x7')]('resizeTableWidth',this[_0x3d85('0xf')][_0x3d85('0x3')](this)),_0x152374['enableCommand'](_0x3d85('0x21'),this[_0x3d85('0xf')][_0x3d85('0x3')](this)),_0x152374[_0x3d85('0x1')]['registerCustomCallback'](_0x3d85('0x1c'),_0x3d85('0x6'),'accept',_0x152374['_suggestionFactory'][_0x3d85('0x26')](_0x3d85('0x1c'),null,_0x3d85('0x16'))),_0x152374[_0x3d85('0x1')][_0x3d85('0x10')]('formatBlock','resizeTable',_0x3d85('0x16'),_0x152374[_0x3d85('0x1')][_0x3d85('0x26')](_0x3d85('0x1c'),null,_0x3d85('0x2'))),_0x152374[_0x3d85('0x12')][_0x3d85('0x19')](this[_0x3d85('0x5')][_0x3d85('0x3')](this));}['handleResizeTableWidthCommand'](_0xa35618,_0x8393fe){const _0x4ef171=this['editor'][_0x3d85('0x13')]['get']('TrackChangesEditing'),_0x633ac1=this[_0x3d85('0xa')][_0x3d85('0x13')][_0x3d85('0x9')]('TableColumnResizeEditing'),_0x5bd2c1=_0x8393fe[_0x3d85('0xb')]||this['editor'][_0x3d85('0x15')][_0x3d85('0x18')][_0x3d85('0x14')][_0x3d85('0x20')]();this['editor'][_0x3d85('0x15')][_0x3d85('0x1f')](()=>{const _0x4374f2=_0x633ac1[_0x3d85('0x23')](_0x5bd2c1);let _0x5bfb27=_0x4374f2?_0x633ac1[_0x3d85('0x11')](_0x4374f2):null,_0x5e9661=_0x5bd2c1['getAttribute'](_0x3d85('0x25'))||null;const _0x256bb7=_0x8393fe['tableWidth']||_0x5e9661,_0x2e3eb0=_0x8393fe[_0x3d85('0x2a')]||_0x5bfb27,_0x2fc859=this[_0x3d85('0xa')]['plugins'][_0x3d85('0x9')](_0x3d85('0x1a'))['me'];for(const _0x27f9a1 of _0x4ef171[_0x3d85('0x22')]()){const _0x4c060a=_0x27f9a1[_0x3d85('0x17')]();if('resizeTable'===_0x27f9a1[_0x3d85('0x29')]&&_0x4c060a===_0x5bd2c1){_0x27f9a1[_0x3d85('0x28')]!==_0x2fc859&&_0x27f9a1[_0x3d85('0x16')]();const _0x3acd19=_0x27f9a1[_0x3d85('0x4')][_0x3d85('0x8')];_0x5e9661=_0x3acd19[0x0][_0x3d85('0x25')],_0x5bfb27=_0x3acd19[0x0][_0x3d85('0x2a')];break;}}_0xa35618({'table':_0x5bd2c1,'tableWidth':_0x256bb7,'columnWidths':_0x2e3eb0}),_0x4ef171[_0x3d85('0xe')](_0x5bd2c1,{'commandName':_0x3d85('0x1b'),'commandParams':[{'tableWidth':_0x5e9661,'columnWidths':_0x5bfb27}],'formatGroupId':_0x3d85('0x6')},[],_0x3d85('0x6'));});}[_0x3d85('0x5')](_0x519540){const {data:_0x31b9bf}=_0x519540;if(_0x31b9bf&&_0x3d85('0x6')===_0x31b9bf[_0x3d85('0xc')]){const _0xd5c5cb=_0x3d85('0x27');return{'type':_0x3d85('0x1d'),'content':_0x188849(this[_0x3d85('0xa')]['locale'],_0xd5c5cb)};}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5b45=['afterInit','commands','get','toViewElement','index','value','addMarker:suggestion','editing','ck-suggestion-marker--active','accept','getAttribute','nodeBefore','model','_acceptFormatSuggestionCallbackFactory','writer','getRowIndexes','editor','first','highest','formatBlock','data','getSelectionAffectedTableCells','createTableWalker','setTableRowHeader','selection','bindElementToMarker','change','getCellLocation','commandName','createPositionBefore','_descriptionFactory','findAncestor','headingColumns','markBlockFormat','getSuggestion','FORMAT_REGULAR_ROW','enableCommand','data-suggestion','options','getColumnIndexes','markerNameToElements','removeAttribute','downcastDispatcher','FORMAT_REGULAR_COLUMN','childCount','setAttribute','isBefore','_suggestionFactory','has','FORMAT_HEADER_ROW','start','registerCustomCallback','includes','removeMarker:suggestion','requires','getChild','unbindElementFromMarkerName','TableEditing','TableUtils','stop','markerRange','plugins','addClass','removeClass','createRange','TrackChangesEditing','format','ck-suggestion-marker-','markerName','mapper','consumable','locale','parent','end','table','_splitMarkerName','setTableColumnHeader','createPositionAfter','from','forceValue','cell'];(function(_0x35d611,_0x5b45c1){const _0xf47acd=function(_0x52809e){while(--_0x52809e){_0x35d611['push'](_0x35d611['shift']());}};_0xf47acd(++_0x5b45c1);}(_0x5b45,0x146));const _0xf47a=function(_0x35d611,_0x5b45c1){_0x35d611=_0x35d611-0x0;let _0xf47acd=_0x5b45[_0x35d611];return _0xf47acd;};import{Plugin as _0x9213a8}from'ckeditor5/src/core';import _0x311437 from'./table';import{getTranslation as _0x33f3d8}from'../utils/common-translations';export default class pt extends _0x9213a8{static get[_0xf47a('0x34')](){return[_0x311437];}[_0xf47a('0x4f')](){const _0x734b13=this[_0xf47a('0xe')];if(!_0x734b13[_0xf47a('0x3b')][_0xf47a('0x2e')](_0xf47a('0x37')))return;const _0x1638cc=_0x734b13[_0xf47a('0x45')],_0x288065=_0x734b13[_0xf47a('0x3b')]['get'](_0xf47a('0x3f')),_0x27ed61=_0x734b13[_0xf47a('0x3b')]['get'](_0xf47a('0x38')),_0x1e570a=_0x734b13[_0xf47a('0x3b')]['get'](_0x311437);function _0x4113d6({showActiveMarker:_0x231f6f=!0x0,setDataAttribute:_0x2d82ae=!0x0}={}){return(_0x35f7b2,_0x19628c,_0x459566)=>{const {type:_0x4b93f9,id:_0x5be478}=_0x288065[_0xf47a('0x49')](_0x19628c[_0xf47a('0x42')]),_0x1f388d=_0x288065[_0xf47a('0x20')](_0x5be478);if(!_0x1f388d['data']||_0xf47a('0x4a')!=_0x1f388d[_0xf47a('0x12')][_0xf47a('0x1a')])return;if(_0x19628c['item'])return void _0x35f7b2[_0xf47a('0x39')]();if(!_0x459566[_0xf47a('0x44')]['consume'](_0x19628c['markerRange'],_0x35f7b2['name']))return;const _0x3f507d=_0x19628c[_0xf47a('0x3a')][_0xf47a('0x30')]['nodeAfter'],_0x8329b1=_0x19628c['markerRange'][_0xf47a('0x47')][_0xf47a('0x9')],_0x439007=_0x3f507d[_0xf47a('0x46')]['parent'],{column:_0x35ad63}=_0x27ed61[_0xf47a('0x19')](_0x3f507d),{column:_0xef894b}=_0x27ed61['getCellLocation'](_0x8329b1);for(let _0x556d6c=_0x35ad63;_0x556d6c<=_0xef894b;_0x556d6c++){const _0x4030af=_0x27ed61[_0xf47a('0x14')](_0x439007,{'column':_0x556d6c,'includeAllSlots':!0x1});for(const _0x1a6a80 of _0x4030af){const _0x3c36e5=_0x1a6a80[_0xf47a('0x4e')],_0x11bd33=_0x459566[_0xf47a('0x43')][_0xf47a('0x1')](_0x3c36e5);_0x459566[_0xf47a('0xc')][_0xf47a('0x3c')](_0xf47a('0x41')+_0x4b93f9,_0x11bd33),_0x2d82ae&&_0x459566[_0xf47a('0xc')][_0xf47a('0x2b')](_0xf47a('0x23'),_0x5be478,_0x11bd33),_0x459566['mapper'][_0xf47a('0x17')](_0x11bd33,_0x19628c[_0xf47a('0x42')]),_0x231f6f&&(_0x288065['activeMarkers'][_0xf47a('0x32')](_0x19628c[_0xf47a('0x42')])?_0x459566[_0xf47a('0xc')][_0xf47a('0x3c')]('ck-suggestion-marker--active',_0x11bd33):_0x459566[_0xf47a('0xc')][_0xf47a('0x3d')](_0xf47a('0x6'),_0x11bd33));}}};}_0x288065[_0xf47a('0x22')]('setTableRowHeader',(_0x346fa7,_0x14e7da)=>{const _0x166705=_0x27ed61[_0xf47a('0x13')](_0x734b13[_0xf47a('0xa')]['document'][_0xf47a('0x16')]),_0x21c11f=_0x27ed61[_0xf47a('0xd')](_0x166705),_0x120c7c=_0x166705[0x0]['findAncestor'](_0xf47a('0x48')),_0x1f9b71=_0x120c7c[_0xf47a('0x8')]('headingRows')||0x0,_0x31f5d8=_0x14e7da&&null!==_0x14e7da[_0xf47a('0x4d')]?_0x14e7da[_0xf47a('0x4d')]:!_0x734b13[_0xf47a('0x50')][_0xf47a('0x0')](_0xf47a('0x15'))[_0xf47a('0x3')],_0x25caa5=_0x31f5d8?_0x21c11f['last']:_0x21c11f['first'],_0x9201b6=_0x120c7c[_0xf47a('0x35')](_0x25caa5);let _0x12fe78;if(_0x31f5d8){const _0x5f1e5a=_0x120c7c[_0xf47a('0x35')](_0x1f9b71);if(_0x9201b6[_0xf47a('0x2')]<_0x5f1e5a[_0xf47a('0x2')])return;_0x12fe78=_0x734b13['model'][_0xf47a('0x3e')](_0x734b13[_0xf47a('0xa')][_0xf47a('0x1b')](_0x5f1e5a['getChild'](0x0)),_0x734b13[_0xf47a('0xa')][_0xf47a('0x4b')](_0x9201b6['getChild'](_0x9201b6[_0xf47a('0x2a')]-0x1)));}else{const _0x1964af=_0x120c7c['getChild'](_0x1f9b71-0x1);if(!_0x1964af)return;_0x12fe78=_0x734b13[_0xf47a('0xa')]['createRange'](_0x734b13['model'][_0xf47a('0x1b')](_0x9201b6[_0xf47a('0x35')](0x0)),_0x734b13[_0xf47a('0xa')][_0xf47a('0x4b')](_0x1964af[_0xf47a('0x35')](_0x1964af[_0xf47a('0x2a')]-0x1)));}_0x734b13[_0xf47a('0xa')][_0xf47a('0x18')](()=>{_0x288065['markBlockFormat'](_0x12fe78,{'commandName':_0xf47a('0x15'),'commandParams':[{'forceValue':_0x31f5d8}]},[],_0xf47a('0x15'));});}),_0x288065[_0xf47a('0x22')](_0xf47a('0x4a'),(_0x5e4dd4,_0x2a6383)=>{const _0x27a2ac=_0x734b13[_0xf47a('0x3b')][_0xf47a('0x0')](_0xf47a('0x38')),_0x59874e=_0x27a2ac[_0xf47a('0x13')](_0x734b13['model']['document'][_0xf47a('0x16')]),_0x17b36d=_0x27a2ac[_0xf47a('0x25')](_0x59874e),_0x20b063=_0x59874e[0x0][_0xf47a('0x1d')]('table'),_0x477b02=_0x20b063['getAttribute'](_0xf47a('0x1e'))||0x0,_0x35627b=_0x2a6383&&null!==_0x2a6383[_0xf47a('0x4d')]?_0x2a6383['forceValue']:!_0x734b13['commands'][_0xf47a('0x0')](_0xf47a('0x4a'))[_0xf47a('0x3')];let _0x545c3c;const _0x4044d4=_0x20b063['getChild'](0x0),_0x67fd6=_0x35627b?_0x17b36d['last']:_0x17b36d[_0xf47a('0xf')],_0x22da34=_0x27a2ac[_0xf47a('0x14')](_0x20b063,{'startRow':0x0,'column':_0x67fd6,'includeAllSlots':!0x1}),_0x1a36fa=Array[_0xf47a('0x4c')](_0x22da34)[0x0][_0xf47a('0x4e')];if(_0x35627b){const _0x5370fe=_0x4044d4[_0xf47a('0x35')](_0x477b02);if(_0x1a36fa[_0xf47a('0x2c')](_0x5370fe))return;_0x545c3c=_0x734b13[_0xf47a('0xa')][_0xf47a('0x3e')](_0x734b13['model']['createPositionBefore'](_0x5370fe),_0x734b13[_0xf47a('0xa')][_0xf47a('0x4b')](_0x1a36fa));}else{const _0x350175=_0x4044d4[_0xf47a('0x35')](_0x477b02-0x1);if(!_0x350175)return;_0x545c3c=_0x734b13[_0xf47a('0xa')]['createRange'](_0x734b13[_0xf47a('0xa')][_0xf47a('0x1b')](_0x1a36fa),_0x734b13[_0xf47a('0xa')][_0xf47a('0x4b')](_0x350175));}_0x734b13['model']['change'](()=>{_0x288065[_0xf47a('0x1f')](_0x545c3c,{'commandName':_0xf47a('0x4a'),'commandParams':[{'forceValue':_0x35627b}]},[],_0xf47a('0x4a'));});}),_0x734b13[_0xf47a('0x5')][_0xf47a('0x28')]['on'](_0xf47a('0x4'),_0x4113d6(),{'priority':_0xf47a('0x10')}),_0x734b13[_0xf47a('0x12')][_0xf47a('0x28')]['on']('addMarker:suggestion',(_0x18aff5,_0x18e4e8,_0x22ae47)=>{_0x22ae47[_0xf47a('0x24')]['showSuggestionHighlights']&&_0x4113d6({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x18aff5,_0x18e4e8,_0x22ae47);},{'priority':_0xf47a('0x10')}),_0x734b13[_0xf47a('0x5')][_0xf47a('0x28')]['on'](_0xf47a('0x33'),(_0x2538c7,_0x2fb923,_0x59e4ff)=>{const {type:_0x4a4724,id:_0xc2cc5c}=_0x288065[_0xf47a('0x49')](_0x2fb923[_0xf47a('0x42')]),_0x61ba54=_0x288065[_0xf47a('0x20')](_0xc2cc5c);if(!_0x61ba54[_0xf47a('0x12')]||'setTableColumnHeader'!=_0x61ba54[_0xf47a('0x12')][_0xf47a('0x1a')])return;const _0x3f7187=_0x59e4ff[_0xf47a('0x43')][_0xf47a('0x26')](_0x2fb923[_0xf47a('0x42')]);if(_0x3f7187)for(const _0x2bf08a of _0x3f7187)_0x59e4ff[_0xf47a('0xc')][_0xf47a('0x3d')](_0xf47a('0x41')+_0x4a4724,_0x2bf08a),_0x59e4ff[_0xf47a('0xc')]['removeClass'](_0xf47a('0x6'),_0x2bf08a),_0x59e4ff['writer'][_0xf47a('0x27')](_0xf47a('0x23'),_0x2bf08a),_0x59e4ff[_0xf47a('0x43')][_0xf47a('0x36')](_0x2bf08a,_0x2fb923[_0xf47a('0x42')]);},{'priority':_0xf47a('0x10')}),_0x288065[_0xf47a('0x1c')]['registerDescriptionCallback'](_0x116c46=>{const {data:_0x4da4f4}=_0x116c46;if(_0x4da4f4){if(_0xf47a('0x15')==_0x4da4f4['commandName']){const _0x1946cc=_0x4da4f4['commandParams'][0x0][_0xf47a('0x4d')];return _0x38a2a7(_0x33f3d8(_0x1638cc,_0x1946cc?_0xf47a('0x2f'):_0xf47a('0x21')));}if(_0xf47a('0x4a')==_0x4da4f4[_0xf47a('0x1a')]){const _0x8ead59=_0x4da4f4['commandParams'][0x0][_0xf47a('0x4d')];return _0x38a2a7(_0x33f3d8(_0x1638cc,_0x8ead59?'FORMAT_HEADER_COLUMN':_0xf47a('0x29')));}}function _0x38a2a7(_0x113810){return{'type':_0xf47a('0x40'),'content':_0x33f3d8(_0x1638cc,'*Format:*\x20%0',_0x113810)};}});const _0x1fa653=_0x1e570a[_0xf47a('0xb')]();_0x288065[_0xf47a('0x2d')]['registerCustomCallback'](_0xf47a('0x11'),_0xf47a('0x15'),_0xf47a('0x7'),_0x1fa653),_0x288065[_0xf47a('0x2d')][_0xf47a('0x31')](_0xf47a('0x11'),'setTableColumnHeader',_0xf47a('0x7'),_0x1fa653);}}
23
+ const _0x4f59=['index','nodeAfter','getColumnIndexes','data-suggestion','_suggestionFactory','registerDescriptionCallback','removeMarker:suggestion','first','locale','consumable','writer','end','formatBlock','getChild','findAncestor','headingRows','setTableRowHeader','removeAttribute','options','_descriptionFactory','plugins','setTableColumnHeader','editing','ck-suggestion-marker--active','includes','getSuggestion','getAttribute','childCount','commandName','selection','_splitMarkerName','removeClass','markerName','value','headingColumns','addMarker:suggestion','TableUtils','commandParams','showSuggestionHighlights','createPositionAfter','getCellLocation','TableEditing','ck-suggestion-marker-','*Format:*\x20%0','format','setAttribute','highest','markBlockFormat','data','markerRange','markerNameToElements','afterInit','createRange','createPositionBefore','FORMAT_HEADER_ROW','model','parent','has','mapper','commands','registerCustomCallback','change','unbindElementFromMarkerName','_acceptFormatSuggestionCallbackFactory','document','table','addClass','downcastDispatcher','accept','getRowIndexes','enableCommand','FORMAT_HEADER_COLUMN','start','get','forceValue','createTableWalker','cell','FORMAT_REGULAR_ROW','getSelectionAffectedTableCells'];(function(_0x2a41ca,_0x4f59b9){const _0x3717b0=function(_0x486bd8){while(--_0x486bd8){_0x2a41ca['push'](_0x2a41ca['shift']());}};_0x3717b0(++_0x4f59b9);}(_0x4f59,0x115));const _0x3717=function(_0x2a41ca,_0x4f59b9){_0x2a41ca=_0x2a41ca-0x0;let _0x3717b0=_0x4f59[_0x2a41ca];return _0x3717b0;};import{Plugin as _0x3ef1d1}from'ckeditor5/src/core';import _0x34f4e4 from'./table';import{getTranslation as _0x449c15}from'../utils/common-translations';export default class pt extends _0x3ef1d1{static get['requires'](){return[_0x34f4e4];}[_0x3717('0xb')](){const _0x10bfbb=this['editor'];if(!_0x10bfbb[_0x3717('0x3b')][_0x3717('0x11')](_0x3717('0x1')))return;const _0x161355=_0x10bfbb[_0x3717('0x2f')],_0xb9f186=_0x10bfbb[_0x3717('0x3b')][_0x3717('0x21')]('TrackChangesEditing'),_0x3d2bfb=_0x10bfbb[_0x3717('0x3b')][_0x3717('0x21')]('TableUtils'),_0x5cae19=_0x10bfbb[_0x3717('0x3b')][_0x3717('0x21')](_0x34f4e4);function _0x3c2cfd({showActiveMarker:_0x34d64c=!0x0,setDataAttribute:_0x2bb478=!0x0}={}){return(_0x192454,_0x36f4e4,_0xa8c580)=>{const {type:_0x3e7e42,id:_0x5694ac}=_0xb9f186[_0x3717('0x45')](_0x36f4e4[_0x3717('0x47')]),_0xd98b9d=_0xb9f186[_0x3717('0x40')](_0x5694ac);if(!_0xd98b9d[_0x3717('0x8')]||_0x3717('0x3c')!=_0xd98b9d[_0x3717('0x8')][_0x3717('0x43')])return;if(_0x36f4e4['item'])return void _0x192454['stop']();if(!_0xa8c580[_0x3717('0x30')]['consume'](_0x36f4e4[_0x3717('0x9')],_0x192454['name']))return;const _0x2c6524=_0x36f4e4['markerRange'][_0x3717('0x20')][_0x3717('0x28')],_0x4c5537=_0x36f4e4[_0x3717('0x9')][_0x3717('0x32')]['nodeBefore'],_0x1fe9a0=_0x2c6524['parent'][_0x3717('0x10')],{column:_0x320921}=_0x3d2bfb[_0x3717('0x0')](_0x2c6524),{column:_0x3ce5bb}=_0x3d2bfb[_0x3717('0x0')](_0x4c5537);for(let _0xfa72a=_0x320921;_0xfa72a<=_0x3ce5bb;_0xfa72a++){const _0x36ee60=_0x3d2bfb[_0x3717('0x23')](_0x1fe9a0,{'column':_0xfa72a,'includeAllSlots':!0x1});for(const _0xe2d9a4 of _0x36ee60){const _0x73e833=_0xe2d9a4['cell'],_0x48e76a=_0xa8c580[_0x3717('0x12')]['toViewElement'](_0x73e833);_0xa8c580['writer'][_0x3717('0x1a')]('ck-suggestion-marker-'+_0x3e7e42,_0x48e76a),_0x2bb478&&_0xa8c580['writer'][_0x3717('0x5')](_0x3717('0x2a'),_0x5694ac,_0x48e76a),_0xa8c580[_0x3717('0x12')]['bindElementToMarker'](_0x48e76a,_0x36f4e4[_0x3717('0x47')]),_0x34d64c&&(_0xb9f186['activeMarkers'][_0x3717('0x3f')](_0x36f4e4[_0x3717('0x47')])?_0xa8c580[_0x3717('0x31')]['addClass'](_0x3717('0x3e'),_0x48e76a):_0xa8c580[_0x3717('0x31')][_0x3717('0x46')](_0x3717('0x3e'),_0x48e76a));}}};}_0xb9f186[_0x3717('0x1e')](_0x3717('0x37'),(_0x41f77e,_0x45a22b)=>{const _0x416402=_0x3d2bfb[_0x3717('0x26')](_0x10bfbb[_0x3717('0xf')]['document'][_0x3717('0x44')]),_0x30f315=_0x3d2bfb[_0x3717('0x1d')](_0x416402),_0x5c13d1=_0x416402[0x0]['findAncestor'](_0x3717('0x19')),_0x2cac46=_0x5c13d1[_0x3717('0x41')](_0x3717('0x36'))||0x0,_0x4282b2=_0x45a22b&&null!==_0x45a22b[_0x3717('0x22')]?_0x45a22b['forceValue']:!_0x10bfbb[_0x3717('0x13')][_0x3717('0x21')]('setTableRowHeader')['value'],_0x5017f6=_0x4282b2?_0x30f315['last']:_0x30f315[_0x3717('0x2e')],_0x35416c=_0x5c13d1['getChild'](_0x5017f6);let _0x8ef81a;if(_0x4282b2){const _0x1a4953=_0x5c13d1['getChild'](_0x2cac46);if(_0x35416c['index']<_0x1a4953[_0x3717('0x27')])return;_0x8ef81a=_0x10bfbb[_0x3717('0xf')][_0x3717('0xc')](_0x10bfbb[_0x3717('0xf')][_0x3717('0xd')](_0x1a4953['getChild'](0x0)),_0x10bfbb[_0x3717('0xf')][_0x3717('0x4e')](_0x35416c[_0x3717('0x34')](_0x35416c[_0x3717('0x42')]-0x1)));}else{const _0x466a66=_0x5c13d1[_0x3717('0x34')](_0x2cac46-0x1);if(!_0x466a66)return;_0x8ef81a=_0x10bfbb[_0x3717('0xf')]['createRange'](_0x10bfbb['model'][_0x3717('0xd')](_0x35416c[_0x3717('0x34')](0x0)),_0x10bfbb[_0x3717('0xf')]['createPositionAfter'](_0x466a66[_0x3717('0x34')](_0x466a66[_0x3717('0x42')]-0x1)));}_0x10bfbb['model'][_0x3717('0x15')](()=>{_0xb9f186['markBlockFormat'](_0x8ef81a,{'commandName':_0x3717('0x37'),'commandParams':[{'forceValue':_0x4282b2}]},[],'setTableRowHeader');});}),_0xb9f186[_0x3717('0x1e')](_0x3717('0x3c'),(_0x28f9c1,_0x295b64)=>{const _0x1b670d=_0x10bfbb[_0x3717('0x3b')][_0x3717('0x21')](_0x3717('0x4b')),_0x530d57=_0x1b670d['getSelectionAffectedTableCells'](_0x10bfbb['model'][_0x3717('0x18')][_0x3717('0x44')]),_0x1a20f1=_0x1b670d[_0x3717('0x29')](_0x530d57),_0x830778=_0x530d57[0x0][_0x3717('0x35')](_0x3717('0x19')),_0x378e55=_0x830778[_0x3717('0x41')](_0x3717('0x49'))||0x0,_0x2fab0a=_0x295b64&&null!==_0x295b64['forceValue']?_0x295b64[_0x3717('0x22')]:!_0x10bfbb[_0x3717('0x13')][_0x3717('0x21')](_0x3717('0x3c'))[_0x3717('0x48')];let _0x1e2c33;const _0x12b448=_0x830778[_0x3717('0x34')](0x0),_0xeb85c6=_0x2fab0a?_0x1a20f1['last']:_0x1a20f1[_0x3717('0x2e')],_0x1d876e=_0x1b670d[_0x3717('0x23')](_0x830778,{'startRow':0x0,'column':_0xeb85c6,'includeAllSlots':!0x1}),_0x536c56=Array['from'](_0x1d876e)[0x0][_0x3717('0x24')];if(_0x2fab0a){const _0x25dc26=_0x12b448[_0x3717('0x34')](_0x378e55);if(_0x536c56['isBefore'](_0x25dc26))return;_0x1e2c33=_0x10bfbb[_0x3717('0xf')][_0x3717('0xc')](_0x10bfbb[_0x3717('0xf')][_0x3717('0xd')](_0x25dc26),_0x10bfbb['model']['createPositionAfter'](_0x536c56));}else{const _0x27872=_0x12b448['getChild'](_0x378e55-0x1);if(!_0x27872)return;_0x1e2c33=_0x10bfbb[_0x3717('0xf')]['createRange'](_0x10bfbb[_0x3717('0xf')][_0x3717('0xd')](_0x536c56),_0x10bfbb['model'][_0x3717('0x4e')](_0x27872));}_0x10bfbb['model'][_0x3717('0x15')](()=>{_0xb9f186[_0x3717('0x7')](_0x1e2c33,{'commandName':_0x3717('0x3c'),'commandParams':[{'forceValue':_0x2fab0a}]},[],_0x3717('0x3c'));});}),_0x10bfbb[_0x3717('0x3d')][_0x3717('0x1b')]['on']('addMarker:suggestion',_0x3c2cfd(),{'priority':_0x3717('0x6')}),_0x10bfbb[_0x3717('0x8')][_0x3717('0x1b')]['on'](_0x3717('0x4a'),(_0x3345b7,_0x47c7e1,_0x54b8cd)=>{_0x54b8cd[_0x3717('0x39')][_0x3717('0x4d')]&&_0x3c2cfd({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x3345b7,_0x47c7e1,_0x54b8cd);},{'priority':_0x3717('0x6')}),_0x10bfbb['editing'][_0x3717('0x1b')]['on'](_0x3717('0x2d'),(_0x5a55d0,_0x269d55,_0x3d1002)=>{const {type:_0x397cb5,id:_0x14ecf5}=_0xb9f186['_splitMarkerName'](_0x269d55[_0x3717('0x47')]),_0x691c50=_0xb9f186[_0x3717('0x40')](_0x14ecf5);if(!_0x691c50[_0x3717('0x8')]||_0x3717('0x3c')!=_0x691c50[_0x3717('0x8')][_0x3717('0x43')])return;const _0xb080a4=_0x3d1002[_0x3717('0x12')][_0x3717('0xa')](_0x269d55[_0x3717('0x47')]);if(_0xb080a4)for(const _0x51644d of _0xb080a4)_0x3d1002[_0x3717('0x31')][_0x3717('0x46')](_0x3717('0x2')+_0x397cb5,_0x51644d),_0x3d1002['writer']['removeClass']('ck-suggestion-marker--active',_0x51644d),_0x3d1002[_0x3717('0x31')][_0x3717('0x38')](_0x3717('0x2a'),_0x51644d),_0x3d1002[_0x3717('0x12')][_0x3717('0x16')](_0x51644d,_0x269d55['markerName']);},{'priority':_0x3717('0x6')}),_0xb9f186[_0x3717('0x3a')][_0x3717('0x2c')](_0x112ca1=>{const {data:_0xde260f}=_0x112ca1;if(_0xde260f){if(_0x3717('0x37')==_0xde260f[_0x3717('0x43')]){const _0x4d008a=_0xde260f[_0x3717('0x4c')][0x0][_0x3717('0x22')];return _0x55a48d(_0x449c15(_0x161355,_0x4d008a?_0x3717('0xe'):_0x3717('0x25')));}if('setTableColumnHeader'==_0xde260f[_0x3717('0x43')]){const _0x58f3e5=_0xde260f[_0x3717('0x4c')][0x0]['forceValue'];return _0x55a48d(_0x449c15(_0x161355,_0x58f3e5?_0x3717('0x1f'):'FORMAT_REGULAR_COLUMN'));}}function _0x55a48d(_0x52c646){return{'type':_0x3717('0x4'),'content':_0x449c15(_0x161355,_0x3717('0x3'),_0x52c646)};}});const _0x3a483a=_0x5cae19[_0x3717('0x17')]();_0xb9f186[_0x3717('0x2b')]['registerCustomCallback'](_0x3717('0x33'),_0x3717('0x37'),_0x3717('0x1c'),_0x3a483a),_0xb9f186[_0x3717('0x2b')][_0x3717('0x14')](_0x3717('0x33'),_0x3717('0x3c'),_0x3717('0x1c'),_0x3a483a);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xdd33=['value','mergeTableCellUp','requires','_areMergableCells','deletion','_suggestionFactory','setSelection','get','detach','markMultiRangeBlockFormat','locale','subType','element','has','format','_tablePostFixingSubtypes','author','registerCustomCallback','length','formatBlock','registerDescriptionCallback','fromRange','getSuggestions','rootName','change','getCellLocation','createTableWalker','getFirstPosition','type','mergeTableCellLeft','map','stop','trackChanges','selection','createRangeOn','horizontally','commands','getSelectionAffectedTableCells','enableCommand','_areSelectedCellsMergable','return','_descriptionFactory','filter','commandName','plugins','splitTableCellHorizontally','execute','getAncestors','mergeTableCellRight','size','model','TableEditing','*Merge\x20cells*','forceDefaultExecution','low','getRanges','$graveyard','refresh','containsRange','splitTableCellVertically','find','document','*Split\x20cell:*\x20horizontally','mergeTableCellDown','mergeTableCells','findAncestor','insertion','accept','editor','tableCell','TableUtils','cell','push','TrackChangesEditing','afterInit'];(function(_0x2e1914,_0xdd33da){const _0x47d89f=function(_0x3e697d){while(--_0x3e697d){_0x2e1914['push'](_0x2e1914['shift']());}};_0x47d89f(++_0xdd33da);}(_0xdd33,0x125));const _0x47d8=function(_0x2e1914,_0xdd33da){_0x2e1914=_0x2e1914-0x0;let _0x47d89f=_0xdd33[_0x2e1914];return _0x47d89f;};import{Plugin as _0x4bf2bd}from'ckeditor5/src/core';import _0x205ec4 from'./table';import{LiveRange as _0x136b5f}from'ckeditor5/src/engine';import{getTranslation as _0x34460f}from'../utils/common-translations';export default class dt extends _0x4bf2bd{static get[_0x47d8('0x9')](){return[_0x205ec4];}[_0x47d8('0x6')](){const _0x260d47=this[_0x47d8('0x0')],_0xb468d1=_0x260d47[_0x47d8('0x39')][_0x47d8('0x44')][_0x47d8('0x28')],_0x59a9d4=_0x260d47[_0x47d8('0x11')];if(!_0x260d47['plugins'][_0x47d8('0x14')](_0x47d8('0x3a')))return;const _0x4db71b=_0x260d47[_0x47d8('0x33')]['get'](_0x47d8('0x5')),_0xa74913=_0x260d47[_0x47d8('0x33')][_0x47d8('0xe')](_0x47d8('0x2')),_0xfbe0c=_0x260d47[_0x47d8('0x33')]['get'](_0x205ec4);_0xfbe0c[_0x47d8('0x16')][_0x47d8('0x4')](_0x47d8('0x47')),_0x4db71b[_0x47d8('0x2d')](_0x47d8('0x47'),()=>{const _0x503054=_0xa74913[_0x47d8('0x2c')](_0x260d47[_0x47d8('0x39')][_0x47d8('0x44')][_0x47d8('0x28')]);_0x260d47[_0x47d8('0x39')][_0x47d8('0x1f')](()=>{_0x4db71b[_0x47d8('0x10')](_0x503054,{'commandName':_0x47d8('0x47'),'commandParams':[]},[],_0x47d8('0x47'));});}),_0x260d47[_0x47d8('0x2b')]['get'](_0x47d8('0x47'))['on']('execute',(_0x2df475,_0xf8b4c6)=>{_0x260d47[_0x47d8('0x2b')]['get'](_0x47d8('0x27'))[_0x47d8('0x7')]&&(_0xf8b4c6[_0x47d8('0x19')]>0x0&&_0xf8b4c6[_0xf8b4c6['length']-0x1]&&_0xf8b4c6[_0xf8b4c6[_0x47d8('0x19')]-0x1][_0x47d8('0x3c')]||_0x4db71b['_isForcedDefaultExecutionBlock']||this[_0x47d8('0x2e')]()||_0x2df475[_0x47d8('0x26')]());},{'priority':'highest'});for(const _0x9c3c47 of[_0x47d8('0x8'),_0x47d8('0x37'),_0x47d8('0x46'),_0x47d8('0x24')]){const _0x1d050e=_0x260d47[_0x47d8('0x2b')][_0x47d8('0xe')](_0x9c3c47);_0x4db71b[_0x47d8('0x2d')](_0x9c3c47,()=>{const _0x3f0a5a=_0x260d47[_0x47d8('0x39')][_0x47d8('0x44')][_0x47d8('0x28')][_0x47d8('0x22')]()[_0x47d8('0x36')]()[_0x47d8('0x43')](_0x5b2908=>_0x5b2908['is'](_0x47d8('0x13'),_0x47d8('0x1'))),_0x3a18cb=_0x1d050e[_0x47d8('0x7')];_0x260d47[_0x47d8('0x39')][_0x47d8('0x1f')](()=>{_0x4db71b['markMultiRangeBlockFormat']([_0x3f0a5a,_0x3a18cb],{'commandName':_0x47d8('0x47'),'commandParams':[]},[],_0x47d8('0x47'));});});}for(const _0x4955a5 of[_0x47d8('0x42'),'splitTableCellHorizontally']){const _0x2b5e9b=_0x260d47[_0x47d8('0x2b')][_0x47d8('0xe')](_0x4955a5);_0x4db71b['enableCommand'](_0x4955a5,()=>{const _0x1e614c=_0xa74913['getSelectionAffectedTableCells'](_0x260d47[_0x47d8('0x39')]['document']['selection'])[0x0],_0x45c989=_0x1e614c[_0x47d8('0x48')]('table'),{column:_0x25d427,row:_0xd1b325}=_0xa74913[_0x47d8('0x20')](_0x1e614c);let _0x5a70f8=[];if(_0x47d8('0x2a')==_0x2b5e9b['direction']){const _0x87129=_0xa74913[_0x47d8('0x21')](_0x45c989,{'startRow':_0xd1b325,'endRow':_0xd1b325,'includeAllSlots':!0x0});_0x5a70f8=Array['from'](_0x87129)[_0x47d8('0x25')](_0x2fe908=>_0x2fe908['cell']);}else{const _0x355f63=_0xa74913[_0x47d8('0x21')](_0x45c989,{'column':_0x25d427,'includeAllSlots':!0x0});_0x5a70f8=Array['from'](_0x355f63)[_0x47d8('0x25')](_0x9954eb=>_0x9954eb[_0x47d8('0x3')]);}_0x260d47['model']['change'](_0x4b2f38=>{_0x4db71b['markBlockFormat'](_0x4b2f38[_0x47d8('0x29')](_0x1e614c),{'commandName':_0x4955a5,'commandParams':[]},_0x5a70f8,_0x4955a5);});});}_0x4db71b[_0x47d8('0x30')][_0x47d8('0x1b')](_0x21f840=>{const {data:_0x6d4d6d}=_0x21f840;if(_0x6d4d6d)return'mergeTableCells'==_0x6d4d6d['commandName']?{'type':_0x47d8('0x15'),'content':_0x34460f(_0x59a9d4,_0x47d8('0x3b'))}:void 0x0;}),_0x4db71b[_0x47d8('0x30')]['registerDescriptionCallback'](_0x47f75f=>{const {data:_0x39afb2}=_0x47f75f;if(_0x39afb2)return _0x47d8('0x42')==_0x39afb2[_0x47d8('0x32')]?{'type':_0x47d8('0x15'),'content':_0x34460f(_0x59a9d4,'*Split\x20cell:*\x20vertically')}:'splitTableCellHorizontally'==_0x39afb2[_0x47d8('0x32')]?{'type':'format','content':_0x34460f(_0x59a9d4,_0x47d8('0x45'))}:void 0x0;});const _0x17fc8c=_0xfbe0c['_acceptFormatSuggestionCallbackFactory']();for(const _0x791653 of['mergeTableCellUp','mergeTableCellRight',_0x47d8('0x46'),_0x47d8('0x24')])_0x4db71b[_0x47d8('0xc')][_0x47d8('0x18')](_0x47d8('0x1a'),_0x791653,_0x47d8('0x4a'),_0x17fc8c);for(const _0x4e6e2c of[_0x47d8('0x42'),_0x47d8('0x34')])_0x4db71b[_0x47d8('0xc')]['registerCustomCallback'](_0x47d8('0x1a'),_0x4e6e2c,_0x47d8('0x4a'),_0x17fc8c);_0x4db71b[_0x47d8('0xc')][_0x47d8('0x18')](_0x47d8('0x1a'),'mergeTableCells','accept',_0x2311b5=>{_0x260d47[_0x47d8('0x39')]['change'](_0x5a24e8=>{const _0x4ab915=Array['from'](_0xb468d1['getRanges']())['map'](_0x24e509=>_0x136b5f[_0x47d8('0x1c')](_0x24e509));_0x5a24e8[_0x47d8('0xd')](_0x2311b5),_0x260d47[_0x47d8('0x2b')]['get'](_0x47d8('0x47'))[_0x47d8('0x40')](),_0x260d47[_0x47d8('0x35')](_0x47d8('0x47'),{'forceDefaultExecution':!0x0});const _0x24f1af=_0x4ab915[_0x47d8('0x31')](_0x1be6cb=>_0x47d8('0x3f')!=_0x1be6cb['root'][_0x47d8('0x1e')]);_0x24f1af[_0x47d8('0x19')]>0x0&&_0x5a24e8[_0x47d8('0xd')](_0x24f1af);for(const _0x54fa9c of _0x4ab915)_0x54fa9c[_0x47d8('0xf')]();});});for(const _0x449325 of[_0x47d8('0x8'),_0x47d8('0x46'),_0x47d8('0x24'),_0x47d8('0x37')]){const _0x491075=_0x260d47[_0x47d8('0x2b')][_0x47d8('0xe')](_0x449325);_0x491075['on']('set:isEnabled',(_0x5a07c4,_0x5239e0,_0xeb17fb)=>{if(_0xeb17fb){const _0x37607e=_0x260d47[_0x47d8('0x39')][_0x47d8('0x44')]['selection'][_0x47d8('0x22')]()[_0x47d8('0x36')]()['find'](_0x10de39=>_0x10de39['is'](_0x47d8('0x13'),'tableCell'));this[_0x47d8('0xa')](_0x491075[_0x47d8('0x7')],_0x37607e)||(_0x5a07c4[_0x47d8('0x2f')]=!0x1,_0x5a07c4[_0x47d8('0x26')]());}},{'priority':_0x47d8('0x3d')});}}['_areSelectedCellsMergable'](){const _0xd2b135=this[_0x47d8('0x0')][_0x47d8('0x2b')]['get']('mergeTableCells'),_0x5c0bcf=this['editor'][_0x47d8('0x33')][_0x47d8('0xe')](_0x47d8('0x2'));if(!_0xd2b135['isEnabled'])return!0x1;const _0x3719e2=_0x5c0bcf['getSelectionAffectedTableCells'](this[_0x47d8('0x0')]['model'][_0x47d8('0x44')][_0x47d8('0x28')]);for(const _0x230ac3 of _0x3719e2)for(const _0x1a0abe of _0x3719e2)if(_0x230ac3!=_0x1a0abe&&!this[_0x47d8('0xa')](_0x230ac3,_0x1a0abe))return!0x1;return!0x0;}[_0x47d8('0xa')](_0x13670f,_0x129f4a){const _0x508726=this[_0x47d8('0x0')]['plugins'][_0x47d8('0xe')](_0x47d8('0x5')),_0x27089d=this[_0x47d8('0x0')][_0x47d8('0x39')]['createRangeOn'](_0x13670f),_0x16e681=this[_0x47d8('0x0')][_0x47d8('0x39')][_0x47d8('0x29')](_0x129f4a),_0x4e2819=new Set(),_0x3be75b=new Set();for(const _0x3921cc of _0x508726[_0x47d8('0x1d')]())if((_0x47d8('0x49')==_0x3921cc[_0x47d8('0x23')]||_0x47d8('0xb')==_0x3921cc[_0x47d8('0x23')]||_0x47d8('0x47')==_0x3921cc[_0x47d8('0x12')])&&_0x3921cc['isInContent'])for(const _0xde46ed of _0x3921cc[_0x47d8('0x3e')]())_0xde46ed[_0x47d8('0x41')](_0x27089d,!0x0)&&_0x4e2819['add'](_0x3921cc[_0x47d8('0x23')]+':'+_0x3921cc[_0x47d8('0x17')]['id']),_0xde46ed['containsRange'](_0x16e681,!0x0)&&_0x3be75b['add'](_0x3921cc[_0x47d8('0x23')]+':'+_0x3921cc[_0x47d8('0x17')]['id']);if(_0x4e2819[_0x47d8('0x38')]!=_0x3be75b[_0x47d8('0x38')])return!0x1;for(const _0x11b35c of _0x4e2819)if(!_0x3be75b[_0x47d8('0x14')](_0x11b35c))return!0x1;return!0x0;}}
23
+ const _0x5822=['isInContent','has','cell','mergeTableCellLeft','mergeTableCellDown','mergeTableCellRight','_descriptionFactory','tableCell','isEnabled','push','findAncestor','getSelectionAffectedTableCells','accept','formatBlock','markBlockFormat','add','horizontally','length','setSelection','editor','author','get','type','document','_suggestionFactory','*Split\x20cell:*\x20horizontally','filter','createTableWalker','rootName','*Merge\x20cells*','createRangeOn','detach','subType','markMultiRangeBlockFormat','getRanges','set:isEnabled','TableEditing','model','getFirstPosition','registerCustomCallback','mergeTableCellUp','plugins','getCellLocation','insertion','TableUtils','enableCommand','containsRange','getSuggestions','forceDefaultExecution','locale','change','return','format','selection','map','_tablePostFixingSubtypes','TrackChangesEditing','commandName','_isForcedDefaultExecutionBlock','commands','splitTableCellVertically','mergeTableCells','find','trackChanges','*Split\x20cell:*\x20vertically','splitTableCellHorizontally','value','_areMergableCells','element','fromRange','deletion','registerDescriptionCallback','direction','from','stop','table','refresh','size','requires','getAncestors'];(function(_0x148ff8,_0x582243){const _0x3774f5=function(_0x1067c6){while(--_0x1067c6){_0x148ff8['push'](_0x148ff8['shift']());}};_0x3774f5(++_0x582243);}(_0x5822,0xba));const _0x3774=function(_0x148ff8,_0x582243){_0x148ff8=_0x148ff8-0x0;let _0x3774f5=_0x5822[_0x148ff8];return _0x3774f5;};import{Plugin as _0x1200fd}from'ckeditor5/src/core';import _0x46954c from'./table';import{LiveRange as _0xd122af}from'ckeditor5/src/engine';import{getTranslation as _0x49a73d}from'../utils/common-translations';export default class dt extends _0x1200fd{static get[_0x3774('0x34')](){return[_0x46954c];}['afterInit'](){const _0x311eea=this[_0x3774('0x49')],_0x1ae0ca=_0x311eea[_0x3774('0xb')][_0x3774('0x4d')][_0x3774('0x1b')],_0x25eeff=_0x311eea[_0x3774('0x17')];if(!_0x311eea[_0x3774('0xf')][_0x3774('0x37')](_0x3774('0xa')))return;const _0x26a3b8=_0x311eea[_0x3774('0xf')][_0x3774('0x4b')]('TrackChangesEditing'),_0xdc4a17=_0x311eea[_0x3774('0xf')]['get']('TableUtils'),_0x19c0ec=_0x311eea[_0x3774('0xf')][_0x3774('0x4b')](_0x46954c);_0x19c0ec[_0x3774('0x1d')][_0x3774('0x3f')](_0x3774('0x23')),_0x26a3b8['enableCommand']('mergeTableCells',()=>{const _0x1bf571=_0xdc4a17[_0x3774('0x41')](_0x311eea[_0x3774('0xb')][_0x3774('0x4d')][_0x3774('0x1b')]);_0x311eea[_0x3774('0xb')][_0x3774('0x18')](()=>{_0x26a3b8[_0x3774('0x7')](_0x1bf571,{'commandName':_0x3774('0x23'),'commandParams':[]},[],'mergeTableCells');});}),_0x311eea[_0x3774('0x21')][_0x3774('0x4b')](_0x3774('0x23'))['on']('execute',(_0x2e205a,_0x4a449b)=>{_0x311eea[_0x3774('0x21')][_0x3774('0x4b')](_0x3774('0x25'))['value']&&(_0x4a449b[_0x3774('0x47')]>0x0&&_0x4a449b[_0x4a449b[_0x3774('0x47')]-0x1]&&_0x4a449b[_0x4a449b['length']-0x1][_0x3774('0x16')]||_0x26a3b8[_0x3774('0x20')]||this['_areSelectedCellsMergable']()||_0x2e205a['stop']());},{'priority':'highest'});for(const _0x159087 of[_0x3774('0xe'),_0x3774('0x3b'),'mergeTableCellDown',_0x3774('0x39')]){const _0x9e658f=_0x311eea[_0x3774('0x21')][_0x3774('0x4b')](_0x159087);_0x26a3b8[_0x3774('0x13')](_0x159087,()=>{const _0x1cd51e=_0x311eea[_0x3774('0xb')][_0x3774('0x4d')][_0x3774('0x1b')][_0x3774('0xc')]()[_0x3774('0x35')]()[_0x3774('0x24')](_0x13b57a=>_0x13b57a['is']('element','tableCell')),_0x2587c6=_0x9e658f[_0x3774('0x28')];_0x311eea[_0x3774('0xb')][_0x3774('0x18')](()=>{_0x26a3b8['markMultiRangeBlockFormat']([_0x1cd51e,_0x2587c6],{'commandName':_0x3774('0x23'),'commandParams':[]},[],'mergeTableCells');});});}for(const _0x55299d of[_0x3774('0x22'),_0x3774('0x27')]){const _0x587d2d=_0x311eea[_0x3774('0x21')][_0x3774('0x4b')](_0x55299d);_0x26a3b8['enableCommand'](_0x55299d,()=>{const _0x6bf6b=_0xdc4a17['getSelectionAffectedTableCells'](_0x311eea[_0x3774('0xb')][_0x3774('0x4d')][_0x3774('0x1b')])[0x0],_0x7278a8=_0x6bf6b[_0x3774('0x40')](_0x3774('0x31')),{column:_0x257b0c,row:_0x492c82}=_0xdc4a17[_0x3774('0x10')](_0x6bf6b);let _0xe487b8=[];if(_0x3774('0x46')==_0x587d2d[_0x3774('0x2e')]){const _0x552fbf=_0xdc4a17[_0x3774('0x1')](_0x7278a8,{'startRow':_0x492c82,'endRow':_0x492c82,'includeAllSlots':!0x0});_0xe487b8=Array['from'](_0x552fbf)[_0x3774('0x1c')](_0x1b5497=>_0x1b5497[_0x3774('0x38')]);}else{const _0x516b49=_0xdc4a17[_0x3774('0x1')](_0x7278a8,{'column':_0x257b0c,'includeAllSlots':!0x0});_0xe487b8=Array[_0x3774('0x2f')](_0x516b49)[_0x3774('0x1c')](_0x91b8b3=>_0x91b8b3[_0x3774('0x38')]);}_0x311eea[_0x3774('0xb')]['change'](_0x58c851=>{_0x26a3b8[_0x3774('0x44')](_0x58c851[_0x3774('0x4')](_0x6bf6b),{'commandName':_0x55299d,'commandParams':[]},_0xe487b8,_0x55299d);});});}_0x26a3b8[_0x3774('0x3c')][_0x3774('0x2d')](_0x2bfd9e=>{const {data:_0x5a0dbd}=_0x2bfd9e;if(_0x5a0dbd)return _0x3774('0x23')==_0x5a0dbd[_0x3774('0x1f')]?{'type':'format','content':_0x49a73d(_0x25eeff,_0x3774('0x3'))}:void 0x0;}),_0x26a3b8[_0x3774('0x3c')][_0x3774('0x2d')](_0x474b65=>{const {data:_0x5bd28d}=_0x474b65;if(_0x5bd28d)return _0x3774('0x22')==_0x5bd28d[_0x3774('0x1f')]?{'type':'format','content':_0x49a73d(_0x25eeff,_0x3774('0x26'))}:_0x3774('0x27')==_0x5bd28d['commandName']?{'type':_0x3774('0x1a'),'content':_0x49a73d(_0x25eeff,_0x3774('0x4f'))}:void 0x0;});const _0x4e37c8=_0x19c0ec['_acceptFormatSuggestionCallbackFactory']();for(const _0x41afb0 of[_0x3774('0xe'),_0x3774('0x3b'),_0x3774('0x3a'),'mergeTableCellLeft'])_0x26a3b8[_0x3774('0x4e')][_0x3774('0xd')](_0x3774('0x43'),_0x41afb0,_0x3774('0x42'),_0x4e37c8);for(const _0x423826 of[_0x3774('0x22'),'splitTableCellHorizontally'])_0x26a3b8[_0x3774('0x4e')][_0x3774('0xd')]('formatBlock',_0x423826,_0x3774('0x42'),_0x4e37c8);_0x26a3b8[_0x3774('0x4e')][_0x3774('0xd')](_0x3774('0x43'),'mergeTableCells',_0x3774('0x42'),_0x595c51=>{_0x311eea[_0x3774('0xb')][_0x3774('0x18')](_0x419483=>{const _0x1cafd5=Array[_0x3774('0x2f')](_0x1ae0ca[_0x3774('0x8')]())[_0x3774('0x1c')](_0x392fd5=>_0xd122af[_0x3774('0x2b')](_0x392fd5));_0x419483[_0x3774('0x48')](_0x595c51),_0x311eea[_0x3774('0x21')][_0x3774('0x4b')](_0x3774('0x23'))[_0x3774('0x32')](),_0x311eea['execute'](_0x3774('0x23'),{'forceDefaultExecution':!0x0});const _0x21cd32=_0x1cafd5[_0x3774('0x0')](_0x112179=>'$graveyard'!=_0x112179['root'][_0x3774('0x2')]);_0x21cd32['length']>0x0&&_0x419483[_0x3774('0x48')](_0x21cd32);for(const _0x122ba6 of _0x1cafd5)_0x122ba6[_0x3774('0x5')]();});});for(const _0x285a7a of['mergeTableCellUp','mergeTableCellDown',_0x3774('0x39'),_0x3774('0x3b')]){const _0x59ce33=_0x311eea[_0x3774('0x21')]['get'](_0x285a7a);_0x59ce33['on'](_0x3774('0x9'),(_0x24021e,_0x3d8bbd,_0x44daea)=>{if(_0x44daea){const _0x13da50=_0x311eea[_0x3774('0xb')][_0x3774('0x4d')][_0x3774('0x1b')][_0x3774('0xc')]()[_0x3774('0x35')]()[_0x3774('0x24')](_0x3f1a81=>_0x3f1a81['is'](_0x3774('0x2a'),_0x3774('0x3d')));this[_0x3774('0x29')](_0x59ce33['value'],_0x13da50)||(_0x24021e[_0x3774('0x19')]=!0x1,_0x24021e[_0x3774('0x30')]());}},{'priority':'low'});}}['_areSelectedCellsMergable'](){const _0x4d7ee7=this['editor']['commands']['get'](_0x3774('0x23')),_0x205fd8=this[_0x3774('0x49')][_0x3774('0xf')][_0x3774('0x4b')](_0x3774('0x12'));if(!_0x4d7ee7[_0x3774('0x3e')])return!0x1;const _0xd94095=_0x205fd8[_0x3774('0x41')](this['editor'][_0x3774('0xb')][_0x3774('0x4d')][_0x3774('0x1b')]);for(const _0x4a9b66 of _0xd94095)for(const _0x3f2d6d of _0xd94095)if(_0x4a9b66!=_0x3f2d6d&&!this[_0x3774('0x29')](_0x4a9b66,_0x3f2d6d))return!0x1;return!0x0;}[_0x3774('0x29')](_0x38a453,_0x5d5644){const _0x589b6f=this[_0x3774('0x49')]['plugins'][_0x3774('0x4b')](_0x3774('0x1e')),_0x1a52d2=this[_0x3774('0x49')][_0x3774('0xb')][_0x3774('0x4')](_0x38a453),_0x1f284b=this[_0x3774('0x49')][_0x3774('0xb')][_0x3774('0x4')](_0x5d5644),_0x3946ed=new Set(),_0x537732=new Set();for(const _0x92c08f of _0x589b6f[_0x3774('0x15')]())if((_0x3774('0x11')==_0x92c08f[_0x3774('0x4c')]||_0x3774('0x2c')==_0x92c08f['type']||_0x3774('0x23')==_0x92c08f[_0x3774('0x6')])&&_0x92c08f[_0x3774('0x36')])for(const _0x30dd4b of _0x92c08f['getRanges']())_0x30dd4b[_0x3774('0x14')](_0x1a52d2,!0x0)&&_0x3946ed[_0x3774('0x45')](_0x92c08f['type']+':'+_0x92c08f[_0x3774('0x4a')]['id']),_0x30dd4b[_0x3774('0x14')](_0x1f284b,!0x0)&&_0x537732[_0x3774('0x45')](_0x92c08f[_0x3774('0x4c')]+':'+_0x92c08f['author']['id']);if(_0x3946ed[_0x3774('0x33')]!=_0x537732[_0x3774('0x33')])return!0x1;for(const _0x2c924b of _0x3946ed)if(!_0x537732['has'](_0x2c924b))return!0x1;return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x39da=['get','TrackChangesEditing','editor','commands','enableCommand','tableOfContents','afterInit','locale','insertTableOfContents','registerElementLabel','ELEMENT_TABLE_OF_CONTENTS','plugins','_descriptionFactory'];(function(_0x1909f0,_0x39da87){const _0x50eeb0=function(_0x26e2e8){while(--_0x26e2e8){_0x1909f0['push'](_0x1909f0['shift']());}};_0x50eeb0(++_0x39da87);}(_0x39da,0xcd));const _0x50ee=function(_0x1909f0,_0x39da87){_0x1909f0=_0x1909f0-0x0;let _0x50eeb0=_0x39da[_0x1909f0];return _0x50eeb0;};import{Plugin as _0x179fd8}from'ckeditor5/src/core';import{getTranslation as _0x4db740}from'../utils/common-translations';export default class bt extends _0x179fd8{[_0x50ee('0x9')](){const _0x4a082d=this[_0x50ee('0x5')];if(!_0x4a082d[_0x50ee('0x6')][_0x50ee('0x3')](_0x50ee('0xb')))return;_0x4a082d[_0x50ee('0x1')][_0x50ee('0x3')](_0x50ee('0x4'))[_0x50ee('0x7')](_0x50ee('0xb'));const _0x2c4b24=_0x4a082d[_0x50ee('0x1')]['get'](_0x50ee('0x4')),_0x364571=_0x4a082d[_0x50ee('0xa')];_0x2c4b24[_0x50ee('0x2')][_0x50ee('0xc')](_0x50ee('0x8'),_0x416362=>_0x4db740(_0x364571,_0x50ee('0x0'),_0x416362));}}
23
+ const _0x55af=['insertTableOfContents','tableOfContents','get','plugins','enableCommand','commands','ELEMENT_TABLE_OF_CONTENTS','TrackChangesEditing','registerElementLabel','locale','afterInit'];(function(_0x30a276,_0x55aff0){const _0x503ccd=function(_0xcff3af){while(--_0xcff3af){_0x30a276['push'](_0x30a276['shift']());}};_0x503ccd(++_0x55aff0);}(_0x55af,0x130));const _0x503c=function(_0x30a276,_0x55aff0){_0x30a276=_0x30a276-0x0;let _0x503ccd=_0x55af[_0x30a276];return _0x503ccd;};import{Plugin as _0x5e7fb5}from'ckeditor5/src/core';import{getTranslation as _0x204d8d}from'../utils/common-translations';export default class bt extends _0x5e7fb5{[_0x503c('0x3')](){const _0x3b6da3=this['editor'];if(!_0x3b6da3[_0x503c('0x9')][_0x503c('0x6')](_0x503c('0x4')))return;_0x3b6da3[_0x503c('0x7')][_0x503c('0x6')](_0x503c('0x0'))[_0x503c('0x8')]('insertTableOfContents');const _0x5f564e=_0x3b6da3['plugins'][_0x503c('0x6')]('TrackChangesEditing'),_0x2d0a72=_0x3b6da3[_0x503c('0x2')];_0x5f564e['_descriptionFactory'][_0x503c('0x1')](_0x503c('0x5'),_0x2e4cb6=>_0x204d8d(_0x2d0a72,_0x503c('0xa'),_0x2e4cb6));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1e92=['registerCustomCallback','tableBackgroundColor','plugins','_descriptionFactory','pluginName','table','_suggestionFactory','tableProperties','tableCellPadding','discard','tableCellProperties','handleDiscardAction','tableBorderStyle','join','getContainedElement','batch','tableCellBackgroundColor','_handlePropertyChange','TrackChangesTableProperties','model','accept','setAttribute','tableCellHeight','tableBorderWidth','TableCellPropertiesEditing','locale','tableCellWidth','selection','editor','tableBorderColor','handleSuggestionDescription','enableCommand','tableCellHorizontalAlignment','TableUtils','TrackChangesEditing','_getSuggestion','tableCellBorderStyle','getAttribute','formatBlock','tableAlignment','document','tableCellVerticalAlignment','start','getFirstPosition','get','format','tableCellBorderColor','change','*Format:*\x20change\x20table\x20cell\x20properties','removeAttribute','*Format:*\x20change\x20table\x20properties','data','subType','afterInit','getSuggestionCallback'];(function(_0x144f2c,_0x1e92dd){const _0x4e2486=function(_0x57b78a){while(--_0x57b78a){_0x144f2c['push'](_0x144f2c['shift']());}};_0x4e2486(++_0x1e92dd);}(_0x1e92,0xb9));const _0x4e24=function(_0x144f2c,_0x1e92dd){_0x144f2c=_0x144f2c-0x0;let _0x4e2486=_0x1e92[_0x144f2c];return _0x4e2486;};import{Plugin as _0x17b16d}from'ckeditor5/src/core';import{getTranslation as _0x442bcc}from'../utils/common-translations';export default class Ct extends _0x17b16d{constructor(_0x447aa9){super(_0x447aa9),this[_0x4e24('0x2a')]=[_0x4e24('0x9'),_0x4e24('0x2f'),_0x4e24('0x3'),_0x4e24('0x13'),'tableWidth','tableHeight',_0x4e24('0x24')],this['tableCellProperties']=[_0x4e24('0x1a'),_0x4e24('0x10'),'tableCellBorderWidth',_0x4e24('0x2b'),_0x4e24('0x6'),_0x4e24('0x2'),_0x4e24('0x33'),_0x4e24('0xc'),_0x4e24('0x15')];}static get[_0x4e24('0x27')](){return _0x4e24('0x35');}[_0x4e24('0x21')](){const _0x1113cd=this[_0x4e24('0x8')][_0x4e24('0x25')][_0x4e24('0x18')](_0x4e24('0xe'));if(this[_0x4e24('0x8')]['plugins']['has']('TablePropertiesEditing')){for(const _0x3fb3ac of this['tableProperties'])_0x1113cd['enableCommand'](_0x3fb3ac,(_0x138848,_0x249231)=>{const _0x4fd4a2=this['editor'][_0x4e24('0x36')]['document'][_0x4e24('0x7')][_0x4e24('0x17')]()['findAncestor'](_0x4e24('0x28'));this[_0x4e24('0x34')](_0x3fb3ac,[_0x4fd4a2],this[_0x4e24('0x2a')],_0x4e24('0x2a'),_0x138848,_0x249231);});_0x1113cd[_0x4e24('0x29')][_0x4e24('0x23')](_0x4e24('0x12'),'tableProperties',_0x4e24('0x0'),_0x1113cd[_0x4e24('0x29')][_0x4e24('0x22')]('formatBlock',null,'discard')),_0x1113cd[_0x4e24('0x29')]['registerCustomCallback'](_0x4e24('0x12'),_0x4e24('0x2a'),'discard',(_0x378b9c,_0x12a5a2)=>this[_0x4e24('0x2e')](this[_0x4e24('0x2a')],_0x378b9c,_0x12a5a2)),_0x1113cd['_suggestionFactory']['registerCustomCallback']('formatBlock',_0x4e24('0x2a'),'join',()=>!0x1);}if(this[_0x4e24('0x8')][_0x4e24('0x25')]['has'](_0x4e24('0x4'))){for(const _0x4656a5 of this[_0x4e24('0x2d')])_0x1113cd[_0x4e24('0xb')](_0x4656a5,(_0x288bad,_0x4600e5)=>{const _0x553db1=this[_0x4e24('0x8')][_0x4e24('0x25')][_0x4e24('0x18')](_0x4e24('0xd'))['getSelectionAffectedTableCells'](this[_0x4e24('0x8')][_0x4e24('0x36')][_0x4e24('0x14')]['selection']);this[_0x4e24('0x34')](_0x4656a5,_0x553db1,this[_0x4e24('0x2d')],_0x4e24('0x2d'),_0x288bad,_0x4600e5);});_0x1113cd[_0x4e24('0x29')][_0x4e24('0x23')](_0x4e24('0x12'),_0x4e24('0x2d'),_0x4e24('0x0'),_0x1113cd[_0x4e24('0x29')]['getSuggestionCallback'](_0x4e24('0x12'),null,_0x4e24('0x2c'))),_0x1113cd[_0x4e24('0x29')][_0x4e24('0x23')](_0x4e24('0x12'),_0x4e24('0x2d'),'discard',(_0x3040dd,_0x42447f)=>this[_0x4e24('0x2e')](this['tableCellProperties'],_0x3040dd,_0x42447f)),_0x1113cd[_0x4e24('0x29')][_0x4e24('0x23')](_0x4e24('0x12'),_0x4e24('0x2d'),_0x4e24('0x30'),()=>!0x1);}_0x1113cd[_0x4e24('0x26')]['registerDescriptionCallback'](_0x3e5451=>this[_0x4e24('0xa')](_0x3e5451));}['_handlePropertyChange'](_0x4ac31f,_0x52e6e8,_0x495568,_0x473c05,_0x4cc771,_0xb94ebf){const _0x136979=this['editor'][_0x4e24('0x25')][_0x4e24('0x18')](_0x4e24('0xe'));this[_0x4e24('0x8')]['model']['enqueueChange'](_0xb94ebf[_0x4e24('0x32')],()=>{for(const _0x8bd012 of _0x52e6e8){if(this['_getSuggestion'](_0x8bd012,_0x473c05))_0x4cc771(_0xb94ebf);else{const _0x492c00={};for(const _0x1fa08b of _0x495568){const _0x3cd970=_0x8bd012[_0x4e24('0x11')](_0x1fa08b);void 0x0!==_0x3cd970&&(_0x492c00[_0x1fa08b]=_0x3cd970);}_0x4cc771(_0xb94ebf),_0x136979['markBlockFormat'](_0x8bd012,{'commandParams':[_0x492c00]},[],_0x473c05);}}});}['handleDiscardAction'](_0x5be1a7,_0x122b67,_0x5a59b8){const _0x528333=_0x122b67[0x0][_0x4e24('0x16')]['nodeAfter'],_0x2b2b70=_0x5a59b8['commandParams'][0x0];this[_0x4e24('0x8')][_0x4e24('0x36')][_0x4e24('0x1b')](_0x4d2468=>{for(const _0x213a50 of _0x5be1a7)void 0x0!==_0x2b2b70[_0x213a50]?_0x4d2468[_0x4e24('0x1')](_0x213a50,_0x2b2b70[_0x213a50],_0x528333):_0x4d2468[_0x4e24('0x1d')](_0x213a50,_0x528333);});}['handleSuggestionDescription'](_0x5ccd0f){if(_0x5ccd0f[_0x4e24('0x1f')])switch(_0x5ccd0f[_0x4e24('0x20')]){case _0x4e24('0x2a'):return{'type':_0x4e24('0x19'),'content':_0x442bcc(this[_0x4e24('0x8')][_0x4e24('0x5')],_0x4e24('0x1e'))};case _0x4e24('0x2d'):return{'type':'format','content':_0x442bcc(this[_0x4e24('0x8')]['locale'],_0x4e24('0x1c'))};}}[_0x4e24('0xf')](_0x5d62fb,_0x5e75b5){const _0x230f58=this[_0x4e24('0x8')]['plugins'][_0x4e24('0x18')](_0x4e24('0xe'));for(const _0x24419b of _0x230f58['getSuggestions']({'skipNotAttached':!0x0})){const _0x1142a2=_0x24419b[_0x4e24('0x31')]();if(_0x24419b['subType']===_0x5e75b5&&_0x1142a2===_0x5d62fb)return _0x24419b;}return null;}}
23
+ const _0x43d2=['*Format:*\x20change\x20table\x20properties','has','enableCommand','tableCellVerticalAlignment','TrackChangesEditing','enqueueChange','locale','table','data','removeAttribute','getSelectionAffectedTableCells','tableBorderColor','selection','get','pluginName','afterInit','tableWidth','_suggestionFactory','tableBorderWidth','document','findAncestor','handleDiscardAction','registerCustomCallback','tableCellWidth','tableCellPadding','subType','tableHeight','tableBackgroundColor','tableBorderStyle','tableCellProperties','tableCellBorderStyle','discard','markBlockFormat','_getSuggestion','tableCellBorderColor','TableUtils','getSuggestionCallback','plugins','tableAlignment','model','accept','format','tableCellHeight','TableCellPropertiesEditing','getFirstPosition','tableCellBorderWidth','editor','formatBlock','join','getSuggestions','tableProperties','handleSuggestionDescription','_handlePropertyChange','nodeAfter','tableCellHorizontalAlignment','batch'];(function(_0x1177db,_0x43d221){const _0x288603=function(_0x327fd3){while(--_0x327fd3){_0x1177db['push'](_0x1177db['shift']());}};_0x288603(++_0x43d221);}(_0x43d2,0xad));const _0x2886=function(_0x1177db,_0x43d221){_0x1177db=_0x1177db-0x0;let _0x288603=_0x43d2[_0x1177db];return _0x288603;};import{Plugin as _0x12c094}from'ckeditor5/src/core';import{getTranslation as _0x1c790c}from'../utils/common-translations';export default class Ct extends _0x12c094{constructor(_0x4b90e6){super(_0x4b90e6),this[_0x2886('0x2d')]=[_0x2886('0x6'),_0x2886('0x17'),_0x2886('0xd'),_0x2886('0x21'),_0x2886('0xb'),_0x2886('0x15'),_0x2886('0x16')],this['tableCellProperties']=[_0x2886('0x1d'),_0x2886('0x19'),_0x2886('0x28'),_0x2886('0x13'),_0x2886('0x12'),_0x2886('0x25'),'tableCellBackgroundColor',_0x2886('0x31'),_0x2886('0x36')];}static get[_0x2886('0x9')](){return'TrackChangesTableProperties';}[_0x2886('0xa')](){const _0x40b08c=this[_0x2886('0x29')][_0x2886('0x20')][_0x2886('0x8')](_0x2886('0x37'));if(this['editor']['plugins'][_0x2886('0x34')]('TablePropertiesEditing')){for(const _0x5b8784 of this[_0x2886('0x2d')])_0x40b08c[_0x2886('0x35')](_0x5b8784,(_0x60d2b0,_0x1e359d)=>{const _0x33273b=this['editor']['model'][_0x2886('0xe')][_0x2886('0x7')][_0x2886('0x27')]()[_0x2886('0xf')](_0x2886('0x2'));this[_0x2886('0x2f')](_0x5b8784,[_0x33273b],this['tableProperties'],_0x2886('0x2d'),_0x60d2b0,_0x1e359d);});_0x40b08c[_0x2886('0xc')][_0x2886('0x11')](_0x2886('0x2a'),_0x2886('0x2d'),'accept',_0x40b08c[_0x2886('0xc')][_0x2886('0x1f')]('formatBlock',null,'discard')),_0x40b08c[_0x2886('0xc')][_0x2886('0x11')](_0x2886('0x2a'),_0x2886('0x2d'),_0x2886('0x1a'),(_0x5f1845,_0x5d6b35)=>this['handleDiscardAction'](this[_0x2886('0x2d')],_0x5f1845,_0x5d6b35)),_0x40b08c['_suggestionFactory'][_0x2886('0x11')](_0x2886('0x2a'),'tableProperties',_0x2886('0x2b'),()=>!0x1);}if(this['editor'][_0x2886('0x20')]['has'](_0x2886('0x26'))){for(const _0x49c439 of this[_0x2886('0x18')])_0x40b08c['enableCommand'](_0x49c439,(_0x3d81c8,_0xf631e)=>{const _0x5b6668=this[_0x2886('0x29')][_0x2886('0x20')][_0x2886('0x8')](_0x2886('0x1e'))[_0x2886('0x5')](this[_0x2886('0x29')]['model'][_0x2886('0xe')]['selection']);this[_0x2886('0x2f')](_0x49c439,_0x5b6668,this['tableCellProperties'],_0x2886('0x18'),_0x3d81c8,_0xf631e);});_0x40b08c[_0x2886('0xc')]['registerCustomCallback'](_0x2886('0x2a'),_0x2886('0x18'),_0x2886('0x23'),_0x40b08c[_0x2886('0xc')][_0x2886('0x1f')](_0x2886('0x2a'),null,_0x2886('0x1a'))),_0x40b08c[_0x2886('0xc')][_0x2886('0x11')](_0x2886('0x2a'),_0x2886('0x18'),_0x2886('0x1a'),(_0x5c6f40,_0x4c6fdd)=>this[_0x2886('0x10')](this[_0x2886('0x18')],_0x5c6f40,_0x4c6fdd)),_0x40b08c[_0x2886('0xc')][_0x2886('0x11')]('formatBlock',_0x2886('0x18'),_0x2886('0x2b'),()=>!0x1);}_0x40b08c['_descriptionFactory']['registerDescriptionCallback'](_0x47ccf1=>this[_0x2886('0x2e')](_0x47ccf1));}[_0x2886('0x2f')](_0x277df0,_0x5c7a8b,_0x1383b4,_0x384248,_0x34b248,_0x40ac91){const _0x2a931c=this['editor'][_0x2886('0x20')][_0x2886('0x8')](_0x2886('0x37'));this[_0x2886('0x29')][_0x2886('0x22')][_0x2886('0x0')](_0x40ac91[_0x2886('0x32')],()=>{for(const _0x4c7595 of _0x5c7a8b){if(this['_getSuggestion'](_0x4c7595,_0x384248))_0x34b248(_0x40ac91);else{const _0x319573={};for(const _0x5aef6f of _0x1383b4){const _0x363988=_0x4c7595['getAttribute'](_0x5aef6f);void 0x0!==_0x363988&&(_0x319573[_0x5aef6f]=_0x363988);}_0x34b248(_0x40ac91),_0x2a931c[_0x2886('0x1b')](_0x4c7595,{'commandParams':[_0x319573]},[],_0x384248);}}});}['handleDiscardAction'](_0x43530d,_0x26281a,_0x3f7a81){const _0x3592fc=_0x26281a[0x0]['start'][_0x2886('0x30')],_0x12d18c=_0x3f7a81['commandParams'][0x0];this[_0x2886('0x29')][_0x2886('0x22')]['change'](_0x1bee74=>{for(const _0x5a6aaa of _0x43530d)void 0x0!==_0x12d18c[_0x5a6aaa]?_0x1bee74['setAttribute'](_0x5a6aaa,_0x12d18c[_0x5a6aaa],_0x3592fc):_0x1bee74[_0x2886('0x4')](_0x5a6aaa,_0x3592fc);});}[_0x2886('0x2e')](_0x252131){if(_0x252131[_0x2886('0x3')])switch(_0x252131[_0x2886('0x14')]){case'tableProperties':return{'type':_0x2886('0x24'),'content':_0x1c790c(this[_0x2886('0x29')][_0x2886('0x1')],_0x2886('0x33'))};case _0x2886('0x18'):return{'type':_0x2886('0x24'),'content':_0x1c790c(this[_0x2886('0x29')][_0x2886('0x1')],'*Format:*\x20change\x20table\x20cell\x20properties')};}}[_0x2886('0x1c')](_0x1b381b,_0x23d783){const _0x4d245c=this[_0x2886('0x29')][_0x2886('0x20')][_0x2886('0x8')](_0x2886('0x37'));for(const _0x549062 of _0x4d245c[_0x2886('0x2c')]({'skipNotAttached':!0x0})){const _0x4d0ad1=_0x549062['getContainedElement']();if(_0x549062[_0x2886('0x14')]===_0x23d783&&_0x4d0ad1===_0x1b381b)return _0x549062;}return null;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x10a4=['enableCommand','get','afterInit','editor','Template','TrackChangesEditing','has','plugins'];(function(_0x18c6d4,_0x10a4a7){const _0x3860ed=function(_0x2ff533){while(--_0x2ff533){_0x18c6d4['push'](_0x18c6d4['shift']());}};_0x3860ed(++_0x10a4a7);}(_0x10a4,0xcc));const _0x3860=function(_0x18c6d4,_0x10a4a7){_0x18c6d4=_0x18c6d4-0x0;let _0x3860ed=_0x10a4[_0x18c6d4];return _0x3860ed;};import{Plugin as _0x37b530}from'ckeditor5/src/core';export default class yt extends _0x37b530{[_0x3860('0x6')](){const _0x54ed44=this[_0x3860('0x7')];_0x54ed44['plugins'][_0x3860('0x2')](_0x3860('0x0'))&&_0x54ed44[_0x3860('0x3')][_0x3860('0x5')](_0x3860('0x1'))[_0x3860('0x4')]('insertTemplate');}}
23
+ const _0x38f3=['has','plugins','afterInit','insertTemplate','Template','editor','enableCommand'];(function(_0x49dc8b,_0x38f31f){const _0x37a949=function(_0x3cd38b){while(--_0x3cd38b){_0x49dc8b['push'](_0x49dc8b['shift']());}};_0x37a949(++_0x38f31f);}(_0x38f3,0x19a));const _0x37a9=function(_0x49dc8b,_0x38f31f){_0x49dc8b=_0x49dc8b-0x0;let _0x37a949=_0x38f3[_0x49dc8b];return _0x37a949;};import{Plugin as _0x53cefc}from'ckeditor5/src/core';export default class yt extends _0x53cefc{[_0x37a9('0x5')](){const _0x221c76=this[_0x37a9('0x1')];_0x221c76['plugins'][_0x37a9('0x3')](_0x37a9('0x0'))&&_0x221c76[_0x37a9('0x4')]['get']('TrackChangesEditing')[_0x37a9('0x2')](_0x37a9('0x6'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1710=['editor','newRange','isEqual','model','locale','nodeBefore','from','_descriptionFactory','schema','Title','plugins','title-content','isTouching','registerPostFixer','TrackChangesEditing','end','removeMarker','start','element','getChangedMarkers','suggestion','has','ELEMENT_TITLE','getNearestSelectionRange','document','_splitMarkerName','registerElementLabel'];(function(_0x558267,_0x171086){const _0x5d919d=function(_0x58b53b){while(--_0x58b53b){_0x558267['push'](_0x558267['shift']());}};_0x5d919d(++_0x171086);}(_0x1710,0x1cb));const _0x5d91=function(_0x558267,_0x171086){_0x558267=_0x558267-0x0;let _0x5d919d=_0x1710[_0x558267];return _0x5d919d;};import{Plugin as _0x584190}from'ckeditor5/src/core';import{getTranslation as _0x1ea202}from'../utils/common-translations';export default class St extends _0x584190{['afterInit'](){const _0x6ac71e=this[_0x5d91('0x0')];if(!_0x6ac71e[_0x5d91('0xa')][_0x5d91('0x15')](_0x5d91('0x9')))return;const _0x3359e6=_0x6ac71e[_0x5d91('0xa')]['get'](_0x5d91('0xe'));_0x3359e6[_0x5d91('0x7')][_0x5d91('0x1a')](_0x5d91('0xb'),()=>_0x1ea202(_0x6ac71e[_0x5d91('0x4')],_0x5d91('0x16'))),_0x6ac71e[_0x5d91('0x3')][_0x5d91('0x18')][_0x5d91('0xd')](_0x409bff=>{let _0x78b5db=!0x1;const _0x27463d=Array[_0x5d91('0x6')](_0x6ac71e[_0x5d91('0x3')][_0x5d91('0x18')]['differ'][_0x5d91('0x13')]());for(const {name:_0x1f0264,data:_0x1e4a85}of _0x27463d){const {group:_0x3054b9}=_0x3359e6[_0x5d91('0x19')](_0x1f0264);if(_0x5d91('0x14')!==_0x3054b9||!_0x1e4a85[_0x5d91('0x1')])continue;const _0x511eff=_0x1e4a85[_0x5d91('0x1')],_0x745c26=_0x511eff[_0x5d91('0xf')][_0x5d91('0x5')];if(!_0x745c26||!_0x745c26['is'](_0x5d91('0x12'),_0x5d91('0xb')))continue;if(!_0x511eff[_0x5d91('0x11')][_0x5d91('0xc')](_0x511eff[_0x5d91('0xf')]))continue;const _0x140788=_0x6ac71e[_0x5d91('0x3')][_0x5d91('0x8')][_0x5d91('0x17')](_0x511eff[_0x5d91('0xf')],'forward');if(_0x140788&&_0x140788['isCollapsed']){const _0x1e7eda=_0x409bff['createRange'](_0x511eff[_0x5d91('0x11')],_0x140788[_0x5d91('0x11')]);_0x1e7eda[_0x5d91('0x2')](_0x511eff)||(_0x409bff['updateMarker'](_0x1f0264,{'range':_0x1e7eda}),_0x78b5db=!0x0);}_0x78b5db||(_0x409bff[_0x5d91('0x10')](_0x1f0264),_0x78b5db=!0x0);}return _0x78b5db;});}}
23
+ const _0x33ba=['isTouching','schema','element','model','ELEMENT_TITLE','locale','Title','differ','_descriptionFactory','get','TrackChangesEditing','isCollapsed','from','start','registerPostFixer','afterInit','has','plugins','end','createRange','nodeBefore','title-content','getNearestSelectionRange','editor','document','forward','_splitMarkerName','removeMarker','suggestion'];(function(_0x3bb333,_0x33ba1f){const _0xf9dd42=function(_0x3e6a03){while(--_0x3e6a03){_0x3bb333['push'](_0x3bb333['shift']());}};_0xf9dd42(++_0x33ba1f);}(_0x33ba,0x15f));const _0xf9dd=function(_0x3bb333,_0x33ba1f){_0x3bb333=_0x3bb333-0x0;let _0xf9dd42=_0x33ba[_0x3bb333];return _0xf9dd42;};import{Plugin as _0x276d0e}from'ckeditor5/src/core';import{getTranslation as _0x5e570b}from'../utils/common-translations';export default class St extends _0x276d0e{[_0xf9dd('0xc')](){const _0x283980=this[_0xf9dd('0x14')];if(!_0x283980[_0xf9dd('0xe')][_0xf9dd('0xd')](_0xf9dd('0x3')))return;const _0x1d0ec0=_0x283980['plugins'][_0xf9dd('0x6')](_0xf9dd('0x7'));_0x1d0ec0[_0xf9dd('0x5')]['registerElementLabel'](_0xf9dd('0x12'),()=>_0x5e570b(_0x283980[_0xf9dd('0x2')],_0xf9dd('0x1'))),_0x283980['model'][_0xf9dd('0x15')][_0xf9dd('0xb')](_0x594dad=>{let _0x58bd25=!0x1;const _0x151107=Array[_0xf9dd('0x9')](_0x283980['model'][_0xf9dd('0x15')][_0xf9dd('0x4')]['getChangedMarkers']());for(const {name:_0x2e58d9,data:_0x1d483a}of _0x151107){const {group:_0x54cc55}=_0x1d0ec0[_0xf9dd('0x17')](_0x2e58d9);if(_0xf9dd('0x19')!==_0x54cc55||!_0x1d483a['newRange'])continue;const _0x232ba6=_0x1d483a['newRange'],_0x262af8=_0x232ba6['end'][_0xf9dd('0x11')];if(!_0x262af8||!_0x262af8['is'](_0xf9dd('0x1c'),'title-content'))continue;if(!_0x232ba6['start'][_0xf9dd('0x1a')](_0x232ba6[_0xf9dd('0xf')]))continue;const _0x2e8ed4=_0x283980[_0xf9dd('0x0')][_0xf9dd('0x1b')][_0xf9dd('0x13')](_0x232ba6[_0xf9dd('0xf')],_0xf9dd('0x16'));if(_0x2e8ed4&&_0x2e8ed4[_0xf9dd('0x8')]){const _0xc3ef9d=_0x594dad[_0xf9dd('0x10')](_0x232ba6[_0xf9dd('0xa')],_0x2e8ed4['start']);_0xc3ef9d['isEqual'](_0x232ba6)||(_0x594dad['updateMarker'](_0x2e58d9,{'range':_0xc3ef9d}),_0x58bd25=!0x0);}_0x58bd25||(_0x594dad[_0xf9dd('0x18')](_0x2e58d9),_0x58bd25=!0x0);}return _0x58bd25;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x13a6=['editor','afterInit','undo','plugins','has','TrackChangesEditing','enableCommand','redo','get'];(function(_0x517b0c,_0x13a6ad){const _0x2d093e=function(_0x1dff1d){while(--_0x1dff1d){_0x517b0c['push'](_0x517b0c['shift']());}};_0x2d093e(++_0x13a6ad);}(_0x13a6,0x1ba));const _0x2d09=function(_0x517b0c,_0x13a6ad){_0x517b0c=_0x517b0c-0x0;let _0x2d093e=_0x13a6[_0x517b0c];return _0x2d093e;};import{Plugin as _0x1c0ccd}from'ckeditor5/src/core';export default class It extends _0x1c0ccd{[_0x2d09('0x0')](){const _0xaae5ad=this[_0x2d09('0x8')],_0x5b5305=_0xaae5ad[_0x2d09('0x2')][_0x2d09('0x7')](_0x2d09('0x4'));_0xaae5ad[_0x2d09('0x2')][_0x2d09('0x3')]('UndoEditing')&&(_0x5b5305[_0x2d09('0x5')](_0x2d09('0x1')),_0x5b5305[_0x2d09('0x5')](_0x2d09('0x6')));}}
23
+ const _0x4e73=['get','enableCommand','plugins','afterInit','has','TrackChangesEditing'];(function(_0x4d7948,_0x4e73f4){const _0x2c7acd=function(_0x1abe55){while(--_0x1abe55){_0x4d7948['push'](_0x4d7948['shift']());}};_0x2c7acd(++_0x4e73f4);}(_0x4e73,0x1a9));const _0x2c7a=function(_0x4d7948,_0x4e73f4){_0x4d7948=_0x4d7948-0x0;let _0x2c7acd=_0x4e73[_0x4d7948];return _0x2c7acd;};import{Plugin as _0x1fc26e}from'ckeditor5/src/core';export default class It extends _0x1fc26e{[_0x2c7a('0x4')](){const _0x1f63aa=this['editor'],_0x5d6ea7=_0x1f63aa[_0x2c7a('0x3')][_0x2c7a('0x1')](_0x2c7a('0x0'));_0x1f63aa[_0x2c7a('0x3')][_0x2c7a('0x5')]('UndoEditing')&&(_0x5d6ea7[_0x2c7a('0x2')]('undo'),_0x5d6ea7[_0x2c7a('0x2')]('redo'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1a03=['model','includes','item','previousPosition','getWalker','mapper','addClass','consumable','nextSibling','getItems','markerRange','elementEnd','ck-suggestion-marker-','listIndent','get','listItem','isBlock','toViewPosition','markerName','getAttribute','createRangeOn','bindElementToMarker','isLimit','schema','insert','type','parent','push','getCustomProperty','start','element','isContent','plugins','name','writer'];(function(_0x2151bd,_0x1a039e){const _0x4a359e=function(_0x2c640a){while(--_0x2c640a){_0x2151bd['push'](_0x2151bd['shift']());}};_0x4a359e(++_0x1a039e);}(_0x1a03,0xf0));const _0x4a35=function(_0x2151bd,_0x1a039e){_0x2151bd=_0x2151bd-0x0;let _0x4a359e=_0x1a03[_0x2151bd];return _0x4a359e;};export function getRangesWithAttribute(_0x183ed9,_0x3a175e,_0x1990e2){const _0x5a2cce=[];for(const _0x2b14ab of _0x3a175e[_0x4a35('0xe')]())_0x2b14ab['hasAttribute'](_0x183ed9)&&_0x5a2cce[_0x4a35('0x20')](_0x1990e2[_0x4a35('0x19')](_0x2b14ab));return _0x5a2cce;}export function getElementsAffectedByListItemRename(_0x720493){const _0x49115e=[];if(_0x720493['is'](_0x4a35('0x0'),_0x4a35('0x14'))){let _0x33ca3e=_0x720493[_0x4a35('0xd')];for(;_0x33ca3e&&_0x33ca3e['is'](_0x4a35('0x0'),_0x4a35('0x14'))&&_0x33ca3e[_0x4a35('0x18')](_0x4a35('0x12'))>0x0;)_0x49115e[_0x4a35('0x20')](_0x33ca3e),_0x33ca3e=_0x33ca3e[_0x4a35('0xd')];}return _0x49115e;}export function downcastSplitMergeMarker(_0x4fa6df,_0x3f10f8,{showActiveMarker:_0x2f8b67=!0x0}={}){const _0x9bd69d=_0x4fa6df[_0x4a35('0x2')][_0x4a35('0x13')]('TrackChangesEditing');return(_0x295335,_0x342d9b,_0xa5c864)=>{if(!_0xa5c864[_0x4a35('0xc')]['test'](_0x342d9b[_0x4a35('0xf')],_0x295335[_0x4a35('0x3')]))return;const _0x3f6626=_0x342d9b['markerRange'][_0x4a35('0x9')](),_0x4ebdc3=_0x342d9b[_0x4a35('0xf')][_0x4a35('0x22')],_0x527f38=_0x4fa6df[_0x4a35('0x5')][_0x4a35('0x1c')];let _0xa69ac5=null,_0x4e7f8f=null,_0x2e89d3=!0x1,_0x1556dd=!0x1;for(const _0x189de0 of _0x3f6626){const _0x188bf6=_0x189de0[_0x4a35('0x7')];_0x2e89d3=_0x2e89d3||_0x527f38[_0x4a35('0x1')](_0x188bf6);const _0x383c7c=_0xa5c864[_0x4a35('0xa')]['toViewElement'](_0x188bf6);if(_0x383c7c&&_0x383c7c[_0x4a35('0x21')]('addHighlight'))return;_0x4a35('0x10')==_0x189de0[_0x4a35('0x1e')]&&(_0x527f38[_0x4a35('0x15')](_0x188bf6)&&!_0x527f38[_0x4a35('0x1b')](_0x188bf6)&&(_0x188bf6[_0x4a35('0xd')]||_0x4ebdc3['isAtEnd']?_0xa69ac5&&_0xa69ac5[_0x4a35('0x1f')]==_0x188bf6||(_0xa69ac5=_0x188bf6,_0x36389d(_0x189de0[_0x4a35('0x8')]),_0x1556dd=!0x0):_0x4e7f8f=_0x4e7f8f||_0x189de0['previousPosition']));}function _0x36389d(_0x2a6427){const _0x4f887f=_0xa5c864['writer']['createUIElement']('span',{'class':_0x4a35('0x11')+_0x3f10f8}),_0x36693b=_0xa5c864[_0x4a35('0xa')][_0x4a35('0x16')](_0x2a6427);_0x2f8b67&&_0x9bd69d['activeMarkers'][_0x4a35('0x6')](_0x342d9b['markerName'])&&_0xa5c864[_0x4a35('0x4')][_0x4a35('0xb')]('ck-suggestion-marker--active',_0x4f887f),_0xa5c864[_0x4a35('0x4')][_0x4a35('0x1d')](_0x36693b,_0x4f887f),_0xa5c864[_0x4a35('0xa')][_0x4a35('0x1a')](_0x4f887f,_0x342d9b[_0x4a35('0x17')]);}_0x2e89d3||_0x1556dd||!_0x4e7f8f||_0x36389d(_0x4e7f8f);};}
23
+ const _0x4a4d=['mapper','getAttribute','markerName','span','listItem','getItems','isBlock','insert','start','previousPosition','addClass','get','elementEnd','nextSibling','plugins','toViewPosition','listIndent','ck-suggestion-marker--active','item','getCustomProperty','push','hasAttribute','element','activeMarkers','createRangeOn','writer','name','bindElementToMarker','createUIElement','ck-suggestion-marker-','toViewElement','markerRange','getWalker','test','type','parent'];(function(_0x1e207a,_0x4a4d3c){const _0x43c482=function(_0x502fa){while(--_0x502fa){_0x1e207a['push'](_0x1e207a['shift']());}};_0x43c482(++_0x4a4d3c);}(_0x4a4d,0xe2));const _0x43c4=function(_0x1e207a,_0x4a4d3c){_0x1e207a=_0x1e207a-0x0;let _0x43c482=_0x4a4d[_0x1e207a];return _0x43c482;};export function getRangesWithAttribute(_0x2b62ae,_0xccfba3,_0x2b07fc){const _0x152390=[];for(const _0x38d47b of _0xccfba3[_0x43c4('0x1f')]())_0x38d47b[_0x43c4('0xb')](_0x2b62ae)&&_0x152390['push'](_0x2b07fc[_0x43c4('0xe')](_0x38d47b));return _0x152390;}export function getElementsAffectedByListItemRename(_0x5c3755){const _0x571b2f=[];if(_0x5c3755['is'](_0x43c4('0xc'),_0x43c4('0x1e'))){let _0xacda10=_0x5c3755['nextSibling'];for(;_0xacda10&&_0xacda10['is'](_0x43c4('0xc'),_0x43c4('0x1e'))&&_0xacda10[_0x43c4('0x1b')](_0x43c4('0x6'))>0x0;)_0x571b2f[_0x43c4('0xa')](_0xacda10),_0xacda10=_0xacda10[_0x43c4('0x3')];}return _0x571b2f;}export function downcastSplitMergeMarker(_0x2d4980,_0x42a57f,{showActiveMarker:_0x576656=!0x0}={}){const _0x6ed112=_0x2d4980[_0x43c4('0x4')][_0x43c4('0x1')]('TrackChangesEditing');return(_0x2aee22,_0x4a2396,_0x11880e)=>{if(!_0x11880e['consumable'][_0x43c4('0x17')](_0x4a2396[_0x43c4('0x15')],_0x2aee22[_0x43c4('0x10')]))return;const _0x3b3bbd=_0x4a2396[_0x43c4('0x15')][_0x43c4('0x16')](),_0x3011b3=_0x4a2396['markerRange'][_0x43c4('0x22')],_0x503f3a=_0x2d4980['model']['schema'];let _0x5cd038=null,_0xaabf89=null,_0x48f663=!0x1,_0x3d02af=!0x1;for(const _0x5a2512 of _0x3b3bbd){const _0x195894=_0x5a2512[_0x43c4('0x8')];_0x48f663=_0x48f663||_0x503f3a['isContent'](_0x195894);const _0xa19c26=_0x11880e[_0x43c4('0x1a')][_0x43c4('0x14')](_0x195894);if(_0xa19c26&&_0xa19c26[_0x43c4('0x9')]('addHighlight'))return;_0x43c4('0x2')==_0x5a2512[_0x43c4('0x18')]&&(_0x503f3a[_0x43c4('0x20')](_0x195894)&&!_0x503f3a['isLimit'](_0x195894)&&(_0x195894[_0x43c4('0x3')]||_0x3011b3['isAtEnd']?_0x5cd038&&_0x5cd038[_0x43c4('0x19')]==_0x195894||(_0x5cd038=_0x195894,_0x48a24(_0x5a2512[_0x43c4('0x23')]),_0x3d02af=!0x0):_0xaabf89=_0xaabf89||_0x5a2512['previousPosition']));}function _0x48a24(_0x550ac1){const _0x1f1339=_0x11880e[_0x43c4('0xf')][_0x43c4('0x12')](_0x43c4('0x1d'),{'class':_0x43c4('0x13')+_0x42a57f}),_0x472722=_0x11880e[_0x43c4('0x1a')][_0x43c4('0x5')](_0x550ac1);_0x576656&&_0x6ed112[_0x43c4('0xd')]['includes'](_0x4a2396[_0x43c4('0x1c')])&&_0x11880e['writer'][_0x43c4('0x0')](_0x43c4('0x7'),_0x1f1339),_0x11880e[_0x43c4('0xf')][_0x43c4('0x21')](_0x472722,_0x1f1339),_0x11880e['mapper'][_0x43c4('0x11')](_0x1f1339,_0x4a2396['markerName']);}_0x48f663||_0x3d02af||!_0xaabf89||_0x48a24(_0xaabf89);};}