@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20230719.0 → 0.0.0-nightly-20230721.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (64) hide show
  1. package/build/track-changes.js +1 -1
  2. package/package.json +4 -4
  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 _0x3769=['fontSize.options','document','_descriptionFactory','title','markInlineFormat','find','plugins','format','_enableCommand','commandName','model','*Reset\x20font\x20family*','value','*Set\x20font\x20family:*\x20%0','enableCommand','fontSize','normalizeSizeOptions','*Reset\x20font\x20color*','toLowerCase','*Set\x20font\x20background\x20color:*\x20%0','change','TrackChangesEditing','label','FontBackgroundColorEditing','FontSize','has','*Set\x20font\x20color:*\x20%0','FontSizeEditing','*Reset\x20font\x20size*','fontBackgroundColor','*Set\x20font\x20size:*\x20%0','editor','getRanges','config','commandParams','fontBackgroundColor.colors','trim','FontFamilyEditing','get'];(function(_0x3e3564,_0x3769db){const _0x1265bf=function(_0x48e889){while(--_0x48e889){_0x3e3564['push'](_0x3e3564['shift']());}};_0x1265bf(++_0x3769db);}(_0x3769,0x169));const _0x1265=function(_0x3e3564,_0x3769db){_0x3e3564=_0x3e3564-0x0;let _0x1265bf=_0x3769[_0x3e3564];return _0x1265bf;};import{Plugin as _0x123caa}from'ckeditor5/src/core';import{normalizeColorOptions as _0x20e57f}from'ckeditor5/src/ui';import{getRangesWithAttribute as _0x49893f}from'./utils';import{getTranslation as _0x182527}from'../utils/common-translations';const Zt=[{'pluginName':_0x1265('0x11'),'commandName':_0x1265('0x5')},{'pluginName':_0x1265('0x1b'),'commandName':'fontFamily'},{'pluginName':'FontColorEditing','commandName':'fontColor'},{'pluginName':_0x1265('0xd'),'commandName':_0x1265('0x13')}];export default class H extends _0x123caa{['afterInit'](){const _0x115f23=this[_0x1265('0x15')]['locale'];for(const {pluginName:_0x2c87dc,commandName:_0x38439c}of Zt)this[_0x1265('0x15')]['plugins'][_0x1265('0xf')](_0x2c87dc)&&this[_0x1265('0x25')](_0x38439c);this[_0x1265('0x15')][_0x1265('0x23')]['get'](_0x1265('0xb'))[_0x1265('0x1f')]['registerDescriptionCallback'](_0x207dde=>{const _0x29cf3b=_0x115f23['t'],{data:_0x10a96d}=_0x207dde;if(null!=_0x10a96d){if(_0x1265('0x5')==_0x10a96d['commandName']){const _0x585358=_0x10a96d['commandParams'][0x0][_0x1265('0x2')];if(_0x585358){const _0x348e26=_0x29cf3b(this[_0x1265('0x15')][_0x1265('0x23')][_0x1265('0x1c')](_0x1265('0xe'))[_0x1265('0x6')](this[_0x1265('0x15')][_0x1265('0x17')][_0x1265('0x1c')](_0x1265('0x1d')))[_0x1265('0x22')](_0x35b1d4=>_0x35b1d4[_0x1265('0x0')]==_0x585358)[_0x1265('0x20')])[_0x1265('0x8')]();return{'type':_0x1265('0x24'),'content':_0x182527(_0x115f23,_0x1265('0x14'),_0x348e26)};}return{'type':'format','content':_0x182527(_0x115f23,_0x1265('0x12'))};}if('fontFamily'==_0x10a96d['commandName']){const _0x130b86=_0x10a96d['commandParams'][0x0][_0x1265('0x2')];return _0x130b86?{'type':_0x1265('0x24'),'content':_0x182527(_0x115f23,_0x1265('0x3'),_0x130b86)}:{'type':'format','content':_0x182527(_0x115f23,_0x1265('0x1'))};}if('fontColor'==_0x10a96d[_0x1265('0x26')]){const _0x5f3313=_0x10a96d['commandParams'][0x0]['value'];if(_0x5f3313){const _0x4b87ea=_0x20e57f(this[_0x1265('0x15')][_0x1265('0x17')][_0x1265('0x1c')]('fontColor.colors'))['find'](_0x262d91=>_0x262d91['model']==_0x5f3313);let _0x226fe4=_0x5f3313,_0x269de4='';return _0x4b87ea&&(_0x226fe4=_0x4b87ea['label'],_0x269de4=_0x29cf3b(_0x226fe4)[_0x1265('0x8')]()),{'type':_0x1265('0x24'),'content':_0x182527(_0x115f23,_0x1265('0x10'),_0x269de4)[_0x1265('0x1a')](),'color':{'value':_0x5f3313,'title':_0x269de4||_0x226fe4}};}return{'type':_0x1265('0x24'),'content':_0x182527(_0x115f23,_0x1265('0x7'))};}if('fontBackgroundColor'==_0x10a96d['commandName']){const _0x4cb80b=_0x10a96d[_0x1265('0x18')][0x0][_0x1265('0x2')];if(_0x4cb80b){const _0x2d14d0=_0x20e57f(this['editor'][_0x1265('0x17')]['get'](_0x1265('0x19')))[_0x1265('0x22')](_0x42f3e7=>_0x42f3e7[_0x1265('0x0')]==_0x4cb80b);let _0x1fa0ab=_0x4cb80b,_0x1f7ea6='';return _0x2d14d0&&(_0x1fa0ab=_0x2d14d0[_0x1265('0xc')],_0x1f7ea6=_0x29cf3b(_0x1fa0ab)[_0x1265('0x8')]()),{'type':_0x1265('0x24'),'content':_0x182527(_0x115f23,_0x1265('0x9'),_0x1f7ea6)[_0x1265('0x1a')](),'color':{'value':_0x4cb80b,'title':_0x1f7ea6||_0x1fa0ab}};}return{'type':_0x1265('0x24'),'content':_0x182527(_0x115f23,'*Reset\x20font\x20background\x20color*')};}}});}['_enableCommand'](_0x2245a2){const _0x5812f3=this[_0x1265('0x15')];_0x5812f3[_0x1265('0x23')][_0x1265('0x1c')](_0x1265('0xb'))[_0x1265('0x4')](_0x2245a2,(_0x10bddf,_0x45b34c={})=>{const _0x355462=_0x5812f3[_0x1265('0x0')][_0x1265('0x1e')]['selection'],_0x2d28a5=_0x45b34c[_0x1265('0x2')];_0x355462['isCollapsed']?_0x10bddf(_0x45b34c):_0x5812f3[_0x1265('0x0')][_0x1265('0xa')](()=>{const _0x349def=Array['from'](_0x355462[_0x1265('0x16')]());for(const _0x2fae38 of _0x349def){const _0x43724b=_0x2d28a5?[_0x2fae38]:_0x49893f(_0x2245a2,_0x2fae38,_0x5812f3[_0x1265('0x0')]);for(const _0x472a89 of _0x43724b)_0x5812f3[_0x1265('0x23')][_0x1265('0x1c')](_0x1265('0xb'))[_0x1265('0x21')](_0x472a89,{'commandName':_0x2245a2,'commandParams':[{'value':_0x2d28a5}]});}});});}}
23
+ const _0x4841=['label','change','commandName','fontBackgroundColor.colors','*Set\x20font\x20color:*\x20%0','config','fontColor','enableCommand','_descriptionFactory','fontColor.colors','fontSize','format','_enableCommand','normalizeSizeOptions','TrackChangesEditing','markInlineFormat','plugins','*Set\x20font\x20background\x20color:*\x20%0','commandParams','editor','fontBackgroundColor','find','document','fontFamily','has','model','afterInit','FontBackgroundColorEditing','*Reset\x20font\x20family*','value','isCollapsed','FontFamilyEditing','*Reset\x20font\x20color*','FontColorEditing','selection','get','trim','toLowerCase','*Reset\x20font\x20background\x20color*'];(function(_0x40fcfa,_0x4841bd){const _0x314a8a=function(_0x5c4a53){while(--_0x5c4a53){_0x40fcfa['push'](_0x40fcfa['shift']());}};_0x314a8a(++_0x4841bd);}(_0x4841,0x175));const _0x314a=function(_0x40fcfa,_0x4841bd){_0x40fcfa=_0x40fcfa-0x0;let _0x314a8a=_0x4841[_0x40fcfa];return _0x314a8a;};import{Plugin as _0x28779e}from'ckeditor5/src/core';import{normalizeColorOptions as _0x5c37fa}from'ckeditor5/src/ui';import{getRangesWithAttribute as _0xd82d48}from'./utils';import{getTranslation as _0x32c2ed}from'../utils/common-translations';const Zt=[{'pluginName':'FontSizeEditing','commandName':_0x314a('0x1b')},{'pluginName':_0x314a('0x9'),'commandName':_0x314a('0x1')},{'pluginName':_0x314a('0xb'),'commandName':_0x314a('0x17')},{'pluginName':_0x314a('0x5'),'commandName':_0x314a('0x25')}];export default class H extends _0x28779e{[_0x314a('0x4')](){const _0x2d44ab=this[_0x314a('0x24')]['locale'];for(const {pluginName:_0x223a49,commandName:_0x271eaf}of Zt)this[_0x314a('0x24')][_0x314a('0x21')][_0x314a('0x2')](_0x223a49)&&this[_0x314a('0x1d')](_0x271eaf);this[_0x314a('0x24')][_0x314a('0x21')]['get'](_0x314a('0x1f'))[_0x314a('0x19')]['registerDescriptionCallback'](_0x2d57eb=>{const _0x2034ba=_0x2d44ab['t'],{data:_0xe755b5}=_0x2d57eb;if(null!=_0xe755b5){if(_0x314a('0x1b')==_0xe755b5['commandName']){const _0x3d6b65=_0xe755b5[_0x314a('0x23')][0x0][_0x314a('0x7')];if(_0x3d6b65){const _0x285ddf=_0x2034ba(this['editor'][_0x314a('0x21')]['get']('FontSize')[_0x314a('0x1e')](this[_0x314a('0x24')][_0x314a('0x16')][_0x314a('0xd')]('fontSize.options'))[_0x314a('0x26')](_0x2915e3=>_0x2915e3[_0x314a('0x3')]==_0x3d6b65)['title'])[_0x314a('0xf')]();return{'type':'format','content':_0x32c2ed(_0x2d44ab,'*Set\x20font\x20size:*\x20%0',_0x285ddf)};}return{'type':'format','content':_0x32c2ed(_0x2d44ab,'*Reset\x20font\x20size*')};}if(_0x314a('0x1')==_0xe755b5[_0x314a('0x13')]){const _0x211e97=_0xe755b5[_0x314a('0x23')][0x0][_0x314a('0x7')];return _0x211e97?{'type':_0x314a('0x1c'),'content':_0x32c2ed(_0x2d44ab,'*Set\x20font\x20family:*\x20%0',_0x211e97)}:{'type':_0x314a('0x1c'),'content':_0x32c2ed(_0x2d44ab,_0x314a('0x6'))};}if('fontColor'==_0xe755b5[_0x314a('0x13')]){const _0x5f04d3=_0xe755b5[_0x314a('0x23')][0x0]['value'];if(_0x5f04d3){const _0x2f9e2f=_0x5c37fa(this['editor'][_0x314a('0x16')][_0x314a('0xd')](_0x314a('0x1a')))[_0x314a('0x26')](_0x29f691=>_0x29f691[_0x314a('0x3')]==_0x5f04d3);let _0x544379=_0x5f04d3,_0x459271='';return _0x2f9e2f&&(_0x544379=_0x2f9e2f['label'],_0x459271=_0x2034ba(_0x544379)[_0x314a('0xf')]()),{'type':_0x314a('0x1c'),'content':_0x32c2ed(_0x2d44ab,_0x314a('0x15'),_0x459271)[_0x314a('0xe')](),'color':{'value':_0x5f04d3,'title':_0x459271||_0x544379}};}return{'type':'format','content':_0x32c2ed(_0x2d44ab,_0x314a('0xa'))};}if('fontBackgroundColor'==_0xe755b5[_0x314a('0x13')]){const _0x5ede83=_0xe755b5['commandParams'][0x0]['value'];if(_0x5ede83){const _0x1b617d=_0x5c37fa(this['editor'][_0x314a('0x16')][_0x314a('0xd')](_0x314a('0x14')))[_0x314a('0x26')](_0x374ec0=>_0x374ec0[_0x314a('0x3')]==_0x5ede83);let _0x32ce5c=_0x5ede83,_0x41aa4c='';return _0x1b617d&&(_0x32ce5c=_0x1b617d[_0x314a('0x11')],_0x41aa4c=_0x2034ba(_0x32ce5c)[_0x314a('0xf')]()),{'type':'format','content':_0x32c2ed(_0x2d44ab,_0x314a('0x22'),_0x41aa4c)[_0x314a('0xe')](),'color':{'value':_0x5ede83,'title':_0x41aa4c||_0x32ce5c}};}return{'type':_0x314a('0x1c'),'content':_0x32c2ed(_0x2d44ab,_0x314a('0x10'))};}}});}[_0x314a('0x1d')](_0x34f460){const _0x174e2=this[_0x314a('0x24')];_0x174e2[_0x314a('0x21')]['get'](_0x314a('0x1f'))[_0x314a('0x18')](_0x34f460,(_0x3b7208,_0x36cf27={})=>{const _0x448f94=_0x174e2[_0x314a('0x3')][_0x314a('0x0')][_0x314a('0xc')],_0x4a8ae8=_0x36cf27[_0x314a('0x7')];_0x448f94[_0x314a('0x8')]?_0x3b7208(_0x36cf27):_0x174e2[_0x314a('0x3')][_0x314a('0x12')](()=>{const _0x302e00=Array['from'](_0x448f94['getRanges']());for(const _0x5ef8f8 of _0x302e00){const _0x410f78=_0x4a8ae8?[_0x5ef8f8]:_0xd82d48(_0x34f460,_0x5ef8f8,_0x174e2[_0x314a('0x3')]);for(const _0x57e23e of _0x410f78)_0x174e2[_0x314a('0x21')]['get'](_0x314a('0x1f'))[_0x314a('0x20')](_0x57e23e,{'commandName':_0x34f460,'commandParams':[{'value':_0x4a8ae8}]});}});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5db5=['join','commands','document','word','boolean','label','commandParams','getSelectedBlocks','format','config','modifySelection','charAt','getItems','getLastPosition','getAttributeProperties','markInlineFormat','from','FontSize','schema','copyFormat','fontSize','isBlock','getFirstPosition','model','TrackChangesEditing','editor','fontColor','enableCommand','keys','commandName','plugins','getRanges','createRange','title','push','pasteFormat','find','registerDescriptionCallback','get','isCollapsed','entries','getAttributes','length','toLowerCase','*Remove\x20all\x20formatting*','selection','slice','locale','backward','fontBackgroundColor'];(function(_0x5660b6,_0x5db5ba){const _0x2f7374=function(_0x54cb81){while(--_0x54cb81){_0x5660b6['push'](_0x5660b6['shift']());}};_0x2f7374(++_0x5db5ba);}(_0x5db5,0x1cf));const _0x2f73=function(_0x5660b6,_0x5db5ba){_0x5660b6=_0x5660b6-0x0;let _0x2f7374=_0x5db5[_0x5660b6];return _0x2f7374;};import{Plugin as _0x5d2b1d}from'ckeditor5/src/core';import{normalizeColorOptions as _0xdadfb4}from'ckeditor5/src/ui';import{first as _0x1add4e}from'ckeditor5/src/utils';import{getTranslation as _0x500ddc}from'../utils/common-translations';export default class W extends _0x5d2b1d{['afterInit'](){const _0x2dba24=this[_0x2f73('0xc')],_0x5badb7=_0x2dba24[_0x2f73('0xa')],_0x509236=_0x5badb7[_0x2f73('0x27')][_0x2f73('0x20')],_0x453042=_0x2dba24[_0x2f73('0x11')][_0x2f73('0x19')]('TrackChangesEditing'),_0x1e19e6=_0x2dba24[_0x2f73('0x22')],_0x5318db=_0x2dba24['commands'][_0x2f73('0x19')]('copyFormat'),_0x4031c4=_0x2dba24[_0x2f73('0x26')]['get']('pasteFormat');_0x5318db&&_0x4031c4&&(_0x453042['enableCommand']('pasteFormat',(_0x25b86b,_0x2fb0b7={})=>{const _0x358872=_0x2fb0b7;_0x5badb7['change'](()=>{const _0x4882f6=Array[_0x2f73('0x3')](_0x509236[_0x2f73('0x12')]()),_0x2c7cbc=_0x509236[_0x2f73('0x1a')]?[ro(_0x5badb7,_0x509236)]:_0x4882f6,_0x4c8460=!!_0x1add4e(function*(_0x2707fa,_0x2d275e){const _0x17e5ab=_0xcaf295=>!!_0x1add4e(function*(_0x407be0,_0x2b65ff){for(const [_0x5d0265]of _0x407be0[_0x2f73('0x1c')]()){const _0x4f6921=_0x2b65ff[_0x2f73('0x1')](_0x5d0265);_0x4f6921&&_0x4f6921['isFormatting']&&(yield _0x5d0265);}}(_0xcaf295,_0x2d275e));for(const _0x398006 of _0x2707fa[_0x2f73('0x12')]())for(const _0x21d5b6 of _0x398006[_0x2f73('0x31')]())!_0x2d275e[_0x2f73('0x8')](_0x21d5b6)&&_0x17e5ab(_0x21d5b6)&&(yield _0x21d5b6);for(const _0xf5b075 of _0x2707fa[_0x2f73('0x2c')]())_0x17e5ab(_0xf5b075)&&(yield _0xf5b075);_0x17e5ab(_0x2707fa)&&(yield _0x2707fa);}(_0x509236,_0x5badb7[_0x2f73('0x5')]));if(_0x4c8460||0x0!==Object[_0x2f73('0xf')](_0x358872)[_0x2f73('0x1d')])for(const _0x395611 of _0x2c7cbc)_0x453042[_0x2f73('0x2')](_0x395611,{'commandName':_0x2f73('0x16'),'commandParams':[_0x358872]});});}),_0x453042['_descriptionFactory'][_0x2f73('0x18')](_0x439c14=>{const {data:_0x2f7bb0}=_0x439c14;if(_0x2f7bb0&&_0x2f73('0x16')===_0x2f7bb0[_0x2f73('0x10')]){const _0x498fa6=[],_0x3dd7de=_0x2f7bb0[_0x2f73('0x2b')][0x0];for(const [_0x2357a5,_0x442316]of Object[_0x2f73('0x1b')](_0x3dd7de))_0x498fa6[_0x2f73('0x15')](no(_0x2dba24,_0x2357a5,_0x442316));return _0x498fa6['length']?{'type':_0x2f73('0x2d'),'content':_0x500ddc(_0x1e19e6,'*Set\x20format\x20to:*\x20%0',_0x498fa6[_0x2f73('0x25')](',\x20'))}:{'type':'format','content':_0x500ddc(_0x1e19e6,_0x2f73('0x1f'))};}}),_0x2dba24[_0x2f73('0x11')]['get'](_0x2f73('0xb'))[_0x2f73('0xe')](_0x2f73('0x6')));}}function ro(_0x4f4106,_0x331dc0){const _0xf49fc=_0x4f4106['createSelection'](_0x331dc0);_0x4f4106[_0x2f73('0x2f')](_0xf49fc,{'unit':_0x2f73('0x28'),'direction':_0x2f73('0x23')});const _0x513a12=_0xf49fc[_0x2f73('0x9')]();_0x4f4106['modifySelection'](_0xf49fc,{'unit':_0x2f73('0x28'),'direction':'forward'});const _0x187075=_0xf49fc[_0x2f73('0x0')]();return _0x4f4106[_0x2f73('0x13')](_0x513a12,_0x187075);}function no(_0x5c8863,_0x5469b3,_0x4c9129){const _0x29668b=_0x5c8863[_0x2f73('0x22')]['t'],_0x12099e=_0x5469b3['split'](/(?=[A-Z])/)[_0x2f73('0x25')]('\x20'),_0x3e3f83=_0x29668b(_0x12099e[_0x2f73('0x30')](0x0)['toUpperCase']()+_0x12099e[_0x2f73('0x21')](0x1))['toLowerCase']();if(_0x2f73('0x29')==typeof _0x4c9129)return _0x3e3f83;if(_0x2f73('0xd')===_0x5469b3||_0x2f73('0x24')===_0x5469b3){const _0x2d0813=_0xdadfb4(_0x5c8863[_0x2f73('0x2e')][_0x2f73('0x19')]('fontColor.colors'))['find'](_0x11ee99=>_0x11ee99['model']==_0x4c9129);return _0x3e3f83+'\x20('+(_0x2d0813?_0x29668b(_0x2d0813[_0x2f73('0x2a')])[_0x2f73('0x1e')]():_0x4c9129)+')';}if(_0x2f73('0x7')===_0x5469b3&&isNaN(parseFloat(_0x4c9129))){const _0x547838=_0x5c8863['plugins'][_0x2f73('0x19')](_0x2f73('0x4'))['normalizeSizeOptions'](_0x5c8863[_0x2f73('0x2e')][_0x2f73('0x19')]('fontSize.options'))[_0x2f73('0x17')](_0xaaeaf4=>_0xaaeaf4['model']==_0x4c9129);return _0x3e3f83+'\x20('+(_0x547838?_0x29668b(_0x547838[_0x2f73('0x14')])[_0x2f73('0x1e')]():_0x4c9129)+')';}return _0x3e3f83+'\x20('+_0x4c9129+')';}
23
+ const _0x3856=['get','*Remove\x20all\x20formatting*','backward','document','format','modifySelection','locale','getSelectedBlocks','isCollapsed','normalizeSizeOptions','getRanges','selection','createRange','length','commandName','join','fontColor','config','enableCommand','plugins','TrackChangesEditing','from','model','keys','afterInit','slice','commands','label','fontColor.colors','split','fontSize.options','toLowerCase','FontSize','createSelection','getAttributes','getFirstPosition','find','boolean','title','getAttributeProperties','commandParams','word','*Set\x20format\x20to:*\x20%0','getItems','isFormatting','markInlineFormat','registerDescriptionCallback','fontBackgroundColor','pasteFormat','copyFormat'];(function(_0x2d2a56,_0x3856c0){const _0x2767f1=function(_0x124fca){while(--_0x124fca){_0x2d2a56['push'](_0x2d2a56['shift']());}};_0x2767f1(++_0x3856c0);}(_0x3856,0x6f));const _0x2767=function(_0x2d2a56,_0x3856c0){_0x2d2a56=_0x2d2a56-0x0;let _0x2767f1=_0x3856[_0x2d2a56];return _0x2767f1;};import{Plugin as _0x3fc6c5}from'ckeditor5/src/core';import{normalizeColorOptions as _0x3bcdd8}from'ckeditor5/src/ui';import{first as _0x598723}from'ckeditor5/src/utils';import{getTranslation as _0x36f2ef}from'../utils/common-translations';export default class W extends _0x3fc6c5{[_0x2767('0xd')](){const _0x2a68e7=this['editor'],_0x527449=_0x2a68e7[_0x2767('0xb')],_0x41aa62=_0x527449[_0x2767('0x2a')][_0x2767('0x0')],_0x3ba936=_0x2a68e7['plugins']['get']('TrackChangesEditing'),_0x4ad823=_0x2a68e7[_0x2767('0x2d')],_0x412233=_0x2a68e7[_0x2767('0xf')][_0x2767('0x27')](_0x2767('0x26')),_0x2aec33=_0x2a68e7[_0x2767('0xf')][_0x2767('0x27')](_0x2767('0x25'));_0x412233&&_0x2aec33&&(_0x3ba936[_0x2767('0x7')](_0x2767('0x25'),(_0xd5060a,_0x3c6028={})=>{const _0x871e26=_0x3c6028;_0x527449['change'](()=>{const _0x27aba0=Array[_0x2767('0xa')](_0x41aa62[_0x2767('0x31')]()),_0x1d950e=_0x41aa62[_0x2767('0x2f')]?[ro(_0x527449,_0x41aa62)]:_0x27aba0,_0x5a3f47=!!_0x598723(function*(_0x421cf2,_0x3d45f1){const _0x426d08=_0x221643=>!!_0x598723(function*(_0x510bad,_0x4f98e4){for(const [_0xf0410c]of _0x510bad[_0x2767('0x17')]()){const _0x41522e=_0x4f98e4[_0x2767('0x1c')](_0xf0410c);_0x41522e&&_0x41522e[_0x2767('0x21')]&&(yield _0xf0410c);}}(_0x221643,_0x3d45f1));for(const _0x4e15fa of _0x421cf2['getRanges']())for(const _0x4d0537 of _0x4e15fa[_0x2767('0x20')]())!_0x3d45f1['isBlock'](_0x4d0537)&&_0x426d08(_0x4d0537)&&(yield _0x4d0537);for(const _0x36fbe5 of _0x421cf2[_0x2767('0x2e')]())_0x426d08(_0x36fbe5)&&(yield _0x36fbe5);_0x426d08(_0x421cf2)&&(yield _0x421cf2);}(_0x41aa62,_0x527449['schema']));if(_0x5a3f47||0x0!==Object[_0x2767('0xc')](_0x871e26)[_0x2767('0x2')])for(const _0x1c1202 of _0x1d950e)_0x3ba936[_0x2767('0x22')](_0x1c1202,{'commandName':_0x2767('0x25'),'commandParams':[_0x871e26]});});}),_0x3ba936['_descriptionFactory'][_0x2767('0x23')](_0x47ce21=>{const {data:_0x4d0e9e}=_0x47ce21;if(_0x4d0e9e&&_0x2767('0x25')===_0x4d0e9e[_0x2767('0x3')]){const _0x28b323=[],_0x3d25ff=_0x4d0e9e[_0x2767('0x1d')][0x0];for(const [_0x234c9c,_0x33d3d8]of Object['entries'](_0x3d25ff))_0x28b323['push'](no(_0x2a68e7,_0x234c9c,_0x33d3d8));return _0x28b323['length']?{'type':_0x2767('0x2b'),'content':_0x36f2ef(_0x4ad823,_0x2767('0x1f'),_0x28b323[_0x2767('0x4')](',\x20'))}:{'type':_0x2767('0x2b'),'content':_0x36f2ef(_0x4ad823,_0x2767('0x28'))};}}),_0x2a68e7[_0x2767('0x8')][_0x2767('0x27')](_0x2767('0x9'))[_0x2767('0x7')](_0x2767('0x26')));}}function ro(_0x3b1478,_0xaaa437){const _0x1297c5=_0x3b1478[_0x2767('0x16')](_0xaaa437);_0x3b1478[_0x2767('0x2c')](_0x1297c5,{'unit':_0x2767('0x1e'),'direction':_0x2767('0x29')});const _0xbf10cc=_0x1297c5[_0x2767('0x18')]();_0x3b1478['modifySelection'](_0x1297c5,{'unit':_0x2767('0x1e'),'direction':'forward'});const _0x305dd6=_0x1297c5['getLastPosition']();return _0x3b1478[_0x2767('0x1')](_0xbf10cc,_0x305dd6);}function no(_0x1c37f0,_0x2b172d,_0x448fab){const _0x1139e9=_0x1c37f0['locale']['t'],_0x285f8b=_0x2b172d[_0x2767('0x12')](/(?=[A-Z])/)[_0x2767('0x4')]('\x20'),_0x13af2f=_0x1139e9(_0x285f8b['charAt'](0x0)['toUpperCase']()+_0x285f8b[_0x2767('0xe')](0x1))[_0x2767('0x14')]();if(_0x2767('0x1a')==typeof _0x448fab)return _0x13af2f;if(_0x2767('0x5')===_0x2b172d||_0x2767('0x24')===_0x2b172d){const _0x753d86=_0x3bcdd8(_0x1c37f0[_0x2767('0x6')][_0x2767('0x27')](_0x2767('0x11')))[_0x2767('0x19')](_0x2ded8b=>_0x2ded8b[_0x2767('0xb')]==_0x448fab);return _0x13af2f+'\x20('+(_0x753d86?_0x1139e9(_0x753d86[_0x2767('0x10')])['toLowerCase']():_0x448fab)+')';}if('fontSize'===_0x2b172d&&isNaN(parseFloat(_0x448fab))){const _0xab3adb=_0x1c37f0['plugins']['get'](_0x2767('0x15'))[_0x2767('0x30')](_0x1c37f0[_0x2767('0x6')][_0x2767('0x27')](_0x2767('0x13')))['find'](_0x1dc36a=>_0x1dc36a[_0x2767('0xb')]==_0x448fab);return _0x13af2f+'\x20('+(_0xab3adb?_0x1139e9(_0xab3adb[_0x2767('0x1b')])[_0x2767('0x14')]():_0x448fab)+')';}return _0x13af2f+'\x20('+_0x448fab+')';}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x292f=['isObject','selection','checkChild','plugins','markBlockFormat','TrackChangesEditing','find','registerDescriptionCallback','getSelectedBlocks','ELEMENT_HEADING','HeadingEditing','model','name','from','commandParams','filter','format','_descriptionFactory','heading','registerElementLabel','paragraph','title','has','heading.options','parent','match','editor','value','locale','get','enableCommand','document'];(function(_0x10a523,_0x292fef){const _0x3695a1=function(_0x5e6dc4){while(--_0x5e6dc4){_0x10a523['push'](_0x10a523['shift']());}};_0x3695a1(++_0x292fef);}(_0x292f,0xa9));const _0x3695=function(_0x10a523,_0x292fef){_0x10a523=_0x10a523-0x0;let _0x3695a1=_0x292f[_0x10a523];return _0x3695a1;};import{Plugin as _0x3bd853}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x3e06af}from'./utils';import{getTranslation as _0x5e2234}from'../utils/common-translations';export default class J extends _0x3bd853{['afterInit'](){const _0x3cac63=this['editor'],_0x3055a2=_0x3cac63[_0x3695('0x13')],_0x57d83b=_0x3cac63['config'][_0x3695('0x14')](_0x3695('0xe'));if(!_0x3cac63[_0x3695('0x1a')][_0x3695('0xd')](_0x3695('0x1')))return;const _0x54f78a=_0x3cac63[_0x3695('0x1a')][_0x3695('0x14')](_0x3695('0x1c'));_0x54f78a[_0x3695('0x15')](_0x3695('0x9'),(_0x48fbe9,_0x55c9f9)=>{const _0x31c372=_0x55c9f9['value'],_0x18ddf1=Array[_0x3695('0x4')](this[_0x3695('0x11')]['model'][_0x3695('0x16')][_0x3695('0x18')][_0x3695('0x1f')]())[_0x3695('0x6')](_0x23cd9c=>function(_0x11bf70,_0x42277f,_0x25d299){return _0x25d299[_0x3695('0x19')](_0x11bf70[_0x3695('0xf')],_0x42277f)&&!_0x25d299[_0x3695('0x17')](_0x11bf70)&&_0x11bf70[_0x3695('0x3')]!=_0x42277f;}(_0x23cd9c,_0x31c372,this[_0x3695('0x11')]['model']['schema']));_0x3cac63[_0x3695('0x2')]['change'](()=>{for(const _0x57df1a of _0x18ddf1)_0x54f78a[_0x3695('0x1b')](_0x57df1a,{'commandName':_0x3695('0x9'),'commandParams':[_0x55c9f9],'formatGroupId':'blockName'},_0x3e06af(_0x57df1a));});});for(const _0x546c0c of _0x57d83b)_0x3695('0xb')!=_0x546c0c['model']&&_0x54f78a[_0x3695('0x8')][_0x3695('0xa')](_0x546c0c[_0x3695('0x2')],_0x5d050e=>{const _0x2cbda1=nn(_0x546c0c[_0x3695('0x2')]);return null!==_0x2cbda1?_0x31018b(_0x5d050e,_0x2cbda1):_0x44a0e1(_0x5d050e,_0x546c0c[_0x3695('0xc')]);});function _0x31018b(_0x27770e,_0x42b096){return _0x5e2234(_0x3055a2,_0x3695('0x0'),[_0x27770e,_0x42b096]);}function _0x44a0e1(_0x15c9ee,_0x33fe9f){return _0x5e2234(_0x3055a2,'ELEMENT_HEADING_CUSTOM',[_0x15c9ee,_0x33fe9f]);}_0x54f78a[_0x3695('0x8')][_0x3695('0x1e')](_0x20ecb9=>{const {type:_0x82987b,data:_0x268a11}=_0x20ecb9;if('formatBlock'==_0x82987b&&_0x268a11&&_0x3695('0x9')==_0x268a11['commandName']){const _0x15ec19=_0x268a11[_0x3695('0x5')][0x0][_0x3695('0x12')],_0x4ff2c8=nn(_0x15ec19);if(null!==_0x4ff2c8)return{'type':_0x3695('0x7'),'content':_0x5e2234(_0x3055a2,'*Change\x20to:*\x20%0',_0x31018b(0x1,_0x4ff2c8))};const _0x1f5a76=_0x57d83b[_0x3695('0x1d')](_0xfb2aa=>_0xfb2aa[_0x3695('0x2')]===_0x15ec19)['title'];return{'type':_0x3695('0x7'),'content':_0x5e2234(_0x3055a2,'*Change\x20to:*\x20%0',_0x44a0e1(0x1,_0x1f5a76))};}});}}function nn(_0x224116){const _0x5e64ae=_0x224116[_0x3695('0x10')](/^heading(\d+)$/);return _0x5e64ae?_0x5e64ae[0x1]:null;}
23
+ const _0x2d9c=['TrackChangesEditing','_descriptionFactory','title','heading','match','model','get','registerElementLabel','parent','afterInit','*Change\x20to:*\x20%0','editor','document','selection','schema','ELEMENT_HEADING','HeadingEditing','config','formatBlock','commandParams','blockName','format','locale','markBlockFormat','name','paragraph','value','plugins','heading.options','checkChild'];(function(_0x5a82a2,_0x2d9c98){const _0x5ac980=function(_0x1d0fbc){while(--_0x1d0fbc){_0x5a82a2['push'](_0x5a82a2['shift']());}};_0x5ac980(++_0x2d9c98);}(_0x2d9c,0x1e0));const _0x5ac9=function(_0x5a82a2,_0x2d9c98){_0x5a82a2=_0x5a82a2-0x0;let _0x5ac980=_0x2d9c[_0x5a82a2];return _0x5ac980;};import{Plugin as _0x14a643}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x9bbdb3}from'./utils';import{getTranslation as _0x2a9c35}from'../utils/common-translations';export default class J extends _0x14a643{[_0x5ac9('0x9')](){const _0x324e06=this[_0x5ac9('0xb')],_0x377fb3=_0x324e06[_0x5ac9('0x16')],_0x180e5a=_0x324e06[_0x5ac9('0x11')][_0x5ac9('0x6')](_0x5ac9('0x1c'));if(!_0x324e06[_0x5ac9('0x1b')]['has'](_0x5ac9('0x10')))return;const _0x3d2ef7=_0x324e06['plugins']['get'](_0x5ac9('0x0'));_0x3d2ef7['enableCommand'](_0x5ac9('0x3'),(_0x2e1096,_0x5e6fc6)=>{const _0x1b47d7=_0x5e6fc6[_0x5ac9('0x1a')],_0x219303=Array['from'](this[_0x5ac9('0xb')][_0x5ac9('0x5')][_0x5ac9('0xc')][_0x5ac9('0xd')]['getSelectedBlocks']())['filter'](_0x1bc95a=>function(_0xf29f32,_0x10aa62,_0x218c23){return _0x218c23[_0x5ac9('0x1d')](_0xf29f32[_0x5ac9('0x8')],_0x10aa62)&&!_0x218c23['isObject'](_0xf29f32)&&_0xf29f32[_0x5ac9('0x18')]!=_0x10aa62;}(_0x1bc95a,_0x1b47d7,this[_0x5ac9('0xb')][_0x5ac9('0x5')][_0x5ac9('0xe')]));_0x324e06[_0x5ac9('0x5')]['change'](()=>{for(const _0x19a065 of _0x219303)_0x3d2ef7[_0x5ac9('0x17')](_0x19a065,{'commandName':_0x5ac9('0x3'),'commandParams':[_0x5e6fc6],'formatGroupId':_0x5ac9('0x14')},_0x9bbdb3(_0x19a065));});});for(const _0x32e8bc of _0x180e5a)_0x5ac9('0x19')!=_0x32e8bc[_0x5ac9('0x5')]&&_0x3d2ef7[_0x5ac9('0x1')][_0x5ac9('0x7')](_0x32e8bc['model'],_0xd43601=>{const _0x898a7e=nn(_0x32e8bc[_0x5ac9('0x5')]);return null!==_0x898a7e?_0x42f170(_0xd43601,_0x898a7e):_0x31f3d1(_0xd43601,_0x32e8bc[_0x5ac9('0x2')]);});function _0x42f170(_0x3ab63e,_0x4428cb){return _0x2a9c35(_0x377fb3,_0x5ac9('0xf'),[_0x3ab63e,_0x4428cb]);}function _0x31f3d1(_0x1fb2a2,_0x2b8868){return _0x2a9c35(_0x377fb3,'ELEMENT_HEADING_CUSTOM',[_0x1fb2a2,_0x2b8868]);}_0x3d2ef7[_0x5ac9('0x1')]['registerDescriptionCallback'](_0x28d1bd=>{const {type:_0x2f644a,data:_0x1f34a6}=_0x28d1bd;if(_0x5ac9('0x12')==_0x2f644a&&_0x1f34a6&&_0x5ac9('0x3')==_0x1f34a6['commandName']){const _0x22f2a7=_0x1f34a6[_0x5ac9('0x13')][0x0][_0x5ac9('0x1a')],_0x5abfb6=nn(_0x22f2a7);if(null!==_0x5abfb6)return{'type':_0x5ac9('0x15'),'content':_0x2a9c35(_0x377fb3,_0x5ac9('0xa'),_0x42f170(0x1,_0x5abfb6))};const _0x50ecee=_0x180e5a['find'](_0x5d0e54=>_0x5d0e54[_0x5ac9('0x5')]===_0x22f2a7)[_0x5ac9('0x2')];return{'type':_0x5ac9('0x15'),'content':_0x2a9c35(_0x377fb3,'*Change\x20to:*\x20%0',_0x31f3d1(0x1,_0x50ecee))};}});}}function nn(_0x2fc9d8){const _0x2efc50=_0x2fc9d8[_0x5ac9('0x4')](/^heading(\d+)$/);return _0x2efc50?_0x2efc50[0x1]:null;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xdc46=['getFirstPosition','createRange','HighlightEditing','editor','value','toLowerCase','getAttribute','has','selection','push','afterInit','document','model','highlight','FORMAT_HIGHLIGHT','_descriptionFactory','*Remove\x20highlight*','highlight.options','formatInline','TrackChangesEditing','title','backward','*Set\x20highlight:*\x20%0','plugins','getLastMatchingPosition','color','find','enableCommand','markInlineFormat'];(function(_0x19104b,_0xdc4670){const _0xacd76f=function(_0x17d97){while(--_0x17d97){_0x19104b['push'](_0x19104b['shift']());}};_0xacd76f(++_0xdc4670);}(_0xdc46,0xcd));const _0xacd7=function(_0x19104b,_0xdc4670){_0x19104b=_0x19104b-0x0;let _0xacd76f=_0xdc46[_0x19104b];return _0xacd76f;};import{Plugin as _0x47ace1}from'ckeditor5/src/core';import{getTranslation as _0x3cb579}from'../utils/common-translations';import{getRangesWithAttribute as _0x4bcd0b}from'./utils';export default class K extends _0x47ace1{[_0xacd7('0x8')](){const _0x339d8c=this[_0xacd7('0x1')];if(!_0x339d8c[_0xacd7('0x15')][_0xacd7('0x5')](_0xacd7('0x0')))return;const _0x4b1020=_0x339d8c[_0xacd7('0x15')]['get'](_0xacd7('0x11'));_0x4b1020[_0xacd7('0x19')]('highlight',(_0x4d11dc,_0x3353f4={})=>{const _0x4e47b1=_0x339d8c['model'][_0xacd7('0x9')][_0xacd7('0x6')],_0x3263fb=_0x4e47b1[_0xacd7('0x4')](_0xacd7('0xb'));let _0x59aa97=_0x3353f4[_0xacd7('0x2')],_0x2a6dfb=[];if(_0x4e47b1['isCollapsed']){const _0x57d5a6=_0x4e47b1[_0xacd7('0x1b')]();if(!_0x4e47b1['hasAttribute'](_0xacd7('0xb')))return void _0x4d11dc(_0x3353f4);{const _0xce9783=_0x22fa23=>_0x22fa23['item']['getAttribute']('highlight')===_0x3263fb,_0x14dbd0=_0x57d5a6[_0xacd7('0x16')](_0xce9783,{'direction':_0xacd7('0x13')}),_0x57d691=_0x57d5a6[_0xacd7('0x16')](_0xce9783);_0x2a6dfb=[_0x339d8c[_0xacd7('0xa')][_0xacd7('0x1c')](_0x14dbd0,_0x57d691)],_0x59aa97==_0x3263fb&&(_0x59aa97=null);}}else for(const _0x25f971 of _0x4e47b1['getRanges']())_0x59aa97?_0x2a6dfb[_0xacd7('0x7')](_0x25f971):_0x2a6dfb[_0xacd7('0x7')](..._0x4bcd0b(_0xacd7('0xb'),_0x25f971,_0x339d8c[_0xacd7('0xa')]));_0x339d8c[_0xacd7('0xa')]['change'](()=>{for(const _0xe8971c of _0x2a6dfb)_0x4b1020[_0xacd7('0x1a')](_0xe8971c,{'commandName':_0xacd7('0xb'),'commandParams':[{'value':_0x59aa97}]});});});const _0x387d4e=_0x339d8c['locale'];_0x4b1020[_0xacd7('0xd')]['registerDescriptionCallback'](_0x12f0d4=>{const {type:_0x1aafc8,data:_0x465937}=_0x12f0d4;if(_0xacd7('0x10')==_0x1aafc8&&_0x465937&&_0xacd7('0xb')==_0x465937['commandName']){const _0x2da6c3=_0x387d4e['t'],_0x593a4b=_0x465937['commandParams'][0x0][_0xacd7('0x2')];if(_0x593a4b){const _0x235fee=_0x339d8c['config']['get'](_0xacd7('0xf'))[_0xacd7('0x18')](_0x336995=>_0x336995[_0xacd7('0xa')]==_0x593a4b),_0x5524fd=_0x2da6c3(_0x235fee['title'])[_0xacd7('0x3')]();return{'type':'format','content':_0x3cb579(_0x387d4e,_0xacd7('0x14'),_0x5524fd),'color':{'value':_0x235fee[_0xacd7('0x17')],'title':_0x235fee[_0xacd7('0x12')]}};}return{'type':'format','content':_0x3cb579(_0x387d4e,_0xacd7('0xe'),_0x3cb579(_0x387d4e,_0xacd7('0xc')))};}});}}
23
+ const _0x441c=['change','toLowerCase','locale','has','get','isCollapsed','commandParams','value','commandName','config','highlight.options','createRange','afterInit','markInlineFormat','editor','find','plugins','registerDescriptionCallback','title','highlight','push','*Set\x20highlight:*\x20%0','getLastMatchingPosition','getFirstPosition','format','getAttribute','*Remove\x20highlight*','item','model','enableCommand','_descriptionFactory','hasAttribute','getRanges','HighlightEditing'];(function(_0x2b4526,_0x441c22){const _0x14c4fa=function(_0x308c67){while(--_0x308c67){_0x2b4526['push'](_0x2b4526['shift']());}};_0x14c4fa(++_0x441c22);}(_0x441c,0x119));const _0x14c4=function(_0x2b4526,_0x441c22){_0x2b4526=_0x2b4526-0x0;let _0x14c4fa=_0x441c[_0x2b4526];return _0x14c4fa;};import{Plugin as _0x2a7ee9}from'ckeditor5/src/core';import{getTranslation as _0x5e3da2}from'../utils/common-translations';import{getRangesWithAttribute as _0x4194f2}from'./utils';export default class K extends _0x2a7ee9{[_0x14c4('0x3')](){const _0x225681=this[_0x14c4('0x5')];if(!_0x225681['plugins'][_0x14c4('0x1c')](_0x14c4('0x18')))return;const _0x10ccce=_0x225681[_0x14c4('0x7')][_0x14c4('0x1d')]('TrackChangesEditing');_0x10ccce[_0x14c4('0x14')]('highlight',(_0x104403,_0xf2bfb8={})=>{const _0x429d92=_0x225681['model']['document']['selection'],_0x5beb97=_0x429d92['getAttribute'](_0x14c4('0xa'));let _0x423c7c=_0xf2bfb8[_0x14c4('0x20')],_0x516106=[];if(_0x429d92[_0x14c4('0x1e')]){const _0x578ae7=_0x429d92[_0x14c4('0xe')]();if(!_0x429d92[_0x14c4('0x16')](_0x14c4('0xa')))return void _0x104403(_0xf2bfb8);{const _0x1b2065=_0x356d93=>_0x356d93[_0x14c4('0x12')][_0x14c4('0x10')]('highlight')===_0x5beb97,_0x225714=_0x578ae7[_0x14c4('0xd')](_0x1b2065,{'direction':'backward'}),_0x59bd4b=_0x578ae7['getLastMatchingPosition'](_0x1b2065);_0x516106=[_0x225681[_0x14c4('0x13')][_0x14c4('0x2')](_0x225714,_0x59bd4b)],_0x423c7c==_0x5beb97&&(_0x423c7c=null);}}else for(const _0x380e99 of _0x429d92[_0x14c4('0x17')]())_0x423c7c?_0x516106[_0x14c4('0xb')](_0x380e99):_0x516106[_0x14c4('0xb')](..._0x4194f2(_0x14c4('0xa'),_0x380e99,_0x225681['model']));_0x225681[_0x14c4('0x13')][_0x14c4('0x19')](()=>{for(const _0x1cf942 of _0x516106)_0x10ccce[_0x14c4('0x4')](_0x1cf942,{'commandName':_0x14c4('0xa'),'commandParams':[{'value':_0x423c7c}]});});});const _0x36920b=_0x225681[_0x14c4('0x1b')];_0x10ccce[_0x14c4('0x15')][_0x14c4('0x8')](_0x9ed7b6=>{const {type:_0x12ea32,data:_0x4e356a}=_0x9ed7b6;if('formatInline'==_0x12ea32&&_0x4e356a&&'highlight'==_0x4e356a[_0x14c4('0x21')]){const _0x37aa61=_0x36920b['t'],_0x5ef718=_0x4e356a[_0x14c4('0x1f')][0x0]['value'];if(_0x5ef718){const _0x3ddddf=_0x225681[_0x14c4('0x0')]['get'](_0x14c4('0x1'))[_0x14c4('0x6')](_0x1e1108=>_0x1e1108[_0x14c4('0x13')]==_0x5ef718),_0xe22b65=_0x37aa61(_0x3ddddf['title'])[_0x14c4('0x1a')]();return{'type':_0x14c4('0xf'),'content':_0x5e3da2(_0x36920b,_0x14c4('0xc'),_0xe22b65),'color':{'value':_0x3ddddf['color'],'title':_0x3ddddf[_0x14c4('0x9')]}};}return{'type':_0x14c4('0xf'),'content':_0x5e3da2(_0x36920b,_0x14c4('0x11'),_0x5e3da2(_0x36920b,'FORMAT_HIGHLIGHT'))};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2b5f=['get','enableCommand','HorizontalLineEditing','plugins','editor','has','TrackChangesEditing','addClass','showSuggestionHighlights','ELEMENT_HORIZONTAL_LINE','createPositionAt','createContainerElement','elementToStructure','dataDowncast','for','afterInit','conversion','horizontalLine','insert','div','ck-horizontal-line','high'];(function(_0x53b107,_0x2b5fc4){const _0xa2fcd8=function(_0xb3ec26){while(--_0xb3ec26){_0x53b107['push'](_0x53b107['shift']());}};_0xa2fcd8(++_0x2b5fc4);}(_0x2b5f,0x1c3));const _0xa2fc=function(_0x53b107,_0x2b5fc4){_0x53b107=_0x53b107-0x0;let _0xa2fcd8=_0x2b5f[_0x53b107];return _0xa2fcd8;};import{Plugin as _0x2ec78f}from'ckeditor5/src/core';import{getTranslation as _0xf75e0}from'../utils/common-translations';export default class Q extends _0x2ec78f{[_0xa2fc('0x4')](){const _0x5749da=this[_0xa2fc('0xf')];if(!_0x5749da[_0xa2fc('0xe')][_0xa2fc('0x10')](_0xa2fc('0xd')))return;_0x5749da['plugins'][_0xa2fc('0xb')]('TrackChangesEditing')[_0xa2fc('0xc')](_0xa2fc('0x6'));const _0x3107d1=_0x5749da['plugins'][_0xa2fc('0xb')](_0xa2fc('0x11')),_0x294b63=_0x5749da['locale'];_0x3107d1['_descriptionFactory']['registerElementLabel'](_0xa2fc('0x6'),_0x277f61=>_0xf75e0(_0x294b63,_0xa2fc('0x14'),_0x277f61)),_0x5749da[_0xa2fc('0x5')][_0xa2fc('0x3')](_0xa2fc('0x2'))[_0xa2fc('0x1')]({'model':_0xa2fc('0x6'),'view':(_0x460e8d,{writer:_0x1fdcae,options:_0x5728d3})=>{if(!_0x5728d3[_0xa2fc('0x13')])return null;const _0x3b3ada=_0x1fdcae[_0xa2fc('0x0')](_0xa2fc('0x8')),_0x5b54e7=_0x1fdcae['createEmptyElement']('hr');return _0x1fdcae[_0xa2fc('0x12')](_0xa2fc('0x9'),_0x3b3ada),_0x1fdcae[_0xa2fc('0x7')](_0x1fdcae[_0xa2fc('0x15')](_0x3b3ada,0x0),_0x5b54e7),_0x3b3ada;},'converterPriority':_0xa2fc('0xa')});}}
23
+ const _0x3fa3=['locale','for','registerElementLabel','div','showSuggestionHighlights','insert','dataDowncast','ck-horizontal-line','get','createPositionAt','afterInit','HorizontalLineEditing','TrackChangesEditing','plugins','horizontalLine','conversion','enableCommand','has','createEmptyElement','addClass'];(function(_0x195fc9,_0x3fa3c3){const _0x1322e3=function(_0x2525c6){while(--_0x2525c6){_0x195fc9['push'](_0x195fc9['shift']());}};_0x1322e3(++_0x3fa3c3);}(_0x3fa3,0x6a));const _0x1322=function(_0x195fc9,_0x3fa3c3){_0x195fc9=_0x195fc9-0x0;let _0x1322e3=_0x3fa3[_0x195fc9];return _0x1322e3;};import{Plugin as _0x18d0f6}from'ckeditor5/src/core';import{getTranslation as _0xb09822}from'../utils/common-translations';export default class Q extends _0x18d0f6{[_0x1322('0x4')](){const _0x3a2a69=this['editor'];if(!_0x3a2a69[_0x1322('0x7')][_0x1322('0xb')](_0x1322('0x5')))return;_0x3a2a69[_0x1322('0x7')]['get']('TrackChangesEditing')[_0x1322('0xa')](_0x1322('0x8'));const _0x6e6a43=_0x3a2a69[_0x1322('0x7')][_0x1322('0x2')](_0x1322('0x6')),_0xe03dc1=_0x3a2a69[_0x1322('0xe')];_0x6e6a43['_descriptionFactory'][_0x1322('0x10')](_0x1322('0x8'),_0x233296=>_0xb09822(_0xe03dc1,'ELEMENT_HORIZONTAL_LINE',_0x233296)),_0x3a2a69[_0x1322('0x9')][_0x1322('0xf')](_0x1322('0x0'))['elementToStructure']({'model':_0x1322('0x8'),'view':(_0x179d08,{writer:_0x2f97c1,options:_0x1ce691})=>{if(!_0x1ce691[_0x1322('0x12')])return null;const _0x1f813c=_0x2f97c1['createContainerElement'](_0x1322('0x11')),_0x5aecab=_0x2f97c1[_0x1322('0xc')]('hr');return _0x2f97c1[_0x1322('0xd')](_0x1322('0x1'),_0x1f813c),_0x2f97c1[_0x1322('0x13')](_0x2f97c1[_0x1322('0x3')](_0x1f813c,0x0),_0x5aecab),_0x1f813c;},'converterPriority':'high'});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3180=['document','get','_descriptionFactory','value','change','editing','registerElementLabel','HtmlEmbed','format','has','*Change\x20%0\x20content*','locale','element','getAttribute','getSelectedElement','htmlEmbed','rawHtml','plugins','ELEMENT_HTML_EMBED','getCustomProperty','view','markBlockFormat','TrackChangesEditing','selection','registerDescriptionCallback','model','afterInit'];(function(_0x1b3afc,_0x318032){const _0x4163de=function(_0x6ff696){while(--_0x6ff696){_0x1b3afc['push'](_0x1b3afc['shift']());}};_0x4163de(++_0x318032);}(_0x3180,0x6b));const _0x4163=function(_0x1b3afc,_0x318032){_0x1b3afc=_0x1b3afc-0x0;let _0x4163de=_0x3180[_0x1b3afc];return _0x4163de;};import{Plugin as _0x3912a6}from'ckeditor5/src/core';import{getTranslation as _0x47e92a}from'../utils/common-translations';export default class V extends _0x3912a6{[_0x4163('0x0')](){const _0x4e5b28=this['editor'];if(!_0x4e5b28[_0x4163('0x12')][_0x4163('0xa')](_0x4163('0x8')))return;const _0x157778=_0x4e5b28[_0x4163('0x12')][_0x4163('0x2')](_0x4163('0x17')),_0x156414=_0x4e5b28[_0x4163('0xc')],_0x2d70f0=_0x4e5b28[_0x4163('0x6')][_0x4163('0x15')]['document'][_0x4163('0x18')];_0x157778[_0x4163('0x3')][_0x4163('0x7')]('rawHtml',_0x4dd5be=>_0x47e92a(_0x156414,_0x4163('0x13'),_0x4dd5be)),_0x4e5b28['plugins'][_0x4163('0x2')](_0x4163('0x17'))['enableCommand']('htmlEmbed',(_0xfa27d,_0x269a9b)=>{const _0x33da8b=_0x4e5b28[_0x4163('0x1a')],_0x5b5159=_0x33da8b[_0x4163('0x1')][_0x4163('0x18')];_0x33da8b[_0x4163('0x5')](()=>{const _0x5285d9=function(_0x2222f6){const _0x55c872=_0x2222f6[_0x4163('0xf')]();if(_0x55c872&&_0x55c872['is'](_0x4163('0xd'),_0x4163('0x11')))return _0x2222f6[_0x4163('0xf')]();return null;}(_0x5b5159);if(!_0x5285d9)return void _0xfa27d(null);const _0x542574=_0x5285d9[_0x4163('0xe')](_0x4163('0x4'))||'';if(void 0x0===_0x269a9b)return;if(_0x269a9b===_0x542574)return;_0x157778[_0x4163('0x16')](_0x5285d9,{'commandName':'htmlEmbed','commandParams':[_0x269a9b]}),_0x2d70f0[_0x4163('0xf')]()[_0x4163('0x14')]('rawHtmlApi')['cancel']();});}),_0x157778[_0x4163('0x3')][_0x4163('0x19')](_0x3669f6=>{const {data:_0xfeb999}=_0x3669f6;if(_0xfeb999&&_0x4163('0x10')==_0xfeb999['commandName']){const _0x153bce=_0x47e92a(_0x156414,'ELEMENT_HTML_EMBED');return{'type':_0x4163('0x9'),'content':_0x47e92a(_0x156414,_0x4163('0xb'),_0x153bce)};}});}}
23
+ const _0x56e3=['value','ELEMENT_HTML_EMBED','registerDescriptionCallback','has','view','locale','registerElementLabel','getSelectedElement','editing','document','editor','rawHtml','element','getAttribute','selection','afterInit','_descriptionFactory','cancel','plugins','change','commandName','htmlEmbed','rawHtmlApi','get','TrackChangesEditing','format','getCustomProperty'];(function(_0x220a1c,_0x56e3cb){const _0x15ed7c=function(_0x4e03e2){while(--_0x4e03e2){_0x220a1c['push'](_0x220a1c['shift']());}};_0x15ed7c(++_0x56e3cb);}(_0x56e3,0xf3));const _0x15ed=function(_0x220a1c,_0x56e3cb){_0x220a1c=_0x220a1c-0x0;let _0x15ed7c=_0x56e3[_0x220a1c];return _0x15ed7c;};import{Plugin as _0x2cbca5}from'ckeditor5/src/core';import{getTranslation as _0x15ac6d}from'../utils/common-translations';export default class V extends _0x2cbca5{[_0x15ed('0xf')](){const _0x2b09ba=this[_0x15ed('0xa')];if(!_0x2b09ba[_0x15ed('0x12')][_0x15ed('0x3')]('HtmlEmbed'))return;const _0x6ff787=_0x2b09ba[_0x15ed('0x12')]['get'](_0x15ed('0x18')),_0x2e81b9=_0x2b09ba[_0x15ed('0x5')],_0x163143=_0x2b09ba[_0x15ed('0x8')][_0x15ed('0x4')][_0x15ed('0x9')][_0x15ed('0xe')];_0x6ff787[_0x15ed('0x10')][_0x15ed('0x6')]('rawHtml',_0xaf2a75=>_0x15ac6d(_0x2e81b9,_0x15ed('0x1'),_0xaf2a75)),_0x2b09ba['plugins'][_0x15ed('0x17')]('TrackChangesEditing')['enableCommand']('htmlEmbed',(_0x3cfae0,_0x574043)=>{const _0x12c235=_0x2b09ba['model'],_0x57a749=_0x12c235['document'][_0x15ed('0xe')];_0x12c235[_0x15ed('0x13')](()=>{const _0x444f79=function(_0x4a43b5){const _0x3a2872=_0x4a43b5[_0x15ed('0x7')]();if(_0x3a2872&&_0x3a2872['is'](_0x15ed('0xc'),_0x15ed('0xb')))return _0x4a43b5[_0x15ed('0x7')]();return null;}(_0x57a749);if(!_0x444f79)return void _0x3cfae0(null);const _0x26084d=_0x444f79[_0x15ed('0xd')](_0x15ed('0x0'))||'';if(void 0x0===_0x574043)return;if(_0x574043===_0x26084d)return;_0x6ff787['markBlockFormat'](_0x444f79,{'commandName':'htmlEmbed','commandParams':[_0x574043]}),_0x163143['getSelectedElement']()[_0x15ed('0x1a')](_0x15ed('0x16'))[_0x15ed('0x11')]();});}),_0x6ff787[_0x15ed('0x10')][_0x15ed('0x2')](_0x1dea0b=>{const {data:_0x4b45f0}=_0x1dea0b;if(_0x4b45f0&&_0x15ed('0x15')==_0x4b45f0[_0x15ed('0x14')]){const _0x426643=_0x15ac6d(_0x2e81b9,_0x15ed('0x1'));return{'type':_0x15ed('0x19'),'content':_0x15ac6d(_0x2e81b9,'*Change\x20%0\x20content*',_0x426643)};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5990=['subType','*Set\x20image\x20width:*\x20%0','insertion','formatBlock','get','commands','change','isInlineImage','join','hasSuggestion','toggleImageCaption','Block\x20image\x20to\x20inline\x20image','imageTypeBlock','_descriptionFactory','isCollapsed','forEach','enableCommand','imageCaption','commandName','uploadImage','imageStyle','type','nodeAfter','format','formatInline','Inline\x20image\x20to\x20block\x20image','markInsertion','*Set\x20image\x20text\x20alternative:*\x20%0','getSuggestion','ELEMENT_IMAGE','discardSuggestion','from','getClosestSelectedImageElement','model','toNext','isEqual','find','ImageUtils','ImageCaptionEditing','start','next','_splitMarkerName','imageInline','registerCustomCallback','alt','isIntersecting','newRange','end','findIndex','forceDefaultExecution','chain','schema','getSuggestions','isBefore','commandParams','insertImage','createRange','name','length','plugins','getChangedMarkers','FORMAT_SIDE_IMAGE','imageBlock','ImageBlockEditing','addObject','selection','suggestion','caption','document','imageTextAlternative','getNearestSelectionRange','registerElementLabel','removeObject','afterInit','newValue','value','*Reset\x20image\x20width*','isInContent','getSuggestionCallback','markBlockFormat','ImageInlineEditing','width','filter','Users','getCaptionFromImageModelElement','detach','ELEMENT_INLINE_IMAGE','toPrevious','convertInlineImageToBlock','discard','imageStylePreApply','locale','registerDescriptionCallback','_suggestionFactory','author','imageStylePostApply','isOwn','refresh','toLowerCase','resizeImage','getAttribute','ImageUploadEditing','side','ImageStyleEditing','ImageResize','backward','createRangeOn','imageTypeInline','getFirstRange','nodeBefore','registerPostFixer','fromPosition','getContainedElement','has','commandReversedParams','accept','deletion','*Format:*\x20%0','ELEMENT_CAPTION','isBlockImage','editor'];(function(_0x28348f,_0x59909a){const _0x543481=function(_0x562ce9){while(--_0x562ce9){_0x28348f['push'](_0x28348f['shift']());}};_0x543481(++_0x59909a);}(_0x5990,0x10d));const _0x5434=function(_0x28348f,_0x59909a){_0x28348f=_0x28348f-0x0;let _0x543481=_0x5990[_0x28348f];return _0x543481;};import{Plugin as _0x2e6b6e}from'ckeditor5/src/core';import{LivePosition as _0x120699}from'ckeditor5/src/engine';import{uid as _0x420076}from'ckeditor5/src/utils';import{getTranslation as _0x2077ac}from'../utils/common-translations';export default class X extends _0x2e6b6e{[_0x5434('0x2e')](){const _0x292602=this[_0x5434('0x5d')];if(!_0x292602[_0x5434('0x20')]['has']('ImageEditing'))return;const _0x2f231f=_0x292602[_0x5434('0x20')][_0x5434('0x62')]('TrackChangesEditing'),_0x3aed68=_0x292602[_0x5434('0x20')]['get'](_0x5434('0xa')),_0x4e8d57={},_0x269b40=_0x292602[_0x5434('0x40')];if(_0x2f231f[_0x5434('0x6e')](_0x5434('0x1c')),_0x2f231f[_0x5434('0x6b')]['registerElementLabel'](_0x5434('0x23'),_0x19b7c1=>_0x2077ac(_0x269b40,_0x5434('0x2'),_0x19b7c1)),_0x2f231f[_0x5434('0x6b')]['registerElementLabel'](_0x5434('0xf'),_0x2dbb0a=>_0x2077ac(_0x269b40,_0x5434('0x3b'),_0x2dbb0a)),_0x2f231f[_0x5434('0x6b')][_0x5434('0x2c')]('caption',()=>_0x2077ac(_0x269b40,_0x5434('0x5b'))),_0x292602['plugins'][_0x5434('0x56')](_0x5434('0x4a'))&&_0x2f231f[_0x5434('0x6e')](_0x5434('0x71')),_0x292602[_0x5434('0x20')][_0x5434('0x56')](_0x5434('0x24'))&&_0x292602['plugins'][_0x5434('0x56')](_0x5434('0x35'))&&(_0x2f231f[_0x5434('0x6e')](_0x5434('0x50'),(_0x2c08e0,_0x1087db)=>{const _0x1de22e=_0x3aed68[_0x5434('0x5')](_0x292602[_0x5434('0x6')][_0x5434('0x29')][_0x5434('0x26')]);_0x292602[_0x5434('0x6')]['change'](()=>{_0x2f231f['markBlockFormat'](_0x1de22e,{'commandName':_0x5434('0x50'),'commandParams':[_0x1087db]},[],'convertBlockImageToInline');});}),_0x2f231f[_0x5434('0x6e')](_0x5434('0x6a'),(_0x1543a1,_0x4a67b9)=>{_0x292602[_0x5434('0x6')][_0x5434('0x64')](_0x120dd7=>{let _0x1e0c2b=_0x3aed68['getClosestSelectedImageElement'](_0x292602[_0x5434('0x6')][_0x5434('0x29')][_0x5434('0x26')]),_0x56c526=_0x120dd7[_0x5434('0x4f')](_0x1e0c2b);const _0x55b047=_0x120699[_0x5434('0x54')](_0x56c526['start'],_0x5434('0x3c')),_0x38a333=_0x120699[_0x5434('0x54')](_0x56c526['end'],_0x5434('0x7'));_0x2f231f[_0x5434('0x16')](()=>_0x1543a1(_0x4a67b9)),_0x1e0c2b=_0x3aed68[_0x5434('0x5')](_0x292602[_0x5434('0x6')][_0x5434('0x29')][_0x5434('0x26')]),_0x56c526=_0x120dd7['createRangeOn'](_0x1e0c2b);const _0x5afa44=_0x120dd7[_0x5434('0x1d')](_0x55b047,_0x38a333);_0x55b047[_0x5434('0x3a')](),_0x38a333[_0x5434('0x3a')](),_0x2f231f[_0x5434('0x34')](_0x1e0c2b,{'commandName':_0x5434('0x50'),'commandParams':[]},[],_0x5434('0x3d')),_0x5afa44['start']['isBefore'](_0x56c526[_0x5434('0xc')])&&_0x2f231f[_0x5434('0x78')](_0x120dd7[_0x5434('0x1d')](_0x5afa44[_0x5434('0xc')],_0x56c526[_0x5434('0xc')]),_0x5434('0x3d')),_0x56c526[_0x5434('0x14')]['isBefore'](_0x5afa44[_0x5434('0x14')])&&_0x2f231f[_0x5434('0x78')](_0x120dd7[_0x5434('0x1d')](_0x56c526[_0x5434('0x14')],_0x5afa44[_0x5434('0x14')]),_0x5434('0x3d'));});}),_0x2f231f[_0x5434('0x42')][_0x5434('0x10')](_0x5434('0x61'),'convertInlineImageToBlock',_0x5434('0x66'),()=>{}),_0x2f231f[_0x5434('0x42')][_0x5434('0x10')]('formatBlock',_0x5434('0x3d'),_0x5434('0x58'),()=>{}),_0x2f231f[_0x5434('0x42')][_0x5434('0x10')]('formatBlock',_0x5434('0x3d'),_0x5434('0x3e'),_0x2f231f[_0x5434('0x42')][_0x5434('0x33')](_0x5434('0x61'),'',_0x5434('0x58'))),_0x2f231f[_0x5434('0x42')]['registerCustomCallback'](_0x5434('0x60'),_0x5434('0x3d'),_0x5434('0x66'),()=>{}),_0x2f231f['_suggestionFactory'][_0x5434('0x10')]('insertion',_0x5434('0x3d'),_0x5434('0x3e'),([_0x2611ac])=>{const _0x42cc4c=_0x2f231f['_suggestionFactory'][_0x5434('0x33')]('insertion','',_0x5434('0x3e'));let _0x335d80=_0x2611ac['start'],_0x5665ad=_0x2611ac[_0x5434('0x14')];const _0x3ba5ef=_0x292602['model']['schema']['getNearestSelectionRange'](_0x335d80,_0x5434('0x4e')),_0x506965=_0x292602[_0x5434('0x6')][_0x5434('0x18')][_0x5434('0x2b')](_0x5665ad,'forward');_0x3ba5ef[_0x5434('0x6c')]&&(_0x335d80=_0x3ba5ef[_0x5434('0xc')]),_0x506965[_0x5434('0x6c')]&&(_0x5665ad=_0x506965[_0x5434('0x14')]),_0x42cc4c([_0x292602['model'][_0x5434('0x1d')](_0x335d80,_0x5665ad)]);}),_0x2f231f[_0x5434('0x42')][_0x5434('0x10')](_0x5434('0x61'),'convertInlineImageToBlock',_0x5434('0x17'),_0xba683d),_0x2f231f[_0x5434('0x42')][_0x5434('0x10')](_0x5434('0x60'),'convertInlineImageToBlock','chain',_0xba683d)),_0x292602['plugins'][_0x5434('0x56')](_0x5434('0xb'))&&(_0x2f231f[_0x5434('0x6e')](_0x5434('0x68'),(_0x4aa026,_0x40e304)=>{const _0x58aa16=_0x292602['plugins'][_0x5434('0x62')]('ImageCaptionUtils');let _0x401361=_0x3aed68[_0x5434('0x5')](_0x292602[_0x5434('0x6')][_0x5434('0x29')][_0x5434('0x26')]),_0x34557b=_0x58aa16[_0x5434('0x39')](_0x401361);_0x292602[_0x5434('0x6')][_0x5434('0x64')](()=>{if(_0x34557b)return void _0x2f231f['markDeletion'](_0x292602[_0x5434('0x6')]['createRangeOn'](_0x34557b));const _0x5d5aa7=_0x3aed68[_0x5434('0x5c')](_0x401361);_0x4aa026(_0x40e304),_0x401361=_0x3aed68[_0x5434('0x5')](_0x292602[_0x5434('0x6')]['document'][_0x5434('0x26')]),_0x34557b=_0x58aa16[_0x5434('0x39')](_0x401361),_0x2f231f['markInsertion'](_0x292602[_0x5434('0x6')]['createRangeOn'](_0x34557b),_0x5d5aa7?null:_0x5434('0x6f'));});}),_0x2f231f[_0x5434('0x42')]['registerCustomCallback'](_0x5434('0x60'),'imageCaption',_0x5434('0x17'),_0xba683d)),_0x292602[_0x5434('0x20')][_0x5434('0x56')](_0x5434('0x4c'))){_0x2f231f[_0x5434('0x6e')]('imageStyle',(_0x5bd1bb,_0x2afdc2)=>{const _0x177492=_0x292602[_0x5434('0x20')][_0x5434('0x62')](_0x5434('0x38'))['me'],_0x5b2b5d=_0x292602[_0x5434('0x63')][_0x5434('0x62')]('imageStyle');let _0x4ad7a4=_0x3aed68['getClosestSelectedImageElement'](_0x292602[_0x5434('0x6')][_0x5434('0x29')]['selection']),_0x4bc969=_0x292602[_0x5434('0x6')][_0x5434('0x4f')](_0x4ad7a4),_0x5df6a4=_0x5b2b5d[_0x5434('0x30')];if(_0x5df6a4==_0x2afdc2[_0x5434('0x30')])return;const _0xccf51b={'commandName':'imageStyle','commandParams':[_0x2afdc2],'formatGroupId':_0x420076()};_0x292602[_0x5434('0x6')][_0x5434('0x64')](()=>{if(_0x2f231f[_0x5434('0x19')]()[_0x5434('0x37')](_0x37b882=>_0x37b882[_0x5434('0x32')]&&_0x177492==_0x37b882[_0x5434('0x43')]&&(_0x5434('0x61')==_0x37b882['type']||_0x5434('0x76')==_0x37b882[_0x5434('0x73')])&&('imageStylePreApply'==_0x37b882[_0x5434('0x5e')]||_0x5434('0x44')==_0x37b882[_0x5434('0x5e')])&&_0x37b882[_0x5434('0x51')]()[_0x5434('0x8')](_0x4bc969))[_0x5434('0x6d')](_0x255a04=>_0x2f231f[_0x5434('0x3')](_0x255a04['head'])),_0x4ad7a4=_0x3aed68[_0x5434('0x5')](_0x292602['model'][_0x5434('0x29')][_0x5434('0x26')]),_0x4bc969=_0x292602['model']['createRangeOn'](_0x4ad7a4),_0x5b2b5d[_0x5434('0x46')](),_0x292602['commands'][_0x5434('0x62')](_0x5434('0x50'))[_0x5434('0x46')](),_0x292602[_0x5434('0x63')]['get'](_0x5434('0x6a'))[_0x5434('0x46')](),_0x5df6a4=_0x5b2b5d[_0x5434('0x30')],_0x5df6a4!=_0x2afdc2['value'])return _0x3aed68[_0x5434('0x65')](_0x4ad7a4)&&_0x5b2b5d['shouldConvertImageType'](_0x2afdc2[_0x5434('0x30')],_0x4ad7a4)?(_0x5bd1bb(_0x2afdc2),_0x4ad7a4=_0x3aed68[_0x5434('0x5')](_0x292602[_0x5434('0x6')][_0x5434('0x29')]['selection']),void _0x2f231f[_0x5434('0x34')](_0x4ad7a4,{..._0xccf51b,'commandReversedParams':[{'value':_0x5df6a4||null}]},[],_0x5434('0x3f'))):void(_0x3aed68[_0x5434('0x5c')](_0x4ad7a4)?_0x2f231f[_0x5434('0x34')](_0x4ad7a4,_0xccf51b,[],_0x5434('0x44')):_0x2f231f['markInlineFormat'](_0x4bc969,_0xccf51b,_0x5434('0x44')));});});for(const _0x1aef70 of _0x292602[_0x5434('0x20')][_0x5434('0x62')]('ImageStyleEditing')['normalizedStyles'])_0x4e8d57[_0x1aef70[_0x5434('0x1e')]]=_0x1aef70['title'][_0x5434('0x47')]();_0x2f231f['_suggestionFactory'][_0x5434('0x10')](_0x5434('0x61'),_0x5434('0x3f'),_0x5434('0x66'),()=>{}),_0x2f231f[_0x5434('0x42')]['registerCustomCallback'](_0x5434('0x61'),_0x5434('0x44'),_0x5434('0x66'),()=>{}),_0x2f231f[_0x5434('0x42')][_0x5434('0x10')](_0x5434('0x76'),_0x5434('0x44'),_0x5434('0x66'),()=>{}),_0x2f231f[_0x5434('0x42')][_0x5434('0x10')]('formatBlock',_0x5434('0x3f'),'accept',()=>{}),_0x2f231f['_suggestionFactory'][_0x5434('0x10')](_0x5434('0x61'),_0x5434('0x3f'),_0x5434('0x3e'),(_0xa1afb8,_0xf6d3d5)=>{_0x2f231f[_0x5434('0x42')]['getSuggestionCallback'](_0x5434('0x61'),'','accept')(_0xa1afb8,{'commandName':_0xf6d3d5[_0x5434('0x70')],'commandParams':_0xf6d3d5[_0x5434('0x57')]});}),_0x2f231f[_0x5434('0x42')][_0x5434('0x10')](_0x5434('0x61'),_0x5434('0x3f'),_0x5434('0x17'),_0xba683d);}const _0x2295ed=[{'type':'formatBlock','subType':_0x5434('0x3f')},{'type':_0x5434('0x60'),'subType':'imageCaption'},{'type':'formatBlock','subType':_0x5434('0x3d')},{'type':_0x5434('0x60'),'subType':_0x5434('0x3d')}];function _0x558470(_0x26568c,_0x59e657){const _0x940adf=_0x2295ed[_0x5434('0x15')](({type:_0x272bd9,subType:_0x4dbce9})=>_0x26568c[_0x5434('0x73')]==_0x272bd9&&_0x26568c['subType']==_0x4dbce9),_0x3a8b28=_0x2295ed[_0x5434('0x15')](({type:_0x46d0f2,subType:_0x54c013})=>_0x59e657[_0x5434('0x73')]==_0x46d0f2&&_0x59e657[_0x5434('0x5e')]==_0x54c013);if(_0x940adf<0x0||_0x3a8b28<0x0)return!0x1;const _0x1720bb=_0x26568c[_0x5434('0x51')](),_0x43db47=_0x59e657[_0x5434('0x51')]();if((0x0==_0x940adf||0x1==_0x940adf)&&0x2==_0x3a8b28&&_0x1720bb[_0x5434('0x12')](_0x43db47))return!0x0;if(0x2==_0x940adf&&0x3==_0x3a8b28){const _0x16ad44=_0x2f231f['_findSuggestions'](_0x1720bb,_0x5434('0x60'))[_0x5434('0x37')](({suggestion:_0x4a7e19,meta:_0xc54542})=>_0xc54542[_0x5434('0x45')]&&'convertInlineImageToBlock'==_0x4a7e19[_0x5434('0x5e')]);if(_0x16ad44[_0x5434('0x1f')]>0x1&&_0x43db47[_0x5434('0x14')]['isEqual'](_0x1720bb[_0x5434('0xc')]))return!0x0;if(0x1==_0x16ad44[_0x5434('0x1f')]&&(_0x1720bb[_0x5434('0xc')][_0x5434('0x8')](_0x43db47['end'])||_0x1720bb[_0x5434('0x14')][_0x5434('0x8')](_0x43db47[_0x5434('0xc')])))return!0x0;}if(0x3==_0x940adf&&0x3==_0x3a8b28&&_0x1720bb[_0x5434('0xc')][_0x5434('0x1a')](_0x43db47['start'])){const _0x8c304f=_0x1720bb[_0x5434('0x14')][_0x5434('0x74')],_0x5e6fb0=_0x43db47[_0x5434('0xc')][_0x5434('0x52')];return _0x3aed68[_0x5434('0x5c')](_0x8c304f)&&_0x8c304f===_0x5e6fb0;}return!0x1;}function _0xba683d(_0x10ec01,_0x405488){return _0x558470(_0x10ec01,_0x405488)?[_0x10ec01,_0x405488]:_0x558470(_0x405488,_0x10ec01)?[_0x405488,_0x10ec01]:null;}_0x292602['model'][_0x5434('0x29')][_0x5434('0x53')](()=>{let _0x4f677d=!0x1;const _0x54de4a=Array[_0x5434('0x4')](_0x292602[_0x5434('0x6')]['document']['differ'][_0x5434('0x21')]());for(const {name:_0x5eb950,data:_0x3b8620}of _0x54de4a){const {group:_0xe85e57,type:_0x4c297e,subType:_0x4ec19a,id:_0x1caad4}=_0x2f231f[_0x5434('0xe')](_0x5eb950);if(_0x5434('0x27')==_0xe85e57&&_0x2f231f[_0x5434('0x67')](_0x1caad4)){if('formatBlock'==_0x4c297e&&(_0x5434('0x3f')==_0x4ec19a||_0x5434('0x44')==_0x4ec19a)){const _0x5b9a6a=_0x2f231f[_0x5434('0x1')](_0x1caad4);if(_0x3b8620[_0x5434('0x13')]){const _0x5ad3fe=_0x5b9a6a[_0x5434('0x51')]()[_0x5434('0x55')]();if(_0x3aed68[_0x5434('0x5c')](_0x5ad3fe))continue;_0x2f231f[_0x5434('0x3')](_0x5b9a6a),_0x4f677d=!0x0;}}if('insertion'==_0x4c297e&&_0x5434('0x6f')==_0x4ec19a&&!_0x3b8620[_0x5434('0x13')]){const _0x325c6a=_0x2f231f['getSuggestion'](_0x1caad4);_0x325c6a['next']&&_0x325c6a[_0x5434('0xd')][_0x5434('0x32')]&&(_0x2f231f[_0x5434('0x3')](_0x325c6a[_0x5434('0xd')]),_0x4f677d=!0x0);}}}return _0x4f677d;}),_0x292602['plugins'][_0x5434('0x56')](_0x5434('0x4d'))&&_0x2f231f[_0x5434('0x6e')](_0x5434('0x48'),(_0x14ea05,_0x460362)=>{const _0x53fd76=_0x3aed68[_0x5434('0x5')](_0x292602[_0x5434('0x6')]['document'][_0x5434('0x26')]);_0x53fd76[_0x5434('0x49')](_0x5434('0x36'))!=_0x460362['width']&&_0x292602['model'][_0x5434('0x64')](()=>{_0x2f231f[_0x5434('0x34')](_0x53fd76,{'commandName':_0x5434('0x48'),'commandParams':[_0x460362]});});}),_0x292602[_0x5434('0x20')]['has']('ImageTextAlternativeEditing')&&_0x2f231f['enableCommand']('imageTextAlternative',(_0x1d5600,_0x3e2351)=>{const _0x67b1b5=_0x3aed68[_0x5434('0x5')](_0x292602[_0x5434('0x6')]['document'][_0x5434('0x26')]);(_0x67b1b5['hasAttribute'](_0x5434('0x11'))?_0x67b1b5[_0x5434('0x49')](_0x5434('0x11')):'')!=_0x3e2351['newValue']&&_0x292602['model'][_0x5434('0x64')](()=>{_0x2f231f[_0x5434('0x34')](_0x67b1b5,{'commandName':_0x5434('0x2a'),'commandParams':[_0x3e2351]});});}),_0x2f231f['_descriptionFactory'][_0x5434('0x41')](_0x491c34=>{if(!!_0x2295ed[_0x5434('0x9')](({type:_0xd2c303,subType:_0x128c79})=>_0x491c34[_0x5434('0x73')]==_0xd2c303&&_0x491c34[_0x5434('0x5e')]==_0x128c79))return _0x491c34['previous']?{}:void 0x0;}),_0x2f231f[_0x5434('0x6b')][_0x5434('0x41')](_0x101da7=>{if(_0x5434('0x60')==_0x101da7['type']||_0x5434('0x59')==_0x101da7['type']){const _0x2ecf69=_0x101da7[_0x5434('0x55')]();if(_0x2ecf69&&_0x2ecf69['is']('element',_0x5434('0x28')))return{'type':_0x5434('0x60')==_0x101da7[_0x5434('0x73')]?_0x5434('0x25'):_0x5434('0x2d'),'element':_0x2ecf69,'quantity':0x1};}}),_0x2f231f['_descriptionFactory'][_0x5434('0x41')](_0x4f854f=>'formatBlock'==_0x4f854f['type']&&'convertInlineImageToBlock'==_0x4f854f['subType']?{'type':_0x5434('0x75'),'content':_0x5434('0x77')}:_0x5434('0x61')==_0x4f854f[_0x5434('0x73')]&&'convertBlockImageToInline'==_0x4f854f[_0x5434('0x5e')]?{'type':'format','content':_0x5434('0x69')}:void 0x0),_0x2f231f[_0x5434('0x6b')][_0x5434('0x41')](_0x2a08ad=>{const {data:_0x1ba432}=_0x2a08ad;if(_0x1ba432){if(_0x5434('0x72')==_0x1ba432[_0x5434('0x70')]){const _0x321f71=_0x1ba432['commandParams'][0x0][_0x5434('0x30')];return _0x144dd7(_0x5434('0x4b')===_0x321f71?_0x2077ac(_0x269b40,_0x5434('0x22')):_0x4e8d57[_0x321f71]||_0x321f71);}if('imageTextAlternative'==_0x1ba432[_0x5434('0x70')]){const _0x55e3b6=_0x1ba432[_0x5434('0x1b')][0x0][_0x5434('0x2f')];return _0x55e3b6?{'type':_0x5434('0x75'),'content':_0x2077ac(_0x269b40,_0x5434('0x0'),'\x22'+_0x55e3b6+'\x22')}:{'type':_0x5434('0x75'),'content':_0x2077ac(_0x269b40,'*Remove\x20image\x20text\x20alternative*')};}if('resizeImage'==_0x1ba432[_0x5434('0x70')]){const _0x559b62=_0x1ba432[_0x5434('0x1b')][0x0]['width'];return _0x559b62?{'type':'format','content':_0x2077ac(_0x269b40,_0x5434('0x5f'),_0x559b62)}:{'type':_0x5434('0x75'),'content':_0x2077ac(_0x269b40,_0x5434('0x31'))};}}function _0x144dd7(_0x5dbc60){return{'type':'format','content':_0x2077ac(_0x269b40,_0x5434('0x5a'),_0x5dbc60)};}});}}
23
+ const _0x1a3f=['getSuggestion','_suggestionFactory','markInsertion','alt','ImageTextAlternativeEditing','formatBlock','*Set\x20image\x20text\x20alternative:*\x20%0','ImageResize','end','width','has','findIndex','name','_descriptionFactory','getAttribute','registerDescriptionCallback','getSuggestionCallback','editor','chain','subType','backward','head','markBlockFormat','_findSuggestions','differ','ImageBlockEditing','caption','deletion','isBefore','plugins','schema','imageStylePostApply','fromPosition','commandName','ImageUtils','isInContent','ImageStyleEditing','forward','addObject','enableCommand','hasAttribute','format','*Reset\x20image\x20width*','join','insertImage','author','isEqual','side','insertion','locale','document','nodeBefore','getContainedElement','markInlineFormat','find','formatInline','getFirstRange','imageTextAlternative','normalizedStyles','getClosestSelectedImageElement','ImageCaptionUtils','value','imageTypeInline','getNearestSelectionRange','start','getSuggestions','afterInit','ELEMENT_IMAGE','_splitMarkerName','imageStyle','forceDefaultExecution','ImageInlineEditing','suggestion','getCaptionFromImageModelElement','accept','element','nodeAfter','next','commandParams','newValue','registerCustomCallback','discard','ELEMENT_CAPTION','hasSuggestion','*Set\x20image\x20width:*\x20%0','detach','toNext','imageBlock','change','resizeImage','selection','createRangeOn','TrackChangesEditing','isCollapsed','*Format:*\x20%0','registerElementLabel','title','commands','isInlineImage','convertBlockImageToInline','get','newRange','refresh','markDeletion','imageInline','model','toggleImageCaption','imageCaption','createRange','commandReversedParams','imageStylePreApply','previous','length','uploadImage','from','type','discardSuggestion','isBlockImage','convertInlineImageToBlock','imageTypeBlock'];(function(_0x511003,_0x1a3f4d){const _0x534387=function(_0x3d5c21){while(--_0x3d5c21){_0x511003['push'](_0x511003['shift']());}};_0x534387(++_0x1a3f4d);}(_0x1a3f,0x1b8));const _0x5343=function(_0x511003,_0x1a3f4d){_0x511003=_0x511003-0x0;let _0x534387=_0x1a3f[_0x511003];return _0x534387;};import{Plugin as _0x32fc61}from'ckeditor5/src/core';import{LivePosition as _0x25b9eb}from'ckeditor5/src/engine';import{uid as _0x37d083}from'ckeditor5/src/utils';import{getTranslation as _0x3e00a0}from'../utils/common-translations';export default class X extends _0x32fc61{[_0x5343('0x6a')](){const _0x3602db=this[_0x5343('0x39')];if(!_0x3602db[_0x5343('0x45')][_0x5343('0x32')]('ImageEditing'))return;const _0x364679=_0x3602db[_0x5343('0x45')][_0x5343('0x14')](_0x5343('0xc')),_0x50c3bb=_0x3602db['plugins'][_0x5343('0x14')](_0x5343('0x4a')),_0x21e204={},_0x432d9a=_0x3602db[_0x5343('0x59')];if(_0x364679[_0x5343('0x4f')](_0x5343('0x54')),_0x364679[_0x5343('0x35')][_0x5343('0xf')](_0x5343('0x7'),_0x1e41af=>_0x3e00a0(_0x432d9a,_0x5343('0x6b'),_0x1e41af)),_0x364679['_descriptionFactory']['registerElementLabel'](_0x5343('0x18'),_0x3da968=>_0x3e00a0(_0x432d9a,'ELEMENT_INLINE_IMAGE',_0x3da968)),_0x364679[_0x5343('0x35')]['registerElementLabel'](_0x5343('0x42'),()=>_0x3e00a0(_0x432d9a,_0x5343('0x2'))),_0x3602db[_0x5343('0x45')]['has']('ImageUploadEditing')&&_0x364679[_0x5343('0x4f')](_0x5343('0x21')),_0x3602db['plugins'][_0x5343('0x32')](_0x5343('0x41'))&&_0x3602db[_0x5343('0x45')][_0x5343('0x32')](_0x5343('0x6f'))&&(_0x364679[_0x5343('0x4f')](_0x5343('0x66'),(_0x47e637,_0x26a403)=>{const _0x33a953=_0x50c3bb[_0x5343('0x63')](_0x3602db[_0x5343('0x19')][_0x5343('0x5a')][_0x5343('0xa')]);_0x3602db[_0x5343('0x19')][_0x5343('0x8')](()=>{_0x364679[_0x5343('0x3e')](_0x33a953,{'commandName':_0x5343('0x66'),'commandParams':[_0x26a403]},[],'convertBlockImageToInline');});}),_0x364679[_0x5343('0x4f')](_0x5343('0x27'),(_0x198c35,_0x435e0e)=>{_0x3602db[_0x5343('0x19')]['change'](_0x4202f3=>{let _0x2e8f6e=_0x50c3bb['getClosestSelectedImageElement'](_0x3602db['model'][_0x5343('0x5a')][_0x5343('0xa')]),_0x44fd45=_0x4202f3[_0x5343('0xb')](_0x2e8f6e);const _0x253693=_0x25b9eb[_0x5343('0x48')](_0x44fd45[_0x5343('0x68')],'toPrevious'),_0x1f7c74=_0x25b9eb[_0x5343('0x48')](_0x44fd45[_0x5343('0x30')],_0x5343('0x6'));_0x364679[_0x5343('0x6e')](()=>_0x198c35(_0x435e0e)),_0x2e8f6e=_0x50c3bb[_0x5343('0x63')](_0x3602db[_0x5343('0x19')]['document'][_0x5343('0xa')]),_0x44fd45=_0x4202f3[_0x5343('0xb')](_0x2e8f6e);const _0x2b837a=_0x4202f3[_0x5343('0x1c')](_0x253693,_0x1f7c74);_0x253693[_0x5343('0x5')](),_0x1f7c74[_0x5343('0x5')](),_0x364679['markBlockFormat'](_0x2e8f6e,{'commandName':_0x5343('0x66'),'commandParams':[]},[],'convertInlineImageToBlock'),_0x2b837a['start'][_0x5343('0x44')](_0x44fd45[_0x5343('0x68')])&&_0x364679[_0x5343('0x2a')](_0x4202f3[_0x5343('0x1c')](_0x2b837a[_0x5343('0x68')],_0x44fd45[_0x5343('0x68')]),'convertInlineImageToBlock'),_0x44fd45[_0x5343('0x30')]['isBefore'](_0x2b837a[_0x5343('0x30')])&&_0x364679[_0x5343('0x2a')](_0x4202f3[_0x5343('0x1c')](_0x44fd45[_0x5343('0x30')],_0x2b837a[_0x5343('0x30')]),'convertInlineImageToBlock');});}),_0x364679[_0x5343('0x29')][_0x5343('0x0')](_0x5343('0x2d'),_0x5343('0x26'),_0x5343('0x53'),()=>{}),_0x364679[_0x5343('0x29')]['registerCustomCallback']('formatBlock',_0x5343('0x26'),_0x5343('0x72'),()=>{}),_0x364679[_0x5343('0x29')][_0x5343('0x0')]('formatBlock',_0x5343('0x26'),_0x5343('0x1'),_0x364679['_suggestionFactory']['getSuggestionCallback'](_0x5343('0x2d'),'',_0x5343('0x72'))),_0x364679[_0x5343('0x29')][_0x5343('0x0')](_0x5343('0x58'),'convertInlineImageToBlock',_0x5343('0x53'),()=>{}),_0x364679[_0x5343('0x29')][_0x5343('0x0')](_0x5343('0x58'),_0x5343('0x26'),_0x5343('0x1'),([_0x55ba27])=>{const _0x5d2615=_0x364679[_0x5343('0x29')][_0x5343('0x38')]('insertion','',_0x5343('0x1'));let _0x4c8f27=_0x55ba27[_0x5343('0x68')],_0x3278f1=_0x55ba27[_0x5343('0x30')];const _0x34d835=_0x3602db['model'][_0x5343('0x46')][_0x5343('0x67')](_0x4c8f27,_0x5343('0x3c')),_0x252d1f=_0x3602db[_0x5343('0x19')][_0x5343('0x46')]['getNearestSelectionRange'](_0x3278f1,_0x5343('0x4d'));_0x34d835['isCollapsed']&&(_0x4c8f27=_0x34d835['start']),_0x252d1f[_0x5343('0xd')]&&(_0x3278f1=_0x252d1f[_0x5343('0x30')]),_0x5d2615([_0x3602db[_0x5343('0x19')]['createRange'](_0x4c8f27,_0x3278f1)]);}),_0x364679[_0x5343('0x29')][_0x5343('0x0')](_0x5343('0x2d'),_0x5343('0x26'),_0x5343('0x3a'),_0x3f85e0),_0x364679[_0x5343('0x29')][_0x5343('0x0')](_0x5343('0x58'),_0x5343('0x26'),'chain',_0x3f85e0)),_0x3602db[_0x5343('0x45')][_0x5343('0x32')]('ImageCaptionEditing')&&(_0x364679[_0x5343('0x4f')](_0x5343('0x1a'),(_0x23999e,_0x2aff9d)=>{const _0x3fab24=_0x3602db[_0x5343('0x45')][_0x5343('0x14')](_0x5343('0x64'));let _0x27d31f=_0x50c3bb[_0x5343('0x63')](_0x3602db['model'][_0x5343('0x5a')][_0x5343('0xa')]),_0x48f4ca=_0x3fab24['getCaptionFromImageModelElement'](_0x27d31f);_0x3602db[_0x5343('0x19')][_0x5343('0x8')](()=>{if(_0x48f4ca)return void _0x364679[_0x5343('0x17')](_0x3602db[_0x5343('0x19')][_0x5343('0xb')](_0x48f4ca));const _0x1d18f1=_0x50c3bb['isBlockImage'](_0x27d31f);_0x23999e(_0x2aff9d),_0x27d31f=_0x50c3bb[_0x5343('0x63')](_0x3602db['model']['document'][_0x5343('0xa')]),_0x48f4ca=_0x3fab24[_0x5343('0x71')](_0x27d31f),_0x364679[_0x5343('0x2a')](_0x3602db['model'][_0x5343('0xb')](_0x48f4ca),_0x1d18f1?null:_0x5343('0x1b'));});}),_0x364679['_suggestionFactory'][_0x5343('0x0')](_0x5343('0x58'),'imageCaption','chain',_0x3f85e0)),_0x3602db[_0x5343('0x45')][_0x5343('0x32')]('ImageStyleEditing')){_0x364679['enableCommand'](_0x5343('0x6d'),(_0x2d0456,_0xa44c31)=>{const _0x374efa=_0x3602db[_0x5343('0x45')]['get']('Users')['me'],_0x2816ec=_0x3602db[_0x5343('0x11')]['get'](_0x5343('0x6d'));let _0xe3fb62=_0x50c3bb[_0x5343('0x63')](_0x3602db[_0x5343('0x19')][_0x5343('0x5a')]['selection']),_0xfd8173=_0x3602db[_0x5343('0x19')][_0x5343('0xb')](_0xe3fb62),_0x361a83=_0x2816ec[_0x5343('0x65')];if(_0x361a83==_0xa44c31[_0x5343('0x65')])return;const _0x430369={'commandName':'imageStyle','commandParams':[_0xa44c31],'formatGroupId':_0x37d083()};_0x3602db['model'][_0x5343('0x8')](()=>{if(_0x364679[_0x5343('0x69')]()['filter'](_0x4350a5=>_0x4350a5[_0x5343('0x4b')]&&_0x374efa==_0x4350a5[_0x5343('0x55')]&&(_0x5343('0x2d')==_0x4350a5['type']||_0x5343('0x5f')==_0x4350a5[_0x5343('0x23')])&&(_0x5343('0x1e')==_0x4350a5[_0x5343('0x3b')]||'imageStylePostApply'==_0x4350a5['subType'])&&_0x4350a5[_0x5343('0x60')]()['isEqual'](_0xfd8173))['forEach'](_0x11aa80=>_0x364679[_0x5343('0x24')](_0x11aa80[_0x5343('0x3d')])),_0xe3fb62=_0x50c3bb[_0x5343('0x63')](_0x3602db[_0x5343('0x19')][_0x5343('0x5a')][_0x5343('0xa')]),_0xfd8173=_0x3602db[_0x5343('0x19')]['createRangeOn'](_0xe3fb62),_0x2816ec[_0x5343('0x16')](),_0x3602db[_0x5343('0x11')][_0x5343('0x14')]('imageTypeInline')[_0x5343('0x16')](),_0x3602db[_0x5343('0x11')]['get'](_0x5343('0x27'))['refresh'](),_0x361a83=_0x2816ec['value'],_0x361a83!=_0xa44c31[_0x5343('0x65')])return _0x50c3bb[_0x5343('0x12')](_0xe3fb62)&&_0x2816ec['shouldConvertImageType'](_0xa44c31[_0x5343('0x65')],_0xe3fb62)?(_0x2d0456(_0xa44c31),_0xe3fb62=_0x50c3bb['getClosestSelectedImageElement'](_0x3602db[_0x5343('0x19')][_0x5343('0x5a')][_0x5343('0xa')]),void _0x364679[_0x5343('0x3e')](_0xe3fb62,{..._0x430369,'commandReversedParams':[{'value':_0x361a83||null}]},[],_0x5343('0x1e'))):void(_0x50c3bb[_0x5343('0x25')](_0xe3fb62)?_0x364679[_0x5343('0x3e')](_0xe3fb62,_0x430369,[],'imageStylePostApply'):_0x364679[_0x5343('0x5d')](_0xfd8173,_0x430369,_0x5343('0x47')));});});for(const _0x12fff5 of _0x3602db[_0x5343('0x45')][_0x5343('0x14')](_0x5343('0x4c'))[_0x5343('0x62')])_0x21e204[_0x12fff5[_0x5343('0x34')]]=_0x12fff5[_0x5343('0x10')]['toLowerCase']();_0x364679[_0x5343('0x29')][_0x5343('0x0')](_0x5343('0x2d'),'imageStylePreApply',_0x5343('0x53'),()=>{}),_0x364679['_suggestionFactory']['registerCustomCallback'](_0x5343('0x2d'),'imageStylePostApply','join',()=>{}),_0x364679['_suggestionFactory'][_0x5343('0x0')](_0x5343('0x5f'),_0x5343('0x47'),_0x5343('0x53'),()=>{}),_0x364679[_0x5343('0x29')]['registerCustomCallback'](_0x5343('0x2d'),_0x5343('0x1e'),_0x5343('0x72'),()=>{}),_0x364679[_0x5343('0x29')][_0x5343('0x0')](_0x5343('0x2d'),_0x5343('0x1e'),_0x5343('0x1'),(_0x19dc22,_0x596c7a)=>{_0x364679[_0x5343('0x29')][_0x5343('0x38')]('formatBlock','',_0x5343('0x72'))(_0x19dc22,{'commandName':_0x596c7a[_0x5343('0x49')],'commandParams':_0x596c7a[_0x5343('0x1d')]});}),_0x364679[_0x5343('0x29')]['registerCustomCallback']('formatBlock',_0x5343('0x1e'),_0x5343('0x3a'),_0x3f85e0);}const _0x37edee=[{'type':'formatBlock','subType':_0x5343('0x1e')},{'type':'insertion','subType':_0x5343('0x1b')},{'type':'formatBlock','subType':_0x5343('0x26')},{'type':_0x5343('0x58'),'subType':_0x5343('0x26')}];function _0x64f43b(_0x4fd86d,_0x16f9d9){const _0x4aeb1a=_0x37edee[_0x5343('0x33')](({type:_0x3c646c,subType:_0x4cf983})=>_0x4fd86d['type']==_0x3c646c&&_0x4fd86d[_0x5343('0x3b')]==_0x4cf983),_0x2f19fd=_0x37edee[_0x5343('0x33')](({type:_0x2a7430,subType:_0x313241})=>_0x16f9d9[_0x5343('0x23')]==_0x2a7430&&_0x16f9d9[_0x5343('0x3b')]==_0x313241);if(_0x4aeb1a<0x0||_0x2f19fd<0x0)return!0x1;const _0x4d5190=_0x4fd86d['getFirstRange'](),_0x34d8a5=_0x16f9d9[_0x5343('0x60')]();if((0x0==_0x4aeb1a||0x1==_0x4aeb1a)&&0x2==_0x2f19fd&&_0x4d5190['isIntersecting'](_0x34d8a5))return!0x0;if(0x2==_0x4aeb1a&&0x3==_0x2f19fd){const _0x176648=_0x364679[_0x5343('0x3f')](_0x4d5190,_0x5343('0x58'))['filter'](({suggestion:_0x10fb41,meta:_0x1893d8})=>_0x1893d8['isOwn']&&'convertInlineImageToBlock'==_0x10fb41['subType']);if(_0x176648[_0x5343('0x20')]>0x1&&_0x34d8a5[_0x5343('0x30')]['isEqual'](_0x4d5190['start']))return!0x0;if(0x1==_0x176648[_0x5343('0x20')]&&(_0x4d5190[_0x5343('0x68')]['isEqual'](_0x34d8a5[_0x5343('0x30')])||_0x4d5190[_0x5343('0x30')][_0x5343('0x56')](_0x34d8a5['start'])))return!0x0;}if(0x3==_0x4aeb1a&&0x3==_0x2f19fd&&_0x4d5190['start'][_0x5343('0x44')](_0x34d8a5[_0x5343('0x68')])){const _0x8190ed=_0x4d5190['end'][_0x5343('0x74')],_0x1a0dfa=_0x34d8a5[_0x5343('0x68')][_0x5343('0x5b')];return _0x50c3bb['isBlockImage'](_0x8190ed)&&_0x8190ed===_0x1a0dfa;}return!0x1;}function _0x3f85e0(_0x93816a,_0x13d375){return _0x64f43b(_0x93816a,_0x13d375)?[_0x93816a,_0x13d375]:_0x64f43b(_0x13d375,_0x93816a)?[_0x13d375,_0x93816a]:null;}_0x3602db['model'][_0x5343('0x5a')]['registerPostFixer'](()=>{let _0x1979b2=!0x1;const _0x24d127=Array[_0x5343('0x22')](_0x3602db[_0x5343('0x19')][_0x5343('0x5a')][_0x5343('0x40')]['getChangedMarkers']());for(const {name:_0x8634ba,data:_0x4f87ef}of _0x24d127){const {group:_0x12f93b,type:_0x321de1,subType:_0x3f2efa,id:_0x893b90}=_0x364679[_0x5343('0x6c')](_0x8634ba);if(_0x5343('0x70')==_0x12f93b&&_0x364679[_0x5343('0x3')](_0x893b90)){if('formatBlock'==_0x321de1&&(_0x5343('0x1e')==_0x3f2efa||_0x5343('0x47')==_0x3f2efa)){const _0x6ef95=_0x364679[_0x5343('0x28')](_0x893b90);if(_0x4f87ef[_0x5343('0x15')]){const _0xc3cd81=_0x6ef95[_0x5343('0x60')]()[_0x5343('0x5c')]();if(_0x50c3bb['isBlockImage'](_0xc3cd81))continue;_0x364679[_0x5343('0x24')](_0x6ef95),_0x1979b2=!0x0;}}if(_0x5343('0x58')==_0x321de1&&_0x5343('0x1b')==_0x3f2efa&&!_0x4f87ef[_0x5343('0x15')]){const _0x33a574=_0x364679[_0x5343('0x28')](_0x893b90);_0x33a574[_0x5343('0x75')]&&_0x33a574[_0x5343('0x75')][_0x5343('0x4b')]&&(_0x364679[_0x5343('0x24')](_0x33a574[_0x5343('0x75')]),_0x1979b2=!0x0);}}}return _0x1979b2;}),_0x3602db[_0x5343('0x45')][_0x5343('0x32')](_0x5343('0x2f'))&&_0x364679[_0x5343('0x4f')]('resizeImage',(_0x5baf18,_0x36fc4a)=>{const _0x1d8a2e=_0x50c3bb['getClosestSelectedImageElement'](_0x3602db[_0x5343('0x19')][_0x5343('0x5a')][_0x5343('0xa')]);_0x1d8a2e[_0x5343('0x36')]('width')!=_0x36fc4a['width']&&_0x3602db['model'][_0x5343('0x8')](()=>{_0x364679[_0x5343('0x3e')](_0x1d8a2e,{'commandName':'resizeImage','commandParams':[_0x36fc4a]});});}),_0x3602db['plugins']['has'](_0x5343('0x2c'))&&_0x364679['enableCommand'](_0x5343('0x61'),(_0x21aeee,_0x1abd62)=>{const _0x83f099=_0x50c3bb[_0x5343('0x63')](_0x3602db[_0x5343('0x19')][_0x5343('0x5a')][_0x5343('0xa')]);(_0x83f099[_0x5343('0x50')]('alt')?_0x83f099['getAttribute'](_0x5343('0x2b')):'')!=_0x1abd62[_0x5343('0x77')]&&_0x3602db[_0x5343('0x19')]['change'](()=>{_0x364679[_0x5343('0x3e')](_0x83f099,{'commandName':_0x5343('0x61'),'commandParams':[_0x1abd62]});});}),_0x364679['_descriptionFactory'][_0x5343('0x37')](_0x5e4b9a=>{if(!!_0x37edee[_0x5343('0x5e')](({type:_0x325fb2,subType:_0x23b49c})=>_0x5e4b9a[_0x5343('0x23')]==_0x325fb2&&_0x5e4b9a[_0x5343('0x3b')]==_0x23b49c))return _0x5e4b9a[_0x5343('0x1f')]?{}:void 0x0;}),_0x364679[_0x5343('0x35')]['registerDescriptionCallback'](_0x50bb80=>{if(_0x5343('0x58')==_0x50bb80[_0x5343('0x23')]||_0x5343('0x43')==_0x50bb80['type']){const _0x3e8070=_0x50bb80[_0x5343('0x5c')]();if(_0x3e8070&&_0x3e8070['is'](_0x5343('0x73'),_0x5343('0x42')))return{'type':'insertion'==_0x50bb80[_0x5343('0x23')]?_0x5343('0x4e'):'removeObject','element':_0x3e8070,'quantity':0x1};}}),_0x364679['_descriptionFactory'][_0x5343('0x37')](_0x5a39a9=>_0x5343('0x2d')==_0x5a39a9[_0x5343('0x23')]&&_0x5343('0x26')==_0x5a39a9[_0x5343('0x3b')]?{'type':'format','content':'Inline\x20image\x20to\x20block\x20image'}:_0x5343('0x2d')==_0x5a39a9[_0x5343('0x23')]&&_0x5343('0x13')==_0x5a39a9['subType']?{'type':_0x5343('0x51'),'content':'Block\x20image\x20to\x20inline\x20image'}:void 0x0),_0x364679['_descriptionFactory']['registerDescriptionCallback'](_0x5890d6=>{const {data:_0x57d7ad}=_0x5890d6;if(_0x57d7ad){if(_0x5343('0x6d')==_0x57d7ad['commandName']){const _0xf21dd6=_0x57d7ad['commandParams'][0x0]['value'];return _0x1be3f7(_0x5343('0x57')===_0xf21dd6?_0x3e00a0(_0x432d9a,'FORMAT_SIDE_IMAGE'):_0x21e204[_0xf21dd6]||_0xf21dd6);}if(_0x5343('0x61')==_0x57d7ad['commandName']){const _0x55699e=_0x57d7ad[_0x5343('0x76')][0x0][_0x5343('0x77')];return _0x55699e?{'type':'format','content':_0x3e00a0(_0x432d9a,_0x5343('0x2e'),'\x22'+_0x55699e+'\x22')}:{'type':'format','content':_0x3e00a0(_0x432d9a,'*Remove\x20image\x20text\x20alternative*')};}if(_0x5343('0x9')==_0x57d7ad['commandName']){const _0x585365=_0x57d7ad[_0x5343('0x76')][0x0][_0x5343('0x31')];return _0x585365?{'type':'format','content':_0x3e00a0(_0x432d9a,_0x5343('0x4'),_0x585365)}:{'type':_0x5343('0x51'),'content':_0x3e00a0(_0x432d9a,_0x5343('0x52'))};}}function _0x1be3f7(_0x579100){return{'type':'format','content':_0x3e00a0(_0x432d9a,_0x5343('0xe'),_0x579100)};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x401e=['locale','commandParams','registerDescriptionCallback','author','registerCustomCallback','document','Users','subType','getSuggestionCallback','change','*Format:*\x20replace\x20image\x20URL','replaceImageSource','format','has','afterInit','_suggestionFactory','editor','selection','markBlockFormat','TrackChangesEditing','accept','plugins','model','get','handleSuggestionDescription','formatBlock','enableCommand','discard','getSuggestions','handleReplaceImageCommand','getAttribute','_descriptionFactory','commandName'];(function(_0x5b2e9b,_0x401ed2){const _0x1a9a25=function(_0x192a98){while(--_0x192a98){_0x5b2e9b['push'](_0x5b2e9b['shift']());}};_0x1a9a25(++_0x401ed2);}(_0x401e,0x1e3));const _0x1a9a=function(_0x5b2e9b,_0x401ed2){_0x5b2e9b=_0x5b2e9b-0x0;let _0x1a9a25=_0x401e[_0x5b2e9b];return _0x1a9a25;};import{Plugin as _0x48836f}from'ckeditor5/src/core';import{getTranslation as _0x37836}from'../utils/common-translations';export default class Y extends _0x48836f{[_0x1a9a('0x1a')](){if(!this['editor'][_0x1a9a('0x0')][_0x1a9a('0x19')]('ImageEditing'))return;const _0x71fd77=this[_0x1a9a('0x1c')][_0x1a9a('0x0')][_0x1a9a('0x2')](_0x1a9a('0x1f'));_0x71fd77[_0x1a9a('0x5')](_0x1a9a('0x17'),(_0x245ae3,_0x221e31)=>this[_0x1a9a('0x8')](_0x245ae3,_0x221e31)),_0x71fd77[_0x1a9a('0x1b')][_0x1a9a('0x10')]('formatBlock',_0x1a9a('0x17'),'accept',_0x71fd77['_suggestionFactory'][_0x1a9a('0x14')](_0x1a9a('0x4'),null,_0x1a9a('0x6'))),_0x71fd77[_0x1a9a('0x1b')][_0x1a9a('0x10')]('formatBlock','replaceImageSource',_0x1a9a('0x6'),_0x71fd77[_0x1a9a('0x1b')][_0x1a9a('0x14')](_0x1a9a('0x4'),null,_0x1a9a('0x20'))),_0x71fd77[_0x1a9a('0xa')][_0x1a9a('0xe')](_0x2a990a=>this[_0x1a9a('0x3')](_0x2a990a));}[_0x1a9a('0x8')](_0x53e32e,_0x471009){const _0x74e34e=this[_0x1a9a('0x1c')][_0x1a9a('0x0')][_0x1a9a('0x2')](_0x1a9a('0x1f')),_0x5375f9=this[_0x1a9a('0x1c')][_0x1a9a('0x1')][_0x1a9a('0x11')][_0x1a9a('0x1d')]['getSelectedElement']();this[_0x1a9a('0x1c')][_0x1a9a('0x1')][_0x1a9a('0x15')](()=>{let _0x16a58=_0x5375f9[_0x1a9a('0x9')]('src');const _0x2e0bd1=this[_0x1a9a('0x1c')][_0x1a9a('0x0')]['get'](_0x1a9a('0x12'))['me'];for(const _0x2b44e9 of _0x74e34e[_0x1a9a('0x7')]({'skipNotAttached':!0x0})){const _0x2455e7=_0x2b44e9['getContainedElement']();if('replaceImageSource'===_0x2b44e9[_0x1a9a('0x13')]&&_0x2455e7===_0x5375f9){_0x2b44e9[_0x1a9a('0xf')]!==_0x2e0bd1&&_0x2b44e9[_0x1a9a('0x6')](),_0x16a58=_0x2b44e9['data'][_0x1a9a('0xd')][0x0]['source'];break;}}_0x53e32e(_0x471009),_0x74e34e[_0x1a9a('0x1e')](_0x5375f9,{'commandName':_0x1a9a('0x17'),'commandParams':[{'source':_0x16a58}]},[],'replaceImageSource');});}[_0x1a9a('0x3')](_0x28e1f2){const {data:_0x4223fc}=_0x28e1f2;if(_0x4223fc&&_0x1a9a('0x17')===_0x4223fc[_0x1a9a('0xb')]){const _0x346cbb=_0x1a9a('0x16');return{'type':_0x1a9a('0x18'),'content':_0x37836(this['editor'][_0x1a9a('0xc')],_0x346cbb)};}}}
23
+ const _0x30cc=['author','getContainedElement','commandParams','discard','has','_descriptionFactory','src','getSuggestions','TrackChangesEditing','commandName','replaceImageSource','accept','Users','getSelectedElement','*Format:*\x20replace\x20image\x20URL','_suggestionFactory','selection','getAttribute','markBlockFormat','format','document','editor','handleReplaceImageCommand','get','getSuggestionCallback','plugins','data','handleSuggestionDescription','formatBlock','registerCustomCallback','change','enableCommand','model'];(function(_0x3e13ec,_0x30cc8d){const _0x3d13fa=function(_0x5c287e){while(--_0x5c287e){_0x3e13ec['push'](_0x3e13ec['shift']());}};_0x3d13fa(++_0x30cc8d);}(_0x30cc,0x169));const _0x3d13=function(_0x3e13ec,_0x30cc8d){_0x3e13ec=_0x3e13ec-0x0;let _0x3d13fa=_0x30cc[_0x3e13ec];return _0x3d13fa;};import{Plugin as _0x3c12a1}from'ckeditor5/src/core';import{getTranslation as _0xc677a6}from'../utils/common-translations';export default class Y extends _0x3c12a1{['afterInit'](){if(!this[_0x3d13('0x17')]['plugins'][_0x3d13('0x6')]('ImageEditing'))return;const _0x24d740=this[_0x3d13('0x17')][_0x3d13('0x1b')][_0x3d13('0x19')](_0x3d13('0xa'));_0x24d740[_0x3d13('0x0')](_0x3d13('0xc'),(_0x4bf694,_0x290b9f)=>this[_0x3d13('0x18')](_0x4bf694,_0x290b9f)),_0x24d740[_0x3d13('0x11')][_0x3d13('0x1f')]('formatBlock',_0x3d13('0xc'),_0x3d13('0xd'),_0x24d740[_0x3d13('0x11')][_0x3d13('0x1a')](_0x3d13('0x1e'),null,'discard')),_0x24d740['_suggestionFactory'][_0x3d13('0x1f')]('formatBlock','replaceImageSource',_0x3d13('0x5'),_0x24d740[_0x3d13('0x11')][_0x3d13('0x1a')]('formatBlock',null,_0x3d13('0xd'))),_0x24d740[_0x3d13('0x7')]['registerDescriptionCallback'](_0x2a8dda=>this[_0x3d13('0x1d')](_0x2a8dda));}[_0x3d13('0x18')](_0x3f40a4,_0x37f229){const _0x1a4662=this['editor'][_0x3d13('0x1b')]['get'](_0x3d13('0xa')),_0x44b958=this[_0x3d13('0x17')][_0x3d13('0x1')][_0x3d13('0x16')][_0x3d13('0x12')][_0x3d13('0xf')]();this[_0x3d13('0x17')][_0x3d13('0x1')][_0x3d13('0x20')](()=>{let _0x971cc2=_0x44b958[_0x3d13('0x13')](_0x3d13('0x8'));const _0x467144=this[_0x3d13('0x17')][_0x3d13('0x1b')][_0x3d13('0x19')](_0x3d13('0xe'))['me'];for(const _0x37109c of _0x1a4662[_0x3d13('0x9')]({'skipNotAttached':!0x0})){const _0x34e22b=_0x37109c[_0x3d13('0x3')]();if(_0x3d13('0xc')===_0x37109c['subType']&&_0x34e22b===_0x44b958){_0x37109c[_0x3d13('0x2')]!==_0x467144&&_0x37109c[_0x3d13('0x5')](),_0x971cc2=_0x37109c[_0x3d13('0x1c')][_0x3d13('0x4')][0x0]['source'];break;}}_0x3f40a4(_0x37f229),_0x1a4662[_0x3d13('0x14')](_0x44b958,{'commandName':_0x3d13('0xc'),'commandParams':[{'source':_0x971cc2}]},[],_0x3d13('0xc'));});}['handleSuggestionDescription'](_0x46dc5e){const {data:_0x405b02}=_0x46dc5e;if(_0x405b02&&'replaceImageSource'===_0x405b02[_0x3d13('0xb')]){const _0x25c90b=_0x3d13('0x10');return{'type':_0x3d13('0x15'),'content':_0xc677a6(this[_0x3d13('0x17')]['locale'],_0x25c90b)};}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x376a=['importWord','get','_trackChangesValueDuringImport','_setSuggestionData','commands','value','editor','plugins','high','listenTo','enableCommand','execute','collaboration_features','TrackChangesEditing','afterInit','dataInsert','forEach','trackChanges','_trackChangesExecuted'];(function(_0x3daae3,_0x376afb){const _0x3e6e27=function(_0x2b39c4){while(--_0x2b39c4){_0x3daae3['push'](_0x3daae3['shift']());}};_0x3e6e27(++_0x376afb);}(_0x376a,0x74));const _0x3e6e=function(_0x3daae3,_0x376afb){_0x3daae3=_0x3daae3-0x0;let _0x3e6e27=_0x376a[_0x3daae3];return _0x3e6e27;};import{Plugin as _0x540030}from'ckeditor5/src/core';export default class Z extends _0x540030{constructor(_0x5b296c){super(_0x5b296c),this[_0x3e6e('0x0')]=!0x1,this[_0x3e6e('0x10')]=!0x1;}[_0x3e6e('0xc')](){const _0x1cd014=this[_0x3e6e('0x4')],_0x5c87cf=_0x1cd014[_0x3e6e('0x2')][_0x3e6e('0x12')]('importWord'),_0x2c9eb3=_0x1cd014[_0x3e6e('0x2')][_0x3e6e('0x12')](_0x3e6e('0xf'));_0x5c87cf&&(_0x5c87cf['on'](_0x3e6e('0x9'),(_0x27bf25,[,_0x51e00c])=>{this[_0x3e6e('0x0')]=_0x2c9eb3[_0x3e6e('0x3')],_0x51e00c[_0x3e6e('0xa')]['track_changes']=!this[_0x3e6e('0x0')];},{'priority':_0x3e6e('0x6')}),this[_0x3e6e('0x7')](_0x5c87cf,_0x3e6e('0xd'),this['_handleImportedData']['bind'](this)),this['listenTo'](_0x5c87cf,_0x3e6e('0xd'),()=>{this['_trackChangesExecuted']&&(_0x2c9eb3[_0x3e6e('0x9')](),this[_0x3e6e('0x10')]=!0x1);},{'priority':'lowest'}),_0x1cd014[_0x3e6e('0x5')][_0x3e6e('0x12')](_0x3e6e('0xb'))[_0x3e6e('0x8')](_0x3e6e('0x11')));}['_handleImportedData'](_0x5b63f1,_0x11bf42){const {suggestions:_0x52134e}=_0x11bf42,_0x4f5cfb=this[_0x3e6e('0x4')][_0x3e6e('0x2')][_0x3e6e('0x12')](_0x3e6e('0xf')),_0x469f44=_0x4f5cfb[_0x3e6e('0x3')];this['_trackChangesValueDuringImport']!==_0x469f44&&(_0x4f5cfb[_0x3e6e('0x9')](),this[_0x3e6e('0x10')]=!0x0),_0x52134e&&_0x52134e[_0x3e6e('0xe')](({id:_0x19a01d,type:_0x5b9603,author:_0x15ec16,created_at:_0x9135c6})=>{const _0x25ee18={'id':_0x19a01d,'type':_0x5b9603,'authorId':this[_0x3e6e('0x4')][_0x3e6e('0x5')][_0x3e6e('0x12')]('Users')['me']['id'],'createdAt':new Date(),'data':null,'hasComments':!0x1,'attributes':{'@external':{'authorName':_0x15ec16,'createdAt':_0x9135c6?new Date(_0x9135c6):new Date(),'source':_0x3e6e('0x11')}}};this[_0x3e6e('0x4')][_0x3e6e('0x5')]['get'](_0x3e6e('0xb'))[_0x3e6e('0x1')](_0x25ee18);});}}
23
+ const _0x1178=['trackChanges','_setSuggestionData','track_changes','commands','bind','afterInit','lowest','plugins','dataInsert','editor','high','get','collaboration_features','TrackChangesEditing','enableCommand','importWord','forEach','Users','value','_trackChangesExecuted','execute','_handleImportedData','_trackChangesValueDuringImport','listenTo'];(function(_0x52284b,_0x1178bf){const _0x5a463a=function(_0x588ff5){while(--_0x588ff5){_0x52284b['push'](_0x52284b['shift']());}};_0x5a463a(++_0x1178bf);}(_0x1178,0x1bd));const _0x5a46=function(_0x52284b,_0x1178bf){_0x52284b=_0x52284b-0x0;let _0x5a463a=_0x1178[_0x52284b];return _0x5a463a;};import{Plugin as _0x3ee068}from'ckeditor5/src/core';export default class Z extends _0x3ee068{constructor(_0x3caee4){super(_0x3caee4),this[_0x5a46('0x9')]=!0x1,this['_trackChangesExecuted']=!0x1;}[_0x5a46('0x10')](){const _0x58d15f=this[_0x5a46('0x14')],_0x3b1f76=_0x58d15f[_0x5a46('0xe')][_0x5a46('0x16')](_0x5a46('0x2')),_0x37be9e=_0x58d15f['commands'][_0x5a46('0x16')](_0x5a46('0xb'));_0x3b1f76&&(_0x3b1f76['on'](_0x5a46('0x7'),(_0x44958e,[,_0xfb904])=>{this[_0x5a46('0x9')]=_0x37be9e[_0x5a46('0x5')],_0xfb904[_0x5a46('0x17')][_0x5a46('0xd')]=!this[_0x5a46('0x9')];},{'priority':_0x5a46('0x15')}),this[_0x5a46('0xa')](_0x3b1f76,_0x5a46('0x13'),this[_0x5a46('0x8')][_0x5a46('0xf')](this)),this['listenTo'](_0x3b1f76,_0x5a46('0x13'),()=>{this[_0x5a46('0x6')]&&(_0x37be9e[_0x5a46('0x7')](),this['_trackChangesExecuted']=!0x1);},{'priority':_0x5a46('0x11')}),_0x58d15f['plugins'][_0x5a46('0x16')](_0x5a46('0x0'))[_0x5a46('0x1')](_0x5a46('0x2')));}[_0x5a46('0x8')](_0x53945b,_0x4ed051){const {suggestions:_0x317ac7}=_0x4ed051,_0x50162e=this[_0x5a46('0x14')][_0x5a46('0xe')]['get'](_0x5a46('0xb')),_0x2e1949=_0x50162e['value'];this['_trackChangesValueDuringImport']!==_0x2e1949&&(_0x50162e[_0x5a46('0x7')](),this['_trackChangesExecuted']=!0x0),_0x317ac7&&_0x317ac7[_0x5a46('0x3')](({id:_0x5d7520,type:_0x3d918e,author:_0x22ff29,created_at:_0x547dca})=>{const _0x1e80c3={'id':_0x5d7520,'type':_0x3d918e,'authorId':this[_0x5a46('0x14')][_0x5a46('0x12')][_0x5a46('0x16')](_0x5a46('0x4'))['me']['id'],'createdAt':new Date(),'data':null,'hasComments':!0x1,'attributes':{'@external':{'authorName':_0x22ff29,'createdAt':_0x547dca?new Date(_0x547dca):new Date(),'source':_0x5a46('0x2')}}};this[_0x5a46('0x14')][_0x5a46('0x12')]['get'](_0x5a46('0x0'))[_0x5a46('0xc')](_0x1e80c3);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5ea7=['document','TrackChangesEditing','get','format','model','_descriptionFactory','change','commandName','IndentBlock','plugins','from','indentBlock','filter','has','outdent','schema','enableCommand','registerDescriptionCallback','markBlockFormat','*Outdent:*\x20%0','editor','IndentEditing','indent','selection','outdentBlock','locale'];(function(_0x2f9bad,_0x5ea7c6){const _0x5da918=function(_0xb8ffb6){while(--_0xb8ffb6){_0x2f9bad['push'](_0x2f9bad['shift']());}};_0x5da918(++_0x5ea7c6);}(_0x5ea7,0x12c));const _0x5da9=function(_0x2f9bad,_0x5ea7c6){_0x2f9bad=_0x2f9bad-0x0;let _0x5da918=_0x5ea7[_0x2f9bad];return _0x5da918;};import{Plugin as _0x4f18a8}from'ckeditor5/src/core';import{getTranslation as _0x397f48}from'../utils/common-translations';export default class tt extends _0x4f18a8{['afterInit'](){const _0x235590=this[_0x5da9('0x6')],_0x5b8de2=_0x235590[_0x5da9('0x15')][_0x5da9('0xe')](_0x5da9('0xd'));_0x235590[_0x5da9('0x15')]['has'](_0x5da9('0x7'))&&(_0x5b8de2[_0x5da9('0x2')](_0x5da9('0x8')),_0x5b8de2['enableCommand'](_0x5da9('0x0')));const _0x3c8d5e=_0x235590[_0x5da9('0xb')];if(_0x235590[_0x5da9('0x15')][_0x5da9('0x19')](_0x5da9('0x14'))){for(const _0x52a630 of[_0x5da9('0x17'),'outdentBlock'])_0x5b8de2[_0x5da9('0x2')](_0x52a630,()=>{const _0x406c0b=Array[_0x5da9('0x16')](this['editor'][_0x5da9('0x10')][_0x5da9('0xc')][_0x5da9('0x9')]['getSelectedBlocks']())[_0x5da9('0x18')](_0x2c3a67=>this['editor'][_0x5da9('0x10')][_0x5da9('0x1')]['checkAttribute'](_0x2c3a67,'blockIndent'));_0x235590['model'][_0x5da9('0x12')](()=>{for(const _0x156e06 of _0x406c0b)_0x5b8de2[_0x5da9('0x4')](_0x156e06,{'commandName':_0x52a630,'commandParams':[{'value':''}],'formatGroupId':_0x5da9('0x17')});});});_0x5b8de2[_0x5da9('0x11')][_0x5da9('0x3')](_0x59e4b1=>{const {data:_0x59a191}=_0x59e4b1;if(!_0x59a191)return;if('indentBlock'!=_0x59a191[_0x5da9('0x13')]&&_0x5da9('0xa')!=_0x59a191[_0x5da9('0x13')])return;const _0x32f003=_0x59e4b1['getItems']()[0x0],_0x414b03=_0x5b8de2[_0x5da9('0x11')]['getItemLabel'](_0x32f003);return _0x5da9('0x17')==_0x59a191[_0x5da9('0x13')]?{'type':_0x5da9('0xf'),'content':_0x397f48(_0x3c8d5e,'*Indent:*\x20%0',_0x414b03)}:_0x5da9('0xa')==_0x59a191[_0x5da9('0x13')]?{'type':_0x5da9('0xf'),'content':_0x397f48(_0x3c8d5e,_0x5da9('0x5'),_0x414b03)}:void 0x0;});}}}
23
+ const _0x337d=['document','editor','markBlockFormat','_descriptionFactory','change','has','format','checkAttribute','locale','getItemLabel','filter','IndentEditing','getItems','commandName','indentBlock','outdentBlock','TrackChangesEditing','indent','selection','outdent','schema','plugins','enableCommand','from','get','registerDescriptionCallback','model'];(function(_0x1fc1ac,_0x337d92){const _0x1cdd0b=function(_0x3ca5a9){while(--_0x3ca5a9){_0x1fc1ac['push'](_0x1fc1ac['shift']());}};_0x1cdd0b(++_0x337d92);}(_0x337d,0xe9));const _0x1cdd=function(_0x1fc1ac,_0x337d92){_0x1fc1ac=_0x1fc1ac-0x0;let _0x1cdd0b=_0x337d[_0x1fc1ac];return _0x1cdd0b;};import{Plugin as _0x5742e3}from'ckeditor5/src/core';import{getTranslation as _0x8f1008}from'../utils/common-translations';export default class tt extends _0x5742e3{['afterInit'](){const _0xacba8f=this['editor'],_0x3b6ace=_0xacba8f[_0x1cdd('0x4')][_0x1cdd('0x7')](_0x1cdd('0x1a'));_0xacba8f[_0x1cdd('0x4')][_0x1cdd('0xf')](_0x1cdd('0x15'))&&(_0x3b6ace['enableCommand'](_0x1cdd('0x0')),_0x3b6ace[_0x1cdd('0x5')](_0x1cdd('0x2')));const _0x1474c4=_0xacba8f[_0x1cdd('0x12')];if(_0xacba8f['plugins'][_0x1cdd('0xf')]('IndentBlock')){for(const _0x45e1c1 of[_0x1cdd('0x18'),_0x1cdd('0x19')])_0x3b6ace[_0x1cdd('0x5')](_0x45e1c1,()=>{const _0x11e18a=Array[_0x1cdd('0x6')](this[_0x1cdd('0xb')][_0x1cdd('0x9')][_0x1cdd('0xa')][_0x1cdd('0x1')]['getSelectedBlocks']())[_0x1cdd('0x14')](_0x3e472b=>this[_0x1cdd('0xb')][_0x1cdd('0x9')][_0x1cdd('0x3')][_0x1cdd('0x11')](_0x3e472b,'blockIndent'));_0xacba8f[_0x1cdd('0x9')][_0x1cdd('0xe')](()=>{for(const _0x29ad0a of _0x11e18a)_0x3b6ace[_0x1cdd('0xc')](_0x29ad0a,{'commandName':_0x45e1c1,'commandParams':[{'value':''}],'formatGroupId':_0x1cdd('0x18')});});});_0x3b6ace[_0x1cdd('0xd')][_0x1cdd('0x8')](_0x1e8e96=>{const {data:_0x35d459}=_0x1e8e96;if(!_0x35d459)return;if(_0x1cdd('0x18')!=_0x35d459['commandName']&&_0x1cdd('0x19')!=_0x35d459[_0x1cdd('0x17')])return;const _0x4ce65b=_0x1e8e96[_0x1cdd('0x16')]()[0x0],_0x12cd8c=_0x3b6ace[_0x1cdd('0xd')][_0x1cdd('0x13')](_0x4ce65b);return _0x1cdd('0x18')==_0x35d459[_0x1cdd('0x17')]?{'type':'format','content':_0x8f1008(_0x1474c4,'*Indent:*\x20%0',_0x12cd8c)}:'outdentBlock'==_0x35d459[_0x1cdd('0x17')]?{'type':_0x1cdd('0x10'),'content':_0x8f1008(_0x1474c4,'*Outdent:*\x20%0',_0x12cd8c)}:void 0x0;});}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x5bfa=['enableCommand','init','plugins','input','editor'];(function(_0x53eb1e,_0x5bfa07){var _0x1479ed=function(_0x4cd700){while(--_0x4cd700){_0x53eb1e['push'](_0x53eb1e['shift']());}};_0x1479ed(++_0x5bfa07);}(_0x5bfa,0x1c4));var _0x1479=function(_0x53eb1e,_0x5bfa07){_0x53eb1e=_0x53eb1e-0x0;var _0x1479ed=_0x5bfa[_0x53eb1e];return _0x1479ed;};import{Plugin as _0x2bd6d1}from'ckeditor5/src/core';import{Input as _0x532054}from'ckeditor5/src/typing';export default class it extends _0x2bd6d1{static get['requires'](){return[_0x532054];}[_0x1479('0x4')](){this[_0x1479('0x2')][_0x1479('0x0')]['get']('TrackChangesEditing')[_0x1479('0x3')](_0x1479('0x1'));}}
23
+ var _0x5d1c=['init','get','enableCommand','requires','plugins','input'];(function(_0x2b0dcb,_0x5d1c5e){var _0x4a2813=function(_0x42ce50){while(--_0x42ce50){_0x2b0dcb['push'](_0x2b0dcb['shift']());}};_0x4a2813(++_0x5d1c5e);}(_0x5d1c,0x119));var _0x4a28=function(_0x2b0dcb,_0x5d1c5e){_0x2b0dcb=_0x2b0dcb-0x0;var _0x4a2813=_0x5d1c[_0x2b0dcb];return _0x4a2813;};import{Plugin as _0x106786}from'ckeditor5/src/core';import{Input as _0x46388f}from'ckeditor5/src/typing';export default class it extends _0x106786{static get[_0x4a28('0x4')](){return[_0x46388f];}[_0x4a28('0x1')](){this['editor'][_0x4a28('0x5')][_0x4a28('0x2')]('TrackChangesEditing')[_0x4a28('0x3')](_0x4a28('0x0'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xff4c=['afterInit','has','commandName','plugins','linkHref','locale','format','unlink','model','*Remove\x20link*','enableCommand','hasAttribute','getFirstPosition','selection','*Set\x20link:*\x20%0','_descriptionFactory','link','getRanges','getFirstRange','markInlineFormat','getAttribute','commandParams','get','document','change','isCollapsed','editor'];(function(_0x2e93d6,_0xff4cbc){const _0x43c4a8=function(_0x2d056b){while(--_0x2d056b){_0x2e93d6['push'](_0x2e93d6['shift']());}};_0x43c4a8(++_0xff4cbc);}(_0xff4c,0x127));const _0x43c4=function(_0x2e93d6,_0xff4cbc){_0x2e93d6=_0x2e93d6-0x0;let _0x43c4a8=_0xff4c[_0x2e93d6];return _0x43c4a8;};import{Plugin as _0x202049}from'ckeditor5/src/core';import{findAttributeRange as _0x1b2231}from'ckeditor5/src/typing';import{getRangesWithAttribute as _0xe1fc55}from'./utils';import{getTranslation as _0x57a35e}from'../utils/common-translations';export default class et extends _0x202049{[_0x43c4('0x2')](){const _0x157a47=this[_0x43c4('0x1')];if(!_0x157a47[_0x43c4('0x5')][_0x43c4('0x3')]('LinkEditing'))return;const _0x114086=_0x157a47[_0x43c4('0x5')][_0x43c4('0x18')]('TrackChangesEditing');_0x114086[_0x43c4('0xc')](_0x43c4('0x12'),(_0x5c18c0,_0x1c19c3)=>{const _0x5f03ca=_0x157a47['model']['document'][_0x43c4('0xf')];let _0x2ac1bf=[];if(_0x5f03ca['isCollapsed']){if(!_0x5f03ca[_0x43c4('0xd')](_0x43c4('0x6')))return void _0x5c18c0(_0x1c19c3);{const _0x453759=_0x1b2231(_0x5f03ca[_0x43c4('0xe')](),_0x43c4('0x6'),_0x5f03ca[_0x43c4('0x16')](_0x43c4('0x6')),_0x157a47[_0x43c4('0xa')]);_0x2ac1bf=[_0x453759];}}else _0x2ac1bf=Array['from'](_0x5f03ca[_0x43c4('0x13')]());_0x157a47[_0x43c4('0xa')][_0x43c4('0x1a')](()=>{for(const _0x5e3ee4 of _0x2ac1bf)_0x114086['markInlineFormat'](_0x5e3ee4,{'commandName':'link','commandParams':[_0x1c19c3]});});}),_0x114086[_0x43c4('0xc')](_0x43c4('0x9'),()=>{const _0xec9f60=this[_0x43c4('0x1')][_0x43c4('0xa')],_0x22cbd8=_0xec9f60[_0x43c4('0x19')][_0x43c4('0xf')];_0xec9f60[_0x43c4('0x1a')](()=>{let _0x31e719=[];if(_0x22cbd8[_0x43c4('0x0')])_0x31e719=[_0x1b2231(_0x22cbd8[_0x43c4('0xe')](),_0x43c4('0x6'),_0x22cbd8[_0x43c4('0x16')](_0x43c4('0x6')),_0x157a47[_0x43c4('0xa')])];else _0x31e719=_0xe1fc55(_0x43c4('0x6'),_0x22cbd8[_0x43c4('0x14')](),_0x157a47[_0x43c4('0xa')]);for(const _0x4b9ee5 of _0x31e719)_0x114086[_0x43c4('0x15')](_0x4b9ee5,{'commandName':_0x43c4('0x9'),'commandParams':[]});});}),_0x114086[_0x43c4('0x11')]['registerDescriptionCallback'](_0x2246e7=>{const {data:_0x323e89}=_0x2246e7,_0x6e0d3c=_0x157a47[_0x43c4('0x7')];if(_0x323e89){if(_0x43c4('0x12')==_0x323e89[_0x43c4('0x4')]){const _0x2fb5dd=_0x323e89[_0x43c4('0x17')][0x0];return{'type':_0x43c4('0x8'),'content':_0x57a35e(_0x6e0d3c,_0x43c4('0x10'),'\x22'+_0x2fb5dd+'\x22')};}return _0x43c4('0x9')==_0x323e89[_0x43c4('0x4')]?{'type':'format','content':_0x57a35e(_0x6e0d3c,_0x43c4('0xb'))}:void 0x0;}});}}
23
+ const _0x32f4=['linkHref','enableCommand','plugins','getAttribute','*Set\x20link:*\x20%0','afterInit','getFirstPosition','format','LinkEditing','model','getFirstRange','locale','selection','change','unlink','getRanges','editor','link','has','_descriptionFactory','markInlineFormat','from','document','hasAttribute','isCollapsed','registerDescriptionCallback','commandParams','get'];(function(_0xeba366,_0x32f40d){const _0x975a30=function(_0xbaa460){while(--_0xbaa460){_0xeba366['push'](_0xeba366['shift']());}};_0x975a30(++_0x32f40d);}(_0x32f4,0xa1));const _0x975a=function(_0xeba366,_0x32f40d){_0xeba366=_0xeba366-0x0;let _0x975a30=_0x32f4[_0xeba366];return _0x975a30;};import{Plugin as _0x3d5d51}from'ckeditor5/src/core';import{findAttributeRange as _0x280568}from'ckeditor5/src/typing';import{getRangesWithAttribute as _0xb2142e}from'./utils';import{getTranslation as _0x8b59b5}from'../utils/common-translations';export default class et extends _0x3d5d51{[_0x975a('0xc')](){const _0x30b719=this[_0x975a('0x17')];if(!_0x30b719[_0x975a('0x9')][_0x975a('0x19')](_0x975a('0xf')))return;const _0x3b18ce=_0x30b719[_0x975a('0x9')][_0x975a('0x6')]('TrackChangesEditing');_0x3b18ce[_0x975a('0x8')]('link',(_0x59c5bb,_0x208abd)=>{const _0x4e4c32=_0x30b719[_0x975a('0x10')][_0x975a('0x1')][_0x975a('0x13')];let _0x2a1406=[];if(_0x4e4c32[_0x975a('0x3')]){if(!_0x4e4c32[_0x975a('0x2')](_0x975a('0x7')))return void _0x59c5bb(_0x208abd);{const _0x3fb934=_0x280568(_0x4e4c32[_0x975a('0xd')](),'linkHref',_0x4e4c32['getAttribute']('linkHref'),_0x30b719[_0x975a('0x10')]);_0x2a1406=[_0x3fb934];}}else _0x2a1406=Array[_0x975a('0x0')](_0x4e4c32[_0x975a('0x16')]());_0x30b719['model'][_0x975a('0x14')](()=>{for(const _0x9e14e3 of _0x2a1406)_0x3b18ce['markInlineFormat'](_0x9e14e3,{'commandName':_0x975a('0x18'),'commandParams':[_0x208abd]});});}),_0x3b18ce[_0x975a('0x8')]('unlink',()=>{const _0xd093=this['editor']['model'],_0x4aa8c1=_0xd093[_0x975a('0x1')][_0x975a('0x13')];_0xd093[_0x975a('0x14')](()=>{let _0x2542b5=[];if(_0x4aa8c1[_0x975a('0x3')])_0x2542b5=[_0x280568(_0x4aa8c1[_0x975a('0xd')](),'linkHref',_0x4aa8c1[_0x975a('0xa')](_0x975a('0x7')),_0x30b719[_0x975a('0x10')])];else _0x2542b5=_0xb2142e(_0x975a('0x7'),_0x4aa8c1[_0x975a('0x11')](),_0x30b719[_0x975a('0x10')]);for(const _0x14ca41 of _0x2542b5)_0x3b18ce[_0x975a('0x1b')](_0x14ca41,{'commandName':_0x975a('0x15'),'commandParams':[]});});}),_0x3b18ce[_0x975a('0x1a')][_0x975a('0x4')](_0x4ed340=>{const {data:_0xf10461}=_0x4ed340,_0x118270=_0x30b719[_0x975a('0x12')];if(_0xf10461){if(_0x975a('0x18')==_0xf10461['commandName']){const _0x544a05=_0xf10461[_0x975a('0x5')][0x0];return{'type':_0x975a('0xe'),'content':_0x8b59b5(_0x118270,_0x975a('0xb'),'\x22'+_0x544a05+'\x22')};}return'unlink'==_0xf10461['commandName']?{'type':_0x975a('0xe'),'content':_0x8b59b5(_0x118270,'*Remove\x20link*')}:void 0x0;}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2f0f=['*Change\x20to:*\x20%0','listIndent','todoList','length','nextSibling','execute','*Uncheck\x20item*','*Outdent:*\x20%0','markBlockFormat','enableCommand','registerDescriptionCallback','createPositionAt','from','editor','findIndex','has','schema','outdentList','model','slice','registerElementLabel','indentList','ELEMENT_TODO_LIST','name','listType','afterInit','previousSibling','replace','plugins','todoListChecked','ELEMENT_NUMBERED_LIST','forceValue','before','commandName','checkChild','ELEMENT_LIST_ITEM','commands','List','getAttribute','todo','locale','_selectedElements','add','TrackChangesEditing','get','format','numberedList','bulletedList','listItem','push','ELEMENT_BULLETED_LIST','selection','*Indent:*\x20%0','filter','createRange','getSelectedBlocks','checkTodoList','commandParams','change','_descriptionFactory','value','bulleted','document'];(function(_0x183a36,_0x2f0ff8){const _0x193102=function(_0x5cbf19){while(--_0x5cbf19){_0x183a36['push'](_0x183a36['shift']());}};_0x193102(++_0x2f0ff8);}(_0x2f0f,0xc9));const _0x1931=function(_0x183a36,_0x2f0ff8){_0x183a36=_0x183a36-0x0;let _0x193102=_0x2f0f[_0x183a36];return _0x193102;};import{Plugin as _0x3d0f15}from'ckeditor5/src/core';import{getTranslation as _0x11790f}from'../utils/common-translations';export default class st extends _0x3d0f15{[_0x1931('0xd')](){const _0x54ab10=this[_0x1931('0x1')],_0x260c58=_0x54ab10[_0x1931('0x1c')];if(!_0x54ab10[_0x1931('0x10')][_0x1931('0x3')]('ListEditing'))return;const _0x4d0f6b=_0x54ab10[_0x1931('0x10')][_0x1931('0x20')](_0x1931('0x1f')),_0x479518=_0x54ab10[_0x1931('0x10')][_0x1931('0x3')]('TodoListEditing');function _0xbc2147(_0x3f9428){return()=>{const _0xdaf22b=_0x54ab10[_0x1931('0x6')][_0x1931('0x32')][_0x1931('0x27')],_0x801e47=_0x54ab10['commands'][_0x1931('0x20')](_0x3f9428);if(_0x801e47['value'])return void _0x54ab10[_0x1931('0x38')]('paragraph',{});const _0x195f4d=_0x3f9428[_0x1931('0x7')](0x0,-0x4),_0x37f825=function(_0x9501c4,_0x35b4e6,_0x158786){let _0x239c72=Array[_0x1931('0x0')](_0x9501c4)['filter'](_0x66b91b=>function(_0x1a8eff,_0x3a8cb4){return _0x3a8cb4[_0x1931('0x16')](_0x1a8eff['parent'],_0x1931('0x24'))&&!_0x3a8cb4['isObject'](_0x1a8eff);}(_0x66b91b,_0x158786));_0x239c72=_0x239c72['filter'](_0x237b37=>!_0x237b37['is']('element',_0x1931('0x24'))||_0x237b37['getAttribute'](_0x1931('0xc'))!=_0x35b4e6);const _0x276c1a=new Set();for(const _0x5e538f of _0x239c72)_0x5e538f['is']('element',_0x1931('0x24'))?_0x276c1a[_0x1931('0x1e')](ne(_0x5e538f)):_0x276c1a[_0x1931('0x1e')](_0x5e538f);return Array[_0x1931('0x0')](_0x276c1a);}(_0xdaf22b[_0x1931('0x2b')](),_0x195f4d,_0x54ab10[_0x1931('0x6')][_0x1931('0x4')]);_0x54ab10['model'][_0x1931('0x2e')](()=>{for(const _0x526396 of _0x37f825)_0x4d0f6b[_0x1931('0x3b')](_0x526396,{'commandName':_0x3f9428,'commandParams':[{'forceValue':!_0x801e47[_0x1931('0x30')]}],'formatGroupId':'blockName'},oe(_0x526396));});};}function _0x162203(_0x12314b){return()=>{const _0x1b18a8=function(_0x4bb796){let _0x2d59a3=Array['from'](_0x4bb796);const _0x574572=_0x2d59a3[_0x1931('0x2')](_0x3b2e3b=>_0x1931('0x24')!=_0x3b2e3b['name']);return _0x574572>-0x1&&(_0x2d59a3=_0x2d59a3[_0x1931('0x7')](0x0,_0x574572)),_0x2d59a3;}(_0x54ab10[_0x1931('0x6')][_0x1931('0x32')][_0x1931('0x27')]['getSelectedBlocks']()),_0x5656e9=_0x54ab10[_0x1931('0x6')][_0x1931('0x2a')](_0x54ab10[_0x1931('0x6')][_0x1931('0x3e')](_0x1b18a8[0x0],_0x1931('0x14')),_0x54ab10['model'][_0x1931('0x3e')](_0x1b18a8[_0x1b18a8[_0x1931('0x36')]-0x1],'end'));_0x54ab10[_0x1931('0x6')][_0x1931('0x2e')](()=>{_0x4d0f6b[_0x1931('0x3b')](_0x5656e9,{'commandName':_0x12314b,'commandParams':[],'formatGroupId':_0x1931('0x34')},function(_0x143e03){const _0x4a3f10=new Set();for(const _0x384d69 of _0x143e03){let _0x3a723d=_0x384d69[_0x1931('0x37')];for(;_0x3a723d&&_0x3a723d[_0x1931('0x1a')]('listIndent')>_0x384d69[_0x1931('0x1a')](_0x1931('0x34'));)_0x4a3f10[_0x1931('0x1e')](_0x3a723d),_0x3a723d=_0x3a723d['nextSibling'];}return Array[_0x1931('0x0')](_0x4a3f10);}(_0x1b18a8));});};}_0x4d0f6b[_0x1931('0x3c')](_0x1931('0x22'),_0xbc2147('numberedList')),_0x4d0f6b[_0x1931('0x3c')](_0x1931('0x23'),_0xbc2147(_0x1931('0x23'))),_0x479518&&_0x4d0f6b['enableCommand']('todoList',_0xbc2147(_0x1931('0x35'))),_0x4d0f6b[_0x1931('0x3c')](_0x1931('0x9'),_0x162203('indentList')),_0x4d0f6b[_0x1931('0x3c')](_0x1931('0x5'),_0x162203('outdentList')),_0x479518&&_0x4d0f6b[_0x1931('0x3c')](_0x1931('0x2c'),()=>{const _0x4f8c9d=_0x54ab10[_0x1931('0x18')][_0x1931('0x20')]('checkTodoList'),_0xa55fa2=Array[_0x1931('0x0')](_0x4f8c9d[_0x1931('0x1d')]);_0xa55fa2[_0x1931('0x29')](_0x4332cf=>_0x4332cf[_0x1931('0x1a')](_0x1931('0x11'))!=_0x4f8c9d[_0x1931('0x30')]),_0x54ab10[_0x1931('0x6')][_0x1931('0x2e')](()=>{for(const _0x32e273 of _0xa55fa2)_0x4d0f6b[_0x1931('0x3b')](_0x32e273,{'commandName':_0x1931('0x2c'),'commandParams':[{'forceValue':!_0x4f8c9d[_0x1931('0x30')]}]});});}),_0x4d0f6b['_descriptionFactory'][_0x1931('0x8')](_0x1931('0x24'),_0x594c51=>_0x11790f(_0x260c58,_0x1931('0x17'),_0x594c51)),_0x4d0f6b[_0x1931('0x2f')][_0x1931('0x3d')](_0x4d92ba=>{const {data:_0x40e846}=_0x4d92ba;if(_0x40e846){if(_0x1931('0x22')==_0x40e846['commandName']||_0x1931('0x23')==_0x40e846[_0x1931('0x15')]||_0x1931('0x35')==_0x40e846['commandName'])switch(_0x40e846[_0x1931('0x15')][_0x1931('0xf')](_0x1931('0x19'),'')){case _0x1931('0x31'):return _0x908bf5(_0x11790f(_0x260c58,_0x1931('0x26')));case'numbered':return _0x908bf5(_0x11790f(_0x260c58,_0x1931('0x12')));case _0x1931('0x1b'):return _0x908bf5(_0x11790f(_0x260c58,_0x1931('0xa')));}if(_0x1931('0x9')==_0x40e846[_0x1931('0x15')])return{'type':_0x1931('0x21'),'content':_0x11790f(_0x260c58,_0x1931('0x28'),_0x11790f(_0x260c58,_0x1931('0x17')))};if(_0x1931('0x5')==_0x40e846[_0x1931('0x15')])return{'type':_0x1931('0x21'),'content':_0x11790f(_0x260c58,_0x1931('0x3a'),_0x11790f(_0x260c58,_0x1931('0x17')))};if(_0x1931('0x2c')==_0x40e846[_0x1931('0x15')])return _0x40e846[_0x1931('0x2d')][0x0][_0x1931('0x13')]?{'type':_0x1931('0x21'),'content':_0x11790f(_0x260c58,'*Check\x20item*')}:{'type':_0x1931('0x21'),'content':_0x11790f(_0x260c58,_0x1931('0x39'))};}function _0x908bf5(_0x6505e){return{'type':'format','content':_0x11790f(_0x260c58,_0x1931('0x33'),_0x6505e)};}});}}function ne(_0x4610bc){const _0x4a4c85=_0x4610bc[_0x1931('0x1a')](_0x1931('0x34'));if(0x0==_0x4a4c85)return _0x4610bc;let _0x32b7df=_0x4610bc;for(;_0x4610bc[_0x1931('0xe')]&&_0x4610bc[_0x1931('0xe')]['is']('element',_0x1931('0x24'));){const _0x5ab31b=_0x4610bc[_0x1931('0xe')]['getAttribute']('listIndent');if(_0x5ab31b==_0x4a4c85)_0x32b7df=_0x4610bc[_0x1931('0xe')];else{if(_0x5ab31b<_0x4a4c85)break;}_0x4610bc=_0x4610bc['previousSibling'];}return _0x32b7df;}function oe(_0x42f550){const _0x72ed3d=[];if(_0x42f550['is']('element','listItem')&&_0x42f550[_0x1931('0x1a')](_0x1931('0x34'))>0x0){let _0x5b0975=_0x42f550[_0x1931('0x37')];for(;_0x5b0975&&_0x1931('0x24')==_0x5b0975[_0x1931('0xb')]&&_0x5b0975[_0x1931('0x1a')](_0x1931('0x34'))==_0x42f550[_0x1931('0x1a')](_0x1931('0x34'));)_0x72ed3d[_0x1931('0x25')](_0x5b0975),_0x5b0975=_0x5b0975[_0x1931('0x37')];}return _0x72ed3d;}
23
+ const _0x13ba=['TodoListEditing','bulleted','*Indent:*\x20%0','listIndent','locale','value','enableCommand','TrackChangesEditing','getSelectedBlocks','previousSibling','document','blockName','_selectedElements','from','ELEMENT_LIST_ITEM','before','listItem','afterInit','plugins','numbered','name','commands','*Change\x20to:*\x20%0','get','todoList','checkTodoList','ListEditing','getAttribute','length','registerElementLabel','nextSibling','parent','commandName','_descriptionFactory','markBlockFormat','ELEMENT_NUMBERED_LIST','model','List','bulletedList','filter','format','createPositionAt','replace','todoListChecked','execute','todo','commandParams','element','*Uncheck\x20item*','has','outdentList','*Check\x20item*','isObject','editor','add','end','findIndex','numberedList','selection','schema','change'];(function(_0x5ae4ae,_0x13ba22){const _0x3c0f01=function(_0x5588f4){while(--_0x5588f4){_0x5ae4ae['push'](_0x5ae4ae['shift']());}};_0x3c0f01(++_0x13ba22);}(_0x13ba,0x1e2));const _0x3c0f=function(_0x5ae4ae,_0x13ba22){_0x5ae4ae=_0x5ae4ae-0x0;let _0x3c0f01=_0x13ba[_0x5ae4ae];return _0x3c0f01;};import{Plugin as _0x31af06}from'ckeditor5/src/core';import{getTranslation as _0xcc9d9b}from'../utils/common-translations';export default class st extends _0x31af06{[_0x3c0f('0x17')](){const _0x2b94f5=this[_0x3c0f('0x3b')],_0x3c607e=_0x2b94f5[_0x3c0f('0xa')];if(!_0x2b94f5[_0x3c0f('0x18')]['has'](_0x3c0f('0x20')))return;const _0x94c952=_0x2b94f5['plugins'][_0x3c0f('0x1d')](_0x3c0f('0xd')),_0x59a783=_0x2b94f5[_0x3c0f('0x18')][_0x3c0f('0x37')](_0x3c0f('0x6'));function _0x24dec3(_0x9e4727){return()=>{const _0x5a8e0c=_0x2b94f5['model'][_0x3c0f('0x10')]['selection'],_0x37dba6=_0x2b94f5[_0x3c0f('0x1b')]['get'](_0x9e4727);if(_0x37dba6[_0x3c0f('0xb')])return void _0x2b94f5[_0x3c0f('0x32')]('paragraph',{});const _0x5d7af7=_0x9e4727['slice'](0x0,-0x4),_0xbf0640=function(_0x26bd34,_0x2f7882,_0x2ed762){let _0x37e239=Array[_0x3c0f('0x13')](_0x26bd34)['filter'](_0x552656=>function(_0x2f539f,_0x55a32e){return _0x55a32e['checkChild'](_0x2f539f[_0x3c0f('0x25')],'listItem')&&!_0x55a32e[_0x3c0f('0x3a')](_0x2f539f);}(_0x552656,_0x2ed762));_0x37e239=_0x37e239[_0x3c0f('0x2d')](_0x2cd4ee=>!_0x2cd4ee['is'](_0x3c0f('0x35'),_0x3c0f('0x16'))||_0x2cd4ee[_0x3c0f('0x21')]('listType')!=_0x2f7882);const _0x2e18d2=new Set();for(const _0x41f3a0 of _0x37e239)_0x41f3a0['is']('element',_0x3c0f('0x16'))?_0x2e18d2[_0x3c0f('0x3c')](ne(_0x41f3a0)):_0x2e18d2[_0x3c0f('0x3c')](_0x41f3a0);return Array[_0x3c0f('0x13')](_0x2e18d2);}(_0x5a8e0c[_0x3c0f('0xe')](),_0x5d7af7,_0x2b94f5[_0x3c0f('0x2a')][_0x3c0f('0x4')]);_0x2b94f5[_0x3c0f('0x2a')]['change'](()=>{for(const _0x29e88d of _0xbf0640)_0x94c952[_0x3c0f('0x28')](_0x29e88d,{'commandName':_0x9e4727,'commandParams':[{'forceValue':!_0x37dba6['value']}],'formatGroupId':_0x3c0f('0x11')},oe(_0x29e88d));});};}function _0x1b88b7(_0x163903){return()=>{const _0x3d43ba=function(_0x35344b){let _0x2a153e=Array[_0x3c0f('0x13')](_0x35344b);const _0x194dc8=_0x2a153e[_0x3c0f('0x1')](_0x3716a8=>'listItem'!=_0x3716a8['name']);return _0x194dc8>-0x1&&(_0x2a153e=_0x2a153e['slice'](0x0,_0x194dc8)),_0x2a153e;}(_0x2b94f5[_0x3c0f('0x2a')][_0x3c0f('0x10')][_0x3c0f('0x3')][_0x3c0f('0xe')]()),_0x4f3c8b=_0x2b94f5['model']['createRange'](_0x2b94f5[_0x3c0f('0x2a')][_0x3c0f('0x2f')](_0x3d43ba[0x0],_0x3c0f('0x15')),_0x2b94f5['model']['createPositionAt'](_0x3d43ba[_0x3d43ba[_0x3c0f('0x22')]-0x1],_0x3c0f('0x0')));_0x2b94f5[_0x3c0f('0x2a')][_0x3c0f('0x5')](()=>{_0x94c952[_0x3c0f('0x28')](_0x4f3c8b,{'commandName':_0x163903,'commandParams':[],'formatGroupId':'listIndent'},function(_0x1d4a43){const _0x1f93d5=new Set();for(const _0x264ebc of _0x1d4a43){let _0x378df1=_0x264ebc[_0x3c0f('0x24')];for(;_0x378df1&&_0x378df1[_0x3c0f('0x21')](_0x3c0f('0x9'))>_0x264ebc[_0x3c0f('0x21')]('listIndent');)_0x1f93d5[_0x3c0f('0x3c')](_0x378df1),_0x378df1=_0x378df1[_0x3c0f('0x24')];}return Array[_0x3c0f('0x13')](_0x1f93d5);}(_0x3d43ba));});};}_0x94c952[_0x3c0f('0xc')]('numberedList',_0x24dec3(_0x3c0f('0x2'))),_0x94c952[_0x3c0f('0xc')](_0x3c0f('0x2c'),_0x24dec3(_0x3c0f('0x2c'))),_0x59a783&&_0x94c952[_0x3c0f('0xc')]('todoList',_0x24dec3(_0x3c0f('0x1e'))),_0x94c952['enableCommand']('indentList',_0x1b88b7('indentList')),_0x94c952[_0x3c0f('0xc')](_0x3c0f('0x38'),_0x1b88b7('outdentList')),_0x59a783&&_0x94c952['enableCommand'](_0x3c0f('0x1f'),()=>{const _0x292831=_0x2b94f5[_0x3c0f('0x1b')][_0x3c0f('0x1d')](_0x3c0f('0x1f')),_0x5174ec=Array[_0x3c0f('0x13')](_0x292831[_0x3c0f('0x12')]);_0x5174ec[_0x3c0f('0x2d')](_0x495edf=>_0x495edf[_0x3c0f('0x21')](_0x3c0f('0x31'))!=_0x292831['value']),_0x2b94f5[_0x3c0f('0x2a')][_0x3c0f('0x5')](()=>{for(const _0xe49eb0 of _0x5174ec)_0x94c952['markBlockFormat'](_0xe49eb0,{'commandName':_0x3c0f('0x1f'),'commandParams':[{'forceValue':!_0x292831[_0x3c0f('0xb')]}]});});}),_0x94c952[_0x3c0f('0x27')][_0x3c0f('0x23')](_0x3c0f('0x16'),_0x46f565=>_0xcc9d9b(_0x3c607e,_0x3c0f('0x14'),_0x46f565)),_0x94c952[_0x3c0f('0x27')]['registerDescriptionCallback'](_0x2907b3=>{const {data:_0x212f68}=_0x2907b3;if(_0x212f68){if(_0x3c0f('0x2')==_0x212f68[_0x3c0f('0x26')]||_0x3c0f('0x2c')==_0x212f68[_0x3c0f('0x26')]||_0x3c0f('0x1e')==_0x212f68['commandName'])switch(_0x212f68[_0x3c0f('0x26')][_0x3c0f('0x30')](_0x3c0f('0x2b'),'')){case _0x3c0f('0x7'):return _0x12d238(_0xcc9d9b(_0x3c607e,'ELEMENT_BULLETED_LIST'));case _0x3c0f('0x19'):return _0x12d238(_0xcc9d9b(_0x3c607e,_0x3c0f('0x29')));case _0x3c0f('0x33'):return _0x12d238(_0xcc9d9b(_0x3c607e,'ELEMENT_TODO_LIST'));}if('indentList'==_0x212f68[_0x3c0f('0x26')])return{'type':_0x3c0f('0x2e'),'content':_0xcc9d9b(_0x3c607e,_0x3c0f('0x8'),_0xcc9d9b(_0x3c607e,_0x3c0f('0x14')))};if(_0x3c0f('0x38')==_0x212f68[_0x3c0f('0x26')])return{'type':'format','content':_0xcc9d9b(_0x3c607e,'*Outdent:*\x20%0',_0xcc9d9b(_0x3c607e,_0x3c0f('0x14')))};if(_0x3c0f('0x1f')==_0x212f68[_0x3c0f('0x26')])return _0x212f68[_0x3c0f('0x34')][0x0]['forceValue']?{'type':_0x3c0f('0x2e'),'content':_0xcc9d9b(_0x3c607e,_0x3c0f('0x39'))}:{'type':_0x3c0f('0x2e'),'content':_0xcc9d9b(_0x3c607e,_0x3c0f('0x36'))};}function _0x12d238(_0x3466a5){return{'type':_0x3c0f('0x2e'),'content':_0xcc9d9b(_0x3c607e,_0x3c0f('0x1c'),_0x3466a5)};}});}}function ne(_0x2ca3ad){const _0x434e5f=_0x2ca3ad[_0x3c0f('0x21')]('listIndent');if(0x0==_0x434e5f)return _0x2ca3ad;let _0x3c4149=_0x2ca3ad;for(;_0x2ca3ad['previousSibling']&&_0x2ca3ad[_0x3c0f('0xf')]['is'](_0x3c0f('0x35'),_0x3c0f('0x16'));){const _0x398740=_0x2ca3ad[_0x3c0f('0xf')]['getAttribute'](_0x3c0f('0x9'));if(_0x398740==_0x434e5f)_0x3c4149=_0x2ca3ad[_0x3c0f('0xf')];else{if(_0x398740<_0x434e5f)break;}_0x2ca3ad=_0x2ca3ad[_0x3c0f('0xf')];}return _0x3c4149;}function oe(_0x19f665){const _0x9ab163=[];if(_0x19f665['is'](_0x3c0f('0x35'),_0x3c0f('0x16'))&&_0x19f665['getAttribute'](_0x3c0f('0x9'))>0x0){let _0x591069=_0x19f665['nextSibling'];for(;_0x591069&&_0x3c0f('0x16')==_0x591069[_0x3c0f('0x1a')]&&_0x591069['getAttribute'](_0x3c0f('0x9'))==_0x19f665[_0x3c0f('0x21')](_0x3c0f('0x9'));)_0x9ab163['push'](_0x591069),_0x591069=_0x591069[_0x3c0f('0x24')];}return _0x9ab163;}