@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20230816.0 → 0.0.0-nightly-20230817.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 +3 -3
  3. package/src/commands/acceptsuggestioncommand.js +1 -1
  4. package/src/commands/discardsuggestioncommand.js +1 -1
  5. package/src/commands/executeonallsuggestionscommand.js +1 -1
  6. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  7. package/src/commands/trackchangescommand.js +1 -1
  8. package/src/integrations/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 _0x1cd1=['value','commandParams','fontColor','*Set\x20font\x20background\x20color:*\x20%0','markInlineFormat','plugins','model','*Reset\x20font\x20family*','toLowerCase','get','title','commandName','FontBackgroundColorEditing','editor','config','enableCommand','*Set\x20font\x20color:*\x20%0','*Set\x20font\x20size:*\x20%0','normalizeSizeOptions','FontSizeEditing','fontBackgroundColor','*Reset\x20font\x20background\x20color*','FontFamilyEditing','fontSize.options','*Reset\x20font\x20size*','trim','TrackChangesEditing','from','fontFamily','*Set\x20font\x20family:*\x20%0','has','fontSize','afterInit','*Reset\x20font\x20color*','_enableCommand','format','FontSize','find'];(function(_0x4fa8a2,_0x1cd118){const _0x3dc89f=function(_0x189951){while(--_0x189951){_0x4fa8a2['push'](_0x4fa8a2['shift']());}};_0x3dc89f(++_0x1cd118);}(_0x1cd1,0x1b2));const _0x3dc8=function(_0x4fa8a2,_0x1cd118){_0x4fa8a2=_0x4fa8a2-0x0;let _0x3dc89f=_0x1cd1[_0x4fa8a2];return _0x3dc89f;};import{Plugin as _0x3e9590}from'ckeditor5/src/core';import{normalizeColorOptions as _0x371713}from'ckeditor5/src/ui';import{getRangesWithAttribute as _0x5226df}from'./utils';import{getTranslation as _0x1d6fbf}from'../utils/common-translations';const Zt=[{'pluginName':_0x3dc8('0x3'),'commandName':_0x3dc8('0xf')},{'pluginName':_0x3dc8('0x6'),'commandName':_0x3dc8('0xc')},{'pluginName':'FontColorEditing','commandName':_0x3dc8('0x18')},{'pluginName':_0x3dc8('0x22'),'commandName':_0x3dc8('0x4')}];export default class H extends _0x3e9590{[_0x3dc8('0x10')](){const _0x6aeeb5=this[_0x3dc8('0x23')]['locale'];for(const {pluginName:_0x35473f,commandName:_0xc40fb5}of Zt)this['editor'][_0x3dc8('0x1b')][_0x3dc8('0xe')](_0x35473f)&&this[_0x3dc8('0x12')](_0xc40fb5);this[_0x3dc8('0x23')][_0x3dc8('0x1b')][_0x3dc8('0x1f')](_0x3dc8('0xa'))['_descriptionFactory']['registerDescriptionCallback'](_0x52466d=>{const _0x173976=_0x6aeeb5['t'],{data:_0x50f650}=_0x52466d;if(null!=_0x50f650){if(_0x3dc8('0xf')==_0x50f650[_0x3dc8('0x21')]){const _0x502cc1=_0x50f650['commandParams'][0x0]['value'];if(_0x502cc1){const _0x8f00d=_0x173976(this[_0x3dc8('0x23')][_0x3dc8('0x1b')][_0x3dc8('0x1f')](_0x3dc8('0x14'))[_0x3dc8('0x2')](this[_0x3dc8('0x23')]['config'][_0x3dc8('0x1f')](_0x3dc8('0x7')))['find'](_0x27ca0e=>_0x27ca0e[_0x3dc8('0x1c')]==_0x502cc1)[_0x3dc8('0x20')])[_0x3dc8('0x1e')]();return{'type':_0x3dc8('0x13'),'content':_0x1d6fbf(_0x6aeeb5,_0x3dc8('0x1'),_0x8f00d)};}return{'type':_0x3dc8('0x13'),'content':_0x1d6fbf(_0x6aeeb5,_0x3dc8('0x8'))};}if(_0x3dc8('0xc')==_0x50f650[_0x3dc8('0x21')]){const _0x115898=_0x50f650[_0x3dc8('0x17')][0x0][_0x3dc8('0x16')];return _0x115898?{'type':_0x3dc8('0x13'),'content':_0x1d6fbf(_0x6aeeb5,_0x3dc8('0xd'),_0x115898)}:{'type':_0x3dc8('0x13'),'content':_0x1d6fbf(_0x6aeeb5,_0x3dc8('0x1d'))};}if(_0x3dc8('0x18')==_0x50f650['commandName']){const _0x2329c1=_0x50f650[_0x3dc8('0x17')][0x0]['value'];if(_0x2329c1){const _0x117a36=_0x371713(this[_0x3dc8('0x23')][_0x3dc8('0x24')][_0x3dc8('0x1f')]('fontColor.colors'))[_0x3dc8('0x15')](_0x59b69f=>_0x59b69f[_0x3dc8('0x1c')]==_0x2329c1);let _0x4d6e92=_0x2329c1,_0x27356e='';return _0x117a36&&(_0x4d6e92=_0x117a36['label'],_0x27356e=_0x173976(_0x4d6e92)[_0x3dc8('0x1e')]()),{'type':_0x3dc8('0x13'),'content':_0x1d6fbf(_0x6aeeb5,_0x3dc8('0x0'),_0x27356e)['trim'](),'color':{'value':_0x2329c1,'title':_0x27356e||_0x4d6e92}};}return{'type':_0x3dc8('0x13'),'content':_0x1d6fbf(_0x6aeeb5,_0x3dc8('0x11'))};}if('fontBackgroundColor'==_0x50f650[_0x3dc8('0x21')]){const _0x3f90b3=_0x50f650[_0x3dc8('0x17')][0x0][_0x3dc8('0x16')];if(_0x3f90b3){const _0x316f1b=_0x371713(this['editor']['config'][_0x3dc8('0x1f')]('fontBackgroundColor.colors'))[_0x3dc8('0x15')](_0x366836=>_0x366836[_0x3dc8('0x1c')]==_0x3f90b3);let _0x2f35fc=_0x3f90b3,_0x561dc3='';return _0x316f1b&&(_0x2f35fc=_0x316f1b['label'],_0x561dc3=_0x173976(_0x2f35fc)['toLowerCase']()),{'type':_0x3dc8('0x13'),'content':_0x1d6fbf(_0x6aeeb5,_0x3dc8('0x19'),_0x561dc3)[_0x3dc8('0x9')](),'color':{'value':_0x3f90b3,'title':_0x561dc3||_0x2f35fc}};}return{'type':_0x3dc8('0x13'),'content':_0x1d6fbf(_0x6aeeb5,_0x3dc8('0x5'))};}}});}[_0x3dc8('0x12')](_0x4bcb88){const _0x22362c=this[_0x3dc8('0x23')];_0x22362c[_0x3dc8('0x1b')][_0x3dc8('0x1f')](_0x3dc8('0xa'))[_0x3dc8('0x25')](_0x4bcb88,(_0x1977c9,_0x4ae4eb={})=>{const _0x534e7a=_0x22362c[_0x3dc8('0x1c')]['document']['selection'],_0x7783aa=_0x4ae4eb['value'];_0x534e7a['isCollapsed']?_0x1977c9(_0x4ae4eb):_0x22362c[_0x3dc8('0x1c')]['change'](()=>{const _0x1b0509=Array[_0x3dc8('0xb')](_0x534e7a['getRanges']());for(const _0x3c50ff of _0x1b0509){const _0x2f1118=_0x7783aa?[_0x3c50ff]:_0x5226df(_0x4bcb88,_0x3c50ff,_0x22362c[_0x3dc8('0x1c')]);for(const _0x20011b of _0x2f1118)_0x22362c[_0x3dc8('0x1b')][_0x3dc8('0x1f')](_0x3dc8('0xa'))[_0x3dc8('0x1a')](_0x20011b,{'commandName':_0x4bcb88,'commandParams':[{'value':_0x7783aa}]});}});});}}
23
+ const _0x40ae=['selection','isCollapsed','*Reset\x20font\x20size*','_descriptionFactory','toLowerCase','config','find','commandName','fontSize','model','fontBackgroundColor.colors','value','fontColor.colors','plugins','afterInit','fontBackgroundColor','getRanges','fontColor','normalizeSizeOptions','*Reset\x20font\x20color*','editor','get','title','*Set\x20font\x20background\x20color:*\x20%0','has','label','TrackChangesEditing','*Set\x20font\x20family:*\x20%0','FontColorEditing','change','fontFamily','fontSize.options','from','FontSize','commandParams','_enableCommand','FontSizeEditing','format','enableCommand','*Set\x20font\x20color:*\x20%0','locale','trim'];(function(_0x492a34,_0x40ae2a){const _0x4bf32e=function(_0xa96c7b){while(--_0xa96c7b){_0x492a34['push'](_0x492a34['shift']());}};_0x4bf32e(++_0x40ae2a);}(_0x40ae,0x197));const _0x4bf3=function(_0x492a34,_0x40ae2a){_0x492a34=_0x492a34-0x0;let _0x4bf32e=_0x40ae[_0x492a34];return _0x4bf32e;};import{Plugin as _0x1ef5d1}from'ckeditor5/src/core';import{normalizeColorOptions as _0x6fcba6}from'ckeditor5/src/ui';import{getRangesWithAttribute as _0x12b920}from'./utils';import{getTranslation as _0x1c85bf}from'../utils/common-translations';const Zt=[{'pluginName':_0x4bf3('0x7'),'commandName':_0x4bf3('0x15')},{'pluginName':'FontFamilyEditing','commandName':_0x4bf3('0x1')},{'pluginName':_0x4bf3('0x29'),'commandName':_0x4bf3('0x1e')},{'pluginName':'FontBackgroundColorEditing','commandName':_0x4bf3('0x1c')}];export default class H extends _0x1ef5d1{[_0x4bf3('0x1b')](){const _0x282074=this[_0x4bf3('0x21')][_0x4bf3('0xb')];for(const {pluginName:_0xbe19b4,commandName:_0x5ad27c}of Zt)this[_0x4bf3('0x21')]['plugins'][_0x4bf3('0x25')](_0xbe19b4)&&this[_0x4bf3('0x6')](_0x5ad27c);this[_0x4bf3('0x21')]['plugins'][_0x4bf3('0x22')](_0x4bf3('0x27'))[_0x4bf3('0x10')]['registerDescriptionCallback'](_0x4298ff=>{const _0x456aba=_0x282074['t'],{data:_0x470882}=_0x4298ff;if(null!=_0x470882){if(_0x4bf3('0x15')==_0x470882['commandName']){const _0x18dbbb=_0x470882[_0x4bf3('0x5')][0x0][_0x4bf3('0x18')];if(_0x18dbbb){const _0x57b24a=_0x456aba(this[_0x4bf3('0x21')][_0x4bf3('0x1a')]['get'](_0x4bf3('0x4'))[_0x4bf3('0x1f')](this[_0x4bf3('0x21')][_0x4bf3('0x12')][_0x4bf3('0x22')](_0x4bf3('0x2')))[_0x4bf3('0x13')](_0x7e10dd=>_0x7e10dd[_0x4bf3('0x16')]==_0x18dbbb)[_0x4bf3('0x23')])[_0x4bf3('0x11')]();return{'type':'format','content':_0x1c85bf(_0x282074,'*Set\x20font\x20size:*\x20%0',_0x57b24a)};}return{'type':'format','content':_0x1c85bf(_0x282074,_0x4bf3('0xf'))};}if(_0x4bf3('0x1')==_0x470882[_0x4bf3('0x14')]){const _0xdb7dec=_0x470882[_0x4bf3('0x5')][0x0]['value'];return _0xdb7dec?{'type':_0x4bf3('0x8'),'content':_0x1c85bf(_0x282074,_0x4bf3('0x28'),_0xdb7dec)}:{'type':_0x4bf3('0x8'),'content':_0x1c85bf(_0x282074,'*Reset\x20font\x20family*')};}if(_0x4bf3('0x1e')==_0x470882['commandName']){const _0x17b293=_0x470882[_0x4bf3('0x5')][0x0][_0x4bf3('0x18')];if(_0x17b293){const _0x3dd0c3=_0x6fcba6(this[_0x4bf3('0x21')][_0x4bf3('0x12')]['get'](_0x4bf3('0x19')))[_0x4bf3('0x13')](_0x2a7f75=>_0x2a7f75[_0x4bf3('0x16')]==_0x17b293);let _0x2615f8=_0x17b293,_0x477f10='';return _0x3dd0c3&&(_0x2615f8=_0x3dd0c3['label'],_0x477f10=_0x456aba(_0x2615f8)[_0x4bf3('0x11')]()),{'type':_0x4bf3('0x8'),'content':_0x1c85bf(_0x282074,_0x4bf3('0xa'),_0x477f10)[_0x4bf3('0xc')](),'color':{'value':_0x17b293,'title':_0x477f10||_0x2615f8}};}return{'type':_0x4bf3('0x8'),'content':_0x1c85bf(_0x282074,_0x4bf3('0x20'))};}if(_0x4bf3('0x1c')==_0x470882['commandName']){const _0x4b1572=_0x470882[_0x4bf3('0x5')][0x0][_0x4bf3('0x18')];if(_0x4b1572){const _0x3efa58=_0x6fcba6(this[_0x4bf3('0x21')]['config']['get'](_0x4bf3('0x17')))[_0x4bf3('0x13')](_0x3ff72d=>_0x3ff72d[_0x4bf3('0x16')]==_0x4b1572);let _0x348816=_0x4b1572,_0x5216a7='';return _0x3efa58&&(_0x348816=_0x3efa58[_0x4bf3('0x26')],_0x5216a7=_0x456aba(_0x348816)[_0x4bf3('0x11')]()),{'type':_0x4bf3('0x8'),'content':_0x1c85bf(_0x282074,_0x4bf3('0x24'),_0x5216a7)[_0x4bf3('0xc')](),'color':{'value':_0x4b1572,'title':_0x5216a7||_0x348816}};}return{'type':_0x4bf3('0x8'),'content':_0x1c85bf(_0x282074,'*Reset\x20font\x20background\x20color*')};}}});}['_enableCommand'](_0xd93e59){const _0x290f9b=this[_0x4bf3('0x21')];_0x290f9b['plugins'][_0x4bf3('0x22')](_0x4bf3('0x27'))[_0x4bf3('0x9')](_0xd93e59,(_0x567579,_0x4e6f3b={})=>{const _0x49ab78=_0x290f9b['model']['document'][_0x4bf3('0xd')],_0x295961=_0x4e6f3b['value'];_0x49ab78[_0x4bf3('0xe')]?_0x567579(_0x4e6f3b):_0x290f9b[_0x4bf3('0x16')][_0x4bf3('0x0')](()=>{const _0x2cf38a=Array[_0x4bf3('0x3')](_0x49ab78[_0x4bf3('0x1d')]());for(const _0x4194d5 of _0x2cf38a){const _0x199f01=_0x295961?[_0x4194d5]:_0x12b920(_0xd93e59,_0x4194d5,_0x290f9b[_0x4bf3('0x16')]);for(const _0x62a35a of _0x199f01)_0x290f9b[_0x4bf3('0x1a')]['get']('TrackChangesEditing')['markInlineFormat'](_0x62a35a,{'commandName':_0xd93e59,'commandParams':[{'value':_0x295961}]});}});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4811=['selection','word','markInlineFormat','getAttributeProperties','normalizeSizeOptions','fontColor.colors','getAttributes','copyFormat','toLowerCase','_descriptionFactory','forward','plugins','getLastPosition','label','commands','commandParams','locale','TrackChangesEditing','from','format','modifySelection','enableCommand','split','afterInit','title','getFirstPosition','find','fontSize.options','fontBackgroundColor','schema','fontSize','getSelectedBlocks','slice','getItems','pasteFormat','get','isBlock','document','boolean','createRange','model','getRanges','editor','push','backward','registerDescriptionCallback','createSelection','charAt','length'];(function(_0x3c3a0d,_0x481114){const _0x483851=function(_0xca5389){while(--_0xca5389){_0x3c3a0d['push'](_0x3c3a0d['shift']());}};_0x483851(++_0x481114);}(_0x4811,0x161));const _0x4838=function(_0x3c3a0d,_0x481114){_0x3c3a0d=_0x3c3a0d-0x0;let _0x483851=_0x4811[_0x3c3a0d];return _0x483851;};import{Plugin as _0x3f8ce5}from'ckeditor5/src/core';import{normalizeColorOptions as _0x1bc8fc}from'ckeditor5/src/ui';import{first as _0x45e21b}from'ckeditor5/src/utils';import{getTranslation as _0x1365c4}from'../utils/common-translations';export default class W extends _0x3f8ce5{[_0x4838('0xd')](){const _0x1adc4e=this[_0x4838('0x20')],_0x24e845=_0x1adc4e[_0x4838('0x1e')],_0x1c708d=_0x24e845[_0x4838('0x1b')][_0x4838('0x27')],_0x2093b2=_0x1adc4e[_0x4838('0x1')][_0x4838('0x19')](_0x4838('0x7')),_0x1e8c6a=_0x1adc4e['locale'],_0x394d9d=_0x1adc4e['commands'][_0x4838('0x19')](_0x4838('0x2e')),_0x167395=_0x1adc4e[_0x4838('0x4')][_0x4838('0x19')](_0x4838('0x18'));_0x394d9d&&_0x167395&&(_0x2093b2[_0x4838('0xb')](_0x4838('0x18'),(_0x1c1c92,_0xc5555b={})=>{const _0x24244b=_0xc5555b;_0x24e845['change'](()=>{const _0x423879=Array[_0x4838('0x8')](_0x1c708d[_0x4838('0x1f')]()),_0x4c3ffa=_0x1c708d['isCollapsed']?[ro(_0x24e845,_0x1c708d)]:_0x423879,_0x2272ab=!!_0x45e21b(function*(_0x51372c,_0x481bcf){const _0x435711=_0x15a713=>!!_0x45e21b(function*(_0x26f925,_0x21527f){for(const [_0x5b7fcf]of _0x26f925[_0x4838('0x2d')]()){const _0x3e1cf5=_0x21527f[_0x4838('0x2a')](_0x5b7fcf);_0x3e1cf5&&_0x3e1cf5['isFormatting']&&(yield _0x5b7fcf);}}(_0x15a713,_0x481bcf));for(const _0x5e99be of _0x51372c[_0x4838('0x1f')]())for(const _0x5251e9 of _0x5e99be[_0x4838('0x17')]())!_0x481bcf[_0x4838('0x1a')](_0x5251e9)&&_0x435711(_0x5251e9)&&(yield _0x5251e9);for(const _0x49d8c2 of _0x51372c[_0x4838('0x15')]())_0x435711(_0x49d8c2)&&(yield _0x49d8c2);_0x435711(_0x51372c)&&(yield _0x51372c);}(_0x1c708d,_0x24e845[_0x4838('0x13')]));if(_0x2272ab||0x0!==Object['keys'](_0x24244b)[_0x4838('0x26')])for(const _0x42aa4a of _0x4c3ffa)_0x2093b2[_0x4838('0x29')](_0x42aa4a,{'commandName':'pasteFormat','commandParams':[_0x24244b]});});}),_0x2093b2[_0x4838('0x30')][_0x4838('0x23')](_0x1224c7=>{const {data:_0x25d2c2}=_0x1224c7;if(_0x25d2c2&&'pasteFormat'===_0x25d2c2['commandName']){const _0x59bfcc=[],_0x263894=_0x25d2c2[_0x4838('0x5')][0x0];for(const [_0x493b92,_0x517f1f]of Object['entries'](_0x263894))_0x59bfcc[_0x4838('0x21')](no(_0x1adc4e,_0x493b92,_0x517f1f));return _0x59bfcc[_0x4838('0x26')]?{'type':'format','content':_0x1365c4(_0x1e8c6a,'*Set\x20format\x20to:*\x20%0',_0x59bfcc['join'](',\x20'))}:{'type':_0x4838('0x9'),'content':_0x1365c4(_0x1e8c6a,'*Remove\x20all\x20formatting*')};}}),_0x1adc4e[_0x4838('0x1')][_0x4838('0x19')](_0x4838('0x7'))[_0x4838('0xb')](_0x4838('0x2e')));}}function ro(_0xe2afe2,_0x199b2f){const _0x99a546=_0xe2afe2[_0x4838('0x24')](_0x199b2f);_0xe2afe2[_0x4838('0xa')](_0x99a546,{'unit':_0x4838('0x28'),'direction':_0x4838('0x22')});const _0x74ac39=_0x99a546[_0x4838('0xf')]();_0xe2afe2['modifySelection'](_0x99a546,{'unit':_0x4838('0x28'),'direction':_0x4838('0x0')});const _0x3a4098=_0x99a546[_0x4838('0x2')]();return _0xe2afe2[_0x4838('0x1d')](_0x74ac39,_0x3a4098);}function no(_0x20961a,_0xd4e024,_0x45ee4b){const _0x46740a=_0x20961a[_0x4838('0x6')]['t'],_0x5cebdc=_0xd4e024[_0x4838('0xc')](/(?=[A-Z])/)['join']('\x20'),_0x1d3a9f=_0x46740a(_0x5cebdc[_0x4838('0x25')](0x0)['toUpperCase']()+_0x5cebdc[_0x4838('0x16')](0x1))[_0x4838('0x2f')]();if(_0x4838('0x1c')==typeof _0x45ee4b)return _0x1d3a9f;if('fontColor'===_0xd4e024||_0x4838('0x12')===_0xd4e024){const _0xc99dc1=_0x1bc8fc(_0x20961a['config'][_0x4838('0x19')](_0x4838('0x2c')))[_0x4838('0x10')](_0x2b7844=>_0x2b7844['model']==_0x45ee4b);return _0x1d3a9f+'\x20('+(_0xc99dc1?_0x46740a(_0xc99dc1[_0x4838('0x3')])[_0x4838('0x2f')]():_0x45ee4b)+')';}if(_0x4838('0x14')===_0xd4e024&&isNaN(parseFloat(_0x45ee4b))){const _0x1ee482=_0x20961a[_0x4838('0x1')]['get']('FontSize')[_0x4838('0x2b')](_0x20961a['config']['get'](_0x4838('0x11')))[_0x4838('0x10')](_0xaf05ba=>_0xaf05ba[_0x4838('0x1e')]==_0x45ee4b);return _0x1d3a9f+'\x20('+(_0x1ee482?_0x46740a(_0x1ee482[_0x4838('0xe')])[_0x4838('0x2f')]():_0x45ee4b)+')';}return _0x1d3a9f+'\x20('+_0x45ee4b+')';}
23
+ const _0x444c=['backward','find','join','commandParams','word','entries','toLowerCase','isCollapsed','*Remove\x20all\x20formatting*','charAt','afterInit','boolean','locale','format','plugins','*Set\x20format\x20to:*\x20%0','forward','getAttributes','createRange','length','enableCommand','change','FontSize','pasteFormat','_descriptionFactory','getFirstPosition','model','copyFormat','markInlineFormat','get','config','fontColor','push','fontSize','fontBackgroundColor','TrackChangesEditing','keys','getAttributeProperties','modifySelection','commands','isBlock','slice','selection','getSelectedBlocks','fontColor.colors'];(function(_0x1b9706,_0x444c45){const _0x235935=function(_0x106ce8){while(--_0x106ce8){_0x1b9706['push'](_0x1b9706['shift']());}};_0x235935(++_0x444c45);}(_0x444c,0xd7));const _0x2359=function(_0x1b9706,_0x444c45){_0x1b9706=_0x1b9706-0x0;let _0x235935=_0x444c[_0x1b9706];return _0x235935;};import{Plugin as _0x3dcc68}from'ckeditor5/src/core';import{normalizeColorOptions as _0x400f2b}from'ckeditor5/src/ui';import{first as _0x325bd8}from'ckeditor5/src/utils';import{getTranslation as _0x1fe0f7}from'../utils/common-translations';export default class W extends _0x3dcc68{[_0x2359('0x14')](){const _0x34c74c=this['editor'],_0x315239=_0x34c74c['model'],_0x34f6f8=_0x315239['document'][_0x2359('0x7')],_0x3dd25a=_0x34c74c['plugins'][_0x2359('0x27')](_0x2359('0x0')),_0x549b14=_0x34c74c[_0x2359('0x16')],_0x572d06=_0x34c74c[_0x2359('0x4')]['get'](_0x2359('0x25')),_0x19d7d9=_0x34c74c[_0x2359('0x4')][_0x2359('0x27')](_0x2359('0x21'));_0x572d06&&_0x19d7d9&&(_0x3dd25a[_0x2359('0x1e')]('pasteFormat',(_0x58a4bf,_0x3c2a8a={})=>{const _0x16edca=_0x3c2a8a;_0x315239[_0x2359('0x1f')](()=>{const _0x3dff82=Array['from'](_0x34f6f8['getRanges']()),_0x3441a3=_0x34f6f8[_0x2359('0x11')]?[ro(_0x315239,_0x34f6f8)]:_0x3dff82,_0xb30f1c=!!_0x325bd8(function*(_0x2aac75,_0x26e4ff){const _0x1e437e=_0x35938a=>!!_0x325bd8(function*(_0x5765da,_0x5bb410){for(const [_0x34837c]of _0x5765da[_0x2359('0x1b')]()){const _0x411a78=_0x5bb410[_0x2359('0x2')](_0x34837c);_0x411a78&&_0x411a78['isFormatting']&&(yield _0x34837c);}}(_0x35938a,_0x26e4ff));for(const _0x5136a9 of _0x2aac75['getRanges']())for(const _0x5af53b of _0x5136a9['getItems']())!_0x26e4ff[_0x2359('0x5')](_0x5af53b)&&_0x1e437e(_0x5af53b)&&(yield _0x5af53b);for(const _0x3fafb7 of _0x2aac75[_0x2359('0x8')]())_0x1e437e(_0x3fafb7)&&(yield _0x3fafb7);_0x1e437e(_0x2aac75)&&(yield _0x2aac75);}(_0x34f6f8,_0x315239['schema']));if(_0xb30f1c||0x0!==Object[_0x2359('0x1')](_0x16edca)[_0x2359('0x1d')])for(const _0x25ef58 of _0x3441a3)_0x3dd25a[_0x2359('0x26')](_0x25ef58,{'commandName':_0x2359('0x21'),'commandParams':[_0x16edca]});});}),_0x3dd25a[_0x2359('0x22')]['registerDescriptionCallback'](_0xe68726=>{const {data:_0x47de1e}=_0xe68726;if(_0x47de1e&&_0x2359('0x21')===_0x47de1e['commandName']){const _0x526fd9=[],_0x514a16=_0x47de1e[_0x2359('0xd')][0x0];for(const [_0x58a32e,_0x44d373]of Object[_0x2359('0xf')](_0x514a16))_0x526fd9[_0x2359('0x2a')](no(_0x34c74c,_0x58a32e,_0x44d373));return _0x526fd9[_0x2359('0x1d')]?{'type':_0x2359('0x17'),'content':_0x1fe0f7(_0x549b14,_0x2359('0x19'),_0x526fd9[_0x2359('0xc')](',\x20'))}:{'type':'format','content':_0x1fe0f7(_0x549b14,_0x2359('0x12'))};}}),_0x34c74c[_0x2359('0x18')][_0x2359('0x27')](_0x2359('0x0'))[_0x2359('0x1e')](_0x2359('0x25')));}}function ro(_0x4a84c2,_0x1796a0){const _0x413bdd=_0x4a84c2['createSelection'](_0x1796a0);_0x4a84c2[_0x2359('0x3')](_0x413bdd,{'unit':_0x2359('0xe'),'direction':_0x2359('0xa')});const _0x2066a2=_0x413bdd[_0x2359('0x23')]();_0x4a84c2[_0x2359('0x3')](_0x413bdd,{'unit':_0x2359('0xe'),'direction':_0x2359('0x1a')});const _0x235856=_0x413bdd['getLastPosition']();return _0x4a84c2[_0x2359('0x1c')](_0x2066a2,_0x235856);}function no(_0x5bb579,_0x54fbcd,_0x3d5957){const _0x185d3d=_0x5bb579['locale']['t'],_0x5340e0=_0x54fbcd['split'](/(?=[A-Z])/)['join']('\x20'),_0x1f2371=_0x185d3d(_0x5340e0[_0x2359('0x13')](0x0)['toUpperCase']()+_0x5340e0[_0x2359('0x6')](0x1))['toLowerCase']();if(_0x2359('0x15')==typeof _0x3d5957)return _0x1f2371;if(_0x2359('0x29')===_0x54fbcd||_0x2359('0x2c')===_0x54fbcd){const _0x5b32e2=_0x400f2b(_0x5bb579[_0x2359('0x28')][_0x2359('0x27')](_0x2359('0x9')))[_0x2359('0xb')](_0x5c445a=>_0x5c445a[_0x2359('0x24')]==_0x3d5957);return _0x1f2371+'\x20('+(_0x5b32e2?_0x185d3d(_0x5b32e2['label'])[_0x2359('0x10')]():_0x3d5957)+')';}if(_0x2359('0x2b')===_0x54fbcd&&isNaN(parseFloat(_0x3d5957))){const _0x275c28=_0x5bb579[_0x2359('0x18')][_0x2359('0x27')](_0x2359('0x20'))['normalizeSizeOptions'](_0x5bb579[_0x2359('0x28')][_0x2359('0x27')]('fontSize.options'))[_0x2359('0xb')](_0x184609=>_0x184609[_0x2359('0x24')]==_0x3d5957);return _0x1f2371+'\x20('+(_0x275c28?_0x185d3d(_0x275c28['title'])['toLowerCase']():_0x3d5957)+')';}return _0x1f2371+'\x20('+_0x3d5957+')';}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4d87=['config','markBlockFormat','isObject','formatBlock','editor','TrackChangesEditing','value','checkChild','name','title','parent','find','filter','change','commandName','_descriptionFactory','format','schema','has','model','heading.options','from','plugins','blockName','enableCommand','*Change\x20to:*\x20%0','locale','match','ELEMENT_HEADING_CUSTOM','document','HeadingEditing','getSelectedBlocks','heading','get','registerDescriptionCallback','afterInit','paragraph','selection'];(function(_0x55c4ac,_0x4d87a0){const _0x404a30=function(_0x34764d){while(--_0x34764d){_0x55c4ac['push'](_0x55c4ac['shift']());}};_0x404a30(++_0x4d87a0);}(_0x4d87,0x1cc));const _0x404a=function(_0x55c4ac,_0x4d87a0){_0x55c4ac=_0x55c4ac-0x0;let _0x404a30=_0x4d87[_0x55c4ac];return _0x404a30;};import{Plugin as _0x41235}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x42c840}from'./utils';import{getTranslation as _0x2b60ee}from'../utils/common-translations';export default class J extends _0x41235{[_0x404a('0x1f')](){const _0x1aa370=this[_0x404a('0x0')],_0x2b43e6=_0x1aa370[_0x404a('0x16')],_0x2a5a39=_0x1aa370[_0x404a('0x22')][_0x404a('0x1d')](_0x404a('0x10'));if(!_0x1aa370[_0x404a('0x12')][_0x404a('0xe')](_0x404a('0x1a')))return;const _0x5cac7b=_0x1aa370[_0x404a('0x12')][_0x404a('0x1d')](_0x404a('0x1'));_0x5cac7b[_0x404a('0x14')]('heading',(_0x1d341d,_0x4c068e)=>{const _0x308620=_0x4c068e[_0x404a('0x2')],_0x2ced45=Array[_0x404a('0x11')](this[_0x404a('0x0')][_0x404a('0xf')][_0x404a('0x19')][_0x404a('0x21')][_0x404a('0x1b')]())[_0x404a('0x8')](_0x1ac37a=>function(_0x5c9bfc,_0x3e076c,_0x24d6df){return _0x24d6df[_0x404a('0x3')](_0x5c9bfc[_0x404a('0x6')],_0x3e076c)&&!_0x24d6df[_0x404a('0x24')](_0x5c9bfc)&&_0x5c9bfc[_0x404a('0x4')]!=_0x3e076c;}(_0x1ac37a,_0x308620,this[_0x404a('0x0')]['model'][_0x404a('0xd')]));_0x1aa370[_0x404a('0xf')][_0x404a('0x9')](()=>{for(const _0x18201c of _0x2ced45)_0x5cac7b[_0x404a('0x23')](_0x18201c,{'commandName':_0x404a('0x1c'),'commandParams':[_0x4c068e],'formatGroupId':_0x404a('0x13')},_0x42c840(_0x18201c));});});for(const _0x43d301 of _0x2a5a39)_0x404a('0x20')!=_0x43d301[_0x404a('0xf')]&&_0x5cac7b[_0x404a('0xb')]['registerElementLabel'](_0x43d301[_0x404a('0xf')],_0x282ec3=>{const _0x70f2c5=nn(_0x43d301[_0x404a('0xf')]);return null!==_0x70f2c5?_0x1c2f64(_0x282ec3,_0x70f2c5):_0x216ab3(_0x282ec3,_0x43d301['title']);});function _0x1c2f64(_0x2855cd,_0x81d395){return _0x2b60ee(_0x2b43e6,'ELEMENT_HEADING',[_0x2855cd,_0x81d395]);}function _0x216ab3(_0x1591a9,_0x2ea553){return _0x2b60ee(_0x2b43e6,_0x404a('0x18'),[_0x1591a9,_0x2ea553]);}_0x5cac7b[_0x404a('0xb')][_0x404a('0x1e')](_0x1ba4e8=>{const {type:_0x42c7af,data:_0x1b1ec8}=_0x1ba4e8;if(_0x404a('0x25')==_0x42c7af&&_0x1b1ec8&&_0x404a('0x1c')==_0x1b1ec8[_0x404a('0xa')]){const _0x4dba26=_0x1b1ec8['commandParams'][0x0][_0x404a('0x2')],_0x552840=nn(_0x4dba26);if(null!==_0x552840)return{'type':_0x404a('0xc'),'content':_0x2b60ee(_0x2b43e6,_0x404a('0x15'),_0x1c2f64(0x1,_0x552840))};const _0x4c388f=_0x2a5a39[_0x404a('0x7')](_0x287f26=>_0x287f26[_0x404a('0xf')]===_0x4dba26)[_0x404a('0x5')];return{'type':_0x404a('0xc'),'content':_0x2b60ee(_0x2b43e6,_0x404a('0x15'),_0x216ab3(0x1,_0x4c388f))};}});}}function nn(_0x354a82){const _0x54afe0=_0x354a82[_0x404a('0x17')](/^heading(\d+)$/);return _0x54afe0?_0x54afe0[0x1]:null;}
23
+ const _0x2c8c=['get','markBlockFormat','has','TrackChangesEditing','isObject','commandParams','plugins','commandName','editor','formatBlock','title','*Change\x20to:*\x20%0','enableCommand','registerElementLabel','paragraph','registerDescriptionCallback','heading.options','HeadingEditing','heading','document','checkChild','format','selection','config','value','from','change','_descriptionFactory','ELEMENT_HEADING_CUSTOM','ELEMENT_HEADING','model','name','find'];(function(_0x6be3ef,_0x2c8ce8){const _0x210c2e=function(_0x48fbc9){while(--_0x48fbc9){_0x6be3ef['push'](_0x6be3ef['shift']());}};_0x210c2e(++_0x2c8ce8);}(_0x2c8c,0x80));const _0x210c=function(_0x6be3ef,_0x2c8ce8){_0x6be3ef=_0x6be3ef-0x0;let _0x210c2e=_0x2c8c[_0x6be3ef];return _0x210c2e;};import{Plugin as _0x91673f}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x7e8010}from'./utils';import{getTranslation as _0x450813}from'../utils/common-translations';export default class J extends _0x91673f{['afterInit'](){const _0x3e0a6d=this['editor'],_0x3f3f7a=_0x3e0a6d['locale'],_0x1c27fe=_0x3e0a6d[_0x210c('0x1b')]['get'](_0x210c('0x14'));if(!_0x3e0a6d[_0x210c('0xa')][_0x210c('0x6')](_0x210c('0x15')))return;const _0x3719b4=_0x3e0a6d[_0x210c('0xa')][_0x210c('0x4')](_0x210c('0x7'));_0x3719b4[_0x210c('0x10')](_0x210c('0x16'),(_0x5c9019,_0x57f793)=>{const _0x562537=_0x57f793[_0x210c('0x1c')],_0xe0e922=Array[_0x210c('0x1d')](this[_0x210c('0xc')][_0x210c('0x1')][_0x210c('0x17')][_0x210c('0x1a')]['getSelectedBlocks']())['filter'](_0x36a6b9=>function(_0x390409,_0x287224,_0x2c4b96){return _0x2c4b96[_0x210c('0x18')](_0x390409['parent'],_0x287224)&&!_0x2c4b96[_0x210c('0x8')](_0x390409)&&_0x390409[_0x210c('0x2')]!=_0x287224;}(_0x36a6b9,_0x562537,this['editor'][_0x210c('0x1')]['schema']));_0x3e0a6d[_0x210c('0x1')][_0x210c('0x1e')](()=>{for(const _0x5d8d5b of _0xe0e922)_0x3719b4[_0x210c('0x5')](_0x5d8d5b,{'commandName':_0x210c('0x16'),'commandParams':[_0x57f793],'formatGroupId':'blockName'},_0x7e8010(_0x5d8d5b));});});for(const _0x5ed296 of _0x1c27fe)_0x210c('0x12')!=_0x5ed296[_0x210c('0x1')]&&_0x3719b4['_descriptionFactory'][_0x210c('0x11')](_0x5ed296['model'],_0x4bbffc=>{const _0x22c6d8=nn(_0x5ed296['model']);return null!==_0x22c6d8?_0x3e9ec8(_0x4bbffc,_0x22c6d8):_0x4a2ec7(_0x4bbffc,_0x5ed296[_0x210c('0xe')]);});function _0x3e9ec8(_0x28d51d,_0x1d81b2){return _0x450813(_0x3f3f7a,_0x210c('0x0'),[_0x28d51d,_0x1d81b2]);}function _0x4a2ec7(_0x2d756a,_0x2ee041){return _0x450813(_0x3f3f7a,_0x210c('0x20'),[_0x2d756a,_0x2ee041]);}_0x3719b4[_0x210c('0x1f')][_0x210c('0x13')](_0x2432a5=>{const {type:_0x78c45d,data:_0x3c5cdc}=_0x2432a5;if(_0x210c('0xd')==_0x78c45d&&_0x3c5cdc&&_0x210c('0x16')==_0x3c5cdc[_0x210c('0xb')]){const _0x5e310f=_0x3c5cdc[_0x210c('0x9')][0x0]['value'],_0x5dfc22=nn(_0x5e310f);if(null!==_0x5dfc22)return{'type':_0x210c('0x19'),'content':_0x450813(_0x3f3f7a,_0x210c('0xf'),_0x3e9ec8(0x1,_0x5dfc22))};const _0x37a088=_0x1c27fe[_0x210c('0x3')](_0x2b430e=>_0x2b430e['model']===_0x5e310f)['title'];return{'type':'format','content':_0x450813(_0x3f3f7a,_0x210c('0xf'),_0x4a2ec7(0x1,_0x37a088))};}});}}function nn(_0x2acd21){const _0x7e66eb=_0x2acd21['match'](/^heading(\d+)$/);return _0x7e66eb?_0x7e66eb[0x1]:null;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1fdd=['value','commandName','FORMAT_HIGHLIGHT','change','*Set\x20highlight:*\x20%0','highlight','getRanges','backward','document','get','markInlineFormat','afterInit','find','format','model','hasAttribute','HighlightEditing','isCollapsed','_descriptionFactory','getFirstPosition','plugins','title','locale','commandParams','enableCommand','createRange','toLowerCase','item','push','editor','TrackChangesEditing','has','selection'];(function(_0x5353cc,_0x1fdd92){const _0x4c4bca=function(_0x41c8b3){while(--_0x41c8b3){_0x5353cc['push'](_0x5353cc['shift']());}};_0x4c4bca(++_0x1fdd92);}(_0x1fdd,0x1c2));const _0x4c4b=function(_0x5353cc,_0x1fdd92){_0x5353cc=_0x5353cc-0x0;let _0x4c4bca=_0x1fdd[_0x5353cc];return _0x4c4bca;};import{Plugin as _0x377050}from'ckeditor5/src/core';import{getTranslation as _0x2bd1b5}from'../utils/common-translations';import{getRangesWithAttribute as _0x1e94dc}from'./utils';export default class K extends _0x377050{[_0x4c4b('0x17')](){const _0x3ae7c9=this[_0x4c4b('0x8')];if(!_0x3ae7c9[_0x4c4b('0x20')][_0x4c4b('0xa')](_0x4c4b('0x1c')))return;const _0x4bb78a=_0x3ae7c9[_0x4c4b('0x20')][_0x4c4b('0x15')](_0x4c4b('0x9'));_0x4bb78a[_0x4c4b('0x3')]('highlight',(_0x2bb77e,_0x486f49={})=>{const _0x5422b1=_0x3ae7c9[_0x4c4b('0x1a')][_0x4c4b('0x14')][_0x4c4b('0xb')],_0x25e877=_0x5422b1['getAttribute'](_0x4c4b('0x11'));let _0x55527a=_0x486f49[_0x4c4b('0xc')],_0x714d0=[];if(_0x5422b1[_0x4c4b('0x1d')]){const _0x35ffa9=_0x5422b1[_0x4c4b('0x1f')]();if(!_0x5422b1[_0x4c4b('0x1b')](_0x4c4b('0x11')))return void _0x2bb77e(_0x486f49);{const _0x22a093=_0x52003e=>_0x52003e[_0x4c4b('0x6')]['getAttribute'](_0x4c4b('0x11'))===_0x25e877,_0x168e2a=_0x35ffa9['getLastMatchingPosition'](_0x22a093,{'direction':_0x4c4b('0x13')}),_0x4e62de=_0x35ffa9['getLastMatchingPosition'](_0x22a093);_0x714d0=[_0x3ae7c9['model'][_0x4c4b('0x4')](_0x168e2a,_0x4e62de)],_0x55527a==_0x25e877&&(_0x55527a=null);}}else for(const _0x4267aa of _0x5422b1[_0x4c4b('0x12')]())_0x55527a?_0x714d0[_0x4c4b('0x7')](_0x4267aa):_0x714d0[_0x4c4b('0x7')](..._0x1e94dc(_0x4c4b('0x11'),_0x4267aa,_0x3ae7c9[_0x4c4b('0x1a')]));_0x3ae7c9['model'][_0x4c4b('0xf')](()=>{for(const _0x3ef3bf of _0x714d0)_0x4bb78a[_0x4c4b('0x16')](_0x3ef3bf,{'commandName':'highlight','commandParams':[{'value':_0x55527a}]});});});const _0x2d491b=_0x3ae7c9[_0x4c4b('0x1')];_0x4bb78a[_0x4c4b('0x1e')]['registerDescriptionCallback'](_0x52bd10=>{const {type:_0x1e6256,data:_0x552f3f}=_0x52bd10;if('formatInline'==_0x1e6256&&_0x552f3f&&_0x4c4b('0x11')==_0x552f3f[_0x4c4b('0xd')]){const _0x2fc2e2=_0x2d491b['t'],_0x2b558a=_0x552f3f[_0x4c4b('0x2')][0x0]['value'];if(_0x2b558a){const _0x255384=_0x3ae7c9['config'][_0x4c4b('0x15')]('highlight.options')[_0x4c4b('0x18')](_0x2aae14=>_0x2aae14['model']==_0x2b558a),_0x1c8d89=_0x2fc2e2(_0x255384[_0x4c4b('0x0')])[_0x4c4b('0x5')]();return{'type':_0x4c4b('0x19'),'content':_0x2bd1b5(_0x2d491b,_0x4c4b('0x10'),_0x1c8d89),'color':{'value':_0x255384['color'],'title':_0x255384[_0x4c4b('0x0')]}};}return{'type':_0x4c4b('0x19'),'content':_0x2bd1b5(_0x2d491b,'*Remove\x20highlight*',_0x2bd1b5(_0x2d491b,_0x4c4b('0xe')))};}});}}
23
+ const _0x19b7=['formatInline','selection','FORMAT_HIGHLIGHT','getLastMatchingPosition','TrackChangesEditing','format','enableCommand','highlight','highlight.options','*Remove\x20highlight*','getFirstPosition','commandParams','hasAttribute','has','markInlineFormat','title','getAttribute','change','toLowerCase','item','find','isCollapsed','afterInit','push','document','locale','model','createRange','plugins','color','backward','*Set\x20highlight:*\x20%0','commandName','config'];(function(_0x20b745,_0x19b7fd){const _0x59b41f=function(_0x354ae2){while(--_0x354ae2){_0x20b745['push'](_0x20b745['shift']());}};_0x59b41f(++_0x19b7fd);}(_0x19b7,0xed));const _0x59b4=function(_0x20b745,_0x19b7fd){_0x20b745=_0x20b745-0x0;let _0x59b41f=_0x19b7[_0x20b745];return _0x59b41f;};import{Plugin as _0x385e66}from'ckeditor5/src/core';import{getTranslation as _0x1d81c3}from'../utils/common-translations';import{getRangesWithAttribute as _0x1130f3}from'./utils';export default class K extends _0x385e66{[_0x59b4('0x17')](){const _0x4e989a=this['editor'];if(!_0x4e989a[_0x59b4('0x1d')][_0x59b4('0xe')]('HighlightEditing'))return;const _0x4a4f5c=_0x4e989a[_0x59b4('0x1d')]['get'](_0x59b4('0x5'));_0x4a4f5c[_0x59b4('0x7')](_0x59b4('0x8'),(_0x2fefc8,_0x485597={})=>{const _0x4bf639=_0x4e989a[_0x59b4('0x1b')][_0x59b4('0x19')][_0x59b4('0x2')],_0x57234f=_0x4bf639[_0x59b4('0x11')](_0x59b4('0x8'));let _0x298463=_0x485597['value'],_0x193031=[];if(_0x4bf639[_0x59b4('0x16')]){const _0x189044=_0x4bf639[_0x59b4('0xb')]();if(!_0x4bf639[_0x59b4('0xd')](_0x59b4('0x8')))return void _0x2fefc8(_0x485597);{const _0x238b67=_0x12d8b2=>_0x12d8b2[_0x59b4('0x14')][_0x59b4('0x11')](_0x59b4('0x8'))===_0x57234f,_0x6c3e4d=_0x189044[_0x59b4('0x4')](_0x238b67,{'direction':_0x59b4('0x1f')}),_0x3e38b7=_0x189044[_0x59b4('0x4')](_0x238b67);_0x193031=[_0x4e989a[_0x59b4('0x1b')][_0x59b4('0x1c')](_0x6c3e4d,_0x3e38b7)],_0x298463==_0x57234f&&(_0x298463=null);}}else for(const _0x173ab9 of _0x4bf639['getRanges']())_0x298463?_0x193031[_0x59b4('0x18')](_0x173ab9):_0x193031[_0x59b4('0x18')](..._0x1130f3(_0x59b4('0x8'),_0x173ab9,_0x4e989a[_0x59b4('0x1b')]));_0x4e989a[_0x59b4('0x1b')][_0x59b4('0x12')](()=>{for(const _0x23d320 of _0x193031)_0x4a4f5c[_0x59b4('0xf')](_0x23d320,{'commandName':'highlight','commandParams':[{'value':_0x298463}]});});});const _0x5ac1df=_0x4e989a[_0x59b4('0x1a')];_0x4a4f5c['_descriptionFactory']['registerDescriptionCallback'](_0x4afc87=>{const {type:_0x1ffe72,data:_0x33ed91}=_0x4afc87;if(_0x59b4('0x1')==_0x1ffe72&&_0x33ed91&&_0x59b4('0x8')==_0x33ed91[_0x59b4('0x21')]){const _0xf82dcf=_0x5ac1df['t'],_0x217e11=_0x33ed91[_0x59b4('0xc')][0x0]['value'];if(_0x217e11){const _0xdd72a9=_0x4e989a[_0x59b4('0x0')]['get'](_0x59b4('0x9'))[_0x59b4('0x15')](_0x58f6d3=>_0x58f6d3['model']==_0x217e11),_0x39f601=_0xf82dcf(_0xdd72a9[_0x59b4('0x10')])[_0x59b4('0x13')]();return{'type':_0x59b4('0x6'),'content':_0x1d81c3(_0x5ac1df,_0x59b4('0x20'),_0x39f601),'color':{'value':_0xdd72a9[_0x59b4('0x1e')],'title':_0xdd72a9[_0x59b4('0x10')]}};}return{'type':_0x59b4('0x6'),'content':_0x1d81c3(_0x5ac1df,_0x59b4('0xa'),_0x1d81c3(_0x5ac1df,_0x59b4('0x3')))};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x365e=['conversion','get','_descriptionFactory','createEmptyElement','horizontalLine','registerElementLabel','createPositionAt','enableCommand','TrackChangesEditing','dataDowncast','addClass','showSuggestionHighlights','has','editor','ELEMENT_HORIZONTAL_LINE','elementToStructure','plugins','insert','locale','for','ck-horizontal-line','createContainerElement','high'];(function(_0x2752c5,_0x365edc){const _0x5b35ee=function(_0x51ed6c){while(--_0x51ed6c){_0x2752c5['push'](_0x2752c5['shift']());}};_0x5b35ee(++_0x365edc);}(_0x365e,0x6e));const _0x5b35=function(_0x2752c5,_0x365edc){_0x2752c5=_0x2752c5-0x0;let _0x5b35ee=_0x365e[_0x2752c5];return _0x5b35ee;};import{Plugin as _0x5a69ce}from'ckeditor5/src/core';import{getTranslation as _0x538a6a}from'../utils/common-translations';export default class Q extends _0x5a69ce{['afterInit'](){const _0x4a0061=this[_0x5b35('0x12')];if(!_0x4a0061['plugins'][_0x5b35('0x11')]('HorizontalLineEditing'))return;_0x4a0061[_0x5b35('0x15')][_0x5b35('0x6')](_0x5b35('0xd'))[_0x5b35('0xc')](_0x5b35('0x9'));const _0x913c25=_0x4a0061[_0x5b35('0x15')]['get'](_0x5b35('0xd')),_0x2fa0b8=_0x4a0061[_0x5b35('0x0')];_0x913c25[_0x5b35('0x7')][_0x5b35('0xa')](_0x5b35('0x9'),_0x55908=>_0x538a6a(_0x2fa0b8,_0x5b35('0x13'),_0x55908)),_0x4a0061[_0x5b35('0x5')][_0x5b35('0x1')](_0x5b35('0xe'))[_0x5b35('0x14')]({'model':'horizontalLine','view':(_0x4d5772,{writer:_0x2eb872,options:_0x412652})=>{if(!_0x412652[_0x5b35('0x10')])return null;const _0x33fedd=_0x2eb872[_0x5b35('0x3')]('div'),_0x34f683=_0x2eb872[_0x5b35('0x8')]('hr');return _0x2eb872[_0x5b35('0xf')](_0x5b35('0x2'),_0x33fedd),_0x2eb872[_0x5b35('0x16')](_0x2eb872[_0x5b35('0xb')](_0x33fedd,0x0),_0x34f683),_0x33fedd;},'converterPriority':_0x5b35('0x4')});}}
23
+ const _0x5bdd=['locale','HorizontalLineEditing','afterInit','createContainerElement','high','ELEMENT_HORIZONTAL_LINE','ck-horizontal-line','registerElementLabel','get','horizontalLine','div','enableCommand','plugins','createEmptyElement','_descriptionFactory','conversion','addClass','createPositionAt','showSuggestionHighlights','TrackChangesEditing'];(function(_0x121ba2,_0x5bdd37){const _0x47df01=function(_0x1ae5e3){while(--_0x1ae5e3){_0x121ba2['push'](_0x121ba2['shift']());}};_0x47df01(++_0x5bdd37);}(_0x5bdd,0xb0));const _0x47df=function(_0x121ba2,_0x5bdd37){_0x121ba2=_0x121ba2-0x0;let _0x47df01=_0x5bdd[_0x121ba2];return _0x47df01;};import{Plugin as _0x3579ae}from'ckeditor5/src/core';import{getTranslation as _0x42f2c6}from'../utils/common-translations';export default class Q extends _0x3579ae{[_0x47df('0x6')](){const _0x3b8f4a=this['editor'];if(!_0x3b8f4a[_0x47df('0x10')]['has'](_0x47df('0x5')))return;_0x3b8f4a[_0x47df('0x10')][_0x47df('0xc')](_0x47df('0x3'))[_0x47df('0xf')](_0x47df('0xd'));const _0x1db136=_0x3b8f4a[_0x47df('0x10')]['get'](_0x47df('0x3')),_0x13a91b=_0x3b8f4a[_0x47df('0x4')];_0x1db136[_0x47df('0x12')][_0x47df('0xb')](_0x47df('0xd'),_0x424385=>_0x42f2c6(_0x13a91b,_0x47df('0x9'),_0x424385)),_0x3b8f4a[_0x47df('0x13')]['for']('dataDowncast')['elementToStructure']({'model':_0x47df('0xd'),'view':(_0x448b14,{writer:_0x5e9319,options:_0x2ef3ad})=>{if(!_0x2ef3ad[_0x47df('0x2')])return null;const _0x38cf26=_0x5e9319[_0x47df('0x7')](_0x47df('0xe')),_0x862ec2=_0x5e9319[_0x47df('0x11')]('hr');return _0x5e9319[_0x47df('0x0')](_0x47df('0xa'),_0x38cf26),_0x5e9319['insert'](_0x5e9319[_0x47df('0x1')](_0x38cf26,0x0),_0x862ec2),_0x38cf26;},'converterPriority':_0x47df('0x8')});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4a38=['element','rawHtml','getSelectedElement','document','getAttribute','HtmlEmbed','ELEMENT_HTML_EMBED','registerDescriptionCallback','value','TrackChangesEditing','plugins','afterInit','editing','commandName','view','htmlEmbed','change','_descriptionFactory','format','has','getCustomProperty','*Change\x20%0\x20content*','get','locale','cancel','selection'];(function(_0x42b759,_0x4a38b3){const _0x15863f=function(_0x421433){while(--_0x421433){_0x42b759['push'](_0x42b759['shift']());}};_0x15863f(++_0x4a38b3);}(_0x4a38,0x17c));const _0x1586=function(_0x42b759,_0x4a38b3){_0x42b759=_0x42b759-0x0;let _0x15863f=_0x4a38[_0x42b759];return _0x15863f;};import{Plugin as _0x353d6f}from'ckeditor5/src/core';import{getTranslation as _0x25804a}from'../utils/common-translations';export default class V extends _0x353d6f{[_0x1586('0x15')](){const _0x5aae62=this['editor'];if(!_0x5aae62[_0x1586('0x14')][_0x1586('0x3')](_0x1586('0xf')))return;const _0x3cadaa=_0x5aae62[_0x1586('0x14')][_0x1586('0x6')]('TrackChangesEditing'),_0x4a06cd=_0x5aae62[_0x1586('0x7')],_0x11b0d4=_0x5aae62[_0x1586('0x16')][_0x1586('0x18')]['document']['selection'];_0x3cadaa[_0x1586('0x1')]['registerElementLabel'](_0x1586('0xb'),_0x21c543=>_0x25804a(_0x4a06cd,_0x1586('0x10'),_0x21c543)),_0x5aae62['plugins'][_0x1586('0x6')](_0x1586('0x13'))['enableCommand'](_0x1586('0x19'),(_0x468501,_0x2b101d)=>{const _0x2accbf=_0x5aae62['model'],_0xae42cc=_0x2accbf[_0x1586('0xd')][_0x1586('0x9')];_0x2accbf[_0x1586('0x0')](()=>{const _0x344016=function(_0x3cc1f1){const _0x4dc9aa=_0x3cc1f1[_0x1586('0xc')]();if(_0x4dc9aa&&_0x4dc9aa['is'](_0x1586('0xa'),_0x1586('0xb')))return _0x3cc1f1[_0x1586('0xc')]();return null;}(_0xae42cc);if(!_0x344016)return void _0x468501(null);const _0x2652ef=_0x344016[_0x1586('0xe')](_0x1586('0x12'))||'';if(void 0x0===_0x2b101d)return;if(_0x2b101d===_0x2652ef)return;_0x3cadaa['markBlockFormat'](_0x344016,{'commandName':_0x1586('0x19'),'commandParams':[_0x2b101d]}),_0x11b0d4[_0x1586('0xc')]()[_0x1586('0x4')]('rawHtmlApi')[_0x1586('0x8')]();});}),_0x3cadaa[_0x1586('0x1')][_0x1586('0x11')](_0x866bbe=>{const {data:_0x4f5486}=_0x866bbe;if(_0x4f5486&&_0x1586('0x19')==_0x4f5486[_0x1586('0x17')]){const _0x608902=_0x25804a(_0x4a06cd,'ELEMENT_HTML_EMBED');return{'type':_0x1586('0x2'),'content':_0x25804a(_0x4a06cd,_0x1586('0x5'),_0x608902)};}});}}
23
+ const _0x5888=['*Change\x20%0\x20content*','htmlEmbed','format','ELEMENT_HTML_EMBED','rawHtmlApi','has','registerElementLabel','selection','markBlockFormat','getSelectedElement','get','enableCommand','plugins','getCustomProperty','document','afterInit','HtmlEmbed','editing','value','commandName','TrackChangesEditing','registerDescriptionCallback','cancel','rawHtml','_descriptionFactory','view','getAttribute'];(function(_0x5dfe11,_0x58886e){const _0xbf2966=function(_0x3a7dcd){while(--_0x3a7dcd){_0x5dfe11['push'](_0x5dfe11['shift']());}};_0xbf2966(++_0x58886e);}(_0x5888,0x1ef));const _0xbf29=function(_0x5dfe11,_0x58886e){_0x5dfe11=_0x5dfe11-0x0;let _0xbf2966=_0x5888[_0x5dfe11];return _0xbf2966;};import{Plugin as _0x3a9959}from'ckeditor5/src/core';import{getTranslation as _0x2b2008}from'../utils/common-translations';export default class V extends _0x3a9959{[_0xbf29('0x6')](){const _0x5aed86=this['editor'];if(!_0x5aed86[_0xbf29('0x3')][_0xbf29('0x17')](_0xbf29('0x7')))return;const _0x4d3897=_0x5aed86[_0xbf29('0x3')][_0xbf29('0x1')](_0xbf29('0xb')),_0x251f25=_0x5aed86['locale'],_0xd46466=_0x5aed86[_0xbf29('0x8')][_0xbf29('0x10')][_0xbf29('0x5')]['selection'];_0x4d3897[_0xbf29('0xf')][_0xbf29('0x18')]('rawHtml',_0x138f55=>_0x2b2008(_0x251f25,_0xbf29('0x15'),_0x138f55)),_0x5aed86[_0xbf29('0x3')]['get'](_0xbf29('0xb'))[_0xbf29('0x2')]('htmlEmbed',(_0x1b0494,_0x49983e)=>{const _0x4d1291=_0x5aed86['model'],_0x4e8cf6=_0x4d1291[_0xbf29('0x5')][_0xbf29('0x19')];_0x4d1291['change'](()=>{const _0x50319b=function(_0x88d3f7){const _0x3907d9=_0x88d3f7['getSelectedElement']();if(_0x3907d9&&_0x3907d9['is']('element',_0xbf29('0xe')))return _0x88d3f7[_0xbf29('0x0')]();return null;}(_0x4e8cf6);if(!_0x50319b)return void _0x1b0494(null);const _0x1cf553=_0x50319b[_0xbf29('0x11')](_0xbf29('0x9'))||'';if(void 0x0===_0x49983e)return;if(_0x49983e===_0x1cf553)return;_0x4d3897[_0xbf29('0x1a')](_0x50319b,{'commandName':_0xbf29('0x13'),'commandParams':[_0x49983e]}),_0xd46466[_0xbf29('0x0')]()[_0xbf29('0x4')](_0xbf29('0x16'))[_0xbf29('0xd')]();});}),_0x4d3897[_0xbf29('0xf')][_0xbf29('0xc')](_0xc8b0c8=>{const {data:_0x757236}=_0xc8b0c8;if(_0x757236&&_0xbf29('0x13')==_0x757236[_0xbf29('0xa')]){const _0x3a9f4a=_0x2b2008(_0x251f25,_0xbf29('0x15'));return{'type':_0xbf29('0x14'),'content':_0x2b2008(_0x251f25,_0xbf29('0x12'),_0x3a9f4a)};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1eaa=['author','commands','nodeBefore','registerDescriptionCallback','discard','chain','imageInline','name','isBefore','toLowerCase','end','_descriptionFactory','nodeAfter','normalizedStyles','caption','head','markInlineFormat','imageCaption','selection','registerElementLabel','getCaptionFromImageModelElement','element','getFirstRange','document','get','TrackChangesEditing','has','FORMAT_SIDE_IMAGE','createRange','toNext','imageBlock','convertInlineImageToBlock','differ','ImageCaptionEditing','isBlockImage','newValue','fromPosition','registerPostFixer','filter','width','getSuggestion','forward','ImageTextAlternativeEditing','ImageStyleEditing','Users','_findSuggestions','imageTextAlternative','ImageInlineEditing','subType','change','imageTypeInline','isIntersecting','_splitMarkerName','side','imageStyle','convertBlockImageToInline','editor','join','refresh','plugins','Inline\x20image\x20to\x20block\x20image','imageStylePreApply','format','from','getChangedMarkers','getNearestSelectionRange','value','newRange','getSuggestions','createRangeOn','ImageBlockEditing','isInContent','accept','*Set\x20image\x20width:*\x20%0','model','schema','forceDefaultExecution','toggleImageCaption','uploadImage','insertion','commandName','ELEMENT_CAPTION','registerCustomCallback','_suggestionFactory','isEqual','ImageCaptionUtils','shouldConvertImageType','getContainedElement','getClosestSelectedImageElement','title','getAttribute','toPrevious','alt','isCollapsed','addObject','commandParams','length','type','detach','enableCommand','resizeImage','next','hasSuggestion','start','getSuggestionCallback','imageStylePostApply','findIndex','formatInline','discardSuggestion','previous','locale','markBlockFormat','ImageUtils','markInsertion','imageTypeBlock','formatBlock'];(function(_0x48205c,_0x1eaa95){const _0x1e3c4e=function(_0x21b4ee){while(--_0x21b4ee){_0x48205c['push'](_0x48205c['shift']());}};_0x1e3c4e(++_0x1eaa95);}(_0x1eaa,0x76));const _0x1e3c=function(_0x48205c,_0x1eaa95){_0x48205c=_0x48205c-0x0;let _0x1e3c4e=_0x1eaa[_0x48205c];return _0x1e3c4e;};import{Plugin as _0x3e3191}from'ckeditor5/src/core';import{LivePosition as _0x3eb977}from'ckeditor5/src/engine';import{uid as _0x351312}from'ckeditor5/src/utils';import{getTranslation as _0x3a570e}from'../utils/common-translations';export default class X extends _0x3e3191{['afterInit'](){const _0x3ce61f=this[_0x1e3c('0x36')];if(!_0x3ce61f[_0x1e3c('0x39')][_0x1e3c('0x18')]('ImageEditing'))return;const _0x4df873=_0x3ce61f[_0x1e3c('0x39')][_0x1e3c('0x16')](_0x1e3c('0x17')),_0x514d99=_0x3ce61f['plugins'][_0x1e3c('0x16')](_0x1e3c('0x6e')),_0x3e69c4={},_0x47e472=_0x3ce61f[_0x1e3c('0x6c')];if(_0x4df873['enableCommand']('insertImage'),_0x4df873[_0x1e3c('0x9')][_0x1e3c('0x11')](_0x1e3c('0x1c'),_0x2286af=>_0x3a570e(_0x47e472,'ELEMENT_IMAGE',_0x2286af)),_0x4df873['_descriptionFactory'][_0x1e3c('0x11')](_0x1e3c('0x4'),_0x20eb0d=>_0x3a570e(_0x47e472,'ELEMENT_INLINE_IMAGE',_0x20eb0d)),_0x4df873[_0x1e3c('0x9')][_0x1e3c('0x11')](_0x1e3c('0xc'),()=>_0x3a570e(_0x47e472,_0x1e3c('0x4f'))),_0x3ce61f['plugins'][_0x1e3c('0x18')]('ImageUploadEditing')&&_0x4df873[_0x1e3c('0x61')](_0x1e3c('0x4c')),_0x3ce61f['plugins'][_0x1e3c('0x18')](_0x1e3c('0x44'))&&_0x3ce61f[_0x1e3c('0x39')][_0x1e3c('0x18')](_0x1e3c('0x2d'))&&(_0x4df873[_0x1e3c('0x61')]('imageTypeInline',(_0x10829f,_0x251408)=>{const _0x3c0603=_0x514d99['getClosestSelectedImageElement'](_0x3ce61f[_0x1e3c('0x48')]['document']['selection']);_0x3ce61f['model'][_0x1e3c('0x2f')](()=>{_0x4df873[_0x1e3c('0x6d')](_0x3c0603,{'commandName':_0x1e3c('0x30'),'commandParams':[_0x251408]},[],_0x1e3c('0x35'));});}),_0x4df873[_0x1e3c('0x61')]('imageTypeBlock',(_0x483c52,_0x5e4ff0)=>{_0x3ce61f[_0x1e3c('0x48')]['change'](_0x2392d9=>{let _0x423cc0=_0x514d99[_0x1e3c('0x56')](_0x3ce61f[_0x1e3c('0x48')][_0x1e3c('0x15')][_0x1e3c('0x10')]),_0x33b908=_0x2392d9[_0x1e3c('0x43')](_0x423cc0);const _0x3d20f1=_0x3eb977[_0x1e3c('0x22')](_0x33b908['start'],_0x1e3c('0x59')),_0x32f62a=_0x3eb977[_0x1e3c('0x22')](_0x33b908[_0x1e3c('0x8')],_0x1e3c('0x1b'));_0x4df873[_0x1e3c('0x4a')](()=>_0x483c52(_0x5e4ff0)),_0x423cc0=_0x514d99['getClosestSelectedImageElement'](_0x3ce61f[_0x1e3c('0x48')][_0x1e3c('0x15')][_0x1e3c('0x10')]),_0x33b908=_0x2392d9[_0x1e3c('0x43')](_0x423cc0);const _0x4bb953=_0x2392d9[_0x1e3c('0x1a')](_0x3d20f1,_0x32f62a);_0x3d20f1[_0x1e3c('0x60')](),_0x32f62a[_0x1e3c('0x60')](),_0x4df873[_0x1e3c('0x6d')](_0x423cc0,{'commandName':_0x1e3c('0x30'),'commandParams':[]},[],_0x1e3c('0x1d')),_0x4bb953[_0x1e3c('0x65')][_0x1e3c('0x6')](_0x33b908['start'])&&_0x4df873[_0x1e3c('0x6f')](_0x2392d9[_0x1e3c('0x1a')](_0x4bb953[_0x1e3c('0x65')],_0x33b908[_0x1e3c('0x65')]),_0x1e3c('0x1d')),_0x33b908[_0x1e3c('0x8')][_0x1e3c('0x6')](_0x4bb953[_0x1e3c('0x8')])&&_0x4df873['markInsertion'](_0x2392d9[_0x1e3c('0x1a')](_0x33b908['end'],_0x4bb953[_0x1e3c('0x8')]),_0x1e3c('0x1d'));});}),_0x4df873[_0x1e3c('0x51')][_0x1e3c('0x50')]('formatBlock',_0x1e3c('0x1d'),_0x1e3c('0x37'),()=>{}),_0x4df873['_suggestionFactory'][_0x1e3c('0x50')](_0x1e3c('0x71'),_0x1e3c('0x1d'),'accept',()=>{}),_0x4df873['_suggestionFactory'][_0x1e3c('0x50')](_0x1e3c('0x71'),_0x1e3c('0x1d'),'discard',_0x4df873['_suggestionFactory'][_0x1e3c('0x66')]('formatBlock','',_0x1e3c('0x46'))),_0x4df873[_0x1e3c('0x51')][_0x1e3c('0x50')](_0x1e3c('0x4d'),_0x1e3c('0x1d'),_0x1e3c('0x37'),()=>{}),_0x4df873['_suggestionFactory'][_0x1e3c('0x50')]('insertion',_0x1e3c('0x1d'),'discard',([_0x367d35])=>{const _0x9e36ed=_0x4df873['_suggestionFactory']['getSuggestionCallback'](_0x1e3c('0x4d'),'',_0x1e3c('0x2'));let _0x3a116b=_0x367d35['start'],_0x17b934=_0x367d35[_0x1e3c('0x8')];const _0x17f129=_0x3ce61f[_0x1e3c('0x48')]['schema'][_0x1e3c('0x3f')](_0x3a116b,'backward'),_0x45e99f=_0x3ce61f[_0x1e3c('0x48')][_0x1e3c('0x49')][_0x1e3c('0x3f')](_0x17b934,_0x1e3c('0x27'));_0x17f129[_0x1e3c('0x5b')]&&(_0x3a116b=_0x17f129[_0x1e3c('0x65')]),_0x45e99f[_0x1e3c('0x5b')]&&(_0x17b934=_0x45e99f[_0x1e3c('0x8')]),_0x9e36ed([_0x3ce61f[_0x1e3c('0x48')][_0x1e3c('0x1a')](_0x3a116b,_0x17b934)]);}),_0x4df873[_0x1e3c('0x51')][_0x1e3c('0x50')](_0x1e3c('0x71'),_0x1e3c('0x1d'),'chain',_0x551d3e),_0x4df873[_0x1e3c('0x51')]['registerCustomCallback'](_0x1e3c('0x4d'),_0x1e3c('0x1d'),_0x1e3c('0x3'),_0x551d3e)),_0x3ce61f[_0x1e3c('0x39')]['has'](_0x1e3c('0x1f'))&&(_0x4df873[_0x1e3c('0x61')](_0x1e3c('0x4b'),(_0x1b3353,_0x380835)=>{const _0x2777dc=_0x3ce61f['plugins'][_0x1e3c('0x16')](_0x1e3c('0x53'));let _0x4b0dea=_0x514d99['getClosestSelectedImageElement'](_0x3ce61f[_0x1e3c('0x48')]['document'][_0x1e3c('0x10')]),_0x879d1f=_0x2777dc[_0x1e3c('0x12')](_0x4b0dea);_0x3ce61f['model'][_0x1e3c('0x2f')](()=>{if(_0x879d1f)return void _0x4df873['markDeletion'](_0x3ce61f['model'][_0x1e3c('0x43')](_0x879d1f));const _0x4800de=_0x514d99[_0x1e3c('0x20')](_0x4b0dea);_0x1b3353(_0x380835),_0x4b0dea=_0x514d99['getClosestSelectedImageElement'](_0x3ce61f[_0x1e3c('0x48')][_0x1e3c('0x15')][_0x1e3c('0x10')]),_0x879d1f=_0x2777dc[_0x1e3c('0x12')](_0x4b0dea),_0x4df873[_0x1e3c('0x6f')](_0x3ce61f[_0x1e3c('0x48')]['createRangeOn'](_0x879d1f),_0x4800de?null:_0x1e3c('0xf'));});}),_0x4df873['_suggestionFactory'][_0x1e3c('0x50')](_0x1e3c('0x4d'),_0x1e3c('0xf'),'chain',_0x551d3e)),_0x3ce61f['plugins']['has']('ImageStyleEditing')){_0x4df873[_0x1e3c('0x61')]('imageStyle',(_0x41aeb7,_0x135ea3)=>{const _0x58f65f=_0x3ce61f[_0x1e3c('0x39')][_0x1e3c('0x16')](_0x1e3c('0x2a'))['me'],_0x102142=_0x3ce61f[_0x1e3c('0x73')][_0x1e3c('0x16')](_0x1e3c('0x34'));let _0x1a7c8d=_0x514d99[_0x1e3c('0x56')](_0x3ce61f[_0x1e3c('0x48')][_0x1e3c('0x15')][_0x1e3c('0x10')]),_0xe51ea3=_0x3ce61f[_0x1e3c('0x48')][_0x1e3c('0x43')](_0x1a7c8d),_0x46abff=_0x102142[_0x1e3c('0x40')];if(_0x46abff==_0x135ea3[_0x1e3c('0x40')])return;const _0x43f49f={'commandName':_0x1e3c('0x34'),'commandParams':[_0x135ea3],'formatGroupId':_0x351312()};_0x3ce61f['model'][_0x1e3c('0x2f')](()=>{if(_0x4df873[_0x1e3c('0x42')]()[_0x1e3c('0x24')](_0x47eb48=>_0x47eb48['isInContent']&&_0x58f65f==_0x47eb48[_0x1e3c('0x72')]&&('formatBlock'==_0x47eb48[_0x1e3c('0x5f')]||_0x1e3c('0x69')==_0x47eb48['type'])&&(_0x1e3c('0x3b')==_0x47eb48['subType']||_0x1e3c('0x67')==_0x47eb48[_0x1e3c('0x2e')])&&_0x47eb48[_0x1e3c('0x14')]()['isEqual'](_0xe51ea3))['forEach'](_0x35921e=>_0x4df873[_0x1e3c('0x6a')](_0x35921e[_0x1e3c('0xd')])),_0x1a7c8d=_0x514d99[_0x1e3c('0x56')](_0x3ce61f[_0x1e3c('0x48')]['document'][_0x1e3c('0x10')]),_0xe51ea3=_0x3ce61f['model'][_0x1e3c('0x43')](_0x1a7c8d),_0x102142[_0x1e3c('0x38')](),_0x3ce61f[_0x1e3c('0x73')][_0x1e3c('0x16')]('imageTypeInline')[_0x1e3c('0x38')](),_0x3ce61f['commands'][_0x1e3c('0x16')](_0x1e3c('0x70'))[_0x1e3c('0x38')](),_0x46abff=_0x102142['value'],_0x46abff!=_0x135ea3[_0x1e3c('0x40')])return _0x514d99['isInlineImage'](_0x1a7c8d)&&_0x102142[_0x1e3c('0x54')](_0x135ea3[_0x1e3c('0x40')],_0x1a7c8d)?(_0x41aeb7(_0x135ea3),_0x1a7c8d=_0x514d99[_0x1e3c('0x56')](_0x3ce61f[_0x1e3c('0x48')]['document'][_0x1e3c('0x10')]),void _0x4df873['markBlockFormat'](_0x1a7c8d,{..._0x43f49f,'commandReversedParams':[{'value':_0x46abff||null}]},[],_0x1e3c('0x3b'))):void(_0x514d99[_0x1e3c('0x20')](_0x1a7c8d)?_0x4df873['markBlockFormat'](_0x1a7c8d,_0x43f49f,[],_0x1e3c('0x67')):_0x4df873[_0x1e3c('0xe')](_0xe51ea3,_0x43f49f,'imageStylePostApply'));});});for(const _0x344416 of _0x3ce61f[_0x1e3c('0x39')][_0x1e3c('0x16')](_0x1e3c('0x29'))[_0x1e3c('0xb')])_0x3e69c4[_0x344416[_0x1e3c('0x5')]]=_0x344416[_0x1e3c('0x57')][_0x1e3c('0x7')]();_0x4df873[_0x1e3c('0x51')][_0x1e3c('0x50')](_0x1e3c('0x71'),_0x1e3c('0x3b'),_0x1e3c('0x37'),()=>{}),_0x4df873[_0x1e3c('0x51')][_0x1e3c('0x50')](_0x1e3c('0x71'),_0x1e3c('0x67'),_0x1e3c('0x37'),()=>{}),_0x4df873[_0x1e3c('0x51')][_0x1e3c('0x50')](_0x1e3c('0x69'),_0x1e3c('0x67'),'join',()=>{}),_0x4df873[_0x1e3c('0x51')][_0x1e3c('0x50')]('formatBlock',_0x1e3c('0x3b'),'accept',()=>{}),_0x4df873['_suggestionFactory'][_0x1e3c('0x50')](_0x1e3c('0x71'),_0x1e3c('0x3b'),_0x1e3c('0x2'),(_0x28ab33,_0x20590e)=>{_0x4df873[_0x1e3c('0x51')][_0x1e3c('0x66')](_0x1e3c('0x71'),'',_0x1e3c('0x46'))(_0x28ab33,{'commandName':_0x20590e[_0x1e3c('0x4e')],'commandParams':_0x20590e['commandReversedParams']});}),_0x4df873[_0x1e3c('0x51')][_0x1e3c('0x50')](_0x1e3c('0x71'),_0x1e3c('0x3b'),'chain',_0x551d3e);}const _0x4bd742=[{'type':_0x1e3c('0x71'),'subType':_0x1e3c('0x3b')},{'type':_0x1e3c('0x4d'),'subType':_0x1e3c('0xf')},{'type':_0x1e3c('0x71'),'subType':'convertInlineImageToBlock'},{'type':'insertion','subType':_0x1e3c('0x1d')}];function _0x4661ca(_0x668e39,_0x4383e6){const _0x189788=_0x4bd742['findIndex'](({type:_0x11bc80,subType:_0x31cc08})=>_0x668e39[_0x1e3c('0x5f')]==_0x11bc80&&_0x668e39[_0x1e3c('0x2e')]==_0x31cc08),_0x52c9c3=_0x4bd742[_0x1e3c('0x68')](({type:_0x5ba4f0,subType:_0x1f7e28})=>_0x4383e6[_0x1e3c('0x5f')]==_0x5ba4f0&&_0x4383e6['subType']==_0x1f7e28);if(_0x189788<0x0||_0x52c9c3<0x0)return!0x1;const _0x42233d=_0x668e39[_0x1e3c('0x14')](),_0x5ca657=_0x4383e6['getFirstRange']();if((0x0==_0x189788||0x1==_0x189788)&&0x2==_0x52c9c3&&_0x42233d[_0x1e3c('0x31')](_0x5ca657))return!0x0;if(0x2==_0x189788&&0x3==_0x52c9c3){const _0x336c35=_0x4df873[_0x1e3c('0x2b')](_0x42233d,_0x1e3c('0x4d'))['filter'](({suggestion:_0x591ea0,meta:_0x1efce9})=>_0x1efce9['isOwn']&&_0x1e3c('0x1d')==_0x591ea0[_0x1e3c('0x2e')]);if(_0x336c35[_0x1e3c('0x5e')]>0x1&&_0x5ca657[_0x1e3c('0x8')][_0x1e3c('0x52')](_0x42233d[_0x1e3c('0x65')]))return!0x0;if(0x1==_0x336c35[_0x1e3c('0x5e')]&&(_0x42233d['start'][_0x1e3c('0x52')](_0x5ca657[_0x1e3c('0x8')])||_0x42233d[_0x1e3c('0x8')][_0x1e3c('0x52')](_0x5ca657[_0x1e3c('0x65')])))return!0x0;}if(0x3==_0x189788&&0x3==_0x52c9c3&&_0x42233d['start'][_0x1e3c('0x6')](_0x5ca657[_0x1e3c('0x65')])){const _0x47ef99=_0x42233d[_0x1e3c('0x8')][_0x1e3c('0xa')],_0x45bc34=_0x5ca657[_0x1e3c('0x65')][_0x1e3c('0x0')];return _0x514d99[_0x1e3c('0x20')](_0x47ef99)&&_0x47ef99===_0x45bc34;}return!0x1;}function _0x551d3e(_0x3faeed,_0x233a2c){return _0x4661ca(_0x3faeed,_0x233a2c)?[_0x3faeed,_0x233a2c]:_0x4661ca(_0x233a2c,_0x3faeed)?[_0x233a2c,_0x3faeed]:null;}_0x3ce61f[_0x1e3c('0x48')][_0x1e3c('0x15')][_0x1e3c('0x23')](()=>{let _0x2872fa=!0x1;const _0x4609cd=Array[_0x1e3c('0x3d')](_0x3ce61f[_0x1e3c('0x48')]['document'][_0x1e3c('0x1e')][_0x1e3c('0x3e')]());for(const {name:_0x12f2e1,data:_0x5ecf1f}of _0x4609cd){const {group:_0x48e264,type:_0x56c715,subType:_0x4446ab,id:_0x3fbfe4}=_0x4df873[_0x1e3c('0x32')](_0x12f2e1);if('suggestion'==_0x48e264&&_0x4df873[_0x1e3c('0x64')](_0x3fbfe4)){if(_0x1e3c('0x71')==_0x56c715&&(_0x1e3c('0x3b')==_0x4446ab||_0x1e3c('0x67')==_0x4446ab)){const _0x3716d9=_0x4df873[_0x1e3c('0x26')](_0x3fbfe4);if(_0x5ecf1f[_0x1e3c('0x41')]){const _0x482f0c=_0x3716d9[_0x1e3c('0x14')]()[_0x1e3c('0x55')]();if(_0x514d99['isBlockImage'](_0x482f0c))continue;_0x4df873[_0x1e3c('0x6a')](_0x3716d9),_0x2872fa=!0x0;}}if(_0x1e3c('0x4d')==_0x56c715&&_0x1e3c('0xf')==_0x4446ab&&!_0x5ecf1f[_0x1e3c('0x41')]){const _0x2df57b=_0x4df873[_0x1e3c('0x26')](_0x3fbfe4);_0x2df57b[_0x1e3c('0x63')]&&_0x2df57b[_0x1e3c('0x63')][_0x1e3c('0x45')]&&(_0x4df873[_0x1e3c('0x6a')](_0x2df57b[_0x1e3c('0x63')]),_0x2872fa=!0x0);}}}return _0x2872fa;}),_0x3ce61f[_0x1e3c('0x39')][_0x1e3c('0x18')]('ImageResize')&&_0x4df873[_0x1e3c('0x61')](_0x1e3c('0x62'),(_0x4bccd0,_0x46aebb)=>{const _0x4395aa=_0x514d99[_0x1e3c('0x56')](_0x3ce61f[_0x1e3c('0x48')][_0x1e3c('0x15')][_0x1e3c('0x10')]);_0x4395aa[_0x1e3c('0x58')](_0x1e3c('0x25'))!=_0x46aebb[_0x1e3c('0x25')]&&_0x3ce61f[_0x1e3c('0x48')][_0x1e3c('0x2f')](()=>{_0x4df873[_0x1e3c('0x6d')](_0x4395aa,{'commandName':_0x1e3c('0x62'),'commandParams':[_0x46aebb]});});}),_0x3ce61f[_0x1e3c('0x39')][_0x1e3c('0x18')](_0x1e3c('0x28'))&&_0x4df873[_0x1e3c('0x61')](_0x1e3c('0x2c'),(_0xb94a03,_0x2fdffe)=>{const _0x15769e=_0x514d99['getClosestSelectedImageElement'](_0x3ce61f[_0x1e3c('0x48')][_0x1e3c('0x15')]['selection']);(_0x15769e['hasAttribute']('alt')?_0x15769e[_0x1e3c('0x58')](_0x1e3c('0x5a')):'')!=_0x2fdffe[_0x1e3c('0x21')]&&_0x3ce61f[_0x1e3c('0x48')][_0x1e3c('0x2f')](()=>{_0x4df873[_0x1e3c('0x6d')](_0x15769e,{'commandName':_0x1e3c('0x2c'),'commandParams':[_0x2fdffe]});});}),_0x4df873['_descriptionFactory'][_0x1e3c('0x1')](_0x31e72b=>{if(!!_0x4bd742['find'](({type:_0x391aab,subType:_0x10aa14})=>_0x31e72b['type']==_0x391aab&&_0x31e72b[_0x1e3c('0x2e')]==_0x10aa14))return _0x31e72b[_0x1e3c('0x6b')]?{}:void 0x0;}),_0x4df873[_0x1e3c('0x9')][_0x1e3c('0x1')](_0x547bed=>{if(_0x1e3c('0x4d')==_0x547bed['type']||'deletion'==_0x547bed[_0x1e3c('0x5f')]){const _0xb5dcdc=_0x547bed[_0x1e3c('0x55')]();if(_0xb5dcdc&&_0xb5dcdc['is'](_0x1e3c('0x13'),_0x1e3c('0xc')))return{'type':'insertion'==_0x547bed[_0x1e3c('0x5f')]?_0x1e3c('0x5c'):'removeObject','element':_0xb5dcdc,'quantity':0x1};}}),_0x4df873['_descriptionFactory'][_0x1e3c('0x1')](_0x888a7d=>'formatBlock'==_0x888a7d[_0x1e3c('0x5f')]&&'convertInlineImageToBlock'==_0x888a7d[_0x1e3c('0x2e')]?{'type':_0x1e3c('0x3c'),'content':_0x1e3c('0x3a')}:_0x1e3c('0x71')==_0x888a7d[_0x1e3c('0x5f')]&&_0x1e3c('0x35')==_0x888a7d[_0x1e3c('0x2e')]?{'type':_0x1e3c('0x3c'),'content':'Block\x20image\x20to\x20inline\x20image'}:void 0x0),_0x4df873['_descriptionFactory']['registerDescriptionCallback'](_0x86aef4=>{const {data:_0x404b55}=_0x86aef4;if(_0x404b55){if(_0x1e3c('0x34')==_0x404b55[_0x1e3c('0x4e')]){const _0x187db7=_0x404b55[_0x1e3c('0x5d')][0x0][_0x1e3c('0x40')];return _0x341561(_0x1e3c('0x33')===_0x187db7?_0x3a570e(_0x47e472,_0x1e3c('0x19')):_0x3e69c4[_0x187db7]||_0x187db7);}if(_0x1e3c('0x2c')==_0x404b55[_0x1e3c('0x4e')]){const _0x2650dc=_0x404b55['commandParams'][0x0][_0x1e3c('0x21')];return _0x2650dc?{'type':_0x1e3c('0x3c'),'content':_0x3a570e(_0x47e472,'*Set\x20image\x20text\x20alternative:*\x20%0','\x22'+_0x2650dc+'\x22')}:{'type':_0x1e3c('0x3c'),'content':_0x3a570e(_0x47e472,'*Remove\x20image\x20text\x20alternative*')};}if(_0x1e3c('0x62')==_0x404b55[_0x1e3c('0x4e')]){const _0x264ee7=_0x404b55[_0x1e3c('0x5d')][0x0]['width'];return _0x264ee7?{'type':_0x1e3c('0x3c'),'content':_0x3a570e(_0x47e472,_0x1e3c('0x47'),_0x264ee7)}:{'type':_0x1e3c('0x3c'),'content':_0x3a570e(_0x47e472,'*Reset\x20image\x20width*')};}}function _0x341561(_0x316127){return{'type':_0x1e3c('0x3c'),'content':_0x3a570e(_0x47e472,'*Format:*\x20%0',_0x316127)};}});}}
23
+ const _0x656a=['addObject','getFirstRange','imageStylePostApply','Users','isCollapsed','change','start','get','type','ImageTextAlternativeEditing','end','side','ELEMENT_IMAGE','imageBlock','ImageCaptionUtils','imageStyle','resizeImage','*Format:*\x20%0','registerElementLabel','refresh','model','createRangeOn','isBlockImage','convertBlockImageToInline','plugins','toggleImageCaption','document','alt','registerPostFixer','getClosestSelectedImageElement','enableCommand','forceDefaultExecution','ImageCaptionEditing','imageTextAlternative','*Set\x20image\x20text\x20alternative:*\x20%0','isBefore','removeObject','convertInlineImageToBlock','isInlineImage','registerCustomCallback','title','Inline\x20image\x20to\x20block\x20image','imageInline','getSuggestion','previous','markInsertion','ImageBlockEditing','getSuggestionCallback','formatInline','element','selection','_splitMarkerName','markBlockFormat','getAttribute','_descriptionFactory','hasSuggestion','length','join','ImageStyleEditing','getCaptionFromImageModelElement','discardSuggestion','ImageEditing','isOwn','accept','uploadImage','isInContent','find','commandName','markInlineFormat','deletion','insertImage','newRange','formatBlock','subType','nodeAfter','createRange','schema','next','registerDescriptionCallback','getChangedMarkers','filter','_suggestionFactory','ELEMENT_INLINE_IMAGE','commandReversedParams','has','chain','editor','hasAttribute','_findSuggestions','imageCaption','findIndex','getNearestSelectionRange','detach','ImageResize','getContainedElement','toNext','afterInit','forEach','imageTypeInline','caption','isEqual','imageStylePreApply','forward','locale','TrackChangesEditing','format','value','*Remove\x20image\x20text\x20alternative*','discard','isIntersecting','ELEMENT_CAPTION','ImageUploadEditing','suggestion','fromPosition','insertion','commandParams','commands','newValue','width','ImageUtils','markDeletion','imageTypeBlock'];(function(_0x2a45ed,_0x656a2c){const _0x269251=function(_0x389c48){while(--_0x389c48){_0x2a45ed['push'](_0x2a45ed['shift']());}};_0x269251(++_0x656a2c);}(_0x656a,0x115));const _0x2692=function(_0x2a45ed,_0x656a2c){_0x2a45ed=_0x2a45ed-0x0;let _0x269251=_0x656a[_0x2a45ed];return _0x269251;};import{Plugin as _0xd6c239}from'ckeditor5/src/core';import{LivePosition as _0x325c2d}from'ckeditor5/src/engine';import{uid as _0x5665d0}from'ckeditor5/src/utils';import{getTranslation as _0x233f02}from'../utils/common-translations';export default class X extends _0xd6c239{[_0x2692('0x3f')](){const _0xc9247e=this[_0x2692('0x35')];if(!_0xc9247e[_0x2692('0x71')]['has'](_0x2692('0x1c')))return;const _0x122e7a=_0xc9247e[_0x2692('0x71')]['get'](_0x2692('0x47')),_0x67746e=_0xc9247e[_0x2692('0x71')]['get'](_0x2692('0x56')),_0xfd6618={},_0xe6bcce=_0xc9247e[_0x2692('0x46')];if(_0x122e7a[_0x2692('0x77')](_0x2692('0x25')),_0x122e7a[_0x2692('0x15')][_0x2692('0x6b')](_0x2692('0x66'),_0x25babd=>_0x233f02(_0xe6bcce,_0x2692('0x65'),_0x25babd)),_0x122e7a[_0x2692('0x15')][_0x2692('0x6b')](_0x2692('0x9'),_0x1d7f25=>_0x233f02(_0xe6bcce,_0x2692('0x31'),_0x1d7f25)),_0x122e7a[_0x2692('0x15')][_0x2692('0x6b')](_0x2692('0x42'),()=>_0x233f02(_0xe6bcce,_0x2692('0x4d'))),_0xc9247e[_0x2692('0x71')][_0x2692('0x33')](_0x2692('0x4e'))&&_0x122e7a[_0x2692('0x77')](_0x2692('0x1f')),_0xc9247e[_0x2692('0x71')][_0x2692('0x33')](_0x2692('0xd'))&&_0xc9247e[_0x2692('0x71')][_0x2692('0x33')]('ImageInlineEditing')&&(_0x122e7a[_0x2692('0x77')](_0x2692('0x41'),(_0x9c1bcc,_0x4a1996)=>{const _0x20611c=_0x67746e[_0x2692('0x76')](_0xc9247e[_0x2692('0x6d')]['document'][_0x2692('0x11')]);_0xc9247e[_0x2692('0x6d')][_0x2692('0x5e')](()=>{_0x122e7a[_0x2692('0x13')](_0x20611c,{'commandName':'imageTypeInline','commandParams':[_0x4a1996]},[],_0x2692('0x70'));});}),_0x122e7a['enableCommand'](_0x2692('0x58'),(_0x43e2c7,_0x286003)=>{_0xc9247e[_0x2692('0x6d')][_0x2692('0x5e')](_0x23f7a2=>{let _0x5a16f5=_0x67746e['getClosestSelectedImageElement'](_0xc9247e[_0x2692('0x6d')][_0x2692('0x73')][_0x2692('0x11')]),_0x24fc1c=_0x23f7a2[_0x2692('0x6e')](_0x5a16f5);const _0x25028e=_0x325c2d[_0x2692('0x50')](_0x24fc1c[_0x2692('0x5f')],'toPrevious'),_0x567fc2=_0x325c2d['fromPosition'](_0x24fc1c[_0x2692('0x63')],_0x2692('0x3e'));_0x122e7a[_0x2692('0x78')](()=>_0x43e2c7(_0x286003)),_0x5a16f5=_0x67746e[_0x2692('0x76')](_0xc9247e[_0x2692('0x6d')]['document'][_0x2692('0x11')]),_0x24fc1c=_0x23f7a2[_0x2692('0x6e')](_0x5a16f5);const _0x3d5fef=_0x23f7a2[_0x2692('0x2a')](_0x25028e,_0x567fc2);_0x25028e[_0x2692('0x3b')](),_0x567fc2[_0x2692('0x3b')](),_0x122e7a[_0x2692('0x13')](_0x5a16f5,{'commandName':_0x2692('0x41'),'commandParams':[]},[],_0x2692('0x4')),_0x3d5fef[_0x2692('0x5f')][_0x2692('0x2')](_0x24fc1c['start'])&&_0x122e7a[_0x2692('0xc')](_0x23f7a2[_0x2692('0x2a')](_0x3d5fef['start'],_0x24fc1c['start']),'convertInlineImageToBlock'),_0x24fc1c['end'][_0x2692('0x2')](_0x3d5fef['end'])&&_0x122e7a['markInsertion'](_0x23f7a2['createRange'](_0x24fc1c['end'],_0x3d5fef[_0x2692('0x63')]),_0x2692('0x4'));});}),_0x122e7a[_0x2692('0x30')][_0x2692('0x6')]('formatBlock',_0x2692('0x4'),_0x2692('0x18'),()=>{}),_0x122e7a[_0x2692('0x30')]['registerCustomCallback'](_0x2692('0x27'),'convertInlineImageToBlock','accept',()=>{}),_0x122e7a[_0x2692('0x30')][_0x2692('0x6')]('formatBlock',_0x2692('0x4'),'discard',_0x122e7a[_0x2692('0x30')][_0x2692('0xe')]('formatBlock','',_0x2692('0x1e'))),_0x122e7a[_0x2692('0x30')]['registerCustomCallback'](_0x2692('0x51'),'convertInlineImageToBlock',_0x2692('0x18'),()=>{}),_0x122e7a[_0x2692('0x30')][_0x2692('0x6')](_0x2692('0x51'),'convertInlineImageToBlock',_0x2692('0x4b'),([_0x5635bc])=>{const _0x4aed79=_0x122e7a['_suggestionFactory']['getSuggestionCallback'](_0x2692('0x51'),'',_0x2692('0x4b'));let _0x1ca448=_0x5635bc[_0x2692('0x5f')],_0x56056a=_0x5635bc['end'];const _0x40d69a=_0xc9247e['model'][_0x2692('0x2b')]['getNearestSelectionRange'](_0x1ca448,'backward'),_0x3466dc=_0xc9247e[_0x2692('0x6d')][_0x2692('0x2b')][_0x2692('0x3a')](_0x56056a,_0x2692('0x45'));_0x40d69a[_0x2692('0x5d')]&&(_0x1ca448=_0x40d69a['start']),_0x3466dc[_0x2692('0x5d')]&&(_0x56056a=_0x3466dc[_0x2692('0x63')]),_0x4aed79([_0xc9247e[_0x2692('0x6d')][_0x2692('0x2a')](_0x1ca448,_0x56056a)]);}),_0x122e7a[_0x2692('0x30')][_0x2692('0x6')](_0x2692('0x27'),_0x2692('0x4'),'chain',_0x717b),_0x122e7a[_0x2692('0x30')]['registerCustomCallback'](_0x2692('0x51'),_0x2692('0x4'),_0x2692('0x34'),_0x717b)),_0xc9247e['plugins'][_0x2692('0x33')](_0x2692('0x79'))&&(_0x122e7a['enableCommand'](_0x2692('0x72'),(_0x376575,_0x3515b7)=>{const _0x2bd088=_0xc9247e[_0x2692('0x71')]['get'](_0x2692('0x67'));let _0x2302d0=_0x67746e[_0x2692('0x76')](_0xc9247e[_0x2692('0x6d')][_0x2692('0x73')]['selection']),_0x11fb45=_0x2bd088[_0x2692('0x1a')](_0x2302d0);_0xc9247e[_0x2692('0x6d')]['change'](()=>{if(_0x11fb45)return void _0x122e7a[_0x2692('0x57')](_0xc9247e[_0x2692('0x6d')][_0x2692('0x6e')](_0x11fb45));const _0x38d053=_0x67746e[_0x2692('0x6f')](_0x2302d0);_0x376575(_0x3515b7),_0x2302d0=_0x67746e[_0x2692('0x76')](_0xc9247e[_0x2692('0x6d')][_0x2692('0x73')][_0x2692('0x11')]),_0x11fb45=_0x2bd088[_0x2692('0x1a')](_0x2302d0),_0x122e7a['markInsertion'](_0xc9247e[_0x2692('0x6d')]['createRangeOn'](_0x11fb45),_0x38d053?null:_0x2692('0x38'));});}),_0x122e7a['_suggestionFactory']['registerCustomCallback'](_0x2692('0x51'),_0x2692('0x38'),_0x2692('0x34'),_0x717b)),_0xc9247e['plugins'][_0x2692('0x33')](_0x2692('0x19'))){_0x122e7a[_0x2692('0x77')](_0x2692('0x68'),(_0x4bdd32,_0x542756)=>{const _0x269aa8=_0xc9247e[_0x2692('0x71')][_0x2692('0x60')](_0x2692('0x5c'))['me'],_0x571384=_0xc9247e[_0x2692('0x53')][_0x2692('0x60')](_0x2692('0x68'));let _0x398f20=_0x67746e[_0x2692('0x76')](_0xc9247e[_0x2692('0x6d')]['document']['selection']),_0x487636=_0xc9247e['model'][_0x2692('0x6e')](_0x398f20),_0x9fcecc=_0x571384[_0x2692('0x49')];if(_0x9fcecc==_0x542756[_0x2692('0x49')])return;const _0x17f06b={'commandName':'imageStyle','commandParams':[_0x542756],'formatGroupId':_0x5665d0()};_0xc9247e[_0x2692('0x6d')][_0x2692('0x5e')](()=>{if(_0x122e7a['getSuggestions']()['filter'](_0x4e00af=>_0x4e00af[_0x2692('0x20')]&&_0x269aa8==_0x4e00af['author']&&(_0x2692('0x27')==_0x4e00af['type']||_0x2692('0xf')==_0x4e00af[_0x2692('0x61')])&&(_0x2692('0x44')==_0x4e00af[_0x2692('0x28')]||_0x2692('0x5b')==_0x4e00af[_0x2692('0x28')])&&_0x4e00af[_0x2692('0x5a')]()[_0x2692('0x43')](_0x487636))[_0x2692('0x40')](_0x2a55bf=>_0x122e7a[_0x2692('0x1b')](_0x2a55bf['head'])),_0x398f20=_0x67746e[_0x2692('0x76')](_0xc9247e[_0x2692('0x6d')]['document'][_0x2692('0x11')]),_0x487636=_0xc9247e[_0x2692('0x6d')][_0x2692('0x6e')](_0x398f20),_0x571384[_0x2692('0x6c')](),_0xc9247e[_0x2692('0x53')][_0x2692('0x60')]('imageTypeInline')[_0x2692('0x6c')](),_0xc9247e[_0x2692('0x53')]['get'](_0x2692('0x58'))[_0x2692('0x6c')](),_0x9fcecc=_0x571384['value'],_0x9fcecc!=_0x542756[_0x2692('0x49')])return _0x67746e[_0x2692('0x5')](_0x398f20)&&_0x571384['shouldConvertImageType'](_0x542756[_0x2692('0x49')],_0x398f20)?(_0x4bdd32(_0x542756),_0x398f20=_0x67746e['getClosestSelectedImageElement'](_0xc9247e[_0x2692('0x6d')]['document'][_0x2692('0x11')]),void _0x122e7a[_0x2692('0x13')](_0x398f20,{..._0x17f06b,'commandReversedParams':[{'value':_0x9fcecc||null}]},[],'imageStylePreApply')):void(_0x67746e['isBlockImage'](_0x398f20)?_0x122e7a[_0x2692('0x13')](_0x398f20,_0x17f06b,[],_0x2692('0x5b')):_0x122e7a[_0x2692('0x23')](_0x487636,_0x17f06b,_0x2692('0x5b')));});});for(const _0x23ad17 of _0xc9247e[_0x2692('0x71')]['get'](_0x2692('0x19'))['normalizedStyles'])_0xfd6618[_0x23ad17['name']]=_0x23ad17[_0x2692('0x7')]['toLowerCase']();_0x122e7a['_suggestionFactory'][_0x2692('0x6')](_0x2692('0x27'),'imageStylePreApply',_0x2692('0x18'),()=>{}),_0x122e7a[_0x2692('0x30')][_0x2692('0x6')]('formatBlock',_0x2692('0x5b'),_0x2692('0x18'),()=>{}),_0x122e7a[_0x2692('0x30')]['registerCustomCallback'](_0x2692('0xf'),_0x2692('0x5b'),_0x2692('0x18'),()=>{}),_0x122e7a[_0x2692('0x30')][_0x2692('0x6')](_0x2692('0x27'),_0x2692('0x44'),_0x2692('0x1e'),()=>{}),_0x122e7a['_suggestionFactory'][_0x2692('0x6')](_0x2692('0x27'),_0x2692('0x44'),_0x2692('0x4b'),(_0x15ee59,_0x3082c3)=>{_0x122e7a[_0x2692('0x30')]['getSuggestionCallback']('formatBlock','',_0x2692('0x1e'))(_0x15ee59,{'commandName':_0x3082c3['commandName'],'commandParams':_0x3082c3[_0x2692('0x32')]});}),_0x122e7a[_0x2692('0x30')]['registerCustomCallback'](_0x2692('0x27'),'imageStylePreApply',_0x2692('0x34'),_0x717b);}const _0x28848d=[{'type':_0x2692('0x27'),'subType':_0x2692('0x44')},{'type':_0x2692('0x51'),'subType':'imageCaption'},{'type':'formatBlock','subType':_0x2692('0x4')},{'type':_0x2692('0x51'),'subType':_0x2692('0x4')}];function _0x550ec4(_0x4a054f,_0x2074c4){const _0x348040=_0x28848d['findIndex'](({type:_0x133131,subType:_0x5a9a72})=>_0x4a054f[_0x2692('0x61')]==_0x133131&&_0x4a054f['subType']==_0x5a9a72),_0x4dbd5f=_0x28848d[_0x2692('0x39')](({type:_0x217a63,subType:_0x31ba3b})=>_0x2074c4[_0x2692('0x61')]==_0x217a63&&_0x2074c4[_0x2692('0x28')]==_0x31ba3b);if(_0x348040<0x0||_0x4dbd5f<0x0)return!0x1;const _0x1414da=_0x4a054f['getFirstRange'](),_0x2fa480=_0x2074c4[_0x2692('0x5a')]();if((0x0==_0x348040||0x1==_0x348040)&&0x2==_0x4dbd5f&&_0x1414da[_0x2692('0x4c')](_0x2fa480))return!0x0;if(0x2==_0x348040&&0x3==_0x4dbd5f){const _0x2249f1=_0x122e7a[_0x2692('0x37')](_0x1414da,_0x2692('0x51'))[_0x2692('0x2f')](({suggestion:_0x8e4800,meta:_0x8b275a})=>_0x8b275a[_0x2692('0x1d')]&&_0x2692('0x4')==_0x8e4800[_0x2692('0x28')]);if(_0x2249f1[_0x2692('0x17')]>0x1&&_0x2fa480[_0x2692('0x63')]['isEqual'](_0x1414da[_0x2692('0x5f')]))return!0x0;if(0x1==_0x2249f1[_0x2692('0x17')]&&(_0x1414da[_0x2692('0x5f')][_0x2692('0x43')](_0x2fa480['end'])||_0x1414da[_0x2692('0x63')][_0x2692('0x43')](_0x2fa480[_0x2692('0x5f')])))return!0x0;}if(0x3==_0x348040&&0x3==_0x4dbd5f&&_0x1414da[_0x2692('0x5f')][_0x2692('0x2')](_0x2fa480['start'])){const _0x4b7643=_0x1414da[_0x2692('0x63')][_0x2692('0x29')],_0x1b2c9b=_0x2fa480[_0x2692('0x5f')]['nodeBefore'];return _0x67746e['isBlockImage'](_0x4b7643)&&_0x4b7643===_0x1b2c9b;}return!0x1;}function _0x717b(_0x43e1ce,_0x1c6082){return _0x550ec4(_0x43e1ce,_0x1c6082)?[_0x43e1ce,_0x1c6082]:_0x550ec4(_0x1c6082,_0x43e1ce)?[_0x1c6082,_0x43e1ce]:null;}_0xc9247e[_0x2692('0x6d')]['document'][_0x2692('0x75')](()=>{let _0x22d89e=!0x1;const _0x276c5f=Array['from'](_0xc9247e[_0x2692('0x6d')][_0x2692('0x73')]['differ'][_0x2692('0x2e')]());for(const {name:_0x4ca77e,data:_0x5cc2af}of _0x276c5f){const {group:_0x38cf23,type:_0x45d8be,subType:_0x4e1076,id:_0x477eb1}=_0x122e7a[_0x2692('0x12')](_0x4ca77e);if(_0x2692('0x4f')==_0x38cf23&&_0x122e7a[_0x2692('0x16')](_0x477eb1)){if(_0x2692('0x27')==_0x45d8be&&(_0x2692('0x44')==_0x4e1076||_0x2692('0x5b')==_0x4e1076)){const _0x432277=_0x122e7a['getSuggestion'](_0x477eb1);if(_0x5cc2af[_0x2692('0x26')]){const _0x438197=_0x432277[_0x2692('0x5a')]()[_0x2692('0x3d')]();if(_0x67746e[_0x2692('0x6f')](_0x438197))continue;_0x122e7a[_0x2692('0x1b')](_0x432277),_0x22d89e=!0x0;}}if(_0x2692('0x51')==_0x45d8be&&'imageCaption'==_0x4e1076&&!_0x5cc2af['newRange']){const _0x525059=_0x122e7a[_0x2692('0xa')](_0x477eb1);_0x525059['next']&&_0x525059[_0x2692('0x2c')][_0x2692('0x20')]&&(_0x122e7a[_0x2692('0x1b')](_0x525059[_0x2692('0x2c')]),_0x22d89e=!0x0);}}}return _0x22d89e;}),_0xc9247e[_0x2692('0x71')][_0x2692('0x33')](_0x2692('0x3c'))&&_0x122e7a[_0x2692('0x77')](_0x2692('0x69'),(_0x21eba9,_0x3be432)=>{const _0xbe3f47=_0x67746e[_0x2692('0x76')](_0xc9247e[_0x2692('0x6d')]['document'][_0x2692('0x11')]);_0xbe3f47[_0x2692('0x14')](_0x2692('0x55'))!=_0x3be432[_0x2692('0x55')]&&_0xc9247e[_0x2692('0x6d')]['change'](()=>{_0x122e7a[_0x2692('0x13')](_0xbe3f47,{'commandName':_0x2692('0x69'),'commandParams':[_0x3be432]});});}),_0xc9247e[_0x2692('0x71')]['has'](_0x2692('0x62'))&&_0x122e7a[_0x2692('0x77')](_0x2692('0x0'),(_0x421fbe,_0x24b79a)=>{const _0x18ab1a=_0x67746e['getClosestSelectedImageElement'](_0xc9247e[_0x2692('0x6d')][_0x2692('0x73')][_0x2692('0x11')]);(_0x18ab1a[_0x2692('0x36')](_0x2692('0x74'))?_0x18ab1a[_0x2692('0x14')]('alt'):'')!=_0x24b79a['newValue']&&_0xc9247e['model'][_0x2692('0x5e')](()=>{_0x122e7a[_0x2692('0x13')](_0x18ab1a,{'commandName':_0x2692('0x0'),'commandParams':[_0x24b79a]});});}),_0x122e7a[_0x2692('0x15')]['registerDescriptionCallback'](_0x3f2a7c=>{if(!!_0x28848d[_0x2692('0x21')](({type:_0x50364d,subType:_0x3a630d})=>_0x3f2a7c[_0x2692('0x61')]==_0x50364d&&_0x3f2a7c[_0x2692('0x28')]==_0x3a630d))return _0x3f2a7c[_0x2692('0xb')]?{}:void 0x0;}),_0x122e7a[_0x2692('0x15')]['registerDescriptionCallback'](_0x4237fa=>{if(_0x2692('0x51')==_0x4237fa[_0x2692('0x61')]||_0x2692('0x24')==_0x4237fa[_0x2692('0x61')]){const _0x4b813e=_0x4237fa[_0x2692('0x3d')]();if(_0x4b813e&&_0x4b813e['is'](_0x2692('0x10'),'caption'))return{'type':'insertion'==_0x4237fa[_0x2692('0x61')]?_0x2692('0x59'):_0x2692('0x3'),'element':_0x4b813e,'quantity':0x1};}}),_0x122e7a[_0x2692('0x15')][_0x2692('0x2d')](_0xd82ed=>_0x2692('0x27')==_0xd82ed['type']&&_0x2692('0x4')==_0xd82ed[_0x2692('0x28')]?{'type':'format','content':_0x2692('0x8')}:_0x2692('0x27')==_0xd82ed['type']&&_0x2692('0x70')==_0xd82ed[_0x2692('0x28')]?{'type':_0x2692('0x48'),'content':'Block\x20image\x20to\x20inline\x20image'}:void 0x0),_0x122e7a['_descriptionFactory'][_0x2692('0x2d')](_0x44bd0b=>{const {data:_0x42b237}=_0x44bd0b;if(_0x42b237){if(_0x2692('0x68')==_0x42b237[_0x2692('0x22')]){const _0x4c02b5=_0x42b237[_0x2692('0x52')][0x0][_0x2692('0x49')];return _0x195b34(_0x2692('0x64')===_0x4c02b5?_0x233f02(_0xe6bcce,'FORMAT_SIDE_IMAGE'):_0xfd6618[_0x4c02b5]||_0x4c02b5);}if(_0x2692('0x0')==_0x42b237[_0x2692('0x22')]){const _0x482bc1=_0x42b237[_0x2692('0x52')][0x0][_0x2692('0x54')];return _0x482bc1?{'type':'format','content':_0x233f02(_0xe6bcce,_0x2692('0x1'),'\x22'+_0x482bc1+'\x22')}:{'type':'format','content':_0x233f02(_0xe6bcce,_0x2692('0x4a'))};}if(_0x2692('0x69')==_0x42b237[_0x2692('0x22')]){const _0x2f40cd=_0x42b237[_0x2692('0x52')][0x0][_0x2692('0x55')];return _0x2f40cd?{'type':_0x2692('0x48'),'content':_0x233f02(_0xe6bcce,'*Set\x20image\x20width:*\x20%0',_0x2f40cd)}:{'type':_0x2692('0x48'),'content':_0x233f02(_0xe6bcce,'*Reset\x20image\x20width*')};}}function _0x195b34(_0x40cefe){return{'type':_0x2692('0x48'),'content':_0x233f02(_0xe6bcce,_0x2692('0x6a'),_0x40cefe)};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3f25=['locale','getAttribute','handleReplaceImageCommand','document','replaceImageSource','subType','discard','model','_suggestionFactory','markBlockFormat','handleSuggestionDescription','Users','get','ImageEditing','accept','getContainedElement','editor','change','*Format:*\x20replace\x20image\x20URL','selection','has','commandName','getSelectedElement','plugins','_descriptionFactory','registerDescriptionCallback','TrackChangesEditing','registerCustomCallback','formatBlock','format','getSuggestionCallback','enableCommand'];(function(_0x57c7a5,_0x3f25a0){const _0x11dc98=function(_0x3f30ff){while(--_0x3f30ff){_0x57c7a5['push'](_0x57c7a5['shift']());}};_0x11dc98(++_0x3f25a0);}(_0x3f25,0x1d5));const _0x11dc=function(_0x57c7a5,_0x3f25a0){_0x57c7a5=_0x57c7a5-0x0;let _0x11dc98=_0x3f25[_0x57c7a5];return _0x11dc98;};import{Plugin as _0x57c773}from'ckeditor5/src/core';import{getTranslation as _0xc2b03a}from'../utils/common-translations';export default class Y extends _0x57c773{['afterInit'](){if(!this[_0x11dc('0x1b')][_0x11dc('0x2')][_0x11dc('0x1f')](_0x11dc('0x18')))return;const _0x1f4e6f=this[_0x11dc('0x1b')][_0x11dc('0x2')][_0x11dc('0x17')](_0x11dc('0x5'));_0x1f4e6f[_0x11dc('0xa')]('replaceImageSource',(_0x101a7b,_0xdcc6cf)=>this[_0x11dc('0xd')](_0x101a7b,_0xdcc6cf)),_0x1f4e6f['_suggestionFactory'][_0x11dc('0x6')](_0x11dc('0x7'),_0x11dc('0xf'),_0x11dc('0x19'),_0x1f4e6f[_0x11dc('0x13')][_0x11dc('0x9')](_0x11dc('0x7'),null,_0x11dc('0x11'))),_0x1f4e6f[_0x11dc('0x13')][_0x11dc('0x6')](_0x11dc('0x7'),_0x11dc('0xf'),_0x11dc('0x11'),_0x1f4e6f[_0x11dc('0x13')][_0x11dc('0x9')](_0x11dc('0x7'),null,_0x11dc('0x19'))),_0x1f4e6f[_0x11dc('0x3')][_0x11dc('0x4')](_0x48e1b5=>this[_0x11dc('0x15')](_0x48e1b5));}[_0x11dc('0xd')](_0x594fdc,_0x27dfd5){const _0x333cf7=this[_0x11dc('0x1b')][_0x11dc('0x2')][_0x11dc('0x17')]('TrackChangesEditing'),_0x3cbeaa=this[_0x11dc('0x1b')]['model'][_0x11dc('0xe')][_0x11dc('0x1e')][_0x11dc('0x1')]();this[_0x11dc('0x1b')][_0x11dc('0x12')][_0x11dc('0x1c')](()=>{let _0x4bbf88=_0x3cbeaa[_0x11dc('0xc')]('src');const _0x422818=this[_0x11dc('0x1b')][_0x11dc('0x2')][_0x11dc('0x17')](_0x11dc('0x16'))['me'];for(const _0x5de185 of _0x333cf7['getSuggestions']({'skipNotAttached':!0x0})){const _0x445a3e=_0x5de185[_0x11dc('0x1a')]();if(_0x11dc('0xf')===_0x5de185[_0x11dc('0x10')]&&_0x445a3e===_0x3cbeaa){_0x5de185['author']!==_0x422818&&_0x5de185[_0x11dc('0x11')](),_0x4bbf88=_0x5de185['data']['commandParams'][0x0]['source'];break;}}_0x594fdc(_0x27dfd5),_0x333cf7[_0x11dc('0x14')](_0x3cbeaa,{'commandName':'replaceImageSource','commandParams':[{'source':_0x4bbf88}]},[],'replaceImageSource');});}[_0x11dc('0x15')](_0x5603c1){const {data:_0x22e1ca}=_0x5603c1;if(_0x22e1ca&&_0x11dc('0xf')===_0x22e1ca[_0x11dc('0x0')]){const _0x5d9fca=_0x11dc('0x1d');return{'type':_0x11dc('0x8'),'content':_0xc2b03a(this[_0x11dc('0x1b')][_0x11dc('0xb')],_0x5d9fca)};}}}
23
+ const _0x485e=['enableCommand','editor','has','getAttribute','commandParams','get','markBlockFormat','formatBlock','author','TrackChangesEditing','accept','document','_descriptionFactory','handleReplaceImageCommand','discard','ImageEditing','*Format:*\x20replace\x20image\x20URL','subType','model','data','locale','registerCustomCallback','handleSuggestionDescription','getSuggestionCallback','plugins','getSelectedElement','afterInit','selection','registerDescriptionCallback','getContainedElement','_suggestionFactory','commandName','replaceImageSource','getSuggestions'];(function(_0x29fd14,_0x485edd){const _0x4c6905=function(_0x14bf19){while(--_0x14bf19){_0x29fd14['push'](_0x29fd14['shift']());}};_0x4c6905(++_0x485edd);}(_0x485e,0x114));const _0x4c69=function(_0x29fd14,_0x485edd){_0x29fd14=_0x29fd14-0x0;let _0x4c6905=_0x485e[_0x29fd14];return _0x4c6905;};import{Plugin as _0x695072}from'ckeditor5/src/core';import{getTranslation as _0x4e5b73}from'../utils/common-translations';export default class Y extends _0x695072{[_0x4c69('0x16')](){if(!this['editor'][_0x4c69('0x14')][_0x4c69('0x20')](_0x4c69('0xb')))return;const _0x2ef08f=this[_0x4c69('0x1f')][_0x4c69('0x14')][_0x4c69('0x1')](_0x4c69('0x5'));_0x2ef08f[_0x4c69('0x1e')](_0x4c69('0x1c'),(_0x1fe60e,_0x4ecae1)=>this[_0x4c69('0x9')](_0x1fe60e,_0x4ecae1)),_0x2ef08f[_0x4c69('0x1a')][_0x4c69('0x11')](_0x4c69('0x3'),'replaceImageSource',_0x4c69('0x6'),_0x2ef08f[_0x4c69('0x1a')][_0x4c69('0x13')]('formatBlock',null,_0x4c69('0xa'))),_0x2ef08f[_0x4c69('0x1a')][_0x4c69('0x11')](_0x4c69('0x3'),_0x4c69('0x1c'),_0x4c69('0xa'),_0x2ef08f['_suggestionFactory'][_0x4c69('0x13')]('formatBlock',null,'accept')),_0x2ef08f[_0x4c69('0x8')][_0x4c69('0x18')](_0x2667bd=>this[_0x4c69('0x12')](_0x2667bd));}[_0x4c69('0x9')](_0x2c381a,_0x57a3e9){const _0x41cdf1=this[_0x4c69('0x1f')][_0x4c69('0x14')]['get'](_0x4c69('0x5')),_0x310f22=this[_0x4c69('0x1f')][_0x4c69('0xe')][_0x4c69('0x7')][_0x4c69('0x17')][_0x4c69('0x15')]();this[_0x4c69('0x1f')][_0x4c69('0xe')]['change'](()=>{let _0x3ff1b1=_0x310f22[_0x4c69('0x21')]('src');const _0x3ec553=this[_0x4c69('0x1f')][_0x4c69('0x14')][_0x4c69('0x1')]('Users')['me'];for(const _0x1e0c27 of _0x41cdf1[_0x4c69('0x1d')]({'skipNotAttached':!0x0})){const _0x2fa7a6=_0x1e0c27[_0x4c69('0x19')]();if(_0x4c69('0x1c')===_0x1e0c27[_0x4c69('0xd')]&&_0x2fa7a6===_0x310f22){_0x1e0c27[_0x4c69('0x4')]!==_0x3ec553&&_0x1e0c27['discard'](),_0x3ff1b1=_0x1e0c27[_0x4c69('0xf')][_0x4c69('0x0')][0x0]['source'];break;}}_0x2c381a(_0x57a3e9),_0x41cdf1[_0x4c69('0x2')](_0x310f22,{'commandName':'replaceImageSource','commandParams':[{'source':_0x3ff1b1}]},[],_0x4c69('0x1c'));});}['handleSuggestionDescription'](_0x48f9fc){const {data:_0xefdd30}=_0x48f9fc;if(_0xefdd30&&_0x4c69('0x1c')===_0xefdd30[_0x4c69('0x1b')]){const _0x6a38d0=_0x4c69('0xc');return{'type':'format','content':_0x4e5b73(this[_0x4c69('0x1f')][_0x4c69('0x10')],_0x6a38d0)};}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x6273=['_trackChangesValueDuringImport','enableCommand','dataInsert','plugins','execute','editor','TrackChangesEditing','track_changes','trackChanges','bind','importWord','collaboration_features','Users','value','listenTo','lowest','_trackChangesExecuted','_handleImportedData','get','afterInit','commands'];(function(_0x4f67d4,_0x627384){const _0xc08c3=function(_0x58400d){while(--_0x58400d){_0x4f67d4['push'](_0x4f67d4['shift']());}};_0xc08c3(++_0x627384);}(_0x6273,0x1b1));const _0xc08c=function(_0x4f67d4,_0x627384){_0x4f67d4=_0x4f67d4-0x0;let _0xc08c3=_0x6273[_0x4f67d4];return _0xc08c3;};import{Plugin as _0x304fc3}from'ckeditor5/src/core';export default class Z extends _0x304fc3{constructor(_0x4b34cf){super(_0x4b34cf),this['_trackChangesValueDuringImport']=!0x1,this['_trackChangesExecuted']=!0x1;}[_0xc08c('0x6')](){const _0x1d6a4a=this[_0xc08c('0xd')],_0x355b1c=_0x1d6a4a[_0xc08c('0x7')][_0xc08c('0x5')]('importWord'),_0x199176=_0x1d6a4a['commands']['get'](_0xc08c('0x10'));_0x355b1c&&(_0x355b1c['on'](_0xc08c('0xc'),(_0x2090d3,[,_0x117c8f])=>{this[_0xc08c('0x8')]=_0x199176[_0xc08c('0x0')],_0x117c8f[_0xc08c('0x13')][_0xc08c('0xf')]=!this[_0xc08c('0x8')];},{'priority':'high'}),this['listenTo'](_0x355b1c,_0xc08c('0xa'),this[_0xc08c('0x4')][_0xc08c('0x11')](this)),this[_0xc08c('0x1')](_0x355b1c,'dataInsert',()=>{this[_0xc08c('0x3')]&&(_0x199176[_0xc08c('0xc')](),this['_trackChangesExecuted']=!0x1);},{'priority':_0xc08c('0x2')}),_0x1d6a4a[_0xc08c('0xb')][_0xc08c('0x5')](_0xc08c('0xe'))[_0xc08c('0x9')](_0xc08c('0x12')));}[_0xc08c('0x4')](_0x4661e9,_0x1c58e6){const {suggestions:_0x102687}=_0x1c58e6,_0x7109d3=this['editor'][_0xc08c('0x7')][_0xc08c('0x5')](_0xc08c('0x10')),_0x1d95fd=_0x7109d3[_0xc08c('0x0')];this[_0xc08c('0x8')]!==_0x1d95fd&&(_0x7109d3['execute'](),this[_0xc08c('0x3')]=!0x0),_0x102687&&_0x102687['forEach'](({id:_0x7f9b3a,type:_0x2a1b5b,author:_0x2a50b9,created_at:_0x511d75})=>{const _0x36dff2={'id':_0x7f9b3a,'type':_0x2a1b5b,'authorId':this[_0xc08c('0xd')][_0xc08c('0xb')][_0xc08c('0x5')](_0xc08c('0x14'))['me']['id'],'createdAt':new Date(),'data':null,'hasComments':!0x1,'attributes':{'@external':{'authorName':_0x2a50b9,'createdAt':_0x511d75?new Date(_0x511d75):new Date(),'source':_0xc08c('0x12')}}};this['editor'][_0xc08c('0xb')]['get'](_0xc08c('0xe'))['_setSuggestionData'](_0x36dff2);});}}
23
+ const _0x1d84=['plugins','TrackChangesEditing','importWord','high','_handleImportedData','commands','lowest','_setSuggestionData','afterInit','track_changes','collaboration_features','value','get','editor','_trackChangesValueDuringImport','Users','forEach','trackChanges','listenTo','dataInsert','_trackChangesExecuted','execute'];(function(_0x16391d,_0x1d8477){const _0x24aa70=function(_0x58f2ea){while(--_0x58f2ea){_0x16391d['push'](_0x16391d['shift']());}};_0x24aa70(++_0x1d8477);}(_0x1d84,0xc1));const _0x24aa=function(_0x16391d,_0x1d8477){_0x16391d=_0x16391d-0x0;let _0x24aa70=_0x1d84[_0x16391d];return _0x24aa70;};import{Plugin as _0x19b531}from'ckeditor5/src/core';export default class Z extends _0x19b531{constructor(_0x2d1941){super(_0x2d1941),this[_0x24aa('0x13')]=!0x1,this[_0x24aa('0x3')]=!0x1;}[_0x24aa('0xd')](){const _0x15c4b3=this['editor'],_0x343eef=_0x15c4b3[_0x24aa('0xa')][_0x24aa('0x11')](_0x24aa('0x7')),_0x52e1e6=_0x15c4b3['commands'][_0x24aa('0x11')](_0x24aa('0x0'));_0x343eef&&(_0x343eef['on'](_0x24aa('0x4'),(_0x373d41,[,_0x9791d4])=>{this['_trackChangesValueDuringImport']=_0x52e1e6[_0x24aa('0x10')],_0x9791d4[_0x24aa('0xf')][_0x24aa('0xe')]=!this[_0x24aa('0x13')];},{'priority':_0x24aa('0x8')}),this[_0x24aa('0x1')](_0x343eef,'dataInsert',this[_0x24aa('0x9')]['bind'](this)),this[_0x24aa('0x1')](_0x343eef,_0x24aa('0x2'),()=>{this[_0x24aa('0x3')]&&(_0x52e1e6[_0x24aa('0x4')](),this[_0x24aa('0x3')]=!0x1);},{'priority':_0x24aa('0xb')}),_0x15c4b3['plugins'][_0x24aa('0x11')](_0x24aa('0x6'))['enableCommand'](_0x24aa('0x7')));}[_0x24aa('0x9')](_0x510c37,_0x2a2a0a){const {suggestions:_0x4519ec}=_0x2a2a0a,_0x577e9f=this['editor']['commands'][_0x24aa('0x11')](_0x24aa('0x0')),_0x89ae7c=_0x577e9f[_0x24aa('0x10')];this['_trackChangesValueDuringImport']!==_0x89ae7c&&(_0x577e9f[_0x24aa('0x4')](),this[_0x24aa('0x3')]=!0x0),_0x4519ec&&_0x4519ec[_0x24aa('0x15')](({id:_0x41c91b,type:_0x5a62c5,author:_0x515645,created_at:_0x4ab906})=>{const _0x18a0fb={'id':_0x41c91b,'type':_0x5a62c5,'authorId':this['editor'][_0x24aa('0x5')][_0x24aa('0x11')](_0x24aa('0x14'))['me']['id'],'createdAt':new Date(),'data':null,'hasComments':!0x1,'attributes':{'@external':{'authorName':_0x515645,'createdAt':_0x4ab906?new Date(_0x4ab906):new Date(),'source':_0x24aa('0x7')}}};this[_0x24aa('0x12')][_0x24aa('0x5')][_0x24aa('0x11')](_0x24aa('0x6'))[_0x24aa('0xc')](_0x18a0fb);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2b13=['from','format','TrackChangesEditing','afterInit','registerDescriptionCallback','filter','commandName','document','model','indentBlock','plugins','getItemLabel','markBlockFormat','enableCommand','get','locale','getSelectedBlocks','indent','editor','blockIndent','checkAttribute','schema','_descriptionFactory','has','change','outdent','*Outdent:*\x20%0','*Indent:*\x20%0','outdentBlock','IndentBlock'];(function(_0x2bdf38,_0x2b13c8){const _0x33d480=function(_0x35c8b4){while(--_0x35c8b4){_0x2bdf38['push'](_0x2bdf38['shift']());}};_0x33d480(++_0x2b13c8);}(_0x2b13,0x11c));const _0x33d4=function(_0x2bdf38,_0x2b13c8){_0x2bdf38=_0x2bdf38-0x0;let _0x33d480=_0x2b13[_0x2bdf38];return _0x33d480;};import{Plugin as _0x4ed2da}from'ckeditor5/src/core';import{getTranslation as _0x58bbc7}from'../utils/common-translations';export default class tt extends _0x4ed2da{[_0x33d4('0x13')](){const _0x723dce=this['editor'],_0x1ec634=_0x723dce[_0x33d4('0x1a')][_0x33d4('0x0')](_0x33d4('0x12'));_0x723dce['plugins'][_0x33d4('0x9')]('IndentEditing')&&(_0x1ec634[_0x33d4('0x1d')](_0x33d4('0x3')),_0x1ec634[_0x33d4('0x1d')](_0x33d4('0xb')));const _0x516000=_0x723dce[_0x33d4('0x1')];if(_0x723dce['plugins']['has'](_0x33d4('0xf'))){for(const _0x42fade of['indentBlock',_0x33d4('0xe')])_0x1ec634[_0x33d4('0x1d')](_0x42fade,()=>{const _0x297962=Array[_0x33d4('0x10')](this[_0x33d4('0x4')][_0x33d4('0x18')][_0x33d4('0x17')]['selection'][_0x33d4('0x2')]())[_0x33d4('0x15')](_0x304321=>this['editor'][_0x33d4('0x18')][_0x33d4('0x7')][_0x33d4('0x6')](_0x304321,_0x33d4('0x5')));_0x723dce[_0x33d4('0x18')][_0x33d4('0xa')](()=>{for(const _0x555c81 of _0x297962)_0x1ec634[_0x33d4('0x1c')](_0x555c81,{'commandName':_0x42fade,'commandParams':[{'value':''}],'formatGroupId':'indentBlock'});});});_0x1ec634['_descriptionFactory'][_0x33d4('0x14')](_0x58b6c9=>{const {data:_0x4aad8b}=_0x58b6c9;if(!_0x4aad8b)return;if(_0x33d4('0x19')!=_0x4aad8b[_0x33d4('0x16')]&&_0x33d4('0xe')!=_0x4aad8b[_0x33d4('0x16')])return;const _0x4d03e7=_0x58b6c9['getItems']()[0x0],_0x3d7fc6=_0x1ec634[_0x33d4('0x8')][_0x33d4('0x1b')](_0x4d03e7);return'indentBlock'==_0x4aad8b[_0x33d4('0x16')]?{'type':_0x33d4('0x11'),'content':_0x58bbc7(_0x516000,_0x33d4('0xd'),_0x3d7fc6)}:'outdentBlock'==_0x4aad8b[_0x33d4('0x16')]?{'type':'format','content':_0x58bbc7(_0x516000,_0x33d4('0xc'),_0x3d7fc6)}:void 0x0;});}}}
23
+ const _0x3cf5=['editor','registerDescriptionCallback','has','indentBlock','indent','selection','blockIndent','afterInit','outdent','*Outdent:*\x20%0','markBlockFormat','filter','getItemLabel','document','outdentBlock','checkAttribute','*Indent:*\x20%0','format','_descriptionFactory','getItems','IndentEditing','change','commandName','plugins','model','enableCommand','from','get','IndentBlock'];(function(_0x7c9eed,_0x3cf536){const _0x35385c=function(_0xed597f){while(--_0xed597f){_0x7c9eed['push'](_0x7c9eed['shift']());}};_0x35385c(++_0x3cf536);}(_0x3cf5,0x84));const _0x3538=function(_0x7c9eed,_0x3cf536){_0x7c9eed=_0x7c9eed-0x0;let _0x35385c=_0x3cf5[_0x7c9eed];return _0x35385c;};import{Plugin as _0x2660ce}from'ckeditor5/src/core';import{getTranslation as _0x2f08ae}from'../utils/common-translations';export default class tt extends _0x2660ce{[_0x3538('0x14')](){const _0x53edca=this['editor'],_0x3f4a91=_0x53edca[_0x3538('0x7')][_0x3538('0xb')]('TrackChangesEditing');_0x53edca[_0x3538('0x7')]['has'](_0x3538('0x4'))&&(_0x3f4a91[_0x3538('0x9')](_0x3538('0x11')),_0x3f4a91[_0x3538('0x9')](_0x3538('0x15')));const _0x32778e=_0x53edca['locale'];if(_0x53edca[_0x3538('0x7')][_0x3538('0xf')](_0x3538('0xc'))){for(const _0x51fdc6 of[_0x3538('0x10'),_0x3538('0x1b')])_0x3f4a91[_0x3538('0x9')](_0x51fdc6,()=>{const _0x9610cb=Array[_0x3538('0xa')](this[_0x3538('0xd')][_0x3538('0x8')][_0x3538('0x1a')][_0x3538('0x12')]['getSelectedBlocks']())[_0x3538('0x18')](_0x297bbe=>this[_0x3538('0xd')]['model']['schema'][_0x3538('0x1c')](_0x297bbe,_0x3538('0x13')));_0x53edca[_0x3538('0x8')][_0x3538('0x5')](()=>{for(const _0x40d3be of _0x9610cb)_0x3f4a91[_0x3538('0x17')](_0x40d3be,{'commandName':_0x51fdc6,'commandParams':[{'value':''}],'formatGroupId':_0x3538('0x10')});});});_0x3f4a91[_0x3538('0x2')][_0x3538('0xe')](_0x3a82c6=>{const {data:_0x103737}=_0x3a82c6;if(!_0x103737)return;if(_0x3538('0x10')!=_0x103737[_0x3538('0x6')]&&_0x3538('0x1b')!=_0x103737[_0x3538('0x6')])return;const _0x4b56f9=_0x3a82c6[_0x3538('0x3')]()[0x0],_0x4ae8e8=_0x3f4a91[_0x3538('0x2')][_0x3538('0x19')](_0x4b56f9);return _0x3538('0x10')==_0x103737[_0x3538('0x6')]?{'type':_0x3538('0x1'),'content':_0x2f08ae(_0x32778e,_0x3538('0x0'),_0x4ae8e8)}:'outdentBlock'==_0x103737[_0x3538('0x6')]?{'type':_0x3538('0x1'),'content':_0x2f08ae(_0x32778e,_0x3538('0x16'),_0x4ae8e8)}:void 0x0;});}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0xe403=['TrackChangesEditing','init','editor','enableCommand','input'];(function(_0x57f79c,_0xe403ef){var _0x9153c0=function(_0x136e59){while(--_0x136e59){_0x57f79c['push'](_0x57f79c['shift']());}};_0x9153c0(++_0xe403ef);}(_0xe403,0x1d5));var _0x9153=function(_0x57f79c,_0xe403ef){_0x57f79c=_0x57f79c-0x0;var _0x9153c0=_0xe403[_0x57f79c];return _0x9153c0;};import{Plugin as _0x15fcc2}from'ckeditor5/src/core';import{Input as _0x409f49}from'ckeditor5/src/typing';export default class it extends _0x15fcc2{static get['requires'](){return[_0x409f49];}[_0x9153('0x2')](){this[_0x9153('0x3')]['plugins']['get'](_0x9153('0x1'))[_0x9153('0x4')](_0x9153('0x0'));}}
23
+ var _0x2980=['enableCommand','editor','init','requires','plugins'];(function(_0x59207a,_0x298011){var _0x45fbb9=function(_0x23feb8){while(--_0x23feb8){_0x59207a['push'](_0x59207a['shift']());}};_0x45fbb9(++_0x298011);}(_0x2980,0x1da));var _0x45fb=function(_0x59207a,_0x298011){_0x59207a=_0x59207a-0x0;var _0x45fbb9=_0x2980[_0x59207a];return _0x45fbb9;};import{Plugin as _0x36c9fa}from'ckeditor5/src/core';import{Input as _0x3033d7}from'ckeditor5/src/typing';export default class it extends _0x36c9fa{static get[_0x45fb('0x4')](){return[_0x3033d7];}[_0x45fb('0x3')](){this[_0x45fb('0x2')][_0x45fb('0x0')]['get']('TrackChangesEditing')[_0x45fb('0x1')]('input');}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xca36=['document','link','afterInit','format','TrackChangesEditing','commandParams','isCollapsed','plugins','model','change','registerDescriptionCallback','commandName','getAttribute','getFirstRange','from','has','*Remove\x20link*','editor','_descriptionFactory','locale','unlink','linkHref','markInlineFormat','get','getFirstPosition','LinkEditing'];(function(_0x4fba26,_0xca3695){const _0x5721ea=function(_0x415d02){while(--_0x415d02){_0x4fba26['push'](_0x4fba26['shift']());}};_0x5721ea(++_0xca3695);}(_0xca36,0x1b3));const _0x5721=function(_0x4fba26,_0xca3695){_0x4fba26=_0x4fba26-0x0;let _0x5721ea=_0xca36[_0x4fba26];return _0x5721ea;};import{Plugin as _0x49acc}from'ckeditor5/src/core';import{findAttributeRange as _0x22b0f2}from'ckeditor5/src/typing';import{getRangesWithAttribute as _0x4dfba7}from'./utils';import{getTranslation as _0x206fdf}from'../utils/common-translations';export default class et extends _0x49acc{[_0x5721('0x9')](){const _0x3a9b65=this[_0x5721('0x18')];if(!_0x3a9b65[_0x5721('0xe')][_0x5721('0x16')](_0x5721('0x6')))return;const _0x597bb9=_0x3a9b65['plugins'][_0x5721('0x4')](_0x5721('0xb'));_0x597bb9['enableCommand'](_0x5721('0x8'),(_0x499be9,_0x54c22e)=>{const _0x20f83e=_0x3a9b65[_0x5721('0xf')][_0x5721('0x7')]['selection'];let _0x5877e4=[];if(_0x20f83e[_0x5721('0xd')]){if(!_0x20f83e['hasAttribute']('linkHref'))return void _0x499be9(_0x54c22e);{const _0x3df483=_0x22b0f2(_0x20f83e[_0x5721('0x5')](),_0x5721('0x2'),_0x20f83e[_0x5721('0x13')]('linkHref'),_0x3a9b65['model']);_0x5877e4=[_0x3df483];}}else _0x5877e4=Array[_0x5721('0x15')](_0x20f83e['getRanges']());_0x3a9b65['model']['change'](()=>{for(const _0x188dda of _0x5877e4)_0x597bb9[_0x5721('0x3')](_0x188dda,{'commandName':_0x5721('0x8'),'commandParams':[_0x54c22e]});});}),_0x597bb9['enableCommand'](_0x5721('0x1'),()=>{const _0x1fe3b9=this[_0x5721('0x18')][_0x5721('0xf')],_0x5e9b34=_0x1fe3b9[_0x5721('0x7')]['selection'];_0x1fe3b9[_0x5721('0x10')](()=>{let _0x44f5b4=[];if(_0x5e9b34[_0x5721('0xd')])_0x44f5b4=[_0x22b0f2(_0x5e9b34[_0x5721('0x5')](),_0x5721('0x2'),_0x5e9b34['getAttribute'](_0x5721('0x2')),_0x3a9b65[_0x5721('0xf')])];else _0x44f5b4=_0x4dfba7('linkHref',_0x5e9b34[_0x5721('0x14')](),_0x3a9b65[_0x5721('0xf')]);for(const _0x2f7c91 of _0x44f5b4)_0x597bb9['markInlineFormat'](_0x2f7c91,{'commandName':_0x5721('0x1'),'commandParams':[]});});}),_0x597bb9[_0x5721('0x19')][_0x5721('0x11')](_0x5cb057=>{const {data:_0x1792bc}=_0x5cb057,_0x300619=_0x3a9b65[_0x5721('0x0')];if(_0x1792bc){if(_0x5721('0x8')==_0x1792bc[_0x5721('0x12')]){const _0x28bce6=_0x1792bc[_0x5721('0xc')][0x0];return{'type':_0x5721('0xa'),'content':_0x206fdf(_0x300619,'*Set\x20link:*\x20%0','\x22'+_0x28bce6+'\x22')};}return _0x5721('0x1')==_0x1792bc[_0x5721('0x12')]?{'type':_0x5721('0xa'),'content':_0x206fdf(_0x300619,_0x5721('0x17'))}:void 0x0;}});}}
23
+ const _0x1d5b=['afterInit','getAttribute','locale','commandName','linkHref','link','editor','from','registerDescriptionCallback','change','LinkEditing','get','document','has','plugins','isCollapsed','hasAttribute','model','TrackChangesEditing','getFirstPosition','getRanges','selection','enableCommand','markInlineFormat','unlink'];(function(_0x26eaac,_0x1d5bc7){const _0x430995=function(_0x3cbebe){while(--_0x3cbebe){_0x26eaac['push'](_0x26eaac['shift']());}};_0x430995(++_0x1d5bc7);}(_0x1d5b,0x107));const _0x4309=function(_0x26eaac,_0x1d5bc7){_0x26eaac=_0x26eaac-0x0;let _0x430995=_0x1d5b[_0x26eaac];return _0x430995;};import{Plugin as _0x4935a3}from'ckeditor5/src/core';import{findAttributeRange as _0x3eaa47}from'ckeditor5/src/typing';import{getRangesWithAttribute as _0x5cab7a}from'./utils';import{getTranslation as _0x3f2282}from'../utils/common-translations';export default class et extends _0x4935a3{[_0x4309('0xc')](){const _0x3befaf=this[_0x4309('0x12')];if(!_0x3befaf[_0x4309('0x1')][_0x4309('0x0')](_0x4309('0x16')))return;const _0x40b4d8=_0x3befaf[_0x4309('0x1')][_0x4309('0x17')](_0x4309('0x5'));_0x40b4d8['enableCommand'](_0x4309('0x11'),(_0x3a0ecf,_0x58a66f)=>{const _0x8e38e0=_0x3befaf['model'][_0x4309('0x18')][_0x4309('0x8')];let _0xab9db9=[];if(_0x8e38e0['isCollapsed']){if(!_0x8e38e0[_0x4309('0x3')](_0x4309('0x10')))return void _0x3a0ecf(_0x58a66f);{const _0x1b02a5=_0x3eaa47(_0x8e38e0[_0x4309('0x6')](),_0x4309('0x10'),_0x8e38e0[_0x4309('0xd')]('linkHref'),_0x3befaf['model']);_0xab9db9=[_0x1b02a5];}}else _0xab9db9=Array[_0x4309('0x13')](_0x8e38e0[_0x4309('0x7')]());_0x3befaf[_0x4309('0x4')]['change'](()=>{for(const _0x1efc05 of _0xab9db9)_0x40b4d8[_0x4309('0xa')](_0x1efc05,{'commandName':_0x4309('0x11'),'commandParams':[_0x58a66f]});});}),_0x40b4d8[_0x4309('0x9')]('unlink',()=>{const _0x2ddbb6=this[_0x4309('0x12')][_0x4309('0x4')],_0x452e51=_0x2ddbb6[_0x4309('0x18')][_0x4309('0x8')];_0x2ddbb6[_0x4309('0x15')](()=>{let _0x526fdb=[];if(_0x452e51[_0x4309('0x2')])_0x526fdb=[_0x3eaa47(_0x452e51[_0x4309('0x6')](),_0x4309('0x10'),_0x452e51[_0x4309('0xd')](_0x4309('0x10')),_0x3befaf[_0x4309('0x4')])];else _0x526fdb=_0x5cab7a(_0x4309('0x10'),_0x452e51['getFirstRange'](),_0x3befaf[_0x4309('0x4')]);for(const _0xce4637 of _0x526fdb)_0x40b4d8[_0x4309('0xa')](_0xce4637,{'commandName':_0x4309('0xb'),'commandParams':[]});});}),_0x40b4d8['_descriptionFactory'][_0x4309('0x14')](_0x2e6d14=>{const {data:_0x3f8e58}=_0x2e6d14,_0x2ea2c2=_0x3befaf[_0x4309('0xe')];if(_0x3f8e58){if(_0x4309('0x11')==_0x3f8e58[_0x4309('0xf')]){const _0x3b87a3=_0x3f8e58['commandParams'][0x0];return{'type':'format','content':_0x3f2282(_0x2ea2c2,'*Set\x20link:*\x20%0','\x22'+_0x3b87a3+'\x22')};}return'unlink'==_0x3f8e58[_0x4309('0xf')]?{'type':'format','content':_0x3f2282(_0x2ea2c2,'*Remove\x20link*')}:void 0x0;}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x220c=['findIndex','parent','ELEMENT_NUMBERED_LIST','change','value','slice','element','has','bulletedList','*Change\x20to:*\x20%0','_descriptionFactory','nextSibling','checkTodoList','add','format','plugins','forceValue','from','listType','markBlockFormat','getSelectedBlocks','afterInit','listItem','editor','commandParams','filter','push','listIndent','_selectedElements','outdentList','createPositionAt','ListEditing','document','model','createRange','paragraph','*Indent:*\x20%0','todoList','indentList','previousSibling','*Check\x20item*','registerDescriptionCallback','getAttribute','bulleted','name','numberedList','blockName','get','*Outdent:*\x20%0','execute','todoListChecked','*Uncheck\x20item*','TodoListEditing','todo','checkChild','enableCommand','commands','locale','commandName','schema','selection','length','ELEMENT_TODO_LIST','ELEMENT_LIST_ITEM'];(function(_0x59083d,_0x220ceb){const _0x5a0812=function(_0x397dc6){while(--_0x397dc6){_0x59083d['push'](_0x59083d['shift']());}};_0x5a0812(++_0x220ceb);}(_0x220c,0x1da));const _0x5a08=function(_0x59083d,_0x220ceb){_0x59083d=_0x59083d-0x0;let _0x5a0812=_0x220c[_0x59083d];return _0x5a0812;};import{Plugin as _0x2a9359}from'ckeditor5/src/core';import{getTranslation as _0x35e78d}from'../utils/common-translations';export default class st extends _0x2a9359{[_0x5a08('0x3b')](){const _0x4e4d73=this[_0x5a08('0x3d')],_0x164947=_0x4e4d73[_0x5a08('0x1f')];if(!_0x4e4d73[_0x5a08('0x35')][_0x5a08('0x2d')](_0x5a08('0x5')))return;const _0x5636dc=_0x4e4d73[_0x5a08('0x35')][_0x5a08('0x15')]('TrackChangesEditing'),_0x5e014a=_0x4e4d73['plugins'][_0x5a08('0x2d')](_0x5a08('0x1a'));function _0x45f1ec(_0x4fd41c){return()=>{const _0x2c56df=_0x4e4d73['model'][_0x5a08('0x6')][_0x5a08('0x22')],_0x2a2421=_0x4e4d73[_0x5a08('0x1e')][_0x5a08('0x15')](_0x4fd41c);if(_0x2a2421[_0x5a08('0x2a')])return void _0x4e4d73[_0x5a08('0x17')](_0x5a08('0x9'),{});const _0x1154ed=_0x4fd41c[_0x5a08('0x2b')](0x0,-0x4),_0x6ea7f8=function(_0x1bfdfa,_0xd44628,_0x51be97){let _0x45b24a=Array['from'](_0x1bfdfa)[_0x5a08('0x3f')](_0x3c46dd=>function(_0x2642de,_0x51e539){return _0x51e539[_0x5a08('0x1c')](_0x2642de[_0x5a08('0x27')],'listItem')&&!_0x51e539['isObject'](_0x2642de);}(_0x3c46dd,_0x51be97));_0x45b24a=_0x45b24a[_0x5a08('0x3f')](_0x588617=>!_0x588617['is'](_0x5a08('0x2c'),_0x5a08('0x3c'))||_0x588617['getAttribute'](_0x5a08('0x38'))!=_0xd44628);const _0x3626b2=new Set();for(const _0x116ca6 of _0x45b24a)_0x116ca6['is'](_0x5a08('0x2c'),_0x5a08('0x3c'))?_0x3626b2['add'](ne(_0x116ca6)):_0x3626b2[_0x5a08('0x33')](_0x116ca6);return Array[_0x5a08('0x37')](_0x3626b2);}(_0x2c56df[_0x5a08('0x3a')](),_0x1154ed,_0x4e4d73[_0x5a08('0x7')][_0x5a08('0x21')]);_0x4e4d73[_0x5a08('0x7')]['change'](()=>{for(const _0x5e1391 of _0x6ea7f8)_0x5636dc[_0x5a08('0x39')](_0x5e1391,{'commandName':_0x4fd41c,'commandParams':[{'forceValue':!_0x2a2421[_0x5a08('0x2a')]}],'formatGroupId':_0x5a08('0x14')},oe(_0x5e1391));});};}function _0x874615(_0x54a8f1){return()=>{const _0x2e1815=function(_0x1c5eb2){let _0x2d816f=Array[_0x5a08('0x37')](_0x1c5eb2);const _0x428bd9=_0x2d816f[_0x5a08('0x26')](_0x178b5b=>_0x5a08('0x3c')!=_0x178b5b[_0x5a08('0x12')]);return _0x428bd9>-0x1&&(_0x2d816f=_0x2d816f[_0x5a08('0x2b')](0x0,_0x428bd9)),_0x2d816f;}(_0x4e4d73['model'][_0x5a08('0x6')][_0x5a08('0x22')][_0x5a08('0x3a')]()),_0x401ddb=_0x4e4d73[_0x5a08('0x7')][_0x5a08('0x8')](_0x4e4d73[_0x5a08('0x7')][_0x5a08('0x4')](_0x2e1815[0x0],'before'),_0x4e4d73[_0x5a08('0x7')][_0x5a08('0x4')](_0x2e1815[_0x2e1815[_0x5a08('0x23')]-0x1],'end'));_0x4e4d73[_0x5a08('0x7')]['change'](()=>{_0x5636dc[_0x5a08('0x39')](_0x401ddb,{'commandName':_0x54a8f1,'commandParams':[],'formatGroupId':_0x5a08('0x1')},function(_0xd88ddd){const _0x2a48ab=new Set();for(const _0x4d37e7 of _0xd88ddd){let _0x78578d=_0x4d37e7['nextSibling'];for(;_0x78578d&&_0x78578d[_0x5a08('0x10')](_0x5a08('0x1'))>_0x4d37e7[_0x5a08('0x10')](_0x5a08('0x1'));)_0x2a48ab[_0x5a08('0x33')](_0x78578d),_0x78578d=_0x78578d[_0x5a08('0x31')];}return Array[_0x5a08('0x37')](_0x2a48ab);}(_0x2e1815));});};}_0x5636dc[_0x5a08('0x1d')](_0x5a08('0x13'),_0x45f1ec(_0x5a08('0x13'))),_0x5636dc[_0x5a08('0x1d')](_0x5a08('0x2e'),_0x45f1ec(_0x5a08('0x2e'))),_0x5e014a&&_0x5636dc[_0x5a08('0x1d')](_0x5a08('0xb'),_0x45f1ec(_0x5a08('0xb'))),_0x5636dc[_0x5a08('0x1d')](_0x5a08('0xc'),_0x874615(_0x5a08('0xc'))),_0x5636dc[_0x5a08('0x1d')](_0x5a08('0x3'),_0x874615(_0x5a08('0x3'))),_0x5e014a&&_0x5636dc[_0x5a08('0x1d')](_0x5a08('0x32'),()=>{const _0x354f16=_0x4e4d73['commands'][_0x5a08('0x15')](_0x5a08('0x32')),_0x2fb112=Array[_0x5a08('0x37')](_0x354f16[_0x5a08('0x2')]);_0x2fb112[_0x5a08('0x3f')](_0x1bbf2e=>_0x1bbf2e[_0x5a08('0x10')](_0x5a08('0x18'))!=_0x354f16['value']),_0x4e4d73[_0x5a08('0x7')][_0x5a08('0x29')](()=>{for(const _0x313958 of _0x2fb112)_0x5636dc['markBlockFormat'](_0x313958,{'commandName':_0x5a08('0x32'),'commandParams':[{'forceValue':!_0x354f16[_0x5a08('0x2a')]}]});});}),_0x5636dc['_descriptionFactory']['registerElementLabel'](_0x5a08('0x3c'),_0x24b72c=>_0x35e78d(_0x164947,_0x5a08('0x25'),_0x24b72c)),_0x5636dc[_0x5a08('0x30')][_0x5a08('0xf')](_0x194867=>{const {data:_0x2734e9}=_0x194867;if(_0x2734e9){if(_0x5a08('0x13')==_0x2734e9[_0x5a08('0x20')]||'bulletedList'==_0x2734e9[_0x5a08('0x20')]||_0x5a08('0xb')==_0x2734e9['commandName'])switch(_0x2734e9[_0x5a08('0x20')]['replace']('List','')){case _0x5a08('0x11'):return _0xb41b20(_0x35e78d(_0x164947,'ELEMENT_BULLETED_LIST'));case'numbered':return _0xb41b20(_0x35e78d(_0x164947,_0x5a08('0x28')));case _0x5a08('0x1b'):return _0xb41b20(_0x35e78d(_0x164947,_0x5a08('0x24')));}if('indentList'==_0x2734e9[_0x5a08('0x20')])return{'type':_0x5a08('0x34'),'content':_0x35e78d(_0x164947,_0x5a08('0xa'),_0x35e78d(_0x164947,_0x5a08('0x25')))};if(_0x5a08('0x3')==_0x2734e9[_0x5a08('0x20')])return{'type':'format','content':_0x35e78d(_0x164947,_0x5a08('0x16'),_0x35e78d(_0x164947,'ELEMENT_LIST_ITEM'))};if('checkTodoList'==_0x2734e9[_0x5a08('0x20')])return _0x2734e9[_0x5a08('0x3e')][0x0][_0x5a08('0x36')]?{'type':'format','content':_0x35e78d(_0x164947,_0x5a08('0xe'))}:{'type':_0x5a08('0x34'),'content':_0x35e78d(_0x164947,_0x5a08('0x19'))};}function _0xb41b20(_0x1fa983){return{'type':_0x5a08('0x34'),'content':_0x35e78d(_0x164947,_0x5a08('0x2f'),_0x1fa983)};}});}}function ne(_0x16994a){const _0x13c79f=_0x16994a[_0x5a08('0x10')](_0x5a08('0x1'));if(0x0==_0x13c79f)return _0x16994a;let _0x1cefc1=_0x16994a;for(;_0x16994a[_0x5a08('0xd')]&&_0x16994a[_0x5a08('0xd')]['is'](_0x5a08('0x2c'),_0x5a08('0x3c'));){const _0x5e0e57=_0x16994a[_0x5a08('0xd')][_0x5a08('0x10')](_0x5a08('0x1'));if(_0x5e0e57==_0x13c79f)_0x1cefc1=_0x16994a[_0x5a08('0xd')];else{if(_0x5e0e57<_0x13c79f)break;}_0x16994a=_0x16994a[_0x5a08('0xd')];}return _0x1cefc1;}function oe(_0x31180d){const _0x3a4019=[];if(_0x31180d['is'](_0x5a08('0x2c'),_0x5a08('0x3c'))&&_0x31180d[_0x5a08('0x10')](_0x5a08('0x1'))>0x0){let _0x331cd9=_0x31180d[_0x5a08('0x31')];for(;_0x331cd9&&_0x5a08('0x3c')==_0x331cd9[_0x5a08('0x12')]&&_0x331cd9[_0x5a08('0x10')](_0x5a08('0x1'))==_0x31180d['getAttribute']('listIndent');)_0x3a4019[_0x5a08('0x0')](_0x331cd9),_0x331cd9=_0x331cd9['nextSibling'];}return _0x3a4019;}
23
+ const _0xc1db=['slice','registerDescriptionCallback','parent','ListEditing','get','filter','nextSibling','TodoListEditing','ELEMENT_TODO_LIST','*Indent:*\x20%0','numberedList','execute','ELEMENT_BULLETED_LIST','*Change\x20to:*\x20%0','forceValue','_descriptionFactory','from','value','format','selection','commandParams','previousSibling','enableCommand','registerElementLabel','createPositionAt','length','paragraph','ELEMENT_LIST_ITEM','schema','change','listItem','has','indentList','markBlockFormat','*Uncheck\x20item*','getSelectedBlocks','model','before','numbered','listType','ELEMENT_NUMBERED_LIST','listIndent','getAttribute','todoListChecked','afterInit','editor','checkTodoList','commandName','commands','bulletedList','*Outdent:*\x20%0','end','push','isObject','name','plugins','blockName','createRange','add','checkChild','element','List','todoList'];(function(_0x28a789,_0xc1dbc9){const _0x22775f=function(_0x3264ba){while(--_0x3264ba){_0x28a789['push'](_0x28a789['shift']());}};_0x22775f(++_0xc1dbc9);}(_0xc1db,0x10e));const _0x2277=function(_0x28a789,_0xc1dbc9){_0x28a789=_0x28a789-0x0;let _0x22775f=_0xc1db[_0x28a789];return _0x22775f;};import{Plugin as _0x4c05cf}from'ckeditor5/src/core';import{getTranslation as _0x3461b0}from'../utils/common-translations';export default class st extends _0x4c05cf{[_0x2277('0x1a')](){const _0xa96ad2=this[_0x2277('0x1b')],_0x4cea16=_0xa96ad2['locale'];if(!_0xa96ad2[_0x2277('0x25')][_0x2277('0xd')](_0x2277('0x30')))return;const _0x3a647d=_0xa96ad2[_0x2277('0x25')][_0x2277('0x31')]('TrackChangesEditing'),_0x214e98=_0xa96ad2['plugins'][_0x2277('0xd')](_0x2277('0x34'));function _0x5c02e5(_0x286142){return()=>{const _0x3d1d37=_0xa96ad2[_0x2277('0x12')]['document']['selection'],_0x4ce8d7=_0xa96ad2['commands'][_0x2277('0x31')](_0x286142);if(_0x4ce8d7[_0x2277('0x3e')])return void _0xa96ad2[_0x2277('0x38')](_0x2277('0x8'),{});const _0x44735b=_0x286142[_0x2277('0x2d')](0x0,-0x4),_0x18c37d=function(_0x14b332,_0xfb549,_0x40411b){let _0x40800d=Array['from'](_0x14b332)['filter'](_0x222580=>function(_0x1e00d6,_0x12740c){return _0x12740c[_0x2277('0x29')](_0x1e00d6[_0x2277('0x2f')],'listItem')&&!_0x12740c[_0x2277('0x23')](_0x1e00d6);}(_0x222580,_0x40411b));_0x40800d=_0x40800d[_0x2277('0x32')](_0xb2319b=>!_0xb2319b['is'](_0x2277('0x2a'),_0x2277('0xc'))||_0xb2319b[_0x2277('0x18')](_0x2277('0x15'))!=_0xfb549);const _0x8b64d1=new Set();for(const _0x378ef8 of _0x40800d)_0x378ef8['is']('element','listItem')?_0x8b64d1[_0x2277('0x28')](ne(_0x378ef8)):_0x8b64d1[_0x2277('0x28')](_0x378ef8);return Array[_0x2277('0x3d')](_0x8b64d1);}(_0x3d1d37[_0x2277('0x11')](),_0x44735b,_0xa96ad2[_0x2277('0x12')][_0x2277('0xa')]);_0xa96ad2['model'][_0x2277('0xb')](()=>{for(const _0x3b94b1 of _0x18c37d)_0x3a647d[_0x2277('0xf')](_0x3b94b1,{'commandName':_0x286142,'commandParams':[{'forceValue':!_0x4ce8d7['value']}],'formatGroupId':_0x2277('0x26')},oe(_0x3b94b1));});};}function _0x1788e2(_0x74eb65){return()=>{const _0x15188e=function(_0x591ae4){let _0xb307d2=Array[_0x2277('0x3d')](_0x591ae4);const _0x2c2be4=_0xb307d2['findIndex'](_0x541f71=>_0x2277('0xc')!=_0x541f71[_0x2277('0x24')]);return _0x2c2be4>-0x1&&(_0xb307d2=_0xb307d2[_0x2277('0x2d')](0x0,_0x2c2be4)),_0xb307d2;}(_0xa96ad2[_0x2277('0x12')]['document'][_0x2277('0x1')][_0x2277('0x11')]()),_0x36ee36=_0xa96ad2[_0x2277('0x12')][_0x2277('0x27')](_0xa96ad2['model'][_0x2277('0x6')](_0x15188e[0x0],_0x2277('0x13')),_0xa96ad2[_0x2277('0x12')][_0x2277('0x6')](_0x15188e[_0x15188e[_0x2277('0x7')]-0x1],_0x2277('0x21')));_0xa96ad2['model']['change'](()=>{_0x3a647d[_0x2277('0xf')](_0x36ee36,{'commandName':_0x74eb65,'commandParams':[],'formatGroupId':_0x2277('0x17')},function(_0x28fa2b){const _0x5bd466=new Set();for(const _0x339726 of _0x28fa2b){let _0x50dc06=_0x339726[_0x2277('0x33')];for(;_0x50dc06&&_0x50dc06[_0x2277('0x18')](_0x2277('0x17'))>_0x339726[_0x2277('0x18')](_0x2277('0x17'));)_0x5bd466[_0x2277('0x28')](_0x50dc06),_0x50dc06=_0x50dc06['nextSibling'];}return Array[_0x2277('0x3d')](_0x5bd466);}(_0x15188e));});};}_0x3a647d[_0x2277('0x4')](_0x2277('0x37'),_0x5c02e5(_0x2277('0x37'))),_0x3a647d[_0x2277('0x4')](_0x2277('0x1f'),_0x5c02e5(_0x2277('0x1f'))),_0x214e98&&_0x3a647d[_0x2277('0x4')](_0x2277('0x2c'),_0x5c02e5(_0x2277('0x2c'))),_0x3a647d[_0x2277('0x4')](_0x2277('0xe'),_0x1788e2(_0x2277('0xe'))),_0x3a647d[_0x2277('0x4')]('outdentList',_0x1788e2('outdentList')),_0x214e98&&_0x3a647d[_0x2277('0x4')]('checkTodoList',()=>{const _0x1a6318=_0xa96ad2[_0x2277('0x1e')][_0x2277('0x31')](_0x2277('0x1c')),_0x382c3e=Array[_0x2277('0x3d')](_0x1a6318['_selectedElements']);_0x382c3e[_0x2277('0x32')](_0x142e39=>_0x142e39['getAttribute'](_0x2277('0x19'))!=_0x1a6318['value']),_0xa96ad2['model']['change'](()=>{for(const _0x446cea of _0x382c3e)_0x3a647d['markBlockFormat'](_0x446cea,{'commandName':_0x2277('0x1c'),'commandParams':[{'forceValue':!_0x1a6318[_0x2277('0x3e')]}]});});}),_0x3a647d[_0x2277('0x3c')][_0x2277('0x5')]('listItem',_0x25ae70=>_0x3461b0(_0x4cea16,_0x2277('0x9'),_0x25ae70)),_0x3a647d[_0x2277('0x3c')][_0x2277('0x2e')](_0x419fe9=>{const {data:_0x53768a}=_0x419fe9;if(_0x53768a){if(_0x2277('0x37')==_0x53768a[_0x2277('0x1d')]||_0x2277('0x1f')==_0x53768a[_0x2277('0x1d')]||_0x2277('0x2c')==_0x53768a[_0x2277('0x1d')])switch(_0x53768a[_0x2277('0x1d')]['replace'](_0x2277('0x2b'),'')){case'bulleted':return _0x55da32(_0x3461b0(_0x4cea16,_0x2277('0x39')));case _0x2277('0x14'):return _0x55da32(_0x3461b0(_0x4cea16,_0x2277('0x16')));case'todo':return _0x55da32(_0x3461b0(_0x4cea16,_0x2277('0x35')));}if(_0x2277('0xe')==_0x53768a['commandName'])return{'type':_0x2277('0x0'),'content':_0x3461b0(_0x4cea16,_0x2277('0x36'),_0x3461b0(_0x4cea16,'ELEMENT_LIST_ITEM'))};if('outdentList'==_0x53768a['commandName'])return{'type':'format','content':_0x3461b0(_0x4cea16,_0x2277('0x20'),_0x3461b0(_0x4cea16,'ELEMENT_LIST_ITEM'))};if(_0x2277('0x1c')==_0x53768a[_0x2277('0x1d')])return _0x53768a[_0x2277('0x2')][0x0][_0x2277('0x3b')]?{'type':_0x2277('0x0'),'content':_0x3461b0(_0x4cea16,'*Check\x20item*')}:{'type':'format','content':_0x3461b0(_0x4cea16,_0x2277('0x10'))};}function _0x55da32(_0x24be58){return{'type':_0x2277('0x0'),'content':_0x3461b0(_0x4cea16,_0x2277('0x3a'),_0x24be58)};}});}}function ne(_0x565c80){const _0xef12b3=_0x565c80[_0x2277('0x18')](_0x2277('0x17'));if(0x0==_0xef12b3)return _0x565c80;let _0x5f2ff9=_0x565c80;for(;_0x565c80[_0x2277('0x3')]&&_0x565c80[_0x2277('0x3')]['is'](_0x2277('0x2a'),_0x2277('0xc'));){const _0x3f2e95=_0x565c80['previousSibling'][_0x2277('0x18')]('listIndent');if(_0x3f2e95==_0xef12b3)_0x5f2ff9=_0x565c80['previousSibling'];else{if(_0x3f2e95<_0xef12b3)break;}_0x565c80=_0x565c80[_0x2277('0x3')];}return _0x5f2ff9;}function oe(_0xc34616){const _0x456086=[];if(_0xc34616['is'](_0x2277('0x2a'),_0x2277('0xc'))&&_0xc34616[_0x2277('0x18')](_0x2277('0x17'))>0x0){let _0x239eb1=_0xc34616[_0x2277('0x33')];for(;_0x239eb1&&_0x2277('0xc')==_0x239eb1[_0x2277('0x24')]&&_0x239eb1[_0x2277('0x18')](_0x2277('0x17'))==_0xc34616[_0x2277('0x18')](_0x2277('0x17'));)_0x456086[_0x2277('0x22')](_0x239eb1),_0x239eb1=_0x239eb1[_0x2277('0x33')];}return _0x456086;}