@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20230719.0 → 0.0.0-nightly-20230721.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (64) hide show
  1. package/build/track-changes.js +1 -1
  2. package/package.json +4 -4
  3. package/src/commands/acceptsuggestioncommand.js +1 -1
  4. package/src/commands/discardsuggestioncommand.js +1 -1
  5. package/src/commands/executeonallsuggestionscommand.js +1 -1
  6. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  7. package/src/commands/trackchangescommand.js +1 -1
  8. package/src/integrations/alignment.js +1 -1
  9. package/src/integrations/basicstyles.js +1 -1
  10. package/src/integrations/blockquote.js +1 -1
  11. package/src/integrations/ckbox.js +1 -1
  12. package/src/integrations/codeblock.js +1 -1
  13. package/src/integrations/comments.js +1 -1
  14. package/src/integrations/deletecommand.js +1 -1
  15. package/src/integrations/documentlist.js +1 -1
  16. package/src/integrations/documentlistproperties.js +1 -1
  17. package/src/integrations/entercommand.js +1 -1
  18. package/src/integrations/findandreplace.js +1 -1
  19. package/src/integrations/font.js +1 -1
  20. package/src/integrations/formatpainter.js +1 -1
  21. package/src/integrations/heading.js +1 -1
  22. package/src/integrations/highlight.js +1 -1
  23. package/src/integrations/horizontalline.js +1 -1
  24. package/src/integrations/htmlembed.js +1 -1
  25. package/src/integrations/image.js +1 -1
  26. package/src/integrations/imagereplace.js +1 -1
  27. package/src/integrations/importword.js +1 -1
  28. package/src/integrations/indent.js +1 -1
  29. package/src/integrations/inputcommand.js +1 -1
  30. package/src/integrations/link.js +1 -1
  31. package/src/integrations/list.js +1 -1
  32. package/src/integrations/listproperties.js +1 -1
  33. package/src/integrations/mediaembed.js +1 -1
  34. package/src/integrations/mention.js +1 -1
  35. package/src/integrations/pagebreak.js +1 -1
  36. package/src/integrations/paragraph.js +1 -1
  37. package/src/integrations/removeformat.js +1 -1
  38. package/src/integrations/restrictededitingmode.js +1 -1
  39. package/src/integrations/shiftentercommand.js +1 -1
  40. package/src/integrations/standardeditingmode.js +1 -1
  41. package/src/integrations/style.js +1 -1
  42. package/src/integrations/table.js +1 -1
  43. package/src/integrations/tablecaption.js +1 -1
  44. package/src/integrations/tableclipboard.js +1 -1
  45. package/src/integrations/tablecolumnresize.js +1 -1
  46. package/src/integrations/tableheadings.js +1 -1
  47. package/src/integrations/tablemergesplit.js +1 -1
  48. package/src/integrations/tableofcontents.js +1 -1
  49. package/src/integrations/tableproperties.js +1 -1
  50. package/src/integrations/template.js +1 -1
  51. package/src/integrations/title.js +1 -1
  52. package/src/integrations/undo.js +1 -1
  53. package/src/integrations/utils.js +1 -1
  54. package/src/suggestion.js +1 -1
  55. package/src/suggestiondescriptionfactory.js +1 -1
  56. package/src/trackchanges.js +1 -1
  57. package/src/trackchangesdata.js +1 -1
  58. package/src/trackchangesediting.js +1 -1
  59. package/src/trackchangesui.js +1 -1
  60. package/src/ui/suggestioncontroller.js +1 -1
  61. package/src/ui/view/basesuggestionthreadview.js +1 -1
  62. package/src/ui/view/suggestionthreadview.js +1 -1
  63. package/src/utils/common-translations.js +1 -1
  64. package/src/utils/utils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5177=['ELEMENT_','plugins','format','enableCommand','reversed','createPositionAt','_LIST_','_getTranslationKeyForListStyle','ListUtils','editor','_descriptionFactory','unshift','change','afterInit','forward','listStyle','listReversed','map','listStart','backward','commandParams','replace','getSiblingNodes','handleListReversedCommand','listItem','getSelectedBlocks','has','createRange','*Format:*\x20set\x20order\x20to\x20reversed','_getSuggestionBlocks','TrackChangesEditing','*Change\x20to:*\x20%0','commandName','element','filter','registerDescriptionCallback','type','toUpperCase','bind','numbered','selection','startIndex','handleListStyleCommand','flat','markMultiRangeBlockFormat','from','length','getAttribute','before','styles','_getSuggestionBlocksForListStyle','document','list.properties','getLastPosition','locale','get','handleDescriptions','handleListStartCommand','model','parent'];(function(_0xc5e4eb,_0x517761){const _0x529bce=function(_0x12b0cd){while(--_0x12b0cd){_0xc5e4eb['push'](_0xc5e4eb['shift']());}};_0x529bce(++_0x517761);}(_0x5177,0x97));const _0x529b=function(_0xc5e4eb,_0x517761){_0xc5e4eb=_0xc5e4eb-0x0;let _0x529bce=_0x5177[_0xc5e4eb];return _0x529bce;};import{Plugin as _0x54b6dd}from'ckeditor5/src/core';import{getTranslation as _0x48b65e}from'../utils/common-translations';export default class nt extends _0x54b6dd{[_0x529b('0x2a')](){if(!this[_0x529b('0x26')][_0x529b('0x1e')][_0x529b('0x37')]('ListPropertiesEditing'))return;const _0xcddee0=this[_0x529b('0x26')]['config'][_0x529b('0x18')](_0x529b('0x15')),_0x51f7f2=this[_0x529b('0x26')][_0x529b('0x1e')][_0x529b('0x18')](_0x529b('0x3b'));_0xcddee0[_0x529b('0x12')]&&_0x51f7f2[_0x529b('0x20')](_0x529b('0x2c'),this[_0x529b('0xb')][_0x529b('0x7')](this)),_0xcddee0[_0x529b('0x21')]&&_0x51f7f2[_0x529b('0x20')](_0x529b('0x2d'),this['handleListReversedCommand'][_0x529b('0x7')](this)),_0xcddee0[_0x529b('0xa')]&&_0x51f7f2[_0x529b('0x20')](_0x529b('0x2f'),this[_0x529b('0x1a')]['bind'](this)),_0x51f7f2[_0x529b('0x27')][_0x529b('0x4')](this[_0x529b('0x19')][_0x529b('0x7')](this));}[_0x529b('0xb')](_0x500d61,_0x4f3b73={}){const _0x291128=this[_0x529b('0x26')][_0x529b('0x1e')][_0x529b('0x18')](_0x529b('0x3b')),_0x4b7d23=this[_0x529b('0x13')]();this[_0x529b('0x26')][_0x529b('0x1b')][_0x529b('0x29')](()=>{_0x291128[_0x529b('0xd')](_0x4b7d23,{'commandName':_0x529b('0x2c'),'commandParams':[{'type':_0x4f3b73[_0x529b('0x5')]}],'formatGroupId':_0x529b('0x2c')});});}[_0x529b('0x34')](_0x454b38,_0xc5d675={}){const _0x4a9956=this[_0x529b('0x26')][_0x529b('0x1e')]['get'](_0x529b('0x3b')),_0x37f3eb=this[_0x529b('0x3a')](_0x3cf6ad=>_0x3cf6ad['is'](_0x529b('0x2'),_0x529b('0x35'))&&_0x529b('0x8')===_0x3cf6ad['getAttribute']('listType'));if(_0x37f3eb['length']<0x1)return;const _0x3d1d28=_0x37f3eb[_0x529b('0x2e')](_0x20ab46=>this[_0x529b('0x26')][_0x529b('0x1b')]['createRange'](this['editor']['model']['createPositionAt'](_0x20ab46,_0x529b('0x11')),this['editor']['model'][_0x529b('0x22')](_0x20ab46,0x0)));this[_0x529b('0x26')][_0x529b('0x1b')]['change'](()=>{_0x4a9956[_0x529b('0xd')](_0x3d1d28,{'commandName':'listReversed','commandParams':[{'reversed':_0xc5d675['reversed']}],'formatGroupId':_0x529b('0x2d')});});}['handleListStartCommand'](_0x4354fb,_0x5f0d09={}){const _0x45b301=this[_0x529b('0x26')]['plugins']['get']('TrackChangesEditing'),_0x4bd43e=this[_0x529b('0x3a')](_0x3e2e2e=>_0x3e2e2e['is'](_0x529b('0x2'),_0x529b('0x35'))&&'numbered'===_0x3e2e2e[_0x529b('0x10')]('listType'));if(_0x4bd43e['length']<0x1)return;const _0x44be5c=_0x4bd43e['map'](_0x4e1f57=>this[_0x529b('0x26')][_0x529b('0x1b')][_0x529b('0x38')](this['editor'][_0x529b('0x1b')][_0x529b('0x22')](_0x4e1f57,_0x529b('0x11')),this[_0x529b('0x26')]['model']['createPositionAt'](_0x4e1f57,0x0)));this[_0x529b('0x26')]['model']['change'](()=>{_0x45b301[_0x529b('0xd')](_0x44be5c,{'commandName':_0x529b('0x2f'),'commandParams':[{'startIndex':_0x5f0d09[_0x529b('0xa')]}],'formatGroupId':_0x529b('0x2f')});});}[_0x529b('0x19')](_0x218828){const _0x5a32f6=this[_0x529b('0x26')][_0x529b('0x17')],{data:_0x203313}=_0x218828;if(!_0x203313)return;let _0x17c1b8,_0x462181;switch(_0x203313[_0x529b('0x1')]){case _0x529b('0x2c'):_0x17c1b8=_0x529b('0x0'),_0x462181={'type':_0x529b('0x1f'),'content':_0x48b65e(_0x5a32f6,_0x17c1b8,_0x48b65e(_0x5a32f6,this[_0x529b('0x24')](_0x203313[_0x529b('0x31')][0x0][_0x529b('0x5')])))};break;case'listReversed':_0x17c1b8=_0x203313[_0x529b('0x31')][0x0]['reversed']?_0x529b('0x39'):'*Format:*\x20set\x20order\x20to\x20regular',_0x462181={'type':_0x529b('0x1f'),'content':_0x48b65e(_0x5a32f6,_0x17c1b8)};break;case _0x529b('0x2f'):_0x17c1b8='*Format:*\x20set\x20start\x20index\x20to\x20%0',_0x462181={'type':'format','content':_0x48b65e(_0x5a32f6,_0x17c1b8,_0x203313[_0x529b('0x31')][0x0]['startIndex'])};}return _0x462181;}[_0x529b('0x13')](){var _0x58ead5,_0x409fba,_0x37f105,_0xc39d1d;const _0x355e89=this[_0x529b('0x26')]['plugins'][_0x529b('0x18')](_0x529b('0x25'));let _0x4c788e=Array[_0x529b('0xe')](this['editor'][_0x529b('0x1b')][_0x529b('0x14')][_0x529b('0x9')]['getSelectedBlocks']());return(null===(_0x58ead5=_0x4c788e[0x0])||void 0x0===_0x58ead5?void 0x0:_0x58ead5['is'](_0x529b('0x2'),_0x529b('0x35')))&&_0x4c788e[_0x529b('0x28')](..._0x355e89[_0x529b('0x33')](this[_0x529b('0x26')][_0x529b('0x1b')]['document'][_0x529b('0x9')]['getFirstPosition'](),_0x529b('0x30'))),(null===(_0x409fba=_0x4c788e[_0x4c788e[_0x529b('0xf')]-0x1])||void 0x0===_0x409fba?void 0x0:_0x409fba['is'](_0x529b('0x2'),_0x529b('0x35')))&&_0x4c788e['push'](..._0x355e89['getSiblingNodes'](this[_0x529b('0x26')][_0x529b('0x1b')][_0x529b('0x14')][_0x529b('0x9')][_0x529b('0x16')](),_0x529b('0x2b'))),_0x4c788e=[...new Set(_0x4c788e)],(null===(_0xc39d1d=null===(_0x37f105=this['editor'][_0x529b('0x1b')]['document'][_0x529b('0x9')]['getFirstPosition']())||void 0x0===_0x37f105?void 0x0:_0x37f105[_0x529b('0x1c')])||void 0x0===_0xc39d1d?void 0x0:_0xc39d1d['is'](_0x529b('0x2'),'listItem'))&&(_0x4c788e=_0x4c788e[_0x529b('0x3')](_0x7396ce=>_0x7396ce['is'](_0x529b('0x2'),_0x529b('0x35')))),_0x4c788e;}['_getSuggestionBlocks'](_0xef5c7b){const _0xeee8fc=this[_0x529b('0x26')]['plugins'][_0x529b('0x18')](_0x529b('0x25'));let _0x37df34=Array[_0x529b('0xe')](this[_0x529b('0x26')][_0x529b('0x1b')][_0x529b('0x14')][_0x529b('0x9')][_0x529b('0x36')]())['filter'](_0xef5c7b)[_0x529b('0x2e')](_0x2c3ba4=>{const _0x3cfc9d=this[_0x529b('0x26')][_0x529b('0x1b')]['createPositionAt'](_0x2c3ba4,0x0);return[..._0xeee8fc['getSiblingNodes'](_0x3cfc9d,_0x529b('0x30')),..._0xeee8fc[_0x529b('0x33')](_0x3cfc9d,_0x529b('0x2b'))];})[_0x529b('0xc')]();return _0x37df34=[...new Set(_0x37df34)],_0x37df34;}['_getTranslationKeyForListStyle'](_0x5c815f){return _0x529b('0x1d')+this['editor'][_0x529b('0x1e')][_0x529b('0x18')](_0x529b('0x25'))['getListTypeFromListStyleType'](_0x5c815f)[_0x529b('0x6')]()+_0x529b('0x23')+_0x5c815f[_0x529b('0x6')]()[_0x529b('0x32')](/-/g,'_');}}
23
+ const _0x5cc1=['ListPropertiesEditing','has','toUpperCase','registerDescriptionCallback','selection','_getSuggestionBlocksForListStyle','getAttribute','model','bind','listStyle','styles','push','_LIST_','type','ListUtils','_getTranslationKeyForListStyle','_descriptionFactory','editor','map','_getSuggestionBlocks','commandParams','handleDescriptions','createPositionAt','listType','*Change\x20to:*\x20%0','forward','change','backward','unshift','afterInit','flat','listReversed','getSiblingNodes','listStart','commandName','handleListStartCommand','plugins','getFirstPosition','listItem','locale','getSelectedBlocks','list.properties','createRange','length','filter','parent','element','getLastPosition','get','handleListReversedCommand','startIndex','before','reversed','markMultiRangeBlockFormat','TrackChangesEditing','handleListStyleCommand','replace','enableCommand','format','from'];(function(_0x4bb9c2,_0x5cc1f4){const _0x5e8ce5=function(_0x35abef){while(--_0x35abef){_0x4bb9c2['push'](_0x4bb9c2['shift']());}};_0x5e8ce5(++_0x5cc1f4);}(_0x5cc1,0x1a2));const _0x5e8c=function(_0x4bb9c2,_0x5cc1f4){_0x4bb9c2=_0x4bb9c2-0x0;let _0x5e8ce5=_0x5cc1[_0x4bb9c2];return _0x5e8ce5;};import{Plugin as _0x1d12d8}from'ckeditor5/src/core';import{getTranslation as _0x14e62a}from'../utils/common-translations';export default class nt extends _0x1d12d8{[_0x5e8c('0x1f')](){if(!this[_0x5e8c('0x13')]['plugins'][_0x5e8c('0x3')](_0x5e8c('0x2')))return;const _0x3587e1=this[_0x5e8c('0x13')]['config']['get'](_0x5e8c('0x2b')),_0x217e00=this[_0x5e8c('0x13')]['plugins'][_0x5e8c('0x32')](_0x5e8c('0x38'));_0x3587e1[_0x5e8c('0xc')]&&_0x217e00[_0x5e8c('0x3b')](_0x5e8c('0xb'),this[_0x5e8c('0x39')][_0x5e8c('0xa')](this)),_0x3587e1['reversed']&&_0x217e00[_0x5e8c('0x3b')](_0x5e8c('0x21'),this[_0x5e8c('0x33')][_0x5e8c('0xa')](this)),_0x3587e1[_0x5e8c('0x34')]&&_0x217e00[_0x5e8c('0x3b')]('listStart',this[_0x5e8c('0x25')][_0x5e8c('0xa')](this)),_0x217e00[_0x5e8c('0x12')][_0x5e8c('0x5')](this[_0x5e8c('0x17')][_0x5e8c('0xa')](this));}[_0x5e8c('0x39')](_0x1f6024,_0x132fcb={}){const _0x4a906b=this[_0x5e8c('0x13')][_0x5e8c('0x26')][_0x5e8c('0x32')](_0x5e8c('0x38')),_0x1a598d=this['_getSuggestionBlocksForListStyle']();this['editor'][_0x5e8c('0x9')][_0x5e8c('0x1c')](()=>{_0x4a906b[_0x5e8c('0x37')](_0x1a598d,{'commandName':_0x5e8c('0xb'),'commandParams':[{'type':_0x132fcb[_0x5e8c('0xf')]}],'formatGroupId':_0x5e8c('0xb')});});}[_0x5e8c('0x33')](_0xe65cd6,_0x234109={}){const _0x531865=this[_0x5e8c('0x13')][_0x5e8c('0x26')][_0x5e8c('0x32')](_0x5e8c('0x38')),_0x17ba30=this[_0x5e8c('0x15')](_0x474fe7=>_0x474fe7['is'](_0x5e8c('0x30'),'listItem')&&'numbered'===_0x474fe7[_0x5e8c('0x8')](_0x5e8c('0x19')));if(_0x17ba30[_0x5e8c('0x2d')]<0x1)return;const _0x3fa692=_0x17ba30[_0x5e8c('0x14')](_0x33be18=>this['editor'][_0x5e8c('0x9')][_0x5e8c('0x2c')](this[_0x5e8c('0x13')][_0x5e8c('0x9')]['createPositionAt'](_0x33be18,_0x5e8c('0x35')),this['editor'][_0x5e8c('0x9')][_0x5e8c('0x18')](_0x33be18,0x0)));this[_0x5e8c('0x13')][_0x5e8c('0x9')]['change'](()=>{_0x531865[_0x5e8c('0x37')](_0x3fa692,{'commandName':'listReversed','commandParams':[{'reversed':_0x234109[_0x5e8c('0x36')]}],'formatGroupId':_0x5e8c('0x21')});});}[_0x5e8c('0x25')](_0x2db1fb,_0x2dce99={}){const _0x2d5adb=this[_0x5e8c('0x13')]['plugins'][_0x5e8c('0x32')](_0x5e8c('0x38')),_0x16229e=this['_getSuggestionBlocks'](_0x87920b=>_0x87920b['is']('element',_0x5e8c('0x28'))&&'numbered'===_0x87920b['getAttribute'](_0x5e8c('0x19')));if(_0x16229e['length']<0x1)return;const _0x38372d=_0x16229e[_0x5e8c('0x14')](_0x5c8f83=>this[_0x5e8c('0x13')][_0x5e8c('0x9')][_0x5e8c('0x2c')](this[_0x5e8c('0x13')][_0x5e8c('0x9')][_0x5e8c('0x18')](_0x5c8f83,_0x5e8c('0x35')),this[_0x5e8c('0x13')][_0x5e8c('0x9')][_0x5e8c('0x18')](_0x5c8f83,0x0)));this[_0x5e8c('0x13')][_0x5e8c('0x9')][_0x5e8c('0x1c')](()=>{_0x2d5adb['markMultiRangeBlockFormat'](_0x38372d,{'commandName':_0x5e8c('0x23'),'commandParams':[{'startIndex':_0x2dce99['startIndex']}],'formatGroupId':'listStart'});});}[_0x5e8c('0x17')](_0x29da4d){const _0x4f9ae4=this['editor'][_0x5e8c('0x29')],{data:_0x246fb0}=_0x29da4d;if(!_0x246fb0)return;let _0x3b1f90,_0x5b3b96;switch(_0x246fb0[_0x5e8c('0x24')]){case _0x5e8c('0xb'):_0x3b1f90=_0x5e8c('0x1a'),_0x5b3b96={'type':_0x5e8c('0x0'),'content':_0x14e62a(_0x4f9ae4,_0x3b1f90,_0x14e62a(_0x4f9ae4,this[_0x5e8c('0x11')](_0x246fb0[_0x5e8c('0x16')][0x0][_0x5e8c('0xf')])))};break;case _0x5e8c('0x21'):_0x3b1f90=_0x246fb0[_0x5e8c('0x16')][0x0][_0x5e8c('0x36')]?'*Format:*\x20set\x20order\x20to\x20reversed':'*Format:*\x20set\x20order\x20to\x20regular',_0x5b3b96={'type':_0x5e8c('0x0'),'content':_0x14e62a(_0x4f9ae4,_0x3b1f90)};break;case'listStart':_0x3b1f90='*Format:*\x20set\x20start\x20index\x20to\x20%0',_0x5b3b96={'type':_0x5e8c('0x0'),'content':_0x14e62a(_0x4f9ae4,_0x3b1f90,_0x246fb0[_0x5e8c('0x16')][0x0][_0x5e8c('0x34')])};}return _0x5b3b96;}[_0x5e8c('0x7')](){var _0x488cd6,_0x2c1183,_0xda93d4,_0xff919d;const _0xa8c8c=this['editor']['plugins'][_0x5e8c('0x32')](_0x5e8c('0x10'));let _0x2de694=Array[_0x5e8c('0x1')](this['editor'][_0x5e8c('0x9')]['document'][_0x5e8c('0x6')][_0x5e8c('0x2a')]());return(null===(_0x488cd6=_0x2de694[0x0])||void 0x0===_0x488cd6?void 0x0:_0x488cd6['is'](_0x5e8c('0x30'),'listItem'))&&_0x2de694[_0x5e8c('0x1e')](..._0xa8c8c[_0x5e8c('0x22')](this[_0x5e8c('0x13')][_0x5e8c('0x9')]['document'][_0x5e8c('0x6')][_0x5e8c('0x27')](),_0x5e8c('0x1d'))),(null===(_0x2c1183=_0x2de694[_0x2de694['length']-0x1])||void 0x0===_0x2c1183?void 0x0:_0x2c1183['is'](_0x5e8c('0x30'),'listItem'))&&_0x2de694[_0x5e8c('0xd')](..._0xa8c8c[_0x5e8c('0x22')](this['editor']['model']['document']['selection'][_0x5e8c('0x31')](),_0x5e8c('0x1b'))),_0x2de694=[...new Set(_0x2de694)],(null===(_0xff919d=null===(_0xda93d4=this[_0x5e8c('0x13')][_0x5e8c('0x9')]['document'][_0x5e8c('0x6')][_0x5e8c('0x27')]())||void 0x0===_0xda93d4?void 0x0:_0xda93d4[_0x5e8c('0x2f')])||void 0x0===_0xff919d?void 0x0:_0xff919d['is'](_0x5e8c('0x30'),_0x5e8c('0x28')))&&(_0x2de694=_0x2de694[_0x5e8c('0x2e')](_0x461944=>_0x461944['is'](_0x5e8c('0x30'),_0x5e8c('0x28')))),_0x2de694;}[_0x5e8c('0x15')](_0x1f69d6){const _0x373d22=this['editor'][_0x5e8c('0x26')]['get'](_0x5e8c('0x10'));let _0x539845=Array['from'](this[_0x5e8c('0x13')]['model']['document'][_0x5e8c('0x6')][_0x5e8c('0x2a')]())['filter'](_0x1f69d6)[_0x5e8c('0x14')](_0x435d35=>{const _0x5b06fb=this[_0x5e8c('0x13')][_0x5e8c('0x9')][_0x5e8c('0x18')](_0x435d35,0x0);return[..._0x373d22['getSiblingNodes'](_0x5b06fb,_0x5e8c('0x1d')),..._0x373d22[_0x5e8c('0x22')](_0x5b06fb,_0x5e8c('0x1b'))];})[_0x5e8c('0x20')]();return _0x539845=[...new Set(_0x539845)],_0x539845;}['_getTranslationKeyForListStyle'](_0x58ba32){return'ELEMENT_'+this[_0x5e8c('0x13')]['plugins'][_0x5e8c('0x32')](_0x5e8c('0x10'))['getListTypeFromListStyleType'](_0x58ba32)[_0x5e8c('0x4')]()+_0x5e8c('0xe')+_0x58ba32[_0x5e8c('0x4')]()[_0x5e8c('0x3a')](/-/g,'_');}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1489=['conversion','downcastDispatcher','afterInit','locale','has','showSuggestionHighlights','editor','enableCommand','media','elementToElement','high','TrackChangesEditing','MediaEmbedEditing','get','options','data','plugins','registerElementLabel','div','mediaEmbed'];(function(_0x444955,_0x1489b9){const _0x468453=function(_0x322fc3){while(--_0x322fc3){_0x444955['push'](_0x444955['shift']());}};_0x468453(++_0x1489b9);}(_0x1489,0x183));const _0x4684=function(_0x444955,_0x1489b9){_0x444955=_0x444955-0x0;let _0x468453=_0x1489[_0x444955];return _0x468453;};import{Plugin as _0x5c90d3}from'ckeditor5/src/core';import{getTranslation as _0xae7c8c}from'../utils/common-translations';export default class ot extends _0x5c90d3{[_0x4684('0xf')](){const _0x1adece=this[_0x4684('0x13')];if(!_0x1adece[_0x4684('0x9')][_0x4684('0x11')](_0x4684('0x5')))return;const _0x10d822=_0x1adece[_0x4684('0x9')][_0x4684('0x6')](_0x4684('0x4')),_0x3932cb=_0x1adece[_0x4684('0x10')];_0x10d822[_0x4684('0x0')](_0x4684('0xc')),_0x10d822['_descriptionFactory'][_0x4684('0xa')](_0x4684('0x1'),_0x1a99ae=>_0xae7c8c(_0x3932cb,'ELEMENT_MEDIA',_0x1a99ae)),_0x1adece[_0x4684('0xd')]['for']('dataDowncast')[_0x4684('0x2')]({'model':'media','view':(_0x42fe49,{writer:_0x2017f9,options:_0x3763cf})=>{if(_0x3763cf[_0x4684('0x12')])return _0x2017f9['createEmptyElement'](_0x4684('0xb'));},'converterPriority':_0x4684('0x3')}),_0x1adece[_0x4684('0x8')][_0x4684('0xe')]['on']('attribute:url:media',(_0x420c46,_0x10deb5,_0x2b8b26)=>{_0x2b8b26[_0x4684('0x7')]['showSuggestionHighlights']&&_0x420c46['stop']();},{'priority':'high'});}}
23
+ const _0x4dbb=['plugins','options','attribute:url:media','elementToElement','get','locale','registerElementLabel','showSuggestionHighlights','conversion','dataDowncast','for','stop','data','mediaEmbed','MediaEmbedEditing','createEmptyElement','media','afterInit','div','high'];(function(_0x2cd957,_0x4dbb76){const _0x11b906=function(_0x1b3cf4){while(--_0x1b3cf4){_0x2cd957['push'](_0x2cd957['shift']());}};_0x11b906(++_0x4dbb76);}(_0x4dbb,0x120));const _0x11b9=function(_0x2cd957,_0x4dbb76){_0x2cd957=_0x2cd957-0x0;let _0x11b906=_0x4dbb[_0x2cd957];return _0x11b906;};import{Plugin as _0x54e843}from'ckeditor5/src/core';import{getTranslation as _0x1908e0}from'../utils/common-translations';export default class ot extends _0x54e843{[_0x11b9('0x9')](){const _0x422853=this['editor'];if(!_0x422853[_0x11b9('0xc')]['has'](_0x11b9('0x6')))return;const _0x5c30bf=_0x422853[_0x11b9('0xc')][_0x11b9('0x10')]('TrackChangesEditing'),_0x35fd33=_0x422853[_0x11b9('0x11')];_0x5c30bf['enableCommand'](_0x11b9('0x5')),_0x5c30bf['_descriptionFactory'][_0x11b9('0x12')]('media',_0x604aeb=>_0x1908e0(_0x35fd33,'ELEMENT_MEDIA',_0x604aeb)),_0x422853[_0x11b9('0x0')][_0x11b9('0x2')](_0x11b9('0x1'))[_0x11b9('0xf')]({'model':_0x11b9('0x8'),'view':(_0x4c96e0,{writer:_0x4d3274,options:_0x4dd103})=>{if(_0x4dd103[_0x11b9('0x13')])return _0x4d3274[_0x11b9('0x7')](_0x11b9('0xa'));},'converterPriority':_0x11b9('0xb')}),_0x422853[_0x11b9('0x4')]['downcastDispatcher']['on'](_0x11b9('0xe'),(_0x5793ad,_0xf6ede7,_0x67cccc)=>{_0x67cccc[_0x11b9('0xd')][_0x11b9('0x13')]&&_0x5793ad[_0x11b9('0x3')]();},{'priority':'high'});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x493b=['has','editor','mention','enableCommand','get','plugins'];(function(_0x5b40fe,_0x493b9d){const _0x4ba40b=function(_0xee3e15){while(--_0xee3e15){_0x5b40fe['push'](_0x5b40fe['shift']());}};_0x4ba40b(++_0x493b9d);}(_0x493b,0x1e3));const _0x4ba4=function(_0x5b40fe,_0x493b9d){_0x5b40fe=_0x5b40fe-0x0;let _0x4ba40b=_0x493b[_0x5b40fe];return _0x4ba40b;};import{Plugin as _0x391b19}from'ckeditor5/src/core';export default class rt extends _0x391b19{['afterInit'](){const _0x406bf6=this[_0x4ba4('0x4')];_0x406bf6['plugins'][_0x4ba4('0x3')]('MentionEditing')&&_0x406bf6[_0x4ba4('0x2')][_0x4ba4('0x1')]('TrackChangesEditing')[_0x4ba4('0x0')](_0x4ba4('0x5'));}}
23
+ const _0x4bcb=['plugins','TrackChangesEditing','afterInit','MentionEditing','enableCommand'];(function(_0x551957,_0x4bcb4a){const _0x11c702=function(_0x4b4183){while(--_0x4b4183){_0x551957['push'](_0x551957['shift']());}};_0x11c702(++_0x4bcb4a);}(_0x4bcb,0x1c9));const _0x11c7=function(_0x551957,_0x4bcb4a){_0x551957=_0x551957-0x0;let _0x11c702=_0x4bcb[_0x551957];return _0x11c702;};import{Plugin as _0x24a7cd}from'ckeditor5/src/core';export default class rt extends _0x24a7cd{[_0x11c7('0x0')](){const _0x3b418c=this['editor'];_0x3b418c[_0x11c7('0x3')]['has'](_0x11c7('0x1'))&&_0x3b418c['plugins']['get'](_0x11c7('0x4'))[_0x11c7('0x2')]('mention');}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x113a=['get','plugins','ELEMENT_PAGE_BREAK','pageBreak','_descriptionFactory','editor','TrackChangesEditing','enableCommand','registerElementLabel','PageBreakEditing','afterInit','has'];(function(_0x5db13e,_0x113a07){const _0x531e85=function(_0xdcc88d){while(--_0xdcc88d){_0x5db13e['push'](_0x5db13e['shift']());}};_0x531e85(++_0x113a07);}(_0x113a,0x1ed));const _0x531e=function(_0x5db13e,_0x113a07){_0x5db13e=_0x5db13e-0x0;let _0x531e85=_0x113a[_0x5db13e];return _0x531e85;};import{Plugin as _0x59fe10}from'ckeditor5/src/core';import{getTranslation as _0x54f991}from'../utils/common-translations';export default class at extends _0x59fe10{[_0x531e('0x9')](){const _0x131332=this[_0x531e('0x4')];if(!_0x131332[_0x531e('0x0')][_0x531e('0xa')](_0x531e('0x8')))return;_0x131332['plugins'][_0x531e('0xb')](_0x531e('0x5'))[_0x531e('0x6')](_0x531e('0x2'));const _0x3c0558=_0x131332[_0x531e('0x0')][_0x531e('0xb')](_0x531e('0x5')),_0x5747f6=_0x131332['locale'];_0x3c0558[_0x531e('0x3')][_0x531e('0x7')](_0x531e('0x2'),_0x4f4786=>_0x54f991(_0x5747f6,_0x531e('0x1'),_0x4f4786));}}
23
+ const _0x4d14=['afterInit','TrackChangesEditing','locale','PageBreakEditing','pageBreak','registerElementLabel','has','get','_descriptionFactory','plugins'];(function(_0x112b1a,_0x4d1449){const _0x4d1c88=function(_0x200c47){while(--_0x200c47){_0x112b1a['push'](_0x112b1a['shift']());}};_0x4d1c88(++_0x4d1449);}(_0x4d14,0xac));const _0x4d1c=function(_0x112b1a,_0x4d1449){_0x112b1a=_0x112b1a-0x0;let _0x4d1c88=_0x4d14[_0x112b1a];return _0x4d1c88;};import{Plugin as _0x28a786}from'ckeditor5/src/core';import{getTranslation as _0x47a757}from'../utils/common-translations';export default class at extends _0x28a786{[_0x4d1c('0x8')](){const _0xa706dd=this['editor'];if(!_0xa706dd['plugins'][_0x4d1c('0x4')](_0x4d1c('0x1')))return;_0xa706dd[_0x4d1c('0x7')][_0x4d1c('0x5')]('TrackChangesEditing')['enableCommand'](_0x4d1c('0x2'));const _0x6421f9=_0xa706dd['plugins']['get'](_0x4d1c('0x9')),_0x88efe9=_0xa706dd[_0x4d1c('0x0')];_0x6421f9[_0x4d1c('0x6')][_0x4d1c('0x3')](_0x4d1c('0x2'),_0x2d02de=>_0x47a757(_0x88efe9,'ELEMENT_PAGE_BREAK',_0x2d02de));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x201e=['end','locale','bindElementToMarker','markerName','editor','includes','checkChild','start','isTouching','insert','activeMarkers','document','enableCommand','from','insertion','isBlock','paragraph','model','afterInit','getSelectedBlocks','has','get','registerDescriptionCallback','addClass','nodeAfter','consume','name','isObject','commandName','downcastDispatcher','ck-suggestion-marker--active','writer','Paragraph','ELEMENT_PARAGRAPH','*Change\x20to:*\x20%0','_descriptionFactory','ck-suggestion-marker-split','selection','highest','schema','type','filter','mapper','format','getItemLabel','plugins','span','$text','data','consumable','addMarker:suggestion:insertion','options','TrackChangesEditing','blockName','createUIElement','parent','markerRange','insertParagraph','isLimit'];(function(_0x19b3b0,_0x201e3e){const _0x2383b0=function(_0x3f5a55){while(--_0x3f5a55){_0x19b3b0['push'](_0x19b3b0['shift']());}};_0x2383b0(++_0x201e3e);}(_0x201e,0xd0));const _0x2383=function(_0x19b3b0,_0x201e3e){_0x19b3b0=_0x19b3b0-0x0;let _0x2383b0=_0x201e[_0x19b3b0];return _0x2383b0;};import{Plugin as _0xa1e1fa}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0xc00693}from'./utils';import{getTranslation as _0x472d82}from'../utils/common-translations';export default class ct extends _0xa1e1fa{[_0x2383('0x2e')](){const _0x1a5bdc=this[_0x2383('0x20')];if(!_0x1a5bdc[_0x2383('0xe')][_0x2383('0x30')](_0x2383('0x1')))return;const _0x555590=_0x1a5bdc[_0x2383('0x1d')],_0x27ee6=_0x1a5bdc[_0x2383('0xe')][_0x2383('0x31')](_0x2383('0x15'));_0x27ee6[_0x2383('0x4')]['registerElementLabel'](_0x2383('0x2c'),_0x87fc1d=>_0x472d82(_0x555590,_0x2383('0x2'),_0x87fc1d)),_0x27ee6[_0x2383('0x28')](_0x2383('0x2c'),(_0x578a4e,_0x251a63={})=>{const _0x3d9877=_0x1a5bdc[_0x2383('0x2d')][_0x2383('0x27')],_0x432a27=_0x251a63[_0x2383('0x6')]||_0x3d9877[_0x2383('0x6')],_0x59cfd5=Array[_0x2383('0x29')](_0x432a27[_0x2383('0x2f')]())[_0x2383('0xa')](_0x14148b=>function(_0x3acf6a,_0x3063b4){return _0x3063b4[_0x2383('0x22')](_0x3acf6a[_0x2383('0x18')],_0x2383('0x2c'))&&!_0x3063b4[_0x2383('0x37')](_0x3acf6a)&&_0x2383('0x2c')!=_0x3acf6a['name'];}(_0x14148b,this[_0x2383('0x20')][_0x2383('0x2d')]['schema']));_0x1a5bdc[_0x2383('0x2d')]['change'](()=>{for(const _0x33d711 of _0x59cfd5)_0x27ee6['markBlockFormat'](_0x33d711,{'commandName':_0x2383('0x2c'),'commandParams':[],'formatGroupId':_0x2383('0x16')},_0xc00693(_0x33d711));});}),_0x27ee6['_descriptionFactory']['registerDescriptionCallback'](_0x549d04=>{const {data:_0xbea648}=_0x549d04;if(_0xbea648&&'paragraph'==_0xbea648[_0x2383('0x38')])return{'type':_0x2383('0xc'),'content':_0x472d82(_0x555590,_0x2383('0x3'),_0x472d82(_0x555590,_0x2383('0x2')))};}),_0x27ee6[_0x2383('0x28')](_0x2383('0x1a')),_0x1a5bdc['editing']['downcastDispatcher']['on'](_0x2383('0x13'),ar(_0x1a5bdc),{'priority':_0x2383('0x7')}),_0x1a5bdc[_0x2383('0x11')][_0x2383('0x39')]['on'](_0x2383('0x13'),(_0x208335,_0x3bd809,_0x2d3341)=>{_0x2d3341[_0x2383('0x14')]['showSuggestionHighlights']&&ar(_0x1a5bdc,{'showActiveMarker':!0x1})(_0x208335,_0x3bd809,_0x2d3341);},{'priority':_0x2383('0x7')});const _0x3fa17b=_0x27ee6['_descriptionFactory'];_0x3fa17b[_0x2383('0x32')](_0x3ad112=>{if('insertion'!==_0x3ad112[_0x2383('0x9')])return;const {start:_0x48e963,end:_0x7056ff}=_0x3ad112['getFirstRange']();if(!_0x48e963['isTouching'](_0x7056ff)||!_0x48e963[_0x2383('0x34')])return;const _0x324355=_0x1a5bdc[_0x2383('0x2d')]['schema'],_0x204210=_0x48e963['nodeAfter'];return _0x324355[_0x2383('0x2b')](_0x204210)&&!_0x324355[_0x2383('0x1b')](_0x204210)&&_0x324355[_0x2383('0x22')](_0x204210,'$text')?{'type':_0x2383('0x2a'),'content':_0x472d82(_0x555590,'*Insert:*\x20%0',_0x3fa17b[_0x2383('0xd')](_0x204210,0x1))}:void 0x0;});}}function ar(_0x314896,{showActiveMarker:_0x102b02=!0x0}={}){return(_0x3b4a03,_0xe00f06,_0x13533e)=>{const _0x1ca7f5=_0x314896['plugins'][_0x2383('0x31')](_0x2383('0x15')),_0x4b3b3e=_0xe00f06[_0x2383('0x19')][_0x2383('0x23')],_0x38854d=_0xe00f06[_0x2383('0x19')][_0x2383('0x1c')],_0x1c2c8e=_0x314896[_0x2383('0x2d')][_0x2383('0x8')];if(!_0x4b3b3e[_0x2383('0x24')](_0x38854d)||!_0x4b3b3e[_0x2383('0x34')])return;const _0x3907ac=_0x4b3b3e[_0x2383('0x34')];if(_0x1c2c8e[_0x2383('0x2b')](_0x3907ac)&&!_0x1c2c8e['isLimit'](_0x3907ac)&&_0x1c2c8e[_0x2383('0x22')](_0x3907ac,_0x2383('0x10'))){if(!_0x13533e[_0x2383('0x12')][_0x2383('0x35')](_0xe00f06['markerRange'],_0x3b4a03[_0x2383('0x36')]))return;const _0x313499=_0x13533e['writer'][_0x2383('0x17')](_0x2383('0xf'),{'class':_0x2383('0x5')}),_0x2889b2=_0x13533e[_0x2383('0xb')]['toViewPosition'](_0x38854d);_0x102b02&&_0x1ca7f5[_0x2383('0x26')][_0x2383('0x21')](_0xe00f06[_0x2383('0x1f')])&&_0x13533e[_0x2383('0x0')][_0x2383('0x33')](_0x2383('0x3a'),_0x313499),_0x13533e[_0x2383('0x0')][_0x2383('0x25')](_0x2889b2,_0x313499),_0x13533e[_0x2383('0xb')][_0x2383('0x1e')](_0x313499,_0xe00f06[_0x2383('0x1f')]);}};}
23
+ const _0x2c6c=['writer','isBlock','addMarker:suggestion:insertion','schema','paragraph','downcastDispatcher','selection','options','insert','_descriptionFactory','start','TrackChangesEditing','markerRange','getSelectedBlocks','isLimit','name','plugins','filter','span','ELEMENT_PARAGRAPH','editor','markBlockFormat','registerDescriptionCallback','consumable','blockName','get','registerElementLabel','type','markerName','model','has','enableCommand','*Insert:*\x20%0','insertParagraph','getItemLabel','ck-suggestion-marker-split','activeMarkers','consume','isTouching','end','insertion','commandName','$text','createUIElement','showSuggestionHighlights','ck-suggestion-marker--active','locale','addClass','includes','editing','nodeAfter','mapper','highest','checkChild','isObject'];(function(_0xbfd1c2,_0x2c6cd3){const _0x4baf2a=function(_0x315c86){while(--_0x315c86){_0xbfd1c2['push'](_0xbfd1c2['shift']());}};_0x4baf2a(++_0x2c6cd3);}(_0x2c6c,0x96));const _0x4baf=function(_0xbfd1c2,_0x2c6cd3){_0xbfd1c2=_0xbfd1c2-0x0;let _0x4baf2a=_0x2c6c[_0xbfd1c2];return _0x4baf2a;};import{Plugin as _0x32017b}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x13f42a}from'./utils';import{getTranslation as _0x546385}from'../utils/common-translations';export default class ct extends _0x32017b{['afterInit'](){const _0x594805=this[_0x4baf('0x23')];if(!_0x594805[_0x4baf('0x1f')][_0x4baf('0x2d')]('Paragraph'))return;const _0x952bc0=_0x594805[_0x4baf('0x6')],_0x3a949f=_0x594805[_0x4baf('0x1f')]['get'](_0x4baf('0x1a'));_0x3a949f[_0x4baf('0x18')][_0x4baf('0x29')](_0x4baf('0x13'),_0x2d555f=>_0x546385(_0x952bc0,_0x4baf('0x22'),_0x2d555f)),_0x3a949f['enableCommand'](_0x4baf('0x13'),(_0x469136,_0x3701dd={})=>{const _0x53b7c0=_0x594805[_0x4baf('0x2c')]['document'],_0x52fe5b=_0x3701dd[_0x4baf('0x15')]||_0x53b7c0[_0x4baf('0x15')],_0x217f75=Array['from'](_0x52fe5b[_0x4baf('0x1c')]())[_0x4baf('0x20')](_0x51553f=>function(_0x374d01,_0x5d638e){return _0x5d638e[_0x4baf('0xd')](_0x374d01['parent'],_0x4baf('0x13'))&&!_0x5d638e[_0x4baf('0xe')](_0x374d01)&&_0x4baf('0x13')!=_0x374d01['name'];}(_0x51553f,this[_0x4baf('0x23')][_0x4baf('0x2c')][_0x4baf('0x12')]));_0x594805['model']['change'](()=>{for(const _0x1d04f4 of _0x217f75)_0x3a949f[_0x4baf('0x24')](_0x1d04f4,{'commandName':_0x4baf('0x13'),'commandParams':[],'formatGroupId':_0x4baf('0x27')},_0x13f42a(_0x1d04f4));});}),_0x3a949f[_0x4baf('0x18')][_0x4baf('0x25')](_0x1caade=>{const {data:_0x4d8e1b}=_0x1caade;if(_0x4d8e1b&&_0x4baf('0x13')==_0x4d8e1b[_0x4baf('0x1')])return{'type':'format','content':_0x546385(_0x952bc0,'*Change\x20to:*\x20%0',_0x546385(_0x952bc0,'ELEMENT_PARAGRAPH'))};}),_0x3a949f[_0x4baf('0x2e')](_0x4baf('0x30')),_0x594805[_0x4baf('0x9')]['downcastDispatcher']['on'](_0x4baf('0x11'),ar(_0x594805),{'priority':'highest'}),_0x594805['data'][_0x4baf('0x14')]['on'](_0x4baf('0x11'),(_0x23c0ea,_0x7ebcc2,_0x5db7c0)=>{_0x5db7c0[_0x4baf('0x16')][_0x4baf('0x4')]&&ar(_0x594805,{'showActiveMarker':!0x1})(_0x23c0ea,_0x7ebcc2,_0x5db7c0);},{'priority':_0x4baf('0xc')});const _0x1ea093=_0x3a949f['_descriptionFactory'];_0x1ea093[_0x4baf('0x25')](_0x5f4f95=>{if(_0x4baf('0x0')!==_0x5f4f95[_0x4baf('0x2a')])return;const {start:_0x4e9174,end:_0x4dbd9c}=_0x5f4f95['getFirstRange']();if(!_0x4e9174[_0x4baf('0x35')](_0x4dbd9c)||!_0x4e9174[_0x4baf('0xa')])return;const _0x54b76d=_0x594805[_0x4baf('0x2c')]['schema'],_0x44864e=_0x4e9174[_0x4baf('0xa')];return _0x54b76d[_0x4baf('0x10')](_0x44864e)&&!_0x54b76d[_0x4baf('0x1d')](_0x44864e)&&_0x54b76d[_0x4baf('0xd')](_0x44864e,_0x4baf('0x2'))?{'type':_0x4baf('0x0'),'content':_0x546385(_0x952bc0,_0x4baf('0x2f'),_0x1ea093[_0x4baf('0x31')](_0x44864e,0x1))}:void 0x0;});}}function ar(_0x8588ff,{showActiveMarker:_0x5a6c1c=!0x0}={}){return(_0x4a1959,_0x679451,_0x2b6e84)=>{const _0x412329=_0x8588ff[_0x4baf('0x1f')][_0x4baf('0x28')]('TrackChangesEditing'),_0x187d3e=_0x679451[_0x4baf('0x1b')][_0x4baf('0x19')],_0x415f76=_0x679451['markerRange'][_0x4baf('0x36')],_0x23150f=_0x8588ff[_0x4baf('0x2c')][_0x4baf('0x12')];if(!_0x187d3e[_0x4baf('0x35')](_0x415f76)||!_0x187d3e[_0x4baf('0xa')])return;const _0x142237=_0x187d3e['nodeAfter'];if(_0x23150f[_0x4baf('0x10')](_0x142237)&&!_0x23150f[_0x4baf('0x1d')](_0x142237)&&_0x23150f['checkChild'](_0x142237,_0x4baf('0x2'))){if(!_0x2b6e84[_0x4baf('0x26')][_0x4baf('0x34')](_0x679451[_0x4baf('0x1b')],_0x4a1959[_0x4baf('0x1e')]))return;const _0x55692c=_0x2b6e84[_0x4baf('0xf')][_0x4baf('0x3')](_0x4baf('0x21'),{'class':_0x4baf('0x32')}),_0xa0aed5=_0x2b6e84['mapper']['toViewPosition'](_0x415f76);_0x5a6c1c&&_0x412329[_0x4baf('0x33')][_0x4baf('0x8')](_0x679451[_0x4baf('0x2b')])&&_0x2b6e84['writer'][_0x4baf('0x7')](_0x4baf('0x5'),_0x55692c),_0x2b6e84['writer'][_0x4baf('0x17')](_0xa0aed5,_0x55692c),_0x2b6e84[_0x4baf('0xb')]['bindElementToMarker'](_0x55692c,_0x679451[_0x4baf('0x2b')]);}};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2d0a=['getRanges','locale','afterInit','get','plugins','registerDescriptionCallback','getItems','schema','change','has','TrackChangesEditing','enableCommand','format','isCollapsed','document','getAttributeProperties','*Remove\x20all\x20formatting*','createRangeOn','removeFormat','isFormatting','model','markInlineFormat','editor','selection'];(function(_0x524f7c,_0x2d0a16){const _0x372b9d=function(_0x235025){while(--_0x235025){_0x524f7c['push'](_0x524f7c['shift']());}};_0x372b9d(++_0x2d0a16);}(_0x2d0a,0x1be));const _0x372b=function(_0x524f7c,_0x2d0a16){_0x524f7c=_0x524f7c-0x0;let _0x372b9d=_0x2d0a[_0x524f7c];return _0x372b9d;};import{Plugin as _0x164b57}from'ckeditor5/src/core';import{getTranslation as _0x4fe656}from'../utils/common-translations';export default class ht extends _0x164b57{[_0x372b('0xc')](){const _0x526b08=this[_0x372b('0x8')];if(!_0x526b08[_0x372b('0xe')][_0x372b('0x13')]('RemoveFormatEditing'))return;const _0x43b13c=_0x526b08[_0x372b('0xe')][_0x372b('0xd')](_0x372b('0x14'));_0x43b13c[_0x372b('0x15')](_0x372b('0x4'),_0xabb48d=>{const _0x8cf01d=_0x526b08[_0x372b('0x6')][_0x372b('0x0')][_0x372b('0x9')];_0x8cf01d[_0x372b('0x17')]?_0xabb48d():_0x526b08[_0x372b('0x6')][_0x372b('0x12')](()=>{const _0x3a51ef=Array['from'](_0x8cf01d[_0x372b('0xa')]());for(const _0x33382a of _0x3a51ef)for(const _0x283cae of _0x33382a[_0x372b('0x10')]())eo(_0x283cae,_0x526b08['model'][_0x372b('0x11')])&&_0x43b13c[_0x372b('0x7')](_0x526b08['model'][_0x372b('0x3')](_0x283cae),{'commandName':_0x372b('0x4'),'commandParams':[]});});}),_0x43b13c['_descriptionFactory'][_0x372b('0xf')](_0x42b9dc=>{const {data:_0x210df3}=_0x42b9dc;if(_0x210df3&&_0x372b('0x4')==_0x210df3['commandName'])return{'type':_0x372b('0x16'),'content':_0x4fe656(_0x526b08[_0x372b('0xb')],_0x372b('0x2'))};});}}function eo(_0x715f13,_0x334cf2){for(const [_0x459bf2]of _0x715f13['getAttributes']()){const _0x387519=_0x334cf2[_0x372b('0x1')](_0x459bf2);if(_0x387519&&_0x387519[_0x372b('0x5')])return!0x0;}return!0x1;}
23
+ const _0x16b8=['plugins','format','markInlineFormat','has','getAttributeProperties','getRanges','change','from','model','removeFormat','TrackChangesEditing','document','afterInit','isFormatting','commandName','createRangeOn','enableCommand','editor','registerDescriptionCallback','locale','schema','isCollapsed','getItems','_descriptionFactory'];(function(_0x305c49,_0x16b804){const _0x596617=function(_0x4dcf10){while(--_0x4dcf10){_0x305c49['push'](_0x305c49['shift']());}};_0x596617(++_0x16b804);}(_0x16b8,0x70));const _0x5966=function(_0x305c49,_0x16b804){_0x305c49=_0x305c49-0x0;let _0x596617=_0x16b8[_0x305c49];return _0x596617;};import{Plugin as _0x283096}from'ckeditor5/src/core';import{getTranslation as _0x3f13ca}from'../utils/common-translations';export default class ht extends _0x283096{[_0x5966('0x14')](){const _0x2efb6b=this[_0x5966('0x1')];if(!_0x2efb6b[_0x5966('0x8')][_0x5966('0xb')]('RemoveFormatEditing'))return;const _0x456a04=_0x2efb6b[_0x5966('0x8')]['get'](_0x5966('0x12'));_0x456a04[_0x5966('0x0')](_0x5966('0x11'),_0x2bf5bc=>{const _0x52153d=_0x2efb6b[_0x5966('0x10')][_0x5966('0x13')]['selection'];_0x52153d[_0x5966('0x5')]?_0x2bf5bc():_0x2efb6b[_0x5966('0x10')][_0x5966('0xe')](()=>{const _0x4a1909=Array[_0x5966('0xf')](_0x52153d[_0x5966('0xd')]());for(const _0x23ee06 of _0x4a1909)for(const _0x1c94f1 of _0x23ee06[_0x5966('0x6')]())eo(_0x1c94f1,_0x2efb6b[_0x5966('0x10')][_0x5966('0x4')])&&_0x456a04[_0x5966('0xa')](_0x2efb6b[_0x5966('0x10')][_0x5966('0x17')](_0x1c94f1),{'commandName':_0x5966('0x11'),'commandParams':[]});});}),_0x456a04[_0x5966('0x7')][_0x5966('0x2')](_0x385015=>{const {data:_0x4530f2}=_0x385015;if(_0x4530f2&&'removeFormat'==_0x4530f2[_0x5966('0x16')])return{'type':_0x5966('0x9'),'content':_0x3f13ca(_0x2efb6b[_0x5966('0x3')],'*Remove\x20all\x20formatting*')};});}}function eo(_0x1e957e,_0x33eaa5){for(const [_0x41df24]of _0x1e957e['getAttributes']()){const _0x28abd3=_0x33eaa5[_0x5966('0xc')](_0x41df24);if(_0x28abd3&&_0x28abd3[_0x5966('0x15')])return!0x0;}return!0x1;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3bb3=['has','goToNextRestrictedEditingException','discardAllSuggestions','acceptAllSuggestions','acceptSuggestion','TrackChangesEditing','trackChanges','RestrictedEditingModeEditing','get','enableCommand','plugins','editor'];(function(_0x3f714a,_0x3bb341){const _0x2d2516=function(_0x3a9820){while(--_0x3a9820){_0x3f714a['push'](_0x3f714a['shift']());}};_0x2d2516(++_0x3bb341);}(_0x3bb3,0x16e));const _0x2d25=function(_0x3f714a,_0x3bb341){_0x3f714a=_0x3f714a-0x0;let _0x2d2516=_0x3bb3[_0x3f714a];return _0x2d2516;};import{Plugin as _0xddaf79}from'ckeditor5/src/core';export default class ut extends _0xddaf79{['afterInit'](){const _0x229fd8=this[_0x2d25('0x5')];if(!_0x229fd8['plugins'][_0x2d25('0x6')](_0x2d25('0x1')))return;const _0x3cbee0=_0x229fd8[_0x2d25('0x4')]['get'](_0x2d25('0xb'));_0x3cbee0['enableCommand']('goToPreviousRestrictedEditingException'),_0x3cbee0[_0x2d25('0x3')](_0x2d25('0x7'));const _0x1fbb56=_0x229fd8['plugins'][_0x2d25('0x2')]('RestrictedEditingModeEditing');_0x1fbb56[_0x2d25('0x3')](_0x2d25('0x0')),_0x1fbb56['enableCommand'](_0x2d25('0xa')),_0x1fbb56[_0x2d25('0x3')]('discardSuggestion'),_0x1fbb56['enableCommand'](_0x2d25('0x9')),_0x1fbb56['enableCommand'](_0x2d25('0x8')),_0x1fbb56['enableCommand']('acceptSelectedSuggestions'),_0x1fbb56['enableCommand']('discardSelectedSuggestions');}}
23
+ const _0x2ec8=['get','discardSuggestion','acceptSelectedSuggestions','discardAllSuggestions','plugins','acceptSuggestion','goToNextRestrictedEditingException','acceptAllSuggestions','has','enableCommand','goToPreviousRestrictedEditingException','RestrictedEditingModeEditing','TrackChangesEditing'];(function(_0x39991e,_0x2ec8a0){const _0x4f3285=function(_0x3f2e82){while(--_0x3f2e82){_0x39991e['push'](_0x39991e['shift']());}};_0x4f3285(++_0x2ec8a0);}(_0x2ec8,0x156));const _0x4f32=function(_0x39991e,_0x2ec8a0){_0x39991e=_0x39991e-0x0;let _0x4f3285=_0x2ec8[_0x39991e];return _0x4f3285;};import{Plugin as _0x33f453}from'ckeditor5/src/core';export default class ut extends _0x33f453{['afterInit'](){const _0xb8afb8=this['editor'];if(!_0xb8afb8[_0x4f32('0x0')][_0x4f32('0x4')](_0x4f32('0x7')))return;const _0x2d288e=_0xb8afb8[_0x4f32('0x0')][_0x4f32('0x9')](_0x4f32('0x8'));_0x2d288e[_0x4f32('0x5')](_0x4f32('0x6')),_0x2d288e['enableCommand'](_0x4f32('0x2'));const _0xddc7d9=_0xb8afb8[_0x4f32('0x0')][_0x4f32('0x9')](_0x4f32('0x7'));_0xddc7d9[_0x4f32('0x5')]('trackChanges'),_0xddc7d9['enableCommand'](_0x4f32('0x1')),_0xddc7d9[_0x4f32('0x5')](_0x4f32('0xa')),_0xddc7d9[_0x4f32('0x5')](_0x4f32('0x3')),_0xddc7d9[_0x4f32('0x5')](_0x4f32('0xc')),_0xddc7d9[_0x4f32('0x5')](_0x4f32('0xb')),_0xddc7d9[_0x4f32('0x5')]('discardSelectedSuggestions');}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x171f=['mapper','downcastDispatcher','showSuggestionHighlights','softBreak','bindElementToMarker','merge','getItems','options','addClass','element','writer','markerRange','activeMarkers','ck-suggestion-marker--active','split','createUIElement','deletion','high','markerName','insert','requires','init','enableCommand','name','editing','get','consumable','locale','ck-suggestion-marker-','addMarker:suggestion:insertion','createPositionBefore','editor','toViewPosition','plugins','addMarker:suggestion','TrackChangesEditing','registerElementLabel'];(function(_0x193e29,_0x171f6f){const _0x5f58a6=function(_0x303004){while(--_0x303004){_0x193e29['push'](_0x193e29['shift']());}};_0x5f58a6(++_0x171f6f);}(_0x171f,0xce));const _0x5f58=function(_0x193e29,_0x171f6f){_0x193e29=_0x193e29-0x0;let _0x5f58a6=_0x171f[_0x193e29];return _0x5f58a6;};import{Plugin as _0x556acc}from'ckeditor5/src/core';import{ShiftEnter as _0x4513e7}from'ckeditor5/src/enter';import{getTranslation as _0x524216}from'../utils/common-translations';export default class ft extends _0x556acc{static get[_0x5f58('0x24')](){return[_0x4513e7];}[_0x5f58('0x0')](){const _0x1e2efe=this[_0x5f58('0xa')],_0x1a4daf=_0x1e2efe[_0x5f58('0xc')][_0x5f58('0x4')](_0x5f58('0xe'));_0x1a4daf[_0x5f58('0x1')]('shiftEnter'),_0x1e2efe['editing'][_0x5f58('0x11')]['on'](_0x5f58('0x8'),re(_0x1e2efe),{'priority':_0x5f58('0x21')}),_0x1e2efe[_0x5f58('0x3')][_0x5f58('0x11')]['on']('addMarker:suggestion:deletion',re(_0x1e2efe),{'priority':_0x5f58('0x21')}),_0x1e2efe['data'][_0x5f58('0x11')]['on'](_0x5f58('0xd'),(_0x2de693,_0x20c90f,_0x548a76)=>{_0x548a76[_0x5f58('0x17')][_0x5f58('0x12')]&&re(_0x1e2efe,{'showActiveMarker':!0x1})(_0x2de693,_0x20c90f,_0x548a76);}),_0x1a4daf['_descriptionFactory'][_0x5f58('0xf')](_0x5f58('0x13'),_0x514db0=>_0x524216(_0x1e2efe[_0x5f58('0x6')],'ELEMENT_LINE_BREAK',_0x514db0));}}function re(_0x178595,{showActiveMarker:_0x57b4fe=!0x0}={}){return(_0x37c344,_0xb3d055,_0x225a65)=>{const _0x4e929c=_0x178595[_0x5f58('0xc')]['get'](_0x5f58('0xe'));if(!_0x225a65[_0x5f58('0x5')]['test'](_0xb3d055['markerRange'],_0x37c344[_0x5f58('0x2')]))return;const _0x46243b=_0x178595['model'];for(const _0x43060c of _0xb3d055[_0x5f58('0x1b')][_0x5f58('0x16')]()){if(!_0x43060c['is'](_0x5f58('0x19'),_0x5f58('0x13')))continue;const _0x46a00a=_0x5f58('0x20')==_0xb3d055['markerName'][_0x5f58('0x1e')](':')[0x1]?_0x5f58('0x15'):_0x5f58('0x1e'),_0x383052=_0x225a65[_0x5f58('0x1a')][_0x5f58('0x1f')]('span',{'class':_0x5f58('0x7')+_0x46a00a}),_0x5638f5=_0x225a65[_0x5f58('0x10')][_0x5f58('0xb')](_0x46243b[_0x5f58('0x9')](_0x43060c));_0x57b4fe&&_0x4e929c[_0x5f58('0x1c')]['includes'](_0xb3d055[_0x5f58('0x22')])&&_0x225a65[_0x5f58('0x1a')][_0x5f58('0x18')](_0x5f58('0x1d'),_0x383052),_0x225a65[_0x5f58('0x1a')][_0x5f58('0x23')](_0x5638f5,_0x383052),_0x225a65[_0x5f58('0x10')][_0x5f58('0x14')](_0x383052,_0xb3d055['markerName']);}};}
23
+ const _0x29f8=['softBreak','markerName','addMarker:suggestion','ck-suggestion-marker--active','addMarker:suggestion:insertion','toViewPosition','init','showSuggestionHighlights','ck-suggestion-marker-','consumable','writer','activeMarkers','deletion','_descriptionFactory','get','options','downcastDispatcher','getItems','ELEMENT_LINE_BREAK','locale','includes','test','createUIElement','name','enableCommand','requires','mapper','editor','plugins','addClass','bindElementToMarker','markerRange','element','TrackChangesEditing','addMarker:suggestion:deletion','editing','split','model'];(function(_0x18b29e,_0x29f81f){const _0xa0d13=function(_0x238324){while(--_0x238324){_0x18b29e['push'](_0x18b29e['shift']());}};_0xa0d13(++_0x29f81f);}(_0x29f8,0xcb));const _0xa0d1=function(_0x18b29e,_0x29f81f){_0x18b29e=_0x18b29e-0x0;let _0xa0d13=_0x29f8[_0x18b29e];return _0xa0d13;};import{Plugin as _0x3d21a1}from'ckeditor5/src/core';import{ShiftEnter as _0x462332}from'ckeditor5/src/enter';import{getTranslation as _0x160936}from'../utils/common-translations';export default class ft extends _0x3d21a1{static get[_0xa0d1('0xc')](){return[_0x462332];}[_0xa0d1('0x1f')](){const _0x4776bc=this[_0xa0d1('0xe')],_0x2645fe=_0x4776bc[_0xa0d1('0xf')][_0xa0d1('0x1')](_0xa0d1('0x14'));_0x2645fe[_0xa0d1('0xb')]('shiftEnter'),_0x4776bc[_0xa0d1('0x16')][_0xa0d1('0x3')]['on'](_0xa0d1('0x1d'),re(_0x4776bc),{'priority':'high'}),_0x4776bc['editing'][_0xa0d1('0x3')]['on'](_0xa0d1('0x15'),re(_0x4776bc),{'priority':'high'}),_0x4776bc['data'][_0xa0d1('0x3')]['on'](_0xa0d1('0x1b'),(_0x28818e,_0x7b9b3a,_0x123060)=>{_0x123060[_0xa0d1('0x2')][_0xa0d1('0x20')]&&re(_0x4776bc,{'showActiveMarker':!0x1})(_0x28818e,_0x7b9b3a,_0x123060);}),_0x2645fe[_0xa0d1('0x0')]['registerElementLabel'](_0xa0d1('0x19'),_0x33aab3=>_0x160936(_0x4776bc[_0xa0d1('0x6')],_0xa0d1('0x5'),_0x33aab3));}}function re(_0xf25c0,{showActiveMarker:_0x2d5449=!0x0}={}){return(_0x3cffec,_0x5ca93d,_0xe69def)=>{const _0x2d995a=_0xf25c0['plugins']['get'](_0xa0d1('0x14'));if(!_0xe69def[_0xa0d1('0x22')][_0xa0d1('0x8')](_0x5ca93d['markerRange'],_0x3cffec[_0xa0d1('0xa')]))return;const _0x54dd56=_0xf25c0[_0xa0d1('0x18')];for(const _0x3ff372 of _0x5ca93d[_0xa0d1('0x12')][_0xa0d1('0x4')]()){if(!_0x3ff372['is'](_0xa0d1('0x13'),'softBreak'))continue;const _0x3cd954=_0xa0d1('0x25')==_0x5ca93d[_0xa0d1('0x1a')][_0xa0d1('0x17')](':')[0x1]?'merge':_0xa0d1('0x17'),_0x145404=_0xe69def[_0xa0d1('0x23')][_0xa0d1('0x9')]('span',{'class':_0xa0d1('0x21')+_0x3cd954}),_0x384d80=_0xe69def[_0xa0d1('0xd')][_0xa0d1('0x1e')](_0x54dd56['createPositionBefore'](_0x3ff372));_0x2d5449&&_0x2d995a[_0xa0d1('0x24')][_0xa0d1('0x7')](_0x5ca93d[_0xa0d1('0x1a')])&&_0xe69def[_0xa0d1('0x23')][_0xa0d1('0x10')](_0xa0d1('0x1c'),_0x145404),_0xe69def[_0xa0d1('0x23')]['insert'](_0x384d80,_0x145404),_0xe69def[_0xa0d1('0xd')][_0xa0d1('0x11')](_0x145404,_0x5ca93d[_0xa0d1('0x1a')]);}};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4a03=['FORMAT_RESTRICTED_ENABLED','registerDescriptionCallback','has','commandParams','plugins','model','get','getRanges','commands','afterInit','change','FORMAT_RESTRICTED_DISABLED','format','restrictedEditingException','forceValue','locale','StandardEditingModeEditing','TrackChangesEditing','markInlineFormat','selection','enableCommand','from','editor','value','commandName'];(function(_0x295d9c,_0x4a03fa){const _0x379a2b=function(_0x3f6ced){while(--_0x3f6ced){_0x295d9c['push'](_0x295d9c['shift']());}};_0x379a2b(++_0x4a03fa);}(_0x4a03,0x111));const _0x379a=function(_0x295d9c,_0x4a03fa){_0x295d9c=_0x295d9c-0x0;let _0x379a2b=_0x4a03[_0x295d9c];return _0x379a2b;};import{Plugin as _0x96027c}from'ckeditor5/src/core';import{getRangesWithAttribute as _0x50de82}from'./utils';import{getTranslation as _0x1c8296}from'../utils/common-translations';export default class lt extends _0x96027c{[_0x379a('0xb')](){const _0x194793=this[_0x379a('0x18')],_0x8c4ae4=_0x194793[_0x379a('0x7')],_0x56f8c1=_0x194793[_0x379a('0x11')];if(!_0x194793[_0x379a('0x6')][_0x379a('0x4')](_0x379a('0x12')))return;const _0x566a3f=_0x194793[_0x379a('0x6')][_0x379a('0x8')](_0x379a('0x13')),_0x486fc8=_0x379a('0xf'),_0x1df88f=_0x194793[_0x379a('0xa')]['get'](_0x486fc8);_0x566a3f[_0x379a('0x16')](_0x486fc8,(_0x1f5234,_0x5319e9={})=>{const _0x1f0ed7=_0x8c4ae4['document'][_0x379a('0x15')];if(_0x1f0ed7['isCollapsed'])return void _0x1f5234(_0x5319e9);const _0x56f7f2=void 0x0!==_0x5319e9[_0x379a('0x10')]?_0x5319e9['forceValue']:!_0x1df88f[_0x379a('0x0')];_0x8c4ae4[_0x379a('0xc')](()=>{const _0x318c0e=Array[_0x379a('0x17')](_0x1f0ed7[_0x379a('0x9')]());for(const _0x434d87 of _0x318c0e){const _0xfe9b14=_0x56f7f2?[_0x434d87]:_0x50de82(_0x486fc8,_0x434d87,_0x8c4ae4);for(const _0x437df1 of _0xfe9b14)_0x566a3f[_0x379a('0x14')](_0x437df1,{'commandName':_0x486fc8,'commandParams':[{'forceValue':_0x56f7f2}]});}});}),_0x566a3f['_descriptionFactory'][_0x379a('0x3')](_0x345fa7=>{const {data:_0x9f2533}=_0x345fa7;if(_0x9f2533&&_0x9f2533[_0x379a('0x1')]==_0x486fc8)return _0x9f2533[_0x379a('0x5')][0x0]['forceValue']?{'type':_0x379a('0xe'),'content':_0x1c8296(_0x56f8c1,_0x379a('0x2'))}:{'type':_0x379a('0xe'),'content':_0x1c8296(_0x56f8c1,_0x379a('0xd'))};});}}
23
+ const _0x2576=['markInlineFormat','forceValue','TrackChangesEditing','commandParams','FORMAT_RESTRICTED_DISABLED','model','restrictedEditingException','selection','get','getRanges','change','has','commands','isCollapsed','format','FORMAT_RESTRICTED_ENABLED','document','locale','editor','plugins','value','_descriptionFactory'];(function(_0xbf98f1,_0x25763a){const _0x8bb5e0=function(_0x4f8c72){while(--_0x4f8c72){_0xbf98f1['push'](_0xbf98f1['shift']());}};_0x8bb5e0(++_0x25763a);}(_0x2576,0x96));const _0x8bb5=function(_0xbf98f1,_0x25763a){_0xbf98f1=_0xbf98f1-0x0;let _0x8bb5e0=_0x2576[_0xbf98f1];return _0x8bb5e0;};import{Plugin as _0x54fc5e}from'ckeditor5/src/core';import{getRangesWithAttribute as _0x252bb5}from'./utils';import{getTranslation as _0x4eb000}from'../utils/common-translations';export default class lt extends _0x54fc5e{['afterInit'](){const _0x23577f=this[_0x8bb5('0x0')],_0x471b97=_0x23577f[_0x8bb5('0x9')],_0x482fba=_0x23577f[_0x8bb5('0x15')];if(!_0x23577f[_0x8bb5('0x1')][_0x8bb5('0xf')]('StandardEditingModeEditing'))return;const _0x767f78=_0x23577f[_0x8bb5('0x1')][_0x8bb5('0xc')](_0x8bb5('0x6')),_0x422085=_0x8bb5('0xa'),_0x2c1a47=_0x23577f[_0x8bb5('0x10')][_0x8bb5('0xc')](_0x422085);_0x767f78['enableCommand'](_0x422085,(_0x136c64,_0x3177cc={})=>{const _0x7cd64=_0x471b97[_0x8bb5('0x14')][_0x8bb5('0xb')];if(_0x7cd64[_0x8bb5('0x11')])return void _0x136c64(_0x3177cc);const _0x3a875b=void 0x0!==_0x3177cc[_0x8bb5('0x5')]?_0x3177cc[_0x8bb5('0x5')]:!_0x2c1a47[_0x8bb5('0x2')];_0x471b97[_0x8bb5('0xe')](()=>{const _0x14912f=Array['from'](_0x7cd64[_0x8bb5('0xd')]());for(const _0x19fbc6 of _0x14912f){const _0x24db6f=_0x3a875b?[_0x19fbc6]:_0x252bb5(_0x422085,_0x19fbc6,_0x471b97);for(const _0x150a3c of _0x24db6f)_0x767f78[_0x8bb5('0x4')](_0x150a3c,{'commandName':_0x422085,'commandParams':[{'forceValue':_0x3a875b}]});}});}),_0x767f78[_0x8bb5('0x3')]['registerDescriptionCallback'](_0x116f6e=>{const {data:_0x15c0c7}=_0x116f6e;if(_0x15c0c7&&_0x15c0c7['commandName']==_0x422085)return _0x15c0c7[_0x8bb5('0x7')][0x0][_0x8bb5('0x5')]?{'type':'format','content':_0x4eb000(_0x482fba,_0x8bb5('0x13'))}:{'type':_0x8bb5('0x12'),'content':_0x4eb000(_0x482fba,_0x8bb5('0x8'))};});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4c25=['forceValue','*Remove\x20format:*\x20%0','includes','getRanges','_getStyleDefinition','change','registerDescriptionCallback','format','getDefinitionsForView','config','commands','getAttribute','modelElements','block','editor','_descriptionFactory','style:','Style','value','afterInit','add','getItems','toLowerCase','element','isBlock','from','classes','styleName','markBlockFormat','createRangeOn','find','model','inline','every','style','commandName','plugins','isCollapsed','_getRangesWithClasses','get','DataSchema','markInlineFormat','document','enableCommand','style.definitions','commandParams','name','locale','StyleUtils'];(function(_0xacbac3,_0x4c2509){const _0x4e847d=function(_0x4dba62){while(--_0x4dba62){_0xacbac3['push'](_0xacbac3['shift']());}};_0x4e847d(++_0x4c2509);}(_0x4c25,0x91));const _0x4e84=function(_0xacbac3,_0x4c2509){_0xacbac3=_0xacbac3-0x0;let _0x4e847d=_0x4c25[_0xacbac3];return _0x4e847d;};import{Plugin as _0x429935}from'ckeditor5/src/core';import{getTranslation as _0x4fce49}from'../utils/common-translations';export default class gt extends _0x429935{[_0x4e84('0x15')](){const _0x16c12b=this[_0x4e84('0x10')];if(!_0x16c12b[_0x4e84('0x26')]['has'](_0x4e84('0x13')))return;const _0x25fff2=_0x16c12b[_0x4e84('0xc')][_0x4e84('0x29')](_0x4e84('0x24')),_0xaf262d=_0x16c12b[_0x4e84('0x26')][_0x4e84('0x29')]('TrackChangesEditing'),_0x19bb90=_0x16c12b[_0x4e84('0x0')],_0x45fb3a=_0x16c12b[_0x4e84('0x26')][_0x4e84('0x29')](_0x4e84('0x2a')),_0x554321=_0x16c12b['plugins'][_0x4e84('0x29')](_0x4e84('0x1'))['normalizeConfig'](_0x45fb3a,_0x16c12b[_0x4e84('0xb')]['get'](_0x4e84('0x2e')));_0xaf262d[_0x4e84('0x2d')](_0x4e84('0x24'),(_0x581251,{styleName:_0x1a1256})=>{const _0x2dcd9f=_0x16c12b[_0x4e84('0x21')][_0x4e84('0x2c')]['selection'],_0x14d08c=this[_0x4e84('0x6')](_0x1a1256,_0x554321);if(!_0x14d08c)return;if(!_0x25fff2['enabledStyles'][_0x4e84('0x4')](_0x1a1256))return;if(_0x2dcd9f[_0x4e84('0x27')]&&!_0x14d08c[_0x4e84('0x1a')])return void _0x581251({'styleName':_0x1a1256});const _0x5198c7=!_0x25fff2[_0x4e84('0x14')][_0x4e84('0x4')](_0x14d08c[_0x4e84('0x30')]);if(_0x14d08c[_0x4e84('0x1a')]){const _0x346068=function(_0x34790d,_0x39bfb4){const _0x2b8879=new Set();for(const _0x34d1c8 of _0x34790d){const _0x192494=_0x34d1c8['getAncestors']({'includeSelf':!0x0,'parentFirst':!0x0});for(const _0x551d18 of _0x192494)if(_0x39bfb4[_0x4e84('0x4')](_0x551d18['name'])){_0x2b8879[_0x4e84('0x16')](_0x551d18);break;}}return _0x2b8879;}(_0x2dcd9f['getSelectedBlocks'](),_0x14d08c[_0x4e84('0xe')]);_0x16c12b['model']['change'](()=>{for(const _0x2ef92b of _0x346068)_0xaf262d[_0x4e84('0x1e')](_0x2ef92b,{'commandName':_0x4e84('0x24'),'commandParams':[{'styleName':_0x1a1256,'forceValue':_0x5198c7}],'formatGroupId':_0x4e84('0x12')+_0x1a1256});});}else{let _0x3be74c=Array[_0x4e84('0x1b')](_0x2dcd9f[_0x4e84('0x5')]());if(!_0x5198c7){const _0x381773=Array[_0x4e84('0x1b')](_0x45fb3a[_0x4e84('0xa')](_0x14d08c[_0x4e84('0x19')],!0x1))[0x0][_0x4e84('0x21')],_0x3d18b1=[];for(const _0x15138b of _0x3be74c){const _0x13691b=this[_0x4e84('0x28')](_0x16c12b['model'],_0x15138b,_0x14d08c[_0x4e84('0x1c')],_0x381773);_0x3d18b1['push'](..._0x13691b);}_0x3be74c=_0x3d18b1;}_0x16c12b[_0x4e84('0x21')][_0x4e84('0x7')](()=>{for(const _0x2b6e10 of _0x3be74c)_0xaf262d[_0x4e84('0x2b')](_0x2b6e10,{'commandName':'style','commandParams':[{'styleName':_0x1a1256,'forceValue':_0x5198c7}]});});}}),_0xaf262d[_0x4e84('0x11')][_0x4e84('0x8')](_0x8d96c9=>{const {data:_0x3539c2}=_0x8d96c9;if(_0x3539c2&&_0x4e84('0x24')===_0x3539c2[_0x4e84('0x25')])return _0x3539c2['commandParams'][0x0][_0x4e84('0x2')]?{'type':_0x4e84('0x9'),'content':_0x4fce49(_0x19bb90,'*Format:*\x20%0',_0x3539c2[_0x4e84('0x2f')][0x0][_0x4e84('0x1d')][_0x4e84('0x18')]())}:{'type':'format','content':_0x4fce49(_0x19bb90,_0x4e84('0x3'),_0x3539c2[_0x4e84('0x2f')][0x0][_0x4e84('0x1d')][_0x4e84('0x18')]())};});}[_0x4e84('0x6')](_0x2e7999,_0x5498dc){let _0x23eab7=_0x5498dc[_0x4e84('0xf')][_0x4e84('0x20')](_0x1fed72=>_0x1fed72['name']===_0x2e7999);return _0x23eab7||(_0x23eab7=_0x5498dc[_0x4e84('0x22')][_0x4e84('0x20')](_0x2c149c=>_0x2c149c['name']===_0x2e7999)),_0x23eab7;}[_0x4e84('0x28')](_0x3d815e,_0x573ac6,_0xc33638,_0x2af666){const _0x31384e=[];for(const _0x114bc9 of _0x573ac6[_0x4e84('0x17')]()){const _0x4a3a30=_0x114bc9[_0x4e84('0xd')](_0x2af666);_0x4a3a30&&(_0xc33638[_0x4e84('0x23')](_0x154d8b=>_0x4a3a30[_0x4e84('0x1c')]['includes'](_0x154d8b))&&_0x31384e['push'](_0x3d815e[_0x4e84('0x1f')](_0x114bc9)));}return _0x31384e;}}
23
+ const _0x1fa8=['_getStyleDefinition','every','config','_descriptionFactory','getAttribute','add','commandName','Style','modelElements','document','normalizeConfig','markBlockFormat','from','has','editor','plugins','TrackChangesEditing','block','markInlineFormat','style.definitions','*Remove\x20format:*\x20%0','name','forceValue','getSelectedBlocks','format','getItems','classes','enabledStyles','isBlock','styleName','style:','getAncestors','_getRangesWithClasses','style','model','change','getRanges','push','find','includes','toLowerCase','StyleUtils','element','value','commands','commandParams','afterInit','getDefinitionsForView','get','inline','*Format:*\x20%0'];(function(_0x5d0685,_0x1fa855){const _0x364aa7=function(_0x5bc7e2){while(--_0x5bc7e2){_0x5d0685['push'](_0x5d0685['shift']());}};_0x364aa7(++_0x1fa855);}(_0x1fa8,0x1eb));const _0x364a=function(_0x5d0685,_0x1fa855){_0x5d0685=_0x5d0685-0x0;let _0x364aa7=_0x1fa8[_0x5d0685];return _0x364aa7;};import{Plugin as _0x5e3efd}from'ckeditor5/src/core';import{getTranslation as _0x1fed5d}from'../utils/common-translations';export default class gt extends _0x5e3efd{[_0x364a('0xe')](){const _0x24173f=this[_0x364a('0x21')];if(!_0x24173f[_0x364a('0x22')][_0x364a('0x20')](_0x364a('0x1a')))return;const _0x5dddad=_0x24173f[_0x364a('0xc')][_0x364a('0x10')](_0x364a('0x1')),_0x59c719=_0x24173f[_0x364a('0x22')][_0x364a('0x10')](_0x364a('0x23')),_0x4c2a69=_0x24173f['locale'],_0x569173=_0x24173f[_0x364a('0x22')][_0x364a('0x10')]('DataSchema'),_0x410841=_0x24173f['plugins'][_0x364a('0x10')](_0x364a('0x9'))[_0x364a('0x1d')](_0x569173,_0x24173f[_0x364a('0x15')][_0x364a('0x10')](_0x364a('0x26')));_0x59c719['enableCommand'](_0x364a('0x1'),(_0x517373,{styleName:_0x23c9fa})=>{const _0x4aaf84=_0x24173f[_0x364a('0x2')][_0x364a('0x1c')]['selection'],_0x2c0eaf=this[_0x364a('0x13')](_0x23c9fa,_0x410841);if(!_0x2c0eaf)return;if(!_0x5dddad[_0x364a('0x2e')][_0x364a('0x7')](_0x23c9fa))return;if(_0x4aaf84['isCollapsed']&&!_0x2c0eaf['isBlock'])return void _0x517373({'styleName':_0x23c9fa});const _0x182eb0=!_0x5dddad[_0x364a('0xb')]['includes'](_0x2c0eaf[_0x364a('0x28')]);if(_0x2c0eaf[_0x364a('0x2f')]){const _0x2cb623=function(_0x3eeb0a,_0x571a1a){const _0x14f6df=new Set();for(const _0x330085 of _0x3eeb0a){const _0x5c5689=_0x330085[_0x364a('0x32')]({'includeSelf':!0x0,'parentFirst':!0x0});for(const _0x533051 of _0x5c5689)if(_0x571a1a[_0x364a('0x7')](_0x533051[_0x364a('0x28')])){_0x14f6df[_0x364a('0x18')](_0x533051);break;}}return _0x14f6df;}(_0x4aaf84[_0x364a('0x2a')](),_0x2c0eaf[_0x364a('0x1b')]);_0x24173f[_0x364a('0x2')]['change'](()=>{for(const _0x5ea372 of _0x2cb623)_0x59c719[_0x364a('0x1e')](_0x5ea372,{'commandName':_0x364a('0x1'),'commandParams':[{'styleName':_0x23c9fa,'forceValue':_0x182eb0}],'formatGroupId':_0x364a('0x31')+_0x23c9fa});});}else{let _0x4c1d5a=Array[_0x364a('0x1f')](_0x4aaf84[_0x364a('0x4')]());if(!_0x182eb0){const _0x57b787=Array[_0x364a('0x1f')](_0x569173[_0x364a('0xf')](_0x2c0eaf[_0x364a('0xa')],!0x1))[0x0][_0x364a('0x2')],_0x343269=[];for(const _0x37b12f of _0x4c1d5a){const _0xb399c0=this[_0x364a('0x0')](_0x24173f['model'],_0x37b12f,_0x2c0eaf[_0x364a('0x2d')],_0x57b787);_0x343269[_0x364a('0x5')](..._0xb399c0);}_0x4c1d5a=_0x343269;}_0x24173f[_0x364a('0x2')][_0x364a('0x3')](()=>{for(const _0xd6496f of _0x4c1d5a)_0x59c719[_0x364a('0x25')](_0xd6496f,{'commandName':_0x364a('0x1'),'commandParams':[{'styleName':_0x23c9fa,'forceValue':_0x182eb0}]});});}}),_0x59c719[_0x364a('0x16')]['registerDescriptionCallback'](_0x2b33a2=>{const {data:_0x255739}=_0x2b33a2;if(_0x255739&&'style'===_0x255739[_0x364a('0x19')])return _0x255739['commandParams'][0x0][_0x364a('0x29')]?{'type':'format','content':_0x1fed5d(_0x4c2a69,_0x364a('0x12'),_0x255739[_0x364a('0xd')][0x0][_0x364a('0x30')][_0x364a('0x8')]())}:{'type':_0x364a('0x2b'),'content':_0x1fed5d(_0x4c2a69,_0x364a('0x27'),_0x255739[_0x364a('0xd')][0x0]['styleName'][_0x364a('0x8')]())};});}[_0x364a('0x13')](_0x2b53f2,_0x504319){let _0x4e2155=_0x504319[_0x364a('0x24')][_0x364a('0x6')](_0x31c05e=>_0x31c05e[_0x364a('0x28')]===_0x2b53f2);return _0x4e2155||(_0x4e2155=_0x504319[_0x364a('0x11')][_0x364a('0x6')](_0x2d6b28=>_0x2d6b28['name']===_0x2b53f2)),_0x4e2155;}[_0x364a('0x0')](_0x3bda44,_0xa16579,_0x8a88c8,_0x1258a5){const _0x57ba3b=[];for(const _0x37d9f6 of _0xa16579[_0x364a('0x2c')]()){const _0x13bb7c=_0x37d9f6[_0x364a('0x17')](_0x1258a5);_0x13bb7c&&(_0x8a88c8[_0x364a('0x14')](_0x32cf28=>_0x13bb7c['classes']['includes'](_0x32cf28))&&_0x57ba3b['push'](_0x3bda44['createRangeOn'](_0x37d9f6)));}return _0x57ba3b;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1f3e=['createRangeIn','position','isArray','isTouching','registerElementLabel','nodeAfter','markMultiRangeDeletion','oldRange','deletion','add','getSuggestion','colspan','*Insert:*\x20%0','_tableSuggestions','ELEMENT_TABLE_COLUMN_WITH_TEXT','toLowerCase','nodeBefore','showSuggestionHighlights','some','length','removeTableRow','getRanges','getColumnIndexes','commands','_splitMarkerName','root','createRangeOn','$graveyard','execute','selectTableRow','mapper','insertTableRowBelow','model','removeTableColumn','batch','MIN_SAFE_INTEGER','TrackChangesEditing','has','first','change:data','insertTableRowAbove','editor','writer','filter','hasAttribute','enableCommand','plugins','order','_tablePostFixingSubtypes','type','accept','ELEMENT_TABLE_ROW','registerDescriptionCallback','insert','tableCell','end','isInContent','$textProxy','classes','getSelectionAffectedTableCells','afterInit','cell','getChangedMarkers','_descriptionFactory','createTableWalker','maxRow','data','highest','tableRow','minColumn','suggestion','TableEditing','startsWith','selection','insertTableColumnRight','includes','change','_acceptFormatSuggestionCallbackFactory','document','above','insertTableColumnLeft','low','join','substr','max','_setupColumnsRowsFixing','forceValue','getAttribute','insertion','differ','item','toViewElement','setSelection','registerCustomCallback','detach','getChildren','tableColumn','push','getFirstRange','isIntersectingWithRange','name','start','refresh','min','isEqual','getChanges','TableUtils','findAncestor','_getSuggestionCoords','addRange','get','getRowIndexes','map','addMarker:suggestion','_getCoordsForCells','getCellLocation','last','span','from','enqueueChange','markMultiRangeInsertion','table','getItems','rootName','minRow','options','_suggestionFactory','downcastDispatcher','values','ELEMENT_TABLE_WITH_TEXT','*Remove:*\x20%0','subType','fromRange','rowspan'];(function(_0x219626,_0x1f3e05){const _0x419f68=function(_0x72ba3c){while(--_0x72ba3c){_0x219626['push'](_0x219626['shift']());}};_0x419f68(++_0x1f3e05);}(_0x1f3e,0xf1));const _0x419f=function(_0x219626,_0x1f3e05){_0x219626=_0x219626-0x0;let _0x419f68=_0x1f3e[_0x219626];return _0x419f68;};import{Plugin as _0x27ba29}from'ckeditor5/src/core';import{LiveRange as _0x4da0d1}from'ckeditor5/src/engine';import{setHighlightHandling as _0xcccea8}from'ckeditor5/src/widget';import{getTranslation as _0x1f751e}from'../utils/common-translations';export default class mt extends _0x27ba29{constructor(_0xc03254){super(_0xc03254),this[_0x419f('0x4b')]=['tableRow',_0x419f('0x7b')],this[_0x419f('0x28')]=new Set();}[_0x419f('0x57')](){const _0x598ef2=this[_0x419f('0x44')],_0x3bcece=_0x598ef2[_0x419f('0x3b')][_0x419f('0x69')][_0x419f('0x64')];if(!_0x598ef2[_0x419f('0x49')][_0x419f('0x40')](_0x419f('0x62')))return;const _0x57bacf=_0x598ef2['locale'],_0x4ae997=_0x598ef2['plugins'][_0x419f('0x3')](_0x419f('0x3f')),_0x48984d=_0x598ef2['plugins'][_0x419f('0x3')](_0x419f('0x85'));_0x4ae997[_0x419f('0x5a')][_0x419f('0x1f')](_0x419f('0xe'),_0x5a3eb5=>_0x1f751e(_0x57bacf,'ELEMENT_TABLE',_0x5a3eb5)),this[_0x419f('0x70')](),_0x4ae997[_0x419f('0x48')]('insertTable'),_0x4ae997[_0x419f('0x48')](_0x419f('0x38')),_0x4ae997['enableCommand']('selectTableColumn');for(const _0x94ec25 of[_0x419f('0x43'),_0x419f('0x3a')]){const _0x401c09=_0x598ef2[_0x419f('0x32')][_0x419f('0x3')](_0x94ec25);_0x4ae997[_0x419f('0x48')](_0x94ec25,_0x2f6ffb=>{_0x598ef2['model'][_0x419f('0x67')](_0x34219f=>{_0x2f6ffb();const _0x403f5e=_0x419f('0x6a')===_0x401c09['order'],_0x1fe206=_0x48984d[_0x419f('0x56')](_0x3bcece),_0x505867=_0x48984d[_0x419f('0x4')](_0x1fe206),_0x13fbb9=_0x403f5e?_0x505867[_0x419f('0x41')]-0x1:_0x505867[_0x419f('0x9')]+0x1,_0x1e472b=_0x1fe206[0x0][_0x419f('0x0')](_0x419f('0xe')),_0x3454b8=_0x48984d['createTableWalker'](_0x1e472b,{'startRow':_0x13fbb9,'endRow':_0x13fbb9}),_0x455a4b=Array['from'](_0x3454b8)[_0x419f('0x5')](_0x5e9587=>_0x34219f[_0x419f('0x35')](_0x5e9587['cell']));_0x4ae997[_0x419f('0xd')](_0x455a4b,'tableRow');});});}for(const _0x3b7f0d of[_0x419f('0x6b'),_0x419f('0x65')]){const _0x8c1672=_0x598ef2[_0x419f('0x32')][_0x419f('0x3')](_0x3b7f0d);_0x4ae997[_0x419f('0x48')](_0x3b7f0d,_0x45d81e=>{_0x598ef2[_0x419f('0x3b')][_0x419f('0x67')](_0x22b1ba=>{_0x45d81e();const _0x4f4ee4='left'===_0x8c1672[_0x419f('0x4a')],_0x5bff52=_0x48984d[_0x419f('0x56')](_0x3bcece),_0x34e469=_0x48984d[_0x419f('0x31')](_0x5bff52),_0x43f371=_0x4f4ee4?_0x34e469[_0x419f('0x41')]-0x1:_0x34e469[_0x419f('0x9')]+0x1,_0x4b889c=_0x5bff52[0x0]['findAncestor'](_0x419f('0xe')),_0x59a9be=_0x48984d[_0x419f('0x5b')](_0x4b889c,{'startRow':0x0,'column':_0x43f371,'includeAllSlots':!0x1}),_0x55cab1=Array[_0x419f('0xb')](_0x59a9be)[_0x419f('0x5')](_0x51594b=>_0x22b1ba[_0x419f('0x35')](_0x51594b[_0x419f('0x58')]));_0x4ae997[_0x419f('0xd')](_0x55cab1,_0x419f('0x7b'));});});}for(const _0x3dfc2f of[_0x419f('0x2f'),_0x419f('0x3c')]){const _0x234c56=_0x3dfc2f[_0x419f('0x6e')](0xb),_0x20f963=_0x234c56[_0x419f('0x2a')](),_0x296120=_0x20f963[_0x419f('0x6e')](0x0,0x3)+_0x419f('0xa'),_0x159cee=_0x419f('0xe')+_0x234c56,_0x2fe638=_0x419f('0x82')+_0x234c56,_0xd68a25='max'+_0x234c56;_0x4ae997['enableCommand'](_0x3dfc2f,()=>{_0x598ef2[_0x419f('0x3b')][_0x419f('0x67')](_0x56cbff=>{const _0x3d290f=_0x48984d[_0x419f('0x56')](_0x3bcece),_0x315f12=_0x3d290f[0x0]['findAncestor'](_0x419f('0xe'));let _0x2afefa;if(_0x419f('0x2f')==_0x3dfc2f){const _0x5bbe61=_0x48984d[_0x419f('0x4')](_0x3d290f);_0x2afefa={'startRow':_0x5bbe61[_0x419f('0x41')],'endRow':_0x5bbe61[_0x419f('0x9')],'includeAllSlots':!0x0};}else{const _0x1550ca=_0x48984d[_0x419f('0x31')](_0x3d290f);_0x2afefa={'startColumn':_0x1550ca[_0x419f('0x41')],'endColumn':_0x1550ca['last'],'includeAllSlots':!0x0};}const _0x864b4d=_0x48984d[_0x419f('0x5b')](_0x315f12,_0x2afefa),_0x4ace00=Array[_0x419f('0xb')](_0x864b4d)[_0x419f('0x5')](({cell:_0x421095})=>_0x421095),_0x1b3bd5=se(_0x4ace00[_0x419f('0x46')](_0x503bbc=>_0x503bbc['hasAttribute'](_0x296120))),_0x4bed87=se(_0x4ace00[_0x419f('0x46')](_0x4f06e1=>!_0x4f06e1[_0x419f('0x47')](_0x296120)))[_0x419f('0x5')](_0x13a5db=>_0x56cbff[_0x419f('0x35')](_0x13a5db)),_0x2b06ba=_0x4ae997[_0x419f('0x21')](_0x4bed87,_0x159cee);if(_0x2b06ba&&('tableRow'==_0x2b06ba['subType']||_0x419f('0x7b')==_0x2b06ba[_0x419f('0x18')])){const _0x4264d4=this[_0x419f('0x1')](_0x2b06ba);for(const _0xd9ea6b of _0x1b3bd5){const _0x151f39=_0x56cbff['createRangeOn'](_0xd9ea6b),_0x3156c0=_0x48984d[_0x419f('0x8')](_0xd9ea6b),_0x465543=_0xd9ea6b[_0x419f('0x72')](_0x296120)-0x1,_0x475f6d=_0x4264d4[_0x2fe638],_0x5bce41=_0x4264d4[_0xd68a25];_0x475f6d<=_0x3156c0[_0x20f963]&&_0x3156c0[_0x20f963]+_0x465543<=_0x5bce41&&_0x2b06ba[_0x419f('0x2')](_0x151f39);}}});});}function _0x37d991(_0x1f3499){const _0x33678d=Array[_0x419f('0xb')](_0x3bcece[_0x419f('0x30')]())[_0x419f('0x5')](_0x54a629=>_0x4da0d1['fromRange'](_0x54a629));_0x598ef2[_0x419f('0x3b')][_0x419f('0x67')](_0x2dc434=>{const _0x3e61ff=_0x2dc434[_0x419f('0x3d')];_0x1f3499=_0x1f3499['filter'](_0x4f673e=>_0x419f('0x36')!=_0x4f673e[_0x419f('0x34')][_0x419f('0x10')]),_0x2dc434['setSelection'](_0x1f3499),_0x598ef2[_0x419f('0x32')][_0x419f('0x3')](_0x419f('0x2f'))[_0x419f('0x81')](),_0x598ef2[_0x419f('0x37')](_0x419f('0x2f'),{'forceDefaultExecution':!0x0}),_0x598ef2[_0x419f('0x3b')][_0x419f('0xc')](()=>{_0x598ef2[_0x419f('0x3b')][_0x419f('0xc')](_0x3e61ff,_0x54a3ea=>{const _0x39e597=_0x33678d[_0x419f('0x46')](_0x1e6b5e=>'$graveyard'!=_0x1e6b5e['root'][_0x419f('0x10')]);_0x39e597['length']>0x0&&_0x54a3ea[_0x419f('0x77')](_0x39e597);for(const _0x22379d of _0x33678d)_0x22379d[_0x419f('0x79')]();});});});}function _0x6d96a0(_0x5c6668){_0x598ef2[_0x419f('0x3b')][_0x419f('0x67')](_0x21f8df=>{const _0x36dacc=Array[_0x419f('0xb')](_0x3bcece[_0x419f('0x30')]())[_0x419f('0x5')](_0x4b0ae6=>_0x4da0d1['fromRange'](_0x4b0ae6)),_0x3fe7b8=[];for(const _0x26c54e of _0x5c6668)for(const _0x37e53a of _0x26c54e['getItems']({'shallow':!0x0}))_0x3fe7b8[_0x419f('0x7c')](_0x37e53a);for(const _0x298bb6 of _0x3fe7b8)_0x419f('0x36')!=_0x298bb6[_0x419f('0x34')]['rootName']&&(_0x21f8df[_0x419f('0x77')](_0x21f8df['createPositionAt'](_0x298bb6,0x0)),_0x598ef2[_0x419f('0x32')][_0x419f('0x3')](_0x419f('0x3c'))[_0x419f('0x81')](),_0x598ef2[_0x419f('0x37')](_0x419f('0x3c'),{'forceDefaultExecution':!0x0}));const _0x4067a7=_0x36dacc[_0x419f('0x46')](_0x5d9bf0=>_0x419f('0x36')!=_0x5d9bf0[_0x419f('0x34')][_0x419f('0x10')]);_0x4067a7[_0x419f('0x2e')]>0x0&&_0x21f8df['setSelection'](_0x4067a7);for(const _0x4d4b45 of _0x36dacc)_0x4d4b45[_0x419f('0x79')]();});}function _0x3ca779(_0x550e66,_0x3958d3){return _0x3958d3['every'](_0x3b1e2a=>_0x550e66[_0x419f('0x2d')](_0x58763e=>_0x58763e[_0x419f('0x52')][_0x419f('0x83')](_0x3b1e2a[_0x419f('0x80')])||_0x3b1e2a[_0x419f('0x52')][_0x419f('0x83')](_0x58763e[_0x419f('0x80')])));}function _0x487ba1(_0x16d537,_0x4347d7){return _0x16d537[_0x419f('0x2d')](_0x49eecc=>_0x4347d7[_0x419f('0x2d')](_0x1a0bc9=>_0x49eecc[_0x419f('0x52')][_0x419f('0x1e')](_0x1a0bc9['start'])));}_0x598ef2[_0x419f('0x5d')][_0x419f('0x14')]['on'](_0x419f('0x6'),(_0x333f76,_0xfd6ebd,_0x3a3ace)=>{if(!_0x3a3ace[_0x419f('0x12')][_0x419f('0x2c')])return;const _0x22ddde=_0xfd6ebd[_0x419f('0x75')];if(!_0x22ddde)return;const _0x9aac0e=_0x3a3ace[_0x419f('0x39')][_0x419f('0x76')](_0x22ddde);function _0x183732(_0x3cb013){return Array[_0x419f('0x1d')](_0x3cb013)?_0x3cb013:[_0x3cb013];}_0x9aac0e&&_0x419f('0x51')===_0x22ddde['name']&&_0xcccea8(_0x9aac0e,_0x3a3ace[_0x419f('0x45')],(_0x6d848f,_0x18dda9,_0x16d4ac)=>_0x16d4ac['addClass'](_0x183732(_0x18dda9[_0x419f('0x55')]),_0x6d848f),(_0x4dc82c,_0x189f89,_0x1b19d6)=>_0x1b19d6['removeClass'](_0x183732(_0x189f89[_0x419f('0x55')]),_0x4dc82c));},{'priority':_0x419f('0x5e')}),_0x4ae997[_0x419f('0x5a')][_0x419f('0x4f')](_0x74a2d5=>{if('insertion'!=_0x74a2d5[_0x419f('0x4c')]&&_0x419f('0x23')!=_0x74a2d5[_0x419f('0x4c')])return;const _0x5d996f=_0x74a2d5['getContainedElement']();if(null!=_0x5d996f&&_0x5d996f['is']('element',_0x419f('0xe'))){if(_0x419f('0x73')==_0x74a2d5[_0x419f('0x4c')]){const _0x58aad6=_0x74a2d5[_0x419f('0xf')]()[_0x419f('0x46')](_0x2c3fdb=>_0x2c3fdb['is'](_0x419f('0x54')))[_0x419f('0x5')](_0xfa474a=>_0xfa474a[_0x419f('0x5d')]);if(_0x58aad6[_0x419f('0x2e')])return{'type':_0x419f('0x73'),'content':_0x1f751e(_0x57bacf,_0x419f('0x27'),_0x1f751e(_0x57bacf,_0x419f('0x16'),'\x22'+_0x58aad6['join']('\x20')+'\x22'))};}if(_0x419f('0x23')==_0x74a2d5[_0x419f('0x4c')]){const _0x514e99=_0x74a2d5['getItems']()[_0x419f('0x46')](_0x57543d=>_0x57543d['is'](_0x419f('0x54')))[_0x419f('0x5')](_0xc71657=>_0xc71657[_0x419f('0x5d')]);if(_0x514e99[_0x419f('0x2e')])return{'type':'deletion','content':_0x1f751e(_0x57bacf,'*Remove:*\x20%0',_0x1f751e(_0x57bacf,_0x419f('0x16'),'\x22'+_0x514e99[_0x419f('0x6d')]('\x20')+'\x22'))};}}}),_0x4ae997['_descriptionFactory']['registerDescriptionCallback'](_0x258211=>{if('tableRow'==_0x258211['subType']){const _0x3747ab=_0x258211[_0x419f('0xf')]()[_0x419f('0x46')](_0xb57003=>_0xb57003['is'](_0x419f('0x54')))[_0x419f('0x5')](_0x13de09=>_0x13de09[_0x419f('0x5d')]),_0x4bf59d=this[_0x419f('0x1')](_0x258211),_0x3ff65d=_0x4bf59d[_0x419f('0x5c')]-_0x4bf59d[_0x419f('0x11')]+0x1;if('insertion'==_0x258211[_0x419f('0x4c')])return _0x3747ab[_0x419f('0x2e')]?{'type':_0x419f('0x73'),'content':_0x1f751e(_0x57bacf,_0x419f('0x27'),_0x1f751e(_0x57bacf,'ELEMENT_TABLE_ROW_WITH_TEXT',[_0x3ff65d,'\x22'+_0x3747ab['join']('\x20')+'\x22']))}:{'type':_0x419f('0x73'),'content':_0x1f751e(_0x57bacf,_0x419f('0x27'),_0x1f751e(_0x57bacf,_0x419f('0x4e'),_0x3ff65d))};if(_0x419f('0x23')==_0x258211[_0x419f('0x4c')])return _0x3747ab['length']?{'type':_0x419f('0x23'),'content':_0x1f751e(_0x57bacf,_0x419f('0x17'),_0x1f751e(_0x57bacf,'ELEMENT_TABLE_ROW_WITH_TEXT',[_0x3ff65d,'\x22'+_0x3747ab[_0x419f('0x6d')]('\x20')+'\x22']))}:{'type':'deletion','content':_0x1f751e(_0x57bacf,_0x419f('0x17'),_0x1f751e(_0x57bacf,_0x419f('0x4e'),_0x3ff65d))};}if('tableColumn'==_0x258211[_0x419f('0x18')]){const _0x5bd4c4=_0x258211[_0x419f('0xf')]()['filter'](_0x4b5b7e=>_0x4b5b7e['is'](_0x419f('0x54')))[_0x419f('0x5')](_0x3f1474=>_0x3f1474[_0x419f('0x5d')]),_0x9e7e8c=this[_0x419f('0x1')](_0x258211),_0x3aa232=_0x9e7e8c['maxColumn']-_0x9e7e8c[_0x419f('0x60')]+0x1;if(_0x419f('0x73')==_0x258211[_0x419f('0x4c')])return _0x5bd4c4[_0x419f('0x2e')]?{'type':_0x419f('0x73'),'content':_0x1f751e(_0x57bacf,_0x419f('0x27'),_0x1f751e(_0x57bacf,_0x419f('0x29'),[_0x3aa232,'\x22'+_0x5bd4c4[_0x419f('0x6d')]('\x20')+'\x22']))}:{'type':'insertion','content':_0x1f751e(_0x57bacf,_0x419f('0x27'),_0x1f751e(_0x57bacf,'ELEMENT_TABLE_COLUMN',_0x3aa232))};if(_0x419f('0x23')==_0x258211[_0x419f('0x4c')])return _0x5bd4c4[_0x419f('0x2e')]?{'type':_0x419f('0x23'),'content':_0x1f751e(_0x57bacf,'*Remove:*\x20%0',_0x1f751e(_0x57bacf,_0x419f('0x29'),[_0x3aa232,'\x22'+_0x5bd4c4[_0x419f('0x6d')]('\x20')+'\x22']))}:{'type':_0x419f('0x23'),'content':_0x1f751e(_0x57bacf,_0x419f('0x17'),_0x1f751e(_0x57bacf,'ELEMENT_TABLE_COLUMN',_0x3aa232))};}}),_0x4ae997[_0x419f('0x13')][_0x419f('0x78')](_0x419f('0x73'),_0x419f('0x5f'),'discard',_0x37d991),_0x4ae997[_0x419f('0x13')][_0x419f('0x78')]('deletion',_0x419f('0x5f'),_0x419f('0x4d'),_0x37d991),_0x4ae997['_suggestionFactory'][_0x419f('0x78')]('insertion','tableColumn','discard',_0x6d96a0),_0x4ae997['_suggestionFactory']['registerCustomCallback']('deletion','tableColumn',_0x419f('0x4d'),_0x6d96a0),_0x4ae997['_suggestionFactory'][_0x419f('0x78')](_0x419f('0x73'),_0x419f('0x7b'),_0x419f('0x6d'),_0x3ca779),_0x4ae997['_suggestionFactory'][_0x419f('0x78')](_0x419f('0x23'),'tableColumn',_0x419f('0x6d'),_0x3ca779),_0x4ae997['_suggestionFactory'][_0x419f('0x78')]('insertion','tableRow',_0x419f('0x6d'),_0x487ba1),_0x4ae997[_0x419f('0x13')][_0x419f('0x78')](_0x419f('0x23'),'tableRow',_0x419f('0x6d'),_0x487ba1);}[_0x419f('0x68')](){const _0x4f4948=this[_0x419f('0x44')],_0x323acc=_0x4f4948[_0x419f('0x3b')][_0x419f('0x69')][_0x419f('0x64')];return(_0x44e628,_0x414b96)=>{_0x4f4948[_0x419f('0x3b')][_0x419f('0x67')](_0x42aff7=>{const {commandName:_0x5f0661,commandParams:_0x4f52dc}=_0x414b96;let _0xd8bc45=_0x44e628[0x0][_0x419f('0x52')][_0x419f('0x2b')];_0x4f52dc&&_0x4f52dc[0x0]&&!0x1===_0x4f52dc[0x0][_0x419f('0x71')]&&(_0xd8bc45=_0x44e628[0x0][_0x419f('0x80')][_0x419f('0x20')]);const _0x5ba548=_0x42aff7[_0x419f('0x1b')](_0xd8bc45);if(_0x419f('0x36')==_0x5ba548[_0x419f('0x34')][_0x419f('0x10')])return;const _0x1549d2=Array['from'](_0x323acc[_0x419f('0x30')]())['map'](_0x3c792e=>_0x4da0d1[_0x419f('0x19')](_0x3c792e));_0x42aff7[_0x419f('0x77')](_0x5ba548),_0x4f4948[_0x419f('0x32')][_0x419f('0x3')](_0x5f0661)[_0x419f('0x81')](),_0x4f52dc[_0x419f('0x7c')]({'forceDefaultExecution':!0x0}),_0x4f4948[_0x419f('0x37')](_0x5f0661,..._0x4f52dc);const _0x420022=_0x1549d2[_0x419f('0x46')](_0x43c0d4=>'$graveyard'!=_0x43c0d4['root'][_0x419f('0x10')]);_0x420022['length']>0x0&&_0x42aff7[_0x419f('0x77')](_0x420022);for(const _0x469326 of _0x1549d2)_0x469326['detach']();});};}[_0x419f('0x7')](_0x3a4766){const _0x511b36=this[_0x419f('0x44')][_0x419f('0x49')][_0x419f('0x3')](_0x419f('0x85'));let _0x55a893=Number['MAX_SAFE_INTEGER'],_0x3adaa6=Number[_0x419f('0x3e')],_0x27c2ff=Number['MAX_SAFE_INTEGER'],_0xe13411=Number[_0x419f('0x3e')];for(const _0x2ca940 of _0x3a4766){if(_0x419f('0x36')==_0x2ca940[_0x419f('0x34')][_0x419f('0x10')])continue;const {row:_0x449e32,column:_0x2f0bbf}=_0x511b36[_0x419f('0x8')](_0x2ca940),_0x1719da=_0x2ca940['hasAttribute']('rowspan')?_0x2ca940[_0x419f('0x72')](_0x419f('0x1a'))-0x1:0x0,_0xdb0cf0=_0x2ca940[_0x419f('0x47')]('colspan')?_0x2ca940['getAttribute'](_0x419f('0x26'))-0x1:0x0;_0x55a893=_0x449e32<_0x55a893?_0x449e32:_0x55a893,_0x3adaa6=_0x449e32+_0x1719da>_0x3adaa6?_0x449e32+_0x1719da:_0x3adaa6,_0x27c2ff=_0x2f0bbf<_0x27c2ff?_0x2f0bbf:_0x27c2ff,_0xe13411=_0x2f0bbf+_0xdb0cf0>_0xe13411?_0x2f0bbf+_0xdb0cf0:_0xe13411;}return{'minRow':_0x55a893,'maxRow':_0x3adaa6,'minColumn':_0x27c2ff,'maxColumn':_0xe13411};}[_0x419f('0x70')](){const _0x39f42e=this[_0x419f('0x44')],_0xfd51b4=_0x39f42e[_0x419f('0x49')]['get'](_0x419f('0x3f')),_0x32bc58=_0x39f42e[_0x419f('0x49')][_0x419f('0x3')](_0x419f('0x85'));_0x39f42e[_0x419f('0x3b')][_0x419f('0x69')]['on'](_0x419f('0x42'),()=>{const _0x319ab0=Array[_0x419f('0xb')](_0x39f42e[_0x419f('0x3b')][_0x419f('0x69')][_0x419f('0x74')][_0x419f('0x59')]());for(const {name:_0x24c11c,data:_0x4f875d}of _0x319ab0){const {group:_0xe2b0e0,id:_0x7249ce,subType:_0x44d322}=_0xfd51b4[_0x419f('0x33')](_0x24c11c);if(_0x419f('0x61')!=_0xe2b0e0)continue;if(null!=_0x4f875d[_0x419f('0x22')])continue;const _0x29a2fd=_0xfd51b4[_0x419f('0x25')](_0x7249ce);this[_0x419f('0x4b')][_0x419f('0x66')](_0x44d322)&&this[_0x419f('0x28')][_0x419f('0x24')](_0x29a2fd);}},{'priority':_0x419f('0x6c')});const _0x298678=(_0x54294d,_0x49c297)=>{let _0x31bce0=!0x1;const _0x213225=_0x49c297[_0x419f('0x35')](_0x54294d),_0x56ea5b=_0x54294d[_0x419f('0x0')](_0x419f('0xe')),_0x1a59a9=_0x32bc58[_0x419f('0x8')](_0x54294d);for(const _0x32e789 of this[_0x419f('0x28')]){const _0x7c6f4c=_0x32e789[_0x419f('0x18')],_0x93b257=_0x7c6f4c[_0x419f('0x63')]('tablePaste'),_0x7e9455=_0x7c6f4c[_0x419f('0x6e')](_0x93b257?0xa:0x5),_0xce888e=_0x7e9455['toLowerCase'](),_0x4af4d5=_0xce888e['substr'](0x0,0x3)+_0x419f('0xa'),_0x1a7081='min'+_0x7e9455,_0x40f4a8=_0x419f('0x6f')+_0x7e9455;if(!_0x32e789[_0x419f('0x53')])continue;if(_0x56ea5b!=_0x32e789[_0x419f('0x7d')]()[_0x419f('0x80')][_0x419f('0x0')](_0x419f('0xe')))continue;if(_0x32e789[_0x419f('0x7e')](_0x213225))continue;const _0x3f90aa=_0x54294d['hasAttribute'](_0x4af4d5)?_0x54294d[_0x419f('0x72')](_0x4af4d5)-0x1:0x0,_0x5b2120=this[_0x419f('0x1')](_0x32e789),_0x1e8d2b=_0x5b2120[_0x1a7081],_0x19d614=_0x5b2120[_0x40f4a8];_0x1e8d2b<=_0x1a59a9[_0xce888e]&&_0x1a59a9[_0xce888e]+_0x3f90aa<=_0x19d614&&(_0x32e789[_0x419f('0x2')](_0x213225),_0x31bce0=!0x0);}return _0x31bce0;};_0x39f42e[_0x419f('0x3b')][_0x419f('0x69')]['registerPostFixer'](_0x4820b8=>{let _0x5af0fd=!0x1;for(const _0x3faaf0 of _0x39f42e[_0x419f('0x3b')][_0x419f('0x69')][_0x419f('0x74')][_0x419f('0x84')]())if(_0x419f('0x50')==_0x3faaf0[_0x419f('0x4c')]){if(_0x419f('0x5f')==_0x3faaf0['name'])for(const _0x31fe2d of _0x3faaf0[_0x419f('0x1c')][_0x419f('0x20')][_0x419f('0x7a')]())_0x5af0fd=_0x5af0fd||_0x298678(_0x31fe2d,_0x4820b8);else'tableCell'==_0x3faaf0[_0x419f('0x7f')]&&(_0x5af0fd=_0x5af0fd||_0x298678(_0x3faaf0[_0x419f('0x1c')][_0x419f('0x20')],_0x4820b8));}return _0x5af0fd;});}[_0x419f('0x1')](_0x571778){return this[_0x419f('0x7')](_0x571778[_0x419f('0x30')]()[_0x419f('0x5')](_0x507828=>_0x507828[_0x419f('0x80')][_0x419f('0x20')]));}}function se(_0x35ca49){return Array[_0x419f('0xb')](new Set(_0x35ca49)[_0x419f('0x15')]());}
23
+ const _0x43e1=['getSelectionAffectedTableCells','first','last','filter','ELEMENT_TABLE_ROW_WITH_TEXT','markMultiRangeInsertion','start','every','join','*Insert:*\x20%0','suggestion','getCellLocation','_getSuggestionCoords','toViewElement','item','TrackChangesEditing','ELEMENT_TABLE_COLUMN_WITH_TEXT','model','_getCoordsForCells','hasAttribute','selection','createTableWalker','writer','some','minColumn','addMarker:suggestion','registerElementLabel','insertTableRowAbove','selectTableRow','getColumnIndexes','left','_splitMarkerName','change','ELEMENT_TABLE_COLUMN','add','table','span','type','_tablePostFixingSubtypes','commands','markMultiRangeDeletion','colspan','ELEMENT_TABLE','name','order','push','ELEMENT_TABLE_WITH_TEXT','classes','removeTableColumn','nodeBefore','getAttribute','getRanges','_descriptionFactory','selectTableColumn','rootName','setSelection','substr','isIntersectingWithRange','MIN_SAFE_INTEGER','tableColumn','_acceptFormatSuggestionCallbackFactory','ELEMENT_TABLE_ROW','values','above','getChanges','root','addClass','execute','addRange','insertion','getItems','cell','fromRange','end','getContainedElement','_suggestionFactory','includes','getFirstRange','_tableSuggestions','TableUtils','registerCustomCallback','length','deletion','locale','removeTableRow','accept','$textProxy','minRow','insertTableRowBelow','maxRow','editor','startsWith','min','detach','toLowerCase','downcastDispatcher','discard','rowspan','has','findAncestor','insertTableColumnRight','batch','enableCommand','createRangeOn','isEqual','change:data','from','TableEditing','$graveyard','plugins','highest','*Remove:*\x20%0','tableRow','subType','mapper','low','document','isTouching','get','enqueueChange','refresh','max','nodeAfter','registerPostFixer','position','tableCell','data','map','getChangedMarkers'];(function(_0x33e4b5,_0x43e10c){const _0x26672e=function(_0x21bba7){while(--_0x21bba7){_0x33e4b5['push'](_0x33e4b5['shift']());}};_0x26672e(++_0x43e10c);}(_0x43e1,0x13e));const _0x2667=function(_0x33e4b5,_0x43e10c){_0x33e4b5=_0x33e4b5-0x0;let _0x26672e=_0x43e1[_0x33e4b5];return _0x26672e;};import{Plugin as _0x402dc7}from'ckeditor5/src/core';import{LiveRange as _0x118f17}from'ckeditor5/src/engine';import{setHighlightHandling as _0x255fc3}from'ckeditor5/src/widget';import{getTranslation as _0x41f726}from'../utils/common-translations';export default class mt extends _0x402dc7{constructor(_0x2a3041){super(_0x2a3041),this[_0x2667('0x6b')]=[_0x2667('0x34'),_0x2667('0x80')],this[_0x2667('0x12')]=new Set();}['afterInit'](){const _0x26680d=this[_0x2667('0x1e')],_0x4a51a3=_0x26680d[_0x2667('0x56')][_0x2667('0x38')][_0x2667('0x59')];if(!_0x26680d[_0x2667('0x31')][_0x2667('0x26')](_0x2667('0x2f')))return;const _0x48737e=_0x26680d[_0x2667('0x17')],_0x1837f0=_0x26680d[_0x2667('0x31')][_0x2667('0x3a')](_0x2667('0x54')),_0xec472a=_0x26680d[_0x2667('0x31')][_0x2667('0x3a')]('TableUtils');_0x1837f0[_0x2667('0x79')][_0x2667('0x5f')](_0x2667('0x68'),_0x4dff83=>_0x41f726(_0x48737e,_0x2667('0x6f'),_0x4dff83)),this['_setupColumnsRowsFixing'](),_0x1837f0[_0x2667('0x2a')]('insertTable'),_0x1837f0[_0x2667('0x2a')](_0x2667('0x61')),_0x1837f0[_0x2667('0x2a')](_0x2667('0x7a'));for(const _0x4ac696 of[_0x2667('0x60'),_0x2667('0x1c')]){const _0xeb77c5=_0x26680d[_0x2667('0x6c')][_0x2667('0x3a')](_0x4ac696);_0x1837f0[_0x2667('0x2a')](_0x4ac696,_0x4ef07d=>{_0x26680d[_0x2667('0x56')]['change'](_0x3a2410=>{_0x4ef07d();const _0x5ac48c=_0x2667('0x3')===_0xeb77c5[_0x2667('0x71')],_0x2b0068=_0xec472a[_0x2667('0x45')](_0x4a51a3),_0x358045=_0xec472a['getRowIndexes'](_0x2b0068),_0x3e0434=_0x5ac48c?_0x358045[_0x2667('0x46')]-0x1:_0x358045['last']+0x1,_0x23b3e4=_0x2b0068[0x0][_0x2667('0x27')](_0x2667('0x68')),_0x595550=_0xec472a['createTableWalker'](_0x23b3e4,{'startRow':_0x3e0434,'endRow':_0x3e0434}),_0x22e3f8=Array['from'](_0x595550)['map'](_0x539749=>_0x3a2410[_0x2667('0x2b')](_0x539749['cell']));_0x1837f0[_0x2667('0x4a')](_0x22e3f8,_0x2667('0x34'));});});}for(const _0x2359e5 of['insertTableColumnLeft',_0x2667('0x28')]){const _0x5867ef=_0x26680d[_0x2667('0x6c')][_0x2667('0x3a')](_0x2359e5);_0x1837f0[_0x2667('0x2a')](_0x2359e5,_0x481485=>{_0x26680d[_0x2667('0x56')][_0x2667('0x65')](_0x22affd=>{_0x481485();const _0x2e69aa=_0x2667('0x63')===_0x5867ef['order'],_0x43272c=_0xec472a[_0x2667('0x45')](_0x4a51a3),_0x13eefd=_0xec472a[_0x2667('0x62')](_0x43272c),_0x9f745f=_0x2e69aa?_0x13eefd[_0x2667('0x46')]-0x1:_0x13eefd['last']+0x1,_0x53c7ff=_0x43272c[0x0][_0x2667('0x27')](_0x2667('0x68')),_0x1333c4=_0xec472a[_0x2667('0x5a')](_0x53c7ff,{'startRow':0x0,'column':_0x9f745f,'includeAllSlots':!0x1}),_0x103569=Array[_0x2667('0x2e')](_0x1333c4)[_0x2667('0x43')](_0x1209ec=>_0x22affd[_0x2667('0x2b')](_0x1209ec[_0x2667('0xb')]));_0x1837f0[_0x2667('0x4a')](_0x103569,_0x2667('0x80'));});});}for(const _0x3da871 of[_0x2667('0x18'),_0x2667('0x75')]){const _0x1d2983=_0x3da871[_0x2667('0x7d')](0xb),_0x35be26=_0x1d2983[_0x2667('0x22')](),_0x25b38f=_0x35be26[_0x2667('0x7d')](0x0,0x3)+_0x2667('0x69'),_0x16b5c4=_0x2667('0x68')+_0x1d2983,_0x1fd5cf=_0x2667('0x20')+_0x1d2983,_0x428214=_0x2667('0x3d')+_0x1d2983;_0x1837f0['enableCommand'](_0x3da871,()=>{_0x26680d[_0x2667('0x56')][_0x2667('0x65')](_0x111a6a=>{const _0x5849ac=_0xec472a[_0x2667('0x45')](_0x4a51a3),_0x574739=_0x5849ac[0x0][_0x2667('0x27')](_0x2667('0x68'));let _0x1c99c2;if(_0x2667('0x18')==_0x3da871){const _0x563f7b=_0xec472a['getRowIndexes'](_0x5849ac);_0x1c99c2={'startRow':_0x563f7b[_0x2667('0x46')],'endRow':_0x563f7b['last'],'includeAllSlots':!0x0};}else{const _0x47482e=_0xec472a[_0x2667('0x62')](_0x5849ac);_0x1c99c2={'startColumn':_0x47482e[_0x2667('0x46')],'endColumn':_0x47482e[_0x2667('0x47')],'includeAllSlots':!0x0};}const _0x5eaf75=_0xec472a[_0x2667('0x5a')](_0x574739,_0x1c99c2),_0xa68128=Array[_0x2667('0x2e')](_0x5eaf75)[_0x2667('0x43')](({cell:_0x58a779})=>_0x58a779),_0x38bc34=se(_0xa68128[_0x2667('0x48')](_0x1b7a71=>_0x1b7a71[_0x2667('0x58')](_0x25b38f))),_0x3bf099=se(_0xa68128[_0x2667('0x48')](_0x120563=>!_0x120563[_0x2667('0x58')](_0x25b38f)))[_0x2667('0x43')](_0x31dde9=>_0x111a6a['createRangeOn'](_0x31dde9)),_0x5e0754=_0x1837f0[_0x2667('0x6d')](_0x3bf099,_0x16b5c4);if(_0x5e0754&&(_0x2667('0x34')==_0x5e0754[_0x2667('0x35')]||_0x2667('0x80')==_0x5e0754[_0x2667('0x35')])){const _0x2de846=this['_getSuggestionCoords'](_0x5e0754);for(const _0x533688 of _0x38bc34){const _0xbbfce4=_0x111a6a['createRangeOn'](_0x533688),_0x32282a=_0xec472a['getCellLocation'](_0x533688),_0x41bc7d=_0x533688['getAttribute'](_0x25b38f)-0x1,_0x18fd02=_0x2de846[_0x1fd5cf],_0x286ee7=_0x2de846[_0x428214];_0x18fd02<=_0x32282a[_0x35be26]&&_0x32282a[_0x35be26]+_0x41bc7d<=_0x286ee7&&_0x5e0754[_0x2667('0x8')](_0xbbfce4);}}});});}function _0x4fb6d2(_0x1c34f0){const _0xc2cadc=Array[_0x2667('0x2e')](_0x4a51a3['getRanges']())[_0x2667('0x43')](_0x2d48f3=>_0x118f17[_0x2667('0xc')](_0x2d48f3));_0x26680d['model'][_0x2667('0x65')](_0x17183b=>{const _0x17a0b8=_0x17183b[_0x2667('0x29')];_0x1c34f0=_0x1c34f0[_0x2667('0x48')](_0x468595=>_0x2667('0x30')!=_0x468595[_0x2667('0x5')][_0x2667('0x7b')]),_0x17183b[_0x2667('0x7c')](_0x1c34f0),_0x26680d[_0x2667('0x6c')]['get'](_0x2667('0x18'))['refresh'](),_0x26680d[_0x2667('0x7')](_0x2667('0x18'),{'forceDefaultExecution':!0x0}),_0x26680d[_0x2667('0x56')][_0x2667('0x3b')](()=>{_0x26680d[_0x2667('0x56')]['enqueueChange'](_0x17a0b8,_0x5911ba=>{const _0x2daf59=_0xc2cadc[_0x2667('0x48')](_0xa314ad=>_0x2667('0x30')!=_0xa314ad[_0x2667('0x5')]['rootName']);_0x2daf59['length']>0x0&&_0x5911ba['setSelection'](_0x2daf59);for(const _0x170cf6 of _0xc2cadc)_0x170cf6[_0x2667('0x21')]();});});});}function _0x52e6db(_0x27de28){_0x26680d['model'][_0x2667('0x65')](_0x5766b=>{const _0x19fcf4=Array['from'](_0x4a51a3['getRanges']())['map'](_0x56f2b6=>_0x118f17[_0x2667('0xc')](_0x56f2b6)),_0x390626=[];for(const _0x167785 of _0x27de28)for(const _0x10bd42 of _0x167785[_0x2667('0xa')]({'shallow':!0x0}))_0x390626[_0x2667('0x72')](_0x10bd42);for(const _0x5241c6 of _0x390626)'$graveyard'!=_0x5241c6['root'][_0x2667('0x7b')]&&(_0x5766b[_0x2667('0x7c')](_0x5766b['createPositionAt'](_0x5241c6,0x0)),_0x26680d[_0x2667('0x6c')][_0x2667('0x3a')](_0x2667('0x75'))[_0x2667('0x3c')](),_0x26680d['execute'](_0x2667('0x75'),{'forceDefaultExecution':!0x0}));const _0x413f72=_0x19fcf4[_0x2667('0x48')](_0x50250a=>'$graveyard'!=_0x50250a[_0x2667('0x5')][_0x2667('0x7b')]);_0x413f72[_0x2667('0x15')]>0x0&&_0x5766b[_0x2667('0x7c')](_0x413f72);for(const _0x1ac0d3 of _0x19fcf4)_0x1ac0d3['detach']();});}function _0x3902be(_0x39a28b,_0x528198){return _0x528198[_0x2667('0x4c')](_0x5645d2=>_0x39a28b[_0x2667('0x5c')](_0x53a8cb=>_0x53a8cb[_0x2667('0xd')]['isEqual'](_0x5645d2['start'])||_0x5645d2['end'][_0x2667('0x2c')](_0x53a8cb[_0x2667('0x4b')])));}function _0x106d6b(_0x56499b,_0x1a4491){return _0x56499b[_0x2667('0x5c')](_0x30e20e=>_0x1a4491[_0x2667('0x5c')](_0x2cc0ca=>_0x30e20e['end'][_0x2667('0x39')](_0x2cc0ca[_0x2667('0x4b')])));}_0x26680d[_0x2667('0x42')][_0x2667('0x23')]['on'](_0x2667('0x5e'),(_0x3efe90,_0x5a82d8,_0x194894)=>{if(!_0x194894['options']['showSuggestionHighlights'])return;const _0x1da613=_0x5a82d8[_0x2667('0x53')];if(!_0x1da613)return;const _0x4dcd32=_0x194894[_0x2667('0x36')][_0x2667('0x52')](_0x1da613);function _0x1ea0b1(_0x2c6770){return Array['isArray'](_0x2c6770)?_0x2c6770:[_0x2c6770];}_0x4dcd32&&_0x2667('0x41')===_0x1da613['name']&&_0x255fc3(_0x4dcd32,_0x194894[_0x2667('0x5b')],(_0x30ec2c,_0x2a48db,_0x8f2997)=>_0x8f2997[_0x2667('0x6')](_0x1ea0b1(_0x2a48db[_0x2667('0x74')]),_0x30ec2c),(_0x46798c,_0x92c440,_0x158cdf)=>_0x158cdf['removeClass'](_0x1ea0b1(_0x92c440[_0x2667('0x74')]),_0x46798c));},{'priority':_0x2667('0x32')}),_0x1837f0[_0x2667('0x79')]['registerDescriptionCallback'](_0x311dcb=>{if(_0x2667('0x9')!=_0x311dcb[_0x2667('0x6a')]&&_0x2667('0x16')!=_0x311dcb['type'])return;const _0x3b9e74=_0x311dcb[_0x2667('0xe')]();if(null!=_0x3b9e74&&_0x3b9e74['is']('element',_0x2667('0x68'))){if(_0x2667('0x9')==_0x311dcb[_0x2667('0x6a')]){const _0x1a684a=_0x311dcb[_0x2667('0xa')]()['filter'](_0x5ddbb1=>_0x5ddbb1['is']('$textProxy'))['map'](_0x38227b=>_0x38227b[_0x2667('0x42')]);if(_0x1a684a[_0x2667('0x15')])return{'type':'insertion','content':_0x41f726(_0x48737e,_0x2667('0x4e'),_0x41f726(_0x48737e,_0x2667('0x73'),'\x22'+_0x1a684a[_0x2667('0x4d')]('\x20')+'\x22'))};}if(_0x2667('0x16')==_0x311dcb['type']){const _0x104bc0=_0x311dcb[_0x2667('0xa')]()[_0x2667('0x48')](_0x3a0e28=>_0x3a0e28['is'](_0x2667('0x1a')))[_0x2667('0x43')](_0x4314fb=>_0x4314fb['data']);if(_0x104bc0[_0x2667('0x15')])return{'type':_0x2667('0x16'),'content':_0x41f726(_0x48737e,_0x2667('0x33'),_0x41f726(_0x48737e,_0x2667('0x73'),'\x22'+_0x104bc0[_0x2667('0x4d')]('\x20')+'\x22'))};}}}),_0x1837f0[_0x2667('0x79')]['registerDescriptionCallback'](_0x4c419d=>{if('tableRow'==_0x4c419d['subType']){const _0x518551=_0x4c419d[_0x2667('0xa')]()[_0x2667('0x48')](_0x2d2c7d=>_0x2d2c7d['is'](_0x2667('0x1a')))[_0x2667('0x43')](_0x4ee46c=>_0x4ee46c[_0x2667('0x42')]),_0x48027c=this[_0x2667('0x51')](_0x4c419d),_0x432706=_0x48027c[_0x2667('0x1d')]-_0x48027c[_0x2667('0x1b')]+0x1;if(_0x2667('0x9')==_0x4c419d[_0x2667('0x6a')])return _0x518551[_0x2667('0x15')]?{'type':_0x2667('0x9'),'content':_0x41f726(_0x48737e,'*Insert:*\x20%0',_0x41f726(_0x48737e,_0x2667('0x49'),[_0x432706,'\x22'+_0x518551['join']('\x20')+'\x22']))}:{'type':'insertion','content':_0x41f726(_0x48737e,'*Insert:*\x20%0',_0x41f726(_0x48737e,'ELEMENT_TABLE_ROW',_0x432706))};if(_0x2667('0x16')==_0x4c419d[_0x2667('0x6a')])return _0x518551['length']?{'type':'deletion','content':_0x41f726(_0x48737e,_0x2667('0x33'),_0x41f726(_0x48737e,_0x2667('0x49'),[_0x432706,'\x22'+_0x518551[_0x2667('0x4d')]('\x20')+'\x22']))}:{'type':_0x2667('0x16'),'content':_0x41f726(_0x48737e,_0x2667('0x33'),_0x41f726(_0x48737e,_0x2667('0x1'),_0x432706))};}if(_0x2667('0x80')==_0x4c419d[_0x2667('0x35')]){const _0x131721=_0x4c419d['getItems']()[_0x2667('0x48')](_0x44103c=>_0x44103c['is'](_0x2667('0x1a')))[_0x2667('0x43')](_0x56879b=>_0x56879b['data']),_0xe894b0=this[_0x2667('0x51')](_0x4c419d),_0x3cd7b1=_0xe894b0['maxColumn']-_0xe894b0[_0x2667('0x5d')]+0x1;if(_0x2667('0x9')==_0x4c419d[_0x2667('0x6a')])return _0x131721[_0x2667('0x15')]?{'type':_0x2667('0x9'),'content':_0x41f726(_0x48737e,_0x2667('0x4e'),_0x41f726(_0x48737e,_0x2667('0x55'),[_0x3cd7b1,'\x22'+_0x131721[_0x2667('0x4d')]('\x20')+'\x22']))}:{'type':'insertion','content':_0x41f726(_0x48737e,'*Insert:*\x20%0',_0x41f726(_0x48737e,_0x2667('0x66'),_0x3cd7b1))};if(_0x2667('0x16')==_0x4c419d['type'])return _0x131721[_0x2667('0x15')]?{'type':_0x2667('0x16'),'content':_0x41f726(_0x48737e,_0x2667('0x33'),_0x41f726(_0x48737e,_0x2667('0x55'),[_0x3cd7b1,'\x22'+_0x131721[_0x2667('0x4d')]('\x20')+'\x22']))}:{'type':_0x2667('0x16'),'content':_0x41f726(_0x48737e,_0x2667('0x33'),_0x41f726(_0x48737e,'ELEMENT_TABLE_COLUMN',_0x3cd7b1))};}}),_0x1837f0[_0x2667('0xf')][_0x2667('0x14')](_0x2667('0x9'),'tableRow',_0x2667('0x24'),_0x4fb6d2),_0x1837f0[_0x2667('0xf')][_0x2667('0x14')](_0x2667('0x16'),_0x2667('0x34'),_0x2667('0x19'),_0x4fb6d2),_0x1837f0[_0x2667('0xf')][_0x2667('0x14')](_0x2667('0x9'),'tableColumn',_0x2667('0x24'),_0x52e6db),_0x1837f0[_0x2667('0xf')]['registerCustomCallback'](_0x2667('0x16'),_0x2667('0x80'),_0x2667('0x19'),_0x52e6db),_0x1837f0[_0x2667('0xf')][_0x2667('0x14')](_0x2667('0x9'),_0x2667('0x80'),_0x2667('0x4d'),_0x3902be),_0x1837f0['_suggestionFactory'][_0x2667('0x14')](_0x2667('0x16'),_0x2667('0x80'),'join',_0x3902be),_0x1837f0[_0x2667('0xf')][_0x2667('0x14')]('insertion','tableRow',_0x2667('0x4d'),_0x106d6b),_0x1837f0[_0x2667('0xf')][_0x2667('0x14')](_0x2667('0x16'),_0x2667('0x34'),'join',_0x106d6b);}[_0x2667('0x0')](){const _0x461c3f=this[_0x2667('0x1e')],_0x82b1f9=_0x461c3f['model'][_0x2667('0x38')]['selection'];return(_0x21cd40,_0x32aaf0)=>{_0x461c3f['model'][_0x2667('0x65')](_0x15d31b=>{const {commandName:_0x5d9de9,commandParams:_0x24d919}=_0x32aaf0;let _0x44cca0=_0x21cd40[0x0][_0x2667('0xd')][_0x2667('0x76')];_0x24d919&&_0x24d919[0x0]&&!0x1===_0x24d919[0x0]['forceValue']&&(_0x44cca0=_0x21cd40[0x0][_0x2667('0x4b')]['nodeAfter']);const _0x184992=_0x15d31b['createRangeIn'](_0x44cca0);if(_0x2667('0x30')==_0x184992[_0x2667('0x5')][_0x2667('0x7b')])return;const _0x429d21=Array['from'](_0x82b1f9[_0x2667('0x78')]())[_0x2667('0x43')](_0x4f8fc0=>_0x118f17[_0x2667('0xc')](_0x4f8fc0));_0x15d31b[_0x2667('0x7c')](_0x184992),_0x461c3f[_0x2667('0x6c')][_0x2667('0x3a')](_0x5d9de9)[_0x2667('0x3c')](),_0x24d919[_0x2667('0x72')]({'forceDefaultExecution':!0x0}),_0x461c3f['execute'](_0x5d9de9,..._0x24d919);const _0x4183ed=_0x429d21['filter'](_0x109805=>_0x2667('0x30')!=_0x109805[_0x2667('0x5')][_0x2667('0x7b')]);_0x4183ed[_0x2667('0x15')]>0x0&&_0x15d31b[_0x2667('0x7c')](_0x4183ed);for(const _0x18e867 of _0x429d21)_0x18e867[_0x2667('0x21')]();});};}[_0x2667('0x57')](_0x17fa74){const _0x469012=this['editor']['plugins'][_0x2667('0x3a')](_0x2667('0x13'));let _0x25ce8f=Number['MAX_SAFE_INTEGER'],_0x260dfb=Number['MIN_SAFE_INTEGER'],_0x312451=Number['MAX_SAFE_INTEGER'],_0x3b976e=Number[_0x2667('0x7f')];for(const _0x471a8b of _0x17fa74){if(_0x2667('0x30')==_0x471a8b[_0x2667('0x5')][_0x2667('0x7b')])continue;const {row:_0x5c6060,column:_0x244723}=_0x469012['getCellLocation'](_0x471a8b),_0x35d2df=_0x471a8b[_0x2667('0x58')](_0x2667('0x25'))?_0x471a8b[_0x2667('0x77')](_0x2667('0x25'))-0x1:0x0,_0x5f1f65=_0x471a8b[_0x2667('0x58')](_0x2667('0x6e'))?_0x471a8b[_0x2667('0x77')](_0x2667('0x6e'))-0x1:0x0;_0x25ce8f=_0x5c6060<_0x25ce8f?_0x5c6060:_0x25ce8f,_0x260dfb=_0x5c6060+_0x35d2df>_0x260dfb?_0x5c6060+_0x35d2df:_0x260dfb,_0x312451=_0x244723<_0x312451?_0x244723:_0x312451,_0x3b976e=_0x244723+_0x5f1f65>_0x3b976e?_0x244723+_0x5f1f65:_0x3b976e;}return{'minRow':_0x25ce8f,'maxRow':_0x260dfb,'minColumn':_0x312451,'maxColumn':_0x3b976e};}['_setupColumnsRowsFixing'](){const _0x7ed675=this[_0x2667('0x1e')],_0x1a9644=_0x7ed675[_0x2667('0x31')]['get'](_0x2667('0x54')),_0x3e26da=_0x7ed675[_0x2667('0x31')][_0x2667('0x3a')](_0x2667('0x13'));_0x7ed675['model'][_0x2667('0x38')]['on'](_0x2667('0x2d'),()=>{const _0x5bdd97=Array[_0x2667('0x2e')](_0x7ed675[_0x2667('0x56')][_0x2667('0x38')]['differ'][_0x2667('0x44')]());for(const {name:_0x578599,data:_0x34014e}of _0x5bdd97){const {group:_0x3ab963,id:_0x33ffa5,subType:_0x58a472}=_0x1a9644[_0x2667('0x64')](_0x578599);if(_0x2667('0x4f')!=_0x3ab963)continue;if(null!=_0x34014e['oldRange'])continue;const _0x404c2f=_0x1a9644['getSuggestion'](_0x33ffa5);this[_0x2667('0x6b')][_0x2667('0x10')](_0x58a472)&&this[_0x2667('0x12')][_0x2667('0x67')](_0x404c2f);}},{'priority':_0x2667('0x37')});const _0x1b4897=(_0x4e180a,_0x26c4b0)=>{let _0x361339=!0x1;const _0x319b2c=_0x26c4b0['createRangeOn'](_0x4e180a),_0xc99c1d=_0x4e180a['findAncestor'](_0x2667('0x68')),_0x1eb898=_0x3e26da[_0x2667('0x50')](_0x4e180a);for(const _0x2122a5 of this[_0x2667('0x12')]){const _0x262377=_0x2122a5['subType'],_0x4f6860=_0x262377[_0x2667('0x1f')]('tablePaste'),_0x30ac93=_0x262377['substr'](_0x4f6860?0xa:0x5),_0x3141d4=_0x30ac93[_0x2667('0x22')](),_0x44a30c=_0x3141d4[_0x2667('0x7d')](0x0,0x3)+'span',_0x426afa=_0x2667('0x20')+_0x30ac93,_0x5b0d4a=_0x2667('0x3d')+_0x30ac93;if(!_0x2122a5['isInContent'])continue;if(_0xc99c1d!=_0x2122a5[_0x2667('0x11')]()[_0x2667('0x4b')]['findAncestor'](_0x2667('0x68')))continue;if(_0x2122a5[_0x2667('0x7e')](_0x319b2c))continue;const _0x181c04=_0x4e180a[_0x2667('0x58')](_0x44a30c)?_0x4e180a['getAttribute'](_0x44a30c)-0x1:0x0,_0x16ed5a=this['_getSuggestionCoords'](_0x2122a5),_0xed2935=_0x16ed5a[_0x426afa],_0x549fae=_0x16ed5a[_0x5b0d4a];_0xed2935<=_0x1eb898[_0x3141d4]&&_0x1eb898[_0x3141d4]+_0x181c04<=_0x549fae&&(_0x2122a5[_0x2667('0x8')](_0x319b2c),_0x361339=!0x0);}return _0x361339;};_0x7ed675['model'][_0x2667('0x38')][_0x2667('0x3f')](_0x346e60=>{let _0x54ada9=!0x1;for(const _0x11f018 of _0x7ed675[_0x2667('0x56')][_0x2667('0x38')]['differ'][_0x2667('0x4')]())if('insert'==_0x11f018[_0x2667('0x6a')]){if(_0x2667('0x34')==_0x11f018[_0x2667('0x70')])for(const _0x53895c of _0x11f018[_0x2667('0x40')]['nodeAfter']['getChildren']())_0x54ada9=_0x54ada9||_0x1b4897(_0x53895c,_0x346e60);else'tableCell'==_0x11f018[_0x2667('0x70')]&&(_0x54ada9=_0x54ada9||_0x1b4897(_0x11f018[_0x2667('0x40')]['nodeAfter'],_0x346e60));}return _0x54ada9;});}[_0x2667('0x51')](_0x400bc4){return this[_0x2667('0x57')](_0x400bc4[_0x2667('0x78')]()[_0x2667('0x43')](_0x241fed=>_0x241fed[_0x2667('0x4b')][_0x2667('0x3e')]));}}function se(_0x581f8d){return Array[_0x2667('0x2e')](new Set(_0x581f8d)[_0x2667('0x2')]());}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1b10=['has','editor','get','plugins','toggleTableCaption','afterInit','TableCaptionEditing'];(function(_0x36c0cb,_0x1b10e7){const _0x3c29d8=function(_0x407fd9){while(--_0x407fd9){_0x36c0cb['push'](_0x36c0cb['shift']());}};_0x3c29d8(++_0x1b10e7);}(_0x1b10,0x14a));const _0x3c29=function(_0x36c0cb,_0x1b10e7){_0x36c0cb=_0x36c0cb-0x0;let _0x3c29d8=_0x1b10[_0x36c0cb];return _0x3c29d8;};import{Plugin as _0x135e0b}from'ckeditor5/src/core';import _0xc6946 from'./table';export default class vt extends _0x135e0b{static get['requires'](){return[_0xc6946];}[_0x3c29('0x4')](){const _0x52af3f=this[_0x3c29('0x0')];if(!_0x52af3f['plugins'][_0x3c29('0x6')](_0x3c29('0x5')))return;_0x52af3f[_0x3c29('0x2')][_0x3c29('0x1')]('TrackChangesEditing')['enableCommand'](_0x3c29('0x3'));}}
23
+ const _0x1a3c=['plugins','editor','afterInit','TableCaptionEditing','get','toggleTableCaption','requires'];(function(_0x180665,_0x1a3c8a){const _0x39c072=function(_0x2788b9){while(--_0x2788b9){_0x180665['push'](_0x180665['shift']());}};_0x39c072(++_0x1a3c8a);}(_0x1a3c,0xc8));const _0x39c0=function(_0x180665,_0x1a3c8a){_0x180665=_0x180665-0x0;let _0x39c072=_0x1a3c[_0x180665];return _0x39c072;};import{Plugin as _0x391eb7}from'ckeditor5/src/core';import _0xa9f24 from'./table';export default class vt extends _0x391eb7{static get[_0x39c0('0x2')](){return[_0xa9f24];}[_0x39c0('0x5')](){const _0x4f18e4=this[_0x39c0('0x4')];if(!_0x4f18e4[_0x39c0('0x3')]['has'](_0x39c0('0x6')))return;_0x4f18e4[_0x39c0('0x3')][_0x39c0('0x0')]('TrackChangesEditing')['enableCommand'](_0x39c0('0x1'));}}