@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20231019.0 → 0.0.0-nightly-20231021.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 (65) hide show
  1. package/build/track-changes.js +1 -1
  2. package/package.json +3 -3
  3. package/src/commands/acceptsuggestioncommand.js +1 -1
  4. package/src/commands/discardsuggestioncommand.js +1 -1
  5. package/src/commands/executeonallsuggestionscommand.js +1 -1
  6. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  7. package/src/commands/trackchangescommand.js +1 -1
  8. package/src/integrations/aiassistant.js +1 -1
  9. package/src/integrations/alignment.js +1 -1
  10. package/src/integrations/basicstyles.js +1 -1
  11. package/src/integrations/blockquote.js +1 -1
  12. package/src/integrations/ckbox.js +1 -1
  13. package/src/integrations/codeblock.js +1 -1
  14. package/src/integrations/comments.js +1 -1
  15. package/src/integrations/deletecommand.js +1 -1
  16. package/src/integrations/documentlist.js +1 -1
  17. package/src/integrations/documentlistproperties.js +1 -1
  18. package/src/integrations/entercommand.js +1 -1
  19. package/src/integrations/findandreplace.js +1 -1
  20. package/src/integrations/font.js +1 -1
  21. package/src/integrations/formatpainter.js +1 -1
  22. package/src/integrations/heading.js +1 -1
  23. package/src/integrations/highlight.js +1 -1
  24. package/src/integrations/horizontalline.js +1 -1
  25. package/src/integrations/htmlembed.js +1 -1
  26. package/src/integrations/image.js +1 -1
  27. package/src/integrations/imagereplace.js +1 -1
  28. package/src/integrations/importword.js +1 -1
  29. package/src/integrations/indent.js +1 -1
  30. package/src/integrations/inputcommand.js +1 -1
  31. package/src/integrations/link.js +1 -1
  32. package/src/integrations/list.js +1 -1
  33. package/src/integrations/listproperties.js +1 -1
  34. package/src/integrations/mediaembed.js +1 -1
  35. package/src/integrations/mention.js +1 -1
  36. package/src/integrations/pagebreak.js +1 -1
  37. package/src/integrations/paragraph.js +1 -1
  38. package/src/integrations/removeformat.js +1 -1
  39. package/src/integrations/restrictededitingmode.js +1 -1
  40. package/src/integrations/shiftentercommand.js +1 -1
  41. package/src/integrations/standardeditingmode.js +1 -1
  42. package/src/integrations/style.js +1 -1
  43. package/src/integrations/table.js +1 -1
  44. package/src/integrations/tablecaption.js +1 -1
  45. package/src/integrations/tableclipboard.js +1 -1
  46. package/src/integrations/tablecolumnresize.js +1 -1
  47. package/src/integrations/tableheadings.js +1 -1
  48. package/src/integrations/tablemergesplit.js +1 -1
  49. package/src/integrations/tableofcontents.js +1 -1
  50. package/src/integrations/tableproperties.js +1 -1
  51. package/src/integrations/template.js +1 -1
  52. package/src/integrations/title.js +1 -1
  53. package/src/integrations/undo.js +1 -1
  54. package/src/integrations/utils.js +1 -1
  55. package/src/suggestion.js +1 -1
  56. package/src/suggestiondescriptionfactory.js +1 -1
  57. package/src/trackchanges.js +1 -1
  58. package/src/trackchangesdata.js +1 -1
  59. package/src/trackchangesediting.js +1 -1
  60. package/src/trackchangesui.js +1 -1
  61. package/src/ui/suggestioncontroller.js +1 -1
  62. package/src/ui/view/basesuggestionthreadview.js +1 -1
  63. package/src/ui/view/suggestionthreadview.js +1 -1
  64. package/src/utils/common-translations.js +1 -1
  65. package/src/utils/utils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2000=['getRanges','plugins','*Reset\x20font\x20background\x20color*','document','commandParams','registerDescriptionCallback','value','TrackChangesEditing','FontSize','fontColor.colors','commandName','has','fontSize','markInlineFormat','change','fontSize.options','*Set\x20font\x20color:*\x20%0','*Set\x20font\x20size:*\x20%0','*Reset\x20font\x20family*','_enableCommand','fontFamily','FontSizeEditing','fontColor','fontBackgroundColor','FontFamilyEditing','locale','from','find','label','FontBackgroundColorEditing','isCollapsed','toLowerCase','*Reset\x20font\x20color*','title','*Set\x20font\x20family:*\x20%0','selection','format','get','_descriptionFactory','editor','*Reset\x20font\x20size*','model','config'];(function(_0x51bebb,_0x20007a){const _0x4ab5e5=function(_0x2b8089){while(--_0x2b8089){_0x51bebb['push'](_0x51bebb['shift']());}};_0x4ab5e5(++_0x20007a);}(_0x2000,0x1bb));const _0x4ab5=function(_0x51bebb,_0x20007a){_0x51bebb=_0x51bebb-0x0;let _0x4ab5e5=_0x2000[_0x51bebb];return _0x4ab5e5;};import{Plugin as _0x3e753a}from'ckeditor5/src/core';import{normalizeColorOptions as _0x208f07}from'ckeditor5/src/ui';import{getRangesWithAttribute as _0x414da3}from'./utils';import{getTranslation as _0x599820}from'../utils/common-translations';const eo=[{'pluginName':_0x4ab5('0x8'),'commandName':_0x4ab5('0x2a')},{'pluginName':_0x4ab5('0xb'),'commandName':'fontFamily'},{'pluginName':'FontColorEditing','commandName':_0x4ab5('0x9')},{'pluginName':_0x4ab5('0x10'),'commandName':_0x4ab5('0xa')}];export default class W extends _0x3e753a{['afterInit'](){const _0x29c102=this[_0x4ab5('0x1a')][_0x4ab5('0xc')];for(const {pluginName:_0x39409c,commandName:_0x544e2f}of eo)this[_0x4ab5('0x1a')][_0x4ab5('0x1f')][_0x4ab5('0x29')](_0x39409c)&&this[_0x4ab5('0x6')](_0x544e2f);this[_0x4ab5('0x1a')][_0x4ab5('0x1f')][_0x4ab5('0x18')]('TrackChangesEditing')[_0x4ab5('0x19')][_0x4ab5('0x23')](_0x5143d5=>{const _0x513486=_0x29c102['t'],{data:_0x3dcdf3}=_0x5143d5;if(null!=_0x3dcdf3){if(_0x4ab5('0x2a')==_0x3dcdf3[_0x4ab5('0x28')]){const _0x17d5d2=_0x3dcdf3['commandParams'][0x0][_0x4ab5('0x24')];if(_0x17d5d2){const _0x297589=_0x513486(this['editor'][_0x4ab5('0x1f')][_0x4ab5('0x18')](_0x4ab5('0x26'))['normalizeSizeOptions'](this[_0x4ab5('0x1a')][_0x4ab5('0x1d')][_0x4ab5('0x18')](_0x4ab5('0x2')))['find'](_0x1d6e50=>_0x1d6e50['model']==_0x17d5d2)[_0x4ab5('0x14')])['toLowerCase']();return{'type':_0x4ab5('0x17'),'content':_0x599820(_0x29c102,_0x4ab5('0x4'),_0x297589)};}return{'type':_0x4ab5('0x17'),'content':_0x599820(_0x29c102,_0x4ab5('0x1b'))};}if(_0x4ab5('0x7')==_0x3dcdf3[_0x4ab5('0x28')]){const _0x2b724c=_0x3dcdf3['commandParams'][0x0][_0x4ab5('0x24')];return _0x2b724c?{'type':_0x4ab5('0x17'),'content':_0x599820(_0x29c102,_0x4ab5('0x15'),_0x2b724c)}:{'type':_0x4ab5('0x17'),'content':_0x599820(_0x29c102,_0x4ab5('0x5'))};}if('fontColor'==_0x3dcdf3[_0x4ab5('0x28')]){const _0x9ced94=_0x3dcdf3[_0x4ab5('0x22')][0x0][_0x4ab5('0x24')];if(_0x9ced94){const _0x581b58=_0x208f07(this[_0x4ab5('0x1a')]['config']['get'](_0x4ab5('0x27')))[_0x4ab5('0xe')](_0x3a2371=>_0x3a2371[_0x4ab5('0x1c')]==_0x9ced94);let _0x3611b9=_0x9ced94,_0x50780b='';return _0x581b58&&(_0x3611b9=_0x581b58['label'],_0x50780b=_0x513486(_0x3611b9)[_0x4ab5('0x12')]()),{'type':'format','content':_0x599820(_0x29c102,_0x4ab5('0x3'),_0x50780b)['trim'](),'color':{'value':_0x9ced94,'title':_0x50780b||_0x3611b9}};}return{'type':'format','content':_0x599820(_0x29c102,_0x4ab5('0x13'))};}if(_0x4ab5('0xa')==_0x3dcdf3[_0x4ab5('0x28')]){const _0x3f48cc=_0x3dcdf3[_0x4ab5('0x22')][0x0][_0x4ab5('0x24')];if(_0x3f48cc){const _0x14d36b=_0x208f07(this[_0x4ab5('0x1a')][_0x4ab5('0x1d')][_0x4ab5('0x18')]('fontBackgroundColor.colors'))[_0x4ab5('0xe')](_0x1addfa=>_0x1addfa['model']==_0x3f48cc);let _0x3ba5c6=_0x3f48cc,_0x3dce44='';return _0x14d36b&&(_0x3ba5c6=_0x14d36b[_0x4ab5('0xf')],_0x3dce44=_0x513486(_0x3ba5c6)[_0x4ab5('0x12')]()),{'type':'format','content':_0x599820(_0x29c102,'*Set\x20font\x20background\x20color:*\x20%0',_0x3dce44)['trim'](),'color':{'value':_0x3f48cc,'title':_0x3dce44||_0x3ba5c6}};}return{'type':_0x4ab5('0x17'),'content':_0x599820(_0x29c102,_0x4ab5('0x20'))};}}});}[_0x4ab5('0x6')](_0x48d636){const _0x5f2af3=this[_0x4ab5('0x1a')];_0x5f2af3['plugins'][_0x4ab5('0x18')](_0x4ab5('0x25'))['enableCommand'](_0x48d636,(_0x114791,_0x27068f={})=>{const _0x1e1245=_0x5f2af3['model'][_0x4ab5('0x21')][_0x4ab5('0x16')],_0x4c8c43=_0x27068f['value'];_0x1e1245[_0x4ab5('0x11')]?_0x114791(_0x27068f):_0x5f2af3[_0x4ab5('0x1c')][_0x4ab5('0x1')](()=>{const _0x59b92f=Array[_0x4ab5('0xd')](_0x1e1245[_0x4ab5('0x1e')]());for(const _0x5b25ef of _0x59b92f){const _0x3ec77d=_0x4c8c43?[_0x5b25ef]:_0x414da3(_0x48d636,_0x5b25ef,_0x5f2af3[_0x4ab5('0x1c')]);for(const _0x183cde of _0x3ec77d)_0x5f2af3['plugins'][_0x4ab5('0x18')](_0x4ab5('0x25'))[_0x4ab5('0x0')](_0x183cde,{'commandName':_0x48d636,'commandParams':[{'value':_0x4c8c43}]});}});});}}
23
+ const _0x1de7=['editor','fontSize','_enableCommand','find','label','change','_descriptionFactory','*Set\x20font\x20family:*\x20%0','model','get','*Reset\x20font\x20size*','plugins','FontSizeEditing','format','enableCommand','registerDescriptionCallback','TrackChangesEditing','selection','*Set\x20font\x20color:*\x20%0','FontSize','value','FontColorEditing','commandParams','trim','toLowerCase','fontSize.options','FontFamilyEditing','fontColor','*Set\x20font\x20background\x20color:*\x20%0','fontBackgroundColor','from','config','document','FontBackgroundColorEditing','*Reset\x20font\x20color*','title','commandName','fontFamily'];(function(_0x385a47,_0x1de7c1){const _0x3ed517=function(_0x3e6008){while(--_0x3e6008){_0x385a47['push'](_0x385a47['shift']());}};_0x3ed517(++_0x1de7c1);}(_0x1de7,0x150));const _0x3ed5=function(_0x385a47,_0x1de7c1){_0x385a47=_0x385a47-0x0;let _0x3ed517=_0x1de7[_0x385a47];return _0x3ed517;};import{Plugin as _0x4bd7d1}from'ckeditor5/src/core';import{normalizeColorOptions as _0x30efac}from'ckeditor5/src/ui';import{getRangesWithAttribute as _0x27ee58}from'./utils';import{getTranslation as _0x2bd7fd}from'../utils/common-translations';const eo=[{'pluginName':_0x3ed5('0x12'),'commandName':_0x3ed5('0x7')},{'pluginName':_0x3ed5('0x20'),'commandName':_0x3ed5('0x5')},{'pluginName':_0x3ed5('0x1b'),'commandName':'fontColor'},{'pluginName':_0x3ed5('0x1'),'commandName':_0x3ed5('0x23')}];export default class W extends _0x4bd7d1{['afterInit'](){const _0x3fb959=this['editor']['locale'];for(const {pluginName:_0xbc5278,commandName:_0x466601}of eo)this[_0x3ed5('0x6')]['plugins']['has'](_0xbc5278)&&this[_0x3ed5('0x8')](_0x466601);this[_0x3ed5('0x6')][_0x3ed5('0x11')][_0x3ed5('0xf')](_0x3ed5('0x16'))[_0x3ed5('0xc')][_0x3ed5('0x15')](_0xe3eed9=>{const _0x4c10e2=_0x3fb959['t'],{data:_0x2d964d}=_0xe3eed9;if(null!=_0x2d964d){if('fontSize'==_0x2d964d[_0x3ed5('0x4')]){const _0x72cb2=_0x2d964d['commandParams'][0x0][_0x3ed5('0x1a')];if(_0x72cb2){const _0x585c6d=_0x4c10e2(this[_0x3ed5('0x6')]['plugins'][_0x3ed5('0xf')](_0x3ed5('0x19'))['normalizeSizeOptions'](this[_0x3ed5('0x6')][_0x3ed5('0x25')][_0x3ed5('0xf')](_0x3ed5('0x1f')))['find'](_0x3a039f=>_0x3a039f[_0x3ed5('0xe')]==_0x72cb2)[_0x3ed5('0x3')])[_0x3ed5('0x1e')]();return{'type':'format','content':_0x2bd7fd(_0x3fb959,'*Set\x20font\x20size:*\x20%0',_0x585c6d)};}return{'type':_0x3ed5('0x13'),'content':_0x2bd7fd(_0x3fb959,_0x3ed5('0x10'))};}if('fontFamily'==_0x2d964d[_0x3ed5('0x4')]){const _0x404934=_0x2d964d[_0x3ed5('0x1c')][0x0]['value'];return _0x404934?{'type':_0x3ed5('0x13'),'content':_0x2bd7fd(_0x3fb959,_0x3ed5('0xd'),_0x404934)}:{'type':_0x3ed5('0x13'),'content':_0x2bd7fd(_0x3fb959,'*Reset\x20font\x20family*')};}if(_0x3ed5('0x21')==_0x2d964d['commandName']){const _0x40285a=_0x2d964d['commandParams'][0x0][_0x3ed5('0x1a')];if(_0x40285a){const _0x23f0af=_0x30efac(this[_0x3ed5('0x6')][_0x3ed5('0x25')][_0x3ed5('0xf')]('fontColor.colors'))[_0x3ed5('0x9')](_0x46f30a=>_0x46f30a[_0x3ed5('0xe')]==_0x40285a);let _0x33dbdb=_0x40285a,_0x187289='';return _0x23f0af&&(_0x33dbdb=_0x23f0af[_0x3ed5('0xa')],_0x187289=_0x4c10e2(_0x33dbdb)[_0x3ed5('0x1e')]()),{'type':'format','content':_0x2bd7fd(_0x3fb959,_0x3ed5('0x18'),_0x187289)[_0x3ed5('0x1d')](),'color':{'value':_0x40285a,'title':_0x187289||_0x33dbdb}};}return{'type':_0x3ed5('0x13'),'content':_0x2bd7fd(_0x3fb959,_0x3ed5('0x2'))};}if(_0x3ed5('0x23')==_0x2d964d[_0x3ed5('0x4')]){const _0x12d2d2=_0x2d964d['commandParams'][0x0][_0x3ed5('0x1a')];if(_0x12d2d2){const _0x378f2e=_0x30efac(this[_0x3ed5('0x6')][_0x3ed5('0x25')]['get']('fontBackgroundColor.colors'))[_0x3ed5('0x9')](_0x3a2b05=>_0x3a2b05['model']==_0x12d2d2);let _0x542a2b=_0x12d2d2,_0x46f784='';return _0x378f2e&&(_0x542a2b=_0x378f2e[_0x3ed5('0xa')],_0x46f784=_0x4c10e2(_0x542a2b)['toLowerCase']()),{'type':_0x3ed5('0x13'),'content':_0x2bd7fd(_0x3fb959,_0x3ed5('0x22'),_0x46f784)[_0x3ed5('0x1d')](),'color':{'value':_0x12d2d2,'title':_0x46f784||_0x542a2b}};}return{'type':'format','content':_0x2bd7fd(_0x3fb959,'*Reset\x20font\x20background\x20color*')};}}});}[_0x3ed5('0x8')](_0x9c61bd){const _0x41063c=this[_0x3ed5('0x6')];_0x41063c['plugins']['get'](_0x3ed5('0x16'))[_0x3ed5('0x14')](_0x9c61bd,(_0x27be29,_0x33b820={})=>{const _0x3e77d4=_0x41063c[_0x3ed5('0xe')][_0x3ed5('0x0')][_0x3ed5('0x17')],_0x412079=_0x33b820[_0x3ed5('0x1a')];_0x3e77d4['isCollapsed']?_0x27be29(_0x33b820):_0x41063c[_0x3ed5('0xe')][_0x3ed5('0xb')](()=>{const _0x2137f8=Array[_0x3ed5('0x24')](_0x3e77d4['getRanges']());for(const _0x33a3a2 of _0x2137f8){const _0x1045be=_0x412079?[_0x33a3a2]:_0x27ee58(_0x9c61bd,_0x33a3a2,_0x41063c['model']);for(const _0x43aaf2 of _0x1045be)_0x41063c['plugins'][_0x3ed5('0xf')](_0x3ed5('0x16'))['markInlineFormat'](_0x43aaf2,{'commandName':_0x9c61bd,'commandParams':[{'value':_0x412079}]});}});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x54f9=['createSelection','getSelectedBlocks','enableCommand','join','word','split','commandName','plugins','fontSize','change','label','getAttributes','from','slice','editor','document','fontColor.colors','format','modifySelection','markInlineFormat','FontSize','find','config','isBlock','getRanges','createRange','TrackChangesEditing','getAttributeProperties','backward','entries','length','locale','keys','charAt','fontColor','forward','getFirstPosition','boolean','getLastPosition','get','commands','normalizeSizeOptions','*Remove\x20all\x20formatting*','copyFormat','toUpperCase','title','registerDescriptionCallback','toLowerCase','fontBackgroundColor','pasteFormat','afterInit'];(function(_0x56d074,_0x54f921){const _0x4dc763=function(_0x327f1d){while(--_0x327f1d){_0x56d074['push'](_0x56d074['shift']());}};_0x4dc763(++_0x54f921);}(_0x54f9,0x1d1));const _0x4dc7=function(_0x56d074,_0x54f921){_0x56d074=_0x56d074-0x0;let _0x4dc763=_0x54f9[_0x56d074];return _0x4dc763;};import{Plugin as _0x18613c}from'ckeditor5/src/core';import{normalizeColorOptions as _0x38ef9d}from'ckeditor5/src/ui';import{first as _0x277b51}from'ckeditor5/src/utils';import{getTranslation as _0x453874}from'../utils/common-translations';export default class J extends _0x18613c{[_0x4dc7('0x2c')](){const _0x83e188=this[_0x4dc7('0x8')],_0x22f140=_0x83e188['model'],_0x34a19d=_0x22f140[_0x4dc7('0x9')]['selection'],_0x3ac82c=_0x83e188[_0x4dc7('0x1')]['get']('TrackChangesEditing'),_0x24a1d0=_0x83e188[_0x4dc7('0x19')],_0x4ae036=_0x83e188['commands'][_0x4dc7('0x21')](_0x4dc7('0x25')),_0xeae2cd=_0x83e188[_0x4dc7('0x22')]['get'](_0x4dc7('0x2b'));_0x4ae036&&_0xeae2cd&&(_0x3ac82c[_0x4dc7('0x2f')]('pasteFormat',(_0x161f30,_0x4962d5={})=>{const _0x2ab591=_0x4962d5;_0x22f140[_0x4dc7('0x3')](()=>{const _0x25d38e=Array[_0x4dc7('0x6')](_0x34a19d[_0x4dc7('0x12')]()),_0x3585dd=_0x34a19d['isCollapsed']?[io(_0x22f140,_0x34a19d)]:_0x25d38e,_0x41ed80=!!_0x277b51(function*(_0x488e00,_0x446420){const _0x5aff12=_0x538705=>!!_0x277b51(function*(_0x44707e,_0x1c2b6b){for(const [_0x542c62]of _0x44707e[_0x4dc7('0x5')]()){const _0x4f9fb1=_0x1c2b6b[_0x4dc7('0x15')](_0x542c62);_0x4f9fb1&&_0x4f9fb1['isFormatting']&&(yield _0x542c62);}}(_0x538705,_0x446420));for(const _0x5277ae of _0x488e00['getRanges']())for(const _0x1ee5f1 of _0x5277ae['getItems']())!_0x446420[_0x4dc7('0x11')](_0x1ee5f1)&&_0x5aff12(_0x1ee5f1)&&(yield _0x1ee5f1);for(const _0x127166 of _0x488e00[_0x4dc7('0x2e')]())_0x5aff12(_0x127166)&&(yield _0x127166);_0x5aff12(_0x488e00)&&(yield _0x488e00);}(_0x34a19d,_0x22f140['schema']));if(_0x41ed80||0x0!==Object[_0x4dc7('0x1a')](_0x2ab591)[_0x4dc7('0x18')])for(const _0x12bb03 of _0x3585dd)_0x3ac82c[_0x4dc7('0xd')](_0x12bb03,{'commandName':_0x4dc7('0x2b'),'commandParams':[_0x2ab591]});});}),_0x3ac82c['_descriptionFactory'][_0x4dc7('0x28')](_0x41bc85=>{const {data:_0x23b8df}=_0x41bc85;if(_0x23b8df&&_0x4dc7('0x2b')===_0x23b8df[_0x4dc7('0x0')]){const _0x162591=[],_0xaad20d=_0x23b8df['commandParams'][0x0];for(const [_0x59eea7,_0xa451a3]of Object[_0x4dc7('0x17')](_0xaad20d))_0x162591['push'](so(_0x83e188,_0x59eea7,_0xa451a3));return _0x162591['length']?{'type':_0x4dc7('0xb'),'content':_0x453874(_0x24a1d0,'*Set\x20format\x20to:*\x20%0',_0x162591[_0x4dc7('0x30')](',\x20'))}:{'type':'format','content':_0x453874(_0x24a1d0,_0x4dc7('0x24'))};}}),_0x83e188[_0x4dc7('0x1')][_0x4dc7('0x21')](_0x4dc7('0x14'))['enableCommand']('copyFormat'));}}function io(_0x163a24,_0x2e6e8c){const _0x2c3e57=_0x163a24[_0x4dc7('0x2d')](_0x2e6e8c);_0x163a24[_0x4dc7('0xc')](_0x2c3e57,{'unit':_0x4dc7('0x31'),'direction':_0x4dc7('0x16')});const _0x3c7d4c=_0x2c3e57[_0x4dc7('0x1e')]();_0x163a24[_0x4dc7('0xc')](_0x2c3e57,{'unit':_0x4dc7('0x31'),'direction':_0x4dc7('0x1d')});const _0x451393=_0x2c3e57[_0x4dc7('0x20')]();return _0x163a24[_0x4dc7('0x13')](_0x3c7d4c,_0x451393);}function so(_0x101599,_0x2aa6a2,_0xd8e332){const _0x4e26d9=_0x101599[_0x4dc7('0x19')]['t'],_0x37a98f=_0x2aa6a2[_0x4dc7('0x32')](/(?=[A-Z])/)[_0x4dc7('0x30')]('\x20'),_0x2234a9=_0x4e26d9(_0x37a98f[_0x4dc7('0x1b')](0x0)[_0x4dc7('0x26')]()+_0x37a98f[_0x4dc7('0x7')](0x1))[_0x4dc7('0x29')]();if(_0x4dc7('0x1f')==typeof _0xd8e332)return _0x2234a9;if(_0x4dc7('0x1c')===_0x2aa6a2||_0x4dc7('0x2a')===_0x2aa6a2){const _0x222738=_0x38ef9d(_0x101599['config'][_0x4dc7('0x21')](_0x4dc7('0xa')))[_0x4dc7('0xf')](_0x451ec7=>_0x451ec7['model']==_0xd8e332);return _0x2234a9+'\x20('+(_0x222738?_0x4e26d9(_0x222738[_0x4dc7('0x4')])[_0x4dc7('0x29')]():_0xd8e332)+')';}if(_0x4dc7('0x2')===_0x2aa6a2&&isNaN(parseFloat(_0xd8e332))){const _0xfe8ec9=_0x101599[_0x4dc7('0x1')]['get'](_0x4dc7('0xe'))[_0x4dc7('0x23')](_0x101599[_0x4dc7('0x10')][_0x4dc7('0x21')]('fontSize.options'))[_0x4dc7('0xf')](_0x330017=>_0x330017['model']==_0xd8e332);return _0x2234a9+'\x20('+(_0xfe8ec9?_0x4e26d9(_0xfe8ec9[_0x4dc7('0x27')])['toLowerCase']():_0xd8e332)+')';}return _0x2234a9+'\x20('+_0xd8e332+')';}
23
+ const _0xd208=['copyFormat','commandParams','length','*Remove\x20all\x20formatting*','toUpperCase','markInlineFormat','FontSize','boolean','word','getRanges','pasteFormat','keys','isFormatting','normalizeSizeOptions','isBlock','getLastPosition','locale','createRange','join','_descriptionFactory','commands','fontColor.colors','fontColor','toLowerCase','fontSize.options','config','editor','get','modifySelection','push','enableCommand','fontBackgroundColor','plugins','change','isCollapsed','registerDescriptionCallback','label','model','format','find','from','selection','document','getFirstPosition','split','backward'];(function(_0x161a18,_0xd20848){const _0x58f8b6=function(_0x2cb081){while(--_0x2cb081){_0x161a18['push'](_0x161a18['shift']());}};_0x58f8b6(++_0xd20848);}(_0xd208,0x69));const _0x58f8=function(_0x161a18,_0xd20848){_0x161a18=_0x161a18-0x0;let _0x58f8b6=_0xd208[_0x161a18];return _0x58f8b6;};import{Plugin as _0x1b585d}from'ckeditor5/src/core';import{normalizeColorOptions as _0x55053a}from'ckeditor5/src/ui';import{first as _0x2602d3}from'ckeditor5/src/utils';import{getTranslation as _0xca54e8}from'../utils/common-translations';export default class J extends _0x1b585d{['afterInit'](){const _0x28e900=this[_0x58f8('0xd')],_0x5343a2=_0x28e900[_0x58f8('0x18')],_0xe581fd=_0x5343a2[_0x58f8('0x1d')][_0x58f8('0x1c')],_0x5714d5=_0x28e900[_0x58f8('0x13')]['get']('TrackChangesEditing'),_0x84b529=_0x28e900[_0x58f8('0x3')],_0x3786df=_0x28e900[_0x58f8('0x7')][_0x58f8('0xe')](_0x58f8('0x21')),_0x56433e=_0x28e900[_0x58f8('0x7')][_0x58f8('0xe')](_0x58f8('0x2b'));_0x3786df&&_0x56433e&&(_0x5714d5[_0x58f8('0x11')]('pasteFormat',(_0x3db5fa,_0x2d9d5f={})=>{const _0x49350b=_0x2d9d5f;_0x5343a2[_0x58f8('0x14')](()=>{const _0x3d86eb=Array[_0x58f8('0x1b')](_0xe581fd[_0x58f8('0x2a')]()),_0x3bb83d=_0xe581fd[_0x58f8('0x15')]?[io(_0x5343a2,_0xe581fd)]:_0x3d86eb,_0x29190f=!!_0x2602d3(function*(_0x3fba23,_0x4accf6){const _0x43d392=_0x52c7dc=>!!_0x2602d3(function*(_0x40dbac,_0x2da3a3){for(const [_0x9ea436]of _0x40dbac['getAttributes']()){const _0xeb5aca=_0x2da3a3['getAttributeProperties'](_0x9ea436);_0xeb5aca&&_0xeb5aca[_0x58f8('0x2d')]&&(yield _0x9ea436);}}(_0x52c7dc,_0x4accf6));for(const _0x29fbe0 of _0x3fba23[_0x58f8('0x2a')]())for(const _0x413ce0 of _0x29fbe0['getItems']())!_0x4accf6[_0x58f8('0x1')](_0x413ce0)&&_0x43d392(_0x413ce0)&&(yield _0x413ce0);for(const _0x59fdf6 of _0x3fba23['getSelectedBlocks']())_0x43d392(_0x59fdf6)&&(yield _0x59fdf6);_0x43d392(_0x3fba23)&&(yield _0x3fba23);}(_0xe581fd,_0x5343a2['schema']));if(_0x29190f||0x0!==Object[_0x58f8('0x2c')](_0x49350b)['length'])for(const _0xc38573 of _0x3bb83d)_0x5714d5[_0x58f8('0x26')](_0xc38573,{'commandName':'pasteFormat','commandParams':[_0x49350b]});});}),_0x5714d5[_0x58f8('0x6')][_0x58f8('0x16')](_0x5b54c1=>{const {data:_0x13febc}=_0x5b54c1;if(_0x13febc&&'pasteFormat'===_0x13febc['commandName']){const _0x16f6b4=[],_0x1e9351=_0x13febc[_0x58f8('0x22')][0x0];for(const [_0x250409,_0x20818f]of Object['entries'](_0x1e9351))_0x16f6b4[_0x58f8('0x10')](so(_0x28e900,_0x250409,_0x20818f));return _0x16f6b4[_0x58f8('0x23')]?{'type':_0x58f8('0x19'),'content':_0xca54e8(_0x84b529,'*Set\x20format\x20to:*\x20%0',_0x16f6b4[_0x58f8('0x5')](',\x20'))}:{'type':_0x58f8('0x19'),'content':_0xca54e8(_0x84b529,_0x58f8('0x24'))};}}),_0x28e900[_0x58f8('0x13')]['get']('TrackChangesEditing')['enableCommand'](_0x58f8('0x21')));}}function io(_0x4701b6,_0x49ecaf){const _0x2e3371=_0x4701b6['createSelection'](_0x49ecaf);_0x4701b6[_0x58f8('0xf')](_0x2e3371,{'unit':_0x58f8('0x29'),'direction':_0x58f8('0x20')});const _0x3062dc=_0x2e3371[_0x58f8('0x1e')]();_0x4701b6[_0x58f8('0xf')](_0x2e3371,{'unit':'word','direction':'forward'});const _0x70b536=_0x2e3371[_0x58f8('0x2')]();return _0x4701b6[_0x58f8('0x4')](_0x3062dc,_0x70b536);}function so(_0x38a0dd,_0x15e8a0,_0x5ed9b0){const _0x238276=_0x38a0dd['locale']['t'],_0x202a7a=_0x15e8a0[_0x58f8('0x1f')](/(?=[A-Z])/)[_0x58f8('0x5')]('\x20'),_0x1e57de=_0x238276(_0x202a7a['charAt'](0x0)[_0x58f8('0x25')]()+_0x202a7a['slice'](0x1))[_0x58f8('0xa')]();if(_0x58f8('0x28')==typeof _0x5ed9b0)return _0x1e57de;if(_0x58f8('0x9')===_0x15e8a0||_0x58f8('0x12')===_0x15e8a0){const _0x572d1d=_0x55053a(_0x38a0dd[_0x58f8('0xc')][_0x58f8('0xe')](_0x58f8('0x8')))[_0x58f8('0x1a')](_0x5ddf96=>_0x5ddf96[_0x58f8('0x18')]==_0x5ed9b0);return _0x1e57de+'\x20('+(_0x572d1d?_0x238276(_0x572d1d[_0x58f8('0x17')])[_0x58f8('0xa')]():_0x5ed9b0)+')';}if('fontSize'===_0x15e8a0&&isNaN(parseFloat(_0x5ed9b0))){const _0x4ff02a=_0x38a0dd['plugins']['get'](_0x58f8('0x27'))[_0x58f8('0x0')](_0x38a0dd[_0x58f8('0xc')][_0x58f8('0xe')](_0x58f8('0xb')))[_0x58f8('0x1a')](_0x45ec28=>_0x45ec28['model']==_0x5ed9b0);return _0x1e57de+'\x20('+(_0x4ff02a?_0x238276(_0x4ff02a['title'])['toLowerCase']():_0x5ed9b0)+')';}return _0x1e57de+'\x20('+_0x5ed9b0+')';}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x136c=['get','*Change\x20to:*\x20%0','markBlockFormat','isObject','value','ELEMENT_HEADING_CUSTOM','has','registerDescriptionCallback','format','blockName','TrackChangesEditing','parent','change','HeadingEditing','find','getSelectedBlocks','commandParams','ELEMENT_HEADING','config','title','afterInit','filter','plugins','model','heading','editor','from','schema','paragraph','checkChild','_descriptionFactory','commandName','registerElementLabel','selection','match'];(function(_0x1ad92c,_0x136c33){const _0x1e2989=function(_0x2838be){while(--_0x2838be){_0x1ad92c['push'](_0x1ad92c['shift']());}};_0x1e2989(++_0x136c33);}(_0x136c,0xd4));const _0x1e29=function(_0x1ad92c,_0x136c33){_0x1ad92c=_0x1ad92c-0x0;let _0x1e2989=_0x136c[_0x1ad92c];return _0x1e2989;};import{Plugin as _0xed6241}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x266bc6}from'./utils';import{getTranslation as _0x3ffe5d}from'../utils/common-translations';export default class K extends _0xed6241{[_0x1e29('0x12')](){const _0x2c685b=this[_0x1e29('0x17')],_0xb91e49=_0x2c685b['locale'],_0x5bbf64=_0x2c685b[_0x1e29('0x10')][_0x1e29('0x21')]('heading.options');if(!_0x2c685b[_0x1e29('0x14')][_0x1e29('0x4')](_0x1e29('0xb')))return;const _0x19c27a=_0x2c685b[_0x1e29('0x14')][_0x1e29('0x21')](_0x1e29('0x8'));_0x19c27a['enableCommand']('heading',(_0x40107a,_0x21803a)=>{const _0x256abe=_0x21803a[_0x1e29('0x2')],_0x27776a=Array[_0x1e29('0x18')](this[_0x1e29('0x17')][_0x1e29('0x15')]['document'][_0x1e29('0x1f')][_0x1e29('0xd')]())[_0x1e29('0x13')](_0x2759c2=>function(_0x344955,_0x2779da,_0x59f21c){return _0x59f21c[_0x1e29('0x1b')](_0x344955[_0x1e29('0x9')],_0x2779da)&&!_0x59f21c[_0x1e29('0x1')](_0x344955)&&_0x344955['name']!=_0x2779da;}(_0x2759c2,_0x256abe,this[_0x1e29('0x17')][_0x1e29('0x15')][_0x1e29('0x19')]));_0x2c685b[_0x1e29('0x15')][_0x1e29('0xa')](()=>{for(const _0x20c521 of _0x27776a)_0x19c27a[_0x1e29('0x0')](_0x20c521,{'commandName':_0x1e29('0x16'),'commandParams':[_0x21803a],'formatGroupId':_0x1e29('0x7')},_0x266bc6(_0x20c521));});});for(const _0x18bd2f of _0x5bbf64)_0x1e29('0x1a')!=_0x18bd2f[_0x1e29('0x15')]&&_0x19c27a['_descriptionFactory'][_0x1e29('0x1e')](_0x18bd2f[_0x1e29('0x15')],_0x5240a2=>{const _0x1c9539=nn(_0x18bd2f[_0x1e29('0x15')]);return null!==_0x1c9539?_0x43ac58(_0x5240a2,_0x1c9539):_0x1538b8(_0x5240a2,_0x18bd2f[_0x1e29('0x11')]);});function _0x43ac58(_0x4104a3,_0xd919b5){return _0x3ffe5d(_0xb91e49,_0x1e29('0xf'),[_0x4104a3,_0xd919b5]);}function _0x1538b8(_0x105a4a,_0x398131){return _0x3ffe5d(_0xb91e49,_0x1e29('0x3'),[_0x105a4a,_0x398131]);}_0x19c27a[_0x1e29('0x1c')][_0x1e29('0x5')](_0x478c04=>{const {type:_0x1c4b83,data:_0x3bdf79}=_0x478c04;if('formatBlock'==_0x1c4b83&&_0x3bdf79&&_0x1e29('0x16')==_0x3bdf79[_0x1e29('0x1d')]){const _0x3df6ea=_0x3bdf79[_0x1e29('0xe')][0x0][_0x1e29('0x2')],_0x4bca8a=nn(_0x3df6ea);if(null!==_0x4bca8a)return{'type':_0x1e29('0x6'),'content':_0x3ffe5d(_0xb91e49,'*Change\x20to:*\x20%0',_0x43ac58(0x1,_0x4bca8a))};const _0x321198=_0x5bbf64[_0x1e29('0xc')](_0x9119bb=>_0x9119bb[_0x1e29('0x15')]===_0x3df6ea)['title'];return{'type':_0x1e29('0x6'),'content':_0x3ffe5d(_0xb91e49,_0x1e29('0x22'),_0x1538b8(0x1,_0x321198))};}});}}function nn(_0x5a7ceb){const _0x391237=_0x5a7ceb[_0x1e29('0x20')](/^heading(\d+)$/);return _0x391237?_0x391237[0x1]:null;}
23
+ const _0x2077=['title','schema','commandName','plugins','match','editor','locale','heading','format','enableCommand','TrackChangesEditing','get','HeadingEditing','afterInit','commandParams','value','_descriptionFactory','change','*Change\x20to:*\x20%0','find','parent','markBlockFormat','heading.options','selection','isObject','has','formatBlock','registerElementLabel','model','blockName'];(function(_0x444834,_0x207793){const _0x5ad70f=function(_0x2e5dd7){while(--_0x2e5dd7){_0x444834['push'](_0x444834['shift']());}};_0x5ad70f(++_0x207793);}(_0x2077,0x183));const _0x5ad7=function(_0x444834,_0x207793){_0x444834=_0x444834-0x0;let _0x5ad70f=_0x2077[_0x444834];return _0x5ad70f;};import{Plugin as _0x3d5b18}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x209b53}from'./utils';import{getTranslation as _0x13b1ba}from'../utils/common-translations';export default class K extends _0x3d5b18{[_0x5ad7('0x10')](){const _0x338685=this[_0x5ad7('0x8')],_0x1399bc=_0x338685[_0x5ad7('0x9')],_0xa792b=_0x338685['config'][_0x5ad7('0xe')](_0x5ad7('0x19'));if(!_0x338685[_0x5ad7('0x6')][_0x5ad7('0x1c')](_0x5ad7('0xf')))return;const _0x5518ee=_0x338685[_0x5ad7('0x6')][_0x5ad7('0xe')](_0x5ad7('0xd'));_0x5518ee[_0x5ad7('0xc')](_0x5ad7('0xa'),(_0x5ef74b,_0x369f6f)=>{const _0x1646cd=_0x369f6f['value'],_0x21e2db=Array['from'](this['editor'][_0x5ad7('0x1')]['document'][_0x5ad7('0x1a')]['getSelectedBlocks']())['filter'](_0x50514c=>function(_0x22a7c9,_0x2fb5d8,_0x1e1433){return _0x1e1433['checkChild'](_0x22a7c9[_0x5ad7('0x17')],_0x2fb5d8)&&!_0x1e1433[_0x5ad7('0x1b')](_0x22a7c9)&&_0x22a7c9['name']!=_0x2fb5d8;}(_0x50514c,_0x1646cd,this['editor']['model'][_0x5ad7('0x4')]));_0x338685[_0x5ad7('0x1')][_0x5ad7('0x14')](()=>{for(const _0x429408 of _0x21e2db)_0x5518ee[_0x5ad7('0x18')](_0x429408,{'commandName':_0x5ad7('0xa'),'commandParams':[_0x369f6f],'formatGroupId':_0x5ad7('0x2')},_0x209b53(_0x429408));});});for(const _0x571fca of _0xa792b)'paragraph'!=_0x571fca[_0x5ad7('0x1')]&&_0x5518ee[_0x5ad7('0x13')][_0x5ad7('0x0')](_0x571fca[_0x5ad7('0x1')],_0x33b9b2=>{const _0x2f70dc=nn(_0x571fca[_0x5ad7('0x1')]);return null!==_0x2f70dc?_0x1cd842(_0x33b9b2,_0x2f70dc):_0x55e3a1(_0x33b9b2,_0x571fca[_0x5ad7('0x3')]);});function _0x1cd842(_0x45e534,_0x9dc55a){return _0x13b1ba(_0x1399bc,'ELEMENT_HEADING',[_0x45e534,_0x9dc55a]);}function _0x55e3a1(_0x45f228,_0x203f0f){return _0x13b1ba(_0x1399bc,'ELEMENT_HEADING_CUSTOM',[_0x45f228,_0x203f0f]);}_0x5518ee[_0x5ad7('0x13')]['registerDescriptionCallback'](_0x2b5e03=>{const {type:_0x4b8435,data:_0x26cc78}=_0x2b5e03;if(_0x5ad7('0x1d')==_0x4b8435&&_0x26cc78&&_0x5ad7('0xa')==_0x26cc78[_0x5ad7('0x5')]){const _0x53035f=_0x26cc78[_0x5ad7('0x11')][0x0][_0x5ad7('0x12')],_0x1da946=nn(_0x53035f);if(null!==_0x1da946)return{'type':_0x5ad7('0xb'),'content':_0x13b1ba(_0x1399bc,_0x5ad7('0x15'),_0x1cd842(0x1,_0x1da946))};const _0x3ada78=_0xa792b[_0x5ad7('0x16')](_0x57904e=>_0x57904e[_0x5ad7('0x1')]===_0x53035f)[_0x5ad7('0x3')];return{'type':_0x5ad7('0xb'),'content':_0x13b1ba(_0x1399bc,'*Change\x20to:*\x20%0',_0x55e3a1(0x1,_0x3ada78))};}});}}function nn(_0x198f18){const _0x2fb699=_0x198f18[_0x5ad7('0x7')](/^heading(\d+)$/);return _0x2fb699?_0x2fb699[0x1]:null;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1a2c=['toLowerCase','isCollapsed','highlight','getFirstPosition','editor','backward','afterInit','*Set\x20highlight:*\x20%0','change','getAttribute','config','item','color','getLastMatchingPosition','get','locale','find','*Remove\x20highlight*','push','document','markInlineFormat','title','registerDescriptionCallback','has','selection','model','commandParams','plugins','FORMAT_HIGHLIGHT','TrackChangesEditing','format','enableCommand'];(function(_0x1618f0,_0x1a2c82){const _0xb113e1=function(_0x34759a){while(--_0x34759a){_0x1618f0['push'](_0x1618f0['shift']());}};_0xb113e1(++_0x1a2c82);}(_0x1a2c,0xc0));const _0xb113=function(_0x1618f0,_0x1a2c82){_0x1618f0=_0x1618f0-0x0;let _0xb113e1=_0x1a2c[_0x1618f0];return _0xb113e1;};import{Plugin as _0x25589d}from'ckeditor5/src/core';import{getTranslation as _0x1a3bb4}from'../utils/common-translations';import{getRangesWithAttribute as _0x1ca5fa}from'./utils';export default class Q extends _0x25589d{[_0xb113('0x6')](){const _0x295b52=this[_0xb113('0x4')];if(!_0x295b52['plugins'][_0xb113('0x17')]('HighlightEditing'))return;const _0x4c24c6=_0x295b52[_0xb113('0x1b')][_0xb113('0xe')](_0xb113('0x1d'));_0x4c24c6[_0xb113('0x1f')](_0xb113('0x2'),(_0x499e46,_0x49473d={})=>{const _0x5c237e=_0x295b52['model'][_0xb113('0x13')][_0xb113('0x18')],_0x4cf66c=_0x5c237e[_0xb113('0x9')](_0xb113('0x2'));let _0x413eb2=_0x49473d['value'],_0x1e00da=[];if(_0x5c237e[_0xb113('0x1')]){const _0x12796b=_0x5c237e[_0xb113('0x3')]();if(!_0x5c237e['hasAttribute'](_0xb113('0x2')))return void _0x499e46(_0x49473d);{const _0x5d1073=_0x2fc152=>_0x2fc152[_0xb113('0xb')][_0xb113('0x9')](_0xb113('0x2'))===_0x4cf66c,_0x473e98=_0x12796b['getLastMatchingPosition'](_0x5d1073,{'direction':_0xb113('0x5')}),_0x5ea214=_0x12796b[_0xb113('0xd')](_0x5d1073);_0x1e00da=[_0x295b52[_0xb113('0x19')]['createRange'](_0x473e98,_0x5ea214)],_0x413eb2==_0x4cf66c&&(_0x413eb2=null);}}else for(const _0x28753c of _0x5c237e['getRanges']())_0x413eb2?_0x1e00da[_0xb113('0x12')](_0x28753c):_0x1e00da[_0xb113('0x12')](..._0x1ca5fa(_0xb113('0x2'),_0x28753c,_0x295b52[_0xb113('0x19')]));_0x295b52[_0xb113('0x19')][_0xb113('0x8')](()=>{for(const _0x177b42 of _0x1e00da)_0x4c24c6[_0xb113('0x14')](_0x177b42,{'commandName':_0xb113('0x2'),'commandParams':[{'value':_0x413eb2}]});});});const _0x37a330=_0x295b52[_0xb113('0xf')];_0x4c24c6['_descriptionFactory'][_0xb113('0x16')](_0x28c029=>{const {type:_0x1b8d89,data:_0x26f936}=_0x28c029;if('formatInline'==_0x1b8d89&&_0x26f936&&'highlight'==_0x26f936['commandName']){const _0x33a25d=_0x37a330['t'],_0x384d49=_0x26f936[_0xb113('0x1a')][0x0]['value'];if(_0x384d49){const _0xdd5ce7=_0x295b52[_0xb113('0xa')][_0xb113('0xe')]('highlight.options')[_0xb113('0x10')](_0x3b19ce=>_0x3b19ce[_0xb113('0x19')]==_0x384d49),_0x2156cf=_0x33a25d(_0xdd5ce7[_0xb113('0x15')])[_0xb113('0x0')]();return{'type':_0xb113('0x1e'),'content':_0x1a3bb4(_0x37a330,_0xb113('0x7'),_0x2156cf),'color':{'value':_0xdd5ce7[_0xb113('0xc')],'title':_0xdd5ce7[_0xb113('0x15')]}};}return{'type':_0xb113('0x1e'),'content':_0x1a3bb4(_0x37a330,_0xb113('0x11'),_0x1a3bb4(_0x37a330,_0xb113('0x1c')))};}});}}
23
+ const _0x4d76=['toLowerCase','value','model','*Remove\x20highlight*','hasAttribute','editor','TrackChangesEditing','format','FORMAT_HIGHLIGHT','push','highlight.options','document','title','get','formatInline','highlight','isCollapsed','*Set\x20highlight:*\x20%0','commandName','backward','getLastMatchingPosition','commandParams','markInlineFormat','getAttribute','plugins','createRange','enableCommand','selection','change','getFirstPosition','locale','item'];(function(_0x40a2e9,_0x4d760e){const _0x1fcfaa=function(_0x23653e){while(--_0x23653e){_0x40a2e9['push'](_0x40a2e9['shift']());}};_0x1fcfaa(++_0x4d760e);}(_0x4d76,0x173));const _0x1fcf=function(_0x40a2e9,_0x4d760e){_0x40a2e9=_0x40a2e9-0x0;let _0x1fcfaa=_0x4d76[_0x40a2e9];return _0x1fcfaa;};import{Plugin as _0x2cacae}from'ckeditor5/src/core';import{getTranslation as _0x511e01}from'../utils/common-translations';import{getRangesWithAttribute as _0x13bd01}from'./utils';export default class Q extends _0x2cacae{['afterInit'](){const _0x1fae7b=this[_0x1fcf('0x12')];if(!_0x1fae7b['plugins']['has']('HighlightEditing'))return;const _0x33e308=_0x1fae7b[_0x1fcf('0x5')][_0x1fcf('0x1a')](_0x1fcf('0x13'));_0x33e308[_0x1fcf('0x7')](_0x1fcf('0x1c'),(_0x5b7f0a,_0x392246={})=>{const _0x51d4aa=_0x1fae7b[_0x1fcf('0xf')][_0x1fcf('0x18')][_0x1fcf('0x8')],_0xbf8611=_0x51d4aa[_0x1fcf('0x4')](_0x1fcf('0x1c'));let _0x386e49=_0x392246[_0x1fcf('0xe')],_0x338c87=[];if(_0x51d4aa[_0x1fcf('0x1d')]){const _0x46b1c1=_0x51d4aa[_0x1fcf('0xa')]();if(!_0x51d4aa[_0x1fcf('0x11')](_0x1fcf('0x1c')))return void _0x5b7f0a(_0x392246);{const _0x528ef2=_0x126b4e=>_0x126b4e[_0x1fcf('0xc')][_0x1fcf('0x4')]('highlight')===_0xbf8611,_0x2105f6=_0x46b1c1[_0x1fcf('0x1')](_0x528ef2,{'direction':_0x1fcf('0x0')}),_0x2487a1=_0x46b1c1[_0x1fcf('0x1')](_0x528ef2);_0x338c87=[_0x1fae7b[_0x1fcf('0xf')][_0x1fcf('0x6')](_0x2105f6,_0x2487a1)],_0x386e49==_0xbf8611&&(_0x386e49=null);}}else for(const _0x3ca72f of _0x51d4aa['getRanges']())_0x386e49?_0x338c87['push'](_0x3ca72f):_0x338c87[_0x1fcf('0x16')](..._0x13bd01(_0x1fcf('0x1c'),_0x3ca72f,_0x1fae7b[_0x1fcf('0xf')]));_0x1fae7b['model'][_0x1fcf('0x9')](()=>{for(const _0x58b086 of _0x338c87)_0x33e308[_0x1fcf('0x3')](_0x58b086,{'commandName':_0x1fcf('0x1c'),'commandParams':[{'value':_0x386e49}]});});});const _0x24f704=_0x1fae7b[_0x1fcf('0xb')];_0x33e308['_descriptionFactory']['registerDescriptionCallback'](_0x50b172=>{const {type:_0x4ce055,data:_0x387a61}=_0x50b172;if(_0x1fcf('0x1b')==_0x4ce055&&_0x387a61&&_0x1fcf('0x1c')==_0x387a61[_0x1fcf('0x1f')]){const _0x41e69c=_0x24f704['t'],_0x32772a=_0x387a61[_0x1fcf('0x2')][0x0][_0x1fcf('0xe')];if(_0x32772a){const _0x5d00d1=_0x1fae7b['config'][_0x1fcf('0x1a')](_0x1fcf('0x17'))['find'](_0x52aafb=>_0x52aafb[_0x1fcf('0xf')]==_0x32772a),_0x4a52ea=_0x41e69c(_0x5d00d1['title'])[_0x1fcf('0xd')]();return{'type':_0x1fcf('0x14'),'content':_0x511e01(_0x24f704,_0x1fcf('0x1e'),_0x4a52ea),'color':{'value':_0x5d00d1['color'],'title':_0x5d00d1[_0x1fcf('0x19')]}};}return{'type':'format','content':_0x511e01(_0x24f704,_0x1fcf('0x10'),_0x511e01(_0x24f704,_0x1fcf('0x15')))};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x62f7=['get','dataDowncast','TrackChangesEditing','HorizontalLineEditing','_descriptionFactory','createPositionAt','enableCommand','createContainerElement','for','ELEMENT_HORIZONTAL_LINE','ck-horizontal-line','registerElementLabel','editor','afterInit','showSuggestionHighlights','horizontalLine','addClass','conversion','elementToStructure','plugins'];(function(_0xcfb2b2,_0x62f7af){const _0xb8d4e5=function(_0x27d0b1){while(--_0x27d0b1){_0xcfb2b2['push'](_0xcfb2b2['shift']());}};_0xb8d4e5(++_0x62f7af);}(_0x62f7,0x9a));const _0xb8d4=function(_0xcfb2b2,_0x62f7af){_0xcfb2b2=_0xcfb2b2-0x0;let _0xb8d4e5=_0x62f7[_0xcfb2b2];return _0xb8d4e5;};import{Plugin as _0x2477f0}from'ckeditor5/src/core';import{getTranslation as _0x5f207e}from'../utils/common-translations';export default class V extends _0x2477f0{[_0xb8d4('0x13')](){const _0x3f5e06=this[_0xb8d4('0x12')];if(!_0x3f5e06[_0xb8d4('0x5')]['has'](_0xb8d4('0x9')))return;_0x3f5e06[_0xb8d4('0x5')][_0xb8d4('0x6')](_0xb8d4('0x8'))[_0xb8d4('0xc')](_0xb8d4('0x1'));const _0x3f23cd=_0x3f5e06[_0xb8d4('0x5')]['get'](_0xb8d4('0x8')),_0x2ddc1b=_0x3f5e06['locale'];_0x3f23cd[_0xb8d4('0xa')][_0xb8d4('0x11')](_0xb8d4('0x1'),_0x1b4d56=>_0x5f207e(_0x2ddc1b,_0xb8d4('0xf'),_0x1b4d56)),_0x3f5e06[_0xb8d4('0x3')][_0xb8d4('0xe')](_0xb8d4('0x7'))[_0xb8d4('0x4')]({'model':_0xb8d4('0x1'),'view':(_0x5ac823,{writer:_0x5bf246,options:_0x271719})=>{if(!_0x271719[_0xb8d4('0x0')])return null;const _0x4a1631=_0x5bf246[_0xb8d4('0xd')]('div'),_0x4da064=_0x5bf246['createEmptyElement']('hr');return _0x5bf246[_0xb8d4('0x2')](_0xb8d4('0x10'),_0x4a1631),_0x5bf246['insert'](_0x5bf246[_0xb8d4('0xb')](_0x4a1631,0x0),_0x4da064),_0x4a1631;},'converterPriority':'high'});}}
23
+ const _0x5e2a=['editor','horizontalLine','createContainerElement','div','insert','plugins','TrackChangesEditing','high','HorizontalLineEditing','showSuggestionHighlights','get','addClass','has','elementToStructure','for','ck-horizontal-line','locale','dataDowncast','enableCommand','conversion'];(function(_0x90e1b8,_0x5e2a4c){const _0x1a8021=function(_0x51ac75){while(--_0x51ac75){_0x90e1b8['push'](_0x90e1b8['shift']());}};_0x1a8021(++_0x5e2a4c);}(_0x5e2a,0x8a));const _0x1a80=function(_0x90e1b8,_0x5e2a4c){_0x90e1b8=_0x90e1b8-0x0;let _0x1a8021=_0x5e2a[_0x90e1b8];return _0x1a8021;};import{Plugin as _0x19098f}from'ckeditor5/src/core';import{getTranslation as _0x1b03fd}from'../utils/common-translations';export default class V extends _0x19098f{['afterInit'](){const _0x1d329e=this[_0x1a80('0x2')];if(!_0x1d329e[_0x1a80('0x7')][_0x1a80('0xe')](_0x1a80('0xa')))return;_0x1d329e['plugins'][_0x1a80('0xc')]('TrackChangesEditing')[_0x1a80('0x0')]('horizontalLine');const _0xa3260d=_0x1d329e[_0x1a80('0x7')][_0x1a80('0xc')](_0x1a80('0x8')),_0x3ca819=_0x1d329e[_0x1a80('0x12')];_0xa3260d['_descriptionFactory']['registerElementLabel'](_0x1a80('0x3'),_0xade55a=>_0x1b03fd(_0x3ca819,'ELEMENT_HORIZONTAL_LINE',_0xade55a)),_0x1d329e[_0x1a80('0x1')][_0x1a80('0x10')](_0x1a80('0x13'))[_0x1a80('0xf')]({'model':'horizontalLine','view':(_0x1bc4f3,{writer:_0x4c1fa2,options:_0x36f2ed})=>{if(!_0x36f2ed[_0x1a80('0xb')])return null;const _0x37ffea=_0x4c1fa2[_0x1a80('0x4')](_0x1a80('0x5')),_0x242adb=_0x4c1fa2['createEmptyElement']('hr');return _0x4c1fa2[_0x1a80('0xd')](_0x1a80('0x11'),_0x37ffea),_0x4c1fa2[_0x1a80('0x6')](_0x4c1fa2['createPositionAt'](_0x37ffea,0x0),_0x242adb),_0x37ffea;},'converterPriority':_0x1a80('0x9')});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x10d5=['view','commandName','selection','format','model','getSelectedElement','_descriptionFactory','TrackChangesEditing','has','markBlockFormat','value','HtmlEmbed','editor','locale','document','rawHtml','editing','afterInit','cancel','getAttribute','rawHtmlApi','registerElementLabel','enableCommand','htmlEmbed','plugins','get'];(function(_0x586a55,_0x10d5c0){const _0x1d9544=function(_0x5d7673){while(--_0x5d7673){_0x586a55['push'](_0x586a55['shift']());}};_0x1d9544(++_0x10d5c0);}(_0x10d5,0x1d7));const _0x1d95=function(_0x586a55,_0x10d5c0){_0x586a55=_0x586a55-0x0;let _0x1d9544=_0x10d5[_0x586a55];return _0x1d9544;};import{Plugin as _0x3802b2}from'ckeditor5/src/core';import{getTranslation as _0xe8a0af}from'../utils/common-translations';export default class X extends _0x3802b2{[_0x1d95('0xe')](){const _0x566c99=this[_0x1d95('0x9')];if(!_0x566c99['plugins'][_0x1d95('0x5')](_0x1d95('0x8')))return;const _0x22151b=_0x566c99[_0x1d95('0x15')][_0x1d95('0x16')](_0x1d95('0x4')),_0x26a162=_0x566c99[_0x1d95('0xa')],_0x489880=_0x566c99[_0x1d95('0xd')][_0x1d95('0x17')][_0x1d95('0xb')]['selection'];_0x22151b[_0x1d95('0x3')][_0x1d95('0x12')](_0x1d95('0xc'),_0x1fa396=>_0xe8a0af(_0x26a162,'ELEMENT_HTML_EMBED',_0x1fa396)),_0x566c99[_0x1d95('0x15')][_0x1d95('0x16')](_0x1d95('0x4'))[_0x1d95('0x13')](_0x1d95('0x14'),(_0x42d10c,_0x15a3bb)=>{const _0x38be2b=_0x566c99[_0x1d95('0x1')],_0x45ad35=_0x38be2b[_0x1d95('0xb')][_0x1d95('0x19')];_0x38be2b['change'](()=>{const _0x196aaa=function(_0x25ab89){const _0x44fa3e=_0x25ab89['getSelectedElement']();if(_0x44fa3e&&_0x44fa3e['is']('element','rawHtml'))return _0x25ab89[_0x1d95('0x2')]();return null;}(_0x45ad35);if(!_0x196aaa)return void _0x42d10c(null);const _0x248ee7=_0x196aaa[_0x1d95('0x10')](_0x1d95('0x7'))||'';if(void 0x0===_0x15a3bb)return;if(_0x15a3bb===_0x248ee7)return;_0x22151b[_0x1d95('0x6')](_0x196aaa,{'commandName':'htmlEmbed','commandParams':[_0x15a3bb]}),_0x489880['getSelectedElement']()['getCustomProperty'](_0x1d95('0x11'))[_0x1d95('0xf')]();});}),_0x22151b[_0x1d95('0x3')]['registerDescriptionCallback'](_0x4a5bdf=>{const {data:_0x5d11d5}=_0x4a5bdf;if(_0x5d11d5&&'htmlEmbed'==_0x5d11d5[_0x1d95('0x18')]){const _0x3647d4=_0xe8a0af(_0x26a162,'ELEMENT_HTML_EMBED');return{'type':_0x1d95('0x0'),'content':_0xe8a0af(_0x26a162,'*Change\x20%0\x20content*',_0x3647d4)};}});}}
23
+ const _0x4471=['view','getSelectedElement','TrackChangesEditing','get','value','format','ELEMENT_HTML_EMBED','registerDescriptionCallback','cancel','rawHtml','_descriptionFactory','change','locale','rawHtmlApi','HtmlEmbed','model','registerElementLabel','plugins','htmlEmbed','has','element','selection','*Change\x20%0\x20content*','getCustomProperty','document','getAttribute'];(function(_0x4fab80,_0x447178){const _0x5d4cf7=function(_0x54afed){while(--_0x54afed){_0x4fab80['push'](_0x4fab80['shift']());}};_0x5d4cf7(++_0x447178);}(_0x4471,0x1b2));const _0x5d4c=function(_0x4fab80,_0x447178){_0x4fab80=_0x4fab80-0x0;let _0x5d4cf7=_0x4471[_0x4fab80];return _0x5d4cf7;};import{Plugin as _0xee64d9}from'ckeditor5/src/core';import{getTranslation as _0x3a5044}from'../utils/common-translations';export default class X extends _0xee64d9{['afterInit'](){const _0x309a06=this['editor'];if(!_0x309a06[_0x5d4c('0x19')][_0x5d4c('0x1')](_0x5d4c('0x16')))return;const _0x22896f=_0x309a06[_0x5d4c('0x19')][_0x5d4c('0xb')]('TrackChangesEditing'),_0x4607d0=_0x309a06[_0x5d4c('0x14')],_0x1974ea=_0x309a06['editing'][_0x5d4c('0x8')][_0x5d4c('0x6')][_0x5d4c('0x3')];_0x22896f['_descriptionFactory'][_0x5d4c('0x18')](_0x5d4c('0x11'),_0x3104c5=>_0x3a5044(_0x4607d0,_0x5d4c('0xe'),_0x3104c5)),_0x309a06[_0x5d4c('0x19')][_0x5d4c('0xb')](_0x5d4c('0xa'))['enableCommand']('htmlEmbed',(_0x10b6b6,_0x1cdd7b)=>{const _0x5d22a2=_0x309a06[_0x5d4c('0x17')],_0x4896ea=_0x5d22a2[_0x5d4c('0x6')][_0x5d4c('0x3')];_0x5d22a2[_0x5d4c('0x13')](()=>{const _0x2ae61b=function(_0x558cfe){const _0x3efd1e=_0x558cfe['getSelectedElement']();if(_0x3efd1e&&_0x3efd1e['is'](_0x5d4c('0x2'),'rawHtml'))return _0x558cfe['getSelectedElement']();return null;}(_0x4896ea);if(!_0x2ae61b)return void _0x10b6b6(null);const _0x163fed=_0x2ae61b[_0x5d4c('0x7')](_0x5d4c('0xc'))||'';if(void 0x0===_0x1cdd7b)return;if(_0x1cdd7b===_0x163fed)return;_0x22896f['markBlockFormat'](_0x2ae61b,{'commandName':_0x5d4c('0x0'),'commandParams':[_0x1cdd7b]}),_0x1974ea[_0x5d4c('0x9')]()[_0x5d4c('0x5')](_0x5d4c('0x15'))[_0x5d4c('0x10')]();});}),_0x22896f[_0x5d4c('0x12')][_0x5d4c('0xf')](_0x1565d6=>{const {data:_0x2223a9}=_0x1565d6;if(_0x2223a9&&_0x5d4c('0x0')==_0x2223a9['commandName']){const _0x3d6597=_0x3a5044(_0x4607d0,'ELEMENT_HTML_EMBED');return{'type':_0x5d4c('0xd'),'content':_0x3a5044(_0x4607d0,_0x5d4c('0x4'),_0x3d6597)};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1914=['discardSuggestion','forward','commands','ImageInlineEditing','convertInlineImageToBlock','find','end','isBlockImage','selection','getCaptionFromImageModelElement','newRange','suggestion','nodeAfter','imageStylePostApply','ImageCaptionUtils','from','format','change','_splitMarkerName','uploadImage','isOwn','ImageUploadEditing','removeObject','get','author','detach','alt','width','enableCommand','start','markBlockFormat','*Format:*\x20%0','ImageStyleEditing','previous','subType','imageTypeInline','imageTypeBlock','_suggestionFactory','commandParams','isCollapsed','getNearestSelectionRange','imageInline','ImageCaptionEditing','name','createRange','accept','type','isEqual','_descriptionFactory','createRangeOn','findIndex','markInsertion','document','isBefore','toNext','hasAttribute','forceDefaultExecution','registerCustomCallback','isIntersecting','imageCaption','chain','imageBlock','side','getFirstRange','markDeletion','*Set\x20image\x20text\x20alternative:*\x20%0','isInlineImage','_findSuggestions','addObject','*Remove\x20image\x20text\x20alternative*','ImageBlockEditing','next','registerElementLabel','Users','model','newValue','registerPostFixer','registerDescriptionCallback','getContainedElement','formatBlock','getSuggestions','ImageResize','has','imageStyle','join','resizeImage','imageStylePreApply','title','commandReversedParams','element','getSuggestion','ImageTextAlternativeEditing','ELEMENT_INLINE_IMAGE','commandName','plugins','differ','FORMAT_SIDE_IMAGE','resizedWidth','editor','toggleImageCaption','refresh','length','ELEMENT_IMAGE','deletion','insertImage','getAttribute','ImageUtils','imageTextAlternative','getSuggestionCallback','discard','TrackChangesEditing','locale','filter','backward','getClosestSelectedImageElement','ELEMENT_CAPTION','value','insertion','normalizedStyles','fromPosition','head','convertBlockImageToInline'];(function(_0x1820a4,_0x19140e){const _0x1d6026=function(_0x532160){while(--_0x532160){_0x1820a4['push'](_0x1820a4['shift']());}};_0x1d6026(++_0x19140e);}(_0x1914,0xc9));const _0x1d60=function(_0x1820a4,_0x19140e){_0x1820a4=_0x1820a4-0x0;let _0x1d6026=_0x1914[_0x1820a4];return _0x1d6026;};import{Plugin as _0x116162}from'ckeditor5/src/core';import{LivePosition as _0x24f0ef}from'ckeditor5/src/engine';import{uid as _0x32c638}from'ckeditor5/src/utils';import{getTranslation as _0x586cd8}from'../utils/common-translations';export default class Y extends _0x116162{['afterInit'](){const _0x14a14c=this[_0x1d60('0x13')];if(!_0x14a14c[_0x1d60('0xf')][_0x1d60('0x3')]('ImageEditing'))return;const _0x2ea429=_0x14a14c[_0x1d60('0xf')][_0x1d60('0x42')](_0x1d60('0x1f')),_0x41f4ce=_0x14a14c['plugins'][_0x1d60('0x42')](_0x1d60('0x1b')),_0x3e924d={},_0x1cab5b=_0x14a14c[_0x1d60('0x20')];if(_0x2ea429[_0x1d60('0x47')](_0x1d60('0x19')),_0x2ea429['_descriptionFactory'][_0x1d60('0x73')](_0x1d60('0x68'),_0x2e058c=>_0x586cd8(_0x1cab5b,_0x1d60('0x17'),_0x2e058c)),_0x2ea429[_0x1d60('0x5b')][_0x1d60('0x73')](_0x1d60('0x54'),_0x4feb4f=>_0x586cd8(_0x1cab5b,_0x1d60('0xd'),_0x4feb4f)),_0x2ea429['_descriptionFactory'][_0x1d60('0x73')]('caption',()=>_0x586cd8(_0x1cab5b,_0x1d60('0x24'))),_0x14a14c['plugins'][_0x1d60('0x3')](_0x1d60('0x40'))&&_0x2ea429['enableCommand'](_0x1d60('0x3e')),_0x14a14c['plugins'][_0x1d60('0x3')](_0x1d60('0x71'))&&_0x14a14c['plugins'][_0x1d60('0x3')](_0x1d60('0x2e'))&&(_0x2ea429['enableCommand'](_0x1d60('0x4e'),(_0x235bbd,_0x406a91)=>{const _0x74bbab=_0x41f4ce[_0x1d60('0x23')](_0x14a14c[_0x1d60('0x75')][_0x1d60('0x5f')][_0x1d60('0x33')]);_0x14a14c[_0x1d60('0x75')][_0x1d60('0x3c')](()=>{_0x2ea429[_0x1d60('0x49')](_0x74bbab,{'commandName':_0x1d60('0x4e'),'commandParams':[_0x406a91]},[],_0x1d60('0x2a'));});}),_0x2ea429[_0x1d60('0x47')](_0x1d60('0x4f'),(_0x25b03d,_0x1d6286)=>{_0x14a14c[_0x1d60('0x75')][_0x1d60('0x3c')](_0xef83a4=>{let _0x106270=_0x41f4ce[_0x1d60('0x23')](_0x14a14c[_0x1d60('0x75')][_0x1d60('0x5f')][_0x1d60('0x33')]),_0x1e9c6f=_0xef83a4['createRangeOn'](_0x106270);const _0x5d0627=_0x24f0ef[_0x1d60('0x28')](_0x1e9c6f['start'],'toPrevious'),_0x20b637=_0x24f0ef[_0x1d60('0x28')](_0x1e9c6f[_0x1d60('0x31')],_0x1d60('0x61'));_0x2ea429[_0x1d60('0x63')](()=>_0x25b03d(_0x1d6286)),_0x106270=_0x41f4ce[_0x1d60('0x23')](_0x14a14c['model'][_0x1d60('0x5f')][_0x1d60('0x33')]),_0x1e9c6f=_0xef83a4[_0x1d60('0x5c')](_0x106270);const _0x20ef0e=_0xef83a4['createRange'](_0x5d0627,_0x20b637);_0x5d0627[_0x1d60('0x44')](),_0x20b637[_0x1d60('0x44')](),_0x2ea429['markBlockFormat'](_0x106270,{'commandName':_0x1d60('0x4e'),'commandParams':[_0x1d6286]},[],_0x1d60('0x2f')),_0x20ef0e[_0x1d60('0x48')][_0x1d60('0x60')](_0x1e9c6f['start'])&&_0x2ea429[_0x1d60('0x5e')](_0xef83a4[_0x1d60('0x57')](_0x20ef0e[_0x1d60('0x48')],_0x1e9c6f['start']),_0x1d60('0x2f')),_0x1e9c6f[_0x1d60('0x31')][_0x1d60('0x60')](_0x20ef0e[_0x1d60('0x31')])&&_0x2ea429[_0x1d60('0x5e')](_0xef83a4['createRange'](_0x1e9c6f[_0x1d60('0x31')],_0x20ef0e[_0x1d60('0x31')]),'convertInlineImageToBlock');});}),_0x2ea429[_0x1d60('0x50')][_0x1d60('0x64')](_0x1d60('0x0'),_0x1d60('0x2f'),'join',()=>!0x1),_0x2ea429['_suggestionFactory'][_0x1d60('0x64')](_0x1d60('0x0'),_0x1d60('0x2f'),_0x1d60('0x58'),()=>!0x1),_0x2ea429[_0x1d60('0x50')][_0x1d60('0x64')](_0x1d60('0x0'),'convertInlineImageToBlock',_0x1d60('0x1e'),_0x2ea429[_0x1d60('0x50')][_0x1d60('0x1d')](_0x1d60('0x0'),'','accept')),_0x2ea429[_0x1d60('0x50')][_0x1d60('0x64')](_0x1d60('0x26'),'convertInlineImageToBlock',_0x1d60('0x5'),()=>!0x1),_0x2ea429[_0x1d60('0x50')][_0x1d60('0x64')](_0x1d60('0x26'),_0x1d60('0x2f'),_0x1d60('0x1e'),([_0x437aec])=>{const _0x24b023=_0x2ea429[_0x1d60('0x50')][_0x1d60('0x1d')](_0x1d60('0x26'),'',_0x1d60('0x1e'));let _0x49a0d2=_0x437aec[_0x1d60('0x48')],_0x2f0606=_0x437aec[_0x1d60('0x31')];const _0x5e71a6=_0x14a14c['model']['schema'][_0x1d60('0x53')](_0x49a0d2,_0x1d60('0x22')),_0x484879=_0x14a14c[_0x1d60('0x75')]['schema'][_0x1d60('0x53')](_0x2f0606,_0x1d60('0x2c'));_0x5e71a6[_0x1d60('0x52')]&&(_0x49a0d2=_0x5e71a6[_0x1d60('0x48')]),_0x484879[_0x1d60('0x52')]&&(_0x2f0606=_0x484879[_0x1d60('0x31')]),_0x24b023([_0x14a14c['model'][_0x1d60('0x57')](_0x49a0d2,_0x2f0606)]);}),_0x2ea429['_suggestionFactory'][_0x1d60('0x64')](_0x1d60('0x0'),_0x1d60('0x2f'),_0x1d60('0x67'),_0x377c71),_0x2ea429[_0x1d60('0x50')]['registerCustomCallback'](_0x1d60('0x26'),'convertInlineImageToBlock','chain',_0x377c71)),_0x14a14c[_0x1d60('0xf')][_0x1d60('0x3')](_0x1d60('0x55'))&&(_0x2ea429[_0x1d60('0x47')](_0x1d60('0x14'),(_0x1bf5b5,_0x89c34f)=>{const _0x1638f3=_0x14a14c['plugins'][_0x1d60('0x42')](_0x1d60('0x39'));let _0x339313=_0x41f4ce['getClosestSelectedImageElement'](_0x14a14c[_0x1d60('0x75')][_0x1d60('0x5f')][_0x1d60('0x33')]),_0x8f4a02=_0x1638f3['getCaptionFromImageModelElement'](_0x339313);_0x14a14c[_0x1d60('0x75')]['change'](()=>{if(_0x8f4a02)return void _0x2ea429[_0x1d60('0x6b')](_0x14a14c[_0x1d60('0x75')][_0x1d60('0x5c')](_0x8f4a02));const _0x2773c4=_0x41f4ce[_0x1d60('0x32')](_0x339313);_0x1bf5b5(_0x89c34f),_0x339313=_0x41f4ce[_0x1d60('0x23')](_0x14a14c[_0x1d60('0x75')][_0x1d60('0x5f')][_0x1d60('0x33')]),_0x8f4a02=_0x1638f3[_0x1d60('0x34')](_0x339313),_0x2ea429[_0x1d60('0x5e')](_0x14a14c['model']['createRangeOn'](_0x8f4a02),_0x2773c4?null:_0x1d60('0x66'));});}),_0x2ea429[_0x1d60('0x50')][_0x1d60('0x64')]('insertion','imageCaption','chain',_0x377c71)),_0x14a14c[_0x1d60('0xf')][_0x1d60('0x3')](_0x1d60('0x4b'))){_0x2ea429[_0x1d60('0x47')]('imageStyle',(_0x743d75,_0x5edaac)=>{const _0x101d9e=_0x14a14c[_0x1d60('0xf')][_0x1d60('0x42')](_0x1d60('0x74'))['me'],_0x1a0ede=_0x14a14c[_0x1d60('0x2d')]['get'](_0x1d60('0x4'));let _0x17e265=_0x41f4ce[_0x1d60('0x23')](_0x14a14c[_0x1d60('0x75')][_0x1d60('0x5f')]['selection']),_0x51b5a2=_0x14a14c[_0x1d60('0x75')]['createRangeOn'](_0x17e265),_0x4a98f3=_0x1a0ede[_0x1d60('0x25')];if(_0x4a98f3==_0x5edaac[_0x1d60('0x25')])return;const _0x355967={'commandName':'imageStyle','commandParams':[_0x5edaac],'formatGroupId':_0x32c638()};_0x14a14c[_0x1d60('0x75')][_0x1d60('0x3c')](()=>{if(_0x2ea429[_0x1d60('0x1')]()[_0x1d60('0x21')](_0x277611=>_0x277611['isInContent']&&_0x101d9e==_0x277611[_0x1d60('0x43')]&&(_0x1d60('0x0')==_0x277611[_0x1d60('0x59')]||'formatInline'==_0x277611[_0x1d60('0x59')])&&(_0x1d60('0x7')==_0x277611[_0x1d60('0x4d')]||'imageStylePostApply'==_0x277611[_0x1d60('0x4d')])&&_0x277611[_0x1d60('0x6a')]()[_0x1d60('0x5a')](_0x51b5a2))['forEach'](_0x281998=>_0x2ea429[_0x1d60('0x2b')](_0x281998[_0x1d60('0x29')])),_0x17e265=_0x41f4ce[_0x1d60('0x23')](_0x14a14c['model'][_0x1d60('0x5f')]['selection']),_0x51b5a2=_0x14a14c[_0x1d60('0x75')][_0x1d60('0x5c')](_0x17e265),_0x1a0ede['refresh'](),_0x14a14c[_0x1d60('0x2d')]['get'](_0x1d60('0x4e'))[_0x1d60('0x15')](),_0x14a14c[_0x1d60('0x2d')][_0x1d60('0x42')]('imageTypeBlock')['refresh'](),_0x4a98f3=_0x1a0ede['value'],_0x4a98f3!=_0x5edaac[_0x1d60('0x25')])return _0x41f4ce[_0x1d60('0x6d')](_0x17e265)&&_0x1a0ede['shouldConvertImageType'](_0x5edaac['value'],_0x17e265)?(_0x743d75({..._0x5edaac,'setImageSizes':!0x1}),_0x17e265=_0x41f4ce['getClosestSelectedImageElement'](_0x14a14c[_0x1d60('0x75')][_0x1d60('0x5f')][_0x1d60('0x33')]),void _0x2ea429['markBlockFormat'](_0x17e265,{..._0x355967,'commandReversedParams':[{'value':_0x4a98f3||null,'setImageSizes':!0x1}]},[],_0x1d60('0x7'))):void(_0x41f4ce[_0x1d60('0x32')](_0x17e265)?_0x2ea429[_0x1d60('0x49')](_0x17e265,_0x355967,[],_0x1d60('0x38')):_0x2ea429['markInlineFormat'](_0x51b5a2,_0x355967,_0x1d60('0x38')));});});for(const _0x46c8d4 of _0x14a14c[_0x1d60('0xf')][_0x1d60('0x42')](_0x1d60('0x4b'))[_0x1d60('0x27')])_0x3e924d[_0x46c8d4[_0x1d60('0x56')]]=_0x46c8d4[_0x1d60('0x8')]['toLowerCase']();_0x2ea429[_0x1d60('0x50')][_0x1d60('0x64')](_0x1d60('0x0'),'imageStylePreApply',_0x1d60('0x5'),()=>!0x1),_0x2ea429['_suggestionFactory'][_0x1d60('0x64')](_0x1d60('0x0'),_0x1d60('0x38'),_0x1d60('0x5'),()=>!0x1),_0x2ea429[_0x1d60('0x50')][_0x1d60('0x64')]('formatInline',_0x1d60('0x38'),'join',()=>!0x1),_0x2ea429[_0x1d60('0x50')][_0x1d60('0x64')](_0x1d60('0x0'),_0x1d60('0x7'),_0x1d60('0x58'),([_0x2fe825])=>{_0x41f4ce['setImageNaturalSizeAttributes'](_0x2fe825[_0x1d60('0x79')]());}),_0x2ea429['_suggestionFactory'][_0x1d60('0x64')](_0x1d60('0x0'),'imageStylePreApply',_0x1d60('0x1e'),(_0x1ebee2,_0x2b8188)=>{_0x2ea429[_0x1d60('0x50')]['getSuggestionCallback'](_0x1d60('0x0'),'',_0x1d60('0x58'))(_0x1ebee2,{'commandName':_0x2b8188[_0x1d60('0xe')],'commandParams':_0x2b8188[_0x1d60('0x9')]});}),_0x2ea429[_0x1d60('0x50')][_0x1d60('0x64')](_0x1d60('0x0'),_0x1d60('0x7'),'chain',_0x377c71);}const _0x617bb=[{'type':_0x1d60('0x0'),'subType':_0x1d60('0x7')},{'type':'insertion','subType':_0x1d60('0x66')},{'type':'formatBlock','subType':'convertInlineImageToBlock'},{'type':_0x1d60('0x26'),'subType':_0x1d60('0x2f')}];function _0x2fab9c(_0xffd768,_0x517a51){const _0x5c92fc=_0x617bb[_0x1d60('0x5d')](({type:_0x4495bb,subType:_0x46e70c})=>_0xffd768['type']==_0x4495bb&&_0xffd768[_0x1d60('0x4d')]==_0x46e70c),_0x497f3d=_0x617bb[_0x1d60('0x5d')](({type:_0x4682f1,subType:_0x3aac8e})=>_0x517a51['type']==_0x4682f1&&_0x517a51[_0x1d60('0x4d')]==_0x3aac8e);if(_0x5c92fc<0x0||_0x497f3d<0x0)return!0x1;const _0xe5987b=_0xffd768['getFirstRange'](),_0x44df7b=_0x517a51[_0x1d60('0x6a')]();if((0x0==_0x5c92fc||0x1==_0x5c92fc)&&0x2==_0x497f3d&&_0xe5987b[_0x1d60('0x65')](_0x44df7b))return!0x0;if(0x2==_0x5c92fc&&0x3==_0x497f3d){const _0x5286d6=_0x2ea429[_0x1d60('0x6e')](_0xe5987b,_0x1d60('0x26'))[_0x1d60('0x21')](({suggestion:_0x2ae8e9,meta:_0x3f6347})=>_0x3f6347[_0x1d60('0x3f')]&&_0x1d60('0x2f')==_0x2ae8e9[_0x1d60('0x4d')]);if(_0x5286d6[_0x1d60('0x16')]>0x1&&_0x44df7b['end'][_0x1d60('0x5a')](_0xe5987b[_0x1d60('0x48')]))return!0x0;if(0x1==_0x5286d6['length']&&(_0xe5987b[_0x1d60('0x48')][_0x1d60('0x5a')](_0x44df7b['end'])||_0xe5987b[_0x1d60('0x31')][_0x1d60('0x5a')](_0x44df7b[_0x1d60('0x48')])))return!0x0;}if(0x3==_0x5c92fc&&0x3==_0x497f3d&&_0xe5987b['start'][_0x1d60('0x60')](_0x44df7b[_0x1d60('0x48')])){const _0x57dbea=_0xe5987b[_0x1d60('0x31')][_0x1d60('0x37')],_0x53b92f=_0x44df7b['start']['nodeBefore'];return _0x41f4ce[_0x1d60('0x32')](_0x57dbea)&&_0x57dbea===_0x53b92f;}return!0x1;}function _0x377c71(_0x377098,_0x43ca21){return _0x2fab9c(_0x377098,_0x43ca21)?[_0x377098,_0x43ca21]:_0x2fab9c(_0x43ca21,_0x377098)?[_0x43ca21,_0x377098]:null;}_0x14a14c[_0x1d60('0x75')][_0x1d60('0x5f')][_0x1d60('0x77')](()=>{let _0x4a1844=!0x1;const _0x4306b0=Array[_0x1d60('0x3a')](_0x14a14c['model'][_0x1d60('0x5f')][_0x1d60('0x10')]['getChangedMarkers']());for(const {name:_0x22956a,data:_0x2c6232}of _0x4306b0){const {group:_0x592357,type:_0x40027b,subType:_0x736a79,id:_0x308775}=_0x2ea429[_0x1d60('0x3d')](_0x22956a);if(_0x1d60('0x36')==_0x592357&&_0x2ea429['hasSuggestion'](_0x308775)){if(_0x1d60('0x0')==_0x40027b&&(_0x1d60('0x7')==_0x736a79||_0x1d60('0x38')==_0x736a79)){const _0x4b13f6=_0x2ea429[_0x1d60('0xb')](_0x308775);if(_0x2c6232[_0x1d60('0x35')]){const _0x2922c7=_0x4b13f6[_0x1d60('0x6a')]()[_0x1d60('0x79')]();if(_0x41f4ce[_0x1d60('0x32')](_0x2922c7))continue;_0x2ea429[_0x1d60('0x2b')](_0x4b13f6),_0x4a1844=!0x0;}}if(_0x1d60('0x26')==_0x40027b&&'imageCaption'==_0x736a79&&!_0x2c6232[_0x1d60('0x35')]){const _0x564f80=_0x2ea429[_0x1d60('0xb')](_0x308775);_0x564f80[_0x1d60('0x72')]&&_0x564f80['next']['isInContent']&&(_0x2ea429['discardSuggestion'](_0x564f80[_0x1d60('0x72')]),_0x4a1844=!0x0);}}}return _0x4a1844;}),_0x14a14c['plugins']['has'](_0x1d60('0x2'))&&_0x2ea429['enableCommand'](_0x1d60('0x6'),(_0x4d4f7b,_0x49e0b7)=>{const _0x5f261a=_0x41f4ce[_0x1d60('0x23')](_0x14a14c['model']['document'][_0x1d60('0x33')]);_0x5f261a[_0x1d60('0x1a')](_0x1d60('0x12'))!=_0x49e0b7['width']&&_0x14a14c[_0x1d60('0x75')][_0x1d60('0x3c')](()=>{_0x2ea429[_0x1d60('0x49')](_0x5f261a,{'commandName':_0x1d60('0x6'),'commandParams':[_0x49e0b7]});});}),_0x14a14c[_0x1d60('0xf')][_0x1d60('0x3')](_0x1d60('0xc'))&&_0x2ea429[_0x1d60('0x47')](_0x1d60('0x1c'),(_0x251dc1,_0x341085)=>{const _0x1d5135=_0x41f4ce[_0x1d60('0x23')](_0x14a14c[_0x1d60('0x75')][_0x1d60('0x5f')][_0x1d60('0x33')]);(_0x1d5135[_0x1d60('0x62')](_0x1d60('0x45'))?_0x1d5135['getAttribute'](_0x1d60('0x45')):'')!=_0x341085[_0x1d60('0x76')]&&_0x14a14c[_0x1d60('0x75')][_0x1d60('0x3c')](()=>{_0x2ea429[_0x1d60('0x49')](_0x1d5135,{'commandName':_0x1d60('0x1c'),'commandParams':[_0x341085]});});}),_0x2ea429['_descriptionFactory'][_0x1d60('0x78')](_0x5e3ca4=>{if(!!_0x617bb[_0x1d60('0x30')](({type:_0x20023c,subType:_0x1bc513})=>_0x5e3ca4['type']==_0x20023c&&_0x5e3ca4[_0x1d60('0x4d')]==_0x1bc513))return _0x5e3ca4[_0x1d60('0x4c')]?{}:void 0x0;}),_0x2ea429['_descriptionFactory']['registerDescriptionCallback'](_0x54a124=>{if('insertion'==_0x54a124[_0x1d60('0x59')]||_0x1d60('0x18')==_0x54a124[_0x1d60('0x59')]){const _0x524798=_0x54a124[_0x1d60('0x79')]();if(_0x524798&&_0x524798['is'](_0x1d60('0xa'),'caption'))return{'type':_0x1d60('0x26')==_0x54a124[_0x1d60('0x59')]?_0x1d60('0x6f'):_0x1d60('0x41'),'element':_0x524798,'quantity':0x1};}}),_0x2ea429[_0x1d60('0x5b')][_0x1d60('0x78')](_0x8260a=>_0x1d60('0x0')==_0x8260a['type']&&'convertInlineImageToBlock'==_0x8260a['subType']?{'type':_0x1d60('0x3b'),'content':'Inline\x20image\x20to\x20block\x20image'}:_0x1d60('0x0')==_0x8260a[_0x1d60('0x59')]&&'convertBlockImageToInline'==_0x8260a['subType']?{'type':_0x1d60('0x3b'),'content':'Block\x20image\x20to\x20inline\x20image'}:void 0x0),_0x2ea429['_descriptionFactory']['registerDescriptionCallback'](_0x507a57=>{const {data:_0x1f45b2}=_0x507a57;if(_0x1f45b2){if('imageStyle'==_0x1f45b2['commandName']){const _0x4e8c98=_0x1f45b2['commandParams'][0x0]['value'];return _0x4c4118(_0x1d60('0x69')===_0x4e8c98?_0x586cd8(_0x1cab5b,_0x1d60('0x11')):_0x3e924d[_0x4e8c98]||_0x4e8c98);}if(_0x1d60('0x1c')==_0x1f45b2['commandName']){const _0x4be59c=_0x1f45b2[_0x1d60('0x51')][0x0][_0x1d60('0x76')];return _0x4be59c?{'type':_0x1d60('0x3b'),'content':_0x586cd8(_0x1cab5b,_0x1d60('0x6c'),'\x22'+_0x4be59c+'\x22')}:{'type':'format','content':_0x586cd8(_0x1cab5b,_0x1d60('0x70'))};}if(_0x1d60('0x6')==_0x1f45b2['commandName']){const _0xaa7900=_0x1f45b2[_0x1d60('0x51')][0x0][_0x1d60('0x46')];return _0xaa7900?{'type':_0x1d60('0x3b'),'content':_0x586cd8(_0x1cab5b,'*Set\x20image\x20width:*\x20%0',_0xaa7900)}:{'type':_0x1d60('0x3b'),'content':_0x586cd8(_0x1cab5b,'*Reset\x20image\x20width*')};}}function _0x4c4118(_0x1a3abd){return{'type':_0x1d60('0x3b'),'content':_0x586cd8(_0x1cab5b,_0x1d60('0x4a'),_0x1a3abd)};}});}}
23
+ const _0x36cf=['isInlineImage','toNext','schema','*Reset\x20image\x20width*','accept','ImageCaptionUtils','discard','convertInlineImageToBlock','commandParams','forceDefaultExecution','createRange','formatBlock','ImageUploadEditing','value','newValue','locale','FORMAT_SIDE_IMAGE','normalizedStyles','imageTypeInline','length','hasSuggestion','imageTextAlternative','isCollapsed','isBlockImage','imageStylePostApply','ELEMENT_IMAGE','ImageInlineEditing','_findSuggestions','head','differ','Block\x20image\x20to\x20inline\x20image','element','alt','getNearestSelectionRange','_descriptionFactory','imageStylePreApply','*Remove\x20image\x20text\x20alternative*','end','ImageBlockEditing','isEqual','imageBlock','filter','getAttribute','type','detach','commandName','findIndex','ELEMENT_INLINE_IMAGE','ImageEditing','getFirstRange','nodeAfter','registerElementLabel','imageCaption','insertImage','*Set\x20image\x20text\x20alternative:*\x20%0','caption','resizeImage','subType','markDeletion','*Set\x20image\x20width:*\x20%0','width','has','_suggestionFactory','ImageUtils','markInsertion','insertion','registerDescriptionCallback','markInlineFormat','imageStyle','toPrevious','start','registerCustomCallback','plugins','ELEMENT_CAPTION','setImageNaturalSizeAttributes','chain','get','isOwn','convertBlockImageToInline','suggestion','markBlockFormat','change','title','hasAttribute','imageTypeBlock','getSuggestionCallback','imageInline','deletion','addObject','previous','resizedWidth','next','ImageCaptionEditing','Users','document','getCaptionFromImageModelElement','format','getSuggestions','join','forward','getContainedElement','createRangeOn','*Format:*\x20%0','uploadImage','model','getClosestSelectedImageElement','refresh','_splitMarkerName','fromPosition','ImageResize','forEach','isBefore','newRange','enableCommand','selection','find','formatInline','backward','commands','ImageStyleEditing','removeObject','getChangedMarkers','discardSuggestion','name'];(function(_0x2e3243,_0x36cf3a){const _0x278935=function(_0x5e6f37){while(--_0x5e6f37){_0x2e3243['push'](_0x2e3243['shift']());}};_0x278935(++_0x36cf3a);}(_0x36cf,0x126));const _0x2789=function(_0x2e3243,_0x36cf3a){_0x2e3243=_0x2e3243-0x0;let _0x278935=_0x36cf[_0x2e3243];return _0x278935;};import{Plugin as _0x42a743}from'ckeditor5/src/core';import{LivePosition as _0x12e5fe}from'ckeditor5/src/engine';import{uid as _0x2fc907}from'ckeditor5/src/utils';import{getTranslation as _0x2949de}from'../utils/common-translations';export default class Y extends _0x42a743{['afterInit'](){const _0x24fd32=this['editor'];if(!_0x24fd32[_0x2789('0x1a')]['has'](_0x2789('0x2')))return;const _0x31b18b=_0x24fd32['plugins'][_0x2789('0x1e')]('TrackChangesEditing'),_0x5c6d8b=_0x24fd32['plugins'][_0x2789('0x1e')](_0x2789('0x11')),_0xd5fa98={},_0x5dc1e2=_0x24fd32[_0x2789('0x5d')];if(_0x31b18b['enableCommand'](_0x2789('0x7')),_0x31b18b[_0x2789('0x70')][_0x2789('0x5')](_0x2789('0x76'),_0x99308=>_0x2949de(_0x5dc1e2,_0x2789('0x67'),_0x99308)),_0x31b18b['_descriptionFactory']['registerElementLabel'](_0x2789('0x28'),_0x6a11e7=>_0x2949de(_0x5dc1e2,_0x2789('0x1'),_0x6a11e7)),_0x31b18b[_0x2789('0x70')][_0x2789('0x5')](_0x2789('0x9'),()=>_0x2949de(_0x5dc1e2,_0x2789('0x1b'))),_0x24fd32[_0x2789('0x1a')]['has'](_0x2789('0x5a'))&&_0x31b18b['enableCommand'](_0x2789('0x39')),_0x24fd32[_0x2789('0x1a')][_0x2789('0xf')](_0x2789('0x74'))&&_0x24fd32['plugins'][_0x2789('0xf')](_0x2789('0x68'))&&(_0x31b18b[_0x2789('0x43')]('imageTypeInline',(_0x570b94,_0x415c5f)=>{const _0x4ad8fd=_0x5c6d8b[_0x2789('0x3b')](_0x24fd32[_0x2789('0x3a')][_0x2789('0x30')]['selection']);_0x24fd32[_0x2789('0x3a')][_0x2789('0x23')](()=>{_0x31b18b[_0x2789('0x22')](_0x4ad8fd,{'commandName':'imageTypeInline','commandParams':[_0x415c5f]},[],_0x2789('0x20'));});}),_0x31b18b[_0x2789('0x43')](_0x2789('0x26'),(_0x222caf,_0x22a8c3)=>{_0x24fd32['model'][_0x2789('0x23')](_0x29e307=>{let _0x166166=_0x5c6d8b['getClosestSelectedImageElement'](_0x24fd32[_0x2789('0x3a')]['document'][_0x2789('0x44')]),_0x438a3f=_0x29e307[_0x2789('0x37')](_0x166166);const _0x395475=_0x12e5fe[_0x2789('0x3e')](_0x438a3f['start'],_0x2789('0x17')),_0x19648e=_0x12e5fe[_0x2789('0x3e')](_0x438a3f[_0x2789('0x73')],_0x2789('0x4f'));_0x31b18b[_0x2789('0x57')](()=>_0x222caf(_0x22a8c3)),_0x166166=_0x5c6d8b['getClosestSelectedImageElement'](_0x24fd32[_0x2789('0x3a')][_0x2789('0x30')]['selection']),_0x438a3f=_0x29e307[_0x2789('0x37')](_0x166166);const _0x325898=_0x29e307[_0x2789('0x58')](_0x395475,_0x19648e);_0x395475[_0x2789('0x7a')](),_0x19648e[_0x2789('0x7a')](),_0x31b18b[_0x2789('0x22')](_0x166166,{'commandName':_0x2789('0x60'),'commandParams':[_0x22a8c3]},[],_0x2789('0x55')),_0x325898['start'][_0x2789('0x41')](_0x438a3f[_0x2789('0x18')])&&_0x31b18b[_0x2789('0x12')](_0x29e307['createRange'](_0x325898['start'],_0x438a3f[_0x2789('0x18')]),_0x2789('0x55')),_0x438a3f['end']['isBefore'](_0x325898[_0x2789('0x73')])&&_0x31b18b['markInsertion'](_0x29e307[_0x2789('0x58')](_0x438a3f[_0x2789('0x73')],_0x325898[_0x2789('0x73')]),_0x2789('0x55'));});}),_0x31b18b[_0x2789('0x10')][_0x2789('0x19')](_0x2789('0x59'),'convertInlineImageToBlock',_0x2789('0x34'),()=>!0x1),_0x31b18b['_suggestionFactory']['registerCustomCallback']('formatBlock',_0x2789('0x55'),_0x2789('0x52'),()=>!0x1),_0x31b18b[_0x2789('0x10')]['registerCustomCallback'](_0x2789('0x59'),_0x2789('0x55'),_0x2789('0x54'),_0x31b18b[_0x2789('0x10')]['getSuggestionCallback']('formatBlock','','accept')),_0x31b18b[_0x2789('0x10')][_0x2789('0x19')]('insertion','convertInlineImageToBlock','join',()=>!0x1),_0x31b18b[_0x2789('0x10')][_0x2789('0x19')](_0x2789('0x13'),_0x2789('0x55'),_0x2789('0x54'),([_0x3b2c3f])=>{const _0x39b821=_0x31b18b[_0x2789('0x10')]['getSuggestionCallback'](_0x2789('0x13'),'',_0x2789('0x54'));let _0x2432c7=_0x3b2c3f[_0x2789('0x18')],_0x205aab=_0x3b2c3f[_0x2789('0x73')];const _0x3f33be=_0x24fd32[_0x2789('0x3a')][_0x2789('0x50')]['getNearestSelectionRange'](_0x2432c7,_0x2789('0x47')),_0x37526a=_0x24fd32[_0x2789('0x3a')]['schema'][_0x2789('0x6f')](_0x205aab,_0x2789('0x35'));_0x3f33be[_0x2789('0x64')]&&(_0x2432c7=_0x3f33be[_0x2789('0x18')]),_0x37526a['isCollapsed']&&(_0x205aab=_0x37526a[_0x2789('0x73')]),_0x39b821([_0x24fd32[_0x2789('0x3a')]['createRange'](_0x2432c7,_0x205aab)]);}),_0x31b18b['_suggestionFactory'][_0x2789('0x19')](_0x2789('0x59'),_0x2789('0x55'),_0x2789('0x1d'),_0x16b612),_0x31b18b[_0x2789('0x10')]['registerCustomCallback']('insertion',_0x2789('0x55'),'chain',_0x16b612)),_0x24fd32['plugins'][_0x2789('0xf')](_0x2789('0x2e'))&&(_0x31b18b[_0x2789('0x43')]('toggleImageCaption',(_0x16be22,_0x39d9fd)=>{const _0xebcb04=_0x24fd32[_0x2789('0x1a')][_0x2789('0x1e')](_0x2789('0x53'));let _0x235012=_0x5c6d8b[_0x2789('0x3b')](_0x24fd32[_0x2789('0x3a')][_0x2789('0x30')][_0x2789('0x44')]),_0x599a7e=_0xebcb04[_0x2789('0x31')](_0x235012);_0x24fd32[_0x2789('0x3a')][_0x2789('0x23')](()=>{if(_0x599a7e)return void _0x31b18b[_0x2789('0xc')](_0x24fd32[_0x2789('0x3a')][_0x2789('0x37')](_0x599a7e));const _0x28c40b=_0x5c6d8b[_0x2789('0x65')](_0x235012);_0x16be22(_0x39d9fd),_0x235012=_0x5c6d8b['getClosestSelectedImageElement'](_0x24fd32[_0x2789('0x3a')][_0x2789('0x30')][_0x2789('0x44')]),_0x599a7e=_0xebcb04[_0x2789('0x31')](_0x235012),_0x31b18b[_0x2789('0x12')](_0x24fd32[_0x2789('0x3a')]['createRangeOn'](_0x599a7e),_0x28c40b?null:'imageCaption');});}),_0x31b18b[_0x2789('0x10')][_0x2789('0x19')](_0x2789('0x13'),_0x2789('0x6'),_0x2789('0x1d'),_0x16b612)),_0x24fd32[_0x2789('0x1a')][_0x2789('0xf')](_0x2789('0x49'))){_0x31b18b[_0x2789('0x43')](_0x2789('0x16'),(_0x2043a1,_0x5b561e)=>{const _0xbbbb5b=_0x24fd32[_0x2789('0x1a')][_0x2789('0x1e')](_0x2789('0x2f'))['me'],_0x58fd5e=_0x24fd32[_0x2789('0x48')][_0x2789('0x1e')](_0x2789('0x16'));let _0x59b4ea=_0x5c6d8b[_0x2789('0x3b')](_0x24fd32[_0x2789('0x3a')]['document'][_0x2789('0x44')]),_0x1ec783=_0x24fd32[_0x2789('0x3a')][_0x2789('0x37')](_0x59b4ea),_0x587d7a=_0x58fd5e[_0x2789('0x5b')];if(_0x587d7a==_0x5b561e[_0x2789('0x5b')])return;const _0x5ea951={'commandName':'imageStyle','commandParams':[_0x5b561e],'formatGroupId':_0x2fc907()};_0x24fd32['model'][_0x2789('0x23')](()=>{if(_0x31b18b[_0x2789('0x33')]()[_0x2789('0x77')](_0x2667f8=>_0x2667f8['isInContent']&&_0xbbbb5b==_0x2667f8['author']&&('formatBlock'==_0x2667f8[_0x2789('0x79')]||_0x2789('0x46')==_0x2667f8[_0x2789('0x79')])&&(_0x2789('0x71')==_0x2667f8['subType']||_0x2789('0x66')==_0x2667f8[_0x2789('0xb')])&&_0x2667f8[_0x2789('0x3')]()['isEqual'](_0x1ec783))[_0x2789('0x40')](_0xa79393=>_0x31b18b['discardSuggestion'](_0xa79393[_0x2789('0x6a')])),_0x59b4ea=_0x5c6d8b[_0x2789('0x3b')](_0x24fd32[_0x2789('0x3a')][_0x2789('0x30')]['selection']),_0x1ec783=_0x24fd32['model'][_0x2789('0x37')](_0x59b4ea),_0x58fd5e[_0x2789('0x3c')](),_0x24fd32['commands'][_0x2789('0x1e')](_0x2789('0x60'))[_0x2789('0x3c')](),_0x24fd32[_0x2789('0x48')]['get'](_0x2789('0x26'))[_0x2789('0x3c')](),_0x587d7a=_0x58fd5e[_0x2789('0x5b')],_0x587d7a!=_0x5b561e[_0x2789('0x5b')])return _0x5c6d8b[_0x2789('0x4e')](_0x59b4ea)&&_0x58fd5e['shouldConvertImageType'](_0x5b561e['value'],_0x59b4ea)?(_0x2043a1({..._0x5b561e,'setImageSizes':!0x1}),_0x59b4ea=_0x5c6d8b['getClosestSelectedImageElement'](_0x24fd32[_0x2789('0x3a')][_0x2789('0x30')][_0x2789('0x44')]),void _0x31b18b['markBlockFormat'](_0x59b4ea,{..._0x5ea951,'commandReversedParams':[{'value':_0x587d7a||null,'setImageSizes':!0x1}]},[],_0x2789('0x71'))):void(_0x5c6d8b[_0x2789('0x65')](_0x59b4ea)?_0x31b18b[_0x2789('0x22')](_0x59b4ea,_0x5ea951,[],_0x2789('0x66')):_0x31b18b[_0x2789('0x15')](_0x1ec783,_0x5ea951,_0x2789('0x66')));});});for(const _0x32a97e of _0x24fd32[_0x2789('0x1a')]['get'](_0x2789('0x49'))[_0x2789('0x5f')])_0xd5fa98[_0x32a97e[_0x2789('0x4d')]]=_0x32a97e[_0x2789('0x24')]['toLowerCase']();_0x31b18b[_0x2789('0x10')]['registerCustomCallback'](_0x2789('0x59'),'imageStylePreApply',_0x2789('0x34'),()=>!0x1),_0x31b18b[_0x2789('0x10')][_0x2789('0x19')](_0x2789('0x59'),'imageStylePostApply',_0x2789('0x34'),()=>!0x1),_0x31b18b[_0x2789('0x10')][_0x2789('0x19')]('formatInline',_0x2789('0x66'),_0x2789('0x34'),()=>!0x1),_0x31b18b[_0x2789('0x10')]['registerCustomCallback'](_0x2789('0x59'),_0x2789('0x71'),_0x2789('0x52'),([_0x5450ca])=>{_0x5c6d8b[_0x2789('0x1c')](_0x5450ca['getContainedElement']());}),_0x31b18b[_0x2789('0x10')][_0x2789('0x19')](_0x2789('0x59'),'imageStylePreApply',_0x2789('0x54'),(_0x430f39,_0x2cedb4)=>{_0x31b18b[_0x2789('0x10')][_0x2789('0x27')](_0x2789('0x59'),'',_0x2789('0x52'))(_0x430f39,{'commandName':_0x2cedb4[_0x2789('0x7b')],'commandParams':_0x2cedb4['commandReversedParams']});}),_0x31b18b['_suggestionFactory']['registerCustomCallback'](_0x2789('0x59'),_0x2789('0x71'),_0x2789('0x1d'),_0x16b612);}const _0x22c33e=[{'type':_0x2789('0x59'),'subType':'imageStylePreApply'},{'type':_0x2789('0x13'),'subType':_0x2789('0x6')},{'type':_0x2789('0x59'),'subType':'convertInlineImageToBlock'},{'type':'insertion','subType':'convertInlineImageToBlock'}];function _0x5ad491(_0x45be51,_0x1d8cd3){const _0x215aab=_0x22c33e[_0x2789('0x0')](({type:_0x33f554,subType:_0x519373})=>_0x45be51[_0x2789('0x79')]==_0x33f554&&_0x45be51['subType']==_0x519373),_0x12688b=_0x22c33e[_0x2789('0x0')](({type:_0x27a398,subType:_0x2c0570})=>_0x1d8cd3[_0x2789('0x79')]==_0x27a398&&_0x1d8cd3[_0x2789('0xb')]==_0x2c0570);if(_0x215aab<0x0||_0x12688b<0x0)return!0x1;const _0x5174e9=_0x45be51[_0x2789('0x3')](),_0x28f866=_0x1d8cd3[_0x2789('0x3')]();if((0x0==_0x215aab||0x1==_0x215aab)&&0x2==_0x12688b&&_0x5174e9['isIntersecting'](_0x28f866))return!0x0;if(0x2==_0x215aab&&0x3==_0x12688b){const _0x3cf990=_0x31b18b[_0x2789('0x69')](_0x5174e9,_0x2789('0x13'))[_0x2789('0x77')](({suggestion:_0x18cf4e,meta:_0x5f5241})=>_0x5f5241[_0x2789('0x1f')]&&_0x2789('0x55')==_0x18cf4e['subType']);if(_0x3cf990[_0x2789('0x61')]>0x1&&_0x28f866['end'][_0x2789('0x75')](_0x5174e9[_0x2789('0x18')]))return!0x0;if(0x1==_0x3cf990['length']&&(_0x5174e9[_0x2789('0x18')][_0x2789('0x75')](_0x28f866[_0x2789('0x73')])||_0x5174e9[_0x2789('0x73')][_0x2789('0x75')](_0x28f866['start'])))return!0x0;}if(0x3==_0x215aab&&0x3==_0x12688b&&_0x5174e9['start']['isBefore'](_0x28f866[_0x2789('0x18')])){const _0x1286d1=_0x5174e9['end'][_0x2789('0x4')],_0x59d258=_0x28f866[_0x2789('0x18')]['nodeBefore'];return _0x5c6d8b[_0x2789('0x65')](_0x1286d1)&&_0x1286d1===_0x59d258;}return!0x1;}function _0x16b612(_0x177c0c,_0x11658a){return _0x5ad491(_0x177c0c,_0x11658a)?[_0x177c0c,_0x11658a]:_0x5ad491(_0x11658a,_0x177c0c)?[_0x11658a,_0x177c0c]:null;}_0x24fd32['model'][_0x2789('0x30')]['registerPostFixer'](()=>{let _0xd5afb8=!0x1;const _0x3b4e72=Array['from'](_0x24fd32['model'][_0x2789('0x30')][_0x2789('0x6b')][_0x2789('0x4b')]());for(const {name:_0x154aff,data:_0x346709}of _0x3b4e72){const {group:_0x26668c,type:_0x3ae86b,subType:_0x40cbd4,id:_0x56992e}=_0x31b18b[_0x2789('0x3d')](_0x154aff);if(_0x2789('0x21')==_0x26668c&&_0x31b18b[_0x2789('0x62')](_0x56992e)){if(_0x2789('0x59')==_0x3ae86b&&(_0x2789('0x71')==_0x40cbd4||_0x2789('0x66')==_0x40cbd4)){const _0x4daa0f=_0x31b18b['getSuggestion'](_0x56992e);if(_0x346709[_0x2789('0x42')]){const _0x516992=_0x4daa0f[_0x2789('0x3')]()['getContainedElement']();if(_0x5c6d8b['isBlockImage'](_0x516992))continue;_0x31b18b[_0x2789('0x4c')](_0x4daa0f),_0xd5afb8=!0x0;}}if(_0x2789('0x13')==_0x3ae86b&&_0x2789('0x6')==_0x40cbd4&&!_0x346709[_0x2789('0x42')]){const _0xb75293=_0x31b18b['getSuggestion'](_0x56992e);_0xb75293['next']&&_0xb75293[_0x2789('0x2d')]['isInContent']&&(_0x31b18b[_0x2789('0x4c')](_0xb75293[_0x2789('0x2d')]),_0xd5afb8=!0x0);}}}return _0xd5afb8;}),_0x24fd32[_0x2789('0x1a')]['has'](_0x2789('0x3f'))&&_0x31b18b[_0x2789('0x43')]('resizeImage',(_0x4e6d7d,_0x204784)=>{const _0x3a9ced=_0x5c6d8b[_0x2789('0x3b')](_0x24fd32[_0x2789('0x3a')][_0x2789('0x30')][_0x2789('0x44')]);_0x3a9ced[_0x2789('0x78')](_0x2789('0x2c'))!=_0x204784['width']&&_0x24fd32[_0x2789('0x3a')][_0x2789('0x23')](()=>{_0x31b18b[_0x2789('0x22')](_0x3a9ced,{'commandName':'resizeImage','commandParams':[_0x204784]});});}),_0x24fd32[_0x2789('0x1a')][_0x2789('0xf')]('ImageTextAlternativeEditing')&&_0x31b18b[_0x2789('0x43')](_0x2789('0x63'),(_0x5c8eac,_0x4c6eb0)=>{const _0x4c43b7=_0x5c6d8b[_0x2789('0x3b')](_0x24fd32[_0x2789('0x3a')]['document']['selection']);(_0x4c43b7[_0x2789('0x25')]('alt')?_0x4c43b7[_0x2789('0x78')](_0x2789('0x6e')):'')!=_0x4c6eb0[_0x2789('0x5c')]&&_0x24fd32[_0x2789('0x3a')][_0x2789('0x23')](()=>{_0x31b18b['markBlockFormat'](_0x4c43b7,{'commandName':_0x2789('0x63'),'commandParams':[_0x4c6eb0]});});}),_0x31b18b[_0x2789('0x70')][_0x2789('0x14')](_0x247ea1=>{if(!!_0x22c33e[_0x2789('0x45')](({type:_0x34b8a0,subType:_0x3cd27a})=>_0x247ea1[_0x2789('0x79')]==_0x34b8a0&&_0x247ea1['subType']==_0x3cd27a))return _0x247ea1[_0x2789('0x2b')]?{}:void 0x0;}),_0x31b18b[_0x2789('0x70')][_0x2789('0x14')](_0x44018b=>{if(_0x2789('0x13')==_0x44018b['type']||_0x2789('0x29')==_0x44018b[_0x2789('0x79')]){const _0x4a7512=_0x44018b[_0x2789('0x36')]();if(_0x4a7512&&_0x4a7512['is'](_0x2789('0x6d'),_0x2789('0x9')))return{'type':_0x2789('0x13')==_0x44018b['type']?_0x2789('0x2a'):_0x2789('0x4a'),'element':_0x4a7512,'quantity':0x1};}}),_0x31b18b[_0x2789('0x70')][_0x2789('0x14')](_0x46af5=>_0x2789('0x59')==_0x46af5['type']&&_0x2789('0x55')==_0x46af5[_0x2789('0xb')]?{'type':_0x2789('0x32'),'content':'Inline\x20image\x20to\x20block\x20image'}:_0x2789('0x59')==_0x46af5['type']&&_0x2789('0x20')==_0x46af5['subType']?{'type':_0x2789('0x32'),'content':_0x2789('0x6c')}:void 0x0),_0x31b18b[_0x2789('0x70')]['registerDescriptionCallback'](_0x3527bc=>{const {data:_0x23405b}=_0x3527bc;if(_0x23405b){if(_0x2789('0x16')==_0x23405b[_0x2789('0x7b')]){const _0x2dcd2d=_0x23405b[_0x2789('0x56')][0x0][_0x2789('0x5b')];return _0x39adcb('side'===_0x2dcd2d?_0x2949de(_0x5dc1e2,_0x2789('0x5e')):_0xd5fa98[_0x2dcd2d]||_0x2dcd2d);}if('imageTextAlternative'==_0x23405b['commandName']){const _0x2d97bb=_0x23405b[_0x2789('0x56')][0x0][_0x2789('0x5c')];return _0x2d97bb?{'type':_0x2789('0x32'),'content':_0x2949de(_0x5dc1e2,_0x2789('0x8'),'\x22'+_0x2d97bb+'\x22')}:{'type':_0x2789('0x32'),'content':_0x2949de(_0x5dc1e2,_0x2789('0x72'))};}if(_0x2789('0xa')==_0x23405b[_0x2789('0x7b')]){const _0x5c000a=_0x23405b['commandParams'][0x0][_0x2789('0xe')];return _0x5c000a?{'type':'format','content':_0x2949de(_0x5dc1e2,_0x2789('0xd'),_0x5c000a)}:{'type':_0x2789('0x32'),'content':_0x2949de(_0x5dc1e2,_0x2789('0x51'))};}}function _0x39adcb(_0x3b311e){return{'type':_0x2789('0x32'),'content':_0x2949de(_0x5dc1e2,_0x2789('0x38'),_0x3b311e)};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x16d1=['registerDescriptionCallback','*Format:*\x20replace\x20image\x20URL','data','model','selection','has','formatBlock','TrackChangesEditing','editor','getAttribute','subType','_suggestionFactory','Users','discard','ImageEditing','getContainedElement','plugins','registerCustomCallback','commandName','src','change','get','getSuggestionCallback','handleSuggestionDescription','accept','getSelectedElement','author','afterInit','_descriptionFactory','replaceImageSource','source','enableCommand','getSuggestions','document'];(function(_0xf84370,_0x16d160){const _0x1f72f1=function(_0x145f0f){while(--_0x145f0f){_0xf84370['push'](_0xf84370['shift']());}};_0x1f72f1(++_0x16d160);}(_0x16d1,0xa5));const _0x1f72=function(_0xf84370,_0x16d160){_0xf84370=_0xf84370-0x0;let _0x1f72f1=_0x16d1[_0xf84370];return _0x1f72f1;};import{Plugin as _0x5d42cf}from'ckeditor5/src/core';import{getTranslation as _0x2f3050}from'../utils/common-translations';export default class Z extends _0x5d42cf{[_0x1f72('0x20')](){if(!this[_0x1f72('0xd')][_0x1f72('0x15')][_0x1f72('0xa')](_0x1f72('0x13')))return;const _0x5731c3=this[_0x1f72('0xd')][_0x1f72('0x15')][_0x1f72('0x1a')]('TrackChangesEditing');_0x5731c3[_0x1f72('0x2')]('replaceImageSource',(_0x12918c,_0x52ef5a)=>this['handleReplaceImageCommand'](_0x12918c,_0x52ef5a)),_0x5731c3['_suggestionFactory'][_0x1f72('0x16')](_0x1f72('0xb'),'replaceImageSource',_0x1f72('0x1d'),_0x5731c3[_0x1f72('0x10')]['getSuggestionCallback'](_0x1f72('0xb'),null,_0x1f72('0x12'))),_0x5731c3['_suggestionFactory'][_0x1f72('0x16')](_0x1f72('0xb'),_0x1f72('0x0'),'discard',_0x5731c3[_0x1f72('0x10')][_0x1f72('0x1b')]('formatBlock',null,_0x1f72('0x1d'))),_0x5731c3[_0x1f72('0x21')][_0x1f72('0x5')](_0x3ac8c5=>this[_0x1f72('0x1c')](_0x3ac8c5));}['handleReplaceImageCommand'](_0xc1acb5,_0x58585f){const _0x5b5856=this[_0x1f72('0xd')][_0x1f72('0x15')][_0x1f72('0x1a')](_0x1f72('0xc')),_0x247975=this['editor'][_0x1f72('0x8')][_0x1f72('0x4')][_0x1f72('0x9')][_0x1f72('0x1e')]();this['editor'][_0x1f72('0x8')][_0x1f72('0x19')](()=>{let _0x369955=_0x247975[_0x1f72('0xe')](_0x1f72('0x18'));const _0x31346b=this[_0x1f72('0xd')][_0x1f72('0x15')]['get'](_0x1f72('0x11'))['me'];for(const _0x23ea9a of _0x5b5856[_0x1f72('0x3')]({'skipNotAttached':!0x0})){const _0x26ea94=_0x23ea9a[_0x1f72('0x14')]();if(_0x1f72('0x0')===_0x23ea9a[_0x1f72('0xf')]&&_0x26ea94===_0x247975){_0x23ea9a[_0x1f72('0x1f')]!==_0x31346b&&_0x23ea9a['discard'](),_0x369955=_0x23ea9a[_0x1f72('0x7')]['commandParams'][0x0][_0x1f72('0x1')];break;}}_0xc1acb5(_0x58585f),_0x5b5856['markBlockFormat'](_0x247975,{'commandName':_0x1f72('0x0'),'commandParams':[{'source':_0x369955}]},[],_0x1f72('0x0'));});}['handleSuggestionDescription'](_0x156080){const {data:_0x8425e7}=_0x156080;if(_0x8425e7&&_0x1f72('0x0')===_0x8425e7[_0x1f72('0x17')]){const _0x5e13dd=_0x1f72('0x6');return{'type':'format','content':_0x2f3050(this['editor']['locale'],_0x5e13dd)};}}}
23
+ const _0x3c21=['get','data','replaceImageSource','getAttribute','handleSuggestionDescription','*Format:*\x20replace\x20image\x20URL','ImageEditing','accept','subType','registerDescriptionCallback','registerCustomCallback','plugins','getContainedElement','discard','formatBlock','selection','handleReplaceImageCommand','markBlockFormat','source','TrackChangesEditing','Users','document','editor','enableCommand','commandParams','commandName','getSuggestions','model','src'];(function(_0x4d5570,_0x3c21da){const _0x5b8f4a=function(_0x20f9d5){while(--_0x20f9d5){_0x4d5570['push'](_0x4d5570['shift']());}};_0x5b8f4a(++_0x3c21da);}(_0x3c21,0x1a9));const _0x5b8f=function(_0x4d5570,_0x3c21da){_0x4d5570=_0x4d5570-0x0;let _0x5b8f4a=_0x3c21[_0x4d5570];return _0x5b8f4a;};import{Plugin as _0x9e9262}from'ckeditor5/src/core';import{getTranslation as _0x466ece}from'../utils/common-translations';export default class Z extends _0x9e9262{['afterInit'](){if(!this[_0x5b8f('0x3')]['plugins']['has'](_0x5b8f('0x10')))return;const _0x449cfb=this[_0x5b8f('0x3')][_0x5b8f('0x15')]['get'](_0x5b8f('0x0'));_0x449cfb[_0x5b8f('0x4')](_0x5b8f('0xc'),(_0x179c20,_0x3fbfe7)=>this[_0x5b8f('0x1a')](_0x179c20,_0x3fbfe7)),_0x449cfb['_suggestionFactory']['registerCustomCallback'](_0x5b8f('0x18'),'replaceImageSource',_0x5b8f('0x11'),_0x449cfb['_suggestionFactory']['getSuggestionCallback'](_0x5b8f('0x18'),null,_0x5b8f('0x17'))),_0x449cfb['_suggestionFactory'][_0x5b8f('0x14')](_0x5b8f('0x18'),_0x5b8f('0xc'),_0x5b8f('0x17'),_0x449cfb['_suggestionFactory']['getSuggestionCallback'](_0x5b8f('0x18'),null,_0x5b8f('0x11'))),_0x449cfb['_descriptionFactory'][_0x5b8f('0x13')](_0xeabd2e=>this[_0x5b8f('0xe')](_0xeabd2e));}[_0x5b8f('0x1a')](_0x380984,_0x1b7ff6){const _0x5b04d9=this[_0x5b8f('0x3')][_0x5b8f('0x15')][_0x5b8f('0xa')]('TrackChangesEditing'),_0x2a0bc9=this[_0x5b8f('0x3')]['model'][_0x5b8f('0x2')][_0x5b8f('0x19')]['getSelectedElement']();this[_0x5b8f('0x3')][_0x5b8f('0x8')]['change'](()=>{let _0xa1ff59=_0x2a0bc9[_0x5b8f('0xd')](_0x5b8f('0x9'));const _0x110fde=this[_0x5b8f('0x3')][_0x5b8f('0x15')][_0x5b8f('0xa')](_0x5b8f('0x1'))['me'];for(const _0x5619f2 of _0x5b04d9[_0x5b8f('0x7')]({'skipNotAttached':!0x0})){const _0x49820a=_0x5619f2[_0x5b8f('0x16')]();if(_0x5b8f('0xc')===_0x5619f2[_0x5b8f('0x12')]&&_0x49820a===_0x2a0bc9){_0x5619f2['author']!==_0x110fde&&_0x5619f2[_0x5b8f('0x17')](),_0xa1ff59=_0x5619f2[_0x5b8f('0xb')][_0x5b8f('0x5')][0x0][_0x5b8f('0x1c')];break;}}_0x380984(_0x1b7ff6),_0x5b04d9[_0x5b8f('0x1b')](_0x2a0bc9,{'commandName':_0x5b8f('0xc'),'commandParams':[{'source':_0xa1ff59}]},[],'replaceImageSource');});}[_0x5b8f('0xe')](_0x24bfa4){const {data:_0x3ef35f}=_0x24bfa4;if(_0x3ef35f&&'replaceImageSource'===_0x3ef35f[_0x5b8f('0x6')]){const _0x243444=_0x5b8f('0xf');return{'type':'format','content':_0x466ece(this['editor']['locale'],_0x243444)};}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x53a3=['plugins','_trackChangesValueDuringImport','afterInit','dataInsert','trackChanges','importWord','editor','high','enableCommand','TrackChangesEditing','get','value','execute','track_changes','listenTo','forEach','commands','bind','_trackChangesExecuted','collaboration_features'];(function(_0x2a74db,_0x53a3db){const _0x20d0a2=function(_0xdcaed3){while(--_0xdcaed3){_0x2a74db['push'](_0x2a74db['shift']());}};_0x20d0a2(++_0x53a3db);}(_0x53a3,0x116));const _0x20d0=function(_0x2a74db,_0x53a3db){_0x2a74db=_0x2a74db-0x0;let _0x20d0a2=_0x53a3[_0x2a74db];return _0x20d0a2;};import{Plugin as _0x2298d7}from'ckeditor5/src/core';export default class tt extends _0x2298d7{constructor(_0x2a8007){super(_0x2a8007),this['_trackChangesValueDuringImport']=!0x1,this[_0x20d0('0x0')]=!0x1;}[_0x20d0('0x4')](){const _0x5e3929=this[_0x20d0('0x8')],_0x3fe40c=_0x5e3929[_0x20d0('0x12')][_0x20d0('0xc')](_0x20d0('0x7')),_0x2732fe=_0x5e3929[_0x20d0('0x12')][_0x20d0('0xc')](_0x20d0('0x6'));_0x3fe40c&&(_0x3fe40c['on'](_0x20d0('0xe'),(_0x25a646,[,_0x504727])=>{this[_0x20d0('0x3')]=_0x2732fe['value'],_0x504727[_0x20d0('0x1')][_0x20d0('0xf')]=!this['_trackChangesValueDuringImport'];},{'priority':_0x20d0('0x9')}),this['listenTo'](_0x3fe40c,_0x20d0('0x5'),this['_handleImportedData'][_0x20d0('0x13')](this)),this[_0x20d0('0x10')](_0x3fe40c,'dataInsert',()=>{this[_0x20d0('0x0')]&&(_0x2732fe[_0x20d0('0xe')](),this['_trackChangesExecuted']=!0x1);},{'priority':'lowest'}),_0x5e3929[_0x20d0('0x2')]['get'](_0x20d0('0xb'))[_0x20d0('0xa')](_0x20d0('0x7')));}['_handleImportedData'](_0x8298ab,_0x9ac639){const {suggestions:_0x3ea687}=_0x9ac639,_0x40319b=this['editor'][_0x20d0('0x12')]['get'](_0x20d0('0x6')),_0x3c042d=_0x40319b[_0x20d0('0xd')];this[_0x20d0('0x3')]!==_0x3c042d&&(_0x40319b['execute'](),this[_0x20d0('0x0')]=!0x0),_0x3ea687&&_0x3ea687[_0x20d0('0x11')](({id:_0x190122,type:_0x141e37,author:_0x2a910e,created_at:_0xc04fc7})=>{const _0x3d922c={'id':_0x190122,'type':_0x141e37,'authorId':this[_0x20d0('0x8')]['plugins'][_0x20d0('0xc')]('Users')['me']['id'],'createdAt':new Date(),'data':null,'hasComments':!0x1,'attributes':{'@external':{'authorName':_0x2a910e,'createdAt':_0xc04fc7?new Date(_0xc04fc7):new Date(),'source':_0x20d0('0x7')}}};this[_0x20d0('0x8')][_0x20d0('0x2')]['get'](_0x20d0('0xb'))['_setSuggestionData'](_0x3d922c);});}}
23
+ const _0x5c29=['get','lowest','_handleImportedData','_trackChangesExecuted','value','_trackChangesValueDuringImport','execute','bind','enableCommand','forEach','listenTo','trackChanges','track_changes','TrackChangesEditing','collaboration_features','plugins','importWord','high','_setSuggestionData','commands','dataInsert','editor','afterInit'];(function(_0x58953c,_0x5c298c){const _0x4200ca=function(_0x17984f){while(--_0x17984f){_0x58953c['push'](_0x58953c['shift']());}};_0x4200ca(++_0x5c298c);}(_0x5c29,0x7b));const _0x4200=function(_0x58953c,_0x5c298c){_0x58953c=_0x58953c-0x0;let _0x4200ca=_0x5c29[_0x58953c];return _0x4200ca;};import{Plugin as _0x1bd3de}from'ckeditor5/src/core';export default class tt extends _0x1bd3de{constructor(_0x5aafea){super(_0x5aafea),this[_0x4200('0x14')]=!0x1,this['_trackChangesExecuted']=!0x1;}[_0x4200('0xe')](){const _0xe2c8e7=this[_0x4200('0xd')],_0x1810b3=_0xe2c8e7[_0x4200('0xb')][_0x4200('0xf')](_0x4200('0x8')),_0x3776ec=_0xe2c8e7[_0x4200('0xb')][_0x4200('0xf')](_0x4200('0x3'));_0x1810b3&&(_0x1810b3['on'](_0x4200('0x15'),(_0x146b08,[,_0x156ad1])=>{this['_trackChangesValueDuringImport']=_0x3776ec[_0x4200('0x13')],_0x156ad1[_0x4200('0x6')][_0x4200('0x4')]=!this[_0x4200('0x14')];},{'priority':_0x4200('0x9')}),this[_0x4200('0x2')](_0x1810b3,_0x4200('0xc'),this[_0x4200('0x11')][_0x4200('0x16')](this)),this[_0x4200('0x2')](_0x1810b3,_0x4200('0xc'),()=>{this[_0x4200('0x12')]&&(_0x3776ec[_0x4200('0x15')](),this[_0x4200('0x12')]=!0x1);},{'priority':_0x4200('0x10')}),_0xe2c8e7[_0x4200('0x7')][_0x4200('0xf')](_0x4200('0x5'))[_0x4200('0x0')](_0x4200('0x8')));}[_0x4200('0x11')](_0x229327,_0x40f664){const {suggestions:_0xc30989}=_0x40f664,_0x4da9ce=this['editor'][_0x4200('0xb')]['get'](_0x4200('0x3')),_0x175b08=_0x4da9ce[_0x4200('0x13')];this[_0x4200('0x14')]!==_0x175b08&&(_0x4da9ce[_0x4200('0x15')](),this[_0x4200('0x12')]=!0x0),_0xc30989&&_0xc30989[_0x4200('0x1')](({id:_0x38c965,type:_0x4d33ff,author:_0xfcb33,created_at:_0x215c87})=>{const _0x27f7bd={'id':_0x38c965,'type':_0x4d33ff,'authorId':this['editor']['plugins'][_0x4200('0xf')]('Users')['me']['id'],'createdAt':new Date(),'data':null,'hasComments':!0x1,'attributes':{'@external':{'authorName':_0xfcb33,'createdAt':_0x215c87?new Date(_0x215c87):new Date(),'source':_0x4200('0x8')}}};this[_0x4200('0xd')]['plugins'][_0x4200('0xf')]('TrackChangesEditing')[_0x4200('0xa')](_0x27f7bd);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2156=['get','getSelectedBlocks','indentBlock','from','filter','selection','has','indent','format','change','markBlockFormat','document','_descriptionFactory','enableCommand','checkAttribute','afterInit','schema','*Indent:*\x20%0','commandName','getItems','blockIndent','locale','editor','plugins','getItemLabel','model','outdent','outdentBlock','registerDescriptionCallback'];(function(_0x7a91a2,_0x21568c){const _0x46606c=function(_0x5c1954){while(--_0x5c1954){_0x7a91a2['push'](_0x7a91a2['shift']());}};_0x46606c(++_0x21568c);}(_0x2156,0x84));const _0x4660=function(_0x7a91a2,_0x21568c){_0x7a91a2=_0x7a91a2-0x0;let _0x46606c=_0x2156[_0x7a91a2];return _0x46606c;};import{Plugin as _0x4ba8df}from'ckeditor5/src/core';import{getTranslation as _0x5851a4}from'../utils/common-translations';export default class it extends _0x4ba8df{[_0x4660('0x1c')](){const _0x2a603a=this[_0x4660('0x6')],_0x12b977=_0x2a603a[_0x4660('0x7')][_0x4660('0xd')]('TrackChangesEditing');_0x2a603a[_0x4660('0x7')][_0x4660('0x13')]('IndentEditing')&&(_0x12b977[_0x4660('0x1a')](_0x4660('0x14')),_0x12b977['enableCommand'](_0x4660('0xa')));const _0x430f2b=_0x2a603a[_0x4660('0x5')];if(_0x2a603a[_0x4660('0x7')]['has']('IndentBlock')){for(const _0x26638d of[_0x4660('0xf'),_0x4660('0xb')])_0x12b977[_0x4660('0x1a')](_0x26638d,()=>{const _0x28f3ef=Array[_0x4660('0x10')](this[_0x4660('0x6')]['model'][_0x4660('0x18')][_0x4660('0x12')][_0x4660('0xe')]())[_0x4660('0x11')](_0x211513=>this[_0x4660('0x6')][_0x4660('0x9')][_0x4660('0x0')][_0x4660('0x1b')](_0x211513,_0x4660('0x4')));_0x2a603a[_0x4660('0x9')][_0x4660('0x16')](()=>{for(const _0x32dff8 of _0x28f3ef)_0x12b977[_0x4660('0x17')](_0x32dff8,{'commandName':_0x26638d,'commandParams':[{'value':''}],'formatGroupId':_0x4660('0xf')});});});_0x12b977[_0x4660('0x19')][_0x4660('0xc')](_0x10b6b9=>{const {data:_0x54047f}=_0x10b6b9;if(!_0x54047f)return;if('indentBlock'!=_0x54047f[_0x4660('0x2')]&&_0x4660('0xb')!=_0x54047f[_0x4660('0x2')])return;const _0x371688=_0x10b6b9[_0x4660('0x3')]()[0x0],_0x47cbb0=_0x12b977[_0x4660('0x19')][_0x4660('0x8')](_0x371688);return _0x4660('0xf')==_0x54047f[_0x4660('0x2')]?{'type':_0x4660('0x15'),'content':_0x5851a4(_0x430f2b,_0x4660('0x1'),_0x47cbb0)}:_0x4660('0xb')==_0x54047f[_0x4660('0x2')]?{'type':'format','content':_0x5851a4(_0x430f2b,'*Outdent:*\x20%0',_0x47cbb0)}:void 0x0;});}}}
23
+ const _0x2271=['getItemLabel','TrackChangesEditing','locale','IndentEditing','_descriptionFactory','checkAttribute','outdentBlock','filter','has','afterInit','blockIndent','editor','schema','selection','registerDescriptionCallback','plugins','markBlockFormat','document','commandName','indentBlock','enableCommand','model','from','get','IndentBlock','format','change','getItems','indent','outdent','getSelectedBlocks'];(function(_0x3c3900,_0x227171){const _0x45eb7d=function(_0x35f0f1){while(--_0x35f0f1){_0x3c3900['push'](_0x3c3900['shift']());}};_0x45eb7d(++_0x227171);}(_0x2271,0x161));const _0x45eb=function(_0x3c3900,_0x227171){_0x3c3900=_0x3c3900-0x0;let _0x45eb7d=_0x2271[_0x3c3900];return _0x45eb7d;};import{Plugin as _0x1a6d7b}from'ckeditor5/src/core';import{getTranslation as _0x40f7c1}from'../utils/common-translations';export default class it extends _0x1a6d7b{[_0x45eb('0x1c')](){const _0x2f4659=this['editor'],_0x32d175=_0x2f4659['plugins'][_0x45eb('0xb')](_0x45eb('0x14'));_0x2f4659[_0x45eb('0x3')][_0x45eb('0x1b')](_0x45eb('0x16'))&&(_0x32d175[_0x45eb('0x8')](_0x45eb('0x10')),_0x32d175[_0x45eb('0x8')](_0x45eb('0x11')));const _0x1fe6b1=_0x2f4659[_0x45eb('0x15')];if(_0x2f4659[_0x45eb('0x3')]['has'](_0x45eb('0xc'))){for(const _0x47abe1 of['indentBlock',_0x45eb('0x19')])_0x32d175['enableCommand'](_0x47abe1,()=>{const _0x5f4dff=Array[_0x45eb('0xa')](this[_0x45eb('0x1e')][_0x45eb('0x9')][_0x45eb('0x5')][_0x45eb('0x1')][_0x45eb('0x12')]())[_0x45eb('0x1a')](_0x70bd6e=>this['editor'][_0x45eb('0x9')][_0x45eb('0x0')][_0x45eb('0x18')](_0x70bd6e,_0x45eb('0x1d')));_0x2f4659['model'][_0x45eb('0xe')](()=>{for(const _0x1a51ca of _0x5f4dff)_0x32d175[_0x45eb('0x4')](_0x1a51ca,{'commandName':_0x47abe1,'commandParams':[{'value':''}],'formatGroupId':'indentBlock'});});});_0x32d175[_0x45eb('0x17')][_0x45eb('0x2')](_0x4dcf8e=>{const {data:_0x5be7f4}=_0x4dcf8e;if(!_0x5be7f4)return;if(_0x45eb('0x7')!=_0x5be7f4[_0x45eb('0x6')]&&_0x45eb('0x19')!=_0x5be7f4[_0x45eb('0x6')])return;const _0x2e09ab=_0x4dcf8e[_0x45eb('0xf')]()[0x0],_0x474006=_0x32d175[_0x45eb('0x17')][_0x45eb('0x13')](_0x2e09ab);return _0x45eb('0x7')==_0x5be7f4[_0x45eb('0x6')]?{'type':_0x45eb('0xd'),'content':_0x40f7c1(_0x1fe6b1,'*Indent:*\x20%0',_0x474006)}:_0x45eb('0x19')==_0x5be7f4[_0x45eb('0x6')]?{'type':'format','content':_0x40f7c1(_0x1fe6b1,'*Outdent:*\x20%0',_0x474006)}:void 0x0;});}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x51b3=['input','plugins','requires','enableCommand','init'];(function(_0x7b9c6d,_0x51b37e){var _0x2737cc=function(_0x568598){while(--_0x568598){_0x7b9c6d['push'](_0x7b9c6d['shift']());}};_0x2737cc(++_0x51b37e);}(_0x51b3,0x84));var _0x2737=function(_0x7b9c6d,_0x51b37e){_0x7b9c6d=_0x7b9c6d-0x0;var _0x2737cc=_0x51b3[_0x7b9c6d];return _0x2737cc;};import{Plugin as _0x505920}from'ckeditor5/src/core';import{Input as _0x5e45db}from'ckeditor5/src/typing';export default class et extends _0x505920{static get[_0x2737('0x0')](){return[_0x5e45db];}[_0x2737('0x2')](){this['editor'][_0x2737('0x4')]['get']('TrackChangesEditing')[_0x2737('0x1')](_0x2737('0x3'));}}
23
+ var _0x3982=['enableCommand','input','init','editor','requires','TrackChangesEditing'];(function(_0xd472ce,_0x398203){var _0x41cf55=function(_0x2f03f2){while(--_0x2f03f2){_0xd472ce['push'](_0xd472ce['shift']());}};_0x41cf55(++_0x398203);}(_0x3982,0x9b));var _0x41cf=function(_0xd472ce,_0x398203){_0xd472ce=_0xd472ce-0x0;var _0x41cf55=_0x3982[_0xd472ce];return _0x41cf55;};import{Plugin as _0x471b3d}from'ckeditor5/src/core';import{Input as _0x2e5416}from'ckeditor5/src/typing';export default class et extends _0x471b3d{static get[_0x41cf('0x5')](){return[_0x2e5416];}[_0x41cf('0x3')](){this[_0x41cf('0x4')]['plugins']['get'](_0x41cf('0x0'))[_0x41cf('0x1')](_0x41cf('0x2'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xd31c=['model','isCollapsed','plugins','from','linkHref','getFirstPosition','link','*Remove\x20link*','hasAttribute','editor','has','LinkEditing','selection','format','document','commandName','getRanges','getAttribute','unlink','*Set\x20link:*\x20%0','registerDescriptionCallback','afterInit','get','markInlineFormat','locale','change'];(function(_0x55025f,_0xd31cd2){const _0x1b91b9=function(_0x241082){while(--_0x241082){_0x55025f['push'](_0x55025f['shift']());}};_0x1b91b9(++_0xd31cd2);}(_0xd31c,0x1c9));const _0x1b91=function(_0x55025f,_0xd31cd2){_0x55025f=_0x55025f-0x0;let _0x1b91b9=_0xd31c[_0x55025f];return _0x1b91b9;};import{Plugin as _0x3b4d24}from'ckeditor5/src/core';import{findAttributeRange as _0x44dfff}from'ckeditor5/src/typing';import{getRangesWithAttribute as _0x311eaf}from'./utils';import{getTranslation as _0x2e2d57}from'../utils/common-translations';export default class nt extends _0x3b4d24{[_0x1b91('0x6')](){const _0x2172a1=this[_0x1b91('0x14')];if(!_0x2172a1[_0x1b91('0xd')][_0x1b91('0x15')](_0x1b91('0x16')))return;const _0x3e96ca=_0x2172a1[_0x1b91('0xd')][_0x1b91('0x7')]('TrackChangesEditing');_0x3e96ca['enableCommand']('link',(_0x547494,_0x14c75b)=>{const _0x3caead=_0x2172a1[_0x1b91('0xb')][_0x1b91('0x19')][_0x1b91('0x17')];let _0x5befe1=[];if(_0x3caead[_0x1b91('0xc')]){if(!_0x3caead[_0x1b91('0x13')](_0x1b91('0xf')))return void _0x547494(_0x14c75b);{const _0x3a2f5a=_0x44dfff(_0x3caead[_0x1b91('0x10')](),_0x1b91('0xf'),_0x3caead[_0x1b91('0x2')]('linkHref'),_0x2172a1[_0x1b91('0xb')]);_0x5befe1=[_0x3a2f5a];}}else _0x5befe1=Array[_0x1b91('0xe')](_0x3caead[_0x1b91('0x1')]());_0x2172a1[_0x1b91('0xb')][_0x1b91('0xa')](()=>{for(const _0x3b1cb9 of _0x5befe1)_0x3e96ca[_0x1b91('0x8')](_0x3b1cb9,{'commandName':_0x1b91('0x11'),'commandParams':[_0x14c75b]});});}),_0x3e96ca['enableCommand']('unlink',()=>{const _0x5401f0=this[_0x1b91('0x14')][_0x1b91('0xb')],_0xcef929=_0x5401f0['document'][_0x1b91('0x17')];_0x5401f0[_0x1b91('0xa')](()=>{let _0x488e63=[];if(_0xcef929['isCollapsed'])_0x488e63=[_0x44dfff(_0xcef929[_0x1b91('0x10')](),_0x1b91('0xf'),_0xcef929[_0x1b91('0x2')](_0x1b91('0xf')),_0x2172a1[_0x1b91('0xb')])];else _0x488e63=_0x311eaf('linkHref',_0xcef929['getFirstRange'](),_0x2172a1[_0x1b91('0xb')]);for(const _0x170bb6 of _0x488e63)_0x3e96ca[_0x1b91('0x8')](_0x170bb6,{'commandName':_0x1b91('0x3'),'commandParams':[]});});}),_0x3e96ca['_descriptionFactory'][_0x1b91('0x5')](_0x30e8b9=>{const {data:_0x172490}=_0x30e8b9,_0x1a8ae7=_0x2172a1[_0x1b91('0x9')];if(_0x172490){if(_0x1b91('0x11')==_0x172490['commandName']){const _0x2427d9=_0x172490['commandParams'][0x0];return{'type':_0x1b91('0x18'),'content':_0x2e2d57(_0x1a8ae7,_0x1b91('0x4'),'\x22'+_0x2427d9+'\x22')};}return _0x1b91('0x3')==_0x172490[_0x1b91('0x0')]?{'type':_0x1b91('0x18'),'content':_0x2e2d57(_0x1a8ae7,_0x1b91('0x12'))}:void 0x0;}});}}
23
+ const _0x538f=['isCollapsed','commandParams','TrackChangesEditing','model','commandName','*Set\x20link:*\x20%0','hasAttribute','editor','enableCommand','format','getFirstPosition','has','linkHref','selection','unlink','markInlineFormat','link','_descriptionFactory','registerDescriptionCallback','getRanges','get','document','getAttribute','getFirstRange','change','plugins'];(function(_0x29ff71,_0x538ff7){const _0x212ddd=function(_0x1b19b1){while(--_0x1b19b1){_0x29ff71['push'](_0x29ff71['shift']());}};_0x212ddd(++_0x538ff7);}(_0x538f,0x114));const _0x212d=function(_0x29ff71,_0x538ff7){_0x29ff71=_0x29ff71-0x0;let _0x212ddd=_0x538f[_0x29ff71];return _0x212ddd;};import{Plugin as _0x24be33}from'ckeditor5/src/core';import{findAttributeRange as _0x3c0a4}from'ckeditor5/src/typing';import{getRangesWithAttribute as _0x5cdc8e}from'./utils';import{getTranslation as _0x5989f3}from'../utils/common-translations';export default class nt extends _0x24be33{['afterInit'](){const _0x3c2e36=this[_0x212d('0x11')];if(!_0x3c2e36[_0x212d('0x9')][_0x212d('0x15')]('LinkEditing'))return;const _0x3ef08d=_0x3c2e36[_0x212d('0x9')][_0x212d('0x4')](_0x212d('0xc'));_0x3ef08d['enableCommand'](_0x212d('0x0'),(_0x4f8fae,_0x30f3a4)=>{const _0x56af44=_0x3c2e36['model'][_0x212d('0x5')][_0x212d('0x17')];let _0x2e06e8=[];if(_0x56af44[_0x212d('0xa')]){if(!_0x56af44[_0x212d('0x10')](_0x212d('0x16')))return void _0x4f8fae(_0x30f3a4);{const _0x5e531d=_0x3c0a4(_0x56af44[_0x212d('0x14')](),_0x212d('0x16'),_0x56af44[_0x212d('0x6')](_0x212d('0x16')),_0x3c2e36[_0x212d('0xd')]);_0x2e06e8=[_0x5e531d];}}else _0x2e06e8=Array['from'](_0x56af44[_0x212d('0x3')]());_0x3c2e36[_0x212d('0xd')][_0x212d('0x8')](()=>{for(const _0x9c93ca of _0x2e06e8)_0x3ef08d[_0x212d('0x19')](_0x9c93ca,{'commandName':_0x212d('0x0'),'commandParams':[_0x30f3a4]});});}),_0x3ef08d[_0x212d('0x12')](_0x212d('0x18'),()=>{const _0x4aca1f=this[_0x212d('0x11')][_0x212d('0xd')],_0xe3824d=_0x4aca1f['document'][_0x212d('0x17')];_0x4aca1f['change'](()=>{let _0x36a415=[];if(_0xe3824d[_0x212d('0xa')])_0x36a415=[_0x3c0a4(_0xe3824d[_0x212d('0x14')](),_0x212d('0x16'),_0xe3824d['getAttribute'](_0x212d('0x16')),_0x3c2e36[_0x212d('0xd')])];else _0x36a415=_0x5cdc8e(_0x212d('0x16'),_0xe3824d[_0x212d('0x7')](),_0x3c2e36[_0x212d('0xd')]);for(const _0x50aa69 of _0x36a415)_0x3ef08d[_0x212d('0x19')](_0x50aa69,{'commandName':_0x212d('0x18'),'commandParams':[]});});}),_0x3ef08d[_0x212d('0x1')][_0x212d('0x2')](_0x41d52d=>{const {data:_0x5c9977}=_0x41d52d,_0x5c10b7=_0x3c2e36['locale'];if(_0x5c9977){if(_0x212d('0x0')==_0x5c9977[_0x212d('0xe')]){const _0x1a44e7=_0x5c9977[_0x212d('0xb')][0x0];return{'type':_0x212d('0x13'),'content':_0x5989f3(_0x5c10b7,_0x212d('0xf'),'\x22'+_0x1a44e7+'\x22')};}return _0x212d('0x18')==_0x5c9977[_0x212d('0xe')]?{'type':_0x212d('0x13'),'content':_0x5989f3(_0x5c10b7,'*Remove\x20link*')}:void 0x0;}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x31c7=['slice','format','ListEditing','*Indent:*\x20%0','replace','forceValue','document','plugins','blockName','element','listItem','get','editor','createRange','checkTodoList','length','change','nextSibling','TrackChangesEditing','filter','has','value','registerElementLabel','ELEMENT_BULLETED_LIST','previousSibling','from','commands','ELEMENT_TODO_LIST','findIndex','paragraph','todoList','push','bulletedList','model','outdentList','add','markBlockFormat','*Outdent:*\x20%0','parent','enableCommand','checkChild','listIndent','*Change\x20to:*\x20%0','name','*Uncheck\x20item*','TodoListEditing','commandName','getAttribute','indentList','createPositionAt','getSelectedBlocks','numberedList','execute','*Check\x20item*','ELEMENT_LIST_ITEM','_descriptionFactory'];(function(_0x3b3b3d,_0x31c733){const _0xfef7cc=function(_0xe7c1d5){while(--_0xe7c1d5){_0x3b3b3d['push'](_0x3b3b3d['shift']());}};_0xfef7cc(++_0x31c733);}(_0x31c7,0x15d));const _0xfef7=function(_0x3b3b3d,_0x31c733){_0x3b3b3d=_0x3b3b3d-0x0;let _0xfef7cc=_0x31c7[_0x3b3b3d];return _0xfef7cc;};import{Plugin as _0x2461b8}from'ckeditor5/src/core';import{getTranslation as _0x316d72}from'../utils/common-translations';export default class st extends _0x2461b8{['afterInit'](){const _0x50c236=this[_0xfef7('0x37')],_0x301a44=_0x50c236['locale'];if(!_0x50c236[_0xfef7('0x32')]['has'](_0xfef7('0x2d')))return;const _0x1772f0=_0x50c236[_0xfef7('0x32')][_0xfef7('0x36')](_0xfef7('0x5')),_0x2daff3=_0x50c236[_0xfef7('0x32')][_0xfef7('0x7')](_0xfef7('0x20'));function _0x14831b(_0x1fdf17){return()=>{const _0x1fbe7f=_0x50c236[_0xfef7('0x14')]['document']['selection'],_0x13a9c8=_0x50c236[_0xfef7('0xd')][_0xfef7('0x36')](_0x1fdf17);if(_0x13a9c8[_0xfef7('0x8')])return void _0x50c236[_0xfef7('0x27')](_0xfef7('0x10'),{});const _0x134eff=_0x1fdf17[_0xfef7('0x2b')](0x0,-0x4),_0x5483b6=function(_0x35b5c8,_0x55bf65,_0x374d4e){let _0x4d8b54=Array[_0xfef7('0xc')](_0x35b5c8)[_0xfef7('0x6')](_0x14d3b3=>function(_0x5bc4bf,_0xcd6554){return _0xcd6554[_0xfef7('0x1b')](_0x5bc4bf[_0xfef7('0x19')],'listItem')&&!_0xcd6554['isObject'](_0x5bc4bf);}(_0x14d3b3,_0x374d4e));_0x4d8b54=_0x4d8b54[_0xfef7('0x6')](_0x114e81=>!_0x114e81['is'](_0xfef7('0x34'),_0xfef7('0x35'))||_0x114e81['getAttribute']('listType')!=_0x55bf65);const _0x443ead=new Set();for(const _0x13289a of _0x4d8b54)_0x13289a['is'](_0xfef7('0x34'),_0xfef7('0x35'))?_0x443ead[_0xfef7('0x16')](ne(_0x13289a)):_0x443ead[_0xfef7('0x16')](_0x13289a);return Array[_0xfef7('0xc')](_0x443ead);}(_0x1fbe7f[_0xfef7('0x25')](),_0x134eff,_0x50c236[_0xfef7('0x14')]['schema']);_0x50c236[_0xfef7('0x14')][_0xfef7('0x3')](()=>{for(const _0x439906 of _0x5483b6)_0x1772f0[_0xfef7('0x17')](_0x439906,{'commandName':_0x1fdf17,'commandParams':[{'forceValue':!_0x13a9c8[_0xfef7('0x8')]}],'formatGroupId':_0xfef7('0x33')},oe(_0x439906));});};}function _0x4df1f3(_0x2041ac){return()=>{const _0x49c93b=function(_0xd4dc90){let _0x70c25e=Array[_0xfef7('0xc')](_0xd4dc90);const _0x3ed8c2=_0x70c25e[_0xfef7('0xf')](_0x726b01=>_0xfef7('0x35')!=_0x726b01[_0xfef7('0x1e')]);return _0x3ed8c2>-0x1&&(_0x70c25e=_0x70c25e[_0xfef7('0x2b')](0x0,_0x3ed8c2)),_0x70c25e;}(_0x50c236[_0xfef7('0x14')][_0xfef7('0x31')]['selection']['getSelectedBlocks']()),_0x479d98=_0x50c236[_0xfef7('0x14')][_0xfef7('0x0')](_0x50c236[_0xfef7('0x14')][_0xfef7('0x24')](_0x49c93b[0x0],'before'),_0x50c236['model'][_0xfef7('0x24')](_0x49c93b[_0x49c93b[_0xfef7('0x2')]-0x1],'end'));_0x50c236[_0xfef7('0x14')][_0xfef7('0x3')](()=>{_0x1772f0[_0xfef7('0x17')](_0x479d98,{'commandName':_0x2041ac,'commandParams':[],'formatGroupId':'listIndent'},function(_0x13664c){const _0x1e4416=new Set();for(const _0xe0e34 of _0x13664c){let _0x194186=_0xe0e34[_0xfef7('0x4')];for(;_0x194186&&_0x194186['getAttribute'](_0xfef7('0x1c'))>_0xe0e34[_0xfef7('0x22')]('listIndent');)_0x1e4416[_0xfef7('0x16')](_0x194186),_0x194186=_0x194186['nextSibling'];}return Array['from'](_0x1e4416);}(_0x49c93b));});};}_0x1772f0[_0xfef7('0x1a')]('numberedList',_0x14831b(_0xfef7('0x26'))),_0x1772f0['enableCommand'](_0xfef7('0x13'),_0x14831b('bulletedList')),_0x2daff3&&_0x1772f0[_0xfef7('0x1a')](_0xfef7('0x11'),_0x14831b(_0xfef7('0x11'))),_0x1772f0['enableCommand'](_0xfef7('0x23'),_0x4df1f3(_0xfef7('0x23'))),_0x1772f0[_0xfef7('0x1a')](_0xfef7('0x15'),_0x4df1f3(_0xfef7('0x15'))),_0x2daff3&&_0x1772f0[_0xfef7('0x1a')](_0xfef7('0x1'),()=>{const _0x281526=_0x50c236[_0xfef7('0xd')][_0xfef7('0x36')]('checkTodoList'),_0x447f7d=Array[_0xfef7('0xc')](_0x281526['_selectedElements']);_0x447f7d[_0xfef7('0x6')](_0x4189b4=>_0x4189b4[_0xfef7('0x22')]('todoListChecked')!=_0x281526['value']),_0x50c236['model'][_0xfef7('0x3')](()=>{for(const _0x3a5342 of _0x447f7d)_0x1772f0[_0xfef7('0x17')](_0x3a5342,{'commandName':'checkTodoList','commandParams':[{'forceValue':!_0x281526[_0xfef7('0x8')]}]});});}),_0x1772f0[_0xfef7('0x2a')][_0xfef7('0x9')](_0xfef7('0x35'),_0x438a50=>_0x316d72(_0x301a44,_0xfef7('0x29'),_0x438a50)),_0x1772f0[_0xfef7('0x2a')]['registerDescriptionCallback'](_0x513491=>{const {data:_0x116ad7}=_0x513491;if(_0x116ad7){if(_0xfef7('0x26')==_0x116ad7['commandName']||_0xfef7('0x13')==_0x116ad7[_0xfef7('0x21')]||_0xfef7('0x11')==_0x116ad7[_0xfef7('0x21')])switch(_0x116ad7[_0xfef7('0x21')][_0xfef7('0x2f')]('List','')){case'bulleted':return _0xc4c67c(_0x316d72(_0x301a44,_0xfef7('0xa')));case'numbered':return _0xc4c67c(_0x316d72(_0x301a44,'ELEMENT_NUMBERED_LIST'));case'todo':return _0xc4c67c(_0x316d72(_0x301a44,_0xfef7('0xe')));}if(_0xfef7('0x23')==_0x116ad7[_0xfef7('0x21')])return{'type':_0xfef7('0x2c'),'content':_0x316d72(_0x301a44,_0xfef7('0x2e'),_0x316d72(_0x301a44,_0xfef7('0x29')))};if(_0xfef7('0x15')==_0x116ad7['commandName'])return{'type':'format','content':_0x316d72(_0x301a44,_0xfef7('0x18'),_0x316d72(_0x301a44,_0xfef7('0x29')))};if(_0xfef7('0x1')==_0x116ad7[_0xfef7('0x21')])return _0x116ad7['commandParams'][0x0][_0xfef7('0x30')]?{'type':_0xfef7('0x2c'),'content':_0x316d72(_0x301a44,_0xfef7('0x28'))}:{'type':'format','content':_0x316d72(_0x301a44,_0xfef7('0x1f'))};}function _0xc4c67c(_0x33539e){return{'type':_0xfef7('0x2c'),'content':_0x316d72(_0x301a44,_0xfef7('0x1d'),_0x33539e)};}});}}function ne(_0x3ea6cd){const _0x5c1ed7=_0x3ea6cd[_0xfef7('0x22')](_0xfef7('0x1c'));if(0x0==_0x5c1ed7)return _0x3ea6cd;let _0x2b7f4b=_0x3ea6cd;for(;_0x3ea6cd[_0xfef7('0xb')]&&_0x3ea6cd[_0xfef7('0xb')]['is'](_0xfef7('0x34'),_0xfef7('0x35'));){const _0x45b8c3=_0x3ea6cd[_0xfef7('0xb')][_0xfef7('0x22')](_0xfef7('0x1c'));if(_0x45b8c3==_0x5c1ed7)_0x2b7f4b=_0x3ea6cd[_0xfef7('0xb')];else{if(_0x45b8c3<_0x5c1ed7)break;}_0x3ea6cd=_0x3ea6cd[_0xfef7('0xb')];}return _0x2b7f4b;}function oe(_0x43b094){const _0x53db4e=[];if(_0x43b094['is']('element',_0xfef7('0x35'))&&_0x43b094['getAttribute'](_0xfef7('0x1c'))>0x0){let _0x2ab818=_0x43b094[_0xfef7('0x4')];for(;_0x2ab818&&_0xfef7('0x35')==_0x2ab818[_0xfef7('0x1e')]&&_0x2ab818[_0xfef7('0x22')](_0xfef7('0x1c'))==_0x43b094[_0xfef7('0x22')]('listIndent');)_0x53db4e[_0xfef7('0x12')](_0x2ab818),_0x2ab818=_0x2ab818[_0xfef7('0x4')];}return _0x53db4e;}
23
+ const _0xe7ab=['TrackChangesEditing','schema','has','nextSibling','createPositionAt','blockName','*Change\x20to:*\x20%0','numbered','outdentList','getAttribute','name','forceValue','document','*Outdent:*\x20%0','listItem','*Uncheck\x20item*','_descriptionFactory','change','indentList','bulleted','registerDescriptionCallback','listIndent','*Check\x20item*','filter','editor','from','List','push','get','createRange','afterInit','todoList','numberedList','locale','previousSibling','add','plugins','execute','element','before','parent','enableCommand','checkTodoList','commands','model','selection','bulletedList','ELEMENT_LIST_ITEM','markBlockFormat','slice','todo','isObject','format','registerElementLabel','listType','commandName','ELEMENT_BULLETED_LIST','value','commandParams'];(function(_0x1f7351,_0xe7ab8e){const _0x5cdc3d=function(_0x5450fb){while(--_0x5450fb){_0x1f7351['push'](_0x1f7351['shift']());}};_0x5cdc3d(++_0xe7ab8e);}(_0xe7ab,0xe8));const _0x5cdc=function(_0x1f7351,_0xe7ab8e){_0x1f7351=_0x1f7351-0x0;let _0x5cdc3d=_0xe7ab[_0x1f7351];return _0x5cdc3d;};import{Plugin as _0x3b3d00}from'ckeditor5/src/core';import{getTranslation as _0x524c5a}from'../utils/common-translations';export default class st extends _0x3b3d00{[_0x5cdc('0x22')](){const _0x40007f=this[_0x5cdc('0x1c')],_0x47e30f=_0x40007f[_0x5cdc('0x25')];if(!_0x40007f[_0x5cdc('0x28')][_0x5cdc('0x6')]('ListEditing'))return;const _0x170978=_0x40007f['plugins'][_0x5cdc('0x20')](_0x5cdc('0x4')),_0x1ec52b=_0x40007f[_0x5cdc('0x28')][_0x5cdc('0x6')]('TodoListEditing');function _0x95e52d(_0x178a60){return()=>{const _0x7fb9b9=_0x40007f['model']['document'][_0x5cdc('0x31')],_0x50893c=_0x40007f['commands']['get'](_0x178a60);if(_0x50893c['value'])return void _0x40007f[_0x5cdc('0x29')]('paragraph',{});const _0x5afefb=_0x178a60[_0x5cdc('0x35')](0x0,-0x4),_0x168f9f=function(_0x217f28,_0x4c07e9,_0x1b6687){let _0x292c95=Array[_0x5cdc('0x1d')](_0x217f28)[_0x5cdc('0x1b')](_0x318de0=>function(_0x3c33f3,_0x3949ec){return _0x3949ec['checkChild'](_0x3c33f3[_0x5cdc('0x2c')],_0x5cdc('0x12'))&&!_0x3949ec[_0x5cdc('0x37')](_0x3c33f3);}(_0x318de0,_0x1b6687));_0x292c95=_0x292c95[_0x5cdc('0x1b')](_0xc5d17b=>!_0xc5d17b['is'](_0x5cdc('0x2a'),_0x5cdc('0x12'))||_0xc5d17b[_0x5cdc('0xd')](_0x5cdc('0x3a'))!=_0x4c07e9);const _0x25d434=new Set();for(const _0x539c3a of _0x292c95)_0x539c3a['is'](_0x5cdc('0x2a'),'listItem')?_0x25d434[_0x5cdc('0x27')](ne(_0x539c3a)):_0x25d434['add'](_0x539c3a);return Array[_0x5cdc('0x1d')](_0x25d434);}(_0x7fb9b9['getSelectedBlocks'](),_0x5afefb,_0x40007f[_0x5cdc('0x30')][_0x5cdc('0x5')]);_0x40007f[_0x5cdc('0x30')][_0x5cdc('0x15')](()=>{for(const _0x29aafb of _0x168f9f)_0x170978['markBlockFormat'](_0x29aafb,{'commandName':_0x178a60,'commandParams':[{'forceValue':!_0x50893c[_0x5cdc('0x2')]}],'formatGroupId':_0x5cdc('0x9')},oe(_0x29aafb));});};}function _0xb6731a(_0x4e9465){return()=>{const _0xb82e0=function(_0x4f97f7){let _0x5c6cf6=Array[_0x5cdc('0x1d')](_0x4f97f7);const _0x1adfc8=_0x5c6cf6['findIndex'](_0x118fd2=>_0x5cdc('0x12')!=_0x118fd2['name']);return _0x1adfc8>-0x1&&(_0x5c6cf6=_0x5c6cf6[_0x5cdc('0x35')](0x0,_0x1adfc8)),_0x5c6cf6;}(_0x40007f[_0x5cdc('0x30')][_0x5cdc('0x10')][_0x5cdc('0x31')]['getSelectedBlocks']()),_0x50cfec=_0x40007f[_0x5cdc('0x30')][_0x5cdc('0x21')](_0x40007f[_0x5cdc('0x30')][_0x5cdc('0x8')](_0xb82e0[0x0],_0x5cdc('0x2b')),_0x40007f[_0x5cdc('0x30')][_0x5cdc('0x8')](_0xb82e0[_0xb82e0['length']-0x1],'end'));_0x40007f[_0x5cdc('0x30')][_0x5cdc('0x15')](()=>{_0x170978[_0x5cdc('0x34')](_0x50cfec,{'commandName':_0x4e9465,'commandParams':[],'formatGroupId':_0x5cdc('0x19')},function(_0x5a5bb9){const _0x1ac2cd=new Set();for(const _0x4b75c4 of _0x5a5bb9){let _0x5a3178=_0x4b75c4[_0x5cdc('0x7')];for(;_0x5a3178&&_0x5a3178[_0x5cdc('0xd')](_0x5cdc('0x19'))>_0x4b75c4[_0x5cdc('0xd')](_0x5cdc('0x19'));)_0x1ac2cd[_0x5cdc('0x27')](_0x5a3178),_0x5a3178=_0x5a3178[_0x5cdc('0x7')];}return Array['from'](_0x1ac2cd);}(_0xb82e0));});};}_0x170978['enableCommand'](_0x5cdc('0x24'),_0x95e52d(_0x5cdc('0x24'))),_0x170978[_0x5cdc('0x2d')](_0x5cdc('0x32'),_0x95e52d(_0x5cdc('0x32'))),_0x1ec52b&&_0x170978[_0x5cdc('0x2d')](_0x5cdc('0x23'),_0x95e52d(_0x5cdc('0x23'))),_0x170978[_0x5cdc('0x2d')]('indentList',_0xb6731a(_0x5cdc('0x16'))),_0x170978['enableCommand'](_0x5cdc('0xc'),_0xb6731a(_0x5cdc('0xc'))),_0x1ec52b&&_0x170978[_0x5cdc('0x2d')](_0x5cdc('0x2e'),()=>{const _0x1317fb=_0x40007f[_0x5cdc('0x2f')]['get']('checkTodoList'),_0x27f33a=Array[_0x5cdc('0x1d')](_0x1317fb['_selectedElements']);_0x27f33a['filter'](_0x553ec5=>_0x553ec5[_0x5cdc('0xd')]('todoListChecked')!=_0x1317fb['value']),_0x40007f[_0x5cdc('0x30')]['change'](()=>{for(const _0x127838 of _0x27f33a)_0x170978['markBlockFormat'](_0x127838,{'commandName':_0x5cdc('0x2e'),'commandParams':[{'forceValue':!_0x1317fb[_0x5cdc('0x2')]}]});});}),_0x170978[_0x5cdc('0x14')][_0x5cdc('0x39')]('listItem',_0xad80c7=>_0x524c5a(_0x47e30f,_0x5cdc('0x33'),_0xad80c7)),_0x170978[_0x5cdc('0x14')][_0x5cdc('0x18')](_0x1ca438=>{const {data:_0x3705d1}=_0x1ca438;if(_0x3705d1){if(_0x5cdc('0x24')==_0x3705d1[_0x5cdc('0x0')]||_0x5cdc('0x32')==_0x3705d1['commandName']||_0x5cdc('0x23')==_0x3705d1['commandName'])switch(_0x3705d1[_0x5cdc('0x0')]['replace'](_0x5cdc('0x1e'),'')){case _0x5cdc('0x17'):return _0x3a17ef(_0x524c5a(_0x47e30f,_0x5cdc('0x1')));case _0x5cdc('0xb'):return _0x3a17ef(_0x524c5a(_0x47e30f,'ELEMENT_NUMBERED_LIST'));case _0x5cdc('0x36'):return _0x3a17ef(_0x524c5a(_0x47e30f,'ELEMENT_TODO_LIST'));}if(_0x5cdc('0x16')==_0x3705d1[_0x5cdc('0x0')])return{'type':_0x5cdc('0x38'),'content':_0x524c5a(_0x47e30f,'*Indent:*\x20%0',_0x524c5a(_0x47e30f,_0x5cdc('0x33')))};if(_0x5cdc('0xc')==_0x3705d1[_0x5cdc('0x0')])return{'type':_0x5cdc('0x38'),'content':_0x524c5a(_0x47e30f,_0x5cdc('0x11'),_0x524c5a(_0x47e30f,_0x5cdc('0x33')))};if(_0x5cdc('0x2e')==_0x3705d1[_0x5cdc('0x0')])return _0x3705d1[_0x5cdc('0x3')][0x0][_0x5cdc('0xf')]?{'type':_0x5cdc('0x38'),'content':_0x524c5a(_0x47e30f,_0x5cdc('0x1a'))}:{'type':'format','content':_0x524c5a(_0x47e30f,_0x5cdc('0x13'))};}function _0x3a17ef(_0x36f887){return{'type':'format','content':_0x524c5a(_0x47e30f,_0x5cdc('0xa'),_0x36f887)};}});}}function ne(_0xacefc9){const _0x1f80d3=_0xacefc9[_0x5cdc('0xd')](_0x5cdc('0x19'));if(0x0==_0x1f80d3)return _0xacefc9;let _0x2bf2d1=_0xacefc9;for(;_0xacefc9[_0x5cdc('0x26')]&&_0xacefc9[_0x5cdc('0x26')]['is'](_0x5cdc('0x2a'),_0x5cdc('0x12'));){const _0x3fb705=_0xacefc9['previousSibling'][_0x5cdc('0xd')](_0x5cdc('0x19'));if(_0x3fb705==_0x1f80d3)_0x2bf2d1=_0xacefc9[_0x5cdc('0x26')];else{if(_0x3fb705<_0x1f80d3)break;}_0xacefc9=_0xacefc9['previousSibling'];}return _0x2bf2d1;}function oe(_0x47d26e){const _0x30856a=[];if(_0x47d26e['is'](_0x5cdc('0x2a'),'listItem')&&_0x47d26e[_0x5cdc('0xd')](_0x5cdc('0x19'))>0x0){let _0x8d5ef4=_0x47d26e[_0x5cdc('0x7')];for(;_0x8d5ef4&&_0x5cdc('0x12')==_0x8d5ef4[_0x5cdc('0xe')]&&_0x8d5ef4[_0x5cdc('0xd')](_0x5cdc('0x19'))==_0x47d26e[_0x5cdc('0xd')](_0x5cdc('0x19'));)_0x30856a[_0x5cdc('0x1f')](_0x8d5ef4),_0x8d5ef4=_0x8d5ef4[_0x5cdc('0x7')];}return _0x30856a;}