@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20230727.0 → 0.0.0-nightly-20230728.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 (68) hide show
  1. package/build/track-changes.js +1 -1
  2. package/build/translations/gl.js +1 -1
  3. package/build/translations/sq.js +1 -0
  4. package/lang/translations/gl.po +23 -23
  5. package/lang/translations/sq.po +487 -0
  6. package/package.json +3 -3
  7. package/src/commands/acceptsuggestioncommand.js +1 -1
  8. package/src/commands/discardsuggestioncommand.js +1 -1
  9. package/src/commands/executeonallsuggestionscommand.js +1 -1
  10. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  11. package/src/commands/trackchangescommand.js +1 -1
  12. package/src/integrations/alignment.js +1 -1
  13. package/src/integrations/basicstyles.js +1 -1
  14. package/src/integrations/blockquote.js +1 -1
  15. package/src/integrations/ckbox.js +1 -1
  16. package/src/integrations/codeblock.js +1 -1
  17. package/src/integrations/comments.js +1 -1
  18. package/src/integrations/deletecommand.js +1 -1
  19. package/src/integrations/documentlist.js +1 -1
  20. package/src/integrations/documentlistproperties.js +1 -1
  21. package/src/integrations/entercommand.js +1 -1
  22. package/src/integrations/findandreplace.js +1 -1
  23. package/src/integrations/font.js +1 -1
  24. package/src/integrations/formatpainter.js +1 -1
  25. package/src/integrations/heading.js +1 -1
  26. package/src/integrations/highlight.js +1 -1
  27. package/src/integrations/horizontalline.js +1 -1
  28. package/src/integrations/htmlembed.js +1 -1
  29. package/src/integrations/image.js +1 -1
  30. package/src/integrations/imagereplace.js +1 -1
  31. package/src/integrations/importword.js +1 -1
  32. package/src/integrations/indent.js +1 -1
  33. package/src/integrations/inputcommand.js +1 -1
  34. package/src/integrations/link.js +1 -1
  35. package/src/integrations/list.js +1 -1
  36. package/src/integrations/listproperties.js +1 -1
  37. package/src/integrations/mediaembed.js +1 -1
  38. package/src/integrations/mention.js +1 -1
  39. package/src/integrations/pagebreak.js +1 -1
  40. package/src/integrations/paragraph.js +1 -1
  41. package/src/integrations/removeformat.js +1 -1
  42. package/src/integrations/restrictededitingmode.js +1 -1
  43. package/src/integrations/shiftentercommand.js +1 -1
  44. package/src/integrations/standardeditingmode.js +1 -1
  45. package/src/integrations/style.js +1 -1
  46. package/src/integrations/table.js +1 -1
  47. package/src/integrations/tablecaption.js +1 -1
  48. package/src/integrations/tableclipboard.js +1 -1
  49. package/src/integrations/tablecolumnresize.js +1 -1
  50. package/src/integrations/tableheadings.js +1 -1
  51. package/src/integrations/tablemergesplit.js +1 -1
  52. package/src/integrations/tableofcontents.js +1 -1
  53. package/src/integrations/tableproperties.js +1 -1
  54. package/src/integrations/template.js +1 -1
  55. package/src/integrations/title.js +1 -1
  56. package/src/integrations/undo.js +1 -1
  57. package/src/integrations/utils.js +1 -1
  58. package/src/suggestion.js +1 -1
  59. package/src/suggestiondescriptionfactory.js +1 -1
  60. package/src/trackchanges.js +1 -1
  61. package/src/trackchangesdata.js +1 -1
  62. package/src/trackchangesediting.js +1 -1
  63. package/src/trackchangesui.js +1 -1
  64. package/src/ui/suggestioncontroller.js +1 -1
  65. package/src/ui/view/basesuggestionthreadview.js +1 -1
  66. package/src/ui/view/suggestionthreadview.js +1 -1
  67. package/src/utils/common-translations.js +1 -1
  68. package/src/utils/utils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1a9f=['*Replace\x20table\x20cells*','cells','activeMarkers','unwrap','setAttributes','afterInit','subType','getAllAdjacentSuggestions','insertRows','element','paragraph','view','suggestionUnloaded','map','length','markMultiRangeBlockFormat','suggestion-td','next','getRanges','tableCellVerticalAlignment','attributes','findAncestor','nextSibling','createTableWalker','newRange','conversion','insertContent','removeColumns','columnInsertionRanges','tableCellBackgroundColor','removeMarker','commands','selection','tableCellPadding','remove','has','document','insertColumns','TableUtils','tableCellBorderWidth','tableCellSuggestion','_isForcedDefaultExecutionBlock','author','fromEntries','createRangeOn','change','containsRange','Users','insertion','keys','insert','suggestion','register','tablePasteColumn','getMarkers','tableCell','reduce','push','plugins','getColumnIndexes','registerPostFixer','fill','ck-suggestion-marker','content','_splitMarkerName','table','for','suggestion:formatBlock:tablePasteCell','low','tablePaste','get','requires','join','end','stop','isEqual','_descriptionFactory','_suggestionFactory','differ','createPositionBefore','editing','getRows','previousSibling','isInContent','setAttribute','entries','getRange','name','getChanges','type','value','first','find','oldRange','locale','every','createElement','columns','tablePasteChainId','tablePasteRow','start','includes','accept','cell','getColumns','tablePasteCell','getSelectionAffectedTableCells','high','set','dataDowncast','rootName','registerCustomCallback','clipboardOutput','createRangeIn','discard','from','deletion','documentSelection','last','getChildren','showSuggestionHighlights','TableClipboard','_getCoordsForCells','return','position','editor','listenTo','registerDescriptionCallback','markMultiRangeInsertion','markerToHighlight','markerName','batch','elementToElement','markerAttributes','getContainedElement','formatBlock','removeMarkers','wrap','startsWith','endRow','isEmpty','columnInsertionIndexes','getAttributes','some','markMultiRangeDeletion','getSuggestions','redo','ck-suggestion-marker--active','trackChanges','filter','nodeAfter','getChangedMarkers','getChild','model','editingDowncast','_tablePostFixingSubtypes','markers'];(function(_0x1fcb93,_0x1a9f48){const _0x527a82=function(_0x110745){while(--_0x110745){_0x1fcb93['push'](_0x1fcb93['shift']());}};_0x527a82(++_0x1a9f48);}(_0x1a9f,0xe9));const _0x527a=function(_0x1fcb93,_0x1a9f48){_0x1fcb93=_0x1fcb93-0x0;let _0x527a82=_0x1a9f[_0x1fcb93];return _0x527a82;};import{getTranslation as _0x15b521}from'../utils/common-translations';import{Plugin as _0x23cec6}from'ckeditor5/src/core';import{uid as _0x178ce6,priorities as _0x200aa0}from'ckeditor5/src/utils';import _0x3ceadb from'./table';const le=[_0x527a('0x78'),'tableCellBorderColor','tableCellBorderStyle','tableCellHorizontalAlignment',_0x527a('0x64'),_0x527a('0x6e'),_0x527a('0x72')],ae=Object[_0x527a('0x7c')](le[_0x527a('0x5e')](_0x111560=>[_0x111560,null]));export default class kt extends _0x23cec6{static get[_0x527a('0x98')](){return[_0x3ceadb];}[_0x527a('0x56')](){const _0x218d5f=this[_0x527a('0x31')];if(!_0x218d5f[_0x527a('0x8b')][_0x527a('0x74')](_0x527a('0x2d')))return;const _0x1827bd=_0x218d5f[_0x527a('0x8b')][_0x527a('0x97')]('TrackChangesEditing'),_0x341208=_0x218d5f[_0x527a('0x8b')][_0x527a('0x97')](_0x527a('0x77')),_0x3fab5e=_0x218d5f[_0x527a('0x8b')][_0x527a('0x97')](_0x3ceadb),_0x53e385=_0x218d5f[_0x527a('0x8b')][_0x527a('0x97')](_0x527a('0x2d'));_0x3fab5e[_0x527a('0x4f')][_0x527a('0x8a')](_0x527a('0x17'),_0x527a('0x86')),_0x218d5f[_0x527a('0x4d')]['schema'][_0x527a('0x85')]('tableCellSuggestion',{'allowIn':_0x527a('0x88'),'allowContentOf':'tableCell','isLimit':!0x0}),_0x218d5f['conversion'][_0x527a('0x38')]({'model':_0x527a('0x79'),'view':_0x527a('0x61')});let _0x361de3=null;_0x218d5f[_0x527a('0x4d')]['on'](_0x527a('0x6b'),(_0xcf96dc,_0x1a3bdf)=>{const [_0x2b8ec6,_0xd8fe2d]=_0x1a3bdf,_0x125a13=_0x1a3bdf[_0x1a3bdf[_0x527a('0x5f')]-0x1];_0x125a13&&_0x125a13['forceDefaultExecution']||_0x1827bd[_0x527a('0x7a')]||this['editor']['commands']['get'](_0x527a('0x48'))[_0x527a('0xe')]&&function(_0x9e7bb,_0x498bf8,_0x456c6f,_0xcce1e5,_0x2cdc76){if(_0x498bf8&&!_0x498bf8['is'](_0x527a('0x29')))return!0x1;const _0x30977b=_0x2cdc76['getTableIfOnlyTableInContent'](_0x9e7bb,_0x456c6f);if(!_0x30977b||!fe(_0x30977b,void 0x0,_0xcce1e5))return!0x1;const _0x5eb310=_0xcce1e5[_0x527a('0x1e')](_0x456c6f[_0x527a('0x75')][_0x527a('0x71')]);if(!_0x5eb310[_0x527a('0x5f')])return!0x1;const _0x51332e=_0x5eb310[0x0][_0x527a('0x66')](_0x527a('0x92')),_0xb60d1b=_0xcce1e5['getRowIndexes'](_0x5eb310),_0x1d942a=_0xcce1e5[_0x527a('0x8c')](_0x5eb310),_0x525bbc={'startRow':_0xb60d1b[_0x527a('0xf')],'endRow':_0xb60d1b[_0x527a('0x2a')],'startColumn':_0x1d942a['first'],'endColumn':_0x1d942a[_0x527a('0x2a')]};return 0x1==_0x5eb310['length']&&(_0x525bbc[_0x527a('0x3f')]+=_0xcce1e5[_0x527a('0x5')](_0x30977b)-0x1,_0x525bbc['endColumn']+=_0xcce1e5[_0x527a('0x1c')](_0x30977b)-0x1),fe(_0x51332e,_0x525bbc,_0xcce1e5);}(_0x2b8ec6,_0xd8fe2d,_0x218d5f['model'],_0x341208,_0x53e385)&&(_0xcf96dc[_0x527a('0x9b')](),_0x361de3={'cells':[],'insertionRanges':[],'deletionRanges':[],'rowInsertionRanges':[],'rowInsertionIndexes':[],'columnInsertionRanges':[],'columnInsertionIndexes':[]},_0x218d5f[_0x527a('0x4d')][_0x527a('0x7e')](()=>{_0x218d5f[_0x527a('0x4d')][_0x527a('0x6b')](_0x1a3bdf[0x0],_0x1a3bdf[0x1],_0x1a3bdf[0x2],{'forceDefaultExecution':!0x0});const _0x584eb7=_0x178ce6(),{rowInsertionRanges:_0x3f95a7,columnInsertionRanges:_0x2c8ec1,insertionRanges:_0x2a470a,deletionRanges:_0x4265a4,cells:_0x4bd43d}=_0x361de3;_0x3f95a7[_0x527a('0x5f')]&&_0x1827bd['markMultiRangeInsertion'](_0x3f95a7,'tablePasteRow',{'tablePasteChainId':_0x584eb7}),_0x2c8ec1[_0x527a('0x5f')]&&_0x1827bd[_0x527a('0x34')](_0x2c8ec1,_0x527a('0x86'),{'tablePasteChainId':_0x584eb7}),_0x2a470a[_0x527a('0x5f')]&&_0x1827bd[_0x527a('0x34')](_0x2a470a,_0x527a('0x96'),{'tablePasteChainId':_0x584eb7,'skipNestingCheck':!0x0}),_0x4265a4[_0x527a('0x5f')]&&_0x1827bd[_0x527a('0x44')](_0x4265a4,'tablePaste',{'tablePasteChainId':_0x584eb7,'skipNestingCheck':!0x0});const _0x564700=_0x1827bd[_0x527a('0x60')](_0x4bd43d[_0x527a('0x5e')](({element:_0xd4306f})=>_0xd4306f),{'formatGroupId':_0x178ce6()},[],_0x527a('0x1d'),{'tablePasteChainId':_0x584eb7});if(_0x564700){const _0x1cfdc8=_0x564700[_0x527a('0x87')](),_0x32c7cf=[];for(const {element:_0xa6b147,attributes:_0x4f6390}of _0x4bd43d){if(!_0x4f6390)continue;const _0x447746=_0x218d5f[_0x527a('0x4d')]['createRangeOn'](_0xa6b147),_0x32c4ff=_0x1cfdc8[_0x527a('0x10')](_0x5bc937=>_0x5bc937[_0x527a('0xa')]()[_0x527a('0x9c')](_0x447746));_0x32c4ff&&_0x32c7cf[_0x527a('0x8a')]([_0x32c4ff[_0x527a('0xb')],_0x4f6390]);}_0x32c7cf['length']&&_0x564700[_0x527a('0x8')]('markerAttributes',Object[_0x527a('0x7c')](_0x32c7cf));}_0x361de3=null;}));},{'priority':_0x200aa0[_0x527a('0x1f')]+0xa}),_0x218d5f[_0x527a('0x8b')][_0x527a('0x97')]('TableClipboard')['on']('_replaceTableSlotCell',(_0x26adb7,_0x39e47e)=>{const [_0xca4667,_0x45fe53,,_0xb30241]=_0x39e47e;if(!_0x361de3)return;_0x26adb7['stop']();const _0x2eed0f=_0xca4667[_0x527a('0x1b')],_0x50ecd5=_0x45fe53,_0x1239fe=ce(_0x2eed0f),_0x30917e=ce(_0x50ecd5);_0x26adb7[_0x527a('0x2f')]=_0x2eed0f;let _0x4e83c9=null,_0x5b400e=null;if(_0x30917e||_0x1239fe){if(_0x1239fe&&!_0x30917e){_0xb30241['remove'](_0x2eed0f[_0x527a('0x4c')](0x0));for(const _0x49acd7 of Array[_0x527a('0x27')](_0x50ecd5[_0x527a('0x2b')]()))_0xb30241[_0x527a('0x83')](_0x49acd7,_0x2eed0f,'end');const _0x3620a0=_0x361de3['rowInsertionIndexes']['includes'](_0xca4667['row']),_0x169b30=_0x361de3[_0x527a('0x41')][_0x527a('0x19')](_0xca4667['column']);_0x3620a0||_0x169b30||(_0x4e83c9=_0xb30241['createRangeIn'](_0x2eed0f));}else _0x30917e&&!_0x1239fe&&(_0x5b400e=_0xb30241[_0x527a('0x25')](_0x2eed0f));}else{const _0xb0374e=_0xb30241['createElement']('tableCellSuggestion'),_0x193ec9=_0xb30241[_0x527a('0x14')](_0x527a('0x79'));_0xb30241[_0x527a('0x3d')](_0xb30241[_0x527a('0x25')](_0x2eed0f),_0x193ec9),_0xb30241['insert'](_0xb0374e,_0x2eed0f,0x0);for(const _0x595391 of Array[_0x527a('0x27')](_0x50ecd5[_0x527a('0x2b')]()))_0xb30241[_0x527a('0x83')](_0x595391,_0xb0374e,_0x527a('0x9a'));_0x4e83c9=_0xb30241[_0x527a('0x7d')](_0xb0374e),_0x5b400e=_0xb30241['createRangeOn'](_0x193ec9);}const _0x4d88e2=Array[_0x527a('0x27')](_0x50ecd5[_0x527a('0x42')]())[_0x527a('0x49')](([_0xa55fb6])=>le[_0x527a('0x19')](_0xa55fb6));_0x361de3['cells'][_0x527a('0x8a')]({'element':_0x2eed0f,'attributes':_0x4d88e2[_0x527a('0x5f')]?Object[_0x527a('0x7c')](_0x4d88e2):null}),_0x4e83c9&&_0x361de3['insertionRanges'][_0x527a('0x8a')](_0x4e83c9),_0x5b400e&&_0x361de3['deletionRanges'][_0x527a('0x8a')](_0x5b400e);},{'priority':_0x527a('0x1f')}),_0x341208['on'](_0x527a('0x76'),(_0x2efcd8,_0x505e92)=>{const [_0xe5f8e4,_0x37f328={}]=_0x505e92;if(!_0x361de3)return;const _0x17ad47=_0x37f328['at']||0x0,_0x3a5848=_0x37f328[_0x527a('0x15')]||0x1;_0x361de3[_0x527a('0x41')]=new Array(_0x3a5848)[_0x527a('0x8e')](_0x17ad47)[_0x527a('0x5e')]((_0x2216dc,_0x22c2cd)=>_0x2216dc+_0x22c2cd);for(const {cell:_0x4fd727}of _0x341208[_0x527a('0x68')](_0xe5f8e4,{'startColumn':_0x17ad47,'endColumn':_0x17ad47+_0x3a5848-0x1}))_0x361de3[_0x527a('0x6d')]['push'](_0x218d5f[_0x527a('0x4d')][_0x527a('0x7d')](_0x4fd727));},{'priority':_0x527a('0x95')}),_0x341208['on'](_0x527a('0x59'),(_0x5a83d1,_0x43774e)=>{const [_0x116588,_0x1ae344={}]=_0x43774e;if(!_0x361de3)return;const _0x4d39f3=_0x1ae344['at']||0x0,_0x38b1d8=_0x1ae344['rows']||0x1;_0x361de3['rowInsertionIndexes']=new Array(_0x38b1d8)[_0x527a('0x8e')](_0x4d39f3)[_0x527a('0x5e')]((_0x1de77d,_0x17d64f)=>_0x1de77d+_0x17d64f);for(const {cell:_0x4bc7cc}of _0x341208[_0x527a('0x68')](_0x116588,{'startRow':_0x4d39f3,'endRow':_0x4d39f3+_0x38b1d8-0x1}))_0x361de3['rowInsertionRanges'][_0x527a('0x8a')](_0x218d5f[_0x527a('0x4d')][_0x527a('0x7d')](_0x4bc7cc));},{'priority':_0x527a('0x95')}),_0x1827bd[_0x527a('0x0')][_0x527a('0x33')](_0x2d38d9=>{if(_0x2d38d9[_0x527a('0x57')]&&_0x2d38d9[_0x527a('0x57')][_0x527a('0x3e')](_0x527a('0x96')))return _0x2d38d9['previous']?{}:{'type':_0x527a('0x81'),'content':_0x15b521(_0x218d5f[_0x527a('0x12')],_0x527a('0x51'))};});const _0x468b1=()=>{};for(const _0x504448 of[_0x527a('0x96'),_0x527a('0x86'),_0x527a('0x17'),_0x527a('0x1d')])_0x1827bd[_0x527a('0x1')][_0x527a('0x23')](_0x527a('0x81'),_0x504448,_0x527a('0x99'),_0x468b1),_0x1827bd[_0x527a('0x1')][_0x527a('0x23')]('deletion',_0x504448,_0x527a('0x99'),_0x468b1);_0x1827bd['_suggestionFactory']['registerCustomCallback'](_0x527a('0x3b'),'tablePasteCell',_0x527a('0x26'),_0x468b1),_0x1827bd[_0x527a('0x1')][_0x527a('0x23')](_0x527a('0x3b'),_0x527a('0x1d'),_0x527a('0x1a'),(_0xa23a6,_0x1297b8,_0x563aba)=>{const _0x3dbb6b=_0xa23a6['map'](_0x12cf36=>_0x12cf36[_0x527a('0x3a')]())[_0x527a('0x49')](_0x3cb661=>_0x3cb661),_0x29979d=new Map(_0x3dbb6b[_0x527a('0x5e')](_0x2e9f3c=>[_0x2e9f3c,null]));if(_0x361de3)for(const {element:_0x6269da,attributes:_0x182bff}of _0x361de3[_0x527a('0x52')])_0x182bff&&_0x29979d[_0x527a('0x20')](_0x6269da,_0x182bff);else{if(_0x563aba&&_0x563aba['markerAttributes'])for(const [_0x39d8dc,_0x247420]of Object[_0x527a('0x9')](_0x563aba[_0x527a('0x39')])){const _0x56e776=_0x218d5f[_0x527a('0x4d')][_0x527a('0x50')][_0x527a('0x97')](_0x39d8dc),_0x2b3e71=_0x56e776?_0x56e776[_0x527a('0xa')]()[_0x527a('0x3a')]():null;_0x2b3e71&&_0x29979d[_0x527a('0x20')](_0x2b3e71,_0x247420);}}_0x218d5f[_0x527a('0x4d')][_0x527a('0x7e')](_0xb0c99f=>{for(const [_0x568033,_0x22a41e]of _0x29979d)_0xb0c99f[_0x527a('0x55')]({...ae,..._0x22a41e},_0x568033);});});const _0x2d9ce4=(_0x52fd77,_0x36bd3f)=>{_0x1827bd[_0x527a('0x1')][_0x527a('0x23')](_0x52fd77,_0x527a('0x96'),_0x36bd3f,(_0x3f5ecf,_0x3dc391,_0x4f1d7b)=>{_0x218d5f[_0x527a('0x4d')][_0x527a('0x7e')](_0x522dee=>{const _0x329f6a=[];for(const _0x50b642 of _0x3f5ecf){const _0x1472d1=_0x50b642[_0x527a('0x18')][_0x527a('0x4a')];_0x1472d1['is'](_0x527a('0x5a'),_0x527a('0x79'))&&_0x329f6a['push'](_0x1472d1);}_0x1827bd[_0x527a('0x1')]['getSuggestionCallback'](_0x52fd77,null,_0x36bd3f)(_0x3f5ecf,_0x3dc391,_0x4f1d7b);for(const _0x411627 of _0x329f6a)'$graveyard'!=_0x411627['root'][_0x527a('0x22')]&&_0x522dee[_0x527a('0x54')](_0x411627);});});};_0x2d9ce4(_0x527a('0x81'),'accept'),_0x2d9ce4(_0x527a('0x81'),'discard'),_0x2d9ce4(_0x527a('0x28'),_0x527a('0x1a')),_0x2d9ce4(_0x527a('0x28'),_0x527a('0x26')),_0x1827bd['_suggestionFactory'][_0x527a('0x23')](_0x527a('0x81'),_0x527a('0x17'),'discard',_0x8855da=>{const _0x5c59e2=_0x8855da[_0x527a('0x5e')](_0x1c7752=>_0x1c7752[_0x527a('0x3a')]()),_0x1f1073=_0x5c59e2[0x0][_0x527a('0x66')](_0x527a('0x92')),{minRow:_0x22566d,maxRow:_0x487880}=_0x3fab5e[_0x527a('0x2e')](_0x5c59e2);_0x341208['removeRows'](_0x1f1073,{'at':_0x22566d,'rows':_0x487880-_0x22566d+0x1});}),_0x1827bd[_0x527a('0x1')][_0x527a('0x23')](_0x527a('0x81'),_0x527a('0x86'),'discard',_0x5ba5ce=>{const _0x2b5c86=_0x5ba5ce[_0x527a('0x5e')](_0x101b76=>_0x101b76[_0x527a('0x3a')]()),_0x4a250a=_0x2b5c86[0x0][_0x527a('0x66')](_0x527a('0x92')),{minColumn:_0x2a7009,maxColumn:_0x54f245}=_0x3fab5e[_0x527a('0x2e')](_0x2b5c86);_0x341208[_0x527a('0x6c')](_0x4a250a,{'at':_0x2a7009,'columns':_0x54f245-_0x2a7009+0x1});});const _0x4a07a1=(_0x12df8f,_0x3a63d9)=>{if(!_0x3a63d9[_0x527a('0x57')]||!_0x3a63d9[_0x527a('0x57')][_0x527a('0x3e')](_0x527a('0x96')))return;const _0x455206=_0x3a63d9[_0x527a('0x65')][_0x527a('0x16')],_0x15e4c0=_0x1827bd['getSuggestions']()['filter'](_0x3bb916=>_0x3bb916[_0x527a('0x7')]&&_0x3bb916[_0x527a('0x65')]&&_0x3bb916[_0x527a('0x65')][_0x527a('0x16')]==_0x455206);_0x15e4c0[_0x527a('0x5f')]&&_0x3a63d9[_0x527a('0x58')]()[_0x527a('0x5f')]!=_0x15e4c0[_0x527a('0x5f')]&&_0x15e4c0[_0x527a('0x89')]((_0x53ceae,_0x1f84fe)=>(_0x53ceae[_0x527a('0x62')]=_0x1f84fe,_0x1f84fe['previous']=_0x53ceae,_0x1f84fe));};function _0xf194ef(_0x34f834,_0x21ff6c=!0x0){const {id:_0x33fe33}=_0x1827bd[_0x527a('0x91')](_0x34f834[_0x527a('0x36')]),_0x583c94=[_0x527a('0x8f'),'ck-suggestion-marker-insertion'],_0x1d28f5=_0x1827bd[_0x527a('0x53')][_0x527a('0x19')](_0x34f834[_0x527a('0x36')]);return _0x1d28f5&&_0x583c94[_0x527a('0x8a')](_0x527a('0x47')),{'classes':_0x583c94,'attributes':{'data-suggestion':_0x33fe33},'priority':_0x1d28f5&&_0x21ff6c?0xbc2:0xbb8};}_0x1827bd['on']('suggestionLoaded',_0x4a07a1,{'priority':_0x527a('0x1f')}),_0x1827bd['on'](_0x527a('0x5d'),_0x4a07a1,{'priority':_0x527a('0x1f')}),_0x218d5f['model']['document'][_0x527a('0x8d')](()=>{let _0x59fc85=!0x1;const _0x3eb85b=Array[_0x527a('0x27')](_0x218d5f[_0x527a('0x4d')][_0x527a('0x75')][_0x527a('0x2')][_0x527a('0x4b')]());for(const {name:_0x4958ad,data:_0x455542}of _0x3eb85b){const {group:_0x1bb835,type:_0x4d8aea,id:_0x1bff1e}=_0x1827bd[_0x527a('0x91')](_0x4958ad);if(_0x527a('0x84')!=_0x1bb835||_0x527a('0x28')!=_0x4d8aea||_0x455542['oldRange'])continue;if(!_0x1827bd['hasSuggestion'](_0x1bff1e))continue;const _0x766c6c=_0x1827bd['getSuggestion'](_0x1bff1e)[_0x527a('0x63')](),_0x567d6f=_0x218d5f['plugins'][_0x527a('0x97')](_0x527a('0x80'))['me'];for(const _0x18c679 of _0x1827bd[_0x527a('0x45')]()){if(!_0x18c679[_0x527a('0x7')]||_0x18c679['author']!=_0x567d6f)continue;if('formatBlock'!=_0x18c679['type']||'tablePasteCell'!=_0x18c679['subType'])continue;if(_0x18c679[_0x527a('0x63')]()[_0x527a('0x13')](_0xf77aba=>_0x766c6c[_0x527a('0x43')](_0x5201e8=>_0x5201e8[_0x527a('0x7f')](_0xf77aba,!0x0))))for(const _0x37a459 of _0x18c679['getAllAdjacentSuggestions']())_0x37a459[_0x527a('0x7')]&&(_0x37a459[_0x527a('0x26')](),_0x59fc85=!0x0);}}return _0x59fc85;}),_0x218d5f['model'][_0x527a('0x75')][_0x527a('0x8d')](_0x5ed590=>{const _0x405180=_0x218d5f[_0x527a('0x70')]['get'](_0x527a('0x46'));if(!_0x405180||!_0x405180['_createdBatches'][_0x527a('0x74')](_0x5ed590[_0x527a('0x37')]))return!0x1;let _0x22a1b2=!0x1;const _0x2b962e=_0x218d5f[_0x527a('0x8b')][_0x527a('0x97')](_0x527a('0x80'))['me'],_0x6a81d3=_0x218d5f[_0x527a('0x4d')][_0x527a('0x75')]['differ'][_0x527a('0xc')](),_0x1be199=Array[_0x527a('0x27')](_0x218d5f[_0x527a('0x4d')][_0x527a('0x75')][_0x527a('0x2')][_0x527a('0x4b')]())[_0x527a('0x49')](({name:_0x3573b4,data:_0x478458})=>{const {group:_0x4f1073,subType:_0x2ce7f2,authorId:_0xc29cf5}=_0x1827bd['_splitMarkerName'](_0x3573b4);return'suggestion'==_0x4f1073&&_0x527a('0x96')==_0x2ce7f2&&_0xc29cf5==_0x2b962e['id']&&!_0x478458[_0x527a('0x11')];});for(const _0x2aa8e4 of _0x6a81d3){if(_0x527a('0x83')!=_0x2aa8e4[_0x527a('0xd')]||_0x527a('0x79')!=_0x2aa8e4[_0x527a('0xb')]||0x1!=_0x2aa8e4['length'])continue;const _0x6cb9da=_0x5ed590['createRange'](_0x2aa8e4[_0x527a('0x30')],_0x2aa8e4[_0x527a('0x30')]['getShiftedBy'](0x1));if(!_0x1be199[_0x527a('0x10')](({data:_0x28e5b5})=>_0x28e5b5[_0x527a('0x69')][_0x527a('0x9c')](_0x6cb9da)))for(const {name:_0x333ca0,data:_0x4f0b0b}of _0x1be199)if(_0x6cb9da['containsRange'](_0x4f0b0b[_0x527a('0x69')])){_0x5ed590['updateMarker'](_0x333ca0,{'range':_0x6cb9da}),_0x22a1b2=!0x0;break;}}return _0x22a1b2;}),_0x218d5f['model'][_0x527a('0x75')]['registerPostFixer'](_0x4b27a9=>{let _0x56aaf6=!0x1;const _0x1028ed=_0x218d5f[_0x527a('0x8b')][_0x527a('0x97')](_0x527a('0x80'))['me'],_0xb75aff=_0x1827bd[_0x527a('0x45')]()[_0x527a('0x49')](_0x113121=>_0x113121[_0x527a('0x7')]&&_0x113121[_0x527a('0x7b')]==_0x1028ed),_0xd745ed=new Set(),_0x3766fa=new Set();for(const _0x40fd07 of _0xb75aff)if('tablePaste'==_0x40fd07['subType'])for(const _0x15c26e of _0x40fd07[_0x527a('0x87')]()){const _0x3d73b0=_0x15c26e[_0x527a('0xa')]()[_0x527a('0x3a')]();if(_0x3d73b0){if(_0x3d73b0['is'](_0x527a('0x5a'),_0x527a('0x79'))&&ce(_0x3d73b0)){_0x40fd07[_0x527a('0x6f')](_0x15c26e[_0x527a('0xb')]),_0xd745ed['add'](_0x3d73b0),_0x56aaf6=!0x0;const _0x21e118=_0x3d73b0[_0x527a('0x67')],_0x207074=_0x3d73b0[_0x527a('0x6')],_0x42fa96=_0x21e118&&_0x21e118['is'](_0x527a('0x5a'),_0x527a('0x79')),_0x1d5ff4=_0x207074&&_0x207074['is'](_0x527a('0x5a'),_0x527a('0x79'));_0x42fa96&&!_0xd745ed[_0x527a('0x74')](_0x21e118)&&_0x3766fa['add'](_0x21e118),_0x1d5ff4&&!_0xd745ed['has'](_0x207074)&&_0x3766fa['add'](_0x207074);}else _0x3d73b0['is'](_0x527a('0x5a'),_0x527a('0x5b'))&&_0x3d73b0[_0x527a('0x40')]&&(_0x40fd07[_0x527a('0x6f')](_0x15c26e[_0x527a('0xb')]),_0x56aaf6=!0x0);}}else{if('tablePasteCell'==_0x40fd07[_0x527a('0x57')]){if(!_0x40fd07[_0x527a('0x65')]||!_0x40fd07['attributes']['tablePasteChainId'])continue;const _0x268281=_0x40fd07[_0x527a('0x65')][_0x527a('0x39')];if(_0x268281&&Object[_0x527a('0x82')](_0x268281)[_0x527a('0x5f')])continue;const _0x4eb1a6=_0x40fd07[_0x527a('0x65')][_0x527a('0x16')];let _0x3049fd=!0x0,_0x5872fd=!0x0;for(const _0x155136 of _0xb75aff)if(_0x155136['subType']&&_0x155136[_0x527a('0x57')]['startsWith']('tablePaste')){if(!_0x155136['attributes'][_0x527a('0x16')]){_0x5872fd=!0x1;break;}if(_0x155136['id']!=_0x40fd07['id']&&_0x155136[_0x527a('0x65')]['tablePasteChainId']==_0x4eb1a6){_0x3049fd=!0x1;break;}}_0x5872fd&&_0x3049fd&&(_0x40fd07[_0x527a('0x3c')](),_0x56aaf6=!0x0);}}for(const _0x1c561f of _0xd745ed)_0x4b27a9['remove'](_0x1c561f);for(const _0x31bf59 of _0x3766fa)_0x4b27a9[_0x527a('0x54')](_0x31bf59);return _0x56aaf6;}),_0x218d5f[_0x527a('0x6a')][_0x527a('0x93')](_0x527a('0x4e'))[_0x527a('0x35')]({'model':_0x527a('0x94'),'view':(_0x2b5fb7,_0x155631)=>_0xf194ef(_0x2b5fb7),'converterPriority':'high'}),_0x218d5f[_0x527a('0x6a')][_0x527a('0x93')](_0x527a('0x21'))[_0x527a('0x35')]({'model':_0x527a('0x94'),'view':(_0x4b9a0e,_0x23e33d)=>_0x23e33d['options'][_0x527a('0x2c')]?_0xf194ef(_0x4b9a0e,!0x1):null,'converterPriority':_0x527a('0x1f')});const _0x371f4a=_0x218d5f[_0x527a('0x4')][_0x527a('0x5c')];this[_0x527a('0x32')](_0x371f4a[_0x527a('0x75')],_0x527a('0x24'),(_0x3f954a,_0x4fcb5d)=>{const _0x462ef6=[];for(const _0x5424ce of _0x371f4a[_0x527a('0x25')](_0x4fcb5d[_0x527a('0x90')])['getItems']())_0x5424ce['is'](_0x527a('0x5a'),_0x527a('0x61'))&&_0x462ef6[_0x527a('0x8a')](_0x5424ce);_0x371f4a[_0x527a('0x7e')](_0x17fe8d=>{for(const _0x5d7c8b of _0x462ef6)_0x17fe8d['move'](_0x17fe8d['createRangeIn'](_0x5d7c8b),_0x17fe8d[_0x527a('0x3')](_0x5d7c8b)),_0x17fe8d[_0x527a('0x73')](_0x5d7c8b);});});}}function ce(_0x38836d){if(_0x38836d[_0x527a('0x40')])return!0x0;const _0x45ed4d=_0x38836d['getChild'](0x0);return _0x45ed4d['is'](_0x527a('0x5a'),_0x527a('0x5b'))&&_0x45ed4d['isEmpty'];}function fe(_0x430300,_0x5cd49d={},_0x34fcf2){for(const {isAnchor:_0x3c4bab,cellHeight:_0x227717,cellWidth:_0x3d1396}of _0x34fcf2[_0x527a('0x68')](_0x430300,{'includeAllSlots':!0x0,..._0x5cd49d}))if(!_0x3c4bab||0x1!=_0x227717||0x1!=_0x3d1396)return!0x1;return!0x0;}
23
+ const _0x18b2=['set','register','setAttributes','removeMarker','tablePasteColumn','registerCustomCallback','plugins','differ','documentSelection','tablePaste','ck-suggestion-marker-insertion','getSuggestionCallback','getAllAdjacentSuggestions','attributes','position','deletion','_tablePostFixingSubtypes','fromEntries','getChangedMarkers','rowInsertionIndexes','suggestion','low','getMarkers','editing','nextSibling','unwrap','suggestion-td','createRange','containsRange','document','columns','first','registerPostFixer','column','rows','isEmpty','move','listenTo','from','getRowIndexes','tableCellBorderColor','formatBlock','type','tablePasteCell','model','has','dataDowncast','getSelectionAffectedTableCells','insertionRanges','previous','content','activeMarkers','remove','view','conversion','forceDefaultExecution','suggestionUnloaded','editor','last','cell','elementToElement','isInContent','startsWith','ck-suggestion-marker--active','includes','rootName','entries','locale','add','markMultiRangeInsertion','_splitMarkerName','createElement','cells','previousSibling','getItems','wrap','getSuggestions','_suggestionFactory','fill','_isForcedDefaultExecutionBlock','deletionRanges','getRange','getTableIfOnlyTableInContent','change','updateMarker','stop','element','commands','removeColumns','markMultiRangeDeletion','for','tablePasteRow','TableClipboard','tableCellSuggestion','columnInsertionRanges','clipboardOutput','insertContent','insertion','_descriptionFactory','tableCellBackgroundColor','createRangeIn','subType','next','getChanges','ck-suggestion-marker','keys','start','isEqual','batch','createTableWalker','getAttributes','markerToHighlight','suggestion:formatBlock:tablePasteCell','tableCell','removeRows','get','end','newRange','markerAttributes','table','_replaceTableSlotCell','registerDescriptionCallback','return','_createdBatches','author','map','requires','filter','join','discard','push','length','hasSuggestion','getSuggestion','_getCoordsForCells','insertRows','tablePasteChainId','tableCellVerticalAlignment','getRanges','endRow','getRows','getContainedElement','paragraph','high','nodeAfter','suggestionLoaded','Users','find','name','oldRange','createRangeOn','editingDowncast','createPositionBefore','getChild','getChildren','findAncestor','insert','rowInsertionRanges'];(function(_0x19baf7,_0x18b2df){const _0x263a17=function(_0x200e59){while(--_0x200e59){_0x19baf7['push'](_0x19baf7['shift']());}};_0x263a17(++_0x18b2df);}(_0x18b2,0xd0));const _0x263a=function(_0x19baf7,_0x18b2df){_0x19baf7=_0x19baf7-0x0;let _0x263a17=_0x18b2[_0x19baf7];return _0x263a17;};import{getTranslation as _0x2964a2}from'../utils/common-translations';import{Plugin as _0x3ee842}from'ckeditor5/src/core';import{uid as _0x38874c,priorities as _0x2f86b6}from'ckeditor5/src/utils';import _0x23429d from'./table';const le=['tableCellBorderWidth',_0x263a('0x94'),'tableCellBorderStyle','tableCellHorizontalAlignment',_0x263a('0x57'),_0x263a('0x31'),'tableCellPadding'],ae=Object[_0x263a('0x7d')](le[_0x263a('0x4b')](_0x41a47c=>[_0x41a47c,null]));export default class kt extends _0x3ee842{static get[_0x263a('0x4c')](){return[_0x23429d];}['afterInit'](){const _0x2b70f3=this[_0x263a('0x7')];if(!_0x2b70f3[_0x263a('0x72')][_0x263a('0x99')](_0x263a('0x2a')))return;const _0x4a427a=_0x2b70f3[_0x263a('0x72')][_0x263a('0x41')]('TrackChangesEditing'),_0x11b2ab=_0x2b70f3['plugins'][_0x263a('0x41')]('TableUtils'),_0x3f2367=_0x2b70f3['plugins']['get'](_0x23429d),_0x1eefab=_0x2b70f3[_0x263a('0x72')]['get'](_0x263a('0x2a'));_0x3f2367[_0x263a('0x7c')][_0x263a('0x50')](_0x263a('0x29'),_0x263a('0x70')),_0x2b70f3[_0x263a('0x98')]['schema'][_0x263a('0x6d')](_0x263a('0x2b'),{'allowIn':_0x263a('0x3f'),'allowContentOf':_0x263a('0x3f'),'isLimit':!0x0}),_0x2b70f3[_0x263a('0x4')][_0x263a('0xa')]({'model':'tableCellSuggestion','view':_0x263a('0x86')});let _0x25c256=null;_0x2b70f3[_0x263a('0x98')]['on'](_0x263a('0x2e'),(_0x1a53f9,_0x4ad363)=>{const [_0x5d163d,_0x563099]=_0x4ad363,_0x338b86=_0x4ad363[_0x4ad363[_0x263a('0x51')]-0x1];_0x338b86&&_0x338b86[_0x263a('0x5')]||_0x4a427a[_0x263a('0x1d')]||this['editor']['commands']['get']('trackChanges')['value']&&function(_0x2ef047,_0x16c9b2,_0x1d031f,_0x8fcd11,_0xbc4250){if(_0x16c9b2&&!_0x16c9b2['is'](_0x263a('0x74')))return!0x1;const _0x438f78=_0xbc4250[_0x263a('0x20')](_0x2ef047,_0x1d031f);if(!_0x438f78||!fe(_0x438f78,void 0x0,_0x8fcd11))return!0x1;const _0x3c68fd=_0x8fcd11[_0x263a('0x9b')](_0x1d031f[_0x263a('0x89')]['selection']);if(!_0x3c68fd[_0x263a('0x51')])return!0x1;const _0x348313=_0x3c68fd[0x0][_0x263a('0x69')](_0x263a('0x45')),_0x469b6a=_0x8fcd11[_0x263a('0x93')](_0x3c68fd),_0x4af00c=_0x8fcd11['getColumnIndexes'](_0x3c68fd),_0x3fb338={'startRow':_0x469b6a[_0x263a('0x8b')],'endRow':_0x469b6a[_0x263a('0x8')],'startColumn':_0x4af00c[_0x263a('0x8b')],'endColumn':_0x4af00c[_0x263a('0x8')]};return 0x1==_0x3c68fd[_0x263a('0x51')]&&(_0x3fb338[_0x263a('0x59')]+=_0x8fcd11[_0x263a('0x5a')](_0x438f78)-0x1,_0x3fb338['endColumn']+=_0x8fcd11['getColumns'](_0x438f78)-0x1),fe(_0x348313,_0x3fb338,_0x8fcd11);}(_0x5d163d,_0x563099,_0x2b70f3[_0x263a('0x98')],_0x11b2ab,_0x1eefab)&&(_0x1a53f9['stop'](),_0x25c256={'cells':[],'insertionRanges':[],'deletionRanges':[],'rowInsertionRanges':[],'rowInsertionIndexes':[],'columnInsertionRanges':[],'columnInsertionIndexes':[]},_0x2b70f3[_0x263a('0x98')][_0x263a('0x21')](()=>{_0x2b70f3[_0x263a('0x98')][_0x263a('0x2e')](_0x4ad363[0x0],_0x4ad363[0x1],_0x4ad363[0x2],{'forceDefaultExecution':!0x0});const _0x28bde4=_0x38874c(),{rowInsertionRanges:_0x323519,columnInsertionRanges:_0x37e55e,insertionRanges:_0x23274f,deletionRanges:_0x4a22c4,cells:_0x2685bf}=_0x25c256;_0x323519['length']&&_0x4a427a['markMultiRangeInsertion'](_0x323519,_0x263a('0x29'),{'tablePasteChainId':_0x28bde4}),_0x37e55e[_0x263a('0x51')]&&_0x4a427a[_0x263a('0x13')](_0x37e55e,_0x263a('0x70'),{'tablePasteChainId':_0x28bde4}),_0x23274f[_0x263a('0x51')]&&_0x4a427a['markMultiRangeInsertion'](_0x23274f,_0x263a('0x75'),{'tablePasteChainId':_0x28bde4,'skipNestingCheck':!0x0}),_0x4a22c4[_0x263a('0x51')]&&_0x4a427a[_0x263a('0x27')](_0x4a22c4,_0x263a('0x75'),{'tablePasteChainId':_0x28bde4,'skipNestingCheck':!0x0});const _0x1eed1a=_0x4a427a['markMultiRangeBlockFormat'](_0x2685bf[_0x263a('0x4b')](({element:_0x4195fe})=>_0x4195fe),{'formatGroupId':_0x38874c()},[],_0x263a('0x97'),{'tablePasteChainId':_0x28bde4});if(_0x1eed1a){const _0x3522c7=_0x1eed1a['getMarkers'](),_0x1c6b5b=[];for(const {element:_0x3d5d63,attributes:_0x5b6b64}of _0x2685bf){if(!_0x5b6b64)continue;const _0x5228a6=_0x2b70f3[_0x263a('0x98')][_0x263a('0x64')](_0x3d5d63),_0x965264=_0x3522c7[_0x263a('0x61')](_0xc5c644=>_0xc5c644[_0x263a('0x1f')]()[_0x263a('0x39')](_0x5228a6));_0x965264&&_0x1c6b5b[_0x263a('0x50')]([_0x965264[_0x263a('0x62')],_0x5b6b64]);}_0x1c6b5b[_0x263a('0x51')]&&_0x1eed1a['setAttribute']('markerAttributes',Object[_0x263a('0x7d')](_0x1c6b5b));}_0x25c256=null;}));},{'priority':_0x2f86b6['high']+0xa}),_0x2b70f3[_0x263a('0x72')][_0x263a('0x41')](_0x263a('0x2a'))['on'](_0x263a('0x46'),(_0x7fadd3,_0x59d2bf)=>{const [_0x30961c,_0x2c0ae0,,_0x55335d]=_0x59d2bf;if(!_0x25c256)return;_0x7fadd3[_0x263a('0x23')]();const _0x3f8f7e=_0x30961c[_0x263a('0x9')],_0x5cbd73=_0x2c0ae0,_0x53cc5a=ce(_0x3f8f7e),_0x59a875=ce(_0x5cbd73);_0x7fadd3[_0x263a('0x48')]=_0x3f8f7e;let _0x2fbc8f=null,_0x1fbf86=null;if(_0x59a875||_0x53cc5a){if(_0x53cc5a&&!_0x59a875){_0x55335d['remove'](_0x3f8f7e[_0x263a('0x67')](0x0));for(const _0x596d9d of Array[_0x263a('0x92')](_0x5cbd73[_0x263a('0x68')]()))_0x55335d[_0x263a('0x6a')](_0x596d9d,_0x3f8f7e,_0x263a('0x42'));const _0x453efb=_0x25c256[_0x263a('0x7f')][_0x263a('0xe')](_0x30961c['row']),_0x349260=_0x25c256['columnInsertionIndexes'][_0x263a('0xe')](_0x30961c[_0x263a('0x8d')]);_0x453efb||_0x349260||(_0x2fbc8f=_0x55335d[_0x263a('0x32')](_0x3f8f7e));}else _0x59a875&&!_0x53cc5a&&(_0x1fbf86=_0x55335d['createRangeIn'](_0x3f8f7e));}else{const _0x35d83b=_0x55335d['createElement'](_0x263a('0x2b')),_0xa41c47=_0x55335d[_0x263a('0x15')]('tableCellSuggestion');_0x55335d[_0x263a('0x19')](_0x55335d[_0x263a('0x32')](_0x3f8f7e),_0xa41c47),_0x55335d[_0x263a('0x6a')](_0x35d83b,_0x3f8f7e,0x0);for(const _0x5341bb of Array[_0x263a('0x92')](_0x5cbd73[_0x263a('0x68')]()))_0x55335d[_0x263a('0x6a')](_0x5341bb,_0x35d83b,_0x263a('0x42'));_0x2fbc8f=_0x55335d[_0x263a('0x64')](_0x35d83b),_0x1fbf86=_0x55335d[_0x263a('0x64')](_0xa41c47);}const _0x19fdd8=Array[_0x263a('0x92')](_0x5cbd73[_0x263a('0x3c')]())[_0x263a('0x4d')](([_0x1ad318])=>le[_0x263a('0xe')](_0x1ad318));_0x25c256['cells'][_0x263a('0x50')]({'element':_0x3f8f7e,'attributes':_0x19fdd8['length']?Object[_0x263a('0x7d')](_0x19fdd8):null}),_0x2fbc8f&&_0x25c256[_0x263a('0x9c')][_0x263a('0x50')](_0x2fbc8f),_0x1fbf86&&_0x25c256[_0x263a('0x1e')]['push'](_0x1fbf86);},{'priority':'high'}),_0x11b2ab['on']('insertColumns',(_0x4c2574,_0x2dae3b)=>{const [_0x19285d,_0x2ecdd0={}]=_0x2dae3b;if(!_0x25c256)return;const _0x2bdf49=_0x2ecdd0['at']||0x0,_0x12ff75=_0x2ecdd0[_0x263a('0x8a')]||0x1;_0x25c256['columnInsertionIndexes']=new Array(_0x12ff75)[_0x263a('0x1c')](_0x2bdf49)[_0x263a('0x4b')]((_0x38735c,_0x16df36)=>_0x38735c+_0x16df36);for(const {cell:_0x242de5}of _0x11b2ab[_0x263a('0x3b')](_0x19285d,{'startColumn':_0x2bdf49,'endColumn':_0x2bdf49+_0x12ff75-0x1}))_0x25c256[_0x263a('0x2c')][_0x263a('0x50')](_0x2b70f3[_0x263a('0x98')][_0x263a('0x64')](_0x242de5));},{'priority':_0x263a('0x81')}),_0x11b2ab['on'](_0x263a('0x55'),(_0x4d136f,_0x3e2be5)=>{const [_0x487fda,_0x3669f9={}]=_0x3e2be5;if(!_0x25c256)return;const _0x4e0d72=_0x3669f9['at']||0x0,_0x5454fd=_0x3669f9[_0x263a('0x8e')]||0x1;_0x25c256[_0x263a('0x7f')]=new Array(_0x5454fd)[_0x263a('0x1c')](_0x4e0d72)['map']((_0x57bbc5,_0x59da5d)=>_0x57bbc5+_0x59da5d);for(const {cell:_0x117f06}of _0x11b2ab[_0x263a('0x3b')](_0x487fda,{'startRow':_0x4e0d72,'endRow':_0x4e0d72+_0x5454fd-0x1}))_0x25c256[_0x263a('0x6b')][_0x263a('0x50')](_0x2b70f3[_0x263a('0x98')][_0x263a('0x64')](_0x117f06));},{'priority':_0x263a('0x81')}),_0x4a427a[_0x263a('0x30')][_0x263a('0x47')](_0x726f0=>{if(_0x726f0[_0x263a('0x33')]&&_0x726f0[_0x263a('0x33')]['startsWith'](_0x263a('0x75')))return _0x726f0['previous']?{}:{'type':_0x263a('0x2f'),'content':_0x2964a2(_0x2b70f3[_0x263a('0x11')],'*Replace\x20table\x20cells*')};});const _0x1b8682=()=>{};for(const _0x20a9ba of[_0x263a('0x75'),_0x263a('0x70'),_0x263a('0x29'),_0x263a('0x97')])_0x4a427a[_0x263a('0x1b')][_0x263a('0x71')](_0x263a('0x2f'),_0x20a9ba,_0x263a('0x4e'),_0x1b8682),_0x4a427a[_0x263a('0x1b')][_0x263a('0x71')](_0x263a('0x7b'),_0x20a9ba,_0x263a('0x4e'),_0x1b8682);_0x4a427a[_0x263a('0x1b')][_0x263a('0x71')](_0x263a('0x95'),_0x263a('0x97'),'discard',_0x1b8682),_0x4a427a[_0x263a('0x1b')]['registerCustomCallback'](_0x263a('0x95'),'tablePasteCell','accept',(_0x346b0f,_0x5e7805,_0xe38cde)=>{const _0xf86e7f=_0x346b0f['map'](_0x1b6440=>_0x1b6440[_0x263a('0x5b')]())[_0x263a('0x4d')](_0x3e430e=>_0x3e430e),_0x4ad8ec=new Map(_0xf86e7f['map'](_0x489872=>[_0x489872,null]));if(_0x25c256)for(const {element:_0x572e7c,attributes:_0x5d899d}of _0x25c256[_0x263a('0x16')])_0x5d899d&&_0x4ad8ec[_0x263a('0x6c')](_0x572e7c,_0x5d899d);else{if(_0xe38cde&&_0xe38cde['markerAttributes'])for(const [_0x14b102,_0x3403e0]of Object[_0x263a('0x10')](_0xe38cde[_0x263a('0x44')])){const _0x53572d=_0x2b70f3[_0x263a('0x98')]['markers'][_0x263a('0x41')](_0x14b102),_0x2b5df3=_0x53572d?_0x53572d['getRange']()[_0x263a('0x5b')]():null;_0x2b5df3&&_0x4ad8ec[_0x263a('0x6c')](_0x2b5df3,_0x3403e0);}}_0x2b70f3[_0x263a('0x98')][_0x263a('0x21')](_0x18ab84=>{for(const [_0x53d900,_0x3df2f0]of _0x4ad8ec)_0x18ab84[_0x263a('0x6e')]({...ae,..._0x3df2f0},_0x53d900);});});const _0x5559a1=(_0x1dcc8a,_0x22cdab)=>{_0x4a427a['_suggestionFactory'][_0x263a('0x71')](_0x1dcc8a,_0x263a('0x75'),_0x22cdab,(_0x3df708,_0x5a1bca,_0x35a3c9)=>{_0x2b70f3[_0x263a('0x98')][_0x263a('0x21')](_0x34b554=>{const _0x892af5=[];for(const _0x5a12eb of _0x3df708){const _0x1d1515=_0x5a12eb[_0x263a('0x38')][_0x263a('0x5e')];_0x1d1515['is']('element',_0x263a('0x2b'))&&_0x892af5[_0x263a('0x50')](_0x1d1515);}_0x4a427a[_0x263a('0x1b')][_0x263a('0x77')](_0x1dcc8a,null,_0x22cdab)(_0x3df708,_0x5a1bca,_0x35a3c9);for(const _0x666980 of _0x892af5)'$graveyard'!=_0x666980['root'][_0x263a('0xf')]&&_0x34b554[_0x263a('0x85')](_0x666980);});});};_0x5559a1(_0x263a('0x2f'),'accept'),_0x5559a1(_0x263a('0x2f'),'discard'),_0x5559a1('deletion','accept'),_0x5559a1('deletion','discard'),_0x4a427a[_0x263a('0x1b')]['registerCustomCallback'](_0x263a('0x2f'),_0x263a('0x29'),_0x263a('0x4f'),_0x3627fd=>{const _0x1db43f=_0x3627fd['map'](_0xf5cdd7=>_0xf5cdd7[_0x263a('0x5b')]()),_0x3ad8d9=_0x1db43f[0x0][_0x263a('0x69')](_0x263a('0x45')),{minRow:_0x4b0e4c,maxRow:_0x375bce}=_0x3f2367[_0x263a('0x54')](_0x1db43f);_0x11b2ab[_0x263a('0x40')](_0x3ad8d9,{'at':_0x4b0e4c,'rows':_0x375bce-_0x4b0e4c+0x1});}),_0x4a427a['_suggestionFactory']['registerCustomCallback'](_0x263a('0x2f'),'tablePasteColumn',_0x263a('0x4f'),_0x50ac91=>{const _0xa7cddd=_0x50ac91[_0x263a('0x4b')](_0x4a0683=>_0x4a0683[_0x263a('0x5b')]()),_0x25ec88=_0xa7cddd[0x0][_0x263a('0x69')](_0x263a('0x45')),{minColumn:_0x11c71e,maxColumn:_0x304802}=_0x3f2367[_0x263a('0x54')](_0xa7cddd);_0x11b2ab[_0x263a('0x26')](_0x25ec88,{'at':_0x11c71e,'columns':_0x304802-_0x11c71e+0x1});});const _0x3a00a1=(_0x54c4e7,_0x4f08a0)=>{if(!_0x4f08a0[_0x263a('0x33')]||!_0x4f08a0['subType'][_0x263a('0xc')](_0x263a('0x75')))return;const _0x2590f7=_0x4f08a0[_0x263a('0x79')]['tablePasteChainId'],_0x3826f4=_0x4a427a[_0x263a('0x1a')]()[_0x263a('0x4d')](_0x2f194b=>_0x2f194b[_0x263a('0xb')]&&_0x2f194b[_0x263a('0x79')]&&_0x2f194b['attributes'][_0x263a('0x56')]==_0x2590f7);_0x3826f4[_0x263a('0x51')]&&_0x4f08a0[_0x263a('0x78')]()[_0x263a('0x51')]!=_0x3826f4['length']&&_0x3826f4['reduce']((_0x226d8a,_0x1f2f04)=>(_0x226d8a[_0x263a('0x34')]=_0x1f2f04,_0x1f2f04[_0x263a('0x9d')]=_0x226d8a,_0x1f2f04));};function _0x18113d(_0x208fb2,_0x11692c=!0x0){const {id:_0x50eaaf}=_0x4a427a[_0x263a('0x14')](_0x208fb2['markerName']),_0x101c51=[_0x263a('0x36'),_0x263a('0x76')],_0x20c7e2=_0x4a427a[_0x263a('0x1')][_0x263a('0xe')](_0x208fb2['markerName']);return _0x20c7e2&&_0x101c51[_0x263a('0x50')](_0x263a('0xd')),{'classes':_0x101c51,'attributes':{'data-suggestion':_0x50eaaf},'priority':_0x20c7e2&&_0x11692c?0xbc2:0xbb8};}_0x4a427a['on'](_0x263a('0x5f'),_0x3a00a1,{'priority':'high'}),_0x4a427a['on'](_0x263a('0x6'),_0x3a00a1,{'priority':_0x263a('0x5d')}),_0x2b70f3['model']['document'][_0x263a('0x8c')](()=>{let _0x47cc3b=!0x1;const _0x428f34=Array['from'](_0x2b70f3[_0x263a('0x98')][_0x263a('0x89')][_0x263a('0x73')][_0x263a('0x7e')]());for(const {name:_0x31780a,data:_0xa7a6f4}of _0x428f34){const {group:_0x1d2eed,type:_0x1d4035,id:_0x5cd87f}=_0x4a427a['_splitMarkerName'](_0x31780a);if(_0x263a('0x80')!=_0x1d2eed||_0x263a('0x7b')!=_0x1d4035||_0xa7a6f4[_0x263a('0x63')])continue;if(!_0x4a427a[_0x263a('0x52')](_0x5cd87f))continue;const _0x7626ab=_0x4a427a[_0x263a('0x53')](_0x5cd87f)['getRanges'](),_0x346c0c=_0x2b70f3[_0x263a('0x72')][_0x263a('0x41')](_0x263a('0x60'))['me'];for(const _0x1df68c of _0x4a427a[_0x263a('0x1a')]()){if(!_0x1df68c[_0x263a('0xb')]||_0x1df68c[_0x263a('0x4a')]!=_0x346c0c)continue;if('formatBlock'!=_0x1df68c['type']||_0x263a('0x97')!=_0x1df68c[_0x263a('0x33')])continue;if(_0x1df68c[_0x263a('0x58')]()['every'](_0x2d0a9b=>_0x7626ab['some'](_0x1538d4=>_0x1538d4[_0x263a('0x88')](_0x2d0a9b,!0x0))))for(const _0x409764 of _0x1df68c[_0x263a('0x78')]())_0x409764[_0x263a('0xb')]&&(_0x409764['discard'](),_0x47cc3b=!0x0);}}return _0x47cc3b;}),_0x2b70f3['model']['document'][_0x263a('0x8c')](_0x1d9d32=>{const _0x1df41b=_0x2b70f3[_0x263a('0x25')][_0x263a('0x41')]('redo');if(!_0x1df41b||!_0x1df41b[_0x263a('0x49')][_0x263a('0x99')](_0x1d9d32[_0x263a('0x3a')]))return!0x1;let _0x4a6222=!0x1;const _0x3da59a=_0x2b70f3[_0x263a('0x72')][_0x263a('0x41')]('Users')['me'],_0xfed5cd=_0x2b70f3[_0x263a('0x98')][_0x263a('0x89')]['differ'][_0x263a('0x35')](),_0x48f65b=Array['from'](_0x2b70f3[_0x263a('0x98')][_0x263a('0x89')][_0x263a('0x73')][_0x263a('0x7e')]())[_0x263a('0x4d')](({name:_0x3d3887,data:_0x35109c})=>{const {group:_0x228d12,subType:_0x1263e9,authorId:_0x438528}=_0x4a427a[_0x263a('0x14')](_0x3d3887);return _0x263a('0x80')==_0x228d12&&_0x263a('0x75')==_0x1263e9&&_0x438528==_0x3da59a['id']&&!_0x35109c[_0x263a('0x63')];});for(const _0x45a933 of _0xfed5cd){if('insert'!=_0x45a933[_0x263a('0x96')]||'tableCellSuggestion'!=_0x45a933[_0x263a('0x62')]||0x1!=_0x45a933[_0x263a('0x51')])continue;const _0x4288f6=_0x1d9d32[_0x263a('0x87')](_0x45a933[_0x263a('0x7a')],_0x45a933[_0x263a('0x7a')]['getShiftedBy'](0x1));if(!_0x48f65b[_0x263a('0x61')](({data:_0xb1aac0})=>_0xb1aac0[_0x263a('0x43')]['isEqual'](_0x4288f6)))for(const {name:_0x565bf5,data:_0x139be7}of _0x48f65b)if(_0x4288f6[_0x263a('0x88')](_0x139be7['newRange'])){_0x1d9d32[_0x263a('0x22')](_0x565bf5,{'range':_0x4288f6}),_0x4a6222=!0x0;break;}}return _0x4a6222;}),_0x2b70f3[_0x263a('0x98')]['document'][_0x263a('0x8c')](_0x2a5cec=>{let _0x4c5173=!0x1;const _0x488bd5=_0x2b70f3['plugins'][_0x263a('0x41')](_0x263a('0x60'))['me'],_0xb20136=_0x4a427a[_0x263a('0x1a')]()[_0x263a('0x4d')](_0x4c96ce=>_0x4c96ce[_0x263a('0xb')]&&_0x4c96ce[_0x263a('0x4a')]==_0x488bd5),_0x590418=new Set(),_0x5bda34=new Set();for(const _0x550b7c of _0xb20136)if('tablePaste'==_0x550b7c['subType'])for(const _0x139379 of _0x550b7c[_0x263a('0x82')]()){const _0x5ab55b=_0x139379['getRange']()[_0x263a('0x5b')]();if(_0x5ab55b){if(_0x5ab55b['is'](_0x263a('0x24'),'tableCellSuggestion')&&ce(_0x5ab55b)){_0x550b7c[_0x263a('0x6f')](_0x139379[_0x263a('0x62')]),_0x590418[_0x263a('0x12')](_0x5ab55b),_0x4c5173=!0x0;const _0x5434ac=_0x5ab55b[_0x263a('0x84')],_0x72548e=_0x5ab55b[_0x263a('0x17')],_0x368848=_0x5434ac&&_0x5434ac['is']('element',_0x263a('0x2b')),_0x117ad2=_0x72548e&&_0x72548e['is']('element','tableCellSuggestion');_0x368848&&!_0x590418[_0x263a('0x99')](_0x5434ac)&&_0x5bda34['add'](_0x5434ac),_0x117ad2&&!_0x590418[_0x263a('0x99')](_0x72548e)&&_0x5bda34[_0x263a('0x12')](_0x72548e);}else _0x5ab55b['is'](_0x263a('0x24'),_0x263a('0x5c'))&&_0x5ab55b[_0x263a('0x8f')]&&(_0x550b7c[_0x263a('0x6f')](_0x139379['name']),_0x4c5173=!0x0);}}else{if(_0x263a('0x97')==_0x550b7c[_0x263a('0x33')]){if(!_0x550b7c[_0x263a('0x79')]||!_0x550b7c[_0x263a('0x79')]['tablePasteChainId'])continue;const _0x1f91c5=_0x550b7c[_0x263a('0x79')]['markerAttributes'];if(_0x1f91c5&&Object[_0x263a('0x37')](_0x1f91c5)['length'])continue;const _0x3939fc=_0x550b7c[_0x263a('0x79')]['tablePasteChainId'];let _0x1fa8b1=!0x0,_0x4f7acf=!0x0;for(const _0x55fa51 of _0xb20136)if(_0x55fa51[_0x263a('0x33')]&&_0x55fa51[_0x263a('0x33')]['startsWith'](_0x263a('0x75'))){if(!_0x55fa51[_0x263a('0x79')][_0x263a('0x56')]){_0x4f7acf=!0x1;break;}if(_0x55fa51['id']!=_0x550b7c['id']&&_0x55fa51[_0x263a('0x79')][_0x263a('0x56')]==_0x3939fc){_0x1fa8b1=!0x1;break;}}_0x4f7acf&&_0x1fa8b1&&(_0x550b7c['removeMarkers'](),_0x4c5173=!0x0);}}for(const _0x4188e4 of _0x590418)_0x2a5cec['remove'](_0x4188e4);for(const _0x36a6f0 of _0x5bda34)_0x2a5cec[_0x263a('0x85')](_0x36a6f0);return _0x4c5173;}),_0x2b70f3[_0x263a('0x4')][_0x263a('0x28')](_0x263a('0x65'))['markerToHighlight']({'model':_0x263a('0x3e'),'view':(_0x1e5553,_0x43bae3)=>_0x18113d(_0x1e5553),'converterPriority':_0x263a('0x5d')}),_0x2b70f3[_0x263a('0x4')][_0x263a('0x28')](_0x263a('0x9a'))[_0x263a('0x3d')]({'model':_0x263a('0x3e'),'view':(_0xd25bed,_0x832582)=>_0x832582['options']['showSuggestionHighlights']?_0x18113d(_0xd25bed,!0x1):null,'converterPriority':'high'});const _0x4e8eeb=_0x2b70f3[_0x263a('0x83')][_0x263a('0x3')];this[_0x263a('0x91')](_0x4e8eeb[_0x263a('0x89')],_0x263a('0x2d'),(_0xf14336,_0x319039)=>{const _0x1caaa9=[];for(const _0x33eec3 of _0x4e8eeb[_0x263a('0x32')](_0x319039[_0x263a('0x0')])[_0x263a('0x18')]())_0x33eec3['is'](_0x263a('0x24'),'suggestion-td')&&_0x1caaa9[_0x263a('0x50')](_0x33eec3);_0x4e8eeb['change'](_0x3986e5=>{for(const _0x85ac30 of _0x1caaa9)_0x3986e5[_0x263a('0x90')](_0x3986e5[_0x263a('0x32')](_0x85ac30),_0x3986e5[_0x263a('0x66')](_0x85ac30)),_0x3986e5[_0x263a('0x2')](_0x85ac30);});});}}function ce(_0x4e0a1f){if(_0x4e0a1f[_0x263a('0x8f')])return!0x0;const _0x3a4257=_0x4e0a1f[_0x263a('0x67')](0x0);return _0x3a4257['is'](_0x263a('0x24'),_0x263a('0x5c'))&&_0x3a4257['isEmpty'];}function fe(_0x42b11b,_0x244ec9={},_0x111388){for(const {isAnchor:_0x8cb5bd,cellHeight:_0x889594,cellWidth:_0x298641}of _0x111388['createTableWalker'](_0x42b11b,{'includeAllSlots':!0x0,..._0x244ec9}))if(!_0x8cb5bd||0x1!=_0x889594||0x1!=_0x298641)return!0x1;return!0x0;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x111d=['locale','model','editor','_suggestionFactory','TrackChangesEditing','formatBlock','getTableColumnsWidths','Users','data','*Format:*\x20resize\x20table','columnWidths','TableColumnResizeEditing','selection','subType','getColumnGroupElement','getAttribute','formatGroupId','has','getSelectedElement','discard','resizeColumnWidths','getSuggestionCallback','enableCommand','format','handleSuggestionDescription','registerCustomCallback','resizeTableWidth','registerDescriptionCallback','author','table','getSuggestions','getContainedElement','get','handleResizeTableWidthCommand','commandParams','resizeTable','accept','document','plugins','bind','afterInit','tableWidth','change'];(function(_0x36c2bc,_0x111d89){const _0xa6fc74=function(_0x55b401){while(--_0x55b401){_0x36c2bc['push'](_0x36c2bc['shift']());}};_0xa6fc74(++_0x111d89);}(_0x111d,0x14a));const _0xa6fc=function(_0x36c2bc,_0x111d89){_0x36c2bc=_0x36c2bc-0x0;let _0xa6fc74=_0x111d[_0x36c2bc];return _0xa6fc74;};import{Plugin as _0x55e4af}from'ckeditor5/src/core';import{getTranslation as _0x3c32fc}from'../utils/common-translations';export default class wt extends _0x55e4af{[_0xa6fc('0xb')](){if(!this[_0xa6fc('0x10')][_0xa6fc('0x9')][_0xa6fc('0x1f')]('TableColumnResizeEditing'))return;const _0x6c06bb=this[_0xa6fc('0x10')][_0xa6fc('0x9')][_0xa6fc('0x3')](_0xa6fc('0x12'));_0x6c06bb['enableCommand']('resizeTableWidth',this[_0xa6fc('0x4')][_0xa6fc('0xa')](this)),_0x6c06bb[_0xa6fc('0x24')](_0xa6fc('0x22'),this[_0xa6fc('0x4')][_0xa6fc('0xa')](this)),_0x6c06bb[_0xa6fc('0x11')][_0xa6fc('0x27')](_0xa6fc('0x13'),_0xa6fc('0x6'),'accept',_0x6c06bb[_0xa6fc('0x11')][_0xa6fc('0x23')](_0xa6fc('0x13'),null,_0xa6fc('0x21'))),_0x6c06bb[_0xa6fc('0x11')][_0xa6fc('0x27')](_0xa6fc('0x13'),_0xa6fc('0x6'),_0xa6fc('0x21'),_0x6c06bb[_0xa6fc('0x11')][_0xa6fc('0x23')]('formatBlock',null,_0xa6fc('0x7'))),_0x6c06bb['_descriptionFactory'][_0xa6fc('0x29')](this[_0xa6fc('0x26')][_0xa6fc('0xa')](this));}['handleResizeTableWidthCommand'](_0x2e08b4,_0x71d34c){const _0x490c32=this['editor'][_0xa6fc('0x9')]['get'](_0xa6fc('0x12')),_0x4741f7=this[_0xa6fc('0x10')][_0xa6fc('0x9')][_0xa6fc('0x3')](_0xa6fc('0x19')),_0x5ac827=_0x71d34c[_0xa6fc('0x0')]||this[_0xa6fc('0x10')]['model'][_0xa6fc('0x8')][_0xa6fc('0x1a')][_0xa6fc('0x20')]();this[_0xa6fc('0x10')][_0xa6fc('0xf')][_0xa6fc('0xd')](()=>{const _0x4d5eff=_0x4741f7[_0xa6fc('0x1c')](_0x5ac827);let _0x3199a0=_0x4d5eff?_0x4741f7[_0xa6fc('0x14')](_0x4d5eff):null,_0x16108d=_0x5ac827[_0xa6fc('0x1d')](_0xa6fc('0xc'))||null;const _0xcb5d09=_0x71d34c[_0xa6fc('0xc')]||_0x16108d,_0x5ca035=_0x71d34c[_0xa6fc('0x18')]||_0x3199a0,_0x463c06=this[_0xa6fc('0x10')][_0xa6fc('0x9')][_0xa6fc('0x3')](_0xa6fc('0x15'))['me'];for(const _0x1ffc2c of _0x490c32[_0xa6fc('0x1')]()){const _0xc015f5=_0x1ffc2c[_0xa6fc('0x2')]();if(_0xa6fc('0x6')===_0x1ffc2c[_0xa6fc('0x1b')]&&_0xc015f5===_0x5ac827){_0x1ffc2c[_0xa6fc('0x2a')]!==_0x463c06&&_0x1ffc2c[_0xa6fc('0x21')]();const _0x42e8e6=_0x1ffc2c[_0xa6fc('0x16')][_0xa6fc('0x5')];_0x16108d=_0x42e8e6[0x0]['tableWidth'],_0x3199a0=_0x42e8e6[0x0][_0xa6fc('0x18')];break;}}_0x2e08b4({'table':_0x5ac827,'tableWidth':_0xcb5d09,'columnWidths':_0x5ca035}),_0x490c32['markBlockFormat'](_0x5ac827,{'commandName':_0xa6fc('0x28'),'commandParams':[{'tableWidth':_0x16108d,'columnWidths':_0x3199a0}],'formatGroupId':'resizeTable'},[],_0xa6fc('0x6'));});}[_0xa6fc('0x26')](_0x49ee05){const {data:_0x2a1fe5}=_0x49ee05;if(_0x2a1fe5&&_0xa6fc('0x6')===_0x2a1fe5[_0xa6fc('0x1e')]){const _0x232998=_0xa6fc('0x17');return{'type':_0xa6fc('0x25'),'content':_0x3c32fc(this[_0xa6fc('0x10')][_0xa6fc('0xe')],_0x232998)};}}}
23
+ const _0x4370=['format','markBlockFormat','model','TrackChangesEditing','editor','getSelectedElement','plugins','getAttribute','getTableColumnsWidths','resizeTableWidth','*Format:*\x20resize\x20table','formatBlock','has','subType','registerCustomCallback','change','document','resizeTable','afterInit','enableCommand','handleSuggestionDescription','get','Users','bind','formatGroupId','getSuggestions','resizeColumnWidths','table','getSuggestionCallback','getContainedElement','_suggestionFactory','locale','handleResizeTableWidthCommand','commandParams','discard','tableWidth','_descriptionFactory','accept','TableColumnResizeEditing'];(function(_0x57aede,_0x437028){const _0x2fb2c5=function(_0x485168){while(--_0x485168){_0x57aede['push'](_0x57aede['shift']());}};_0x2fb2c5(++_0x437028);}(_0x4370,0x1d4));const _0x2fb2=function(_0x57aede,_0x437028){_0x57aede=_0x57aede-0x0;let _0x2fb2c5=_0x4370[_0x57aede];return _0x2fb2c5;};import{Plugin as _0x19f284}from'ckeditor5/src/core';import{getTranslation as _0x17e697}from'../utils/common-translations';export default class wt extends _0x19f284{[_0x2fb2('0x12')](){if(!this[_0x2fb2('0x4')][_0x2fb2('0x6')][_0x2fb2('0xc')](_0x2fb2('0x26')))return;const _0x447960=this[_0x2fb2('0x4')][_0x2fb2('0x6')][_0x2fb2('0x15')](_0x2fb2('0x3'));_0x447960[_0x2fb2('0x13')](_0x2fb2('0x9'),this[_0x2fb2('0x20')][_0x2fb2('0x17')](this)),_0x447960[_0x2fb2('0x13')](_0x2fb2('0x1a'),this['handleResizeTableWidthCommand'][_0x2fb2('0x17')](this)),_0x447960[_0x2fb2('0x1e')][_0x2fb2('0xe')](_0x2fb2('0xb'),'resizeTable',_0x2fb2('0x25'),_0x447960[_0x2fb2('0x1e')][_0x2fb2('0x1c')]('formatBlock',null,'discard')),_0x447960['_suggestionFactory'][_0x2fb2('0xe')](_0x2fb2('0xb'),_0x2fb2('0x11'),_0x2fb2('0x22'),_0x447960[_0x2fb2('0x1e')][_0x2fb2('0x1c')]('formatBlock',null,_0x2fb2('0x25'))),_0x447960[_0x2fb2('0x24')]['registerDescriptionCallback'](this[_0x2fb2('0x14')][_0x2fb2('0x17')](this));}[_0x2fb2('0x20')](_0x4b199d,_0x2a589c){const _0x12912c=this[_0x2fb2('0x4')][_0x2fb2('0x6')][_0x2fb2('0x15')](_0x2fb2('0x3')),_0x3bb9d5=this[_0x2fb2('0x4')][_0x2fb2('0x6')][_0x2fb2('0x15')](_0x2fb2('0x26')),_0xaaf127=_0x2a589c[_0x2fb2('0x1b')]||this[_0x2fb2('0x4')]['model'][_0x2fb2('0x10')]['selection'][_0x2fb2('0x5')]();this[_0x2fb2('0x4')][_0x2fb2('0x2')][_0x2fb2('0xf')](()=>{const _0x17fd09=_0x3bb9d5['getColumnGroupElement'](_0xaaf127);let _0x5e2bdd=_0x17fd09?_0x3bb9d5[_0x2fb2('0x8')](_0x17fd09):null,_0x56e116=_0xaaf127[_0x2fb2('0x7')](_0x2fb2('0x23'))||null;const _0x571fe5=_0x2a589c[_0x2fb2('0x23')]||_0x56e116,_0x4c4765=_0x2a589c['columnWidths']||_0x5e2bdd,_0x2503eb=this['editor'][_0x2fb2('0x6')][_0x2fb2('0x15')](_0x2fb2('0x16'))['me'];for(const _0x190443 of _0x12912c[_0x2fb2('0x19')]()){const _0x5341e1=_0x190443[_0x2fb2('0x1d')]();if('resizeTable'===_0x190443[_0x2fb2('0xd')]&&_0x5341e1===_0xaaf127){_0x190443['author']!==_0x2503eb&&_0x190443['discard']();const _0x2ed29e=_0x190443['data'][_0x2fb2('0x21')];_0x56e116=_0x2ed29e[0x0]['tableWidth'],_0x5e2bdd=_0x2ed29e[0x0]['columnWidths'];break;}}_0x4b199d({'table':_0xaaf127,'tableWidth':_0x571fe5,'columnWidths':_0x4c4765}),_0x12912c[_0x2fb2('0x1')](_0xaaf127,{'commandName':_0x2fb2('0x9'),'commandParams':[{'tableWidth':_0x56e116,'columnWidths':_0x5e2bdd}],'formatGroupId':_0x2fb2('0x11')},[],_0x2fb2('0x11'));});}[_0x2fb2('0x14')](_0x198391){const {data:_0x243e83}=_0x198391;if(_0x243e83&&_0x2fb2('0x11')===_0x243e83[_0x2fb2('0x18')]){const _0x40d4ed=_0x2fb2('0xa');return{'type':_0x2fb2('0x0'),'content':_0x17e697(this[_0x2fb2('0x4')][_0x2fb2('0x1f')],_0x40d4ed)};}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1a95=['formatBlock','value','editor','childCount','createPositionAfter','addMarker:suggestion','get','FORMAT_REGULAR_COLUMN','activeMarkers','commandName','has','start','first','_acceptFormatSuggestionCallbackFactory','getCellLocation','markerName','TableUtils','getAttribute','createPositionBefore','nodeAfter','last','item','markerNameToElements','parent','consume','addClass','setAttribute','end','accept','findAncestor','FORMAT_REGULAR_ROW','toViewElement','enableCommand','getChild','ck-suggestion-marker--active','name','_descriptionFactory','highest','from','getColumnIndexes','isBefore','model','removeClass','removeAttribute','registerDescriptionCallback','editing','locale','_splitMarkerName','setTableColumnHeader','table','forceValue','commandParams','data-suggestion','markerRange','TableEditing','change','plugins','requires','createRange','ck-suggestion-marker-','selection','afterInit','bindElementToMarker','mapper','createTableWalker','data','writer','registerCustomCallback','getSuggestion','*Format:*\x20%0','headingRows','downcastDispatcher','format','setTableRowHeader','getSelectionAffectedTableCells','commands','FORMAT_HEADER_ROW','showSuggestionHighlights','cell','consumable'];(function(_0x4cbe07,_0x1a95d0){const _0x4b111b=function(_0x320461){while(--_0x320461){_0x4cbe07['push'](_0x4cbe07['shift']());}};_0x4b111b(++_0x1a95d0);}(_0x1a95,0x1a6));const _0x4b11=function(_0x4cbe07,_0x1a95d0){_0x4cbe07=_0x4cbe07-0x0;let _0x4b111b=_0x1a95[_0x4cbe07];return _0x4b111b;};import{Plugin as _0x27b037}from'ckeditor5/src/core';import _0x2a4145 from'./table';import{getTranslation as _0x58eb2b}from'../utils/common-translations';export default class pt extends _0x27b037{static get[_0x4b11('0x23')](){return[_0x2a4145];}[_0x4b11('0x27')](){const _0x34e1e6=this[_0x4b11('0x3c')];if(!_0x34e1e6[_0x4b11('0x22')][_0x4b11('0x44')](_0x4b11('0x20')))return;const _0x4ca3ef=_0x34e1e6[_0x4b11('0x18')],_0x13453a=_0x34e1e6[_0x4b11('0x22')][_0x4b11('0x40')]('TrackChangesEditing'),_0x251f0f=_0x34e1e6[_0x4b11('0x22')]['get'](_0x4b11('0x4a')),_0x4e8d72=_0x34e1e6[_0x4b11('0x22')]['get'](_0x2a4145);function _0x7e9ead({showActiveMarker:_0x3c4957=!0x0,setDataAttribute:_0x2829e9=!0x0}={}){return(_0x165b1d,_0x7f71f,_0x5dcdd2)=>{const {type:_0xd83da2,id:_0x43b19a}=_0x13453a[_0x4b11('0x19')](_0x7f71f[_0x4b11('0x49')]),_0x28f712=_0x13453a['getSuggestion'](_0x43b19a);if(!_0x28f712[_0x4b11('0x2b')]||_0x4b11('0x1a')!=_0x28f712[_0x4b11('0x2b')][_0x4b11('0x43')])return;if(_0x7f71f[_0x4b11('0x4f')])return void _0x165b1d['stop']();if(!_0x5dcdd2[_0x4b11('0x39')][_0x4b11('0x2')](_0x7f71f['markerRange'],_0x165b1d[_0x4b11('0xd')]))return;const _0x29bfd6=_0x7f71f[_0x4b11('0x1f')][_0x4b11('0x45')][_0x4b11('0x4d')],_0xe364fe=_0x7f71f[_0x4b11('0x1f')][_0x4b11('0x5')]['nodeBefore'],_0x34f2e3=_0x29bfd6['parent'][_0x4b11('0x1')],{column:_0xd47dc6}=_0x251f0f[_0x4b11('0x48')](_0x29bfd6),{column:_0x368235}=_0x251f0f[_0x4b11('0x48')](_0xe364fe);for(let _0x4af1f2=_0xd47dc6;_0x4af1f2<=_0x368235;_0x4af1f2++){const _0xd140a8=_0x251f0f['createTableWalker'](_0x34f2e3,{'column':_0x4af1f2,'includeAllSlots':!0x1});for(const _0x1faf13 of _0xd140a8){const _0x14a2b3=_0x1faf13['cell'],_0x3f918f=_0x5dcdd2[_0x4b11('0x29')][_0x4b11('0x9')](_0x14a2b3);_0x5dcdd2[_0x4b11('0x2c')][_0x4b11('0x3')]('ck-suggestion-marker-'+_0xd83da2,_0x3f918f),_0x2829e9&&_0x5dcdd2[_0x4b11('0x2c')][_0x4b11('0x4')](_0x4b11('0x1e'),_0x43b19a,_0x3f918f),_0x5dcdd2[_0x4b11('0x29')][_0x4b11('0x28')](_0x3f918f,_0x7f71f[_0x4b11('0x49')]),_0x3c4957&&(_0x13453a[_0x4b11('0x42')]['includes'](_0x7f71f[_0x4b11('0x49')])?_0x5dcdd2[_0x4b11('0x2c')][_0x4b11('0x3')]('ck-suggestion-marker--active',_0x3f918f):_0x5dcdd2[_0x4b11('0x2c')][_0x4b11('0x14')](_0x4b11('0xc'),_0x3f918f));}}};}_0x13453a[_0x4b11('0xa')](_0x4b11('0x33'),(_0x5c42ad,_0x5bc8a1)=>{const _0x5281e8=_0x251f0f[_0x4b11('0x34')](_0x34e1e6[_0x4b11('0x13')]['document'][_0x4b11('0x26')]),_0x5af701=_0x251f0f['getRowIndexes'](_0x5281e8),_0x4b767b=_0x5281e8[0x0][_0x4b11('0x7')](_0x4b11('0x1b')),_0x35bc1b=_0x4b767b[_0x4b11('0x4b')](_0x4b11('0x30'))||0x0,_0x59e745=_0x5bc8a1&&null!==_0x5bc8a1['forceValue']?_0x5bc8a1[_0x4b11('0x1c')]:!_0x34e1e6[_0x4b11('0x35')][_0x4b11('0x40')](_0x4b11('0x33'))[_0x4b11('0x3b')],_0x542a02=_0x59e745?_0x5af701[_0x4b11('0x4e')]:_0x5af701['first'],_0x32fe2f=_0x4b767b[_0x4b11('0xb')](_0x542a02);let _0x2efc6f;if(_0x59e745){const _0x2071d9=_0x4b767b[_0x4b11('0xb')](_0x35bc1b);if(_0x32fe2f['index']<_0x2071d9['index'])return;_0x2efc6f=_0x34e1e6[_0x4b11('0x13')][_0x4b11('0x24')](_0x34e1e6['model'][_0x4b11('0x4c')](_0x2071d9[_0x4b11('0xb')](0x0)),_0x34e1e6[_0x4b11('0x13')][_0x4b11('0x3e')](_0x32fe2f['getChild'](_0x32fe2f[_0x4b11('0x3d')]-0x1)));}else{const _0x1d7ad1=_0x4b767b[_0x4b11('0xb')](_0x35bc1b-0x1);if(!_0x1d7ad1)return;_0x2efc6f=_0x34e1e6[_0x4b11('0x13')][_0x4b11('0x24')](_0x34e1e6[_0x4b11('0x13')]['createPositionBefore'](_0x32fe2f[_0x4b11('0xb')](0x0)),_0x34e1e6['model'][_0x4b11('0x3e')](_0x1d7ad1['getChild'](_0x1d7ad1['childCount']-0x1)));}_0x34e1e6[_0x4b11('0x13')]['change'](()=>{_0x13453a['markBlockFormat'](_0x2efc6f,{'commandName':_0x4b11('0x33'),'commandParams':[{'forceValue':_0x59e745}]},[],'setTableRowHeader');});}),_0x13453a[_0x4b11('0xa')](_0x4b11('0x1a'),(_0x42bfb6,_0x1530f1)=>{const _0x491c46=_0x34e1e6[_0x4b11('0x22')][_0x4b11('0x40')](_0x4b11('0x4a')),_0x27d122=_0x491c46['getSelectionAffectedTableCells'](_0x34e1e6[_0x4b11('0x13')]['document'][_0x4b11('0x26')]),_0x489845=_0x491c46[_0x4b11('0x11')](_0x27d122),_0x37a381=_0x27d122[0x0][_0x4b11('0x7')](_0x4b11('0x1b')),_0x59502d=_0x37a381[_0x4b11('0x4b')]('headingColumns')||0x0,_0x5a1c03=_0x1530f1&&null!==_0x1530f1[_0x4b11('0x1c')]?_0x1530f1[_0x4b11('0x1c')]:!_0x34e1e6['commands'][_0x4b11('0x40')](_0x4b11('0x1a'))[_0x4b11('0x3b')];let _0x49eac6;const _0x4afdf3=_0x37a381[_0x4b11('0xb')](0x0),_0x3dd017=_0x5a1c03?_0x489845['last']:_0x489845[_0x4b11('0x46')],_0x5404db=_0x491c46[_0x4b11('0x2a')](_0x37a381,{'startRow':0x0,'column':_0x3dd017,'includeAllSlots':!0x1}),_0x5232b5=Array[_0x4b11('0x10')](_0x5404db)[0x0][_0x4b11('0x38')];if(_0x5a1c03){const _0xf48d91=_0x4afdf3[_0x4b11('0xb')](_0x59502d);if(_0x5232b5[_0x4b11('0x12')](_0xf48d91))return;_0x49eac6=_0x34e1e6[_0x4b11('0x13')][_0x4b11('0x24')](_0x34e1e6[_0x4b11('0x13')][_0x4b11('0x4c')](_0xf48d91),_0x34e1e6[_0x4b11('0x13')][_0x4b11('0x3e')](_0x5232b5));}else{const _0x1dda47=_0x4afdf3[_0x4b11('0xb')](_0x59502d-0x1);if(!_0x1dda47)return;_0x49eac6=_0x34e1e6[_0x4b11('0x13')][_0x4b11('0x24')](_0x34e1e6['model']['createPositionBefore'](_0x5232b5),_0x34e1e6[_0x4b11('0x13')]['createPositionAfter'](_0x1dda47));}_0x34e1e6[_0x4b11('0x13')][_0x4b11('0x21')](()=>{_0x13453a['markBlockFormat'](_0x49eac6,{'commandName':'setTableColumnHeader','commandParams':[{'forceValue':_0x5a1c03}]},[],_0x4b11('0x1a'));});}),_0x34e1e6[_0x4b11('0x17')][_0x4b11('0x31')]['on']('addMarker:suggestion',_0x7e9ead(),{'priority':_0x4b11('0xf')}),_0x34e1e6[_0x4b11('0x2b')]['downcastDispatcher']['on'](_0x4b11('0x3f'),(_0x1c04e2,_0x3fbe5d,_0x14169b)=>{_0x14169b['options'][_0x4b11('0x37')]&&_0x7e9ead({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x1c04e2,_0x3fbe5d,_0x14169b);},{'priority':_0x4b11('0xf')}),_0x34e1e6[_0x4b11('0x17')][_0x4b11('0x31')]['on']('removeMarker:suggestion',(_0x595386,_0x324423,_0x1680a6)=>{const {type:_0x33fbb6,id:_0x5b2532}=_0x13453a[_0x4b11('0x19')](_0x324423[_0x4b11('0x49')]),_0x30b5cb=_0x13453a[_0x4b11('0x2e')](_0x5b2532);if(!_0x30b5cb[_0x4b11('0x2b')]||_0x4b11('0x1a')!=_0x30b5cb['data'][_0x4b11('0x43')])return;const _0x4d59f6=_0x1680a6[_0x4b11('0x29')][_0x4b11('0x0')](_0x324423[_0x4b11('0x49')]);if(_0x4d59f6)for(const _0x148a8e of _0x4d59f6)_0x1680a6[_0x4b11('0x2c')][_0x4b11('0x14')](_0x4b11('0x25')+_0x33fbb6,_0x148a8e),_0x1680a6['writer'][_0x4b11('0x14')](_0x4b11('0xc'),_0x148a8e),_0x1680a6[_0x4b11('0x2c')][_0x4b11('0x15')](_0x4b11('0x1e'),_0x148a8e),_0x1680a6[_0x4b11('0x29')]['unbindElementFromMarkerName'](_0x148a8e,_0x324423[_0x4b11('0x49')]);},{'priority':_0x4b11('0xf')}),_0x13453a[_0x4b11('0xe')][_0x4b11('0x16')](_0x4a7450=>{const {data:_0x21205c}=_0x4a7450;if(_0x21205c){if(_0x4b11('0x33')==_0x21205c[_0x4b11('0x43')]){const _0x94435f=_0x21205c[_0x4b11('0x1d')][0x0]['forceValue'];return _0x3d4cee(_0x58eb2b(_0x4ca3ef,_0x94435f?_0x4b11('0x36'):_0x4b11('0x8')));}if('setTableColumnHeader'==_0x21205c[_0x4b11('0x43')]){const _0x32f241=_0x21205c[_0x4b11('0x1d')][0x0][_0x4b11('0x1c')];return _0x3d4cee(_0x58eb2b(_0x4ca3ef,_0x32f241?'FORMAT_HEADER_COLUMN':_0x4b11('0x41')));}}function _0x3d4cee(_0x4cd780){return{'type':_0x4b11('0x32'),'content':_0x58eb2b(_0x4ca3ef,_0x4b11('0x2f'),_0x4cd780)};}});const _0x5f471d=_0x4e8d72[_0x4b11('0x47')]();_0x13453a['_suggestionFactory'][_0x4b11('0x2d')](_0x4b11('0x3a'),'setTableRowHeader',_0x4b11('0x6'),_0x5f471d),_0x13453a['_suggestionFactory'][_0x4b11('0x2d')](_0x4b11('0x3a'),'setTableColumnHeader',_0x4b11('0x6'),_0x5f471d);}}
23
+ const _0x39eb=['selection','cell','FORMAT_HEADER_ROW','accept','getSuggestion','markerRange','toViewElement','options','requires','consumable','format','*Format:*\x20%0','afterInit','document','table','getAttribute','plugins','FORMAT_HEADER_COLUMN','registerCustomCallback','markerNameToElements','removeMarker:suggestion','item','TableUtils','writer','data-suggestion','first','TableEditing','commandParams','nodeBefore','registerDescriptionCallback','value','findAncestor','end','createRange','_acceptFormatSuggestionCallbackFactory','get','headingRows','last','highest','_suggestionFactory','getSelectionAffectedTableCells','forceValue','data','model','createPositionAfter','ck-suggestion-marker-','setTableRowHeader','name','parent','removeClass','mapper','_descriptionFactory','FORMAT_REGULAR_COLUMN','addClass','headingColumns','downcastDispatcher','start','commands','nodeAfter','locale','change','addMarker:suggestion','_splitMarkerName','getColumnIndexes','index','commandName','isBefore','childCount','FORMAT_REGULAR_ROW','markBlockFormat','getCellLocation','formatBlock','getChild','setAttribute','enableCommand','ck-suggestion-marker--active','includes','setTableColumnHeader','editing','createTableWalker','createPositionBefore','markerName'];(function(_0x5cead5,_0x39eb05){const _0xc1e2ab=function(_0x2fb32b){while(--_0x2fb32b){_0x5cead5['push'](_0x5cead5['shift']());}};_0xc1e2ab(++_0x39eb05);}(_0x39eb,0x1ea));const _0xc1e2=function(_0x5cead5,_0x39eb05){_0x5cead5=_0x5cead5-0x0;let _0xc1e2ab=_0x39eb[_0x5cead5];return _0xc1e2ab;};import{Plugin as _0x2cbc58}from'ckeditor5/src/core';import _0x27c7cf from'./table';import{getTranslation as _0x379514}from'../utils/common-translations';export default class pt extends _0x2cbc58{static get[_0xc1e2('0xa')](){return[_0x27c7cf];}[_0xc1e2('0xe')](){const _0x27ceef=this['editor'];if(!_0x27ceef[_0xc1e2('0x12')]['has'](_0xc1e2('0x1c')))return;const _0x311fe9=_0x27ceef[_0xc1e2('0x3d')],_0x35b5ff=_0x27ceef[_0xc1e2('0x12')][_0xc1e2('0x25')]('TrackChangesEditing'),_0x57632d=_0x27ceef[_0xc1e2('0x12')][_0xc1e2('0x25')](_0xc1e2('0x18')),_0x16704b=_0x27ceef[_0xc1e2('0x12')][_0xc1e2('0x25')](_0x27c7cf);function _0x3073ba({showActiveMarker:_0x5d3b18=!0x0,setDataAttribute:_0x1c010f=!0x0}={}){return(_0x84c151,_0x185995,_0x2b169c)=>{const {type:_0x240ad3,id:_0x3e1797}=_0x35b5ff[_0xc1e2('0x40')](_0x185995[_0xc1e2('0x1')]),_0x12f503=_0x35b5ff['getSuggestion'](_0x3e1797);if(!_0x12f503['data']||'setTableColumnHeader'!=_0x12f503[_0xc1e2('0x2c')][_0xc1e2('0x43')])return;if(_0x185995[_0xc1e2('0x17')])return void _0x84c151['stop']();if(!_0x2b169c[_0xc1e2('0xb')]['consume'](_0x185995[_0xc1e2('0x7')],_0x84c151[_0xc1e2('0x31')]))return;const _0x20a80a=_0x185995[_0xc1e2('0x7')][_0xc1e2('0x3a')][_0xc1e2('0x3c')],_0x5a810b=_0x185995[_0xc1e2('0x7')][_0xc1e2('0x22')][_0xc1e2('0x1e')],_0x2d1231=_0x20a80a[_0xc1e2('0x32')][_0xc1e2('0x32')],{column:_0x454034}=_0x57632d[_0xc1e2('0x48')](_0x20a80a),{column:_0x5236c1}=_0x57632d['getCellLocation'](_0x5a810b);for(let _0xaede0f=_0x454034;_0xaede0f<=_0x5236c1;_0xaede0f++){const _0x16304d=_0x57632d[_0xc1e2('0x51')](_0x2d1231,{'column':_0xaede0f,'includeAllSlots':!0x1});for(const _0xf56e63 of _0x16304d){const _0x3c379e=_0xf56e63[_0xc1e2('0x3')],_0x2a910f=_0x2b169c[_0xc1e2('0x34')][_0xc1e2('0x8')](_0x3c379e);_0x2b169c[_0xc1e2('0x19')][_0xc1e2('0x37')](_0xc1e2('0x2f')+_0x240ad3,_0x2a910f),_0x1c010f&&_0x2b169c[_0xc1e2('0x19')][_0xc1e2('0x4b')]('data-suggestion',_0x3e1797,_0x2a910f),_0x2b169c['mapper']['bindElementToMarker'](_0x2a910f,_0x185995['markerName']),_0x5d3b18&&(_0x35b5ff['activeMarkers'][_0xc1e2('0x4e')](_0x185995[_0xc1e2('0x1')])?_0x2b169c['writer'][_0xc1e2('0x37')](_0xc1e2('0x4d'),_0x2a910f):_0x2b169c['writer']['removeClass']('ck-suggestion-marker--active',_0x2a910f));}}};}_0x35b5ff['enableCommand'](_0xc1e2('0x30'),(_0x22dc6b,_0x3ec064)=>{const _0x4ba98e=_0x57632d[_0xc1e2('0x2a')](_0x27ceef[_0xc1e2('0x2d')][_0xc1e2('0xf')]['selection']),_0xc7328f=_0x57632d['getRowIndexes'](_0x4ba98e),_0x1eec20=_0x4ba98e[0x0][_0xc1e2('0x21')](_0xc1e2('0x10')),_0x3cff80=_0x1eec20[_0xc1e2('0x11')](_0xc1e2('0x26'))||0x0,_0x1e060a=_0x3ec064&&null!==_0x3ec064[_0xc1e2('0x2b')]?_0x3ec064[_0xc1e2('0x2b')]:!_0x27ceef[_0xc1e2('0x3b')]['get'](_0xc1e2('0x30'))[_0xc1e2('0x20')],_0x162daf=_0x1e060a?_0xc7328f[_0xc1e2('0x27')]:_0xc7328f[_0xc1e2('0x1b')],_0x59a839=_0x1eec20[_0xc1e2('0x4a')](_0x162daf);let _0x37107a;if(_0x1e060a){const _0x2e62bf=_0x1eec20[_0xc1e2('0x4a')](_0x3cff80);if(_0x59a839[_0xc1e2('0x42')]<_0x2e62bf[_0xc1e2('0x42')])return;_0x37107a=_0x27ceef[_0xc1e2('0x2d')][_0xc1e2('0x23')](_0x27ceef[_0xc1e2('0x2d')][_0xc1e2('0x0')](_0x2e62bf[_0xc1e2('0x4a')](0x0)),_0x27ceef['model'][_0xc1e2('0x2e')](_0x59a839[_0xc1e2('0x4a')](_0x59a839[_0xc1e2('0x45')]-0x1)));}else{const _0x3a48b3=_0x1eec20[_0xc1e2('0x4a')](_0x3cff80-0x1);if(!_0x3a48b3)return;_0x37107a=_0x27ceef[_0xc1e2('0x2d')][_0xc1e2('0x23')](_0x27ceef[_0xc1e2('0x2d')]['createPositionBefore'](_0x59a839['getChild'](0x0)),_0x27ceef[_0xc1e2('0x2d')][_0xc1e2('0x2e')](_0x3a48b3[_0xc1e2('0x4a')](_0x3a48b3[_0xc1e2('0x45')]-0x1)));}_0x27ceef[_0xc1e2('0x2d')][_0xc1e2('0x3e')](()=>{_0x35b5ff[_0xc1e2('0x47')](_0x37107a,{'commandName':_0xc1e2('0x30'),'commandParams':[{'forceValue':_0x1e060a}]},[],_0xc1e2('0x30'));});}),_0x35b5ff[_0xc1e2('0x4c')](_0xc1e2('0x4f'),(_0x40901e,_0x52900)=>{const _0x35d1bc=_0x27ceef['plugins']['get']('TableUtils'),_0x16c740=_0x35d1bc[_0xc1e2('0x2a')](_0x27ceef[_0xc1e2('0x2d')][_0xc1e2('0xf')][_0xc1e2('0x2')]),_0x18f5a=_0x35d1bc[_0xc1e2('0x41')](_0x16c740),_0x8ab1c1=_0x16c740[0x0][_0xc1e2('0x21')](_0xc1e2('0x10')),_0x2eb672=_0x8ab1c1['getAttribute'](_0xc1e2('0x38'))||0x0,_0x3a0ad9=_0x52900&&null!==_0x52900[_0xc1e2('0x2b')]?_0x52900[_0xc1e2('0x2b')]:!_0x27ceef[_0xc1e2('0x3b')]['get'](_0xc1e2('0x4f'))[_0xc1e2('0x20')];let _0x120038;const _0x5749a3=_0x8ab1c1[_0xc1e2('0x4a')](0x0),_0x169897=_0x3a0ad9?_0x18f5a['last']:_0x18f5a[_0xc1e2('0x1b')],_0x1b5aa5=_0x35d1bc[_0xc1e2('0x51')](_0x8ab1c1,{'startRow':0x0,'column':_0x169897,'includeAllSlots':!0x1}),_0x638e04=Array['from'](_0x1b5aa5)[0x0][_0xc1e2('0x3')];if(_0x3a0ad9){const _0x700d0a=_0x5749a3[_0xc1e2('0x4a')](_0x2eb672);if(_0x638e04[_0xc1e2('0x44')](_0x700d0a))return;_0x120038=_0x27ceef['model']['createRange'](_0x27ceef['model']['createPositionBefore'](_0x700d0a),_0x27ceef[_0xc1e2('0x2d')][_0xc1e2('0x2e')](_0x638e04));}else{const _0x137640=_0x5749a3[_0xc1e2('0x4a')](_0x2eb672-0x1);if(!_0x137640)return;_0x120038=_0x27ceef[_0xc1e2('0x2d')]['createRange'](_0x27ceef['model'][_0xc1e2('0x0')](_0x638e04),_0x27ceef[_0xc1e2('0x2d')][_0xc1e2('0x2e')](_0x137640));}_0x27ceef[_0xc1e2('0x2d')]['change'](()=>{_0x35b5ff['markBlockFormat'](_0x120038,{'commandName':_0xc1e2('0x4f'),'commandParams':[{'forceValue':_0x3a0ad9}]},[],_0xc1e2('0x4f'));});}),_0x27ceef[_0xc1e2('0x50')]['downcastDispatcher']['on']('addMarker:suggestion',_0x3073ba(),{'priority':'highest'}),_0x27ceef['data']['downcastDispatcher']['on'](_0xc1e2('0x3f'),(_0x320080,_0x4aa874,_0x3923ca)=>{_0x3923ca[_0xc1e2('0x9')]['showSuggestionHighlights']&&_0x3073ba({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x320080,_0x4aa874,_0x3923ca);},{'priority':_0xc1e2('0x28')}),_0x27ceef[_0xc1e2('0x50')][_0xc1e2('0x39')]['on'](_0xc1e2('0x16'),(_0x479db0,_0x25c1d9,_0x11df2c)=>{const {type:_0x4c375c,id:_0x507120}=_0x35b5ff[_0xc1e2('0x40')](_0x25c1d9['markerName']),_0x5eb15e=_0x35b5ff[_0xc1e2('0x6')](_0x507120);if(!_0x5eb15e[_0xc1e2('0x2c')]||_0xc1e2('0x4f')!=_0x5eb15e['data'][_0xc1e2('0x43')])return;const _0x3f6378=_0x11df2c['mapper'][_0xc1e2('0x15')](_0x25c1d9[_0xc1e2('0x1')]);if(_0x3f6378)for(const _0x198b39 of _0x3f6378)_0x11df2c[_0xc1e2('0x19')][_0xc1e2('0x33')](_0xc1e2('0x2f')+_0x4c375c,_0x198b39),_0x11df2c['writer']['removeClass'](_0xc1e2('0x4d'),_0x198b39),_0x11df2c[_0xc1e2('0x19')]['removeAttribute'](_0xc1e2('0x1a'),_0x198b39),_0x11df2c[_0xc1e2('0x34')]['unbindElementFromMarkerName'](_0x198b39,_0x25c1d9[_0xc1e2('0x1')]);},{'priority':_0xc1e2('0x28')}),_0x35b5ff[_0xc1e2('0x35')][_0xc1e2('0x1f')](_0x3437a9=>{const {data:_0x4f40d9}=_0x3437a9;if(_0x4f40d9){if(_0xc1e2('0x30')==_0x4f40d9[_0xc1e2('0x43')]){const _0x1945f4=_0x4f40d9[_0xc1e2('0x1d')][0x0]['forceValue'];return _0x12b4e9(_0x379514(_0x311fe9,_0x1945f4?_0xc1e2('0x4'):_0xc1e2('0x46')));}if(_0xc1e2('0x4f')==_0x4f40d9['commandName']){const _0x1172ca=_0x4f40d9[_0xc1e2('0x1d')][0x0][_0xc1e2('0x2b')];return _0x12b4e9(_0x379514(_0x311fe9,_0x1172ca?_0xc1e2('0x13'):_0xc1e2('0x36')));}}function _0x12b4e9(_0x377f78){return{'type':_0xc1e2('0xc'),'content':_0x379514(_0x311fe9,_0xc1e2('0xd'),_0x377f78)};}});const _0x1b694b=_0x16704b[_0xc1e2('0x24')]();_0x35b5ff[_0xc1e2('0x29')][_0xc1e2('0x14')](_0xc1e2('0x49'),_0xc1e2('0x30'),_0xc1e2('0x5'),_0x1b694b),_0x35b5ff['_suggestionFactory'][_0xc1e2('0x14')](_0xc1e2('0x49'),'setTableColumnHeader',_0xc1e2('0x5'),_0x1b694b);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x441a=['mergeTableCellUp','insertion','commands','type','containsRange','map','tableCell','filter','editor','markMultiRangeBlockFormat','deletion','createTableWalker','isInContent','createRangeOn','has','_tablePostFixingSubtypes','getRanges','trackChanges','splitTableCellVertically','add','push','_descriptionFactory','commandName','mergeTableCellDown','getSelectionAffectedTableCells','model','author','get','TableEditing','forceDefaultExecution','$graveyard','splitTableCellHorizontally','direction','locale','_areSelectedCellsMergable','getCellLocation','value','findAncestor','length','registerCustomCallback','highest','rootName','*Split\x20cell:*\x20horizontally','_suggestionFactory','*Merge\x20cells*','subType','refresh','cell','stop','mergeTableCellLeft','set:isEnabled','size','document','mergeTableCellRight','selection','enableCommand','mergeTableCells','table','_acceptFormatSuggestionCallbackFactory','TableUtils','root','plugins','element','getFirstPosition','change','requires','from','_isForcedDefaultExecutionBlock','registerDescriptionCallback','formatBlock','setSelection','markBlockFormat','low','fromRange','_areMergableCells','horizontally','format','detach','getSuggestions'];(function(_0x439d15,_0x441a48){const _0x174b21=function(_0x4e0322){while(--_0x4e0322){_0x439d15['push'](_0x439d15['shift']());}};_0x174b21(++_0x441a48);}(_0x441a,0x75));const _0x174b=function(_0x439d15,_0x441a48){_0x439d15=_0x439d15-0x0;let _0x174b21=_0x441a[_0x439d15];return _0x174b21;};import{Plugin as _0x3cceed}from'ckeditor5/src/core';import _0x51b1ed from'./table';import{LiveRange as _0x34ae36}from'ckeditor5/src/engine';import{getTranslation as _0x4b95e6}from'../utils/common-translations';export default class dt extends _0x3cceed{static get[_0x174b('0x1b')](){return[_0x51b1ed];}['afterInit'](){const _0x3e0d83=this[_0x174b('0x31')],_0x161c18=_0x3e0d83['model']['document'][_0x174b('0x10')],_0x2e6e84=_0x3e0d83[_0x174b('0x4a')];if(!_0x3e0d83[_0x174b('0x17')][_0x174b('0x37')](_0x174b('0x45')))return;const _0x39d337=_0x3e0d83[_0x174b('0x17')]['get']('TrackChangesEditing'),_0x191e43=_0x3e0d83['plugins'][_0x174b('0x44')](_0x174b('0x15')),_0x41ce6c=_0x3e0d83[_0x174b('0x17')][_0x174b('0x44')](_0x51b1ed);_0x41ce6c[_0x174b('0x38')][_0x174b('0x3d')]('mergeTableCells'),_0x39d337[_0x174b('0x11')](_0x174b('0x12'),()=>{const _0x2af318=_0x191e43[_0x174b('0x41')](_0x3e0d83[_0x174b('0x42')]['document']['selection']);_0x3e0d83[_0x174b('0x42')][_0x174b('0x1a')](()=>{_0x39d337[_0x174b('0x32')](_0x2af318,{'commandName':'mergeTableCells','commandParams':[]},[],'mergeTableCells');});}),_0x3e0d83[_0x174b('0x2b')][_0x174b('0x44')](_0x174b('0x12'))['on']('execute',(_0x224800,_0x18edc1)=>{_0x3e0d83[_0x174b('0x2b')]['get'](_0x174b('0x3a'))[_0x174b('0x4d')]&&(_0x18edc1[_0x174b('0x0')]>0x0&&_0x18edc1[_0x18edc1['length']-0x1]&&_0x18edc1[_0x18edc1[_0x174b('0x0')]-0x1][_0x174b('0x46')]||_0x39d337[_0x174b('0x1d')]||this['_areSelectedCellsMergable']()||_0x224800[_0x174b('0xa')]());},{'priority':_0x174b('0x2')});for(const _0x194f03 of[_0x174b('0x29'),_0x174b('0xf'),_0x174b('0x40'),'mergeTableCellLeft']){const _0x2f9ed5=_0x3e0d83[_0x174b('0x2b')][_0x174b('0x44')](_0x194f03);_0x39d337[_0x174b('0x11')](_0x194f03,()=>{const _0x2dbe2f=_0x3e0d83['model'][_0x174b('0xe')][_0x174b('0x10')][_0x174b('0x19')]()['getAncestors']()['find'](_0x141163=>_0x141163['is'](_0x174b('0x18'),_0x174b('0x2f'))),_0xfa6da1=_0x2f9ed5[_0x174b('0x4d')];_0x3e0d83[_0x174b('0x42')][_0x174b('0x1a')](()=>{_0x39d337[_0x174b('0x32')]([_0x2dbe2f,_0xfa6da1],{'commandName':_0x174b('0x12'),'commandParams':[]},[],_0x174b('0x12'));});});}for(const _0x3c34f9 of['splitTableCellVertically','splitTableCellHorizontally']){const _0x334ffa=_0x3e0d83[_0x174b('0x2b')][_0x174b('0x44')](_0x3c34f9);_0x39d337[_0x174b('0x11')](_0x3c34f9,()=>{const _0x454d2f=_0x191e43[_0x174b('0x41')](_0x3e0d83[_0x174b('0x42')]['document']['selection'])[0x0],_0x3b7386=_0x454d2f[_0x174b('0x4e')](_0x174b('0x13')),{column:_0x4980a3,row:_0x38f097}=_0x191e43[_0x174b('0x4c')](_0x454d2f);let _0x2235f0=[];if(_0x174b('0x25')==_0x334ffa[_0x174b('0x49')]){const _0x546f20=_0x191e43['createTableWalker'](_0x3b7386,{'startRow':_0x38f097,'endRow':_0x38f097,'includeAllSlots':!0x0});_0x2235f0=Array[_0x174b('0x1c')](_0x546f20)[_0x174b('0x2e')](_0x5d0877=>_0x5d0877[_0x174b('0x9')]);}else{const _0x17faeb=_0x191e43[_0x174b('0x34')](_0x3b7386,{'column':_0x4980a3,'includeAllSlots':!0x0});_0x2235f0=Array[_0x174b('0x1c')](_0x17faeb)['map'](_0x559601=>_0x559601['cell']);}_0x3e0d83['model']['change'](_0x42266d=>{_0x39d337[_0x174b('0x21')](_0x42266d['createRangeOn'](_0x454d2f),{'commandName':_0x3c34f9,'commandParams':[]},_0x2235f0,_0x3c34f9);});});}_0x39d337[_0x174b('0x3e')][_0x174b('0x1e')](_0x10e744=>{const {data:_0x573451}=_0x10e744;if(_0x573451)return _0x174b('0x12')==_0x573451[_0x174b('0x3f')]?{'type':_0x174b('0x26'),'content':_0x4b95e6(_0x2e6e84,_0x174b('0x6'))}:void 0x0;}),_0x39d337[_0x174b('0x3e')]['registerDescriptionCallback'](_0x1f946a=>{const {data:_0x6e6b37}=_0x1f946a;if(_0x6e6b37)return _0x174b('0x3b')==_0x6e6b37[_0x174b('0x3f')]?{'type':_0x174b('0x26'),'content':_0x4b95e6(_0x2e6e84,'*Split\x20cell:*\x20vertically')}:_0x174b('0x48')==_0x6e6b37[_0x174b('0x3f')]?{'type':_0x174b('0x26'),'content':_0x4b95e6(_0x2e6e84,_0x174b('0x4'))}:void 0x0;});const _0x39b518=_0x41ce6c[_0x174b('0x14')]();for(const _0x47d766 of[_0x174b('0x29'),_0x174b('0xf'),_0x174b('0x40'),_0x174b('0xb')])_0x39d337[_0x174b('0x5')][_0x174b('0x1')](_0x174b('0x1f'),_0x47d766,'accept',_0x39b518);for(const _0x270b3f of['splitTableCellVertically',_0x174b('0x48')])_0x39d337[_0x174b('0x5')][_0x174b('0x1')](_0x174b('0x1f'),_0x270b3f,'accept',_0x39b518);_0x39d337[_0x174b('0x5')][_0x174b('0x1')](_0x174b('0x1f'),_0x174b('0x12'),'accept',_0x102af5=>{_0x3e0d83[_0x174b('0x42')]['change'](_0x22765a=>{const _0x162927=Array[_0x174b('0x1c')](_0x161c18[_0x174b('0x39')]())[_0x174b('0x2e')](_0x339706=>_0x34ae36[_0x174b('0x23')](_0x339706));_0x22765a[_0x174b('0x20')](_0x102af5),_0x3e0d83[_0x174b('0x2b')][_0x174b('0x44')](_0x174b('0x12'))[_0x174b('0x8')](),_0x3e0d83['execute']('mergeTableCells',{'forceDefaultExecution':!0x0});const _0x4828a6=_0x162927[_0x174b('0x30')](_0x16d880=>_0x174b('0x47')!=_0x16d880[_0x174b('0x16')][_0x174b('0x3')]);_0x4828a6['length']>0x0&&_0x22765a[_0x174b('0x20')](_0x4828a6);for(const _0x307eac of _0x162927)_0x307eac[_0x174b('0x27')]();});});for(const _0x4ea006 of['mergeTableCellUp',_0x174b('0x40'),'mergeTableCellLeft',_0x174b('0xf')]){const _0x369616=_0x3e0d83['commands'][_0x174b('0x44')](_0x4ea006);_0x369616['on'](_0x174b('0xc'),(_0x722e03,_0x428fdb,_0x431192)=>{if(_0x431192){const _0x7551f4=_0x3e0d83[_0x174b('0x42')][_0x174b('0xe')]['selection'][_0x174b('0x19')]()['getAncestors']()['find'](_0x5bced6=>_0x5bced6['is'](_0x174b('0x18'),_0x174b('0x2f')));this['_areMergableCells'](_0x369616[_0x174b('0x4d')],_0x7551f4)||(_0x722e03['return']=!0x1,_0x722e03[_0x174b('0xa')]());}},{'priority':_0x174b('0x22')});}}[_0x174b('0x4b')](){const _0x2eec9a=this[_0x174b('0x31')][_0x174b('0x2b')][_0x174b('0x44')](_0x174b('0x12')),_0x4283ae=this[_0x174b('0x31')][_0x174b('0x17')][_0x174b('0x44')](_0x174b('0x15'));if(!_0x2eec9a['isEnabled'])return!0x1;const _0x21d9c3=_0x4283ae[_0x174b('0x41')](this[_0x174b('0x31')][_0x174b('0x42')]['document']['selection']);for(const _0x84b43f of _0x21d9c3)for(const _0x1c91aa of _0x21d9c3)if(_0x84b43f!=_0x1c91aa&&!this['_areMergableCells'](_0x84b43f,_0x1c91aa))return!0x1;return!0x0;}[_0x174b('0x24')](_0x5adfd4,_0x41a987){const _0x1d65f5=this[_0x174b('0x31')]['plugins'][_0x174b('0x44')]('TrackChangesEditing'),_0x1f4244=this[_0x174b('0x31')]['model'][_0x174b('0x36')](_0x5adfd4),_0x4863ba=this[_0x174b('0x31')]['model']['createRangeOn'](_0x41a987),_0x3d051a=new Set(),_0x1ea62a=new Set();for(const _0x41110c of _0x1d65f5[_0x174b('0x28')]())if((_0x174b('0x2a')==_0x41110c['type']||_0x174b('0x33')==_0x41110c[_0x174b('0x2c')]||'mergeTableCells'==_0x41110c[_0x174b('0x7')])&&_0x41110c[_0x174b('0x35')])for(const _0x23eefe of _0x41110c['getRanges']())_0x23eefe[_0x174b('0x2d')](_0x1f4244,!0x0)&&_0x3d051a[_0x174b('0x3c')](_0x41110c[_0x174b('0x2c')]+':'+_0x41110c[_0x174b('0x43')]['id']),_0x23eefe[_0x174b('0x2d')](_0x4863ba,!0x0)&&_0x1ea62a[_0x174b('0x3c')](_0x41110c[_0x174b('0x2c')]+':'+_0x41110c[_0x174b('0x43')]['id']);if(_0x3d051a['size']!=_0x1ea62a[_0x174b('0xd')])return!0x1;for(const _0xe1a99e of _0x3d051a)if(!_0x1ea62a['has'](_0xe1a99e))return!0x1;return!0x0;}}
23
+ const _0x4bab=['get','getAncestors','createTableWalker','plugins','author','format','cell','trackChanges','markBlockFormat','has','markMultiRangeBlockFormat','_descriptionFactory','find','horizontally','containsRange','mergeTableCells','type','filter','_acceptFormatSuggestionCallbackFactory','deletion','accept','forceDefaultExecution','_suggestionFactory','_tablePostFixingSubtypes','editor','selection','setSelection','TableUtils','length','getSelectionAffectedTableCells','mergeTableCellRight','afterInit','low','isEnabled','document','*Merge\x20cells*','findAncestor','direction','registerCustomCallback','mergeTableCellDown','*Split\x20cell:*\x20vertically','highest','isInContent','mergeTableCellLeft','element','locale','map','commands','TrackChangesEditing','execute','_areMergableCells','value','from','add','commandName','stop','_isForcedDefaultExecutionBlock','TableEditing','getFirstPosition','mergeTableCellUp','push','getRanges','size','formatBlock','root','enableCommand','getCellLocation','fromRange','detach','_areSelectedCellsMergable','tableCell','model','splitTableCellVertically','requires','getSuggestions','change','splitTableCellHorizontally','createRangeOn','registerDescriptionCallback'];(function(_0x30fe5f,_0x4bab7f){const _0x2dc01d=function(_0x3b3fa7){while(--_0x3b3fa7){_0x30fe5f['push'](_0x30fe5f['shift']());}};_0x2dc01d(++_0x4bab7f);}(_0x4bab,0x131));const _0x2dc0=function(_0x30fe5f,_0x4bab7f){_0x30fe5f=_0x30fe5f-0x0;let _0x2dc01d=_0x4bab[_0x30fe5f];return _0x2dc01d;};import{Plugin as _0x9994c6}from'ckeditor5/src/core';import _0x5a9188 from'./table';import{LiveRange as _0x516c8f}from'ckeditor5/src/engine';import{getTranslation as _0x108a3c}from'../utils/common-translations';export default class dt extends _0x9994c6{static get[_0x2dc0('0x5')](){return[_0x5a9188];}[_0x2dc0('0x2a')](){const _0x1b6288=this['editor'],_0x2cba1f=_0x1b6288[_0x2dc0('0x3')][_0x2dc0('0x2d')][_0x2dc0('0x24')],_0x9dc3b6=_0x1b6288[_0x2dc0('0x38')];if(!_0x1b6288[_0x2dc0('0xe')][_0x2dc0('0x14')](_0x2dc0('0x44')))return;const _0x3fbbda=_0x1b6288[_0x2dc0('0xe')][_0x2dc0('0xb')](_0x2dc0('0x3b')),_0x23d8ca=_0x1b6288[_0x2dc0('0xe')][_0x2dc0('0xb')](_0x2dc0('0x26')),_0x486813=_0x1b6288[_0x2dc0('0xe')][_0x2dc0('0xb')](_0x5a9188);_0x486813[_0x2dc0('0x22')][_0x2dc0('0x47')](_0x2dc0('0x1a')),_0x3fbbda[_0x2dc0('0x4c')](_0x2dc0('0x1a'),()=>{const _0x84304=_0x23d8ca[_0x2dc0('0x28')](_0x1b6288[_0x2dc0('0x3')][_0x2dc0('0x2d')][_0x2dc0('0x24')]);_0x1b6288['model'][_0x2dc0('0x7')](()=>{_0x3fbbda[_0x2dc0('0x15')](_0x84304,{'commandName':_0x2dc0('0x1a'),'commandParams':[]},[],'mergeTableCells');});}),_0x1b6288[_0x2dc0('0x3a')]['get'](_0x2dc0('0x1a'))['on'](_0x2dc0('0x3c'),(_0x93d240,_0x288fa3)=>{_0x1b6288[_0x2dc0('0x3a')][_0x2dc0('0xb')](_0x2dc0('0x12'))[_0x2dc0('0x3e')]&&(_0x288fa3[_0x2dc0('0x27')]>0x0&&_0x288fa3[_0x288fa3[_0x2dc0('0x27')]-0x1]&&_0x288fa3[_0x288fa3[_0x2dc0('0x27')]-0x1][_0x2dc0('0x20')]||_0x3fbbda[_0x2dc0('0x43')]||this[_0x2dc0('0x1')]()||_0x93d240[_0x2dc0('0x42')]());},{'priority':_0x2dc0('0x34')});for(const _0x62c9bb of[_0x2dc0('0x46'),_0x2dc0('0x29'),'mergeTableCellDown',_0x2dc0('0x36')]){const _0x269eaf=_0x1b6288['commands']['get'](_0x62c9bb);_0x3fbbda['enableCommand'](_0x62c9bb,()=>{const _0x55570f=_0x1b6288[_0x2dc0('0x3')][_0x2dc0('0x2d')][_0x2dc0('0x24')][_0x2dc0('0x45')]()['getAncestors']()[_0x2dc0('0x17')](_0x3e46c7=>_0x3e46c7['is'](_0x2dc0('0x37'),_0x2dc0('0x2'))),_0x5e309c=_0x269eaf[_0x2dc0('0x3e')];_0x1b6288['model'][_0x2dc0('0x7')](()=>{_0x3fbbda[_0x2dc0('0x15')]([_0x55570f,_0x5e309c],{'commandName':_0x2dc0('0x1a'),'commandParams':[]},[],_0x2dc0('0x1a'));});});}for(const _0x153576 of['splitTableCellVertically',_0x2dc0('0x8')]){const _0x863154=_0x1b6288[_0x2dc0('0x3a')][_0x2dc0('0xb')](_0x153576);_0x3fbbda[_0x2dc0('0x4c')](_0x153576,()=>{const _0x2e091e=_0x23d8ca[_0x2dc0('0x28')](_0x1b6288['model']['document']['selection'])[0x0],_0x2a0c75=_0x2e091e[_0x2dc0('0x2f')]('table'),{column:_0x86efba,row:_0x301a08}=_0x23d8ca[_0x2dc0('0x4d')](_0x2e091e);let _0xeb1f6d=[];if(_0x2dc0('0x18')==_0x863154[_0x2dc0('0x30')]){const _0x59f451=_0x23d8ca['createTableWalker'](_0x2a0c75,{'startRow':_0x301a08,'endRow':_0x301a08,'includeAllSlots':!0x0});_0xeb1f6d=Array['from'](_0x59f451)[_0x2dc0('0x39')](_0x14dff6=>_0x14dff6[_0x2dc0('0x11')]);}else{const _0x2405a7=_0x23d8ca[_0x2dc0('0xd')](_0x2a0c75,{'column':_0x86efba,'includeAllSlots':!0x0});_0xeb1f6d=Array[_0x2dc0('0x3f')](_0x2405a7)[_0x2dc0('0x39')](_0x569725=>_0x569725[_0x2dc0('0x11')]);}_0x1b6288[_0x2dc0('0x3')][_0x2dc0('0x7')](_0x3cb6ab=>{_0x3fbbda[_0x2dc0('0x13')](_0x3cb6ab[_0x2dc0('0x9')](_0x2e091e),{'commandName':_0x153576,'commandParams':[]},_0xeb1f6d,_0x153576);});});}_0x3fbbda[_0x2dc0('0x16')][_0x2dc0('0xa')](_0x172319=>{const {data:_0x2ae71f}=_0x172319;if(_0x2ae71f)return _0x2dc0('0x1a')==_0x2ae71f[_0x2dc0('0x41')]?{'type':_0x2dc0('0x10'),'content':_0x108a3c(_0x9dc3b6,_0x2dc0('0x2e'))}:void 0x0;}),_0x3fbbda['_descriptionFactory'][_0x2dc0('0xa')](_0x569bd0=>{const {data:_0xaa952f}=_0x569bd0;if(_0xaa952f)return _0x2dc0('0x4')==_0xaa952f[_0x2dc0('0x41')]?{'type':_0x2dc0('0x10'),'content':_0x108a3c(_0x9dc3b6,_0x2dc0('0x33'))}:_0x2dc0('0x8')==_0xaa952f[_0x2dc0('0x41')]?{'type':_0x2dc0('0x10'),'content':_0x108a3c(_0x9dc3b6,'*Split\x20cell:*\x20horizontally')}:void 0x0;});const _0xa19f8=_0x486813[_0x2dc0('0x1d')]();for(const _0x3ec555 of[_0x2dc0('0x46'),'mergeTableCellRight','mergeTableCellDown',_0x2dc0('0x36')])_0x3fbbda[_0x2dc0('0x21')]['registerCustomCallback']('formatBlock',_0x3ec555,_0x2dc0('0x1f'),_0xa19f8);for(const _0x55c10a of[_0x2dc0('0x4'),'splitTableCellHorizontally'])_0x3fbbda[_0x2dc0('0x21')][_0x2dc0('0x31')](_0x2dc0('0x4a'),_0x55c10a,'accept',_0xa19f8);_0x3fbbda[_0x2dc0('0x21')]['registerCustomCallback']('formatBlock','mergeTableCells',_0x2dc0('0x1f'),_0x4110c5=>{_0x1b6288[_0x2dc0('0x3')]['change'](_0xddab0f=>{const _0x1bede4=Array[_0x2dc0('0x3f')](_0x2cba1f[_0x2dc0('0x48')]())[_0x2dc0('0x39')](_0x27c8a0=>_0x516c8f[_0x2dc0('0x4e')](_0x27c8a0));_0xddab0f[_0x2dc0('0x25')](_0x4110c5),_0x1b6288['commands'][_0x2dc0('0xb')](_0x2dc0('0x1a'))['refresh'](),_0x1b6288[_0x2dc0('0x3c')](_0x2dc0('0x1a'),{'forceDefaultExecution':!0x0});const _0x50bc66=_0x1bede4[_0x2dc0('0x1c')](_0x34b5ee=>'$graveyard'!=_0x34b5ee[_0x2dc0('0x4b')]['rootName']);_0x50bc66[_0x2dc0('0x27')]>0x0&&_0xddab0f['setSelection'](_0x50bc66);for(const _0x50e5d6 of _0x1bede4)_0x50e5d6[_0x2dc0('0x0')]();});});for(const _0x1ef24e of['mergeTableCellUp',_0x2dc0('0x32'),_0x2dc0('0x36'),_0x2dc0('0x29')]){const _0x538b63=_0x1b6288[_0x2dc0('0x3a')]['get'](_0x1ef24e);_0x538b63['on']('set:isEnabled',(_0x1e8519,_0x2a07c3,_0x362a06)=>{if(_0x362a06){const _0x45218c=_0x1b6288['model'][_0x2dc0('0x2d')]['selection']['getFirstPosition']()[_0x2dc0('0xc')]()[_0x2dc0('0x17')](_0x108685=>_0x108685['is'](_0x2dc0('0x37'),_0x2dc0('0x2')));this[_0x2dc0('0x3d')](_0x538b63[_0x2dc0('0x3e')],_0x45218c)||(_0x1e8519['return']=!0x1,_0x1e8519[_0x2dc0('0x42')]());}},{'priority':_0x2dc0('0x2b')});}}[_0x2dc0('0x1')](){const _0x9759ed=this[_0x2dc0('0x23')][_0x2dc0('0x3a')]['get'](_0x2dc0('0x1a')),_0xfff20d=this['editor']['plugins'][_0x2dc0('0xb')]('TableUtils');if(!_0x9759ed[_0x2dc0('0x2c')])return!0x1;const _0x230f0f=_0xfff20d[_0x2dc0('0x28')](this[_0x2dc0('0x23')]['model'][_0x2dc0('0x2d')][_0x2dc0('0x24')]);for(const _0x41809d of _0x230f0f)for(const _0x4395c7 of _0x230f0f)if(_0x41809d!=_0x4395c7&&!this['_areMergableCells'](_0x41809d,_0x4395c7))return!0x1;return!0x0;}[_0x2dc0('0x3d')](_0x234572,_0x4ea057){const _0x1c7b0c=this[_0x2dc0('0x23')]['plugins']['get'](_0x2dc0('0x3b')),_0x3abad6=this[_0x2dc0('0x23')]['model'][_0x2dc0('0x9')](_0x234572),_0x4386d3=this['editor']['model']['createRangeOn'](_0x4ea057),_0x54a4f8=new Set(),_0x4ec27f=new Set();for(const _0x2da2e5 of _0x1c7b0c[_0x2dc0('0x6')]())if(('insertion'==_0x2da2e5['type']||_0x2dc0('0x1e')==_0x2da2e5[_0x2dc0('0x1b')]||'mergeTableCells'==_0x2da2e5['subType'])&&_0x2da2e5[_0x2dc0('0x35')])for(const _0x304489 of _0x2da2e5['getRanges']())_0x304489['containsRange'](_0x3abad6,!0x0)&&_0x54a4f8[_0x2dc0('0x40')](_0x2da2e5[_0x2dc0('0x1b')]+':'+_0x2da2e5[_0x2dc0('0xf')]['id']),_0x304489[_0x2dc0('0x19')](_0x4386d3,!0x0)&&_0x4ec27f[_0x2dc0('0x40')](_0x2da2e5[_0x2dc0('0x1b')]+':'+_0x2da2e5[_0x2dc0('0xf')]['id']);if(_0x54a4f8[_0x2dc0('0x49')]!=_0x4ec27f[_0x2dc0('0x49')])return!0x1;for(const _0x6033ab of _0x54a4f8)if(!_0x4ec27f['has'](_0x6033ab))return!0x1;return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1138=['registerElementLabel','editor','_descriptionFactory','tableOfContents','get','TrackChangesEditing','plugins','insertTableOfContents','locale','ELEMENT_TABLE_OF_CONTENTS'];(function(_0x44f92e,_0x11381c){const _0x32dde0=function(_0xf74fe1){while(--_0xf74fe1){_0x44f92e['push'](_0x44f92e['shift']());}};_0x32dde0(++_0x11381c);}(_0x1138,0x186));const _0x32dd=function(_0x44f92e,_0x11381c){_0x44f92e=_0x44f92e-0x0;let _0x32dde0=_0x1138[_0x44f92e];return _0x32dde0;};import{Plugin as _0x1f58ab}from'ckeditor5/src/core';import{getTranslation as _0xb0b70f}from'../utils/common-translations';export default class bt extends _0x1f58ab{['afterInit'](){const _0x4684dd=this[_0x32dd('0x1')];if(!_0x4684dd['commands'][_0x32dd('0x4')](_0x32dd('0x7')))return;_0x4684dd[_0x32dd('0x6')][_0x32dd('0x4')](_0x32dd('0x5'))['enableCommand'](_0x32dd('0x7'));const _0x5e5e88=_0x4684dd[_0x32dd('0x6')][_0x32dd('0x4')](_0x32dd('0x5')),_0x346459=_0x4684dd[_0x32dd('0x8')];_0x5e5e88[_0x32dd('0x2')][_0x32dd('0x0')](_0x32dd('0x3'),_0x518b4b=>_0xb0b70f(_0x346459,_0x32dd('0x9'),_0x518b4b));}}
23
+ const _0x381f=['plugins','enableCommand','registerElementLabel','get','tableOfContents','_descriptionFactory','TrackChangesEditing','afterInit','editor','insertTableOfContents'];(function(_0x46eb8c,_0x381f66){const _0x20f0df=function(_0x18a58d){while(--_0x18a58d){_0x46eb8c['push'](_0x46eb8c['shift']());}};_0x20f0df(++_0x381f66);}(_0x381f,0x18e));const _0x20f0=function(_0x46eb8c,_0x381f66){_0x46eb8c=_0x46eb8c-0x0;let _0x20f0df=_0x381f[_0x46eb8c];return _0x20f0df;};import{Plugin as _0x2b9075}from'ckeditor5/src/core';import{getTranslation as _0x25c514}from'../utils/common-translations';export default class bt extends _0x2b9075{[_0x20f0('0x9')](){const _0x49178a=this[_0x20f0('0x0')];if(!_0x49178a['commands']['get'](_0x20f0('0x1')))return;_0x49178a[_0x20f0('0x2')][_0x20f0('0x5')](_0x20f0('0x8'))[_0x20f0('0x3')](_0x20f0('0x1'));const _0x1f0e4f=_0x49178a[_0x20f0('0x2')]['get'](_0x20f0('0x8')),_0x5c95ed=_0x49178a['locale'];_0x1f0e4f[_0x20f0('0x7')][_0x20f0('0x4')](_0x20f0('0x6'),_0x1c620d=>_0x25c514(_0x5c95ed,'ELEMENT_TABLE_OF_CONTENTS',_0x1c620d));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x180f=['tableProperties','handleSuggestionDescription','tableCellHorizontalAlignment','_descriptionFactory','join','tableBorderStyle','subType','tableWidth','discard','findAncestor','model','TrackChangesTableProperties','pluginName','enableCommand','registerCustomCallback','has','*Format:*\x20change\x20table\x20properties','tableCellPadding','locale','format','selection','setAttribute','tableCellVerticalAlignment','editor','TableUtils','getSuggestionCallback','accept','removeAttribute','tableAlignment','_getSuggestion','getFirstPosition','TableCellPropertiesEditing','tableCellHeight','tableBackgroundColor','handleDiscardAction','TrackChangesEditing','getSuggestions','tableBorderWidth','tableCellBorderStyle','tableCellProperties','enqueueChange','table','tableCellBackgroundColor','*Format:*\x20change\x20table\x20cell\x20properties','markBlockFormat','TablePropertiesEditing','afterInit','commandParams','_suggestionFactory','_handlePropertyChange','getAttribute','nodeAfter','registerDescriptionCallback','get','tableCellBorderWidth','data','tableHeight','plugins','batch','tableBorderColor','tableCellBorderColor','formatBlock'];(function(_0xd12bba,_0x180f6d){const _0x541006=function(_0x366203){while(--_0x366203){_0xd12bba['push'](_0xd12bba['shift']());}};_0x541006(++_0x180f6d);}(_0x180f,0x9a));const _0x5410=function(_0xd12bba,_0x180f6d){_0xd12bba=_0xd12bba-0x0;let _0x541006=_0x180f[_0xd12bba];return _0x541006;};import{Plugin as _0x10454e}from'ckeditor5/src/core';import{getTranslation as _0x552fa9}from'../utils/common-translations';export default class Ct extends _0x10454e{constructor(_0x160508){super(_0x160508),this[_0x5410('0x20')]=[_0x5410('0x1d'),_0x5410('0x25'),_0x5410('0x7'),_0x5410('0x3c'),_0x5410('0x27'),_0x5410('0x1a'),_0x5410('0x3')],this['tableCellProperties']=[_0x5410('0x1e'),_0x5410('0x8'),_0x5410('0x18'),_0x5410('0x31'),'tableCellWidth',_0x5410('0x2'),_0x5410('0xc'),_0x5410('0x22'),_0x5410('0x36')];}static get[_0x5410('0x2c')](){return _0x5410('0x2b');}[_0x5410('0x10')](){const _0x587a01=this['editor'][_0x5410('0x1b')][_0x5410('0x17')](_0x5410('0x5'));if(this['editor']['plugins'][_0x5410('0x2f')](_0x5410('0xf'))){for(const _0x4b350f of this[_0x5410('0x20')])_0x587a01[_0x5410('0x2d')](_0x4b350f,(_0x540806,_0x5cbac1)=>{const _0x2ca193=this[_0x5410('0x37')][_0x5410('0x2a')]['document']['selection'][_0x5410('0x0')]()[_0x5410('0x29')](_0x5410('0xb'));this['_handlePropertyChange'](_0x4b350f,[_0x2ca193],this[_0x5410('0x20')],'tableProperties',_0x540806,_0x5cbac1);});_0x587a01[_0x5410('0x12')][_0x5410('0x2e')](_0x5410('0x1f'),'tableProperties',_0x5410('0x3a'),_0x587a01[_0x5410('0x12')][_0x5410('0x39')]('formatBlock',null,_0x5410('0x28'))),_0x587a01['_suggestionFactory'][_0x5410('0x2e')]('formatBlock',_0x5410('0x20'),_0x5410('0x28'),(_0x3321d3,_0x7841ae)=>this[_0x5410('0x4')](this['tableProperties'],_0x3321d3,_0x7841ae)),_0x587a01[_0x5410('0x12')][_0x5410('0x2e')](_0x5410('0x1f'),'tableProperties',_0x5410('0x24'),()=>!0x1);}if(this[_0x5410('0x37')][_0x5410('0x1b')]['has'](_0x5410('0x1'))){for(const _0x1b52fc of this[_0x5410('0x9')])_0x587a01[_0x5410('0x2d')](_0x1b52fc,(_0x525cb7,_0x2c1dea)=>{const _0x5ccb68=this[_0x5410('0x37')][_0x5410('0x1b')][_0x5410('0x17')](_0x5410('0x38'))['getSelectionAffectedTableCells'](this[_0x5410('0x37')][_0x5410('0x2a')]['document'][_0x5410('0x34')]);this[_0x5410('0x13')](_0x1b52fc,_0x5ccb68,this[_0x5410('0x9')],_0x5410('0x9'),_0x525cb7,_0x2c1dea);});_0x587a01[_0x5410('0x12')]['registerCustomCallback']('formatBlock',_0x5410('0x9'),_0x5410('0x3a'),_0x587a01[_0x5410('0x12')][_0x5410('0x39')](_0x5410('0x1f'),null,_0x5410('0x28'))),_0x587a01[_0x5410('0x12')][_0x5410('0x2e')](_0x5410('0x1f'),_0x5410('0x9'),'discard',(_0x40f720,_0x5d5e27)=>this[_0x5410('0x4')](this['tableCellProperties'],_0x40f720,_0x5d5e27)),_0x587a01['_suggestionFactory'][_0x5410('0x2e')]('formatBlock',_0x5410('0x9'),_0x5410('0x24'),()=>!0x1);}_0x587a01[_0x5410('0x23')][_0x5410('0x16')](_0x5434fd=>this[_0x5410('0x21')](_0x5434fd));}[_0x5410('0x13')](_0x40f3e7,_0x46b6d0,_0x44df16,_0xe72943,_0x520c37,_0x3ce632){const _0x431e51=this[_0x5410('0x37')][_0x5410('0x1b')][_0x5410('0x17')]('TrackChangesEditing');this[_0x5410('0x37')][_0x5410('0x2a')][_0x5410('0xa')](_0x3ce632[_0x5410('0x1c')],()=>{for(const _0x106035 of _0x46b6d0){if(this[_0x5410('0x3d')](_0x106035,_0xe72943))_0x520c37(_0x3ce632);else{const _0x46e427={};for(const _0x160782 of _0x44df16){const _0x2983c1=_0x106035[_0x5410('0x14')](_0x160782);void 0x0!==_0x2983c1&&(_0x46e427[_0x160782]=_0x2983c1);}_0x520c37(_0x3ce632),_0x431e51[_0x5410('0xe')](_0x106035,{'commandParams':[_0x46e427]},[],_0xe72943);}}});}[_0x5410('0x4')](_0xce9aed,_0x142f5a,_0x4742eb){const _0x284f62=_0x142f5a[0x0]['start'][_0x5410('0x15')],_0x2f8abc=_0x4742eb[_0x5410('0x11')][0x0];this[_0x5410('0x37')]['model']['change'](_0x5d8fa1=>{for(const _0x188381 of _0xce9aed)void 0x0!==_0x2f8abc[_0x188381]?_0x5d8fa1[_0x5410('0x35')](_0x188381,_0x2f8abc[_0x188381],_0x284f62):_0x5d8fa1[_0x5410('0x3b')](_0x188381,_0x284f62);});}[_0x5410('0x21')](_0x52294d){if(_0x52294d[_0x5410('0x19')])switch(_0x52294d[_0x5410('0x26')]){case _0x5410('0x20'):return{'type':_0x5410('0x33'),'content':_0x552fa9(this['editor'][_0x5410('0x32')],_0x5410('0x30'))};case _0x5410('0x9'):return{'type':'format','content':_0x552fa9(this['editor'][_0x5410('0x32')],_0x5410('0xd'))};}}[_0x5410('0x3d')](_0xe812f6,_0x5ed340){const _0x380903=this[_0x5410('0x37')]['plugins'][_0x5410('0x17')]('TrackChangesEditing');for(const _0x4f0082 of _0x380903[_0x5410('0x6')]({'skipNotAttached':!0x0})){const _0x4cccad=_0x4f0082['getContainedElement']();if(_0x4f0082[_0x5410('0x26')]===_0x5ed340&&_0x4cccad===_0xe812f6)return _0x4f0082;}return null;}}
23
+ const _0x3672=['tableCellBorderWidth','document','removeAttribute','nodeAfter','getSuggestionCallback','tableCellHeight','table','locale','TableUtils','*Format:*\x20change\x20table\x20cell\x20properties','plugins','tableCellVerticalAlignment','accept','commandParams','getSuggestions','getFirstPosition','enableCommand','*Format:*\x20change\x20table\x20properties','tableProperties','tableCellBackgroundColor','tableBorderColor','tableCellProperties','batch','handleDiscardAction','model','has','findAncestor','join','selection','tableCellHorizontalAlignment','tableCellBorderStyle','editor','registerDescriptionCallback','get','_descriptionFactory','tableBorderStyle','_handlePropertyChange','pluginName','TrackChangesEditing','tableWidth','registerCustomCallback','subType','_suggestionFactory','handleSuggestionDescription','setAttribute','tableHeight','formatBlock','TablePropertiesEditing','getContainedElement','discard','data','start','tableCellWidth','tableCellBorderColor','markBlockFormat'];(function(_0x4853ef,_0x3672c3){const _0x20d4f7=function(_0x84432b){while(--_0x84432b){_0x4853ef['push'](_0x4853ef['shift']());}};_0x20d4f7(++_0x3672c3);}(_0x3672,0x194));const _0x20d4=function(_0x4853ef,_0x3672c3){_0x4853ef=_0x4853ef-0x0;let _0x20d4f7=_0x3672[_0x4853ef];return _0x20d4f7;};import{Plugin as _0x780be4}from'ckeditor5/src/core';import{getTranslation as _0x368bed}from'../utils/common-translations';export default class Ct extends _0x780be4{constructor(_0x5c86d2){super(_0x5c86d2),this[_0x20d4('0x36')]=[_0x20d4('0x1'),_0x20d4('0x10'),'tableBorderWidth','tableAlignment',_0x20d4('0x14'),_0x20d4('0x1a'),'tableBackgroundColor'],this[_0x20d4('0x2')]=[_0x20d4('0x22'),_0x20d4('0xb'),_0x20d4('0x24'),'tableCellPadding',_0x20d4('0x21'),_0x20d4('0x29'),_0x20d4('0x0'),_0x20d4('0xa'),_0x20d4('0x2f')];}static get[_0x20d4('0x12')](){return'TrackChangesTableProperties';}['afterInit'](){const _0x21434e=this['editor'][_0x20d4('0x2e')][_0x20d4('0xe')](_0x20d4('0x13'));if(this[_0x20d4('0xc')][_0x20d4('0x2e')][_0x20d4('0x6')](_0x20d4('0x1c'))){for(const _0x173153 of this['tableProperties'])_0x21434e[_0x20d4('0x34')](_0x173153,(_0x514141,_0x646bd6)=>{const _0xb44b08=this[_0x20d4('0xc')]['model'][_0x20d4('0x25')][_0x20d4('0x9')][_0x20d4('0x33')]()[_0x20d4('0x7')](_0x20d4('0x2a'));this['_handlePropertyChange'](_0x173153,[_0xb44b08],this[_0x20d4('0x36')],_0x20d4('0x36'),_0x514141,_0x646bd6);});_0x21434e[_0x20d4('0x17')][_0x20d4('0x15')](_0x20d4('0x1b'),_0x20d4('0x36'),_0x20d4('0x30'),_0x21434e[_0x20d4('0x17')][_0x20d4('0x28')]('formatBlock',null,'discard')),_0x21434e[_0x20d4('0x17')][_0x20d4('0x15')](_0x20d4('0x1b'),_0x20d4('0x36'),_0x20d4('0x1e'),(_0x5ccfb5,_0x38a238)=>this['handleDiscardAction'](this[_0x20d4('0x36')],_0x5ccfb5,_0x38a238)),_0x21434e[_0x20d4('0x17')][_0x20d4('0x15')]('formatBlock',_0x20d4('0x36'),_0x20d4('0x8'),()=>!0x1);}if(this[_0x20d4('0xc')][_0x20d4('0x2e')][_0x20d4('0x6')]('TableCellPropertiesEditing')){for(const _0xf03fb of this['tableCellProperties'])_0x21434e[_0x20d4('0x34')](_0xf03fb,(_0x390863,_0x1f5817)=>{const _0x2e787b=this[_0x20d4('0xc')]['plugins'][_0x20d4('0xe')](_0x20d4('0x2c'))['getSelectionAffectedTableCells'](this[_0x20d4('0xc')][_0x20d4('0x5')][_0x20d4('0x25')][_0x20d4('0x9')]);this[_0x20d4('0x11')](_0xf03fb,_0x2e787b,this[_0x20d4('0x2')],_0x20d4('0x2'),_0x390863,_0x1f5817);});_0x21434e[_0x20d4('0x17')]['registerCustomCallback'](_0x20d4('0x1b'),_0x20d4('0x2'),_0x20d4('0x30'),_0x21434e[_0x20d4('0x17')][_0x20d4('0x28')]('formatBlock',null,_0x20d4('0x1e'))),_0x21434e['_suggestionFactory'][_0x20d4('0x15')](_0x20d4('0x1b'),_0x20d4('0x2'),_0x20d4('0x1e'),(_0x21cb78,_0x16f746)=>this[_0x20d4('0x4')](this['tableCellProperties'],_0x21cb78,_0x16f746)),_0x21434e['_suggestionFactory'][_0x20d4('0x15')](_0x20d4('0x1b'),_0x20d4('0x2'),_0x20d4('0x8'),()=>!0x1);}_0x21434e[_0x20d4('0xf')][_0x20d4('0xd')](_0x1e8cc2=>this[_0x20d4('0x18')](_0x1e8cc2));}[_0x20d4('0x11')](_0x4ef380,_0xdcee32,_0x41c4a5,_0x2157c4,_0x453ad0,_0x284d53){const _0x3f9f26=this[_0x20d4('0xc')][_0x20d4('0x2e')][_0x20d4('0xe')](_0x20d4('0x13'));this[_0x20d4('0xc')][_0x20d4('0x5')]['enqueueChange'](_0x284d53[_0x20d4('0x3')],()=>{for(const _0x2c69b6 of _0xdcee32){if(this['_getSuggestion'](_0x2c69b6,_0x2157c4))_0x453ad0(_0x284d53);else{const _0x516bb4={};for(const _0x1feefa of _0x41c4a5){const _0x1a97b7=_0x2c69b6['getAttribute'](_0x1feefa);void 0x0!==_0x1a97b7&&(_0x516bb4[_0x1feefa]=_0x1a97b7);}_0x453ad0(_0x284d53),_0x3f9f26[_0x20d4('0x23')](_0x2c69b6,{'commandParams':[_0x516bb4]},[],_0x2157c4);}}});}[_0x20d4('0x4')](_0x54fc2f,_0x2ad8a2,_0x5de356){const _0xb23c01=_0x2ad8a2[0x0][_0x20d4('0x20')][_0x20d4('0x27')],_0x23d7e1=_0x5de356[_0x20d4('0x31')][0x0];this[_0x20d4('0xc')]['model']['change'](_0x599eeb=>{for(const _0x300a46 of _0x54fc2f)void 0x0!==_0x23d7e1[_0x300a46]?_0x599eeb[_0x20d4('0x19')](_0x300a46,_0x23d7e1[_0x300a46],_0xb23c01):_0x599eeb[_0x20d4('0x26')](_0x300a46,_0xb23c01);});}[_0x20d4('0x18')](_0xd551dd){if(_0xd551dd[_0x20d4('0x1f')])switch(_0xd551dd[_0x20d4('0x16')]){case _0x20d4('0x36'):return{'type':'format','content':_0x368bed(this[_0x20d4('0xc')]['locale'],_0x20d4('0x35'))};case _0x20d4('0x2'):return{'type':'format','content':_0x368bed(this[_0x20d4('0xc')][_0x20d4('0x2b')],_0x20d4('0x2d'))};}}['_getSuggestion'](_0x31c892,_0x397b24){const _0x1d448f=this[_0x20d4('0xc')][_0x20d4('0x2e')][_0x20d4('0xe')](_0x20d4('0x13'));for(const _0x21c081 of _0x1d448f[_0x20d4('0x32')]({'skipNotAttached':!0x0})){const _0x4286e6=_0x21c081[_0x20d4('0x1d')]();if(_0x21c081['subType']===_0x397b24&&_0x4286e6===_0x31c892)return _0x21c081;}return null;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x551c=['get','enableCommand','has','plugins'];(function(_0x5a6d57,_0x551c96){const _0x34ac94=function(_0x22da04){while(--_0x22da04){_0x5a6d57['push'](_0x5a6d57['shift']());}};_0x34ac94(++_0x551c96);}(_0x551c,0x1e0));const _0x34ac=function(_0x5a6d57,_0x551c96){_0x5a6d57=_0x5a6d57-0x0;let _0x34ac94=_0x551c[_0x5a6d57];return _0x34ac94;};import{Plugin as _0x439bd1}from'ckeditor5/src/core';export default class yt extends _0x439bd1{['afterInit'](){const _0xb5fa1e=this['editor'];_0xb5fa1e[_0x34ac('0x3')][_0x34ac('0x2')]('Template')&&_0xb5fa1e[_0x34ac('0x3')][_0x34ac('0x0')]('TrackChangesEditing')[_0x34ac('0x1')]('insertTemplate');}}
23
+ const _0x48e0=['TrackChangesEditing','editor','get','has','plugins','enableCommand','Template'];(function(_0x16cb5c,_0x48e073){const _0x5f4b8c=function(_0x2cb93c){while(--_0x2cb93c){_0x16cb5c['push'](_0x16cb5c['shift']());}};_0x5f4b8c(++_0x48e073);}(_0x48e0,0xc3));const _0x5f4b=function(_0x16cb5c,_0x48e073){_0x16cb5c=_0x16cb5c-0x0;let _0x5f4b8c=_0x48e0[_0x16cb5c];return _0x5f4b8c;};import{Plugin as _0xc6495f}from'ckeditor5/src/core';export default class yt extends _0xc6495f{['afterInit'](){const _0x296eae=this[_0x5f4b('0x2')];_0x296eae[_0x5f4b('0x5')][_0x5f4b('0x4')](_0x5f4b('0x0'))&&_0x296eae[_0x5f4b('0x5')][_0x5f4b('0x3')](_0x5f4b('0x1'))[_0x5f4b('0x6')]('insertTemplate');}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1e20=['title-content','updateMarker','end','start','element','registerElementLabel','forward','plugins','differ','get','has','nodeBefore','afterInit','getChangedMarkers','TrackChangesEditing','removeMarker','isCollapsed','schema','createRange','newRange','model','_descriptionFactory','registerPostFixer','editor','document'];(function(_0x494207,_0x1e206b){const _0x49f286=function(_0x1e3562){while(--_0x1e3562){_0x494207['push'](_0x494207['shift']());}};_0x49f286(++_0x1e206b);}(_0x1e20,0x198));const _0x49f2=function(_0x494207,_0x1e206b){_0x494207=_0x494207-0x0;let _0x49f286=_0x1e20[_0x494207];return _0x49f286;};import{Plugin as _0x260d18}from'ckeditor5/src/core';import{getTranslation as _0x557a81}from'../utils/common-translations';export default class St extends _0x260d18{[_0x49f2('0x4')](){const _0x3d5260=this[_0x49f2('0xf')];if(!_0x3d5260[_0x49f2('0x18')][_0x49f2('0x2')]('Title'))return;const _0x19e486=_0x3d5260[_0x49f2('0x18')][_0x49f2('0x1')](_0x49f2('0x6'));_0x19e486[_0x49f2('0xd')][_0x49f2('0x16')](_0x49f2('0x11'),()=>_0x557a81(_0x3d5260['locale'],'ELEMENT_TITLE')),_0x3d5260[_0x49f2('0xc')][_0x49f2('0x10')][_0x49f2('0xe')](_0x42fffc=>{let _0x165353=!0x1;const _0x4cf743=Array['from'](_0x3d5260['model'][_0x49f2('0x10')][_0x49f2('0x0')][_0x49f2('0x5')]());for(const {name:_0x266493,data:_0x4c3aa7}of _0x4cf743){const {group:_0x21ef91}=_0x19e486['_splitMarkerName'](_0x266493);if('suggestion'!==_0x21ef91||!_0x4c3aa7['newRange'])continue;const _0x53e8e7=_0x4c3aa7[_0x49f2('0xb')],_0x39b7af=_0x53e8e7[_0x49f2('0x13')][_0x49f2('0x3')];if(!_0x39b7af||!_0x39b7af['is'](_0x49f2('0x15'),'title-content'))continue;if(!_0x53e8e7[_0x49f2('0x14')]['isTouching'](_0x53e8e7[_0x49f2('0x13')]))continue;const _0x10da5e=_0x3d5260[_0x49f2('0xc')][_0x49f2('0x9')]['getNearestSelectionRange'](_0x53e8e7[_0x49f2('0x13')],_0x49f2('0x17'));if(_0x10da5e&&_0x10da5e[_0x49f2('0x8')]){const _0x5157f8=_0x42fffc[_0x49f2('0xa')](_0x53e8e7[_0x49f2('0x14')],_0x10da5e[_0x49f2('0x14')]);_0x5157f8['isEqual'](_0x53e8e7)||(_0x42fffc[_0x49f2('0x12')](_0x266493,{'range':_0x5157f8}),_0x165353=!0x0);}_0x165353||(_0x42fffc[_0x49f2('0x7')](_0x266493),_0x165353=!0x0);}return _0x165353;});}}
23
+ const _0x4c04=['getNearestSelectionRange','registerPostFixer','plugins','locale','ELEMENT_TITLE','_splitMarkerName','suggestion','createRange','updateMarker','afterInit','editor','has','model','differ','document','isCollapsed','get','removeMarker','schema','title-content','isEqual','end','isTouching','getChangedMarkers','from','TrackChangesEditing','start'];(function(_0x1f3b2f,_0x4c045a){const _0x4e965b=function(_0x59a1f2){while(--_0x59a1f2){_0x1f3b2f['push'](_0x1f3b2f['shift']());}};_0x4e965b(++_0x4c045a);}(_0x4c04,0xe7));const _0x4e96=function(_0x1f3b2f,_0x4c045a){_0x1f3b2f=_0x1f3b2f-0x0;let _0x4e965b=_0x4c04[_0x1f3b2f];return _0x4e965b;};import{Plugin as _0x5ac040}from'ckeditor5/src/core';import{getTranslation as _0x4b2be7}from'../utils/common-translations';export default class St extends _0x5ac040{[_0x4e96('0x15')](){const _0x5f0b19=this[_0x4e96('0x16')];if(!_0x5f0b19['plugins'][_0x4e96('0x17')]('Title'))return;const _0x1ac148=_0x5f0b19[_0x4e96('0xe')][_0x4e96('0x1')](_0x4e96('0xa'));_0x1ac148['_descriptionFactory']['registerElementLabel']('title-content',()=>_0x4b2be7(_0x5f0b19[_0x4e96('0xf')],_0x4e96('0x10'))),_0x5f0b19[_0x4e96('0x18')][_0x4e96('0x1a')][_0x4e96('0xd')](_0x9960a8=>{let _0x38e1b1=!0x1;const _0x229fa2=Array[_0x4e96('0x9')](_0x5f0b19[_0x4e96('0x18')][_0x4e96('0x1a')][_0x4e96('0x19')][_0x4e96('0x8')]());for(const {name:_0x76e22a,data:_0x1e3805}of _0x229fa2){const {group:_0x3920e8}=_0x1ac148[_0x4e96('0x11')](_0x76e22a);if(_0x4e96('0x12')!==_0x3920e8||!_0x1e3805['newRange'])continue;const _0x39cb43=_0x1e3805['newRange'],_0x35527e=_0x39cb43['end']['nodeBefore'];if(!_0x35527e||!_0x35527e['is']('element',_0x4e96('0x4')))continue;if(!_0x39cb43[_0x4e96('0xb')][_0x4e96('0x7')](_0x39cb43[_0x4e96('0x6')]))continue;const _0x5da295=_0x5f0b19[_0x4e96('0x18')][_0x4e96('0x3')][_0x4e96('0xc')](_0x39cb43[_0x4e96('0x6')],'forward');if(_0x5da295&&_0x5da295[_0x4e96('0x0')]){const _0x4d6c73=_0x9960a8[_0x4e96('0x13')](_0x39cb43[_0x4e96('0xb')],_0x5da295['start']);_0x4d6c73[_0x4e96('0x5')](_0x39cb43)||(_0x9960a8[_0x4e96('0x14')](_0x76e22a,{'range':_0x4d6c73}),_0x38e1b1=!0x0);}_0x38e1b1||(_0x9960a8[_0x4e96('0x2')](_0x76e22a),_0x38e1b1=!0x0);}return _0x38e1b1;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1ca1=['has','afterInit','TrackChangesEditing','redo','UndoEditing','enableCommand','plugins'];(function(_0x5ec6fe,_0x1ca14e){const _0x2d1b5d=function(_0x4cb7e8){while(--_0x4cb7e8){_0x5ec6fe['push'](_0x5ec6fe['shift']());}};_0x2d1b5d(++_0x1ca14e);}(_0x1ca1,0x1f2));const _0x2d1b=function(_0x5ec6fe,_0x1ca14e){_0x5ec6fe=_0x5ec6fe-0x0;let _0x2d1b5d=_0x1ca1[_0x5ec6fe];return _0x2d1b5d;};import{Plugin as _0x3139ce}from'ckeditor5/src/core';export default class It extends _0x3139ce{[_0x2d1b('0x0')](){const _0x4677cc=this['editor'],_0x28920f=_0x4677cc[_0x2d1b('0x5')]['get'](_0x2d1b('0x1'));_0x4677cc[_0x2d1b('0x5')][_0x2d1b('0x6')](_0x2d1b('0x3'))&&(_0x28920f['enableCommand']('undo'),_0x28920f[_0x2d1b('0x4')](_0x2d1b('0x2')));}}
23
+ const _0x5961=['enableCommand','get','plugins','afterInit','has','undo','editor','redo'];(function(_0x387339,_0x59611b){const _0x2f8136=function(_0x32026c){while(--_0x32026c){_0x387339['push'](_0x387339['shift']());}};_0x2f8136(++_0x59611b);}(_0x5961,0x151));const _0x2f81=function(_0x387339,_0x59611b){_0x387339=_0x387339-0x0;let _0x2f8136=_0x5961[_0x387339];return _0x2f8136;};import{Plugin as _0xb81e3d}from'ckeditor5/src/core';export default class It extends _0xb81e3d{[_0x2f81('0x2')](){const _0x4abc77=this[_0x2f81('0x5')],_0x5b8658=_0x4abc77[_0x2f81('0x1')][_0x2f81('0x0')]('TrackChangesEditing');_0x4abc77['plugins'][_0x2f81('0x3')]('UndoEditing')&&(_0x5b8658['enableCommand'](_0x2f81('0x4')),_0x5b8658[_0x2f81('0x7')](_0x2f81('0x6')));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x19da=['previousPosition','writer','plugins','item','isAtEnd','getAttribute','nextSibling','test','addHighlight','markerRange','getItems','element','createRangeOn','bindElementToMarker','toViewPosition','isContent','ck-suggestion-marker--active','span','createUIElement','consumable','listIndent','addClass','markerName','mapper','push','includes','activeMarkers','schema','parent','type','get','model','getWalker','start','ck-suggestion-marker-','name'];(function(_0xc966b,_0x19da49){const _0x5ae49e=function(_0x4d8a8b){while(--_0x4d8a8b){_0xc966b['push'](_0xc966b['shift']());}};_0x5ae49e(++_0x19da49);}(_0x19da,0x67));const _0x5ae4=function(_0xc966b,_0x19da49){_0xc966b=_0xc966b-0x0;let _0x5ae49e=_0x19da[_0xc966b];return _0x5ae49e;};export function getRangesWithAttribute(_0x40a0e1,_0x3c9dfc,_0x18bb7c){const _0x20ab80=[];for(const _0x4f6e3c of _0x3c9dfc[_0x5ae4('0xf')]())_0x4f6e3c['hasAttribute'](_0x40a0e1)&&_0x20ab80[_0x5ae4('0x1d')](_0x18bb7c[_0x5ae4('0x11')](_0x4f6e3c));return _0x20ab80;}export function getElementsAffectedByListItemRename(_0x333062){const _0x3db6f1=[];if(_0x333062['is']('element','listItem')){let _0x569cd7=_0x333062[_0x5ae4('0xb')];for(;_0x569cd7&&_0x569cd7['is'](_0x5ae4('0x10'),'listItem')&&_0x569cd7[_0x5ae4('0xa')](_0x5ae4('0x19'))>0x0;)_0x3db6f1['push'](_0x569cd7),_0x569cd7=_0x569cd7[_0x5ae4('0xb')];}return _0x3db6f1;}export function downcastSplitMergeMarker(_0x97e235,_0x4428c7,{showActiveMarker:_0xf9fdb5=!0x0}={}){const _0x139a6b=_0x97e235[_0x5ae4('0x7')][_0x5ae4('0x23')]('TrackChangesEditing');return(_0x3cc168,_0x5834a1,_0x148b00)=>{if(!_0x148b00[_0x5ae4('0x18')][_0x5ae4('0xc')](_0x5834a1['markerRange'],_0x3cc168[_0x5ae4('0x4')]))return;const _0x3999f4=_0x5834a1[_0x5ae4('0xe')][_0x5ae4('0x1')](),_0xc9c861=_0x5834a1['markerRange'][_0x5ae4('0x2')],_0x3dd017=_0x97e235[_0x5ae4('0x0')][_0x5ae4('0x20')];let _0x3ff418=null,_0x555a86=null,_0x3171cb=!0x1,_0x831dc0=!0x1;for(const _0x3d0ba2 of _0x3999f4){const _0x39bb2c=_0x3d0ba2[_0x5ae4('0x8')];_0x3171cb=_0x3171cb||_0x3dd017[_0x5ae4('0x14')](_0x39bb2c);const _0x4811af=_0x148b00[_0x5ae4('0x1c')]['toViewElement'](_0x39bb2c);if(_0x4811af&&_0x4811af['getCustomProperty'](_0x5ae4('0xd')))return;'elementEnd'==_0x3d0ba2[_0x5ae4('0x22')]&&(_0x3dd017['isBlock'](_0x39bb2c)&&!_0x3dd017['isLimit'](_0x39bb2c)&&(_0x39bb2c[_0x5ae4('0xb')]||_0xc9c861[_0x5ae4('0x9')]?_0x3ff418&&_0x3ff418[_0x5ae4('0x21')]==_0x39bb2c||(_0x3ff418=_0x39bb2c,_0x486d04(_0x3d0ba2[_0x5ae4('0x5')]),_0x831dc0=!0x0):_0x555a86=_0x555a86||_0x3d0ba2[_0x5ae4('0x5')]));}function _0x486d04(_0x10c7b4){const _0x47c970=_0x148b00[_0x5ae4('0x6')][_0x5ae4('0x17')](_0x5ae4('0x16'),{'class':_0x5ae4('0x3')+_0x4428c7}),_0x37d8c2=_0x148b00[_0x5ae4('0x1c')][_0x5ae4('0x13')](_0x10c7b4);_0xf9fdb5&&_0x139a6b[_0x5ae4('0x1f')][_0x5ae4('0x1e')](_0x5834a1[_0x5ae4('0x1b')])&&_0x148b00[_0x5ae4('0x6')][_0x5ae4('0x1a')](_0x5ae4('0x15'),_0x47c970),_0x148b00[_0x5ae4('0x6')]['insert'](_0x37d8c2,_0x47c970),_0x148b00[_0x5ae4('0x1c')][_0x5ae4('0x12')](_0x47c970,_0x5834a1['markerName']);}_0x3171cb||_0x831dc0||!_0x555a86||_0x486d04(_0x555a86);};}
23
+ const _0x3f9b=['getAttribute','span','get','isLimit','getCustomProperty','addHighlight','mapper','plugins','listItem','isAtEnd','markerName','writer','push','elementEnd','listIndent','element','type','hasAttribute','createRangeOn','isContent','toViewElement','consumable','toViewPosition','schema','markerRange','TrackChangesEditing','getItems','nextSibling','item','model','start'];(function(_0x5e3439,_0x3f9b57){const _0x57f678=function(_0x539fc4){while(--_0x539fc4){_0x5e3439['push'](_0x5e3439['shift']());}};_0x57f678(++_0x3f9b57);}(_0x3f9b,0x1f0));const _0x57f6=function(_0x5e3439,_0x3f9b57){_0x5e3439=_0x5e3439-0x0;let _0x57f678=_0x3f9b[_0x5e3439];return _0x57f678;};export function getRangesWithAttribute(_0x599a40,_0x2b128c,_0x3f1086){const _0x1e395e=[];for(const _0xba3d1f of _0x2b128c[_0x57f6('0x1a')]())_0xba3d1f[_0x57f6('0x11')](_0x599a40)&&_0x1e395e['push'](_0x3f1086[_0x57f6('0x12')](_0xba3d1f));return _0x1e395e;}export function getElementsAffectedByListItemRename(_0xc1bbd3){const _0x4a53f3=[];if(_0xc1bbd3['is']('element',_0x57f6('0x8'))){let _0x39b8bf=_0xc1bbd3[_0x57f6('0x1b')];for(;_0x39b8bf&&_0x39b8bf['is'](_0x57f6('0xf'),_0x57f6('0x8'))&&_0x39b8bf[_0x57f6('0x0')](_0x57f6('0xe'))>0x0;)_0x4a53f3[_0x57f6('0xc')](_0x39b8bf),_0x39b8bf=_0x39b8bf['nextSibling'];}return _0x4a53f3;}export function downcastSplitMergeMarker(_0x239adf,_0x502eb4,{showActiveMarker:_0x2713b5=!0x0}={}){const _0x39808e=_0x239adf[_0x57f6('0x7')][_0x57f6('0x2')](_0x57f6('0x19'));return(_0x2dd878,_0xce3dc2,_0x262307)=>{if(!_0x262307[_0x57f6('0x15')]['test'](_0xce3dc2[_0x57f6('0x18')],_0x2dd878['name']))return;const _0x3c1ec3=_0xce3dc2[_0x57f6('0x18')]['getWalker'](),_0x5ac574=_0xce3dc2[_0x57f6('0x18')][_0x57f6('0x1e')],_0x142c06=_0x239adf[_0x57f6('0x1d')][_0x57f6('0x17')];let _0x1fb2ba=null,_0x4e4a35=null,_0x39ad38=!0x1,_0x21ca5b=!0x1;for(const _0x3f5611 of _0x3c1ec3){const _0x5dae25=_0x3f5611[_0x57f6('0x1c')];_0x39ad38=_0x39ad38||_0x142c06[_0x57f6('0x13')](_0x5dae25);const _0x5f4a77=_0x262307[_0x57f6('0x6')][_0x57f6('0x14')](_0x5dae25);if(_0x5f4a77&&_0x5f4a77[_0x57f6('0x4')](_0x57f6('0x5')))return;_0x57f6('0xd')==_0x3f5611[_0x57f6('0x10')]&&(_0x142c06['isBlock'](_0x5dae25)&&!_0x142c06[_0x57f6('0x3')](_0x5dae25)&&(_0x5dae25[_0x57f6('0x1b')]||_0x5ac574[_0x57f6('0x9')]?_0x1fb2ba&&_0x1fb2ba['parent']==_0x5dae25||(_0x1fb2ba=_0x5dae25,_0x2ff6a6(_0x3f5611['previousPosition']),_0x21ca5b=!0x0):_0x4e4a35=_0x4e4a35||_0x3f5611['previousPosition']));}function _0x2ff6a6(_0x5253d7){const _0x403a5c=_0x262307['writer']['createUIElement'](_0x57f6('0x1'),{'class':'ck-suggestion-marker-'+_0x502eb4}),_0x520aaa=_0x262307['mapper'][_0x57f6('0x16')](_0x5253d7);_0x2713b5&&_0x39808e['activeMarkers']['includes'](_0xce3dc2[_0x57f6('0xa')])&&_0x262307[_0x57f6('0xb')]['addClass']('ck-suggestion-marker--active',_0x403a5c),_0x262307[_0x57f6('0xb')]['insert'](_0x520aaa,_0x403a5c),_0x262307[_0x57f6('0x6')]['bindElementToMarker'](_0x403a5c,_0xce3dc2[_0x57f6('0xa')]);}_0x39ad38||_0x21ca5b||!_0x4e4a35||_0x2ff6a6(_0x4e4a35);};}