@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20231227.0 → 0.0.0-nightly-20231228.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (66) hide show
  1. package/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/imagestyle.js +1 -1
  29. package/src/integrations/importword.js +1 -1
  30. package/src/integrations/indent.js +1 -1
  31. package/src/integrations/inputcommand.js +1 -1
  32. package/src/integrations/link.js +1 -1
  33. package/src/integrations/list.js +1 -1
  34. package/src/integrations/listproperties.js +1 -1
  35. package/src/integrations/mediaembed.js +1 -1
  36. package/src/integrations/mention.js +1 -1
  37. package/src/integrations/pagebreak.js +1 -1
  38. package/src/integrations/paragraph.js +1 -1
  39. package/src/integrations/removeformat.js +1 -1
  40. package/src/integrations/restrictededitingmode.js +1 -1
  41. package/src/integrations/shiftentercommand.js +1 -1
  42. package/src/integrations/standardeditingmode.js +1 -1
  43. package/src/integrations/style.js +1 -1
  44. package/src/integrations/table.js +1 -1
  45. package/src/integrations/tablecaption.js +1 -1
  46. package/src/integrations/tableclipboard.js +1 -1
  47. package/src/integrations/tablecolumnresize.js +1 -1
  48. package/src/integrations/tableheadings.js +1 -1
  49. package/src/integrations/tablemergesplit.js +1 -1
  50. package/src/integrations/tableofcontents.js +1 -1
  51. package/src/integrations/tableproperties.js +1 -1
  52. package/src/integrations/template.js +1 -1
  53. package/src/integrations/title.js +1 -1
  54. package/src/integrations/undo.js +1 -1
  55. package/src/integrations/utils.js +1 -1
  56. package/src/suggestion.js +1 -1
  57. package/src/suggestiondescriptionfactory.js +1 -1
  58. package/src/trackchanges.js +1 -1
  59. package/src/trackchangesdata.js +1 -1
  60. package/src/trackchangesediting.js +1 -1
  61. package/src/trackchangesui.js +1 -1
  62. package/src/ui/suggestioncontroller.js +1 -1
  63. package/src/ui/view/basesuggestionthreadview.js +1 -1
  64. package/src/ui/view/suggestionthreadview.js +1 -1
  65. package/src/utils/common-translations.js +1 -1
  66. package/src/utils/utils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5534=['ck-suggestion-marker--active','options','tableCellSuggestion','model','selection','tablePaste','filter','getChanges','root','getSuggestion','reduce','tableCellBorderColor','every','join','nextSibling','insert','isEqual','tablePasteCell','table','nodeAfter','tablePasteRow','getSuggestions','markerAttributes','batch','paragraph','subType','markers','markMultiRangeInsertion','createRangeIn','insertion','cell','getRowIndexes','getChild','push','move','deletion','registerPostFixer','has','requires','_replaceTableSlotCell','endRow','tableCellHorizontalAlignment','high','length','getColumnIndexes','_descriptionFactory','_createdBatches','tableCell','columnInsertionRanges','columnInsertionIndexes','markerToHighlight','createRangeOn','tableCellPadding','createTableWalker','registerDescriptionCallback','tableCellVerticalAlignment','insertColumns','tableCellBorderStyle','getSelectionAffectedTableCells','registerCustomCallback','fill','listenTo','from','hasSuggestion','isEmpty','deletionRanges','low','map','newRange','last','_splitMarkerName','removeMarkers','removeMarker','formatBlock','rootName','getChildren','element','tablePasteColumn','conversion','suggestion-td','attributes','includes','discard','remove','suggestionLoaded','TableClipboard','createElement','getRows','add','view','ck-suggestion-marker-insertion','editing','position','startsWith','suggestion','first','getItems','findAncestor','end','commands','Users','insertRows','createPositionBefore','getAllAdjacentSuggestions','editor','document','getMarkers','insertContent','find','return','accept','getRange','wrap','start','endColumn','name','register','type','for','author','change','showSuggestionHighlights','rowInsertionIndexes','get','getShiftedBy','createRange','tablePasteChainId','_suggestionFactory','column','differ','containsRange','getContainedElement','removeRows','getRanges','cells','_getCoordsForCells','isInContent','redo','markerName','documentSelection','getSuggestionCallback','value','insertionRanges','updateMarker','getTableIfOnlyTableInContent','rowInsertionRanges','getChangedMarkers','previous','columns','entries','ck-suggestion-marker','tableCellBackgroundColor','elementToElement','trackChanges','fromEntries','setAttribute','_tablePostFixingSubtypes','markMultiRangeBlockFormat','removeColumns','unwrap','markMultiRangeDeletion','editingDowncast','getColumns','plugins'];(function(_0x2a5ef4,_0x5534ae){const _0x69b59a=function(_0x1891f1){while(--_0x1891f1){_0x2a5ef4['push'](_0x2a5ef4['shift']());}};_0x69b59a(++_0x5534ae);}(_0x5534,0x116));const _0x69b5=function(_0x2a5ef4,_0x5534ae){_0x2a5ef4=_0x2a5ef4-0x0;let _0x69b59a=_0x5534[_0x2a5ef4];return _0x69b59a;};import{getTranslation as _0x24bbbe}from'../utils/common-translations.js';import{Plugin as _0x126aa3}from'ckeditor5/src/core.js';import{uid as _0x503528,priorities as _0x93bc9f}from'ckeditor5/src/utils.js';import _0x231041 from'./table.js';const le=['tableCellBorderWidth',_0x69b5('0x3d'),_0x69b5('0x6b'),_0x69b5('0x5b'),_0x69b5('0x69'),_0x69b5('0x25'),_0x69b5('0x66')],ae=Object[_0x69b5('0x28')](le[_0x69b5('0x75')](_0x1394a8=>[_0x1394a8,null]));export default class St extends _0x126aa3{static get[_0x69b5('0x58')](){return[_0x231041];}['afterInit'](){const _0x1d5b19=this[_0x69b5('0x9a')];if(!_0x1d5b19['plugins'][_0x69b5('0x57')](_0x69b5('0x87')))return;const _0x50a9e6=_0x1d5b19[_0x69b5('0x31')]['get']('TrackChangesEditing'),_0x1d9941=_0x1d5b19[_0x69b5('0x31')][_0x69b5('0x9')]('TableUtils'),_0x5b48e3=_0x1d5b19[_0x69b5('0x31')][_0x69b5('0x9')](_0x231041),_0xffe17f=_0x1d5b19[_0x69b5('0x31')][_0x69b5('0x9')](_0x69b5('0x87'));_0x5b48e3[_0x69b5('0x2a')][_0x69b5('0x53')](_0x69b5('0x46'),'tablePasteColumn'),_0x1d5b19[_0x69b5('0x35')]['schema'][_0x69b5('0x2')](_0x69b5('0x34'),{'allowIn':_0x69b5('0x61'),'allowContentOf':_0x69b5('0x61'),'isLimit':!0x0}),_0x1d5b19['conversion'][_0x69b5('0x26')]({'model':'tableCellSuggestion','view':'suggestion-td'});let _0xe23987=null;_0x1d5b19[_0x69b5('0x35')]['on'](_0x69b5('0x9d'),(_0x21287f,_0x389238)=>{const [_0x22bab1,_0x472a6b]=_0x389238,_0x1c60eb=_0x389238[_0x389238[_0x69b5('0x5d')]-0x1];_0x1c60eb&&_0x1c60eb['forceDefaultExecution']||_0x50a9e6['_isForcedDefaultExecutionBlock']||this[_0x69b5('0x9a')][_0x69b5('0x95')][_0x69b5('0x9')](_0x69b5('0x27'))[_0x69b5('0x1b')]&&function(_0x3da316,_0x449879,_0x17545a,_0x517ca3,_0x1ba2be){if(_0x449879&&!_0x449879['is'](_0x69b5('0x19')))return!0x1;const _0x24d1df=_0x1ba2be[_0x69b5('0x1e')](_0x3da316,_0x17545a);if(!_0x24d1df||!fe(_0x24d1df,void 0x0,_0x517ca3))return!0x1;const _0x46a81a=_0x517ca3[_0x69b5('0x6c')](_0x17545a['document'][_0x69b5('0x36')]);if(!_0x46a81a[_0x69b5('0x5d')])return!0x1;const _0x55921d=_0x46a81a[0x0]['findAncestor'](_0x69b5('0x44')),_0x14484b=_0x517ca3[_0x69b5('0x51')](_0x46a81a),_0x311767=_0x517ca3[_0x69b5('0x5e')](_0x46a81a),_0x41becb={'startRow':_0x14484b[_0x69b5('0x91')],'endRow':_0x14484b['last'],'startColumn':_0x311767[_0x69b5('0x91')],'endColumn':_0x311767[_0x69b5('0x77')]};return 0x1==_0x46a81a['length']&&(_0x41becb[_0x69b5('0x5a')]+=_0x517ca3[_0x69b5('0x89')](_0x24d1df)-0x1,_0x41becb[_0x69b5('0x0')]+=_0x517ca3[_0x69b5('0x30')](_0x24d1df)-0x1),fe(_0x55921d,_0x41becb,_0x517ca3);}(_0x22bab1,_0x472a6b,_0x1d5b19[_0x69b5('0x35')],_0x1d9941,_0xffe17f)&&(_0x21287f['stop'](),_0xe23987={'cells':[],'insertionRanges':[],'deletionRanges':[],'rowInsertionRanges':[],'rowInsertionIndexes':[],'columnInsertionRanges':[],'columnInsertionIndexes':[]},_0x1d5b19['model'][_0x69b5('0x6')](()=>{_0x1d5b19[_0x69b5('0x35')][_0x69b5('0x9d')](_0x389238[0x0],_0x389238[0x1],_0x389238[0x2],{'forceDefaultExecution':!0x0});const _0x433771=_0x503528(),{rowInsertionRanges:_0x3332c0,columnInsertionRanges:_0x40aa29,insertionRanges:_0xfa13dc,deletionRanges:_0x78e011,cells:_0x21e8a1}=_0xe23987;_0x3332c0[_0x69b5('0x5d')]&&_0x50a9e6['markMultiRangeInsertion'](_0x3332c0,_0x69b5('0x46'),{'tablePasteChainId':_0x433771}),_0x40aa29[_0x69b5('0x5d')]&&_0x50a9e6['markMultiRangeInsertion'](_0x40aa29,_0x69b5('0x7f'),{'tablePasteChainId':_0x433771}),_0xfa13dc[_0x69b5('0x5d')]&&_0x50a9e6[_0x69b5('0x4d')](_0xfa13dc,'tablePaste',{'tablePasteChainId':_0x433771,'skipNestingCheck':!0x0}),_0x78e011[_0x69b5('0x5d')]&&_0x50a9e6[_0x69b5('0x2e')](_0x78e011,_0x69b5('0x37'),{'tablePasteChainId':_0x433771,'skipNestingCheck':!0x0});const _0x237130=_0x50a9e6[_0x69b5('0x2b')](_0x21e8a1[_0x69b5('0x75')](({element:_0x58397d})=>_0x58397d),{'formatGroupId':_0x503528()},[],'tablePasteCell',{'tablePasteChainId':_0x433771});if(_0x237130){const _0x27d921=_0x237130[_0x69b5('0x9c')](),_0x2aad2e=[];for(const {element:_0x659f31,attributes:_0x346c52}of _0x21e8a1){if(!_0x346c52)continue;const _0x4b2e56=_0x1d5b19['model']['createRangeOn'](_0x659f31),_0x2ea689=_0x27d921['find'](_0xb0105d=>_0xb0105d[_0x69b5('0xa1')]()[_0x69b5('0x42')](_0x4b2e56));_0x2ea689&&_0x2aad2e[_0x69b5('0x53')]([_0x2ea689[_0x69b5('0x1')],_0x346c52]);}_0x2aad2e[_0x69b5('0x5d')]&&_0x237130[_0x69b5('0x29')](_0x69b5('0x48'),Object[_0x69b5('0x28')](_0x2aad2e));}_0xe23987=null;}));},{'priority':_0x93bc9f[_0x69b5('0x5c')]+0xa}),_0x1d5b19[_0x69b5('0x31')][_0x69b5('0x9')](_0x69b5('0x87'))['on'](_0x69b5('0x59'),(_0x26f6d3,_0x315a8d)=>{const [_0x23cf10,_0x2f2fff,,_0x5af1a5]=_0x315a8d;if(!_0xe23987)return;_0x26f6d3['stop']();const _0x273db6=_0x23cf10[_0x69b5('0x50')],_0x2e2c28=_0x2f2fff,_0x4a787b=ce(_0x273db6),_0x17fd24=ce(_0x2e2c28);_0x26f6d3[_0x69b5('0x9f')]=_0x273db6;let _0x402053=null,_0x1ee832=null;if(_0x17fd24||_0x4a787b){if(_0x4a787b&&!_0x17fd24){_0x5af1a5[_0x69b5('0x85')](_0x273db6[_0x69b5('0x52')](0x0));for(const _0x3d37f9 of Array[_0x69b5('0x70')](_0x2e2c28[_0x69b5('0x7d')]()))_0x5af1a5['insert'](_0x3d37f9,_0x273db6,_0x69b5('0x94'));const _0x323456=_0xe23987[_0x69b5('0x8')]['includes'](_0x23cf10['row']),_0x72aee2=_0xe23987[_0x69b5('0x63')][_0x69b5('0x83')](_0x23cf10[_0x69b5('0xe')]);_0x323456||_0x72aee2||(_0x402053=_0x5af1a5[_0x69b5('0x4e')](_0x273db6));}else _0x17fd24&&!_0x4a787b&&(_0x1ee832=_0x5af1a5[_0x69b5('0x4e')](_0x273db6));}else{const _0x39e213=_0x5af1a5[_0x69b5('0x88')]('tableCellSuggestion'),_0x27fda3=_0x5af1a5[_0x69b5('0x88')]('tableCellSuggestion');_0x5af1a5[_0x69b5('0xa2')](_0x5af1a5[_0x69b5('0x4e')](_0x273db6),_0x27fda3),_0x5af1a5[_0x69b5('0x41')](_0x39e213,_0x273db6,0x0);for(const _0xa65f0e of Array[_0x69b5('0x70')](_0x2e2c28[_0x69b5('0x7d')]()))_0x5af1a5[_0x69b5('0x41')](_0xa65f0e,_0x39e213,'end');_0x402053=_0x5af1a5[_0x69b5('0x65')](_0x39e213),_0x1ee832=_0x5af1a5[_0x69b5('0x65')](_0x27fda3);}const _0x16bb56=Array['from'](_0x2e2c28['getAttributes']())['filter'](([_0xa23c0f])=>le[_0x69b5('0x83')](_0xa23c0f));_0xe23987[_0x69b5('0x14')]['push']({'element':_0x273db6,'attributes':_0x16bb56['length']?Object[_0x69b5('0x28')](_0x16bb56):null}),_0x402053&&_0xe23987[_0x69b5('0x1c')][_0x69b5('0x53')](_0x402053),_0x1ee832&&_0xe23987[_0x69b5('0x73')][_0x69b5('0x53')](_0x1ee832);},{'priority':_0x69b5('0x5c')}),_0x1d9941['on'](_0x69b5('0x6a'),(_0xa9af78,_0x4fa2b2)=>{const [_0x48d738,_0x300271={}]=_0x4fa2b2;if(!_0xe23987)return;const _0x2482b8=_0x300271['at']||0x0,_0x46fdda=_0x300271[_0x69b5('0x22')]||0x1;_0xe23987[_0x69b5('0x63')]=new Array(_0x46fdda)[_0x69b5('0x6e')](_0x2482b8)['map']((_0x447bc1,_0x2874b0)=>_0x447bc1+_0x2874b0);for(const {cell:_0x4e67af}of _0x1d9941[_0x69b5('0x67')](_0x48d738,{'startColumn':_0x2482b8,'endColumn':_0x2482b8+_0x46fdda-0x1}))_0xe23987[_0x69b5('0x62')]['push'](_0x1d5b19['model'][_0x69b5('0x65')](_0x4e67af));},{'priority':_0x69b5('0x74')}),_0x1d9941['on'](_0x69b5('0x97'),(_0x20b37f,_0x3885e6)=>{const [_0x5a7c5f,_0xd5c7bc={}]=_0x3885e6;if(!_0xe23987)return;const _0x597f13=_0xd5c7bc['at']||0x0,_0x156774=_0xd5c7bc['rows']||0x1;_0xe23987[_0x69b5('0x8')]=new Array(_0x156774)['fill'](_0x597f13)[_0x69b5('0x75')]((_0xc184a3,_0x196bfa)=>_0xc184a3+_0x196bfa);for(const {cell:_0x488251}of _0x1d9941[_0x69b5('0x67')](_0x5a7c5f,{'startRow':_0x597f13,'endRow':_0x597f13+_0x156774-0x1}))_0xe23987[_0x69b5('0x1f')][_0x69b5('0x53')](_0x1d5b19[_0x69b5('0x35')][_0x69b5('0x65')](_0x488251));},{'priority':_0x69b5('0x74')}),_0x50a9e6[_0x69b5('0x5f')][_0x69b5('0x68')](_0x97c75b=>{if(_0x97c75b['subType']&&_0x97c75b[_0x69b5('0x4b')][_0x69b5('0x8f')](_0x69b5('0x37')))return _0x97c75b['previous']?{}:{'type':_0x69b5('0x4f'),'content':_0x24bbbe(_0x1d5b19['locale'],'*Replace\x20table\x20cells*')};});const _0x4e6b7c=()=>!0x1;for(const _0x22d122 of[_0x69b5('0x37'),'tablePasteColumn',_0x69b5('0x46'),_0x69b5('0x43')])_0x50a9e6['_suggestionFactory']['registerCustomCallback'](_0x69b5('0x4f'),_0x22d122,'join',_0x4e6b7c),_0x50a9e6[_0x69b5('0xd')][_0x69b5('0x6d')](_0x69b5('0x55'),_0x22d122,_0x69b5('0x3f'),_0x4e6b7c),_0x50a9e6[_0x69b5('0xd')][_0x69b5('0x6d')](_0x69b5('0x7b'),_0x22d122,_0x69b5('0x3f'),_0x4e6b7c);_0x50a9e6['_suggestionFactory'][_0x69b5('0x6d')](_0x69b5('0x7b'),'tablePasteCell',_0x69b5('0x84'),_0x4e6b7c),_0x50a9e6[_0x69b5('0xd')][_0x69b5('0x6d')](_0x69b5('0x7b'),_0x69b5('0x43'),_0x69b5('0xa0'),(_0xb05931,_0x165b57,_0x46c778)=>{const _0x2d5d41=_0xb05931[_0x69b5('0x75')](_0x4af892=>_0x4af892[_0x69b5('0x11')]())[_0x69b5('0x38')](_0x245fa8=>_0x245fa8),_0x5b09aa=new Map(_0x2d5d41[_0x69b5('0x75')](_0x3b4fc4=>[_0x3b4fc4,null]));if(_0xe23987)for(const {element:_0x11e8db,attributes:_0x236461}of _0xe23987[_0x69b5('0x14')])_0x236461&&_0x5b09aa['set'](_0x11e8db,_0x236461);else{if(_0x46c778&&_0x46c778['markerAttributes'])for(const [_0x270f05,_0x58dac3]of Object[_0x69b5('0x23')](_0x46c778[_0x69b5('0x48')])){const _0x20cf21=_0x1d5b19[_0x69b5('0x35')][_0x69b5('0x4c')][_0x69b5('0x9')](_0x270f05),_0x4a1f87=_0x20cf21?_0x20cf21[_0x69b5('0xa1')]()['getContainedElement']():null;_0x4a1f87&&_0x5b09aa['set'](_0x4a1f87,_0x58dac3);}}_0x1d5b19['model'][_0x69b5('0x6')](_0x3be1c1=>{for(const [_0x5c539d,_0xd50f8]of _0x5b09aa)_0x3be1c1['setAttributes']({...ae,..._0xd50f8},_0x5c539d);});});const _0x2efd6c=(_0x4f2844,_0x5d1ec2)=>{_0x50a9e6[_0x69b5('0xd')][_0x69b5('0x6d')](_0x4f2844,_0x69b5('0x37'),_0x5d1ec2,(_0x7d001c,_0x8a4a24,_0x301d3e)=>{_0x1d5b19['model']['change'](_0x3d57b3=>{const _0x38645c=[];for(const _0x485ac6 of _0x7d001c){const _0x25afb8=_0x485ac6[_0x69b5('0xa3')][_0x69b5('0x45')];_0x25afb8['is']('element',_0x69b5('0x34'))&&_0x38645c[_0x69b5('0x53')](_0x25afb8);}_0x50a9e6['_suggestionFactory'][_0x69b5('0x1a')](_0x4f2844,null,_0x5d1ec2)(_0x7d001c,_0x8a4a24,_0x301d3e);for(const _0x13ba29 of _0x38645c)'$graveyard'!=_0x13ba29[_0x69b5('0x3a')][_0x69b5('0x7c')]&&_0x3d57b3['unwrap'](_0x13ba29);});});};_0x2efd6c(_0x69b5('0x4f'),_0x69b5('0xa0')),_0x2efd6c('insertion','discard'),_0x2efd6c(_0x69b5('0x55'),_0x69b5('0xa0')),_0x2efd6c(_0x69b5('0x55'),'discard'),_0x50a9e6[_0x69b5('0xd')][_0x69b5('0x6d')](_0x69b5('0x4f'),_0x69b5('0x46'),_0x69b5('0x84'),_0x568ed6=>{const _0x1226cb=_0x568ed6['map'](_0x2f1652=>_0x2f1652[_0x69b5('0x11')]()),_0x517335=_0x1226cb[0x0][_0x69b5('0x93')](_0x69b5('0x44')),{minRow:_0x531355,maxRow:_0x1affa5}=_0x5b48e3[_0x69b5('0x15')](_0x1226cb);_0x1d9941[_0x69b5('0x12')](_0x517335,{'at':_0x531355,'rows':_0x1affa5-_0x531355+0x1});}),_0x50a9e6[_0x69b5('0xd')]['registerCustomCallback'](_0x69b5('0x4f'),_0x69b5('0x7f'),_0x69b5('0x84'),_0xc6f0a9=>{const _0x203326=_0xc6f0a9['map'](_0x1375a8=>_0x1375a8[_0x69b5('0x11')]()),_0x2961b8=_0x203326[0x0]['findAncestor'](_0x69b5('0x44')),{minColumn:_0x2b6d68,maxColumn:_0x1ec90b}=_0x5b48e3['_getCoordsForCells'](_0x203326);_0x1d9941[_0x69b5('0x2c')](_0x2961b8,{'at':_0x2b6d68,'columns':_0x1ec90b-_0x2b6d68+0x1});});const _0xf469cc=(_0x59ee36,_0x2bbaa1)=>{if(!_0x2bbaa1[_0x69b5('0x4b')]||!_0x2bbaa1[_0x69b5('0x4b')][_0x69b5('0x8f')](_0x69b5('0x37')))return;const _0x255fe1=_0x2bbaa1[_0x69b5('0x82')][_0x69b5('0xc')],_0x4f44db=_0x50a9e6[_0x69b5('0x47')]()['filter'](_0x24df8d=>_0x24df8d[_0x69b5('0x16')]&&_0x24df8d[_0x69b5('0x82')]&&_0x24df8d[_0x69b5('0x82')]['tablePasteChainId']==_0x255fe1);_0x4f44db[_0x69b5('0x5d')]&&_0x2bbaa1[_0x69b5('0x99')]()[_0x69b5('0x5d')]!=_0x4f44db['length']&&_0x4f44db[_0x69b5('0x3c')]((_0x1da28e,_0x4edf5c)=>(_0x1da28e['next']=_0x4edf5c,_0x4edf5c[_0x69b5('0x21')]=_0x1da28e,_0x4edf5c));};function _0x2d66b9(_0x322215,_0x59e7a4=!0x0){const {id:_0x169738}=_0x50a9e6['_splitMarkerName'](_0x322215[_0x69b5('0x18')]),_0x2698ea=[_0x69b5('0x24'),_0x69b5('0x8c')],_0x154913=_0x50a9e6['activeMarkers']['includes'](_0x322215[_0x69b5('0x18')]);return _0x154913&&_0x2698ea[_0x69b5('0x53')](_0x69b5('0x32')),{'classes':_0x2698ea,'attributes':{'data-suggestion':_0x169738},'priority':_0x154913&&_0x59e7a4?0xbc2:0xbb8};}_0x50a9e6['on'](_0x69b5('0x86'),_0xf469cc,{'priority':'high'}),_0x50a9e6['on']('suggestionUnloaded',_0xf469cc,{'priority':_0x69b5('0x5c')}),_0x1d5b19['model'][_0x69b5('0x9b')][_0x69b5('0x56')](()=>{let _0x5cf7db=!0x1;const _0x30f3ce=Array['from'](_0x1d5b19[_0x69b5('0x35')][_0x69b5('0x9b')][_0x69b5('0xf')][_0x69b5('0x20')]());for(const {name:_0x511e1a,data:_0x5e92b0}of _0x30f3ce){const {group:_0x2739d4,type:_0x3e3f65,id:_0x102b9}=_0x50a9e6[_0x69b5('0x78')](_0x511e1a);if(_0x69b5('0x90')!=_0x2739d4||_0x69b5('0x55')!=_0x3e3f65||_0x5e92b0['oldRange'])continue;if(!_0x50a9e6[_0x69b5('0x71')](_0x102b9))continue;const _0x559726=_0x50a9e6[_0x69b5('0x3b')](_0x102b9)[_0x69b5('0x13')](),_0x178cde=_0x1d5b19[_0x69b5('0x31')]['get'](_0x69b5('0x96'))['me'];for(const _0x3fecf8 of _0x50a9e6[_0x69b5('0x47')]()){if(!_0x3fecf8[_0x69b5('0x16')]||_0x3fecf8[_0x69b5('0x5')]!=_0x178cde)continue;if(_0x69b5('0x7b')!=_0x3fecf8[_0x69b5('0x3')]||_0x69b5('0x43')!=_0x3fecf8[_0x69b5('0x4b')])continue;if(_0x3fecf8['getRanges']()[_0x69b5('0x3e')](_0x4d519c=>_0x559726['some'](_0x2c7435=>_0x2c7435[_0x69b5('0x10')](_0x4d519c,!0x0))))for(const _0x48fb86 of _0x3fecf8[_0x69b5('0x99')]())_0x48fb86[_0x69b5('0x16')]&&(_0x48fb86[_0x69b5('0x84')](),_0x5cf7db=!0x0);}}return _0x5cf7db;}),_0x1d5b19['model'][_0x69b5('0x9b')][_0x69b5('0x56')](_0x5aac7d=>{const _0x30786d=_0x1d5b19[_0x69b5('0x95')][_0x69b5('0x9')](_0x69b5('0x17'));if(!_0x30786d||!_0x30786d[_0x69b5('0x60')][_0x69b5('0x57')](_0x5aac7d[_0x69b5('0x49')]))return!0x1;let _0x4bcb09=!0x1;const _0x4d7ff5=_0x1d5b19[_0x69b5('0x31')]['get'](_0x69b5('0x96'))['me'],_0x5bef01=_0x1d5b19['model'][_0x69b5('0x9b')][_0x69b5('0xf')][_0x69b5('0x39')](),_0x4283d4=Array[_0x69b5('0x70')](_0x1d5b19['model']['document'][_0x69b5('0xf')][_0x69b5('0x20')]())[_0x69b5('0x38')](({name:_0x385fbf,data:_0x1cb679})=>{const {group:_0x4d35a2,subType:_0x2489fa,authorId:_0x4e8b09}=_0x50a9e6[_0x69b5('0x78')](_0x385fbf);return _0x69b5('0x90')==_0x4d35a2&&_0x69b5('0x37')==_0x2489fa&&_0x4e8b09==_0x4d7ff5['id']&&!_0x1cb679['oldRange'];});for(const _0x338203 of _0x5bef01){if(_0x69b5('0x41')!=_0x338203[_0x69b5('0x3')]||_0x69b5('0x34')!=_0x338203['name']||0x1!=_0x338203[_0x69b5('0x5d')])continue;const _0x4382f5=_0x5aac7d[_0x69b5('0xb')](_0x338203[_0x69b5('0x8e')],_0x338203[_0x69b5('0x8e')][_0x69b5('0xa')](0x1));if(!_0x4283d4[_0x69b5('0x9e')](({data:_0x523dc7})=>_0x523dc7[_0x69b5('0x76')][_0x69b5('0x42')](_0x4382f5)))for(const {name:_0x2e4d04,data:_0xde8849}of _0x4283d4)if(_0x4382f5[_0x69b5('0x10')](_0xde8849['newRange'])){_0x5aac7d[_0x69b5('0x1d')](_0x2e4d04,{'range':_0x4382f5}),_0x4bcb09=!0x0;break;}}return _0x4bcb09;}),_0x1d5b19[_0x69b5('0x35')][_0x69b5('0x9b')][_0x69b5('0x56')](_0x2e7396=>{let _0x3baed6=!0x1;const _0x5fa996=_0x1d5b19[_0x69b5('0x31')][_0x69b5('0x9')]('Users')['me'],_0x15b850=_0x50a9e6[_0x69b5('0x47')]()[_0x69b5('0x38')](_0x1a79eb=>_0x1a79eb[_0x69b5('0x16')]&&_0x1a79eb[_0x69b5('0x5')]==_0x5fa996),_0x350b0d=new Set(),_0x147c0c=new Set();for(const _0x21adc0 of _0x15b850)if(_0x69b5('0x37')==_0x21adc0['subType'])for(const _0x57403d of _0x21adc0[_0x69b5('0x9c')]()){const _0x39a4c7=_0x57403d[_0x69b5('0xa1')]()['getContainedElement']();if(_0x39a4c7){if(_0x39a4c7['is'](_0x69b5('0x7e'),_0x69b5('0x34'))&&ce(_0x39a4c7)){_0x21adc0[_0x69b5('0x7a')](_0x57403d[_0x69b5('0x1')]),_0x350b0d['add'](_0x39a4c7),_0x3baed6=!0x0;const _0x382c7b=_0x39a4c7[_0x69b5('0x40')],_0x5791e6=_0x39a4c7['previousSibling'],_0x49139d=_0x382c7b&&_0x382c7b['is'](_0x69b5('0x7e'),'tableCellSuggestion'),_0x35d4b2=_0x5791e6&&_0x5791e6['is'](_0x69b5('0x7e'),_0x69b5('0x34'));_0x49139d&&!_0x350b0d[_0x69b5('0x57')](_0x382c7b)&&_0x147c0c[_0x69b5('0x8a')](_0x382c7b),_0x35d4b2&&!_0x350b0d[_0x69b5('0x57')](_0x5791e6)&&_0x147c0c[_0x69b5('0x8a')](_0x5791e6);}else _0x39a4c7['is'](_0x69b5('0x7e'),'paragraph')&&_0x39a4c7[_0x69b5('0x72')]&&(_0x21adc0[_0x69b5('0x7a')](_0x57403d[_0x69b5('0x1')]),_0x3baed6=!0x0);}}else{if(_0x69b5('0x43')==_0x21adc0[_0x69b5('0x4b')]){if(!_0x21adc0[_0x69b5('0x82')]||!_0x21adc0['attributes']['tablePasteChainId'])continue;const _0x10a83d=_0x21adc0[_0x69b5('0x82')][_0x69b5('0x48')];if(_0x10a83d&&Object['keys'](_0x10a83d)[_0x69b5('0x5d')])continue;const _0x4ddb3b=_0x21adc0[_0x69b5('0x82')][_0x69b5('0xc')];let _0x14b471=!0x0,_0x5f0a68=!0x0;for(const _0x5148a0 of _0x15b850)if(_0x5148a0[_0x69b5('0x4b')]&&_0x5148a0[_0x69b5('0x4b')][_0x69b5('0x8f')](_0x69b5('0x37'))){if(!_0x5148a0[_0x69b5('0x82')][_0x69b5('0xc')]){_0x5f0a68=!0x1;break;}if(_0x5148a0['id']!=_0x21adc0['id']&&_0x5148a0[_0x69b5('0x82')][_0x69b5('0xc')]==_0x4ddb3b){_0x14b471=!0x1;break;}}_0x5f0a68&&_0x14b471&&(_0x21adc0[_0x69b5('0x79')](),_0x3baed6=!0x0);}}for(const _0x3b22ad of _0x350b0d)_0x2e7396[_0x69b5('0x85')](_0x3b22ad);for(const _0x2a58c8 of _0x147c0c)_0x2e7396[_0x69b5('0x2d')](_0x2a58c8);return _0x3baed6;}),_0x1d5b19[_0x69b5('0x80')][_0x69b5('0x4')](_0x69b5('0x2f'))[_0x69b5('0x64')]({'model':'suggestion:formatBlock:tablePasteCell','view':(_0x36def7,_0x2155b8)=>_0x2d66b9(_0x36def7),'converterPriority':_0x69b5('0x5c')}),_0x1d5b19[_0x69b5('0x80')][_0x69b5('0x4')]('dataDowncast')['markerToHighlight']({'model':'suggestion:formatBlock:tablePasteCell','view':(_0x555331,_0x574464)=>_0x574464[_0x69b5('0x33')][_0x69b5('0x7')]?_0x2d66b9(_0x555331,!0x1):null,'converterPriority':_0x69b5('0x5c')});const _0x5a5032=_0x1d5b19[_0x69b5('0x8d')][_0x69b5('0x8b')];this[_0x69b5('0x6f')](_0x5a5032[_0x69b5('0x9b')],'clipboardOutput',(_0x361139,_0x5931e1)=>{const _0x332e5b=[];for(const _0x44afb9 of _0x5a5032[_0x69b5('0x4e')](_0x5931e1['content'])[_0x69b5('0x92')]())_0x44afb9['is'](_0x69b5('0x7e'),_0x69b5('0x81'))&&_0x332e5b['push'](_0x44afb9);_0x5a5032[_0x69b5('0x6')](_0x529f1c=>{for(const _0x1db303 of _0x332e5b)_0x529f1c[_0x69b5('0x54')](_0x529f1c[_0x69b5('0x4e')](_0x1db303),_0x529f1c[_0x69b5('0x98')](_0x1db303)),_0x529f1c[_0x69b5('0x85')](_0x1db303);});});}}function ce(_0x31e540){if(_0x31e540[_0x69b5('0x72')])return!0x0;const _0x3e0839=_0x31e540[_0x69b5('0x52')](0x0);return _0x3e0839['is'](_0x69b5('0x7e'),_0x69b5('0x4a'))&&_0x3e0839[_0x69b5('0x72')];}function fe(_0x1f75b4,_0xc25854={},_0x454f16){for(const {isAnchor:_0x2ade60,cellHeight:_0x5e1bb7,cellWidth:_0x2652da}of _0x454f16[_0x69b5('0x67')](_0x1f75b4,{'includeAllSlots':!0x0,..._0xc25854}))if(!_0x2ade60||0x1!=_0x5e1bb7||0x1!=_0x2652da)return!0x1;return!0x0;}
23
+ const _0x31be=['containsRange','removeColumns','documentSelection','for','return','startsWith','getSelectionAffectedTableCells','suggestion:formatBlock:tablePasteCell','Users','length','view','showSuggestionHighlights','isEmpty','includes','unwrap','newRange','oldRange','suggestion','formatBlock','markMultiRangeInsertion','remove','*Replace\x20table\x20cells*','getAllAdjacentSuggestions','createRangeIn','row','columnInsertionIndexes','getSuggestion','registerPostFixer','requires','register','getMarkers','rootName','markerName','entries','getChildren','_splitMarkerName','accept','discard','locale','afterInit','_tablePostFixingSubtypes','rowInsertionIndexes','updateMarker','end','column','TableUtils','nodeAfter','removeMarker','$graveyard','add','tableCell','editor','fill','has','tableCellPadding','find','markerAttributes','deletion','suggestionLoaded','get','activeMarkers','tableCellSuggestion','from','getSuggestionCallback','cell','insertion','redo','getColumns','attributes','listenTo','subType','table','_createdBatches','stop','tableCellBackgroundColor','forceDefaultExecution','getSuggestions','markers','document','ck-suggestion-marker-insertion','suggestion-td','_descriptionFactory','getChild','trackChanges','value','isInContent','name','start','content','tablePasteChainId','set','createElement','clipboardOutput','dataDowncast','position','fromEntries','paragraph','author','map','findAncestor','getChangedMarkers','isEqual','insert','createTableWalker','insertRows','low','insertionRanges','differ','previous','getContainedElement','endRow','cells','getColumnIndexes','commands','_getCoordsForCells','elementToElement','insertContent','getAttributes','ck-suggestion-marker--active','setAttribute','type','getRowIndexes','ck-suggestion-marker','getChanges','endColumn','getShiftedBy','createRangeOn','tablePaste','filter','TableClipboard','conversion','tableCellHorizontalAlignment','high','join','options','every','_replaceTableSlotCell','last','getRange','editingDowncast','change','removeMarkers','tablePasteRow','model','element','push','root','_suggestionFactory','tableCellVerticalAlignment','first','tableCellBorderWidth','registerCustomCallback','editing','schema','some','tablePasteCell','plugins','markerToHighlight','tablePasteColumn'];(function(_0x3ec0e5,_0x31be3a){const _0x3ae30e=function(_0x40cde4){while(--_0x40cde4){_0x3ec0e5['push'](_0x3ec0e5['shift']());}};_0x3ae30e(++_0x31be3a);}(_0x31be,0x74));const _0x3ae3=function(_0x3ec0e5,_0x31be3a){_0x3ec0e5=_0x3ec0e5-0x0;let _0x3ae30e=_0x31be[_0x3ec0e5];return _0x3ae30e;};import{getTranslation as _0x3dd291}from'../utils/common-translations.js';import{Plugin as _0x1fc626}from'ckeditor5/src/core.js';import{uid as _0x2958d3,priorities as _0xb4d721}from'ckeditor5/src/utils.js';import _0x310d47 from'./table.js';const le=[_0x3ae3('0x22'),'tableCellBorderColor','tableCellBorderStyle',_0x3ae3('0xf'),_0x3ae3('0x20'),_0x3ae3('0x75'),_0x3ae3('0x61')],ae=Object[_0x3ae3('0x8a')](le[_0x3ae3('0x8d')](_0x3efc3e=>[_0x3efc3e,null]));export default class St extends _0x1fc626{static get[_0x3ae3('0x47')](){return[_0x310d47];}[_0x3ae3('0x52')](){const _0x338455=this[_0x3ae3('0x5e')];if(!_0x338455[_0x3ae3('0x28')][_0x3ae3('0x60')]('TableClipboard'))return;const _0x3d49a9=_0x338455['plugins']['get']('TrackChangesEditing'),_0x452719=_0x338455[_0x3ae3('0x28')][_0x3ae3('0x66')](_0x3ae3('0x58')),_0x10d162=_0x338455[_0x3ae3('0x28')][_0x3ae3('0x66')](_0x310d47),_0x554e88=_0x338455['plugins'][_0x3ae3('0x66')](_0x3ae3('0xd'));_0x10d162[_0x3ae3('0x53')][_0x3ae3('0x1d')]('tablePasteRow','tablePasteColumn'),_0x338455['model'][_0x3ae3('0x25')][_0x3ae3('0x48')](_0x3ae3('0x68'),{'allowIn':_0x3ae3('0x5d'),'allowContentOf':_0x3ae3('0x5d'),'isLimit':!0x0}),_0x338455['conversion'][_0x3ae3('0x9e')]({'model':_0x3ae3('0x68'),'view':_0x3ae3('0x7b')});let _0x3c8c01=null;_0x338455[_0x3ae3('0x1b')]['on']('insertContent',(_0x382d00,_0x3c8a54)=>{const [_0x54b921,_0x5aec97]=_0x3c8a54,_0x3ce992=_0x3c8a54[_0x3c8a54['length']-0x1];_0x3ce992&&_0x3ce992[_0x3ae3('0x76')]||_0x3d49a9['_isForcedDefaultExecutionBlock']||this[_0x3ae3('0x5e')][_0x3ae3('0x9c')][_0x3ae3('0x66')](_0x3ae3('0x7e'))[_0x3ae3('0x7f')]&&function(_0x4ca2f1,_0x303bb3,_0x153f2d,_0x46fd18,_0xb09a9d){if(_0x303bb3&&!_0x303bb3['is'](_0x3ae3('0x2d')))return!0x1;const _0x4c46b7=_0xb09a9d['getTableIfOnlyTableInContent'](_0x4ca2f1,_0x153f2d);if(!_0x4c46b7||!fe(_0x4c46b7,void 0x0,_0x46fd18))return!0x1;const _0x4ae31b=_0x46fd18[_0x3ae3('0x31')](_0x153f2d[_0x3ae3('0x79')]['selection']);if(!_0x4ae31b[_0x3ae3('0x34')])return!0x1;const _0x4bef63=_0x4ae31b[0x0]['findAncestor']('table'),_0x72248d=_0x46fd18[_0x3ae3('0x5')](_0x4ae31b),_0x1dd1e8=_0x46fd18[_0x3ae3('0x9b')](_0x4ae31b),_0x50dce1={'startRow':_0x72248d['first'],'endRow':_0x72248d[_0x3ae3('0x15')],'startColumn':_0x1dd1e8[_0x3ae3('0x21')],'endColumn':_0x1dd1e8[_0x3ae3('0x15')]};return 0x1==_0x4ae31b[_0x3ae3('0x34')]&&(_0x50dce1[_0x3ae3('0x99')]+=_0x46fd18['getRows'](_0x4c46b7)-0x1,_0x50dce1[_0x3ae3('0x8')]+=_0x46fd18[_0x3ae3('0x6e')](_0x4c46b7)-0x1),fe(_0x4bef63,_0x50dce1,_0x46fd18);}(_0x54b921,_0x5aec97,_0x338455[_0x3ae3('0x1b')],_0x452719,_0x554e88)&&(_0x382d00[_0x3ae3('0x74')](),_0x3c8c01={'cells':[],'insertionRanges':[],'deletionRanges':[],'rowInsertionRanges':[],'rowInsertionIndexes':[],'columnInsertionRanges':[],'columnInsertionIndexes':[]},_0x338455['model'][_0x3ae3('0x18')](()=>{_0x338455[_0x3ae3('0x1b')][_0x3ae3('0x0')](_0x3c8a54[0x0],_0x3c8a54[0x1],_0x3c8a54[0x2],{'forceDefaultExecution':!0x0});const _0x5f1941=_0x2958d3(),{rowInsertionRanges:_0x31191f,columnInsertionRanges:_0x59651b,insertionRanges:_0x32d4b9,deletionRanges:_0x3c2e2f,cells:_0x3b26a9}=_0x3c8c01;_0x31191f[_0x3ae3('0x34')]&&_0x3d49a9['markMultiRangeInsertion'](_0x31191f,_0x3ae3('0x1a'),{'tablePasteChainId':_0x5f1941}),_0x59651b[_0x3ae3('0x34')]&&_0x3d49a9[_0x3ae3('0x3e')](_0x59651b,_0x3ae3('0x2a'),{'tablePasteChainId':_0x5f1941}),_0x32d4b9['length']&&_0x3d49a9[_0x3ae3('0x3e')](_0x32d4b9,'tablePaste',{'tablePasteChainId':_0x5f1941,'skipNestingCheck':!0x0}),_0x3c2e2f[_0x3ae3('0x34')]&&_0x3d49a9['markMultiRangeDeletion'](_0x3c2e2f,_0x3ae3('0xb'),{'tablePasteChainId':_0x5f1941,'skipNestingCheck':!0x0});const _0x5e327e=_0x3d49a9['markMultiRangeBlockFormat'](_0x3b26a9['map'](({element:_0x382a07})=>_0x382a07),{'formatGroupId':_0x2958d3()},[],_0x3ae3('0x27'),{'tablePasteChainId':_0x5f1941});if(_0x5e327e){const _0x45efdb=_0x5e327e['getMarkers'](),_0x54f50c=[];for(const {element:_0x22c53b,attributes:_0x2a3acc}of _0x3b26a9){if(!_0x2a3acc)continue;const _0x12575a=_0x338455[_0x3ae3('0x1b')][_0x3ae3('0xa')](_0x22c53b),_0x38a2b5=_0x45efdb[_0x3ae3('0x62')](_0x544c71=>_0x544c71[_0x3ae3('0x16')]()[_0x3ae3('0x90')](_0x12575a));_0x38a2b5&&_0x54f50c[_0x3ae3('0x1d')]([_0x38a2b5[_0x3ae3('0x81')],_0x2a3acc]);}_0x54f50c[_0x3ae3('0x34')]&&_0x5e327e[_0x3ae3('0x3')](_0x3ae3('0x63'),Object[_0x3ae3('0x8a')](_0x54f50c));}_0x3c8c01=null;}));},{'priority':_0xb4d721[_0x3ae3('0x10')]+0xa}),_0x338455[_0x3ae3('0x28')][_0x3ae3('0x66')](_0x3ae3('0xd'))['on'](_0x3ae3('0x14'),(_0x425b8e,_0x3127c3)=>{const [_0x1c7bd1,_0x115825,,_0x2377fb]=_0x3127c3;if(!_0x3c8c01)return;_0x425b8e[_0x3ae3('0x74')]();const _0x2681e0=_0x1c7bd1[_0x3ae3('0x6b')],_0x9a1d38=_0x115825,_0x28b7fa=ce(_0x2681e0),_0x2e700c=ce(_0x9a1d38);_0x425b8e[_0x3ae3('0x2f')]=_0x2681e0;let _0x19d34f=null,_0xe2bd3a=null;if(_0x2e700c||_0x28b7fa){if(_0x28b7fa&&!_0x2e700c){_0x2377fb[_0x3ae3('0x3f')](_0x2681e0[_0x3ae3('0x7d')](0x0));for(const _0x3ca60c of Array[_0x3ae3('0x69')](_0x9a1d38[_0x3ae3('0x4d')]()))_0x2377fb[_0x3ae3('0x91')](_0x3ca60c,_0x2681e0,_0x3ae3('0x56'));const _0x17eea2=_0x3c8c01['rowInsertionIndexes'][_0x3ae3('0x38')](_0x1c7bd1[_0x3ae3('0x43')]),_0x260814=_0x3c8c01[_0x3ae3('0x44')][_0x3ae3('0x38')](_0x1c7bd1[_0x3ae3('0x57')]);_0x17eea2||_0x260814||(_0x19d34f=_0x2377fb['createRangeIn'](_0x2681e0));}else _0x2e700c&&!_0x28b7fa&&(_0xe2bd3a=_0x2377fb[_0x3ae3('0x42')](_0x2681e0));}else{const _0x5a62d3=_0x2377fb['createElement'](_0x3ae3('0x68')),_0x26baa6=_0x2377fb[_0x3ae3('0x86')](_0x3ae3('0x68'));_0x2377fb['wrap'](_0x2377fb[_0x3ae3('0x42')](_0x2681e0),_0x26baa6),_0x2377fb[_0x3ae3('0x91')](_0x5a62d3,_0x2681e0,0x0);for(const _0xedeef6 of Array['from'](_0x9a1d38['getChildren']()))_0x2377fb[_0x3ae3('0x91')](_0xedeef6,_0x5a62d3,_0x3ae3('0x56'));_0x19d34f=_0x2377fb['createRangeOn'](_0x5a62d3),_0xe2bd3a=_0x2377fb[_0x3ae3('0xa')](_0x26baa6);}const _0x41e52a=Array[_0x3ae3('0x69')](_0x9a1d38[_0x3ae3('0x1')]())['filter'](([_0x3ff7e0])=>le[_0x3ae3('0x38')](_0x3ff7e0));_0x3c8c01[_0x3ae3('0x9a')][_0x3ae3('0x1d')]({'element':_0x2681e0,'attributes':_0x41e52a[_0x3ae3('0x34')]?Object[_0x3ae3('0x8a')](_0x41e52a):null}),_0x19d34f&&_0x3c8c01[_0x3ae3('0x95')][_0x3ae3('0x1d')](_0x19d34f),_0xe2bd3a&&_0x3c8c01['deletionRanges'][_0x3ae3('0x1d')](_0xe2bd3a);},{'priority':_0x3ae3('0x10')}),_0x452719['on']('insertColumns',(_0x572776,_0x11c0eb)=>{const [_0x1bb732,_0x27e015={}]=_0x11c0eb;if(!_0x3c8c01)return;const _0x1396f7=_0x27e015['at']||0x0,_0x35c70c=_0x27e015['columns']||0x1;_0x3c8c01[_0x3ae3('0x44')]=new Array(_0x35c70c)['fill'](_0x1396f7)[_0x3ae3('0x8d')]((_0x345965,_0x480aa0)=>_0x345965+_0x480aa0);for(const {cell:_0xc142ee}of _0x452719[_0x3ae3('0x92')](_0x1bb732,{'startColumn':_0x1396f7,'endColumn':_0x1396f7+_0x35c70c-0x1}))_0x3c8c01['columnInsertionRanges']['push'](_0x338455[_0x3ae3('0x1b')][_0x3ae3('0xa')](_0xc142ee));},{'priority':_0x3ae3('0x94')}),_0x452719['on'](_0x3ae3('0x93'),(_0x266aa5,_0x391ec1)=>{const [_0x1d745a,_0x36236e={}]=_0x391ec1;if(!_0x3c8c01)return;const _0x5eb8b4=_0x36236e['at']||0x0,_0x5ce661=_0x36236e['rows']||0x1;_0x3c8c01[_0x3ae3('0x54')]=new Array(_0x5ce661)[_0x3ae3('0x5f')](_0x5eb8b4)['map']((_0x29ecb3,_0x38f740)=>_0x29ecb3+_0x38f740);for(const {cell:_0xcfe1a1}of _0x452719[_0x3ae3('0x92')](_0x1d745a,{'startRow':_0x5eb8b4,'endRow':_0x5eb8b4+_0x5ce661-0x1}))_0x3c8c01['rowInsertionRanges']['push'](_0x338455[_0x3ae3('0x1b')]['createRangeOn'](_0xcfe1a1));},{'priority':'low'}),_0x3d49a9[_0x3ae3('0x7c')]['registerDescriptionCallback'](_0xf9d21c=>{if(_0xf9d21c[_0x3ae3('0x71')]&&_0xf9d21c[_0x3ae3('0x71')][_0x3ae3('0x30')](_0x3ae3('0xb')))return _0xf9d21c['previous']?{}:{'type':_0x3ae3('0x6c'),'content':_0x3dd291(_0x338455[_0x3ae3('0x51')],_0x3ae3('0x40'))};});const _0x1533e2=()=>!0x1;for(const _0x33e77e of[_0x3ae3('0xb'),_0x3ae3('0x2a'),_0x3ae3('0x1a'),'tablePasteCell'])_0x3d49a9[_0x3ae3('0x1f')][_0x3ae3('0x23')]('insertion',_0x33e77e,_0x3ae3('0x11'),_0x1533e2),_0x3d49a9[_0x3ae3('0x1f')][_0x3ae3('0x23')](_0x3ae3('0x64'),_0x33e77e,_0x3ae3('0x11'),_0x1533e2),_0x3d49a9[_0x3ae3('0x1f')][_0x3ae3('0x23')]('formatBlock',_0x33e77e,_0x3ae3('0x11'),_0x1533e2);_0x3d49a9[_0x3ae3('0x1f')][_0x3ae3('0x23')](_0x3ae3('0x3d'),_0x3ae3('0x27'),_0x3ae3('0x50'),_0x1533e2),_0x3d49a9[_0x3ae3('0x1f')][_0x3ae3('0x23')](_0x3ae3('0x3d'),_0x3ae3('0x27'),_0x3ae3('0x4f'),(_0x172278,_0x37a60b,_0x2a8454)=>{const _0x49b36c=_0x172278['map'](_0x1b8535=>_0x1b8535[_0x3ae3('0x98')]())['filter'](_0x446c1e=>_0x446c1e),_0x25b1bb=new Map(_0x49b36c[_0x3ae3('0x8d')](_0x33e5ac=>[_0x33e5ac,null]));if(_0x3c8c01)for(const {element:_0x71d585,attributes:_0x4f7e9f}of _0x3c8c01[_0x3ae3('0x9a')])_0x4f7e9f&&_0x25b1bb['set'](_0x71d585,_0x4f7e9f);else{if(_0x2a8454&&_0x2a8454['markerAttributes'])for(const [_0xb6ce5d,_0x46e8db]of Object[_0x3ae3('0x4c')](_0x2a8454['markerAttributes'])){const _0x2a03c3=_0x338455[_0x3ae3('0x1b')][_0x3ae3('0x78')][_0x3ae3('0x66')](_0xb6ce5d),_0x5bea11=_0x2a03c3?_0x2a03c3[_0x3ae3('0x16')]()[_0x3ae3('0x98')]():null;_0x5bea11&&_0x25b1bb[_0x3ae3('0x85')](_0x5bea11,_0x46e8db);}}_0x338455[_0x3ae3('0x1b')][_0x3ae3('0x18')](_0x298e88=>{for(const [_0x1c553,_0x332f56]of _0x25b1bb)_0x298e88['setAttributes']({...ae,..._0x332f56},_0x1c553);});});const _0x40dac1=(_0x57db98,_0x54ea95)=>{_0x3d49a9[_0x3ae3('0x1f')][_0x3ae3('0x23')](_0x57db98,_0x3ae3('0xb'),_0x54ea95,(_0x19b881,_0xda29ca,_0x4956c6)=>{_0x338455['model'][_0x3ae3('0x18')](_0x269254=>{const _0x16d2bc=[];for(const _0x1b7711 of _0x19b881){const _0x266c70=_0x1b7711[_0x3ae3('0x82')][_0x3ae3('0x59')];_0x266c70['is'](_0x3ae3('0x1c'),_0x3ae3('0x68'))&&_0x16d2bc[_0x3ae3('0x1d')](_0x266c70);}_0x3d49a9[_0x3ae3('0x1f')][_0x3ae3('0x6a')](_0x57db98,null,_0x54ea95)(_0x19b881,_0xda29ca,_0x4956c6);for(const _0xbd7acc of _0x16d2bc)_0x3ae3('0x5b')!=_0xbd7acc[_0x3ae3('0x1e')][_0x3ae3('0x4a')]&&_0x269254[_0x3ae3('0x39')](_0xbd7acc);});});};_0x40dac1('insertion','accept'),_0x40dac1(_0x3ae3('0x6c'),_0x3ae3('0x50')),_0x40dac1(_0x3ae3('0x64'),_0x3ae3('0x4f')),_0x40dac1(_0x3ae3('0x64'),_0x3ae3('0x50')),_0x3d49a9[_0x3ae3('0x1f')]['registerCustomCallback']('insertion','tablePasteRow',_0x3ae3('0x50'),_0x2448b6=>{const _0x398eb0=_0x2448b6[_0x3ae3('0x8d')](_0x1b09a9=>_0x1b09a9[_0x3ae3('0x98')]()),_0x14d263=_0x398eb0[0x0][_0x3ae3('0x8e')](_0x3ae3('0x72')),{minRow:_0x24c930,maxRow:_0x5de03c}=_0x10d162[_0x3ae3('0x9d')](_0x398eb0);_0x452719['removeRows'](_0x14d263,{'at':_0x24c930,'rows':_0x5de03c-_0x24c930+0x1});}),_0x3d49a9[_0x3ae3('0x1f')]['registerCustomCallback']('insertion',_0x3ae3('0x2a'),'discard',_0x592fd3=>{const _0x45c916=_0x592fd3[_0x3ae3('0x8d')](_0x52c675=>_0x52c675[_0x3ae3('0x98')]()),_0x4a1208=_0x45c916[0x0][_0x3ae3('0x8e')](_0x3ae3('0x72')),{minColumn:_0x4a53ec,maxColumn:_0x308f5e}=_0x10d162['_getCoordsForCells'](_0x45c916);_0x452719[_0x3ae3('0x2c')](_0x4a1208,{'at':_0x4a53ec,'columns':_0x308f5e-_0x4a53ec+0x1});});const _0x5d6818=(_0x1461ec,_0x4d96c6)=>{if(!_0x4d96c6[_0x3ae3('0x71')]||!_0x4d96c6[_0x3ae3('0x71')]['startsWith'](_0x3ae3('0xb')))return;const _0x56bae7=_0x4d96c6[_0x3ae3('0x6f')]['tablePasteChainId'],_0x150676=_0x3d49a9[_0x3ae3('0x77')]()[_0x3ae3('0xc')](_0x1e03bc=>_0x1e03bc[_0x3ae3('0x80')]&&_0x1e03bc[_0x3ae3('0x6f')]&&_0x1e03bc[_0x3ae3('0x6f')][_0x3ae3('0x84')]==_0x56bae7);_0x150676[_0x3ae3('0x34')]&&_0x4d96c6[_0x3ae3('0x41')]()[_0x3ae3('0x34')]!=_0x150676[_0x3ae3('0x34')]&&_0x150676['reduce']((_0x37cd9e,_0x3ec159)=>(_0x37cd9e['next']=_0x3ec159,_0x3ec159[_0x3ae3('0x97')]=_0x37cd9e,_0x3ec159));};function _0x2b4544(_0x5c81e9,_0x2d085f=!0x0){const {id:_0xac0f4e}=_0x3d49a9['_splitMarkerName'](_0x5c81e9['markerName']),_0x4398b0=[_0x3ae3('0x6'),_0x3ae3('0x7a')],_0x32297d=_0x3d49a9[_0x3ae3('0x67')][_0x3ae3('0x38')](_0x5c81e9[_0x3ae3('0x4b')]);return _0x32297d&&_0x4398b0[_0x3ae3('0x1d')](_0x3ae3('0x2')),{'classes':_0x4398b0,'attributes':{'data-suggestion':_0xac0f4e},'priority':_0x32297d&&_0x2d085f?0xbc2:0xbb8};}_0x3d49a9['on'](_0x3ae3('0x65'),_0x5d6818,{'priority':'high'}),_0x3d49a9['on']('suggestionUnloaded',_0x5d6818,{'priority':_0x3ae3('0x10')}),_0x338455[_0x3ae3('0x1b')][_0x3ae3('0x79')]['registerPostFixer'](()=>{let _0x2d2740=!0x1;const _0x3209a2=Array[_0x3ae3('0x69')](_0x338455['model'][_0x3ae3('0x79')][_0x3ae3('0x96')][_0x3ae3('0x8f')]());for(const {name:_0x59acb9,data:_0x53ab8c}of _0x3209a2){const {group:_0x3cc071,type:_0x142f1d,id:_0x2d3dcc}=_0x3d49a9[_0x3ae3('0x4e')](_0x59acb9);if(_0x3ae3('0x3c')!=_0x3cc071||_0x3ae3('0x64')!=_0x142f1d||_0x53ab8c[_0x3ae3('0x3b')])continue;if(!_0x3d49a9['hasSuggestion'](_0x2d3dcc))continue;const _0x4d2414=_0x3d49a9[_0x3ae3('0x45')](_0x2d3dcc)['getRanges'](),_0x318277=_0x338455[_0x3ae3('0x28')][_0x3ae3('0x66')](_0x3ae3('0x33'))['me'];for(const _0x4d3d68 of _0x3d49a9['getSuggestions']()){if(!_0x4d3d68[_0x3ae3('0x80')]||_0x4d3d68[_0x3ae3('0x8c')]!=_0x318277)continue;if(_0x3ae3('0x3d')!=_0x4d3d68[_0x3ae3('0x4')]||'tablePasteCell'!=_0x4d3d68['subType'])continue;if(_0x4d3d68['getRanges']()[_0x3ae3('0x13')](_0x49623d=>_0x4d2414[_0x3ae3('0x26')](_0x15d5bf=>_0x15d5bf[_0x3ae3('0x2b')](_0x49623d,!0x0))))for(const _0x54080b of _0x4d3d68[_0x3ae3('0x41')]())_0x54080b[_0x3ae3('0x80')]&&(_0x54080b[_0x3ae3('0x50')](),_0x2d2740=!0x0);}}return _0x2d2740;}),_0x338455[_0x3ae3('0x1b')]['document'][_0x3ae3('0x46')](_0x37bdf8=>{const _0x2023f3=_0x338455[_0x3ae3('0x9c')][_0x3ae3('0x66')](_0x3ae3('0x6d'));if(!_0x2023f3||!_0x2023f3[_0x3ae3('0x73')]['has'](_0x37bdf8['batch']))return!0x1;let _0x32856d=!0x1;const _0x44e602=_0x338455[_0x3ae3('0x28')][_0x3ae3('0x66')](_0x3ae3('0x33'))['me'],_0x269b97=_0x338455[_0x3ae3('0x1b')]['document'][_0x3ae3('0x96')][_0x3ae3('0x7')](),_0x34dbbd=Array[_0x3ae3('0x69')](_0x338455[_0x3ae3('0x1b')][_0x3ae3('0x79')]['differ']['getChangedMarkers']())[_0x3ae3('0xc')](({name:_0x2bd7e9,data:_0x3b8fd3})=>{const {group:_0x2896fd,subType:_0x21e7a3,authorId:_0x470762}=_0x3d49a9[_0x3ae3('0x4e')](_0x2bd7e9);return _0x3ae3('0x3c')==_0x2896fd&&_0x3ae3('0xb')==_0x21e7a3&&_0x470762==_0x44e602['id']&&!_0x3b8fd3[_0x3ae3('0x3b')];});for(const _0x2d4bdb of _0x269b97){if(_0x3ae3('0x91')!=_0x2d4bdb['type']||'tableCellSuggestion'!=_0x2d4bdb[_0x3ae3('0x81')]||0x1!=_0x2d4bdb['length'])continue;const _0x15a65f=_0x37bdf8['createRange'](_0x2d4bdb[_0x3ae3('0x89')],_0x2d4bdb['position'][_0x3ae3('0x9')](0x1));if(!_0x34dbbd[_0x3ae3('0x62')](({data:_0x158705})=>_0x158705[_0x3ae3('0x3a')][_0x3ae3('0x90')](_0x15a65f)))for(const {name:_0x1b0735,data:_0x4d67e5}of _0x34dbbd)if(_0x15a65f[_0x3ae3('0x2b')](_0x4d67e5[_0x3ae3('0x3a')])){_0x37bdf8[_0x3ae3('0x55')](_0x1b0735,{'range':_0x15a65f}),_0x32856d=!0x0;break;}}return _0x32856d;}),_0x338455[_0x3ae3('0x1b')][_0x3ae3('0x79')][_0x3ae3('0x46')](_0x451854=>{let _0x23a91a=!0x1;const _0x267bf6=_0x338455[_0x3ae3('0x28')]['get'](_0x3ae3('0x33'))['me'],_0x5ce2b3=_0x3d49a9[_0x3ae3('0x77')]()[_0x3ae3('0xc')](_0x5f5c8c=>_0x5f5c8c[_0x3ae3('0x80')]&&_0x5f5c8c[_0x3ae3('0x8c')]==_0x267bf6),_0x758c2c=new Set(),_0x38bb15=new Set();for(const _0x2c8ecb of _0x5ce2b3)if(_0x3ae3('0xb')==_0x2c8ecb['subType'])for(const _0x42ac37 of _0x2c8ecb[_0x3ae3('0x49')]()){const _0x1468b9=_0x42ac37[_0x3ae3('0x16')]()[_0x3ae3('0x98')]();if(_0x1468b9){if(_0x1468b9['is'](_0x3ae3('0x1c'),'tableCellSuggestion')&&ce(_0x1468b9)){_0x2c8ecb[_0x3ae3('0x5a')](_0x42ac37[_0x3ae3('0x81')]),_0x758c2c['add'](_0x1468b9),_0x23a91a=!0x0;const _0x3fc09f=_0x1468b9['nextSibling'],_0x2973bf=_0x1468b9['previousSibling'],_0xc5ef6f=_0x3fc09f&&_0x3fc09f['is'](_0x3ae3('0x1c'),_0x3ae3('0x68')),_0x58916f=_0x2973bf&&_0x2973bf['is'](_0x3ae3('0x1c'),_0x3ae3('0x68'));_0xc5ef6f&&!_0x758c2c['has'](_0x3fc09f)&&_0x38bb15[_0x3ae3('0x5c')](_0x3fc09f),_0x58916f&&!_0x758c2c[_0x3ae3('0x60')](_0x2973bf)&&_0x38bb15[_0x3ae3('0x5c')](_0x2973bf);}else _0x1468b9['is'](_0x3ae3('0x1c'),_0x3ae3('0x8b'))&&_0x1468b9[_0x3ae3('0x37')]&&(_0x2c8ecb[_0x3ae3('0x5a')](_0x42ac37[_0x3ae3('0x81')]),_0x23a91a=!0x0);}}else{if(_0x3ae3('0x27')==_0x2c8ecb[_0x3ae3('0x71')]){if(!_0x2c8ecb[_0x3ae3('0x6f')]||!_0x2c8ecb['attributes'][_0x3ae3('0x84')])continue;const _0x579bf6=_0x2c8ecb[_0x3ae3('0x6f')][_0x3ae3('0x63')];if(_0x579bf6&&Object['keys'](_0x579bf6)[_0x3ae3('0x34')])continue;const _0x2de9aa=_0x2c8ecb['attributes'][_0x3ae3('0x84')];let _0x4e6810=!0x0,_0x39b137=!0x0;for(const _0x97da70 of _0x5ce2b3)if(_0x97da70[_0x3ae3('0x71')]&&_0x97da70[_0x3ae3('0x71')][_0x3ae3('0x30')](_0x3ae3('0xb'))){if(!_0x97da70[_0x3ae3('0x6f')]['tablePasteChainId']){_0x39b137=!0x1;break;}if(_0x97da70['id']!=_0x2c8ecb['id']&&_0x97da70['attributes'][_0x3ae3('0x84')]==_0x2de9aa){_0x4e6810=!0x1;break;}}_0x39b137&&_0x4e6810&&(_0x2c8ecb[_0x3ae3('0x19')](),_0x23a91a=!0x0);}}for(const _0x4c957c of _0x758c2c)_0x451854[_0x3ae3('0x3f')](_0x4c957c);for(const _0x4bc3b0 of _0x38bb15)_0x451854[_0x3ae3('0x39')](_0x4bc3b0);return _0x23a91a;}),_0x338455['conversion']['for'](_0x3ae3('0x17'))['markerToHighlight']({'model':_0x3ae3('0x32'),'view':(_0x6a9ede,_0x4de4d1)=>_0x2b4544(_0x6a9ede),'converterPriority':_0x3ae3('0x10')}),_0x338455[_0x3ae3('0xe')][_0x3ae3('0x2e')](_0x3ae3('0x88'))[_0x3ae3('0x29')]({'model':_0x3ae3('0x32'),'view':(_0x1b945f,_0x405aa7)=>_0x405aa7[_0x3ae3('0x12')][_0x3ae3('0x36')]?_0x2b4544(_0x1b945f,!0x1):null,'converterPriority':_0x3ae3('0x10')});const _0x3eef45=_0x338455[_0x3ae3('0x24')][_0x3ae3('0x35')];this[_0x3ae3('0x70')](_0x3eef45[_0x3ae3('0x79')],_0x3ae3('0x87'),(_0x588f,_0x5bc04d)=>{const _0x37fde9=[];for(const _0x55f904 of _0x3eef45[_0x3ae3('0x42')](_0x5bc04d[_0x3ae3('0x83')])['getItems']())_0x55f904['is'](_0x3ae3('0x1c'),'suggestion-td')&&_0x37fde9[_0x3ae3('0x1d')](_0x55f904);_0x3eef45['change'](_0x7085a8=>{for(const _0x5da1ec of _0x37fde9)_0x7085a8['move'](_0x7085a8['createRangeIn'](_0x5da1ec),_0x7085a8['createPositionBefore'](_0x5da1ec)),_0x7085a8[_0x3ae3('0x3f')](_0x5da1ec);});});}}function ce(_0x780ee1){if(_0x780ee1[_0x3ae3('0x37')])return!0x0;const _0x114039=_0x780ee1[_0x3ae3('0x7d')](0x0);return _0x114039['is'](_0x3ae3('0x1c'),_0x3ae3('0x8b'))&&_0x114039[_0x3ae3('0x37')];}function fe(_0x207bf9,_0x57430a={},_0x416039){for(const {isAnchor:_0x4c5a34,cellHeight:_0x1e2dbb,cellWidth:_0x2d329d}of _0x416039[_0x3ae3('0x92')](_0x207bf9,{'includeAllSlots':!0x0,..._0x57430a}))if(!_0x4c5a34||0x1!=_0x1e2dbb||0x1!=_0x2d329d)return!0x1;return!0x0;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x575a=['type','formatInline','getAttribute','_suggestionFactory','commandParams','formatBlock','discard','resizeTableWidth','data','tableWidth','document','TrackChangesEditing','_descriptionFactory','handleResizeTableWidthCommand','registerCustomCallback','format','columnWidths','author','getContainedElement','getSuggestionCallback','editor','enableCommand','getSuggestions','afterInit','selection','handleSuggestionDescription','getTableColumnsWidths','resizeTable','plugins','locale','bind','formatGroupId','*Format:*\x20resize\x20table','getColumnGroupElement','get','accept','registerDescriptionCallback','model'];(function(_0x2c4d98,_0x575abe){const _0x51263c=function(_0x36e824){while(--_0x36e824){_0x2c4d98['push'](_0x2c4d98['shift']());}};_0x51263c(++_0x575abe);}(_0x575a,0x11e));const _0x5126=function(_0x2c4d98,_0x575abe){_0x2c4d98=_0x2c4d98-0x0;let _0x51263c=_0x575a[_0x2c4d98];return _0x51263c;};import{Plugin as _0x5c114b}from'ckeditor5/src/core.js';import{getTranslation as _0x5cd475}from'../utils/common-translations.js';export default class At extends _0x5c114b{[_0x5126('0x3')](){if(!this[_0x5126('0x0')][_0x5126('0x8')]['has']('TableColumnResizeEditing'))return;const _0x583311=this[_0x5126('0x0')][_0x5126('0x8')][_0x5126('0xe')](_0x5126('0x1d'));_0x583311[_0x5126('0x1')](_0x5126('0x19'),this[_0x5126('0x1f')][_0x5126('0xa')](this)),_0x583311[_0x5126('0x15')][_0x5126('0x20')](_0x5126('0x17'),_0x5126('0x7'),'accept',_0x583311[_0x5126('0x15')][_0x5126('0x25')](_0x5126('0x17'),null,_0x5126('0x18'))),_0x583311[_0x5126('0x15')]['registerCustomCallback'](_0x5126('0x17'),'resizeTable',_0x5126('0x18'),_0x583311[_0x5126('0x15')][_0x5126('0x25')](_0x5126('0x17'),null,_0x5126('0xf'))),_0x583311[_0x5126('0x1e')][_0x5126('0x10')](this[_0x5126('0x5')]['bind'](this));}['handleResizeTableWidthCommand'](_0x10240e,_0x4fb74){const _0x5e54bb=this[_0x5126('0x0')][_0x5126('0x8')]['get'](_0x5126('0x1d')),_0x222387=this[_0x5126('0x0')][_0x5126('0x8')][_0x5126('0xe')]('TableColumnResizeEditing'),_0x2e01ce=_0x4fb74['table']||this[_0x5126('0x0')][_0x5126('0x11')][_0x5126('0x1c')][_0x5126('0x4')]['getSelectedElement']();this[_0x5126('0x0')][_0x5126('0x11')]['change'](()=>{const _0x407690=_0x222387[_0x5126('0xd')](_0x2e01ce);let _0x194725=_0x407690?_0x222387[_0x5126('0x6')](_0x407690):null,_0x309ce0=_0x2e01ce[_0x5126('0x14')]('tableWidth')||null;const _0x26f776=_0x4fb74['tableWidth']||_0x309ce0,_0x3e942c=_0x4fb74['columnWidths']||_0x194725,_0x3edf7d=this[_0x5126('0x0')]['plugins'][_0x5126('0xe')]('Users')['me'];for(const _0x59ecfe of _0x5e54bb[_0x5126('0x2')]()){const _0x3208f8=_0x59ecfe[_0x5126('0x24')]();if('resizeTable'===_0x59ecfe['subType']&&_0x3208f8===_0x2e01ce){_0x59ecfe[_0x5126('0x23')]!==_0x3edf7d&&_0x59ecfe['discard']();const _0x3d70ac=_0x59ecfe[_0x5126('0x1a')][_0x5126('0x16')];_0x309ce0=_0x3d70ac[0x0][_0x5126('0x1b')],_0x194725=_0x3d70ac[0x0][_0x5126('0x22')];break;}}_0x10240e({'table':_0x2e01ce,'tableWidth':_0x26f776,'columnWidths':_0x3e942c}),_0x5e54bb['markBlockFormat'](_0x2e01ce,{'commandName':'resizeTableWidth','commandParams':[{'tableWidth':_0x309ce0,'columnWidths':_0x194725}],'formatGroupId':'resizeTable'},[],'resizeTable');});}[_0x5126('0x5')](_0x562f50){if(_0x5126('0x17')!=_0x562f50[_0x5126('0x12')]&&_0x5126('0x13')!=_0x562f50['type'])return;const {data:_0x95e975}=_0x562f50;if(_0x95e975&&_0x5126('0x7')===_0x95e975[_0x5126('0xb')]){const _0x4192bf=_0x5126('0xc');return{'type':_0x5126('0x21'),'content':_0x5cd475(this[_0x5126('0x0')][_0x5126('0x9')],_0x4192bf)};}}}
23
+ const _0x4d96=['getSelectedElement','document','getAttribute','format','getColumnGroupElement','Users','_suggestionFactory','plugins','get','resizeTable','columnWidths','table','model','getSuggestionCallback','afterInit','registerCustomCallback','formatGroupId','resizeTableWidth','TrackChangesEditing','registerDescriptionCallback','discard','change','handleResizeTableWidthCommand','tableWidth','getSuggestions','markBlockFormat','getTableColumnsWidths','TableColumnResizeEditing','data','formatBlock','type','subType','accept','editor','author','bind','_descriptionFactory','has'];(function(_0x357785,_0x4d9611){const _0x5312a6=function(_0x11c969){while(--_0x11c969){_0x357785['push'](_0x357785['shift']());}};_0x5312a6(++_0x4d9611);}(_0x4d96,0x144));const _0x5312=function(_0x357785,_0x4d9611){_0x357785=_0x357785-0x0;let _0x5312a6=_0x4d96[_0x357785];return _0x5312a6;};import{Plugin as _0x3fec20}from'ckeditor5/src/core.js';import{getTranslation as _0xa2f572}from'../utils/common-translations.js';export default class At extends _0x3fec20{[_0x5312('0x20')](){if(!this[_0x5312('0xd')][_0x5312('0x19')][_0x5312('0x11')](_0x5312('0x7')))return;const _0x7d38bc=this['editor']['plugins'][_0x5312('0x1a')](_0x5312('0x24'));_0x7d38bc['enableCommand'](_0x5312('0x23'),this[_0x5312('0x2')][_0x5312('0xf')](this)),_0x7d38bc[_0x5312('0x18')]['registerCustomCallback'](_0x5312('0x9'),'resizeTable',_0x5312('0xc'),_0x7d38bc[_0x5312('0x18')][_0x5312('0x1f')](_0x5312('0x9'),null,_0x5312('0x0'))),_0x7d38bc[_0x5312('0x18')][_0x5312('0x21')](_0x5312('0x9'),_0x5312('0x1b'),_0x5312('0x0'),_0x7d38bc[_0x5312('0x18')][_0x5312('0x1f')]('formatBlock',null,'accept')),_0x7d38bc[_0x5312('0x10')][_0x5312('0x25')](this['handleSuggestionDescription'][_0x5312('0xf')](this));}[_0x5312('0x2')](_0x9d7775,_0x5683e1){const _0x8255b3=this['editor'][_0x5312('0x19')]['get']('TrackChangesEditing'),_0x4ea86a=this[_0x5312('0xd')][_0x5312('0x19')][_0x5312('0x1a')](_0x5312('0x7')),_0x3d08a7=_0x5683e1[_0x5312('0x1d')]||this[_0x5312('0xd')][_0x5312('0x1e')][_0x5312('0x13')]['selection'][_0x5312('0x12')]();this[_0x5312('0xd')][_0x5312('0x1e')][_0x5312('0x1')](()=>{const _0x3c2a1e=_0x4ea86a[_0x5312('0x16')](_0x3d08a7);let _0x14304d=_0x3c2a1e?_0x4ea86a[_0x5312('0x6')](_0x3c2a1e):null,_0x37a99e=_0x3d08a7[_0x5312('0x14')]('tableWidth')||null;const _0x545dd6=_0x5683e1[_0x5312('0x3')]||_0x37a99e,_0x141c34=_0x5683e1[_0x5312('0x1c')]||_0x14304d,_0x185825=this[_0x5312('0xd')][_0x5312('0x19')][_0x5312('0x1a')](_0x5312('0x17'))['me'];for(const _0x24946e of _0x8255b3[_0x5312('0x4')]()){const _0x1f7a3b=_0x24946e['getContainedElement']();if(_0x5312('0x1b')===_0x24946e[_0x5312('0xb')]&&_0x1f7a3b===_0x3d08a7){_0x24946e[_0x5312('0xe')]!==_0x185825&&_0x24946e['discard']();const _0x2c8920=_0x24946e[_0x5312('0x8')]['commandParams'];_0x37a99e=_0x2c8920[0x0]['tableWidth'],_0x14304d=_0x2c8920[0x0][_0x5312('0x1c')];break;}}_0x9d7775({'table':_0x3d08a7,'tableWidth':_0x545dd6,'columnWidths':_0x141c34}),_0x8255b3[_0x5312('0x5')](_0x3d08a7,{'commandName':_0x5312('0x23'),'commandParams':[{'tableWidth':_0x37a99e,'columnWidths':_0x14304d}],'formatGroupId':_0x5312('0x1b')},[],_0x5312('0x1b'));});}['handleSuggestionDescription'](_0x103655){if(_0x5312('0x9')!=_0x103655[_0x5312('0xa')]&&'formatInline'!=_0x103655[_0x5312('0xa')])return;const {data:_0x3d8306}=_0x103655;if(_0x3d8306&&'resizeTable'===_0x3d8306[_0x5312('0x22')]){const _0x178012='*Format:*\x20resize\x20table';return{'type':_0x5312('0x15'),'content':_0xa2f572(this[_0x5312('0xd')]['locale'],_0x178012)};}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5a54=['_descriptionFactory','downcastDispatcher','stop','format','registerCustomCallback','FORMAT_REGULAR_ROW','formatBlock','removeClass','_acceptFormatSuggestionCallbackFactory','bindElementToMarker','showSuggestionHighlights','accept','editor','toViewElement','addClass','commandParams','getCellLocation','cell','data','setTableRowHeader','markerName','ck-suggestion-marker--active','getSuggestion','*Format:*\x20%0','writer','options','setTableColumnHeader','end','_enableDefaultAttributesIntegration','removeAttribute','start','markerRange','includes','setAttribute','createTableWalker','locale','headingColumns','FORMAT_HEADER_ROW','headingRows','_handleLegacySuggestions','parent','nodeAfter','registerDescriptionCallback','TableUtils','commandName','get','activeMarkers','TrackChangesEditing','editing','mapper','consume','item','requires','FORMAT_HEADER_COLUMN','data-suggestion','_suggestionFactory','registerAttributeLabel','addMarker:suggestion','highest','_registerLegacyDescription','plugins','type','TableEditing','forceValue','ck-suggestion-marker-','unbindElementFromMarkerName'];(function(_0x2444de,_0x5a541f){const _0x11a65a=function(_0x57c48b){while(--_0x57c48b){_0x2444de['push'](_0x2444de['shift']());}};_0x11a65a(++_0x5a541f);}(_0x5a54,0xfc));const _0x11a6=function(_0x2444de,_0x5a541f){_0x2444de=_0x2444de-0x0;let _0x11a65a=_0x5a54[_0x2444de];return _0x11a65a;};import{Plugin as _0x11a855}from'ckeditor5/src/core.js';import _0x3588a6 from'./table.js';import{getTranslation as _0x283fc5}from'../utils/common-translations.js';export default class jt extends _0x11a855{static get[_0x11a6('0x40')](){return[_0x3588a6];}['afterInit'](){const _0x44335f=this[_0x11a6('0x18')];if(!_0x44335f['plugins']['has'](_0x11a6('0x8')))return;const _0x25fc30=_0x44335f[_0x11a6('0x2f')],_0x49685b=_0x44335f[_0x11a6('0x6')][_0x11a6('0x39')]('TrackChangesEditing');_0x49685b[_0x11a6('0x28')](_0x11a6('0x1f'),[],[_0x11a6('0x32')]),_0x49685b[_0x11a6('0x28')](_0x11a6('0x26'),[],[_0x11a6('0x30')]),_0x49685b[_0x11a6('0xc')][_0x11a6('0x2')]('headingRows',_0x283fc5(_0x25fc30,_0x11a6('0x31'))),_0x49685b[_0x11a6('0xc')]['registerAttributeLabel']('headingColumns',_0x283fc5(_0x25fc30,_0x11a6('0x41'))),this[_0x11a6('0x33')]();}['_handleLegacySuggestions'](){const _0x509586=this['editor'][_0x11a6('0x6')]['get'](_0x11a6('0x3b')),_0x2db4ff=this[_0x11a6('0x18')][_0x11a6('0x6')][_0x11a6('0x39')](_0x11a6('0x37')),_0x30cd44=this[_0x11a6('0x18')]['plugins']['get'](_0x3588a6)[_0x11a6('0x14')]();function _0x29452f({showActiveMarker:_0x5cd5aa=!0x0,setDataAttribute:_0x49097d=!0x0}={}){return(_0x279598,_0x50d4b5,_0xbf258e)=>{const {type:_0x37e8d4,id:_0x32b853}=_0x509586['_splitMarkerName'](_0x50d4b5[_0x11a6('0x20')]),_0x363036=_0x509586[_0x11a6('0x22')](_0x32b853),_0xdcbafb=_0x363036['data'];if(_0x11a6('0x12')!=_0x363036[_0x11a6('0x7')]||!_0xdcbafb||_0x11a6('0x26')!=_0xdcbafb['commandName'])return;if(_0x50d4b5[_0x11a6('0x3f')])return void _0x279598[_0x11a6('0xe')]();if(!_0xbf258e['consumable'][_0x11a6('0x3e')](_0x50d4b5[_0x11a6('0x2b')],_0x279598['name']))return;const _0x4bf2ee=_0x50d4b5[_0x11a6('0x2b')][_0x11a6('0x2a')][_0x11a6('0x35')],_0xd82f05=_0x50d4b5[_0x11a6('0x2b')][_0x11a6('0x27')]['nodeBefore'],_0x3744cd=_0x4bf2ee[_0x11a6('0x34')][_0x11a6('0x34')],{column:_0x40243a}=_0x2db4ff['getCellLocation'](_0x4bf2ee),{column:_0x387ad4}=_0x2db4ff[_0x11a6('0x1c')](_0xd82f05);for(let _0xd93eb4=_0x40243a;_0xd93eb4<=_0x387ad4;_0xd93eb4++){const _0x1218ea=_0x2db4ff[_0x11a6('0x2e')](_0x3744cd,{'column':_0xd93eb4,'includeAllSlots':!0x1});for(const _0x5981e7 of _0x1218ea){const _0x5e0c1a=_0x5981e7[_0x11a6('0x1d')],_0x1b9f6b=_0xbf258e[_0x11a6('0x3d')][_0x11a6('0x19')](_0x5e0c1a);_0xbf258e['writer'][_0x11a6('0x1a')]('ck-suggestion-marker-'+_0x37e8d4,_0x1b9f6b),_0x49097d&&_0xbf258e['writer'][_0x11a6('0x2d')]('data-suggestion',_0x32b853,_0x1b9f6b),_0xbf258e[_0x11a6('0x3d')][_0x11a6('0x15')](_0x1b9f6b,_0x50d4b5['markerName']),_0x5cd5aa&&(_0x509586[_0x11a6('0x3a')][_0x11a6('0x2c')](_0x50d4b5['markerName'])?_0xbf258e['writer']['addClass'](_0x11a6('0x21'),_0x1b9f6b):_0xbf258e[_0x11a6('0x24')][_0x11a6('0x13')](_0x11a6('0x21'),_0x1b9f6b));}}};}_0x509586[_0x11a6('0x1')][_0x11a6('0x10')](_0x11a6('0x12'),'setTableRowHeader',_0x11a6('0x17'),_0x30cd44),_0x509586[_0x11a6('0x1')]['registerCustomCallback']('formatBlock',_0x11a6('0x26'),'accept',_0x30cd44),this[_0x11a6('0x18')]['editing']['downcastDispatcher']['on'](_0x11a6('0x3'),_0x29452f(),{'priority':_0x11a6('0x4')}),this[_0x11a6('0x18')][_0x11a6('0x1e')][_0x11a6('0xd')]['on'](_0x11a6('0x3'),(_0x441b7,_0x15f298,_0x4cf64a)=>{_0x4cf64a[_0x11a6('0x25')][_0x11a6('0x16')]&&_0x29452f({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x441b7,_0x15f298,_0x4cf64a);},{'priority':_0x11a6('0x4')}),this[_0x11a6('0x18')][_0x11a6('0x3c')][_0x11a6('0xd')]['on']('removeMarker:suggestion',(_0x4d4196,_0x248a70,_0x1c2106)=>{const {type:_0x52f562,id:_0x44bfb6}=_0x509586['_splitMarkerName'](_0x248a70[_0x11a6('0x20')]),_0x5d4e27=_0x509586[_0x11a6('0x22')](_0x44bfb6),_0x2d03e6=_0x5d4e27[_0x11a6('0x1e')];if(_0x11a6('0x12')!=_0x5d4e27[_0x11a6('0x7')]||!_0x2d03e6||_0x11a6('0x26')!=_0x2d03e6[_0x11a6('0x38')])return;const _0x3e07a8=_0x1c2106[_0x11a6('0x3d')]['markerNameToElements'](_0x248a70['markerName']);if(_0x3e07a8)for(const _0x8877d of _0x3e07a8)_0x1c2106[_0x11a6('0x24')]['removeClass'](_0x11a6('0xa')+_0x52f562,_0x8877d),_0x1c2106[_0x11a6('0x24')][_0x11a6('0x13')](_0x11a6('0x21'),_0x8877d),_0x1c2106['writer'][_0x11a6('0x29')](_0x11a6('0x0'),_0x8877d),_0x1c2106['mapper'][_0x11a6('0xb')](_0x8877d,_0x248a70[_0x11a6('0x20')]);},{'priority':'highest'}),this[_0x11a6('0x5')]();}[_0x11a6('0x5')](){const _0x515dc5=this[_0x11a6('0x18')],_0x1bca8b=_0x515dc5['locale'];function _0x4cf79e(_0xdd2f80){return{'type':_0x11a6('0xf'),'content':_0x283fc5(_0x1bca8b,_0x11a6('0x23'),_0xdd2f80)};}_0x515dc5[_0x11a6('0x6')]['get'](_0x11a6('0x3b'))[_0x11a6('0xc')][_0x11a6('0x36')](_0x659180=>{if(_0x11a6('0x12')!=_0x659180[_0x11a6('0x7')])return;const {data:_0x190a89}=_0x659180;if(_0x190a89){if(_0x11a6('0x1f')==_0x190a89['commandName']){const _0x5adc4e=_0x190a89[_0x11a6('0x1b')][0x0][_0x11a6('0x9')];return _0x4cf79e(_0x283fc5(_0x1bca8b,_0x5adc4e?_0x11a6('0x31'):_0x11a6('0x11')));}if(_0x11a6('0x26')==_0x190a89[_0x11a6('0x38')]){const _0xf9677e=_0x190a89[_0x11a6('0x1b')][0x0]['forceValue'];return _0x4cf79e(_0x283fc5(_0x1bca8b,_0xf9677e?_0x11a6('0x41'):'FORMAT_REGULAR_COLUMN'));}}});}}
23
+ const _0x2271=['markerRange','setTableColumnHeader','registerDescriptionCallback','name','options','has','plugins','parent','_suggestionFactory','FORMAT_HEADER_COLUMN','commandParams','FORMAT_REGULAR_COLUMN','TrackChangesEditing','registerAttributeLabel','getSuggestion','activeMarkers','setAttribute','mapper','ck-suggestion-marker-','FORMAT_REGULAR_ROW','accept','createTableWalker','headingRows','setTableRowHeader','removeAttribute','_splitMarkerName','format','TableUtils','*Format:*\x20%0','item','end','data','markerNameToElements','downcastDispatcher','removeClass','addMarker:suggestion','toViewElement','_handleLegacySuggestions','registerCustomCallback','stop','forceValue','commandName','addClass','ck-suggestion-marker--active','requires','highest','markerName','removeMarker:suggestion','_enableDefaultAttributesIntegration','get','_descriptionFactory','nodeBefore','TableEditing','editor','writer','afterInit','type','headingColumns','consumable','FORMAT_HEADER_ROW','locale','data-suggestion','formatBlock','unbindElementFromMarkerName','getCellLocation'];(function(_0x4c8a83,_0x2271ad){const _0x143cf4=function(_0x586ce1){while(--_0x586ce1){_0x4c8a83['push'](_0x4c8a83['shift']());}};_0x143cf4(++_0x2271ad);}(_0x2271,0x1a5));const _0x143c=function(_0x4c8a83,_0x2271ad){_0x4c8a83=_0x4c8a83-0x0;let _0x143cf4=_0x2271[_0x4c8a83];return _0x143cf4;};import{Plugin as _0x2a0dab}from'ckeditor5/src/core.js';import _0x32ce5d from'./table.js';import{getTranslation as _0x502064}from'../utils/common-translations.js';export default class jt extends _0x2a0dab{static get[_0x143c('0xd')](){return[_0x32ce5d];}[_0x143c('0x18')](){const _0x72c490=this['editor'];if(!_0x72c490[_0x143c('0x28')][_0x143c('0x27')](_0x143c('0x15')))return;const _0x478440=_0x72c490[_0x143c('0x1d')],_0x2123e4=_0x72c490['plugins'][_0x143c('0x12')](_0x143c('0x2e'));_0x2123e4[_0x143c('0x11')](_0x143c('0x39'),[],['headingRows']),_0x2123e4[_0x143c('0x11')](_0x143c('0x23'),[],[_0x143c('0x1a')]),_0x2123e4[_0x143c('0x13')][_0x143c('0x2f')](_0x143c('0x38'),_0x502064(_0x478440,_0x143c('0x1c'))),_0x2123e4[_0x143c('0x13')][_0x143c('0x2f')](_0x143c('0x1a'),_0x502064(_0x478440,_0x143c('0x2b'))),this[_0x143c('0x6')]();}[_0x143c('0x6')](){const _0x12fa33=this[_0x143c('0x16')][_0x143c('0x28')]['get'](_0x143c('0x2e')),_0x54e60d=this[_0x143c('0x16')]['plugins'][_0x143c('0x12')](_0x143c('0x3d')),_0x235713=this[_0x143c('0x16')][_0x143c('0x28')][_0x143c('0x12')](_0x32ce5d)['_acceptFormatSuggestionCallbackFactory']();function _0x24a52a({showActiveMarker:_0x5c08e6=!0x0,setDataAttribute:_0xc5dd52=!0x0}={}){return(_0x25c9b0,_0x44ec91,_0x370c40)=>{const {type:_0x264a0c,id:_0x5945de}=_0x12fa33[_0x143c('0x3b')](_0x44ec91[_0x143c('0xf')]),_0x20d922=_0x12fa33[_0x143c('0x30')](_0x5945de),_0x384293=_0x20d922[_0x143c('0x0')];if('formatBlock'!=_0x20d922[_0x143c('0x19')]||!_0x384293||_0x143c('0x23')!=_0x384293[_0x143c('0xa')])return;if(_0x44ec91[_0x143c('0x3f')])return void _0x25c9b0[_0x143c('0x8')]();if(!_0x370c40[_0x143c('0x1b')]['consume'](_0x44ec91[_0x143c('0x22')],_0x25c9b0[_0x143c('0x25')]))return;const _0x4114c7=_0x44ec91[_0x143c('0x22')]['start']['nodeAfter'],_0x1da47f=_0x44ec91[_0x143c('0x22')][_0x143c('0x40')][_0x143c('0x14')],_0x2b04ec=_0x4114c7['parent'][_0x143c('0x29')],{column:_0x344b9a}=_0x54e60d[_0x143c('0x21')](_0x4114c7),{column:_0x240560}=_0x54e60d[_0x143c('0x21')](_0x1da47f);for(let _0x742c5e=_0x344b9a;_0x742c5e<=_0x240560;_0x742c5e++){const _0x109609=_0x54e60d[_0x143c('0x37')](_0x2b04ec,{'column':_0x742c5e,'includeAllSlots':!0x1});for(const _0x552c6a of _0x109609){const _0x1d7dd7=_0x552c6a['cell'],_0x229398=_0x370c40[_0x143c('0x33')][_0x143c('0x5')](_0x1d7dd7);_0x370c40['writer'][_0x143c('0xb')](_0x143c('0x34')+_0x264a0c,_0x229398),_0xc5dd52&&_0x370c40[_0x143c('0x17')][_0x143c('0x32')](_0x143c('0x1e'),_0x5945de,_0x229398),_0x370c40['mapper']['bindElementToMarker'](_0x229398,_0x44ec91[_0x143c('0xf')]),_0x5c08e6&&(_0x12fa33[_0x143c('0x31')]['includes'](_0x44ec91[_0x143c('0xf')])?_0x370c40[_0x143c('0x17')][_0x143c('0xb')](_0x143c('0xc'),_0x229398):_0x370c40[_0x143c('0x17')][_0x143c('0x3')](_0x143c('0xc'),_0x229398));}}};}_0x12fa33[_0x143c('0x2a')][_0x143c('0x7')]('formatBlock','setTableRowHeader','accept',_0x235713),_0x12fa33['_suggestionFactory'][_0x143c('0x7')](_0x143c('0x1f'),_0x143c('0x23'),_0x143c('0x36'),_0x235713),this[_0x143c('0x16')]['editing'][_0x143c('0x2')]['on']('addMarker:suggestion',_0x24a52a(),{'priority':_0x143c('0xe')}),this['editor'][_0x143c('0x0')][_0x143c('0x2')]['on'](_0x143c('0x4'),(_0x53bcb6,_0x2fdc05,_0x2b269e)=>{_0x2b269e[_0x143c('0x26')]['showSuggestionHighlights']&&_0x24a52a({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x53bcb6,_0x2fdc05,_0x2b269e);},{'priority':_0x143c('0xe')}),this[_0x143c('0x16')]['editing'][_0x143c('0x2')]['on'](_0x143c('0x10'),(_0x3a3991,_0x5f202a,_0x507bb3)=>{const {type:_0x174804,id:_0x50d1c1}=_0x12fa33[_0x143c('0x3b')](_0x5f202a[_0x143c('0xf')]),_0x151061=_0x12fa33[_0x143c('0x30')](_0x50d1c1),_0x1683c3=_0x151061[_0x143c('0x0')];if(_0x143c('0x1f')!=_0x151061[_0x143c('0x19')]||!_0x1683c3||_0x143c('0x23')!=_0x1683c3[_0x143c('0xa')])return;const _0x457c96=_0x507bb3[_0x143c('0x33')][_0x143c('0x1')](_0x5f202a['markerName']);if(_0x457c96)for(const _0x10eae9 of _0x457c96)_0x507bb3[_0x143c('0x17')][_0x143c('0x3')](_0x143c('0x34')+_0x174804,_0x10eae9),_0x507bb3[_0x143c('0x17')][_0x143c('0x3')](_0x143c('0xc'),_0x10eae9),_0x507bb3['writer'][_0x143c('0x3a')](_0x143c('0x1e'),_0x10eae9),_0x507bb3[_0x143c('0x33')][_0x143c('0x20')](_0x10eae9,_0x5f202a[_0x143c('0xf')]);},{'priority':_0x143c('0xe')}),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x591f8c=this[_0x143c('0x16')],_0x503525=_0x591f8c[_0x143c('0x1d')];function _0x3d2eef(_0x318031){return{'type':_0x143c('0x3c'),'content':_0x502064(_0x503525,_0x143c('0x3e'),_0x318031)};}_0x591f8c[_0x143c('0x28')][_0x143c('0x12')](_0x143c('0x2e'))['_descriptionFactory'][_0x143c('0x24')](_0x17ab51=>{if(_0x143c('0x1f')!=_0x17ab51[_0x143c('0x19')])return;const {data:_0x6ab2b2}=_0x17ab51;if(_0x6ab2b2){if(_0x143c('0x39')==_0x6ab2b2[_0x143c('0xa')]){const _0x258740=_0x6ab2b2['commandParams'][0x0][_0x143c('0x9')];return _0x3d2eef(_0x502064(_0x503525,_0x258740?_0x143c('0x1c'):_0x143c('0x35')));}if('setTableColumnHeader'==_0x6ab2b2[_0x143c('0xa')]){const _0xf60132=_0x6ab2b2[_0x143c('0x2c')][0x0][_0x143c('0x9')];return _0x3d2eef(_0x502064(_0x503525,_0xf60132?'FORMAT_HEADER_COLUMN':_0x143c('0x2d')));}}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1d10=['_areSelectedCellsMergable','TableEditing','add','locale','createRangeOn','getRanges','setSelection','*Split\x20cell:*\x20horizontally','set:isEnabled','length','get','insertion','commandName','editor','commands','accept','mergeTableCells','_acceptFormatSuggestionCallbackFactory','createTableWalker','author','formatBlock','_tablePostFixingSubtypes','mergeTableCellLeft','push','containsRange','has','tableCell','format','_areMergableCells','_isForcedDefaultExecutionBlock','markMultiRangeBlockFormat','splitTableCellHorizontally','trackChanges','enableCommand','_suggestionFactory','direction','afterInit','subType','_descriptionFactory','mergeTableCellDown','mergeTableCellRight','document','execute','refresh','requires','type','*Split\x20cell:*\x20vertically','map','deletion','fromRange','registerDescriptionCallback','getSelectionAffectedTableCells','stop','formatInline','forceDefaultExecution','getFirstPosition','$graveyard','value','cell','markBlockFormat','element','filter','horizontally','size','TableUtils','isInContent','selection','model','splitTableCellVertically','getCellLocation','plugins','change','find','mergeTableCellUp','highest','*Merge\x20cells*','getAncestors','registerCustomCallback','from'];(function(_0x1a0765,_0x1d104b){const _0x495ba1=function(_0x1d8c4a){while(--_0x1d8c4a){_0x1a0765['push'](_0x1a0765['shift']());}};_0x495ba1(++_0x1d104b);}(_0x1d10,0xd1));const _0x495b=function(_0x1a0765,_0x1d104b){_0x1a0765=_0x1a0765-0x0;let _0x495ba1=_0x1d10[_0x1a0765];return _0x495ba1;};import{Plugin as _0x14a261}from'ckeditor5/src/core.js';import _0x22b8a0 from'./table.js';import{LiveRange as _0x58594b}from'ckeditor5/src/engine.js';import{getTranslation as _0x5229e3}from'../utils/common-translations.js';export default class yt extends _0x14a261{static get[_0x495b('0x48')](){return[_0x22b8a0];}[_0x495b('0x40')](){const _0x550dcd=this[_0x495b('0x29')],_0x3450e1=_0x550dcd['model'][_0x495b('0x45')][_0x495b('0xf')],_0x2994bd=_0x550dcd[_0x495b('0x1f')];if(!_0x550dcd[_0x495b('0x13')][_0x495b('0x35')](_0x495b('0x1d')))return;const _0x324c7d=_0x550dcd[_0x495b('0x13')]['get']('TrackChangesEditing'),_0x345a73=_0x550dcd['plugins'][_0x495b('0x26')](_0x495b('0xd')),_0x30b6f4=_0x550dcd['plugins'][_0x495b('0x26')](_0x22b8a0);_0x30b6f4[_0x495b('0x31')][_0x495b('0x33')](_0x495b('0x2c')),_0x324c7d['enableCommand'](_0x495b('0x2c'),()=>{const _0xdf6f28=_0x345a73[_0x495b('0x0')](_0x550dcd[_0x495b('0x10')][_0x495b('0x45')][_0x495b('0xf')]);_0x550dcd[_0x495b('0x10')][_0x495b('0x14')](()=>{_0x324c7d[_0x495b('0x3a')](_0xdf6f28,{'commandName':'mergeTableCells','commandParams':[]},[],_0x495b('0x2c'));});}),_0x550dcd[_0x495b('0x2a')][_0x495b('0x26')](_0x495b('0x2c'))['on'](_0x495b('0x46'),(_0x2dcd24,_0x4e0610)=>{_0x550dcd[_0x495b('0x2a')][_0x495b('0x26')](_0x495b('0x3c'))[_0x495b('0x6')]&&(_0x4e0610['length']>0x0&&_0x4e0610[_0x4e0610['length']-0x1]&&_0x4e0610[_0x4e0610[_0x495b('0x25')]-0x1][_0x495b('0x3')]||_0x324c7d[_0x495b('0x39')]||this[_0x495b('0x1c')]()||_0x2dcd24[_0x495b('0x1')]());},{'priority':_0x495b('0x17')});for(const _0x4ba72b of[_0x495b('0x16'),_0x495b('0x44'),_0x495b('0x43'),_0x495b('0x32')]){const _0x57b614=_0x550dcd[_0x495b('0x2a')]['get'](_0x4ba72b);_0x324c7d[_0x495b('0x3d')](_0x4ba72b,()=>{const _0x4dfac0=_0x550dcd['model'][_0x495b('0x45')][_0x495b('0xf')][_0x495b('0x4')]()[_0x495b('0x19')]()[_0x495b('0x15')](_0x8ad9=>_0x8ad9['is'](_0x495b('0x9'),_0x495b('0x36'))),_0x4c6c58=_0x57b614[_0x495b('0x6')];_0x550dcd[_0x495b('0x10')]['change'](()=>{_0x324c7d[_0x495b('0x3a')]([_0x4dfac0,_0x4c6c58],{'commandName':_0x495b('0x2c'),'commandParams':[]},[],'mergeTableCells');});});}for(const _0x3516e2 of[_0x495b('0x11'),'splitTableCellHorizontally']){const _0x323228=_0x550dcd[_0x495b('0x2a')][_0x495b('0x26')](_0x3516e2);_0x324c7d['enableCommand'](_0x3516e2,()=>{const _0x491036=_0x345a73['getSelectionAffectedTableCells'](_0x550dcd['model']['document'][_0x495b('0xf')])[0x0],_0x4e8b19=_0x491036['findAncestor']('table'),{column:_0x517195,row:_0x36ca59}=_0x345a73[_0x495b('0x12')](_0x491036);let _0x2a4a51=[];if(_0x495b('0xb')==_0x323228[_0x495b('0x3f')]){const _0x196358=_0x345a73['createTableWalker'](_0x4e8b19,{'startRow':_0x36ca59,'endRow':_0x36ca59,'includeAllSlots':!0x0});_0x2a4a51=Array['from'](_0x196358)['map'](_0x286c7e=>_0x286c7e[_0x495b('0x7')]);}else{const _0x125fdf=_0x345a73[_0x495b('0x2e')](_0x4e8b19,{'column':_0x517195,'includeAllSlots':!0x0});_0x2a4a51=Array[_0x495b('0x1b')](_0x125fdf)[_0x495b('0x4b')](_0x20d0cd=>_0x20d0cd[_0x495b('0x7')]);}_0x550dcd[_0x495b('0x10')]['change'](_0x3d2796=>{_0x324c7d[_0x495b('0x8')](_0x3d2796['createRangeOn'](_0x491036),{'commandName':_0x3516e2,'commandParams':[]},_0x2a4a51,_0x3516e2);});});}_0x324c7d[_0x495b('0x42')][_0x495b('0x4e')](_0x27d2a0=>{if(_0x495b('0x30')!=_0x27d2a0['type']&&_0x495b('0x2')!=_0x27d2a0['type'])return;const {data:_0x4debd4}=_0x27d2a0;return _0x4debd4&&_0x495b('0x2c')==_0x4debd4[_0x495b('0x28')]?{'type':_0x495b('0x37'),'content':_0x5229e3(_0x2994bd,_0x495b('0x18'))}:void 0x0;}),_0x324c7d[_0x495b('0x42')][_0x495b('0x4e')](_0x3a80f9=>{if(_0x495b('0x30')!=_0x3a80f9[_0x495b('0x49')]&&_0x495b('0x2')!=_0x3a80f9[_0x495b('0x49')])return;const {data:_0x33e703}=_0x3a80f9;return _0x33e703?_0x495b('0x11')==_0x33e703['commandName']?{'type':'format','content':_0x5229e3(_0x2994bd,_0x495b('0x4a'))}:_0x495b('0x3b')==_0x33e703[_0x495b('0x28')]?{'type':_0x495b('0x37'),'content':_0x5229e3(_0x2994bd,_0x495b('0x23'))}:void 0x0:void 0x0;});const _0x462a3c=_0x30b6f4[_0x495b('0x2d')]();for(const _0x72c522 of[_0x495b('0x16'),_0x495b('0x44'),'mergeTableCellDown',_0x495b('0x32')])_0x324c7d[_0x495b('0x3e')]['registerCustomCallback']('formatBlock',_0x72c522,_0x495b('0x2b'),_0x462a3c);for(const _0x53289a of['splitTableCellVertically',_0x495b('0x3b')])_0x324c7d[_0x495b('0x3e')][_0x495b('0x1a')](_0x495b('0x30'),_0x53289a,_0x495b('0x2b'),_0x462a3c);_0x324c7d[_0x495b('0x3e')][_0x495b('0x1a')](_0x495b('0x30'),_0x495b('0x2c'),_0x495b('0x2b'),_0x5909a0=>{_0x550dcd['model']['change'](_0x57ba85=>{const _0x54ec8e=Array[_0x495b('0x1b')](_0x3450e1['getRanges']())[_0x495b('0x4b')](_0x442c99=>_0x58594b[_0x495b('0x4d')](_0x442c99));_0x57ba85['setSelection'](_0x5909a0),_0x550dcd[_0x495b('0x2a')][_0x495b('0x26')](_0x495b('0x2c'))[_0x495b('0x47')](),_0x550dcd[_0x495b('0x46')](_0x495b('0x2c'),{'forceDefaultExecution':!0x0});const _0x40e7d=_0x54ec8e[_0x495b('0xa')](_0x2d01ec=>_0x495b('0x5')!=_0x2d01ec['root']['rootName']);_0x40e7d[_0x495b('0x25')]>0x0&&_0x57ba85[_0x495b('0x22')](_0x40e7d);for(const _0x3096b6 of _0x54ec8e)_0x3096b6['detach']();});});for(const _0x2a1122 of['mergeTableCellUp',_0x495b('0x43'),_0x495b('0x32'),'mergeTableCellRight']){const _0x23b972=_0x550dcd['commands'][_0x495b('0x26')](_0x2a1122);_0x23b972['on'](_0x495b('0x24'),(_0x4dd44a,_0x49ea61,_0x57ac38)=>{if(_0x57ac38){const _0x3f02c3=_0x550dcd[_0x495b('0x10')][_0x495b('0x45')][_0x495b('0xf')][_0x495b('0x4')]()[_0x495b('0x19')]()[_0x495b('0x15')](_0x4571b9=>_0x4571b9['is']('element',_0x495b('0x36')));this['_areMergableCells'](_0x23b972['value'],_0x3f02c3)||(_0x4dd44a['return']=!0x1,_0x4dd44a[_0x495b('0x1')]());}},{'priority':'low'});}}[_0x495b('0x1c')](){const _0x56555c=this[_0x495b('0x29')][_0x495b('0x2a')][_0x495b('0x26')](_0x495b('0x2c')),_0x3767e8=this[_0x495b('0x29')][_0x495b('0x13')][_0x495b('0x26')](_0x495b('0xd'));if(!_0x56555c['isEnabled'])return!0x1;const _0x10d79f=_0x3767e8['getSelectionAffectedTableCells'](this[_0x495b('0x29')][_0x495b('0x10')][_0x495b('0x45')][_0x495b('0xf')]);for(const _0xe9b9fc of _0x10d79f)for(const _0x372c7d of _0x10d79f)if(_0xe9b9fc!=_0x372c7d&&!this['_areMergableCells'](_0xe9b9fc,_0x372c7d))return!0x1;return!0x0;}[_0x495b('0x38')](_0x37fa59,_0x3cab01){const _0x35671b=this[_0x495b('0x29')][_0x495b('0x13')]['get']('TrackChangesEditing'),_0x3980f8=this[_0x495b('0x29')][_0x495b('0x10')][_0x495b('0x20')](_0x37fa59),_0x25d243=this['editor'][_0x495b('0x10')][_0x495b('0x20')](_0x3cab01),_0x59cc8e=new Set(),_0x1add45=new Set();for(const _0x40e88c of _0x35671b['getSuggestions']())if((_0x495b('0x27')==_0x40e88c[_0x495b('0x49')]||_0x495b('0x4c')==_0x40e88c[_0x495b('0x49')]||_0x495b('0x2c')==_0x40e88c[_0x495b('0x41')])&&_0x40e88c[_0x495b('0xe')])for(const _0xdecb60 of _0x40e88c[_0x495b('0x21')]())_0xdecb60[_0x495b('0x34')](_0x3980f8,!0x0)&&_0x59cc8e[_0x495b('0x1e')](_0x40e88c[_0x495b('0x49')]+':'+_0x40e88c[_0x495b('0x2f')]['id']),_0xdecb60[_0x495b('0x34')](_0x25d243,!0x0)&&_0x1add45[_0x495b('0x1e')](_0x40e88c['type']+':'+_0x40e88c[_0x495b('0x2f')]['id']);if(_0x59cc8e['size']!=_0x1add45[_0x495b('0xc')])return!0x1;for(const _0x30ec50 of _0x59cc8e)if(!_0x1add45[_0x495b('0x35')](_0x30ec50))return!0x1;return!0x0;}}
23
+ const _0x508a=['isEnabled','*Split\x20cell:*\x20vertically','plugins','getCellLocation','TableEditing','mergeTableCellLeft','formatInline','containsRange','trackChanges','TableUtils','direction','model','return','highest','accept','table','_isForcedDefaultExecutionBlock','detach','_suggestionFactory','createTableWalker','change','mergeTableCellRight','mergeTableCells','getRanges','has','low','*Split\x20cell:*\x20horizontally','enableCommand','find','TrackChangesEditing','selection','editor','locale','getAncestors','forceDefaultExecution','stop','rootName','afterInit','document','from','_areSelectedCellsMergable','tableCell','fromRange','registerCustomCallback','getSelectionAffectedTableCells','refresh','splitTableCellVertically','deletion','horizontally','subType','execute','root','type','add','commandName','cell','length','_areMergableCells','_descriptionFactory','element','_tablePostFixingSubtypes','value','getSuggestions','_acceptFormatSuggestionCallbackFactory','registerDescriptionCallback','setSelection','commands','get','author','splitTableCellHorizontally','mergeTableCellUp','requires','map','markMultiRangeBlockFormat','createRangeOn','size','set:isEnabled','mergeTableCellDown','formatBlock','format','getFirstPosition'];(function(_0xc54323,_0x508ab4){const _0x163a3d=function(_0x1ff23c){while(--_0x1ff23c){_0xc54323['push'](_0xc54323['shift']());}};_0x163a3d(++_0x508ab4);}(_0x508a,0x97));const _0x163a=function(_0xc54323,_0x508ab4){_0xc54323=_0xc54323-0x0;let _0x163a3d=_0x508a[_0xc54323];return _0x163a3d;};import{Plugin as _0x241cab}from'ckeditor5/src/core.js';import _0x139ae2 from'./table.js';import{LiveRange as _0x3e5e53}from'ckeditor5/src/engine.js';import{getTranslation as _0x44dbde}from'../utils/common-translations.js';export default class yt extends _0x241cab{static get[_0x163a('0x1')](){return[_0x139ae2];}[_0x163a('0x30')](){const _0x40321a=this[_0x163a('0x2a')],_0x540c4a=_0x40321a[_0x163a('0x16')][_0x163a('0x31')][_0x163a('0x29')],_0x3ae50a=_0x40321a[_0x163a('0x2b')];if(!_0x40321a[_0x163a('0xd')][_0x163a('0x23')](_0x163a('0xf')))return;const _0x50b09d=_0x40321a['plugins']['get'](_0x163a('0x28')),_0x2d90f2=_0x40321a[_0x163a('0xd')][_0x163a('0x4e')](_0x163a('0x14')),_0x4be9a9=_0x40321a[_0x163a('0xd')][_0x163a('0x4e')](_0x139ae2);_0x4be9a9[_0x163a('0x47')]['push']('mergeTableCells'),_0x50b09d['enableCommand']('mergeTableCells',()=>{const _0x53e34e=_0x2d90f2['getSelectionAffectedTableCells'](_0x40321a[_0x163a('0x16')][_0x163a('0x31')][_0x163a('0x29')]);_0x40321a[_0x163a('0x16')]['change'](()=>{_0x50b09d[_0x163a('0x3')](_0x53e34e,{'commandName':_0x163a('0x21'),'commandParams':[]},[],_0x163a('0x21'));});}),_0x40321a['commands'][_0x163a('0x4e')](_0x163a('0x21'))['on']('execute',(_0xe80527,_0x4fa309)=>{_0x40321a[_0x163a('0x4d')][_0x163a('0x4e')](_0x163a('0x13'))['value']&&(_0x4fa309['length']>0x0&&_0x4fa309[_0x4fa309['length']-0x1]&&_0x4fa309[_0x4fa309[_0x163a('0x43')]-0x1][_0x163a('0x2d')]||_0x50b09d[_0x163a('0x1b')]||this[_0x163a('0x33')]()||_0xe80527[_0x163a('0x2e')]());},{'priority':_0x163a('0x18')});for(const _0x578466 of[_0x163a('0x0'),_0x163a('0x20'),_0x163a('0x7'),'mergeTableCellLeft']){const _0x38fdef=_0x40321a['commands'][_0x163a('0x4e')](_0x578466);_0x50b09d[_0x163a('0x26')](_0x578466,()=>{const _0x2dbff4=_0x40321a[_0x163a('0x16')][_0x163a('0x31')][_0x163a('0x29')][_0x163a('0xa')]()[_0x163a('0x2c')]()[_0x163a('0x27')](_0x508560=>_0x508560['is'](_0x163a('0x46'),'tableCell')),_0x598b82=_0x38fdef[_0x163a('0x48')];_0x40321a[_0x163a('0x16')][_0x163a('0x1f')](()=>{_0x50b09d[_0x163a('0x3')]([_0x2dbff4,_0x598b82],{'commandName':_0x163a('0x21'),'commandParams':[]},[],_0x163a('0x21'));});});}for(const _0x55b81a of[_0x163a('0x39'),_0x163a('0x50')]){const _0x5b108e=_0x40321a['commands']['get'](_0x55b81a);_0x50b09d[_0x163a('0x26')](_0x55b81a,()=>{const _0x2e7844=_0x2d90f2['getSelectionAffectedTableCells'](_0x40321a[_0x163a('0x16')][_0x163a('0x31')]['selection'])[0x0],_0x2e9dc2=_0x2e7844['findAncestor'](_0x163a('0x1a')),{column:_0x3a5609,row:_0x3679d2}=_0x2d90f2[_0x163a('0xe')](_0x2e7844);let _0x172581=[];if(_0x163a('0x3b')==_0x5b108e[_0x163a('0x15')]){const _0x2e4869=_0x2d90f2[_0x163a('0x1e')](_0x2e9dc2,{'startRow':_0x3679d2,'endRow':_0x3679d2,'includeAllSlots':!0x0});_0x172581=Array[_0x163a('0x32')](_0x2e4869)[_0x163a('0x2')](_0x4acd51=>_0x4acd51[_0x163a('0x42')]);}else{const _0x295752=_0x2d90f2[_0x163a('0x1e')](_0x2e9dc2,{'column':_0x3a5609,'includeAllSlots':!0x0});_0x172581=Array[_0x163a('0x32')](_0x295752)[_0x163a('0x2')](_0x1ac97f=>_0x1ac97f['cell']);}_0x40321a['model'][_0x163a('0x1f')](_0x22ed07=>{_0x50b09d['markBlockFormat'](_0x22ed07[_0x163a('0x4')](_0x2e7844),{'commandName':_0x55b81a,'commandParams':[]},_0x172581,_0x55b81a);});});}_0x50b09d[_0x163a('0x45')][_0x163a('0x4b')](_0x3ccf0b=>{if(_0x163a('0x8')!=_0x3ccf0b[_0x163a('0x3f')]&&_0x163a('0x11')!=_0x3ccf0b[_0x163a('0x3f')])return;const {data:_0x2796fe}=_0x3ccf0b;return _0x2796fe&&_0x163a('0x21')==_0x2796fe['commandName']?{'type':_0x163a('0x9'),'content':_0x44dbde(_0x3ae50a,'*Merge\x20cells*')}:void 0x0;}),_0x50b09d[_0x163a('0x45')][_0x163a('0x4b')](_0x3978b0=>{if(_0x163a('0x8')!=_0x3978b0['type']&&'formatInline'!=_0x3978b0[_0x163a('0x3f')])return;const {data:_0x265803}=_0x3978b0;return _0x265803?_0x163a('0x39')==_0x265803[_0x163a('0x41')]?{'type':_0x163a('0x9'),'content':_0x44dbde(_0x3ae50a,_0x163a('0xc'))}:_0x163a('0x50')==_0x265803[_0x163a('0x41')]?{'type':'format','content':_0x44dbde(_0x3ae50a,_0x163a('0x25'))}:void 0x0:void 0x0;});const _0x55b6d7=_0x4be9a9[_0x163a('0x4a')]();for(const _0x4dd5ac of[_0x163a('0x0'),_0x163a('0x20'),_0x163a('0x7'),_0x163a('0x10')])_0x50b09d[_0x163a('0x1d')]['registerCustomCallback'](_0x163a('0x8'),_0x4dd5ac,_0x163a('0x19'),_0x55b6d7);for(const _0x3e3439 of[_0x163a('0x39'),_0x163a('0x50')])_0x50b09d[_0x163a('0x1d')][_0x163a('0x36')](_0x163a('0x8'),_0x3e3439,'accept',_0x55b6d7);_0x50b09d[_0x163a('0x1d')][_0x163a('0x36')](_0x163a('0x8'),_0x163a('0x21'),_0x163a('0x19'),_0x810e35=>{_0x40321a['model'][_0x163a('0x1f')](_0x3cf221=>{const _0x503203=Array[_0x163a('0x32')](_0x540c4a['getRanges']())['map'](_0x4f5479=>_0x3e5e53[_0x163a('0x35')](_0x4f5479));_0x3cf221[_0x163a('0x4c')](_0x810e35),_0x40321a[_0x163a('0x4d')]['get'](_0x163a('0x21'))[_0x163a('0x38')](),_0x40321a[_0x163a('0x3d')](_0x163a('0x21'),{'forceDefaultExecution':!0x0});const _0x5d7f4b=_0x503203['filter'](_0x5b1184=>'$graveyard'!=_0x5b1184[_0x163a('0x3e')][_0x163a('0x2f')]);_0x5d7f4b['length']>0x0&&_0x3cf221[_0x163a('0x4c')](_0x5d7f4b);for(const _0x1a7f79 of _0x503203)_0x1a7f79[_0x163a('0x1c')]();});});for(const _0x4449cb of['mergeTableCellUp',_0x163a('0x7'),'mergeTableCellLeft',_0x163a('0x20')]){const _0x42a673=_0x40321a[_0x163a('0x4d')][_0x163a('0x4e')](_0x4449cb);_0x42a673['on'](_0x163a('0x6'),(_0x524c59,_0x1a550a,_0x13024c)=>{if(_0x13024c){const _0x3cf918=_0x40321a[_0x163a('0x16')][_0x163a('0x31')][_0x163a('0x29')][_0x163a('0xa')]()[_0x163a('0x2c')]()[_0x163a('0x27')](_0x2d471e=>_0x2d471e['is'](_0x163a('0x46'),_0x163a('0x34')));this[_0x163a('0x44')](_0x42a673[_0x163a('0x48')],_0x3cf918)||(_0x524c59[_0x163a('0x17')]=!0x1,_0x524c59[_0x163a('0x2e')]());}},{'priority':_0x163a('0x24')});}}[_0x163a('0x33')](){const _0x8df685=this['editor']['commands']['get']('mergeTableCells'),_0x4f1cbb=this[_0x163a('0x2a')][_0x163a('0xd')][_0x163a('0x4e')](_0x163a('0x14'));if(!_0x8df685[_0x163a('0xb')])return!0x1;const _0x3635b1=_0x4f1cbb[_0x163a('0x37')](this[_0x163a('0x2a')]['model'][_0x163a('0x31')]['selection']);for(const _0x4a3713 of _0x3635b1)for(const _0x3be2d1 of _0x3635b1)if(_0x4a3713!=_0x3be2d1&&!this[_0x163a('0x44')](_0x4a3713,_0x3be2d1))return!0x1;return!0x0;}[_0x163a('0x44')](_0x556b3e,_0x43a65b){const _0x35eb8c=this['editor'][_0x163a('0xd')][_0x163a('0x4e')]('TrackChangesEditing'),_0xa8c1ed=this['editor'][_0x163a('0x16')][_0x163a('0x4')](_0x556b3e),_0x35d007=this[_0x163a('0x2a')][_0x163a('0x16')][_0x163a('0x4')](_0x43a65b),_0x11837b=new Set(),_0x151919=new Set();for(const _0x56ef00 of _0x35eb8c[_0x163a('0x49')]())if(('insertion'==_0x56ef00[_0x163a('0x3f')]||_0x163a('0x3a')==_0x56ef00[_0x163a('0x3f')]||_0x163a('0x21')==_0x56ef00[_0x163a('0x3c')])&&_0x56ef00['isInContent'])for(const _0x21b1bb of _0x56ef00[_0x163a('0x22')]())_0x21b1bb['containsRange'](_0xa8c1ed,!0x0)&&_0x11837b['add'](_0x56ef00[_0x163a('0x3f')]+':'+_0x56ef00[_0x163a('0x4f')]['id']),_0x21b1bb[_0x163a('0x12')](_0x35d007,!0x0)&&_0x151919[_0x163a('0x40')](_0x56ef00['type']+':'+_0x56ef00[_0x163a('0x4f')]['id']);if(_0x11837b[_0x163a('0x5')]!=_0x151919[_0x163a('0x5')])return!0x1;for(const _0x1bd0f0 of _0x11837b)if(!_0x151919['has'](_0x1bd0f0))return!0x1;return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x8537=['locale','get','editor','_descriptionFactory','afterInit','insertTableOfContents','commands','ELEMENT_TABLE_OF_CONTENTS','registerElementLabel','tableOfContents','plugins'];(function(_0x835033,_0x853713){const _0x28f5ab=function(_0x5e4be1){while(--_0x5e4be1){_0x835033['push'](_0x835033['shift']());}};_0x28f5ab(++_0x853713);}(_0x8537,0x86));const _0x28f5=function(_0x835033,_0x853713){_0x835033=_0x835033-0x0;let _0x28f5ab=_0x8537[_0x835033];return _0x28f5ab;};import{Plugin as _0x4aba54}from'ckeditor5/src/core.js';import{getTranslation as _0x100413}from'../utils/common-translations.js';export default class vt extends _0x4aba54{[_0x28f5('0x2')](){const _0x4f5369=this[_0x28f5('0x0')];if(!_0x4f5369[_0x28f5('0x4')][_0x28f5('0xa')](_0x28f5('0x3')))return;_0x4f5369[_0x28f5('0x8')][_0x28f5('0xa')]('TrackChangesEditing')['enableCommand'](_0x28f5('0x3'));const _0x27aed3=_0x4f5369['plugins'][_0x28f5('0xa')]('TrackChangesEditing'),_0x4dc35c=_0x4f5369[_0x28f5('0x9')];_0x27aed3[_0x28f5('0x1')][_0x28f5('0x6')](_0x28f5('0x7'),_0x4aecc7=>_0x100413(_0x4dc35c,_0x28f5('0x5'),_0x4aecc7));}}
23
+ const _0xf548=['editor','commands','_descriptionFactory','afterInit','plugins','tableOfContents','insertTableOfContents','TrackChangesEditing','get'];(function(_0x2388c7,_0xf54807){const _0x3f75fb=function(_0xa3a35c){while(--_0xa3a35c){_0x2388c7['push'](_0x2388c7['shift']());}};_0x3f75fb(++_0xf54807);}(_0xf548,0xf9));const _0x3f75=function(_0x2388c7,_0xf54807){_0x2388c7=_0x2388c7-0x0;let _0x3f75fb=_0xf548[_0x2388c7];return _0x3f75fb;};import{Plugin as _0x51cdfe}from'ckeditor5/src/core.js';import{getTranslation as _0x3513a7}from'../utils/common-translations.js';export default class vt extends _0x51cdfe{[_0x3f75('0x6')](){const _0xb4050=this[_0x3f75('0x3')];if(!_0xb4050[_0x3f75('0x4')]['get'](_0x3f75('0x0')))return;_0xb4050[_0x3f75('0x7')]['get']('TrackChangesEditing')['enableCommand'](_0x3f75('0x0'));const _0xfe8243=_0xb4050[_0x3f75('0x7')][_0x3f75('0x2')](_0x3f75('0x1')),_0x39d37d=_0xb4050['locale'];_0xfe8243[_0x3f75('0x5')]['registerElementLabel'](_0x3f75('0x8'),_0x159f39=>_0x3513a7(_0x39d37d,'ELEMENT_TABLE_OF_CONTENTS',_0x159f39));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x11a2=['change','table','getAttribute','tableCellBorderColor','enableCommand','tableBackgroundColor','selection','_descriptionFactory','getSuggestionCallback','TablePropertiesEditing','markBlockFormat','getContainedElement','enqueueChange','tableAlignment','document','get','tableCellProperties','removeAttribute','findAncestor','tableCellVerticalAlignment','tableCellBorderStyle','TableCellPropertiesEditing','tableBorderColor','data','afterInit','commandParams','getSuggestions','TrackChangesTableProperties','*Format:*\x20change\x20table\x20cell\x20properties','model','_handlePropertyChange','registerDescriptionCallback','discard','_suggestionFactory','locale','join','handleDiscardAction','_getSuggestion','plugins','tableCellBackgroundColor','editor','tableWidth','tableBorderStyle','registerCustomCallback','formatBlock','setAttribute','format','tableBorderWidth','tableCellBorderWidth','pluginName','tableCellWidth','tableHeight','tableProperties','subType','accept','has','TrackChangesEditing','tableCellPadding','start','getSelectionAffectedTableCells'];(function(_0x413544,_0x11a2b0){const _0x49d218=function(_0x3d7e8b){while(--_0x3d7e8b){_0x413544['push'](_0x413544['shift']());}};_0x49d218(++_0x11a2b0);}(_0x11a2,0x176));const _0x49d2=function(_0x413544,_0x11a2b0){_0x413544=_0x413544-0x0;let _0x49d218=_0x11a2[_0x413544];return _0x49d218;};import{Plugin as _0x1f8177}from'ckeditor5/src/core.js';import{getTranslation as _0x5b7844}from'../utils/common-translations.js';export default class Nt extends _0x1f8177{constructor(_0x5be03d){super(_0x5be03d),this['tableProperties']=[_0x49d2('0x8'),_0x49d2('0x1c'),_0x49d2('0x21'),_0x49d2('0x3b'),_0x49d2('0x1b'),_0x49d2('0x25'),_0x49d2('0x33')],this[_0x49d2('0x2')]=[_0x49d2('0x31'),_0x49d2('0x6'),_0x49d2('0x22'),_0x49d2('0x2b'),_0x49d2('0x24'),'tableCellHeight',_0x49d2('0x19'),'tableCellHorizontalAlignment',_0x49d2('0x5')];}static get[_0x49d2('0x23')](){return _0x49d2('0xd');}[_0x49d2('0xa')](){const _0x429d1b=this['editor'][_0x49d2('0x18')][_0x49d2('0x1')](_0x49d2('0x2a'));if(this['editor']['plugins'][_0x49d2('0x29')](_0x49d2('0x37'))){for(const _0x55206e of this[_0x49d2('0x26')])_0x429d1b[_0x49d2('0x32')](_0x55206e,(_0x12f346,_0x53815c)=>{const _0x16e794=this[_0x49d2('0x1a')]['model'][_0x49d2('0x0')]['selection']['getFirstPosition']()[_0x49d2('0x4')](_0x49d2('0x2f'));this['_handlePropertyChange'](_0x55206e,[_0x16e794],this[_0x49d2('0x26')],_0x49d2('0x26'),_0x12f346,_0x53815c);});_0x429d1b['_suggestionFactory'][_0x49d2('0x1d')]('formatBlock','tableProperties',_0x49d2('0x28'),_0x429d1b[_0x49d2('0x13')]['getSuggestionCallback'](_0x49d2('0x1e'),null,_0x49d2('0x12'))),_0x429d1b[_0x49d2('0x13')]['registerCustomCallback'](_0x49d2('0x1e'),'tableProperties','discard',(_0x44436d,_0x35b695)=>this[_0x49d2('0x16')](this['tableProperties'],_0x44436d,_0x35b695)),_0x429d1b[_0x49d2('0x13')][_0x49d2('0x1d')]('formatBlock',_0x49d2('0x26'),_0x49d2('0x15'),()=>!0x1);}if(this['editor'][_0x49d2('0x18')][_0x49d2('0x29')](_0x49d2('0x7'))){for(const _0x5a9179 of this['tableCellProperties'])_0x429d1b[_0x49d2('0x32')](_0x5a9179,(_0x32eefa,_0x20626a)=>{const _0x54d0e7=this['editor'][_0x49d2('0x18')][_0x49d2('0x1')]('TableUtils')[_0x49d2('0x2d')](this[_0x49d2('0x1a')]['model'][_0x49d2('0x0')][_0x49d2('0x34')]);this['_handlePropertyChange'](_0x5a9179,_0x54d0e7,this[_0x49d2('0x2')],_0x49d2('0x2'),_0x32eefa,_0x20626a);});_0x429d1b[_0x49d2('0x13')][_0x49d2('0x1d')](_0x49d2('0x1e'),_0x49d2('0x2'),_0x49d2('0x28'),_0x429d1b[_0x49d2('0x13')][_0x49d2('0x36')](_0x49d2('0x1e'),null,_0x49d2('0x12'))),_0x429d1b[_0x49d2('0x13')]['registerCustomCallback']('formatBlock',_0x49d2('0x2'),_0x49d2('0x12'),(_0x9a7c0e,_0x18eeba)=>this[_0x49d2('0x16')](this[_0x49d2('0x2')],_0x9a7c0e,_0x18eeba)),_0x429d1b[_0x49d2('0x13')][_0x49d2('0x1d')](_0x49d2('0x1e'),_0x49d2('0x2'),'join',()=>!0x1);}_0x429d1b[_0x49d2('0x35')][_0x49d2('0x11')](_0x3e6343=>this['handleSuggestionDescription'](_0x3e6343));}[_0x49d2('0x10')](_0x5b4390,_0x41cd01,_0x2c0517,_0x429cc2,_0x4c47ef,_0x46d0a5){const _0x5eaadf=this['editor'][_0x49d2('0x18')][_0x49d2('0x1')](_0x49d2('0x2a'));this['editor'][_0x49d2('0xf')][_0x49d2('0x3a')](_0x46d0a5['batch'],()=>{for(const _0x37e518 of _0x41cd01){if(this['_getSuggestion'](_0x37e518,_0x429cc2))_0x4c47ef(_0x46d0a5);else{const _0x40b9fe={};for(const _0xc06739 of _0x2c0517){const _0x1de2c3=_0x37e518[_0x49d2('0x30')](_0xc06739);void 0x0!==_0x1de2c3&&(_0x40b9fe[_0xc06739]=_0x1de2c3);}_0x4c47ef(_0x46d0a5),_0x5eaadf[_0x49d2('0x38')](_0x37e518,{'commandParams':[_0x40b9fe]},[],_0x429cc2);}}});}['handleDiscardAction'](_0x41f704,_0x40cd9a,_0x3ae387){const _0x3d12c3=_0x40cd9a[0x0][_0x49d2('0x2c')]['nodeAfter'],_0x59100d=_0x3ae387[_0x49d2('0xb')][0x0];this[_0x49d2('0x1a')][_0x49d2('0xf')][_0x49d2('0x2e')](_0x55fe73=>{for(const _0xa64436 of _0x41f704)void 0x0!==_0x59100d[_0xa64436]?_0x55fe73[_0x49d2('0x1f')](_0xa64436,_0x59100d[_0xa64436],_0x3d12c3):_0x55fe73[_0x49d2('0x3')](_0xa64436,_0x3d12c3);});}['handleSuggestionDescription'](_0x1e20ad){if(_0x1e20ad[_0x49d2('0x9')])switch(_0x1e20ad[_0x49d2('0x27')]){case _0x49d2('0x26'):return{'type':'format','content':_0x5b7844(this[_0x49d2('0x1a')][_0x49d2('0x14')],'*Format:*\x20change\x20table\x20properties')};case _0x49d2('0x2'):return{'type':_0x49d2('0x20'),'content':_0x5b7844(this[_0x49d2('0x1a')][_0x49d2('0x14')],_0x49d2('0xe'))};}}[_0x49d2('0x17')](_0x42d1a8,_0x3800fe){const _0x7fdd3a=this[_0x49d2('0x1a')][_0x49d2('0x18')][_0x49d2('0x1')]('TrackChangesEditing');for(const _0x2db199 of _0x7fdd3a[_0x49d2('0xc')]({'skipNotAttached':!0x0})){const _0x1eca1d=_0x2db199[_0x49d2('0x39')]();if(_0x2db199['subType']===_0x3800fe&&_0x1eca1d===_0x42d1a8)return _0x2db199;}return null;}}
23
+ const _0x4a51=['tableCellBorderWidth','markBlockFormat','handleDiscardAction','tableProperties','has','model','selection','plugins','tableBorderColor','table','discard','start','tableCellBackgroundColor','nodeAfter','getContainedElement','removeAttribute','TableUtils','tableBorderWidth','data','setAttribute','getFirstPosition','tableBorderStyle','get','getAttribute','afterInit','registerDescriptionCallback','enableCommand','tableCellHorizontalAlignment','editor','tableCellProperties','tableCellHeight','locale','*Format:*\x20change\x20table\x20properties','batch','document','_suggestionFactory','commandParams','*Format:*\x20change\x20table\x20cell\x20properties','findAncestor','_getSuggestion','handleSuggestionDescription','enqueueChange','format','join','tableCellWidth','_handlePropertyChange','accept','_descriptionFactory','getSuggestionCallback','tableHeight','formatBlock','TablePropertiesEditing','subType','tableCellBorderStyle','tableAlignment','TrackChangesEditing','registerCustomCallback','tableCellVerticalAlignment','TrackChangesTableProperties'];(function(_0x2266d9,_0x4a5154){const _0x33ef23=function(_0x25e718){while(--_0x25e718){_0x2266d9['push'](_0x2266d9['shift']());}};_0x33ef23(++_0x4a5154);}(_0x4a51,0xf4));const _0x33ef=function(_0x2266d9,_0x4a5154){_0x2266d9=_0x2266d9-0x0;let _0x33ef23=_0x4a51[_0x2266d9];return _0x33ef23;};import{Plugin as _0x44877d}from'ckeditor5/src/core.js';import{getTranslation as _0x366756}from'../utils/common-translations.js';export default class Nt extends _0x44877d{constructor(_0x23a685){super(_0x23a685),this['tableProperties']=[_0x33ef('0x0'),_0x33ef('0xd'),_0x33ef('0x9'),_0x33ef('0x2e'),'tableWidth',_0x33ef('0x29'),'tableBackgroundColor'],this[_0x33ef('0x15')]=['tableCellBorderColor',_0x33ef('0x2d'),_0x33ef('0x33'),'tableCellPadding',_0x33ef('0x24'),_0x33ef('0x16'),_0x33ef('0x4'),_0x33ef('0x13'),_0x33ef('0x31')];}static get['pluginName'](){return _0x33ef('0x32');}[_0x33ef('0x10')](){const _0x5803b3=this['editor'][_0x33ef('0x3a')][_0x33ef('0xe')](_0x33ef('0x2f'));if(this[_0x33ef('0x14')]['plugins'][_0x33ef('0x37')](_0x33ef('0x2b'))){for(const _0xf2bf4e of this[_0x33ef('0x36')])_0x5803b3[_0x33ef('0x12')](_0xf2bf4e,(_0x36c8a9,_0x5cbe6f)=>{const _0x5a7149=this['editor'][_0x33ef('0x38')][_0x33ef('0x1a')][_0x33ef('0x39')][_0x33ef('0xc')]()[_0x33ef('0x1e')](_0x33ef('0x1'));this[_0x33ef('0x25')](_0xf2bf4e,[_0x5a7149],this[_0x33ef('0x36')],_0x33ef('0x36'),_0x36c8a9,_0x5cbe6f);});_0x5803b3[_0x33ef('0x1b')][_0x33ef('0x30')](_0x33ef('0x2a'),_0x33ef('0x36'),_0x33ef('0x26'),_0x5803b3[_0x33ef('0x1b')][_0x33ef('0x28')]('formatBlock',null,_0x33ef('0x2'))),_0x5803b3['_suggestionFactory']['registerCustomCallback']('formatBlock',_0x33ef('0x36'),_0x33ef('0x2'),(_0x85c02d,_0x580e6b)=>this['handleDiscardAction'](this['tableProperties'],_0x85c02d,_0x580e6b)),_0x5803b3['_suggestionFactory'][_0x33ef('0x30')](_0x33ef('0x2a'),'tableProperties','join',()=>!0x1);}if(this['editor'][_0x33ef('0x3a')][_0x33ef('0x37')]('TableCellPropertiesEditing')){for(const _0x139a15 of this[_0x33ef('0x15')])_0x5803b3[_0x33ef('0x12')](_0x139a15,(_0x351929,_0x3e4a38)=>{const _0x1e57a8=this[_0x33ef('0x14')][_0x33ef('0x3a')][_0x33ef('0xe')](_0x33ef('0x8'))['getSelectionAffectedTableCells'](this['editor'][_0x33ef('0x38')][_0x33ef('0x1a')]['selection']);this['_handlePropertyChange'](_0x139a15,_0x1e57a8,this[_0x33ef('0x15')],_0x33ef('0x15'),_0x351929,_0x3e4a38);});_0x5803b3[_0x33ef('0x1b')][_0x33ef('0x30')](_0x33ef('0x2a'),_0x33ef('0x15'),_0x33ef('0x26'),_0x5803b3[_0x33ef('0x1b')][_0x33ef('0x28')](_0x33ef('0x2a'),null,_0x33ef('0x2'))),_0x5803b3[_0x33ef('0x1b')]['registerCustomCallback']('formatBlock',_0x33ef('0x15'),'discard',(_0x282042,_0xb2cd03)=>this['handleDiscardAction'](this[_0x33ef('0x15')],_0x282042,_0xb2cd03)),_0x5803b3[_0x33ef('0x1b')][_0x33ef('0x30')](_0x33ef('0x2a'),_0x33ef('0x15'),_0x33ef('0x23'),()=>!0x1);}_0x5803b3[_0x33ef('0x27')][_0x33ef('0x11')](_0x5bef93=>this[_0x33ef('0x20')](_0x5bef93));}[_0x33ef('0x25')](_0x405b46,_0x1d7eb0,_0x3cf517,_0x495267,_0x40fa7f,_0x492569){const _0x2b3269=this[_0x33ef('0x14')]['plugins'][_0x33ef('0xe')](_0x33ef('0x2f'));this['editor'][_0x33ef('0x38')][_0x33ef('0x21')](_0x492569[_0x33ef('0x19')],()=>{for(const _0x13ef05 of _0x1d7eb0){if(this[_0x33ef('0x1f')](_0x13ef05,_0x495267))_0x40fa7f(_0x492569);else{const _0x57800f={};for(const _0x5dade5 of _0x3cf517){const _0x288bf7=_0x13ef05[_0x33ef('0xf')](_0x5dade5);void 0x0!==_0x288bf7&&(_0x57800f[_0x5dade5]=_0x288bf7);}_0x40fa7f(_0x492569),_0x2b3269[_0x33ef('0x34')](_0x13ef05,{'commandParams':[_0x57800f]},[],_0x495267);}}});}[_0x33ef('0x35')](_0x5dfac2,_0x27b168,_0x3871c5){const _0x5b615d=_0x27b168[0x0][_0x33ef('0x3')][_0x33ef('0x5')],_0x53b65d=_0x3871c5[_0x33ef('0x1c')][0x0];this['editor'][_0x33ef('0x38')]['change'](_0xb54c23=>{for(const _0x4391fd of _0x5dfac2)void 0x0!==_0x53b65d[_0x4391fd]?_0xb54c23[_0x33ef('0xb')](_0x4391fd,_0x53b65d[_0x4391fd],_0x5b615d):_0xb54c23[_0x33ef('0x7')](_0x4391fd,_0x5b615d);});}[_0x33ef('0x20')](_0x1f3aca){if(_0x1f3aca[_0x33ef('0xa')])switch(_0x1f3aca[_0x33ef('0x2c')]){case'tableProperties':return{'type':'format','content':_0x366756(this['editor'][_0x33ef('0x17')],_0x33ef('0x18'))};case _0x33ef('0x15'):return{'type':_0x33ef('0x22'),'content':_0x366756(this[_0x33ef('0x14')]['locale'],_0x33ef('0x1d'))};}}['_getSuggestion'](_0x493621,_0x2c96bd){const _0x4e95e2=this[_0x33ef('0x14')][_0x33ef('0x3a')][_0x33ef('0xe')](_0x33ef('0x2f'));for(const _0x1dd659 of _0x4e95e2['getSuggestions']({'skipNotAttached':!0x0})){const _0x4757b0=_0x1dd659[_0x33ef('0x6')]();if(_0x1dd659[_0x33ef('0x2c')]===_0x2c96bd&&_0x4757b0===_0x493621)return _0x1dd659;}return null;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x35d6=['has','enableCommand','TrackChangesEditing','plugins','get','insertTemplate','afterInit','Template'];(function(_0x22843a,_0x35d61c){const _0x35820d=function(_0x3a8111){while(--_0x3a8111){_0x22843a['push'](_0x22843a['shift']());}};_0x35820d(++_0x35d61c);}(_0x35d6,0xf5));const _0x3582=function(_0x22843a,_0x35d61c){_0x22843a=_0x22843a-0x0;let _0x35820d=_0x35d6[_0x22843a];return _0x35820d;};import{Plugin as _0xfd06a}from'ckeditor5/src/core.js';export default class It extends _0xfd06a{[_0x3582('0x1')](){const _0x45f339=this['editor'];_0x45f339['plugins'][_0x3582('0x3')](_0x3582('0x2'))&&_0x45f339[_0x3582('0x6')][_0x3582('0x7')](_0x3582('0x5'))[_0x3582('0x4')](_0x3582('0x0'));}}
23
+ const _0x57a2=['enableCommand','TrackChangesEditing','Template','get','afterInit','has','plugins','insertTemplate','editor'];(function(_0x53da13,_0x57a29a){const _0x455777=function(_0x4c8568){while(--_0x4c8568){_0x53da13['push'](_0x53da13['shift']());}};_0x455777(++_0x57a29a);}(_0x57a2,0x1c4));const _0x4557=function(_0x53da13,_0x57a29a){_0x53da13=_0x53da13-0x0;let _0x455777=_0x57a2[_0x53da13];return _0x455777;};import{Plugin as _0x5c6990}from'ckeditor5/src/core.js';export default class It extends _0x5c6990{[_0x4557('0x2')](){const _0x9789e3=this[_0x4557('0x6')];_0x9789e3['plugins'][_0x4557('0x3')](_0x4557('0x0'))&&_0x9789e3[_0x4557('0x4')][_0x4557('0x1')](_0x4557('0x8'))[_0x4557('0x7')](_0x4557('0x5'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x175f=['differ','_descriptionFactory','ELEMENT_TITLE','afterInit','getNearestSelectionRange','has','end','isTouching','model','document','suggestion','schema','_splitMarkerName','updateMarker','start','isCollapsed','nodeBefore','newRange','plugins','element','registerElementLabel','locale','title-content','forward'];(function(_0x33eec1,_0x175f2f){const _0x32295a=function(_0x422969){while(--_0x422969){_0x33eec1['push'](_0x33eec1['shift']());}};_0x32295a(++_0x175f2f);}(_0x175f,0x13e));const _0x3229=function(_0x33eec1,_0x175f2f){_0x33eec1=_0x33eec1-0x0;let _0x32295a=_0x175f[_0x33eec1];return _0x32295a;};import{Plugin as _0x300a3e}from'ckeditor5/src/core.js';import{getTranslation as _0x19582f}from'../utils/common-translations.js';export default class Ct extends _0x300a3e{[_0x3229('0x15')](){const _0x4e6610=this['editor'];if(!_0x4e6610[_0x3229('0xc')][_0x3229('0x17')]('Title'))return;const _0x10ba13=_0x4e6610[_0x3229('0xc')]['get']('TrackChangesEditing');_0x10ba13[_0x3229('0x13')][_0x3229('0xe')](_0x3229('0x10'),()=>_0x19582f(_0x4e6610[_0x3229('0xf')],_0x3229('0x14'))),_0x4e6610[_0x3229('0x2')][_0x3229('0x3')]['registerPostFixer'](_0x1f1822=>{let _0x154b90=!0x1;const _0x3488aa=Array['from'](_0x4e6610['model']['document'][_0x3229('0x12')]['getChangedMarkers']());for(const {name:_0x5638d6,data:_0xa77053}of _0x3488aa){const {group:_0x51e096}=_0x10ba13[_0x3229('0x6')](_0x5638d6);if(_0x3229('0x4')!==_0x51e096||!_0xa77053[_0x3229('0xb')])continue;const _0x4ed5b9=_0xa77053[_0x3229('0xb')],_0x5aad76=_0x4ed5b9[_0x3229('0x0')][_0x3229('0xa')];if(!_0x5aad76||!_0x5aad76['is'](_0x3229('0xd'),_0x3229('0x10')))continue;if(!_0x4ed5b9[_0x3229('0x8')][_0x3229('0x1')](_0x4ed5b9['end']))continue;const _0x1ad740=_0x4e6610['model'][_0x3229('0x5')][_0x3229('0x16')](_0x4ed5b9[_0x3229('0x0')],_0x3229('0x11'));if(_0x1ad740&&_0x1ad740[_0x3229('0x9')]){const _0x1c33a2=_0x1f1822['createRange'](_0x4ed5b9[_0x3229('0x8')],_0x1ad740[_0x3229('0x8')]);_0x1c33a2['isEqual'](_0x4ed5b9)||(_0x1f1822[_0x3229('0x7')](_0x5638d6,{'range':_0x1c33a2}),_0x154b90=!0x0);}_0x154b90||(_0x1f1822['removeMarker'](_0x5638d6),_0x154b90=!0x0);}return _0x154b90;});}}
23
+ const _0x3187=['plugins','start','newRange','_splitMarkerName','getChangedMarkers','editor','_descriptionFactory','end','getNearestSelectionRange','get','isEqual','updateMarker','removeMarker','model','has','createRange','suggestion','isTouching','registerElementLabel','Title','document','locale','ELEMENT_TITLE','differ','schema'];(function(_0x57a86a,_0x31878d){const _0x517de5=function(_0x29a831){while(--_0x29a831){_0x57a86a['push'](_0x57a86a['shift']());}};_0x517de5(++_0x31878d);}(_0x3187,0x1d4));const _0x517d=function(_0x57a86a,_0x31878d){_0x57a86a=_0x57a86a-0x0;let _0x517de5=_0x3187[_0x57a86a];return _0x517de5;};import{Plugin as _0x184bf7}from'ckeditor5/src/core.js';import{getTranslation as _0x480616}from'../utils/common-translations.js';export default class Ct extends _0x184bf7{['afterInit'](){const _0x595980=this[_0x517d('0xc')];if(!_0x595980[_0x517d('0x7')][_0x517d('0x15')](_0x517d('0x1')))return;const _0xcaaecf=_0x595980[_0x517d('0x7')][_0x517d('0x10')]('TrackChangesEditing');_0xcaaecf[_0x517d('0xd')][_0x517d('0x0')]('title-content',()=>_0x480616(_0x595980[_0x517d('0x3')],_0x517d('0x4'))),_0x595980[_0x517d('0x14')][_0x517d('0x2')]['registerPostFixer'](_0x4ab17d=>{let _0x2e6793=!0x1;const _0x5b2d82=Array['from'](_0x595980[_0x517d('0x14')]['document'][_0x517d('0x5')][_0x517d('0xb')]());for(const {name:_0x593c93,data:_0x13645a}of _0x5b2d82){const {group:_0x1b0fe4}=_0xcaaecf[_0x517d('0xa')](_0x593c93);if(_0x517d('0x17')!==_0x1b0fe4||!_0x13645a[_0x517d('0x9')])continue;const _0x51838f=_0x13645a['newRange'],_0x524530=_0x51838f['end']['nodeBefore'];if(!_0x524530||!_0x524530['is']('element','title-content'))continue;if(!_0x51838f[_0x517d('0x8')][_0x517d('0x18')](_0x51838f[_0x517d('0xe')]))continue;const _0x21cbfe=_0x595980['model'][_0x517d('0x6')][_0x517d('0xf')](_0x51838f[_0x517d('0xe')],'forward');if(_0x21cbfe&&_0x21cbfe['isCollapsed']){const _0x3a480a=_0x4ab17d[_0x517d('0x16')](_0x51838f['start'],_0x21cbfe['start']);_0x3a480a[_0x517d('0x11')](_0x51838f)||(_0x4ab17d[_0x517d('0x12')](_0x593c93,{'range':_0x3a480a}),_0x2e6793=!0x0);}_0x2e6793||(_0x4ab17d[_0x517d('0x13')](_0x593c93),_0x2e6793=!0x0);}return _0x2e6793;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x11ce=['UndoEditing','enableCommand','editor','get','afterInit','TrackChangesEditing','undo','plugins'];(function(_0x37c5e1,_0x11ce45){const _0x2e6604=function(_0xfbd1c2){while(--_0xfbd1c2){_0x37c5e1['push'](_0x37c5e1['shift']());}};_0x2e6604(++_0x11ce45);}(_0x11ce,0x14e));const _0x2e66=function(_0x37c5e1,_0x11ce45){_0x37c5e1=_0x37c5e1-0x0;let _0x2e6604=_0x11ce[_0x37c5e1];return _0x2e6604;};import{Plugin as _0x33299e}from'ckeditor5/src/core.js';export default class _t extends _0x33299e{[_0x2e66('0x6')](){const _0xa70b51=this[_0x2e66('0x4')],_0x323ddf=_0xa70b51[_0x2e66('0x1')][_0x2e66('0x5')](_0x2e66('0x7'));_0xa70b51[_0x2e66('0x1')]['has'](_0x2e66('0x2'))&&(_0x323ddf[_0x2e66('0x3')](_0x2e66('0x0')),_0x323ddf[_0x2e66('0x3')]('redo'));}}
23
+ const _0x9274=['UndoEditing','redo','plugins','get','TrackChangesEditing','enableCommand','has'];(function(_0x323aa8,_0x92741d){const _0x1806d=function(_0x337d9b){while(--_0x337d9b){_0x323aa8['push'](_0x323aa8['shift']());}};_0x1806d(++_0x92741d);}(_0x9274,0x137));const _0x1806=function(_0x323aa8,_0x92741d){_0x323aa8=_0x323aa8-0x0;let _0x1806d=_0x9274[_0x323aa8];return _0x1806d;};import{Plugin as _0x1fe4c5}from'ckeditor5/src/core.js';export default class _t extends _0x1fe4c5{['afterInit'](){const _0x2ac84d=this['editor'],_0xeee644=_0x2ac84d[_0x1806('0x6')][_0x1806('0x0')](_0x1806('0x1'));_0x2ac84d[_0x1806('0x6')][_0x1806('0x3')](_0x1806('0x4'))&&(_0xeee644[_0x1806('0x2')]('undo'),_0xeee644[_0x1806('0x2')](_0x1806('0x5')));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x24d8=['item','listItem','getCustomProperty','get','addClass','getWalker','name','isAtEnd','consumable','writer','TrackChangesEditing','type','activeMarkers','addHighlight','mapper','ck-suggestion-marker--active','createRangeOn','insert','nextSibling','createUIElement','span','listIndent','model','markerRange','getItems','push','isBlock','plugins','hasAttribute','ck-suggestion-marker-','test','markerName','parent','previousPosition','getAttribute','isLimit'];(function(_0x4b2606,_0x24d84d){const _0x59343e=function(_0xd4f9e5){while(--_0xd4f9e5){_0x4b2606['push'](_0x4b2606['shift']());}};_0x59343e(++_0x24d84d);}(_0x24d8,0x19f));const _0x5934=function(_0x4b2606,_0x24d84d){_0x4b2606=_0x4b2606-0x0;let _0x59343e=_0x24d8[_0x4b2606];return _0x59343e;};export function getRangesWithAttribute(_0x6cc7ad,_0x10834f,_0x17a10c){const _0x188437=[];for(const _0xadd587 of _0x10834f[_0x5934('0x5')]())_0xadd587[_0x5934('0x9')](_0x6cc7ad)&&_0x188437[_0x5934('0x6')](_0x17a10c[_0x5934('0x21')](_0xadd587));return _0x188437;}export function getElementsAffectedByListItemRename(_0x4fdc8b){const _0x1a0167=[];if(_0x4fdc8b['is']('element',_0x5934('0x12'))){let _0x4533c7=_0x4fdc8b['nextSibling'];for(;_0x4533c7&&_0x4533c7['is']('element',_0x5934('0x12'))&&_0x4533c7[_0x5934('0xf')](_0x5934('0x2'))>0x0;)_0x1a0167[_0x5934('0x6')](_0x4533c7),_0x4533c7=_0x4533c7[_0x5934('0x23')];}return _0x1a0167;}export function downcastSplitMergeMarker(_0x29bf88,_0x1145d5,{showActiveMarker:_0x10e8fe=!0x0}={}){const _0x3e80df=_0x29bf88[_0x5934('0x8')][_0x5934('0x14')](_0x5934('0x1b'));return(_0x4226ab,_0x33efe8,_0x341bdc)=>{if(!_0x341bdc[_0x5934('0x19')][_0x5934('0xb')](_0x33efe8['markerRange'],_0x4226ab[_0x5934('0x17')]))return;const _0x21d7cc=_0x33efe8[_0x5934('0x4')][_0x5934('0x16')](),_0x312af8=_0x33efe8[_0x5934('0x4')]['start'],_0x59b463=_0x29bf88[_0x5934('0x3')]['schema'];let _0x3d9267=null,_0x561594=null,_0x2ae53a=!0x1,_0xf2e37b=!0x1;for(const _0x27baea of _0x21d7cc){const _0x2ad4a8=_0x27baea[_0x5934('0x11')];_0x2ae53a=_0x2ae53a||_0x59b463['isContent'](_0x2ad4a8);const _0x728a2d=_0x341bdc[_0x5934('0x1f')]['toViewElement'](_0x2ad4a8);if(_0x728a2d&&_0x728a2d[_0x5934('0x13')](_0x5934('0x1e')))return;'elementEnd'==_0x27baea[_0x5934('0x1c')]&&(_0x59b463[_0x5934('0x7')](_0x2ad4a8)&&!_0x59b463[_0x5934('0x10')](_0x2ad4a8)&&(_0x2ad4a8['nextSibling']||_0x312af8[_0x5934('0x18')]?_0x3d9267&&_0x3d9267[_0x5934('0xd')]==_0x2ad4a8||(_0x3d9267=_0x2ad4a8,_0x9852dc(_0x27baea['previousPosition']),_0xf2e37b=!0x0):_0x561594=_0x561594||_0x27baea[_0x5934('0xe')]));}function _0x9852dc(_0x36e1ed){const _0xa4fa4f=_0x341bdc[_0x5934('0x1a')][_0x5934('0x0')](_0x5934('0x1'),{'class':_0x5934('0xa')+_0x1145d5}),_0x49be00=_0x341bdc[_0x5934('0x1f')]['toViewPosition'](_0x36e1ed);_0x10e8fe&&_0x3e80df[_0x5934('0x1d')]['includes'](_0x33efe8[_0x5934('0xc')])&&_0x341bdc['writer'][_0x5934('0x15')](_0x5934('0x20'),_0xa4fa4f),_0x341bdc[_0x5934('0x1a')][_0x5934('0x22')](_0x49be00,_0xa4fa4f),_0x341bdc[_0x5934('0x1f')]['bindElementToMarker'](_0xa4fa4f,_0x33efe8[_0x5934('0xc')]);}_0x2ae53a||_0xf2e37b||!_0x561594||_0x9852dc(_0x561594);};}
23
+ const _0x1cd6=['addHighlight','previousPosition','elementEnd','toViewPosition','mapper','writer','isBlock','activeMarkers','markerRange','push','name','parent','getAttribute','bindElementToMarker','isLimit','getCustomProperty','markerName','model','span','includes','type','test','ck-suggestion-marker-','listItem','ck-suggestion-marker--active','insert','start','isAtEnd','getWalker','item','toViewElement','consumable','getItems','element','listIndent','get'];(function(_0x24971e,_0x1cd6ea){const _0x2fa5dd=function(_0x244958){while(--_0x244958){_0x24971e['push'](_0x24971e['shift']());}};_0x2fa5dd(++_0x1cd6ea);}(_0x1cd6,0xfd));const _0x2fa5=function(_0x24971e,_0x1cd6ea){_0x24971e=_0x24971e-0x0;let _0x2fa5dd=_0x1cd6[_0x24971e];return _0x2fa5dd;};export function getRangesWithAttribute(_0x1d71b0,_0x12c15,_0x41fb88){const _0x363da4=[];for(const _0x444975 of _0x12c15[_0x2fa5('0x1f')]())_0x444975['hasAttribute'](_0x1d71b0)&&_0x363da4[_0x2fa5('0x8')](_0x41fb88['createRangeOn'](_0x444975));return _0x363da4;}export function getElementsAffectedByListItemRename(_0x5b2189){const _0x4263fb=[];if(_0x5b2189['is']('element',_0x2fa5('0x16'))){let _0x31cb9f=_0x5b2189['nextSibling'];for(;_0x31cb9f&&_0x31cb9f['is'](_0x2fa5('0x20'),'listItem')&&_0x31cb9f[_0x2fa5('0xb')](_0x2fa5('0x21'))>0x0;)_0x4263fb[_0x2fa5('0x8')](_0x31cb9f),_0x31cb9f=_0x31cb9f['nextSibling'];}return _0x4263fb;}export function downcastSplitMergeMarker(_0x24386d,_0x3d7d13,{showActiveMarker:_0x20d23e=!0x0}={}){const _0x5bdad7=_0x24386d['plugins'][_0x2fa5('0x22')]('TrackChangesEditing');return(_0x5d9670,_0x27d2ad,_0x3e50fc)=>{if(!_0x3e50fc[_0x2fa5('0x1e')][_0x2fa5('0x14')](_0x27d2ad[_0x2fa5('0x7')],_0x5d9670[_0x2fa5('0x9')]))return;const _0x1e05c8=_0x27d2ad[_0x2fa5('0x7')][_0x2fa5('0x1b')](),_0x37e0ad=_0x27d2ad[_0x2fa5('0x7')][_0x2fa5('0x19')],_0x27b31b=_0x24386d[_0x2fa5('0x10')]['schema'];let _0x24227b=null,_0x36d501=null,_0x4d2a35=!0x1,_0x183577=!0x1;for(const _0x3e081a of _0x1e05c8){const _0x2f20a0=_0x3e081a[_0x2fa5('0x1c')];_0x4d2a35=_0x4d2a35||_0x27b31b['isContent'](_0x2f20a0);const _0xf244cf=_0x3e50fc[_0x2fa5('0x3')][_0x2fa5('0x1d')](_0x2f20a0);if(_0xf244cf&&_0xf244cf[_0x2fa5('0xe')](_0x2fa5('0x23')))return;_0x2fa5('0x1')==_0x3e081a[_0x2fa5('0x13')]&&(_0x27b31b[_0x2fa5('0x5')](_0x2f20a0)&&!_0x27b31b[_0x2fa5('0xd')](_0x2f20a0)&&(_0x2f20a0['nextSibling']||_0x37e0ad[_0x2fa5('0x1a')]?_0x24227b&&_0x24227b[_0x2fa5('0xa')]==_0x2f20a0||(_0x24227b=_0x2f20a0,_0x24c64d(_0x3e081a[_0x2fa5('0x0')]),_0x183577=!0x0):_0x36d501=_0x36d501||_0x3e081a[_0x2fa5('0x0')]));}function _0x24c64d(_0x38c3c9){const _0x3cd4bd=_0x3e50fc[_0x2fa5('0x4')]['createUIElement'](_0x2fa5('0x11'),{'class':_0x2fa5('0x15')+_0x3d7d13}),_0x416002=_0x3e50fc[_0x2fa5('0x3')][_0x2fa5('0x2')](_0x38c3c9);_0x20d23e&&_0x5bdad7[_0x2fa5('0x6')][_0x2fa5('0x12')](_0x27d2ad[_0x2fa5('0xf')])&&_0x3e50fc[_0x2fa5('0x4')]['addClass'](_0x2fa5('0x17'),_0x3cd4bd),_0x3e50fc[_0x2fa5('0x4')][_0x2fa5('0x18')](_0x416002,_0x3cd4bd),_0x3e50fc[_0x2fa5('0x3')][_0x2fa5('0xc')](_0x3cd4bd,_0x27d2ad['markerName']);}_0x4d2a35||_0x183577||!_0x36d501||_0x24c64d(_0x36d501);};}