@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20230901.0 → 0.0.0-nightly-20230902.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (64) hide show
  1. package/build/track-changes.js +2 -2
  2. package/package.json +3 -3
  3. package/src/commands/acceptsuggestioncommand.js +1 -1
  4. package/src/commands/discardsuggestioncommand.js +1 -1
  5. package/src/commands/executeonallsuggestionscommand.js +1 -1
  6. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  7. package/src/commands/trackchangescommand.js +1 -1
  8. package/src/integrations/alignment.js +1 -1
  9. package/src/integrations/basicstyles.js +1 -1
  10. package/src/integrations/blockquote.js +1 -1
  11. package/src/integrations/ckbox.js +1 -1
  12. package/src/integrations/codeblock.js +1 -1
  13. package/src/integrations/comments.js +1 -1
  14. package/src/integrations/deletecommand.js +1 -1
  15. package/src/integrations/documentlist.js +1 -1
  16. package/src/integrations/documentlistproperties.js +1 -1
  17. package/src/integrations/entercommand.js +1 -1
  18. package/src/integrations/findandreplace.js +1 -1
  19. package/src/integrations/font.js +1 -1
  20. package/src/integrations/formatpainter.js +1 -1
  21. package/src/integrations/heading.js +1 -1
  22. package/src/integrations/highlight.js +1 -1
  23. package/src/integrations/horizontalline.js +1 -1
  24. package/src/integrations/htmlembed.js +1 -1
  25. package/src/integrations/image.js +1 -1
  26. package/src/integrations/imagereplace.js +1 -1
  27. package/src/integrations/importword.js +1 -1
  28. package/src/integrations/indent.js +1 -1
  29. package/src/integrations/inputcommand.js +1 -1
  30. package/src/integrations/link.js +1 -1
  31. package/src/integrations/list.js +1 -1
  32. package/src/integrations/listproperties.js +1 -1
  33. package/src/integrations/mediaembed.js +1 -1
  34. package/src/integrations/mention.js +1 -1
  35. package/src/integrations/pagebreak.js +1 -1
  36. package/src/integrations/paragraph.js +1 -1
  37. package/src/integrations/removeformat.js +1 -1
  38. package/src/integrations/restrictededitingmode.js +1 -1
  39. package/src/integrations/shiftentercommand.js +1 -1
  40. package/src/integrations/standardeditingmode.js +1 -1
  41. package/src/integrations/style.js +1 -1
  42. package/src/integrations/table.js +1 -1
  43. package/src/integrations/tablecaption.js +1 -1
  44. package/src/integrations/tableclipboard.js +1 -1
  45. package/src/integrations/tablecolumnresize.js +1 -1
  46. package/src/integrations/tableheadings.js +1 -1
  47. package/src/integrations/tablemergesplit.js +1 -1
  48. package/src/integrations/tableofcontents.js +1 -1
  49. package/src/integrations/tableproperties.js +1 -1
  50. package/src/integrations/template.js +1 -1
  51. package/src/integrations/title.js +1 -1
  52. package/src/integrations/undo.js +1 -1
  53. package/src/integrations/utils.js +1 -1
  54. package/src/suggestion.js +1 -1
  55. package/src/suggestiondescriptionfactory.js +1 -1
  56. package/src/trackchanges.js +1 -1
  57. package/src/trackchangesdata.js +1 -1
  58. package/src/trackchangesediting.js +1 -1
  59. package/src/trackchangesui.js +1 -1
  60. package/src/ui/suggestioncontroller.js +1 -1
  61. package/src/ui/view/basesuggestionthreadview.js +1 -1
  62. package/src/ui/view/suggestionthreadview.js +1 -1
  63. package/src/utils/common-translations.js +1 -1
  64. package/src/utils/utils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3ca5=['normalizeSizeOptions','commandParams','*Set\x20font\x20background\x20color:*\x20%0','editor','afterInit','toLowerCase','fontSize','*Set\x20font\x20color:*\x20%0','markInlineFormat','fontBackgroundColor','*Reset\x20font\x20color*','plugins','*Reset\x20font\x20background\x20color*','has','FontColorEditing','FontSizeEditing','commandName','selection','locale','model','fontColor','*Set\x20font\x20family:*\x20%0','registerDescriptionCallback','config','label','enableCommand','format','find','*Reset\x20font\x20family*','fontFamily','value','fontBackgroundColor.colors','fontColor.colors','FontSize','FontFamilyEditing','change','get','TrackChangesEditing','_enableCommand','*Set\x20font\x20size:*\x20%0','fontSize.options','getRanges'];(function(_0x399c2f,_0x3ca599){const _0x402c02=function(_0x23181d){while(--_0x23181d){_0x399c2f['push'](_0x399c2f['shift']());}};_0x402c02(++_0x3ca599);}(_0x3ca5,0x156));const _0x402c=function(_0x399c2f,_0x3ca599){_0x399c2f=_0x399c2f-0x0;let _0x402c02=_0x3ca5[_0x399c2f];return _0x402c02;};import{Plugin as _0x11f56b}from'ckeditor5/src/core';import{normalizeColorOptions as _0x658ef5}from'ckeditor5/src/ui';import{getRangesWithAttribute as _0x45e374}from'./utils';import{getTranslation as _0x31288e}from'../utils/common-translations';const eo=[{'pluginName':_0x402c('0x9'),'commandName':'fontSize'},{'pluginName':_0x402c('0x1c'),'commandName':_0x402c('0x17')},{'pluginName':_0x402c('0x8'),'commandName':_0x402c('0xe')},{'pluginName':'FontBackgroundColorEditing','commandName':_0x402c('0x3')}];export default class H extends _0x11f56b{[_0x402c('0x28')](){const _0x293567=this[_0x402c('0x27')][_0x402c('0xc')];for(const {pluginName:_0x173f28,commandName:_0x3f21f0}of eo)this[_0x402c('0x27')]['plugins'][_0x402c('0x7')](_0x173f28)&&this[_0x402c('0x20')](_0x3f21f0);this[_0x402c('0x27')][_0x402c('0x5')][_0x402c('0x1e')]('TrackChangesEditing')['_descriptionFactory'][_0x402c('0x10')](_0x317c9e=>{const _0x252357=_0x293567['t'],{data:_0x500a02}=_0x317c9e;if(null!=_0x500a02){if(_0x402c('0x0')==_0x500a02[_0x402c('0xa')]){const _0x104e43=_0x500a02['commandParams'][0x0]['value'];if(_0x104e43){const _0x5e3f9b=_0x252357(this[_0x402c('0x27')]['plugins']['get'](_0x402c('0x1b'))[_0x402c('0x24')](this[_0x402c('0x27')][_0x402c('0x11')][_0x402c('0x1e')](_0x402c('0x22')))[_0x402c('0x15')](_0x3de750=>_0x3de750[_0x402c('0xd')]==_0x104e43)['title'])[_0x402c('0x29')]();return{'type':_0x402c('0x14'),'content':_0x31288e(_0x293567,_0x402c('0x21'),_0x5e3f9b)};}return{'type':_0x402c('0x14'),'content':_0x31288e(_0x293567,'*Reset\x20font\x20size*')};}if(_0x402c('0x17')==_0x500a02['commandName']){const _0x32821b=_0x500a02[_0x402c('0x25')][0x0]['value'];return _0x32821b?{'type':_0x402c('0x14'),'content':_0x31288e(_0x293567,_0x402c('0xf'),_0x32821b)}:{'type':'format','content':_0x31288e(_0x293567,_0x402c('0x16'))};}if(_0x402c('0xe')==_0x500a02[_0x402c('0xa')]){const _0x4c8b38=_0x500a02[_0x402c('0x25')][0x0][_0x402c('0x18')];if(_0x4c8b38){const _0x59ea84=_0x658ef5(this['editor'][_0x402c('0x11')][_0x402c('0x1e')](_0x402c('0x1a')))[_0x402c('0x15')](_0x5d443d=>_0x5d443d[_0x402c('0xd')]==_0x4c8b38);let _0x2f85fa=_0x4c8b38,_0x2354b9='';return _0x59ea84&&(_0x2f85fa=_0x59ea84['label'],_0x2354b9=_0x252357(_0x2f85fa)[_0x402c('0x29')]()),{'type':_0x402c('0x14'),'content':_0x31288e(_0x293567,_0x402c('0x1'),_0x2354b9)['trim'](),'color':{'value':_0x4c8b38,'title':_0x2354b9||_0x2f85fa}};}return{'type':_0x402c('0x14'),'content':_0x31288e(_0x293567,_0x402c('0x4'))};}if(_0x402c('0x3')==_0x500a02[_0x402c('0xa')]){const _0x4310e2=_0x500a02[_0x402c('0x25')][0x0][_0x402c('0x18')];if(_0x4310e2){const _0x40b75f=_0x658ef5(this[_0x402c('0x27')][_0x402c('0x11')][_0x402c('0x1e')](_0x402c('0x19')))[_0x402c('0x15')](_0x1cba7d=>_0x1cba7d['model']==_0x4310e2);let _0x54187e=_0x4310e2,_0x56503c='';return _0x40b75f&&(_0x54187e=_0x40b75f[_0x402c('0x12')],_0x56503c=_0x252357(_0x54187e)[_0x402c('0x29')]()),{'type':_0x402c('0x14'),'content':_0x31288e(_0x293567,_0x402c('0x26'),_0x56503c)['trim'](),'color':{'value':_0x4310e2,'title':_0x56503c||_0x54187e}};}return{'type':_0x402c('0x14'),'content':_0x31288e(_0x293567,_0x402c('0x6'))};}}});}[_0x402c('0x20')](_0x5a6643){const _0x28c458=this[_0x402c('0x27')];_0x28c458['plugins']['get'](_0x402c('0x1f'))[_0x402c('0x13')](_0x5a6643,(_0x3ad93b,_0x251336={})=>{const _0xfc2175=_0x28c458[_0x402c('0xd')]['document'][_0x402c('0xb')],_0x1d529e=_0x251336[_0x402c('0x18')];_0xfc2175['isCollapsed']?_0x3ad93b(_0x251336):_0x28c458[_0x402c('0xd')][_0x402c('0x1d')](()=>{const _0x4a4b17=Array['from'](_0xfc2175[_0x402c('0x23')]());for(const _0x587051 of _0x4a4b17){const _0x36039f=_0x1d529e?[_0x587051]:_0x45e374(_0x5a6643,_0x587051,_0x28c458[_0x402c('0xd')]);for(const _0x5d8771 of _0x36039f)_0x28c458[_0x402c('0x5')][_0x402c('0x1e')]('TrackChangesEditing')[_0x402c('0x2')](_0x5d8771,{'commandName':_0x5a6643,'commandParams':[{'value':_0x1d529e}]});}});});}}
23
+ const _0x2712=['editor','value','model','fontFamily','title','config','get','trim','_descriptionFactory','selection','fontSize.options','fontBackgroundColor','getRanges','FontSizeEditing','*Reset\x20font\x20color*','markInlineFormat','TrackChangesEditing','find','*Set\x20font\x20color:*\x20%0','has','_enableCommand','isCollapsed','*Reset\x20font\x20background\x20color*','plugins','fontBackgroundColor.colors','afterInit','fontColor','*Reset\x20font\x20size*','locale','label','format','fontColor.colors','document','*Set\x20font\x20background\x20color:*\x20%0','toLowerCase','commandName','commandParams','registerDescriptionCallback','normalizeSizeOptions','FontFamilyEditing','from','fontSize','*Reset\x20font\x20family*','FontColorEditing'];(function(_0x23d34d,_0x27126a){const _0x4571b0=function(_0x5d0423){while(--_0x5d0423){_0x23d34d['push'](_0x23d34d['shift']());}};_0x4571b0(++_0x27126a);}(_0x2712,0xfa));const _0x4571=function(_0x23d34d,_0x27126a){_0x23d34d=_0x23d34d-0x0;let _0x4571b0=_0x2712[_0x23d34d];return _0x4571b0;};import{Plugin as _0x1fad17}from'ckeditor5/src/core';import{normalizeColorOptions as _0x701fd3}from'ckeditor5/src/ui';import{getRangesWithAttribute as _0x42517d}from'./utils';import{getTranslation as _0x5c12ab}from'../utils/common-translations';const eo=[{'pluginName':_0x4571('0x1b'),'commandName':_0x4571('0xb')},{'pluginName':_0x4571('0x9'),'commandName':'fontFamily'},{'pluginName':_0x4571('0xd'),'commandName':_0x4571('0x28')},{'pluginName':'FontBackgroundColorEditing','commandName':_0x4571('0x19')}];export default class H extends _0x1fad17{[_0x4571('0x27')](){const _0xa84913=this[_0x4571('0xe')][_0x4571('0x2a')];for(const {pluginName:_0x32d5d6,commandName:_0x39d98b}of eo)this[_0x4571('0xe')][_0x4571('0x25')][_0x4571('0x21')](_0x32d5d6)&&this['_enableCommand'](_0x39d98b);this[_0x4571('0xe')][_0x4571('0x25')][_0x4571('0x14')](_0x4571('0x1e'))[_0x4571('0x16')][_0x4571('0x7')](_0x4c5ed3=>{const _0x19fa92=_0xa84913['t'],{data:_0x30fc62}=_0x4c5ed3;if(null!=_0x30fc62){if('fontSize'==_0x30fc62[_0x4571('0x5')]){const _0x50a598=_0x30fc62[_0x4571('0x6')][0x0]['value'];if(_0x50a598){const _0x3a513d=_0x19fa92(this[_0x4571('0xe')][_0x4571('0x25')][_0x4571('0x14')]('FontSize')[_0x4571('0x8')](this[_0x4571('0xe')]['config']['get'](_0x4571('0x18')))['find'](_0x4a8d8b=>_0x4a8d8b[_0x4571('0x10')]==_0x50a598)[_0x4571('0x12')])[_0x4571('0x4')]();return{'type':_0x4571('0x0'),'content':_0x5c12ab(_0xa84913,'*Set\x20font\x20size:*\x20%0',_0x3a513d)};}return{'type':_0x4571('0x0'),'content':_0x5c12ab(_0xa84913,_0x4571('0x29'))};}if(_0x4571('0x11')==_0x30fc62['commandName']){const _0x3f362d=_0x30fc62[_0x4571('0x6')][0x0][_0x4571('0xf')];return _0x3f362d?{'type':'format','content':_0x5c12ab(_0xa84913,'*Set\x20font\x20family:*\x20%0',_0x3f362d)}:{'type':_0x4571('0x0'),'content':_0x5c12ab(_0xa84913,_0x4571('0xc'))};}if(_0x4571('0x28')==_0x30fc62['commandName']){const _0x24e612=_0x30fc62[_0x4571('0x6')][0x0][_0x4571('0xf')];if(_0x24e612){const _0x1dfa82=_0x701fd3(this[_0x4571('0xe')][_0x4571('0x13')][_0x4571('0x14')](_0x4571('0x1')))[_0x4571('0x1f')](_0x406b9b=>_0x406b9b['model']==_0x24e612);let _0x221e38=_0x24e612,_0x422d7a='';return _0x1dfa82&&(_0x221e38=_0x1dfa82[_0x4571('0x2b')],_0x422d7a=_0x19fa92(_0x221e38)[_0x4571('0x4')]()),{'type':_0x4571('0x0'),'content':_0x5c12ab(_0xa84913,_0x4571('0x20'),_0x422d7a)['trim'](),'color':{'value':_0x24e612,'title':_0x422d7a||_0x221e38}};}return{'type':'format','content':_0x5c12ab(_0xa84913,_0x4571('0x1c'))};}if(_0x4571('0x19')==_0x30fc62[_0x4571('0x5')]){const _0x5a6c49=_0x30fc62[_0x4571('0x6')][0x0][_0x4571('0xf')];if(_0x5a6c49){const _0x4c147a=_0x701fd3(this[_0x4571('0xe')]['config'][_0x4571('0x14')](_0x4571('0x26')))['find'](_0x4ebd50=>_0x4ebd50[_0x4571('0x10')]==_0x5a6c49);let _0x589e49=_0x5a6c49,_0x4fed7d='';return _0x4c147a&&(_0x589e49=_0x4c147a[_0x4571('0x2b')],_0x4fed7d=_0x19fa92(_0x589e49)[_0x4571('0x4')]()),{'type':_0x4571('0x0'),'content':_0x5c12ab(_0xa84913,_0x4571('0x3'),_0x4fed7d)[_0x4571('0x15')](),'color':{'value':_0x5a6c49,'title':_0x4fed7d||_0x589e49}};}return{'type':_0x4571('0x0'),'content':_0x5c12ab(_0xa84913,_0x4571('0x24'))};}}});}[_0x4571('0x22')](_0x1c660a){const _0xf10949=this[_0x4571('0xe')];_0xf10949[_0x4571('0x25')][_0x4571('0x14')](_0x4571('0x1e'))['enableCommand'](_0x1c660a,(_0x37834e,_0x43420d={})=>{const _0x963c07=_0xf10949[_0x4571('0x10')][_0x4571('0x2')][_0x4571('0x17')],_0x3fa14b=_0x43420d[_0x4571('0xf')];_0x963c07[_0x4571('0x23')]?_0x37834e(_0x43420d):_0xf10949[_0x4571('0x10')]['change'](()=>{const _0x482d03=Array[_0x4571('0xa')](_0x963c07[_0x4571('0x1a')]());for(const _0x2e8aa9 of _0x482d03){const _0xd8cb7=_0x3fa14b?[_0x2e8aa9]:_0x42517d(_0x1c660a,_0x2e8aa9,_0xf10949[_0x4571('0x10')]);for(const _0x1625b2 of _0xd8cb7)_0xf10949[_0x4571('0x25')][_0x4571('0x14')](_0x4571('0x1e'))[_0x4571('0x1d')](_0x1625b2,{'commandName':_0x1c660a,'commandParams':[{'value':_0x3fa14b}]});}});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x25cc=['isBlock','locale','forward','charAt','fontColor','format','toLowerCase','config','document','createSelection','getAttributes','createRange','push','isFormatting','*Set\x20format\x20to:*\x20%0','pasteFormat','getFirstPosition','enableCommand','join','title','commands','copyFormat','getAttributeProperties','getItems','normalizeSizeOptions','get','modifySelection','find','toUpperCase','length','TrackChangesEditing','getRanges','schema','label','commandParams','fontBackgroundColor','getSelectedBlocks','fontSize.options','slice','change','word','_descriptionFactory','backward','plugins','getLastPosition','*Remove\x20all\x20formatting*','model','editor','split'];(function(_0x241b63,_0x25ccab){const _0x248ff9=function(_0x50c4bd){while(--_0x50c4bd){_0x241b63['push'](_0x241b63['shift']());}};_0x248ff9(++_0x25ccab);}(_0x25cc,0xfb));const _0x248f=function(_0x241b63,_0x25ccab){_0x241b63=_0x241b63-0x0;let _0x248ff9=_0x25cc[_0x241b63];return _0x248ff9;};import{Plugin as _0x222480}from'ckeditor5/src/core';import{normalizeColorOptions as _0x296fcc}from'ckeditor5/src/ui';import{first as _0x2bd38b}from'ckeditor5/src/utils';import{getTranslation as _0x3f71ff}from'../utils/common-translations';export default class W extends _0x222480{['afterInit'](){const _0x13dc07=this[_0x248f('0x29')],_0x3b5fd3=_0x13dc07[_0x248f('0x28')],_0x21ad75=_0x3b5fd3[_0x248f('0x2')]['selection'],_0x564c45=_0x13dc07[_0x248f('0x25')]['get'](_0x248f('0x18')),_0x398952=_0x13dc07[_0x248f('0x2c')],_0x3357ce=_0x13dc07[_0x248f('0xe')][_0x248f('0x13')](_0x248f('0xf')),_0x1e7c0b=_0x13dc07[_0x248f('0xe')][_0x248f('0x13')](_0x248f('0x9'));_0x3357ce&&_0x1e7c0b&&(_0x564c45[_0x248f('0xb')](_0x248f('0x9'),(_0x2dc473,_0x319bcd={})=>{const _0x1ef667=_0x319bcd;_0x3b5fd3[_0x248f('0x21')](()=>{const _0x23104e=Array['from'](_0x21ad75['getRanges']()),_0xd7f6f7=_0x21ad75['isCollapsed']?[co(_0x3b5fd3,_0x21ad75)]:_0x23104e,_0x1c00da=!!_0x2bd38b(function*(_0x3eb095,_0x5c69e7){const _0x1dd4f5=_0x94597d=>!!_0x2bd38b(function*(_0x1af6bd,_0x5c155c){for(const [_0x3aa906]of _0x1af6bd[_0x248f('0x4')]()){const _0x7ac6a4=_0x5c155c[_0x248f('0x10')](_0x3aa906);_0x7ac6a4&&_0x7ac6a4[_0x248f('0x7')]&&(yield _0x3aa906);}}(_0x94597d,_0x5c69e7));for(const _0x4517e4 of _0x3eb095[_0x248f('0x19')]())for(const _0x43223e of _0x4517e4[_0x248f('0x11')]())!_0x5c69e7[_0x248f('0x2b')](_0x43223e)&&_0x1dd4f5(_0x43223e)&&(yield _0x43223e);for(const _0x225403 of _0x3eb095[_0x248f('0x1e')]())_0x1dd4f5(_0x225403)&&(yield _0x225403);_0x1dd4f5(_0x3eb095)&&(yield _0x3eb095);}(_0x21ad75,_0x3b5fd3[_0x248f('0x1a')]));if(_0x1c00da||0x0!==Object['keys'](_0x1ef667)[_0x248f('0x17')])for(const _0x5ab27e of _0xd7f6f7)_0x564c45['markInlineFormat'](_0x5ab27e,{'commandName':_0x248f('0x9'),'commandParams':[_0x1ef667]});});}),_0x564c45[_0x248f('0x23')]['registerDescriptionCallback'](_0xbdaa6f=>{const {data:_0x398acf}=_0xbdaa6f;if(_0x398acf&&_0x248f('0x9')===_0x398acf['commandName']){const _0x2f2a48=[],_0x191d0a=_0x398acf[_0x248f('0x1c')][0x0];for(const [_0x5f494b,_0x4982be]of Object['entries'](_0x191d0a))_0x2f2a48[_0x248f('0x6')](io(_0x13dc07,_0x5f494b,_0x4982be));return _0x2f2a48[_0x248f('0x17')]?{'type':_0x248f('0x30'),'content':_0x3f71ff(_0x398952,_0x248f('0x8'),_0x2f2a48[_0x248f('0xc')](',\x20'))}:{'type':'format','content':_0x3f71ff(_0x398952,_0x248f('0x27'))};}}),_0x13dc07[_0x248f('0x25')]['get']('TrackChangesEditing')[_0x248f('0xb')](_0x248f('0xf')));}}function co(_0x1a2865,_0x2af08c){const _0x10b923=_0x1a2865[_0x248f('0x3')](_0x2af08c);_0x1a2865[_0x248f('0x14')](_0x10b923,{'unit':_0x248f('0x22'),'direction':_0x248f('0x24')});const _0x15c83c=_0x10b923[_0x248f('0xa')]();_0x1a2865['modifySelection'](_0x10b923,{'unit':_0x248f('0x22'),'direction':_0x248f('0x2d')});const _0x354170=_0x10b923[_0x248f('0x26')]();return _0x1a2865[_0x248f('0x5')](_0x15c83c,_0x354170);}function io(_0x170fc4,_0x2edb43,_0x13f9ac){const _0x1edf0b=_0x170fc4[_0x248f('0x2c')]['t'],_0x410c86=_0x2edb43[_0x248f('0x2a')](/(?=[A-Z])/)[_0x248f('0xc')]('\x20'),_0x181918=_0x1edf0b(_0x410c86[_0x248f('0x2e')](0x0)[_0x248f('0x16')]()+_0x410c86[_0x248f('0x20')](0x1))['toLowerCase']();if('boolean'==typeof _0x13f9ac)return _0x181918;if(_0x248f('0x2f')===_0x2edb43||_0x248f('0x1d')===_0x2edb43){const _0x1e17f0=_0x296fcc(_0x170fc4[_0x248f('0x1')]['get']('fontColor.colors'))[_0x248f('0x15')](_0x976b00=>_0x976b00[_0x248f('0x28')]==_0x13f9ac);return _0x181918+'\x20('+(_0x1e17f0?_0x1edf0b(_0x1e17f0[_0x248f('0x1b')])[_0x248f('0x0')]():_0x13f9ac)+')';}if('fontSize'===_0x2edb43&&isNaN(parseFloat(_0x13f9ac))){const _0x6e47bf=_0x170fc4[_0x248f('0x25')][_0x248f('0x13')]('FontSize')[_0x248f('0x12')](_0x170fc4['config']['get'](_0x248f('0x1f')))['find'](_0x84a261=>_0x84a261[_0x248f('0x28')]==_0x13f9ac);return _0x181918+'\x20('+(_0x6e47bf?_0x1edf0b(_0x6e47bf[_0x248f('0xd')])[_0x248f('0x0')]():_0x13f9ac)+')';}return _0x181918+'\x20('+_0x13f9ac+')';}
23
+ const _0x3725=['forward','getSelectedBlocks','label','schema','fontBackgroundColor','isBlock','isFormatting','*Remove\x20all\x20formatting*','fontSize','FontSize','commands','markInlineFormat','change','split','TrackChangesEditing','fontSize.options','selection','getFirstPosition','join','model','get','entries','length','locale','fontColor.colors','title','commandName','getItems','boolean','getAttributes','registerDescriptionCallback','toLowerCase','pasteFormat','from','enableCommand','find','charAt','word','*Set\x20format\x20to:*\x20%0','backward','getRanges','getLastPosition','format','_descriptionFactory','config','plugins','modifySelection','commandParams'];(function(_0x42d79b,_0x3725b2){const _0xbbc40a=function(_0x51202a){while(--_0x51202a){_0x42d79b['push'](_0x42d79b['shift']());}};_0xbbc40a(++_0x3725b2);}(_0x3725,0x17d));const _0xbbc4=function(_0x42d79b,_0x3725b2){_0x42d79b=_0x42d79b-0x0;let _0xbbc40a=_0x3725[_0x42d79b];return _0xbbc40a;};import{Plugin as _0x3ca49e}from'ckeditor5/src/core';import{normalizeColorOptions as _0x91891a}from'ckeditor5/src/ui';import{first as _0x38f749}from'ckeditor5/src/utils';import{getTranslation as _0x6b6cfa}from'../utils/common-translations';export default class W extends _0x3ca49e{['afterInit'](){const _0x3899bb=this['editor'],_0x32f4ee=_0x3899bb[_0xbbc4('0x16')],_0x1f5896=_0x32f4ee['document'][_0xbbc4('0x13')],_0x3f9da1=_0x3899bb[_0xbbc4('0x0')]['get'](_0xbbc4('0x11')),_0xaa562d=_0x3899bb['locale'],_0x394b86=_0x3899bb[_0xbbc4('0xd')]['get']('copyFormat'),_0x42ca9d=_0x3899bb[_0xbbc4('0xd')][_0xbbc4('0x17')](_0xbbc4('0x23'));_0x394b86&&_0x42ca9d&&(_0x3f9da1[_0xbbc4('0x25')](_0xbbc4('0x23'),(_0x4fed73,_0x4901d3={})=>{const _0x54ae0b=_0x4901d3;_0x32f4ee[_0xbbc4('0xf')](()=>{const _0xcb6b97=Array[_0xbbc4('0x24')](_0x1f5896[_0xbbc4('0x2b')]()),_0x208fe8=_0x1f5896['isCollapsed']?[co(_0x32f4ee,_0x1f5896)]:_0xcb6b97,_0x1995a8=!!_0x38f749(function*(_0x83a586,_0x25c3b9){const _0x57ea34=_0x4c4a9c=>!!_0x38f749(function*(_0x5a38ed,_0x18d9e6){for(const [_0x598a49]of _0x5a38ed[_0xbbc4('0x20')]()){const _0x378580=_0x18d9e6['getAttributeProperties'](_0x598a49);_0x378580&&_0x378580[_0xbbc4('0x9')]&&(yield _0x598a49);}}(_0x4c4a9c,_0x25c3b9));for(const _0x26fee7 of _0x83a586[_0xbbc4('0x2b')]())for(const _0x51c6bc of _0x26fee7[_0xbbc4('0x1e')]())!_0x25c3b9[_0xbbc4('0x8')](_0x51c6bc)&&_0x57ea34(_0x51c6bc)&&(yield _0x51c6bc);for(const _0x2d7cbb of _0x83a586[_0xbbc4('0x4')]())_0x57ea34(_0x2d7cbb)&&(yield _0x2d7cbb);_0x57ea34(_0x83a586)&&(yield _0x83a586);}(_0x1f5896,_0x32f4ee[_0xbbc4('0x6')]));if(_0x1995a8||0x0!==Object['keys'](_0x54ae0b)[_0xbbc4('0x19')])for(const _0x19680e of _0x208fe8)_0x3f9da1[_0xbbc4('0xe')](_0x19680e,{'commandName':_0xbbc4('0x23'),'commandParams':[_0x54ae0b]});});}),_0x3f9da1[_0xbbc4('0x2e')][_0xbbc4('0x21')](_0x2fea2b=>{const {data:_0x23dbf7}=_0x2fea2b;if(_0x23dbf7&&_0xbbc4('0x23')===_0x23dbf7[_0xbbc4('0x1d')]){const _0x58b429=[],_0x2ab7fb=_0x23dbf7[_0xbbc4('0x2')][0x0];for(const [_0x25be8a,_0x586bdc]of Object[_0xbbc4('0x18')](_0x2ab7fb))_0x58b429['push'](io(_0x3899bb,_0x25be8a,_0x586bdc));return _0x58b429[_0xbbc4('0x19')]?{'type':_0xbbc4('0x2d'),'content':_0x6b6cfa(_0xaa562d,_0xbbc4('0x29'),_0x58b429[_0xbbc4('0x15')](',\x20'))}:{'type':_0xbbc4('0x2d'),'content':_0x6b6cfa(_0xaa562d,_0xbbc4('0xa'))};}}),_0x3899bb[_0xbbc4('0x0')][_0xbbc4('0x17')](_0xbbc4('0x11'))[_0xbbc4('0x25')]('copyFormat'));}}function co(_0x3e449e,_0x57bb69){const _0x18dfb6=_0x3e449e['createSelection'](_0x57bb69);_0x3e449e['modifySelection'](_0x18dfb6,{'unit':'word','direction':_0xbbc4('0x2a')});const _0x5af1b6=_0x18dfb6[_0xbbc4('0x14')]();_0x3e449e[_0xbbc4('0x1')](_0x18dfb6,{'unit':_0xbbc4('0x28'),'direction':_0xbbc4('0x3')});const _0x5d8b55=_0x18dfb6[_0xbbc4('0x2c')]();return _0x3e449e['createRange'](_0x5af1b6,_0x5d8b55);}function io(_0x81bc6f,_0x39530d,_0x2ad7d8){const _0x3a3f8a=_0x81bc6f[_0xbbc4('0x1a')]['t'],_0x508b12=_0x39530d[_0xbbc4('0x10')](/(?=[A-Z])/)['join']('\x20'),_0xaf6d98=_0x3a3f8a(_0x508b12[_0xbbc4('0x27')](0x0)['toUpperCase']()+_0x508b12['slice'](0x1))[_0xbbc4('0x22')]();if(_0xbbc4('0x1f')==typeof _0x2ad7d8)return _0xaf6d98;if('fontColor'===_0x39530d||_0xbbc4('0x7')===_0x39530d){const _0x56984c=_0x91891a(_0x81bc6f[_0xbbc4('0x2f')][_0xbbc4('0x17')](_0xbbc4('0x1b')))[_0xbbc4('0x26')](_0x333276=>_0x333276[_0xbbc4('0x16')]==_0x2ad7d8);return _0xaf6d98+'\x20('+(_0x56984c?_0x3a3f8a(_0x56984c[_0xbbc4('0x5')])[_0xbbc4('0x22')]():_0x2ad7d8)+')';}if(_0xbbc4('0xb')===_0x39530d&&isNaN(parseFloat(_0x2ad7d8))){const _0x74890e=_0x81bc6f['plugins'][_0xbbc4('0x17')](_0xbbc4('0xc'))['normalizeSizeOptions'](_0x81bc6f['config'][_0xbbc4('0x17')](_0xbbc4('0x12')))[_0xbbc4('0x26')](_0x26154b=>_0x26154b['model']==_0x2ad7d8);return _0xaf6d98+'\x20('+(_0x74890e?_0x3a3f8a(_0x74890e[_0xbbc4('0x1c')])[_0xbbc4('0x22')]():_0x2ad7d8)+')';}return _0xaf6d98+'\x20('+_0x2ad7d8+')';}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x47fd=['config','from','registerDescriptionCallback','commandName','locale','formatBlock','plugins','ELEMENT_HEADING_CUSTOM','find','*Change\x20to:*\x20%0','get','has','title','model','enableCommand','_descriptionFactory','format','heading','commandParams','parent','paragraph','checkChild','editor','afterInit','HeadingEditing','registerElementLabel','filter','value'];(function(_0x3a6d5e,_0x47fd9b){const _0x206f05=function(_0x1826f0){while(--_0x1826f0){_0x3a6d5e['push'](_0x3a6d5e['shift']());}};_0x206f05(++_0x47fd9b);}(_0x47fd,0x159));const _0x206f=function(_0x3a6d5e,_0x47fd9b){_0x3a6d5e=_0x3a6d5e-0x0;let _0x206f05=_0x47fd[_0x3a6d5e];return _0x206f05;};import{Plugin as _0x2cfd15}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x3919e2}from'./utils';import{getTranslation as _0x3b665a}from'../utils/common-translations';export default class J extends _0x2cfd15{[_0x206f('0xe')](){const _0x5087fd=this[_0x206f('0xd')],_0x529e50=_0x5087fd[_0x206f('0x17')],_0x3473c4=_0x5087fd[_0x206f('0x13')][_0x206f('0x1')]('heading.options');if(!_0x5087fd['plugins'][_0x206f('0x2')](_0x206f('0xf')))return;const _0x3b900b=_0x5087fd[_0x206f('0x19')][_0x206f('0x1')]('TrackChangesEditing');_0x3b900b[_0x206f('0x5')](_0x206f('0x8'),(_0x32f5f5,_0x15d92d)=>{const _0x31b5c1=_0x15d92d['value'],_0x530f9f=Array[_0x206f('0x14')](this[_0x206f('0xd')][_0x206f('0x4')]['document']['selection']['getSelectedBlocks']())[_0x206f('0x11')](_0x297344=>function(_0x4d90e9,_0x4d0b18,_0x1994d3){return _0x1994d3[_0x206f('0xc')](_0x4d90e9[_0x206f('0xa')],_0x4d0b18)&&!_0x1994d3['isObject'](_0x4d90e9)&&_0x4d90e9['name']!=_0x4d0b18;}(_0x297344,_0x31b5c1,this[_0x206f('0xd')][_0x206f('0x4')]['schema']));_0x5087fd['model']['change'](()=>{for(const _0x3e97cc of _0x530f9f)_0x3b900b['markBlockFormat'](_0x3e97cc,{'commandName':_0x206f('0x8'),'commandParams':[_0x15d92d],'formatGroupId':'blockName'},_0x3919e2(_0x3e97cc));});});for(const _0x494b4f of _0x3473c4)_0x206f('0xb')!=_0x494b4f[_0x206f('0x4')]&&_0x3b900b[_0x206f('0x6')][_0x206f('0x10')](_0x494b4f[_0x206f('0x4')],_0x32d105=>{const _0xc19ceb=nn(_0x494b4f[_0x206f('0x4')]);return null!==_0xc19ceb?_0x224cd8(_0x32d105,_0xc19ceb):_0x4dbc82(_0x32d105,_0x494b4f[_0x206f('0x3')]);});function _0x224cd8(_0x4c4b2f,_0x538829){return _0x3b665a(_0x529e50,'ELEMENT_HEADING',[_0x4c4b2f,_0x538829]);}function _0x4dbc82(_0x572a43,_0x560de3){return _0x3b665a(_0x529e50,_0x206f('0x1a'),[_0x572a43,_0x560de3]);}_0x3b900b[_0x206f('0x6')][_0x206f('0x15')](_0x238a5d=>{const {type:_0x56b72b,data:_0x52e62e}=_0x238a5d;if(_0x206f('0x18')==_0x56b72b&&_0x52e62e&&_0x206f('0x8')==_0x52e62e[_0x206f('0x16')]){const _0x39f7ec=_0x52e62e[_0x206f('0x9')][0x0][_0x206f('0x12')],_0x116ab0=nn(_0x39f7ec);if(null!==_0x116ab0)return{'type':_0x206f('0x7'),'content':_0x3b665a(_0x529e50,_0x206f('0x0'),_0x224cd8(0x1,_0x116ab0))};const _0x5b785a=_0x3473c4[_0x206f('0x1b')](_0x106a6c=>_0x106a6c['model']===_0x39f7ec)[_0x206f('0x3')];return{'type':'format','content':_0x3b665a(_0x529e50,'*Change\x20to:*\x20%0',_0x4dbc82(0x1,_0x5b785a))};}});}}function nn(_0x2012d5){const _0x4ad7a1=_0x2012d5['match'](/^heading(\d+)$/);return _0x4ad7a1?_0x4ad7a1[0x1]:null;}
23
+ const _0x2345=['markBlockFormat','config','value','*Change\x20to:*\x20%0','ELEMENT_HEADING_CUSTOM','has','blockName','TrackChangesEditing','isObject','document','match','registerElementLabel','model','selection','from','schema','_descriptionFactory','HeadingEditing','name','format','plugins','title','find','heading','enableCommand','parent','commandName','locale','ELEMENT_HEADING','editor','get','getSelectedBlocks','formatBlock','paragraph'];(function(_0xdfe665,_0x2345ac){const _0x4f0296=function(_0x294dd2){while(--_0x294dd2){_0xdfe665['push'](_0xdfe665['shift']());}};_0x4f0296(++_0x2345ac);}(_0x2345,0x9e));const _0x4f02=function(_0xdfe665,_0x2345ac){_0xdfe665=_0xdfe665-0x0;let _0x4f0296=_0x2345[_0xdfe665];return _0x4f0296;};import{Plugin as _0x478563}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x264e17}from'./utils';import{getTranslation as _0x1e2806}from'../utils/common-translations';export default class J extends _0x478563{['afterInit'](){const _0x29f3ec=this[_0x4f02('0x7')],_0x141b49=_0x29f3ec[_0x4f02('0x5')],_0x220c6e=_0x29f3ec[_0x4f02('0xd')][_0x4f02('0x8')]('heading.options');if(!_0x29f3ec[_0x4f02('0x20')][_0x4f02('0x11')](_0x4f02('0x1d')))return;const _0x46e618=_0x29f3ec[_0x4f02('0x20')][_0x4f02('0x8')](_0x4f02('0x13'));_0x46e618[_0x4f02('0x2')](_0x4f02('0x1'),(_0x20f278,_0x31d51e)=>{const _0x7556d4=_0x31d51e[_0x4f02('0xe')],_0x2d05d9=Array[_0x4f02('0x1a')](this[_0x4f02('0x7')]['model'][_0x4f02('0x15')][_0x4f02('0x19')][_0x4f02('0x9')]())['filter'](_0x3c5762=>function(_0x1c233d,_0x4f2ca0,_0x33d19d){return _0x33d19d['checkChild'](_0x1c233d[_0x4f02('0x3')],_0x4f2ca0)&&!_0x33d19d[_0x4f02('0x14')](_0x1c233d)&&_0x1c233d[_0x4f02('0x1e')]!=_0x4f2ca0;}(_0x3c5762,_0x7556d4,this[_0x4f02('0x7')][_0x4f02('0x18')][_0x4f02('0x1b')]));_0x29f3ec['model']['change'](()=>{for(const _0x26db39 of _0x2d05d9)_0x46e618[_0x4f02('0xc')](_0x26db39,{'commandName':_0x4f02('0x1'),'commandParams':[_0x31d51e],'formatGroupId':_0x4f02('0x12')},_0x264e17(_0x26db39));});});for(const _0x59d5c4 of _0x220c6e)_0x4f02('0xb')!=_0x59d5c4[_0x4f02('0x18')]&&_0x46e618[_0x4f02('0x1c')][_0x4f02('0x17')](_0x59d5c4[_0x4f02('0x18')],_0xdb0cb6=>{const _0x5df228=nn(_0x59d5c4[_0x4f02('0x18')]);return null!==_0x5df228?_0x306742(_0xdb0cb6,_0x5df228):_0x3e239f(_0xdb0cb6,_0x59d5c4[_0x4f02('0x21')]);});function _0x306742(_0x5d6cc8,_0x21f7e6){return _0x1e2806(_0x141b49,_0x4f02('0x6'),[_0x5d6cc8,_0x21f7e6]);}function _0x3e239f(_0x33f5ff,_0x1ee60a){return _0x1e2806(_0x141b49,_0x4f02('0x10'),[_0x33f5ff,_0x1ee60a]);}_0x46e618[_0x4f02('0x1c')]['registerDescriptionCallback'](_0x43370a=>{const {type:_0x3f7f12,data:_0x230893}=_0x43370a;if(_0x4f02('0xa')==_0x3f7f12&&_0x230893&&_0x4f02('0x1')==_0x230893[_0x4f02('0x4')]){const _0x462ad2=_0x230893['commandParams'][0x0][_0x4f02('0xe')],_0x4586a8=nn(_0x462ad2);if(null!==_0x4586a8)return{'type':_0x4f02('0x1f'),'content':_0x1e2806(_0x141b49,_0x4f02('0xf'),_0x306742(0x1,_0x4586a8))};const _0x4e313a=_0x220c6e[_0x4f02('0x0')](_0x3093a1=>_0x3093a1[_0x4f02('0x18')]===_0x462ad2)['title'];return{'type':'format','content':_0x1e2806(_0x141b49,_0x4f02('0xf'),_0x3e239f(0x1,_0x4e313a))};}});}}function nn(_0x28b529){const _0x19dc47=_0x28b529[_0x4f02('0x16')](/^heading(\d+)$/);return _0x19dc47?_0x19dc47[0x1]:null;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2a91=['*Set\x20highlight:*\x20%0','model','find','afterInit','config','*Remove\x20highlight*','item','toLowerCase','format','selection','markInlineFormat','title','formatInline','push','editor','registerDescriptionCallback','TrackChangesEditing','plugins','isCollapsed','getLastMatchingPosition','commandParams','highlight','hasAttribute','createRange','commandName','change','getRanges','getFirstPosition','get','locale','FORMAT_HIGHLIGHT','value','getAttribute'];(function(_0x1341a7,_0x2a913e){const _0x42ac23=function(_0x21706e){while(--_0x21706e){_0x1341a7['push'](_0x1341a7['shift']());}};_0x42ac23(++_0x2a913e);}(_0x2a91,0xb4));const _0x42ac=function(_0x1341a7,_0x2a913e){_0x1341a7=_0x1341a7-0x0;let _0x42ac23=_0x2a91[_0x1341a7];return _0x42ac23;};import{Plugin as _0x16e46a}from'ckeditor5/src/core';import{getTranslation as _0x28f2ed}from'../utils/common-translations';import{getRangesWithAttribute as _0x40b23d}from'./utils';export default class K extends _0x16e46a{[_0x42ac('0x15')](){const _0x1635e7=this[_0x42ac('0x20')];if(!_0x1635e7[_0x42ac('0x2')]['has']('HighlightEditing'))return;const _0x3c14ae=_0x1635e7[_0x42ac('0x2')][_0x42ac('0xd')](_0x42ac('0x1'));_0x3c14ae['enableCommand'](_0x42ac('0x6'),(_0x2282c8,_0x1c4883={})=>{const _0x208575=_0x1635e7['model']['document'][_0x42ac('0x1b')],_0x12f843=_0x208575['getAttribute'](_0x42ac('0x6'));let _0x4c208a=_0x1c4883[_0x42ac('0x10')],_0x251415=[];if(_0x208575[_0x42ac('0x3')]){const _0x88679e=_0x208575[_0x42ac('0xc')]();if(!_0x208575[_0x42ac('0x7')]('highlight'))return void _0x2282c8(_0x1c4883);{const _0x42ea41=_0x3d51f3=>_0x3d51f3[_0x42ac('0x18')][_0x42ac('0x11')](_0x42ac('0x6'))===_0x12f843,_0x283b7e=_0x88679e['getLastMatchingPosition'](_0x42ea41,{'direction':'backward'}),_0xfe67ae=_0x88679e[_0x42ac('0x4')](_0x42ea41);_0x251415=[_0x1635e7[_0x42ac('0x13')][_0x42ac('0x8')](_0x283b7e,_0xfe67ae)],_0x4c208a==_0x12f843&&(_0x4c208a=null);}}else for(const _0x4536f9 of _0x208575[_0x42ac('0xb')]())_0x4c208a?_0x251415['push'](_0x4536f9):_0x251415[_0x42ac('0x1f')](..._0x40b23d('highlight',_0x4536f9,_0x1635e7[_0x42ac('0x13')]));_0x1635e7[_0x42ac('0x13')][_0x42ac('0xa')](()=>{for(const _0x1969c1 of _0x251415)_0x3c14ae[_0x42ac('0x1c')](_0x1969c1,{'commandName':_0x42ac('0x6'),'commandParams':[{'value':_0x4c208a}]});});});const _0x1e3bfe=_0x1635e7[_0x42ac('0xe')];_0x3c14ae['_descriptionFactory'][_0x42ac('0x0')](_0x9b1cef=>{const {type:_0x15cce2,data:_0x5d77e6}=_0x9b1cef;if(_0x42ac('0x1e')==_0x15cce2&&_0x5d77e6&&_0x42ac('0x6')==_0x5d77e6[_0x42ac('0x9')]){const _0x565baf=_0x1e3bfe['t'],_0x95e3e9=_0x5d77e6[_0x42ac('0x5')][0x0][_0x42ac('0x10')];if(_0x95e3e9){const _0x2608c8=_0x1635e7[_0x42ac('0x16')][_0x42ac('0xd')]('highlight.options')[_0x42ac('0x14')](_0x32e072=>_0x32e072['model']==_0x95e3e9),_0x312886=_0x565baf(_0x2608c8[_0x42ac('0x1d')])[_0x42ac('0x19')]();return{'type':_0x42ac('0x1a'),'content':_0x28f2ed(_0x1e3bfe,_0x42ac('0x12'),_0x312886),'color':{'value':_0x2608c8['color'],'title':_0x2608c8[_0x42ac('0x1d')]}};}return{'type':_0x42ac('0x1a'),'content':_0x28f2ed(_0x1e3bfe,_0x42ac('0x17'),_0x28f2ed(_0x1e3bfe,_0x42ac('0xf')))};}});}}
23
+ const _0x3c60=['get','getLastMatchingPosition','push','HighlightEditing','value','title','formatInline','hasAttribute','model','config','getRanges','createRange','afterInit','plugins','item','_descriptionFactory','FORMAT_HIGHLIGHT','format','markInlineFormat','getAttribute','change','editor','document','getFirstPosition','highlight.options','*Set\x20highlight:*\x20%0','color','find','*Remove\x20highlight*','highlight','backward','TrackChangesEditing','enableCommand','toLowerCase'];(function(_0x39ffc8,_0x3c6001){const _0x36c37e=function(_0x428014){while(--_0x428014){_0x39ffc8['push'](_0x39ffc8['shift']());}};_0x36c37e(++_0x3c6001);}(_0x3c60,0x157));const _0x36c3=function(_0x39ffc8,_0x3c6001){_0x39ffc8=_0x39ffc8-0x0;let _0x36c37e=_0x3c60[_0x39ffc8];return _0x36c37e;};import{Plugin as _0x408ddc}from'ckeditor5/src/core';import{getTranslation as _0x3a3559}from'../utils/common-translations';import{getRangesWithAttribute as _0x98a158}from'./utils';export default class K extends _0x408ddc{[_0x36c3('0x9')](){const _0x4f459c=this[_0x36c3('0x12')];if(!_0x4f459c[_0x36c3('0xa')]['has'](_0x36c3('0x0')))return;const _0x351e95=_0x4f459c[_0x36c3('0xa')][_0x36c3('0x1f')](_0x36c3('0x1c'));_0x351e95[_0x36c3('0x1d')]('highlight',(_0x2eca17,_0x16e957={})=>{const _0x3f0c4a=_0x4f459c[_0x36c3('0x5')][_0x36c3('0x13')]['selection'],_0x50ddf9=_0x3f0c4a[_0x36c3('0x10')](_0x36c3('0x1a'));let _0x5e7415=_0x16e957[_0x36c3('0x1')],_0x4630c9=[];if(_0x3f0c4a['isCollapsed']){const _0x38307e=_0x3f0c4a[_0x36c3('0x14')]();if(!_0x3f0c4a[_0x36c3('0x4')]('highlight'))return void _0x2eca17(_0x16e957);{const _0x3af205=_0x1232eb=>_0x1232eb[_0x36c3('0xb')][_0x36c3('0x10')]('highlight')===_0x50ddf9,_0xf3ace1=_0x38307e['getLastMatchingPosition'](_0x3af205,{'direction':_0x36c3('0x1b')}),_0x25c0a8=_0x38307e[_0x36c3('0x20')](_0x3af205);_0x4630c9=[_0x4f459c[_0x36c3('0x5')][_0x36c3('0x8')](_0xf3ace1,_0x25c0a8)],_0x5e7415==_0x50ddf9&&(_0x5e7415=null);}}else for(const _0x3e0f3b of _0x3f0c4a[_0x36c3('0x7')]())_0x5e7415?_0x4630c9[_0x36c3('0x21')](_0x3e0f3b):_0x4630c9[_0x36c3('0x21')](..._0x98a158(_0x36c3('0x1a'),_0x3e0f3b,_0x4f459c[_0x36c3('0x5')]));_0x4f459c[_0x36c3('0x5')][_0x36c3('0x11')](()=>{for(const _0x20ed5f of _0x4630c9)_0x351e95[_0x36c3('0xf')](_0x20ed5f,{'commandName':_0x36c3('0x1a'),'commandParams':[{'value':_0x5e7415}]});});});const _0x1e8238=_0x4f459c['locale'];_0x351e95[_0x36c3('0xc')]['registerDescriptionCallback'](_0x1d045d=>{const {type:_0x52e496,data:_0x5b2964}=_0x1d045d;if(_0x36c3('0x3')==_0x52e496&&_0x5b2964&&_0x36c3('0x1a')==_0x5b2964['commandName']){const _0x20e2ef=_0x1e8238['t'],_0x1c4f3c=_0x5b2964['commandParams'][0x0][_0x36c3('0x1')];if(_0x1c4f3c){const _0x48af96=_0x4f459c[_0x36c3('0x6')][_0x36c3('0x1f')](_0x36c3('0x15'))[_0x36c3('0x18')](_0x8c4e53=>_0x8c4e53[_0x36c3('0x5')]==_0x1c4f3c),_0x48308e=_0x20e2ef(_0x48af96[_0x36c3('0x2')])[_0x36c3('0x1e')]();return{'type':_0x36c3('0xe'),'content':_0x3a3559(_0x1e8238,_0x36c3('0x16'),_0x48308e),'color':{'value':_0x48af96[_0x36c3('0x17')],'title':_0x48af96[_0x36c3('0x2')]}};}return{'type':_0x36c3('0xe'),'content':_0x3a3559(_0x1e8238,_0x36c3('0x19'),_0x3a3559(_0x1e8238,_0x36c3('0xd')))};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3519=['insert','dataDowncast','afterInit','_descriptionFactory','high','get','addClass','createPositionAt','editor','horizontalLine','HorizontalLineEditing','plugins','createContainerElement','locale','ELEMENT_HORIZONTAL_LINE','createEmptyElement','registerElementLabel','conversion','for','div','enableCommand','showSuggestionHighlights','elementToStructure'];(function(_0x2b3937,_0x351968){const _0x524b06=function(_0x15181a){while(--_0x15181a){_0x2b3937['push'](_0x2b3937['shift']());}};_0x524b06(++_0x351968);}(_0x3519,0x119));const _0x524b=function(_0x2b3937,_0x351968){_0x2b3937=_0x2b3937-0x0;let _0x524b06=_0x3519[_0x2b3937];return _0x524b06;};import{Plugin as _0x33d104}from'ckeditor5/src/core';import{getTranslation as _0x49ac8e}from'../utils/common-translations';export default class Q extends _0x33d104{[_0x524b('0x14')](){const _0x403dde=this[_0x524b('0x3')];if(!_0x403dde[_0x524b('0x6')]['has'](_0x524b('0x5')))return;_0x403dde['plugins'][_0x524b('0x0')]('TrackChangesEditing')[_0x524b('0xf')]('horizontalLine');const _0x1263e3=_0x403dde[_0x524b('0x6')][_0x524b('0x0')]('TrackChangesEditing'),_0x4468dd=_0x403dde[_0x524b('0x8')];_0x1263e3[_0x524b('0x15')][_0x524b('0xb')](_0x524b('0x4'),_0x446255=>_0x49ac8e(_0x4468dd,_0x524b('0x9'),_0x446255)),_0x403dde[_0x524b('0xc')][_0x524b('0xd')](_0x524b('0x13'))[_0x524b('0x11')]({'model':'horizontalLine','view':(_0x5069e9,{writer:_0x5e0e57,options:_0x532768})=>{if(!_0x532768[_0x524b('0x10')])return null;const _0x439644=_0x5e0e57[_0x524b('0x7')](_0x524b('0xe')),_0x5a9ec5=_0x5e0e57[_0x524b('0xa')]('hr');return _0x5e0e57[_0x524b('0x1')]('ck-horizontal-line',_0x439644),_0x5e0e57[_0x524b('0x12')](_0x5e0e57[_0x524b('0x2')](_0x439644,0x0),_0x5a9ec5),_0x439644;},'converterPriority':_0x524b('0x16')});}}
23
+ const _0x1d18=['createContainerElement','editor','createPositionAt','has','HorizontalLineEditing','dataDowncast','addClass','insert','plugins','afterInit','ELEMENT_HORIZONTAL_LINE','TrackChangesEditing','showSuggestionHighlights','horizontalLine','enableCommand','registerElementLabel','elementToStructure','get','high'];(function(_0x666e4,_0x1d1822){const _0x5ce0e1=function(_0x25d774){while(--_0x25d774){_0x666e4['push'](_0x666e4['shift']());}};_0x5ce0e1(++_0x1d1822);}(_0x1d18,0x65));const _0x5ce0=function(_0x666e4,_0x1d1822){_0x666e4=_0x666e4-0x0;let _0x5ce0e1=_0x1d18[_0x666e4];return _0x5ce0e1;};import{Plugin as _0x429362}from'ckeditor5/src/core';import{getTranslation as _0x5060a8}from'../utils/common-translations';export default class Q extends _0x429362{[_0x5ce0('0x3')](){const _0x1aae66=this[_0x5ce0('0xe')];if(!_0x1aae66[_0x5ce0('0x2')][_0x5ce0('0x10')](_0x5ce0('0x11')))return;_0x1aae66['plugins'][_0x5ce0('0xb')](_0x5ce0('0x5'))[_0x5ce0('0x8')](_0x5ce0('0x7'));const _0x5aa1b3=_0x1aae66[_0x5ce0('0x2')][_0x5ce0('0xb')](_0x5ce0('0x5')),_0x14f237=_0x1aae66['locale'];_0x5aa1b3['_descriptionFactory'][_0x5ce0('0x9')](_0x5ce0('0x7'),_0x39bd22=>_0x5060a8(_0x14f237,_0x5ce0('0x4'),_0x39bd22)),_0x1aae66['conversion']['for'](_0x5ce0('0x12'))[_0x5ce0('0xa')]({'model':'horizontalLine','view':(_0x312e06,{writer:_0x9bfd7d,options:_0x34d959})=>{if(!_0x34d959[_0x5ce0('0x6')])return null;const _0x38596e=_0x9bfd7d[_0x5ce0('0xd')]('div'),_0x285c79=_0x9bfd7d['createEmptyElement']('hr');return _0x9bfd7d[_0x5ce0('0x0')]('ck-horizontal-line',_0x38596e),_0x9bfd7d[_0x5ce0('0x1')](_0x9bfd7d[_0x5ce0('0xf')](_0x38596e,0x0),_0x285c79),_0x38596e;},'converterPriority':_0x5ce0('0xc')});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4d63=['view','markBlockFormat','format','htmlEmbed','selection','has','registerElementLabel','registerDescriptionCallback','TrackChangesEditing','getAttribute','enableCommand','HtmlEmbed','_descriptionFactory','get','ELEMENT_HTML_EMBED','getSelectedElement','model','rawHtml','document','change','*Change\x20%0\x20content*','afterInit','editor'];(function(_0x10e23c,_0x4d6305){const _0x5e9098=function(_0x13084f){while(--_0x13084f){_0x10e23c['push'](_0x10e23c['shift']());}};_0x5e9098(++_0x4d6305);}(_0x4d63,0xaa));const _0x5e90=function(_0x10e23c,_0x4d6305){_0x10e23c=_0x10e23c-0x0;let _0x5e9098=_0x4d63[_0x10e23c];return _0x5e9098;};import{Plugin as _0x5bf7a3}from'ckeditor5/src/core';import{getTranslation as _0x1cb72d}from'../utils/common-translations';export default class V extends _0x5bf7a3{[_0x5e90('0xc')](){const _0xf8de4c=this[_0x5e90('0xd')];if(!_0xf8de4c['plugins'][_0x5e90('0x13')](_0x5e90('0x2')))return;const _0x46aa90=_0xf8de4c['plugins'][_0x5e90('0x4')](_0x5e90('0x16')),_0x20ed36=_0xf8de4c['locale'],_0x46a7b1=_0xf8de4c['editing'][_0x5e90('0xe')][_0x5e90('0x9')][_0x5e90('0x12')];_0x46aa90[_0x5e90('0x3')][_0x5e90('0x14')](_0x5e90('0x8'),_0x5573fe=>_0x1cb72d(_0x20ed36,_0x5e90('0x5'),_0x5573fe)),_0xf8de4c['plugins'][_0x5e90('0x4')](_0x5e90('0x16'))[_0x5e90('0x1')](_0x5e90('0x11'),(_0x2cc703,_0x17447f)=>{const _0x198fac=_0xf8de4c[_0x5e90('0x7')],_0x24e4f7=_0x198fac[_0x5e90('0x9')][_0x5e90('0x12')];_0x198fac[_0x5e90('0xa')](()=>{const _0x12f5ea=function(_0x1c663d){const _0x55f8f8=_0x1c663d['getSelectedElement']();if(_0x55f8f8&&_0x55f8f8['is']('element',_0x5e90('0x8')))return _0x1c663d[_0x5e90('0x6')]();return null;}(_0x24e4f7);if(!_0x12f5ea)return void _0x2cc703(null);const _0x3c5945=_0x12f5ea[_0x5e90('0x0')]('value')||'';if(void 0x0===_0x17447f)return;if(_0x17447f===_0x3c5945)return;_0x46aa90[_0x5e90('0xf')](_0x12f5ea,{'commandName':_0x5e90('0x11'),'commandParams':[_0x17447f]}),_0x46a7b1[_0x5e90('0x6')]()['getCustomProperty']('rawHtmlApi')['cancel']();});}),_0x46aa90['_descriptionFactory'][_0x5e90('0x15')](_0x457797=>{const {data:_0x6e64d4}=_0x457797;if(_0x6e64d4&&_0x5e90('0x11')==_0x6e64d4['commandName']){const _0x316e2e=_0x1cb72d(_0x20ed36,_0x5e90('0x5'));return{'type':_0x5e90('0x10'),'content':_0x1cb72d(_0x20ed36,_0x5e90('0xb'),_0x316e2e)};}});}}
23
+ const _0x21b4=['ELEMENT_HTML_EMBED','_descriptionFactory','TrackChangesEditing','commandName','view','markBlockFormat','selection','getCustomProperty','get','rawHtmlApi','model','element','HtmlEmbed','getSelectedElement','editing','htmlEmbed','document','editor','*Change\x20%0\x20content*','locale','registerElementLabel','change','format','plugins','value','rawHtml'];(function(_0x188122,_0x21b49a){const _0x59dee2=function(_0x3203bf){while(--_0x3203bf){_0x188122['push'](_0x188122['shift']());}};_0x59dee2(++_0x21b49a);}(_0x21b4,0xcb));const _0x59de=function(_0x188122,_0x21b49a){_0x188122=_0x188122-0x0;let _0x59dee2=_0x21b4[_0x188122];return _0x59dee2;};import{Plugin as _0x235bae}from'ckeditor5/src/core';import{getTranslation as _0x1adc5b}from'../utils/common-translations';export default class V extends _0x235bae{['afterInit'](){const _0x5b605a=this[_0x59de('0x16')];if(!_0x5b605a[_0x59de('0x2')]['has'](_0x59de('0x11')))return;const _0x334398=_0x5b605a[_0x59de('0x2')][_0x59de('0xd')](_0x59de('0x7')),_0x5529bd=_0x5b605a[_0x59de('0x18')],_0x499bf3=_0x5b605a[_0x59de('0x13')][_0x59de('0x9')]['document'][_0x59de('0xb')];_0x334398[_0x59de('0x6')][_0x59de('0x19')](_0x59de('0x4'),_0x5d7169=>_0x1adc5b(_0x5529bd,_0x59de('0x5'),_0x5d7169)),_0x5b605a[_0x59de('0x2')][_0x59de('0xd')](_0x59de('0x7'))['enableCommand']('htmlEmbed',(_0x37d5a5,_0x2dd7ad)=>{const _0x5ebeb0=_0x5b605a[_0x59de('0xf')],_0x33e30c=_0x5ebeb0[_0x59de('0x15')][_0x59de('0xb')];_0x5ebeb0[_0x59de('0x0')](()=>{const _0x1958ce=function(_0x45241c){const _0x251393=_0x45241c[_0x59de('0x12')]();if(_0x251393&&_0x251393['is'](_0x59de('0x10'),_0x59de('0x4')))return _0x45241c[_0x59de('0x12')]();return null;}(_0x33e30c);if(!_0x1958ce)return void _0x37d5a5(null);const _0x57e991=_0x1958ce['getAttribute'](_0x59de('0x3'))||'';if(void 0x0===_0x2dd7ad)return;if(_0x2dd7ad===_0x57e991)return;_0x334398[_0x59de('0xa')](_0x1958ce,{'commandName':_0x59de('0x14'),'commandParams':[_0x2dd7ad]}),_0x499bf3[_0x59de('0x12')]()[_0x59de('0xc')](_0x59de('0xe'))['cancel']();});}),_0x334398[_0x59de('0x6')]['registerDescriptionCallback'](_0x434671=>{const {data:_0x11c01b}=_0x434671;if(_0x11c01b&&_0x59de('0x14')==_0x11c01b[_0x59de('0x8')]){const _0x4d55ba=_0x1adc5b(_0x5529bd,_0x59de('0x5'));return{'type':_0x59de('0x1'),'content':_0x1adc5b(_0x5529bd,_0x59de('0x17'),_0x4d55ba)};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x209a=['imageInline','has','commandName','*Set\x20image\x20text\x20alternative:*\x20%0','deletion','differ','detach','isBefore','normalizedStyles','previous','plugins','getClosestSelectedImageElement','commandReversedParams','hasSuggestion','_splitMarkerName','findIndex','Users','ImageResize','ImageUtils','isBlockImage','addObject','forEach','ImageCaptionEditing','ELEMENT_IMAGE','find','enableCommand','document','chain','suggestion','_descriptionFactory','registerCustomCallback','subType','isInContent','shouldConvertImageType','fromPosition','get','createRange','TrackChangesEditing','side','isInlineImage','start','end','element','formatInline','insertImage','change','getSuggestion','afterInit','join','alt','getContainedElement','next','convertInlineImageToBlock','ELEMENT_CAPTION','getNearestSelectionRange','ImageEditing','imageTextAlternative','author','Inline\x20image\x20to\x20block\x20image','caption','isIntersecting','imageBlock','nodeBefore','hasAttribute','createRangeOn','format','isCollapsed','backward','ImageUploadEditing','from','filter','imageStyle','commands','refresh','head','insertion','selection','discardSuggestion','resizeImage','toggleImageCaption','registerDescriptionCallback','imageStylePreApply','locale','length','schema','model','newRange','markInsertion','imageTypeBlock','imageCaption','getAttribute','imageTypeInline','registerPostFixer','commandParams','*Set\x20image\x20width:*\x20%0','isEqual','title','ImageStyleEditing','discard','imageStylePostApply','convertBlockImageToInline','markDeletion','getSuggestionCallback','name','isOwn','value','uploadImage','newValue','ImageInlineEditing','registerElementLabel','getFirstRange','markInlineFormat','formatBlock','_suggestionFactory','width','accept','markBlockFormat','_findSuggestions','Block\x20image\x20to\x20inline\x20image','type'];(function(_0x505cf2,_0x209a89){const _0x4e2321=function(_0x1cfb11){while(--_0x1cfb11){_0x505cf2['push'](_0x505cf2['shift']());}};_0x4e2321(++_0x209a89);}(_0x209a,0x1b5));const _0x4e23=function(_0x505cf2,_0x209a89){_0x505cf2=_0x505cf2-0x0;let _0x4e2321=_0x209a[_0x505cf2];return _0x4e2321;};import{Plugin as _0x41771e}from'ckeditor5/src/core';import{LivePosition as _0x18d101}from'ckeditor5/src/engine';import{uid as _0x3438b0}from'ckeditor5/src/utils';import{getTranslation as _0xa770f6}from'../utils/common-translations';export default class X extends _0x41771e{[_0x4e23('0x5a')](){const _0x4c1c28=this['editor'];if(!_0x4c1c28[_0x4e23('0x35')]['has'](_0x4e23('0x62')))return;const _0x5a3c29=_0x4c1c28['plugins'][_0x4e23('0x4e')](_0x4e23('0x50')),_0x2c16a8=_0x4c1c28[_0x4e23('0x35')][_0x4e23('0x4e')](_0x4e23('0x3d')),_0x4f69da={},_0x4c636f=_0x4c1c28[_0x4e23('0x5')];if(_0x5a3c29[_0x4e23('0x44')](_0x4e23('0x57')),_0x5a3c29[_0x4e23('0x48')][_0x4e23('0x20')](_0x4e23('0x68'),_0x523ca3=>_0xa770f6(_0x4c636f,_0x4e23('0x42'),_0x523ca3)),_0x5a3c29[_0x4e23('0x48')][_0x4e23('0x20')](_0x4e23('0x2b'),_0xbe80c6=>_0xa770f6(_0x4c636f,'ELEMENT_INLINE_IMAGE',_0xbe80c6)),_0x5a3c29[_0x4e23('0x48')][_0x4e23('0x20')](_0x4e23('0x66'),()=>_0xa770f6(_0x4c636f,_0x4e23('0x60'))),_0x4c1c28['plugins']['has'](_0x4e23('0x6f'))&&_0x5a3c29[_0x4e23('0x44')](_0x4e23('0x1d')),_0x4c1c28['plugins']['has']('ImageBlockEditing')&&_0x4c1c28['plugins'][_0x4e23('0x2c')](_0x4e23('0x1f'))&&(_0x5a3c29[_0x4e23('0x44')](_0x4e23('0xe'),(_0x4993e0,_0x5c6ef4)=>{const _0xcf1932=_0x2c16a8[_0x4e23('0x36')](_0x4c1c28['model'][_0x4e23('0x45')][_0x4e23('0x77')]);_0x4c1c28[_0x4e23('0x8')][_0x4e23('0x58')](()=>{_0x5a3c29[_0x4e23('0x27')](_0xcf1932,{'commandName':_0x4e23('0xe'),'commandParams':[_0x5c6ef4]},[],_0x4e23('0x17'));});}),_0x5a3c29[_0x4e23('0x44')](_0x4e23('0xb'),(_0x541130,_0x577341)=>{_0x4c1c28['model'][_0x4e23('0x58')](_0xfb2e87=>{let _0x3fb117=_0x2c16a8[_0x4e23('0x36')](_0x4c1c28[_0x4e23('0x8')][_0x4e23('0x45')][_0x4e23('0x77')]),_0x508efc=_0xfb2e87[_0x4e23('0x6b')](_0x3fb117);const _0x2370e8=_0x18d101[_0x4e23('0x4d')](_0x508efc[_0x4e23('0x53')],'toPrevious'),_0x5cc164=_0x18d101[_0x4e23('0x4d')](_0x508efc[_0x4e23('0x54')],'toNext');_0x5a3c29['forceDefaultExecution'](()=>_0x541130(_0x577341)),_0x3fb117=_0x2c16a8[_0x4e23('0x36')](_0x4c1c28[_0x4e23('0x8')][_0x4e23('0x45')][_0x4e23('0x77')]),_0x508efc=_0xfb2e87['createRangeOn'](_0x3fb117);const _0x27f0f0=_0xfb2e87[_0x4e23('0x4f')](_0x2370e8,_0x5cc164);_0x2370e8[_0x4e23('0x31')](),_0x5cc164[_0x4e23('0x31')](),_0x5a3c29[_0x4e23('0x27')](_0x3fb117,{'commandName':_0x4e23('0xe'),'commandParams':[]},[],'convertInlineImageToBlock'),_0x27f0f0[_0x4e23('0x53')][_0x4e23('0x32')](_0x508efc['start'])&&_0x5a3c29[_0x4e23('0xa')](_0xfb2e87[_0x4e23('0x4f')](_0x27f0f0['start'],_0x508efc[_0x4e23('0x53')]),_0x4e23('0x5f')),_0x508efc[_0x4e23('0x54')][_0x4e23('0x32')](_0x27f0f0[_0x4e23('0x54')])&&_0x5a3c29[_0x4e23('0xa')](_0xfb2e87[_0x4e23('0x4f')](_0x508efc[_0x4e23('0x54')],_0x27f0f0['end']),_0x4e23('0x5f'));});}),_0x5a3c29[_0x4e23('0x24')][_0x4e23('0x49')]('formatBlock',_0x4e23('0x5f'),_0x4e23('0x5b'),()=>!0x1),_0x5a3c29[_0x4e23('0x24')][_0x4e23('0x49')](_0x4e23('0x23'),_0x4e23('0x5f'),_0x4e23('0x26'),()=>!0x1),_0x5a3c29[_0x4e23('0x24')][_0x4e23('0x49')]('formatBlock',_0x4e23('0x5f'),_0x4e23('0x15'),_0x5a3c29['_suggestionFactory']['getSuggestionCallback']('formatBlock','',_0x4e23('0x26'))),_0x5a3c29[_0x4e23('0x24')][_0x4e23('0x49')]('insertion',_0x4e23('0x5f'),_0x4e23('0x5b'),()=>!0x1),_0x5a3c29['_suggestionFactory'][_0x4e23('0x49')]('insertion',_0x4e23('0x5f'),'discard',([_0x321489])=>{const _0xfb82da=_0x5a3c29[_0x4e23('0x24')][_0x4e23('0x19')]('insertion','','discard');let _0x3e49fd=_0x321489['start'],_0x46fa55=_0x321489[_0x4e23('0x54')];const _0x2ecb5a=_0x4c1c28[_0x4e23('0x8')]['schema'][_0x4e23('0x61')](_0x3e49fd,_0x4e23('0x6e')),_0x42fbea=_0x4c1c28[_0x4e23('0x8')][_0x4e23('0x7')][_0x4e23('0x61')](_0x46fa55,'forward');_0x2ecb5a['isCollapsed']&&(_0x3e49fd=_0x2ecb5a['start']),_0x42fbea[_0x4e23('0x6d')]&&(_0x46fa55=_0x42fbea[_0x4e23('0x54')]),_0xfb82da([_0x4c1c28['model'][_0x4e23('0x4f')](_0x3e49fd,_0x46fa55)]);}),_0x5a3c29['_suggestionFactory']['registerCustomCallback'](_0x4e23('0x23'),_0x4e23('0x5f'),_0x4e23('0x46'),_0x2c5490),_0x5a3c29[_0x4e23('0x24')][_0x4e23('0x49')](_0x4e23('0x76'),_0x4e23('0x5f'),_0x4e23('0x46'),_0x2c5490)),_0x4c1c28[_0x4e23('0x35')][_0x4e23('0x2c')](_0x4e23('0x41'))&&(_0x5a3c29['enableCommand'](_0x4e23('0x2'),(_0x7f994c,_0x38ec77)=>{const _0xcbeac=_0x4c1c28[_0x4e23('0x35')][_0x4e23('0x4e')]('ImageCaptionUtils');let _0x537ce6=_0x2c16a8['getClosestSelectedImageElement'](_0x4c1c28[_0x4e23('0x8')][_0x4e23('0x45')][_0x4e23('0x77')]),_0x3a02d6=_0xcbeac['getCaptionFromImageModelElement'](_0x537ce6);_0x4c1c28[_0x4e23('0x8')][_0x4e23('0x58')](()=>{if(_0x3a02d6)return void _0x5a3c29[_0x4e23('0x18')](_0x4c1c28[_0x4e23('0x8')][_0x4e23('0x6b')](_0x3a02d6));const _0x2013b6=_0x2c16a8[_0x4e23('0x3e')](_0x537ce6);_0x7f994c(_0x38ec77),_0x537ce6=_0x2c16a8[_0x4e23('0x36')](_0x4c1c28[_0x4e23('0x8')][_0x4e23('0x45')][_0x4e23('0x77')]),_0x3a02d6=_0xcbeac['getCaptionFromImageModelElement'](_0x537ce6),_0x5a3c29[_0x4e23('0xa')](_0x4c1c28[_0x4e23('0x8')]['createRangeOn'](_0x3a02d6),_0x2013b6?null:'imageCaption');});}),_0x5a3c29[_0x4e23('0x24')][_0x4e23('0x49')]('insertion','imageCaption',_0x4e23('0x46'),_0x2c5490)),_0x4c1c28[_0x4e23('0x35')][_0x4e23('0x2c')]('ImageStyleEditing')){_0x5a3c29['enableCommand'](_0x4e23('0x72'),(_0x522146,_0x3b0dae)=>{const _0x4cb30f=_0x4c1c28[_0x4e23('0x35')]['get'](_0x4e23('0x3b'))['me'],_0x2d88d2=_0x4c1c28[_0x4e23('0x73')][_0x4e23('0x4e')](_0x4e23('0x72'));let _0x34974b=_0x2c16a8[_0x4e23('0x36')](_0x4c1c28[_0x4e23('0x8')][_0x4e23('0x45')][_0x4e23('0x77')]),_0x3461c0=_0x4c1c28['model'][_0x4e23('0x6b')](_0x34974b),_0x47fd4a=_0x2d88d2[_0x4e23('0x1c')];if(_0x47fd4a==_0x3b0dae['value'])return;const _0x51d33f={'commandName':_0x4e23('0x72'),'commandParams':[_0x3b0dae],'formatGroupId':_0x3438b0()};_0x4c1c28['model'][_0x4e23('0x58')](()=>{if(_0x5a3c29['getSuggestions']()[_0x4e23('0x71')](_0x1c63b9=>_0x1c63b9[_0x4e23('0x4b')]&&_0x4cb30f==_0x1c63b9[_0x4e23('0x64')]&&('formatBlock'==_0x1c63b9['type']||_0x4e23('0x56')==_0x1c63b9[_0x4e23('0x2a')])&&(_0x4e23('0x4')==_0x1c63b9[_0x4e23('0x4a')]||_0x4e23('0x16')==_0x1c63b9['subType'])&&_0x1c63b9['getFirstRange']()[_0x4e23('0x12')](_0x3461c0))[_0x4e23('0x40')](_0x18eeab=>_0x5a3c29[_0x4e23('0x0')](_0x18eeab[_0x4e23('0x75')])),_0x34974b=_0x2c16a8[_0x4e23('0x36')](_0x4c1c28[_0x4e23('0x8')][_0x4e23('0x45')]['selection']),_0x3461c0=_0x4c1c28[_0x4e23('0x8')][_0x4e23('0x6b')](_0x34974b),_0x2d88d2[_0x4e23('0x74')](),_0x4c1c28['commands']['get'](_0x4e23('0xe'))['refresh'](),_0x4c1c28['commands']['get'](_0x4e23('0xb'))[_0x4e23('0x74')](),_0x47fd4a=_0x2d88d2[_0x4e23('0x1c')],_0x47fd4a!=_0x3b0dae[_0x4e23('0x1c')])return _0x2c16a8[_0x4e23('0x52')](_0x34974b)&&_0x2d88d2[_0x4e23('0x4c')](_0x3b0dae['value'],_0x34974b)?(_0x522146(_0x3b0dae),_0x34974b=_0x2c16a8[_0x4e23('0x36')](_0x4c1c28[_0x4e23('0x8')]['document'][_0x4e23('0x77')]),void _0x5a3c29[_0x4e23('0x27')](_0x34974b,{..._0x51d33f,'commandReversedParams':[{'value':_0x47fd4a||null}]},[],'imageStylePreApply')):void(_0x2c16a8[_0x4e23('0x3e')](_0x34974b)?_0x5a3c29[_0x4e23('0x27')](_0x34974b,_0x51d33f,[],_0x4e23('0x16')):_0x5a3c29[_0x4e23('0x22')](_0x3461c0,_0x51d33f,_0x4e23('0x16')));});});for(const _0x5a84c7 of _0x4c1c28[_0x4e23('0x35')][_0x4e23('0x4e')](_0x4e23('0x14'))[_0x4e23('0x33')])_0x4f69da[_0x5a84c7[_0x4e23('0x1a')]]=_0x5a84c7[_0x4e23('0x13')]['toLowerCase']();_0x5a3c29[_0x4e23('0x24')][_0x4e23('0x49')]('formatBlock',_0x4e23('0x4'),_0x4e23('0x5b'),()=>!0x1),_0x5a3c29[_0x4e23('0x24')][_0x4e23('0x49')](_0x4e23('0x23'),_0x4e23('0x16'),_0x4e23('0x5b'),()=>!0x1),_0x5a3c29[_0x4e23('0x24')]['registerCustomCallback'](_0x4e23('0x56'),_0x4e23('0x16'),'join',()=>!0x1),_0x5a3c29['_suggestionFactory']['registerCustomCallback'](_0x4e23('0x23'),'imageStylePreApply',_0x4e23('0x26'),()=>!0x1),_0x5a3c29[_0x4e23('0x24')][_0x4e23('0x49')]('formatBlock',_0x4e23('0x4'),'discard',(_0x9f323d,_0x516767)=>{_0x5a3c29[_0x4e23('0x24')]['getSuggestionCallback'](_0x4e23('0x23'),'',_0x4e23('0x26'))(_0x9f323d,{'commandName':_0x516767[_0x4e23('0x2d')],'commandParams':_0x516767[_0x4e23('0x37')]});}),_0x5a3c29[_0x4e23('0x24')][_0x4e23('0x49')]('formatBlock',_0x4e23('0x4'),_0x4e23('0x46'),_0x2c5490);}const _0x25705f=[{'type':_0x4e23('0x23'),'subType':_0x4e23('0x4')},{'type':_0x4e23('0x76'),'subType':'imageCaption'},{'type':_0x4e23('0x23'),'subType':_0x4e23('0x5f')},{'type':_0x4e23('0x76'),'subType':_0x4e23('0x5f')}];function _0x4995ef(_0x557ef9,_0x5bb532){const _0x2e00a3=_0x25705f[_0x4e23('0x3a')](({type:_0x5a910b,subType:_0x4236a9})=>_0x557ef9[_0x4e23('0x2a')]==_0x5a910b&&_0x557ef9[_0x4e23('0x4a')]==_0x4236a9),_0x4b1069=_0x25705f[_0x4e23('0x3a')](({type:_0x3fa641,subType:_0x4740ee})=>_0x5bb532[_0x4e23('0x2a')]==_0x3fa641&&_0x5bb532[_0x4e23('0x4a')]==_0x4740ee);if(_0x2e00a3<0x0||_0x4b1069<0x0)return!0x1;const _0xf52619=_0x557ef9[_0x4e23('0x21')](),_0x53f7b1=_0x5bb532['getFirstRange']();if((0x0==_0x2e00a3||0x1==_0x2e00a3)&&0x2==_0x4b1069&&_0xf52619[_0x4e23('0x67')](_0x53f7b1))return!0x0;if(0x2==_0x2e00a3&&0x3==_0x4b1069){const _0x42d060=_0x5a3c29[_0x4e23('0x28')](_0xf52619,_0x4e23('0x76'))['filter'](({suggestion:_0x5385b6,meta:_0x4e590c})=>_0x4e590c[_0x4e23('0x1b')]&&_0x4e23('0x5f')==_0x5385b6[_0x4e23('0x4a')]);if(_0x42d060[_0x4e23('0x6')]>0x1&&_0x53f7b1['end']['isEqual'](_0xf52619[_0x4e23('0x53')]))return!0x0;if(0x1==_0x42d060[_0x4e23('0x6')]&&(_0xf52619['start']['isEqual'](_0x53f7b1[_0x4e23('0x54')])||_0xf52619['end'][_0x4e23('0x12')](_0x53f7b1['start'])))return!0x0;}if(0x3==_0x2e00a3&&0x3==_0x4b1069&&_0xf52619[_0x4e23('0x53')][_0x4e23('0x32')](_0x53f7b1[_0x4e23('0x53')])){const _0x15e98e=_0xf52619[_0x4e23('0x54')]['nodeAfter'],_0x1f3f82=_0x53f7b1['start'][_0x4e23('0x69')];return _0x2c16a8[_0x4e23('0x3e')](_0x15e98e)&&_0x15e98e===_0x1f3f82;}return!0x1;}function _0x2c5490(_0x79623c,_0x547d0e){return _0x4995ef(_0x79623c,_0x547d0e)?[_0x79623c,_0x547d0e]:_0x4995ef(_0x547d0e,_0x79623c)?[_0x547d0e,_0x79623c]:null;}_0x4c1c28[_0x4e23('0x8')][_0x4e23('0x45')][_0x4e23('0xf')](()=>{let _0x1dbf01=!0x1;const _0x259ace=Array[_0x4e23('0x70')](_0x4c1c28['model'][_0x4e23('0x45')][_0x4e23('0x30')]['getChangedMarkers']());for(const {name:_0x311cbd,data:_0x56a3f9}of _0x259ace){const {group:_0x5b8114,type:_0x1a4847,subType:_0x5bbc3b,id:_0x5a8580}=_0x5a3c29[_0x4e23('0x39')](_0x311cbd);if(_0x4e23('0x47')==_0x5b8114&&_0x5a3c29[_0x4e23('0x38')](_0x5a8580)){if(_0x4e23('0x23')==_0x1a4847&&(_0x4e23('0x4')==_0x5bbc3b||_0x4e23('0x16')==_0x5bbc3b)){const _0x228fc9=_0x5a3c29[_0x4e23('0x59')](_0x5a8580);if(_0x56a3f9[_0x4e23('0x9')]){const _0x1463b4=_0x228fc9[_0x4e23('0x21')]()[_0x4e23('0x5d')]();if(_0x2c16a8[_0x4e23('0x3e')](_0x1463b4))continue;_0x5a3c29['discardSuggestion'](_0x228fc9),_0x1dbf01=!0x0;}}if(_0x4e23('0x76')==_0x1a4847&&_0x4e23('0xc')==_0x5bbc3b&&!_0x56a3f9[_0x4e23('0x9')]){const _0x14cf78=_0x5a3c29[_0x4e23('0x59')](_0x5a8580);_0x14cf78[_0x4e23('0x5e')]&&_0x14cf78['next'][_0x4e23('0x4b')]&&(_0x5a3c29[_0x4e23('0x0')](_0x14cf78[_0x4e23('0x5e')]),_0x1dbf01=!0x0);}}}return _0x1dbf01;}),_0x4c1c28[_0x4e23('0x35')]['has'](_0x4e23('0x3c'))&&_0x5a3c29[_0x4e23('0x44')](_0x4e23('0x1'),(_0x4fdc11,_0x4daeee)=>{const _0x25e4e7=_0x2c16a8[_0x4e23('0x36')](_0x4c1c28[_0x4e23('0x8')][_0x4e23('0x45')]['selection']);_0x25e4e7[_0x4e23('0xd')](_0x4e23('0x25'))!=_0x4daeee[_0x4e23('0x25')]&&_0x4c1c28['model'][_0x4e23('0x58')](()=>{_0x5a3c29['markBlockFormat'](_0x25e4e7,{'commandName':_0x4e23('0x1'),'commandParams':[_0x4daeee]});});}),_0x4c1c28[_0x4e23('0x35')][_0x4e23('0x2c')]('ImageTextAlternativeEditing')&&_0x5a3c29[_0x4e23('0x44')](_0x4e23('0x63'),(_0x167490,_0x3a95f)=>{const _0x3c8846=_0x2c16a8['getClosestSelectedImageElement'](_0x4c1c28[_0x4e23('0x8')][_0x4e23('0x45')]['selection']);(_0x3c8846[_0x4e23('0x6a')](_0x4e23('0x5c'))?_0x3c8846[_0x4e23('0xd')](_0x4e23('0x5c')):'')!=_0x3a95f[_0x4e23('0x1e')]&&_0x4c1c28[_0x4e23('0x8')][_0x4e23('0x58')](()=>{_0x5a3c29[_0x4e23('0x27')](_0x3c8846,{'commandName':'imageTextAlternative','commandParams':[_0x3a95f]});});}),_0x5a3c29[_0x4e23('0x48')][_0x4e23('0x3')](_0x26e639=>{if(!!_0x25705f[_0x4e23('0x43')](({type:_0x28b9e5,subType:_0x5769b5})=>_0x26e639[_0x4e23('0x2a')]==_0x28b9e5&&_0x26e639[_0x4e23('0x4a')]==_0x5769b5))return _0x26e639[_0x4e23('0x34')]?{}:void 0x0;}),_0x5a3c29[_0x4e23('0x48')][_0x4e23('0x3')](_0x58be00=>{if(_0x4e23('0x76')==_0x58be00[_0x4e23('0x2a')]||_0x4e23('0x2f')==_0x58be00[_0x4e23('0x2a')]){const _0x1465d2=_0x58be00[_0x4e23('0x5d')]();if(_0x1465d2&&_0x1465d2['is'](_0x4e23('0x55'),_0x4e23('0x66')))return{'type':'insertion'==_0x58be00['type']?_0x4e23('0x3f'):'removeObject','element':_0x1465d2,'quantity':0x1};}}),_0x5a3c29[_0x4e23('0x48')][_0x4e23('0x3')](_0x113771=>_0x4e23('0x23')==_0x113771['type']&&_0x4e23('0x5f')==_0x113771[_0x4e23('0x4a')]?{'type':_0x4e23('0x6c'),'content':_0x4e23('0x65')}:_0x4e23('0x23')==_0x113771['type']&&_0x4e23('0x17')==_0x113771['subType']?{'type':_0x4e23('0x6c'),'content':_0x4e23('0x29')}:void 0x0),_0x5a3c29['_descriptionFactory'][_0x4e23('0x3')](_0x3a5132=>{const {data:_0x7ce7e3}=_0x3a5132;if(_0x7ce7e3){if(_0x4e23('0x72')==_0x7ce7e3[_0x4e23('0x2d')]){const _0x56451d=_0x7ce7e3[_0x4e23('0x10')][0x0][_0x4e23('0x1c')];return _0x26a100(_0x4e23('0x51')===_0x56451d?_0xa770f6(_0x4c636f,'FORMAT_SIDE_IMAGE'):_0x4f69da[_0x56451d]||_0x56451d);}if(_0x4e23('0x63')==_0x7ce7e3[_0x4e23('0x2d')]){const _0x5d3680=_0x7ce7e3[_0x4e23('0x10')][0x0][_0x4e23('0x1e')];return _0x5d3680?{'type':_0x4e23('0x6c'),'content':_0xa770f6(_0x4c636f,_0x4e23('0x2e'),'\x22'+_0x5d3680+'\x22')}:{'type':_0x4e23('0x6c'),'content':_0xa770f6(_0x4c636f,'*Remove\x20image\x20text\x20alternative*')};}if('resizeImage'==_0x7ce7e3[_0x4e23('0x2d')]){const _0x63b9cc=_0x7ce7e3[_0x4e23('0x10')][0x0][_0x4e23('0x25')];return _0x63b9cc?{'type':_0x4e23('0x6c'),'content':_0xa770f6(_0x4c636f,_0x4e23('0x11'),_0x63b9cc)}:{'type':_0x4e23('0x6c'),'content':_0xa770f6(_0x4c636f,'*Reset\x20image\x20width*')};}}function _0x26a100(_0x47f390){return{'type':_0x4e23('0x6c'),'content':_0xa770f6(_0x4c636f,'*Format:*\x20%0',_0x47f390)};}});}}
23
+ const _0x11cb=['imageStyle','imageBlock','refresh','end','width','ImageEditing','locale','from','addObject','commandReversedParams','ImageInlineEditing','imageTextAlternative','formatBlock','chain','registerCustomCallback','type','alt','getClosestSelectedImageElement','createRangeOn','toLowerCase','Block\x20image\x20to\x20inline\x20image','commands','Inline\x20image\x20to\x20block\x20image','previous','isEqual','find','registerElementLabel','schema','plugins','author','imageTypeBlock','ELEMENT_CAPTION','has','getCaptionFromImageModelElement','fromPosition','insertImage','ImageUploadEditing','isInContent','uploadImage','isCollapsed','enableCommand','*Reset\x20image\x20width*','get','hasAttribute','convertInlineImageToBlock','deletion','toPrevious','accept','ImageBlockEditing','subType','discard','createRange','isBlockImage','ImageUtils','forceDefaultExecution','imageCaption','document','forward','_suggestionFactory','_descriptionFactory','getFirstRange','ImageCaptionUtils','getChangedMarkers','getContainedElement','*Set\x20image\x20width:*\x20%0','name','ImageCaptionEditing','commandName','registerDescriptionCallback','backward','registerPostFixer','model','afterInit','getSuggestions','newRange','suggestion','ImageStyleEditing','getNearestSelectionRange','value','resizeImage','_splitMarkerName','change','markInlineFormat','head','start','isOwn','getAttribute','*Format:*\x20%0','newValue','toNext','isBefore','Users','formatInline','imageStylePostApply','format','join','discardSuggestion','selection','isIntersecting','commandParams','*Set\x20image\x20text\x20alternative:*\x20%0','insertion','imageStylePreApply','findIndex','imageTypeInline','ELEMENT_INLINE_IMAGE','markInsertion','markBlockFormat','markDeletion','convertBlockImageToInline','getSuggestion','TrackChangesEditing','differ','FORMAT_SIDE_IMAGE','length','detach'];(function(_0x520b71,_0x11cb6e){const _0x250c05=function(_0x51e278){while(--_0x51e278){_0x520b71['push'](_0x520b71['shift']());}};_0x250c05(++_0x11cb6e);}(_0x11cb,0x1bc));const _0x250c=function(_0x520b71,_0x11cb6e){_0x520b71=_0x520b71-0x0;let _0x250c05=_0x11cb[_0x520b71];return _0x250c05;};import{Plugin as _0x5e20a2}from'ckeditor5/src/core';import{LivePosition as _0x5ec900}from'ckeditor5/src/engine';import{uid as _0x344be8}from'ckeditor5/src/utils';import{getTranslation as _0x572c3d}from'../utils/common-translations';export default class X extends _0x5e20a2{[_0x250c('0x5c')](){const _0x594421=this['editor'];if(!_0x594421['plugins']['has'](_0x250c('0x19')))return;const _0x55d53=_0x594421[_0x250c('0x30')][_0x250c('0x3e')](_0x250c('0xf')),_0x5af1ee=_0x594421['plugins'][_0x250c('0x3e')](_0x250c('0x49')),_0x552b54={},_0x3fb4d4=_0x594421[_0x250c('0x1a')];if(_0x55d53[_0x250c('0x3c')](_0x250c('0x37')),_0x55d53[_0x250c('0x4f')]['registerElementLabel'](_0x250c('0x15'),_0x545a96=>_0x572c3d(_0x3fb4d4,'ELEMENT_IMAGE',_0x545a96)),_0x55d53[_0x250c('0x4f')][_0x250c('0x2e')]('imageInline',_0x335daa=>_0x572c3d(_0x3fb4d4,_0x250c('0x9'),_0x335daa)),_0x55d53[_0x250c('0x4f')][_0x250c('0x2e')]('caption',()=>_0x572c3d(_0x3fb4d4,_0x250c('0x33'))),_0x594421[_0x250c('0x30')][_0x250c('0x34')](_0x250c('0x38'))&&_0x55d53[_0x250c('0x3c')](_0x250c('0x3a')),_0x594421[_0x250c('0x30')][_0x250c('0x34')](_0x250c('0x44'))&&_0x594421[_0x250c('0x30')][_0x250c('0x34')](_0x250c('0x1e'))&&(_0x55d53[_0x250c('0x3c')](_0x250c('0x8'),(_0x45ead0,_0x3472f8)=>{const _0xee1608=_0x5af1ee[_0x250c('0x25')](_0x594421[_0x250c('0x5b')][_0x250c('0x4c')]['selection']);_0x594421['model'][_0x250c('0x65')](()=>{_0x55d53[_0x250c('0xb')](_0xee1608,{'commandName':_0x250c('0x8'),'commandParams':[_0x3472f8]},[],'convertBlockImageToInline');});}),_0x55d53[_0x250c('0x3c')](_0x250c('0x32'),(_0x44b731,_0x3359dc)=>{_0x594421[_0x250c('0x5b')]['change'](_0x7af5cc=>{let _0x3d7a73=_0x5af1ee['getClosestSelectedImageElement'](_0x594421[_0x250c('0x5b')][_0x250c('0x4c')]['selection']),_0x2cd9c1=_0x7af5cc[_0x250c('0x26')](_0x3d7a73);const _0x228d19=_0x5ec900[_0x250c('0x36')](_0x2cd9c1[_0x250c('0x68')],_0x250c('0x42')),_0x33bb7a=_0x5ec900[_0x250c('0x36')](_0x2cd9c1[_0x250c('0x17')],_0x250c('0x6d'));_0x55d53[_0x250c('0x4a')](()=>_0x44b731(_0x3359dc)),_0x3d7a73=_0x5af1ee['getClosestSelectedImageElement'](_0x594421[_0x250c('0x5b')][_0x250c('0x4c')][_0x250c('0x1')]),_0x2cd9c1=_0x7af5cc['createRangeOn'](_0x3d7a73);const _0x5ba52b=_0x7af5cc[_0x250c('0x47')](_0x228d19,_0x33bb7a);_0x228d19[_0x250c('0x13')](),_0x33bb7a[_0x250c('0x13')](),_0x55d53[_0x250c('0xb')](_0x3d7a73,{'commandName':_0x250c('0x8'),'commandParams':[]},[],_0x250c('0x40')),_0x5ba52b[_0x250c('0x68')][_0x250c('0x6e')](_0x2cd9c1[_0x250c('0x68')])&&_0x55d53[_0x250c('0xa')](_0x7af5cc[_0x250c('0x47')](_0x5ba52b['start'],_0x2cd9c1[_0x250c('0x68')]),'convertInlineImageToBlock'),_0x2cd9c1[_0x250c('0x17')][_0x250c('0x6e')](_0x5ba52b['end'])&&_0x55d53[_0x250c('0xa')](_0x7af5cc[_0x250c('0x47')](_0x2cd9c1[_0x250c('0x17')],_0x5ba52b[_0x250c('0x17')]),_0x250c('0x40'));});}),_0x55d53[_0x250c('0x4e')][_0x250c('0x22')](_0x250c('0x20'),'convertInlineImageToBlock',_0x250c('0x73'),()=>!0x1),_0x55d53[_0x250c('0x4e')][_0x250c('0x22')]('formatBlock','convertInlineImageToBlock',_0x250c('0x43'),()=>!0x1),_0x55d53[_0x250c('0x4e')][_0x250c('0x22')]('formatBlock',_0x250c('0x40'),_0x250c('0x46'),_0x55d53[_0x250c('0x4e')]['getSuggestionCallback']('formatBlock','',_0x250c('0x43'))),_0x55d53[_0x250c('0x4e')][_0x250c('0x22')](_0x250c('0x5'),'convertInlineImageToBlock',_0x250c('0x73'),()=>!0x1),_0x55d53[_0x250c('0x4e')][_0x250c('0x22')]('insertion',_0x250c('0x40'),_0x250c('0x46'),([_0x4d4ef8])=>{const _0x4600d0=_0x55d53[_0x250c('0x4e')]['getSuggestionCallback'](_0x250c('0x5'),'',_0x250c('0x46'));let _0x2c0650=_0x4d4ef8[_0x250c('0x68')],_0x49c6da=_0x4d4ef8[_0x250c('0x17')];const _0x32b9d2=_0x594421[_0x250c('0x5b')]['schema'][_0x250c('0x61')](_0x2c0650,_0x250c('0x59')),_0x66ad53=_0x594421[_0x250c('0x5b')][_0x250c('0x2f')]['getNearestSelectionRange'](_0x49c6da,_0x250c('0x4d'));_0x32b9d2[_0x250c('0x3b')]&&(_0x2c0650=_0x32b9d2[_0x250c('0x68')]),_0x66ad53['isCollapsed']&&(_0x49c6da=_0x66ad53['end']),_0x4600d0([_0x594421['model']['createRange'](_0x2c0650,_0x49c6da)]);}),_0x55d53[_0x250c('0x4e')][_0x250c('0x22')](_0x250c('0x20'),_0x250c('0x40'),'chain',_0x50ff61),_0x55d53[_0x250c('0x4e')][_0x250c('0x22')](_0x250c('0x5'),_0x250c('0x40'),_0x250c('0x21'),_0x50ff61)),_0x594421[_0x250c('0x30')][_0x250c('0x34')](_0x250c('0x56'))&&(_0x55d53[_0x250c('0x3c')]('toggleImageCaption',(_0x224a9b,_0x255f63)=>{const _0x344d89=_0x594421['plugins'][_0x250c('0x3e')](_0x250c('0x51'));let _0x121a8c=_0x5af1ee[_0x250c('0x25')](_0x594421['model'][_0x250c('0x4c')][_0x250c('0x1')]),_0x2a018e=_0x344d89[_0x250c('0x35')](_0x121a8c);_0x594421[_0x250c('0x5b')][_0x250c('0x65')](()=>{if(_0x2a018e)return void _0x55d53[_0x250c('0xc')](_0x594421[_0x250c('0x5b')][_0x250c('0x26')](_0x2a018e));const _0x56ff9d=_0x5af1ee[_0x250c('0x48')](_0x121a8c);_0x224a9b(_0x255f63),_0x121a8c=_0x5af1ee[_0x250c('0x25')](_0x594421[_0x250c('0x5b')][_0x250c('0x4c')][_0x250c('0x1')]),_0x2a018e=_0x344d89[_0x250c('0x35')](_0x121a8c),_0x55d53[_0x250c('0xa')](_0x594421[_0x250c('0x5b')][_0x250c('0x26')](_0x2a018e),_0x56ff9d?null:_0x250c('0x4b'));});}),_0x55d53[_0x250c('0x4e')]['registerCustomCallback']('insertion',_0x250c('0x4b'),_0x250c('0x21'),_0x50ff61)),_0x594421[_0x250c('0x30')][_0x250c('0x34')](_0x250c('0x60'))){_0x55d53['enableCommand'](_0x250c('0x14'),(_0x2e85f3,_0x766c6d)=>{const _0x64e90b=_0x594421[_0x250c('0x30')][_0x250c('0x3e')](_0x250c('0x6f'))['me'],_0x397e8c=_0x594421[_0x250c('0x29')][_0x250c('0x3e')](_0x250c('0x14'));let _0x327737=_0x5af1ee[_0x250c('0x25')](_0x594421[_0x250c('0x5b')][_0x250c('0x4c')][_0x250c('0x1')]),_0x1eae19=_0x594421[_0x250c('0x5b')][_0x250c('0x26')](_0x327737),_0x2e9d32=_0x397e8c[_0x250c('0x62')];if(_0x2e9d32==_0x766c6d[_0x250c('0x62')])return;const _0x48e3ba={'commandName':_0x250c('0x14'),'commandParams':[_0x766c6d],'formatGroupId':_0x344be8()};_0x594421[_0x250c('0x5b')][_0x250c('0x65')](()=>{if(_0x55d53[_0x250c('0x5d')]()['filter'](_0x340906=>_0x340906[_0x250c('0x39')]&&_0x64e90b==_0x340906[_0x250c('0x31')]&&('formatBlock'==_0x340906[_0x250c('0x23')]||'formatInline'==_0x340906[_0x250c('0x23')])&&(_0x250c('0x6')==_0x340906[_0x250c('0x45')]||'imageStylePostApply'==_0x340906[_0x250c('0x45')])&&_0x340906[_0x250c('0x50')]()[_0x250c('0x2c')](_0x1eae19))['forEach'](_0x3c53a2=>_0x55d53['discardSuggestion'](_0x3c53a2[_0x250c('0x67')])),_0x327737=_0x5af1ee[_0x250c('0x25')](_0x594421[_0x250c('0x5b')][_0x250c('0x4c')][_0x250c('0x1')]),_0x1eae19=_0x594421[_0x250c('0x5b')][_0x250c('0x26')](_0x327737),_0x397e8c[_0x250c('0x16')](),_0x594421[_0x250c('0x29')]['get'](_0x250c('0x8'))['refresh'](),_0x594421[_0x250c('0x29')][_0x250c('0x3e')]('imageTypeBlock')[_0x250c('0x16')](),_0x2e9d32=_0x397e8c[_0x250c('0x62')],_0x2e9d32!=_0x766c6d['value'])return _0x5af1ee['isInlineImage'](_0x327737)&&_0x397e8c['shouldConvertImageType'](_0x766c6d[_0x250c('0x62')],_0x327737)?(_0x2e85f3(_0x766c6d),_0x327737=_0x5af1ee['getClosestSelectedImageElement'](_0x594421[_0x250c('0x5b')][_0x250c('0x4c')][_0x250c('0x1')]),void _0x55d53['markBlockFormat'](_0x327737,{..._0x48e3ba,'commandReversedParams':[{'value':_0x2e9d32||null}]},[],_0x250c('0x6'))):void(_0x5af1ee[_0x250c('0x48')](_0x327737)?_0x55d53[_0x250c('0xb')](_0x327737,_0x48e3ba,[],_0x250c('0x71')):_0x55d53[_0x250c('0x66')](_0x1eae19,_0x48e3ba,_0x250c('0x71')));});});for(const _0x263bb6 of _0x594421[_0x250c('0x30')][_0x250c('0x3e')](_0x250c('0x60'))['normalizedStyles'])_0x552b54[_0x263bb6[_0x250c('0x55')]]=_0x263bb6['title'][_0x250c('0x27')]();_0x55d53[_0x250c('0x4e')]['registerCustomCallback'](_0x250c('0x20'),'imageStylePreApply',_0x250c('0x73'),()=>!0x1),_0x55d53[_0x250c('0x4e')][_0x250c('0x22')]('formatBlock',_0x250c('0x71'),_0x250c('0x73'),()=>!0x1),_0x55d53[_0x250c('0x4e')][_0x250c('0x22')](_0x250c('0x70'),'imageStylePostApply',_0x250c('0x73'),()=>!0x1),_0x55d53['_suggestionFactory'][_0x250c('0x22')]('formatBlock',_0x250c('0x6'),_0x250c('0x43'),()=>!0x1),_0x55d53[_0x250c('0x4e')][_0x250c('0x22')](_0x250c('0x20'),_0x250c('0x6'),_0x250c('0x46'),(_0xb67b06,_0x191882)=>{_0x55d53[_0x250c('0x4e')]['getSuggestionCallback'](_0x250c('0x20'),'',_0x250c('0x43'))(_0xb67b06,{'commandName':_0x191882[_0x250c('0x57')],'commandParams':_0x191882[_0x250c('0x1d')]});}),_0x55d53[_0x250c('0x4e')][_0x250c('0x22')]('formatBlock',_0x250c('0x6'),_0x250c('0x21'),_0x50ff61);}const _0x33cc1b=[{'type':'formatBlock','subType':_0x250c('0x6')},{'type':_0x250c('0x5'),'subType':_0x250c('0x4b')},{'type':_0x250c('0x20'),'subType':_0x250c('0x40')},{'type':'insertion','subType':_0x250c('0x40')}];function _0x14497d(_0x3ac82b,_0x541305){const _0x3f0976=_0x33cc1b[_0x250c('0x7')](({type:_0x184e45,subType:_0x579233})=>_0x3ac82b[_0x250c('0x23')]==_0x184e45&&_0x3ac82b['subType']==_0x579233),_0x52a75e=_0x33cc1b[_0x250c('0x7')](({type:_0x421493,subType:_0x1487ef})=>_0x541305[_0x250c('0x23')]==_0x421493&&_0x541305[_0x250c('0x45')]==_0x1487ef);if(_0x3f0976<0x0||_0x52a75e<0x0)return!0x1;const _0xfeb12c=_0x3ac82b['getFirstRange'](),_0x5867cd=_0x541305['getFirstRange']();if((0x0==_0x3f0976||0x1==_0x3f0976)&&0x2==_0x52a75e&&_0xfeb12c[_0x250c('0x2')](_0x5867cd))return!0x0;if(0x2==_0x3f0976&&0x3==_0x52a75e){const _0x12992f=_0x55d53['_findSuggestions'](_0xfeb12c,_0x250c('0x5'))['filter'](({suggestion:_0x21e02e,meta:_0x297f93})=>_0x297f93[_0x250c('0x69')]&&_0x250c('0x40')==_0x21e02e['subType']);if(_0x12992f[_0x250c('0x12')]>0x1&&_0x5867cd[_0x250c('0x17')][_0x250c('0x2c')](_0xfeb12c[_0x250c('0x68')]))return!0x0;if(0x1==_0x12992f[_0x250c('0x12')]&&(_0xfeb12c[_0x250c('0x68')][_0x250c('0x2c')](_0x5867cd['end'])||_0xfeb12c[_0x250c('0x17')][_0x250c('0x2c')](_0x5867cd[_0x250c('0x68')])))return!0x0;}if(0x3==_0x3f0976&&0x3==_0x52a75e&&_0xfeb12c[_0x250c('0x68')][_0x250c('0x6e')](_0x5867cd[_0x250c('0x68')])){const _0x53ebf5=_0xfeb12c[_0x250c('0x17')]['nodeAfter'],_0x56a277=_0x5867cd[_0x250c('0x68')]['nodeBefore'];return _0x5af1ee['isBlockImage'](_0x53ebf5)&&_0x53ebf5===_0x56a277;}return!0x1;}function _0x50ff61(_0x1d9a2a,_0x4cc852){return _0x14497d(_0x1d9a2a,_0x4cc852)?[_0x1d9a2a,_0x4cc852]:_0x14497d(_0x4cc852,_0x1d9a2a)?[_0x4cc852,_0x1d9a2a]:null;}_0x594421[_0x250c('0x5b')][_0x250c('0x4c')][_0x250c('0x5a')](()=>{let _0x22d0e6=!0x1;const _0x272dbe=Array[_0x250c('0x1b')](_0x594421[_0x250c('0x5b')][_0x250c('0x4c')][_0x250c('0x10')][_0x250c('0x52')]());for(const {name:_0x24a233,data:_0xa4e570}of _0x272dbe){const {group:_0x4d4229,type:_0x32a0bc,subType:_0xd16a0e,id:_0x500067}=_0x55d53[_0x250c('0x64')](_0x24a233);if(_0x250c('0x5f')==_0x4d4229&&_0x55d53['hasSuggestion'](_0x500067)){if('formatBlock'==_0x32a0bc&&('imageStylePreApply'==_0xd16a0e||_0x250c('0x71')==_0xd16a0e)){const _0x1d842a=_0x55d53['getSuggestion'](_0x500067);if(_0xa4e570[_0x250c('0x5e')]){const _0x44de68=_0x1d842a[_0x250c('0x50')]()[_0x250c('0x53')]();if(_0x5af1ee[_0x250c('0x48')](_0x44de68))continue;_0x55d53[_0x250c('0x0')](_0x1d842a),_0x22d0e6=!0x0;}}if('insertion'==_0x32a0bc&&'imageCaption'==_0xd16a0e&&!_0xa4e570[_0x250c('0x5e')]){const _0x4f57a8=_0x55d53[_0x250c('0xe')](_0x500067);_0x4f57a8['next']&&_0x4f57a8['next']['isInContent']&&(_0x55d53['discardSuggestion'](_0x4f57a8['next']),_0x22d0e6=!0x0);}}}return _0x22d0e6;}),_0x594421[_0x250c('0x30')]['has']('ImageResize')&&_0x55d53[_0x250c('0x3c')](_0x250c('0x63'),(_0x3e3f5a,_0x456a8d)=>{const _0x638187=_0x5af1ee[_0x250c('0x25')](_0x594421[_0x250c('0x5b')]['document'][_0x250c('0x1')]);_0x638187[_0x250c('0x6a')](_0x250c('0x18'))!=_0x456a8d[_0x250c('0x18')]&&_0x594421[_0x250c('0x5b')]['change'](()=>{_0x55d53[_0x250c('0xb')](_0x638187,{'commandName':_0x250c('0x63'),'commandParams':[_0x456a8d]});});}),_0x594421['plugins'][_0x250c('0x34')]('ImageTextAlternativeEditing')&&_0x55d53[_0x250c('0x3c')](_0x250c('0x1f'),(_0x143a62,_0x465cb6)=>{const _0x24b22d=_0x5af1ee['getClosestSelectedImageElement'](_0x594421[_0x250c('0x5b')][_0x250c('0x4c')][_0x250c('0x1')]);(_0x24b22d[_0x250c('0x3f')](_0x250c('0x24'))?_0x24b22d[_0x250c('0x6a')](_0x250c('0x24')):'')!=_0x465cb6[_0x250c('0x6c')]&&_0x594421[_0x250c('0x5b')][_0x250c('0x65')](()=>{_0x55d53[_0x250c('0xb')](_0x24b22d,{'commandName':_0x250c('0x1f'),'commandParams':[_0x465cb6]});});}),_0x55d53['_descriptionFactory'][_0x250c('0x58')](_0x4a587a=>{if(!!_0x33cc1b[_0x250c('0x2d')](({type:_0x445737,subType:_0x33d619})=>_0x4a587a[_0x250c('0x23')]==_0x445737&&_0x4a587a[_0x250c('0x45')]==_0x33d619))return _0x4a587a[_0x250c('0x2b')]?{}:void 0x0;}),_0x55d53[_0x250c('0x4f')][_0x250c('0x58')](_0xfe94d9=>{if(_0x250c('0x5')==_0xfe94d9['type']||_0x250c('0x41')==_0xfe94d9[_0x250c('0x23')]){const _0x33758e=_0xfe94d9[_0x250c('0x53')]();if(_0x33758e&&_0x33758e['is']('element','caption'))return{'type':_0x250c('0x5')==_0xfe94d9[_0x250c('0x23')]?_0x250c('0x1c'):'removeObject','element':_0x33758e,'quantity':0x1};}}),_0x55d53[_0x250c('0x4f')]['registerDescriptionCallback'](_0xba643b=>_0x250c('0x20')==_0xba643b[_0x250c('0x23')]&&_0x250c('0x40')==_0xba643b['subType']?{'type':'format','content':_0x250c('0x2a')}:_0x250c('0x20')==_0xba643b['type']&&_0x250c('0xd')==_0xba643b['subType']?{'type':_0x250c('0x72'),'content':_0x250c('0x28')}:void 0x0),_0x55d53[_0x250c('0x4f')]['registerDescriptionCallback'](_0xd11a44=>{const {data:_0x12db52}=_0xd11a44;if(_0x12db52){if(_0x250c('0x14')==_0x12db52[_0x250c('0x57')]){const _0x30d4c2=_0x12db52[_0x250c('0x3')][0x0][_0x250c('0x62')];return _0x15cb41('side'===_0x30d4c2?_0x572c3d(_0x3fb4d4,_0x250c('0x11')):_0x552b54[_0x30d4c2]||_0x30d4c2);}if(_0x250c('0x1f')==_0x12db52[_0x250c('0x57')]){const _0xc9f74c=_0x12db52[_0x250c('0x3')][0x0][_0x250c('0x6c')];return _0xc9f74c?{'type':'format','content':_0x572c3d(_0x3fb4d4,_0x250c('0x4'),'\x22'+_0xc9f74c+'\x22')}:{'type':_0x250c('0x72'),'content':_0x572c3d(_0x3fb4d4,'*Remove\x20image\x20text\x20alternative*')};}if(_0x250c('0x63')==_0x12db52[_0x250c('0x57')]){const _0x2e5a04=_0x12db52['commandParams'][0x0][_0x250c('0x18')];return _0x2e5a04?{'type':_0x250c('0x72'),'content':_0x572c3d(_0x3fb4d4,_0x250c('0x54'),_0x2e5a04)}:{'type':'format','content':_0x572c3d(_0x3fb4d4,_0x250c('0x3d'))};}}function _0x15cb41(_0x509713){return{'type':_0x250c('0x72'),'content':_0x572c3d(_0x3fb4d4,_0x250c('0x6b'),_0x509713)};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4dbd=['commandName','discard','commandParams','TrackChangesEditing','Users','locale','handleSuggestionDescription','format','getSuggestionCallback','replaceImageSource','getSelectedElement','_suggestionFactory','formatBlock','markBlockFormat','selection','subType','plugins','editor','handleReplaceImageCommand','enableCommand','afterInit','data','registerCustomCallback','author','has','_descriptionFactory','model','getAttribute','ImageEditing','accept','get','change'];(function(_0x51b813,_0x4dbda7){const _0xdf30b=function(_0xc51374){while(--_0xc51374){_0x51b813['push'](_0x51b813['shift']());}};_0xdf30b(++_0x4dbda7);}(_0x4dbd,0x79));const _0xdf30=function(_0x51b813,_0x4dbda7){_0x51b813=_0x51b813-0x0;let _0xdf30b=_0x4dbd[_0x51b813];return _0xdf30b;};import{Plugin as _0x2265c6}from'ckeditor5/src/core';import{getTranslation as _0x198d82}from'../utils/common-translations';export default class Y extends _0x2265c6{[_0xdf30('0x1b')](){if(!this['editor']['plugins'][_0xdf30('0x1f')](_0xdf30('0x3')))return;const _0x13d8e5=this[_0xdf30('0x18')][_0xdf30('0x17')][_0xdf30('0x5')]('TrackChangesEditing');_0x13d8e5[_0xdf30('0x1a')](_0xdf30('0x10'),(_0x5c6df3,_0x316eb7)=>this['handleReplaceImageCommand'](_0x5c6df3,_0x316eb7)),_0x13d8e5[_0xdf30('0x12')][_0xdf30('0x1d')](_0xdf30('0x13'),_0xdf30('0x10'),_0xdf30('0x4'),_0x13d8e5[_0xdf30('0x12')][_0xdf30('0xf')](_0xdf30('0x13'),null,_0xdf30('0x8'))),_0x13d8e5['_suggestionFactory'][_0xdf30('0x1d')](_0xdf30('0x13'),_0xdf30('0x10'),'discard',_0x13d8e5[_0xdf30('0x12')][_0xdf30('0xf')](_0xdf30('0x13'),null,_0xdf30('0x4'))),_0x13d8e5[_0xdf30('0x0')]['registerDescriptionCallback'](_0x281e38=>this[_0xdf30('0xd')](_0x281e38));}[_0xdf30('0x19')](_0x5bbf06,_0x3ab31f){const _0x29f770=this['editor'][_0xdf30('0x17')][_0xdf30('0x5')](_0xdf30('0xa')),_0x48ff20=this[_0xdf30('0x18')][_0xdf30('0x1')]['document'][_0xdf30('0x15')][_0xdf30('0x11')]();this[_0xdf30('0x18')]['model'][_0xdf30('0x6')](()=>{let _0xbf0ffd=_0x48ff20[_0xdf30('0x2')]('src');const _0x474839=this[_0xdf30('0x18')][_0xdf30('0x17')]['get'](_0xdf30('0xb'))['me'];for(const _0x301b10 of _0x29f770['getSuggestions']({'skipNotAttached':!0x0})){const _0x30d59d=_0x301b10['getContainedElement']();if(_0xdf30('0x10')===_0x301b10[_0xdf30('0x16')]&&_0x30d59d===_0x48ff20){_0x301b10[_0xdf30('0x1e')]!==_0x474839&&_0x301b10['discard'](),_0xbf0ffd=_0x301b10[_0xdf30('0x1c')][_0xdf30('0x9')][0x0]['source'];break;}}_0x5bbf06(_0x3ab31f),_0x29f770[_0xdf30('0x14')](_0x48ff20,{'commandName':_0xdf30('0x10'),'commandParams':[{'source':_0xbf0ffd}]},[],_0xdf30('0x10'));});}[_0xdf30('0xd')](_0x58c8dc){const {data:_0x2e2480}=_0x58c8dc;if(_0x2e2480&&'replaceImageSource'===_0x2e2480[_0xdf30('0x7')]){const _0x5d5a21='*Format:*\x20replace\x20image\x20URL';return{'type':_0xdf30('0xe'),'content':_0x198d82(this[_0xdf30('0x18')][_0xdf30('0xc')],_0x5d5a21)};}}}
23
+ const _0x3315=['discard','enableCommand','*Format:*\x20replace\x20image\x20URL','_descriptionFactory','author','getContainedElement','formatBlock','afterInit','plugins','_suggestionFactory','commandName','getSuggestionCallback','ImageEditing','change','getAttribute','handleSuggestionDescription','handleReplaceImageCommand','locale','src','format','data','registerCustomCallback','replaceImageSource','model','editor','get','getSuggestions','has','registerDescriptionCallback','markBlockFormat','selection'];(function(_0x360e2c,_0x331580){const _0x11bdfd=function(_0x28c854){while(--_0x28c854){_0x360e2c['push'](_0x360e2c['shift']());}};_0x11bdfd(++_0x331580);}(_0x3315,0x72));const _0x11bd=function(_0x360e2c,_0x331580){_0x360e2c=_0x360e2c-0x0;let _0x11bdfd=_0x3315[_0x360e2c];return _0x11bdfd;};import{Plugin as _0x31ba3f}from'ckeditor5/src/core';import{getTranslation as _0x333b3f}from'../utils/common-translations';export default class Y extends _0x31ba3f{[_0x11bd('0x11')](){if(!this['editor'][_0x11bd('0x12')][_0x11bd('0x6')](_0x11bd('0x16')))return;const _0x12ca8d=this[_0x11bd('0x3')][_0x11bd('0x12')][_0x11bd('0x4')]('TrackChangesEditing');_0x12ca8d[_0x11bd('0xb')](_0x11bd('0x1'),(_0x43351f,_0x3fbd5e)=>this[_0x11bd('0x1a')](_0x43351f,_0x3fbd5e)),_0x12ca8d[_0x11bd('0x13')][_0x11bd('0x0')](_0x11bd('0x10'),_0x11bd('0x1'),'accept',_0x12ca8d['_suggestionFactory'][_0x11bd('0x15')]('formatBlock',null,_0x11bd('0xa'))),_0x12ca8d[_0x11bd('0x13')]['registerCustomCallback']('formatBlock',_0x11bd('0x1'),_0x11bd('0xa'),_0x12ca8d[_0x11bd('0x13')]['getSuggestionCallback'](_0x11bd('0x10'),null,'accept')),_0x12ca8d[_0x11bd('0xd')][_0x11bd('0x7')](_0x4d953d=>this[_0x11bd('0x19')](_0x4d953d));}[_0x11bd('0x1a')](_0x1b4260,_0x16f7c6){const _0x359e5b=this[_0x11bd('0x3')][_0x11bd('0x12')][_0x11bd('0x4')]('TrackChangesEditing'),_0x41054b=this[_0x11bd('0x3')][_0x11bd('0x2')]['document'][_0x11bd('0x9')]['getSelectedElement']();this[_0x11bd('0x3')][_0x11bd('0x2')][_0x11bd('0x17')](()=>{let _0x188b0c=_0x41054b[_0x11bd('0x18')](_0x11bd('0x1c'));const _0x12bcee=this['editor']['plugins'][_0x11bd('0x4')]('Users')['me'];for(const _0x4be6cc of _0x359e5b[_0x11bd('0x5')]({'skipNotAttached':!0x0})){const _0x24aa16=_0x4be6cc[_0x11bd('0xf')]();if(_0x11bd('0x1')===_0x4be6cc['subType']&&_0x24aa16===_0x41054b){_0x4be6cc[_0x11bd('0xe')]!==_0x12bcee&&_0x4be6cc[_0x11bd('0xa')](),_0x188b0c=_0x4be6cc[_0x11bd('0x1e')]['commandParams'][0x0]['source'];break;}}_0x1b4260(_0x16f7c6),_0x359e5b[_0x11bd('0x8')](_0x41054b,{'commandName':'replaceImageSource','commandParams':[{'source':_0x188b0c}]},[],'replaceImageSource');});}[_0x11bd('0x19')](_0x31bb5e){const {data:_0x3be8dd}=_0x31bb5e;if(_0x3be8dd&&'replaceImageSource'===_0x3be8dd[_0x11bd('0x14')]){const _0x36cc26=_0x11bd('0xc');return{'type':_0x11bd('0x1d'),'content':_0x333b3f(this['editor'][_0x11bd('0x1b')],_0x36cc26)};}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x46c5=['lowest','editor','commands','forEach','importWord','_trackChangesExecuted','listenTo','execute','_trackChangesValueDuringImport','TrackChangesEditing','collaboration_features','track_changes','bind','_handleImportedData','_setSuggestionData','value','trackChanges','high','enableCommand','Users','dataInsert','get','plugins'];(function(_0x11f07f,_0x46c5d9){const _0x5c5888=function(_0x252cd3){while(--_0x252cd3){_0x11f07f['push'](_0x11f07f['shift']());}};_0x5c5888(++_0x46c5d9);}(_0x46c5,0xaf));const _0x5c58=function(_0x11f07f,_0x46c5d9){_0x11f07f=_0x11f07f-0x0;let _0x5c5888=_0x46c5[_0x11f07f];return _0x5c5888;};import{Plugin as _0xf8e95b}from'ckeditor5/src/core';export default class Z extends _0xf8e95b{constructor(_0x3b1cd8){super(_0x3b1cd8),this['_trackChangesValueDuringImport']=!0x1,this[_0x5c58('0xe')]=!0x1;}['afterInit'](){const _0x368a37=this['editor'],_0x509956=_0x368a37['commands'][_0x5c58('0x7')]('importWord'),_0x4a3853=_0x368a37['commands']['get']('trackChanges');_0x509956&&(_0x509956['on'](_0x5c58('0x10'),(_0x1ea8df,[,_0x4e11c4])=>{this['_trackChangesValueDuringImport']=_0x4a3853[_0x5c58('0x1')],_0x4e11c4[_0x5c58('0x13')][_0x5c58('0x14')]=!this[_0x5c58('0x11')];},{'priority':_0x5c58('0x3')}),this['listenTo'](_0x509956,_0x5c58('0x6'),this[_0x5c58('0x16')][_0x5c58('0x15')](this)),this[_0x5c58('0xf')](_0x509956,'dataInsert',()=>{this[_0x5c58('0xe')]&&(_0x4a3853[_0x5c58('0x10')](),this[_0x5c58('0xe')]=!0x1);},{'priority':_0x5c58('0x9')}),_0x368a37[_0x5c58('0x8')]['get'](_0x5c58('0x12'))[_0x5c58('0x4')](_0x5c58('0xd')));}['_handleImportedData'](_0x5d7f0d,_0x164620){const {suggestions:_0x2fda4d}=_0x164620,_0x3b23ab=this[_0x5c58('0xa')][_0x5c58('0xb')]['get'](_0x5c58('0x2')),_0x50ba10=_0x3b23ab[_0x5c58('0x1')];this['_trackChangesValueDuringImport']!==_0x50ba10&&(_0x3b23ab[_0x5c58('0x10')](),this['_trackChangesExecuted']=!0x0),_0x2fda4d&&_0x2fda4d[_0x5c58('0xc')](({id:_0x438596,type:_0x52633e,author:_0x266051,created_at:_0x1d1fee})=>{const _0x5ca039={'id':_0x438596,'type':_0x52633e,'authorId':this[_0x5c58('0xa')][_0x5c58('0x8')]['get'](_0x5c58('0x5'))['me']['id'],'createdAt':new Date(),'data':null,'hasComments':!0x1,'attributes':{'@external':{'authorName':_0x266051,'createdAt':_0x1d1fee?new Date(_0x1d1fee):new Date(),'source':_0x5c58('0xd')}}};this[_0x5c58('0xa')][_0x5c58('0x8')][_0x5c58('0x7')](_0x5c58('0x12'))[_0x5c58('0x0')](_0x5ca039);});}}
23
+ const _0x11e7=['collaboration_features','importWord','afterInit','get','track_changes','commands','listenTo','TrackChangesEditing','_trackChangesValueDuringImport','dataInsert','high','value','Users','bind','forEach','trackChanges','_handleImportedData','enableCommand','execute','_trackChangesExecuted','editor','plugins'];(function(_0x4af8e0,_0x11e7a3){const _0x290b88=function(_0x2250da){while(--_0x2250da){_0x4af8e0['push'](_0x4af8e0['shift']());}};_0x290b88(++_0x11e7a3);}(_0x11e7,0x19f));const _0x290b=function(_0x4af8e0,_0x11e7a3){_0x4af8e0=_0x4af8e0-0x0;let _0x290b88=_0x11e7[_0x4af8e0];return _0x290b88;};import{Plugin as _0x306841}from'ckeditor5/src/core';export default class Z extends _0x306841{constructor(_0x1f3528){super(_0x1f3528),this['_trackChangesValueDuringImport']=!0x1,this[_0x290b('0x0')]=!0x1;}[_0x290b('0x5')](){const _0x569794=this[_0x290b('0x1')],_0x51bd5c=_0x569794['commands'][_0x290b('0x6')](_0x290b('0x4')),_0x227505=_0x569794[_0x290b('0x8')][_0x290b('0x6')](_0x290b('0x12'));_0x51bd5c&&(_0x51bd5c['on'](_0x290b('0x15'),(_0x4e582e,[,_0x63b505])=>{this['_trackChangesValueDuringImport']=_0x227505[_0x290b('0xe')],_0x63b505[_0x290b('0x3')][_0x290b('0x7')]=!this[_0x290b('0xb')];},{'priority':_0x290b('0xd')}),this[_0x290b('0x9')](_0x51bd5c,_0x290b('0xc'),this[_0x290b('0x13')][_0x290b('0x10')](this)),this['listenTo'](_0x51bd5c,_0x290b('0xc'),()=>{this[_0x290b('0x0')]&&(_0x227505[_0x290b('0x15')](),this[_0x290b('0x0')]=!0x1);},{'priority':'lowest'}),_0x569794[_0x290b('0x2')][_0x290b('0x6')](_0x290b('0xa'))[_0x290b('0x14')](_0x290b('0x4')));}[_0x290b('0x13')](_0x7f24d7,_0x5a15a9){const {suggestions:_0xe8ac57}=_0x5a15a9,_0x45bf6d=this[_0x290b('0x1')]['commands'][_0x290b('0x6')]('trackChanges'),_0x3983ad=_0x45bf6d[_0x290b('0xe')];this[_0x290b('0xb')]!==_0x3983ad&&(_0x45bf6d[_0x290b('0x15')](),this[_0x290b('0x0')]=!0x0),_0xe8ac57&&_0xe8ac57[_0x290b('0x11')](({id:_0x116818,type:_0x35c63a,author:_0x10a024,created_at:_0x27637c})=>{const _0x42394e={'id':_0x116818,'type':_0x35c63a,'authorId':this[_0x290b('0x1')]['plugins'][_0x290b('0x6')](_0x290b('0xf'))['me']['id'],'createdAt':new Date(),'data':null,'hasComments':!0x1,'attributes':{'@external':{'authorName':_0x10a024,'createdAt':_0x27637c?new Date(_0x27637c):new Date(),'source':_0x290b('0x4')}}};this['editor'][_0x290b('0x2')][_0x290b('0x6')]('TrackChangesEditing')['_setSuggestionData'](_0x42394e);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1cfd=['indentBlock','*Indent:*\x20%0','locale','filter','document','has','afterInit','model','commandName','_descriptionFactory','*Outdent:*\x20%0','outdentBlock','getItemLabel','editor','indent','IndentEditing','change','outdent','registerDescriptionCallback','getSelectedBlocks','format','enableCommand','plugins'];(function(_0x4ff287,_0x1cfd1){const _0x2bff1e=function(_0xe3352a){while(--_0xe3352a){_0x4ff287['push'](_0x4ff287['shift']());}};_0x2bff1e(++_0x1cfd1);}(_0x1cfd,0x1b4));const _0x2bff=function(_0x4ff287,_0x1cfd1){_0x4ff287=_0x4ff287-0x0;let _0x2bff1e=_0x1cfd[_0x4ff287];return _0x2bff1e;};import{Plugin as _0x9c3df1}from'ckeditor5/src/core';import{getTranslation as _0x4c3707}from'../utils/common-translations';export default class tt extends _0x9c3df1{[_0x2bff('0x7')](){const _0x4172b3=this[_0x2bff('0xe')],_0x439d85=_0x4172b3[_0x2bff('0x0')]['get']('TrackChangesEditing');_0x4172b3[_0x2bff('0x0')][_0x2bff('0x6')](_0x2bff('0x10'))&&(_0x439d85[_0x2bff('0x16')](_0x2bff('0xf')),_0x439d85[_0x2bff('0x16')](_0x2bff('0x12')));const _0x66ff37=_0x4172b3[_0x2bff('0x3')];if(_0x4172b3['plugins'][_0x2bff('0x6')]('IndentBlock')){for(const _0x5e04c4 of[_0x2bff('0x1'),'outdentBlock'])_0x439d85[_0x2bff('0x16')](_0x5e04c4,()=>{const _0x3b601e=Array['from'](this['editor'][_0x2bff('0x8')][_0x2bff('0x5')]['selection'][_0x2bff('0x14')]())[_0x2bff('0x4')](_0x451768=>this[_0x2bff('0xe')][_0x2bff('0x8')]['schema']['checkAttribute'](_0x451768,'blockIndent'));_0x4172b3[_0x2bff('0x8')][_0x2bff('0x11')](()=>{for(const _0x1e9b6c of _0x3b601e)_0x439d85['markBlockFormat'](_0x1e9b6c,{'commandName':_0x5e04c4,'commandParams':[{'value':''}],'formatGroupId':'indentBlock'});});});_0x439d85[_0x2bff('0xa')][_0x2bff('0x13')](_0x490238=>{const {data:_0x33d8c4}=_0x490238;if(!_0x33d8c4)return;if(_0x2bff('0x1')!=_0x33d8c4[_0x2bff('0x9')]&&'outdentBlock'!=_0x33d8c4[_0x2bff('0x9')])return;const _0x30765a=_0x490238['getItems']()[0x0],_0x3788c1=_0x439d85['_descriptionFactory'][_0x2bff('0xd')](_0x30765a);return _0x2bff('0x1')==_0x33d8c4[_0x2bff('0x9')]?{'type':_0x2bff('0x15'),'content':_0x4c3707(_0x66ff37,_0x2bff('0x2'),_0x3788c1)}:_0x2bff('0xc')==_0x33d8c4['commandName']?{'type':_0x2bff('0x15'),'content':_0x4c3707(_0x66ff37,_0x2bff('0xb'),_0x3788c1)}:void 0x0;});}}}
23
+ const _0x567f=['afterInit','_descriptionFactory','format','commandName','get','outdentBlock','markBlockFormat','enableCommand','indent','change','schema','plugins','IndentBlock','*Outdent:*\x20%0','has','filter','document','indentBlock','locale','getSelectedBlocks','from','*Indent:*\x20%0','getItems','model','registerDescriptionCallback','checkAttribute'];(function(_0x10b3a7,_0x567fca){const _0x6cff65=function(_0x51c432){while(--_0x51c432){_0x10b3a7['push'](_0x10b3a7['shift']());}};_0x6cff65(++_0x567fca);}(_0x567f,0xaa));const _0x6cff=function(_0x10b3a7,_0x567fca){_0x10b3a7=_0x10b3a7-0x0;let _0x6cff65=_0x567f[_0x10b3a7];return _0x6cff65;};import{Plugin as _0x2c5225}from'ckeditor5/src/core';import{getTranslation as _0x594b3b}from'../utils/common-translations';export default class tt extends _0x2c5225{[_0x6cff('0xc')](){const _0x1821a1=this['editor'],_0x473a5b=_0x1821a1[_0x6cff('0x17')][_0x6cff('0x10')]('TrackChangesEditing');_0x1821a1[_0x6cff('0x17')]['has']('IndentEditing')&&(_0x473a5b['enableCommand'](_0x6cff('0x14')),_0x473a5b['enableCommand']('outdent'));const _0x2be3a5=_0x1821a1[_0x6cff('0x4')];if(_0x1821a1['plugins'][_0x6cff('0x0')](_0x6cff('0x18'))){for(const _0x3b6f7d of[_0x6cff('0x3'),'outdentBlock'])_0x473a5b[_0x6cff('0x13')](_0x3b6f7d,()=>{const _0x3cf372=Array[_0x6cff('0x6')](this['editor'][_0x6cff('0x9')][_0x6cff('0x2')]['selection'][_0x6cff('0x5')]())[_0x6cff('0x1')](_0x4fa7df=>this['editor']['model'][_0x6cff('0x16')][_0x6cff('0xb')](_0x4fa7df,'blockIndent'));_0x1821a1[_0x6cff('0x9')][_0x6cff('0x15')](()=>{for(const _0x58dd3c of _0x3cf372)_0x473a5b[_0x6cff('0x12')](_0x58dd3c,{'commandName':_0x3b6f7d,'commandParams':[{'value':''}],'formatGroupId':'indentBlock'});});});_0x473a5b[_0x6cff('0xd')][_0x6cff('0xa')](_0x17cc28=>{const {data:_0x4dfc19}=_0x17cc28;if(!_0x4dfc19)return;if(_0x6cff('0x3')!=_0x4dfc19[_0x6cff('0xf')]&&_0x6cff('0x11')!=_0x4dfc19[_0x6cff('0xf')])return;const _0x4132a8=_0x17cc28[_0x6cff('0x8')]()[0x0],_0x1c738d=_0x473a5b[_0x6cff('0xd')]['getItemLabel'](_0x4132a8);return _0x6cff('0x3')==_0x4dfc19['commandName']?{'type':_0x6cff('0xe'),'content':_0x594b3b(_0x2be3a5,_0x6cff('0x7'),_0x1c738d)}:'outdentBlock'==_0x4dfc19['commandName']?{'type':'format','content':_0x594b3b(_0x2be3a5,_0x6cff('0x19'),_0x1c738d)}:void 0x0;});}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x18a7=['input','TrackChangesEditing','requires','get','editor','enableCommand','plugins'];(function(_0x33fa0c,_0x18a71d){var _0x305dbe=function(_0x53f5ef){while(--_0x53f5ef){_0x33fa0c['push'](_0x33fa0c['shift']());}};_0x305dbe(++_0x18a71d);}(_0x18a7,0x13e));var _0x305d=function(_0x33fa0c,_0x18a71d){_0x33fa0c=_0x33fa0c-0x0;var _0x305dbe=_0x18a7[_0x33fa0c];return _0x305dbe;};import{Plugin as _0x2b4707}from'ckeditor5/src/core';import{Input as _0x1f4a59}from'ckeditor5/src/typing';export default class it extends _0x2b4707{static get[_0x305d('0x6')](){return[_0x1f4a59];}['init'](){this[_0x305d('0x1')][_0x305d('0x3')][_0x305d('0x0')](_0x305d('0x5'))[_0x305d('0x2')](_0x305d('0x4'));}}
23
+ var _0x2b78=['editor','plugins','init','enableCommand','input','get'];(function(_0x1e204f,_0x2b7862){var _0x26aa4d=function(_0x5d6f09){while(--_0x5d6f09){_0x1e204f['push'](_0x1e204f['shift']());}};_0x26aa4d(++_0x2b7862);}(_0x2b78,0xe2));var _0x26aa=function(_0x1e204f,_0x2b7862){_0x1e204f=_0x1e204f-0x0;var _0x26aa4d=_0x2b78[_0x1e204f];return _0x26aa4d;};import{Plugin as _0xb16842}from'ckeditor5/src/core';import{Input as _0x1a6cfb}from'ckeditor5/src/typing';export default class it extends _0xb16842{static get['requires'](){return[_0x1a6cfb];}[_0x26aa('0x4')](){this[_0x26aa('0x2')][_0x26aa('0x3')][_0x26aa('0x1')]('TrackChangesEditing')[_0x26aa('0x5')](_0x26aa('0x0'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x11c5=['hasAttribute','enableCommand','change','linkHref','getAttribute','isCollapsed','has','getRanges','LinkEditing','model','registerDescriptionCallback','markInlineFormat','link','plugins','*Set\x20link:*\x20%0','getFirstPosition','commandName','document','format','selection','afterInit','unlink','editor','TrackChangesEditing'];(function(_0x4128a3,_0x11c566){const _0xf0eedc=function(_0x249b14){while(--_0x249b14){_0x4128a3['push'](_0x4128a3['shift']());}};_0xf0eedc(++_0x11c566);}(_0x11c5,0x175));const _0xf0ee=function(_0x4128a3,_0x11c566){_0x4128a3=_0x4128a3-0x0;let _0xf0eedc=_0x11c5[_0x4128a3];return _0xf0eedc;};import{Plugin as _0x310a38}from'ckeditor5/src/core';import{findAttributeRange as _0x4b63d6}from'ckeditor5/src/typing';import{getRangesWithAttribute as _0x2e5fd5}from'./utils';import{getTranslation as _0x50e6fd}from'../utils/common-translations';export default class et extends _0x310a38{[_0xf0ee('0x7')](){const _0x3cb3c6=this[_0xf0ee('0x9')];if(!_0x3cb3c6[_0xf0ee('0x0')][_0xf0ee('0x11')](_0xf0ee('0x13')))return;const _0x293c6d=_0x3cb3c6[_0xf0ee('0x0')]['get'](_0xf0ee('0xa'));_0x293c6d[_0xf0ee('0xc')](_0xf0ee('0x17'),(_0x9319cd,_0x2d62d7)=>{const _0x8bfa2d=_0x3cb3c6['model'][_0xf0ee('0x4')]['selection'];let _0x2aea1f=[];if(_0x8bfa2d[_0xf0ee('0x10')]){if(!_0x8bfa2d[_0xf0ee('0xb')]('linkHref'))return void _0x9319cd(_0x2d62d7);{const _0xf3911d=_0x4b63d6(_0x8bfa2d[_0xf0ee('0x2')](),_0xf0ee('0xe'),_0x8bfa2d['getAttribute'](_0xf0ee('0xe')),_0x3cb3c6[_0xf0ee('0x14')]);_0x2aea1f=[_0xf3911d];}}else _0x2aea1f=Array['from'](_0x8bfa2d[_0xf0ee('0x12')]());_0x3cb3c6[_0xf0ee('0x14')][_0xf0ee('0xd')](()=>{for(const _0x1b7b3e of _0x2aea1f)_0x293c6d['markInlineFormat'](_0x1b7b3e,{'commandName':_0xf0ee('0x17'),'commandParams':[_0x2d62d7]});});}),_0x293c6d['enableCommand']('unlink',()=>{const _0x4b831a=this[_0xf0ee('0x9')][_0xf0ee('0x14')],_0x53c398=_0x4b831a[_0xf0ee('0x4')][_0xf0ee('0x6')];_0x4b831a[_0xf0ee('0xd')](()=>{let _0x5608d2=[];if(_0x53c398[_0xf0ee('0x10')])_0x5608d2=[_0x4b63d6(_0x53c398['getFirstPosition'](),_0xf0ee('0xe'),_0x53c398[_0xf0ee('0xf')](_0xf0ee('0xe')),_0x3cb3c6[_0xf0ee('0x14')])];else _0x5608d2=_0x2e5fd5(_0xf0ee('0xe'),_0x53c398['getFirstRange'](),_0x3cb3c6[_0xf0ee('0x14')]);for(const _0xc02fb2 of _0x5608d2)_0x293c6d[_0xf0ee('0x16')](_0xc02fb2,{'commandName':_0xf0ee('0x8'),'commandParams':[]});});}),_0x293c6d['_descriptionFactory'][_0xf0ee('0x15')](_0x3ae4b3=>{const {data:_0xa588bd}=_0x3ae4b3,_0x5b4f3c=_0x3cb3c6['locale'];if(_0xa588bd){if(_0xf0ee('0x17')==_0xa588bd[_0xf0ee('0x3')]){const _0x576749=_0xa588bd['commandParams'][0x0];return{'type':_0xf0ee('0x5'),'content':_0x50e6fd(_0x5b4f3c,_0xf0ee('0x1'),'\x22'+_0x576749+'\x22')};}return _0xf0ee('0x8')==_0xa588bd[_0xf0ee('0x3')]?{'type':_0xf0ee('0x5'),'content':_0x50e6fd(_0x5b4f3c,'*Remove\x20link*')}:void 0x0;}});}}
23
+ const _0x129f=['afterInit','unlink','getRanges','LinkEditing','format','TrackChangesEditing','link','change','plugins','markInlineFormat','*Set\x20link:*\x20%0','getFirstRange','enableCommand','*Remove\x20link*','from','selection','hasAttribute','linkHref','locale','editor','model','isCollapsed','getAttribute','document','registerDescriptionCallback'];(function(_0x497713,_0x129f9b){const _0x39f86d=function(_0x241f7f){while(--_0x241f7f){_0x497713['push'](_0x497713['shift']());}};_0x39f86d(++_0x129f9b);}(_0x129f,0x198));const _0x39f8=function(_0x497713,_0x129f9b){_0x497713=_0x497713-0x0;let _0x39f86d=_0x129f[_0x497713];return _0x39f86d;};import{Plugin as _0x42c32f}from'ckeditor5/src/core';import{findAttributeRange as _0x10813c}from'ckeditor5/src/typing';import{getRangesWithAttribute as _0x207119}from'./utils';import{getTranslation as _0x17df48}from'../utils/common-translations';export default class et extends _0x42c32f{[_0x39f8('0x11')](){const _0x4d8067=this[_0x39f8('0xb')];if(!_0x4d8067[_0x39f8('0x0')]['has'](_0x39f8('0x14')))return;const _0x43deff=_0x4d8067[_0x39f8('0x0')]['get'](_0x39f8('0x16'));_0x43deff[_0x39f8('0x4')](_0x39f8('0x17'),(_0x14ee44,_0x3196b1)=>{const _0x178501=_0x4d8067[_0x39f8('0xc')][_0x39f8('0xf')][_0x39f8('0x7')];let _0x425598=[];if(_0x178501[_0x39f8('0xd')]){if(!_0x178501[_0x39f8('0x8')](_0x39f8('0x9')))return void _0x14ee44(_0x3196b1);{const _0x5853e8=_0x10813c(_0x178501['getFirstPosition'](),_0x39f8('0x9'),_0x178501['getAttribute'](_0x39f8('0x9')),_0x4d8067[_0x39f8('0xc')]);_0x425598=[_0x5853e8];}}else _0x425598=Array[_0x39f8('0x6')](_0x178501[_0x39f8('0x13')]());_0x4d8067[_0x39f8('0xc')][_0x39f8('0x18')](()=>{for(const _0x4c9edf of _0x425598)_0x43deff[_0x39f8('0x1')](_0x4c9edf,{'commandName':_0x39f8('0x17'),'commandParams':[_0x3196b1]});});}),_0x43deff[_0x39f8('0x4')](_0x39f8('0x12'),()=>{const _0xf40403=this[_0x39f8('0xb')][_0x39f8('0xc')],_0x126064=_0xf40403[_0x39f8('0xf')][_0x39f8('0x7')];_0xf40403[_0x39f8('0x18')](()=>{let _0x3a0430=[];if(_0x126064[_0x39f8('0xd')])_0x3a0430=[_0x10813c(_0x126064['getFirstPosition'](),'linkHref',_0x126064[_0x39f8('0xe')]('linkHref'),_0x4d8067['model'])];else _0x3a0430=_0x207119('linkHref',_0x126064[_0x39f8('0x3')](),_0x4d8067['model']);for(const _0x1ca8e6 of _0x3a0430)_0x43deff['markInlineFormat'](_0x1ca8e6,{'commandName':_0x39f8('0x12'),'commandParams':[]});});}),_0x43deff['_descriptionFactory'][_0x39f8('0x10')](_0x2b6694=>{const {data:_0x9afcd2}=_0x2b6694,_0x3304ac=_0x4d8067[_0x39f8('0xa')];if(_0x9afcd2){if(_0x39f8('0x17')==_0x9afcd2['commandName']){const _0x1cd3b0=_0x9afcd2['commandParams'][0x0];return{'type':_0x39f8('0x15'),'content':_0x17df48(_0x3304ac,_0x39f8('0x2'),'\x22'+_0x1cd3b0+'\x22')};}return _0x39f8('0x12')==_0x9afcd2['commandName']?{'type':_0x39f8('0x15'),'content':_0x17df48(_0x3304ac,_0x39f8('0x5'))}:void 0x0;}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1cdf=['from','forceValue','afterInit','checkChild','numberedList','TodoListEditing','commandName','ELEMENT_TODO_LIST','isObject','previousSibling','_descriptionFactory','outdentList','todoList','bulletedList','filter','slice','selection','format','enableCommand','*Check\x20item*','replace','get','change','bulleted','todo','document','value','element','getAttribute','commands','add','model','before','createPositionAt','end','numbered','markBlockFormat','length','listIndent','has','ELEMENT_BULLETED_LIST','listItem','getSelectedBlocks','*Indent:*\x20%0','editor','indentList','checkTodoList','plugins','nextSibling','ELEMENT_LIST_ITEM','todoListChecked','TrackChangesEditing','*Uncheck\x20item*','name'];(function(_0x217049,_0x1cdf67){const _0x207ab8=function(_0x5b5037){while(--_0x5b5037){_0x217049['push'](_0x217049['shift']());}};_0x207ab8(++_0x1cdf67);}(_0x1cdf,0xf0));const _0x207a=function(_0x217049,_0x1cdf67){_0x217049=_0x217049-0x0;let _0x207ab8=_0x1cdf[_0x217049];return _0x207ab8;};import{Plugin as _0x554b2f}from'ckeditor5/src/core';import{getTranslation as _0x165b46}from'../utils/common-translations';export default class nt extends _0x554b2f{[_0x207a('0x20')](){const _0xaf41e=this[_0x207a('0x14')],_0x137760=_0xaf41e['locale'];if(!_0xaf41e[_0x207a('0x17')]['has']('ListEditing'))return;const _0xbbb55d=_0xaf41e[_0x207a('0x17')]['get'](_0x207a('0x1b')),_0x2712f6=_0xaf41e[_0x207a('0x17')][_0x207a('0xf')](_0x207a('0x23'));function _0x300807(_0xeef402){return()=>{const _0x578c50=_0xaf41e['model'][_0x207a('0x1')]['selection'],_0x3f86ee=_0xaf41e[_0x207a('0x5')][_0x207a('0x33')](_0xeef402);if(_0x3f86ee[_0x207a('0x2')])return void _0xaf41e['execute']('paragraph',{});const _0xdd17de=_0xeef402[_0x207a('0x2d')](0x0,-0x4),_0xe1dfd8=function(_0x56ab0c,_0x519d08,_0x4bf867){let _0x280f77=Array[_0x207a('0x1e')](_0x56ab0c)[_0x207a('0x2c')](_0x5d9e61=>function(_0x51ed45,_0x1ef6ef){return _0x1ef6ef[_0x207a('0x21')](_0x51ed45['parent'],'listItem')&&!_0x1ef6ef[_0x207a('0x26')](_0x51ed45);}(_0x5d9e61,_0x4bf867));_0x280f77=_0x280f77[_0x207a('0x2c')](_0x9f6b81=>!_0x9f6b81['is']('element','listItem')||_0x9f6b81[_0x207a('0x4')]('listType')!=_0x519d08);const _0x3a2bdd=new Set();for(const _0x3f90ea of _0x280f77)_0x3f90ea['is'](_0x207a('0x3'),_0x207a('0x11'))?_0x3a2bdd[_0x207a('0x6')](ne(_0x3f90ea)):_0x3a2bdd[_0x207a('0x6')](_0x3f90ea);return Array[_0x207a('0x1e')](_0x3a2bdd);}(_0x578c50[_0x207a('0x12')](),_0xdd17de,_0xaf41e['model']['schema']);_0xaf41e['model'][_0x207a('0x34')](()=>{for(const _0x58302b of _0xe1dfd8)_0xbbb55d[_0x207a('0xc')](_0x58302b,{'commandName':_0xeef402,'commandParams':[{'forceValue':!_0x3f86ee[_0x207a('0x2')]}],'formatGroupId':'blockName'},oe(_0x58302b));});};}function _0x2bc7db(_0x203e1b){return()=>{const _0x5d820f=function(_0x234802){let _0x3562b6=Array[_0x207a('0x1e')](_0x234802);const _0x3af984=_0x3562b6['findIndex'](_0xbfa39d=>'listItem'!=_0xbfa39d[_0x207a('0x1d')]);return _0x3af984>-0x1&&(_0x3562b6=_0x3562b6[_0x207a('0x2d')](0x0,_0x3af984)),_0x3562b6;}(_0xaf41e[_0x207a('0x7')][_0x207a('0x1')][_0x207a('0x2e')][_0x207a('0x12')]()),_0x35e3f2=_0xaf41e[_0x207a('0x7')]['createRange'](_0xaf41e[_0x207a('0x7')]['createPositionAt'](_0x5d820f[0x0],_0x207a('0x8')),_0xaf41e[_0x207a('0x7')][_0x207a('0x9')](_0x5d820f[_0x5d820f[_0x207a('0xd')]-0x1],_0x207a('0xa')));_0xaf41e['model'][_0x207a('0x34')](()=>{_0xbbb55d[_0x207a('0xc')](_0x35e3f2,{'commandName':_0x203e1b,'commandParams':[],'formatGroupId':_0x207a('0xe')},function(_0x2d50f6){const _0x11ce28=new Set();for(const _0x18f873 of _0x2d50f6){let _0xe88c5e=_0x18f873[_0x207a('0x18')];for(;_0xe88c5e&&_0xe88c5e[_0x207a('0x4')](_0x207a('0xe'))>_0x18f873[_0x207a('0x4')](_0x207a('0xe'));)_0x11ce28[_0x207a('0x6')](_0xe88c5e),_0xe88c5e=_0xe88c5e[_0x207a('0x18')];}return Array[_0x207a('0x1e')](_0x11ce28);}(_0x5d820f));});};}_0xbbb55d[_0x207a('0x30')](_0x207a('0x22'),_0x300807(_0x207a('0x22'))),_0xbbb55d[_0x207a('0x30')](_0x207a('0x2b'),_0x300807(_0x207a('0x2b'))),_0x2712f6&&_0xbbb55d[_0x207a('0x30')](_0x207a('0x2a'),_0x300807(_0x207a('0x2a'))),_0xbbb55d[_0x207a('0x30')](_0x207a('0x15'),_0x2bc7db(_0x207a('0x15'))),_0xbbb55d['enableCommand'](_0x207a('0x29'),_0x2bc7db(_0x207a('0x29'))),_0x2712f6&&_0xbbb55d[_0x207a('0x30')](_0x207a('0x16'),()=>{const _0x3341f7=_0xaf41e['commands'][_0x207a('0x33')](_0x207a('0x16')),_0x18f0b7=Array[_0x207a('0x1e')](_0x3341f7['_selectedElements']);_0x18f0b7[_0x207a('0x2c')](_0x1e9f9f=>_0x1e9f9f[_0x207a('0x4')](_0x207a('0x1a'))!=_0x3341f7['value']),_0xaf41e[_0x207a('0x7')][_0x207a('0x34')](()=>{for(const _0x29330e of _0x18f0b7)_0xbbb55d[_0x207a('0xc')](_0x29330e,{'commandName':_0x207a('0x16'),'commandParams':[{'forceValue':!_0x3341f7[_0x207a('0x2')]}]});});}),_0xbbb55d[_0x207a('0x28')]['registerElementLabel'](_0x207a('0x11'),_0x4ef837=>_0x165b46(_0x137760,_0x207a('0x19'),_0x4ef837)),_0xbbb55d[_0x207a('0x28')]['registerDescriptionCallback'](_0x512439=>{const {data:_0x279af6}=_0x512439;if(_0x279af6){if('numberedList'==_0x279af6[_0x207a('0x24')]||_0x207a('0x2b')==_0x279af6['commandName']||_0x207a('0x2a')==_0x279af6['commandName'])switch(_0x279af6['commandName'][_0x207a('0x32')]('List','')){case _0x207a('0x35'):return _0x235443(_0x165b46(_0x137760,_0x207a('0x10')));case _0x207a('0xb'):return _0x235443(_0x165b46(_0x137760,'ELEMENT_NUMBERED_LIST'));case _0x207a('0x0'):return _0x235443(_0x165b46(_0x137760,_0x207a('0x25')));}if(_0x207a('0x15')==_0x279af6[_0x207a('0x24')])return{'type':'format','content':_0x165b46(_0x137760,_0x207a('0x13'),_0x165b46(_0x137760,'ELEMENT_LIST_ITEM'))};if(_0x207a('0x29')==_0x279af6[_0x207a('0x24')])return{'type':'format','content':_0x165b46(_0x137760,'*Outdent:*\x20%0',_0x165b46(_0x137760,'ELEMENT_LIST_ITEM'))};if('checkTodoList'==_0x279af6[_0x207a('0x24')])return _0x279af6['commandParams'][0x0][_0x207a('0x1f')]?{'type':_0x207a('0x2f'),'content':_0x165b46(_0x137760,_0x207a('0x31'))}:{'type':_0x207a('0x2f'),'content':_0x165b46(_0x137760,_0x207a('0x1c'))};}function _0x235443(_0x2f8b8e){return{'type':_0x207a('0x2f'),'content':_0x165b46(_0x137760,'*Change\x20to:*\x20%0',_0x2f8b8e)};}});}}function ne(_0x2bd96f){const _0x2a6e8d=_0x2bd96f[_0x207a('0x4')](_0x207a('0xe'));if(0x0==_0x2a6e8d)return _0x2bd96f;let _0x2f8801=_0x2bd96f;for(;_0x2bd96f[_0x207a('0x27')]&&_0x2bd96f[_0x207a('0x27')]['is'](_0x207a('0x3'),_0x207a('0x11'));){const _0x3ee9e9=_0x2bd96f['previousSibling'][_0x207a('0x4')](_0x207a('0xe'));if(_0x3ee9e9==_0x2a6e8d)_0x2f8801=_0x2bd96f[_0x207a('0x27')];else{if(_0x3ee9e9<_0x2a6e8d)break;}_0x2bd96f=_0x2bd96f[_0x207a('0x27')];}return _0x2f8801;}function oe(_0xf14949){const _0x4b5b39=[];if(_0xf14949['is'](_0x207a('0x3'),_0x207a('0x11'))&&_0xf14949[_0x207a('0x4')]('listIndent')>0x0){let _0x53350c=_0xf14949[_0x207a('0x18')];for(;_0x53350c&&_0x207a('0x11')==_0x53350c[_0x207a('0x1d')]&&_0x53350c['getAttribute'](_0x207a('0xe'))==_0xf14949[_0x207a('0x4')]('listIndent');)_0x4b5b39['push'](_0x53350c),_0x53350c=_0x53350c[_0x207a('0x18')];}return _0x4b5b39;}
23
+ const _0x1add=['ListEditing','enableCommand','ELEMENT_LIST_ITEM','blockName','getAttribute','model','todoList','*Outdent:*\x20%0','element','ELEMENT_BULLETED_LIST','*Indent:*\x20%0','numbered','filter','editor','push','end','locale','add','commandName','getSelectedBlocks','nextSibling','createPositionAt','execute','registerDescriptionCallback','*Change\x20to:*\x20%0','todoListChecked','bulleted','name','listItem','value','TrackChangesEditing','get','from','*Check\x20item*','_descriptionFactory','plugins','format','numberedList','replace','listIndent','commands','ELEMENT_NUMBERED_LIST','todo','findIndex','previousSibling','commandParams','document','paragraph','checkChild','checkTodoList','listType','has','forceValue','markBlockFormat','TodoListEditing','schema','change','parent','bulletedList','List','indentList','selection','afterInit','length','outdentList','ELEMENT_TODO_LIST','createRange'];(function(_0x2d4080,_0x1addda){const _0x1a5bb8=function(_0x4850d0){while(--_0x4850d0){_0x2d4080['push'](_0x2d4080['shift']());}};_0x1a5bb8(++_0x1addda);}(_0x1add,0x122));const _0x1a5b=function(_0x2d4080,_0x1addda){_0x2d4080=_0x2d4080-0x0;let _0x1a5bb8=_0x1add[_0x2d4080];return _0x1a5bb8;};import{Plugin as _0x49a266}from'ckeditor5/src/core';import{getTranslation as _0x34912b}from'../utils/common-translations';export default class nt extends _0x49a266{[_0x1a5b('0x28')](){const _0xcf7bbc=this[_0x1a5b('0x3a')],_0x144dc9=_0xcf7bbc[_0x1a5b('0x3d')];if(!_0xcf7bbc[_0x1a5b('0xd')][_0x1a5b('0x1d')](_0x1a5b('0x2d')))return;const _0x2d9cf3=_0xcf7bbc[_0x1a5b('0xd')][_0x1a5b('0x9')](_0x1a5b('0x8')),_0x24b319=_0xcf7bbc[_0x1a5b('0xd')][_0x1a5b('0x1d')](_0x1a5b('0x20'));function _0x107559(_0x243181){return()=>{const _0x5728e0=_0xcf7bbc[_0x1a5b('0x32')][_0x1a5b('0x18')][_0x1a5b('0x27')],_0x572a7e=_0xcf7bbc[_0x1a5b('0x12')][_0x1a5b('0x9')](_0x243181);if(_0x572a7e[_0x1a5b('0x7')])return void _0xcf7bbc[_0x1a5b('0x0')](_0x1a5b('0x19'),{});const _0x5054f8=_0x243181['slice'](0x0,-0x4),_0x5b80cb=function(_0xee2d99,_0x3f8a25,_0x8a2a){let _0x2c5505=Array['from'](_0xee2d99)['filter'](_0x53aa25=>function(_0x20a344,_0x332ef0){return _0x332ef0[_0x1a5b('0x1a')](_0x20a344[_0x1a5b('0x23')],'listItem')&&!_0x332ef0['isObject'](_0x20a344);}(_0x53aa25,_0x8a2a));_0x2c5505=_0x2c5505[_0x1a5b('0x39')](_0x2a2640=>!_0x2a2640['is']('element',_0x1a5b('0x6'))||_0x2a2640[_0x1a5b('0x31')](_0x1a5b('0x1c'))!=_0x3f8a25);const _0x23cf2b=new Set();for(const _0x50d5e8 of _0x2c5505)_0x50d5e8['is'](_0x1a5b('0x35'),_0x1a5b('0x6'))?_0x23cf2b[_0x1a5b('0x3e')](ne(_0x50d5e8)):_0x23cf2b['add'](_0x50d5e8);return Array['from'](_0x23cf2b);}(_0x5728e0[_0x1a5b('0x40')](),_0x5054f8,_0xcf7bbc[_0x1a5b('0x32')][_0x1a5b('0x21')]);_0xcf7bbc[_0x1a5b('0x32')][_0x1a5b('0x22')](()=>{for(const _0x30deaf of _0x5b80cb)_0x2d9cf3[_0x1a5b('0x1f')](_0x30deaf,{'commandName':_0x243181,'commandParams':[{'forceValue':!_0x572a7e[_0x1a5b('0x7')]}],'formatGroupId':_0x1a5b('0x30')},oe(_0x30deaf));});};}function _0x3410f5(_0x5e7b3a){return()=>{const _0x50bbce=function(_0x583f9f){let _0x52245c=Array[_0x1a5b('0xa')](_0x583f9f);const _0x334a32=_0x52245c[_0x1a5b('0x15')](_0x5dd155=>_0x1a5b('0x6')!=_0x5dd155['name']);return _0x334a32>-0x1&&(_0x52245c=_0x52245c['slice'](0x0,_0x334a32)),_0x52245c;}(_0xcf7bbc[_0x1a5b('0x32')][_0x1a5b('0x18')][_0x1a5b('0x27')][_0x1a5b('0x40')]()),_0x11081e=_0xcf7bbc['model'][_0x1a5b('0x2c')](_0xcf7bbc['model'][_0x1a5b('0x42')](_0x50bbce[0x0],'before'),_0xcf7bbc[_0x1a5b('0x32')][_0x1a5b('0x42')](_0x50bbce[_0x50bbce[_0x1a5b('0x29')]-0x1],_0x1a5b('0x3c')));_0xcf7bbc[_0x1a5b('0x32')][_0x1a5b('0x22')](()=>{_0x2d9cf3[_0x1a5b('0x1f')](_0x11081e,{'commandName':_0x5e7b3a,'commandParams':[],'formatGroupId':'listIndent'},function(_0x48c68f){const _0x54164e=new Set();for(const _0x3de20c of _0x48c68f){let _0x16817c=_0x3de20c[_0x1a5b('0x41')];for(;_0x16817c&&_0x16817c[_0x1a5b('0x31')]('listIndent')>_0x3de20c[_0x1a5b('0x31')](_0x1a5b('0x11'));)_0x54164e[_0x1a5b('0x3e')](_0x16817c),_0x16817c=_0x16817c['nextSibling'];}return Array['from'](_0x54164e);}(_0x50bbce));});};}_0x2d9cf3[_0x1a5b('0x2e')](_0x1a5b('0xf'),_0x107559(_0x1a5b('0xf'))),_0x2d9cf3[_0x1a5b('0x2e')](_0x1a5b('0x24'),_0x107559(_0x1a5b('0x24'))),_0x24b319&&_0x2d9cf3[_0x1a5b('0x2e')](_0x1a5b('0x33'),_0x107559('todoList')),_0x2d9cf3[_0x1a5b('0x2e')](_0x1a5b('0x26'),_0x3410f5(_0x1a5b('0x26'))),_0x2d9cf3[_0x1a5b('0x2e')](_0x1a5b('0x2a'),_0x3410f5(_0x1a5b('0x2a'))),_0x24b319&&_0x2d9cf3['enableCommand']('checkTodoList',()=>{const _0x57c028=_0xcf7bbc['commands']['get'](_0x1a5b('0x1b')),_0x337f02=Array[_0x1a5b('0xa')](_0x57c028['_selectedElements']);_0x337f02[_0x1a5b('0x39')](_0x15bd31=>_0x15bd31[_0x1a5b('0x31')](_0x1a5b('0x3'))!=_0x57c028['value']),_0xcf7bbc[_0x1a5b('0x32')][_0x1a5b('0x22')](()=>{for(const _0x36c2d8 of _0x337f02)_0x2d9cf3[_0x1a5b('0x1f')](_0x36c2d8,{'commandName':_0x1a5b('0x1b'),'commandParams':[{'forceValue':!_0x57c028['value']}]});});}),_0x2d9cf3[_0x1a5b('0xc')]['registerElementLabel'](_0x1a5b('0x6'),_0x2da9cf=>_0x34912b(_0x144dc9,_0x1a5b('0x2f'),_0x2da9cf)),_0x2d9cf3[_0x1a5b('0xc')][_0x1a5b('0x1')](_0x1886dc=>{const {data:_0x5d101e}=_0x1886dc;if(_0x5d101e){if(_0x1a5b('0xf')==_0x5d101e[_0x1a5b('0x3f')]||_0x1a5b('0x24')==_0x5d101e['commandName']||'todoList'==_0x5d101e['commandName'])switch(_0x5d101e[_0x1a5b('0x3f')][_0x1a5b('0x10')](_0x1a5b('0x25'),'')){case _0x1a5b('0x4'):return _0x596ce1(_0x34912b(_0x144dc9,_0x1a5b('0x36')));case _0x1a5b('0x38'):return _0x596ce1(_0x34912b(_0x144dc9,_0x1a5b('0x13')));case _0x1a5b('0x14'):return _0x596ce1(_0x34912b(_0x144dc9,_0x1a5b('0x2b')));}if(_0x1a5b('0x26')==_0x5d101e[_0x1a5b('0x3f')])return{'type':_0x1a5b('0xe'),'content':_0x34912b(_0x144dc9,_0x1a5b('0x37'),_0x34912b(_0x144dc9,_0x1a5b('0x2f')))};if(_0x1a5b('0x2a')==_0x5d101e[_0x1a5b('0x3f')])return{'type':_0x1a5b('0xe'),'content':_0x34912b(_0x144dc9,_0x1a5b('0x34'),_0x34912b(_0x144dc9,_0x1a5b('0x2f')))};if(_0x1a5b('0x1b')==_0x5d101e[_0x1a5b('0x3f')])return _0x5d101e[_0x1a5b('0x17')][0x0][_0x1a5b('0x1e')]?{'type':_0x1a5b('0xe'),'content':_0x34912b(_0x144dc9,_0x1a5b('0xb'))}:{'type':'format','content':_0x34912b(_0x144dc9,'*Uncheck\x20item*')};}function _0x596ce1(_0x969f66){return{'type':'format','content':_0x34912b(_0x144dc9,_0x1a5b('0x2'),_0x969f66)};}});}}function ne(_0x419f63){const _0x14846d=_0x419f63['getAttribute'](_0x1a5b('0x11'));if(0x0==_0x14846d)return _0x419f63;let _0x1029a3=_0x419f63;for(;_0x419f63[_0x1a5b('0x16')]&&_0x419f63[_0x1a5b('0x16')]['is'](_0x1a5b('0x35'),'listItem');){const _0x467300=_0x419f63['previousSibling'][_0x1a5b('0x31')](_0x1a5b('0x11'));if(_0x467300==_0x14846d)_0x1029a3=_0x419f63[_0x1a5b('0x16')];else{if(_0x467300<_0x14846d)break;}_0x419f63=_0x419f63['previousSibling'];}return _0x1029a3;}function oe(_0x555c7d){const _0x59f7cc=[];if(_0x555c7d['is'](_0x1a5b('0x35'),_0x1a5b('0x6'))&&_0x555c7d['getAttribute']('listIndent')>0x0){let _0x26a1aa=_0x555c7d[_0x1a5b('0x41')];for(;_0x26a1aa&&'listItem'==_0x26a1aa[_0x1a5b('0x5')]&&_0x26a1aa[_0x1a5b('0x31')](_0x1a5b('0x11'))==_0x555c7d[_0x1a5b('0x31')](_0x1a5b('0x11'));)_0x59f7cc[_0x1a5b('0x3b')](_0x26a1aa),_0x26a1aa=_0x26a1aa[_0x1a5b('0x41')];}return _0x59f7cc;}