@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20230822.0 → 0.0.0-nightly-20230823.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 _0x5be7=['FontBackgroundColorEditing','*Reset\x20font\x20background\x20color*','from','FontSize','get','commandName','fontBackgroundColor','fontColor.colors','normalizeSizeOptions','FontColorEditing','fontColor','format','registerDescriptionCallback','locale','isCollapsed','model','document','editor','*Set\x20font\x20background\x20color:*\x20%0','*Reset\x20font\x20family*','_enableCommand','fontBackgroundColor.colors','has','TrackChangesEditing','config','find','toLowerCase','value','afterInit','fontFamily','*Set\x20font\x20color:*\x20%0','commandParams','plugins','label','*Set\x20font\x20size:*\x20%0','change','title','trim'];(function(_0x3f0cf1,_0x5be776){const _0x349db1=function(_0x1ff6ee){while(--_0x1ff6ee){_0x3f0cf1['push'](_0x3f0cf1['shift']());}};_0x349db1(++_0x5be776);}(_0x5be7,0x16d));const _0x349d=function(_0x3f0cf1,_0x5be776){_0x3f0cf1=_0x3f0cf1-0x0;let _0x349db1=_0x5be7[_0x3f0cf1];return _0x349db1;};import{Plugin as _0x1b2a20}from'ckeditor5/src/core';import{normalizeColorOptions as _0x409401}from'ckeditor5/src/ui';import{getRangesWithAttribute as _0x3375b0}from'./utils';import{getTranslation as _0x2bf423}from'../utils/common-translations';const Zt=[{'pluginName':'FontSizeEditing','commandName':'fontSize'},{'pluginName':'FontFamilyEditing','commandName':_0x349d('0x6')},{'pluginName':_0x349d('0x18'),'commandName':_0x349d('0x19')},{'pluginName':_0x349d('0xf'),'commandName':_0x349d('0x15')}];export default class H extends _0x1b2a20{[_0x349d('0x5')](){const _0x48af2b=this[_0x349d('0x20')][_0x349d('0x1c')];for(const {pluginName:_0xa37b7f,commandName:_0x3ba26e}of Zt)this[_0x349d('0x20')][_0x349d('0x9')][_0x349d('0x25')](_0xa37b7f)&&this[_0x349d('0x23')](_0x3ba26e);this[_0x349d('0x20')][_0x349d('0x9')][_0x349d('0x13')](_0x349d('0x0'))['_descriptionFactory'][_0x349d('0x1b')](_0x37a4c2=>{const _0x1ff3fa=_0x48af2b['t'],{data:_0x1e3f4d}=_0x37a4c2;if(null!=_0x1e3f4d){if('fontSize'==_0x1e3f4d[_0x349d('0x14')]){const _0x147957=_0x1e3f4d['commandParams'][0x0][_0x349d('0x4')];if(_0x147957){const _0x3984f3=_0x1ff3fa(this['editor']['plugins'][_0x349d('0x13')](_0x349d('0x12'))[_0x349d('0x17')](this[_0x349d('0x20')][_0x349d('0x1')][_0x349d('0x13')]('fontSize.options'))[_0x349d('0x2')](_0x626b0c=>_0x626b0c['model']==_0x147957)[_0x349d('0xd')])[_0x349d('0x3')]();return{'type':_0x349d('0x1a'),'content':_0x2bf423(_0x48af2b,_0x349d('0xb'),_0x3984f3)};}return{'type':_0x349d('0x1a'),'content':_0x2bf423(_0x48af2b,'*Reset\x20font\x20size*')};}if(_0x349d('0x6')==_0x1e3f4d[_0x349d('0x14')]){const _0x19f129=_0x1e3f4d[_0x349d('0x8')][0x0][_0x349d('0x4')];return _0x19f129?{'type':_0x349d('0x1a'),'content':_0x2bf423(_0x48af2b,'*Set\x20font\x20family:*\x20%0',_0x19f129)}:{'type':'format','content':_0x2bf423(_0x48af2b,_0x349d('0x22'))};}if(_0x349d('0x19')==_0x1e3f4d[_0x349d('0x14')]){const _0x41bbaf=_0x1e3f4d[_0x349d('0x8')][0x0][_0x349d('0x4')];if(_0x41bbaf){const _0x51851e=_0x409401(this['editor']['config'][_0x349d('0x13')](_0x349d('0x16')))[_0x349d('0x2')](_0x6855cd=>_0x6855cd[_0x349d('0x1e')]==_0x41bbaf);let _0x42ec16=_0x41bbaf,_0x217193='';return _0x51851e&&(_0x42ec16=_0x51851e[_0x349d('0xa')],_0x217193=_0x1ff3fa(_0x42ec16)['toLowerCase']()),{'type':_0x349d('0x1a'),'content':_0x2bf423(_0x48af2b,_0x349d('0x7'),_0x217193)[_0x349d('0xe')](),'color':{'value':_0x41bbaf,'title':_0x217193||_0x42ec16}};}return{'type':_0x349d('0x1a'),'content':_0x2bf423(_0x48af2b,'*Reset\x20font\x20color*')};}if(_0x349d('0x15')==_0x1e3f4d[_0x349d('0x14')]){const _0x3e7671=_0x1e3f4d[_0x349d('0x8')][0x0][_0x349d('0x4')];if(_0x3e7671){const _0x39edbd=_0x409401(this[_0x349d('0x20')][_0x349d('0x1')][_0x349d('0x13')](_0x349d('0x24')))[_0x349d('0x2')](_0x3715e5=>_0x3715e5[_0x349d('0x1e')]==_0x3e7671);let _0xae0c91=_0x3e7671,_0x40c250='';return _0x39edbd&&(_0xae0c91=_0x39edbd[_0x349d('0xa')],_0x40c250=_0x1ff3fa(_0xae0c91)[_0x349d('0x3')]()),{'type':_0x349d('0x1a'),'content':_0x2bf423(_0x48af2b,_0x349d('0x21'),_0x40c250)[_0x349d('0xe')](),'color':{'value':_0x3e7671,'title':_0x40c250||_0xae0c91}};}return{'type':_0x349d('0x1a'),'content':_0x2bf423(_0x48af2b,_0x349d('0x10'))};}}});}['_enableCommand'](_0x5ee092){const _0x2b8ce0=this[_0x349d('0x20')];_0x2b8ce0[_0x349d('0x9')][_0x349d('0x13')](_0x349d('0x0'))['enableCommand'](_0x5ee092,(_0x5f4a90,_0x2226cd={})=>{const _0x5c690d=_0x2b8ce0[_0x349d('0x1e')][_0x349d('0x1f')]['selection'],_0x2094ba=_0x2226cd[_0x349d('0x4')];_0x5c690d[_0x349d('0x1d')]?_0x5f4a90(_0x2226cd):_0x2b8ce0[_0x349d('0x1e')][_0x349d('0xc')](()=>{const _0x19715f=Array[_0x349d('0x11')](_0x5c690d['getRanges']());for(const _0x3acce1 of _0x19715f){const _0x68df2c=_0x2094ba?[_0x3acce1]:_0x3375b0(_0x5ee092,_0x3acce1,_0x2b8ce0[_0x349d('0x1e')]);for(const _0x60be80 of _0x68df2c)_0x2b8ce0['plugins'][_0x349d('0x13')]('TrackChangesEditing')['markInlineFormat'](_0x60be80,{'commandName':_0x5ee092,'commandParams':[{'value':_0x2094ba}]});}});});}}
23
+ const _0x1a69=['config','locale','getRanges','*Set\x20font\x20color:*\x20%0','FontFamilyEditing','FontSizeEditing','fontSize.options','*Set\x20font\x20background\x20color:*\x20%0','get','fontColor.colors','TrackChangesEditing','*Reset\x20font\x20background\x20color*','change','commandName','value','*Reset\x20font\x20color*','_enableCommand','fontFamily','*Set\x20font\x20family:*\x20%0','from','title','fontSize','label','format','plugins','enableCommand','FontColorEditing','commandParams','fontBackgroundColor.colors','_descriptionFactory','isCollapsed','*Set\x20font\x20size:*\x20%0','toLowerCase','afterInit','fontBackgroundColor','has','document','*Reset\x20font\x20size*','model','trim','editor','find','normalizeSizeOptions','selection'];(function(_0x4b9ff0,_0x1a69cb){const _0x10cefe=function(_0x56c208){while(--_0x56c208){_0x4b9ff0['push'](_0x4b9ff0['shift']());}};_0x10cefe(++_0x1a69cb);}(_0x1a69,0x1a1));const _0x10ce=function(_0x4b9ff0,_0x1a69cb){_0x4b9ff0=_0x4b9ff0-0x0;let _0x10cefe=_0x1a69[_0x4b9ff0];return _0x10cefe;};import{Plugin as _0x4220c7}from'ckeditor5/src/core';import{normalizeColorOptions as _0x5b9814}from'ckeditor5/src/ui';import{getRangesWithAttribute as _0x801d4f}from'./utils';import{getTranslation as _0xfc71dc}from'../utils/common-translations';const Zt=[{'pluginName':_0x10ce('0x1c'),'commandName':_0x10ce('0x0')},{'pluginName':_0x10ce('0x1b'),'commandName':_0x10ce('0x28')},{'pluginName':_0x10ce('0x5'),'commandName':'fontColor'},{'pluginName':'FontBackgroundColorEditing','commandName':_0x10ce('0xd')}];export default class H extends _0x4220c7{[_0x10ce('0xc')](){const _0x5ec1f3=this[_0x10ce('0x13')][_0x10ce('0x18')];for(const {pluginName:_0x3e1984,commandName:_0x273635}of Zt)this[_0x10ce('0x13')][_0x10ce('0x3')][_0x10ce('0xe')](_0x3e1984)&&this[_0x10ce('0x27')](_0x273635);this[_0x10ce('0x13')][_0x10ce('0x3')][_0x10ce('0x1f')](_0x10ce('0x21'))[_0x10ce('0x8')]['registerDescriptionCallback'](_0x1efcbf=>{const _0x20efcb=_0x5ec1f3['t'],{data:_0x53d358}=_0x1efcbf;if(null!=_0x53d358){if(_0x10ce('0x0')==_0x53d358[_0x10ce('0x24')]){const _0x52f73d=_0x53d358[_0x10ce('0x6')][0x0]['value'];if(_0x52f73d){const _0x49bddd=_0x20efcb(this[_0x10ce('0x13')][_0x10ce('0x3')][_0x10ce('0x1f')]('FontSize')[_0x10ce('0x15')](this['editor'][_0x10ce('0x17')]['get'](_0x10ce('0x1d')))[_0x10ce('0x14')](_0x130ecd=>_0x130ecd[_0x10ce('0x11')]==_0x52f73d)[_0x10ce('0x2b')])[_0x10ce('0xb')]();return{'type':_0x10ce('0x2'),'content':_0xfc71dc(_0x5ec1f3,_0x10ce('0xa'),_0x49bddd)};}return{'type':_0x10ce('0x2'),'content':_0xfc71dc(_0x5ec1f3,_0x10ce('0x10'))};}if('fontFamily'==_0x53d358[_0x10ce('0x24')]){const _0x565ea5=_0x53d358[_0x10ce('0x6')][0x0][_0x10ce('0x25')];return _0x565ea5?{'type':_0x10ce('0x2'),'content':_0xfc71dc(_0x5ec1f3,_0x10ce('0x29'),_0x565ea5)}:{'type':_0x10ce('0x2'),'content':_0xfc71dc(_0x5ec1f3,'*Reset\x20font\x20family*')};}if('fontColor'==_0x53d358['commandName']){const _0xbdd4=_0x53d358[_0x10ce('0x6')][0x0][_0x10ce('0x25')];if(_0xbdd4){const _0x38f66a=_0x5b9814(this['editor'][_0x10ce('0x17')][_0x10ce('0x1f')](_0x10ce('0x20')))[_0x10ce('0x14')](_0x4cbac4=>_0x4cbac4[_0x10ce('0x11')]==_0xbdd4);let _0x19b50f=_0xbdd4,_0x3358ff='';return _0x38f66a&&(_0x19b50f=_0x38f66a[_0x10ce('0x1')],_0x3358ff=_0x20efcb(_0x19b50f)[_0x10ce('0xb')]()),{'type':_0x10ce('0x2'),'content':_0xfc71dc(_0x5ec1f3,_0x10ce('0x1a'),_0x3358ff)[_0x10ce('0x12')](),'color':{'value':_0xbdd4,'title':_0x3358ff||_0x19b50f}};}return{'type':_0x10ce('0x2'),'content':_0xfc71dc(_0x5ec1f3,_0x10ce('0x26'))};}if(_0x10ce('0xd')==_0x53d358[_0x10ce('0x24')]){const _0x567054=_0x53d358[_0x10ce('0x6')][0x0]['value'];if(_0x567054){const _0x20eab2=_0x5b9814(this[_0x10ce('0x13')][_0x10ce('0x17')][_0x10ce('0x1f')](_0x10ce('0x7')))[_0x10ce('0x14')](_0x472494=>_0x472494[_0x10ce('0x11')]==_0x567054);let _0x2fe671=_0x567054,_0x5410ff='';return _0x20eab2&&(_0x2fe671=_0x20eab2['label'],_0x5410ff=_0x20efcb(_0x2fe671)[_0x10ce('0xb')]()),{'type':_0x10ce('0x2'),'content':_0xfc71dc(_0x5ec1f3,_0x10ce('0x1e'),_0x5410ff)['trim'](),'color':{'value':_0x567054,'title':_0x5410ff||_0x2fe671}};}return{'type':_0x10ce('0x2'),'content':_0xfc71dc(_0x5ec1f3,_0x10ce('0x22'))};}}});}[_0x10ce('0x27')](_0x4a75e5){const _0x1c40c2=this[_0x10ce('0x13')];_0x1c40c2[_0x10ce('0x3')][_0x10ce('0x1f')]('TrackChangesEditing')[_0x10ce('0x4')](_0x4a75e5,(_0x723f9d,_0x5a3d3f={})=>{const _0x566543=_0x1c40c2[_0x10ce('0x11')][_0x10ce('0xf')][_0x10ce('0x16')],_0x1e0c1e=_0x5a3d3f[_0x10ce('0x25')];_0x566543[_0x10ce('0x9')]?_0x723f9d(_0x5a3d3f):_0x1c40c2[_0x10ce('0x11')][_0x10ce('0x23')](()=>{const _0x3f9819=Array[_0x10ce('0x2a')](_0x566543[_0x10ce('0x19')]());for(const _0xf577ca of _0x3f9819){const _0x57af4f=_0x1e0c1e?[_0xf577ca]:_0x801d4f(_0x4a75e5,_0xf577ca,_0x1c40c2[_0x10ce('0x11')]);for(const _0x2e4527 of _0x57af4f)_0x1c40c2[_0x10ce('0x3')]['get'](_0x10ce('0x21'))['markInlineFormat'](_0x2e4527,{'commandName':_0x4a75e5,'commandParams':[{'value':_0x1e0c1e}]});}});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x54ec=['locale','getSelectedBlocks','backward','format','fontBackgroundColor','document','getItems','enableCommand','boolean','toLowerCase','commands','_descriptionFactory','join','change','length','getAttributes','label','getRanges','config','TrackChangesEditing','fontColor.colors','createRange','editor','fontSize.options','plugins','isBlock','model','keys','getAttributeProperties','normalizeSizeOptions','*Remove\x20all\x20formatting*','slice','word','commandParams','getFirstPosition','find','registerDescriptionCallback','fontSize','schema','forward','isFormatting','title','toUpperCase','createSelection','isCollapsed','entries','get','copyFormat','charAt','fontColor','pasteFormat','commandName','from','getLastPosition'];(function(_0x44fe30,_0x54ec6f){const _0x19bd6d=function(_0x52f17f){while(--_0x52f17f){_0x44fe30['push'](_0x44fe30['shift']());}};_0x19bd6d(++_0x54ec6f);}(_0x54ec,0x186));const _0x19bd=function(_0x44fe30,_0x54ec6f){_0x44fe30=_0x44fe30-0x0;let _0x19bd6d=_0x54ec[_0x44fe30];return _0x19bd6d;};import{Plugin as _0x1c06c4}from'ckeditor5/src/core';import{normalizeColorOptions as _0x16649b}from'ckeditor5/src/ui';import{first as _0x59d990}from'ckeditor5/src/utils';import{getTranslation as _0x589803}from'../utils/common-translations';export default class W extends _0x1c06c4{['afterInit'](){const _0x5d8d2b=this[_0x19bd('0xa')],_0xdfe197=_0x5d8d2b[_0x19bd('0xe')],_0x56b36e=_0xdfe197[_0x19bd('0x2f')]['selection'],_0x16cd4e=_0x5d8d2b[_0x19bd('0xc')][_0x19bd('0x22')](_0x19bd('0x7')),_0x4035dd=_0x5d8d2b['locale'],_0x5121d0=_0x5d8d2b['commands']['get'](_0x19bd('0x23')),_0x4f6dfa=_0x5d8d2b[_0x19bd('0x34')][_0x19bd('0x22')](_0x19bd('0x26'));_0x5121d0&&_0x4f6dfa&&(_0x16cd4e[_0x19bd('0x31')](_0x19bd('0x26'),(_0x1cdb8f,_0x2ef7e2={})=>{const _0x412a46=_0x2ef7e2;_0xdfe197[_0x19bd('0x1')](()=>{const _0x24ca12=Array[_0x19bd('0x28')](_0x56b36e[_0x19bd('0x5')]()),_0x1ec8fb=_0x56b36e[_0x19bd('0x20')]?[no(_0xdfe197,_0x56b36e)]:_0x24ca12,_0x6a1c55=!!_0x59d990(function*(_0x42c2c6,_0x45b80b){const _0x26f472=_0x450098=>!!_0x59d990(function*(_0x1e8d89,_0x1f2a5b){for(const [_0x21a780]of _0x1e8d89[_0x19bd('0x3')]()){const _0x12b7a5=_0x1f2a5b[_0x19bd('0x10')](_0x21a780);_0x12b7a5&&_0x12b7a5[_0x19bd('0x1c')]&&(yield _0x21a780);}}(_0x450098,_0x45b80b));for(const _0x6afa21 of _0x42c2c6[_0x19bd('0x5')]())for(const _0x51b517 of _0x6afa21[_0x19bd('0x30')]())!_0x45b80b[_0x19bd('0xd')](_0x51b517)&&_0x26f472(_0x51b517)&&(yield _0x51b517);for(const _0x48e9cc of _0x42c2c6[_0x19bd('0x2b')]())_0x26f472(_0x48e9cc)&&(yield _0x48e9cc);_0x26f472(_0x42c2c6)&&(yield _0x42c2c6);}(_0x56b36e,_0xdfe197[_0x19bd('0x1a')]));if(_0x6a1c55||0x0!==Object[_0x19bd('0xf')](_0x412a46)['length'])for(const _0xad69d3 of _0x1ec8fb)_0x16cd4e['markInlineFormat'](_0xad69d3,{'commandName':_0x19bd('0x26'),'commandParams':[_0x412a46]});});}),_0x16cd4e[_0x19bd('0x35')][_0x19bd('0x18')](_0x4d8b8a=>{const {data:_0x3a52ef}=_0x4d8b8a;if(_0x3a52ef&&'pasteFormat'===_0x3a52ef[_0x19bd('0x27')]){const _0xeea7d3=[],_0x21b343=_0x3a52ef[_0x19bd('0x15')][0x0];for(const [_0x51eb86,_0x1e967c]of Object[_0x19bd('0x21')](_0x21b343))_0xeea7d3['push'](co(_0x5d8d2b,_0x51eb86,_0x1e967c));return _0xeea7d3[_0x19bd('0x2')]?{'type':_0x19bd('0x2d'),'content':_0x589803(_0x4035dd,'*Set\x20format\x20to:*\x20%0',_0xeea7d3[_0x19bd('0x0')](',\x20'))}:{'type':_0x19bd('0x2d'),'content':_0x589803(_0x4035dd,_0x19bd('0x12'))};}}),_0x5d8d2b[_0x19bd('0xc')][_0x19bd('0x22')](_0x19bd('0x7'))[_0x19bd('0x31')](_0x19bd('0x23')));}}function no(_0x426fb3,_0x87b839){const _0x47d74e=_0x426fb3[_0x19bd('0x1f')](_0x87b839);_0x426fb3['modifySelection'](_0x47d74e,{'unit':_0x19bd('0x14'),'direction':_0x19bd('0x2c')});const _0x5465e5=_0x47d74e[_0x19bd('0x16')]();_0x426fb3['modifySelection'](_0x47d74e,{'unit':'word','direction':_0x19bd('0x1b')});const _0xc03bf7=_0x47d74e[_0x19bd('0x29')]();return _0x426fb3[_0x19bd('0x9')](_0x5465e5,_0xc03bf7);}function co(_0x57bf9a,_0x125876,_0x4d9b0a){const _0x31da64=_0x57bf9a[_0x19bd('0x2a')]['t'],_0x5587fb=_0x125876['split'](/(?=[A-Z])/)[_0x19bd('0x0')]('\x20'),_0x30c478=_0x31da64(_0x5587fb[_0x19bd('0x24')](0x0)[_0x19bd('0x1e')]()+_0x5587fb[_0x19bd('0x13')](0x1))[_0x19bd('0x33')]();if(_0x19bd('0x32')==typeof _0x4d9b0a)return _0x30c478;if(_0x19bd('0x25')===_0x125876||_0x19bd('0x2e')===_0x125876){const _0x40aa30=_0x16649b(_0x57bf9a['config'][_0x19bd('0x22')](_0x19bd('0x8')))[_0x19bd('0x17')](_0x594758=>_0x594758['model']==_0x4d9b0a);return _0x30c478+'\x20('+(_0x40aa30?_0x31da64(_0x40aa30[_0x19bd('0x4')])['toLowerCase']():_0x4d9b0a)+')';}if(_0x19bd('0x19')===_0x125876&&isNaN(parseFloat(_0x4d9b0a))){const _0x300a7d=_0x57bf9a[_0x19bd('0xc')]['get']('FontSize')[_0x19bd('0x11')](_0x57bf9a[_0x19bd('0x6')][_0x19bd('0x22')](_0x19bd('0xb')))[_0x19bd('0x17')](_0x4be9c2=>_0x4be9c2[_0x19bd('0xe')]==_0x4d9b0a);return _0x30c478+'\x20('+(_0x300a7d?_0x31da64(_0x300a7d[_0x19bd('0x1d')])[_0x19bd('0x33')]():_0x4d9b0a)+')';}return _0x30c478+'\x20('+_0x4d9b0a+')';}
23
+ const _0x59d4=['editor','fontColor','commands','get','charAt','label','registerDescriptionCallback','commandParams','TrackChangesEditing','getItems','config','from','model','change','getAttributes','createSelection','toUpperCase','getSelectedBlocks','format','getRanges','push','join','*Remove\x20all\x20formatting*','fontBackgroundColor','FontSize','isCollapsed','backward','toLowerCase','pasteFormat','afterInit','find','getLastPosition','markInlineFormat','normalizeSizeOptions','forward','isFormatting','word','modifySelection','*Set\x20format\x20to:*\x20%0','copyFormat','schema','selection','keys','length','entries','createRange','getAttributeProperties','fontSize','plugins','enableCommand','title'];(function(_0x2681da,_0x59d4b3){const _0x10e2e7=function(_0x3fccaa){while(--_0x3fccaa){_0x2681da['push'](_0x2681da['shift']());}};_0x10e2e7(++_0x59d4b3);}(_0x59d4,0x105));const _0x10e2=function(_0x2681da,_0x59d4b3){_0x2681da=_0x2681da-0x0;let _0x10e2e7=_0x59d4[_0x2681da];return _0x10e2e7;};import{Plugin as _0x4fe875}from'ckeditor5/src/core';import{normalizeColorOptions as _0x4be2c0}from'ckeditor5/src/ui';import{first as _0x4ca0e2}from'ckeditor5/src/utils';import{getTranslation as _0x5ece7d}from'../utils/common-translations';export default class W extends _0x4fe875{[_0x10e2('0x17')](){const _0xd8ca45=this[_0x10e2('0x2d')],_0x51552f=_0xd8ca45['model'],_0x25a4d4=_0x51552f['document'][_0x10e2('0x23')],_0x370ff2=_0xd8ca45[_0x10e2('0x2a')][_0x10e2('0x30')](_0x10e2('0x2')),_0xa5fd56=_0xd8ca45['locale'],_0x2e728f=_0xd8ca45['commands'][_0x10e2('0x30')](_0x10e2('0x21')),_0x3e9859=_0xd8ca45[_0x10e2('0x2f')][_0x10e2('0x30')](_0x10e2('0x16'));_0x2e728f&&_0x3e9859&&(_0x370ff2[_0x10e2('0x2b')](_0x10e2('0x16'),(_0x1c975a,_0x54ca45={})=>{const _0x18811b=_0x54ca45;_0x51552f[_0x10e2('0x7')](()=>{const _0x1a3c07=Array[_0x10e2('0x5')](_0x25a4d4[_0x10e2('0xd')]()),_0x509628=_0x25a4d4[_0x10e2('0x13')]?[ro(_0x51552f,_0x25a4d4)]:_0x1a3c07,_0x1644b2=!!_0x4ca0e2(function*(_0x284c42,_0x8e6579){const _0x328e8b=_0x2778ee=>!!_0x4ca0e2(function*(_0x5829a7,_0x158664){for(const [_0x4e4e4d]of _0x5829a7[_0x10e2('0x8')]()){const _0xb1c2cf=_0x158664[_0x10e2('0x28')](_0x4e4e4d);_0xb1c2cf&&_0xb1c2cf[_0x10e2('0x1d')]&&(yield _0x4e4e4d);}}(_0x2778ee,_0x8e6579));for(const _0x3635e9 of _0x284c42[_0x10e2('0xd')]())for(const _0x341f29 of _0x3635e9[_0x10e2('0x3')]())!_0x8e6579['isBlock'](_0x341f29)&&_0x328e8b(_0x341f29)&&(yield _0x341f29);for(const _0x3c9305 of _0x284c42[_0x10e2('0xb')]())_0x328e8b(_0x3c9305)&&(yield _0x3c9305);_0x328e8b(_0x284c42)&&(yield _0x284c42);}(_0x25a4d4,_0x51552f[_0x10e2('0x22')]));if(_0x1644b2||0x0!==Object[_0x10e2('0x24')](_0x18811b)[_0x10e2('0x25')])for(const _0x2fba5f of _0x509628)_0x370ff2[_0x10e2('0x1a')](_0x2fba5f,{'commandName':_0x10e2('0x16'),'commandParams':[_0x18811b]});});}),_0x370ff2['_descriptionFactory'][_0x10e2('0x0')](_0x2e1fd4=>{const {data:_0x1d0032}=_0x2e1fd4;if(_0x1d0032&&_0x10e2('0x16')===_0x1d0032['commandName']){const _0x318b47=[],_0x35287e=_0x1d0032[_0x10e2('0x1')][0x0];for(const [_0x88d19,_0xe919ce]of Object[_0x10e2('0x26')](_0x35287e))_0x318b47[_0x10e2('0xe')](no(_0xd8ca45,_0x88d19,_0xe919ce));return _0x318b47['length']?{'type':_0x10e2('0xc'),'content':_0x5ece7d(_0xa5fd56,_0x10e2('0x20'),_0x318b47[_0x10e2('0xf')](',\x20'))}:{'type':_0x10e2('0xc'),'content':_0x5ece7d(_0xa5fd56,_0x10e2('0x10'))};}}),_0xd8ca45[_0x10e2('0x2a')][_0x10e2('0x30')](_0x10e2('0x2'))[_0x10e2('0x2b')]('copyFormat'));}}function ro(_0x494819,_0x3d7251){const _0x48fe94=_0x494819[_0x10e2('0x9')](_0x3d7251);_0x494819[_0x10e2('0x1f')](_0x48fe94,{'unit':_0x10e2('0x1e'),'direction':_0x10e2('0x14')});const _0x3a9d9f=_0x48fe94['getFirstPosition']();_0x494819['modifySelection'](_0x48fe94,{'unit':_0x10e2('0x1e'),'direction':_0x10e2('0x1c')});const _0x76a387=_0x48fe94[_0x10e2('0x19')]();return _0x494819[_0x10e2('0x27')](_0x3a9d9f,_0x76a387);}function no(_0x2aa823,_0x171e3f,_0x3159ea){const _0xac4a91=_0x2aa823['locale']['t'],_0x55eb98=_0x171e3f['split'](/(?=[A-Z])/)[_0x10e2('0xf')]('\x20'),_0x51fbe4=_0xac4a91(_0x55eb98[_0x10e2('0x31')](0x0)[_0x10e2('0xa')]()+_0x55eb98['slice'](0x1))[_0x10e2('0x15')]();if('boolean'==typeof _0x3159ea)return _0x51fbe4;if(_0x10e2('0x2e')===_0x171e3f||_0x10e2('0x11')===_0x171e3f){const _0x22f220=_0x4be2c0(_0x2aa823[_0x10e2('0x4')]['get']('fontColor.colors'))[_0x10e2('0x18')](_0x1aafd8=>_0x1aafd8[_0x10e2('0x6')]==_0x3159ea);return _0x51fbe4+'\x20('+(_0x22f220?_0xac4a91(_0x22f220[_0x10e2('0x32')])[_0x10e2('0x15')]():_0x3159ea)+')';}if(_0x10e2('0x29')===_0x171e3f&&isNaN(parseFloat(_0x3159ea))){const _0x31063d=_0x2aa823[_0x10e2('0x2a')]['get'](_0x10e2('0x12'))[_0x10e2('0x1b')](_0x2aa823[_0x10e2('0x4')][_0x10e2('0x30')]('fontSize.options'))[_0x10e2('0x18')](_0x4a7ed1=>_0x4a7ed1[_0x10e2('0x6')]==_0x3159ea);return _0x51fbe4+'\x20('+(_0x31063d?_0xac4a91(_0x31063d[_0x10e2('0x2c')])['toLowerCase']():_0x3159ea)+')';}return _0x51fbe4+'\x20('+_0x3159ea+')';}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x7369=['paragraph','markBlockFormat','heading','get','heading.options','ELEMENT_HEADING','config','_descriptionFactory','model','change','plugins','from','name','schema','find','TrackChangesEditing','*Change\x20to:*\x20%0','registerElementLabel','value','formatBlock','title','parent','match','enableCommand','registerDescriptionCallback','blockName','afterInit','editor','format','commandName'];(function(_0x139eb7,_0x73692e){const _0x56528a=function(_0x435c00){while(--_0x435c00){_0x139eb7['push'](_0x139eb7['shift']());}};_0x56528a(++_0x73692e);}(_0x7369,0xb6));const _0x5652=function(_0x139eb7,_0x73692e){_0x139eb7=_0x139eb7-0x0;let _0x56528a=_0x7369[_0x139eb7];return _0x56528a;};import{Plugin as _0xebb234}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x1da04c}from'./utils';import{getTranslation as _0x4a1303}from'../utils/common-translations';export default class J extends _0xebb234{[_0x5652('0x18')](){const _0x1c1020=this[_0x5652('0x19')],_0x57bf32=_0x1c1020['locale'],_0x2945e0=_0x1c1020[_0x5652('0x4')][_0x5652('0x1')](_0x5652('0x2'));if(!_0x1c1020[_0x5652('0x8')]['has']('HeadingEditing'))return;const _0x373bf6=_0x1c1020[_0x5652('0x8')][_0x5652('0x1')](_0x5652('0xd'));_0x373bf6[_0x5652('0x15')](_0x5652('0x0'),(_0x4a99a0,_0xed54e5)=>{const _0xe6f1a7=_0xed54e5[_0x5652('0x10')],_0x458a37=Array[_0x5652('0x9')](this['editor'][_0x5652('0x6')]['document']['selection']['getSelectedBlocks']())['filter'](_0x5008d1=>function(_0x19576b,_0x2906ae,_0x278fd6){return _0x278fd6['checkChild'](_0x19576b[_0x5652('0x13')],_0x2906ae)&&!_0x278fd6['isObject'](_0x19576b)&&_0x19576b[_0x5652('0xa')]!=_0x2906ae;}(_0x5008d1,_0xe6f1a7,this[_0x5652('0x19')][_0x5652('0x6')][_0x5652('0xb')]));_0x1c1020[_0x5652('0x6')][_0x5652('0x7')](()=>{for(const _0x3b3d26 of _0x458a37)_0x373bf6[_0x5652('0x1d')](_0x3b3d26,{'commandName':'heading','commandParams':[_0xed54e5],'formatGroupId':_0x5652('0x17')},_0x1da04c(_0x3b3d26));});});for(const _0x1b19ed of _0x2945e0)_0x5652('0x1c')!=_0x1b19ed[_0x5652('0x6')]&&_0x373bf6[_0x5652('0x5')][_0x5652('0xf')](_0x1b19ed[_0x5652('0x6')],_0x5ee555=>{const _0x478c28=nn(_0x1b19ed[_0x5652('0x6')]);return null!==_0x478c28?_0x50193c(_0x5ee555,_0x478c28):_0x29f0ff(_0x5ee555,_0x1b19ed['title']);});function _0x50193c(_0x39c54e,_0x4f1847){return _0x4a1303(_0x57bf32,_0x5652('0x3'),[_0x39c54e,_0x4f1847]);}function _0x29f0ff(_0x401894,_0x5ad5ca){return _0x4a1303(_0x57bf32,'ELEMENT_HEADING_CUSTOM',[_0x401894,_0x5ad5ca]);}_0x373bf6['_descriptionFactory'][_0x5652('0x16')](_0x51e51f=>{const {type:_0x3a31e5,data:_0xb9386f}=_0x51e51f;if(_0x5652('0x11')==_0x3a31e5&&_0xb9386f&&_0x5652('0x0')==_0xb9386f[_0x5652('0x1b')]){const _0x5a3d5d=_0xb9386f['commandParams'][0x0][_0x5652('0x10')],_0x497a36=nn(_0x5a3d5d);if(null!==_0x497a36)return{'type':_0x5652('0x1a'),'content':_0x4a1303(_0x57bf32,'*Change\x20to:*\x20%0',_0x50193c(0x1,_0x497a36))};const _0x3903c3=_0x2945e0[_0x5652('0xc')](_0x47b43e=>_0x47b43e[_0x5652('0x6')]===_0x5a3d5d)[_0x5652('0x12')];return{'type':_0x5652('0x1a'),'content':_0x4a1303(_0x57bf32,_0x5652('0xe'),_0x29f0ff(0x1,_0x3903c3))};}});}}function nn(_0x57e3ce){const _0x10d90b=_0x57e3ce[_0x5652('0x14')](/^heading(\d+)$/);return _0x10d90b?_0x10d90b[0x1]:null;}
23
+ const _0x4f93=['heading','find','formatBlock','_descriptionFactory','get','name','parent','match','filter','TrackChangesEditing','format','getSelectedBlocks','heading.options','afterInit','schema','has','editor','isObject','paragraph','plugins','from','value','model','HeadingEditing','*Change\x20to:*\x20%0','ELEMENT_HEADING','enableCommand','document'];(function(_0x179a81,_0x4f93b9){const _0x10f804=function(_0x153a44){while(--_0x153a44){_0x179a81['push'](_0x179a81['shift']());}};_0x10f804(++_0x4f93b9);}(_0x4f93,0xc7));const _0x10f8=function(_0x179a81,_0x4f93b9){_0x179a81=_0x179a81-0x0;let _0x10f804=_0x4f93[_0x179a81];return _0x10f804;};import{Plugin as _0x36df21}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x57d71a}from'./utils';import{getTranslation as _0x19abd0}from'../utils/common-translations';export default class J extends _0x36df21{[_0x10f8('0xa')](){const _0x256e19=this[_0x10f8('0xd')],_0x37cd6e=_0x256e19['locale'],_0x34ca57=_0x256e19['config'][_0x10f8('0x1')](_0x10f8('0x9'));if(!_0x256e19[_0x10f8('0x10')][_0x10f8('0xc')](_0x10f8('0x14')))return;const _0xbc3764=_0x256e19[_0x10f8('0x10')][_0x10f8('0x1')](_0x10f8('0x6'));_0xbc3764[_0x10f8('0x17')](_0x10f8('0x19'),(_0x45dbdd,_0x36a6d3)=>{const _0x62cbdd=_0x36a6d3[_0x10f8('0x12')],_0x4e06ec=Array[_0x10f8('0x11')](this[_0x10f8('0xd')][_0x10f8('0x13')][_0x10f8('0x18')]['selection'][_0x10f8('0x8')]())[_0x10f8('0x5')](_0x3aa9fc=>function(_0x3cba73,_0x595395,_0x502ee3){return _0x502ee3['checkChild'](_0x3cba73[_0x10f8('0x3')],_0x595395)&&!_0x502ee3[_0x10f8('0xe')](_0x3cba73)&&_0x3cba73[_0x10f8('0x2')]!=_0x595395;}(_0x3aa9fc,_0x62cbdd,this[_0x10f8('0xd')][_0x10f8('0x13')][_0x10f8('0xb')]));_0x256e19[_0x10f8('0x13')]['change'](()=>{for(const _0x54d523 of _0x4e06ec)_0xbc3764['markBlockFormat'](_0x54d523,{'commandName':'heading','commandParams':[_0x36a6d3],'formatGroupId':'blockName'},_0x57d71a(_0x54d523));});});for(const _0x318b36 of _0x34ca57)_0x10f8('0xf')!=_0x318b36[_0x10f8('0x13')]&&_0xbc3764[_0x10f8('0x0')]['registerElementLabel'](_0x318b36[_0x10f8('0x13')],_0x21335e=>{const _0x3783b7=nn(_0x318b36['model']);return null!==_0x3783b7?_0x1125ef(_0x21335e,_0x3783b7):_0x5357f5(_0x21335e,_0x318b36['title']);});function _0x1125ef(_0x3c2694,_0x289427){return _0x19abd0(_0x37cd6e,_0x10f8('0x16'),[_0x3c2694,_0x289427]);}function _0x5357f5(_0x5370be,_0x341185){return _0x19abd0(_0x37cd6e,'ELEMENT_HEADING_CUSTOM',[_0x5370be,_0x341185]);}_0xbc3764[_0x10f8('0x0')]['registerDescriptionCallback'](_0x4055c6=>{const {type:_0xecf9d5,data:_0x2b4286}=_0x4055c6;if(_0x10f8('0x1b')==_0xecf9d5&&_0x2b4286&&'heading'==_0x2b4286['commandName']){const _0x2a1dec=_0x2b4286['commandParams'][0x0][_0x10f8('0x12')],_0x3fdb3b=nn(_0x2a1dec);if(null!==_0x3fdb3b)return{'type':_0x10f8('0x7'),'content':_0x19abd0(_0x37cd6e,'*Change\x20to:*\x20%0',_0x1125ef(0x1,_0x3fdb3b))};const _0x521fce=_0x34ca57[_0x10f8('0x1a')](_0xf5b512=>_0xf5b512['model']===_0x2a1dec)['title'];return{'type':_0x10f8('0x7'),'content':_0x19abd0(_0x37cd6e,_0x10f8('0x15'),_0x5357f5(0x1,_0x521fce))};}});}}function nn(_0x525236){const _0x4cc2f9=_0x525236[_0x10f8('0x4')](/^heading(\d+)$/);return _0x4cc2f9?_0x4cc2f9[0x1]:null;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x18f3=['value','get','highlight.options','has','color','_descriptionFactory','registerDescriptionCallback','selection','toLowerCase','commandParams','enableCommand','createRange','commandName','format','highlight','push','model','getLastMatchingPosition','hasAttribute','getFirstPosition','title','locale','backward','change','document','TrackChangesEditing','editor','plugins','*Remove\x20highlight*','HighlightEditing','item','*Set\x20highlight:*\x20%0','getRanges'];(function(_0x3a6eca,_0x18f3cb){const _0x475f4c=function(_0x364a2a){while(--_0x364a2a){_0x3a6eca['push'](_0x3a6eca['shift']());}};_0x475f4c(++_0x18f3cb);}(_0x18f3,0x159));const _0x475f=function(_0x3a6eca,_0x18f3cb){_0x3a6eca=_0x3a6eca-0x0;let _0x475f4c=_0x18f3[_0x3a6eca];return _0x475f4c;};import{Plugin as _0x3412d0}from'ckeditor5/src/core';import{getTranslation as _0x32643d}from'../utils/common-translations';import{getRangesWithAttribute as _0x95cff7}from'./utils';export default class K extends _0x3412d0{['afterInit'](){const _0x382ed9=this[_0x475f('0xb')];if(!_0x382ed9[_0x475f('0xc')][_0x475f('0x15')](_0x475f('0xe')))return;const _0xb89abe=_0x382ed9[_0x475f('0xc')][_0x475f('0x13')](_0x475f('0xa'));_0xb89abe[_0x475f('0x1c')]('highlight',(_0x4800c2,_0x467fd4={})=>{const _0xe2d53f=_0x382ed9['model'][_0x475f('0x9')][_0x475f('0x19')],_0x180cb5=_0xe2d53f['getAttribute']('highlight');let _0x1c3d65=_0x467fd4[_0x475f('0x12')],_0x5065c7=[];if(_0xe2d53f['isCollapsed']){const _0xf71406=_0xe2d53f[_0x475f('0x4')]();if(!_0xe2d53f[_0x475f('0x3')](_0x475f('0x20')))return void _0x4800c2(_0x467fd4);{const _0x3c9a43=_0x5acaba=>_0x5acaba[_0x475f('0xf')]['getAttribute'](_0x475f('0x20'))===_0x180cb5,_0x15661a=_0xf71406[_0x475f('0x2')](_0x3c9a43,{'direction':_0x475f('0x7')}),_0x10bc62=_0xf71406[_0x475f('0x2')](_0x3c9a43);_0x5065c7=[_0x382ed9[_0x475f('0x1')][_0x475f('0x1d')](_0x15661a,_0x10bc62)],_0x1c3d65==_0x180cb5&&(_0x1c3d65=null);}}else for(const _0x485845 of _0xe2d53f[_0x475f('0x11')]())_0x1c3d65?_0x5065c7['push'](_0x485845):_0x5065c7[_0x475f('0x0')](..._0x95cff7(_0x475f('0x20'),_0x485845,_0x382ed9['model']));_0x382ed9[_0x475f('0x1')][_0x475f('0x8')](()=>{for(const _0x5298e1 of _0x5065c7)_0xb89abe['markInlineFormat'](_0x5298e1,{'commandName':_0x475f('0x20'),'commandParams':[{'value':_0x1c3d65}]});});});const _0x4916ca=_0x382ed9[_0x475f('0x6')];_0xb89abe[_0x475f('0x17')][_0x475f('0x18')](_0xcebe8b=>{const {type:_0x581e93,data:_0x4fe1c2}=_0xcebe8b;if('formatInline'==_0x581e93&&_0x4fe1c2&&_0x475f('0x20')==_0x4fe1c2[_0x475f('0x1e')]){const _0x272470=_0x4916ca['t'],_0x9815fd=_0x4fe1c2[_0x475f('0x1b')][0x0]['value'];if(_0x9815fd){const _0x1ba4f3=_0x382ed9['config'][_0x475f('0x13')](_0x475f('0x14'))['find'](_0x520909=>_0x520909[_0x475f('0x1')]==_0x9815fd),_0x111d51=_0x272470(_0x1ba4f3[_0x475f('0x5')])[_0x475f('0x1a')]();return{'type':_0x475f('0x1f'),'content':_0x32643d(_0x4916ca,_0x475f('0x10'),_0x111d51),'color':{'value':_0x1ba4f3[_0x475f('0x16')],'title':_0x1ba4f3[_0x475f('0x5')]}};}return{'type':_0x475f('0x1f'),'content':_0x32643d(_0x4916ca,_0x475f('0xd'),_0x32643d(_0x4916ca,'FORMAT_HIGHLIGHT'))};}});}}
23
+ const _0x333f=['model','getAttribute','item','getLastMatchingPosition','format','isCollapsed','backward','highlight.options','afterInit','has','editor','TrackChangesEditing','config','title','*Set\x20highlight:*\x20%0','value','locale','push','markInlineFormat','plugins','toLowerCase','highlight','find','HighlightEditing','getFirstPosition','color'];(function(_0x26b227,_0x333ffa){const _0x495547=function(_0x5aaa8f){while(--_0x5aaa8f){_0x26b227['push'](_0x26b227['shift']());}};_0x495547(++_0x333ffa);}(_0x333f,0x106));const _0x4955=function(_0x26b227,_0x333ffa){_0x26b227=_0x26b227-0x0;let _0x495547=_0x333f[_0x26b227];return _0x495547;};import{Plugin as _0x2e5bf6}from'ckeditor5/src/core';import{getTranslation as _0x29a37e}from'../utils/common-translations';import{getRangesWithAttribute as _0x37af8a}from'./utils';export default class K extends _0x2e5bf6{[_0x4955('0x6')](){const _0x2a2f25=this[_0x4955('0x8')];if(!_0x2a2f25[_0x4955('0x11')][_0x4955('0x7')](_0x4955('0x15')))return;const _0x3b6482=_0x2a2f25[_0x4955('0x11')]['get'](_0x4955('0x9'));_0x3b6482['enableCommand'](_0x4955('0x13'),(_0x19b9ff,_0x58b250={})=>{const _0x410c03=_0x2a2f25['model']['document']['selection'],_0x405402=_0x410c03[_0x4955('0x19')](_0x4955('0x13'));let _0x581561=_0x58b250['value'],_0x31635e=[];if(_0x410c03[_0x4955('0x3')]){const _0x5699e2=_0x410c03[_0x4955('0x16')]();if(!_0x410c03['hasAttribute'](_0x4955('0x13')))return void _0x19b9ff(_0x58b250);{const _0x233873=_0x2c871f=>_0x2c871f[_0x4955('0x0')]['getAttribute'](_0x4955('0x13'))===_0x405402,_0x26f927=_0x5699e2[_0x4955('0x1')](_0x233873,{'direction':_0x4955('0x4')}),_0xa37284=_0x5699e2[_0x4955('0x1')](_0x233873);_0x31635e=[_0x2a2f25[_0x4955('0x18')]['createRange'](_0x26f927,_0xa37284)],_0x581561==_0x405402&&(_0x581561=null);}}else for(const _0x250000 of _0x410c03['getRanges']())_0x581561?_0x31635e[_0x4955('0xf')](_0x250000):_0x31635e['push'](..._0x37af8a(_0x4955('0x13'),_0x250000,_0x2a2f25[_0x4955('0x18')]));_0x2a2f25['model']['change'](()=>{for(const _0xa190e0 of _0x31635e)_0x3b6482[_0x4955('0x10')](_0xa190e0,{'commandName':_0x4955('0x13'),'commandParams':[{'value':_0x581561}]});});});const _0x2816c9=_0x2a2f25[_0x4955('0xe')];_0x3b6482['_descriptionFactory']['registerDescriptionCallback'](_0x415b9f=>{const {type:_0x2e259a,data:_0x19d9be}=_0x415b9f;if('formatInline'==_0x2e259a&&_0x19d9be&&_0x4955('0x13')==_0x19d9be['commandName']){const _0x3d7c55=_0x2816c9['t'],_0x2749cc=_0x19d9be['commandParams'][0x0][_0x4955('0xd')];if(_0x2749cc){const _0x344e8a=_0x2a2f25[_0x4955('0xa')]['get'](_0x4955('0x5'))[_0x4955('0x14')](_0x333111=>_0x333111[_0x4955('0x18')]==_0x2749cc),_0x2f43f4=_0x3d7c55(_0x344e8a[_0x4955('0xb')])[_0x4955('0x12')]();return{'type':_0x4955('0x2'),'content':_0x29a37e(_0x2816c9,_0x4955('0xc'),_0x2f43f4),'color':{'value':_0x344e8a[_0x4955('0x17')],'title':_0x344e8a[_0x4955('0xb')]}};}return{'type':'format','content':_0x29a37e(_0x2816c9,'*Remove\x20highlight*',_0x29a37e(_0x2816c9,'FORMAT_HIGHLIGHT'))};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5aef=['createContainerElement','insert','editor','locale','registerElementLabel','div','ELEMENT_HORIZONTAL_LINE','TrackChangesEditing','for','conversion','createEmptyElement','high','get','horizontalLine','enableCommand','has','HorizontalLineEditing','plugins'];(function(_0x22e277,_0x5aef3f){const _0x5b5f48=function(_0xd6760c){while(--_0xd6760c){_0x22e277['push'](_0x22e277['shift']());}};_0x5b5f48(++_0x5aef3f);}(_0x5aef,0x6d));const _0x5b5f=function(_0x22e277,_0x5aef3f){_0x22e277=_0x22e277-0x0;let _0x5b5f48=_0x5aef[_0x22e277];return _0x5b5f48;};import{Plugin as _0x6da842}from'ckeditor5/src/core';import{getTranslation as _0xb26449}from'../utils/common-translations';export default class Q extends _0x6da842{['afterInit'](){const _0x4d2109=this[_0x5b5f('0x1')];if(!_0x4d2109[_0x5b5f('0x10')][_0x5b5f('0xe')](_0x5b5f('0xf')))return;_0x4d2109[_0x5b5f('0x10')]['get']('TrackChangesEditing')[_0x5b5f('0xd')](_0x5b5f('0xc'));const _0x2a3a79=_0x4d2109[_0x5b5f('0x10')][_0x5b5f('0xb')](_0x5b5f('0x6')),_0x3e76d9=_0x4d2109[_0x5b5f('0x2')];_0x2a3a79['_descriptionFactory'][_0x5b5f('0x3')]('horizontalLine',_0x12722c=>_0xb26449(_0x3e76d9,_0x5b5f('0x5'),_0x12722c)),_0x4d2109[_0x5b5f('0x8')][_0x5b5f('0x7')]('dataDowncast')['elementToStructure']({'model':_0x5b5f('0xc'),'view':(_0x34d9e3,{writer:_0x78461a,options:_0xeaaa92})=>{if(!_0xeaaa92['showSuggestionHighlights'])return null;const _0x1547e7=_0x78461a[_0x5b5f('0x11')](_0x5b5f('0x4')),_0x5627b3=_0x78461a[_0x5b5f('0x9')]('hr');return _0x78461a['addClass']('ck-horizontal-line',_0x1547e7),_0x78461a[_0x5b5f('0x0')](_0x78461a['createPositionAt'](_0x1547e7,0x0),_0x5627b3),_0x1547e7;},'converterPriority':_0x5b5f('0xa')});}}
23
+ const _0x1295=['showSuggestionHighlights','HorizontalLineEditing','registerElementLabel','for','plugins','createPositionAt','locale','horizontalLine','conversion','ELEMENT_HORIZONTAL_LINE','afterInit','dataDowncast','createContainerElement','enableCommand','TrackChangesEditing','elementToStructure','has','get','ck-horizontal-line'];(function(_0x343af4,_0x12955a){const _0x268d8f=function(_0xd4a981){while(--_0xd4a981){_0x343af4['push'](_0x343af4['shift']());}};_0x268d8f(++_0x12955a);}(_0x1295,0x13f));const _0x268d=function(_0x343af4,_0x12955a){_0x343af4=_0x343af4-0x0;let _0x268d8f=_0x1295[_0x343af4];return _0x268d8f;};import{Plugin as _0x2a9de0}from'ckeditor5/src/core';import{getTranslation as _0x48013c}from'../utils/common-translations';export default class Q extends _0x2a9de0{[_0x268d('0xe')](){const _0x459137=this['editor'];if(!_0x459137[_0x268d('0x8')][_0x268d('0x1')](_0x268d('0x5')))return;_0x459137[_0x268d('0x8')]['get']('TrackChangesEditing')[_0x268d('0x11')](_0x268d('0xb'));const _0x418448=_0x459137[_0x268d('0x8')][_0x268d('0x2')](_0x268d('0x12')),_0x172688=_0x459137[_0x268d('0xa')];_0x418448['_descriptionFactory'][_0x268d('0x6')](_0x268d('0xb'),_0x521503=>_0x48013c(_0x172688,_0x268d('0xd'),_0x521503)),_0x459137[_0x268d('0xc')][_0x268d('0x7')](_0x268d('0xf'))[_0x268d('0x0')]({'model':_0x268d('0xb'),'view':(_0x24dc16,{writer:_0xf01f75,options:_0x5d33ee})=>{if(!_0x5d33ee[_0x268d('0x4')])return null;const _0x3f56ae=_0xf01f75[_0x268d('0x10')]('div'),_0x30d234=_0xf01f75['createEmptyElement']('hr');return _0xf01f75['addClass'](_0x268d('0x3'),_0x3f56ae),_0xf01f75['insert'](_0xf01f75[_0x268d('0x9')](_0x3f56ae,0x0),_0x30d234),_0x3f56ae;},'converterPriority':'high'});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3fc8=['getSelectedElement','getAttribute','rawHtml','cancel','registerElementLabel','HtmlEmbed','rawHtmlApi','value','editor','_descriptionFactory','change','plugins','format','ELEMENT_HTML_EMBED','document','has','*Change\x20%0\x20content*','commandName','view','selection','afterInit','getCustomProperty','markBlockFormat','TrackChangesEditing','get','registerDescriptionCallback','htmlEmbed','element'];(function(_0x53b3c0,_0x3fc868){const _0x141587=function(_0x2f4f95){while(--_0x2f4f95){_0x53b3c0['push'](_0x53b3c0['shift']());}};_0x141587(++_0x3fc868);}(_0x3fc8,0x1c3));const _0x1415=function(_0x53b3c0,_0x3fc868){_0x53b3c0=_0x53b3c0-0x0;let _0x141587=_0x3fc8[_0x53b3c0];return _0x141587;};import{Plugin as _0x2e1e37}from'ckeditor5/src/core';import{getTranslation as _0xe3190a}from'../utils/common-translations';export default class V extends _0x2e1e37{[_0x1415('0x11')](){const _0x2df33a=this[_0x1415('0x5')];if(!_0x2df33a[_0x1415('0x8')][_0x1415('0xc')](_0x1415('0x2')))return;const _0x1bcf8a=_0x2df33a[_0x1415('0x8')]['get'](_0x1415('0x14')),_0x41721e=_0x2df33a['locale'],_0x3e4001=_0x2df33a['editing'][_0x1415('0xf')][_0x1415('0xb')]['selection'];_0x1bcf8a[_0x1415('0x6')][_0x1415('0x1')](_0x1415('0x1b'),_0x263c1d=>_0xe3190a(_0x41721e,_0x1415('0xa'),_0x263c1d)),_0x2df33a[_0x1415('0x8')][_0x1415('0x15')](_0x1415('0x14'))['enableCommand'](_0x1415('0x17'),(_0x29f652,_0x133966)=>{const _0x4e49ef=_0x2df33a['model'],_0x3cab2e=_0x4e49ef['document'][_0x1415('0x10')];_0x4e49ef[_0x1415('0x7')](()=>{const _0x506de8=function(_0x5cd55d){const _0x2ad054=_0x5cd55d['getSelectedElement']();if(_0x2ad054&&_0x2ad054['is'](_0x1415('0x18'),_0x1415('0x1b')))return _0x5cd55d[_0x1415('0x19')]();return null;}(_0x3cab2e);if(!_0x506de8)return void _0x29f652(null);const _0x45d33a=_0x506de8[_0x1415('0x1a')](_0x1415('0x4'))||'';if(void 0x0===_0x133966)return;if(_0x133966===_0x45d33a)return;_0x1bcf8a[_0x1415('0x13')](_0x506de8,{'commandName':_0x1415('0x17'),'commandParams':[_0x133966]}),_0x3e4001['getSelectedElement']()[_0x1415('0x12')](_0x1415('0x3'))[_0x1415('0x0')]();});}),_0x1bcf8a['_descriptionFactory'][_0x1415('0x16')](_0x4e042c=>{const {data:_0x115a16}=_0x4e042c;if(_0x115a16&&_0x1415('0x17')==_0x115a16[_0x1415('0xe')]){const _0x59323d=_0xe3190a(_0x41721e,_0x1415('0xa'));return{'type':_0x1415('0x9'),'content':_0xe3190a(_0x41721e,_0x1415('0xd'),_0x59323d)};}});}}
23
+ const _0x108c=['TrackChangesEditing','commandName','format','_descriptionFactory','element','change','getSelectedElement','HtmlEmbed','markBlockFormat','value','plugins','selection','afterInit','get','editor','*Change\x20%0\x20content*','document','enableCommand','ELEMENT_HTML_EMBED','getAttribute','has','view','registerElementLabel','rawHtml','registerDescriptionCallback','getCustomProperty','htmlEmbed'];(function(_0x505c4b,_0x108c58){const _0x303faf=function(_0xb938ea){while(--_0xb938ea){_0x505c4b['push'](_0x505c4b['shift']());}};_0x303faf(++_0x108c58);}(_0x108c,0x79));const _0x303f=function(_0x505c4b,_0x108c58){_0x505c4b=_0x505c4b-0x0;let _0x303faf=_0x108c[_0x505c4b];return _0x303faf;};import{Plugin as _0x283b8d}from'ckeditor5/src/core';import{getTranslation as _0x11a8a1}from'../utils/common-translations';export default class V extends _0x283b8d{[_0x303f('0x1a')](){const _0x15e18b=this[_0x303f('0x1')];if(!_0x15e18b[_0x303f('0x18')][_0x303f('0x7')](_0x303f('0x15')))return;const _0x517afb=_0x15e18b[_0x303f('0x18')][_0x303f('0x0')](_0x303f('0xe')),_0x4a56a0=_0x15e18b['locale'],_0x242336=_0x15e18b['editing'][_0x303f('0x8')]['document'][_0x303f('0x19')];_0x517afb[_0x303f('0x11')][_0x303f('0x9')](_0x303f('0xa'),_0x3d6b5a=>_0x11a8a1(_0x4a56a0,_0x303f('0x5'),_0x3d6b5a)),_0x15e18b[_0x303f('0x18')]['get'](_0x303f('0xe'))[_0x303f('0x4')]('htmlEmbed',(_0xbf23d4,_0x4606d9)=>{const _0x409940=_0x15e18b['model'],_0xb6223e=_0x409940[_0x303f('0x3')][_0x303f('0x19')];_0x409940[_0x303f('0x13')](()=>{const _0x5533ba=function(_0xef3a65){const _0x70bd53=_0xef3a65[_0x303f('0x14')]();if(_0x70bd53&&_0x70bd53['is'](_0x303f('0x12'),'rawHtml'))return _0xef3a65[_0x303f('0x14')]();return null;}(_0xb6223e);if(!_0x5533ba)return void _0xbf23d4(null);const _0xe7879c=_0x5533ba[_0x303f('0x6')](_0x303f('0x17'))||'';if(void 0x0===_0x4606d9)return;if(_0x4606d9===_0xe7879c)return;_0x517afb[_0x303f('0x16')](_0x5533ba,{'commandName':_0x303f('0xd'),'commandParams':[_0x4606d9]}),_0x242336[_0x303f('0x14')]()[_0x303f('0xc')]('rawHtmlApi')['cancel']();});}),_0x517afb['_descriptionFactory'][_0x303f('0xb')](_0x469540=>{const {data:_0x3672c5}=_0x469540;if(_0x3672c5&&_0x303f('0xd')==_0x3672c5[_0x303f('0xf')]){const _0x3f6aba=_0x11a8a1(_0x4a56a0,_0x303f('0x5'));return{'type':_0x303f('0x10'),'content':_0x11a8a1(_0x4a56a0,_0x303f('0x2'),_0x3f6aba)};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x28ed=['has','width','ImageUtils','ImageUploadEditing','deletion','removeObject','_descriptionFactory','toLowerCase','length','markDeletion','newValue','uploadImage','start','addObject','ImageResize','ImageEditing','imageStylePostApply','getNearestSelectionRange','getCaptionFromImageModelElement','detach','formatBlock','filter','toPrevious','discard','author','getContainedElement','formatInline','imageCaption','isBlockImage','registerPostFixer','imageTextAlternative','registerDescriptionCallback','nodeBefore','getChangedMarkers','document','suggestion','fromPosition','registerElementLabel','insertion','format','schema','subType','isBefore','forward','value','from','commandName','accept','refresh','differ','title','editor','find','ImageCaptionUtils','side','next','*Set\x20image\x20text\x20alternative:*\x20%0','imageTypeBlock','hasSuggestion','forceDefaultExecution','caption','nodeAfter','ImageCaptionEditing','isEqual','*Reset\x20image\x20width*','change','forEach','convertBlockImageToInline','isCollapsed','isIntersecting','imageStyle','locale','element','getAttribute','head','_splitMarkerName','commands','isOwn','ImageBlockEditing','type','_suggestionFactory','normalizedStyles','ELEMENT_INLINE_IMAGE','chain','imageStylePreApply','createRange','createRangeOn','FORMAT_SIDE_IMAGE','getFirstRange','toggleImageCaption','imageInline','discardSuggestion','getClosestSelectedImageElement','plugins','hasAttribute','afterInit','markBlockFormat','ImageInlineEditing','Inline\x20image\x20to\x20block\x20image','Users','end','getSuggestionCallback','name','model','imageBlock','insertImage','newRange','ImageStyleEditing','isInContent','commandParams','join','getSuggestion','shouldConvertImageType','get','imageTypeInline','convertInlineImageToBlock','ELEMENT_IMAGE','registerCustomCallback','resizeImage','*Set\x20image\x20width:*\x20%0','ImageTextAlternativeEditing','enableCommand','backward','selection','findIndex','markInsertion'];(function(_0x115995,_0x28ed1c){const _0xb4a5=function(_0x231df8){while(--_0x231df8){_0x115995['push'](_0x115995['shift']());}};_0xb4a5(++_0x28ed1c);}(_0x28ed,0xac));const _0xb4a5=function(_0x115995,_0x28ed1c){_0x115995=_0x115995-0x0;let _0x231df8=_0x28ed[_0x115995];return _0x231df8;};import{Plugin as _0x1c3dd2}from'ckeditor5/src/core';import{LivePosition as _0x20e629}from'ckeditor5/src/engine';import{uid as _0x124674}from'ckeditor5/src/utils';import{getTranslation as _0x29d4e2}from'../utils/common-translations';export default class X extends _0x1c3dd2{[_0xb4a5('0x31')](){const _0xbfc8d2=this[_0xb4a5('0x5')];if(!_0xbfc8d2['plugins'][_0xb4a5('0x50')](_0xb4a5('0x5f')))return;const _0x133984=_0xbfc8d2['plugins']['get']('TrackChangesEditing'),_0x445d66=_0xbfc8d2[_0xb4a5('0x2f')]['get'](_0xb4a5('0x52')),_0x3f64fd={},_0x184919=_0xbfc8d2[_0xb4a5('0x19')];if(_0x133984[_0xb4a5('0x4b')](_0xb4a5('0x3b')),_0x133984['_descriptionFactory']['registerElementLabel'](_0xb4a5('0x3a'),_0x49689f=>_0x29d4e2(_0x184919,_0xb4a5('0x46'),_0x49689f)),_0x133984[_0xb4a5('0x56')][_0xb4a5('0x75')](_0xb4a5('0x2c'),_0x34a291=>_0x29d4e2(_0x184919,_0xb4a5('0x24'),_0x34a291)),_0x133984[_0xb4a5('0x56')][_0xb4a5('0x75')](_0xb4a5('0xe'),()=>_0x29d4e2(_0x184919,'ELEMENT_CAPTION')),_0xbfc8d2['plugins'][_0xb4a5('0x50')](_0xb4a5('0x53'))&&_0x133984[_0xb4a5('0x4b')](_0xb4a5('0x5b')),_0xbfc8d2[_0xb4a5('0x2f')]['has'](_0xb4a5('0x20'))&&_0xbfc8d2[_0xb4a5('0x2f')][_0xb4a5('0x50')](_0xb4a5('0x33'))&&(_0x133984[_0xb4a5('0x4b')](_0xb4a5('0x44'),(_0x1241d6,_0x373ea8)=>{const _0x468fec=_0x445d66[_0xb4a5('0x2e')](_0xbfc8d2[_0xb4a5('0x39')][_0xb4a5('0x72')]['selection']);_0xbfc8d2[_0xb4a5('0x39')][_0xb4a5('0x13')](()=>{_0x133984[_0xb4a5('0x32')](_0x468fec,{'commandName':'imageTypeInline','commandParams':[_0x373ea8]},[],_0xb4a5('0x15'));});}),_0x133984[_0xb4a5('0x4b')]('imageTypeBlock',(_0xeebc97,_0x5bb169)=>{_0xbfc8d2[_0xb4a5('0x39')][_0xb4a5('0x13')](_0x3b1b3=>{let _0x1b1214=_0x445d66[_0xb4a5('0x2e')](_0xbfc8d2[_0xb4a5('0x39')][_0xb4a5('0x72')][_0xb4a5('0x4d')]),_0x229761=_0x3b1b3[_0xb4a5('0x28')](_0x1b1214);const _0x46fa02=_0x20e629['fromPosition'](_0x229761[_0xb4a5('0x5c')],_0xb4a5('0x66')),_0x19cb4f=_0x20e629[_0xb4a5('0x74')](_0x229761['end'],'toNext');_0x133984[_0xb4a5('0xd')](()=>_0xeebc97(_0x5bb169)),_0x1b1214=_0x445d66[_0xb4a5('0x2e')](_0xbfc8d2[_0xb4a5('0x39')][_0xb4a5('0x72')][_0xb4a5('0x4d')]),_0x229761=_0x3b1b3[_0xb4a5('0x28')](_0x1b1214);const _0x31e85f=_0x3b1b3[_0xb4a5('0x27')](_0x46fa02,_0x19cb4f);_0x46fa02[_0xb4a5('0x63')](),_0x19cb4f[_0xb4a5('0x63')](),_0x133984[_0xb4a5('0x32')](_0x1b1214,{'commandName':_0xb4a5('0x44'),'commandParams':[]},[],_0xb4a5('0x45')),_0x31e85f[_0xb4a5('0x5c')][_0xb4a5('0x7a')](_0x229761['start'])&&_0x133984[_0xb4a5('0x4f')](_0x3b1b3['createRange'](_0x31e85f['start'],_0x229761[_0xb4a5('0x5c')]),_0xb4a5('0x45')),_0x229761[_0xb4a5('0x36')][_0xb4a5('0x7a')](_0x31e85f[_0xb4a5('0x36')])&&_0x133984[_0xb4a5('0x4f')](_0x3b1b3[_0xb4a5('0x27')](_0x229761['end'],_0x31e85f['end']),_0xb4a5('0x45'));});}),_0x133984[_0xb4a5('0x22')]['registerCustomCallback']('formatBlock','convertInlineImageToBlock','join',()=>{}),_0x133984[_0xb4a5('0x22')][_0xb4a5('0x47')](_0xb4a5('0x64'),_0xb4a5('0x45'),_0xb4a5('0x1'),()=>{}),_0x133984[_0xb4a5('0x22')][_0xb4a5('0x47')](_0xb4a5('0x64'),_0xb4a5('0x45'),_0xb4a5('0x67'),_0x133984[_0xb4a5('0x22')][_0xb4a5('0x37')]('formatBlock','',_0xb4a5('0x1'))),_0x133984['_suggestionFactory']['registerCustomCallback']('insertion','convertInlineImageToBlock',_0xb4a5('0x40'),()=>{}),_0x133984[_0xb4a5('0x22')]['registerCustomCallback']('insertion','convertInlineImageToBlock',_0xb4a5('0x67'),([_0x16e5e1])=>{const _0x253803=_0x133984['_suggestionFactory']['getSuggestionCallback'](_0xb4a5('0x76'),'',_0xb4a5('0x67'));let _0x5b45f8=_0x16e5e1[_0xb4a5('0x5c')],_0x58b890=_0x16e5e1[_0xb4a5('0x36')];const _0x4efe5c=_0xbfc8d2[_0xb4a5('0x39')][_0xb4a5('0x78')][_0xb4a5('0x61')](_0x5b45f8,_0xb4a5('0x4c')),_0x3ccc0d=_0xbfc8d2['model'][_0xb4a5('0x78')][_0xb4a5('0x61')](_0x58b890,_0xb4a5('0x7b'));_0x4efe5c[_0xb4a5('0x16')]&&(_0x5b45f8=_0x4efe5c[_0xb4a5('0x5c')]),_0x3ccc0d['isCollapsed']&&(_0x58b890=_0x3ccc0d[_0xb4a5('0x36')]),_0x253803([_0xbfc8d2[_0xb4a5('0x39')][_0xb4a5('0x27')](_0x5b45f8,_0x58b890)]);}),_0x133984[_0xb4a5('0x22')]['registerCustomCallback'](_0xb4a5('0x64'),_0xb4a5('0x45'),_0xb4a5('0x25'),_0x518a4d),_0x133984[_0xb4a5('0x22')][_0xb4a5('0x47')](_0xb4a5('0x76'),_0xb4a5('0x45'),_0xb4a5('0x25'),_0x518a4d)),_0xbfc8d2[_0xb4a5('0x2f')][_0xb4a5('0x50')](_0xb4a5('0x10'))&&(_0x133984[_0xb4a5('0x4b')](_0xb4a5('0x2b'),(_0x193b0e,_0x12c831)=>{const _0x14b756=_0xbfc8d2[_0xb4a5('0x2f')][_0xb4a5('0x43')](_0xb4a5('0x7'));let _0x145c30=_0x445d66[_0xb4a5('0x2e')](_0xbfc8d2[_0xb4a5('0x39')][_0xb4a5('0x72')][_0xb4a5('0x4d')]),_0x5522bd=_0x14b756['getCaptionFromImageModelElement'](_0x145c30);_0xbfc8d2[_0xb4a5('0x39')][_0xb4a5('0x13')](()=>{if(_0x5522bd)return void _0x133984[_0xb4a5('0x59')](_0xbfc8d2[_0xb4a5('0x39')][_0xb4a5('0x28')](_0x5522bd));const _0x119a80=_0x445d66['isBlockImage'](_0x145c30);_0x193b0e(_0x12c831),_0x145c30=_0x445d66[_0xb4a5('0x2e')](_0xbfc8d2[_0xb4a5('0x39')][_0xb4a5('0x72')][_0xb4a5('0x4d')]),_0x5522bd=_0x14b756[_0xb4a5('0x62')](_0x145c30),_0x133984['markInsertion'](_0xbfc8d2[_0xb4a5('0x39')][_0xb4a5('0x28')](_0x5522bd),_0x119a80?null:'imageCaption');});}),_0x133984[_0xb4a5('0x22')]['registerCustomCallback'](_0xb4a5('0x76'),'imageCaption',_0xb4a5('0x25'),_0x518a4d)),_0xbfc8d2[_0xb4a5('0x2f')]['has']('ImageStyleEditing')){_0x133984['enableCommand']('imageStyle',(_0x194a1e,_0x1449dd)=>{const _0x2475f2=_0xbfc8d2['plugins']['get'](_0xb4a5('0x35'))['me'],_0x4f1874=_0xbfc8d2[_0xb4a5('0x1e')]['get'](_0xb4a5('0x18'));let _0x1f4257=_0x445d66[_0xb4a5('0x2e')](_0xbfc8d2['model']['document']['selection']),_0x4335fe=_0xbfc8d2['model'][_0xb4a5('0x28')](_0x1f4257),_0x3148a2=_0x4f1874['value'];if(_0x3148a2==_0x1449dd[_0xb4a5('0x7c')])return;const _0x2f5319={'commandName':_0xb4a5('0x18'),'commandParams':[_0x1449dd],'formatGroupId':_0x124674()};_0xbfc8d2['model'][_0xb4a5('0x13')](()=>{if(_0x133984['getSuggestions']()[_0xb4a5('0x65')](_0x12d5c2=>_0x12d5c2[_0xb4a5('0x3e')]&&_0x2475f2==_0x12d5c2[_0xb4a5('0x68')]&&(_0xb4a5('0x64')==_0x12d5c2['type']||_0xb4a5('0x6a')==_0x12d5c2[_0xb4a5('0x21')])&&(_0xb4a5('0x26')==_0x12d5c2[_0xb4a5('0x79')]||_0xb4a5('0x60')==_0x12d5c2[_0xb4a5('0x79')])&&_0x12d5c2['getFirstRange']()['isEqual'](_0x4335fe))[_0xb4a5('0x14')](_0x232986=>_0x133984[_0xb4a5('0x2d')](_0x232986[_0xb4a5('0x1c')])),_0x1f4257=_0x445d66[_0xb4a5('0x2e')](_0xbfc8d2[_0xb4a5('0x39')][_0xb4a5('0x72')][_0xb4a5('0x4d')]),_0x4335fe=_0xbfc8d2[_0xb4a5('0x39')][_0xb4a5('0x28')](_0x1f4257),_0x4f1874['refresh'](),_0xbfc8d2[_0xb4a5('0x1e')]['get'](_0xb4a5('0x44'))['refresh'](),_0xbfc8d2[_0xb4a5('0x1e')][_0xb4a5('0x43')](_0xb4a5('0xb'))[_0xb4a5('0x2')](),_0x3148a2=_0x4f1874['value'],_0x3148a2!=_0x1449dd['value'])return _0x445d66['isInlineImage'](_0x1f4257)&&_0x4f1874[_0xb4a5('0x42')](_0x1449dd['value'],_0x1f4257)?(_0x194a1e(_0x1449dd),_0x1f4257=_0x445d66['getClosestSelectedImageElement'](_0xbfc8d2[_0xb4a5('0x39')]['document'][_0xb4a5('0x4d')]),void _0x133984[_0xb4a5('0x32')](_0x1f4257,{..._0x2f5319,'commandReversedParams':[{'value':_0x3148a2||null}]},[],_0xb4a5('0x26'))):void(_0x445d66[_0xb4a5('0x6c')](_0x1f4257)?_0x133984[_0xb4a5('0x32')](_0x1f4257,_0x2f5319,[],_0xb4a5('0x60')):_0x133984['markInlineFormat'](_0x4335fe,_0x2f5319,_0xb4a5('0x60')));});});for(const _0x456747 of _0xbfc8d2[_0xb4a5('0x2f')][_0xb4a5('0x43')](_0xb4a5('0x3d'))[_0xb4a5('0x23')])_0x3f64fd[_0x456747[_0xb4a5('0x38')]]=_0x456747[_0xb4a5('0x4')][_0xb4a5('0x57')]();_0x133984[_0xb4a5('0x22')]['registerCustomCallback'](_0xb4a5('0x64'),'imageStylePreApply',_0xb4a5('0x40'),()=>{}),_0x133984[_0xb4a5('0x22')][_0xb4a5('0x47')](_0xb4a5('0x64'),_0xb4a5('0x60'),_0xb4a5('0x40'),()=>{}),_0x133984[_0xb4a5('0x22')][_0xb4a5('0x47')]('formatInline',_0xb4a5('0x60'),_0xb4a5('0x40'),()=>{}),_0x133984[_0xb4a5('0x22')][_0xb4a5('0x47')](_0xb4a5('0x64'),_0xb4a5('0x26'),_0xb4a5('0x1'),()=>{}),_0x133984[_0xb4a5('0x22')][_0xb4a5('0x47')](_0xb4a5('0x64'),_0xb4a5('0x26'),_0xb4a5('0x67'),(_0x361f6d,_0x253275)=>{_0x133984[_0xb4a5('0x22')][_0xb4a5('0x37')](_0xb4a5('0x64'),'',_0xb4a5('0x1'))(_0x361f6d,{'commandName':_0x253275['commandName'],'commandParams':_0x253275['commandReversedParams']});}),_0x133984[_0xb4a5('0x22')]['registerCustomCallback'](_0xb4a5('0x64'),_0xb4a5('0x26'),_0xb4a5('0x25'),_0x518a4d);}const _0x50ee5e=[{'type':_0xb4a5('0x64'),'subType':'imageStylePreApply'},{'type':'insertion','subType':_0xb4a5('0x6b')},{'type':_0xb4a5('0x64'),'subType':'convertInlineImageToBlock'},{'type':_0xb4a5('0x76'),'subType':_0xb4a5('0x45')}];function _0x5c5de9(_0x58e81e,_0x3a32a3){const _0xe18e97=_0x50ee5e[_0xb4a5('0x4e')](({type:_0x2a79a1,subType:_0xc48805})=>_0x58e81e[_0xb4a5('0x21')]==_0x2a79a1&&_0x58e81e['subType']==_0xc48805),_0x18e188=_0x50ee5e['findIndex'](({type:_0x27e3ed,subType:_0x31bfbc})=>_0x3a32a3[_0xb4a5('0x21')]==_0x27e3ed&&_0x3a32a3[_0xb4a5('0x79')]==_0x31bfbc);if(_0xe18e97<0x0||_0x18e188<0x0)return!0x1;const _0x52e8da=_0x58e81e['getFirstRange'](),_0xec1098=_0x3a32a3[_0xb4a5('0x2a')]();if((0x0==_0xe18e97||0x1==_0xe18e97)&&0x2==_0x18e188&&_0x52e8da[_0xb4a5('0x17')](_0xec1098))return!0x0;if(0x2==_0xe18e97&&0x3==_0x18e188){const _0x3964c6=_0x133984['_findSuggestions'](_0x52e8da,_0xb4a5('0x76'))[_0xb4a5('0x65')](({suggestion:_0x4dd559,meta:_0xd7e4b})=>_0xd7e4b[_0xb4a5('0x1f')]&&_0xb4a5('0x45')==_0x4dd559['subType']);if(_0x3964c6[_0xb4a5('0x58')]>0x1&&_0xec1098['end']['isEqual'](_0x52e8da[_0xb4a5('0x5c')]))return!0x0;if(0x1==_0x3964c6['length']&&(_0x52e8da[_0xb4a5('0x5c')]['isEqual'](_0xec1098[_0xb4a5('0x36')])||_0x52e8da[_0xb4a5('0x36')][_0xb4a5('0x11')](_0xec1098[_0xb4a5('0x5c')])))return!0x0;}if(0x3==_0xe18e97&&0x3==_0x18e188&&_0x52e8da[_0xb4a5('0x5c')][_0xb4a5('0x7a')](_0xec1098[_0xb4a5('0x5c')])){const _0x29ede9=_0x52e8da[_0xb4a5('0x36')][_0xb4a5('0xf')],_0x4759bb=_0xec1098['start'][_0xb4a5('0x70')];return _0x445d66[_0xb4a5('0x6c')](_0x29ede9)&&_0x29ede9===_0x4759bb;}return!0x1;}function _0x518a4d(_0x4d4618,_0x25b058){return _0x5c5de9(_0x4d4618,_0x25b058)?[_0x4d4618,_0x25b058]:_0x5c5de9(_0x25b058,_0x4d4618)?[_0x25b058,_0x4d4618]:null;}_0xbfc8d2[_0xb4a5('0x39')]['document'][_0xb4a5('0x6d')](()=>{let _0x3167c5=!0x1;const _0x1f9aaf=Array[_0xb4a5('0x7d')](_0xbfc8d2['model'][_0xb4a5('0x72')][_0xb4a5('0x3')][_0xb4a5('0x71')]());for(const {name:_0x4f3cb5,data:_0x77bdf3}of _0x1f9aaf){const {group:_0x5be53b,type:_0x3cdc23,subType:_0x3c798d,id:_0x189aca}=_0x133984[_0xb4a5('0x1d')](_0x4f3cb5);if(_0xb4a5('0x73')==_0x5be53b&&_0x133984[_0xb4a5('0xc')](_0x189aca)){if(_0xb4a5('0x64')==_0x3cdc23&&('imageStylePreApply'==_0x3c798d||_0xb4a5('0x60')==_0x3c798d)){const _0x279f54=_0x133984[_0xb4a5('0x41')](_0x189aca);if(_0x77bdf3[_0xb4a5('0x3c')]){const _0x16a7b8=_0x279f54[_0xb4a5('0x2a')]()[_0xb4a5('0x69')]();if(_0x445d66[_0xb4a5('0x6c')](_0x16a7b8))continue;_0x133984['discardSuggestion'](_0x279f54),_0x3167c5=!0x0;}}if(_0xb4a5('0x76')==_0x3cdc23&&'imageCaption'==_0x3c798d&&!_0x77bdf3[_0xb4a5('0x3c')]){const _0x31c419=_0x133984[_0xb4a5('0x41')](_0x189aca);_0x31c419[_0xb4a5('0x9')]&&_0x31c419[_0xb4a5('0x9')][_0xb4a5('0x3e')]&&(_0x133984[_0xb4a5('0x2d')](_0x31c419['next']),_0x3167c5=!0x0);}}}return _0x3167c5;}),_0xbfc8d2['plugins'][_0xb4a5('0x50')](_0xb4a5('0x5e'))&&_0x133984[_0xb4a5('0x4b')](_0xb4a5('0x48'),(_0x3da248,_0x571580)=>{const _0x144a42=_0x445d66['getClosestSelectedImageElement'](_0xbfc8d2['model'][_0xb4a5('0x72')][_0xb4a5('0x4d')]);_0x144a42['getAttribute'](_0xb4a5('0x51'))!=_0x571580[_0xb4a5('0x51')]&&_0xbfc8d2[_0xb4a5('0x39')][_0xb4a5('0x13')](()=>{_0x133984['markBlockFormat'](_0x144a42,{'commandName':'resizeImage','commandParams':[_0x571580]});});}),_0xbfc8d2['plugins']['has'](_0xb4a5('0x4a'))&&_0x133984[_0xb4a5('0x4b')](_0xb4a5('0x6e'),(_0x45c1a8,_0x5d67a7)=>{const _0x4283b0=_0x445d66[_0xb4a5('0x2e')](_0xbfc8d2[_0xb4a5('0x39')]['document'][_0xb4a5('0x4d')]);(_0x4283b0[_0xb4a5('0x30')]('alt')?_0x4283b0[_0xb4a5('0x1b')]('alt'):'')!=_0x5d67a7[_0xb4a5('0x5a')]&&_0xbfc8d2[_0xb4a5('0x39')][_0xb4a5('0x13')](()=>{_0x133984[_0xb4a5('0x32')](_0x4283b0,{'commandName':_0xb4a5('0x6e'),'commandParams':[_0x5d67a7]});});}),_0x133984[_0xb4a5('0x56')]['registerDescriptionCallback'](_0x436f5d=>{if(!!_0x50ee5e[_0xb4a5('0x6')](({type:_0x4683c3,subType:_0x16fe41})=>_0x436f5d[_0xb4a5('0x21')]==_0x4683c3&&_0x436f5d[_0xb4a5('0x79')]==_0x16fe41))return _0x436f5d['previous']?{}:void 0x0;}),_0x133984[_0xb4a5('0x56')]['registerDescriptionCallback'](_0xe424c9=>{if('insertion'==_0xe424c9['type']||_0xb4a5('0x54')==_0xe424c9[_0xb4a5('0x21')]){const _0x5b6f20=_0xe424c9[_0xb4a5('0x69')]();if(_0x5b6f20&&_0x5b6f20['is'](_0xb4a5('0x1a'),_0xb4a5('0xe')))return{'type':_0xb4a5('0x76')==_0xe424c9[_0xb4a5('0x21')]?_0xb4a5('0x5d'):_0xb4a5('0x55'),'element':_0x5b6f20,'quantity':0x1};}}),_0x133984['_descriptionFactory'][_0xb4a5('0x6f')](_0xde96bc=>_0xb4a5('0x64')==_0xde96bc[_0xb4a5('0x21')]&&_0xb4a5('0x45')==_0xde96bc[_0xb4a5('0x79')]?{'type':_0xb4a5('0x77'),'content':_0xb4a5('0x34')}:_0xb4a5('0x64')==_0xde96bc[_0xb4a5('0x21')]&&_0xb4a5('0x15')==_0xde96bc['subType']?{'type':'format','content':'Block\x20image\x20to\x20inline\x20image'}:void 0x0),_0x133984[_0xb4a5('0x56')][_0xb4a5('0x6f')](_0x27d4da=>{const {data:_0x37c754}=_0x27d4da;if(_0x37c754){if(_0xb4a5('0x18')==_0x37c754[_0xb4a5('0x0')]){const _0x22291f=_0x37c754['commandParams'][0x0][_0xb4a5('0x7c')];return _0x235fc1(_0xb4a5('0x8')===_0x22291f?_0x29d4e2(_0x184919,_0xb4a5('0x29')):_0x3f64fd[_0x22291f]||_0x22291f);}if(_0xb4a5('0x6e')==_0x37c754['commandName']){const _0x443330=_0x37c754['commandParams'][0x0]['newValue'];return _0x443330?{'type':_0xb4a5('0x77'),'content':_0x29d4e2(_0x184919,_0xb4a5('0xa'),'\x22'+_0x443330+'\x22')}:{'type':_0xb4a5('0x77'),'content':_0x29d4e2(_0x184919,'*Remove\x20image\x20text\x20alternative*')};}if(_0xb4a5('0x48')==_0x37c754[_0xb4a5('0x0')]){const _0x2555dc=_0x37c754[_0xb4a5('0x3f')][0x0][_0xb4a5('0x51')];return _0x2555dc?{'type':'format','content':_0x29d4e2(_0x184919,_0xb4a5('0x49'),_0x2555dc)}:{'type':_0xb4a5('0x77'),'content':_0x29d4e2(_0x184919,_0xb4a5('0x12'))};}}function _0x235fc1(_0x109745){return{'type':_0xb4a5('0x77'),'content':_0x29d4e2(_0x184919,'*Format:*\x20%0',_0x109745)};}});}}
23
+ const _0x2274=['getClosestSelectedImageElement','ELEMENT_INLINE_IMAGE','name','*Set\x20image\x20text\x20alternative:*\x20%0','alt','convertBlockImageToInline','imageStylePostApply','nodeAfter','forEach','ImageTextAlternativeEditing','title','resizeImage','type','formatInline','change','getNearestSelectionRange','end','isOwn','Inline\x20image\x20to\x20block\x20image','*Set\x20image\x20width:*\x20%0','has','subType','ImageUtils','*Remove\x20image\x20text\x20alternative*','nodeBefore','format','forward','isIntersecting','isCollapsed','getContainedElement','addObject','imageTypeInline','normalizedStyles','document','hasAttribute','ImageUploadEditing','isInContent','shouldConvertImageType','Users','getSuggestionCallback','differ','find','from','backward','isBefore','TrackChangesEditing','suggestion','getFirstRange','imageStyle','discard','insertion','forceDefaultExecution','insertImage','model','imageInline','commandReversedParams','imageStylePreApply','commands','ImageResize','registerCustomCallback','createRange','newValue','chain','formatBlock','convertInlineImageToBlock','toPrevious','toNext','newRange','toggleImageCaption','editor','_findSuggestions','ImageBlockEditing','commandName','join','filter','Block\x20image\x20to\x20inline\x20image','_splitMarkerName','isEqual','schema','accept','markBlockFormat','ImageCaptionEditing','ImageEditing','uploadImage','_suggestionFactory','registerDescriptionCallback','commandParams','plugins','_descriptionFactory','markInsertion','findIndex','ELEMENT_CAPTION','hasSuggestion','element','caption','next','ImageCaptionUtils','getSuggestion','ELEMENT_IMAGE','isBlockImage','refresh','imageTypeBlock','value','registerElementLabel','*Reset\x20image\x20width*','detach','imageTextAlternative','createRangeOn','start','imageBlock','imageCaption','enableCommand','fromPosition','length','removeObject','locale','head','markDeletion','selection','discardSuggestion','get','deletion','width','getCaptionFromImageModelElement'];(function(_0x202ad1,_0x227437){const _0x5ecee4=function(_0x592784){while(--_0x592784){_0x202ad1['push'](_0x202ad1['shift']());}};_0x5ecee4(++_0x227437);}(_0x2274,0xeb));const _0x5ece=function(_0x202ad1,_0x227437){_0x202ad1=_0x202ad1-0x0;let _0x5ecee4=_0x2274[_0x202ad1];return _0x5ecee4;};import{Plugin as _0x27b3e5}from'ckeditor5/src/core';import{LivePosition as _0x1a02a5}from'ckeditor5/src/engine';import{uid as _0xb2e103}from'ckeditor5/src/utils';import{getTranslation as _0x17c2f8}from'../utils/common-translations';export default class X extends _0x27b3e5{['afterInit'](){const _0x35e6de=this[_0x5ece('0x52')];if(!_0x35e6de[_0x5ece('0x64')][_0x5ece('0x21')](_0x5ece('0x5f')))return;const _0x2f629c=_0x35e6de[_0x5ece('0x64')][_0x5ece('0x9')](_0x5ece('0x3a')),_0x426ce3=_0x35e6de[_0x5ece('0x64')][_0x5ece('0x9')](_0x5ece('0x23')),_0x1387f4={},_0x25ba39=_0x35e6de[_0x5ece('0x4')];if(_0x2f629c[_0x5ece('0x0')](_0x5ece('0x41')),_0x2f629c[_0x5ece('0x65')]['registerElementLabel'](_0x5ece('0x7a'),_0x207870=>_0x17c2f8(_0x25ba39,_0x5ece('0x6f'),_0x207870)),_0x2f629c[_0x5ece('0x65')][_0x5ece('0x74')](_0x5ece('0x43'),_0x23a8a0=>_0x17c2f8(_0x25ba39,_0x5ece('0xe'),_0x23a8a0)),_0x2f629c['_descriptionFactory'][_0x5ece('0x74')](_0x5ece('0x6b'),()=>_0x17c2f8(_0x25ba39,_0x5ece('0x68'))),_0x35e6de[_0x5ece('0x64')][_0x5ece('0x21')](_0x5ece('0x30'))&&_0x2f629c[_0x5ece('0x0')](_0x5ece('0x60')),_0x35e6de[_0x5ece('0x64')][_0x5ece('0x21')](_0x5ece('0x54'))&&_0x35e6de[_0x5ece('0x64')][_0x5ece('0x21')]('ImageInlineEditing')&&(_0x2f629c[_0x5ece('0x0')](_0x5ece('0x2c'),(_0x2be6ae,_0x17cbdd)=>{const _0x37732c=_0x426ce3['getClosestSelectedImageElement'](_0x35e6de[_0x5ece('0x42')]['document'][_0x5ece('0x7')]);_0x35e6de[_0x5ece('0x42')][_0x5ece('0x1b')](()=>{_0x2f629c['markBlockFormat'](_0x37732c,{'commandName':_0x5ece('0x2c'),'commandParams':[_0x17cbdd]},[],_0x5ece('0x12'));});}),_0x2f629c['enableCommand'](_0x5ece('0x72'),(_0x1311c1,_0x207c29)=>{_0x35e6de[_0x5ece('0x42')][_0x5ece('0x1b')](_0x22cd43=>{let _0x4b834e=_0x426ce3['getClosestSelectedImageElement'](_0x35e6de[_0x5ece('0x42')]['document'][_0x5ece('0x7')]),_0x391395=_0x22cd43['createRangeOn'](_0x4b834e);const _0x3e2c35=_0x1a02a5[_0x5ece('0x1')](_0x391395['start'],_0x5ece('0x4e')),_0x3d3a1c=_0x1a02a5[_0x5ece('0x1')](_0x391395[_0x5ece('0x1d')],_0x5ece('0x4f'));_0x2f629c[_0x5ece('0x40')](()=>_0x1311c1(_0x207c29)),_0x4b834e=_0x426ce3[_0x5ece('0xd')](_0x35e6de[_0x5ece('0x42')]['document'][_0x5ece('0x7')]),_0x391395=_0x22cd43[_0x5ece('0x78')](_0x4b834e);const _0x12c5ed=_0x22cd43[_0x5ece('0x49')](_0x3e2c35,_0x3d3a1c);_0x3e2c35['detach'](),_0x3d3a1c[_0x5ece('0x76')](),_0x2f629c[_0x5ece('0x5d')](_0x4b834e,{'commandName':_0x5ece('0x2c'),'commandParams':[]},[],'convertInlineImageToBlock'),_0x12c5ed[_0x5ece('0x79')][_0x5ece('0x39')](_0x391395[_0x5ece('0x79')])&&_0x2f629c[_0x5ece('0x66')](_0x22cd43[_0x5ece('0x49')](_0x12c5ed[_0x5ece('0x79')],_0x391395['start']),_0x5ece('0x4d')),_0x391395[_0x5ece('0x1d')][_0x5ece('0x39')](_0x12c5ed[_0x5ece('0x1d')])&&_0x2f629c[_0x5ece('0x66')](_0x22cd43['createRange'](_0x391395['end'],_0x12c5ed[_0x5ece('0x1d')]),_0x5ece('0x4d'));});}),_0x2f629c['_suggestionFactory'][_0x5ece('0x48')]('formatBlock','convertInlineImageToBlock',_0x5ece('0x56'),()=>{}),_0x2f629c[_0x5ece('0x61')][_0x5ece('0x48')]('formatBlock',_0x5ece('0x4d'),_0x5ece('0x5c'),()=>{}),_0x2f629c['_suggestionFactory'][_0x5ece('0x48')]('formatBlock',_0x5ece('0x4d'),_0x5ece('0x3e'),_0x2f629c[_0x5ece('0x61')][_0x5ece('0x34')](_0x5ece('0x4c'),'','accept')),_0x2f629c[_0x5ece('0x61')][_0x5ece('0x48')](_0x5ece('0x3f'),'convertInlineImageToBlock',_0x5ece('0x56'),()=>{}),_0x2f629c[_0x5ece('0x61')][_0x5ece('0x48')](_0x5ece('0x3f'),_0x5ece('0x4d'),'discard',([_0x483412])=>{const _0xfd91c6=_0x2f629c[_0x5ece('0x61')][_0x5ece('0x34')](_0x5ece('0x3f'),'',_0x5ece('0x3e'));let _0x509bdc=_0x483412[_0x5ece('0x79')],_0xf77616=_0x483412[_0x5ece('0x1d')];const _0x4843cb=_0x35e6de[_0x5ece('0x42')]['schema'][_0x5ece('0x1c')](_0x509bdc,_0x5ece('0x38')),_0x2e6cb1=_0x35e6de['model'][_0x5ece('0x5b')][_0x5ece('0x1c')](_0xf77616,_0x5ece('0x27'));_0x4843cb[_0x5ece('0x29')]&&(_0x509bdc=_0x4843cb[_0x5ece('0x79')]),_0x2e6cb1['isCollapsed']&&(_0xf77616=_0x2e6cb1['end']),_0xfd91c6([_0x35e6de[_0x5ece('0x42')][_0x5ece('0x49')](_0x509bdc,_0xf77616)]);}),_0x2f629c[_0x5ece('0x61')][_0x5ece('0x48')](_0x5ece('0x4c'),'convertInlineImageToBlock',_0x5ece('0x4b'),_0x2bfb48),_0x2f629c[_0x5ece('0x61')][_0x5ece('0x48')](_0x5ece('0x3f'),_0x5ece('0x4d'),_0x5ece('0x4b'),_0x2bfb48)),_0x35e6de[_0x5ece('0x64')][_0x5ece('0x21')](_0x5ece('0x5e'))&&(_0x2f629c[_0x5ece('0x0')](_0x5ece('0x51'),(_0x5e4633,_0x55ed93)=>{const _0x437e6d=_0x35e6de[_0x5ece('0x64')][_0x5ece('0x9')](_0x5ece('0x6d'));let _0x572514=_0x426ce3[_0x5ece('0xd')](_0x35e6de[_0x5ece('0x42')][_0x5ece('0x2e')][_0x5ece('0x7')]),_0x264226=_0x437e6d[_0x5ece('0xc')](_0x572514);_0x35e6de[_0x5ece('0x42')]['change'](()=>{if(_0x264226)return void _0x2f629c[_0x5ece('0x6')](_0x35e6de['model'][_0x5ece('0x78')](_0x264226));const _0x4b84ea=_0x426ce3[_0x5ece('0x70')](_0x572514);_0x5e4633(_0x55ed93),_0x572514=_0x426ce3[_0x5ece('0xd')](_0x35e6de[_0x5ece('0x42')]['document']['selection']),_0x264226=_0x437e6d[_0x5ece('0xc')](_0x572514),_0x2f629c['markInsertion'](_0x35e6de['model']['createRangeOn'](_0x264226),_0x4b84ea?null:_0x5ece('0x7b'));});}),_0x2f629c[_0x5ece('0x61')]['registerCustomCallback'](_0x5ece('0x3f'),'imageCaption',_0x5ece('0x4b'),_0x2bfb48)),_0x35e6de[_0x5ece('0x64')][_0x5ece('0x21')]('ImageStyleEditing')){_0x2f629c['enableCommand']('imageStyle',(_0x444622,_0x3810a5)=>{const _0x502fca=_0x35e6de['plugins'][_0x5ece('0x9')](_0x5ece('0x33'))['me'],_0x36cc2a=_0x35e6de['commands'][_0x5ece('0x9')]('imageStyle');let _0x7b30d3=_0x426ce3[_0x5ece('0xd')](_0x35e6de['model'][_0x5ece('0x2e')][_0x5ece('0x7')]),_0x11df41=_0x35e6de[_0x5ece('0x42')][_0x5ece('0x78')](_0x7b30d3),_0x580080=_0x36cc2a['value'];if(_0x580080==_0x3810a5['value'])return;const _0x5f249a={'commandName':_0x5ece('0x3d'),'commandParams':[_0x3810a5],'formatGroupId':_0xb2e103()};_0x35e6de[_0x5ece('0x42')][_0x5ece('0x1b')](()=>{if(_0x2f629c['getSuggestions']()[_0x5ece('0x57')](_0x904da8=>_0x904da8[_0x5ece('0x31')]&&_0x502fca==_0x904da8['author']&&(_0x5ece('0x4c')==_0x904da8['type']||_0x5ece('0x1a')==_0x904da8[_0x5ece('0x19')])&&('imageStylePreApply'==_0x904da8[_0x5ece('0x22')]||'imageStylePostApply'==_0x904da8['subType'])&&_0x904da8[_0x5ece('0x3c')]()[_0x5ece('0x5a')](_0x11df41))[_0x5ece('0x15')](_0xe6103d=>_0x2f629c[_0x5ece('0x8')](_0xe6103d[_0x5ece('0x5')])),_0x7b30d3=_0x426ce3[_0x5ece('0xd')](_0x35e6de[_0x5ece('0x42')][_0x5ece('0x2e')]['selection']),_0x11df41=_0x35e6de['model']['createRangeOn'](_0x7b30d3),_0x36cc2a['refresh'](),_0x35e6de[_0x5ece('0x46')][_0x5ece('0x9')](_0x5ece('0x2c'))['refresh'](),_0x35e6de['commands'][_0x5ece('0x9')](_0x5ece('0x72'))[_0x5ece('0x71')](),_0x580080=_0x36cc2a[_0x5ece('0x73')],_0x580080!=_0x3810a5[_0x5ece('0x73')])return _0x426ce3['isInlineImage'](_0x7b30d3)&&_0x36cc2a[_0x5ece('0x32')](_0x3810a5[_0x5ece('0x73')],_0x7b30d3)?(_0x444622(_0x3810a5),_0x7b30d3=_0x426ce3['getClosestSelectedImageElement'](_0x35e6de[_0x5ece('0x42')][_0x5ece('0x2e')][_0x5ece('0x7')]),void _0x2f629c[_0x5ece('0x5d')](_0x7b30d3,{..._0x5f249a,'commandReversedParams':[{'value':_0x580080||null}]},[],_0x5ece('0x45'))):void(_0x426ce3['isBlockImage'](_0x7b30d3)?_0x2f629c['markBlockFormat'](_0x7b30d3,_0x5f249a,[],_0x5ece('0x13')):_0x2f629c['markInlineFormat'](_0x11df41,_0x5f249a,'imageStylePostApply'));});});for(const _0x5aa2be of _0x35e6de['plugins'][_0x5ece('0x9')]('ImageStyleEditing')[_0x5ece('0x2d')])_0x1387f4[_0x5aa2be[_0x5ece('0xf')]]=_0x5aa2be[_0x5ece('0x17')]['toLowerCase']();_0x2f629c['_suggestionFactory']['registerCustomCallback'](_0x5ece('0x4c'),_0x5ece('0x45'),_0x5ece('0x56'),()=>{}),_0x2f629c[_0x5ece('0x61')][_0x5ece('0x48')](_0x5ece('0x4c'),_0x5ece('0x13'),'join',()=>{}),_0x2f629c[_0x5ece('0x61')]['registerCustomCallback'](_0x5ece('0x1a'),_0x5ece('0x13'),_0x5ece('0x56'),()=>{}),_0x2f629c[_0x5ece('0x61')][_0x5ece('0x48')](_0x5ece('0x4c'),_0x5ece('0x45'),'accept',()=>{}),_0x2f629c[_0x5ece('0x61')][_0x5ece('0x48')](_0x5ece('0x4c'),_0x5ece('0x45'),_0x5ece('0x3e'),(_0x405c2b,_0x516e8d)=>{_0x2f629c[_0x5ece('0x61')]['getSuggestionCallback'](_0x5ece('0x4c'),'',_0x5ece('0x5c'))(_0x405c2b,{'commandName':_0x516e8d[_0x5ece('0x55')],'commandParams':_0x516e8d[_0x5ece('0x44')]});}),_0x2f629c[_0x5ece('0x61')]['registerCustomCallback'](_0x5ece('0x4c'),_0x5ece('0x45'),_0x5ece('0x4b'),_0x2bfb48);}const _0x8bea46=[{'type':_0x5ece('0x4c'),'subType':'imageStylePreApply'},{'type':_0x5ece('0x3f'),'subType':_0x5ece('0x7b')},{'type':'formatBlock','subType':_0x5ece('0x4d')},{'type':_0x5ece('0x3f'),'subType':_0x5ece('0x4d')}];function _0x519d94(_0x4aaa4d,_0x520db8){const _0x23e191=_0x8bea46[_0x5ece('0x67')](({type:_0x429439,subType:_0x5b3d86})=>_0x4aaa4d[_0x5ece('0x19')]==_0x429439&&_0x4aaa4d['subType']==_0x5b3d86),_0x31617a=_0x8bea46[_0x5ece('0x67')](({type:_0x3c2349,subType:_0x1a6a1f})=>_0x520db8[_0x5ece('0x19')]==_0x3c2349&&_0x520db8[_0x5ece('0x22')]==_0x1a6a1f);if(_0x23e191<0x0||_0x31617a<0x0)return!0x1;const _0x1b7a00=_0x4aaa4d['getFirstRange'](),_0x3990b0=_0x520db8[_0x5ece('0x3c')]();if((0x0==_0x23e191||0x1==_0x23e191)&&0x2==_0x31617a&&_0x1b7a00[_0x5ece('0x28')](_0x3990b0))return!0x0;if(0x2==_0x23e191&&0x3==_0x31617a){const _0x28b2a5=_0x2f629c[_0x5ece('0x53')](_0x1b7a00,_0x5ece('0x3f'))[_0x5ece('0x57')](({suggestion:_0x358d44,meta:_0xed62a4})=>_0xed62a4[_0x5ece('0x1e')]&&_0x5ece('0x4d')==_0x358d44['subType']);if(_0x28b2a5[_0x5ece('0x2')]>0x1&&_0x3990b0[_0x5ece('0x1d')][_0x5ece('0x5a')](_0x1b7a00[_0x5ece('0x79')]))return!0x0;if(0x1==_0x28b2a5['length']&&(_0x1b7a00[_0x5ece('0x79')]['isEqual'](_0x3990b0[_0x5ece('0x1d')])||_0x1b7a00['end']['isEqual'](_0x3990b0[_0x5ece('0x79')])))return!0x0;}if(0x3==_0x23e191&&0x3==_0x31617a&&_0x1b7a00[_0x5ece('0x79')][_0x5ece('0x39')](_0x3990b0['start'])){const _0x561b1c=_0x1b7a00['end'][_0x5ece('0x14')],_0x34dbe6=_0x3990b0[_0x5ece('0x79')][_0x5ece('0x25')];return _0x426ce3['isBlockImage'](_0x561b1c)&&_0x561b1c===_0x34dbe6;}return!0x1;}function _0x2bfb48(_0x667f3,_0x182f25){return _0x519d94(_0x667f3,_0x182f25)?[_0x667f3,_0x182f25]:_0x519d94(_0x182f25,_0x667f3)?[_0x182f25,_0x667f3]:null;}_0x35e6de['model']['document']['registerPostFixer'](()=>{let _0x5a170e=!0x1;const _0x2e5ff5=Array[_0x5ece('0x37')](_0x35e6de[_0x5ece('0x42')][_0x5ece('0x2e')][_0x5ece('0x35')]['getChangedMarkers']());for(const {name:_0x12207f,data:_0x284f73}of _0x2e5ff5){const {group:_0x38b0a1,type:_0x14cadf,subType:_0x4f8d34,id:_0x17f4af}=_0x2f629c[_0x5ece('0x59')](_0x12207f);if(_0x5ece('0x3b')==_0x38b0a1&&_0x2f629c[_0x5ece('0x69')](_0x17f4af)){if(_0x5ece('0x4c')==_0x14cadf&&(_0x5ece('0x45')==_0x4f8d34||_0x5ece('0x13')==_0x4f8d34)){const _0x1b5743=_0x2f629c[_0x5ece('0x6e')](_0x17f4af);if(_0x284f73[_0x5ece('0x50')]){const _0x4b4151=_0x1b5743[_0x5ece('0x3c')]()[_0x5ece('0x2a')]();if(_0x426ce3['isBlockImage'](_0x4b4151))continue;_0x2f629c[_0x5ece('0x8')](_0x1b5743),_0x5a170e=!0x0;}}if('insertion'==_0x14cadf&&'imageCaption'==_0x4f8d34&&!_0x284f73['newRange']){const _0x58d776=_0x2f629c['getSuggestion'](_0x17f4af);_0x58d776[_0x5ece('0x6c')]&&_0x58d776[_0x5ece('0x6c')]['isInContent']&&(_0x2f629c[_0x5ece('0x8')](_0x58d776[_0x5ece('0x6c')]),_0x5a170e=!0x0);}}}return _0x5a170e;}),_0x35e6de[_0x5ece('0x64')][_0x5ece('0x21')](_0x5ece('0x47'))&&_0x2f629c[_0x5ece('0x0')](_0x5ece('0x18'),(_0x393b84,_0x5c4787)=>{const _0x3671c8=_0x426ce3[_0x5ece('0xd')](_0x35e6de['model'][_0x5ece('0x2e')][_0x5ece('0x7')]);_0x3671c8['getAttribute'](_0x5ece('0xb'))!=_0x5c4787[_0x5ece('0xb')]&&_0x35e6de[_0x5ece('0x42')][_0x5ece('0x1b')](()=>{_0x2f629c[_0x5ece('0x5d')](_0x3671c8,{'commandName':_0x5ece('0x18'),'commandParams':[_0x5c4787]});});}),_0x35e6de['plugins']['has'](_0x5ece('0x16'))&&_0x2f629c[_0x5ece('0x0')]('imageTextAlternative',(_0x10f92d,_0x5debc8)=>{const _0x14f735=_0x426ce3['getClosestSelectedImageElement'](_0x35e6de[_0x5ece('0x42')][_0x5ece('0x2e')]['selection']);(_0x14f735[_0x5ece('0x2f')](_0x5ece('0x11'))?_0x14f735['getAttribute']('alt'):'')!=_0x5debc8[_0x5ece('0x4a')]&&_0x35e6de[_0x5ece('0x42')]['change'](()=>{_0x2f629c[_0x5ece('0x5d')](_0x14f735,{'commandName':_0x5ece('0x77'),'commandParams':[_0x5debc8]});});}),_0x2f629c[_0x5ece('0x65')][_0x5ece('0x62')](_0x109d08=>{if(!!_0x8bea46[_0x5ece('0x36')](({type:_0x454f51,subType:_0x46ba71})=>_0x109d08[_0x5ece('0x19')]==_0x454f51&&_0x109d08[_0x5ece('0x22')]==_0x46ba71))return _0x109d08['previous']?{}:void 0x0;}),_0x2f629c['_descriptionFactory'][_0x5ece('0x62')](_0x562010=>{if('insertion'==_0x562010[_0x5ece('0x19')]||_0x5ece('0xa')==_0x562010[_0x5ece('0x19')]){const _0x46f260=_0x562010['getContainedElement']();if(_0x46f260&&_0x46f260['is'](_0x5ece('0x6a'),_0x5ece('0x6b')))return{'type':_0x5ece('0x3f')==_0x562010[_0x5ece('0x19')]?_0x5ece('0x2b'):_0x5ece('0x3'),'element':_0x46f260,'quantity':0x1};}}),_0x2f629c[_0x5ece('0x65')]['registerDescriptionCallback'](_0x11cca1=>'formatBlock'==_0x11cca1[_0x5ece('0x19')]&&_0x5ece('0x4d')==_0x11cca1[_0x5ece('0x22')]?{'type':_0x5ece('0x26'),'content':_0x5ece('0x1f')}:_0x5ece('0x4c')==_0x11cca1['type']&&_0x5ece('0x12')==_0x11cca1[_0x5ece('0x22')]?{'type':_0x5ece('0x26'),'content':_0x5ece('0x58')}:void 0x0),_0x2f629c[_0x5ece('0x65')][_0x5ece('0x62')](_0x7ad9f7=>{const {data:_0x3a5666}=_0x7ad9f7;if(_0x3a5666){if('imageStyle'==_0x3a5666['commandName']){const _0xba9bf4=_0x3a5666[_0x5ece('0x63')][0x0]['value'];return _0x32e44a('side'===_0xba9bf4?_0x17c2f8(_0x25ba39,'FORMAT_SIDE_IMAGE'):_0x1387f4[_0xba9bf4]||_0xba9bf4);}if(_0x5ece('0x77')==_0x3a5666[_0x5ece('0x55')]){const _0x2686d6=_0x3a5666['commandParams'][0x0][_0x5ece('0x4a')];return _0x2686d6?{'type':'format','content':_0x17c2f8(_0x25ba39,_0x5ece('0x10'),'\x22'+_0x2686d6+'\x22')}:{'type':_0x5ece('0x26'),'content':_0x17c2f8(_0x25ba39,_0x5ece('0x24'))};}if(_0x5ece('0x18')==_0x3a5666[_0x5ece('0x55')]){const _0x255565=_0x3a5666[_0x5ece('0x63')][0x0][_0x5ece('0xb')];return _0x255565?{'type':_0x5ece('0x26'),'content':_0x17c2f8(_0x25ba39,_0x5ece('0x20'),_0x255565)}:{'type':_0x5ece('0x26'),'content':_0x17c2f8(_0x25ba39,_0x5ece('0x75'))};}}function _0x32e44a(_0x109380){return{'type':_0x5ece('0x26'),'content':_0x17c2f8(_0x25ba39,'*Format:*\x20%0',_0x109380)};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5a9e=['model','*Format:*\x20replace\x20image\x20URL','selection','_suggestionFactory','getSelectedElement','source','accept','Users','document','has','src','formatBlock','format','_descriptionFactory','commandParams','getSuggestionCallback','afterInit','handleSuggestionDescription','replaceImageSource','editor','discard','get','subType','getAttribute','markBlockFormat','enableCommand','TrackChangesEditing','handleReplaceImageCommand','author','change','registerCustomCallback','plugins','getContainedElement','ImageEditing','registerDescriptionCallback'];(function(_0x3bd0be,_0x5a9e91){const _0x32049d=function(_0x45463e){while(--_0x45463e){_0x3bd0be['push'](_0x3bd0be['shift']());}};_0x32049d(++_0x5a9e91);}(_0x5a9e,0x15f));const _0x3204=function(_0x3bd0be,_0x5a9e91){_0x3bd0be=_0x3bd0be-0x0;let _0x32049d=_0x5a9e[_0x3bd0be];return _0x32049d;};import{Plugin as _0x3a666c}from'ckeditor5/src/core';import{getTranslation as _0x3f6fef}from'../utils/common-translations';export default class Y extends _0x3a666c{[_0x3204('0xf')](){if(!this[_0x3204('0x12')]['plugins'][_0x3204('0x8')](_0x3204('0x20')))return;const _0x416e5d=this[_0x3204('0x12')][_0x3204('0x1e')][_0x3204('0x14')](_0x3204('0x19'));_0x416e5d[_0x3204('0x18')]('replaceImageSource',(_0x29259d,_0x27af4b)=>this[_0x3204('0x1a')](_0x29259d,_0x27af4b)),_0x416e5d[_0x3204('0x2')][_0x3204('0x1d')](_0x3204('0xa'),_0x3204('0x11'),'accept',_0x416e5d[_0x3204('0x2')][_0x3204('0xe')](_0x3204('0xa'),null,'discard')),_0x416e5d[_0x3204('0x2')][_0x3204('0x1d')](_0x3204('0xa'),_0x3204('0x11'),_0x3204('0x13'),_0x416e5d[_0x3204('0x2')][_0x3204('0xe')](_0x3204('0xa'),null,_0x3204('0x5'))),_0x416e5d[_0x3204('0xc')][_0x3204('0x21')](_0xbb2fe7=>this['handleSuggestionDescription'](_0xbb2fe7));}[_0x3204('0x1a')](_0x3a8af7,_0x2e297f){const _0x11c8dc=this[_0x3204('0x12')][_0x3204('0x1e')][_0x3204('0x14')](_0x3204('0x19')),_0x530835=this[_0x3204('0x12')]['model'][_0x3204('0x7')][_0x3204('0x1')][_0x3204('0x3')]();this[_0x3204('0x12')][_0x3204('0x22')][_0x3204('0x1c')](()=>{let _0x17e941=_0x530835[_0x3204('0x16')](_0x3204('0x9'));const _0x52fa84=this[_0x3204('0x12')][_0x3204('0x1e')][_0x3204('0x14')](_0x3204('0x6'))['me'];for(const _0x113f07 of _0x11c8dc['getSuggestions']({'skipNotAttached':!0x0})){const _0x334453=_0x113f07[_0x3204('0x1f')]();if(_0x3204('0x11')===_0x113f07[_0x3204('0x15')]&&_0x334453===_0x530835){_0x113f07[_0x3204('0x1b')]!==_0x52fa84&&_0x113f07[_0x3204('0x13')](),_0x17e941=_0x113f07['data'][_0x3204('0xd')][0x0][_0x3204('0x4')];break;}}_0x3a8af7(_0x2e297f),_0x11c8dc[_0x3204('0x17')](_0x530835,{'commandName':_0x3204('0x11'),'commandParams':[{'source':_0x17e941}]},[],_0x3204('0x11'));});}[_0x3204('0x10')](_0x5df960){const {data:_0x2ded02}=_0x5df960;if(_0x2ded02&&_0x3204('0x11')===_0x2ded02['commandName']){const _0x591303=_0x3204('0x0');return{'type':_0x3204('0xb'),'content':_0x3f6fef(this['editor']['locale'],_0x591303)};}}}
23
+ const _0x527f=['registerDescriptionCallback','model','registerCustomCallback','handleSuggestionDescription','subType','Users','data','markBlockFormat','locale','getSuggestions','selection','discard','commandParams','enableCommand','getSuggestionCallback','TrackChangesEditing','get','editor','has','handleReplaceImageCommand','ImageEditing','getSelectedElement','commandName','source','_descriptionFactory','author','plugins','formatBlock','getAttribute','format','afterInit','replaceImageSource','getContainedElement','document','_suggestionFactory','accept','*Format:*\x20replace\x20image\x20URL'];(function(_0x412f82,_0x527fd4){const _0x23affd=function(_0x49fa4f){while(--_0x49fa4f){_0x412f82['push'](_0x412f82['shift']());}};_0x23affd(++_0x527fd4);}(_0x527f,0x176));const _0x23af=function(_0x412f82,_0x527fd4){_0x412f82=_0x412f82-0x0;let _0x23affd=_0x527f[_0x412f82];return _0x23affd;};import{Plugin as _0x47edfa}from'ckeditor5/src/core';import{getTranslation as _0x355df9}from'../utils/common-translations';export default class Y extends _0x47edfa{[_0x23af('0x1a')](){if(!this[_0x23af('0xd')][_0x23af('0x16')][_0x23af('0xe')](_0x23af('0x10')))return;const _0x1223a8=this[_0x23af('0xd')][_0x23af('0x16')]['get'](_0x23af('0xb'));_0x1223a8[_0x23af('0x9')](_0x23af('0x1b'),(_0xe1d290,_0x311abd)=>this[_0x23af('0xf')](_0xe1d290,_0x311abd)),_0x1223a8[_0x23af('0x1e')][_0x23af('0x23')](_0x23af('0x17'),'replaceImageSource',_0x23af('0x1f'),_0x1223a8[_0x23af('0x1e')][_0x23af('0xa')](_0x23af('0x17'),null,_0x23af('0x7'))),_0x1223a8[_0x23af('0x1e')][_0x23af('0x23')]('formatBlock',_0x23af('0x1b'),_0x23af('0x7'),_0x1223a8[_0x23af('0x1e')][_0x23af('0xa')](_0x23af('0x17'),null,'accept')),_0x1223a8[_0x23af('0x14')][_0x23af('0x21')](_0x52bbdb=>this[_0x23af('0x24')](_0x52bbdb));}[_0x23af('0xf')](_0x1496c0,_0x8ec33a){const _0x2dcd8b=this['editor'][_0x23af('0x16')][_0x23af('0xc')](_0x23af('0xb')),_0x17099e=this[_0x23af('0xd')][_0x23af('0x22')][_0x23af('0x1d')][_0x23af('0x6')][_0x23af('0x11')]();this[_0x23af('0xd')][_0x23af('0x22')]['change'](()=>{let _0x58e030=_0x17099e[_0x23af('0x18')]('src');const _0x177d79=this['editor'][_0x23af('0x16')]['get'](_0x23af('0x1'))['me'];for(const _0x526309 of _0x2dcd8b[_0x23af('0x5')]({'skipNotAttached':!0x0})){const _0x477924=_0x526309[_0x23af('0x1c')]();if(_0x23af('0x1b')===_0x526309[_0x23af('0x0')]&&_0x477924===_0x17099e){_0x526309[_0x23af('0x15')]!==_0x177d79&&_0x526309['discard'](),_0x58e030=_0x526309[_0x23af('0x2')][_0x23af('0x8')][0x0][_0x23af('0x13')];break;}}_0x1496c0(_0x8ec33a),_0x2dcd8b[_0x23af('0x3')](_0x17099e,{'commandName':'replaceImageSource','commandParams':[{'source':_0x58e030}]},[],_0x23af('0x1b'));});}['handleSuggestionDescription'](_0x5bc78d){const {data:_0x713dc5}=_0x5bc78d;if(_0x713dc5&&_0x23af('0x1b')===_0x713dc5[_0x23af('0x12')]){const _0x4c3995=_0x23af('0x20');return{'type':_0x23af('0x19'),'content':_0x355df9(this[_0x23af('0xd')][_0x23af('0x4')],_0x4c3995)};}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x292d=['execute','trackChanges','listenTo','importWord','Users','dataInsert','collaboration_features','_trackChangesValueDuringImport','_trackChangesExecuted','TrackChangesEditing','forEach','track_changes','_handleImportedData','bind','get','_setSuggestionData','editor','value','commands','plugins','high'];(function(_0x17eaba,_0x292dbc){const _0x4f8423=function(_0x38d8d2){while(--_0x38d8d2){_0x17eaba['push'](_0x17eaba['shift']());}};_0x4f8423(++_0x292dbc);}(_0x292d,0xc8));const _0x4f84=function(_0x17eaba,_0x292dbc){_0x17eaba=_0x17eaba-0x0;let _0x4f8423=_0x292d[_0x17eaba];return _0x4f8423;};import{Plugin as _0x8d514a}from'ckeditor5/src/core';export default class Z extends _0x8d514a{constructor(_0x22df64){super(_0x22df64),this['_trackChangesValueDuringImport']=!0x1,this[_0x4f84('0x12')]=!0x1;}['afterInit'](){const _0x52ea72=this[_0x4f84('0x5')],_0x251d6e=_0x52ea72[_0x4f84('0x7')][_0x4f84('0x3')](_0x4f84('0xd')),_0x438a42=_0x52ea72[_0x4f84('0x7')][_0x4f84('0x3')](_0x4f84('0xb'));_0x251d6e&&(_0x251d6e['on'](_0x4f84('0xa'),(_0x2b8bcd,[,_0x447143])=>{this[_0x4f84('0x11')]=_0x438a42[_0x4f84('0x6')],_0x447143[_0x4f84('0x10')][_0x4f84('0x0')]=!this['_trackChangesValueDuringImport'];},{'priority':_0x4f84('0x9')}),this[_0x4f84('0xc')](_0x251d6e,_0x4f84('0xf'),this[_0x4f84('0x1')][_0x4f84('0x2')](this)),this[_0x4f84('0xc')](_0x251d6e,_0x4f84('0xf'),()=>{this[_0x4f84('0x12')]&&(_0x438a42[_0x4f84('0xa')](),this[_0x4f84('0x12')]=!0x1);},{'priority':'lowest'}),_0x52ea72[_0x4f84('0x8')][_0x4f84('0x3')](_0x4f84('0x13'))['enableCommand'](_0x4f84('0xd')));}[_0x4f84('0x1')](_0x5a1b72,_0x11a9b3){const {suggestions:_0x4ff10d}=_0x11a9b3,_0xe01e83=this[_0x4f84('0x5')][_0x4f84('0x7')]['get']('trackChanges'),_0x3be9d8=_0xe01e83['value'];this['_trackChangesValueDuringImport']!==_0x3be9d8&&(_0xe01e83['execute'](),this['_trackChangesExecuted']=!0x0),_0x4ff10d&&_0x4ff10d[_0x4f84('0x14')](({id:_0x4e04fe,type:_0x2f3778,author:_0x3ecdcb,created_at:_0x5b59fe})=>{const _0x1d3585={'id':_0x4e04fe,'type':_0x2f3778,'authorId':this['editor'][_0x4f84('0x8')][_0x4f84('0x3')](_0x4f84('0xe'))['me']['id'],'createdAt':new Date(),'data':null,'hasComments':!0x1,'attributes':{'@external':{'authorName':_0x3ecdcb,'createdAt':_0x5b59fe?new Date(_0x5b59fe):new Date(),'source':_0x4f84('0xd')}}};this['editor']['plugins'][_0x4f84('0x3')](_0x4f84('0x13'))[_0x4f84('0x4')](_0x1d3585);});}}
23
+ const _0x2f0e=['value','execute','_setSuggestionData','_trackChangesExecuted','lowest','listenTo','editor','get','_handleImportedData','_trackChangesValueDuringImport','bind','TrackChangesEditing','importWord','track_changes','Users','dataInsert','commands','forEach','enableCommand','collaboration_features','plugins','trackChanges'];(function(_0x290928,_0x2f0e0a){const _0x3f9ae2=function(_0x227b61){while(--_0x227b61){_0x290928['push'](_0x290928['shift']());}};_0x3f9ae2(++_0x2f0e0a);}(_0x2f0e,0x110));const _0x3f9a=function(_0x290928,_0x2f0e0a){_0x290928=_0x290928-0x0;let _0x3f9ae2=_0x2f0e[_0x290928];return _0x3f9ae2;};import{Plugin as _0x424e2c}from'ckeditor5/src/core';export default class Z extends _0x424e2c{constructor(_0x124bee){super(_0x124bee),this[_0x3f9a('0x1')]=!0x1,this[_0x3f9a('0x11')]=!0x1;}['afterInit'](){const _0x470295=this['editor'],_0x42e677=_0x470295[_0x3f9a('0x8')][_0x3f9a('0x15')](_0x3f9a('0x4')),_0x11bd2f=_0x470295[_0x3f9a('0x8')][_0x3f9a('0x15')](_0x3f9a('0xd'));_0x42e677&&(_0x42e677['on'](_0x3f9a('0xf'),(_0xd2a3ad,[,_0x4d1580])=>{this['_trackChangesValueDuringImport']=_0x11bd2f[_0x3f9a('0xe')],_0x4d1580[_0x3f9a('0xb')][_0x3f9a('0x5')]=!this[_0x3f9a('0x1')];},{'priority':'high'}),this[_0x3f9a('0x13')](_0x42e677,_0x3f9a('0x7'),this['_handleImportedData'][_0x3f9a('0x2')](this)),this['listenTo'](_0x42e677,_0x3f9a('0x7'),()=>{this[_0x3f9a('0x11')]&&(_0x11bd2f['execute'](),this[_0x3f9a('0x11')]=!0x1);},{'priority':_0x3f9a('0x12')}),_0x470295[_0x3f9a('0xc')][_0x3f9a('0x15')](_0x3f9a('0x3'))[_0x3f9a('0xa')](_0x3f9a('0x4')));}[_0x3f9a('0x0')](_0x4ffe19,_0x49e286){const {suggestions:_0x14fe25}=_0x49e286,_0xe0974d=this[_0x3f9a('0x14')][_0x3f9a('0x8')][_0x3f9a('0x15')](_0x3f9a('0xd')),_0x52a1da=_0xe0974d['value'];this['_trackChangesValueDuringImport']!==_0x52a1da&&(_0xe0974d['execute'](),this[_0x3f9a('0x11')]=!0x0),_0x14fe25&&_0x14fe25[_0x3f9a('0x9')](({id:_0x54ad98,type:_0x284fae,author:_0x24a148,created_at:_0x28046d})=>{const _0x2358ff={'id':_0x54ad98,'type':_0x284fae,'authorId':this['editor'][_0x3f9a('0xc')][_0x3f9a('0x15')](_0x3f9a('0x6'))['me']['id'],'createdAt':new Date(),'data':null,'hasComments':!0x1,'attributes':{'@external':{'authorName':_0x24a148,'createdAt':_0x28046d?new Date(_0x28046d):new Date(),'source':'importWord'}}};this[_0x3f9a('0x14')][_0x3f9a('0xc')][_0x3f9a('0x15')](_0x3f9a('0x3'))[_0x3f9a('0x10')](_0x2358ff);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1430=['getSelectedBlocks','*Indent:*\x20%0','plugins','locale','getItems','editor','from','has','checkAttribute','afterInit','format','blockIndent','filter','indentBlock','document','*Outdent:*\x20%0','_descriptionFactory','registerDescriptionCallback','IndentEditing','IndentBlock','schema','model','enableCommand','TrackChangesEditing','outdentBlock'];(function(_0x5cbe36,_0x143081){const _0x5c0c09=function(_0x1e7295){while(--_0x1e7295){_0x5cbe36['push'](_0x5cbe36['shift']());}};_0x5c0c09(++_0x143081);}(_0x1430,0x1e9));const _0x5c0c=function(_0x5cbe36,_0x143081){_0x5cbe36=_0x5cbe36-0x0;let _0x5c0c09=_0x1430[_0x5cbe36];return _0x5c0c09;};import{Plugin as _0x3f524d}from'ckeditor5/src/core';import{getTranslation as _0x13f4f6}from'../utils/common-translations';export default class tt extends _0x3f524d{[_0x5c0c('0x14')](){const _0x17dabf=this[_0x5c0c('0x10')],_0x2f3f1e=_0x17dabf[_0x5c0c('0xd')]['get'](_0x5c0c('0x9'));_0x17dabf[_0x5c0c('0xd')][_0x5c0c('0x12')](_0x5c0c('0x4'))&&(_0x2f3f1e[_0x5c0c('0x8')]('indent'),_0x2f3f1e['enableCommand']('outdent'));const _0x26f426=_0x17dabf[_0x5c0c('0xe')];if(_0x17dabf[_0x5c0c('0xd')][_0x5c0c('0x12')](_0x5c0c('0x5'))){for(const _0x34f6c9 of['indentBlock','outdentBlock'])_0x2f3f1e[_0x5c0c('0x8')](_0x34f6c9,()=>{const _0x197807=Array[_0x5c0c('0x11')](this['editor'][_0x5c0c('0x7')][_0x5c0c('0x0')]['selection'][_0x5c0c('0xb')]())[_0x5c0c('0x17')](_0x3cc32f=>this[_0x5c0c('0x10')][_0x5c0c('0x7')][_0x5c0c('0x6')][_0x5c0c('0x13')](_0x3cc32f,_0x5c0c('0x16')));_0x17dabf['model']['change'](()=>{for(const _0x3a913d of _0x197807)_0x2f3f1e['markBlockFormat'](_0x3a913d,{'commandName':_0x34f6c9,'commandParams':[{'value':''}],'formatGroupId':'indentBlock'});});});_0x2f3f1e[_0x5c0c('0x2')][_0x5c0c('0x3')](_0xa1d24a=>{const {data:_0x565b02}=_0xa1d24a;if(!_0x565b02)return;if(_0x5c0c('0x18')!=_0x565b02['commandName']&&_0x5c0c('0xa')!=_0x565b02['commandName'])return;const _0x382658=_0xa1d24a[_0x5c0c('0xf')]()[0x0],_0x6e7294=_0x2f3f1e[_0x5c0c('0x2')]['getItemLabel'](_0x382658);return _0x5c0c('0x18')==_0x565b02['commandName']?{'type':_0x5c0c('0x15'),'content':_0x13f4f6(_0x26f426,_0x5c0c('0xc'),_0x6e7294)}:_0x5c0c('0xa')==_0x565b02['commandName']?{'type':_0x5c0c('0x15'),'content':_0x13f4f6(_0x26f426,_0x5c0c('0x1'),_0x6e7294)}:void 0x0;});}}}
23
+ const _0x24c6=['getItemLabel','getSelectedBlocks','has','getItems','editor','afterInit','indent','blockIndent','_descriptionFactory','model','checkAttribute','indentBlock','change','schema','format','outdentBlock','outdent','markBlockFormat','registerDescriptionCallback','plugins','selection','enableCommand','commandName','IndentBlock','filter'];(function(_0x1c3bd3,_0x24c686){const _0x4b7d2d=function(_0x2362af){while(--_0x2362af){_0x1c3bd3['push'](_0x1c3bd3['shift']());}};_0x4b7d2d(++_0x24c686);}(_0x24c6,0xda));const _0x4b7d=function(_0x1c3bd3,_0x24c686){_0x1c3bd3=_0x1c3bd3-0x0;let _0x4b7d2d=_0x24c6[_0x1c3bd3];return _0x4b7d2d;};import{Plugin as _0x18c2bd}from'ckeditor5/src/core';import{getTranslation as _0x312cad}from'../utils/common-translations';export default class tt extends _0x18c2bd{[_0x4b7d('0xc')](){const _0x2f4c88=this[_0x4b7d('0xb')],_0x4a616d=_0x2f4c88[_0x4b7d('0x1')]['get']('TrackChangesEditing');_0x2f4c88[_0x4b7d('0x1')][_0x4b7d('0x9')]('IndentEditing')&&(_0x4a616d[_0x4b7d('0x3')](_0x4b7d('0xd')),_0x4a616d[_0x4b7d('0x3')](_0x4b7d('0x17')));const _0x5b20f4=_0x2f4c88['locale'];if(_0x2f4c88[_0x4b7d('0x1')][_0x4b7d('0x9')](_0x4b7d('0x5'))){for(const _0x63a014 of[_0x4b7d('0x12'),_0x4b7d('0x16')])_0x4a616d[_0x4b7d('0x3')](_0x63a014,()=>{const _0x103f59=Array['from'](this['editor'][_0x4b7d('0x10')]['document'][_0x4b7d('0x2')][_0x4b7d('0x8')]())[_0x4b7d('0x6')](_0x4f9a30=>this[_0x4b7d('0xb')][_0x4b7d('0x10')][_0x4b7d('0x14')][_0x4b7d('0x11')](_0x4f9a30,_0x4b7d('0xe')));_0x2f4c88[_0x4b7d('0x10')][_0x4b7d('0x13')](()=>{for(const _0x116f55 of _0x103f59)_0x4a616d[_0x4b7d('0x18')](_0x116f55,{'commandName':_0x63a014,'commandParams':[{'value':''}],'formatGroupId':'indentBlock'});});});_0x4a616d[_0x4b7d('0xf')][_0x4b7d('0x0')](_0x16beaf=>{const {data:_0x3091f5}=_0x16beaf;if(!_0x3091f5)return;if(_0x4b7d('0x12')!=_0x3091f5[_0x4b7d('0x4')]&&_0x4b7d('0x16')!=_0x3091f5[_0x4b7d('0x4')])return;const _0x5488ab=_0x16beaf[_0x4b7d('0xa')]()[0x0],_0x40f7cc=_0x4a616d[_0x4b7d('0xf')][_0x4b7d('0x7')](_0x5488ab);return _0x4b7d('0x12')==_0x3091f5[_0x4b7d('0x4')]?{'type':_0x4b7d('0x15'),'content':_0x312cad(_0x5b20f4,'*Indent:*\x20%0',_0x40f7cc)}:_0x4b7d('0x16')==_0x3091f5[_0x4b7d('0x4')]?{'type':_0x4b7d('0x15'),'content':_0x312cad(_0x5b20f4,'*Outdent:*\x20%0',_0x40f7cc)}:void 0x0;});}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x28d4=['enableCommand','get','init','plugins','editor','requires','TrackChangesEditing'];(function(_0x1ef255,_0x28d416){var _0x28015c=function(_0x347646){while(--_0x347646){_0x1ef255['push'](_0x1ef255['shift']());}};_0x28015c(++_0x28d416);}(_0x28d4,0xe6));var _0x2801=function(_0x1ef255,_0x28d416){_0x1ef255=_0x1ef255-0x0;var _0x28015c=_0x28d4[_0x1ef255];return _0x28015c;};import{Plugin as _0x485fbf}from'ckeditor5/src/core';import{Input as _0x15f905}from'ckeditor5/src/typing';export default class it extends _0x485fbf{static get[_0x2801('0x6')](){return[_0x15f905];}[_0x2801('0x3')](){this[_0x2801('0x5')][_0x2801('0x4')][_0x2801('0x2')](_0x2801('0x0'))[_0x2801('0x1')]('input');}}
23
+ var _0x26a3=['plugins','TrackChangesEditing','input','editor','requires','enableCommand','get'];(function(_0x18898f,_0x26a34d){var _0x52ce76=function(_0x280f31){while(--_0x280f31){_0x18898f['push'](_0x18898f['shift']());}};_0x52ce76(++_0x26a34d);}(_0x26a3,0xcb));var _0x52ce=function(_0x18898f,_0x26a34d){_0x18898f=_0x18898f-0x0;var _0x52ce76=_0x26a3[_0x18898f];return _0x52ce76;};import{Plugin as _0x23a0b7}from'ckeditor5/src/core';import{Input as _0x5c0e0}from'ckeditor5/src/typing';export default class it extends _0x23a0b7{static get[_0x52ce('0x4')](){return[_0x5c0e0];}['init'](){this[_0x52ce('0x3')][_0x52ce('0x0')][_0x52ce('0x6')](_0x52ce('0x1'))[_0x52ce('0x5')](_0x52ce('0x2'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3bd5=['markInlineFormat','editor','hasAttribute','enableCommand','*Remove\x20link*','linkHref','from','change','_descriptionFactory','isCollapsed','getFirstRange','getRanges','getFirstPosition','registerDescriptionCallback','get','commandName','TrackChangesEditing','format','*Set\x20link:*\x20%0','selection','model','afterInit','locale','plugins','link','document','unlink'];(function(_0x1ca857,_0x3bd53){const _0x1cbebc=function(_0x37f9c9){while(--_0x37f9c9){_0x1ca857['push'](_0x1ca857['shift']());}};_0x1cbebc(++_0x3bd53);}(_0x3bd5,0xdc));const _0x1cbe=function(_0x1ca857,_0x3bd53){_0x1ca857=_0x1ca857-0x0;let _0x1cbebc=_0x3bd5[_0x1ca857];return _0x1cbebc;};import{Plugin as _0x543c7f}from'ckeditor5/src/core';import{findAttributeRange as _0x144683}from'ckeditor5/src/typing';import{getRangesWithAttribute as _0x54d1d3}from'./utils';import{getTranslation as _0x2d7f2f}from'../utils/common-translations';export default class et extends _0x543c7f{[_0x1cbe('0x11')](){const _0x77dc75=this[_0x1cbe('0x18')];if(!_0x77dc75[_0x1cbe('0x13')]['has']('LinkEditing'))return;const _0xae4952=_0x77dc75[_0x1cbe('0x13')][_0x1cbe('0xa')](_0x1cbe('0xc'));_0xae4952[_0x1cbe('0x1a')]('link',(_0x573bbb,_0x237522)=>{const _0x271844=_0x77dc75[_0x1cbe('0x10')]['document'][_0x1cbe('0xf')];let _0x1ab1a4=[];if(_0x271844[_0x1cbe('0x5')]){if(!_0x271844[_0x1cbe('0x19')](_0x1cbe('0x1')))return void _0x573bbb(_0x237522);{const _0x40ccf9=_0x144683(_0x271844[_0x1cbe('0x8')](),_0x1cbe('0x1'),_0x271844['getAttribute'](_0x1cbe('0x1')),_0x77dc75[_0x1cbe('0x10')]);_0x1ab1a4=[_0x40ccf9];}}else _0x1ab1a4=Array[_0x1cbe('0x2')](_0x271844[_0x1cbe('0x7')]());_0x77dc75[_0x1cbe('0x10')][_0x1cbe('0x3')](()=>{for(const _0x4d3b4c of _0x1ab1a4)_0xae4952['markInlineFormat'](_0x4d3b4c,{'commandName':_0x1cbe('0x14'),'commandParams':[_0x237522]});});}),_0xae4952['enableCommand'](_0x1cbe('0x16'),()=>{const _0x3254c3=this['editor'][_0x1cbe('0x10')],_0x362be4=_0x3254c3[_0x1cbe('0x15')][_0x1cbe('0xf')];_0x3254c3['change'](()=>{let _0x4c06b7=[];if(_0x362be4[_0x1cbe('0x5')])_0x4c06b7=[_0x144683(_0x362be4['getFirstPosition'](),'linkHref',_0x362be4['getAttribute']('linkHref'),_0x77dc75[_0x1cbe('0x10')])];else _0x4c06b7=_0x54d1d3(_0x1cbe('0x1'),_0x362be4[_0x1cbe('0x6')](),_0x77dc75[_0x1cbe('0x10')]);for(const _0x460dc2 of _0x4c06b7)_0xae4952[_0x1cbe('0x17')](_0x460dc2,{'commandName':_0x1cbe('0x16'),'commandParams':[]});});}),_0xae4952[_0x1cbe('0x4')][_0x1cbe('0x9')](_0x33d248=>{const {data:_0x4fe549}=_0x33d248,_0x40ba85=_0x77dc75[_0x1cbe('0x12')];if(_0x4fe549){if(_0x1cbe('0x14')==_0x4fe549[_0x1cbe('0xb')]){const _0x5da59f=_0x4fe549['commandParams'][0x0];return{'type':_0x1cbe('0xd'),'content':_0x2d7f2f(_0x40ba85,_0x1cbe('0xe'),'\x22'+_0x5da59f+'\x22')};}return _0x1cbe('0x16')==_0x4fe549[_0x1cbe('0xb')]?{'type':_0x1cbe('0xd'),'content':_0x2d7f2f(_0x40ba85,_0x1cbe('0x0'))}:void 0x0;}});}}
23
+ const _0x28bd=['getAttribute','markInlineFormat','change','getRanges','enableCommand','LinkEditing','*Remove\x20link*','format','model','unlink','commandName','isCollapsed','linkHref','plugins','document','has','link','editor','afterInit','selection','locale','registerDescriptionCallback','*Set\x20link:*\x20%0','TrackChangesEditing','hasAttribute','_descriptionFactory','commandParams','getFirstPosition'];(function(_0x538aea,_0x28bdf8){const _0x1fa27a=function(_0x10de0e){while(--_0x10de0e){_0x538aea['push'](_0x538aea['shift']());}};_0x1fa27a(++_0x28bdf8);}(_0x28bd,0x1c3));const _0x1fa2=function(_0x538aea,_0x28bdf8){_0x538aea=_0x538aea-0x0;let _0x1fa27a=_0x28bd[_0x538aea];return _0x1fa27a;};import{Plugin as _0x5c04a6}from'ckeditor5/src/core';import{findAttributeRange as _0x56cb95}from'ckeditor5/src/typing';import{getRangesWithAttribute as _0xfaa2be}from'./utils';import{getTranslation as _0x3c073d}from'../utils/common-translations';export default class et extends _0x5c04a6{[_0x1fa2('0xf')](){const _0x816b3b=this[_0x1fa2('0xe')];if(!_0x816b3b['plugins'][_0x1fa2('0xc')](_0x1fa2('0x2')))return;const _0x4ca3a2=_0x816b3b[_0x1fa2('0xa')]['get'](_0x1fa2('0x14'));_0x4ca3a2[_0x1fa2('0x1')]('link',(_0xd7a01,_0x44028e)=>{const _0x529084=_0x816b3b[_0x1fa2('0x5')]['document'][_0x1fa2('0x10')];let _0x172f05=[];if(_0x529084[_0x1fa2('0x8')]){if(!_0x529084[_0x1fa2('0x15')](_0x1fa2('0x9')))return void _0xd7a01(_0x44028e);{const _0x5b9f6a=_0x56cb95(_0x529084[_0x1fa2('0x18')](),_0x1fa2('0x9'),_0x529084[_0x1fa2('0x19')](_0x1fa2('0x9')),_0x816b3b['model']);_0x172f05=[_0x5b9f6a];}}else _0x172f05=Array['from'](_0x529084[_0x1fa2('0x0')]());_0x816b3b[_0x1fa2('0x5')][_0x1fa2('0x1b')](()=>{for(const _0x3927fe of _0x172f05)_0x4ca3a2[_0x1fa2('0x1a')](_0x3927fe,{'commandName':_0x1fa2('0xd'),'commandParams':[_0x44028e]});});}),_0x4ca3a2[_0x1fa2('0x1')](_0x1fa2('0x6'),()=>{const _0x353fa7=this[_0x1fa2('0xe')][_0x1fa2('0x5')],_0x2dde70=_0x353fa7[_0x1fa2('0xb')][_0x1fa2('0x10')];_0x353fa7[_0x1fa2('0x1b')](()=>{let _0x3845f7=[];if(_0x2dde70[_0x1fa2('0x8')])_0x3845f7=[_0x56cb95(_0x2dde70[_0x1fa2('0x18')](),_0x1fa2('0x9'),_0x2dde70[_0x1fa2('0x19')]('linkHref'),_0x816b3b[_0x1fa2('0x5')])];else _0x3845f7=_0xfaa2be('linkHref',_0x2dde70['getFirstRange'](),_0x816b3b[_0x1fa2('0x5')]);for(const _0x40ad48 of _0x3845f7)_0x4ca3a2['markInlineFormat'](_0x40ad48,{'commandName':'unlink','commandParams':[]});});}),_0x4ca3a2[_0x1fa2('0x16')][_0x1fa2('0x12')](_0x17e1e4=>{const {data:_0x234511}=_0x17e1e4,_0x7104dc=_0x816b3b[_0x1fa2('0x11')];if(_0x234511){if('link'==_0x234511['commandName']){const _0x2966a3=_0x234511[_0x1fa2('0x17')][0x0];return{'type':_0x1fa2('0x4'),'content':_0x3c073d(_0x7104dc,_0x1fa2('0x13'),'\x22'+_0x2966a3+'\x22')};}return _0x1fa2('0x6')==_0x234511[_0x1fa2('0x7')]?{'type':_0x1fa2('0x4'),'content':_0x3c073d(_0x7104dc,_0x1fa2('0x3'))}:void 0x0;}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5e42=['markBlockFormat','plugins','numberedList','*Indent:*\x20%0','getAttribute','ELEMENT_BULLETED_LIST','ListEditing','*Change\x20to:*\x20%0','forceValue','element','todoListChecked','isObject','registerDescriptionCallback','*Uncheck\x20item*','commands','slice','ELEMENT_NUMBERED_LIST','value','filter','schema','List','registerElementLabel','name','numbered','get','paragraph','length','ELEMENT_TODO_LIST','findIndex','getSelectedBlocks','createPositionAt','nextSibling','_descriptionFactory','model','format','todoList','*Check\x20item*','replace','listItem','listIndent','document','has','previousSibling','afterInit','change','outdentList','_selectedElements','before','enableCommand','blockName','from','commandParams','selection','checkTodoList','push','indentList','add','bulletedList','ELEMENT_LIST_ITEM','locale','checkChild','editor','commandName'];(function(_0x572141,_0x5e4206){const _0x533f9f=function(_0xd18daf){while(--_0xd18daf){_0x572141['push'](_0x572141['shift']());}};_0x533f9f(++_0x5e4206);}(_0x5e42,0x1d2));const _0x533f=function(_0x572141,_0x5e4206){_0x572141=_0x572141-0x0;let _0x533f9f=_0x5e42[_0x572141];return _0x533f9f;};import{Plugin as _0x2fa930}from'ckeditor5/src/core';import{getTranslation as _0x1f185f}from'../utils/common-translations';export default class st extends _0x2fa930{[_0x533f('0x12')](){const _0x50d416=this[_0x533f('0x24')],_0x1e1485=_0x50d416[_0x533f('0x22')];if(!_0x50d416[_0x533f('0x27')][_0x533f('0x10')](_0x533f('0x2c')))return;const _0x12dd60=_0x50d416['plugins'][_0x533f('0x3e')]('TrackChangesEditing'),_0x5c591a=_0x50d416[_0x533f('0x27')][_0x533f('0x10')]('TodoListEditing');function _0x3a42c9(_0x3d180d){return()=>{const _0xb1b1fd=_0x50d416[_0x533f('0x8')][_0x533f('0xf')]['selection'],_0x592ecf=_0x50d416[_0x533f('0x34')][_0x533f('0x3e')](_0x3d180d);if(_0x592ecf[_0x533f('0x37')])return void _0x50d416['execute'](_0x533f('0x0'),{});const _0x2cd132=_0x3d180d[_0x533f('0x35')](0x0,-0x4),_0x1dd83c=function(_0x367ba9,_0x537ca9,_0x2fc93c){let _0x421d1b=Array[_0x533f('0x19')](_0x367ba9)[_0x533f('0x38')](_0x58b259=>function(_0x55220a,_0xfb28ec){return _0xfb28ec[_0x533f('0x23')](_0x55220a['parent'],_0x533f('0xd'))&&!_0xfb28ec[_0x533f('0x31')](_0x55220a);}(_0x58b259,_0x2fc93c));_0x421d1b=_0x421d1b['filter'](_0xfed39a=>!_0xfed39a['is'](_0x533f('0x2f'),'listItem')||_0xfed39a[_0x533f('0x2a')]('listType')!=_0x537ca9);const _0x5f3864=new Set();for(const _0x4c298b of _0x421d1b)_0x4c298b['is'](_0x533f('0x2f'),_0x533f('0xd'))?_0x5f3864[_0x533f('0x1f')](ne(_0x4c298b)):_0x5f3864[_0x533f('0x1f')](_0x4c298b);return Array[_0x533f('0x19')](_0x5f3864);}(_0xb1b1fd[_0x533f('0x4')](),_0x2cd132,_0x50d416[_0x533f('0x8')][_0x533f('0x39')]);_0x50d416[_0x533f('0x8')]['change'](()=>{for(const _0x2a5e58 of _0x1dd83c)_0x12dd60[_0x533f('0x26')](_0x2a5e58,{'commandName':_0x3d180d,'commandParams':[{'forceValue':!_0x592ecf['value']}],'formatGroupId':_0x533f('0x18')},oe(_0x2a5e58));});};}function _0x377eb9(_0x321440){return()=>{const _0x1be13b=function(_0x517944){let _0x173a9c=Array[_0x533f('0x19')](_0x517944);const _0x32a46c=_0x173a9c[_0x533f('0x3')](_0x15a50b=>_0x533f('0xd')!=_0x15a50b['name']);return _0x32a46c>-0x1&&(_0x173a9c=_0x173a9c[_0x533f('0x35')](0x0,_0x32a46c)),_0x173a9c;}(_0x50d416['model'][_0x533f('0xf')][_0x533f('0x1b')][_0x533f('0x4')]()),_0x5b96ee=_0x50d416[_0x533f('0x8')]['createRange'](_0x50d416[_0x533f('0x8')]['createPositionAt'](_0x1be13b[0x0],_0x533f('0x16')),_0x50d416[_0x533f('0x8')][_0x533f('0x5')](_0x1be13b[_0x1be13b[_0x533f('0x1')]-0x1],'end'));_0x50d416[_0x533f('0x8')][_0x533f('0x13')](()=>{_0x12dd60['markBlockFormat'](_0x5b96ee,{'commandName':_0x321440,'commandParams':[],'formatGroupId':'listIndent'},function(_0x22c505){const _0xb420a9=new Set();for(const _0x1047eb of _0x22c505){let _0xf0e6c5=_0x1047eb[_0x533f('0x6')];for(;_0xf0e6c5&&_0xf0e6c5['getAttribute'](_0x533f('0xe'))>_0x1047eb[_0x533f('0x2a')](_0x533f('0xe'));)_0xb420a9[_0x533f('0x1f')](_0xf0e6c5),_0xf0e6c5=_0xf0e6c5[_0x533f('0x6')];}return Array[_0x533f('0x19')](_0xb420a9);}(_0x1be13b));});};}_0x12dd60[_0x533f('0x17')]('numberedList',_0x3a42c9(_0x533f('0x28'))),_0x12dd60[_0x533f('0x17')](_0x533f('0x20'),_0x3a42c9('bulletedList')),_0x5c591a&&_0x12dd60[_0x533f('0x17')]('todoList',_0x3a42c9(_0x533f('0xa'))),_0x12dd60[_0x533f('0x17')](_0x533f('0x1e'),_0x377eb9(_0x533f('0x1e'))),_0x12dd60[_0x533f('0x17')]('outdentList',_0x377eb9(_0x533f('0x14'))),_0x5c591a&&_0x12dd60[_0x533f('0x17')](_0x533f('0x1c'),()=>{const _0xec143d=_0x50d416[_0x533f('0x34')]['get']('checkTodoList'),_0x98771c=Array['from'](_0xec143d[_0x533f('0x15')]);_0x98771c[_0x533f('0x38')](_0x1343db=>_0x1343db['getAttribute'](_0x533f('0x30'))!=_0xec143d['value']),_0x50d416[_0x533f('0x8')][_0x533f('0x13')](()=>{for(const _0x5cb952 of _0x98771c)_0x12dd60[_0x533f('0x26')](_0x5cb952,{'commandName':_0x533f('0x1c'),'commandParams':[{'forceValue':!_0xec143d[_0x533f('0x37')]}]});});}),_0x12dd60[_0x533f('0x7')][_0x533f('0x3b')]('listItem',_0x3ce4b9=>_0x1f185f(_0x1e1485,_0x533f('0x21'),_0x3ce4b9)),_0x12dd60[_0x533f('0x7')][_0x533f('0x32')](_0x1a140a=>{const {data:_0x5c3af6}=_0x1a140a;if(_0x5c3af6){if(_0x533f('0x28')==_0x5c3af6[_0x533f('0x25')]||_0x533f('0x20')==_0x5c3af6[_0x533f('0x25')]||'todoList'==_0x5c3af6[_0x533f('0x25')])switch(_0x5c3af6[_0x533f('0x25')][_0x533f('0xc')](_0x533f('0x3a'),'')){case'bulleted':return _0x223723(_0x1f185f(_0x1e1485,_0x533f('0x2b')));case _0x533f('0x3d'):return _0x223723(_0x1f185f(_0x1e1485,_0x533f('0x36')));case'todo':return _0x223723(_0x1f185f(_0x1e1485,_0x533f('0x2')));}if('indentList'==_0x5c3af6[_0x533f('0x25')])return{'type':_0x533f('0x9'),'content':_0x1f185f(_0x1e1485,_0x533f('0x29'),_0x1f185f(_0x1e1485,'ELEMENT_LIST_ITEM'))};if(_0x533f('0x14')==_0x5c3af6[_0x533f('0x25')])return{'type':_0x533f('0x9'),'content':_0x1f185f(_0x1e1485,'*Outdent:*\x20%0',_0x1f185f(_0x1e1485,_0x533f('0x21')))};if(_0x533f('0x1c')==_0x5c3af6[_0x533f('0x25')])return _0x5c3af6[_0x533f('0x1a')][0x0][_0x533f('0x2e')]?{'type':'format','content':_0x1f185f(_0x1e1485,_0x533f('0xb'))}:{'type':_0x533f('0x9'),'content':_0x1f185f(_0x1e1485,_0x533f('0x33'))};}function _0x223723(_0x53ecb9){return{'type':_0x533f('0x9'),'content':_0x1f185f(_0x1e1485,_0x533f('0x2d'),_0x53ecb9)};}});}}function ne(_0x4bba99){const _0x41bf37=_0x4bba99[_0x533f('0x2a')](_0x533f('0xe'));if(0x0==_0x41bf37)return _0x4bba99;let _0xc90fde=_0x4bba99;for(;_0x4bba99[_0x533f('0x11')]&&_0x4bba99[_0x533f('0x11')]['is'](_0x533f('0x2f'),_0x533f('0xd'));){const _0x17fb79=_0x4bba99[_0x533f('0x11')][_0x533f('0x2a')](_0x533f('0xe'));if(_0x17fb79==_0x41bf37)_0xc90fde=_0x4bba99['previousSibling'];else{if(_0x17fb79<_0x41bf37)break;}_0x4bba99=_0x4bba99[_0x533f('0x11')];}return _0xc90fde;}function oe(_0xcdad4d){const _0x3ea0ad=[];if(_0xcdad4d['is'](_0x533f('0x2f'),'listItem')&&_0xcdad4d[_0x533f('0x2a')](_0x533f('0xe'))>0x0){let _0x94db09=_0xcdad4d[_0x533f('0x6')];for(;_0x94db09&&'listItem'==_0x94db09[_0x533f('0x3c')]&&_0x94db09[_0x533f('0x2a')](_0x533f('0xe'))==_0xcdad4d[_0x533f('0x2a')]('listIndent');)_0x3ea0ad[_0x533f('0x1d')](_0x94db09),_0x94db09=_0x94db09['nextSibling'];}return _0x3ea0ad;}
23
+ const _0x3397=['paragraph','element','get','schema','editor','enableCommand','ELEMENT_BULLETED_LIST','*Indent:*\x20%0','filter','getAttribute','slice','selection','document','outdentList','locale','forceValue','replace','ELEMENT_TODO_LIST','add','ELEMENT_NUMBERED_LIST','markBlockFormat','todoList','*Uncheck\x20item*','plugins','afterInit','findIndex','numbered','previousSibling','isObject','bulleted','listIndent','name','todo','before','List','has','indentList','bulletedList','listItem','format','getSelectedBlocks','value','TodoListEditing','commandParams','model','listType','todoListChecked','from','createPositionAt','registerElementLabel','checkTodoList','*Change\x20to:*\x20%0','registerDescriptionCallback','nextSibling','TrackChangesEditing','ELEMENT_LIST_ITEM','commandName','numberedList','push','*Outdent:*\x20%0','checkChild','ListEditing','_descriptionFactory','change','commands','end'];(function(_0x1bcf69,_0x3397f4){const _0x14ba96=function(_0x20f546){while(--_0x20f546){_0x1bcf69['push'](_0x1bcf69['shift']());}};_0x14ba96(++_0x3397f4);}(_0x3397,0xd8));const _0x14ba=function(_0x1bcf69,_0x3397f4){_0x1bcf69=_0x1bcf69-0x0;let _0x14ba96=_0x3397[_0x1bcf69];return _0x14ba96;};import{Plugin as _0x66ce6e}from'ckeditor5/src/core';import{getTranslation as _0x25ecfe}from'../utils/common-translations';export default class st extends _0x66ce6e{[_0x14ba('0x6')](){const _0x16065e=this[_0x14ba('0x34')],_0xc22401=_0x16065e[_0x14ba('0x3e')];if(!_0x16065e[_0x14ba('0x5')][_0x14ba('0x11')](_0x14ba('0x2b')))return;const _0x1a3544=_0x16065e[_0x14ba('0x5')][_0x14ba('0x32')](_0x14ba('0x24')),_0x4fcdfc=_0x16065e[_0x14ba('0x5')][_0x14ba('0x11')](_0x14ba('0x18'));function _0x114547(_0x1b12e3){return()=>{const _0x1415a4=_0x16065e[_0x14ba('0x1a')][_0x14ba('0x3c')][_0x14ba('0x3b')],_0x5a0621=_0x16065e[_0x14ba('0x2e')][_0x14ba('0x32')](_0x1b12e3);if(_0x5a0621[_0x14ba('0x17')])return void _0x16065e['execute'](_0x14ba('0x30'),{});const _0x4d31f9=_0x1b12e3['slice'](0x0,-0x4),_0x442c7a=function(_0x39dc29,_0x5494d7,_0x23cded){let _0x564ef4=Array[_0x14ba('0x1d')](_0x39dc29)['filter'](_0x59be34=>function(_0x207f59,_0x3ff890){return _0x3ff890[_0x14ba('0x2a')](_0x207f59['parent'],_0x14ba('0x14'))&&!_0x3ff890[_0x14ba('0xa')](_0x207f59);}(_0x59be34,_0x23cded));_0x564ef4=_0x564ef4[_0x14ba('0x38')](_0x374ebe=>!_0x374ebe['is'](_0x14ba('0x31'),_0x14ba('0x14'))||_0x374ebe['getAttribute'](_0x14ba('0x1b'))!=_0x5494d7);const _0x39704c=new Set();for(const _0x49f391 of _0x564ef4)_0x49f391['is']('element',_0x14ba('0x14'))?_0x39704c['add'](ne(_0x49f391)):_0x39704c['add'](_0x49f391);return Array['from'](_0x39704c);}(_0x1415a4['getSelectedBlocks'](),_0x4d31f9,_0x16065e[_0x14ba('0x1a')][_0x14ba('0x33')]);_0x16065e[_0x14ba('0x1a')]['change'](()=>{for(const _0x392add of _0x442c7a)_0x1a3544[_0x14ba('0x2')](_0x392add,{'commandName':_0x1b12e3,'commandParams':[{'forceValue':!_0x5a0621[_0x14ba('0x17')]}],'formatGroupId':'blockName'},oe(_0x392add));});};}function _0x59cca1(_0x42f3f6){return()=>{const _0x179f05=function(_0x4eef89){let _0x576f2f=Array[_0x14ba('0x1d')](_0x4eef89);const _0x4a0582=_0x576f2f[_0x14ba('0x7')](_0x4cf93c=>'listItem'!=_0x4cf93c[_0x14ba('0xd')]);return _0x4a0582>-0x1&&(_0x576f2f=_0x576f2f[_0x14ba('0x3a')](0x0,_0x4a0582)),_0x576f2f;}(_0x16065e[_0x14ba('0x1a')][_0x14ba('0x3c')][_0x14ba('0x3b')][_0x14ba('0x16')]()),_0x1b7674=_0x16065e[_0x14ba('0x1a')]['createRange'](_0x16065e['model'][_0x14ba('0x1e')](_0x179f05[0x0],_0x14ba('0xf')),_0x16065e[_0x14ba('0x1a')]['createPositionAt'](_0x179f05[_0x179f05['length']-0x1],_0x14ba('0x2f')));_0x16065e['model'][_0x14ba('0x2d')](()=>{_0x1a3544[_0x14ba('0x2')](_0x1b7674,{'commandName':_0x42f3f6,'commandParams':[],'formatGroupId':'listIndent'},function(_0x5c3c42){const _0x1cd9ff=new Set();for(const _0x4d85a1 of _0x5c3c42){let _0x75a6fd=_0x4d85a1[_0x14ba('0x23')];for(;_0x75a6fd&&_0x75a6fd[_0x14ba('0x39')](_0x14ba('0xc'))>_0x4d85a1['getAttribute'](_0x14ba('0xc'));)_0x1cd9ff[_0x14ba('0x0')](_0x75a6fd),_0x75a6fd=_0x75a6fd['nextSibling'];}return Array[_0x14ba('0x1d')](_0x1cd9ff);}(_0x179f05));});};}_0x1a3544[_0x14ba('0x35')](_0x14ba('0x27'),_0x114547(_0x14ba('0x27'))),_0x1a3544[_0x14ba('0x35')](_0x14ba('0x13'),_0x114547(_0x14ba('0x13'))),_0x4fcdfc&&_0x1a3544[_0x14ba('0x35')]('todoList',_0x114547(_0x14ba('0x3'))),_0x1a3544[_0x14ba('0x35')](_0x14ba('0x12'),_0x59cca1(_0x14ba('0x12'))),_0x1a3544[_0x14ba('0x35')](_0x14ba('0x3d'),_0x59cca1(_0x14ba('0x3d'))),_0x4fcdfc&&_0x1a3544[_0x14ba('0x35')](_0x14ba('0x20'),()=>{const _0x5323bf=_0x16065e[_0x14ba('0x2e')][_0x14ba('0x32')]('checkTodoList'),_0x3ecd3c=Array[_0x14ba('0x1d')](_0x5323bf['_selectedElements']);_0x3ecd3c[_0x14ba('0x38')](_0x3c975d=>_0x3c975d[_0x14ba('0x39')](_0x14ba('0x1c'))!=_0x5323bf['value']),_0x16065e[_0x14ba('0x1a')]['change'](()=>{for(const _0x1c09a4 of _0x3ecd3c)_0x1a3544[_0x14ba('0x2')](_0x1c09a4,{'commandName':_0x14ba('0x20'),'commandParams':[{'forceValue':!_0x5323bf[_0x14ba('0x17')]}]});});}),_0x1a3544[_0x14ba('0x2c')][_0x14ba('0x1f')](_0x14ba('0x14'),_0x3455a9=>_0x25ecfe(_0xc22401,'ELEMENT_LIST_ITEM',_0x3455a9)),_0x1a3544[_0x14ba('0x2c')][_0x14ba('0x22')](_0x45a24b=>{const {data:_0x550928}=_0x45a24b;if(_0x550928){if('numberedList'==_0x550928[_0x14ba('0x26')]||_0x14ba('0x13')==_0x550928[_0x14ba('0x26')]||_0x14ba('0x3')==_0x550928[_0x14ba('0x26')])switch(_0x550928[_0x14ba('0x26')][_0x14ba('0x40')](_0x14ba('0x10'),'')){case _0x14ba('0xb'):return _0x452e48(_0x25ecfe(_0xc22401,_0x14ba('0x36')));case _0x14ba('0x8'):return _0x452e48(_0x25ecfe(_0xc22401,_0x14ba('0x1')));case _0x14ba('0xe'):return _0x452e48(_0x25ecfe(_0xc22401,_0x14ba('0x41')));}if(_0x14ba('0x12')==_0x550928['commandName'])return{'type':_0x14ba('0x15'),'content':_0x25ecfe(_0xc22401,_0x14ba('0x37'),_0x25ecfe(_0xc22401,_0x14ba('0x25')))};if(_0x14ba('0x3d')==_0x550928[_0x14ba('0x26')])return{'type':'format','content':_0x25ecfe(_0xc22401,_0x14ba('0x29'),_0x25ecfe(_0xc22401,_0x14ba('0x25')))};if(_0x14ba('0x20')==_0x550928[_0x14ba('0x26')])return _0x550928[_0x14ba('0x19')][0x0][_0x14ba('0x3f')]?{'type':_0x14ba('0x15'),'content':_0x25ecfe(_0xc22401,'*Check\x20item*')}:{'type':'format','content':_0x25ecfe(_0xc22401,_0x14ba('0x4'))};}function _0x452e48(_0x3a3bb8){return{'type':_0x14ba('0x15'),'content':_0x25ecfe(_0xc22401,_0x14ba('0x21'),_0x3a3bb8)};}});}}function ne(_0x5e5d5e){const _0x44ed57=_0x5e5d5e[_0x14ba('0x39')](_0x14ba('0xc'));if(0x0==_0x44ed57)return _0x5e5d5e;let _0x23640a=_0x5e5d5e;for(;_0x5e5d5e[_0x14ba('0x9')]&&_0x5e5d5e[_0x14ba('0x9')]['is']('element','listItem');){const _0x2b0abb=_0x5e5d5e[_0x14ba('0x9')]['getAttribute'](_0x14ba('0xc'));if(_0x2b0abb==_0x44ed57)_0x23640a=_0x5e5d5e[_0x14ba('0x9')];else{if(_0x2b0abb<_0x44ed57)break;}_0x5e5d5e=_0x5e5d5e[_0x14ba('0x9')];}return _0x23640a;}function oe(_0x85d9b6){const _0x393411=[];if(_0x85d9b6['is'](_0x14ba('0x31'),'listItem')&&_0x85d9b6[_0x14ba('0x39')]('listIndent')>0x0){let _0x3bd480=_0x85d9b6[_0x14ba('0x23')];for(;_0x3bd480&&_0x14ba('0x14')==_0x3bd480['name']&&_0x3bd480['getAttribute']('listIndent')==_0x85d9b6[_0x14ba('0x39')](_0x14ba('0xc'));)_0x393411[_0x14ba('0x28')](_0x3bd480),_0x3bd480=_0x3bd480['nextSibling'];}return _0x393411;}