@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20231031.0 → 0.0.0-nightly-20231101.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 (65) hide show
  1. package/build/track-changes.js +1 -1
  2. package/package.json +3 -3
  3. package/src/commands/acceptsuggestioncommand.js +1 -1
  4. package/src/commands/discardsuggestioncommand.js +1 -1
  5. package/src/commands/executeonallsuggestionscommand.js +1 -1
  6. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  7. package/src/commands/trackchangescommand.js +1 -1
  8. package/src/integrations/aiassistant.js +1 -1
  9. package/src/integrations/alignment.js +1 -1
  10. package/src/integrations/basicstyles.js +1 -1
  11. package/src/integrations/blockquote.js +1 -1
  12. package/src/integrations/ckbox.js +1 -1
  13. package/src/integrations/codeblock.js +1 -1
  14. package/src/integrations/comments.js +1 -1
  15. package/src/integrations/deletecommand.js +1 -1
  16. package/src/integrations/documentlist.js +1 -1
  17. package/src/integrations/documentlistproperties.js +1 -1
  18. package/src/integrations/entercommand.js +1 -1
  19. package/src/integrations/findandreplace.js +1 -1
  20. package/src/integrations/font.js +1 -1
  21. package/src/integrations/formatpainter.js +1 -1
  22. package/src/integrations/heading.js +1 -1
  23. package/src/integrations/highlight.js +1 -1
  24. package/src/integrations/horizontalline.js +1 -1
  25. package/src/integrations/htmlembed.js +1 -1
  26. package/src/integrations/image.js +1 -1
  27. package/src/integrations/imagereplace.js +1 -1
  28. package/src/integrations/importword.js +1 -1
  29. package/src/integrations/indent.js +1 -1
  30. package/src/integrations/inputcommand.js +1 -1
  31. package/src/integrations/link.js +1 -1
  32. package/src/integrations/list.js +1 -1
  33. package/src/integrations/listproperties.js +1 -1
  34. package/src/integrations/mediaembed.js +1 -1
  35. package/src/integrations/mention.js +1 -1
  36. package/src/integrations/pagebreak.js +1 -1
  37. package/src/integrations/paragraph.js +1 -1
  38. package/src/integrations/removeformat.js +1 -1
  39. package/src/integrations/restrictededitingmode.js +1 -1
  40. package/src/integrations/shiftentercommand.js +1 -1
  41. package/src/integrations/standardeditingmode.js +1 -1
  42. package/src/integrations/style.js +1 -1
  43. package/src/integrations/table.js +1 -1
  44. package/src/integrations/tablecaption.js +1 -1
  45. package/src/integrations/tableclipboard.js +1 -1
  46. package/src/integrations/tablecolumnresize.js +1 -1
  47. package/src/integrations/tableheadings.js +1 -1
  48. package/src/integrations/tablemergesplit.js +1 -1
  49. package/src/integrations/tableofcontents.js +1 -1
  50. package/src/integrations/tableproperties.js +1 -1
  51. package/src/integrations/template.js +1 -1
  52. package/src/integrations/title.js +1 -1
  53. package/src/integrations/undo.js +1 -1
  54. package/src/integrations/utils.js +1 -1
  55. package/src/suggestion.js +1 -1
  56. package/src/suggestiondescriptionfactory.js +1 -1
  57. package/src/trackchanges.js +1 -1
  58. package/src/trackchangesdata.js +1 -1
  59. package/src/trackchangesediting.js +1 -1
  60. package/src/trackchangesui.js +1 -1
  61. package/src/ui/suggestioncontroller.js +1 -1
  62. package/src/ui/view/basesuggestionthreadview.js +1 -1
  63. package/src/ui/view/suggestionthreadview.js +1 -1
  64. package/src/utils/common-translations.js +1 -1
  65. package/src/utils/utils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1ca7=['getAttributes','insertion','document','table','type','_splitMarkerName','removeColumns','fill','createRangeOn','length','isEqual','getSuggestion','_suggestionFactory','previous','getChildren','some','editor','tableCellHorizontalAlignment','row','root','insertionRanges','endRow','_createdBatches','getShiftedBy','unwrap','formatBlock','next','editingDowncast','name','subType','first','change','tablePaste','differ','nodeAfter','elementToElement','content','deletion','getChanges','columns','getSuggestions','getSuggestionCallback','rowInsertionRanges','entries','suggestionUnloaded','every','fromEntries','clipboardOutput','getRows','requires','getRange','getSelectionAffectedTableCells','tableCellVerticalAlignment','remove','tableCellBorderStyle','commands','getTableIfOnlyTableInContent','cell','suggestionLoaded','activeMarkers','add','tablePasteCell','set','dataDowncast','tableCellBorderWidth','TrackChangesEditing','getItems','map','containsRange','batch','conversion','removeMarker','createRange','join','has','Users','isInContent','nextSibling','_isForcedDefaultExecutionBlock','locale','oldRange','ck-suggestion-marker-insertion','from','markerName','suggestion:formatBlock:tablePasteCell','wrap','insert','end','filter','paragraph','suggestion','isEmpty','tablePasteColumn','tablePasteRow','rootName','updateMarker','markMultiRangeBlockFormat','getMarkers','schema','find','previousSibling','suggestion-td','get','redo','tableCellBorderColor','tableCellSuggestion','registerCustomCallback','markerAttributes','selection','findAncestor','newRange','getRowIndexes','createRangeIn','plugins','*Replace\x20table\x20cells*','showSuggestionHighlights','tableCell','reduce','getAllAdjacentSuggestions','accept','markMultiRangeDeletion','position','getContainedElement','editing','getChild','keys','trackChanges','TableUtils','removeRows','stop','low','getRanges','setAttributes','_getCoordsForCells','last','rowInsertionIndexes','startsWith','documentSelection','high','insertContent','start','registerDescriptionCallback','setAttribute','createElement','createTableWalker','push','discard','getColumns','attributes','TableClipboard','element','getColumnIndexes','getChangedMarkers','includes','register','author','insertRows','rows','markMultiRangeInsertion','markers','ck-suggestion-marker--active','tablePasteChainId','model','hasSuggestion','ck-suggestion-marker','markerToHighlight','columnInsertionIndexes','forceDefaultExecution','view','registerPostFixer','move'];(function(_0x420db0,_0x1ca7b7){const _0x25f6a0=function(_0x124ef5){while(--_0x124ef5){_0x420db0['push'](_0x420db0['shift']());}};_0x25f6a0(++_0x1ca7b7);}(_0x1ca7,0x179));const _0x25f6=function(_0x420db0,_0x1ca7b7){_0x420db0=_0x420db0-0x0;let _0x25f6a0=_0x1ca7[_0x420db0];return _0x25f6a0;};import{getTranslation as _0x71459}from'../utils/common-translations';import{Plugin as _0x4cd15d}from'ckeditor5/src/core';import{uid as _0x52b973,priorities as _0x245b0a}from'ckeditor5/src/utils';import _0x35ed69 from'./table';const le=[_0x25f6('0x1d'),_0x25f6('0x45'),_0x25f6('0x13'),_0x25f6('0x99'),_0x25f6('0x11'),'tableCellBackgroundColor','tableCellPadding'],ae=Object[_0x25f6('0xb')](le[_0x25f6('0x20')](_0x629c34=>[_0x629c34,null]));export default class wt extends _0x4cd15d{static get[_0x25f6('0xe')](){return[_0x35ed69];}['afterInit'](){const _0x4920a4=this[_0x25f6('0x98')];if(!_0x4920a4['plugins'][_0x25f6('0x27')](_0x25f6('0x72')))return;const _0x30e8a2=_0x4920a4['plugins']['get'](_0x25f6('0x1e')),_0x29e552=_0x4920a4[_0x25f6('0x4e')][_0x25f6('0x43')](_0x25f6('0x5c')),_0x44b7bd=_0x4920a4[_0x25f6('0x4e')][_0x25f6('0x43')](_0x35ed69),_0x17e609=_0x4920a4[_0x25f6('0x4e')][_0x25f6('0x43')](_0x25f6('0x72'));_0x44b7bd['_tablePostFixingSubtypes'][_0x25f6('0x6e')](_0x25f6('0x3a'),_0x25f6('0x39')),_0x4920a4['model'][_0x25f6('0x3f')][_0x25f6('0x77')](_0x25f6('0x46'),{'allowIn':_0x25f6('0x51'),'allowContentOf':'tableCell','isLimit':!0x0}),_0x4920a4[_0x25f6('0x23')][_0x25f6('0x0')]({'model':_0x25f6('0x46'),'view':_0x25f6('0x42')});let _0x13b2be=null;_0x4920a4[_0x25f6('0x7f')]['on'](_0x25f6('0x68'),(_0x3dc41d,_0x56c425)=>{const [_0x33a847,_0x32d854]=_0x56c425,_0x25d8e6=_0x56c425[_0x56c425['length']-0x1];_0x25d8e6&&_0x25d8e6[_0x25f6('0x84')]||_0x30e8a2[_0x25f6('0x2b')]||this[_0x25f6('0x98')][_0x25f6('0x14')]['get'](_0x25f6('0x5b'))['value']&&function(_0x56b060,_0x31b3d7,_0x1b5fc0,_0x4068bd,_0x3f9914){if(_0x31b3d7&&!_0x31b3d7['is'](_0x25f6('0x66')))return!0x1;const _0x7bf76f=_0x3f9914[_0x25f6('0x15')](_0x56b060,_0x1b5fc0);if(!_0x7bf76f||!fe(_0x7bf76f,void 0x0,_0x4068bd))return!0x1;const _0x7a9537=_0x4068bd[_0x25f6('0x10')](_0x1b5fc0[_0x25f6('0x8a')][_0x25f6('0x49')]);if(!_0x7a9537[_0x25f6('0x91')])return!0x1;const _0x3248c9=_0x7a9537[0x0]['findAncestor'](_0x25f6('0x8b')),_0x204100=_0x4068bd[_0x25f6('0x4c')](_0x7a9537),_0x2a8919=_0x4068bd[_0x25f6('0x74')](_0x7a9537),_0x1896fd={'startRow':_0x204100[_0x25f6('0xa6')],'endRow':_0x204100[_0x25f6('0x63')],'startColumn':_0x2a8919[_0x25f6('0xa6')],'endColumn':_0x2a8919[_0x25f6('0x63')]};return 0x1==_0x7a9537[_0x25f6('0x91')]&&(_0x1896fd[_0x25f6('0x9d')]+=_0x4068bd[_0x25f6('0xd')](_0x7bf76f)-0x1,_0x1896fd['endColumn']+=_0x4068bd[_0x25f6('0x70')](_0x7bf76f)-0x1),fe(_0x3248c9,_0x1896fd,_0x4068bd);}(_0x33a847,_0x32d854,_0x4920a4[_0x25f6('0x7f')],_0x29e552,_0x17e609)&&(_0x3dc41d[_0x25f6('0x5e')](),_0x13b2be={'cells':[],'insertionRanges':[],'deletionRanges':[],'rowInsertionRanges':[],'rowInsertionIndexes':[],'columnInsertionRanges':[],'columnInsertionIndexes':[]},_0x4920a4[_0x25f6('0x7f')][_0x25f6('0xa7')](()=>{_0x4920a4[_0x25f6('0x7f')][_0x25f6('0x68')](_0x56c425[0x0],_0x56c425[0x1],_0x56c425[0x2],{'forceDefaultExecution':!0x0});const _0x40b625=_0x52b973(),{rowInsertionRanges:_0x30a6e6,columnInsertionRanges:_0x8320f,insertionRanges:_0x2d12aa,deletionRanges:_0x5c4055,cells:_0x18f608}=_0x13b2be;_0x30a6e6[_0x25f6('0x91')]&&_0x30e8a2[_0x25f6('0x7b')](_0x30a6e6,_0x25f6('0x3a'),{'tablePasteChainId':_0x40b625}),_0x8320f[_0x25f6('0x91')]&&_0x30e8a2[_0x25f6('0x7b')](_0x8320f,_0x25f6('0x39'),{'tablePasteChainId':_0x40b625}),_0x2d12aa[_0x25f6('0x91')]&&_0x30e8a2[_0x25f6('0x7b')](_0x2d12aa,'tablePaste',{'tablePasteChainId':_0x40b625,'skipNestingCheck':!0x0}),_0x5c4055[_0x25f6('0x91')]&&_0x30e8a2[_0x25f6('0x55')](_0x5c4055,_0x25f6('0xa8'),{'tablePasteChainId':_0x40b625,'skipNestingCheck':!0x0});const _0x54af43=_0x30e8a2[_0x25f6('0x3d')](_0x18f608[_0x25f6('0x20')](({element:_0x8805c1})=>_0x8805c1),{'formatGroupId':_0x52b973()},[],'tablePasteCell',{'tablePasteChainId':_0x40b625});if(_0x54af43){const _0x572fa6=_0x54af43['getMarkers'](),_0x8a91e7=[];for(const {element:_0x3d1f4f,attributes:_0x5d598b}of _0x18f608){if(!_0x5d598b)continue;const _0x35d97f=_0x4920a4[_0x25f6('0x7f')][_0x25f6('0x90')](_0x3d1f4f),_0x30d675=_0x572fa6[_0x25f6('0x40')](_0xe8f2c=>_0xe8f2c[_0x25f6('0xf')]()[_0x25f6('0x92')](_0x35d97f));_0x30d675&&_0x8a91e7[_0x25f6('0x6e')]([_0x30d675[_0x25f6('0xa4')],_0x5d598b]);}_0x8a91e7[_0x25f6('0x91')]&&_0x54af43[_0x25f6('0x6b')](_0x25f6('0x48'),Object['fromEntries'](_0x8a91e7));}_0x13b2be=null;}));},{'priority':_0x245b0a[_0x25f6('0x67')]+0xa}),_0x4920a4[_0x25f6('0x4e')][_0x25f6('0x43')](_0x25f6('0x72'))['on']('_replaceTableSlotCell',(_0x5aac52,_0xd9f55b)=>{const [_0x41af4c,_0x1d9741,,_0x34c08f]=_0xd9f55b;if(!_0x13b2be)return;_0x5aac52[_0x25f6('0x5e')]();const _0x4dbe5b=_0x41af4c[_0x25f6('0x16')],_0x365719=_0x1d9741,_0x15cceb=ce(_0x4dbe5b),_0x5dc022=ce(_0x365719);_0x5aac52['return']=_0x4dbe5b;let _0x1c0cb8=null,_0x125e7a=null;if(_0x5dc022||_0x15cceb){if(_0x15cceb&&!_0x5dc022){_0x34c08f[_0x25f6('0x12')](_0x4dbe5b[_0x25f6('0x59')](0x0));for(const _0x4a9067 of Array['from'](_0x365719[_0x25f6('0x96')]()))_0x34c08f[_0x25f6('0x33')](_0x4a9067,_0x4dbe5b,_0x25f6('0x34'));const _0x57c784=_0x13b2be[_0x25f6('0x64')][_0x25f6('0x76')](_0x41af4c[_0x25f6('0x9a')]),_0x17eed0=_0x13b2be[_0x25f6('0x83')][_0x25f6('0x76')](_0x41af4c['column']);_0x57c784||_0x17eed0||(_0x1c0cb8=_0x34c08f[_0x25f6('0x4d')](_0x4dbe5b));}else _0x5dc022&&!_0x15cceb&&(_0x125e7a=_0x34c08f['createRangeIn'](_0x4dbe5b));}else{const _0x35e377=_0x34c08f['createElement']('tableCellSuggestion'),_0xadd5e9=_0x34c08f[_0x25f6('0x6c')](_0x25f6('0x46'));_0x34c08f[_0x25f6('0x32')](_0x34c08f[_0x25f6('0x4d')](_0x4dbe5b),_0xadd5e9),_0x34c08f['insert'](_0x35e377,_0x4dbe5b,0x0);for(const _0x4d5926 of Array[_0x25f6('0x2f')](_0x365719[_0x25f6('0x96')]()))_0x34c08f['insert'](_0x4d5926,_0x35e377,_0x25f6('0x34'));_0x1c0cb8=_0x34c08f['createRangeOn'](_0x35e377),_0x125e7a=_0x34c08f[_0x25f6('0x90')](_0xadd5e9);}const _0x3d70b1=Array[_0x25f6('0x2f')](_0x365719[_0x25f6('0x88')]())[_0x25f6('0x35')](([_0x5297c9])=>le['includes'](_0x5297c9));_0x13b2be['cells'][_0x25f6('0x6e')]({'element':_0x4dbe5b,'attributes':_0x3d70b1[_0x25f6('0x91')]?Object[_0x25f6('0xb')](_0x3d70b1):null}),_0x1c0cb8&&_0x13b2be[_0x25f6('0x9c')][_0x25f6('0x6e')](_0x1c0cb8),_0x125e7a&&_0x13b2be['deletionRanges']['push'](_0x125e7a);},{'priority':_0x25f6('0x67')}),_0x29e552['on']('insertColumns',(_0xf45220,_0x4e7149)=>{const [_0x19d152,_0x2db6e0={}]=_0x4e7149;if(!_0x13b2be)return;const _0x23aa08=_0x2db6e0['at']||0x0,_0x565bc7=_0x2db6e0[_0x25f6('0x4')]||0x1;_0x13b2be['columnInsertionIndexes']=new Array(_0x565bc7)['fill'](_0x23aa08)['map']((_0x94a8e0,_0x20af3b)=>_0x94a8e0+_0x20af3b);for(const {cell:_0x128df9}of _0x29e552[_0x25f6('0x6d')](_0x19d152,{'startColumn':_0x23aa08,'endColumn':_0x23aa08+_0x565bc7-0x1}))_0x13b2be['columnInsertionRanges'][_0x25f6('0x6e')](_0x4920a4[_0x25f6('0x7f')]['createRangeOn'](_0x128df9));},{'priority':_0x25f6('0x5f')}),_0x29e552['on'](_0x25f6('0x79'),(_0x33d434,_0x1a44e5)=>{const [_0x402266,_0x24b6cc={}]=_0x1a44e5;if(!_0x13b2be)return;const _0x2187d7=_0x24b6cc['at']||0x0,_0x2e9c9a=_0x24b6cc[_0x25f6('0x7a')]||0x1;_0x13b2be[_0x25f6('0x64')]=new Array(_0x2e9c9a)[_0x25f6('0x8f')](_0x2187d7)[_0x25f6('0x20')]((_0x3f7feb,_0x4ff422)=>_0x3f7feb+_0x4ff422);for(const {cell:_0x5e2e3b}of _0x29e552[_0x25f6('0x6d')](_0x402266,{'startRow':_0x2187d7,'endRow':_0x2187d7+_0x2e9c9a-0x1}))_0x13b2be[_0x25f6('0x7')]['push'](_0x4920a4[_0x25f6('0x7f')]['createRangeOn'](_0x5e2e3b));},{'priority':'low'}),_0x30e8a2['_descriptionFactory'][_0x25f6('0x6a')](_0x2fead8=>{if(_0x2fead8['subType']&&_0x2fead8[_0x25f6('0xa5')][_0x25f6('0x65')](_0x25f6('0xa8')))return _0x2fead8[_0x25f6('0x95')]?{}:{'type':_0x25f6('0x89'),'content':_0x71459(_0x4920a4[_0x25f6('0x2c')],_0x25f6('0x4f'))};});const _0x469959=()=>!0x1;for(const _0x2709f6 of[_0x25f6('0xa8'),_0x25f6('0x39'),_0x25f6('0x3a'),'tablePasteCell'])_0x30e8a2[_0x25f6('0x94')]['registerCustomCallback'](_0x25f6('0x89'),_0x2709f6,_0x25f6('0x26'),_0x469959),_0x30e8a2[_0x25f6('0x94')][_0x25f6('0x47')]('deletion',_0x2709f6,'join',_0x469959),_0x30e8a2[_0x25f6('0x94')][_0x25f6('0x47')](_0x25f6('0xa1'),_0x2709f6,'join',_0x469959);_0x30e8a2['_suggestionFactory']['registerCustomCallback'](_0x25f6('0xa1'),_0x25f6('0x1a'),_0x25f6('0x6f'),_0x469959),_0x30e8a2[_0x25f6('0x94')][_0x25f6('0x47')](_0x25f6('0xa1'),_0x25f6('0x1a'),_0x25f6('0x54'),(_0x1b438d,_0x116775,_0x255180)=>{const _0x437039=_0x1b438d[_0x25f6('0x20')](_0x2fe60b=>_0x2fe60b['getContainedElement']())[_0x25f6('0x35')](_0x4cfd2a=>_0x4cfd2a),_0x5c89e9=new Map(_0x437039[_0x25f6('0x20')](_0xd6549f=>[_0xd6549f,null]));if(_0x13b2be)for(const {element:_0x58d904,attributes:_0x26adf6}of _0x13b2be['cells'])_0x26adf6&&_0x5c89e9[_0x25f6('0x1b')](_0x58d904,_0x26adf6);else{if(_0x255180&&_0x255180[_0x25f6('0x48')])for(const [_0x522011,_0x226728]of Object[_0x25f6('0x8')](_0x255180[_0x25f6('0x48')])){const _0x247b8f=_0x4920a4[_0x25f6('0x7f')][_0x25f6('0x7c')][_0x25f6('0x43')](_0x522011),_0x17a2f8=_0x247b8f?_0x247b8f[_0x25f6('0xf')]()[_0x25f6('0x57')]():null;_0x17a2f8&&_0x5c89e9[_0x25f6('0x1b')](_0x17a2f8,_0x226728);}}_0x4920a4[_0x25f6('0x7f')][_0x25f6('0xa7')](_0x4e9e96=>{for(const [_0xb6288d,_0x2e062d]of _0x5c89e9)_0x4e9e96[_0x25f6('0x61')]({...ae,..._0x2e062d},_0xb6288d);});});const _0x487fa6=(_0x52bbde,_0x2ed8e6)=>{_0x30e8a2[_0x25f6('0x94')]['registerCustomCallback'](_0x52bbde,'tablePaste',_0x2ed8e6,(_0x1f3a21,_0x53929c,_0x22e557)=>{_0x4920a4['model'][_0x25f6('0xa7')](_0x80c7=>{const _0x508a30=[];for(const _0x3cf38 of _0x1f3a21){const _0x4696ea=_0x3cf38[_0x25f6('0x69')][_0x25f6('0xaa')];_0x4696ea['is'](_0x25f6('0x73'),'tableCellSuggestion')&&_0x508a30[_0x25f6('0x6e')](_0x4696ea);}_0x30e8a2[_0x25f6('0x94')][_0x25f6('0x6')](_0x52bbde,null,_0x2ed8e6)(_0x1f3a21,_0x53929c,_0x22e557);for(const _0x199b39 of _0x508a30)'$graveyard'!=_0x199b39[_0x25f6('0x9b')][_0x25f6('0x3b')]&&_0x80c7['unwrap'](_0x199b39);});});};_0x487fa6(_0x25f6('0x89'),_0x25f6('0x54')),_0x487fa6(_0x25f6('0x89'),'discard'),_0x487fa6(_0x25f6('0x2'),_0x25f6('0x54')),_0x487fa6(_0x25f6('0x2'),_0x25f6('0x6f')),_0x30e8a2[_0x25f6('0x94')][_0x25f6('0x47')]('insertion',_0x25f6('0x3a'),_0x25f6('0x6f'),_0x493a4c=>{const _0x1c0233=_0x493a4c[_0x25f6('0x20')](_0x29c6ec=>_0x29c6ec[_0x25f6('0x57')]()),_0x225d37=_0x1c0233[0x0][_0x25f6('0x4a')](_0x25f6('0x8b')),{minRow:_0xc1ea80,maxRow:_0x23cb3c}=_0x44b7bd[_0x25f6('0x62')](_0x1c0233);_0x29e552[_0x25f6('0x5d')](_0x225d37,{'at':_0xc1ea80,'rows':_0x23cb3c-_0xc1ea80+0x1});}),_0x30e8a2[_0x25f6('0x94')][_0x25f6('0x47')](_0x25f6('0x89'),_0x25f6('0x39'),_0x25f6('0x6f'),_0x5920e0=>{const _0x44256d=_0x5920e0[_0x25f6('0x20')](_0x7fbb17=>_0x7fbb17[_0x25f6('0x57')]()),_0x286607=_0x44256d[0x0][_0x25f6('0x4a')]('table'),{minColumn:_0x54b1a6,maxColumn:_0x796266}=_0x44b7bd[_0x25f6('0x62')](_0x44256d);_0x29e552[_0x25f6('0x8e')](_0x286607,{'at':_0x54b1a6,'columns':_0x796266-_0x54b1a6+0x1});});const _0xc8e80d=(_0x50ba13,_0x12f9ba)=>{if(!_0x12f9ba[_0x25f6('0xa5')]||!_0x12f9ba[_0x25f6('0xa5')][_0x25f6('0x65')]('tablePaste'))return;const _0x5afbc9=_0x12f9ba[_0x25f6('0x71')][_0x25f6('0x7e')],_0x3b4246=_0x30e8a2[_0x25f6('0x5')]()[_0x25f6('0x35')](_0x1cb659=>_0x1cb659['isInContent']&&_0x1cb659[_0x25f6('0x71')]&&_0x1cb659[_0x25f6('0x71')][_0x25f6('0x7e')]==_0x5afbc9);_0x3b4246[_0x25f6('0x91')]&&_0x12f9ba[_0x25f6('0x53')]()[_0x25f6('0x91')]!=_0x3b4246[_0x25f6('0x91')]&&_0x3b4246[_0x25f6('0x52')]((_0x681cc2,_0xa72b6f)=>(_0x681cc2[_0x25f6('0xa2')]=_0xa72b6f,_0xa72b6f['previous']=_0x681cc2,_0xa72b6f));};function _0x12b1d1(_0x367108,_0x3d08a2=!0x0){const {id:_0x59b48f}=_0x30e8a2[_0x25f6('0x8d')](_0x367108[_0x25f6('0x30')]),_0x3dab6b=[_0x25f6('0x81'),_0x25f6('0x2e')],_0x5aa84b=_0x30e8a2[_0x25f6('0x18')][_0x25f6('0x76')](_0x367108[_0x25f6('0x30')]);return _0x5aa84b&&_0x3dab6b[_0x25f6('0x6e')](_0x25f6('0x7d')),{'classes':_0x3dab6b,'attributes':{'data-suggestion':_0x59b48f},'priority':_0x5aa84b&&_0x3d08a2?0xbc2:0xbb8};}_0x30e8a2['on'](_0x25f6('0x17'),_0xc8e80d,{'priority':_0x25f6('0x67')}),_0x30e8a2['on'](_0x25f6('0x9'),_0xc8e80d,{'priority':_0x25f6('0x67')}),_0x4920a4[_0x25f6('0x7f')][_0x25f6('0x8a')][_0x25f6('0x86')](()=>{let _0x20f023=!0x1;const _0x5affa0=Array[_0x25f6('0x2f')](_0x4920a4['model'][_0x25f6('0x8a')]['differ'][_0x25f6('0x75')]());for(const {name:_0x2ca02f,data:_0x3c6a95}of _0x5affa0){const {group:_0x531ecb,type:_0x2162de,id:_0x452644}=_0x30e8a2[_0x25f6('0x8d')](_0x2ca02f);if(_0x25f6('0x37')!=_0x531ecb||_0x25f6('0x2')!=_0x2162de||_0x3c6a95[_0x25f6('0x2d')])continue;if(!_0x30e8a2[_0x25f6('0x80')](_0x452644))continue;const _0x497b99=_0x30e8a2[_0x25f6('0x93')](_0x452644)[_0x25f6('0x60')](),_0x4928a1=_0x4920a4[_0x25f6('0x4e')]['get']('Users')['me'];for(const _0x892c49 of _0x30e8a2[_0x25f6('0x5')]()){if(!_0x892c49[_0x25f6('0x29')]||_0x892c49[_0x25f6('0x78')]!=_0x4928a1)continue;if(_0x25f6('0xa1')!=_0x892c49[_0x25f6('0x8c')]||_0x25f6('0x1a')!=_0x892c49[_0x25f6('0xa5')])continue;if(_0x892c49[_0x25f6('0x60')]()[_0x25f6('0xa')](_0x1d6c92=>_0x497b99[_0x25f6('0x97')](_0x2b560b=>_0x2b560b[_0x25f6('0x21')](_0x1d6c92,!0x0))))for(const _0x57f48b of _0x892c49['getAllAdjacentSuggestions']())_0x57f48b[_0x25f6('0x29')]&&(_0x57f48b[_0x25f6('0x6f')](),_0x20f023=!0x0);}}return _0x20f023;}),_0x4920a4[_0x25f6('0x7f')][_0x25f6('0x8a')][_0x25f6('0x86')](_0xc71d8e=>{const _0x3e7489=_0x4920a4[_0x25f6('0x14')][_0x25f6('0x43')](_0x25f6('0x44'));if(!_0x3e7489||!_0x3e7489[_0x25f6('0x9e')][_0x25f6('0x27')](_0xc71d8e[_0x25f6('0x22')]))return!0x1;let _0x3fb764=!0x1;const _0x517426=_0x4920a4[_0x25f6('0x4e')]['get'](_0x25f6('0x28'))['me'],_0x472083=_0x4920a4[_0x25f6('0x7f')]['document']['differ'][_0x25f6('0x3')](),_0x5c7619=Array[_0x25f6('0x2f')](_0x4920a4['model'][_0x25f6('0x8a')][_0x25f6('0xa9')][_0x25f6('0x75')]())[_0x25f6('0x35')](({name:_0x58e2f9,data:_0x5af329})=>{const {group:_0x1c5370,subType:_0x2f7ead,authorId:_0x5adb4c}=_0x30e8a2['_splitMarkerName'](_0x58e2f9);return'suggestion'==_0x1c5370&&_0x25f6('0xa8')==_0x2f7ead&&_0x5adb4c==_0x517426['id']&&!_0x5af329[_0x25f6('0x2d')];});for(const _0x47052d of _0x472083){if('insert'!=_0x47052d[_0x25f6('0x8c')]||_0x25f6('0x46')!=_0x47052d[_0x25f6('0xa4')]||0x1!=_0x47052d['length'])continue;const _0x3566da=_0xc71d8e[_0x25f6('0x25')](_0x47052d[_0x25f6('0x56')],_0x47052d[_0x25f6('0x56')][_0x25f6('0x9f')](0x1));if(!_0x5c7619[_0x25f6('0x40')](({data:_0x3e69a5})=>_0x3e69a5[_0x25f6('0x4b')][_0x25f6('0x92')](_0x3566da)))for(const {name:_0x28f840,data:_0xdb41db}of _0x5c7619)if(_0x3566da[_0x25f6('0x21')](_0xdb41db['newRange'])){_0xc71d8e[_0x25f6('0x3c')](_0x28f840,{'range':_0x3566da}),_0x3fb764=!0x0;break;}}return _0x3fb764;}),_0x4920a4[_0x25f6('0x7f')]['document'][_0x25f6('0x86')](_0x40c0e5=>{let _0x13a53b=!0x1;const _0x56fb03=_0x4920a4[_0x25f6('0x4e')]['get'](_0x25f6('0x28'))['me'],_0x5f015a=_0x30e8a2['getSuggestions']()[_0x25f6('0x35')](_0x3d4476=>_0x3d4476['isInContent']&&_0x3d4476[_0x25f6('0x78')]==_0x56fb03),_0xd0301e=new Set(),_0x5cb0b3=new Set();for(const _0x3ec3bc of _0x5f015a)if(_0x25f6('0xa8')==_0x3ec3bc[_0x25f6('0xa5')])for(const _0x5bee19 of _0x3ec3bc[_0x25f6('0x3e')]()){const _0x1567b5=_0x5bee19['getRange']()[_0x25f6('0x57')]();if(_0x1567b5){if(_0x1567b5['is']('element','tableCellSuggestion')&&ce(_0x1567b5)){_0x3ec3bc[_0x25f6('0x24')](_0x5bee19[_0x25f6('0xa4')]),_0xd0301e[_0x25f6('0x19')](_0x1567b5),_0x13a53b=!0x0;const _0x3cd1af=_0x1567b5[_0x25f6('0x2a')],_0x13b54a=_0x1567b5[_0x25f6('0x41')],_0x1c43f6=_0x3cd1af&&_0x3cd1af['is']('element','tableCellSuggestion'),_0x33c39f=_0x13b54a&&_0x13b54a['is'](_0x25f6('0x73'),_0x25f6('0x46'));_0x1c43f6&&!_0xd0301e['has'](_0x3cd1af)&&_0x5cb0b3[_0x25f6('0x19')](_0x3cd1af),_0x33c39f&&!_0xd0301e[_0x25f6('0x27')](_0x13b54a)&&_0x5cb0b3[_0x25f6('0x19')](_0x13b54a);}else _0x1567b5['is'](_0x25f6('0x73'),'paragraph')&&_0x1567b5[_0x25f6('0x38')]&&(_0x3ec3bc['removeMarker'](_0x5bee19[_0x25f6('0xa4')]),_0x13a53b=!0x0);}}else{if(_0x25f6('0x1a')==_0x3ec3bc[_0x25f6('0xa5')]){if(!_0x3ec3bc['attributes']||!_0x3ec3bc[_0x25f6('0x71')][_0x25f6('0x7e')])continue;const _0x15ed15=_0x3ec3bc['attributes'][_0x25f6('0x48')];if(_0x15ed15&&Object[_0x25f6('0x5a')](_0x15ed15)['length'])continue;const _0xeedbcc=_0x3ec3bc[_0x25f6('0x71')][_0x25f6('0x7e')];let _0x515276=!0x0,_0x3d049c=!0x0;for(const _0x14eeaa of _0x5f015a)if(_0x14eeaa['subType']&&_0x14eeaa[_0x25f6('0xa5')][_0x25f6('0x65')]('tablePaste')){if(!_0x14eeaa[_0x25f6('0x71')][_0x25f6('0x7e')]){_0x3d049c=!0x1;break;}if(_0x14eeaa['id']!=_0x3ec3bc['id']&&_0x14eeaa[_0x25f6('0x71')]['tablePasteChainId']==_0xeedbcc){_0x515276=!0x1;break;}}_0x3d049c&&_0x515276&&(_0x3ec3bc['removeMarkers'](),_0x13a53b=!0x0);}}for(const _0x5cd3c1 of _0xd0301e)_0x40c0e5[_0x25f6('0x12')](_0x5cd3c1);for(const _0x84c77c of _0x5cb0b3)_0x40c0e5[_0x25f6('0xa0')](_0x84c77c);return _0x13a53b;}),_0x4920a4[_0x25f6('0x23')]['for'](_0x25f6('0xa3'))['markerToHighlight']({'model':_0x25f6('0x31'),'view':(_0x1b3b36,_0x81a451)=>_0x12b1d1(_0x1b3b36),'converterPriority':'high'}),_0x4920a4['conversion']['for'](_0x25f6('0x1c'))[_0x25f6('0x82')]({'model':_0x25f6('0x31'),'view':(_0x30a89d,_0x29103c)=>_0x29103c['options'][_0x25f6('0x50')]?_0x12b1d1(_0x30a89d,!0x1):null,'converterPriority':_0x25f6('0x67')});const _0x596c2e=_0x4920a4[_0x25f6('0x58')][_0x25f6('0x85')];this['listenTo'](_0x596c2e[_0x25f6('0x8a')],_0x25f6('0xc'),(_0x46b964,_0x410792)=>{const _0x22de3f=[];for(const _0x28cdb5 of _0x596c2e['createRangeIn'](_0x410792[_0x25f6('0x1')])[_0x25f6('0x1f')]())_0x28cdb5['is'](_0x25f6('0x73'),_0x25f6('0x42'))&&_0x22de3f[_0x25f6('0x6e')](_0x28cdb5);_0x596c2e['change'](_0x268467=>{for(const _0x52f08b of _0x22de3f)_0x268467[_0x25f6('0x87')](_0x268467[_0x25f6('0x4d')](_0x52f08b),_0x268467['createPositionBefore'](_0x52f08b)),_0x268467['remove'](_0x52f08b);});});}}function ce(_0xc91662){if(_0xc91662['isEmpty'])return!0x0;const _0x148750=_0xc91662[_0x25f6('0x59')](0x0);return _0x148750['is'](_0x25f6('0x73'),_0x25f6('0x36'))&&_0x148750[_0x25f6('0x38')];}function fe(_0x545fad,_0x38b0ff={},_0x32353a){for(const {isAnchor:_0x2ce680,cellHeight:_0x35043b,cellWidth:_0xc9a938}of _0x32353a[_0x25f6('0x6d')](_0x545fad,{'includeAllSlots':!0x0,..._0x38b0ff}))if(!_0x2ce680||0x1!=_0x35043b||0x1!=_0xc9a938)return!0x1;return!0x0;}
23
+ const _0x3862=['deletion','markers','low','editor','getColumns','cell','plugins','TableUtils','filter','oldRange','document','tableCellHorizontalAlignment','differ','start','suggestionUnloaded','elementToElement','getChild','insertContent','push','unwrap','return','register','_isForcedDefaultExecutionBlock','get','includes','suggestionLoaded','high','updateMarker','createTableWalker','paragraph','add','selection','tablePaste','join','end','registerCustomCallback','subType','tableCell','tableCellBorderStyle','createRangeOn','previous','createRangeIn','listenTo','createRange','from','fromEntries','tableCellVerticalAlignment','_getCoordsForCells','insertion','accept','afterInit','registerPostFixer','discard','documentSelection','tablePasteChainId','tableCellBackgroundColor','getItems','hasSuggestion','getSuggestionCallback','next','markMultiRangeBlockFormat','getRanges','position','rows','nodeAfter','Users','schema','element','markerToHighlight','row','map','createElement','markMultiRangeDeletion','setAttribute','remove','tablePasteCell','has','columnInsertionIndexes','dataDowncast','getAllAdjacentSuggestions','nextSibling','requires','conversion','isEqual','getSelectionAffectedTableCells','registerDescriptionCallback','_createdBatches','getSuggestions','keys','change','model','startsWith','set','isEmpty','name','table','newRange','insertRows','containsRange','rowInsertionIndexes','commands','_suggestionFactory','TrackChangesEditing','showSuggestionHighlights','tableCellBorderWidth','getChanges','stop','author','ck-suggestion-marker-insertion','endRow','endColumn','deletionRanges','for','content','forceDefaultExecution','getChildren','tableCellSuggestion','markMultiRangeInsertion','attributes','suggestion:formatBlock:tablePasteCell','getShiftedBy','value','some','cells','getTableIfOnlyTableInContent','previousSibling','editing','getSuggestion','removeRows','rootName','every','find','reduce','first','createPositionBefore','TableClipboard','markerName','tablePasteColumn','editingDowncast','_splitMarkerName','insert','removeMarker','getMarkers','fill','tablePasteRow','move','redo','getRows','getContainedElement','insertColumns','column','_descriptionFactory','suggestion','formatBlock','markerAttributes','view','getChangedMarkers','isInContent','_tablePostFixingSubtypes','length','getRange','activeMarkers','findAncestor','columns','suggestion-td','batch','_replaceTableSlotCell','last','locale'];(function(_0x44aecd,_0x38622e){const _0x28c9e0=function(_0x255b1e){while(--_0x255b1e){_0x44aecd['push'](_0x44aecd['shift']());}};_0x28c9e0(++_0x38622e);}(_0x3862,0x184));const _0x28c9=function(_0x44aecd,_0x38622e){_0x44aecd=_0x44aecd-0x0;let _0x28c9e0=_0x3862[_0x44aecd];return _0x28c9e0;};import{getTranslation as _0x6f4cb8}from'../utils/common-translations';import{Plugin as _0x38c12e}from'ckeditor5/src/core';import{uid as _0x2c7fe8,priorities as _0x377691}from'ckeditor5/src/utils';import _0x25a472 from'./table';const le=[_0x28c9('0x36'),'tableCellBorderColor',_0x28c9('0x9d'),_0x28c9('0x82'),_0x28c9('0xa5'),_0x28c9('0x5'),'tableCellPadding'],ae=Object[_0x28c9('0xa4')](le[_0x28c9('0x14')](_0x308f54=>[_0x308f54,null]));export default class wt extends _0x38c12e{static get[_0x28c9('0x1f')](){return[_0x25a472];}[_0x28c9('0x0')](){const _0x4585d3=this[_0x28c9('0x7a')];if(!_0x4585d3[_0x28c9('0x7d')]['has'](_0x28c9('0x55')))return;const _0xef5e97=_0x4585d3[_0x28c9('0x7d')][_0x28c9('0x8e')](_0x28c9('0x34')),_0x45e433=_0x4585d3[_0x28c9('0x7d')]['get'](_0x28c9('0x7e')),_0x368641=_0x4585d3[_0x28c9('0x7d')][_0x28c9('0x8e')](_0x25a472),_0x38eb3c=_0x4585d3['plugins'][_0x28c9('0x8e')](_0x28c9('0x55'));_0x368641[_0x28c9('0x6c')]['push'](_0x28c9('0x5e'),_0x28c9('0x57')),_0x4585d3[_0x28c9('0x28')][_0x28c9('0x10')][_0x28c9('0x8c')]('tableCellSuggestion',{'allowIn':_0x28c9('0x9c'),'allowContentOf':_0x28c9('0x9c'),'isLimit':!0x0}),_0x4585d3[_0x28c9('0x20')][_0x28c9('0x86')]({'model':'tableCellSuggestion','view':_0x28c9('0x72')});let _0x2230f1=null;_0x4585d3[_0x28c9('0x28')]['on']('insertContent',(_0x38a04c,_0x168ba7)=>{const [_0x430f5d,_0x5f1e4f]=_0x168ba7,_0x292ae2=_0x168ba7[_0x168ba7[_0x28c9('0x6d')]-0x1];_0x292ae2&&_0x292ae2[_0x28c9('0x40')]||_0xef5e97[_0x28c9('0x8d')]||this[_0x28c9('0x7a')][_0x28c9('0x32')][_0x28c9('0x8e')]('trackChanges')[_0x28c9('0x47')]&&function(_0x25fe26,_0x1787e7,_0xb85c7e,_0x3b02cc,_0xea42a8){if(_0x1787e7&&!_0x1787e7['is'](_0x28c9('0x3')))return!0x1;const _0x3f8556=_0xea42a8[_0x28c9('0x4a')](_0x25fe26,_0xb85c7e);if(!_0x3f8556||!fe(_0x3f8556,void 0x0,_0x3b02cc))return!0x1;const _0x1c139b=_0x3b02cc[_0x28c9('0x22')](_0xb85c7e[_0x28c9('0x81')][_0x28c9('0x96')]);if(!_0x1c139b['length'])return!0x1;const _0x5bbd5a=_0x1c139b[0x0][_0x28c9('0x70')]('table'),_0x1e7b1b=_0x3b02cc['getRowIndexes'](_0x1c139b),_0x2582e1=_0x3b02cc['getColumnIndexes'](_0x1c139b),_0x47f1be={'startRow':_0x1e7b1b[_0x28c9('0x53')],'endRow':_0x1e7b1b[_0x28c9('0x75')],'startColumn':_0x2582e1['first'],'endColumn':_0x2582e1['last']};return 0x1==_0x1c139b[_0x28c9('0x6d')]&&(_0x47f1be[_0x28c9('0x3b')]+=_0x3b02cc[_0x28c9('0x61')](_0x3f8556)-0x1,_0x47f1be[_0x28c9('0x3c')]+=_0x3b02cc[_0x28c9('0x7b')](_0x3f8556)-0x1),fe(_0x5bbd5a,_0x47f1be,_0x3b02cc);}(_0x430f5d,_0x5f1e4f,_0x4585d3[_0x28c9('0x28')],_0x45e433,_0x38eb3c)&&(_0x38a04c[_0x28c9('0x38')](),_0x2230f1={'cells':[],'insertionRanges':[],'deletionRanges':[],'rowInsertionRanges':[],'rowInsertionIndexes':[],'columnInsertionRanges':[],'columnInsertionIndexes':[]},_0x4585d3['model'][_0x28c9('0x27')](()=>{_0x4585d3['model'][_0x28c9('0x88')](_0x168ba7[0x0],_0x168ba7[0x1],_0x168ba7[0x2],{'forceDefaultExecution':!0x0});const _0x280914=_0x2c7fe8(),{rowInsertionRanges:_0x167c17,columnInsertionRanges:_0x1ef5a7,insertionRanges:_0x3d015a,deletionRanges:_0x235850,cells:_0x3a2e03}=_0x2230f1;_0x167c17[_0x28c9('0x6d')]&&_0xef5e97[_0x28c9('0x43')](_0x167c17,_0x28c9('0x5e'),{'tablePasteChainId':_0x280914}),_0x1ef5a7['length']&&_0xef5e97[_0x28c9('0x43')](_0x1ef5a7,_0x28c9('0x57'),{'tablePasteChainId':_0x280914}),_0x3d015a['length']&&_0xef5e97[_0x28c9('0x43')](_0x3d015a,'tablePaste',{'tablePasteChainId':_0x280914,'skipNestingCheck':!0x0}),_0x235850[_0x28c9('0x6d')]&&_0xef5e97[_0x28c9('0x16')](_0x235850,'tablePaste',{'tablePasteChainId':_0x280914,'skipNestingCheck':!0x0});const _0x3747c1=_0xef5e97[_0x28c9('0xa')](_0x3a2e03['map'](({element:_0x310180})=>_0x310180),{'formatGroupId':_0x2c7fe8()},[],_0x28c9('0x19'),{'tablePasteChainId':_0x280914});if(_0x3747c1){const _0x2f7d1d=_0x3747c1[_0x28c9('0x5c')](),_0x5dd47b=[];for(const {element:_0x5b252b,attributes:_0x3a96b5}of _0x3a2e03){if(!_0x3a96b5)continue;const _0x3d3399=_0x4585d3[_0x28c9('0x28')][_0x28c9('0x9e')](_0x5b252b),_0x49444e=_0x2f7d1d[_0x28c9('0x51')](_0x505fdb=>_0x505fdb[_0x28c9('0x6e')]()[_0x28c9('0x21')](_0x3d3399));_0x49444e&&_0x5dd47b[_0x28c9('0x89')]([_0x49444e[_0x28c9('0x2c')],_0x3a96b5]);}_0x5dd47b[_0x28c9('0x6d')]&&_0x3747c1[_0x28c9('0x17')](_0x28c9('0x68'),Object[_0x28c9('0xa4')](_0x5dd47b));}_0x2230f1=null;}));},{'priority':_0x377691[_0x28c9('0x91')]+0xa}),_0x4585d3[_0x28c9('0x7d')][_0x28c9('0x8e')]('TableClipboard')['on'](_0x28c9('0x74'),(_0x3067cd,_0x5807f6)=>{const [_0x309aa8,_0x33a726,,_0x44c87c]=_0x5807f6;if(!_0x2230f1)return;_0x3067cd[_0x28c9('0x38')]();const _0x15f1e2=_0x309aa8[_0x28c9('0x7c')],_0x1c50f9=_0x33a726,_0x3ec4e3=ce(_0x15f1e2),_0x5b4c52=ce(_0x1c50f9);_0x3067cd[_0x28c9('0x8b')]=_0x15f1e2;let _0xbf9129=null,_0x3ca1ea=null;if(_0x5b4c52||_0x3ec4e3){if(_0x3ec4e3&&!_0x5b4c52){_0x44c87c[_0x28c9('0x18')](_0x15f1e2['getChild'](0x0));for(const _0x50b3ac of Array[_0x28c9('0xa3')](_0x1c50f9[_0x28c9('0x41')]()))_0x44c87c[_0x28c9('0x5a')](_0x50b3ac,_0x15f1e2,_0x28c9('0x99'));const _0x34726f=_0x2230f1[_0x28c9('0x31')][_0x28c9('0x8f')](_0x309aa8[_0x28c9('0x13')]),_0x11b461=_0x2230f1[_0x28c9('0x1b')][_0x28c9('0x8f')](_0x309aa8[_0x28c9('0x64')]);_0x34726f||_0x11b461||(_0xbf9129=_0x44c87c['createRangeIn'](_0x15f1e2));}else _0x5b4c52&&!_0x3ec4e3&&(_0x3ca1ea=_0x44c87c[_0x28c9('0xa0')](_0x15f1e2));}else{const _0x2d78ff=_0x44c87c['createElement'](_0x28c9('0x42')),_0x13862b=_0x44c87c[_0x28c9('0x15')](_0x28c9('0x42'));_0x44c87c['wrap'](_0x44c87c[_0x28c9('0xa0')](_0x15f1e2),_0x13862b),_0x44c87c[_0x28c9('0x5a')](_0x2d78ff,_0x15f1e2,0x0);for(const _0x236699 of Array[_0x28c9('0xa3')](_0x1c50f9[_0x28c9('0x41')]()))_0x44c87c[_0x28c9('0x5a')](_0x236699,_0x2d78ff,'end');_0xbf9129=_0x44c87c[_0x28c9('0x9e')](_0x2d78ff),_0x3ca1ea=_0x44c87c[_0x28c9('0x9e')](_0x13862b);}const _0x30a393=Array[_0x28c9('0xa3')](_0x1c50f9['getAttributes']())[_0x28c9('0x7f')](([_0xfec6f0])=>le[_0x28c9('0x8f')](_0xfec6f0));_0x2230f1[_0x28c9('0x49')]['push']({'element':_0x15f1e2,'attributes':_0x30a393[_0x28c9('0x6d')]?Object[_0x28c9('0xa4')](_0x30a393):null}),_0xbf9129&&_0x2230f1['insertionRanges'][_0x28c9('0x89')](_0xbf9129),_0x3ca1ea&&_0x2230f1[_0x28c9('0x3d')][_0x28c9('0x89')](_0x3ca1ea);},{'priority':_0x28c9('0x91')}),_0x45e433['on'](_0x28c9('0x63'),(_0x5de655,_0x585944)=>{const [_0x2a5314,_0x5bf7ab={}]=_0x585944;if(!_0x2230f1)return;const _0x4f36cd=_0x5bf7ab['at']||0x0,_0x265ede=_0x5bf7ab[_0x28c9('0x71')]||0x1;_0x2230f1['columnInsertionIndexes']=new Array(_0x265ede)[_0x28c9('0x5d')](_0x4f36cd)[_0x28c9('0x14')]((_0x547f04,_0x5a6dd6)=>_0x547f04+_0x5a6dd6);for(const {cell:_0x4cd3d8}of _0x45e433[_0x28c9('0x93')](_0x2a5314,{'startColumn':_0x4f36cd,'endColumn':_0x4f36cd+_0x265ede-0x1}))_0x2230f1['columnInsertionRanges']['push'](_0x4585d3[_0x28c9('0x28')]['createRangeOn'](_0x4cd3d8));},{'priority':_0x28c9('0x79')}),_0x45e433['on'](_0x28c9('0x2f'),(_0x1050dc,_0x2f2b51)=>{const [_0x51d2b6,_0x4cca1f={}]=_0x2f2b51;if(!_0x2230f1)return;const _0x125e1e=_0x4cca1f['at']||0x0,_0x344d0f=_0x4cca1f[_0x28c9('0xd')]||0x1;_0x2230f1[_0x28c9('0x31')]=new Array(_0x344d0f)[_0x28c9('0x5d')](_0x125e1e)[_0x28c9('0x14')]((_0x14f0b2,_0x245414)=>_0x14f0b2+_0x245414);for(const {cell:_0x341334}of _0x45e433[_0x28c9('0x93')](_0x51d2b6,{'startRow':_0x125e1e,'endRow':_0x125e1e+_0x344d0f-0x1}))_0x2230f1['rowInsertionRanges'][_0x28c9('0x89')](_0x4585d3[_0x28c9('0x28')][_0x28c9('0x9e')](_0x341334));},{'priority':'low'}),_0xef5e97[_0x28c9('0x65')][_0x28c9('0x23')](_0x216810=>{if(_0x216810[_0x28c9('0x9b')]&&_0x216810[_0x28c9('0x9b')][_0x28c9('0x29')](_0x28c9('0x97')))return _0x216810['previous']?{}:{'type':_0x28c9('0xa7'),'content':_0x6f4cb8(_0x4585d3[_0x28c9('0x76')],'*Replace\x20table\x20cells*')};});const _0x51aaec=()=>!0x1;for(const _0x1ace84 of[_0x28c9('0x97'),'tablePasteColumn',_0x28c9('0x5e'),_0x28c9('0x19')])_0xef5e97[_0x28c9('0x33')][_0x28c9('0x9a')](_0x28c9('0xa7'),_0x1ace84,_0x28c9('0x98'),_0x51aaec),_0xef5e97['_suggestionFactory'][_0x28c9('0x9a')](_0x28c9('0x77'),_0x1ace84,'join',_0x51aaec),_0xef5e97['_suggestionFactory']['registerCustomCallback']('formatBlock',_0x1ace84,_0x28c9('0x98'),_0x51aaec);_0xef5e97[_0x28c9('0x33')]['registerCustomCallback']('formatBlock','tablePasteCell',_0x28c9('0x2'),_0x51aaec),_0xef5e97[_0x28c9('0x33')][_0x28c9('0x9a')](_0x28c9('0x67'),_0x28c9('0x19'),'accept',(_0x5aec89,_0x54729d,_0x191c6d)=>{const _0x3bb88a=_0x5aec89['map'](_0x216d92=>_0x216d92['getContainedElement']())[_0x28c9('0x7f')](_0x1deb1c=>_0x1deb1c),_0x56c954=new Map(_0x3bb88a[_0x28c9('0x14')](_0x25732e=>[_0x25732e,null]));if(_0x2230f1)for(const {element:_0x4c89e5,attributes:_0x1e7d01}of _0x2230f1[_0x28c9('0x49')])_0x1e7d01&&_0x56c954[_0x28c9('0x2a')](_0x4c89e5,_0x1e7d01);else{if(_0x191c6d&&_0x191c6d[_0x28c9('0x68')])for(const [_0x5d3b8e,_0x2264c5]of Object['entries'](_0x191c6d[_0x28c9('0x68')])){const _0x371e83=_0x4585d3[_0x28c9('0x28')][_0x28c9('0x78')]['get'](_0x5d3b8e),_0x40e028=_0x371e83?_0x371e83[_0x28c9('0x6e')]()[_0x28c9('0x62')]():null;_0x40e028&&_0x56c954[_0x28c9('0x2a')](_0x40e028,_0x2264c5);}}_0x4585d3[_0x28c9('0x28')][_0x28c9('0x27')](_0x16f392=>{for(const [_0x46ebe3,_0x4eee3b]of _0x56c954)_0x16f392['setAttributes']({...ae,..._0x4eee3b},_0x46ebe3);});});const _0x4d050a=(_0x282acb,_0x17b1d7)=>{_0xef5e97['_suggestionFactory'][_0x28c9('0x9a')](_0x282acb,_0x28c9('0x97'),_0x17b1d7,(_0x5da849,_0x1402eb,_0x12e102)=>{_0x4585d3[_0x28c9('0x28')][_0x28c9('0x27')](_0x20809d=>{const _0x1e2b76=[];for(const _0x35f422 of _0x5da849){const _0x4cda66=_0x35f422[_0x28c9('0x84')][_0x28c9('0xe')];_0x4cda66['is'](_0x28c9('0x11'),'tableCellSuggestion')&&_0x1e2b76[_0x28c9('0x89')](_0x4cda66);}_0xef5e97['_suggestionFactory'][_0x28c9('0x8')](_0x282acb,null,_0x17b1d7)(_0x5da849,_0x1402eb,_0x12e102);for(const _0x17f2cb of _0x1e2b76)'$graveyard'!=_0x17f2cb['root'][_0x28c9('0x4f')]&&_0x20809d[_0x28c9('0x8a')](_0x17f2cb);});});};_0x4d050a(_0x28c9('0xa7'),_0x28c9('0xa8')),_0x4d050a('insertion',_0x28c9('0x2')),_0x4d050a(_0x28c9('0x77'),'accept'),_0x4d050a(_0x28c9('0x77'),_0x28c9('0x2')),_0xef5e97[_0x28c9('0x33')]['registerCustomCallback']('insertion','tablePasteRow','discard',_0x3df412=>{const _0x3fd298=_0x3df412['map'](_0x56ce85=>_0x56ce85[_0x28c9('0x62')]()),_0x17f72e=_0x3fd298[0x0][_0x28c9('0x70')](_0x28c9('0x2d')),{minRow:_0x29de52,maxRow:_0x230424}=_0x368641[_0x28c9('0xa6')](_0x3fd298);_0x45e433[_0x28c9('0x4e')](_0x17f72e,{'at':_0x29de52,'rows':_0x230424-_0x29de52+0x1});}),_0xef5e97[_0x28c9('0x33')][_0x28c9('0x9a')](_0x28c9('0xa7'),_0x28c9('0x57'),_0x28c9('0x2'),_0x44bacc=>{const _0x3376e4=_0x44bacc[_0x28c9('0x14')](_0x1a0930=>_0x1a0930[_0x28c9('0x62')]()),_0x33777b=_0x3376e4[0x0][_0x28c9('0x70')](_0x28c9('0x2d')),{minColumn:_0x1b66c9,maxColumn:_0x16b83e}=_0x368641[_0x28c9('0xa6')](_0x3376e4);_0x45e433['removeColumns'](_0x33777b,{'at':_0x1b66c9,'columns':_0x16b83e-_0x1b66c9+0x1});});const _0x18b541=(_0x45fb71,_0x7f37d)=>{if(!_0x7f37d['subType']||!_0x7f37d['subType'][_0x28c9('0x29')]('tablePaste'))return;const _0x31ca99=_0x7f37d[_0x28c9('0x44')][_0x28c9('0x4')],_0x2ec27d=_0xef5e97['getSuggestions']()['filter'](_0x3c7d07=>_0x3c7d07['isInContent']&&_0x3c7d07['attributes']&&_0x3c7d07['attributes'][_0x28c9('0x4')]==_0x31ca99);_0x2ec27d['length']&&_0x7f37d['getAllAdjacentSuggestions']()[_0x28c9('0x6d')]!=_0x2ec27d[_0x28c9('0x6d')]&&_0x2ec27d[_0x28c9('0x52')]((_0x4cbc0c,_0x128000)=>(_0x4cbc0c[_0x28c9('0x9')]=_0x128000,_0x128000[_0x28c9('0x9f')]=_0x4cbc0c,_0x128000));};function _0x3809fe(_0x30911f,_0x4073c5=!0x0){const {id:_0xa90dab}=_0xef5e97['_splitMarkerName'](_0x30911f[_0x28c9('0x56')]),_0x27aaa4=['ck-suggestion-marker',_0x28c9('0x3a')],_0xc340c4=_0xef5e97[_0x28c9('0x6f')][_0x28c9('0x8f')](_0x30911f[_0x28c9('0x56')]);return _0xc340c4&&_0x27aaa4[_0x28c9('0x89')]('ck-suggestion-marker--active'),{'classes':_0x27aaa4,'attributes':{'data-suggestion':_0xa90dab},'priority':_0xc340c4&&_0x4073c5?0xbc2:0xbb8};}_0xef5e97['on'](_0x28c9('0x90'),_0x18b541,{'priority':_0x28c9('0x91')}),_0xef5e97['on'](_0x28c9('0x85'),_0x18b541,{'priority':_0x28c9('0x91')}),_0x4585d3[_0x28c9('0x28')][_0x28c9('0x81')][_0x28c9('0x1')](()=>{let _0x447df4=!0x1;const _0x2c3a79=Array['from'](_0x4585d3[_0x28c9('0x28')][_0x28c9('0x81')]['differ'][_0x28c9('0x6a')]());for(const {name:_0x50669e,data:_0x13e763}of _0x2c3a79){const {group:_0x420b61,type:_0x2f4780,id:_0x64d22d}=_0xef5e97[_0x28c9('0x59')](_0x50669e);if(_0x28c9('0x66')!=_0x420b61||_0x28c9('0x77')!=_0x2f4780||_0x13e763[_0x28c9('0x80')])continue;if(!_0xef5e97[_0x28c9('0x7')](_0x64d22d))continue;const _0x45b769=_0xef5e97[_0x28c9('0x4d')](_0x64d22d)['getRanges'](),_0x3a1c1d=_0x4585d3[_0x28c9('0x7d')][_0x28c9('0x8e')](_0x28c9('0xf'))['me'];for(const _0x4a7151 of _0xef5e97[_0x28c9('0x25')]()){if(!_0x4a7151[_0x28c9('0x6b')]||_0x4a7151[_0x28c9('0x39')]!=_0x3a1c1d)continue;if(_0x28c9('0x67')!=_0x4a7151['type']||_0x28c9('0x19')!=_0x4a7151[_0x28c9('0x9b')])continue;if(_0x4a7151[_0x28c9('0xb')]()[_0x28c9('0x50')](_0x3ebca5=>_0x45b769[_0x28c9('0x48')](_0x4fd10e=>_0x4fd10e[_0x28c9('0x30')](_0x3ebca5,!0x0))))for(const _0x40e298 of _0x4a7151[_0x28c9('0x1d')]())_0x40e298[_0x28c9('0x6b')]&&(_0x40e298[_0x28c9('0x2')](),_0x447df4=!0x0);}}return _0x447df4;}),_0x4585d3[_0x28c9('0x28')][_0x28c9('0x81')][_0x28c9('0x1')](_0x29558c=>{const _0x3a2d8c=_0x4585d3[_0x28c9('0x32')]['get'](_0x28c9('0x60'));if(!_0x3a2d8c||!_0x3a2d8c[_0x28c9('0x24')]['has'](_0x29558c[_0x28c9('0x73')]))return!0x1;let _0x92317e=!0x1;const _0x273fe0=_0x4585d3[_0x28c9('0x7d')][_0x28c9('0x8e')](_0x28c9('0xf'))['me'],_0x41af4e=_0x4585d3[_0x28c9('0x28')][_0x28c9('0x81')]['differ'][_0x28c9('0x37')](),_0x550aba=Array['from'](_0x4585d3[_0x28c9('0x28')][_0x28c9('0x81')][_0x28c9('0x83')][_0x28c9('0x6a')]())[_0x28c9('0x7f')](({name:_0x3561c2,data:_0x52e7c1})=>{const {group:_0x2c92df,subType:_0x5ebf72,authorId:_0x15bff0}=_0xef5e97['_splitMarkerName'](_0x3561c2);return _0x28c9('0x66')==_0x2c92df&&_0x28c9('0x97')==_0x5ebf72&&_0x15bff0==_0x273fe0['id']&&!_0x52e7c1[_0x28c9('0x80')];});for(const _0x37bccf of _0x41af4e){if(_0x28c9('0x5a')!=_0x37bccf['type']||_0x28c9('0x42')!=_0x37bccf[_0x28c9('0x2c')]||0x1!=_0x37bccf[_0x28c9('0x6d')])continue;const _0x1c848d=_0x29558c[_0x28c9('0xa2')](_0x37bccf[_0x28c9('0xc')],_0x37bccf[_0x28c9('0xc')][_0x28c9('0x46')](0x1));if(!_0x550aba['find'](({data:_0x512c51})=>_0x512c51[_0x28c9('0x2e')][_0x28c9('0x21')](_0x1c848d)))for(const {name:_0x2eccfc,data:_0xd42cb3}of _0x550aba)if(_0x1c848d[_0x28c9('0x30')](_0xd42cb3['newRange'])){_0x29558c[_0x28c9('0x92')](_0x2eccfc,{'range':_0x1c848d}),_0x92317e=!0x0;break;}}return _0x92317e;}),_0x4585d3[_0x28c9('0x28')]['document']['registerPostFixer'](_0x197eb0=>{let _0x11e01c=!0x1;const _0xb3f0e9=_0x4585d3[_0x28c9('0x7d')]['get'](_0x28c9('0xf'))['me'],_0x425ddd=_0xef5e97[_0x28c9('0x25')]()[_0x28c9('0x7f')](_0x20d791=>_0x20d791[_0x28c9('0x6b')]&&_0x20d791['author']==_0xb3f0e9),_0x157901=new Set(),_0x67054=new Set();for(const _0x597bed of _0x425ddd)if(_0x28c9('0x97')==_0x597bed[_0x28c9('0x9b')])for(const _0x233f51 of _0x597bed['getMarkers']()){const _0x52f154=_0x233f51[_0x28c9('0x6e')]()[_0x28c9('0x62')]();if(_0x52f154){if(_0x52f154['is'](_0x28c9('0x11'),_0x28c9('0x42'))&&ce(_0x52f154)){_0x597bed[_0x28c9('0x5b')](_0x233f51[_0x28c9('0x2c')]),_0x157901[_0x28c9('0x95')](_0x52f154),_0x11e01c=!0x0;const _0x53cabd=_0x52f154[_0x28c9('0x1e')],_0x3f1e09=_0x52f154[_0x28c9('0x4b')],_0x1c6714=_0x53cabd&&_0x53cabd['is'](_0x28c9('0x11'),_0x28c9('0x42')),_0x781e3a=_0x3f1e09&&_0x3f1e09['is'](_0x28c9('0x11'),'tableCellSuggestion');_0x1c6714&&!_0x157901[_0x28c9('0x1a')](_0x53cabd)&&_0x67054[_0x28c9('0x95')](_0x53cabd),_0x781e3a&&!_0x157901[_0x28c9('0x1a')](_0x3f1e09)&&_0x67054['add'](_0x3f1e09);}else _0x52f154['is']('element',_0x28c9('0x94'))&&_0x52f154[_0x28c9('0x2b')]&&(_0x597bed[_0x28c9('0x5b')](_0x233f51[_0x28c9('0x2c')]),_0x11e01c=!0x0);}}else{if(_0x28c9('0x19')==_0x597bed['subType']){if(!_0x597bed['attributes']||!_0x597bed[_0x28c9('0x44')][_0x28c9('0x4')])continue;const _0x75b701=_0x597bed[_0x28c9('0x44')][_0x28c9('0x68')];if(_0x75b701&&Object[_0x28c9('0x26')](_0x75b701)[_0x28c9('0x6d')])continue;const _0x5db44e=_0x597bed[_0x28c9('0x44')][_0x28c9('0x4')];let _0x4012f3=!0x0,_0x625832=!0x0;for(const _0x4cefad of _0x425ddd)if(_0x4cefad['subType']&&_0x4cefad[_0x28c9('0x9b')][_0x28c9('0x29')]('tablePaste')){if(!_0x4cefad[_0x28c9('0x44')]['tablePasteChainId']){_0x625832=!0x1;break;}if(_0x4cefad['id']!=_0x597bed['id']&&_0x4cefad[_0x28c9('0x44')][_0x28c9('0x4')]==_0x5db44e){_0x4012f3=!0x1;break;}}_0x625832&&_0x4012f3&&(_0x597bed['removeMarkers'](),_0x11e01c=!0x0);}}for(const _0x489009 of _0x157901)_0x197eb0[_0x28c9('0x18')](_0x489009);for(const _0xebf30 of _0x67054)_0x197eb0[_0x28c9('0x8a')](_0xebf30);return _0x11e01c;}),_0x4585d3[_0x28c9('0x20')]['for'](_0x28c9('0x58'))[_0x28c9('0x12')]({'model':_0x28c9('0x45'),'view':(_0x21aab5,_0x2db691)=>_0x3809fe(_0x21aab5),'converterPriority':_0x28c9('0x91')}),_0x4585d3['conversion'][_0x28c9('0x3e')](_0x28c9('0x1c'))[_0x28c9('0x12')]({'model':_0x28c9('0x45'),'view':(_0x5b2ebf,_0x9400f)=>_0x9400f['options'][_0x28c9('0x35')]?_0x3809fe(_0x5b2ebf,!0x1):null,'converterPriority':_0x28c9('0x91')});const _0x1f79b0=_0x4585d3[_0x28c9('0x4c')][_0x28c9('0x69')];this[_0x28c9('0xa1')](_0x1f79b0[_0x28c9('0x81')],'clipboardOutput',(_0x1a9489,_0x25f9c4)=>{const _0x45f98a=[];for(const _0x5df3b3 of _0x1f79b0[_0x28c9('0xa0')](_0x25f9c4[_0x28c9('0x3f')])[_0x28c9('0x6')]())_0x5df3b3['is']('element','suggestion-td')&&_0x45f98a[_0x28c9('0x89')](_0x5df3b3);_0x1f79b0['change'](_0x128ff4=>{for(const _0x10ebed of _0x45f98a)_0x128ff4[_0x28c9('0x5f')](_0x128ff4[_0x28c9('0xa0')](_0x10ebed),_0x128ff4[_0x28c9('0x54')](_0x10ebed)),_0x128ff4['remove'](_0x10ebed);});});}}function ce(_0x4c6abf){if(_0x4c6abf['isEmpty'])return!0x0;const _0x27c509=_0x4c6abf[_0x28c9('0x87')](0x0);return _0x27c509['is'](_0x28c9('0x11'),_0x28c9('0x94'))&&_0x27c509[_0x28c9('0x2b')];}function fe(_0x11b6ef,_0x226380={},_0x49e04d){for(const {isAnchor:_0xbe0727,cellHeight:_0xe2cc1c,cellWidth:_0x512f7d}of _0x49e04d['createTableWalker'](_0x11b6ef,{'includeAllSlots':!0x0,..._0x226380}))if(!_0xbe0727||0x1!=_0xe2cc1c||0x1!=_0x512f7d)return!0x1;return!0x0;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3d81=['TrackChangesEditing','editor','accept','locale','author','handleResizeTableWidthCommand','get','format','getSuggestionCallback','plugins','afterInit','registerCustomCallback','getTableColumnsWidths','bind','enableCommand','getContainedElement','getSelectedElement','change','formatGroupId','data','registerDescriptionCallback','resizeTableWidth','columnWidths','getSuggestions','document','formatBlock','Users','_descriptionFactory','handleSuggestionDescription','TableColumnResizeEditing','model','getAttribute','*Format:*\x20resize\x20table','_suggestionFactory','resizeTable','markBlockFormat','discard','commandParams','has','table'];(function(_0xf70d25,_0x3d81f0){const _0x1d305f=function(_0x5c016f){while(--_0x5c016f){_0xf70d25['push'](_0xf70d25['shift']());}};_0x1d305f(++_0x3d81f0);}(_0x3d81,0xa4));const _0x1d30=function(_0xf70d25,_0x3d81f0){_0xf70d25=_0xf70d25-0x0;let _0x1d305f=_0x3d81[_0xf70d25];return _0x1d305f;};import{Plugin as _0x5e54a5}from'ckeditor5/src/core';import{getTranslation as _0x4b176b}from'../utils/common-translations';export default class yt extends _0x5e54a5{[_0x1d30('0x6')](){if(!this[_0x1d30('0x25')]['plugins'][_0x1d30('0x22')](_0x1d30('0x19')))return;const _0x421319=this[_0x1d30('0x25')]['plugins'][_0x1d30('0x2')]('TrackChangesEditing');_0x421319[_0x1d30('0xa')](_0x1d30('0x11'),this[_0x1d30('0x1')][_0x1d30('0x9')](this)),_0x421319[_0x1d30('0xa')]('resizeColumnWidths',this[_0x1d30('0x1')][_0x1d30('0x9')](this)),_0x421319[_0x1d30('0x1d')][_0x1d30('0x7')](_0x1d30('0x15'),_0x1d30('0x1e'),'accept',_0x421319[_0x1d30('0x1d')]['getSuggestionCallback']('formatBlock',null,_0x1d30('0x20'))),_0x421319['_suggestionFactory'][_0x1d30('0x7')](_0x1d30('0x15'),'resizeTable',_0x1d30('0x20'),_0x421319[_0x1d30('0x1d')][_0x1d30('0x4')](_0x1d30('0x15'),null,_0x1d30('0x26'))),_0x421319[_0x1d30('0x17')][_0x1d30('0x10')](this[_0x1d30('0x18')]['bind'](this));}[_0x1d30('0x1')](_0x2c652f,_0x102e90){const _0x550e30=this[_0x1d30('0x25')][_0x1d30('0x5')][_0x1d30('0x2')](_0x1d30('0x24')),_0x46eccf=this[_0x1d30('0x25')][_0x1d30('0x5')][_0x1d30('0x2')](_0x1d30('0x19')),_0x45a207=_0x102e90[_0x1d30('0x23')]||this[_0x1d30('0x25')][_0x1d30('0x1a')][_0x1d30('0x14')]['selection'][_0x1d30('0xc')]();this[_0x1d30('0x25')][_0x1d30('0x1a')][_0x1d30('0xd')](()=>{const _0x495e34=_0x46eccf['getColumnGroupElement'](_0x45a207);let _0x28fd9a=_0x495e34?_0x46eccf[_0x1d30('0x8')](_0x495e34):null,_0x572f97=_0x45a207[_0x1d30('0x1b')]('tableWidth')||null;const _0x7efdfc=_0x102e90['tableWidth']||_0x572f97,_0x459142=_0x102e90[_0x1d30('0x12')]||_0x28fd9a,_0x26db6a=this[_0x1d30('0x25')][_0x1d30('0x5')]['get'](_0x1d30('0x16'))['me'];for(const _0x3a1bcd of _0x550e30[_0x1d30('0x13')]()){const _0x408338=_0x3a1bcd[_0x1d30('0xb')]();if('resizeTable'===_0x3a1bcd['subType']&&_0x408338===_0x45a207){_0x3a1bcd[_0x1d30('0x0')]!==_0x26db6a&&_0x3a1bcd['discard']();const _0x233962=_0x3a1bcd[_0x1d30('0xf')][_0x1d30('0x21')];_0x572f97=_0x233962[0x0]['tableWidth'],_0x28fd9a=_0x233962[0x0][_0x1d30('0x12')];break;}}_0x2c652f({'table':_0x45a207,'tableWidth':_0x7efdfc,'columnWidths':_0x459142}),_0x550e30[_0x1d30('0x1f')](_0x45a207,{'commandName':_0x1d30('0x11'),'commandParams':[{'tableWidth':_0x572f97,'columnWidths':_0x28fd9a}],'formatGroupId':_0x1d30('0x1e')},[],_0x1d30('0x1e'));});}[_0x1d30('0x18')](_0x35c3f8){const {data:_0x5b4546}=_0x35c3f8;if(_0x5b4546&&_0x1d30('0x1e')===_0x5b4546[_0x1d30('0xe')]){const _0x26869c=_0x1d30('0x1c');return{'type':_0x1d30('0x3'),'content':_0x4b176b(this[_0x1d30('0x25')][_0x1d30('0x27')],_0x26869c)};}}}
23
+ const _0x7737=['TableColumnResizeEditing','resizeColumnWidths','formatBlock','subType','discard','TrackChangesEditing','getTableColumnsWidths','format','commandParams','resizeTableWidth','model','registerDescriptionCallback','editor','formatGroupId','getSuggestions','getAttribute','author','data','_suggestionFactory','handleResizeTableWidthCommand','columnWidths','get','_descriptionFactory','registerCustomCallback','resizeTable','markBlockFormat','afterInit','locale','accept','enableCommand','selection','bind','document','getSuggestionCallback','change','tableWidth','plugins','handleSuggestionDescription'];(function(_0x44150a,_0x77378){const _0x51233c=function(_0x29d3a0){while(--_0x29d3a0){_0x44150a['push'](_0x44150a['shift']());}};_0x51233c(++_0x77378);}(_0x7737,0x182));const _0x5123=function(_0x44150a,_0x77378){_0x44150a=_0x44150a-0x0;let _0x51233c=_0x7737[_0x44150a];return _0x51233c;};import{Plugin as _0x3b2f9b}from'ckeditor5/src/core';import{getTranslation as _0x5e09da}from'../utils/common-translations';export default class yt extends _0x3b2f9b{[_0x5123('0x14')](){if(!this['editor'][_0x5123('0x1e')]['has'](_0x5123('0x20')))return;const _0x1cff87=this[_0x5123('0x6')][_0x5123('0x1e')][_0x5123('0xf')](_0x5123('0x25'));_0x1cff87[_0x5123('0x17')](_0x5123('0x3'),this[_0x5123('0xd')]['bind'](this)),_0x1cff87[_0x5123('0x17')](_0x5123('0x21'),this[_0x5123('0xd')][_0x5123('0x19')](this)),_0x1cff87[_0x5123('0xc')][_0x5123('0x11')]('formatBlock',_0x5123('0x12'),_0x5123('0x16'),_0x1cff87[_0x5123('0xc')]['getSuggestionCallback']('formatBlock',null,_0x5123('0x24'))),_0x1cff87['_suggestionFactory'][_0x5123('0x11')](_0x5123('0x22'),_0x5123('0x12'),_0x5123('0x24'),_0x1cff87['_suggestionFactory'][_0x5123('0x1b')](_0x5123('0x22'),null,'accept')),_0x1cff87[_0x5123('0x10')][_0x5123('0x5')](this[_0x5123('0x1f')][_0x5123('0x19')](this));}['handleResizeTableWidthCommand'](_0x357aa5,_0x44ea1b){const _0x37f3aa=this[_0x5123('0x6')][_0x5123('0x1e')][_0x5123('0xf')](_0x5123('0x25')),_0x1833cf=this[_0x5123('0x6')][_0x5123('0x1e')][_0x5123('0xf')](_0x5123('0x20')),_0x4c3df6=_0x44ea1b['table']||this[_0x5123('0x6')][_0x5123('0x4')][_0x5123('0x1a')][_0x5123('0x18')]['getSelectedElement']();this['editor'][_0x5123('0x4')][_0x5123('0x1c')](()=>{const _0x513c2c=_0x1833cf['getColumnGroupElement'](_0x4c3df6);let _0x14825b=_0x513c2c?_0x1833cf[_0x5123('0x0')](_0x513c2c):null,_0xf8ce02=_0x4c3df6[_0x5123('0x9')](_0x5123('0x1d'))||null;const _0x587f28=_0x44ea1b[_0x5123('0x1d')]||_0xf8ce02,_0x15a551=_0x44ea1b[_0x5123('0xe')]||_0x14825b,_0x4ec5c7=this[_0x5123('0x6')][_0x5123('0x1e')][_0x5123('0xf')]('Users')['me'];for(const _0x4e9f87 of _0x37f3aa[_0x5123('0x8')]()){const _0x1b0b19=_0x4e9f87['getContainedElement']();if(_0x5123('0x12')===_0x4e9f87[_0x5123('0x23')]&&_0x1b0b19===_0x4c3df6){_0x4e9f87[_0x5123('0xa')]!==_0x4ec5c7&&_0x4e9f87['discard']();const _0x2e914e=_0x4e9f87[_0x5123('0xb')][_0x5123('0x2')];_0xf8ce02=_0x2e914e[0x0][_0x5123('0x1d')],_0x14825b=_0x2e914e[0x0]['columnWidths'];break;}}_0x357aa5({'table':_0x4c3df6,'tableWidth':_0x587f28,'columnWidths':_0x15a551}),_0x37f3aa[_0x5123('0x13')](_0x4c3df6,{'commandName':_0x5123('0x3'),'commandParams':[{'tableWidth':_0xf8ce02,'columnWidths':_0x14825b}],'formatGroupId':'resizeTable'},[],'resizeTable');});}[_0x5123('0x1f')](_0x30b18c){const {data:_0x4a38bf}=_0x30b18c;if(_0x4a38bf&&'resizeTable'===_0x4a38bf[_0x5123('0x7')]){const _0x5b691c='*Format:*\x20resize\x20table';return{'type':_0x5123('0x1'),'content':_0x5e09da(this[_0x5123('0x6')][_0x5123('0x15')],_0x5b691c)};}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2f31=['table','start','setTableColumnHeader','commandParams','registerCustomCallback','model','writer','document','FORMAT_HEADER_COLUMN','commandName','createPositionAfter','setAttribute','data','enableCommand','options','createPositionBefore','editing','createRange','removeClass','accept','format','selection','ck-suggestion-marker--active','FORMAT_REGULAR_COLUMN','value','last','from','_suggestionFactory','markerRange','setTableRowHeader','TrackChangesEditing','index','highest','TableUtils','headingColumns','isBefore','findAncestor','getRowIndexes','childCount','headingRows','createTableWalker','getCellLocation','mapper','data-suggestion','forceValue','TableEditing','consume','getSuggestion','stop','*Format:*\x20%0','includes','markerNameToElements','markBlockFormat','parent','ck-suggestion-marker-','formatBlock','editor','downcastDispatcher','bindElementToMarker','cell','getChild','FORMAT_REGULAR_ROW','nodeBefore','_descriptionFactory','locale','markerName','_splitMarkerName','end','addClass','has','plugins','removeAttribute','get','getSelectionAffectedTableCells','name','item'];(function(_0x44798c,_0x2f311f){const _0x571b1c=function(_0x5dd6f7){while(--_0x5dd6f7){_0x44798c['push'](_0x44798c['shift']());}};_0x571b1c(++_0x2f311f);}(_0x2f31,0x183));const _0x571b=function(_0x44798c,_0x2f311f){_0x44798c=_0x44798c-0x0;let _0x571b1c=_0x2f31[_0x44798c];return _0x571b1c;};import{Plugin as _0x539c2c}from'ckeditor5/src/core';import _0x1750c6 from'./table';import{getTranslation as _0x43b386}from'../utils/common-translations';export default class kt extends _0x539c2c{static get['requires'](){return[_0x1750c6];}['afterInit'](){const _0x219aa7=this[_0x571b('0x31')];if(!_0x219aa7[_0x571b('0x3f')][_0x571b('0x3e')](_0x571b('0x26')))return;const _0x4a0c23=_0x219aa7[_0x571b('0x39')],_0x2f26a5=_0x219aa7[_0x571b('0x3f')][_0x571b('0x41')](_0x571b('0x17')),_0x1bb188=_0x219aa7['plugins'][_0x571b('0x41')](_0x571b('0x1a')),_0x2da186=_0x219aa7[_0x571b('0x3f')][_0x571b('0x41')](_0x1750c6);function _0xe1ab13({showActiveMarker:_0x432d48=!0x0,setDataAttribute:_0x579361=!0x0}={}){return(_0x55e0ea,_0x5196b6,_0x2d5fcf)=>{const {type:_0x1ab857,id:_0x17a622}=_0x2f26a5[_0x571b('0x3b')](_0x5196b6[_0x571b('0x3a')]),_0x4d7c97=_0x2f26a5[_0x571b('0x28')](_0x17a622);if(!_0x4d7c97[_0x571b('0x5')]||'setTableColumnHeader'!=_0x4d7c97[_0x571b('0x5')][_0x571b('0x2')])return;if(_0x5196b6[_0x571b('0x44')])return void _0x55e0ea[_0x571b('0x29')]();if(!_0x2d5fcf['consumable'][_0x571b('0x27')](_0x5196b6[_0x571b('0x15')],_0x55e0ea[_0x571b('0x43')]))return;const _0x329945=_0x5196b6['markerRange'][_0x571b('0x46')]['nodeAfter'],_0x43911a=_0x5196b6[_0x571b('0x15')][_0x571b('0x3c')][_0x571b('0x37')],_0x591ba3=_0x329945[_0x571b('0x2e')]['parent'],{column:_0x475c08}=_0x1bb188[_0x571b('0x22')](_0x329945),{column:_0x434ec8}=_0x1bb188[_0x571b('0x22')](_0x43911a);for(let _0x2ad770=_0x475c08;_0x2ad770<=_0x434ec8;_0x2ad770++){const _0x41aea0=_0x1bb188[_0x571b('0x21')](_0x591ba3,{'column':_0x2ad770,'includeAllSlots':!0x1});for(const _0x4a27bb of _0x41aea0){const _0x3ffd05=_0x4a27bb['cell'],_0x42a2f0=_0x2d5fcf['mapper']['toViewElement'](_0x3ffd05);_0x2d5fcf[_0x571b('0x4b')][_0x571b('0x3d')]('ck-suggestion-marker-'+_0x1ab857,_0x42a2f0),_0x579361&&_0x2d5fcf['writer'][_0x571b('0x4')](_0x571b('0x24'),_0x17a622,_0x42a2f0),_0x2d5fcf[_0x571b('0x23')][_0x571b('0x33')](_0x42a2f0,_0x5196b6[_0x571b('0x3a')]),_0x432d48&&(_0x2f26a5['activeMarkers'][_0x571b('0x2b')](_0x5196b6['markerName'])?_0x2d5fcf[_0x571b('0x4b')][_0x571b('0x3d')](_0x571b('0xf'),_0x42a2f0):_0x2d5fcf['writer'][_0x571b('0xb')](_0x571b('0xf'),_0x42a2f0));}}};}_0x2f26a5[_0x571b('0x6')](_0x571b('0x16'),(_0x2074ca,_0x33b032)=>{const _0x6edb06=_0x1bb188[_0x571b('0x42')](_0x219aa7[_0x571b('0x4a')][_0x571b('0x0')][_0x571b('0xe')]),_0x4a1d3d=_0x1bb188[_0x571b('0x1e')](_0x6edb06),_0x27aa98=_0x6edb06[0x0][_0x571b('0x1d')](_0x571b('0x45')),_0x3fe053=_0x27aa98['getAttribute'](_0x571b('0x20'))||0x0,_0xbf47be=_0x33b032&&null!==_0x33b032[_0x571b('0x25')]?_0x33b032[_0x571b('0x25')]:!_0x219aa7['commands']['get'](_0x571b('0x16'))[_0x571b('0x11')],_0x59056e=_0xbf47be?_0x4a1d3d[_0x571b('0x12')]:_0x4a1d3d['first'],_0x1c6635=_0x27aa98[_0x571b('0x35')](_0x59056e);let _0x31a5a6;if(_0xbf47be){const _0x5b416b=_0x27aa98[_0x571b('0x35')](_0x3fe053);if(_0x1c6635['index']<_0x5b416b[_0x571b('0x18')])return;_0x31a5a6=_0x219aa7[_0x571b('0x4a')]['createRange'](_0x219aa7[_0x571b('0x4a')]['createPositionBefore'](_0x5b416b[_0x571b('0x35')](0x0)),_0x219aa7['model'][_0x571b('0x3')](_0x1c6635[_0x571b('0x35')](_0x1c6635[_0x571b('0x1f')]-0x1)));}else{const _0x40e409=_0x27aa98[_0x571b('0x35')](_0x3fe053-0x1);if(!_0x40e409)return;_0x31a5a6=_0x219aa7[_0x571b('0x4a')][_0x571b('0xa')](_0x219aa7[_0x571b('0x4a')][_0x571b('0x8')](_0x1c6635[_0x571b('0x35')](0x0)),_0x219aa7['model']['createPositionAfter'](_0x40e409[_0x571b('0x35')](_0x40e409[_0x571b('0x1f')]-0x1)));}_0x219aa7[_0x571b('0x4a')]['change'](()=>{_0x2f26a5[_0x571b('0x2d')](_0x31a5a6,{'commandName':_0x571b('0x16'),'commandParams':[{'forceValue':_0xbf47be}]},[],'setTableRowHeader');});}),_0x2f26a5['enableCommand'](_0x571b('0x47'),(_0x36be4b,_0x441549)=>{const _0x2d980b=_0x219aa7[_0x571b('0x3f')][_0x571b('0x41')](_0x571b('0x1a')),_0x55ae8f=_0x2d980b['getSelectionAffectedTableCells'](_0x219aa7['model'][_0x571b('0x0')][_0x571b('0xe')]),_0x9774e=_0x2d980b['getColumnIndexes'](_0x55ae8f),_0x3f5594=_0x55ae8f[0x0][_0x571b('0x1d')]('table'),_0x16e2f2=_0x3f5594['getAttribute'](_0x571b('0x1b'))||0x0,_0x334bfe=_0x441549&&null!==_0x441549[_0x571b('0x25')]?_0x441549['forceValue']:!_0x219aa7['commands'][_0x571b('0x41')]('setTableColumnHeader')['value'];let _0x4a71a9;const _0x4d1a93=_0x3f5594[_0x571b('0x35')](0x0),_0x32e0e1=_0x334bfe?_0x9774e[_0x571b('0x12')]:_0x9774e['first'],_0x5819c5=_0x2d980b[_0x571b('0x21')](_0x3f5594,{'startRow':0x0,'column':_0x32e0e1,'includeAllSlots':!0x1}),_0x59b445=Array[_0x571b('0x13')](_0x5819c5)[0x0][_0x571b('0x34')];if(_0x334bfe){const _0x262a12=_0x4d1a93[_0x571b('0x35')](_0x16e2f2);if(_0x59b445[_0x571b('0x1c')](_0x262a12))return;_0x4a71a9=_0x219aa7[_0x571b('0x4a')]['createRange'](_0x219aa7[_0x571b('0x4a')][_0x571b('0x8')](_0x262a12),_0x219aa7[_0x571b('0x4a')]['createPositionAfter'](_0x59b445));}else{const _0x5c9df1=_0x4d1a93[_0x571b('0x35')](_0x16e2f2-0x1);if(!_0x5c9df1)return;_0x4a71a9=_0x219aa7[_0x571b('0x4a')][_0x571b('0xa')](_0x219aa7['model'][_0x571b('0x8')](_0x59b445),_0x219aa7['model'][_0x571b('0x3')](_0x5c9df1));}_0x219aa7[_0x571b('0x4a')]['change'](()=>{_0x2f26a5[_0x571b('0x2d')](_0x4a71a9,{'commandName':_0x571b('0x47'),'commandParams':[{'forceValue':_0x334bfe}]},[],'setTableColumnHeader');});}),_0x219aa7[_0x571b('0x9')][_0x571b('0x32')]['on']('addMarker:suggestion',_0xe1ab13(),{'priority':_0x571b('0x19')}),_0x219aa7['data'][_0x571b('0x32')]['on']('addMarker:suggestion',(_0x17ae4f,_0x12ffd1,_0x166721)=>{_0x166721[_0x571b('0x7')]['showSuggestionHighlights']&&_0xe1ab13({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x17ae4f,_0x12ffd1,_0x166721);},{'priority':_0x571b('0x19')}),_0x219aa7['editing'][_0x571b('0x32')]['on']('removeMarker:suggestion',(_0x38f63d,_0x25c82b,_0x4a0645)=>{const {type:_0x10c8a0,id:_0x4cefde}=_0x2f26a5[_0x571b('0x3b')](_0x25c82b[_0x571b('0x3a')]),_0xce0d3=_0x2f26a5['getSuggestion'](_0x4cefde);if(!_0xce0d3[_0x571b('0x5')]||'setTableColumnHeader'!=_0xce0d3['data'][_0x571b('0x2')])return;const _0x1ad599=_0x4a0645[_0x571b('0x23')][_0x571b('0x2c')](_0x25c82b['markerName']);if(_0x1ad599)for(const _0x5b12c1 of _0x1ad599)_0x4a0645[_0x571b('0x4b')][_0x571b('0xb')](_0x571b('0x2f')+_0x10c8a0,_0x5b12c1),_0x4a0645[_0x571b('0x4b')]['removeClass']('ck-suggestion-marker--active',_0x5b12c1),_0x4a0645['writer'][_0x571b('0x40')](_0x571b('0x24'),_0x5b12c1),_0x4a0645[_0x571b('0x23')]['unbindElementFromMarkerName'](_0x5b12c1,_0x25c82b[_0x571b('0x3a')]);},{'priority':_0x571b('0x19')}),_0x2f26a5[_0x571b('0x38')]['registerDescriptionCallback'](_0x4533db=>{const {data:_0x2c4fa6}=_0x4533db;if(_0x2c4fa6){if('setTableRowHeader'==_0x2c4fa6[_0x571b('0x2')]){const _0x33f47a=_0x2c4fa6[_0x571b('0x48')][0x0][_0x571b('0x25')];return _0xcfd005(_0x43b386(_0x4a0c23,_0x33f47a?'FORMAT_HEADER_ROW':_0x571b('0x36')));}if(_0x571b('0x47')==_0x2c4fa6['commandName']){const _0x20588f=_0x2c4fa6[_0x571b('0x48')][0x0][_0x571b('0x25')];return _0xcfd005(_0x43b386(_0x4a0c23,_0x20588f?_0x571b('0x1'):_0x571b('0x10')));}}function _0xcfd005(_0x59811b){return{'type':_0x571b('0xd'),'content':_0x43b386(_0x4a0c23,_0x571b('0x2a'),_0x59811b)};}});const _0x1b4c2b=_0x2da186['_acceptFormatSuggestionCallbackFactory']();_0x2f26a5[_0x571b('0x14')][_0x571b('0x49')](_0x571b('0x30'),_0x571b('0x16'),_0x571b('0xc'),_0x1b4c2b),_0x2f26a5[_0x571b('0x14')]['registerCustomCallback'](_0x571b('0x30'),'setTableColumnHeader',_0x571b('0xc'),_0x1b4c2b);}}
23
+ const _0x4755=['registerCustomCallback','_acceptFormatSuggestionCallbackFactory','commandName','markerNameToElements','childCount','FORMAT_REGULAR_ROW','registerDescriptionCallback','consumable','isBefore','accept','locale','headingColumns','createPositionBefore','document','requires','stop','has','change','getCellLocation','createTableWalker','formatBlock','cell','removeClass','addClass','addMarker:suggestion','item','getSelectionAffectedTableCells','createPositionAfter','TrackChangesEditing','selection','getChild','headingRows','ck-suggestion-marker-','data-suggestion','consume','includes','highest','markerRange','commandParams','TableUtils','removeAttribute','FORMAT_HEADER_COLUMN','ck-suggestion-marker--active','markerName','toViewElement','get','nodeAfter','setTableColumnHeader','last','markBlockFormat','model','TableEditing','FORMAT_REGULAR_COLUMN','format','options','_splitMarkerName','first','afterInit','data','writer','createRange','mapper','plugins','*Format:*\x20%0','name','findAncestor','start','editing','index','end','activeMarkers','enableCommand','value','table','getAttribute','setTableRowHeader','forceValue','_descriptionFactory','commands'];(function(_0x551dea,_0x4755fb){const _0x240415=function(_0x11fa55){while(--_0x11fa55){_0x551dea['push'](_0x551dea['shift']());}};_0x240415(++_0x4755fb);}(_0x4755,0x1c9));const _0x2404=function(_0x551dea,_0x4755fb){_0x551dea=_0x551dea-0x0;let _0x240415=_0x4755[_0x551dea];return _0x240415;};import{Plugin as _0x2821ea}from'ckeditor5/src/core';import _0x4b255d from'./table';import{getTranslation as _0x1718bf}from'../utils/common-translations';export default class kt extends _0x2821ea{static get[_0x2404('0x1f')](){return[_0x4b255d];}[_0x2404('0x4a')](){const _0x2305fe=this['editor'];if(!_0x2305fe[_0x2404('0x0')][_0x2404('0x21')](_0x2404('0x44')))return;const _0x373c72=_0x2305fe[_0x2404('0x1b')],_0x513285=_0x2305fe[_0x2404('0x0')]['get'](_0x2404('0x2d')),_0x5cd89e=_0x2305fe[_0x2404('0x0')][_0x2404('0x3e')](_0x2404('0x38')),_0x347045=_0x2305fe[_0x2404('0x0')][_0x2404('0x3e')](_0x4b255d);function _0x1f2779({showActiveMarker:_0x35df88=!0x0,setDataAttribute:_0x41278d=!0x0}={}){return(_0x18c064,_0x51907b,_0x529ad5)=>{const {type:_0x3d7f5a,id:_0x87e06a}=_0x513285[_0x2404('0x48')](_0x51907b[_0x2404('0x3c')]),_0x313caf=_0x513285['getSuggestion'](_0x87e06a);if(!_0x313caf[_0x2404('0x4b')]||_0x2404('0x40')!=_0x313caf['data'][_0x2404('0x13')])return;if(_0x51907b[_0x2404('0x2a')])return void _0x18c064[_0x2404('0x20')]();if(!_0x529ad5[_0x2404('0x18')][_0x2404('0x33')](_0x51907b[_0x2404('0x36')],_0x18c064[_0x2404('0x2')]))return;const _0x511d8f=_0x51907b[_0x2404('0x36')][_0x2404('0x4')][_0x2404('0x3f')],_0x2fa66d=_0x51907b[_0x2404('0x36')][_0x2404('0x7')]['nodeBefore'],_0x50d8db=_0x511d8f['parent']['parent'],{column:_0x1f1165}=_0x5cd89e['getCellLocation'](_0x511d8f),{column:_0x5164fb}=_0x5cd89e[_0x2404('0x23')](_0x2fa66d);for(let _0x3b09be=_0x1f1165;_0x3b09be<=_0x5164fb;_0x3b09be++){const _0x49678=_0x5cd89e[_0x2404('0x24')](_0x50d8db,{'column':_0x3b09be,'includeAllSlots':!0x1});for(const _0x29a6f7 of _0x49678){const _0x2dbc49=_0x29a6f7[_0x2404('0x26')],_0x19bb1b=_0x529ad5[_0x2404('0x4e')][_0x2404('0x3d')](_0x2dbc49);_0x529ad5['writer']['addClass'](_0x2404('0x31')+_0x3d7f5a,_0x19bb1b),_0x41278d&&_0x529ad5[_0x2404('0x4c')]['setAttribute'](_0x2404('0x32'),_0x87e06a,_0x19bb1b),_0x529ad5[_0x2404('0x4e')]['bindElementToMarker'](_0x19bb1b,_0x51907b[_0x2404('0x3c')]),_0x35df88&&(_0x513285[_0x2404('0x8')][_0x2404('0x34')](_0x51907b[_0x2404('0x3c')])?_0x529ad5[_0x2404('0x4c')][_0x2404('0x28')](_0x2404('0x3b'),_0x19bb1b):_0x529ad5[_0x2404('0x4c')][_0x2404('0x27')](_0x2404('0x3b'),_0x19bb1b));}}};}_0x513285[_0x2404('0x9')]('setTableRowHeader',(_0x8cb4a0,_0x302ca8)=>{const _0x740890=_0x5cd89e[_0x2404('0x2b')](_0x2305fe[_0x2404('0x43')][_0x2404('0x1e')][_0x2404('0x2e')]),_0x4d49e8=_0x5cd89e['getRowIndexes'](_0x740890),_0x18e803=_0x740890[0x0][_0x2404('0x3')](_0x2404('0xb')),_0x44d211=_0x18e803[_0x2404('0xc')](_0x2404('0x30'))||0x0,_0x543eb9=_0x302ca8&&null!==_0x302ca8[_0x2404('0xe')]?_0x302ca8[_0x2404('0xe')]:!_0x2305fe['commands'][_0x2404('0x3e')](_0x2404('0xd'))[_0x2404('0xa')],_0x17b228=_0x543eb9?_0x4d49e8[_0x2404('0x41')]:_0x4d49e8[_0x2404('0x49')],_0x2ab472=_0x18e803[_0x2404('0x2f')](_0x17b228);let _0x48b82b;if(_0x543eb9){const _0x2bc7e3=_0x18e803[_0x2404('0x2f')](_0x44d211);if(_0x2ab472[_0x2404('0x6')]<_0x2bc7e3['index'])return;_0x48b82b=_0x2305fe[_0x2404('0x43')]['createRange'](_0x2305fe[_0x2404('0x43')][_0x2404('0x1d')](_0x2bc7e3[_0x2404('0x2f')](0x0)),_0x2305fe[_0x2404('0x43')][_0x2404('0x2c')](_0x2ab472[_0x2404('0x2f')](_0x2ab472[_0x2404('0x15')]-0x1)));}else{const _0x28d307=_0x18e803[_0x2404('0x2f')](_0x44d211-0x1);if(!_0x28d307)return;_0x48b82b=_0x2305fe[_0x2404('0x43')]['createRange'](_0x2305fe['model'][_0x2404('0x1d')](_0x2ab472['getChild'](0x0)),_0x2305fe['model'][_0x2404('0x2c')](_0x28d307['getChild'](_0x28d307[_0x2404('0x15')]-0x1)));}_0x2305fe[_0x2404('0x43')][_0x2404('0x22')](()=>{_0x513285[_0x2404('0x42')](_0x48b82b,{'commandName':_0x2404('0xd'),'commandParams':[{'forceValue':_0x543eb9}]},[],_0x2404('0xd'));});}),_0x513285[_0x2404('0x9')](_0x2404('0x40'),(_0x4265bc,_0x32cd3a)=>{const _0xbaaaa8=_0x2305fe[_0x2404('0x0')][_0x2404('0x3e')](_0x2404('0x38')),_0x13a63d=_0xbaaaa8[_0x2404('0x2b')](_0x2305fe[_0x2404('0x43')][_0x2404('0x1e')][_0x2404('0x2e')]),_0x172d11=_0xbaaaa8['getColumnIndexes'](_0x13a63d),_0xc85869=_0x13a63d[0x0][_0x2404('0x3')](_0x2404('0xb')),_0x42fb41=_0xc85869[_0x2404('0xc')](_0x2404('0x1c'))||0x0,_0x2b1dea=_0x32cd3a&&null!==_0x32cd3a[_0x2404('0xe')]?_0x32cd3a[_0x2404('0xe')]:!_0x2305fe[_0x2404('0x10')][_0x2404('0x3e')](_0x2404('0x40'))[_0x2404('0xa')];let _0x4a8515;const _0x34569c=_0xc85869['getChild'](0x0),_0x295600=_0x2b1dea?_0x172d11[_0x2404('0x41')]:_0x172d11[_0x2404('0x49')],_0x4a5914=_0xbaaaa8[_0x2404('0x24')](_0xc85869,{'startRow':0x0,'column':_0x295600,'includeAllSlots':!0x1}),_0x3f10ca=Array['from'](_0x4a5914)[0x0][_0x2404('0x26')];if(_0x2b1dea){const _0x1b39d6=_0x34569c[_0x2404('0x2f')](_0x42fb41);if(_0x3f10ca[_0x2404('0x19')](_0x1b39d6))return;_0x4a8515=_0x2305fe['model'][_0x2404('0x4d')](_0x2305fe[_0x2404('0x43')]['createPositionBefore'](_0x1b39d6),_0x2305fe[_0x2404('0x43')]['createPositionAfter'](_0x3f10ca));}else{const _0x51ce0d=_0x34569c[_0x2404('0x2f')](_0x42fb41-0x1);if(!_0x51ce0d)return;_0x4a8515=_0x2305fe['model'][_0x2404('0x4d')](_0x2305fe[_0x2404('0x43')][_0x2404('0x1d')](_0x3f10ca),_0x2305fe[_0x2404('0x43')][_0x2404('0x2c')](_0x51ce0d));}_0x2305fe[_0x2404('0x43')][_0x2404('0x22')](()=>{_0x513285[_0x2404('0x42')](_0x4a8515,{'commandName':_0x2404('0x40'),'commandParams':[{'forceValue':_0x2b1dea}]},[],_0x2404('0x40'));});}),_0x2305fe[_0x2404('0x5')]['downcastDispatcher']['on']('addMarker:suggestion',_0x1f2779(),{'priority':'highest'}),_0x2305fe[_0x2404('0x4b')]['downcastDispatcher']['on'](_0x2404('0x29'),(_0x473d0a,_0x641a5f,_0x5092ba)=>{_0x5092ba[_0x2404('0x47')]['showSuggestionHighlights']&&_0x1f2779({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x473d0a,_0x641a5f,_0x5092ba);},{'priority':_0x2404('0x35')}),_0x2305fe[_0x2404('0x5')]['downcastDispatcher']['on']('removeMarker:suggestion',(_0x5e8465,_0x3fc787,_0x477da9)=>{const {type:_0x5cb9e6,id:_0xb52d25}=_0x513285[_0x2404('0x48')](_0x3fc787[_0x2404('0x3c')]),_0x3c33dd=_0x513285['getSuggestion'](_0xb52d25);if(!_0x3c33dd['data']||'setTableColumnHeader'!=_0x3c33dd[_0x2404('0x4b')]['commandName'])return;const _0x127530=_0x477da9[_0x2404('0x4e')][_0x2404('0x14')](_0x3fc787[_0x2404('0x3c')]);if(_0x127530)for(const _0x4dae66 of _0x127530)_0x477da9[_0x2404('0x4c')]['removeClass'](_0x2404('0x31')+_0x5cb9e6,_0x4dae66),_0x477da9[_0x2404('0x4c')][_0x2404('0x27')](_0x2404('0x3b'),_0x4dae66),_0x477da9[_0x2404('0x4c')][_0x2404('0x39')]('data-suggestion',_0x4dae66),_0x477da9['mapper']['unbindElementFromMarkerName'](_0x4dae66,_0x3fc787['markerName']);},{'priority':_0x2404('0x35')}),_0x513285[_0x2404('0xf')][_0x2404('0x17')](_0x181ff1=>{const {data:_0x35b235}=_0x181ff1;if(_0x35b235){if('setTableRowHeader'==_0x35b235['commandName']){const _0x2118e5=_0x35b235[_0x2404('0x37')][0x0][_0x2404('0xe')];return _0xbd0e7e(_0x1718bf(_0x373c72,_0x2118e5?'FORMAT_HEADER_ROW':_0x2404('0x16')));}if(_0x2404('0x40')==_0x35b235[_0x2404('0x13')]){const _0x504231=_0x35b235[_0x2404('0x37')][0x0][_0x2404('0xe')];return _0xbd0e7e(_0x1718bf(_0x373c72,_0x504231?_0x2404('0x3a'):_0x2404('0x45')));}}function _0xbd0e7e(_0x21543c){return{'type':_0x2404('0x46'),'content':_0x1718bf(_0x373c72,_0x2404('0x1'),_0x21543c)};}});const _0x302ace=_0x347045[_0x2404('0x12')]();_0x513285['_suggestionFactory'][_0x2404('0x11')](_0x2404('0x25'),'setTableRowHeader',_0x2404('0x1a'),_0x302ace),_0x513285['_suggestionFactory']['registerCustomCallback'](_0x2404('0x25'),_0x2404('0x40'),_0x2404('0x1a'),_0x302ace);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x216e=['forceDefaultExecution','map','rootName','refresh','execute','model','find','_areSelectedCellsMergable','get','mergeTableCellDown','TableUtils','mergeTableCellUp','splitTableCellHorizontally','accept','detach','deletion','filter','createRangeOn','document','registerDescriptionCallback','trackChanges','insertion','isEnabled','size','getRanges','getFirstPosition','mergeTableCellLeft','getAncestors','horizontally','type','TableEditing','commandName','findAncestor','direction','_isForcedDefaultExecutionBlock','root','*Split\x20cell:*\x20vertically','containsRange','highest','format','value','createTableWalker','requires','mergeTableCellRight','push','mergeTableCells','setSelection','editor','markBlockFormat','_tablePostFixingSubtypes','splitTableCellVertically','add','_suggestionFactory','low','table','formatBlock','change','getSelectionAffectedTableCells','enableCommand','locale','registerCustomCallback','fromRange','plugins','TrackChangesEditing','afterInit','commands','_descriptionFactory','from','length','_areMergableCells','selection','markMultiRangeBlockFormat','author','stop'];(function(_0x3f6884,_0x216e70){const _0x526269=function(_0x35945c){while(--_0x35945c){_0x3f6884['push'](_0x3f6884['shift']());}};_0x526269(++_0x216e70);}(_0x216e,0x16e));const _0x5262=function(_0x3f6884,_0x216e70){_0x3f6884=_0x3f6884-0x0;let _0x526269=_0x216e[_0x3f6884];return _0x526269;};import{Plugin as _0x4cee5d}from'ckeditor5/src/core';import _0x3b4f34 from'./table';import{LiveRange as _0x4556bd}from'ckeditor5/src/engine';import{getTranslation as _0x326290}from'../utils/common-translations';export default class pt extends _0x4cee5d{static get[_0x5262('0x2e')](){return[_0x3b4f34];}[_0x5262('0x44')](){const _0xef08b8=this[_0x5262('0x33')],_0xedb00e=_0xef08b8[_0x5262('0x9')][_0x5262('0x16')]['selection'],_0x59377d=_0xef08b8[_0x5262('0x3f')];if(!_0xef08b8[_0x5262('0x42')]['has'](_0x5262('0x22')))return;const _0x26d285=_0xef08b8[_0x5262('0x42')]['get']('TrackChangesEditing'),_0x586d2d=_0xef08b8[_0x5262('0x42')][_0x5262('0xc')]('TableUtils'),_0x1e9f58=_0xef08b8[_0x5262('0x42')][_0x5262('0xc')](_0x3b4f34);_0x1e9f58[_0x5262('0x35')][_0x5262('0x30')]('mergeTableCells'),_0x26d285[_0x5262('0x3e')](_0x5262('0x31'),()=>{const _0x4f8ecf=_0x586d2d[_0x5262('0x3d')](_0xef08b8[_0x5262('0x9')][_0x5262('0x16')]['selection']);_0xef08b8['model'][_0x5262('0x3c')](()=>{_0x26d285[_0x5262('0x1')](_0x4f8ecf,{'commandName':_0x5262('0x31'),'commandParams':[]},[],_0x5262('0x31'));});}),_0xef08b8[_0x5262('0x45')][_0x5262('0xc')](_0x5262('0x31'))['on']('execute',(_0x5d8526,_0xb9e90b)=>{_0xef08b8['commands']['get'](_0x5262('0x18'))[_0x5262('0x2c')]&&(_0xb9e90b['length']>0x0&&_0xb9e90b[_0xb9e90b['length']-0x1]&&_0xb9e90b[_0xb9e90b[_0x5262('0x48')]-0x1][_0x5262('0x4')]||_0x26d285[_0x5262('0x26')]||this[_0x5262('0xb')]()||_0x5d8526['stop']());},{'priority':_0x5262('0x2a')});for(const _0x447a48 of['mergeTableCellUp',_0x5262('0x2f'),'mergeTableCellDown',_0x5262('0x1e')]){const _0x3e38fd=_0xef08b8[_0x5262('0x45')][_0x5262('0xc')](_0x447a48);_0x26d285[_0x5262('0x3e')](_0x447a48,()=>{const _0x196173=_0xef08b8['model'][_0x5262('0x16')][_0x5262('0x0')][_0x5262('0x1d')]()[_0x5262('0x1f')]()[_0x5262('0xa')](_0x435b9=>_0x435b9['is']('element','tableCell')),_0x45092d=_0x3e38fd[_0x5262('0x2c')];_0xef08b8[_0x5262('0x9')][_0x5262('0x3c')](()=>{_0x26d285[_0x5262('0x1')]([_0x196173,_0x45092d],{'commandName':'mergeTableCells','commandParams':[]},[],_0x5262('0x31'));});});}for(const _0x5eea5b of[_0x5262('0x36'),_0x5262('0x10')]){const _0x36908b=_0xef08b8[_0x5262('0x45')][_0x5262('0xc')](_0x5eea5b);_0x26d285['enableCommand'](_0x5eea5b,()=>{const _0x350d9d=_0x586d2d[_0x5262('0x3d')](_0xef08b8['model'][_0x5262('0x16')][_0x5262('0x0')])[0x0],_0x9a42c=_0x350d9d[_0x5262('0x24')](_0x5262('0x3a')),{column:_0x5d56b2,row:_0xf16faf}=_0x586d2d['getCellLocation'](_0x350d9d);let _0x32cbeb=[];if(_0x5262('0x20')==_0x36908b[_0x5262('0x25')]){const _0x5c4f2f=_0x586d2d[_0x5262('0x2d')](_0x9a42c,{'startRow':_0xf16faf,'endRow':_0xf16faf,'includeAllSlots':!0x0});_0x32cbeb=Array[_0x5262('0x47')](_0x5c4f2f)[_0x5262('0x5')](_0x231ae9=>_0x231ae9['cell']);}else{const _0x3fc399=_0x586d2d[_0x5262('0x2d')](_0x9a42c,{'column':_0x5d56b2,'includeAllSlots':!0x0});_0x32cbeb=Array[_0x5262('0x47')](_0x3fc399)[_0x5262('0x5')](_0x316113=>_0x316113['cell']);}_0xef08b8['model'][_0x5262('0x3c')](_0x39ae15=>{_0x26d285[_0x5262('0x34')](_0x39ae15[_0x5262('0x15')](_0x350d9d),{'commandName':_0x5eea5b,'commandParams':[]},_0x32cbeb,_0x5eea5b);});});}_0x26d285['_descriptionFactory'][_0x5262('0x17')](_0x20284e=>{const {data:_0xc67ede}=_0x20284e;if(_0xc67ede)return _0x5262('0x31')==_0xc67ede[_0x5262('0x23')]?{'type':'format','content':_0x326290(_0x59377d,'*Merge\x20cells*')}:void 0x0;}),_0x26d285[_0x5262('0x46')][_0x5262('0x17')](_0x4e7ed8=>{const {data:_0x9a5e58}=_0x4e7ed8;if(_0x9a5e58)return _0x5262('0x36')==_0x9a5e58[_0x5262('0x23')]?{'type':_0x5262('0x2b'),'content':_0x326290(_0x59377d,_0x5262('0x28'))}:_0x5262('0x10')==_0x9a5e58[_0x5262('0x23')]?{'type':_0x5262('0x2b'),'content':_0x326290(_0x59377d,'*Split\x20cell:*\x20horizontally')}:void 0x0;});const _0xdac95=_0x1e9f58['_acceptFormatSuggestionCallbackFactory']();for(const _0x4b1ee0 of['mergeTableCellUp',_0x5262('0x2f'),'mergeTableCellDown',_0x5262('0x1e')])_0x26d285[_0x5262('0x38')][_0x5262('0x40')]('formatBlock',_0x4b1ee0,_0x5262('0x11'),_0xdac95);for(const _0x101c24 of['splitTableCellVertically',_0x5262('0x10')])_0x26d285[_0x5262('0x38')][_0x5262('0x40')](_0x5262('0x3b'),_0x101c24,_0x5262('0x11'),_0xdac95);_0x26d285[_0x5262('0x38')][_0x5262('0x40')](_0x5262('0x3b'),_0x5262('0x31'),_0x5262('0x11'),_0x5c3d1b=>{_0xef08b8[_0x5262('0x9')][_0x5262('0x3c')](_0x3ab062=>{const _0x2fc871=Array['from'](_0xedb00e[_0x5262('0x1c')]())[_0x5262('0x5')](_0x3cb82f=>_0x4556bd[_0x5262('0x41')](_0x3cb82f));_0x3ab062[_0x5262('0x32')](_0x5c3d1b),_0xef08b8[_0x5262('0x45')]['get'](_0x5262('0x31'))[_0x5262('0x7')](),_0xef08b8[_0x5262('0x8')]('mergeTableCells',{'forceDefaultExecution':!0x0});const _0x69c064=_0x2fc871[_0x5262('0x14')](_0x4b33b5=>'$graveyard'!=_0x4b33b5[_0x5262('0x27')][_0x5262('0x6')]);_0x69c064[_0x5262('0x48')]>0x0&&_0x3ab062[_0x5262('0x32')](_0x69c064);for(const _0x29556a of _0x2fc871)_0x29556a[_0x5262('0x12')]();});});for(const _0x4946ab of[_0x5262('0xf'),_0x5262('0xd'),_0x5262('0x1e'),_0x5262('0x2f')]){const _0x2c5881=_0xef08b8[_0x5262('0x45')][_0x5262('0xc')](_0x4946ab);_0x2c5881['on']('set:isEnabled',(_0x21d76b,_0x9b8416,_0x2163da)=>{if(_0x2163da){const _0x616e21=_0xef08b8['model']['document'][_0x5262('0x0')][_0x5262('0x1d')]()[_0x5262('0x1f')]()['find'](_0x1da7ff=>_0x1da7ff['is']('element','tableCell'));this['_areMergableCells'](_0x2c5881[_0x5262('0x2c')],_0x616e21)||(_0x21d76b['return']=!0x1,_0x21d76b[_0x5262('0x3')]());}},{'priority':_0x5262('0x39')});}}[_0x5262('0xb')](){const _0xc15cdd=this['editor'][_0x5262('0x45')][_0x5262('0xc')](_0x5262('0x31')),_0x5e517d=this[_0x5262('0x33')]['plugins']['get'](_0x5262('0xe'));if(!_0xc15cdd[_0x5262('0x1a')])return!0x1;const _0x3f7716=_0x5e517d[_0x5262('0x3d')](this[_0x5262('0x33')][_0x5262('0x9')][_0x5262('0x16')]['selection']);for(const _0x41034c of _0x3f7716)for(const _0x186d2b of _0x3f7716)if(_0x41034c!=_0x186d2b&&!this[_0x5262('0x49')](_0x41034c,_0x186d2b))return!0x1;return!0x0;}[_0x5262('0x49')](_0x52fa58,_0x4cada8){const _0x3c61ac=this[_0x5262('0x33')][_0x5262('0x42')]['get'](_0x5262('0x43')),_0x4641f6=this['editor']['model'][_0x5262('0x15')](_0x52fa58),_0x2ddf20=this[_0x5262('0x33')][_0x5262('0x9')][_0x5262('0x15')](_0x4cada8),_0x5156e4=new Set(),_0x107fc1=new Set();for(const _0x353d48 of _0x3c61ac['getSuggestions']())if((_0x5262('0x19')==_0x353d48[_0x5262('0x21')]||_0x5262('0x13')==_0x353d48[_0x5262('0x21')]||'mergeTableCells'==_0x353d48['subType'])&&_0x353d48['isInContent'])for(const _0x4a715e of _0x353d48[_0x5262('0x1c')]())_0x4a715e[_0x5262('0x29')](_0x4641f6,!0x0)&&_0x5156e4['add'](_0x353d48[_0x5262('0x21')]+':'+_0x353d48[_0x5262('0x2')]['id']),_0x4a715e[_0x5262('0x29')](_0x2ddf20,!0x0)&&_0x107fc1[_0x5262('0x37')](_0x353d48[_0x5262('0x21')]+':'+_0x353d48[_0x5262('0x2')]['id']);if(_0x5156e4['size']!=_0x107fc1[_0x5262('0x1b')])return!0x1;for(const _0x5c4e4d of _0x5156e4)if(!_0x107fc1['has'](_0x5c4e4d))return!0x1;return!0x0;}}
23
+ const _0x1244=['type','mergeTableCellRight','document','commands','horizontally','has','containsRange','mergeTableCellLeft','getSuggestions','return','TableUtils','createTableWalker','low','registerCustomCallback','push','mergeTableCellUp','plugins','format','*Merge\x20cells*','insertion','mergeTableCellDown','_areSelectedCellsMergable','markMultiRangeBlockFormat','locale','filter','formatBlock','commandName','stop','root','getRanges','cell','editor','author','highest','$graveyard','value','add','map','from','splitTableCellHorizontally','registerDescriptionCallback','createRangeOn','selection','forceDefaultExecution','get','change','getAncestors','rootName','afterInit','getFirstPosition','findAncestor','TrackChangesEditing','set:isEnabled','_descriptionFactory','size','*Split\x20cell:*\x20vertically','model','tableCell','enableCommand','setSelection','_isForcedDefaultExecutionBlock','find','_acceptFormatSuggestionCallbackFactory','markBlockFormat','getSelectionAffectedTableCells','_tablePostFixingSubtypes','mergeTableCells','refresh','direction','splitTableCellVertically','element','trackChanges','length','accept','_areMergableCells'];(function(_0x5ab325,_0x12448e){const _0x4112cf=function(_0x39c04c){while(--_0x39c04c){_0x5ab325['push'](_0x5ab325['shift']());}};_0x4112cf(++_0x12448e);}(_0x1244,0x1e1));const _0x4112=function(_0x5ab325,_0x12448e){_0x5ab325=_0x5ab325-0x0;let _0x4112cf=_0x1244[_0x5ab325];return _0x4112cf;};import{Plugin as _0x2c4165}from'ckeditor5/src/core';import _0x557df3 from'./table';import{LiveRange as _0x31c31a}from'ckeditor5/src/engine';import{getTranslation as _0x54c887}from'../utils/common-translations';export default class pt extends _0x2c4165{static get['requires'](){return[_0x557df3];}[_0x4112('0x11')](){const _0x50b689=this[_0x4112('0x0')],_0x43b7d4=_0x50b689[_0x4112('0x19')]['document'][_0x4112('0xb')],_0x3d0dfc=_0x50b689[_0x4112('0x43')];if(!_0x50b689['plugins'][_0x4112('0x31')]('TableEditing'))return;const _0x1fdebc=_0x50b689['plugins'][_0x4112('0xd')](_0x4112('0x14')),_0x827a92=_0x50b689[_0x4112('0x3c')]['get'](_0x4112('0x36')),_0x4e052d=_0x50b689['plugins'][_0x4112('0xd')](_0x557df3);_0x4e052d[_0x4112('0x22')][_0x4112('0x3a')](_0x4112('0x23')),_0x1fdebc[_0x4112('0x1b')](_0x4112('0x23'),()=>{const _0x2c0806=_0x827a92[_0x4112('0x21')](_0x50b689[_0x4112('0x19')][_0x4112('0x2e')]['selection']);_0x50b689[_0x4112('0x19')][_0x4112('0xe')](()=>{_0x1fdebc['markMultiRangeBlockFormat'](_0x2c0806,{'commandName':'mergeTableCells','commandParams':[]},[],_0x4112('0x23'));});}),_0x50b689['commands'][_0x4112('0xd')](_0x4112('0x23'))['on']('execute',(_0x260295,_0x55e118)=>{_0x50b689[_0x4112('0x2f')][_0x4112('0xd')](_0x4112('0x28'))['value']&&(_0x55e118[_0x4112('0x29')]>0x0&&_0x55e118[_0x55e118['length']-0x1]&&_0x55e118[_0x55e118[_0x4112('0x29')]-0x1][_0x4112('0xc')]||_0x1fdebc[_0x4112('0x1d')]||this[_0x4112('0x41')]()||_0x260295[_0x4112('0x47')]());},{'priority':_0x4112('0x2')});for(const _0x4aa51d of[_0x4112('0x3b'),_0x4112('0x2d'),_0x4112('0x40'),_0x4112('0x33')]){const _0x46c30f=_0x50b689[_0x4112('0x2f')][_0x4112('0xd')](_0x4aa51d);_0x1fdebc['enableCommand'](_0x4aa51d,()=>{const _0x5d0b86=_0x50b689[_0x4112('0x19')][_0x4112('0x2e')][_0x4112('0xb')][_0x4112('0x12')]()[_0x4112('0xf')]()[_0x4112('0x1e')](_0x542de7=>_0x542de7['is'](_0x4112('0x27'),_0x4112('0x1a'))),_0x46fa42=_0x46c30f['value'];_0x50b689[_0x4112('0x19')]['change'](()=>{_0x1fdebc[_0x4112('0x42')]([_0x5d0b86,_0x46fa42],{'commandName':_0x4112('0x23'),'commandParams':[]},[],_0x4112('0x23'));});});}for(const _0xbfd9a8 of[_0x4112('0x26'),_0x4112('0x8')]){const _0x246ead=_0x50b689[_0x4112('0x2f')][_0x4112('0xd')](_0xbfd9a8);_0x1fdebc[_0x4112('0x1b')](_0xbfd9a8,()=>{const _0xe965c=_0x827a92[_0x4112('0x21')](_0x50b689[_0x4112('0x19')]['document']['selection'])[0x0],_0x5975c9=_0xe965c[_0x4112('0x13')]('table'),{column:_0x478674,row:_0x24ef1a}=_0x827a92['getCellLocation'](_0xe965c);let _0x171e52=[];if(_0x4112('0x30')==_0x246ead[_0x4112('0x25')]){const _0x2778a2=_0x827a92['createTableWalker'](_0x5975c9,{'startRow':_0x24ef1a,'endRow':_0x24ef1a,'includeAllSlots':!0x0});_0x171e52=Array[_0x4112('0x7')](_0x2778a2)[_0x4112('0x6')](_0x53b7f2=>_0x53b7f2[_0x4112('0x4a')]);}else{const _0x3ba13f=_0x827a92[_0x4112('0x37')](_0x5975c9,{'column':_0x478674,'includeAllSlots':!0x0});_0x171e52=Array['from'](_0x3ba13f)[_0x4112('0x6')](_0x9a4624=>_0x9a4624[_0x4112('0x4a')]);}_0x50b689['model'][_0x4112('0xe')](_0x3e3bdd=>{_0x1fdebc[_0x4112('0x20')](_0x3e3bdd[_0x4112('0xa')](_0xe965c),{'commandName':_0xbfd9a8,'commandParams':[]},_0x171e52,_0xbfd9a8);});});}_0x1fdebc[_0x4112('0x16')]['registerDescriptionCallback'](_0x502c9c=>{const {data:_0x1b252c}=_0x502c9c;if(_0x1b252c)return'mergeTableCells'==_0x1b252c[_0x4112('0x46')]?{'type':'format','content':_0x54c887(_0x3d0dfc,_0x4112('0x3e'))}:void 0x0;}),_0x1fdebc[_0x4112('0x16')][_0x4112('0x9')](_0x581bdb=>{const {data:_0xa553ba}=_0x581bdb;if(_0xa553ba)return _0x4112('0x26')==_0xa553ba[_0x4112('0x46')]?{'type':_0x4112('0x3d'),'content':_0x54c887(_0x3d0dfc,_0x4112('0x18'))}:_0x4112('0x8')==_0xa553ba['commandName']?{'type':_0x4112('0x3d'),'content':_0x54c887(_0x3d0dfc,'*Split\x20cell:*\x20horizontally')}:void 0x0;});const _0x54369a=_0x4e052d[_0x4112('0x1f')]();for(const _0x1155e3 of['mergeTableCellUp',_0x4112('0x2d'),_0x4112('0x40'),_0x4112('0x33')])_0x1fdebc['_suggestionFactory']['registerCustomCallback']('formatBlock',_0x1155e3,_0x4112('0x2a'),_0x54369a);for(const _0x175dc2 of[_0x4112('0x26'),_0x4112('0x8')])_0x1fdebc['_suggestionFactory'][_0x4112('0x39')](_0x4112('0x45'),_0x175dc2,_0x4112('0x2a'),_0x54369a);_0x1fdebc['_suggestionFactory'][_0x4112('0x39')](_0x4112('0x45'),_0x4112('0x23'),_0x4112('0x2a'),_0xa90c73=>{_0x50b689['model'][_0x4112('0xe')](_0xd17aba=>{const _0xc6ca32=Array[_0x4112('0x7')](_0x43b7d4['getRanges']())['map'](_0xada9fc=>_0x31c31a['fromRange'](_0xada9fc));_0xd17aba[_0x4112('0x1c')](_0xa90c73),_0x50b689[_0x4112('0x2f')][_0x4112('0xd')]('mergeTableCells')[_0x4112('0x24')](),_0x50b689['execute']('mergeTableCells',{'forceDefaultExecution':!0x0});const _0x56166a=_0xc6ca32[_0x4112('0x44')](_0x5aa0aa=>_0x4112('0x3')!=_0x5aa0aa[_0x4112('0x48')][_0x4112('0x10')]);_0x56166a[_0x4112('0x29')]>0x0&&_0xd17aba['setSelection'](_0x56166a);for(const _0xc47a01 of _0xc6ca32)_0xc47a01['detach']();});});for(const _0x1c8897 of[_0x4112('0x3b'),_0x4112('0x40'),'mergeTableCellLeft',_0x4112('0x2d')]){const _0x498e61=_0x50b689[_0x4112('0x2f')][_0x4112('0xd')](_0x1c8897);_0x498e61['on'](_0x4112('0x15'),(_0x14af44,_0x35451b,_0x4c29b9)=>{if(_0x4c29b9){const _0x27e7bb=_0x50b689[_0x4112('0x19')][_0x4112('0x2e')][_0x4112('0xb')]['getFirstPosition']()[_0x4112('0xf')]()[_0x4112('0x1e')](_0x4684f4=>_0x4684f4['is'](_0x4112('0x27'),_0x4112('0x1a')));this[_0x4112('0x2b')](_0x498e61[_0x4112('0x4')],_0x27e7bb)||(_0x14af44[_0x4112('0x35')]=!0x1,_0x14af44[_0x4112('0x47')]());}},{'priority':_0x4112('0x38')});}}['_areSelectedCellsMergable'](){const _0x2e366b=this['editor'][_0x4112('0x2f')][_0x4112('0xd')]('mergeTableCells'),_0x518fa8=this[_0x4112('0x0')][_0x4112('0x3c')][_0x4112('0xd')](_0x4112('0x36'));if(!_0x2e366b['isEnabled'])return!0x1;const _0x516ce2=_0x518fa8[_0x4112('0x21')](this[_0x4112('0x0')][_0x4112('0x19')]['document']['selection']);for(const _0x9117e0 of _0x516ce2)for(const _0x3fc150 of _0x516ce2)if(_0x9117e0!=_0x3fc150&&!this['_areMergableCells'](_0x9117e0,_0x3fc150))return!0x1;return!0x0;}[_0x4112('0x2b')](_0x545a01,_0x22bfa9){const _0x370e69=this[_0x4112('0x0')][_0x4112('0x3c')][_0x4112('0xd')]('TrackChangesEditing'),_0x133913=this[_0x4112('0x0')]['model'][_0x4112('0xa')](_0x545a01),_0x24aa41=this[_0x4112('0x0')][_0x4112('0x19')][_0x4112('0xa')](_0x22bfa9),_0x536916=new Set(),_0x1f78e0=new Set();for(const _0x7a3889 of _0x370e69[_0x4112('0x34')]())if((_0x4112('0x3f')==_0x7a3889[_0x4112('0x2c')]||'deletion'==_0x7a3889[_0x4112('0x2c')]||_0x4112('0x23')==_0x7a3889['subType'])&&_0x7a3889['isInContent'])for(const _0x46e153 of _0x7a3889[_0x4112('0x49')]())_0x46e153[_0x4112('0x32')](_0x133913,!0x0)&&_0x536916[_0x4112('0x5')](_0x7a3889[_0x4112('0x2c')]+':'+_0x7a3889[_0x4112('0x1')]['id']),_0x46e153[_0x4112('0x32')](_0x24aa41,!0x0)&&_0x1f78e0[_0x4112('0x5')](_0x7a3889['type']+':'+_0x7a3889[_0x4112('0x1')]['id']);if(_0x536916['size']!=_0x1f78e0[_0x4112('0x17')])return!0x1;for(const _0x1f1065 of _0x536916)if(!_0x1f78e0[_0x4112('0x31')](_0x1f1065))return!0x1;return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4f90=['TrackChangesEditing','locale','get','plugins','insertTableOfContents','_descriptionFactory','enableCommand','tableOfContents','ELEMENT_TABLE_OF_CONTENTS'];(function(_0x1077ee,_0x4f9036){const _0x33f746=function(_0xa09bb8){while(--_0xa09bb8){_0x1077ee['push'](_0x1077ee['shift']());}};_0x33f746(++_0x4f9036);}(_0x4f90,0xa9));const _0x33f7=function(_0x1077ee,_0x4f9036){_0x1077ee=_0x1077ee-0x0;let _0x33f746=_0x4f90[_0x1077ee];return _0x33f746;};import{Plugin as _0x4d1c5b}from'ckeditor5/src/core';import{getTranslation as _0x32cc8d}from'../utils/common-translations';export default class St extends _0x4d1c5b{['afterInit'](){const _0x423f9d=this['editor'];if(!_0x423f9d['commands'][_0x33f7('0x4')](_0x33f7('0x6')))return;_0x423f9d[_0x33f7('0x5')][_0x33f7('0x4')]('TrackChangesEditing')[_0x33f7('0x8')](_0x33f7('0x6'));const _0x42b566=_0x423f9d[_0x33f7('0x5')][_0x33f7('0x4')](_0x33f7('0x2')),_0x432764=_0x423f9d[_0x33f7('0x3')];_0x42b566[_0x33f7('0x7')]['registerElementLabel'](_0x33f7('0x0'),_0x64384d=>_0x32cc8d(_0x432764,_0x33f7('0x1'),_0x64384d));}}
23
+ const _0x3d75=['get','enableCommand','plugins','insertTableOfContents','TrackChangesEditing','registerElementLabel','afterInit','commands','tableOfContents'];(function(_0x527c32,_0x3d7525){const _0x3c93e8=function(_0x1710b1){while(--_0x1710b1){_0x527c32['push'](_0x527c32['shift']());}};_0x3c93e8(++_0x3d7525);}(_0x3d75,0x1be));const _0x3c93=function(_0x527c32,_0x3d7525){_0x527c32=_0x527c32-0x0;let _0x3c93e8=_0x3d75[_0x527c32];return _0x3c93e8;};import{Plugin as _0x2eb181}from'ckeditor5/src/core';import{getTranslation as _0x2bcb9d}from'../utils/common-translations';export default class St extends _0x2eb181{[_0x3c93('0x1')](){const _0x3f3d36=this['editor'];if(!_0x3f3d36[_0x3c93('0x2')]['get'](_0x3c93('0x7')))return;_0x3f3d36[_0x3c93('0x6')][_0x3c93('0x4')]('TrackChangesEditing')[_0x3c93('0x5')]('insertTableOfContents');const _0x13dd31=_0x3f3d36['plugins'][_0x3c93('0x4')](_0x3c93('0x8')),_0x89f20b=_0x3f3d36['locale'];_0x13dd31['_descriptionFactory'][_0x3c93('0x0')](_0x3c93('0x3'),_0x2c44ab=>_0x2bcb9d(_0x89f20b,'ELEMENT_TABLE_OF_CONTENTS',_0x2c44ab));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1e69=['TrackChangesEditing','selection','data','TrackChangesTableProperties','tableBorderColor','has','_suggestionFactory','tableAlignment','join','tableCellProperties','enqueueChange','discard','setAttribute','table','change','get','removeAttribute','getSuggestionCallback','*Format:*\x20change\x20table\x20cell\x20properties','registerCustomCallback','nodeAfter','tableCellWidth','editor','TablePropertiesEditing','tableCellBorderColor','start','tableProperties','handleSuggestionDescription','tableCellHeight','TableUtils','tableWidth','tableBackgroundColor','_getSuggestion','handleDiscardAction','tableBorderWidth','getSuggestions','format','commandParams','model','plugins','TableCellPropertiesEditing','findAncestor','tableCellPadding','markBlockFormat','tableCellHorizontalAlignment','getSelectionAffectedTableCells','_handlePropertyChange','tableCellBackgroundColor','formatBlock','accept','document','tableCellBorderStyle','subType','_descriptionFactory','tableCellVerticalAlignment','locale','getAttribute'];(function(_0x48632c,_0x1e690a){const _0x59c9dc=function(_0xe335d8){while(--_0xe335d8){_0x48632c['push'](_0x48632c['shift']());}};_0x59c9dc(++_0x1e690a);}(_0x1e69,0x194));const _0x59c9=function(_0x48632c,_0x1e690a){_0x48632c=_0x48632c-0x0;let _0x59c9dc=_0x1e69[_0x48632c];return _0x59c9dc;};import{Plugin as _0x1b37a3}from'ckeditor5/src/core';import{getTranslation as _0x8793b9}from'../utils/common-translations';export default class Dt extends _0x1b37a3{constructor(_0x50df2d){super(_0x50df2d),this['tableProperties']=[_0x59c9('0x38'),'tableBorderStyle',_0x59c9('0x1d'),_0x59c9('0x2'),_0x59c9('0x19'),'tableHeight',_0x59c9('0x1a')],this['tableCellProperties']=[_0x59c9('0x13'),_0x59c9('0x2e'),'tableCellBorderWidth',_0x59c9('0x25'),_0x59c9('0x10'),_0x59c9('0x17'),_0x59c9('0x2a'),_0x59c9('0x27'),_0x59c9('0x31')];}static get['pluginName'](){return _0x59c9('0x37');}['afterInit'](){const _0x2316c5=this[_0x59c9('0x11')][_0x59c9('0x22')][_0x59c9('0xa')](_0x59c9('0x34'));if(this[_0x59c9('0x11')][_0x59c9('0x22')]['has'](_0x59c9('0x12'))){for(const _0x2a4362 of this[_0x59c9('0x15')])_0x2316c5['enableCommand'](_0x2a4362,(_0x45385d,_0xe7206b)=>{const _0x5d17c3=this[_0x59c9('0x11')]['model'][_0x59c9('0x2d')][_0x59c9('0x35')]['getFirstPosition']()[_0x59c9('0x24')](_0x59c9('0x8'));this[_0x59c9('0x29')](_0x2a4362,[_0x5d17c3],this['tableProperties'],_0x59c9('0x15'),_0x45385d,_0xe7206b);});_0x2316c5[_0x59c9('0x1')][_0x59c9('0xe')](_0x59c9('0x2b'),_0x59c9('0x15'),_0x59c9('0x2c'),_0x2316c5[_0x59c9('0x1')][_0x59c9('0xc')](_0x59c9('0x2b'),null,_0x59c9('0x6'))),_0x2316c5[_0x59c9('0x1')][_0x59c9('0xe')](_0x59c9('0x2b'),'tableProperties',_0x59c9('0x6'),(_0x5aac35,_0x4e55dc)=>this[_0x59c9('0x1c')](this[_0x59c9('0x15')],_0x5aac35,_0x4e55dc)),_0x2316c5[_0x59c9('0x1')][_0x59c9('0xe')](_0x59c9('0x2b'),_0x59c9('0x15'),_0x59c9('0x3'),()=>!0x1);}if(this[_0x59c9('0x11')]['plugins'][_0x59c9('0x0')](_0x59c9('0x23'))){for(const _0x268390 of this[_0x59c9('0x4')])_0x2316c5['enableCommand'](_0x268390,(_0x1e8e99,_0x351e94)=>{const _0x181e57=this[_0x59c9('0x11')]['plugins'][_0x59c9('0xa')](_0x59c9('0x18'))[_0x59c9('0x28')](this[_0x59c9('0x11')][_0x59c9('0x21')][_0x59c9('0x2d')][_0x59c9('0x35')]);this['_handlePropertyChange'](_0x268390,_0x181e57,this[_0x59c9('0x4')],'tableCellProperties',_0x1e8e99,_0x351e94);});_0x2316c5['_suggestionFactory']['registerCustomCallback'](_0x59c9('0x2b'),_0x59c9('0x4'),'accept',_0x2316c5[_0x59c9('0x1')][_0x59c9('0xc')]('formatBlock',null,_0x59c9('0x6'))),_0x2316c5['_suggestionFactory'][_0x59c9('0xe')](_0x59c9('0x2b'),_0x59c9('0x4'),_0x59c9('0x6'),(_0xa50ec8,_0x4d01cb)=>this['handleDiscardAction'](this[_0x59c9('0x4')],_0xa50ec8,_0x4d01cb)),_0x2316c5['_suggestionFactory']['registerCustomCallback'](_0x59c9('0x2b'),_0x59c9('0x4'),_0x59c9('0x3'),()=>!0x1);}_0x2316c5[_0x59c9('0x30')]['registerDescriptionCallback'](_0x311f71=>this[_0x59c9('0x16')](_0x311f71));}['_handlePropertyChange'](_0x3a561f,_0x52bc62,_0x415771,_0x43e104,_0x4a09a8,_0x25b6a4){const _0x229ee8=this[_0x59c9('0x11')][_0x59c9('0x22')][_0x59c9('0xa')]('TrackChangesEditing');this[_0x59c9('0x11')][_0x59c9('0x21')][_0x59c9('0x5')](_0x25b6a4['batch'],()=>{for(const _0x42dcd7 of _0x52bc62){if(this[_0x59c9('0x1b')](_0x42dcd7,_0x43e104))_0x4a09a8(_0x25b6a4);else{const _0x53ee1a={};for(const _0x2cfa49 of _0x415771){const _0x1c5d4e=_0x42dcd7[_0x59c9('0x33')](_0x2cfa49);void 0x0!==_0x1c5d4e&&(_0x53ee1a[_0x2cfa49]=_0x1c5d4e);}_0x4a09a8(_0x25b6a4),_0x229ee8[_0x59c9('0x26')](_0x42dcd7,{'commandParams':[_0x53ee1a]},[],_0x43e104);}}});}['handleDiscardAction'](_0x1dba71,_0xee6839,_0x5e1c6c){const _0x239d22=_0xee6839[0x0][_0x59c9('0x14')][_0x59c9('0xf')],_0x5994f9=_0x5e1c6c[_0x59c9('0x20')][0x0];this[_0x59c9('0x11')][_0x59c9('0x21')][_0x59c9('0x9')](_0x115d48=>{for(const _0x4f22e7 of _0x1dba71)void 0x0!==_0x5994f9[_0x4f22e7]?_0x115d48[_0x59c9('0x7')](_0x4f22e7,_0x5994f9[_0x4f22e7],_0x239d22):_0x115d48[_0x59c9('0xb')](_0x4f22e7,_0x239d22);});}[_0x59c9('0x16')](_0x1937c5){if(_0x1937c5[_0x59c9('0x36')])switch(_0x1937c5[_0x59c9('0x2f')]){case _0x59c9('0x15'):return{'type':_0x59c9('0x1f'),'content':_0x8793b9(this['editor'][_0x59c9('0x32')],'*Format:*\x20change\x20table\x20properties')};case _0x59c9('0x4'):return{'type':_0x59c9('0x1f'),'content':_0x8793b9(this[_0x59c9('0x11')][_0x59c9('0x32')],_0x59c9('0xd'))};}}['_getSuggestion'](_0x1987d9,_0x2086b6){const _0x240ee8=this[_0x59c9('0x11')][_0x59c9('0x22')][_0x59c9('0xa')](_0x59c9('0x34'));for(const _0x32f250 of _0x240ee8[_0x59c9('0x1e')]({'skipNotAttached':!0x0})){const _0x5d4668=_0x32f250['getContainedElement']();if(_0x32f250['subType']===_0x2086b6&&_0x5d4668===_0x1987d9)return _0x32f250;}return null;}}
23
+ const _0x2ff4=['TrackChangesTableProperties','subType','getSelectionAffectedTableCells','change','handleDiscardAction','document','tableCellBorderStyle','tableCellPadding','removeAttribute','tableCellBorderWidth','tableCellWidth','join','_descriptionFactory','start','batch','format','*Format:*\x20change\x20table\x20properties','locale','_handlePropertyChange','discard','_getSuggestion','tableCellVerticalAlignment','plugins','tableProperties','getFirstPosition','data','tableCellBorderColor','tableAlignment','registerCustomCallback','_suggestionFactory','handleSuggestionDescription','pluginName','tableCellProperties','table','TrackChangesEditing','formatBlock','selection','tableCellHorizontalAlignment','getSuggestionCallback','TableUtils','TablePropertiesEditing','model','tableCellHeight','enableCommand','accept','get','has','editor','getAttribute','tableBorderWidth','tableBorderColor','afterInit'];(function(_0x2e4ff8,_0x2ff421){const _0x5a4f91=function(_0x428c5b){while(--_0x428c5b){_0x2e4ff8['push'](_0x2e4ff8['shift']());}};_0x5a4f91(++_0x2ff421);}(_0x2ff4,0x126));const _0x5a4f=function(_0x2e4ff8,_0x2ff421){_0x2e4ff8=_0x2e4ff8-0x0;let _0x5a4f91=_0x2ff4[_0x2e4ff8];return _0x5a4f91;};import{Plugin as _0x8c4243}from'ckeditor5/src/core';import{getTranslation as _0x5aaa4f}from'../utils/common-translations';export default class Dt extends _0x8c4243{constructor(_0x94019c){super(_0x94019c),this['tableProperties']=[_0x5a4f('0x10'),'tableBorderStyle',_0x5a4f('0xf'),_0x5a4f('0x2d'),'tableWidth','tableHeight','tableBackgroundColor'],this['tableCellProperties']=[_0x5a4f('0x2c'),_0x5a4f('0x18'),_0x5a4f('0x1b'),_0x5a4f('0x19'),_0x5a4f('0x1c'),_0x5a4f('0x8'),'tableCellBackgroundColor',_0x5a4f('0x3'),_0x5a4f('0x27')];}static get[_0x5a4f('0x31')](){return _0x5a4f('0x12');}[_0x5a4f('0x11')](){const _0x39d59d=this['editor'][_0x5a4f('0x28')]['get'](_0x5a4f('0x0'));if(this[_0x5a4f('0xd')][_0x5a4f('0x28')][_0x5a4f('0xc')](_0x5a4f('0x6'))){for(const _0x1fec5d of this[_0x5a4f('0x29')])_0x39d59d[_0x5a4f('0x9')](_0x1fec5d,(_0x5559ca,_0x1e1529)=>{const _0x3917b9=this[_0x5a4f('0xd')][_0x5a4f('0x7')][_0x5a4f('0x17')][_0x5a4f('0x2')][_0x5a4f('0x2a')]()['findAncestor'](_0x5a4f('0x33'));this['_handlePropertyChange'](_0x1fec5d,[_0x3917b9],this['tableProperties'],_0x5a4f('0x29'),_0x5559ca,_0x1e1529);});_0x39d59d[_0x5a4f('0x2f')][_0x5a4f('0x2e')](_0x5a4f('0x1'),'tableProperties',_0x5a4f('0xa'),_0x39d59d['_suggestionFactory'][_0x5a4f('0x4')]('formatBlock',null,_0x5a4f('0x25'))),_0x39d59d[_0x5a4f('0x2f')][_0x5a4f('0x2e')](_0x5a4f('0x1'),_0x5a4f('0x29'),_0x5a4f('0x25'),(_0x40e2ac,_0x59ce67)=>this[_0x5a4f('0x16')](this[_0x5a4f('0x29')],_0x40e2ac,_0x59ce67)),_0x39d59d['_suggestionFactory'][_0x5a4f('0x2e')](_0x5a4f('0x1'),_0x5a4f('0x29'),'join',()=>!0x1);}if(this[_0x5a4f('0xd')][_0x5a4f('0x28')][_0x5a4f('0xc')]('TableCellPropertiesEditing')){for(const _0x4d9829 of this['tableCellProperties'])_0x39d59d[_0x5a4f('0x9')](_0x4d9829,(_0x752c92,_0x4b5679)=>{const _0x2ba51a=this[_0x5a4f('0xd')][_0x5a4f('0x28')]['get'](_0x5a4f('0x5'))[_0x5a4f('0x14')](this['editor'][_0x5a4f('0x7')][_0x5a4f('0x17')][_0x5a4f('0x2')]);this[_0x5a4f('0x24')](_0x4d9829,_0x2ba51a,this[_0x5a4f('0x32')],_0x5a4f('0x32'),_0x752c92,_0x4b5679);});_0x39d59d['_suggestionFactory'][_0x5a4f('0x2e')](_0x5a4f('0x1'),'tableCellProperties',_0x5a4f('0xa'),_0x39d59d['_suggestionFactory'][_0x5a4f('0x4')](_0x5a4f('0x1'),null,_0x5a4f('0x25'))),_0x39d59d[_0x5a4f('0x2f')]['registerCustomCallback'](_0x5a4f('0x1'),'tableCellProperties',_0x5a4f('0x25'),(_0x11b0e2,_0x1111d3)=>this[_0x5a4f('0x16')](this[_0x5a4f('0x32')],_0x11b0e2,_0x1111d3)),_0x39d59d[_0x5a4f('0x2f')]['registerCustomCallback'](_0x5a4f('0x1'),_0x5a4f('0x32'),_0x5a4f('0x1d'),()=>!0x1);}_0x39d59d[_0x5a4f('0x1e')]['registerDescriptionCallback'](_0x5c7245=>this[_0x5a4f('0x30')](_0x5c7245));}[_0x5a4f('0x24')](_0x12edd5,_0x17a701,_0x2228fc,_0x1afb65,_0x2bddb9,_0x4bfe82){const _0x1c072c=this[_0x5a4f('0xd')][_0x5a4f('0x28')][_0x5a4f('0xb')]('TrackChangesEditing');this[_0x5a4f('0xd')][_0x5a4f('0x7')]['enqueueChange'](_0x4bfe82[_0x5a4f('0x20')],()=>{for(const _0x4df7e7 of _0x17a701){if(this[_0x5a4f('0x26')](_0x4df7e7,_0x1afb65))_0x2bddb9(_0x4bfe82);else{const _0x2f2943={};for(const _0x1d2272 of _0x2228fc){const _0x196680=_0x4df7e7[_0x5a4f('0xe')](_0x1d2272);void 0x0!==_0x196680&&(_0x2f2943[_0x1d2272]=_0x196680);}_0x2bddb9(_0x4bfe82),_0x1c072c['markBlockFormat'](_0x4df7e7,{'commandParams':[_0x2f2943]},[],_0x1afb65);}}});}['handleDiscardAction'](_0xda69f0,_0x2744e4,_0x2bb2bb){const _0x2f3f31=_0x2744e4[0x0][_0x5a4f('0x1f')]['nodeAfter'],_0xd25673=_0x2bb2bb['commandParams'][0x0];this['editor'][_0x5a4f('0x7')][_0x5a4f('0x15')](_0x3fc1f8=>{for(const _0x1a459b of _0xda69f0)void 0x0!==_0xd25673[_0x1a459b]?_0x3fc1f8['setAttribute'](_0x1a459b,_0xd25673[_0x1a459b],_0x2f3f31):_0x3fc1f8[_0x5a4f('0x1a')](_0x1a459b,_0x2f3f31);});}[_0x5a4f('0x30')](_0x151942){if(_0x151942[_0x5a4f('0x2b')])switch(_0x151942[_0x5a4f('0x13')]){case _0x5a4f('0x29'):return{'type':_0x5a4f('0x21'),'content':_0x5aaa4f(this[_0x5a4f('0xd')]['locale'],_0x5a4f('0x22'))};case _0x5a4f('0x32'):return{'type':_0x5a4f('0x21'),'content':_0x5aaa4f(this[_0x5a4f('0xd')][_0x5a4f('0x23')],'*Format:*\x20change\x20table\x20cell\x20properties')};}}[_0x5a4f('0x26')](_0x6fd33d,_0x2555c5){const _0x1d0ea3=this[_0x5a4f('0xd')][_0x5a4f('0x28')]['get'](_0x5a4f('0x0'));for(const _0x31cdf5 of _0x1d0ea3['getSuggestions']({'skipNotAttached':!0x0})){const _0x469d3a=_0x31cdf5['getContainedElement']();if(_0x31cdf5['subType']===_0x2555c5&&_0x469d3a===_0x6fd33d)return _0x31cdf5;}return null;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4f30=['TrackChangesEditing','get','has','insertTemplate','plugins','Template','afterInit','enableCommand','editor'];(function(_0x4f2e22,_0x4f3032){const _0x13ae95=function(_0x470116){while(--_0x470116){_0x4f2e22['push'](_0x4f2e22['shift']());}};_0x13ae95(++_0x4f3032);}(_0x4f30,0x1b0));const _0x13ae=function(_0x4f2e22,_0x4f3032){_0x4f2e22=_0x4f2e22-0x0;let _0x13ae95=_0x4f30[_0x4f2e22];return _0x13ae95;};import{Plugin as _0x3346f5}from'ckeditor5/src/core';export default class bt extends _0x3346f5{[_0x13ae('0x6')](){const _0x3fe4e3=this[_0x13ae('0x8')];_0x3fe4e3[_0x13ae('0x4')][_0x13ae('0x2')](_0x13ae('0x5'))&&_0x3fe4e3[_0x13ae('0x4')][_0x13ae('0x1')](_0x13ae('0x0'))[_0x13ae('0x7')](_0x13ae('0x3'));}}
23
+ const _0x21e7=['afterInit','Template','TrackChangesEditing','has','editor','enableCommand','get'];(function(_0x437c50,_0x21e748){const _0x577109=function(_0x3500af){while(--_0x3500af){_0x437c50['push'](_0x437c50['shift']());}};_0x577109(++_0x21e748);}(_0x21e7,0x17f));const _0x5771=function(_0x437c50,_0x21e748){_0x437c50=_0x437c50-0x0;let _0x577109=_0x21e7[_0x437c50];return _0x577109;};import{Plugin as _0x149bd3}from'ckeditor5/src/core';export default class bt extends _0x149bd3{[_0x5771('0x2')](){const _0x45f94c=this[_0x5771('0x6')];_0x45f94c['plugins'][_0x5771('0x5')](_0x5771('0x3'))&&_0x45f94c['plugins'][_0x5771('0x1')](_0x5771('0x4'))[_0x5771('0x0')]('insertTemplate');}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4ffb=['_descriptionFactory','model','afterInit','start','document','plugins','forward','locale','newRange','updateMarker','ELEMENT_TITLE','_splitMarkerName','nodeBefore','schema','end','title-content','element','from','isCollapsed','isTouching','get','getNearestSelectionRange','differ','getChangedMarkers','TrackChangesEditing'];(function(_0x49df44,_0x4ffb0d){const _0x3eac0c=function(_0x4c99d6){while(--_0x4c99d6){_0x49df44['push'](_0x49df44['shift']());}};_0x3eac0c(++_0x4ffb0d);}(_0x4ffb,0x19a));const _0x3eac=function(_0x49df44,_0x4ffb0d){_0x49df44=_0x49df44-0x0;let _0x3eac0c=_0x4ffb[_0x49df44];return _0x3eac0c;};import{Plugin as _0x5d772b}from'ckeditor5/src/core';import{getTranslation as _0x40e8a4}from'../utils/common-translations';export default class It extends _0x5d772b{[_0x3eac('0x11')](){const _0xad953c=this['editor'];if(!_0xad953c[_0x3eac('0x14')]['has']('Title'))return;const _0x1d2927=_0xad953c['plugins'][_0x3eac('0xa')](_0x3eac('0xe'));_0x1d2927[_0x3eac('0xf')]['registerElementLabel'](_0x3eac('0x5'),()=>_0x40e8a4(_0xad953c[_0x3eac('0x16')],_0x3eac('0x0'))),_0xad953c[_0x3eac('0x10')][_0x3eac('0x13')]['registerPostFixer'](_0x4d2d16=>{let _0x4324ad=!0x1;const _0xca72ee=Array[_0x3eac('0x7')](_0xad953c['model']['document'][_0x3eac('0xc')][_0x3eac('0xd')]());for(const {name:_0x2b99e5,data:_0xaa9482}of _0xca72ee){const {group:_0x178268}=_0x1d2927[_0x3eac('0x1')](_0x2b99e5);if('suggestion'!==_0x178268||!_0xaa9482[_0x3eac('0x17')])continue;const _0x61c49b=_0xaa9482[_0x3eac('0x17')],_0x38d605=_0x61c49b['end'][_0x3eac('0x2')];if(!_0x38d605||!_0x38d605['is'](_0x3eac('0x6'),_0x3eac('0x5')))continue;if(!_0x61c49b[_0x3eac('0x12')][_0x3eac('0x9')](_0x61c49b[_0x3eac('0x4')]))continue;const _0x3dfd22=_0xad953c['model'][_0x3eac('0x3')][_0x3eac('0xb')](_0x61c49b[_0x3eac('0x4')],_0x3eac('0x15'));if(_0x3dfd22&&_0x3dfd22[_0x3eac('0x8')]){const _0x3cd039=_0x4d2d16['createRange'](_0x61c49b[_0x3eac('0x12')],_0x3dfd22[_0x3eac('0x12')]);_0x3cd039['isEqual'](_0x61c49b)||(_0x4d2d16[_0x3eac('0x18')](_0x2b99e5,{'range':_0x3cd039}),_0x4324ad=!0x0);}_0x4324ad||(_0x4d2d16['removeMarker'](_0x2b99e5),_0x4324ad=!0x0);}return _0x4324ad;});}}
23
+ const _0x13e6=['suggestion','_descriptionFactory','end','isCollapsed','has','element','newRange','from','editor','isTouching','TrackChangesEditing','registerPostFixer','title-content','differ','createRange','getNearestSelectionRange','get','locale','start','_splitMarkerName','updateMarker','forward','document','ELEMENT_TITLE','model'];(function(_0x3827d4,_0x13e63b){const _0x15bc06=function(_0x4484af){while(--_0x4484af){_0x3827d4['push'](_0x3827d4['shift']());}};_0x15bc06(++_0x13e63b);}(_0x13e6,0x150));const _0x15bc=function(_0x3827d4,_0x13e63b){_0x3827d4=_0x3827d4-0x0;let _0x15bc06=_0x13e6[_0x3827d4];return _0x15bc06;};import{Plugin as _0x590ac9}from'ckeditor5/src/core';import{getTranslation as _0x4d3431}from'../utils/common-translations';export default class It extends _0x590ac9{['afterInit'](){const _0x3ecee9=this[_0x15bc('0x16')];if(!_0x3ecee9['plugins'][_0x15bc('0x12')]('Title'))return;const _0x15d7b8=_0x3ecee9['plugins'][_0x15bc('0x5')](_0x15bc('0x18'));_0x15d7b8[_0x15bc('0xf')]['registerElementLabel']('title-content',()=>_0x4d3431(_0x3ecee9[_0x15bc('0x6')],_0x15bc('0xc'))),_0x3ecee9[_0x15bc('0xd')][_0x15bc('0xb')][_0x15bc('0x0')](_0x5b626f=>{let _0x44d217=!0x1;const _0x3feb03=Array[_0x15bc('0x15')](_0x3ecee9['model'][_0x15bc('0xb')][_0x15bc('0x2')]['getChangedMarkers']());for(const {name:_0x22b5fc,data:_0x53e4cc}of _0x3feb03){const {group:_0x4f7fcc}=_0x15d7b8[_0x15bc('0x8')](_0x22b5fc);if(_0x15bc('0xe')!==_0x4f7fcc||!_0x53e4cc['newRange'])continue;const _0x34246e=_0x53e4cc[_0x15bc('0x14')],_0x3257c9=_0x34246e[_0x15bc('0x10')]['nodeBefore'];if(!_0x3257c9||!_0x3257c9['is'](_0x15bc('0x13'),_0x15bc('0x1')))continue;if(!_0x34246e[_0x15bc('0x7')][_0x15bc('0x17')](_0x34246e[_0x15bc('0x10')]))continue;const _0x3f1ce8=_0x3ecee9['model']['schema'][_0x15bc('0x4')](_0x34246e[_0x15bc('0x10')],_0x15bc('0xa'));if(_0x3f1ce8&&_0x3f1ce8[_0x15bc('0x11')]){const _0xa25cea=_0x5b626f[_0x15bc('0x3')](_0x34246e['start'],_0x3f1ce8[_0x15bc('0x7')]);_0xa25cea['isEqual'](_0x34246e)||(_0x5b626f[_0x15bc('0x9')](_0x22b5fc,{'range':_0xa25cea}),_0x44d217=!0x0);}_0x44d217||(_0x5b626f['removeMarker'](_0x22b5fc),_0x44d217=!0x0);}return _0x44d217;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3cbb=['plugins','get','redo','undo','enableCommand'];(function(_0xe96590,_0x3cbbde){const _0x517d85=function(_0x30493c){while(--_0x30493c){_0xe96590['push'](_0xe96590['shift']());}};_0x517d85(++_0x3cbbde);}(_0x3cbb,0xa1));const _0x517d=function(_0xe96590,_0x3cbbde){_0xe96590=_0xe96590-0x0;let _0x517d85=_0x3cbb[_0xe96590];return _0x517d85;};import{Plugin as _0x34defb}from'ckeditor5/src/core';export default class vt extends _0x34defb{['afterInit'](){const _0x563edb=this['editor'],_0x460280=_0x563edb[_0x517d('0x4')][_0x517d('0x0')]('TrackChangesEditing');_0x563edb[_0x517d('0x4')]['has']('UndoEditing')&&(_0x460280[_0x517d('0x3')](_0x517d('0x2')),_0x460280[_0x517d('0x3')](_0x517d('0x1')));}}
23
+ const _0x1ed3=['plugins','afterInit','undo','enableCommand','get','UndoEditing','has','TrackChangesEditing','redo'];(function(_0x1125a6,_0x1ed30b){const _0x189f15=function(_0x36c4c1){while(--_0x36c4c1){_0x1125a6['push'](_0x1125a6['shift']());}};_0x189f15(++_0x1ed30b);}(_0x1ed3,0xac));const _0x189f=function(_0x1125a6,_0x1ed30b){_0x1125a6=_0x1125a6-0x0;let _0x189f15=_0x1ed3[_0x1125a6];return _0x189f15;};import{Plugin as _0x1ee5d1}from'ckeditor5/src/core';export default class vt extends _0x1ee5d1{[_0x189f('0x0')](){const _0x174e3c=this['editor'],_0x1f27f2=_0x174e3c[_0x189f('0x8')][_0x189f('0x3')](_0x189f('0x6'));_0x174e3c[_0x189f('0x8')][_0x189f('0x5')](_0x189f('0x4'))&&(_0x1f27f2[_0x189f('0x2')](_0x189f('0x1')),_0x1f27f2[_0x189f('0x2')](_0x189f('0x7')));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2514=['bindElementToMarker','listItem','push','elementEnd','isLimit','getItems','markerRange','parent','activeMarkers','get','model','plugins','addHighlight','markerName','isAtEnd','writer','isContent','schema','nextSibling','name','getCustomProperty','ck-suggestion-marker-','listIndent','item','addClass','toViewElement','isBlock','includes','consumable','start','previousPosition','insert','createUIElement','getWalker','type','test','getAttribute','mapper'];(function(_0x2c174d,_0x2514bc){const _0x481410=function(_0x805c25){while(--_0x805c25){_0x2c174d['push'](_0x2c174d['shift']());}};_0x481410(++_0x2514bc);}(_0x2514,0x11d));const _0x4814=function(_0x2c174d,_0x2514bc){_0x2c174d=_0x2c174d-0x0;let _0x481410=_0x2514[_0x2c174d];return _0x481410;};export function getRangesWithAttribute(_0x1529ff,_0x5f11ed,_0x1be026){const _0x227b0d=[];for(const _0x1fa558 of _0x5f11ed[_0x4814('0x18')]())_0x1fa558['hasAttribute'](_0x1529ff)&&_0x227b0d[_0x4814('0x15')](_0x1be026['createRangeOn'](_0x1fa558));return _0x227b0d;}export function getElementsAffectedByListItemRename(_0x494077){const _0x32f8a0=[];if(_0x494077['is']('element',_0x4814('0x14'))){let _0x59b7a8=_0x494077[_0x4814('0x25')];for(;_0x59b7a8&&_0x59b7a8['is']('element','listItem')&&_0x59b7a8[_0x4814('0x11')](_0x4814('0x3'))>0x0;)_0x32f8a0[_0x4814('0x15')](_0x59b7a8),_0x59b7a8=_0x59b7a8[_0x4814('0x25')];}return _0x32f8a0;}export function downcastSplitMergeMarker(_0x5e033a,_0x4a2771,{showActiveMarker:_0x790467=!0x0}={}){const _0x5288c5=_0x5e033a[_0x4814('0x1e')][_0x4814('0x1c')]('TrackChangesEditing');return(_0x464b20,_0x5dd7fa,_0x42ec76)=>{if(!_0x42ec76[_0x4814('0x9')][_0x4814('0x10')](_0x5dd7fa['markerRange'],_0x464b20[_0x4814('0x0')]))return;const _0x1ad3ee=_0x5dd7fa[_0x4814('0x19')][_0x4814('0xe')](),_0x4ed8a1=_0x5dd7fa[_0x4814('0x19')][_0x4814('0xa')],_0x505fda=_0x5e033a[_0x4814('0x1d')][_0x4814('0x24')];let _0x5ad2a8=null,_0x11d5ff=null,_0x2f5786=!0x1,_0x4efe5b=!0x1;for(const _0x24840c of _0x1ad3ee){const _0x2085ff=_0x24840c[_0x4814('0x4')];_0x2f5786=_0x2f5786||_0x505fda[_0x4814('0x23')](_0x2085ff);const _0x31c191=_0x42ec76[_0x4814('0x12')][_0x4814('0x6')](_0x2085ff);if(_0x31c191&&_0x31c191[_0x4814('0x1')](_0x4814('0x1f')))return;_0x4814('0x16')==_0x24840c[_0x4814('0xf')]&&(_0x505fda[_0x4814('0x7')](_0x2085ff)&&!_0x505fda[_0x4814('0x17')](_0x2085ff)&&(_0x2085ff[_0x4814('0x25')]||_0x4ed8a1[_0x4814('0x21')]?_0x5ad2a8&&_0x5ad2a8[_0x4814('0x1a')]==_0x2085ff||(_0x5ad2a8=_0x2085ff,_0x74d1ff(_0x24840c[_0x4814('0xb')]),_0x4efe5b=!0x0):_0x11d5ff=_0x11d5ff||_0x24840c['previousPosition']));}function _0x74d1ff(_0x462853){const _0x48cfbe=_0x42ec76['writer'][_0x4814('0xd')]('span',{'class':_0x4814('0x2')+_0x4a2771}),_0x535a54=_0x42ec76[_0x4814('0x12')]['toViewPosition'](_0x462853);_0x790467&&_0x5288c5[_0x4814('0x1b')][_0x4814('0x8')](_0x5dd7fa[_0x4814('0x20')])&&_0x42ec76['writer'][_0x4814('0x5')]('ck-suggestion-marker--active',_0x48cfbe),_0x42ec76[_0x4814('0x22')][_0x4814('0xc')](_0x535a54,_0x48cfbe),_0x42ec76[_0x4814('0x12')][_0x4814('0x13')](_0x48cfbe,_0x5dd7fa[_0x4814('0x20')]);}_0x2f5786||_0x4efe5b||!_0x11d5ff||_0x74d1ff(_0x11d5ff);};}
23
+ const _0x595d=['previousPosition','activeMarkers','TrackChangesEditing','getItems','createRangeOn','isAtEnd','ck-suggestion-marker--active','name','item','bindElementToMarker','type','nextSibling','getCustomProperty','listIndent','get','plugins','markerName','elementEnd','insert','isBlock','mapper','test','listItem','markerRange','isLimit','isContent','hasAttribute','getWalker','ck-suggestion-marker-','includes','span','writer','getAttribute','parent'];(function(_0x86ea39,_0x595df5){const _0x582754=function(_0x11cb24){while(--_0x11cb24){_0x86ea39['push'](_0x86ea39['shift']());}};_0x582754(++_0x595df5);}(_0x595d,0x87));const _0x5827=function(_0x86ea39,_0x595df5){_0x86ea39=_0x86ea39-0x0;let _0x582754=_0x595d[_0x86ea39];return _0x582754;};export function getRangesWithAttribute(_0x413a97,_0x261c29,_0x401304){const _0x570d18=[];for(const _0x55eec8 of _0x261c29[_0x5827('0x4')]())_0x55eec8[_0x5827('0x1b')](_0x413a97)&&_0x570d18['push'](_0x401304[_0x5827('0x5')](_0x55eec8));return _0x570d18;}export function getElementsAffectedByListItemRename(_0x1e261d){const _0x2df1b9=[];if(_0x1e261d['is']('element',_0x5827('0x17'))){let _0xff9382=_0x1e261d[_0x5827('0xc')];for(;_0xff9382&&_0xff9382['is']('element',_0x5827('0x17'))&&_0xff9382[_0x5827('0x21')](_0x5827('0xe'))>0x0;)_0x2df1b9['push'](_0xff9382),_0xff9382=_0xff9382['nextSibling'];}return _0x2df1b9;}export function downcastSplitMergeMarker(_0x506b13,_0x4ee16e,{showActiveMarker:_0x56e183=!0x0}={}){const _0x3eba72=_0x506b13[_0x5827('0x10')][_0x5827('0xf')](_0x5827('0x3'));return(_0x2c876d,_0x23c0ef,_0x228613)=>{if(!_0x228613['consumable'][_0x5827('0x16')](_0x23c0ef[_0x5827('0x18')],_0x2c876d[_0x5827('0x8')]))return;const _0x39a47e=_0x23c0ef[_0x5827('0x18')][_0x5827('0x1c')](),_0x1a3b7b=_0x23c0ef[_0x5827('0x18')]['start'],_0x294c3d=_0x506b13['model']['schema'];let _0x4ab423=null,_0x536f6e=null,_0x2af311=!0x1,_0x47d9ba=!0x1;for(const _0x2bfeaa of _0x39a47e){const _0x506381=_0x2bfeaa[_0x5827('0x9')];_0x2af311=_0x2af311||_0x294c3d[_0x5827('0x1a')](_0x506381);const _0x965483=_0x228613[_0x5827('0x15')]['toViewElement'](_0x506381);if(_0x965483&&_0x965483[_0x5827('0xd')]('addHighlight'))return;_0x5827('0x12')==_0x2bfeaa[_0x5827('0xb')]&&(_0x294c3d[_0x5827('0x14')](_0x506381)&&!_0x294c3d[_0x5827('0x19')](_0x506381)&&(_0x506381[_0x5827('0xc')]||_0x1a3b7b[_0x5827('0x6')]?_0x4ab423&&_0x4ab423[_0x5827('0x0')]==_0x506381||(_0x4ab423=_0x506381,_0x259b99(_0x2bfeaa[_0x5827('0x1')]),_0x47d9ba=!0x0):_0x536f6e=_0x536f6e||_0x2bfeaa[_0x5827('0x1')]));}function _0x259b99(_0x3aa837){const _0x425afc=_0x228613[_0x5827('0x20')]['createUIElement'](_0x5827('0x1f'),{'class':_0x5827('0x1d')+_0x4ee16e}),_0x13e3de=_0x228613['mapper']['toViewPosition'](_0x3aa837);_0x56e183&&_0x3eba72[_0x5827('0x2')][_0x5827('0x1e')](_0x23c0ef[_0x5827('0x11')])&&_0x228613['writer']['addClass'](_0x5827('0x7'),_0x425afc),_0x228613[_0x5827('0x20')][_0x5827('0x13')](_0x13e3de,_0x425afc),_0x228613['mapper'][_0x5827('0xa')](_0x425afc,_0x23c0ef['markerName']);}_0x2af311||_0x47d9ba||!_0x536f6e||_0x259b99(_0x536f6e);};}