@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20230711.0 → 0.0.0-nightly-20230712.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (64) hide show
  1. package/build/track-changes.js +1 -1
  2. package/package.json +3 -3
  3. package/src/commands/acceptsuggestioncommand.js +1 -1
  4. package/src/commands/discardsuggestioncommand.js +1 -1
  5. package/src/commands/executeonallsuggestionscommand.js +1 -1
  6. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  7. package/src/commands/trackchangescommand.js +1 -1
  8. package/src/integrations/alignment.js +1 -1
  9. package/src/integrations/basicstyles.js +1 -1
  10. package/src/integrations/blockquote.js +1 -1
  11. package/src/integrations/ckbox.js +1 -1
  12. package/src/integrations/codeblock.js +1 -1
  13. package/src/integrations/comments.js +1 -1
  14. package/src/integrations/deletecommand.js +1 -1
  15. package/src/integrations/documentlist.js +1 -1
  16. package/src/integrations/documentlistproperties.js +1 -1
  17. package/src/integrations/entercommand.js +1 -1
  18. package/src/integrations/findandreplace.js +1 -1
  19. package/src/integrations/font.js +1 -1
  20. package/src/integrations/formatpainter.js +1 -1
  21. package/src/integrations/heading.js +1 -1
  22. package/src/integrations/highlight.js +1 -1
  23. package/src/integrations/horizontalline.js +1 -1
  24. package/src/integrations/htmlembed.js +1 -1
  25. package/src/integrations/image.js +1 -1
  26. package/src/integrations/imagereplace.js +1 -1
  27. package/src/integrations/importword.js +1 -1
  28. package/src/integrations/indent.js +1 -1
  29. package/src/integrations/inputcommand.js +1 -1
  30. package/src/integrations/link.js +1 -1
  31. package/src/integrations/list.js +1 -1
  32. package/src/integrations/listproperties.js +1 -1
  33. package/src/integrations/mediaembed.js +1 -1
  34. package/src/integrations/mention.js +1 -1
  35. package/src/integrations/pagebreak.js +1 -1
  36. package/src/integrations/paragraph.js +1 -1
  37. package/src/integrations/removeformat.js +1 -1
  38. package/src/integrations/restrictededitingmode.js +1 -1
  39. package/src/integrations/shiftentercommand.js +1 -1
  40. package/src/integrations/standardeditingmode.js +1 -1
  41. package/src/integrations/style.js +1 -1
  42. package/src/integrations/table.js +1 -1
  43. package/src/integrations/tablecaption.js +1 -1
  44. package/src/integrations/tableclipboard.js +1 -1
  45. package/src/integrations/tablecolumnresize.js +1 -1
  46. package/src/integrations/tableheadings.js +1 -1
  47. package/src/integrations/tablemergesplit.js +1 -1
  48. package/src/integrations/tableofcontents.js +1 -1
  49. package/src/integrations/tableproperties.js +1 -1
  50. package/src/integrations/template.js +1 -1
  51. package/src/integrations/title.js +1 -1
  52. package/src/integrations/undo.js +1 -1
  53. package/src/integrations/utils.js +1 -1
  54. package/src/suggestion.js +1 -1
  55. package/src/suggestiondescriptionfactory.js +1 -1
  56. package/src/trackchanges.js +1 -1
  57. package/src/trackchangesdata.js +1 -1
  58. package/src/trackchangesediting.js +1 -1
  59. package/src/trackchangesui.js +1 -1
  60. package/src/ui/suggestioncontroller.js +1 -1
  61. package/src/ui/view/basesuggestionthreadview.js +1 -1
  62. package/src/ui/view/suggestionthreadview.js +1 -1
  63. package/src/utils/common-translations.js +1 -1
  64. package/src/utils/utils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x518f=['document','FontFamilyEditing','*Set\x20font\x20family:*\x20%0','fontFamily','from','_enableCommand','selection','*Set\x20font\x20size:*\x20%0','commandParams','label','FontColorEditing','TrackChangesEditing','plugins','change','title','get','FontSize','locale','fontBackgroundColor.colors','normalizeSizeOptions','FontBackgroundColorEditing','*Reset\x20font\x20family*','fontSize.options','trim','fontBackgroundColor','fontColor','afterInit','format','config','*Set\x20font\x20background\x20color:*\x20%0','registerDescriptionCallback','editor','value','find','toLowerCase','commandName','_descriptionFactory','model','fontSize','*Reset\x20font\x20size*','has','getRanges'];(function(_0x31c240,_0x518fe6){const _0x251af2=function(_0x400ab7){while(--_0x400ab7){_0x31c240['push'](_0x31c240['shift']());}};_0x251af2(++_0x518fe6);}(_0x518f,0x135));const _0x251a=function(_0x31c240,_0x518fe6){_0x31c240=_0x31c240-0x0;let _0x251af2=_0x518f[_0x31c240];return _0x251af2;};import{Plugin as _0x5e9e8d}from'ckeditor5/src/core';import{normalizeColorOptions as _0x25d908}from'ckeditor5/src/ui';import{getRangesWithAttribute as _0x3dc274}from'./utils';import{getTranslation as _0x57b589}from'../utils/common-translations';const Zt=[{'pluginName':'FontSizeEditing','commandName':'fontSize'},{'pluginName':_0x251a('0x1c'),'commandName':_0x251a('0x1e')},{'pluginName':_0x251a('0x25'),'commandName':_0x251a('0xa')},{'pluginName':_0x251a('0x5'),'commandName':_0x251a('0x9')}];export default class H extends _0x5e9e8d{[_0x251a('0xb')](){const _0x590e4d=this[_0x251a('0x10')][_0x251a('0x2')];for(const {pluginName:_0xedc451,commandName:_0x12aa25}of Zt)this['editor'][_0x251a('0x27')][_0x251a('0x19')](_0xedc451)&&this[_0x251a('0x20')](_0x12aa25);this['editor'][_0x251a('0x27')][_0x251a('0x0')]('TrackChangesEditing')[_0x251a('0x15')][_0x251a('0xf')](_0x1d2e4b=>{const _0x4e2104=_0x590e4d['t'],{data:_0x48d0b7}=_0x1d2e4b;if(null!=_0x48d0b7){if(_0x251a('0x17')==_0x48d0b7[_0x251a('0x14')]){const _0x3c8e9b=_0x48d0b7['commandParams'][0x0]['value'];if(_0x3c8e9b){const _0x57ccc1=_0x4e2104(this[_0x251a('0x10')][_0x251a('0x27')][_0x251a('0x0')](_0x251a('0x1'))[_0x251a('0x4')](this[_0x251a('0x10')][_0x251a('0xd')]['get'](_0x251a('0x7')))[_0x251a('0x12')](_0x37954b=>_0x37954b[_0x251a('0x16')]==_0x3c8e9b)[_0x251a('0x29')])[_0x251a('0x13')]();return{'type':_0x251a('0xc'),'content':_0x57b589(_0x590e4d,_0x251a('0x22'),_0x57ccc1)};}return{'type':_0x251a('0xc'),'content':_0x57b589(_0x590e4d,_0x251a('0x18'))};}if(_0x251a('0x1e')==_0x48d0b7['commandName']){const _0x14f8b3=_0x48d0b7['commandParams'][0x0]['value'];return _0x14f8b3?{'type':_0x251a('0xc'),'content':_0x57b589(_0x590e4d,_0x251a('0x1d'),_0x14f8b3)}:{'type':'format','content':_0x57b589(_0x590e4d,_0x251a('0x6'))};}if(_0x251a('0xa')==_0x48d0b7[_0x251a('0x14')]){const _0x4d38af=_0x48d0b7['commandParams'][0x0][_0x251a('0x11')];if(_0x4d38af){const _0x39c675=_0x25d908(this['editor']['config'][_0x251a('0x0')]('fontColor.colors'))[_0x251a('0x12')](_0x154126=>_0x154126[_0x251a('0x16')]==_0x4d38af);let _0x2ff0df=_0x4d38af,_0x465ee3='';return _0x39c675&&(_0x2ff0df=_0x39c675['label'],_0x465ee3=_0x4e2104(_0x2ff0df)['toLowerCase']()),{'type':_0x251a('0xc'),'content':_0x57b589(_0x590e4d,'*Set\x20font\x20color:*\x20%0',_0x465ee3)[_0x251a('0x8')](),'color':{'value':_0x4d38af,'title':_0x465ee3||_0x2ff0df}};}return{'type':_0x251a('0xc'),'content':_0x57b589(_0x590e4d,'*Reset\x20font\x20color*')};}if(_0x251a('0x9')==_0x48d0b7['commandName']){const _0x182a38=_0x48d0b7[_0x251a('0x23')][0x0][_0x251a('0x11')];if(_0x182a38){const _0x5985a5=_0x25d908(this[_0x251a('0x10')]['config'][_0x251a('0x0')](_0x251a('0x3')))[_0x251a('0x12')](_0x41bf84=>_0x41bf84[_0x251a('0x16')]==_0x182a38);let _0x19ba14=_0x182a38,_0x204c99='';return _0x5985a5&&(_0x19ba14=_0x5985a5[_0x251a('0x24')],_0x204c99=_0x4e2104(_0x19ba14)[_0x251a('0x13')]()),{'type':_0x251a('0xc'),'content':_0x57b589(_0x590e4d,_0x251a('0xe'),_0x204c99)['trim'](),'color':{'value':_0x182a38,'title':_0x204c99||_0x19ba14}};}return{'type':_0x251a('0xc'),'content':_0x57b589(_0x590e4d,'*Reset\x20font\x20background\x20color*')};}}});}[_0x251a('0x20')](_0x12b5b0){const _0x33b908=this['editor'];_0x33b908[_0x251a('0x27')][_0x251a('0x0')]('TrackChangesEditing')['enableCommand'](_0x12b5b0,(_0xd9f33,_0x30650e={})=>{const _0x1c6a84=_0x33b908['model'][_0x251a('0x1b')][_0x251a('0x21')],_0x49b1b7=_0x30650e['value'];_0x1c6a84['isCollapsed']?_0xd9f33(_0x30650e):_0x33b908[_0x251a('0x16')][_0x251a('0x28')](()=>{const _0x5c95ed=Array[_0x251a('0x1f')](_0x1c6a84[_0x251a('0x1a')]());for(const _0x45c929 of _0x5c95ed){const _0x10564b=_0x49b1b7?[_0x45c929]:_0x3dc274(_0x12b5b0,_0x45c929,_0x33b908[_0x251a('0x16')]);for(const _0x51b236 of _0x10564b)_0x33b908[_0x251a('0x27')][_0x251a('0x0')](_0x251a('0x26'))['markInlineFormat'](_0x51b236,{'commandName':_0x12b5b0,'commandParams':[{'value':_0x49b1b7}]});}});});}}
23
+ const _0x5709=['commandName','*Set\x20font\x20background\x20color:*\x20%0','from','FontBackgroundColorEditing','selection','commandParams','fontFamily','afterInit','*Set\x20font\x20size:*\x20%0','change','toLowerCase','normalizeSizeOptions','get','TrackChangesEditing','_enableCommand','locale','*Reset\x20font\x20background\x20color*','*Reset\x20font\x20size*','fontBackgroundColor','editor','FontSizeEditing','find','getRanges','fontColor.colors','has','FontColorEditing','*Reset\x20font\x20color*','model','FontFamilyEditing','*Set\x20font\x20family:*\x20%0','config','title','label','format','*Set\x20font\x20color:*\x20%0','registerDescriptionCallback','fontSize.options','value','enableCommand','markInlineFormat','isCollapsed','plugins','_descriptionFactory','fontColor'];(function(_0x19fbfa,_0x570949){const _0x20599d=function(_0x48ad8d){while(--_0x48ad8d){_0x19fbfa['push'](_0x19fbfa['shift']());}};_0x20599d(++_0x570949);}(_0x5709,0xd1));const _0x2059=function(_0x19fbfa,_0x570949){_0x19fbfa=_0x19fbfa-0x0;let _0x20599d=_0x5709[_0x19fbfa];return _0x20599d;};import{Plugin as _0x2b9253}from'ckeditor5/src/core';import{normalizeColorOptions as _0x5b122d}from'ckeditor5/src/ui';import{getRangesWithAttribute as _0x46a3c5}from'./utils';import{getTranslation as _0x2e6e53}from'../utils/common-translations';const Zt=[{'pluginName':_0x2059('0x1f'),'commandName':'fontSize'},{'pluginName':_0x2059('0x27'),'commandName':_0x2059('0x11')},{'pluginName':_0x2059('0x24'),'commandName':_0x2059('0xa')},{'pluginName':_0x2059('0xe'),'commandName':_0x2059('0x1d')}];export default class H extends _0x2b9253{[_0x2059('0x12')](){const _0x33791d=this['editor'][_0x2059('0x1a')];for(const {pluginName:_0x1921cb,commandName:_0x474818}of Zt)this[_0x2059('0x1e')][_0x2059('0x8')][_0x2059('0x23')](_0x1921cb)&&this[_0x2059('0x19')](_0x474818);this[_0x2059('0x1e')][_0x2059('0x8')][_0x2059('0x17')](_0x2059('0x18'))[_0x2059('0x9')][_0x2059('0x2')](_0x22dcda=>{const _0x210a7e=_0x33791d['t'],{data:_0x2616cd}=_0x22dcda;if(null!=_0x2616cd){if('fontSize'==_0x2616cd['commandName']){const _0x148f34=_0x2616cd[_0x2059('0x10')][0x0][_0x2059('0x4')];if(_0x148f34){const _0x3cd588=_0x210a7e(this[_0x2059('0x1e')]['plugins'][_0x2059('0x17')]('FontSize')[_0x2059('0x16')](this[_0x2059('0x1e')][_0x2059('0x29')][_0x2059('0x17')](_0x2059('0x3')))[_0x2059('0x20')](_0x2b9f3c=>_0x2b9f3c[_0x2059('0x26')]==_0x148f34)[_0x2059('0x2a')])[_0x2059('0x15')]();return{'type':_0x2059('0x0'),'content':_0x2e6e53(_0x33791d,_0x2059('0x13'),_0x3cd588)};}return{'type':_0x2059('0x0'),'content':_0x2e6e53(_0x33791d,_0x2059('0x1c'))};}if(_0x2059('0x11')==_0x2616cd[_0x2059('0xb')]){const _0x53dbd3=_0x2616cd[_0x2059('0x10')][0x0][_0x2059('0x4')];return _0x53dbd3?{'type':_0x2059('0x0'),'content':_0x2e6e53(_0x33791d,_0x2059('0x28'),_0x53dbd3)}:{'type':'format','content':_0x2e6e53(_0x33791d,'*Reset\x20font\x20family*')};}if(_0x2059('0xa')==_0x2616cd['commandName']){const _0x597a48=_0x2616cd[_0x2059('0x10')][0x0][_0x2059('0x4')];if(_0x597a48){const _0x1016c6=_0x5b122d(this['editor'][_0x2059('0x29')]['get'](_0x2059('0x22')))[_0x2059('0x20')](_0x4d6048=>_0x4d6048[_0x2059('0x26')]==_0x597a48);let _0x30f17a=_0x597a48,_0xb8bd93='';return _0x1016c6&&(_0x30f17a=_0x1016c6[_0x2059('0x2b')],_0xb8bd93=_0x210a7e(_0x30f17a)[_0x2059('0x15')]()),{'type':_0x2059('0x0'),'content':_0x2e6e53(_0x33791d,_0x2059('0x1'),_0xb8bd93)['trim'](),'color':{'value':_0x597a48,'title':_0xb8bd93||_0x30f17a}};}return{'type':'format','content':_0x2e6e53(_0x33791d,_0x2059('0x25'))};}if(_0x2059('0x1d')==_0x2616cd[_0x2059('0xb')]){const _0x1dd0af=_0x2616cd['commandParams'][0x0][_0x2059('0x4')];if(_0x1dd0af){const _0x29ede9=_0x5b122d(this['editor'][_0x2059('0x29')][_0x2059('0x17')]('fontBackgroundColor.colors'))[_0x2059('0x20')](_0x5bfbe1=>_0x5bfbe1['model']==_0x1dd0af);let _0x5ce488=_0x1dd0af,_0x2c2c65='';return _0x29ede9&&(_0x5ce488=_0x29ede9[_0x2059('0x2b')],_0x2c2c65=_0x210a7e(_0x5ce488)[_0x2059('0x15')]()),{'type':_0x2059('0x0'),'content':_0x2e6e53(_0x33791d,_0x2059('0xc'),_0x2c2c65)['trim'](),'color':{'value':_0x1dd0af,'title':_0x2c2c65||_0x5ce488}};}return{'type':'format','content':_0x2e6e53(_0x33791d,_0x2059('0x1b'))};}}});}[_0x2059('0x19')](_0xe4f396){const _0x5d5584=this[_0x2059('0x1e')];_0x5d5584[_0x2059('0x8')][_0x2059('0x17')]('TrackChangesEditing')[_0x2059('0x5')](_0xe4f396,(_0x28400a,_0x305ff2={})=>{const _0x1fccd4=_0x5d5584[_0x2059('0x26')]['document'][_0x2059('0xf')],_0x46a7a4=_0x305ff2[_0x2059('0x4')];_0x1fccd4[_0x2059('0x7')]?_0x28400a(_0x305ff2):_0x5d5584[_0x2059('0x26')][_0x2059('0x14')](()=>{const _0x4a1cb3=Array[_0x2059('0xd')](_0x1fccd4[_0x2059('0x21')]());for(const _0x352991 of _0x4a1cb3){const _0x558172=_0x46a7a4?[_0x352991]:_0x46a3c5(_0xe4f396,_0x352991,_0x5d5584[_0x2059('0x26')]);for(const _0x44ba27 of _0x558172)_0x5d5584[_0x2059('0x8')][_0x2059('0x17')](_0x2059('0x18'))[_0x2059('0x6')](_0x44ba27,{'commandName':_0xe4f396,'commandParams':[{'value':_0x46a7a4}]});}});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4d05=['isFormatting','getLastPosition','*Set\x20format\x20to:*\x20%0','markInlineFormat','boolean','join','charAt','length','TrackChangesEditing','createSelection','createRange','editor','enableCommand','FontSize','fontSize','find','change','getItems','forward','label','toUpperCase','slice','keys','fontSize.options','schema','get','modifySelection','split','fontBackgroundColor','fontColor','toLowerCase','pasteFormat','commandName','getRanges','normalizeSizeOptions','from','document','locale','_descriptionFactory','plugins','config','model','*Remove\x20all\x20formatting*','push','getFirstPosition','word','registerDescriptionCallback','getAttributeProperties','title','commandParams','selection','isCollapsed','afterInit','copyFormat'];(function(_0x581b18,_0x4d056b){const _0xa983c0=function(_0x21926d){while(--_0x21926d){_0x581b18['push'](_0x581b18['shift']());}};_0xa983c0(++_0x4d056b);}(_0x4d05,0x1d6));const _0xa983=function(_0x581b18,_0x4d056b){_0x581b18=_0x581b18-0x0;let _0xa983c0=_0x4d05[_0x581b18];return _0xa983c0;};import{Plugin as _0xf114e6}from'ckeditor5/src/core';import{normalizeColorOptions as _0x3cb143}from'ckeditor5/src/ui';import{first as _0x4a16e8}from'ckeditor5/src/utils';import{getTranslation as _0x1f4700}from'../utils/common-translations';export default class W extends _0xf114e6{[_0xa983('0xe')](){const _0x1643a9=this[_0xa983('0x1b')],_0x5ea0f3=_0x1643a9[_0xa983('0x3')],_0x2b9764=_0x5ea0f3[_0xa983('0x34')][_0xa983('0xc')],_0x1c47e5=_0x1643a9['plugins'][_0xa983('0x29')](_0xa983('0x18')),_0x2c4171=_0x1643a9[_0xa983('0x35')],_0x5b58d6=_0x1643a9['commands'][_0xa983('0x29')](_0xa983('0xf')),_0x4c965e=_0x1643a9['commands'][_0xa983('0x29')](_0xa983('0x2f'));_0x5b58d6&&_0x4c965e&&(_0x1c47e5[_0xa983('0x1c')](_0xa983('0x2f'),(_0x29e81c,_0x5f34ec={})=>{const _0x2b21cd=_0x5f34ec;_0x5ea0f3[_0xa983('0x20')](()=>{const _0x2f9b25=Array[_0xa983('0x33')](_0x2b9764[_0xa983('0x31')]()),_0x27e8b9=_0x2b9764[_0xa983('0xd')]?[ro(_0x5ea0f3,_0x2b9764)]:_0x2f9b25,_0xe96ab8=!!_0x4a16e8(function*(_0x32fec7,_0x4e9f40){const _0x266f39=_0x19f6f5=>!!_0x4a16e8(function*(_0x319729,_0x3e5191){for(const [_0x5b538c]of _0x319729['getAttributes']()){const _0x427470=_0x3e5191[_0xa983('0x9')](_0x5b538c);_0x427470&&_0x427470[_0xa983('0x10')]&&(yield _0x5b538c);}}(_0x19f6f5,_0x4e9f40));for(const _0x257ffd of _0x32fec7[_0xa983('0x31')]())for(const _0x2d2929 of _0x257ffd[_0xa983('0x21')]())!_0x4e9f40['isBlock'](_0x2d2929)&&_0x266f39(_0x2d2929)&&(yield _0x2d2929);for(const _0x17e427 of _0x32fec7['getSelectedBlocks']())_0x266f39(_0x17e427)&&(yield _0x17e427);_0x266f39(_0x32fec7)&&(yield _0x32fec7);}(_0x2b9764,_0x5ea0f3[_0xa983('0x28')]));if(_0xe96ab8||0x0!==Object[_0xa983('0x26')](_0x2b21cd)[_0xa983('0x17')])for(const _0x587423 of _0x27e8b9)_0x1c47e5[_0xa983('0x13')](_0x587423,{'commandName':_0xa983('0x2f'),'commandParams':[_0x2b21cd]});});}),_0x1c47e5[_0xa983('0x0')][_0xa983('0x8')](_0x524687=>{const {data:_0x1cdc41}=_0x524687;if(_0x1cdc41&&'pasteFormat'===_0x1cdc41[_0xa983('0x30')]){const _0x53f3d=[],_0x7e7f9d=_0x1cdc41[_0xa983('0xb')][0x0];for(const [_0x5527bd,_0x41405a]of Object['entries'](_0x7e7f9d))_0x53f3d[_0xa983('0x5')](no(_0x1643a9,_0x5527bd,_0x41405a));return _0x53f3d[_0xa983('0x17')]?{'type':'format','content':_0x1f4700(_0x2c4171,_0xa983('0x12'),_0x53f3d['join'](',\x20'))}:{'type':'format','content':_0x1f4700(_0x2c4171,_0xa983('0x4'))};}}),_0x1643a9[_0xa983('0x1')]['get'](_0xa983('0x18'))[_0xa983('0x1c')](_0xa983('0xf')));}}function ro(_0x268a90,_0x26b410){const _0x2eb96a=_0x268a90[_0xa983('0x19')](_0x26b410);_0x268a90[_0xa983('0x2a')](_0x2eb96a,{'unit':_0xa983('0x7'),'direction':'backward'});const _0x2886dd=_0x2eb96a[_0xa983('0x6')]();_0x268a90[_0xa983('0x2a')](_0x2eb96a,{'unit':_0xa983('0x7'),'direction':_0xa983('0x22')});const _0x1675b5=_0x2eb96a[_0xa983('0x11')]();return _0x268a90[_0xa983('0x1a')](_0x2886dd,_0x1675b5);}function no(_0x3211d1,_0x457833,_0x4738ce){const _0x92707c=_0x3211d1[_0xa983('0x35')]['t'],_0x5de246=_0x457833[_0xa983('0x2b')](/(?=[A-Z])/)[_0xa983('0x15')]('\x20'),_0x324c4f=_0x92707c(_0x5de246[_0xa983('0x16')](0x0)[_0xa983('0x24')]()+_0x5de246[_0xa983('0x25')](0x1))[_0xa983('0x2e')]();if(_0xa983('0x14')==typeof _0x4738ce)return _0x324c4f;if(_0xa983('0x2d')===_0x457833||_0xa983('0x2c')===_0x457833){const _0x6496d3=_0x3cb143(_0x3211d1['config']['get']('fontColor.colors'))[_0xa983('0x1f')](_0x109e28=>_0x109e28['model']==_0x4738ce);return _0x324c4f+'\x20('+(_0x6496d3?_0x92707c(_0x6496d3[_0xa983('0x23')])['toLowerCase']():_0x4738ce)+')';}if(_0xa983('0x1e')===_0x457833&&isNaN(parseFloat(_0x4738ce))){const _0x32f62d=_0x3211d1['plugins']['get'](_0xa983('0x1d'))[_0xa983('0x32')](_0x3211d1[_0xa983('0x2')]['get'](_0xa983('0x27')))[_0xa983('0x1f')](_0x3ede39=>_0x3ede39['model']==_0x4738ce);return _0x324c4f+'\x20('+(_0x32f62d?_0x92707c(_0x32f62d[_0xa983('0xa')])[_0xa983('0x2e')]():_0x4738ce)+')';}return _0x324c4f+'\x20('+_0x4738ce+')';}
23
+ const _0x2427=['label','getRanges','fontSize','length','copyFormat','FontSize','push','getItems','toLowerCase','schema','getSelectedBlocks','model','markInlineFormat','selection','*Remove\x20all\x20formatting*','format','entries','fontColor.colors','boolean','forward','change','isFormatting','createSelection','_descriptionFactory','plugins','commands','createRange','*Set\x20format\x20to:*\x20%0','modifySelection','commandName','registerDescriptionCallback','config','pasteFormat','normalizeSizeOptions','join','afterInit','keys','from','enableCommand','locale','TrackChangesEditing','commandParams','fontBackgroundColor','word','find','get','fontSize.options','isCollapsed','fontColor','title','getAttributes'];(function(_0x2a7539,_0x242702){const _0xec316f=function(_0x1d3e7d){while(--_0x1d3e7d){_0x2a7539['push'](_0x2a7539['shift']());}};_0xec316f(++_0x242702);}(_0x2427,0x116));const _0xec31=function(_0x2a7539,_0x242702){_0x2a7539=_0x2a7539-0x0;let _0xec316f=_0x2427[_0x2a7539];return _0xec316f;};import{Plugin as _0x4f6603}from'ckeditor5/src/core';import{normalizeColorOptions as _0x5cddd5}from'ckeditor5/src/ui';import{first as _0x277255}from'ckeditor5/src/utils';import{getTranslation as _0x45c0ff}from'../utils/common-translations';export default class W extends _0x4f6603{[_0xec31('0xc')](){const _0x38ceba=this['editor'],_0x4a1632=_0x38ceba['model'],_0x47ab22=_0x4a1632['document'][_0xec31('0x29')],_0x30b4fb=_0x38ceba[_0xec31('0x1')]['get']('TrackChangesEditing'),_0x509e8a=_0x38ceba[_0xec31('0x10')],_0x5e2a45=_0x38ceba[_0xec31('0x2')][_0xec31('0x16')](_0xec31('0x20')),_0x26584b=_0x38ceba[_0xec31('0x2')][_0xec31('0x16')](_0xec31('0x9'));_0x5e2a45&&_0x26584b&&(_0x30b4fb[_0xec31('0xf')]('pasteFormat',(_0x32f43e,_0x170c67={})=>{const _0x32d2aa=_0x170c67;_0x4a1632[_0xec31('0x30')](()=>{const _0x50f66c=Array[_0xec31('0xe')](_0x47ab22[_0xec31('0x1d')]()),_0x4e5f35=_0x47ab22[_0xec31('0x18')]?[ro(_0x4a1632,_0x47ab22)]:_0x50f66c,_0x342696=!!_0x277255(function*(_0x54ceff,_0x3e5d61){const _0x5c5a60=_0x3202d9=>!!_0x277255(function*(_0x50d9a7,_0x582d85){for(const [_0x17ace7]of _0x50d9a7[_0xec31('0x1b')]()){const _0x6f2ae6=_0x582d85['getAttributeProperties'](_0x17ace7);_0x6f2ae6&&_0x6f2ae6[_0xec31('0x31')]&&(yield _0x17ace7);}}(_0x3202d9,_0x3e5d61));for(const _0x20b037 of _0x54ceff[_0xec31('0x1d')]())for(const _0x3f2f7d of _0x20b037[_0xec31('0x23')]())!_0x3e5d61['isBlock'](_0x3f2f7d)&&_0x5c5a60(_0x3f2f7d)&&(yield _0x3f2f7d);for(const _0x244da7 of _0x54ceff[_0xec31('0x26')]())_0x5c5a60(_0x244da7)&&(yield _0x244da7);_0x5c5a60(_0x54ceff)&&(yield _0x54ceff);}(_0x47ab22,_0x4a1632[_0xec31('0x25')]));if(_0x342696||0x0!==Object[_0xec31('0xd')](_0x32d2aa)[_0xec31('0x1f')])for(const _0x45b473 of _0x4e5f35)_0x30b4fb[_0xec31('0x28')](_0x45b473,{'commandName':'pasteFormat','commandParams':[_0x32d2aa]});});}),_0x30b4fb[_0xec31('0x0')][_0xec31('0x7')](_0x228f1d=>{const {data:_0x3d54d6}=_0x228f1d;if(_0x3d54d6&&_0xec31('0x9')===_0x3d54d6[_0xec31('0x6')]){const _0x482deb=[],_0xad5c26=_0x3d54d6[_0xec31('0x12')][0x0];for(const [_0x19b6fa,_0x1c0e44]of Object[_0xec31('0x2c')](_0xad5c26))_0x482deb[_0xec31('0x22')](no(_0x38ceba,_0x19b6fa,_0x1c0e44));return _0x482deb['length']?{'type':'format','content':_0x45c0ff(_0x509e8a,_0xec31('0x4'),_0x482deb[_0xec31('0xb')](',\x20'))}:{'type':_0xec31('0x2b'),'content':_0x45c0ff(_0x509e8a,_0xec31('0x2a'))};}}),_0x38ceba[_0xec31('0x1')][_0xec31('0x16')](_0xec31('0x11'))[_0xec31('0xf')](_0xec31('0x20')));}}function ro(_0x130fc3,_0x1bd2fe){const _0x300a0f=_0x130fc3[_0xec31('0x32')](_0x1bd2fe);_0x130fc3[_0xec31('0x5')](_0x300a0f,{'unit':_0xec31('0x14'),'direction':'backward'});const _0x5a057c=_0x300a0f['getFirstPosition']();_0x130fc3[_0xec31('0x5')](_0x300a0f,{'unit':_0xec31('0x14'),'direction':_0xec31('0x2f')});const _0x467101=_0x300a0f['getLastPosition']();return _0x130fc3[_0xec31('0x3')](_0x5a057c,_0x467101);}function no(_0x4340a8,_0x21f90a,_0x4fbcbf){const _0x24d753=_0x4340a8[_0xec31('0x10')]['t'],_0x2473c5=_0x21f90a['split'](/(?=[A-Z])/)[_0xec31('0xb')]('\x20'),_0x1ad5d9=_0x24d753(_0x2473c5['charAt'](0x0)['toUpperCase']()+_0x2473c5['slice'](0x1))[_0xec31('0x24')]();if(_0xec31('0x2e')==typeof _0x4fbcbf)return _0x1ad5d9;if(_0xec31('0x19')===_0x21f90a||_0xec31('0x13')===_0x21f90a){const _0x30a400=_0x5cddd5(_0x4340a8[_0xec31('0x8')][_0xec31('0x16')](_0xec31('0x2d')))[_0xec31('0x15')](_0x5ce35a=>_0x5ce35a[_0xec31('0x27')]==_0x4fbcbf);return _0x1ad5d9+'\x20('+(_0x30a400?_0x24d753(_0x30a400[_0xec31('0x1c')])['toLowerCase']():_0x4fbcbf)+')';}if(_0xec31('0x1e')===_0x21f90a&&isNaN(parseFloat(_0x4fbcbf))){const _0x337118=_0x4340a8[_0xec31('0x1')]['get'](_0xec31('0x21'))[_0xec31('0xa')](_0x4340a8[_0xec31('0x8')][_0xec31('0x16')](_0xec31('0x17')))[_0xec31('0x15')](_0x230246=>_0x230246[_0xec31('0x27')]==_0x4fbcbf);return _0x1ad5d9+'\x20('+(_0x337118?_0x24d753(_0x337118[_0xec31('0x1a')])[_0xec31('0x24')]():_0x4fbcbf)+')';}return _0x1ad5d9+'\x20('+_0x4fbcbf+')';}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x21ba=['*Change\x20to:*\x20%0','registerDescriptionCallback','from','HeadingEditing','format','commandParams','find','parent','config','value','getSelectedBlocks','ELEMENT_HEADING_CUSTOM','checkChild','model','match','TrackChangesEditing','locale','heading','change','get','formatBlock','schema','ELEMENT_HEADING','heading.options','editor','plugins','selection','title','document','_descriptionFactory','commandName','afterInit','blockName'];(function(_0x576271,_0x21ba96){const _0x34a46a=function(_0x422004){while(--_0x422004){_0x576271['push'](_0x576271['shift']());}};_0x34a46a(++_0x21ba96);}(_0x21ba,0x1d3));const _0x34a4=function(_0x576271,_0x21ba96){_0x576271=_0x576271-0x0;let _0x34a46a=_0x21ba[_0x576271];return _0x34a46a;};import{Plugin as _0x19e7e6}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0xe11954}from'./utils';import{getTranslation as _0x20d365}from'../utils/common-translations';export default class J extends _0x19e7e6{[_0x34a4('0x1a')](){const _0x4a856b=this[_0x34a4('0x13')],_0x121836=_0x4a856b[_0x34a4('0xb')],_0x4437b0=_0x4a856b[_0x34a4('0x3')][_0x34a4('0xe')](_0x34a4('0x12'));if(!_0x4a856b[_0x34a4('0x14')]['has'](_0x34a4('0x1f')))return;const _0x428b60=_0x4a856b[_0x34a4('0x14')][_0x34a4('0xe')](_0x34a4('0xa'));_0x428b60['enableCommand']('heading',(_0x40e4e2,_0x3ab61c)=>{const _0x31b29e=_0x3ab61c[_0x34a4('0x4')],_0x17bdb4=Array[_0x34a4('0x1e')](this[_0x34a4('0x13')][_0x34a4('0x8')][_0x34a4('0x17')][_0x34a4('0x15')][_0x34a4('0x5')]())['filter'](_0x58fb55=>function(_0x12c7e6,_0xe673a3,_0x456cfb){return _0x456cfb[_0x34a4('0x7')](_0x12c7e6[_0x34a4('0x2')],_0xe673a3)&&!_0x456cfb['isObject'](_0x12c7e6)&&_0x12c7e6['name']!=_0xe673a3;}(_0x58fb55,_0x31b29e,this[_0x34a4('0x13')]['model'][_0x34a4('0x10')]));_0x4a856b[_0x34a4('0x8')][_0x34a4('0xd')](()=>{for(const _0x2ccc26 of _0x17bdb4)_0x428b60['markBlockFormat'](_0x2ccc26,{'commandName':_0x34a4('0xc'),'commandParams':[_0x3ab61c],'formatGroupId':_0x34a4('0x1b')},_0xe11954(_0x2ccc26));});});for(const _0x31ed0d of _0x4437b0)'paragraph'!=_0x31ed0d['model']&&_0x428b60[_0x34a4('0x18')]['registerElementLabel'](_0x31ed0d[_0x34a4('0x8')],_0x2ce53f=>{const _0x5caeab=nn(_0x31ed0d['model']);return null!==_0x5caeab?_0x1e21a5(_0x2ce53f,_0x5caeab):_0x55ef01(_0x2ce53f,_0x31ed0d[_0x34a4('0x16')]);});function _0x1e21a5(_0x37e435,_0x32444e){return _0x20d365(_0x121836,_0x34a4('0x11'),[_0x37e435,_0x32444e]);}function _0x55ef01(_0x457bf6,_0x1b3b62){return _0x20d365(_0x121836,_0x34a4('0x6'),[_0x457bf6,_0x1b3b62]);}_0x428b60[_0x34a4('0x18')][_0x34a4('0x1d')](_0x35250d=>{const {type:_0x55f77f,data:_0x2fa236}=_0x35250d;if(_0x34a4('0xf')==_0x55f77f&&_0x2fa236&&_0x34a4('0xc')==_0x2fa236[_0x34a4('0x19')]){const _0x1b41bc=_0x2fa236[_0x34a4('0x0')][0x0][_0x34a4('0x4')],_0x2a76ca=nn(_0x1b41bc);if(null!==_0x2a76ca)return{'type':_0x34a4('0x20'),'content':_0x20d365(_0x121836,_0x34a4('0x1c'),_0x1e21a5(0x1,_0x2a76ca))};const _0x36cc5c=_0x4437b0[_0x34a4('0x1')](_0x2d8480=>_0x2d8480[_0x34a4('0x8')]===_0x1b41bc)['title'];return{'type':'format','content':_0x20d365(_0x121836,'*Change\x20to:*\x20%0',_0x55ef01(0x1,_0x36cc5c))};}});}}function nn(_0x56a12c){const _0x351861=_0x56a12c[_0x34a4('0x9')](/^heading(\d+)$/);return _0x351861?_0x351861[0x1]:null;}
23
+ const _0x3549=['heading','ELEMENT_HEADING_CUSTOM','*Change\x20to:*\x20%0','get','title','markBlockFormat','ELEMENT_HEADING','formatBlock','blockName','name','commandParams','model','change','afterInit','enableCommand','HeadingEditing','value','heading.options','registerDescriptionCallback','config','TrackChangesEditing','locale','has','document','checkChild','find','plugins','format','filter','_descriptionFactory','match','editor','registerElementLabel'];(function(_0x11058d,_0x3549ad){const _0x571e68=function(_0x565b88){while(--_0x565b88){_0x11058d['push'](_0x11058d['shift']());}};_0x571e68(++_0x3549ad);}(_0x3549,0xab));const _0x571e=function(_0x11058d,_0x3549ad){_0x11058d=_0x11058d-0x0;let _0x571e68=_0x3549[_0x11058d];return _0x571e68;};import{Plugin as _0x27ad6c}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x324af9}from'./utils';import{getTranslation as _0x401db7}from'../utils/common-translations';export default class J extends _0x27ad6c{[_0x571e('0x7')](){const _0x4ad4a5=this[_0x571e('0x19')],_0x34185d=_0x4ad4a5[_0x571e('0xf')],_0x6787d4=_0x4ad4a5[_0x571e('0xd')][_0x571e('0x1e')](_0x571e('0xb'));if(!_0x4ad4a5[_0x571e('0x14')][_0x571e('0x10')](_0x571e('0x9')))return;const _0x4098b4=_0x4ad4a5[_0x571e('0x14')]['get'](_0x571e('0xe'));_0x4098b4[_0x571e('0x8')](_0x571e('0x1b'),(_0x48f431,_0x5dac02)=>{const _0x3d1cf8=_0x5dac02[_0x571e('0xa')],_0x5760e1=Array['from'](this['editor']['model'][_0x571e('0x11')]['selection']['getSelectedBlocks']())[_0x571e('0x16')](_0x2c84af=>function(_0x16272a,_0xd1f2d5,_0x61e8a5){return _0x61e8a5[_0x571e('0x12')](_0x16272a['parent'],_0xd1f2d5)&&!_0x61e8a5['isObject'](_0x16272a)&&_0x16272a[_0x571e('0x3')]!=_0xd1f2d5;}(_0x2c84af,_0x3d1cf8,this[_0x571e('0x19')][_0x571e('0x5')]['schema']));_0x4ad4a5[_0x571e('0x5')][_0x571e('0x6')](()=>{for(const _0x2e924e of _0x5760e1)_0x4098b4[_0x571e('0x20')](_0x2e924e,{'commandName':'heading','commandParams':[_0x5dac02],'formatGroupId':_0x571e('0x2')},_0x324af9(_0x2e924e));});});for(const _0x9e7f52 of _0x6787d4)'paragraph'!=_0x9e7f52['model']&&_0x4098b4[_0x571e('0x17')][_0x571e('0x1a')](_0x9e7f52[_0x571e('0x5')],_0x2983f3=>{const _0x3e05f1=nn(_0x9e7f52[_0x571e('0x5')]);return null!==_0x3e05f1?_0x279d46(_0x2983f3,_0x3e05f1):_0x1cea6f(_0x2983f3,_0x9e7f52[_0x571e('0x1f')]);});function _0x279d46(_0x491cfc,_0x5332be){return _0x401db7(_0x34185d,_0x571e('0x0'),[_0x491cfc,_0x5332be]);}function _0x1cea6f(_0x508722,_0x109fd1){return _0x401db7(_0x34185d,_0x571e('0x1c'),[_0x508722,_0x109fd1]);}_0x4098b4[_0x571e('0x17')][_0x571e('0xc')](_0x254380=>{const {type:_0xc61493,data:_0xcbd4dc}=_0x254380;if(_0x571e('0x1')==_0xc61493&&_0xcbd4dc&&'heading'==_0xcbd4dc['commandName']){const _0x220453=_0xcbd4dc[_0x571e('0x4')][0x0]['value'],_0xae44bd=nn(_0x220453);if(null!==_0xae44bd)return{'type':_0x571e('0x15'),'content':_0x401db7(_0x34185d,'*Change\x20to:*\x20%0',_0x279d46(0x1,_0xae44bd))};const _0x2c21e1=_0x6787d4[_0x571e('0x13')](_0x540f50=>_0x540f50[_0x571e('0x5')]===_0x220453)[_0x571e('0x1f')];return{'type':_0x571e('0x15'),'content':_0x401db7(_0x34185d,_0x571e('0x1d'),_0x1cea6f(0x1,_0x2c21e1))};}});}}function nn(_0x4ce605){const _0x7dafdd=_0x4ce605[_0x571e('0x18')](/^heading(\d+)$/);return _0x7dafdd?_0x7dafdd[0x1]:null;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3b74=['hasAttribute','commandParams','highlight','toLowerCase','enableCommand','HighlightEditing','color','push','selection','change','getAttribute','item','title','commandName','getLastMatchingPosition','locale','get','createRange','model','TrackChangesEditing','plugins','format','registerDescriptionCallback','value','document','FORMAT_HIGHLIGHT','*Set\x20highlight:*\x20%0','find','isCollapsed','*Remove\x20highlight*','backward'];(function(_0x5ef810,_0x3b74a1){const _0x49d37e=function(_0x4e2bbe){while(--_0x4e2bbe){_0x5ef810['push'](_0x5ef810['shift']());}};_0x49d37e(++_0x3b74a1);}(_0x3b74,0x1f3));const _0x49d3=function(_0x5ef810,_0x3b74a1){_0x5ef810=_0x5ef810-0x0;let _0x49d37e=_0x3b74[_0x5ef810];return _0x49d37e;};import{Plugin as _0x1d0f85}from'ckeditor5/src/core';import{getTranslation as _0x250d0e}from'../utils/common-translations';import{getRangesWithAttribute as _0x10c71c}from'./utils';export default class K extends _0x1d0f85{['afterInit'](){const _0xcab2a=this['editor'];if(!_0xcab2a[_0x49d3('0x11')]['has'](_0x49d3('0x2')))return;const _0x3dd8f1=_0xcab2a[_0x49d3('0x11')][_0x49d3('0xd')](_0x49d3('0x10'));_0x3dd8f1[_0x49d3('0x1')](_0x49d3('0x1e'),(_0x2e771b,_0x33be26={})=>{const _0x5889f8=_0xcab2a[_0x49d3('0xf')][_0x49d3('0x15')][_0x49d3('0x5')],_0x303b72=_0x5889f8[_0x49d3('0x7')]('highlight');let _0x12481a=_0x33be26[_0x49d3('0x14')],_0x210b07=[];if(_0x5889f8[_0x49d3('0x19')]){const _0x3ae4ea=_0x5889f8['getFirstPosition']();if(!_0x5889f8[_0x49d3('0x1c')](_0x49d3('0x1e')))return void _0x2e771b(_0x33be26);{const _0x57ba23=_0x52e09d=>_0x52e09d[_0x49d3('0x8')][_0x49d3('0x7')](_0x49d3('0x1e'))===_0x303b72,_0x5e0ef2=_0x3ae4ea[_0x49d3('0xb')](_0x57ba23,{'direction':_0x49d3('0x1b')}),_0x634b31=_0x3ae4ea[_0x49d3('0xb')](_0x57ba23);_0x210b07=[_0xcab2a['model'][_0x49d3('0xe')](_0x5e0ef2,_0x634b31)],_0x12481a==_0x303b72&&(_0x12481a=null);}}else for(const _0x1c729d of _0x5889f8['getRanges']())_0x12481a?_0x210b07['push'](_0x1c729d):_0x210b07[_0x49d3('0x4')](..._0x10c71c(_0x49d3('0x1e'),_0x1c729d,_0xcab2a[_0x49d3('0xf')]));_0xcab2a[_0x49d3('0xf')][_0x49d3('0x6')](()=>{for(const _0x17921b of _0x210b07)_0x3dd8f1['markInlineFormat'](_0x17921b,{'commandName':'highlight','commandParams':[{'value':_0x12481a}]});});});const _0x2aaa5e=_0xcab2a[_0x49d3('0xc')];_0x3dd8f1['_descriptionFactory'][_0x49d3('0x13')](_0x9fafb1=>{const {type:_0xf0f75f,data:_0x5297de}=_0x9fafb1;if('formatInline'==_0xf0f75f&&_0x5297de&&_0x49d3('0x1e')==_0x5297de[_0x49d3('0xa')]){const _0x6afdc8=_0x2aaa5e['t'],_0x28760f=_0x5297de[_0x49d3('0x1d')][0x0][_0x49d3('0x14')];if(_0x28760f){const _0x4d5c74=_0xcab2a['config'][_0x49d3('0xd')]('highlight.options')[_0x49d3('0x18')](_0x56c4a8=>_0x56c4a8['model']==_0x28760f),_0x58f3a2=_0x6afdc8(_0x4d5c74[_0x49d3('0x9')])[_0x49d3('0x0')]();return{'type':'format','content':_0x250d0e(_0x2aaa5e,_0x49d3('0x17'),_0x58f3a2),'color':{'value':_0x4d5c74[_0x49d3('0x3')],'title':_0x4d5c74[_0x49d3('0x9')]}};}return{'type':_0x49d3('0x12'),'content':_0x250d0e(_0x2aaa5e,_0x49d3('0x1a'),_0x250d0e(_0x2aaa5e,_0x49d3('0x16')))};}});}}
23
+ const _0x1205=['enableCommand','*Remove\x20highlight*','HighlightEditing','toLowerCase','editor','getAttribute','markInlineFormat','document','plugins','getRanges','hasAttribute','getLastMatchingPosition','title','change','format','afterInit','getFirstPosition','item','commandName','model','backward','_descriptionFactory','registerDescriptionCallback','value','selection','highlight','push','get','isCollapsed','createRange','FORMAT_HIGHLIGHT','has'];(function(_0x5c56f6,_0x120540){const _0x10abea=function(_0x552c48){while(--_0x552c48){_0x5c56f6['push'](_0x5c56f6['shift']());}};_0x10abea(++_0x120540);}(_0x1205,0x1e8));const _0x10ab=function(_0x5c56f6,_0x120540){_0x5c56f6=_0x5c56f6-0x0;let _0x10abea=_0x1205[_0x5c56f6];return _0x10abea;};import{Plugin as _0x28fa0e}from'ckeditor5/src/core';import{getTranslation as _0x3c4891}from'../utils/common-translations';import{getRangesWithAttribute as _0x42b6c8}from'./utils';export default class K extends _0x28fa0e{[_0x10ab('0x7')](){const _0x127497=this[_0x10ab('0x1c')];if(!_0x127497[_0x10ab('0x0')][_0x10ab('0x17')](_0x10ab('0x1a')))return;const _0x33f6a1=_0x127497[_0x10ab('0x0')][_0x10ab('0x13')]('TrackChangesEditing');_0x33f6a1[_0x10ab('0x18')](_0x10ab('0x11'),(_0x4ee17e,_0x46ea48={})=>{const _0x2f1a40=_0x127497[_0x10ab('0xb')][_0x10ab('0x1f')][_0x10ab('0x10')],_0x54f20a=_0x2f1a40['getAttribute'](_0x10ab('0x11'));let _0x26542d=_0x46ea48['value'],_0x540c3b=[];if(_0x2f1a40[_0x10ab('0x14')]){const _0x124625=_0x2f1a40[_0x10ab('0x8')]();if(!_0x2f1a40[_0x10ab('0x2')](_0x10ab('0x11')))return void _0x4ee17e(_0x46ea48);{const _0x569548=_0x204429=>_0x204429[_0x10ab('0x9')][_0x10ab('0x1d')](_0x10ab('0x11'))===_0x54f20a,_0x5efe57=_0x124625[_0x10ab('0x3')](_0x569548,{'direction':_0x10ab('0xc')}),_0x1dd9bb=_0x124625[_0x10ab('0x3')](_0x569548);_0x540c3b=[_0x127497[_0x10ab('0xb')][_0x10ab('0x15')](_0x5efe57,_0x1dd9bb)],_0x26542d==_0x54f20a&&(_0x26542d=null);}}else for(const _0xde7b36 of _0x2f1a40[_0x10ab('0x1')]())_0x26542d?_0x540c3b[_0x10ab('0x12')](_0xde7b36):_0x540c3b[_0x10ab('0x12')](..._0x42b6c8(_0x10ab('0x11'),_0xde7b36,_0x127497['model']));_0x127497[_0x10ab('0xb')][_0x10ab('0x5')](()=>{for(const _0x18ae9e of _0x540c3b)_0x33f6a1[_0x10ab('0x1e')](_0x18ae9e,{'commandName':_0x10ab('0x11'),'commandParams':[{'value':_0x26542d}]});});});const _0x41d2df=_0x127497['locale'];_0x33f6a1[_0x10ab('0xd')][_0x10ab('0xe')](_0x44180e=>{const {type:_0x5d403c,data:_0x385e12}=_0x44180e;if('formatInline'==_0x5d403c&&_0x385e12&&'highlight'==_0x385e12[_0x10ab('0xa')]){const _0x9e281f=_0x41d2df['t'],_0x13d380=_0x385e12['commandParams'][0x0][_0x10ab('0xf')];if(_0x13d380){const _0xa6fd3e=_0x127497['config'][_0x10ab('0x13')]('highlight.options')['find'](_0x13f3af=>_0x13f3af['model']==_0x13d380),_0x358016=_0x9e281f(_0xa6fd3e[_0x10ab('0x4')])[_0x10ab('0x1b')]();return{'type':_0x10ab('0x6'),'content':_0x3c4891(_0x41d2df,'*Set\x20highlight:*\x20%0',_0x358016),'color':{'value':_0xa6fd3e['color'],'title':_0xa6fd3e[_0x10ab('0x4')]}};}return{'type':_0x10ab('0x6'),'content':_0x3c4891(_0x41d2df,_0x10ab('0x19'),_0x3c4891(_0x41d2df,_0x10ab('0x16')))};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x275a=['ELEMENT_HORIZONTAL_LINE','registerElementLabel','editor','plugins','div','elementToStructure','createEmptyElement','conversion','horizontalLine','createPositionAt','dataDowncast','HorizontalLineEditing','get','for','TrackChangesEditing','high','insert','showSuggestionHighlights','enableCommand','ck-horizontal-line'];(function(_0x649841,_0x275a01){const _0x3823ef=function(_0x475f2b){while(--_0x475f2b){_0x649841['push'](_0x649841['shift']());}};_0x3823ef(++_0x275a01);}(_0x275a,0x7e));const _0x3823=function(_0x649841,_0x275a01){_0x649841=_0x649841-0x0;let _0x3823ef=_0x275a[_0x649841];return _0x3823ef;};import{Plugin as _0x5ae23a}from'ckeditor5/src/core';import{getTranslation as _0xad6cb8}from'../utils/common-translations';export default class Q extends _0x5ae23a{['afterInit'](){const _0xe13cf=this[_0x3823('0x10')];if(!_0xe13cf[_0x3823('0x11')]['has'](_0x3823('0x5')))return;_0xe13cf['plugins'][_0x3823('0x6')](_0x3823('0x8'))[_0x3823('0xc')](_0x3823('0x2'));const _0x3974be=_0xe13cf['plugins'][_0x3823('0x6')](_0x3823('0x8')),_0x32df0e=_0xe13cf['locale'];_0x3974be['_descriptionFactory'][_0x3823('0xf')](_0x3823('0x2'),_0x4954=>_0xad6cb8(_0x32df0e,_0x3823('0xe'),_0x4954)),_0xe13cf[_0x3823('0x1')][_0x3823('0x7')](_0x3823('0x4'))[_0x3823('0x13')]({'model':'horizontalLine','view':(_0x48cc11,{writer:_0x58c6c1,options:_0x111f7d})=>{if(!_0x111f7d[_0x3823('0xb')])return null;const _0x29bb33=_0x58c6c1['createContainerElement'](_0x3823('0x12')),_0x4586a9=_0x58c6c1[_0x3823('0x0')]('hr');return _0x58c6c1['addClass'](_0x3823('0xd'),_0x29bb33),_0x58c6c1[_0x3823('0xa')](_0x58c6c1[_0x3823('0x3')](_0x29bb33,0x0),_0x4586a9),_0x29bb33;},'converterPriority':_0x3823('0x9')});}}
23
+ const _0x5d93=['createPositionAt','insert','showSuggestionHighlights','get','TrackChangesEditing','ELEMENT_HORIZONTAL_LINE','dataDowncast','createContainerElement','ck-horizontal-line','has','createEmptyElement','afterInit','addClass','high','horizontalLine','for','plugins','registerElementLabel','HorizontalLineEditing','div','enableCommand','conversion','_descriptionFactory','elementToStructure'];(function(_0x2b0274,_0x5d936b){const _0x3017f2=function(_0x4e1c8d){while(--_0x4e1c8d){_0x2b0274['push'](_0x2b0274['shift']());}};_0x3017f2(++_0x5d936b);}(_0x5d93,0x118));const _0x3017=function(_0x2b0274,_0x5d936b){_0x2b0274=_0x2b0274-0x0;let _0x3017f2=_0x5d93[_0x2b0274];return _0x3017f2;};import{Plugin as _0x38bcb9}from'ckeditor5/src/core';import{getTranslation as _0x2146b2}from'../utils/common-translations';export default class Q extends _0x38bcb9{[_0x3017('0x13')](){const _0x145be9=this['editor'];if(!_0x145be9[_0x3017('0x0')][_0x3017('0x11')](_0x3017('0x2')))return;_0x145be9[_0x3017('0x0')]['get'](_0x3017('0xc'))[_0x3017('0x4')](_0x3017('0x16'));const _0x56022e=_0x145be9[_0x3017('0x0')][_0x3017('0xb')]('TrackChangesEditing'),_0x476d9e=_0x145be9['locale'];_0x56022e[_0x3017('0x6')][_0x3017('0x1')]('horizontalLine',_0x1a8313=>_0x2146b2(_0x476d9e,_0x3017('0xd'),_0x1a8313)),_0x145be9[_0x3017('0x5')][_0x3017('0x17')](_0x3017('0xe'))[_0x3017('0x7')]({'model':_0x3017('0x16'),'view':(_0x179ebd,{writer:_0x10d308,options:_0x40dd60})=>{if(!_0x40dd60[_0x3017('0xa')])return null;const _0xcfdf2d=_0x10d308[_0x3017('0xf')](_0x3017('0x3')),_0x4ebc89=_0x10d308[_0x3017('0x12')]('hr');return _0x10d308[_0x3017('0x14')](_0x3017('0x10'),_0xcfdf2d),_0x10d308[_0x3017('0x9')](_0x10d308[_0x3017('0x8')](_0xcfdf2d,0x0),_0x4ebc89),_0xcfdf2d;},'converterPriority':_0x3017('0x15')});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2bf3=['htmlEmbed','afterInit','getAttribute','TrackChangesEditing','format','model','rawHtmlApi','has','plugins','HtmlEmbed','document','getSelectedElement','cancel','*Change\x20%0\x20content*','rawHtml','_descriptionFactory','selection','locale','change','get','commandName','ELEMENT_HTML_EMBED'];(function(_0x1cfc54,_0x2bf375){const _0x460a30=function(_0x168792){while(--_0x168792){_0x1cfc54['push'](_0x1cfc54['shift']());}};_0x460a30(++_0x2bf375);}(_0x2bf3,0xdd));const _0x460a=function(_0x1cfc54,_0x2bf375){_0x1cfc54=_0x1cfc54-0x0;let _0x460a30=_0x2bf3[_0x1cfc54];return _0x460a30;};import{Plugin as _0x30012e}from'ckeditor5/src/core';import{getTranslation as _0x4e8c7c}from'../utils/common-translations';export default class V extends _0x30012e{[_0x460a('0x0')](){const _0x2f9727=this['editor'];if(!_0x2f9727[_0x460a('0x7')][_0x460a('0x6')](_0x460a('0x8')))return;const _0x5b6f0b=_0x2f9727[_0x460a('0x7')][_0x460a('0x12')](_0x460a('0x2')),_0x2f5b48=_0x2f9727[_0x460a('0x10')],_0x52d1d5=_0x2f9727['editing']['view']['document']['selection'];_0x5b6f0b[_0x460a('0xe')]['registerElementLabel'](_0x460a('0xd'),_0x154afa=>_0x4e8c7c(_0x2f5b48,'ELEMENT_HTML_EMBED',_0x154afa)),_0x2f9727[_0x460a('0x7')][_0x460a('0x12')](_0x460a('0x2'))['enableCommand']('htmlEmbed',(_0xe31e0d,_0x2d4511)=>{const _0x1ba1b4=_0x2f9727[_0x460a('0x4')],_0x38851a=_0x1ba1b4[_0x460a('0x9')][_0x460a('0xf')];_0x1ba1b4[_0x460a('0x11')](()=>{const _0x30c230=function(_0x90f6c4){const _0x1cf9e1=_0x90f6c4[_0x460a('0xa')]();if(_0x1cf9e1&&_0x1cf9e1['is']('element','rawHtml'))return _0x90f6c4[_0x460a('0xa')]();return null;}(_0x38851a);if(!_0x30c230)return void _0xe31e0d(null);const _0x51a1b2=_0x30c230[_0x460a('0x1')]('value')||'';if(void 0x0===_0x2d4511)return;if(_0x2d4511===_0x51a1b2)return;_0x5b6f0b['markBlockFormat'](_0x30c230,{'commandName':_0x460a('0x15'),'commandParams':[_0x2d4511]}),_0x52d1d5[_0x460a('0xa')]()['getCustomProperty'](_0x460a('0x5'))[_0x460a('0xb')]();});}),_0x5b6f0b['_descriptionFactory']['registerDescriptionCallback'](_0x212b9d=>{const {data:_0x314f84}=_0x212b9d;if(_0x314f84&&_0x460a('0x15')==_0x314f84[_0x460a('0x13')]){const _0x42417a=_0x4e8c7c(_0x2f5b48,_0x460a('0x14'));return{'type':_0x460a('0x3'),'content':_0x4e8c7c(_0x2f5b48,_0x460a('0xc'),_0x42417a)};}});}}
23
+ const _0x9a94=['value','markBlockFormat','selection','get','enableCommand','has','HtmlEmbed','rawHtml','registerDescriptionCallback','rawHtmlApi','*Change\x20%0\x20content*','element','getCustomProperty','getSelectedElement','editing','plugins','_descriptionFactory','model','format','TrackChangesEditing','document'];(function(_0x3f0225,_0x9a94da){const _0x5bcfd2=function(_0x2518ec){while(--_0x2518ec){_0x3f0225['push'](_0x3f0225['shift']());}};_0x5bcfd2(++_0x9a94da);}(_0x9a94,0x16c));const _0x5bcf=function(_0x3f0225,_0x9a94da){_0x3f0225=_0x3f0225-0x0;let _0x5bcfd2=_0x9a94[_0x3f0225];return _0x5bcfd2;};import{Plugin as _0x169e33}from'ckeditor5/src/core';import{getTranslation as _0x392f7f}from'../utils/common-translations';export default class V extends _0x169e33{['afterInit'](){const _0xe5fe92=this['editor'];if(!_0xe5fe92['plugins'][_0x5bcf('0x13')](_0x5bcf('0x14')))return;const _0x381c6a=_0xe5fe92[_0x5bcf('0x8')][_0x5bcf('0x11')](_0x5bcf('0xc')),_0x246a5d=_0xe5fe92['locale'],_0x2dcf08=_0xe5fe92[_0x5bcf('0x7')]['view'][_0x5bcf('0xd')][_0x5bcf('0x10')];_0x381c6a[_0x5bcf('0x9')]['registerElementLabel'](_0x5bcf('0x0'),_0x15ac99=>_0x392f7f(_0x246a5d,'ELEMENT_HTML_EMBED',_0x15ac99)),_0xe5fe92['plugins'][_0x5bcf('0x11')](_0x5bcf('0xc'))[_0x5bcf('0x12')]('htmlEmbed',(_0x215bca,_0x252a89)=>{const _0x32e3b6=_0xe5fe92[_0x5bcf('0xa')],_0x3394b0=_0x32e3b6[_0x5bcf('0xd')][_0x5bcf('0x10')];_0x32e3b6['change'](()=>{const _0x3709ac=function(_0x1ac98f){const _0x5aa08a=_0x1ac98f[_0x5bcf('0x6')]();if(_0x5aa08a&&_0x5aa08a['is'](_0x5bcf('0x4'),_0x5bcf('0x0')))return _0x1ac98f[_0x5bcf('0x6')]();return null;}(_0x3394b0);if(!_0x3709ac)return void _0x215bca(null);const _0x12e54f=_0x3709ac['getAttribute'](_0x5bcf('0xe'))||'';if(void 0x0===_0x252a89)return;if(_0x252a89===_0x12e54f)return;_0x381c6a[_0x5bcf('0xf')](_0x3709ac,{'commandName':'htmlEmbed','commandParams':[_0x252a89]}),_0x2dcf08[_0x5bcf('0x6')]()[_0x5bcf('0x5')](_0x5bcf('0x2'))['cancel']();});}),_0x381c6a[_0x5bcf('0x9')][_0x5bcf('0x1')](_0x2c88ae=>{const {data:_0x556b0a}=_0x2c88ae;if(_0x556b0a&&'htmlEmbed'==_0x556b0a['commandName']){const _0x312a9b=_0x392f7f(_0x246a5d,'ELEMENT_HTML_EMBED');return{'type':_0x5bcf('0xb'),'content':_0x392f7f(_0x246a5d,_0x5bcf('0x3'),_0x312a9b)};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x103c=['FORMAT_SIDE_IMAGE','fromPosition','insertImage','registerDescriptionCallback','createRangeOn','isOwn','getContainedElement','ELEMENT_CAPTION','ELEMENT_INLINE_IMAGE','removeObject','hasAttribute','registerElementLabel','title','getNearestSelectionRange','getSuggestion','newValue','TrackChangesEditing','toNext','uploadImage','width','hasSuggestion','find','start','getClosestSelectedImageElement','_suggestionFactory','next','discardSuggestion','imageCaption','imageStyle','_findSuggestions','caption','getAttribute','subType','length','registerPostFixer','_descriptionFactory','alt','markDeletion','isInlineImage','ImageStyleEditing','imageTypeInline','newRange','registerCustomCallback','getSuggestionCallback','imageTypeBlock','refresh','commands','isInContent','join','ImageInlineEditing','*Set\x20image\x20text\x20alternative:*\x20%0','change','isBefore','get','imageInline','imageStylePreApply','isEqual','suggestion','ImageCaptionEditing','head','formatInline','from','discard','editor','backward','isIntersecting','imageStylePostApply','markInsertion','_splitMarkerName','format','markBlockFormat','markInlineFormat','addObject','plugins','value','detach','ImageTextAlternativeEditing','has','commandParams','end','name','getFirstRange','isCollapsed','previous','convertInlineImageToBlock','accept','afterInit','schema','findIndex','getChangedMarkers','resizeImage','createRange','filter','ImageResize','forceDefaultExecution','imageTextAlternative','document','ImageEditing','normalizedStyles','side','Block\x20image\x20to\x20inline\x20image','type','enableCommand','isBlockImage','forEach','imageBlock','convertBlockImageToInline','getSuggestions','chain','insertion','Inline\x20image\x20to\x20block\x20image','*Remove\x20image\x20text\x20alternative*','formatBlock','getCaptionFromImageModelElement','commandName','differ','selection','*Format:*\x20%0','model','*Set\x20image\x20width:*\x20%0'];(function(_0x9763d,_0x103c56){const _0x22d93f=function(_0x16a909){while(--_0x16a909){_0x9763d['push'](_0x9763d['shift']());}};_0x22d93f(++_0x103c56);}(_0x103c,0x66));const _0x22d9=function(_0x9763d,_0x103c56){_0x9763d=_0x9763d-0x0;let _0x22d93f=_0x103c[_0x9763d];return _0x22d93f;};import{Plugin as _0x5132d0}from'ckeditor5/src/core';import{LivePosition as _0x25c915}from'ckeditor5/src/engine';import{uid as _0x58f84f}from'ckeditor5/src/utils';import{getTranslation as _0xc92acf}from'../utils/common-translations';export default class X extends _0x5132d0{[_0x22d9('0x68')](){const _0x5c24f3=this[_0x22d9('0x51')];if(!_0x5c24f3[_0x22d9('0x5b')][_0x22d9('0x5f')](_0x22d9('0x73')))return;const _0x1542bb=_0x5c24f3[_0x22d9('0x5b')][_0x22d9('0x47')](_0x22d9('0x22')),_0x584ca0=_0x5c24f3[_0x22d9('0x5b')][_0x22d9('0x47')]('ImageUtils'),_0x3dd437={},_0x1e220a=_0x5c24f3['locale'];if(_0x1542bb[_0x22d9('0x0')](_0x22d9('0x14')),_0x1542bb[_0x22d9('0x35')][_0x22d9('0x1d')](_0x22d9('0x3'),_0x29b8a2=>_0xc92acf(_0x1e220a,'ELEMENT_IMAGE',_0x29b8a2)),_0x1542bb['_descriptionFactory'][_0x22d9('0x1d')](_0x22d9('0x48'),_0x265c06=>_0xc92acf(_0x1e220a,_0x22d9('0x1a'),_0x265c06)),_0x1542bb[_0x22d9('0x35')][_0x22d9('0x1d')](_0x22d9('0x30'),()=>_0xc92acf(_0x1e220a,_0x22d9('0x19'))),_0x5c24f3[_0x22d9('0x5b')][_0x22d9('0x5f')]('ImageUploadEditing')&&_0x1542bb['enableCommand'](_0x22d9('0x24')),_0x5c24f3[_0x22d9('0x5b')]['has']('ImageBlockEditing')&&_0x5c24f3[_0x22d9('0x5b')][_0x22d9('0x5f')](_0x22d9('0x43'))&&(_0x1542bb[_0x22d9('0x0')](_0x22d9('0x3a'),(_0x34c92c,_0x4dd7e7)=>{const _0x15da84=_0x584ca0[_0x22d9('0x29')](_0x5c24f3['model']['document']['selection']);_0x5c24f3[_0x22d9('0x10')][_0x22d9('0x45')](()=>{_0x1542bb['markBlockFormat'](_0x15da84,{'commandName':_0x22d9('0x3a'),'commandParams':[_0x4dd7e7]},[],'convertBlockImageToInline');});}),_0x1542bb[_0x22d9('0x0')](_0x22d9('0x3e'),(_0x259dc4,_0xabc052)=>{_0x5c24f3[_0x22d9('0x10')][_0x22d9('0x45')](_0x438edc=>{let _0x148d13=_0x584ca0['getClosestSelectedImageElement'](_0x5c24f3['model'][_0x22d9('0x72')][_0x22d9('0xe')]),_0x5128db=_0x438edc[_0x22d9('0x16')](_0x148d13);const _0x4a170d=_0x25c915['fromPosition'](_0x5128db[_0x22d9('0x28')],'toPrevious'),_0x56dd8e=_0x25c915[_0x22d9('0x13')](_0x5128db[_0x22d9('0x61')],_0x22d9('0x23'));_0x1542bb[_0x22d9('0x70')](()=>_0x259dc4(_0xabc052)),_0x148d13=_0x584ca0[_0x22d9('0x29')](_0x5c24f3[_0x22d9('0x10')][_0x22d9('0x72')][_0x22d9('0xe')]),_0x5128db=_0x438edc[_0x22d9('0x16')](_0x148d13);const _0x33bbec=_0x438edc[_0x22d9('0x6d')](_0x4a170d,_0x56dd8e);_0x4a170d['detach'](),_0x56dd8e[_0x22d9('0x5d')](),_0x1542bb[_0x22d9('0x58')](_0x148d13,{'commandName':_0x22d9('0x3a'),'commandParams':[]},[],'convertInlineImageToBlock'),_0x33bbec[_0x22d9('0x28')][_0x22d9('0x46')](_0x5128db[_0x22d9('0x28')])&&_0x1542bb[_0x22d9('0x55')](_0x438edc[_0x22d9('0x6d')](_0x33bbec[_0x22d9('0x28')],_0x5128db['start']),_0x22d9('0x66')),_0x5128db[_0x22d9('0x61')]['isBefore'](_0x33bbec[_0x22d9('0x61')])&&_0x1542bb[_0x22d9('0x55')](_0x438edc[_0x22d9('0x6d')](_0x5128db[_0x22d9('0x61')],_0x33bbec[_0x22d9('0x61')]),_0x22d9('0x66'));});}),_0x1542bb[_0x22d9('0x2a')][_0x22d9('0x3c')]('formatBlock',_0x22d9('0x66'),_0x22d9('0x42'),()=>{}),_0x1542bb[_0x22d9('0x2a')][_0x22d9('0x3c')]('formatBlock',_0x22d9('0x66'),_0x22d9('0x67'),()=>{}),_0x1542bb[_0x22d9('0x2a')][_0x22d9('0x3c')](_0x22d9('0xa'),_0x22d9('0x66'),_0x22d9('0x50'),_0x1542bb[_0x22d9('0x2a')][_0x22d9('0x3d')](_0x22d9('0xa'),'','accept')),_0x1542bb[_0x22d9('0x2a')][_0x22d9('0x3c')](_0x22d9('0x7'),'convertInlineImageToBlock',_0x22d9('0x42'),()=>{}),_0x1542bb['_suggestionFactory'][_0x22d9('0x3c')]('insertion',_0x22d9('0x66'),_0x22d9('0x50'),([_0x21dc08])=>{const _0xa73df6=_0x1542bb['_suggestionFactory'][_0x22d9('0x3d')](_0x22d9('0x7'),'',_0x22d9('0x50'));let _0x62e4f=_0x21dc08['start'],_0x2305cc=_0x21dc08['end'];const _0x1f43f=_0x5c24f3[_0x22d9('0x10')][_0x22d9('0x69')][_0x22d9('0x1f')](_0x62e4f,_0x22d9('0x52')),_0x8ad82f=_0x5c24f3[_0x22d9('0x10')][_0x22d9('0x69')][_0x22d9('0x1f')](_0x2305cc,'forward');_0x1f43f[_0x22d9('0x64')]&&(_0x62e4f=_0x1f43f['start']),_0x8ad82f['isCollapsed']&&(_0x2305cc=_0x8ad82f[_0x22d9('0x61')]),_0xa73df6([_0x5c24f3[_0x22d9('0x10')][_0x22d9('0x6d')](_0x62e4f,_0x2305cc)]);}),_0x1542bb['_suggestionFactory'][_0x22d9('0x3c')]('formatBlock',_0x22d9('0x66'),_0x22d9('0x6'),_0x2ca8f0),_0x1542bb['_suggestionFactory'][_0x22d9('0x3c')](_0x22d9('0x7'),_0x22d9('0x66'),'chain',_0x2ca8f0)),_0x5c24f3[_0x22d9('0x5b')][_0x22d9('0x5f')](_0x22d9('0x4c'))&&(_0x1542bb[_0x22d9('0x0')]('toggleImageCaption',(_0x284749,_0x3ab051)=>{const _0xb11f20=_0x5c24f3['plugins']['get']('ImageCaptionUtils');let _0x5997fb=_0x584ca0[_0x22d9('0x29')](_0x5c24f3[_0x22d9('0x10')][_0x22d9('0x72')][_0x22d9('0xe')]),_0x116f15=_0xb11f20['getCaptionFromImageModelElement'](_0x5997fb);_0x5c24f3['model'][_0x22d9('0x45')](()=>{if(_0x116f15)return void _0x1542bb[_0x22d9('0x37')](_0x5c24f3['model']['createRangeOn'](_0x116f15));const _0x110f3b=_0x584ca0[_0x22d9('0x1')](_0x5997fb);_0x284749(_0x3ab051),_0x5997fb=_0x584ca0[_0x22d9('0x29')](_0x5c24f3[_0x22d9('0x10')][_0x22d9('0x72')][_0x22d9('0xe')]),_0x116f15=_0xb11f20[_0x22d9('0xb')](_0x5997fb),_0x1542bb[_0x22d9('0x55')](_0x5c24f3['model'][_0x22d9('0x16')](_0x116f15),_0x110f3b?null:_0x22d9('0x2d'));});}),_0x1542bb['_suggestionFactory']['registerCustomCallback'](_0x22d9('0x7'),_0x22d9('0x2d'),_0x22d9('0x6'),_0x2ca8f0)),_0x5c24f3[_0x22d9('0x5b')]['has']('ImageStyleEditing')){_0x1542bb[_0x22d9('0x0')](_0x22d9('0x2e'),(_0x4bc0a6,_0xbf939)=>{const _0x601c1c=_0x5c24f3[_0x22d9('0x5b')][_0x22d9('0x47')]('Users')['me'],_0x144176=_0x5c24f3['commands'][_0x22d9('0x47')](_0x22d9('0x2e'));let _0x26c760=_0x584ca0[_0x22d9('0x29')](_0x5c24f3[_0x22d9('0x10')][_0x22d9('0x72')]['selection']),_0xe30d39=_0x5c24f3['model'][_0x22d9('0x16')](_0x26c760),_0x5523dc=_0x144176[_0x22d9('0x5c')];if(_0x5523dc==_0xbf939['value'])return;const _0x324523={'commandName':'imageStyle','commandParams':[_0xbf939],'formatGroupId':_0x58f84f()};_0x5c24f3[_0x22d9('0x10')][_0x22d9('0x45')](()=>{if(_0x1542bb[_0x22d9('0x5')]()['filter'](_0x523432=>_0x523432[_0x22d9('0x41')]&&_0x601c1c==_0x523432['author']&&(_0x22d9('0xa')==_0x523432[_0x22d9('0x77')]||_0x22d9('0x4e')==_0x523432['type'])&&('imageStylePreApply'==_0x523432[_0x22d9('0x32')]||'imageStylePostApply'==_0x523432['subType'])&&_0x523432[_0x22d9('0x63')]()[_0x22d9('0x4a')](_0xe30d39))[_0x22d9('0x2')](_0xfbb41b=>_0x1542bb[_0x22d9('0x2c')](_0xfbb41b[_0x22d9('0x4d')])),_0x26c760=_0x584ca0[_0x22d9('0x29')](_0x5c24f3[_0x22d9('0x10')]['document'][_0x22d9('0xe')]),_0xe30d39=_0x5c24f3[_0x22d9('0x10')][_0x22d9('0x16')](_0x26c760),_0x144176[_0x22d9('0x3f')](),_0x5c24f3[_0x22d9('0x40')][_0x22d9('0x47')](_0x22d9('0x3a'))[_0x22d9('0x3f')](),_0x5c24f3['commands'][_0x22d9('0x47')](_0x22d9('0x3e'))[_0x22d9('0x3f')](),_0x5523dc=_0x144176['value'],_0x5523dc!=_0xbf939['value'])return _0x584ca0[_0x22d9('0x38')](_0x26c760)&&_0x144176['shouldConvertImageType'](_0xbf939['value'],_0x26c760)?(_0x4bc0a6(_0xbf939),_0x26c760=_0x584ca0['getClosestSelectedImageElement'](_0x5c24f3[_0x22d9('0x10')][_0x22d9('0x72')]['selection']),void _0x1542bb['markBlockFormat'](_0x26c760,{..._0x324523,'commandReversedParams':[{'value':_0x5523dc||null}]},[],_0x22d9('0x49'))):void(_0x584ca0[_0x22d9('0x1')](_0x26c760)?_0x1542bb[_0x22d9('0x58')](_0x26c760,_0x324523,[],_0x22d9('0x54')):_0x1542bb[_0x22d9('0x59')](_0xe30d39,_0x324523,_0x22d9('0x54')));});});for(const _0x3d2479 of _0x5c24f3[_0x22d9('0x5b')][_0x22d9('0x47')](_0x22d9('0x39'))[_0x22d9('0x74')])_0x3dd437[_0x3d2479[_0x22d9('0x62')]]=_0x3d2479[_0x22d9('0x1e')]['toLowerCase']();_0x1542bb[_0x22d9('0x2a')]['registerCustomCallback'](_0x22d9('0xa'),_0x22d9('0x49'),_0x22d9('0x42'),()=>{}),_0x1542bb[_0x22d9('0x2a')]['registerCustomCallback']('formatBlock',_0x22d9('0x54'),_0x22d9('0x42'),()=>{}),_0x1542bb['_suggestionFactory'][_0x22d9('0x3c')](_0x22d9('0x4e'),_0x22d9('0x54'),_0x22d9('0x42'),()=>{}),_0x1542bb[_0x22d9('0x2a')]['registerCustomCallback']('formatBlock',_0x22d9('0x49'),_0x22d9('0x67'),()=>{}),_0x1542bb['_suggestionFactory']['registerCustomCallback'](_0x22d9('0xa'),_0x22d9('0x49'),'discard',(_0x29bf49,_0x5ae418)=>{_0x1542bb['_suggestionFactory'][_0x22d9('0x3d')](_0x22d9('0xa'),'',_0x22d9('0x67'))(_0x29bf49,{'commandName':_0x5ae418[_0x22d9('0xc')],'commandParams':_0x5ae418['commandReversedParams']});}),_0x1542bb[_0x22d9('0x2a')][_0x22d9('0x3c')](_0x22d9('0xa'),_0x22d9('0x49'),_0x22d9('0x6'),_0x2ca8f0);}const _0x1906db=[{'type':_0x22d9('0xa'),'subType':_0x22d9('0x49')},{'type':_0x22d9('0x7'),'subType':_0x22d9('0x2d')},{'type':'formatBlock','subType':_0x22d9('0x66')},{'type':'insertion','subType':_0x22d9('0x66')}];function _0x18b659(_0xc6f433,_0x55e36d){const _0x3a0d70=_0x1906db[_0x22d9('0x6a')](({type:_0x44e95a,subType:_0x5154a7})=>_0xc6f433[_0x22d9('0x77')]==_0x44e95a&&_0xc6f433[_0x22d9('0x32')]==_0x5154a7),_0x28857b=_0x1906db[_0x22d9('0x6a')](({type:_0x5d8dbd,subType:_0x3f5267})=>_0x55e36d['type']==_0x5d8dbd&&_0x55e36d[_0x22d9('0x32')]==_0x3f5267);if(_0x3a0d70<0x0||_0x28857b<0x0)return!0x1;const _0x2033d5=_0xc6f433[_0x22d9('0x63')](),_0x13da48=_0x55e36d['getFirstRange']();if((0x0==_0x3a0d70||0x1==_0x3a0d70)&&0x2==_0x28857b&&_0x2033d5[_0x22d9('0x53')](_0x13da48))return!0x0;if(0x2==_0x3a0d70&&0x3==_0x28857b){const _0x401fdd=_0x1542bb[_0x22d9('0x2f')](_0x2033d5,_0x22d9('0x7'))[_0x22d9('0x6e')](({suggestion:_0x2810c3,meta:_0x34bf13})=>_0x34bf13[_0x22d9('0x17')]&&_0x22d9('0x66')==_0x2810c3[_0x22d9('0x32')]);if(_0x401fdd[_0x22d9('0x33')]>0x1&&_0x13da48[_0x22d9('0x61')][_0x22d9('0x4a')](_0x2033d5['start']))return!0x0;if(0x1==_0x401fdd['length']&&(_0x2033d5['start'][_0x22d9('0x4a')](_0x13da48[_0x22d9('0x61')])||_0x2033d5[_0x22d9('0x61')][_0x22d9('0x4a')](_0x13da48[_0x22d9('0x28')])))return!0x0;}if(0x3==_0x3a0d70&&0x3==_0x28857b&&_0x2033d5[_0x22d9('0x28')][_0x22d9('0x46')](_0x13da48[_0x22d9('0x28')])){const _0x5b571d=_0x2033d5[_0x22d9('0x61')]['nodeAfter'],_0x1e49b9=_0x13da48['start']['nodeBefore'];return _0x584ca0[_0x22d9('0x1')](_0x5b571d)&&_0x5b571d===_0x1e49b9;}return!0x1;}function _0x2ca8f0(_0x5b44e3,_0x5a2aec){return _0x18b659(_0x5b44e3,_0x5a2aec)?[_0x5b44e3,_0x5a2aec]:_0x18b659(_0x5a2aec,_0x5b44e3)?[_0x5a2aec,_0x5b44e3]:null;}_0x5c24f3[_0x22d9('0x10')][_0x22d9('0x72')][_0x22d9('0x34')](()=>{let _0x1be460=!0x1;const _0x1a649d=Array[_0x22d9('0x4f')](_0x5c24f3[_0x22d9('0x10')][_0x22d9('0x72')][_0x22d9('0xd')][_0x22d9('0x6b')]());for(const {name:_0x5c89c3,data:_0xa8fc70}of _0x1a649d){const {group:_0x1ed9ed,type:_0x45974e,subType:_0x2ee9d3,id:_0x4c75a2}=_0x1542bb[_0x22d9('0x56')](_0x5c89c3);if(_0x22d9('0x4b')==_0x1ed9ed&&_0x1542bb[_0x22d9('0x26')](_0x4c75a2)){if(_0x22d9('0xa')==_0x45974e&&(_0x22d9('0x49')==_0x2ee9d3||'imageStylePostApply'==_0x2ee9d3)){const _0x4418f0=_0x1542bb[_0x22d9('0x20')](_0x4c75a2);if(_0xa8fc70[_0x22d9('0x3b')]){const _0x5f3385=_0x4418f0['getFirstRange']()[_0x22d9('0x18')]();if(_0x584ca0[_0x22d9('0x1')](_0x5f3385))continue;_0x1542bb[_0x22d9('0x2c')](_0x4418f0),_0x1be460=!0x0;}}if(_0x22d9('0x7')==_0x45974e&&_0x22d9('0x2d')==_0x2ee9d3&&!_0xa8fc70[_0x22d9('0x3b')]){const _0x44a3c0=_0x1542bb[_0x22d9('0x20')](_0x4c75a2);_0x44a3c0[_0x22d9('0x2b')]&&_0x44a3c0[_0x22d9('0x2b')][_0x22d9('0x41')]&&(_0x1542bb['discardSuggestion'](_0x44a3c0[_0x22d9('0x2b')]),_0x1be460=!0x0);}}}return _0x1be460;}),_0x5c24f3[_0x22d9('0x5b')]['has'](_0x22d9('0x6f'))&&_0x1542bb[_0x22d9('0x0')]('resizeImage',(_0x527598,_0x556021)=>{const _0x1eb7d2=_0x584ca0[_0x22d9('0x29')](_0x5c24f3[_0x22d9('0x10')][_0x22d9('0x72')][_0x22d9('0xe')]);_0x1eb7d2['getAttribute'](_0x22d9('0x25'))!=_0x556021[_0x22d9('0x25')]&&_0x5c24f3[_0x22d9('0x10')][_0x22d9('0x45')](()=>{_0x1542bb[_0x22d9('0x58')](_0x1eb7d2,{'commandName':_0x22d9('0x6c'),'commandParams':[_0x556021]});});}),_0x5c24f3[_0x22d9('0x5b')]['has'](_0x22d9('0x5e'))&&_0x1542bb[_0x22d9('0x0')](_0x22d9('0x71'),(_0x225c6d,_0x21eb52)=>{const _0x56abac=_0x584ca0['getClosestSelectedImageElement'](_0x5c24f3['model'][_0x22d9('0x72')]['selection']);(_0x56abac[_0x22d9('0x1c')](_0x22d9('0x36'))?_0x56abac[_0x22d9('0x31')](_0x22d9('0x36')):'')!=_0x21eb52[_0x22d9('0x21')]&&_0x5c24f3[_0x22d9('0x10')][_0x22d9('0x45')](()=>{_0x1542bb[_0x22d9('0x58')](_0x56abac,{'commandName':_0x22d9('0x71'),'commandParams':[_0x21eb52]});});}),_0x1542bb['_descriptionFactory'][_0x22d9('0x15')](_0x1a804b=>{if(!!_0x1906db[_0x22d9('0x27')](({type:_0x4f4558,subType:_0x4c3992})=>_0x1a804b[_0x22d9('0x77')]==_0x4f4558&&_0x1a804b['subType']==_0x4c3992))return _0x1a804b[_0x22d9('0x65')]?{}:void 0x0;}),_0x1542bb[_0x22d9('0x35')]['registerDescriptionCallback'](_0x1bf3d8=>{if(_0x22d9('0x7')==_0x1bf3d8['type']||'deletion'==_0x1bf3d8['type']){const _0x23dab1=_0x1bf3d8[_0x22d9('0x18')]();if(_0x23dab1&&_0x23dab1['is']('element',_0x22d9('0x30')))return{'type':'insertion'==_0x1bf3d8[_0x22d9('0x77')]?_0x22d9('0x5a'):_0x22d9('0x1b'),'element':_0x23dab1,'quantity':0x1};}}),_0x1542bb['_descriptionFactory']['registerDescriptionCallback'](_0x202336=>_0x22d9('0xa')==_0x202336[_0x22d9('0x77')]&&_0x22d9('0x66')==_0x202336[_0x22d9('0x32')]?{'type':_0x22d9('0x57'),'content':_0x22d9('0x8')}:_0x22d9('0xa')==_0x202336[_0x22d9('0x77')]&&_0x22d9('0x4')==_0x202336['subType']?{'type':_0x22d9('0x57'),'content':_0x22d9('0x76')}:void 0x0),_0x1542bb['_descriptionFactory'][_0x22d9('0x15')](_0x5150ef=>{const {data:_0x3d4477}=_0x5150ef;if(_0x3d4477){if(_0x22d9('0x2e')==_0x3d4477['commandName']){const _0x478343=_0x3d4477[_0x22d9('0x60')][0x0]['value'];return _0x4e6df1(_0x22d9('0x75')===_0x478343?_0xc92acf(_0x1e220a,_0x22d9('0x12')):_0x3dd437[_0x478343]||_0x478343);}if(_0x22d9('0x71')==_0x3d4477[_0x22d9('0xc')]){const _0x26ec9d=_0x3d4477[_0x22d9('0x60')][0x0][_0x22d9('0x21')];return _0x26ec9d?{'type':_0x22d9('0x57'),'content':_0xc92acf(_0x1e220a,_0x22d9('0x44'),'\x22'+_0x26ec9d+'\x22')}:{'type':_0x22d9('0x57'),'content':_0xc92acf(_0x1e220a,_0x22d9('0x9'))};}if(_0x22d9('0x6c')==_0x3d4477[_0x22d9('0xc')]){const _0x2aa2f7=_0x3d4477[_0x22d9('0x60')][0x0]['width'];return _0x2aa2f7?{'type':_0x22d9('0x57'),'content':_0xc92acf(_0x1e220a,_0x22d9('0x11'),_0x2aa2f7)}:{'type':'format','content':_0xc92acf(_0x1e220a,'*Reset\x20image\x20width*')};}}function _0x4e6df1(_0x441627){return{'type':_0x22d9('0x57'),'content':_0xc92acf(_0x1e220a,_0x22d9('0xf'),_0x441627)};}});}}
23
+ const _0x4750=['commandReversedParams','ELEMENT_IMAGE','getChangedMarkers','newValue','discardSuggestion','registerPostFixer','isIntersecting','isInlineImage','plugins','markInsertion','ImageCaptionUtils','*Reset\x20image\x20width*','registerElementLabel','commandName','markBlockFormat','markDeletion','imageBlock','from','ImageStyleEditing','Users','commandParams','imageStylePreApply','locale','Inline\x20image\x20to\x20block\x20image','_suggestionFactory','commands','_findSuggestions','*Remove\x20image\x20text\x20alternative*','getAttribute','selection','detach','markInlineFormat','discard','length','differ','change','refresh','getSuggestions','filter','forward','ImageBlockEditing','ImageUploadEditing','registerDescriptionCallback','uploadImage','ELEMENT_CAPTION','toPrevious','formatBlock','imageCaption','nodeAfter','getFirstRange','fromPosition','hasAttribute','width','end','imageTypeBlock','imageTextAlternative','isBefore','formatInline','imageTypeInline','title','ImageEditing','getClosestSelectedImageElement','imageStyle','convertBlockImageToInline','isOwn','type','caption','side','value','*Set\x20image\x20text\x20alternative:*\x20%0','head','getCaptionFromImageModelElement','schema','isEqual','createRange','ImageUtils','registerCustomCallback','hasSuggestion','document','convertInlineImageToBlock','_descriptionFactory','subType','chain','join','previous','author','backward','toggleImageCaption','has','getSuggestionCallback','*Format:*\x20%0','ImageTextAlternativeEditing','enableCommand','getSuggestion','TrackChangesEditing','toNext','isBlockImage','nodeBefore','getContainedElement','isInContent','_splitMarkerName','accept','model','start','insertion','isCollapsed','format','deletion','findIndex','next','find','get','newRange','getNearestSelectionRange','imageStylePostApply','alt','resizeImage','forceDefaultExecution','name','createRangeOn'];(function(_0x104633,_0x4750b0){const _0x162095=function(_0x5458ec){while(--_0x5458ec){_0x104633['push'](_0x104633['shift']());}};_0x162095(++_0x4750b0);}(_0x4750,0xa8));const _0x1620=function(_0x104633,_0x4750b0){_0x104633=_0x104633-0x0;let _0x162095=_0x4750[_0x104633];return _0x162095;};import{Plugin as _0x11c70b}from'ckeditor5/src/core';import{LivePosition as _0x3bc592}from'ckeditor5/src/engine';import{uid as _0x2f62bf}from'ckeditor5/src/utils';import{getTranslation as _0x2232cb}from'../utils/common-translations';export default class X extends _0x11c70b{['afterInit'](){const _0x543f79=this['editor'];if(!_0x543f79[_0x1620('0x50')][_0x1620('0x28')](_0x1620('0xc')))return;const _0x1bc4bb=_0x543f79[_0x1620('0x50')]['get'](_0x1620('0x2e')),_0x26c36d=_0x543f79[_0x1620('0x50')][_0x1620('0x3f')](_0x1620('0x1b')),_0x1b5664={},_0x1cd061=_0x543f79[_0x1620('0x5e')];if(_0x1bc4bb[_0x1620('0x2c')]('insertImage'),_0x1bc4bb['_descriptionFactory'][_0x1620('0x54')](_0x1620('0x58'),_0x13911c=>_0x2232cb(_0x1cd061,_0x1620('0x49'),_0x13911c)),_0x1bc4bb['_descriptionFactory'][_0x1620('0x54')]('imageInline',_0x169af0=>_0x2232cb(_0x1cd061,'ELEMENT_INLINE_IMAGE',_0x169af0)),_0x1bc4bb[_0x1620('0x20')][_0x1620('0x54')](_0x1620('0x12'),()=>_0x2232cb(_0x1cd061,_0x1620('0x74'))),_0x543f79[_0x1620('0x50')][_0x1620('0x28')](_0x1620('0x71'))&&_0x1bc4bb[_0x1620('0x2c')](_0x1620('0x73')),_0x543f79[_0x1620('0x50')]['has'](_0x1620('0x70'))&&_0x543f79[_0x1620('0x50')][_0x1620('0x28')]('ImageInlineEditing')&&(_0x1bc4bb[_0x1620('0x2c')](_0x1620('0xa'),(_0x30e4d2,_0x2634a6)=>{const _0x57c74d=_0x26c36d[_0x1620('0xd')](_0x543f79[_0x1620('0x36')][_0x1620('0x1e')][_0x1620('0x65')]);_0x543f79[_0x1620('0x36')][_0x1620('0x6b')](()=>{_0x1bc4bb[_0x1620('0x56')](_0x57c74d,{'commandName':'imageTypeInline','commandParams':[_0x2634a6]},[],_0x1620('0xf'));});}),_0x1bc4bb[_0x1620('0x2c')]('imageTypeBlock',(_0x16688d,_0x3dac3e)=>{_0x543f79[_0x1620('0x36')]['change'](_0x2edc96=>{let _0x345c86=_0x26c36d[_0x1620('0xd')](_0x543f79[_0x1620('0x36')][_0x1620('0x1e')]['selection']),_0x4e8782=_0x2edc96[_0x1620('0x47')](_0x345c86);const _0x5273e9=_0x3bc592[_0x1620('0x2')](_0x4e8782[_0x1620('0x37')],_0x1620('0x75')),_0x48845b=_0x3bc592[_0x1620('0x2')](_0x4e8782[_0x1620('0x5')],_0x1620('0x2f'));_0x1bc4bb[_0x1620('0x45')](()=>_0x16688d(_0x3dac3e)),_0x345c86=_0x26c36d[_0x1620('0xd')](_0x543f79[_0x1620('0x36')]['document'][_0x1620('0x65')]),_0x4e8782=_0x2edc96[_0x1620('0x47')](_0x345c86);const _0x16512e=_0x2edc96[_0x1620('0x1a')](_0x5273e9,_0x48845b);_0x5273e9[_0x1620('0x66')](),_0x48845b[_0x1620('0x66')](),_0x1bc4bb[_0x1620('0x56')](_0x345c86,{'commandName':'imageTypeInline','commandParams':[]},[],'convertInlineImageToBlock'),_0x16512e[_0x1620('0x37')][_0x1620('0x8')](_0x4e8782['start'])&&_0x1bc4bb[_0x1620('0x51')](_0x2edc96[_0x1620('0x1a')](_0x16512e[_0x1620('0x37')],_0x4e8782[_0x1620('0x37')]),_0x1620('0x1f')),_0x4e8782[_0x1620('0x5')][_0x1620('0x8')](_0x16512e[_0x1620('0x5')])&&_0x1bc4bb[_0x1620('0x51')](_0x2edc96['createRange'](_0x4e8782[_0x1620('0x5')],_0x16512e['end']),_0x1620('0x1f'));});}),_0x1bc4bb['_suggestionFactory'][_0x1620('0x1c')](_0x1620('0x76'),_0x1620('0x1f'),_0x1620('0x23'),()=>{}),_0x1bc4bb[_0x1620('0x60')][_0x1620('0x1c')](_0x1620('0x76'),_0x1620('0x1f'),'accept',()=>{}),_0x1bc4bb[_0x1620('0x60')][_0x1620('0x1c')](_0x1620('0x76'),_0x1620('0x1f'),'discard',_0x1bc4bb[_0x1620('0x60')][_0x1620('0x29')]('formatBlock','',_0x1620('0x35'))),_0x1bc4bb[_0x1620('0x60')]['registerCustomCallback'](_0x1620('0x38'),'convertInlineImageToBlock',_0x1620('0x23'),()=>{}),_0x1bc4bb[_0x1620('0x60')]['registerCustomCallback'](_0x1620('0x38'),_0x1620('0x1f'),_0x1620('0x68'),([_0x5df5ae])=>{const _0x1e06b3=_0x1bc4bb[_0x1620('0x60')]['getSuggestionCallback'](_0x1620('0x38'),'',_0x1620('0x68'));let _0x40da92=_0x5df5ae['start'],_0x2e1219=_0x5df5ae[_0x1620('0x5')];const _0x1f5144=_0x543f79['model']['schema']['getNearestSelectionRange'](_0x40da92,_0x1620('0x26')),_0xcf5fce=_0x543f79[_0x1620('0x36')][_0x1620('0x18')][_0x1620('0x41')](_0x2e1219,_0x1620('0x6f'));_0x1f5144[_0x1620('0x39')]&&(_0x40da92=_0x1f5144['start']),_0xcf5fce['isCollapsed']&&(_0x2e1219=_0xcf5fce[_0x1620('0x5')]),_0x1e06b3([_0x543f79[_0x1620('0x36')][_0x1620('0x1a')](_0x40da92,_0x2e1219)]);}),_0x1bc4bb[_0x1620('0x60')]['registerCustomCallback']('formatBlock',_0x1620('0x1f'),'chain',_0x49c62e),_0x1bc4bb[_0x1620('0x60')][_0x1620('0x1c')](_0x1620('0x38'),_0x1620('0x1f'),'chain',_0x49c62e)),_0x543f79[_0x1620('0x50')]['has']('ImageCaptionEditing')&&(_0x1bc4bb['enableCommand'](_0x1620('0x27'),(_0x551717,_0x497f46)=>{const _0x1eb05d=_0x543f79[_0x1620('0x50')][_0x1620('0x3f')](_0x1620('0x52'));let _0x3f8148=_0x26c36d['getClosestSelectedImageElement'](_0x543f79[_0x1620('0x36')][_0x1620('0x1e')][_0x1620('0x65')]),_0x1b4aea=_0x1eb05d[_0x1620('0x17')](_0x3f8148);_0x543f79['model'][_0x1620('0x6b')](()=>{if(_0x1b4aea)return void _0x1bc4bb[_0x1620('0x57')](_0x543f79[_0x1620('0x36')]['createRangeOn'](_0x1b4aea));const _0x36c0c5=_0x26c36d[_0x1620('0x30')](_0x3f8148);_0x551717(_0x497f46),_0x3f8148=_0x26c36d[_0x1620('0xd')](_0x543f79[_0x1620('0x36')][_0x1620('0x1e')][_0x1620('0x65')]),_0x1b4aea=_0x1eb05d['getCaptionFromImageModelElement'](_0x3f8148),_0x1bc4bb[_0x1620('0x51')](_0x543f79['model'][_0x1620('0x47')](_0x1b4aea),_0x36c0c5?null:_0x1620('0x77'));});}),_0x1bc4bb['_suggestionFactory']['registerCustomCallback'](_0x1620('0x38'),_0x1620('0x77'),_0x1620('0x22'),_0x49c62e)),_0x543f79['plugins'][_0x1620('0x28')](_0x1620('0x5a'))){_0x1bc4bb[_0x1620('0x2c')](_0x1620('0xe'),(_0x39e9ce,_0x191bf4)=>{const _0x4cee0b=_0x543f79[_0x1620('0x50')][_0x1620('0x3f')](_0x1620('0x5b'))['me'],_0x21d26b=_0x543f79[_0x1620('0x61')]['get'](_0x1620('0xe'));let _0x5b64d5=_0x26c36d[_0x1620('0xd')](_0x543f79[_0x1620('0x36')][_0x1620('0x1e')][_0x1620('0x65')]),_0x275e16=_0x543f79[_0x1620('0x36')][_0x1620('0x47')](_0x5b64d5),_0xbd0c0b=_0x21d26b['value'];if(_0xbd0c0b==_0x191bf4[_0x1620('0x14')])return;const _0x175ffd={'commandName':_0x1620('0xe'),'commandParams':[_0x191bf4],'formatGroupId':_0x2f62bf()};_0x543f79[_0x1620('0x36')][_0x1620('0x6b')](()=>{if(_0x1bc4bb[_0x1620('0x6d')]()[_0x1620('0x6e')](_0x29b498=>_0x29b498[_0x1620('0x33')]&&_0x4cee0b==_0x29b498[_0x1620('0x25')]&&(_0x1620('0x76')==_0x29b498[_0x1620('0x11')]||_0x1620('0x9')==_0x29b498[_0x1620('0x11')])&&('imageStylePreApply'==_0x29b498['subType']||_0x1620('0x42')==_0x29b498[_0x1620('0x21')])&&_0x29b498[_0x1620('0x1')]()['isEqual'](_0x275e16))['forEach'](_0x116a63=>_0x1bc4bb['discardSuggestion'](_0x116a63[_0x1620('0x16')])),_0x5b64d5=_0x26c36d[_0x1620('0xd')](_0x543f79['model'][_0x1620('0x1e')][_0x1620('0x65')]),_0x275e16=_0x543f79[_0x1620('0x36')][_0x1620('0x47')](_0x5b64d5),_0x21d26b[_0x1620('0x6c')](),_0x543f79[_0x1620('0x61')][_0x1620('0x3f')]('imageTypeInline')[_0x1620('0x6c')](),_0x543f79[_0x1620('0x61')][_0x1620('0x3f')](_0x1620('0x6'))['refresh'](),_0xbd0c0b=_0x21d26b[_0x1620('0x14')],_0xbd0c0b!=_0x191bf4[_0x1620('0x14')])return _0x26c36d[_0x1620('0x4f')](_0x5b64d5)&&_0x21d26b['shouldConvertImageType'](_0x191bf4[_0x1620('0x14')],_0x5b64d5)?(_0x39e9ce(_0x191bf4),_0x5b64d5=_0x26c36d['getClosestSelectedImageElement'](_0x543f79[_0x1620('0x36')][_0x1620('0x1e')][_0x1620('0x65')]),void _0x1bc4bb[_0x1620('0x56')](_0x5b64d5,{..._0x175ffd,'commandReversedParams':[{'value':_0xbd0c0b||null}]},[],_0x1620('0x5d'))):void(_0x26c36d[_0x1620('0x30')](_0x5b64d5)?_0x1bc4bb[_0x1620('0x56')](_0x5b64d5,_0x175ffd,[],'imageStylePostApply'):_0x1bc4bb[_0x1620('0x67')](_0x275e16,_0x175ffd,_0x1620('0x42')));});});for(const _0x1b4411 of _0x543f79['plugins'][_0x1620('0x3f')](_0x1620('0x5a'))['normalizedStyles'])_0x1b5664[_0x1b4411[_0x1620('0x46')]]=_0x1b4411[_0x1620('0xb')]['toLowerCase']();_0x1bc4bb[_0x1620('0x60')]['registerCustomCallback'](_0x1620('0x76'),_0x1620('0x5d'),_0x1620('0x23'),()=>{}),_0x1bc4bb[_0x1620('0x60')][_0x1620('0x1c')]('formatBlock',_0x1620('0x42'),_0x1620('0x23'),()=>{}),_0x1bc4bb[_0x1620('0x60')][_0x1620('0x1c')](_0x1620('0x9'),_0x1620('0x42'),_0x1620('0x23'),()=>{}),_0x1bc4bb['_suggestionFactory'][_0x1620('0x1c')](_0x1620('0x76'),_0x1620('0x5d'),'accept',()=>{}),_0x1bc4bb[_0x1620('0x60')]['registerCustomCallback']('formatBlock',_0x1620('0x5d'),'discard',(_0x3a32ac,_0x3124e2)=>{_0x1bc4bb[_0x1620('0x60')][_0x1620('0x29')]('formatBlock','','accept')(_0x3a32ac,{'commandName':_0x3124e2['commandName'],'commandParams':_0x3124e2[_0x1620('0x48')]});}),_0x1bc4bb['_suggestionFactory'][_0x1620('0x1c')]('formatBlock',_0x1620('0x5d'),_0x1620('0x22'),_0x49c62e);}const _0x4a0c4b=[{'type':_0x1620('0x76'),'subType':'imageStylePreApply'},{'type':_0x1620('0x38'),'subType':_0x1620('0x77')},{'type':_0x1620('0x76'),'subType':'convertInlineImageToBlock'},{'type':_0x1620('0x38'),'subType':'convertInlineImageToBlock'}];function _0x5f06a8(_0x455821,_0x3a141d){const _0x46df5d=_0x4a0c4b['findIndex'](({type:_0x253a76,subType:_0x105a69})=>_0x455821['type']==_0x253a76&&_0x455821['subType']==_0x105a69),_0x407cb8=_0x4a0c4b[_0x1620('0x3c')](({type:_0x3d7933,subType:_0x5bbfb2})=>_0x3a141d[_0x1620('0x11')]==_0x3d7933&&_0x3a141d[_0x1620('0x21')]==_0x5bbfb2);if(_0x46df5d<0x0||_0x407cb8<0x0)return!0x1;const _0x4aa4d3=_0x455821[_0x1620('0x1')](),_0x5052c5=_0x3a141d[_0x1620('0x1')]();if((0x0==_0x46df5d||0x1==_0x46df5d)&&0x2==_0x407cb8&&_0x4aa4d3[_0x1620('0x4e')](_0x5052c5))return!0x0;if(0x2==_0x46df5d&&0x3==_0x407cb8){const _0x473c93=_0x1bc4bb[_0x1620('0x62')](_0x4aa4d3,'insertion')[_0x1620('0x6e')](({suggestion:_0x58fbf5,meta:_0x2b3d29})=>_0x2b3d29[_0x1620('0x10')]&&'convertInlineImageToBlock'==_0x58fbf5[_0x1620('0x21')]);if(_0x473c93[_0x1620('0x69')]>0x1&&_0x5052c5[_0x1620('0x5')][_0x1620('0x19')](_0x4aa4d3[_0x1620('0x37')]))return!0x0;if(0x1==_0x473c93['length']&&(_0x4aa4d3[_0x1620('0x37')][_0x1620('0x19')](_0x5052c5[_0x1620('0x5')])||_0x4aa4d3[_0x1620('0x5')][_0x1620('0x19')](_0x5052c5[_0x1620('0x37')])))return!0x0;}if(0x3==_0x46df5d&&0x3==_0x407cb8&&_0x4aa4d3['start'][_0x1620('0x8')](_0x5052c5[_0x1620('0x37')])){const _0x5b633c=_0x4aa4d3[_0x1620('0x5')][_0x1620('0x0')],_0x5946c8=_0x5052c5[_0x1620('0x37')][_0x1620('0x31')];return _0x26c36d[_0x1620('0x30')](_0x5b633c)&&_0x5b633c===_0x5946c8;}return!0x1;}function _0x49c62e(_0x1d0c4b,_0x1cf082){return _0x5f06a8(_0x1d0c4b,_0x1cf082)?[_0x1d0c4b,_0x1cf082]:_0x5f06a8(_0x1cf082,_0x1d0c4b)?[_0x1cf082,_0x1d0c4b]:null;}_0x543f79[_0x1620('0x36')][_0x1620('0x1e')][_0x1620('0x4d')](()=>{let _0x5e7346=!0x1;const _0x37af7b=Array[_0x1620('0x59')](_0x543f79[_0x1620('0x36')][_0x1620('0x1e')][_0x1620('0x6a')][_0x1620('0x4a')]());for(const {name:_0x224911,data:_0xb4db78}of _0x37af7b){const {group:_0x3d812f,type:_0x5999e5,subType:_0x15389e,id:_0x130720}=_0x1bc4bb[_0x1620('0x34')](_0x224911);if('suggestion'==_0x3d812f&&_0x1bc4bb[_0x1620('0x1d')](_0x130720)){if(_0x1620('0x76')==_0x5999e5&&(_0x1620('0x5d')==_0x15389e||'imageStylePostApply'==_0x15389e)){const _0x1861dc=_0x1bc4bb['getSuggestion'](_0x130720);if(_0xb4db78[_0x1620('0x40')]){const _0x53f4ce=_0x1861dc['getFirstRange']()[_0x1620('0x32')]();if(_0x26c36d[_0x1620('0x30')](_0x53f4ce))continue;_0x1bc4bb['discardSuggestion'](_0x1861dc),_0x5e7346=!0x0;}}if(_0x1620('0x38')==_0x5999e5&&_0x1620('0x77')==_0x15389e&&!_0xb4db78['newRange']){const _0x51f4a2=_0x1bc4bb[_0x1620('0x2d')](_0x130720);_0x51f4a2[_0x1620('0x3d')]&&_0x51f4a2[_0x1620('0x3d')][_0x1620('0x33')]&&(_0x1bc4bb[_0x1620('0x4c')](_0x51f4a2[_0x1620('0x3d')]),_0x5e7346=!0x0);}}}return _0x5e7346;}),_0x543f79[_0x1620('0x50')][_0x1620('0x28')]('ImageResize')&&_0x1bc4bb[_0x1620('0x2c')](_0x1620('0x44'),(_0x1e8fe1,_0x43d10b)=>{const _0x13e847=_0x26c36d[_0x1620('0xd')](_0x543f79['model']['document'][_0x1620('0x65')]);_0x13e847[_0x1620('0x64')](_0x1620('0x4'))!=_0x43d10b['width']&&_0x543f79['model'][_0x1620('0x6b')](()=>{_0x1bc4bb['markBlockFormat'](_0x13e847,{'commandName':_0x1620('0x44'),'commandParams':[_0x43d10b]});});}),_0x543f79[_0x1620('0x50')][_0x1620('0x28')](_0x1620('0x2b'))&&_0x1bc4bb['enableCommand']('imageTextAlternative',(_0x22ad45,_0x2b1539)=>{const _0x234e76=_0x26c36d[_0x1620('0xd')](_0x543f79[_0x1620('0x36')][_0x1620('0x1e')][_0x1620('0x65')]);(_0x234e76[_0x1620('0x3')](_0x1620('0x43'))?_0x234e76['getAttribute'](_0x1620('0x43')):'')!=_0x2b1539[_0x1620('0x4b')]&&_0x543f79[_0x1620('0x36')]['change'](()=>{_0x1bc4bb['markBlockFormat'](_0x234e76,{'commandName':_0x1620('0x7'),'commandParams':[_0x2b1539]});});}),_0x1bc4bb[_0x1620('0x20')][_0x1620('0x72')](_0x50b424=>{if(!!_0x4a0c4b[_0x1620('0x3e')](({type:_0x3960ea,subType:_0x2af430})=>_0x50b424[_0x1620('0x11')]==_0x3960ea&&_0x50b424['subType']==_0x2af430))return _0x50b424[_0x1620('0x24')]?{}:void 0x0;}),_0x1bc4bb[_0x1620('0x20')]['registerDescriptionCallback'](_0x5a78a7=>{if(_0x1620('0x38')==_0x5a78a7[_0x1620('0x11')]||_0x1620('0x3b')==_0x5a78a7[_0x1620('0x11')]){const _0x2ee76d=_0x5a78a7[_0x1620('0x32')]();if(_0x2ee76d&&_0x2ee76d['is']('element',_0x1620('0x12')))return{'type':_0x1620('0x38')==_0x5a78a7[_0x1620('0x11')]?'addObject':'removeObject','element':_0x2ee76d,'quantity':0x1};}}),_0x1bc4bb['_descriptionFactory']['registerDescriptionCallback'](_0xc07a33=>_0x1620('0x76')==_0xc07a33[_0x1620('0x11')]&&_0x1620('0x1f')==_0xc07a33[_0x1620('0x21')]?{'type':_0x1620('0x3a'),'content':_0x1620('0x5f')}:_0x1620('0x76')==_0xc07a33[_0x1620('0x11')]&&'convertBlockImageToInline'==_0xc07a33[_0x1620('0x21')]?{'type':_0x1620('0x3a'),'content':'Block\x20image\x20to\x20inline\x20image'}:void 0x0),_0x1bc4bb[_0x1620('0x20')][_0x1620('0x72')](_0x4ac053=>{const {data:_0x560943}=_0x4ac053;if(_0x560943){if(_0x1620('0xe')==_0x560943[_0x1620('0x55')]){const _0x2d9551=_0x560943[_0x1620('0x5c')][0x0]['value'];return _0x247e7c(_0x1620('0x13')===_0x2d9551?_0x2232cb(_0x1cd061,'FORMAT_SIDE_IMAGE'):_0x1b5664[_0x2d9551]||_0x2d9551);}if('imageTextAlternative'==_0x560943[_0x1620('0x55')]){const _0x485374=_0x560943[_0x1620('0x5c')][0x0][_0x1620('0x4b')];return _0x485374?{'type':_0x1620('0x3a'),'content':_0x2232cb(_0x1cd061,_0x1620('0x15'),'\x22'+_0x485374+'\x22')}:{'type':_0x1620('0x3a'),'content':_0x2232cb(_0x1cd061,_0x1620('0x63'))};}if(_0x1620('0x44')==_0x560943[_0x1620('0x55')]){const _0x435006=_0x560943['commandParams'][0x0][_0x1620('0x4')];return _0x435006?{'type':_0x1620('0x3a'),'content':_0x2232cb(_0x1cd061,'*Set\x20image\x20width:*\x20%0',_0x435006)}:{'type':'format','content':_0x2232cb(_0x1cd061,_0x1620('0x53'))};}}function _0x247e7c(_0x1e1009){return{'type':_0x1620('0x3a'),'content':_0x2232cb(_0x1cd061,_0x1620('0x2a'),_0x1e1009)};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2e7e=['author','has','source','getContainedElement','model','*Format:*\x20replace\x20image\x20URL','subType','commandParams','_descriptionFactory','getSelectedElement','get','data','format','discard','getAttribute','src','getSuggestions','handleReplaceImageCommand','TrackChangesEditing','formatBlock','replaceImageSource','ImageEditing','selection','getSuggestionCallback','registerCustomCallback','_suggestionFactory','afterInit','accept','handleSuggestionDescription','plugins','registerDescriptionCallback','Users','editor'];(function(_0x51de1d,_0x2e7e22){const _0x290b1b=function(_0xd5ba33){while(--_0xd5ba33){_0x51de1d['push'](_0x51de1d['shift']());}};_0x290b1b(++_0x2e7e22);}(_0x2e7e,0x1bc));const _0x290b=function(_0x51de1d,_0x2e7e22){_0x51de1d=_0x51de1d-0x0;let _0x290b1b=_0x2e7e[_0x51de1d];return _0x290b1b;};import{Plugin as _0x5eb098}from'ckeditor5/src/core';import{getTranslation as _0x191dfc}from'../utils/common-translations';export default class Y extends _0x5eb098{[_0x290b('0xb')](){if(!this[_0x290b('0x11')][_0x290b('0xe')][_0x290b('0x13')](_0x290b('0x6')))return;const _0x29ec00=this['editor'][_0x290b('0xe')][_0x290b('0x1c')]('TrackChangesEditing');_0x29ec00['enableCommand'](_0x290b('0x5'),(_0x5a37be,_0x168c36)=>this[_0x290b('0x2')](_0x5a37be,_0x168c36)),_0x29ec00[_0x290b('0xa')][_0x290b('0x9')]('formatBlock',_0x290b('0x5'),_0x290b('0xc'),_0x29ec00[_0x290b('0xa')][_0x290b('0x8')]('formatBlock',null,_0x290b('0x1f'))),_0x29ec00[_0x290b('0xa')][_0x290b('0x9')](_0x290b('0x4'),'replaceImageSource',_0x290b('0x1f'),_0x29ec00[_0x290b('0xa')][_0x290b('0x8')](_0x290b('0x4'),null,_0x290b('0xc'))),_0x29ec00[_0x290b('0x1a')][_0x290b('0xf')](_0x2d1dba=>this[_0x290b('0xd')](_0x2d1dba));}['handleReplaceImageCommand'](_0x4ec769,_0x3e38a0){const _0x938a0=this[_0x290b('0x11')]['plugins']['get'](_0x290b('0x3')),_0x2ee299=this[_0x290b('0x11')][_0x290b('0x16')]['document'][_0x290b('0x7')][_0x290b('0x1b')]();this['editor'][_0x290b('0x16')]['change'](()=>{let _0x3d16bb=_0x2ee299[_0x290b('0x20')](_0x290b('0x0'));const _0x1c772f=this[_0x290b('0x11')][_0x290b('0xe')]['get'](_0x290b('0x10'))['me'];for(const _0x59340e of _0x938a0[_0x290b('0x1')]({'skipNotAttached':!0x0})){const _0x19298d=_0x59340e[_0x290b('0x15')]();if(_0x290b('0x5')===_0x59340e[_0x290b('0x18')]&&_0x19298d===_0x2ee299){_0x59340e[_0x290b('0x12')]!==_0x1c772f&&_0x59340e[_0x290b('0x1f')](),_0x3d16bb=_0x59340e[_0x290b('0x1d')][_0x290b('0x19')][0x0][_0x290b('0x14')];break;}}_0x4ec769(_0x3e38a0),_0x938a0['markBlockFormat'](_0x2ee299,{'commandName':_0x290b('0x5'),'commandParams':[{'source':_0x3d16bb}]},[],'replaceImageSource');});}[_0x290b('0xd')](_0x4e793c){const {data:_0x43e3b6}=_0x4e793c;if(_0x43e3b6&&_0x290b('0x5')===_0x43e3b6['commandName']){const _0x83fc15=_0x290b('0x17');return{'type':_0x290b('0x1e'),'content':_0x191dfc(this[_0x290b('0x11')]['locale'],_0x83fc15)};}}}
23
+ const _0x4d1b=['getAttribute','formatBlock','author','discard','has','replaceImageSource','handleSuggestionDescription','model','selection','getContainedElement','registerCustomCallback','change','src','document','data','Users','registerDescriptionCallback','get','_suggestionFactory','editor','enableCommand','plugins','commandName','_descriptionFactory','accept','handleReplaceImageCommand','getSuggestionCallback','format','TrackChangesEditing','subType','ImageEditing'];(function(_0x37ef97,_0x4d1b61){const _0x10d34b=function(_0x500fb0){while(--_0x500fb0){_0x37ef97['push'](_0x37ef97['shift']());}};_0x10d34b(++_0x4d1b61);}(_0x4d1b,0x14f));const _0x10d3=function(_0x37ef97,_0x4d1b61){_0x37ef97=_0x37ef97-0x0;let _0x10d34b=_0x4d1b[_0x37ef97];return _0x10d34b;};import{Plugin as _0x5bae99}from'ckeditor5/src/core';import{getTranslation as _0x2c16b4}from'../utils/common-translations';export default class Y extends _0x5bae99{['afterInit'](){if(!this[_0x10d3('0x19')][_0x10d3('0x1b')][_0x10d3('0xa')](_0x10d3('0x5')))return;const _0x593c7c=this['editor'][_0x10d3('0x1b')][_0x10d3('0x17')](_0x10d3('0x3'));_0x593c7c[_0x10d3('0x1a')](_0x10d3('0xb'),(_0x6920f,_0xc12315)=>this[_0x10d3('0x0')](_0x6920f,_0xc12315)),_0x593c7c[_0x10d3('0x18')][_0x10d3('0x10')](_0x10d3('0x7'),_0x10d3('0xb'),_0x10d3('0x1e'),_0x593c7c['_suggestionFactory'][_0x10d3('0x1')](_0x10d3('0x7'),null,_0x10d3('0x9'))),_0x593c7c[_0x10d3('0x18')][_0x10d3('0x10')](_0x10d3('0x7'),'replaceImageSource','discard',_0x593c7c[_0x10d3('0x18')][_0x10d3('0x1')](_0x10d3('0x7'),null,_0x10d3('0x1e'))),_0x593c7c[_0x10d3('0x1d')][_0x10d3('0x16')](_0x326b68=>this[_0x10d3('0xc')](_0x326b68));}[_0x10d3('0x0')](_0x4d44ce,_0x56d889){const _0x3cc9c9=this[_0x10d3('0x19')][_0x10d3('0x1b')]['get'](_0x10d3('0x3')),_0x41d57b=this[_0x10d3('0x19')][_0x10d3('0xd')][_0x10d3('0x13')][_0x10d3('0xe')]['getSelectedElement']();this['editor'][_0x10d3('0xd')][_0x10d3('0x11')](()=>{let _0x3b33b9=_0x41d57b[_0x10d3('0x6')](_0x10d3('0x12'));const _0x333e02=this[_0x10d3('0x19')]['plugins'][_0x10d3('0x17')](_0x10d3('0x15'))['me'];for(const _0x5a14db of _0x3cc9c9['getSuggestions']({'skipNotAttached':!0x0})){const _0x44cd3e=_0x5a14db[_0x10d3('0xf')]();if('replaceImageSource'===_0x5a14db[_0x10d3('0x4')]&&_0x44cd3e===_0x41d57b){_0x5a14db[_0x10d3('0x8')]!==_0x333e02&&_0x5a14db['discard'](),_0x3b33b9=_0x5a14db[_0x10d3('0x14')]['commandParams'][0x0]['source'];break;}}_0x4d44ce(_0x56d889),_0x3cc9c9['markBlockFormat'](_0x41d57b,{'commandName':_0x10d3('0xb'),'commandParams':[{'source':_0x3b33b9}]},[],_0x10d3('0xb'));});}['handleSuggestionDescription'](_0x35a793){const {data:_0x5835de}=_0x35a793;if(_0x5835de&&_0x10d3('0xb')===_0x5835de[_0x10d3('0x1c')]){const _0x46cb8b='*Format:*\x20replace\x20image\x20URL';return{'type':_0x10d3('0x2'),'content':_0x2c16b4(this['editor']['locale'],_0x46cb8b)};}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x35ff=['execute','importWord','TrackChangesEditing','get','track_changes','_trackChangesValueDuringImport','editor','trackChanges','afterInit','lowest','bind','Users','commands','plugins','_setSuggestionData','dataInsert','forEach','value','_handleImportedData','_trackChangesExecuted','listenTo','high'];(function(_0x3bdda8,_0x35ff7c){const _0x352b85=function(_0x31d888){while(--_0x31d888){_0x3bdda8['push'](_0x3bdda8['shift']());}};_0x352b85(++_0x35ff7c);}(_0x35ff,0x15f));const _0x352b=function(_0x3bdda8,_0x35ff7c){_0x3bdda8=_0x3bdda8-0x0;let _0x352b85=_0x35ff[_0x3bdda8];return _0x352b85;};import{Plugin as _0x804385}from'ckeditor5/src/core';export default class Z extends _0x804385{constructor(_0x32822a){super(_0x32822a),this['_trackChangesValueDuringImport']=!0x1,this[_0x352b('0x14')]=!0x1;}[_0x352b('0x9')](){const _0x40e1b0=this['editor'],_0x45bdce=_0x40e1b0[_0x352b('0xd')][_0x352b('0x4')](_0x352b('0x2')),_0x2b6be7=_0x40e1b0[_0x352b('0xd')]['get'](_0x352b('0x8'));_0x45bdce&&(_0x45bdce['on'](_0x352b('0x1'),(_0x243cf7,[,_0xed746e])=>{this[_0x352b('0x6')]=_0x2b6be7[_0x352b('0x12')],_0xed746e['collaboration_features'][_0x352b('0x5')]=!this[_0x352b('0x6')];},{'priority':_0x352b('0x0')}),this[_0x352b('0x15')](_0x45bdce,_0x352b('0x10'),this[_0x352b('0x13')][_0x352b('0xb')](this)),this['listenTo'](_0x45bdce,_0x352b('0x10'),()=>{this[_0x352b('0x14')]&&(_0x2b6be7[_0x352b('0x1')](),this[_0x352b('0x14')]=!0x1);},{'priority':_0x352b('0xa')}),_0x40e1b0[_0x352b('0xe')][_0x352b('0x4')]('TrackChangesEditing')['enableCommand'](_0x352b('0x2')));}[_0x352b('0x13')](_0x5deb44,_0x332958){const {suggestions:_0x4f194e}=_0x332958,_0x4853cf=this[_0x352b('0x7')]['commands'][_0x352b('0x4')](_0x352b('0x8')),_0x243e39=_0x4853cf['value'];this['_trackChangesValueDuringImport']!==_0x243e39&&(_0x4853cf[_0x352b('0x1')](),this[_0x352b('0x14')]=!0x0),_0x4f194e&&_0x4f194e[_0x352b('0x11')](({id:_0x206d3c,type:_0x597474,author:_0x2585f6,created_at:_0x553cf5})=>{const _0x407130={'id':_0x206d3c,'type':_0x597474,'authorId':this[_0x352b('0x7')][_0x352b('0xe')][_0x352b('0x4')](_0x352b('0xc'))['me']['id'],'createdAt':new Date(),'data':null,'hasComments':!0x1,'attributes':{'@external':{'authorName':_0x2585f6,'createdAt':_0x553cf5?new Date(_0x553cf5):new Date(),'source':_0x352b('0x2')}}};this['editor'][_0x352b('0xe')]['get'](_0x352b('0x3'))[_0x352b('0xf')](_0x407130);});}}
23
+ const _0x4a48=['editor','get','_trackChangesExecuted','importWord','trackChanges','_handleImportedData','_setSuggestionData','value','Users','plugins','TrackChangesEditing','track_changes','listenTo','collaboration_features','commands','execute','afterInit','forEach','dataInsert','high','lowest','_trackChangesValueDuringImport'];(function(_0x44ff43,_0x4a48f2){const _0x3a32e5=function(_0x2bb2b4){while(--_0x2bb2b4){_0x44ff43['push'](_0x44ff43['shift']());}};_0x3a32e5(++_0x4a48f2);}(_0x4a48,0x186));const _0x3a32=function(_0x44ff43,_0x4a48f2){_0x44ff43=_0x44ff43-0x0;let _0x3a32e5=_0x4a48[_0x44ff43];return _0x3a32e5;};import{Plugin as _0x1e6690}from'ckeditor5/src/core';export default class Z extends _0x1e6690{constructor(_0x3ab13a){super(_0x3ab13a),this[_0x3a32('0x5')]=!0x1,this[_0x3a32('0x8')]=!0x1;}[_0x3a32('0x0')](){const _0x5c56dd=this['editor'],_0x35d417=_0x5c56dd[_0x3a32('0x14')][_0x3a32('0x7')](_0x3a32('0x9')),_0x127826=_0x5c56dd[_0x3a32('0x14')][_0x3a32('0x7')](_0x3a32('0xa'));_0x35d417&&(_0x35d417['on'](_0x3a32('0x15'),(_0xe083a0,[,_0x5507f2])=>{this[_0x3a32('0x5')]=_0x127826['value'],_0x5507f2[_0x3a32('0x13')][_0x3a32('0x11')]=!this[_0x3a32('0x5')];},{'priority':_0x3a32('0x3')}),this[_0x3a32('0x12')](_0x35d417,'dataInsert',this[_0x3a32('0xb')]['bind'](this)),this[_0x3a32('0x12')](_0x35d417,_0x3a32('0x2'),()=>{this[_0x3a32('0x8')]&&(_0x127826[_0x3a32('0x15')](),this[_0x3a32('0x8')]=!0x1);},{'priority':_0x3a32('0x4')}),_0x5c56dd[_0x3a32('0xf')]['get'](_0x3a32('0x10'))['enableCommand'](_0x3a32('0x9')));}[_0x3a32('0xb')](_0x125eae,_0x1af595){const {suggestions:_0x306c50}=_0x1af595,_0xf457ff=this[_0x3a32('0x6')][_0x3a32('0x14')][_0x3a32('0x7')](_0x3a32('0xa')),_0x20ab8e=_0xf457ff[_0x3a32('0xd')];this[_0x3a32('0x5')]!==_0x20ab8e&&(_0xf457ff[_0x3a32('0x15')](),this[_0x3a32('0x8')]=!0x0),_0x306c50&&_0x306c50[_0x3a32('0x1')](({id:_0xffc73c,type:_0x378260,author:_0x4566eb,created_at:_0x43b040})=>{const _0x222c1d={'id':_0xffc73c,'type':_0x378260,'authorId':this[_0x3a32('0x6')][_0x3a32('0xf')][_0x3a32('0x7')](_0x3a32('0xe'))['me']['id'],'createdAt':new Date(),'data':null,'hasComments':!0x1,'attributes':{'@external':{'authorName':_0x4566eb,'createdAt':_0x43b040?new Date(_0x43b040):new Date(),'source':_0x3a32('0x9')}}};this['editor']['plugins'][_0x3a32('0x7')](_0x3a32('0x10'))[_0x3a32('0xc')](_0x222c1d);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x321e=['getItemLabel','schema','markBlockFormat','editor','indentBlock','enableCommand','outdentBlock','IndentBlock','document','filter','has','from','*Indent:*\x20%0','checkAttribute','selection','_descriptionFactory','change','getSelectedBlocks','outdent','registerDescriptionCallback','indent','plugins','format','model','commandName'];(function(_0x1002f8,_0x321eea){const _0x1a72d3=function(_0x25d3fb){while(--_0x25d3fb){_0x1002f8['push'](_0x1002f8['shift']());}};_0x1a72d3(++_0x321eea);}(_0x321e,0xa7));const _0x1a72=function(_0x1002f8,_0x321eea){_0x1002f8=_0x1002f8-0x0;let _0x1a72d3=_0x321e[_0x1002f8];return _0x1a72d3;};import{Plugin as _0x426cbf}from'ckeditor5/src/core';import{getTranslation as _0x4ed118}from'../utils/common-translations';export default class tt extends _0x426cbf{['afterInit'](){const _0xa5667e=this[_0x1a72('0xb')],_0x238be5=_0xa5667e[_0x1a72('0x4')]['get']('TrackChangesEditing');_0xa5667e[_0x1a72('0x4')]['has']('IndentEditing')&&(_0x238be5[_0x1a72('0xd')](_0x1a72('0x3')),_0x238be5[_0x1a72('0xd')](_0x1a72('0x1')));const _0x1c6ddc=_0xa5667e['locale'];if(_0xa5667e['plugins'][_0x1a72('0x12')](_0x1a72('0xf'))){for(const _0x1dda3a of[_0x1a72('0xc'),_0x1a72('0xe')])_0x238be5['enableCommand'](_0x1dda3a,()=>{const _0x492273=Array[_0x1a72('0x13')](this[_0x1a72('0xb')][_0x1a72('0x6')][_0x1a72('0x10')][_0x1a72('0x16')][_0x1a72('0x0')]())[_0x1a72('0x11')](_0xf7bb09=>this['editor'][_0x1a72('0x6')][_0x1a72('0x9')][_0x1a72('0x15')](_0xf7bb09,'blockIndent'));_0xa5667e[_0x1a72('0x6')][_0x1a72('0x18')](()=>{for(const _0x2e9fe2 of _0x492273)_0x238be5[_0x1a72('0xa')](_0x2e9fe2,{'commandName':_0x1dda3a,'commandParams':[{'value':''}],'formatGroupId':_0x1a72('0xc')});});});_0x238be5[_0x1a72('0x17')][_0x1a72('0x2')](_0xfb3343=>{const {data:_0x2ab81c}=_0xfb3343;if(!_0x2ab81c)return;if(_0x1a72('0xc')!=_0x2ab81c['commandName']&&_0x1a72('0xe')!=_0x2ab81c[_0x1a72('0x7')])return;const _0x33e69f=_0xfb3343['getItems']()[0x0],_0xb7c9a6=_0x238be5[_0x1a72('0x17')][_0x1a72('0x8')](_0x33e69f);return _0x1a72('0xc')==_0x2ab81c[_0x1a72('0x7')]?{'type':'format','content':_0x4ed118(_0x1c6ddc,_0x1a72('0x14'),_0xb7c9a6)}:'outdentBlock'==_0x2ab81c[_0x1a72('0x7')]?{'type':_0x1a72('0x5'),'content':_0x4ed118(_0x1c6ddc,'*Outdent:*\x20%0',_0xb7c9a6)}:void 0x0;});}}}
23
+ const _0x109f=['editor','*Indent:*\x20%0','document','IndentEditing','_descriptionFactory','schema','afterInit','outdent','IndentBlock','enableCommand','*Outdent:*\x20%0','getItems','indentBlock','has','getItemLabel','commandName','outdentBlock','locale','selection','model','getSelectedBlocks','get','plugins','registerDescriptionCallback'];(function(_0xcc95e5,_0x109fd7){const _0x3fb884=function(_0x3b0a38){while(--_0x3b0a38){_0xcc95e5['push'](_0xcc95e5['shift']());}};_0x3fb884(++_0x109fd7);}(_0x109f,0x99));const _0x3fb8=function(_0xcc95e5,_0x109fd7){_0xcc95e5=_0xcc95e5-0x0;let _0x3fb884=_0x109f[_0xcc95e5];return _0x3fb884;};import{Plugin as _0x4ccc05}from'ckeditor5/src/core';import{getTranslation as _0xe3db54}from'../utils/common-translations';export default class tt extends _0x4ccc05{[_0x3fb8('0x15')](){const _0x217175=this[_0x3fb8('0xf')],_0x3ca0e9=_0x217175[_0x3fb8('0xd')][_0x3fb8('0xc')]('TrackChangesEditing');_0x217175[_0x3fb8('0xd')][_0x3fb8('0x4')](_0x3fb8('0x12'))&&(_0x3ca0e9[_0x3fb8('0x0')]('indent'),_0x3ca0e9[_0x3fb8('0x0')](_0x3fb8('0x16')));const _0x3b79df=_0x217175[_0x3fb8('0x8')];if(_0x217175[_0x3fb8('0xd')]['has'](_0x3fb8('0x17'))){for(const _0x4a86c7 of[_0x3fb8('0x3'),_0x3fb8('0x7')])_0x3ca0e9[_0x3fb8('0x0')](_0x4a86c7,()=>{const _0x2c50d8=Array['from'](this[_0x3fb8('0xf')][_0x3fb8('0xa')][_0x3fb8('0x11')][_0x3fb8('0x9')][_0x3fb8('0xb')]())['filter'](_0x329af3=>this['editor']['model'][_0x3fb8('0x14')]['checkAttribute'](_0x329af3,'blockIndent'));_0x217175[_0x3fb8('0xa')]['change'](()=>{for(const _0x73ea26 of _0x2c50d8)_0x3ca0e9['markBlockFormat'](_0x73ea26,{'commandName':_0x4a86c7,'commandParams':[{'value':''}],'formatGroupId':_0x3fb8('0x3')});});});_0x3ca0e9[_0x3fb8('0x13')][_0x3fb8('0xe')](_0xb0755f=>{const {data:_0x247cde}=_0xb0755f;if(!_0x247cde)return;if(_0x3fb8('0x3')!=_0x247cde[_0x3fb8('0x6')]&&_0x3fb8('0x7')!=_0x247cde['commandName'])return;const _0xff9d4e=_0xb0755f[_0x3fb8('0x2')]()[0x0],_0x2873e7=_0x3ca0e9[_0x3fb8('0x13')][_0x3fb8('0x5')](_0xff9d4e);return _0x3fb8('0x3')==_0x247cde[_0x3fb8('0x6')]?{'type':'format','content':_0xe3db54(_0x3b79df,_0x3fb8('0x10'),_0x2873e7)}:_0x3fb8('0x7')==_0x247cde[_0x3fb8('0x6')]?{'type':'format','content':_0xe3db54(_0x3b79df,_0x3fb8('0x1'),_0x2873e7)}:void 0x0;});}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x4018=['input','plugins','get','editor'];(function(_0x5ed174,_0x4018a2){var _0x18b767=function(_0x28fc60){while(--_0x28fc60){_0x5ed174['push'](_0x5ed174['shift']());}};_0x18b767(++_0x4018a2);}(_0x4018,0x1f2));var _0x18b7=function(_0x5ed174,_0x4018a2){_0x5ed174=_0x5ed174-0x0;var _0x18b767=_0x4018[_0x5ed174];return _0x18b767;};import{Plugin as _0x2209d3}from'ckeditor5/src/core';import{Input as _0x44736f}from'ckeditor5/src/typing';export default class it extends _0x2209d3{static get['requires'](){return[_0x44736f];}['init'](){this[_0x18b7('0x1')][_0x18b7('0x3')][_0x18b7('0x0')]('TrackChangesEditing')['enableCommand'](_0x18b7('0x2'));}}
23
+ var _0x3777=['get','plugins','TrackChangesEditing','init','enableCommand','requires','input','editor'];(function(_0x81fc8b,_0x37778a){var _0x46f89b=function(_0x2591a0){while(--_0x2591a0){_0x81fc8b['push'](_0x81fc8b['shift']());}};_0x46f89b(++_0x37778a);}(_0x3777,0x86));var _0x46f8=function(_0x81fc8b,_0x37778a){_0x81fc8b=_0x81fc8b-0x0;var _0x46f89b=_0x3777[_0x81fc8b];return _0x46f89b;};import{Plugin as _0xa6b12a}from'ckeditor5/src/core';import{Input as _0x4cb81d}from'ckeditor5/src/typing';export default class it extends _0xa6b12a{static get[_0x46f8('0x7')](){return[_0x4cb81d];}[_0x46f8('0x5')](){this[_0x46f8('0x1')][_0x46f8('0x3')][_0x46f8('0x2')](_0x46f8('0x4'))[_0x46f8('0x6')](_0x46f8('0x0'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x19b2=['getFirstRange','isCollapsed','markInlineFormat','registerDescriptionCallback','commandName','editor','enableCommand','model','selection','link','has','change','format','plugins','LinkEditing','_descriptionFactory','linkHref','from','afterInit','*Set\x20link:*\x20%0','getAttribute','unlink','hasAttribute','locale','*Remove\x20link*','TrackChangesEditing','getRanges','document','getFirstPosition'];(function(_0x1cbefa,_0x19b23e){const _0x5df98d=function(_0x155097){while(--_0x155097){_0x1cbefa['push'](_0x1cbefa['shift']());}};_0x5df98d(++_0x19b23e);}(_0x19b2,0xdc));const _0x5df9=function(_0x1cbefa,_0x19b23e){_0x1cbefa=_0x1cbefa-0x0;let _0x5df98d=_0x19b2[_0x1cbefa];return _0x5df98d;};import{Plugin as _0x52ec57}from'ckeditor5/src/core';import{findAttributeRange as _0x1e9526}from'ckeditor5/src/typing';import{getRangesWithAttribute as _0xe43c58}from'./utils';import{getTranslation as _0x52782d}from'../utils/common-translations';export default class et extends _0x52ec57{[_0x5df9('0x1')](){const _0x4c7dca=this[_0x5df9('0x11')];if(!_0x4c7dca['plugins'][_0x5df9('0x16')](_0x5df9('0x1a')))return;const _0x2554f2=_0x4c7dca[_0x5df9('0x19')]['get'](_0x5df9('0x8'));_0x2554f2[_0x5df9('0x12')](_0x5df9('0x15'),(_0x274a0e,_0x23c232)=>{const _0x233f91=_0x4c7dca[_0x5df9('0x13')][_0x5df9('0xa')][_0x5df9('0x14')];let _0x8aa6fb=[];if(_0x233f91[_0x5df9('0xd')]){if(!_0x233f91[_0x5df9('0x5')](_0x5df9('0x1c')))return void _0x274a0e(_0x23c232);{const _0x25667c=_0x1e9526(_0x233f91[_0x5df9('0xb')](),_0x5df9('0x1c'),_0x233f91['getAttribute']('linkHref'),_0x4c7dca[_0x5df9('0x13')]);_0x8aa6fb=[_0x25667c];}}else _0x8aa6fb=Array[_0x5df9('0x0')](_0x233f91[_0x5df9('0x9')]());_0x4c7dca[_0x5df9('0x13')][_0x5df9('0x17')](()=>{for(const _0xf208bd of _0x8aa6fb)_0x2554f2['markInlineFormat'](_0xf208bd,{'commandName':'link','commandParams':[_0x23c232]});});}),_0x2554f2[_0x5df9('0x12')](_0x5df9('0x4'),()=>{const _0xc5528a=this[_0x5df9('0x11')][_0x5df9('0x13')],_0x2f316e=_0xc5528a['document']['selection'];_0xc5528a[_0x5df9('0x17')](()=>{let _0x2113c7=[];if(_0x2f316e[_0x5df9('0xd')])_0x2113c7=[_0x1e9526(_0x2f316e[_0x5df9('0xb')](),'linkHref',_0x2f316e[_0x5df9('0x3')](_0x5df9('0x1c')),_0x4c7dca['model'])];else _0x2113c7=_0xe43c58(_0x5df9('0x1c'),_0x2f316e[_0x5df9('0xc')](),_0x4c7dca[_0x5df9('0x13')]);for(const _0x42afaa of _0x2113c7)_0x2554f2[_0x5df9('0xe')](_0x42afaa,{'commandName':_0x5df9('0x4'),'commandParams':[]});});}),_0x2554f2[_0x5df9('0x1b')][_0x5df9('0xf')](_0x51a66d=>{const {data:_0x57b2d7}=_0x51a66d,_0x3d8f94=_0x4c7dca[_0x5df9('0x6')];if(_0x57b2d7){if(_0x5df9('0x15')==_0x57b2d7[_0x5df9('0x10')]){const _0x2683ef=_0x57b2d7['commandParams'][0x0];return{'type':_0x5df9('0x18'),'content':_0x52782d(_0x3d8f94,_0x5df9('0x2'),'\x22'+_0x2683ef+'\x22')};}return _0x5df9('0x4')==_0x57b2d7['commandName']?{'type':_0x5df9('0x18'),'content':_0x52782d(_0x3d8f94,_0x5df9('0x7'))}:void 0x0;}});}}
23
+ const _0x51dc=['*Set\x20link:*\x20%0','has','getFirstRange','from','link','selection','getAttribute','hasAttribute','unlink','format','enableCommand','commandParams','document','isCollapsed','change','commandName','editor','model','afterInit','*Remove\x20link*','linkHref','get','LinkEditing','getFirstPosition','markInlineFormat','plugins'];(function(_0x1064f9,_0x51dcf6){const _0x2d8ab1=function(_0x35e7d7){while(--_0x35e7d7){_0x1064f9['push'](_0x1064f9['shift']());}};_0x2d8ab1(++_0x51dcf6);}(_0x51dc,0xa8));const _0x2d8a=function(_0x1064f9,_0x51dcf6){_0x1064f9=_0x1064f9-0x0;let _0x2d8ab1=_0x51dc[_0x1064f9];return _0x2d8ab1;};import{Plugin as _0x3cbc3f}from'ckeditor5/src/core';import{findAttributeRange as _0x1a34ac}from'ckeditor5/src/typing';import{getRangesWithAttribute as _0x10f1e2}from'./utils';import{getTranslation as _0x3af15f}from'../utils/common-translations';export default class et extends _0x3cbc3f{[_0x2d8a('0x6')](){const _0x49a0e1=this[_0x2d8a('0x4')];if(!_0x49a0e1[_0x2d8a('0xd')][_0x2d8a('0xf')](_0x2d8a('0xa')))return;const _0x408a21=_0x49a0e1[_0x2d8a('0xd')][_0x2d8a('0x9')]('TrackChangesEditing');_0x408a21[_0x2d8a('0x18')](_0x2d8a('0x12'),(_0x52094c,_0x5a75c7)=>{const _0x364f44=_0x49a0e1[_0x2d8a('0x5')][_0x2d8a('0x0')]['selection'];let _0xa16f94=[];if(_0x364f44[_0x2d8a('0x1')]){if(!_0x364f44[_0x2d8a('0x15')](_0x2d8a('0x8')))return void _0x52094c(_0x5a75c7);{const _0x357d11=_0x1a34ac(_0x364f44[_0x2d8a('0xb')](),_0x2d8a('0x8'),_0x364f44[_0x2d8a('0x14')](_0x2d8a('0x8')),_0x49a0e1[_0x2d8a('0x5')]);_0xa16f94=[_0x357d11];}}else _0xa16f94=Array[_0x2d8a('0x11')](_0x364f44['getRanges']());_0x49a0e1[_0x2d8a('0x5')][_0x2d8a('0x2')](()=>{for(const _0x1c5176 of _0xa16f94)_0x408a21[_0x2d8a('0xc')](_0x1c5176,{'commandName':_0x2d8a('0x12'),'commandParams':[_0x5a75c7]});});}),_0x408a21[_0x2d8a('0x18')](_0x2d8a('0x16'),()=>{const _0xbe8fb5=this[_0x2d8a('0x4')]['model'],_0x699964=_0xbe8fb5['document'][_0x2d8a('0x13')];_0xbe8fb5[_0x2d8a('0x2')](()=>{let _0x4ea45c=[];if(_0x699964[_0x2d8a('0x1')])_0x4ea45c=[_0x1a34ac(_0x699964[_0x2d8a('0xb')](),_0x2d8a('0x8'),_0x699964[_0x2d8a('0x14')](_0x2d8a('0x8')),_0x49a0e1[_0x2d8a('0x5')])];else _0x4ea45c=_0x10f1e2('linkHref',_0x699964[_0x2d8a('0x10')](),_0x49a0e1[_0x2d8a('0x5')]);for(const _0x242595 of _0x4ea45c)_0x408a21[_0x2d8a('0xc')](_0x242595,{'commandName':_0x2d8a('0x16'),'commandParams':[]});});}),_0x408a21['_descriptionFactory']['registerDescriptionCallback'](_0x140f5b=>{const {data:_0x1fa823}=_0x140f5b,_0x51266d=_0x49a0e1['locale'];if(_0x1fa823){if(_0x2d8a('0x12')==_0x1fa823[_0x2d8a('0x3')]){const _0x14a078=_0x1fa823[_0x2d8a('0x19')][0x0];return{'type':'format','content':_0x3af15f(_0x51266d,_0x2d8a('0xe'),'\x22'+_0x14a078+'\x22')};}return _0x2d8a('0x16')==_0x1fa823['commandName']?{'type':_0x2d8a('0x17'),'content':_0x3af15f(_0x51266d,_0x2d8a('0x7'))}:void 0x0;}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x43b6=['nextSibling','ELEMENT_BULLETED_LIST','document','end','bulleted','afterInit','todoListChecked','listIndent','selection','previousSibling','change','element','createPositionAt','commandName','listType','get','parent','listItem','model','ELEMENT_LIST_ITEM','TodoListEditing','bulletedList','getSelectedBlocks','List','commandParams','TrackChangesEditing','markBlockFormat','ELEMENT_NUMBERED_LIST','has','format','numberedList','from','filter','value','todoList','*Outdent:*\x20%0','commands','paragraph','enableCommand','plugins','findIndex','schema','ELEMENT_TODO_LIST','*Change\x20to:*\x20%0','_selectedElements','isObject','registerDescriptionCallback','_descriptionFactory','indentList','blockName','replace','add','outdentList','*Uncheck\x20item*','execute','getAttribute','editor','before','checkTodoList','name'];(function(_0x2c24b3,_0x43b6ca){const _0x13b542=function(_0x58385c){while(--_0x58385c){_0x2c24b3['push'](_0x2c24b3['shift']());}};_0x13b542(++_0x43b6ca);}(_0x43b6,0x11d));const _0x13b5=function(_0x2c24b3,_0x43b6ca){_0x2c24b3=_0x2c24b3-0x0;let _0x13b542=_0x43b6[_0x2c24b3];return _0x13b542;};import{Plugin as _0x5aabeb}from'ckeditor5/src/core';import{getTranslation as _0x2a6c20}from'../utils/common-translations';export default class st extends _0x5aabeb{[_0x13b5('0x14')](){const _0xa58261=this[_0x13b5('0xb')],_0x401990=_0xa58261['locale'];if(!_0xa58261[_0x13b5('0x36')][_0x13b5('0x2b')]('ListEditing'))return;const _0x1b9e1a=_0xa58261[_0x13b5('0x36')]['get'](_0x13b5('0x28')),_0x1b0dc0=_0xa58261['plugins']['has'](_0x13b5('0x23'));function _0x223d35(_0x3e0061){return()=>{const _0x38219c=_0xa58261['model'][_0x13b5('0x11')]['selection'],_0x26c9df=_0xa58261['commands'][_0x13b5('0x1e')](_0x3e0061);if(_0x26c9df[_0x13b5('0x30')])return void _0xa58261[_0x13b5('0x9')](_0x13b5('0x34'),{});const _0x10cf7f=_0x3e0061['slice'](0x0,-0x4),_0x142591=function(_0x2475a9,_0x261cbe,_0x431931){let _0x449dee=Array['from'](_0x2475a9)['filter'](_0x3976f1=>function(_0x3637e7,_0x184073){return _0x184073['checkChild'](_0x3637e7[_0x13b5('0x1f')],_0x13b5('0x20'))&&!_0x184073[_0x13b5('0x0')](_0x3637e7);}(_0x3976f1,_0x431931));_0x449dee=_0x449dee[_0x13b5('0x2f')](_0x226f24=>!_0x226f24['is'](_0x13b5('0x1a'),_0x13b5('0x20'))||_0x226f24['getAttribute'](_0x13b5('0x1d'))!=_0x261cbe);const _0x3690ca=new Set();for(const _0x1a01a8 of _0x449dee)_0x1a01a8['is'](_0x13b5('0x1a'),_0x13b5('0x20'))?_0x3690ca[_0x13b5('0x6')](ne(_0x1a01a8)):_0x3690ca[_0x13b5('0x6')](_0x1a01a8);return Array[_0x13b5('0x2e')](_0x3690ca);}(_0x38219c[_0x13b5('0x25')](),_0x10cf7f,_0xa58261['model'][_0x13b5('0x38')]);_0xa58261['model'][_0x13b5('0x19')](()=>{for(const _0x23616e of _0x142591)_0x1b9e1a[_0x13b5('0x29')](_0x23616e,{'commandName':_0x3e0061,'commandParams':[{'forceValue':!_0x26c9df[_0x13b5('0x30')]}],'formatGroupId':_0x13b5('0x4')},oe(_0x23616e));});};}function _0x3073ad(_0x5443ec){return()=>{const _0xbdc272=function(_0x4ac0ad){let _0x31b333=Array['from'](_0x4ac0ad);const _0x25aab6=_0x31b333[_0x13b5('0x37')](_0xac4f15=>'listItem'!=_0xac4f15[_0x13b5('0xe')]);return _0x25aab6>-0x1&&(_0x31b333=_0x31b333['slice'](0x0,_0x25aab6)),_0x31b333;}(_0xa58261[_0x13b5('0x21')][_0x13b5('0x11')][_0x13b5('0x17')]['getSelectedBlocks']()),_0x384108=_0xa58261[_0x13b5('0x21')]['createRange'](_0xa58261['model'][_0x13b5('0x1b')](_0xbdc272[0x0],_0x13b5('0xc')),_0xa58261[_0x13b5('0x21')][_0x13b5('0x1b')](_0xbdc272[_0xbdc272['length']-0x1],_0x13b5('0x12')));_0xa58261[_0x13b5('0x21')][_0x13b5('0x19')](()=>{_0x1b9e1a['markBlockFormat'](_0x384108,{'commandName':_0x5443ec,'commandParams':[],'formatGroupId':_0x13b5('0x16')},function(_0x267794){const _0x275cb6=new Set();for(const _0x26ae1e of _0x267794){let _0x44eabc=_0x26ae1e[_0x13b5('0xf')];for(;_0x44eabc&&_0x44eabc[_0x13b5('0xa')](_0x13b5('0x16'))>_0x26ae1e['getAttribute'](_0x13b5('0x16'));)_0x275cb6['add'](_0x44eabc),_0x44eabc=_0x44eabc[_0x13b5('0xf')];}return Array[_0x13b5('0x2e')](_0x275cb6);}(_0xbdc272));});};}_0x1b9e1a['enableCommand'](_0x13b5('0x2d'),_0x223d35(_0x13b5('0x2d'))),_0x1b9e1a[_0x13b5('0x35')](_0x13b5('0x24'),_0x223d35(_0x13b5('0x24'))),_0x1b0dc0&&_0x1b9e1a[_0x13b5('0x35')]('todoList',_0x223d35(_0x13b5('0x31'))),_0x1b9e1a[_0x13b5('0x35')](_0x13b5('0x3'),_0x3073ad(_0x13b5('0x3'))),_0x1b9e1a[_0x13b5('0x35')](_0x13b5('0x7'),_0x3073ad(_0x13b5('0x7'))),_0x1b0dc0&&_0x1b9e1a[_0x13b5('0x35')]('checkTodoList',()=>{const _0xdbbe91=_0xa58261[_0x13b5('0x33')][_0x13b5('0x1e')](_0x13b5('0xd')),_0xfcd192=Array[_0x13b5('0x2e')](_0xdbbe91[_0x13b5('0x3b')]);_0xfcd192[_0x13b5('0x2f')](_0x2aa2c4=>_0x2aa2c4[_0x13b5('0xa')](_0x13b5('0x15'))!=_0xdbbe91[_0x13b5('0x30')]),_0xa58261[_0x13b5('0x21')][_0x13b5('0x19')](()=>{for(const _0x1782bb of _0xfcd192)_0x1b9e1a[_0x13b5('0x29')](_0x1782bb,{'commandName':_0x13b5('0xd'),'commandParams':[{'forceValue':!_0xdbbe91[_0x13b5('0x30')]}]});});}),_0x1b9e1a[_0x13b5('0x2')]['registerElementLabel'](_0x13b5('0x20'),_0x3f4a26=>_0x2a6c20(_0x401990,_0x13b5('0x22'),_0x3f4a26)),_0x1b9e1a[_0x13b5('0x2')][_0x13b5('0x1')](_0x3d3386=>{const {data:_0x16faa1}=_0x3d3386;if(_0x16faa1){if(_0x13b5('0x2d')==_0x16faa1['commandName']||_0x13b5('0x24')==_0x16faa1[_0x13b5('0x1c')]||'todoList'==_0x16faa1[_0x13b5('0x1c')])switch(_0x16faa1[_0x13b5('0x1c')][_0x13b5('0x5')](_0x13b5('0x26'),'')){case _0x13b5('0x13'):return _0x363821(_0x2a6c20(_0x401990,_0x13b5('0x10')));case'numbered':return _0x363821(_0x2a6c20(_0x401990,_0x13b5('0x2a')));case'todo':return _0x363821(_0x2a6c20(_0x401990,_0x13b5('0x39')));}if(_0x13b5('0x3')==_0x16faa1['commandName'])return{'type':_0x13b5('0x2c'),'content':_0x2a6c20(_0x401990,'*Indent:*\x20%0',_0x2a6c20(_0x401990,_0x13b5('0x22')))};if(_0x13b5('0x7')==_0x16faa1['commandName'])return{'type':_0x13b5('0x2c'),'content':_0x2a6c20(_0x401990,_0x13b5('0x32'),_0x2a6c20(_0x401990,_0x13b5('0x22')))};if(_0x13b5('0xd')==_0x16faa1['commandName'])return _0x16faa1[_0x13b5('0x27')][0x0]['forceValue']?{'type':_0x13b5('0x2c'),'content':_0x2a6c20(_0x401990,'*Check\x20item*')}:{'type':'format','content':_0x2a6c20(_0x401990,_0x13b5('0x8'))};}function _0x363821(_0x11bdc0){return{'type':_0x13b5('0x2c'),'content':_0x2a6c20(_0x401990,_0x13b5('0x3a'),_0x11bdc0)};}});}}function ne(_0xe49a01){const _0x3e0d4b=_0xe49a01[_0x13b5('0xa')](_0x13b5('0x16'));if(0x0==_0x3e0d4b)return _0xe49a01;let _0x58f5bd=_0xe49a01;for(;_0xe49a01[_0x13b5('0x18')]&&_0xe49a01[_0x13b5('0x18')]['is'](_0x13b5('0x1a'),_0x13b5('0x20'));){const _0x5146dd=_0xe49a01['previousSibling']['getAttribute']('listIndent');if(_0x5146dd==_0x3e0d4b)_0x58f5bd=_0xe49a01[_0x13b5('0x18')];else{if(_0x5146dd<_0x3e0d4b)break;}_0xe49a01=_0xe49a01[_0x13b5('0x18')];}return _0x58f5bd;}function oe(_0x2ecf0c){const _0x4d5312=[];if(_0x2ecf0c['is'](_0x13b5('0x1a'),'listItem')&&_0x2ecf0c[_0x13b5('0xa')](_0x13b5('0x16'))>0x0){let _0x1e1e57=_0x2ecf0c[_0x13b5('0xf')];for(;_0x1e1e57&&_0x13b5('0x20')==_0x1e1e57[_0x13b5('0xe')]&&_0x1e1e57[_0x13b5('0xa')](_0x13b5('0x16'))==_0x2ecf0c[_0x13b5('0xa')](_0x13b5('0x16'));)_0x4d5312['push'](_0x1e1e57),_0x1e1e57=_0x1e1e57['nextSibling'];}return _0x4d5312;}
23
+ const _0x43ac=['add','format','get','ELEMENT_BULLETED_LIST','execute','getSelectedBlocks','parent','from','*Outdent:*\x20%0','_selectedElements','getAttribute','selection','*Change\x20to:*\x20%0','registerElementLabel','document','previousSibling','commandParams','name','length','commandName','afterInit','_descriptionFactory','schema','bulleted','commands','markBlockFormat','enableCommand','filter','nextSibling','checkTodoList','slice','checkChild','ELEMENT_LIST_ITEM','TrackChangesEditing','plugins','element','model','outdentList','replace','registerDescriptionCallback','numbered','ELEMENT_TODO_LIST','ELEMENT_NUMBERED_LIST','blockName','findIndex','TodoListEditing','editor','before','forceValue','has','numberedList','isObject','createPositionAt','listItem','listIndent','indentList','todoList','locale','paragraph','*Indent:*\x20%0','change','value','bulletedList','ListEditing','*Check\x20item*'];(function(_0x45bad6,_0x43ac1b){const _0x5133c4=function(_0x5dc71d){while(--_0x5dc71d){_0x45bad6['push'](_0x45bad6['shift']());}};_0x5133c4(++_0x43ac1b);}(_0x43ac,0x189));const _0x5133=function(_0x45bad6,_0x43ac1b){_0x45bad6=_0x45bad6-0x0;let _0x5133c4=_0x43ac[_0x45bad6];return _0x5133c4;};import{Plugin as _0x27788e}from'ckeditor5/src/core';import{getTranslation as _0x48b0fe}from'../utils/common-translations';export default class st extends _0x27788e{[_0x5133('0x11')](){const _0xda6c95=this[_0x5133('0x2b')],_0x41ba94=_0xda6c95[_0x5133('0x36')];if(!_0xda6c95[_0x5133('0x1f')][_0x5133('0x2e')](_0x5133('0x3c')))return;const _0x569f5e=_0xda6c95[_0x5133('0x1f')][_0x5133('0x40')](_0x5133('0x1e')),_0x5bc39e=_0xda6c95['plugins']['has'](_0x5133('0x2a'));function _0x3f3512(_0x4a048f){return()=>{const _0x26d29b=_0xda6c95[_0x5133('0x21')]['document']['selection'],_0x5dc32d=_0xda6c95[_0x5133('0x15')][_0x5133('0x40')](_0x4a048f);if(_0x5dc32d['value'])return void _0xda6c95[_0x5133('0x1')](_0x5133('0x37'),{});const _0x255583=_0x4a048f['slice'](0x0,-0x4),_0x504e32=function(_0x15520f,_0x62970f,_0x31bfb4){let _0xfecbb=Array[_0x5133('0x4')](_0x15520f)[_0x5133('0x18')](_0x59c3bb=>function(_0x33c3df,_0x5ce35a){return _0x5ce35a[_0x5133('0x1c')](_0x33c3df[_0x5133('0x3')],_0x5133('0x32'))&&!_0x5ce35a[_0x5133('0x30')](_0x33c3df);}(_0x59c3bb,_0x31bfb4));_0xfecbb=_0xfecbb[_0x5133('0x18')](_0x33450a=>!_0x33450a['is'](_0x5133('0x20'),_0x5133('0x32'))||_0x33450a[_0x5133('0x7')]('listType')!=_0x62970f);const _0x525967=new Set();for(const _0x33cf34 of _0xfecbb)_0x33cf34['is'](_0x5133('0x20'),_0x5133('0x32'))?_0x525967[_0x5133('0x3e')](ne(_0x33cf34)):_0x525967['add'](_0x33cf34);return Array[_0x5133('0x4')](_0x525967);}(_0x26d29b[_0x5133('0x2')](),_0x255583,_0xda6c95[_0x5133('0x21')][_0x5133('0x13')]);_0xda6c95[_0x5133('0x21')][_0x5133('0x39')](()=>{for(const _0x29476e of _0x504e32)_0x569f5e[_0x5133('0x16')](_0x29476e,{'commandName':_0x4a048f,'commandParams':[{'forceValue':!_0x5dc32d['value']}],'formatGroupId':_0x5133('0x28')},oe(_0x29476e));});};}function _0x5b6082(_0x56fdb5){return()=>{const _0x3eaa45=function(_0x312664){let _0x4d702d=Array['from'](_0x312664);const _0x3cf0ae=_0x4d702d[_0x5133('0x29')](_0x397a2a=>'listItem'!=_0x397a2a[_0x5133('0xe')]);return _0x3cf0ae>-0x1&&(_0x4d702d=_0x4d702d[_0x5133('0x1b')](0x0,_0x3cf0ae)),_0x4d702d;}(_0xda6c95[_0x5133('0x21')][_0x5133('0xb')][_0x5133('0x8')][_0x5133('0x2')]()),_0x4a1599=_0xda6c95[_0x5133('0x21')]['createRange'](_0xda6c95[_0x5133('0x21')][_0x5133('0x31')](_0x3eaa45[0x0],_0x5133('0x2c')),_0xda6c95[_0x5133('0x21')][_0x5133('0x31')](_0x3eaa45[_0x3eaa45[_0x5133('0xf')]-0x1],'end'));_0xda6c95[_0x5133('0x21')][_0x5133('0x39')](()=>{_0x569f5e['markBlockFormat'](_0x4a1599,{'commandName':_0x56fdb5,'commandParams':[],'formatGroupId':_0x5133('0x33')},function(_0x55dbb9){const _0x38754d=new Set();for(const _0x3fd46a of _0x55dbb9){let _0x36018e=_0x3fd46a[_0x5133('0x19')];for(;_0x36018e&&_0x36018e[_0x5133('0x7')](_0x5133('0x33'))>_0x3fd46a[_0x5133('0x7')](_0x5133('0x33'));)_0x38754d[_0x5133('0x3e')](_0x36018e),_0x36018e=_0x36018e['nextSibling'];}return Array[_0x5133('0x4')](_0x38754d);}(_0x3eaa45));});};}_0x569f5e[_0x5133('0x17')](_0x5133('0x2f'),_0x3f3512(_0x5133('0x2f'))),_0x569f5e[_0x5133('0x17')](_0x5133('0x3b'),_0x3f3512('bulletedList')),_0x5bc39e&&_0x569f5e[_0x5133('0x17')](_0x5133('0x35'),_0x3f3512(_0x5133('0x35'))),_0x569f5e[_0x5133('0x17')](_0x5133('0x34'),_0x5b6082('indentList')),_0x569f5e[_0x5133('0x17')](_0x5133('0x22'),_0x5b6082(_0x5133('0x22'))),_0x5bc39e&&_0x569f5e[_0x5133('0x17')](_0x5133('0x1a'),()=>{const _0x520ccd=_0xda6c95['commands'][_0x5133('0x40')](_0x5133('0x1a')),_0x35f013=Array[_0x5133('0x4')](_0x520ccd[_0x5133('0x6')]);_0x35f013[_0x5133('0x18')](_0x45a5ce=>_0x45a5ce[_0x5133('0x7')]('todoListChecked')!=_0x520ccd[_0x5133('0x3a')]),_0xda6c95['model'][_0x5133('0x39')](()=>{for(const _0x5952d2 of _0x35f013)_0x569f5e['markBlockFormat'](_0x5952d2,{'commandName':_0x5133('0x1a'),'commandParams':[{'forceValue':!_0x520ccd[_0x5133('0x3a')]}]});});}),_0x569f5e[_0x5133('0x12')][_0x5133('0xa')]('listItem',_0x577f6f=>_0x48b0fe(_0x41ba94,_0x5133('0x1d'),_0x577f6f)),_0x569f5e[_0x5133('0x12')][_0x5133('0x24')](_0x251c29=>{const {data:_0x15faab}=_0x251c29;if(_0x15faab){if(_0x5133('0x2f')==_0x15faab['commandName']||_0x5133('0x3b')==_0x15faab[_0x5133('0x10')]||'todoList'==_0x15faab[_0x5133('0x10')])switch(_0x15faab[_0x5133('0x10')][_0x5133('0x23')]('List','')){case _0x5133('0x14'):return _0x3fca90(_0x48b0fe(_0x41ba94,_0x5133('0x0')));case _0x5133('0x25'):return _0x3fca90(_0x48b0fe(_0x41ba94,_0x5133('0x27')));case'todo':return _0x3fca90(_0x48b0fe(_0x41ba94,_0x5133('0x26')));}if(_0x5133('0x34')==_0x15faab[_0x5133('0x10')])return{'type':_0x5133('0x3f'),'content':_0x48b0fe(_0x41ba94,_0x5133('0x38'),_0x48b0fe(_0x41ba94,_0x5133('0x1d')))};if(_0x5133('0x22')==_0x15faab[_0x5133('0x10')])return{'type':_0x5133('0x3f'),'content':_0x48b0fe(_0x41ba94,_0x5133('0x5'),_0x48b0fe(_0x41ba94,_0x5133('0x1d')))};if(_0x5133('0x1a')==_0x15faab['commandName'])return _0x15faab[_0x5133('0xd')][0x0][_0x5133('0x2d')]?{'type':_0x5133('0x3f'),'content':_0x48b0fe(_0x41ba94,_0x5133('0x3d'))}:{'type':_0x5133('0x3f'),'content':_0x48b0fe(_0x41ba94,'*Uncheck\x20item*')};}function _0x3fca90(_0x61bd9){return{'type':_0x5133('0x3f'),'content':_0x48b0fe(_0x41ba94,_0x5133('0x9'),_0x61bd9)};}});}}function ne(_0x59675f){const _0x419326=_0x59675f[_0x5133('0x7')](_0x5133('0x33'));if(0x0==_0x419326)return _0x59675f;let _0x3cd15a=_0x59675f;for(;_0x59675f[_0x5133('0xc')]&&_0x59675f[_0x5133('0xc')]['is'](_0x5133('0x20'),'listItem');){const _0x32e397=_0x59675f[_0x5133('0xc')]['getAttribute'](_0x5133('0x33'));if(_0x32e397==_0x419326)_0x3cd15a=_0x59675f['previousSibling'];else{if(_0x32e397<_0x419326)break;}_0x59675f=_0x59675f[_0x5133('0xc')];}return _0x3cd15a;}function oe(_0x15458d){const _0x41bc19=[];if(_0x15458d['is'](_0x5133('0x20'),_0x5133('0x32'))&&_0x15458d['getAttribute'](_0x5133('0x33'))>0x0){let _0x2185bb=_0x15458d[_0x5133('0x19')];for(;_0x2185bb&&_0x5133('0x32')==_0x2185bb[_0x5133('0xe')]&&_0x2185bb[_0x5133('0x7')]('listIndent')==_0x15458d[_0x5133('0x7')](_0x5133('0x33'));)_0x41bc19['push'](_0x2185bb),_0x2185bb=_0x2185bb['nextSibling'];}return _0x41bc19;}