@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20230907.0 → 0.0.0-nightly-20230908.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 _0x5cab=['has','normalizeSizeOptions','change','selection','value','fontSize.options','*Set\x20font\x20size:*\x20%0','model','*Set\x20font\x20color:*\x20%0','FontSizeEditing','*Set\x20font\x20background\x20color:*\x20%0','trim','*Reset\x20font\x20family*','registerDescriptionCallback','*Reset\x20font\x20color*','commandName','*Set\x20font\x20family:*\x20%0','label','_enableCommand','*Reset\x20font\x20size*','fontBackgroundColor.colors','format','plugins','toLowerCase','get','_descriptionFactory','fontBackgroundColor','fontColor','find','FontFamilyEditing','fontSize','fontFamily','config','from','*Reset\x20font\x20background\x20color*','TrackChangesEditing','getRanges','editor','commandParams','FontColorEditing','enableCommand','fontColor.colors','FontBackgroundColorEditing'];(function(_0x1e6d11,_0x5cabca){const _0xbd78a9=function(_0x29ab6a){while(--_0x29ab6a){_0x1e6d11['push'](_0x1e6d11['shift']());}};_0xbd78a9(++_0x5cabca);}(_0x5cab,0xe3));const _0xbd78=function(_0x1e6d11,_0x5cabca){_0x1e6d11=_0x1e6d11-0x0;let _0xbd78a9=_0x5cab[_0x1e6d11];return _0xbd78a9;};import{Plugin as _0x5ad8b2}from'ckeditor5/src/core';import{normalizeColorOptions as _0x5a2563}from'ckeditor5/src/ui';import{getRangesWithAttribute as _0x417ae0}from'./utils';import{getTranslation as _0x1fbdfb}from'../utils/common-translations';const eo=[{'pluginName':_0xbd78('0x28'),'commandName':_0xbd78('0x12')},{'pluginName':_0xbd78('0x11'),'commandName':'fontFamily'},{'pluginName':_0xbd78('0x1b'),'commandName':_0xbd78('0xf')},{'pluginName':_0xbd78('0x1e'),'commandName':_0xbd78('0xe')}];export default class H extends _0x5ad8b2{['afterInit'](){const _0x839009=this[_0xbd78('0x19')]['locale'];for(const {pluginName:_0xb6035,commandName:_0x1318ef}of eo)this[_0xbd78('0x19')][_0xbd78('0xa')][_0xbd78('0x1f')](_0xb6035)&&this[_0xbd78('0x6')](_0x1318ef);this[_0xbd78('0x19')][_0xbd78('0xa')][_0xbd78('0xc')](_0xbd78('0x17'))[_0xbd78('0xd')][_0xbd78('0x1')](_0x3a59a2=>{const _0x36baca=_0x839009['t'],{data:_0x3d6a11}=_0x3a59a2;if(null!=_0x3d6a11){if(_0xbd78('0x12')==_0x3d6a11['commandName']){const _0x3a484a=_0x3d6a11['commandParams'][0x0][_0xbd78('0x23')];if(_0x3a484a){const _0x57c67f=_0x36baca(this[_0xbd78('0x19')][_0xbd78('0xa')][_0xbd78('0xc')]('FontSize')[_0xbd78('0x20')](this[_0xbd78('0x19')][_0xbd78('0x14')][_0xbd78('0xc')](_0xbd78('0x24')))['find'](_0x5cd436=>_0x5cd436[_0xbd78('0x26')]==_0x3a484a)['title'])[_0xbd78('0xb')]();return{'type':_0xbd78('0x9'),'content':_0x1fbdfb(_0x839009,_0xbd78('0x25'),_0x57c67f)};}return{'type':_0xbd78('0x9'),'content':_0x1fbdfb(_0x839009,_0xbd78('0x7'))};}if(_0xbd78('0x13')==_0x3d6a11[_0xbd78('0x3')]){const _0x5373cd=_0x3d6a11['commandParams'][0x0]['value'];return _0x5373cd?{'type':_0xbd78('0x9'),'content':_0x1fbdfb(_0x839009,_0xbd78('0x4'),_0x5373cd)}:{'type':'format','content':_0x1fbdfb(_0x839009,_0xbd78('0x0'))};}if(_0xbd78('0xf')==_0x3d6a11[_0xbd78('0x3')]){const _0x5604d8=_0x3d6a11[_0xbd78('0x1a')][0x0]['value'];if(_0x5604d8){const _0x2778c5=_0x5a2563(this[_0xbd78('0x19')]['config']['get'](_0xbd78('0x1d')))['find'](_0xc780d9=>_0xc780d9[_0xbd78('0x26')]==_0x5604d8);let _0x984484=_0x5604d8,_0x1d8e4f='';return _0x2778c5&&(_0x984484=_0x2778c5[_0xbd78('0x5')],_0x1d8e4f=_0x36baca(_0x984484)[_0xbd78('0xb')]()),{'type':_0xbd78('0x9'),'content':_0x1fbdfb(_0x839009,_0xbd78('0x27'),_0x1d8e4f)[_0xbd78('0x2a')](),'color':{'value':_0x5604d8,'title':_0x1d8e4f||_0x984484}};}return{'type':_0xbd78('0x9'),'content':_0x1fbdfb(_0x839009,_0xbd78('0x2'))};}if(_0xbd78('0xe')==_0x3d6a11[_0xbd78('0x3')]){const _0x2678ee=_0x3d6a11[_0xbd78('0x1a')][0x0][_0xbd78('0x23')];if(_0x2678ee){const _0x408614=_0x5a2563(this[_0xbd78('0x19')][_0xbd78('0x14')]['get'](_0xbd78('0x8')))[_0xbd78('0x10')](_0xe85790=>_0xe85790[_0xbd78('0x26')]==_0x2678ee);let _0xfc182a=_0x2678ee,_0x49b210='';return _0x408614&&(_0xfc182a=_0x408614[_0xbd78('0x5')],_0x49b210=_0x36baca(_0xfc182a)[_0xbd78('0xb')]()),{'type':_0xbd78('0x9'),'content':_0x1fbdfb(_0x839009,_0xbd78('0x29'),_0x49b210)[_0xbd78('0x2a')](),'color':{'value':_0x2678ee,'title':_0x49b210||_0xfc182a}};}return{'type':'format','content':_0x1fbdfb(_0x839009,_0xbd78('0x16'))};}}});}['_enableCommand'](_0x23dd7a){const _0x2cc743=this['editor'];_0x2cc743[_0xbd78('0xa')]['get']('TrackChangesEditing')[_0xbd78('0x1c')](_0x23dd7a,(_0x55faf2,_0x17d1cb={})=>{const _0x1e0207=_0x2cc743['model']['document'][_0xbd78('0x22')],_0x36f80c=_0x17d1cb[_0xbd78('0x23')];_0x1e0207['isCollapsed']?_0x55faf2(_0x17d1cb):_0x2cc743[_0xbd78('0x26')][_0xbd78('0x21')](()=>{const _0x37ab7c=Array[_0xbd78('0x15')](_0x1e0207[_0xbd78('0x18')]());for(const _0x49f8b1 of _0x37ab7c){const _0x5b8b71=_0x36f80c?[_0x49f8b1]:_0x417ae0(_0x23dd7a,_0x49f8b1,_0x2cc743[_0xbd78('0x26')]);for(const _0x4883ef of _0x5b8b71)_0x2cc743[_0xbd78('0xa')][_0xbd78('0xc')]('TrackChangesEditing')['markInlineFormat'](_0x4883ef,{'commandName':_0x23dd7a,'commandParams':[{'value':_0x36f80c}]});}});});}}
23
+ const _0x28a6=['*Reset\x20font\x20background\x20color*','FontSizeEditing','fontFamily','change','trim','document','afterInit','FontFamilyEditing','title','fontBackgroundColor','FontSize','commandName','enableCommand','isCollapsed','find','toLowerCase','*Set\x20font\x20background\x20color:*\x20%0','label','fontSize','commandParams','fontColor','model','config','format','FontColorEditing','*Reset\x20font\x20size*','registerDescriptionCallback','_descriptionFactory','plugins','_enableCommand','editor','value','*Set\x20font\x20color:*\x20%0','locale','from','get','*Set\x20font\x20size:*\x20%0','FontBackgroundColorEditing'];(function(_0x221146,_0x28a6e9){const _0x1fb803=function(_0x4b84e7){while(--_0x4b84e7){_0x221146['push'](_0x221146['shift']());}};_0x1fb803(++_0x28a6e9);}(_0x28a6,0xf3));const _0x1fb8=function(_0x221146,_0x28a6e9){_0x221146=_0x221146-0x0;let _0x1fb803=_0x28a6[_0x221146];return _0x1fb803;};import{Plugin as _0x2a8e44}from'ckeditor5/src/core';import{normalizeColorOptions as _0x3e9377}from'ckeditor5/src/ui';import{getRangesWithAttribute as _0x572192}from'./utils';import{getTranslation as _0x4119f0}from'../utils/common-translations';const eo=[{'pluginName':_0x1fb8('0x18'),'commandName':_0x1fb8('0x3')},{'pluginName':_0x1fb8('0x1e'),'commandName':_0x1fb8('0x19')},{'pluginName':_0x1fb8('0x9'),'commandName':'fontColor'},{'pluginName':_0x1fb8('0x16'),'commandName':_0x1fb8('0x20')}];export default class H extends _0x2a8e44{[_0x1fb8('0x1d')](){const _0x297e66=this['editor'][_0x1fb8('0x12')];for(const {pluginName:_0xa839f5,commandName:_0x562024}of eo)this[_0x1fb8('0xf')]['plugins']['has'](_0xa839f5)&&this[_0x1fb8('0xe')](_0x562024);this[_0x1fb8('0xf')][_0x1fb8('0xd')][_0x1fb8('0x14')]('TrackChangesEditing')[_0x1fb8('0xc')][_0x1fb8('0xb')](_0x1504bb=>{const _0x1d984b=_0x297e66['t'],{data:_0x190ed6}=_0x1504bb;if(null!=_0x190ed6){if(_0x1fb8('0x3')==_0x190ed6[_0x1fb8('0x22')]){const _0x5665a7=_0x190ed6[_0x1fb8('0x4')][0x0][_0x1fb8('0x10')];if(_0x5665a7){const _0x1f0ad8=_0x1d984b(this['editor'][_0x1fb8('0xd')][_0x1fb8('0x14')](_0x1fb8('0x21'))['normalizeSizeOptions'](this[_0x1fb8('0xf')][_0x1fb8('0x7')]['get']('fontSize.options'))[_0x1fb8('0x25')](_0x12eb0b=>_0x12eb0b[_0x1fb8('0x6')]==_0x5665a7)[_0x1fb8('0x1f')])[_0x1fb8('0x0')]();return{'type':_0x1fb8('0x8'),'content':_0x4119f0(_0x297e66,_0x1fb8('0x15'),_0x1f0ad8)};}return{'type':_0x1fb8('0x8'),'content':_0x4119f0(_0x297e66,_0x1fb8('0xa'))};}if(_0x1fb8('0x19')==_0x190ed6[_0x1fb8('0x22')]){const _0xd05f83=_0x190ed6['commandParams'][0x0][_0x1fb8('0x10')];return _0xd05f83?{'type':_0x1fb8('0x8'),'content':_0x4119f0(_0x297e66,'*Set\x20font\x20family:*\x20%0',_0xd05f83)}:{'type':_0x1fb8('0x8'),'content':_0x4119f0(_0x297e66,'*Reset\x20font\x20family*')};}if(_0x1fb8('0x5')==_0x190ed6[_0x1fb8('0x22')]){const _0x10b0b4=_0x190ed6[_0x1fb8('0x4')][0x0]['value'];if(_0x10b0b4){const _0x19ab7a=_0x3e9377(this[_0x1fb8('0xf')][_0x1fb8('0x7')][_0x1fb8('0x14')]('fontColor.colors'))[_0x1fb8('0x25')](_0x15b550=>_0x15b550[_0x1fb8('0x6')]==_0x10b0b4);let _0x578d23=_0x10b0b4,_0x5eb427='';return _0x19ab7a&&(_0x578d23=_0x19ab7a[_0x1fb8('0x2')],_0x5eb427=_0x1d984b(_0x578d23)[_0x1fb8('0x0')]()),{'type':_0x1fb8('0x8'),'content':_0x4119f0(_0x297e66,_0x1fb8('0x11'),_0x5eb427)[_0x1fb8('0x1b')](),'color':{'value':_0x10b0b4,'title':_0x5eb427||_0x578d23}};}return{'type':_0x1fb8('0x8'),'content':_0x4119f0(_0x297e66,'*Reset\x20font\x20color*')};}if('fontBackgroundColor'==_0x190ed6[_0x1fb8('0x22')]){const _0x2085db=_0x190ed6[_0x1fb8('0x4')][0x0][_0x1fb8('0x10')];if(_0x2085db){const _0x402116=_0x3e9377(this[_0x1fb8('0xf')]['config'][_0x1fb8('0x14')]('fontBackgroundColor.colors'))['find'](_0x4859e1=>_0x4859e1[_0x1fb8('0x6')]==_0x2085db);let _0x3e9e0f=_0x2085db,_0x511259='';return _0x402116&&(_0x3e9e0f=_0x402116[_0x1fb8('0x2')],_0x511259=_0x1d984b(_0x3e9e0f)[_0x1fb8('0x0')]()),{'type':_0x1fb8('0x8'),'content':_0x4119f0(_0x297e66,_0x1fb8('0x1'),_0x511259)[_0x1fb8('0x1b')](),'color':{'value':_0x2085db,'title':_0x511259||_0x3e9e0f}};}return{'type':_0x1fb8('0x8'),'content':_0x4119f0(_0x297e66,_0x1fb8('0x17'))};}}});}['_enableCommand'](_0x5f3e99){const _0x1819ca=this['editor'];_0x1819ca[_0x1fb8('0xd')]['get']('TrackChangesEditing')[_0x1fb8('0x23')](_0x5f3e99,(_0x3cb49e,_0x3b7de6={})=>{const _0x516804=_0x1819ca[_0x1fb8('0x6')][_0x1fb8('0x1c')]['selection'],_0x1def6e=_0x3b7de6[_0x1fb8('0x10')];_0x516804[_0x1fb8('0x24')]?_0x3cb49e(_0x3b7de6):_0x1819ca[_0x1fb8('0x6')][_0x1fb8('0x1a')](()=>{const _0x4cad5c=Array[_0x1fb8('0x13')](_0x516804['getRanges']());for(const _0x125702 of _0x4cad5c){const _0x575cef=_0x1def6e?[_0x125702]:_0x572192(_0x5f3e99,_0x125702,_0x1819ca[_0x1fb8('0x6')]);for(const _0x21713f of _0x575cef)_0x1819ca[_0x1fb8('0xd')][_0x1fb8('0x14')]('TrackChangesEditing')['markInlineFormat'](_0x21713f,{'commandName':_0x5f3e99,'commandParams':[{'value':_0x1def6e}]});}});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x245c=['*Remove\x20all\x20formatting*','isCollapsed','schema','fontSize.options','getItems','getLastPosition','fontColor.colors','TrackChangesEditing','fontColor','label','markInlineFormat','editor','document','getSelectedBlocks','join','copyFormat','find','selection','enableCommand','boolean','get','toUpperCase','change','config','modifySelection','afterInit','word','commandParams','length','slice','fontSize','entries','format','from','split','isFormatting','locale','forward','keys','plugins','backward','_descriptionFactory','createRange','toLowerCase','getRanges','commands','model','FontSize','pasteFormat','*Set\x20format\x20to:*\x20%0','createSelection','charAt','getAttributes'];(function(_0x5a19b0,_0x245cfe){const _0x103635=function(_0x1bb9f1){while(--_0x1bb9f1){_0x5a19b0['push'](_0x5a19b0['shift']());}};_0x103635(++_0x245cfe);}(_0x245c,0x1de));const _0x1036=function(_0x5a19b0,_0x245cfe){_0x5a19b0=_0x5a19b0-0x0;let _0x103635=_0x245c[_0x5a19b0];return _0x103635;};import{Plugin as _0x240039}from'ckeditor5/src/core';import{normalizeColorOptions as _0xdb4ead}from'ckeditor5/src/ui';import{first as _0x3d7448}from'ckeditor5/src/utils';import{getTranslation as _0x37cc98}from'../utils/common-translations';export default class W extends _0x240039{[_0x1036('0x18')](){const _0x1ef0a5=this[_0x1036('0xa')],_0x4b90df=_0x1ef0a5[_0x1036('0x2d')],_0x33e1af=_0x4b90df[_0x1036('0xb')][_0x1036('0x10')],_0x191fcd=_0x1ef0a5[_0x1036('0x26')]['get']('TrackChangesEditing'),_0x6d806c=_0x1ef0a5[_0x1036('0x23')],_0x55579f=_0x1ef0a5[_0x1036('0x2c')][_0x1036('0x13')](_0x1036('0xe')),_0x3f3c0c=_0x1ef0a5[_0x1036('0x2c')][_0x1036('0x13')](_0x1036('0x2f'));_0x55579f&&_0x3f3c0c&&(_0x191fcd[_0x1036('0x11')](_0x1036('0x2f'),(_0x5e1ac9,_0x124e2b={})=>{const _0x51552c=_0x124e2b;_0x4b90df[_0x1036('0x15')](()=>{const _0x20a810=Array[_0x1036('0x20')](_0x33e1af[_0x1036('0x2b')]()),_0x105fdd=_0x33e1af[_0x1036('0x0')]?[co(_0x4b90df,_0x33e1af)]:_0x20a810,_0x9f25f6=!!_0x3d7448(function*(_0x4a314d,_0x1cc3f4){const _0x6f9346=_0x59b62c=>!!_0x3d7448(function*(_0x320351,_0x336d95){for(const [_0x296377]of _0x320351[_0x1036('0x33')]()){const _0x610aa5=_0x336d95['getAttributeProperties'](_0x296377);_0x610aa5&&_0x610aa5[_0x1036('0x22')]&&(yield _0x296377);}}(_0x59b62c,_0x1cc3f4));for(const _0x1c912f of _0x4a314d[_0x1036('0x2b')]())for(const _0x3b098b of _0x1c912f[_0x1036('0x3')]())!_0x1cc3f4['isBlock'](_0x3b098b)&&_0x6f9346(_0x3b098b)&&(yield _0x3b098b);for(const _0x14a071 of _0x4a314d[_0x1036('0xc')]())_0x6f9346(_0x14a071)&&(yield _0x14a071);_0x6f9346(_0x4a314d)&&(yield _0x4a314d);}(_0x33e1af,_0x4b90df[_0x1036('0x1')]));if(_0x9f25f6||0x0!==Object[_0x1036('0x25')](_0x51552c)[_0x1036('0x1b')])for(const _0x161858 of _0x105fdd)_0x191fcd[_0x1036('0x9')](_0x161858,{'commandName':'pasteFormat','commandParams':[_0x51552c]});});}),_0x191fcd[_0x1036('0x28')]['registerDescriptionCallback'](_0x5310bf=>{const {data:_0x34d51e}=_0x5310bf;if(_0x34d51e&&'pasteFormat'===_0x34d51e['commandName']){const _0x567107=[],_0x3e66b=_0x34d51e[_0x1036('0x1a')][0x0];for(const [_0x48ea8d,_0x491cae]of Object[_0x1036('0x1e')](_0x3e66b))_0x567107['push'](io(_0x1ef0a5,_0x48ea8d,_0x491cae));return _0x567107[_0x1036('0x1b')]?{'type':_0x1036('0x1f'),'content':_0x37cc98(_0x6d806c,_0x1036('0x30'),_0x567107[_0x1036('0xd')](',\x20'))}:{'type':_0x1036('0x1f'),'content':_0x37cc98(_0x6d806c,_0x1036('0x34'))};}}),_0x1ef0a5['plugins'][_0x1036('0x13')](_0x1036('0x6'))[_0x1036('0x11')]('copyFormat'));}}function co(_0x588fdd,_0x1ee713){const _0x22dd2a=_0x588fdd[_0x1036('0x31')](_0x1ee713);_0x588fdd[_0x1036('0x17')](_0x22dd2a,{'unit':_0x1036('0x19'),'direction':_0x1036('0x27')});const _0x2acee5=_0x22dd2a['getFirstPosition']();_0x588fdd[_0x1036('0x17')](_0x22dd2a,{'unit':_0x1036('0x19'),'direction':_0x1036('0x24')});const _0x1730e4=_0x22dd2a[_0x1036('0x4')]();return _0x588fdd[_0x1036('0x29')](_0x2acee5,_0x1730e4);}function io(_0x2f874f,_0xfeb792,_0x2bc7a2){const _0x4d81da=_0x2f874f[_0x1036('0x23')]['t'],_0x312144=_0xfeb792[_0x1036('0x21')](/(?=[A-Z])/)[_0x1036('0xd')]('\x20'),_0x3f85ef=_0x4d81da(_0x312144[_0x1036('0x32')](0x0)[_0x1036('0x14')]()+_0x312144[_0x1036('0x1c')](0x1))[_0x1036('0x2a')]();if(_0x1036('0x12')==typeof _0x2bc7a2)return _0x3f85ef;if(_0x1036('0x7')===_0xfeb792||'fontBackgroundColor'===_0xfeb792){const _0x184ed1=_0xdb4ead(_0x2f874f[_0x1036('0x16')][_0x1036('0x13')](_0x1036('0x5')))[_0x1036('0xf')](_0x1b6e46=>_0x1b6e46['model']==_0x2bc7a2);return _0x3f85ef+'\x20('+(_0x184ed1?_0x4d81da(_0x184ed1[_0x1036('0x8')])[_0x1036('0x2a')]():_0x2bc7a2)+')';}if(_0x1036('0x1d')===_0xfeb792&&isNaN(parseFloat(_0x2bc7a2))){const _0x5b668c=_0x2f874f[_0x1036('0x26')][_0x1036('0x13')](_0x1036('0x2e'))['normalizeSizeOptions'](_0x2f874f[_0x1036('0x16')][_0x1036('0x13')](_0x1036('0x2')))['find'](_0x3d82f8=>_0x3d82f8[_0x1036('0x2d')]==_0x2bc7a2);return _0x3f85ef+'\x20('+(_0x5b668c?_0x4d81da(_0x5b668c['title'])['toLowerCase']():_0x2bc7a2)+')';}return _0x3f85ef+'\x20('+_0x2bc7a2+')';}
23
+ const _0x3940=['split','getAttributeProperties','TrackChangesEditing','document','backward','getAttributes','plugins','from','pasteFormat','word','toLowerCase','getItems','normalizeSizeOptions','entries','modifySelection','commandParams','fontSize','model','push','format','label','registerDescriptionCallback','_descriptionFactory','commands','getSelectedBlocks','forward','charAt','boolean','toUpperCase','find','enableCommand','FontSize','length','*Set\x20format\x20to:*\x20%0','createSelection','markInlineFormat','editor','selection','createRange','getRanges','*Remove\x20all\x20formatting*','keys','copyFormat','fontBackgroundColor','getLastPosition','getFirstPosition','title','get','locale','join'];(function(_0x142c55,_0x394018){const _0x48c4fe=function(_0x1f7cca){while(--_0x1f7cca){_0x142c55['push'](_0x142c55['shift']());}};_0x48c4fe(++_0x394018);}(_0x3940,0x69));const _0x48c4=function(_0x142c55,_0x394018){_0x142c55=_0x142c55-0x0;let _0x48c4fe=_0x3940[_0x142c55];return _0x48c4fe;};import{Plugin as _0x2e17d3}from'ckeditor5/src/core';import{normalizeColorOptions as _0x171602}from'ckeditor5/src/ui';import{first as _0x3a3694}from'ckeditor5/src/utils';import{getTranslation as _0x588d55}from'../utils/common-translations';export default class W extends _0x2e17d3{['afterInit'](){const _0x3133ae=this[_0x48c4('0x1f')],_0x56c059=_0x3133ae[_0x48c4('0xc')],_0x4177b7=_0x56c059[_0x48c4('0x30')][_0x48c4('0x20')],_0x2d3c2b=_0x3133ae[_0x48c4('0x1')]['get'](_0x48c4('0x2f')),_0x3307af=_0x3133ae[_0x48c4('0x2b')],_0x38d121=_0x3133ae['commands']['get'](_0x48c4('0x25')),_0x3639f9=_0x3133ae[_0x48c4('0x12')][_0x48c4('0x2a')](_0x48c4('0x3'));_0x38d121&&_0x3639f9&&(_0x2d3c2b[_0x48c4('0x19')](_0x48c4('0x3'),(_0x226228,_0x1580c2={})=>{const _0x1c92a4=_0x1580c2;_0x56c059['change'](()=>{const _0x43d725=Array[_0x48c4('0x2')](_0x4177b7[_0x48c4('0x22')]()),_0x1b479c=_0x4177b7['isCollapsed']?[co(_0x56c059,_0x4177b7)]:_0x43d725,_0x4f2d61=!!_0x3a3694(function*(_0x456e7d,_0x47f21e){const _0x10486e=_0x2f4a59=>!!_0x3a3694(function*(_0xe7e07e,_0x3ebe59){for(const [_0x277af5]of _0xe7e07e[_0x48c4('0x0')]()){const _0x525197=_0x3ebe59[_0x48c4('0x2e')](_0x277af5);_0x525197&&_0x525197['isFormatting']&&(yield _0x277af5);}}(_0x2f4a59,_0x47f21e));for(const _0xcfd284 of _0x456e7d[_0x48c4('0x22')]())for(const _0x1cc0ce of _0xcfd284[_0x48c4('0x6')]())!_0x47f21e['isBlock'](_0x1cc0ce)&&_0x10486e(_0x1cc0ce)&&(yield _0x1cc0ce);for(const _0x3173f7 of _0x456e7d[_0x48c4('0x13')]())_0x10486e(_0x3173f7)&&(yield _0x3173f7);_0x10486e(_0x456e7d)&&(yield _0x456e7d);}(_0x4177b7,_0x56c059['schema']));if(_0x4f2d61||0x0!==Object[_0x48c4('0x24')](_0x1c92a4)[_0x48c4('0x1b')])for(const _0x34774b of _0x1b479c)_0x2d3c2b[_0x48c4('0x1e')](_0x34774b,{'commandName':_0x48c4('0x3'),'commandParams':[_0x1c92a4]});});}),_0x2d3c2b[_0x48c4('0x11')][_0x48c4('0x10')](_0x575600=>{const {data:_0x19775e}=_0x575600;if(_0x19775e&&'pasteFormat'===_0x19775e['commandName']){const _0x14c58b=[],_0x297317=_0x19775e[_0x48c4('0xa')][0x0];for(const [_0x106498,_0x160426]of Object[_0x48c4('0x8')](_0x297317))_0x14c58b[_0x48c4('0xd')](io(_0x3133ae,_0x106498,_0x160426));return _0x14c58b[_0x48c4('0x1b')]?{'type':_0x48c4('0xe'),'content':_0x588d55(_0x3307af,_0x48c4('0x1c'),_0x14c58b[_0x48c4('0x2c')](',\x20'))}:{'type':_0x48c4('0xe'),'content':_0x588d55(_0x3307af,_0x48c4('0x23'))};}}),_0x3133ae[_0x48c4('0x1')][_0x48c4('0x2a')](_0x48c4('0x2f'))['enableCommand'](_0x48c4('0x25')));}}function co(_0x294568,_0x1fcba8){const _0x39fed0=_0x294568[_0x48c4('0x1d')](_0x1fcba8);_0x294568[_0x48c4('0x9')](_0x39fed0,{'unit':_0x48c4('0x4'),'direction':_0x48c4('0x31')});const _0x43ed1f=_0x39fed0[_0x48c4('0x28')]();_0x294568['modifySelection'](_0x39fed0,{'unit':_0x48c4('0x4'),'direction':_0x48c4('0x14')});const _0x4c9a6c=_0x39fed0[_0x48c4('0x27')]();return _0x294568[_0x48c4('0x21')](_0x43ed1f,_0x4c9a6c);}function io(_0x7f1acf,_0x4effc8,_0x346765){const _0x5e1a6f=_0x7f1acf[_0x48c4('0x2b')]['t'],_0x5bd0fe=_0x4effc8[_0x48c4('0x2d')](/(?=[A-Z])/)[_0x48c4('0x2c')]('\x20'),_0xf6f264=_0x5e1a6f(_0x5bd0fe[_0x48c4('0x15')](0x0)[_0x48c4('0x17')]()+_0x5bd0fe['slice'](0x1))[_0x48c4('0x5')]();if(_0x48c4('0x16')==typeof _0x346765)return _0xf6f264;if('fontColor'===_0x4effc8||_0x48c4('0x26')===_0x4effc8){const _0x432c1c=_0x171602(_0x7f1acf['config'][_0x48c4('0x2a')]('fontColor.colors'))[_0x48c4('0x18')](_0x23d3cf=>_0x23d3cf[_0x48c4('0xc')]==_0x346765);return _0xf6f264+'\x20('+(_0x432c1c?_0x5e1a6f(_0x432c1c[_0x48c4('0xf')])[_0x48c4('0x5')]():_0x346765)+')';}if(_0x48c4('0xb')===_0x4effc8&&isNaN(parseFloat(_0x346765))){const _0x4a2cba=_0x7f1acf[_0x48c4('0x1')][_0x48c4('0x2a')](_0x48c4('0x1a'))[_0x48c4('0x7')](_0x7f1acf['config'][_0x48c4('0x2a')]('fontSize.options'))[_0x48c4('0x18')](_0x436aef=>_0x436aef[_0x48c4('0xc')]==_0x346765);return _0xf6f264+'\x20('+(_0x4a2cba?_0x5e1a6f(_0x4a2cba[_0x48c4('0x29')])[_0x48c4('0x5')]():_0x346765)+')';}return _0xf6f264+'\x20('+_0x346765+')';}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2e88=['selection','match','getSelectedBlocks','afterInit','paragraph','blockName','markBlockFormat','heading','change','parent','config','heading.options','schema','value','filter','name','document','ELEMENT_HEADING_CUSTOM','enableCommand','find','registerDescriptionCallback','get','checkChild','*Change\x20to:*\x20%0','formatBlock','format','registerElementLabel','TrackChangesEditing','plugins','_descriptionFactory','ELEMENT_HEADING','from','title','has','locale','commandName','editor','model'];(function(_0xc3848,_0x2e88ce){const _0xe1314c=function(_0xa41f09){while(--_0xa41f09){_0xc3848['push'](_0xc3848['shift']());}};_0xe1314c(++_0x2e88ce);}(_0x2e88,0x67));const _0xe131=function(_0xc3848,_0x2e88ce){_0xc3848=_0xc3848-0x0;let _0xe1314c=_0x2e88[_0xc3848];return _0xe1314c;};import{Plugin as _0x4149ca}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x23fe06}from'./utils';import{getTranslation as _0x3e3193}from'../utils/common-translations';export default class J extends _0x4149ca{[_0xe131('0xe')](){const _0x1f1d09=this['editor'],_0x22b901=_0x1f1d09[_0xe131('0x7')],_0x276318=_0x1f1d09[_0xe131('0x15')]['get'](_0xe131('0x16'));if(!_0x1f1d09[_0xe131('0x1')][_0xe131('0x6')]('HeadingEditing'))return;const _0x5ba419=_0x1f1d09[_0xe131('0x1')][_0xe131('0x20')](_0xe131('0x0'));_0x5ba419[_0xe131('0x1d')](_0xe131('0x12'),(_0x55b201,_0x153546)=>{const _0x13a23e=_0x153546[_0xe131('0x18')],_0x2b1dd9=Array[_0xe131('0x4')](this[_0xe131('0x9')][_0xe131('0xa')][_0xe131('0x1b')][_0xe131('0xb')][_0xe131('0xd')]())[_0xe131('0x19')](_0x139d44=>function(_0x370bc3,_0x7bcad3,_0x301522){return _0x301522[_0xe131('0x21')](_0x370bc3[_0xe131('0x14')],_0x7bcad3)&&!_0x301522['isObject'](_0x370bc3)&&_0x370bc3[_0xe131('0x1a')]!=_0x7bcad3;}(_0x139d44,_0x13a23e,this[_0xe131('0x9')]['model'][_0xe131('0x17')]));_0x1f1d09[_0xe131('0xa')][_0xe131('0x13')](()=>{for(const _0x2d1887 of _0x2b1dd9)_0x5ba419[_0xe131('0x11')](_0x2d1887,{'commandName':_0xe131('0x12'),'commandParams':[_0x153546],'formatGroupId':_0xe131('0x10')},_0x23fe06(_0x2d1887));});});for(const _0x16ac3a of _0x276318)_0xe131('0xf')!=_0x16ac3a[_0xe131('0xa')]&&_0x5ba419[_0xe131('0x2')][_0xe131('0x25')](_0x16ac3a[_0xe131('0xa')],_0x28f442=>{const _0x3873fd=nn(_0x16ac3a[_0xe131('0xa')]);return null!==_0x3873fd?_0x5f31a6(_0x28f442,_0x3873fd):_0x16381e(_0x28f442,_0x16ac3a[_0xe131('0x5')]);});function _0x5f31a6(_0x264507,_0x1a7d25){return _0x3e3193(_0x22b901,_0xe131('0x3'),[_0x264507,_0x1a7d25]);}function _0x16381e(_0x584cf4,_0x78b2d9){return _0x3e3193(_0x22b901,_0xe131('0x1c'),[_0x584cf4,_0x78b2d9]);}_0x5ba419[_0xe131('0x2')][_0xe131('0x1f')](_0x14fab6=>{const {type:_0x23bbba,data:_0x56ab15}=_0x14fab6;if(_0xe131('0x23')==_0x23bbba&&_0x56ab15&&_0xe131('0x12')==_0x56ab15[_0xe131('0x8')]){const _0x38219f=_0x56ab15['commandParams'][0x0][_0xe131('0x18')],_0x57711d=nn(_0x38219f);if(null!==_0x57711d)return{'type':_0xe131('0x24'),'content':_0x3e3193(_0x22b901,'*Change\x20to:*\x20%0',_0x5f31a6(0x1,_0x57711d))};const _0x35db8c=_0x276318[_0xe131('0x1e')](_0x53ee7c=>_0x53ee7c[_0xe131('0xa')]===_0x38219f)[_0xe131('0x5')];return{'type':_0xe131('0x24'),'content':_0x3e3193(_0x22b901,_0xe131('0x22'),_0x16381e(0x1,_0x35db8c))};}});}}function nn(_0x1a208b){const _0xae111f=_0x1a208b[_0xe131('0xc')](/^heading(\d+)$/);return _0xae111f?_0xae111f[0x1]:null;}
23
+ const _0x2c8d=['getSelectedBlocks','selection','formatBlock','match','editor','title','model','afterInit','blockName','find','heading.options','markBlockFormat','name','HeadingEditing','config','plugins','from','value','format','commandParams','registerElementLabel','locale','get','filter','heading','*Change\x20to:*\x20%0','registerDescriptionCallback','checkChild','parent','commandName'];(function(_0x4bd275,_0x2c8d88){const _0x5d3d22=function(_0x573dee){while(--_0x573dee){_0x4bd275['push'](_0x4bd275['shift']());}};_0x5d3d22(++_0x2c8d88);}(_0x2c8d,0x1a2));const _0x5d3d=function(_0x4bd275,_0x2c8d88){_0x4bd275=_0x4bd275-0x0;let _0x5d3d22=_0x2c8d[_0x4bd275];return _0x5d3d22;};import{Plugin as _0x4f8531}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x5475e7}from'./utils';import{getTranslation as _0x134298}from'../utils/common-translations';export default class J extends _0x4f8531{[_0x5d3d('0x9')](){const _0x2ef3da=this[_0x5d3d('0x6')],_0x4ff87b=_0x2ef3da[_0x5d3d('0x17')],_0x5c06ca=_0x2ef3da[_0x5d3d('0x10')]['get'](_0x5d3d('0xc'));if(!_0x2ef3da[_0x5d3d('0x11')]['has'](_0x5d3d('0xf')))return;const _0x2ee71a=_0x2ef3da[_0x5d3d('0x11')][_0x5d3d('0x18')]('TrackChangesEditing');_0x2ee71a['enableCommand'](_0x5d3d('0x1a'),(_0x4ee9e3,_0x5a93e9)=>{const _0x3eefca=_0x5a93e9[_0x5d3d('0x13')],_0x2437b8=Array[_0x5d3d('0x12')](this[_0x5d3d('0x6')][_0x5d3d('0x8')]['document'][_0x5d3d('0x3')][_0x5d3d('0x2')]())[_0x5d3d('0x19')](_0x273710=>function(_0x50c255,_0x3cc9ca,_0x325fe8){return _0x325fe8[_0x5d3d('0x1d')](_0x50c255[_0x5d3d('0x0')],_0x3cc9ca)&&!_0x325fe8['isObject'](_0x50c255)&&_0x50c255[_0x5d3d('0xe')]!=_0x3cc9ca;}(_0x273710,_0x3eefca,this['editor'][_0x5d3d('0x8')]['schema']));_0x2ef3da[_0x5d3d('0x8')]['change'](()=>{for(const _0x26e472 of _0x2437b8)_0x2ee71a[_0x5d3d('0xd')](_0x26e472,{'commandName':_0x5d3d('0x1a'),'commandParams':[_0x5a93e9],'formatGroupId':_0x5d3d('0xa')},_0x5475e7(_0x26e472));});});for(const _0x5184cc of _0x5c06ca)'paragraph'!=_0x5184cc['model']&&_0x2ee71a['_descriptionFactory'][_0x5d3d('0x16')](_0x5184cc['model'],_0x3fb770=>{const _0x3c5adc=nn(_0x5184cc[_0x5d3d('0x8')]);return null!==_0x3c5adc?_0x38ce6f(_0x3fb770,_0x3c5adc):_0x9c6cb(_0x3fb770,_0x5184cc['title']);});function _0x38ce6f(_0x5cb109,_0x18aeef){return _0x134298(_0x4ff87b,'ELEMENT_HEADING',[_0x5cb109,_0x18aeef]);}function _0x9c6cb(_0xdf3955,_0x3084b5){return _0x134298(_0x4ff87b,'ELEMENT_HEADING_CUSTOM',[_0xdf3955,_0x3084b5]);}_0x2ee71a['_descriptionFactory'][_0x5d3d('0x1c')](_0x55f932=>{const {type:_0x2897ba,data:_0x46aa58}=_0x55f932;if(_0x5d3d('0x4')==_0x2897ba&&_0x46aa58&&_0x5d3d('0x1a')==_0x46aa58[_0x5d3d('0x1')]){const _0x58bb4c=_0x46aa58[_0x5d3d('0x15')][0x0]['value'],_0x68decf=nn(_0x58bb4c);if(null!==_0x68decf)return{'type':_0x5d3d('0x14'),'content':_0x134298(_0x4ff87b,_0x5d3d('0x1b'),_0x38ce6f(0x1,_0x68decf))};const _0x54a32d=_0x5c06ca[_0x5d3d('0xb')](_0x511f1f=>_0x511f1f[_0x5d3d('0x8')]===_0x58bb4c)[_0x5d3d('0x7')];return{'type':'format','content':_0x134298(_0x4ff87b,'*Change\x20to:*\x20%0',_0x9c6cb(0x1,_0x54a32d))};}});}}function nn(_0xea5671){const _0x616b5b=_0xea5671[_0x5d3d('0x5')](/^heading(\d+)$/);return _0x616b5b?_0x616b5b[0x1]:null;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x15fe=['config','change','get','FORMAT_HIGHLIGHT','getFirstPosition','value','backward','editor','format','selection','push','commandName','document','getLastMatchingPosition','enableCommand','highlight.options','locale','find','*Remove\x20highlight*','toLowerCase','highlight','has','getRanges','getAttribute','model','markInlineFormat','registerDescriptionCallback','createRange','formatInline','title','item','plugins','TrackChangesEditing'];(function(_0x474d5c,_0x15fe49){const _0x59c92e=function(_0x443381){while(--_0x443381){_0x474d5c['push'](_0x474d5c['shift']());}};_0x59c92e(++_0x15fe49);}(_0x15fe,0x18f));const _0x59c9=function(_0x474d5c,_0x15fe49){_0x474d5c=_0x474d5c-0x0;let _0x59c92e=_0x15fe[_0x474d5c];return _0x59c92e;};import{Plugin as _0x5ff484}from'ckeditor5/src/core';import{getTranslation as _0x369d41}from'../utils/common-translations';import{getRangesWithAttribute as _0x145dfe}from'./utils';export default class K extends _0x5ff484{['afterInit'](){const _0x35f037=this[_0x59c9('0x4')];if(!_0x35f037[_0x59c9('0x1c')][_0x59c9('0x12')]('HighlightEditing'))return;const _0x353ad9=_0x35f037[_0x59c9('0x1c')]['get'](_0x59c9('0x1d'));_0x353ad9[_0x59c9('0xb')](_0x59c9('0x11'),(_0x1185e0,_0xa3854f={})=>{const _0x3d011b=_0x35f037[_0x59c9('0x15')][_0x59c9('0x9')][_0x59c9('0x6')],_0x1fa9b0=_0x3d011b['getAttribute'](_0x59c9('0x11'));let _0x3b7057=_0xa3854f[_0x59c9('0x2')],_0x5e34dd=[];if(_0x3d011b['isCollapsed']){const _0x31e7ec=_0x3d011b[_0x59c9('0x1')]();if(!_0x3d011b['hasAttribute']('highlight'))return void _0x1185e0(_0xa3854f);{const _0x351c40=_0x5e18cb=>_0x5e18cb[_0x59c9('0x1b')][_0x59c9('0x14')]('highlight')===_0x1fa9b0,_0xe0c783=_0x31e7ec[_0x59c9('0xa')](_0x351c40,{'direction':_0x59c9('0x3')}),_0x141214=_0x31e7ec[_0x59c9('0xa')](_0x351c40);_0x5e34dd=[_0x35f037['model'][_0x59c9('0x18')](_0xe0c783,_0x141214)],_0x3b7057==_0x1fa9b0&&(_0x3b7057=null);}}else for(const _0x2c9ea of _0x3d011b[_0x59c9('0x13')]())_0x3b7057?_0x5e34dd[_0x59c9('0x7')](_0x2c9ea):_0x5e34dd[_0x59c9('0x7')](..._0x145dfe(_0x59c9('0x11'),_0x2c9ea,_0x35f037[_0x59c9('0x15')]));_0x35f037[_0x59c9('0x15')][_0x59c9('0x1f')](()=>{for(const _0x56823f of _0x5e34dd)_0x353ad9[_0x59c9('0x16')](_0x56823f,{'commandName':'highlight','commandParams':[{'value':_0x3b7057}]});});});const _0x24d186=_0x35f037[_0x59c9('0xd')];_0x353ad9['_descriptionFactory'][_0x59c9('0x17')](_0x49c8a6=>{const {type:_0x2281c2,data:_0x400296}=_0x49c8a6;if(_0x59c9('0x19')==_0x2281c2&&_0x400296&&_0x59c9('0x11')==_0x400296[_0x59c9('0x8')]){const _0x1e2e2a=_0x24d186['t'],_0x2930c0=_0x400296['commandParams'][0x0][_0x59c9('0x2')];if(_0x2930c0){const _0x3d5d34=_0x35f037[_0x59c9('0x1e')][_0x59c9('0x20')](_0x59c9('0xc'))[_0x59c9('0xe')](_0x154034=>_0x154034[_0x59c9('0x15')]==_0x2930c0),_0x452d17=_0x1e2e2a(_0x3d5d34[_0x59c9('0x1a')])[_0x59c9('0x10')]();return{'type':_0x59c9('0x5'),'content':_0x369d41(_0x24d186,'*Set\x20highlight:*\x20%0',_0x452d17),'color':{'value':_0x3d5d34['color'],'title':_0x3d5d34[_0x59c9('0x1a')]}};}return{'type':'format','content':_0x369d41(_0x24d186,_0x59c9('0xf'),_0x369d41(_0x24d186,_0x59c9('0x0')))};}});}}
23
+ const _0x258a=['isCollapsed','item','plugins','change','TrackChangesEditing','markInlineFormat','afterInit','push','find','toLowerCase','highlight','highlight.options','registerDescriptionCallback','getAttribute','format','createRange','model','getLastMatchingPosition','formatInline','*Remove\x20highlight*','locale','commandParams','getFirstPosition','has','_descriptionFactory','enableCommand','value','*Set\x20highlight:*\x20%0','commandName','HighlightEditing','getRanges','config','editor'];(function(_0x2e380d,_0x258a36){const _0x16b754=function(_0x33c98c){while(--_0x33c98c){_0x2e380d['push'](_0x2e380d['shift']());}};_0x16b754(++_0x258a36);}(_0x258a,0x126));const _0x16b7=function(_0x2e380d,_0x258a36){_0x2e380d=_0x2e380d-0x0;let _0x16b754=_0x258a[_0x2e380d];return _0x16b754;};import{Plugin as _0x1d989b}from'ckeditor5/src/core';import{getTranslation as _0x14f7ac}from'../utils/common-translations';import{getRangesWithAttribute as _0xe6bde}from'./utils';export default class K extends _0x1d989b{[_0x16b7('0x9')](){const _0x3d084e=this[_0x16b7('0x2')];if(!_0x3d084e[_0x16b7('0x5')][_0x16b7('0x1a')](_0x16b7('0x20')))return;const _0x2a89a6=_0x3d084e['plugins']['get'](_0x16b7('0x7'));_0x2a89a6[_0x16b7('0x1c')](_0x16b7('0xd'),(_0x4f31b2,_0x18ade0={})=>{const _0x4c6a06=_0x3d084e[_0x16b7('0x13')]['document']['selection'],_0x17df2b=_0x4c6a06[_0x16b7('0x10')](_0x16b7('0xd'));let _0x4b2dab=_0x18ade0[_0x16b7('0x1d')],_0xb35f27=[];if(_0x4c6a06[_0x16b7('0x3')]){const _0x10b5e9=_0x4c6a06[_0x16b7('0x19')]();if(!_0x4c6a06['hasAttribute'](_0x16b7('0xd')))return void _0x4f31b2(_0x18ade0);{const _0x41a6af=_0x345681=>_0x345681[_0x16b7('0x4')]['getAttribute'](_0x16b7('0xd'))===_0x17df2b,_0x2ae16a=_0x10b5e9[_0x16b7('0x14')](_0x41a6af,{'direction':'backward'}),_0x409e53=_0x10b5e9[_0x16b7('0x14')](_0x41a6af);_0xb35f27=[_0x3d084e['model'][_0x16b7('0x12')](_0x2ae16a,_0x409e53)],_0x4b2dab==_0x17df2b&&(_0x4b2dab=null);}}else for(const _0x2d307f of _0x4c6a06[_0x16b7('0x0')]())_0x4b2dab?_0xb35f27['push'](_0x2d307f):_0xb35f27[_0x16b7('0xa')](..._0xe6bde(_0x16b7('0xd'),_0x2d307f,_0x3d084e[_0x16b7('0x13')]));_0x3d084e[_0x16b7('0x13')][_0x16b7('0x6')](()=>{for(const _0x2df888 of _0xb35f27)_0x2a89a6[_0x16b7('0x8')](_0x2df888,{'commandName':_0x16b7('0xd'),'commandParams':[{'value':_0x4b2dab}]});});});const _0x2a7d09=_0x3d084e[_0x16b7('0x17')];_0x2a89a6[_0x16b7('0x1b')][_0x16b7('0xf')](_0x1def41=>{const {type:_0x583f16,data:_0x45d4f7}=_0x1def41;if(_0x16b7('0x15')==_0x583f16&&_0x45d4f7&&_0x16b7('0xd')==_0x45d4f7[_0x16b7('0x1f')]){const _0x5aa39a=_0x2a7d09['t'],_0x3c5369=_0x45d4f7[_0x16b7('0x18')][0x0][_0x16b7('0x1d')];if(_0x3c5369){const _0x15c8b0=_0x3d084e[_0x16b7('0x1')]['get'](_0x16b7('0xe'))[_0x16b7('0xb')](_0x54c1ab=>_0x54c1ab[_0x16b7('0x13')]==_0x3c5369),_0x89f81a=_0x5aa39a(_0x15c8b0['title'])[_0x16b7('0xc')]();return{'type':_0x16b7('0x11'),'content':_0x14f7ac(_0x2a7d09,_0x16b7('0x1e'),_0x89f81a),'color':{'value':_0x15c8b0['color'],'title':_0x15c8b0['title']}};}return{'type':_0x16b7('0x11'),'content':_0x14f7ac(_0x2a7d09,_0x16b7('0x16'),_0x14f7ac(_0x2a7d09,'FORMAT_HIGHLIGHT'))};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3122=['registerElementLabel','elementToStructure','HorizontalLineEditing','horizontalLine','dataDowncast','enableCommand','plugins','get','insert','afterInit','createPositionAt','for','high','_descriptionFactory','TrackChangesEditing','ELEMENT_HORIZONTAL_LINE'];(function(_0x116d18,_0x3122ba){const _0x437a50=function(_0x581694){while(--_0x581694){_0x116d18['push'](_0x116d18['shift']());}};_0x437a50(++_0x3122ba);}(_0x3122,0xad));const _0x437a=function(_0x116d18,_0x3122ba){_0x116d18=_0x116d18-0x0;let _0x437a50=_0x3122[_0x116d18];return _0x437a50;};import{Plugin as _0x344aba}from'ckeditor5/src/core';import{getTranslation as _0x3609b8}from'../utils/common-translations';export default class Q extends _0x344aba{[_0x437a('0xc')](){const _0x281f51=this['editor'];if(!_0x281f51[_0x437a('0x9')]['has'](_0x437a('0x5')))return;_0x281f51[_0x437a('0x9')]['get']('TrackChangesEditing')[_0x437a('0x8')](_0x437a('0x6'));const _0x58fb49=_0x281f51['plugins'][_0x437a('0xa')](_0x437a('0x1')),_0x232f98=_0x281f51['locale'];_0x58fb49[_0x437a('0x0')][_0x437a('0x3')](_0x437a('0x6'),_0x5d5cff=>_0x3609b8(_0x232f98,_0x437a('0x2'),_0x5d5cff)),_0x281f51['conversion'][_0x437a('0xe')](_0x437a('0x7'))[_0x437a('0x4')]({'model':_0x437a('0x6'),'view':(_0x5d621e,{writer:_0x59695c,options:_0xd02dfe})=>{if(!_0xd02dfe['showSuggestionHighlights'])return null;const _0x39fa84=_0x59695c['createContainerElement']('div'),_0x4b614d=_0x59695c['createEmptyElement']('hr');return _0x59695c['addClass']('ck-horizontal-line',_0x39fa84),_0x59695c[_0x437a('0xb')](_0x59695c[_0x437a('0xd')](_0x39fa84,0x0),_0x4b614d),_0x39fa84;},'converterPriority':_0x437a('0xf')});}}
23
+ const _0x224f=['plugins','showSuggestionHighlights','createContainerElement','elementToStructure','has','editor','enableCommand','locale','ck-horizontal-line','registerElementLabel','conversion','TrackChangesEditing','div','horizontalLine','get','createPositionAt','HorizontalLineEditing','_descriptionFactory'];(function(_0x4db402,_0x224f20){const _0xb7bcfe=function(_0x3a0026){while(--_0x3a0026){_0x4db402['push'](_0x4db402['shift']());}};_0xb7bcfe(++_0x224f20);}(_0x224f,0x1aa));const _0xb7bc=function(_0x4db402,_0x224f20){_0x4db402=_0x4db402-0x0;let _0xb7bcfe=_0x224f[_0x4db402];return _0xb7bcfe;};import{Plugin as _0xc3c73f}from'ckeditor5/src/core';import{getTranslation as _0x13682f}from'../utils/common-translations';export default class Q extends _0xc3c73f{['afterInit'](){const _0x2f243f=this[_0xb7bc('0xb')];if(!_0x2f243f['plugins'][_0xb7bc('0xa')](_0xb7bc('0x4')))return;_0x2f243f[_0xb7bc('0x6')][_0xb7bc('0x2')]('TrackChangesEditing')[_0xb7bc('0xc')](_0xb7bc('0x1'));const _0x57c78f=_0x2f243f[_0xb7bc('0x6')]['get'](_0xb7bc('0x11')),_0x26a6d3=_0x2f243f[_0xb7bc('0xd')];_0x57c78f[_0xb7bc('0x5')][_0xb7bc('0xf')](_0xb7bc('0x1'),_0xcc336c=>_0x13682f(_0x26a6d3,'ELEMENT_HORIZONTAL_LINE',_0xcc336c)),_0x2f243f[_0xb7bc('0x10')]['for']('dataDowncast')[_0xb7bc('0x9')]({'model':_0xb7bc('0x1'),'view':(_0x59f64e,{writer:_0x3d4ce9,options:_0x87f81c})=>{if(!_0x87f81c[_0xb7bc('0x7')])return null;const _0x3860fc=_0x3d4ce9[_0xb7bc('0x8')](_0xb7bc('0x0')),_0x4ac0d2=_0x3d4ce9['createEmptyElement']('hr');return _0x3d4ce9['addClass'](_0xb7bc('0xe'),_0x3860fc),_0x3d4ce9['insert'](_0x3d4ce9[_0xb7bc('0x3')](_0x3860fc,0x0),_0x4ac0d2),_0x3860fc;},'converterPriority':'high'});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1010=['TrackChangesEditing','htmlEmbed','get','rawHtmlApi','has','change','_descriptionFactory','HtmlEmbed','format','registerElementLabel','rawHtml','ELEMENT_HTML_EMBED','afterInit','*Change\x20%0\x20content*','document','plugins','getSelectedElement','getCustomProperty','enableCommand','locale','editor','selection','cancel','registerDescriptionCallback'];(function(_0x522167,_0x101016){const _0x2dec7a=function(_0x15a42e){while(--_0x15a42e){_0x522167['push'](_0x522167['shift']());}};_0x2dec7a(++_0x101016);}(_0x1010,0x1bd));const _0x2dec=function(_0x522167,_0x101016){_0x522167=_0x522167-0x0;let _0x2dec7a=_0x1010[_0x522167];return _0x2dec7a;};import{Plugin as _0x15fd6f}from'ckeditor5/src/core';import{getTranslation as _0x5cd0b5}from'../utils/common-translations';export default class V extends _0x15fd6f{[_0x2dec('0x17')](){const _0x1de772=this[_0x2dec('0x7')];if(!_0x1de772[_0x2dec('0x2')][_0x2dec('0xf')](_0x2dec('0x12')))return;const _0x31fb11=_0x1de772[_0x2dec('0x2')][_0x2dec('0xd')](_0x2dec('0xb')),_0x1936c1=_0x1de772[_0x2dec('0x6')],_0x28925b=_0x1de772['editing']['view'][_0x2dec('0x1')][_0x2dec('0x8')];_0x31fb11[_0x2dec('0x11')][_0x2dec('0x14')](_0x2dec('0x15'),_0x41c827=>_0x5cd0b5(_0x1936c1,_0x2dec('0x16'),_0x41c827)),_0x1de772['plugins'][_0x2dec('0xd')]('TrackChangesEditing')[_0x2dec('0x5')](_0x2dec('0xc'),(_0xb10400,_0x16fea5)=>{const _0x1e1083=_0x1de772['model'],_0x2674b0=_0x1e1083[_0x2dec('0x1')][_0x2dec('0x8')];_0x1e1083[_0x2dec('0x10')](()=>{const _0x2cfdc4=function(_0x51eae2){const _0x30fde0=_0x51eae2[_0x2dec('0x3')]();if(_0x30fde0&&_0x30fde0['is']('element',_0x2dec('0x15')))return _0x51eae2[_0x2dec('0x3')]();return null;}(_0x2674b0);if(!_0x2cfdc4)return void _0xb10400(null);const _0x20925d=_0x2cfdc4['getAttribute']('value')||'';if(void 0x0===_0x16fea5)return;if(_0x16fea5===_0x20925d)return;_0x31fb11['markBlockFormat'](_0x2cfdc4,{'commandName':_0x2dec('0xc'),'commandParams':[_0x16fea5]}),_0x28925b['getSelectedElement']()[_0x2dec('0x4')](_0x2dec('0xe'))[_0x2dec('0x9')]();});}),_0x31fb11['_descriptionFactory'][_0x2dec('0xa')](_0x45920c=>{const {data:_0x5aafdc}=_0x45920c;if(_0x5aafdc&&_0x2dec('0xc')==_0x5aafdc['commandName']){const _0x4ec17e=_0x5cd0b5(_0x1936c1,'ELEMENT_HTML_EMBED');return{'type':_0x2dec('0x13'),'content':_0x5cd0b5(_0x1936c1,_0x2dec('0x0'),_0x4ec17e)};}});}}
23
+ const _0x45a0=['_descriptionFactory','getCustomProperty','getSelectedElement','selection','afterInit','ELEMENT_HTML_EMBED','registerDescriptionCallback','value','editing','enableCommand','element','change','plugins','format','document','view','model','has','commandName','htmlEmbed','getAttribute','TrackChangesEditing','registerElementLabel','cancel','*Change\x20%0\x20content*','locale'];(function(_0x307ae6,_0x45a09f){const _0x2363af=function(_0x57cc22){while(--_0x57cc22){_0x307ae6['push'](_0x307ae6['shift']());}};_0x2363af(++_0x45a09f);}(_0x45a0,0x12f));const _0x2363=function(_0x307ae6,_0x45a09f){_0x307ae6=_0x307ae6-0x0;let _0x2363af=_0x45a0[_0x307ae6];return _0x2363af;};import{Plugin as _0x27ac18}from'ckeditor5/src/core';import{getTranslation as _0x32f80b}from'../utils/common-translations';export default class V extends _0x27ac18{[_0x2363('0xd')](){const _0x49c430=this['editor'];if(!_0x49c430[_0x2363('0x15')][_0x2363('0x0')]('HtmlEmbed'))return;const _0x58bbfb=_0x49c430[_0x2363('0x15')]['get'](_0x2363('0x4')),_0xbb7d28=_0x49c430[_0x2363('0x8')],_0xf6e674=_0x49c430[_0x2363('0x11')][_0x2363('0x18')][_0x2363('0x17')]['selection'];_0x58bbfb['_descriptionFactory'][_0x2363('0x5')]('rawHtml',_0x20f5f5=>_0x32f80b(_0xbb7d28,_0x2363('0xe'),_0x20f5f5)),_0x49c430[_0x2363('0x15')]['get']('TrackChangesEditing')[_0x2363('0x12')](_0x2363('0x2'),(_0x567f9d,_0x3575d3)=>{const _0x1a06b7=_0x49c430[_0x2363('0x19')],_0x50cb90=_0x1a06b7['document'][_0x2363('0xc')];_0x1a06b7[_0x2363('0x14')](()=>{const _0x6e40ff=function(_0x216372){const _0xf784b9=_0x216372[_0x2363('0xb')]();if(_0xf784b9&&_0xf784b9['is'](_0x2363('0x13'),'rawHtml'))return _0x216372[_0x2363('0xb')]();return null;}(_0x50cb90);if(!_0x6e40ff)return void _0x567f9d(null);const _0x1bff8a=_0x6e40ff[_0x2363('0x3')](_0x2363('0x10'))||'';if(void 0x0===_0x3575d3)return;if(_0x3575d3===_0x1bff8a)return;_0x58bbfb['markBlockFormat'](_0x6e40ff,{'commandName':_0x2363('0x2'),'commandParams':[_0x3575d3]}),_0xf6e674['getSelectedElement']()[_0x2363('0xa')]('rawHtmlApi')[_0x2363('0x6')]();});}),_0x58bbfb[_0x2363('0x9')][_0x2363('0xf')](_0x2ae246=>{const {data:_0x41fef8}=_0x2ae246;if(_0x41fef8&&_0x2363('0x2')==_0x41fef8[_0x2363('0x1')]){const _0x491c77=_0x32f80b(_0xbb7d28,_0x2363('0xe'));return{'type':_0x2363('0x16'),'content':_0x32f80b(_0xbb7d28,_0x2363('0x7'),_0x491c77)};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x175f=['type','accept','ELEMENT_IMAGE','imageStylePostApply','formatInline','getAttribute','ImageResize','convertInlineImageToBlock','getChangedMarkers','forEach','registerElementLabel','isInlineImage','isInContent','markDeletion','enableCommand','shouldConvertImageType','imageTextAlternative','isBlockImage','_splitMarkerName','has','getSuggestion','schema','newValue','element','getSuggestionCallback','ImageTextAlternativeEditing','caption','toNext','ImageInlineEditing','commands','registerDescriptionCallback','createRange','nodeAfter','from','markBlockFormat','plugins','imageTypeInline','chain','detach','title','get','markInlineFormat','hasSuggestion','format','markInsertion','convertBlockImageToInline','hasAttribute','normalizedStyles','suggestion','subType','addObject','toLowerCase','name','getSuggestions','ImageCaptionEditing','imageStyle','Users','imageCaption','*Set\x20image\x20text\x20alternative:*\x20%0','previous','getContainedElement','removeObject','commandName','document','getCaptionFromImageModelElement','backward','imageStylePreApply','ELEMENT_INLINE_IMAGE','editor','*Set\x20image\x20width:*\x20%0','insertion','afterInit','end','FORMAT_SIDE_IMAGE','selection','_descriptionFactory','isEqual','side','author','uploadImage','value','registerCustomCallback','formatBlock','resizeImage','ImageBlockEditing','ELEMENT_CAPTION','isCollapsed','head','*Reset\x20image\x20width*','forceDefaultExecution','alt','forward','getFirstRange','getClosestSelectedImageElement','ImageCaptionUtils','*Remove\x20image\x20text\x20alternative*','toggleImageCaption','next','TrackChangesEditing','width','refresh','start','discardSuggestion','commandParams','getNearestSelectionRange','insertImage','deletion','registerPostFixer','ImageStyleEditing','imageTypeBlock','createRangeOn','ImageUploadEditing','discard','model','ImageUtils','length','join','change','isBefore','differ','_suggestionFactory','filter'];(function(_0x306825,_0x175fb9){const _0x3e6c1d=function(_0x532586){while(--_0x532586){_0x306825['push'](_0x306825['shift']());}};_0x3e6c1d(++_0x175fb9);}(_0x175f,0x12f));const _0x3e6c=function(_0x306825,_0x175fb9){_0x306825=_0x306825-0x0;let _0x3e6c1d=_0x175f[_0x306825];return _0x3e6c1d;};import{Plugin as _0x533284}from'ckeditor5/src/core';import{LivePosition as _0x10643a}from'ckeditor5/src/engine';import{uid as _0x627524}from'ckeditor5/src/utils';import{getTranslation as _0x4c1745}from'../utils/common-translations';export default class X extends _0x533284{[_0x3e6c('0xc')](){const _0x5edf0a=this[_0x3e6c('0x9')];if(!_0x5edf0a[_0x3e6c('0x62')][_0x3e6c('0x52')]('ImageEditing'))return;const _0x23dfe2=_0x5edf0a[_0x3e6c('0x62')][_0x3e6c('0x67')](_0x3e6c('0x27')),_0xf93341=_0x5edf0a[_0x3e6c('0x62')][_0x3e6c('0x67')](_0x3e6c('0x37')),_0x3ef87f={},_0x3d7399=_0x5edf0a['locale'];if(_0x23dfe2[_0x3e6c('0x4d')](_0x3e6c('0x2e')),_0x23dfe2[_0x3e6c('0x10')][_0x3e6c('0x49')]('imageBlock',_0x23f265=>_0x4c1745(_0x3d7399,_0x3e6c('0x41'),_0x23f265)),_0x23dfe2[_0x3e6c('0x10')][_0x3e6c('0x49')]('imageInline',_0x382608=>_0x4c1745(_0x3d7399,_0x3e6c('0x8'),_0x382608)),_0x23dfe2[_0x3e6c('0x10')][_0x3e6c('0x49')](_0x3e6c('0x59'),()=>_0x4c1745(_0x3d7399,_0x3e6c('0x1a'))),_0x5edf0a[_0x3e6c('0x62')]['has'](_0x3e6c('0x34'))&&_0x23dfe2['enableCommand'](_0x3e6c('0x14')),_0x5edf0a[_0x3e6c('0x62')][_0x3e6c('0x52')](_0x3e6c('0x19'))&&_0x5edf0a[_0x3e6c('0x62')]['has'](_0x3e6c('0x5b'))&&(_0x23dfe2[_0x3e6c('0x4d')](_0x3e6c('0x63'),(_0x47eed6,_0x4f3dd8)=>{const _0x16a53f=_0xf93341[_0x3e6c('0x22')](_0x5edf0a[_0x3e6c('0x36')][_0x3e6c('0x4')][_0x3e6c('0xf')]);_0x5edf0a['model'][_0x3e6c('0x3a')](()=>{_0x23dfe2['markBlockFormat'](_0x16a53f,{'commandName':_0x3e6c('0x63'),'commandParams':[_0x4f3dd8]},[],_0x3e6c('0x6c'));});}),_0x23dfe2[_0x3e6c('0x4d')](_0x3e6c('0x32'),(_0x43085a,_0x373d92)=>{_0x5edf0a[_0x3e6c('0x36')]['change'](_0x11fdf5=>{let _0x543695=_0xf93341[_0x3e6c('0x22')](_0x5edf0a[_0x3e6c('0x36')]['document'][_0x3e6c('0xf')]),_0x3b9457=_0x11fdf5[_0x3e6c('0x33')](_0x543695);const _0x178ce9=_0x10643a['fromPosition'](_0x3b9457[_0x3e6c('0x2a')],'toPrevious'),_0x414275=_0x10643a['fromPosition'](_0x3b9457['end'],_0x3e6c('0x5a'));_0x23dfe2[_0x3e6c('0x1e')](()=>_0x43085a(_0x373d92)),_0x543695=_0xf93341[_0x3e6c('0x22')](_0x5edf0a[_0x3e6c('0x36')]['document'][_0x3e6c('0xf')]),_0x3b9457=_0x11fdf5['createRangeOn'](_0x543695);const _0x2ce2a8=_0x11fdf5[_0x3e6c('0x5e')](_0x178ce9,_0x414275);_0x178ce9[_0x3e6c('0x65')](),_0x414275[_0x3e6c('0x65')](),_0x23dfe2['markBlockFormat'](_0x543695,{'commandName':_0x3e6c('0x63'),'commandParams':[]},[],_0x3e6c('0x46')),_0x2ce2a8['start'][_0x3e6c('0x3b')](_0x3b9457['start'])&&_0x23dfe2['markInsertion'](_0x11fdf5[_0x3e6c('0x5e')](_0x2ce2a8[_0x3e6c('0x2a')],_0x3b9457[_0x3e6c('0x2a')]),'convertInlineImageToBlock'),_0x3b9457[_0x3e6c('0xd')]['isBefore'](_0x2ce2a8[_0x3e6c('0xd')])&&_0x23dfe2[_0x3e6c('0x6b')](_0x11fdf5[_0x3e6c('0x5e')](_0x3b9457[_0x3e6c('0xd')],_0x2ce2a8[_0x3e6c('0xd')]),_0x3e6c('0x46'));});}),_0x23dfe2[_0x3e6c('0x3d')][_0x3e6c('0x16')](_0x3e6c('0x17'),_0x3e6c('0x46'),_0x3e6c('0x39'),()=>!0x1),_0x23dfe2[_0x3e6c('0x3d')][_0x3e6c('0x16')](_0x3e6c('0x17'),_0x3e6c('0x46'),_0x3e6c('0x40'),()=>!0x1),_0x23dfe2[_0x3e6c('0x3d')][_0x3e6c('0x16')](_0x3e6c('0x17'),_0x3e6c('0x46'),_0x3e6c('0x35'),_0x23dfe2[_0x3e6c('0x3d')][_0x3e6c('0x57')](_0x3e6c('0x17'),'',_0x3e6c('0x40'))),_0x23dfe2['_suggestionFactory'][_0x3e6c('0x16')]('insertion',_0x3e6c('0x46'),_0x3e6c('0x39'),()=>!0x1),_0x23dfe2[_0x3e6c('0x3d')][_0x3e6c('0x16')](_0x3e6c('0xb'),'convertInlineImageToBlock',_0x3e6c('0x35'),([_0x41b447])=>{const _0x2b3450=_0x23dfe2[_0x3e6c('0x3d')][_0x3e6c('0x57')](_0x3e6c('0xb'),'',_0x3e6c('0x35'));let _0x47c5c4=_0x41b447[_0x3e6c('0x2a')],_0xdc63b2=_0x41b447[_0x3e6c('0xd')];const _0x26e59e=_0x5edf0a[_0x3e6c('0x36')][_0x3e6c('0x54')]['getNearestSelectionRange'](_0x47c5c4,_0x3e6c('0x6')),_0x585e56=_0x5edf0a[_0x3e6c('0x36')]['schema'][_0x3e6c('0x2d')](_0xdc63b2,_0x3e6c('0x20'));_0x26e59e[_0x3e6c('0x1b')]&&(_0x47c5c4=_0x26e59e['start']),_0x585e56[_0x3e6c('0x1b')]&&(_0xdc63b2=_0x585e56[_0x3e6c('0xd')]),_0x2b3450([_0x5edf0a[_0x3e6c('0x36')][_0x3e6c('0x5e')](_0x47c5c4,_0xdc63b2)]);}),_0x23dfe2['_suggestionFactory'][_0x3e6c('0x16')](_0x3e6c('0x17'),_0x3e6c('0x46'),_0x3e6c('0x64'),_0x3bfe94),_0x23dfe2[_0x3e6c('0x3d')][_0x3e6c('0x16')](_0x3e6c('0xb'),_0x3e6c('0x46'),_0x3e6c('0x64'),_0x3bfe94)),_0x5edf0a[_0x3e6c('0x62')][_0x3e6c('0x52')](_0x3e6c('0x75'))&&(_0x23dfe2[_0x3e6c('0x4d')](_0x3e6c('0x25'),(_0x166c8c,_0x359ed5)=>{const _0x2ae45e=_0x5edf0a['plugins'][_0x3e6c('0x67')](_0x3e6c('0x23'));let _0x19d475=_0xf93341[_0x3e6c('0x22')](_0x5edf0a[_0x3e6c('0x36')]['document']['selection']),_0x3d2f1f=_0x2ae45e['getCaptionFromImageModelElement'](_0x19d475);_0x5edf0a[_0x3e6c('0x36')][_0x3e6c('0x3a')](()=>{if(_0x3d2f1f)return void _0x23dfe2[_0x3e6c('0x4c')](_0x5edf0a[_0x3e6c('0x36')][_0x3e6c('0x33')](_0x3d2f1f));const _0x36e64d=_0xf93341[_0x3e6c('0x50')](_0x19d475);_0x166c8c(_0x359ed5),_0x19d475=_0xf93341[_0x3e6c('0x22')](_0x5edf0a[_0x3e6c('0x36')][_0x3e6c('0x4')][_0x3e6c('0xf')]),_0x3d2f1f=_0x2ae45e[_0x3e6c('0x5')](_0x19d475),_0x23dfe2[_0x3e6c('0x6b')](_0x5edf0a['model'][_0x3e6c('0x33')](_0x3d2f1f),_0x36e64d?null:'imageCaption');});}),_0x23dfe2[_0x3e6c('0x3d')][_0x3e6c('0x16')]('insertion',_0x3e6c('0x78'),'chain',_0x3bfe94)),_0x5edf0a[_0x3e6c('0x62')][_0x3e6c('0x52')](_0x3e6c('0x31'))){_0x23dfe2[_0x3e6c('0x4d')](_0x3e6c('0x76'),(_0x26a86d,_0xfaf8fe)=>{const _0xf54e2c=_0x5edf0a['plugins'][_0x3e6c('0x67')](_0x3e6c('0x77'))['me'],_0x8e6f71=_0x5edf0a[_0x3e6c('0x5c')][_0x3e6c('0x67')](_0x3e6c('0x76'));let _0x201a42=_0xf93341['getClosestSelectedImageElement'](_0x5edf0a['model']['document'][_0x3e6c('0xf')]),_0x37fb96=_0x5edf0a[_0x3e6c('0x36')][_0x3e6c('0x33')](_0x201a42),_0x5dd7a1=_0x8e6f71[_0x3e6c('0x15')];if(_0x5dd7a1==_0xfaf8fe[_0x3e6c('0x15')])return;const _0xb04e35={'commandName':_0x3e6c('0x76'),'commandParams':[_0xfaf8fe],'formatGroupId':_0x627524()};_0x5edf0a['model'][_0x3e6c('0x3a')](()=>{if(_0x23dfe2[_0x3e6c('0x74')]()[_0x3e6c('0x3e')](_0x5c96ff=>_0x5c96ff[_0x3e6c('0x4b')]&&_0xf54e2c==_0x5c96ff[_0x3e6c('0x13')]&&(_0x3e6c('0x17')==_0x5c96ff[_0x3e6c('0x3f')]||'formatInline'==_0x5c96ff[_0x3e6c('0x3f')])&&(_0x3e6c('0x7')==_0x5c96ff[_0x3e6c('0x70')]||_0x3e6c('0x42')==_0x5c96ff['subType'])&&_0x5c96ff[_0x3e6c('0x21')]()['isEqual'](_0x37fb96))[_0x3e6c('0x48')](_0x5cc78b=>_0x23dfe2[_0x3e6c('0x2b')](_0x5cc78b[_0x3e6c('0x1c')])),_0x201a42=_0xf93341[_0x3e6c('0x22')](_0x5edf0a[_0x3e6c('0x36')][_0x3e6c('0x4')][_0x3e6c('0xf')]),_0x37fb96=_0x5edf0a[_0x3e6c('0x36')][_0x3e6c('0x33')](_0x201a42),_0x8e6f71['refresh'](),_0x5edf0a[_0x3e6c('0x5c')]['get']('imageTypeInline')[_0x3e6c('0x29')](),_0x5edf0a[_0x3e6c('0x5c')][_0x3e6c('0x67')](_0x3e6c('0x32'))['refresh'](),_0x5dd7a1=_0x8e6f71[_0x3e6c('0x15')],_0x5dd7a1!=_0xfaf8fe[_0x3e6c('0x15')])return _0xf93341[_0x3e6c('0x4a')](_0x201a42)&&_0x8e6f71[_0x3e6c('0x4e')](_0xfaf8fe[_0x3e6c('0x15')],_0x201a42)?(_0x26a86d(_0xfaf8fe),_0x201a42=_0xf93341[_0x3e6c('0x22')](_0x5edf0a['model'][_0x3e6c('0x4')][_0x3e6c('0xf')]),void _0x23dfe2['markBlockFormat'](_0x201a42,{..._0xb04e35,'commandReversedParams':[{'value':_0x5dd7a1||null}]},[],_0x3e6c('0x7'))):void(_0xf93341[_0x3e6c('0x50')](_0x201a42)?_0x23dfe2[_0x3e6c('0x61')](_0x201a42,_0xb04e35,[],_0x3e6c('0x42')):_0x23dfe2[_0x3e6c('0x68')](_0x37fb96,_0xb04e35,_0x3e6c('0x42')));});});for(const _0x38cac3 of _0x5edf0a[_0x3e6c('0x62')][_0x3e6c('0x67')]('ImageStyleEditing')[_0x3e6c('0x6e')])_0x3ef87f[_0x38cac3[_0x3e6c('0x73')]]=_0x38cac3[_0x3e6c('0x66')][_0x3e6c('0x72')]();_0x23dfe2[_0x3e6c('0x3d')][_0x3e6c('0x16')]('formatBlock',_0x3e6c('0x7'),_0x3e6c('0x39'),()=>!0x1),_0x23dfe2[_0x3e6c('0x3d')][_0x3e6c('0x16')]('formatBlock','imageStylePostApply',_0x3e6c('0x39'),()=>!0x1),_0x23dfe2[_0x3e6c('0x3d')][_0x3e6c('0x16')](_0x3e6c('0x43'),_0x3e6c('0x42'),_0x3e6c('0x39'),()=>!0x1),_0x23dfe2[_0x3e6c('0x3d')][_0x3e6c('0x16')](_0x3e6c('0x17'),'imageStylePreApply','accept',()=>!0x1),_0x23dfe2['_suggestionFactory']['registerCustomCallback'](_0x3e6c('0x17'),_0x3e6c('0x7'),_0x3e6c('0x35'),(_0x2d686d,_0x12f8e8)=>{_0x23dfe2['_suggestionFactory'][_0x3e6c('0x57')](_0x3e6c('0x17'),'',_0x3e6c('0x40'))(_0x2d686d,{'commandName':_0x12f8e8[_0x3e6c('0x3')],'commandParams':_0x12f8e8['commandReversedParams']});}),_0x23dfe2[_0x3e6c('0x3d')][_0x3e6c('0x16')]('formatBlock','imageStylePreApply',_0x3e6c('0x64'),_0x3bfe94);}const _0x2faeb9=[{'type':'formatBlock','subType':'imageStylePreApply'},{'type':_0x3e6c('0xb'),'subType':_0x3e6c('0x78')},{'type':'formatBlock','subType':_0x3e6c('0x46')},{'type':_0x3e6c('0xb'),'subType':_0x3e6c('0x46')}];function _0x58b00c(_0x5144fc,_0x1ea1b1){const _0x7c7dc5=_0x2faeb9['findIndex'](({type:_0xc3d095,subType:_0x4e6dae})=>_0x5144fc[_0x3e6c('0x3f')]==_0xc3d095&&_0x5144fc[_0x3e6c('0x70')]==_0x4e6dae),_0x4760de=_0x2faeb9['findIndex'](({type:_0x1bd1aa,subType:_0x5d368f})=>_0x1ea1b1['type']==_0x1bd1aa&&_0x1ea1b1[_0x3e6c('0x70')]==_0x5d368f);if(_0x7c7dc5<0x0||_0x4760de<0x0)return!0x1;const _0x5a9c8c=_0x5144fc[_0x3e6c('0x21')](),_0x2b400d=_0x1ea1b1[_0x3e6c('0x21')]();if((0x0==_0x7c7dc5||0x1==_0x7c7dc5)&&0x2==_0x4760de&&_0x5a9c8c['isIntersecting'](_0x2b400d))return!0x0;if(0x2==_0x7c7dc5&&0x3==_0x4760de){const _0x11af87=_0x23dfe2['_findSuggestions'](_0x5a9c8c,_0x3e6c('0xb'))[_0x3e6c('0x3e')](({suggestion:_0x1df3bc,meta:_0x1ffbdc})=>_0x1ffbdc['isOwn']&&'convertInlineImageToBlock'==_0x1df3bc[_0x3e6c('0x70')]);if(_0x11af87[_0x3e6c('0x38')]>0x1&&_0x2b400d[_0x3e6c('0xd')][_0x3e6c('0x11')](_0x5a9c8c[_0x3e6c('0x2a')]))return!0x0;if(0x1==_0x11af87['length']&&(_0x5a9c8c[_0x3e6c('0x2a')]['isEqual'](_0x2b400d['end'])||_0x5a9c8c[_0x3e6c('0xd')]['isEqual'](_0x2b400d['start'])))return!0x0;}if(0x3==_0x7c7dc5&&0x3==_0x4760de&&_0x5a9c8c['start'][_0x3e6c('0x3b')](_0x2b400d[_0x3e6c('0x2a')])){const _0x42ec82=_0x5a9c8c[_0x3e6c('0xd')][_0x3e6c('0x5f')],_0x51f247=_0x2b400d[_0x3e6c('0x2a')]['nodeBefore'];return _0xf93341[_0x3e6c('0x50')](_0x42ec82)&&_0x42ec82===_0x51f247;}return!0x1;}function _0x3bfe94(_0x6570df,_0x3a82af){return _0x58b00c(_0x6570df,_0x3a82af)?[_0x6570df,_0x3a82af]:_0x58b00c(_0x3a82af,_0x6570df)?[_0x3a82af,_0x6570df]:null;}_0x5edf0a[_0x3e6c('0x36')][_0x3e6c('0x4')][_0x3e6c('0x30')](()=>{let _0x55002e=!0x1;const _0x1c8c65=Array[_0x3e6c('0x60')](_0x5edf0a[_0x3e6c('0x36')][_0x3e6c('0x4')][_0x3e6c('0x3c')][_0x3e6c('0x47')]());for(const {name:_0x3af800,data:_0xa23b77}of _0x1c8c65){const {group:_0x5efdfb,type:_0x497d09,subType:_0x37c04b,id:_0x32870d}=_0x23dfe2[_0x3e6c('0x51')](_0x3af800);if(_0x3e6c('0x6f')==_0x5efdfb&&_0x23dfe2[_0x3e6c('0x69')](_0x32870d)){if(_0x3e6c('0x17')==_0x497d09&&(_0x3e6c('0x7')==_0x37c04b||_0x3e6c('0x42')==_0x37c04b)){const _0x2ee5d3=_0x23dfe2[_0x3e6c('0x53')](_0x32870d);if(_0xa23b77['newRange']){const _0x396aa1=_0x2ee5d3[_0x3e6c('0x21')]()['getContainedElement']();if(_0xf93341['isBlockImage'](_0x396aa1))continue;_0x23dfe2['discardSuggestion'](_0x2ee5d3),_0x55002e=!0x0;}}if(_0x3e6c('0xb')==_0x497d09&&_0x3e6c('0x78')==_0x37c04b&&!_0xa23b77['newRange']){const _0x34bc91=_0x23dfe2[_0x3e6c('0x53')](_0x32870d);_0x34bc91[_0x3e6c('0x26')]&&_0x34bc91['next'][_0x3e6c('0x4b')]&&(_0x23dfe2[_0x3e6c('0x2b')](_0x34bc91[_0x3e6c('0x26')]),_0x55002e=!0x0);}}}return _0x55002e;}),_0x5edf0a[_0x3e6c('0x62')][_0x3e6c('0x52')](_0x3e6c('0x45'))&&_0x23dfe2[_0x3e6c('0x4d')](_0x3e6c('0x18'),(_0x3408a7,_0x4101aa)=>{const _0x1d921a=_0xf93341[_0x3e6c('0x22')](_0x5edf0a[_0x3e6c('0x36')]['document'][_0x3e6c('0xf')]);_0x1d921a['getAttribute']('width')!=_0x4101aa[_0x3e6c('0x28')]&&_0x5edf0a[_0x3e6c('0x36')]['change'](()=>{_0x23dfe2['markBlockFormat'](_0x1d921a,{'commandName':'resizeImage','commandParams':[_0x4101aa]});});}),_0x5edf0a[_0x3e6c('0x62')][_0x3e6c('0x52')](_0x3e6c('0x58'))&&_0x23dfe2[_0x3e6c('0x4d')](_0x3e6c('0x4f'),(_0x3ba454,_0x44a3c1)=>{const _0x4036e4=_0xf93341['getClosestSelectedImageElement'](_0x5edf0a[_0x3e6c('0x36')][_0x3e6c('0x4')][_0x3e6c('0xf')]);(_0x4036e4[_0x3e6c('0x6d')](_0x3e6c('0x1f'))?_0x4036e4[_0x3e6c('0x44')](_0x3e6c('0x1f')):'')!=_0x44a3c1[_0x3e6c('0x55')]&&_0x5edf0a[_0x3e6c('0x36')]['change'](()=>{_0x23dfe2[_0x3e6c('0x61')](_0x4036e4,{'commandName':_0x3e6c('0x4f'),'commandParams':[_0x44a3c1]});});}),_0x23dfe2[_0x3e6c('0x10')][_0x3e6c('0x5d')](_0x5d7649=>{if(!!_0x2faeb9['find'](({type:_0xf5a047,subType:_0x559e2c})=>_0x5d7649[_0x3e6c('0x3f')]==_0xf5a047&&_0x5d7649[_0x3e6c('0x70')]==_0x559e2c))return _0x5d7649[_0x3e6c('0x0')]?{}:void 0x0;}),_0x23dfe2['_descriptionFactory'][_0x3e6c('0x5d')](_0x520eff=>{if(_0x3e6c('0xb')==_0x520eff[_0x3e6c('0x3f')]||_0x3e6c('0x2f')==_0x520eff[_0x3e6c('0x3f')]){const _0x152064=_0x520eff[_0x3e6c('0x1')]();if(_0x152064&&_0x152064['is'](_0x3e6c('0x56'),_0x3e6c('0x59')))return{'type':'insertion'==_0x520eff[_0x3e6c('0x3f')]?_0x3e6c('0x71'):_0x3e6c('0x2'),'element':_0x152064,'quantity':0x1};}}),_0x23dfe2[_0x3e6c('0x10')][_0x3e6c('0x5d')](_0x273a90=>_0x3e6c('0x17')==_0x273a90[_0x3e6c('0x3f')]&&_0x3e6c('0x46')==_0x273a90[_0x3e6c('0x70')]?{'type':_0x3e6c('0x6a'),'content':'Inline\x20image\x20to\x20block\x20image'}:'formatBlock'==_0x273a90[_0x3e6c('0x3f')]&&_0x3e6c('0x6c')==_0x273a90[_0x3e6c('0x70')]?{'type':_0x3e6c('0x6a'),'content':'Block\x20image\x20to\x20inline\x20image'}:void 0x0),_0x23dfe2[_0x3e6c('0x10')][_0x3e6c('0x5d')](_0x2149cc=>{const {data:_0x4df725}=_0x2149cc;if(_0x4df725){if(_0x3e6c('0x76')==_0x4df725[_0x3e6c('0x3')]){const _0x8b37ea=_0x4df725[_0x3e6c('0x2c')][0x0][_0x3e6c('0x15')];return _0x1d6df5(_0x3e6c('0x12')===_0x8b37ea?_0x4c1745(_0x3d7399,_0x3e6c('0xe')):_0x3ef87f[_0x8b37ea]||_0x8b37ea);}if(_0x3e6c('0x4f')==_0x4df725['commandName']){const _0x378d7e=_0x4df725[_0x3e6c('0x2c')][0x0][_0x3e6c('0x55')];return _0x378d7e?{'type':_0x3e6c('0x6a'),'content':_0x4c1745(_0x3d7399,_0x3e6c('0x79'),'\x22'+_0x378d7e+'\x22')}:{'type':_0x3e6c('0x6a'),'content':_0x4c1745(_0x3d7399,_0x3e6c('0x24'))};}if('resizeImage'==_0x4df725[_0x3e6c('0x3')]){const _0x4301d5=_0x4df725[_0x3e6c('0x2c')][0x0][_0x3e6c('0x28')];return _0x4301d5?{'type':'format','content':_0x4c1745(_0x3d7399,_0x3e6c('0xa'),_0x4301d5)}:{'type':_0x3e6c('0x6a'),'content':_0x4c1745(_0x3d7399,_0x3e6c('0x1d'))};}}function _0x1d6df5(_0x236bad){return{'type':'format','content':_0x4c1745(_0x3d7399,'*Format:*\x20%0',_0x236bad)};}});}}
23
+ const _0xace6=['start','markInsertion','model','fromPosition','ELEMENT_IMAGE','enableCommand','find','createRange','imageCaption','discardSuggestion','commandName','imageStyle','next','convertBlockImageToInline','isCollapsed','convertInlineImageToBlock','isBefore','getSuggestion','imageInline','schema','uploadImage','get','ImageUploadEditing','removeObject','author','getSuggestions','markBlockFormat','join','resizeImage','_descriptionFactory','*Reset\x20image\x20width*','chain','_suggestionFactory','registerElementLabel','findIndex','imageStylePostApply','locale','document','getClosestSelectedImageElement','_findSuggestions','FORMAT_SIDE_IMAGE','formatBlock','imageTypeBlock','nodeBefore','isOwn','editor','discard','ImageBlockEditing','*Remove\x20image\x20text\x20alternative*','differ','getChangedMarkers','newRange','createRangeOn','getCaptionFromImageModelElement','ImageResize','normalizedStyles','getSuggestionCallback','change','backward','accept','getAttribute','deletion','ImageCaptionUtils','isEqual','format','subType','insertion','*Set\x20image\x20width:*\x20%0','commandReversedParams','refresh','length','formatInline','from','element','imageTextAlternative','markInlineFormat','caption','isBlockImage','getFirstRange','commands','suggestion','afterInit','ImageUtils','getNearestSelectionRange','ELEMENT_CAPTION','hasSuggestion','Block\x20image\x20to\x20inline\x20image','toNext','commandParams','isInContent','side','addObject','type','width','detach','value','forceDefaultExecution','filter','end','has','ImageInlineEditing','isIntersecting','head','registerPostFixer','alt','newValue','getContainedElement','Inline\x20image\x20to\x20block\x20image','title','*Format:*\x20%0','ImageStyleEditing','imageStylePreApply','toLowerCase','imageTypeInline','Users','ImageEditing','registerCustomCallback','TrackChangesEditing','markDeletion','selection','plugins','registerDescriptionCallback'];(function(_0x1585b6,_0xace606){const _0x1147ea=function(_0x1381ee){while(--_0x1381ee){_0x1585b6['push'](_0x1585b6['shift']());}};_0x1147ea(++_0xace606);}(_0xace6,0x69));const _0x1147=function(_0x1585b6,_0xace606){_0x1585b6=_0x1585b6-0x0;let _0x1147ea=_0xace6[_0x1585b6];return _0x1147ea;};import{Plugin as _0xc1ce7a}from'ckeditor5/src/core';import{LivePosition as _0xe351a7}from'ckeditor5/src/engine';import{uid as _0x390ff3}from'ckeditor5/src/utils';import{getTranslation as _0x4a2fb9}from'../utils/common-translations';export default class X extends _0xc1ce7a{[_0x1147('0x62')](){const _0x1e0100=this[_0x1147('0x3e')];if(!_0x1e0100['plugins'][_0x1147('0x74')](_0x1147('0xa')))return;const _0xbc0156=_0x1e0100['plugins']['get'](_0x1147('0xc')),_0x2d914a=_0x1e0100[_0x1147('0xf')]['get'](_0x1147('0x63')),_0x107aa1={},_0x50217d=_0x1e0100[_0x1147('0x35')];if(_0xbc0156['enableCommand']('insertImage'),_0xbc0156[_0x1147('0x2e')][_0x1147('0x32')]('imageBlock',_0x2e5c56=>_0x4a2fb9(_0x50217d,_0x1147('0x15'),_0x2e5c56)),_0xbc0156[_0x1147('0x2e')][_0x1147('0x32')](_0x1147('0x23'),_0xfd6be7=>_0x4a2fb9(_0x50217d,'ELEMENT_INLINE_IMAGE',_0xfd6be7)),_0xbc0156[_0x1147('0x2e')]['registerElementLabel'](_0x1147('0x5d'),()=>_0x4a2fb9(_0x50217d,_0x1147('0x65'))),_0x1e0100[_0x1147('0xf')][_0x1147('0x74')](_0x1147('0x27'))&&_0xbc0156[_0x1147('0x16')](_0x1147('0x25')),_0x1e0100['plugins'][_0x1147('0x74')](_0x1147('0x40'))&&_0x1e0100[_0x1147('0xf')]['has'](_0x1147('0x75'))&&(_0xbc0156[_0x1147('0x16')](_0x1147('0x8'),(_0x37cf26,_0xd11fc0)=>{const _0x2e0ad6=_0x2d914a[_0x1147('0x37')](_0x1e0100[_0x1147('0x13')][_0x1147('0x36')][_0x1147('0xe')]);_0x1e0100['model'][_0x1147('0x4a')](()=>{_0xbc0156[_0x1147('0x2b')](_0x2e0ad6,{'commandName':_0x1147('0x8'),'commandParams':[_0xd11fc0]},[],'convertBlockImageToInline');});}),_0xbc0156[_0x1147('0x16')](_0x1147('0x3b'),(_0x5074ec,_0x399e5a)=>{_0x1e0100['model'][_0x1147('0x4a')](_0x13283f=>{let _0x370313=_0x2d914a[_0x1147('0x37')](_0x1e0100['model'][_0x1147('0x36')][_0x1147('0xe')]),_0x4ec7d7=_0x13283f[_0x1147('0x45')](_0x370313);const _0x5d3691=_0xe351a7[_0x1147('0x14')](_0x4ec7d7[_0x1147('0x11')],'toPrevious'),_0x3bd096=_0xe351a7['fromPosition'](_0x4ec7d7[_0x1147('0x73')],_0x1147('0x68'));_0xbc0156[_0x1147('0x71')](()=>_0x5074ec(_0x399e5a)),_0x370313=_0x2d914a[_0x1147('0x37')](_0x1e0100['model'][_0x1147('0x36')][_0x1147('0xe')]),_0x4ec7d7=_0x13283f[_0x1147('0x45')](_0x370313);const _0x46cc76=_0x13283f['createRange'](_0x5d3691,_0x3bd096);_0x5d3691[_0x1147('0x6f')](),_0x3bd096['detach'](),_0xbc0156[_0x1147('0x2b')](_0x370313,{'commandName':'imageTypeInline','commandParams':[]},[],'convertInlineImageToBlock'),_0x46cc76['start'][_0x1147('0x21')](_0x4ec7d7[_0x1147('0x11')])&&_0xbc0156[_0x1147('0x12')](_0x13283f[_0x1147('0x18')](_0x46cc76[_0x1147('0x11')],_0x4ec7d7[_0x1147('0x11')]),_0x1147('0x20')),_0x4ec7d7[_0x1147('0x73')][_0x1147('0x21')](_0x46cc76['end'])&&_0xbc0156[_0x1147('0x12')](_0x13283f[_0x1147('0x18')](_0x4ec7d7[_0x1147('0x73')],_0x46cc76[_0x1147('0x73')]),'convertInlineImageToBlock');});}),_0xbc0156['_suggestionFactory'][_0x1147('0xb')](_0x1147('0x3a'),_0x1147('0x20'),'join',()=>!0x1),_0xbc0156['_suggestionFactory'][_0x1147('0xb')](_0x1147('0x3a'),'convertInlineImageToBlock',_0x1147('0x4c'),()=>!0x1),_0xbc0156[_0x1147('0x31')]['registerCustomCallback'](_0x1147('0x3a'),_0x1147('0x20'),_0x1147('0x3f'),_0xbc0156[_0x1147('0x31')][_0x1147('0x49')](_0x1147('0x3a'),'',_0x1147('0x4c'))),_0xbc0156[_0x1147('0x31')][_0x1147('0xb')](_0x1147('0x53'),'convertInlineImageToBlock',_0x1147('0x2c'),()=>!0x1),_0xbc0156[_0x1147('0x31')][_0x1147('0xb')](_0x1147('0x53'),_0x1147('0x20'),_0x1147('0x3f'),([_0x2011fd])=>{const _0x5da1b6=_0xbc0156[_0x1147('0x31')][_0x1147('0x49')](_0x1147('0x53'),'',_0x1147('0x3f'));let _0x558b64=_0x2011fd[_0x1147('0x11')],_0x19e91c=_0x2011fd[_0x1147('0x73')];const _0x3fd01e=_0x1e0100[_0x1147('0x13')][_0x1147('0x24')][_0x1147('0x64')](_0x558b64,_0x1147('0x4b')),_0x268596=_0x1e0100[_0x1147('0x13')][_0x1147('0x24')]['getNearestSelectionRange'](_0x19e91c,'forward');_0x3fd01e['isCollapsed']&&(_0x558b64=_0x3fd01e['start']),_0x268596[_0x1147('0x1f')]&&(_0x19e91c=_0x268596[_0x1147('0x73')]),_0x5da1b6([_0x1e0100['model'][_0x1147('0x18')](_0x558b64,_0x19e91c)]);}),_0xbc0156[_0x1147('0x31')]['registerCustomCallback']('formatBlock','convertInlineImageToBlock',_0x1147('0x30'),_0x4456c8),_0xbc0156['_suggestionFactory'][_0x1147('0xb')]('insertion','convertInlineImageToBlock',_0x1147('0x30'),_0x4456c8)),_0x1e0100[_0x1147('0xf')][_0x1147('0x74')]('ImageCaptionEditing')&&(_0xbc0156[_0x1147('0x16')]('toggleImageCaption',(_0x3b2dcc,_0x38c05a)=>{const _0x5047e3=_0x1e0100[_0x1147('0xf')][_0x1147('0x26')](_0x1147('0x4f'));let _0x1988f0=_0x2d914a[_0x1147('0x37')](_0x1e0100[_0x1147('0x13')]['document'][_0x1147('0xe')]),_0x359da4=_0x5047e3[_0x1147('0x46')](_0x1988f0);_0x1e0100[_0x1147('0x13')][_0x1147('0x4a')](()=>{if(_0x359da4)return void _0xbc0156[_0x1147('0xd')](_0x1e0100[_0x1147('0x13')][_0x1147('0x45')](_0x359da4));const _0x244b08=_0x2d914a[_0x1147('0x5e')](_0x1988f0);_0x3b2dcc(_0x38c05a),_0x1988f0=_0x2d914a[_0x1147('0x37')](_0x1e0100[_0x1147('0x13')][_0x1147('0x36')]['selection']),_0x359da4=_0x5047e3[_0x1147('0x46')](_0x1988f0),_0xbc0156['markInsertion'](_0x1e0100[_0x1147('0x13')]['createRangeOn'](_0x359da4),_0x244b08?null:_0x1147('0x19'));});}),_0xbc0156[_0x1147('0x31')][_0x1147('0xb')](_0x1147('0x53'),_0x1147('0x19'),_0x1147('0x30'),_0x4456c8)),_0x1e0100[_0x1147('0xf')][_0x1147('0x74')]('ImageStyleEditing')){_0xbc0156[_0x1147('0x16')](_0x1147('0x1c'),(_0xc3a688,_0x4ee1d5)=>{const _0x3ea00b=_0x1e0100['plugins'][_0x1147('0x26')](_0x1147('0x9'))['me'],_0x2ae55b=_0x1e0100['commands'][_0x1147('0x26')](_0x1147('0x1c'));let _0x133cda=_0x2d914a['getClosestSelectedImageElement'](_0x1e0100[_0x1147('0x13')][_0x1147('0x36')][_0x1147('0xe')]),_0x139637=_0x1e0100[_0x1147('0x13')][_0x1147('0x45')](_0x133cda),_0x6666f0=_0x2ae55b['value'];if(_0x6666f0==_0x4ee1d5[_0x1147('0x70')])return;const _0x56fc9b={'commandName':'imageStyle','commandParams':[_0x4ee1d5],'formatGroupId':_0x390ff3()};_0x1e0100['model']['change'](()=>{if(_0xbc0156[_0x1147('0x2a')]()['filter'](_0x530395=>_0x530395['isInContent']&&_0x3ea00b==_0x530395[_0x1147('0x29')]&&(_0x1147('0x3a')==_0x530395[_0x1147('0x6d')]||_0x1147('0x58')==_0x530395[_0x1147('0x6d')])&&(_0x1147('0x6')==_0x530395[_0x1147('0x52')]||_0x1147('0x34')==_0x530395[_0x1147('0x52')])&&_0x530395['getFirstRange']()[_0x1147('0x50')](_0x139637))['forEach'](_0x22992d=>_0xbc0156[_0x1147('0x1a')](_0x22992d[_0x1147('0x77')])),_0x133cda=_0x2d914a[_0x1147('0x37')](_0x1e0100[_0x1147('0x13')][_0x1147('0x36')][_0x1147('0xe')]),_0x139637=_0x1e0100['model']['createRangeOn'](_0x133cda),_0x2ae55b[_0x1147('0x56')](),_0x1e0100['commands'][_0x1147('0x26')](_0x1147('0x8'))[_0x1147('0x56')](),_0x1e0100[_0x1147('0x60')][_0x1147('0x26')]('imageTypeBlock')['refresh'](),_0x6666f0=_0x2ae55b[_0x1147('0x70')],_0x6666f0!=_0x4ee1d5[_0x1147('0x70')])return _0x2d914a['isInlineImage'](_0x133cda)&&_0x2ae55b['shouldConvertImageType'](_0x4ee1d5[_0x1147('0x70')],_0x133cda)?(_0xc3a688(_0x4ee1d5),_0x133cda=_0x2d914a[_0x1147('0x37')](_0x1e0100['model'][_0x1147('0x36')][_0x1147('0xe')]),void _0xbc0156[_0x1147('0x2b')](_0x133cda,{..._0x56fc9b,'commandReversedParams':[{'value':_0x6666f0||null}]},[],_0x1147('0x6'))):void(_0x2d914a['isBlockImage'](_0x133cda)?_0xbc0156[_0x1147('0x2b')](_0x133cda,_0x56fc9b,[],'imageStylePostApply'):_0xbc0156[_0x1147('0x5c')](_0x139637,_0x56fc9b,_0x1147('0x34')));});});for(const _0x3bdb4a of _0x1e0100[_0x1147('0xf')][_0x1147('0x26')](_0x1147('0x5'))[_0x1147('0x48')])_0x107aa1[_0x3bdb4a['name']]=_0x3bdb4a[_0x1147('0x3')][_0x1147('0x7')]();_0xbc0156['_suggestionFactory'][_0x1147('0xb')]('formatBlock',_0x1147('0x6'),_0x1147('0x2c'),()=>!0x1),_0xbc0156[_0x1147('0x31')][_0x1147('0xb')]('formatBlock',_0x1147('0x34'),_0x1147('0x2c'),()=>!0x1),_0xbc0156[_0x1147('0x31')][_0x1147('0xb')](_0x1147('0x58'),'imageStylePostApply',_0x1147('0x2c'),()=>!0x1),_0xbc0156['_suggestionFactory'][_0x1147('0xb')]('formatBlock',_0x1147('0x6'),'accept',()=>!0x1),_0xbc0156[_0x1147('0x31')][_0x1147('0xb')](_0x1147('0x3a'),_0x1147('0x6'),_0x1147('0x3f'),(_0x12d755,_0x5d75bd)=>{_0xbc0156[_0x1147('0x31')][_0x1147('0x49')]('formatBlock','',_0x1147('0x4c'))(_0x12d755,{'commandName':_0x5d75bd[_0x1147('0x1b')],'commandParams':_0x5d75bd[_0x1147('0x55')]});}),_0xbc0156['_suggestionFactory'][_0x1147('0xb')](_0x1147('0x3a'),'imageStylePreApply',_0x1147('0x30'),_0x4456c8);}const _0x28ddc6=[{'type':_0x1147('0x3a'),'subType':_0x1147('0x6')},{'type':_0x1147('0x53'),'subType':'imageCaption'},{'type':_0x1147('0x3a'),'subType':_0x1147('0x20')},{'type':_0x1147('0x53'),'subType':_0x1147('0x20')}];function _0x2b2913(_0x45b480,_0x2532db){const _0x39350a=_0x28ddc6[_0x1147('0x33')](({type:_0x2a848b,subType:_0x9a3aae})=>_0x45b480['type']==_0x2a848b&&_0x45b480['subType']==_0x9a3aae),_0x48a3d1=_0x28ddc6[_0x1147('0x33')](({type:_0x581116,subType:_0x952bbb})=>_0x2532db[_0x1147('0x6d')]==_0x581116&&_0x2532db[_0x1147('0x52')]==_0x952bbb);if(_0x39350a<0x0||_0x48a3d1<0x0)return!0x1;const _0x18d0d0=_0x45b480['getFirstRange'](),_0x1ae38a=_0x2532db['getFirstRange']();if((0x0==_0x39350a||0x1==_0x39350a)&&0x2==_0x48a3d1&&_0x18d0d0[_0x1147('0x76')](_0x1ae38a))return!0x0;if(0x2==_0x39350a&&0x3==_0x48a3d1){const _0x212684=_0xbc0156[_0x1147('0x38')](_0x18d0d0,_0x1147('0x53'))[_0x1147('0x72')](({suggestion:_0x2fa69e,meta:_0x4ee46e})=>_0x4ee46e[_0x1147('0x3d')]&&_0x1147('0x20')==_0x2fa69e[_0x1147('0x52')]);if(_0x212684[_0x1147('0x57')]>0x1&&_0x1ae38a[_0x1147('0x73')][_0x1147('0x50')](_0x18d0d0[_0x1147('0x11')]))return!0x0;if(0x1==_0x212684[_0x1147('0x57')]&&(_0x18d0d0['start'][_0x1147('0x50')](_0x1ae38a[_0x1147('0x73')])||_0x18d0d0[_0x1147('0x73')][_0x1147('0x50')](_0x1ae38a[_0x1147('0x11')])))return!0x0;}if(0x3==_0x39350a&&0x3==_0x48a3d1&&_0x18d0d0[_0x1147('0x11')]['isBefore'](_0x1ae38a[_0x1147('0x11')])){const _0x246d3d=_0x18d0d0['end']['nodeAfter'],_0x88b50d=_0x1ae38a['start'][_0x1147('0x3c')];return _0x2d914a[_0x1147('0x5e')](_0x246d3d)&&_0x246d3d===_0x88b50d;}return!0x1;}function _0x4456c8(_0x26fbd5,_0x3a10b6){return _0x2b2913(_0x26fbd5,_0x3a10b6)?[_0x26fbd5,_0x3a10b6]:_0x2b2913(_0x3a10b6,_0x26fbd5)?[_0x3a10b6,_0x26fbd5]:null;}_0x1e0100['model'][_0x1147('0x36')][_0x1147('0x78')](()=>{let _0x435cfa=!0x1;const _0x38c1d5=Array[_0x1147('0x59')](_0x1e0100[_0x1147('0x13')][_0x1147('0x36')][_0x1147('0x42')][_0x1147('0x43')]());for(const {name:_0x1086d1,data:_0x48aabe}of _0x38c1d5){const {group:_0x170381,type:_0x15c429,subType:_0x5e9bb0,id:_0x1f3044}=_0xbc0156['_splitMarkerName'](_0x1086d1);if(_0x1147('0x61')==_0x170381&&_0xbc0156[_0x1147('0x66')](_0x1f3044)){if(_0x1147('0x3a')==_0x15c429&&(_0x1147('0x6')==_0x5e9bb0||_0x1147('0x34')==_0x5e9bb0)){const _0x1d9dfa=_0xbc0156[_0x1147('0x22')](_0x1f3044);if(_0x48aabe[_0x1147('0x44')]){const _0x46f099=_0x1d9dfa[_0x1147('0x5f')]()[_0x1147('0x1')]();if(_0x2d914a[_0x1147('0x5e')](_0x46f099))continue;_0xbc0156[_0x1147('0x1a')](_0x1d9dfa),_0x435cfa=!0x0;}}if(_0x1147('0x53')==_0x15c429&&_0x1147('0x19')==_0x5e9bb0&&!_0x48aabe[_0x1147('0x44')]){const _0x1210aa=_0xbc0156[_0x1147('0x22')](_0x1f3044);_0x1210aa[_0x1147('0x1d')]&&_0x1210aa['next'][_0x1147('0x6a')]&&(_0xbc0156['discardSuggestion'](_0x1210aa['next']),_0x435cfa=!0x0);}}}return _0x435cfa;}),_0x1e0100[_0x1147('0xf')]['has'](_0x1147('0x47'))&&_0xbc0156[_0x1147('0x16')](_0x1147('0x2d'),(_0x1056bd,_0x4a0a8e)=>{const _0x3c5b6b=_0x2d914a[_0x1147('0x37')](_0x1e0100[_0x1147('0x13')]['document']['selection']);_0x3c5b6b[_0x1147('0x4d')](_0x1147('0x6e'))!=_0x4a0a8e[_0x1147('0x6e')]&&_0x1e0100['model'][_0x1147('0x4a')](()=>{_0xbc0156[_0x1147('0x2b')](_0x3c5b6b,{'commandName':'resizeImage','commandParams':[_0x4a0a8e]});});}),_0x1e0100[_0x1147('0xf')][_0x1147('0x74')]('ImageTextAlternativeEditing')&&_0xbc0156[_0x1147('0x16')](_0x1147('0x5b'),(_0x1e89ae,_0x483e86)=>{const _0x2d7104=_0x2d914a[_0x1147('0x37')](_0x1e0100[_0x1147('0x13')][_0x1147('0x36')][_0x1147('0xe')]);(_0x2d7104['hasAttribute'](_0x1147('0x79'))?_0x2d7104[_0x1147('0x4d')](_0x1147('0x79')):'')!=_0x483e86[_0x1147('0x0')]&&_0x1e0100[_0x1147('0x13')][_0x1147('0x4a')](()=>{_0xbc0156[_0x1147('0x2b')](_0x2d7104,{'commandName':_0x1147('0x5b'),'commandParams':[_0x483e86]});});}),_0xbc0156[_0x1147('0x2e')][_0x1147('0x10')](_0x19d67a=>{if(!!_0x28ddc6[_0x1147('0x17')](({type:_0x271aab,subType:_0x29d697})=>_0x19d67a['type']==_0x271aab&&_0x19d67a[_0x1147('0x52')]==_0x29d697))return _0x19d67a['previous']?{}:void 0x0;}),_0xbc0156[_0x1147('0x2e')][_0x1147('0x10')](_0x5db209=>{if(_0x1147('0x53')==_0x5db209[_0x1147('0x6d')]||_0x1147('0x4e')==_0x5db209[_0x1147('0x6d')]){const _0x43fe3d=_0x5db209[_0x1147('0x1')]();if(_0x43fe3d&&_0x43fe3d['is'](_0x1147('0x5a'),_0x1147('0x5d')))return{'type':_0x1147('0x53')==_0x5db209[_0x1147('0x6d')]?_0x1147('0x6c'):_0x1147('0x28'),'element':_0x43fe3d,'quantity':0x1};}}),_0xbc0156['_descriptionFactory'][_0x1147('0x10')](_0x11c1c2=>_0x1147('0x3a')==_0x11c1c2[_0x1147('0x6d')]&&_0x1147('0x20')==_0x11c1c2[_0x1147('0x52')]?{'type':_0x1147('0x51'),'content':_0x1147('0x2')}:_0x1147('0x3a')==_0x11c1c2['type']&&_0x1147('0x1e')==_0x11c1c2[_0x1147('0x52')]?{'type':_0x1147('0x51'),'content':_0x1147('0x67')}:void 0x0),_0xbc0156['_descriptionFactory'][_0x1147('0x10')](_0x336b90=>{const {data:_0x1f8e1e}=_0x336b90;if(_0x1f8e1e){if('imageStyle'==_0x1f8e1e[_0x1147('0x1b')]){const _0x5abe2e=_0x1f8e1e['commandParams'][0x0][_0x1147('0x70')];return _0x2454f0(_0x1147('0x6b')===_0x5abe2e?_0x4a2fb9(_0x50217d,_0x1147('0x39')):_0x107aa1[_0x5abe2e]||_0x5abe2e);}if('imageTextAlternative'==_0x1f8e1e[_0x1147('0x1b')]){const _0x4c050e=_0x1f8e1e[_0x1147('0x69')][0x0][_0x1147('0x0')];return _0x4c050e?{'type':_0x1147('0x51'),'content':_0x4a2fb9(_0x50217d,'*Set\x20image\x20text\x20alternative:*\x20%0','\x22'+_0x4c050e+'\x22')}:{'type':_0x1147('0x51'),'content':_0x4a2fb9(_0x50217d,_0x1147('0x41'))};}if(_0x1147('0x2d')==_0x1f8e1e['commandName']){const _0x1b117c=_0x1f8e1e[_0x1147('0x69')][0x0][_0x1147('0x6e')];return _0x1b117c?{'type':_0x1147('0x51'),'content':_0x4a2fb9(_0x50217d,_0x1147('0x54'),_0x1b117c)}:{'type':_0x1147('0x51'),'content':_0x4a2fb9(_0x50217d,_0x1147('0x2f'))};}}function _0x2454f0(_0x546c7a){return{'type':_0x1147('0x51'),'content':_0x4a2fb9(_0x50217d,_0x1147('0x4'),_0x546c7a)};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x12ee=['get','formatBlock','locale','registerCustomCallback','replaceImageSource','data','enableCommand','getSuggestions','accept','author','*Format:*\x20replace\x20image\x20URL','discard','editor','plugins','selection','getContainedElement','getSuggestionCallback','model','document','source','getAttribute','commandName','handleSuggestionDescription','TrackChangesEditing','afterInit','change','handleReplaceImageCommand','_suggestionFactory','markBlockFormat','getSelectedElement'];(function(_0x551067,_0x12eea4){const _0xa75aba=function(_0x499f7c){while(--_0x499f7c){_0x551067['push'](_0x551067['shift']());}};_0xa75aba(++_0x12eea4);}(_0x12ee,0x1c9));const _0xa75a=function(_0x551067,_0x12eea4){_0x551067=_0x551067-0x0;let _0xa75aba=_0x12ee[_0x551067];return _0xa75aba;};import{Plugin as _0x2473f2}from'ckeditor5/src/core';import{getTranslation as _0x542669}from'../utils/common-translations';export default class Y extends _0x2473f2{[_0xa75a('0x11')](){if(!this[_0xa75a('0x5')]['plugins']['has']('ImageEditing'))return;const _0x542c43=this[_0xa75a('0x5')][_0xa75a('0x6')][_0xa75a('0x17')](_0xa75a('0x10'));_0x542c43[_0xa75a('0x1d')](_0xa75a('0x1b'),(_0x26cd2b,_0x1b0695)=>this[_0xa75a('0x13')](_0x26cd2b,_0x1b0695)),_0x542c43[_0xa75a('0x14')][_0xa75a('0x1a')](_0xa75a('0x18'),_0xa75a('0x1b'),_0xa75a('0x1'),_0x542c43[_0xa75a('0x14')][_0xa75a('0x9')](_0xa75a('0x18'),null,_0xa75a('0x4'))),_0x542c43[_0xa75a('0x14')]['registerCustomCallback'](_0xa75a('0x18'),_0xa75a('0x1b'),_0xa75a('0x4'),_0x542c43['_suggestionFactory']['getSuggestionCallback']('formatBlock',null,_0xa75a('0x1'))),_0x542c43['_descriptionFactory']['registerDescriptionCallback'](_0x53585a=>this[_0xa75a('0xf')](_0x53585a));}['handleReplaceImageCommand'](_0x38e372,_0x1e9f14){const _0xe19b14=this[_0xa75a('0x5')][_0xa75a('0x6')]['get'](_0xa75a('0x10')),_0x26ce2f=this[_0xa75a('0x5')][_0xa75a('0xa')][_0xa75a('0xb')][_0xa75a('0x7')][_0xa75a('0x16')]();this['editor'][_0xa75a('0xa')][_0xa75a('0x12')](()=>{let _0xfc4d77=_0x26ce2f[_0xa75a('0xd')]('src');const _0x512846=this[_0xa75a('0x5')]['plugins'][_0xa75a('0x17')]('Users')['me'];for(const _0x596ab2 of _0xe19b14[_0xa75a('0x0')]({'skipNotAttached':!0x0})){const _0x4a340f=_0x596ab2[_0xa75a('0x8')]();if(_0xa75a('0x1b')===_0x596ab2['subType']&&_0x4a340f===_0x26ce2f){_0x596ab2[_0xa75a('0x2')]!==_0x512846&&_0x596ab2[_0xa75a('0x4')](),_0xfc4d77=_0x596ab2[_0xa75a('0x1c')]['commandParams'][0x0][_0xa75a('0xc')];break;}}_0x38e372(_0x1e9f14),_0xe19b14[_0xa75a('0x15')](_0x26ce2f,{'commandName':_0xa75a('0x1b'),'commandParams':[{'source':_0xfc4d77}]},[],_0xa75a('0x1b'));});}[_0xa75a('0xf')](_0x4cc599){const {data:_0x4a9510}=_0x4cc599;if(_0x4a9510&&_0xa75a('0x1b')===_0x4a9510[_0xa75a('0xe')]){const _0x464c03=_0xa75a('0x3');return{'type':'format','content':_0x542669(this['editor'][_0xa75a('0x19')],_0x464c03)};}}}
23
+ const _0x19d5=['*Format:*\x20replace\x20image\x20URL','markBlockFormat','locale','getSuggestionCallback','document','discard','model','getContainedElement','handleReplaceImageCommand','accept','getSelectedElement','format','selection','afterInit','has','registerCustomCallback','Users','replaceImageSource','ImageEditing','_suggestionFactory','editor','plugins','_descriptionFactory','get','src','handleSuggestionDescription','formatBlock','enableCommand','getAttribute','subType','commandName'];(function(_0x1a61da,_0x19d54a){const _0x246e80=function(_0xe68f56){while(--_0xe68f56){_0x1a61da['push'](_0x1a61da['shift']());}};_0x246e80(++_0x19d54a);}(_0x19d5,0xd2));const _0x246e=function(_0x1a61da,_0x19d54a){_0x1a61da=_0x1a61da-0x0;let _0x246e80=_0x19d5[_0x1a61da];return _0x246e80;};import{Plugin as _0x5cf0cf}from'ckeditor5/src/core';import{getTranslation as _0x2b52bd}from'../utils/common-translations';export default class Y extends _0x5cf0cf{[_0x246e('0x14')](){if(!this[_0x246e('0x1b')][_0x246e('0x1c')][_0x246e('0x15')](_0x246e('0x19')))return;const _0x97c47c=this[_0x246e('0x1b')]['plugins'][_0x246e('0x1e')]('TrackChangesEditing');_0x97c47c[_0x246e('0x3')](_0x246e('0x18'),(_0x46ed33,_0x26dbd4)=>this['handleReplaceImageCommand'](_0x46ed33,_0x26dbd4)),_0x97c47c[_0x246e('0x1a')]['registerCustomCallback']('formatBlock',_0x246e('0x18'),_0x246e('0x10'),_0x97c47c['_suggestionFactory'][_0x246e('0xa')](_0x246e('0x2'),null,_0x246e('0xc'))),_0x97c47c[_0x246e('0x1a')][_0x246e('0x16')](_0x246e('0x2'),_0x246e('0x18'),_0x246e('0xc'),_0x97c47c[_0x246e('0x1a')][_0x246e('0xa')](_0x246e('0x2'),null,_0x246e('0x10'))),_0x97c47c[_0x246e('0x1d')]['registerDescriptionCallback'](_0x151d7c=>this[_0x246e('0x1')](_0x151d7c));}[_0x246e('0xf')](_0x331129,_0x4483a2){const _0x26698e=this[_0x246e('0x1b')][_0x246e('0x1c')]['get']('TrackChangesEditing'),_0x4fb0f5=this['editor'][_0x246e('0xd')][_0x246e('0xb')][_0x246e('0x13')][_0x246e('0x11')]();this[_0x246e('0x1b')][_0x246e('0xd')]['change'](()=>{let _0x3c14ba=_0x4fb0f5[_0x246e('0x4')](_0x246e('0x0'));const _0x11b61f=this[_0x246e('0x1b')][_0x246e('0x1c')][_0x246e('0x1e')](_0x246e('0x17'))['me'];for(const _0x438729 of _0x26698e['getSuggestions']({'skipNotAttached':!0x0})){const _0x30d415=_0x438729[_0x246e('0xe')]();if('replaceImageSource'===_0x438729[_0x246e('0x5')]&&_0x30d415===_0x4fb0f5){_0x438729['author']!==_0x11b61f&&_0x438729[_0x246e('0xc')](),_0x3c14ba=_0x438729['data']['commandParams'][0x0]['source'];break;}}_0x331129(_0x4483a2),_0x26698e[_0x246e('0x8')](_0x4fb0f5,{'commandName':'replaceImageSource','commandParams':[{'source':_0x3c14ba}]},[],_0x246e('0x18'));});}[_0x246e('0x1')](_0x3112ba){const {data:_0x5e28da}=_0x3112ba;if(_0x5e28da&&_0x246e('0x18')===_0x5e28da[_0x246e('0x6')]){const _0xf10c6f=_0x246e('0x7');return{'type':_0x246e('0x12'),'content':_0x2b52bd(this[_0x246e('0x1b')][_0x246e('0x9')],_0xf10c6f)};}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2621=['execute','trackChanges','value','_setSuggestionData','_handleImportedData','TrackChangesEditing','get','editor','enableCommand','collaboration_features','bind','listenTo','_trackChangesValueDuringImport','plugins','track_changes','commands','Users','dataInsert','_trackChangesExecuted','importWord'];(function(_0x556dc9,_0x26219e){const _0x5e37a0=function(_0x4479de){while(--_0x4479de){_0x556dc9['push'](_0x556dc9['shift']());}};_0x5e37a0(++_0x26219e);}(_0x2621,0x1cb));const _0x5e37=function(_0x556dc9,_0x26219e){_0x556dc9=_0x556dc9-0x0;let _0x5e37a0=_0x2621[_0x556dc9];return _0x5e37a0;};import{Plugin as _0x2ccb22}from'ckeditor5/src/core';export default class Z extends _0x2ccb22{constructor(_0xfb6f5a){super(_0xfb6f5a),this[_0x5e37('0xd')]=!0x1,this[_0x5e37('0x13')]=!0x1;}['afterInit'](){const _0x41d199=this[_0x5e37('0x8')],_0x33a59a=_0x41d199['commands'][_0x5e37('0x7')](_0x5e37('0x0')),_0x23caa5=_0x41d199[_0x5e37('0x10')][_0x5e37('0x7')](_0x5e37('0x2'));_0x33a59a&&(_0x33a59a['on'](_0x5e37('0x1'),(_0x2a4339,[,_0x297870])=>{this[_0x5e37('0xd')]=_0x23caa5[_0x5e37('0x3')],_0x297870[_0x5e37('0xa')][_0x5e37('0xf')]=!this[_0x5e37('0xd')];},{'priority':'high'}),this[_0x5e37('0xc')](_0x33a59a,_0x5e37('0x12'),this[_0x5e37('0x5')][_0x5e37('0xb')](this)),this[_0x5e37('0xc')](_0x33a59a,'dataInsert',()=>{this[_0x5e37('0x13')]&&(_0x23caa5[_0x5e37('0x1')](),this[_0x5e37('0x13')]=!0x1);},{'priority':'lowest'}),_0x41d199[_0x5e37('0xe')]['get'](_0x5e37('0x6'))[_0x5e37('0x9')](_0x5e37('0x0')));}['_handleImportedData'](_0x100e14,_0x280cc2){const {suggestions:_0x4f0f88}=_0x280cc2,_0x463e62=this[_0x5e37('0x8')][_0x5e37('0x10')][_0x5e37('0x7')]('trackChanges'),_0x1d8b93=_0x463e62['value'];this[_0x5e37('0xd')]!==_0x1d8b93&&(_0x463e62[_0x5e37('0x1')](),this[_0x5e37('0x13')]=!0x0),_0x4f0f88&&_0x4f0f88['forEach'](({id:_0x510322,type:_0x1d7319,author:_0x1eb5ab,created_at:_0x466863})=>{const _0x3da783={'id':_0x510322,'type':_0x1d7319,'authorId':this[_0x5e37('0x8')][_0x5e37('0xe')][_0x5e37('0x7')](_0x5e37('0x11'))['me']['id'],'createdAt':new Date(),'data':null,'hasComments':!0x1,'attributes':{'@external':{'authorName':_0x1eb5ab,'createdAt':_0x466863?new Date(_0x466863):new Date(),'source':'importWord'}}};this[_0x5e37('0x8')][_0x5e37('0xe')][_0x5e37('0x7')](_0x5e37('0x6'))[_0x5e37('0x4')](_0x3da783);});}}
23
+ const _0x4251=['editor','high','track_changes','afterInit','_setSuggestionData','_handleImportedData','execute','commands','TrackChangesEditing','lowest','forEach','bind','value','_trackChangesExecuted','_trackChangesValueDuringImport','dataInsert','get','trackChanges','listenTo','plugins','importWord','enableCommand'];(function(_0x30a762,_0x425160){const _0x5e605c=function(_0x439d5b){while(--_0x439d5b){_0x30a762['push'](_0x30a762['shift']());}};_0x5e605c(++_0x425160);}(_0x4251,0x130));const _0x5e60=function(_0x30a762,_0x425160){_0x30a762=_0x30a762-0x0;let _0x5e605c=_0x4251[_0x30a762];return _0x5e605c;};import{Plugin as _0x40d1a4}from'ckeditor5/src/core';export default class Z extends _0x40d1a4{constructor(_0x31d4be){super(_0x31d4be),this[_0x5e60('0x12')]=!0x1,this[_0x5e60('0x11')]=!0x1;}[_0x5e60('0x7')](){const _0x4d8e9a=this[_0x5e60('0x4')],_0x526477=_0x4d8e9a[_0x5e60('0xb')]['get']('importWord'),_0x45be05=_0x4d8e9a[_0x5e60('0xb')][_0x5e60('0x14')](_0x5e60('0x15'));_0x526477&&(_0x526477['on'](_0x5e60('0xa'),(_0x30d322,[,_0x448e97])=>{this['_trackChangesValueDuringImport']=_0x45be05[_0x5e60('0x10')],_0x448e97['collaboration_features'][_0x5e60('0x6')]=!this['_trackChangesValueDuringImport'];},{'priority':_0x5e60('0x5')}),this[_0x5e60('0x0')](_0x526477,_0x5e60('0x13'),this[_0x5e60('0x9')][_0x5e60('0xf')](this)),this[_0x5e60('0x0')](_0x526477,_0x5e60('0x13'),()=>{this[_0x5e60('0x11')]&&(_0x45be05[_0x5e60('0xa')](),this[_0x5e60('0x11')]=!0x1);},{'priority':_0x5e60('0xd')}),_0x4d8e9a[_0x5e60('0x1')][_0x5e60('0x14')]('TrackChangesEditing')[_0x5e60('0x3')](_0x5e60('0x2')));}[_0x5e60('0x9')](_0x259e19,_0x5556c3){const {suggestions:_0x200c99}=_0x5556c3,_0x57bce8=this[_0x5e60('0x4')][_0x5e60('0xb')][_0x5e60('0x14')](_0x5e60('0x15')),_0x25c91f=_0x57bce8['value'];this[_0x5e60('0x12')]!==_0x25c91f&&(_0x57bce8['execute'](),this[_0x5e60('0x11')]=!0x0),_0x200c99&&_0x200c99[_0x5e60('0xe')](({id:_0x194a09,type:_0x16b070,author:_0x325a69,created_at:_0xe75f0})=>{const _0x210063={'id':_0x194a09,'type':_0x16b070,'authorId':this[_0x5e60('0x4')][_0x5e60('0x1')][_0x5e60('0x14')]('Users')['me']['id'],'createdAt':new Date(),'data':null,'hasComments':!0x1,'attributes':{'@external':{'authorName':_0x325a69,'createdAt':_0xe75f0?new Date(_0xe75f0):new Date(),'source':_0x5e60('0x2')}}};this[_0x5e60('0x4')]['plugins'][_0x5e60('0x14')](_0x5e60('0xc'))[_0x5e60('0x8')](_0x210063);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3eb0=['editor','document','model','change','outdentBlock','selection','checkAttribute','outdent','IndentBlock','from','indentBlock','blockIndent','markBlockFormat','_descriptionFactory','IndentEditing','registerDescriptionCallback','filter','*Outdent:*\x20%0','format','get','TrackChangesEditing','afterInit','getItemLabel','getSelectedBlocks','enableCommand','has','plugins','getItems','commandName','indent'];(function(_0x174368,_0x3eb0aa){const _0x412f90=function(_0x181d2d){while(--_0x181d2d){_0x174368['push'](_0x174368['shift']());}};_0x412f90(++_0x3eb0aa);}(_0x3eb0,0xc5));const _0x412f=function(_0x174368,_0x3eb0aa){_0x174368=_0x174368-0x0;let _0x412f90=_0x3eb0[_0x174368];return _0x412f90;};import{Plugin as _0x94d3dd}from'ckeditor5/src/core';import{getTranslation as _0x4789b7}from'../utils/common-translations';export default class tt extends _0x94d3dd{[_0x412f('0x4')](){const _0x2ceef5=this['editor'],_0x4bc711=_0x2ceef5[_0x412f('0x9')][_0x412f('0x2')](_0x412f('0x3'));_0x2ceef5[_0x412f('0x9')][_0x412f('0x8')](_0x412f('0x1b'))&&(_0x4bc711[_0x412f('0x7')](_0x412f('0xc')),_0x4bc711[_0x412f('0x7')](_0x412f('0x14')));const _0x5effe3=_0x2ceef5['locale'];if(_0x2ceef5['plugins'][_0x412f('0x8')](_0x412f('0x15'))){for(const _0x5c3e54 of[_0x412f('0x17'),_0x412f('0x11')])_0x4bc711['enableCommand'](_0x5c3e54,()=>{const _0x33ceaf=Array[_0x412f('0x16')](this[_0x412f('0xd')][_0x412f('0xf')][_0x412f('0xe')][_0x412f('0x12')][_0x412f('0x6')]())[_0x412f('0x1d')](_0x2344b1=>this[_0x412f('0xd')][_0x412f('0xf')]['schema'][_0x412f('0x13')](_0x2344b1,_0x412f('0x18')));_0x2ceef5[_0x412f('0xf')][_0x412f('0x10')](()=>{for(const _0x3db88d of _0x33ceaf)_0x4bc711[_0x412f('0x19')](_0x3db88d,{'commandName':_0x5c3e54,'commandParams':[{'value':''}],'formatGroupId':_0x412f('0x17')});});});_0x4bc711[_0x412f('0x1a')][_0x412f('0x1c')](_0x10d999=>{const {data:_0x5a6f19}=_0x10d999;if(!_0x5a6f19)return;if(_0x412f('0x17')!=_0x5a6f19[_0x412f('0xb')]&&_0x412f('0x11')!=_0x5a6f19[_0x412f('0xb')])return;const _0x1d0f4b=_0x10d999[_0x412f('0xa')]()[0x0],_0x2d8a0a=_0x4bc711[_0x412f('0x1a')][_0x412f('0x5')](_0x1d0f4b);return _0x412f('0x17')==_0x5a6f19['commandName']?{'type':'format','content':_0x4789b7(_0x5effe3,'*Indent:*\x20%0',_0x2d8a0a)}:_0x412f('0x11')==_0x5a6f19['commandName']?{'type':_0x412f('0x1'),'content':_0x4789b7(_0x5effe3,_0x412f('0x0'),_0x2d8a0a)}:void 0x0;});}}}
23
+ const _0x5612=['change','getSelectedBlocks','IndentBlock','enableCommand','*Indent:*\x20%0','outdent','registerDescriptionCallback','outdentBlock','document','indentBlock','TrackChangesEditing','checkAttribute','editor','getItems','has','plugins','IndentEditing','format','model','indent','commandName','*Outdent:*\x20%0','afterInit','_descriptionFactory','get','markBlockFormat','locale','schema'];(function(_0x1b1ffc,_0x56125d){const _0x105ec2=function(_0x26e78e){while(--_0x26e78e){_0x1b1ffc['push'](_0x1b1ffc['shift']());}};_0x105ec2(++_0x56125d);}(_0x5612,0xd6));const _0x105e=function(_0x1b1ffc,_0x56125d){_0x1b1ffc=_0x1b1ffc-0x0;let _0x105ec2=_0x5612[_0x1b1ffc];return _0x105ec2;};import{Plugin as _0xde540e}from'ckeditor5/src/core';import{getTranslation as _0xe15c6}from'../utils/common-translations';export default class tt extends _0xde540e{[_0x105e('0x4')](){const _0x37736e=this['editor'],_0x1d18a1=_0x37736e[_0x105e('0x19')][_0x105e('0x6')](_0x105e('0x14'));_0x37736e[_0x105e('0x19')][_0x105e('0x18')](_0x105e('0x1a'))&&(_0x1d18a1[_0x105e('0xd')](_0x105e('0x1')),_0x1d18a1[_0x105e('0xd')](_0x105e('0xf')));const _0x174334=_0x37736e[_0x105e('0x8')];if(_0x37736e[_0x105e('0x19')][_0x105e('0x18')](_0x105e('0xc'))){for(const _0x571983 of[_0x105e('0x13'),_0x105e('0x11')])_0x1d18a1['enableCommand'](_0x571983,()=>{const _0x4199f9=Array['from'](this[_0x105e('0x16')][_0x105e('0x0')][_0x105e('0x12')]['selection'][_0x105e('0xb')]())['filter'](_0x17033f=>this[_0x105e('0x16')][_0x105e('0x0')][_0x105e('0x9')][_0x105e('0x15')](_0x17033f,'blockIndent'));_0x37736e[_0x105e('0x0')][_0x105e('0xa')](()=>{for(const _0x20b060 of _0x4199f9)_0x1d18a1[_0x105e('0x7')](_0x20b060,{'commandName':_0x571983,'commandParams':[{'value':''}],'formatGroupId':_0x105e('0x13')});});});_0x1d18a1[_0x105e('0x5')][_0x105e('0x10')](_0x5c61cc=>{const {data:_0x1572e2}=_0x5c61cc;if(!_0x1572e2)return;if(_0x105e('0x13')!=_0x1572e2[_0x105e('0x2')]&&_0x105e('0x11')!=_0x1572e2['commandName'])return;const _0x5b764a=_0x5c61cc[_0x105e('0x17')]()[0x0],_0x1241f1=_0x1d18a1['_descriptionFactory']['getItemLabel'](_0x5b764a);return _0x105e('0x13')==_0x1572e2['commandName']?{'type':_0x105e('0x1b'),'content':_0xe15c6(_0x174334,_0x105e('0xe'),_0x1241f1)}:_0x105e('0x11')==_0x1572e2['commandName']?{'type':'format','content':_0xe15c6(_0x174334,_0x105e('0x3'),_0x1241f1)}:void 0x0;});}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0xe0c4=['plugins','requires','init','TrackChangesEditing','input','editor','enableCommand'];(function(_0x1a1f71,_0xe0c484){var _0x20b284=function(_0x4742b4){while(--_0x4742b4){_0x1a1f71['push'](_0x1a1f71['shift']());}};_0x20b284(++_0xe0c484);}(_0xe0c4,0xd1));var _0x20b2=function(_0x1a1f71,_0xe0c484){_0x1a1f71=_0x1a1f71-0x0;var _0x20b284=_0xe0c4[_0x1a1f71];return _0x20b284;};import{Plugin as _0xdfda15}from'ckeditor5/src/core';import{Input as _0x203d38}from'ckeditor5/src/typing';export default class it extends _0xdfda15{static get[_0x20b2('0x2')](){return[_0x203d38];}[_0x20b2('0x3')](){this[_0x20b2('0x6')][_0x20b2('0x1')]['get'](_0x20b2('0x4'))[_0x20b2('0x0')](_0x20b2('0x5'));}}
23
+ var _0x126a=['init','plugins','enableCommand','get','editor','TrackChangesEditing'];(function(_0x28df4e,_0x126a18){var _0x3a2283=function(_0x140d91){while(--_0x140d91){_0x28df4e['push'](_0x28df4e['shift']());}};_0x3a2283(++_0x126a18);}(_0x126a,0x10f));var _0x3a22=function(_0x28df4e,_0x126a18){_0x28df4e=_0x28df4e-0x0;var _0x3a2283=_0x126a[_0x28df4e];return _0x3a2283;};import{Plugin as _0x598d48}from'ckeditor5/src/core';import{Input as _0x4d68bf}from'ckeditor5/src/typing';export default class it extends _0x598d48{static get['requires'](){return[_0x4d68bf];}[_0x3a22('0x5')](){this[_0x3a22('0x3')][_0x3a22('0x0')][_0x3a22('0x2')](_0x3a22('0x4'))[_0x3a22('0x1')]('input');}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3156=['editor','from','LinkEditing','get','getFirstRange','registerDescriptionCallback','has','link','getFirstPosition','document','enableCommand','getRanges','selection','plugins','commandName','linkHref','locale','unlink','model','TrackChangesEditing','isCollapsed','*Set\x20link:*\x20%0','change','getAttribute','_descriptionFactory','format','markInlineFormat','afterInit','commandParams','*Remove\x20link*'];(function(_0x57a83c,_0x31566d){const _0x5ecd04=function(_0x5625e2){while(--_0x5625e2){_0x57a83c['push'](_0x57a83c['shift']());}};_0x5ecd04(++_0x31566d);}(_0x3156,0x1d4));const _0x5ecd=function(_0x57a83c,_0x31566d){_0x57a83c=_0x57a83c-0x0;let _0x5ecd04=_0x3156[_0x57a83c];return _0x5ecd04;};import{Plugin as _0x5da586}from'ckeditor5/src/core';import{findAttributeRange as _0x53fbe5}from'ckeditor5/src/typing';import{getRangesWithAttribute as _0x2d7b7d}from'./utils';import{getTranslation as _0x45e7b9}from'../utils/common-translations';export default class et extends _0x5da586{[_0x5ecd('0x9')](){const _0x3f1f57=this[_0x5ecd('0xc')];if(!_0x3f1f57[_0x5ecd('0x19')][_0x5ecd('0x12')](_0x5ecd('0xe')))return;const _0x230aa8=_0x3f1f57['plugins'][_0x5ecd('0xf')](_0x5ecd('0x1'));_0x230aa8[_0x5ecd('0x16')](_0x5ecd('0x13'),(_0x5ce00b,_0x39bf80)=>{const _0x59784c=_0x3f1f57[_0x5ecd('0x0')][_0x5ecd('0x15')][_0x5ecd('0x18')];let _0xf88a6a=[];if(_0x59784c[_0x5ecd('0x2')]){if(!_0x59784c['hasAttribute']('linkHref'))return void _0x5ce00b(_0x39bf80);{const _0x355380=_0x53fbe5(_0x59784c[_0x5ecd('0x14')](),_0x5ecd('0x1b'),_0x59784c['getAttribute'](_0x5ecd('0x1b')),_0x3f1f57[_0x5ecd('0x0')]);_0xf88a6a=[_0x355380];}}else _0xf88a6a=Array[_0x5ecd('0xd')](_0x59784c[_0x5ecd('0x17')]());_0x3f1f57[_0x5ecd('0x0')][_0x5ecd('0x4')](()=>{for(const _0x242528 of _0xf88a6a)_0x230aa8[_0x5ecd('0x8')](_0x242528,{'commandName':_0x5ecd('0x13'),'commandParams':[_0x39bf80]});});}),_0x230aa8[_0x5ecd('0x16')](_0x5ecd('0x1d'),()=>{const _0x2dc18f=this[_0x5ecd('0xc')][_0x5ecd('0x0')],_0x590d19=_0x2dc18f['document'][_0x5ecd('0x18')];_0x2dc18f[_0x5ecd('0x4')](()=>{let _0x298e60=[];if(_0x590d19['isCollapsed'])_0x298e60=[_0x53fbe5(_0x590d19[_0x5ecd('0x14')](),'linkHref',_0x590d19[_0x5ecd('0x5')](_0x5ecd('0x1b')),_0x3f1f57[_0x5ecd('0x0')])];else _0x298e60=_0x2d7b7d('linkHref',_0x590d19[_0x5ecd('0x10')](),_0x3f1f57['model']);for(const _0xb6c618 of _0x298e60)_0x230aa8['markInlineFormat'](_0xb6c618,{'commandName':_0x5ecd('0x1d'),'commandParams':[]});});}),_0x230aa8[_0x5ecd('0x6')][_0x5ecd('0x11')](_0x1a6dd1=>{const {data:_0x1d7859}=_0x1a6dd1,_0x50a73e=_0x3f1f57[_0x5ecd('0x1c')];if(_0x1d7859){if('link'==_0x1d7859[_0x5ecd('0x1a')]){const _0x1a0b77=_0x1d7859[_0x5ecd('0xa')][0x0];return{'type':_0x5ecd('0x7'),'content':_0x45e7b9(_0x50a73e,_0x5ecd('0x3'),'\x22'+_0x1a0b77+'\x22')};}return _0x5ecd('0x1d')==_0x1d7859[_0x5ecd('0x1a')]?{'type':'format','content':_0x45e7b9(_0x50a73e,_0x5ecd('0xb'))}:void 0x0;}});}}
23
+ const _0x4589=['getRanges','get','markInlineFormat','getFirstRange','change','plugins','linkHref','commandParams','unlink','afterInit','has','model','commandName','registerDescriptionCallback','*Set\x20link:*\x20%0','document','locale','editor','TrackChangesEditing','LinkEditing','getFirstPosition','hasAttribute','_descriptionFactory','format','isCollapsed','getAttribute','enableCommand'];(function(_0x10c3b7,_0x4589ce){const _0x3891ad=function(_0xbc54cc){while(--_0xbc54cc){_0x10c3b7['push'](_0x10c3b7['shift']());}};_0x3891ad(++_0x4589ce);}(_0x4589,0xaa));const _0x3891=function(_0x10c3b7,_0x4589ce){_0x10c3b7=_0x10c3b7-0x0;let _0x3891ad=_0x4589[_0x10c3b7];return _0x3891ad;};import{Plugin as _0x53c244}from'ckeditor5/src/core';import{findAttributeRange as _0x5bdfa7}from'ckeditor5/src/typing';import{getRangesWithAttribute as _0x15a1eb}from'./utils';import{getTranslation as _0x3250fd}from'../utils/common-translations';export default class et extends _0x53c244{[_0x3891('0x1')](){const _0x31a454=this[_0x3891('0x9')];if(!_0x31a454[_0x3891('0x18')][_0x3891('0x2')](_0x3891('0xb')))return;const _0xdddae8=_0x31a454[_0x3891('0x18')][_0x3891('0x14')](_0x3891('0xa'));_0xdddae8['enableCommand']('link',(_0x2ba3fe,_0x45eeba)=>{const _0x2eaa9f=_0x31a454['model'][_0x3891('0x7')]['selection'];let _0x571c7b=[];if(_0x2eaa9f[_0x3891('0x10')]){if(!_0x2eaa9f[_0x3891('0xd')]('linkHref'))return void _0x2ba3fe(_0x45eeba);{const _0x18d3f8=_0x5bdfa7(_0x2eaa9f[_0x3891('0xc')](),'linkHref',_0x2eaa9f['getAttribute']('linkHref'),_0x31a454['model']);_0x571c7b=[_0x18d3f8];}}else _0x571c7b=Array['from'](_0x2eaa9f[_0x3891('0x13')]());_0x31a454[_0x3891('0x3')]['change'](()=>{for(const _0x1fed37 of _0x571c7b)_0xdddae8['markInlineFormat'](_0x1fed37,{'commandName':'link','commandParams':[_0x45eeba]});});}),_0xdddae8[_0x3891('0x12')](_0x3891('0x0'),()=>{const _0x3d472f=this[_0x3891('0x9')][_0x3891('0x3')],_0xc9f835=_0x3d472f['document']['selection'];_0x3d472f[_0x3891('0x17')](()=>{let _0x1b2f5b=[];if(_0xc9f835[_0x3891('0x10')])_0x1b2f5b=[_0x5bdfa7(_0xc9f835['getFirstPosition'](),_0x3891('0x19'),_0xc9f835[_0x3891('0x11')]('linkHref'),_0x31a454[_0x3891('0x3')])];else _0x1b2f5b=_0x15a1eb(_0x3891('0x19'),_0xc9f835[_0x3891('0x16')](),_0x31a454[_0x3891('0x3')]);for(const _0x2363c0 of _0x1b2f5b)_0xdddae8[_0x3891('0x15')](_0x2363c0,{'commandName':'unlink','commandParams':[]});});}),_0xdddae8[_0x3891('0xe')][_0x3891('0x5')](_0x258b41=>{const {data:_0x6cb53d}=_0x258b41,_0x2f174d=_0x31a454[_0x3891('0x8')];if(_0x6cb53d){if('link'==_0x6cb53d['commandName']){const _0x588459=_0x6cb53d[_0x3891('0x1a')][0x0];return{'type':'format','content':_0x3250fd(_0x2f174d,_0x3891('0x6'),'\x22'+_0x588459+'\x22')};}return _0x3891('0x0')==_0x6cb53d[_0x3891('0x4')]?{'type':_0x3891('0xf'),'content':_0x3250fd(_0x2f174d,'*Remove\x20link*')}:void 0x0;}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5bf4=['findIndex','length','ELEMENT_NUMBERED_LIST','from','has','outdentList','afterInit','indentList','locale','document','registerDescriptionCallback','*Check\x20item*','List','registerElementLabel','editor','_descriptionFactory','end','parent','get','*Outdent:*\x20%0','bulletedList','ListEditing','name','blockName','todoListChecked','createRange','push','listIndent','filter','*Indent:*\x20%0','commandName','slice','selection','createPositionAt','TodoListEditing','enableCommand','execute','format','isObject','paragraph','model','markBlockFormat','*Change\x20to:*\x20%0','getAttribute','element','checkChild','listType','ELEMENT_LIST_ITEM','ELEMENT_TODO_LIST','todoList','getSelectedBlocks','todo','plugins','add','value','before','commands','_selectedElements','checkTodoList','commandParams','nextSibling','listItem','numberedList','schema','change','replace','previousSibling'];(function(_0x11bb91,_0x5bf489){const _0x1ae540=function(_0x51297a){while(--_0x51297a){_0x11bb91['push'](_0x11bb91['shift']());}};_0x1ae540(++_0x5bf489);}(_0x5bf4,0xae));const _0x1ae5=function(_0x11bb91,_0x5bf489){_0x11bb91=_0x11bb91-0x0;let _0x1ae540=_0x5bf4[_0x11bb91];return _0x1ae540;};import{Plugin as _0x3b4a96}from'ckeditor5/src/core';import{getTranslation as _0x558701}from'../utils/common-translations';export default class nt extends _0x3b4a96{[_0x1ae5('0x21')](){const _0x2c7245=this[_0x1ae5('0x29')],_0x412ac5=_0x2c7245[_0x1ae5('0x23')];if(!_0x2c7245['plugins'][_0x1ae5('0x1f')](_0x1ae5('0x30')))return;const _0x111efa=_0x2c7245[_0x1ae5('0xc')]['get']('TrackChangesEditing'),_0x12b898=_0x2c7245[_0x1ae5('0xc')]['has'](_0x1ae5('0x3d'));function _0x204c03(_0x160c6c){return()=>{const _0x1b1347=_0x2c7245[_0x1ae5('0x0')][_0x1ae5('0x24')][_0x1ae5('0x3b')],_0x14766e=_0x2c7245[_0x1ae5('0x10')][_0x1ae5('0x2d')](_0x160c6c);if(_0x14766e['value'])return void _0x2c7245[_0x1ae5('0x3f')](_0x1ae5('0x42'),{});const _0x2b8b87=_0x160c6c[_0x1ae5('0x3a')](0x0,-0x4),_0x1517b9=function(_0x418d34,_0x232a3e,_0x48b00d){let _0x28f1e3=Array[_0x1ae5('0x1e')](_0x418d34)[_0x1ae5('0x37')](_0x5c9ce9=>function(_0xd9609d,_0x2f8ca0){return _0x2f8ca0[_0x1ae5('0x5')](_0xd9609d[_0x1ae5('0x2c')],_0x1ae5('0x15'))&&!_0x2f8ca0[_0x1ae5('0x41')](_0xd9609d);}(_0x5c9ce9,_0x48b00d));_0x28f1e3=_0x28f1e3[_0x1ae5('0x37')](_0x1a1ca4=>!_0x1a1ca4['is'](_0x1ae5('0x4'),_0x1ae5('0x15'))||_0x1a1ca4[_0x1ae5('0x3')](_0x1ae5('0x6'))!=_0x232a3e);const _0x37bc39=new Set();for(const _0x485b77 of _0x28f1e3)_0x485b77['is'](_0x1ae5('0x4'),'listItem')?_0x37bc39[_0x1ae5('0xd')](ne(_0x485b77)):_0x37bc39['add'](_0x485b77);return Array['from'](_0x37bc39);}(_0x1b1347[_0x1ae5('0xa')](),_0x2b8b87,_0x2c7245[_0x1ae5('0x0')][_0x1ae5('0x17')]);_0x2c7245[_0x1ae5('0x0')][_0x1ae5('0x18')](()=>{for(const _0x54aac2 of _0x1517b9)_0x111efa[_0x1ae5('0x1')](_0x54aac2,{'commandName':_0x160c6c,'commandParams':[{'forceValue':!_0x14766e[_0x1ae5('0xe')]}],'formatGroupId':_0x1ae5('0x32')},oe(_0x54aac2));});};}function _0x3a1f5f(_0x2c4592){return()=>{const _0x249ad4=function(_0x178194){let _0x2d5272=Array[_0x1ae5('0x1e')](_0x178194);const _0x574968=_0x2d5272[_0x1ae5('0x1b')](_0x4ce460=>_0x1ae5('0x15')!=_0x4ce460[_0x1ae5('0x31')]);return _0x574968>-0x1&&(_0x2d5272=_0x2d5272['slice'](0x0,_0x574968)),_0x2d5272;}(_0x2c7245['model'][_0x1ae5('0x24')][_0x1ae5('0x3b')][_0x1ae5('0xa')]()),_0x3a4571=_0x2c7245[_0x1ae5('0x0')][_0x1ae5('0x34')](_0x2c7245[_0x1ae5('0x0')][_0x1ae5('0x3c')](_0x249ad4[0x0],_0x1ae5('0xf')),_0x2c7245[_0x1ae5('0x0')]['createPositionAt'](_0x249ad4[_0x249ad4[_0x1ae5('0x1c')]-0x1],_0x1ae5('0x2b')));_0x2c7245[_0x1ae5('0x0')]['change'](()=>{_0x111efa[_0x1ae5('0x1')](_0x3a4571,{'commandName':_0x2c4592,'commandParams':[],'formatGroupId':'listIndent'},function(_0x3354c9){const _0x575334=new Set();for(const _0x562186 of _0x3354c9){let _0x3d623d=_0x562186[_0x1ae5('0x14')];for(;_0x3d623d&&_0x3d623d[_0x1ae5('0x3')](_0x1ae5('0x36'))>_0x562186[_0x1ae5('0x3')](_0x1ae5('0x36'));)_0x575334[_0x1ae5('0xd')](_0x3d623d),_0x3d623d=_0x3d623d['nextSibling'];}return Array[_0x1ae5('0x1e')](_0x575334);}(_0x249ad4));});};}_0x111efa[_0x1ae5('0x3e')](_0x1ae5('0x16'),_0x204c03(_0x1ae5('0x16'))),_0x111efa[_0x1ae5('0x3e')](_0x1ae5('0x2f'),_0x204c03(_0x1ae5('0x2f'))),_0x12b898&&_0x111efa[_0x1ae5('0x3e')](_0x1ae5('0x9'),_0x204c03(_0x1ae5('0x9'))),_0x111efa['enableCommand'](_0x1ae5('0x22'),_0x3a1f5f(_0x1ae5('0x22'))),_0x111efa[_0x1ae5('0x3e')](_0x1ae5('0x20'),_0x3a1f5f('outdentList')),_0x12b898&&_0x111efa['enableCommand'](_0x1ae5('0x12'),()=>{const _0x2e2bd4=_0x2c7245[_0x1ae5('0x10')]['get'](_0x1ae5('0x12')),_0x58deb8=Array[_0x1ae5('0x1e')](_0x2e2bd4[_0x1ae5('0x11')]);_0x58deb8[_0x1ae5('0x37')](_0x1ead79=>_0x1ead79[_0x1ae5('0x3')](_0x1ae5('0x33'))!=_0x2e2bd4[_0x1ae5('0xe')]),_0x2c7245[_0x1ae5('0x0')][_0x1ae5('0x18')](()=>{for(const _0x30afdf of _0x58deb8)_0x111efa['markBlockFormat'](_0x30afdf,{'commandName':_0x1ae5('0x12'),'commandParams':[{'forceValue':!_0x2e2bd4[_0x1ae5('0xe')]}]});});}),_0x111efa['_descriptionFactory'][_0x1ae5('0x28')]('listItem',_0x57a6bf=>_0x558701(_0x412ac5,_0x1ae5('0x7'),_0x57a6bf)),_0x111efa[_0x1ae5('0x2a')][_0x1ae5('0x25')](_0x5aa8c7=>{const {data:_0xe8d6c1}=_0x5aa8c7;if(_0xe8d6c1){if(_0x1ae5('0x16')==_0xe8d6c1[_0x1ae5('0x39')]||'bulletedList'==_0xe8d6c1[_0x1ae5('0x39')]||_0x1ae5('0x9')==_0xe8d6c1[_0x1ae5('0x39')])switch(_0xe8d6c1['commandName'][_0x1ae5('0x19')](_0x1ae5('0x27'),'')){case'bulleted':return _0x4568c5(_0x558701(_0x412ac5,'ELEMENT_BULLETED_LIST'));case'numbered':return _0x4568c5(_0x558701(_0x412ac5,_0x1ae5('0x1d')));case _0x1ae5('0xb'):return _0x4568c5(_0x558701(_0x412ac5,_0x1ae5('0x8')));}if(_0x1ae5('0x22')==_0xe8d6c1[_0x1ae5('0x39')])return{'type':_0x1ae5('0x40'),'content':_0x558701(_0x412ac5,_0x1ae5('0x38'),_0x558701(_0x412ac5,_0x1ae5('0x7')))};if(_0x1ae5('0x20')==_0xe8d6c1['commandName'])return{'type':'format','content':_0x558701(_0x412ac5,_0x1ae5('0x2e'),_0x558701(_0x412ac5,_0x1ae5('0x7')))};if('checkTodoList'==_0xe8d6c1[_0x1ae5('0x39')])return _0xe8d6c1[_0x1ae5('0x13')][0x0]['forceValue']?{'type':_0x1ae5('0x40'),'content':_0x558701(_0x412ac5,_0x1ae5('0x26'))}:{'type':_0x1ae5('0x40'),'content':_0x558701(_0x412ac5,'*Uncheck\x20item*')};}function _0x4568c5(_0x24ce27){return{'type':_0x1ae5('0x40'),'content':_0x558701(_0x412ac5,_0x1ae5('0x2'),_0x24ce27)};}});}}function ne(_0x4cc686){const _0x12b017=_0x4cc686[_0x1ae5('0x3')](_0x1ae5('0x36'));if(0x0==_0x12b017)return _0x4cc686;let _0x2d45d4=_0x4cc686;for(;_0x4cc686[_0x1ae5('0x1a')]&&_0x4cc686[_0x1ae5('0x1a')]['is'](_0x1ae5('0x4'),'listItem');){const _0x52441e=_0x4cc686['previousSibling']['getAttribute']('listIndent');if(_0x52441e==_0x12b017)_0x2d45d4=_0x4cc686[_0x1ae5('0x1a')];else{if(_0x52441e<_0x12b017)break;}_0x4cc686=_0x4cc686['previousSibling'];}return _0x2d45d4;}function oe(_0xce8cfb){const _0x533eb9=[];if(_0xce8cfb['is'](_0x1ae5('0x4'),_0x1ae5('0x15'))&&_0xce8cfb[_0x1ae5('0x3')]('listIndent')>0x0){let _0x20baaa=_0xce8cfb['nextSibling'];for(;_0x20baaa&&_0x1ae5('0x15')==_0x20baaa[_0x1ae5('0x31')]&&_0x20baaa[_0x1ae5('0x3')](_0x1ae5('0x36'))==_0xce8cfb[_0x1ae5('0x3')](_0x1ae5('0x36'));)_0x533eb9[_0x1ae5('0x35')](_0x20baaa),_0x20baaa=_0x20baaa['nextSibling'];}return _0x533eb9;}
23
+ const _0x2706=['numberedList','listIndent','*Change\x20to:*\x20%0','listType','commandName','previousSibling','add','end','plugins','isObject','findIndex','listItem','createPositionAt','name','has','element','*Indent:*\x20%0','getAttribute','_selectedElements','todoListChecked','todoList','enableCommand','execute','format','forceValue','change','value','registerElementLabel','schema','editor','ListEditing','afterInit','selection','paragraph','markBlockFormat','from','outdentList','createRange','*Outdent:*\x20%0','locale','ELEMENT_BULLETED_LIST','bulleted','get','*Uncheck\x20item*','blockName','document','commandParams','ELEMENT_LIST_ITEM','checkChild','model','getSelectedBlocks','nextSibling','checkTodoList','numbered','push','ELEMENT_TODO_LIST','bulletedList','replace','TrackChangesEditing','slice','List','filter','registerDescriptionCallback','ELEMENT_NUMBERED_LIST','*Check\x20item*','length','indentList','commands','todo','TodoListEditing'];(function(_0x2c1764,_0x270685){const _0x4ae4a3=function(_0x26c788){while(--_0x26c788){_0x2c1764['push'](_0x2c1764['shift']());}};_0x4ae4a3(++_0x270685);}(_0x2706,0x11d));const _0x4ae4=function(_0x2c1764,_0x270685){_0x2c1764=_0x2c1764-0x0;let _0x4ae4a3=_0x2706[_0x2c1764];return _0x4ae4a3;};import{Plugin as _0x5bae38}from'ckeditor5/src/core';import{getTranslation as _0x44b3a9}from'../utils/common-translations';export default class nt extends _0x5bae38{[_0x4ae4('0x1a')](){const _0x59d1f7=this[_0x4ae4('0x18')],_0x5b398f=_0x59d1f7[_0x4ae4('0x22')];if(!_0x59d1f7[_0x4ae4('0x3')][_0x4ae4('0x9')](_0x4ae4('0x19')))return;const _0x4aa430=_0x59d1f7[_0x4ae4('0x3')][_0x4ae4('0x25')](_0x4ae4('0x35')),_0x5d5580=_0x59d1f7[_0x4ae4('0x3')][_0x4ae4('0x9')](_0x4ae4('0x40'));function _0x4047a5(_0x2e83bf){return()=>{const _0x430dbd=_0x59d1f7[_0x4ae4('0x2c')]['document'][_0x4ae4('0x1b')],_0x2dc033=_0x59d1f7[_0x4ae4('0x3e')][_0x4ae4('0x25')](_0x2e83bf);if(_0x2dc033[_0x4ae4('0x15')])return void _0x59d1f7[_0x4ae4('0x11')](_0x4ae4('0x1c'),{});const _0x2561f0=_0x2e83bf[_0x4ae4('0x36')](0x0,-0x4),_0x2abdcf=function(_0x35b2bb,_0x31ec84,_0x5091f6){let _0xc451b8=Array['from'](_0x35b2bb)[_0x4ae4('0x38')](_0x2feafd=>function(_0x57df46,_0x5b5fa7){return _0x5b5fa7[_0x4ae4('0x2b')](_0x57df46['parent'],_0x4ae4('0x6'))&&!_0x5b5fa7[_0x4ae4('0x4')](_0x57df46);}(_0x2feafd,_0x5091f6));_0xc451b8=_0xc451b8[_0x4ae4('0x38')](_0x2727b3=>!_0x2727b3['is']('element',_0x4ae4('0x6'))||_0x2727b3['getAttribute'](_0x4ae4('0x44'))!=_0x31ec84);const _0x53b149=new Set();for(const _0x3267d0 of _0xc451b8)_0x3267d0['is'](_0x4ae4('0xa'),_0x4ae4('0x6'))?_0x53b149[_0x4ae4('0x1')](ne(_0x3267d0)):_0x53b149['add'](_0x3267d0);return Array[_0x4ae4('0x1e')](_0x53b149);}(_0x430dbd[_0x4ae4('0x2d')](),_0x2561f0,_0x59d1f7[_0x4ae4('0x2c')][_0x4ae4('0x17')]);_0x59d1f7['model'][_0x4ae4('0x14')](()=>{for(const _0x3deb6d of _0x2abdcf)_0x4aa430[_0x4ae4('0x1d')](_0x3deb6d,{'commandName':_0x2e83bf,'commandParams':[{'forceValue':!_0x2dc033['value']}],'formatGroupId':_0x4ae4('0x27')},oe(_0x3deb6d));});};}function _0x365d1e(_0x5112a6){return()=>{const _0x4c6172=function(_0x31be18){let _0x53272c=Array['from'](_0x31be18);const _0x47cfa7=_0x53272c[_0x4ae4('0x5')](_0x56c796=>_0x4ae4('0x6')!=_0x56c796[_0x4ae4('0x8')]);return _0x47cfa7>-0x1&&(_0x53272c=_0x53272c['slice'](0x0,_0x47cfa7)),_0x53272c;}(_0x59d1f7[_0x4ae4('0x2c')][_0x4ae4('0x28')]['selection'][_0x4ae4('0x2d')]()),_0x239b68=_0x59d1f7[_0x4ae4('0x2c')][_0x4ae4('0x20')](_0x59d1f7[_0x4ae4('0x2c')][_0x4ae4('0x7')](_0x4c6172[0x0],'before'),_0x59d1f7[_0x4ae4('0x2c')][_0x4ae4('0x7')](_0x4c6172[_0x4c6172[_0x4ae4('0x3c')]-0x1],_0x4ae4('0x2')));_0x59d1f7['model']['change'](()=>{_0x4aa430[_0x4ae4('0x1d')](_0x239b68,{'commandName':_0x5112a6,'commandParams':[],'formatGroupId':_0x4ae4('0x42')},function(_0x5a3541){const _0x41221f=new Set();for(const _0x562595 of _0x5a3541){let _0x1c6632=_0x562595[_0x4ae4('0x2e')];for(;_0x1c6632&&_0x1c6632[_0x4ae4('0xc')](_0x4ae4('0x42'))>_0x562595['getAttribute']('listIndent');)_0x41221f['add'](_0x1c6632),_0x1c6632=_0x1c6632['nextSibling'];}return Array[_0x4ae4('0x1e')](_0x41221f);}(_0x4c6172));});};}_0x4aa430[_0x4ae4('0x10')](_0x4ae4('0x41'),_0x4047a5(_0x4ae4('0x41'))),_0x4aa430[_0x4ae4('0x10')](_0x4ae4('0x33'),_0x4047a5(_0x4ae4('0x33'))),_0x5d5580&&_0x4aa430[_0x4ae4('0x10')](_0x4ae4('0xf'),_0x4047a5(_0x4ae4('0xf'))),_0x4aa430[_0x4ae4('0x10')](_0x4ae4('0x3d'),_0x365d1e(_0x4ae4('0x3d'))),_0x4aa430[_0x4ae4('0x10')]('outdentList',_0x365d1e(_0x4ae4('0x1f'))),_0x5d5580&&_0x4aa430['enableCommand'](_0x4ae4('0x2f'),()=>{const _0x26e684=_0x59d1f7['commands']['get'](_0x4ae4('0x2f')),_0x36877f=Array[_0x4ae4('0x1e')](_0x26e684[_0x4ae4('0xd')]);_0x36877f[_0x4ae4('0x38')](_0x37ef7a=>_0x37ef7a[_0x4ae4('0xc')](_0x4ae4('0xe'))!=_0x26e684[_0x4ae4('0x15')]),_0x59d1f7[_0x4ae4('0x2c')][_0x4ae4('0x14')](()=>{for(const _0x1964ed of _0x36877f)_0x4aa430[_0x4ae4('0x1d')](_0x1964ed,{'commandName':_0x4ae4('0x2f'),'commandParams':[{'forceValue':!_0x26e684[_0x4ae4('0x15')]}]});});}),_0x4aa430['_descriptionFactory'][_0x4ae4('0x16')]('listItem',_0x559df7=>_0x44b3a9(_0x5b398f,_0x4ae4('0x2a'),_0x559df7)),_0x4aa430['_descriptionFactory'][_0x4ae4('0x39')](_0x1f8808=>{const {data:_0x4560ba}=_0x1f8808;if(_0x4560ba){if(_0x4ae4('0x41')==_0x4560ba['commandName']||_0x4ae4('0x33')==_0x4560ba['commandName']||'todoList'==_0x4560ba['commandName'])switch(_0x4560ba[_0x4ae4('0x45')][_0x4ae4('0x34')](_0x4ae4('0x37'),'')){case _0x4ae4('0x24'):return _0x150737(_0x44b3a9(_0x5b398f,_0x4ae4('0x23')));case _0x4ae4('0x30'):return _0x150737(_0x44b3a9(_0x5b398f,_0x4ae4('0x3a')));case _0x4ae4('0x3f'):return _0x150737(_0x44b3a9(_0x5b398f,_0x4ae4('0x32')));}if(_0x4ae4('0x3d')==_0x4560ba[_0x4ae4('0x45')])return{'type':'format','content':_0x44b3a9(_0x5b398f,_0x4ae4('0xb'),_0x44b3a9(_0x5b398f,_0x4ae4('0x2a')))};if(_0x4ae4('0x1f')==_0x4560ba[_0x4ae4('0x45')])return{'type':_0x4ae4('0x12'),'content':_0x44b3a9(_0x5b398f,_0x4ae4('0x21'),_0x44b3a9(_0x5b398f,'ELEMENT_LIST_ITEM'))};if('checkTodoList'==_0x4560ba[_0x4ae4('0x45')])return _0x4560ba[_0x4ae4('0x29')][0x0][_0x4ae4('0x13')]?{'type':_0x4ae4('0x12'),'content':_0x44b3a9(_0x5b398f,_0x4ae4('0x3b'))}:{'type':_0x4ae4('0x12'),'content':_0x44b3a9(_0x5b398f,_0x4ae4('0x26'))};}function _0x150737(_0xf45f47){return{'type':_0x4ae4('0x12'),'content':_0x44b3a9(_0x5b398f,_0x4ae4('0x43'),_0xf45f47)};}});}}function ne(_0x143c42){const _0x482659=_0x143c42[_0x4ae4('0xc')](_0x4ae4('0x42'));if(0x0==_0x482659)return _0x143c42;let _0x511796=_0x143c42;for(;_0x143c42[_0x4ae4('0x0')]&&_0x143c42[_0x4ae4('0x0')]['is'](_0x4ae4('0xa'),_0x4ae4('0x6'));){const _0x4d327c=_0x143c42[_0x4ae4('0x0')][_0x4ae4('0xc')](_0x4ae4('0x42'));if(_0x4d327c==_0x482659)_0x511796=_0x143c42['previousSibling'];else{if(_0x4d327c<_0x482659)break;}_0x143c42=_0x143c42[_0x4ae4('0x0')];}return _0x511796;}function oe(_0x8d454f){const _0x5adecd=[];if(_0x8d454f['is'](_0x4ae4('0xa'),_0x4ae4('0x6'))&&_0x8d454f[_0x4ae4('0xc')]('listIndent')>0x0){let _0x240cc8=_0x8d454f[_0x4ae4('0x2e')];for(;_0x240cc8&&_0x4ae4('0x6')==_0x240cc8[_0x4ae4('0x8')]&&_0x240cc8[_0x4ae4('0xc')](_0x4ae4('0x42'))==_0x8d454f[_0x4ae4('0xc')]('listIndent');)_0x5adecd[_0x4ae4('0x31')](_0x240cc8),_0x240cc8=_0x240cc8[_0x4ae4('0x2e')];}return _0x5adecd;}