@ckeditor/ckeditor5-track-changes 38.0.0-rc.1 → 38.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (64) hide show
  1. package/build/track-changes.js +2 -2
  2. package/package.json +3 -3
  3. package/src/commands/acceptsuggestioncommand.js +1 -1
  4. package/src/commands/discardsuggestioncommand.js +1 -1
  5. package/src/commands/executeonallsuggestionscommand.js +1 -1
  6. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  7. package/src/commands/trackchangescommand.js +1 -1
  8. package/src/integrations/alignment.js +1 -1
  9. package/src/integrations/basicstyles.js +1 -1
  10. package/src/integrations/blockquote.js +1 -1
  11. package/src/integrations/ckbox.js +1 -1
  12. package/src/integrations/codeblock.js +1 -1
  13. package/src/integrations/comments.js +1 -1
  14. package/src/integrations/deletecommand.js +1 -1
  15. package/src/integrations/documentlist.js +1 -1
  16. package/src/integrations/documentlistproperties.js +1 -1
  17. package/src/integrations/entercommand.js +1 -1
  18. package/src/integrations/findandreplace.js +1 -1
  19. package/src/integrations/font.js +1 -1
  20. package/src/integrations/formatpainter.js +1 -1
  21. package/src/integrations/heading.js +1 -1
  22. package/src/integrations/highlight.js +1 -1
  23. package/src/integrations/horizontalline.js +1 -1
  24. package/src/integrations/htmlembed.js +1 -1
  25. package/src/integrations/image.js +1 -1
  26. package/src/integrations/imagereplace.js +1 -1
  27. package/src/integrations/importword.js +1 -1
  28. package/src/integrations/indent.js +1 -1
  29. package/src/integrations/inputcommand.js +1 -1
  30. package/src/integrations/link.js +1 -1
  31. package/src/integrations/list.js +1 -1
  32. package/src/integrations/listproperties.js +1 -1
  33. package/src/integrations/mediaembed.js +1 -1
  34. package/src/integrations/mention.js +1 -1
  35. package/src/integrations/pagebreak.js +1 -1
  36. package/src/integrations/paragraph.js +1 -1
  37. package/src/integrations/removeformat.js +1 -1
  38. package/src/integrations/restrictededitingmode.js +1 -1
  39. package/src/integrations/shiftentercommand.js +1 -1
  40. package/src/integrations/standardeditingmode.js +1 -1
  41. package/src/integrations/style.js +1 -1
  42. package/src/integrations/table.js +1 -1
  43. package/src/integrations/tablecaption.js +1 -1
  44. package/src/integrations/tableclipboard.js +1 -1
  45. package/src/integrations/tablecolumnresize.js +1 -1
  46. package/src/integrations/tableheadings.js +1 -1
  47. package/src/integrations/tablemergesplit.js +1 -1
  48. package/src/integrations/tableofcontents.js +1 -1
  49. package/src/integrations/tableproperties.js +1 -1
  50. package/src/integrations/template.js +1 -1
  51. package/src/integrations/title.js +1 -1
  52. package/src/integrations/undo.js +1 -1
  53. package/src/integrations/utils.js +1 -1
  54. package/src/suggestion.js +1 -1
  55. package/src/suggestiondescriptionfactory.js +1 -1
  56. package/src/trackchanges.js +1 -1
  57. package/src/trackchangesdata.js +1 -1
  58. package/src/trackchangesediting.js +1 -1
  59. package/src/trackchangesui.js +1 -1
  60. package/src/ui/suggestioncontroller.js +1 -1
  61. package/src/ui/view/basesuggestionthreadview.js +1 -1
  62. package/src/ui/view/suggestionthreadview.js +1 -1
  63. package/src/utils/common-translations.js +1 -1
  64. package/src/utils/utils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2e4a=['fontColor.colors','getRanges','fontFamily','afterInit','markInlineFormat','title','*Set\x20font\x20color:*\x20%0','find','FontFamilyEditing','enableCommand','config','TrackChangesEditing','*Set\x20font\x20size:*\x20%0','model','trim','*Reset\x20font\x20family*','*Reset\x20font\x20background\x20color*','commandName','*Reset\x20font\x20color*','label','_descriptionFactory','change','value','*Set\x20font\x20background\x20color:*\x20%0','_enableCommand','editor','format','isCollapsed','registerDescriptionCallback','selection','toLowerCase','commandParams','from','fontSize.options','FontColorEditing','normalizeSizeOptions','get','fontSize','fontColor','plugins','fontBackgroundColor'];(function(_0x5cd566,_0x2e4ad1){const _0x4ac67b=function(_0x4c1aca){while(--_0x4c1aca){_0x5cd566['push'](_0x5cd566['shift']());}};_0x4ac67b(++_0x2e4ad1);}(_0x2e4a,0x1ea));const _0x4ac6=function(_0x5cd566,_0x2e4ad1){_0x5cd566=_0x5cd566-0x0;let _0x4ac67b=_0x2e4a[_0x5cd566];return _0x4ac67b;};import{Plugin as _0x3d0c54}from'ckeditor5/src/core';import{normalizeColorOptions as _0x36f73b}from'ckeditor5/src/ui';import{getRangesWithAttribute as _0x5db7a3}from'./utils';import{getTranslation as _0x225cfd}from'../utils/common-translations';const Zt=[{'pluginName':'FontSizeEditing','commandName':_0x4ac6('0x27')},{'pluginName':_0x4ac6('0xa'),'commandName':_0x4ac6('0x4')},{'pluginName':_0x4ac6('0x24'),'commandName':_0x4ac6('0x28')},{'pluginName':'FontBackgroundColorEditing','commandName':'fontBackgroundColor'}];export default class H extends _0x3d0c54{[_0x4ac6('0x5')](){const _0x1f7ec6=this[_0x4ac6('0x1b')]['locale'];for(const {pluginName:_0x46ea23,commandName:_0x493321}of Zt)this['editor'][_0x4ac6('0x0')]['has'](_0x46ea23)&&this[_0x4ac6('0x1a')](_0x493321);this[_0x4ac6('0x1b')][_0x4ac6('0x0')][_0x4ac6('0x26')](_0x4ac6('0xd'))[_0x4ac6('0x16')][_0x4ac6('0x1e')](_0x1e2b6e=>{const _0x458a12=_0x1f7ec6['t'],{data:_0x13f2d3}=_0x1e2b6e;if(null!=_0x13f2d3){if('fontSize'==_0x13f2d3[_0x4ac6('0x13')]){const _0x1b4021=_0x13f2d3['commandParams'][0x0][_0x4ac6('0x18')];if(_0x1b4021){const _0x11ba20=_0x458a12(this['editor'][_0x4ac6('0x0')][_0x4ac6('0x26')]('FontSize')[_0x4ac6('0x25')](this[_0x4ac6('0x1b')]['config'][_0x4ac6('0x26')](_0x4ac6('0x23')))['find'](_0x3dcca9=>_0x3dcca9[_0x4ac6('0xf')]==_0x1b4021)[_0x4ac6('0x7')])[_0x4ac6('0x20')]();return{'type':'format','content':_0x225cfd(_0x1f7ec6,_0x4ac6('0xe'),_0x11ba20)};}return{'type':_0x4ac6('0x1c'),'content':_0x225cfd(_0x1f7ec6,'*Reset\x20font\x20size*')};}if(_0x4ac6('0x4')==_0x13f2d3[_0x4ac6('0x13')]){const _0x70a81d=_0x13f2d3[_0x4ac6('0x21')][0x0][_0x4ac6('0x18')];return _0x70a81d?{'type':'format','content':_0x225cfd(_0x1f7ec6,'*Set\x20font\x20family:*\x20%0',_0x70a81d)}:{'type':'format','content':_0x225cfd(_0x1f7ec6,_0x4ac6('0x11'))};}if('fontColor'==_0x13f2d3[_0x4ac6('0x13')]){const _0x44d972=_0x13f2d3[_0x4ac6('0x21')][0x0][_0x4ac6('0x18')];if(_0x44d972){const _0x7f07ff=_0x36f73b(this['editor'][_0x4ac6('0xc')][_0x4ac6('0x26')](_0x4ac6('0x2')))[_0x4ac6('0x9')](_0x15ace4=>_0x15ace4[_0x4ac6('0xf')]==_0x44d972);let _0x39b154=_0x44d972,_0x58e631='';return _0x7f07ff&&(_0x39b154=_0x7f07ff[_0x4ac6('0x15')],_0x58e631=_0x458a12(_0x39b154)[_0x4ac6('0x20')]()),{'type':_0x4ac6('0x1c'),'content':_0x225cfd(_0x1f7ec6,_0x4ac6('0x8'),_0x58e631)[_0x4ac6('0x10')](),'color':{'value':_0x44d972,'title':_0x58e631||_0x39b154}};}return{'type':_0x4ac6('0x1c'),'content':_0x225cfd(_0x1f7ec6,_0x4ac6('0x14'))};}if(_0x4ac6('0x1')==_0x13f2d3[_0x4ac6('0x13')]){const _0x24f8e2=_0x13f2d3[_0x4ac6('0x21')][0x0][_0x4ac6('0x18')];if(_0x24f8e2){const _0x5a870e=_0x36f73b(this[_0x4ac6('0x1b')][_0x4ac6('0xc')][_0x4ac6('0x26')]('fontBackgroundColor.colors'))['find'](_0x498ab9=>_0x498ab9[_0x4ac6('0xf')]==_0x24f8e2);let _0x405f87=_0x24f8e2,_0xd5a30c='';return _0x5a870e&&(_0x405f87=_0x5a870e[_0x4ac6('0x15')],_0xd5a30c=_0x458a12(_0x405f87)['toLowerCase']()),{'type':'format','content':_0x225cfd(_0x1f7ec6,_0x4ac6('0x19'),_0xd5a30c)[_0x4ac6('0x10')](),'color':{'value':_0x24f8e2,'title':_0xd5a30c||_0x405f87}};}return{'type':_0x4ac6('0x1c'),'content':_0x225cfd(_0x1f7ec6,_0x4ac6('0x12'))};}}});}[_0x4ac6('0x1a')](_0x43281e){const _0xa81e35=this[_0x4ac6('0x1b')];_0xa81e35[_0x4ac6('0x0')][_0x4ac6('0x26')](_0x4ac6('0xd'))[_0x4ac6('0xb')](_0x43281e,(_0x1e2d5f,_0x2539e4={})=>{const _0x2fb56e=_0xa81e35[_0x4ac6('0xf')]['document'][_0x4ac6('0x1f')],_0x266074=_0x2539e4[_0x4ac6('0x18')];_0x2fb56e[_0x4ac6('0x1d')]?_0x1e2d5f(_0x2539e4):_0xa81e35[_0x4ac6('0xf')][_0x4ac6('0x17')](()=>{const _0x4b99a2=Array[_0x4ac6('0x22')](_0x2fb56e[_0x4ac6('0x3')]());for(const _0x2c177d of _0x4b99a2){const _0xb514d0=_0x266074?[_0x2c177d]:_0x5db7a3(_0x43281e,_0x2c177d,_0xa81e35[_0x4ac6('0xf')]);for(const _0x2c1709 of _0xb514d0)_0xa81e35[_0x4ac6('0x0')][_0x4ac6('0x26')](_0x4ac6('0xd'))[_0x4ac6('0x6')](_0x2c1709,{'commandName':_0x43281e,'commandParams':[{'value':_0x266074}]});}});});}}
23
+ const _0x29e9=['selection','fontBackgroundColor.colors','config','FontSize','value','toLowerCase','find','trim','FontFamilyEditing','format','fontSize','getRanges','from','*Reset\x20font\x20size*','label','change','_enableCommand','get','plugins','fontColor.colors','*Reset\x20font\x20color*','markInlineFormat','*Set\x20font\x20color:*\x20%0','normalizeSizeOptions','commandParams','*Set\x20font\x20family:*\x20%0','commandName','*Set\x20font\x20size:*\x20%0','afterInit','has','FontSizeEditing','fontColor','fontFamily','model','*Set\x20font\x20background\x20color:*\x20%0','locale','FontBackgroundColorEditing','editor','fontBackgroundColor','TrackChangesEditing','*Reset\x20font\x20background\x20color*','registerDescriptionCallback'];(function(_0x19bc10,_0x29e9a0){const _0x2c70f8=function(_0x2f3e9a){while(--_0x2f3e9a){_0x19bc10['push'](_0x19bc10['shift']());}};_0x2c70f8(++_0x29e9a0);}(_0x29e9,0xd0));const _0x2c70=function(_0x19bc10,_0x29e9a0){_0x19bc10=_0x19bc10-0x0;let _0x2c70f8=_0x29e9[_0x19bc10];return _0x2c70f8;};import{Plugin as _0x59d83c}from'ckeditor5/src/core';import{normalizeColorOptions as _0x52f487}from'ckeditor5/src/ui';import{getRangesWithAttribute as _0x1d582a}from'./utils';import{getTranslation as _0x4e4815}from'../utils/common-translations';const ao=[{'pluginName':_0x2c70('0x20'),'commandName':'fontSize'},{'pluginName':_0x2c70('0xa'),'commandName':_0x2c70('0x22')},{'pluginName':'FontColorEditing','commandName':_0x2c70('0x21')},{'pluginName':_0x2c70('0x26'),'commandName':_0x2c70('0x28')}];export default class H extends _0x59d83c{[_0x2c70('0x1e')](){const _0x3e9f5d=this[_0x2c70('0x27')][_0x2c70('0x25')];for(const {pluginName:_0x241427,commandName:_0x377ec6}of ao)this[_0x2c70('0x27')][_0x2c70('0x14')][_0x2c70('0x1f')](_0x241427)&&this[_0x2c70('0x12')](_0x377ec6);this[_0x2c70('0x27')][_0x2c70('0x14')][_0x2c70('0x13')](_0x2c70('0x29'))['_descriptionFactory'][_0x2c70('0x1')](_0x3e3b41=>{const _0xace240=_0x3e9f5d['t'],{data:_0x177751}=_0x3e3b41;if(null!=_0x177751){if(_0x2c70('0xc')==_0x177751[_0x2c70('0x1c')]){const _0x36f040=_0x177751['commandParams'][0x0][_0x2c70('0x6')];if(_0x36f040){const _0x3656c5=_0xace240(this[_0x2c70('0x27')][_0x2c70('0x14')][_0x2c70('0x13')](_0x2c70('0x5'))[_0x2c70('0x19')](this['editor'][_0x2c70('0x4')][_0x2c70('0x13')]('fontSize.options'))['find'](_0x510eb9=>_0x510eb9['model']==_0x36f040)['title'])['toLowerCase']();return{'type':_0x2c70('0xb'),'content':_0x4e4815(_0x3e9f5d,_0x2c70('0x1d'),_0x3656c5)};}return{'type':_0x2c70('0xb'),'content':_0x4e4815(_0x3e9f5d,_0x2c70('0xf'))};}if(_0x2c70('0x22')==_0x177751[_0x2c70('0x1c')]){const _0x287094=_0x177751[_0x2c70('0x1a')][0x0]['value'];return _0x287094?{'type':_0x2c70('0xb'),'content':_0x4e4815(_0x3e9f5d,_0x2c70('0x1b'),_0x287094)}:{'type':'format','content':_0x4e4815(_0x3e9f5d,'*Reset\x20font\x20family*')};}if(_0x2c70('0x21')==_0x177751[_0x2c70('0x1c')]){const _0x11ad58=_0x177751['commandParams'][0x0][_0x2c70('0x6')];if(_0x11ad58){const _0x1480f4=_0x52f487(this[_0x2c70('0x27')]['config'][_0x2c70('0x13')](_0x2c70('0x15')))[_0x2c70('0x8')](_0x27c589=>_0x27c589['model']==_0x11ad58);let _0x57fc3f=_0x11ad58,_0x29b09e='';return _0x1480f4&&(_0x57fc3f=_0x1480f4[_0x2c70('0x10')],_0x29b09e=_0xace240(_0x57fc3f)[_0x2c70('0x7')]()),{'type':_0x2c70('0xb'),'content':_0x4e4815(_0x3e9f5d,_0x2c70('0x18'),_0x29b09e)[_0x2c70('0x9')](),'color':{'value':_0x11ad58,'title':_0x29b09e||_0x57fc3f}};}return{'type':'format','content':_0x4e4815(_0x3e9f5d,_0x2c70('0x16'))};}if(_0x2c70('0x28')==_0x177751[_0x2c70('0x1c')]){const _0x1ec434=_0x177751[_0x2c70('0x1a')][0x0][_0x2c70('0x6')];if(_0x1ec434){const _0x38f49c=_0x52f487(this[_0x2c70('0x27')][_0x2c70('0x4')][_0x2c70('0x13')](_0x2c70('0x3')))[_0x2c70('0x8')](_0x5b983b=>_0x5b983b['model']==_0x1ec434);let _0x2be8b0=_0x1ec434,_0x314ed8='';return _0x38f49c&&(_0x2be8b0=_0x38f49c[_0x2c70('0x10')],_0x314ed8=_0xace240(_0x2be8b0)[_0x2c70('0x7')]()),{'type':'format','content':_0x4e4815(_0x3e9f5d,_0x2c70('0x24'),_0x314ed8)[_0x2c70('0x9')](),'color':{'value':_0x1ec434,'title':_0x314ed8||_0x2be8b0}};}return{'type':_0x2c70('0xb'),'content':_0x4e4815(_0x3e9f5d,_0x2c70('0x0'))};}}});}[_0x2c70('0x12')](_0x5e854a){const _0x3f0d7d=this[_0x2c70('0x27')];_0x3f0d7d[_0x2c70('0x14')][_0x2c70('0x13')](_0x2c70('0x29'))['enableCommand'](_0x5e854a,(_0x57d317,_0x84ae62={})=>{const _0x3fdf43=_0x3f0d7d[_0x2c70('0x23')]['document'][_0x2c70('0x2')],_0x4b6efb=_0x84ae62['value'];_0x3fdf43['isCollapsed']?_0x57d317(_0x84ae62):_0x3f0d7d[_0x2c70('0x23')][_0x2c70('0x11')](()=>{const _0x55d28b=Array[_0x2c70('0xe')](_0x3fdf43[_0x2c70('0xd')]());for(const _0x3c03ef of _0x55d28b){const _0x374b9d=_0x4b6efb?[_0x3c03ef]:_0x1d582a(_0x5e854a,_0x3c03ef,_0x3f0d7d[_0x2c70('0x23')]);for(const _0x11ff47 of _0x374b9d)_0x3f0d7d[_0x2c70('0x14')][_0x2c70('0x13')](_0x2c70('0x29'))[_0x2c70('0x17')](_0x11ff47,{'commandName':_0x5e854a,'commandParams':[{'value':_0x4b6efb}]});}});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x19ba=['copyFormat','fontBackgroundColor','locale','from','createSelection','*Remove\x20all\x20formatting*','length','slice','find','enableCommand','getLastPosition','fontColor.colors','document','format','fontSize','selection','markInlineFormat','word','getRanges','isCollapsed','isFormatting','getFirstPosition','schema','plugins','charAt','fontSize.options','modifySelection','entries','pasteFormat','*Set\x20format\x20to:*\x20%0','backward','commands','TrackChangesEditing','afterInit','get','keys','config','getItems','registerDescriptionCallback','toLowerCase','isBlock','fontColor','model','getSelectedBlocks','FontSize','getAttributes','getAttributeProperties','normalizeSizeOptions','forward'];(function(_0x2d57d5,_0x19ba1a){const _0x3d633a=function(_0x321d0b){while(--_0x321d0b){_0x2d57d5['push'](_0x2d57d5['shift']());}};_0x3d633a(++_0x19ba1a);}(_0x19ba,0x122));const _0x3d63=function(_0x2d57d5,_0x19ba1a){_0x2d57d5=_0x2d57d5-0x0;let _0x3d633a=_0x19ba[_0x2d57d5];return _0x3d633a;};import{Plugin as _0x2f622}from'ckeditor5/src/core';import{normalizeColorOptions as _0x5111c3}from'ckeditor5/src/ui';import{first as _0x589ed2}from'ckeditor5/src/utils';import{getTranslation as _0x632b8e}from'../utils/common-translations';export default class W extends _0x2f622{[_0x3d63('0x25')](){const _0x3ec4e4=this['editor'],_0x12ae05=_0x3ec4e4[_0x3d63('0x2e')],_0x45fb95=_0x12ae05[_0x3d63('0x10')][_0x3d63('0x13')],_0x1f87e7=_0x3ec4e4[_0x3d63('0x1b')][_0x3d63('0x26')](_0x3d63('0x24')),_0x5b194c=_0x3ec4e4[_0x3d63('0x6')],_0x1c21e4=_0x3ec4e4[_0x3d63('0x23')][_0x3d63('0x26')](_0x3d63('0x4')),_0x2f05c0=_0x3ec4e4[_0x3d63('0x23')][_0x3d63('0x26')](_0x3d63('0x20'));_0x1c21e4&&_0x2f05c0&&(_0x1f87e7['enableCommand'](_0x3d63('0x20'),(_0x32d954,_0x57fbbf={})=>{const _0x4ed7d7=_0x57fbbf;_0x12ae05['change'](()=>{const _0x855b7=Array[_0x3d63('0x7')](_0x45fb95['getRanges']()),_0x297296=_0x45fb95[_0x3d63('0x17')]?[ro(_0x12ae05,_0x45fb95)]:_0x855b7,_0x247932=!!_0x589ed2(function*(_0xe4f2e4,_0x44e923){const _0x5f5c95=_0x53c64b=>!!_0x589ed2(function*(_0x2e2673,_0xb84ec1){for(const [_0x2bca0d]of _0x2e2673[_0x3d63('0x0')]()){const _0x1fed51=_0xb84ec1[_0x3d63('0x1')](_0x2bca0d);_0x1fed51&&_0x1fed51[_0x3d63('0x18')]&&(yield _0x2bca0d);}}(_0x53c64b,_0x44e923));for(const _0x24835a of _0xe4f2e4[_0x3d63('0x16')]())for(const _0x11a9c4 of _0x24835a[_0x3d63('0x29')]())!_0x44e923[_0x3d63('0x2c')](_0x11a9c4)&&_0x5f5c95(_0x11a9c4)&&(yield _0x11a9c4);for(const _0x6b4e96 of _0xe4f2e4[_0x3d63('0x2f')]())_0x5f5c95(_0x6b4e96)&&(yield _0x6b4e96);_0x5f5c95(_0xe4f2e4)&&(yield _0xe4f2e4);}(_0x45fb95,_0x12ae05[_0x3d63('0x1a')]));if(_0x247932||0x0!==Object[_0x3d63('0x27')](_0x4ed7d7)[_0x3d63('0xa')])for(const _0x1f6e34 of _0x297296)_0x1f87e7[_0x3d63('0x14')](_0x1f6e34,{'commandName':'pasteFormat','commandParams':[_0x4ed7d7]});});}),_0x1f87e7['_descriptionFactory'][_0x3d63('0x2a')](_0x418ff9=>{const {data:_0x197229}=_0x418ff9;if(_0x197229&&'pasteFormat'===_0x197229['commandName']){const _0x103c56=[],_0x4af200=_0x197229['commandParams'][0x0];for(const [_0x3ed733,_0x26629e]of Object[_0x3d63('0x1f')](_0x4af200))_0x103c56['push'](no(_0x3ec4e4,_0x3ed733,_0x26629e));return _0x103c56[_0x3d63('0xa')]?{'type':_0x3d63('0x11'),'content':_0x632b8e(_0x5b194c,_0x3d63('0x21'),_0x103c56['join'](',\x20'))}:{'type':_0x3d63('0x11'),'content':_0x632b8e(_0x5b194c,_0x3d63('0x9'))};}}),_0x3ec4e4[_0x3d63('0x1b')][_0x3d63('0x26')]('TrackChangesEditing')[_0x3d63('0xd')](_0x3d63('0x4')));}}function ro(_0x1addc6,_0x2c5305){const _0xfd28c0=_0x1addc6[_0x3d63('0x8')](_0x2c5305);_0x1addc6[_0x3d63('0x1e')](_0xfd28c0,{'unit':_0x3d63('0x15'),'direction':_0x3d63('0x22')});const _0x32e07c=_0xfd28c0[_0x3d63('0x19')]();_0x1addc6[_0x3d63('0x1e')](_0xfd28c0,{'unit':_0x3d63('0x15'),'direction':_0x3d63('0x3')});const _0x2ccfd1=_0xfd28c0[_0x3d63('0xe')]();return _0x1addc6['createRange'](_0x32e07c,_0x2ccfd1);}function no(_0x57c4d6,_0x2f5f5e,_0x2acd66){const _0x1c1d0b=_0x57c4d6[_0x3d63('0x6')]['t'],_0x73c16a=_0x2f5f5e['split'](/(?=[A-Z])/)['join']('\x20'),_0x598ebc=_0x1c1d0b(_0x73c16a[_0x3d63('0x1c')](0x0)['toUpperCase']()+_0x73c16a[_0x3d63('0xb')](0x1))[_0x3d63('0x2b')]();if('boolean'==typeof _0x2acd66)return _0x598ebc;if(_0x3d63('0x2d')===_0x2f5f5e||_0x3d63('0x5')===_0x2f5f5e){const _0x3c1448=_0x5111c3(_0x57c4d6[_0x3d63('0x28')][_0x3d63('0x26')](_0x3d63('0xf')))[_0x3d63('0xc')](_0x24e0a5=>_0x24e0a5['model']==_0x2acd66);return _0x598ebc+'\x20('+(_0x3c1448?_0x1c1d0b(_0x3c1448['label'])[_0x3d63('0x2b')]():_0x2acd66)+')';}if(_0x3d63('0x12')===_0x2f5f5e&&isNaN(parseFloat(_0x2acd66))){const _0x20352c=_0x57c4d6['plugins']['get'](_0x3d63('0x30'))[_0x3d63('0x2')](_0x57c4d6[_0x3d63('0x28')][_0x3d63('0x26')](_0x3d63('0x1d')))[_0x3d63('0xc')](_0x40bb98=>_0x40bb98[_0x3d63('0x2e')]==_0x2acd66);return _0x598ebc+'\x20('+(_0x20352c?_0x1c1d0b(_0x20352c['title'])[_0x3d63('0x2b')]():_0x2acd66)+')';}return _0x598ebc+'\x20('+_0x2acd66+')';}
23
+ const _0x317d=['normalizeSizeOptions','model','TrackChangesEditing','isBlock','createRange','editor','createSelection','boolean','fontColor.colors','backward','getAttributeProperties','getRanges','fontColor','enableCommand','get','join','*Set\x20format\x20to:*\x20%0','modifySelection','selection','getAttributes','toUpperCase','slice','toLowerCase','find','commands','pasteFormat','afterInit','length','*Remove\x20all\x20formatting*','copyFormat','FontSize','isFormatting','title','forward','registerDescriptionCallback','keys','fontSize.options','commandParams','_descriptionFactory','getFirstPosition','getItems','entries','charAt','getLastPosition','locale','word','document','getSelectedBlocks','plugins','change','push','config','commandName'];(function(_0x24bf1d,_0x317d6c){const _0x31fad3=function(_0x1719c6){while(--_0x1719c6){_0x24bf1d['push'](_0x24bf1d['shift']());}};_0x31fad3(++_0x317d6c);}(_0x317d,0xfe));const _0x31fa=function(_0x24bf1d,_0x317d6c){_0x24bf1d=_0x24bf1d-0x0;let _0x31fad3=_0x317d[_0x24bf1d];return _0x31fad3;};import{Plugin as _0x140990}from'ckeditor5/src/core';import{normalizeColorOptions as _0x1d80a4}from'ckeditor5/src/ui';import{first as _0x2c6b39}from'ckeditor5/src/utils';import{getTranslation as _0x29d321}from'../utils/common-translations';export default class W extends _0x140990{[_0x31fa('0x25')](){const _0x516991=this[_0x31fa('0x10')],_0x238086=_0x516991['model'],_0x3f6bb9=_0x238086[_0x31fa('0x4')][_0x31fa('0x1d')],_0x43e699=_0x516991[_0x31fa('0x6')][_0x31fa('0x19')](_0x31fa('0xd')),_0x4a2447=_0x516991['locale'],_0x21c29a=_0x516991[_0x31fa('0x23')][_0x31fa('0x19')](_0x31fa('0x28')),_0xfd6565=_0x516991[_0x31fa('0x23')][_0x31fa('0x19')](_0x31fa('0x24'));_0x21c29a&&_0xfd6565&&(_0x43e699[_0x31fa('0x18')](_0x31fa('0x24'),(_0x41d698,_0x4594ff={})=>{const _0x1e7fd8=_0x4594ff;_0x238086[_0x31fa('0x7')](()=>{const _0x149e72=Array['from'](_0x3f6bb9[_0x31fa('0x16')]()),_0x1ff798=_0x3f6bb9['isCollapsed']?[fo(_0x238086,_0x3f6bb9)]:_0x149e72,_0x3f9400=!!_0x2c6b39(function*(_0x36cd6e,_0x2ed9dc){const _0x4c6470=_0x58b7b0=>!!_0x2c6b39(function*(_0x4a4373,_0x37457b){for(const [_0x112563]of _0x4a4373[_0x31fa('0x1e')]()){const _0x3a3eb0=_0x37457b[_0x31fa('0x15')](_0x112563);_0x3a3eb0&&_0x3a3eb0[_0x31fa('0x2a')]&&(yield _0x112563);}}(_0x58b7b0,_0x2ed9dc));for(const _0x4a3270 of _0x36cd6e[_0x31fa('0x16')]())for(const _0x37d593 of _0x4a3270[_0x31fa('0x33')]())!_0x2ed9dc[_0x31fa('0xe')](_0x37d593)&&_0x4c6470(_0x37d593)&&(yield _0x37d593);for(const _0x4de5a2 of _0x36cd6e[_0x31fa('0x5')]())_0x4c6470(_0x4de5a2)&&(yield _0x4de5a2);_0x4c6470(_0x36cd6e)&&(yield _0x36cd6e);}(_0x3f6bb9,_0x238086['schema']));if(_0x3f9400||0x0!==Object[_0x31fa('0x2e')](_0x1e7fd8)[_0x31fa('0x26')])for(const _0x8ff49e of _0x1ff798)_0x43e699['markInlineFormat'](_0x8ff49e,{'commandName':_0x31fa('0x24'),'commandParams':[_0x1e7fd8]});});}),_0x43e699[_0x31fa('0x31')][_0x31fa('0x2d')](_0x2de82b=>{const {data:_0x514102}=_0x2de82b;if(_0x514102&&_0x31fa('0x24')===_0x514102[_0x31fa('0xa')]){const _0x67e4d7=[],_0x9c4079=_0x514102[_0x31fa('0x30')][0x0];for(const [_0xa0f259,_0x40b7b1]of Object[_0x31fa('0x34')](_0x9c4079))_0x67e4d7[_0x31fa('0x8')](mo(_0x516991,_0xa0f259,_0x40b7b1));return _0x67e4d7[_0x31fa('0x26')]?{'type':'format','content':_0x29d321(_0x4a2447,_0x31fa('0x1b'),_0x67e4d7[_0x31fa('0x1a')](',\x20'))}:{'type':'format','content':_0x29d321(_0x4a2447,_0x31fa('0x27'))};}}),_0x516991[_0x31fa('0x6')][_0x31fa('0x19')](_0x31fa('0xd'))[_0x31fa('0x18')](_0x31fa('0x28')));}}function fo(_0x3a4ffc,_0x29456e){const _0x4f10b9=_0x3a4ffc[_0x31fa('0x11')](_0x29456e);_0x3a4ffc[_0x31fa('0x1c')](_0x4f10b9,{'unit':'word','direction':_0x31fa('0x14')});const _0x2706db=_0x4f10b9[_0x31fa('0x32')]();_0x3a4ffc[_0x31fa('0x1c')](_0x4f10b9,{'unit':_0x31fa('0x3'),'direction':_0x31fa('0x2c')});const _0x30e2c5=_0x4f10b9[_0x31fa('0x1')]();return _0x3a4ffc[_0x31fa('0xf')](_0x2706db,_0x30e2c5);}function mo(_0x5d3d43,_0x25ac7b,_0x1d3a51){const _0x2246fd=_0x5d3d43[_0x31fa('0x2')]['t'],_0x22ab3c=_0x25ac7b['split'](/(?=[A-Z])/)[_0x31fa('0x1a')]('\x20'),_0x5c1f64=_0x2246fd(_0x22ab3c[_0x31fa('0x0')](0x0)[_0x31fa('0x1f')]()+_0x22ab3c[_0x31fa('0x20')](0x1))[_0x31fa('0x21')]();if(_0x31fa('0x12')==typeof _0x1d3a51)return _0x5c1f64;if(_0x31fa('0x17')===_0x25ac7b||'fontBackgroundColor'===_0x25ac7b){const _0x5cb756=_0x1d80a4(_0x5d3d43[_0x31fa('0x9')][_0x31fa('0x19')](_0x31fa('0x13')))[_0x31fa('0x22')](_0x4cb592=>_0x4cb592['model']==_0x1d3a51);return _0x5c1f64+'\x20('+(_0x5cb756?_0x2246fd(_0x5cb756['label'])[_0x31fa('0x21')]():_0x1d3a51)+')';}if('fontSize'===_0x25ac7b&&isNaN(parseFloat(_0x1d3a51))){const _0x58df69=_0x5d3d43['plugins'][_0x31fa('0x19')](_0x31fa('0x29'))[_0x31fa('0xb')](_0x5d3d43[_0x31fa('0x9')][_0x31fa('0x19')](_0x31fa('0x2f')))[_0x31fa('0x22')](_0x42af64=>_0x42af64[_0x31fa('0xc')]==_0x1d3a51);return _0x5c1f64+'\x20('+(_0x58df69?_0x2246fd(_0x58df69[_0x31fa('0x2b')])[_0x31fa('0x21')]():_0x1d3a51)+')';}return _0x5c1f64+'\x20('+_0x1d3a51+')';}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5abb=['formatBlock','config','TrackChangesEditing','registerDescriptionCallback','paragraph','ELEMENT_HEADING','afterInit','match','locale','editor','registerElementLabel','document','plugins','isObject','HeadingEditing','checkChild','commandName','_descriptionFactory','model','selection','name','getSelectedBlocks','from','heading.options','value','filter','ELEMENT_HEADING_CUSTOM','change','heading','has','*Change\x20to:*\x20%0','enableCommand','get','format','blockName','commandParams'];(function(_0x81e848,_0x5abbf9){const _0x35ce52=function(_0x14df7d){while(--_0x14df7d){_0x81e848['push'](_0x81e848['shift']());}};_0x35ce52(++_0x5abbf9);}(_0x5abb,0x86));const _0x35ce=function(_0x81e848,_0x5abbf9){_0x81e848=_0x81e848-0x0;let _0x35ce52=_0x5abb[_0x81e848];return _0x35ce52;};import{Plugin as _0xe1b561}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x2ebad6}from'./utils';import{getTranslation as _0x2a9634}from'../utils/common-translations';export default class J extends _0xe1b561{[_0x35ce('0x10')](){const _0x52a8ba=this[_0x35ce('0x13')],_0x1bfc30=_0x52a8ba[_0x35ce('0x12')],_0x338af2=_0x52a8ba[_0x35ce('0xb')]['get'](_0x35ce('0x21'));if(!_0x52a8ba[_0x35ce('0x16')][_0x35ce('0x3')](_0x35ce('0x18')))return;const _0x43939f=_0x52a8ba[_0x35ce('0x16')][_0x35ce('0x6')](_0x35ce('0xc'));_0x43939f[_0x35ce('0x5')](_0x35ce('0x2'),(_0x2adc91,_0x5efada)=>{const _0x243532=_0x5efada[_0x35ce('0x22')],_0x31dfb3=Array[_0x35ce('0x20')](this['editor'][_0x35ce('0x1c')][_0x35ce('0x15')][_0x35ce('0x1d')][_0x35ce('0x1f')]())[_0x35ce('0x23')](_0x45b1ae=>function(_0x2d0802,_0x4f55b1,_0x3a456f){return _0x3a456f[_0x35ce('0x19')](_0x2d0802['parent'],_0x4f55b1)&&!_0x3a456f[_0x35ce('0x17')](_0x2d0802)&&_0x2d0802[_0x35ce('0x1e')]!=_0x4f55b1;}(_0x45b1ae,_0x243532,this[_0x35ce('0x13')][_0x35ce('0x1c')]['schema']));_0x52a8ba['model'][_0x35ce('0x1')](()=>{for(const _0x526846 of _0x31dfb3)_0x43939f['markBlockFormat'](_0x526846,{'commandName':_0x35ce('0x2'),'commandParams':[_0x5efada],'formatGroupId':_0x35ce('0x8')},_0x2ebad6(_0x526846));});});for(const _0x336094 of _0x338af2)_0x35ce('0xe')!=_0x336094['model']&&_0x43939f[_0x35ce('0x1b')][_0x35ce('0x14')](_0x336094[_0x35ce('0x1c')],_0x46bf50=>{const _0x535444=nn(_0x336094[_0x35ce('0x1c')]);return null!==_0x535444?_0x577a14(_0x46bf50,_0x535444):_0x1e56e2(_0x46bf50,_0x336094['title']);});function _0x577a14(_0x3c4c1b,_0x5ee1a0){return _0x2a9634(_0x1bfc30,_0x35ce('0xf'),[_0x3c4c1b,_0x5ee1a0]);}function _0x1e56e2(_0x2cd0d5,_0x28091c){return _0x2a9634(_0x1bfc30,_0x35ce('0x0'),[_0x2cd0d5,_0x28091c]);}_0x43939f[_0x35ce('0x1b')][_0x35ce('0xd')](_0xbfcb18=>{const {type:_0x5c0abf,data:_0x40d962}=_0xbfcb18;if(_0x35ce('0xa')==_0x5c0abf&&_0x40d962&&_0x35ce('0x2')==_0x40d962[_0x35ce('0x1a')]){const _0x26046b=_0x40d962[_0x35ce('0x9')][0x0][_0x35ce('0x22')],_0x3b29c2=nn(_0x26046b);if(null!==_0x3b29c2)return{'type':_0x35ce('0x7'),'content':_0x2a9634(_0x1bfc30,_0x35ce('0x4'),_0x577a14(0x1,_0x3b29c2))};const _0xa02578=_0x338af2['find'](_0x4358de=>_0x4358de[_0x35ce('0x1c')]===_0x26046b)['title'];return{'type':_0x35ce('0x7'),'content':_0x2a9634(_0x1bfc30,_0x35ce('0x4'),_0x1e56e2(0x1,_0xa02578))};}});}}function nn(_0x11de4b){const _0x15646f=_0x11de4b[_0x35ce('0x11')](/^heading(\d+)$/);return _0x15646f?_0x15646f[0x1]:null;}
23
+ const _0x22e0=['paragraph','editor','from','afterInit','selection','*Change\x20to:*\x20%0','commandParams','title','parent','schema','change','heading.options','formatBlock','registerElementLabel','getSelectedBlocks','match','blockName','name','HeadingEditing','registerDescriptionCallback','format','get','value','isObject','commandName','_descriptionFactory','TrackChangesEditing','plugins','markBlockFormat','heading','filter','ELEMENT_HEADING_CUSTOM','model','checkChild','ELEMENT_HEADING'];(function(_0x5d7965,_0x22e0e6){const _0x161121=function(_0x4c029b){while(--_0x4c029b){_0x5d7965['push'](_0x5d7965['shift']());}};_0x161121(++_0x22e0e6);}(_0x22e0,0x1ed));const _0x1611=function(_0x5d7965,_0x22e0e6){_0x5d7965=_0x5d7965-0x0;let _0x161121=_0x22e0[_0x5d7965];return _0x161121;};import{Plugin as _0x20f181}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x2f45d8}from'./utils';import{getTranslation as _0x40f44f}from'../utils/common-translations';export default class J extends _0x20f181{[_0x1611('0x0')](){const _0x4ef30d=this['editor'],_0x5bc3f3=_0x4ef30d['locale'],_0x2dc772=_0x4ef30d['config'][_0x1611('0x12')](_0x1611('0x8'));if(!_0x4ef30d[_0x1611('0x18')]['has'](_0x1611('0xf')))return;const _0x28c4bd=_0x4ef30d[_0x1611('0x18')][_0x1611('0x12')](_0x1611('0x17'));_0x28c4bd['enableCommand'](_0x1611('0x1a'),(_0x548e0,_0x464f3f)=>{const _0x1ffa9e=_0x464f3f['value'],_0x2369d2=Array[_0x1611('0x22')](this['editor'][_0x1611('0x1d')]['document'][_0x1611('0x1')][_0x1611('0xb')]())[_0x1611('0x1b')](_0x5303ba=>function(_0x377ac3,_0x52303b,_0x3420ee){return _0x3420ee[_0x1611('0x1e')](_0x377ac3[_0x1611('0x5')],_0x52303b)&&!_0x3420ee[_0x1611('0x14')](_0x377ac3)&&_0x377ac3[_0x1611('0xe')]!=_0x52303b;}(_0x5303ba,_0x1ffa9e,this[_0x1611('0x21')][_0x1611('0x1d')][_0x1611('0x6')]));_0x4ef30d[_0x1611('0x1d')][_0x1611('0x7')](()=>{for(const _0x5e1993 of _0x2369d2)_0x28c4bd[_0x1611('0x19')](_0x5e1993,{'commandName':'heading','commandParams':[_0x464f3f],'formatGroupId':_0x1611('0xd')},_0x2f45d8(_0x5e1993));});});for(const _0xeb38b of _0x2dc772)_0x1611('0x20')!=_0xeb38b[_0x1611('0x1d')]&&_0x28c4bd[_0x1611('0x16')][_0x1611('0xa')](_0xeb38b[_0x1611('0x1d')],_0x1ae9d0=>{const _0x43fb84=nn(_0xeb38b['model']);return null!==_0x43fb84?_0x5e2470(_0x1ae9d0,_0x43fb84):_0x3e1006(_0x1ae9d0,_0xeb38b[_0x1611('0x4')]);});function _0x5e2470(_0x4a32b6,_0x5c4daa){return _0x40f44f(_0x5bc3f3,_0x1611('0x1f'),[_0x4a32b6,_0x5c4daa]);}function _0x3e1006(_0x45dae7,_0x336192){return _0x40f44f(_0x5bc3f3,_0x1611('0x1c'),[_0x45dae7,_0x336192]);}_0x28c4bd[_0x1611('0x16')][_0x1611('0x10')](_0x36f953=>{const {type:_0x4a83fa,data:_0x1b245e}=_0x36f953;if(_0x1611('0x9')==_0x4a83fa&&_0x1b245e&&'heading'==_0x1b245e[_0x1611('0x15')]){const _0x5ed9b8=_0x1b245e[_0x1611('0x3')][0x0][_0x1611('0x13')],_0x39a09c=nn(_0x5ed9b8);if(null!==_0x39a09c)return{'type':_0x1611('0x11'),'content':_0x40f44f(_0x5bc3f3,'*Change\x20to:*\x20%0',_0x5e2470(0x1,_0x39a09c))};const _0x43e0ec=_0x2dc772['find'](_0x25affd=>_0x25affd['model']===_0x5ed9b8)['title'];return{'type':_0x1611('0x11'),'content':_0x40f44f(_0x5bc3f3,_0x1611('0x2'),_0x3e1006(0x1,_0x43e0ec))};}});}}function nn(_0x29f671){const _0x3eb7d2=_0x29f671[_0x1611('0xc')](/^heading(\d+)$/);return _0x3eb7d2?_0x3eb7d2[0x1]:null;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3619=['push','highlight.options','selection','format','commandName','_descriptionFactory','title','item','isCollapsed','highlight','hasAttribute','formatInline','getRanges','*Remove\x20highlight*','get','editor','markInlineFormat','document','toLowerCase','color','plugins','value','*Set\x20highlight:*\x20%0','locale','getLastMatchingPosition','model','has','FORMAT_HIGHLIGHT','getFirstPosition','backward','enableCommand','getAttribute','commandParams'];(function(_0x24460a,_0x361952){const _0x20c978=function(_0x3d172d){while(--_0x3d172d){_0x24460a['push'](_0x24460a['shift']());}};_0x20c978(++_0x361952);}(_0x3619,0xfc));const _0x20c9=function(_0x24460a,_0x361952){_0x24460a=_0x24460a-0x0;let _0x20c978=_0x3619[_0x24460a];return _0x20c978;};import{Plugin as _0x2c1f16}from'ckeditor5/src/core';import{getTranslation as _0xa003a}from'../utils/common-translations';import{getRangesWithAttribute as _0x111082}from'./utils';export default class K extends _0x2c1f16{['afterInit'](){const _0x34537f=this[_0x20c9('0x1b')];if(!_0x34537f[_0x20c9('0x20')][_0x20c9('0x5')]('HighlightEditing'))return;const _0x23ce71=_0x34537f['plugins'][_0x20c9('0x1a')]('TrackChangesEditing');_0x23ce71[_0x20c9('0x9')](_0x20c9('0x15'),(_0x53363b,_0x454190={})=>{const _0xf9eb6=_0x34537f['model'][_0x20c9('0x1d')][_0x20c9('0xe')],_0x595ce9=_0xf9eb6['getAttribute'](_0x20c9('0x15'));let _0x49bcf0=_0x454190[_0x20c9('0x0')],_0x18656c=[];if(_0xf9eb6[_0x20c9('0x14')]){const _0x3208c=_0xf9eb6[_0x20c9('0x7')]();if(!_0xf9eb6[_0x20c9('0x16')](_0x20c9('0x15')))return void _0x53363b(_0x454190);{const _0xa906df=_0x509d4c=>_0x509d4c[_0x20c9('0x13')][_0x20c9('0xa')](_0x20c9('0x15'))===_0x595ce9,_0x254af8=_0x3208c[_0x20c9('0x3')](_0xa906df,{'direction':_0x20c9('0x8')}),_0x4c9d79=_0x3208c[_0x20c9('0x3')](_0xa906df);_0x18656c=[_0x34537f[_0x20c9('0x4')]['createRange'](_0x254af8,_0x4c9d79)],_0x49bcf0==_0x595ce9&&(_0x49bcf0=null);}}else for(const _0x427ec9 of _0xf9eb6[_0x20c9('0x18')]())_0x49bcf0?_0x18656c[_0x20c9('0xc')](_0x427ec9):_0x18656c['push'](..._0x111082(_0x20c9('0x15'),_0x427ec9,_0x34537f[_0x20c9('0x4')]));_0x34537f[_0x20c9('0x4')]['change'](()=>{for(const _0xce5391 of _0x18656c)_0x23ce71[_0x20c9('0x1c')](_0xce5391,{'commandName':_0x20c9('0x15'),'commandParams':[{'value':_0x49bcf0}]});});});const _0x3ec1ed=_0x34537f[_0x20c9('0x2')];_0x23ce71[_0x20c9('0x11')]['registerDescriptionCallback'](_0x242e32=>{const {type:_0x37ba0d,data:_0x30c547}=_0x242e32;if(_0x20c9('0x17')==_0x37ba0d&&_0x30c547&&_0x20c9('0x15')==_0x30c547[_0x20c9('0x10')]){const _0x8ccf0b=_0x3ec1ed['t'],_0x1f1dec=_0x30c547[_0x20c9('0xb')][0x0]['value'];if(_0x1f1dec){const _0x122268=_0x34537f['config'][_0x20c9('0x1a')](_0x20c9('0xd'))['find'](_0x4b27da=>_0x4b27da[_0x20c9('0x4')]==_0x1f1dec),_0x5bcdfc=_0x8ccf0b(_0x122268[_0x20c9('0x12')])[_0x20c9('0x1e')]();return{'type':'format','content':_0xa003a(_0x3ec1ed,_0x20c9('0x1'),_0x5bcdfc),'color':{'value':_0x122268[_0x20c9('0x1f')],'title':_0x122268['title']}};}return{'type':_0x20c9('0xf'),'content':_0xa003a(_0x3ec1ed,_0x20c9('0x19'),_0xa003a(_0x3ec1ed,_0x20c9('0x6')))};}});}}
23
+ const _0x22bd=['commandName','format','backward','registerDescriptionCallback','value','markInlineFormat','getAttribute','TrackChangesEditing','isCollapsed','getRanges','plugins','getFirstPosition','_descriptionFactory','title','getLastMatchingPosition','editor','document','selection','*Set\x20highlight:*\x20%0','*Remove\x20highlight*','locale','color','highlight','afterInit','model','get','config','highlight.options','push','item','toLowerCase','has','HighlightEditing','FORMAT_HIGHLIGHT','createRange'];(function(_0x555ee9,_0x22bdb9){const _0x28bc9e=function(_0x214e21){while(--_0x214e21){_0x555ee9['push'](_0x555ee9['shift']());}};_0x28bc9e(++_0x22bdb9);}(_0x22bd,0x1ca));const _0x28bc=function(_0x555ee9,_0x22bdb9){_0x555ee9=_0x555ee9-0x0;let _0x28bc9e=_0x22bd[_0x555ee9];return _0x28bc9e;};import{Plugin as _0x577e63}from'ckeditor5/src/core';import{getTranslation as _0x1e4c2a}from'../utils/common-translations';import{getRangesWithAttribute as _0x49488f}from'./utils';export default class K extends _0x577e63{[_0x28bc('0x14')](){const _0x55a7a1=this[_0x28bc('0xc')];if(!_0x55a7a1['plugins'][_0x28bc('0x1c')](_0x28bc('0x1d')))return;const _0x2d74c2=_0x55a7a1[_0x28bc('0x7')][_0x28bc('0x16')](_0x28bc('0x4'));_0x2d74c2['enableCommand']('highlight',(_0x4817e8,_0x4f01d5={})=>{const _0x10c817=_0x55a7a1[_0x28bc('0x15')][_0x28bc('0xd')][_0x28bc('0xe')],_0x38b56e=_0x10c817[_0x28bc('0x3')](_0x28bc('0x13'));let _0x376204=_0x4f01d5[_0x28bc('0x1')],_0x51963f=[];if(_0x10c817[_0x28bc('0x5')]){const _0x21cf3f=_0x10c817[_0x28bc('0x8')]();if(!_0x10c817['hasAttribute']('highlight'))return void _0x4817e8(_0x4f01d5);{const _0xdbc006=_0x33225b=>_0x33225b[_0x28bc('0x1a')]['getAttribute'](_0x28bc('0x13'))===_0x38b56e,_0x13c877=_0x21cf3f[_0x28bc('0xb')](_0xdbc006,{'direction':_0x28bc('0x22')}),_0x3a10cf=_0x21cf3f[_0x28bc('0xb')](_0xdbc006);_0x51963f=[_0x55a7a1[_0x28bc('0x15')][_0x28bc('0x1f')](_0x13c877,_0x3a10cf)],_0x376204==_0x38b56e&&(_0x376204=null);}}else for(const _0x382ccc of _0x10c817[_0x28bc('0x6')]())_0x376204?_0x51963f['push'](_0x382ccc):_0x51963f[_0x28bc('0x19')](..._0x49488f(_0x28bc('0x13'),_0x382ccc,_0x55a7a1['model']));_0x55a7a1[_0x28bc('0x15')]['change'](()=>{for(const _0x5b3f63 of _0x51963f)_0x2d74c2[_0x28bc('0x2')](_0x5b3f63,{'commandName':'highlight','commandParams':[{'value':_0x376204}]});});});const _0x44f365=_0x55a7a1[_0x28bc('0x11')];_0x2d74c2[_0x28bc('0x9')][_0x28bc('0x0')](_0x52dcfa=>{const {type:_0x5e2482,data:_0x193a40}=_0x52dcfa;if('formatInline'==_0x5e2482&&_0x193a40&&_0x28bc('0x13')==_0x193a40[_0x28bc('0x20')]){const _0xd976ae=_0x44f365['t'],_0x22b245=_0x193a40['commandParams'][0x0]['value'];if(_0x22b245){const _0x1840f1=_0x55a7a1[_0x28bc('0x17')][_0x28bc('0x16')](_0x28bc('0x18'))['find'](_0x3a5682=>_0x3a5682[_0x28bc('0x15')]==_0x22b245),_0x34a956=_0xd976ae(_0x1840f1[_0x28bc('0xa')])[_0x28bc('0x1b')]();return{'type':_0x28bc('0x21'),'content':_0x1e4c2a(_0x44f365,_0x28bc('0xf'),_0x34a956),'color':{'value':_0x1840f1[_0x28bc('0x12')],'title':_0x1840f1[_0x28bc('0xa')]}};}return{'type':_0x28bc('0x21'),'content':_0x1e4c2a(_0x44f365,_0x28bc('0x10'),_0x1e4c2a(_0x44f365,_0x28bc('0x1e')))};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2261=['createPositionAt','createEmptyElement','showSuggestionHighlights','HorizontalLineEditing','insert','enableCommand','plugins','TrackChangesEditing','createContainerElement','ck-horizontal-line','conversion','get','div','afterInit','ELEMENT_HORIZONTAL_LINE','horizontalLine','_descriptionFactory','editor','has'];(function(_0x503e25,_0x2261e8){const _0x2e82d5=function(_0x3f8bc7){while(--_0x3f8bc7){_0x503e25['push'](_0x503e25['shift']());}};_0x2e82d5(++_0x2261e8);}(_0x2261,0x1b5));const _0x2e82=function(_0x503e25,_0x2261e8){_0x503e25=_0x503e25-0x0;let _0x2e82d5=_0x2261[_0x503e25];return _0x2e82d5;};import{Plugin as _0x1092b9}from'ckeditor5/src/core';import{getTranslation as _0x17405d}from'../utils/common-translations';export default class Q extends _0x1092b9{[_0x2e82('0xd')](){const _0x5cdbb6=this[_0x2e82('0x11')];if(!_0x5cdbb6[_0x2e82('0x6')][_0x2e82('0x12')](_0x2e82('0x3')))return;_0x5cdbb6['plugins'][_0x2e82('0xb')](_0x2e82('0x7'))[_0x2e82('0x5')](_0x2e82('0xf'));const _0x558b6f=_0x5cdbb6['plugins'][_0x2e82('0xb')](_0x2e82('0x7')),_0x140986=_0x5cdbb6['locale'];_0x558b6f[_0x2e82('0x10')]['registerElementLabel'](_0x2e82('0xf'),_0x596ff8=>_0x17405d(_0x140986,_0x2e82('0xe'),_0x596ff8)),_0x5cdbb6[_0x2e82('0xa')]['for']('dataDowncast')['elementToStructure']({'model':_0x2e82('0xf'),'view':(_0xe48934,{writer:_0x1cb63f,options:_0x4e691c})=>{if(!_0x4e691c[_0x2e82('0x2')])return null;const _0x4deaf6=_0x1cb63f[_0x2e82('0x8')](_0x2e82('0xc')),_0x2ce1c8=_0x1cb63f[_0x2e82('0x1')]('hr');return _0x1cb63f['addClass'](_0x2e82('0x9'),_0x4deaf6),_0x1cb63f[_0x2e82('0x4')](_0x1cb63f[_0x2e82('0x0')](_0x4deaf6,0x0),_0x2ce1c8),_0x4deaf6;},'converterPriority':'high'});}}
23
+ const _0x3552=['get','_descriptionFactory','createEmptyElement','enableCommand','ELEMENT_HORIZONTAL_LINE','ck-horizontal-line','afterInit','showSuggestionHighlights','plugins','has','high','for','editor','locale','registerElementLabel','elementToStructure','createPositionAt','TrackChangesEditing','HorizontalLineEditing','div','conversion','horizontalLine'];(function(_0x209744,_0x3552fc){const _0x3b7e1c=function(_0x2c7c8d){while(--_0x2c7c8d){_0x209744['push'](_0x209744['shift']());}};_0x3b7e1c(++_0x3552fc);}(_0x3552,0xed));const _0x3b7e=function(_0x209744,_0x3552fc){_0x209744=_0x209744-0x0;let _0x3b7e1c=_0x3552[_0x209744];return _0x3b7e1c;};import{Plugin as _0x1fad92}from'ckeditor5/src/core';import{getTranslation as _0x481a7c}from'../utils/common-translations';export default class Q extends _0x1fad92{[_0x3b7e('0xb')](){const _0x5a2dfa=this[_0x3b7e('0x11')];if(!_0x5a2dfa['plugins'][_0x3b7e('0xe')](_0x3b7e('0x1')))return;_0x5a2dfa[_0x3b7e('0xd')][_0x3b7e('0x5')](_0x3b7e('0x0'))[_0x3b7e('0x8')]('horizontalLine');const _0x27c76f=_0x5a2dfa[_0x3b7e('0xd')][_0x3b7e('0x5')](_0x3b7e('0x0')),_0xeef194=_0x5a2dfa[_0x3b7e('0x12')];_0x27c76f[_0x3b7e('0x6')][_0x3b7e('0x13')]('horizontalLine',_0x299907=>_0x481a7c(_0xeef194,_0x3b7e('0x9'),_0x299907)),_0x5a2dfa[_0x3b7e('0x3')][_0x3b7e('0x10')]('dataDowncast')[_0x3b7e('0x14')]({'model':_0x3b7e('0x4'),'view':(_0x2fa5de,{writer:_0x5df4ec,options:_0x2ad9a0})=>{if(!_0x2ad9a0[_0x3b7e('0xc')])return null;const _0x3f0bb3=_0x5df4ec['createContainerElement'](_0x3b7e('0x2')),_0x20e773=_0x5df4ec[_0x3b7e('0x7')]('hr');return _0x5df4ec['addClass'](_0x3b7e('0xa'),_0x3f0bb3),_0x5df4ec['insert'](_0x5df4ec[_0x3b7e('0x15')](_0x3f0bb3,0x0),_0x20e773),_0x3f0bb3;},'converterPriority':_0x3b7e('0xf')});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x43f5=['htmlEmbed','afterInit','value','rawHtml','document','registerDescriptionCallback','get','getSelectedElement','change','_descriptionFactory','locale','selection','ELEMENT_HTML_EMBED','getAttribute','has','getCustomProperty','plugins','HtmlEmbed','rawHtmlApi','cancel','registerElementLabel','TrackChangesEditing'];(function(_0x50a843,_0x43f548){const _0x430531=function(_0x5148fe){while(--_0x5148fe){_0x50a843['push'](_0x50a843['shift']());}};_0x430531(++_0x43f548);}(_0x43f5,0x1b7));const _0x4305=function(_0x50a843,_0x43f548){_0x50a843=_0x50a843-0x0;let _0x430531=_0x43f5[_0x50a843];return _0x430531;};import{Plugin as _0x1aa62e}from'ckeditor5/src/core';import{getTranslation as _0x11e83d}from'../utils/common-translations';export default class V extends _0x1aa62e{[_0x4305('0x2')](){const _0x27edf5=this['editor'];if(!_0x27edf5['plugins'][_0x4305('0xf')](_0x4305('0x12')))return;const _0x2a051c=_0x27edf5['plugins'][_0x4305('0x7')](_0x4305('0x0')),_0xf31e4=_0x27edf5[_0x4305('0xb')],_0x26c2c0=_0x27edf5['editing']['view'][_0x4305('0x5')][_0x4305('0xc')];_0x2a051c[_0x4305('0xa')][_0x4305('0x15')](_0x4305('0x4'),_0x5ba027=>_0x11e83d(_0xf31e4,_0x4305('0xd'),_0x5ba027)),_0x27edf5[_0x4305('0x11')]['get']('TrackChangesEditing')['enableCommand'](_0x4305('0x1'),(_0x353d4f,_0x494931)=>{const _0x4818f6=_0x27edf5['model'],_0x11efbd=_0x4818f6[_0x4305('0x5')][_0x4305('0xc')];_0x4818f6[_0x4305('0x9')](()=>{const _0x5b3068=function(_0x174a78){const _0x4cdccd=_0x174a78[_0x4305('0x8')]();if(_0x4cdccd&&_0x4cdccd['is']('element',_0x4305('0x4')))return _0x174a78[_0x4305('0x8')]();return null;}(_0x11efbd);if(!_0x5b3068)return void _0x353d4f(null);const _0x3e7fdc=_0x5b3068[_0x4305('0xe')](_0x4305('0x3'))||'';if(void 0x0===_0x494931)return;if(_0x494931===_0x3e7fdc)return;_0x2a051c['markBlockFormat'](_0x5b3068,{'commandName':'htmlEmbed','commandParams':[_0x494931]}),_0x26c2c0[_0x4305('0x8')]()[_0x4305('0x10')](_0x4305('0x13'))[_0x4305('0x14')]();});}),_0x2a051c[_0x4305('0xa')][_0x4305('0x6')](_0x2eb312=>{const {data:_0x84fa0a}=_0x2eb312;if(_0x84fa0a&&_0x4305('0x1')==_0x84fa0a['commandName']){const _0x137a30=_0x11e83d(_0xf31e4,'ELEMENT_HTML_EMBED');return{'type':'format','content':_0x11e83d(_0xf31e4,'*Change\x20%0\x20content*',_0x137a30)};}});}}
23
+ const _0x47c0=['element','plugins','getSelectedElement','getAttribute','format','get','cancel','editor','view','value','has','htmlEmbed','getCustomProperty','enableCommand','ELEMENT_HTML_EMBED','commandName','registerElementLabel','HtmlEmbed','selection','markBlockFormat','registerDescriptionCallback','*Change\x20%0\x20content*','document','model','rawHtml','TrackChangesEditing','_descriptionFactory'];(function(_0x1adbde,_0x47c0ff){const _0x522a19=function(_0x1d39f8){while(--_0x1d39f8){_0x1adbde['push'](_0x1adbde['shift']());}};_0x522a19(++_0x47c0ff);}(_0x47c0,0xd4));const _0x522a=function(_0x1adbde,_0x47c0ff){_0x1adbde=_0x1adbde-0x0;let _0x522a19=_0x47c0[_0x1adbde];return _0x522a19;};import{Plugin as _0x877a66}from'ckeditor5/src/core';import{getTranslation as _0x3c65ee}from'../utils/common-translations';export default class V extends _0x877a66{['afterInit'](){const _0x193a5a=this[_0x522a('0xb')];if(!_0x193a5a[_0x522a('0x5')][_0x522a('0xe')](_0x522a('0x15')))return;const _0x463a10=_0x193a5a[_0x522a('0x5')]['get'](_0x522a('0x2')),_0xbb939b=_0x193a5a['locale'],_0x2ee24b=_0x193a5a['editing'][_0x522a('0xc')][_0x522a('0x1a')][_0x522a('0x16')];_0x463a10['_descriptionFactory'][_0x522a('0x14')](_0x522a('0x1'),_0x4e5188=>_0x3c65ee(_0xbb939b,_0x522a('0x12'),_0x4e5188)),_0x193a5a[_0x522a('0x5')][_0x522a('0x9')]('TrackChangesEditing')[_0x522a('0x11')](_0x522a('0xf'),(_0x2dfb77,_0x403190)=>{const _0x16ad0d=_0x193a5a[_0x522a('0x0')],_0x406d9b=_0x16ad0d[_0x522a('0x1a')]['selection'];_0x16ad0d['change'](()=>{const _0x15342b=function(_0x5e1e0f){const _0x4b94c7=_0x5e1e0f[_0x522a('0x6')]();if(_0x4b94c7&&_0x4b94c7['is'](_0x522a('0x4'),_0x522a('0x1')))return _0x5e1e0f[_0x522a('0x6')]();return null;}(_0x406d9b);if(!_0x15342b)return void _0x2dfb77(null);const _0x1150fd=_0x15342b[_0x522a('0x7')](_0x522a('0xd'))||'';if(void 0x0===_0x403190)return;if(_0x403190===_0x1150fd)return;_0x463a10[_0x522a('0x17')](_0x15342b,{'commandName':'htmlEmbed','commandParams':[_0x403190]}),_0x2ee24b[_0x522a('0x6')]()[_0x522a('0x10')]('rawHtmlApi')[_0x522a('0xa')]();});}),_0x463a10[_0x522a('0x3')][_0x522a('0x18')](_0x3bfcf1=>{const {data:_0x507709}=_0x3bfcf1;if(_0x507709&&_0x522a('0xf')==_0x507709[_0x522a('0x13')]){const _0x499f54=_0x3c65ee(_0xbb939b,'ELEMENT_HTML_EMBED');return{'type':_0x522a('0x8'),'content':_0x3c65ee(_0xbb939b,_0x522a('0x19'),_0x499f54)};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5192=['insertImage','*Set\x20image\x20width:*\x20%0','forceDefaultExecution','ImageBlockEditing','detach','insertion','shouldConvertImageType','hasAttribute','length','discardSuggestion','ImageCaptionEditing','toggleImageCaption','title','getSuggestion','Block\x20image\x20to\x20inline\x20image','markDeletion','isOwn','createRange','normalizedStyles','get','createRangeOn','convertInlineImageToBlock','markInsertion','ELEMENT_IMAGE','removeObject','fromPosition','ImageStyleEditing','formatInline','isBefore','commands','uploadImage','document','format','caption','afterInit','author','*Set\x20image\x20text\x20alternative:*\x20%0','formatBlock','element','ImageCaptionUtils','commandParams','markBlockFormat','findIndex','editor','registerDescriptionCallback','_descriptionFactory','side','getSuggestionCallback','ImageUtils','plugins','change','getContainedElement','toLowerCase','discard','getCaptionFromImageModelElement','isInContent','isInlineImage','next','alt','newValue','getClosestSelectedImageElement','getNearestSelectionRange','chain','ImageTextAlternativeEditing','imageTypeBlock','hasSuggestion','getSuggestions','toPrevious','newRange','end','isEqual','ImageEditing','registerPostFixer','registerElementLabel','markInlineFormat','imageTypeInline','deletion','refresh','accept','commandReversedParams','value','registerCustomCallback','getFirstRange','subType','forward','previous','type','imageInline','_suggestionFactory','ImageResize','has','ELEMENT_CAPTION','getChangedMarkers','selection','FORMAT_SIDE_IMAGE','imageBlock','enableCommand','*Remove\x20image\x20text\x20alternative*','start','*Format:*\x20%0','imageTextAlternative','isIntersecting','imageStylePostApply','isCollapsed','commandName','imageStylePreApply','join','Inline\x20image\x20to\x20block\x20image','filter','imageStyle','Users','getAttribute','isBlockImage','schema','convertBlockImageToInline','model','width','head','suggestion','resizeImage','ImageInlineEditing','imageCaption','*Reset\x20image\x20width*'];(function(_0x1cd629,_0x51929d){const _0xa58168=function(_0x36d9cc){while(--_0x36d9cc){_0x1cd629['push'](_0x1cd629['shift']());}};_0xa58168(++_0x51929d);}(_0x5192,0xdd));const _0xa581=function(_0x1cd629,_0x51929d){_0x1cd629=_0x1cd629-0x0;let _0xa58168=_0x5192[_0x1cd629];return _0xa58168;};import{Plugin as _0x194d6d}from'ckeditor5/src/core';import{LivePosition as _0x54ca06}from'ckeditor5/src/engine';import{uid as _0x4008d6}from'ckeditor5/src/utils';import{getTranslation as _0x140a06}from'../utils/common-translations';export default class X extends _0x194d6d{[_0xa581('0x3b')](){const _0x45c69c=this[_0xa581('0x44')];if(!_0x45c69c[_0xa581('0x4a')][_0xa581('0x73')](_0xa581('0x60')))return;const _0x2edd3a=_0x45c69c['plugins'][_0xa581('0x2c')]('TrackChangesEditing'),_0x2df3a7=_0x45c69c[_0xa581('0x4a')][_0xa581('0x2c')](_0xa581('0x49')),_0x3ed7d0={},_0x48fa6b=_0x45c69c['locale'];if(_0x2edd3a[_0xa581('0x79')](_0xa581('0x19')),_0x2edd3a[_0xa581('0x46')]['registerElementLabel'](_0xa581('0x78'),_0x501bf6=>_0x140a06(_0x48fa6b,_0xa581('0x30'),_0x501bf6)),_0x2edd3a['_descriptionFactory']['registerElementLabel'](_0xa581('0x70'),_0x5d1ba1=>_0x140a06(_0x48fa6b,'ELEMENT_INLINE_IMAGE',_0x5d1ba1)),_0x2edd3a[_0xa581('0x46')][_0xa581('0x62')](_0xa581('0x3a'),()=>_0x140a06(_0x48fa6b,_0xa581('0x74'))),_0x45c69c[_0xa581('0x4a')]['has']('ImageUploadEditing')&&_0x2edd3a[_0xa581('0x79')](_0xa581('0x37')),_0x45c69c['plugins']['has'](_0xa581('0x1c'))&&_0x45c69c[_0xa581('0x4a')][_0xa581('0x73')](_0xa581('0x16'))&&(_0x2edd3a['enableCommand']('imageTypeInline',(_0x188b19,_0x34bcde)=>{const _0x29e177=_0x2df3a7[_0xa581('0x55')](_0x45c69c[_0xa581('0x11')]['document'][_0xa581('0x76')]);_0x45c69c['model']['change'](()=>{_0x2edd3a[_0xa581('0x42')](_0x29e177,{'commandName':_0xa581('0x64'),'commandParams':[_0x34bcde]},[],'convertBlockImageToInline');});}),_0x2edd3a[_0xa581('0x79')](_0xa581('0x59'),(_0x1b6290,_0x24333f)=>{_0x45c69c[_0xa581('0x11')][_0xa581('0x4b')](_0x145b72=>{let _0x9543e0=_0x2df3a7['getClosestSelectedImageElement'](_0x45c69c[_0xa581('0x11')]['document']['selection']),_0x42ac2d=_0x145b72[_0xa581('0x2d')](_0x9543e0);const _0x486ead=_0x54ca06[_0xa581('0x32')](_0x42ac2d[_0xa581('0x0')],_0xa581('0x5c')),_0x8fbb60=_0x54ca06[_0xa581('0x32')](_0x42ac2d[_0xa581('0x5e')],'toNext');_0x2edd3a[_0xa581('0x1b')](()=>_0x1b6290(_0x24333f)),_0x9543e0=_0x2df3a7[_0xa581('0x55')](_0x45c69c['model'][_0xa581('0x38')]['selection']),_0x42ac2d=_0x145b72[_0xa581('0x2d')](_0x9543e0);const _0x12aa7f=_0x145b72[_0xa581('0x2a')](_0x486ead,_0x8fbb60);_0x486ead[_0xa581('0x1d')](),_0x8fbb60['detach'](),_0x2edd3a['markBlockFormat'](_0x9543e0,{'commandName':_0xa581('0x64'),'commandParams':[]},[],'convertInlineImageToBlock'),_0x12aa7f[_0xa581('0x0')][_0xa581('0x35')](_0x42ac2d[_0xa581('0x0')])&&_0x2edd3a['markInsertion'](_0x145b72[_0xa581('0x2a')](_0x12aa7f[_0xa581('0x0')],_0x42ac2d['start']),_0xa581('0x2e')),_0x42ac2d[_0xa581('0x5e')]['isBefore'](_0x12aa7f['end'])&&_0x2edd3a[_0xa581('0x2f')](_0x145b72[_0xa581('0x2a')](_0x42ac2d[_0xa581('0x5e')],_0x12aa7f['end']),'convertInlineImageToBlock');});}),_0x2edd3a[_0xa581('0x71')][_0xa581('0x6a')](_0xa581('0x3e'),'convertInlineImageToBlock','join',()=>{}),_0x2edd3a['_suggestionFactory'][_0xa581('0x6a')]('formatBlock',_0xa581('0x2e'),_0xa581('0x67'),()=>{}),_0x2edd3a[_0xa581('0x71')]['registerCustomCallback'](_0xa581('0x3e'),_0xa581('0x2e'),'discard',_0x2edd3a[_0xa581('0x71')][_0xa581('0x48')](_0xa581('0x3e'),'',_0xa581('0x67'))),_0x2edd3a['_suggestionFactory']['registerCustomCallback']('insertion','convertInlineImageToBlock',_0xa581('0x8'),()=>{}),_0x2edd3a['_suggestionFactory'][_0xa581('0x6a')](_0xa581('0x1e'),'convertInlineImageToBlock',_0xa581('0x4e'),([_0x32f4f5])=>{const _0x315b40=_0x2edd3a[_0xa581('0x71')][_0xa581('0x48')](_0xa581('0x1e'),'',_0xa581('0x4e'));let _0x4dcb12=_0x32f4f5[_0xa581('0x0')],_0x5802fc=_0x32f4f5[_0xa581('0x5e')];const _0x2787e6=_0x45c69c[_0xa581('0x11')]['schema']['getNearestSelectionRange'](_0x4dcb12,'backward'),_0x4b093f=_0x45c69c[_0xa581('0x11')][_0xa581('0xf')][_0xa581('0x56')](_0x5802fc,_0xa581('0x6d'));_0x2787e6[_0xa581('0x5')]&&(_0x4dcb12=_0x2787e6['start']),_0x4b093f[_0xa581('0x5')]&&(_0x5802fc=_0x4b093f[_0xa581('0x5e')]),_0x315b40([_0x45c69c[_0xa581('0x11')][_0xa581('0x2a')](_0x4dcb12,_0x5802fc)]);}),_0x2edd3a['_suggestionFactory']['registerCustomCallback'](_0xa581('0x3e'),'convertInlineImageToBlock','chain',_0x2e8b77),_0x2edd3a[_0xa581('0x71')][_0xa581('0x6a')]('insertion',_0xa581('0x2e'),_0xa581('0x57'),_0x2e8b77)),_0x45c69c[_0xa581('0x4a')][_0xa581('0x73')](_0xa581('0x23'))&&(_0x2edd3a[_0xa581('0x79')](_0xa581('0x24'),(_0x50ec19,_0x4ec8f9)=>{const _0x1d0427=_0x45c69c['plugins'][_0xa581('0x2c')](_0xa581('0x40'));let _0x3200e5=_0x2df3a7['getClosestSelectedImageElement'](_0x45c69c['model']['document'][_0xa581('0x76')]),_0x567a78=_0x1d0427[_0xa581('0x4f')](_0x3200e5);_0x45c69c[_0xa581('0x11')][_0xa581('0x4b')](()=>{if(_0x567a78)return void _0x2edd3a[_0xa581('0x28')](_0x45c69c['model'][_0xa581('0x2d')](_0x567a78));const _0x1e5ef9=_0x2df3a7['isBlockImage'](_0x3200e5);_0x50ec19(_0x4ec8f9),_0x3200e5=_0x2df3a7[_0xa581('0x55')](_0x45c69c['model'][_0xa581('0x38')]['selection']),_0x567a78=_0x1d0427['getCaptionFromImageModelElement'](_0x3200e5),_0x2edd3a[_0xa581('0x2f')](_0x45c69c[_0xa581('0x11')][_0xa581('0x2d')](_0x567a78),_0x1e5ef9?null:_0xa581('0x17'));});}),_0x2edd3a['_suggestionFactory']['registerCustomCallback'](_0xa581('0x1e'),_0xa581('0x17'),_0xa581('0x57'),_0x2e8b77)),_0x45c69c['plugins']['has']('ImageStyleEditing')){_0x2edd3a[_0xa581('0x79')](_0xa581('0xb'),(_0x4c9e11,_0x8ce84)=>{const _0x1eb946=_0x45c69c[_0xa581('0x4a')]['get'](_0xa581('0xc'))['me'],_0x349aa4=_0x45c69c[_0xa581('0x36')][_0xa581('0x2c')](_0xa581('0xb'));let _0x24cddf=_0x2df3a7[_0xa581('0x55')](_0x45c69c[_0xa581('0x11')][_0xa581('0x38')][_0xa581('0x76')]),_0x4de564=_0x45c69c[_0xa581('0x11')][_0xa581('0x2d')](_0x24cddf),_0x52c9b7=_0x349aa4[_0xa581('0x69')];if(_0x52c9b7==_0x8ce84['value'])return;const _0x35dcd9={'commandName':_0xa581('0xb'),'commandParams':[_0x8ce84],'formatGroupId':_0x4008d6()};_0x45c69c[_0xa581('0x11')]['change'](()=>{if(_0x2edd3a[_0xa581('0x5b')]()['filter'](_0x346aaa=>_0x346aaa[_0xa581('0x50')]&&_0x1eb946==_0x346aaa[_0xa581('0x3c')]&&('formatBlock'==_0x346aaa[_0xa581('0x6f')]||'formatInline'==_0x346aaa[_0xa581('0x6f')])&&(_0xa581('0x7')==_0x346aaa[_0xa581('0x6c')]||_0xa581('0x4')==_0x346aaa[_0xa581('0x6c')])&&_0x346aaa[_0xa581('0x6b')]()[_0xa581('0x5f')](_0x4de564))['forEach'](_0xcacdec=>_0x2edd3a['discardSuggestion'](_0xcacdec[_0xa581('0x13')])),_0x24cddf=_0x2df3a7[_0xa581('0x55')](_0x45c69c['model'][_0xa581('0x38')]['selection']),_0x4de564=_0x45c69c[_0xa581('0x11')]['createRangeOn'](_0x24cddf),_0x349aa4['refresh'](),_0x45c69c[_0xa581('0x36')][_0xa581('0x2c')](_0xa581('0x64'))['refresh'](),_0x45c69c[_0xa581('0x36')][_0xa581('0x2c')](_0xa581('0x59'))[_0xa581('0x66')](),_0x52c9b7=_0x349aa4[_0xa581('0x69')],_0x52c9b7!=_0x8ce84['value'])return _0x2df3a7[_0xa581('0x51')](_0x24cddf)&&_0x349aa4[_0xa581('0x1f')](_0x8ce84[_0xa581('0x69')],_0x24cddf)?(_0x4c9e11(_0x8ce84),_0x24cddf=_0x2df3a7[_0xa581('0x55')](_0x45c69c['model']['document'][_0xa581('0x76')]),void _0x2edd3a[_0xa581('0x42')](_0x24cddf,{..._0x35dcd9,'commandReversedParams':[{'value':_0x52c9b7||null}]},[],_0xa581('0x7'))):void(_0x2df3a7['isBlockImage'](_0x24cddf)?_0x2edd3a[_0xa581('0x42')](_0x24cddf,_0x35dcd9,[],_0xa581('0x4')):_0x2edd3a[_0xa581('0x63')](_0x4de564,_0x35dcd9,_0xa581('0x4')));});});for(const _0xe4ca89 of _0x45c69c[_0xa581('0x4a')]['get'](_0xa581('0x33'))[_0xa581('0x2b')])_0x3ed7d0[_0xe4ca89['name']]=_0xe4ca89[_0xa581('0x25')][_0xa581('0x4d')]();_0x2edd3a[_0xa581('0x71')][_0xa581('0x6a')](_0xa581('0x3e'),_0xa581('0x7'),_0xa581('0x8'),()=>{}),_0x2edd3a['_suggestionFactory'][_0xa581('0x6a')](_0xa581('0x3e'),'imageStylePostApply',_0xa581('0x8'),()=>{}),_0x2edd3a['_suggestionFactory'][_0xa581('0x6a')](_0xa581('0x34'),_0xa581('0x4'),_0xa581('0x8'),()=>{}),_0x2edd3a[_0xa581('0x71')][_0xa581('0x6a')](_0xa581('0x3e'),_0xa581('0x7'),'accept',()=>{}),_0x2edd3a[_0xa581('0x71')]['registerCustomCallback']('formatBlock','imageStylePreApply',_0xa581('0x4e'),(_0x28886a,_0x521aa9)=>{_0x2edd3a[_0xa581('0x71')]['getSuggestionCallback'](_0xa581('0x3e'),'',_0xa581('0x67'))(_0x28886a,{'commandName':_0x521aa9[_0xa581('0x6')],'commandParams':_0x521aa9[_0xa581('0x68')]});}),_0x2edd3a[_0xa581('0x71')][_0xa581('0x6a')](_0xa581('0x3e'),'imageStylePreApply',_0xa581('0x57'),_0x2e8b77);}const _0x24306e=[{'type':_0xa581('0x3e'),'subType':_0xa581('0x7')},{'type':_0xa581('0x1e'),'subType':_0xa581('0x17')},{'type':_0xa581('0x3e'),'subType':'convertInlineImageToBlock'},{'type':'insertion','subType':_0xa581('0x2e')}];function _0x3e66a3(_0x85bdf3,_0x70e187){const _0x1a83c3=_0x24306e[_0xa581('0x43')](({type:_0x1b2acd,subType:_0x25fab7})=>_0x85bdf3['type']==_0x1b2acd&&_0x85bdf3[_0xa581('0x6c')]==_0x25fab7),_0x3352dc=_0x24306e['findIndex'](({type:_0x12485e,subType:_0x3a5415})=>_0x70e187[_0xa581('0x6f')]==_0x12485e&&_0x70e187[_0xa581('0x6c')]==_0x3a5415);if(_0x1a83c3<0x0||_0x3352dc<0x0)return!0x1;const _0x2f2f08=_0x85bdf3[_0xa581('0x6b')](),_0x4a4426=_0x70e187['getFirstRange']();if((0x0==_0x1a83c3||0x1==_0x1a83c3)&&0x2==_0x3352dc&&_0x2f2f08[_0xa581('0x3')](_0x4a4426))return!0x0;if(0x2==_0x1a83c3&&0x3==_0x3352dc){const _0x3c939f=_0x2edd3a['_findSuggestions'](_0x2f2f08,_0xa581('0x1e'))[_0xa581('0xa')](({suggestion:_0x56939f,meta:_0x1b5156})=>_0x1b5156[_0xa581('0x29')]&&_0xa581('0x2e')==_0x56939f[_0xa581('0x6c')]);if(_0x3c939f[_0xa581('0x21')]>0x1&&_0x4a4426[_0xa581('0x5e')][_0xa581('0x5f')](_0x2f2f08['start']))return!0x0;if(0x1==_0x3c939f[_0xa581('0x21')]&&(_0x2f2f08[_0xa581('0x0')][_0xa581('0x5f')](_0x4a4426['end'])||_0x2f2f08[_0xa581('0x5e')][_0xa581('0x5f')](_0x4a4426[_0xa581('0x0')])))return!0x0;}if(0x3==_0x1a83c3&&0x3==_0x3352dc&&_0x2f2f08[_0xa581('0x0')][_0xa581('0x35')](_0x4a4426[_0xa581('0x0')])){const _0x1023c9=_0x2f2f08[_0xa581('0x5e')]['nodeAfter'],_0x5ec289=_0x4a4426[_0xa581('0x0')]['nodeBefore'];return _0x2df3a7[_0xa581('0xe')](_0x1023c9)&&_0x1023c9===_0x5ec289;}return!0x1;}function _0x2e8b77(_0x3e1756,_0xd469c){return _0x3e66a3(_0x3e1756,_0xd469c)?[_0x3e1756,_0xd469c]:_0x3e66a3(_0xd469c,_0x3e1756)?[_0xd469c,_0x3e1756]:null;}_0x45c69c[_0xa581('0x11')][_0xa581('0x38')][_0xa581('0x61')](()=>{let _0x1cb13e=!0x1;const _0x595767=Array['from'](_0x45c69c[_0xa581('0x11')][_0xa581('0x38')]['differ'][_0xa581('0x75')]());for(const {name:_0x57e8b1,data:_0x430a13}of _0x595767){const {group:_0x6fbd11,type:_0x2340bb,subType:_0x105f80,id:_0x5cdcbb}=_0x2edd3a['_splitMarkerName'](_0x57e8b1);if(_0xa581('0x14')==_0x6fbd11&&_0x2edd3a[_0xa581('0x5a')](_0x5cdcbb)){if(_0xa581('0x3e')==_0x2340bb&&(_0xa581('0x7')==_0x105f80||'imageStylePostApply'==_0x105f80)){const _0x322aad=_0x2edd3a[_0xa581('0x26')](_0x5cdcbb);if(_0x430a13[_0xa581('0x5d')]){const _0x26fd29=_0x322aad[_0xa581('0x6b')]()['getContainedElement']();if(_0x2df3a7[_0xa581('0xe')](_0x26fd29))continue;_0x2edd3a['discardSuggestion'](_0x322aad),_0x1cb13e=!0x0;}}if(_0xa581('0x1e')==_0x2340bb&&_0xa581('0x17')==_0x105f80&&!_0x430a13['newRange']){const _0x373cd8=_0x2edd3a['getSuggestion'](_0x5cdcbb);_0x373cd8[_0xa581('0x52')]&&_0x373cd8[_0xa581('0x52')][_0xa581('0x50')]&&(_0x2edd3a[_0xa581('0x22')](_0x373cd8[_0xa581('0x52')]),_0x1cb13e=!0x0);}}}return _0x1cb13e;}),_0x45c69c[_0xa581('0x4a')][_0xa581('0x73')](_0xa581('0x72'))&&_0x2edd3a[_0xa581('0x79')](_0xa581('0x15'),(_0x2080c7,_0x2fa663)=>{const _0x5bebd9=_0x2df3a7[_0xa581('0x55')](_0x45c69c[_0xa581('0x11')][_0xa581('0x38')][_0xa581('0x76')]);_0x5bebd9[_0xa581('0xd')](_0xa581('0x12'))!=_0x2fa663[_0xa581('0x12')]&&_0x45c69c[_0xa581('0x11')]['change'](()=>{_0x2edd3a[_0xa581('0x42')](_0x5bebd9,{'commandName':_0xa581('0x15'),'commandParams':[_0x2fa663]});});}),_0x45c69c[_0xa581('0x4a')][_0xa581('0x73')](_0xa581('0x58'))&&_0x2edd3a[_0xa581('0x79')]('imageTextAlternative',(_0x3621f5,_0x2c1613)=>{const _0x17090e=_0x2df3a7[_0xa581('0x55')](_0x45c69c[_0xa581('0x11')]['document'][_0xa581('0x76')]);(_0x17090e[_0xa581('0x20')](_0xa581('0x53'))?_0x17090e[_0xa581('0xd')](_0xa581('0x53')):'')!=_0x2c1613['newValue']&&_0x45c69c[_0xa581('0x11')]['change'](()=>{_0x2edd3a[_0xa581('0x42')](_0x17090e,{'commandName':_0xa581('0x2'),'commandParams':[_0x2c1613]});});}),_0x2edd3a['_descriptionFactory'][_0xa581('0x45')](_0x4e9990=>{if(!!_0x24306e['find'](({type:_0x45c3e2,subType:_0x2dee03})=>_0x4e9990[_0xa581('0x6f')]==_0x45c3e2&&_0x4e9990[_0xa581('0x6c')]==_0x2dee03))return _0x4e9990[_0xa581('0x6e')]?{}:void 0x0;}),_0x2edd3a[_0xa581('0x46')][_0xa581('0x45')](_0x96cd4c=>{if('insertion'==_0x96cd4c[_0xa581('0x6f')]||_0xa581('0x65')==_0x96cd4c[_0xa581('0x6f')]){const _0x38bea2=_0x96cd4c[_0xa581('0x4c')]();if(_0x38bea2&&_0x38bea2['is'](_0xa581('0x3f'),_0xa581('0x3a')))return{'type':_0xa581('0x1e')==_0x96cd4c[_0xa581('0x6f')]?'addObject':_0xa581('0x31'),'element':_0x38bea2,'quantity':0x1};}}),_0x2edd3a[_0xa581('0x46')][_0xa581('0x45')](_0x45818a=>_0xa581('0x3e')==_0x45818a[_0xa581('0x6f')]&&_0xa581('0x2e')==_0x45818a[_0xa581('0x6c')]?{'type':_0xa581('0x39'),'content':_0xa581('0x9')}:_0xa581('0x3e')==_0x45818a[_0xa581('0x6f')]&&_0xa581('0x10')==_0x45818a[_0xa581('0x6c')]?{'type':_0xa581('0x39'),'content':_0xa581('0x27')}:void 0x0),_0x2edd3a[_0xa581('0x46')]['registerDescriptionCallback'](_0x505660=>{const {data:_0x5873e8}=_0x505660;if(_0x5873e8){if(_0xa581('0xb')==_0x5873e8[_0xa581('0x6')]){const _0x50023d=_0x5873e8['commandParams'][0x0][_0xa581('0x69')];return _0x490549(_0xa581('0x47')===_0x50023d?_0x140a06(_0x48fa6b,_0xa581('0x77')):_0x3ed7d0[_0x50023d]||_0x50023d);}if(_0xa581('0x2')==_0x5873e8[_0xa581('0x6')]){const _0x3065fa=_0x5873e8[_0xa581('0x41')][0x0][_0xa581('0x54')];return _0x3065fa?{'type':_0xa581('0x39'),'content':_0x140a06(_0x48fa6b,_0xa581('0x3d'),'\x22'+_0x3065fa+'\x22')}:{'type':_0xa581('0x39'),'content':_0x140a06(_0x48fa6b,_0xa581('0x7a'))};}if(_0xa581('0x15')==_0x5873e8[_0xa581('0x6')]){const _0x4c365d=_0x5873e8['commandParams'][0x0][_0xa581('0x12')];return _0x4c365d?{'type':'format','content':_0x140a06(_0x48fa6b,_0xa581('0x1a'),_0x4c365d)}:{'type':_0xa581('0x39'),'content':_0x140a06(_0x48fa6b,_0xa581('0x18'))};}}function _0x490549(_0x469bd3){return{'type':_0xa581('0x39'),'content':_0x140a06(_0x48fa6b,_0xa581('0x1'),_0x469bd3)};}});}}
23
+ const _0x56ba=['ImageUploadEditing','imageTypeBlock','get','discard','getChangedMarkers','width','registerDescriptionCallback','Users','nodeAfter','isIntersecting','markInsertion','getSuggestionCallback','hasAttribute','length','getCaptionFromImageModelElement','caption','imageTextAlternative','getContainedElement','registerElementLabel','enableCommand','insertion','accept','name','filter','_descriptionFactory','markDeletion','join','newRange','suggestion','addObject','imageStylePostApply','formatBlock','registerPostFixer','newValue','type','imageStyle','backward','forEach','imageBlock','value','imageCaption','discardSuggestion','change','Block\x20image\x20to\x20inline\x20image','_suggestionFactory','document','afterInit','removeObject','hasSuggestion','schema','find','_findSuggestions','refresh','ImageCaptionUtils','editor','formatInline','subType','ELEMENT_IMAGE','has','createRangeOn','chain','next','ELEMENT_INLINE_IMAGE','resizeImage','convertBlockImageToInline','isEqual','isBefore','markBlockFormat','ImageStyleEditing','ImageEditing','isInContent','findIndex','deletion','getClosestSelectedImageElement','ImageResize','fromPosition','getFirstRange','commands','toggleImageCaption','ELEMENT_CAPTION','detach','getAttribute','ImageCaptionEditing','FORMAT_SIDE_IMAGE','commandName','differ','alt','registerCustomCallback','createRange','start','plugins','*Reset\x20image\x20width*','ImageInlineEditing','toNext','imageTypeInline','isBlockImage','getNearestSelectionRange','from','commandParams','getSuggestions','insertImage','normalizedStyles','shouldConvertImageType','selection','model','format','end','convertInlineImageToBlock','*Format:*\x20%0','imageInline','*Set\x20image\x20text\x20alternative:*\x20%0','isOwn','head','imageStylePreApply','_splitMarkerName','title','isCollapsed','TrackChangesEditing','markInlineFormat','locale'];(function(_0x58b504,_0x56ba77){const _0x1b445e=function(_0x1e69e3){while(--_0x1e69e3){_0x58b504['push'](_0x58b504['shift']());}};_0x1b445e(++_0x56ba77);}(_0x56ba,0x1d8));const _0x1b44=function(_0x58b504,_0x56ba77){_0x58b504=_0x58b504-0x0;let _0x1b445e=_0x56ba[_0x58b504];return _0x1b445e;};import{Plugin as _0x4dedfc}from'ckeditor5/src/core';import{LivePosition as _0x40903e}from'ckeditor5/src/engine';import{uid as _0x114d14}from'ckeditor5/src/utils';import{getTranslation as _0x763ae1}from'../utils/common-translations';export default class X extends _0x4dedfc{[_0x1b44('0x36')](){const _0x2e0e12=this[_0x1b44('0x3e')];if(!_0x2e0e12[_0x1b44('0x62')][_0x1b44('0x42')](_0x1b44('0x4d')))return;const _0x41fb10=_0x2e0e12[_0x1b44('0x62')]['get'](_0x1b44('0x5')),_0x50d721=_0x2e0e12[_0x1b44('0x62')]['get']('ImageUtils'),_0x15ef06={},_0x15e7c5=_0x2e0e12[_0x1b44('0x7')];if(_0x41fb10[_0x1b44('0x1b')](_0x1b44('0x6c')),_0x41fb10[_0x1b44('0x20')][_0x1b44('0x1a')](_0x1b44('0x2e'),_0x5e3b8a=>_0x763ae1(_0x15e7c5,_0x1b44('0x41'),_0x5e3b8a)),_0x41fb10['_descriptionFactory'][_0x1b44('0x1a')](_0x1b44('0x75'),_0x509f16=>_0x763ae1(_0x15e7c5,_0x1b44('0x46'),_0x509f16)),_0x41fb10['_descriptionFactory'][_0x1b44('0x1a')](_0x1b44('0x17'),()=>_0x763ae1(_0x15e7c5,_0x1b44('0x57'))),_0x2e0e12['plugins']['has'](_0x1b44('0x8'))&&_0x41fb10[_0x1b44('0x1b')]('uploadImage'),_0x2e0e12['plugins']['has']('ImageBlockEditing')&&_0x2e0e12['plugins'][_0x1b44('0x42')](_0x1b44('0x64'))&&(_0x41fb10[_0x1b44('0x1b')](_0x1b44('0x66'),(_0x1df2b4,_0x11527a)=>{const _0x3c56b6=_0x50d721[_0x1b44('0x51')](_0x2e0e12[_0x1b44('0x70')][_0x1b44('0x35')][_0x1b44('0x6f')]);_0x2e0e12[_0x1b44('0x70')][_0x1b44('0x32')](()=>{_0x41fb10[_0x1b44('0x4b')](_0x3c56b6,{'commandName':_0x1b44('0x66'),'commandParams':[_0x11527a]},[],_0x1b44('0x48'));});}),_0x41fb10[_0x1b44('0x1b')](_0x1b44('0x9'),(_0x1fb256,_0x4b4923)=>{_0x2e0e12['model'][_0x1b44('0x32')](_0x21ffe5=>{let _0x505ee2=_0x50d721[_0x1b44('0x51')](_0x2e0e12[_0x1b44('0x70')]['document'][_0x1b44('0x6f')]),_0x4df690=_0x21ffe5[_0x1b44('0x43')](_0x505ee2);const _0x568c2e=_0x40903e[_0x1b44('0x53')](_0x4df690[_0x1b44('0x61')],'toPrevious'),_0x416dd6=_0x40903e[_0x1b44('0x53')](_0x4df690[_0x1b44('0x72')],_0x1b44('0x65'));_0x41fb10['forceDefaultExecution'](()=>_0x1fb256(_0x4b4923)),_0x505ee2=_0x50d721[_0x1b44('0x51')](_0x2e0e12['model'][_0x1b44('0x35')]['selection']),_0x4df690=_0x21ffe5[_0x1b44('0x43')](_0x505ee2);const _0x375417=_0x21ffe5[_0x1b44('0x60')](_0x568c2e,_0x416dd6);_0x568c2e['detach'](),_0x416dd6[_0x1b44('0x58')](),_0x41fb10['markBlockFormat'](_0x505ee2,{'commandName':_0x1b44('0x66'),'commandParams':[]},[],'convertInlineImageToBlock'),_0x375417['start']['isBefore'](_0x4df690[_0x1b44('0x61')])&&_0x41fb10[_0x1b44('0x12')](_0x21ffe5[_0x1b44('0x60')](_0x375417[_0x1b44('0x61')],_0x4df690['start']),'convertInlineImageToBlock'),_0x4df690['end'][_0x1b44('0x4a')](_0x375417[_0x1b44('0x72')])&&_0x41fb10[_0x1b44('0x12')](_0x21ffe5[_0x1b44('0x60')](_0x4df690[_0x1b44('0x72')],_0x375417[_0x1b44('0x72')]),_0x1b44('0x73'));});}),_0x41fb10[_0x1b44('0x34')]['registerCustomCallback']('formatBlock',_0x1b44('0x73'),_0x1b44('0x22'),()=>{}),_0x41fb10[_0x1b44('0x34')][_0x1b44('0x5f')](_0x1b44('0x27'),_0x1b44('0x73'),_0x1b44('0x1d'),()=>{}),_0x41fb10[_0x1b44('0x34')][_0x1b44('0x5f')](_0x1b44('0x27'),_0x1b44('0x73'),'discard',_0x41fb10[_0x1b44('0x34')][_0x1b44('0x13')](_0x1b44('0x27'),'',_0x1b44('0x1d'))),_0x41fb10[_0x1b44('0x34')][_0x1b44('0x5f')]('insertion','convertInlineImageToBlock','join',()=>{}),_0x41fb10[_0x1b44('0x34')]['registerCustomCallback'](_0x1b44('0x1c'),'convertInlineImageToBlock',_0x1b44('0xb'),([_0x3d078c])=>{const _0x38d5c4=_0x41fb10[_0x1b44('0x34')]['getSuggestionCallback']('insertion','',_0x1b44('0xb'));let _0x15483a=_0x3d078c[_0x1b44('0x61')],_0x3c0479=_0x3d078c[_0x1b44('0x72')];const _0x5466d5=_0x2e0e12['model'][_0x1b44('0x39')][_0x1b44('0x68')](_0x15483a,_0x1b44('0x2c')),_0x4b71af=_0x2e0e12[_0x1b44('0x70')]['schema'][_0x1b44('0x68')](_0x3c0479,'forward');_0x5466d5[_0x1b44('0x4')]&&(_0x15483a=_0x5466d5[_0x1b44('0x61')]),_0x4b71af[_0x1b44('0x4')]&&(_0x3c0479=_0x4b71af[_0x1b44('0x72')]),_0x38d5c4([_0x2e0e12[_0x1b44('0x70')][_0x1b44('0x60')](_0x15483a,_0x3c0479)]);}),_0x41fb10[_0x1b44('0x34')][_0x1b44('0x5f')](_0x1b44('0x27'),'convertInlineImageToBlock',_0x1b44('0x44'),_0x53fb06),_0x41fb10['_suggestionFactory'][_0x1b44('0x5f')](_0x1b44('0x1c'),_0x1b44('0x73'),_0x1b44('0x44'),_0x53fb06)),_0x2e0e12[_0x1b44('0x62')][_0x1b44('0x42')](_0x1b44('0x5a'))&&(_0x41fb10['enableCommand'](_0x1b44('0x56'),(_0x2dc691,_0x3e6790)=>{const _0x8db12d=_0x2e0e12[_0x1b44('0x62')][_0x1b44('0xa')](_0x1b44('0x3d'));let _0x2614f3=_0x50d721[_0x1b44('0x51')](_0x2e0e12[_0x1b44('0x70')][_0x1b44('0x35')][_0x1b44('0x6f')]),_0x5d104e=_0x8db12d[_0x1b44('0x16')](_0x2614f3);_0x2e0e12['model'][_0x1b44('0x32')](()=>{if(_0x5d104e)return void _0x41fb10[_0x1b44('0x21')](_0x2e0e12[_0x1b44('0x70')][_0x1b44('0x43')](_0x5d104e));const _0x112ccc=_0x50d721[_0x1b44('0x67')](_0x2614f3);_0x2dc691(_0x3e6790),_0x2614f3=_0x50d721[_0x1b44('0x51')](_0x2e0e12['model']['document']['selection']),_0x5d104e=_0x8db12d[_0x1b44('0x16')](_0x2614f3),_0x41fb10[_0x1b44('0x12')](_0x2e0e12['model'][_0x1b44('0x43')](_0x5d104e),_0x112ccc?null:_0x1b44('0x30'));});}),_0x41fb10[_0x1b44('0x34')]['registerCustomCallback'](_0x1b44('0x1c'),_0x1b44('0x30'),_0x1b44('0x44'),_0x53fb06)),_0x2e0e12[_0x1b44('0x62')][_0x1b44('0x42')](_0x1b44('0x4c'))){_0x41fb10[_0x1b44('0x1b')](_0x1b44('0x2b'),(_0x40e3c6,_0x1f9354)=>{const _0x13c68e=_0x2e0e12[_0x1b44('0x62')][_0x1b44('0xa')](_0x1b44('0xf'))['me'],_0x37b87c=_0x2e0e12[_0x1b44('0x55')][_0x1b44('0xa')](_0x1b44('0x2b'));let _0x2ba14b=_0x50d721[_0x1b44('0x51')](_0x2e0e12[_0x1b44('0x70')][_0x1b44('0x35')]['selection']),_0x1b797c=_0x2e0e12[_0x1b44('0x70')][_0x1b44('0x43')](_0x2ba14b),_0x2f735f=_0x37b87c['value'];if(_0x2f735f==_0x1f9354[_0x1b44('0x2f')])return;const _0x23bbb7={'commandName':_0x1b44('0x2b'),'commandParams':[_0x1f9354],'formatGroupId':_0x114d14()};_0x2e0e12[_0x1b44('0x70')][_0x1b44('0x32')](()=>{if(_0x41fb10[_0x1b44('0x6b')]()[_0x1b44('0x1f')](_0x3cc611=>_0x3cc611[_0x1b44('0x4e')]&&_0x13c68e==_0x3cc611['author']&&('formatBlock'==_0x3cc611[_0x1b44('0x2a')]||_0x1b44('0x3f')==_0x3cc611[_0x1b44('0x2a')])&&(_0x1b44('0x1')==_0x3cc611[_0x1b44('0x40')]||_0x1b44('0x26')==_0x3cc611['subType'])&&_0x3cc611[_0x1b44('0x54')]()[_0x1b44('0x49')](_0x1b797c))[_0x1b44('0x2d')](_0x923e86=>_0x41fb10[_0x1b44('0x31')](_0x923e86[_0x1b44('0x0')])),_0x2ba14b=_0x50d721[_0x1b44('0x51')](_0x2e0e12[_0x1b44('0x70')][_0x1b44('0x35')][_0x1b44('0x6f')]),_0x1b797c=_0x2e0e12[_0x1b44('0x70')][_0x1b44('0x43')](_0x2ba14b),_0x37b87c[_0x1b44('0x3c')](),_0x2e0e12['commands']['get'](_0x1b44('0x66'))[_0x1b44('0x3c')](),_0x2e0e12[_0x1b44('0x55')]['get'](_0x1b44('0x9'))['refresh'](),_0x2f735f=_0x37b87c[_0x1b44('0x2f')],_0x2f735f!=_0x1f9354['value'])return _0x50d721['isInlineImage'](_0x2ba14b)&&_0x37b87c[_0x1b44('0x6e')](_0x1f9354[_0x1b44('0x2f')],_0x2ba14b)?(_0x40e3c6(_0x1f9354),_0x2ba14b=_0x50d721[_0x1b44('0x51')](_0x2e0e12['model'][_0x1b44('0x35')][_0x1b44('0x6f')]),void _0x41fb10[_0x1b44('0x4b')](_0x2ba14b,{..._0x23bbb7,'commandReversedParams':[{'value':_0x2f735f||null}]},[],_0x1b44('0x1'))):void(_0x50d721[_0x1b44('0x67')](_0x2ba14b)?_0x41fb10[_0x1b44('0x4b')](_0x2ba14b,_0x23bbb7,[],'imageStylePostApply'):_0x41fb10[_0x1b44('0x6')](_0x1b797c,_0x23bbb7,_0x1b44('0x26')));});});for(const _0x32acc3 of _0x2e0e12[_0x1b44('0x62')][_0x1b44('0xa')](_0x1b44('0x4c'))[_0x1b44('0x6d')])_0x15ef06[_0x32acc3[_0x1b44('0x1e')]]=_0x32acc3[_0x1b44('0x3')]['toLowerCase']();_0x41fb10[_0x1b44('0x34')]['registerCustomCallback'](_0x1b44('0x27'),'imageStylePreApply',_0x1b44('0x22'),()=>{}),_0x41fb10[_0x1b44('0x34')][_0x1b44('0x5f')]('formatBlock','imageStylePostApply','join',()=>{}),_0x41fb10['_suggestionFactory'][_0x1b44('0x5f')](_0x1b44('0x3f'),'imageStylePostApply','join',()=>{}),_0x41fb10['_suggestionFactory'][_0x1b44('0x5f')](_0x1b44('0x27'),_0x1b44('0x1'),_0x1b44('0x1d'),()=>{}),_0x41fb10['_suggestionFactory'][_0x1b44('0x5f')]('formatBlock',_0x1b44('0x1'),_0x1b44('0xb'),(_0xb77445,_0x2c47d5)=>{_0x41fb10[_0x1b44('0x34')][_0x1b44('0x13')](_0x1b44('0x27'),'',_0x1b44('0x1d'))(_0xb77445,{'commandName':_0x2c47d5[_0x1b44('0x5c')],'commandParams':_0x2c47d5['commandReversedParams']});}),_0x41fb10[_0x1b44('0x34')][_0x1b44('0x5f')](_0x1b44('0x27'),_0x1b44('0x1'),_0x1b44('0x44'),_0x53fb06);}const _0x4f895d=[{'type':'formatBlock','subType':'imageStylePreApply'},{'type':'insertion','subType':_0x1b44('0x30')},{'type':_0x1b44('0x27'),'subType':'convertInlineImageToBlock'},{'type':_0x1b44('0x1c'),'subType':'convertInlineImageToBlock'}];function _0x1285f5(_0x59726b,_0x5d91ac){const _0x46abf7=_0x4f895d['findIndex'](({type:_0x438a78,subType:_0x41d220})=>_0x59726b[_0x1b44('0x2a')]==_0x438a78&&_0x59726b[_0x1b44('0x40')]==_0x41d220),_0x5ece38=_0x4f895d[_0x1b44('0x4f')](({type:_0x36473c,subType:_0x5b54fc})=>_0x5d91ac[_0x1b44('0x2a')]==_0x36473c&&_0x5d91ac[_0x1b44('0x40')]==_0x5b54fc);if(_0x46abf7<0x0||_0x5ece38<0x0)return!0x1;const _0x159671=_0x59726b[_0x1b44('0x54')](),_0x564c8f=_0x5d91ac[_0x1b44('0x54')]();if((0x0==_0x46abf7||0x1==_0x46abf7)&&0x2==_0x5ece38&&_0x159671[_0x1b44('0x11')](_0x564c8f))return!0x0;if(0x2==_0x46abf7&&0x3==_0x5ece38){const _0x261082=_0x41fb10[_0x1b44('0x3b')](_0x159671,'insertion')[_0x1b44('0x1f')](({suggestion:_0x5a5dcc,meta:_0x551350})=>_0x551350[_0x1b44('0x77')]&&_0x1b44('0x73')==_0x5a5dcc[_0x1b44('0x40')]);if(_0x261082[_0x1b44('0x15')]>0x1&&_0x564c8f['end']['isEqual'](_0x159671['start']))return!0x0;if(0x1==_0x261082[_0x1b44('0x15')]&&(_0x159671[_0x1b44('0x61')][_0x1b44('0x49')](_0x564c8f[_0x1b44('0x72')])||_0x159671['end'][_0x1b44('0x49')](_0x564c8f[_0x1b44('0x61')])))return!0x0;}if(0x3==_0x46abf7&&0x3==_0x5ece38&&_0x159671[_0x1b44('0x61')]['isBefore'](_0x564c8f[_0x1b44('0x61')])){const _0x19d339=_0x159671[_0x1b44('0x72')][_0x1b44('0x10')],_0x37cd23=_0x564c8f['start']['nodeBefore'];return _0x50d721['isBlockImage'](_0x19d339)&&_0x19d339===_0x37cd23;}return!0x1;}function _0x53fb06(_0x37d5a3,_0x4d9142){return _0x1285f5(_0x37d5a3,_0x4d9142)?[_0x37d5a3,_0x4d9142]:_0x1285f5(_0x4d9142,_0x37d5a3)?[_0x4d9142,_0x37d5a3]:null;}_0x2e0e12[_0x1b44('0x70')]['document'][_0x1b44('0x28')](()=>{let _0x1b2f72=!0x1;const _0x4ba60c=Array[_0x1b44('0x69')](_0x2e0e12[_0x1b44('0x70')][_0x1b44('0x35')][_0x1b44('0x5d')][_0x1b44('0xc')]());for(const {name:_0x44d8f3,data:_0x4ef43e}of _0x4ba60c){const {group:_0x8ab251,type:_0x5d6b7d,subType:_0x490b85,id:_0x3406e6}=_0x41fb10[_0x1b44('0x2')](_0x44d8f3);if(_0x1b44('0x24')==_0x8ab251&&_0x41fb10[_0x1b44('0x38')](_0x3406e6)){if(_0x1b44('0x27')==_0x5d6b7d&&(_0x1b44('0x1')==_0x490b85||_0x1b44('0x26')==_0x490b85)){const _0x158096=_0x41fb10['getSuggestion'](_0x3406e6);if(_0x4ef43e[_0x1b44('0x23')]){const _0x53e330=_0x158096[_0x1b44('0x54')]()[_0x1b44('0x19')]();if(_0x50d721[_0x1b44('0x67')](_0x53e330))continue;_0x41fb10[_0x1b44('0x31')](_0x158096),_0x1b2f72=!0x0;}}if('insertion'==_0x5d6b7d&&'imageCaption'==_0x490b85&&!_0x4ef43e[_0x1b44('0x23')]){const _0x431e0a=_0x41fb10['getSuggestion'](_0x3406e6);_0x431e0a['next']&&_0x431e0a['next'][_0x1b44('0x4e')]&&(_0x41fb10[_0x1b44('0x31')](_0x431e0a[_0x1b44('0x45')]),_0x1b2f72=!0x0);}}}return _0x1b2f72;}),_0x2e0e12['plugins'][_0x1b44('0x42')](_0x1b44('0x52'))&&_0x41fb10[_0x1b44('0x1b')]('resizeImage',(_0x3a465c,_0x3409fc)=>{const _0x56c9d9=_0x50d721[_0x1b44('0x51')](_0x2e0e12[_0x1b44('0x70')][_0x1b44('0x35')][_0x1b44('0x6f')]);_0x56c9d9[_0x1b44('0x59')](_0x1b44('0xd'))!=_0x3409fc[_0x1b44('0xd')]&&_0x2e0e12[_0x1b44('0x70')][_0x1b44('0x32')](()=>{_0x41fb10[_0x1b44('0x4b')](_0x56c9d9,{'commandName':_0x1b44('0x47'),'commandParams':[_0x3409fc]});});}),_0x2e0e12['plugins'][_0x1b44('0x42')]('ImageTextAlternativeEditing')&&_0x41fb10['enableCommand'](_0x1b44('0x18'),(_0x59dcc6,_0x3cd674)=>{const _0xb990b6=_0x50d721[_0x1b44('0x51')](_0x2e0e12[_0x1b44('0x70')][_0x1b44('0x35')][_0x1b44('0x6f')]);(_0xb990b6[_0x1b44('0x14')](_0x1b44('0x5e'))?_0xb990b6[_0x1b44('0x59')](_0x1b44('0x5e')):'')!=_0x3cd674[_0x1b44('0x29')]&&_0x2e0e12[_0x1b44('0x70')][_0x1b44('0x32')](()=>{_0x41fb10['markBlockFormat'](_0xb990b6,{'commandName':'imageTextAlternative','commandParams':[_0x3cd674]});});}),_0x41fb10[_0x1b44('0x20')][_0x1b44('0xe')](_0x4434c7=>{if(!!_0x4f895d[_0x1b44('0x3a')](({type:_0x5dc140,subType:_0x31ba1c})=>_0x4434c7['type']==_0x5dc140&&_0x4434c7[_0x1b44('0x40')]==_0x31ba1c))return _0x4434c7['previous']?{}:void 0x0;}),_0x41fb10['_descriptionFactory']['registerDescriptionCallback'](_0x4f3e23=>{if(_0x1b44('0x1c')==_0x4f3e23[_0x1b44('0x2a')]||_0x1b44('0x50')==_0x4f3e23[_0x1b44('0x2a')]){const _0x5ccabe=_0x4f3e23[_0x1b44('0x19')]();if(_0x5ccabe&&_0x5ccabe['is']('element','caption'))return{'type':'insertion'==_0x4f3e23['type']?_0x1b44('0x25'):_0x1b44('0x37'),'element':_0x5ccabe,'quantity':0x1};}}),_0x41fb10[_0x1b44('0x20')]['registerDescriptionCallback'](_0x254ce0=>_0x1b44('0x27')==_0x254ce0['type']&&_0x1b44('0x73')==_0x254ce0[_0x1b44('0x40')]?{'type':_0x1b44('0x71'),'content':'Inline\x20image\x20to\x20block\x20image'}:_0x1b44('0x27')==_0x254ce0[_0x1b44('0x2a')]&&_0x1b44('0x48')==_0x254ce0[_0x1b44('0x40')]?{'type':_0x1b44('0x71'),'content':_0x1b44('0x33')}:void 0x0),_0x41fb10[_0x1b44('0x20')][_0x1b44('0xe')](_0x51b83=>{const {data:_0xdeae2b}=_0x51b83;if(_0xdeae2b){if(_0x1b44('0x2b')==_0xdeae2b[_0x1b44('0x5c')]){const _0x3afe0e=_0xdeae2b[_0x1b44('0x6a')][0x0][_0x1b44('0x2f')];return _0x1bf0f6('side'===_0x3afe0e?_0x763ae1(_0x15e7c5,_0x1b44('0x5b')):_0x15ef06[_0x3afe0e]||_0x3afe0e);}if(_0x1b44('0x18')==_0xdeae2b[_0x1b44('0x5c')]){const _0x5e6086=_0xdeae2b['commandParams'][0x0][_0x1b44('0x29')];return _0x5e6086?{'type':'format','content':_0x763ae1(_0x15e7c5,_0x1b44('0x76'),'\x22'+_0x5e6086+'\x22')}:{'type':_0x1b44('0x71'),'content':_0x763ae1(_0x15e7c5,'*Remove\x20image\x20text\x20alternative*')};}if('resizeImage'==_0xdeae2b[_0x1b44('0x5c')]){const _0x33f129=_0xdeae2b['commandParams'][0x0]['width'];return _0x33f129?{'type':_0x1b44('0x71'),'content':_0x763ae1(_0x15e7c5,'*Set\x20image\x20width:*\x20%0',_0x33f129)}:{'type':'format','content':_0x763ae1(_0x15e7c5,_0x1b44('0x63'))};}}function _0x1bf0f6(_0x13b893){return{'type':_0x1b44('0x71'),'content':_0x763ae1(_0x15e7c5,_0x1b44('0x74'),_0x13b893)};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3d2c=['get','registerDescriptionCallback','subType','src','selection','registerCustomCallback','format','model','handleSuggestionDescription','has','formatBlock','plugins','TrackChangesEditing','author','getAttribute','accept','enableCommand','change','data','editor','locale','ImageEditing','_suggestionFactory','source','discard','handleReplaceImageCommand','markBlockFormat','Users','getSuggestions','commandParams','document','replaceImageSource','*Format:*\x20replace\x20image\x20URL','getContainedElement'];(function(_0x4e160b,_0x3d2cd1){const _0x39ca8e=function(_0x2e695c){while(--_0x2e695c){_0x4e160b['push'](_0x4e160b['shift']());}};_0x39ca8e(++_0x3d2cd1);}(_0x3d2c,0x1ac));const _0x39ca=function(_0x4e160b,_0x3d2cd1){_0x4e160b=_0x4e160b-0x0;let _0x39ca8e=_0x3d2c[_0x4e160b];return _0x39ca8e;};import{Plugin as _0x601513}from'ckeditor5/src/core';import{getTranslation as _0x3dcadd}from'../utils/common-translations';export default class Y extends _0x601513{['afterInit'](){if(!this[_0x39ca('0x21')][_0x39ca('0x19')][_0x39ca('0x17')](_0x39ca('0x1')))return;const _0x13d0f7=this['editor'][_0x39ca('0x19')]['get'](_0x39ca('0x1a'));_0x13d0f7[_0x39ca('0x1e')]('replaceImageSource',(_0x38dd6c,_0x34be69)=>this[_0x39ca('0x5')](_0x38dd6c,_0x34be69)),_0x13d0f7[_0x39ca('0x2')][_0x39ca('0x13')](_0x39ca('0x18'),_0x39ca('0xb'),_0x39ca('0x1d'),_0x13d0f7[_0x39ca('0x2')]['getSuggestionCallback'](_0x39ca('0x18'),null,_0x39ca('0x4'))),_0x13d0f7[_0x39ca('0x2')]['registerCustomCallback'](_0x39ca('0x18'),_0x39ca('0xb'),_0x39ca('0x4'),_0x13d0f7[_0x39ca('0x2')]['getSuggestionCallback'](_0x39ca('0x18'),null,'accept')),_0x13d0f7['_descriptionFactory'][_0x39ca('0xf')](_0x1b6cfd=>this[_0x39ca('0x16')](_0x1b6cfd));}[_0x39ca('0x5')](_0x470348,_0xef4eca){const _0x23e3d4=this[_0x39ca('0x21')][_0x39ca('0x19')][_0x39ca('0xe')]('TrackChangesEditing'),_0x3b4fec=this['editor'][_0x39ca('0x15')][_0x39ca('0xa')][_0x39ca('0x12')]['getSelectedElement']();this[_0x39ca('0x21')][_0x39ca('0x15')][_0x39ca('0x1f')](()=>{let _0x3af6b8=_0x3b4fec[_0x39ca('0x1c')](_0x39ca('0x11'));const _0x464b5c=this[_0x39ca('0x21')][_0x39ca('0x19')][_0x39ca('0xe')](_0x39ca('0x7'))['me'];for(const _0x7dbeaa of _0x23e3d4[_0x39ca('0x8')]({'skipNotAttached':!0x0})){const _0xb5bb78=_0x7dbeaa[_0x39ca('0xd')]();if(_0x39ca('0xb')===_0x7dbeaa[_0x39ca('0x10')]&&_0xb5bb78===_0x3b4fec){_0x7dbeaa[_0x39ca('0x1b')]!==_0x464b5c&&_0x7dbeaa[_0x39ca('0x4')](),_0x3af6b8=_0x7dbeaa[_0x39ca('0x20')][_0x39ca('0x9')][0x0][_0x39ca('0x3')];break;}}_0x470348(_0xef4eca),_0x23e3d4[_0x39ca('0x6')](_0x3b4fec,{'commandName':_0x39ca('0xb'),'commandParams':[{'source':_0x3af6b8}]},[],_0x39ca('0xb'));});}[_0x39ca('0x16')](_0x3853b2){const {data:_0x555c1e}=_0x3853b2;if(_0x555c1e&&_0x39ca('0xb')===_0x555c1e['commandName']){const _0x3298fa=_0x39ca('0xc');return{'type':_0x39ca('0x14'),'content':_0x3dcadd(this[_0x39ca('0x21')][_0x39ca('0x0')],_0x3298fa)};}}}
23
+ const _0x2076=['model','selection','_suggestionFactory','discard','replaceImageSource','src','_descriptionFactory','data','plugins','editor','getSuggestionCallback','registerDescriptionCallback','get','getContainedElement','source','commandName','formatBlock','author','registerCustomCallback','accept','Users','commandParams','handleReplaceImageCommand','change','locale','handleSuggestionDescription','has','*Format:*\x20replace\x20image\x20URL','afterInit','TrackChangesEditing','getAttribute'];(function(_0x41217f,_0x2076dc){const _0x41fbf3=function(_0x190f1e){while(--_0x190f1e){_0x41217f['push'](_0x41217f['shift']());}};_0x41fbf3(++_0x2076dc);}(_0x2076,0x175));const _0x41fb=function(_0x41217f,_0x2076dc){_0x41217f=_0x41217f-0x0;let _0x41fbf3=_0x2076[_0x41217f];return _0x41fbf3;};import{Plugin as _0x370a54}from'ckeditor5/src/core';import{getTranslation as _0x473386}from'../utils/common-translations';export default class Y extends _0x370a54{[_0x41fb('0x1b')](){if(!this[_0x41fb('0x8')][_0x41fb('0x7')][_0x41fb('0x19')]('ImageEditing'))return;const _0x1a866f=this[_0x41fb('0x8')]['plugins'][_0x41fb('0xb')](_0x41fb('0x1c'));_0x1a866f['enableCommand'](_0x41fb('0x3'),(_0x3ff500,_0x343722)=>this[_0x41fb('0x15')](_0x3ff500,_0x343722)),_0x1a866f[_0x41fb('0x1')]['registerCustomCallback'](_0x41fb('0xf'),_0x41fb('0x3'),'accept',_0x1a866f[_0x41fb('0x1')][_0x41fb('0x9')](_0x41fb('0xf'),null,_0x41fb('0x2'))),_0x1a866f[_0x41fb('0x1')][_0x41fb('0x11')](_0x41fb('0xf'),_0x41fb('0x3'),'discard',_0x1a866f[_0x41fb('0x1')][_0x41fb('0x9')](_0x41fb('0xf'),null,_0x41fb('0x12'))),_0x1a866f[_0x41fb('0x5')][_0x41fb('0xa')](_0x5f6e38=>this[_0x41fb('0x18')](_0x5f6e38));}['handleReplaceImageCommand'](_0x81fd0a,_0x1781c0){const _0xf35c78=this[_0x41fb('0x8')][_0x41fb('0x7')][_0x41fb('0xb')](_0x41fb('0x1c')),_0x3120d5=this['editor']['model']['document'][_0x41fb('0x0')]['getSelectedElement']();this['editor'][_0x41fb('0x1e')][_0x41fb('0x16')](()=>{let _0x4d37ff=_0x3120d5[_0x41fb('0x1d')](_0x41fb('0x4'));const _0xac67fa=this[_0x41fb('0x8')][_0x41fb('0x7')][_0x41fb('0xb')](_0x41fb('0x13'))['me'];for(const _0x2e2cdc of _0xf35c78['getSuggestions']({'skipNotAttached':!0x0})){const _0x144f20=_0x2e2cdc[_0x41fb('0xc')]();if('replaceImageSource'===_0x2e2cdc['subType']&&_0x144f20===_0x3120d5){_0x2e2cdc[_0x41fb('0x10')]!==_0xac67fa&&_0x2e2cdc[_0x41fb('0x2')](),_0x4d37ff=_0x2e2cdc[_0x41fb('0x6')][_0x41fb('0x14')][0x0][_0x41fb('0xd')];break;}}_0x81fd0a(_0x1781c0),_0xf35c78['markBlockFormat'](_0x3120d5,{'commandName':_0x41fb('0x3'),'commandParams':[{'source':_0x4d37ff}]},[],_0x41fb('0x3'));});}[_0x41fb('0x18')](_0x3ee6f1){const {data:_0x2dcde6}=_0x3ee6f1;if(_0x2dcde6&&_0x41fb('0x3')===_0x2dcde6[_0x41fb('0xe')]){const _0x5da3a1=_0x41fb('0x1a');return{'type':'format','content':_0x473386(this['editor'][_0x41fb('0x17')],_0x5da3a1)};}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2f1a=['bind','editor','commands','plugins','execute','importWord','Users','_trackChangesExecuted','_setSuggestionData','listenTo','dataInsert','collaboration_features','_handleImportedData','trackChanges','afterInit','value','TrackChangesEditing','track_changes','get','forEach','_trackChangesValueDuringImport'];(function(_0x17bb51,_0x2f1a6b){const _0x26d739=function(_0xe40f3f){while(--_0xe40f3f){_0x17bb51['push'](_0x17bb51['shift']());}};_0x26d739(++_0x2f1a6b);}(_0x2f1a,0xc7));const _0x26d7=function(_0x17bb51,_0x2f1a6b){_0x17bb51=_0x17bb51-0x0;let _0x26d739=_0x2f1a[_0x17bb51];return _0x26d739;};import{Plugin as _0x26d8e6}from'ckeditor5/src/core';export default class Z extends _0x26d8e6{constructor(_0x3fbe31){super(_0x3fbe31),this[_0x26d7('0xa')]=!0x1,this[_0x26d7('0x12')]=!0x1;}[_0x26d7('0x4')](){const _0x1300ca=this[_0x26d7('0xc')],_0x298207=_0x1300ca['commands']['get'](_0x26d7('0x10')),_0x1dc70c=_0x1300ca[_0x26d7('0xd')]['get'](_0x26d7('0x3'));_0x298207&&(_0x298207['on'](_0x26d7('0xf'),(_0x565839,[,_0x482150])=>{this[_0x26d7('0xa')]=_0x1dc70c[_0x26d7('0x5')],_0x482150[_0x26d7('0x1')][_0x26d7('0x7')]=!this[_0x26d7('0xa')];},{'priority':'high'}),this[_0x26d7('0x14')](_0x298207,_0x26d7('0x0'),this[_0x26d7('0x2')][_0x26d7('0xb')](this)),this['listenTo'](_0x298207,_0x26d7('0x0'),()=>{this[_0x26d7('0x12')]&&(_0x1dc70c['execute'](),this['_trackChangesExecuted']=!0x1);},{'priority':'lowest'}),_0x1300ca[_0x26d7('0xe')]['get'](_0x26d7('0x6'))['enableCommand'](_0x26d7('0x10')));}[_0x26d7('0x2')](_0x4ac5ac,_0x160555){const {suggestions:_0xc8330}=_0x160555,_0x2419fd=this[_0x26d7('0xc')]['commands']['get'](_0x26d7('0x3')),_0x331450=_0x2419fd[_0x26d7('0x5')];this[_0x26d7('0xa')]!==_0x331450&&(_0x2419fd[_0x26d7('0xf')](),this[_0x26d7('0x12')]=!0x0),_0xc8330&&_0xc8330[_0x26d7('0x9')](({id:_0xbc73ae,type:_0x3d9912,author:_0x2de272,created_at:_0x5efcbb})=>{const _0x20ed50={'id':_0xbc73ae,'type':_0x3d9912,'authorId':this['editor'][_0x26d7('0xe')][_0x26d7('0x8')](_0x26d7('0x11'))['me']['id'],'createdAt':new Date(),'data':null,'hasComments':!0x1,'attributes':{'@external':{'authorName':_0x2de272,'createdAt':_0x5efcbb?new Date(_0x5efcbb):new Date(),'source':_0x26d7('0x10')}}};this[_0x26d7('0xc')]['plugins']['get'](_0x26d7('0x6'))[_0x26d7('0x13')](_0x20ed50);});}}
23
+ const _0x55d0=['commands','trackChanges','_trackChangesValueDuringImport','Users','get','track_changes','_trackChangesExecuted','lowest','_handleImportedData','execute','editor','forEach','importWord','TrackChangesEditing','high','collaboration_features','plugins','dataInsert','_setSuggestionData','value','enableCommand','listenTo'];(function(_0x1a4eb2,_0x55d003){const _0xe566d2=function(_0x5856c4){while(--_0x5856c4){_0x1a4eb2['push'](_0x1a4eb2['shift']());}};_0xe566d2(++_0x55d003);}(_0x55d0,0xd2));const _0xe566=function(_0x1a4eb2,_0x55d003){_0x1a4eb2=_0x1a4eb2-0x0;let _0xe566d2=_0x55d0[_0x1a4eb2];return _0xe566d2;};import{Plugin as _0x1487ab}from'ckeditor5/src/core';export default class Z extends _0x1487ab{constructor(_0x5d2708){super(_0x5d2708),this[_0xe566('0xc')]=!0x1,this['_trackChangesExecuted']=!0x1;}['afterInit'](){const _0x7d1406=this['editor'],_0x504102=_0x7d1406[_0xe566('0xa')]['get']('importWord'),_0x529ca7=_0x7d1406[_0xe566('0xa')][_0xe566('0xe')](_0xe566('0xb'));_0x504102&&(_0x504102['on'](_0xe566('0x13'),(_0x4a0ec1,[,_0x3943cb])=>{this[_0xe566('0xc')]=_0x529ca7[_0xe566('0x7')],_0x3943cb[_0xe566('0x3')][_0xe566('0xf')]=!this['_trackChangesValueDuringImport'];},{'priority':_0xe566('0x2')}),this[_0xe566('0x9')](_0x504102,_0xe566('0x5'),this[_0xe566('0x12')]['bind'](this)),this['listenTo'](_0x504102,_0xe566('0x5'),()=>{this[_0xe566('0x10')]&&(_0x529ca7[_0xe566('0x13')](),this[_0xe566('0x10')]=!0x1);},{'priority':_0xe566('0x11')}),_0x7d1406[_0xe566('0x4')][_0xe566('0xe')](_0xe566('0x1'))[_0xe566('0x8')](_0xe566('0x0')));}[_0xe566('0x12')](_0x51e09a,_0x55a7c3){const {suggestions:_0x418a13}=_0x55a7c3,_0x415176=this[_0xe566('0x14')]['commands']['get'](_0xe566('0xb')),_0x20f39a=_0x415176[_0xe566('0x7')];this[_0xe566('0xc')]!==_0x20f39a&&(_0x415176[_0xe566('0x13')](),this[_0xe566('0x10')]=!0x0),_0x418a13&&_0x418a13[_0xe566('0x15')](({id:_0x4812b0,type:_0x3fb673,author:_0x25ed38,created_at:_0x54b091})=>{const _0x4a973d={'id':_0x4812b0,'type':_0x3fb673,'authorId':this[_0xe566('0x14')][_0xe566('0x4')][_0xe566('0xe')](_0xe566('0xd'))['me']['id'],'createdAt':new Date(),'data':null,'hasComments':!0x1,'attributes':{'@external':{'authorName':_0x25ed38,'createdAt':_0x54b091?new Date(_0x54b091):new Date(),'source':_0xe566('0x0')}}};this[_0xe566('0x14')]['plugins'][_0xe566('0xe')](_0xe566('0x1'))[_0xe566('0x6')](_0x4a973d);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x54f3=['blockIndent','change','locale','*Indent:*\x20%0','commandName','model','get','getItems','markBlockFormat','afterInit','selection','IndentBlock','getSelectedBlocks','_descriptionFactory','*Outdent:*\x20%0','plugins','indentBlock','schema','outdentBlock','editor','checkAttribute','IndentEditing','enableCommand','has','indent','TrackChangesEditing','format'];(function(_0xad045d,_0x54f341){const _0x115d32=function(_0xe9d1e){while(--_0xe9d1e){_0xad045d['push'](_0xad045d['shift']());}};_0x115d32(++_0x54f341);}(_0x54f3,0x91));const _0x115d=function(_0xad045d,_0x54f341){_0xad045d=_0xad045d-0x0;let _0x115d32=_0x54f3[_0xad045d];return _0x115d32;};import{Plugin as _0x14f6f3}from'ckeditor5/src/core';import{getTranslation as _0x30bdd4}from'../utils/common-translations';export default class tt extends _0x14f6f3{[_0x115d('0x1a')](){const _0x18f0df=this[_0x115d('0x9')],_0x53c980=_0x18f0df['plugins'][_0x115d('0x17')](_0x115d('0xf'));_0x18f0df[_0x115d('0x5')][_0x115d('0xd')](_0x115d('0xb'))&&(_0x53c980[_0x115d('0xc')](_0x115d('0xe')),_0x53c980['enableCommand']('outdent'));const _0xf83982=_0x18f0df[_0x115d('0x13')];if(_0x18f0df[_0x115d('0x5')][_0x115d('0xd')](_0x115d('0x1'))){for(const _0x1dd871 of[_0x115d('0x6'),_0x115d('0x8')])_0x53c980[_0x115d('0xc')](_0x1dd871,()=>{const _0x25e764=Array['from'](this[_0x115d('0x9')][_0x115d('0x16')]['document'][_0x115d('0x0')][_0x115d('0x2')]())['filter'](_0x53cf01=>this[_0x115d('0x9')][_0x115d('0x16')][_0x115d('0x7')][_0x115d('0xa')](_0x53cf01,_0x115d('0x11')));_0x18f0df['model'][_0x115d('0x12')](()=>{for(const _0x5b1af8 of _0x25e764)_0x53c980[_0x115d('0x19')](_0x5b1af8,{'commandName':_0x1dd871,'commandParams':[{'value':''}],'formatGroupId':_0x115d('0x6')});});});_0x53c980[_0x115d('0x3')]['registerDescriptionCallback'](_0x252690=>{const {data:_0x4a7480}=_0x252690;if(!_0x4a7480)return;if(_0x115d('0x6')!=_0x4a7480[_0x115d('0x15')]&&_0x115d('0x8')!=_0x4a7480[_0x115d('0x15')])return;const _0x448bd7=_0x252690[_0x115d('0x18')]()[0x0],_0x1f6c4d=_0x53c980[_0x115d('0x3')]['getItemLabel'](_0x448bd7);return _0x115d('0x6')==_0x4a7480[_0x115d('0x15')]?{'type':_0x115d('0x10'),'content':_0x30bdd4(_0xf83982,_0x115d('0x14'),_0x1f6c4d)}:_0x115d('0x8')==_0x4a7480['commandName']?{'type':_0x115d('0x10'),'content':_0x30bdd4(_0xf83982,_0x115d('0x4'),_0x1f6c4d)}:void 0x0;});}}}
23
+ const _0xc3d5=['schema','has','outdent','format','afterInit','getItems','markBlockFormat','getItemLabel','blockIndent','plugins','outdentBlock','editor','IndentBlock','_descriptionFactory','checkAttribute','*Indent:*\x20%0','commandName','indentBlock','indent','document','get','enableCommand','model','from','filter','locale','IndentEditing','registerDescriptionCallback'];(function(_0x498b55,_0xc3d5d6){const _0x320732=function(_0x800573){while(--_0x800573){_0x498b55['push'](_0x498b55['shift']());}};_0x320732(++_0xc3d5d6);}(_0xc3d5,0x77));const _0x3207=function(_0x498b55,_0xc3d5d6){_0x498b55=_0x498b55-0x0;let _0x320732=_0xc3d5[_0x498b55];return _0x320732;};import{Plugin as _0x36604c}from'ckeditor5/src/core';import{getTranslation as _0x341afc}from'../utils/common-translations';export default class tt extends _0x36604c{[_0x3207('0x19')](){const _0x1248a9=this['editor'],_0x3676cc=_0x1248a9[_0x3207('0x2')][_0x3207('0xd')]('TrackChangesEditing');_0x1248a9['plugins'][_0x3207('0x16')](_0x3207('0x13'))&&(_0x3676cc[_0x3207('0xe')](_0x3207('0xb')),_0x3676cc[_0x3207('0xe')](_0x3207('0x17')));const _0x628e0f=_0x1248a9[_0x3207('0x12')];if(_0x1248a9[_0x3207('0x2')][_0x3207('0x16')](_0x3207('0x5'))){for(const _0x48b04e of['indentBlock',_0x3207('0x3')])_0x3676cc[_0x3207('0xe')](_0x48b04e,()=>{const _0xcc4520=Array[_0x3207('0x10')](this[_0x3207('0x4')][_0x3207('0xf')][_0x3207('0xc')]['selection']['getSelectedBlocks']())[_0x3207('0x11')](_0x33ff46=>this[_0x3207('0x4')]['model'][_0x3207('0x15')][_0x3207('0x7')](_0x33ff46,_0x3207('0x1')));_0x1248a9[_0x3207('0xf')]['change'](()=>{for(const _0x29ae46 of _0xcc4520)_0x3676cc[_0x3207('0x1b')](_0x29ae46,{'commandName':_0x48b04e,'commandParams':[{'value':''}],'formatGroupId':_0x3207('0xa')});});});_0x3676cc[_0x3207('0x6')][_0x3207('0x14')](_0xccfb39=>{const {data:_0x15496d}=_0xccfb39;if(!_0x15496d)return;if(_0x3207('0xa')!=_0x15496d['commandName']&&_0x3207('0x3')!=_0x15496d[_0x3207('0x9')])return;const _0x47f5de=_0xccfb39[_0x3207('0x1a')]()[0x0],_0x262313=_0x3676cc[_0x3207('0x6')][_0x3207('0x0')](_0x47f5de);return _0x3207('0xa')==_0x15496d['commandName']?{'type':_0x3207('0x18'),'content':_0x341afc(_0x628e0f,_0x3207('0x8'),_0x262313)}:_0x3207('0x3')==_0x15496d['commandName']?{'type':'format','content':_0x341afc(_0x628e0f,'*Outdent:*\x20%0',_0x262313)}:void 0x0;});}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x3b4b=['requires','input','plugins','enableCommand','get','init'];(function(_0x104047,_0x3b4bb6){var _0x45acd4=function(_0x28b93d){while(--_0x28b93d){_0x104047['push'](_0x104047['shift']());}};_0x45acd4(++_0x3b4bb6);}(_0x3b4b,0xa8));var _0x45ac=function(_0x104047,_0x3b4bb6){_0x104047=_0x104047-0x0;var _0x45acd4=_0x3b4b[_0x104047];return _0x45acd4;};import{Plugin as _0x38c796}from'ckeditor5/src/core';import{Input as _0x59c079}from'ckeditor5/src/typing';export default class it extends _0x38c796{static get[_0x45ac('0x0')](){return[_0x59c079];}[_0x45ac('0x5')](){this['editor'][_0x45ac('0x2')][_0x45ac('0x4')]('TrackChangesEditing')[_0x45ac('0x3')](_0x45ac('0x1'));}}
23
+ var _0x5f19=['get','init','input','plugins','editor','enableCommand'];(function(_0x26644e,_0x5f199d){var _0x474d6d=function(_0x1035fa){while(--_0x1035fa){_0x26644e['push'](_0x26644e['shift']());}};_0x474d6d(++_0x5f199d);}(_0x5f19,0x105));var _0x474d=function(_0x26644e,_0x5f199d){_0x26644e=_0x26644e-0x0;var _0x474d6d=_0x5f19[_0x26644e];return _0x474d6d;};import{Plugin as _0x4766af}from'ckeditor5/src/core';import{Input as _0x170579}from'ckeditor5/src/typing';export default class it extends _0x4766af{static get['requires'](){return[_0x170579];}[_0x474d('0x4')](){this[_0x474d('0x1')][_0x474d('0x0')][_0x474d('0x3')]('TrackChangesEditing')[_0x474d('0x2')](_0x474d('0x5'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x11a3=['commandParams','plugins','locale','getFirstPosition','model','link','format','commandName','selection','TrackChangesEditing','*Set\x20link:*\x20%0','linkHref','document','from','_descriptionFactory','getFirstRange','editor','get','unlink','hasAttribute','afterInit','change','enableCommand','getRanges','getAttribute','LinkEditing','registerDescriptionCallback','markInlineFormat','isCollapsed'];(function(_0x50c4cd,_0x11a3af){const _0x59772d=function(_0x115b38){while(--_0x115b38){_0x50c4cd['push'](_0x50c4cd['shift']());}};_0x59772d(++_0x11a3af);}(_0x11a3,0x1b7));const _0x5977=function(_0x50c4cd,_0x11a3af){_0x50c4cd=_0x50c4cd-0x0;let _0x59772d=_0x11a3[_0x50c4cd];return _0x59772d;};import{Plugin as _0x2f12ea}from'ckeditor5/src/core';import{findAttributeRange as _0x3516e2}from'ckeditor5/src/typing';import{getRangesWithAttribute as _0xf41fdd}from'./utils';import{getTranslation as _0x478e52}from'../utils/common-translations';export default class et extends _0x2f12ea{[_0x5977('0x10')](){const _0x5e1002=this['editor'];if(!_0x5e1002[_0x5977('0x1a')]['has'](_0x5977('0x15')))return;const _0xeeb27c=_0x5e1002['plugins'][_0x5977('0xd')](_0x5977('0x5'));_0xeeb27c[_0x5977('0x12')](_0x5977('0x1'),(_0x90d382,_0x4ae234)=>{const _0x29e054=_0x5e1002['model'][_0x5977('0x8')]['selection'];let _0x1e1c18=[];if(_0x29e054[_0x5977('0x18')]){if(!_0x29e054[_0x5977('0xf')]('linkHref'))return void _0x90d382(_0x4ae234);{const _0xf8bc17=_0x3516e2(_0x29e054[_0x5977('0x1c')](),_0x5977('0x7'),_0x29e054[_0x5977('0x14')](_0x5977('0x7')),_0x5e1002[_0x5977('0x0')]);_0x1e1c18=[_0xf8bc17];}}else _0x1e1c18=Array[_0x5977('0x9')](_0x29e054[_0x5977('0x13')]());_0x5e1002['model']['change'](()=>{for(const _0xeec830 of _0x1e1c18)_0xeeb27c[_0x5977('0x17')](_0xeec830,{'commandName':_0x5977('0x1'),'commandParams':[_0x4ae234]});});}),_0xeeb27c['enableCommand'](_0x5977('0xe'),()=>{const _0x5ccbc2=this[_0x5977('0xc')][_0x5977('0x0')],_0x49ed06=_0x5ccbc2[_0x5977('0x8')][_0x5977('0x4')];_0x5ccbc2[_0x5977('0x11')](()=>{let _0x10ead2=[];if(_0x49ed06[_0x5977('0x18')])_0x10ead2=[_0x3516e2(_0x49ed06[_0x5977('0x1c')](),_0x5977('0x7'),_0x49ed06[_0x5977('0x14')](_0x5977('0x7')),_0x5e1002['model'])];else _0x10ead2=_0xf41fdd(_0x5977('0x7'),_0x49ed06[_0x5977('0xb')](),_0x5e1002['model']);for(const _0x57efb9 of _0x10ead2)_0xeeb27c[_0x5977('0x17')](_0x57efb9,{'commandName':'unlink','commandParams':[]});});}),_0xeeb27c[_0x5977('0xa')][_0x5977('0x16')](_0x5ec5fc=>{const {data:_0x3c3736}=_0x5ec5fc,_0x192055=_0x5e1002[_0x5977('0x1b')];if(_0x3c3736){if(_0x5977('0x1')==_0x3c3736['commandName']){const _0x8d490e=_0x3c3736[_0x5977('0x19')][0x0];return{'type':_0x5977('0x2'),'content':_0x478e52(_0x192055,_0x5977('0x6'),'\x22'+_0x8d490e+'\x22')};}return _0x5977('0xe')==_0x3c3736[_0x5977('0x3')]?{'type':_0x5977('0x2'),'content':_0x478e52(_0x192055,'*Remove\x20link*')}:void 0x0;}});}}
23
+ const _0x9d9d=['getFirstPosition','registerDescriptionCallback','unlink','model','isCollapsed','getRanges','commandName','commandParams','_descriptionFactory','locale','markInlineFormat','selection','*Set\x20link:*\x20%0','link','LinkEditing','format','linkHref','plugins','afterInit','getAttribute','document','get','*Remove\x20link*','enableCommand','getFirstRange','change','has','TrackChangesEditing'];(function(_0x352fb0,_0x9d9d16){const _0xd4d0d=function(_0x216a29){while(--_0x216a29){_0x352fb0['push'](_0x352fb0['shift']());}};_0xd4d0d(++_0x9d9d16);}(_0x9d9d,0x143));const _0xd4d0=function(_0x352fb0,_0x9d9d16){_0x352fb0=_0x352fb0-0x0;let _0xd4d0d=_0x9d9d[_0x352fb0];return _0xd4d0d;};import{Plugin as _0x1e2748}from'ckeditor5/src/core';import{findAttributeRange as _0x14f307}from'ckeditor5/src/typing';import{getRangesWithAttribute as _0x3d7bd1}from'./utils';import{getTranslation as _0x1818cf}from'../utils/common-translations';export default class et extends _0x1e2748{[_0xd4d0('0x3')](){const _0x25f05a=this['editor'];if(!_0x25f05a[_0xd4d0('0x2')][_0xd4d0('0xb')](_0xd4d0('0x1b')))return;const _0x402d83=_0x25f05a[_0xd4d0('0x2')][_0xd4d0('0x6')](_0xd4d0('0xc'));_0x402d83[_0xd4d0('0x8')](_0xd4d0('0x1a'),(_0x3b03bb,_0x26d176)=>{const _0x554ead=_0x25f05a[_0xd4d0('0x10')][_0xd4d0('0x5')][_0xd4d0('0x18')];let _0x2dec30=[];if(_0x554ead[_0xd4d0('0x11')]){if(!_0x554ead['hasAttribute'](_0xd4d0('0x1')))return void _0x3b03bb(_0x26d176);{const _0x59b66a=_0x14f307(_0x554ead['getFirstPosition'](),_0xd4d0('0x1'),_0x554ead[_0xd4d0('0x4')](_0xd4d0('0x1')),_0x25f05a[_0xd4d0('0x10')]);_0x2dec30=[_0x59b66a];}}else _0x2dec30=Array['from'](_0x554ead[_0xd4d0('0x12')]());_0x25f05a[_0xd4d0('0x10')]['change'](()=>{for(const _0x1a202d of _0x2dec30)_0x402d83[_0xd4d0('0x17')](_0x1a202d,{'commandName':'link','commandParams':[_0x26d176]});});}),_0x402d83[_0xd4d0('0x8')]('unlink',()=>{const _0x20f1c4=this['editor']['model'],_0x52980f=_0x20f1c4[_0xd4d0('0x5')][_0xd4d0('0x18')];_0x20f1c4[_0xd4d0('0xa')](()=>{let _0x1b29a=[];if(_0x52980f[_0xd4d0('0x11')])_0x1b29a=[_0x14f307(_0x52980f[_0xd4d0('0xd')](),_0xd4d0('0x1'),_0x52980f[_0xd4d0('0x4')](_0xd4d0('0x1')),_0x25f05a['model'])];else _0x1b29a=_0x3d7bd1(_0xd4d0('0x1'),_0x52980f[_0xd4d0('0x9')](),_0x25f05a[_0xd4d0('0x10')]);for(const _0x58b912 of _0x1b29a)_0x402d83[_0xd4d0('0x17')](_0x58b912,{'commandName':_0xd4d0('0xf'),'commandParams':[]});});}),_0x402d83[_0xd4d0('0x15')][_0xd4d0('0xe')](_0x476d32=>{const {data:_0x324fad}=_0x476d32,_0x37b8aa=_0x25f05a[_0xd4d0('0x16')];if(_0x324fad){if(_0xd4d0('0x1a')==_0x324fad[_0xd4d0('0x13')]){const _0x2e7515=_0x324fad[_0xd4d0('0x14')][0x0];return{'type':_0xd4d0('0x0'),'content':_0x1818cf(_0x37b8aa,_0xd4d0('0x19'),'\x22'+_0x2e7515+'\x22')};}return _0xd4d0('0xf')==_0x324fad[_0xd4d0('0x13')]?{'type':'format','content':_0x1818cf(_0x37b8aa,_0xd4d0('0x7'))}:void 0x0;}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xbff9=['slice','todoListChecked','change','listItem','selection','getAttribute','bulletedList','from','length','*Uncheck\x20item*','checkTodoList','forceValue','value','ELEMENT_TODO_LIST','has','editor','locale','filter','listType','_selectedElements','end','numberedList','createRange','registerElementLabel','TrackChangesEditing','commands','listIndent','todoList','nextSibling','get','execute','numbered','bulleted','getSelectedBlocks','createPositionAt','format','ListEditing','ELEMENT_NUMBERED_LIST','parent','previousSibling','element','plugins','afterInit','blockName','model','ELEMENT_LIST_ITEM','TodoListEditing','checkChild','commandName','replace','indentList','registerDescriptionCallback','outdentList','markBlockFormat','_descriptionFactory','enableCommand','*Outdent:*\x20%0','add','*Check\x20item*','findIndex','isObject','name','document','List'];(function(_0x566faf,_0xbff947){const _0x442c68=function(_0x399d7f){while(--_0x399d7f){_0x566faf['push'](_0x566faf['shift']());}};_0x442c68(++_0xbff947);}(_0xbff9,0x1cf));const _0x442c=function(_0x566faf,_0xbff947){_0x566faf=_0x566faf-0x0;let _0x442c68=_0xbff9[_0x566faf];return _0x442c68;};import{Plugin as _0x361cd8}from'ckeditor5/src/core';import{getTranslation as _0x13f953}from'../utils/common-translations';export default class st extends _0x361cd8{[_0x442c('0x1b')](){const _0x31f6d6=this[_0x442c('0x0')],_0x19cc95=_0x31f6d6[_0x442c('0x1')];if(!_0x31f6d6['plugins'][_0x442c('0x3f')](_0x442c('0x15')))return;const _0x1f8beb=_0x31f6d6[_0x442c('0x1a')][_0x442c('0xe')](_0x442c('0x9')),_0x276dfa=_0x31f6d6[_0x442c('0x1a')][_0x442c('0x3f')](_0x442c('0x1f'));function _0x15b4b2(_0x9fac6c){return()=>{const _0x4e3b85=_0x31f6d6[_0x442c('0x1d')][_0x442c('0x2f')]['selection'],_0x2350b4=_0x31f6d6['commands'][_0x442c('0xe')](_0x9fac6c);if(_0x2350b4[_0x442c('0x3d')])return void _0x31f6d6[_0x442c('0xf')]('paragraph',{});const _0x54e658=_0x9fac6c[_0x442c('0x31')](0x0,-0x4),_0x8fe51c=function(_0x2d01e5,_0x33f950,_0x1ca2ac){let _0x504ee8=Array[_0x442c('0x38')](_0x2d01e5)[_0x442c('0x2')](_0x2a6d3a=>function(_0x1dd41e,_0x13e41a){return _0x13e41a[_0x442c('0x20')](_0x1dd41e[_0x442c('0x17')],_0x442c('0x34'))&&!_0x13e41a[_0x442c('0x2d')](_0x1dd41e);}(_0x2a6d3a,_0x1ca2ac));_0x504ee8=_0x504ee8[_0x442c('0x2')](_0x27800f=>!_0x27800f['is']('element',_0x442c('0x34'))||_0x27800f[_0x442c('0x36')](_0x442c('0x3'))!=_0x33f950);const _0x2cf736=new Set();for(const _0x10a092 of _0x504ee8)_0x10a092['is'](_0x442c('0x19'),_0x442c('0x34'))?_0x2cf736[_0x442c('0x2a')](ne(_0x10a092)):_0x2cf736[_0x442c('0x2a')](_0x10a092);return Array[_0x442c('0x38')](_0x2cf736);}(_0x4e3b85[_0x442c('0x12')](),_0x54e658,_0x31f6d6[_0x442c('0x1d')]['schema']);_0x31f6d6[_0x442c('0x1d')]['change'](()=>{for(const _0x24e85c of _0x8fe51c)_0x1f8beb['markBlockFormat'](_0x24e85c,{'commandName':_0x9fac6c,'commandParams':[{'forceValue':!_0x2350b4[_0x442c('0x3d')]}],'formatGroupId':_0x442c('0x1c')},oe(_0x24e85c));});};}function _0x60917c(_0x50b8da){return()=>{const _0x335cf3=function(_0x26e027){let _0x167df2=Array[_0x442c('0x38')](_0x26e027);const _0x12ff6b=_0x167df2[_0x442c('0x2c')](_0x125895=>_0x442c('0x34')!=_0x125895[_0x442c('0x2e')]);return _0x12ff6b>-0x1&&(_0x167df2=_0x167df2[_0x442c('0x31')](0x0,_0x12ff6b)),_0x167df2;}(_0x31f6d6[_0x442c('0x1d')][_0x442c('0x2f')][_0x442c('0x35')]['getSelectedBlocks']()),_0x369c24=_0x31f6d6[_0x442c('0x1d')][_0x442c('0x7')](_0x31f6d6['model'][_0x442c('0x13')](_0x335cf3[0x0],'before'),_0x31f6d6[_0x442c('0x1d')]['createPositionAt'](_0x335cf3[_0x335cf3[_0x442c('0x39')]-0x1],_0x442c('0x5')));_0x31f6d6[_0x442c('0x1d')][_0x442c('0x33')](()=>{_0x1f8beb[_0x442c('0x26')](_0x369c24,{'commandName':_0x50b8da,'commandParams':[],'formatGroupId':_0x442c('0xb')},function(_0x5d45a8){const _0x3651ac=new Set();for(const _0x44706a of _0x5d45a8){let _0x8a236e=_0x44706a['nextSibling'];for(;_0x8a236e&&_0x8a236e[_0x442c('0x36')]('listIndent')>_0x44706a['getAttribute'](_0x442c('0xb'));)_0x3651ac[_0x442c('0x2a')](_0x8a236e),_0x8a236e=_0x8a236e['nextSibling'];}return Array[_0x442c('0x38')](_0x3651ac);}(_0x335cf3));});};}_0x1f8beb[_0x442c('0x28')](_0x442c('0x6'),_0x15b4b2(_0x442c('0x6'))),_0x1f8beb['enableCommand']('bulletedList',_0x15b4b2(_0x442c('0x37'))),_0x276dfa&&_0x1f8beb[_0x442c('0x28')](_0x442c('0xc'),_0x15b4b2(_0x442c('0xc'))),_0x1f8beb['enableCommand'](_0x442c('0x23'),_0x60917c(_0x442c('0x23'))),_0x1f8beb[_0x442c('0x28')](_0x442c('0x25'),_0x60917c(_0x442c('0x25'))),_0x276dfa&&_0x1f8beb[_0x442c('0x28')](_0x442c('0x3b'),()=>{const _0x442e86=_0x31f6d6[_0x442c('0xa')][_0x442c('0xe')]('checkTodoList'),_0xa7650=Array[_0x442c('0x38')](_0x442e86[_0x442c('0x4')]);_0xa7650[_0x442c('0x2')](_0x3fc877=>_0x3fc877[_0x442c('0x36')](_0x442c('0x32'))!=_0x442e86[_0x442c('0x3d')]),_0x31f6d6[_0x442c('0x1d')][_0x442c('0x33')](()=>{for(const _0x58c8d6 of _0xa7650)_0x1f8beb[_0x442c('0x26')](_0x58c8d6,{'commandName':_0x442c('0x3b'),'commandParams':[{'forceValue':!_0x442e86[_0x442c('0x3d')]}]});});}),_0x1f8beb['_descriptionFactory'][_0x442c('0x8')](_0x442c('0x34'),_0x335d4b=>_0x13f953(_0x19cc95,_0x442c('0x1e'),_0x335d4b)),_0x1f8beb[_0x442c('0x27')][_0x442c('0x24')](_0x44365a=>{const {data:_0x4ca709}=_0x44365a;if(_0x4ca709){if(_0x442c('0x6')==_0x4ca709[_0x442c('0x21')]||_0x442c('0x37')==_0x4ca709['commandName']||_0x442c('0xc')==_0x4ca709['commandName'])switch(_0x4ca709[_0x442c('0x21')][_0x442c('0x22')](_0x442c('0x30'),'')){case _0x442c('0x11'):return _0x3a3ef1(_0x13f953(_0x19cc95,'ELEMENT_BULLETED_LIST'));case _0x442c('0x10'):return _0x3a3ef1(_0x13f953(_0x19cc95,_0x442c('0x16')));case'todo':return _0x3a3ef1(_0x13f953(_0x19cc95,_0x442c('0x3e')));}if('indentList'==_0x4ca709[_0x442c('0x21')])return{'type':_0x442c('0x14'),'content':_0x13f953(_0x19cc95,'*Indent:*\x20%0',_0x13f953(_0x19cc95,_0x442c('0x1e')))};if(_0x442c('0x25')==_0x4ca709[_0x442c('0x21')])return{'type':'format','content':_0x13f953(_0x19cc95,_0x442c('0x29'),_0x13f953(_0x19cc95,'ELEMENT_LIST_ITEM'))};if(_0x442c('0x3b')==_0x4ca709['commandName'])return _0x4ca709['commandParams'][0x0][_0x442c('0x3c')]?{'type':_0x442c('0x14'),'content':_0x13f953(_0x19cc95,_0x442c('0x2b'))}:{'type':_0x442c('0x14'),'content':_0x13f953(_0x19cc95,_0x442c('0x3a'))};}function _0x3a3ef1(_0x15bdb9){return{'type':_0x442c('0x14'),'content':_0x13f953(_0x19cc95,'*Change\x20to:*\x20%0',_0x15bdb9)};}});}}function ne(_0x9564c){const _0x318b7d=_0x9564c[_0x442c('0x36')](_0x442c('0xb'));if(0x0==_0x318b7d)return _0x9564c;let _0x17ac13=_0x9564c;for(;_0x9564c[_0x442c('0x18')]&&_0x9564c[_0x442c('0x18')]['is'](_0x442c('0x19'),_0x442c('0x34'));){const _0x5a7104=_0x9564c[_0x442c('0x18')][_0x442c('0x36')]('listIndent');if(_0x5a7104==_0x318b7d)_0x17ac13=_0x9564c[_0x442c('0x18')];else{if(_0x5a7104<_0x318b7d)break;}_0x9564c=_0x9564c[_0x442c('0x18')];}return _0x17ac13;}function oe(_0x2498b6){const _0x10f8e0=[];if(_0x2498b6['is'](_0x442c('0x19'),_0x442c('0x34'))&&_0x2498b6['getAttribute']('listIndent')>0x0){let _0x373b16=_0x2498b6['nextSibling'];for(;_0x373b16&&_0x442c('0x34')==_0x373b16[_0x442c('0x2e')]&&_0x373b16['getAttribute'](_0x442c('0xb'))==_0x2498b6[_0x442c('0x36')](_0x442c('0xb'));)_0x10f8e0['push'](_0x373b16),_0x373b16=_0x373b16[_0x442c('0xd')];}return _0x10f8e0;}
23
+ const _0x29a0=['*Outdent:*\x20%0','*Check\x20item*','editor','_descriptionFactory','numbered','TodoListEditing','ELEMENT_BULLETED_LIST','ELEMENT_LIST_ITEM','ELEMENT_TODO_LIST','from','format','get','name','locale','selection','value','commandName','plugins','before','listItem','slice','listIndent','bulleted','registerDescriptionCallback','indentList','*Indent:*\x20%0','schema','length','element','enableCommand','getAttribute','nextSibling','todo','outdentList','push','model','numberedList','afterInit','execute','ListEditing','_selectedElements','checkTodoList','todoListChecked','markBlockFormat','filter','registerElementLabel','commands','*Change\x20to:*\x20%0','blockName','document','ELEMENT_NUMBERED_LIST','commandParams','getSelectedBlocks','add','bulletedList','findIndex','isObject','previousSibling','change','todoList','createPositionAt'];(function(_0x171e93,_0x29a031){const _0x289158=function(_0x5dd53a){while(--_0x5dd53a){_0x171e93['push'](_0x171e93['shift']());}};_0x289158(++_0x29a031);}(_0x29a0,0xc5));const _0x2891=function(_0x171e93,_0x29a031){_0x171e93=_0x171e93-0x0;let _0x289158=_0x29a0[_0x171e93];return _0x289158;};import{Plugin as _0x49c114}from'ckeditor5/src/core';import{getTranslation as _0x4f4847}from'../utils/common-translations';export default class st extends _0x49c114{[_0x2891('0x17')](){const _0x5b06a7=this[_0x2891('0x31')],_0x2e585f=_0x5b06a7[_0x2891('0x3c')];if(!_0x5b06a7['plugins']['has'](_0x2891('0x19')))return;const _0x58eb1c=_0x5b06a7[_0x2891('0x3')]['get']('TrackChangesEditing'),_0x4f4510=_0x5b06a7[_0x2891('0x3')]['has'](_0x2891('0x34'));function _0x3128a2(_0x23a121){return()=>{const _0x35dad2=_0x5b06a7[_0x2891('0x15')][_0x2891('0x23')][_0x2891('0x0')],_0x141915=_0x5b06a7[_0x2891('0x20')]['get'](_0x23a121);if(_0x141915[_0x2891('0x1')])return void _0x5b06a7[_0x2891('0x18')]('paragraph',{});const _0x30c75d=_0x23a121[_0x2891('0x6')](0x0,-0x4),_0x5c9fa7=function(_0x52538b,_0x5ee29a,_0x1abe56){let _0x25e5a4=Array[_0x2891('0x38')](_0x52538b)[_0x2891('0x1e')](_0x395d39=>function(_0x23634f,_0x3b2811){return _0x3b2811['checkChild'](_0x23634f['parent'],_0x2891('0x5'))&&!_0x3b2811[_0x2891('0x2a')](_0x23634f);}(_0x395d39,_0x1abe56));_0x25e5a4=_0x25e5a4['filter'](_0x1315e4=>!_0x1315e4['is'](_0x2891('0xe'),_0x2891('0x5'))||_0x1315e4['getAttribute']('listType')!=_0x5ee29a);const _0x4d85a3=new Set();for(const _0x3eb285 of _0x25e5a4)_0x3eb285['is'](_0x2891('0xe'),_0x2891('0x5'))?_0x4d85a3['add'](ne(_0x3eb285)):_0x4d85a3['add'](_0x3eb285);return Array[_0x2891('0x38')](_0x4d85a3);}(_0x35dad2[_0x2891('0x26')](),_0x30c75d,_0x5b06a7[_0x2891('0x15')][_0x2891('0xc')]);_0x5b06a7[_0x2891('0x15')][_0x2891('0x2c')](()=>{for(const _0x41f94e of _0x5c9fa7)_0x58eb1c[_0x2891('0x1d')](_0x41f94e,{'commandName':_0x23a121,'commandParams':[{'forceValue':!_0x141915[_0x2891('0x1')]}],'formatGroupId':_0x2891('0x22')},oe(_0x41f94e));});};}function _0x2f94df(_0x451cb9){return()=>{const _0x16ee84=function(_0xe72db5){let _0x1a9b32=Array['from'](_0xe72db5);const _0x3cbf55=_0x1a9b32[_0x2891('0x29')](_0x2de83f=>'listItem'!=_0x2de83f[_0x2891('0x3b')]);return _0x3cbf55>-0x1&&(_0x1a9b32=_0x1a9b32[_0x2891('0x6')](0x0,_0x3cbf55)),_0x1a9b32;}(_0x5b06a7['model'][_0x2891('0x23')][_0x2891('0x0')][_0x2891('0x26')]()),_0x452cec=_0x5b06a7[_0x2891('0x15')]['createRange'](_0x5b06a7[_0x2891('0x15')][_0x2891('0x2e')](_0x16ee84[0x0],_0x2891('0x4')),_0x5b06a7[_0x2891('0x15')]['createPositionAt'](_0x16ee84[_0x16ee84[_0x2891('0xd')]-0x1],'end'));_0x5b06a7['model']['change'](()=>{_0x58eb1c[_0x2891('0x1d')](_0x452cec,{'commandName':_0x451cb9,'commandParams':[],'formatGroupId':_0x2891('0x7')},function(_0x415ab6){const _0x1ca4d6=new Set();for(const _0x5bd8fe of _0x415ab6){let _0x3104cd=_0x5bd8fe[_0x2891('0x11')];for(;_0x3104cd&&_0x3104cd['getAttribute'](_0x2891('0x7'))>_0x5bd8fe[_0x2891('0x10')](_0x2891('0x7'));)_0x1ca4d6[_0x2891('0x27')](_0x3104cd),_0x3104cd=_0x3104cd[_0x2891('0x11')];}return Array[_0x2891('0x38')](_0x1ca4d6);}(_0x16ee84));});};}_0x58eb1c['enableCommand'](_0x2891('0x16'),_0x3128a2(_0x2891('0x16'))),_0x58eb1c[_0x2891('0xf')](_0x2891('0x28'),_0x3128a2('bulletedList')),_0x4f4510&&_0x58eb1c[_0x2891('0xf')]('todoList',_0x3128a2(_0x2891('0x2d'))),_0x58eb1c['enableCommand'](_0x2891('0xa'),_0x2f94df(_0x2891('0xa'))),_0x58eb1c['enableCommand'](_0x2891('0x13'),_0x2f94df(_0x2891('0x13'))),_0x4f4510&&_0x58eb1c[_0x2891('0xf')](_0x2891('0x1b'),()=>{const _0x42f0ed=_0x5b06a7['commands'][_0x2891('0x3a')](_0x2891('0x1b')),_0x3c1c7b=Array[_0x2891('0x38')](_0x42f0ed[_0x2891('0x1a')]);_0x3c1c7b[_0x2891('0x1e')](_0x148c67=>_0x148c67[_0x2891('0x10')](_0x2891('0x1c'))!=_0x42f0ed['value']),_0x5b06a7[_0x2891('0x15')][_0x2891('0x2c')](()=>{for(const _0x3ae840 of _0x3c1c7b)_0x58eb1c[_0x2891('0x1d')](_0x3ae840,{'commandName':_0x2891('0x1b'),'commandParams':[{'forceValue':!_0x42f0ed[_0x2891('0x1')]}]});});}),_0x58eb1c[_0x2891('0x32')][_0x2891('0x1f')](_0x2891('0x5'),_0x4e8568=>_0x4f4847(_0x2e585f,_0x2891('0x36'),_0x4e8568)),_0x58eb1c[_0x2891('0x32')][_0x2891('0x9')](_0x4fdcf9=>{const {data:_0x585422}=_0x4fdcf9;if(_0x585422){if(_0x2891('0x16')==_0x585422[_0x2891('0x2')]||_0x2891('0x28')==_0x585422[_0x2891('0x2')]||_0x2891('0x2d')==_0x585422['commandName'])switch(_0x585422[_0x2891('0x2')]['replace']('List','')){case _0x2891('0x8'):return _0x2b6dd9(_0x4f4847(_0x2e585f,_0x2891('0x35')));case _0x2891('0x33'):return _0x2b6dd9(_0x4f4847(_0x2e585f,_0x2891('0x24')));case _0x2891('0x12'):return _0x2b6dd9(_0x4f4847(_0x2e585f,_0x2891('0x37')));}if(_0x2891('0xa')==_0x585422[_0x2891('0x2')])return{'type':_0x2891('0x39'),'content':_0x4f4847(_0x2e585f,_0x2891('0xb'),_0x4f4847(_0x2e585f,_0x2891('0x36')))};if(_0x2891('0x13')==_0x585422[_0x2891('0x2')])return{'type':_0x2891('0x39'),'content':_0x4f4847(_0x2e585f,_0x2891('0x2f'),_0x4f4847(_0x2e585f,'ELEMENT_LIST_ITEM'))};if(_0x2891('0x1b')==_0x585422[_0x2891('0x2')])return _0x585422[_0x2891('0x25')][0x0]['forceValue']?{'type':'format','content':_0x4f4847(_0x2e585f,_0x2891('0x30'))}:{'type':_0x2891('0x39'),'content':_0x4f4847(_0x2e585f,'*Uncheck\x20item*')};}function _0x2b6dd9(_0x10b5af){return{'type':_0x2891('0x39'),'content':_0x4f4847(_0x2e585f,_0x2891('0x21'),_0x10b5af)};}});}}function ne(_0x2100db){const _0x40f382=_0x2100db[_0x2891('0x10')]('listIndent');if(0x0==_0x40f382)return _0x2100db;let _0x30019e=_0x2100db;for(;_0x2100db['previousSibling']&&_0x2100db[_0x2891('0x2b')]['is'](_0x2891('0xe'),_0x2891('0x5'));){const _0x14cb38=_0x2100db[_0x2891('0x2b')]['getAttribute'](_0x2891('0x7'));if(_0x14cb38==_0x40f382)_0x30019e=_0x2100db[_0x2891('0x2b')];else{if(_0x14cb38<_0x40f382)break;}_0x2100db=_0x2100db[_0x2891('0x2b')];}return _0x30019e;}function oe(_0x53070f){const _0x3d14ed=[];if(_0x53070f['is'](_0x2891('0xe'),'listItem')&&_0x53070f[_0x2891('0x10')](_0x2891('0x7'))>0x0){let _0x3d4a08=_0x53070f['nextSibling'];for(;_0x3d4a08&&_0x2891('0x5')==_0x3d4a08['name']&&_0x3d4a08[_0x2891('0x10')](_0x2891('0x7'))==_0x53070f['getAttribute'](_0x2891('0x7'));)_0x3d14ed[_0x2891('0x14')](_0x3d4a08),_0x3d4a08=_0x3d4a08['nextSibling'];}return _0x3d14ed;}