@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20230829.0 → 0.0.0-nightly-20230830.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (65) hide show
  1. package/build/track-changes.js +1 -1
  2. package/package.json +3 -3
  3. package/src/commands/acceptsuggestioncommand.js +1 -1
  4. package/src/commands/discardsuggestioncommand.js +1 -1
  5. package/src/commands/executeonallsuggestionscommand.js +1 -1
  6. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  7. package/src/commands/trackchangescommand.js +1 -1
  8. package/src/integrations/alignment.js +1 -1
  9. package/src/integrations/basicstyles.js +1 -1
  10. package/src/integrations/blockquote.js +1 -1
  11. package/src/integrations/ckbox.js +1 -1
  12. package/src/integrations/codeblock.js +1 -1
  13. package/src/integrations/comments.js +1 -1
  14. package/src/integrations/deletecommand.js +1 -1
  15. package/src/integrations/documentlist.js +1 -1
  16. package/src/integrations/documentlistproperties.js +1 -1
  17. package/src/integrations/entercommand.js +1 -1
  18. package/src/integrations/findandreplace.js +1 -1
  19. package/src/integrations/font.js +1 -1
  20. package/src/integrations/formatpainter.js +1 -1
  21. package/src/integrations/heading.js +1 -1
  22. package/src/integrations/highlight.js +1 -1
  23. package/src/integrations/horizontalline.js +1 -1
  24. package/src/integrations/htmlembed.js +1 -1
  25. package/src/integrations/image.js +1 -1
  26. package/src/integrations/imagereplace.js +1 -1
  27. package/src/integrations/importword.js +1 -1
  28. package/src/integrations/indent.js +1 -1
  29. package/src/integrations/inputcommand.js +1 -1
  30. package/src/integrations/link.js +1 -1
  31. package/src/integrations/list.js +1 -1
  32. package/src/integrations/listproperties.js +1 -1
  33. package/src/integrations/mediaembed.js +1 -1
  34. package/src/integrations/mention.js +1 -1
  35. package/src/integrations/pagebreak.js +1 -1
  36. package/src/integrations/paragraph.js +1 -1
  37. package/src/integrations/removeformat.js +1 -1
  38. package/src/integrations/restrictededitingmode.js +1 -1
  39. package/src/integrations/shiftentercommand.js +1 -1
  40. package/src/integrations/standardeditingmode.js +1 -1
  41. package/src/integrations/style.js +1 -1
  42. package/src/integrations/table.js +1 -1
  43. package/src/integrations/tablecaption.js +1 -1
  44. package/src/integrations/tableclipboard.js +1 -1
  45. package/src/integrations/tablecolumnresize.js +1 -1
  46. package/src/integrations/tableheadings.js +1 -1
  47. package/src/integrations/tablemergesplit.js +1 -1
  48. package/src/integrations/tableofcontents.js +1 -1
  49. package/src/integrations/tableproperties.js +1 -1
  50. package/src/integrations/template.js +1 -1
  51. package/src/integrations/title.js +1 -1
  52. package/src/integrations/undo.js +1 -1
  53. package/src/integrations/utils.js +1 -1
  54. package/src/suggestion.js +1 -1
  55. package/src/suggestiondescriptionfactory.js +1 -1
  56. package/src/trackchanges.js +1 -1
  57. package/src/trackchangesdata.js +1 -1
  58. package/src/trackchangesediting.d.ts +29 -1
  59. package/src/trackchangesediting.js +1 -1
  60. package/src/trackchangesui.js +1 -1
  61. package/src/ui/suggestioncontroller.js +1 -1
  62. package/src/ui/view/basesuggestionthreadview.js +1 -1
  63. package/src/ui/view/suggestionthreadview.js +1 -1
  64. package/src/utils/common-translations.js +1 -1
  65. package/src/utils/utils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xc0ce=['has','editor','get','commandName','title','fontSize.options','from','_enableCommand','fontBackgroundColor.colors','selection','format','trim','TrackChangesEditing','fontColor','normalizeSizeOptions','find','document','FontSize','label','fontBackgroundColor','markInlineFormat','commandParams','fontSize','*Reset\x20font\x20family*','FontBackgroundColorEditing','*Reset\x20font\x20background\x20color*','FontColorEditing','*Set\x20font\x20color:*\x20%0','config','registerDescriptionCallback','change','_descriptionFactory','toLowerCase','fontFamily','*Reset\x20font\x20color*','*Set\x20font\x20background\x20color:*\x20%0','isCollapsed','value','model','*Set\x20font\x20family:*\x20%0','plugins','enableCommand','fontColor.colors'];(function(_0x3a9e85,_0xc0ceca){const _0x2994b8=function(_0x467ae4){while(--_0x467ae4){_0x3a9e85['push'](_0x3a9e85['shift']());}};_0x2994b8(++_0xc0ceca);}(_0xc0ce,0x15a));const _0x2994=function(_0x3a9e85,_0xc0ceca){_0x3a9e85=_0x3a9e85-0x0;let _0x2994b8=_0xc0ce[_0x3a9e85];return _0x2994b8;};import{Plugin as _0x13e5ec}from'ckeditor5/src/core';import{normalizeColorOptions as _0xcb0313}from'ckeditor5/src/ui';import{getRangesWithAttribute as _0x3179a2}from'./utils';import{getTranslation as _0x291769}from'../utils/common-translations';const Zt=[{'pluginName':'FontSizeEditing','commandName':_0x2994('0x14')},{'pluginName':'FontFamilyEditing','commandName':_0x2994('0x1f')},{'pluginName':_0x2994('0x18'),'commandName':_0x2994('0xb')},{'pluginName':_0x2994('0x16'),'commandName':'fontBackgroundColor'}];export default class H extends _0x13e5ec{['afterInit'](){const _0x29e640=this[_0x2994('0x2a')]['locale'];for(const {pluginName:_0x44b28c,commandName:_0x3cfe7b}of Zt)this['editor'][_0x2994('0x26')][_0x2994('0x29')](_0x44b28c)&&this[_0x2994('0x5')](_0x3cfe7b);this[_0x2994('0x2a')]['plugins']['get'](_0x2994('0xa'))[_0x2994('0x1d')][_0x2994('0x1b')](_0x5352a0=>{const _0x49bdbe=_0x29e640['t'],{data:_0x38d1bc}=_0x5352a0;if(null!=_0x38d1bc){if(_0x2994('0x14')==_0x38d1bc[_0x2994('0x1')]){const _0x123842=_0x38d1bc[_0x2994('0x13')][0x0][_0x2994('0x23')];if(_0x123842){const _0x3b59e5=_0x49bdbe(this[_0x2994('0x2a')][_0x2994('0x26')][_0x2994('0x0')](_0x2994('0xf'))[_0x2994('0xc')](this[_0x2994('0x2a')][_0x2994('0x1a')][_0x2994('0x0')](_0x2994('0x3')))[_0x2994('0xd')](_0x5bee7b=>_0x5bee7b['model']==_0x123842)[_0x2994('0x2')])[_0x2994('0x1e')]();return{'type':_0x2994('0x8'),'content':_0x291769(_0x29e640,'*Set\x20font\x20size:*\x20%0',_0x3b59e5)};}return{'type':_0x2994('0x8'),'content':_0x291769(_0x29e640,'*Reset\x20font\x20size*')};}if(_0x2994('0x1f')==_0x38d1bc[_0x2994('0x1')]){const _0x4dca91=_0x38d1bc[_0x2994('0x13')][0x0][_0x2994('0x23')];return _0x4dca91?{'type':_0x2994('0x8'),'content':_0x291769(_0x29e640,_0x2994('0x25'),_0x4dca91)}:{'type':_0x2994('0x8'),'content':_0x291769(_0x29e640,_0x2994('0x15'))};}if(_0x2994('0xb')==_0x38d1bc[_0x2994('0x1')]){const _0x58572c=_0x38d1bc[_0x2994('0x13')][0x0][_0x2994('0x23')];if(_0x58572c){const _0x2aaac6=_0xcb0313(this[_0x2994('0x2a')][_0x2994('0x1a')][_0x2994('0x0')](_0x2994('0x28')))[_0x2994('0xd')](_0x55c897=>_0x55c897[_0x2994('0x24')]==_0x58572c);let _0x567feb=_0x58572c,_0x1fd993='';return _0x2aaac6&&(_0x567feb=_0x2aaac6[_0x2994('0x10')],_0x1fd993=_0x49bdbe(_0x567feb)[_0x2994('0x1e')]()),{'type':_0x2994('0x8'),'content':_0x291769(_0x29e640,_0x2994('0x19'),_0x1fd993)[_0x2994('0x9')](),'color':{'value':_0x58572c,'title':_0x1fd993||_0x567feb}};}return{'type':_0x2994('0x8'),'content':_0x291769(_0x29e640,_0x2994('0x20'))};}if(_0x2994('0x11')==_0x38d1bc[_0x2994('0x1')]){const _0x29d913=_0x38d1bc[_0x2994('0x13')][0x0]['value'];if(_0x29d913){const _0xb54124=_0xcb0313(this[_0x2994('0x2a')][_0x2994('0x1a')]['get'](_0x2994('0x6')))['find'](_0x13334c=>_0x13334c['model']==_0x29d913);let _0x4126d4=_0x29d913,_0x29ce3d='';return _0xb54124&&(_0x4126d4=_0xb54124['label'],_0x29ce3d=_0x49bdbe(_0x4126d4)[_0x2994('0x1e')]()),{'type':'format','content':_0x291769(_0x29e640,_0x2994('0x21'),_0x29ce3d)['trim'](),'color':{'value':_0x29d913,'title':_0x29ce3d||_0x4126d4}};}return{'type':_0x2994('0x8'),'content':_0x291769(_0x29e640,_0x2994('0x17'))};}}});}[_0x2994('0x5')](_0xc0d958){const _0x24f675=this[_0x2994('0x2a')];_0x24f675['plugins'][_0x2994('0x0')](_0x2994('0xa'))[_0x2994('0x27')](_0xc0d958,(_0x943fad,_0x25cb46={})=>{const _0x5019c0=_0x24f675['model'][_0x2994('0xe')][_0x2994('0x7')],_0x503dfc=_0x25cb46[_0x2994('0x23')];_0x5019c0[_0x2994('0x22')]?_0x943fad(_0x25cb46):_0x24f675['model'][_0x2994('0x1c')](()=>{const _0x345161=Array[_0x2994('0x4')](_0x5019c0['getRanges']());for(const _0x443b58 of _0x345161){const _0x15ed11=_0x503dfc?[_0x443b58]:_0x3179a2(_0xc0d958,_0x443b58,_0x24f675[_0x2994('0x24')]);for(const _0x5857ba of _0x15ed11)_0x24f675['plugins'][_0x2994('0x0')](_0x2994('0xa'))[_0x2994('0x12')](_0x5857ba,{'commandName':_0xc0d958,'commandParams':[{'value':_0x503dfc}]});}});});}}
23
+ const _0x14ff=['change','title','toLowerCase','find','FontSize','fontFamily','fontBackgroundColor.colors','fontColor','commandParams','*Set\x20font\x20background\x20color:*\x20%0','FontColorEditing','trim','format','locale','config','normalizeSizeOptions','commandName','fontColor.colors','editor','_enableCommand','afterInit','plugins','markInlineFormat','TrackChangesEditing','fontBackgroundColor','getRanges','get','*Reset\x20font\x20background\x20color*','from','value','selection','*Reset\x20font\x20color*','*Reset\x20font\x20size*','model','FontBackgroundColorEditing','isCollapsed','label','*Set\x20font\x20family:*\x20%0'];(function(_0x140b21,_0x14ffb0){const _0x3ae507=function(_0x21487f){while(--_0x21487f){_0x140b21['push'](_0x140b21['shift']());}};_0x3ae507(++_0x14ffb0);}(_0x14ff,0xb8));const _0x3ae5=function(_0x140b21,_0x14ffb0){_0x140b21=_0x140b21-0x0;let _0x3ae507=_0x14ff[_0x140b21];return _0x3ae507;};import{Plugin as _0x37eca0}from'ckeditor5/src/core';import{normalizeColorOptions as _0x440cbc}from'ckeditor5/src/ui';import{getRangesWithAttribute as _0x414a41}from'./utils';import{getTranslation as _0x265536}from'../utils/common-translations';const eo=[{'pluginName':'FontSizeEditing','commandName':'fontSize'},{'pluginName':'FontFamilyEditing','commandName':_0x3ae5('0xb')},{'pluginName':_0x3ae5('0x10'),'commandName':'fontColor'},{'pluginName':_0x3ae5('0x2'),'commandName':'fontBackgroundColor'}];export default class H extends _0x37eca0{[_0x3ae5('0x1a')](){const _0x47790d=this[_0x3ae5('0x18')][_0x3ae5('0x13')];for(const {pluginName:_0x5443e4,commandName:_0x29dd93}of eo)this[_0x3ae5('0x18')][_0x3ae5('0x1b')]['has'](_0x5443e4)&&this[_0x3ae5('0x19')](_0x29dd93);this[_0x3ae5('0x18')][_0x3ae5('0x1b')]['get'](_0x3ae5('0x1d'))['_descriptionFactory']['registerDescriptionCallback'](_0x2358d9=>{const _0x466b28=_0x47790d['t'],{data:_0x10034e}=_0x2358d9;if(null!=_0x10034e){if('fontSize'==_0x10034e[_0x3ae5('0x16')]){const _0xe3698c=_0x10034e[_0x3ae5('0xe')][0x0]['value'];if(_0xe3698c){const _0x1bb453=_0x466b28(this['editor'][_0x3ae5('0x1b')][_0x3ae5('0x20')](_0x3ae5('0xa'))[_0x3ae5('0x15')](this[_0x3ae5('0x18')][_0x3ae5('0x14')]['get']('fontSize.options'))[_0x3ae5('0x9')](_0x5117a2=>_0x5117a2[_0x3ae5('0x1')]==_0xe3698c)[_0x3ae5('0x7')])[_0x3ae5('0x8')]();return{'type':'format','content':_0x265536(_0x47790d,'*Set\x20font\x20size:*\x20%0',_0x1bb453)};}return{'type':_0x3ae5('0x12'),'content':_0x265536(_0x47790d,_0x3ae5('0x0'))};}if(_0x3ae5('0xb')==_0x10034e[_0x3ae5('0x16')]){const _0x4d5eb3=_0x10034e['commandParams'][0x0][_0x3ae5('0x23')];return _0x4d5eb3?{'type':'format','content':_0x265536(_0x47790d,_0x3ae5('0x5'),_0x4d5eb3)}:{'type':_0x3ae5('0x12'),'content':_0x265536(_0x47790d,'*Reset\x20font\x20family*')};}if(_0x3ae5('0xd')==_0x10034e[_0x3ae5('0x16')]){const _0x4102c5=_0x10034e[_0x3ae5('0xe')][0x0]['value'];if(_0x4102c5){const _0x323b29=_0x440cbc(this[_0x3ae5('0x18')][_0x3ae5('0x14')]['get'](_0x3ae5('0x17')))['find'](_0x4dd261=>_0x4dd261['model']==_0x4102c5);let _0x11ac16=_0x4102c5,_0x424313='';return _0x323b29&&(_0x11ac16=_0x323b29[_0x3ae5('0x4')],_0x424313=_0x466b28(_0x11ac16)[_0x3ae5('0x8')]()),{'type':_0x3ae5('0x12'),'content':_0x265536(_0x47790d,'*Set\x20font\x20color:*\x20%0',_0x424313)[_0x3ae5('0x11')](),'color':{'value':_0x4102c5,'title':_0x424313||_0x11ac16}};}return{'type':_0x3ae5('0x12'),'content':_0x265536(_0x47790d,_0x3ae5('0x25'))};}if(_0x3ae5('0x1e')==_0x10034e[_0x3ae5('0x16')]){const _0x944004=_0x10034e['commandParams'][0x0]['value'];if(_0x944004){const _0x12ef9d=_0x440cbc(this[_0x3ae5('0x18')][_0x3ae5('0x14')]['get'](_0x3ae5('0xc')))['find'](_0x166311=>_0x166311['model']==_0x944004);let _0x4066e3=_0x944004,_0x555346='';return _0x12ef9d&&(_0x4066e3=_0x12ef9d[_0x3ae5('0x4')],_0x555346=_0x466b28(_0x4066e3)['toLowerCase']()),{'type':'format','content':_0x265536(_0x47790d,_0x3ae5('0xf'),_0x555346)[_0x3ae5('0x11')](),'color':{'value':_0x944004,'title':_0x555346||_0x4066e3}};}return{'type':_0x3ae5('0x12'),'content':_0x265536(_0x47790d,_0x3ae5('0x21'))};}}});}[_0x3ae5('0x19')](_0x479370){const _0x3564a6=this['editor'];_0x3564a6[_0x3ae5('0x1b')]['get']('TrackChangesEditing')['enableCommand'](_0x479370,(_0x4db3e4,_0xabd74e={})=>{const _0x6f02fe=_0x3564a6[_0x3ae5('0x1')]['document'][_0x3ae5('0x24')],_0x1e4c2b=_0xabd74e[_0x3ae5('0x23')];_0x6f02fe[_0x3ae5('0x3')]?_0x4db3e4(_0xabd74e):_0x3564a6[_0x3ae5('0x1')][_0x3ae5('0x6')](()=>{const _0x5b2f0a=Array[_0x3ae5('0x22')](_0x6f02fe[_0x3ae5('0x1f')]());for(const _0xebdcc9 of _0x5b2f0a){const _0x4c0a0a=_0x1e4c2b?[_0xebdcc9]:_0x414a41(_0x479370,_0xebdcc9,_0x3564a6[_0x3ae5('0x1')]);for(const _0x232d24 of _0x4c0a0a)_0x3564a6[_0x3ae5('0x1b')][_0x3ae5('0x20')](_0x3ae5('0x1d'))[_0x3ae5('0x1c')](_0x232d24,{'commandName':_0x479370,'commandParams':[{'value':_0x1e4c2b}]});}});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4a91=['charAt','modifySelection','backward','registerDescriptionCallback','copyFormat','join','config','getRanges','boolean','change','*Remove\x20all\x20formatting*','isFormatting','entries','push','*Set\x20format\x20to:*\x20%0','getItems','TrackChangesEditing','pasteFormat','fontColor.colors','split','slice','_descriptionFactory','editor','forward','format','commandParams','title','schema','locale','selection','fontSize','commandName','getSelectedBlocks','find','enableCommand','isBlock','toLowerCase','getFirstPosition','word','fontSize.options','get','label','normalizeSizeOptions','isCollapsed','length','model','fontBackgroundColor','commands','markInlineFormat','plugins'];(function(_0x40db57,_0x4a91a7){const _0x3ee9f7=function(_0x2fb78a){while(--_0x2fb78a){_0x40db57['push'](_0x40db57['shift']());}};_0x3ee9f7(++_0x4a91a7);}(_0x4a91,0x174));const _0x3ee9=function(_0x40db57,_0x4a91a7){_0x40db57=_0x40db57-0x0;let _0x3ee9f7=_0x4a91[_0x40db57];return _0x3ee9f7;};import{Plugin as _0x11d724}from'ckeditor5/src/core';import{normalizeColorOptions as _0x402836}from'ckeditor5/src/ui';import{first as _0x588569}from'ckeditor5/src/utils';import{getTranslation as _0x18724d}from'../utils/common-translations';export default class W extends _0x11d724{['afterInit'](){const _0xf115a0=this[_0x3ee9('0x0')],_0x377087=_0xf115a0[_0x3ee9('0x17')],_0xd24755=_0x377087['document'][_0x3ee9('0x7')],_0x420926=_0xf115a0[_0x3ee9('0x1b')]['get']('TrackChangesEditing'),_0x3314d7=_0xf115a0[_0x3ee9('0x6')],_0x43b704=_0xf115a0[_0x3ee9('0x19')][_0x3ee9('0x12')](_0x3ee9('0x20')),_0x4d3370=_0xf115a0[_0x3ee9('0x19')][_0x3ee9('0x12')](_0x3ee9('0x2d'));_0x43b704&&_0x4d3370&&(_0x420926[_0x3ee9('0xc')](_0x3ee9('0x2d'),(_0x54b1cc,_0xac4b07={})=>{const _0x43ca59=_0xac4b07;_0x377087[_0x3ee9('0x25')](()=>{const _0xfd52ad=Array['from'](_0xd24755['getRanges']()),_0x10e71c=_0xd24755[_0x3ee9('0x15')]?[ro(_0x377087,_0xd24755)]:_0xfd52ad,_0x2f2aeb=!!_0x588569(function*(_0x1772e5,_0x2a7af2){const _0x514efb=_0x3eeb4f=>!!_0x588569(function*(_0x4a53d1,_0x58441c){for(const [_0x4fcbfa]of _0x4a53d1['getAttributes']()){const _0x132138=_0x58441c['getAttributeProperties'](_0x4fcbfa);_0x132138&&_0x132138[_0x3ee9('0x27')]&&(yield _0x4fcbfa);}}(_0x3eeb4f,_0x2a7af2));for(const _0x28aba8 of _0x1772e5[_0x3ee9('0x23')]())for(const _0x35a66f of _0x28aba8[_0x3ee9('0x2b')]())!_0x2a7af2[_0x3ee9('0xd')](_0x35a66f)&&_0x514efb(_0x35a66f)&&(yield _0x35a66f);for(const _0x1647a5 of _0x1772e5[_0x3ee9('0xa')]())_0x514efb(_0x1647a5)&&(yield _0x1647a5);_0x514efb(_0x1772e5)&&(yield _0x1772e5);}(_0xd24755,_0x377087[_0x3ee9('0x5')]));if(_0x2f2aeb||0x0!==Object['keys'](_0x43ca59)['length'])for(const _0x3cf4b0 of _0x10e71c)_0x420926[_0x3ee9('0x1a')](_0x3cf4b0,{'commandName':_0x3ee9('0x2d'),'commandParams':[_0x43ca59]});});}),_0x420926[_0x3ee9('0x31')][_0x3ee9('0x1f')](_0x3f9cde=>{const {data:_0x64e99e}=_0x3f9cde;if(_0x64e99e&&'pasteFormat'===_0x64e99e[_0x3ee9('0x9')]){const _0x4aa627=[],_0x148764=_0x64e99e[_0x3ee9('0x3')][0x0];for(const [_0x58d95a,_0x1c3a7d]of Object[_0x3ee9('0x28')](_0x148764))_0x4aa627[_0x3ee9('0x29')](no(_0xf115a0,_0x58d95a,_0x1c3a7d));return _0x4aa627[_0x3ee9('0x16')]?{'type':_0x3ee9('0x2'),'content':_0x18724d(_0x3314d7,_0x3ee9('0x2a'),_0x4aa627[_0x3ee9('0x21')](',\x20'))}:{'type':'format','content':_0x18724d(_0x3314d7,_0x3ee9('0x26'))};}}),_0xf115a0[_0x3ee9('0x1b')][_0x3ee9('0x12')](_0x3ee9('0x2c'))[_0x3ee9('0xc')]('copyFormat'));}}function ro(_0x1f908e,_0x2e80e3){const _0x27900e=_0x1f908e['createSelection'](_0x2e80e3);_0x1f908e[_0x3ee9('0x1d')](_0x27900e,{'unit':_0x3ee9('0x10'),'direction':_0x3ee9('0x1e')});const _0x2ee95c=_0x27900e[_0x3ee9('0xf')]();_0x1f908e['modifySelection'](_0x27900e,{'unit':_0x3ee9('0x10'),'direction':_0x3ee9('0x1')});const _0x3bec4c=_0x27900e['getLastPosition']();return _0x1f908e['createRange'](_0x2ee95c,_0x3bec4c);}function no(_0x257ac3,_0x580674,_0xd7ea4a){const _0x10c356=_0x257ac3[_0x3ee9('0x6')]['t'],_0x539a5a=_0x580674[_0x3ee9('0x2f')](/(?=[A-Z])/)[_0x3ee9('0x21')]('\x20'),_0xa06ce6=_0x10c356(_0x539a5a[_0x3ee9('0x1c')](0x0)['toUpperCase']()+_0x539a5a[_0x3ee9('0x30')](0x1))[_0x3ee9('0xe')]();if(_0x3ee9('0x24')==typeof _0xd7ea4a)return _0xa06ce6;if('fontColor'===_0x580674||_0x3ee9('0x18')===_0x580674){const _0x1c1ab9=_0x402836(_0x257ac3['config']['get'](_0x3ee9('0x2e')))[_0x3ee9('0xb')](_0x2a5a2f=>_0x2a5a2f[_0x3ee9('0x17')]==_0xd7ea4a);return _0xa06ce6+'\x20('+(_0x1c1ab9?_0x10c356(_0x1c1ab9[_0x3ee9('0x13')])[_0x3ee9('0xe')]():_0xd7ea4a)+')';}if(_0x3ee9('0x8')===_0x580674&&isNaN(parseFloat(_0xd7ea4a))){const _0x52619b=_0x257ac3[_0x3ee9('0x1b')][_0x3ee9('0x12')]('FontSize')[_0x3ee9('0x14')](_0x257ac3[_0x3ee9('0x22')]['get'](_0x3ee9('0x11')))[_0x3ee9('0xb')](_0x54033b=>_0x54033b['model']==_0xd7ea4a);return _0xa06ce6+'\x20('+(_0x52619b?_0x10c356(_0x52619b[_0x3ee9('0x4')])['toLowerCase']():_0xd7ea4a)+')';}return _0xa06ce6+'\x20('+_0xd7ea4a+')';}
23
+ const _0x4e44=['slice','isFormatting','createRange','entries','editor','title','schema','*Remove\x20all\x20formatting*','model','selection','*Set\x20format\x20to:*\x20%0','getRanges','fontColor.colors','split','config','boolean','getAttributes','from','length','_descriptionFactory','get','backward','enableCommand','commands','fontBackgroundColor','isCollapsed','getLastPosition','fontSize.options','forward','getFirstPosition','fontColor','locale','pasteFormat','charAt','plugins','TrackChangesEditing','label','find','modifySelection','normalizeSizeOptions','join','getItems','markInlineFormat','getSelectedBlocks','format','getAttributeProperties','isBlock','copyFormat','toLowerCase'];(function(_0x5c33e6,_0x4e4475){const _0x4855e1=function(_0x4d9d19){while(--_0x4d9d19){_0x5c33e6['push'](_0x5c33e6['shift']());}};_0x4855e1(++_0x4e4475);}(_0x4e44,0x1e7));const _0x4855=function(_0x5c33e6,_0x4e4475){_0x5c33e6=_0x5c33e6-0x0;let _0x4855e1=_0x4e44[_0x5c33e6];return _0x4855e1;};import{Plugin as _0x3c423f}from'ckeditor5/src/core';import{normalizeColorOptions as _0x475600}from'ckeditor5/src/ui';import{first as _0x7128fb}from'ckeditor5/src/utils';import{getTranslation as _0x32dd1e}from'../utils/common-translations';export default class W extends _0x3c423f{['afterInit'](){const _0x31e6d0=this[_0x4855('0x7')],_0x11a81e=_0x31e6d0[_0x4855('0xb')],_0x4d0789=_0x11a81e['document'][_0x4855('0xc')],_0x2f1994=_0x31e6d0['plugins'][_0x4855('0x17')]('TrackChangesEditing'),_0x3f832d=_0x31e6d0[_0x4855('0x22')],_0x3d9c5a=_0x31e6d0['commands'][_0x4855('0x17')](_0x4855('0x1')),_0x1a6652=_0x31e6d0[_0x4855('0x1a')][_0x4855('0x17')](_0x4855('0x23'));_0x3d9c5a&&_0x1a6652&&(_0x2f1994[_0x4855('0x19')](_0x4855('0x23'),(_0x2e58b8,_0x4b1aed={})=>{const _0x404f1d=_0x4b1aed;_0x11a81e['change'](()=>{const _0x192548=Array[_0x4855('0x14')](_0x4d0789['getRanges']()),_0x1701ae=_0x4d0789[_0x4855('0x1c')]?[co(_0x11a81e,_0x4d0789)]:_0x192548,_0x497f53=!!_0x7128fb(function*(_0x14d370,_0x180f7d){const _0x5a6020=_0x3b9ad1=>!!_0x7128fb(function*(_0x19bc1f,_0x2223e0){for(const [_0x51e40e]of _0x19bc1f[_0x4855('0x13')]()){const _0x143c79=_0x2223e0[_0x4855('0x30')](_0x51e40e);_0x143c79&&_0x143c79[_0x4855('0x4')]&&(yield _0x51e40e);}}(_0x3b9ad1,_0x180f7d));for(const _0x406342 of _0x14d370[_0x4855('0xe')]())for(const _0x3dbead of _0x406342[_0x4855('0x2c')]())!_0x180f7d[_0x4855('0x0')](_0x3dbead)&&_0x5a6020(_0x3dbead)&&(yield _0x3dbead);for(const _0x245da2 of _0x14d370[_0x4855('0x2e')]())_0x5a6020(_0x245da2)&&(yield _0x245da2);_0x5a6020(_0x14d370)&&(yield _0x14d370);}(_0x4d0789,_0x11a81e[_0x4855('0x9')]));if(_0x497f53||0x0!==Object['keys'](_0x404f1d)[_0x4855('0x15')])for(const _0x4a464b of _0x1701ae)_0x2f1994[_0x4855('0x2d')](_0x4a464b,{'commandName':_0x4855('0x23'),'commandParams':[_0x404f1d]});});}),_0x2f1994[_0x4855('0x16')]['registerDescriptionCallback'](_0x18f68f=>{const {data:_0xfe8aa4}=_0x18f68f;if(_0xfe8aa4&&'pasteFormat'===_0xfe8aa4['commandName']){const _0x13c067=[],_0x1eb35e=_0xfe8aa4['commandParams'][0x0];for(const [_0x29851f,_0x57465d]of Object[_0x4855('0x6')](_0x1eb35e))_0x13c067['push'](io(_0x31e6d0,_0x29851f,_0x57465d));return _0x13c067['length']?{'type':'format','content':_0x32dd1e(_0x3f832d,_0x4855('0xd'),_0x13c067[_0x4855('0x2b')](',\x20'))}:{'type':_0x4855('0x2f'),'content':_0x32dd1e(_0x3f832d,_0x4855('0xa'))};}}),_0x31e6d0['plugins'][_0x4855('0x17')](_0x4855('0x26'))['enableCommand'](_0x4855('0x1')));}}function co(_0x821738,_0x155145){const _0x5e19ba=_0x821738['createSelection'](_0x155145);_0x821738[_0x4855('0x29')](_0x5e19ba,{'unit':'word','direction':_0x4855('0x18')});const _0x39f82a=_0x5e19ba[_0x4855('0x20')]();_0x821738[_0x4855('0x29')](_0x5e19ba,{'unit':'word','direction':_0x4855('0x1f')});const _0x41d0c7=_0x5e19ba[_0x4855('0x1d')]();return _0x821738[_0x4855('0x5')](_0x39f82a,_0x41d0c7);}function io(_0x5df605,_0x537036,_0x1bf24d){const _0x1ddbd2=_0x5df605[_0x4855('0x22')]['t'],_0x41dc65=_0x537036[_0x4855('0x10')](/(?=[A-Z])/)[_0x4855('0x2b')]('\x20'),_0x59105c=_0x1ddbd2(_0x41dc65[_0x4855('0x24')](0x0)['toUpperCase']()+_0x41dc65[_0x4855('0x3')](0x1))[_0x4855('0x2')]();if(_0x4855('0x12')==typeof _0x1bf24d)return _0x59105c;if(_0x4855('0x21')===_0x537036||_0x4855('0x1b')===_0x537036){const _0x16f60c=_0x475600(_0x5df605[_0x4855('0x11')]['get'](_0x4855('0xf')))[_0x4855('0x28')](_0x17508e=>_0x17508e[_0x4855('0xb')]==_0x1bf24d);return _0x59105c+'\x20('+(_0x16f60c?_0x1ddbd2(_0x16f60c[_0x4855('0x27')])[_0x4855('0x2')]():_0x1bf24d)+')';}if('fontSize'===_0x537036&&isNaN(parseFloat(_0x1bf24d))){const _0x10585e=_0x5df605[_0x4855('0x25')][_0x4855('0x17')]('FontSize')[_0x4855('0x2a')](_0x5df605['config'][_0x4855('0x17')](_0x4855('0x1e')))[_0x4855('0x28')](_0x2f0699=>_0x2f0699['model']==_0x1bf24d);return _0x59105c+'\x20('+(_0x10585e?_0x1ddbd2(_0x10585e[_0x4855('0x8')])[_0x4855('0x2')]():_0x1bf24d)+')';}return _0x59105c+'\x20('+_0x1bf24d+')';}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1df2=['formatBlock','match','model','TrackChangesEditing','*Change\x20to:*\x20%0','enableCommand','editor','get','schema','_descriptionFactory','ELEMENT_HEADING_CUSTOM','ELEMENT_HEADING','commandName','config','title','afterInit','format','name','heading.options','HeadingEditing','has','plugins','registerDescriptionCallback','isObject','find','from','heading','commandParams','change','blockName','document','value'];(function(_0x1640ea,_0x1df2eb){const _0x30f186=function(_0x5263da){while(--_0x5263da){_0x1640ea['push'](_0x1640ea['shift']());}};_0x30f186(++_0x1df2eb);}(_0x1df2,0x69));const _0x30f1=function(_0x1640ea,_0x1df2eb){_0x1640ea=_0x1640ea-0x0;let _0x30f186=_0x1df2[_0x1640ea];return _0x30f186;};import{Plugin as _0x57aa6b}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x5eaed7}from'./utils';import{getTranslation as _0x35e3ea}from'../utils/common-translations';export default class J extends _0x57aa6b{[_0x30f1('0x6')](){const _0x1bc372=this[_0x30f1('0x1d')],_0x5e96c7=_0x1bc372['locale'],_0x36b75e=_0x1bc372[_0x30f1('0x4')][_0x30f1('0x1e')](_0x30f1('0x9'));if(!_0x1bc372[_0x30f1('0xc')][_0x30f1('0xb')](_0x30f1('0xa')))return;const _0x59bc45=_0x1bc372['plugins'][_0x30f1('0x1e')](_0x30f1('0x1a'));_0x59bc45[_0x30f1('0x1c')](_0x30f1('0x11'),(_0x568da3,_0x5e7f68)=>{const _0x586658=_0x5e7f68[_0x30f1('0x16')],_0x4d5715=Array[_0x30f1('0x10')](this[_0x30f1('0x1d')][_0x30f1('0x19')][_0x30f1('0x15')]['selection']['getSelectedBlocks']())['filter'](_0x33be75=>function(_0x49de96,_0x21f231,_0x196953){return _0x196953['checkChild'](_0x49de96['parent'],_0x21f231)&&!_0x196953[_0x30f1('0xe')](_0x49de96)&&_0x49de96[_0x30f1('0x8')]!=_0x21f231;}(_0x33be75,_0x586658,this[_0x30f1('0x1d')]['model'][_0x30f1('0x1f')]));_0x1bc372[_0x30f1('0x19')][_0x30f1('0x13')](()=>{for(const _0x1eb8a2 of _0x4d5715)_0x59bc45['markBlockFormat'](_0x1eb8a2,{'commandName':'heading','commandParams':[_0x5e7f68],'formatGroupId':_0x30f1('0x14')},_0x5eaed7(_0x1eb8a2));});});for(const _0x2459fe of _0x36b75e)'paragraph'!=_0x2459fe[_0x30f1('0x19')]&&_0x59bc45[_0x30f1('0x0')]['registerElementLabel'](_0x2459fe['model'],_0x32ac91=>{const _0x7e708=nn(_0x2459fe[_0x30f1('0x19')]);return null!==_0x7e708?_0xfa13e1(_0x32ac91,_0x7e708):_0x32ca18(_0x32ac91,_0x2459fe[_0x30f1('0x5')]);});function _0xfa13e1(_0x3ecb37,_0x27bb20){return _0x35e3ea(_0x5e96c7,_0x30f1('0x2'),[_0x3ecb37,_0x27bb20]);}function _0x32ca18(_0x3a13a1,_0x5df72c){return _0x35e3ea(_0x5e96c7,_0x30f1('0x1'),[_0x3a13a1,_0x5df72c]);}_0x59bc45['_descriptionFactory'][_0x30f1('0xd')](_0x3a1792=>{const {type:_0x2f95b5,data:_0x331b37}=_0x3a1792;if(_0x30f1('0x17')==_0x2f95b5&&_0x331b37&&_0x30f1('0x11')==_0x331b37[_0x30f1('0x3')]){const _0x12628a=_0x331b37[_0x30f1('0x12')][0x0][_0x30f1('0x16')],_0x16e3ec=nn(_0x12628a);if(null!==_0x16e3ec)return{'type':_0x30f1('0x7'),'content':_0x35e3ea(_0x5e96c7,_0x30f1('0x1b'),_0xfa13e1(0x1,_0x16e3ec))};const _0x59b82d=_0x36b75e[_0x30f1('0xf')](_0x2726a9=>_0x2726a9[_0x30f1('0x19')]===_0x12628a)[_0x30f1('0x5')];return{'type':_0x30f1('0x7'),'content':_0x35e3ea(_0x5e96c7,_0x30f1('0x1b'),_0x32ca18(0x1,_0x59b82d))};}});}}function nn(_0x382d39){const _0x4096d8=_0x382d39[_0x30f1('0x18')](/^heading(\d+)$/);return _0x4096d8?_0x4096d8[0x1]:null;}
23
+ const _0x5d8e=['heading.options','ELEMENT_HEADING_CUSTOM','blockName','checkChild','model','value','markBlockFormat','plugins','*Change\x20to:*\x20%0','HeadingEditing','match','enableCommand','ELEMENT_HEADING','title','name','from','heading','commandName','get','registerDescriptionCallback','_descriptionFactory','has','document','formatBlock','schema','locale','filter','parent','isObject','editor'];(function(_0x1e29e8,_0x5d8e8b){const _0x125809=function(_0x5ca0bd){while(--_0x5ca0bd){_0x1e29e8['push'](_0x1e29e8['shift']());}};_0x125809(++_0x5d8e8b);}(_0x5d8e,0xe2));const _0x1258=function(_0x1e29e8,_0x5d8e8b){_0x1e29e8=_0x1e29e8-0x0;let _0x125809=_0x5d8e[_0x1e29e8];return _0x125809;};import{Plugin as _0xf6900e}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x4b75b4}from'./utils';import{getTranslation as _0x3c12ea}from'../utils/common-translations';export default class J extends _0xf6900e{['afterInit'](){const _0x5ee920=this[_0x1258('0xd')],_0x45d3cc=_0x5ee920[_0x1258('0x9')],_0x28d9ca=_0x5ee920['config'][_0x1258('0x2')](_0x1258('0xe'));if(!_0x5ee920[_0x1258('0x15')][_0x1258('0x5')](_0x1258('0x17')))return;const _0x560890=_0x5ee920['plugins'][_0x1258('0x2')]('TrackChangesEditing');_0x560890[_0x1258('0x19')](_0x1258('0x0'),(_0x806e6d,_0x3733f7)=>{const _0x16a055=_0x3733f7[_0x1258('0x13')],_0x24e5d2=Array[_0x1258('0x1d')](this[_0x1258('0xd')][_0x1258('0x12')][_0x1258('0x6')]['selection']['getSelectedBlocks']())[_0x1258('0xa')](_0x4a7602=>function(_0x252313,_0x480c01,_0x56c1a9){return _0x56c1a9[_0x1258('0x11')](_0x252313[_0x1258('0xb')],_0x480c01)&&!_0x56c1a9[_0x1258('0xc')](_0x252313)&&_0x252313[_0x1258('0x1c')]!=_0x480c01;}(_0x4a7602,_0x16a055,this[_0x1258('0xd')][_0x1258('0x12')][_0x1258('0x8')]));_0x5ee920[_0x1258('0x12')]['change'](()=>{for(const _0x2f679d of _0x24e5d2)_0x560890[_0x1258('0x14')](_0x2f679d,{'commandName':_0x1258('0x0'),'commandParams':[_0x3733f7],'formatGroupId':_0x1258('0x10')},_0x4b75b4(_0x2f679d));});});for(const _0x576565 of _0x28d9ca)'paragraph'!=_0x576565[_0x1258('0x12')]&&_0x560890[_0x1258('0x4')]['registerElementLabel'](_0x576565[_0x1258('0x12')],_0x5cf506=>{const _0x5af55e=nn(_0x576565['model']);return null!==_0x5af55e?_0x193717(_0x5cf506,_0x5af55e):_0x8cc785(_0x5cf506,_0x576565[_0x1258('0x1b')]);});function _0x193717(_0x4ab24f,_0x2ed7cf){return _0x3c12ea(_0x45d3cc,_0x1258('0x1a'),[_0x4ab24f,_0x2ed7cf]);}function _0x8cc785(_0x2e6877,_0x47f330){return _0x3c12ea(_0x45d3cc,_0x1258('0xf'),[_0x2e6877,_0x47f330]);}_0x560890[_0x1258('0x4')][_0x1258('0x3')](_0x53911e=>{const {type:_0x27dc3e,data:_0x5d6a16}=_0x53911e;if(_0x1258('0x7')==_0x27dc3e&&_0x5d6a16&&'heading'==_0x5d6a16[_0x1258('0x1')]){const _0x4419b0=_0x5d6a16['commandParams'][0x0][_0x1258('0x13')],_0x5ba1cb=nn(_0x4419b0);if(null!==_0x5ba1cb)return{'type':'format','content':_0x3c12ea(_0x45d3cc,'*Change\x20to:*\x20%0',_0x193717(0x1,_0x5ba1cb))};const _0x22e1c4=_0x28d9ca['find'](_0x2a1286=>_0x2a1286['model']===_0x4419b0)[_0x1258('0x1b')];return{'type':'format','content':_0x3c12ea(_0x45d3cc,_0x1258('0x16'),_0x8cc785(0x1,_0x22e1c4))};}});}}function nn(_0x2fab96){const _0x389b8f=_0x2fab96[_0x1258('0x18')](/^heading(\d+)$/);return _0x389b8f?_0x389b8f[0x1]:null;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1be8=['color','editor','*Remove\x20highlight*','hasAttribute','selection','FORMAT_HIGHLIGHT','enableCommand','find','getRanges','_descriptionFactory','isCollapsed','commandParams','plugins','title','get','createRange','value','format','push','locale','TrackChangesEditing','highlight','highlight.options','item','markInlineFormat','model','change','afterInit'];(function(_0x357504,_0x1be87d){const _0x57be8d=function(_0x441106){while(--_0x441106){_0x357504['push'](_0x357504['shift']());}};_0x57be8d(++_0x1be87d);}(_0x1be8,0x144));const _0x57be=function(_0x357504,_0x1be87d){_0x357504=_0x357504-0x0;let _0x57be8d=_0x1be8[_0x357504];return _0x57be8d;};import{Plugin as _0x32ff21}from'ckeditor5/src/core';import{getTranslation as _0x58e030}from'../utils/common-translations';import{getRangesWithAttribute as _0x5e398c}from'./utils';export default class K extends _0x32ff21{[_0x57be('0xb')](){const _0x3dd793=this[_0x57be('0xd')];if(!_0x3dd793['plugins']['has']('HighlightEditing'))return;const _0x1771d2=_0x3dd793[_0x57be('0x18')]['get'](_0x57be('0x4'));_0x1771d2[_0x57be('0x12')](_0x57be('0x5'),(_0x450e07,_0x7f27b3={})=>{const _0x3c9855=_0x3dd793['model']['document'][_0x57be('0x10')],_0x4bd0da=_0x3c9855['getAttribute'](_0x57be('0x5'));let _0x5aedb2=_0x7f27b3['value'],_0x1ff003=[];if(_0x3c9855[_0x57be('0x16')]){const _0x4fe634=_0x3c9855['getFirstPosition']();if(!_0x3c9855[_0x57be('0xf')](_0x57be('0x5')))return void _0x450e07(_0x7f27b3);{const _0x1295a3=_0x208b43=>_0x208b43[_0x57be('0x7')]['getAttribute'](_0x57be('0x5'))===_0x4bd0da,_0x5b47dd=_0x4fe634['getLastMatchingPosition'](_0x1295a3,{'direction':'backward'}),_0x37e49f=_0x4fe634['getLastMatchingPosition'](_0x1295a3);_0x1ff003=[_0x3dd793['model'][_0x57be('0x1b')](_0x5b47dd,_0x37e49f)],_0x5aedb2==_0x4bd0da&&(_0x5aedb2=null);}}else for(const _0x410c1f of _0x3c9855[_0x57be('0x14')]())_0x5aedb2?_0x1ff003['push'](_0x410c1f):_0x1ff003[_0x57be('0x2')](..._0x5e398c(_0x57be('0x5'),_0x410c1f,_0x3dd793[_0x57be('0x9')]));_0x3dd793['model'][_0x57be('0xa')](()=>{for(const _0x59bc85 of _0x1ff003)_0x1771d2[_0x57be('0x8')](_0x59bc85,{'commandName':_0x57be('0x5'),'commandParams':[{'value':_0x5aedb2}]});});});const _0x39e7b7=_0x3dd793[_0x57be('0x3')];_0x1771d2[_0x57be('0x15')]['registerDescriptionCallback'](_0xacad88=>{const {type:_0xf927a6,data:_0x145b54}=_0xacad88;if('formatInline'==_0xf927a6&&_0x145b54&&'highlight'==_0x145b54['commandName']){const _0x1f772f=_0x39e7b7['t'],_0x53cff9=_0x145b54[_0x57be('0x17')][0x0][_0x57be('0x0')];if(_0x53cff9){const _0x1a007e=_0x3dd793['config'][_0x57be('0x1a')](_0x57be('0x6'))[_0x57be('0x13')](_0x51fb29=>_0x51fb29[_0x57be('0x9')]==_0x53cff9),_0x4a4a28=_0x1f772f(_0x1a007e[_0x57be('0x19')])['toLowerCase']();return{'type':_0x57be('0x1'),'content':_0x58e030(_0x39e7b7,'*Set\x20highlight:*\x20%0',_0x4a4a28),'color':{'value':_0x1a007e[_0x57be('0xc')],'title':_0x1a007e[_0x57be('0x19')]}};}return{'type':_0x57be('0x1'),'content':_0x58e030(_0x39e7b7,_0x57be('0xe'),_0x58e030(_0x39e7b7,_0x57be('0x11')))};}});}}
23
+ const _0x5ce3=['find','FORMAT_HIGHLIGHT','markInlineFormat','color','value','format','document','getLastMatchingPosition','HighlightEditing','backward','item','highlight','*Set\x20highlight:*\x20%0','commandParams','commandName','title','getFirstPosition','getAttribute','TrackChangesEditing','selection','push','get','change','getRanges','hasAttribute','afterInit','locale','plugins','_descriptionFactory','model','registerDescriptionCallback','enableCommand','editor','config'];(function(_0x2cdb89,_0x5ce3ce){const _0x19890b=function(_0x1dadcd){while(--_0x1dadcd){_0x2cdb89['push'](_0x2cdb89['shift']());}};_0x19890b(++_0x5ce3ce);}(_0x5ce3,0x120));const _0x1989=function(_0x2cdb89,_0x5ce3ce){_0x2cdb89=_0x2cdb89-0x0;let _0x19890b=_0x5ce3[_0x2cdb89];return _0x19890b;};import{Plugin as _0x2c23a6}from'ckeditor5/src/core';import{getTranslation as _0x1265a2}from'../utils/common-translations';import{getRangesWithAttribute as _0x7255e8}from'./utils';export default class K extends _0x2c23a6{[_0x1989('0x9')](){const _0x42606f=this[_0x1989('0x10')];if(!_0x42606f[_0x1989('0xb')]['has'](_0x1989('0x1a')))return;const _0x5bf35b=_0x42606f[_0x1989('0xb')][_0x1989('0x5')](_0x1989('0x2'));_0x5bf35b[_0x1989('0xf')](_0x1989('0x1d'),(_0x8fa836,_0x2b3665={})=>{const _0x58dffc=_0x42606f['model'][_0x1989('0x18')][_0x1989('0x3')],_0x4e67bd=_0x58dffc[_0x1989('0x1')](_0x1989('0x1d'));let _0x3b9c08=_0x2b3665[_0x1989('0x16')],_0x2a6a5b=[];if(_0x58dffc['isCollapsed']){const _0x19281f=_0x58dffc[_0x1989('0x0')]();if(!_0x58dffc[_0x1989('0x8')](_0x1989('0x1d')))return void _0x8fa836(_0x2b3665);{const _0x318020=_0x244f40=>_0x244f40[_0x1989('0x1c')]['getAttribute']('highlight')===_0x4e67bd,_0x3bea34=_0x19281f[_0x1989('0x19')](_0x318020,{'direction':_0x1989('0x1b')}),_0x5aca7b=_0x19281f[_0x1989('0x19')](_0x318020);_0x2a6a5b=[_0x42606f[_0x1989('0xd')]['createRange'](_0x3bea34,_0x5aca7b)],_0x3b9c08==_0x4e67bd&&(_0x3b9c08=null);}}else for(const _0xe8be33 of _0x58dffc[_0x1989('0x7')]())_0x3b9c08?_0x2a6a5b[_0x1989('0x4')](_0xe8be33):_0x2a6a5b[_0x1989('0x4')](..._0x7255e8('highlight',_0xe8be33,_0x42606f[_0x1989('0xd')]));_0x42606f['model'][_0x1989('0x6')](()=>{for(const _0x1ec272 of _0x2a6a5b)_0x5bf35b[_0x1989('0x14')](_0x1ec272,{'commandName':'highlight','commandParams':[{'value':_0x3b9c08}]});});});const _0x4ece2=_0x42606f[_0x1989('0xa')];_0x5bf35b[_0x1989('0xc')][_0x1989('0xe')](_0x31123a=>{const {type:_0x22238d,data:_0x35c42c}=_0x31123a;if('formatInline'==_0x22238d&&_0x35c42c&&_0x1989('0x1d')==_0x35c42c[_0x1989('0x20')]){const _0x3ca10c=_0x4ece2['t'],_0x1fda22=_0x35c42c[_0x1989('0x1f')][0x0][_0x1989('0x16')];if(_0x1fda22){const _0x4e112f=_0x42606f[_0x1989('0x11')][_0x1989('0x5')]('highlight.options')[_0x1989('0x12')](_0x2040c2=>_0x2040c2[_0x1989('0xd')]==_0x1fda22),_0x39a8d9=_0x3ca10c(_0x4e112f[_0x1989('0x21')])['toLowerCase']();return{'type':_0x1989('0x17'),'content':_0x1265a2(_0x4ece2,_0x1989('0x1e'),_0x39a8d9),'color':{'value':_0x4e112f[_0x1989('0x15')],'title':_0x4e112f[_0x1989('0x21')]}};}return{'type':'format','content':_0x1265a2(_0x4ece2,'*Remove\x20highlight*',_0x1265a2(_0x4ece2,_0x1989('0x13')))};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2622=['insert','get','createPositionAt','_descriptionFactory','conversion','addClass','div','TrackChangesEditing','has','createContainerElement','registerElementLabel','plugins','ck-horizontal-line','for','afterInit','high','enableCommand','editor','elementToStructure','horizontalLine','dataDowncast','showSuggestionHighlights'];(function(_0x4775ed,_0x26225e){const _0x3fd230=function(_0x59bcde){while(--_0x59bcde){_0x4775ed['push'](_0x4775ed['shift']());}};_0x3fd230(++_0x26225e);}(_0x2622,0x190));const _0x3fd2=function(_0x4775ed,_0x26225e){_0x4775ed=_0x4775ed-0x0;let _0x3fd230=_0x2622[_0x4775ed];return _0x3fd230;};import{Plugin as _0x26245d}from'ckeditor5/src/core';import{getTranslation as _0x4c4e71}from'../utils/common-translations';export default class Q extends _0x26245d{[_0x3fd2('0xa')](){const _0x488832=this[_0x3fd2('0xd')];if(!_0x488832[_0x3fd2('0x7')][_0x3fd2('0x4')]('HorizontalLineEditing'))return;_0x488832['plugins'][_0x3fd2('0x13')](_0x3fd2('0x3'))[_0x3fd2('0xc')](_0x3fd2('0xf'));const _0x578bea=_0x488832[_0x3fd2('0x7')][_0x3fd2('0x13')]('TrackChangesEditing'),_0x23dd41=_0x488832['locale'];_0x578bea[_0x3fd2('0x15')][_0x3fd2('0x6')](_0x3fd2('0xf'),_0x46388c=>_0x4c4e71(_0x23dd41,'ELEMENT_HORIZONTAL_LINE',_0x46388c)),_0x488832[_0x3fd2('0x0')][_0x3fd2('0x9')](_0x3fd2('0x10'))[_0x3fd2('0xe')]({'model':_0x3fd2('0xf'),'view':(_0x143f66,{writer:_0x2ca831,options:_0x1ade3e})=>{if(!_0x1ade3e[_0x3fd2('0x11')])return null;const _0x17a223=_0x2ca831[_0x3fd2('0x5')](_0x3fd2('0x2')),_0x3bdfa4=_0x2ca831['createEmptyElement']('hr');return _0x2ca831[_0x3fd2('0x1')](_0x3fd2('0x8'),_0x17a223),_0x2ca831[_0x3fd2('0x12')](_0x2ca831[_0x3fd2('0x14')](_0x17a223,0x0),_0x3bdfa4),_0x17a223;},'converterPriority':_0x3fd2('0xb')});}}
23
+ const _0x5eb9=['createContainerElement','get','plugins','ELEMENT_HORIZONTAL_LINE','createEmptyElement','HorizontalLineEditing','createPositionAt','elementToStructure','dataDowncast','div','conversion','editor','addClass','for','afterInit','high','locale','has','ck-horizontal-line','horizontalLine'];(function(_0x926822,_0x5eb9de){const _0x3695cf=function(_0x470cd5){while(--_0x470cd5){_0x926822['push'](_0x926822['shift']());}};_0x3695cf(++_0x5eb9de);}(_0x5eb9,0x8a));const _0x3695=function(_0x926822,_0x5eb9de){_0x926822=_0x926822-0x0;let _0x3695cf=_0x5eb9[_0x926822];return _0x3695cf;};import{Plugin as _0x49f1a5}from'ckeditor5/src/core';import{getTranslation as _0x277561}from'../utils/common-translations';export default class Q extends _0x49f1a5{[_0x3695('0x10')](){const _0x2e83a3=this[_0x3695('0xd')];if(!_0x2e83a3[_0x3695('0x4')][_0x3695('0x13')](_0x3695('0x7')))return;_0x2e83a3[_0x3695('0x4')][_0x3695('0x3')]('TrackChangesEditing')['enableCommand'](_0x3695('0x1'));const _0x2c6722=_0x2e83a3[_0x3695('0x4')][_0x3695('0x3')]('TrackChangesEditing'),_0x4a29d4=_0x2e83a3[_0x3695('0x12')];_0x2c6722['_descriptionFactory']['registerElementLabel'](_0x3695('0x1'),_0x20c1e6=>_0x277561(_0x4a29d4,_0x3695('0x5'),_0x20c1e6)),_0x2e83a3[_0x3695('0xc')][_0x3695('0xf')](_0x3695('0xa'))[_0x3695('0x9')]({'model':_0x3695('0x1'),'view':(_0x32b51a,{writer:_0xf9d340,options:_0x4e87e8})=>{if(!_0x4e87e8['showSuggestionHighlights'])return null;const _0x29bc21=_0xf9d340[_0x3695('0x2')](_0x3695('0xb')),_0x29cbec=_0xf9d340[_0x3695('0x6')]('hr');return _0xf9d340[_0x3695('0xe')](_0x3695('0x0'),_0x29bc21),_0xf9d340['insert'](_0xf9d340[_0x3695('0x8')](_0x29bc21,0x0),_0x29cbec),_0x29bc21;},'converterPriority':_0x3695('0x11')});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4bf0=['rawHtmlApi','document','plugins','HtmlEmbed','registerDescriptionCallback','htmlEmbed','markBlockFormat','getAttribute','afterInit','getCustomProperty','rawHtml','has','view','selection','editor','ELEMENT_HTML_EMBED','format','_descriptionFactory','editing','cancel','element','registerElementLabel','locale','getSelectedElement','enableCommand','commandName','TrackChangesEditing'];(function(_0x29de6f,_0x4bf036){const _0x3e4df1=function(_0xfab7c9){while(--_0xfab7c9){_0x29de6f['push'](_0x29de6f['shift']());}};_0x3e4df1(++_0x4bf036);}(_0x4bf0,0x114));const _0x3e4d=function(_0x29de6f,_0x4bf036){_0x29de6f=_0x29de6f-0x0;let _0x3e4df1=_0x4bf0[_0x29de6f];return _0x3e4df1;};import{Plugin as _0x2fa67d}from'ckeditor5/src/core';import{getTranslation as _0x56366a}from'../utils/common-translations';export default class V extends _0x2fa67d{[_0x3e4d('0x2')](){const _0xc00454=this[_0x3e4d('0x8')];if(!_0xc00454[_0x3e4d('0x17')][_0x3e4d('0x5')](_0x3e4d('0x18')))return;const _0x4a9810=_0xc00454['plugins']['get'](_0x3e4d('0x14')),_0x13bd7a=_0xc00454[_0x3e4d('0x10')],_0x229e72=_0xc00454[_0x3e4d('0xc')][_0x3e4d('0x6')][_0x3e4d('0x16')][_0x3e4d('0x7')];_0x4a9810['_descriptionFactory'][_0x3e4d('0xf')]('rawHtml',_0x1fc373=>_0x56366a(_0x13bd7a,_0x3e4d('0x9'),_0x1fc373)),_0xc00454[_0x3e4d('0x17')]['get'](_0x3e4d('0x14'))[_0x3e4d('0x12')]('htmlEmbed',(_0xc6164,_0x537a12)=>{const _0x1de3a3=_0xc00454['model'],_0x134be0=_0x1de3a3[_0x3e4d('0x16')][_0x3e4d('0x7')];_0x1de3a3['change'](()=>{const _0x431ac9=function(_0x30791e){const _0x17478d=_0x30791e['getSelectedElement']();if(_0x17478d&&_0x17478d['is'](_0x3e4d('0xe'),_0x3e4d('0x4')))return _0x30791e[_0x3e4d('0x11')]();return null;}(_0x134be0);if(!_0x431ac9)return void _0xc6164(null);const _0xbe08ca=_0x431ac9[_0x3e4d('0x1')]('value')||'';if(void 0x0===_0x537a12)return;if(_0x537a12===_0xbe08ca)return;_0x4a9810[_0x3e4d('0x0')](_0x431ac9,{'commandName':_0x3e4d('0x1a'),'commandParams':[_0x537a12]}),_0x229e72[_0x3e4d('0x11')]()[_0x3e4d('0x3')](_0x3e4d('0x15'))[_0x3e4d('0xd')]();});}),_0x4a9810[_0x3e4d('0xb')][_0x3e4d('0x19')](_0x371fad=>{const {data:_0x1d0f92}=_0x371fad;if(_0x1d0f92&&_0x3e4d('0x1a')==_0x1d0f92[_0x3e4d('0x13')]){const _0x11305a=_0x56366a(_0x13bd7a,_0x3e4d('0x9'));return{'type':_0x3e4d('0xa'),'content':_0x56366a(_0x13bd7a,'*Change\x20%0\x20content*',_0x11305a)};}});}}
23
+ const _0x4fde=['value','htmlEmbed','locale','format','getSelectedElement','model','selection','ELEMENT_HTML_EMBED','rawHtml','plugins','get','getCustomProperty','HtmlEmbed','registerDescriptionCallback','registerElementLabel','change','editing','_descriptionFactory','document','enableCommand','markBlockFormat','afterInit','TrackChangesEditing','element','has','commandName'];(function(_0x43374f,_0x4fde11){const _0x15d6ad=function(_0x26bc04){while(--_0x26bc04){_0x43374f['push'](_0x43374f['shift']());}};_0x15d6ad(++_0x4fde11);}(_0x4fde,0x17e));const _0x15d6=function(_0x43374f,_0x4fde11){_0x43374f=_0x43374f-0x0;let _0x15d6ad=_0x4fde[_0x43374f];return _0x15d6ad;};import{Plugin as _0x28e571}from'ckeditor5/src/core';import{getTranslation as _0x5e5ac7}from'../utils/common-translations';export default class V extends _0x28e571{[_0x15d6('0x3')](){const _0x20b9ab=this['editor'];if(!_0x20b9ab[_0x15d6('0x11')][_0x15d6('0x6')](_0x15d6('0x14')))return;const _0x4c5d90=_0x20b9ab[_0x15d6('0x11')][_0x15d6('0x12')](_0x15d6('0x4')),_0x399563=_0x20b9ab[_0x15d6('0xa')],_0x17a0e8=_0x20b9ab[_0x15d6('0x18')]['view'][_0x15d6('0x0')][_0x15d6('0xe')];_0x4c5d90['_descriptionFactory'][_0x15d6('0x16')](_0x15d6('0x10'),_0x3526b2=>_0x5e5ac7(_0x399563,_0x15d6('0xf'),_0x3526b2)),_0x20b9ab[_0x15d6('0x11')]['get'](_0x15d6('0x4'))[_0x15d6('0x1')](_0x15d6('0x9'),(_0xdba195,_0x26d0d4)=>{const _0x3db9b1=_0x20b9ab[_0x15d6('0xd')],_0x1f3de9=_0x3db9b1['document'][_0x15d6('0xe')];_0x3db9b1[_0x15d6('0x17')](()=>{const _0x30363b=function(_0x566bff){const _0x50eb58=_0x566bff['getSelectedElement']();if(_0x50eb58&&_0x50eb58['is'](_0x15d6('0x5'),_0x15d6('0x10')))return _0x566bff['getSelectedElement']();return null;}(_0x1f3de9);if(!_0x30363b)return void _0xdba195(null);const _0x7d5e1c=_0x30363b['getAttribute'](_0x15d6('0x8'))||'';if(void 0x0===_0x26d0d4)return;if(_0x26d0d4===_0x7d5e1c)return;_0x4c5d90[_0x15d6('0x2')](_0x30363b,{'commandName':_0x15d6('0x9'),'commandParams':[_0x26d0d4]}),_0x17a0e8[_0x15d6('0xc')]()[_0x15d6('0x13')]('rawHtmlApi')['cancel']();});}),_0x4c5d90[_0x15d6('0x19')][_0x15d6('0x15')](_0x50761b=>{const {data:_0x2c872f}=_0x50761b;if(_0x2c872f&&'htmlEmbed'==_0x2c872f[_0x15d6('0x7')]){const _0xbbcefc=_0x5e5ac7(_0x399563,_0x15d6('0xf'));return{'type':_0x15d6('0xb'),'content':_0x5e5ac7(_0x399563,'*Change\x20%0\x20content*',_0xbbcefc)};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3f51=['get','nodeBefore','getFirstRange','has','hasAttribute','toNext','ImageBlockEditing','removeObject','ImageStyleEditing','*Set\x20image\x20text\x20alternative:*\x20%0','_suggestionFactory','value','uploadImage','getAttribute','imageCaption','commandParams','find','isEqual','name','forEach','getContainedElement','suggestion','ImageInlineEditing','forward','filter','afterInit','getSuggestion','imageTypeBlock','isBefore','discardSuggestion','length','ImageTextAlternativeEditing','getChangedMarkers','chain','shouldConvertImageType','TrackChangesEditing','_descriptionFactory','element','Inline\x20image\x20to\x20block\x20image','fromPosition','createRangeOn','convertInlineImageToBlock','head','imageStyle','_splitMarkerName','newValue','start','accept','commands','nodeAfter','backward','formatInline','author','newRange','registerPostFixer','addObject','selection','Users','getClosestSelectedImageElement','registerDescriptionCallback','format','subType','hasSuggestion','ELEMENT_INLINE_IMAGE','imageTextAlternative','*Format:*\x20%0','convertBlockImageToInline','ELEMENT_CAPTION','getCaptionFromImageModelElement','*Set\x20image\x20width:*\x20%0','imageStylePostApply','join','next','ImageResize','side','Block\x20image\x20to\x20inline\x20image','isBlockImage','change','ImageUtils','isIntersecting','resizeImage','toggleImageCaption','caption','plugins','imageTypeInline','markBlockFormat','*Reset\x20image\x20width*','getSuggestions','isOwn','type','enableCommand','isInContent','commandName','getSuggestionCallback','formatBlock','discard','refresh','schema','width','model','findIndex','toLowerCase','insertion','registerCustomCallback','imageBlock','markInsertion','imageInline','*Remove\x20image\x20text\x20alternative*','ImageEditing','toPrevious','isCollapsed','document','previous','ImageCaptionEditing','title','createRange','ELEMENT_IMAGE','registerElementLabel','imageStylePreApply','end'];(function(_0xbcb205,_0x3f519c){const _0x29662b=function(_0x3e093b){while(--_0x3e093b){_0xbcb205['push'](_0xbcb205['shift']());}};_0x29662b(++_0x3f519c);}(_0x3f51,0x95));const _0x2966=function(_0xbcb205,_0x3f519c){_0xbcb205=_0xbcb205-0x0;let _0x29662b=_0x3f51[_0xbcb205];return _0x29662b;};import{Plugin as _0x3c1976}from'ckeditor5/src/core';import{LivePosition as _0x36460c}from'ckeditor5/src/engine';import{uid as _0x331475}from'ckeditor5/src/utils';import{getTranslation as _0x6db017}from'../utils/common-translations';export default class X extends _0x3c1976{[_0x2966('0x74')](){const _0x541f73=this['editor'];if(!_0x541f73[_0x2966('0x36')][_0x2966('0x5e')](_0x2966('0x4f')))return;const _0x329575=_0x541f73[_0x2966('0x36')][_0x2966('0x5b')](_0x2966('0x6')),_0x11d5ea=_0x541f73[_0x2966('0x36')][_0x2966('0x5b')](_0x2966('0x31')),_0x51a5e9={},_0x2632a4=_0x541f73['locale'];if(_0x329575[_0x2966('0x3d')]('insertImage'),_0x329575[_0x2966('0x7')][_0x2966('0x58')](_0x2966('0x4b'),_0x3b66e6=>_0x6db017(_0x2632a4,_0x2966('0x57'),_0x3b66e6)),_0x329575[_0x2966('0x7')][_0x2966('0x58')](_0x2966('0x4d'),_0x5520fa=>_0x6db017(_0x2632a4,_0x2966('0x22'),_0x5520fa)),_0x329575[_0x2966('0x7')]['registerElementLabel']('caption',()=>_0x6db017(_0x2632a4,_0x2966('0x26'))),_0x541f73[_0x2966('0x36')][_0x2966('0x5e')]('ImageUploadEditing')&&_0x329575[_0x2966('0x3d')](_0x2966('0x67')),_0x541f73[_0x2966('0x36')][_0x2966('0x5e')](_0x2966('0x61'))&&_0x541f73['plugins']['has'](_0x2966('0x71'))&&(_0x329575[_0x2966('0x3d')]('imageTypeInline',(_0x5f27aa,_0xc94ae8)=>{const _0x17822b=_0x11d5ea[_0x2966('0x1d')](_0x541f73['model'][_0x2966('0x52')][_0x2966('0x1b')]);_0x541f73[_0x2966('0x46')]['change'](()=>{_0x329575[_0x2966('0x38')](_0x17822b,{'commandName':_0x2966('0x37'),'commandParams':[_0xc94ae8]},[],_0x2966('0x25'));});}),_0x329575['enableCommand'](_0x2966('0x76'),(_0x4495b2,_0x4b29db)=>{_0x541f73['model'][_0x2966('0x30')](_0x26a35a=>{let _0x497fb3=_0x11d5ea[_0x2966('0x1d')](_0x541f73['model'][_0x2966('0x52')][_0x2966('0x1b')]),_0x51d640=_0x26a35a[_0x2966('0xb')](_0x497fb3);const _0x564f8b=_0x36460c[_0x2966('0xa')](_0x51d640[_0x2966('0x11')],_0x2966('0x50')),_0x2e8fed=_0x36460c['fromPosition'](_0x51d640['end'],_0x2966('0x60'));_0x329575['forceDefaultExecution'](()=>_0x4495b2(_0x4b29db)),_0x497fb3=_0x11d5ea[_0x2966('0x1d')](_0x541f73[_0x2966('0x46')][_0x2966('0x52')][_0x2966('0x1b')]),_0x51d640=_0x26a35a[_0x2966('0xb')](_0x497fb3);const _0x4337ba=_0x26a35a['createRange'](_0x564f8b,_0x2e8fed);_0x564f8b['detach'](),_0x2e8fed['detach'](),_0x329575['markBlockFormat'](_0x497fb3,{'commandName':_0x2966('0x37'),'commandParams':[]},[],_0x2966('0xc')),_0x4337ba[_0x2966('0x11')][_0x2966('0x77')](_0x51d640[_0x2966('0x11')])&&_0x329575[_0x2966('0x4c')](_0x26a35a['createRange'](_0x4337ba['start'],_0x51d640[_0x2966('0x11')]),_0x2966('0xc')),_0x51d640[_0x2966('0x5a')][_0x2966('0x77')](_0x4337ba[_0x2966('0x5a')])&&_0x329575[_0x2966('0x4c')](_0x26a35a[_0x2966('0x56')](_0x51d640[_0x2966('0x5a')],_0x4337ba['end']),_0x2966('0xc'));});}),_0x329575[_0x2966('0x65')][_0x2966('0x4a')]('formatBlock',_0x2966('0xc'),_0x2966('0x2a'),()=>{}),_0x329575[_0x2966('0x65')][_0x2966('0x4a')](_0x2966('0x41'),_0x2966('0xc'),_0x2966('0x12'),()=>{}),_0x329575[_0x2966('0x65')][_0x2966('0x4a')](_0x2966('0x41'),'convertInlineImageToBlock','discard',_0x329575[_0x2966('0x65')][_0x2966('0x40')](_0x2966('0x41'),'',_0x2966('0x12'))),_0x329575[_0x2966('0x65')][_0x2966('0x4a')](_0x2966('0x49'),_0x2966('0xc'),'join',()=>{}),_0x329575[_0x2966('0x65')][_0x2966('0x4a')](_0x2966('0x49'),'convertInlineImageToBlock','discard',([_0x1b2246])=>{const _0xb5ac82=_0x329575[_0x2966('0x65')][_0x2966('0x40')]('insertion','',_0x2966('0x42'));let _0x1862de=_0x1b2246[_0x2966('0x11')],_0x5a0ae4=_0x1b2246[_0x2966('0x5a')];const _0xa094ac=_0x541f73['model'][_0x2966('0x44')]['getNearestSelectionRange'](_0x1862de,_0x2966('0x15')),_0x485b60=_0x541f73['model'][_0x2966('0x44')]['getNearestSelectionRange'](_0x5a0ae4,_0x2966('0x72'));_0xa094ac['isCollapsed']&&(_0x1862de=_0xa094ac[_0x2966('0x11')]),_0x485b60[_0x2966('0x51')]&&(_0x5a0ae4=_0x485b60[_0x2966('0x5a')]),_0xb5ac82([_0x541f73[_0x2966('0x46')][_0x2966('0x56')](_0x1862de,_0x5a0ae4)]);}),_0x329575[_0x2966('0x65')]['registerCustomCallback'](_0x2966('0x41'),_0x2966('0xc'),_0x2966('0x4'),_0x3fc449),_0x329575[_0x2966('0x65')][_0x2966('0x4a')](_0x2966('0x49'),'convertInlineImageToBlock',_0x2966('0x4'),_0x3fc449)),_0x541f73['plugins']['has'](_0x2966('0x54'))&&(_0x329575[_0x2966('0x3d')](_0x2966('0x34'),(_0x344790,_0x510693)=>{const _0x4dfc39=_0x541f73[_0x2966('0x36')]['get']('ImageCaptionUtils');let _0x1d133c=_0x11d5ea[_0x2966('0x1d')](_0x541f73['model']['document'][_0x2966('0x1b')]),_0x23db1b=_0x4dfc39[_0x2966('0x27')](_0x1d133c);_0x541f73[_0x2966('0x46')][_0x2966('0x30')](()=>{if(_0x23db1b)return void _0x329575['markDeletion'](_0x541f73[_0x2966('0x46')][_0x2966('0xb')](_0x23db1b));const _0x226112=_0x11d5ea[_0x2966('0x2f')](_0x1d133c);_0x344790(_0x510693),_0x1d133c=_0x11d5ea[_0x2966('0x1d')](_0x541f73['model'][_0x2966('0x52')][_0x2966('0x1b')]),_0x23db1b=_0x4dfc39[_0x2966('0x27')](_0x1d133c),_0x329575[_0x2966('0x4c')](_0x541f73[_0x2966('0x46')][_0x2966('0xb')](_0x23db1b),_0x226112?null:_0x2966('0x69'));});}),_0x329575[_0x2966('0x65')]['registerCustomCallback'](_0x2966('0x49'),_0x2966('0x69'),'chain',_0x3fc449)),_0x541f73[_0x2966('0x36')][_0x2966('0x5e')](_0x2966('0x63'))){_0x329575[_0x2966('0x3d')]('imageStyle',(_0x36d2e9,_0xfb51bf)=>{const _0x11f6fb=_0x541f73[_0x2966('0x36')][_0x2966('0x5b')](_0x2966('0x1c'))['me'],_0x28431d=_0x541f73[_0x2966('0x13')][_0x2966('0x5b')](_0x2966('0xe'));let _0x136fd3=_0x11d5ea[_0x2966('0x1d')](_0x541f73[_0x2966('0x46')]['document'][_0x2966('0x1b')]),_0x28d2d8=_0x541f73['model'][_0x2966('0xb')](_0x136fd3),_0x2b8bc1=_0x28431d[_0x2966('0x66')];if(_0x2b8bc1==_0xfb51bf[_0x2966('0x66')])return;const _0x3f20c8={'commandName':_0x2966('0xe'),'commandParams':[_0xfb51bf],'formatGroupId':_0x331475()};_0x541f73[_0x2966('0x46')]['change'](()=>{if(_0x329575[_0x2966('0x3a')]()[_0x2966('0x73')](_0x35f220=>_0x35f220[_0x2966('0x3e')]&&_0x11f6fb==_0x35f220[_0x2966('0x17')]&&(_0x2966('0x41')==_0x35f220[_0x2966('0x3c')]||'formatInline'==_0x35f220['type'])&&(_0x2966('0x59')==_0x35f220[_0x2966('0x20')]||'imageStylePostApply'==_0x35f220[_0x2966('0x20')])&&_0x35f220[_0x2966('0x5d')]()[_0x2966('0x6c')](_0x28d2d8))[_0x2966('0x6e')](_0x1a83fd=>_0x329575[_0x2966('0x0')](_0x1a83fd[_0x2966('0xd')])),_0x136fd3=_0x11d5ea[_0x2966('0x1d')](_0x541f73[_0x2966('0x46')]['document'][_0x2966('0x1b')]),_0x28d2d8=_0x541f73[_0x2966('0x46')]['createRangeOn'](_0x136fd3),_0x28431d[_0x2966('0x43')](),_0x541f73[_0x2966('0x13')][_0x2966('0x5b')](_0x2966('0x37'))[_0x2966('0x43')](),_0x541f73['commands'][_0x2966('0x5b')](_0x2966('0x76'))['refresh'](),_0x2b8bc1=_0x28431d['value'],_0x2b8bc1!=_0xfb51bf[_0x2966('0x66')])return _0x11d5ea['isInlineImage'](_0x136fd3)&&_0x28431d[_0x2966('0x5')](_0xfb51bf['value'],_0x136fd3)?(_0x36d2e9(_0xfb51bf),_0x136fd3=_0x11d5ea[_0x2966('0x1d')](_0x541f73[_0x2966('0x46')][_0x2966('0x52')][_0x2966('0x1b')]),void _0x329575[_0x2966('0x38')](_0x136fd3,{..._0x3f20c8,'commandReversedParams':[{'value':_0x2b8bc1||null}]},[],_0x2966('0x59'))):void(_0x11d5ea[_0x2966('0x2f')](_0x136fd3)?_0x329575[_0x2966('0x38')](_0x136fd3,_0x3f20c8,[],_0x2966('0x29')):_0x329575['markInlineFormat'](_0x28d2d8,_0x3f20c8,_0x2966('0x29')));});});for(const _0x5aa66e of _0x541f73[_0x2966('0x36')][_0x2966('0x5b')](_0x2966('0x63'))['normalizedStyles'])_0x51a5e9[_0x5aa66e[_0x2966('0x6d')]]=_0x5aa66e[_0x2966('0x55')][_0x2966('0x48')]();_0x329575[_0x2966('0x65')][_0x2966('0x4a')](_0x2966('0x41'),_0x2966('0x59'),'join',()=>{}),_0x329575[_0x2966('0x65')]['registerCustomCallback'](_0x2966('0x41'),_0x2966('0x29'),'join',()=>{}),_0x329575[_0x2966('0x65')][_0x2966('0x4a')](_0x2966('0x16'),_0x2966('0x29'),_0x2966('0x2a'),()=>{}),_0x329575['_suggestionFactory']['registerCustomCallback'](_0x2966('0x41'),_0x2966('0x59'),_0x2966('0x12'),()=>{}),_0x329575['_suggestionFactory'][_0x2966('0x4a')]('formatBlock','imageStylePreApply',_0x2966('0x42'),(_0x538239,_0x5a23f4)=>{_0x329575[_0x2966('0x65')][_0x2966('0x40')]('formatBlock','',_0x2966('0x12'))(_0x538239,{'commandName':_0x5a23f4[_0x2966('0x3f')],'commandParams':_0x5a23f4['commandReversedParams']});}),_0x329575[_0x2966('0x65')]['registerCustomCallback']('formatBlock',_0x2966('0x59'),_0x2966('0x4'),_0x3fc449);}const _0x52d572=[{'type':_0x2966('0x41'),'subType':_0x2966('0x59')},{'type':_0x2966('0x49'),'subType':_0x2966('0x69')},{'type':_0x2966('0x41'),'subType':_0x2966('0xc')},{'type':_0x2966('0x49'),'subType':'convertInlineImageToBlock'}];function _0xfd6b4(_0x284b5e,_0x5e83d9){const _0x196b7f=_0x52d572[_0x2966('0x47')](({type:_0x421c88,subType:_0x3e2f0d})=>_0x284b5e['type']==_0x421c88&&_0x284b5e[_0x2966('0x20')]==_0x3e2f0d),_0x3cf91a=_0x52d572[_0x2966('0x47')](({type:_0x498c88,subType:_0x2efe16})=>_0x5e83d9['type']==_0x498c88&&_0x5e83d9[_0x2966('0x20')]==_0x2efe16);if(_0x196b7f<0x0||_0x3cf91a<0x0)return!0x1;const _0x3b57d1=_0x284b5e[_0x2966('0x5d')](),_0x24e9ad=_0x5e83d9[_0x2966('0x5d')]();if((0x0==_0x196b7f||0x1==_0x196b7f)&&0x2==_0x3cf91a&&_0x3b57d1[_0x2966('0x32')](_0x24e9ad))return!0x0;if(0x2==_0x196b7f&&0x3==_0x3cf91a){const _0x29b8f1=_0x329575['_findSuggestions'](_0x3b57d1,_0x2966('0x49'))['filter'](({suggestion:_0x55a55f,meta:_0x2a811c})=>_0x2a811c[_0x2966('0x3b')]&&_0x2966('0xc')==_0x55a55f[_0x2966('0x20')]);if(_0x29b8f1[_0x2966('0x1')]>0x1&&_0x24e9ad['end'][_0x2966('0x6c')](_0x3b57d1[_0x2966('0x11')]))return!0x0;if(0x1==_0x29b8f1['length']&&(_0x3b57d1[_0x2966('0x11')]['isEqual'](_0x24e9ad[_0x2966('0x5a')])||_0x3b57d1['end'][_0x2966('0x6c')](_0x24e9ad[_0x2966('0x11')])))return!0x0;}if(0x3==_0x196b7f&&0x3==_0x3cf91a&&_0x3b57d1['start'][_0x2966('0x77')](_0x24e9ad[_0x2966('0x11')])){const _0x58e41d=_0x3b57d1[_0x2966('0x5a')][_0x2966('0x14')],_0x2bfe5b=_0x24e9ad[_0x2966('0x11')][_0x2966('0x5c')];return _0x11d5ea[_0x2966('0x2f')](_0x58e41d)&&_0x58e41d===_0x2bfe5b;}return!0x1;}function _0x3fc449(_0x1d5d9d,_0x47a642){return _0xfd6b4(_0x1d5d9d,_0x47a642)?[_0x1d5d9d,_0x47a642]:_0xfd6b4(_0x47a642,_0x1d5d9d)?[_0x47a642,_0x1d5d9d]:null;}_0x541f73[_0x2966('0x46')][_0x2966('0x52')][_0x2966('0x19')](()=>{let _0x60f7db=!0x1;const _0x2eb9e2=Array['from'](_0x541f73[_0x2966('0x46')][_0x2966('0x52')]['differ'][_0x2966('0x3')]());for(const {name:_0x55beb6,data:_0x331b99}of _0x2eb9e2){const {group:_0x3b2a32,type:_0x2b1de6,subType:_0x11fdeb,id:_0x248b38}=_0x329575[_0x2966('0xf')](_0x55beb6);if(_0x2966('0x70')==_0x3b2a32&&_0x329575[_0x2966('0x21')](_0x248b38)){if(_0x2966('0x41')==_0x2b1de6&&(_0x2966('0x59')==_0x11fdeb||'imageStylePostApply'==_0x11fdeb)){const _0x447dda=_0x329575['getSuggestion'](_0x248b38);if(_0x331b99['newRange']){const _0x2a8858=_0x447dda['getFirstRange']()[_0x2966('0x6f')]();if(_0x11d5ea[_0x2966('0x2f')](_0x2a8858))continue;_0x329575[_0x2966('0x0')](_0x447dda),_0x60f7db=!0x0;}}if('insertion'==_0x2b1de6&&_0x2966('0x69')==_0x11fdeb&&!_0x331b99[_0x2966('0x18')]){const _0x41e86a=_0x329575[_0x2966('0x75')](_0x248b38);_0x41e86a[_0x2966('0x2b')]&&_0x41e86a[_0x2966('0x2b')][_0x2966('0x3e')]&&(_0x329575[_0x2966('0x0')](_0x41e86a['next']),_0x60f7db=!0x0);}}}return _0x60f7db;}),_0x541f73[_0x2966('0x36')]['has'](_0x2966('0x2c'))&&_0x329575['enableCommand'](_0x2966('0x33'),(_0x1ce94d,_0xadcba0)=>{const _0x2e6022=_0x11d5ea['getClosestSelectedImageElement'](_0x541f73[_0x2966('0x46')]['document'][_0x2966('0x1b')]);_0x2e6022[_0x2966('0x68')](_0x2966('0x45'))!=_0xadcba0[_0x2966('0x45')]&&_0x541f73[_0x2966('0x46')]['change'](()=>{_0x329575['markBlockFormat'](_0x2e6022,{'commandName':'resizeImage','commandParams':[_0xadcba0]});});}),_0x541f73[_0x2966('0x36')]['has'](_0x2966('0x2'))&&_0x329575[_0x2966('0x3d')]('imageTextAlternative',(_0x420255,_0xe297d9)=>{const _0x1c2952=_0x11d5ea['getClosestSelectedImageElement'](_0x541f73['model'][_0x2966('0x52')][_0x2966('0x1b')]);(_0x1c2952[_0x2966('0x5f')]('alt')?_0x1c2952['getAttribute']('alt'):'')!=_0xe297d9[_0x2966('0x10')]&&_0x541f73[_0x2966('0x46')][_0x2966('0x30')](()=>{_0x329575[_0x2966('0x38')](_0x1c2952,{'commandName':_0x2966('0x23'),'commandParams':[_0xe297d9]});});}),_0x329575[_0x2966('0x7')][_0x2966('0x1e')](_0x2658dd=>{if(!!_0x52d572[_0x2966('0x6b')](({type:_0x5ff341,subType:_0x510a41})=>_0x2658dd[_0x2966('0x3c')]==_0x5ff341&&_0x2658dd[_0x2966('0x20')]==_0x510a41))return _0x2658dd[_0x2966('0x53')]?{}:void 0x0;}),_0x329575['_descriptionFactory'][_0x2966('0x1e')](_0x2a6d0d=>{if(_0x2966('0x49')==_0x2a6d0d[_0x2966('0x3c')]||'deletion'==_0x2a6d0d[_0x2966('0x3c')]){const _0x5cf6b4=_0x2a6d0d[_0x2966('0x6f')]();if(_0x5cf6b4&&_0x5cf6b4['is'](_0x2966('0x8'),_0x2966('0x35')))return{'type':_0x2966('0x49')==_0x2a6d0d['type']?_0x2966('0x1a'):_0x2966('0x62'),'element':_0x5cf6b4,'quantity':0x1};}}),_0x329575[_0x2966('0x7')]['registerDescriptionCallback'](_0x1c7553=>'formatBlock'==_0x1c7553[_0x2966('0x3c')]&&_0x2966('0xc')==_0x1c7553[_0x2966('0x20')]?{'type':_0x2966('0x1f'),'content':_0x2966('0x9')}:'formatBlock'==_0x1c7553[_0x2966('0x3c')]&&_0x2966('0x25')==_0x1c7553[_0x2966('0x20')]?{'type':_0x2966('0x1f'),'content':_0x2966('0x2e')}:void 0x0),_0x329575[_0x2966('0x7')]['registerDescriptionCallback'](_0x6d6596=>{const {data:_0x584f93}=_0x6d6596;if(_0x584f93){if(_0x2966('0xe')==_0x584f93[_0x2966('0x3f')]){const _0x1556b7=_0x584f93[_0x2966('0x6a')][0x0][_0x2966('0x66')];return _0x585ead(_0x2966('0x2d')===_0x1556b7?_0x6db017(_0x2632a4,'FORMAT_SIDE_IMAGE'):_0x51a5e9[_0x1556b7]||_0x1556b7);}if(_0x2966('0x23')==_0x584f93[_0x2966('0x3f')]){const _0x331a2c=_0x584f93[_0x2966('0x6a')][0x0][_0x2966('0x10')];return _0x331a2c?{'type':_0x2966('0x1f'),'content':_0x6db017(_0x2632a4,_0x2966('0x64'),'\x22'+_0x331a2c+'\x22')}:{'type':_0x2966('0x1f'),'content':_0x6db017(_0x2632a4,_0x2966('0x4e'))};}if('resizeImage'==_0x584f93[_0x2966('0x3f')]){const _0x4592e7=_0x584f93[_0x2966('0x6a')][0x0]['width'];return _0x4592e7?{'type':'format','content':_0x6db017(_0x2632a4,_0x2966('0x28'),_0x4592e7)}:{'type':_0x2966('0x1f'),'content':_0x6db017(_0x2632a4,_0x2966('0x39'))};}}function _0x585ead(_0x4f3468){return{'type':_0x2966('0x1f'),'content':_0x6db017(_0x2632a4,_0x2966('0x24'),_0x4f3468)};}});}}
23
+ const _0x8556=['model','start','removeObject','ImageResize','author','differ','forceDefaultExecution','markInsertion','ELEMENT_IMAGE','getAttribute','registerPostFixer','imageTextAlternative','head','markBlockFormat','get','createRange','_descriptionFactory','_splitMarkerName','getCaptionFromImageModelElement','getSuggestions','previous','newValue','registerElementLabel','newRange','value','Block\x20image\x20to\x20inline\x20image','change','plugins','isCollapsed','caption','imageTypeInline','shouldConvertImageType','_findSuggestions','formatBlock','ImageEditing','find','selection','insertion','title','from','locale','alt','imageCaption','ELEMENT_INLINE_IMAGE','isBefore','isBlockImage','filter','toNext','imageTypeBlock','accept','ImageStyleEditing','length','uploadImage','afterInit','format','*Reset\x20image\x20width*','getNearestSelectionRange','resizeImage','nodeBefore','element','formatInline','ImageUploadEditing','deletion','name','imageStyle','convertInlineImageToBlock','TrackChangesEditing','toPrevious','commandName','document','convertBlockImageToInline','imageStylePreApply','forward','refresh','*Remove\x20image\x20text\x20alternative*','suggestion','subType','width','ImageCaptionEditing','backward','FORMAT_SIDE_IMAGE','_suggestionFactory','*Format:*\x20%0','*Set\x20image\x20text\x20alternative:*\x20%0','findIndex','has','*Set\x20image\x20width:*\x20%0','getSuggestionCallback','normalizedStyles','registerDescriptionCallback','imageInline','commandReversedParams','getClosestSelectedImageElement','isInContent','commands','createRangeOn','registerCustomCallback','ImageCaptionUtils','getFirstRange','toggleImageCaption','isEqual','discard','side','detach','ImageUtils','getContainedElement','end','fromPosition','type','insertImage','imageStylePostApply','ImageBlockEditing','hasAttribute','Inline\x20image\x20to\x20block\x20image','getSuggestion','next','commandParams','chain','ELEMENT_CAPTION','forEach','isInlineImage','enableCommand','join','discardSuggestion'];(function(_0x4f059a,_0x8556fc){const _0x106c23=function(_0x421e2d){while(--_0x421e2d){_0x4f059a['push'](_0x4f059a['shift']());}};_0x106c23(++_0x8556fc);}(_0x8556,0x1b0));const _0x106c=function(_0x4f059a,_0x8556fc){_0x4f059a=_0x4f059a-0x0;let _0x106c23=_0x8556[_0x4f059a];return _0x106c23;};import{Plugin as _0x20049b}from'ckeditor5/src/core';import{LivePosition as _0x3dfc54}from'ckeditor5/src/engine';import{uid as _0xc64e48}from'ckeditor5/src/utils';import{getTranslation as _0x518302}from'../utils/common-translations';export default class X extends _0x20049b{[_0x106c('0x75')](){const _0x1fbbbd=this['editor'];if(!_0x1fbbbd[_0x106c('0x5b')][_0x106c('0x19')](_0x106c('0x62')))return;const _0x3f37ad=_0x1fbbbd[_0x106c('0x5b')][_0x106c('0x4e')](_0x106c('0x6')),_0x41bcaa=_0x1fbbbd[_0x106c('0x5b')][_0x106c('0x4e')](_0x106c('0x2c')),_0x323b9a={},_0x491f6c=_0x1fbbbd[_0x106c('0x68')];if(_0x3f37ad[_0x106c('0x3d')](_0x106c('0x31')),_0x3f37ad[_0x106c('0x50')][_0x106c('0x56')]('imageBlock',_0xcb2ad3=>_0x518302(_0x491f6c,_0x106c('0x48'),_0xcb2ad3)),_0x3f37ad[_0x106c('0x50')][_0x106c('0x56')](_0x106c('0x1e'),_0xb5d7a5=>_0x518302(_0x491f6c,_0x106c('0x6b'),_0xb5d7a5)),_0x3f37ad[_0x106c('0x50')]['registerElementLabel'](_0x106c('0x5d'),()=>_0x518302(_0x491f6c,_0x106c('0x3a'))),_0x1fbbbd[_0x106c('0x5b')][_0x106c('0x19')](_0x106c('0x1'))&&_0x3f37ad['enableCommand'](_0x106c('0x74')),_0x1fbbbd['plugins'][_0x106c('0x19')](_0x106c('0x33'))&&_0x1fbbbd['plugins'][_0x106c('0x19')]('ImageInlineEditing')&&(_0x3f37ad[_0x106c('0x3d')](_0x106c('0x5e'),(_0x350822,_0x4d0d87)=>{const _0x1f15b3=_0x41bcaa['getClosestSelectedImageElement'](_0x1fbbbd[_0x106c('0x40')]['document'][_0x106c('0x64')]);_0x1fbbbd[_0x106c('0x40')][_0x106c('0x5a')](()=>{_0x3f37ad['markBlockFormat'](_0x1f15b3,{'commandName':_0x106c('0x5e'),'commandParams':[_0x4d0d87]},[],_0x106c('0xa'));});}),_0x3f37ad[_0x106c('0x3d')]('imageTypeBlock',(_0x40f9aa,_0x1f04b2)=>{_0x1fbbbd[_0x106c('0x40')][_0x106c('0x5a')](_0x45850c=>{let _0x10848c=_0x41bcaa[_0x106c('0x20')](_0x1fbbbd[_0x106c('0x40')]['document'][_0x106c('0x64')]),_0x36b368=_0x45850c[_0x106c('0x23')](_0x10848c);const _0x4e31fb=_0x3dfc54[_0x106c('0x2f')](_0x36b368[_0x106c('0x41')],_0x106c('0x7')),_0x5c9b44=_0x3dfc54['fromPosition'](_0x36b368['end'],_0x106c('0x6f'));_0x3f37ad[_0x106c('0x46')](()=>_0x40f9aa(_0x1f04b2)),_0x10848c=_0x41bcaa[_0x106c('0x20')](_0x1fbbbd['model']['document'][_0x106c('0x64')]),_0x36b368=_0x45850c[_0x106c('0x23')](_0x10848c);const _0x901be9=_0x45850c[_0x106c('0x4f')](_0x4e31fb,_0x5c9b44);_0x4e31fb[_0x106c('0x2b')](),_0x5c9b44[_0x106c('0x2b')](),_0x3f37ad[_0x106c('0x4d')](_0x10848c,{'commandName':_0x106c('0x5e'),'commandParams':[]},[],_0x106c('0x5')),_0x901be9[_0x106c('0x41')][_0x106c('0x6c')](_0x36b368['start'])&&_0x3f37ad['markInsertion'](_0x45850c[_0x106c('0x4f')](_0x901be9['start'],_0x36b368[_0x106c('0x41')]),_0x106c('0x5')),_0x36b368[_0x106c('0x2e')][_0x106c('0x6c')](_0x901be9[_0x106c('0x2e')])&&_0x3f37ad[_0x106c('0x47')](_0x45850c[_0x106c('0x4f')](_0x36b368[_0x106c('0x2e')],_0x901be9['end']),_0x106c('0x5'));});}),_0x3f37ad[_0x106c('0x15')][_0x106c('0x24')](_0x106c('0x61'),_0x106c('0x5'),_0x106c('0x3e'),()=>!0x1),_0x3f37ad[_0x106c('0x15')][_0x106c('0x24')](_0x106c('0x61'),_0x106c('0x5'),_0x106c('0x71'),()=>!0x1),_0x3f37ad['_suggestionFactory'][_0x106c('0x24')](_0x106c('0x61'),'convertInlineImageToBlock','discard',_0x3f37ad['_suggestionFactory']['getSuggestionCallback'](_0x106c('0x61'),'',_0x106c('0x71'))),_0x3f37ad[_0x106c('0x15')][_0x106c('0x24')]('insertion','convertInlineImageToBlock','join',()=>!0x1),_0x3f37ad['_suggestionFactory'][_0x106c('0x24')]('insertion',_0x106c('0x5'),_0x106c('0x29'),([_0x3959d8])=>{const _0x26fdbc=_0x3f37ad['_suggestionFactory'][_0x106c('0x1b')]('insertion','',_0x106c('0x29'));let _0x14686d=_0x3959d8['start'],_0x3d6521=_0x3959d8[_0x106c('0x2e')];const _0x23de95=_0x1fbbbd[_0x106c('0x40')]['schema'][_0x106c('0x78')](_0x14686d,_0x106c('0x13')),_0x526696=_0x1fbbbd['model']['schema'][_0x106c('0x78')](_0x3d6521,_0x106c('0xc'));_0x23de95[_0x106c('0x5c')]&&(_0x14686d=_0x23de95[_0x106c('0x41')]),_0x526696[_0x106c('0x5c')]&&(_0x3d6521=_0x526696[_0x106c('0x2e')]),_0x26fdbc([_0x1fbbbd['model'][_0x106c('0x4f')](_0x14686d,_0x3d6521)]);}),_0x3f37ad[_0x106c('0x15')][_0x106c('0x24')](_0x106c('0x61'),_0x106c('0x5'),'chain',_0x15f74b),_0x3f37ad[_0x106c('0x15')][_0x106c('0x24')](_0x106c('0x65'),'convertInlineImageToBlock',_0x106c('0x39'),_0x15f74b)),_0x1fbbbd['plugins'][_0x106c('0x19')](_0x106c('0x12'))&&(_0x3f37ad[_0x106c('0x3d')](_0x106c('0x27'),(_0x5e4dc2,_0x5da439)=>{const _0x14c1ae=_0x1fbbbd[_0x106c('0x5b')][_0x106c('0x4e')](_0x106c('0x25'));let _0x24124a=_0x41bcaa[_0x106c('0x20')](_0x1fbbbd[_0x106c('0x40')][_0x106c('0x9')][_0x106c('0x64')]),_0x6a4ab8=_0x14c1ae[_0x106c('0x52')](_0x24124a);_0x1fbbbd[_0x106c('0x40')][_0x106c('0x5a')](()=>{if(_0x6a4ab8)return void _0x3f37ad['markDeletion'](_0x1fbbbd[_0x106c('0x40')][_0x106c('0x23')](_0x6a4ab8));const _0x22bfaf=_0x41bcaa[_0x106c('0x6d')](_0x24124a);_0x5e4dc2(_0x5da439),_0x24124a=_0x41bcaa[_0x106c('0x20')](_0x1fbbbd[_0x106c('0x40')]['document']['selection']),_0x6a4ab8=_0x14c1ae[_0x106c('0x52')](_0x24124a),_0x3f37ad[_0x106c('0x47')](_0x1fbbbd[_0x106c('0x40')][_0x106c('0x23')](_0x6a4ab8),_0x22bfaf?null:_0x106c('0x6a'));});}),_0x3f37ad[_0x106c('0x15')][_0x106c('0x24')](_0x106c('0x65'),'imageCaption','chain',_0x15f74b)),_0x1fbbbd['plugins']['has'](_0x106c('0x72'))){_0x3f37ad['enableCommand'](_0x106c('0x4'),(_0x2fcbe8,_0x3a6da2)=>{const _0x44d017=_0x1fbbbd[_0x106c('0x5b')][_0x106c('0x4e')]('Users')['me'],_0x125d8e=_0x1fbbbd[_0x106c('0x22')]['get'](_0x106c('0x4'));let _0x1ce237=_0x41bcaa[_0x106c('0x20')](_0x1fbbbd['model']['document'][_0x106c('0x64')]),_0x3cca1c=_0x1fbbbd[_0x106c('0x40')][_0x106c('0x23')](_0x1ce237),_0xeb83c7=_0x125d8e[_0x106c('0x58')];if(_0xeb83c7==_0x3a6da2[_0x106c('0x58')])return;const _0x25ea5f={'commandName':'imageStyle','commandParams':[_0x3a6da2],'formatGroupId':_0xc64e48()};_0x1fbbbd[_0x106c('0x40')]['change'](()=>{if(_0x3f37ad[_0x106c('0x53')]()[_0x106c('0x6e')](_0x19ba4c=>_0x19ba4c[_0x106c('0x21')]&&_0x44d017==_0x19ba4c[_0x106c('0x44')]&&(_0x106c('0x61')==_0x19ba4c[_0x106c('0x30')]||_0x106c('0x0')==_0x19ba4c[_0x106c('0x30')])&&('imageStylePreApply'==_0x19ba4c[_0x106c('0x10')]||_0x106c('0x32')==_0x19ba4c[_0x106c('0x10')])&&_0x19ba4c[_0x106c('0x26')]()[_0x106c('0x28')](_0x3cca1c))[_0x106c('0x3b')](_0x4f1629=>_0x3f37ad[_0x106c('0x3f')](_0x4f1629[_0x106c('0x4c')])),_0x1ce237=_0x41bcaa[_0x106c('0x20')](_0x1fbbbd['model'][_0x106c('0x9')][_0x106c('0x64')]),_0x3cca1c=_0x1fbbbd[_0x106c('0x40')][_0x106c('0x23')](_0x1ce237),_0x125d8e[_0x106c('0xd')](),_0x1fbbbd[_0x106c('0x22')][_0x106c('0x4e')]('imageTypeInline')['refresh'](),_0x1fbbbd[_0x106c('0x22')][_0x106c('0x4e')](_0x106c('0x70'))['refresh'](),_0xeb83c7=_0x125d8e[_0x106c('0x58')],_0xeb83c7!=_0x3a6da2[_0x106c('0x58')])return _0x41bcaa[_0x106c('0x3c')](_0x1ce237)&&_0x125d8e[_0x106c('0x5f')](_0x3a6da2['value'],_0x1ce237)?(_0x2fcbe8(_0x3a6da2),_0x1ce237=_0x41bcaa[_0x106c('0x20')](_0x1fbbbd['model'][_0x106c('0x9')][_0x106c('0x64')]),void _0x3f37ad[_0x106c('0x4d')](_0x1ce237,{..._0x25ea5f,'commandReversedParams':[{'value':_0xeb83c7||null}]},[],_0x106c('0xb'))):void(_0x41bcaa[_0x106c('0x6d')](_0x1ce237)?_0x3f37ad[_0x106c('0x4d')](_0x1ce237,_0x25ea5f,[],'imageStylePostApply'):_0x3f37ad['markInlineFormat'](_0x3cca1c,_0x25ea5f,_0x106c('0x32')));});});for(const _0x4c5e39 of _0x1fbbbd[_0x106c('0x5b')]['get'](_0x106c('0x72'))[_0x106c('0x1c')])_0x323b9a[_0x4c5e39[_0x106c('0x3')]]=_0x4c5e39[_0x106c('0x66')]['toLowerCase']();_0x3f37ad[_0x106c('0x15')][_0x106c('0x24')](_0x106c('0x61'),'imageStylePreApply',_0x106c('0x3e'),()=>!0x1),_0x3f37ad[_0x106c('0x15')][_0x106c('0x24')]('formatBlock',_0x106c('0x32'),'join',()=>!0x1),_0x3f37ad[_0x106c('0x15')][_0x106c('0x24')](_0x106c('0x0'),_0x106c('0x32'),_0x106c('0x3e'),()=>!0x1),_0x3f37ad['_suggestionFactory']['registerCustomCallback'](_0x106c('0x61'),'imageStylePreApply',_0x106c('0x71'),()=>!0x1),_0x3f37ad['_suggestionFactory'][_0x106c('0x24')](_0x106c('0x61'),_0x106c('0xb'),_0x106c('0x29'),(_0x332f48,_0x3427ca)=>{_0x3f37ad[_0x106c('0x15')][_0x106c('0x1b')](_0x106c('0x61'),'',_0x106c('0x71'))(_0x332f48,{'commandName':_0x3427ca[_0x106c('0x8')],'commandParams':_0x3427ca[_0x106c('0x1f')]});}),_0x3f37ad[_0x106c('0x15')][_0x106c('0x24')](_0x106c('0x61'),'imageStylePreApply','chain',_0x15f74b);}const _0x97e36e=[{'type':_0x106c('0x61'),'subType':_0x106c('0xb')},{'type':_0x106c('0x65'),'subType':_0x106c('0x6a')},{'type':_0x106c('0x61'),'subType':_0x106c('0x5')},{'type':_0x106c('0x65'),'subType':'convertInlineImageToBlock'}];function _0x24d4bd(_0x11ae98,_0x4bd0ee){const _0x1c051c=_0x97e36e[_0x106c('0x18')](({type:_0x25058b,subType:_0x40a505})=>_0x11ae98['type']==_0x25058b&&_0x11ae98[_0x106c('0x10')]==_0x40a505),_0x56b7dc=_0x97e36e[_0x106c('0x18')](({type:_0x53f1d7,subType:_0x2ad94d})=>_0x4bd0ee[_0x106c('0x30')]==_0x53f1d7&&_0x4bd0ee['subType']==_0x2ad94d);if(_0x1c051c<0x0||_0x56b7dc<0x0)return!0x1;const _0x52bc2a=_0x11ae98['getFirstRange'](),_0x5c73fc=_0x4bd0ee['getFirstRange']();if((0x0==_0x1c051c||0x1==_0x1c051c)&&0x2==_0x56b7dc&&_0x52bc2a['isIntersecting'](_0x5c73fc))return!0x0;if(0x2==_0x1c051c&&0x3==_0x56b7dc){const _0x3a91c2=_0x3f37ad[_0x106c('0x60')](_0x52bc2a,'insertion')[_0x106c('0x6e')](({suggestion:_0x5acfee,meta:_0x83e479})=>_0x83e479['isOwn']&&_0x106c('0x5')==_0x5acfee[_0x106c('0x10')]);if(_0x3a91c2[_0x106c('0x73')]>0x1&&_0x5c73fc['end']['isEqual'](_0x52bc2a[_0x106c('0x41')]))return!0x0;if(0x1==_0x3a91c2[_0x106c('0x73')]&&(_0x52bc2a[_0x106c('0x41')]['isEqual'](_0x5c73fc[_0x106c('0x2e')])||_0x52bc2a[_0x106c('0x2e')][_0x106c('0x28')](_0x5c73fc[_0x106c('0x41')])))return!0x0;}if(0x3==_0x1c051c&&0x3==_0x56b7dc&&_0x52bc2a['start'][_0x106c('0x6c')](_0x5c73fc[_0x106c('0x41')])){const _0x32937f=_0x52bc2a[_0x106c('0x2e')]['nodeAfter'],_0x5e9ea8=_0x5c73fc['start'][_0x106c('0x7a')];return _0x41bcaa[_0x106c('0x6d')](_0x32937f)&&_0x32937f===_0x5e9ea8;}return!0x1;}function _0x15f74b(_0xfa1f9e,_0x21af95){return _0x24d4bd(_0xfa1f9e,_0x21af95)?[_0xfa1f9e,_0x21af95]:_0x24d4bd(_0x21af95,_0xfa1f9e)?[_0x21af95,_0xfa1f9e]:null;}_0x1fbbbd['model']['document'][_0x106c('0x4a')](()=>{let _0x503066=!0x1;const _0x255a1c=Array[_0x106c('0x67')](_0x1fbbbd[_0x106c('0x40')][_0x106c('0x9')][_0x106c('0x45')]['getChangedMarkers']());for(const {name:_0x37e557,data:_0x106ecb}of _0x255a1c){const {group:_0x1b5da7,type:_0x572201,subType:_0x23e24b,id:_0x21ade3}=_0x3f37ad[_0x106c('0x51')](_0x37e557);if(_0x106c('0xf')==_0x1b5da7&&_0x3f37ad['hasSuggestion'](_0x21ade3)){if(_0x106c('0x61')==_0x572201&&(_0x106c('0xb')==_0x23e24b||_0x106c('0x32')==_0x23e24b)){const _0x6e4a49=_0x3f37ad[_0x106c('0x36')](_0x21ade3);if(_0x106ecb[_0x106c('0x57')]){const _0x43306d=_0x6e4a49[_0x106c('0x26')]()[_0x106c('0x2d')]();if(_0x41bcaa[_0x106c('0x6d')](_0x43306d))continue;_0x3f37ad['discardSuggestion'](_0x6e4a49),_0x503066=!0x0;}}if(_0x106c('0x65')==_0x572201&&'imageCaption'==_0x23e24b&&!_0x106ecb[_0x106c('0x57')]){const _0x3bb4fa=_0x3f37ad[_0x106c('0x36')](_0x21ade3);_0x3bb4fa[_0x106c('0x37')]&&_0x3bb4fa['next']['isInContent']&&(_0x3f37ad['discardSuggestion'](_0x3bb4fa[_0x106c('0x37')]),_0x503066=!0x0);}}}return _0x503066;}),_0x1fbbbd[_0x106c('0x5b')][_0x106c('0x19')](_0x106c('0x43'))&&_0x3f37ad['enableCommand'](_0x106c('0x79'),(_0x9b2e42,_0x2d1728)=>{const _0x2da000=_0x41bcaa[_0x106c('0x20')](_0x1fbbbd[_0x106c('0x40')][_0x106c('0x9')][_0x106c('0x64')]);_0x2da000[_0x106c('0x49')]('width')!=_0x2d1728[_0x106c('0x11')]&&_0x1fbbbd['model']['change'](()=>{_0x3f37ad[_0x106c('0x4d')](_0x2da000,{'commandName':_0x106c('0x79'),'commandParams':[_0x2d1728]});});}),_0x1fbbbd[_0x106c('0x5b')][_0x106c('0x19')]('ImageTextAlternativeEditing')&&_0x3f37ad[_0x106c('0x3d')]('imageTextAlternative',(_0x2a48c5,_0x382631)=>{const _0x517a23=_0x41bcaa[_0x106c('0x20')](_0x1fbbbd[_0x106c('0x40')]['document'][_0x106c('0x64')]);(_0x517a23[_0x106c('0x34')](_0x106c('0x69'))?_0x517a23[_0x106c('0x49')](_0x106c('0x69')):'')!=_0x382631[_0x106c('0x55')]&&_0x1fbbbd[_0x106c('0x40')][_0x106c('0x5a')](()=>{_0x3f37ad[_0x106c('0x4d')](_0x517a23,{'commandName':'imageTextAlternative','commandParams':[_0x382631]});});}),_0x3f37ad['_descriptionFactory'][_0x106c('0x1d')](_0x53bcef=>{if(!!_0x97e36e[_0x106c('0x63')](({type:_0x49662c,subType:_0xfed8e2})=>_0x53bcef[_0x106c('0x30')]==_0x49662c&&_0x53bcef[_0x106c('0x10')]==_0xfed8e2))return _0x53bcef[_0x106c('0x54')]?{}:void 0x0;}),_0x3f37ad['_descriptionFactory']['registerDescriptionCallback'](_0x31966d=>{if(_0x106c('0x65')==_0x31966d['type']||_0x106c('0x2')==_0x31966d[_0x106c('0x30')]){const _0x4896ac=_0x31966d[_0x106c('0x2d')]();if(_0x4896ac&&_0x4896ac['is'](_0x106c('0x7b'),'caption'))return{'type':_0x106c('0x65')==_0x31966d['type']?'addObject':_0x106c('0x42'),'element':_0x4896ac,'quantity':0x1};}}),_0x3f37ad[_0x106c('0x50')]['registerDescriptionCallback'](_0x33ca30=>_0x106c('0x61')==_0x33ca30[_0x106c('0x30')]&&'convertInlineImageToBlock'==_0x33ca30[_0x106c('0x10')]?{'type':_0x106c('0x76'),'content':_0x106c('0x35')}:_0x106c('0x61')==_0x33ca30['type']&&_0x106c('0xa')==_0x33ca30[_0x106c('0x10')]?{'type':_0x106c('0x76'),'content':_0x106c('0x59')}:void 0x0),_0x3f37ad[_0x106c('0x50')]['registerDescriptionCallback'](_0x473cfa=>{const {data:_0x57e670}=_0x473cfa;if(_0x57e670){if(_0x106c('0x4')==_0x57e670[_0x106c('0x8')]){const _0x2925e0=_0x57e670[_0x106c('0x38')][0x0]['value'];return _0xfd4acf(_0x106c('0x2a')===_0x2925e0?_0x518302(_0x491f6c,_0x106c('0x14')):_0x323b9a[_0x2925e0]||_0x2925e0);}if(_0x106c('0x4b')==_0x57e670['commandName']){const _0x504dcb=_0x57e670['commandParams'][0x0][_0x106c('0x55')];return _0x504dcb?{'type':_0x106c('0x76'),'content':_0x518302(_0x491f6c,_0x106c('0x17'),'\x22'+_0x504dcb+'\x22')}:{'type':'format','content':_0x518302(_0x491f6c,_0x106c('0xe'))};}if('resizeImage'==_0x57e670[_0x106c('0x8')]){const _0x1ffe14=_0x57e670[_0x106c('0x38')][0x0][_0x106c('0x11')];return _0x1ffe14?{'type':'format','content':_0x518302(_0x491f6c,_0x106c('0x1a'),_0x1ffe14)}:{'type':_0x106c('0x76'),'content':_0x518302(_0x491f6c,_0x106c('0x77'))};}}function _0xfd4acf(_0x34038d){return{'type':'format','content':_0x518302(_0x491f6c,_0x106c('0x16'),_0x34038d)};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3d56=['replaceImageSource','model','commandParams','_suggestionFactory','registerCustomCallback','get','getSuggestions','enableCommand','formatBlock','source','handleSuggestionDescription','getSuggestionCallback','locale','*Format:*\x20replace\x20image\x20URL','ImageEditing','discard','accept','plugins','editor','getContainedElement','_descriptionFactory','markBlockFormat','author','afterInit','change','has','commandName','selection','handleReplaceImageCommand','getAttribute','format','src','TrackChangesEditing'];(function(_0x3a1d94,_0x3d567c){const _0x1d185c=function(_0x456382){while(--_0x456382){_0x3a1d94['push'](_0x3a1d94['shift']());}};_0x1d185c(++_0x3d567c);}(_0x3d56,0x73));const _0x1d18=function(_0x3a1d94,_0x3d567c){_0x3a1d94=_0x3a1d94-0x0;let _0x1d185c=_0x3d56[_0x3a1d94];return _0x1d185c;};import{Plugin as _0x2d3ed1}from'ckeditor5/src/core';import{getTranslation as _0x2dfaa0}from'../utils/common-translations';export default class Y extends _0x2d3ed1{[_0x1d18('0x7')](){if(!this['editor'][_0x1d18('0x1')][_0x1d18('0x9')](_0x1d18('0x1f')))return;const _0x57de8b=this['editor'][_0x1d18('0x1')][_0x1d18('0x16')](_0x1d18('0x10'));_0x57de8b[_0x1d18('0x18')](_0x1d18('0x11'),(_0x49affb,_0x48b17e)=>this[_0x1d18('0xc')](_0x49affb,_0x48b17e)),_0x57de8b[_0x1d18('0x14')][_0x1d18('0x15')](_0x1d18('0x19'),_0x1d18('0x11'),'accept',_0x57de8b[_0x1d18('0x14')][_0x1d18('0x1c')](_0x1d18('0x19'),null,_0x1d18('0x20'))),_0x57de8b['_suggestionFactory'][_0x1d18('0x15')](_0x1d18('0x19'),_0x1d18('0x11'),_0x1d18('0x20'),_0x57de8b['_suggestionFactory'][_0x1d18('0x1c')](_0x1d18('0x19'),null,_0x1d18('0x0'))),_0x57de8b[_0x1d18('0x4')]['registerDescriptionCallback'](_0x215316=>this[_0x1d18('0x1b')](_0x215316));}['handleReplaceImageCommand'](_0x5d5641,_0x4188bf){const _0xb3d41c=this[_0x1d18('0x2')][_0x1d18('0x1')][_0x1d18('0x16')](_0x1d18('0x10')),_0x450ede=this[_0x1d18('0x2')]['model']['document'][_0x1d18('0xb')]['getSelectedElement']();this['editor'][_0x1d18('0x12')][_0x1d18('0x8')](()=>{let _0x3fcfed=_0x450ede[_0x1d18('0xd')](_0x1d18('0xf'));const _0x100f7a=this[_0x1d18('0x2')][_0x1d18('0x1')][_0x1d18('0x16')]('Users')['me'];for(const _0x543b70 of _0xb3d41c[_0x1d18('0x17')]({'skipNotAttached':!0x0})){const _0x1b2d36=_0x543b70[_0x1d18('0x3')]();if(_0x1d18('0x11')===_0x543b70['subType']&&_0x1b2d36===_0x450ede){_0x543b70[_0x1d18('0x6')]!==_0x100f7a&&_0x543b70[_0x1d18('0x20')](),_0x3fcfed=_0x543b70['data'][_0x1d18('0x13')][0x0][_0x1d18('0x1a')];break;}}_0x5d5641(_0x4188bf),_0xb3d41c[_0x1d18('0x5')](_0x450ede,{'commandName':_0x1d18('0x11'),'commandParams':[{'source':_0x3fcfed}]},[],_0x1d18('0x11'));});}[_0x1d18('0x1b')](_0x48ebdb){const {data:_0x13bd48}=_0x48ebdb;if(_0x13bd48&&_0x1d18('0x11')===_0x13bd48[_0x1d18('0xa')]){const _0x31b24c=_0x1d18('0x1e');return{'type':_0x1d18('0xe'),'content':_0x2dfaa0(this[_0x1d18('0x2')][_0x1d18('0x1d')],_0x31b24c)};}}}
23
+ const _0x3a4f=['getSuggestions','accept','editor','model','formatBlock','_suggestionFactory','Users','commandName','handleSuggestionDescription','getSuggestionCallback','change','TrackChangesEditing','registerCustomCallback','locale','source','document','plugins','getAttribute','get','src','replaceImageSource','selection','getSelectedElement','discard','markBlockFormat','handleReplaceImageCommand','_descriptionFactory','*Format:*\x20replace\x20image\x20URL','data'];(function(_0x2ab717,_0x3a4f9d){const _0x29383a=function(_0x1e42a2){while(--_0x1e42a2){_0x2ab717['push'](_0x2ab717['shift']());}};_0x29383a(++_0x3a4f9d);}(_0x3a4f,0x117));const _0x2938=function(_0x2ab717,_0x3a4f9d){_0x2ab717=_0x2ab717-0x0;let _0x29383a=_0x3a4f[_0x2ab717];return _0x29383a;};import{Plugin as _0x2e7593}from'ckeditor5/src/core';import{getTranslation as _0x3d64e3}from'../utils/common-translations';export default class Y extends _0x2e7593{['afterInit'](){if(!this[_0x2938('0xd')]['plugins']['has']('ImageEditing'))return;const _0x1a9e0e=this['editor']['plugins']['get'](_0x2938('0x16'));_0x1a9e0e['enableCommand']('replaceImageSource',(_0x58df7a,_0x597f7e)=>this['handleReplaceImageCommand'](_0x58df7a,_0x597f7e)),_0x1a9e0e['_suggestionFactory'][_0x2938('0x17')](_0x2938('0xf'),'replaceImageSource','accept',_0x1a9e0e[_0x2938('0x10')][_0x2938('0x14')](_0x2938('0xf'),null,_0x2938('0x5'))),_0x1a9e0e[_0x2938('0x10')]['registerCustomCallback'](_0x2938('0xf'),'replaceImageSource',_0x2938('0x5'),_0x1a9e0e[_0x2938('0x10')][_0x2938('0x14')](_0x2938('0xf'),null,_0x2938('0xc'))),_0x1a9e0e[_0x2938('0x8')]['registerDescriptionCallback'](_0x17ea3b=>this['handleSuggestionDescription'](_0x17ea3b));}[_0x2938('0x7')](_0x130720,_0x49f440){const _0x1400f9=this[_0x2938('0xd')][_0x2938('0x1b')][_0x2938('0x0')]('TrackChangesEditing'),_0x33ef69=this[_0x2938('0xd')][_0x2938('0xe')][_0x2938('0x1a')][_0x2938('0x3')][_0x2938('0x4')]();this[_0x2938('0xd')][_0x2938('0xe')][_0x2938('0x15')](()=>{let _0x48cdc1=_0x33ef69[_0x2938('0x1c')](_0x2938('0x1'));const _0x219623=this['editor'][_0x2938('0x1b')][_0x2938('0x0')](_0x2938('0x11'))['me'];for(const _0x12038c of _0x1400f9[_0x2938('0xb')]({'skipNotAttached':!0x0})){const _0x274684=_0x12038c['getContainedElement']();if(_0x2938('0x2')===_0x12038c['subType']&&_0x274684===_0x33ef69){_0x12038c['author']!==_0x219623&&_0x12038c[_0x2938('0x5')](),_0x48cdc1=_0x12038c[_0x2938('0xa')]['commandParams'][0x0][_0x2938('0x19')];break;}}_0x130720(_0x49f440),_0x1400f9[_0x2938('0x6')](_0x33ef69,{'commandName':_0x2938('0x2'),'commandParams':[{'source':_0x48cdc1}]},[],'replaceImageSource');});}[_0x2938('0x13')](_0x2b296e){const {data:_0x304b47}=_0x2b296e;if(_0x304b47&&'replaceImageSource'===_0x304b47[_0x2938('0x12')]){const _0x3568bc=_0x2938('0x9');return{'type':'format','content':_0x3d64e3(this[_0x2938('0xd')][_0x2938('0x18')],_0x3568bc)};}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x212b=['collaboration_features','_trackChangesExecuted','_handleImportedData','listenTo','importWord','bind','plugins','get','execute','lowest','value','commands','TrackChangesEditing','trackChanges','_setSuggestionData','Users','dataInsert','enableCommand','editor','_trackChangesValueDuringImport'];(function(_0x3ba653,_0x212b4d){const _0x10f875=function(_0x2aa453){while(--_0x2aa453){_0x3ba653['push'](_0x3ba653['shift']());}};_0x10f875(++_0x212b4d);}(_0x212b,0x15e));const _0x10f8=function(_0x3ba653,_0x212b4d){_0x3ba653=_0x3ba653-0x0;let _0x10f875=_0x212b[_0x3ba653];return _0x10f875;};import{Plugin as _0xc704b4}from'ckeditor5/src/core';export default class Z extends _0xc704b4{constructor(_0x156609){super(_0x156609),this[_0x10f8('0x9')]=!0x1,this[_0x10f8('0xb')]=!0x1;}['afterInit'](){const _0x37397f=this[_0x10f8('0x8')],_0x24704e=_0x37397f[_0x10f8('0x1')][_0x10f8('0x11')](_0x10f8('0xe')),_0x2de6ad=_0x37397f['commands'][_0x10f8('0x11')](_0x10f8('0x3'));_0x24704e&&(_0x24704e['on'](_0x10f8('0x12'),(_0x2774d9,[,_0xd186dc])=>{this[_0x10f8('0x9')]=_0x2de6ad[_0x10f8('0x0')],_0xd186dc[_0x10f8('0xa')]['track_changes']=!this[_0x10f8('0x9')];},{'priority':'high'}),this[_0x10f8('0xd')](_0x24704e,_0x10f8('0x6'),this['_handleImportedData'][_0x10f8('0xf')](this)),this[_0x10f8('0xd')](_0x24704e,_0x10f8('0x6'),()=>{this[_0x10f8('0xb')]&&(_0x2de6ad[_0x10f8('0x12')](),this['_trackChangesExecuted']=!0x1);},{'priority':_0x10f8('0x13')}),_0x37397f[_0x10f8('0x10')][_0x10f8('0x11')](_0x10f8('0x2'))[_0x10f8('0x7')]('importWord'));}[_0x10f8('0xc')](_0x128759,_0x37171f){const {suggestions:_0x35d5a5}=_0x37171f,_0xf1fb38=this[_0x10f8('0x8')][_0x10f8('0x1')]['get'](_0x10f8('0x3')),_0x2c543c=_0xf1fb38[_0x10f8('0x0')];this[_0x10f8('0x9')]!==_0x2c543c&&(_0xf1fb38[_0x10f8('0x12')](),this['_trackChangesExecuted']=!0x0),_0x35d5a5&&_0x35d5a5['forEach'](({id:_0x67745a,type:_0x616279,author:_0x5f54db,created_at:_0x5702eb})=>{const _0x1d541b={'id':_0x67745a,'type':_0x616279,'authorId':this[_0x10f8('0x8')][_0x10f8('0x10')]['get'](_0x10f8('0x5'))['me']['id'],'createdAt':new Date(),'data':null,'hasComments':!0x1,'attributes':{'@external':{'authorName':_0x5f54db,'createdAt':_0x5702eb?new Date(_0x5702eb):new Date(),'source':'importWord'}}};this[_0x10f8('0x8')]['plugins'][_0x10f8('0x11')](_0x10f8('0x2'))[_0x10f8('0x4')](_0x1d541b);});}}
23
+ const _0x347d=['commands','_setSuggestionData','editor','execute','enableCommand','track_changes','high','_trackChangesExecuted','collaboration_features','dataInsert','_handleImportedData','afterInit','TrackChangesEditing','bind','get','_trackChangesValueDuringImport','trackChanges','plugins','importWord'];(function(_0x1e3e4a,_0x347d8a){const _0x2bbd90=function(_0x400905){while(--_0x400905){_0x1e3e4a['push'](_0x1e3e4a['shift']());}};_0x2bbd90(++_0x347d8a);}(_0x347d,0xe3));const _0x2bbd=function(_0x1e3e4a,_0x347d8a){_0x1e3e4a=_0x1e3e4a-0x0;let _0x2bbd90=_0x347d[_0x1e3e4a];return _0x2bbd90;};import{Plugin as _0x3ff35b}from'ckeditor5/src/core';export default class Z extends _0x3ff35b{constructor(_0x965c55){super(_0x965c55),this['_trackChangesValueDuringImport']=!0x1,this['_trackChangesExecuted']=!0x1;}[_0x2bbd('0xc')](){const _0x3aa7a6=this[_0x2bbd('0x3')],_0x61ce03=_0x3aa7a6['commands'][_0x2bbd('0xf')]('importWord'),_0x597ff1=_0x3aa7a6[_0x2bbd('0x1')][_0x2bbd('0xf')](_0x2bbd('0x11'));_0x61ce03&&(_0x61ce03['on']('execute',(_0x1144e1,[,_0x55e920])=>{this[_0x2bbd('0x10')]=_0x597ff1['value'],_0x55e920[_0x2bbd('0x9')][_0x2bbd('0x6')]=!this[_0x2bbd('0x10')];},{'priority':_0x2bbd('0x7')}),this['listenTo'](_0x61ce03,_0x2bbd('0xa'),this[_0x2bbd('0xb')][_0x2bbd('0xe')](this)),this['listenTo'](_0x61ce03,'dataInsert',()=>{this[_0x2bbd('0x8')]&&(_0x597ff1[_0x2bbd('0x4')](),this['_trackChangesExecuted']=!0x1);},{'priority':'lowest'}),_0x3aa7a6[_0x2bbd('0x12')]['get'](_0x2bbd('0xd'))[_0x2bbd('0x5')](_0x2bbd('0x0')));}[_0x2bbd('0xb')](_0x36bc83,_0x2b79ed){const {suggestions:_0xf593e0}=_0x2b79ed,_0x4b39a5=this[_0x2bbd('0x3')][_0x2bbd('0x1')][_0x2bbd('0xf')](_0x2bbd('0x11')),_0x27be03=_0x4b39a5['value'];this[_0x2bbd('0x10')]!==_0x27be03&&(_0x4b39a5['execute'](),this['_trackChangesExecuted']=!0x0),_0xf593e0&&_0xf593e0['forEach'](({id:_0x3a89f5,type:_0x1c6d98,author:_0x3641c3,created_at:_0x3530e9})=>{const _0x4ce3df={'id':_0x3a89f5,'type':_0x1c6d98,'authorId':this[_0x2bbd('0x3')][_0x2bbd('0x12')][_0x2bbd('0xf')]('Users')['me']['id'],'createdAt':new Date(),'data':null,'hasComments':!0x1,'attributes':{'@external':{'authorName':_0x3641c3,'createdAt':_0x3530e9?new Date(_0x3530e9):new Date(),'source':_0x2bbd('0x0')}}};this['editor']['plugins'][_0x2bbd('0xf')]('TrackChangesEditing')[_0x2bbd('0x2')](_0x4ce3df);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4cc6=['indent','format','registerDescriptionCallback','model','document','editor','locale','*Outdent:*\x20%0','blockIndent','plugins','_descriptionFactory','selection','IndentBlock','commandName','outdentBlock','*Indent:*\x20%0','getItems','schema','indentBlock','IndentEditing','enableCommand','has','getSelectedBlocks','filter','markBlockFormat','change','afterInit'];(function(_0x3578e3,_0x4cc6dd){const _0x15751a=function(_0x230d08){while(--_0x230d08){_0x3578e3['push'](_0x3578e3['shift']());}};_0x15751a(++_0x4cc6dd);}(_0x4cc6,0x144));const _0x1575=function(_0x3578e3,_0x4cc6dd){_0x3578e3=_0x3578e3-0x0;let _0x15751a=_0x4cc6[_0x3578e3];return _0x15751a;};import{Plugin as _0x494f7e}from'ckeditor5/src/core';import{getTranslation as _0xae5c63}from'../utils/common-translations';export default class tt extends _0x494f7e{[_0x1575('0x1a')](){const _0x2ac7c3=this[_0x1575('0x5')],_0x1c635d=_0x2ac7c3[_0x1575('0x9')]['get']('TrackChangesEditing');_0x2ac7c3[_0x1575('0x9')][_0x1575('0x15')](_0x1575('0x13'))&&(_0x1c635d[_0x1575('0x14')](_0x1575('0x0')),_0x1c635d['enableCommand']('outdent'));const _0x138400=_0x2ac7c3[_0x1575('0x6')];if(_0x2ac7c3['plugins'][_0x1575('0x15')](_0x1575('0xc'))){for(const _0x3892d8 of[_0x1575('0x12'),'outdentBlock'])_0x1c635d[_0x1575('0x14')](_0x3892d8,()=>{const _0x2bc07c=Array['from'](this[_0x1575('0x5')][_0x1575('0x3')][_0x1575('0x4')][_0x1575('0xb')][_0x1575('0x16')]())[_0x1575('0x17')](_0x4b23c0=>this[_0x1575('0x5')][_0x1575('0x3')][_0x1575('0x11')]['checkAttribute'](_0x4b23c0,_0x1575('0x8')));_0x2ac7c3[_0x1575('0x3')][_0x1575('0x19')](()=>{for(const _0x56ad82 of _0x2bc07c)_0x1c635d[_0x1575('0x18')](_0x56ad82,{'commandName':_0x3892d8,'commandParams':[{'value':''}],'formatGroupId':_0x1575('0x12')});});});_0x1c635d[_0x1575('0xa')][_0x1575('0x2')](_0x1edb9e=>{const {data:_0x41f4df}=_0x1edb9e;if(!_0x41f4df)return;if(_0x1575('0x12')!=_0x41f4df[_0x1575('0xd')]&&_0x1575('0xe')!=_0x41f4df[_0x1575('0xd')])return;const _0x237eb5=_0x1edb9e[_0x1575('0x10')]()[0x0],_0x2ea9aa=_0x1c635d['_descriptionFactory']['getItemLabel'](_0x237eb5);return'indentBlock'==_0x41f4df['commandName']?{'type':_0x1575('0x1'),'content':_0xae5c63(_0x138400,_0x1575('0xf'),_0x2ea9aa)}:'outdentBlock'==_0x41f4df[_0x1575('0xd')]?{'type':_0x1575('0x1'),'content':_0xae5c63(_0x138400,_0x1575('0x7'),_0x2ea9aa)}:void 0x0;});}}}
23
+ const _0x33b5=['has','checkAttribute','filter','blockIndent','outdentBlock','get','format','getItemLabel','selection','TrackChangesEditing','indentBlock','enableCommand','_descriptionFactory','editor','commandName','*Indent:*\x20%0','locale','schema','afterInit','change','registerDescriptionCallback','plugins','IndentEditing','IndentBlock','indent','model','getItems','getSelectedBlocks'];(function(_0x1fe9e8,_0x33b560){const _0x16b188=function(_0x1cb463){while(--_0x1cb463){_0x1fe9e8['push'](_0x1fe9e8['shift']());}};_0x16b188(++_0x33b560);}(_0x33b5,0xea));const _0x16b1=function(_0x1fe9e8,_0x33b560){_0x1fe9e8=_0x1fe9e8-0x0;let _0x16b188=_0x33b5[_0x1fe9e8];return _0x16b188;};import{Plugin as _0x2734fe}from'ckeditor5/src/core';import{getTranslation as _0xd893ad}from'../utils/common-translations';export default class tt extends _0x2734fe{[_0x16b1('0x8')](){const _0xd23e7b=this[_0x16b1('0x3')],_0x408d68=_0xd23e7b[_0x16b1('0xb')][_0x16b1('0x17')](_0x16b1('0x1b'));_0xd23e7b[_0x16b1('0xb')]['has'](_0x16b1('0xc'))&&(_0x408d68[_0x16b1('0x1')](_0x16b1('0xe')),_0x408d68[_0x16b1('0x1')]('outdent'));const _0x3c6b85=_0xd23e7b[_0x16b1('0x6')];if(_0xd23e7b['plugins'][_0x16b1('0x12')](_0x16b1('0xd'))){for(const _0x583a24 of[_0x16b1('0x0'),_0x16b1('0x16')])_0x408d68[_0x16b1('0x1')](_0x583a24,()=>{const _0x12d430=Array['from'](this[_0x16b1('0x3')][_0x16b1('0xf')]['document'][_0x16b1('0x1a')][_0x16b1('0x11')]())[_0x16b1('0x14')](_0x3d611e=>this[_0x16b1('0x3')]['model'][_0x16b1('0x7')][_0x16b1('0x13')](_0x3d611e,_0x16b1('0x15')));_0xd23e7b['model'][_0x16b1('0x9')](()=>{for(const _0x214442 of _0x12d430)_0x408d68['markBlockFormat'](_0x214442,{'commandName':_0x583a24,'commandParams':[{'value':''}],'formatGroupId':_0x16b1('0x0')});});});_0x408d68[_0x16b1('0x2')][_0x16b1('0xa')](_0x2cb4e6=>{const {data:_0x3bfa15}=_0x2cb4e6;if(!_0x3bfa15)return;if('indentBlock'!=_0x3bfa15[_0x16b1('0x4')]&&_0x16b1('0x16')!=_0x3bfa15[_0x16b1('0x4')])return;const _0x73a005=_0x2cb4e6[_0x16b1('0x10')]()[0x0],_0x245ff9=_0x408d68[_0x16b1('0x2')][_0x16b1('0x19')](_0x73a005);return'indentBlock'==_0x3bfa15[_0x16b1('0x4')]?{'type':_0x16b1('0x18'),'content':_0xd893ad(_0x3c6b85,_0x16b1('0x5'),_0x245ff9)}:'outdentBlock'==_0x3bfa15[_0x16b1('0x4')]?{'type':_0x16b1('0x18'),'content':_0xd893ad(_0x3c6b85,'*Outdent:*\x20%0',_0x245ff9)}:void 0x0;});}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x275a=['editor','plugins','input','init','TrackChangesEditing'];(function(_0x1cb779,_0x275ae0){var _0x552c97=function(_0xfe9ece){while(--_0xfe9ece){_0x1cb779['push'](_0x1cb779['shift']());}};_0x552c97(++_0x275ae0);}(_0x275a,0xdc));var _0x552c=function(_0x1cb779,_0x275ae0){_0x1cb779=_0x1cb779-0x0;var _0x552c97=_0x275a[_0x1cb779];return _0x552c97;};import{Plugin as _0x317931}from'ckeditor5/src/core';import{Input as _0x47c477}from'ckeditor5/src/typing';export default class it extends _0x317931{static get['requires'](){return[_0x47c477];}[_0x552c('0x3')](){this[_0x552c('0x0')][_0x552c('0x1')]['get'](_0x552c('0x4'))['enableCommand'](_0x552c('0x2'));}}
23
+ var _0x5a81=['editor','init','TrackChangesEditing'];(function(_0x4fc7da,_0x5a81a0){var _0x256597=function(_0x3704c8){while(--_0x3704c8){_0x4fc7da['push'](_0x4fc7da['shift']());}};_0x256597(++_0x5a81a0);}(_0x5a81,0x1b3));var _0x2565=function(_0x4fc7da,_0x5a81a0){_0x4fc7da=_0x4fc7da-0x0;var _0x256597=_0x5a81[_0x4fc7da];return _0x256597;};import{Plugin as _0xa60fbe}from'ckeditor5/src/core';import{Input as _0x2aab3e}from'ckeditor5/src/typing';export default class it extends _0xa60fbe{static get['requires'](){return[_0x2aab3e];}[_0x2565('0x1')](){this[_0x2565('0x0')]['plugins']['get'](_0x2565('0x2'))['enableCommand']('input');}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x137a=['document','plugins','format','getRanges','model','getAttribute','get','commandParams','_descriptionFactory','*Set\x20link:*\x20%0','has','locale','change','linkHref','hasAttribute','*Remove\x20link*','LinkEditing','getFirstRange','getFirstPosition','from','link','editor','unlink','selection','registerDescriptionCallback','commandName','enableCommand'];(function(_0x2b3bff,_0x137a23){const _0x4671d8=function(_0x4824ac){while(--_0x4824ac){_0x2b3bff['push'](_0x2b3bff['shift']());}};_0x4671d8(++_0x137a23);}(_0x137a,0x119));const _0x4671=function(_0x2b3bff,_0x137a23){_0x2b3bff=_0x2b3bff-0x0;let _0x4671d8=_0x137a[_0x2b3bff];return _0x4671d8;};import{Plugin as _0x46d4e0}from'ckeditor5/src/core';import{findAttributeRange as _0xb362c8}from'ckeditor5/src/typing';import{getRangesWithAttribute as _0x474e53}from'./utils';import{getTranslation as _0x428530}from'../utils/common-translations';export default class et extends _0x46d4e0{['afterInit'](){const _0x35bcc9=this[_0x4671('0xa')];if(!_0x35bcc9[_0x4671('0x11')][_0x4671('0x1a')](_0x4671('0x5')))return;const _0x3e0e9d=_0x35bcc9[_0x4671('0x11')][_0x4671('0x16')]('TrackChangesEditing');_0x3e0e9d[_0x4671('0xf')](_0x4671('0x9'),(_0x2e200b,_0x4c2b07)=>{const _0x3dd468=_0x35bcc9['model'][_0x4671('0x10')][_0x4671('0xc')];let _0x1913f2=[];if(_0x3dd468['isCollapsed']){if(!_0x3dd468[_0x4671('0x3')](_0x4671('0x2')))return void _0x2e200b(_0x4c2b07);{const _0x52bda1=_0xb362c8(_0x3dd468[_0x4671('0x7')](),'linkHref',_0x3dd468['getAttribute'](_0x4671('0x2')),_0x35bcc9[_0x4671('0x14')]);_0x1913f2=[_0x52bda1];}}else _0x1913f2=Array[_0x4671('0x8')](_0x3dd468[_0x4671('0x13')]());_0x35bcc9['model'][_0x4671('0x1')](()=>{for(const _0x566221 of _0x1913f2)_0x3e0e9d['markInlineFormat'](_0x566221,{'commandName':_0x4671('0x9'),'commandParams':[_0x4c2b07]});});}),_0x3e0e9d[_0x4671('0xf')](_0x4671('0xb'),()=>{const _0x2a3551=this[_0x4671('0xa')][_0x4671('0x14')],_0x61ba70=_0x2a3551[_0x4671('0x10')][_0x4671('0xc')];_0x2a3551['change'](()=>{let _0x1ae1e5=[];if(_0x61ba70['isCollapsed'])_0x1ae1e5=[_0xb362c8(_0x61ba70[_0x4671('0x7')](),_0x4671('0x2'),_0x61ba70[_0x4671('0x15')](_0x4671('0x2')),_0x35bcc9[_0x4671('0x14')])];else _0x1ae1e5=_0x474e53('linkHref',_0x61ba70[_0x4671('0x6')](),_0x35bcc9['model']);for(const _0x57ea08 of _0x1ae1e5)_0x3e0e9d['markInlineFormat'](_0x57ea08,{'commandName':_0x4671('0xb'),'commandParams':[]});});}),_0x3e0e9d[_0x4671('0x18')][_0x4671('0xd')](_0x37a840=>{const {data:_0x36fcad}=_0x37a840,_0x455004=_0x35bcc9[_0x4671('0x0')];if(_0x36fcad){if(_0x4671('0x9')==_0x36fcad[_0x4671('0xe')]){const _0x38aa90=_0x36fcad[_0x4671('0x17')][0x0];return{'type':_0x4671('0x12'),'content':_0x428530(_0x455004,_0x4671('0x19'),'\x22'+_0x38aa90+'\x22')};}return _0x4671('0xb')==_0x36fcad[_0x4671('0xe')]?{'type':'format','content':_0x428530(_0x455004,_0x4671('0x4'))}:void 0x0;}});}}
23
+ const _0x3841=['_descriptionFactory','format','has','enableCommand','TrackChangesEditing','linkHref','registerDescriptionCallback','isCollapsed','getRanges','markInlineFormat','model','get','hasAttribute','locale','editor','afterInit','*Set\x20link:*\x20%0','getAttribute','getFirstPosition','getFirstRange','plugins','unlink','commandName','link','change','from'];(function(_0x1c7cb,_0x38414d){const _0x56c094=function(_0x37216c){while(--_0x37216c){_0x1c7cb['push'](_0x1c7cb['shift']());}};_0x56c094(++_0x38414d);}(_0x3841,0x64));const _0x56c0=function(_0x1c7cb,_0x38414d){_0x1c7cb=_0x1c7cb-0x0;let _0x56c094=_0x3841[_0x1c7cb];return _0x56c094;};import{Plugin as _0x4216fe}from'ckeditor5/src/core';import{findAttributeRange as _0x2f0e3f}from'ckeditor5/src/typing';import{getRangesWithAttribute as _0x2a4880}from'./utils';import{getTranslation as _0x69e3f0}from'../utils/common-translations';export default class et extends _0x4216fe{[_0x56c0('0x13')](){const _0x3009d6=this[_0x56c0('0x12')];if(!_0x3009d6[_0x56c0('0x18')][_0x56c0('0x6')]('LinkEditing'))return;const _0x2c9d76=_0x3009d6[_0x56c0('0x18')][_0x56c0('0xf')](_0x56c0('0x8'));_0x2c9d76[_0x56c0('0x7')](_0x56c0('0x1'),(_0x1979d3,_0x4bca83)=>{const _0x4448ff=_0x3009d6[_0x56c0('0xe')]['document']['selection'];let _0x20dba0=[];if(_0x4448ff['isCollapsed']){if(!_0x4448ff[_0x56c0('0x10')](_0x56c0('0x9')))return void _0x1979d3(_0x4bca83);{const _0x2e38fc=_0x2f0e3f(_0x4448ff[_0x56c0('0x16')](),_0x56c0('0x9'),_0x4448ff[_0x56c0('0x15')](_0x56c0('0x9')),_0x3009d6['model']);_0x20dba0=[_0x2e38fc];}}else _0x20dba0=Array[_0x56c0('0x3')](_0x4448ff[_0x56c0('0xc')]());_0x3009d6[_0x56c0('0xe')][_0x56c0('0x2')](()=>{for(const _0x4c1bdf of _0x20dba0)_0x2c9d76['markInlineFormat'](_0x4c1bdf,{'commandName':_0x56c0('0x1'),'commandParams':[_0x4bca83]});});}),_0x2c9d76[_0x56c0('0x7')](_0x56c0('0x19'),()=>{const _0x3520c6=this[_0x56c0('0x12')][_0x56c0('0xe')],_0x5524c7=_0x3520c6['document']['selection'];_0x3520c6[_0x56c0('0x2')](()=>{let _0x51006f=[];if(_0x5524c7[_0x56c0('0xb')])_0x51006f=[_0x2f0e3f(_0x5524c7[_0x56c0('0x16')](),_0x56c0('0x9'),_0x5524c7[_0x56c0('0x15')](_0x56c0('0x9')),_0x3009d6[_0x56c0('0xe')])];else _0x51006f=_0x2a4880(_0x56c0('0x9'),_0x5524c7[_0x56c0('0x17')](),_0x3009d6[_0x56c0('0xe')]);for(const _0x4efca5 of _0x51006f)_0x2c9d76[_0x56c0('0xd')](_0x4efca5,{'commandName':'unlink','commandParams':[]});});}),_0x2c9d76[_0x56c0('0x4')][_0x56c0('0xa')](_0x1910e1=>{const {data:_0x412e0f}=_0x1910e1,_0x2ecde9=_0x3009d6[_0x56c0('0x11')];if(_0x412e0f){if('link'==_0x412e0f[_0x56c0('0x0')]){const _0x1e753e=_0x412e0f['commandParams'][0x0];return{'type':_0x56c0('0x5'),'content':_0x69e3f0(_0x2ecde9,_0x56c0('0x14'),'\x22'+_0x1e753e+'\x22')};}return _0x56c0('0x19')==_0x412e0f[_0x56c0('0x0')]?{'type':_0x56c0('0x5'),'content':_0x69e3f0(_0x2ecde9,'*Remove\x20link*')}:void 0x0;}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3e1c=['name','add','previousSibling','getAttribute','selection','editor','listIndent','bulleted','plugins','length','has','before','commandParams','commands','checkTodoList','createPositionAt','bulletedList','registerElementLabel','outdentList','value','locale','document','get','change','element','blockName','*Change\x20to:*\x20%0','checkChild','listType','filter','commandName','replace','todoList','format','*Uncheck\x20item*','ELEMENT_NUMBERED_LIST','ELEMENT_LIST_ITEM','execute','_descriptionFactory','enableCommand','numbered','indentList','todoListChecked','nextSibling','*Check\x20item*','model','slice','afterInit','from','getSelectedBlocks','listItem','markBlockFormat','createRange','List','ELEMENT_TODO_LIST','parent','ListEditing','schema','numberedList'];(function(_0xf7180e,_0x3e1c2c){const _0x1a0fce=function(_0x23a0b7){while(--_0x23a0b7){_0xf7180e['push'](_0xf7180e['shift']());}};_0x1a0fce(++_0x3e1c2c);}(_0x3e1c,0xa4));const _0x1a0f=function(_0xf7180e,_0x3e1c2c){_0xf7180e=_0xf7180e-0x0;let _0x1a0fce=_0x3e1c[_0xf7180e];return _0x1a0fce;};import{Plugin as _0x49ed87}from'ckeditor5/src/core';import{getTranslation as _0x56b9bf}from'../utils/common-translations';export default class st extends _0x49ed87{[_0x1a0f('0x1')](){const _0x3a6ddd=this[_0x1a0f('0x12')],_0x58d1df=_0x3a6ddd[_0x1a0f('0x21')];if(!_0x3a6ddd[_0x1a0f('0x15')][_0x1a0f('0x17')](_0x1a0f('0xa')))return;const _0x477d76=_0x3a6ddd['plugins']['get']('TrackChangesEditing'),_0x1e6ef8=_0x3a6ddd[_0x1a0f('0x15')][_0x1a0f('0x17')]('TodoListEditing');function _0x251daa(_0x2b3491){return()=>{const _0x15d486=_0x3a6ddd['model'][_0x1a0f('0x22')][_0x1a0f('0x11')],_0x5e66eb=_0x3a6ddd[_0x1a0f('0x1a')][_0x1a0f('0x23')](_0x2b3491);if(_0x5e66eb[_0x1a0f('0x20')])return void _0x3a6ddd[_0x1a0f('0x32')]('paragraph',{});const _0x1a7f62=_0x2b3491[_0x1a0f('0x0')](0x0,-0x4),_0x1174ed=function(_0x129433,_0x498f2c,_0x3557d6){let _0x3a9c9d=Array[_0x1a0f('0x2')](_0x129433)[_0x1a0f('0x2a')](_0x27f9ba=>function(_0x31da2a,_0x5b20f4){return _0x5b20f4[_0x1a0f('0x28')](_0x31da2a[_0x1a0f('0x9')],_0x1a0f('0x4'))&&!_0x5b20f4['isObject'](_0x31da2a);}(_0x27f9ba,_0x3557d6));_0x3a9c9d=_0x3a9c9d[_0x1a0f('0x2a')](_0x3aa8a2=>!_0x3aa8a2['is']('element',_0x1a0f('0x4'))||_0x3aa8a2[_0x1a0f('0x10')](_0x1a0f('0x29'))!=_0x498f2c);const _0x3d549a=new Set();for(const _0x47903a of _0x3a9c9d)_0x47903a['is']('element',_0x1a0f('0x4'))?_0x3d549a[_0x1a0f('0xe')](ne(_0x47903a)):_0x3d549a[_0x1a0f('0xe')](_0x47903a);return Array[_0x1a0f('0x2')](_0x3d549a);}(_0x15d486[_0x1a0f('0x3')](),_0x1a7f62,_0x3a6ddd[_0x1a0f('0x3a')][_0x1a0f('0xb')]);_0x3a6ddd[_0x1a0f('0x3a')][_0x1a0f('0x24')](()=>{for(const _0x169f0e of _0x1174ed)_0x477d76[_0x1a0f('0x5')](_0x169f0e,{'commandName':_0x2b3491,'commandParams':[{'forceValue':!_0x5e66eb['value']}],'formatGroupId':_0x1a0f('0x26')},oe(_0x169f0e));});};}function _0x45b468(_0x5b561d){return()=>{const _0x38a783=function(_0x33eef9){let _0x11baf4=Array[_0x1a0f('0x2')](_0x33eef9);const _0x2bb5bf=_0x11baf4['findIndex'](_0x1bd61d=>_0x1a0f('0x4')!=_0x1bd61d[_0x1a0f('0xd')]);return _0x2bb5bf>-0x1&&(_0x11baf4=_0x11baf4[_0x1a0f('0x0')](0x0,_0x2bb5bf)),_0x11baf4;}(_0x3a6ddd[_0x1a0f('0x3a')]['document']['selection'][_0x1a0f('0x3')]()),_0xcb065d=_0x3a6ddd[_0x1a0f('0x3a')][_0x1a0f('0x6')](_0x3a6ddd[_0x1a0f('0x3a')][_0x1a0f('0x1c')](_0x38a783[0x0],_0x1a0f('0x18')),_0x3a6ddd['model']['createPositionAt'](_0x38a783[_0x38a783[_0x1a0f('0x16')]-0x1],'end'));_0x3a6ddd['model'][_0x1a0f('0x24')](()=>{_0x477d76[_0x1a0f('0x5')](_0xcb065d,{'commandName':_0x5b561d,'commandParams':[],'formatGroupId':_0x1a0f('0x13')},function(_0x4c3c88){const _0x507a6e=new Set();for(const _0x259570 of _0x4c3c88){let _0x1557ee=_0x259570[_0x1a0f('0x38')];for(;_0x1557ee&&_0x1557ee[_0x1a0f('0x10')](_0x1a0f('0x13'))>_0x259570['getAttribute'](_0x1a0f('0x13'));)_0x507a6e[_0x1a0f('0xe')](_0x1557ee),_0x1557ee=_0x1557ee[_0x1a0f('0x38')];}return Array['from'](_0x507a6e);}(_0x38a783));});};}_0x477d76[_0x1a0f('0x34')](_0x1a0f('0xc'),_0x251daa(_0x1a0f('0xc'))),_0x477d76[_0x1a0f('0x34')](_0x1a0f('0x1d'),_0x251daa(_0x1a0f('0x1d'))),_0x1e6ef8&&_0x477d76[_0x1a0f('0x34')](_0x1a0f('0x2d'),_0x251daa(_0x1a0f('0x2d'))),_0x477d76[_0x1a0f('0x34')](_0x1a0f('0x36'),_0x45b468(_0x1a0f('0x36'))),_0x477d76[_0x1a0f('0x34')]('outdentList',_0x45b468('outdentList')),_0x1e6ef8&&_0x477d76[_0x1a0f('0x34')]('checkTodoList',()=>{const _0x5edb3a=_0x3a6ddd['commands'][_0x1a0f('0x23')](_0x1a0f('0x1b')),_0x4b8bad=Array['from'](_0x5edb3a['_selectedElements']);_0x4b8bad['filter'](_0x43e904=>_0x43e904[_0x1a0f('0x10')](_0x1a0f('0x37'))!=_0x5edb3a[_0x1a0f('0x20')]),_0x3a6ddd[_0x1a0f('0x3a')][_0x1a0f('0x24')](()=>{for(const _0x5cca6f of _0x4b8bad)_0x477d76['markBlockFormat'](_0x5cca6f,{'commandName':_0x1a0f('0x1b'),'commandParams':[{'forceValue':!_0x5edb3a['value']}]});});}),_0x477d76[_0x1a0f('0x33')][_0x1a0f('0x1e')](_0x1a0f('0x4'),_0x15dce8=>_0x56b9bf(_0x58d1df,_0x1a0f('0x31'),_0x15dce8)),_0x477d76[_0x1a0f('0x33')]['registerDescriptionCallback'](_0x49e0b3=>{const {data:_0x11f3f9}=_0x49e0b3;if(_0x11f3f9){if(_0x1a0f('0xc')==_0x11f3f9['commandName']||_0x1a0f('0x1d')==_0x11f3f9[_0x1a0f('0x2b')]||_0x1a0f('0x2d')==_0x11f3f9[_0x1a0f('0x2b')])switch(_0x11f3f9['commandName'][_0x1a0f('0x2c')](_0x1a0f('0x7'),'')){case _0x1a0f('0x14'):return _0x3db495(_0x56b9bf(_0x58d1df,'ELEMENT_BULLETED_LIST'));case _0x1a0f('0x35'):return _0x3db495(_0x56b9bf(_0x58d1df,_0x1a0f('0x30')));case'todo':return _0x3db495(_0x56b9bf(_0x58d1df,_0x1a0f('0x8')));}if('indentList'==_0x11f3f9[_0x1a0f('0x2b')])return{'type':'format','content':_0x56b9bf(_0x58d1df,'*Indent:*\x20%0',_0x56b9bf(_0x58d1df,_0x1a0f('0x31')))};if(_0x1a0f('0x1f')==_0x11f3f9[_0x1a0f('0x2b')])return{'type':_0x1a0f('0x2e'),'content':_0x56b9bf(_0x58d1df,'*Outdent:*\x20%0',_0x56b9bf(_0x58d1df,_0x1a0f('0x31')))};if(_0x1a0f('0x1b')==_0x11f3f9['commandName'])return _0x11f3f9[_0x1a0f('0x19')][0x0]['forceValue']?{'type':_0x1a0f('0x2e'),'content':_0x56b9bf(_0x58d1df,_0x1a0f('0x39'))}:{'type':_0x1a0f('0x2e'),'content':_0x56b9bf(_0x58d1df,_0x1a0f('0x2f'))};}function _0x3db495(_0x5d1401){return{'type':_0x1a0f('0x2e'),'content':_0x56b9bf(_0x58d1df,_0x1a0f('0x27'),_0x5d1401)};}});}}function ne(_0x2db1f2){const _0x3a6151=_0x2db1f2[_0x1a0f('0x10')](_0x1a0f('0x13'));if(0x0==_0x3a6151)return _0x2db1f2;let _0x29e584=_0x2db1f2;for(;_0x2db1f2['previousSibling']&&_0x2db1f2[_0x1a0f('0xf')]['is']('element','listItem');){const _0x186733=_0x2db1f2['previousSibling'][_0x1a0f('0x10')](_0x1a0f('0x13'));if(_0x186733==_0x3a6151)_0x29e584=_0x2db1f2[_0x1a0f('0xf')];else{if(_0x186733<_0x3a6151)break;}_0x2db1f2=_0x2db1f2[_0x1a0f('0xf')];}return _0x29e584;}function oe(_0x48608f){const _0x3b6992=[];if(_0x48608f['is'](_0x1a0f('0x25'),_0x1a0f('0x4'))&&_0x48608f[_0x1a0f('0x10')](_0x1a0f('0x13'))>0x0){let _0x27e097=_0x48608f[_0x1a0f('0x38')];for(;_0x27e097&&_0x1a0f('0x4')==_0x27e097[_0x1a0f('0xd')]&&_0x27e097[_0x1a0f('0x10')](_0x1a0f('0x13'))==_0x48608f[_0x1a0f('0x10')](_0x1a0f('0x13'));)_0x3b6992['push'](_0x27e097),_0x27e097=_0x27e097[_0x1a0f('0x38')];}return _0x3b6992;}
23
+ const _0x80fd=['previousSibling','markBlockFormat','afterInit','*Indent:*\x20%0','commandName','*Outdent:*\x20%0','push','checkTodoList','registerElementLabel','add','createRange','element','ELEMENT_LIST_ITEM','todoList','forceValue','plugins','_selectedElements','before','length','ListEditing','ELEMENT_NUMBERED_LIST','commandParams','has','TrackChangesEditing','locale','format','TodoListEditing','outdentList','bulletedList','bulleted','ELEMENT_BULLETED_LIST','document','checkChild','change','get','numbered','slice','indentList','end','_descriptionFactory','isObject','schema','model','List','filter','listIndent','name','execute','getAttribute','commands','nextSibling','*Uncheck\x20item*','value','createPositionAt','registerDescriptionCallback','findIndex','parent','getSelectedBlocks','ELEMENT_TODO_LIST','from','listItem','todoListChecked','*Change\x20to:*\x20%0','enableCommand','listType','numberedList'];(function(_0x1543e3,_0x80fdef){const _0x293d6c=function(_0xad312d){while(--_0xad312d){_0x1543e3['push'](_0x1543e3['shift']());}};_0x293d6c(++_0x80fdef);}(_0x80fd,0xbd));const _0x293d=function(_0x1543e3,_0x80fdef){_0x1543e3=_0x1543e3-0x0;let _0x293d6c=_0x80fd[_0x1543e3];return _0x293d6c;};import{Plugin as _0x4ac441}from'ckeditor5/src/core';import{getTranslation as _0x246856}from'../utils/common-translations';export default class nt extends _0x4ac441{[_0x293d('0xb')](){const _0x5bff4f=this['editor'],_0x21948a=_0x5bff4f[_0x293d('0x21')];if(!_0x5bff4f[_0x293d('0x18')]['has'](_0x293d('0x1c')))return;const _0x20c3d1=_0x5bff4f[_0x293d('0x18')][_0x293d('0x2b')](_0x293d('0x20')),_0x56c3ab=_0x5bff4f['plugins'][_0x293d('0x1f')](_0x293d('0x23'));function _0x56fceb(_0x1b7ac3){return()=>{const _0x196b9f=_0x5bff4f[_0x293d('0x33')]['document']['selection'],_0x283472=_0x5bff4f[_0x293d('0x3a')][_0x293d('0x2b')](_0x1b7ac3);if(_0x283472['value'])return void _0x5bff4f[_0x293d('0x38')]('paragraph',{});const _0x21d308=_0x1b7ac3['slice'](0x0,-0x4),_0x18f37c=function(_0xc23c,_0x192576,_0x2907be){let _0x3b3131=Array[_0x293d('0x2')](_0xc23c)[_0x293d('0x35')](_0xefbe0f=>function(_0x456f69,_0x1dd66f){return _0x1dd66f[_0x293d('0x29')](_0x456f69[_0x293d('0x41')],'listItem')&&!_0x1dd66f[_0x293d('0x31')](_0x456f69);}(_0xefbe0f,_0x2907be));_0x3b3131=_0x3b3131['filter'](_0x3f307d=>!_0x3f307d['is'](_0x293d('0x14'),_0x293d('0x3'))||_0x3f307d['getAttribute'](_0x293d('0x7'))!=_0x192576);const _0x48c370=new Set();for(const _0x5ce17e of _0x3b3131)_0x5ce17e['is'](_0x293d('0x14'),_0x293d('0x3'))?_0x48c370[_0x293d('0x12')](ne(_0x5ce17e)):_0x48c370[_0x293d('0x12')](_0x5ce17e);return Array[_0x293d('0x2')](_0x48c370);}(_0x196b9f[_0x293d('0x0')](),_0x21d308,_0x5bff4f[_0x293d('0x33')][_0x293d('0x32')]);_0x5bff4f[_0x293d('0x33')][_0x293d('0x2a')](()=>{for(const _0x5e0edd of _0x18f37c)_0x20c3d1[_0x293d('0xa')](_0x5e0edd,{'commandName':_0x1b7ac3,'commandParams':[{'forceValue':!_0x283472['value']}],'formatGroupId':'blockName'},oe(_0x5e0edd));});};}function _0x32c6c6(_0x385c0c){return()=>{const _0x2664aa=function(_0x2c1c9b){let _0x2bf654=Array['from'](_0x2c1c9b);const _0x2184a3=_0x2bf654[_0x293d('0x40')](_0x5ebb09=>_0x293d('0x3')!=_0x5ebb09[_0x293d('0x37')]);return _0x2184a3>-0x1&&(_0x2bf654=_0x2bf654[_0x293d('0x2d')](0x0,_0x2184a3)),_0x2bf654;}(_0x5bff4f['model'][_0x293d('0x28')]['selection'][_0x293d('0x0')]()),_0x1a03db=_0x5bff4f[_0x293d('0x33')][_0x293d('0x13')](_0x5bff4f[_0x293d('0x33')][_0x293d('0x3e')](_0x2664aa[0x0],_0x293d('0x1a')),_0x5bff4f['model']['createPositionAt'](_0x2664aa[_0x2664aa[_0x293d('0x1b')]-0x1],_0x293d('0x2f')));_0x5bff4f[_0x293d('0x33')][_0x293d('0x2a')](()=>{_0x20c3d1[_0x293d('0xa')](_0x1a03db,{'commandName':_0x385c0c,'commandParams':[],'formatGroupId':_0x293d('0x36')},function(_0x1e212f){const _0x3a4653=new Set();for(const _0x3d9cae of _0x1e212f){let _0x1f6c38=_0x3d9cae[_0x293d('0x3b')];for(;_0x1f6c38&&_0x1f6c38[_0x293d('0x39')]('listIndent')>_0x3d9cae[_0x293d('0x39')](_0x293d('0x36'));)_0x3a4653[_0x293d('0x12')](_0x1f6c38),_0x1f6c38=_0x1f6c38['nextSibling'];}return Array['from'](_0x3a4653);}(_0x2664aa));});};}_0x20c3d1[_0x293d('0x6')](_0x293d('0x8'),_0x56fceb('numberedList')),_0x20c3d1[_0x293d('0x6')]('bulletedList',_0x56fceb(_0x293d('0x25'))),_0x56c3ab&&_0x20c3d1[_0x293d('0x6')](_0x293d('0x16'),_0x56fceb(_0x293d('0x16'))),_0x20c3d1[_0x293d('0x6')](_0x293d('0x2e'),_0x32c6c6(_0x293d('0x2e'))),_0x20c3d1[_0x293d('0x6')](_0x293d('0x24'),_0x32c6c6(_0x293d('0x24'))),_0x56c3ab&&_0x20c3d1['enableCommand'](_0x293d('0x10'),()=>{const _0x266a15=_0x5bff4f[_0x293d('0x3a')][_0x293d('0x2b')](_0x293d('0x10')),_0x5340d5=Array[_0x293d('0x2')](_0x266a15[_0x293d('0x19')]);_0x5340d5[_0x293d('0x35')](_0x2a5ae3=>_0x2a5ae3['getAttribute'](_0x293d('0x4'))!=_0x266a15[_0x293d('0x3d')]),_0x5bff4f[_0x293d('0x33')][_0x293d('0x2a')](()=>{for(const _0x5ab336 of _0x5340d5)_0x20c3d1[_0x293d('0xa')](_0x5ab336,{'commandName':_0x293d('0x10'),'commandParams':[{'forceValue':!_0x266a15[_0x293d('0x3d')]}]});});}),_0x20c3d1[_0x293d('0x30')][_0x293d('0x11')](_0x293d('0x3'),_0x1c1f7c=>_0x246856(_0x21948a,_0x293d('0x15'),_0x1c1f7c)),_0x20c3d1[_0x293d('0x30')][_0x293d('0x3f')](_0x79ebf4=>{const {data:_0x490da6}=_0x79ebf4;if(_0x490da6){if(_0x293d('0x8')==_0x490da6[_0x293d('0xd')]||_0x293d('0x25')==_0x490da6[_0x293d('0xd')]||_0x293d('0x16')==_0x490da6['commandName'])switch(_0x490da6[_0x293d('0xd')]['replace'](_0x293d('0x34'),'')){case _0x293d('0x26'):return _0x4ac54f(_0x246856(_0x21948a,_0x293d('0x27')));case _0x293d('0x2c'):return _0x4ac54f(_0x246856(_0x21948a,_0x293d('0x1d')));case'todo':return _0x4ac54f(_0x246856(_0x21948a,_0x293d('0x1')));}if(_0x293d('0x2e')==_0x490da6[_0x293d('0xd')])return{'type':_0x293d('0x22'),'content':_0x246856(_0x21948a,_0x293d('0xc'),_0x246856(_0x21948a,_0x293d('0x15')))};if('outdentList'==_0x490da6['commandName'])return{'type':_0x293d('0x22'),'content':_0x246856(_0x21948a,_0x293d('0xe'),_0x246856(_0x21948a,_0x293d('0x15')))};if(_0x293d('0x10')==_0x490da6[_0x293d('0xd')])return _0x490da6[_0x293d('0x1e')][0x0][_0x293d('0x17')]?{'type':_0x293d('0x22'),'content':_0x246856(_0x21948a,'*Check\x20item*')}:{'type':_0x293d('0x22'),'content':_0x246856(_0x21948a,_0x293d('0x3c'))};}function _0x4ac54f(_0x5aa632){return{'type':_0x293d('0x22'),'content':_0x246856(_0x21948a,_0x293d('0x5'),_0x5aa632)};}});}}function ne(_0x21a2b8){const _0x4a6141=_0x21a2b8[_0x293d('0x39')](_0x293d('0x36'));if(0x0==_0x4a6141)return _0x21a2b8;let _0x366d77=_0x21a2b8;for(;_0x21a2b8['previousSibling']&&_0x21a2b8['previousSibling']['is'](_0x293d('0x14'),_0x293d('0x3'));){const _0x58c683=_0x21a2b8[_0x293d('0x9')][_0x293d('0x39')](_0x293d('0x36'));if(_0x58c683==_0x4a6141)_0x366d77=_0x21a2b8['previousSibling'];else{if(_0x58c683<_0x4a6141)break;}_0x21a2b8=_0x21a2b8[_0x293d('0x9')];}return _0x366d77;}function oe(_0x5b9271){const _0x123691=[];if(_0x5b9271['is'](_0x293d('0x14'),_0x293d('0x3'))&&_0x5b9271[_0x293d('0x39')](_0x293d('0x36'))>0x0){let _0x1cb3b5=_0x5b9271[_0x293d('0x3b')];for(;_0x1cb3b5&&'listItem'==_0x1cb3b5['name']&&_0x1cb3b5[_0x293d('0x39')]('listIndent')==_0x5b9271[_0x293d('0x39')](_0x293d('0x36'));)_0x123691[_0x293d('0xf')](_0x1cb3b5),_0x1cb3b5=_0x1cb3b5[_0x293d('0x3b')];}return _0x123691;}