@ckeditor/ckeditor5-track-changes 36.0.0 → 36.0.1

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 (61) hide show
  1. package/build/track-changes.js +1 -1
  2. package/package.json +4 -4
  3. package/src/commands/acceptsuggestioncommand.js +1 -1
  4. package/src/commands/discardsuggestioncommand.js +1 -1
  5. package/src/commands/executeonallsuggestionscommand.js +1 -1
  6. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  7. package/src/commands/trackchangescommand.js +1 -1
  8. package/src/integrations/alignment.js +1 -1
  9. package/src/integrations/basicstyles.js +1 -1
  10. package/src/integrations/blockquote.js +1 -1
  11. package/src/integrations/ckbox.js +1 -1
  12. package/src/integrations/codeblock.js +1 -1
  13. package/src/integrations/comments.js +1 -1
  14. package/src/integrations/deletecommand.js +1 -1
  15. package/src/integrations/documentlist.js +1 -1
  16. package/src/integrations/documentlistproperties.js +1 -1
  17. package/src/integrations/entercommand.js +1 -1
  18. package/src/integrations/findandreplace.js +1 -1
  19. package/src/integrations/font.js +1 -1
  20. package/src/integrations/heading.js +1 -1
  21. package/src/integrations/highlight.js +1 -1
  22. package/src/integrations/horizontalline.js +1 -1
  23. package/src/integrations/htmlembed.js +1 -1
  24. package/src/integrations/image.js +1 -1
  25. package/src/integrations/imagereplace.js +1 -1
  26. package/src/integrations/importword.js +1 -1
  27. package/src/integrations/indent.js +1 -1
  28. package/src/integrations/inputcommand.js +1 -1
  29. package/src/integrations/link.js +1 -1
  30. package/src/integrations/list.js +1 -1
  31. package/src/integrations/listproperties.js +1 -1
  32. package/src/integrations/mediaembed.js +1 -1
  33. package/src/integrations/mention.js +1 -1
  34. package/src/integrations/pagebreak.js +1 -1
  35. package/src/integrations/paragraph.js +1 -1
  36. package/src/integrations/removeformat.js +1 -1
  37. package/src/integrations/restrictededitingmode.js +1 -1
  38. package/src/integrations/shiftentercommand.js +1 -1
  39. package/src/integrations/standardeditingmode.js +1 -1
  40. package/src/integrations/style.js +1 -1
  41. package/src/integrations/table.js +1 -1
  42. package/src/integrations/tablecaption.js +1 -1
  43. package/src/integrations/tableclipboard.js +1 -1
  44. package/src/integrations/tablecolumnresize.js +1 -1
  45. package/src/integrations/tableheadings.js +1 -1
  46. package/src/integrations/tablemergesplit.js +1 -1
  47. package/src/integrations/tableproperties.js +1 -1
  48. package/src/integrations/title.js +1 -1
  49. package/src/integrations/undo.js +1 -1
  50. package/src/integrations/utils.js +1 -1
  51. package/src/suggestion.js +1 -1
  52. package/src/suggestiondescriptionfactory.js +1 -1
  53. package/src/trackchanges.js +1 -1
  54. package/src/trackchangesdata.js +1 -1
  55. package/src/trackchangesediting.js +1 -1
  56. package/src/trackchangesui.js +1 -1
  57. package/src/ui/suggestioncontroller.js +1 -1
  58. package/src/ui/view/basesuggestionthreadview.js +1 -1
  59. package/src/ui/view/suggestionthreadview.js +1 -1
  60. package/src/utils/common-translations.js +1 -1
  61. package/src/utils/utils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1843=['fontSize','config','toLowerCase','FontSizeEditing','document','isCollapsed','FontBackgroundColorEditing','*Reset\x20font\x20background\x20color*','fontBackgroundColor','*Set\x20font\x20size:*\x20%0','selection','enableCommand','plugins','find','editor','format','label','*Reset\x20font\x20color*','title','*Set\x20font\x20family:*\x20%0','fontFamily','get','value','model','FontSize','afterInit','TrackChangesEditing','commandName','change','fontColor.colors','_descriptionFactory','trim','getRanges','locale','commandParams','fontSize.options','fontColor','*Reset\x20font\x20size*','has','*Reset\x20font\x20family*'];(function(_0x22166c,_0x1843d9){const _0x51e6d0=function(_0x2a63e5){while(--_0x2a63e5){_0x22166c['push'](_0x22166c['shift']());}};_0x51e6d0(++_0x1843d9);}(_0x1843,0xf3));const _0x51e6=function(_0x22166c,_0x1843d9){_0x22166c=_0x22166c-0x0;let _0x51e6d0=_0x1843[_0x22166c];return _0x51e6d0;};import{Plugin as _0x5f555e}from'ckeditor5/src/core';import{normalizeColorOptions as _0x5a8cc4}from'ckeditor5/src/ui';import{getRangesWithAttribute as _0x58c4b3}from'./utils';import{getTranslation as _0xf6b668}from'../utils/common-translations';const Yt=[{'pluginName':_0x51e6('0x0'),'commandName':_0x51e6('0x25')},{'pluginName':'FontFamilyEditing','commandName':_0x51e6('0x11')},{'pluginName':'FontColorEditing','commandName':_0x51e6('0x21')},{'pluginName':_0x51e6('0x3'),'commandName':_0x51e6('0x5')}];export default class J extends _0x5f555e{[_0x51e6('0x16')](){const _0x9cf61e=this[_0x51e6('0xb')][_0x51e6('0x1e')];for(const {pluginName:_0x2da6d9,commandName:_0x1b1f6f}of Yt)this[_0x51e6('0xb')][_0x51e6('0x9')][_0x51e6('0x23')](_0x2da6d9)&&this['_enableCommand'](_0x1b1f6f);this[_0x51e6('0xb')][_0x51e6('0x9')][_0x51e6('0x12')]('TrackChangesEditing')[_0x51e6('0x1b')]['registerDescriptionCallback'](_0x4a8081=>{const {data:_0x1b441b}=_0x4a8081;if(null!=_0x1b441b){if(_0x51e6('0x25')==_0x1b441b[_0x51e6('0x18')]){const _0x230a30=_0x1b441b['commandParams'][0x0][_0x51e6('0x13')];if(_0x230a30){const _0x20191d=this['editor']['plugins'][_0x51e6('0x12')](_0x51e6('0x15'))['normalizeSizeOptions'](this['editor']['config'][_0x51e6('0x12')](_0x51e6('0x20')))[_0x51e6('0xa')](_0x3bd907=>_0x3bd907[_0x51e6('0x14')]==_0x230a30)[_0x51e6('0xf')],_0x346ac3=this[_0x51e6('0xb')][_0x51e6('0x1e')]['_t'](_0x20191d)['toLowerCase']();return{'type':_0x51e6('0xc'),'content':_0xf6b668(_0x9cf61e,_0x51e6('0x6'),_0x346ac3)};}return{'type':_0x51e6('0xc'),'content':_0xf6b668(_0x9cf61e,_0x51e6('0x22'))};}if('fontFamily'==_0x1b441b['commandName']){const _0x5856aa=_0x1b441b[_0x51e6('0x1f')][0x0][_0x51e6('0x13')];return _0x5856aa?{'type':_0x51e6('0xc'),'content':_0xf6b668(_0x9cf61e,_0x51e6('0x10'),_0x5856aa)}:{'type':'format','content':_0xf6b668(_0x9cf61e,_0x51e6('0x24'))};}if(_0x51e6('0x21')==_0x1b441b[_0x51e6('0x18')]){const _0x21fa13=_0x1b441b[_0x51e6('0x1f')][0x0]['value'];if(_0x21fa13){const _0x96eb6e=_0x5a8cc4(this['editor'][_0x51e6('0x26')][_0x51e6('0x12')](_0x51e6('0x1a')))[_0x51e6('0xa')](_0xfb5ee3=>_0xfb5ee3[_0x51e6('0x14')]==_0x21fa13);let _0x4d2fe6=_0x21fa13,_0x36fae5='';return _0x96eb6e&&(_0x4d2fe6=_0x96eb6e[_0x51e6('0xd')],_0x36fae5=_0x9cf61e['_t'](_0x4d2fe6)['toLowerCase']()),{'type':'format','content':_0xf6b668(_0x9cf61e,'*Set\x20font\x20color:*\x20%0',_0x36fae5)['trim'](),'color':{'value':_0x21fa13,'title':_0x36fae5||_0x4d2fe6}};}return{'type':_0x51e6('0xc'),'content':_0xf6b668(_0x9cf61e,_0x51e6('0xe'))};}if(_0x51e6('0x5')==_0x1b441b[_0x51e6('0x18')]){const _0x28d967=_0x1b441b[_0x51e6('0x1f')][0x0]['value'];if(_0x28d967){const _0x4e58a9=_0x5a8cc4(this[_0x51e6('0xb')][_0x51e6('0x26')][_0x51e6('0x12')]('fontBackgroundColor.colors'))[_0x51e6('0xa')](_0x166c35=>_0x166c35[_0x51e6('0x14')]==_0x28d967);let _0x10340b=_0x28d967,_0x508af9='';return _0x4e58a9&&(_0x10340b=_0x4e58a9[_0x51e6('0xd')],_0x508af9=_0x9cf61e['_t'](_0x10340b)[_0x51e6('0x27')]()),{'type':_0x51e6('0xc'),'content':_0xf6b668(_0x9cf61e,'*Set\x20font\x20background\x20color:*\x20%0',_0x508af9)[_0x51e6('0x1c')](),'color':{'value':_0x28d967,'title':_0x508af9||_0x10340b}};}return{'type':'format','content':_0xf6b668(_0x9cf61e,_0x51e6('0x4'))};}}});}['_enableCommand'](_0x45b210){const _0x5c9a26=this[_0x51e6('0xb')];_0x5c9a26[_0x51e6('0x9')]['get'](_0x51e6('0x17'))[_0x51e6('0x8')](_0x45b210,(_0xee7f16,_0x588b23={})=>{const _0x1d1d6b=_0x5c9a26[_0x51e6('0x14')][_0x51e6('0x1')][_0x51e6('0x7')],_0x10fc37=_0x588b23[_0x51e6('0x13')];_0x1d1d6b[_0x51e6('0x2')]?_0xee7f16(_0x588b23):_0x5c9a26[_0x51e6('0x14')][_0x51e6('0x19')](()=>{const _0x26c673=Array['from'](_0x1d1d6b[_0x51e6('0x1d')]());for(const _0x2287f8 of _0x26c673){const _0x360bcc=_0x10fc37?[_0x2287f8]:_0x58c4b3(_0x45b210,_0x2287f8,_0x5c9a26[_0x51e6('0x14')]);for(const _0x1d573f of _0x360bcc)_0x5c9a26['plugins']['get']('TrackChangesEditing')['markInlineFormat'](_0x1d573f,{'commandName':_0x45b210,'commandParams':[{'value':_0x10fc37}]});}});});}}
23
+ const _0x1658=['*Set\x20font\x20family:*\x20%0','markInlineFormat','toLowerCase','FontBackgroundColorEditing','commandParams','fontSize.options','model','fontBackgroundColor','get','*Reset\x20font\x20background\x20color*','value','afterInit','FontSizeEditing','selection','normalizeSizeOptions','plugins','fontColor.colors','*Set\x20font\x20background\x20color:*\x20%0','_descriptionFactory','editor','trim','fontColor','TrackChangesEditing','from','FontFamilyEditing','config','title','label','format','document','fontFamily','locale','find','_enableCommand','fontSize','commandName','enableCommand','FontColorEditing','getRanges','fontBackgroundColor.colors','change','FontSize','*Set\x20font\x20color:*\x20%0','has','*Set\x20font\x20size:*\x20%0','*Reset\x20font\x20color*'];(function(_0x4713e9,_0x165807){const _0x5611c7=function(_0x12cf77){while(--_0x12cf77){_0x4713e9['push'](_0x4713e9['shift']());}};_0x5611c7(++_0x165807);}(_0x1658,0x18e));const _0x5611=function(_0x4713e9,_0x165807){_0x4713e9=_0x4713e9-0x0;let _0x5611c7=_0x1658[_0x4713e9];return _0x5611c7;};import{Plugin as _0x4ea978}from'ckeditor5/src/core';import{normalizeColorOptions as _0x1da3db}from'ckeditor5/src/ui';import{getRangesWithAttribute as _0xd44fa9}from'./utils';import{getTranslation as _0x3186d6}from'../utils/common-translations';const Yt=[{'pluginName':_0x5611('0x1c'),'commandName':_0x5611('0x4')},{'pluginName':_0x5611('0x28'),'commandName':_0x5611('0x0')},{'pluginName':_0x5611('0x7'),'commandName':_0x5611('0x25')},{'pluginName':_0x5611('0x13'),'commandName':_0x5611('0x17')}];export default class J extends _0x4ea978{[_0x5611('0x1b')](){const _0x1df83f=this[_0x5611('0x23')][_0x5611('0x1')];for(const {pluginName:_0xeeedf7,commandName:_0x58f90d}of Yt)this[_0x5611('0x23')][_0x5611('0x1f')][_0x5611('0xd')](_0xeeedf7)&&this[_0x5611('0x3')](_0x58f90d);this[_0x5611('0x23')][_0x5611('0x1f')][_0x5611('0x18')]('TrackChangesEditing')[_0x5611('0x22')]['registerDescriptionCallback'](_0xf0552b=>{const {data:_0x7da672}=_0xf0552b;if(null!=_0x7da672){if(_0x5611('0x4')==_0x7da672['commandName']){const _0xc18323=_0x7da672['commandParams'][0x0][_0x5611('0x1a')];if(_0xc18323){const _0x336ec0=this[_0x5611('0x23')][_0x5611('0x1f')][_0x5611('0x18')](_0x5611('0xb'))[_0x5611('0x1e')](this[_0x5611('0x23')][_0x5611('0x29')]['get'](_0x5611('0x15')))[_0x5611('0x2')](_0x2f8ecf=>_0x2f8ecf['model']==_0xc18323)[_0x5611('0x2a')],_0x193245=this[_0x5611('0x23')][_0x5611('0x1')]['_t'](_0x336ec0)[_0x5611('0x12')]();return{'type':_0x5611('0x2c'),'content':_0x3186d6(_0x1df83f,_0x5611('0xe'),_0x193245)};}return{'type':_0x5611('0x2c'),'content':_0x3186d6(_0x1df83f,'*Reset\x20font\x20size*')};}if(_0x5611('0x0')==_0x7da672[_0x5611('0x5')]){const _0x570998=_0x7da672[_0x5611('0x14')][0x0][_0x5611('0x1a')];return _0x570998?{'type':_0x5611('0x2c'),'content':_0x3186d6(_0x1df83f,_0x5611('0x10'),_0x570998)}:{'type':_0x5611('0x2c'),'content':_0x3186d6(_0x1df83f,'*Reset\x20font\x20family*')};}if(_0x5611('0x25')==_0x7da672['commandName']){const _0x1741f0=_0x7da672[_0x5611('0x14')][0x0][_0x5611('0x1a')];if(_0x1741f0){const _0x3af18a=_0x1da3db(this[_0x5611('0x23')][_0x5611('0x29')][_0x5611('0x18')](_0x5611('0x20')))[_0x5611('0x2')](_0x414341=>_0x414341['model']==_0x1741f0);let _0x5101ff=_0x1741f0,_0x6b64be='';return _0x3af18a&&(_0x5101ff=_0x3af18a[_0x5611('0x2b')],_0x6b64be=_0x1df83f['_t'](_0x5101ff)['toLowerCase']()),{'type':_0x5611('0x2c'),'content':_0x3186d6(_0x1df83f,_0x5611('0xc'),_0x6b64be)['trim'](),'color':{'value':_0x1741f0,'title':_0x6b64be||_0x5101ff}};}return{'type':'format','content':_0x3186d6(_0x1df83f,_0x5611('0xf'))};}if(_0x5611('0x17')==_0x7da672[_0x5611('0x5')]){const _0x41e637=_0x7da672[_0x5611('0x14')][0x0]['value'];if(_0x41e637){const _0x28f17d=_0x1da3db(this[_0x5611('0x23')][_0x5611('0x29')][_0x5611('0x18')](_0x5611('0x9')))[_0x5611('0x2')](_0x37852c=>_0x37852c[_0x5611('0x16')]==_0x41e637);let _0x36fcbc=_0x41e637,_0xeb17e0='';return _0x28f17d&&(_0x36fcbc=_0x28f17d['label'],_0xeb17e0=_0x1df83f['_t'](_0x36fcbc)[_0x5611('0x12')]()),{'type':'format','content':_0x3186d6(_0x1df83f,_0x5611('0x21'),_0xeb17e0)[_0x5611('0x24')](),'color':{'value':_0x41e637,'title':_0xeb17e0||_0x36fcbc}};}return{'type':_0x5611('0x2c'),'content':_0x3186d6(_0x1df83f,_0x5611('0x19'))};}}});}[_0x5611('0x3')](_0xddd01c){const _0x2a641d=this[_0x5611('0x23')];_0x2a641d[_0x5611('0x1f')][_0x5611('0x18')](_0x5611('0x26'))[_0x5611('0x6')](_0xddd01c,(_0x519184,_0x398a2d={})=>{const _0x55c4ed=_0x2a641d['model'][_0x5611('0x2d')][_0x5611('0x1d')],_0x11a547=_0x398a2d['value'];_0x55c4ed['isCollapsed']?_0x519184(_0x398a2d):_0x2a641d[_0x5611('0x16')][_0x5611('0xa')](()=>{const _0x47e3c8=Array[_0x5611('0x27')](_0x55c4ed[_0x5611('0x8')]());for(const _0x5ab86f of _0x47e3c8){const _0xeb6839=_0x11a547?[_0x5ab86f]:_0xd44fa9(_0xddd01c,_0x5ab86f,_0x2a641d[_0x5611('0x16')]);for(const _0x3fe76e of _0xeb6839)_0x2a641d['plugins'][_0x5611('0x18')](_0x5611('0x26'))[_0x5611('0x11')](_0x3fe76e,{'commandName':_0xddd01c,'commandParams':[{'value':_0x11a547}]});}});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x377b=['format','match','checkChild','registerElementLabel','schema','ELEMENT_HEADING_CUSTOM','locale','HeadingEditing','find','paragraph','document','ELEMENT_HEADING','registerDescriptionCallback','commandName','filter','model','get','afterInit','value','TrackChangesEditing','change','config','from','*Change\x20to:*\x20%0','heading','editor','plugins','title','parent','markBlockFormat','formatBlock','_descriptionFactory','name'];(function(_0x17fb52,_0x377b0b){const _0x5006a5=function(_0x2fea2b){while(--_0x2fea2b){_0x17fb52['push'](_0x17fb52['shift']());}};_0x5006a5(++_0x377b0b);}(_0x377b,0xc8));const _0x5006=function(_0x17fb52,_0x377b0b){_0x17fb52=_0x17fb52-0x0;let _0x5006a5=_0x377b[_0x17fb52];return _0x5006a5;};import{Plugin as _0x355c66}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0xe53a5f}from'./utils';import{getTranslation as _0xf4cbdb}from'../utils/common-translations';export default class K extends _0x355c66{[_0x5006('0xf')](){const _0x3c9a06=this['editor'],_0x539926=_0x3c9a06[_0x5006('0x4')],_0xa454aa=_0x3c9a06[_0x5006('0x13')]['get']('heading.options');if(!_0x3c9a06[_0x5006('0x18')]['has'](_0x5006('0x5')))return;const _0x1b2375=_0x3c9a06[_0x5006('0x18')][_0x5006('0xe')](_0x5006('0x11'));_0x1b2375['enableCommand'](_0x5006('0x16'),(_0x437f09,_0x1e89c7)=>{const _0x525ca9=_0x1e89c7['value'],_0xd4dcf9=Array[_0x5006('0x14')](this[_0x5006('0x17')]['model'][_0x5006('0x8')]['selection']['getSelectedBlocks']())[_0x5006('0xc')](_0x1f7b4b=>function(_0x507424,_0x522378,_0x1e7de7){return _0x1e7de7[_0x5006('0x0')](_0x507424[_0x5006('0x1a')],_0x522378)&&!_0x1e7de7['isObject'](_0x507424)&&_0x507424[_0x5006('0x1e')]!=_0x522378;}(_0x1f7b4b,_0x525ca9,this[_0x5006('0x17')]['model'][_0x5006('0x2')]));_0x3c9a06[_0x5006('0xd')][_0x5006('0x12')](()=>{for(const _0x46e79a of _0xd4dcf9)_0x1b2375[_0x5006('0x1b')](_0x46e79a,{'commandName':'heading','commandParams':[_0x1e89c7],'formatGroupId':'blockName'},_0xe53a5f(_0x46e79a));});});for(const _0x195dd7 of _0xa454aa)_0x5006('0x7')!=_0x195dd7[_0x5006('0xd')]&&_0x1b2375[_0x5006('0x1d')][_0x5006('0x1')](_0x195dd7[_0x5006('0xd')],_0x389cd3=>{const _0x21754a=tn(_0x195dd7['model']);return null!==_0x21754a?_0xad9dd7(_0x389cd3,_0x21754a):_0x468d5a(_0x389cd3,_0x195dd7[_0x5006('0x19')]);});function _0xad9dd7(_0x3c45aa,_0x3b14fa){return _0xf4cbdb(_0x539926,_0x5006('0x9'),[_0x3c45aa,_0x3b14fa]);}function _0x468d5a(_0x29ebb4,_0x1a3c74){return _0xf4cbdb(_0x539926,_0x5006('0x3'),[_0x29ebb4,_0x1a3c74]);}_0x1b2375[_0x5006('0x1d')][_0x5006('0xa')](_0x15745a=>{const {type:_0x43953a,data:_0x2578a7}=_0x15745a;if(_0x5006('0x1c')==_0x43953a&&_0x2578a7&&_0x5006('0x16')==_0x2578a7[_0x5006('0xb')]){const _0x1fc6fe=_0x2578a7['commandParams'][0x0][_0x5006('0x10')],_0x24e9f2=tn(_0x1fc6fe);if(null!==_0x24e9f2)return{'type':_0x5006('0x1f'),'content':_0xf4cbdb(_0x539926,_0x5006('0x15'),_0xad9dd7(0x1,_0x24e9f2))};const _0x487cf1=_0xa454aa[_0x5006('0x6')](_0xf5536b=>_0xf5536b[_0x5006('0xd')]===_0x1fc6fe)[_0x5006('0x19')];return{'type':_0x5006('0x1f'),'content':_0xf4cbdb(_0x539926,_0x5006('0x15'),_0x468d5a(0x1,_0x487cf1))};}});}}function tn(_0x15e9c5){const _0x56b7d0=_0x15e9c5[_0x5006('0x20')](/^heading(\d+)$/);return _0x56b7d0?_0x56b7d0[0x1]:null;}
23
+ const _0x4f67=['match','registerElementLabel','heading','_descriptionFactory','afterInit','commandParams','from','HeadingEditing','schema','heading.options','enableCommand','ELEMENT_HEADING','ELEMENT_HEADING_CUSTOM','paragraph','registerDescriptionCallback','*Change\x20to:*\x20%0','model','format','selection','config','parent','editor','markBlockFormat','change','document','get','find','name','title','value'];(function(_0x5da0a6,_0x4f67f7){const _0x308eef=function(_0x3e9092){while(--_0x3e9092){_0x5da0a6['push'](_0x5da0a6['shift']());}};_0x308eef(++_0x4f67f7);}(_0x4f67,0x1ed));const _0x308e=function(_0x5da0a6,_0x4f67f7){_0x5da0a6=_0x5da0a6-0x0;let _0x308eef=_0x4f67[_0x5da0a6];return _0x308eef;};import{Plugin as _0x444fc0}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0xb5750e}from'./utils';import{getTranslation as _0x2838ec}from'../utils/common-translations';export default class K extends _0x444fc0{[_0x308e('0x15')](){const _0x546698=this['editor'],_0x1eb0b2=_0x546698['locale'],_0x215cd5=_0x546698[_0x308e('0x6')][_0x308e('0xc')](_0x308e('0x1a'));if(!_0x546698['plugins']['has'](_0x308e('0x18')))return;const _0x34e66d=_0x546698['plugins']['get']('TrackChangesEditing');_0x34e66d[_0x308e('0x1b')](_0x308e('0x13'),(_0x25d813,_0x1a2e9a)=>{const _0x48f81d=_0x1a2e9a[_0x308e('0x10')],_0x1621ba=Array[_0x308e('0x17')](this[_0x308e('0x8')][_0x308e('0x3')][_0x308e('0xb')][_0x308e('0x5')]['getSelectedBlocks']())['filter'](_0x74d8d0=>function(_0x586a59,_0x5c2b3e,_0x39ce8f){return _0x39ce8f['checkChild'](_0x586a59[_0x308e('0x7')],_0x5c2b3e)&&!_0x39ce8f['isObject'](_0x586a59)&&_0x586a59[_0x308e('0xe')]!=_0x5c2b3e;}(_0x74d8d0,_0x48f81d,this[_0x308e('0x8')][_0x308e('0x3')][_0x308e('0x19')]));_0x546698['model'][_0x308e('0xa')](()=>{for(const _0x2c19e8 of _0x1621ba)_0x34e66d[_0x308e('0x9')](_0x2c19e8,{'commandName':'heading','commandParams':[_0x1a2e9a],'formatGroupId':'blockName'},_0xb5750e(_0x2c19e8));});});for(const _0x3e70ae of _0x215cd5)_0x308e('0x0')!=_0x3e70ae[_0x308e('0x3')]&&_0x34e66d[_0x308e('0x14')][_0x308e('0x12')](_0x3e70ae['model'],_0x252e28=>{const _0x35d811=tn(_0x3e70ae[_0x308e('0x3')]);return null!==_0x35d811?_0x2b7730(_0x252e28,_0x35d811):_0x45ddda(_0x252e28,_0x3e70ae['title']);});function _0x2b7730(_0x1173e9,_0x2b4d58){return _0x2838ec(_0x1eb0b2,_0x308e('0x1c'),[_0x1173e9,_0x2b4d58]);}function _0x45ddda(_0x4b1dc8,_0x4bc409){return _0x2838ec(_0x1eb0b2,_0x308e('0x1d'),[_0x4b1dc8,_0x4bc409]);}_0x34e66d[_0x308e('0x14')][_0x308e('0x1')](_0x533505=>{const {type:_0x2a59b2,data:_0x4df2f0}=_0x533505;if('formatBlock'==_0x2a59b2&&_0x4df2f0&&_0x308e('0x13')==_0x4df2f0['commandName']){const _0xe0590c=_0x4df2f0[_0x308e('0x16')][0x0][_0x308e('0x10')],_0x11fb1b=tn(_0xe0590c);if(null!==_0x11fb1b)return{'type':_0x308e('0x4'),'content':_0x2838ec(_0x1eb0b2,_0x308e('0x2'),_0x2b7730(0x1,_0x11fb1b))};const _0x2e23a5=_0x215cd5[_0x308e('0xd')](_0x2d3a04=>_0x2d3a04[_0x308e('0x3')]===_0xe0590c)[_0x308e('0xf')];return{'type':_0x308e('0x4'),'content':_0x2838ec(_0x1eb0b2,'*Change\x20to:*\x20%0',_0x45ddda(0x1,_0x2e23a5))};}});}}function tn(_0x416cca){const _0x34335a=_0x416cca[_0x308e('0x11')](/^heading(\d+)$/);return _0x34335a?_0x34335a[0x1]:null;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x30ec=['editor','FORMAT_HIGHLIGHT','push','plugins','color','config','selection','model','format','commandName','get','formatInline','item','backward','_descriptionFactory','toLowerCase','title','*Set\x20highlight:*\x20%0','markInlineFormat','getAttribute','TrackChangesEditing','has','afterInit','document','locale','hasAttribute','value','highlight'];(function(_0x464f6f,_0x30ec5e){const _0x448d86=function(_0x56e61c){while(--_0x56e61c){_0x464f6f['push'](_0x464f6f['shift']());}};_0x448d86(++_0x30ec5e);}(_0x30ec,0x18b));const _0x448d=function(_0x464f6f,_0x30ec5e){_0x464f6f=_0x464f6f-0x0;let _0x448d86=_0x30ec[_0x464f6f];return _0x448d86;};import{Plugin as _0x306e2c}from'ckeditor5/src/core';import{getTranslation as _0x21bd97}from'../utils/common-translations';import{getRangesWithAttribute as _0x5a69c7}from'./utils';export default class Q extends _0x306e2c{[_0x448d('0x13')](){const _0x463d15=this[_0x448d('0x19')];if(!_0x463d15[_0x448d('0x0')][_0x448d('0x12')]('HighlightEditing'))return;const _0x486bf2=_0x463d15['plugins'][_0x448d('0x7')](_0x448d('0x11'));_0x486bf2['enableCommand'](_0x448d('0x18'),(_0xa9604a,_0x486d4f={})=>{const _0x22d707=_0x463d15[_0x448d('0x4')][_0x448d('0x14')][_0x448d('0x3')],_0x10e923=_0x22d707[_0x448d('0x10')](_0x448d('0x18'));let _0x45d1a0=_0x486d4f[_0x448d('0x17')],_0x50007c=[];if(_0x22d707['isCollapsed']){const _0x424d18=_0x22d707['getFirstPosition']();if(!_0x22d707[_0x448d('0x16')]('highlight'))return void _0xa9604a(_0x486d4f);{const _0x396240=_0x2631ae=>_0x2631ae[_0x448d('0x9')][_0x448d('0x10')](_0x448d('0x18'))===_0x10e923,_0x4cbfb9=_0x424d18['getLastMatchingPosition'](_0x396240,{'direction':_0x448d('0xa')}),_0x442ee5=_0x424d18['getLastMatchingPosition'](_0x396240);_0x50007c=[_0x463d15[_0x448d('0x4')]['createRange'](_0x4cbfb9,_0x442ee5)],_0x45d1a0==_0x10e923&&(_0x45d1a0=null);}}else for(const _0x1b1314 of _0x22d707['getRanges']())_0x45d1a0?_0x50007c[_0x448d('0x1b')](_0x1b1314):_0x50007c[_0x448d('0x1b')](..._0x5a69c7(_0x448d('0x18'),_0x1b1314,_0x463d15[_0x448d('0x4')]));_0x463d15['model']['change'](()=>{for(const _0x3a0097 of _0x50007c)_0x486bf2[_0x448d('0xf')](_0x3a0097,{'commandName':_0x448d('0x18'),'commandParams':[{'value':_0x45d1a0}]});});});const _0x44c896=_0x463d15[_0x448d('0x15')];_0x486bf2[_0x448d('0xb')]['registerDescriptionCallback'](_0x2ae12c=>{const {type:_0xdf9f14,data:_0x2a86e3}=_0x2ae12c;if(_0x448d('0x8')==_0xdf9f14&&_0x2a86e3&&_0x448d('0x18')==_0x2a86e3[_0x448d('0x6')]){const _0x51b589=_0x2a86e3['commandParams'][0x0][_0x448d('0x17')];if(_0x51b589){const _0x552f30=_0x463d15[_0x448d('0x2')]['get']('highlight.options')['find'](_0x4beae6=>_0x4beae6[_0x448d('0x4')]==_0x51b589),_0x190a02=_0x44c896['_t'](_0x552f30[_0x448d('0xd')])[_0x448d('0xc')]();return{'type':_0x448d('0x5'),'content':_0x21bd97(_0x44c896,_0x448d('0xe'),_0x190a02),'color':{'value':_0x552f30[_0x448d('0x1')],'title':_0x552f30['title']}};}return{'type':'format','content':_0x21bd97(_0x44c896,'*Remove\x20highlight*',_0x21bd97(_0x44c896,_0x448d('0x1a')))};}});}}
23
+ const _0x1531=['document','getLastMatchingPosition','selection','formatInline','has','registerDescriptionCallback','*Remove\x20highlight*','*Set\x20highlight:*\x20%0','change','model','_descriptionFactory','getAttribute','color','toLowerCase','locale','find','config','enableCommand','editor','afterInit','FORMAT_HIGHLIGHT','HighlightEditing','createRange','push','plugins','commandName','get','format','getRanges','TrackChangesEditing','highlight','highlight.options','title','value','isCollapsed'];(function(_0x2fb0e1,_0x1531cc){const _0x1b3496=function(_0x18dc1d){while(--_0x18dc1d){_0x2fb0e1['push'](_0x2fb0e1['shift']());}};_0x1b3496(++_0x1531cc);}(_0x1531,0x12c));const _0x1b34=function(_0x2fb0e1,_0x1531cc){_0x2fb0e1=_0x2fb0e1-0x0;let _0x1b3496=_0x1531[_0x2fb0e1];return _0x1b3496;};import{Plugin as _0x2580a5}from'ckeditor5/src/core';import{getTranslation as _0x4ba7cc}from'../utils/common-translations';import{getRangesWithAttribute as _0x835acf}from'./utils';export default class Q extends _0x2580a5{[_0x1b34('0x22')](){const _0x296280=this[_0x1b34('0x21')];if(!_0x296280['plugins'][_0x1b34('0x13')](_0x1b34('0x1')))return;const _0x2a8034=_0x296280[_0x1b34('0x4')][_0x1b34('0x6')](_0x1b34('0x9'));_0x2a8034[_0x1b34('0x20')](_0x1b34('0xa'),(_0x357596,_0x3b163f={})=>{const _0x1dfa62=_0x296280[_0x1b34('0x18')][_0x1b34('0xf')][_0x1b34('0x11')],_0x5e50da=_0x1dfa62['getAttribute'](_0x1b34('0xa'));let _0x3b418c=_0x3b163f[_0x1b34('0xd')],_0x5d1099=[];if(_0x1dfa62[_0x1b34('0xe')]){const _0x37bf01=_0x1dfa62['getFirstPosition']();if(!_0x1dfa62['hasAttribute'](_0x1b34('0xa')))return void _0x357596(_0x3b163f);{const _0x4d25a3=_0x5b1432=>_0x5b1432['item'][_0x1b34('0x1a')](_0x1b34('0xa'))===_0x5e50da,_0x49efc6=_0x37bf01[_0x1b34('0x10')](_0x4d25a3,{'direction':'backward'}),_0x587342=_0x37bf01[_0x1b34('0x10')](_0x4d25a3);_0x5d1099=[_0x296280['model'][_0x1b34('0x2')](_0x49efc6,_0x587342)],_0x3b418c==_0x5e50da&&(_0x3b418c=null);}}else for(const _0x1439c6 of _0x1dfa62[_0x1b34('0x8')]())_0x3b418c?_0x5d1099[_0x1b34('0x3')](_0x1439c6):_0x5d1099['push'](..._0x835acf(_0x1b34('0xa'),_0x1439c6,_0x296280[_0x1b34('0x18')]));_0x296280[_0x1b34('0x18')][_0x1b34('0x17')](()=>{for(const _0x232939 of _0x5d1099)_0x2a8034['markInlineFormat'](_0x232939,{'commandName':_0x1b34('0xa'),'commandParams':[{'value':_0x3b418c}]});});});const _0x3d8926=_0x296280[_0x1b34('0x1d')];_0x2a8034[_0x1b34('0x19')][_0x1b34('0x14')](_0x4bd412=>{const {type:_0x3eb8e2,data:_0x1625c6}=_0x4bd412;if(_0x1b34('0x12')==_0x3eb8e2&&_0x1625c6&&_0x1b34('0xa')==_0x1625c6[_0x1b34('0x5')]){const _0x22606c=_0x1625c6['commandParams'][0x0][_0x1b34('0xd')];if(_0x22606c){const _0x372c4d=_0x296280[_0x1b34('0x1f')][_0x1b34('0x6')](_0x1b34('0xb'))[_0x1b34('0x1e')](_0x4d61cd=>_0x4d61cd[_0x1b34('0x18')]==_0x22606c),_0x5e4e44=_0x3d8926['_t'](_0x372c4d[_0x1b34('0xc')])[_0x1b34('0x1c')]();return{'type':'format','content':_0x4ba7cc(_0x3d8926,_0x1b34('0x16'),_0x5e4e44),'color':{'value':_0x372c4d[_0x1b34('0x1b')],'title':_0x372c4d[_0x1b34('0xc')]}};}return{'type':_0x1b34('0x7'),'content':_0x4ba7cc(_0x3d8926,_0x1b34('0x15'),_0x4ba7cc(_0x3d8926,_0x1b34('0x0')))};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3024=['HorizontalLineEditing','createEmptyElement','dataDowncast','registerElementLabel','ELEMENT_HORIZONTAL_LINE','horizontalLine','div','ck-horizontal-line','TrackChangesEditing','editor','get','createContainerElement','enableCommand','plugins','has','conversion'];(function(_0x50b0ca,_0x30242e){const _0x25a67e=function(_0x5f4624){while(--_0x5f4624){_0x50b0ca['push'](_0x50b0ca['shift']());}};_0x25a67e(++_0x30242e);}(_0x3024,0x1b7));const _0x25a6=function(_0x50b0ca,_0x30242e){_0x50b0ca=_0x50b0ca-0x0;let _0x25a67e=_0x3024[_0x50b0ca];return _0x25a67e;};import{Plugin as _0x115e7c}from'ckeditor5/src/core';import{getTranslation as _0x39dd75}from'../utils/common-translations';export default class V extends _0x115e7c{['afterInit'](){const _0x418aae=this[_0x25a6('0x2')];if(!_0x418aae[_0x25a6('0x6')][_0x25a6('0x7')](_0x25a6('0x9')))return;_0x418aae[_0x25a6('0x6')][_0x25a6('0x3')](_0x25a6('0x1'))[_0x25a6('0x5')](_0x25a6('0xe'));const _0x1e3a9e=_0x418aae['plugins'][_0x25a6('0x3')]('TrackChangesEditing'),_0x2bd1db=_0x418aae['locale'];_0x1e3a9e['_descriptionFactory'][_0x25a6('0xc')](_0x25a6('0xe'),_0x47f718=>_0x39dd75(_0x2bd1db,_0x25a6('0xd'),_0x47f718)),_0x418aae[_0x25a6('0x8')]['for'](_0x25a6('0xb'))['elementToStructure']({'model':_0x25a6('0xe'),'view':(_0x3d2a8d,{writer:_0x126d38,options:_0x282faa})=>{if(!_0x282faa['showSuggestionHighlights'])return;const _0x4f5e98=_0x126d38[_0x25a6('0x4')](_0x25a6('0xf')),_0x5fae01=_0x126d38[_0x25a6('0xa')]('hr');return _0x126d38['addClass'](_0x25a6('0x0'),_0x4f5e98),_0x126d38['insert'](_0x126d38['createPositionAt'](_0x4f5e98,0x0),_0x5fae01),_0x4f5e98;},'converterPriority':'high'});}}
23
+ const _0x3ff8=['dataDowncast','high','TrackChangesEditing','conversion','locale','insert','HorizontalLineEditing','horizontalLine','get','for','addClass','registerElementLabel','enableCommand','createContainerElement','plugins','ck-horizontal-line','editor','elementToStructure'];(function(_0x152f8f,_0x3ff8e5){const _0xfbfeb8=function(_0x155af8){while(--_0x155af8){_0x152f8f['push'](_0x152f8f['shift']());}};_0xfbfeb8(++_0x3ff8e5);}(_0x3ff8,0xbd));const _0xfbfe=function(_0x152f8f,_0x3ff8e5){_0x152f8f=_0x152f8f-0x0;let _0xfbfeb8=_0x3ff8[_0x152f8f];return _0xfbfeb8;};import{Plugin as _0x415c93}from'ckeditor5/src/core';import{getTranslation as _0x2083bf}from'../utils/common-translations';export default class V extends _0x415c93{['afterInit'](){const _0x1d185d=this[_0xfbfe('0x7')];if(!_0x1d185d[_0xfbfe('0x5')]['has'](_0xfbfe('0xf')))return;_0x1d185d['plugins'][_0xfbfe('0x11')](_0xfbfe('0xb'))[_0xfbfe('0x3')]('horizontalLine');const _0x2d946f=_0x1d185d[_0xfbfe('0x5')][_0xfbfe('0x11')](_0xfbfe('0xb')),_0x4d8ae2=_0x1d185d[_0xfbfe('0xd')];_0x2d946f['_descriptionFactory'][_0xfbfe('0x2')](_0xfbfe('0x10'),_0x1f53be=>_0x2083bf(_0x4d8ae2,'ELEMENT_HORIZONTAL_LINE',_0x1f53be)),_0x1d185d[_0xfbfe('0xc')][_0xfbfe('0x0')](_0xfbfe('0x9'))[_0xfbfe('0x8')]({'model':'horizontalLine','view':(_0x2ea039,{writer:_0x23e911,options:_0x871b5d})=>{if(!_0x871b5d['showSuggestionHighlights'])return;const _0x1c4757=_0x23e911[_0xfbfe('0x4')]('div'),_0x4da27e=_0x23e911['createEmptyElement']('hr');return _0x23e911[_0xfbfe('0x1')](_0xfbfe('0x6'),_0x1c4757),_0x23e911[_0xfbfe('0xe')](_0x23e911['createPositionAt'](_0x1c4757,0x0),_0x4da27e),_0x1c4757;},'converterPriority':_0xfbfe('0xa')});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3b8a=['enableCommand','rawHtml','selection','getAttribute','*Change\x20%0\x20content*','has','change','ELEMENT_HTML_EMBED','markBlockFormat','registerElementLabel','plugins','getSelectedElement','element','commandName','cancel','_descriptionFactory','model','document','afterInit','editor','get','htmlEmbed','HtmlEmbed','rawHtmlApi','getCustomProperty','value','TrackChangesEditing','format'];(function(_0x470ec5,_0x3b8a59){const _0x39e498=function(_0x368f2f){while(--_0x368f2f){_0x470ec5['push'](_0x470ec5['shift']());}};_0x39e498(++_0x3b8a59);}(_0x3b8a,0x18e));const _0x39e4=function(_0x470ec5,_0x3b8a59){_0x470ec5=_0x470ec5-0x0;let _0x39e498=_0x3b8a[_0x470ec5];return _0x39e498;};import{Plugin as _0x31972e}from'ckeditor5/src/core';import{getTranslation as _0x5e79d0}from'../utils/common-translations';export default class X extends _0x31972e{[_0x39e4('0xc')](){const _0x1aba21=this[_0x39e4('0xd')];if(!_0x1aba21[_0x39e4('0x4')][_0x39e4('0x1b')](_0x39e4('0x10')))return;const _0x521883=_0x1aba21[_0x39e4('0x4')]['get'](_0x39e4('0x14')),_0x438260=_0x1aba21['locale'],_0x13991f=_0x1aba21['editing']['view']['document'][_0x39e4('0x18')];_0x521883[_0x39e4('0x9')][_0x39e4('0x3')]('rawHtml',_0x255d17=>_0x5e79d0(_0x438260,_0x39e4('0x1'),_0x255d17)),_0x1aba21['plugins'][_0x39e4('0xe')](_0x39e4('0x14'))[_0x39e4('0x16')](_0x39e4('0xf'),(_0x193f21,_0x4b9622)=>{const _0x1fe490=_0x1aba21[_0x39e4('0xa')],_0x47b068=_0x1fe490[_0x39e4('0xb')]['selection'];_0x1fe490[_0x39e4('0x0')](()=>{const _0x2dccfc=function(_0x1e0c69){const _0xf5c8fe=_0x1e0c69[_0x39e4('0x5')]();if(_0xf5c8fe&&_0xf5c8fe['is'](_0x39e4('0x6'),_0x39e4('0x17')))return _0x1e0c69[_0x39e4('0x5')]();return null;}(_0x47b068);if(!_0x2dccfc)return void _0x193f21(null);const _0x5109a1=_0x2dccfc[_0x39e4('0x19')](_0x39e4('0x13'))||'';if(void 0x0===_0x4b9622)return;if(_0x4b9622===_0x5109a1)return;_0x521883[_0x39e4('0x2')](_0x2dccfc,{'commandName':_0x39e4('0xf'),'commandParams':[_0x4b9622]}),_0x13991f[_0x39e4('0x5')]()[_0x39e4('0x12')](_0x39e4('0x11'))[_0x39e4('0x8')]();});}),_0x521883[_0x39e4('0x9')]['registerDescriptionCallback'](_0xc496fe=>{const {data:_0x24be97}=_0xc496fe;if(_0x24be97&&_0x39e4('0xf')==_0x24be97[_0x39e4('0x7')]){const _0x350b53=_0x5e79d0(_0x438260,_0x39e4('0x1'));return{'type':_0x39e4('0x15'),'content':_0x5e79d0(_0x438260,_0x39e4('0x1a'),_0x350b53)};}});}}
23
+ const _0x277d=['TrackChangesEditing','has','htmlEmbed','editing','commandName','element','registerDescriptionCallback','document','getSelectedElement','locale','HtmlEmbed','ELEMENT_HTML_EMBED','enableCommand','value','afterInit','plugins','model','_descriptionFactory','getCustomProperty','cancel','view','selection','registerElementLabel','rawHtml','get'];(function(_0x229d52,_0x277d50){const _0x3c204e=function(_0x471ff0){while(--_0x471ff0){_0x229d52['push'](_0x229d52['shift']());}};_0x3c204e(++_0x277d50);}(_0x277d,0xf5));const _0x3c20=function(_0x229d52,_0x277d50){_0x229d52=_0x229d52-0x0;let _0x3c204e=_0x277d[_0x229d52];return _0x3c204e;};import{Plugin as _0xc49ab4}from'ckeditor5/src/core';import{getTranslation as _0x3e3713}from'../utils/common-translations';export default class X extends _0xc49ab4{[_0x3c20('0x13')](){const _0x19af1=this['editor'];if(!_0x19af1['plugins'][_0x3c20('0x6')](_0x3c20('0xf')))return;const _0x5a9075=_0x19af1[_0x3c20('0x14')][_0x3c20('0x4')](_0x3c20('0x5')),_0x1c27e0=_0x19af1[_0x3c20('0xe')],_0xa7a129=_0x19af1[_0x3c20('0x8')][_0x3c20('0x0')][_0x3c20('0xc')][_0x3c20('0x1')];_0x5a9075['_descriptionFactory'][_0x3c20('0x2')](_0x3c20('0x3'),_0x183ef5=>_0x3e3713(_0x1c27e0,_0x3c20('0x10'),_0x183ef5)),_0x19af1['plugins'][_0x3c20('0x4')]('TrackChangesEditing')[_0x3c20('0x11')](_0x3c20('0x7'),(_0x492d48,_0x324be0)=>{const _0xbf2eb4=_0x19af1[_0x3c20('0x15')],_0x3451d9=_0xbf2eb4[_0x3c20('0xc')][_0x3c20('0x1')];_0xbf2eb4['change'](()=>{const _0x47b731=function(_0x55de24){const _0x72415c=_0x55de24[_0x3c20('0xd')]();if(_0x72415c&&_0x72415c['is'](_0x3c20('0xa'),'rawHtml'))return _0x55de24[_0x3c20('0xd')]();return null;}(_0x3451d9);if(!_0x47b731)return void _0x492d48(null);const _0x4943eb=_0x47b731['getAttribute'](_0x3c20('0x12'))||'';if(void 0x0===_0x324be0)return;if(_0x324be0===_0x4943eb)return;_0x5a9075['markBlockFormat'](_0x47b731,{'commandName':_0x3c20('0x7'),'commandParams':[_0x324be0]}),_0xa7a129['getSelectedElement']()[_0x3c20('0x17')]('rawHtmlApi')[_0x3c20('0x18')]();});}),_0x5a9075[_0x3c20('0x16')][_0x3c20('0xb')](_0x22cf22=>{const {data:_0x23824c}=_0x22cf22;if(_0x23824c&&_0x3c20('0x7')==_0x23824c[_0x3c20('0x9')]){const _0x5ff36c=_0x3e3713(_0x1c27e0,'ELEMENT_HTML_EMBED');return{'type':'format','content':_0x3e3713(_0x1c27e0,'*Change\x20%0\x20content*',_0x5ff36c)};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x37b3=['getSuggestion','previous','value','getContainedElement','newValue','Inline\x20image\x20to\x20block\x20image','convertInlineImageToBlock','imageStyle','*Set\x20image\x20width:*\x20%0','createRange','forEach','schema','getNearestSelectionRange','newRange','isInlineImage','Block\x20image\x20to\x20inline\x20image','get','formatInline','getSuggestionCallback','has','end','element','isEqual','isInContent','addObject','isCollapsed','*Reset\x20image\x20width*','markInsertion','convertBlockImageToInline','subType','start','isBlockImage','isOwn','registerPostFixer','ELEMENT_CAPTION','discardSuggestion','insertion','ImageResize','chain','detach','normalizedStyles','imageTypeBlock','getFirstRange','ImageEditing','commandReversedParams','ImageInlineEditing','plugins','format','_descriptionFactory','next','toPrevious','getSuggestions','enableCommand','backward','imageCaption','TrackChangesEditing','commandParams','getCaptionFromImageModelElement','document','ELEMENT_IMAGE','nodeBefore','filter','markDeletion','ImageTextAlternativeEditing','editor','differ','name','toLowerCase','commandName','_suggestionFactory','accept','registerCustomCallback','type','model','getChangedMarkers','*Set\x20image\x20text\x20alternative:*\x20%0','FORMAT_SIDE_IMAGE','title','fromPosition','suggestion','ImageBlockEditing','imageBlock','ImageUploadEditing','commands','markBlockFormat','alt','hasSuggestion','registerElementLabel','resizeImage','*Format:*\x20%0','imageStylePostApply','afterInit','registerDescriptionCallback','selection','length','removeObject','isBefore','shouldConvertImageType','Users','getClosestSelectedImageElement','ELEMENT_INLINE_IMAGE','discard','join','refresh','hasAttribute','formatBlock','imageTextAlternative','findIndex','_splitMarkerName','nodeAfter','side','width','ImageCaptionEditing','imageStylePreApply','_findSuggestions','imageTypeInline','from','change','caption','deletion','createRangeOn','head','uploadImage','ImageCaptionUtils','author','ImageStyleEditing','locale'];(function(_0x1e8d8b,_0x37b3a2){const _0x52979f=function(_0x3fbb14){while(--_0x3fbb14){_0x1e8d8b['push'](_0x1e8d8b['shift']());}};_0x52979f(++_0x37b3a2);}(_0x37b3,0xe4));const _0x5297=function(_0x1e8d8b,_0x37b3a2){_0x1e8d8b=_0x1e8d8b-0x0;let _0x52979f=_0x37b3[_0x1e8d8b];return _0x52979f;};import{Plugin as _0x2187cb}from'ckeditor5/src/core';import{LivePosition as _0x4e4a03}from'ckeditor5/src/engine';import{uid as _0x3eb7e0}from'ckeditor5/src/utils';import{getTranslation as _0x408a6d}from'../utils/common-translations';export default class Y extends _0x2187cb{[_0x5297('0x75')](){const _0x3abc47=this[_0x5297('0x5a')];if(!_0x3abc47[_0x5297('0x48')][_0x5297('0x2d')](_0x5297('0x45')))return;const _0x3f89ea=_0x3abc47['plugins'][_0x5297('0x2a')](_0x5297('0x51')),_0x51d7a7=_0x3abc47[_0x5297('0x48')][_0x5297('0x2a')]('ImageUtils'),_0x2bf3d1={},_0x5d7a22=_0x3abc47[_0x5297('0x19')];if(_0x3f89ea[_0x5297('0x4e')]('insertImage'),_0x3f89ea[_0x5297('0x4a')][_0x5297('0x71')](_0x5297('0x6b'),_0x20e8e3=>_0x408a6d(_0x5d7a22,_0x5297('0x55'),_0x20e8e3)),_0x3f89ea[_0x5297('0x4a')][_0x5297('0x71')]('imageInline',_0x1d73a8=>_0x408a6d(_0x5d7a22,_0x5297('0x7e'),_0x1d73a8)),_0x3f89ea[_0x5297('0x4a')]['registerElementLabel']('caption',()=>_0x408a6d(_0x5d7a22,_0x5297('0x3c'))),_0x3abc47[_0x5297('0x48')][_0x5297('0x2d')](_0x5297('0x6c'))&&_0x3f89ea['enableCommand'](_0x5297('0x15')),_0x3abc47['plugins'][_0x5297('0x2d')](_0x5297('0x6a'))&&_0x3abc47[_0x5297('0x48')][_0x5297('0x2d')](_0x5297('0x47'))&&(_0x3f89ea['enableCommand'](_0x5297('0xe'),(_0x2be1fb,_0x170126)=>{const _0x404148=_0x51d7a7[_0x5297('0x7d')](_0x3abc47[_0x5297('0x63')][_0x5297('0x54')][_0x5297('0x77')]);_0x3abc47[_0x5297('0x63')][_0x5297('0x10')](()=>{_0x3f89ea[_0x5297('0x6e')](_0x404148,{'commandName':'imageTypeInline','commandParams':[_0x170126]},[],'convertBlockImageToInline');});}),_0x3f89ea[_0x5297('0x4e')](_0x5297('0x43'),(_0x59276a,_0x5a0dc5)=>{_0x3abc47['model'][_0x5297('0x10')](_0x49e021=>{let _0x5f2340=_0x51d7a7[_0x5297('0x7d')](_0x3abc47[_0x5297('0x63')][_0x5297('0x54')][_0x5297('0x77')]),_0x3b568d=_0x49e021[_0x5297('0x13')](_0x5f2340);const _0x5d87d0=_0x4e4a03[_0x5297('0x68')](_0x3b568d[_0x5297('0x38')],_0x5297('0x4c')),_0x9fa9b=_0x4e4a03[_0x5297('0x68')](_0x3b568d['end'],'toNext');_0x3f89ea['forceDefaultExecution'](()=>_0x59276a(_0x5a0dc5)),_0x5f2340=_0x51d7a7[_0x5297('0x7d')](_0x3abc47[_0x5297('0x63')][_0x5297('0x54')]['selection']),_0x3b568d=_0x49e021[_0x5297('0x13')](_0x5f2340);const _0x595f7b=_0x49e021[_0x5297('0x23')](_0x5d87d0,_0x9fa9b);_0x5d87d0[_0x5297('0x41')](),_0x9fa9b['detach'](),_0x3f89ea['markBlockFormat'](_0x5f2340,{'commandName':_0x5297('0xe')},[],_0x5297('0x20')),_0x595f7b['start'][_0x5297('0x7a')](_0x3b568d[_0x5297('0x38')])&&_0x3f89ea[_0x5297('0x35')](_0x49e021[_0x5297('0x23')](_0x595f7b['start'],_0x3b568d[_0x5297('0x38')]),_0x5297('0x20')),_0x3b568d['end'][_0x5297('0x7a')](_0x595f7b[_0x5297('0x2e')])&&_0x3f89ea[_0x5297('0x35')](_0x49e021[_0x5297('0x23')](_0x3b568d[_0x5297('0x2e')],_0x595f7b['end']),'convertInlineImageToBlock');});}),_0x3f89ea[_0x5297('0x5f')]['registerCustomCallback'](_0x5297('0x4'),_0x5297('0x20'),_0x5297('0x1'),()=>{}),_0x3f89ea['_suggestionFactory'][_0x5297('0x61')]('formatBlock',_0x5297('0x20'),'accept',()=>{}),_0x3f89ea['_suggestionFactory'][_0x5297('0x61')]('formatBlock',_0x5297('0x20'),_0x5297('0x0'),_0x3f89ea[_0x5297('0x5f')][_0x5297('0x2c')](_0x5297('0x4'),'',_0x5297('0x60'))),_0x3f89ea[_0x5297('0x5f')][_0x5297('0x61')]('insertion',_0x5297('0x20'),_0x5297('0x1'),()=>{}),_0x3f89ea[_0x5297('0x5f')]['registerCustomCallback'](_0x5297('0x3e'),_0x5297('0x20'),'discard',([_0xd95cf1])=>{const _0x49c301=_0x3f89ea['_suggestionFactory'][_0x5297('0x2c')](_0x5297('0x3e'),'',_0x5297('0x0'));let _0x228f58=_0xd95cf1[_0x5297('0x38')],_0x48655e=_0xd95cf1['end'];const _0x4c7e3d=_0x3abc47[_0x5297('0x63')][_0x5297('0x25')][_0x5297('0x26')](_0x228f58,_0x5297('0x4f')),_0x292f45=_0x3abc47[_0x5297('0x63')][_0x5297('0x25')][_0x5297('0x26')](_0x48655e,'forward');_0x4c7e3d['isCollapsed']&&(_0x228f58=_0x4c7e3d[_0x5297('0x38')]),_0x292f45[_0x5297('0x33')]&&(_0x48655e=_0x292f45[_0x5297('0x2e')]),_0x49c301([_0x3abc47[_0x5297('0x63')][_0x5297('0x23')](_0x228f58,_0x48655e)]);}),_0x3f89ea['_suggestionFactory']['registerCustomCallback'](_0x5297('0x4'),_0x5297('0x20'),_0x5297('0x40'),_0x2e0be3),_0x3f89ea['_suggestionFactory'][_0x5297('0x61')](_0x5297('0x3e'),_0x5297('0x20'),'chain',_0x2e0be3)),_0x3abc47[_0x5297('0x48')]['has'](_0x5297('0xb'))&&(_0x3f89ea[_0x5297('0x4e')]('toggleImageCaption',(_0x3f0782,_0x49e06b)=>{const _0x4ab62c=_0x3abc47['plugins'][_0x5297('0x2a')](_0x5297('0x16'));let _0x1eca4b=_0x51d7a7[_0x5297('0x7d')](_0x3abc47[_0x5297('0x63')][_0x5297('0x54')]['selection']),_0x1eff4a=_0x4ab62c['getCaptionFromImageModelElement'](_0x1eca4b);_0x3abc47[_0x5297('0x63')]['change'](()=>{if(_0x1eff4a)return void _0x3f89ea[_0x5297('0x58')](_0x3abc47['model'][_0x5297('0x13')](_0x1eff4a));const _0xad1e6=_0x51d7a7[_0x5297('0x39')](_0x1eca4b);_0x3f0782(_0x49e06b),_0x1eca4b=_0x51d7a7[_0x5297('0x7d')](_0x3abc47[_0x5297('0x63')][_0x5297('0x54')][_0x5297('0x77')]),_0x1eff4a=_0x4ab62c[_0x5297('0x53')](_0x1eca4b),_0x3f89ea[_0x5297('0x35')](_0x3abc47[_0x5297('0x63')][_0x5297('0x13')](_0x1eff4a),_0xad1e6?null:'imageCaption');});}),_0x3f89ea['_suggestionFactory']['registerCustomCallback'](_0x5297('0x3e'),_0x5297('0x50'),'chain',_0x2e0be3)),_0x3abc47[_0x5297('0x48')]['has'](_0x5297('0x18'))){_0x3f89ea['enableCommand'](_0x5297('0x21'),(_0x417426,_0x36d117)=>{const _0x3f25a9=_0x3abc47[_0x5297('0x48')][_0x5297('0x2a')](_0x5297('0x7c'))['me'],_0x51b23e=_0x3abc47[_0x5297('0x6d')]['get'](_0x5297('0x21'));let _0x5e228b=_0x51d7a7[_0x5297('0x7d')](_0x3abc47[_0x5297('0x63')][_0x5297('0x54')][_0x5297('0x77')]),_0x26a5ed=_0x3abc47[_0x5297('0x63')][_0x5297('0x13')](_0x5e228b),_0xb9cba5=_0x51b23e[_0x5297('0x1c')];if(_0xb9cba5==_0x36d117[_0x5297('0x1c')])return;const _0x462b18={'commandName':_0x5297('0x21'),'commandParams':[_0x36d117],'formatGroupId':_0x3eb7e0()};_0x3abc47['model'][_0x5297('0x10')](()=>{if(_0x3f89ea[_0x5297('0x4d')]()[_0x5297('0x57')](_0x14e094=>_0x14e094['isInContent']&&_0x3f25a9==_0x14e094[_0x5297('0x17')]&&(_0x5297('0x4')==_0x14e094[_0x5297('0x62')]||_0x5297('0x2b')==_0x14e094['type'])&&('imageStylePreApply'==_0x14e094[_0x5297('0x37')]||_0x5297('0x74')==_0x14e094['subType'])&&_0x14e094[_0x5297('0x44')]()['isEqual'](_0x26a5ed))[_0x5297('0x24')](_0x172dc4=>_0x3f89ea['discardSuggestion'](_0x172dc4[_0x5297('0x14')])),_0x5e228b=_0x51d7a7[_0x5297('0x7d')](_0x3abc47['model'][_0x5297('0x54')][_0x5297('0x77')]),_0x26a5ed=_0x3abc47[_0x5297('0x63')][_0x5297('0x13')](_0x5e228b),_0x51b23e[_0x5297('0x2')](),_0x3abc47['commands'][_0x5297('0x2a')](_0x5297('0xe'))['refresh'](),_0x3abc47['commands']['get'](_0x5297('0x43'))[_0x5297('0x2')](),_0xb9cba5=_0x51b23e[_0x5297('0x1c')],_0xb9cba5!=_0x36d117[_0x5297('0x1c')])return _0x51d7a7[_0x5297('0x28')](_0x5e228b)&&_0x51b23e[_0x5297('0x7b')](_0x36d117[_0x5297('0x1c')],_0x5e228b)?(_0x417426(_0x36d117),_0x5e228b=_0x51d7a7['getClosestSelectedImageElement'](_0x3abc47[_0x5297('0x63')][_0x5297('0x54')][_0x5297('0x77')]),void _0x3f89ea[_0x5297('0x6e')](_0x5e228b,{..._0x462b18,'commandReversedParams':[{'value':_0xb9cba5||null}]},[],_0x5297('0xc'))):void(_0x51d7a7[_0x5297('0x39')](_0x5e228b)?_0x3f89ea[_0x5297('0x6e')](_0x5e228b,_0x462b18,[],_0x5297('0x74')):_0x3f89ea['markInlineFormat'](_0x26a5ed,_0x462b18,'imageStylePostApply'));});});for(const _0x55e384 of _0x3abc47['plugins']['get'](_0x5297('0x18'))[_0x5297('0x42')])_0x2bf3d1[_0x55e384[_0x5297('0x5c')]]=_0x55e384[_0x5297('0x67')][_0x5297('0x5d')]();_0x3f89ea[_0x5297('0x5f')][_0x5297('0x61')](_0x5297('0x4'),_0x5297('0xc'),'join',()=>{}),_0x3f89ea[_0x5297('0x5f')]['registerCustomCallback'](_0x5297('0x4'),_0x5297('0x74'),'join',()=>{}),_0x3f89ea[_0x5297('0x5f')][_0x5297('0x61')](_0x5297('0x2b'),'imageStylePostApply',_0x5297('0x1'),()=>{}),_0x3f89ea[_0x5297('0x5f')]['registerCustomCallback']('formatBlock',_0x5297('0xc'),_0x5297('0x60'),()=>{}),_0x3f89ea[_0x5297('0x5f')][_0x5297('0x61')]('formatBlock','imageStylePreApply',_0x5297('0x0'),(_0x657d73,_0x6e2f98)=>{_0x3f89ea[_0x5297('0x5f')][_0x5297('0x2c')](_0x5297('0x4'),'','accept')(_0x657d73,{'commandName':_0x6e2f98[_0x5297('0x5e')],'commandParams':_0x6e2f98[_0x5297('0x46')]});}),_0x3f89ea['_suggestionFactory'][_0x5297('0x61')](_0x5297('0x4'),_0x5297('0xc'),'chain',_0x2e0be3);}const _0x2142cf=[{'type':_0x5297('0x4'),'subType':_0x5297('0xc')},{'type':_0x5297('0x3e'),'subType':_0x5297('0x50')},{'type':_0x5297('0x4'),'subType':_0x5297('0x20')},{'type':_0x5297('0x3e'),'subType':_0x5297('0x20')}];function _0x58c5d2(_0x51afb2,_0x497856){const _0x5bd3c2=_0x2142cf[_0x5297('0x6')](({type:_0x4b624d,subType:_0x46901c})=>_0x51afb2[_0x5297('0x62')]==_0x4b624d&&_0x51afb2['subType']==_0x46901c),_0x4054de=_0x2142cf[_0x5297('0x6')](({type:_0xe4fd2a,subType:_0x3896e8})=>_0x497856['type']==_0xe4fd2a&&_0x497856['subType']==_0x3896e8);if(_0x5bd3c2<0x0||_0x4054de<0x0)return!0x1;const _0x34a278=_0x51afb2['getFirstRange'](),_0x178a02=_0x497856[_0x5297('0x44')]();if((0x0==_0x5bd3c2||0x1==_0x5bd3c2)&&0x2==_0x4054de&&_0x34a278['isIntersecting'](_0x178a02))return!0x0;if(0x2==_0x5bd3c2&&0x3==_0x4054de){const _0x341424=_0x3f89ea[_0x5297('0xd')](_0x34a278,_0x5297('0x3e'))['filter'](({suggestion:_0x51f833,meta:_0x5eb759})=>_0x5eb759[_0x5297('0x3a')]&&_0x5297('0x20')==_0x51f833[_0x5297('0x37')]);if(_0x341424['length']>0x1&&_0x178a02[_0x5297('0x2e')][_0x5297('0x30')](_0x34a278[_0x5297('0x38')]))return!0x0;if(0x1==_0x341424[_0x5297('0x78')]&&(_0x34a278['start'][_0x5297('0x30')](_0x178a02[_0x5297('0x2e')])||_0x34a278[_0x5297('0x2e')][_0x5297('0x30')](_0x178a02[_0x5297('0x38')])))return!0x0;}if(0x3==_0x5bd3c2&&0x3==_0x4054de&&_0x34a278[_0x5297('0x38')][_0x5297('0x7a')](_0x178a02['start'])){const _0x3563be=_0x34a278[_0x5297('0x2e')][_0x5297('0x8')],_0x3b194b=_0x178a02[_0x5297('0x38')][_0x5297('0x56')];return _0x51d7a7[_0x5297('0x39')](_0x3563be)&&_0x3563be===_0x3b194b;}return!0x1;}function _0x2e0be3(_0x3a03bb,_0x51f870){return _0x58c5d2(_0x3a03bb,_0x51f870)?[_0x3a03bb,_0x51f870]:_0x58c5d2(_0x51f870,_0x3a03bb)?[_0x51f870,_0x3a03bb]:null;}_0x3abc47['model'][_0x5297('0x54')][_0x5297('0x3b')](()=>{let _0x187651=!0x1;const _0x111462=Array[_0x5297('0xf')](_0x3abc47[_0x5297('0x63')][_0x5297('0x54')][_0x5297('0x5b')][_0x5297('0x64')]());for(const {name:_0x1a4ddd,data:_0x4c271e}of _0x111462){const {group:_0x3dbd0c,type:_0x30c7aa,subType:_0x395dca,id:_0xc2f7d1}=_0x3f89ea[_0x5297('0x7')](_0x1a4ddd);if(_0x5297('0x69')==_0x3dbd0c&&_0x3f89ea[_0x5297('0x70')](_0xc2f7d1)){if('formatBlock'==_0x30c7aa&&('imageStylePreApply'==_0x395dca||_0x5297('0x74')==_0x395dca)){const _0x41c565=_0x3f89ea[_0x5297('0x1a')](_0xc2f7d1);if(_0x4c271e[_0x5297('0x27')]){const _0x15c4d4=_0x41c565[_0x5297('0x44')]()[_0x5297('0x1d')]();if(_0x51d7a7[_0x5297('0x39')](_0x15c4d4))continue;_0x3f89ea[_0x5297('0x3d')](_0x41c565),_0x187651=!0x0;}}if(_0x5297('0x3e')==_0x30c7aa&&_0x5297('0x50')==_0x395dca&&!_0x4c271e[_0x5297('0x27')]){const _0x18afa7=_0x3f89ea[_0x5297('0x1a')](_0xc2f7d1);_0x18afa7[_0x5297('0x4b')]&&_0x18afa7[_0x5297('0x4b')][_0x5297('0x31')]&&(_0x3f89ea[_0x5297('0x3d')](_0x18afa7[_0x5297('0x4b')]),_0x187651=!0x0);}}}return _0x187651;}),_0x3abc47[_0x5297('0x48')][_0x5297('0x2d')](_0x5297('0x3f'))&&_0x3f89ea[_0x5297('0x4e')]('resizeImage',(_0x187f10,_0x418acd)=>{const _0x320f5c=_0x51d7a7[_0x5297('0x7d')](_0x3abc47[_0x5297('0x63')][_0x5297('0x54')]['selection']);_0x320f5c['getAttribute'](_0x5297('0xa'))!=_0x418acd['width']&&_0x3abc47[_0x5297('0x63')]['change'](()=>{_0x3f89ea['markBlockFormat'](_0x320f5c,{'commandName':_0x5297('0x72'),'commandParams':[_0x418acd]});});}),_0x3abc47[_0x5297('0x48')]['has'](_0x5297('0x59'))&&_0x3f89ea[_0x5297('0x4e')](_0x5297('0x5'),(_0x45b43e,_0x3f9bbd)=>{const _0x4a7827=_0x51d7a7[_0x5297('0x7d')](_0x3abc47[_0x5297('0x63')][_0x5297('0x54')][_0x5297('0x77')]);(_0x4a7827[_0x5297('0x3')](_0x5297('0x6f'))?_0x4a7827['getAttribute'](_0x5297('0x6f')):'')!=_0x3f9bbd[_0x5297('0x1e')]&&_0x3abc47[_0x5297('0x63')][_0x5297('0x10')](()=>{_0x3f89ea[_0x5297('0x6e')](_0x4a7827,{'commandName':_0x5297('0x5'),'commandParams':[_0x3f9bbd]});});}),_0x3f89ea['_descriptionFactory']['registerDescriptionCallback'](_0x23ee04=>{if(!!_0x2142cf['find'](({type:_0x4be72f,subType:_0x485d40})=>_0x23ee04['type']==_0x4be72f&&_0x23ee04[_0x5297('0x37')]==_0x485d40))return _0x23ee04[_0x5297('0x1b')]?{}:void 0x0;}),_0x3f89ea[_0x5297('0x4a')][_0x5297('0x76')](_0x168026=>{if(_0x5297('0x3e')==_0x168026[_0x5297('0x62')]||_0x5297('0x12')==_0x168026[_0x5297('0x62')]){const _0x924c97=_0x168026[_0x5297('0x1d')]();if(_0x924c97&&_0x924c97['is'](_0x5297('0x2f'),_0x5297('0x11')))return{'type':_0x5297('0x3e')==_0x168026[_0x5297('0x62')]?_0x5297('0x32'):_0x5297('0x79'),'element':_0x924c97,'quantity':0x1};}}),_0x3f89ea['_descriptionFactory']['registerDescriptionCallback'](_0x2b603f=>_0x5297('0x4')==_0x2b603f['type']&&_0x5297('0x20')==_0x2b603f['subType']?{'type':_0x5297('0x49'),'content':_0x5297('0x1f')}:'formatBlock'==_0x2b603f[_0x5297('0x62')]&&_0x5297('0x36')==_0x2b603f[_0x5297('0x37')]?{'type':_0x5297('0x49'),'content':_0x5297('0x29')}:void 0x0),_0x3f89ea['_descriptionFactory'][_0x5297('0x76')](_0x2a4a18=>{const {data:_0x4e4cc6}=_0x2a4a18;if(_0x4e4cc6){if(_0x5297('0x21')==_0x4e4cc6[_0x5297('0x5e')]){const _0x49babc=_0x4e4cc6[_0x5297('0x52')][0x0]['value'];return _0x5877cd(_0x5297('0x9')===_0x49babc?_0x408a6d(_0x5d7a22,_0x5297('0x66')):_0x2bf3d1[_0x49babc]||_0x49babc);}if(_0x5297('0x5')==_0x4e4cc6['commandName']){const _0x307c85=_0x4e4cc6[_0x5297('0x52')][0x0][_0x5297('0x1e')];return _0x307c85?{'type':_0x5297('0x49'),'content':_0x408a6d(_0x5d7a22,_0x5297('0x65'),'\x22'+_0x307c85+'\x22')}:{'type':_0x5297('0x49'),'content':_0x408a6d(_0x5d7a22,'*Remove\x20image\x20text\x20alternative*')};}if('resizeImage'==_0x4e4cc6[_0x5297('0x5e')]){const _0xec3c1b=_0x4e4cc6[_0x5297('0x52')][0x0][_0x5297('0xa')];return _0xec3c1b?{'type':_0x5297('0x49'),'content':_0x408a6d(_0x5d7a22,_0x5297('0x22'),_0xec3c1b)}:{'type':_0x5297('0x49'),'content':_0x408a6d(_0x5d7a22,_0x5297('0x34'))};}}function _0x5877cd(_0x292a6d){return{'type':_0x5297('0x49'),'content':_0x408a6d(_0x5d7a22,_0x5297('0x73'),_0x292a6d)};}});}}
23
+ const _0x48e4=['plugins','filter','refresh','toPrevious','next','isOwn','title','subType','ImageBlockEditing','isInlineImage','afterInit','getClosestSelectedImageElement','suggestion','editor','markDeletion','TrackChangesEditing','*Remove\x20image\x20text\x20alternative*','discard','isBefore','getFirstRange','newValue','newRange','registerCustomCallback','Inline\x20image\x20to\x20block\x20image','ImageStyleEditing','resizeImage','from','getSuggestions','head','registerDescriptionCallback','has','fromPosition','isEqual','imageStylePreApply','value','Users','alt','findIndex','forceDefaultExecution','getChangedMarkers','isBlockImage','ImageTextAlternativeEditing','element','ELEMENT_CAPTION','getContainedElement','imageTypeInline','toLowerCase','createRange','getAttribute','*Reset\x20image\x20width*','getSuggestionCallback','normalizedStyles','end','createRangeOn','isInContent','ImageUtils','imageStylePostApply','width','ImageCaptionEditing','FORMAT_SIDE_IMAGE','markInlineFormat','convertBlockImageToInline','commandName','isIntersecting','type','Block\x20image\x20to\x20inline\x20image','addObject','format','find','commandReversedParams','imageStyle','accept','imageTypeBlock','markInsertion','get','ELEMENT_IMAGE','ImageUploadEditing','markBlockFormat','imageCaption','chain','commandParams','*Format:*\x20%0','schema','toNext','_suggestionFactory','isCollapsed','formatBlock','getSuggestion','start','join','discardSuggestion','previous','ImageCaptionUtils','_splitMarkerName','detach','author','formatInline','getNearestSelectionRange','registerElementLabel','registerPostFixer','backward','convertInlineImageToBlock','locale','ELEMENT_INLINE_IMAGE','enableCommand','document','insertImage','insertion','change','selection','*Set\x20image\x20text\x20alternative:*\x20%0','ImageEditing','imageTextAlternative','_descriptionFactory','length','_findSuggestions','imageBlock','model','getCaptionFromImageModelElement','imageInline','commands','forEach','caption'];(function(_0x53dd5f,_0x48e4ef){const _0x433b33=function(_0x4874f6){while(--_0x4874f6){_0x53dd5f['push'](_0x53dd5f['shift']());}};_0x433b33(++_0x48e4ef);}(_0x48e4,0x1c4));const _0x433b=function(_0x53dd5f,_0x48e4ef){_0x53dd5f=_0x53dd5f-0x0;let _0x433b33=_0x48e4[_0x53dd5f];return _0x433b33;};import{Plugin as _0x117e85}from'ckeditor5/src/core';import{LivePosition as _0x101b42}from'ckeditor5/src/engine';import{uid as _0xed9a4c}from'ckeditor5/src/utils';import{getTranslation as _0x3f13ba}from'../utils/common-translations';export default class Y extends _0x117e85{[_0x433b('0x32')](){const _0x12a1bf=this[_0x433b('0x35')];if(!_0x12a1bf['plugins'][_0x433b('0x46')](_0x433b('0x1c')))return;const _0x5b4c93=_0x12a1bf['plugins'][_0x433b('0x72')](_0x433b('0x37')),_0x55c2f1=_0x12a1bf['plugins'][_0x433b('0x72')](_0x433b('0x5f')),_0xe7ad87={},_0x17c7d6=_0x12a1bf[_0x433b('0x13')];if(_0x5b4c93[_0x433b('0x15')](_0x433b('0x17')),_0x5b4c93[_0x433b('0x1e')][_0x433b('0xf')](_0x433b('0x21'),_0x384863=>_0x3f13ba(_0x17c7d6,_0x433b('0x73'),_0x384863)),_0x5b4c93[_0x433b('0x1e')]['registerElementLabel'](_0x433b('0x24'),_0x56ca5f=>_0x3f13ba(_0x17c7d6,_0x433b('0x14'),_0x56ca5f)),_0x5b4c93[_0x433b('0x1e')][_0x433b('0xf')](_0x433b('0x27'),()=>_0x3f13ba(_0x17c7d6,_0x433b('0x53'))),_0x12a1bf[_0x433b('0x28')]['has'](_0x433b('0x74'))&&_0x5b4c93['enableCommand']('uploadImage'),_0x12a1bf[_0x433b('0x28')][_0x433b('0x46')](_0x433b('0x30'))&&_0x12a1bf[_0x433b('0x28')]['has']('ImageInlineEditing')&&(_0x5b4c93[_0x433b('0x15')](_0x433b('0x55'),(_0x1475f5,_0x1a0d0c)=>{const _0x170684=_0x55c2f1[_0x433b('0x33')](_0x12a1bf[_0x433b('0x22')][_0x433b('0x16')][_0x433b('0x1a')]);_0x12a1bf[_0x433b('0x22')][_0x433b('0x19')](()=>{_0x5b4c93[_0x433b('0x75')](_0x170684,{'commandName':_0x433b('0x55'),'commandParams':[_0x1a0d0c]},[],_0x433b('0x65'));});}),_0x5b4c93[_0x433b('0x15')](_0x433b('0x70'),(_0x1b886a,_0x1eed4a)=>{_0x12a1bf[_0x433b('0x22')]['change'](_0x9d664e=>{let _0x25a268=_0x55c2f1[_0x433b('0x33')](_0x12a1bf[_0x433b('0x22')][_0x433b('0x16')][_0x433b('0x1a')]),_0x1869d0=_0x9d664e[_0x433b('0x5d')](_0x25a268);const _0x11658f=_0x101b42[_0x433b('0x47')](_0x1869d0[_0x433b('0x5')],_0x433b('0x2b')),_0x2d96b5=_0x101b42[_0x433b('0x47')](_0x1869d0[_0x433b('0x5c')],_0x433b('0x0'));_0x5b4c93[_0x433b('0x4e')](()=>_0x1b886a(_0x1eed4a)),_0x25a268=_0x55c2f1['getClosestSelectedImageElement'](_0x12a1bf[_0x433b('0x22')]['document']['selection']),_0x1869d0=_0x9d664e[_0x433b('0x5d')](_0x25a268);const _0x57f8d2=_0x9d664e[_0x433b('0x57')](_0x11658f,_0x2d96b5);_0x11658f[_0x433b('0xb')](),_0x2d96b5[_0x433b('0xb')](),_0x5b4c93[_0x433b('0x75')](_0x25a268,{'commandName':_0x433b('0x55')},[],'convertInlineImageToBlock'),_0x57f8d2[_0x433b('0x5')]['isBefore'](_0x1869d0['start'])&&_0x5b4c93[_0x433b('0x71')](_0x9d664e[_0x433b('0x57')](_0x57f8d2[_0x433b('0x5')],_0x1869d0[_0x433b('0x5')]),_0x433b('0x12')),_0x1869d0[_0x433b('0x5c')][_0x433b('0x3a')](_0x57f8d2['end'])&&_0x5b4c93[_0x433b('0x71')](_0x9d664e[_0x433b('0x57')](_0x1869d0[_0x433b('0x5c')],_0x57f8d2['end']),_0x433b('0x12'));});}),_0x5b4c93[_0x433b('0x1')][_0x433b('0x3e')](_0x433b('0x3'),'convertInlineImageToBlock',_0x433b('0x6'),()=>{}),_0x5b4c93[_0x433b('0x1')][_0x433b('0x3e')](_0x433b('0x3'),_0x433b('0x12'),'accept',()=>{}),_0x5b4c93['_suggestionFactory'][_0x433b('0x3e')](_0x433b('0x3'),_0x433b('0x12'),'discard',_0x5b4c93[_0x433b('0x1')][_0x433b('0x5a')](_0x433b('0x3'),'','accept')),_0x5b4c93[_0x433b('0x1')]['registerCustomCallback'](_0x433b('0x18'),_0x433b('0x12'),'join',()=>{}),_0x5b4c93[_0x433b('0x1')][_0x433b('0x3e')](_0x433b('0x18'),_0x433b('0x12'),_0x433b('0x39'),([_0x3b9913])=>{const _0x483c2a=_0x5b4c93['_suggestionFactory']['getSuggestionCallback'](_0x433b('0x18'),'',_0x433b('0x39'));let _0x48ec5a=_0x3b9913[_0x433b('0x5')],_0x212f33=_0x3b9913[_0x433b('0x5c')];const _0x35eab8=_0x12a1bf[_0x433b('0x22')][_0x433b('0x7a')]['getNearestSelectionRange'](_0x48ec5a,_0x433b('0x11')),_0x361a54=_0x12a1bf[_0x433b('0x22')][_0x433b('0x7a')][_0x433b('0xe')](_0x212f33,'forward');_0x35eab8['isCollapsed']&&(_0x48ec5a=_0x35eab8[_0x433b('0x5')]),_0x361a54[_0x433b('0x2')]&&(_0x212f33=_0x361a54[_0x433b('0x5c')]),_0x483c2a([_0x12a1bf[_0x433b('0x22')][_0x433b('0x57')](_0x48ec5a,_0x212f33)]);}),_0x5b4c93[_0x433b('0x1')][_0x433b('0x3e')](_0x433b('0x3'),'convertInlineImageToBlock',_0x433b('0x77'),_0x1c91a5),_0x5b4c93[_0x433b('0x1')][_0x433b('0x3e')]('insertion',_0x433b('0x12'),_0x433b('0x77'),_0x1c91a5)),_0x12a1bf[_0x433b('0x28')][_0x433b('0x46')](_0x433b('0x62'))&&(_0x5b4c93['enableCommand']('toggleImageCaption',(_0x56c1da,_0x5d717a)=>{const _0x1fcaf3=_0x12a1bf['plugins']['get'](_0x433b('0x9'));let _0x492242=_0x55c2f1[_0x433b('0x33')](_0x12a1bf[_0x433b('0x22')]['document'][_0x433b('0x1a')]),_0x4f5cb0=_0x1fcaf3['getCaptionFromImageModelElement'](_0x492242);_0x12a1bf['model'][_0x433b('0x19')](()=>{if(_0x4f5cb0)return void _0x5b4c93[_0x433b('0x36')](_0x12a1bf['model'][_0x433b('0x5d')](_0x4f5cb0));const _0x30554a=_0x55c2f1['isBlockImage'](_0x492242);_0x56c1da(_0x5d717a),_0x492242=_0x55c2f1[_0x433b('0x33')](_0x12a1bf[_0x433b('0x22')][_0x433b('0x16')][_0x433b('0x1a')]),_0x4f5cb0=_0x1fcaf3[_0x433b('0x23')](_0x492242),_0x5b4c93['markInsertion'](_0x12a1bf[_0x433b('0x22')]['createRangeOn'](_0x4f5cb0),_0x30554a?null:_0x433b('0x76'));});}),_0x5b4c93[_0x433b('0x1')][_0x433b('0x3e')](_0x433b('0x18'),'imageCaption',_0x433b('0x77'),_0x1c91a5)),_0x12a1bf[_0x433b('0x28')][_0x433b('0x46')](_0x433b('0x40'))){_0x5b4c93[_0x433b('0x15')](_0x433b('0x6e'),(_0x58c2d1,_0x486a80)=>{const _0x29f2da=_0x12a1bf[_0x433b('0x28')][_0x433b('0x72')](_0x433b('0x4b'))['me'],_0x1a9296=_0x12a1bf[_0x433b('0x25')][_0x433b('0x72')](_0x433b('0x6e'));let _0x424ed7=_0x55c2f1[_0x433b('0x33')](_0x12a1bf[_0x433b('0x22')][_0x433b('0x16')]['selection']),_0x1a0767=_0x12a1bf[_0x433b('0x22')][_0x433b('0x5d')](_0x424ed7),_0x5eed12=_0x1a9296['value'];if(_0x5eed12==_0x486a80['value'])return;const _0x5df3ab={'commandName':_0x433b('0x6e'),'commandParams':[_0x486a80],'formatGroupId':_0xed9a4c()};_0x12a1bf[_0x433b('0x22')]['change'](()=>{if(_0x5b4c93[_0x433b('0x43')]()[_0x433b('0x29')](_0xb987a7=>_0xb987a7['isInContent']&&_0x29f2da==_0xb987a7[_0x433b('0xc')]&&('formatBlock'==_0xb987a7[_0x433b('0x68')]||_0x433b('0xd')==_0xb987a7['type'])&&(_0x433b('0x49')==_0xb987a7[_0x433b('0x2f')]||_0x433b('0x60')==_0xb987a7[_0x433b('0x2f')])&&_0xb987a7['getFirstRange']()['isEqual'](_0x1a0767))[_0x433b('0x26')](_0xe4f11b=>_0x5b4c93[_0x433b('0x7')](_0xe4f11b[_0x433b('0x44')])),_0x424ed7=_0x55c2f1[_0x433b('0x33')](_0x12a1bf[_0x433b('0x22')][_0x433b('0x16')][_0x433b('0x1a')]),_0x1a0767=_0x12a1bf[_0x433b('0x22')][_0x433b('0x5d')](_0x424ed7),_0x1a9296['refresh'](),_0x12a1bf[_0x433b('0x25')][_0x433b('0x72')](_0x433b('0x55'))[_0x433b('0x2a')](),_0x12a1bf[_0x433b('0x25')][_0x433b('0x72')](_0x433b('0x70'))[_0x433b('0x2a')](),_0x5eed12=_0x1a9296[_0x433b('0x4a')],_0x5eed12!=_0x486a80['value'])return _0x55c2f1[_0x433b('0x31')](_0x424ed7)&&_0x1a9296['shouldConvertImageType'](_0x486a80[_0x433b('0x4a')],_0x424ed7)?(_0x58c2d1(_0x486a80),_0x424ed7=_0x55c2f1[_0x433b('0x33')](_0x12a1bf[_0x433b('0x22')][_0x433b('0x16')][_0x433b('0x1a')]),void _0x5b4c93[_0x433b('0x75')](_0x424ed7,{..._0x5df3ab,'commandReversedParams':[{'value':_0x5eed12||null}]},[],'imageStylePreApply')):void(_0x55c2f1[_0x433b('0x50')](_0x424ed7)?_0x5b4c93[_0x433b('0x75')](_0x424ed7,_0x5df3ab,[],_0x433b('0x60')):_0x5b4c93[_0x433b('0x64')](_0x1a0767,_0x5df3ab,_0x433b('0x60')));});});for(const _0x1123f6 of _0x12a1bf[_0x433b('0x28')]['get']('ImageStyleEditing')[_0x433b('0x5b')])_0xe7ad87[_0x1123f6['name']]=_0x1123f6[_0x433b('0x2e')][_0x433b('0x56')]();_0x5b4c93[_0x433b('0x1')][_0x433b('0x3e')](_0x433b('0x3'),_0x433b('0x49'),_0x433b('0x6'),()=>{}),_0x5b4c93['_suggestionFactory'][_0x433b('0x3e')]('formatBlock','imageStylePostApply',_0x433b('0x6'),()=>{}),_0x5b4c93[_0x433b('0x1')][_0x433b('0x3e')]('formatInline',_0x433b('0x60'),_0x433b('0x6'),()=>{}),_0x5b4c93[_0x433b('0x1')][_0x433b('0x3e')](_0x433b('0x3'),'imageStylePreApply',_0x433b('0x6f'),()=>{}),_0x5b4c93[_0x433b('0x1')][_0x433b('0x3e')](_0x433b('0x3'),_0x433b('0x49'),'discard',(_0x32a5c4,_0x5c7da7)=>{_0x5b4c93[_0x433b('0x1')][_0x433b('0x5a')](_0x433b('0x3'),'',_0x433b('0x6f'))(_0x32a5c4,{'commandName':_0x5c7da7[_0x433b('0x66')],'commandParams':_0x5c7da7[_0x433b('0x6d')]});}),_0x5b4c93[_0x433b('0x1')]['registerCustomCallback'](_0x433b('0x3'),_0x433b('0x49'),'chain',_0x1c91a5);}const _0x539b73=[{'type':_0x433b('0x3'),'subType':_0x433b('0x49')},{'type':_0x433b('0x18'),'subType':'imageCaption'},{'type':_0x433b('0x3'),'subType':_0x433b('0x12')},{'type':_0x433b('0x18'),'subType':_0x433b('0x12')}];function _0x20e209(_0x2a992b,_0x3bbb34){const _0x279def=_0x539b73['findIndex'](({type:_0x109e16,subType:_0x1c6838})=>_0x2a992b[_0x433b('0x68')]==_0x109e16&&_0x2a992b['subType']==_0x1c6838),_0x461250=_0x539b73[_0x433b('0x4d')](({type:_0x5b6886,subType:_0x5f0fa7})=>_0x3bbb34['type']==_0x5b6886&&_0x3bbb34['subType']==_0x5f0fa7);if(_0x279def<0x0||_0x461250<0x0)return!0x1;const _0x1ea843=_0x2a992b[_0x433b('0x3b')](),_0x5bebf4=_0x3bbb34[_0x433b('0x3b')]();if((0x0==_0x279def||0x1==_0x279def)&&0x2==_0x461250&&_0x1ea843[_0x433b('0x67')](_0x5bebf4))return!0x0;if(0x2==_0x279def&&0x3==_0x461250){const _0x5b6065=_0x5b4c93[_0x433b('0x20')](_0x1ea843,'insertion')[_0x433b('0x29')](({suggestion:_0x2cb73c,meta:_0x2f3e84})=>_0x2f3e84[_0x433b('0x2d')]&&_0x433b('0x12')==_0x2cb73c[_0x433b('0x2f')]);if(_0x5b6065[_0x433b('0x1f')]>0x1&&_0x5bebf4[_0x433b('0x5c')][_0x433b('0x48')](_0x1ea843['start']))return!0x0;if(0x1==_0x5b6065[_0x433b('0x1f')]&&(_0x1ea843[_0x433b('0x5')][_0x433b('0x48')](_0x5bebf4[_0x433b('0x5c')])||_0x1ea843[_0x433b('0x5c')][_0x433b('0x48')](_0x5bebf4[_0x433b('0x5')])))return!0x0;}if(0x3==_0x279def&&0x3==_0x461250&&_0x1ea843[_0x433b('0x5')][_0x433b('0x3a')](_0x5bebf4[_0x433b('0x5')])){const _0x54230a=_0x1ea843[_0x433b('0x5c')]['nodeAfter'],_0x367df6=_0x5bebf4[_0x433b('0x5')]['nodeBefore'];return _0x55c2f1[_0x433b('0x50')](_0x54230a)&&_0x54230a===_0x367df6;}return!0x1;}function _0x1c91a5(_0x5b110c,_0x48eadf){return _0x20e209(_0x5b110c,_0x48eadf)?[_0x5b110c,_0x48eadf]:_0x20e209(_0x48eadf,_0x5b110c)?[_0x48eadf,_0x5b110c]:null;}_0x12a1bf[_0x433b('0x22')]['document'][_0x433b('0x10')](()=>{let _0x4cd508=!0x1;const _0x32267a=Array[_0x433b('0x42')](_0x12a1bf['model'][_0x433b('0x16')]['differ'][_0x433b('0x4f')]());for(const {name:_0xd8ab7d,data:_0x2ec28a}of _0x32267a){const {group:_0x2dffe5,type:_0x26486c,subType:_0xb2131d,id:_0x175429}=_0x5b4c93[_0x433b('0xa')](_0xd8ab7d);if(_0x433b('0x34')==_0x2dffe5&&_0x5b4c93['hasSuggestion'](_0x175429)){if(_0x433b('0x3')==_0x26486c&&('imageStylePreApply'==_0xb2131d||'imageStylePostApply'==_0xb2131d)){const _0x55a143=_0x5b4c93[_0x433b('0x4')](_0x175429);if(_0x2ec28a[_0x433b('0x3d')]){const _0x54b48e=_0x55a143[_0x433b('0x3b')]()[_0x433b('0x54')]();if(_0x55c2f1[_0x433b('0x50')](_0x54b48e))continue;_0x5b4c93[_0x433b('0x7')](_0x55a143),_0x4cd508=!0x0;}}if(_0x433b('0x18')==_0x26486c&&_0x433b('0x76')==_0xb2131d&&!_0x2ec28a[_0x433b('0x3d')]){const _0x308be4=_0x5b4c93[_0x433b('0x4')](_0x175429);_0x308be4['next']&&_0x308be4[_0x433b('0x2c')][_0x433b('0x5e')]&&(_0x5b4c93['discardSuggestion'](_0x308be4[_0x433b('0x2c')]),_0x4cd508=!0x0);}}}return _0x4cd508;}),_0x12a1bf[_0x433b('0x28')]['has']('ImageResize')&&_0x5b4c93[_0x433b('0x15')](_0x433b('0x41'),(_0x319d1a,_0x16e1e0)=>{const _0x458899=_0x55c2f1[_0x433b('0x33')](_0x12a1bf[_0x433b('0x22')][_0x433b('0x16')][_0x433b('0x1a')]);_0x458899[_0x433b('0x58')](_0x433b('0x61'))!=_0x16e1e0[_0x433b('0x61')]&&_0x12a1bf[_0x433b('0x22')]['change'](()=>{_0x5b4c93[_0x433b('0x75')](_0x458899,{'commandName':'resizeImage','commandParams':[_0x16e1e0]});});}),_0x12a1bf[_0x433b('0x28')][_0x433b('0x46')](_0x433b('0x51'))&&_0x5b4c93[_0x433b('0x15')]('imageTextAlternative',(_0x46fc71,_0x19adb5)=>{const _0x1a533b=_0x55c2f1[_0x433b('0x33')](_0x12a1bf[_0x433b('0x22')][_0x433b('0x16')][_0x433b('0x1a')]);(_0x1a533b['hasAttribute']('alt')?_0x1a533b[_0x433b('0x58')](_0x433b('0x4c')):'')!=_0x19adb5[_0x433b('0x3c')]&&_0x12a1bf['model'][_0x433b('0x19')](()=>{_0x5b4c93['markBlockFormat'](_0x1a533b,{'commandName':_0x433b('0x1d'),'commandParams':[_0x19adb5]});});}),_0x5b4c93[_0x433b('0x1e')][_0x433b('0x45')](_0x276f1d=>{if(!!_0x539b73[_0x433b('0x6c')](({type:_0x1feb44,subType:_0x11ec94})=>_0x276f1d['type']==_0x1feb44&&_0x276f1d[_0x433b('0x2f')]==_0x11ec94))return _0x276f1d[_0x433b('0x8')]?{}:void 0x0;}),_0x5b4c93[_0x433b('0x1e')][_0x433b('0x45')](_0x3fea2d=>{if(_0x433b('0x18')==_0x3fea2d['type']||'deletion'==_0x3fea2d[_0x433b('0x68')]){const _0x617fe5=_0x3fea2d['getContainedElement']();if(_0x617fe5&&_0x617fe5['is'](_0x433b('0x52'),_0x433b('0x27')))return{'type':_0x433b('0x18')==_0x3fea2d[_0x433b('0x68')]?_0x433b('0x6a'):'removeObject','element':_0x617fe5,'quantity':0x1};}}),_0x5b4c93['_descriptionFactory'][_0x433b('0x45')](_0x29d310=>_0x433b('0x3')==_0x29d310['type']&&_0x433b('0x12')==_0x29d310['subType']?{'type':_0x433b('0x6b'),'content':_0x433b('0x3f')}:_0x433b('0x3')==_0x29d310['type']&&_0x433b('0x65')==_0x29d310['subType']?{'type':_0x433b('0x6b'),'content':_0x433b('0x69')}:void 0x0),_0x5b4c93[_0x433b('0x1e')]['registerDescriptionCallback'](_0x37c8a2=>{const {data:_0x3bd5cd}=_0x37c8a2;if(_0x3bd5cd){if('imageStyle'==_0x3bd5cd[_0x433b('0x66')]){const _0x750add=_0x3bd5cd[_0x433b('0x78')][0x0][_0x433b('0x4a')];return _0xb17248('side'===_0x750add?_0x3f13ba(_0x17c7d6,_0x433b('0x63')):_0xe7ad87[_0x750add]||_0x750add);}if('imageTextAlternative'==_0x3bd5cd[_0x433b('0x66')]){const _0x1e59c5=_0x3bd5cd['commandParams'][0x0][_0x433b('0x3c')];return _0x1e59c5?{'type':_0x433b('0x6b'),'content':_0x3f13ba(_0x17c7d6,_0x433b('0x1b'),'\x22'+_0x1e59c5+'\x22')}:{'type':'format','content':_0x3f13ba(_0x17c7d6,_0x433b('0x38'))};}if(_0x433b('0x41')==_0x3bd5cd[_0x433b('0x66')]){const _0x5e5252=_0x3bd5cd[_0x433b('0x78')][0x0][_0x433b('0x61')];return _0x5e5252?{'type':_0x433b('0x6b'),'content':_0x3f13ba(_0x17c7d6,'*Set\x20image\x20width:*\x20%0',_0x5e5252)}:{'type':_0x433b('0x6b'),'content':_0x3f13ba(_0x17c7d6,_0x433b('0x59'))};}}function _0xb17248(_0x228e6d){return{'type':_0x433b('0x6b'),'content':_0x3f13ba(_0x17c7d6,_0x433b('0x79'),_0x228e6d)};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xe0c9=['subType','locale','format','*Format:*\x20replace\x20image\x20URL','src','registerCustomCallback','handleReplaceImageCommand','has','handleSuggestionDescription','accept','TrackChangesEditing','formatBlock','discard','ImageEditing','commandParams','data','_descriptionFactory','getSuggestionCallback','getSuggestions','markBlockFormat','getContainedElement','_suggestionFactory','get','enableCommand','getSelectedElement','change','model','selection','editor','replaceImageSource','plugins','registerDescriptionCallback'];(function(_0x2397fb,_0xe0c95a){const _0x2bdee6=function(_0x240609){while(--_0x240609){_0x2397fb['push'](_0x2397fb['shift']());}};_0x2bdee6(++_0xe0c95a);}(_0xe0c9,0xf9));const _0x2bde=function(_0x2397fb,_0xe0c95a){_0x2397fb=_0x2397fb-0x0;let _0x2bdee6=_0xe0c9[_0x2397fb];return _0x2bdee6;};import{Plugin as _0x4bf2bd}from'ckeditor5/src/core';import{getTranslation as _0x52db62}from'../utils/common-translations';export default class Z extends _0x4bf2bd{['afterInit'](){if(!this['editor']['plugins'][_0x2bde('0xe')](_0x2bde('0x14')))return;const _0x1d09d9=this[_0x2bde('0x3')][_0x2bde('0x5')][_0x2bde('0x1d')](_0x2bde('0x11'));_0x1d09d9[_0x2bde('0x1e')]('replaceImageSource',(_0x2dba88,_0x127af4)=>this[_0x2bde('0xd')](_0x2dba88,_0x127af4)),_0x1d09d9[_0x2bde('0x1c')][_0x2bde('0xc')](_0x2bde('0x12'),'replaceImageSource',_0x2bde('0x10'),_0x1d09d9['_suggestionFactory']['getSuggestionCallback'](_0x2bde('0x12'),null,_0x2bde('0x13'))),_0x1d09d9[_0x2bde('0x1c')][_0x2bde('0xc')](_0x2bde('0x12'),'replaceImageSource',_0x2bde('0x13'),_0x1d09d9[_0x2bde('0x1c')][_0x2bde('0x18')](_0x2bde('0x12'),null,_0x2bde('0x10'))),_0x1d09d9[_0x2bde('0x17')][_0x2bde('0x6')](_0x22ccc8=>this[_0x2bde('0xf')](_0x22ccc8));}[_0x2bde('0xd')](_0x4842fb,_0x3a96fe){const _0xcec22d=this[_0x2bde('0x3')][_0x2bde('0x5')][_0x2bde('0x1d')](_0x2bde('0x11')),_0x2a8a56=this[_0x2bde('0x3')]['model']['document'][_0x2bde('0x2')][_0x2bde('0x1f')]();this[_0x2bde('0x3')][_0x2bde('0x1')][_0x2bde('0x0')](()=>{let _0x57acd4=_0x2a8a56['getAttribute'](_0x2bde('0xb'));const _0x1bf3ed=this['editor'][_0x2bde('0x5')][_0x2bde('0x1d')]('Users')['me'];for(const _0x3231a8 of _0xcec22d[_0x2bde('0x19')]({'skipNotAttached':!0x0})){const _0x13bc11=_0x3231a8[_0x2bde('0x1b')]();if(_0x2bde('0x4')===_0x3231a8[_0x2bde('0x7')]&&_0x13bc11===_0x2a8a56){_0x3231a8['author']!==_0x1bf3ed&&_0x3231a8[_0x2bde('0x13')](),_0x57acd4=_0x3231a8[_0x2bde('0x16')][_0x2bde('0x15')][0x0]['source'];break;}}_0x4842fb(_0x3a96fe),_0xcec22d[_0x2bde('0x1a')](_0x2a8a56,{'commandName':_0x2bde('0x4'),'commandParams':[{'source':_0x57acd4}]},[],'replaceImageSource');});}[_0x2bde('0xf')](_0x32a30b){const {data:_0x5c831b}=_0x32a30b;if(_0x5c831b&&_0x2bde('0x4')===_0x5c831b['commandName']){const _0x19f3d0=_0x2bde('0xa');return{'type':_0x2bde('0x9'),'content':_0x52db62(this[_0x2bde('0x3')][_0x2bde('0x8')],_0x19f3d0)};}}}
23
+ const _0x295f=['discard','getSuggestionCallback','handleReplaceImageCommand','format','plugins','commandName','change','author','getSelectedElement','ImageEditing','getSuggestions','TrackChangesEditing','locale','*Format:*\x20replace\x20image\x20URL','data','_descriptionFactory','markBlockFormat','handleSuggestionDescription','accept','_suggestionFactory','editor','document','model','selection','get','getAttribute','formatBlock','commandParams','source','replaceImageSource','enableCommand','getContainedElement','registerCustomCallback','has'];(function(_0x1e1212,_0x295fbb){const _0x39c4ff=function(_0x37401f){while(--_0x37401f){_0x1e1212['push'](_0x1e1212['shift']());}};_0x39c4ff(++_0x295fbb);}(_0x295f,0xe2));const _0x39c4=function(_0x1e1212,_0x295fbb){_0x1e1212=_0x1e1212-0x0;let _0x39c4ff=_0x295f[_0x1e1212];return _0x39c4ff;};import{Plugin as _0x18468b}from'ckeditor5/src/core';import{getTranslation as _0x659850}from'../utils/common-translations';export default class Z extends _0x18468b{['afterInit'](){if(!this[_0x39c4('0x20')]['plugins'][_0x39c4('0xb')](_0x39c4('0x15')))return;const _0x423c31=this[_0x39c4('0x20')][_0x39c4('0x10')][_0x39c4('0x2')]('TrackChangesEditing');_0x423c31[_0x39c4('0x8')](_0x39c4('0x7'),(_0x51d62d,_0x9ac45b)=>this[_0x39c4('0xe')](_0x51d62d,_0x9ac45b)),_0x423c31[_0x39c4('0x1f')][_0x39c4('0xa')](_0x39c4('0x4'),_0x39c4('0x7'),_0x39c4('0x1e'),_0x423c31['_suggestionFactory'][_0x39c4('0xd')](_0x39c4('0x4'),null,_0x39c4('0xc'))),_0x423c31[_0x39c4('0x1f')][_0x39c4('0xa')](_0x39c4('0x4'),_0x39c4('0x7'),_0x39c4('0xc'),_0x423c31[_0x39c4('0x1f')][_0x39c4('0xd')](_0x39c4('0x4'),null,_0x39c4('0x1e'))),_0x423c31[_0x39c4('0x1b')]['registerDescriptionCallback'](_0x47b1e0=>this[_0x39c4('0x1d')](_0x47b1e0));}[_0x39c4('0xe')](_0x37296c,_0x1be1c3){const _0x212d5d=this['editor'][_0x39c4('0x10')][_0x39c4('0x2')](_0x39c4('0x17')),_0x2e9b9b=this[_0x39c4('0x20')][_0x39c4('0x0')][_0x39c4('0x21')][_0x39c4('0x1')][_0x39c4('0x14')]();this[_0x39c4('0x20')][_0x39c4('0x0')][_0x39c4('0x12')](()=>{let _0x37d676=_0x2e9b9b[_0x39c4('0x3')]('src');const _0x4e1261=this[_0x39c4('0x20')]['plugins'][_0x39c4('0x2')]('Users')['me'];for(const _0x375438 of _0x212d5d[_0x39c4('0x16')]({'skipNotAttached':!0x0})){const _0x26e485=_0x375438[_0x39c4('0x9')]();if(_0x39c4('0x7')===_0x375438['subType']&&_0x26e485===_0x2e9b9b){_0x375438[_0x39c4('0x13')]!==_0x4e1261&&_0x375438[_0x39c4('0xc')](),_0x37d676=_0x375438[_0x39c4('0x1a')][_0x39c4('0x5')][0x0][_0x39c4('0x6')];break;}}_0x37296c(_0x1be1c3),_0x212d5d[_0x39c4('0x1c')](_0x2e9b9b,{'commandName':_0x39c4('0x7'),'commandParams':[{'source':_0x37d676}]},[],_0x39c4('0x7'));});}[_0x39c4('0x1d')](_0x216797){const {data:_0x3390bd}=_0x216797;if(_0x3390bd&&_0x39c4('0x7')===_0x3390bd[_0x39c4('0x11')]){const _0x113e23=_0x39c4('0x19');return{'type':_0x39c4('0xf'),'content':_0x659850(this[_0x39c4('0x20')][_0x39c4('0x18')],_0x113e23)};}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xe6fb=['listenTo','importWord','_handleImportedData','enableCommand','dataInsert','TrackChangesEditing','trackChanges','plugins','commands','forEach','track_changes','value','afterInit','bind','get','editor','execute','_trackChangesExecuted','high','collaboration_features','_trackChangesValueDuringImport','_setSuggestionData'];(function(_0x563778,_0xe6fb9f){const _0x353fca=function(_0x1b6d25){while(--_0x1b6d25){_0x563778['push'](_0x563778['shift']());}};_0x353fca(++_0xe6fb9f);}(_0xe6fb,0x1ce));const _0x353f=function(_0x563778,_0xe6fb9f){_0x563778=_0x563778-0x0;let _0x353fca=_0xe6fb[_0x563778];return _0x353fca;};import{Plugin as _0x35e9c1}from'ckeditor5/src/core';import _0x1c6f52 from'../trackchangesediting';export default class tt extends _0x35e9c1{constructor(_0x38f053){super(_0x38f053),this[_0x353f('0x14')]=!0x1,this[_0x353f('0x11')]=!0x1;}[_0x353f('0xc')](){const _0x17c80f=this[_0x353f('0xf')],_0x50bcf5=_0x17c80f[_0x353f('0x8')]['get'](_0x353f('0x1')),_0x4bdc5d=_0x17c80f['commands'][_0x353f('0xe')](_0x353f('0x6'));_0x50bcf5&&(_0x50bcf5['on'](_0x353f('0x10'),(_0xdf2677,[,_0x3aeb38])=>{this[_0x353f('0x14')]=_0x4bdc5d[_0x353f('0xb')],_0x3aeb38[_0x353f('0x13')][_0x353f('0xa')]=!this['_trackChangesValueDuringImport'];},{'priority':_0x353f('0x12')}),this['listenTo'](_0x50bcf5,_0x353f('0x4'),this[_0x353f('0x2')][_0x353f('0xd')](this)),this[_0x353f('0x0')](_0x50bcf5,_0x353f('0x4'),()=>{this[_0x353f('0x11')]&&(_0x4bdc5d[_0x353f('0x10')](),this[_0x353f('0x11')]=!0x1);},{'priority':'lowest'}),_0x17c80f[_0x353f('0x7')][_0x353f('0xe')](_0x353f('0x5'))[_0x353f('0x3')](_0x353f('0x1')));}[_0x353f('0x2')](_0x15778f,_0x105e60){const {suggestions:_0x18d86c}=_0x105e60,_0x5dbe13=this['editor'][_0x353f('0x8')][_0x353f('0xe')](_0x353f('0x6')),_0x41e406=_0x5dbe13[_0x353f('0xb')];this[_0x353f('0x14')]!==_0x41e406&&(_0x5dbe13[_0x353f('0x10')](),this['_trackChangesExecuted']=!0x0),_0x18d86c&&_0x18d86c[_0x353f('0x9')](({id:_0x534a71,type:_0x3976a5,author:_0x4032fd,created_at:_0x623223})=>{const _0x4fba50={'id':_0x534a71,'type':_0x3976a5,'authorId':this[_0x353f('0xf')][_0x353f('0x7')][_0x353f('0xe')]('Users')['me']['id'],'createdAt':new Date(),'data':{},'hasComments':!0x1,'attributes':{'@external':{'authorName':_0x4032fd,'createdAt':_0x623223?new Date(_0x623223):new Date(),'source':_0x353f('0x1')}}};this[_0x353f('0xf')][_0x353f('0x7')][_0x353f('0xe')](_0x1c6f52)[_0x353f('0x15')](_0x4fba50);});}}
23
+ const _0x5055=['value','dataInsert','enableCommand','trackChanges','lowest','TrackChangesEditing','plugins','track_changes','_handleImportedData','_trackChangesExecuted','high','get','Users','listenTo','collaboration_features','_trackChangesValueDuringImport','importWord','execute','forEach','afterInit','editor','commands','_setSuggestionData','bind'];(function(_0x15229d,_0x505505){const _0x5f1435=function(_0x226b35){while(--_0x226b35){_0x15229d['push'](_0x15229d['shift']());}};_0x5f1435(++_0x505505);}(_0x5055,0xbc));const _0x5f14=function(_0x15229d,_0x505505){_0x15229d=_0x15229d-0x0;let _0x5f1435=_0x5055[_0x15229d];return _0x5f1435;};import{Plugin as _0x202824}from'ckeditor5/src/core';import _0x380b91 from'../trackchangesediting';export default class tt extends _0x202824{constructor(_0x120b92){super(_0x120b92),this[_0x5f14('0x13')]=!0x1,this[_0x5f14('0xd')]=!0x1;}[_0x5f14('0x17')](){const _0x1c3831=this[_0x5f14('0x0')],_0x52e7a2=_0x1c3831[_0x5f14('0x1')][_0x5f14('0xf')](_0x5f14('0x14')),_0x22c04e=_0x1c3831[_0x5f14('0x1')]['get']('trackChanges');_0x52e7a2&&(_0x52e7a2['on'](_0x5f14('0x15'),(_0x25e255,[,_0xfd7451])=>{this[_0x5f14('0x13')]=_0x22c04e[_0x5f14('0x4')],_0xfd7451[_0x5f14('0x12')][_0x5f14('0xb')]=!this[_0x5f14('0x13')];},{'priority':_0x5f14('0xe')}),this[_0x5f14('0x11')](_0x52e7a2,_0x5f14('0x5'),this[_0x5f14('0xc')][_0x5f14('0x3')](this)),this[_0x5f14('0x11')](_0x52e7a2,_0x5f14('0x5'),()=>{this[_0x5f14('0xd')]&&(_0x22c04e['execute'](),this['_trackChangesExecuted']=!0x1);},{'priority':_0x5f14('0x8')}),_0x1c3831[_0x5f14('0xa')][_0x5f14('0xf')](_0x5f14('0x9'))[_0x5f14('0x6')](_0x5f14('0x14')));}[_0x5f14('0xc')](_0x2e4096,_0x59c0bf){const {suggestions:_0xc9c902}=_0x59c0bf,_0x353d70=this['editor'][_0x5f14('0x1')][_0x5f14('0xf')](_0x5f14('0x7')),_0x2b1e07=_0x353d70[_0x5f14('0x4')];this[_0x5f14('0x13')]!==_0x2b1e07&&(_0x353d70['execute'](),this['_trackChangesExecuted']=!0x0),_0xc9c902&&_0xc9c902[_0x5f14('0x16')](({id:_0x3b2720,type:_0x117bb6,author:_0x18d44b,created_at:_0x5483bc})=>{const _0x2fcc7f={'id':_0x3b2720,'type':_0x117bb6,'authorId':this[_0x5f14('0x0')]['plugins']['get'](_0x5f14('0x10'))['me']['id'],'createdAt':new Date(),'data':{},'hasComments':!0x1,'attributes':{'@external':{'authorName':_0x18d44b,'createdAt':_0x5483bc?new Date(_0x5483bc):new Date(),'source':'importWord'}}};this['editor'][_0x5f14('0xa')][_0x5f14('0xf')](_0x380b91)[_0x5f14('0x2')](_0x2fcc7f);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1293=['plugins','format','checkAttribute','commandName','document','getItemLabel','locale','_descriptionFactory','afterInit','get','IndentEditing','IndentBlock','indentBlock','editor','registerDescriptionCallback','schema','outdent','change','TrackChangesEditing','getSelectedBlocks','enableCommand','*Indent:*\x20%0','markBlockFormat','filter','model','outdentBlock','has'];(function(_0x18f5b6,_0x129393){const _0x7474fa=function(_0x318449){while(--_0x318449){_0x18f5b6['push'](_0x18f5b6['shift']());}};_0x7474fa(++_0x129393);}(_0x1293,0xcc));const _0x7474=function(_0x18f5b6,_0x129393){_0x18f5b6=_0x18f5b6-0x0;let _0x7474fa=_0x1293[_0x18f5b6];return _0x7474fa;};import{Plugin as _0x163414}from'ckeditor5/src/core';import{getTranslation as _0xd9ef75}from'../utils/common-translations';export default class it extends _0x163414{[_0x7474('0x14')](){const _0xc111d7=this['editor'],_0x159dbd=_0xc111d7[_0x7474('0xc')][_0x7474('0x15')](_0x7474('0x3'));_0xc111d7['plugins']['has'](_0x7474('0x16'))&&(_0x159dbd['enableCommand']('indent'),_0x159dbd[_0x7474('0x5')](_0x7474('0x1')));const _0x316721=_0xc111d7[_0x7474('0x12')];if(_0xc111d7['plugins'][_0x7474('0xb')](_0x7474('0x17'))){for(const _0x4c4ffe of['indentBlock',_0x7474('0xa')])_0x159dbd[_0x7474('0x5')](_0x4c4ffe,()=>{const _0x3002c0=Array['from'](this[_0x7474('0x19')][_0x7474('0x9')][_0x7474('0x10')]['selection'][_0x7474('0x4')]())[_0x7474('0x8')](_0x1249ef=>this[_0x7474('0x19')][_0x7474('0x9')][_0x7474('0x0')][_0x7474('0xe')](_0x1249ef,'blockIndent'));_0xc111d7['model'][_0x7474('0x2')](()=>{for(const _0x12b4f2 of _0x3002c0)_0x159dbd[_0x7474('0x7')](_0x12b4f2,{'commandName':_0x4c4ffe,'commandParams':[{'value':''}],'formatGroupId':_0x7474('0x18')});});});_0x159dbd[_0x7474('0x13')][_0x7474('0x1a')](_0x321828=>{const {data:_0x509b50}=_0x321828;if(!_0x509b50)return;if(_0x7474('0x18')!=_0x509b50[_0x7474('0xf')]&&'outdentBlock'!=_0x509b50[_0x7474('0xf')])return;const _0x55e0e8=_0x321828['getItems']()[0x0],_0x35f49a=_0x159dbd['_descriptionFactory'][_0x7474('0x11')](_0x55e0e8);return _0x7474('0x18')==_0x509b50[_0x7474('0xf')]?{'type':_0x7474('0xd'),'content':_0xd9ef75(_0x316721,_0x7474('0x6'),_0x35f49a)}:_0x7474('0xa')==_0x509b50[_0x7474('0xf')]?{'type':_0x7474('0xd'),'content':_0xd9ef75(_0x316721,'*Outdent:*\x20%0',_0x35f49a)}:void 0x0;});}}}
23
+ const _0x220d=['model','*Outdent:*\x20%0','editor','_descriptionFactory','getSelectedBlocks','has','schema','outdentBlock','markBlockFormat','*Indent:*\x20%0','change','document','IndentBlock','get','enableCommand','filter','afterInit','getItems','registerDescriptionCallback','blockIndent','TrackChangesEditing','from','locale','indentBlock','checkAttribute','IndentEditing','getItemLabel','indent','plugins','commandName'];(function(_0x1633cc,_0x220d9d){const _0x3c5922=function(_0x4daa79){while(--_0x4daa79){_0x1633cc['push'](_0x1633cc['shift']());}};_0x3c5922(++_0x220d9d);}(_0x220d,0xc1));const _0x3c59=function(_0x1633cc,_0x220d9d){_0x1633cc=_0x1633cc-0x0;let _0x3c5922=_0x220d[_0x1633cc];return _0x3c5922;};import{Plugin as _0x24047a}from'ckeditor5/src/core';import{getTranslation as _0x349a47}from'../utils/common-translations';export default class it extends _0x24047a{[_0x3c59('0x3')](){const _0x2af14f=this[_0x3c59('0x13')],_0x1ed55d=_0x2af14f[_0x3c59('0xf')][_0x3c59('0x0')](_0x3c59('0x7'));_0x2af14f[_0x3c59('0xf')]['has'](_0x3c59('0xc'))&&(_0x1ed55d[_0x3c59('0x1')](_0x3c59('0xe')),_0x1ed55d[_0x3c59('0x1')]('outdent'));const _0x3684b8=_0x2af14f[_0x3c59('0x9')];if(_0x2af14f[_0x3c59('0xf')][_0x3c59('0x16')](_0x3c59('0x1d'))){for(const _0xf6c4e4 of[_0x3c59('0xa'),_0x3c59('0x18')])_0x1ed55d['enableCommand'](_0xf6c4e4,()=>{const _0x60f782=Array[_0x3c59('0x8')](this[_0x3c59('0x13')][_0x3c59('0x11')][_0x3c59('0x1c')]['selection'][_0x3c59('0x15')]())[_0x3c59('0x2')](_0x107c34=>this['editor'][_0x3c59('0x11')][_0x3c59('0x17')][_0x3c59('0xb')](_0x107c34,_0x3c59('0x6')));_0x2af14f[_0x3c59('0x11')][_0x3c59('0x1b')](()=>{for(const _0x17f1ca of _0x60f782)_0x1ed55d[_0x3c59('0x19')](_0x17f1ca,{'commandName':_0xf6c4e4,'commandParams':[{'value':''}],'formatGroupId':_0x3c59('0xa')});});});_0x1ed55d[_0x3c59('0x14')][_0x3c59('0x5')](_0x5c47e1=>{const {data:_0x267f17}=_0x5c47e1;if(!_0x267f17)return;if(_0x3c59('0xa')!=_0x267f17['commandName']&&_0x3c59('0x18')!=_0x267f17[_0x3c59('0x10')])return;const _0x44f782=_0x5c47e1[_0x3c59('0x4')]()[0x0],_0x3de217=_0x1ed55d[_0x3c59('0x14')][_0x3c59('0xd')](_0x44f782);return _0x3c59('0xa')==_0x267f17[_0x3c59('0x10')]?{'type':'format','content':_0x349a47(_0x3684b8,_0x3c59('0x1a'),_0x3de217)}:_0x3c59('0x18')==_0x267f17[_0x3c59('0x10')]?{'type':'format','content':_0x349a47(_0x3684b8,_0x3c59('0x12'),_0x3de217)}:void 0x0;});}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0xd310=['editor','init','enableCommand','input','get'];(function(_0x539842,_0xd310be){var _0x5e47a4=function(_0x4ae932){while(--_0x4ae932){_0x539842['push'](_0x539842['shift']());}};_0x5e47a4(++_0xd310be);}(_0xd310,0x1c3));var _0x5e47=function(_0x539842,_0xd310be){_0x539842=_0x539842-0x0;var _0x5e47a4=_0xd310[_0x539842];return _0x5e47a4;};import{Plugin as _0x18dd5e}from'ckeditor5/src/core';import{Input as _0x5abb80}from'ckeditor5/src/typing';export default class st extends _0x18dd5e{static get['requires'](){return[_0x5abb80];}[_0x5e47('0x0')](){this[_0x5e47('0x4')]['plugins'][_0x5e47('0x3')]('TrackChangesEditing')[_0x5e47('0x1')](_0x5e47('0x2'));}}
23
+ var _0x7dad=['editor','init','TrackChangesEditing','input','get','requires'];(function(_0x572c04,_0x7dade){var _0x5d2485=function(_0x32fca5){while(--_0x32fca5){_0x572c04['push'](_0x572c04['shift']());}};_0x5d2485(++_0x7dade);}(_0x7dad,0x1d2));var _0x5d24=function(_0x572c04,_0x7dade){_0x572c04=_0x572c04-0x0;var _0x5d2485=_0x7dad[_0x572c04];return _0x5d2485;};import{Plugin as _0x293ef2}from'ckeditor5/src/core';import{Input as _0x34f019}from'ckeditor5/src/typing';export default class st extends _0x293ef2{static get[_0x5d24('0x1')](){return[_0x34f019];}[_0x5d24('0x3')](){this[_0x5d24('0x2')]['plugins'][_0x5d24('0x0')](_0x5d24('0x4'))['enableCommand'](_0x5d24('0x5'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xc96e=['link','isCollapsed','getAttribute','change','locale','model','document','hasAttribute','commandName','get','enableCommand','from','commandParams','getFirstPosition','linkHref','has','format','getRanges','afterInit','markInlineFormat','TrackChangesEditing','_descriptionFactory','selection','*Remove\x20link*','unlink','plugins','*Set\x20link:*\x20%0','editor'];(function(_0x28fc6b,_0xc96ed0){const _0x402982=function(_0x4a839d){while(--_0x4a839d){_0x28fc6b['push'](_0x28fc6b['shift']());}};_0x402982(++_0xc96ed0);}(_0xc96e,0x110));const _0x4029=function(_0x28fc6b,_0xc96ed0){_0x28fc6b=_0x28fc6b-0x0;let _0x402982=_0xc96e[_0x28fc6b];return _0x402982;};import{Plugin as _0x1e35be}from'ckeditor5/src/core';import{findAttributeRange as _0x4fb234}from'ckeditor5/src/typing';import{getRangesWithAttribute as _0x18269e}from'./utils';import{getTranslation as _0x3dd2aa}from'../utils/common-translations';export default class et extends _0x1e35be{[_0x4029('0x1a')](){const _0x3d0971=this[_0x4029('0x7')];if(!_0x3d0971[_0x4029('0x5')][_0x4029('0x17')]('LinkEditing'))return;const _0x93e3dd=_0x3d0971[_0x4029('0x5')][_0x4029('0x11')](_0x4029('0x0'));_0x93e3dd[_0x4029('0x12')](_0x4029('0x8'),(_0x4764b6,_0x434412)=>{const _0x2cc0dc=_0x3d0971[_0x4029('0xd')][_0x4029('0xe')][_0x4029('0x2')];let _0x223fbb=[];if(_0x2cc0dc[_0x4029('0x9')]){if(!_0x2cc0dc[_0x4029('0xf')](_0x4029('0x16')))return void _0x4764b6(_0x434412);{const _0x128a10=_0x4fb234(_0x2cc0dc[_0x4029('0x15')](),_0x4029('0x16'),_0x2cc0dc['getAttribute'](_0x4029('0x16')),_0x3d0971[_0x4029('0xd')]);_0x223fbb=[_0x128a10];}}else _0x223fbb=Array[_0x4029('0x13')](_0x2cc0dc[_0x4029('0x19')]());_0x3d0971[_0x4029('0xd')]['change'](()=>{for(const _0x932feb of _0x223fbb)_0x93e3dd[_0x4029('0x1b')](_0x932feb,{'commandName':_0x4029('0x8'),'commandParams':[_0x434412]});});}),_0x93e3dd[_0x4029('0x12')](_0x4029('0x4'),()=>{const _0x10ec5e=this[_0x4029('0x7')]['model'],_0x3cce38=_0x10ec5e[_0x4029('0xe')][_0x4029('0x2')];_0x10ec5e[_0x4029('0xb')](()=>{let _0x57cf82=[];if(_0x3cce38[_0x4029('0x9')])_0x57cf82=[_0x4fb234(_0x3cce38['getFirstPosition'](),_0x4029('0x16'),_0x3cce38[_0x4029('0xa')](_0x4029('0x16')),_0x3d0971['model'])];else _0x57cf82=_0x18269e(_0x4029('0x16'),_0x3cce38['getFirstRange'](),_0x3d0971[_0x4029('0xd')]);for(const _0x1c61db of _0x57cf82)_0x93e3dd[_0x4029('0x1b')](_0x1c61db,{'commandName':_0x4029('0x4'),'commandParams':[]});});}),_0x93e3dd[_0x4029('0x1')]['registerDescriptionCallback'](_0x5b1e48=>{const {data:_0x2b24ce}=_0x5b1e48,_0x854c81=_0x3d0971[_0x4029('0xc')];if(_0x2b24ce){if(_0x4029('0x8')==_0x2b24ce['commandName']){const _0x28f679=_0x2b24ce[_0x4029('0x14')][0x0];return{'type':_0x4029('0x18'),'content':_0x3dd2aa(_0x854c81,_0x4029('0x6'),'\x22'+_0x28f679+'\x22')};}return'unlink'==_0x2b24ce[_0x4029('0x10')]?{'type':_0x4029('0x18'),'content':_0x3dd2aa(_0x854c81,_0x4029('0x3'))}:void 0x0;}});}}
23
+ const _0xa2a4=['format','enableCommand','markInlineFormat','has','editor','*Set\x20link:*\x20%0','commandName','document','getFirstPosition','locale','linkHref','get','getFirstRange','plugins','model','link','getRanges','*Remove\x20link*','commandParams','getAttribute','from','TrackChangesEditing','LinkEditing','change','hasAttribute'];(function(_0x3e2c7b,_0xa2a49){const _0x2692da=function(_0x24327d){while(--_0x24327d){_0x3e2c7b['push'](_0x3e2c7b['shift']());}};_0x2692da(++_0xa2a49);}(_0xa2a4,0x169));const _0x2692=function(_0x3e2c7b,_0xa2a49){_0x3e2c7b=_0x3e2c7b-0x0;let _0x2692da=_0xa2a4[_0x3e2c7b];return _0x2692da;};import{Plugin as _0x4987b3}from'ckeditor5/src/core';import{findAttributeRange as _0x3f5570}from'ckeditor5/src/typing';import{getRangesWithAttribute as _0x57dce5}from'./utils';import{getTranslation as _0x4fc2a7}from'../utils/common-translations';export default class et extends _0x4987b3{['afterInit'](){const _0x1ac641=this[_0x2692('0x12')];if(!_0x1ac641[_0x2692('0x2')][_0x2692('0x11')](_0x2692('0xb')))return;const _0x15b227=_0x1ac641[_0x2692('0x2')][_0x2692('0x0')](_0x2692('0xa'));_0x15b227[_0x2692('0xf')](_0x2692('0x4'),(_0x18a9fe,_0x19678b)=>{const _0x3e41e8=_0x1ac641['model']['document']['selection'];let _0x134f28=[];if(_0x3e41e8['isCollapsed']){if(!_0x3e41e8[_0x2692('0xd')](_0x2692('0x18')))return void _0x18a9fe(_0x19678b);{const _0x2e7237=_0x3f5570(_0x3e41e8[_0x2692('0x16')](),_0x2692('0x18'),_0x3e41e8[_0x2692('0x8')](_0x2692('0x18')),_0x1ac641[_0x2692('0x3')]);_0x134f28=[_0x2e7237];}}else _0x134f28=Array[_0x2692('0x9')](_0x3e41e8[_0x2692('0x5')]());_0x1ac641['model'][_0x2692('0xc')](()=>{for(const _0x29605a of _0x134f28)_0x15b227[_0x2692('0x10')](_0x29605a,{'commandName':_0x2692('0x4'),'commandParams':[_0x19678b]});});}),_0x15b227[_0x2692('0xf')]('unlink',()=>{const _0x87c959=this[_0x2692('0x12')][_0x2692('0x3')],_0x4c859a=_0x87c959[_0x2692('0x15')]['selection'];_0x87c959[_0x2692('0xc')](()=>{let _0x364d8f=[];if(_0x4c859a['isCollapsed'])_0x364d8f=[_0x3f5570(_0x4c859a[_0x2692('0x16')](),_0x2692('0x18'),_0x4c859a[_0x2692('0x8')](_0x2692('0x18')),_0x1ac641[_0x2692('0x3')])];else _0x364d8f=_0x57dce5(_0x2692('0x18'),_0x4c859a[_0x2692('0x1')](),_0x1ac641[_0x2692('0x3')]);for(const _0x380bf9 of _0x364d8f)_0x15b227[_0x2692('0x10')](_0x380bf9,{'commandName':'unlink','commandParams':[]});});}),_0x15b227['_descriptionFactory']['registerDescriptionCallback'](_0x44a0dc=>{const {data:_0x4341f8}=_0x44a0dc,_0x15f55d=_0x1ac641[_0x2692('0x17')];if(_0x4341f8){if(_0x2692('0x4')==_0x4341f8[_0x2692('0x14')]){const _0x15ab1b=_0x4341f8[_0x2692('0x7')][0x0];return{'type':_0x2692('0xe'),'content':_0x4fc2a7(_0x15f55d,_0x2692('0x13'),'\x22'+_0x15ab1b+'\x22')};}return'unlink'==_0x4341f8[_0x2692('0x14')]?{'type':_0x2692('0xe'),'content':_0x4fc2a7(_0x15f55d,_0x2692('0x6'))}:void 0x0;}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x29e8=['outdentList','nextSibling','getAttribute','format','value','forceValue','indentList','*Outdent:*\x20%0','selection','*Check\x20item*','*Indent:*\x20%0','blockName','enableCommand','registerElementLabel','todo','from','editor','push','commandName','bulleted','execute','length','todoList','numbered','todoListChecked','List','*Change\x20to:*\x20%0','model','plugins','ELEMENT_LIST_ITEM','ELEMENT_BULLETED_LIST','listType','replace','has','before','add','checkChild','filter','commands','afterInit','TrackChangesEditing','_selectedElements','element','slice','get','name','TodoListEditing','previousSibling','change','checkTodoList','markBlockFormat','getSelectedBlocks','numberedList','parent','findIndex','createPositionAt','document','ELEMENT_NUMBERED_LIST','listItem','_descriptionFactory','listIndent','commandParams'];(function(_0x3dc852,_0x29e8af){const _0x173b8c=function(_0x56a108){while(--_0x56a108){_0x3dc852['push'](_0x3dc852['shift']());}};_0x173b8c(++_0x29e8af);}(_0x29e8,0x167));const _0x173b=function(_0x3dc852,_0x29e8af){_0x3dc852=_0x3dc852-0x0;let _0x173b8c=_0x29e8[_0x3dc852];return _0x173b8c;};import{Plugin as _0x5f1d6b}from'ckeditor5/src/core';import{getTranslation as _0x37a128}from'../utils/common-translations';export default class nt extends _0x5f1d6b{[_0x173b('0x34')](){const _0x4a34ca=this[_0x173b('0x1d')],_0x2ceaa1=_0x4a34ca['locale'];if(!_0x4a34ca[_0x173b('0x29')]['has']('ListEditing'))return;const _0x10a7a4=_0x4a34ca['plugins']['get'](_0x173b('0x35')),_0x14d47e=_0x4a34ca[_0x173b('0x29')][_0x173b('0x2e')](_0x173b('0x3b'));function _0x36335a(_0xe2170c){return()=>{const _0x2d50a2=_0x4a34ca[_0x173b('0x28')][_0x173b('0x7')][_0x173b('0x15')],_0x110b86=_0x4a34ca[_0x173b('0x33')][_0x173b('0x39')](_0xe2170c);if(_0x110b86[_0x173b('0x11')])return void _0x4a34ca[_0x173b('0x21')]('paragraph',{});const _0x4463ec=_0xe2170c[_0x173b('0x38')](0x0,-0x4),_0x366723=function(_0x23c433,_0x4be3f3,_0xa8a57){let _0x3bfc16=Array['from'](_0x23c433)['filter'](_0x134804=>function(_0x32333b,_0xcd3555){return _0xcd3555[_0x173b('0x31')](_0x32333b[_0x173b('0x4')],_0x173b('0x9'))&&!_0xcd3555['isObject'](_0x32333b);}(_0x134804,_0xa8a57));_0x3bfc16=_0x3bfc16[_0x173b('0x32')](_0x1f73c0=>!_0x1f73c0['is'](_0x173b('0x37'),_0x173b('0x9'))||_0x1f73c0['getAttribute'](_0x173b('0x2c'))!=_0x4be3f3);const _0x59a6aa=new Set();for(const _0x3403f3 of _0x3bfc16)_0x3403f3['is']('element',_0x173b('0x9'))?_0x59a6aa['add'](ne(_0x3403f3)):_0x59a6aa[_0x173b('0x30')](_0x3403f3);return Array[_0x173b('0x1c')](_0x59a6aa);}(_0x2d50a2['getSelectedBlocks'](),_0x4463ec,_0x4a34ca[_0x173b('0x28')]['schema']);_0x4a34ca['model'][_0x173b('0x3d')](()=>{for(const _0x21e6ce of _0x366723)_0x10a7a4[_0x173b('0x1')](_0x21e6ce,{'commandName':_0xe2170c,'commandParams':[{'forceValue':!_0x110b86['value']}],'formatGroupId':_0x173b('0x18')},oe(_0x21e6ce));});};}function _0x8beb50(_0x5c2ea2){return()=>{const _0x4518a9=function(_0xc260fa){const _0x3b7e0=(_0xc260fa=Array[_0x173b('0x1c')](_0xc260fa))[_0x173b('0x5')](_0x2b7f13=>'listItem'!=_0x2b7f13[_0x173b('0x3a')]);return _0x3b7e0>-0x1&&(_0xc260fa=_0xc260fa[_0x173b('0x38')](0x0,_0x3b7e0)),_0xc260fa;}(_0x4a34ca[_0x173b('0x28')][_0x173b('0x7')][_0x173b('0x15')][_0x173b('0x2')]()),_0x46a925=_0x4a34ca['model']['createRange'](_0x4a34ca['model'][_0x173b('0x6')](_0x4518a9[0x0],_0x173b('0x2f')),_0x4a34ca[_0x173b('0x28')][_0x173b('0x6')](_0x4518a9[_0x4518a9[_0x173b('0x22')]-0x1],'end'));_0x4a34ca['model'][_0x173b('0x3d')](()=>{_0x10a7a4[_0x173b('0x1')](_0x46a925,{'commandName':_0x5c2ea2,'commandParams':[],'formatGroupId':'listIndent'},function(_0x4e670e){const _0x13429b=new Set();for(const _0x4180f6 of _0x4e670e){let _0x1c14dc=_0x4180f6['nextSibling'];for(;_0x1c14dc&&_0x1c14dc['getAttribute'](_0x173b('0xb'))>_0x4180f6[_0x173b('0xf')](_0x173b('0xb'));)_0x13429b[_0x173b('0x30')](_0x1c14dc),_0x1c14dc=_0x1c14dc[_0x173b('0xe')];}return Array[_0x173b('0x1c')](_0x13429b);}(_0x4518a9));});};}_0x10a7a4[_0x173b('0x19')]('numberedList',_0x36335a('numberedList')),_0x10a7a4['enableCommand']('bulletedList',_0x36335a('bulletedList')),_0x14d47e&&_0x10a7a4[_0x173b('0x19')]('todoList',_0x36335a(_0x173b('0x23'))),_0x10a7a4['enableCommand'](_0x173b('0x13'),_0x8beb50(_0x173b('0x13'))),_0x10a7a4[_0x173b('0x19')]('outdentList',_0x8beb50(_0x173b('0xd'))),_0x14d47e&&_0x10a7a4[_0x173b('0x19')](_0x173b('0x0'),()=>{const _0x20c309=_0x4a34ca[_0x173b('0x33')][_0x173b('0x39')](_0x173b('0x0')),_0x26a210=Array['from'](_0x20c309[_0x173b('0x36')]);_0x26a210[_0x173b('0x32')](_0x151b8e=>_0x151b8e[_0x173b('0xf')](_0x173b('0x25'))!=_0x20c309['value']),_0x4a34ca[_0x173b('0x28')]['change'](()=>{for(const _0x197167 of _0x26a210)_0x10a7a4[_0x173b('0x1')](_0x197167,{'commandName':_0x173b('0x0'),'commandParams':[{'forceValue':!_0x20c309['value']}]});});}),_0x10a7a4[_0x173b('0xa')][_0x173b('0x1a')]('listItem',_0x18a50e=>_0x37a128(_0x2ceaa1,_0x173b('0x2a'),_0x18a50e)),_0x10a7a4[_0x173b('0xa')]['registerDescriptionCallback'](_0x1bd805=>{const {data:_0x3cfcb7}=_0x1bd805;if(_0x3cfcb7){if(_0x173b('0x3')==_0x3cfcb7[_0x173b('0x1f')]||'bulletedList'==_0x3cfcb7['commandName']||_0x173b('0x23')==_0x3cfcb7[_0x173b('0x1f')])switch(_0x3cfcb7[_0x173b('0x1f')][_0x173b('0x2d')](_0x173b('0x26'),'')){case _0x173b('0x20'):return _0x5a22a1(_0x37a128(_0x2ceaa1,_0x173b('0x2b')));case _0x173b('0x24'):return _0x5a22a1(_0x37a128(_0x2ceaa1,_0x173b('0x8')));case _0x173b('0x1b'):return _0x5a22a1(_0x37a128(_0x2ceaa1,'ELEMENT_TODO_LIST'));}if('indentList'==_0x3cfcb7[_0x173b('0x1f')])return{'type':'format','content':_0x37a128(_0x2ceaa1,_0x173b('0x17'),_0x37a128(_0x2ceaa1,_0x173b('0x2a')))};if('outdentList'==_0x3cfcb7[_0x173b('0x1f')])return{'type':_0x173b('0x10'),'content':_0x37a128(_0x2ceaa1,_0x173b('0x14'),_0x37a128(_0x2ceaa1,_0x173b('0x2a')))};if(_0x173b('0x0')==_0x3cfcb7[_0x173b('0x1f')])return _0x3cfcb7[_0x173b('0xc')][0x0][_0x173b('0x12')]?{'type':'format','content':_0x37a128(_0x2ceaa1,_0x173b('0x16'))}:{'type':_0x173b('0x10'),'content':_0x37a128(_0x2ceaa1,'*Uncheck\x20item*')};}function _0x5a22a1(_0x421eca){return{'type':'format','content':_0x37a128(_0x2ceaa1,_0x173b('0x27'),_0x421eca)};}});}}function ne(_0x28eafa){const _0x849158=_0x28eafa[_0x173b('0xf')](_0x173b('0xb'));if(0x0==_0x849158)return _0x28eafa;let _0x2ca7c5=_0x28eafa;for(;_0x28eafa[_0x173b('0x3c')]&&_0x28eafa[_0x173b('0x3c')]['is'](_0x173b('0x37'),_0x173b('0x9'));){const _0x2074e3=_0x28eafa[_0x173b('0x3c')][_0x173b('0xf')](_0x173b('0xb'));if(_0x2074e3==_0x849158)_0x2ca7c5=_0x28eafa[_0x173b('0x3c')];else{if(_0x2074e3<_0x849158)break;}_0x28eafa=_0x28eafa[_0x173b('0x3c')];}return _0x2ca7c5;}function oe(_0x586d3f){const _0x149166=[];if(_0x586d3f['is'](_0x173b('0x37'),'listItem')&&_0x586d3f[_0x173b('0xf')](_0x173b('0xb'))>0x0){let _0x5d3c7e=_0x586d3f['nextSibling'];for(;_0x5d3c7e&&_0x173b('0x9')==_0x5d3c7e[_0x173b('0x3a')]&&_0x5d3c7e[_0x173b('0xf')](_0x173b('0xb'))==_0x586d3f[_0x173b('0xf')](_0x173b('0xb'));)_0x149166[_0x173b('0x1e')](_0x5d3c7e),_0x5d3c7e=_0x5d3c7e[_0x173b('0xe')];}return _0x149166;}
23
+ const _0xc47d=['format','editor','listType','add','name','commands','parent','todoListChecked','todo','nextSibling','before','isObject','numberedList','checkTodoList','slice','_descriptionFactory','outdentList','enableCommand','afterInit','_selectedElements','element','bulleted','getAttribute','bulletedList','value','model','registerElementLabel','createPositionAt','ListEditing','filter','listItem','numbered','commandName','listIndent','length','blockName','createRange','from','*Change\x20to:*\x20%0','execute','markBlockFormat','getSelectedBlocks','selection','todoList','forceValue','locale','ELEMENT_NUMBERED_LIST','document','paragraph','List','indentList','schema','TodoListEditing','end','ELEMENT_BULLETED_LIST','get','plugins','change','previousSibling','ELEMENT_LIST_ITEM'];(function(_0x69a3cf,_0xc47d1){const _0x585b64=function(_0x519a50){while(--_0x519a50){_0x69a3cf['push'](_0x69a3cf['shift']());}};_0x585b64(++_0xc47d1);}(_0xc47d,0x7f));const _0x585b=function(_0x69a3cf,_0xc47d1){_0x69a3cf=_0x69a3cf-0x0;let _0x585b64=_0xc47d[_0x69a3cf];return _0x585b64;};import{Plugin as _0x13925c}from'ckeditor5/src/core';import{getTranslation as _0x4e43dd}from'../utils/common-translations';export default class nt extends _0x13925c{[_0x585b('0xb')](){const _0x2ddd84=this[_0x585b('0x36')],_0x3140d8=_0x2ddd84[_0x585b('0x26')];if(!_0x2ddd84[_0x585b('0x31')]['has'](_0x585b('0x15')))return;const _0x279ee0=_0x2ddd84['plugins'][_0x585b('0x30')]('TrackChangesEditing'),_0xc1b5d=_0x2ddd84['plugins']['has'](_0x585b('0x2d'));function _0x44fe98(_0x57a178){return()=>{const _0x3cb492=_0x2ddd84['model'][_0x585b('0x28')][_0x585b('0x23')],_0x496eb5=_0x2ddd84[_0x585b('0x3a')][_0x585b('0x30')](_0x57a178);if(_0x496eb5[_0x585b('0x11')])return void _0x2ddd84[_0x585b('0x20')](_0x585b('0x29'),{});const _0x289453=_0x57a178[_0x585b('0x7')](0x0,-0x4),_0x1c0f6b=function(_0x2d26b1,_0x5e7278,_0x2734fb){let _0x5ac9dd=Array[_0x585b('0x1e')](_0x2d26b1)[_0x585b('0x16')](_0x29780b=>function(_0x18def8,_0x5b8a62){return _0x5b8a62['checkChild'](_0x18def8[_0x585b('0x3b')],_0x585b('0x17'))&&!_0x5b8a62[_0x585b('0x4')](_0x18def8);}(_0x29780b,_0x2734fb));_0x5ac9dd=_0x5ac9dd[_0x585b('0x16')](_0x262a71=>!_0x262a71['is'](_0x585b('0xd'),_0x585b('0x17'))||_0x262a71[_0x585b('0xf')](_0x585b('0x37'))!=_0x5e7278);const _0x320b49=new Set();for(const _0x30b146 of _0x5ac9dd)_0x30b146['is'](_0x585b('0xd'),_0x585b('0x17'))?_0x320b49[_0x585b('0x38')](ne(_0x30b146)):_0x320b49['add'](_0x30b146);return Array[_0x585b('0x1e')](_0x320b49);}(_0x3cb492['getSelectedBlocks'](),_0x289453,_0x2ddd84[_0x585b('0x12')][_0x585b('0x2c')]);_0x2ddd84[_0x585b('0x12')][_0x585b('0x32')](()=>{for(const _0x326d78 of _0x1c0f6b)_0x279ee0['markBlockFormat'](_0x326d78,{'commandName':_0x57a178,'commandParams':[{'forceValue':!_0x496eb5[_0x585b('0x11')]}],'formatGroupId':_0x585b('0x1c')},oe(_0x326d78));});};}function _0x596694(_0x48bb2d){return()=>{const _0x414a4f=function(_0x25766b){const _0x5c0875=(_0x25766b=Array[_0x585b('0x1e')](_0x25766b))['findIndex'](_0x31c157=>_0x585b('0x17')!=_0x31c157[_0x585b('0x39')]);return _0x5c0875>-0x1&&(_0x25766b=_0x25766b[_0x585b('0x7')](0x0,_0x5c0875)),_0x25766b;}(_0x2ddd84['model'][_0x585b('0x28')]['selection'][_0x585b('0x22')]()),_0xef69e0=_0x2ddd84['model'][_0x585b('0x1d')](_0x2ddd84['model'][_0x585b('0x14')](_0x414a4f[0x0],_0x585b('0x3')),_0x2ddd84['model'][_0x585b('0x14')](_0x414a4f[_0x414a4f[_0x585b('0x1b')]-0x1],_0x585b('0x2e')));_0x2ddd84[_0x585b('0x12')][_0x585b('0x32')](()=>{_0x279ee0[_0x585b('0x21')](_0xef69e0,{'commandName':_0x48bb2d,'commandParams':[],'formatGroupId':_0x585b('0x1a')},function(_0xbc6e5f){const _0x40bc37=new Set();for(const _0x51c35c of _0xbc6e5f){let _0x510cbc=_0x51c35c[_0x585b('0x2')];for(;_0x510cbc&&_0x510cbc['getAttribute'](_0x585b('0x1a'))>_0x51c35c[_0x585b('0xf')](_0x585b('0x1a'));)_0x40bc37[_0x585b('0x38')](_0x510cbc),_0x510cbc=_0x510cbc['nextSibling'];}return Array[_0x585b('0x1e')](_0x40bc37);}(_0x414a4f));});};}_0x279ee0[_0x585b('0xa')]('numberedList',_0x44fe98(_0x585b('0x5'))),_0x279ee0['enableCommand'](_0x585b('0x10'),_0x44fe98('bulletedList')),_0xc1b5d&&_0x279ee0[_0x585b('0xa')](_0x585b('0x24'),_0x44fe98(_0x585b('0x24'))),_0x279ee0[_0x585b('0xa')]('indentList',_0x596694('indentList')),_0x279ee0[_0x585b('0xa')]('outdentList',_0x596694(_0x585b('0x9'))),_0xc1b5d&&_0x279ee0[_0x585b('0xa')](_0x585b('0x6'),()=>{const _0x3544c5=_0x2ddd84[_0x585b('0x3a')][_0x585b('0x30')](_0x585b('0x6')),_0x23fb40=Array[_0x585b('0x1e')](_0x3544c5[_0x585b('0xc')]);_0x23fb40[_0x585b('0x16')](_0x458cca=>_0x458cca['getAttribute'](_0x585b('0x0'))!=_0x3544c5[_0x585b('0x11')]),_0x2ddd84[_0x585b('0x12')]['change'](()=>{for(const _0x4e49a1 of _0x23fb40)_0x279ee0[_0x585b('0x21')](_0x4e49a1,{'commandName':_0x585b('0x6'),'commandParams':[{'forceValue':!_0x3544c5['value']}]});});}),_0x279ee0[_0x585b('0x8')][_0x585b('0x13')](_0x585b('0x17'),_0x389f52=>_0x4e43dd(_0x3140d8,_0x585b('0x34'),_0x389f52)),_0x279ee0[_0x585b('0x8')]['registerDescriptionCallback'](_0x41ddf9=>{const {data:_0x3dd9cd}=_0x41ddf9;if(_0x3dd9cd){if(_0x585b('0x5')==_0x3dd9cd[_0x585b('0x19')]||_0x585b('0x10')==_0x3dd9cd[_0x585b('0x19')]||_0x585b('0x24')==_0x3dd9cd[_0x585b('0x19')])switch(_0x3dd9cd[_0x585b('0x19')]['replace'](_0x585b('0x2a'),'')){case _0x585b('0xe'):return _0x542a56(_0x4e43dd(_0x3140d8,_0x585b('0x2f')));case _0x585b('0x18'):return _0x542a56(_0x4e43dd(_0x3140d8,_0x585b('0x27')));case _0x585b('0x1'):return _0x542a56(_0x4e43dd(_0x3140d8,'ELEMENT_TODO_LIST'));}if(_0x585b('0x2b')==_0x3dd9cd[_0x585b('0x19')])return{'type':_0x585b('0x35'),'content':_0x4e43dd(_0x3140d8,'*Indent:*\x20%0',_0x4e43dd(_0x3140d8,_0x585b('0x34')))};if(_0x585b('0x9')==_0x3dd9cd[_0x585b('0x19')])return{'type':_0x585b('0x35'),'content':_0x4e43dd(_0x3140d8,'*Outdent:*\x20%0',_0x4e43dd(_0x3140d8,_0x585b('0x34')))};if(_0x585b('0x6')==_0x3dd9cd[_0x585b('0x19')])return _0x3dd9cd['commandParams'][0x0][_0x585b('0x25')]?{'type':'format','content':_0x4e43dd(_0x3140d8,'*Check\x20item*')}:{'type':_0x585b('0x35'),'content':_0x4e43dd(_0x3140d8,'*Uncheck\x20item*')};}function _0x542a56(_0x2f3d38){return{'type':_0x585b('0x35'),'content':_0x4e43dd(_0x3140d8,_0x585b('0x1f'),_0x2f3d38)};}});}}function ne(_0xcc54ff){const _0xda2882=_0xcc54ff[_0x585b('0xf')](_0x585b('0x1a'));if(0x0==_0xda2882)return _0xcc54ff;let _0x27ed3b=_0xcc54ff;for(;_0xcc54ff[_0x585b('0x33')]&&_0xcc54ff[_0x585b('0x33')]['is']('element',_0x585b('0x17'));){const _0x3fbc42=_0xcc54ff[_0x585b('0x33')][_0x585b('0xf')](_0x585b('0x1a'));if(_0x3fbc42==_0xda2882)_0x27ed3b=_0xcc54ff[_0x585b('0x33')];else{if(_0x3fbc42<_0xda2882)break;}_0xcc54ff=_0xcc54ff['previousSibling'];}return _0x27ed3b;}function oe(_0x49b354){const _0x2078e1=[];if(_0x49b354['is'](_0x585b('0xd'),_0x585b('0x17'))&&_0x49b354[_0x585b('0xf')]('listIndent')>0x0){let _0x4c2ddc=_0x49b354[_0x585b('0x2')];for(;_0x4c2ddc&&_0x585b('0x17')==_0x4c2ddc[_0x585b('0x39')]&&_0x4c2ddc[_0x585b('0xf')](_0x585b('0x1a'))==_0x49b354[_0x585b('0xf')]('listIndent');)_0x2078e1['push'](_0x4c2ddc),_0x4c2ddc=_0x4c2ddc[_0x585b('0x2')];}return _0x2078e1;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2ab5=['length','handleListStartCommand','handleListReversedCommand','backward','plugins','from','get','ListUtils','toUpperCase','forward','_getTranslationKeyForListStyle','change','afterInit','handleDescriptions','_getSuggestionBlocks','handleListStyleCommand','type','startIndex','has','bind','listItem','getSiblingNodes','config','listType','map','list.properties','TrackChangesEditing','_LIST_','format','editor','_descriptionFactory','enableCommand','listStart','getListTypeFromListStyleType','element','reversed','hasAttribute','createPositionAt','before','getSelectedBlocks','flat','listStyle','commandParams','markMultiRangeBlockFormat','*Change\x20to:*\x20%0','selection','*Format:*\x20set\x20order\x20to\x20regular','document','styles','listReversed','ELEMENT_','model','ListPropertiesEditing'];(function(_0x2c6ca0,_0x2ab584){const _0x47b370=function(_0x5b4c8d){while(--_0x5b4c8d){_0x2c6ca0['push'](_0x2c6ca0['shift']());}};_0x47b370(++_0x2ab584);}(_0x2ab5,0x11e));const _0x47b3=function(_0x2c6ca0,_0x2ab584){_0x2c6ca0=_0x2c6ca0-0x0;let _0x47b370=_0x2ab5[_0x2c6ca0];return _0x47b370;};import{Plugin as _0x47fb26}from'ckeditor5/src/core';import{getTranslation as _0x5c236b}from'../utils/common-translations';export default class ot extends _0x47fb26{[_0x47b3('0x2c')](){if(!this[_0x47b3('0x8')]['plugins'][_0x47b3('0x32')](_0x47b3('0x1f')))return;const _0x2f9a79=this['editor'][_0x47b3('0x1')][_0x47b3('0x26')](_0x47b3('0x4')),_0x3c5c8d=this[_0x47b3('0x8')]['plugins'][_0x47b3('0x26')](_0x47b3('0x5'));_0x2f9a79[_0x47b3('0x1b')]&&_0x3c5c8d[_0x47b3('0xa')](_0x47b3('0x14'),this['handleListStyleCommand'][_0x47b3('0x33')](this)),_0x2f9a79[_0x47b3('0xe')]&&_0x3c5c8d[_0x47b3('0xa')]('listReversed',this[_0x47b3('0x22')][_0x47b3('0x33')](this)),_0x2f9a79['startIndex']&&_0x3c5c8d[_0x47b3('0xa')](_0x47b3('0xb'),this[_0x47b3('0x21')][_0x47b3('0x33')](this)),_0x3c5c8d[_0x47b3('0x9')]['registerDescriptionCallback'](this[_0x47b3('0x2d')][_0x47b3('0x33')](this));}[_0x47b3('0x2f')](_0x5c8993,_0x2068b3){const _0x5616bf=this[_0x47b3('0x8')][_0x47b3('0x24')][_0x47b3('0x26')](_0x47b3('0x5')),_0x5aa0d6=this[_0x47b3('0x2e')](_0x3877fe=>_0x3877fe[_0x47b3('0xf')](_0x47b3('0x2')));_0x5aa0d6['length']<0x1||this[_0x47b3('0x8')]['model']['change'](()=>{_0x5616bf[_0x47b3('0x16')](_0x5aa0d6,{'commandName':_0x47b3('0x14'),'commandParams':[{'type':_0x2068b3[_0x47b3('0x30')]}],'formatGroupId':'listStyle'});});}['handleListReversedCommand'](_0x201b94,_0x3b167d){const _0x3a0113=this[_0x47b3('0x8')]['plugins'][_0x47b3('0x26')]('TrackChangesEditing'),_0x4a06f9=this[_0x47b3('0x2e')](_0x1ecb77=>_0x1ecb77['is'](_0x47b3('0xd'),_0x47b3('0x34'))&&'numbered'===_0x1ecb77['getAttribute'](_0x47b3('0x2')));if(_0x4a06f9[_0x47b3('0x20')]<0x1)return;const _0x4fa7cb=_0x4a06f9['map'](_0xf7b7bf=>this['editor'][_0x47b3('0x1e')]['createRange'](this[_0x47b3('0x8')][_0x47b3('0x1e')][_0x47b3('0x10')](_0xf7b7bf,'before'),this[_0x47b3('0x8')][_0x47b3('0x1e')][_0x47b3('0x10')](_0xf7b7bf,0x0)));this[_0x47b3('0x8')][_0x47b3('0x1e')][_0x47b3('0x2b')](()=>{_0x3a0113[_0x47b3('0x16')](_0x4fa7cb,{'commandName':_0x47b3('0x1c'),'commandParams':[{'reversed':_0x3b167d[_0x47b3('0xe')]}],'formatGroupId':_0x47b3('0x1c')});});}['handleListStartCommand'](_0x4bef8b,_0x7f0049){const _0x5b99fe=this[_0x47b3('0x8')]['plugins'][_0x47b3('0x26')](_0x47b3('0x5')),_0x31c5bb=this[_0x47b3('0x2e')](_0x1eacb7=>_0x1eacb7['is'](_0x47b3('0xd'),_0x47b3('0x34'))&&'numbered'===_0x1eacb7['getAttribute'](_0x47b3('0x2')));if(_0x31c5bb[_0x47b3('0x20')]<0x1)return;const _0x2efa2d=_0x31c5bb[_0x47b3('0x3')](_0x1f63ea=>this[_0x47b3('0x8')]['model']['createRange'](this[_0x47b3('0x8')][_0x47b3('0x1e')][_0x47b3('0x10')](_0x1f63ea,_0x47b3('0x11')),this[_0x47b3('0x8')][_0x47b3('0x1e')][_0x47b3('0x10')](_0x1f63ea,0x0)));this[_0x47b3('0x8')]['model'][_0x47b3('0x2b')](()=>{_0x5b99fe[_0x47b3('0x16')](_0x2efa2d,{'commandName':_0x47b3('0xb'),'commandParams':[{'startIndex':_0x7f0049[_0x47b3('0x31')]}],'formatGroupId':_0x47b3('0xb')});});}[_0x47b3('0x2d')](_0x19e7d7){const _0x107624=this['editor']['locale'],{data:_0x5b45aa}=_0x19e7d7;if(!_0x5b45aa)return;let _0xb7118b,_0x21c7d7;switch(_0x5b45aa['commandName']){case _0x47b3('0x14'):_0xb7118b=_0x47b3('0x17'),_0x21c7d7={'type':_0x47b3('0x7'),'content':_0x5c236b(_0x107624,_0xb7118b,_0x5c236b(_0x107624,this[_0x47b3('0x2a')](_0x5b45aa[_0x47b3('0x15')][0x0]['type'])))};break;case'listReversed':_0xb7118b=_0x5b45aa[_0x47b3('0x15')][0x0][_0x47b3('0xe')]?'*Format:*\x20set\x20order\x20to\x20reversed':_0x47b3('0x19'),_0x21c7d7={'type':_0x47b3('0x7'),'content':_0x5c236b(_0x107624,_0xb7118b)};break;case _0x47b3('0xb'):_0xb7118b='*Format:*\x20set\x20start\x20index\x20to\x20%0',_0x21c7d7={'type':_0x47b3('0x7'),'content':_0x5c236b(_0x107624,_0xb7118b,_0x5b45aa['commandParams'][0x0][_0x47b3('0x31')])};}return _0x21c7d7;}[_0x47b3('0x2e')](_0x84cbb9){const _0x39581e=this[_0x47b3('0x8')][_0x47b3('0x24')][_0x47b3('0x26')]('ListUtils');let _0x17364c=Array[_0x47b3('0x25')](this[_0x47b3('0x8')][_0x47b3('0x1e')][_0x47b3('0x1a')][_0x47b3('0x18')][_0x47b3('0x12')]())['filter'](_0x84cbb9)[_0x47b3('0x3')](_0x5ea1c1=>{const _0x505711=this[_0x47b3('0x8')][_0x47b3('0x1e')][_0x47b3('0x10')](_0x5ea1c1,0x0);return[..._0x39581e[_0x47b3('0x0')](_0x505711,_0x47b3('0x23')),..._0x39581e[_0x47b3('0x0')](_0x505711,_0x47b3('0x29'))];})[_0x47b3('0x13')]();return _0x17364c=[...new Set(_0x17364c)],_0x17364c;}[_0x47b3('0x2a')](_0x4adb39){return _0x47b3('0x1d')+this['editor'][_0x47b3('0x24')]['get'](_0x47b3('0x27'))[_0x47b3('0xc')](_0x4adb39)[_0x47b3('0x28')]()+_0x47b3('0x6')+_0x4adb39[_0x47b3('0x28')]()['replaceAll']('-','_');}}
23
+ const _0x334c=['*Format:*\x20set\x20order\x20to\x20reversed','length','afterInit','toUpperCase','_getSuggestionBlocks','*Format:*\x20set\x20start\x20index\x20to\x20%0','styles','change','listType','_getTranslationKeyForListStyle','get','has','listReversed','handleDescriptions','listStyle','from','forward','map','element','editor','bind','listItem','plugins','listStart','createPositionAt','handleListStartCommand','getSiblingNodes','list.properties','model','document','filter','*Change\x20to:*\x20%0','commandParams','getListTypeFromListStyleType','ELEMENT_','type','config','*Format:*\x20set\x20order\x20to\x20regular','before','startIndex','handleListStyleCommand','registerDescriptionCallback','createRange','TrackChangesEditing','markMultiRangeBlockFormat','ListUtils','format','enableCommand','numbered','_LIST_','reversed','handleListReversedCommand','replaceAll','commandName'];(function(_0x1db66b,_0x334c9a){const _0x1c8254=function(_0x5ca1a5){while(--_0x5ca1a5){_0x1db66b['push'](_0x1db66b['shift']());}};_0x1c8254(++_0x334c9a);}(_0x334c,0xe0));const _0x1c82=function(_0x1db66b,_0x334c9a){_0x1db66b=_0x1db66b-0x0;let _0x1c8254=_0x334c[_0x1db66b];return _0x1c8254;};import{Plugin as _0x3bed93}from'ckeditor5/src/core';import{getTranslation as _0x214301}from'../utils/common-translations';export default class ot extends _0x3bed93{[_0x1c82('0x30')](){if(!this[_0x1c82('0xb')][_0x1c82('0xe')][_0x1c82('0x3')]('ListPropertiesEditing'))return;const _0x30468a=this[_0x1c82('0xb')][_0x1c82('0x1c')][_0x1c82('0x2')](_0x1c82('0x13')),_0x1e9df9=this[_0x1c82('0xb')][_0x1c82('0xe')]['get'](_0x1c82('0x23'));_0x30468a[_0x1c82('0x34')]&&_0x1e9df9[_0x1c82('0x27')](_0x1c82('0x6'),this[_0x1c82('0x20')]['bind'](this)),_0x30468a[_0x1c82('0x2a')]&&_0x1e9df9[_0x1c82('0x27')](_0x1c82('0x4'),this[_0x1c82('0x2b')][_0x1c82('0xc')](this)),_0x30468a[_0x1c82('0x1f')]&&_0x1e9df9[_0x1c82('0x27')](_0x1c82('0xf'),this[_0x1c82('0x11')][_0x1c82('0xc')](this)),_0x1e9df9['_descriptionFactory'][_0x1c82('0x21')](this[_0x1c82('0x5')]['bind'](this));}[_0x1c82('0x20')](_0x7a5068,_0x3780e8){const _0x49b791=this[_0x1c82('0xb')]['plugins']['get'](_0x1c82('0x23')),_0x16d46f=this[_0x1c82('0x32')](_0xabd959=>_0xabd959['hasAttribute'](_0x1c82('0x0')));_0x16d46f['length']<0x1||this[_0x1c82('0xb')][_0x1c82('0x14')]['change'](()=>{_0x49b791['markMultiRangeBlockFormat'](_0x16d46f,{'commandName':_0x1c82('0x6'),'commandParams':[{'type':_0x3780e8[_0x1c82('0x1b')]}],'formatGroupId':_0x1c82('0x6')});});}[_0x1c82('0x2b')](_0x30a9e1,_0x19fa0e){const _0x5a8511=this[_0x1c82('0xb')][_0x1c82('0xe')][_0x1c82('0x2')](_0x1c82('0x23')),_0x48b7c4=this[_0x1c82('0x32')](_0x1e331e=>_0x1e331e['is'](_0x1c82('0xa'),_0x1c82('0xd'))&&_0x1c82('0x28')===_0x1e331e['getAttribute'](_0x1c82('0x0')));if(_0x48b7c4['length']<0x1)return;const _0x42aced=_0x48b7c4['map'](_0x5c961a=>this['editor'][_0x1c82('0x14')][_0x1c82('0x22')](this[_0x1c82('0xb')][_0x1c82('0x14')][_0x1c82('0x10')](_0x5c961a,_0x1c82('0x1e')),this[_0x1c82('0xb')]['model'][_0x1c82('0x10')](_0x5c961a,0x0)));this[_0x1c82('0xb')][_0x1c82('0x14')][_0x1c82('0x35')](()=>{_0x5a8511[_0x1c82('0x24')](_0x42aced,{'commandName':_0x1c82('0x4'),'commandParams':[{'reversed':_0x19fa0e[_0x1c82('0x2a')]}],'formatGroupId':_0x1c82('0x4')});});}[_0x1c82('0x11')](_0x4bd291,_0x5c856c){const _0x594fad=this['editor'][_0x1c82('0xe')][_0x1c82('0x2')](_0x1c82('0x23')),_0x8a517d=this[_0x1c82('0x32')](_0x576f20=>_0x576f20['is'](_0x1c82('0xa'),_0x1c82('0xd'))&&'numbered'===_0x576f20['getAttribute']('listType'));if(_0x8a517d[_0x1c82('0x2f')]<0x1)return;const _0x270a29=_0x8a517d[_0x1c82('0x9')](_0xb89c2e=>this[_0x1c82('0xb')][_0x1c82('0x14')][_0x1c82('0x22')](this[_0x1c82('0xb')][_0x1c82('0x14')]['createPositionAt'](_0xb89c2e,'before'),this[_0x1c82('0xb')][_0x1c82('0x14')][_0x1c82('0x10')](_0xb89c2e,0x0)));this[_0x1c82('0xb')][_0x1c82('0x14')][_0x1c82('0x35')](()=>{_0x594fad['markMultiRangeBlockFormat'](_0x270a29,{'commandName':_0x1c82('0xf'),'commandParams':[{'startIndex':_0x5c856c[_0x1c82('0x1f')]}],'formatGroupId':_0x1c82('0xf')});});}[_0x1c82('0x5')](_0xccad0d){const _0x50eff3=this[_0x1c82('0xb')]['locale'],{data:_0x3c5fb7}=_0xccad0d;if(!_0x3c5fb7)return;let _0x497b75,_0x500702;switch(_0x3c5fb7[_0x1c82('0x2d')]){case _0x1c82('0x6'):_0x497b75=_0x1c82('0x17'),_0x500702={'type':'format','content':_0x214301(_0x50eff3,_0x497b75,_0x214301(_0x50eff3,this[_0x1c82('0x1')](_0x3c5fb7['commandParams'][0x0][_0x1c82('0x1b')])))};break;case _0x1c82('0x4'):_0x497b75=_0x3c5fb7[_0x1c82('0x18')][0x0][_0x1c82('0x2a')]?_0x1c82('0x2e'):_0x1c82('0x1d'),_0x500702={'type':_0x1c82('0x26'),'content':_0x214301(_0x50eff3,_0x497b75)};break;case'listStart':_0x497b75=_0x1c82('0x33'),_0x500702={'type':_0x1c82('0x26'),'content':_0x214301(_0x50eff3,_0x497b75,_0x3c5fb7[_0x1c82('0x18')][0x0][_0x1c82('0x1f')])};}return _0x500702;}[_0x1c82('0x32')](_0x1f8bc5){const _0x2611db=this[_0x1c82('0xb')][_0x1c82('0xe')]['get'](_0x1c82('0x25'));let _0x39019d=Array[_0x1c82('0x7')](this[_0x1c82('0xb')]['model'][_0x1c82('0x15')]['selection']['getSelectedBlocks']())[_0x1c82('0x16')](_0x1f8bc5)['map'](_0x220bf0=>{const _0x418d06=this[_0x1c82('0xb')]['model'][_0x1c82('0x10')](_0x220bf0,0x0);return[..._0x2611db[_0x1c82('0x12')](_0x418d06,'backward'),..._0x2611db['getSiblingNodes'](_0x418d06,_0x1c82('0x8'))];})['flat']();return _0x39019d=[...new Set(_0x39019d)],_0x39019d;}['_getTranslationKeyForListStyle'](_0x3c692a){return _0x1c82('0x1a')+this[_0x1c82('0xb')]['plugins'][_0x1c82('0x2')](_0x1c82('0x25'))[_0x1c82('0x19')](_0x3c692a)[_0x1c82('0x31')]()+_0x1c82('0x29')+_0x3c692a[_0x1c82('0x31')]()[_0x1c82('0x2c')]('-','_');}}