@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20231019.0 → 0.0.0-nightly-20231021.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 _0x4598=['Users','cells','change','TableUtils','createRangeOn','startsWith','createTableWalker','findAncestor','fill','subType','has','includes','getSuggestion','oldRange','ck-suggestion-marker-insertion','first','name','accept','hasSuggestion','markMultiRangeDeletion','rowInsertionRanges','element','isEqual','tableCellVerticalAlignment','start','from','cell','_isForcedDefaultExecutionBlock','insert','isInContent','set','tablePasteRow','suggestion:formatBlock:tablePasteCell','markMultiRangeBlockFormat','batch','conversion','for','documentSelection','register','getContainedElement','keys','differ','dataDowncast','tableCellBorderWidth','view','createElement','find','length','push','setAttributes','map','author','filter','getAllAdjacentSuggestions','rows','markers','suggestion','tablePaste','commands','rowInsertionIndexes','_suggestionFactory','markerAttributes','editor','getRanges','registerCustomCallback','table','tableCell','isEmpty','columnInsertionIndexes','_getCoordsForCells','getShiftedBy','column','add','columns','getChanges','options','newRange','type','insertionRanges','endRow','end','getRange','paragraph','nodeAfter','wrap','getAttributes','selection','activeMarkers','high','last','tablePasteColumn','showSuggestionHighlights','previous','createPositionBefore','suggestionLoaded','value','editingDowncast','position','return','getChangedMarkers','low','setAttribute','afterInit','getColumns','_tablePostFixingSubtypes','ck-suggestion-marker--active','tableCellBackgroundColor','discard','suggestion-td','insertRows','endColumn','document','_splitMarkerName','columnInsertionRanges','getItems','requires','some','insertContent','model','TableClipboard','createRangeIn','tableCellPadding','tableCellBorderStyle','unwrap','getChildren','forceDefaultExecution','locale','remove','attributes','tablePasteCell','tableCellSuggestion','deletion','removeMarkers','join','elementToElement','nextSibling','tableCellHorizontalAlignment','stop','plugins','getSuggestions','getChild','get','containsRange','getMarkers','removeMarker','fromEntries','content','removeRows','registerPostFixer','formatBlock','TrackChangesEditing','$graveyard','markerToHighlight','tablePasteChainId','getRowIndexes','removeColumns','markMultiRangeInsertion','schema','insertion','markerName','_descriptionFactory'];(function(_0x1a9ca2,_0x459861){const _0x30d7ba=function(_0x3d74f5){while(--_0x3d74f5){_0x1a9ca2['push'](_0x1a9ca2['shift']());}};_0x30d7ba(++_0x459861);}(_0x4598,0xd3));const _0x30d7=function(_0x1a9ca2,_0x459861){_0x1a9ca2=_0x1a9ca2-0x0;let _0x30d7ba=_0x4598[_0x1a9ca2];return _0x30d7ba;};import{getTranslation as _0x4f11c9}from'../utils/common-translations';import{Plugin as _0x193d5c}from'ckeditor5/src/core';import{uid as _0x30d86a,priorities as _0x251459}from'ckeditor5/src/utils';import _0x4af02b from'./table';const le=[_0x30d7('0x9a'),'tableCellBorderColor',_0x30d7('0x48'),_0x30d7('0x56'),_0x30d7('0x86'),_0x30d7('0x38'),_0x30d7('0x47')],ae=Object[_0x30d7('0x5f')](le['map'](_0x120f77=>[_0x120f77,null]));export default class wt extends _0x193d5c{static get[_0x30d7('0x41')](){return[_0x4af02b];}[_0x30d7('0x34')](){const _0x47f864=this[_0x30d7('0xc')];if(!_0x47f864[_0x30d7('0x58')]['has'](_0x30d7('0x45')))return;const _0x4791f1=_0x47f864[_0x30d7('0x58')][_0x30d7('0x5b')](_0x30d7('0x64')),_0x5771bb=_0x47f864[_0x30d7('0x58')][_0x30d7('0x5b')](_0x30d7('0x72')),_0x2ff99e=_0x47f864[_0x30d7('0x58')][_0x30d7('0x5b')](_0x4af02b),_0x2c0d82=_0x47f864[_0x30d7('0x58')][_0x30d7('0x5b')](_0x30d7('0x45'));_0x2ff99e[_0x30d7('0x36')][_0x30d7('0x9f')](_0x30d7('0x8e'),'tablePasteColumn'),_0x47f864[_0x30d7('0x44')][_0x30d7('0x6b')][_0x30d7('0x95')]('tableCellSuggestion',{'allowIn':_0x30d7('0x10'),'allowContentOf':_0x30d7('0x10'),'isLimit':!0x0}),_0x47f864[_0x30d7('0x92')][_0x30d7('0x54')]({'model':'tableCellSuggestion','view':_0x30d7('0x3a')});let _0x29992f=null;_0x47f864[_0x30d7('0x44')]['on']('insertContent',(_0x43043b,_0x410146)=>{const [_0x1d5f05,_0xcf9a8f]=_0x410146,_0x5955ec=_0x410146[_0x410146[_0x30d7('0x9e')]-0x1];_0x5955ec&&_0x5955ec[_0x30d7('0x4b')]||_0x4791f1[_0x30d7('0x8a')]||this[_0x30d7('0xc')][_0x30d7('0x8')][_0x30d7('0x5b')]('trackChanges')[_0x30d7('0x2d')]&&function(_0x4ecc7f,_0x490446,_0x88bde5,_0x2c139a,_0x5b6d5a){if(_0x490446&&!_0x490446['is'](_0x30d7('0x94')))return!0x1;const _0x552a81=_0x5b6d5a['getTableIfOnlyTableInContent'](_0x4ecc7f,_0x88bde5);if(!_0x552a81||!fe(_0x552a81,void 0x0,_0x2c139a))return!0x1;const _0x1ae513=_0x2c139a['getSelectionAffectedTableCells'](_0x88bde5['document'][_0x30d7('0x24')]);if(!_0x1ae513[_0x30d7('0x9e')])return!0x1;const _0x127f13=_0x1ae513[0x0][_0x30d7('0x76')](_0x30d7('0xf')),_0x3fe6f1=_0x2c139a[_0x30d7('0x68')](_0x1ae513),_0x37b6c9=_0x2c139a['getColumnIndexes'](_0x1ae513),_0x37f16b={'startRow':_0x3fe6f1['first'],'endRow':_0x3fe6f1[_0x30d7('0x27')],'startColumn':_0x37b6c9[_0x30d7('0x7e')],'endColumn':_0x37b6c9['last']};return 0x1==_0x1ae513[_0x30d7('0x9e')]&&(_0x37f16b[_0x30d7('0x1d')]+=_0x2c139a['getRows'](_0x552a81)-0x1,_0x37f16b[_0x30d7('0x3c')]+=_0x2c139a[_0x30d7('0x35')](_0x552a81)-0x1),fe(_0x127f13,_0x37f16b,_0x2c139a);}(_0x1d5f05,_0xcf9a8f,_0x47f864[_0x30d7('0x44')],_0x5771bb,_0x2c0d82)&&(_0x43043b[_0x30d7('0x57')](),_0x29992f={'cells':[],'insertionRanges':[],'deletionRanges':[],'rowInsertionRanges':[],'rowInsertionIndexes':[],'columnInsertionRanges':[],'columnInsertionIndexes':[]},_0x47f864[_0x30d7('0x44')][_0x30d7('0x71')](()=>{_0x47f864[_0x30d7('0x44')][_0x30d7('0x43')](_0x410146[0x0],_0x410146[0x1],_0x410146[0x2],{'forceDefaultExecution':!0x0});const _0x2b21a4=_0x30d86a(),{rowInsertionRanges:_0x495131,columnInsertionRanges:_0x5033ec,insertionRanges:_0x2785ea,deletionRanges:_0x299818,cells:_0x44847a}=_0x29992f;_0x495131['length']&&_0x4791f1[_0x30d7('0x6a')](_0x495131,_0x30d7('0x8e'),{'tablePasteChainId':_0x2b21a4}),_0x5033ec[_0x30d7('0x9e')]&&_0x4791f1[_0x30d7('0x6a')](_0x5033ec,_0x30d7('0x28'),{'tablePasteChainId':_0x2b21a4}),_0x2785ea[_0x30d7('0x9e')]&&_0x4791f1[_0x30d7('0x6a')](_0x2785ea,_0x30d7('0x7'),{'tablePasteChainId':_0x2b21a4,'skipNestingCheck':!0x0}),_0x299818['length']&&_0x4791f1[_0x30d7('0x82')](_0x299818,_0x30d7('0x7'),{'tablePasteChainId':_0x2b21a4,'skipNestingCheck':!0x0});const _0x33e85e=_0x4791f1[_0x30d7('0x90')](_0x44847a[_0x30d7('0x0')](({element:_0x553851})=>_0x553851),{'formatGroupId':_0x30d86a()},[],_0x30d7('0x4f'),{'tablePasteChainId':_0x2b21a4});if(_0x33e85e){const _0x52278f=_0x33e85e[_0x30d7('0x5d')](),_0x37ca11=[];for(const {element:_0x5d560b,attributes:_0x4bfe46}of _0x44847a){if(!_0x4bfe46)continue;const _0x2a7df7=_0x47f864[_0x30d7('0x44')]['createRangeOn'](_0x5d560b),_0x23d493=_0x52278f[_0x30d7('0x9d')](_0x39bdf9=>_0x39bdf9[_0x30d7('0x1f')]()['isEqual'](_0x2a7df7));_0x23d493&&_0x37ca11[_0x30d7('0x9f')]([_0x23d493[_0x30d7('0x7f')],_0x4bfe46]);}_0x37ca11['length']&&_0x33e85e[_0x30d7('0x33')]('markerAttributes',Object['fromEntries'](_0x37ca11));}_0x29992f=null;}));},{'priority':_0x251459[_0x30d7('0x26')]+0xa}),_0x47f864[_0x30d7('0x58')][_0x30d7('0x5b')](_0x30d7('0x45'))['on']('_replaceTableSlotCell',(_0x4c34a7,_0x159a1b)=>{const [_0xb062a7,_0x12609a,,_0x2f4676]=_0x159a1b;if(!_0x29992f)return;_0x4c34a7[_0x30d7('0x57')]();const _0x176f04=_0xb062a7[_0x30d7('0x89')],_0x56a24a=_0x12609a,_0x23dbbb=ce(_0x176f04),_0x37fcca=ce(_0x56a24a);_0x4c34a7[_0x30d7('0x30')]=_0x176f04;let _0x4db56a=null,_0x57612b=null;if(_0x37fcca||_0x23dbbb){if(_0x23dbbb&&!_0x37fcca){_0x2f4676['remove'](_0x176f04[_0x30d7('0x5a')](0x0));for(const _0x4405f8 of Array[_0x30d7('0x88')](_0x56a24a[_0x30d7('0x4a')]()))_0x2f4676[_0x30d7('0x8b')](_0x4405f8,_0x176f04,_0x30d7('0x1e'));const _0x4558f2=_0x29992f[_0x30d7('0x9')][_0x30d7('0x7a')](_0xb062a7['row']),_0x2c3cef=_0x29992f['columnInsertionIndexes'][_0x30d7('0x7a')](_0xb062a7[_0x30d7('0x15')]);_0x4558f2||_0x2c3cef||(_0x4db56a=_0x2f4676[_0x30d7('0x46')](_0x176f04));}else _0x37fcca&&!_0x23dbbb&&(_0x57612b=_0x2f4676[_0x30d7('0x46')](_0x176f04));}else{const _0x150be8=_0x2f4676[_0x30d7('0x9c')]('tableCellSuggestion'),_0x363d29=_0x2f4676[_0x30d7('0x9c')]('tableCellSuggestion');_0x2f4676[_0x30d7('0x22')](_0x2f4676[_0x30d7('0x46')](_0x176f04),_0x363d29),_0x2f4676[_0x30d7('0x8b')](_0x150be8,_0x176f04,0x0);for(const _0x720c5a of Array[_0x30d7('0x88')](_0x56a24a[_0x30d7('0x4a')]()))_0x2f4676[_0x30d7('0x8b')](_0x720c5a,_0x150be8,_0x30d7('0x1e'));_0x4db56a=_0x2f4676[_0x30d7('0x73')](_0x150be8),_0x57612b=_0x2f4676[_0x30d7('0x73')](_0x363d29);}const _0x1bf83c=Array[_0x30d7('0x88')](_0x56a24a[_0x30d7('0x23')]())[_0x30d7('0x2')](([_0x543c8b])=>le['includes'](_0x543c8b));_0x29992f[_0x30d7('0x70')][_0x30d7('0x9f')]({'element':_0x176f04,'attributes':_0x1bf83c['length']?Object[_0x30d7('0x5f')](_0x1bf83c):null}),_0x4db56a&&_0x29992f[_0x30d7('0x1c')][_0x30d7('0x9f')](_0x4db56a),_0x57612b&&_0x29992f['deletionRanges'][_0x30d7('0x9f')](_0x57612b);},{'priority':_0x30d7('0x26')}),_0x5771bb['on']('insertColumns',(_0x104df8,_0x47ffa8)=>{const [_0x5c336b,_0x68cfd9={}]=_0x47ffa8;if(!_0x29992f)return;const _0x2c1997=_0x68cfd9['at']||0x0,_0x253399=_0x68cfd9[_0x30d7('0x17')]||0x1;_0x29992f[_0x30d7('0x12')]=new Array(_0x253399)[_0x30d7('0x77')](_0x2c1997)['map']((_0x31afed,_0x11877b)=>_0x31afed+_0x11877b);for(const {cell:_0x71b0eb}of _0x5771bb[_0x30d7('0x75')](_0x5c336b,{'startColumn':_0x2c1997,'endColumn':_0x2c1997+_0x253399-0x1}))_0x29992f[_0x30d7('0x3f')][_0x30d7('0x9f')](_0x47f864[_0x30d7('0x44')]['createRangeOn'](_0x71b0eb));},{'priority':_0x30d7('0x32')}),_0x5771bb['on'](_0x30d7('0x3b'),(_0x1e9097,_0x3bd84f)=>{const [_0x3bc949,_0x334c7d={}]=_0x3bd84f;if(!_0x29992f)return;const _0x22a57e=_0x334c7d['at']||0x0,_0x3eccc6=_0x334c7d[_0x30d7('0x4')]||0x1;_0x29992f[_0x30d7('0x9')]=new Array(_0x3eccc6)[_0x30d7('0x77')](_0x22a57e)[_0x30d7('0x0')]((_0x430b6e,_0x205dd2)=>_0x430b6e+_0x205dd2);for(const {cell:_0x1761c0}of _0x5771bb[_0x30d7('0x75')](_0x3bc949,{'startRow':_0x22a57e,'endRow':_0x22a57e+_0x3eccc6-0x1}))_0x29992f[_0x30d7('0x83')][_0x30d7('0x9f')](_0x47f864[_0x30d7('0x44')][_0x30d7('0x73')](_0x1761c0));},{'priority':'low'}),_0x4791f1[_0x30d7('0x6e')]['registerDescriptionCallback'](_0x1f2dac=>{if(_0x1f2dac['subType']&&_0x1f2dac[_0x30d7('0x78')][_0x30d7('0x74')](_0x30d7('0x7')))return _0x1f2dac[_0x30d7('0x2a')]?{}:{'type':'insertion','content':_0x4f11c9(_0x47f864[_0x30d7('0x4c')],'*Replace\x20table\x20cells*')};});const _0x36f9b4=()=>!0x1;for(const _0x311ea0 of['tablePaste',_0x30d7('0x28'),_0x30d7('0x8e'),_0x30d7('0x4f')])_0x4791f1['_suggestionFactory'][_0x30d7('0xe')](_0x30d7('0x6c'),_0x311ea0,_0x30d7('0x53'),_0x36f9b4),_0x4791f1[_0x30d7('0xa')][_0x30d7('0xe')](_0x30d7('0x51'),_0x311ea0,'join',_0x36f9b4),_0x4791f1[_0x30d7('0xa')][_0x30d7('0xe')](_0x30d7('0x63'),_0x311ea0,_0x30d7('0x53'),_0x36f9b4);_0x4791f1[_0x30d7('0xa')]['registerCustomCallback'](_0x30d7('0x63'),_0x30d7('0x4f'),'discard',_0x36f9b4),_0x4791f1[_0x30d7('0xa')][_0x30d7('0xe')](_0x30d7('0x63'),'tablePasteCell',_0x30d7('0x80'),(_0x431312,_0x133fb8,_0x45fbe4)=>{const _0x423bf0=_0x431312['map'](_0x2c6ba4=>_0x2c6ba4[_0x30d7('0x96')]())[_0x30d7('0x2')](_0x1c8590=>_0x1c8590),_0x49d1b4=new Map(_0x423bf0[_0x30d7('0x0')](_0x495dcb=>[_0x495dcb,null]));if(_0x29992f)for(const {element:_0x517d80,attributes:_0x1ebfd7}of _0x29992f[_0x30d7('0x70')])_0x1ebfd7&&_0x49d1b4[_0x30d7('0x8d')](_0x517d80,_0x1ebfd7);else{if(_0x45fbe4&&_0x45fbe4[_0x30d7('0xb')])for(const [_0x594c89,_0x2acdf5]of Object['entries'](_0x45fbe4[_0x30d7('0xb')])){const _0xbfed9e=_0x47f864[_0x30d7('0x44')][_0x30d7('0x5')][_0x30d7('0x5b')](_0x594c89),_0x20f77e=_0xbfed9e?_0xbfed9e[_0x30d7('0x1f')]()['getContainedElement']():null;_0x20f77e&&_0x49d1b4['set'](_0x20f77e,_0x2acdf5);}}_0x47f864[_0x30d7('0x44')]['change'](_0x50b8d8=>{for(const [_0x30f354,_0x284067]of _0x49d1b4)_0x50b8d8[_0x30d7('0xa0')]({...ae,..._0x284067},_0x30f354);});});const _0x38be4b=(_0x2d55dd,_0x2be451)=>{_0x4791f1[_0x30d7('0xa')][_0x30d7('0xe')](_0x2d55dd,_0x30d7('0x7'),_0x2be451,(_0x109292,_0x2a8281,_0x3610c3)=>{_0x47f864[_0x30d7('0x44')][_0x30d7('0x71')](_0x881078=>{const _0x5d101d=[];for(const _0x483e6a of _0x109292){const _0xcd3470=_0x483e6a[_0x30d7('0x87')][_0x30d7('0x21')];_0xcd3470['is']('element',_0x30d7('0x50'))&&_0x5d101d[_0x30d7('0x9f')](_0xcd3470);}_0x4791f1[_0x30d7('0xa')]['getSuggestionCallback'](_0x2d55dd,null,_0x2be451)(_0x109292,_0x2a8281,_0x3610c3);for(const _0x358b81 of _0x5d101d)_0x30d7('0x65')!=_0x358b81['root']['rootName']&&_0x881078['unwrap'](_0x358b81);});});};_0x38be4b(_0x30d7('0x6c'),_0x30d7('0x80')),_0x38be4b(_0x30d7('0x6c'),_0x30d7('0x39')),_0x38be4b(_0x30d7('0x51'),'accept'),_0x38be4b('deletion',_0x30d7('0x39')),_0x4791f1['_suggestionFactory'][_0x30d7('0xe')](_0x30d7('0x6c'),_0x30d7('0x8e'),_0x30d7('0x39'),_0x17b400=>{const _0x295cbb=_0x17b400[_0x30d7('0x0')](_0xe83555=>_0xe83555[_0x30d7('0x96')]()),_0x4d1748=_0x295cbb[0x0]['findAncestor'](_0x30d7('0xf')),{minRow:_0x2518d4,maxRow:_0x1a0101}=_0x2ff99e[_0x30d7('0x13')](_0x295cbb);_0x5771bb[_0x30d7('0x61')](_0x4d1748,{'at':_0x2518d4,'rows':_0x1a0101-_0x2518d4+0x1});}),_0x4791f1[_0x30d7('0xa')][_0x30d7('0xe')](_0x30d7('0x6c'),_0x30d7('0x28'),_0x30d7('0x39'),_0x8f2e81=>{const _0x1ff3fa=_0x8f2e81[_0x30d7('0x0')](_0x54ad6a=>_0x54ad6a[_0x30d7('0x96')]()),_0x491dc6=_0x1ff3fa[0x0][_0x30d7('0x76')](_0x30d7('0xf')),{minColumn:_0x2b78e9,maxColumn:_0x510e01}=_0x2ff99e[_0x30d7('0x13')](_0x1ff3fa);_0x5771bb[_0x30d7('0x69')](_0x491dc6,{'at':_0x2b78e9,'columns':_0x510e01-_0x2b78e9+0x1});});const _0x1a56ba=(_0x1bd6a3,_0x389d86)=>{if(!_0x389d86[_0x30d7('0x78')]||!_0x389d86[_0x30d7('0x78')][_0x30d7('0x74')](_0x30d7('0x7')))return;const _0x261b7e=_0x389d86[_0x30d7('0x4e')][_0x30d7('0x67')],_0x226d0c=_0x4791f1[_0x30d7('0x59')]()[_0x30d7('0x2')](_0x16363d=>_0x16363d[_0x30d7('0x8c')]&&_0x16363d[_0x30d7('0x4e')]&&_0x16363d[_0x30d7('0x4e')][_0x30d7('0x67')]==_0x261b7e);_0x226d0c[_0x30d7('0x9e')]&&_0x389d86[_0x30d7('0x3')]()[_0x30d7('0x9e')]!=_0x226d0c[_0x30d7('0x9e')]&&_0x226d0c['reduce']((_0x4294c1,_0x203767)=>(_0x4294c1['next']=_0x203767,_0x203767['previous']=_0x4294c1,_0x203767));};function _0x54c692(_0x117fd2,_0x3a482f=!0x0){const {id:_0x36f74e}=_0x4791f1[_0x30d7('0x3e')](_0x117fd2['markerName']),_0x5c4640=['ck-suggestion-marker',_0x30d7('0x7d')],_0x550019=_0x4791f1[_0x30d7('0x25')][_0x30d7('0x7a')](_0x117fd2[_0x30d7('0x6d')]);return _0x550019&&_0x5c4640[_0x30d7('0x9f')](_0x30d7('0x37')),{'classes':_0x5c4640,'attributes':{'data-suggestion':_0x36f74e},'priority':_0x550019&&_0x3a482f?0xbc2:0xbb8};}_0x4791f1['on'](_0x30d7('0x2c'),_0x1a56ba,{'priority':_0x30d7('0x26')}),_0x4791f1['on']('suggestionUnloaded',_0x1a56ba,{'priority':_0x30d7('0x26')}),_0x47f864[_0x30d7('0x44')]['document'][_0x30d7('0x62')](()=>{let _0x5981f9=!0x1;const _0x24b259=Array[_0x30d7('0x88')](_0x47f864[_0x30d7('0x44')][_0x30d7('0x3d')][_0x30d7('0x98')][_0x30d7('0x31')]());for(const {name:_0x3d5e97,data:_0x3417b1}of _0x24b259){const {group:_0x4fe255,type:_0x473d7d,id:_0x4f59e6}=_0x4791f1[_0x30d7('0x3e')](_0x3d5e97);if(_0x30d7('0x6')!=_0x4fe255||_0x30d7('0x51')!=_0x473d7d||_0x3417b1[_0x30d7('0x7c')])continue;if(!_0x4791f1[_0x30d7('0x81')](_0x4f59e6))continue;const _0x15f8dd=_0x4791f1[_0x30d7('0x7b')](_0x4f59e6)[_0x30d7('0xd')](),_0x1fe7f9=_0x47f864[_0x30d7('0x58')][_0x30d7('0x5b')]('Users')['me'];for(const _0x143c9b of _0x4791f1[_0x30d7('0x59')]()){if(!_0x143c9b[_0x30d7('0x8c')]||_0x143c9b['author']!=_0x1fe7f9)continue;if(_0x30d7('0x63')!=_0x143c9b[_0x30d7('0x1b')]||_0x30d7('0x4f')!=_0x143c9b[_0x30d7('0x78')])continue;if(_0x143c9b[_0x30d7('0xd')]()['every'](_0x7c6f11=>_0x15f8dd[_0x30d7('0x42')](_0x4673c4=>_0x4673c4[_0x30d7('0x5c')](_0x7c6f11,!0x0))))for(const _0x3335f3 of _0x143c9b['getAllAdjacentSuggestions']())_0x3335f3[_0x30d7('0x8c')]&&(_0x3335f3[_0x30d7('0x39')](),_0x5981f9=!0x0);}}return _0x5981f9;}),_0x47f864['model'][_0x30d7('0x3d')]['registerPostFixer'](_0x7aceb1=>{const _0x5707dc=_0x47f864[_0x30d7('0x8')][_0x30d7('0x5b')]('redo');if(!_0x5707dc||!_0x5707dc['_createdBatches']['has'](_0x7aceb1[_0x30d7('0x91')]))return!0x1;let _0x1e13ce=!0x1;const _0x214d47=_0x47f864[_0x30d7('0x58')][_0x30d7('0x5b')](_0x30d7('0x6f'))['me'],_0x35f592=_0x47f864[_0x30d7('0x44')]['document'][_0x30d7('0x98')][_0x30d7('0x18')](),_0x140028=Array[_0x30d7('0x88')](_0x47f864[_0x30d7('0x44')]['document'][_0x30d7('0x98')][_0x30d7('0x31')]())[_0x30d7('0x2')](({name:_0x56faa2,data:_0x36bb13})=>{const {group:_0x25146a,subType:_0x15d474,authorId:_0x474180}=_0x4791f1[_0x30d7('0x3e')](_0x56faa2);return'suggestion'==_0x25146a&&'tablePaste'==_0x15d474&&_0x474180==_0x214d47['id']&&!_0x36bb13[_0x30d7('0x7c')];});for(const _0x5517ea of _0x35f592){if('insert'!=_0x5517ea[_0x30d7('0x1b')]||'tableCellSuggestion'!=_0x5517ea[_0x30d7('0x7f')]||0x1!=_0x5517ea[_0x30d7('0x9e')])continue;const _0x44ae2d=_0x7aceb1['createRange'](_0x5517ea[_0x30d7('0x2f')],_0x5517ea['position'][_0x30d7('0x14')](0x1));if(!_0x140028['find'](({data:_0x1d43a5})=>_0x1d43a5[_0x30d7('0x1a')][_0x30d7('0x85')](_0x44ae2d)))for(const {name:_0x21b358,data:_0x156f00}of _0x140028)if(_0x44ae2d[_0x30d7('0x5c')](_0x156f00['newRange'])){_0x7aceb1['updateMarker'](_0x21b358,{'range':_0x44ae2d}),_0x1e13ce=!0x0;break;}}return _0x1e13ce;}),_0x47f864[_0x30d7('0x44')][_0x30d7('0x3d')][_0x30d7('0x62')](_0x587959=>{let _0x1519b3=!0x1;const _0x51fb40=_0x47f864['plugins'][_0x30d7('0x5b')](_0x30d7('0x6f'))['me'],_0x573c5e=_0x4791f1[_0x30d7('0x59')]()[_0x30d7('0x2')](_0x2d1513=>_0x2d1513['isInContent']&&_0x2d1513[_0x30d7('0x1')]==_0x51fb40),_0x2beb7a=new Set(),_0x1a3fa5=new Set();for(const _0x36f404 of _0x573c5e)if('tablePaste'==_0x36f404['subType'])for(const _0xd5af5a of _0x36f404[_0x30d7('0x5d')]()){const _0xee6d1c=_0xd5af5a[_0x30d7('0x1f')]()[_0x30d7('0x96')]();if(_0xee6d1c){if(_0xee6d1c['is'](_0x30d7('0x84'),'tableCellSuggestion')&&ce(_0xee6d1c)){_0x36f404[_0x30d7('0x5e')](_0xd5af5a[_0x30d7('0x7f')]),_0x2beb7a[_0x30d7('0x16')](_0xee6d1c),_0x1519b3=!0x0;const _0x1f1c8e=_0xee6d1c[_0x30d7('0x55')],_0x2980c2=_0xee6d1c['previousSibling'],_0x310c2f=_0x1f1c8e&&_0x1f1c8e['is'](_0x30d7('0x84'),_0x30d7('0x50')),_0x192c6e=_0x2980c2&&_0x2980c2['is'](_0x30d7('0x84'),'tableCellSuggestion');_0x310c2f&&!_0x2beb7a[_0x30d7('0x79')](_0x1f1c8e)&&_0x1a3fa5[_0x30d7('0x16')](_0x1f1c8e),_0x192c6e&&!_0x2beb7a[_0x30d7('0x79')](_0x2980c2)&&_0x1a3fa5[_0x30d7('0x16')](_0x2980c2);}else _0xee6d1c['is']('element',_0x30d7('0x20'))&&_0xee6d1c[_0x30d7('0x11')]&&(_0x36f404['removeMarker'](_0xd5af5a[_0x30d7('0x7f')]),_0x1519b3=!0x0);}}else{if(_0x30d7('0x4f')==_0x36f404[_0x30d7('0x78')]){if(!_0x36f404[_0x30d7('0x4e')]||!_0x36f404['attributes'][_0x30d7('0x67')])continue;const _0x425b3c=_0x36f404[_0x30d7('0x4e')][_0x30d7('0xb')];if(_0x425b3c&&Object[_0x30d7('0x97')](_0x425b3c)['length'])continue;const _0x340cb6=_0x36f404[_0x30d7('0x4e')][_0x30d7('0x67')];let _0x3a75d8=!0x0,_0x7fea9d=!0x0;for(const _0x49f1d8 of _0x573c5e)if(_0x49f1d8['subType']&&_0x49f1d8['subType'][_0x30d7('0x74')]('tablePaste')){if(!_0x49f1d8['attributes'][_0x30d7('0x67')]){_0x7fea9d=!0x1;break;}if(_0x49f1d8['id']!=_0x36f404['id']&&_0x49f1d8[_0x30d7('0x4e')][_0x30d7('0x67')]==_0x340cb6){_0x3a75d8=!0x1;break;}}_0x7fea9d&&_0x3a75d8&&(_0x36f404[_0x30d7('0x52')](),_0x1519b3=!0x0);}}for(const _0x40fc98 of _0x2beb7a)_0x587959[_0x30d7('0x4d')](_0x40fc98);for(const _0xc6aaf2 of _0x1a3fa5)_0x587959[_0x30d7('0x49')](_0xc6aaf2);return _0x1519b3;}),_0x47f864[_0x30d7('0x92')]['for'](_0x30d7('0x2e'))[_0x30d7('0x66')]({'model':_0x30d7('0x8f'),'view':(_0x934def,_0x1b5c0f)=>_0x54c692(_0x934def),'converterPriority':_0x30d7('0x26')}),_0x47f864['conversion'][_0x30d7('0x93')](_0x30d7('0x99'))[_0x30d7('0x66')]({'model':'suggestion:formatBlock:tablePasteCell','view':(_0x3333c7,_0x346dde)=>_0x346dde[_0x30d7('0x19')][_0x30d7('0x29')]?_0x54c692(_0x3333c7,!0x1):null,'converterPriority':_0x30d7('0x26')});const _0x495ac6=_0x47f864['editing'][_0x30d7('0x9b')];this['listenTo'](_0x495ac6[_0x30d7('0x3d')],'clipboardOutput',(_0x366754,_0x51d0c1)=>{const _0x4ebd76=[];for(const _0x51644e of _0x495ac6['createRangeIn'](_0x51d0c1[_0x30d7('0x60')])[_0x30d7('0x40')]())_0x51644e['is'](_0x30d7('0x84'),'suggestion-td')&&_0x4ebd76[_0x30d7('0x9f')](_0x51644e);_0x495ac6[_0x30d7('0x71')](_0x157cf6=>{for(const _0x557175 of _0x4ebd76)_0x157cf6['move'](_0x157cf6['createRangeIn'](_0x557175),_0x157cf6[_0x30d7('0x2b')](_0x557175)),_0x157cf6[_0x30d7('0x4d')](_0x557175);});});}}function ce(_0x331deb){if(_0x331deb[_0x30d7('0x11')])return!0x0;const _0x24a75a=_0x331deb[_0x30d7('0x5a')](0x0);return _0x24a75a['is']('element',_0x30d7('0x20'))&&_0x24a75a[_0x30d7('0x11')];}function fe(_0x1726b3,_0x53875c={},_0x565e3f){for(const {isAnchor:_0x2fa5f6,cellHeight:_0x1d8f8a,cellWidth:_0x4c01cf}of _0x565e3f['createTableWalker'](_0x1726b3,{'includeAllSlots':!0x0,..._0x53875c}))if(!_0x2fa5f6||0x1!=_0x1d8f8a||0x1!=_0x4c01cf)return!0x1;return!0x0;}
23
+ const _0xf0d3=['getSuggestionCallback','ck-suggestion-marker--active','accept','newRange','for','removeRows','from','has','insertContent','registerCustomCallback','plugins','wrap','_splitMarkerName','previous','every','nodeAfter','editing','tableCellSuggestion','getColumnIndexes','commands','fromEntries','getRange','ck-suggestion-marker','cell','getMarkers','add','findAncestor','dataDowncast','find','getSuggestion','markMultiRangeInsertion','element','rows','hasSuggestion','_suggestionFactory','markerName','root','remove','tablePaste','removeMarkers','last','fill','set','map','includes','cells','ck-suggestion-marker-insertion','tableCellHorizontalAlignment','type','locale','getContainedElement','stop','tablePasteColumn','isEmpty','getChild','filter','return','TableClipboard','createTableWalker','author','getAllAdjacentSuggestions','trackChanges','_createdBatches','setAttributes','tableCellPadding','change','getChangedMarkers','reduce','end','push','move','length','insertionRanges','oldRange','batch','_getCoordsForCells','insertRows','getRowIndexes','options','tableCell','isInContent','createRangeIn','model','first','_replaceTableSlotCell','rootName','getSelectionAffectedTableCells','formatBlock','TableUtils','registerDescriptionCallback','_isForcedDefaultExecutionBlock','start','column','insert','getChanges','conversion','attributes','deletionRanges','startsWith','selection','high','differ','Users','editingDowncast','registerPostFixer','markMultiRangeBlockFormat','previousSibling','low','tableCellBackgroundColor','suggestion-td','subType','containsRange','deletion','markerAttributes','join','paragraph','table','createRangeOn','getColumns','tablePasteRow','redo','editor','insertion','row','removeMarker','getRows','columnInsertionRanges','rowInsertionRanges','tableCellBorderStyle','schema','position','removeColumns','tablePasteCell','rowInsertionIndexes','getRanges','entries','markers','register','unwrap','markerToHighlight','getSuggestions','isEqual','keys','columnInsertionIndexes','document','get','suggestion:formatBlock:tablePasteCell','endRow','tableCellBorderColor','suggestionLoaded','discard','tableCellBorderWidth','suggestion','tablePasteChainId','getTableIfOnlyTableInContent','updateMarker','name','content'];(function(_0xa02fbd,_0xf0d34b){const _0x224163=function(_0x30b141){while(--_0x30b141){_0xa02fbd['push'](_0xa02fbd['shift']());}};_0x224163(++_0xf0d34b);}(_0xf0d3,0x8e));const _0x2241=function(_0xa02fbd,_0xf0d34b){_0xa02fbd=_0xa02fbd-0x0;let _0x224163=_0xf0d3[_0xa02fbd];return _0x224163;};import{getTranslation as _0x5db861}from'../utils/common-translations';import{Plugin as _0x1133b1}from'ckeditor5/src/core';import{uid as _0x4f49c8,priorities as _0x55925a}from'ckeditor5/src/utils';import _0x56583e from'./table';const le=[_0x2241('0x9'),_0x2241('0x6'),_0x2241('0x90'),_0x2241('0x3f'),'tableCellVerticalAlignment',_0x2241('0x7c'),_0x2241('0x50')],ae=Object[_0x2241('0x24')](le['map'](_0x632c22=>[_0x632c22,null]));export default class wt extends _0x1133b1{static get['requires'](){return[_0x56583e];}['afterInit'](){const _0x842824=this['editor'];if(!_0x842824['plugins'][_0x2241('0x17')](_0x2241('0x49')))return;const _0x28099d=_0x842824['plugins'][_0x2241('0x3')]('TrackChangesEditing'),_0x20b194=_0x842824[_0x2241('0x1a')]['get'](_0x2241('0x68')),_0x3a76c8=_0x842824['plugins'][_0x2241('0x3')](_0x56583e),_0x36293d=_0x842824[_0x2241('0x1a')][_0x2241('0x3')]('TableClipboard');_0x3a76c8['_tablePostFixingSubtypes'][_0x2241('0x55')](_0x2241('0x87'),_0x2241('0x44')),_0x842824[_0x2241('0x62')][_0x2241('0x91')][_0x2241('0x99')](_0x2241('0x21'),{'allowIn':_0x2241('0x5f'),'allowContentOf':_0x2241('0x5f'),'isLimit':!0x0}),_0x842824['conversion']['elementToElement']({'model':_0x2241('0x21'),'view':_0x2241('0x7d')});let _0x24a220=null;_0x842824[_0x2241('0x62')]['on'](_0x2241('0x18'),(_0xa36529,_0x4c0944)=>{const [_0x51e850,_0x418364]=_0x4c0944,_0x59034e=_0x4c0944[_0x4c0944[_0x2241('0x57')]-0x1];_0x59034e&&_0x59034e['forceDefaultExecution']||_0x28099d[_0x2241('0x6a')]||this[_0x2241('0x89')]['commands'][_0x2241('0x3')](_0x2241('0x4d'))['value']&&function(_0x2a96b0,_0x4feae6,_0x7b2f85,_0x4d05a7,_0x350809){if(_0x4feae6&&!_0x4feae6['is']('documentSelection'))return!0x1;const _0x96009f=_0x350809[_0x2241('0xc')](_0x2a96b0,_0x7b2f85);if(!_0x96009f||!fe(_0x96009f,void 0x0,_0x4d05a7))return!0x1;const _0x146ea1=_0x4d05a7[_0x2241('0x66')](_0x7b2f85[_0x2241('0x2')][_0x2241('0x73')]);if(!_0x146ea1[_0x2241('0x57')])return!0x1;const _0x72d299=_0x146ea1[0x0]['findAncestor'](_0x2241('0x84')),_0x2c4b3b=_0x4d05a7[_0x2241('0x5d')](_0x146ea1),_0x9bff8b=_0x4d05a7[_0x2241('0x22')](_0x146ea1),_0x2b1409={'startRow':_0x2c4b3b[_0x2241('0x63')],'endRow':_0x2c4b3b['last'],'startColumn':_0x9bff8b[_0x2241('0x63')],'endColumn':_0x9bff8b[_0x2241('0x38')]};return 0x1==_0x146ea1[_0x2241('0x57')]&&(_0x2b1409[_0x2241('0x5')]+=_0x4d05a7[_0x2241('0x8d')](_0x96009f)-0x1,_0x2b1409['endColumn']+=_0x4d05a7[_0x2241('0x86')](_0x96009f)-0x1),fe(_0x72d299,_0x2b1409,_0x4d05a7);}(_0x51e850,_0x418364,_0x842824['model'],_0x20b194,_0x36293d)&&(_0xa36529[_0x2241('0x43')](),_0x24a220={'cells':[],'insertionRanges':[],'deletionRanges':[],'rowInsertionRanges':[],'rowInsertionIndexes':[],'columnInsertionRanges':[],'columnInsertionIndexes':[]},_0x842824[_0x2241('0x62')]['change'](()=>{_0x842824[_0x2241('0x62')]['insertContent'](_0x4c0944[0x0],_0x4c0944[0x1],_0x4c0944[0x2],{'forceDefaultExecution':!0x0});const _0x21c282=_0x4f49c8(),{rowInsertionRanges:_0x3ddb90,columnInsertionRanges:_0x14e052,insertionRanges:_0x246646,deletionRanges:_0x5815ae,cells:_0x5ed2be}=_0x24a220;_0x3ddb90[_0x2241('0x57')]&&_0x28099d[_0x2241('0x2e')](_0x3ddb90,_0x2241('0x87'),{'tablePasteChainId':_0x21c282}),_0x14e052[_0x2241('0x57')]&&_0x28099d[_0x2241('0x2e')](_0x14e052,_0x2241('0x44'),{'tablePasteChainId':_0x21c282}),_0x246646[_0x2241('0x57')]&&_0x28099d['markMultiRangeInsertion'](_0x246646,_0x2241('0x36'),{'tablePasteChainId':_0x21c282,'skipNestingCheck':!0x0}),_0x5815ae[_0x2241('0x57')]&&_0x28099d['markMultiRangeDeletion'](_0x5815ae,_0x2241('0x36'),{'tablePasteChainId':_0x21c282,'skipNestingCheck':!0x0});const _0x10f5ac=_0x28099d[_0x2241('0x79')](_0x5ed2be['map'](({element:_0x3f03f0})=>_0x3f03f0),{'formatGroupId':_0x4f49c8()},[],_0x2241('0x94'),{'tablePasteChainId':_0x21c282});if(_0x10f5ac){const _0x178cda=_0x10f5ac[_0x2241('0x28')](),_0x4b0219=[];for(const {element:_0x565e81,attributes:_0x2f5d80}of _0x5ed2be){if(!_0x2f5d80)continue;const _0x4cf7b9=_0x842824[_0x2241('0x62')][_0x2241('0x85')](_0x565e81),_0x2fe5aa=_0x178cda[_0x2241('0x2c')](_0x2d27cd=>_0x2d27cd[_0x2241('0x25')]()['isEqual'](_0x4cf7b9));_0x2fe5aa&&_0x4b0219[_0x2241('0x55')]([_0x2fe5aa[_0x2241('0xe')],_0x2f5d80]);}_0x4b0219[_0x2241('0x57')]&&_0x10f5ac['setAttribute'](_0x2241('0x81'),Object[_0x2241('0x24')](_0x4b0219));}_0x24a220=null;}));},{'priority':_0x55925a[_0x2241('0x74')]+0xa}),_0x842824[_0x2241('0x1a')][_0x2241('0x3')](_0x2241('0x49'))['on'](_0x2241('0x64'),(_0xb68873,_0x3edd2c)=>{const [_0x135871,_0x688ad4,,_0x45244c]=_0x3edd2c;if(!_0x24a220)return;_0xb68873[_0x2241('0x43')]();const _0x508497=_0x135871[_0x2241('0x27')],_0x257b46=_0x688ad4,_0x122a3d=ce(_0x508497),_0x208a6e=ce(_0x257b46);_0xb68873[_0x2241('0x48')]=_0x508497;let _0x188fbd=null,_0x1e6220=null;if(_0x208a6e||_0x122a3d){if(_0x122a3d&&!_0x208a6e){_0x45244c[_0x2241('0x35')](_0x508497[_0x2241('0x46')](0x0));for(const _0x471d21 of Array[_0x2241('0x16')](_0x257b46['getChildren']()))_0x45244c[_0x2241('0x6d')](_0x471d21,_0x508497,_0x2241('0x54'));const _0x52fb5f=_0x24a220['rowInsertionIndexes']['includes'](_0x135871[_0x2241('0x8b')]),_0x436778=_0x24a220['columnInsertionIndexes'][_0x2241('0x3c')](_0x135871[_0x2241('0x6c')]);_0x52fb5f||_0x436778||(_0x188fbd=_0x45244c[_0x2241('0x61')](_0x508497));}else _0x208a6e&&!_0x122a3d&&(_0x1e6220=_0x45244c[_0x2241('0x61')](_0x508497));}else{const _0x3d23eb=_0x45244c['createElement'](_0x2241('0x21')),_0x47fae3=_0x45244c['createElement']('tableCellSuggestion');_0x45244c[_0x2241('0x1b')](_0x45244c['createRangeIn'](_0x508497),_0x47fae3),_0x45244c[_0x2241('0x6d')](_0x3d23eb,_0x508497,0x0);for(const _0x55b929 of Array[_0x2241('0x16')](_0x257b46['getChildren']()))_0x45244c['insert'](_0x55b929,_0x3d23eb,'end');_0x188fbd=_0x45244c['createRangeOn'](_0x3d23eb),_0x1e6220=_0x45244c[_0x2241('0x85')](_0x47fae3);}const _0x2ef5ed=Array['from'](_0x257b46['getAttributes']())['filter'](([_0x3cce7d])=>le['includes'](_0x3cce7d));_0x24a220[_0x2241('0x3d')][_0x2241('0x55')]({'element':_0x508497,'attributes':_0x2ef5ed[_0x2241('0x57')]?Object[_0x2241('0x24')](_0x2ef5ed):null}),_0x188fbd&&_0x24a220[_0x2241('0x58')]['push'](_0x188fbd),_0x1e6220&&_0x24a220[_0x2241('0x71')]['push'](_0x1e6220);},{'priority':_0x2241('0x74')}),_0x20b194['on']('insertColumns',(_0x5c69c3,_0x4d222e)=>{const [_0xdc4971,_0x486638={}]=_0x4d222e;if(!_0x24a220)return;const _0x280cac=_0x486638['at']||0x0,_0x14b6e3=_0x486638['columns']||0x1;_0x24a220[_0x2241('0x1')]=new Array(_0x14b6e3)[_0x2241('0x39')](_0x280cac)[_0x2241('0x3b')]((_0x6fea4b,_0x557439)=>_0x6fea4b+_0x557439);for(const {cell:_0x32c09c}of _0x20b194['createTableWalker'](_0xdc4971,{'startColumn':_0x280cac,'endColumn':_0x280cac+_0x14b6e3-0x1}))_0x24a220[_0x2241('0x8e')][_0x2241('0x55')](_0x842824[_0x2241('0x62')][_0x2241('0x85')](_0x32c09c));},{'priority':_0x2241('0x7b')}),_0x20b194['on'](_0x2241('0x5c'),(_0x2a897a,_0x5f4103)=>{const [_0x40ffc2,_0x3f649e={}]=_0x5f4103;if(!_0x24a220)return;const _0x5890e1=_0x3f649e['at']||0x0,_0x2f7f71=_0x3f649e[_0x2241('0x30')]||0x1;_0x24a220[_0x2241('0x95')]=new Array(_0x2f7f71)['fill'](_0x5890e1)[_0x2241('0x3b')]((_0x5a9317,_0x182a19)=>_0x5a9317+_0x182a19);for(const {cell:_0x4a27a5}of _0x20b194[_0x2241('0x4a')](_0x40ffc2,{'startRow':_0x5890e1,'endRow':_0x5890e1+_0x2f7f71-0x1}))_0x24a220[_0x2241('0x8f')][_0x2241('0x55')](_0x842824[_0x2241('0x62')][_0x2241('0x85')](_0x4a27a5));},{'priority':_0x2241('0x7b')}),_0x28099d['_descriptionFactory'][_0x2241('0x69')](_0x4dbe03=>{if(_0x4dbe03[_0x2241('0x7e')]&&_0x4dbe03['subType'][_0x2241('0x72')](_0x2241('0x36')))return _0x4dbe03[_0x2241('0x1d')]?{}:{'type':'insertion','content':_0x5db861(_0x842824[_0x2241('0x41')],'*Replace\x20table\x20cells*')};});const _0x5729a2=()=>!0x1;for(const _0x326fde of['tablePaste',_0x2241('0x44'),_0x2241('0x87'),_0x2241('0x94')])_0x28099d[_0x2241('0x32')][_0x2241('0x19')](_0x2241('0x8a'),_0x326fde,_0x2241('0x82'),_0x5729a2),_0x28099d[_0x2241('0x32')]['registerCustomCallback'](_0x2241('0x80'),_0x326fde,_0x2241('0x82'),_0x5729a2),_0x28099d[_0x2241('0x32')]['registerCustomCallback']('formatBlock',_0x326fde,_0x2241('0x82'),_0x5729a2);_0x28099d[_0x2241('0x32')][_0x2241('0x19')]('formatBlock',_0x2241('0x94'),_0x2241('0x8'),_0x5729a2),_0x28099d[_0x2241('0x32')][_0x2241('0x19')](_0x2241('0x67'),_0x2241('0x94'),_0x2241('0x12'),(_0x358d98,_0x2e0e0d,_0x770edd)=>{const _0xafecd3=_0x358d98['map'](_0xef3fd6=>_0xef3fd6[_0x2241('0x42')]())[_0x2241('0x47')](_0x8c9b1=>_0x8c9b1),_0x2de0dc=new Map(_0xafecd3[_0x2241('0x3b')](_0x3bb16a=>[_0x3bb16a,null]));if(_0x24a220)for(const {element:_0x304ed1,attributes:_0x377cd2}of _0x24a220[_0x2241('0x3d')])_0x377cd2&&_0x2de0dc[_0x2241('0x3a')](_0x304ed1,_0x377cd2);else{if(_0x770edd&&_0x770edd['markerAttributes'])for(const [_0x44694a,_0x16da18]of Object[_0x2241('0x97')](_0x770edd['markerAttributes'])){const _0x3f5022=_0x842824[_0x2241('0x62')][_0x2241('0x98')][_0x2241('0x3')](_0x44694a),_0x5f551c=_0x3f5022?_0x3f5022[_0x2241('0x25')]()[_0x2241('0x42')]():null;_0x5f551c&&_0x2de0dc[_0x2241('0x3a')](_0x5f551c,_0x16da18);}}_0x842824[_0x2241('0x62')][_0x2241('0x51')](_0x42ce93=>{for(const [_0x545f1d,_0x2cf1f9]of _0x2de0dc)_0x42ce93[_0x2241('0x4f')]({...ae,..._0x2cf1f9},_0x545f1d);});});const _0x413a09=(_0x115e13,_0xb208ac)=>{_0x28099d[_0x2241('0x32')][_0x2241('0x19')](_0x115e13,_0x2241('0x36'),_0xb208ac,(_0x109466,_0x1da789,_0x2c365f)=>{_0x842824[_0x2241('0x62')][_0x2241('0x51')](_0x43433a=>{const _0x5e3472=[];for(const _0x536434 of _0x109466){const _0x2b75e3=_0x536434[_0x2241('0x6b')][_0x2241('0x1f')];_0x2b75e3['is'](_0x2241('0x2f'),_0x2241('0x21'))&&_0x5e3472[_0x2241('0x55')](_0x2b75e3);}_0x28099d[_0x2241('0x32')][_0x2241('0x10')](_0x115e13,null,_0xb208ac)(_0x109466,_0x1da789,_0x2c365f);for(const _0x3a984a of _0x5e3472)'$graveyard'!=_0x3a984a[_0x2241('0x34')][_0x2241('0x65')]&&_0x43433a[_0x2241('0x9a')](_0x3a984a);});});};_0x413a09(_0x2241('0x8a'),_0x2241('0x12')),_0x413a09(_0x2241('0x8a'),'discard'),_0x413a09(_0x2241('0x80'),_0x2241('0x12')),_0x413a09(_0x2241('0x80'),'discard'),_0x28099d[_0x2241('0x32')][_0x2241('0x19')](_0x2241('0x8a'),_0x2241('0x87'),'discard',_0x38332a=>{const _0x348eb1=_0x38332a[_0x2241('0x3b')](_0x7163c7=>_0x7163c7[_0x2241('0x42')]()),_0x4e10ee=_0x348eb1[0x0][_0x2241('0x2a')]('table'),{minRow:_0x3b6065,maxRow:_0x909da2}=_0x3a76c8[_0x2241('0x5b')](_0x348eb1);_0x20b194[_0x2241('0x15')](_0x4e10ee,{'at':_0x3b6065,'rows':_0x909da2-_0x3b6065+0x1});}),_0x28099d['_suggestionFactory'][_0x2241('0x19')]('insertion',_0x2241('0x44'),_0x2241('0x8'),_0x466e37=>{const _0x432089=_0x466e37[_0x2241('0x3b')](_0xdf0247=>_0xdf0247[_0x2241('0x42')]()),_0x4fa94a=_0x432089[0x0][_0x2241('0x2a')](_0x2241('0x84')),{minColumn:_0x2a1234,maxColumn:_0x514637}=_0x3a76c8[_0x2241('0x5b')](_0x432089);_0x20b194[_0x2241('0x93')](_0x4fa94a,{'at':_0x2a1234,'columns':_0x514637-_0x2a1234+0x1});});const _0x438be2=(_0x3eed12,_0x2bfd0e)=>{if(!_0x2bfd0e['subType']||!_0x2bfd0e[_0x2241('0x7e')][_0x2241('0x72')](_0x2241('0x36')))return;const _0x478e66=_0x2bfd0e[_0x2241('0x70')][_0x2241('0xb')],_0x2939f7=_0x28099d[_0x2241('0x9c')]()[_0x2241('0x47')](_0x7a7f=>_0x7a7f['isInContent']&&_0x7a7f[_0x2241('0x70')]&&_0x7a7f[_0x2241('0x70')][_0x2241('0xb')]==_0x478e66);_0x2939f7[_0x2241('0x57')]&&_0x2bfd0e[_0x2241('0x4c')]()[_0x2241('0x57')]!=_0x2939f7[_0x2241('0x57')]&&_0x2939f7[_0x2241('0x53')]((_0x49e4e7,_0x2ee0cc)=>(_0x49e4e7['next']=_0x2ee0cc,_0x2ee0cc[_0x2241('0x1d')]=_0x49e4e7,_0x2ee0cc));};function _0x3f317a(_0x4767f6,_0x14db0c=!0x0){const {id:_0x38c862}=_0x28099d[_0x2241('0x1c')](_0x4767f6['markerName']),_0x71d456=[_0x2241('0x26'),_0x2241('0x3e')],_0x5e91dc=_0x28099d['activeMarkers'][_0x2241('0x3c')](_0x4767f6[_0x2241('0x33')]);return _0x5e91dc&&_0x71d456['push'](_0x2241('0x11')),{'classes':_0x71d456,'attributes':{'data-suggestion':_0x38c862},'priority':_0x5e91dc&&_0x14db0c?0xbc2:0xbb8};}_0x28099d['on'](_0x2241('0x7'),_0x438be2,{'priority':_0x2241('0x74')}),_0x28099d['on']('suggestionUnloaded',_0x438be2,{'priority':'high'}),_0x842824[_0x2241('0x62')][_0x2241('0x2')][_0x2241('0x78')](()=>{let _0x2008f3=!0x1;const _0x53b3e3=Array[_0x2241('0x16')](_0x842824['model'][_0x2241('0x2')][_0x2241('0x75')][_0x2241('0x52')]());for(const {name:_0x4cc838,data:_0x5cb1b3}of _0x53b3e3){const {group:_0x5aad29,type:_0x28bad3,id:_0x1a6fd7}=_0x28099d[_0x2241('0x1c')](_0x4cc838);if(_0x2241('0xa')!=_0x5aad29||_0x2241('0x80')!=_0x28bad3||_0x5cb1b3[_0x2241('0x59')])continue;if(!_0x28099d[_0x2241('0x31')](_0x1a6fd7))continue;const _0x18e5ef=_0x28099d[_0x2241('0x2d')](_0x1a6fd7)[_0x2241('0x96')](),_0x1c193b=_0x842824[_0x2241('0x1a')]['get'](_0x2241('0x76'))['me'];for(const _0x47d090 of _0x28099d[_0x2241('0x9c')]()){if(!_0x47d090['isInContent']||_0x47d090[_0x2241('0x4b')]!=_0x1c193b)continue;if(_0x2241('0x67')!=_0x47d090[_0x2241('0x40')]||_0x2241('0x94')!=_0x47d090['subType'])continue;if(_0x47d090[_0x2241('0x96')]()[_0x2241('0x1e')](_0x1049fc=>_0x18e5ef['some'](_0x2d16cf=>_0x2d16cf[_0x2241('0x7f')](_0x1049fc,!0x0))))for(const _0x38f51a of _0x47d090[_0x2241('0x4c')]())_0x38f51a[_0x2241('0x60')]&&(_0x38f51a[_0x2241('0x8')](),_0x2008f3=!0x0);}}return _0x2008f3;}),_0x842824['model']['document']['registerPostFixer'](_0x6070fb=>{const _0x2e1480=_0x842824[_0x2241('0x23')][_0x2241('0x3')](_0x2241('0x88'));if(!_0x2e1480||!_0x2e1480[_0x2241('0x4e')][_0x2241('0x17')](_0x6070fb[_0x2241('0x5a')]))return!0x1;let _0x5bc305=!0x1;const _0x101bdb=_0x842824[_0x2241('0x1a')]['get'](_0x2241('0x76'))['me'],_0x2188e0=_0x842824['model'][_0x2241('0x2')]['differ'][_0x2241('0x6e')](),_0x5aadf6=Array[_0x2241('0x16')](_0x842824['model'][_0x2241('0x2')][_0x2241('0x75')][_0x2241('0x52')]())[_0x2241('0x47')](({name:_0x4f930d,data:_0x8912e8})=>{const {group:_0x1389f2,subType:_0x184679,authorId:_0x6f8402}=_0x28099d[_0x2241('0x1c')](_0x4f930d);return _0x2241('0xa')==_0x1389f2&&_0x2241('0x36')==_0x184679&&_0x6f8402==_0x101bdb['id']&&!_0x8912e8[_0x2241('0x59')];});for(const _0x11a4ed of _0x2188e0){if(_0x2241('0x6d')!=_0x11a4ed[_0x2241('0x40')]||'tableCellSuggestion'!=_0x11a4ed['name']||0x1!=_0x11a4ed['length'])continue;const _0x480b38=_0x6070fb['createRange'](_0x11a4ed[_0x2241('0x92')],_0x11a4ed[_0x2241('0x92')]['getShiftedBy'](0x1));if(!_0x5aadf6[_0x2241('0x2c')](({data:_0x212f5f})=>_0x212f5f['newRange'][_0x2241('0x9d')](_0x480b38)))for(const {name:_0x42cf42,data:_0x5df467}of _0x5aadf6)if(_0x480b38[_0x2241('0x7f')](_0x5df467[_0x2241('0x13')])){_0x6070fb[_0x2241('0xd')](_0x42cf42,{'range':_0x480b38}),_0x5bc305=!0x0;break;}}return _0x5bc305;}),_0x842824[_0x2241('0x62')][_0x2241('0x2')]['registerPostFixer'](_0x3a0568=>{let _0x25d818=!0x1;const _0x1cbec9=_0x842824[_0x2241('0x1a')][_0x2241('0x3')]('Users')['me'],_0xf4a070=_0x28099d[_0x2241('0x9c')]()[_0x2241('0x47')](_0x242412=>_0x242412[_0x2241('0x60')]&&_0x242412[_0x2241('0x4b')]==_0x1cbec9),_0xbc0910=new Set(),_0x3fa578=new Set();for(const _0xcd902 of _0xf4a070)if(_0x2241('0x36')==_0xcd902[_0x2241('0x7e')])for(const _0x346a8b of _0xcd902[_0x2241('0x28')]()){const _0x3501a1=_0x346a8b[_0x2241('0x25')]()['getContainedElement']();if(_0x3501a1){if(_0x3501a1['is'](_0x2241('0x2f'),'tableCellSuggestion')&&ce(_0x3501a1)){_0xcd902['removeMarker'](_0x346a8b[_0x2241('0xe')]),_0xbc0910[_0x2241('0x29')](_0x3501a1),_0x25d818=!0x0;const _0x335b43=_0x3501a1['nextSibling'],_0x2ed906=_0x3501a1[_0x2241('0x7a')],_0x4a7450=_0x335b43&&_0x335b43['is'](_0x2241('0x2f'),'tableCellSuggestion'),_0x31527e=_0x2ed906&&_0x2ed906['is'](_0x2241('0x2f'),_0x2241('0x21'));_0x4a7450&&!_0xbc0910[_0x2241('0x17')](_0x335b43)&&_0x3fa578[_0x2241('0x29')](_0x335b43),_0x31527e&&!_0xbc0910['has'](_0x2ed906)&&_0x3fa578[_0x2241('0x29')](_0x2ed906);}else _0x3501a1['is'](_0x2241('0x2f'),_0x2241('0x83'))&&_0x3501a1['isEmpty']&&(_0xcd902[_0x2241('0x8c')](_0x346a8b[_0x2241('0xe')]),_0x25d818=!0x0);}}else{if('tablePasteCell'==_0xcd902[_0x2241('0x7e')]){if(!_0xcd902[_0x2241('0x70')]||!_0xcd902[_0x2241('0x70')][_0x2241('0xb')])continue;const _0x14a26f=_0xcd902[_0x2241('0x70')][_0x2241('0x81')];if(_0x14a26f&&Object[_0x2241('0x0')](_0x14a26f)[_0x2241('0x57')])continue;const _0x3aa114=_0xcd902[_0x2241('0x70')][_0x2241('0xb')];let _0x1b4726=!0x0,_0xf81440=!0x0;for(const _0x391a86 of _0xf4a070)if(_0x391a86[_0x2241('0x7e')]&&_0x391a86[_0x2241('0x7e')]['startsWith'](_0x2241('0x36'))){if(!_0x391a86[_0x2241('0x70')]['tablePasteChainId']){_0xf81440=!0x1;break;}if(_0x391a86['id']!=_0xcd902['id']&&_0x391a86[_0x2241('0x70')][_0x2241('0xb')]==_0x3aa114){_0x1b4726=!0x1;break;}}_0xf81440&&_0x1b4726&&(_0xcd902[_0x2241('0x37')](),_0x25d818=!0x0);}}for(const _0xfecd51 of _0xbc0910)_0x3a0568[_0x2241('0x35')](_0xfecd51);for(const _0x1aa3fb of _0x3fa578)_0x3a0568[_0x2241('0x9a')](_0x1aa3fb);return _0x25d818;}),_0x842824[_0x2241('0x6f')][_0x2241('0x14')](_0x2241('0x77'))[_0x2241('0x9b')]({'model':_0x2241('0x4'),'view':(_0x15b8ac,_0x2e348a)=>_0x3f317a(_0x15b8ac),'converterPriority':'high'}),_0x842824[_0x2241('0x6f')][_0x2241('0x14')](_0x2241('0x2b'))[_0x2241('0x9b')]({'model':_0x2241('0x4'),'view':(_0x366828,_0x5aba1a)=>_0x5aba1a[_0x2241('0x5e')]['showSuggestionHighlights']?_0x3f317a(_0x366828,!0x1):null,'converterPriority':_0x2241('0x74')});const _0x55a26a=_0x842824[_0x2241('0x20')]['view'];this['listenTo'](_0x55a26a[_0x2241('0x2')],'clipboardOutput',(_0x5a5903,_0xafa6c3)=>{const _0x5d7471=[];for(const _0x656c82 of _0x55a26a[_0x2241('0x61')](_0xafa6c3[_0x2241('0xf')])['getItems']())_0x656c82['is'](_0x2241('0x2f'),_0x2241('0x7d'))&&_0x5d7471[_0x2241('0x55')](_0x656c82);_0x55a26a[_0x2241('0x51')](_0x46e8c6=>{for(const _0x56133e of _0x5d7471)_0x46e8c6[_0x2241('0x56')](_0x46e8c6['createRangeIn'](_0x56133e),_0x46e8c6['createPositionBefore'](_0x56133e)),_0x46e8c6['remove'](_0x56133e);});});}}function ce(_0x459e23){if(_0x459e23[_0x2241('0x45')])return!0x0;const _0x328149=_0x459e23[_0x2241('0x46')](0x0);return _0x328149['is']('element',_0x2241('0x83'))&&_0x328149[_0x2241('0x45')];}function fe(_0x1071e8,_0x29640f={},_0x559c2a){for(const {isAnchor:_0x2a66b4,cellHeight:_0x35c3f6,cellWidth:_0x28ff9f}of _0x559c2a[_0x2241('0x4a')](_0x1071e8,{'includeAllSlots':!0x0,..._0x29640f}))if(!_0x2a66b4||0x1!=_0x35c3f6||0x1!=_0x28ff9f)return!0x1;return!0x0;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x25dc=['has','tableWidth','handleResizeTableWidthCommand','bind','getAttribute','data','selection','get','registerDescriptionCallback','model','formatBlock','TableColumnResizeEditing','Users','getTableColumnsWidths','editor','handleSuggestionDescription','enableCommand','_suggestionFactory','getSelectedElement','plugins','format','accept','document','registerCustomCallback','formatGroupId','resizeTable','TrackChangesEditing','resizeColumnWidths','locale','discard','*Format:*\x20resize\x20table','getSuggestionCallback','afterInit','_descriptionFactory','resizeTableWidth','commandParams','author'];(function(_0x213bf4,_0x25dc4e){const _0xdc1270=function(_0x18b1a6){while(--_0x18b1a6){_0x213bf4['push'](_0x213bf4['shift']());}};_0xdc1270(++_0x25dc4e);}(_0x25dc,0xef));const _0xdc12=function(_0x213bf4,_0x25dc4e){_0x213bf4=_0x213bf4-0x0;let _0xdc1270=_0x25dc[_0x213bf4];return _0xdc1270;};import{Plugin as _0x2709e5}from'ckeditor5/src/core';import{getTranslation as _0x5009b0}from'../utils/common-translations';export default class yt extends _0x2709e5{[_0xdc12('0xf')](){if(!this[_0xdc12('0x22')][_0xdc12('0x2')][_0xdc12('0x14')](_0xdc12('0x1f')))return;const _0x4d415c=this[_0xdc12('0x22')][_0xdc12('0x2')][_0xdc12('0x1b')](_0xdc12('0x9'));_0x4d415c[_0xdc12('0x24')](_0xdc12('0x11'),this[_0xdc12('0x16')][_0xdc12('0x17')](this)),_0x4d415c[_0xdc12('0x24')](_0xdc12('0xa'),this[_0xdc12('0x16')][_0xdc12('0x17')](this)),_0x4d415c[_0xdc12('0x0')][_0xdc12('0x6')](_0xdc12('0x1e'),'resizeTable',_0xdc12('0x4'),_0x4d415c[_0xdc12('0x0')][_0xdc12('0xe')]('formatBlock',null,_0xdc12('0xc'))),_0x4d415c[_0xdc12('0x0')]['registerCustomCallback'](_0xdc12('0x1e'),_0xdc12('0x8'),_0xdc12('0xc'),_0x4d415c[_0xdc12('0x0')][_0xdc12('0xe')](_0xdc12('0x1e'),null,_0xdc12('0x4'))),_0x4d415c[_0xdc12('0x10')][_0xdc12('0x1c')](this[_0xdc12('0x23')][_0xdc12('0x17')](this));}[_0xdc12('0x16')](_0x1f3e98,_0x407243){const _0x434dff=this[_0xdc12('0x22')][_0xdc12('0x2')][_0xdc12('0x1b')](_0xdc12('0x9')),_0x3873d7=this[_0xdc12('0x22')][_0xdc12('0x2')]['get'](_0xdc12('0x1f')),_0x23a5ad=_0x407243['table']||this['editor'][_0xdc12('0x1d')][_0xdc12('0x5')][_0xdc12('0x1a')][_0xdc12('0x1')]();this['editor']['model']['change'](()=>{const _0x5b9d39=_0x3873d7['getColumnGroupElement'](_0x23a5ad);let _0x3e79ec=_0x5b9d39?_0x3873d7[_0xdc12('0x21')](_0x5b9d39):null,_0xd8ce6a=_0x23a5ad[_0xdc12('0x18')]('tableWidth')||null;const _0x5c3786=_0x407243[_0xdc12('0x15')]||_0xd8ce6a,_0x11f8d2=_0x407243['columnWidths']||_0x3e79ec,_0x4a7f99=this['editor'][_0xdc12('0x2')][_0xdc12('0x1b')](_0xdc12('0x20'))['me'];for(const _0x9a5374 of _0x434dff['getSuggestions']()){const _0xd29f30=_0x9a5374['getContainedElement']();if(_0xdc12('0x8')===_0x9a5374['subType']&&_0xd29f30===_0x23a5ad){_0x9a5374[_0xdc12('0x13')]!==_0x4a7f99&&_0x9a5374[_0xdc12('0xc')]();const _0x17a550=_0x9a5374[_0xdc12('0x19')][_0xdc12('0x12')];_0xd8ce6a=_0x17a550[0x0][_0xdc12('0x15')],_0x3e79ec=_0x17a550[0x0]['columnWidths'];break;}}_0x1f3e98({'table':_0x23a5ad,'tableWidth':_0x5c3786,'columnWidths':_0x11f8d2}),_0x434dff['markBlockFormat'](_0x23a5ad,{'commandName':_0xdc12('0x11'),'commandParams':[{'tableWidth':_0xd8ce6a,'columnWidths':_0x3e79ec}],'formatGroupId':'resizeTable'},[],'resizeTable');});}[_0xdc12('0x23')](_0x3d6d21){const {data:_0x2452f4}=_0x3d6d21;if(_0x2452f4&&_0xdc12('0x8')===_0x2452f4[_0xdc12('0x7')]){const _0x5b06a9=_0xdc12('0xd');return{'type':_0xdc12('0x3'),'content':_0x5009b0(this[_0xdc12('0x22')][_0xdc12('0xb')],_0x5b06a9)};}}}
23
+ const _0x929c=['getAttribute','afterInit','_descriptionFactory','handleSuggestionDescription','model','data','TableColumnResizeEditing','markBlockFormat','table','editor','subType','_suggestionFactory','Users','formatGroupId','enableCommand','getSelectedElement','registerDescriptionCallback','registerCustomCallback','change','resizeTable','selection','accept','getContainedElement','formatBlock','getTableColumnsWidths','plugins','get','resizeColumnWidths','document','columnWidths','bind','handleResizeTableWidthCommand','format','TrackChangesEditing','*Format:*\x20resize\x20table','tableWidth','discard','author'];(function(_0x3a6e70,_0x929c22){const _0x10bb7a=function(_0xa5df31){while(--_0xa5df31){_0x3a6e70['push'](_0x3a6e70['shift']());}};_0x10bb7a(++_0x929c22);}(_0x929c,0x159));const _0x10bb=function(_0x3a6e70,_0x929c22){_0x3a6e70=_0x3a6e70-0x0;let _0x10bb7a=_0x929c[_0x3a6e70];return _0x10bb7a;};import{Plugin as _0x26fd05}from'ckeditor5/src/core';import{getTranslation as _0x2cb866}from'../utils/common-translations';export default class yt extends _0x26fd05{[_0x10bb('0x24')](){if(!this[_0x10bb('0x6')][_0x10bb('0x16')]['has'](_0x10bb('0x3')))return;const _0x1234de=this[_0x10bb('0x6')][_0x10bb('0x16')][_0x10bb('0x17')](_0x10bb('0x1e'));_0x1234de[_0x10bb('0xb')]('resizeTableWidth',this[_0x10bb('0x1c')][_0x10bb('0x1b')](this)),_0x1234de['enableCommand'](_0x10bb('0x18'),this[_0x10bb('0x1c')][_0x10bb('0x1b')](this)),_0x1234de['_suggestionFactory'][_0x10bb('0xe')](_0x10bb('0x14'),'resizeTable','accept',_0x1234de[_0x10bb('0x8')]['getSuggestionCallback'](_0x10bb('0x14'),null,_0x10bb('0x21'))),_0x1234de['_suggestionFactory'][_0x10bb('0xe')](_0x10bb('0x14'),'resizeTable','discard',_0x1234de[_0x10bb('0x8')]['getSuggestionCallback'](_0x10bb('0x14'),null,_0x10bb('0x12'))),_0x1234de[_0x10bb('0x25')][_0x10bb('0xd')](this['handleSuggestionDescription'][_0x10bb('0x1b')](this));}['handleResizeTableWidthCommand'](_0x5b363c,_0xe428a2){const _0x4180aa=this['editor']['plugins'][_0x10bb('0x17')](_0x10bb('0x1e')),_0x41dd1a=this[_0x10bb('0x6')][_0x10bb('0x16')]['get'](_0x10bb('0x3')),_0x456ed6=_0xe428a2[_0x10bb('0x5')]||this[_0x10bb('0x6')][_0x10bb('0x1')][_0x10bb('0x19')][_0x10bb('0x11')][_0x10bb('0xc')]();this[_0x10bb('0x6')]['model'][_0x10bb('0xf')](()=>{const _0x5cf620=_0x41dd1a['getColumnGroupElement'](_0x456ed6);let _0x552962=_0x5cf620?_0x41dd1a[_0x10bb('0x15')](_0x5cf620):null,_0x1d52d7=_0x456ed6[_0x10bb('0x23')](_0x10bb('0x20'))||null;const _0xb9bec1=_0xe428a2['tableWidth']||_0x1d52d7,_0x205942=_0xe428a2[_0x10bb('0x1a')]||_0x552962,_0x38010c=this[_0x10bb('0x6')][_0x10bb('0x16')][_0x10bb('0x17')](_0x10bb('0x9'))['me'];for(const _0x14a61e of _0x4180aa['getSuggestions']()){const _0x3acfda=_0x14a61e[_0x10bb('0x13')]();if(_0x10bb('0x10')===_0x14a61e[_0x10bb('0x7')]&&_0x3acfda===_0x456ed6){_0x14a61e[_0x10bb('0x22')]!==_0x38010c&&_0x14a61e['discard']();const _0x1106ba=_0x14a61e[_0x10bb('0x2')]['commandParams'];_0x1d52d7=_0x1106ba[0x0][_0x10bb('0x20')],_0x552962=_0x1106ba[0x0]['columnWidths'];break;}}_0x5b363c({'table':_0x456ed6,'tableWidth':_0xb9bec1,'columnWidths':_0x205942}),_0x4180aa[_0x10bb('0x4')](_0x456ed6,{'commandName':'resizeTableWidth','commandParams':[{'tableWidth':_0x1d52d7,'columnWidths':_0x552962}],'formatGroupId':'resizeTable'},[],_0x10bb('0x10'));});}[_0x10bb('0x0')](_0x32ddf4){const {data:_0x43b871}=_0x32ddf4;if(_0x43b871&&_0x10bb('0x10')===_0x43b871[_0x10bb('0xa')]){const _0x19ced6=_0x10bb('0x1f');return{'type':_0x10bb('0x1d'),'content':_0x2cb866(this['editor']['locale'],_0x19ced6)};}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xbdb7=['markBlockFormat','createRange','writer','data','TableUtils','_suggestionFactory','consumable','editing','commandName','item','TrackChangesEditing','index','mapper','enableCommand','change','requires','createPositionBefore','removeMarker:suggestion','first','setAttribute','removeAttribute','table','document','getColumnIndexes','*Format:*\x20%0','ck-suggestion-marker--active','getSuggestion','accept','getSelectionAffectedTableCells','createPositionAfter','forceValue','_splitMarkerName','removeClass','headingColumns','editor','markerName','getCellLocation','data-suggestion','getRowIndexes','model','afterInit','get','FORMAT_REGULAR_ROW','_descriptionFactory','activeMarkers','locale','unbindElementFromMarkerName','end','setTableRowHeader','ck-suggestion-marker-','nodeAfter','childCount','createTableWalker','nodeBefore','getChild','addMarker:suggestion','has','highest','cell','last','setTableColumnHeader','name','value','showSuggestionHighlights','findAncestor','parent','format','FORMAT_HEADER_COLUMN','registerDescriptionCallback','getAttribute','markerRange','addClass','formatBlock','TableEditing','downcastDispatcher','plugins','FORMAT_REGULAR_COLUMN'];(function(_0x842dc8,_0xbdb7e4){const _0x11684d=function(_0x5cbd3e){while(--_0x5cbd3e){_0x842dc8['push'](_0x842dc8['shift']());}};_0x11684d(++_0xbdb7e4);}(_0xbdb7,0x86));const _0x1168=function(_0x842dc8,_0xbdb7e4){_0x842dc8=_0x842dc8-0x0;let _0x11684d=_0xbdb7[_0x842dc8];return _0x11684d;};import{Plugin as _0x53f684}from'ckeditor5/src/core';import _0x2b1126 from'./table';import{getTranslation as _0x1044ed}from'../utils/common-translations';export default class kt extends _0x53f684{static get[_0x1168('0x23')](){return[_0x2b1126];}[_0x1168('0x3c')](){const _0x520fed=this[_0x1168('0x36')];if(!_0x520fed[_0x1168('0x12')][_0x1168('0x4c')](_0x1168('0x10')))return;const _0x3ebb64=_0x520fed[_0x1168('0x41')],_0x3e0e26=_0x520fed[_0x1168('0x12')][_0x1168('0x3d')](_0x1168('0x1e')),_0x522f93=_0x520fed[_0x1168('0x12')][_0x1168('0x3d')](_0x1168('0x18')),_0x2153fb=_0x520fed[_0x1168('0x12')][_0x1168('0x3d')](_0x2b1126);function _0x3c9c3c({showActiveMarker:_0x4bbf6c=!0x0,setDataAttribute:_0x4d3682=!0x0}={}){return(_0x5c7736,_0x4021ef,_0x4da16e)=>{const {type:_0x2fed94,id:_0xd2a3e3}=_0x3e0e26[_0x1168('0x33')](_0x4021ef[_0x1168('0x37')]),_0x144d57=_0x3e0e26[_0x1168('0x2e')](_0xd2a3e3);if(!_0x144d57[_0x1168('0x17')]||'setTableColumnHeader'!=_0x144d57['data'][_0x1168('0x1c')])return;if(_0x4021ef[_0x1168('0x1d')])return void _0x5c7736['stop']();if(!_0x4da16e[_0x1168('0x1a')]['consume'](_0x4021ef['markerRange'],_0x5c7736[_0x1168('0x4')]))return;const _0x55c97a=_0x4021ef[_0x1168('0xd')]['start'][_0x1168('0x46')],_0x218217=_0x4021ef[_0x1168('0xd')][_0x1168('0x43')][_0x1168('0x49')],_0x5dd5dd=_0x55c97a[_0x1168('0x8')][_0x1168('0x8')],{column:_0x3014fb}=_0x522f93[_0x1168('0x38')](_0x55c97a),{column:_0x5880ed}=_0x522f93[_0x1168('0x38')](_0x218217);for(let _0x2769f5=_0x3014fb;_0x2769f5<=_0x5880ed;_0x2769f5++){const _0x5e58cf=_0x522f93[_0x1168('0x48')](_0x5dd5dd,{'column':_0x2769f5,'includeAllSlots':!0x1});for(const _0x3bb165 of _0x5e58cf){const _0x2b6cd9=_0x3bb165[_0x1168('0x1')],_0x53a995=_0x4da16e[_0x1168('0x20')]['toViewElement'](_0x2b6cd9);_0x4da16e[_0x1168('0x16')][_0x1168('0xe')]('ck-suggestion-marker-'+_0x2fed94,_0x53a995),_0x4d3682&&_0x4da16e[_0x1168('0x16')][_0x1168('0x27')]('data-suggestion',_0xd2a3e3,_0x53a995),_0x4da16e[_0x1168('0x20')]['bindElementToMarker'](_0x53a995,_0x4021ef['markerName']),_0x4bbf6c&&(_0x3e0e26[_0x1168('0x40')]['includes'](_0x4021ef[_0x1168('0x37')])?_0x4da16e[_0x1168('0x16')][_0x1168('0xe')](_0x1168('0x2d'),_0x53a995):_0x4da16e[_0x1168('0x16')][_0x1168('0x34')](_0x1168('0x2d'),_0x53a995));}}};}_0x3e0e26[_0x1168('0x21')](_0x1168('0x44'),(_0x2d6ef9,_0x480de3)=>{const _0x3ecc03=_0x522f93[_0x1168('0x30')](_0x520fed[_0x1168('0x3b')][_0x1168('0x2a')]['selection']),_0xfe42e1=_0x522f93[_0x1168('0x3a')](_0x3ecc03),_0x1f8e06=_0x3ecc03[0x0][_0x1168('0x7')](_0x1168('0x29')),_0x468476=_0x1f8e06[_0x1168('0xc')]('headingRows')||0x0,_0x2c1e53=_0x480de3&&null!==_0x480de3['forceValue']?_0x480de3[_0x1168('0x32')]:!_0x520fed['commands'][_0x1168('0x3d')](_0x1168('0x44'))[_0x1168('0x5')],_0x12da37=_0x2c1e53?_0xfe42e1[_0x1168('0x2')]:_0xfe42e1[_0x1168('0x26')],_0x4ea68e=_0x1f8e06[_0x1168('0x4a')](_0x12da37);let _0x38d63b;if(_0x2c1e53){const _0x320c3c=_0x1f8e06[_0x1168('0x4a')](_0x468476);if(_0x4ea68e[_0x1168('0x1f')]<_0x320c3c[_0x1168('0x1f')])return;_0x38d63b=_0x520fed[_0x1168('0x3b')][_0x1168('0x15')](_0x520fed[_0x1168('0x3b')][_0x1168('0x24')](_0x320c3c[_0x1168('0x4a')](0x0)),_0x520fed['model'][_0x1168('0x31')](_0x4ea68e[_0x1168('0x4a')](_0x4ea68e[_0x1168('0x47')]-0x1)));}else{const _0x4fe636=_0x1f8e06[_0x1168('0x4a')](_0x468476-0x1);if(!_0x4fe636)return;_0x38d63b=_0x520fed[_0x1168('0x3b')][_0x1168('0x15')](_0x520fed[_0x1168('0x3b')]['createPositionBefore'](_0x4ea68e[_0x1168('0x4a')](0x0)),_0x520fed[_0x1168('0x3b')]['createPositionAfter'](_0x4fe636[_0x1168('0x4a')](_0x4fe636[_0x1168('0x47')]-0x1)));}_0x520fed[_0x1168('0x3b')][_0x1168('0x22')](()=>{_0x3e0e26['markBlockFormat'](_0x38d63b,{'commandName':'setTableRowHeader','commandParams':[{'forceValue':_0x2c1e53}]},[],_0x1168('0x44'));});}),_0x3e0e26[_0x1168('0x21')](_0x1168('0x3'),(_0x3dccf4,_0x1c0f22)=>{const _0x3880d2=_0x520fed['plugins'][_0x1168('0x3d')](_0x1168('0x18')),_0x1aee86=_0x3880d2[_0x1168('0x30')](_0x520fed[_0x1168('0x3b')]['document']['selection']),_0x42328b=_0x3880d2[_0x1168('0x2b')](_0x1aee86),_0x3d7951=_0x1aee86[0x0]['findAncestor']('table'),_0x51d067=_0x3d7951['getAttribute'](_0x1168('0x35'))||0x0,_0x1fdb84=_0x1c0f22&&null!==_0x1c0f22['forceValue']?_0x1c0f22[_0x1168('0x32')]:!_0x520fed['commands'][_0x1168('0x3d')]('setTableColumnHeader')[_0x1168('0x5')];let _0x2aca98;const _0x108241=_0x3d7951['getChild'](0x0),_0x3d5c61=_0x1fdb84?_0x42328b[_0x1168('0x2')]:_0x42328b[_0x1168('0x26')],_0x28ac95=_0x3880d2[_0x1168('0x48')](_0x3d7951,{'startRow':0x0,'column':_0x3d5c61,'includeAllSlots':!0x1}),_0x598bb3=Array['from'](_0x28ac95)[0x0][_0x1168('0x1')];if(_0x1fdb84){const _0xaac654=_0x108241['getChild'](_0x51d067);if(_0x598bb3['isBefore'](_0xaac654))return;_0x2aca98=_0x520fed[_0x1168('0x3b')][_0x1168('0x15')](_0x520fed[_0x1168('0x3b')][_0x1168('0x24')](_0xaac654),_0x520fed[_0x1168('0x3b')][_0x1168('0x31')](_0x598bb3));}else{const _0x2c0434=_0x108241[_0x1168('0x4a')](_0x51d067-0x1);if(!_0x2c0434)return;_0x2aca98=_0x520fed[_0x1168('0x3b')][_0x1168('0x15')](_0x520fed[_0x1168('0x3b')][_0x1168('0x24')](_0x598bb3),_0x520fed[_0x1168('0x3b')]['createPositionAfter'](_0x2c0434));}_0x520fed[_0x1168('0x3b')][_0x1168('0x22')](()=>{_0x3e0e26[_0x1168('0x14')](_0x2aca98,{'commandName':_0x1168('0x3'),'commandParams':[{'forceValue':_0x1fdb84}]},[],_0x1168('0x3'));});}),_0x520fed[_0x1168('0x1b')][_0x1168('0x11')]['on']('addMarker:suggestion',_0x3c9c3c(),{'priority':_0x1168('0x0')}),_0x520fed[_0x1168('0x17')]['downcastDispatcher']['on'](_0x1168('0x4b'),(_0x447854,_0x348c86,_0x371dd8)=>{_0x371dd8['options'][_0x1168('0x6')]&&_0x3c9c3c({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x447854,_0x348c86,_0x371dd8);},{'priority':_0x1168('0x0')}),_0x520fed['editing'][_0x1168('0x11')]['on'](_0x1168('0x25'),(_0x255e7b,_0x3e2a76,_0x869b6d)=>{const {type:_0x741e8f,id:_0x3175bb}=_0x3e0e26[_0x1168('0x33')](_0x3e2a76[_0x1168('0x37')]),_0x2f255b=_0x3e0e26[_0x1168('0x2e')](_0x3175bb);if(!_0x2f255b[_0x1168('0x17')]||'setTableColumnHeader'!=_0x2f255b[_0x1168('0x17')][_0x1168('0x1c')])return;const _0x413634=_0x869b6d[_0x1168('0x20')]['markerNameToElements'](_0x3e2a76[_0x1168('0x37')]);if(_0x413634)for(const _0x30796f of _0x413634)_0x869b6d[_0x1168('0x16')][_0x1168('0x34')](_0x1168('0x45')+_0x741e8f,_0x30796f),_0x869b6d['writer'][_0x1168('0x34')]('ck-suggestion-marker--active',_0x30796f),_0x869b6d[_0x1168('0x16')][_0x1168('0x28')](_0x1168('0x39'),_0x30796f),_0x869b6d[_0x1168('0x20')][_0x1168('0x42')](_0x30796f,_0x3e2a76[_0x1168('0x37')]);},{'priority':_0x1168('0x0')}),_0x3e0e26[_0x1168('0x3f')][_0x1168('0xb')](_0x1a3d50=>{const {data:_0x3c2251}=_0x1a3d50;if(_0x3c2251){if(_0x1168('0x44')==_0x3c2251['commandName']){const _0xd8ce72=_0x3c2251['commandParams'][0x0][_0x1168('0x32')];return _0x40720d(_0x1044ed(_0x3ebb64,_0xd8ce72?'FORMAT_HEADER_ROW':_0x1168('0x3e')));}if(_0x1168('0x3')==_0x3c2251[_0x1168('0x1c')]){const _0x17072a=_0x3c2251['commandParams'][0x0][_0x1168('0x32')];return _0x40720d(_0x1044ed(_0x3ebb64,_0x17072a?_0x1168('0xa'):_0x1168('0x13')));}}function _0x40720d(_0x433bb6){return{'type':_0x1168('0x9'),'content':_0x1044ed(_0x3ebb64,_0x1168('0x2c'),_0x433bb6)};}});const _0x470a1f=_0x2153fb['_acceptFormatSuggestionCallbackFactory']();_0x3e0e26[_0x1168('0x19')]['registerCustomCallback'](_0x1168('0xf'),_0x1168('0x44'),_0x1168('0x2f'),_0x470a1f),_0x3e0e26[_0x1168('0x19')]['registerCustomCallback'](_0x1168('0xf'),_0x1168('0x3'),_0x1168('0x2f'),_0x470a1f);}}
23
+ const _0x4afd=['forceValue','getAttribute','setAttribute','removeMarker:suggestion','stop','FORMAT_REGULAR_COLUMN','addMarker:suggestion','_splitMarkerName','format','locale','unbindElementFromMarkerName','consume','options','createPositionAfter','requires','consumable','from','selection','setTableRowHeader','ck-suggestion-marker--active','commandName','formatBlock','get','cell','end','createTableWalker','bindElementToMarker','addClass','model','plugins','isBefore','createRange','table','data-suggestion','has','getSuggestion','removeClass','headingColumns','registerDescriptionCallback','*Format:*\x20%0','childCount','commandParams','mapper','editor','markerNameToElements','activeMarkers','editing','index','getColumnIndexes','downcastDispatcher','FORMAT_HEADER_ROW','value','start','afterInit','setTableColumnHeader','registerCustomCallback','findAncestor','writer','parent','highest','commands','_suggestionFactory','getChild','markerName','document','headingRows','enableCommand','accept','change','createPositionBefore','last','first','name','getSelectionAffectedTableCells','toViewElement','getCellLocation','markerRange','data','TableEditing','FORMAT_HEADER_COLUMN','item'];(function(_0x24d11e,_0x4afd5b){const _0x58e759=function(_0x64b51){while(--_0x64b51){_0x24d11e['push'](_0x24d11e['shift']());}};_0x58e759(++_0x4afd5b);}(_0x4afd,0xfe));const _0x58e7=function(_0x24d11e,_0x4afd5b){_0x24d11e=_0x24d11e-0x0;let _0x58e759=_0x4afd[_0x24d11e];return _0x58e759;};import{Plugin as _0x234a16}from'ckeditor5/src/core';import _0x543033 from'./table';import{getTranslation as _0x30d96f}from'../utils/common-translations';export default class kt extends _0x234a16{static get[_0x58e7('0x3')](){return[_0x543033];}[_0x58e7('0x2a')](){const _0xe2777c=this[_0x58e7('0x20')];if(!_0xe2777c[_0x58e7('0x12')][_0x58e7('0x17')](_0x58e7('0x43')))return;const _0x26d997=_0xe2777c[_0x58e7('0x4f')],_0x56de6a=_0xe2777c[_0x58e7('0x12')]['get']('TrackChangesEditing'),_0xf06441=_0xe2777c[_0x58e7('0x12')]['get']('TableUtils'),_0x42328c=_0xe2777c[_0x58e7('0x12')][_0x58e7('0xb')](_0x543033);function _0x5617a3({showActiveMarker:_0x41089e=!0x0,setDataAttribute:_0x5728e2=!0x0}={}){return(_0x2c5352,_0x36fc4b,_0x3fd8a9)=>{const {type:_0x59f8eb,id:_0x5c6e6a}=_0x56de6a[_0x58e7('0x4d')](_0x36fc4b[_0x58e7('0x34')]),_0x774011=_0x56de6a[_0x58e7('0x18')](_0x5c6e6a);if(!_0x774011[_0x58e7('0x42')]||'setTableColumnHeader'!=_0x774011['data'][_0x58e7('0x9')])return;if(_0x36fc4b[_0x58e7('0x45')])return void _0x2c5352[_0x58e7('0x4a')]();if(!_0x3fd8a9[_0x58e7('0x4')][_0x58e7('0x0')](_0x36fc4b[_0x58e7('0x41')],_0x2c5352[_0x58e7('0x3d')]))return;const _0x339849=_0x36fc4b[_0x58e7('0x41')][_0x58e7('0x29')]['nodeAfter'],_0x2e3d17=_0x36fc4b[_0x58e7('0x41')][_0x58e7('0xd')]['nodeBefore'],_0x1ce2d7=_0x339849[_0x58e7('0x2f')][_0x58e7('0x2f')],{column:_0x3c6890}=_0xf06441[_0x58e7('0x40')](_0x339849),{column:_0xaf61cb}=_0xf06441[_0x58e7('0x40')](_0x2e3d17);for(let _0x424507=_0x3c6890;_0x424507<=_0xaf61cb;_0x424507++){const _0x3ff5f5=_0xf06441[_0x58e7('0xe')](_0x1ce2d7,{'column':_0x424507,'includeAllSlots':!0x1});for(const _0x1eacd8 of _0x3ff5f5){const _0x28f6c0=_0x1eacd8[_0x58e7('0xc')],_0x305d81=_0x3fd8a9['mapper'][_0x58e7('0x3f')](_0x28f6c0);_0x3fd8a9['writer'][_0x58e7('0x10')]('ck-suggestion-marker-'+_0x59f8eb,_0x305d81),_0x5728e2&&_0x3fd8a9[_0x58e7('0x2e')][_0x58e7('0x48')](_0x58e7('0x16'),_0x5c6e6a,_0x305d81),_0x3fd8a9[_0x58e7('0x1f')][_0x58e7('0xf')](_0x305d81,_0x36fc4b[_0x58e7('0x34')]),_0x41089e&&(_0x56de6a[_0x58e7('0x22')]['includes'](_0x36fc4b['markerName'])?_0x3fd8a9[_0x58e7('0x2e')][_0x58e7('0x10')](_0x58e7('0x8'),_0x305d81):_0x3fd8a9['writer']['removeClass'](_0x58e7('0x8'),_0x305d81));}}};}_0x56de6a[_0x58e7('0x37')](_0x58e7('0x7'),(_0x34e7fb,_0x197e06)=>{const _0x1908b8=_0xf06441[_0x58e7('0x3e')](_0xe2777c['model'][_0x58e7('0x35')][_0x58e7('0x6')]),_0x1ed98c=_0xf06441['getRowIndexes'](_0x1908b8),_0x276996=_0x1908b8[0x0][_0x58e7('0x2d')](_0x58e7('0x15')),_0x3781d3=_0x276996['getAttribute'](_0x58e7('0x36'))||0x0,_0x596beb=_0x197e06&&null!==_0x197e06[_0x58e7('0x46')]?_0x197e06[_0x58e7('0x46')]:!_0xe2777c[_0x58e7('0x31')][_0x58e7('0xb')](_0x58e7('0x7'))[_0x58e7('0x28')],_0x392aab=_0x596beb?_0x1ed98c[_0x58e7('0x3b')]:_0x1ed98c[_0x58e7('0x3c')],_0x277214=_0x276996['getChild'](_0x392aab);let _0x1d6651;if(_0x596beb){const _0x27e36e=_0x276996[_0x58e7('0x33')](_0x3781d3);if(_0x277214[_0x58e7('0x24')]<_0x27e36e[_0x58e7('0x24')])return;_0x1d6651=_0xe2777c[_0x58e7('0x11')]['createRange'](_0xe2777c[_0x58e7('0x11')][_0x58e7('0x3a')](_0x27e36e[_0x58e7('0x33')](0x0)),_0xe2777c[_0x58e7('0x11')]['createPositionAfter'](_0x277214[_0x58e7('0x33')](_0x277214[_0x58e7('0x1d')]-0x1)));}else{const _0x41522b=_0x276996[_0x58e7('0x33')](_0x3781d3-0x1);if(!_0x41522b)return;_0x1d6651=_0xe2777c[_0x58e7('0x11')]['createRange'](_0xe2777c[_0x58e7('0x11')]['createPositionBefore'](_0x277214[_0x58e7('0x33')](0x0)),_0xe2777c[_0x58e7('0x11')][_0x58e7('0x2')](_0x41522b['getChild'](_0x41522b[_0x58e7('0x1d')]-0x1)));}_0xe2777c[_0x58e7('0x11')][_0x58e7('0x39')](()=>{_0x56de6a['markBlockFormat'](_0x1d6651,{'commandName':_0x58e7('0x7'),'commandParams':[{'forceValue':_0x596beb}]},[],_0x58e7('0x7'));});}),_0x56de6a[_0x58e7('0x37')](_0x58e7('0x2b'),(_0x575e03,_0x597046)=>{const _0x290be3=_0xe2777c[_0x58e7('0x12')][_0x58e7('0xb')]('TableUtils'),_0x5e5d27=_0x290be3[_0x58e7('0x3e')](_0xe2777c[_0x58e7('0x11')][_0x58e7('0x35')][_0x58e7('0x6')]),_0x21616c=_0x290be3[_0x58e7('0x25')](_0x5e5d27),_0x5268fd=_0x5e5d27[0x0]['findAncestor'](_0x58e7('0x15')),_0x196752=_0x5268fd[_0x58e7('0x47')](_0x58e7('0x1a'))||0x0,_0x477a2d=_0x597046&&null!==_0x597046[_0x58e7('0x46')]?_0x597046['forceValue']:!_0xe2777c[_0x58e7('0x31')][_0x58e7('0xb')]('setTableColumnHeader')[_0x58e7('0x28')];let _0xf824ad;const _0x10d73d=_0x5268fd['getChild'](0x0),_0x2f9ba9=_0x477a2d?_0x21616c[_0x58e7('0x3b')]:_0x21616c[_0x58e7('0x3c')],_0x2018f3=_0x290be3[_0x58e7('0xe')](_0x5268fd,{'startRow':0x0,'column':_0x2f9ba9,'includeAllSlots':!0x1}),_0x351223=Array[_0x58e7('0x5')](_0x2018f3)[0x0][_0x58e7('0xc')];if(_0x477a2d){const _0x44c11a=_0x10d73d[_0x58e7('0x33')](_0x196752);if(_0x351223[_0x58e7('0x13')](_0x44c11a))return;_0xf824ad=_0xe2777c[_0x58e7('0x11')][_0x58e7('0x14')](_0xe2777c[_0x58e7('0x11')][_0x58e7('0x3a')](_0x44c11a),_0xe2777c[_0x58e7('0x11')][_0x58e7('0x2')](_0x351223));}else{const _0xece69=_0x10d73d[_0x58e7('0x33')](_0x196752-0x1);if(!_0xece69)return;_0xf824ad=_0xe2777c[_0x58e7('0x11')]['createRange'](_0xe2777c[_0x58e7('0x11')][_0x58e7('0x3a')](_0x351223),_0xe2777c[_0x58e7('0x11')][_0x58e7('0x2')](_0xece69));}_0xe2777c[_0x58e7('0x11')][_0x58e7('0x39')](()=>{_0x56de6a['markBlockFormat'](_0xf824ad,{'commandName':'setTableColumnHeader','commandParams':[{'forceValue':_0x477a2d}]},[],_0x58e7('0x2b'));});}),_0xe2777c[_0x58e7('0x23')][_0x58e7('0x26')]['on'](_0x58e7('0x4c'),_0x5617a3(),{'priority':_0x58e7('0x30')}),_0xe2777c[_0x58e7('0x42')][_0x58e7('0x26')]['on'](_0x58e7('0x4c'),(_0x256d48,_0x52b7bd,_0x7dc02d)=>{_0x7dc02d[_0x58e7('0x1')]['showSuggestionHighlights']&&_0x5617a3({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x256d48,_0x52b7bd,_0x7dc02d);},{'priority':_0x58e7('0x30')}),_0xe2777c[_0x58e7('0x23')]['downcastDispatcher']['on'](_0x58e7('0x49'),(_0x5b4dee,_0xd33298,_0x32c367)=>{const {type:_0x58c853,id:_0x1b1f5d}=_0x56de6a[_0x58e7('0x4d')](_0xd33298[_0x58e7('0x34')]),_0x51f402=_0x56de6a[_0x58e7('0x18')](_0x1b1f5d);if(!_0x51f402[_0x58e7('0x42')]||'setTableColumnHeader'!=_0x51f402[_0x58e7('0x42')][_0x58e7('0x9')])return;const _0x3ecf89=_0x32c367['mapper'][_0x58e7('0x21')](_0xd33298[_0x58e7('0x34')]);if(_0x3ecf89)for(const _0x2904f2 of _0x3ecf89)_0x32c367[_0x58e7('0x2e')][_0x58e7('0x19')]('ck-suggestion-marker-'+_0x58c853,_0x2904f2),_0x32c367['writer'][_0x58e7('0x19')]('ck-suggestion-marker--active',_0x2904f2),_0x32c367[_0x58e7('0x2e')]['removeAttribute'](_0x58e7('0x16'),_0x2904f2),_0x32c367['mapper'][_0x58e7('0x50')](_0x2904f2,_0xd33298[_0x58e7('0x34')]);},{'priority':_0x58e7('0x30')}),_0x56de6a['_descriptionFactory'][_0x58e7('0x1b')](_0x3bbb9e=>{const {data:_0xcc9753}=_0x3bbb9e;if(_0xcc9753){if(_0x58e7('0x7')==_0xcc9753[_0x58e7('0x9')]){const _0xd1f303=_0xcc9753[_0x58e7('0x1e')][0x0][_0x58e7('0x46')];return _0x296f5d(_0x30d96f(_0x26d997,_0xd1f303?_0x58e7('0x27'):'FORMAT_REGULAR_ROW'));}if(_0x58e7('0x2b')==_0xcc9753[_0x58e7('0x9')]){const _0x26977c=_0xcc9753[_0x58e7('0x1e')][0x0][_0x58e7('0x46')];return _0x296f5d(_0x30d96f(_0x26d997,_0x26977c?_0x58e7('0x44'):_0x58e7('0x4b')));}}function _0x296f5d(_0x1364f4){return{'type':_0x58e7('0x4e'),'content':_0x30d96f(_0x26d997,_0x58e7('0x1c'),_0x1364f4)};}});const _0x5847d6=_0x42328c['_acceptFormatSuggestionCallbackFactory']();_0x56de6a[_0x58e7('0x32')][_0x58e7('0x2c')](_0x58e7('0xa'),'setTableRowHeader',_0x58e7('0x38'),_0x5847d6),_0x56de6a[_0x58e7('0x32')]['registerCustomCallback']('formatBlock','setTableColumnHeader','accept',_0x5847d6);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x46e3=['getSelectionAffectedTableCells','setSelection','markMultiRangeBlockFormat','detach','rootName','deletion','trackChanges','change','direction','_acceptFormatSuggestionCallbackFactory','get','*Split\x20cell:*\x20vertically','forceDefaultExecution','getFirstPosition','add','from','mergeTableCellUp','element','isInContent','registerDescriptionCallback','tableCell','registerCustomCallback','isEnabled','TableUtils','type','accept','$graveyard','set:isEnabled','getRanges','createRangeOn','mergeTableCells','cell','locale','stop','TableEditing','find','enableCommand','commands','mergeTableCellLeft','table','author','afterInit','_areSelectedCellsMergable','filter','_descriptionFactory','plugins','_tablePostFixingSubtypes','refresh','size','*Merge\x20cells*','containsRange','low','getSuggestions','value','markBlockFormat','findAncestor','_suggestionFactory','getCellLocation','insertion','fromRange','mergeTableCellRight','splitTableCellHorizontally','map','commandName','createTableWalker','length','requires','editor','splitTableCellVertically','selection','model','horizontally','getAncestors','formatBlock','format','execute','document','*Split\x20cell:*\x20horizontally','_areMergableCells','TrackChangesEditing','mergeTableCellDown'];(function(_0xaa4bd4,_0x46e33f){const _0x2da883=function(_0x394bbe){while(--_0x394bbe){_0xaa4bd4['push'](_0xaa4bd4['shift']());}};_0x2da883(++_0x46e33f);}(_0x46e3,0x90));const _0x2da8=function(_0xaa4bd4,_0x46e33f){_0xaa4bd4=_0xaa4bd4-0x0;let _0x2da883=_0x46e3[_0xaa4bd4];return _0x2da883;};import{Plugin as _0x7a5b0e}from'ckeditor5/src/core';import _0xca8bb4 from'./table';import{LiveRange as _0x26c499}from'ckeditor5/src/engine';import{getTranslation as _0x42baca}from'../utils/common-translations';export default class pt extends _0x7a5b0e{static get[_0x2da8('0x3')](){return[_0xca8bb4];}[_0x2da8('0x3b')](){const _0x1e153f=this[_0x2da8('0x4')],_0x992187=_0x1e153f[_0x2da8('0x7')][_0x2da8('0xd')][_0x2da8('0x6')],_0x4f7377=_0x1e153f[_0x2da8('0x32')];if(!_0x1e153f['plugins']['has'](_0x2da8('0x34')))return;const _0x2f948c=_0x1e153f[_0x2da8('0x3f')][_0x2da8('0x1c')](_0x2da8('0x10')),_0xf47134=_0x1e153f[_0x2da8('0x3f')][_0x2da8('0x1c')](_0x2da8('0x29')),_0x2c3dba=_0x1e153f[_0x2da8('0x3f')][_0x2da8('0x1c')](_0xca8bb4);_0x2c3dba[_0x2da8('0x40')]['push']('mergeTableCells'),_0x2f948c[_0x2da8('0x36')](_0x2da8('0x30'),()=>{const _0x5b5829=_0xf47134[_0x2da8('0x12')](_0x1e153f[_0x2da8('0x7')][_0x2da8('0xd')][_0x2da8('0x6')]);_0x1e153f[_0x2da8('0x7')][_0x2da8('0x19')](()=>{_0x2f948c[_0x2da8('0x14')](_0x5b5829,{'commandName':'mergeTableCells','commandParams':[]},[],_0x2da8('0x30'));});}),_0x1e153f['commands']['get'](_0x2da8('0x30'))['on']('execute',(_0x17fb4c,_0x4e8f60)=>{_0x1e153f[_0x2da8('0x37')][_0x2da8('0x1c')](_0x2da8('0x18'))[_0x2da8('0x47')]&&(_0x4e8f60[_0x2da8('0x2')]>0x0&&_0x4e8f60[_0x4e8f60['length']-0x1]&&_0x4e8f60[_0x4e8f60[_0x2da8('0x2')]-0x1][_0x2da8('0x1e')]||_0x2f948c['_isForcedDefaultExecutionBlock']||this[_0x2da8('0x3c')]()||_0x17fb4c[_0x2da8('0x33')]());},{'priority':'highest'});for(const _0x45902a of['mergeTableCellUp',_0x2da8('0x4e'),_0x2da8('0x11'),_0x2da8('0x38')]){const _0x53f990=_0x1e153f[_0x2da8('0x37')]['get'](_0x45902a);_0x2f948c['enableCommand'](_0x45902a,()=>{const _0x612e25=_0x1e153f['model'][_0x2da8('0xd')][_0x2da8('0x6')][_0x2da8('0x1f')]()[_0x2da8('0x9')]()[_0x2da8('0x35')](_0x8281a=>_0x8281a['is'](_0x2da8('0x23'),_0x2da8('0x26'))),_0x51f2e4=_0x53f990['value'];_0x1e153f[_0x2da8('0x7')]['change'](()=>{_0x2f948c['markMultiRangeBlockFormat']([_0x612e25,_0x51f2e4],{'commandName':_0x2da8('0x30'),'commandParams':[]},[],_0x2da8('0x30'));});});}for(const _0x2cb5a0 of[_0x2da8('0x5'),_0x2da8('0x4f')]){const _0x13c78d=_0x1e153f[_0x2da8('0x37')][_0x2da8('0x1c')](_0x2cb5a0);_0x2f948c[_0x2da8('0x36')](_0x2cb5a0,()=>{const _0x20ab2a=_0xf47134[_0x2da8('0x12')](_0x1e153f[_0x2da8('0x7')][_0x2da8('0xd')][_0x2da8('0x6')])[0x0],_0x1c3fa8=_0x20ab2a[_0x2da8('0x49')](_0x2da8('0x39')),{column:_0x31f2b8,row:_0x3cfadd}=_0xf47134[_0x2da8('0x4b')](_0x20ab2a);let _0x5ca1ea=[];if(_0x2da8('0x8')==_0x13c78d[_0x2da8('0x1a')]){const _0x375130=_0xf47134[_0x2da8('0x1')](_0x1c3fa8,{'startRow':_0x3cfadd,'endRow':_0x3cfadd,'includeAllSlots':!0x0});_0x5ca1ea=Array[_0x2da8('0x21')](_0x375130)[_0x2da8('0x50')](_0x17f9e2=>_0x17f9e2[_0x2da8('0x31')]);}else{const _0x42abb9=_0xf47134[_0x2da8('0x1')](_0x1c3fa8,{'column':_0x31f2b8,'includeAllSlots':!0x0});_0x5ca1ea=Array[_0x2da8('0x21')](_0x42abb9)['map'](_0x1c1742=>_0x1c1742['cell']);}_0x1e153f[_0x2da8('0x7')][_0x2da8('0x19')](_0x2628ac=>{_0x2f948c[_0x2da8('0x48')](_0x2628ac[_0x2da8('0x2f')](_0x20ab2a),{'commandName':_0x2cb5a0,'commandParams':[]},_0x5ca1ea,_0x2cb5a0);});});}_0x2f948c[_0x2da8('0x3e')][_0x2da8('0x25')](_0x111aa6=>{const {data:_0x306074}=_0x111aa6;if(_0x306074)return _0x2da8('0x30')==_0x306074['commandName']?{'type':'format','content':_0x42baca(_0x4f7377,_0x2da8('0x43'))}:void 0x0;}),_0x2f948c[_0x2da8('0x3e')][_0x2da8('0x25')](_0xd2c6a5=>{const {data:_0x50c187}=_0xd2c6a5;if(_0x50c187)return _0x2da8('0x5')==_0x50c187['commandName']?{'type':'format','content':_0x42baca(_0x4f7377,_0x2da8('0x1d'))}:'splitTableCellHorizontally'==_0x50c187[_0x2da8('0x0')]?{'type':_0x2da8('0xb'),'content':_0x42baca(_0x4f7377,_0x2da8('0xe'))}:void 0x0;});const _0x350830=_0x2c3dba[_0x2da8('0x1b')]();for(const _0x5540e7 of[_0x2da8('0x22'),_0x2da8('0x4e'),_0x2da8('0x11'),_0x2da8('0x38')])_0x2f948c[_0x2da8('0x4a')][_0x2da8('0x27')]('formatBlock',_0x5540e7,_0x2da8('0x2b'),_0x350830);for(const _0x42b7eb of[_0x2da8('0x5'),_0x2da8('0x4f')])_0x2f948c[_0x2da8('0x4a')][_0x2da8('0x27')]('formatBlock',_0x42b7eb,_0x2da8('0x2b'),_0x350830);_0x2f948c[_0x2da8('0x4a')][_0x2da8('0x27')](_0x2da8('0xa'),_0x2da8('0x30'),_0x2da8('0x2b'),_0x4b4f2a=>{_0x1e153f[_0x2da8('0x7')][_0x2da8('0x19')](_0x423d21=>{const _0x22c0cf=Array[_0x2da8('0x21')](_0x992187[_0x2da8('0x2e')]())[_0x2da8('0x50')](_0x168e22=>_0x26c499[_0x2da8('0x4d')](_0x168e22));_0x423d21[_0x2da8('0x13')](_0x4b4f2a),_0x1e153f['commands'][_0x2da8('0x1c')]('mergeTableCells')[_0x2da8('0x41')](),_0x1e153f[_0x2da8('0xc')](_0x2da8('0x30'),{'forceDefaultExecution':!0x0});const _0x190b4b=_0x22c0cf[_0x2da8('0x3d')](_0x14152a=>_0x2da8('0x2c')!=_0x14152a['root'][_0x2da8('0x16')]);_0x190b4b[_0x2da8('0x2')]>0x0&&_0x423d21[_0x2da8('0x13')](_0x190b4b);for(const _0x6b641 of _0x22c0cf)_0x6b641[_0x2da8('0x15')]();});});for(const _0x435933 of[_0x2da8('0x22'),_0x2da8('0x11'),_0x2da8('0x38'),_0x2da8('0x4e')]){const _0x12087a=_0x1e153f['commands'][_0x2da8('0x1c')](_0x435933);_0x12087a['on'](_0x2da8('0x2d'),(_0xf87a31,_0x46b19e,_0x45322f)=>{if(_0x45322f){const _0x4271ca=_0x1e153f[_0x2da8('0x7')]['document'][_0x2da8('0x6')][_0x2da8('0x1f')]()[_0x2da8('0x9')]()[_0x2da8('0x35')](_0x29f884=>_0x29f884['is'](_0x2da8('0x23'),_0x2da8('0x26')));this[_0x2da8('0xf')](_0x12087a['value'],_0x4271ca)||(_0xf87a31['return']=!0x1,_0xf87a31[_0x2da8('0x33')]());}},{'priority':_0x2da8('0x45')});}}[_0x2da8('0x3c')](){const _0x3151e0=this[_0x2da8('0x4')]['commands'][_0x2da8('0x1c')](_0x2da8('0x30')),_0x3fdffa=this[_0x2da8('0x4')][_0x2da8('0x3f')][_0x2da8('0x1c')](_0x2da8('0x29'));if(!_0x3151e0[_0x2da8('0x28')])return!0x1;const _0x395b17=_0x3fdffa[_0x2da8('0x12')](this['editor'][_0x2da8('0x7')][_0x2da8('0xd')][_0x2da8('0x6')]);for(const _0x24110a of _0x395b17)for(const _0x1b01a6 of _0x395b17)if(_0x24110a!=_0x1b01a6&&!this[_0x2da8('0xf')](_0x24110a,_0x1b01a6))return!0x1;return!0x0;}[_0x2da8('0xf')](_0x2c9bfb,_0x361245){const _0x4bcd1a=this[_0x2da8('0x4')]['plugins']['get'](_0x2da8('0x10')),_0x1c0d7c=this[_0x2da8('0x4')][_0x2da8('0x7')][_0x2da8('0x2f')](_0x2c9bfb),_0x4e97b0=this['editor'][_0x2da8('0x7')][_0x2da8('0x2f')](_0x361245),_0x35fc62=new Set(),_0x43a1d0=new Set();for(const _0xbcb962 of _0x4bcd1a[_0x2da8('0x46')]())if((_0x2da8('0x4c')==_0xbcb962[_0x2da8('0x2a')]||_0x2da8('0x17')==_0xbcb962[_0x2da8('0x2a')]||'mergeTableCells'==_0xbcb962['subType'])&&_0xbcb962[_0x2da8('0x24')])for(const _0x2c161b of _0xbcb962['getRanges']())_0x2c161b['containsRange'](_0x1c0d7c,!0x0)&&_0x35fc62[_0x2da8('0x20')](_0xbcb962[_0x2da8('0x2a')]+':'+_0xbcb962['author']['id']),_0x2c161b[_0x2da8('0x44')](_0x4e97b0,!0x0)&&_0x43a1d0[_0x2da8('0x20')](_0xbcb962[_0x2da8('0x2a')]+':'+_0xbcb962[_0x2da8('0x3a')]['id']);if(_0x35fc62[_0x2da8('0x42')]!=_0x43a1d0[_0x2da8('0x42')])return!0x1;for(const _0x424a42 of _0x35fc62)if(!_0x43a1d0['has'](_0x424a42))return!0x1;return!0x0;}}
23
+ const _0x1601=['find','afterInit','*Merge\x20cells*','registerCustomCallback','format','filter','forceDefaultExecution','size','mergeTableCells','root','createRangeOn','registerDescriptionCallback','_areSelectedCellsMergable','getRanges','document','containsRange','getSuggestions','requires','set:isEnabled','stop','editor','has','value','enableCommand','commandName','change','low','accept','refresh','add','formatBlock','commands','tableCell','mergeTableCellRight','plugins','splitTableCellVertically','markBlockFormat','findAncestor','selection','cell','map','from','setSelection','TableUtils','horizontally','execute','getAncestors','mergeTableCellLeft','isEnabled','length','mergeTableCellUp','*Split\x20cell:*\x20vertically','return','model','type','markMultiRangeBlockFormat','_areMergableCells','isInContent','highest','locale','insertion','getCellLocation','TableEditing','element','get','splitTableCellHorizontally','getFirstPosition','$graveyard','mergeTableCellDown','*Split\x20cell:*\x20horizontally','fromRange','getSelectionAffectedTableCells','trackChanges','createTableWalker','author','_suggestionFactory','subType','table','direction'];(function(_0x372e3e,_0x1601f4){const _0x708388=function(_0x5e8251){while(--_0x5e8251){_0x372e3e['push'](_0x372e3e['shift']());}};_0x708388(++_0x1601f4);}(_0x1601,0x72));const _0x7083=function(_0x372e3e,_0x1601f4){_0x372e3e=_0x372e3e-0x0;let _0x708388=_0x1601[_0x372e3e];return _0x708388;};import{Plugin as _0x20b007}from'ckeditor5/src/core';import _0x2a3495 from'./table';import{LiveRange as _0x419ccc}from'ckeditor5/src/engine';import{getTranslation as _0x2b2743}from'../utils/common-translations';export default class pt extends _0x20b007{static get[_0x7083('0x3d')](){return[_0x2a3495];}[_0x7083('0x2d')](){const _0x4ba877=this[_0x7083('0x40')],_0x52fc48=_0x4ba877[_0x7083('0x12')][_0x7083('0x3a')][_0x7083('0x3')],_0x11a844=_0x4ba877[_0x7083('0x18')];if(!_0x4ba877[_0x7083('0x4e')][_0x7083('0x41')](_0x7083('0x1b')))return;const _0x17b6eb=_0x4ba877[_0x7083('0x4e')][_0x7083('0x1d')]('TrackChangesEditing'),_0x4ec698=_0x4ba877[_0x7083('0x4e')][_0x7083('0x1d')](_0x7083('0x8')),_0x46a641=_0x4ba877['plugins'][_0x7083('0x1d')](_0x2a3495);_0x46a641['_tablePostFixingSubtypes']['push'](_0x7083('0x34')),_0x17b6eb['enableCommand'](_0x7083('0x34'),()=>{const _0x2f0a57=_0x4ec698[_0x7083('0x24')](_0x4ba877['model'][_0x7083('0x3a')][_0x7083('0x3')]);_0x4ba877[_0x7083('0x12')][_0x7083('0x45')](()=>{_0x17b6eb[_0x7083('0x14')](_0x2f0a57,{'commandName':'mergeTableCells','commandParams':[]},[],_0x7083('0x34'));});}),_0x4ba877['commands'][_0x7083('0x1d')](_0x7083('0x34'))['on'](_0x7083('0xa'),(_0xd8d321,_0x5b447d)=>{_0x4ba877['commands'][_0x7083('0x1d')](_0x7083('0x25'))[_0x7083('0x42')]&&(_0x5b447d[_0x7083('0xe')]>0x0&&_0x5b447d[_0x5b447d[_0x7083('0xe')]-0x1]&&_0x5b447d[_0x5b447d['length']-0x1][_0x7083('0x32')]||_0x17b6eb['_isForcedDefaultExecutionBlock']||this[_0x7083('0x38')]()||_0xd8d321[_0x7083('0x3f')]());},{'priority':_0x7083('0x17')});for(const _0x519a23 of[_0x7083('0xf'),_0x7083('0x4d'),_0x7083('0x21'),_0x7083('0xc')]){const _0x220d35=_0x4ba877['commands'][_0x7083('0x1d')](_0x519a23);_0x17b6eb[_0x7083('0x43')](_0x519a23,()=>{const _0x5329b7=_0x4ba877[_0x7083('0x12')][_0x7083('0x3a')][_0x7083('0x3')]['getFirstPosition']()[_0x7083('0xb')]()[_0x7083('0x2c')](_0x1e109a=>_0x1e109a['is'](_0x7083('0x1c'),_0x7083('0x4c'))),_0x5dc1b9=_0x220d35[_0x7083('0x42')];_0x4ba877[_0x7083('0x12')][_0x7083('0x45')](()=>{_0x17b6eb[_0x7083('0x14')]([_0x5329b7,_0x5dc1b9],{'commandName':_0x7083('0x34'),'commandParams':[]},[],_0x7083('0x34'));});});}for(const _0x359637 of[_0x7083('0x0'),_0x7083('0x1e')]){const _0x297324=_0x4ba877[_0x7083('0x4b')][_0x7083('0x1d')](_0x359637);_0x17b6eb[_0x7083('0x43')](_0x359637,()=>{const _0x15b591=_0x4ec698[_0x7083('0x24')](_0x4ba877[_0x7083('0x12')]['document']['selection'])[0x0],_0x2d00a0=_0x15b591[_0x7083('0x2')](_0x7083('0x2a')),{column:_0x1c9460,row:_0x484b8b}=_0x4ec698[_0x7083('0x1a')](_0x15b591);let _0x3f1b89=[];if(_0x7083('0x9')==_0x297324[_0x7083('0x2b')]){const _0xacdd36=_0x4ec698[_0x7083('0x26')](_0x2d00a0,{'startRow':_0x484b8b,'endRow':_0x484b8b,'includeAllSlots':!0x0});_0x3f1b89=Array['from'](_0xacdd36)[_0x7083('0x5')](_0x3b4bae=>_0x3b4bae[_0x7083('0x4')]);}else{const _0x5710f7=_0x4ec698[_0x7083('0x26')](_0x2d00a0,{'column':_0x1c9460,'includeAllSlots':!0x0});_0x3f1b89=Array[_0x7083('0x6')](_0x5710f7)[_0x7083('0x5')](_0x21bd5e=>_0x21bd5e['cell']);}_0x4ba877['model']['change'](_0x33eedd=>{_0x17b6eb[_0x7083('0x1')](_0x33eedd[_0x7083('0x36')](_0x15b591),{'commandName':_0x359637,'commandParams':[]},_0x3f1b89,_0x359637);});});}_0x17b6eb['_descriptionFactory'][_0x7083('0x37')](_0x5a1652=>{const {data:_0x5e25e7}=_0x5a1652;if(_0x5e25e7)return _0x7083('0x34')==_0x5e25e7['commandName']?{'type':_0x7083('0x30'),'content':_0x2b2743(_0x11a844,_0x7083('0x2e'))}:void 0x0;}),_0x17b6eb['_descriptionFactory'][_0x7083('0x37')](_0x1c1bd1=>{const {data:_0x58cf81}=_0x1c1bd1;if(_0x58cf81)return _0x7083('0x0')==_0x58cf81[_0x7083('0x44')]?{'type':'format','content':_0x2b2743(_0x11a844,_0x7083('0x10'))}:'splitTableCellHorizontally'==_0x58cf81['commandName']?{'type':_0x7083('0x30'),'content':_0x2b2743(_0x11a844,_0x7083('0x22'))}:void 0x0;});const _0x27e211=_0x46a641['_acceptFormatSuggestionCallbackFactory']();for(const _0x4a887c of[_0x7083('0xf'),_0x7083('0x4d'),_0x7083('0x21'),_0x7083('0xc')])_0x17b6eb[_0x7083('0x28')][_0x7083('0x2f')](_0x7083('0x4a'),_0x4a887c,_0x7083('0x47'),_0x27e211);for(const _0x47088e of[_0x7083('0x0'),_0x7083('0x1e')])_0x17b6eb[_0x7083('0x28')][_0x7083('0x2f')](_0x7083('0x4a'),_0x47088e,_0x7083('0x47'),_0x27e211);_0x17b6eb['_suggestionFactory'][_0x7083('0x2f')]('formatBlock','mergeTableCells',_0x7083('0x47'),_0x396556=>{_0x4ba877['model'][_0x7083('0x45')](_0x494345=>{const _0x5ed4db=Array[_0x7083('0x6')](_0x52fc48[_0x7083('0x39')]())[_0x7083('0x5')](_0x301ac5=>_0x419ccc[_0x7083('0x23')](_0x301ac5));_0x494345[_0x7083('0x7')](_0x396556),_0x4ba877[_0x7083('0x4b')][_0x7083('0x1d')](_0x7083('0x34'))[_0x7083('0x48')](),_0x4ba877[_0x7083('0xa')]('mergeTableCells',{'forceDefaultExecution':!0x0});const _0x1fd5cb=_0x5ed4db[_0x7083('0x31')](_0x304724=>_0x7083('0x20')!=_0x304724[_0x7083('0x35')]['rootName']);_0x1fd5cb[_0x7083('0xe')]>0x0&&_0x494345['setSelection'](_0x1fd5cb);for(const _0x43254a of _0x5ed4db)_0x43254a['detach']();});});for(const _0x115ae7 of[_0x7083('0xf'),_0x7083('0x21'),_0x7083('0xc'),'mergeTableCellRight']){const _0x1e5874=_0x4ba877[_0x7083('0x4b')][_0x7083('0x1d')](_0x115ae7);_0x1e5874['on'](_0x7083('0x3e'),(_0x3b5acc,_0x55dd17,_0x5b6cf0)=>{if(_0x5b6cf0){const _0x1afd76=_0x4ba877[_0x7083('0x12')][_0x7083('0x3a')][_0x7083('0x3')][_0x7083('0x1f')]()[_0x7083('0xb')]()[_0x7083('0x2c')](_0x39304b=>_0x39304b['is']('element',_0x7083('0x4c')));this[_0x7083('0x15')](_0x1e5874[_0x7083('0x42')],_0x1afd76)||(_0x3b5acc[_0x7083('0x11')]=!0x1,_0x3b5acc[_0x7083('0x3f')]());}},{'priority':_0x7083('0x46')});}}['_areSelectedCellsMergable'](){const _0x5a975e=this[_0x7083('0x40')][_0x7083('0x4b')][_0x7083('0x1d')](_0x7083('0x34')),_0x28b3b3=this[_0x7083('0x40')][_0x7083('0x4e')][_0x7083('0x1d')](_0x7083('0x8'));if(!_0x5a975e[_0x7083('0xd')])return!0x1;const _0x53dc81=_0x28b3b3[_0x7083('0x24')](this[_0x7083('0x40')][_0x7083('0x12')][_0x7083('0x3a')][_0x7083('0x3')]);for(const _0x40b979 of _0x53dc81)for(const _0xe0f64c of _0x53dc81)if(_0x40b979!=_0xe0f64c&&!this[_0x7083('0x15')](_0x40b979,_0xe0f64c))return!0x1;return!0x0;}[_0x7083('0x15')](_0x12c63b,_0x235b5b){const _0x30ce90=this['editor']['plugins'][_0x7083('0x1d')]('TrackChangesEditing'),_0x2a5809=this[_0x7083('0x40')]['model'][_0x7083('0x36')](_0x12c63b),_0x2ebb1e=this[_0x7083('0x40')][_0x7083('0x12')]['createRangeOn'](_0x235b5b),_0x1247a8=new Set(),_0x4e6d88=new Set();for(const _0x290e79 of _0x30ce90[_0x7083('0x3c')]())if((_0x7083('0x19')==_0x290e79['type']||'deletion'==_0x290e79['type']||_0x7083('0x34')==_0x290e79[_0x7083('0x29')])&&_0x290e79[_0x7083('0x16')])for(const _0x37e8f9 of _0x290e79[_0x7083('0x39')]())_0x37e8f9['containsRange'](_0x2a5809,!0x0)&&_0x1247a8[_0x7083('0x49')](_0x290e79[_0x7083('0x13')]+':'+_0x290e79[_0x7083('0x27')]['id']),_0x37e8f9[_0x7083('0x3b')](_0x2ebb1e,!0x0)&&_0x4e6d88[_0x7083('0x49')](_0x290e79[_0x7083('0x13')]+':'+_0x290e79[_0x7083('0x27')]['id']);if(_0x1247a8[_0x7083('0x33')]!=_0x4e6d88[_0x7083('0x33')])return!0x1;for(const _0x568c13 of _0x1247a8)if(!_0x4e6d88[_0x7083('0x41')](_0x568c13))return!0x1;return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2b3a=['ELEMENT_TABLE_OF_CONTENTS','get','_descriptionFactory','insertTableOfContents','commands','tableOfContents','TrackChangesEditing','locale','registerElementLabel','enableCommand'];(function(_0x46d2f5,_0x2b3a5e){const _0x16709a=function(_0x396667){while(--_0x396667){_0x46d2f5['push'](_0x46d2f5['shift']());}};_0x16709a(++_0x2b3a5e);}(_0x2b3a,0x18d));const _0x1670=function(_0x46d2f5,_0x2b3a5e){_0x46d2f5=_0x46d2f5-0x0;let _0x16709a=_0x2b3a[_0x46d2f5];return _0x16709a;};import{Plugin as _0x4d6a57}from'ckeditor5/src/core';import{getTranslation as _0x38ed2f}from'../utils/common-translations';export default class St extends _0x4d6a57{['afterInit'](){const _0xa03689=this['editor'];if(!_0xa03689[_0x1670('0x7')][_0x1670('0x4')](_0x1670('0x6')))return;_0xa03689['plugins']['get'](_0x1670('0x9'))[_0x1670('0x2')](_0x1670('0x6'));const _0x138690=_0xa03689['plugins']['get'](_0x1670('0x9')),_0x1987cb=_0xa03689[_0x1670('0x0')];_0x138690[_0x1670('0x5')][_0x1670('0x1')](_0x1670('0x8'),_0x10d855=>_0x38ed2f(_0x1987cb,_0x1670('0x3'),_0x10d855));}}
23
+ const _0x18da=['get','ELEMENT_TABLE_OF_CONTENTS','TrackChangesEditing','tableOfContents','locale','insertTableOfContents','commands'];(function(_0x137f01,_0x18da36){const _0x2fca4d=function(_0x3c4095){while(--_0x3c4095){_0x137f01['push'](_0x137f01['shift']());}};_0x2fca4d(++_0x18da36);}(_0x18da,0xb5));const _0x2fca=function(_0x137f01,_0x18da36){_0x137f01=_0x137f01-0x0;let _0x2fca4d=_0x18da[_0x137f01];return _0x2fca4d;};import{Plugin as _0x5c8579}from'ckeditor5/src/core';import{getTranslation as _0x87480}from'../utils/common-translations';export default class St extends _0x5c8579{['afterInit'](){const _0x1451b6=this['editor'];if(!_0x1451b6[_0x2fca('0x0')][_0x2fca('0x1')](_0x2fca('0x6')))return;_0x1451b6['plugins']['get'](_0x2fca('0x3'))['enableCommand']('insertTableOfContents');const _0x2f82af=_0x1451b6['plugins'][_0x2fca('0x1')]('TrackChangesEditing'),_0x1edd6c=_0x1451b6[_0x2fca('0x5')];_0x2f82af['_descriptionFactory']['registerElementLabel'](_0x2fca('0x4'),_0x3f78d8=>_0x87480(_0x1edd6c,_0x2fca('0x2'),_0x3f78d8));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x595f=['enableCommand','format','removeAttribute','change','tableBackgroundColor','getSuggestions','plugins','tableCellWidth','nodeAfter','subType','tableBorderColor','data','markBlockFormat','tableBorderStyle','document','handleDiscardAction','getSuggestionCallback','model','TableCellPropertiesEditing','discard','tableWidth','_handlePropertyChange','tableBorderWidth','_descriptionFactory','tableCellBorderColor','selection','TrackChangesEditing','handleSuggestionDescription','tableCellHeight','_suggestionFactory','get','tableCellVerticalAlignment','tableHeight','start','formatBlock','locale','registerDescriptionCallback','enqueueChange','tableCellProperties','getSelectionAffectedTableCells','setAttribute','TablePropertiesEditing','getAttribute','getContainedElement','_getSuggestion','registerCustomCallback','join','findAncestor','batch','has','tableCellBorderStyle','tableProperties','*Format:*\x20change\x20table\x20properties','editor'];(function(_0x49ca6e,_0x595f1e){const _0xeac80e=function(_0x164294){while(--_0x164294){_0x49ca6e['push'](_0x49ca6e['shift']());}};_0xeac80e(++_0x595f1e);}(_0x595f,0x19a));const _0xeac8=function(_0x49ca6e,_0x595f1e){_0x49ca6e=_0x49ca6e-0x0;let _0xeac80e=_0x595f[_0x49ca6e];return _0xeac80e;};import{Plugin as _0x3e4f00}from'ckeditor5/src/core';import{getTranslation as _0x56a173}from'../utils/common-translations';export default class Dt extends _0x3e4f00{constructor(_0x31cbb1){super(_0x31cbb1),this[_0xeac8('0x13')]=[_0xeac8('0x20'),_0xeac8('0x23'),_0xeac8('0x2c'),'tableAlignment',_0xeac8('0x2a'),_0xeac8('0x0'),_0xeac8('0x1a')],this[_0xeac8('0x6')]=[_0xeac8('0x2e'),_0xeac8('0x12'),'tableCellBorderWidth','tableCellPadding',_0xeac8('0x1d'),_0xeac8('0x32'),'tableCellBackgroundColor','tableCellHorizontalAlignment',_0xeac8('0x35')];}static get['pluginName'](){return'TrackChangesTableProperties';}['afterInit'](){const _0x390ce5=this[_0xeac8('0x15')][_0xeac8('0x1c')][_0xeac8('0x34')]('TrackChangesEditing');if(this[_0xeac8('0x15')][_0xeac8('0x1c')][_0xeac8('0x11')](_0xeac8('0x9'))){for(const _0x598a26 of this[_0xeac8('0x13')])_0x390ce5['enableCommand'](_0x598a26,(_0x18a82b,_0x131a94)=>{const _0x51ed74=this[_0xeac8('0x15')][_0xeac8('0x27')][_0xeac8('0x24')][_0xeac8('0x2f')]['getFirstPosition']()[_0xeac8('0xf')]('table');this[_0xeac8('0x2b')](_0x598a26,[_0x51ed74],this['tableProperties'],'tableProperties',_0x18a82b,_0x131a94);});_0x390ce5['_suggestionFactory']['registerCustomCallback'](_0xeac8('0x2'),_0xeac8('0x13'),'accept',_0x390ce5[_0xeac8('0x33')]['getSuggestionCallback']('formatBlock',null,_0xeac8('0x29'))),_0x390ce5[_0xeac8('0x33')][_0xeac8('0xd')](_0xeac8('0x2'),_0xeac8('0x13'),_0xeac8('0x29'),(_0xd79b86,_0x18cb56)=>this[_0xeac8('0x25')](this[_0xeac8('0x13')],_0xd79b86,_0x18cb56)),_0x390ce5[_0xeac8('0x33')]['registerCustomCallback']('formatBlock',_0xeac8('0x13'),'join',()=>!0x1);}if(this[_0xeac8('0x15')][_0xeac8('0x1c')][_0xeac8('0x11')](_0xeac8('0x28'))){for(const _0x52428e of this[_0xeac8('0x6')])_0x390ce5[_0xeac8('0x16')](_0x52428e,(_0x1f7a2a,_0x136862)=>{const _0x5be2c8=this[_0xeac8('0x15')][_0xeac8('0x1c')][_0xeac8('0x34')]('TableUtils')[_0xeac8('0x7')](this['editor'][_0xeac8('0x27')][_0xeac8('0x24')][_0xeac8('0x2f')]);this[_0xeac8('0x2b')](_0x52428e,_0x5be2c8,this[_0xeac8('0x6')],_0xeac8('0x6'),_0x1f7a2a,_0x136862);});_0x390ce5['_suggestionFactory'][_0xeac8('0xd')](_0xeac8('0x2'),'tableCellProperties','accept',_0x390ce5[_0xeac8('0x33')][_0xeac8('0x26')](_0xeac8('0x2'),null,_0xeac8('0x29'))),_0x390ce5[_0xeac8('0x33')]['registerCustomCallback'](_0xeac8('0x2'),_0xeac8('0x6'),_0xeac8('0x29'),(_0xd77726,_0x192554)=>this['handleDiscardAction'](this['tableCellProperties'],_0xd77726,_0x192554)),_0x390ce5[_0xeac8('0x33')][_0xeac8('0xd')](_0xeac8('0x2'),'tableCellProperties',_0xeac8('0xe'),()=>!0x1);}_0x390ce5[_0xeac8('0x2d')][_0xeac8('0x4')](_0x251183=>this[_0xeac8('0x31')](_0x251183));}[_0xeac8('0x2b')](_0x41c775,_0x3895e8,_0xe7bf66,_0x430af7,_0x54fac7,_0x1774f8){const _0x35b069=this[_0xeac8('0x15')][_0xeac8('0x1c')][_0xeac8('0x34')]('TrackChangesEditing');this[_0xeac8('0x15')]['model'][_0xeac8('0x5')](_0x1774f8[_0xeac8('0x10')],()=>{for(const _0x4437e6 of _0x3895e8){if(this[_0xeac8('0xc')](_0x4437e6,_0x430af7))_0x54fac7(_0x1774f8);else{const _0x38ccbe={};for(const _0x43dfd0 of _0xe7bf66){const _0x5a9182=_0x4437e6[_0xeac8('0xa')](_0x43dfd0);void 0x0!==_0x5a9182&&(_0x38ccbe[_0x43dfd0]=_0x5a9182);}_0x54fac7(_0x1774f8),_0x35b069[_0xeac8('0x22')](_0x4437e6,{'commandParams':[_0x38ccbe]},[],_0x430af7);}}});}[_0xeac8('0x25')](_0x47a7fc,_0x1e83de,_0x5bf96c){const _0x21a26a=_0x1e83de[0x0][_0xeac8('0x1')][_0xeac8('0x1e')],_0x30594e=_0x5bf96c['commandParams'][0x0];this[_0xeac8('0x15')]['model'][_0xeac8('0x19')](_0x1ba150=>{for(const _0x4ca881 of _0x47a7fc)void 0x0!==_0x30594e[_0x4ca881]?_0x1ba150[_0xeac8('0x8')](_0x4ca881,_0x30594e[_0x4ca881],_0x21a26a):_0x1ba150[_0xeac8('0x18')](_0x4ca881,_0x21a26a);});}[_0xeac8('0x31')](_0x40a62c){if(_0x40a62c[_0xeac8('0x21')])switch(_0x40a62c[_0xeac8('0x1f')]){case'tableProperties':return{'type':'format','content':_0x56a173(this[_0xeac8('0x15')][_0xeac8('0x3')],_0xeac8('0x14'))};case'tableCellProperties':return{'type':_0xeac8('0x17'),'content':_0x56a173(this[_0xeac8('0x15')]['locale'],'*Format:*\x20change\x20table\x20cell\x20properties')};}}['_getSuggestion'](_0x1ecfd0,_0x5cd3e6){const _0x4fb2a5=this['editor'][_0xeac8('0x1c')][_0xeac8('0x34')](_0xeac8('0x30'));for(const _0x3e007b of _0x4fb2a5[_0xeac8('0x1b')]({'skipNotAttached':!0x0})){const _0x1bd2b7=_0x3e007b[_0xeac8('0xb')]();if(_0x3e007b[_0xeac8('0x1f')]===_0x5cd3e6&&_0x1bd2b7===_0x1ecfd0)return _0x3e007b;}return null;}}
23
+ const _0x2bda=['markBlockFormat','discard','tableBorderWidth','handleDiscardAction','tableCellPadding','enqueueChange','getFirstPosition','tableCellHeight','_getSuggestion','subType','change','tableBackgroundColor','tableCellHorizontalAlignment','has','tableCellProperties','get','handleSuggestionDescription','TableUtils','getSuggestionCallback','tableWidth','getSelectionAffectedTableCells','registerCustomCallback','getSuggestions','getAttribute','tableHeight','tableCellBackgroundColor','TableCellPropertiesEditing','_descriptionFactory','_handlePropertyChange','format','*Format:*\x20change\x20table\x20properties','join','tableProperties','setAttribute','document','data','model','accept','tableBorderStyle','pluginName','findAncestor','nodeAfter','locale','*Format:*\x20change\x20table\x20cell\x20properties','tableCellBorderStyle','tableCellBorderColor','_suggestionFactory','tableCellBorderWidth','plugins','TablePropertiesEditing','TrackChangesEditing','tableCellWidth','batch','getContainedElement','formatBlock','removeAttribute','selection','tableAlignment','editor'];(function(_0x5e4ff2,_0x2bdaaa){const _0x2ac61f=function(_0x595de2){while(--_0x595de2){_0x5e4ff2['push'](_0x5e4ff2['shift']());}};_0x2ac61f(++_0x2bdaaa);}(_0x2bda,0x1f0));const _0x2ac6=function(_0x5e4ff2,_0x2bdaaa){_0x5e4ff2=_0x5e4ff2-0x0;let _0x2ac61f=_0x2bda[_0x5e4ff2];return _0x2ac61f;};import{Plugin as _0x5dc2cb}from'ckeditor5/src/core';import{getTranslation as _0xde5cf8}from'../utils/common-translations';export default class Dt extends _0x5dc2cb{constructor(_0x44f1d5){super(_0x44f1d5),this[_0x2ac6('0x8')]=['tableBorderColor',_0x2ac6('0xe'),_0x2ac6('0x25'),_0x2ac6('0x21'),_0x2ac6('0x36'),_0x2ac6('0x0'),_0x2ac6('0x2e')],this[_0x2ac6('0x31')]=[_0x2ac6('0x15'),_0x2ac6('0x14'),_0x2ac6('0x17'),_0x2ac6('0x27'),_0x2ac6('0x1b'),_0x2ac6('0x2a'),_0x2ac6('0x1'),_0x2ac6('0x2f'),'tableCellVerticalAlignment'];}static get[_0x2ac6('0xf')](){return'TrackChangesTableProperties';}['afterInit'](){const _0x531d93=this[_0x2ac6('0x22')]['plugins']['get'](_0x2ac6('0x1a'));if(this[_0x2ac6('0x22')][_0x2ac6('0x18')][_0x2ac6('0x30')](_0x2ac6('0x19'))){for(const _0x1cf3aa of this[_0x2ac6('0x8')])_0x531d93['enableCommand'](_0x1cf3aa,(_0x366ef8,_0x3505db)=>{const _0x285cbc=this['editor'][_0x2ac6('0xc')][_0x2ac6('0xa')][_0x2ac6('0x20')][_0x2ac6('0x29')]()[_0x2ac6('0x10')]('table');this[_0x2ac6('0x4')](_0x1cf3aa,[_0x285cbc],this[_0x2ac6('0x8')],_0x2ac6('0x8'),_0x366ef8,_0x3505db);});_0x531d93[_0x2ac6('0x16')][_0x2ac6('0x38')](_0x2ac6('0x1e'),_0x2ac6('0x8'),_0x2ac6('0xd'),_0x531d93[_0x2ac6('0x16')][_0x2ac6('0x35')](_0x2ac6('0x1e'),null,_0x2ac6('0x24'))),_0x531d93[_0x2ac6('0x16')][_0x2ac6('0x38')]('formatBlock',_0x2ac6('0x8'),'discard',(_0x140274,_0x5530b8)=>this[_0x2ac6('0x26')](this[_0x2ac6('0x8')],_0x140274,_0x5530b8)),_0x531d93[_0x2ac6('0x16')][_0x2ac6('0x38')](_0x2ac6('0x1e'),_0x2ac6('0x8'),_0x2ac6('0x7'),()=>!0x1);}if(this[_0x2ac6('0x22')]['plugins']['has'](_0x2ac6('0x2'))){for(const _0x252c4f of this['tableCellProperties'])_0x531d93['enableCommand'](_0x252c4f,(_0x538a6f,_0x104be7)=>{const _0xe044a5=this['editor'][_0x2ac6('0x18')][_0x2ac6('0x32')](_0x2ac6('0x34'))[_0x2ac6('0x37')](this[_0x2ac6('0x22')][_0x2ac6('0xc')][_0x2ac6('0xa')][_0x2ac6('0x20')]);this[_0x2ac6('0x4')](_0x252c4f,_0xe044a5,this['tableCellProperties'],_0x2ac6('0x31'),_0x538a6f,_0x104be7);});_0x531d93[_0x2ac6('0x16')][_0x2ac6('0x38')](_0x2ac6('0x1e'),_0x2ac6('0x31'),_0x2ac6('0xd'),_0x531d93[_0x2ac6('0x16')][_0x2ac6('0x35')]('formatBlock',null,_0x2ac6('0x24'))),_0x531d93[_0x2ac6('0x16')][_0x2ac6('0x38')]('formatBlock','tableCellProperties',_0x2ac6('0x24'),(_0x3fe38f,_0x3c9b49)=>this[_0x2ac6('0x26')](this[_0x2ac6('0x31')],_0x3fe38f,_0x3c9b49)),_0x531d93['_suggestionFactory'][_0x2ac6('0x38')](_0x2ac6('0x1e'),_0x2ac6('0x31'),_0x2ac6('0x7'),()=>!0x1);}_0x531d93[_0x2ac6('0x3')]['registerDescriptionCallback'](_0x125fa3=>this['handleSuggestionDescription'](_0x125fa3));}[_0x2ac6('0x4')](_0x3077b0,_0x3c5986,_0x15dd16,_0x1fad15,_0xa199c5,_0xa51e30){const _0x31131f=this['editor'][_0x2ac6('0x18')][_0x2ac6('0x32')](_0x2ac6('0x1a'));this[_0x2ac6('0x22')]['model'][_0x2ac6('0x28')](_0xa51e30[_0x2ac6('0x1c')],()=>{for(const _0x435649 of _0x3c5986){if(this[_0x2ac6('0x2b')](_0x435649,_0x1fad15))_0xa199c5(_0xa51e30);else{const _0x4f073a={};for(const _0xe8ab01 of _0x15dd16){const _0x43108d=_0x435649[_0x2ac6('0x3a')](_0xe8ab01);void 0x0!==_0x43108d&&(_0x4f073a[_0xe8ab01]=_0x43108d);}_0xa199c5(_0xa51e30),_0x31131f[_0x2ac6('0x23')](_0x435649,{'commandParams':[_0x4f073a]},[],_0x1fad15);}}});}[_0x2ac6('0x26')](_0x2476a0,_0x50a1f5,_0x19ec90){const _0x17e083=_0x50a1f5[0x0]['start'][_0x2ac6('0x11')],_0x8f0d32=_0x19ec90['commandParams'][0x0];this[_0x2ac6('0x22')][_0x2ac6('0xc')][_0x2ac6('0x2d')](_0x33cb61=>{for(const _0x3efef8 of _0x2476a0)void 0x0!==_0x8f0d32[_0x3efef8]?_0x33cb61[_0x2ac6('0x9')](_0x3efef8,_0x8f0d32[_0x3efef8],_0x17e083):_0x33cb61[_0x2ac6('0x1f')](_0x3efef8,_0x17e083);});}[_0x2ac6('0x33')](_0x23e6c3){if(_0x23e6c3[_0x2ac6('0xb')])switch(_0x23e6c3[_0x2ac6('0x2c')]){case'tableProperties':return{'type':_0x2ac6('0x5'),'content':_0xde5cf8(this[_0x2ac6('0x22')][_0x2ac6('0x12')],_0x2ac6('0x6'))};case'tableCellProperties':return{'type':_0x2ac6('0x5'),'content':_0xde5cf8(this['editor'][_0x2ac6('0x12')],_0x2ac6('0x13'))};}}[_0x2ac6('0x2b')](_0x593b46,_0x233b15){const _0x1eabca=this[_0x2ac6('0x22')][_0x2ac6('0x18')][_0x2ac6('0x32')](_0x2ac6('0x1a'));for(const _0x39933c of _0x1eabca[_0x2ac6('0x39')]({'skipNotAttached':!0x0})){const _0x44887d=_0x39933c[_0x2ac6('0x1d')]();if(_0x39933c[_0x2ac6('0x2c')]===_0x233b15&&_0x44887d===_0x593b46)return _0x39933c;}return null;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3c82=['plugins','Template','TrackChangesEditing','insertTemplate','afterInit','get'];(function(_0xf401d7,_0x3c82ff){const _0x51f01a=function(_0x468bdd){while(--_0x468bdd){_0xf401d7['push'](_0xf401d7['shift']());}};_0x51f01a(++_0x3c82ff);}(_0x3c82,0xa4));const _0x51f0=function(_0xf401d7,_0x3c82ff){_0xf401d7=_0xf401d7-0x0;let _0x51f01a=_0x3c82[_0xf401d7];return _0x51f01a;};import{Plugin as _0x2743d1}from'ckeditor5/src/core';export default class bt extends _0x2743d1{[_0x51f0('0x2')](){const _0x4964b8=this['editor'];_0x4964b8[_0x51f0('0x4')]['has'](_0x51f0('0x5'))&&_0x4964b8[_0x51f0('0x4')][_0x51f0('0x3')](_0x51f0('0x0'))['enableCommand'](_0x51f0('0x1'));}}
23
+ const _0xa7b1=['afterInit','plugins','Template','TrackChangesEditing','get','enableCommand'];(function(_0x4c9e15,_0xa7b134){const _0x1e5f32=function(_0x455f3c){while(--_0x455f3c){_0x4c9e15['push'](_0x4c9e15['shift']());}};_0x1e5f32(++_0xa7b134);}(_0xa7b1,0x1a6));const _0x1e5f=function(_0x4c9e15,_0xa7b134){_0x4c9e15=_0x4c9e15-0x0;let _0x1e5f32=_0xa7b1[_0x4c9e15];return _0x1e5f32;};import{Plugin as _0x2d5db8}from'ckeditor5/src/core';export default class bt extends _0x2d5db8{[_0x1e5f('0x4')](){const _0xbaf9f6=this['editor'];_0xbaf9f6[_0x1e5f('0x5')]['has'](_0x1e5f('0x0'))&&_0xbaf9f6['plugins'][_0x1e5f('0x2')](_0x1e5f('0x1'))[_0x1e5f('0x3')]('insertTemplate');}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x514d=['removeMarker','forward','newRange','isEqual','document','locale','nodeBefore','TrackChangesEditing','start','has','getNearestSelectionRange','ELEMENT_TITLE','afterInit','getChangedMarkers','createRange','element','isCollapsed','end','plugins','title-content','suggestion','_splitMarkerName','model','schema','get','Title'];(function(_0x1c675e,_0x514ded){const _0x1423ca=function(_0x4268dd){while(--_0x4268dd){_0x1c675e['push'](_0x1c675e['shift']());}};_0x1423ca(++_0x514ded);}(_0x514d,0xdb));const _0x1423=function(_0x1c675e,_0x514ded){_0x1c675e=_0x1c675e-0x0;let _0x1423ca=_0x514d[_0x1c675e];return _0x1423ca;};import{Plugin as _0x232700}from'ckeditor5/src/core';import{getTranslation as _0x1f9407}from'../utils/common-translations';export default class It extends _0x232700{[_0x1423('0x1')](){const _0x28976d=this['editor'];if(!_0x28976d[_0x1423('0x7')][_0x1423('0x18')](_0x1423('0xe')))return;const _0xcdfe15=_0x28976d[_0x1423('0x7')][_0x1423('0xd')](_0x1423('0x16'));_0xcdfe15['_descriptionFactory']['registerElementLabel'](_0x1423('0x8'),()=>_0x1f9407(_0x28976d[_0x1423('0x14')],_0x1423('0x0'))),_0x28976d['model'][_0x1423('0x13')]['registerPostFixer'](_0x50afda=>{let _0x137832=!0x1;const _0x59f0a1=Array['from'](_0x28976d[_0x1423('0xb')][_0x1423('0x13')]['differ'][_0x1423('0x2')]());for(const {name:_0x40e58e,data:_0x2b4055}of _0x59f0a1){const {group:_0x1f8add}=_0xcdfe15[_0x1423('0xa')](_0x40e58e);if(_0x1423('0x9')!==_0x1f8add||!_0x2b4055[_0x1423('0x11')])continue;const _0x3e74e6=_0x2b4055['newRange'],_0x2353d2=_0x3e74e6[_0x1423('0x6')][_0x1423('0x15')];if(!_0x2353d2||!_0x2353d2['is'](_0x1423('0x4'),_0x1423('0x8')))continue;if(!_0x3e74e6[_0x1423('0x17')]['isTouching'](_0x3e74e6['end']))continue;const _0x4cc246=_0x28976d[_0x1423('0xb')][_0x1423('0xc')][_0x1423('0x19')](_0x3e74e6[_0x1423('0x6')],_0x1423('0x10'));if(_0x4cc246&&_0x4cc246[_0x1423('0x5')]){const _0xc0641d=_0x50afda[_0x1423('0x3')](_0x3e74e6[_0x1423('0x17')],_0x4cc246[_0x1423('0x17')]);_0xc0641d[_0x1423('0x12')](_0x3e74e6)||(_0x50afda['updateMarker'](_0x40e58e,{'range':_0xc0641d}),_0x137832=!0x0);}_0x137832||(_0x50afda[_0x1423('0xf')](_0x40e58e),_0x137832=!0x0);}return _0x137832;});}}
23
+ const _0x4eb4=['editor','schema','newRange','getNearestSelectionRange','document','from','updateMarker','createRange','TrackChangesEditing','isEqual','ELEMENT_TITLE','getChangedMarkers','suggestion','registerElementLabel','isTouching','afterInit','differ','removeMarker','forward','model','has','element','start','locale','title-content','registerPostFixer','isCollapsed','end','get'];(function(_0xd4d2a4,_0x4eb4cc){const _0x52bc14=function(_0x353b17){while(--_0x353b17){_0xd4d2a4['push'](_0xd4d2a4['shift']());}};_0x52bc14(++_0x4eb4cc);}(_0x4eb4,0x9b));const _0x52bc=function(_0xd4d2a4,_0x4eb4cc){_0xd4d2a4=_0xd4d2a4-0x0;let _0x52bc14=_0x4eb4[_0xd4d2a4];return _0x52bc14;};import{Plugin as _0xbff30e}from'ckeditor5/src/core';import{getTranslation as _0x25a0f2}from'../utils/common-translations';export default class It extends _0xbff30e{[_0x52bc('0x5')](){const _0x305fb8=this[_0x52bc('0x13')];if(!_0x305fb8['plugins'][_0x52bc('0xa')]('Title'))return;const _0x1be6f2=_0x305fb8['plugins'][_0x52bc('0x12')](_0x52bc('0x1b'));_0x1be6f2['_descriptionFactory'][_0x52bc('0x3')](_0x52bc('0xe'),()=>_0x25a0f2(_0x305fb8[_0x52bc('0xd')],_0x52bc('0x0'))),_0x305fb8[_0x52bc('0x9')][_0x52bc('0x17')][_0x52bc('0xf')](_0x4f8f66=>{let _0x50f568=!0x1;const _0x1b9489=Array[_0x52bc('0x18')](_0x305fb8[_0x52bc('0x9')][_0x52bc('0x17')][_0x52bc('0x6')][_0x52bc('0x1')]());for(const {name:_0x2010f4,data:_0x2135a1}of _0x1b9489){const {group:_0x911750}=_0x1be6f2['_splitMarkerName'](_0x2010f4);if(_0x52bc('0x2')!==_0x911750||!_0x2135a1[_0x52bc('0x15')])continue;const _0x136ac5=_0x2135a1[_0x52bc('0x15')],_0x4f49c0=_0x136ac5[_0x52bc('0x11')]['nodeBefore'];if(!_0x4f49c0||!_0x4f49c0['is'](_0x52bc('0xb'),_0x52bc('0xe')))continue;if(!_0x136ac5['start'][_0x52bc('0x4')](_0x136ac5['end']))continue;const _0x591cf9=_0x305fb8[_0x52bc('0x9')][_0x52bc('0x14')][_0x52bc('0x16')](_0x136ac5[_0x52bc('0x11')],_0x52bc('0x8'));if(_0x591cf9&&_0x591cf9[_0x52bc('0x10')]){const _0x1b4988=_0x4f8f66[_0x52bc('0x1a')](_0x136ac5[_0x52bc('0xc')],_0x591cf9['start']);_0x1b4988[_0x52bc('0x1c')](_0x136ac5)||(_0x4f8f66[_0x52bc('0x19')](_0x2010f4,{'range':_0x1b4988}),_0x50f568=!0x0);}_0x50f568||(_0x4f8f66[_0x52bc('0x7')](_0x2010f4),_0x50f568=!0x0);}return _0x50f568;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3661=['TrackChangesEditing','redo','enableCommand','UndoEditing','get','undo','editor','plugins'];(function(_0x24a596,_0x36615c){const _0x4e66aa=function(_0x52164a){while(--_0x52164a){_0x24a596['push'](_0x24a596['shift']());}};_0x4e66aa(++_0x36615c);}(_0x3661,0xfe));const _0x4e66=function(_0x24a596,_0x36615c){_0x24a596=_0x24a596-0x0;let _0x4e66aa=_0x3661[_0x24a596];return _0x4e66aa;};import{Plugin as _0x459b3f}from'ckeditor5/src/core';export default class vt extends _0x459b3f{['afterInit'](){const _0x45e966=this[_0x4e66('0x0')],_0x4929c8=_0x45e966[_0x4e66('0x1')][_0x4e66('0x6')](_0x4e66('0x2'));_0x45e966['plugins']['has'](_0x4e66('0x5'))&&(_0x4929c8[_0x4e66('0x4')](_0x4e66('0x7')),_0x4929c8[_0x4e66('0x4')](_0x4e66('0x3')));}}
23
+ const _0x472e=['afterInit','undo','TrackChangesEditing','plugins','get','editor','enableCommand','redo','has','UndoEditing'];(function(_0x306ae9,_0x472edb){const _0x43a982=function(_0xbb4124){while(--_0xbb4124){_0x306ae9['push'](_0x306ae9['shift']());}};_0x43a982(++_0x472edb);}(_0x472e,0x12f));const _0x43a9=function(_0x306ae9,_0x472edb){_0x306ae9=_0x306ae9-0x0;let _0x43a982=_0x472e[_0x306ae9];return _0x43a982;};import{Plugin as _0x37f48d}from'ckeditor5/src/core';export default class vt extends _0x37f48d{[_0x43a9('0x7')](){const _0x573e65=this[_0x43a9('0x2')],_0x35e7f2=_0x573e65[_0x43a9('0x0')][_0x43a9('0x1')](_0x43a9('0x9'));_0x573e65[_0x43a9('0x0')][_0x43a9('0x5')](_0x43a9('0x6'))&&(_0x35e7f2[_0x43a9('0x3')](_0x43a9('0x8')),_0x35e7f2[_0x43a9('0x3')](_0x43a9('0x4')));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x18cb=['item','ck-suggestion-marker--active','ck-suggestion-marker-','createRangeOn','activeMarkers','type','markerName','listItem','insert','isBlock','nextSibling','span','includes','consumable','plugins','previousPosition','push','test','model','isLimit','element','toViewPosition','TrackChangesEditing','getWalker','getAttribute','markerRange','getCustomProperty','getItems','toViewElement','name','listIndent','createUIElement','addHighlight','mapper','hasAttribute','get','start','writer','isContent','addClass'];(function(_0x5c797e,_0x18cb5b){const _0x4fac2c=function(_0x724d8){while(--_0x724d8){_0x5c797e['push'](_0x5c797e['shift']());}};_0x4fac2c(++_0x18cb5b);}(_0x18cb,0x1e8));const _0x4fac=function(_0x5c797e,_0x18cb5b){_0x5c797e=_0x5c797e-0x0;let _0x4fac2c=_0x18cb[_0x5c797e];return _0x4fac2c;};export function getRangesWithAttribute(_0x38b2bb,_0x39dc52,_0x24f032){const _0x265720=[];for(const _0xead062 of _0x39dc52[_0x4fac('0x13')]())_0xead062[_0x4fac('0x1a')](_0x38b2bb)&&_0x265720['push'](_0x24f032[_0x4fac('0x23')](_0xead062));return _0x265720;}export function getElementsAffectedByListItemRename(_0x5db330){const _0x29a79b=[];if(_0x5db330['is'](_0x4fac('0xc'),_0x4fac('0x27'))){let _0x2a4194=_0x5db330[_0x4fac('0x2')];for(;_0x2a4194&&_0x2a4194['is'](_0x4fac('0xc'),'listItem')&&_0x2a4194[_0x4fac('0x10')](_0x4fac('0x16'))>0x0;)_0x29a79b[_0x4fac('0x8')](_0x2a4194),_0x2a4194=_0x2a4194[_0x4fac('0x2')];}return _0x29a79b;}export function downcastSplitMergeMarker(_0x41fd7b,_0x2e2425,{showActiveMarker:_0x1ff22b=!0x0}={}){const _0x510e20=_0x41fd7b[_0x4fac('0x6')][_0x4fac('0x1b')](_0x4fac('0xe'));return(_0x322875,_0x337cdd,_0x1834fc)=>{if(!_0x1834fc[_0x4fac('0x5')][_0x4fac('0x9')](_0x337cdd[_0x4fac('0x11')],_0x322875[_0x4fac('0x15')]))return;const _0x294ea3=_0x337cdd[_0x4fac('0x11')][_0x4fac('0xf')](),_0x583d93=_0x337cdd[_0x4fac('0x11')][_0x4fac('0x1c')],_0x394338=_0x41fd7b[_0x4fac('0xa')]['schema'];let _0x15566d=null,_0x87c95c=null,_0x3b1931=!0x1,_0xaeca1e=!0x1;for(const _0x1e619d of _0x294ea3){const _0x1cd65=_0x1e619d[_0x4fac('0x20')];_0x3b1931=_0x3b1931||_0x394338[_0x4fac('0x1e')](_0x1cd65);const _0x7f1dd9=_0x1834fc[_0x4fac('0x19')][_0x4fac('0x14')](_0x1cd65);if(_0x7f1dd9&&_0x7f1dd9[_0x4fac('0x12')](_0x4fac('0x18')))return;'elementEnd'==_0x1e619d[_0x4fac('0x25')]&&(_0x394338[_0x4fac('0x1')](_0x1cd65)&&!_0x394338[_0x4fac('0xb')](_0x1cd65)&&(_0x1cd65[_0x4fac('0x2')]||_0x583d93['isAtEnd']?_0x15566d&&_0x15566d['parent']==_0x1cd65||(_0x15566d=_0x1cd65,_0x109a5e(_0x1e619d['previousPosition']),_0xaeca1e=!0x0):_0x87c95c=_0x87c95c||_0x1e619d[_0x4fac('0x7')]));}function _0x109a5e(_0x4cb846){const _0x2b1ee4=_0x1834fc[_0x4fac('0x1d')][_0x4fac('0x17')](_0x4fac('0x3'),{'class':_0x4fac('0x22')+_0x2e2425}),_0x138330=_0x1834fc[_0x4fac('0x19')][_0x4fac('0xd')](_0x4cb846);_0x1ff22b&&_0x510e20[_0x4fac('0x24')][_0x4fac('0x4')](_0x337cdd[_0x4fac('0x26')])&&_0x1834fc[_0x4fac('0x1d')][_0x4fac('0x1f')](_0x4fac('0x21'),_0x2b1ee4),_0x1834fc[_0x4fac('0x1d')][_0x4fac('0x0')](_0x138330,_0x2b1ee4),_0x1834fc[_0x4fac('0x19')]['bindElementToMarker'](_0x2b1ee4,_0x337cdd[_0x4fac('0x26')]);}_0x3b1931||_0xaeca1e||!_0x87c95c||_0x109a5e(_0x87c95c);};}
23
+ const _0x1d81=['element','addClass','toViewElement','get','span','nextSibling','writer','bindElementToMarker','name','createRangeOn','ck-suggestion-marker--active','previousPosition','isBlock','activeMarkers','elementEnd','listIndent','mapper','ck-suggestion-marker-','consumable','schema','markerRange','insert','isLimit','hasAttribute','createUIElement','getAttribute','toViewPosition','listItem','getCustomProperty','model','start','TrackChangesEditing','test','push','type','markerName'];(function(_0x326d91,_0x1d81b1){const _0xac24fa=function(_0x3d110c){while(--_0x3d110c){_0x326d91['push'](_0x326d91['shift']());}};_0xac24fa(++_0x1d81b1);}(_0x1d81,0x138));const _0xac24=function(_0x326d91,_0x1d81b1){_0x326d91=_0x326d91-0x0;let _0xac24fa=_0x1d81[_0x326d91];return _0xac24fa;};export function getRangesWithAttribute(_0x4f4a72,_0x56fa35,_0x3521bf){const _0x30fbf1=[];for(const _0x4f2d4f of _0x56fa35['getItems']())_0x4f2d4f[_0xac24('0x23')](_0x4f4a72)&&_0x30fbf1[_0xac24('0x9')](_0x3521bf[_0xac24('0x15')](_0x4f2d4f));return _0x30fbf1;}export function getElementsAffectedByListItemRename(_0x1dd758){const _0x5ad957=[];if(_0x1dd758['is'](_0xac24('0xc'),_0xac24('0x3'))){let _0x12ca5f=_0x1dd758['nextSibling'];for(;_0x12ca5f&&_0x12ca5f['is'](_0xac24('0xc'),_0xac24('0x3'))&&_0x12ca5f[_0xac24('0x1')](_0xac24('0x1b'))>0x0;)_0x5ad957['push'](_0x12ca5f),_0x12ca5f=_0x12ca5f[_0xac24('0x11')];}return _0x5ad957;}export function downcastSplitMergeMarker(_0x14ec4d,_0x4240dc,{showActiveMarker:_0x187e70=!0x0}={}){const _0xc1277e=_0x14ec4d['plugins'][_0xac24('0xf')](_0xac24('0x7'));return(_0x3600c3,_0x4cd4d9,_0x5884c7)=>{if(!_0x5884c7[_0xac24('0x1e')][_0xac24('0x8')](_0x4cd4d9[_0xac24('0x20')],_0x3600c3[_0xac24('0x14')]))return;const _0x5a6765=_0x4cd4d9['markerRange']['getWalker'](),_0x8196da=_0x4cd4d9[_0xac24('0x20')][_0xac24('0x6')],_0x49c569=_0x14ec4d[_0xac24('0x5')][_0xac24('0x1f')];let _0x497b41=null,_0x1e805b=null,_0x5786a5=!0x1,_0x82b663=!0x1;for(const _0x4befa7 of _0x5a6765){const _0x26bd62=_0x4befa7['item'];_0x5786a5=_0x5786a5||_0x49c569['isContent'](_0x26bd62);const _0x31acd8=_0x5884c7[_0xac24('0x1c')][_0xac24('0xe')](_0x26bd62);if(_0x31acd8&&_0x31acd8[_0xac24('0x4')]('addHighlight'))return;_0xac24('0x1a')==_0x4befa7[_0xac24('0xa')]&&(_0x49c569[_0xac24('0x18')](_0x26bd62)&&!_0x49c569[_0xac24('0x22')](_0x26bd62)&&(_0x26bd62[_0xac24('0x11')]||_0x8196da['isAtEnd']?_0x497b41&&_0x497b41['parent']==_0x26bd62||(_0x497b41=_0x26bd62,_0x339d32(_0x4befa7[_0xac24('0x17')]),_0x82b663=!0x0):_0x1e805b=_0x1e805b||_0x4befa7['previousPosition']));}function _0x339d32(_0x619feb){const _0x17540d=_0x5884c7['writer'][_0xac24('0x0')](_0xac24('0x10'),{'class':_0xac24('0x1d')+_0x4240dc}),_0x214cb9=_0x5884c7['mapper'][_0xac24('0x2')](_0x619feb);_0x187e70&&_0xc1277e[_0xac24('0x19')]['includes'](_0x4cd4d9[_0xac24('0xb')])&&_0x5884c7[_0xac24('0x12')][_0xac24('0xd')](_0xac24('0x16'),_0x17540d),_0x5884c7[_0xac24('0x12')][_0xac24('0x21')](_0x214cb9,_0x17540d),_0x5884c7[_0xac24('0x1c')][_0xac24('0x13')](_0x17540d,_0x4cd4d9[_0xac24('0xb')]);}_0x5786a5||_0x82b663||!_0x1e805b||_0x339d32(_0x1e805b);};}