@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20230802.0 → 0.0.0-nightly-20230804.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 _0x3348=['normalizeSizeOptions','get','toLowerCase','fontSize.options','FontSizeEditing','getRanges','from','FontBackgroundColorEditing','title','afterInit','fontBackgroundColor','_descriptionFactory','fontColor.colors','model','fontSize','editor','*Set\x20font\x20size:*\x20%0','commandParams','*Reset\x20font\x20size*','*Reset\x20font\x20family*','locale','fontColor','*Set\x20font\x20background\x20color:*\x20%0','label','plugins','*Reset\x20font\x20background\x20color*','trim','_enableCommand','find','document','format','FontFamilyEditing','change','value','enableCommand','registerDescriptionCallback','*Set\x20font\x20family:*\x20%0','fontFamily','config','FontSize','commandName','selection','TrackChangesEditing'];(function(_0x5cd01e,_0x33486f){const _0x17aaa3=function(_0x328da){while(--_0x328da){_0x5cd01e['push'](_0x5cd01e['shift']());}};_0x17aaa3(++_0x33486f);}(_0x3348,0x1ea));const _0x17aa=function(_0x5cd01e,_0x33486f){_0x5cd01e=_0x5cd01e-0x0;let _0x17aaa3=_0x3348[_0x5cd01e];return _0x17aaa3;};import{Plugin as _0x35b5de}from'ckeditor5/src/core';import{normalizeColorOptions as _0x154b44}from'ckeditor5/src/ui';import{getRangesWithAttribute as _0x3f09c3}from'./utils';import{getTranslation as _0x4f014d}from'../utils/common-translations';const Zt=[{'pluginName':_0x17aa('0x1e'),'commandName':_0x17aa('0x28')},{'pluginName':_0x17aa('0xe'),'commandName':'fontFamily'},{'pluginName':'FontColorEditing','commandName':_0x17aa('0x4')},{'pluginName':_0x17aa('0x21'),'commandName':'fontBackgroundColor'}];export default class H extends _0x35b5de{[_0x17aa('0x23')](){const _0x3a5cdb=this['editor'][_0x17aa('0x3')];for(const {pluginName:_0x281794,commandName:_0x245002}of Zt)this[_0x17aa('0x29')]['plugins']['has'](_0x281794)&&this[_0x17aa('0xa')](_0x245002);this[_0x17aa('0x29')][_0x17aa('0x7')][_0x17aa('0x1b')]('TrackChangesEditing')[_0x17aa('0x25')][_0x17aa('0x12')](_0x406cd9=>{const _0x48fa96=_0x3a5cdb['t'],{data:_0x8e9c3a}=_0x406cd9;if(null!=_0x8e9c3a){if(_0x17aa('0x28')==_0x8e9c3a[_0x17aa('0x17')]){const _0x4494d1=_0x8e9c3a[_0x17aa('0x0')][0x0][_0x17aa('0x10')];if(_0x4494d1){const _0x1dd331=_0x48fa96(this[_0x17aa('0x29')][_0x17aa('0x7')][_0x17aa('0x1b')](_0x17aa('0x16'))[_0x17aa('0x1a')](this[_0x17aa('0x29')][_0x17aa('0x15')]['get'](_0x17aa('0x1d')))[_0x17aa('0xb')](_0x2a59f9=>_0x2a59f9['model']==_0x4494d1)[_0x17aa('0x22')])[_0x17aa('0x1c')]();return{'type':'format','content':_0x4f014d(_0x3a5cdb,_0x17aa('0x2a'),_0x1dd331)};}return{'type':_0x17aa('0xd'),'content':_0x4f014d(_0x3a5cdb,_0x17aa('0x1'))};}if(_0x17aa('0x14')==_0x8e9c3a[_0x17aa('0x17')]){const _0x468902=_0x8e9c3a[_0x17aa('0x0')][0x0][_0x17aa('0x10')];return _0x468902?{'type':_0x17aa('0xd'),'content':_0x4f014d(_0x3a5cdb,_0x17aa('0x13'),_0x468902)}:{'type':_0x17aa('0xd'),'content':_0x4f014d(_0x3a5cdb,_0x17aa('0x2'))};}if(_0x17aa('0x4')==_0x8e9c3a[_0x17aa('0x17')]){const _0x4e3445=_0x8e9c3a['commandParams'][0x0][_0x17aa('0x10')];if(_0x4e3445){const _0xd69875=_0x154b44(this[_0x17aa('0x29')]['config'][_0x17aa('0x1b')](_0x17aa('0x26')))['find'](_0x4f8b1f=>_0x4f8b1f[_0x17aa('0x27')]==_0x4e3445);let _0x3b5172=_0x4e3445,_0x35711d='';return _0xd69875&&(_0x3b5172=_0xd69875[_0x17aa('0x6')],_0x35711d=_0x48fa96(_0x3b5172)['toLowerCase']()),{'type':_0x17aa('0xd'),'content':_0x4f014d(_0x3a5cdb,'*Set\x20font\x20color:*\x20%0',_0x35711d)[_0x17aa('0x9')](),'color':{'value':_0x4e3445,'title':_0x35711d||_0x3b5172}};}return{'type':_0x17aa('0xd'),'content':_0x4f014d(_0x3a5cdb,'*Reset\x20font\x20color*')};}if(_0x17aa('0x24')==_0x8e9c3a[_0x17aa('0x17')]){const _0x2462d2=_0x8e9c3a['commandParams'][0x0][_0x17aa('0x10')];if(_0x2462d2){const _0x35dca7=_0x154b44(this[_0x17aa('0x29')][_0x17aa('0x15')][_0x17aa('0x1b')]('fontBackgroundColor.colors'))[_0x17aa('0xb')](_0x4120a1=>_0x4120a1[_0x17aa('0x27')]==_0x2462d2);let _0x3240dd=_0x2462d2,_0x183438='';return _0x35dca7&&(_0x3240dd=_0x35dca7[_0x17aa('0x6')],_0x183438=_0x48fa96(_0x3240dd)[_0x17aa('0x1c')]()),{'type':_0x17aa('0xd'),'content':_0x4f014d(_0x3a5cdb,_0x17aa('0x5'),_0x183438)[_0x17aa('0x9')](),'color':{'value':_0x2462d2,'title':_0x183438||_0x3240dd}};}return{'type':_0x17aa('0xd'),'content':_0x4f014d(_0x3a5cdb,_0x17aa('0x8'))};}}});}[_0x17aa('0xa')](_0x37dbdf){const _0x2e638f=this['editor'];_0x2e638f[_0x17aa('0x7')]['get']('TrackChangesEditing')[_0x17aa('0x11')](_0x37dbdf,(_0x4bda27,_0xd142ef={})=>{const _0x55b908=_0x2e638f[_0x17aa('0x27')][_0x17aa('0xc')][_0x17aa('0x18')],_0x548430=_0xd142ef[_0x17aa('0x10')];_0x55b908['isCollapsed']?_0x4bda27(_0xd142ef):_0x2e638f['model'][_0x17aa('0xf')](()=>{const _0x589700=Array[_0x17aa('0x20')](_0x55b908[_0x17aa('0x1f')]());for(const _0x4e2910 of _0x589700){const _0x3d6fff=_0x548430?[_0x4e2910]:_0x3f09c3(_0x37dbdf,_0x4e2910,_0x2e638f[_0x17aa('0x27')]);for(const _0x8f681 of _0x3d6fff)_0x2e638f[_0x17aa('0x7')]['get'](_0x17aa('0x19'))['markInlineFormat'](_0x8f681,{'commandName':_0x37dbdf,'commandParams':[{'value':_0x548430}]});}});});}}
23
+ const _0x4aaf=['enableCommand','model','FontSize','*Reset\x20font\x20color*','getRanges','has','*Set\x20font\x20family:*\x20%0','find','value','FontColorEditing','trim','*Reset\x20font\x20background\x20color*','get','fontBackgroundColor','TrackChangesEditing','*Set\x20font\x20size:*\x20%0','fontBackgroundColor.colors','fontSize.options','config','FontBackgroundColorEditing','FontFamilyEditing','change','fontSize','fontColor','plugins','locale','FontSizeEditing','normalizeSizeOptions','fontFamily','toLowerCase','editor','registerDescriptionCallback','label','title','format','_enableCommand','commandName','*Reset\x20font\x20family*','_descriptionFactory','afterInit'];(function(_0x1c4d9f,_0x4aaf80){const _0xf0527e=function(_0x51e35f){while(--_0x51e35f){_0x1c4d9f['push'](_0x1c4d9f['shift']());}};_0xf0527e(++_0x4aaf80);}(_0x4aaf,0xda));const _0xf052=function(_0x1c4d9f,_0x4aaf80){_0x1c4d9f=_0x1c4d9f-0x0;let _0xf0527e=_0x4aaf[_0x1c4d9f];return _0xf0527e;};import{Plugin as _0x4813fc}from'ckeditor5/src/core';import{normalizeColorOptions as _0x5bbd4f}from'ckeditor5/src/ui';import{getRangesWithAttribute as _0x1359fb}from'./utils';import{getTranslation as _0x278e40}from'../utils/common-translations';const Zt=[{'pluginName':_0xf052('0x8'),'commandName':_0xf052('0x4')},{'pluginName':_0xf052('0x2'),'commandName':_0xf052('0xa')},{'pluginName':_0xf052('0x1f'),'commandName':_0xf052('0x5')},{'pluginName':_0xf052('0x1'),'commandName':_0xf052('0x23')}];export default class H extends _0x4813fc{[_0xf052('0x15')](){const _0xee5fa0=this['editor'][_0xf052('0x7')];for(const {pluginName:_0x1194de,commandName:_0x4edb7e}of Zt)this[_0xf052('0xc')][_0xf052('0x6')][_0xf052('0x1b')](_0x1194de)&&this['_enableCommand'](_0x4edb7e);this[_0xf052('0xc')][_0xf052('0x6')][_0xf052('0x22')](_0xf052('0x24'))[_0xf052('0x14')][_0xf052('0xd')](_0x1fbbe1=>{const _0x196435=_0xee5fa0['t'],{data:_0x21f954}=_0x1fbbe1;if(null!=_0x21f954){if(_0xf052('0x4')==_0x21f954['commandName']){const _0x4eb5ab=_0x21f954['commandParams'][0x0][_0xf052('0x1e')];if(_0x4eb5ab){const _0x12845e=_0x196435(this['editor'][_0xf052('0x6')][_0xf052('0x22')](_0xf052('0x18'))[_0xf052('0x9')](this['editor'][_0xf052('0x0')][_0xf052('0x22')](_0xf052('0x27')))['find'](_0x3563e3=>_0x3563e3[_0xf052('0x17')]==_0x4eb5ab)[_0xf052('0xf')])[_0xf052('0xb')]();return{'type':'format','content':_0x278e40(_0xee5fa0,_0xf052('0x25'),_0x12845e)};}return{'type':_0xf052('0x10'),'content':_0x278e40(_0xee5fa0,'*Reset\x20font\x20size*')};}if(_0xf052('0xa')==_0x21f954['commandName']){const _0x510da4=_0x21f954['commandParams'][0x0][_0xf052('0x1e')];return _0x510da4?{'type':'format','content':_0x278e40(_0xee5fa0,_0xf052('0x1c'),_0x510da4)}:{'type':_0xf052('0x10'),'content':_0x278e40(_0xee5fa0,_0xf052('0x13'))};}if('fontColor'==_0x21f954[_0xf052('0x12')]){const _0x4eca00=_0x21f954['commandParams'][0x0]['value'];if(_0x4eca00){const _0x39b4b6=_0x5bbd4f(this[_0xf052('0xc')][_0xf052('0x0')][_0xf052('0x22')]('fontColor.colors'))['find'](_0x148b86=>_0x148b86[_0xf052('0x17')]==_0x4eca00);let _0xe87d93=_0x4eca00,_0x4998eb='';return _0x39b4b6&&(_0xe87d93=_0x39b4b6['label'],_0x4998eb=_0x196435(_0xe87d93)[_0xf052('0xb')]()),{'type':_0xf052('0x10'),'content':_0x278e40(_0xee5fa0,'*Set\x20font\x20color:*\x20%0',_0x4998eb)[_0xf052('0x20')](),'color':{'value':_0x4eca00,'title':_0x4998eb||_0xe87d93}};}return{'type':'format','content':_0x278e40(_0xee5fa0,_0xf052('0x19'))};}if('fontBackgroundColor'==_0x21f954[_0xf052('0x12')]){const _0x103b63=_0x21f954['commandParams'][0x0][_0xf052('0x1e')];if(_0x103b63){const _0x1a5922=_0x5bbd4f(this['editor']['config'][_0xf052('0x22')](_0xf052('0x26')))[_0xf052('0x1d')](_0x33eaad=>_0x33eaad[_0xf052('0x17')]==_0x103b63);let _0x16669e=_0x103b63,_0x2db420='';return _0x1a5922&&(_0x16669e=_0x1a5922[_0xf052('0xe')],_0x2db420=_0x196435(_0x16669e)[_0xf052('0xb')]()),{'type':_0xf052('0x10'),'content':_0x278e40(_0xee5fa0,'*Set\x20font\x20background\x20color:*\x20%0',_0x2db420)[_0xf052('0x20')](),'color':{'value':_0x103b63,'title':_0x2db420||_0x16669e}};}return{'type':_0xf052('0x10'),'content':_0x278e40(_0xee5fa0,_0xf052('0x21'))};}}});}[_0xf052('0x11')](_0x431084){const _0x5a9dae=this[_0xf052('0xc')];_0x5a9dae[_0xf052('0x6')][_0xf052('0x22')]('TrackChangesEditing')[_0xf052('0x16')](_0x431084,(_0x513dd4,_0x16cda6={})=>{const _0x3bf985=_0x5a9dae[_0xf052('0x17')]['document']['selection'],_0x482a7d=_0x16cda6['value'];_0x3bf985['isCollapsed']?_0x513dd4(_0x16cda6):_0x5a9dae[_0xf052('0x17')][_0xf052('0x3')](()=>{const _0x1f7f2e=Array['from'](_0x3bf985[_0xf052('0x1a')]());for(const _0x133b66 of _0x1f7f2e){const _0x847cc8=_0x482a7d?[_0x133b66]:_0x1359fb(_0x431084,_0x133b66,_0x5a9dae[_0xf052('0x17')]);for(const _0x508466 of _0x847cc8)_0x5a9dae['plugins'][_0xf052('0x22')](_0xf052('0x24'))['markInlineFormat'](_0x508466,{'commandName':_0x431084,'commandParams':[{'value':_0x482a7d}]});}});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2f78=['length','selection','_descriptionFactory','copyFormat','boolean','getSelectedBlocks','normalizeSizeOptions','locale','pasteFormat','charAt','config','keys','isFormatting','fontSize.options','markInlineFormat','getRanges','toLowerCase','from','editor','fontColor','*Set\x20format\x20to:*\x20%0','isBlock','modifySelection','model','split','getAttributes','TrackChangesEditing','word','*Remove\x20all\x20formatting*','forward','commands','plugins','registerDescriptionCallback','title','fontBackgroundColor','getFirstPosition','afterInit','schema','createSelection','enableCommand','push','get','entries','toUpperCase','join','format','change'];(function(_0x499738,_0x2f7835){const _0x26570f=function(_0x322eda){while(--_0x322eda){_0x499738['push'](_0x499738['shift']());}};_0x26570f(++_0x2f7835);}(_0x2f78,0x199));const _0x2657=function(_0x499738,_0x2f7835){_0x499738=_0x499738-0x0;let _0x26570f=_0x2f78[_0x499738];return _0x26570f;};import{Plugin as _0x5e6649}from'ckeditor5/src/core';import{normalizeColorOptions as _0x47b042}from'ckeditor5/src/ui';import{first as _0x4a7280}from'ckeditor5/src/utils';import{getTranslation as _0x445aa3}from'../utils/common-translations';export default class W extends _0x5e6649{[_0x2657('0x3')](){const _0xb69e7e=this[_0x2657('0x20')],_0x1c65d5=_0xb69e7e[_0x2657('0x25')],_0x290834=_0x1c65d5['document'][_0x2657('0xf')],_0x8bcec8=_0xb69e7e[_0x2657('0x2d')][_0x2657('0x8')](_0x2657('0x28')),_0x141307=_0xb69e7e[_0x2657('0x15')],_0x4d90a3=_0xb69e7e[_0x2657('0x2c')]['get']('copyFormat'),_0x21bc33=_0xb69e7e[_0x2657('0x2c')][_0x2657('0x8')](_0x2657('0x16'));_0x4d90a3&&_0x21bc33&&(_0x8bcec8[_0x2657('0x6')](_0x2657('0x16'),(_0xfc323d,_0x24cc2b={})=>{const _0x5e6037=_0x24cc2b;_0x1c65d5[_0x2657('0xd')](()=>{const _0x20167d=Array[_0x2657('0x1f')](_0x290834[_0x2657('0x1d')]()),_0x30d44b=_0x290834['isCollapsed']?[ro(_0x1c65d5,_0x290834)]:_0x20167d,_0x2c89eb=!!_0x4a7280(function*(_0x2ce97c,_0x30729d){const _0x1bd5e6=_0x512833=>!!_0x4a7280(function*(_0x30953b,_0x5e95bb){for(const [_0x269388]of _0x30953b[_0x2657('0x27')]()){const _0x1da2d2=_0x5e95bb['getAttributeProperties'](_0x269388);_0x1da2d2&&_0x1da2d2[_0x2657('0x1a')]&&(yield _0x269388);}}(_0x512833,_0x30729d));for(const _0x27d297 of _0x2ce97c[_0x2657('0x1d')]())for(const _0x510389 of _0x27d297['getItems']())!_0x30729d[_0x2657('0x23')](_0x510389)&&_0x1bd5e6(_0x510389)&&(yield _0x510389);for(const _0x6d7b97 of _0x2ce97c[_0x2657('0x13')]())_0x1bd5e6(_0x6d7b97)&&(yield _0x6d7b97);_0x1bd5e6(_0x2ce97c)&&(yield _0x2ce97c);}(_0x290834,_0x1c65d5[_0x2657('0x4')]));if(_0x2c89eb||0x0!==Object[_0x2657('0x19')](_0x5e6037)[_0x2657('0xe')])for(const _0x55ba85 of _0x30d44b)_0x8bcec8[_0x2657('0x1c')](_0x55ba85,{'commandName':_0x2657('0x16'),'commandParams':[_0x5e6037]});});}),_0x8bcec8[_0x2657('0x10')][_0x2657('0x2e')](_0x57b081=>{const {data:_0x39f485}=_0x57b081;if(_0x39f485&&_0x2657('0x16')===_0x39f485['commandName']){const _0x206735=[],_0x14abf9=_0x39f485['commandParams'][0x0];for(const [_0x418868,_0x39a6fa]of Object[_0x2657('0x9')](_0x14abf9))_0x206735[_0x2657('0x7')](no(_0xb69e7e,_0x418868,_0x39a6fa));return _0x206735['length']?{'type':_0x2657('0xc'),'content':_0x445aa3(_0x141307,_0x2657('0x22'),_0x206735['join'](',\x20'))}:{'type':_0x2657('0xc'),'content':_0x445aa3(_0x141307,_0x2657('0x2a'))};}}),_0xb69e7e[_0x2657('0x2d')][_0x2657('0x8')](_0x2657('0x28'))[_0x2657('0x6')](_0x2657('0x11')));}}function ro(_0x1ba454,_0x4becb8){const _0x52a2f3=_0x1ba454[_0x2657('0x5')](_0x4becb8);_0x1ba454['modifySelection'](_0x52a2f3,{'unit':_0x2657('0x29'),'direction':'backward'});const _0x4a3e06=_0x52a2f3[_0x2657('0x2')]();_0x1ba454[_0x2657('0x24')](_0x52a2f3,{'unit':_0x2657('0x29'),'direction':_0x2657('0x2b')});const _0xf70c6e=_0x52a2f3['getLastPosition']();return _0x1ba454['createRange'](_0x4a3e06,_0xf70c6e);}function no(_0x22cde0,_0x1ca91b,_0x3d7436){const _0x81319=_0x22cde0[_0x2657('0x15')]['t'],_0x34dee5=_0x1ca91b[_0x2657('0x26')](/(?=[A-Z])/)[_0x2657('0xb')]('\x20'),_0x603732=_0x81319(_0x34dee5[_0x2657('0x17')](0x0)[_0x2657('0xa')]()+_0x34dee5['slice'](0x1))[_0x2657('0x1e')]();if(_0x2657('0x12')==typeof _0x3d7436)return _0x603732;if(_0x2657('0x21')===_0x1ca91b||_0x2657('0x1')===_0x1ca91b){const _0x12d3ed=_0x47b042(_0x22cde0[_0x2657('0x18')][_0x2657('0x8')]('fontColor.colors'))['find'](_0x3a3508=>_0x3a3508['model']==_0x3d7436);return _0x603732+'\x20('+(_0x12d3ed?_0x81319(_0x12d3ed['label'])[_0x2657('0x1e')]():_0x3d7436)+')';}if('fontSize'===_0x1ca91b&&isNaN(parseFloat(_0x3d7436))){const _0x41e90c=_0x22cde0[_0x2657('0x2d')][_0x2657('0x8')]('FontSize')[_0x2657('0x14')](_0x22cde0[_0x2657('0x18')][_0x2657('0x8')](_0x2657('0x1b')))['find'](_0x23d838=>_0x23d838[_0x2657('0x25')]==_0x3d7436);return _0x603732+'\x20('+(_0x41e90c?_0x81319(_0x41e90c[_0x2657('0x0')])[_0x2657('0x1e')]():_0x3d7436)+')';}return _0x603732+'\x20('+_0x3d7436+')';}
23
+ const _0x3e13=['locale','getRanges','getSelectedBlocks','isCollapsed','getAttributeProperties','model','markInlineFormat','fontColor.colors','commands','get','join','length','FontSize','forward','TrackChangesEditing','find','config','document','split','schema','title','selection','fontBackgroundColor','afterInit','getItems','getFirstPosition','isBlock','slice','change','copyFormat','from','createSelection','modifySelection','plugins','format','getLastPosition','toUpperCase','editor','normalizeSizeOptions','charAt','_descriptionFactory','word','label','push','getAttributes','toLowerCase','createRange','pasteFormat','entries','commandName'];(function(_0x3b6a5c,_0x3e1315){const _0x385a76=function(_0x253c31){while(--_0x253c31){_0x3b6a5c['push'](_0x3b6a5c['shift']());}};_0x385a76(++_0x3e1315);}(_0x3e13,0x15d));const _0x385a=function(_0x3b6a5c,_0x3e1315){_0x3b6a5c=_0x3b6a5c-0x0;let _0x385a76=_0x3e13[_0x3b6a5c];return _0x385a76;};import{Plugin as _0x290b75}from'ckeditor5/src/core';import{normalizeColorOptions as _0x245f52}from'ckeditor5/src/ui';import{first as _0x4a50a7}from'ckeditor5/src/utils';import{getTranslation as _0x5469f8}from'../utils/common-translations';export default class W extends _0x290b75{[_0x385a('0x18')](){const _0x242e29=this[_0x385a('0x26')],_0x454a8a=_0x242e29['model'],_0x9236d6=_0x454a8a[_0x385a('0x12')][_0x385a('0x16')],_0x4fa6bc=_0x242e29['plugins'][_0x385a('0xa')]('TrackChangesEditing'),_0x3316e5=_0x242e29['locale'],_0x3b3c3d=_0x242e29[_0x385a('0x9')]['get'](_0x385a('0x1e')),_0x3d2893=_0x242e29[_0x385a('0x9')][_0x385a('0xa')](_0x385a('0x30'));_0x3b3c3d&&_0x3d2893&&(_0x4fa6bc['enableCommand'](_0x385a('0x30'),(_0x3d74d3,_0x5efdaa={})=>{const _0x1f4d7c=_0x5efdaa;_0x454a8a[_0x385a('0x1d')](()=>{const _0x1c82bc=Array[_0x385a('0x1f')](_0x9236d6[_0x385a('0x2')]()),_0x4095db=_0x9236d6[_0x385a('0x4')]?[ro(_0x454a8a,_0x9236d6)]:_0x1c82bc,_0x512168=!!_0x4a50a7(function*(_0x138c78,_0x25219a){const _0x22631f=_0x36e9c7=>!!_0x4a50a7(function*(_0x2d2f2d,_0x38bd03){for(const [_0x353578]of _0x2d2f2d[_0x385a('0x2d')]()){const _0x7b5abc=_0x38bd03[_0x385a('0x5')](_0x353578);_0x7b5abc&&_0x7b5abc['isFormatting']&&(yield _0x353578);}}(_0x36e9c7,_0x25219a));for(const _0x26942e of _0x138c78[_0x385a('0x2')]())for(const _0x969243 of _0x26942e[_0x385a('0x19')]())!_0x25219a[_0x385a('0x1b')](_0x969243)&&_0x22631f(_0x969243)&&(yield _0x969243);for(const _0x278b5b of _0x138c78[_0x385a('0x3')]())_0x22631f(_0x278b5b)&&(yield _0x278b5b);_0x22631f(_0x138c78)&&(yield _0x138c78);}(_0x9236d6,_0x454a8a[_0x385a('0x14')]));if(_0x512168||0x0!==Object['keys'](_0x1f4d7c)[_0x385a('0xc')])for(const _0x421490 of _0x4095db)_0x4fa6bc[_0x385a('0x7')](_0x421490,{'commandName':_0x385a('0x30'),'commandParams':[_0x1f4d7c]});});}),_0x4fa6bc[_0x385a('0x29')]['registerDescriptionCallback'](_0x22cadd=>{const {data:_0x392234}=_0x22cadd;if(_0x392234&&_0x385a('0x30')===_0x392234[_0x385a('0x0')]){const _0x1fa697=[],_0x5ec871=_0x392234['commandParams'][0x0];for(const [_0x1645f2,_0x1abc80]of Object[_0x385a('0x31')](_0x5ec871))_0x1fa697[_0x385a('0x2c')](no(_0x242e29,_0x1645f2,_0x1abc80));return _0x1fa697[_0x385a('0xc')]?{'type':_0x385a('0x23'),'content':_0x5469f8(_0x3316e5,'*Set\x20format\x20to:*\x20%0',_0x1fa697['join'](',\x20'))}:{'type':_0x385a('0x23'),'content':_0x5469f8(_0x3316e5,'*Remove\x20all\x20formatting*')};}}),_0x242e29[_0x385a('0x22')][_0x385a('0xa')](_0x385a('0xf'))['enableCommand']('copyFormat'));}}function ro(_0x197c16,_0x3c6a30){const _0x3f797f=_0x197c16[_0x385a('0x20')](_0x3c6a30);_0x197c16[_0x385a('0x21')](_0x3f797f,{'unit':_0x385a('0x2a'),'direction':'backward'});const _0x3b44a8=_0x3f797f[_0x385a('0x1a')]();_0x197c16[_0x385a('0x21')](_0x3f797f,{'unit':_0x385a('0x2a'),'direction':_0x385a('0xe')});const _0x4f01e7=_0x3f797f[_0x385a('0x24')]();return _0x197c16[_0x385a('0x2f')](_0x3b44a8,_0x4f01e7);}function no(_0x29203b,_0x2c24eb,_0x386af7){const _0x2d6940=_0x29203b[_0x385a('0x1')]['t'],_0x381dc6=_0x2c24eb[_0x385a('0x13')](/(?=[A-Z])/)[_0x385a('0xb')]('\x20'),_0xc0b1b6=_0x2d6940(_0x381dc6[_0x385a('0x28')](0x0)[_0x385a('0x25')]()+_0x381dc6[_0x385a('0x1c')](0x1))['toLowerCase']();if('boolean'==typeof _0x386af7)return _0xc0b1b6;if('fontColor'===_0x2c24eb||_0x385a('0x17')===_0x2c24eb){const _0x220f4d=_0x245f52(_0x29203b[_0x385a('0x11')][_0x385a('0xa')](_0x385a('0x8')))['find'](_0x4bc975=>_0x4bc975[_0x385a('0x6')]==_0x386af7);return _0xc0b1b6+'\x20('+(_0x220f4d?_0x2d6940(_0x220f4d[_0x385a('0x2b')])[_0x385a('0x2e')]():_0x386af7)+')';}if('fontSize'===_0x2c24eb&&isNaN(parseFloat(_0x386af7))){const _0x49a547=_0x29203b['plugins']['get'](_0x385a('0xd'))[_0x385a('0x27')](_0x29203b[_0x385a('0x11')][_0x385a('0xa')]('fontSize.options'))[_0x385a('0x10')](_0x113764=>_0x113764[_0x385a('0x6')]==_0x386af7);return _0xc0b1b6+'\x20('+(_0x49a547?_0x2d6940(_0x49a547[_0x385a('0x15')])['toLowerCase']():_0x386af7)+')';}return _0xc0b1b6+'\x20('+_0x386af7+')';}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x191d=['filter','selection','format','value','schema','TrackChangesEditing','registerDescriptionCallback','formatBlock','model','isObject','from','enableCommand','plugins','commandParams','registerElementLabel','document','get','_descriptionFactory','afterInit','blockName','match','name','*Change\x20to:*\x20%0','heading.options','getSelectedBlocks','title','paragraph','checkChild','find','heading','editor','config'];(function(_0x433156,_0x191ddb){const _0x2ee29e=function(_0x10ea67){while(--_0x10ea67){_0x433156['push'](_0x433156['shift']());}};_0x2ee29e(++_0x191ddb);}(_0x191d,0x17e));const _0x2ee2=function(_0x433156,_0x191ddb){_0x433156=_0x433156-0x0;let _0x2ee29e=_0x191d[_0x433156];return _0x2ee29e;};import{Plugin as _0x77ecff}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x15b868}from'./utils';import{getTranslation as _0x1384b9}from'../utils/common-translations';export default class J extends _0x77ecff{[_0x2ee2('0x14')](){const _0x1e5c43=this['editor'],_0x9bd746=_0x1e5c43['locale'],_0xc97340=_0x1e5c43[_0x2ee2('0x1')][_0x2ee2('0x12')](_0x2ee2('0x19'));if(!_0x1e5c43[_0x2ee2('0xe')]['has']('HeadingEditing'))return;const _0x35537b=_0x1e5c43['plugins']['get'](_0x2ee2('0x7'));_0x35537b[_0x2ee2('0xd')](_0x2ee2('0x1f'),(_0x5f27a4,_0x5afb37)=>{const _0x4ab4eb=_0x5afb37[_0x2ee2('0x5')],_0x193a87=Array[_0x2ee2('0xc')](this[_0x2ee2('0x0')]['model'][_0x2ee2('0x11')][_0x2ee2('0x3')][_0x2ee2('0x1a')]())[_0x2ee2('0x2')](_0x2626eb=>function(_0x415a30,_0xdce731,_0x48ba71){return _0x48ba71[_0x2ee2('0x1d')](_0x415a30['parent'],_0xdce731)&&!_0x48ba71[_0x2ee2('0xb')](_0x415a30)&&_0x415a30[_0x2ee2('0x17')]!=_0xdce731;}(_0x2626eb,_0x4ab4eb,this[_0x2ee2('0x0')][_0x2ee2('0xa')][_0x2ee2('0x6')]));_0x1e5c43[_0x2ee2('0xa')]['change'](()=>{for(const _0x5bf76e of _0x193a87)_0x35537b['markBlockFormat'](_0x5bf76e,{'commandName':'heading','commandParams':[_0x5afb37],'formatGroupId':_0x2ee2('0x15')},_0x15b868(_0x5bf76e));});});for(const _0x1b8828 of _0xc97340)_0x2ee2('0x1c')!=_0x1b8828[_0x2ee2('0xa')]&&_0x35537b[_0x2ee2('0x13')][_0x2ee2('0x10')](_0x1b8828[_0x2ee2('0xa')],_0x3ebdea=>{const _0x21f0a7=nn(_0x1b8828[_0x2ee2('0xa')]);return null!==_0x21f0a7?_0x2ce6c7(_0x3ebdea,_0x21f0a7):_0x13e374(_0x3ebdea,_0x1b8828[_0x2ee2('0x1b')]);});function _0x2ce6c7(_0xe1b8d9,_0x1efc50){return _0x1384b9(_0x9bd746,'ELEMENT_HEADING',[_0xe1b8d9,_0x1efc50]);}function _0x13e374(_0x1f13e2,_0x4183c6){return _0x1384b9(_0x9bd746,'ELEMENT_HEADING_CUSTOM',[_0x1f13e2,_0x4183c6]);}_0x35537b[_0x2ee2('0x13')][_0x2ee2('0x8')](_0x2cc45e=>{const {type:_0x2eba0f,data:_0x2237f2}=_0x2cc45e;if(_0x2ee2('0x9')==_0x2eba0f&&_0x2237f2&&'heading'==_0x2237f2['commandName']){const _0x262bec=_0x2237f2[_0x2ee2('0xf')][0x0][_0x2ee2('0x5')],_0x34cb50=nn(_0x262bec);if(null!==_0x34cb50)return{'type':_0x2ee2('0x4'),'content':_0x1384b9(_0x9bd746,'*Change\x20to:*\x20%0',_0x2ce6c7(0x1,_0x34cb50))};const _0x599478=_0xc97340[_0x2ee2('0x1e')](_0x3867b1=>_0x3867b1[_0x2ee2('0xa')]===_0x262bec)[_0x2ee2('0x1b')];return{'type':_0x2ee2('0x4'),'content':_0x1384b9(_0x9bd746,_0x2ee2('0x18'),_0x13e374(0x1,_0x599478))};}});}}function nn(_0x2b5b63){const _0xdb426=_0x2b5b63[_0x2ee2('0x16')](/^heading(\d+)$/);return _0xdb426?_0xdb426[0x1]:null;}
23
+ const _0x94d9=['ELEMENT_HEADING','*Change\x20to:*\x20%0','value','locale','heading','paragraph','title','model','getSelectedBlocks','match','commandName','editor','afterInit','parent','HeadingEditing','format','registerElementLabel','registerDescriptionCallback','selection','checkChild','formatBlock','markBlockFormat','isObject','document','heading.options','from','commandParams','plugins','config','_descriptionFactory','enableCommand','change','has'];(function(_0x153de0,_0x94d9b9){const _0xf7a738=function(_0x2e94d2){while(--_0x2e94d2){_0x153de0['push'](_0x153de0['shift']());}};_0xf7a738(++_0x94d9b9);}(_0x94d9,0xbd));const _0xf7a7=function(_0x153de0,_0x94d9b9){_0x153de0=_0x153de0-0x0;let _0xf7a738=_0x94d9[_0x153de0];return _0xf7a738;};import{Plugin as _0x2b8912}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x3630cc}from'./utils';import{getTranslation as _0x457924}from'../utils/common-translations';export default class J extends _0x2b8912{[_0xf7a7('0x15')](){const _0x29bf3c=this[_0xf7a7('0x14')],_0x4fc9bc=_0x29bf3c[_0xf7a7('0xc')],_0xab8867=_0x29bf3c[_0xf7a7('0x4')]['get'](_0xf7a7('0x0'));if(!_0x29bf3c[_0xf7a7('0x3')][_0xf7a7('0x8')](_0xf7a7('0x17')))return;const _0x232a46=_0x29bf3c[_0xf7a7('0x3')]['get']('TrackChangesEditing');_0x232a46[_0xf7a7('0x6')](_0xf7a7('0xd'),(_0x578df6,_0x449ece)=>{const _0x2a9222=_0x449ece[_0xf7a7('0xb')],_0x598808=Array[_0xf7a7('0x1')](this[_0xf7a7('0x14')]['model'][_0xf7a7('0x20')][_0xf7a7('0x1b')][_0xf7a7('0x11')]())['filter'](_0x18210c=>function(_0x31e0a7,_0x2dde6c,_0x57854f){return _0x57854f[_0xf7a7('0x1c')](_0x31e0a7[_0xf7a7('0x16')],_0x2dde6c)&&!_0x57854f[_0xf7a7('0x1f')](_0x31e0a7)&&_0x31e0a7['name']!=_0x2dde6c;}(_0x18210c,_0x2a9222,this[_0xf7a7('0x14')][_0xf7a7('0x10')]['schema']));_0x29bf3c['model'][_0xf7a7('0x7')](()=>{for(const _0x581948 of _0x598808)_0x232a46[_0xf7a7('0x1e')](_0x581948,{'commandName':'heading','commandParams':[_0x449ece],'formatGroupId':'blockName'},_0x3630cc(_0x581948));});});for(const _0x20c36c of _0xab8867)_0xf7a7('0xe')!=_0x20c36c[_0xf7a7('0x10')]&&_0x232a46[_0xf7a7('0x5')][_0xf7a7('0x19')](_0x20c36c['model'],_0x12cb69=>{const _0x23fbc2=nn(_0x20c36c['model']);return null!==_0x23fbc2?_0x284263(_0x12cb69,_0x23fbc2):_0x53f9bd(_0x12cb69,_0x20c36c[_0xf7a7('0xf')]);});function _0x284263(_0x595f13,_0x558c2d){return _0x457924(_0x4fc9bc,_0xf7a7('0x9'),[_0x595f13,_0x558c2d]);}function _0x53f9bd(_0x46c7aa,_0x7508bd){return _0x457924(_0x4fc9bc,'ELEMENT_HEADING_CUSTOM',[_0x46c7aa,_0x7508bd]);}_0x232a46['_descriptionFactory'][_0xf7a7('0x1a')](_0x1f4ba5=>{const {type:_0x43005a,data:_0x14e335}=_0x1f4ba5;if(_0xf7a7('0x1d')==_0x43005a&&_0x14e335&&_0xf7a7('0xd')==_0x14e335[_0xf7a7('0x13')]){const _0x51e324=_0x14e335[_0xf7a7('0x2')][0x0][_0xf7a7('0xb')],_0xbc28f3=nn(_0x51e324);if(null!==_0xbc28f3)return{'type':_0xf7a7('0x18'),'content':_0x457924(_0x4fc9bc,'*Change\x20to:*\x20%0',_0x284263(0x1,_0xbc28f3))};const _0x3f6881=_0xab8867['find'](_0x462877=>_0x462877[_0xf7a7('0x10')]===_0x51e324)[_0xf7a7('0xf')];return{'type':_0xf7a7('0x18'),'content':_0x457924(_0x4fc9bc,_0xf7a7('0xa'),_0x53f9bd(0x1,_0x3f6881))};}});}}function nn(_0x3effa5){const _0x16e874=_0x3effa5[_0xf7a7('0x12')](/^heading(\d+)$/);return _0x16e874?_0x16e874[0x1]:null;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x10c3=['*Set\x20highlight:*\x20%0','registerDescriptionCallback','document','change','getFirstPosition','plugins','highlight.options','has','highlight','value','FORMAT_HIGHLIGHT','getAttribute','item','editor','format','backward','afterInit','_descriptionFactory','color','formatInline','get','isCollapsed','getLastMatchingPosition','commandParams','config','selection','push','find','model','commandName','title','*Remove\x20highlight*','locale','createRange','markInlineFormat','hasAttribute'];(function(_0x75a3ce,_0x10c337){const _0x2a6351=function(_0x53814a){while(--_0x53814a){_0x75a3ce['push'](_0x75a3ce['shift']());}};_0x2a6351(++_0x10c337);}(_0x10c3,0x82));const _0x2a63=function(_0x75a3ce,_0x10c337){_0x75a3ce=_0x75a3ce-0x0;let _0x2a6351=_0x10c3[_0x75a3ce];return _0x2a6351;};import{Plugin as _0xe4f22f}from'ckeditor5/src/core';import{getTranslation as _0x123aab}from'../utils/common-translations';import{getRangesWithAttribute as _0x55c5bf}from'./utils';export default class K extends _0xe4f22f{[_0x2a63('0x1e')](){const _0x1b4da1=this[_0x2a63('0x1b')];if(!_0x1b4da1[_0x2a63('0x13')][_0x2a63('0x15')]('HighlightEditing'))return;const _0x43197c=_0x1b4da1[_0x2a63('0x13')][_0x2a63('0x22')]('TrackChangesEditing');_0x43197c['enableCommand'](_0x2a63('0x16'),(_0x193f4d,_0x3b7cfb={})=>{const _0x3ed812=_0x1b4da1[_0x2a63('0x6')][_0x2a63('0x10')][_0x2a63('0x3')],_0x2aad8a=_0x3ed812[_0x2a63('0x19')](_0x2a63('0x16'));let _0x242747=_0x3b7cfb[_0x2a63('0x17')],_0x26351c=[];if(_0x3ed812[_0x2a63('0x23')]){const _0x53ed29=_0x3ed812[_0x2a63('0x12')]();if(!_0x3ed812[_0x2a63('0xd')](_0x2a63('0x16')))return void _0x193f4d(_0x3b7cfb);{const _0x2fba23=_0x173d7c=>_0x173d7c[_0x2a63('0x1a')][_0x2a63('0x19')](_0x2a63('0x16'))===_0x2aad8a,_0xf5efac=_0x53ed29[_0x2a63('0x0')](_0x2fba23,{'direction':_0x2a63('0x1d')}),_0xbd6c07=_0x53ed29[_0x2a63('0x0')](_0x2fba23);_0x26351c=[_0x1b4da1[_0x2a63('0x6')][_0x2a63('0xb')](_0xf5efac,_0xbd6c07)],_0x242747==_0x2aad8a&&(_0x242747=null);}}else for(const _0xf7ac62 of _0x3ed812['getRanges']())_0x242747?_0x26351c['push'](_0xf7ac62):_0x26351c[_0x2a63('0x4')](..._0x55c5bf(_0x2a63('0x16'),_0xf7ac62,_0x1b4da1['model']));_0x1b4da1['model'][_0x2a63('0x11')](()=>{for(const _0x2d1372 of _0x26351c)_0x43197c[_0x2a63('0xc')](_0x2d1372,{'commandName':'highlight','commandParams':[{'value':_0x242747}]});});});const _0x58828c=_0x1b4da1[_0x2a63('0xa')];_0x43197c[_0x2a63('0x1f')][_0x2a63('0xf')](_0x175951=>{const {type:_0x422bf8,data:_0x2f030e}=_0x175951;if(_0x2a63('0x21')==_0x422bf8&&_0x2f030e&&_0x2a63('0x16')==_0x2f030e[_0x2a63('0x7')]){const _0x30be6c=_0x58828c['t'],_0x23ab1c=_0x2f030e[_0x2a63('0x1')][0x0][_0x2a63('0x17')];if(_0x23ab1c){const _0x4ddae6=_0x1b4da1[_0x2a63('0x2')][_0x2a63('0x22')](_0x2a63('0x14'))[_0x2a63('0x5')](_0x5dfab0=>_0x5dfab0[_0x2a63('0x6')]==_0x23ab1c),_0x37d885=_0x30be6c(_0x4ddae6['title'])['toLowerCase']();return{'type':_0x2a63('0x1c'),'content':_0x123aab(_0x58828c,_0x2a63('0xe'),_0x37d885),'color':{'value':_0x4ddae6[_0x2a63('0x20')],'title':_0x4ddae6[_0x2a63('0x8')]}};}return{'type':'format','content':_0x123aab(_0x58828c,_0x2a63('0x9'),_0x123aab(_0x58828c,_0x2a63('0x18')))};}});}}
23
+ const _0x96e4=['isCollapsed','has','enableCommand','toLowerCase','backward','getAttribute','getLastMatchingPosition','editor','getFirstPosition','item','plugins','value','change','highlight','_descriptionFactory','document','hasAttribute','format','TrackChangesEditing','model','afterInit','get','find','highlight.options','createRange','color','push','HighlightEditing','*Set\x20highlight:*\x20%0','registerDescriptionCallback','commandParams','getRanges','locale','title'];(function(_0x152aa2,_0x96e4ef){const _0x380a69=function(_0xe70f0e){while(--_0xe70f0e){_0x152aa2['push'](_0x152aa2['shift']());}};_0x380a69(++_0x96e4ef);}(_0x96e4,0xbc));const _0x380a=function(_0x152aa2,_0x96e4ef){_0x152aa2=_0x152aa2-0x0;let _0x380a69=_0x96e4[_0x152aa2];return _0x380a69;};import{Plugin as _0x35e1c8}from'ckeditor5/src/core';import{getTranslation as _0xdb05e5}from'../utils/common-translations';import{getRangesWithAttribute as _0x193355}from'./utils';export default class K extends _0x35e1c8{[_0x380a('0x2')](){const _0x245407=this[_0x380a('0x17')];if(!_0x245407[_0x380a('0x1a')][_0x380a('0x11')](_0x380a('0x9')))return;const _0xd7b1dd=_0x245407['plugins'][_0x380a('0x3')](_0x380a('0x0'));_0xd7b1dd[_0x380a('0x12')](_0x380a('0x1d'),(_0xf6c0d0,_0xe22c77={})=>{const _0x39179d=_0x245407[_0x380a('0x1')][_0x380a('0x1f')]['selection'],_0x213669=_0x39179d[_0x380a('0x15')](_0x380a('0x1d'));let _0x3b6967=_0xe22c77[_0x380a('0x1b')],_0x14fa54=[];if(_0x39179d[_0x380a('0x10')]){const _0x24270a=_0x39179d[_0x380a('0x18')]();if(!_0x39179d[_0x380a('0x20')](_0x380a('0x1d')))return void _0xf6c0d0(_0xe22c77);{const _0x36204b=_0x4b5576=>_0x4b5576[_0x380a('0x19')]['getAttribute']('highlight')===_0x213669,_0x13f2e7=_0x24270a[_0x380a('0x16')](_0x36204b,{'direction':_0x380a('0x14')}),_0x32acc8=_0x24270a[_0x380a('0x16')](_0x36204b);_0x14fa54=[_0x245407[_0x380a('0x1')][_0x380a('0x6')](_0x13f2e7,_0x32acc8)],_0x3b6967==_0x213669&&(_0x3b6967=null);}}else for(const _0x366b2b of _0x39179d[_0x380a('0xd')]())_0x3b6967?_0x14fa54[_0x380a('0x8')](_0x366b2b):_0x14fa54[_0x380a('0x8')](..._0x193355(_0x380a('0x1d'),_0x366b2b,_0x245407[_0x380a('0x1')]));_0x245407[_0x380a('0x1')][_0x380a('0x1c')](()=>{for(const _0x1873e5 of _0x14fa54)_0xd7b1dd['markInlineFormat'](_0x1873e5,{'commandName':'highlight','commandParams':[{'value':_0x3b6967}]});});});const _0x2d1fad=_0x245407[_0x380a('0xe')];_0xd7b1dd[_0x380a('0x1e')][_0x380a('0xb')](_0x103bfa=>{const {type:_0x31a158,data:_0x26e342}=_0x103bfa;if('formatInline'==_0x31a158&&_0x26e342&&'highlight'==_0x26e342['commandName']){const _0x5b4e1f=_0x2d1fad['t'],_0x592012=_0x26e342[_0x380a('0xc')][0x0][_0x380a('0x1b')];if(_0x592012){const _0x1597aa=_0x245407['config'][_0x380a('0x3')](_0x380a('0x5'))[_0x380a('0x4')](_0x95521d=>_0x95521d[_0x380a('0x1')]==_0x592012),_0x22ab3d=_0x5b4e1f(_0x1597aa['title'])[_0x380a('0x13')]();return{'type':_0x380a('0x21'),'content':_0xdb05e5(_0x2d1fad,_0x380a('0xa'),_0x22ab3d),'color':{'value':_0x1597aa[_0x380a('0x7')],'title':_0x1597aa[_0x380a('0xf')]}};}return{'type':_0x380a('0x21'),'content':_0xdb05e5(_0x2d1fad,'*Remove\x20highlight*',_0xdb05e5(_0x2d1fad,'FORMAT_HIGHLIGHT'))};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x25e6=['addClass','createEmptyElement','get','for','elementToStructure','showSuggestionHighlights','ck-horizontal-line','locale','insert','conversion','editor','high','horizontalLine','ELEMENT_HORIZONTAL_LINE','TrackChangesEditing','createPositionAt','plugins','createContainerElement','HorizontalLineEditing'];(function(_0x3dec08,_0x25e611){const _0x2f26ef=function(_0x43f6ca){while(--_0x43f6ca){_0x3dec08['push'](_0x3dec08['shift']());}};_0x2f26ef(++_0x25e611);}(_0x25e6,0x74));const _0x2f26=function(_0x3dec08,_0x25e611){_0x3dec08=_0x3dec08-0x0;let _0x2f26ef=_0x25e6[_0x3dec08];return _0x2f26ef;};import{Plugin as _0x494707}from'ckeditor5/src/core';import{getTranslation as _0x1b019b}from'../utils/common-translations';export default class Q extends _0x494707{['afterInit'](){const _0x32477f=this[_0x2f26('0x8')];if(!_0x32477f[_0x2f26('0xe')]['has'](_0x2f26('0x10')))return;_0x32477f[_0x2f26('0xe')]['get'](_0x2f26('0xc'))['enableCommand'](_0x2f26('0xa'));const _0xb99fcf=_0x32477f[_0x2f26('0xe')][_0x2f26('0x0')](_0x2f26('0xc')),_0x25066d=_0x32477f[_0x2f26('0x5')];_0xb99fcf['_descriptionFactory']['registerElementLabel'](_0x2f26('0xa'),_0x4a8cae=>_0x1b019b(_0x25066d,_0x2f26('0xb'),_0x4a8cae)),_0x32477f[_0x2f26('0x7')][_0x2f26('0x1')]('dataDowncast')[_0x2f26('0x2')]({'model':_0x2f26('0xa'),'view':(_0x57c378,{writer:_0x5b5049,options:_0x2cb245})=>{if(!_0x2cb245[_0x2f26('0x3')])return null;const _0x1e6bbc=_0x5b5049[_0x2f26('0xf')]('div'),_0x58955a=_0x5b5049[_0x2f26('0x12')]('hr');return _0x5b5049[_0x2f26('0x11')](_0x2f26('0x4'),_0x1e6bbc),_0x5b5049[_0x2f26('0x6')](_0x5b5049[_0x2f26('0xd')](_0x1e6bbc,0x0),_0x58955a),_0x1e6bbc;},'converterPriority':_0x2f26('0x9')});}}
23
+ const _0x2902=['horizontalLine','ELEMENT_HORIZONTAL_LINE','plugins','conversion','ck-horizontal-line','createEmptyElement','div','HorizontalLineEditing','locale','get','editor','createPositionAt','elementToStructure','TrackChangesEditing','insert','createContainerElement','registerElementLabel','addClass','has','showSuggestionHighlights'];(function(_0x5e5e0d,_0x2902bd){const _0x47ad6c=function(_0x20ae45){while(--_0x20ae45){_0x5e5e0d['push'](_0x5e5e0d['shift']());}};_0x47ad6c(++_0x2902bd);}(_0x2902,0x7c));const _0x47ad=function(_0x5e5e0d,_0x2902bd){_0x5e5e0d=_0x5e5e0d-0x0;let _0x47ad6c=_0x2902[_0x5e5e0d];return _0x47ad6c;};import{Plugin as _0x315b87}from'ckeditor5/src/core';import{getTranslation as _0x495f9f}from'../utils/common-translations';export default class Q extends _0x315b87{['afterInit'](){const _0x1955ef=this[_0x47ad('0x6')];if(!_0x1955ef['plugins'][_0x47ad('0xe')](_0x47ad('0x3')))return;_0x1955ef['plugins'][_0x47ad('0x5')](_0x47ad('0x9'))['enableCommand']('horizontalLine');const _0x2fda06=_0x1955ef[_0x47ad('0x12')][_0x47ad('0x5')](_0x47ad('0x9')),_0x5f11c8=_0x1955ef[_0x47ad('0x4')];_0x2fda06['_descriptionFactory'][_0x47ad('0xc')](_0x47ad('0x10'),_0x49451f=>_0x495f9f(_0x5f11c8,_0x47ad('0x11'),_0x49451f)),_0x1955ef[_0x47ad('0x13')]['for']('dataDowncast')[_0x47ad('0x8')]({'model':_0x47ad('0x10'),'view':(_0x330e76,{writer:_0x5de6d9,options:_0x4db02a})=>{if(!_0x4db02a[_0x47ad('0xf')])return null;const _0x398f72=_0x5de6d9[_0x47ad('0xb')](_0x47ad('0x2')),_0x22a30a=_0x5de6d9[_0x47ad('0x1')]('hr');return _0x5de6d9[_0x47ad('0xd')](_0x47ad('0x0'),_0x398f72),_0x5de6d9[_0x47ad('0xa')](_0x5de6d9[_0x47ad('0x7')](_0x398f72,0x0),_0x22a30a),_0x398f72;},'converterPriority':'high'});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x358a=['element','format','htmlEmbed','model','commandName','*Change\x20%0\x20content*','afterInit','locale','enableCommand','getCustomProperty','selection','rawHtml','editing','get','has','getSelectedElement','value','view','TrackChangesEditing','editor','ELEMENT_HTML_EMBED','_descriptionFactory','registerDescriptionCallback','plugins'];(function(_0x382ec6,_0x358ab5){const _0x2d1e2c=function(_0x58621e){while(--_0x58621e){_0x382ec6['push'](_0x382ec6['shift']());}};_0x2d1e2c(++_0x358ab5);}(_0x358a,0x150));const _0x2d1e=function(_0x382ec6,_0x358ab5){_0x382ec6=_0x382ec6-0x0;let _0x2d1e2c=_0x358a[_0x382ec6];return _0x2d1e2c;};import{Plugin as _0x598e17}from'ckeditor5/src/core';import{getTranslation as _0x315fd4}from'../utils/common-translations';export default class V extends _0x598e17{[_0x2d1e('0x6')](){const _0x3ed3fa=this[_0x2d1e('0x13')];if(!_0x3ed3fa[_0x2d1e('0x17')][_0x2d1e('0xe')]('HtmlEmbed'))return;const _0x1ce29b=_0x3ed3fa[_0x2d1e('0x17')][_0x2d1e('0xd')](_0x2d1e('0x12')),_0x5234a5=_0x3ed3fa[_0x2d1e('0x7')],_0xb5b40b=_0x3ed3fa[_0x2d1e('0xc')][_0x2d1e('0x11')]['document'][_0x2d1e('0xa')];_0x1ce29b['_descriptionFactory']['registerElementLabel'](_0x2d1e('0xb'),_0x294280=>_0x315fd4(_0x5234a5,_0x2d1e('0x14'),_0x294280)),_0x3ed3fa[_0x2d1e('0x17')][_0x2d1e('0xd')]('TrackChangesEditing')[_0x2d1e('0x8')](_0x2d1e('0x2'),(_0x5c6fa8,_0x66e85b)=>{const _0x4dd3ca=_0x3ed3fa[_0x2d1e('0x3')],_0x33fe34=_0x4dd3ca['document'][_0x2d1e('0xa')];_0x4dd3ca['change'](()=>{const _0x2b1edb=function(_0x367a77){const _0x262f64=_0x367a77['getSelectedElement']();if(_0x262f64&&_0x262f64['is'](_0x2d1e('0x0'),_0x2d1e('0xb')))return _0x367a77[_0x2d1e('0xf')]();return null;}(_0x33fe34);if(!_0x2b1edb)return void _0x5c6fa8(null);const _0x1c714a=_0x2b1edb['getAttribute'](_0x2d1e('0x10'))||'';if(void 0x0===_0x66e85b)return;if(_0x66e85b===_0x1c714a)return;_0x1ce29b['markBlockFormat'](_0x2b1edb,{'commandName':_0x2d1e('0x2'),'commandParams':[_0x66e85b]}),_0xb5b40b['getSelectedElement']()[_0x2d1e('0x9')]('rawHtmlApi')['cancel']();});}),_0x1ce29b[_0x2d1e('0x15')][_0x2d1e('0x16')](_0x484edd=>{const {data:_0x502f63}=_0x484edd;if(_0x502f63&&_0x2d1e('0x2')==_0x502f63[_0x2d1e('0x4')]){const _0x215c2d=_0x315fd4(_0x5234a5,'ELEMENT_HTML_EMBED');return{'type':_0x2d1e('0x1'),'content':_0x315fd4(_0x5234a5,_0x2d1e('0x5'),_0x215c2d)};}});}}
23
+ const _0x3168=['editor','plugins','enableCommand','editing','model','has','change','cancel','htmlEmbed','locale','value','*Change\x20%0\x20content*','selection','ELEMENT_HTML_EMBED','getAttribute','get','rawHtmlApi','markBlockFormat','_descriptionFactory','element','getCustomProperty','document','afterInit','TrackChangesEditing','rawHtml','format','view','getSelectedElement'];(function(_0x283f4d,_0x31687e){const _0x48d414=function(_0x5f3735){while(--_0x5f3735){_0x283f4d['push'](_0x283f4d['shift']());}};_0x48d414(++_0x31687e);}(_0x3168,0x10d));const _0x48d4=function(_0x283f4d,_0x31687e){_0x283f4d=_0x283f4d-0x0;let _0x48d414=_0x3168[_0x283f4d];return _0x48d414;};import{Plugin as _0x3e953d}from'ckeditor5/src/core';import{getTranslation as _0x450bf7}from'../utils/common-translations';export default class V extends _0x3e953d{[_0x48d4('0x5')](){const _0x13a9bf=this[_0x48d4('0xb')];if(!_0x13a9bf[_0x48d4('0xc')][_0x48d4('0x10')]('HtmlEmbed'))return;const _0x39753d=_0x13a9bf[_0x48d4('0xc')][_0x48d4('0x1a')](_0x48d4('0x6')),_0x4c06d9=_0x13a9bf[_0x48d4('0x14')],_0x179c58=_0x13a9bf[_0x48d4('0xe')][_0x48d4('0x9')][_0x48d4('0x4')][_0x48d4('0x17')];_0x39753d[_0x48d4('0x1')]['registerElementLabel']('rawHtml',_0x42e155=>_0x450bf7(_0x4c06d9,'ELEMENT_HTML_EMBED',_0x42e155)),_0x13a9bf[_0x48d4('0xc')][_0x48d4('0x1a')]('TrackChangesEditing')[_0x48d4('0xd')](_0x48d4('0x13'),(_0x5c2f20,_0x57c8a2)=>{const _0x2ed57a=_0x13a9bf[_0x48d4('0xf')],_0x477d56=_0x2ed57a[_0x48d4('0x4')]['selection'];_0x2ed57a[_0x48d4('0x11')](()=>{const _0x28276c=function(_0x36e5f8){const _0x76dbcc=_0x36e5f8[_0x48d4('0xa')]();if(_0x76dbcc&&_0x76dbcc['is'](_0x48d4('0x2'),_0x48d4('0x7')))return _0x36e5f8[_0x48d4('0xa')]();return null;}(_0x477d56);if(!_0x28276c)return void _0x5c2f20(null);const _0x19d5f7=_0x28276c[_0x48d4('0x19')](_0x48d4('0x15'))||'';if(void 0x0===_0x57c8a2)return;if(_0x57c8a2===_0x19d5f7)return;_0x39753d[_0x48d4('0x0')](_0x28276c,{'commandName':'htmlEmbed','commandParams':[_0x57c8a2]}),_0x179c58['getSelectedElement']()[_0x48d4('0x3')](_0x48d4('0x1b'))[_0x48d4('0x12')]();});}),_0x39753d[_0x48d4('0x1')]['registerDescriptionCallback'](_0x541d1c=>{const {data:_0x142ca7}=_0x541d1c;if(_0x142ca7&&_0x48d4('0x13')==_0x142ca7['commandName']){const _0x465684=_0x450bf7(_0x4c06d9,_0x48d4('0x18'));return{'type':_0x48d4('0x8'),'content':_0x450bf7(_0x4c06d9,_0x48d4('0x16'),_0x465684)};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2d6e=['commandParams','imageStylePostApply','from','imageStyle','start','accept','value','convertBlockImageToInline','imageInline','ELEMENT_INLINE_IMAGE','editor','commandName','model','ImageBlockEditing','createRange','getSuggestions','getCaptionFromImageModelElement','afterInit','format','nodeBefore','hasSuggestion','resizeImage','get','createRangeOn','getNearestSelectionRange','imageCaption','*Reset\x20image\x20width*','find','chain','commands','width','isInlineImage','getContainedElement','removeObject','ImageEditing','subType','getChangedMarkers','_descriptionFactory','element','imageTextAlternative','registerElementLabel','type','getFirstRange','join','head','filter','*Remove\x20image\x20text\x20alternative*','alt','detach','imageStylePreApply','ImageUtils','isBlockImage','ImageUploadEditing','ImageCaptionEditing','markBlockFormat','discardSuggestion','formatInline','selection','uploadImage','change','registerCustomCallback','*Set\x20image\x20text\x20alternative:*\x20%0','imageTypeBlock','getClosestSelectedImageElement','ImageCaptionUtils','_findSuggestions','markDeletion','fromPosition','forward','length','getAttribute','addObject','document','plugins','_suggestionFactory','insertion','isBefore','newRange','forceDefaultExecution','locale','findIndex','imageBlock','caption','getSuggestion','forEach','insertImage','previous','formatBlock','_splitMarkerName','markInlineFormat','side','imageTypeInline','discard','TrackChangesEditing','isEqual','isInContent','*Format:*\x20%0','refresh','isCollapsed','registerPostFixer','newValue','nodeAfter','next','Users','isOwn','ELEMENT_IMAGE','Inline\x20image\x20to\x20block\x20image','markInsertion','toggleImageCaption','schema','toNext','author','hasAttribute','has','normalizedStyles','registerDescriptionCallback','ImageStyleEditing','ELEMENT_CAPTION','enableCommand','Block\x20image\x20to\x20inline\x20image','name','ImageResize','end','convertInlineImageToBlock','getSuggestionCallback'];(function(_0x3d5f71,_0x2d6ee7){const _0x2246c6=function(_0x202591){while(--_0x202591){_0x3d5f71['push'](_0x3d5f71['shift']());}};_0x2246c6(++_0x2d6ee7);}(_0x2d6e,0x166));const _0x2246=function(_0x3d5f71,_0x2d6ee7){_0x3d5f71=_0x3d5f71-0x0;let _0x2246c6=_0x2d6e[_0x3d5f71];return _0x2246c6;};import{Plugin as _0x4f1995}from'ckeditor5/src/core';import{LivePosition as _0x391dda}from'ckeditor5/src/engine';import{uid as _0xc67b00}from'ckeditor5/src/utils';import{getTranslation as _0x32febd}from'../utils/common-translations';export default class X extends _0x4f1995{[_0x2246('0x22')](){const _0x3728f8=this[_0x2246('0x1b')];if(!_0x3728f8[_0x2246('0x5a')][_0x2246('0x5')](_0x2246('0x33')))return;const _0x102ce0=_0x3728f8[_0x2246('0x5a')]['get'](_0x2246('0x6e')),_0x26bd56=_0x3728f8['plugins'][_0x2246('0x27')](_0x2246('0x43')),_0xb30955={},_0x7ca646=_0x3728f8[_0x2246('0x60')];if(_0x102ce0[_0x2246('0xa')](_0x2246('0x66')),_0x102ce0['_descriptionFactory'][_0x2246('0x39')](_0x2246('0x62'),_0x4de913=>_0x32febd(_0x7ca646,_0x2246('0x7a'),_0x4de913)),_0x102ce0[_0x2246('0x36')][_0x2246('0x39')](_0x2246('0x19'),_0x385f8c=>_0x32febd(_0x7ca646,_0x2246('0x1a'),_0x385f8c)),_0x102ce0[_0x2246('0x36')]['registerElementLabel'](_0x2246('0x63'),()=>_0x32febd(_0x7ca646,_0x2246('0x9'))),_0x3728f8['plugins'][_0x2246('0x5')](_0x2246('0x45'))&&_0x102ce0[_0x2246('0xa')](_0x2246('0x4b')),_0x3728f8[_0x2246('0x5a')][_0x2246('0x5')](_0x2246('0x1e'))&&_0x3728f8[_0x2246('0x5a')][_0x2246('0x5')]('ImageInlineEditing')&&(_0x102ce0[_0x2246('0xa')](_0x2246('0x6c'),(_0x30dfad,_0x134a21)=>{const _0x3ed0ab=_0x26bd56[_0x2246('0x50')](_0x3728f8[_0x2246('0x1d')][_0x2246('0x59')][_0x2246('0x4a')]);_0x3728f8[_0x2246('0x1d')][_0x2246('0x4c')](()=>{_0x102ce0[_0x2246('0x47')](_0x3ed0ab,{'commandName':_0x2246('0x6c'),'commandParams':[_0x134a21]},[],_0x2246('0x18'));});}),_0x102ce0[_0x2246('0xa')](_0x2246('0x4f'),(_0x32f14b,_0x30b1ad)=>{_0x3728f8[_0x2246('0x1d')][_0x2246('0x4c')](_0x4f42a4=>{let _0x1cf18a=_0x26bd56[_0x2246('0x50')](_0x3728f8['model'][_0x2246('0x59')][_0x2246('0x4a')]),_0x5e184f=_0x4f42a4[_0x2246('0x28')](_0x1cf18a);const _0x2132dd=_0x391dda['fromPosition'](_0x5e184f[_0x2246('0x15')],'toPrevious'),_0x1b530e=_0x391dda[_0x2246('0x54')](_0x5e184f[_0x2246('0xe')],_0x2246('0x2'));_0x102ce0[_0x2246('0x5f')](()=>_0x32f14b(_0x30b1ad)),_0x1cf18a=_0x26bd56[_0x2246('0x50')](_0x3728f8[_0x2246('0x1d')][_0x2246('0x59')][_0x2246('0x4a')]),_0x5e184f=_0x4f42a4[_0x2246('0x28')](_0x1cf18a);const _0x4b0ec0=_0x4f42a4[_0x2246('0x1f')](_0x2132dd,_0x1b530e);_0x2132dd[_0x2246('0x41')](),_0x1b530e[_0x2246('0x41')](),_0x102ce0[_0x2246('0x47')](_0x1cf18a,{'commandName':_0x2246('0x6c'),'commandParams':[]},[],'convertInlineImageToBlock'),_0x4b0ec0[_0x2246('0x15')]['isBefore'](_0x5e184f[_0x2246('0x15')])&&_0x102ce0[_0x2246('0x7c')](_0x4f42a4[_0x2246('0x1f')](_0x4b0ec0[_0x2246('0x15')],_0x5e184f['start']),'convertInlineImageToBlock'),_0x5e184f['end'][_0x2246('0x5d')](_0x4b0ec0[_0x2246('0xe')])&&_0x102ce0[_0x2246('0x7c')](_0x4f42a4[_0x2246('0x1f')](_0x5e184f[_0x2246('0xe')],_0x4b0ec0[_0x2246('0xe')]),_0x2246('0xf'));});}),_0x102ce0[_0x2246('0x5b')][_0x2246('0x4d')]('formatBlock',_0x2246('0xf'),_0x2246('0x3c'),()=>{}),_0x102ce0[_0x2246('0x5b')]['registerCustomCallback']('formatBlock',_0x2246('0xf'),_0x2246('0x16'),()=>{}),_0x102ce0[_0x2246('0x5b')][_0x2246('0x4d')](_0x2246('0x68'),_0x2246('0xf'),_0x2246('0x6d'),_0x102ce0[_0x2246('0x5b')][_0x2246('0x10')]('formatBlock','',_0x2246('0x16'))),_0x102ce0['_suggestionFactory']['registerCustomCallback'](_0x2246('0x5c'),_0x2246('0xf'),_0x2246('0x3c'),()=>{}),_0x102ce0[_0x2246('0x5b')]['registerCustomCallback'](_0x2246('0x5c'),_0x2246('0xf'),_0x2246('0x6d'),([_0x54de83])=>{const _0x5c4359=_0x102ce0[_0x2246('0x5b')][_0x2246('0x10')](_0x2246('0x5c'),'','discard');let _0x23212f=_0x54de83['start'],_0x5eab19=_0x54de83['end'];const _0x48843f=_0x3728f8['model'][_0x2246('0x1')][_0x2246('0x29')](_0x23212f,'backward'),_0x231c38=_0x3728f8[_0x2246('0x1d')][_0x2246('0x1')][_0x2246('0x29')](_0x5eab19,_0x2246('0x55'));_0x48843f[_0x2246('0x73')]&&(_0x23212f=_0x48843f[_0x2246('0x15')]),_0x231c38[_0x2246('0x73')]&&(_0x5eab19=_0x231c38[_0x2246('0xe')]),_0x5c4359([_0x3728f8['model'][_0x2246('0x1f')](_0x23212f,_0x5eab19)]);}),_0x102ce0[_0x2246('0x5b')][_0x2246('0x4d')](_0x2246('0x68'),_0x2246('0xf'),'chain',_0x54966f),_0x102ce0[_0x2246('0x5b')]['registerCustomCallback'](_0x2246('0x5c'),_0x2246('0xf'),'chain',_0x54966f)),_0x3728f8['plugins']['has'](_0x2246('0x46'))&&(_0x102ce0['enableCommand'](_0x2246('0x0'),(_0x409609,_0xaefdf8)=>{const _0x43bfb3=_0x3728f8['plugins'][_0x2246('0x27')](_0x2246('0x51'));let _0x24e876=_0x26bd56['getClosestSelectedImageElement'](_0x3728f8[_0x2246('0x1d')][_0x2246('0x59')][_0x2246('0x4a')]),_0x1f37ca=_0x43bfb3[_0x2246('0x21')](_0x24e876);_0x3728f8['model'][_0x2246('0x4c')](()=>{if(_0x1f37ca)return void _0x102ce0[_0x2246('0x53')](_0x3728f8[_0x2246('0x1d')][_0x2246('0x28')](_0x1f37ca));const _0x5541e1=_0x26bd56[_0x2246('0x44')](_0x24e876);_0x409609(_0xaefdf8),_0x24e876=_0x26bd56[_0x2246('0x50')](_0x3728f8['model'][_0x2246('0x59')][_0x2246('0x4a')]),_0x1f37ca=_0x43bfb3[_0x2246('0x21')](_0x24e876),_0x102ce0['markInsertion'](_0x3728f8[_0x2246('0x1d')][_0x2246('0x28')](_0x1f37ca),_0x5541e1?null:_0x2246('0x2a'));});}),_0x102ce0[_0x2246('0x5b')][_0x2246('0x4d')](_0x2246('0x5c'),_0x2246('0x2a'),_0x2246('0x2d'),_0x54966f)),_0x3728f8['plugins'][_0x2246('0x5')](_0x2246('0x8'))){_0x102ce0[_0x2246('0xa')]('imageStyle',(_0x571927,_0x49435c)=>{const _0x4f0011=_0x3728f8[_0x2246('0x5a')][_0x2246('0x27')](_0x2246('0x78'))['me'],_0x5bbcd2=_0x3728f8[_0x2246('0x2e')]['get'](_0x2246('0x14'));let _0x1e64d8=_0x26bd56[_0x2246('0x50')](_0x3728f8['model'][_0x2246('0x59')][_0x2246('0x4a')]),_0x59b620=_0x3728f8[_0x2246('0x1d')][_0x2246('0x28')](_0x1e64d8),_0x10e354=_0x5bbcd2[_0x2246('0x17')];if(_0x10e354==_0x49435c[_0x2246('0x17')])return;const _0x5f31c8={'commandName':_0x2246('0x14'),'commandParams':[_0x49435c],'formatGroupId':_0xc67b00()};_0x3728f8[_0x2246('0x1d')][_0x2246('0x4c')](()=>{if(_0x102ce0[_0x2246('0x20')]()[_0x2246('0x3e')](_0x566c7b=>_0x566c7b['isInContent']&&_0x4f0011==_0x566c7b[_0x2246('0x3')]&&(_0x2246('0x68')==_0x566c7b[_0x2246('0x3a')]||'formatInline'==_0x566c7b['type'])&&(_0x2246('0x42')==_0x566c7b[_0x2246('0x34')]||_0x2246('0x12')==_0x566c7b[_0x2246('0x34')])&&_0x566c7b[_0x2246('0x3b')]()[_0x2246('0x6f')](_0x59b620))[_0x2246('0x65')](_0x20065f=>_0x102ce0[_0x2246('0x48')](_0x20065f[_0x2246('0x3d')])),_0x1e64d8=_0x26bd56[_0x2246('0x50')](_0x3728f8[_0x2246('0x1d')][_0x2246('0x59')]['selection']),_0x59b620=_0x3728f8[_0x2246('0x1d')][_0x2246('0x28')](_0x1e64d8),_0x5bbcd2[_0x2246('0x72')](),_0x3728f8[_0x2246('0x2e')][_0x2246('0x27')](_0x2246('0x6c'))[_0x2246('0x72')](),_0x3728f8[_0x2246('0x2e')]['get']('imageTypeBlock')[_0x2246('0x72')](),_0x10e354=_0x5bbcd2[_0x2246('0x17')],_0x10e354!=_0x49435c['value'])return _0x26bd56[_0x2246('0x30')](_0x1e64d8)&&_0x5bbcd2['shouldConvertImageType'](_0x49435c[_0x2246('0x17')],_0x1e64d8)?(_0x571927(_0x49435c),_0x1e64d8=_0x26bd56[_0x2246('0x50')](_0x3728f8[_0x2246('0x1d')]['document'][_0x2246('0x4a')]),void _0x102ce0['markBlockFormat'](_0x1e64d8,{..._0x5f31c8,'commandReversedParams':[{'value':_0x10e354||null}]},[],_0x2246('0x42'))):void(_0x26bd56[_0x2246('0x44')](_0x1e64d8)?_0x102ce0[_0x2246('0x47')](_0x1e64d8,_0x5f31c8,[],'imageStylePostApply'):_0x102ce0[_0x2246('0x6a')](_0x59b620,_0x5f31c8,'imageStylePostApply'));});});for(const _0x2e37c2 of _0x3728f8[_0x2246('0x5a')][_0x2246('0x27')](_0x2246('0x8'))[_0x2246('0x6')])_0xb30955[_0x2e37c2[_0x2246('0xc')]]=_0x2e37c2['title']['toLowerCase']();_0x102ce0[_0x2246('0x5b')][_0x2246('0x4d')]('formatBlock',_0x2246('0x42'),_0x2246('0x3c'),()=>{}),_0x102ce0['_suggestionFactory'][_0x2246('0x4d')]('formatBlock','imageStylePostApply',_0x2246('0x3c'),()=>{}),_0x102ce0['_suggestionFactory'][_0x2246('0x4d')](_0x2246('0x49'),_0x2246('0x12'),'join',()=>{}),_0x102ce0[_0x2246('0x5b')]['registerCustomCallback'](_0x2246('0x68'),_0x2246('0x42'),_0x2246('0x16'),()=>{}),_0x102ce0[_0x2246('0x5b')]['registerCustomCallback'](_0x2246('0x68'),_0x2246('0x42'),_0x2246('0x6d'),(_0x1890dd,_0x5286a6)=>{_0x102ce0[_0x2246('0x5b')][_0x2246('0x10')](_0x2246('0x68'),'',_0x2246('0x16'))(_0x1890dd,{'commandName':_0x5286a6[_0x2246('0x1c')],'commandParams':_0x5286a6['commandReversedParams']});}),_0x102ce0[_0x2246('0x5b')][_0x2246('0x4d')](_0x2246('0x68'),_0x2246('0x42'),'chain',_0x54966f);}const _0x128098=[{'type':_0x2246('0x68'),'subType':'imageStylePreApply'},{'type':_0x2246('0x5c'),'subType':'imageCaption'},{'type':_0x2246('0x68'),'subType':'convertInlineImageToBlock'},{'type':_0x2246('0x5c'),'subType':_0x2246('0xf')}];function _0x337e87(_0x358b5f,_0x34b438){const _0x39257e=_0x128098[_0x2246('0x61')](({type:_0x45716c,subType:_0x4f765e})=>_0x358b5f[_0x2246('0x3a')]==_0x45716c&&_0x358b5f['subType']==_0x4f765e),_0x4cc933=_0x128098['findIndex'](({type:_0x341452,subType:_0x3d7e98})=>_0x34b438[_0x2246('0x3a')]==_0x341452&&_0x34b438['subType']==_0x3d7e98);if(_0x39257e<0x0||_0x4cc933<0x0)return!0x1;const _0x402afa=_0x358b5f[_0x2246('0x3b')](),_0x370a5a=_0x34b438[_0x2246('0x3b')]();if((0x0==_0x39257e||0x1==_0x39257e)&&0x2==_0x4cc933&&_0x402afa['isIntersecting'](_0x370a5a))return!0x0;if(0x2==_0x39257e&&0x3==_0x4cc933){const _0x46259b=_0x102ce0[_0x2246('0x52')](_0x402afa,'insertion')[_0x2246('0x3e')](({suggestion:_0x967ef4,meta:_0x3f38a2})=>_0x3f38a2[_0x2246('0x79')]&&_0x2246('0xf')==_0x967ef4[_0x2246('0x34')]);if(_0x46259b[_0x2246('0x56')]>0x1&&_0x370a5a[_0x2246('0xe')][_0x2246('0x6f')](_0x402afa['start']))return!0x0;if(0x1==_0x46259b[_0x2246('0x56')]&&(_0x402afa[_0x2246('0x15')][_0x2246('0x6f')](_0x370a5a[_0x2246('0xe')])||_0x402afa['end']['isEqual'](_0x370a5a[_0x2246('0x15')])))return!0x0;}if(0x3==_0x39257e&&0x3==_0x4cc933&&_0x402afa[_0x2246('0x15')][_0x2246('0x5d')](_0x370a5a[_0x2246('0x15')])){const _0x1a7957=_0x402afa[_0x2246('0xe')][_0x2246('0x76')],_0x456f2d=_0x370a5a[_0x2246('0x15')][_0x2246('0x24')];return _0x26bd56['isBlockImage'](_0x1a7957)&&_0x1a7957===_0x456f2d;}return!0x1;}function _0x54966f(_0x38d3e8,_0x59a40c){return _0x337e87(_0x38d3e8,_0x59a40c)?[_0x38d3e8,_0x59a40c]:_0x337e87(_0x59a40c,_0x38d3e8)?[_0x59a40c,_0x38d3e8]:null;}_0x3728f8[_0x2246('0x1d')][_0x2246('0x59')][_0x2246('0x74')](()=>{let _0x3ee9a5=!0x1;const _0x15ab0a=Array[_0x2246('0x13')](_0x3728f8['model']['document']['differ'][_0x2246('0x35')]());for(const {name:_0x3e4c8b,data:_0x2ba337}of _0x15ab0a){const {group:_0x34bddb,type:_0xfde5e1,subType:_0xcfc605,id:_0x5b25c5}=_0x102ce0[_0x2246('0x69')](_0x3e4c8b);if('suggestion'==_0x34bddb&&_0x102ce0[_0x2246('0x25')](_0x5b25c5)){if(_0x2246('0x68')==_0xfde5e1&&(_0x2246('0x42')==_0xcfc605||'imageStylePostApply'==_0xcfc605)){const _0x466669=_0x102ce0['getSuggestion'](_0x5b25c5);if(_0x2ba337[_0x2246('0x5e')]){const _0x361b19=_0x466669[_0x2246('0x3b')]()[_0x2246('0x31')]();if(_0x26bd56[_0x2246('0x44')](_0x361b19))continue;_0x102ce0[_0x2246('0x48')](_0x466669),_0x3ee9a5=!0x0;}}if(_0x2246('0x5c')==_0xfde5e1&&_0x2246('0x2a')==_0xcfc605&&!_0x2ba337[_0x2246('0x5e')]){const _0x58eb7b=_0x102ce0[_0x2246('0x64')](_0x5b25c5);_0x58eb7b['next']&&_0x58eb7b[_0x2246('0x77')][_0x2246('0x70')]&&(_0x102ce0[_0x2246('0x48')](_0x58eb7b[_0x2246('0x77')]),_0x3ee9a5=!0x0);}}}return _0x3ee9a5;}),_0x3728f8[_0x2246('0x5a')][_0x2246('0x5')](_0x2246('0xd'))&&_0x102ce0['enableCommand'](_0x2246('0x26'),(_0xbf85cb,_0x15d0f1)=>{const _0x178ac1=_0x26bd56[_0x2246('0x50')](_0x3728f8[_0x2246('0x1d')][_0x2246('0x59')][_0x2246('0x4a')]);_0x178ac1[_0x2246('0x57')](_0x2246('0x2f'))!=_0x15d0f1[_0x2246('0x2f')]&&_0x3728f8[_0x2246('0x1d')]['change'](()=>{_0x102ce0[_0x2246('0x47')](_0x178ac1,{'commandName':_0x2246('0x26'),'commandParams':[_0x15d0f1]});});}),_0x3728f8[_0x2246('0x5a')]['has']('ImageTextAlternativeEditing')&&_0x102ce0[_0x2246('0xa')](_0x2246('0x38'),(_0x4485c6,_0x38374e)=>{const _0x27613f=_0x26bd56[_0x2246('0x50')](_0x3728f8[_0x2246('0x1d')]['document'][_0x2246('0x4a')]);(_0x27613f[_0x2246('0x4')](_0x2246('0x40'))?_0x27613f[_0x2246('0x57')](_0x2246('0x40')):'')!=_0x38374e[_0x2246('0x75')]&&_0x3728f8[_0x2246('0x1d')]['change'](()=>{_0x102ce0['markBlockFormat'](_0x27613f,{'commandName':_0x2246('0x38'),'commandParams':[_0x38374e]});});}),_0x102ce0[_0x2246('0x36')]['registerDescriptionCallback'](_0x56bdc5=>{if(!!_0x128098[_0x2246('0x2c')](({type:_0x2ae4a6,subType:_0x4242ea})=>_0x56bdc5[_0x2246('0x3a')]==_0x2ae4a6&&_0x56bdc5[_0x2246('0x34')]==_0x4242ea))return _0x56bdc5[_0x2246('0x67')]?{}:void 0x0;}),_0x102ce0[_0x2246('0x36')][_0x2246('0x7')](_0x4576f3=>{if(_0x2246('0x5c')==_0x4576f3[_0x2246('0x3a')]||'deletion'==_0x4576f3[_0x2246('0x3a')]){const _0x52797b=_0x4576f3['getContainedElement']();if(_0x52797b&&_0x52797b['is'](_0x2246('0x37'),'caption'))return{'type':_0x2246('0x5c')==_0x4576f3[_0x2246('0x3a')]?_0x2246('0x58'):_0x2246('0x32'),'element':_0x52797b,'quantity':0x1};}}),_0x102ce0[_0x2246('0x36')][_0x2246('0x7')](_0x3ea86e=>'formatBlock'==_0x3ea86e[_0x2246('0x3a')]&&'convertInlineImageToBlock'==_0x3ea86e[_0x2246('0x34')]?{'type':'format','content':_0x2246('0x7b')}:_0x2246('0x68')==_0x3ea86e[_0x2246('0x3a')]&&_0x2246('0x18')==_0x3ea86e[_0x2246('0x34')]?{'type':_0x2246('0x23'),'content':_0x2246('0xb')}:void 0x0),_0x102ce0[_0x2246('0x36')][_0x2246('0x7')](_0x15c574=>{const {data:_0x22a296}=_0x15c574;if(_0x22a296){if(_0x2246('0x14')==_0x22a296[_0x2246('0x1c')]){const _0x4d4cdf=_0x22a296[_0x2246('0x11')][0x0]['value'];return _0x14dd62(_0x2246('0x6b')===_0x4d4cdf?_0x32febd(_0x7ca646,'FORMAT_SIDE_IMAGE'):_0xb30955[_0x4d4cdf]||_0x4d4cdf);}if(_0x2246('0x38')==_0x22a296[_0x2246('0x1c')]){const _0x15b75b=_0x22a296[_0x2246('0x11')][0x0]['newValue'];return _0x15b75b?{'type':_0x2246('0x23'),'content':_0x32febd(_0x7ca646,_0x2246('0x4e'),'\x22'+_0x15b75b+'\x22')}:{'type':_0x2246('0x23'),'content':_0x32febd(_0x7ca646,_0x2246('0x3f'))};}if(_0x2246('0x26')==_0x22a296[_0x2246('0x1c')]){const _0x406e3d=_0x22a296[_0x2246('0x11')][0x0][_0x2246('0x2f')];return _0x406e3d?{'type':'format','content':_0x32febd(_0x7ca646,'*Set\x20image\x20width:*\x20%0',_0x406e3d)}:{'type':_0x2246('0x23'),'content':_0x32febd(_0x7ca646,_0x2246('0x2b'))};}}function _0x14dd62(_0x34ec9f){return{'type':_0x2246('0x23'),'content':_0x32febd(_0x7ca646,_0x2246('0x71'),_0x34ec9f)};}});}}
23
+ const _0x192b=['*Set\x20image\x20width:*\x20%0','side','getSuggestions','forward','getAttribute','imageInline','differ','normalizedStyles','_suggestionFactory','createRangeOn','isBlockImage','imageBlock','commandName','ImageBlockEditing','isEqual','TrackChangesEditing','newValue','FORMAT_SIDE_IMAGE','markInsertion','commandParams','registerCustomCallback','type','from','ImageCaptionEditing','Users','newRange','createRange','name','discard','document','getSuggestionCallback','suggestion','ImageTextAlternativeEditing','ImageInlineEditing','width','model','formatBlock','commandReversedParams','has','isInlineImage','markDeletion','imageTypeBlock','imageStylePreApply','hasAttribute','getFirstRange','resizeImage','discardSuggestion','imageCaption','format','uploadImage','ImageStyleEditing','value','nodeAfter','getSuggestion','convertInlineImageToBlock','*Set\x20image\x20text\x20alternative:*\x20%0','accept','markBlockFormat','_findSuggestions','selection','convertBlockImageToInline','locale','refresh','ELEMENT_IMAGE','chain','detach','imageStyle','markInlineFormat','isInContent','ImageEditing','title','alt','plugins','end','toggleImageCaption','isCollapsed','registerElementLabel','toLowerCase','schema','join','insertion','caption','*Reset\x20image\x20width*','afterInit','ELEMENT_INLINE_IMAGE','formatInline','imageStylePostApply','next','Inline\x20image\x20to\x20block\x20image','getNearestSelectionRange','commands','backward','imageTextAlternative','findIndex','length','subType','get','isOwn','previous','fromPosition','change','isBefore','getClosestSelectedImageElement','author','toPrevious','_descriptionFactory','nodeBefore','start','registerDescriptionCallback','addObject','getContainedElement','getChangedMarkers','isIntersecting','imageTypeInline','ImageUtils','enableCommand','toNext'];(function(_0x4082c4,_0x192b95){const _0x2d1f9b=function(_0x4dfb70){while(--_0x4dfb70){_0x4082c4['push'](_0x4082c4['shift']());}};_0x2d1f9b(++_0x192b95);}(_0x192b,0x173));const _0x2d1f=function(_0x4082c4,_0x192b95){_0x4082c4=_0x4082c4-0x0;let _0x2d1f9b=_0x192b[_0x4082c4];return _0x2d1f9b;};import{Plugin as _0xfe20a5}from'ckeditor5/src/core';import{LivePosition as _0x502f94}from'ckeditor5/src/engine';import{uid as _0x16469a}from'ckeditor5/src/utils';import{getTranslation as _0x37bd5c}from'../utils/common-translations';export default class X extends _0xfe20a5{[_0x2d1f('0x3f')](){const _0x392cc0=this['editor'];if(!_0x392cc0[_0x2d1f('0x34')][_0x2d1f('0x12')](_0x2d1f('0x31')))return;const _0x1a3261=_0x392cc0['plugins'][_0x2d1f('0x4c')](_0x2d1f('0x70')),_0x1c6a6f=_0x392cc0[_0x2d1f('0x34')][_0x2d1f('0x4c')](_0x2d1f('0x5e')),_0x5b8004={},_0x35ddc0=_0x392cc0[_0x2d1f('0x29')];if(_0x1a3261[_0x2d1f('0x5f')]('insertImage'),_0x1a3261[_0x2d1f('0x55')][_0x2d1f('0x38')](_0x2d1f('0x6c'),_0x1dc5f6=>_0x37bd5c(_0x35ddc0,_0x2d1f('0x2b'),_0x1dc5f6)),_0x1a3261[_0x2d1f('0x55')][_0x2d1f('0x38')](_0x2d1f('0x66'),_0x53eeb1=>_0x37bd5c(_0x35ddc0,_0x2d1f('0x40'),_0x53eeb1)),_0x1a3261[_0x2d1f('0x55')]['registerElementLabel'](_0x2d1f('0x3d'),()=>_0x37bd5c(_0x35ddc0,'ELEMENT_CAPTION')),_0x392cc0[_0x2d1f('0x34')][_0x2d1f('0x12')]('ImageUploadEditing')&&_0x1a3261[_0x2d1f('0x5f')](_0x2d1f('0x1d')),_0x392cc0[_0x2d1f('0x34')][_0x2d1f('0x12')](_0x2d1f('0x6e'))&&_0x392cc0[_0x2d1f('0x34')][_0x2d1f('0x12')](_0x2d1f('0xd'))&&(_0x1a3261[_0x2d1f('0x5f')](_0x2d1f('0x5d'),(_0x406ffe,_0xb4200)=>{const _0x3b881c=_0x1c6a6f[_0x2d1f('0x52')](_0x392cc0[_0x2d1f('0xf')][_0x2d1f('0x9')][_0x2d1f('0x27')]);_0x392cc0[_0x2d1f('0xf')][_0x2d1f('0x50')](()=>{_0x1a3261[_0x2d1f('0x25')](_0x3b881c,{'commandName':_0x2d1f('0x5d'),'commandParams':[_0xb4200]},[],'convertBlockImageToInline');});}),_0x1a3261[_0x2d1f('0x5f')](_0x2d1f('0x15'),(_0x5054fb,_0xe634cc)=>{_0x392cc0[_0x2d1f('0xf')]['change'](_0x1187aa=>{let _0x540f8d=_0x1c6a6f[_0x2d1f('0x52')](_0x392cc0[_0x2d1f('0xf')]['document'][_0x2d1f('0x27')]),_0x1c39d5=_0x1187aa[_0x2d1f('0x6a')](_0x540f8d);const _0x2c4c3d=_0x502f94[_0x2d1f('0x4f')](_0x1c39d5[_0x2d1f('0x57')],_0x2d1f('0x54')),_0x5a6947=_0x502f94[_0x2d1f('0x4f')](_0x1c39d5['end'],_0x2d1f('0x60'));_0x1a3261['forceDefaultExecution'](()=>_0x5054fb(_0xe634cc)),_0x540f8d=_0x1c6a6f[_0x2d1f('0x52')](_0x392cc0[_0x2d1f('0xf')][_0x2d1f('0x9')][_0x2d1f('0x27')]),_0x1c39d5=_0x1187aa[_0x2d1f('0x6a')](_0x540f8d);const _0x5f33d1=_0x1187aa[_0x2d1f('0x6')](_0x2c4c3d,_0x5a6947);_0x2c4c3d[_0x2d1f('0x2d')](),_0x5a6947[_0x2d1f('0x2d')](),_0x1a3261[_0x2d1f('0x25')](_0x540f8d,{'commandName':_0x2d1f('0x5d'),'commandParams':[]},[],'convertInlineImageToBlock'),_0x5f33d1[_0x2d1f('0x57')][_0x2d1f('0x51')](_0x1c39d5[_0x2d1f('0x57')])&&_0x1a3261[_0x2d1f('0x73')](_0x1187aa['createRange'](_0x5f33d1[_0x2d1f('0x57')],_0x1c39d5[_0x2d1f('0x57')]),_0x2d1f('0x22')),_0x1c39d5['end']['isBefore'](_0x5f33d1[_0x2d1f('0x35')])&&_0x1a3261[_0x2d1f('0x73')](_0x1187aa[_0x2d1f('0x6')](_0x1c39d5[_0x2d1f('0x35')],_0x5f33d1[_0x2d1f('0x35')]),_0x2d1f('0x22'));});}),_0x1a3261[_0x2d1f('0x69')]['registerCustomCallback'](_0x2d1f('0x10'),_0x2d1f('0x22'),'join',()=>{}),_0x1a3261[_0x2d1f('0x69')][_0x2d1f('0x0')](_0x2d1f('0x10'),_0x2d1f('0x22'),_0x2d1f('0x24'),()=>{}),_0x1a3261[_0x2d1f('0x69')][_0x2d1f('0x0')]('formatBlock',_0x2d1f('0x22'),_0x2d1f('0x8'),_0x1a3261[_0x2d1f('0x69')][_0x2d1f('0xa')](_0x2d1f('0x10'),'',_0x2d1f('0x24'))),_0x1a3261['_suggestionFactory'][_0x2d1f('0x0')](_0x2d1f('0x3c'),_0x2d1f('0x22'),_0x2d1f('0x3b'),()=>{}),_0x1a3261[_0x2d1f('0x69')][_0x2d1f('0x0')](_0x2d1f('0x3c'),_0x2d1f('0x22'),'discard',([_0x47ff2b])=>{const _0x5e5e5a=_0x1a3261['_suggestionFactory'][_0x2d1f('0xa')](_0x2d1f('0x3c'),'',_0x2d1f('0x8'));let _0x360227=_0x47ff2b[_0x2d1f('0x57')],_0x401e23=_0x47ff2b[_0x2d1f('0x35')];const _0x5d029d=_0x392cc0['model'][_0x2d1f('0x3a')][_0x2d1f('0x45')](_0x360227,_0x2d1f('0x47')),_0xc624da=_0x392cc0[_0x2d1f('0xf')][_0x2d1f('0x3a')][_0x2d1f('0x45')](_0x401e23,_0x2d1f('0x64'));_0x5d029d[_0x2d1f('0x37')]&&(_0x360227=_0x5d029d[_0x2d1f('0x57')]),_0xc624da['isCollapsed']&&(_0x401e23=_0xc624da['end']),_0x5e5e5a([_0x392cc0[_0x2d1f('0xf')][_0x2d1f('0x6')](_0x360227,_0x401e23)]);}),_0x1a3261[_0x2d1f('0x69')][_0x2d1f('0x0')](_0x2d1f('0x10'),'convertInlineImageToBlock','chain',_0x5daf62),_0x1a3261[_0x2d1f('0x69')][_0x2d1f('0x0')](_0x2d1f('0x3c'),_0x2d1f('0x22'),_0x2d1f('0x2c'),_0x5daf62)),_0x392cc0['plugins'][_0x2d1f('0x12')](_0x2d1f('0x3'))&&(_0x1a3261[_0x2d1f('0x5f')](_0x2d1f('0x36'),(_0x202941,_0x3774b7)=>{const _0x118d17=_0x392cc0[_0x2d1f('0x34')][_0x2d1f('0x4c')]('ImageCaptionUtils');let _0x79aa54=_0x1c6a6f[_0x2d1f('0x52')](_0x392cc0[_0x2d1f('0xf')][_0x2d1f('0x9')][_0x2d1f('0x27')]),_0x2aeb12=_0x118d17['getCaptionFromImageModelElement'](_0x79aa54);_0x392cc0[_0x2d1f('0xf')][_0x2d1f('0x50')](()=>{if(_0x2aeb12)return void _0x1a3261[_0x2d1f('0x14')](_0x392cc0[_0x2d1f('0xf')][_0x2d1f('0x6a')](_0x2aeb12));const _0x221dd6=_0x1c6a6f[_0x2d1f('0x6b')](_0x79aa54);_0x202941(_0x3774b7),_0x79aa54=_0x1c6a6f[_0x2d1f('0x52')](_0x392cc0[_0x2d1f('0xf')]['document'][_0x2d1f('0x27')]),_0x2aeb12=_0x118d17['getCaptionFromImageModelElement'](_0x79aa54),_0x1a3261[_0x2d1f('0x73')](_0x392cc0['model'][_0x2d1f('0x6a')](_0x2aeb12),_0x221dd6?null:'imageCaption');});}),_0x1a3261['_suggestionFactory']['registerCustomCallback']('insertion',_0x2d1f('0x1b'),_0x2d1f('0x2c'),_0x5daf62)),_0x392cc0[_0x2d1f('0x34')][_0x2d1f('0x12')](_0x2d1f('0x1e'))){_0x1a3261[_0x2d1f('0x5f')](_0x2d1f('0x2e'),(_0x4f874c,_0x336452)=>{const _0xf46d05=_0x392cc0[_0x2d1f('0x34')]['get'](_0x2d1f('0x4'))['me'],_0x45fe3e=_0x392cc0['commands'][_0x2d1f('0x4c')](_0x2d1f('0x2e'));let _0x38a32d=_0x1c6a6f[_0x2d1f('0x52')](_0x392cc0[_0x2d1f('0xf')][_0x2d1f('0x9')][_0x2d1f('0x27')]),_0x97753d=_0x392cc0[_0x2d1f('0xf')][_0x2d1f('0x6a')](_0x38a32d),_0x1ae291=_0x45fe3e['value'];if(_0x1ae291==_0x336452[_0x2d1f('0x1f')])return;const _0x19d71c={'commandName':'imageStyle','commandParams':[_0x336452],'formatGroupId':_0x16469a()};_0x392cc0[_0x2d1f('0xf')][_0x2d1f('0x50')](()=>{if(_0x1a3261[_0x2d1f('0x63')]()['filter'](_0x34def3=>_0x34def3[_0x2d1f('0x30')]&&_0xf46d05==_0x34def3[_0x2d1f('0x53')]&&('formatBlock'==_0x34def3[_0x2d1f('0x1')]||_0x2d1f('0x41')==_0x34def3['type'])&&(_0x2d1f('0x16')==_0x34def3[_0x2d1f('0x4b')]||_0x2d1f('0x42')==_0x34def3['subType'])&&_0x34def3[_0x2d1f('0x18')]()[_0x2d1f('0x6f')](_0x97753d))['forEach'](_0x542d87=>_0x1a3261[_0x2d1f('0x1a')](_0x542d87['head'])),_0x38a32d=_0x1c6a6f[_0x2d1f('0x52')](_0x392cc0['model']['document']['selection']),_0x97753d=_0x392cc0['model']['createRangeOn'](_0x38a32d),_0x45fe3e[_0x2d1f('0x2a')](),_0x392cc0[_0x2d1f('0x46')]['get'](_0x2d1f('0x5d'))[_0x2d1f('0x2a')](),_0x392cc0[_0x2d1f('0x46')]['get'](_0x2d1f('0x15'))[_0x2d1f('0x2a')](),_0x1ae291=_0x45fe3e[_0x2d1f('0x1f')],_0x1ae291!=_0x336452[_0x2d1f('0x1f')])return _0x1c6a6f[_0x2d1f('0x13')](_0x38a32d)&&_0x45fe3e['shouldConvertImageType'](_0x336452[_0x2d1f('0x1f')],_0x38a32d)?(_0x4f874c(_0x336452),_0x38a32d=_0x1c6a6f[_0x2d1f('0x52')](_0x392cc0[_0x2d1f('0xf')][_0x2d1f('0x9')][_0x2d1f('0x27')]),void _0x1a3261['markBlockFormat'](_0x38a32d,{..._0x19d71c,'commandReversedParams':[{'value':_0x1ae291||null}]},[],_0x2d1f('0x16'))):void(_0x1c6a6f[_0x2d1f('0x6b')](_0x38a32d)?_0x1a3261[_0x2d1f('0x25')](_0x38a32d,_0x19d71c,[],_0x2d1f('0x42')):_0x1a3261[_0x2d1f('0x2f')](_0x97753d,_0x19d71c,_0x2d1f('0x42')));});});for(const _0x7f4d7 of _0x392cc0[_0x2d1f('0x34')][_0x2d1f('0x4c')]('ImageStyleEditing')[_0x2d1f('0x68')])_0x5b8004[_0x7f4d7[_0x2d1f('0x7')]]=_0x7f4d7[_0x2d1f('0x32')][_0x2d1f('0x39')]();_0x1a3261[_0x2d1f('0x69')][_0x2d1f('0x0')]('formatBlock',_0x2d1f('0x16'),_0x2d1f('0x3b'),()=>{}),_0x1a3261['_suggestionFactory']['registerCustomCallback'](_0x2d1f('0x10'),_0x2d1f('0x42'),'join',()=>{}),_0x1a3261[_0x2d1f('0x69')][_0x2d1f('0x0')](_0x2d1f('0x41'),'imageStylePostApply',_0x2d1f('0x3b'),()=>{}),_0x1a3261[_0x2d1f('0x69')][_0x2d1f('0x0')](_0x2d1f('0x10'),'imageStylePreApply',_0x2d1f('0x24'),()=>{}),_0x1a3261['_suggestionFactory'][_0x2d1f('0x0')]('formatBlock','imageStylePreApply','discard',(_0x4a0054,_0x1c3a6c)=>{_0x1a3261[_0x2d1f('0x69')]['getSuggestionCallback']('formatBlock','',_0x2d1f('0x24'))(_0x4a0054,{'commandName':_0x1c3a6c['commandName'],'commandParams':_0x1c3a6c[_0x2d1f('0x11')]});}),_0x1a3261[_0x2d1f('0x69')][_0x2d1f('0x0')](_0x2d1f('0x10'),_0x2d1f('0x16'),_0x2d1f('0x2c'),_0x5daf62);}const _0x2a2a8d=[{'type':'formatBlock','subType':'imageStylePreApply'},{'type':_0x2d1f('0x3c'),'subType':_0x2d1f('0x1b')},{'type':_0x2d1f('0x10'),'subType':_0x2d1f('0x22')},{'type':_0x2d1f('0x3c'),'subType':_0x2d1f('0x22')}];function _0x5c3767(_0x58fd80,_0x39f5ba){const _0x424c6a=_0x2a2a8d[_0x2d1f('0x49')](({type:_0x4b829f,subType:_0x591eb2})=>_0x58fd80['type']==_0x4b829f&&_0x58fd80[_0x2d1f('0x4b')]==_0x591eb2),_0x773eea=_0x2a2a8d['findIndex'](({type:_0x3e66bf,subType:_0x66a26c})=>_0x39f5ba[_0x2d1f('0x1')]==_0x3e66bf&&_0x39f5ba[_0x2d1f('0x4b')]==_0x66a26c);if(_0x424c6a<0x0||_0x773eea<0x0)return!0x1;const _0xc2b0de=_0x58fd80['getFirstRange'](),_0xfdf61f=_0x39f5ba[_0x2d1f('0x18')]();if((0x0==_0x424c6a||0x1==_0x424c6a)&&0x2==_0x773eea&&_0xc2b0de[_0x2d1f('0x5c')](_0xfdf61f))return!0x0;if(0x2==_0x424c6a&&0x3==_0x773eea){const _0x2d212f=_0x1a3261[_0x2d1f('0x26')](_0xc2b0de,_0x2d1f('0x3c'))['filter'](({suggestion:_0x3b4dde,meta:_0x51026d})=>_0x51026d[_0x2d1f('0x4d')]&&_0x2d1f('0x22')==_0x3b4dde[_0x2d1f('0x4b')]);if(_0x2d212f[_0x2d1f('0x4a')]>0x1&&_0xfdf61f['end']['isEqual'](_0xc2b0de[_0x2d1f('0x57')]))return!0x0;if(0x1==_0x2d212f[_0x2d1f('0x4a')]&&(_0xc2b0de['start']['isEqual'](_0xfdf61f['end'])||_0xc2b0de[_0x2d1f('0x35')][_0x2d1f('0x6f')](_0xfdf61f[_0x2d1f('0x57')])))return!0x0;}if(0x3==_0x424c6a&&0x3==_0x773eea&&_0xc2b0de[_0x2d1f('0x57')][_0x2d1f('0x51')](_0xfdf61f[_0x2d1f('0x57')])){const _0x3bdddc=_0xc2b0de[_0x2d1f('0x35')][_0x2d1f('0x20')],_0x21504c=_0xfdf61f[_0x2d1f('0x57')][_0x2d1f('0x56')];return _0x1c6a6f[_0x2d1f('0x6b')](_0x3bdddc)&&_0x3bdddc===_0x21504c;}return!0x1;}function _0x5daf62(_0x38f146,_0x43b1fa){return _0x5c3767(_0x38f146,_0x43b1fa)?[_0x38f146,_0x43b1fa]:_0x5c3767(_0x43b1fa,_0x38f146)?[_0x43b1fa,_0x38f146]:null;}_0x392cc0[_0x2d1f('0xf')][_0x2d1f('0x9')]['registerPostFixer'](()=>{let _0x3a689f=!0x1;const _0x4f9821=Array[_0x2d1f('0x2')](_0x392cc0[_0x2d1f('0xf')][_0x2d1f('0x9')][_0x2d1f('0x67')][_0x2d1f('0x5b')]());for(const {name:_0x48f98,data:_0x239651}of _0x4f9821){const {group:_0x5386ce,type:_0x496fc7,subType:_0x4cc3db,id:_0x4ef273}=_0x1a3261['_splitMarkerName'](_0x48f98);if(_0x2d1f('0xb')==_0x5386ce&&_0x1a3261['hasSuggestion'](_0x4ef273)){if(_0x2d1f('0x10')==_0x496fc7&&('imageStylePreApply'==_0x4cc3db||_0x2d1f('0x42')==_0x4cc3db)){const _0x477dd7=_0x1a3261[_0x2d1f('0x21')](_0x4ef273);if(_0x239651[_0x2d1f('0x5')]){const _0x121375=_0x477dd7[_0x2d1f('0x18')]()[_0x2d1f('0x5a')]();if(_0x1c6a6f['isBlockImage'](_0x121375))continue;_0x1a3261[_0x2d1f('0x1a')](_0x477dd7),_0x3a689f=!0x0;}}if(_0x2d1f('0x3c')==_0x496fc7&&_0x2d1f('0x1b')==_0x4cc3db&&!_0x239651[_0x2d1f('0x5')]){const _0x515224=_0x1a3261['getSuggestion'](_0x4ef273);_0x515224[_0x2d1f('0x43')]&&_0x515224['next'][_0x2d1f('0x30')]&&(_0x1a3261[_0x2d1f('0x1a')](_0x515224[_0x2d1f('0x43')]),_0x3a689f=!0x0);}}}return _0x3a689f;}),_0x392cc0['plugins']['has']('ImageResize')&&_0x1a3261[_0x2d1f('0x5f')](_0x2d1f('0x19'),(_0x219e45,_0x37a27c)=>{const _0x183982=_0x1c6a6f['getClosestSelectedImageElement'](_0x392cc0['model'][_0x2d1f('0x9')]['selection']);_0x183982[_0x2d1f('0x65')]('width')!=_0x37a27c[_0x2d1f('0xe')]&&_0x392cc0['model'][_0x2d1f('0x50')](()=>{_0x1a3261[_0x2d1f('0x25')](_0x183982,{'commandName':_0x2d1f('0x19'),'commandParams':[_0x37a27c]});});}),_0x392cc0[_0x2d1f('0x34')][_0x2d1f('0x12')](_0x2d1f('0xc'))&&_0x1a3261['enableCommand'](_0x2d1f('0x48'),(_0x511453,_0x23a0f0)=>{const _0x3314b9=_0x1c6a6f['getClosestSelectedImageElement'](_0x392cc0[_0x2d1f('0xf')][_0x2d1f('0x9')]['selection']);(_0x3314b9[_0x2d1f('0x17')](_0x2d1f('0x33'))?_0x3314b9['getAttribute']('alt'):'')!=_0x23a0f0[_0x2d1f('0x71')]&&_0x392cc0['model'][_0x2d1f('0x50')](()=>{_0x1a3261[_0x2d1f('0x25')](_0x3314b9,{'commandName':_0x2d1f('0x48'),'commandParams':[_0x23a0f0]});});}),_0x1a3261[_0x2d1f('0x55')][_0x2d1f('0x58')](_0x33711f=>{if(!!_0x2a2a8d['find'](({type:_0x5b598a,subType:_0x2e959d})=>_0x33711f[_0x2d1f('0x1')]==_0x5b598a&&_0x33711f[_0x2d1f('0x4b')]==_0x2e959d))return _0x33711f[_0x2d1f('0x4e')]?{}:void 0x0;}),_0x1a3261[_0x2d1f('0x55')][_0x2d1f('0x58')](_0x5a91fe=>{if(_0x2d1f('0x3c')==_0x5a91fe[_0x2d1f('0x1')]||'deletion'==_0x5a91fe['type']){const _0x13a29c=_0x5a91fe['getContainedElement']();if(_0x13a29c&&_0x13a29c['is']('element',_0x2d1f('0x3d')))return{'type':_0x2d1f('0x3c')==_0x5a91fe[_0x2d1f('0x1')]?_0x2d1f('0x59'):'removeObject','element':_0x13a29c,'quantity':0x1};}}),_0x1a3261[_0x2d1f('0x55')][_0x2d1f('0x58')](_0x4c6d13=>_0x2d1f('0x10')==_0x4c6d13[_0x2d1f('0x1')]&&'convertInlineImageToBlock'==_0x4c6d13[_0x2d1f('0x4b')]?{'type':_0x2d1f('0x1c'),'content':_0x2d1f('0x44')}:'formatBlock'==_0x4c6d13[_0x2d1f('0x1')]&&_0x2d1f('0x28')==_0x4c6d13[_0x2d1f('0x4b')]?{'type':_0x2d1f('0x1c'),'content':'Block\x20image\x20to\x20inline\x20image'}:void 0x0),_0x1a3261[_0x2d1f('0x55')][_0x2d1f('0x58')](_0x3455b6=>{const {data:_0x153804}=_0x3455b6;if(_0x153804){if(_0x2d1f('0x2e')==_0x153804[_0x2d1f('0x6d')]){const _0x5be5b7=_0x153804[_0x2d1f('0x74')][0x0][_0x2d1f('0x1f')];return _0x110f27(_0x2d1f('0x62')===_0x5be5b7?_0x37bd5c(_0x35ddc0,_0x2d1f('0x72')):_0x5b8004[_0x5be5b7]||_0x5be5b7);}if(_0x2d1f('0x48')==_0x153804[_0x2d1f('0x6d')]){const _0x34f341=_0x153804[_0x2d1f('0x74')][0x0][_0x2d1f('0x71')];return _0x34f341?{'type':_0x2d1f('0x1c'),'content':_0x37bd5c(_0x35ddc0,_0x2d1f('0x23'),'\x22'+_0x34f341+'\x22')}:{'type':_0x2d1f('0x1c'),'content':_0x37bd5c(_0x35ddc0,'*Remove\x20image\x20text\x20alternative*')};}if('resizeImage'==_0x153804['commandName']){const _0x4fa6db=_0x153804[_0x2d1f('0x74')][0x0]['width'];return _0x4fa6db?{'type':_0x2d1f('0x1c'),'content':_0x37bd5c(_0x35ddc0,_0x2d1f('0x61'),_0x4fa6db)}:{'type':_0x2d1f('0x1c'),'content':_0x37bd5c(_0x35ddc0,_0x2d1f('0x3e'))};}}function _0x110f27(_0x1928d0){return{'type':_0x2d1f('0x1c'),'content':_0x37bd5c(_0x35ddc0,'*Format:*\x20%0',_0x1928d0)};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4ebe=['model','markBlockFormat','_suggestionFactory','src','selection','discard','ImageEditing','*Format:*\x20replace\x20image\x20URL','handleReplaceImageCommand','_descriptionFactory','has','format','subType','document','change','getSuggestions','handleSuggestionDescription','TrackChangesEditing','data','author','editor','getSelectedElement','registerCustomCallback','commandName','afterInit','getSuggestionCallback','replaceImageSource','formatBlock','plugins','Users','getContainedElement','commandParams','enableCommand','locale','get','accept'];(function(_0x255ff8,_0x4ebe6f){const _0x5af9e1=function(_0x1e9f6b){while(--_0x1e9f6b){_0x255ff8['push'](_0x255ff8['shift']());}};_0x5af9e1(++_0x4ebe6f);}(_0x4ebe,0x101));const _0x5af9=function(_0x255ff8,_0x4ebe6f){_0x255ff8=_0x255ff8-0x0;let _0x5af9e1=_0x4ebe[_0x255ff8];return _0x5af9e1;};import{Plugin as _0x51ba79}from'ckeditor5/src/core';import{getTranslation as _0x5b74f7}from'../utils/common-translations';export default class Y extends _0x51ba79{[_0x5af9('0x13')](){if(!this[_0x5af9('0xf')]['plugins'][_0x5af9('0x5')](_0x5af9('0x1')))return;const _0x26e68c=this[_0x5af9('0xf')]['plugins']['get'](_0x5af9('0xc'));_0x26e68c[_0x5af9('0x1b')]('replaceImageSource',(_0x5c3deb,_0x52bd15)=>this[_0x5af9('0x3')](_0x5c3deb,_0x52bd15)),_0x26e68c['_suggestionFactory'][_0x5af9('0x11')](_0x5af9('0x16'),_0x5af9('0x15'),'accept',_0x26e68c[_0x5af9('0x21')][_0x5af9('0x14')]('formatBlock',null,'discard')),_0x26e68c[_0x5af9('0x21')][_0x5af9('0x11')]('formatBlock',_0x5af9('0x15'),_0x5af9('0x0'),_0x26e68c[_0x5af9('0x21')][_0x5af9('0x14')](_0x5af9('0x16'),null,_0x5af9('0x1e'))),_0x26e68c[_0x5af9('0x4')]['registerDescriptionCallback'](_0x3e4857=>this[_0x5af9('0xb')](_0x3e4857));}['handleReplaceImageCommand'](_0x316cbf,_0xfc22c3){const _0x58783d=this['editor'][_0x5af9('0x17')][_0x5af9('0x1d')](_0x5af9('0xc')),_0x385b12=this[_0x5af9('0xf')][_0x5af9('0x1f')][_0x5af9('0x8')][_0x5af9('0x23')][_0x5af9('0x10')]();this[_0x5af9('0xf')][_0x5af9('0x1f')][_0x5af9('0x9')](()=>{let _0x2bca96=_0x385b12['getAttribute'](_0x5af9('0x22'));const _0x2327f5=this[_0x5af9('0xf')]['plugins'][_0x5af9('0x1d')](_0x5af9('0x18'))['me'];for(const _0x3069ad of _0x58783d[_0x5af9('0xa')]({'skipNotAttached':!0x0})){const _0x3b3618=_0x3069ad[_0x5af9('0x19')]();if(_0x5af9('0x15')===_0x3069ad[_0x5af9('0x7')]&&_0x3b3618===_0x385b12){_0x3069ad[_0x5af9('0xe')]!==_0x2327f5&&_0x3069ad[_0x5af9('0x0')](),_0x2bca96=_0x3069ad[_0x5af9('0xd')][_0x5af9('0x1a')][0x0]['source'];break;}}_0x316cbf(_0xfc22c3),_0x58783d[_0x5af9('0x20')](_0x385b12,{'commandName':_0x5af9('0x15'),'commandParams':[{'source':_0x2bca96}]},[],_0x5af9('0x15'));});}[_0x5af9('0xb')](_0x7120b3){const {data:_0x58a4cc}=_0x7120b3;if(_0x58a4cc&&'replaceImageSource'===_0x58a4cc[_0x5af9('0x12')]){const _0x4100de=_0x5af9('0x2');return{'type':_0x5af9('0x6'),'content':_0x5b74f7(this[_0x5af9('0xf')][_0x5af9('0x1c')],_0x4100de)};}}}
23
+ const _0x4002=['getSuggestionCallback','selection','accept','get','model','editor','src','getSelectedElement','ImageEditing','data','afterInit','format','locale','discard','formatBlock','handleReplaceImageCommand','commandParams','registerDescriptionCallback','markBlockFormat','registerCustomCallback','TrackChangesEditing','author','enableCommand','replaceImageSource','getSuggestions','source','getContainedElement','commandName','*Format:*\x20replace\x20image\x20URL','subType','_suggestionFactory','handleSuggestionDescription','Users','_descriptionFactory','plugins','change'];(function(_0x3f538f,_0x40025d){const _0x4900f3=function(_0x2814d1){while(--_0x2814d1){_0x3f538f['push'](_0x3f538f['shift']());}};_0x4900f3(++_0x40025d);}(_0x4002,0x16e));const _0x4900=function(_0x3f538f,_0x40025d){_0x3f538f=_0x3f538f-0x0;let _0x4900f3=_0x4002[_0x3f538f];return _0x4900f3;};import{Plugin as _0x573bce}from'ckeditor5/src/core';import{getTranslation as _0x27a70b}from'../utils/common-translations';export default class Y extends _0x573bce{[_0x4900('0x4')](){if(!this[_0x4900('0x23')][_0x4900('0x1c')]['has'](_0x4900('0x2')))return;const _0x41609d=this[_0x4900('0x23')][_0x4900('0x1c')][_0x4900('0x21')](_0x4900('0xe'));_0x41609d[_0x4900('0x10')](_0x4900('0x11'),(_0x38bad7,_0x2fb742)=>this[_0x4900('0x9')](_0x38bad7,_0x2fb742)),_0x41609d[_0x4900('0x18')]['registerCustomCallback'](_0x4900('0x8'),_0x4900('0x11'),_0x4900('0x20'),_0x41609d['_suggestionFactory'][_0x4900('0x1e')](_0x4900('0x8'),null,'discard')),_0x41609d[_0x4900('0x18')][_0x4900('0xd')](_0x4900('0x8'),_0x4900('0x11'),'discard',_0x41609d['_suggestionFactory'][_0x4900('0x1e')]('formatBlock',null,_0x4900('0x20'))),_0x41609d[_0x4900('0x1b')][_0x4900('0xb')](_0x22dc8a=>this[_0x4900('0x19')](_0x22dc8a));}['handleReplaceImageCommand'](_0x2dccf9,_0xa8581f){const _0x19449e=this['editor']['plugins'][_0x4900('0x21')](_0x4900('0xe')),_0x1fe4a7=this[_0x4900('0x23')]['model']['document'][_0x4900('0x1f')][_0x4900('0x1')]();this[_0x4900('0x23')][_0x4900('0x22')][_0x4900('0x1d')](()=>{let _0x1dfd03=_0x1fe4a7['getAttribute'](_0x4900('0x0'));const _0x3160b6=this[_0x4900('0x23')]['plugins'][_0x4900('0x21')](_0x4900('0x1a'))['me'];for(const _0x388822 of _0x19449e[_0x4900('0x12')]({'skipNotAttached':!0x0})){const _0x449daa=_0x388822[_0x4900('0x14')]();if(_0x4900('0x11')===_0x388822[_0x4900('0x17')]&&_0x449daa===_0x1fe4a7){_0x388822[_0x4900('0xf')]!==_0x3160b6&&_0x388822[_0x4900('0x7')](),_0x1dfd03=_0x388822[_0x4900('0x3')][_0x4900('0xa')][0x0][_0x4900('0x13')];break;}}_0x2dccf9(_0xa8581f),_0x19449e[_0x4900('0xc')](_0x1fe4a7,{'commandName':_0x4900('0x11'),'commandParams':[{'source':_0x1dfd03}]},[],_0x4900('0x11'));});}[_0x4900('0x19')](_0x4525c0){const {data:_0x40fdf1}=_0x4525c0;if(_0x40fdf1&&_0x4900('0x11')===_0x40fdf1[_0x4900('0x15')]){const _0x4915a6=_0x4900('0x16');return{'type':_0x4900('0x5'),'content':_0x27a70b(this[_0x4900('0x23')][_0x4900('0x6')],_0x4915a6)};}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x192e=['bind','execute','collaboration_features','listenTo','commands','forEach','_trackChangesExecuted','get','importWord','trackChanges','Users','lowest','_trackChangesValueDuringImport','TrackChangesEditing','value','editor','plugins','track_changes','high','_handleImportedData','afterInit'];(function(_0x127be6,_0x192efc){const _0x15f1fc=function(_0x3a700c){while(--_0x3a700c){_0x127be6['push'](_0x127be6['shift']());}};_0x15f1fc(++_0x192efc);}(_0x192e,0xb1));const _0x15f1=function(_0x127be6,_0x192efc){_0x127be6=_0x127be6-0x0;let _0x15f1fc=_0x192e[_0x127be6];return _0x15f1fc;};import{Plugin as _0x5411d4}from'ckeditor5/src/core';export default class Z extends _0x5411d4{constructor(_0x3037c3){super(_0x3037c3),this[_0x15f1('0x3')]=!0x1,this[_0x15f1('0x12')]=!0x1;}[_0x15f1('0xb')](){const _0x9bc67d=this[_0x15f1('0x6')],_0x96046a=_0x9bc67d[_0x15f1('0x10')][_0x15f1('0x13')](_0x15f1('0x14')),_0x123e0e=_0x9bc67d[_0x15f1('0x10')]['get'](_0x15f1('0x0'));_0x96046a&&(_0x96046a['on'](_0x15f1('0xd'),(_0x50f527,[,_0x1f12b1])=>{this[_0x15f1('0x3')]=_0x123e0e['value'],_0x1f12b1[_0x15f1('0xe')][_0x15f1('0x8')]=!this[_0x15f1('0x3')];},{'priority':_0x15f1('0x9')}),this[_0x15f1('0xf')](_0x96046a,'dataInsert',this[_0x15f1('0xa')][_0x15f1('0xc')](this)),this['listenTo'](_0x96046a,'dataInsert',()=>{this['_trackChangesExecuted']&&(_0x123e0e[_0x15f1('0xd')](),this['_trackChangesExecuted']=!0x1);},{'priority':_0x15f1('0x2')}),_0x9bc67d['plugins'][_0x15f1('0x13')](_0x15f1('0x4'))['enableCommand'](_0x15f1('0x14')));}[_0x15f1('0xa')](_0x323855,_0xa88e51){const {suggestions:_0x4c1d69}=_0xa88e51,_0x4ae445=this[_0x15f1('0x6')][_0x15f1('0x10')][_0x15f1('0x13')](_0x15f1('0x0')),_0x302153=_0x4ae445[_0x15f1('0x5')];this['_trackChangesValueDuringImport']!==_0x302153&&(_0x4ae445[_0x15f1('0xd')](),this[_0x15f1('0x12')]=!0x0),_0x4c1d69&&_0x4c1d69[_0x15f1('0x11')](({id:_0x54204d,type:_0x732852,author:_0x4d0283,created_at:_0x4ad59c})=>{const _0x1eb69e={'id':_0x54204d,'type':_0x732852,'authorId':this[_0x15f1('0x6')][_0x15f1('0x7')]['get'](_0x15f1('0x1'))['me']['id'],'createdAt':new Date(),'data':null,'hasComments':!0x1,'attributes':{'@external':{'authorName':_0x4d0283,'createdAt':_0x4ad59c?new Date(_0x4ad59c):new Date(),'source':_0x15f1('0x14')}}};this[_0x15f1('0x6')][_0x15f1('0x7')][_0x15f1('0x13')](_0x15f1('0x4'))['_setSuggestionData'](_0x1eb69e);});}}
23
+ const _0x5525=['plugins','Users','trackChanges','editor','collaboration_features','_trackChangesExecuted','_trackChangesValueDuringImport','TrackChangesEditing','importWord','execute','listenTo','value','afterInit','_setSuggestionData','get','high','dataInsert','bind','track_changes','commands','_handleImportedData'];(function(_0x335f14,_0x55255b){const _0x1b3db2=function(_0x3ce84b){while(--_0x3ce84b){_0x335f14['push'](_0x335f14['shift']());}};_0x1b3db2(++_0x55255b);}(_0x5525,0x13b));const _0x1b3d=function(_0x335f14,_0x55255b){_0x335f14=_0x335f14-0x0;let _0x1b3db2=_0x5525[_0x335f14];return _0x1b3db2;};import{Plugin as _0x263c6d}from'ckeditor5/src/core';export default class Z extends _0x263c6d{constructor(_0x27e834){super(_0x27e834),this['_trackChangesValueDuringImport']=!0x1,this[_0x1b3d('0x5')]=!0x1;}[_0x1b3d('0xc')](){const _0x286b50=this['editor'],_0x15c5c6=_0x286b50[_0x1b3d('0x13')][_0x1b3d('0xe')]('importWord'),_0x46d756=_0x286b50[_0x1b3d('0x13')][_0x1b3d('0xe')](_0x1b3d('0x2'));_0x15c5c6&&(_0x15c5c6['on'](_0x1b3d('0x9'),(_0x31abbe,[,_0x5698eb])=>{this[_0x1b3d('0x6')]=_0x46d756[_0x1b3d('0xb')],_0x5698eb[_0x1b3d('0x4')][_0x1b3d('0x12')]=!this[_0x1b3d('0x6')];},{'priority':_0x1b3d('0xf')}),this[_0x1b3d('0xa')](_0x15c5c6,_0x1b3d('0x10'),this[_0x1b3d('0x14')][_0x1b3d('0x11')](this)),this[_0x1b3d('0xa')](_0x15c5c6,_0x1b3d('0x10'),()=>{this[_0x1b3d('0x5')]&&(_0x46d756['execute'](),this[_0x1b3d('0x5')]=!0x1);},{'priority':'lowest'}),_0x286b50['plugins']['get'](_0x1b3d('0x7'))['enableCommand'](_0x1b3d('0x8')));}[_0x1b3d('0x14')](_0x389326,_0x516176){const {suggestions:_0x59a663}=_0x516176,_0x532f0a=this[_0x1b3d('0x3')][_0x1b3d('0x13')]['get'](_0x1b3d('0x2')),_0x13d84b=_0x532f0a['value'];this['_trackChangesValueDuringImport']!==_0x13d84b&&(_0x532f0a[_0x1b3d('0x9')](),this[_0x1b3d('0x5')]=!0x0),_0x59a663&&_0x59a663['forEach'](({id:_0x5bc012,type:_0x4cdc0e,author:_0x4065f1,created_at:_0x4d21a7})=>{const _0x35b5b4={'id':_0x5bc012,'type':_0x4cdc0e,'authorId':this[_0x1b3d('0x3')][_0x1b3d('0x0')][_0x1b3d('0xe')](_0x1b3d('0x1'))['me']['id'],'createdAt':new Date(),'data':null,'hasComments':!0x1,'attributes':{'@external':{'authorName':_0x4065f1,'createdAt':_0x4d21a7?new Date(_0x4d21a7):new Date(),'source':_0x1b3d('0x8')}}};this[_0x1b3d('0x3')][_0x1b3d('0x0')][_0x1b3d('0xe')](_0x1b3d('0x7'))[_0x1b3d('0xd')](_0x35b5b4);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4e72=['afterInit','format','getItemLabel','checkAttribute','indent','getItems','IndentBlock','from','locale','IndentEditing','selection','enableCommand','indentBlock','*Indent:*\x20%0','_descriptionFactory','plugins','getSelectedBlocks','blockIndent','document','TrackChangesEditing','editor','get','has','commandName','model','outdentBlock','schema','*Outdent:*\x20%0'];(function(_0x53d187,_0x4e721e){const _0x473458=function(_0x17078d){while(--_0x17078d){_0x53d187['push'](_0x53d187['shift']());}};_0x473458(++_0x4e721e);}(_0x4e72,0x1c4));const _0x4734=function(_0x53d187,_0x4e721e){_0x53d187=_0x53d187-0x0;let _0x473458=_0x4e72[_0x53d187];return _0x473458;};import{Plugin as _0x2bfdf5}from'ckeditor5/src/core';import{getTranslation as _0xca98d7}from'../utils/common-translations';export default class tt extends _0x2bfdf5{[_0x4734('0x18')](){const _0x2f8a80=this[_0x4734('0x10')],_0x34d7ba=_0x2f8a80[_0x4734('0xb')][_0x4734('0x11')](_0x4734('0xf'));_0x2f8a80[_0x4734('0xb')][_0x4734('0x12')](_0x4734('0x5'))&&(_0x34d7ba[_0x4734('0x7')](_0x4734('0x0')),_0x34d7ba[_0x4734('0x7')]('outdent'));const _0x2ef2e2=_0x2f8a80[_0x4734('0x4')];if(_0x2f8a80[_0x4734('0xb')][_0x4734('0x12')](_0x4734('0x2'))){for(const _0x4617ae of[_0x4734('0x8'),'outdentBlock'])_0x34d7ba[_0x4734('0x7')](_0x4617ae,()=>{const _0x53447c=Array[_0x4734('0x3')](this[_0x4734('0x10')]['model'][_0x4734('0xe')][_0x4734('0x6')][_0x4734('0xc')]())['filter'](_0x2ff9ae=>this[_0x4734('0x10')][_0x4734('0x14')][_0x4734('0x16')][_0x4734('0x1b')](_0x2ff9ae,_0x4734('0xd')));_0x2f8a80[_0x4734('0x14')]['change'](()=>{for(const _0x4c39aa of _0x53447c)_0x34d7ba['markBlockFormat'](_0x4c39aa,{'commandName':_0x4617ae,'commandParams':[{'value':''}],'formatGroupId':_0x4734('0x8')});});});_0x34d7ba[_0x4734('0xa')]['registerDescriptionCallback'](_0x348f99=>{const {data:_0x5d1c3e}=_0x348f99;if(!_0x5d1c3e)return;if(_0x4734('0x8')!=_0x5d1c3e[_0x4734('0x13')]&&_0x4734('0x15')!=_0x5d1c3e[_0x4734('0x13')])return;const _0x56c0dd=_0x348f99[_0x4734('0x1')]()[0x0],_0x5cee1d=_0x34d7ba[_0x4734('0xa')][_0x4734('0x1a')](_0x56c0dd);return'indentBlock'==_0x5d1c3e[_0x4734('0x13')]?{'type':_0x4734('0x19'),'content':_0xca98d7(_0x2ef2e2,_0x4734('0x9'),_0x5cee1d)}:_0x4734('0x15')==_0x5d1c3e[_0x4734('0x13')]?{'type':_0x4734('0x19'),'content':_0xca98d7(_0x2ef2e2,_0x4734('0x17'),_0x5cee1d)}:void 0x0;});}}}
23
+ const _0x2fdd=['indent','enableCommand','getSelectedBlocks','IndentBlock','*Outdent:*\x20%0','_descriptionFactory','getItems','indentBlock','getItemLabel','selection','plugins','outdentBlock','blockIndent','checkAttribute','commandName','registerDescriptionCallback','from','*Indent:*\x20%0','filter','has','format','outdent','editor','locale','model','IndentEditing'];(function(_0x3d80bf,_0x2fddea){const _0x5bd35c=function(_0x1ab813){while(--_0x1ab813){_0x3d80bf['push'](_0x3d80bf['shift']());}};_0x5bd35c(++_0x2fddea);}(_0x2fdd,0x74));const _0x5bd3=function(_0x3d80bf,_0x2fddea){_0x3d80bf=_0x3d80bf-0x0;let _0x5bd35c=_0x2fdd[_0x3d80bf];return _0x5bd35c;};import{Plugin as _0x50ac43}from'ckeditor5/src/core';import{getTranslation as _0x3c2bb0}from'../utils/common-translations';export default class tt extends _0x50ac43{['afterInit'](){const _0x4b5b74=this['editor'],_0x349fb7=_0x4b5b74['plugins']['get']('TrackChangesEditing');_0x4b5b74[_0x5bd3('0x18')]['has'](_0x5bd3('0xd'))&&(_0x349fb7[_0x5bd3('0xf')](_0x5bd3('0xe')),_0x349fb7[_0x5bd3('0xf')](_0x5bd3('0x9')));const _0x266c94=_0x4b5b74[_0x5bd3('0xb')];if(_0x4b5b74[_0x5bd3('0x18')][_0x5bd3('0x7')](_0x5bd3('0x11'))){for(const _0x2edc6e of[_0x5bd3('0x15'),'outdentBlock'])_0x349fb7[_0x5bd3('0xf')](_0x2edc6e,()=>{const _0x2e3f4e=Array[_0x5bd3('0x4')](this[_0x5bd3('0xa')][_0x5bd3('0xc')]['document'][_0x5bd3('0x17')][_0x5bd3('0x10')]())[_0x5bd3('0x6')](_0x4b56fd=>this[_0x5bd3('0xa')]['model']['schema'][_0x5bd3('0x1')](_0x4b56fd,_0x5bd3('0x0')));_0x4b5b74['model']['change'](()=>{for(const _0x37257e of _0x2e3f4e)_0x349fb7['markBlockFormat'](_0x37257e,{'commandName':_0x2edc6e,'commandParams':[{'value':''}],'formatGroupId':_0x5bd3('0x15')});});});_0x349fb7[_0x5bd3('0x13')][_0x5bd3('0x3')](_0x469f0d=>{const {data:_0x39d10f}=_0x469f0d;if(!_0x39d10f)return;if(_0x5bd3('0x15')!=_0x39d10f[_0x5bd3('0x2')]&&_0x5bd3('0x19')!=_0x39d10f['commandName'])return;const _0x3c9e63=_0x469f0d[_0x5bd3('0x14')]()[0x0],_0x134ef9=_0x349fb7[_0x5bd3('0x13')][_0x5bd3('0x16')](_0x3c9e63);return _0x5bd3('0x15')==_0x39d10f[_0x5bd3('0x2')]?{'type':_0x5bd3('0x8'),'content':_0x3c2bb0(_0x266c94,_0x5bd3('0x5'),_0x134ef9)}:_0x5bd3('0x19')==_0x39d10f['commandName']?{'type':_0x5bd3('0x8'),'content':_0x3c2bb0(_0x266c94,_0x5bd3('0x12'),_0x134ef9)}:void 0x0;});}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x94c2=['get','requires','init','editor','TrackChangesEditing'];(function(_0x533139,_0x94c25b){var _0x3a506f=function(_0xab0d5){while(--_0xab0d5){_0x533139['push'](_0x533139['shift']());}};_0x3a506f(++_0x94c25b);}(_0x94c2,0x1c1));var _0x3a50=function(_0x533139,_0x94c25b){_0x533139=_0x533139-0x0;var _0x3a506f=_0x94c2[_0x533139];return _0x3a506f;};import{Plugin as _0x5a065d}from'ckeditor5/src/core';import{Input as _0x44d0e4}from'ckeditor5/src/typing';export default class it extends _0x5a065d{static get[_0x3a50('0x2')](){return[_0x44d0e4];}[_0x3a50('0x3')](){this[_0x3a50('0x4')]['plugins'][_0x3a50('0x1')](_0x3a50('0x0'))['enableCommand']('input');}}
23
+ var _0x1961=['TrackChangesEditing','enableCommand','init','plugins','get','editor'];(function(_0x480d10,_0x1961fe){var _0x5a7038=function(_0x498fbd){while(--_0x498fbd){_0x480d10['push'](_0x480d10['shift']());}};_0x5a7038(++_0x1961fe);}(_0x1961,0x192));var _0x5a70=function(_0x480d10,_0x1961fe){_0x480d10=_0x480d10-0x0;var _0x5a7038=_0x1961[_0x480d10];return _0x5a7038;};import{Plugin as _0x3af1a5}from'ckeditor5/src/core';import{Input as _0x4d3404}from'ckeditor5/src/typing';export default class it extends _0x3af1a5{static get['requires'](){return[_0x4d3404];}[_0x5a70('0x2')](){this[_0x5a70('0x5')][_0x5a70('0x3')][_0x5a70('0x4')](_0x5a70('0x0'))[_0x5a70('0x1')]('input');}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4c00=['markInlineFormat','*Remove\x20link*','editor','afterInit','selection','change','LinkEditing','get','getAttribute','commandName','getFirstPosition','hasAttribute','locale','from','link','enableCommand','document','has','model','format','isCollapsed','unlink','linkHref','registerDescriptionCallback','plugins'];(function(_0x4c56e1,_0x4c001f){const _0x3de4cf=function(_0x41c300){while(--_0x41c300){_0x4c56e1['push'](_0x4c56e1['shift']());}};_0x3de4cf(++_0x4c001f);}(_0x4c00,0x1a4));const _0x3de4=function(_0x4c56e1,_0x4c001f){_0x4c56e1=_0x4c56e1-0x0;let _0x3de4cf=_0x4c00[_0x4c56e1];return _0x3de4cf;};import{Plugin as _0x4d4831}from'ckeditor5/src/core';import{findAttributeRange as _0x27d9d0}from'ckeditor5/src/typing';import{getRangesWithAttribute as _0x231785}from'./utils';import{getTranslation as _0x5eb7e1}from'../utils/common-translations';export default class et extends _0x4d4831{[_0x3de4('0x8')](){const _0x528e7f=this[_0x3de4('0x7')];if(!_0x528e7f[_0x3de4('0x4')][_0x3de4('0x16')](_0x3de4('0xb')))return;const _0x56e694=_0x528e7f[_0x3de4('0x4')][_0x3de4('0xc')]('TrackChangesEditing');_0x56e694[_0x3de4('0x14')]('link',(_0x2b83e6,_0x1416e4)=>{const _0x5cf9bc=_0x528e7f[_0x3de4('0x17')][_0x3de4('0x15')][_0x3de4('0x9')];let _0x26d531=[];if(_0x5cf9bc[_0x3de4('0x0')]){if(!_0x5cf9bc[_0x3de4('0x10')](_0x3de4('0x2')))return void _0x2b83e6(_0x1416e4);{const _0x34465d=_0x27d9d0(_0x5cf9bc[_0x3de4('0xf')](),_0x3de4('0x2'),_0x5cf9bc['getAttribute'](_0x3de4('0x2')),_0x528e7f['model']);_0x26d531=[_0x34465d];}}else _0x26d531=Array[_0x3de4('0x12')](_0x5cf9bc['getRanges']());_0x528e7f[_0x3de4('0x17')][_0x3de4('0xa')](()=>{for(const _0x2421eb of _0x26d531)_0x56e694[_0x3de4('0x5')](_0x2421eb,{'commandName':_0x3de4('0x13'),'commandParams':[_0x1416e4]});});}),_0x56e694[_0x3de4('0x14')](_0x3de4('0x1'),()=>{const _0x3414e8=this[_0x3de4('0x7')][_0x3de4('0x17')],_0x2e7dd0=_0x3414e8[_0x3de4('0x15')]['selection'];_0x3414e8[_0x3de4('0xa')](()=>{let _0x5b4953=[];if(_0x2e7dd0[_0x3de4('0x0')])_0x5b4953=[_0x27d9d0(_0x2e7dd0[_0x3de4('0xf')](),_0x3de4('0x2'),_0x2e7dd0[_0x3de4('0xd')](_0x3de4('0x2')),_0x528e7f['model'])];else _0x5b4953=_0x231785(_0x3de4('0x2'),_0x2e7dd0['getFirstRange'](),_0x528e7f[_0x3de4('0x17')]);for(const _0x22eb61 of _0x5b4953)_0x56e694[_0x3de4('0x5')](_0x22eb61,{'commandName':_0x3de4('0x1'),'commandParams':[]});});}),_0x56e694['_descriptionFactory'][_0x3de4('0x3')](_0xedae9=>{const {data:_0x512f25}=_0xedae9,_0x399ab9=_0x528e7f[_0x3de4('0x11')];if(_0x512f25){if('link'==_0x512f25[_0x3de4('0xe')]){const _0x2421b5=_0x512f25['commandParams'][0x0];return{'type':_0x3de4('0x18'),'content':_0x5eb7e1(_0x399ab9,'*Set\x20link:*\x20%0','\x22'+_0x2421b5+'\x22')};}return _0x3de4('0x1')==_0x512f25['commandName']?{'type':_0x3de4('0x18'),'content':_0x5eb7e1(_0x399ab9,_0x3de4('0x6'))}:void 0x0;}});}}
23
+ const _0x4c5d=['isCollapsed','LinkEditing','enableCommand','model','from','format','commandParams','link','change','markInlineFormat','unlink','locale','linkHref','getAttribute','plugins','TrackChangesEditing','editor','getFirstPosition','getFirstRange','selection','registerDescriptionCallback','document','commandName'];(function(_0x424ef1,_0x4c5de3){const _0x10e066=function(_0x16a0c4){while(--_0x16a0c4){_0x424ef1['push'](_0x424ef1['shift']());}};_0x10e066(++_0x4c5de3);}(_0x4c5d,0x17a));const _0x10e0=function(_0x424ef1,_0x4c5de3){_0x424ef1=_0x424ef1-0x0;let _0x10e066=_0x4c5d[_0x424ef1];return _0x10e066;};import{Plugin as _0xca8325}from'ckeditor5/src/core';import{findAttributeRange as _0x51509f}from'ckeditor5/src/typing';import{getRangesWithAttribute as _0xe15075}from'./utils';import{getTranslation as _0x14cfa1}from'../utils/common-translations';export default class et extends _0xca8325{['afterInit'](){const _0xb07e53=this[_0x10e0('0x6')];if(!_0xb07e53[_0x10e0('0x4')]['has'](_0x10e0('0xe')))return;const _0x4d2391=_0xb07e53[_0x10e0('0x4')]['get'](_0x10e0('0x5'));_0x4d2391[_0x10e0('0xf')](_0x10e0('0x14'),(_0x13bace,_0x21873f)=>{const _0x5cc0a9=_0xb07e53['model'][_0x10e0('0xb')][_0x10e0('0x9')];let _0x367565=[];if(_0x5cc0a9[_0x10e0('0xd')]){if(!_0x5cc0a9['hasAttribute'](_0x10e0('0x2')))return void _0x13bace(_0x21873f);{const _0x234dd5=_0x51509f(_0x5cc0a9['getFirstPosition'](),_0x10e0('0x2'),_0x5cc0a9[_0x10e0('0x3')](_0x10e0('0x2')),_0xb07e53['model']);_0x367565=[_0x234dd5];}}else _0x367565=Array[_0x10e0('0x11')](_0x5cc0a9['getRanges']());_0xb07e53['model'][_0x10e0('0x15')](()=>{for(const _0x577c13 of _0x367565)_0x4d2391[_0x10e0('0x16')](_0x577c13,{'commandName':_0x10e0('0x14'),'commandParams':[_0x21873f]});});}),_0x4d2391['enableCommand'](_0x10e0('0x0'),()=>{const _0x48d0ee=this[_0x10e0('0x6')][_0x10e0('0x10')],_0x21904f=_0x48d0ee['document']['selection'];_0x48d0ee[_0x10e0('0x15')](()=>{let _0x2da110=[];if(_0x21904f[_0x10e0('0xd')])_0x2da110=[_0x51509f(_0x21904f[_0x10e0('0x7')](),'linkHref',_0x21904f['getAttribute'](_0x10e0('0x2')),_0xb07e53['model'])];else _0x2da110=_0xe15075(_0x10e0('0x2'),_0x21904f[_0x10e0('0x8')](),_0xb07e53[_0x10e0('0x10')]);for(const _0x5a6080 of _0x2da110)_0x4d2391[_0x10e0('0x16')](_0x5a6080,{'commandName':_0x10e0('0x0'),'commandParams':[]});});}),_0x4d2391['_descriptionFactory'][_0x10e0('0xa')](_0x360a6f=>{const {data:_0x17261d}=_0x360a6f,_0x268ecb=_0xb07e53[_0x10e0('0x1')];if(_0x17261d){if('link'==_0x17261d[_0x10e0('0xc')]){const _0x57fb0e=_0x17261d[_0x10e0('0x13')][0x0];return{'type':_0x10e0('0x12'),'content':_0x14cfa1(_0x268ecb,'*Set\x20link:*\x20%0','\x22'+_0x57fb0e+'\x22')};}return _0x10e0('0x0')==_0x17261d[_0x10e0('0xc')]?{'type':_0x10e0('0x12'),'content':_0x14cfa1(_0x268ecb,'*Remove\x20link*')}:void 0x0;}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xdd7c=['from','commandName','nextSibling','TodoListEditing','end','checkTodoList','registerDescriptionCallback','listIndent','locale','markBlockFormat','add','previousSibling','has','bulletedList','commands','outdentList','todoList','indentList','element','model','getAttribute','*Outdent:*\x20%0','*Uncheck\x20item*','get','*Indent:*\x20%0','value','listType','forceValue','numberedList','schema','listItem','blockName','selection','*Check\x20item*','_descriptionFactory','isObject','name','afterInit','enableCommand','todoListChecked','format','createRange','*Change\x20to:*\x20%0','checkChild','filter','createPositionAt','plugins','slice','commandParams','editor','document','change','bulleted','ELEMENT_TODO_LIST','paragraph','push','_selectedElements','TrackChangesEditing','registerElementLabel','getSelectedBlocks'];(function(_0x190f0b,_0xdd7c4f){const _0x45790d=function(_0x1eeae1){while(--_0x1eeae1){_0x190f0b['push'](_0x190f0b['shift']());}};_0x45790d(++_0xdd7c4f);}(_0xdd7c,0xcd));const _0x4579=function(_0x190f0b,_0xdd7c4f){_0x190f0b=_0x190f0b-0x0;let _0x45790d=_0xdd7c[_0x190f0b];return _0x45790d;};import{Plugin as _0x4ab496}from'ckeditor5/src/core';import{getTranslation as _0x57c299}from'../utils/common-translations';export default class st extends _0x4ab496{[_0x4579('0xc')](){const _0x1a3f3d=this[_0x4579('0x18')],_0x714052=_0x1a3f3d[_0x4579('0x2b')];if(!_0x1a3f3d[_0x4579('0x15')][_0x4579('0x2f')]('ListEditing'))return;const _0x891aa2=_0x1a3f3d[_0x4579('0x15')][_0x4579('0x3a')](_0x4579('0x20')),_0x36737d=_0x1a3f3d[_0x4579('0x15')]['has'](_0x4579('0x26'));function _0x1af6b3(_0x32b553){return()=>{const _0x207bcc=_0x1a3f3d[_0x4579('0x36')][_0x4579('0x19')][_0x4579('0x7')],_0x1fbacc=_0x1a3f3d[_0x4579('0x31')][_0x4579('0x3a')](_0x32b553);if(_0x1fbacc['value'])return void _0x1a3f3d['execute'](_0x4579('0x1d'),{});const _0x520787=_0x32b553[_0x4579('0x16')](0x0,-0x4),_0x56bba2=function(_0x118584,_0x2f631d,_0x3c2701){let _0x1ff150=Array[_0x4579('0x23')](_0x118584)[_0x4579('0x13')](_0x2b1366=>function(_0x4e49da,_0x53b621){return _0x53b621[_0x4579('0x12')](_0x4e49da['parent'],_0x4579('0x5'))&&!_0x53b621[_0x4579('0xa')](_0x4e49da);}(_0x2b1366,_0x3c2701));_0x1ff150=_0x1ff150['filter'](_0x4447c1=>!_0x4447c1['is'](_0x4579('0x35'),_0x4579('0x5'))||_0x4447c1[_0x4579('0x37')](_0x4579('0x1'))!=_0x2f631d);const _0x3948a3=new Set();for(const _0x12ed05 of _0x1ff150)_0x12ed05['is'](_0x4579('0x35'),_0x4579('0x5'))?_0x3948a3[_0x4579('0x2d')](ne(_0x12ed05)):_0x3948a3[_0x4579('0x2d')](_0x12ed05);return Array[_0x4579('0x23')](_0x3948a3);}(_0x207bcc[_0x4579('0x22')](),_0x520787,_0x1a3f3d[_0x4579('0x36')][_0x4579('0x4')]);_0x1a3f3d['model'][_0x4579('0x1a')](()=>{for(const _0x1fd97a of _0x56bba2)_0x891aa2[_0x4579('0x2c')](_0x1fd97a,{'commandName':_0x32b553,'commandParams':[{'forceValue':!_0x1fbacc[_0x4579('0x0')]}],'formatGroupId':_0x4579('0x6')},oe(_0x1fd97a));});};}function _0x2d3586(_0x271d02){return()=>{const _0x13f42b=function(_0x1ad942){let _0x52fc41=Array[_0x4579('0x23')](_0x1ad942);const _0x14b620=_0x52fc41['findIndex'](_0x459f71=>_0x4579('0x5')!=_0x459f71[_0x4579('0xb')]);return _0x14b620>-0x1&&(_0x52fc41=_0x52fc41[_0x4579('0x16')](0x0,_0x14b620)),_0x52fc41;}(_0x1a3f3d[_0x4579('0x36')][_0x4579('0x19')][_0x4579('0x7')]['getSelectedBlocks']()),_0x1b755b=_0x1a3f3d['model'][_0x4579('0x10')](_0x1a3f3d[_0x4579('0x36')][_0x4579('0x14')](_0x13f42b[0x0],'before'),_0x1a3f3d[_0x4579('0x36')][_0x4579('0x14')](_0x13f42b[_0x13f42b['length']-0x1],_0x4579('0x27')));_0x1a3f3d[_0x4579('0x36')][_0x4579('0x1a')](()=>{_0x891aa2[_0x4579('0x2c')](_0x1b755b,{'commandName':_0x271d02,'commandParams':[],'formatGroupId':_0x4579('0x2a')},function(_0x2daffb){const _0x3f25bc=new Set();for(const _0x55515f of _0x2daffb){let _0x328d96=_0x55515f[_0x4579('0x25')];for(;_0x328d96&&_0x328d96[_0x4579('0x37')](_0x4579('0x2a'))>_0x55515f[_0x4579('0x37')](_0x4579('0x2a'));)_0x3f25bc[_0x4579('0x2d')](_0x328d96),_0x328d96=_0x328d96[_0x4579('0x25')];}return Array['from'](_0x3f25bc);}(_0x13f42b));});};}_0x891aa2['enableCommand'](_0x4579('0x3'),_0x1af6b3('numberedList')),_0x891aa2[_0x4579('0xd')](_0x4579('0x30'),_0x1af6b3('bulletedList')),_0x36737d&&_0x891aa2[_0x4579('0xd')](_0x4579('0x33'),_0x1af6b3('todoList')),_0x891aa2['enableCommand'](_0x4579('0x34'),_0x2d3586('indentList')),_0x891aa2[_0x4579('0xd')]('outdentList',_0x2d3586(_0x4579('0x32'))),_0x36737d&&_0x891aa2[_0x4579('0xd')]('checkTodoList',()=>{const _0x1898ad=_0x1a3f3d[_0x4579('0x31')][_0x4579('0x3a')](_0x4579('0x28')),_0x1a29ef=Array[_0x4579('0x23')](_0x1898ad[_0x4579('0x1f')]);_0x1a29ef['filter'](_0x519c30=>_0x519c30[_0x4579('0x37')](_0x4579('0xe'))!=_0x1898ad[_0x4579('0x0')]),_0x1a3f3d[_0x4579('0x36')][_0x4579('0x1a')](()=>{for(const _0xd6fe62 of _0x1a29ef)_0x891aa2[_0x4579('0x2c')](_0xd6fe62,{'commandName':_0x4579('0x28'),'commandParams':[{'forceValue':!_0x1898ad[_0x4579('0x0')]}]});});}),_0x891aa2[_0x4579('0x9')][_0x4579('0x21')](_0x4579('0x5'),_0x1b9b3e=>_0x57c299(_0x714052,'ELEMENT_LIST_ITEM',_0x1b9b3e)),_0x891aa2[_0x4579('0x9')][_0x4579('0x29')](_0x2a6bbb=>{const {data:_0x40fb7e}=_0x2a6bbb;if(_0x40fb7e){if(_0x4579('0x3')==_0x40fb7e[_0x4579('0x24')]||_0x4579('0x30')==_0x40fb7e[_0x4579('0x24')]||_0x4579('0x33')==_0x40fb7e[_0x4579('0x24')])switch(_0x40fb7e[_0x4579('0x24')]['replace']('List','')){case _0x4579('0x1b'):return _0x5c2a6d(_0x57c299(_0x714052,'ELEMENT_BULLETED_LIST'));case'numbered':return _0x5c2a6d(_0x57c299(_0x714052,'ELEMENT_NUMBERED_LIST'));case'todo':return _0x5c2a6d(_0x57c299(_0x714052,_0x4579('0x1c')));}if(_0x4579('0x34')==_0x40fb7e[_0x4579('0x24')])return{'type':_0x4579('0xf'),'content':_0x57c299(_0x714052,_0x4579('0x3b'),_0x57c299(_0x714052,'ELEMENT_LIST_ITEM'))};if('outdentList'==_0x40fb7e[_0x4579('0x24')])return{'type':_0x4579('0xf'),'content':_0x57c299(_0x714052,_0x4579('0x38'),_0x57c299(_0x714052,'ELEMENT_LIST_ITEM'))};if(_0x4579('0x28')==_0x40fb7e['commandName'])return _0x40fb7e[_0x4579('0x17')][0x0][_0x4579('0x2')]?{'type':_0x4579('0xf'),'content':_0x57c299(_0x714052,_0x4579('0x8'))}:{'type':_0x4579('0xf'),'content':_0x57c299(_0x714052,_0x4579('0x39'))};}function _0x5c2a6d(_0x33b831){return{'type':_0x4579('0xf'),'content':_0x57c299(_0x714052,_0x4579('0x11'),_0x33b831)};}});}}function ne(_0x314720){const _0x33fbfe=_0x314720[_0x4579('0x37')](_0x4579('0x2a'));if(0x0==_0x33fbfe)return _0x314720;let _0x519e99=_0x314720;for(;_0x314720['previousSibling']&&_0x314720[_0x4579('0x2e')]['is'](_0x4579('0x35'),_0x4579('0x5'));){const _0x4d9e0e=_0x314720[_0x4579('0x2e')][_0x4579('0x37')](_0x4579('0x2a'));if(_0x4d9e0e==_0x33fbfe)_0x519e99=_0x314720['previousSibling'];else{if(_0x4d9e0e<_0x33fbfe)break;}_0x314720=_0x314720['previousSibling'];}return _0x519e99;}function oe(_0x52d516){const _0x5a2b5c=[];if(_0x52d516['is'](_0x4579('0x35'),'listItem')&&_0x52d516['getAttribute'](_0x4579('0x2a'))>0x0){let _0x21b652=_0x52d516[_0x4579('0x25')];for(;_0x21b652&&_0x4579('0x5')==_0x21b652[_0x4579('0xb')]&&_0x21b652[_0x4579('0x37')](_0x4579('0x2a'))==_0x52d516[_0x4579('0x37')](_0x4579('0x2a'));)_0x5a2b5c[_0x4579('0x1e')](_0x21b652),_0x21b652=_0x21b652[_0x4579('0x25')];}return _0x5a2b5c;}
23
+ const _0x189f=['parent','blockName','createRange','_descriptionFactory','todo','registerDescriptionCallback','outdentList','*Uncheck\x20item*','ELEMENT_NUMBERED_LIST','value','*Indent:*\x20%0','document','forceValue','afterInit','slice','nextSibling','change','commandName','ELEMENT_LIST_ITEM','element','markBlockFormat','replace','model','List','getSelectedBlocks','from','createPositionAt','numberedList','TodoListEditing','length','get','selection','ListEditing','bulleted','todoListChecked','registerElementLabel','execute','bulletedList','paragraph','listIndent','indentList','listType','add','previousSibling','checkChild','plugins','numbered','format','commands','*Change\x20to:*\x20%0','before','end','filter','has','getAttribute','schema','isObject','name','todoList','checkTodoList','enableCommand','listItem','TrackChangesEditing','*Check\x20item*','push','commandParams','findIndex'];(function(_0x502d65,_0x189f65){const _0x460fe6=function(_0x21057b){while(--_0x21057b){_0x502d65['push'](_0x502d65['shift']());}};_0x460fe6(++_0x189f65);}(_0x189f,0x1b5));const _0x460f=function(_0x502d65,_0x189f65){_0x502d65=_0x502d65-0x0;let _0x460fe6=_0x189f[_0x502d65];return _0x460fe6;};import{Plugin as _0x511203}from'ckeditor5/src/core';import{getTranslation as _0x79a496}from'../utils/common-translations';export default class st extends _0x511203{[_0x460f('0x2d')](){const _0x5044ef=this['editor'],_0x20323f=_0x5044ef['locale'];if(!_0x5044ef[_0x460f('0xa')][_0x460f('0x12')](_0x460f('0x40')))return;const _0x52e1a9=_0x5044ef[_0x460f('0xa')][_0x460f('0x3e')](_0x460f('0x1b')),_0x23ce86=_0x5044ef['plugins']['has'](_0x460f('0x3c'));function _0x19a708(_0x4dedae){return()=>{const _0x4cacde=_0x5044ef[_0x460f('0x36')][_0x460f('0x2b')][_0x460f('0x3f')],_0x16a1d9=_0x5044ef[_0x460f('0xd')][_0x460f('0x3e')](_0x4dedae);if(_0x16a1d9['value'])return void _0x5044ef[_0x460f('0x1')](_0x460f('0x3'),{});const _0x2d8a09=_0x4dedae[_0x460f('0x2e')](0x0,-0x4),_0x2deb02=function(_0x48d202,_0xe21f60,_0x47352e){let _0x191e2f=Array['from'](_0x48d202)[_0x460f('0x11')](_0x4c4dd7=>function(_0x3dc5b1,_0x5ef2fd){return _0x5ef2fd[_0x460f('0x9')](_0x3dc5b1[_0x460f('0x20')],_0x460f('0x1a'))&&!_0x5ef2fd[_0x460f('0x15')](_0x3dc5b1);}(_0x4c4dd7,_0x47352e));_0x191e2f=_0x191e2f[_0x460f('0x11')](_0x360b7a=>!_0x360b7a['is'](_0x460f('0x33'),_0x460f('0x1a'))||_0x360b7a['getAttribute'](_0x460f('0x6'))!=_0xe21f60);const _0x52befa=new Set();for(const _0x20d41a of _0x191e2f)_0x20d41a['is'](_0x460f('0x33'),_0x460f('0x1a'))?_0x52befa['add'](ne(_0x20d41a)):_0x52befa[_0x460f('0x7')](_0x20d41a);return Array[_0x460f('0x39')](_0x52befa);}(_0x4cacde[_0x460f('0x38')](),_0x2d8a09,_0x5044ef[_0x460f('0x36')][_0x460f('0x14')]);_0x5044ef[_0x460f('0x36')]['change'](()=>{for(const _0x16e3dd of _0x2deb02)_0x52e1a9[_0x460f('0x34')](_0x16e3dd,{'commandName':_0x4dedae,'commandParams':[{'forceValue':!_0x16a1d9[_0x460f('0x29')]}],'formatGroupId':_0x460f('0x21')},oe(_0x16e3dd));});};}function _0x1c4057(_0x38f749){return()=>{const _0x1fbff3=function(_0x19d541){let _0x274823=Array[_0x460f('0x39')](_0x19d541);const _0x56c8f9=_0x274823[_0x460f('0x1f')](_0x5e703b=>_0x460f('0x1a')!=_0x5e703b[_0x460f('0x16')]);return _0x56c8f9>-0x1&&(_0x274823=_0x274823['slice'](0x0,_0x56c8f9)),_0x274823;}(_0x5044ef[_0x460f('0x36')][_0x460f('0x2b')]['selection'][_0x460f('0x38')]()),_0x60b876=_0x5044ef[_0x460f('0x36')][_0x460f('0x22')](_0x5044ef['model'][_0x460f('0x3a')](_0x1fbff3[0x0],_0x460f('0xf')),_0x5044ef['model'][_0x460f('0x3a')](_0x1fbff3[_0x1fbff3[_0x460f('0x3d')]-0x1],_0x460f('0x10')));_0x5044ef['model']['change'](()=>{_0x52e1a9['markBlockFormat'](_0x60b876,{'commandName':_0x38f749,'commandParams':[],'formatGroupId':_0x460f('0x4')},function(_0x399aff){const _0x34a2b2=new Set();for(const _0x47609b of _0x399aff){let _0x3513bf=_0x47609b['nextSibling'];for(;_0x3513bf&&_0x3513bf[_0x460f('0x13')](_0x460f('0x4'))>_0x47609b[_0x460f('0x13')](_0x460f('0x4'));)_0x34a2b2[_0x460f('0x7')](_0x3513bf),_0x3513bf=_0x3513bf[_0x460f('0x2f')];}return Array[_0x460f('0x39')](_0x34a2b2);}(_0x1fbff3));});};}_0x52e1a9[_0x460f('0x19')]('numberedList',_0x19a708(_0x460f('0x3b'))),_0x52e1a9[_0x460f('0x19')](_0x460f('0x2'),_0x19a708('bulletedList')),_0x23ce86&&_0x52e1a9[_0x460f('0x19')](_0x460f('0x17'),_0x19a708(_0x460f('0x17'))),_0x52e1a9[_0x460f('0x19')](_0x460f('0x5'),_0x1c4057(_0x460f('0x5'))),_0x52e1a9[_0x460f('0x19')]('outdentList',_0x1c4057(_0x460f('0x26'))),_0x23ce86&&_0x52e1a9[_0x460f('0x19')](_0x460f('0x18'),()=>{const _0x4d8a9f=_0x5044ef[_0x460f('0xd')][_0x460f('0x3e')](_0x460f('0x18')),_0x70d5b0=Array[_0x460f('0x39')](_0x4d8a9f['_selectedElements']);_0x70d5b0[_0x460f('0x11')](_0xac883b=>_0xac883b['getAttribute'](_0x460f('0x42'))!=_0x4d8a9f[_0x460f('0x29')]),_0x5044ef['model'][_0x460f('0x30')](()=>{for(const _0x2559c5 of _0x70d5b0)_0x52e1a9['markBlockFormat'](_0x2559c5,{'commandName':_0x460f('0x18'),'commandParams':[{'forceValue':!_0x4d8a9f['value']}]});});}),_0x52e1a9[_0x460f('0x23')][_0x460f('0x0')](_0x460f('0x1a'),_0x112fcd=>_0x79a496(_0x20323f,_0x460f('0x32'),_0x112fcd)),_0x52e1a9[_0x460f('0x23')][_0x460f('0x25')](_0x24292f=>{const {data:_0x26f6fe}=_0x24292f;if(_0x26f6fe){if(_0x460f('0x3b')==_0x26f6fe[_0x460f('0x31')]||_0x460f('0x2')==_0x26f6fe[_0x460f('0x31')]||'todoList'==_0x26f6fe[_0x460f('0x31')])switch(_0x26f6fe['commandName'][_0x460f('0x35')](_0x460f('0x37'),'')){case _0x460f('0x41'):return _0x16d99f(_0x79a496(_0x20323f,'ELEMENT_BULLETED_LIST'));case _0x460f('0xb'):return _0x16d99f(_0x79a496(_0x20323f,_0x460f('0x28')));case _0x460f('0x24'):return _0x16d99f(_0x79a496(_0x20323f,'ELEMENT_TODO_LIST'));}if(_0x460f('0x5')==_0x26f6fe[_0x460f('0x31')])return{'type':_0x460f('0xc'),'content':_0x79a496(_0x20323f,_0x460f('0x2a'),_0x79a496(_0x20323f,_0x460f('0x32')))};if(_0x460f('0x26')==_0x26f6fe[_0x460f('0x31')])return{'type':_0x460f('0xc'),'content':_0x79a496(_0x20323f,'*Outdent:*\x20%0',_0x79a496(_0x20323f,_0x460f('0x32')))};if(_0x460f('0x18')==_0x26f6fe[_0x460f('0x31')])return _0x26f6fe[_0x460f('0x1e')][0x0][_0x460f('0x2c')]?{'type':'format','content':_0x79a496(_0x20323f,_0x460f('0x1c'))}:{'type':'format','content':_0x79a496(_0x20323f,_0x460f('0x27'))};}function _0x16d99f(_0x3057cd){return{'type':'format','content':_0x79a496(_0x20323f,_0x460f('0xe'),_0x3057cd)};}});}}function ne(_0x48c66e){const _0x4acd73=_0x48c66e[_0x460f('0x13')]('listIndent');if(0x0==_0x4acd73)return _0x48c66e;let _0x5f53cb=_0x48c66e;for(;_0x48c66e[_0x460f('0x8')]&&_0x48c66e[_0x460f('0x8')]['is'](_0x460f('0x33'),_0x460f('0x1a'));){const _0x43b98c=_0x48c66e['previousSibling'][_0x460f('0x13')](_0x460f('0x4'));if(_0x43b98c==_0x4acd73)_0x5f53cb=_0x48c66e['previousSibling'];else{if(_0x43b98c<_0x4acd73)break;}_0x48c66e=_0x48c66e[_0x460f('0x8')];}return _0x5f53cb;}function oe(_0xcb9bb){const _0x4f6f79=[];if(_0xcb9bb['is'](_0x460f('0x33'),'listItem')&&_0xcb9bb[_0x460f('0x13')](_0x460f('0x4'))>0x0){let _0xeca343=_0xcb9bb[_0x460f('0x2f')];for(;_0xeca343&&_0x460f('0x1a')==_0xeca343[_0x460f('0x16')]&&_0xeca343[_0x460f('0x13')]('listIndent')==_0xcb9bb[_0x460f('0x13')](_0x460f('0x4'));)_0x4f6f79[_0x460f('0x1d')](_0xeca343),_0xeca343=_0xeca343[_0x460f('0x2f')];}return _0x4f6f79;}