@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20230817.0 → 0.0.0-nightly-20230818.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (64) hide show
  1. package/build/track-changes.js +1 -1
  2. package/package.json +3 -3
  3. package/src/commands/acceptsuggestioncommand.js +1 -1
  4. package/src/commands/discardsuggestioncommand.js +1 -1
  5. package/src/commands/executeonallsuggestionscommand.js +1 -1
  6. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  7. package/src/commands/trackchangescommand.js +1 -1
  8. package/src/integrations/alignment.js +1 -1
  9. package/src/integrations/basicstyles.js +1 -1
  10. package/src/integrations/blockquote.js +1 -1
  11. package/src/integrations/ckbox.js +1 -1
  12. package/src/integrations/codeblock.js +1 -1
  13. package/src/integrations/comments.js +1 -1
  14. package/src/integrations/deletecommand.js +1 -1
  15. package/src/integrations/documentlist.js +1 -1
  16. package/src/integrations/documentlistproperties.js +1 -1
  17. package/src/integrations/entercommand.js +1 -1
  18. package/src/integrations/findandreplace.js +1 -1
  19. package/src/integrations/font.js +1 -1
  20. package/src/integrations/formatpainter.js +1 -1
  21. package/src/integrations/heading.js +1 -1
  22. package/src/integrations/highlight.js +1 -1
  23. package/src/integrations/horizontalline.js +1 -1
  24. package/src/integrations/htmlembed.js +1 -1
  25. package/src/integrations/image.js +1 -1
  26. package/src/integrations/imagereplace.js +1 -1
  27. package/src/integrations/importword.js +1 -1
  28. package/src/integrations/indent.js +1 -1
  29. package/src/integrations/inputcommand.js +1 -1
  30. package/src/integrations/link.js +1 -1
  31. package/src/integrations/list.js +1 -1
  32. package/src/integrations/listproperties.js +1 -1
  33. package/src/integrations/mediaembed.js +1 -1
  34. package/src/integrations/mention.js +1 -1
  35. package/src/integrations/pagebreak.js +1 -1
  36. package/src/integrations/paragraph.js +1 -1
  37. package/src/integrations/removeformat.js +1 -1
  38. package/src/integrations/restrictededitingmode.js +1 -1
  39. package/src/integrations/shiftentercommand.js +1 -1
  40. package/src/integrations/standardeditingmode.js +1 -1
  41. package/src/integrations/style.js +1 -1
  42. package/src/integrations/table.js +1 -1
  43. package/src/integrations/tablecaption.js +1 -1
  44. package/src/integrations/tableclipboard.js +1 -1
  45. package/src/integrations/tablecolumnresize.js +1 -1
  46. package/src/integrations/tableheadings.js +1 -1
  47. package/src/integrations/tablemergesplit.js +1 -1
  48. package/src/integrations/tableofcontents.js +1 -1
  49. package/src/integrations/tableproperties.js +1 -1
  50. package/src/integrations/template.js +1 -1
  51. package/src/integrations/title.js +1 -1
  52. package/src/integrations/undo.js +1 -1
  53. package/src/integrations/utils.js +1 -1
  54. package/src/suggestion.js +1 -1
  55. package/src/suggestiondescriptionfactory.js +1 -1
  56. package/src/trackchanges.js +1 -1
  57. package/src/trackchangesdata.js +1 -1
  58. package/src/trackchangesediting.js +1 -1
  59. package/src/trackchangesui.js +1 -1
  60. package/src/ui/suggestioncontroller.js +1 -1
  61. package/src/ui/view/basesuggestionthreadview.js +1 -1
  62. package/src/ui/view/suggestionthreadview.js +1 -1
  63. package/src/utils/common-translations.js +1 -1
  64. package/src/utils/utils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x40ae=['selection','isCollapsed','*Reset\x20font\x20size*','_descriptionFactory','toLowerCase','config','find','commandName','fontSize','model','fontBackgroundColor.colors','value','fontColor.colors','plugins','afterInit','fontBackgroundColor','getRanges','fontColor','normalizeSizeOptions','*Reset\x20font\x20color*','editor','get','title','*Set\x20font\x20background\x20color:*\x20%0','has','label','TrackChangesEditing','*Set\x20font\x20family:*\x20%0','FontColorEditing','change','fontFamily','fontSize.options','from','FontSize','commandParams','_enableCommand','FontSizeEditing','format','enableCommand','*Set\x20font\x20color:*\x20%0','locale','trim'];(function(_0x492a34,_0x40ae2a){const _0x4bf32e=function(_0xa96c7b){while(--_0xa96c7b){_0x492a34['push'](_0x492a34['shift']());}};_0x4bf32e(++_0x40ae2a);}(_0x40ae,0x197));const _0x4bf3=function(_0x492a34,_0x40ae2a){_0x492a34=_0x492a34-0x0;let _0x4bf32e=_0x40ae[_0x492a34];return _0x4bf32e;};import{Plugin as _0x1ef5d1}from'ckeditor5/src/core';import{normalizeColorOptions as _0x6fcba6}from'ckeditor5/src/ui';import{getRangesWithAttribute as _0x12b920}from'./utils';import{getTranslation as _0x1c85bf}from'../utils/common-translations';const Zt=[{'pluginName':_0x4bf3('0x7'),'commandName':_0x4bf3('0x15')},{'pluginName':'FontFamilyEditing','commandName':_0x4bf3('0x1')},{'pluginName':_0x4bf3('0x29'),'commandName':_0x4bf3('0x1e')},{'pluginName':'FontBackgroundColorEditing','commandName':_0x4bf3('0x1c')}];export default class H extends _0x1ef5d1{[_0x4bf3('0x1b')](){const _0x282074=this[_0x4bf3('0x21')][_0x4bf3('0xb')];for(const {pluginName:_0xbe19b4,commandName:_0x5ad27c}of Zt)this[_0x4bf3('0x21')]['plugins'][_0x4bf3('0x25')](_0xbe19b4)&&this[_0x4bf3('0x6')](_0x5ad27c);this[_0x4bf3('0x21')]['plugins'][_0x4bf3('0x22')](_0x4bf3('0x27'))[_0x4bf3('0x10')]['registerDescriptionCallback'](_0x4298ff=>{const _0x456aba=_0x282074['t'],{data:_0x470882}=_0x4298ff;if(null!=_0x470882){if(_0x4bf3('0x15')==_0x470882['commandName']){const _0x18dbbb=_0x470882[_0x4bf3('0x5')][0x0][_0x4bf3('0x18')];if(_0x18dbbb){const _0x57b24a=_0x456aba(this[_0x4bf3('0x21')][_0x4bf3('0x1a')]['get'](_0x4bf3('0x4'))[_0x4bf3('0x1f')](this[_0x4bf3('0x21')][_0x4bf3('0x12')][_0x4bf3('0x22')](_0x4bf3('0x2')))[_0x4bf3('0x13')](_0x7e10dd=>_0x7e10dd[_0x4bf3('0x16')]==_0x18dbbb)[_0x4bf3('0x23')])[_0x4bf3('0x11')]();return{'type':'format','content':_0x1c85bf(_0x282074,'*Set\x20font\x20size:*\x20%0',_0x57b24a)};}return{'type':'format','content':_0x1c85bf(_0x282074,_0x4bf3('0xf'))};}if(_0x4bf3('0x1')==_0x470882[_0x4bf3('0x14')]){const _0xdb7dec=_0x470882[_0x4bf3('0x5')][0x0]['value'];return _0xdb7dec?{'type':_0x4bf3('0x8'),'content':_0x1c85bf(_0x282074,_0x4bf3('0x28'),_0xdb7dec)}:{'type':_0x4bf3('0x8'),'content':_0x1c85bf(_0x282074,'*Reset\x20font\x20family*')};}if(_0x4bf3('0x1e')==_0x470882['commandName']){const _0x17b293=_0x470882[_0x4bf3('0x5')][0x0][_0x4bf3('0x18')];if(_0x17b293){const _0x3dd0c3=_0x6fcba6(this[_0x4bf3('0x21')][_0x4bf3('0x12')]['get'](_0x4bf3('0x19')))[_0x4bf3('0x13')](_0x2a7f75=>_0x2a7f75[_0x4bf3('0x16')]==_0x17b293);let _0x2615f8=_0x17b293,_0x477f10='';return _0x3dd0c3&&(_0x2615f8=_0x3dd0c3['label'],_0x477f10=_0x456aba(_0x2615f8)[_0x4bf3('0x11')]()),{'type':_0x4bf3('0x8'),'content':_0x1c85bf(_0x282074,_0x4bf3('0xa'),_0x477f10)[_0x4bf3('0xc')](),'color':{'value':_0x17b293,'title':_0x477f10||_0x2615f8}};}return{'type':_0x4bf3('0x8'),'content':_0x1c85bf(_0x282074,_0x4bf3('0x20'))};}if(_0x4bf3('0x1c')==_0x470882['commandName']){const _0x4b1572=_0x470882[_0x4bf3('0x5')][0x0][_0x4bf3('0x18')];if(_0x4b1572){const _0x3efa58=_0x6fcba6(this[_0x4bf3('0x21')]['config']['get'](_0x4bf3('0x17')))[_0x4bf3('0x13')](_0x3ff72d=>_0x3ff72d[_0x4bf3('0x16')]==_0x4b1572);let _0x348816=_0x4b1572,_0x5216a7='';return _0x3efa58&&(_0x348816=_0x3efa58[_0x4bf3('0x26')],_0x5216a7=_0x456aba(_0x348816)[_0x4bf3('0x11')]()),{'type':_0x4bf3('0x8'),'content':_0x1c85bf(_0x282074,_0x4bf3('0x24'),_0x5216a7)[_0x4bf3('0xc')](),'color':{'value':_0x4b1572,'title':_0x5216a7||_0x348816}};}return{'type':_0x4bf3('0x8'),'content':_0x1c85bf(_0x282074,'*Reset\x20font\x20background\x20color*')};}}});}['_enableCommand'](_0xd93e59){const _0x290f9b=this[_0x4bf3('0x21')];_0x290f9b['plugins'][_0x4bf3('0x22')](_0x4bf3('0x27'))[_0x4bf3('0x9')](_0xd93e59,(_0x567579,_0x4e6f3b={})=>{const _0x49ab78=_0x290f9b['model']['document'][_0x4bf3('0xd')],_0x295961=_0x4e6f3b['value'];_0x49ab78[_0x4bf3('0xe')]?_0x567579(_0x4e6f3b):_0x290f9b[_0x4bf3('0x16')][_0x4bf3('0x0')](()=>{const _0x2cf38a=Array[_0x4bf3('0x3')](_0x49ab78[_0x4bf3('0x1d')]());for(const _0x4194d5 of _0x2cf38a){const _0x199f01=_0x295961?[_0x4194d5]:_0x12b920(_0xd93e59,_0x4194d5,_0x290f9b[_0x4bf3('0x16')]);for(const _0x62a35a of _0x199f01)_0x290f9b[_0x4bf3('0x1a')]['get']('TrackChangesEditing')['markInlineFormat'](_0x62a35a,{'commandName':_0xd93e59,'commandParams':[{'value':_0x295961}]});}});});}}
23
+ const _0x5e22=['_descriptionFactory','fontFamily','_enableCommand','FontFamilyEditing','value','isCollapsed','fontBackgroundColor','markInlineFormat','label','afterInit','plugins','*Reset\x20font\x20background\x20color*','change','title','getRanges','fontColor.colors','config','trim','selection','FontSizeEditing','editor','fontSize.options','normalizeSizeOptions','*Set\x20font\x20background\x20color:*\x20%0','*Set\x20font\x20family:*\x20%0','FontColorEditing','TrackChangesEditing','from','locale','format','registerDescriptionCallback','document','model','*Reset\x20font\x20size*','*Set\x20font\x20color:*\x20%0','*Set\x20font\x20size:*\x20%0','commandName','toLowerCase','commandParams','FontBackgroundColorEditing','fontSize','find','get','enableCommand','has'];(function(_0x1c094c,_0x5e220a){const _0xdc2709=function(_0x4b79a5){while(--_0x4b79a5){_0x1c094c['push'](_0x1c094c['shift']());}};_0xdc2709(++_0x5e220a);}(_0x5e22,0xd9));const _0xdc27=function(_0x1c094c,_0x5e220a){_0x1c094c=_0x1c094c-0x0;let _0xdc2709=_0x5e22[_0x1c094c];return _0xdc2709;};import{Plugin as _0x4c8a87}from'ckeditor5/src/core';import{normalizeColorOptions as _0x123c18}from'ckeditor5/src/ui';import{getRangesWithAttribute as _0x13e4ba}from'./utils';import{getTranslation as _0x1ecfe1}from'../utils/common-translations';const Zt=[{'pluginName':_0xdc27('0x1b'),'commandName':_0xdc27('0x3')},{'pluginName':_0xdc27('0xb'),'commandName':_0xdc27('0x9')},{'pluginName':_0xdc27('0x21'),'commandName':'fontColor'},{'pluginName':_0xdc27('0x2'),'commandName':_0xdc27('0xe')}];export default class H extends _0x4c8a87{[_0xdc27('0x11')](){const _0x3e833f=this['editor'][_0xdc27('0x24')];for(const {pluginName:_0x3ef25b,commandName:_0x3a8cb5}of Zt)this[_0xdc27('0x1c')][_0xdc27('0x12')][_0xdc27('0x7')](_0x3ef25b)&&this[_0xdc27('0xa')](_0x3a8cb5);this[_0xdc27('0x1c')][_0xdc27('0x12')][_0xdc27('0x5')]('TrackChangesEditing')[_0xdc27('0x8')][_0xdc27('0x26')](_0x16d1db=>{const _0x328f03=_0x3e833f['t'],{data:_0x57bfa7}=_0x16d1db;if(null!=_0x57bfa7){if(_0xdc27('0x3')==_0x57bfa7['commandName']){const _0x2f356a=_0x57bfa7[_0xdc27('0x1')][0x0]['value'];if(_0x2f356a){const _0x5409fe=_0x328f03(this[_0xdc27('0x1c')]['plugins'][_0xdc27('0x5')]('FontSize')[_0xdc27('0x1e')](this[_0xdc27('0x1c')][_0xdc27('0x18')][_0xdc27('0x5')](_0xdc27('0x1d')))[_0xdc27('0x4')](_0x15cf05=>_0x15cf05[_0xdc27('0x28')]==_0x2f356a)[_0xdc27('0x15')])[_0xdc27('0x0')]();return{'type':_0xdc27('0x25'),'content':_0x1ecfe1(_0x3e833f,_0xdc27('0x2b'),_0x5409fe)};}return{'type':_0xdc27('0x25'),'content':_0x1ecfe1(_0x3e833f,_0xdc27('0x29'))};}if(_0xdc27('0x9')==_0x57bfa7[_0xdc27('0x2c')]){const _0x44bab4=_0x57bfa7[_0xdc27('0x1')][0x0][_0xdc27('0xc')];return _0x44bab4?{'type':_0xdc27('0x25'),'content':_0x1ecfe1(_0x3e833f,_0xdc27('0x20'),_0x44bab4)}:{'type':_0xdc27('0x25'),'content':_0x1ecfe1(_0x3e833f,'*Reset\x20font\x20family*')};}if('fontColor'==_0x57bfa7['commandName']){const _0x53a898=_0x57bfa7[_0xdc27('0x1')][0x0][_0xdc27('0xc')];if(_0x53a898){const _0x5a4dcc=_0x123c18(this[_0xdc27('0x1c')][_0xdc27('0x18')]['get'](_0xdc27('0x17')))[_0xdc27('0x4')](_0x75bd4d=>_0x75bd4d[_0xdc27('0x28')]==_0x53a898);let _0x115eb0=_0x53a898,_0x5d943e='';return _0x5a4dcc&&(_0x115eb0=_0x5a4dcc[_0xdc27('0x10')],_0x5d943e=_0x328f03(_0x115eb0)[_0xdc27('0x0')]()),{'type':_0xdc27('0x25'),'content':_0x1ecfe1(_0x3e833f,_0xdc27('0x2a'),_0x5d943e)[_0xdc27('0x19')](),'color':{'value':_0x53a898,'title':_0x5d943e||_0x115eb0}};}return{'type':_0xdc27('0x25'),'content':_0x1ecfe1(_0x3e833f,'*Reset\x20font\x20color*')};}if(_0xdc27('0xe')==_0x57bfa7[_0xdc27('0x2c')]){const _0x3bc231=_0x57bfa7[_0xdc27('0x1')][0x0][_0xdc27('0xc')];if(_0x3bc231){const _0x2871c8=_0x123c18(this[_0xdc27('0x1c')][_0xdc27('0x18')][_0xdc27('0x5')]('fontBackgroundColor.colors'))[_0xdc27('0x4')](_0x240a99=>_0x240a99[_0xdc27('0x28')]==_0x3bc231);let _0x7ccfc9=_0x3bc231,_0x2ba886='';return _0x2871c8&&(_0x7ccfc9=_0x2871c8[_0xdc27('0x10')],_0x2ba886=_0x328f03(_0x7ccfc9)['toLowerCase']()),{'type':_0xdc27('0x25'),'content':_0x1ecfe1(_0x3e833f,_0xdc27('0x1f'),_0x2ba886)[_0xdc27('0x19')](),'color':{'value':_0x3bc231,'title':_0x2ba886||_0x7ccfc9}};}return{'type':_0xdc27('0x25'),'content':_0x1ecfe1(_0x3e833f,_0xdc27('0x13'))};}}});}[_0xdc27('0xa')](_0x881445){const _0x4c6c28=this[_0xdc27('0x1c')];_0x4c6c28[_0xdc27('0x12')][_0xdc27('0x5')](_0xdc27('0x22'))[_0xdc27('0x6')](_0x881445,(_0x29f8c4,_0x1337a5={})=>{const _0x36fc8e=_0x4c6c28[_0xdc27('0x28')][_0xdc27('0x27')][_0xdc27('0x1a')],_0x28b724=_0x1337a5[_0xdc27('0xc')];_0x36fc8e[_0xdc27('0xd')]?_0x29f8c4(_0x1337a5):_0x4c6c28[_0xdc27('0x28')][_0xdc27('0x14')](()=>{const _0x27f373=Array[_0xdc27('0x23')](_0x36fc8e[_0xdc27('0x16')]());for(const _0x3843ad of _0x27f373){const _0x490728=_0x28b724?[_0x3843ad]:_0x13e4ba(_0x881445,_0x3843ad,_0x4c6c28[_0xdc27('0x28')]);for(const _0x4a8dce of _0x490728)_0x4c6c28[_0xdc27('0x12')]['get']('TrackChangesEditing')[_0xdc27('0xf')](_0x4a8dce,{'commandName':_0x881445,'commandParams':[{'value':_0x28b724}]});}});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x444c=['backward','find','join','commandParams','word','entries','toLowerCase','isCollapsed','*Remove\x20all\x20formatting*','charAt','afterInit','boolean','locale','format','plugins','*Set\x20format\x20to:*\x20%0','forward','getAttributes','createRange','length','enableCommand','change','FontSize','pasteFormat','_descriptionFactory','getFirstPosition','model','copyFormat','markInlineFormat','get','config','fontColor','push','fontSize','fontBackgroundColor','TrackChangesEditing','keys','getAttributeProperties','modifySelection','commands','isBlock','slice','selection','getSelectedBlocks','fontColor.colors'];(function(_0x1b9706,_0x444c45){const _0x235935=function(_0x106ce8){while(--_0x106ce8){_0x1b9706['push'](_0x1b9706['shift']());}};_0x235935(++_0x444c45);}(_0x444c,0xd7));const _0x2359=function(_0x1b9706,_0x444c45){_0x1b9706=_0x1b9706-0x0;let _0x235935=_0x444c[_0x1b9706];return _0x235935;};import{Plugin as _0x3dcc68}from'ckeditor5/src/core';import{normalizeColorOptions as _0x400f2b}from'ckeditor5/src/ui';import{first as _0x325bd8}from'ckeditor5/src/utils';import{getTranslation as _0x1fe0f7}from'../utils/common-translations';export default class W extends _0x3dcc68{[_0x2359('0x14')](){const _0x34c74c=this['editor'],_0x315239=_0x34c74c['model'],_0x34f6f8=_0x315239['document'][_0x2359('0x7')],_0x3dd25a=_0x34c74c['plugins'][_0x2359('0x27')](_0x2359('0x0')),_0x549b14=_0x34c74c[_0x2359('0x16')],_0x572d06=_0x34c74c[_0x2359('0x4')]['get'](_0x2359('0x25')),_0x19d7d9=_0x34c74c[_0x2359('0x4')][_0x2359('0x27')](_0x2359('0x21'));_0x572d06&&_0x19d7d9&&(_0x3dd25a[_0x2359('0x1e')]('pasteFormat',(_0x58a4bf,_0x3c2a8a={})=>{const _0x16edca=_0x3c2a8a;_0x315239[_0x2359('0x1f')](()=>{const _0x3dff82=Array['from'](_0x34f6f8['getRanges']()),_0x3441a3=_0x34f6f8[_0x2359('0x11')]?[ro(_0x315239,_0x34f6f8)]:_0x3dff82,_0xb30f1c=!!_0x325bd8(function*(_0x2aac75,_0x26e4ff){const _0x1e437e=_0x35938a=>!!_0x325bd8(function*(_0x5765da,_0x5bb410){for(const [_0x34837c]of _0x5765da[_0x2359('0x1b')]()){const _0x411a78=_0x5bb410[_0x2359('0x2')](_0x34837c);_0x411a78&&_0x411a78['isFormatting']&&(yield _0x34837c);}}(_0x35938a,_0x26e4ff));for(const _0x5136a9 of _0x2aac75['getRanges']())for(const _0x5af53b of _0x5136a9['getItems']())!_0x26e4ff[_0x2359('0x5')](_0x5af53b)&&_0x1e437e(_0x5af53b)&&(yield _0x5af53b);for(const _0x3fafb7 of _0x2aac75[_0x2359('0x8')]())_0x1e437e(_0x3fafb7)&&(yield _0x3fafb7);_0x1e437e(_0x2aac75)&&(yield _0x2aac75);}(_0x34f6f8,_0x315239['schema']));if(_0xb30f1c||0x0!==Object[_0x2359('0x1')](_0x16edca)[_0x2359('0x1d')])for(const _0x25ef58 of _0x3441a3)_0x3dd25a[_0x2359('0x26')](_0x25ef58,{'commandName':_0x2359('0x21'),'commandParams':[_0x16edca]});});}),_0x3dd25a[_0x2359('0x22')]['registerDescriptionCallback'](_0xe68726=>{const {data:_0x47de1e}=_0xe68726;if(_0x47de1e&&_0x2359('0x21')===_0x47de1e['commandName']){const _0x526fd9=[],_0x514a16=_0x47de1e[_0x2359('0xd')][0x0];for(const [_0x58a32e,_0x44d373]of Object[_0x2359('0xf')](_0x514a16))_0x526fd9[_0x2359('0x2a')](no(_0x34c74c,_0x58a32e,_0x44d373));return _0x526fd9[_0x2359('0x1d')]?{'type':_0x2359('0x17'),'content':_0x1fe0f7(_0x549b14,_0x2359('0x19'),_0x526fd9[_0x2359('0xc')](',\x20'))}:{'type':'format','content':_0x1fe0f7(_0x549b14,_0x2359('0x12'))};}}),_0x34c74c[_0x2359('0x18')][_0x2359('0x27')](_0x2359('0x0'))[_0x2359('0x1e')](_0x2359('0x25')));}}function ro(_0x4a84c2,_0x1796a0){const _0x413bdd=_0x4a84c2['createSelection'](_0x1796a0);_0x4a84c2[_0x2359('0x3')](_0x413bdd,{'unit':_0x2359('0xe'),'direction':_0x2359('0xa')});const _0x2066a2=_0x413bdd[_0x2359('0x23')]();_0x4a84c2[_0x2359('0x3')](_0x413bdd,{'unit':_0x2359('0xe'),'direction':_0x2359('0x1a')});const _0x235856=_0x413bdd['getLastPosition']();return _0x4a84c2[_0x2359('0x1c')](_0x2066a2,_0x235856);}function no(_0x5bb579,_0x54fbcd,_0x3d5957){const _0x185d3d=_0x5bb579['locale']['t'],_0x5340e0=_0x54fbcd['split'](/(?=[A-Z])/)['join']('\x20'),_0x1f2371=_0x185d3d(_0x5340e0[_0x2359('0x13')](0x0)['toUpperCase']()+_0x5340e0[_0x2359('0x6')](0x1))['toLowerCase']();if(_0x2359('0x15')==typeof _0x3d5957)return _0x1f2371;if(_0x2359('0x29')===_0x54fbcd||_0x2359('0x2c')===_0x54fbcd){const _0x5b32e2=_0x400f2b(_0x5bb579[_0x2359('0x28')][_0x2359('0x27')](_0x2359('0x9')))[_0x2359('0xb')](_0x5c445a=>_0x5c445a[_0x2359('0x24')]==_0x3d5957);return _0x1f2371+'\x20('+(_0x5b32e2?_0x185d3d(_0x5b32e2['label'])[_0x2359('0x10')]():_0x3d5957)+')';}if(_0x2359('0x2b')===_0x54fbcd&&isNaN(parseFloat(_0x3d5957))){const _0x275c28=_0x5bb579[_0x2359('0x18')][_0x2359('0x27')](_0x2359('0x20'))['normalizeSizeOptions'](_0x5bb579[_0x2359('0x28')][_0x2359('0x27')]('fontSize.options'))[_0x2359('0xb')](_0x184609=>_0x184609[_0x2359('0x24')]==_0x3d5957);return _0x1f2371+'\x20('+(_0x275c28?_0x185d3d(_0x275c28['title'])['toLowerCase']():_0x3d5957)+')';}return _0x1f2371+'\x20('+_0x3d5957+')';}
23
+ const _0x4b94=['fontSize.options','join','TrackChangesEditing','document','title','createRange','backward','*Set\x20format\x20to:*\x20%0','label','plugins','isCollapsed','createSelection','FontSize','getLastPosition','format','registerDescriptionCallback','normalizeSizeOptions','entries','getAttributes','push','slice','commandParams','enableCommand','toUpperCase','change','fontBackgroundColor','pasteFormat','getAttributeProperties','markInlineFormat','boolean','charAt','modifySelection','fontColor','get','toLowerCase','*Remove\x20all\x20formatting*','editor','getSelectedBlocks','getRanges','locale','schema','split','commands','afterInit','copyFormat','getFirstPosition','selection','config','length','isBlock','fontColor.colors','find','word','getItems','from','model','commandName','fontSize'];(function(_0xdd53e2,_0x4b942c){const _0x2e425a=function(_0x2a92a4){while(--_0x2a92a4){_0xdd53e2['push'](_0xdd53e2['shift']());}};_0x2e425a(++_0x4b942c);}(_0x4b94,0x9e));const _0x2e42=function(_0xdd53e2,_0x4b942c){_0xdd53e2=_0xdd53e2-0x0;let _0x2e425a=_0x4b94[_0xdd53e2];return _0x2e425a;};import{Plugin as _0x40a5bd}from'ckeditor5/src/core';import{normalizeColorOptions as _0x38b67a}from'ckeditor5/src/ui';import{first as _0x11e8d8}from'ckeditor5/src/utils';import{getTranslation as _0x2b19d4}from'../utils/common-translations';export default class W extends _0x40a5bd{[_0x2e42('0x1')](){const _0x1acb59=this[_0x2e42('0x34')],_0xee6ab6=_0x1acb59['model'],_0x33f108=_0xee6ab6[_0x2e42('0x13')][_0x2e42('0x4')],_0x5943bd=_0x1acb59[_0x2e42('0x19')]['get'](_0x2e42('0x12')),_0x15b242=_0x1acb59['locale'],_0x2a8c55=_0x1acb59[_0x2e42('0x0')]['get'](_0x2e42('0x2')),_0x391135=_0x1acb59[_0x2e42('0x0')][_0x2e42('0x31')]('pasteFormat');_0x2a8c55&&_0x391135&&(_0x5943bd[_0x2e42('0x26')]('pasteFormat',(_0x5aedbf,_0x3f1ce0={})=>{const _0x2d1ef8=_0x3f1ce0;_0xee6ab6[_0x2e42('0x28')](()=>{const _0x558068=Array[_0x2e42('0xc')](_0x33f108[_0x2e42('0x36')]()),_0x4cf905=_0x33f108[_0x2e42('0x1a')]?[ro(_0xee6ab6,_0x33f108)]:_0x558068,_0x5525d0=!!_0x11e8d8(function*(_0xe9a193,_0x2115e9){const _0x2b0fb=_0xe42276=>!!_0x11e8d8(function*(_0x4a3358,_0x47865c){for(const [_0x1e9eeb]of _0x4a3358[_0x2e42('0x22')]()){const _0x5021c6=_0x47865c[_0x2e42('0x2b')](_0x1e9eeb);_0x5021c6&&_0x5021c6['isFormatting']&&(yield _0x1e9eeb);}}(_0xe42276,_0x2115e9));for(const _0x4a0c34 of _0xe9a193[_0x2e42('0x36')]())for(const _0x152e6e of _0x4a0c34[_0x2e42('0xb')]())!_0x2115e9[_0x2e42('0x7')](_0x152e6e)&&_0x2b0fb(_0x152e6e)&&(yield _0x152e6e);for(const _0x547e81 of _0xe9a193[_0x2e42('0x35')]())_0x2b0fb(_0x547e81)&&(yield _0x547e81);_0x2b0fb(_0xe9a193)&&(yield _0xe9a193);}(_0x33f108,_0xee6ab6[_0x2e42('0x38')]));if(_0x5525d0||0x0!==Object['keys'](_0x2d1ef8)[_0x2e42('0x6')])for(const _0x2a99f4 of _0x4cf905)_0x5943bd[_0x2e42('0x2c')](_0x2a99f4,{'commandName':_0x2e42('0x2a'),'commandParams':[_0x2d1ef8]});});}),_0x5943bd['_descriptionFactory'][_0x2e42('0x1f')](_0x1b1ea8=>{const {data:_0x1be969}=_0x1b1ea8;if(_0x1be969&&_0x2e42('0x2a')===_0x1be969[_0x2e42('0xe')]){const _0x25b829=[],_0x3b9a15=_0x1be969[_0x2e42('0x25')][0x0];for(const [_0x323d35,_0x81812b]of Object[_0x2e42('0x21')](_0x3b9a15))_0x25b829[_0x2e42('0x23')](no(_0x1acb59,_0x323d35,_0x81812b));return _0x25b829[_0x2e42('0x6')]?{'type':'format','content':_0x2b19d4(_0x15b242,_0x2e42('0x17'),_0x25b829[_0x2e42('0x11')](',\x20'))}:{'type':_0x2e42('0x1e'),'content':_0x2b19d4(_0x15b242,_0x2e42('0x33'))};}}),_0x1acb59[_0x2e42('0x19')][_0x2e42('0x31')](_0x2e42('0x12'))[_0x2e42('0x26')](_0x2e42('0x2')));}}function ro(_0xf88aae,_0x29ff24){const _0x14dcf5=_0xf88aae[_0x2e42('0x1b')](_0x29ff24);_0xf88aae[_0x2e42('0x2f')](_0x14dcf5,{'unit':_0x2e42('0xa'),'direction':_0x2e42('0x16')});const _0x4af610=_0x14dcf5[_0x2e42('0x3')]();_0xf88aae[_0x2e42('0x2f')](_0x14dcf5,{'unit':'word','direction':'forward'});const _0x17ab1f=_0x14dcf5[_0x2e42('0x1d')]();return _0xf88aae[_0x2e42('0x15')](_0x4af610,_0x17ab1f);}function no(_0x1c8db0,_0x858899,_0x34a267){const _0x3bf84e=_0x1c8db0[_0x2e42('0x37')]['t'],_0x153203=_0x858899[_0x2e42('0x39')](/(?=[A-Z])/)['join']('\x20'),_0x5a4e3d=_0x3bf84e(_0x153203[_0x2e42('0x2e')](0x0)[_0x2e42('0x27')]()+_0x153203[_0x2e42('0x24')](0x1))[_0x2e42('0x32')]();if(_0x2e42('0x2d')==typeof _0x34a267)return _0x5a4e3d;if(_0x2e42('0x30')===_0x858899||_0x2e42('0x29')===_0x858899){const _0x53f829=_0x38b67a(_0x1c8db0['config'][_0x2e42('0x31')](_0x2e42('0x8')))[_0x2e42('0x9')](_0x2fd82e=>_0x2fd82e[_0x2e42('0xd')]==_0x34a267);return _0x5a4e3d+'\x20('+(_0x53f829?_0x3bf84e(_0x53f829[_0x2e42('0x18')])[_0x2e42('0x32')]():_0x34a267)+')';}if(_0x2e42('0xf')===_0x858899&&isNaN(parseFloat(_0x34a267))){const _0x5b9fcc=_0x1c8db0[_0x2e42('0x19')][_0x2e42('0x31')](_0x2e42('0x1c'))[_0x2e42('0x20')](_0x1c8db0[_0x2e42('0x5')][_0x2e42('0x31')](_0x2e42('0x10')))[_0x2e42('0x9')](_0x383b16=>_0x383b16[_0x2e42('0xd')]==_0x34a267);return _0x5a4e3d+'\x20('+(_0x5b9fcc?_0x3bf84e(_0x5b9fcc[_0x2e42('0x14')])['toLowerCase']():_0x34a267)+')';}return _0x5a4e3d+'\x20('+_0x34a267+')';}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2c8c=['get','markBlockFormat','has','TrackChangesEditing','isObject','commandParams','plugins','commandName','editor','formatBlock','title','*Change\x20to:*\x20%0','enableCommand','registerElementLabel','paragraph','registerDescriptionCallback','heading.options','HeadingEditing','heading','document','checkChild','format','selection','config','value','from','change','_descriptionFactory','ELEMENT_HEADING_CUSTOM','ELEMENT_HEADING','model','name','find'];(function(_0x6be3ef,_0x2c8ce8){const _0x210c2e=function(_0x48fbc9){while(--_0x48fbc9){_0x6be3ef['push'](_0x6be3ef['shift']());}};_0x210c2e(++_0x2c8ce8);}(_0x2c8c,0x80));const _0x210c=function(_0x6be3ef,_0x2c8ce8){_0x6be3ef=_0x6be3ef-0x0;let _0x210c2e=_0x2c8c[_0x6be3ef];return _0x210c2e;};import{Plugin as _0x91673f}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x7e8010}from'./utils';import{getTranslation as _0x450813}from'../utils/common-translations';export default class J extends _0x91673f{['afterInit'](){const _0x3e0a6d=this['editor'],_0x3f3f7a=_0x3e0a6d['locale'],_0x1c27fe=_0x3e0a6d[_0x210c('0x1b')]['get'](_0x210c('0x14'));if(!_0x3e0a6d[_0x210c('0xa')][_0x210c('0x6')](_0x210c('0x15')))return;const _0x3719b4=_0x3e0a6d[_0x210c('0xa')][_0x210c('0x4')](_0x210c('0x7'));_0x3719b4[_0x210c('0x10')](_0x210c('0x16'),(_0x5c9019,_0x57f793)=>{const _0x562537=_0x57f793[_0x210c('0x1c')],_0xe0e922=Array[_0x210c('0x1d')](this[_0x210c('0xc')][_0x210c('0x1')][_0x210c('0x17')][_0x210c('0x1a')]['getSelectedBlocks']())['filter'](_0x36a6b9=>function(_0x390409,_0x287224,_0x2c4b96){return _0x2c4b96[_0x210c('0x18')](_0x390409['parent'],_0x287224)&&!_0x2c4b96[_0x210c('0x8')](_0x390409)&&_0x390409[_0x210c('0x2')]!=_0x287224;}(_0x36a6b9,_0x562537,this['editor'][_0x210c('0x1')]['schema']));_0x3e0a6d[_0x210c('0x1')][_0x210c('0x1e')](()=>{for(const _0x5d8d5b of _0xe0e922)_0x3719b4[_0x210c('0x5')](_0x5d8d5b,{'commandName':_0x210c('0x16'),'commandParams':[_0x57f793],'formatGroupId':'blockName'},_0x7e8010(_0x5d8d5b));});});for(const _0x5ed296 of _0x1c27fe)_0x210c('0x12')!=_0x5ed296[_0x210c('0x1')]&&_0x3719b4['_descriptionFactory'][_0x210c('0x11')](_0x5ed296['model'],_0x4bbffc=>{const _0x22c6d8=nn(_0x5ed296['model']);return null!==_0x22c6d8?_0x3e9ec8(_0x4bbffc,_0x22c6d8):_0x4a2ec7(_0x4bbffc,_0x5ed296[_0x210c('0xe')]);});function _0x3e9ec8(_0x28d51d,_0x1d81b2){return _0x450813(_0x3f3f7a,_0x210c('0x0'),[_0x28d51d,_0x1d81b2]);}function _0x4a2ec7(_0x2d756a,_0x2ee041){return _0x450813(_0x3f3f7a,_0x210c('0x20'),[_0x2d756a,_0x2ee041]);}_0x3719b4[_0x210c('0x1f')][_0x210c('0x13')](_0x2432a5=>{const {type:_0x78c45d,data:_0x3c5cdc}=_0x2432a5;if(_0x210c('0xd')==_0x78c45d&&_0x3c5cdc&&_0x210c('0x16')==_0x3c5cdc[_0x210c('0xb')]){const _0x5e310f=_0x3c5cdc[_0x210c('0x9')][0x0]['value'],_0x5dfc22=nn(_0x5e310f);if(null!==_0x5dfc22)return{'type':_0x210c('0x19'),'content':_0x450813(_0x3f3f7a,_0x210c('0xf'),_0x3e9ec8(0x1,_0x5dfc22))};const _0x37a088=_0x1c27fe[_0x210c('0x3')](_0x2b430e=>_0x2b430e['model']===_0x5e310f)['title'];return{'type':'format','content':_0x450813(_0x3f3f7a,_0x210c('0xf'),_0x4a2ec7(0x1,_0x37a088))};}});}}function nn(_0x2acd21){const _0x7e66eb=_0x2acd21['match'](/^heading(\d+)$/);return _0x7e66eb?_0x7e66eb[0x1]:null;}
23
+ const _0x8d10=['has','document','from','value','match','plugins','getSelectedBlocks','enableCommand','title','formatBlock','*Change\x20to:*\x20%0','editor','config','model','format','blockName','registerDescriptionCallback','name','change','commandName','selection','paragraph','HeadingEditing','commandParams','TrackChangesEditing','markBlockFormat','filter','registerElementLabel','heading.options','locale','ELEMENT_HEADING_CUSTOM','find','heading'];(function(_0x2369aa,_0x8d1009){const _0x126150=function(_0x3707c3){while(--_0x3707c3){_0x2369aa['push'](_0x2369aa['shift']());}};_0x126150(++_0x8d1009);}(_0x8d10,0x6d));const _0x1261=function(_0x2369aa,_0x8d1009){_0x2369aa=_0x2369aa-0x0;let _0x126150=_0x8d10[_0x2369aa];return _0x126150;};import{Plugin as _0x2ffd2d}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x1be86e}from'./utils';import{getTranslation as _0x1282ac}from'../utils/common-translations';export default class J extends _0x2ffd2d{['afterInit'](){const _0x39a47d=this[_0x1261('0x1')],_0x5dedad=_0x39a47d[_0x1261('0x13')],_0x19586b=_0x39a47d[_0x1261('0x2')]['get'](_0x1261('0x12'));if(!_0x39a47d[_0x1261('0x1c')][_0x1261('0x17')](_0x1261('0xc')))return;const _0x28312f=_0x39a47d[_0x1261('0x1c')]['get'](_0x1261('0xe'));_0x28312f[_0x1261('0x1e')](_0x1261('0x16'),(_0x4afcb0,_0x67ac33)=>{const _0x2e1c9c=_0x67ac33[_0x1261('0x1a')],_0x461cd7=Array[_0x1261('0x19')](this[_0x1261('0x1')][_0x1261('0x3')][_0x1261('0x18')][_0x1261('0xa')][_0x1261('0x1d')]())[_0x1261('0x10')](_0x5ff4b1=>function(_0x71a36a,_0x27181f,_0xf49af7){return _0xf49af7['checkChild'](_0x71a36a['parent'],_0x27181f)&&!_0xf49af7['isObject'](_0x71a36a)&&_0x71a36a[_0x1261('0x7')]!=_0x27181f;}(_0x5ff4b1,_0x2e1c9c,this[_0x1261('0x1')][_0x1261('0x3')]['schema']));_0x39a47d[_0x1261('0x3')][_0x1261('0x8')](()=>{for(const _0x4c9f65 of _0x461cd7)_0x28312f[_0x1261('0xf')](_0x4c9f65,{'commandName':'heading','commandParams':[_0x67ac33],'formatGroupId':_0x1261('0x5')},_0x1be86e(_0x4c9f65));});});for(const _0xe470a3 of _0x19586b)_0x1261('0xb')!=_0xe470a3[_0x1261('0x3')]&&_0x28312f['_descriptionFactory'][_0x1261('0x11')](_0xe470a3[_0x1261('0x3')],_0xe46bb1=>{const _0x1ad391=nn(_0xe470a3[_0x1261('0x3')]);return null!==_0x1ad391?_0x281f19(_0xe46bb1,_0x1ad391):_0x3b22ed(_0xe46bb1,_0xe470a3[_0x1261('0x1f')]);});function _0x281f19(_0x3b3c82,_0x46e460){return _0x1282ac(_0x5dedad,'ELEMENT_HEADING',[_0x3b3c82,_0x46e460]);}function _0x3b22ed(_0x36e751,_0x5d2278){return _0x1282ac(_0x5dedad,_0x1261('0x14'),[_0x36e751,_0x5d2278]);}_0x28312f['_descriptionFactory'][_0x1261('0x6')](_0x4878fd=>{const {type:_0x254abc,data:_0x407c6e}=_0x4878fd;if(_0x1261('0x20')==_0x254abc&&_0x407c6e&&_0x1261('0x16')==_0x407c6e[_0x1261('0x9')]){const _0xb9722e=_0x407c6e[_0x1261('0xd')][0x0]['value'],_0x25ead8=nn(_0xb9722e);if(null!==_0x25ead8)return{'type':_0x1261('0x4'),'content':_0x1282ac(_0x5dedad,_0x1261('0x0'),_0x281f19(0x1,_0x25ead8))};const _0x506c98=_0x19586b[_0x1261('0x15')](_0x29687e=>_0x29687e['model']===_0xb9722e)[_0x1261('0x1f')];return{'type':_0x1261('0x4'),'content':_0x1282ac(_0x5dedad,_0x1261('0x0'),_0x3b22ed(0x1,_0x506c98))};}});}}function nn(_0x3c7e25){const _0x41e6b4=_0x3c7e25[_0x1261('0x1b')](/^heading(\d+)$/);return _0x41e6b4?_0x41e6b4[0x1]:null;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x19b7=['formatInline','selection','FORMAT_HIGHLIGHT','getLastMatchingPosition','TrackChangesEditing','format','enableCommand','highlight','highlight.options','*Remove\x20highlight*','getFirstPosition','commandParams','hasAttribute','has','markInlineFormat','title','getAttribute','change','toLowerCase','item','find','isCollapsed','afterInit','push','document','locale','model','createRange','plugins','color','backward','*Set\x20highlight:*\x20%0','commandName','config'];(function(_0x20b745,_0x19b7fd){const _0x59b41f=function(_0x354ae2){while(--_0x354ae2){_0x20b745['push'](_0x20b745['shift']());}};_0x59b41f(++_0x19b7fd);}(_0x19b7,0xed));const _0x59b4=function(_0x20b745,_0x19b7fd){_0x20b745=_0x20b745-0x0;let _0x59b41f=_0x19b7[_0x20b745];return _0x59b41f;};import{Plugin as _0x385e66}from'ckeditor5/src/core';import{getTranslation as _0x1d81c3}from'../utils/common-translations';import{getRangesWithAttribute as _0x1130f3}from'./utils';export default class K extends _0x385e66{[_0x59b4('0x17')](){const _0x4e989a=this['editor'];if(!_0x4e989a[_0x59b4('0x1d')][_0x59b4('0xe')]('HighlightEditing'))return;const _0x4a4f5c=_0x4e989a[_0x59b4('0x1d')]['get'](_0x59b4('0x5'));_0x4a4f5c[_0x59b4('0x7')](_0x59b4('0x8'),(_0x2fefc8,_0x485597={})=>{const _0x4bf639=_0x4e989a[_0x59b4('0x1b')][_0x59b4('0x19')][_0x59b4('0x2')],_0x57234f=_0x4bf639[_0x59b4('0x11')](_0x59b4('0x8'));let _0x298463=_0x485597['value'],_0x193031=[];if(_0x4bf639[_0x59b4('0x16')]){const _0x189044=_0x4bf639[_0x59b4('0xb')]();if(!_0x4bf639[_0x59b4('0xd')](_0x59b4('0x8')))return void _0x2fefc8(_0x485597);{const _0x238b67=_0x12d8b2=>_0x12d8b2[_0x59b4('0x14')][_0x59b4('0x11')](_0x59b4('0x8'))===_0x57234f,_0x6c3e4d=_0x189044[_0x59b4('0x4')](_0x238b67,{'direction':_0x59b4('0x1f')}),_0x3e38b7=_0x189044[_0x59b4('0x4')](_0x238b67);_0x193031=[_0x4e989a[_0x59b4('0x1b')][_0x59b4('0x1c')](_0x6c3e4d,_0x3e38b7)],_0x298463==_0x57234f&&(_0x298463=null);}}else for(const _0x173ab9 of _0x4bf639['getRanges']())_0x298463?_0x193031[_0x59b4('0x18')](_0x173ab9):_0x193031[_0x59b4('0x18')](..._0x1130f3(_0x59b4('0x8'),_0x173ab9,_0x4e989a[_0x59b4('0x1b')]));_0x4e989a[_0x59b4('0x1b')][_0x59b4('0x12')](()=>{for(const _0x23d320 of _0x193031)_0x4a4f5c[_0x59b4('0xf')](_0x23d320,{'commandName':'highlight','commandParams':[{'value':_0x298463}]});});});const _0x5ac1df=_0x4e989a[_0x59b4('0x1a')];_0x4a4f5c['_descriptionFactory']['registerDescriptionCallback'](_0x4afc87=>{const {type:_0x1ffe72,data:_0x33ed91}=_0x4afc87;if(_0x59b4('0x1')==_0x1ffe72&&_0x33ed91&&_0x59b4('0x8')==_0x33ed91[_0x59b4('0x21')]){const _0xf82dcf=_0x5ac1df['t'],_0x217e11=_0x33ed91[_0x59b4('0xc')][0x0]['value'];if(_0x217e11){const _0xdd72a9=_0x4e989a[_0x59b4('0x0')]['get'](_0x59b4('0x9'))[_0x59b4('0x15')](_0x58f6d3=>_0x58f6d3['model']==_0x217e11),_0x39f601=_0xf82dcf(_0xdd72a9[_0x59b4('0x10')])[_0x59b4('0x13')]();return{'type':_0x59b4('0x6'),'content':_0x1d81c3(_0x5ac1df,_0x59b4('0x20'),_0x39f601),'color':{'value':_0xdd72a9[_0x59b4('0x1e')],'title':_0xdd72a9[_0x59b4('0x10')]}};}return{'type':_0x59b4('0x6'),'content':_0x1d81c3(_0x5ac1df,_0x59b4('0xa'),_0x1d81c3(_0x5ac1df,_0x59b4('0x3')))};}});}}
23
+ const _0x107d=['_descriptionFactory','model','commandParams','change','locale','highlight.options','editor','get','TrackChangesEditing','title','getLastMatchingPosition','FORMAT_HIGHLIGHT','markInlineFormat','selection','document','commandName','toLowerCase','hasAttribute','plugins','backward','formatInline','*Set\x20highlight:*\x20%0','highlight','push','getFirstPosition','item','format','*Remove\x20highlight*','afterInit','has','getRanges','value'];(function(_0x244bef,_0x107d46){const _0x146e22=function(_0x271dbe){while(--_0x271dbe){_0x244bef['push'](_0x244bef['shift']());}};_0x146e22(++_0x107d46);}(_0x107d,0xfc));const _0x146e=function(_0x244bef,_0x107d46){_0x244bef=_0x244bef-0x0;let _0x146e22=_0x107d[_0x244bef];return _0x146e22;};import{Plugin as _0x500de3}from'ckeditor5/src/core';import{getTranslation as _0x48e69a}from'../utils/common-translations';import{getRangesWithAttribute as _0x1d0588}from'./utils';export default class K extends _0x500de3{[_0x146e('0x0')](){const _0x32aa34=this[_0x146e('0xa')];if(!_0x32aa34[_0x146e('0x16')][_0x146e('0x1')]('HighlightEditing'))return;const _0x5892ee=_0x32aa34[_0x146e('0x16')][_0x146e('0xb')](_0x146e('0xc'));_0x5892ee['enableCommand'](_0x146e('0x1a'),(_0x52840c,_0x550474={})=>{const _0x39d610=_0x32aa34[_0x146e('0x5')][_0x146e('0x12')][_0x146e('0x11')],_0x5972a2=_0x39d610['getAttribute'](_0x146e('0x1a'));let _0x5e795c=_0x550474['value'],_0x22423a=[];if(_0x39d610['isCollapsed']){const _0x18b0e0=_0x39d610[_0x146e('0x1c')]();if(!_0x39d610[_0x146e('0x15')](_0x146e('0x1a')))return void _0x52840c(_0x550474);{const _0x24a26b=_0xeb4e5b=>_0xeb4e5b[_0x146e('0x1d')]['getAttribute']('highlight')===_0x5972a2,_0x1d6241=_0x18b0e0[_0x146e('0xe')](_0x24a26b,{'direction':_0x146e('0x17')}),_0x1a4373=_0x18b0e0['getLastMatchingPosition'](_0x24a26b);_0x22423a=[_0x32aa34[_0x146e('0x5')]['createRange'](_0x1d6241,_0x1a4373)],_0x5e795c==_0x5972a2&&(_0x5e795c=null);}}else for(const _0x7afa1d of _0x39d610[_0x146e('0x2')]())_0x5e795c?_0x22423a[_0x146e('0x1b')](_0x7afa1d):_0x22423a[_0x146e('0x1b')](..._0x1d0588(_0x146e('0x1a'),_0x7afa1d,_0x32aa34[_0x146e('0x5')]));_0x32aa34['model'][_0x146e('0x7')](()=>{for(const _0x44b9cc of _0x22423a)_0x5892ee[_0x146e('0x10')](_0x44b9cc,{'commandName':_0x146e('0x1a'),'commandParams':[{'value':_0x5e795c}]});});});const _0x44b730=_0x32aa34[_0x146e('0x8')];_0x5892ee[_0x146e('0x4')]['registerDescriptionCallback'](_0x318fd1=>{const {type:_0x3e7d07,data:_0x56f2e7}=_0x318fd1;if(_0x146e('0x18')==_0x3e7d07&&_0x56f2e7&&_0x146e('0x1a')==_0x56f2e7[_0x146e('0x13')]){const _0x439196=_0x44b730['t'],_0x363702=_0x56f2e7[_0x146e('0x6')][0x0][_0x146e('0x3')];if(_0x363702){const _0x1a6bc4=_0x32aa34['config'][_0x146e('0xb')](_0x146e('0x9'))['find'](_0xff505f=>_0xff505f[_0x146e('0x5')]==_0x363702),_0x165748=_0x439196(_0x1a6bc4['title'])[_0x146e('0x14')]();return{'type':_0x146e('0x1e'),'content':_0x48e69a(_0x44b730,_0x146e('0x19'),_0x165748),'color':{'value':_0x1a6bc4['color'],'title':_0x1a6bc4[_0x146e('0xd')]}};}return{'type':'format','content':_0x48e69a(_0x44b730,_0x146e('0x1f'),_0x48e69a(_0x44b730,_0x146e('0xf')))};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5bdd=['locale','HorizontalLineEditing','afterInit','createContainerElement','high','ELEMENT_HORIZONTAL_LINE','ck-horizontal-line','registerElementLabel','get','horizontalLine','div','enableCommand','plugins','createEmptyElement','_descriptionFactory','conversion','addClass','createPositionAt','showSuggestionHighlights','TrackChangesEditing'];(function(_0x121ba2,_0x5bdd37){const _0x47df01=function(_0x1ae5e3){while(--_0x1ae5e3){_0x121ba2['push'](_0x121ba2['shift']());}};_0x47df01(++_0x5bdd37);}(_0x5bdd,0xb0));const _0x47df=function(_0x121ba2,_0x5bdd37){_0x121ba2=_0x121ba2-0x0;let _0x47df01=_0x5bdd[_0x121ba2];return _0x47df01;};import{Plugin as _0x3579ae}from'ckeditor5/src/core';import{getTranslation as _0x42f2c6}from'../utils/common-translations';export default class Q extends _0x3579ae{[_0x47df('0x6')](){const _0x3b8f4a=this['editor'];if(!_0x3b8f4a[_0x47df('0x10')]['has'](_0x47df('0x5')))return;_0x3b8f4a[_0x47df('0x10')][_0x47df('0xc')](_0x47df('0x3'))[_0x47df('0xf')](_0x47df('0xd'));const _0x1db136=_0x3b8f4a[_0x47df('0x10')]['get'](_0x47df('0x3')),_0x13a91b=_0x3b8f4a[_0x47df('0x4')];_0x1db136[_0x47df('0x12')][_0x47df('0xb')](_0x47df('0xd'),_0x424385=>_0x42f2c6(_0x13a91b,_0x47df('0x9'),_0x424385)),_0x3b8f4a[_0x47df('0x13')]['for']('dataDowncast')['elementToStructure']({'model':_0x47df('0xd'),'view':(_0x448b14,{writer:_0x5e9319,options:_0x2ef3ad})=>{if(!_0x2ef3ad[_0x47df('0x2')])return null;const _0x38cf26=_0x5e9319[_0x47df('0x7')](_0x47df('0xe')),_0x862ec2=_0x5e9319[_0x47df('0x11')]('hr');return _0x5e9319[_0x47df('0x0')](_0x47df('0xa'),_0x38cf26),_0x5e9319['insert'](_0x5e9319[_0x47df('0x1')](_0x38cf26,0x0),_0x862ec2),_0x38cf26;},'converterPriority':_0x47df('0x8')});}}
23
+ const _0x1b62=['conversion','plugins','enableCommand','editor','afterInit','for','dataDowncast','has','horizontalLine','ck-horizontal-line','ELEMENT_HORIZONTAL_LINE','HorizontalLineEditing','elementToStructure','high','_descriptionFactory','showSuggestionHighlights','createContainerElement','insert','registerElementLabel','div','TrackChangesEditing'];(function(_0x309dac,_0x1b624c){const _0x400b6a=function(_0x469c07){while(--_0x469c07){_0x309dac['push'](_0x309dac['shift']());}};_0x400b6a(++_0x1b624c);}(_0x1b62,0x130));const _0x400b=function(_0x309dac,_0x1b624c){_0x309dac=_0x309dac-0x0;let _0x400b6a=_0x1b62[_0x309dac];return _0x400b6a;};import{Plugin as _0x48f7dd}from'ckeditor5/src/core';import{getTranslation as _0x5cd5b7}from'../utils/common-translations';export default class Q extends _0x48f7dd{[_0x400b('0xf')](){const _0x5c4a72=this[_0x400b('0xe')];if(!_0x5c4a72[_0x400b('0xc')][_0x400b('0x12')](_0x400b('0x1')))return;_0x5c4a72['plugins']['get'](_0x400b('0xa'))[_0x400b('0xd')](_0x400b('0x13'));const _0x4b71e4=_0x5c4a72[_0x400b('0xc')]['get']('TrackChangesEditing'),_0x57dec9=_0x5c4a72['locale'];_0x4b71e4[_0x400b('0x4')][_0x400b('0x8')](_0x400b('0x13'),_0x1b0631=>_0x5cd5b7(_0x57dec9,_0x400b('0x0'),_0x1b0631)),_0x5c4a72[_0x400b('0xb')][_0x400b('0x10')](_0x400b('0x11'))[_0x400b('0x2')]({'model':_0x400b('0x13'),'view':(_0x230256,{writer:_0x36da0d,options:_0x4ef6dc})=>{if(!_0x4ef6dc[_0x400b('0x5')])return null;const _0x4f2815=_0x36da0d[_0x400b('0x6')](_0x400b('0x9')),_0x2c4c45=_0x36da0d['createEmptyElement']('hr');return _0x36da0d['addClass'](_0x400b('0x14'),_0x4f2815),_0x36da0d[_0x400b('0x7')](_0x36da0d['createPositionAt'](_0x4f2815,0x0),_0x2c4c45),_0x4f2815;},'converterPriority':_0x400b('0x3')});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5888=['*Change\x20%0\x20content*','htmlEmbed','format','ELEMENT_HTML_EMBED','rawHtmlApi','has','registerElementLabel','selection','markBlockFormat','getSelectedElement','get','enableCommand','plugins','getCustomProperty','document','afterInit','HtmlEmbed','editing','value','commandName','TrackChangesEditing','registerDescriptionCallback','cancel','rawHtml','_descriptionFactory','view','getAttribute'];(function(_0x5dfe11,_0x58886e){const _0xbf2966=function(_0x3a7dcd){while(--_0x3a7dcd){_0x5dfe11['push'](_0x5dfe11['shift']());}};_0xbf2966(++_0x58886e);}(_0x5888,0x1ef));const _0xbf29=function(_0x5dfe11,_0x58886e){_0x5dfe11=_0x5dfe11-0x0;let _0xbf2966=_0x5888[_0x5dfe11];return _0xbf2966;};import{Plugin as _0x3a9959}from'ckeditor5/src/core';import{getTranslation as _0x2b2008}from'../utils/common-translations';export default class V extends _0x3a9959{[_0xbf29('0x6')](){const _0x5aed86=this['editor'];if(!_0x5aed86[_0xbf29('0x3')][_0xbf29('0x17')](_0xbf29('0x7')))return;const _0x4d3897=_0x5aed86[_0xbf29('0x3')][_0xbf29('0x1')](_0xbf29('0xb')),_0x251f25=_0x5aed86['locale'],_0xd46466=_0x5aed86[_0xbf29('0x8')][_0xbf29('0x10')][_0xbf29('0x5')]['selection'];_0x4d3897[_0xbf29('0xf')][_0xbf29('0x18')]('rawHtml',_0x138f55=>_0x2b2008(_0x251f25,_0xbf29('0x15'),_0x138f55)),_0x5aed86[_0xbf29('0x3')]['get'](_0xbf29('0xb'))[_0xbf29('0x2')]('htmlEmbed',(_0x1b0494,_0x49983e)=>{const _0x4d1291=_0x5aed86['model'],_0x4e8cf6=_0x4d1291[_0xbf29('0x5')][_0xbf29('0x19')];_0x4d1291['change'](()=>{const _0x50319b=function(_0x88d3f7){const _0x3907d9=_0x88d3f7['getSelectedElement']();if(_0x3907d9&&_0x3907d9['is']('element',_0xbf29('0xe')))return _0x88d3f7[_0xbf29('0x0')]();return null;}(_0x4e8cf6);if(!_0x50319b)return void _0x1b0494(null);const _0x1cf553=_0x50319b[_0xbf29('0x11')](_0xbf29('0x9'))||'';if(void 0x0===_0x49983e)return;if(_0x49983e===_0x1cf553)return;_0x4d3897[_0xbf29('0x1a')](_0x50319b,{'commandName':_0xbf29('0x13'),'commandParams':[_0x49983e]}),_0xd46466[_0xbf29('0x0')]()[_0xbf29('0x4')](_0xbf29('0x16'))[_0xbf29('0xd')]();});}),_0x4d3897[_0xbf29('0xf')][_0xbf29('0xc')](_0xc8b0c8=>{const {data:_0x757236}=_0xc8b0c8;if(_0x757236&&_0xbf29('0x13')==_0x757236[_0xbf29('0xa')]){const _0x3a9f4a=_0x2b2008(_0x251f25,_0xbf29('0x15'));return{'type':_0xbf29('0x14'),'content':_0x2b2008(_0x251f25,_0xbf29('0x12'),_0x3a9f4a)};}});}}
23
+ const _0x15cf=['format','_descriptionFactory','htmlEmbed','markBlockFormat','afterInit','registerElementLabel','TrackChangesEditing','change','value','HtmlEmbed','enableCommand','rawHtmlApi','*Change\x20%0\x20content*','editing','selection','rawHtml','element','get','cancel','plugins','ELEMENT_HTML_EMBED','document','getAttribute','getSelectedElement','view','getCustomProperty'];(function(_0x13c8bc,_0x15cfd5){const _0x283998=function(_0x9f02ee){while(--_0x9f02ee){_0x13c8bc['push'](_0x13c8bc['shift']());}};_0x283998(++_0x15cfd5);}(_0x15cf,0xb7));const _0x2839=function(_0x13c8bc,_0x15cfd5){_0x13c8bc=_0x13c8bc-0x0;let _0x283998=_0x15cf[_0x13c8bc];return _0x283998;};import{Plugin as _0xcf7f7f}from'ckeditor5/src/core';import{getTranslation as _0x340f11}from'../utils/common-translations';export default class V extends _0xcf7f7f{[_0x2839('0x3')](){const _0xc812b6=this['editor'];if(!_0xc812b6[_0x2839('0x12')]['has'](_0x2839('0x8')))return;const _0x405534=_0xc812b6[_0x2839('0x12')][_0x2839('0x10')](_0x2839('0x5')),_0x406d9b=_0xc812b6['locale'],_0x16f0be=_0xc812b6[_0x2839('0xc')][_0x2839('0x17')]['document'][_0x2839('0xd')];_0x405534[_0x2839('0x0')][_0x2839('0x4')](_0x2839('0xe'),_0x2bc84e=>_0x340f11(_0x406d9b,_0x2839('0x13'),_0x2bc84e)),_0xc812b6['plugins'][_0x2839('0x10')](_0x2839('0x5'))[_0x2839('0x9')]('htmlEmbed',(_0x14b415,_0x3a5fa5)=>{const _0x48e08f=_0xc812b6['model'],_0x373067=_0x48e08f[_0x2839('0x14')][_0x2839('0xd')];_0x48e08f[_0x2839('0x6')](()=>{const _0x2cd5e9=function(_0x17659c){const _0x54bf1d=_0x17659c[_0x2839('0x16')]();if(_0x54bf1d&&_0x54bf1d['is'](_0x2839('0xf'),_0x2839('0xe')))return _0x17659c[_0x2839('0x16')]();return null;}(_0x373067);if(!_0x2cd5e9)return void _0x14b415(null);const _0x5a3858=_0x2cd5e9[_0x2839('0x15')](_0x2839('0x7'))||'';if(void 0x0===_0x3a5fa5)return;if(_0x3a5fa5===_0x5a3858)return;_0x405534[_0x2839('0x2')](_0x2cd5e9,{'commandName':_0x2839('0x1'),'commandParams':[_0x3a5fa5]}),_0x16f0be[_0x2839('0x16')]()[_0x2839('0x18')](_0x2839('0xa'))[_0x2839('0x11')]();});}),_0x405534[_0x2839('0x0')]['registerDescriptionCallback'](_0x3d6222=>{const {data:_0x558568}=_0x3d6222;if(_0x558568&&'htmlEmbed'==_0x558568['commandName']){const _0x1acc22=_0x340f11(_0x406d9b,_0x2839('0x13'));return{'type':_0x2839('0x19'),'content':_0x340f11(_0x406d9b,_0x2839('0xb'),_0x1acc22)};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x656a=['addObject','getFirstRange','imageStylePostApply','Users','isCollapsed','change','start','get','type','ImageTextAlternativeEditing','end','side','ELEMENT_IMAGE','imageBlock','ImageCaptionUtils','imageStyle','resizeImage','*Format:*\x20%0','registerElementLabel','refresh','model','createRangeOn','isBlockImage','convertBlockImageToInline','plugins','toggleImageCaption','document','alt','registerPostFixer','getClosestSelectedImageElement','enableCommand','forceDefaultExecution','ImageCaptionEditing','imageTextAlternative','*Set\x20image\x20text\x20alternative:*\x20%0','isBefore','removeObject','convertInlineImageToBlock','isInlineImage','registerCustomCallback','title','Inline\x20image\x20to\x20block\x20image','imageInline','getSuggestion','previous','markInsertion','ImageBlockEditing','getSuggestionCallback','formatInline','element','selection','_splitMarkerName','markBlockFormat','getAttribute','_descriptionFactory','hasSuggestion','length','join','ImageStyleEditing','getCaptionFromImageModelElement','discardSuggestion','ImageEditing','isOwn','accept','uploadImage','isInContent','find','commandName','markInlineFormat','deletion','insertImage','newRange','formatBlock','subType','nodeAfter','createRange','schema','next','registerDescriptionCallback','getChangedMarkers','filter','_suggestionFactory','ELEMENT_INLINE_IMAGE','commandReversedParams','has','chain','editor','hasAttribute','_findSuggestions','imageCaption','findIndex','getNearestSelectionRange','detach','ImageResize','getContainedElement','toNext','afterInit','forEach','imageTypeInline','caption','isEqual','imageStylePreApply','forward','locale','TrackChangesEditing','format','value','*Remove\x20image\x20text\x20alternative*','discard','isIntersecting','ELEMENT_CAPTION','ImageUploadEditing','suggestion','fromPosition','insertion','commandParams','commands','newValue','width','ImageUtils','markDeletion','imageTypeBlock'];(function(_0x2a45ed,_0x656a2c){const _0x269251=function(_0x389c48){while(--_0x389c48){_0x2a45ed['push'](_0x2a45ed['shift']());}};_0x269251(++_0x656a2c);}(_0x656a,0x115));const _0x2692=function(_0x2a45ed,_0x656a2c){_0x2a45ed=_0x2a45ed-0x0;let _0x269251=_0x656a[_0x2a45ed];return _0x269251;};import{Plugin as _0xd6c239}from'ckeditor5/src/core';import{LivePosition as _0x325c2d}from'ckeditor5/src/engine';import{uid as _0x5665d0}from'ckeditor5/src/utils';import{getTranslation as _0x233f02}from'../utils/common-translations';export default class X extends _0xd6c239{[_0x2692('0x3f')](){const _0xc9247e=this[_0x2692('0x35')];if(!_0xc9247e[_0x2692('0x71')]['has'](_0x2692('0x1c')))return;const _0x122e7a=_0xc9247e[_0x2692('0x71')]['get'](_0x2692('0x47')),_0x67746e=_0xc9247e[_0x2692('0x71')]['get'](_0x2692('0x56')),_0xfd6618={},_0xe6bcce=_0xc9247e[_0x2692('0x46')];if(_0x122e7a[_0x2692('0x77')](_0x2692('0x25')),_0x122e7a[_0x2692('0x15')][_0x2692('0x6b')](_0x2692('0x66'),_0x25babd=>_0x233f02(_0xe6bcce,_0x2692('0x65'),_0x25babd)),_0x122e7a[_0x2692('0x15')][_0x2692('0x6b')](_0x2692('0x9'),_0x1d7f25=>_0x233f02(_0xe6bcce,_0x2692('0x31'),_0x1d7f25)),_0x122e7a[_0x2692('0x15')][_0x2692('0x6b')](_0x2692('0x42'),()=>_0x233f02(_0xe6bcce,_0x2692('0x4d'))),_0xc9247e[_0x2692('0x71')][_0x2692('0x33')](_0x2692('0x4e'))&&_0x122e7a[_0x2692('0x77')](_0x2692('0x1f')),_0xc9247e[_0x2692('0x71')][_0x2692('0x33')](_0x2692('0xd'))&&_0xc9247e[_0x2692('0x71')][_0x2692('0x33')]('ImageInlineEditing')&&(_0x122e7a[_0x2692('0x77')](_0x2692('0x41'),(_0x9c1bcc,_0x4a1996)=>{const _0x20611c=_0x67746e[_0x2692('0x76')](_0xc9247e[_0x2692('0x6d')]['document'][_0x2692('0x11')]);_0xc9247e[_0x2692('0x6d')][_0x2692('0x5e')](()=>{_0x122e7a[_0x2692('0x13')](_0x20611c,{'commandName':'imageTypeInline','commandParams':[_0x4a1996]},[],_0x2692('0x70'));});}),_0x122e7a['enableCommand'](_0x2692('0x58'),(_0x43e2c7,_0x286003)=>{_0xc9247e[_0x2692('0x6d')][_0x2692('0x5e')](_0x23f7a2=>{let _0x5a16f5=_0x67746e['getClosestSelectedImageElement'](_0xc9247e[_0x2692('0x6d')][_0x2692('0x73')][_0x2692('0x11')]),_0x24fc1c=_0x23f7a2[_0x2692('0x6e')](_0x5a16f5);const _0x25028e=_0x325c2d[_0x2692('0x50')](_0x24fc1c[_0x2692('0x5f')],'toPrevious'),_0x567fc2=_0x325c2d['fromPosition'](_0x24fc1c[_0x2692('0x63')],_0x2692('0x3e'));_0x122e7a[_0x2692('0x78')](()=>_0x43e2c7(_0x286003)),_0x5a16f5=_0x67746e[_0x2692('0x76')](_0xc9247e[_0x2692('0x6d')]['document'][_0x2692('0x11')]),_0x24fc1c=_0x23f7a2[_0x2692('0x6e')](_0x5a16f5);const _0x3d5fef=_0x23f7a2[_0x2692('0x2a')](_0x25028e,_0x567fc2);_0x25028e[_0x2692('0x3b')](),_0x567fc2[_0x2692('0x3b')](),_0x122e7a[_0x2692('0x13')](_0x5a16f5,{'commandName':_0x2692('0x41'),'commandParams':[]},[],_0x2692('0x4')),_0x3d5fef[_0x2692('0x5f')][_0x2692('0x2')](_0x24fc1c['start'])&&_0x122e7a[_0x2692('0xc')](_0x23f7a2[_0x2692('0x2a')](_0x3d5fef['start'],_0x24fc1c['start']),'convertInlineImageToBlock'),_0x24fc1c['end'][_0x2692('0x2')](_0x3d5fef['end'])&&_0x122e7a['markInsertion'](_0x23f7a2['createRange'](_0x24fc1c['end'],_0x3d5fef[_0x2692('0x63')]),_0x2692('0x4'));});}),_0x122e7a[_0x2692('0x30')][_0x2692('0x6')]('formatBlock',_0x2692('0x4'),_0x2692('0x18'),()=>{}),_0x122e7a[_0x2692('0x30')]['registerCustomCallback'](_0x2692('0x27'),'convertInlineImageToBlock','accept',()=>{}),_0x122e7a[_0x2692('0x30')][_0x2692('0x6')]('formatBlock',_0x2692('0x4'),'discard',_0x122e7a[_0x2692('0x30')][_0x2692('0xe')]('formatBlock','',_0x2692('0x1e'))),_0x122e7a[_0x2692('0x30')]['registerCustomCallback'](_0x2692('0x51'),'convertInlineImageToBlock',_0x2692('0x18'),()=>{}),_0x122e7a[_0x2692('0x30')][_0x2692('0x6')](_0x2692('0x51'),'convertInlineImageToBlock',_0x2692('0x4b'),([_0x5635bc])=>{const _0x4aed79=_0x122e7a['_suggestionFactory']['getSuggestionCallback'](_0x2692('0x51'),'',_0x2692('0x4b'));let _0x1ca448=_0x5635bc[_0x2692('0x5f')],_0x56056a=_0x5635bc['end'];const _0x40d69a=_0xc9247e['model'][_0x2692('0x2b')]['getNearestSelectionRange'](_0x1ca448,'backward'),_0x3466dc=_0xc9247e[_0x2692('0x6d')][_0x2692('0x2b')][_0x2692('0x3a')](_0x56056a,_0x2692('0x45'));_0x40d69a[_0x2692('0x5d')]&&(_0x1ca448=_0x40d69a['start']),_0x3466dc[_0x2692('0x5d')]&&(_0x56056a=_0x3466dc[_0x2692('0x63')]),_0x4aed79([_0xc9247e[_0x2692('0x6d')][_0x2692('0x2a')](_0x1ca448,_0x56056a)]);}),_0x122e7a[_0x2692('0x30')][_0x2692('0x6')](_0x2692('0x27'),_0x2692('0x4'),'chain',_0x717b),_0x122e7a[_0x2692('0x30')]['registerCustomCallback'](_0x2692('0x51'),_0x2692('0x4'),_0x2692('0x34'),_0x717b)),_0xc9247e['plugins'][_0x2692('0x33')](_0x2692('0x79'))&&(_0x122e7a['enableCommand'](_0x2692('0x72'),(_0x376575,_0x3515b7)=>{const _0x2bd088=_0xc9247e[_0x2692('0x71')]['get'](_0x2692('0x67'));let _0x2302d0=_0x67746e[_0x2692('0x76')](_0xc9247e[_0x2692('0x6d')][_0x2692('0x73')]['selection']),_0x11fb45=_0x2bd088[_0x2692('0x1a')](_0x2302d0);_0xc9247e[_0x2692('0x6d')]['change'](()=>{if(_0x11fb45)return void _0x122e7a[_0x2692('0x57')](_0xc9247e[_0x2692('0x6d')][_0x2692('0x6e')](_0x11fb45));const _0x38d053=_0x67746e[_0x2692('0x6f')](_0x2302d0);_0x376575(_0x3515b7),_0x2302d0=_0x67746e[_0x2692('0x76')](_0xc9247e[_0x2692('0x6d')][_0x2692('0x73')][_0x2692('0x11')]),_0x11fb45=_0x2bd088[_0x2692('0x1a')](_0x2302d0),_0x122e7a['markInsertion'](_0xc9247e[_0x2692('0x6d')]['createRangeOn'](_0x11fb45),_0x38d053?null:_0x2692('0x38'));});}),_0x122e7a['_suggestionFactory']['registerCustomCallback'](_0x2692('0x51'),_0x2692('0x38'),_0x2692('0x34'),_0x717b)),_0xc9247e['plugins'][_0x2692('0x33')](_0x2692('0x19'))){_0x122e7a[_0x2692('0x77')](_0x2692('0x68'),(_0x4bdd32,_0x542756)=>{const _0x269aa8=_0xc9247e[_0x2692('0x71')][_0x2692('0x60')](_0x2692('0x5c'))['me'],_0x571384=_0xc9247e[_0x2692('0x53')][_0x2692('0x60')](_0x2692('0x68'));let _0x398f20=_0x67746e[_0x2692('0x76')](_0xc9247e[_0x2692('0x6d')]['document']['selection']),_0x487636=_0xc9247e['model'][_0x2692('0x6e')](_0x398f20),_0x9fcecc=_0x571384[_0x2692('0x49')];if(_0x9fcecc==_0x542756[_0x2692('0x49')])return;const _0x17f06b={'commandName':'imageStyle','commandParams':[_0x542756],'formatGroupId':_0x5665d0()};_0xc9247e[_0x2692('0x6d')][_0x2692('0x5e')](()=>{if(_0x122e7a['getSuggestions']()['filter'](_0x4e00af=>_0x4e00af[_0x2692('0x20')]&&_0x269aa8==_0x4e00af['author']&&(_0x2692('0x27')==_0x4e00af['type']||_0x2692('0xf')==_0x4e00af[_0x2692('0x61')])&&(_0x2692('0x44')==_0x4e00af[_0x2692('0x28')]||_0x2692('0x5b')==_0x4e00af[_0x2692('0x28')])&&_0x4e00af[_0x2692('0x5a')]()[_0x2692('0x43')](_0x487636))[_0x2692('0x40')](_0x2a55bf=>_0x122e7a[_0x2692('0x1b')](_0x2a55bf['head'])),_0x398f20=_0x67746e[_0x2692('0x76')](_0xc9247e[_0x2692('0x6d')]['document'][_0x2692('0x11')]),_0x487636=_0xc9247e[_0x2692('0x6d')][_0x2692('0x6e')](_0x398f20),_0x571384[_0x2692('0x6c')](),_0xc9247e[_0x2692('0x53')][_0x2692('0x60')]('imageTypeInline')[_0x2692('0x6c')](),_0xc9247e[_0x2692('0x53')]['get'](_0x2692('0x58'))[_0x2692('0x6c')](),_0x9fcecc=_0x571384['value'],_0x9fcecc!=_0x542756[_0x2692('0x49')])return _0x67746e[_0x2692('0x5')](_0x398f20)&&_0x571384['shouldConvertImageType'](_0x542756[_0x2692('0x49')],_0x398f20)?(_0x4bdd32(_0x542756),_0x398f20=_0x67746e['getClosestSelectedImageElement'](_0xc9247e[_0x2692('0x6d')]['document'][_0x2692('0x11')]),void _0x122e7a[_0x2692('0x13')](_0x398f20,{..._0x17f06b,'commandReversedParams':[{'value':_0x9fcecc||null}]},[],'imageStylePreApply')):void(_0x67746e['isBlockImage'](_0x398f20)?_0x122e7a[_0x2692('0x13')](_0x398f20,_0x17f06b,[],_0x2692('0x5b')):_0x122e7a[_0x2692('0x23')](_0x487636,_0x17f06b,_0x2692('0x5b')));});});for(const _0x23ad17 of _0xc9247e[_0x2692('0x71')]['get'](_0x2692('0x19'))['normalizedStyles'])_0xfd6618[_0x23ad17['name']]=_0x23ad17[_0x2692('0x7')]['toLowerCase']();_0x122e7a['_suggestionFactory'][_0x2692('0x6')](_0x2692('0x27'),'imageStylePreApply',_0x2692('0x18'),()=>{}),_0x122e7a[_0x2692('0x30')][_0x2692('0x6')]('formatBlock',_0x2692('0x5b'),_0x2692('0x18'),()=>{}),_0x122e7a[_0x2692('0x30')]['registerCustomCallback'](_0x2692('0xf'),_0x2692('0x5b'),_0x2692('0x18'),()=>{}),_0x122e7a[_0x2692('0x30')][_0x2692('0x6')](_0x2692('0x27'),_0x2692('0x44'),_0x2692('0x1e'),()=>{}),_0x122e7a['_suggestionFactory'][_0x2692('0x6')](_0x2692('0x27'),_0x2692('0x44'),_0x2692('0x4b'),(_0x15ee59,_0x3082c3)=>{_0x122e7a[_0x2692('0x30')]['getSuggestionCallback']('formatBlock','',_0x2692('0x1e'))(_0x15ee59,{'commandName':_0x3082c3['commandName'],'commandParams':_0x3082c3[_0x2692('0x32')]});}),_0x122e7a[_0x2692('0x30')]['registerCustomCallback'](_0x2692('0x27'),'imageStylePreApply',_0x2692('0x34'),_0x717b);}const _0x28848d=[{'type':_0x2692('0x27'),'subType':_0x2692('0x44')},{'type':_0x2692('0x51'),'subType':'imageCaption'},{'type':'formatBlock','subType':_0x2692('0x4')},{'type':_0x2692('0x51'),'subType':_0x2692('0x4')}];function _0x550ec4(_0x4a054f,_0x2074c4){const _0x348040=_0x28848d['findIndex'](({type:_0x133131,subType:_0x5a9a72})=>_0x4a054f[_0x2692('0x61')]==_0x133131&&_0x4a054f['subType']==_0x5a9a72),_0x4dbd5f=_0x28848d[_0x2692('0x39')](({type:_0x217a63,subType:_0x31ba3b})=>_0x2074c4[_0x2692('0x61')]==_0x217a63&&_0x2074c4[_0x2692('0x28')]==_0x31ba3b);if(_0x348040<0x0||_0x4dbd5f<0x0)return!0x1;const _0x1414da=_0x4a054f['getFirstRange'](),_0x2fa480=_0x2074c4[_0x2692('0x5a')]();if((0x0==_0x348040||0x1==_0x348040)&&0x2==_0x4dbd5f&&_0x1414da[_0x2692('0x4c')](_0x2fa480))return!0x0;if(0x2==_0x348040&&0x3==_0x4dbd5f){const _0x2249f1=_0x122e7a[_0x2692('0x37')](_0x1414da,_0x2692('0x51'))[_0x2692('0x2f')](({suggestion:_0x8e4800,meta:_0x8b275a})=>_0x8b275a[_0x2692('0x1d')]&&_0x2692('0x4')==_0x8e4800[_0x2692('0x28')]);if(_0x2249f1[_0x2692('0x17')]>0x1&&_0x2fa480[_0x2692('0x63')]['isEqual'](_0x1414da[_0x2692('0x5f')]))return!0x0;if(0x1==_0x2249f1[_0x2692('0x17')]&&(_0x1414da[_0x2692('0x5f')][_0x2692('0x43')](_0x2fa480['end'])||_0x1414da[_0x2692('0x63')][_0x2692('0x43')](_0x2fa480[_0x2692('0x5f')])))return!0x0;}if(0x3==_0x348040&&0x3==_0x4dbd5f&&_0x1414da[_0x2692('0x5f')][_0x2692('0x2')](_0x2fa480['start'])){const _0x4b7643=_0x1414da[_0x2692('0x63')][_0x2692('0x29')],_0x1b2c9b=_0x2fa480[_0x2692('0x5f')]['nodeBefore'];return _0x67746e['isBlockImage'](_0x4b7643)&&_0x4b7643===_0x1b2c9b;}return!0x1;}function _0x717b(_0x43e1ce,_0x1c6082){return _0x550ec4(_0x43e1ce,_0x1c6082)?[_0x43e1ce,_0x1c6082]:_0x550ec4(_0x1c6082,_0x43e1ce)?[_0x1c6082,_0x43e1ce]:null;}_0xc9247e[_0x2692('0x6d')]['document'][_0x2692('0x75')](()=>{let _0x22d89e=!0x1;const _0x276c5f=Array['from'](_0xc9247e[_0x2692('0x6d')][_0x2692('0x73')]['differ'][_0x2692('0x2e')]());for(const {name:_0x4ca77e,data:_0x5cc2af}of _0x276c5f){const {group:_0x38cf23,type:_0x45d8be,subType:_0x4e1076,id:_0x477eb1}=_0x122e7a[_0x2692('0x12')](_0x4ca77e);if(_0x2692('0x4f')==_0x38cf23&&_0x122e7a[_0x2692('0x16')](_0x477eb1)){if(_0x2692('0x27')==_0x45d8be&&(_0x2692('0x44')==_0x4e1076||_0x2692('0x5b')==_0x4e1076)){const _0x432277=_0x122e7a['getSuggestion'](_0x477eb1);if(_0x5cc2af[_0x2692('0x26')]){const _0x438197=_0x432277[_0x2692('0x5a')]()[_0x2692('0x3d')]();if(_0x67746e[_0x2692('0x6f')](_0x438197))continue;_0x122e7a[_0x2692('0x1b')](_0x432277),_0x22d89e=!0x0;}}if(_0x2692('0x51')==_0x45d8be&&'imageCaption'==_0x4e1076&&!_0x5cc2af['newRange']){const _0x525059=_0x122e7a[_0x2692('0xa')](_0x477eb1);_0x525059['next']&&_0x525059[_0x2692('0x2c')][_0x2692('0x20')]&&(_0x122e7a[_0x2692('0x1b')](_0x525059[_0x2692('0x2c')]),_0x22d89e=!0x0);}}}return _0x22d89e;}),_0xc9247e[_0x2692('0x71')][_0x2692('0x33')](_0x2692('0x3c'))&&_0x122e7a[_0x2692('0x77')](_0x2692('0x69'),(_0x21eba9,_0x3be432)=>{const _0xbe3f47=_0x67746e[_0x2692('0x76')](_0xc9247e[_0x2692('0x6d')]['document'][_0x2692('0x11')]);_0xbe3f47[_0x2692('0x14')](_0x2692('0x55'))!=_0x3be432[_0x2692('0x55')]&&_0xc9247e[_0x2692('0x6d')]['change'](()=>{_0x122e7a[_0x2692('0x13')](_0xbe3f47,{'commandName':_0x2692('0x69'),'commandParams':[_0x3be432]});});}),_0xc9247e[_0x2692('0x71')]['has'](_0x2692('0x62'))&&_0x122e7a[_0x2692('0x77')](_0x2692('0x0'),(_0x421fbe,_0x24b79a)=>{const _0x18ab1a=_0x67746e['getClosestSelectedImageElement'](_0xc9247e[_0x2692('0x6d')][_0x2692('0x73')][_0x2692('0x11')]);(_0x18ab1a[_0x2692('0x36')](_0x2692('0x74'))?_0x18ab1a[_0x2692('0x14')]('alt'):'')!=_0x24b79a['newValue']&&_0xc9247e['model'][_0x2692('0x5e')](()=>{_0x122e7a[_0x2692('0x13')](_0x18ab1a,{'commandName':_0x2692('0x0'),'commandParams':[_0x24b79a]});});}),_0x122e7a[_0x2692('0x15')]['registerDescriptionCallback'](_0x3f2a7c=>{if(!!_0x28848d[_0x2692('0x21')](({type:_0x50364d,subType:_0x3a630d})=>_0x3f2a7c[_0x2692('0x61')]==_0x50364d&&_0x3f2a7c[_0x2692('0x28')]==_0x3a630d))return _0x3f2a7c[_0x2692('0xb')]?{}:void 0x0;}),_0x122e7a[_0x2692('0x15')]['registerDescriptionCallback'](_0x4237fa=>{if(_0x2692('0x51')==_0x4237fa[_0x2692('0x61')]||_0x2692('0x24')==_0x4237fa[_0x2692('0x61')]){const _0x4b813e=_0x4237fa[_0x2692('0x3d')]();if(_0x4b813e&&_0x4b813e['is'](_0x2692('0x10'),'caption'))return{'type':'insertion'==_0x4237fa[_0x2692('0x61')]?_0x2692('0x59'):_0x2692('0x3'),'element':_0x4b813e,'quantity':0x1};}}),_0x122e7a[_0x2692('0x15')][_0x2692('0x2d')](_0xd82ed=>_0x2692('0x27')==_0xd82ed['type']&&_0x2692('0x4')==_0xd82ed[_0x2692('0x28')]?{'type':'format','content':_0x2692('0x8')}:_0x2692('0x27')==_0xd82ed['type']&&_0x2692('0x70')==_0xd82ed[_0x2692('0x28')]?{'type':_0x2692('0x48'),'content':'Block\x20image\x20to\x20inline\x20image'}:void 0x0),_0x122e7a['_descriptionFactory'][_0x2692('0x2d')](_0x44bd0b=>{const {data:_0x42b237}=_0x44bd0b;if(_0x42b237){if(_0x2692('0x68')==_0x42b237[_0x2692('0x22')]){const _0x4c02b5=_0x42b237[_0x2692('0x52')][0x0][_0x2692('0x49')];return _0x195b34(_0x2692('0x64')===_0x4c02b5?_0x233f02(_0xe6bcce,'FORMAT_SIDE_IMAGE'):_0xfd6618[_0x4c02b5]||_0x4c02b5);}if(_0x2692('0x0')==_0x42b237[_0x2692('0x22')]){const _0x482bc1=_0x42b237[_0x2692('0x52')][0x0][_0x2692('0x54')];return _0x482bc1?{'type':'format','content':_0x233f02(_0xe6bcce,_0x2692('0x1'),'\x22'+_0x482bc1+'\x22')}:{'type':'format','content':_0x233f02(_0xe6bcce,_0x2692('0x4a'))};}if(_0x2692('0x69')==_0x42b237[_0x2692('0x22')]){const _0x2f40cd=_0x42b237[_0x2692('0x52')][0x0][_0x2692('0x55')];return _0x2f40cd?{'type':_0x2692('0x48'),'content':_0x233f02(_0xe6bcce,'*Set\x20image\x20width:*\x20%0',_0x2f40cd)}:{'type':_0x2692('0x48'),'content':_0x233f02(_0xe6bcce,'*Reset\x20image\x20width*')};}}function _0x195b34(_0x40cefe){return{'type':_0x2692('0x48'),'content':_0x233f02(_0xe6bcce,_0x2692('0x6a'),_0x40cefe)};}});}}
23
+ const _0x58e9=['locale','commandReversedParams','ImageStyleEditing','isEqual','join','imageStylePreApply','resizeImage','alt','registerPostFixer','*Format:*\x20%0','suggestion','width','imageInline','toLowerCase','author','isInContent','discard','newRange','accept','removeObject','filter','head','getSuggestions','ImageResize','Inline\x20image\x20to\x20block\x20image','isInlineImage','name','createRange','convertBlockImageToInline','ImageUtils','ImageCaptionEditing','refresh','_findSuggestions','isOwn','type','previous','subType','markInsertion','convertInlineImageToBlock','getContainedElement','from','_splitMarkerName','imageTypeInline','getSuggestion','*Remove\x20image\x20text\x20alternative*','end','*Reset\x20image\x20width*','registerDescriptionCallback','value','plugins','_descriptionFactory','ELEMENT_CAPTION','commandName','editor','isCollapsed','imageTypeBlock','document','schema','imageStylePostApply','ImageEditing','ImageInlineEditing','get','Users','ImageBlockEditing','length','selection','ELEMENT_IMAGE','isIntersecting','_suggestionFactory','discardSuggestion','insertImage','deletion','getNearestSelectionRange','markBlockFormat','normalizedStyles','find','side','model','toNext','isBlockImage','nodeAfter','title','registerCustomCallback','has','getChangedMarkers','insertion','imageStyle','getSuggestionCallback','enableCommand','imageCaption','differ','getCaptionFromImageModelElement','forEach','change','format','getFirstRange','chain','forceDefaultExecution','imageBlock','next','getClosestSelectedImageElement','findIndex','markInlineFormat','createRangeOn','ImageCaptionUtils','shouldConvertImageType','imageTextAlternative','formatBlock','Block\x20image\x20to\x20inline\x20image','caption','hasAttribute','start','commandParams','*Set\x20image\x20text\x20alternative:*\x20%0','formatInline','markDeletion','registerElementLabel','TrackChangesEditing','getAttribute','toPrevious','ImageTextAlternativeEditing','fromPosition'];(function(_0x492640,_0x58e92e){const _0x698873=function(_0x5f1ea4){while(--_0x5f1ea4){_0x492640['push'](_0x492640['shift']());}};_0x698873(++_0x58e92e);}(_0x58e9,0x197));const _0x6988=function(_0x492640,_0x58e92e){_0x492640=_0x492640-0x0;let _0x698873=_0x58e9[_0x492640];return _0x698873;};import{Plugin as _0x52ae5d}from'ckeditor5/src/core';import{LivePosition as _0x228396}from'ckeditor5/src/engine';import{uid as _0x22ffb2}from'ckeditor5/src/utils';import{getTranslation as _0x2a6d82}from'../utils/common-translations';export default class X extends _0x52ae5d{['afterInit'](){const _0x598d5e=this[_0x6988('0xc')];if(!_0x598d5e[_0x6988('0x8')]['has'](_0x6988('0x12')))return;const _0x4c33ba=_0x598d5e[_0x6988('0x8')]['get'](_0x6988('0x4c')),_0x28934b=_0x598d5e['plugins'][_0x6988('0x14')](_0x6988('0x6e')),_0x32be96={},_0x571408=_0x598d5e[_0x6988('0x51')];if(_0x4c33ba[_0x6988('0x2f')](_0x6988('0x1d')),_0x4c33ba[_0x6988('0x9')][_0x6988('0x4b')](_0x6988('0x39'),_0x1a40a9=>_0x2a6d82(_0x571408,_0x6988('0x19'),_0x1a40a9)),_0x4c33ba[_0x6988('0x9')]['registerElementLabel'](_0x6988('0x5d'),_0x408614=>_0x2a6d82(_0x571408,'ELEMENT_INLINE_IMAGE',_0x408614)),_0x4c33ba['_descriptionFactory'][_0x6988('0x4b')](_0x6988('0x44'),()=>_0x2a6d82(_0x571408,_0x6988('0xa'))),_0x598d5e[_0x6988('0x8')][_0x6988('0x2a')]('ImageUploadEditing')&&_0x4c33ba[_0x6988('0x2f')]('uploadImage'),_0x598d5e['plugins'][_0x6988('0x2a')](_0x6988('0x16'))&&_0x598d5e['plugins']['has'](_0x6988('0x13'))&&(_0x4c33ba[_0x6988('0x2f')](_0x6988('0x1'),(_0x47700e,_0x421585)=>{const _0x6d3703=_0x28934b[_0x6988('0x3b')](_0x598d5e['model'][_0x6988('0xf')]['selection']);_0x598d5e[_0x6988('0x24')][_0x6988('0x34')](()=>{_0x4c33ba[_0x6988('0x20')](_0x6d3703,{'commandName':'imageTypeInline','commandParams':[_0x421585]},[],_0x6988('0x6d'));});}),_0x4c33ba[_0x6988('0x2f')](_0x6988('0xe'),(_0x218d16,_0xc6443a)=>{_0x598d5e[_0x6988('0x24')][_0x6988('0x34')](_0x2c623f=>{let _0x282e83=_0x28934b['getClosestSelectedImageElement'](_0x598d5e[_0x6988('0x24')][_0x6988('0xf')]['selection']),_0xbdb6aa=_0x2c623f[_0x6988('0x3e')](_0x282e83);const _0x228bc8=_0x228396[_0x6988('0x50')](_0xbdb6aa['start'],_0x6988('0x4e')),_0x149a4f=_0x228396['fromPosition'](_0xbdb6aa[_0x6988('0x4')],_0x6988('0x25'));_0x4c33ba[_0x6988('0x38')](()=>_0x218d16(_0xc6443a)),_0x282e83=_0x28934b[_0x6988('0x3b')](_0x598d5e[_0x6988('0x24')]['document'][_0x6988('0x18')]),_0xbdb6aa=_0x2c623f[_0x6988('0x3e')](_0x282e83);const _0x5ad507=_0x2c623f[_0x6988('0x6c')](_0x228bc8,_0x149a4f);_0x228bc8['detach'](),_0x149a4f['detach'](),_0x4c33ba[_0x6988('0x20')](_0x282e83,{'commandName':'imageTypeInline','commandParams':[]},[],_0x6988('0x77')),_0x5ad507['start']['isBefore'](_0xbdb6aa[_0x6988('0x46')])&&_0x4c33ba[_0x6988('0x76')](_0x2c623f[_0x6988('0x6c')](_0x5ad507[_0x6988('0x46')],_0xbdb6aa[_0x6988('0x46')]),_0x6988('0x77')),_0xbdb6aa['end']['isBefore'](_0x5ad507['end'])&&_0x4c33ba['markInsertion'](_0x2c623f['createRange'](_0xbdb6aa['end'],_0x5ad507[_0x6988('0x4')]),'convertInlineImageToBlock');});}),_0x4c33ba[_0x6988('0x1b')][_0x6988('0x29')](_0x6988('0x42'),_0x6988('0x77'),_0x6988('0x55'),()=>{}),_0x4c33ba['_suggestionFactory'][_0x6988('0x29')](_0x6988('0x42'),'convertInlineImageToBlock','accept',()=>{}),_0x4c33ba['_suggestionFactory'][_0x6988('0x29')](_0x6988('0x42'),_0x6988('0x77'),'discard',_0x4c33ba[_0x6988('0x1b')][_0x6988('0x2e')]('formatBlock','',_0x6988('0x63'))),_0x4c33ba[_0x6988('0x1b')][_0x6988('0x29')]('insertion',_0x6988('0x77'),_0x6988('0x55'),()=>{}),_0x4c33ba[_0x6988('0x1b')]['registerCustomCallback']('insertion','convertInlineImageToBlock',_0x6988('0x61'),([_0x59ffee])=>{const _0x3b0800=_0x4c33ba['_suggestionFactory'][_0x6988('0x2e')](_0x6988('0x2c'),'',_0x6988('0x61'));let _0x378009=_0x59ffee[_0x6988('0x46')],_0x4f1241=_0x59ffee[_0x6988('0x4')];const _0x50c670=_0x598d5e[_0x6988('0x24')][_0x6988('0x10')]['getNearestSelectionRange'](_0x378009,'backward'),_0xc28b7=_0x598d5e['model']['schema'][_0x6988('0x1f')](_0x4f1241,'forward');_0x50c670[_0x6988('0xd')]&&(_0x378009=_0x50c670[_0x6988('0x46')]),_0xc28b7[_0x6988('0xd')]&&(_0x4f1241=_0xc28b7[_0x6988('0x4')]),_0x3b0800([_0x598d5e[_0x6988('0x24')][_0x6988('0x6c')](_0x378009,_0x4f1241)]);}),_0x4c33ba[_0x6988('0x1b')][_0x6988('0x29')](_0x6988('0x42'),'convertInlineImageToBlock',_0x6988('0x37'),_0x35fd66),_0x4c33ba[_0x6988('0x1b')][_0x6988('0x29')]('insertion',_0x6988('0x77'),'chain',_0x35fd66)),_0x598d5e[_0x6988('0x8')][_0x6988('0x2a')](_0x6988('0x6f'))&&(_0x4c33ba[_0x6988('0x2f')]('toggleImageCaption',(_0x34a2bd,_0xb4ab1e)=>{const _0x5ef895=_0x598d5e[_0x6988('0x8')][_0x6988('0x14')](_0x6988('0x3f'));let _0x1e5c1c=_0x28934b[_0x6988('0x3b')](_0x598d5e[_0x6988('0x24')][_0x6988('0xf')]['selection']),_0x5e1e5d=_0x5ef895['getCaptionFromImageModelElement'](_0x1e5c1c);_0x598d5e['model'][_0x6988('0x34')](()=>{if(_0x5e1e5d)return void _0x4c33ba[_0x6988('0x4a')](_0x598d5e['model'][_0x6988('0x3e')](_0x5e1e5d));const _0xa1f809=_0x28934b[_0x6988('0x26')](_0x1e5c1c);_0x34a2bd(_0xb4ab1e),_0x1e5c1c=_0x28934b[_0x6988('0x3b')](_0x598d5e[_0x6988('0x24')]['document'][_0x6988('0x18')]),_0x5e1e5d=_0x5ef895[_0x6988('0x32')](_0x1e5c1c),_0x4c33ba[_0x6988('0x76')](_0x598d5e[_0x6988('0x24')][_0x6988('0x3e')](_0x5e1e5d),_0xa1f809?null:'imageCaption');});}),_0x4c33ba[_0x6988('0x1b')]['registerCustomCallback'](_0x6988('0x2c'),_0x6988('0x30'),_0x6988('0x37'),_0x35fd66)),_0x598d5e[_0x6988('0x8')]['has']('ImageStyleEditing')){_0x4c33ba[_0x6988('0x2f')]('imageStyle',(_0x2664b8,_0x2fffea)=>{const _0x31ec00=_0x598d5e['plugins'][_0x6988('0x14')](_0x6988('0x15'))['me'],_0x4bf5e8=_0x598d5e['commands'][_0x6988('0x14')](_0x6988('0x2d'));let _0x3aad45=_0x28934b[_0x6988('0x3b')](_0x598d5e['model'][_0x6988('0xf')][_0x6988('0x18')]),_0x5c4230=_0x598d5e[_0x6988('0x24')]['createRangeOn'](_0x3aad45),_0x57835d=_0x4bf5e8['value'];if(_0x57835d==_0x2fffea[_0x6988('0x7')])return;const _0x53c668={'commandName':_0x6988('0x2d'),'commandParams':[_0x2fffea],'formatGroupId':_0x22ffb2()};_0x598d5e[_0x6988('0x24')][_0x6988('0x34')](()=>{if(_0x4c33ba[_0x6988('0x67')]()[_0x6988('0x65')](_0x51023b=>_0x51023b[_0x6988('0x60')]&&_0x31ec00==_0x51023b[_0x6988('0x5f')]&&('formatBlock'==_0x51023b['type']||_0x6988('0x49')==_0x51023b[_0x6988('0x73')])&&(_0x6988('0x56')==_0x51023b[_0x6988('0x75')]||_0x6988('0x11')==_0x51023b[_0x6988('0x75')])&&_0x51023b[_0x6988('0x36')]()[_0x6988('0x54')](_0x5c4230))[_0x6988('0x33')](_0x161a73=>_0x4c33ba[_0x6988('0x1c')](_0x161a73[_0x6988('0x66')])),_0x3aad45=_0x28934b[_0x6988('0x3b')](_0x598d5e[_0x6988('0x24')][_0x6988('0xf')][_0x6988('0x18')]),_0x5c4230=_0x598d5e[_0x6988('0x24')][_0x6988('0x3e')](_0x3aad45),_0x4bf5e8[_0x6988('0x70')](),_0x598d5e['commands'][_0x6988('0x14')](_0x6988('0x1'))[_0x6988('0x70')](),_0x598d5e['commands'][_0x6988('0x14')](_0x6988('0xe'))[_0x6988('0x70')](),_0x57835d=_0x4bf5e8['value'],_0x57835d!=_0x2fffea[_0x6988('0x7')])return _0x28934b[_0x6988('0x6a')](_0x3aad45)&&_0x4bf5e8[_0x6988('0x40')](_0x2fffea['value'],_0x3aad45)?(_0x2664b8(_0x2fffea),_0x3aad45=_0x28934b[_0x6988('0x3b')](_0x598d5e['model'][_0x6988('0xf')][_0x6988('0x18')]),void _0x4c33ba[_0x6988('0x20')](_0x3aad45,{..._0x53c668,'commandReversedParams':[{'value':_0x57835d||null}]},[],_0x6988('0x56'))):void(_0x28934b[_0x6988('0x26')](_0x3aad45)?_0x4c33ba['markBlockFormat'](_0x3aad45,_0x53c668,[],_0x6988('0x11')):_0x4c33ba[_0x6988('0x3d')](_0x5c4230,_0x53c668,_0x6988('0x11')));});});for(const _0x5c98d7 of _0x598d5e[_0x6988('0x8')][_0x6988('0x14')](_0x6988('0x53'))[_0x6988('0x21')])_0x32be96[_0x5c98d7[_0x6988('0x6b')]]=_0x5c98d7[_0x6988('0x28')][_0x6988('0x5e')]();_0x4c33ba[_0x6988('0x1b')][_0x6988('0x29')](_0x6988('0x42'),_0x6988('0x56'),_0x6988('0x55'),()=>{}),_0x4c33ba[_0x6988('0x1b')]['registerCustomCallback'](_0x6988('0x42'),_0x6988('0x11'),_0x6988('0x55'),()=>{}),_0x4c33ba[_0x6988('0x1b')][_0x6988('0x29')]('formatInline',_0x6988('0x11'),_0x6988('0x55'),()=>{}),_0x4c33ba[_0x6988('0x1b')][_0x6988('0x29')](_0x6988('0x42'),_0x6988('0x56'),_0x6988('0x63'),()=>{}),_0x4c33ba[_0x6988('0x1b')]['registerCustomCallback'](_0x6988('0x42'),_0x6988('0x56'),_0x6988('0x61'),(_0x2c2a54,_0x5167eb)=>{_0x4c33ba[_0x6988('0x1b')][_0x6988('0x2e')]('formatBlock','','accept')(_0x2c2a54,{'commandName':_0x5167eb['commandName'],'commandParams':_0x5167eb[_0x6988('0x52')]});}),_0x4c33ba['_suggestionFactory'][_0x6988('0x29')](_0x6988('0x42'),_0x6988('0x56'),'chain',_0x35fd66);}const _0x4a4088=[{'type':_0x6988('0x42'),'subType':_0x6988('0x56')},{'type':_0x6988('0x2c'),'subType':_0x6988('0x30')},{'type':_0x6988('0x42'),'subType':_0x6988('0x77')},{'type':_0x6988('0x2c'),'subType':'convertInlineImageToBlock'}];function _0x28548b(_0x59936b,_0x1ae343){const _0x3b4af8=_0x4a4088[_0x6988('0x3c')](({type:_0x3fb4cd,subType:_0x2309fb})=>_0x59936b[_0x6988('0x73')]==_0x3fb4cd&&_0x59936b[_0x6988('0x75')]==_0x2309fb),_0x226d60=_0x4a4088['findIndex'](({type:_0x16f9ad,subType:_0xc2c155})=>_0x1ae343['type']==_0x16f9ad&&_0x1ae343[_0x6988('0x75')]==_0xc2c155);if(_0x3b4af8<0x0||_0x226d60<0x0)return!0x1;const _0x1b5971=_0x59936b['getFirstRange'](),_0x12b36f=_0x1ae343[_0x6988('0x36')]();if((0x0==_0x3b4af8||0x1==_0x3b4af8)&&0x2==_0x226d60&&_0x1b5971[_0x6988('0x1a')](_0x12b36f))return!0x0;if(0x2==_0x3b4af8&&0x3==_0x226d60){const _0x317293=_0x4c33ba[_0x6988('0x71')](_0x1b5971,_0x6988('0x2c'))['filter'](({suggestion:_0x442ff4,meta:_0x3f6281})=>_0x3f6281[_0x6988('0x72')]&&_0x6988('0x77')==_0x442ff4[_0x6988('0x75')]);if(_0x317293[_0x6988('0x17')]>0x1&&_0x12b36f[_0x6988('0x4')][_0x6988('0x54')](_0x1b5971[_0x6988('0x46')]))return!0x0;if(0x1==_0x317293[_0x6988('0x17')]&&(_0x1b5971[_0x6988('0x46')]['isEqual'](_0x12b36f['end'])||_0x1b5971[_0x6988('0x4')][_0x6988('0x54')](_0x12b36f[_0x6988('0x46')])))return!0x0;}if(0x3==_0x3b4af8&&0x3==_0x226d60&&_0x1b5971[_0x6988('0x46')]['isBefore'](_0x12b36f['start'])){const _0x57c5da=_0x1b5971[_0x6988('0x4')][_0x6988('0x27')],_0x58cb0c=_0x12b36f['start']['nodeBefore'];return _0x28934b[_0x6988('0x26')](_0x57c5da)&&_0x57c5da===_0x58cb0c;}return!0x1;}function _0x35fd66(_0x2ba4f2,_0x508f6d){return _0x28548b(_0x2ba4f2,_0x508f6d)?[_0x2ba4f2,_0x508f6d]:_0x28548b(_0x508f6d,_0x2ba4f2)?[_0x508f6d,_0x2ba4f2]:null;}_0x598d5e[_0x6988('0x24')]['document'][_0x6988('0x59')](()=>{let _0x371882=!0x1;const _0x5ce219=Array[_0x6988('0x79')](_0x598d5e[_0x6988('0x24')][_0x6988('0xf')][_0x6988('0x31')][_0x6988('0x2b')]());for(const {name:_0x2278c3,data:_0x213f0e}of _0x5ce219){const {group:_0x1f1744,type:_0x2de49d,subType:_0x3ea919,id:_0x152863}=_0x4c33ba[_0x6988('0x0')](_0x2278c3);if(_0x6988('0x5b')==_0x1f1744&&_0x4c33ba['hasSuggestion'](_0x152863)){if(_0x6988('0x42')==_0x2de49d&&(_0x6988('0x56')==_0x3ea919||'imageStylePostApply'==_0x3ea919)){const _0x57ff=_0x4c33ba['getSuggestion'](_0x152863);if(_0x213f0e[_0x6988('0x62')]){const _0x1647e0=_0x57ff[_0x6988('0x36')]()[_0x6988('0x78')]();if(_0x28934b[_0x6988('0x26')](_0x1647e0))continue;_0x4c33ba[_0x6988('0x1c')](_0x57ff),_0x371882=!0x0;}}if(_0x6988('0x2c')==_0x2de49d&&_0x6988('0x30')==_0x3ea919&&!_0x213f0e[_0x6988('0x62')]){const _0x5a4f36=_0x4c33ba[_0x6988('0x2')](_0x152863);_0x5a4f36[_0x6988('0x3a')]&&_0x5a4f36[_0x6988('0x3a')][_0x6988('0x60')]&&(_0x4c33ba[_0x6988('0x1c')](_0x5a4f36[_0x6988('0x3a')]),_0x371882=!0x0);}}}return _0x371882;}),_0x598d5e[_0x6988('0x8')]['has'](_0x6988('0x68'))&&_0x4c33ba[_0x6988('0x2f')](_0x6988('0x57'),(_0x12e4a1,_0x294b82)=>{const _0x1778c5=_0x28934b[_0x6988('0x3b')](_0x598d5e[_0x6988('0x24')][_0x6988('0xf')][_0x6988('0x18')]);_0x1778c5['getAttribute']('width')!=_0x294b82[_0x6988('0x5c')]&&_0x598d5e[_0x6988('0x24')][_0x6988('0x34')](()=>{_0x4c33ba[_0x6988('0x20')](_0x1778c5,{'commandName':_0x6988('0x57'),'commandParams':[_0x294b82]});});}),_0x598d5e[_0x6988('0x8')][_0x6988('0x2a')](_0x6988('0x4f'))&&_0x4c33ba['enableCommand'](_0x6988('0x41'),(_0x1954b1,_0x237270)=>{const _0x6f2cc=_0x28934b['getClosestSelectedImageElement'](_0x598d5e['model'][_0x6988('0xf')][_0x6988('0x18')]);(_0x6f2cc[_0x6988('0x45')](_0x6988('0x58'))?_0x6f2cc[_0x6988('0x4d')]('alt'):'')!=_0x237270['newValue']&&_0x598d5e[_0x6988('0x24')]['change'](()=>{_0x4c33ba[_0x6988('0x20')](_0x6f2cc,{'commandName':_0x6988('0x41'),'commandParams':[_0x237270]});});}),_0x4c33ba['_descriptionFactory'][_0x6988('0x6')](_0x2bb663=>{if(!!_0x4a4088[_0x6988('0x22')](({type:_0x492f46,subType:_0x244bfc})=>_0x2bb663[_0x6988('0x73')]==_0x492f46&&_0x2bb663['subType']==_0x244bfc))return _0x2bb663[_0x6988('0x74')]?{}:void 0x0;}),_0x4c33ba['_descriptionFactory'][_0x6988('0x6')](_0xab6486=>{if(_0x6988('0x2c')==_0xab6486['type']||_0x6988('0x1e')==_0xab6486[_0x6988('0x73')]){const _0xdcf3e2=_0xab6486[_0x6988('0x78')]();if(_0xdcf3e2&&_0xdcf3e2['is']('element','caption'))return{'type':'insertion'==_0xab6486[_0x6988('0x73')]?'addObject':_0x6988('0x64'),'element':_0xdcf3e2,'quantity':0x1};}}),_0x4c33ba[_0x6988('0x9')]['registerDescriptionCallback'](_0x3918d0=>_0x6988('0x42')==_0x3918d0[_0x6988('0x73')]&&_0x6988('0x77')==_0x3918d0[_0x6988('0x75')]?{'type':'format','content':_0x6988('0x69')}:'formatBlock'==_0x3918d0[_0x6988('0x73')]&&_0x6988('0x6d')==_0x3918d0[_0x6988('0x75')]?{'type':_0x6988('0x35'),'content':_0x6988('0x43')}:void 0x0),_0x4c33ba['_descriptionFactory'][_0x6988('0x6')](_0x34c1d2=>{const {data:_0x3bc957}=_0x34c1d2;if(_0x3bc957){if(_0x6988('0x2d')==_0x3bc957['commandName']){const _0x59779a=_0x3bc957[_0x6988('0x47')][0x0][_0x6988('0x7')];return _0xbd38ca(_0x6988('0x23')===_0x59779a?_0x2a6d82(_0x571408,'FORMAT_SIDE_IMAGE'):_0x32be96[_0x59779a]||_0x59779a);}if('imageTextAlternative'==_0x3bc957[_0x6988('0xb')]){const _0x382e34=_0x3bc957[_0x6988('0x47')][0x0]['newValue'];return _0x382e34?{'type':_0x6988('0x35'),'content':_0x2a6d82(_0x571408,_0x6988('0x48'),'\x22'+_0x382e34+'\x22')}:{'type':_0x6988('0x35'),'content':_0x2a6d82(_0x571408,_0x6988('0x3'))};}if(_0x6988('0x57')==_0x3bc957[_0x6988('0xb')]){const _0x1440ed=_0x3bc957[_0x6988('0x47')][0x0][_0x6988('0x5c')];return _0x1440ed?{'type':_0x6988('0x35'),'content':_0x2a6d82(_0x571408,'*Set\x20image\x20width:*\x20%0',_0x1440ed)}:{'type':'format','content':_0x2a6d82(_0x571408,_0x6988('0x5'))};}}function _0xbd38ca(_0x521915){return{'type':_0x6988('0x35'),'content':_0x2a6d82(_0x571408,_0x6988('0x5a'),_0x521915)};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x485e=['enableCommand','editor','has','getAttribute','commandParams','get','markBlockFormat','formatBlock','author','TrackChangesEditing','accept','document','_descriptionFactory','handleReplaceImageCommand','discard','ImageEditing','*Format:*\x20replace\x20image\x20URL','subType','model','data','locale','registerCustomCallback','handleSuggestionDescription','getSuggestionCallback','plugins','getSelectedElement','afterInit','selection','registerDescriptionCallback','getContainedElement','_suggestionFactory','commandName','replaceImageSource','getSuggestions'];(function(_0x29fd14,_0x485edd){const _0x4c6905=function(_0x14bf19){while(--_0x14bf19){_0x29fd14['push'](_0x29fd14['shift']());}};_0x4c6905(++_0x485edd);}(_0x485e,0x114));const _0x4c69=function(_0x29fd14,_0x485edd){_0x29fd14=_0x29fd14-0x0;let _0x4c6905=_0x485e[_0x29fd14];return _0x4c6905;};import{Plugin as _0x695072}from'ckeditor5/src/core';import{getTranslation as _0x4e5b73}from'../utils/common-translations';export default class Y extends _0x695072{[_0x4c69('0x16')](){if(!this['editor'][_0x4c69('0x14')][_0x4c69('0x20')](_0x4c69('0xb')))return;const _0x2ef08f=this[_0x4c69('0x1f')][_0x4c69('0x14')][_0x4c69('0x1')](_0x4c69('0x5'));_0x2ef08f[_0x4c69('0x1e')](_0x4c69('0x1c'),(_0x1fe60e,_0x4ecae1)=>this[_0x4c69('0x9')](_0x1fe60e,_0x4ecae1)),_0x2ef08f[_0x4c69('0x1a')][_0x4c69('0x11')](_0x4c69('0x3'),'replaceImageSource',_0x4c69('0x6'),_0x2ef08f[_0x4c69('0x1a')][_0x4c69('0x13')]('formatBlock',null,_0x4c69('0xa'))),_0x2ef08f[_0x4c69('0x1a')][_0x4c69('0x11')](_0x4c69('0x3'),_0x4c69('0x1c'),_0x4c69('0xa'),_0x2ef08f['_suggestionFactory'][_0x4c69('0x13')]('formatBlock',null,'accept')),_0x2ef08f[_0x4c69('0x8')][_0x4c69('0x18')](_0x2667bd=>this[_0x4c69('0x12')](_0x2667bd));}[_0x4c69('0x9')](_0x2c381a,_0x57a3e9){const _0x41cdf1=this[_0x4c69('0x1f')][_0x4c69('0x14')]['get'](_0x4c69('0x5')),_0x310f22=this[_0x4c69('0x1f')][_0x4c69('0xe')][_0x4c69('0x7')][_0x4c69('0x17')][_0x4c69('0x15')]();this[_0x4c69('0x1f')][_0x4c69('0xe')]['change'](()=>{let _0x3ff1b1=_0x310f22[_0x4c69('0x21')]('src');const _0x3ec553=this[_0x4c69('0x1f')][_0x4c69('0x14')][_0x4c69('0x1')]('Users')['me'];for(const _0x1e0c27 of _0x41cdf1[_0x4c69('0x1d')]({'skipNotAttached':!0x0})){const _0x2fa7a6=_0x1e0c27[_0x4c69('0x19')]();if(_0x4c69('0x1c')===_0x1e0c27[_0x4c69('0xd')]&&_0x2fa7a6===_0x310f22){_0x1e0c27[_0x4c69('0x4')]!==_0x3ec553&&_0x1e0c27['discard'](),_0x3ff1b1=_0x1e0c27[_0x4c69('0xf')][_0x4c69('0x0')][0x0]['source'];break;}}_0x2c381a(_0x57a3e9),_0x41cdf1[_0x4c69('0x2')](_0x310f22,{'commandName':'replaceImageSource','commandParams':[{'source':_0x3ff1b1}]},[],_0x4c69('0x1c'));});}['handleSuggestionDescription'](_0x48f9fc){const {data:_0xefdd30}=_0x48f9fc;if(_0xefdd30&&_0x4c69('0x1c')===_0xefdd30[_0x4c69('0x1b')]){const _0x6a38d0=_0x4c69('0xc');return{'type':'format','content':_0x4e5b73(this[_0x4c69('0x1f')][_0x4c69('0x10')],_0x6a38d0)};}}}
23
+ const _0x26ce=['document','editor','registerCustomCallback','formatBlock','TrackChangesEditing','src','getSuggestions','_suggestionFactory','*Format:*\x20replace\x20image\x20URL','getAttribute','plugins','ImageEditing','getSuggestionCallback','handleSuggestionDescription','replaceImageSource','discard','get','author','markBlockFormat','afterInit','source','commandParams','selection','Users','model','enableCommand','handleReplaceImageCommand','subType','accept'];(function(_0x11c214,_0x26ce0a){const _0x2ee217=function(_0x1041ba){while(--_0x1041ba){_0x11c214['push'](_0x11c214['shift']());}};_0x2ee217(++_0x26ce0a);}(_0x26ce,0xae));const _0x2ee2=function(_0x11c214,_0x26ce0a){_0x11c214=_0x11c214-0x0;let _0x2ee217=_0x26ce[_0x11c214];return _0x2ee217;};import{Plugin as _0x2fc6e4}from'ckeditor5/src/core';import{getTranslation as _0x4b4479}from'../utils/common-translations';export default class Y extends _0x2fc6e4{[_0x2ee2('0x13')](){if(!this[_0x2ee2('0x1')][_0x2ee2('0xa')]['has'](_0x2ee2('0xb')))return;const _0x46de6c=this[_0x2ee2('0x1')][_0x2ee2('0xa')][_0x2ee2('0x10')](_0x2ee2('0x4'));_0x46de6c[_0x2ee2('0x19')](_0x2ee2('0xe'),(_0x2fc52c,_0x514760)=>this[_0x2ee2('0x1a')](_0x2fc52c,_0x514760)),_0x46de6c[_0x2ee2('0x7')][_0x2ee2('0x2')]('formatBlock',_0x2ee2('0xe'),_0x2ee2('0x1c'),_0x46de6c['_suggestionFactory'][_0x2ee2('0xc')](_0x2ee2('0x3'),null,_0x2ee2('0xf'))),_0x46de6c[_0x2ee2('0x7')][_0x2ee2('0x2')](_0x2ee2('0x3'),'replaceImageSource','discard',_0x46de6c['_suggestionFactory'][_0x2ee2('0xc')](_0x2ee2('0x3'),null,_0x2ee2('0x1c'))),_0x46de6c['_descriptionFactory']['registerDescriptionCallback'](_0x3e5f01=>this[_0x2ee2('0xd')](_0x3e5f01));}[_0x2ee2('0x1a')](_0x4b170e,_0x3be1a9){const _0x1bf23e=this[_0x2ee2('0x1')][_0x2ee2('0xa')][_0x2ee2('0x10')](_0x2ee2('0x4')),_0x55c509=this[_0x2ee2('0x1')]['model'][_0x2ee2('0x0')][_0x2ee2('0x16')]['getSelectedElement']();this[_0x2ee2('0x1')][_0x2ee2('0x18')]['change'](()=>{let _0x304a1d=_0x55c509[_0x2ee2('0x9')](_0x2ee2('0x5'));const _0x221f34=this['editor'][_0x2ee2('0xa')]['get'](_0x2ee2('0x17'))['me'];for(const _0x345304 of _0x1bf23e[_0x2ee2('0x6')]({'skipNotAttached':!0x0})){const _0x15a974=_0x345304['getContainedElement']();if(_0x2ee2('0xe')===_0x345304[_0x2ee2('0x1b')]&&_0x15a974===_0x55c509){_0x345304[_0x2ee2('0x11')]!==_0x221f34&&_0x345304['discard'](),_0x304a1d=_0x345304['data'][_0x2ee2('0x15')][0x0][_0x2ee2('0x14')];break;}}_0x4b170e(_0x3be1a9),_0x1bf23e[_0x2ee2('0x12')](_0x55c509,{'commandName':_0x2ee2('0xe'),'commandParams':[{'source':_0x304a1d}]},[],_0x2ee2('0xe'));});}['handleSuggestionDescription'](_0x27220c){const {data:_0x21e84e}=_0x27220c;if(_0x21e84e&&'replaceImageSource'===_0x21e84e['commandName']){const _0x28f4c7=_0x2ee2('0x8');return{'type':'format','content':_0x4b4479(this[_0x2ee2('0x1')]['locale'],_0x28f4c7)};}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1d84=['plugins','TrackChangesEditing','importWord','high','_handleImportedData','commands','lowest','_setSuggestionData','afterInit','track_changes','collaboration_features','value','get','editor','_trackChangesValueDuringImport','Users','forEach','trackChanges','listenTo','dataInsert','_trackChangesExecuted','execute'];(function(_0x16391d,_0x1d8477){const _0x24aa70=function(_0x58f2ea){while(--_0x58f2ea){_0x16391d['push'](_0x16391d['shift']());}};_0x24aa70(++_0x1d8477);}(_0x1d84,0xc1));const _0x24aa=function(_0x16391d,_0x1d8477){_0x16391d=_0x16391d-0x0;let _0x24aa70=_0x1d84[_0x16391d];return _0x24aa70;};import{Plugin as _0x19b531}from'ckeditor5/src/core';export default class Z extends _0x19b531{constructor(_0x2d1941){super(_0x2d1941),this[_0x24aa('0x13')]=!0x1,this[_0x24aa('0x3')]=!0x1;}[_0x24aa('0xd')](){const _0x15c4b3=this['editor'],_0x343eef=_0x15c4b3[_0x24aa('0xa')][_0x24aa('0x11')](_0x24aa('0x7')),_0x52e1e6=_0x15c4b3['commands'][_0x24aa('0x11')](_0x24aa('0x0'));_0x343eef&&(_0x343eef['on'](_0x24aa('0x4'),(_0x373d41,[,_0x9791d4])=>{this['_trackChangesValueDuringImport']=_0x52e1e6[_0x24aa('0x10')],_0x9791d4[_0x24aa('0xf')][_0x24aa('0xe')]=!this[_0x24aa('0x13')];},{'priority':_0x24aa('0x8')}),this[_0x24aa('0x1')](_0x343eef,'dataInsert',this[_0x24aa('0x9')]['bind'](this)),this[_0x24aa('0x1')](_0x343eef,_0x24aa('0x2'),()=>{this[_0x24aa('0x3')]&&(_0x52e1e6[_0x24aa('0x4')](),this[_0x24aa('0x3')]=!0x1);},{'priority':_0x24aa('0xb')}),_0x15c4b3['plugins'][_0x24aa('0x11')](_0x24aa('0x6'))['enableCommand'](_0x24aa('0x7')));}[_0x24aa('0x9')](_0x510c37,_0x2a2a0a){const {suggestions:_0x4519ec}=_0x2a2a0a,_0x577e9f=this['editor']['commands'][_0x24aa('0x11')](_0x24aa('0x0')),_0x89ae7c=_0x577e9f[_0x24aa('0x10')];this['_trackChangesValueDuringImport']!==_0x89ae7c&&(_0x577e9f[_0x24aa('0x4')](),this[_0x24aa('0x3')]=!0x0),_0x4519ec&&_0x4519ec[_0x24aa('0x15')](({id:_0x41c91b,type:_0x5a62c5,author:_0x515645,created_at:_0x4ab906})=>{const _0x18a0fb={'id':_0x41c91b,'type':_0x5a62c5,'authorId':this['editor'][_0x24aa('0x5')][_0x24aa('0x11')](_0x24aa('0x14'))['me']['id'],'createdAt':new Date(),'data':null,'hasComments':!0x1,'attributes':{'@external':{'authorName':_0x515645,'createdAt':_0x4ab906?new Date(_0x4ab906):new Date(),'source':_0x24aa('0x7')}}};this[_0x24aa('0x12')][_0x24aa('0x5')][_0x24aa('0x11')](_0x24aa('0x6'))[_0x24aa('0xc')](_0x18a0fb);});}}
23
+ const _0x13f5=['get','TrackChangesEditing','trackChanges','lowest','forEach','commands','editor','enableCommand','collaboration_features','execute','_handleImportedData','plugins','bind','afterInit','importWord','_trackChangesValueDuringImport','dataInsert','track_changes','_trackChangesExecuted','value','listenTo','Users'];(function(_0x9558bd,_0x13f552){const _0x2bc84b=function(_0x341430){while(--_0x341430){_0x9558bd['push'](_0x9558bd['shift']());}};_0x2bc84b(++_0x13f552);}(_0x13f5,0x8b));const _0x2bc8=function(_0x9558bd,_0x13f552){_0x9558bd=_0x9558bd-0x0;let _0x2bc84b=_0x13f5[_0x9558bd];return _0x2bc84b;};import{Plugin as _0x51b063}from'ckeditor5/src/core';export default class Z extends _0x51b063{constructor(_0x3a9493){super(_0x3a9493),this[_0x2bc8('0x8')]=!0x1,this['_trackChangesExecuted']=!0x1;}[_0x2bc8('0x6')](){const _0x44e7b2=this['editor'],_0xd13e9a=_0x44e7b2['commands'][_0x2bc8('0xf')](_0x2bc8('0x7')),_0x25ea23=_0x44e7b2[_0x2bc8('0x14')]['get']('trackChanges');_0xd13e9a&&(_0xd13e9a['on'](_0x2bc8('0x2'),(_0x1c6f0e,[,_0x4a7736])=>{this[_0x2bc8('0x8')]=_0x25ea23[_0x2bc8('0xc')],_0x4a7736[_0x2bc8('0x1')][_0x2bc8('0xa')]=!this[_0x2bc8('0x8')];},{'priority':'high'}),this['listenTo'](_0xd13e9a,_0x2bc8('0x9'),this[_0x2bc8('0x3')][_0x2bc8('0x5')](this)),this[_0x2bc8('0xd')](_0xd13e9a,_0x2bc8('0x9'),()=>{this['_trackChangesExecuted']&&(_0x25ea23[_0x2bc8('0x2')](),this[_0x2bc8('0xb')]=!0x1);},{'priority':_0x2bc8('0x12')}),_0x44e7b2['plugins'][_0x2bc8('0xf')](_0x2bc8('0x10'))[_0x2bc8('0x0')](_0x2bc8('0x7')));}[_0x2bc8('0x3')](_0x59ede6,_0x16d4a4){const {suggestions:_0x356ef0}=_0x16d4a4,_0x4af4ba=this['editor'][_0x2bc8('0x14')]['get'](_0x2bc8('0x11')),_0x5c53b2=_0x4af4ba[_0x2bc8('0xc')];this['_trackChangesValueDuringImport']!==_0x5c53b2&&(_0x4af4ba[_0x2bc8('0x2')](),this['_trackChangesExecuted']=!0x0),_0x356ef0&&_0x356ef0[_0x2bc8('0x13')](({id:_0x2affef,type:_0x1ea971,author:_0xc363cd,created_at:_0x58c46d})=>{const _0x1a76e0={'id':_0x2affef,'type':_0x1ea971,'authorId':this['editor'][_0x2bc8('0x4')]['get'](_0x2bc8('0xe'))['me']['id'],'createdAt':new Date(),'data':null,'hasComments':!0x1,'attributes':{'@external':{'authorName':_0xc363cd,'createdAt':_0x58c46d?new Date(_0x58c46d):new Date(),'source':'importWord'}}};this[_0x2bc8('0x15')][_0x2bc8('0x4')][_0x2bc8('0xf')](_0x2bc8('0x10'))['_setSuggestionData'](_0x1a76e0);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3cf5=['editor','registerDescriptionCallback','has','indentBlock','indent','selection','blockIndent','afterInit','outdent','*Outdent:*\x20%0','markBlockFormat','filter','getItemLabel','document','outdentBlock','checkAttribute','*Indent:*\x20%0','format','_descriptionFactory','getItems','IndentEditing','change','commandName','plugins','model','enableCommand','from','get','IndentBlock'];(function(_0x7c9eed,_0x3cf536){const _0x35385c=function(_0xed597f){while(--_0xed597f){_0x7c9eed['push'](_0x7c9eed['shift']());}};_0x35385c(++_0x3cf536);}(_0x3cf5,0x84));const _0x3538=function(_0x7c9eed,_0x3cf536){_0x7c9eed=_0x7c9eed-0x0;let _0x35385c=_0x3cf5[_0x7c9eed];return _0x35385c;};import{Plugin as _0x2660ce}from'ckeditor5/src/core';import{getTranslation as _0x2f08ae}from'../utils/common-translations';export default class tt extends _0x2660ce{[_0x3538('0x14')](){const _0x53edca=this['editor'],_0x3f4a91=_0x53edca[_0x3538('0x7')][_0x3538('0xb')]('TrackChangesEditing');_0x53edca[_0x3538('0x7')]['has'](_0x3538('0x4'))&&(_0x3f4a91[_0x3538('0x9')](_0x3538('0x11')),_0x3f4a91[_0x3538('0x9')](_0x3538('0x15')));const _0x32778e=_0x53edca['locale'];if(_0x53edca[_0x3538('0x7')][_0x3538('0xf')](_0x3538('0xc'))){for(const _0x51fdc6 of[_0x3538('0x10'),_0x3538('0x1b')])_0x3f4a91[_0x3538('0x9')](_0x51fdc6,()=>{const _0x9610cb=Array[_0x3538('0xa')](this[_0x3538('0xd')][_0x3538('0x8')][_0x3538('0x1a')][_0x3538('0x12')]['getSelectedBlocks']())[_0x3538('0x18')](_0x297bbe=>this[_0x3538('0xd')]['model']['schema'][_0x3538('0x1c')](_0x297bbe,_0x3538('0x13')));_0x53edca[_0x3538('0x8')][_0x3538('0x5')](()=>{for(const _0x40d3be of _0x9610cb)_0x3f4a91[_0x3538('0x17')](_0x40d3be,{'commandName':_0x51fdc6,'commandParams':[{'value':''}],'formatGroupId':_0x3538('0x10')});});});_0x3f4a91[_0x3538('0x2')][_0x3538('0xe')](_0x3a82c6=>{const {data:_0x103737}=_0x3a82c6;if(!_0x103737)return;if(_0x3538('0x10')!=_0x103737[_0x3538('0x6')]&&_0x3538('0x1b')!=_0x103737[_0x3538('0x6')])return;const _0x4b56f9=_0x3a82c6[_0x3538('0x3')]()[0x0],_0x4ae8e8=_0x3f4a91[_0x3538('0x2')][_0x3538('0x19')](_0x4b56f9);return _0x3538('0x10')==_0x103737[_0x3538('0x6')]?{'type':_0x3538('0x1'),'content':_0x2f08ae(_0x32778e,_0x3538('0x0'),_0x4ae8e8)}:'outdentBlock'==_0x103737[_0x3538('0x6')]?{'type':_0x3538('0x1'),'content':_0x2f08ae(_0x32778e,_0x3538('0x16'),_0x4ae8e8)}:void 0x0;});}}}
23
+ const _0x4c66=['plugins','filter','blockIndent','schema','*Outdent:*\x20%0','getSelectedBlocks','checkAttribute','document','enableCommand','TrackChangesEditing','getItems','editor','_descriptionFactory','registerDescriptionCallback','get','markBlockFormat','outdent','from','commandName','IndentEditing','getItemLabel','change','format','afterInit','indentBlock','outdentBlock','*Indent:*\x20%0','model','IndentBlock'];(function(_0x204cc6,_0x4c668f){const _0x1b50b3=function(_0x4e083a){while(--_0x4e083a){_0x204cc6['push'](_0x204cc6['shift']());}};_0x1b50b3(++_0x4c668f);}(_0x4c66,0xeb));const _0x1b50=function(_0x204cc6,_0x4c668f){_0x204cc6=_0x204cc6-0x0;let _0x1b50b3=_0x4c66[_0x204cc6];return _0x1b50b3;};import{Plugin as _0x1be753}from'ckeditor5/src/core';import{getTranslation as _0x480250}from'../utils/common-translations';export default class tt extends _0x1be753{[_0x1b50('0x14')](){const _0x1b4e98=this[_0x1b50('0x8')],_0x696774=_0x1b4e98[_0x1b50('0x1a')][_0x1b50('0xb')](_0x1b50('0x6'));_0x1b4e98[_0x1b50('0x1a')]['has'](_0x1b50('0x10'))&&(_0x696774[_0x1b50('0x5')]('indent'),_0x696774[_0x1b50('0x5')](_0x1b50('0xd')));const _0x2917fb=_0x1b4e98['locale'];if(_0x1b4e98['plugins']['has'](_0x1b50('0x19'))){for(const _0x2f92c1 of[_0x1b50('0x15'),_0x1b50('0x16')])_0x696774[_0x1b50('0x5')](_0x2f92c1,()=>{const _0x198867=Array[_0x1b50('0xe')](this[_0x1b50('0x8')][_0x1b50('0x18')][_0x1b50('0x4')]['selection'][_0x1b50('0x2')]())[_0x1b50('0x1b')](_0x1d1d05=>this[_0x1b50('0x8')][_0x1b50('0x18')][_0x1b50('0x0')][_0x1b50('0x3')](_0x1d1d05,_0x1b50('0x1c')));_0x1b4e98[_0x1b50('0x18')][_0x1b50('0x12')](()=>{for(const _0x2427af of _0x198867)_0x696774[_0x1b50('0xc')](_0x2427af,{'commandName':_0x2f92c1,'commandParams':[{'value':''}],'formatGroupId':_0x1b50('0x15')});});});_0x696774['_descriptionFactory'][_0x1b50('0xa')](_0x569862=>{const {data:_0x534631}=_0x569862;if(!_0x534631)return;if(_0x1b50('0x15')!=_0x534631['commandName']&&_0x1b50('0x16')!=_0x534631[_0x1b50('0xf')])return;const _0x34a780=_0x569862[_0x1b50('0x7')]()[0x0],_0xc25cd1=_0x696774[_0x1b50('0x9')][_0x1b50('0x11')](_0x34a780);return _0x1b50('0x15')==_0x534631[_0x1b50('0xf')]?{'type':'format','content':_0x480250(_0x2917fb,_0x1b50('0x17'),_0xc25cd1)}:_0x1b50('0x16')==_0x534631[_0x1b50('0xf')]?{'type':_0x1b50('0x13'),'content':_0x480250(_0x2917fb,_0x1b50('0x1'),_0xc25cd1)}:void 0x0;});}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x2980=['enableCommand','editor','init','requires','plugins'];(function(_0x59207a,_0x298011){var _0x45fbb9=function(_0x23feb8){while(--_0x23feb8){_0x59207a['push'](_0x59207a['shift']());}};_0x45fbb9(++_0x298011);}(_0x2980,0x1da));var _0x45fb=function(_0x59207a,_0x298011){_0x59207a=_0x59207a-0x0;var _0x45fbb9=_0x2980[_0x59207a];return _0x45fbb9;};import{Plugin as _0x36c9fa}from'ckeditor5/src/core';import{Input as _0x3033d7}from'ckeditor5/src/typing';export default class it extends _0x36c9fa{static get[_0x45fb('0x4')](){return[_0x3033d7];}[_0x45fb('0x3')](){this[_0x45fb('0x2')][_0x45fb('0x0')]['get']('TrackChangesEditing')[_0x45fb('0x1')]('input');}}
23
+ var _0x5942=['TrackChangesEditing','input','requires','plugins','get','enableCommand','editor'];(function(_0x287d2c,_0x594277){var _0x378539=function(_0x4d9f82){while(--_0x4d9f82){_0x287d2c['push'](_0x287d2c['shift']());}};_0x378539(++_0x594277);}(_0x5942,0x10e));var _0x3785=function(_0x287d2c,_0x594277){_0x287d2c=_0x287d2c-0x0;var _0x378539=_0x5942[_0x287d2c];return _0x378539;};import{Plugin as _0x2765f8}from'ckeditor5/src/core';import{Input as _0x47d0ce}from'ckeditor5/src/typing';export default class it extends _0x2765f8{static get[_0x3785('0x5')](){return[_0x47d0ce];}['init'](){this[_0x3785('0x2')][_0x3785('0x6')][_0x3785('0x0')](_0x3785('0x3'))[_0x3785('0x1')](_0x3785('0x4'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1d5b=['afterInit','getAttribute','locale','commandName','linkHref','link','editor','from','registerDescriptionCallback','change','LinkEditing','get','document','has','plugins','isCollapsed','hasAttribute','model','TrackChangesEditing','getFirstPosition','getRanges','selection','enableCommand','markInlineFormat','unlink'];(function(_0x26eaac,_0x1d5bc7){const _0x430995=function(_0x3cbebe){while(--_0x3cbebe){_0x26eaac['push'](_0x26eaac['shift']());}};_0x430995(++_0x1d5bc7);}(_0x1d5b,0x107));const _0x4309=function(_0x26eaac,_0x1d5bc7){_0x26eaac=_0x26eaac-0x0;let _0x430995=_0x1d5b[_0x26eaac];return _0x430995;};import{Plugin as _0x4935a3}from'ckeditor5/src/core';import{findAttributeRange as _0x3eaa47}from'ckeditor5/src/typing';import{getRangesWithAttribute as _0x5cab7a}from'./utils';import{getTranslation as _0x3f2282}from'../utils/common-translations';export default class et extends _0x4935a3{[_0x4309('0xc')](){const _0x3befaf=this[_0x4309('0x12')];if(!_0x3befaf[_0x4309('0x1')][_0x4309('0x0')](_0x4309('0x16')))return;const _0x40b4d8=_0x3befaf[_0x4309('0x1')][_0x4309('0x17')](_0x4309('0x5'));_0x40b4d8['enableCommand'](_0x4309('0x11'),(_0x3a0ecf,_0x58a66f)=>{const _0x8e38e0=_0x3befaf['model'][_0x4309('0x18')][_0x4309('0x8')];let _0xab9db9=[];if(_0x8e38e0['isCollapsed']){if(!_0x8e38e0[_0x4309('0x3')](_0x4309('0x10')))return void _0x3a0ecf(_0x58a66f);{const _0x1b02a5=_0x3eaa47(_0x8e38e0[_0x4309('0x6')](),_0x4309('0x10'),_0x8e38e0[_0x4309('0xd')]('linkHref'),_0x3befaf['model']);_0xab9db9=[_0x1b02a5];}}else _0xab9db9=Array[_0x4309('0x13')](_0x8e38e0[_0x4309('0x7')]());_0x3befaf[_0x4309('0x4')]['change'](()=>{for(const _0x1efc05 of _0xab9db9)_0x40b4d8[_0x4309('0xa')](_0x1efc05,{'commandName':_0x4309('0x11'),'commandParams':[_0x58a66f]});});}),_0x40b4d8[_0x4309('0x9')]('unlink',()=>{const _0x2ddbb6=this[_0x4309('0x12')][_0x4309('0x4')],_0x452e51=_0x2ddbb6[_0x4309('0x18')][_0x4309('0x8')];_0x2ddbb6[_0x4309('0x15')](()=>{let _0x526fdb=[];if(_0x452e51[_0x4309('0x2')])_0x526fdb=[_0x3eaa47(_0x452e51[_0x4309('0x6')](),_0x4309('0x10'),_0x452e51[_0x4309('0xd')](_0x4309('0x10')),_0x3befaf[_0x4309('0x4')])];else _0x526fdb=_0x5cab7a(_0x4309('0x10'),_0x452e51['getFirstRange'](),_0x3befaf[_0x4309('0x4')]);for(const _0xce4637 of _0x526fdb)_0x40b4d8[_0x4309('0xa')](_0xce4637,{'commandName':_0x4309('0xb'),'commandParams':[]});});}),_0x40b4d8['_descriptionFactory'][_0x4309('0x14')](_0x2e6d14=>{const {data:_0x3f8e58}=_0x2e6d14,_0x2ea2c2=_0x3befaf[_0x4309('0xe')];if(_0x3f8e58){if(_0x4309('0x11')==_0x3f8e58[_0x4309('0xf')]){const _0x3b87a3=_0x3f8e58['commandParams'][0x0];return{'type':'format','content':_0x3f2282(_0x2ea2c2,'*Set\x20link:*\x20%0','\x22'+_0x3b87a3+'\x22')};}return'unlink'==_0x3f8e58[_0x4309('0xf')]?{'type':'format','content':_0x3f2282(_0x2ea2c2,'*Remove\x20link*')}:void 0x0;}});}}
23
+ const _0x33e0=['_descriptionFactory','format','get','LinkEditing','commandParams','editor','linkHref','link','locale','*Set\x20link:*\x20%0','isCollapsed','hasAttribute','enableCommand','model','getRanges','afterInit','getFirstPosition','change','getFirstRange','unlink','commandName','TrackChangesEditing','markInlineFormat','plugins','selection','document'];(function(_0x4aab6d,_0x33e09e){const _0x45f50d=function(_0x34cdd5){while(--_0x34cdd5){_0x4aab6d['push'](_0x4aab6d['shift']());}};_0x45f50d(++_0x33e09e);}(_0x33e0,0x19d));const _0x45f5=function(_0x4aab6d,_0x33e09e){_0x4aab6d=_0x4aab6d-0x0;let _0x45f50d=_0x33e0[_0x4aab6d];return _0x45f50d;};import{Plugin as _0x5775a3}from'ckeditor5/src/core';import{findAttributeRange as _0x35a008}from'ckeditor5/src/typing';import{getRangesWithAttribute as _0x44aa1b}from'./utils';import{getTranslation as _0x4a6b86}from'../utils/common-translations';export default class et extends _0x5775a3{[_0x45f5('0x12')](){const _0xc66646=this[_0x45f5('0x8')];if(!_0xc66646[_0x45f5('0x0')]['has'](_0x45f5('0x6')))return;const _0x2c4dd9=_0xc66646[_0x45f5('0x0')][_0x45f5('0x5')](_0x45f5('0x18'));_0x2c4dd9['enableCommand'](_0x45f5('0xa'),(_0x232c96,_0x43ac61)=>{const _0x43bbac=_0xc66646[_0x45f5('0x10')][_0x45f5('0x2')][_0x45f5('0x1')];let _0x14ce0f=[];if(_0x43bbac[_0x45f5('0xd')]){if(!_0x43bbac[_0x45f5('0xe')](_0x45f5('0x9')))return void _0x232c96(_0x43ac61);{const _0x3d280f=_0x35a008(_0x43bbac[_0x45f5('0x13')](),_0x45f5('0x9'),_0x43bbac['getAttribute'](_0x45f5('0x9')),_0xc66646[_0x45f5('0x10')]);_0x14ce0f=[_0x3d280f];}}else _0x14ce0f=Array['from'](_0x43bbac[_0x45f5('0x11')]());_0xc66646[_0x45f5('0x10')][_0x45f5('0x14')](()=>{for(const _0x46657d of _0x14ce0f)_0x2c4dd9[_0x45f5('0x19')](_0x46657d,{'commandName':_0x45f5('0xa'),'commandParams':[_0x43ac61]});});}),_0x2c4dd9[_0x45f5('0xf')](_0x45f5('0x16'),()=>{const _0x7c3c0e=this['editor'][_0x45f5('0x10')],_0x289eac=_0x7c3c0e[_0x45f5('0x2')]['selection'];_0x7c3c0e[_0x45f5('0x14')](()=>{let _0x5c680a=[];if(_0x289eac['isCollapsed'])_0x5c680a=[_0x35a008(_0x289eac['getFirstPosition'](),_0x45f5('0x9'),_0x289eac['getAttribute'](_0x45f5('0x9')),_0xc66646['model'])];else _0x5c680a=_0x44aa1b('linkHref',_0x289eac[_0x45f5('0x15')](),_0xc66646[_0x45f5('0x10')]);for(const _0x258db7 of _0x5c680a)_0x2c4dd9[_0x45f5('0x19')](_0x258db7,{'commandName':_0x45f5('0x16'),'commandParams':[]});});}),_0x2c4dd9[_0x45f5('0x3')]['registerDescriptionCallback'](_0x3ee273=>{const {data:_0x2d4e9f}=_0x3ee273,_0xb3a3=_0xc66646[_0x45f5('0xb')];if(_0x2d4e9f){if('link'==_0x2d4e9f[_0x45f5('0x17')]){const _0x4d6203=_0x2d4e9f[_0x45f5('0x7')][0x0];return{'type':_0x45f5('0x4'),'content':_0x4a6b86(_0xb3a3,_0x45f5('0xc'),'\x22'+_0x4d6203+'\x22')};}return _0x45f5('0x16')==_0x2d4e9f[_0x45f5('0x17')]?{'type':'format','content':_0x4a6b86(_0xb3a3,'*Remove\x20link*')}:void 0x0;}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xc1db=['slice','registerDescriptionCallback','parent','ListEditing','get','filter','nextSibling','TodoListEditing','ELEMENT_TODO_LIST','*Indent:*\x20%0','numberedList','execute','ELEMENT_BULLETED_LIST','*Change\x20to:*\x20%0','forceValue','_descriptionFactory','from','value','format','selection','commandParams','previousSibling','enableCommand','registerElementLabel','createPositionAt','length','paragraph','ELEMENT_LIST_ITEM','schema','change','listItem','has','indentList','markBlockFormat','*Uncheck\x20item*','getSelectedBlocks','model','before','numbered','listType','ELEMENT_NUMBERED_LIST','listIndent','getAttribute','todoListChecked','afterInit','editor','checkTodoList','commandName','commands','bulletedList','*Outdent:*\x20%0','end','push','isObject','name','plugins','blockName','createRange','add','checkChild','element','List','todoList'];(function(_0x28a789,_0xc1dbc9){const _0x22775f=function(_0x3264ba){while(--_0x3264ba){_0x28a789['push'](_0x28a789['shift']());}};_0x22775f(++_0xc1dbc9);}(_0xc1db,0x10e));const _0x2277=function(_0x28a789,_0xc1dbc9){_0x28a789=_0x28a789-0x0;let _0x22775f=_0xc1db[_0x28a789];return _0x22775f;};import{Plugin as _0x4c05cf}from'ckeditor5/src/core';import{getTranslation as _0x3461b0}from'../utils/common-translations';export default class st extends _0x4c05cf{[_0x2277('0x1a')](){const _0xa96ad2=this[_0x2277('0x1b')],_0x4cea16=_0xa96ad2['locale'];if(!_0xa96ad2[_0x2277('0x25')][_0x2277('0xd')](_0x2277('0x30')))return;const _0x3a647d=_0xa96ad2[_0x2277('0x25')][_0x2277('0x31')]('TrackChangesEditing'),_0x214e98=_0xa96ad2['plugins'][_0x2277('0xd')](_0x2277('0x34'));function _0x5c02e5(_0x286142){return()=>{const _0x3d1d37=_0xa96ad2[_0x2277('0x12')]['document']['selection'],_0x4ce8d7=_0xa96ad2['commands'][_0x2277('0x31')](_0x286142);if(_0x4ce8d7[_0x2277('0x3e')])return void _0xa96ad2[_0x2277('0x38')](_0x2277('0x8'),{});const _0x44735b=_0x286142[_0x2277('0x2d')](0x0,-0x4),_0x18c37d=function(_0x14b332,_0xfb549,_0x40411b){let _0x40800d=Array['from'](_0x14b332)['filter'](_0x222580=>function(_0x1e00d6,_0x12740c){return _0x12740c[_0x2277('0x29')](_0x1e00d6[_0x2277('0x2f')],'listItem')&&!_0x12740c[_0x2277('0x23')](_0x1e00d6);}(_0x222580,_0x40411b));_0x40800d=_0x40800d[_0x2277('0x32')](_0xb2319b=>!_0xb2319b['is'](_0x2277('0x2a'),_0x2277('0xc'))||_0xb2319b[_0x2277('0x18')](_0x2277('0x15'))!=_0xfb549);const _0x8b64d1=new Set();for(const _0x378ef8 of _0x40800d)_0x378ef8['is']('element','listItem')?_0x8b64d1[_0x2277('0x28')](ne(_0x378ef8)):_0x8b64d1[_0x2277('0x28')](_0x378ef8);return Array[_0x2277('0x3d')](_0x8b64d1);}(_0x3d1d37[_0x2277('0x11')](),_0x44735b,_0xa96ad2[_0x2277('0x12')][_0x2277('0xa')]);_0xa96ad2['model'][_0x2277('0xb')](()=>{for(const _0x3b94b1 of _0x18c37d)_0x3a647d[_0x2277('0xf')](_0x3b94b1,{'commandName':_0x286142,'commandParams':[{'forceValue':!_0x4ce8d7['value']}],'formatGroupId':_0x2277('0x26')},oe(_0x3b94b1));});};}function _0x1788e2(_0x74eb65){return()=>{const _0x15188e=function(_0x591ae4){let _0xb307d2=Array[_0x2277('0x3d')](_0x591ae4);const _0x2c2be4=_0xb307d2['findIndex'](_0x541f71=>_0x2277('0xc')!=_0x541f71[_0x2277('0x24')]);return _0x2c2be4>-0x1&&(_0xb307d2=_0xb307d2[_0x2277('0x2d')](0x0,_0x2c2be4)),_0xb307d2;}(_0xa96ad2[_0x2277('0x12')]['document'][_0x2277('0x1')][_0x2277('0x11')]()),_0x36ee36=_0xa96ad2[_0x2277('0x12')][_0x2277('0x27')](_0xa96ad2['model'][_0x2277('0x6')](_0x15188e[0x0],_0x2277('0x13')),_0xa96ad2[_0x2277('0x12')][_0x2277('0x6')](_0x15188e[_0x15188e[_0x2277('0x7')]-0x1],_0x2277('0x21')));_0xa96ad2['model']['change'](()=>{_0x3a647d[_0x2277('0xf')](_0x36ee36,{'commandName':_0x74eb65,'commandParams':[],'formatGroupId':_0x2277('0x17')},function(_0x28fa2b){const _0x5bd466=new Set();for(const _0x339726 of _0x28fa2b){let _0x50dc06=_0x339726[_0x2277('0x33')];for(;_0x50dc06&&_0x50dc06[_0x2277('0x18')](_0x2277('0x17'))>_0x339726[_0x2277('0x18')](_0x2277('0x17'));)_0x5bd466[_0x2277('0x28')](_0x50dc06),_0x50dc06=_0x50dc06['nextSibling'];}return Array[_0x2277('0x3d')](_0x5bd466);}(_0x15188e));});};}_0x3a647d[_0x2277('0x4')](_0x2277('0x37'),_0x5c02e5(_0x2277('0x37'))),_0x3a647d[_0x2277('0x4')](_0x2277('0x1f'),_0x5c02e5(_0x2277('0x1f'))),_0x214e98&&_0x3a647d[_0x2277('0x4')](_0x2277('0x2c'),_0x5c02e5(_0x2277('0x2c'))),_0x3a647d[_0x2277('0x4')](_0x2277('0xe'),_0x1788e2(_0x2277('0xe'))),_0x3a647d[_0x2277('0x4')]('outdentList',_0x1788e2('outdentList')),_0x214e98&&_0x3a647d[_0x2277('0x4')]('checkTodoList',()=>{const _0x1a6318=_0xa96ad2[_0x2277('0x1e')][_0x2277('0x31')](_0x2277('0x1c')),_0x382c3e=Array[_0x2277('0x3d')](_0x1a6318['_selectedElements']);_0x382c3e[_0x2277('0x32')](_0x142e39=>_0x142e39['getAttribute'](_0x2277('0x19'))!=_0x1a6318['value']),_0xa96ad2['model']['change'](()=>{for(const _0x446cea of _0x382c3e)_0x3a647d['markBlockFormat'](_0x446cea,{'commandName':_0x2277('0x1c'),'commandParams':[{'forceValue':!_0x1a6318[_0x2277('0x3e')]}]});});}),_0x3a647d[_0x2277('0x3c')][_0x2277('0x5')]('listItem',_0x25ae70=>_0x3461b0(_0x4cea16,_0x2277('0x9'),_0x25ae70)),_0x3a647d[_0x2277('0x3c')][_0x2277('0x2e')](_0x419fe9=>{const {data:_0x53768a}=_0x419fe9;if(_0x53768a){if(_0x2277('0x37')==_0x53768a[_0x2277('0x1d')]||_0x2277('0x1f')==_0x53768a[_0x2277('0x1d')]||_0x2277('0x2c')==_0x53768a[_0x2277('0x1d')])switch(_0x53768a[_0x2277('0x1d')]['replace'](_0x2277('0x2b'),'')){case'bulleted':return _0x55da32(_0x3461b0(_0x4cea16,_0x2277('0x39')));case _0x2277('0x14'):return _0x55da32(_0x3461b0(_0x4cea16,_0x2277('0x16')));case'todo':return _0x55da32(_0x3461b0(_0x4cea16,_0x2277('0x35')));}if(_0x2277('0xe')==_0x53768a['commandName'])return{'type':_0x2277('0x0'),'content':_0x3461b0(_0x4cea16,_0x2277('0x36'),_0x3461b0(_0x4cea16,'ELEMENT_LIST_ITEM'))};if('outdentList'==_0x53768a['commandName'])return{'type':'format','content':_0x3461b0(_0x4cea16,_0x2277('0x20'),_0x3461b0(_0x4cea16,'ELEMENT_LIST_ITEM'))};if(_0x2277('0x1c')==_0x53768a[_0x2277('0x1d')])return _0x53768a[_0x2277('0x2')][0x0][_0x2277('0x3b')]?{'type':_0x2277('0x0'),'content':_0x3461b0(_0x4cea16,'*Check\x20item*')}:{'type':'format','content':_0x3461b0(_0x4cea16,_0x2277('0x10'))};}function _0x55da32(_0x24be58){return{'type':_0x2277('0x0'),'content':_0x3461b0(_0x4cea16,_0x2277('0x3a'),_0x24be58)};}});}}function ne(_0x565c80){const _0xef12b3=_0x565c80[_0x2277('0x18')](_0x2277('0x17'));if(0x0==_0xef12b3)return _0x565c80;let _0x5f2ff9=_0x565c80;for(;_0x565c80[_0x2277('0x3')]&&_0x565c80[_0x2277('0x3')]['is'](_0x2277('0x2a'),_0x2277('0xc'));){const _0x3f2e95=_0x565c80['previousSibling'][_0x2277('0x18')]('listIndent');if(_0x3f2e95==_0xef12b3)_0x5f2ff9=_0x565c80['previousSibling'];else{if(_0x3f2e95<_0xef12b3)break;}_0x565c80=_0x565c80[_0x2277('0x3')];}return _0x5f2ff9;}function oe(_0xc34616){const _0x456086=[];if(_0xc34616['is'](_0x2277('0x2a'),_0x2277('0xc'))&&_0xc34616[_0x2277('0x18')](_0x2277('0x17'))>0x0){let _0x239eb1=_0xc34616[_0x2277('0x33')];for(;_0x239eb1&&_0x2277('0xc')==_0x239eb1[_0x2277('0x24')]&&_0x239eb1[_0x2277('0x18')](_0x2277('0x17'))==_0xc34616[_0x2277('0x18')](_0x2277('0x17'));)_0x456086[_0x2277('0x22')](_0x239eb1),_0x239eb1=_0x239eb1[_0x2277('0x33')];}return _0x456086;}
23
+ const _0x123d=['commands','getAttribute','todoList','markBlockFormat','replace','indentList','name','enableCommand','*Indent:*\x20%0','afterInit','isObject','paragraph','forceValue','element','listIndent','ELEMENT_BULLETED_LIST','bulletedList','get','parent','commandName','execute','value','todo','from','numbered','createRange','todoListChecked','_descriptionFactory','push','plugins','filter','end','listItem','has','ELEMENT_TODO_LIST','findIndex','getSelectedBlocks','List','commandParams','ELEMENT_LIST_ITEM','schema','createPositionAt','blockName','nextSibling','outdentList','*Check\x20item*','format','*Outdent:*\x20%0','bulleted','model','previousSibling','*Uncheck\x20item*','ListEditing','checkTodoList','TodoListEditing','editor','_selectedElements','locale','TrackChangesEditing','registerDescriptionCallback','change','selection','slice','checkChild','numberedList','add'];(function(_0x4fc512,_0x123df5){const _0x5bc61f=function(_0x4c39c5){while(--_0x4c39c5){_0x4fc512['push'](_0x4fc512['shift']());}};_0x5bc61f(++_0x123df5);}(_0x123d,0x1b3));const _0x5bc6=function(_0x4fc512,_0x123df5){_0x4fc512=_0x4fc512-0x0;let _0x5bc61f=_0x123d[_0x4fc512];return _0x5bc61f;};import{Plugin as _0x3fa165}from'ckeditor5/src/core';import{getTranslation as _0x3643fc}from'../utils/common-translations';export default class st extends _0x3fa165{[_0x5bc6('0x24')](){const _0x4d6a2e=this[_0x5bc6('0x10')],_0x1b3ff1=_0x4d6a2e[_0x5bc6('0x12')];if(!_0x4d6a2e['plugins']['has'](_0x5bc6('0xd')))return;const _0x27a162=_0x4d6a2e[_0x5bc6('0x38')][_0x5bc6('0x2c')](_0x5bc6('0x13')),_0x39b2b7=_0x4d6a2e[_0x5bc6('0x38')][_0x5bc6('0x3c')](_0x5bc6('0xf'));function _0x44beb8(_0x447f79){return()=>{const _0x57fbc1=_0x4d6a2e[_0x5bc6('0xa')]['document'][_0x5bc6('0x16')],_0x493956=_0x4d6a2e[_0x5bc6('0x1b')][_0x5bc6('0x2c')](_0x447f79);if(_0x493956[_0x5bc6('0x30')])return void _0x4d6a2e[_0x5bc6('0x2f')](_0x5bc6('0x26'),{});const _0x2df2c2=_0x447f79[_0x5bc6('0x17')](0x0,-0x4),_0x2f0886=function(_0x167b82,_0x2cb527,_0x4ecbe4){let _0x4fd722=Array['from'](_0x167b82)['filter'](_0x463641=>function(_0x4a9927,_0xe717c4){return _0xe717c4[_0x5bc6('0x18')](_0x4a9927[_0x5bc6('0x2d')],_0x5bc6('0x3b'))&&!_0xe717c4[_0x5bc6('0x25')](_0x4a9927);}(_0x463641,_0x4ecbe4));_0x4fd722=_0x4fd722[_0x5bc6('0x39')](_0x400e9f=>!_0x400e9f['is'](_0x5bc6('0x28'),_0x5bc6('0x3b'))||_0x400e9f[_0x5bc6('0x1c')]('listType')!=_0x2cb527);const _0x3f32ec=new Set();for(const _0x4794f9 of _0x4fd722)_0x4794f9['is'](_0x5bc6('0x28'),'listItem')?_0x3f32ec[_0x5bc6('0x1a')](ne(_0x4794f9)):_0x3f32ec[_0x5bc6('0x1a')](_0x4794f9);return Array[_0x5bc6('0x32')](_0x3f32ec);}(_0x57fbc1[_0x5bc6('0x3f')](),_0x2df2c2,_0x4d6a2e[_0x5bc6('0xa')][_0x5bc6('0x1')]);_0x4d6a2e[_0x5bc6('0xa')][_0x5bc6('0x15')](()=>{for(const _0x159821 of _0x2f0886)_0x27a162[_0x5bc6('0x1e')](_0x159821,{'commandName':_0x447f79,'commandParams':[{'forceValue':!_0x493956[_0x5bc6('0x30')]}],'formatGroupId':_0x5bc6('0x3')},oe(_0x159821));});};}function _0x2b4c15(_0x4f38f2){return()=>{const _0x4f8df9=function(_0x492455){let _0x3202be=Array[_0x5bc6('0x32')](_0x492455);const _0x4a42aa=_0x3202be[_0x5bc6('0x3e')](_0x284f99=>'listItem'!=_0x284f99[_0x5bc6('0x21')]);return _0x4a42aa>-0x1&&(_0x3202be=_0x3202be[_0x5bc6('0x17')](0x0,_0x4a42aa)),_0x3202be;}(_0x4d6a2e[_0x5bc6('0xa')]['document'][_0x5bc6('0x16')][_0x5bc6('0x3f')]()),_0xa4e34f=_0x4d6a2e['model'][_0x5bc6('0x34')](_0x4d6a2e[_0x5bc6('0xa')]['createPositionAt'](_0x4f8df9[0x0],'before'),_0x4d6a2e['model'][_0x5bc6('0x2')](_0x4f8df9[_0x4f8df9['length']-0x1],_0x5bc6('0x3a')));_0x4d6a2e[_0x5bc6('0xa')][_0x5bc6('0x15')](()=>{_0x27a162['markBlockFormat'](_0xa4e34f,{'commandName':_0x4f38f2,'commandParams':[],'formatGroupId':_0x5bc6('0x29')},function(_0x11c358){const _0x20d2d9=new Set();for(const _0x29ee8c of _0x11c358){let _0x428a4e=_0x29ee8c[_0x5bc6('0x4')];for(;_0x428a4e&&_0x428a4e[_0x5bc6('0x1c')]('listIndent')>_0x29ee8c[_0x5bc6('0x1c')](_0x5bc6('0x29'));)_0x20d2d9['add'](_0x428a4e),_0x428a4e=_0x428a4e[_0x5bc6('0x4')];}return Array[_0x5bc6('0x32')](_0x20d2d9);}(_0x4f8df9));});};}_0x27a162[_0x5bc6('0x22')](_0x5bc6('0x19'),_0x44beb8(_0x5bc6('0x19'))),_0x27a162[_0x5bc6('0x22')]('bulletedList',_0x44beb8(_0x5bc6('0x2b'))),_0x39b2b7&&_0x27a162[_0x5bc6('0x22')](_0x5bc6('0x1d'),_0x44beb8(_0x5bc6('0x1d'))),_0x27a162[_0x5bc6('0x22')]('indentList',_0x2b4c15(_0x5bc6('0x20'))),_0x27a162[_0x5bc6('0x22')]('outdentList',_0x2b4c15(_0x5bc6('0x5'))),_0x39b2b7&&_0x27a162['enableCommand'](_0x5bc6('0xe'),()=>{const _0x1b033f=_0x4d6a2e[_0x5bc6('0x1b')]['get'](_0x5bc6('0xe')),_0x35e1a5=Array[_0x5bc6('0x32')](_0x1b033f[_0x5bc6('0x11')]);_0x35e1a5[_0x5bc6('0x39')](_0x58ad7b=>_0x58ad7b['getAttribute'](_0x5bc6('0x35'))!=_0x1b033f[_0x5bc6('0x30')]),_0x4d6a2e[_0x5bc6('0xa')][_0x5bc6('0x15')](()=>{for(const _0x2a1cf4 of _0x35e1a5)_0x27a162['markBlockFormat'](_0x2a1cf4,{'commandName':'checkTodoList','commandParams':[{'forceValue':!_0x1b033f[_0x5bc6('0x30')]}]});});}),_0x27a162[_0x5bc6('0x36')]['registerElementLabel']('listItem',_0x369ff1=>_0x3643fc(_0x1b3ff1,'ELEMENT_LIST_ITEM',_0x369ff1)),_0x27a162['_descriptionFactory'][_0x5bc6('0x14')](_0x1dbf6c=>{const {data:_0x521c13}=_0x1dbf6c;if(_0x521c13){if(_0x5bc6('0x19')==_0x521c13[_0x5bc6('0x2e')]||_0x5bc6('0x2b')==_0x521c13[_0x5bc6('0x2e')]||_0x5bc6('0x1d')==_0x521c13['commandName'])switch(_0x521c13['commandName'][_0x5bc6('0x1f')](_0x5bc6('0x40'),'')){case _0x5bc6('0x9'):return _0xcb23cc(_0x3643fc(_0x1b3ff1,_0x5bc6('0x2a')));case _0x5bc6('0x33'):return _0xcb23cc(_0x3643fc(_0x1b3ff1,'ELEMENT_NUMBERED_LIST'));case _0x5bc6('0x31'):return _0xcb23cc(_0x3643fc(_0x1b3ff1,_0x5bc6('0x3d')));}if(_0x5bc6('0x20')==_0x521c13[_0x5bc6('0x2e')])return{'type':_0x5bc6('0x7'),'content':_0x3643fc(_0x1b3ff1,_0x5bc6('0x23'),_0x3643fc(_0x1b3ff1,_0x5bc6('0x0')))};if(_0x5bc6('0x5')==_0x521c13['commandName'])return{'type':_0x5bc6('0x7'),'content':_0x3643fc(_0x1b3ff1,_0x5bc6('0x8'),_0x3643fc(_0x1b3ff1,'ELEMENT_LIST_ITEM'))};if(_0x5bc6('0xe')==_0x521c13[_0x5bc6('0x2e')])return _0x521c13[_0x5bc6('0x41')][0x0][_0x5bc6('0x27')]?{'type':_0x5bc6('0x7'),'content':_0x3643fc(_0x1b3ff1,_0x5bc6('0x6'))}:{'type':'format','content':_0x3643fc(_0x1b3ff1,_0x5bc6('0xc'))};}function _0xcb23cc(_0x43e9b0){return{'type':_0x5bc6('0x7'),'content':_0x3643fc(_0x1b3ff1,'*Change\x20to:*\x20%0',_0x43e9b0)};}});}}function ne(_0x441ba){const _0x7f187c=_0x441ba[_0x5bc6('0x1c')](_0x5bc6('0x29'));if(0x0==_0x7f187c)return _0x441ba;let _0x3bbdaa=_0x441ba;for(;_0x441ba[_0x5bc6('0xb')]&&_0x441ba[_0x5bc6('0xb')]['is'](_0x5bc6('0x28'),_0x5bc6('0x3b'));){const _0x44cdea=_0x441ba[_0x5bc6('0xb')][_0x5bc6('0x1c')]('listIndent');if(_0x44cdea==_0x7f187c)_0x3bbdaa=_0x441ba['previousSibling'];else{if(_0x44cdea<_0x7f187c)break;}_0x441ba=_0x441ba[_0x5bc6('0xb')];}return _0x3bbdaa;}function oe(_0x5ba2d9){const _0x1cfb1d=[];if(_0x5ba2d9['is']('element',_0x5bc6('0x3b'))&&_0x5ba2d9['getAttribute'](_0x5bc6('0x29'))>0x0){let _0x314746=_0x5ba2d9[_0x5bc6('0x4')];for(;_0x314746&&_0x5bc6('0x3b')==_0x314746[_0x5bc6('0x21')]&&_0x314746[_0x5bc6('0x1c')](_0x5bc6('0x29'))==_0x5ba2d9['getAttribute'](_0x5bc6('0x29'));)_0x1cfb1d[_0x5bc6('0x37')](_0x314746),_0x314746=_0x314746[_0x5bc6('0x4')];}return _0x1cfb1d;}