@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20230728.0 → 0.0.0-nightly-20230729.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 _0x56f9=['_enableCommand','fontSize.options','FontFamilyEditing','commandName','fontFamily','model','find','fontBackgroundColor','TrackChangesEditing','commandParams','format','normalizeSizeOptions','fontSize','*Reset\x20font\x20background\x20color*','*Set\x20font\x20background\x20color:*\x20%0','fontBackgroundColor.colors','*Set\x20font\x20color:*\x20%0','value','config','trim','editor','FontBackgroundColorEditing','fontColor','title','*Reset\x20font\x20family*','FontSize','fontColor.colors','document','from','label','*Reset\x20font\x20color*','toLowerCase','plugins','*Reset\x20font\x20size*','*Set\x20font\x20size:*\x20%0','change','*Set\x20font\x20family:*\x20%0','get'];(function(_0x4f28a0,_0x56f991){const _0x41e769=function(_0x91e380){while(--_0x91e380){_0x4f28a0['push'](_0x4f28a0['shift']());}};_0x41e769(++_0x56f991);}(_0x56f9,0x1b0));const _0x41e7=function(_0x4f28a0,_0x56f991){_0x4f28a0=_0x4f28a0-0x0;let _0x41e769=_0x56f9[_0x4f28a0];return _0x41e769;};import{Plugin as _0x2131c0}from'ckeditor5/src/core';import{normalizeColorOptions as _0x121ba6}from'ckeditor5/src/ui';import{getRangesWithAttribute as _0x111403}from'./utils';import{getTranslation as _0x2c65f8}from'../utils/common-translations';const Zt=[{'pluginName':'FontSizeEditing','commandName':_0x41e7('0x24')},{'pluginName':_0x41e7('0x1a'),'commandName':_0x41e7('0x1c')},{'pluginName':'FontColorEditing','commandName':_0x41e7('0x8')},{'pluginName':_0x41e7('0x7'),'commandName':_0x41e7('0x1f')}];export default class H extends _0x2131c0{['afterInit'](){const _0x47aaf2=this[_0x41e7('0x6')]['locale'];for(const {pluginName:_0x2d0662,commandName:_0x52273b}of Zt)this[_0x41e7('0x6')][_0x41e7('0x12')]['has'](_0x2d0662)&&this[_0x41e7('0x18')](_0x52273b);this[_0x41e7('0x6')][_0x41e7('0x12')]['get'](_0x41e7('0x20'))['_descriptionFactory']['registerDescriptionCallback'](_0x54b77e=>{const _0x131cd5=_0x47aaf2['t'],{data:_0x379e7b}=_0x54b77e;if(null!=_0x379e7b){if(_0x41e7('0x24')==_0x379e7b[_0x41e7('0x1b')]){const _0x29f49f=_0x379e7b[_0x41e7('0x21')][0x0][_0x41e7('0x3')];if(_0x29f49f){const _0x45517b=_0x131cd5(this[_0x41e7('0x6')][_0x41e7('0x12')][_0x41e7('0x17')](_0x41e7('0xb'))[_0x41e7('0x23')](this[_0x41e7('0x6')][_0x41e7('0x4')][_0x41e7('0x17')](_0x41e7('0x19')))[_0x41e7('0x1e')](_0x4653b6=>_0x4653b6[_0x41e7('0x1d')]==_0x29f49f)[_0x41e7('0x9')])[_0x41e7('0x11')]();return{'type':_0x41e7('0x22'),'content':_0x2c65f8(_0x47aaf2,_0x41e7('0x14'),_0x45517b)};}return{'type':_0x41e7('0x22'),'content':_0x2c65f8(_0x47aaf2,_0x41e7('0x13'))};}if('fontFamily'==_0x379e7b[_0x41e7('0x1b')]){const _0x13d68a=_0x379e7b[_0x41e7('0x21')][0x0][_0x41e7('0x3')];return _0x13d68a?{'type':'format','content':_0x2c65f8(_0x47aaf2,_0x41e7('0x16'),_0x13d68a)}:{'type':_0x41e7('0x22'),'content':_0x2c65f8(_0x47aaf2,_0x41e7('0xa'))};}if(_0x41e7('0x8')==_0x379e7b[_0x41e7('0x1b')]){const _0x482cb0=_0x379e7b[_0x41e7('0x21')][0x0]['value'];if(_0x482cb0){const _0x94162a=_0x121ba6(this[_0x41e7('0x6')]['config']['get'](_0x41e7('0xc')))[_0x41e7('0x1e')](_0xed58e8=>_0xed58e8[_0x41e7('0x1d')]==_0x482cb0);let _0x35e0f9=_0x482cb0,_0x39080a='';return _0x94162a&&(_0x35e0f9=_0x94162a[_0x41e7('0xf')],_0x39080a=_0x131cd5(_0x35e0f9)['toLowerCase']()),{'type':_0x41e7('0x22'),'content':_0x2c65f8(_0x47aaf2,_0x41e7('0x2'),_0x39080a)['trim'](),'color':{'value':_0x482cb0,'title':_0x39080a||_0x35e0f9}};}return{'type':_0x41e7('0x22'),'content':_0x2c65f8(_0x47aaf2,_0x41e7('0x10'))};}if(_0x41e7('0x1f')==_0x379e7b[_0x41e7('0x1b')]){const _0x3231f4=_0x379e7b[_0x41e7('0x21')][0x0][_0x41e7('0x3')];if(_0x3231f4){const _0x188353=_0x121ba6(this[_0x41e7('0x6')][_0x41e7('0x4')][_0x41e7('0x17')](_0x41e7('0x1')))[_0x41e7('0x1e')](_0x4c4226=>_0x4c4226['model']==_0x3231f4);let _0x6f8148=_0x3231f4,_0x3675b0='';return _0x188353&&(_0x6f8148=_0x188353[_0x41e7('0xf')],_0x3675b0=_0x131cd5(_0x6f8148)[_0x41e7('0x11')]()),{'type':'format','content':_0x2c65f8(_0x47aaf2,_0x41e7('0x0'),_0x3675b0)[_0x41e7('0x5')](),'color':{'value':_0x3231f4,'title':_0x3675b0||_0x6f8148}};}return{'type':_0x41e7('0x22'),'content':_0x2c65f8(_0x47aaf2,_0x41e7('0x25'))};}}});}[_0x41e7('0x18')](_0x2ef8f5){const _0x423ae5=this['editor'];_0x423ae5[_0x41e7('0x12')][_0x41e7('0x17')](_0x41e7('0x20'))['enableCommand'](_0x2ef8f5,(_0x5b21bf,_0x44fe2b={})=>{const _0xc2dad9=_0x423ae5[_0x41e7('0x1d')][_0x41e7('0xd')]['selection'],_0x561a56=_0x44fe2b['value'];_0xc2dad9['isCollapsed']?_0x5b21bf(_0x44fe2b):_0x423ae5[_0x41e7('0x1d')][_0x41e7('0x15')](()=>{const _0x8f5d62=Array[_0x41e7('0xe')](_0xc2dad9['getRanges']());for(const _0x4ce624 of _0x8f5d62){const _0xcbc4ad=_0x561a56?[_0x4ce624]:_0x111403(_0x2ef8f5,_0x4ce624,_0x423ae5[_0x41e7('0x1d')]);for(const _0x5c3f76 of _0xcbc4ad)_0x423ae5[_0x41e7('0x12')][_0x41e7('0x17')]('TrackChangesEditing')['markInlineFormat'](_0x5c3f76,{'commandName':_0x2ef8f5,'commandParams':[{'value':_0x561a56}]});}});});}}
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}]});}});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x45db=['slice','keys','getAttributes','fontBackgroundColor','document','boolean','toLowerCase','from','isBlock','registerDescriptionCallback','isFormatting','editor','schema','pasteFormat','config','markInlineFormat','toUpperCase','word','commands','forward','join','format','label','getRanges','createRange','find','get','getSelectedBlocks','getItems','TrackChangesEditing','isCollapsed','fontColor.colors','normalizeSizeOptions','split','length','fontSize','enableCommand','fontColor','modifySelection','getFirstPosition','createSelection','FontSize','title','commandName','commandParams','plugins','fontSize.options','_descriptionFactory','model','push','getAttributeProperties'];(function(_0x1d9631,_0x45db31){const _0x3d10a0=function(_0x10690d){while(--_0x10690d){_0x1d9631['push'](_0x1d9631['shift']());}};_0x3d10a0(++_0x45db31);}(_0x45db,0xe0));const _0x3d10=function(_0x1d9631,_0x45db31){_0x1d9631=_0x1d9631-0x0;let _0x3d10a0=_0x45db[_0x1d9631];return _0x3d10a0;};import{Plugin as _0x43f5e6}from'ckeditor5/src/core';import{normalizeColorOptions as _0x493b16}from'ckeditor5/src/ui';import{first as _0x36f3b1}from'ckeditor5/src/utils';import{getTranslation as _0x5e541d}from'../utils/common-translations';export default class W extends _0x43f5e6{['afterInit'](){const _0x2382ab=this[_0x3d10('0x2a')],_0x4c36b6=_0x2382ab[_0x3d10('0x1c')],_0x59c31b=_0x4c36b6[_0x3d10('0x23')]['selection'],_0x11b936=_0x2382ab[_0x3d10('0x19')][_0x3d10('0x6')](_0x3d10('0x9')),_0x3e7143=_0x2382ab['locale'],_0x41d927=_0x2382ab[_0x3d10('0x31')]['get']('copyFormat'),_0x528a8d=_0x2382ab[_0x3d10('0x31')][_0x3d10('0x6')]('pasteFormat');_0x41d927&&_0x528a8d&&(_0x11b936[_0x3d10('0x10')](_0x3d10('0x2c'),(_0x4063f0,_0x4cf3a1={})=>{const _0x38c4c7=_0x4cf3a1;_0x4c36b6['change'](()=>{const _0x3cac3a=Array[_0x3d10('0x26')](_0x59c31b[_0x3d10('0x3')]()),_0x58abf8=_0x59c31b[_0x3d10('0xa')]?[ro(_0x4c36b6,_0x59c31b)]:_0x3cac3a,_0x366d13=!!_0x36f3b1(function*(_0x47fcf0,_0xeb6a1e){const _0x4c86d3=_0x3b26d1=>!!_0x36f3b1(function*(_0x22f018,_0x4ceaff){for(const [_0x1f553b]of _0x22f018[_0x3d10('0x21')]()){const _0x59ff77=_0x4ceaff[_0x3d10('0x1e')](_0x1f553b);_0x59ff77&&_0x59ff77[_0x3d10('0x29')]&&(yield _0x1f553b);}}(_0x3b26d1,_0xeb6a1e));for(const _0x32d4d6 of _0x47fcf0[_0x3d10('0x3')]())for(const _0x54c885 of _0x32d4d6[_0x3d10('0x8')]())!_0xeb6a1e[_0x3d10('0x27')](_0x54c885)&&_0x4c86d3(_0x54c885)&&(yield _0x54c885);for(const _0x27006f of _0x47fcf0[_0x3d10('0x7')]())_0x4c86d3(_0x27006f)&&(yield _0x27006f);_0x4c86d3(_0x47fcf0)&&(yield _0x47fcf0);}(_0x59c31b,_0x4c36b6[_0x3d10('0x2b')]));if(_0x366d13||0x0!==Object[_0x3d10('0x20')](_0x38c4c7)[_0x3d10('0xe')])for(const _0x3d2c03 of _0x58abf8)_0x11b936[_0x3d10('0x2e')](_0x3d2c03,{'commandName':_0x3d10('0x2c'),'commandParams':[_0x38c4c7]});});}),_0x11b936[_0x3d10('0x1b')][_0x3d10('0x28')](_0x16c4a6=>{const {data:_0x2d8a2f}=_0x16c4a6;if(_0x2d8a2f&&'pasteFormat'===_0x2d8a2f[_0x3d10('0x17')]){const _0x5c00f2=[],_0x421c38=_0x2d8a2f[_0x3d10('0x18')][0x0];for(const [_0x4f688e,_0x5c6b5d]of Object['entries'](_0x421c38))_0x5c00f2[_0x3d10('0x1d')](no(_0x2382ab,_0x4f688e,_0x5c6b5d));return _0x5c00f2['length']?{'type':_0x3d10('0x1'),'content':_0x5e541d(_0x3e7143,'*Set\x20format\x20to:*\x20%0',_0x5c00f2[_0x3d10('0x0')](',\x20'))}:{'type':'format','content':_0x5e541d(_0x3e7143,'*Remove\x20all\x20formatting*')};}}),_0x2382ab[_0x3d10('0x19')][_0x3d10('0x6')](_0x3d10('0x9'))['enableCommand']('copyFormat'));}}function ro(_0x54152d,_0x338ee9){const _0x2ba45d=_0x54152d[_0x3d10('0x14')](_0x338ee9);_0x54152d[_0x3d10('0x12')](_0x2ba45d,{'unit':_0x3d10('0x30'),'direction':'backward'});const _0x4f836e=_0x2ba45d[_0x3d10('0x13')]();_0x54152d['modifySelection'](_0x2ba45d,{'unit':_0x3d10('0x30'),'direction':_0x3d10('0x32')});const _0x589d2b=_0x2ba45d['getLastPosition']();return _0x54152d[_0x3d10('0x4')](_0x4f836e,_0x589d2b);}function no(_0x13277f,_0x14903a,_0x431bd9){const _0x516f76=_0x13277f['locale']['t'],_0x3bdae1=_0x14903a[_0x3d10('0xd')](/(?=[A-Z])/)[_0x3d10('0x0')]('\x20'),_0x2fe9a8=_0x516f76(_0x3bdae1['charAt'](0x0)[_0x3d10('0x2f')]()+_0x3bdae1[_0x3d10('0x1f')](0x1))['toLowerCase']();if(_0x3d10('0x24')==typeof _0x431bd9)return _0x2fe9a8;if(_0x3d10('0x11')===_0x14903a||_0x3d10('0x22')===_0x14903a){const _0x3bf11f=_0x493b16(_0x13277f['config'][_0x3d10('0x6')](_0x3d10('0xb')))[_0x3d10('0x5')](_0x47cfa0=>_0x47cfa0[_0x3d10('0x1c')]==_0x431bd9);return _0x2fe9a8+'\x20('+(_0x3bf11f?_0x516f76(_0x3bf11f[_0x3d10('0x2')])[_0x3d10('0x25')]():_0x431bd9)+')';}if(_0x3d10('0xf')===_0x14903a&&isNaN(parseFloat(_0x431bd9))){const _0x4b4bdc=_0x13277f[_0x3d10('0x19')]['get'](_0x3d10('0x15'))[_0x3d10('0xc')](_0x13277f[_0x3d10('0x2d')][_0x3d10('0x6')](_0x3d10('0x1a')))['find'](_0x14a2ca=>_0x14a2ca[_0x3d10('0x1c')]==_0x431bd9);return _0x2fe9a8+'\x20('+(_0x4b4bdc?_0x516f76(_0x4b4bdc[_0x3d10('0x16')])[_0x3d10('0x25')]():_0x431bd9)+')';}return _0x2fe9a8+'\x20('+_0x431bd9+')';}
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+')';}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5300=['title','ELEMENT_HEADING','paragraph','parent','document','getSelectedBlocks','registerDescriptionCallback','selection','formatBlock','schema','enableCommand','TrackChangesEditing','match','_descriptionFactory','heading.options','plugins','model','format','editor','afterInit','value','isObject','heading','has','get','commandName','ELEMENT_HEADING_CUSTOM','commandParams','blockName'];(function(_0x208100,_0x5300fa){const _0x28912f=function(_0x4b54fe){while(--_0x4b54fe){_0x208100['push'](_0x208100['shift']());}};_0x28912f(++_0x5300fa);}(_0x5300,0xec));const _0x2891=function(_0x208100,_0x5300fa){_0x208100=_0x208100-0x0;let _0x28912f=_0x5300[_0x208100];return _0x28912f;};import{Plugin as _0x1ca246}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x3d5e99}from'./utils';import{getTranslation as _0x1201f1}from'../utils/common-translations';export default class J extends _0x1ca246{[_0x2891('0xf')](){const _0x296c5e=this[_0x2891('0xe')],_0x105afc=_0x296c5e['locale'],_0xa4f7b6=_0x296c5e['config'][_0x2891('0x14')](_0x2891('0xa'));if(!_0x296c5e[_0x2891('0xb')][_0x2891('0x13')]('HeadingEditing'))return;const _0x2ee103=_0x296c5e[_0x2891('0xb')]['get'](_0x2891('0x7'));_0x2ee103[_0x2891('0x6')](_0x2891('0x12'),(_0x21834c,_0x16b2df)=>{const _0x2b5af0=_0x16b2df[_0x2891('0x10')],_0x1fd7d7=Array['from'](this['editor'][_0x2891('0xc')][_0x2891('0x0')][_0x2891('0x3')][_0x2891('0x1')]())['filter'](_0x39597f=>function(_0x27f8c0,_0x3673f1,_0x367bfb){return _0x367bfb['checkChild'](_0x27f8c0[_0x2891('0x1c')],_0x3673f1)&&!_0x367bfb[_0x2891('0x11')](_0x27f8c0)&&_0x27f8c0['name']!=_0x3673f1;}(_0x39597f,_0x2b5af0,this[_0x2891('0xe')]['model'][_0x2891('0x5')]));_0x296c5e['model']['change'](()=>{for(const _0x3147c3 of _0x1fd7d7)_0x2ee103['markBlockFormat'](_0x3147c3,{'commandName':_0x2891('0x12'),'commandParams':[_0x16b2df],'formatGroupId':_0x2891('0x18')},_0x3d5e99(_0x3147c3));});});for(const _0x45974c of _0xa4f7b6)_0x2891('0x1b')!=_0x45974c[_0x2891('0xc')]&&_0x2ee103[_0x2891('0x9')]['registerElementLabel'](_0x45974c['model'],_0x76ea99=>{const _0x4643c8=nn(_0x45974c[_0x2891('0xc')]);return null!==_0x4643c8?_0x39dc48(_0x76ea99,_0x4643c8):_0x697349(_0x76ea99,_0x45974c[_0x2891('0x19')]);});function _0x39dc48(_0x96027c,_0x34a95a){return _0x1201f1(_0x105afc,_0x2891('0x1a'),[_0x96027c,_0x34a95a]);}function _0x697349(_0x147d8a,_0x347cd3){return _0x1201f1(_0x105afc,_0x2891('0x16'),[_0x147d8a,_0x347cd3]);}_0x2ee103[_0x2891('0x9')][_0x2891('0x2')](_0x4ddad3=>{const {type:_0x1871db,data:_0x356dbd}=_0x4ddad3;if(_0x2891('0x4')==_0x1871db&&_0x356dbd&&'heading'==_0x356dbd[_0x2891('0x15')]){const _0x182738=_0x356dbd[_0x2891('0x17')][0x0][_0x2891('0x10')],_0x52fba9=nn(_0x182738);if(null!==_0x52fba9)return{'type':'format','content':_0x1201f1(_0x105afc,'*Change\x20to:*\x20%0',_0x39dc48(0x1,_0x52fba9))};const _0x160e9a=_0xa4f7b6['find'](_0x120e13=>_0x120e13['model']===_0x182738)[_0x2891('0x19')];return{'type':_0x2891('0xd'),'content':_0x1201f1(_0x105afc,'*Change\x20to:*\x20%0',_0x697349(0x1,_0x160e9a))};}});}}function nn(_0xe726fb){const _0x3e1cf6=_0xe726fb[_0x2891('0x8')](/^heading(\d+)$/);return _0x3e1cf6?_0x3e1cf6[0x1]:null;}
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;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x56ac=['isCollapsed','commandParams','getAttribute','backward','title','change','editor','get','createRange','config','hasAttribute','afterInit','getLastMatchingPosition','item','highlight.options','formatInline','FORMAT_HIGHLIGHT','value','color','markInlineFormat','getRanges','push','format','registerDescriptionCallback','getFirstPosition','commandName','has','model','HighlightEditing','find','highlight','selection','plugins','*Set\x20highlight:*\x20%0'];(function(_0x38be2a,_0x56ac30){const _0x327dc7=function(_0x3fc14e){while(--_0x3fc14e){_0x38be2a['push'](_0x38be2a['shift']());}};_0x327dc7(++_0x56ac30);}(_0x56ac,0x152));const _0x327d=function(_0x38be2a,_0x56ac30){_0x38be2a=_0x38be2a-0x0;let _0x327dc7=_0x56ac[_0x38be2a];return _0x327dc7;};import{Plugin as _0x26da9e}from'ckeditor5/src/core';import{getTranslation as _0x259a60}from'../utils/common-translations';import{getRangesWithAttribute as _0x456916}from'./utils';export default class K extends _0x26da9e{[_0x327d('0xd')](){const _0x58885d=this[_0x327d('0x8')];if(!_0x58885d[_0x327d('0x0')][_0x327d('0x1c')](_0x327d('0x1e')))return;const _0x3d43c8=_0x58885d[_0x327d('0x0')][_0x327d('0x9')]('TrackChangesEditing');_0x3d43c8['enableCommand'](_0x327d('0x20'),(_0x597c98,_0x315b16={})=>{const _0x34a43a=_0x58885d[_0x327d('0x1d')]['document'][_0x327d('0x21')],_0x3d315c=_0x34a43a['getAttribute'](_0x327d('0x20'));let _0x2f7a54=_0x315b16[_0x327d('0x13')],_0x241684=[];if(_0x34a43a[_0x327d('0x2')]){const _0x59a1f2=_0x34a43a[_0x327d('0x1a')]();if(!_0x34a43a[_0x327d('0xc')]('highlight'))return void _0x597c98(_0x315b16);{const _0x32e92b=_0x17980d=>_0x17980d[_0x327d('0xf')][_0x327d('0x4')]('highlight')===_0x3d315c,_0x22e4f4=_0x59a1f2['getLastMatchingPosition'](_0x32e92b,{'direction':_0x327d('0x5')}),_0x1714a8=_0x59a1f2[_0x327d('0xe')](_0x32e92b);_0x241684=[_0x58885d[_0x327d('0x1d')][_0x327d('0xa')](_0x22e4f4,_0x1714a8)],_0x2f7a54==_0x3d315c&&(_0x2f7a54=null);}}else for(const _0x2d2c1a of _0x34a43a[_0x327d('0x16')]())_0x2f7a54?_0x241684[_0x327d('0x17')](_0x2d2c1a):_0x241684['push'](..._0x456916(_0x327d('0x20'),_0x2d2c1a,_0x58885d['model']));_0x58885d['model'][_0x327d('0x7')](()=>{for(const _0x167b10 of _0x241684)_0x3d43c8[_0x327d('0x15')](_0x167b10,{'commandName':_0x327d('0x20'),'commandParams':[{'value':_0x2f7a54}]});});});const _0x1330cf=_0x58885d['locale'];_0x3d43c8['_descriptionFactory'][_0x327d('0x19')](_0xbc96e0=>{const {type:_0x59001c,data:_0x4a1d72}=_0xbc96e0;if(_0x327d('0x11')==_0x59001c&&_0x4a1d72&&'highlight'==_0x4a1d72[_0x327d('0x1b')]){const _0x5e4b0e=_0x1330cf['t'],_0x2f9bb8=_0x4a1d72[_0x327d('0x3')][0x0][_0x327d('0x13')];if(_0x2f9bb8){const _0x18372a=_0x58885d[_0x327d('0xb')][_0x327d('0x9')](_0x327d('0x10'))[_0x327d('0x1f')](_0x1362f9=>_0x1362f9[_0x327d('0x1d')]==_0x2f9bb8),_0x5d3e78=_0x5e4b0e(_0x18372a[_0x327d('0x6')])['toLowerCase']();return{'type':_0x327d('0x18'),'content':_0x259a60(_0x1330cf,_0x327d('0x1'),_0x5d3e78),'color':{'value':_0x18372a[_0x327d('0x14')],'title':_0x18372a['title']}};}return{'type':_0x327d('0x18'),'content':_0x259a60(_0x1330cf,'*Remove\x20highlight*',_0x259a60(_0x1330cf,_0x327d('0x12')))};}});}}
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')))};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1012=['ELEMENT_HORIZONTAL_LINE','HorizontalLineEditing','addClass','_descriptionFactory','horizontalLine','enableCommand','plugins','high','showSuggestionHighlights','createPositionAt','editor','insert','dataDowncast','createContainerElement','TrackChangesEditing','elementToStructure','registerElementLabel','for','ck-horizontal-line','get','has','div','createEmptyElement'];(function(_0x355a44,_0x101238){const _0x1018ac=function(_0x48ee5c){while(--_0x48ee5c){_0x355a44['push'](_0x355a44['shift']());}};_0x1018ac(++_0x101238);}(_0x1012,0x144));const _0x1018=function(_0x355a44,_0x101238){_0x355a44=_0x355a44-0x0;let _0x1018ac=_0x1012[_0x355a44];return _0x1018ac;};import{Plugin as _0x1569c8}from'ckeditor5/src/core';import{getTranslation as _0x268677}from'../utils/common-translations';export default class Q extends _0x1569c8{['afterInit'](){const _0x3a18e7=this[_0x1018('0x8')];if(!_0x3a18e7[_0x1018('0x4')][_0x1018('0x12')](_0x1018('0x16')))return;_0x3a18e7[_0x1018('0x4')]['get'](_0x1018('0xc'))[_0x1018('0x3')]('horizontalLine');const _0x21787a=_0x3a18e7[_0x1018('0x4')][_0x1018('0x11')](_0x1018('0xc')),_0x5ae3e9=_0x3a18e7['locale'];_0x21787a[_0x1018('0x1')][_0x1018('0xe')](_0x1018('0x2'),_0x2a54c3=>_0x268677(_0x5ae3e9,_0x1018('0x15'),_0x2a54c3)),_0x3a18e7['conversion'][_0x1018('0xf')](_0x1018('0xa'))[_0x1018('0xd')]({'model':_0x1018('0x2'),'view':(_0x4e4aa0,{writer:_0x509655,options:_0x220464})=>{if(!_0x220464[_0x1018('0x6')])return null;const _0x1a5924=_0x509655[_0x1018('0xb')](_0x1018('0x13')),_0x1c0c8d=_0x509655[_0x1018('0x14')]('hr');return _0x509655[_0x1018('0x0')](_0x1018('0x10'),_0x1a5924),_0x509655[_0x1018('0x9')](_0x509655[_0x1018('0x7')](_0x1a5924,0x0),_0x1c0c8d),_0x1a5924;},'converterPriority':_0x1018('0x5')});}}
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')});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x58f4=['view','registerDescriptionCallback','editor','element','rawHtmlApi','change','get','markBlockFormat','TrackChangesEditing','model','selection','htmlEmbed','afterInit','HtmlEmbed','rawHtml','cancel','ELEMENT_HTML_EMBED','_descriptionFactory','plugins','*Change\x20%0\x20content*','value','getCustomProperty','getSelectedElement','commandName','editing'];(function(_0x426fba,_0x58f4b9){const _0x577a63=function(_0x40fafc){while(--_0x40fafc){_0x426fba['push'](_0x426fba['shift']());}};_0x577a63(++_0x58f4b9);}(_0x58f4,0x17b));const _0x577a=function(_0x426fba,_0x58f4b9){_0x426fba=_0x426fba-0x0;let _0x577a63=_0x58f4[_0x426fba];return _0x577a63;};import{Plugin as _0x4bb6a4}from'ckeditor5/src/core';import{getTranslation as _0x485ec8}from'../utils/common-translations';export default class V extends _0x4bb6a4{[_0x577a('0x8')](){const _0xd571b=this[_0x577a('0x17')];if(!_0xd571b['plugins']['has'](_0x577a('0x9')))return;const _0x3c4cf7=_0xd571b['plugins'][_0x577a('0x2')](_0x577a('0x4')),_0x4ffcb5=_0xd571b['locale'],_0x2b9f3b=_0xd571b[_0x577a('0x14')][_0x577a('0x15')]['document'][_0x577a('0x6')];_0x3c4cf7[_0x577a('0xd')]['registerElementLabel'](_0x577a('0xa'),_0x41a5b4=>_0x485ec8(_0x4ffcb5,_0x577a('0xc'),_0x41a5b4)),_0xd571b[_0x577a('0xe')][_0x577a('0x2')](_0x577a('0x4'))['enableCommand'](_0x577a('0x7'),(_0x29c3c7,_0x1f73a4)=>{const _0x4ef2e0=_0xd571b[_0x577a('0x5')],_0x4aba4e=_0x4ef2e0['document']['selection'];_0x4ef2e0[_0x577a('0x1')](()=>{const _0x2cd136=function(_0x4648c6){const _0x51d2a1=_0x4648c6[_0x577a('0x12')]();if(_0x51d2a1&&_0x51d2a1['is'](_0x577a('0x18'),_0x577a('0xa')))return _0x4648c6[_0x577a('0x12')]();return null;}(_0x4aba4e);if(!_0x2cd136)return void _0x29c3c7(null);const _0x4a2797=_0x2cd136['getAttribute'](_0x577a('0x10'))||'';if(void 0x0===_0x1f73a4)return;if(_0x1f73a4===_0x4a2797)return;_0x3c4cf7[_0x577a('0x3')](_0x2cd136,{'commandName':_0x577a('0x7'),'commandParams':[_0x1f73a4]}),_0x2b9f3b['getSelectedElement']()[_0x577a('0x11')](_0x577a('0x0'))[_0x577a('0xb')]();});}),_0x3c4cf7['_descriptionFactory'][_0x577a('0x16')](_0x2edf63=>{const {data:_0x1785c2}=_0x2edf63;if(_0x1785c2&&_0x577a('0x7')==_0x1785c2[_0x577a('0x13')]){const _0x33ea67=_0x485ec8(_0x4ffcb5,'ELEMENT_HTML_EMBED');return{'type':'format','content':_0x485ec8(_0x4ffcb5,_0x577a('0xf'),_0x33ea67)};}});}}
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)};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x47ef=['locale','getCaptionFromImageModelElement','*Set\x20image\x20text\x20alternative:*\x20%0','width','element','ImageStyleEditing','markInlineFormat','isBefore','imageTextAlternative','subType','ELEMENT_IMAGE','registerDescriptionCallback','format','*Remove\x20image\x20text\x20alternative*','forward','_findSuggestions','newRange','caption','accept','from','*Reset\x20image\x20width*','isInContent','model','TrackChangesEditing','backward','commandParams','filter','convertBlockImageToInline','ImageEditing','commandReversedParams','forEach','findIndex','ImageCaptionEditing','plugins','discardSuggestion','*Set\x20image\x20width:*\x20%0','imageStylePreApply','length','imageBlock','isEqual','imageStylePostApply','registerCustomCallback','Inline\x20image\x20to\x20block\x20image','selection','toNext','imageTypeBlock','forceDefaultExecution','refresh','Block\x20image\x20to\x20inline\x20image','getFirstRange','isBlockImage','join','deletion','insertion','head','toggleImageCaption','ImageCaptionUtils','_suggestionFactory','_descriptionFactory','has','change','name','type','ImageUploadEditing','find','getSuggestions','hasAttribute','formatBlock','discard','getClosestSelectedImageElement','imageStyle','getAttribute','detach','shouldConvertImageType','alt','nodeAfter','Users','registerPostFixer','ELEMENT_CAPTION','getSuggestion','getNearestSelectionRange','convertInlineImageToBlock','fromPosition','imageCaption','_splitMarkerName','end','nodeBefore','createRange','editor','createRangeOn','ImageUtils','enableCommand','normalizedStyles','imageTypeInline','registerElementLabel','afterInit','ImageInlineEditing','toPrevious','getContainedElement','getChangedMarkers','get','ImageResize','resizeImage','title','document','next','ImageBlockEditing','markInsertion','addObject','start','removeObject','value','isIntersecting','formatInline','markBlockFormat','schema','isInlineImage','insertImage','getSuggestionCallback','chain','commandName'];(function(_0x106640,_0x47ef7c){const _0x160359=function(_0x4542c6){while(--_0x4542c6){_0x106640['push'](_0x106640['shift']());}};_0x160359(++_0x47ef7c);}(_0x47ef,0xa8));const _0x1603=function(_0x106640,_0x47ef7c){_0x106640=_0x106640-0x0;let _0x160359=_0x47ef[_0x106640];return _0x160359;};import{Plugin as _0x4c4bdc}from'ckeditor5/src/core';import{LivePosition as _0x477e5b}from'ckeditor5/src/engine';import{uid as _0x99b298}from'ckeditor5/src/utils';import{getTranslation as _0x3e786e}from'../utils/common-translations';export default class X extends _0x4c4bdc{[_0x1603('0x30')](){const _0xaaf214=this[_0x1603('0x29')];if(!_0xaaf214['plugins']['has'](_0x1603('0x66')))return;const _0x97749b=_0xaaf214[_0x1603('0x6b')][_0x1603('0x35')](_0x1603('0x61')),_0xefad03=_0xaaf214[_0x1603('0x6b')][_0x1603('0x35')](_0x1603('0x2b')),_0x5d68fa={},_0x378c3b=_0xaaf214[_0x1603('0x4a')];if(_0x97749b[_0x1603('0x2c')](_0x1603('0x46')),_0x97749b[_0x1603('0xb')][_0x1603('0x2f')](_0x1603('0x70'),_0x28bf54=>_0x3e786e(_0x378c3b,_0x1603('0x54'),_0x28bf54)),_0x97749b[_0x1603('0xb')]['registerElementLabel']('imageInline',_0x2f899a=>_0x3e786e(_0x378c3b,'ELEMENT_INLINE_IMAGE',_0x2f899a)),_0x97749b[_0x1603('0xb')][_0x1603('0x2f')](_0x1603('0x5b'),()=>_0x3e786e(_0x378c3b,_0x1603('0x1f'))),_0xaaf214[_0x1603('0x6b')][_0x1603('0xc')](_0x1603('0x10'))&&_0x97749b[_0x1603('0x2c')]('uploadImage'),_0xaaf214[_0x1603('0x6b')]['has'](_0x1603('0x3b'))&&_0xaaf214['plugins'][_0x1603('0xc')](_0x1603('0x31'))&&(_0x97749b['enableCommand']('imageTypeInline',(_0x3f7012,_0x33ee52)=>{const _0xf0ddf9=_0xefad03[_0x1603('0x16')](_0xaaf214[_0x1603('0x60')]['document'][_0x1603('0x75')]);_0xaaf214['model'][_0x1603('0xd')](()=>{_0x97749b['markBlockFormat'](_0xf0ddf9,{'commandName':'imageTypeInline','commandParams':[_0x33ee52]},[],_0x1603('0x65'));});}),_0x97749b['enableCommand'](_0x1603('0x77'),(_0x4dc165,_0x5dc6ad)=>{_0xaaf214['model']['change'](_0x2c787b=>{let _0x5e1ee4=_0xefad03[_0x1603('0x16')](_0xaaf214[_0x1603('0x60')][_0x1603('0x39')][_0x1603('0x75')]),_0x155ed5=_0x2c787b[_0x1603('0x2a')](_0x5e1ee4);const _0x3b0051=_0x477e5b[_0x1603('0x23')](_0x155ed5[_0x1603('0x3e')],_0x1603('0x32')),_0x234495=_0x477e5b[_0x1603('0x23')](_0x155ed5[_0x1603('0x26')],_0x1603('0x76'));_0x97749b[_0x1603('0x78')](()=>_0x4dc165(_0x5dc6ad)),_0x5e1ee4=_0xefad03[_0x1603('0x16')](_0xaaf214[_0x1603('0x60')]['document'][_0x1603('0x75')]),_0x155ed5=_0x2c787b['createRangeOn'](_0x5e1ee4);const _0x286327=_0x2c787b[_0x1603('0x28')](_0x3b0051,_0x234495);_0x3b0051[_0x1603('0x19')](),_0x234495[_0x1603('0x19')](),_0x97749b[_0x1603('0x43')](_0x5e1ee4,{'commandName':_0x1603('0x2e'),'commandParams':[]},[],_0x1603('0x22')),_0x286327[_0x1603('0x3e')][_0x1603('0x51')](_0x155ed5[_0x1603('0x3e')])&&_0x97749b[_0x1603('0x3c')](_0x2c787b[_0x1603('0x28')](_0x286327[_0x1603('0x3e')],_0x155ed5[_0x1603('0x3e')]),_0x1603('0x22')),_0x155ed5[_0x1603('0x26')]['isBefore'](_0x286327[_0x1603('0x26')])&&_0x97749b['markInsertion'](_0x2c787b[_0x1603('0x28')](_0x155ed5[_0x1603('0x26')],_0x286327[_0x1603('0x26')]),_0x1603('0x22'));});}),_0x97749b[_0x1603('0xa')][_0x1603('0x73')](_0x1603('0x14'),_0x1603('0x22'),_0x1603('0x4'),()=>{}),_0x97749b[_0x1603('0xa')]['registerCustomCallback'](_0x1603('0x14'),_0x1603('0x22'),'accept',()=>{}),_0x97749b['_suggestionFactory']['registerCustomCallback']('formatBlock',_0x1603('0x22'),_0x1603('0x15'),_0x97749b['_suggestionFactory']['getSuggestionCallback']('formatBlock','',_0x1603('0x5c'))),_0x97749b['_suggestionFactory'][_0x1603('0x73')](_0x1603('0x6'),_0x1603('0x22'),_0x1603('0x4'),()=>{}),_0x97749b[_0x1603('0xa')]['registerCustomCallback'](_0x1603('0x6'),_0x1603('0x22'),_0x1603('0x15'),([_0x5a9c91])=>{const _0x56e0f9=_0x97749b[_0x1603('0xa')]['getSuggestionCallback'](_0x1603('0x6'),'',_0x1603('0x15'));let _0x286a47=_0x5a9c91['start'],_0x1dda03=_0x5a9c91[_0x1603('0x26')];const _0x1a76b2=_0xaaf214[_0x1603('0x60')]['schema'][_0x1603('0x21')](_0x286a47,_0x1603('0x62')),_0x3fb938=_0xaaf214[_0x1603('0x60')][_0x1603('0x44')][_0x1603('0x21')](_0x1dda03,_0x1603('0x58'));_0x1a76b2['isCollapsed']&&(_0x286a47=_0x1a76b2['start']),_0x3fb938['isCollapsed']&&(_0x1dda03=_0x3fb938[_0x1603('0x26')]),_0x56e0f9([_0xaaf214[_0x1603('0x60')]['createRange'](_0x286a47,_0x1dda03)]);}),_0x97749b[_0x1603('0xa')][_0x1603('0x73')](_0x1603('0x14'),_0x1603('0x22'),_0x1603('0x48'),_0x177e95),_0x97749b['_suggestionFactory'][_0x1603('0x73')](_0x1603('0x6'),_0x1603('0x22'),_0x1603('0x48'),_0x177e95)),_0xaaf214[_0x1603('0x6b')][_0x1603('0xc')](_0x1603('0x6a'))&&(_0x97749b['enableCommand'](_0x1603('0x8'),(_0x57f88a,_0x117881)=>{const _0x2a5a15=_0xaaf214[_0x1603('0x6b')][_0x1603('0x35')](_0x1603('0x9'));let _0x1fcc9c=_0xefad03[_0x1603('0x16')](_0xaaf214['model']['document'][_0x1603('0x75')]),_0x26915c=_0x2a5a15[_0x1603('0x4b')](_0x1fcc9c);_0xaaf214['model']['change'](()=>{if(_0x26915c)return void _0x97749b['markDeletion'](_0xaaf214['model'][_0x1603('0x2a')](_0x26915c));const _0x5c8c34=_0xefad03['isBlockImage'](_0x1fcc9c);_0x57f88a(_0x117881),_0x1fcc9c=_0xefad03[_0x1603('0x16')](_0xaaf214[_0x1603('0x60')][_0x1603('0x39')]['selection']),_0x26915c=_0x2a5a15[_0x1603('0x4b')](_0x1fcc9c),_0x97749b[_0x1603('0x3c')](_0xaaf214[_0x1603('0x60')]['createRangeOn'](_0x26915c),_0x5c8c34?null:_0x1603('0x24'));});}),_0x97749b[_0x1603('0xa')][_0x1603('0x73')]('insertion',_0x1603('0x24'),_0x1603('0x48'),_0x177e95)),_0xaaf214[_0x1603('0x6b')][_0x1603('0xc')](_0x1603('0x4f'))){_0x97749b[_0x1603('0x2c')](_0x1603('0x17'),(_0x47ad06,_0x215a2a)=>{const _0x5d19e3=_0xaaf214[_0x1603('0x6b')][_0x1603('0x35')](_0x1603('0x1d'))['me'],_0x595f27=_0xaaf214['commands']['get'](_0x1603('0x17'));let _0x9c4a9b=_0xefad03['getClosestSelectedImageElement'](_0xaaf214[_0x1603('0x60')][_0x1603('0x39')]['selection']),_0x2804ca=_0xaaf214[_0x1603('0x60')]['createRangeOn'](_0x9c4a9b),_0x57e2d5=_0x595f27[_0x1603('0x40')];if(_0x57e2d5==_0x215a2a[_0x1603('0x40')])return;const _0x5def85={'commandName':'imageStyle','commandParams':[_0x215a2a],'formatGroupId':_0x99b298()};_0xaaf214[_0x1603('0x60')]['change'](()=>{if(_0x97749b[_0x1603('0x12')]()[_0x1603('0x64')](_0x5d4cdd=>_0x5d4cdd['isInContent']&&_0x5d19e3==_0x5d4cdd['author']&&(_0x1603('0x14')==_0x5d4cdd[_0x1603('0xf')]||'formatInline'==_0x5d4cdd[_0x1603('0xf')])&&('imageStylePreApply'==_0x5d4cdd[_0x1603('0x53')]||_0x1603('0x72')==_0x5d4cdd[_0x1603('0x53')])&&_0x5d4cdd['getFirstRange']()['isEqual'](_0x2804ca))[_0x1603('0x68')](_0x144fcb=>_0x97749b[_0x1603('0x6c')](_0x144fcb[_0x1603('0x7')])),_0x9c4a9b=_0xefad03[_0x1603('0x16')](_0xaaf214['model'][_0x1603('0x39')][_0x1603('0x75')]),_0x2804ca=_0xaaf214[_0x1603('0x60')][_0x1603('0x2a')](_0x9c4a9b),_0x595f27[_0x1603('0x0')](),_0xaaf214['commands'][_0x1603('0x35')](_0x1603('0x2e'))['refresh'](),_0xaaf214['commands'][_0x1603('0x35')](_0x1603('0x77'))[_0x1603('0x0')](),_0x57e2d5=_0x595f27[_0x1603('0x40')],_0x57e2d5!=_0x215a2a[_0x1603('0x40')])return _0xefad03[_0x1603('0x45')](_0x9c4a9b)&&_0x595f27[_0x1603('0x1a')](_0x215a2a[_0x1603('0x40')],_0x9c4a9b)?(_0x47ad06(_0x215a2a),_0x9c4a9b=_0xefad03[_0x1603('0x16')](_0xaaf214[_0x1603('0x60')][_0x1603('0x39')]['selection']),void _0x97749b[_0x1603('0x43')](_0x9c4a9b,{..._0x5def85,'commandReversedParams':[{'value':_0x57e2d5||null}]},[],_0x1603('0x6e'))):void(_0xefad03[_0x1603('0x3')](_0x9c4a9b)?_0x97749b[_0x1603('0x43')](_0x9c4a9b,_0x5def85,[],_0x1603('0x72')):_0x97749b[_0x1603('0x50')](_0x2804ca,_0x5def85,'imageStylePostApply'));});});for(const _0x593e34 of _0xaaf214[_0x1603('0x6b')][_0x1603('0x35')]('ImageStyleEditing')[_0x1603('0x2d')])_0x5d68fa[_0x593e34[_0x1603('0xe')]]=_0x593e34[_0x1603('0x38')]['toLowerCase']();_0x97749b[_0x1603('0xa')]['registerCustomCallback']('formatBlock',_0x1603('0x6e'),_0x1603('0x4'),()=>{}),_0x97749b[_0x1603('0xa')][_0x1603('0x73')]('formatBlock',_0x1603('0x72'),_0x1603('0x4'),()=>{}),_0x97749b[_0x1603('0xa')][_0x1603('0x73')](_0x1603('0x42'),'imageStylePostApply','join',()=>{}),_0x97749b['_suggestionFactory'][_0x1603('0x73')]('formatBlock',_0x1603('0x6e'),_0x1603('0x5c'),()=>{}),_0x97749b[_0x1603('0xa')][_0x1603('0x73')](_0x1603('0x14'),_0x1603('0x6e'),_0x1603('0x15'),(_0x2299ee,_0x1e449a)=>{_0x97749b[_0x1603('0xa')][_0x1603('0x47')](_0x1603('0x14'),'',_0x1603('0x5c'))(_0x2299ee,{'commandName':_0x1e449a['commandName'],'commandParams':_0x1e449a[_0x1603('0x67')]});}),_0x97749b[_0x1603('0xa')][_0x1603('0x73')](_0x1603('0x14'),_0x1603('0x6e'),_0x1603('0x48'),_0x177e95);}const _0x10e1d8=[{'type':_0x1603('0x14'),'subType':_0x1603('0x6e')},{'type':_0x1603('0x6'),'subType':_0x1603('0x24')},{'type':_0x1603('0x14'),'subType':'convertInlineImageToBlock'},{'type':_0x1603('0x6'),'subType':_0x1603('0x22')}];function _0x59d711(_0x5e2de7,_0x194c2b){const _0xc651be=_0x10e1d8[_0x1603('0x69')](({type:_0x24a487,subType:_0x38c54b})=>_0x5e2de7['type']==_0x24a487&&_0x5e2de7[_0x1603('0x53')]==_0x38c54b),_0x2ce1c0=_0x10e1d8[_0x1603('0x69')](({type:_0x5a7db0,subType:_0x2c1baf})=>_0x194c2b[_0x1603('0xf')]==_0x5a7db0&&_0x194c2b[_0x1603('0x53')]==_0x2c1baf);if(_0xc651be<0x0||_0x2ce1c0<0x0)return!0x1;const _0x47e3ad=_0x5e2de7[_0x1603('0x2')](),_0x3d8596=_0x194c2b[_0x1603('0x2')]();if((0x0==_0xc651be||0x1==_0xc651be)&&0x2==_0x2ce1c0&&_0x47e3ad[_0x1603('0x41')](_0x3d8596))return!0x0;if(0x2==_0xc651be&&0x3==_0x2ce1c0){const _0x392296=_0x97749b[_0x1603('0x59')](_0x47e3ad,_0x1603('0x6'))[_0x1603('0x64')](({suggestion:_0x2da34,meta:_0x12b9ac})=>_0x12b9ac['isOwn']&&_0x1603('0x22')==_0x2da34['subType']);if(_0x392296[_0x1603('0x6f')]>0x1&&_0x3d8596[_0x1603('0x26')]['isEqual'](_0x47e3ad[_0x1603('0x3e')]))return!0x0;if(0x1==_0x392296[_0x1603('0x6f')]&&(_0x47e3ad[_0x1603('0x3e')][_0x1603('0x71')](_0x3d8596[_0x1603('0x26')])||_0x47e3ad[_0x1603('0x26')][_0x1603('0x71')](_0x3d8596['start'])))return!0x0;}if(0x3==_0xc651be&&0x3==_0x2ce1c0&&_0x47e3ad['start'][_0x1603('0x51')](_0x3d8596[_0x1603('0x3e')])){const _0x3c0c39=_0x47e3ad[_0x1603('0x26')][_0x1603('0x1c')],_0x2f10ff=_0x3d8596['start'][_0x1603('0x27')];return _0xefad03[_0x1603('0x3')](_0x3c0c39)&&_0x3c0c39===_0x2f10ff;}return!0x1;}function _0x177e95(_0x21db2a,_0x2bae8e){return _0x59d711(_0x21db2a,_0x2bae8e)?[_0x21db2a,_0x2bae8e]:_0x59d711(_0x2bae8e,_0x21db2a)?[_0x2bae8e,_0x21db2a]:null;}_0xaaf214['model'][_0x1603('0x39')][_0x1603('0x1e')](()=>{let _0x9d048a=!0x1;const _0x4fd23f=Array[_0x1603('0x5d')](_0xaaf214[_0x1603('0x60')][_0x1603('0x39')]['differ'][_0x1603('0x34')]());for(const {name:_0x227d19,data:_0x507aec}of _0x4fd23f){const {group:_0x5d49a4,type:_0x4ff177,subType:_0x34cab1,id:_0x39dd58}=_0x97749b[_0x1603('0x25')](_0x227d19);if('suggestion'==_0x5d49a4&&_0x97749b['hasSuggestion'](_0x39dd58)){if(_0x1603('0x14')==_0x4ff177&&(_0x1603('0x6e')==_0x34cab1||_0x1603('0x72')==_0x34cab1)){const _0x4e1028=_0x97749b['getSuggestion'](_0x39dd58);if(_0x507aec[_0x1603('0x5a')]){const _0x167277=_0x4e1028[_0x1603('0x2')]()['getContainedElement']();if(_0xefad03[_0x1603('0x3')](_0x167277))continue;_0x97749b[_0x1603('0x6c')](_0x4e1028),_0x9d048a=!0x0;}}if(_0x1603('0x6')==_0x4ff177&&_0x1603('0x24')==_0x34cab1&&!_0x507aec[_0x1603('0x5a')]){const _0x373dc4=_0x97749b[_0x1603('0x20')](_0x39dd58);_0x373dc4[_0x1603('0x3a')]&&_0x373dc4['next'][_0x1603('0x5f')]&&(_0x97749b[_0x1603('0x6c')](_0x373dc4[_0x1603('0x3a')]),_0x9d048a=!0x0);}}}return _0x9d048a;}),_0xaaf214[_0x1603('0x6b')]['has'](_0x1603('0x36'))&&_0x97749b['enableCommand'](_0x1603('0x37'),(_0x15cb36,_0x2244d6)=>{const _0x4bf29c=_0xefad03[_0x1603('0x16')](_0xaaf214[_0x1603('0x60')][_0x1603('0x39')][_0x1603('0x75')]);_0x4bf29c[_0x1603('0x18')](_0x1603('0x4d'))!=_0x2244d6[_0x1603('0x4d')]&&_0xaaf214[_0x1603('0x60')][_0x1603('0xd')](()=>{_0x97749b[_0x1603('0x43')](_0x4bf29c,{'commandName':'resizeImage','commandParams':[_0x2244d6]});});}),_0xaaf214[_0x1603('0x6b')]['has']('ImageTextAlternativeEditing')&&_0x97749b[_0x1603('0x2c')](_0x1603('0x52'),(_0x14ef0f,_0x10d78c)=>{const _0x5937aa=_0xefad03[_0x1603('0x16')](_0xaaf214[_0x1603('0x60')][_0x1603('0x39')][_0x1603('0x75')]);(_0x5937aa[_0x1603('0x13')](_0x1603('0x1b'))?_0x5937aa[_0x1603('0x18')](_0x1603('0x1b')):'')!=_0x10d78c['newValue']&&_0xaaf214['model'][_0x1603('0xd')](()=>{_0x97749b[_0x1603('0x43')](_0x5937aa,{'commandName':_0x1603('0x52'),'commandParams':[_0x10d78c]});});}),_0x97749b[_0x1603('0xb')][_0x1603('0x55')](_0xc96bdc=>{if(!!_0x10e1d8[_0x1603('0x11')](({type:_0x2705ef,subType:_0x1a91ff})=>_0xc96bdc[_0x1603('0xf')]==_0x2705ef&&_0xc96bdc[_0x1603('0x53')]==_0x1a91ff))return _0xc96bdc['previous']?{}:void 0x0;}),_0x97749b[_0x1603('0xb')][_0x1603('0x55')](_0x2ebffb=>{if('insertion'==_0x2ebffb['type']||_0x1603('0x5')==_0x2ebffb[_0x1603('0xf')]){const _0x546d24=_0x2ebffb[_0x1603('0x33')]();if(_0x546d24&&_0x546d24['is'](_0x1603('0x4e'),_0x1603('0x5b')))return{'type':_0x1603('0x6')==_0x2ebffb[_0x1603('0xf')]?_0x1603('0x3d'):_0x1603('0x3f'),'element':_0x546d24,'quantity':0x1};}}),_0x97749b['_descriptionFactory'][_0x1603('0x55')](_0x4cd6d5=>_0x1603('0x14')==_0x4cd6d5[_0x1603('0xf')]&&_0x1603('0x22')==_0x4cd6d5['subType']?{'type':_0x1603('0x56'),'content':_0x1603('0x74')}:_0x1603('0x14')==_0x4cd6d5[_0x1603('0xf')]&&_0x1603('0x65')==_0x4cd6d5[_0x1603('0x53')]?{'type':_0x1603('0x56'),'content':_0x1603('0x1')}:void 0x0),_0x97749b['_descriptionFactory'][_0x1603('0x55')](_0x53e445=>{const {data:_0x31157a}=_0x53e445;if(_0x31157a){if('imageStyle'==_0x31157a[_0x1603('0x49')]){const _0x2ab4cd=_0x31157a[_0x1603('0x63')][0x0]['value'];return _0x3c9a70('side'===_0x2ab4cd?_0x3e786e(_0x378c3b,'FORMAT_SIDE_IMAGE'):_0x5d68fa[_0x2ab4cd]||_0x2ab4cd);}if(_0x1603('0x52')==_0x31157a[_0x1603('0x49')]){const _0x63b395=_0x31157a[_0x1603('0x63')][0x0]['newValue'];return _0x63b395?{'type':_0x1603('0x56'),'content':_0x3e786e(_0x378c3b,_0x1603('0x4c'),'\x22'+_0x63b395+'\x22')}:{'type':_0x1603('0x56'),'content':_0x3e786e(_0x378c3b,_0x1603('0x57'))};}if(_0x1603('0x37')==_0x31157a[_0x1603('0x49')]){const _0xf336b1=_0x31157a['commandParams'][0x0]['width'];return _0xf336b1?{'type':'format','content':_0x3e786e(_0x378c3b,_0x1603('0x6d'),_0xf336b1)}:{'type':'format','content':_0x3e786e(_0x378c3b,_0x1603('0x5e'))};}}function _0x3c9a70(_0x5c25da){return{'type':_0x1603('0x56'),'content':_0x3e786e(_0x378c3b,'*Format:*\x20%0',_0x5c25da)};}});}}
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)};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xa129=['author','editor','format','getSuggestions','getAttribute','getContainedElement','accept','_descriptionFactory','src','getSuggestionCallback','TrackChangesEditing','Users','replaceImageSource','handleSuggestionDescription','commandParams','get','formatBlock','plugins','registerDescriptionCallback','registerCustomCallback','discard','enableCommand','markBlockFormat','selection','change','locale','model','handleReplaceImageCommand','_suggestionFactory'];(function(_0x14275f,_0xa1290f){const _0x130e1a=function(_0x5ef751){while(--_0x5ef751){_0x14275f['push'](_0x14275f['shift']());}};_0x130e1a(++_0xa1290f);}(_0xa129,0xb8));const _0x130e=function(_0x14275f,_0xa1290f){_0x14275f=_0x14275f-0x0;let _0x130e1a=_0xa129[_0x14275f];return _0x130e1a;};import{Plugin as _0x5228b7}from'ckeditor5/src/core';import{getTranslation as _0x1b77b8}from'../utils/common-translations';export default class Y extends _0x5228b7{['afterInit'](){if(!this[_0x130e('0x14')][_0x130e('0x7')]['has']('ImageEditing'))return;const _0x17a528=this[_0x130e('0x14')][_0x130e('0x7')]['get'](_0x130e('0x0'));_0x17a528[_0x130e('0xb')](_0x130e('0x2'),(_0x4de456,_0x3fc10c)=>this[_0x130e('0x11')](_0x4de456,_0x3fc10c)),_0x17a528[_0x130e('0x12')][_0x130e('0x9')](_0x130e('0x6'),'replaceImageSource',_0x130e('0x19'),_0x17a528['_suggestionFactory'][_0x130e('0x1c')](_0x130e('0x6'),null,_0x130e('0xa'))),_0x17a528['_suggestionFactory'][_0x130e('0x9')](_0x130e('0x6'),'replaceImageSource',_0x130e('0xa'),_0x17a528[_0x130e('0x12')][_0x130e('0x1c')]('formatBlock',null,_0x130e('0x19'))),_0x17a528[_0x130e('0x1a')][_0x130e('0x8')](_0x364c44=>this[_0x130e('0x3')](_0x364c44));}[_0x130e('0x11')](_0x9a7ba0,_0x1e40c1){const _0x2c4ab9=this[_0x130e('0x14')][_0x130e('0x7')]['get'](_0x130e('0x0')),_0x449d2e=this[_0x130e('0x14')][_0x130e('0x10')]['document'][_0x130e('0xd')]['getSelectedElement']();this[_0x130e('0x14')][_0x130e('0x10')][_0x130e('0xe')](()=>{let _0x1fe4d4=_0x449d2e[_0x130e('0x17')](_0x130e('0x1b'));const _0x2a115b=this[_0x130e('0x14')][_0x130e('0x7')][_0x130e('0x5')](_0x130e('0x1'))['me'];for(const _0x101636 of _0x2c4ab9[_0x130e('0x16')]({'skipNotAttached':!0x0})){const _0x32961e=_0x101636[_0x130e('0x18')]();if(_0x130e('0x2')===_0x101636['subType']&&_0x32961e===_0x449d2e){_0x101636[_0x130e('0x13')]!==_0x2a115b&&_0x101636[_0x130e('0xa')](),_0x1fe4d4=_0x101636['data'][_0x130e('0x4')][0x0]['source'];break;}}_0x9a7ba0(_0x1e40c1),_0x2c4ab9[_0x130e('0xc')](_0x449d2e,{'commandName':_0x130e('0x2'),'commandParams':[{'source':_0x1fe4d4}]},[],_0x130e('0x2'));});}[_0x130e('0x3')](_0x512ee4){const {data:_0x6c979a}=_0x512ee4;if(_0x6c979a&&'replaceImageSource'===_0x6c979a['commandName']){const _0x466d1f='*Format:*\x20replace\x20image\x20URL';return{'type':_0x130e('0x15'),'content':_0x1b77b8(this[_0x130e('0x14')][_0x130e('0xf')],_0x466d1f)};}}}
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)};}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x47f3=['dataInsert','trackChanges','bind','execute','_setSuggestionData','commands','lowest','TrackChangesEditing','_trackChangesValueDuringImport','value','track_changes','_handleImportedData','editor','enableCommand','listenTo','high','importWord','get','plugins','afterInit','_trackChangesExecuted'];(function(_0x5067cd,_0x47f3cc){const _0x458ca1=function(_0x5401f0){while(--_0x5401f0){_0x5067cd['push'](_0x5067cd['shift']());}};_0x458ca1(++_0x47f3cc);}(_0x47f3,0x79));const _0x458c=function(_0x5067cd,_0x47f3cc){_0x5067cd=_0x5067cd-0x0;let _0x458ca1=_0x47f3[_0x5067cd];return _0x458ca1;};import{Plugin as _0x28d3ea}from'ckeditor5/src/core';export default class Z extends _0x28d3ea{constructor(_0x418b5e){super(_0x418b5e),this[_0x458c('0xd')]=!0x1,this[_0x458c('0x4')]=!0x1;}[_0x458c('0x3')](){const _0x52d16e=this[_0x458c('0x11')],_0x11f5ed=_0x52d16e[_0x458c('0xa')][_0x458c('0x1')](_0x458c('0x0')),_0x1934d0=_0x52d16e[_0x458c('0xa')][_0x458c('0x1')](_0x458c('0x6'));_0x11f5ed&&(_0x11f5ed['on'](_0x458c('0x8'),(_0x1db8a5,[,_0xdbbaa9])=>{this[_0x458c('0xd')]=_0x1934d0[_0x458c('0xe')],_0xdbbaa9['collaboration_features'][_0x458c('0xf')]=!this[_0x458c('0xd')];},{'priority':_0x458c('0x14')}),this['listenTo'](_0x11f5ed,_0x458c('0x5'),this[_0x458c('0x10')][_0x458c('0x7')](this)),this[_0x458c('0x13')](_0x11f5ed,_0x458c('0x5'),()=>{this['_trackChangesExecuted']&&(_0x1934d0[_0x458c('0x8')](),this[_0x458c('0x4')]=!0x1);},{'priority':_0x458c('0xb')}),_0x52d16e['plugins'][_0x458c('0x1')](_0x458c('0xc'))[_0x458c('0x12')]('importWord'));}[_0x458c('0x10')](_0x4dc07a,_0x506eb1){const {suggestions:_0x45217d}=_0x506eb1,_0x495f20=this[_0x458c('0x11')][_0x458c('0xa')][_0x458c('0x1')](_0x458c('0x6')),_0x43a0a9=_0x495f20[_0x458c('0xe')];this[_0x458c('0xd')]!==_0x43a0a9&&(_0x495f20[_0x458c('0x8')](),this['_trackChangesExecuted']=!0x0),_0x45217d&&_0x45217d['forEach'](({id:_0x2d90f8,type:_0x529356,author:_0x4d835a,created_at:_0x1e9fa3})=>{const _0x3368d0={'id':_0x2d90f8,'type':_0x529356,'authorId':this['editor'][_0x458c('0x2')][_0x458c('0x1')]('Users')['me']['id'],'createdAt':new Date(),'data':null,'hasComments':!0x1,'attributes':{'@external':{'authorName':_0x4d835a,'createdAt':_0x1e9fa3?new Date(_0x1e9fa3):new Date(),'source':'importWord'}}};this[_0x458c('0x11')][_0x458c('0x2')][_0x458c('0x1')](_0x458c('0xc'))[_0x458c('0x9')](_0x3368d0);});}}
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);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x41a6=['outdentBlock','IndentBlock','plugins','getItems','markBlockFormat','enableCommand','has','IndentEditing','document','editor','_descriptionFactory','indentBlock','getSelectedBlocks','change','model','afterInit','commandName','format','getItemLabel','selection','locale','get','registerDescriptionCallback','*Indent:*\x20%0','schema'];(function(_0x263fcb,_0x41a68a){const _0x3fa1c2=function(_0x531440){while(--_0x531440){_0x263fcb['push'](_0x263fcb['shift']());}};_0x3fa1c2(++_0x41a68a);}(_0x41a6,0x104));const _0x3fa1=function(_0x263fcb,_0x41a68a){_0x263fcb=_0x263fcb-0x0;let _0x3fa1c2=_0x41a6[_0x263fcb];return _0x3fa1c2;};import{Plugin as _0x2c014e}from'ckeditor5/src/core';import{getTranslation as _0x35c980}from'../utils/common-translations';export default class tt extends _0x2c014e{[_0x3fa1('0x5')](){const _0x373566=this[_0x3fa1('0x18')],_0x32be5e=_0x373566['plugins'][_0x3fa1('0xb')]('TrackChangesEditing');_0x373566[_0x3fa1('0x11')][_0x3fa1('0x15')](_0x3fa1('0x16'))&&(_0x32be5e[_0x3fa1('0x14')]('indent'),_0x32be5e[_0x3fa1('0x14')]('outdent'));const _0x447161=_0x373566[_0x3fa1('0xa')];if(_0x373566[_0x3fa1('0x11')][_0x3fa1('0x15')](_0x3fa1('0x10'))){for(const _0x48458b of[_0x3fa1('0x1'),'outdentBlock'])_0x32be5e[_0x3fa1('0x14')](_0x48458b,()=>{const _0x218250=Array['from'](this[_0x3fa1('0x18')][_0x3fa1('0x4')][_0x3fa1('0x17')][_0x3fa1('0x9')][_0x3fa1('0x2')]())['filter'](_0x1ee759=>this['editor'][_0x3fa1('0x4')][_0x3fa1('0xe')]['checkAttribute'](_0x1ee759,'blockIndent'));_0x373566['model'][_0x3fa1('0x3')](()=>{for(const _0x5e26b0 of _0x218250)_0x32be5e[_0x3fa1('0x13')](_0x5e26b0,{'commandName':_0x48458b,'commandParams':[{'value':''}],'formatGroupId':_0x3fa1('0x1')});});});_0x32be5e['_descriptionFactory'][_0x3fa1('0xc')](_0x3d9c46=>{const {data:_0x4ee9bc}=_0x3d9c46;if(!_0x4ee9bc)return;if(_0x3fa1('0x1')!=_0x4ee9bc[_0x3fa1('0x6')]&&'outdentBlock'!=_0x4ee9bc['commandName'])return;const _0x330008=_0x3d9c46[_0x3fa1('0x12')]()[0x0],_0x4b927b=_0x32be5e[_0x3fa1('0x0')][_0x3fa1('0x8')](_0x330008);return'indentBlock'==_0x4ee9bc[_0x3fa1('0x6')]?{'type':_0x3fa1('0x7'),'content':_0x35c980(_0x447161,_0x3fa1('0xd'),_0x4b927b)}:_0x3fa1('0xf')==_0x4ee9bc['commandName']?{'type':_0x3fa1('0x7'),'content':_0x35c980(_0x447161,'*Outdent:*\x20%0',_0x4b927b)}:void 0x0;});}}}
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;});}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x1037=['enableCommand','plugins','input','TrackChangesEditing','editor'];(function(_0x572bf0,_0x1037a9){var _0x191ee4=function(_0x1f3ce0){while(--_0x1f3ce0){_0x572bf0['push'](_0x572bf0['shift']());}};_0x191ee4(++_0x1037a9);}(_0x1037,0x1d2));var _0x191e=function(_0x572bf0,_0x1037a9){_0x572bf0=_0x572bf0-0x0;var _0x191ee4=_0x1037[_0x572bf0];return _0x191ee4;};import{Plugin as _0x21143c}from'ckeditor5/src/core';import{Input as _0x52def2}from'ckeditor5/src/typing';export default class it extends _0x21143c{static get['requires'](){return[_0x52def2];}['init'](){this[_0x191e('0x3')][_0x191e('0x0')]['get'](_0x191e('0x2'))[_0x191e('0x4')](_0x191e('0x1'));}}
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');}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x22a3=['registerDescriptionCallback','commandParams','from','selection','enableCommand','markInlineFormat','document','locale','*Remove\x20link*','plugins','editor','get','isCollapsed','getFirstPosition','link','commandName','model','getAttribute','TrackChangesEditing','linkHref','format','has','LinkEditing','change','afterInit','unlink','_descriptionFactory'];(function(_0x28ebdb,_0x22a3f4){const _0x3349fc=function(_0x3727ce){while(--_0x3727ce){_0x28ebdb['push'](_0x28ebdb['shift']());}};_0x3349fc(++_0x22a3f4);}(_0x22a3,0x110));const _0x3349=function(_0x28ebdb,_0x22a3f4){_0x28ebdb=_0x28ebdb-0x0;let _0x3349fc=_0x22a3[_0x28ebdb];return _0x3349fc;};import{Plugin as _0x258e53}from'ckeditor5/src/core';import{findAttributeRange as _0x18f3ea}from'ckeditor5/src/typing';import{getRangesWithAttribute as _0x2a7eba}from'./utils';import{getTranslation as _0x5f0eb6}from'../utils/common-translations';export default class et extends _0x258e53{[_0x3349('0x16')](){const _0x2eaf82=this['editor'];if(!_0x2eaf82[_0x3349('0x7')][_0x3349('0x13')](_0x3349('0x14')))return;const _0x42b255=_0x2eaf82[_0x3349('0x7')][_0x3349('0x9')](_0x3349('0x10'));_0x42b255[_0x3349('0x2')](_0x3349('0xc'),(_0xe357a9,_0x101072)=>{const _0x5ccb8c=_0x2eaf82[_0x3349('0xe')]['document'][_0x3349('0x1')];let _0x355548=[];if(_0x5ccb8c[_0x3349('0xa')]){if(!_0x5ccb8c['hasAttribute'](_0x3349('0x11')))return void _0xe357a9(_0x101072);{const _0x5cd704=_0x18f3ea(_0x5ccb8c['getFirstPosition'](),_0x3349('0x11'),_0x5ccb8c[_0x3349('0xf')](_0x3349('0x11')),_0x2eaf82[_0x3349('0xe')]);_0x355548=[_0x5cd704];}}else _0x355548=Array[_0x3349('0x0')](_0x5ccb8c['getRanges']());_0x2eaf82[_0x3349('0xe')][_0x3349('0x15')](()=>{for(const _0x328c24 of _0x355548)_0x42b255['markInlineFormat'](_0x328c24,{'commandName':_0x3349('0xc'),'commandParams':[_0x101072]});});}),_0x42b255[_0x3349('0x2')](_0x3349('0x17'),()=>{const _0x17f56f=this[_0x3349('0x8')][_0x3349('0xe')],_0x516b20=_0x17f56f[_0x3349('0x4')][_0x3349('0x1')];_0x17f56f[_0x3349('0x15')](()=>{let _0x5b7811=[];if(_0x516b20[_0x3349('0xa')])_0x5b7811=[_0x18f3ea(_0x516b20[_0x3349('0xb')](),_0x3349('0x11'),_0x516b20[_0x3349('0xf')](_0x3349('0x11')),_0x2eaf82[_0x3349('0xe')])];else _0x5b7811=_0x2a7eba(_0x3349('0x11'),_0x516b20['getFirstRange'](),_0x2eaf82[_0x3349('0xe')]);for(const _0x54cc5b of _0x5b7811)_0x42b255[_0x3349('0x3')](_0x54cc5b,{'commandName':_0x3349('0x17'),'commandParams':[]});});}),_0x42b255[_0x3349('0x18')][_0x3349('0x19')](_0xe45861=>{const {data:_0x5b173c}=_0xe45861,_0x1f6365=_0x2eaf82[_0x3349('0x5')];if(_0x5b173c){if('link'==_0x5b173c[_0x3349('0xd')]){const _0x49f911=_0x5b173c[_0x3349('0x1a')][0x0];return{'type':_0x3349('0x12'),'content':_0x5f0eb6(_0x1f6365,'*Set\x20link:*\x20%0','\x22'+_0x49f911+'\x22')};}return _0x3349('0x17')==_0x5b173c[_0x3349('0xd')]?{'type':_0x3349('0x12'),'content':_0x5f0eb6(_0x1f6365,_0x3349('0x6'))}:void 0x0;}});}}
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;}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x530b=['bulleted','execute','ListEditing','model','before','element','bulletedList','get','replace','registerElementLabel','checkTodoList','_selectedElements','findIndex','todo','registerDescriptionCallback','commands','format','ELEMENT_BULLETED_LIST','*Indent:*\x20%0','List','TrackChangesEditing','ELEMENT_NUMBERED_LIST','isObject','getAttribute','outdentList','schema','listItem','getSelectedBlocks','listIndent','name','length','editor','enableCommand','parent','indentList','has','createPositionAt','todoListChecked','add','ELEMENT_TODO_LIST','document','*Change\x20to:*\x20%0','slice','todoList','_descriptionFactory','selection','plugins','createRange','TodoListEditing','change','filter','markBlockFormat','ELEMENT_LIST_ITEM','previousSibling','afterInit','listType','locale','numberedList','commandName','from','value','nextSibling','forceValue'];(function(_0x415b38,_0x530bb1){const _0x1c33a2=function(_0x272daa){while(--_0x272daa){_0x415b38['push'](_0x415b38['shift']());}};_0x1c33a2(++_0x530bb1);}(_0x530b,0x176));const _0x1c33=function(_0x415b38,_0x530bb1){_0x415b38=_0x415b38-0x0;let _0x1c33a2=_0x530b[_0x415b38];return _0x1c33a2;};import{Plugin as _0x468123}from'ckeditor5/src/core';import{getTranslation as _0x2064a3}from'../utils/common-translations';export default class st extends _0x468123{[_0x1c33('0x3a')](){const _0x150c26=this[_0x1c33('0x23')],_0x50425e=_0x150c26[_0x1c33('0x3c')];if(!_0x150c26[_0x1c33('0x32')]['has'](_0x1c33('0x6')))return;const _0xd8c7bf=_0x150c26[_0x1c33('0x32')][_0x1c33('0xb')](_0x1c33('0x18')),_0x3b3fdc=_0x150c26['plugins'][_0x1c33('0x27')](_0x1c33('0x34'));function _0x271c78(_0x3de1f0){return()=>{const _0x1933c9=_0x150c26['model'][_0x1c33('0x2c')][_0x1c33('0x31')],_0x3b7056=_0x150c26['commands']['get'](_0x3de1f0);if(_0x3b7056[_0x1c33('0x1')])return void _0x150c26[_0x1c33('0x5')]('paragraph',{});const _0x4498ec=_0x3de1f0[_0x1c33('0x2e')](0x0,-0x4),_0x1fce43=function(_0x346e75,_0x168c84,_0x3f53f6){let _0xa73ab4=Array[_0x1c33('0x0')](_0x346e75)[_0x1c33('0x36')](_0x23f0b6=>function(_0x7ed697,_0x32f0c9){return _0x32f0c9['checkChild'](_0x7ed697[_0x1c33('0x25')],'listItem')&&!_0x32f0c9[_0x1c33('0x1a')](_0x7ed697);}(_0x23f0b6,_0x3f53f6));_0xa73ab4=_0xa73ab4[_0x1c33('0x36')](_0x1ec30e=>!_0x1ec30e['is'](_0x1c33('0x9'),'listItem')||_0x1ec30e[_0x1c33('0x1b')](_0x1c33('0x3b'))!=_0x168c84);const _0xd9ef4a=new Set();for(const _0x240065 of _0xa73ab4)_0x240065['is']('element',_0x1c33('0x1e'))?_0xd9ef4a[_0x1c33('0x2a')](ne(_0x240065)):_0xd9ef4a[_0x1c33('0x2a')](_0x240065);return Array[_0x1c33('0x0')](_0xd9ef4a);}(_0x1933c9[_0x1c33('0x1f')](),_0x4498ec,_0x150c26[_0x1c33('0x7')][_0x1c33('0x1d')]);_0x150c26[_0x1c33('0x7')][_0x1c33('0x35')](()=>{for(const _0x4cf8e9 of _0x1fce43)_0xd8c7bf[_0x1c33('0x37')](_0x4cf8e9,{'commandName':_0x3de1f0,'commandParams':[{'forceValue':!_0x3b7056[_0x1c33('0x1')]}],'formatGroupId':'blockName'},oe(_0x4cf8e9));});};}function _0x55e9cb(_0xe7a466){return()=>{const _0x56b0e1=function(_0xd57d2f){let _0x3f9416=Array[_0x1c33('0x0')](_0xd57d2f);const _0x41ca2e=_0x3f9416[_0x1c33('0x10')](_0x380893=>'listItem'!=_0x380893[_0x1c33('0x21')]);return _0x41ca2e>-0x1&&(_0x3f9416=_0x3f9416[_0x1c33('0x2e')](0x0,_0x41ca2e)),_0x3f9416;}(_0x150c26[_0x1c33('0x7')][_0x1c33('0x2c')]['selection']['getSelectedBlocks']()),_0x1bbce3=_0x150c26['model'][_0x1c33('0x33')](_0x150c26['model'][_0x1c33('0x28')](_0x56b0e1[0x0],_0x1c33('0x8')),_0x150c26[_0x1c33('0x7')][_0x1c33('0x28')](_0x56b0e1[_0x56b0e1[_0x1c33('0x22')]-0x1],'end'));_0x150c26[_0x1c33('0x7')]['change'](()=>{_0xd8c7bf[_0x1c33('0x37')](_0x1bbce3,{'commandName':_0xe7a466,'commandParams':[],'formatGroupId':_0x1c33('0x20')},function(_0x1fdba5){const _0x35669a=new Set();for(const _0x32b6a3 of _0x1fdba5){let _0x2eba33=_0x32b6a3[_0x1c33('0x2')];for(;_0x2eba33&&_0x2eba33[_0x1c33('0x1b')]('listIndent')>_0x32b6a3[_0x1c33('0x1b')](_0x1c33('0x20'));)_0x35669a[_0x1c33('0x2a')](_0x2eba33),_0x2eba33=_0x2eba33[_0x1c33('0x2')];}return Array[_0x1c33('0x0')](_0x35669a);}(_0x56b0e1));});};}_0xd8c7bf[_0x1c33('0x24')](_0x1c33('0x3d'),_0x271c78('numberedList')),_0xd8c7bf[_0x1c33('0x24')](_0x1c33('0xa'),_0x271c78(_0x1c33('0xa'))),_0x3b3fdc&&_0xd8c7bf[_0x1c33('0x24')](_0x1c33('0x2f'),_0x271c78(_0x1c33('0x2f'))),_0xd8c7bf[_0x1c33('0x24')](_0x1c33('0x26'),_0x55e9cb(_0x1c33('0x26'))),_0xd8c7bf[_0x1c33('0x24')](_0x1c33('0x1c'),_0x55e9cb(_0x1c33('0x1c'))),_0x3b3fdc&&_0xd8c7bf[_0x1c33('0x24')](_0x1c33('0xe'),()=>{const _0x67fed6=_0x150c26[_0x1c33('0x13')]['get']('checkTodoList'),_0xdd189c=Array[_0x1c33('0x0')](_0x67fed6[_0x1c33('0xf')]);_0xdd189c[_0x1c33('0x36')](_0x239764=>_0x239764[_0x1c33('0x1b')](_0x1c33('0x29'))!=_0x67fed6['value']),_0x150c26[_0x1c33('0x7')][_0x1c33('0x35')](()=>{for(const _0x1705f8 of _0xdd189c)_0xd8c7bf['markBlockFormat'](_0x1705f8,{'commandName':'checkTodoList','commandParams':[{'forceValue':!_0x67fed6['value']}]});});}),_0xd8c7bf[_0x1c33('0x30')][_0x1c33('0xd')]('listItem',_0x44ac82=>_0x2064a3(_0x50425e,_0x1c33('0x38'),_0x44ac82)),_0xd8c7bf[_0x1c33('0x30')][_0x1c33('0x12')](_0x1d2d10=>{const {data:_0x43247a}=_0x1d2d10;if(_0x43247a){if('numberedList'==_0x43247a[_0x1c33('0x3e')]||_0x1c33('0xa')==_0x43247a['commandName']||_0x1c33('0x2f')==_0x43247a[_0x1c33('0x3e')])switch(_0x43247a[_0x1c33('0x3e')][_0x1c33('0xc')](_0x1c33('0x17'),'')){case _0x1c33('0x4'):return _0x345d54(_0x2064a3(_0x50425e,_0x1c33('0x15')));case'numbered':return _0x345d54(_0x2064a3(_0x50425e,_0x1c33('0x19')));case _0x1c33('0x11'):return _0x345d54(_0x2064a3(_0x50425e,_0x1c33('0x2b')));}if(_0x1c33('0x26')==_0x43247a[_0x1c33('0x3e')])return{'type':_0x1c33('0x14'),'content':_0x2064a3(_0x50425e,_0x1c33('0x16'),_0x2064a3(_0x50425e,'ELEMENT_LIST_ITEM'))};if(_0x1c33('0x1c')==_0x43247a[_0x1c33('0x3e')])return{'type':_0x1c33('0x14'),'content':_0x2064a3(_0x50425e,'*Outdent:*\x20%0',_0x2064a3(_0x50425e,'ELEMENT_LIST_ITEM'))};if(_0x1c33('0xe')==_0x43247a[_0x1c33('0x3e')])return _0x43247a['commandParams'][0x0][_0x1c33('0x3')]?{'type':_0x1c33('0x14'),'content':_0x2064a3(_0x50425e,'*Check\x20item*')}:{'type':_0x1c33('0x14'),'content':_0x2064a3(_0x50425e,'*Uncheck\x20item*')};}function _0x345d54(_0x236297){return{'type':_0x1c33('0x14'),'content':_0x2064a3(_0x50425e,_0x1c33('0x2d'),_0x236297)};}});}}function ne(_0x2158eb){const _0x394977=_0x2158eb[_0x1c33('0x1b')](_0x1c33('0x20'));if(0x0==_0x394977)return _0x2158eb;let _0x9e29b=_0x2158eb;for(;_0x2158eb['previousSibling']&&_0x2158eb['previousSibling']['is'](_0x1c33('0x9'),'listItem');){const _0xed43e7=_0x2158eb[_0x1c33('0x39')][_0x1c33('0x1b')](_0x1c33('0x20'));if(_0xed43e7==_0x394977)_0x9e29b=_0x2158eb[_0x1c33('0x39')];else{if(_0xed43e7<_0x394977)break;}_0x2158eb=_0x2158eb[_0x1c33('0x39')];}return _0x9e29b;}function oe(_0x3f4033){const _0x1b43dc=[];if(_0x3f4033['is'](_0x1c33('0x9'),_0x1c33('0x1e'))&&_0x3f4033['getAttribute'](_0x1c33('0x20'))>0x0){let _0x217b15=_0x3f4033[_0x1c33('0x2')];for(;_0x217b15&&_0x1c33('0x1e')==_0x217b15[_0x1c33('0x21')]&&_0x217b15[_0x1c33('0x1b')]('listIndent')==_0x3f4033[_0x1c33('0x1b')](_0x1c33('0x20'));)_0x1b43dc['push'](_0x217b15),_0x217b15=_0x217b15[_0x1c33('0x2')];}return _0x1b43dc;}
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;}