@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20230718.0 → 0.0.0-nightly-20230720.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 +4 -4
  3. package/src/commands/acceptsuggestioncommand.js +1 -1
  4. package/src/commands/discardsuggestioncommand.js +1 -1
  5. package/src/commands/executeonallsuggestionscommand.js +1 -1
  6. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  7. package/src/commands/trackchangescommand.js +1 -1
  8. package/src/integrations/alignment.js +1 -1
  9. package/src/integrations/basicstyles.js +1 -1
  10. package/src/integrations/blockquote.js +1 -1
  11. package/src/integrations/ckbox.js +1 -1
  12. package/src/integrations/codeblock.js +1 -1
  13. package/src/integrations/comments.js +1 -1
  14. package/src/integrations/deletecommand.js +1 -1
  15. package/src/integrations/documentlist.js +1 -1
  16. package/src/integrations/documentlistproperties.js +1 -1
  17. package/src/integrations/entercommand.js +1 -1
  18. package/src/integrations/findandreplace.js +1 -1
  19. package/src/integrations/font.js +1 -1
  20. package/src/integrations/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 _0x4318=['_descriptionFactory','fontBackgroundColor.colors','FontSizeEditing','plugins','*Reset\x20font\x20color*','_enableCommand','FontFamilyEditing','toLowerCase','markInlineFormat','afterInit','getRanges','change','document','FontBackgroundColorEditing','value','fontSize.options','locale','registerDescriptionCallback','commandName','get','commandParams','*Set\x20font\x20size:*\x20%0','trim','selection','fontFamily','*Set\x20font\x20color:*\x20%0','fontSize','fontBackgroundColor','enableCommand','*Set\x20font\x20family:*\x20%0','FontColorEditing','isCollapsed','format','TrackChangesEditing','*Reset\x20font\x20size*','*Reset\x20font\x20background\x20color*','*Reset\x20font\x20family*','label','config','find','fontColor.colors','has','editor','model','fontColor','FontSize'];(function(_0x28a72f,_0x4318bd){const _0x100270=function(_0x525613){while(--_0x525613){_0x28a72f['push'](_0x28a72f['shift']());}};_0x100270(++_0x4318bd);}(_0x4318,0x10e));const _0x1002=function(_0x28a72f,_0x4318bd){_0x28a72f=_0x28a72f-0x0;let _0x100270=_0x4318[_0x28a72f];return _0x100270;};import{Plugin as _0x80f2f9}from'ckeditor5/src/core';import{normalizeColorOptions as _0x4d1945}from'ckeditor5/src/ui';import{getRangesWithAttribute as _0x5250e5}from'./utils';import{getTranslation as _0x54e330}from'../utils/common-translations';const Zt=[{'pluginName':_0x1002('0x8'),'commandName':_0x1002('0x20')},{'pluginName':_0x1002('0xc'),'commandName':_0x1002('0x1e')},{'pluginName':_0x1002('0x24'),'commandName':_0x1002('0x4')},{'pluginName':_0x1002('0x13'),'commandName':_0x1002('0x21')}];export default class H extends _0x80f2f9{[_0x1002('0xf')](){const _0x184cf5=this[_0x1002('0x2')][_0x1002('0x16')];for(const {pluginName:_0x4c74d4,commandName:_0x2906d5}of Zt)this['editor'][_0x1002('0x9')][_0x1002('0x1')](_0x4c74d4)&&this[_0x1002('0xb')](_0x2906d5);this[_0x1002('0x2')]['plugins'][_0x1002('0x19')]('TrackChangesEditing')[_0x1002('0x6')][_0x1002('0x17')](_0x50e346=>{const _0x17a8f2=_0x184cf5['t'],{data:_0x20d9ae}=_0x50e346;if(null!=_0x20d9ae){if('fontSize'==_0x20d9ae[_0x1002('0x18')]){const _0x30bb37=_0x20d9ae[_0x1002('0x1a')][0x0][_0x1002('0x14')];if(_0x30bb37){const _0x3cc55f=_0x17a8f2(this[_0x1002('0x2')][_0x1002('0x9')][_0x1002('0x19')](_0x1002('0x5'))['normalizeSizeOptions'](this[_0x1002('0x2')]['config'][_0x1002('0x19')](_0x1002('0x15')))[_0x1002('0x2d')](_0xb804c9=>_0xb804c9[_0x1002('0x3')]==_0x30bb37)['title'])[_0x1002('0xd')]();return{'type':'format','content':_0x54e330(_0x184cf5,_0x1002('0x1b'),_0x3cc55f)};}return{'type':_0x1002('0x26'),'content':_0x54e330(_0x184cf5,_0x1002('0x28'))};}if('fontFamily'==_0x20d9ae[_0x1002('0x18')]){const _0x23a015=_0x20d9ae[_0x1002('0x1a')][0x0][_0x1002('0x14')];return _0x23a015?{'type':_0x1002('0x26'),'content':_0x54e330(_0x184cf5,_0x1002('0x23'),_0x23a015)}:{'type':_0x1002('0x26'),'content':_0x54e330(_0x184cf5,_0x1002('0x2a'))};}if('fontColor'==_0x20d9ae[_0x1002('0x18')]){const _0x2c0db9=_0x20d9ae[_0x1002('0x1a')][0x0][_0x1002('0x14')];if(_0x2c0db9){const _0x2a5c3a=_0x4d1945(this[_0x1002('0x2')][_0x1002('0x2c')][_0x1002('0x19')](_0x1002('0x0')))['find'](_0x84d0d3=>_0x84d0d3[_0x1002('0x3')]==_0x2c0db9);let _0x44f525=_0x2c0db9,_0x3e6ae6='';return _0x2a5c3a&&(_0x44f525=_0x2a5c3a['label'],_0x3e6ae6=_0x17a8f2(_0x44f525)[_0x1002('0xd')]()),{'type':_0x1002('0x26'),'content':_0x54e330(_0x184cf5,_0x1002('0x1f'),_0x3e6ae6)['trim'](),'color':{'value':_0x2c0db9,'title':_0x3e6ae6||_0x44f525}};}return{'type':'format','content':_0x54e330(_0x184cf5,_0x1002('0xa'))};}if(_0x1002('0x21')==_0x20d9ae[_0x1002('0x18')]){const _0x482823=_0x20d9ae[_0x1002('0x1a')][0x0][_0x1002('0x14')];if(_0x482823){const _0x299bdc=_0x4d1945(this[_0x1002('0x2')][_0x1002('0x2c')]['get'](_0x1002('0x7')))[_0x1002('0x2d')](_0x19ca3e=>_0x19ca3e['model']==_0x482823);let _0x3f676f=_0x482823,_0x4b33fc='';return _0x299bdc&&(_0x3f676f=_0x299bdc[_0x1002('0x2b')],_0x4b33fc=_0x17a8f2(_0x3f676f)[_0x1002('0xd')]()),{'type':'format','content':_0x54e330(_0x184cf5,'*Set\x20font\x20background\x20color:*\x20%0',_0x4b33fc)[_0x1002('0x1c')](),'color':{'value':_0x482823,'title':_0x4b33fc||_0x3f676f}};}return{'type':_0x1002('0x26'),'content':_0x54e330(_0x184cf5,_0x1002('0x29'))};}}});}[_0x1002('0xb')](_0xf3f7f0){const _0x1571b7=this[_0x1002('0x2')];_0x1571b7[_0x1002('0x9')][_0x1002('0x19')](_0x1002('0x27'))[_0x1002('0x22')](_0xf3f7f0,(_0x31fff2,_0x2fe7a2={})=>{const _0x5ac0de=_0x1571b7['model'][_0x1002('0x12')][_0x1002('0x1d')],_0x294a2d=_0x2fe7a2['value'];_0x5ac0de[_0x1002('0x25')]?_0x31fff2(_0x2fe7a2):_0x1571b7[_0x1002('0x3')][_0x1002('0x11')](()=>{const _0xfeb700=Array['from'](_0x5ac0de[_0x1002('0x10')]());for(const _0x4ac79f of _0xfeb700){const _0x5a2cda=_0x294a2d?[_0x4ac79f]:_0x5250e5(_0xf3f7f0,_0x4ac79f,_0x1571b7['model']);for(const _0x1b02d7 of _0x5a2cda)_0x1571b7[_0x1002('0x9')][_0x1002('0x19')](_0x1002('0x27'))[_0x1002('0xe')](_0x1b02d7,{'commandName':_0xf3f7f0,'commandParams':[{'value':_0x294a2d}]});}});});}}
23
+ const _0x1890=['plugins','editor','trim','FontColorEditing','get','find','config','*Set\x20font\x20color:*\x20%0','commandName','normalizeSizeOptions','fontBackgroundColor','TrackChangesEditing','label','*Reset\x20font\x20color*','fontColor.colors','model','markInlineFormat','toLowerCase','format','*Set\x20font\x20family:*\x20%0','selection','value','fontFamily','_enableCommand','*Reset\x20font\x20size*','*Set\x20font\x20background\x20color:*\x20%0','afterInit','enableCommand','change','_descriptionFactory','getRanges','*Set\x20font\x20size:*\x20%0','fontSize.options','commandParams','fontColor','fontSize','FontBackgroundColorEditing','FontFamilyEditing','*Reset\x20font\x20family*','from','title','*Reset\x20font\x20background\x20color*'];(function(_0x119963,_0x18906a){const _0x284380=function(_0x4910a0){while(--_0x4910a0){_0x119963['push'](_0x119963['shift']());}};_0x284380(++_0x18906a);}(_0x1890,0xad));const _0x2843=function(_0x119963,_0x18906a){_0x119963=_0x119963-0x0;let _0x284380=_0x1890[_0x119963];return _0x284380;};import{Plugin as _0x159aa0}from'ckeditor5/src/core';import{normalizeColorOptions as _0x3f8779}from'ckeditor5/src/ui';import{getRangesWithAttribute as _0x253c13}from'./utils';import{getTranslation as _0x5c5864}from'../utils/common-translations';const Zt=[{'pluginName':'FontSizeEditing','commandName':'fontSize'},{'pluginName':_0x2843('0x20'),'commandName':_0x2843('0x11')},{'pluginName':_0x2843('0x28'),'commandName':_0x2843('0x1d')},{'pluginName':_0x2843('0x1f'),'commandName':_0x2843('0x5')}];export default class H extends _0x159aa0{[_0x2843('0x15')](){const _0xd5d0cb=this[_0x2843('0x26')]['locale'];for(const {pluginName:_0x5cd377,commandName:_0x494fe5}of Zt)this[_0x2843('0x26')][_0x2843('0x25')]['has'](_0x5cd377)&&this[_0x2843('0x12')](_0x494fe5);this[_0x2843('0x26')][_0x2843('0x25')]['get'](_0x2843('0x6'))[_0x2843('0x18')]['registerDescriptionCallback'](_0x59f922=>{const _0x19a76c=_0xd5d0cb['t'],{data:_0x1dd3a1}=_0x59f922;if(null!=_0x1dd3a1){if(_0x2843('0x1e')==_0x1dd3a1['commandName']){const _0x255947=_0x1dd3a1[_0x2843('0x1c')][0x0][_0x2843('0x10')];if(_0x255947){const _0xc28965=_0x19a76c(this[_0x2843('0x26')][_0x2843('0x25')][_0x2843('0x29')]('FontSize')[_0x2843('0x4')](this[_0x2843('0x26')]['config'][_0x2843('0x29')](_0x2843('0x1b')))[_0x2843('0x0')](_0x1648e5=>_0x1648e5[_0x2843('0xa')]==_0x255947)[_0x2843('0x23')])[_0x2843('0xc')]();return{'type':_0x2843('0xd'),'content':_0x5c5864(_0xd5d0cb,_0x2843('0x1a'),_0xc28965)};}return{'type':'format','content':_0x5c5864(_0xd5d0cb,_0x2843('0x13'))};}if(_0x2843('0x11')==_0x1dd3a1[_0x2843('0x3')]){const _0x4a6a33=_0x1dd3a1[_0x2843('0x1c')][0x0][_0x2843('0x10')];return _0x4a6a33?{'type':_0x2843('0xd'),'content':_0x5c5864(_0xd5d0cb,_0x2843('0xe'),_0x4a6a33)}:{'type':_0x2843('0xd'),'content':_0x5c5864(_0xd5d0cb,_0x2843('0x21'))};}if(_0x2843('0x1d')==_0x1dd3a1['commandName']){const _0xefdea8=_0x1dd3a1[_0x2843('0x1c')][0x0][_0x2843('0x10')];if(_0xefdea8){const _0x1333b3=_0x3f8779(this[_0x2843('0x26')][_0x2843('0x1')][_0x2843('0x29')](_0x2843('0x9')))[_0x2843('0x0')](_0x458532=>_0x458532[_0x2843('0xa')]==_0xefdea8);let _0x5953c7=_0xefdea8,_0xad9bf3='';return _0x1333b3&&(_0x5953c7=_0x1333b3[_0x2843('0x7')],_0xad9bf3=_0x19a76c(_0x5953c7)[_0x2843('0xc')]()),{'type':'format','content':_0x5c5864(_0xd5d0cb,_0x2843('0x2'),_0xad9bf3)[_0x2843('0x27')](),'color':{'value':_0xefdea8,'title':_0xad9bf3||_0x5953c7}};}return{'type':'format','content':_0x5c5864(_0xd5d0cb,_0x2843('0x8'))};}if(_0x2843('0x5')==_0x1dd3a1[_0x2843('0x3')]){const _0x3c9b51=_0x1dd3a1[_0x2843('0x1c')][0x0]['value'];if(_0x3c9b51){const _0x12f696=_0x3f8779(this[_0x2843('0x26')][_0x2843('0x1')][_0x2843('0x29')]('fontBackgroundColor.colors'))[_0x2843('0x0')](_0x1eadca=>_0x1eadca[_0x2843('0xa')]==_0x3c9b51);let _0xeb782e=_0x3c9b51,_0x4bc586='';return _0x12f696&&(_0xeb782e=_0x12f696[_0x2843('0x7')],_0x4bc586=_0x19a76c(_0xeb782e)[_0x2843('0xc')]()),{'type':_0x2843('0xd'),'content':_0x5c5864(_0xd5d0cb,_0x2843('0x14'),_0x4bc586)['trim'](),'color':{'value':_0x3c9b51,'title':_0x4bc586||_0xeb782e}};}return{'type':_0x2843('0xd'),'content':_0x5c5864(_0xd5d0cb,_0x2843('0x24'))};}}});}[_0x2843('0x12')](_0x4daad6){const _0x2fad9b=this[_0x2843('0x26')];_0x2fad9b[_0x2843('0x25')]['get'](_0x2843('0x6'))[_0x2843('0x16')](_0x4daad6,(_0x36bbb3,_0x3ac219={})=>{const _0x394492=_0x2fad9b[_0x2843('0xa')]['document'][_0x2843('0xf')],_0x174790=_0x3ac219['value'];_0x394492['isCollapsed']?_0x36bbb3(_0x3ac219):_0x2fad9b['model'][_0x2843('0x17')](()=>{const _0x365e8b=Array[_0x2843('0x22')](_0x394492[_0x2843('0x19')]());for(const _0x15805e of _0x365e8b){const _0x177260=_0x174790?[_0x15805e]:_0x253c13(_0x4daad6,_0x15805e,_0x2fad9b[_0x2843('0xa')]);for(const _0x3f3088 of _0x177260)_0x2fad9b[_0x2843('0x25')][_0x2843('0x29')]('TrackChangesEditing')[_0x2843('0xb')](_0x3f3088,{'commandName':_0x4daad6,'commandParams':[{'value':_0x174790}]});}});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2597=['plugins','createSelection','fontBackgroundColor','toLowerCase','*Set\x20format\x20to:*\x20%0','length','word','boolean','commandParams','enableCommand','getAttributeProperties','get','isCollapsed','schema','title','push','getLastPosition','config','getAttributes','getSelectedBlocks','locale','charAt','forward','find','pasteFormat','_descriptionFactory','getRanges','normalizeSizeOptions','split','getItems','commands','registerDescriptionCallback','markInlineFormat','afterInit','join','entries','backward','editor','selection','commandName','from','copyFormat','isFormatting','slice','change','format','model','*Remove\x20all\x20formatting*','fontSize.options','fontSize','fontColor','TrackChangesEditing'];(function(_0xd42a08,_0x259755){const _0x73ab2e=function(_0x213676){while(--_0x213676){_0xd42a08['push'](_0xd42a08['shift']());}};_0x73ab2e(++_0x259755);}(_0x2597,0x9b));const _0x73ab=function(_0xd42a08,_0x259755){_0xd42a08=_0xd42a08-0x0;let _0x73ab2e=_0x2597[_0xd42a08];return _0x73ab2e;};import{Plugin as _0x3b947d}from'ckeditor5/src/core';import{normalizeColorOptions as _0x1832c0}from'ckeditor5/src/ui';import{first as _0x1b64a8}from'ckeditor5/src/utils';import{getTranslation as _0x5585fb}from'../utils/common-translations';export default class W extends _0x3b947d{[_0x73ab('0x22')](){const _0x43d77d=this[_0x73ab('0x26')],_0x9fc745=_0x43d77d[_0x73ab('0x2f')],_0x2f39ee=_0x9fc745['document'][_0x73ab('0x27')],_0x2d16e9=_0x43d77d[_0x73ab('0x1')]['get'](_0x73ab('0x0')),_0x15a135=_0x43d77d['locale'],_0x32bc4e=_0x43d77d[_0x73ab('0x1f')]['get'](_0x73ab('0x2a')),_0x5de83f=_0x43d77d['commands']['get'](_0x73ab('0x19'));_0x32bc4e&&_0x5de83f&&(_0x2d16e9['enableCommand']('pasteFormat',(_0x49a122,_0x2a44b3={})=>{const _0x32c676=_0x2a44b3;_0x9fc745[_0x73ab('0x2d')](()=>{const _0x47e07d=Array[_0x73ab('0x29')](_0x2f39ee[_0x73ab('0x1b')]()),_0x32289c=_0x2f39ee[_0x73ab('0xd')]?[ro(_0x9fc745,_0x2f39ee)]:_0x47e07d,_0x2e852a=!!_0x1b64a8(function*(_0x3aacbc,_0x41af71){const _0x30c398=_0x5dba4f=>!!_0x1b64a8(function*(_0x48c9cd,_0x585aa2){for(const [_0x5e9ac9]of _0x48c9cd[_0x73ab('0x13')]()){const _0x1515f0=_0x585aa2[_0x73ab('0xb')](_0x5e9ac9);_0x1515f0&&_0x1515f0[_0x73ab('0x2b')]&&(yield _0x5e9ac9);}}(_0x5dba4f,_0x41af71));for(const _0xafb06c of _0x3aacbc[_0x73ab('0x1b')]())for(const _0x67a5a8 of _0xafb06c[_0x73ab('0x1e')]())!_0x41af71['isBlock'](_0x67a5a8)&&_0x30c398(_0x67a5a8)&&(yield _0x67a5a8);for(const _0x421633 of _0x3aacbc[_0x73ab('0x14')]())_0x30c398(_0x421633)&&(yield _0x421633);_0x30c398(_0x3aacbc)&&(yield _0x3aacbc);}(_0x2f39ee,_0x9fc745[_0x73ab('0xe')]));if(_0x2e852a||0x0!==Object['keys'](_0x32c676)[_0x73ab('0x6')])for(const _0x5e2c0d of _0x32289c)_0x2d16e9[_0x73ab('0x21')](_0x5e2c0d,{'commandName':_0x73ab('0x19'),'commandParams':[_0x32c676]});});}),_0x2d16e9[_0x73ab('0x1a')][_0x73ab('0x20')](_0x5e3bae=>{const {data:_0x4c6238}=_0x5e3bae;if(_0x4c6238&&'pasteFormat'===_0x4c6238[_0x73ab('0x28')]){const _0x2e86c6=[],_0x1c2fd1=_0x4c6238[_0x73ab('0x9')][0x0];for(const [_0x4979ac,_0x487b93]of Object[_0x73ab('0x24')](_0x1c2fd1))_0x2e86c6[_0x73ab('0x10')](no(_0x43d77d,_0x4979ac,_0x487b93));return _0x2e86c6[_0x73ab('0x6')]?{'type':'format','content':_0x5585fb(_0x15a135,_0x73ab('0x5'),_0x2e86c6['join'](',\x20'))}:{'type':_0x73ab('0x2e'),'content':_0x5585fb(_0x15a135,_0x73ab('0x30'))};}}),_0x43d77d[_0x73ab('0x1')][_0x73ab('0xc')](_0x73ab('0x0'))[_0x73ab('0xa')](_0x73ab('0x2a')));}}function ro(_0x847df4,_0x540c3e){const _0xb2e3e9=_0x847df4[_0x73ab('0x2')](_0x540c3e);_0x847df4['modifySelection'](_0xb2e3e9,{'unit':'word','direction':_0x73ab('0x25')});const _0x133689=_0xb2e3e9['getFirstPosition']();_0x847df4['modifySelection'](_0xb2e3e9,{'unit':_0x73ab('0x7'),'direction':_0x73ab('0x17')});const _0x40c1cd=_0xb2e3e9[_0x73ab('0x11')]();return _0x847df4['createRange'](_0x133689,_0x40c1cd);}function no(_0x3831ea,_0x43028c,_0x44e8c9){const _0xb053aa=_0x3831ea[_0x73ab('0x15')]['t'],_0x5a59b2=_0x43028c[_0x73ab('0x1d')](/(?=[A-Z])/)[_0x73ab('0x23')]('\x20'),_0x5898be=_0xb053aa(_0x5a59b2[_0x73ab('0x16')](0x0)['toUpperCase']()+_0x5a59b2[_0x73ab('0x2c')](0x1))['toLowerCase']();if(_0x73ab('0x8')==typeof _0x44e8c9)return _0x5898be;if(_0x73ab('0x33')===_0x43028c||_0x73ab('0x3')===_0x43028c){const _0x2d2ea5=_0x1832c0(_0x3831ea[_0x73ab('0x12')]['get']('fontColor.colors'))[_0x73ab('0x18')](_0x21b858=>_0x21b858['model']==_0x44e8c9);return _0x5898be+'\x20('+(_0x2d2ea5?_0xb053aa(_0x2d2ea5['label'])[_0x73ab('0x4')]():_0x44e8c9)+')';}if(_0x73ab('0x32')===_0x43028c&&isNaN(parseFloat(_0x44e8c9))){const _0x2b7031=_0x3831ea[_0x73ab('0x1')]['get']('FontSize')[_0x73ab('0x1c')](_0x3831ea['config']['get'](_0x73ab('0x31')))[_0x73ab('0x18')](_0x53874b=>_0x53874b[_0x73ab('0x2f')]==_0x44e8c9);return _0x5898be+'\x20('+(_0x2b7031?_0xb053aa(_0x2b7031[_0x73ab('0xf')])[_0x73ab('0x4')]():_0x44e8c9)+')';}return _0x5898be+'\x20('+_0x44e8c9+')';}
23
+ const _0x21e7=['TrackChangesEditing','FontSize','commandParams','normalizeSizeOptions','commands','getItems','isFormatting','pasteFormat','toLowerCase','getLastPosition','model','fontSize.options','getFirstPosition','length','markInlineFormat','getRanges','*Remove\x20all\x20formatting*','title','entries','_descriptionFactory','copyFormat','backward','schema','find','fontBackgroundColor','document','getSelectedBlocks','registerDescriptionCallback','word','locale','isCollapsed','format','enableCommand','get','toUpperCase','selection','editor','config','fontColor.colors','fontColor','createSelection','push','from','slice','afterInit','commandName','join','*Set\x20format\x20to:*\x20%0','plugins'];(function(_0x805e7b,_0x21e79e){const _0x2097b2=function(_0x3e3918){while(--_0x3e3918){_0x805e7b['push'](_0x805e7b['shift']());}};_0x2097b2(++_0x21e79e);}(_0x21e7,0x85));const _0x2097=function(_0x805e7b,_0x21e79e){_0x805e7b=_0x805e7b-0x0;let _0x2097b2=_0x21e7[_0x805e7b];return _0x2097b2;};import{Plugin as _0x358c8c}from'ckeditor5/src/core';import{normalizeColorOptions as _0x114bb4}from'ckeditor5/src/ui';import{first as _0x49681d}from'ckeditor5/src/utils';import{getTranslation as _0x217a1a}from'../utils/common-translations';export default class W extends _0x358c8c{[_0x2097('0x9')](){const _0x12b62b=this[_0x2097('0x1')],_0x156a2e=_0x12b62b['model'],_0x41f95c=_0x156a2e[_0x2097('0x27')][_0x2097('0x0')],_0x3c2d0f=_0x12b62b['plugins']['get'](_0x2097('0xe')),_0x1361f6=_0x12b62b[_0x2097('0x2b')],_0x2e5a87=_0x12b62b[_0x2097('0x12')]['get'](_0x2097('0x22')),_0x2b64b8=_0x12b62b[_0x2097('0x12')][_0x2097('0x2f')](_0x2097('0x15'));_0x2e5a87&&_0x2b64b8&&(_0x3c2d0f[_0x2097('0x2e')]('pasteFormat',(_0x12bc95,_0x12279a={})=>{const _0x3d0064=_0x12279a;_0x156a2e['change'](()=>{const _0x3f3ea8=Array[_0x2097('0x7')](_0x41f95c[_0x2097('0x1d')]()),_0x29a986=_0x41f95c[_0x2097('0x2c')]?[ro(_0x156a2e,_0x41f95c)]:_0x3f3ea8,_0x5dde09=!!_0x49681d(function*(_0x419c3f,_0x33d08b){const _0x289020=_0x598e28=>!!_0x49681d(function*(_0x626cdb,_0x349fe4){for(const [_0x244191]of _0x626cdb['getAttributes']()){const _0x10b5dd=_0x349fe4['getAttributeProperties'](_0x244191);_0x10b5dd&&_0x10b5dd[_0x2097('0x14')]&&(yield _0x244191);}}(_0x598e28,_0x33d08b));for(const _0x284625 of _0x419c3f[_0x2097('0x1d')]())for(const _0x3569f0 of _0x284625[_0x2097('0x13')]())!_0x33d08b['isBlock'](_0x3569f0)&&_0x289020(_0x3569f0)&&(yield _0x3569f0);for(const _0x111251 of _0x419c3f[_0x2097('0x28')]())_0x289020(_0x111251)&&(yield _0x111251);_0x289020(_0x419c3f)&&(yield _0x419c3f);}(_0x41f95c,_0x156a2e[_0x2097('0x24')]));if(_0x5dde09||0x0!==Object['keys'](_0x3d0064)[_0x2097('0x1b')])for(const _0x227757 of _0x29a986)_0x3c2d0f[_0x2097('0x1c')](_0x227757,{'commandName':_0x2097('0x15'),'commandParams':[_0x3d0064]});});}),_0x3c2d0f[_0x2097('0x21')][_0x2097('0x29')](_0x4a4799=>{const {data:_0x27ef70}=_0x4a4799;if(_0x27ef70&&_0x2097('0x15')===_0x27ef70[_0x2097('0xa')]){const _0x4592bb=[],_0x1dcd08=_0x27ef70[_0x2097('0x10')][0x0];for(const [_0x9a3e3d,_0x1eadad]of Object[_0x2097('0x20')](_0x1dcd08))_0x4592bb[_0x2097('0x6')](no(_0x12b62b,_0x9a3e3d,_0x1eadad));return _0x4592bb[_0x2097('0x1b')]?{'type':_0x2097('0x2d'),'content':_0x217a1a(_0x1361f6,_0x2097('0xc'),_0x4592bb[_0x2097('0xb')](',\x20'))}:{'type':_0x2097('0x2d'),'content':_0x217a1a(_0x1361f6,_0x2097('0x1e'))};}}),_0x12b62b[_0x2097('0xd')][_0x2097('0x2f')](_0x2097('0xe'))[_0x2097('0x2e')](_0x2097('0x22')));}}function ro(_0x40de4d,_0x1bb6bb){const _0x759cda=_0x40de4d[_0x2097('0x5')](_0x1bb6bb);_0x40de4d['modifySelection'](_0x759cda,{'unit':'word','direction':_0x2097('0x23')});const _0x2cf5ba=_0x759cda[_0x2097('0x1a')]();_0x40de4d['modifySelection'](_0x759cda,{'unit':_0x2097('0x2a'),'direction':'forward'});const _0x431c08=_0x759cda[_0x2097('0x17')]();return _0x40de4d['createRange'](_0x2cf5ba,_0x431c08);}function no(_0x5bae2f,_0x2090fe,_0x353b4f){const _0x2a8b55=_0x5bae2f[_0x2097('0x2b')]['t'],_0x55b587=_0x2090fe['split'](/(?=[A-Z])/)['join']('\x20'),_0x1b6b37=_0x2a8b55(_0x55b587['charAt'](0x0)[_0x2097('0x30')]()+_0x55b587[_0x2097('0x8')](0x1))[_0x2097('0x16')]();if('boolean'==typeof _0x353b4f)return _0x1b6b37;if(_0x2097('0x4')===_0x2090fe||_0x2097('0x26')===_0x2090fe){const _0x1cc10e=_0x114bb4(_0x5bae2f['config'][_0x2097('0x2f')](_0x2097('0x3')))[_0x2097('0x25')](_0xfb3802=>_0xfb3802['model']==_0x353b4f);return _0x1b6b37+'\x20('+(_0x1cc10e?_0x2a8b55(_0x1cc10e['label'])['toLowerCase']():_0x353b4f)+')';}if('fontSize'===_0x2090fe&&isNaN(parseFloat(_0x353b4f))){const _0x3c6b23=_0x5bae2f[_0x2097('0xd')][_0x2097('0x2f')](_0x2097('0xf'))[_0x2097('0x11')](_0x5bae2f[_0x2097('0x2')][_0x2097('0x2f')](_0x2097('0x19')))[_0x2097('0x25')](_0x213a01=>_0x213a01[_0x2097('0x18')]==_0x353b4f);return _0x1b6b37+'\x20('+(_0x3c6b23?_0x2a8b55(_0x3c6b23[_0x2097('0x1f')])['toLowerCase']():_0x353b4f)+')';}return _0x1b6b37+'\x20('+_0x353b4f+')';}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4921=['formatBlock','getSelectedBlocks','change','blockName','plugins','enableCommand','*Change\x20to:*\x20%0','registerElementLabel','value','from','editor','selection','document','registerDescriptionCallback','checkChild','paragraph','get','locale','heading','has','heading.options','commandName','ELEMENT_HEADING','afterInit','TrackChangesEditing','schema','_descriptionFactory','format','name','filter','isObject','model'];(function(_0x4efa25,_0x49211d){const _0x234ca8=function(_0x31ca86){while(--_0x31ca86){_0x4efa25['push'](_0x4efa25['shift']());}};_0x234ca8(++_0x49211d);}(_0x4921,0x1b0));const _0x234c=function(_0x4efa25,_0x49211d){_0x4efa25=_0x4efa25-0x0;let _0x234ca8=_0x4921[_0x4efa25];return _0x234ca8;};import{Plugin as _0x11b6c6}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x4c8b08}from'./utils';import{getTranslation as _0x3c8b66}from'../utils/common-translations';export default class J extends _0x11b6c6{[_0x234c('0x7')](){const _0x38eec6=this[_0x234c('0x1a')],_0x32bbc2=_0x38eec6[_0x234c('0x1')],_0x1740bb=_0x38eec6['config'][_0x234c('0x0')](_0x234c('0x4'));if(!_0x38eec6[_0x234c('0x14')][_0x234c('0x3')]('HeadingEditing'))return;const _0xb346e9=_0x38eec6[_0x234c('0x14')][_0x234c('0x0')](_0x234c('0x8'));_0xb346e9[_0x234c('0x15')]('heading',(_0xd68070,_0x1fc10b)=>{const _0x48bee7=_0x1fc10b[_0x234c('0x18')],_0x2150e6=Array[_0x234c('0x19')](this[_0x234c('0x1a')][_0x234c('0xf')][_0x234c('0x1c')][_0x234c('0x1b')][_0x234c('0x11')]())[_0x234c('0xd')](_0x207df8=>function(_0x1efef7,_0x4a79c0,_0x54ddf0){return _0x54ddf0[_0x234c('0x1e')](_0x1efef7['parent'],_0x4a79c0)&&!_0x54ddf0[_0x234c('0xe')](_0x1efef7)&&_0x1efef7[_0x234c('0xc')]!=_0x4a79c0;}(_0x207df8,_0x48bee7,this[_0x234c('0x1a')][_0x234c('0xf')][_0x234c('0x9')]));_0x38eec6[_0x234c('0xf')][_0x234c('0x12')](()=>{for(const _0x36a81c of _0x2150e6)_0xb346e9['markBlockFormat'](_0x36a81c,{'commandName':_0x234c('0x2'),'commandParams':[_0x1fc10b],'formatGroupId':_0x234c('0x13')},_0x4c8b08(_0x36a81c));});});for(const _0x2391b7 of _0x1740bb)_0x234c('0x1f')!=_0x2391b7[_0x234c('0xf')]&&_0xb346e9['_descriptionFactory'][_0x234c('0x17')](_0x2391b7['model'],_0x8e40f5=>{const _0x1111ff=nn(_0x2391b7[_0x234c('0xf')]);return null!==_0x1111ff?_0x47413a(_0x8e40f5,_0x1111ff):_0x3d24be(_0x8e40f5,_0x2391b7['title']);});function _0x47413a(_0x48550e,_0x41d2bf){return _0x3c8b66(_0x32bbc2,_0x234c('0x6'),[_0x48550e,_0x41d2bf]);}function _0x3d24be(_0x35cf20,_0x2a4963){return _0x3c8b66(_0x32bbc2,'ELEMENT_HEADING_CUSTOM',[_0x35cf20,_0x2a4963]);}_0xb346e9[_0x234c('0xa')][_0x234c('0x1d')](_0x3f4fb0=>{const {type:_0x56e0dd,data:_0x1e37e7}=_0x3f4fb0;if(_0x234c('0x10')==_0x56e0dd&&_0x1e37e7&&_0x234c('0x2')==_0x1e37e7[_0x234c('0x5')]){const _0x5dba80=_0x1e37e7['commandParams'][0x0]['value'],_0x1b9e74=nn(_0x5dba80);if(null!==_0x1b9e74)return{'type':_0x234c('0xb'),'content':_0x3c8b66(_0x32bbc2,_0x234c('0x16'),_0x47413a(0x1,_0x1b9e74))};const _0x5ec285=_0x1740bb['find'](_0x95461=>_0x95461[_0x234c('0xf')]===_0x5dba80)['title'];return{'type':'format','content':_0x3c8b66(_0x32bbc2,_0x234c('0x16'),_0x3d24be(0x1,_0x5ec285))};}});}}function nn(_0x45ffc8){const _0x241263=_0x45ffc8['match'](/^heading(\d+)$/);return _0x241263?_0x241263[0x1]:null;}
23
+ const _0x8eca=['change','TrackChangesEditing','parent','heading','ELEMENT_HEADING_CUSTOM','model','from','get','plugins','title','match','isObject','afterInit','value','document','HeadingEditing','editor','locale','getSelectedBlocks','registerElementLabel','name','schema','enableCommand','selection','_descriptionFactory','format','ELEMENT_HEADING','registerDescriptionCallback','heading.options'];(function(_0x42ee47,_0x8eca9){const _0x1872ac=function(_0x159ac3){while(--_0x159ac3){_0x42ee47['push'](_0x42ee47['shift']());}};_0x1872ac(++_0x8eca9);}(_0x8eca,0x17d));const _0x1872=function(_0x42ee47,_0x8eca9){_0x42ee47=_0x42ee47-0x0;let _0x1872ac=_0x8eca[_0x42ee47];return _0x1872ac;};import{Plugin as _0x1c1c58}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x4434e3}from'./utils';import{getTranslation as _0x8f3beb}from'../utils/common-translations';export default class J extends _0x1c1c58{[_0x1872('0x8')](){const _0x3b096a=this[_0x1872('0xc')],_0x722181=_0x3b096a[_0x1872('0xd')],_0x567ab0=_0x3b096a['config']['get'](_0x1872('0x18'));if(!_0x3b096a[_0x1872('0x4')]['has'](_0x1872('0xb')))return;const _0x1ed7e5=_0x3b096a['plugins'][_0x1872('0x3')](_0x1872('0x1a'));_0x1ed7e5[_0x1872('0x12')]('heading',(_0x5a1242,_0x128c72)=>{const _0x47ec23=_0x128c72[_0x1872('0x9')],_0x49cce1=Array[_0x1872('0x2')](this[_0x1872('0xc')][_0x1872('0x1')][_0x1872('0xa')][_0x1872('0x13')][_0x1872('0xe')]())['filter'](_0x152729=>function(_0x50ad2d,_0x220bb8,_0x57dca9){return _0x57dca9['checkChild'](_0x50ad2d[_0x1872('0x1b')],_0x220bb8)&&!_0x57dca9[_0x1872('0x7')](_0x50ad2d)&&_0x50ad2d[_0x1872('0x10')]!=_0x220bb8;}(_0x152729,_0x47ec23,this[_0x1872('0xc')][_0x1872('0x1')][_0x1872('0x11')]));_0x3b096a[_0x1872('0x1')][_0x1872('0x19')](()=>{for(const _0x4be119 of _0x49cce1)_0x1ed7e5['markBlockFormat'](_0x4be119,{'commandName':_0x1872('0x1c'),'commandParams':[_0x128c72],'formatGroupId':'blockName'},_0x4434e3(_0x4be119));});});for(const _0x343fd9 of _0x567ab0)'paragraph'!=_0x343fd9[_0x1872('0x1')]&&_0x1ed7e5[_0x1872('0x14')][_0x1872('0xf')](_0x343fd9[_0x1872('0x1')],_0x106cc7=>{const _0x1a712a=nn(_0x343fd9['model']);return null!==_0x1a712a?_0x8a4dbd(_0x106cc7,_0x1a712a):_0xd36618(_0x106cc7,_0x343fd9[_0x1872('0x5')]);});function _0x8a4dbd(_0x47dfa0,_0x323c78){return _0x8f3beb(_0x722181,_0x1872('0x16'),[_0x47dfa0,_0x323c78]);}function _0xd36618(_0x5afc9e,_0x1b65c8){return _0x8f3beb(_0x722181,_0x1872('0x0'),[_0x5afc9e,_0x1b65c8]);}_0x1ed7e5[_0x1872('0x14')][_0x1872('0x17')](_0x552046=>{const {type:_0x1b6ca6,data:_0x8492bc}=_0x552046;if('formatBlock'==_0x1b6ca6&&_0x8492bc&&'heading'==_0x8492bc['commandName']){const _0x4bb8cf=_0x8492bc['commandParams'][0x0][_0x1872('0x9')],_0xeb90c6=nn(_0x4bb8cf);if(null!==_0xeb90c6)return{'type':_0x1872('0x15'),'content':_0x8f3beb(_0x722181,'*Change\x20to:*\x20%0',_0x8a4dbd(0x1,_0xeb90c6))};const _0x56191d=_0x567ab0['find'](_0x459051=>_0x459051['model']===_0x4bb8cf)['title'];return{'type':_0x1872('0x15'),'content':_0x8f3beb(_0x722181,'*Change\x20to:*\x20%0',_0xd36618(0x1,_0x56191d))};}});}}function nn(_0x276e50){const _0x41be93=_0x276e50[_0x1872('0x6')](/^heading(\d+)$/);return _0x41be93?_0x41be93[0x1]:null;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x9168=['title','commandName','change','backward','selection','getLastMatchingPosition','plugins','getAttribute','locale','getFirstPosition','editor','highlight.options','find','format','_descriptionFactory','toLowerCase','registerDescriptionCallback','document','value','color','get','commandParams','item','model','FORMAT_HIGHLIGHT','markInlineFormat','hasAttribute','formatInline','afterInit','*Remove\x20highlight*','TrackChangesEditing','highlight'];(function(_0x5745ed,_0x916802){const _0x5187d2=function(_0x359632){while(--_0x359632){_0x5745ed['push'](_0x5745ed['shift']());}};_0x5187d2(++_0x916802);}(_0x9168,0x1d2));const _0x5187=function(_0x5745ed,_0x916802){_0x5745ed=_0x5745ed-0x0;let _0x5187d2=_0x9168[_0x5745ed];return _0x5187d2;};import{Plugin as _0x281118}from'ckeditor5/src/core';import{getTranslation as _0x4fcc53}from'../utils/common-translations';import{getRangesWithAttribute as _0x2c3865}from'./utils';export default class K extends _0x281118{[_0x5187('0xa')](){const _0xe0fd2d=this[_0x5187('0x18')];if(!_0xe0fd2d[_0x5187('0x14')]['has']('HighlightEditing'))return;const _0x72cbeb=_0xe0fd2d[_0x5187('0x14')][_0x5187('0x2')](_0x5187('0xc'));_0x72cbeb['enableCommand'](_0x5187('0xd'),(_0x31ee7f,_0x5892b9={})=>{const _0x1b5702=_0xe0fd2d[_0x5187('0x5')][_0x5187('0x1f')][_0x5187('0x12')],_0x41a3ac=_0x1b5702[_0x5187('0x15')](_0x5187('0xd'));let _0x1620ca=_0x5892b9[_0x5187('0x0')],_0x8b4154=[];if(_0x1b5702['isCollapsed']){const _0xc250e8=_0x1b5702[_0x5187('0x17')]();if(!_0x1b5702[_0x5187('0x8')](_0x5187('0xd')))return void _0x31ee7f(_0x5892b9);{const _0x32d15c=_0x5cd53f=>_0x5cd53f[_0x5187('0x4')][_0x5187('0x15')](_0x5187('0xd'))===_0x41a3ac,_0x46b773=_0xc250e8[_0x5187('0x13')](_0x32d15c,{'direction':_0x5187('0x11')}),_0x28727a=_0xc250e8[_0x5187('0x13')](_0x32d15c);_0x8b4154=[_0xe0fd2d[_0x5187('0x5')]['createRange'](_0x46b773,_0x28727a)],_0x1620ca==_0x41a3ac&&(_0x1620ca=null);}}else for(const _0x83c897 of _0x1b5702['getRanges']())_0x1620ca?_0x8b4154['push'](_0x83c897):_0x8b4154['push'](..._0x2c3865('highlight',_0x83c897,_0xe0fd2d[_0x5187('0x5')]));_0xe0fd2d[_0x5187('0x5')][_0x5187('0x10')](()=>{for(const _0x15d992 of _0x8b4154)_0x72cbeb[_0x5187('0x7')](_0x15d992,{'commandName':'highlight','commandParams':[{'value':_0x1620ca}]});});});const _0x31e974=_0xe0fd2d[_0x5187('0x16')];_0x72cbeb[_0x5187('0x1c')][_0x5187('0x1e')](_0x2f2333=>{const {type:_0x4583e0,data:_0x5f2c19}=_0x2f2333;if(_0x5187('0x9')==_0x4583e0&&_0x5f2c19&&_0x5187('0xd')==_0x5f2c19[_0x5187('0xf')]){const _0x237610=_0x31e974['t'],_0x5a919b=_0x5f2c19[_0x5187('0x3')][0x0][_0x5187('0x0')];if(_0x5a919b){const _0x4edf0d=_0xe0fd2d['config'][_0x5187('0x2')](_0x5187('0x19'))[_0x5187('0x1a')](_0x5f0d64=>_0x5f0d64[_0x5187('0x5')]==_0x5a919b),_0x1e4fe7=_0x237610(_0x4edf0d['title'])[_0x5187('0x1d')]();return{'type':_0x5187('0x1b'),'content':_0x4fcc53(_0x31e974,'*Set\x20highlight:*\x20%0',_0x1e4fe7),'color':{'value':_0x4edf0d[_0x5187('0x1')],'title':_0x4edf0d[_0x5187('0xe')]}};}return{'type':_0x5187('0x1b'),'content':_0x4fcc53(_0x31e974,_0x5187('0xb'),_0x4fcc53(_0x31e974,_0x5187('0x6')))};}});}}
23
+ const _0x4c54=['model','push','isCollapsed','afterInit','locale','highlight','getRanges','item','_descriptionFactory','*Remove\x20highlight*','format','formatInline','registerDescriptionCallback','commandName','value','plugins','getAttribute','document','toLowerCase','getLastMatchingPosition','change','editor','find','title','FORMAT_HIGHLIGHT','highlight.options','get','TrackChangesEditing','backward'];(function(_0x2f6d07,_0x4c5412){const _0x29406a=function(_0x311f5b){while(--_0x311f5b){_0x2f6d07['push'](_0x2f6d07['shift']());}};_0x29406a(++_0x4c5412);}(_0x4c54,0x12b));const _0x2940=function(_0x2f6d07,_0x4c5412){_0x2f6d07=_0x2f6d07-0x0;let _0x29406a=_0x4c54[_0x2f6d07];return _0x29406a;};import{Plugin as _0x3154bb}from'ckeditor5/src/core';import{getTranslation as _0x2c1659}from'../utils/common-translations';import{getRangesWithAttribute as _0xcc46b2}from'./utils';export default class K extends _0x3154bb{[_0x2940('0x17')](){const _0x5e7682=this[_0x2940('0xc')];if(!_0x5e7682[_0x2940('0x6')]['has']('HighlightEditing'))return;const _0xecbbd=_0x5e7682['plugins'][_0x2940('0x11')](_0x2940('0x12'));_0xecbbd['enableCommand'](_0x2940('0x19'),(_0x507ebb,_0x229f65={})=>{const _0x156ce2=_0x5e7682[_0x2940('0x14')][_0x2940('0x8')]['selection'],_0x46bff1=_0x156ce2[_0x2940('0x7')](_0x2940('0x19'));let _0x34df5e=_0x229f65[_0x2940('0x5')],_0x21164e=[];if(_0x156ce2[_0x2940('0x16')]){const _0x40a434=_0x156ce2['getFirstPosition']();if(!_0x156ce2['hasAttribute'](_0x2940('0x19')))return void _0x507ebb(_0x229f65);{const _0x3e21ff=_0x43a5e3=>_0x43a5e3[_0x2940('0x1b')][_0x2940('0x7')](_0x2940('0x19'))===_0x46bff1,_0x92c096=_0x40a434[_0x2940('0xa')](_0x3e21ff,{'direction':_0x2940('0x13')}),_0x571453=_0x40a434['getLastMatchingPosition'](_0x3e21ff);_0x21164e=[_0x5e7682['model']['createRange'](_0x92c096,_0x571453)],_0x34df5e==_0x46bff1&&(_0x34df5e=null);}}else for(const _0x17857a of _0x156ce2[_0x2940('0x1a')]())_0x34df5e?_0x21164e[_0x2940('0x15')](_0x17857a):_0x21164e[_0x2940('0x15')](..._0xcc46b2('highlight',_0x17857a,_0x5e7682[_0x2940('0x14')]));_0x5e7682[_0x2940('0x14')][_0x2940('0xb')](()=>{for(const _0x2db603 of _0x21164e)_0xecbbd['markInlineFormat'](_0x2db603,{'commandName':_0x2940('0x19'),'commandParams':[{'value':_0x34df5e}]});});});const _0x56dbc6=_0x5e7682[_0x2940('0x18')];_0xecbbd[_0x2940('0x1c')][_0x2940('0x3')](_0x5a0a13=>{const {type:_0x2d224b,data:_0x5bdef3}=_0x5a0a13;if(_0x2940('0x2')==_0x2d224b&&_0x5bdef3&&_0x2940('0x19')==_0x5bdef3[_0x2940('0x4')]){const _0x32bc67=_0x56dbc6['t'],_0x1e924f=_0x5bdef3['commandParams'][0x0][_0x2940('0x5')];if(_0x1e924f){const _0x4bfb07=_0x5e7682['config'][_0x2940('0x11')](_0x2940('0x10'))[_0x2940('0xd')](_0x23a488=>_0x23a488[_0x2940('0x14')]==_0x1e924f),_0x8b3f92=_0x32bc67(_0x4bfb07[_0x2940('0xe')])[_0x2940('0x9')]();return{'type':_0x2940('0x1'),'content':_0x2c1659(_0x56dbc6,'*Set\x20highlight:*\x20%0',_0x8b3f92),'color':{'value':_0x4bfb07['color'],'title':_0x4bfb07[_0x2940('0xe')]}};}return{'type':_0x2940('0x1'),'content':_0x2c1659(_0x56dbc6,_0x2940('0x0'),_0x2c1659(_0x56dbc6,_0x2940('0xf')))};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3db0=['afterInit','for','addClass','dataDowncast','div','editor','TrackChangesEditing','plugins','locale','has','horizontalLine','ck-horizontal-line','createContainerElement','showSuggestionHighlights','elementToStructure'];(function(_0x1231b9,_0x3db057){const _0x463587=function(_0x180a9c){while(--_0x180a9c){_0x1231b9['push'](_0x1231b9['shift']());}};_0x463587(++_0x3db057);}(_0x3db0,0xb0));const _0x4635=function(_0x1231b9,_0x3db057){_0x1231b9=_0x1231b9-0x0;let _0x463587=_0x3db0[_0x1231b9];return _0x463587;};import{Plugin as _0x433f80}from'ckeditor5/src/core';import{getTranslation as _0x56e551}from'../utils/common-translations';export default class Q extends _0x433f80{[_0x4635('0x4')](){const _0x936f0e=this[_0x4635('0x9')];if(!_0x936f0e[_0x4635('0xb')][_0x4635('0xd')]('HorizontalLineEditing'))return;_0x936f0e['plugins']['get'](_0x4635('0xa'))['enableCommand'](_0x4635('0xe'));const _0x15606a=_0x936f0e[_0x4635('0xb')]['get'](_0x4635('0xa')),_0x25cdc8=_0x936f0e[_0x4635('0xc')];_0x15606a['_descriptionFactory']['registerElementLabel'](_0x4635('0xe'),_0x2592cf=>_0x56e551(_0x25cdc8,'ELEMENT_HORIZONTAL_LINE',_0x2592cf)),_0x936f0e['conversion'][_0x4635('0x5')](_0x4635('0x7'))[_0x4635('0x3')]({'model':_0x4635('0xe'),'view':(_0x582fbe,{writer:_0x3367ed,options:_0x566d27})=>{if(!_0x566d27[_0x4635('0x2')])return null;const _0x4c7ece=_0x3367ed[_0x4635('0x1')](_0x4635('0x8')),_0x17c481=_0x3367ed['createEmptyElement']('hr');return _0x3367ed[_0x4635('0x6')](_0x4635('0x0'),_0x4c7ece),_0x3367ed['insert'](_0x3367ed['createPositionAt'](_0x4c7ece,0x0),_0x17c481),_0x4c7ece;},'converterPriority':'high'});}}
23
+ const _0xb01d=['registerElementLabel','has','plugins','div','ck-horizontal-line','editor','TrackChangesEditing','locale','insert','get','high','createContainerElement','createEmptyElement','afterInit','dataDowncast','addClass','elementToStructure','conversion','horizontalLine','enableCommand'];(function(_0x373bac,_0xb01d3f){const _0x581617=function(_0x38d438){while(--_0x38d438){_0x373bac['push'](_0x373bac['shift']());}};_0x581617(++_0xb01d3f);}(_0xb01d,0x14c));const _0x5816=function(_0x373bac,_0xb01d3f){_0x373bac=_0x373bac-0x0;let _0x581617=_0xb01d[_0x373bac];return _0x581617;};import{Plugin as _0x13e008}from'ckeditor5/src/core';import{getTranslation as _0x2a434d}from'../utils/common-translations';export default class Q extends _0x13e008{[_0x5816('0x1')](){const _0x54def8=this[_0x5816('0xd')];if(!_0x54def8[_0x5816('0xa')][_0x5816('0x9')]('HorizontalLineEditing'))return;_0x54def8['plugins'][_0x5816('0x11')](_0x5816('0xe'))[_0x5816('0x7')]('horizontalLine');const _0x136e16=_0x54def8['plugins']['get']('TrackChangesEditing'),_0x3bb4d3=_0x54def8[_0x5816('0xf')];_0x136e16['_descriptionFactory'][_0x5816('0x8')](_0x5816('0x6'),_0x519a65=>_0x2a434d(_0x3bb4d3,'ELEMENT_HORIZONTAL_LINE',_0x519a65)),_0x54def8[_0x5816('0x5')]['for'](_0x5816('0x2'))[_0x5816('0x4')]({'model':_0x5816('0x6'),'view':(_0x3bed87,{writer:_0x4cb976,options:_0x3e5667})=>{if(!_0x3e5667['showSuggestionHighlights'])return null;const _0x314abf=_0x4cb976[_0x5816('0x13')](_0x5816('0xb')),_0x57a719=_0x4cb976[_0x5816('0x0')]('hr');return _0x4cb976[_0x5816('0x3')](_0x5816('0xc'),_0x314abf),_0x4cb976[_0x5816('0x10')](_0x4cb976['createPositionAt'](_0x314abf,0x0),_0x57a719),_0x314abf;},'converterPriority':_0x5816('0x12')});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x59f2=['getSelectedElement','registerDescriptionCallback','selection','htmlEmbed','commandName','enableCommand','cancel','rawHtml','_descriptionFactory','getAttribute','format','model','element','value','get','registerElementLabel','HtmlEmbed','afterInit','document','locale','markBlockFormat','rawHtmlApi','plugins','view','ELEMENT_HTML_EMBED','getCustomProperty','TrackChangesEditing','change'];(function(_0x362902,_0x59f23a){const _0x436787=function(_0x48c1c9){while(--_0x48c1c9){_0x362902['push'](_0x362902['shift']());}};_0x436787(++_0x59f23a);}(_0x59f2,0x147));const _0x4367=function(_0x362902,_0x59f23a){_0x362902=_0x362902-0x0;let _0x436787=_0x59f2[_0x362902];return _0x436787;};import{Plugin as _0x13a635}from'ckeditor5/src/core';import{getTranslation as _0x90fa39}from'../utils/common-translations';export default class V extends _0x13a635{[_0x4367('0x1a')](){const _0x2b7053=this['editor'];if(!_0x2b7053[_0x4367('0x3')]['has'](_0x4367('0x19')))return;const _0x1bec61=_0x2b7053['plugins'][_0x4367('0x17')](_0x4367('0x7')),_0x21148f=_0x2b7053[_0x4367('0x0')],_0x184cc3=_0x2b7053['editing'][_0x4367('0x4')][_0x4367('0x1b')][_0x4367('0xb')];_0x1bec61[_0x4367('0x11')][_0x4367('0x18')](_0x4367('0x10'),_0x2c4584=>_0x90fa39(_0x21148f,_0x4367('0x5'),_0x2c4584)),_0x2b7053[_0x4367('0x3')]['get'](_0x4367('0x7'))[_0x4367('0xe')]('htmlEmbed',(_0x45297b,_0x56bf63)=>{const _0x418527=_0x2b7053[_0x4367('0x14')],_0x77d113=_0x418527[_0x4367('0x1b')]['selection'];_0x418527[_0x4367('0x8')](()=>{const _0x4dc94e=function(_0x36542a){const _0x50878a=_0x36542a[_0x4367('0x9')]();if(_0x50878a&&_0x50878a['is'](_0x4367('0x15'),_0x4367('0x10')))return _0x36542a[_0x4367('0x9')]();return null;}(_0x77d113);if(!_0x4dc94e)return void _0x45297b(null);const _0x5612bb=_0x4dc94e[_0x4367('0x12')](_0x4367('0x16'))||'';if(void 0x0===_0x56bf63)return;if(_0x56bf63===_0x5612bb)return;_0x1bec61[_0x4367('0x1')](_0x4dc94e,{'commandName':_0x4367('0xc'),'commandParams':[_0x56bf63]}),_0x184cc3['getSelectedElement']()[_0x4367('0x6')](_0x4367('0x2'))[_0x4367('0xf')]();});}),_0x1bec61[_0x4367('0x11')][_0x4367('0xa')](_0x12ea6c=>{const {data:_0x2659ea}=_0x12ea6c;if(_0x2659ea&&_0x4367('0xc')==_0x2659ea[_0x4367('0xd')]){const _0x551583=_0x90fa39(_0x21148f,_0x4367('0x5'));return{'type':_0x4367('0x13'),'content':_0x90fa39(_0x21148f,'*Change\x20%0\x20content*',_0x551583)};}});}}
23
+ const _0x126d=['get','editor','selection','afterInit','getCustomProperty','commandName','HtmlEmbed','rawHtmlApi','registerDescriptionCallback','plugins','rawHtml','enableCommand','TrackChangesEditing','editing','registerElementLabel','getSelectedElement','view','model','change','cancel','has','markBlockFormat','document','_descriptionFactory','*Change\x20%0\x20content*','htmlEmbed'];(function(_0xa2bd51,_0x126d62){const _0x406646=function(_0x2fb02a){while(--_0x2fb02a){_0xa2bd51['push'](_0xa2bd51['shift']());}};_0x406646(++_0x126d62);}(_0x126d,0x8e));const _0x4066=function(_0xa2bd51,_0x126d62){_0xa2bd51=_0xa2bd51-0x0;let _0x406646=_0x126d[_0xa2bd51];return _0x406646;};import{Plugin as _0x4acee9}from'ckeditor5/src/core';import{getTranslation as _0x5b837c}from'../utils/common-translations';export default class V extends _0x4acee9{[_0x4066('0x11')](){const _0x3e1107=this[_0x4066('0xf')];if(!_0x3e1107[_0x4066('0x17')][_0x4066('0x8')](_0x4066('0x14')))return;const _0x33d148=_0x3e1107[_0x4066('0x17')][_0x4066('0xe')](_0x4066('0x0')),_0x38e760=_0x3e1107['locale'],_0x24d213=_0x3e1107[_0x4066('0x1')][_0x4066('0x4')][_0x4066('0xa')][_0x4066('0x10')];_0x33d148[_0x4066('0xb')][_0x4066('0x2')](_0x4066('0x18'),_0x258dda=>_0x5b837c(_0x38e760,'ELEMENT_HTML_EMBED',_0x258dda)),_0x3e1107[_0x4066('0x17')][_0x4066('0xe')](_0x4066('0x0'))[_0x4066('0x19')](_0x4066('0xd'),(_0x4bbe12,_0x4bba8b)=>{const _0x5e92ae=_0x3e1107[_0x4066('0x5')],_0x508474=_0x5e92ae['document']['selection'];_0x5e92ae[_0x4066('0x6')](()=>{const _0x2f9ec4=function(_0x3d4416){const _0x538458=_0x3d4416[_0x4066('0x3')]();if(_0x538458&&_0x538458['is']('element',_0x4066('0x18')))return _0x3d4416['getSelectedElement']();return null;}(_0x508474);if(!_0x2f9ec4)return void _0x4bbe12(null);const _0x17122d=_0x2f9ec4['getAttribute']('value')||'';if(void 0x0===_0x4bba8b)return;if(_0x4bba8b===_0x17122d)return;_0x33d148[_0x4066('0x9')](_0x2f9ec4,{'commandName':_0x4066('0xd'),'commandParams':[_0x4bba8b]}),_0x24d213[_0x4066('0x3')]()[_0x4066('0x12')](_0x4066('0x15'))[_0x4066('0x7')]();});}),_0x33d148['_descriptionFactory'][_0x4066('0x16')](_0x4f3e7d=>{const {data:_0x12b800}=_0x4f3e7d;if(_0x12b800&&'htmlEmbed'==_0x12b800[_0x4066('0x13')]){const _0x34ad07=_0x5b837c(_0x38e760,'ELEMENT_HTML_EMBED');return{'type':'format','content':_0x5b837c(_0x38e760,_0x4066('0xc'),_0x34ad07)};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3dcc=['length','fromPosition','isOwn','commands','document','uploadImage','commandReversedParams','change','caption','getAttribute','getSuggestions','getClosestSelectedImageElement','FORMAT_SIDE_IMAGE','alt','discard','registerDescriptionCallback','previous','nodeBefore','resizeImage','detach','convertBlockImageToInline','editor','forEach','get','isEqual','*Set\x20image\x20text\x20alternative:*\x20%0','getContainedElement','createRange','_suggestionFactory','getCaptionFromImageModelElement','convertInlineImageToBlock','removeObject','shouldConvertImageType','start','width','imageStylePostApply','isInContent','isInlineImage','getSuggestionCallback','has','find','ImageCaptionUtils','isBlockImage','toggleImageCaption','ImageTextAlternativeEditing','model','imageStyle','imageBlock','toLowerCase','registerElementLabel','forceDefaultExecution','hasAttribute','afterInit','enableCommand','markInsertion','*Format:*\x20%0','differ','imageTypeBlock','chain','imageStylePreApply','addObject','type','locale','ImageEditing','element','subType','plugins','newValue','filter','author','name','insertion','next','ImageResize','formatInline','commandName','markDeletion','registerCustomCallback','schema','getFirstRange','end','isBefore','_descriptionFactory','commandParams','ImageStyleEditing','getNearestSelectionRange','value','imageTypeInline','title','discardSuggestion','Block\x20image\x20to\x20inline\x20image','ImageBlockEditing','getSuggestion','join','head','selection','imageCaption','isCollapsed','createRangeOn','imageTextAlternative','formatBlock','imageInline','refresh','markBlockFormat','ImageUtils','accept','newRange','insertImage','format','hasSuggestion','ImageInlineEditing','*Set\x20image\x20width:*\x20%0','findIndex'];(function(_0x34cdb0,_0x3dcc4e){const _0x2f0273=function(_0x2fae82){while(--_0x2fae82){_0x34cdb0['push'](_0x34cdb0['shift']());}};_0x2f0273(++_0x3dcc4e);}(_0x3dcc,0x142));const _0x2f02=function(_0x34cdb0,_0x3dcc4e){_0x34cdb0=_0x34cdb0-0x0;let _0x2f0273=_0x3dcc[_0x34cdb0];return _0x2f0273;};import{Plugin as _0x4e8ca6}from'ckeditor5/src/core';import{LivePosition as _0x26f8b0}from'ckeditor5/src/engine';import{uid as _0x413bde}from'ckeditor5/src/utils';import{getTranslation as _0x2862e4}from'../utils/common-translations';export default class X extends _0x4e8ca6{[_0x2f02('0x45')](){const _0x3b538d=this[_0x2f02('0x26')];if(!_0x3b538d[_0x2f02('0x53')][_0x2f02('0x38')](_0x2f02('0x50')))return;const _0x95a6c3=_0x3b538d[_0x2f02('0x53')][_0x2f02('0x28')]('TrackChangesEditing'),_0x464098=_0x3b538d['plugins'][_0x2f02('0x28')](_0x2f02('0x8')),_0x1305ab={},_0x5e8acc=_0x3b538d[_0x2f02('0x4f')];if(_0x95a6c3[_0x2f02('0x46')](_0x2f02('0xb')),_0x95a6c3[_0x2f02('0x63')][_0x2f02('0x42')](_0x2f02('0x40'),_0xac0593=>_0x2862e4(_0x5e8acc,'ELEMENT_IMAGE',_0xac0593)),_0x95a6c3[_0x2f02('0x63')][_0x2f02('0x42')](_0x2f02('0x5'),_0x33a11a=>_0x2862e4(_0x5e8acc,'ELEMENT_INLINE_IMAGE',_0x33a11a)),_0x95a6c3[_0x2f02('0x63')]['registerElementLabel'](_0x2f02('0x19'),()=>_0x2862e4(_0x5e8acc,'ELEMENT_CAPTION')),_0x3b538d[_0x2f02('0x53')]['has']('ImageUploadEditing')&&_0x95a6c3[_0x2f02('0x46')](_0x2f02('0x16')),_0x3b538d['plugins'][_0x2f02('0x38')](_0x2f02('0x6c'))&&_0x3b538d[_0x2f02('0x53')][_0x2f02('0x38')](_0x2f02('0xe'))&&(_0x95a6c3[_0x2f02('0x46')]('imageTypeInline',(_0x30cb0c,_0x32e229)=>{const _0x5dc871=_0x464098[_0x2f02('0x1c')](_0x3b538d['model'][_0x2f02('0x15')][_0x2f02('0x70')]);_0x3b538d[_0x2f02('0x3e')][_0x2f02('0x18')](()=>{_0x95a6c3[_0x2f02('0x7')](_0x5dc871,{'commandName':_0x2f02('0x68'),'commandParams':[_0x32e229]},[],_0x2f02('0x25'));});}),_0x95a6c3[_0x2f02('0x46')](_0x2f02('0x4a'),(_0xdf0f01,_0x41885c)=>{_0x3b538d[_0x2f02('0x3e')][_0x2f02('0x18')](_0x54c75b=>{let _0xce8729=_0x464098['getClosestSelectedImageElement'](_0x3b538d[_0x2f02('0x3e')][_0x2f02('0x15')]['selection']),_0x4497e4=_0x54c75b[_0x2f02('0x2')](_0xce8729);const _0x1fb5dd=_0x26f8b0[_0x2f02('0x12')](_0x4497e4[_0x2f02('0x32')],'toPrevious'),_0x4b614c=_0x26f8b0[_0x2f02('0x12')](_0x4497e4[_0x2f02('0x61')],'toNext');_0x95a6c3[_0x2f02('0x43')](()=>_0xdf0f01(_0x41885c)),_0xce8729=_0x464098[_0x2f02('0x1c')](_0x3b538d[_0x2f02('0x3e')][_0x2f02('0x15')][_0x2f02('0x70')]),_0x4497e4=_0x54c75b['createRangeOn'](_0xce8729);const _0x16cb29=_0x54c75b[_0x2f02('0x2c')](_0x1fb5dd,_0x4b614c);_0x1fb5dd[_0x2f02('0x24')](),_0x4b614c[_0x2f02('0x24')](),_0x95a6c3[_0x2f02('0x7')](_0xce8729,{'commandName':_0x2f02('0x68'),'commandParams':[]},[],_0x2f02('0x2f')),_0x16cb29['start']['isBefore'](_0x4497e4[_0x2f02('0x32')])&&_0x95a6c3['markInsertion'](_0x54c75b[_0x2f02('0x2c')](_0x16cb29[_0x2f02('0x32')],_0x4497e4[_0x2f02('0x32')]),_0x2f02('0x2f')),_0x4497e4[_0x2f02('0x61')][_0x2f02('0x62')](_0x16cb29[_0x2f02('0x61')])&&_0x95a6c3['markInsertion'](_0x54c75b[_0x2f02('0x2c')](_0x4497e4[_0x2f02('0x61')],_0x16cb29[_0x2f02('0x61')]),_0x2f02('0x2f'));});}),_0x95a6c3[_0x2f02('0x2d')][_0x2f02('0x5e')](_0x2f02('0x4'),_0x2f02('0x2f'),_0x2f02('0x6e'),()=>{}),_0x95a6c3[_0x2f02('0x2d')][_0x2f02('0x5e')](_0x2f02('0x4'),'convertInlineImageToBlock','accept',()=>{}),_0x95a6c3[_0x2f02('0x2d')]['registerCustomCallback'](_0x2f02('0x4'),_0x2f02('0x2f'),_0x2f02('0x1f'),_0x95a6c3[_0x2f02('0x2d')][_0x2f02('0x37')](_0x2f02('0x4'),'',_0x2f02('0x9'))),_0x95a6c3[_0x2f02('0x2d')]['registerCustomCallback'](_0x2f02('0x58'),_0x2f02('0x2f'),_0x2f02('0x6e'),()=>{}),_0x95a6c3[_0x2f02('0x2d')][_0x2f02('0x5e')](_0x2f02('0x58'),_0x2f02('0x2f'),_0x2f02('0x1f'),([_0x59ca47])=>{const _0x267533=_0x95a6c3['_suggestionFactory']['getSuggestionCallback'](_0x2f02('0x58'),'','discard');let _0xf4466c=_0x59ca47[_0x2f02('0x32')],_0x39a506=_0x59ca47[_0x2f02('0x61')];const _0x2a132c=_0x3b538d['model']['schema'][_0x2f02('0x66')](_0xf4466c,'backward'),_0x4e6ffd=_0x3b538d['model'][_0x2f02('0x5f')][_0x2f02('0x66')](_0x39a506,'forward');_0x2a132c[_0x2f02('0x1')]&&(_0xf4466c=_0x2a132c[_0x2f02('0x32')]),_0x4e6ffd[_0x2f02('0x1')]&&(_0x39a506=_0x4e6ffd[_0x2f02('0x61')]),_0x267533([_0x3b538d[_0x2f02('0x3e')][_0x2f02('0x2c')](_0xf4466c,_0x39a506)]);}),_0x95a6c3[_0x2f02('0x2d')]['registerCustomCallback'](_0x2f02('0x4'),'convertInlineImageToBlock',_0x2f02('0x4b'),_0x527add),_0x95a6c3[_0x2f02('0x2d')]['registerCustomCallback'](_0x2f02('0x58'),_0x2f02('0x2f'),'chain',_0x527add)),_0x3b538d[_0x2f02('0x53')][_0x2f02('0x38')]('ImageCaptionEditing')&&(_0x95a6c3[_0x2f02('0x46')](_0x2f02('0x3c'),(_0x456061,_0x1cfcd3)=>{const _0x440cb1=_0x3b538d['plugins']['get'](_0x2f02('0x3a'));let _0x28da93=_0x464098[_0x2f02('0x1c')](_0x3b538d[_0x2f02('0x3e')][_0x2f02('0x15')]['selection']),_0x4c8938=_0x440cb1[_0x2f02('0x2e')](_0x28da93);_0x3b538d[_0x2f02('0x3e')][_0x2f02('0x18')](()=>{if(_0x4c8938)return void _0x95a6c3[_0x2f02('0x5d')](_0x3b538d['model']['createRangeOn'](_0x4c8938));const _0x2c0205=_0x464098['isBlockImage'](_0x28da93);_0x456061(_0x1cfcd3),_0x28da93=_0x464098[_0x2f02('0x1c')](_0x3b538d[_0x2f02('0x3e')][_0x2f02('0x15')][_0x2f02('0x70')]),_0x4c8938=_0x440cb1[_0x2f02('0x2e')](_0x28da93),_0x95a6c3[_0x2f02('0x47')](_0x3b538d[_0x2f02('0x3e')]['createRangeOn'](_0x4c8938),_0x2c0205?null:_0x2f02('0x0'));});}),_0x95a6c3[_0x2f02('0x2d')][_0x2f02('0x5e')](_0x2f02('0x58'),_0x2f02('0x0'),_0x2f02('0x4b'),_0x527add)),_0x3b538d[_0x2f02('0x53')][_0x2f02('0x38')](_0x2f02('0x65'))){_0x95a6c3['enableCommand'](_0x2f02('0x3f'),(_0x1b8f66,_0x2efaab)=>{const _0x14fc2c=_0x3b538d[_0x2f02('0x53')]['get']('Users')['me'],_0x2b8c8d=_0x3b538d['commands'][_0x2f02('0x28')]('imageStyle');let _0x13f58a=_0x464098['getClosestSelectedImageElement'](_0x3b538d[_0x2f02('0x3e')]['document'][_0x2f02('0x70')]),_0x15cf4e=_0x3b538d['model'][_0x2f02('0x2')](_0x13f58a),_0x31fc78=_0x2b8c8d['value'];if(_0x31fc78==_0x2efaab[_0x2f02('0x67')])return;const _0x5e13f9={'commandName':_0x2f02('0x3f'),'commandParams':[_0x2efaab],'formatGroupId':_0x413bde()};_0x3b538d[_0x2f02('0x3e')]['change'](()=>{if(_0x95a6c3[_0x2f02('0x1b')]()[_0x2f02('0x55')](_0x4d0ad9=>_0x4d0ad9[_0x2f02('0x35')]&&_0x14fc2c==_0x4d0ad9[_0x2f02('0x56')]&&(_0x2f02('0x4')==_0x4d0ad9[_0x2f02('0x4e')]||_0x2f02('0x5b')==_0x4d0ad9['type'])&&(_0x2f02('0x4c')==_0x4d0ad9[_0x2f02('0x52')]||_0x2f02('0x34')==_0x4d0ad9[_0x2f02('0x52')])&&_0x4d0ad9['getFirstRange']()[_0x2f02('0x29')](_0x15cf4e))[_0x2f02('0x27')](_0x452bcf=>_0x95a6c3[_0x2f02('0x6a')](_0x452bcf[_0x2f02('0x6f')])),_0x13f58a=_0x464098[_0x2f02('0x1c')](_0x3b538d[_0x2f02('0x3e')]['document'][_0x2f02('0x70')]),_0x15cf4e=_0x3b538d[_0x2f02('0x3e')][_0x2f02('0x2')](_0x13f58a),_0x2b8c8d[_0x2f02('0x6')](),_0x3b538d['commands'][_0x2f02('0x28')]('imageTypeInline')[_0x2f02('0x6')](),_0x3b538d[_0x2f02('0x14')][_0x2f02('0x28')](_0x2f02('0x4a'))[_0x2f02('0x6')](),_0x31fc78=_0x2b8c8d[_0x2f02('0x67')],_0x31fc78!=_0x2efaab[_0x2f02('0x67')])return _0x464098[_0x2f02('0x36')](_0x13f58a)&&_0x2b8c8d[_0x2f02('0x31')](_0x2efaab[_0x2f02('0x67')],_0x13f58a)?(_0x1b8f66(_0x2efaab),_0x13f58a=_0x464098[_0x2f02('0x1c')](_0x3b538d[_0x2f02('0x3e')]['document'][_0x2f02('0x70')]),void _0x95a6c3[_0x2f02('0x7')](_0x13f58a,{..._0x5e13f9,'commandReversedParams':[{'value':_0x31fc78||null}]},[],'imageStylePreApply')):void(_0x464098[_0x2f02('0x3b')](_0x13f58a)?_0x95a6c3[_0x2f02('0x7')](_0x13f58a,_0x5e13f9,[],'imageStylePostApply'):_0x95a6c3['markInlineFormat'](_0x15cf4e,_0x5e13f9,'imageStylePostApply'));});});for(const _0x4590bd of _0x3b538d['plugins'][_0x2f02('0x28')](_0x2f02('0x65'))['normalizedStyles'])_0x1305ab[_0x4590bd[_0x2f02('0x57')]]=_0x4590bd[_0x2f02('0x69')][_0x2f02('0x41')]();_0x95a6c3[_0x2f02('0x2d')]['registerCustomCallback']('formatBlock',_0x2f02('0x4c'),'join',()=>{}),_0x95a6c3[_0x2f02('0x2d')][_0x2f02('0x5e')](_0x2f02('0x4'),_0x2f02('0x34'),_0x2f02('0x6e'),()=>{}),_0x95a6c3[_0x2f02('0x2d')]['registerCustomCallback'](_0x2f02('0x5b'),_0x2f02('0x34'),_0x2f02('0x6e'),()=>{}),_0x95a6c3[_0x2f02('0x2d')][_0x2f02('0x5e')](_0x2f02('0x4'),'imageStylePreApply',_0x2f02('0x9'),()=>{}),_0x95a6c3[_0x2f02('0x2d')]['registerCustomCallback'](_0x2f02('0x4'),_0x2f02('0x4c'),_0x2f02('0x1f'),(_0x39176d,_0x4c24e2)=>{_0x95a6c3['_suggestionFactory']['getSuggestionCallback']('formatBlock','',_0x2f02('0x9'))(_0x39176d,{'commandName':_0x4c24e2[_0x2f02('0x5c')],'commandParams':_0x4c24e2[_0x2f02('0x17')]});}),_0x95a6c3[_0x2f02('0x2d')][_0x2f02('0x5e')](_0x2f02('0x4'),_0x2f02('0x4c'),_0x2f02('0x4b'),_0x527add);}const _0x22004a=[{'type':_0x2f02('0x4'),'subType':'imageStylePreApply'},{'type':_0x2f02('0x58'),'subType':_0x2f02('0x0')},{'type':_0x2f02('0x4'),'subType':_0x2f02('0x2f')},{'type':'insertion','subType':_0x2f02('0x2f')}];function _0x398779(_0x12b00a,_0x3de137){const _0x4dbc18=_0x22004a[_0x2f02('0x10')](({type:_0x41cd8d,subType:_0x5829f0})=>_0x12b00a[_0x2f02('0x4e')]==_0x41cd8d&&_0x12b00a[_0x2f02('0x52')]==_0x5829f0),_0x4f3ec7=_0x22004a[_0x2f02('0x10')](({type:_0x2cadd4,subType:_0x13078b})=>_0x3de137[_0x2f02('0x4e')]==_0x2cadd4&&_0x3de137[_0x2f02('0x52')]==_0x13078b);if(_0x4dbc18<0x0||_0x4f3ec7<0x0)return!0x1;const _0x527931=_0x12b00a['getFirstRange'](),_0x4b916f=_0x3de137[_0x2f02('0x60')]();if((0x0==_0x4dbc18||0x1==_0x4dbc18)&&0x2==_0x4f3ec7&&_0x527931['isIntersecting'](_0x4b916f))return!0x0;if(0x2==_0x4dbc18&&0x3==_0x4f3ec7){const _0x623228=_0x95a6c3['_findSuggestions'](_0x527931,_0x2f02('0x58'))['filter'](({suggestion:_0x397d48,meta:_0x4458c7})=>_0x4458c7[_0x2f02('0x13')]&&_0x2f02('0x2f')==_0x397d48[_0x2f02('0x52')]);if(_0x623228['length']>0x1&&_0x4b916f[_0x2f02('0x61')][_0x2f02('0x29')](_0x527931[_0x2f02('0x32')]))return!0x0;if(0x1==_0x623228[_0x2f02('0x11')]&&(_0x527931[_0x2f02('0x32')][_0x2f02('0x29')](_0x4b916f['end'])||_0x527931['end'][_0x2f02('0x29')](_0x4b916f[_0x2f02('0x32')])))return!0x0;}if(0x3==_0x4dbc18&&0x3==_0x4f3ec7&&_0x527931[_0x2f02('0x32')][_0x2f02('0x62')](_0x4b916f['start'])){const _0x4102ce=_0x527931[_0x2f02('0x61')]['nodeAfter'],_0x20e381=_0x4b916f['start'][_0x2f02('0x22')];return _0x464098[_0x2f02('0x3b')](_0x4102ce)&&_0x4102ce===_0x20e381;}return!0x1;}function _0x527add(_0xfde0d4,_0x52d739){return _0x398779(_0xfde0d4,_0x52d739)?[_0xfde0d4,_0x52d739]:_0x398779(_0x52d739,_0xfde0d4)?[_0x52d739,_0xfde0d4]:null;}_0x3b538d[_0x2f02('0x3e')][_0x2f02('0x15')]['registerPostFixer'](()=>{let _0x1ff4a1=!0x1;const _0x303397=Array['from'](_0x3b538d[_0x2f02('0x3e')][_0x2f02('0x15')][_0x2f02('0x49')]['getChangedMarkers']());for(const {name:_0x2f1c23,data:_0xbe0595}of _0x303397){const {group:_0x1f84ad,type:_0x1fe2e6,subType:_0x5bc37c,id:_0xcc150a}=_0x95a6c3['_splitMarkerName'](_0x2f1c23);if('suggestion'==_0x1f84ad&&_0x95a6c3[_0x2f02('0xd')](_0xcc150a)){if(_0x2f02('0x4')==_0x1fe2e6&&(_0x2f02('0x4c')==_0x5bc37c||_0x2f02('0x34')==_0x5bc37c)){const _0x3f33b9=_0x95a6c3[_0x2f02('0x6d')](_0xcc150a);if(_0xbe0595['newRange']){const _0x22a857=_0x3f33b9['getFirstRange']()['getContainedElement']();if(_0x464098[_0x2f02('0x3b')](_0x22a857))continue;_0x95a6c3[_0x2f02('0x6a')](_0x3f33b9),_0x1ff4a1=!0x0;}}if(_0x2f02('0x58')==_0x1fe2e6&&_0x2f02('0x0')==_0x5bc37c&&!_0xbe0595[_0x2f02('0xa')]){const _0xdbf39b=_0x95a6c3[_0x2f02('0x6d')](_0xcc150a);_0xdbf39b[_0x2f02('0x59')]&&_0xdbf39b['next'][_0x2f02('0x35')]&&(_0x95a6c3['discardSuggestion'](_0xdbf39b[_0x2f02('0x59')]),_0x1ff4a1=!0x0);}}}return _0x1ff4a1;}),_0x3b538d['plugins'][_0x2f02('0x38')](_0x2f02('0x5a'))&&_0x95a6c3[_0x2f02('0x46')](_0x2f02('0x23'),(_0x258e60,_0x33d7d1)=>{const _0x578602=_0x464098[_0x2f02('0x1c')](_0x3b538d[_0x2f02('0x3e')]['document'][_0x2f02('0x70')]);_0x578602['getAttribute'](_0x2f02('0x33'))!=_0x33d7d1[_0x2f02('0x33')]&&_0x3b538d[_0x2f02('0x3e')][_0x2f02('0x18')](()=>{_0x95a6c3[_0x2f02('0x7')](_0x578602,{'commandName':_0x2f02('0x23'),'commandParams':[_0x33d7d1]});});}),_0x3b538d[_0x2f02('0x53')][_0x2f02('0x38')](_0x2f02('0x3d'))&&_0x95a6c3['enableCommand'](_0x2f02('0x3'),(_0xdd39ca,_0x19f87a)=>{const _0x17e100=_0x464098[_0x2f02('0x1c')](_0x3b538d[_0x2f02('0x3e')]['document']['selection']);(_0x17e100[_0x2f02('0x44')](_0x2f02('0x1e'))?_0x17e100[_0x2f02('0x1a')](_0x2f02('0x1e')):'')!=_0x19f87a[_0x2f02('0x54')]&&_0x3b538d[_0x2f02('0x3e')][_0x2f02('0x18')](()=>{_0x95a6c3[_0x2f02('0x7')](_0x17e100,{'commandName':'imageTextAlternative','commandParams':[_0x19f87a]});});}),_0x95a6c3['_descriptionFactory'][_0x2f02('0x20')](_0x49d73d=>{if(!!_0x22004a[_0x2f02('0x39')](({type:_0x58fe45,subType:_0x32d654})=>_0x49d73d['type']==_0x58fe45&&_0x49d73d[_0x2f02('0x52')]==_0x32d654))return _0x49d73d[_0x2f02('0x21')]?{}:void 0x0;}),_0x95a6c3[_0x2f02('0x63')][_0x2f02('0x20')](_0x5601da=>{if('insertion'==_0x5601da[_0x2f02('0x4e')]||'deletion'==_0x5601da[_0x2f02('0x4e')]){const _0x5587b3=_0x5601da[_0x2f02('0x2b')]();if(_0x5587b3&&_0x5587b3['is'](_0x2f02('0x51'),_0x2f02('0x19')))return{'type':_0x2f02('0x58')==_0x5601da[_0x2f02('0x4e')]?_0x2f02('0x4d'):_0x2f02('0x30'),'element':_0x5587b3,'quantity':0x1};}}),_0x95a6c3[_0x2f02('0x63')]['registerDescriptionCallback'](_0x1264f9=>_0x2f02('0x4')==_0x1264f9['type']&&'convertInlineImageToBlock'==_0x1264f9[_0x2f02('0x52')]?{'type':_0x2f02('0xc'),'content':'Inline\x20image\x20to\x20block\x20image'}:_0x2f02('0x4')==_0x1264f9['type']&&_0x2f02('0x25')==_0x1264f9[_0x2f02('0x52')]?{'type':_0x2f02('0xc'),'content':_0x2f02('0x6b')}:void 0x0),_0x95a6c3[_0x2f02('0x63')][_0x2f02('0x20')](_0x25dd47=>{const {data:_0x4b115a}=_0x25dd47;if(_0x4b115a){if(_0x2f02('0x3f')==_0x4b115a[_0x2f02('0x5c')]){const _0x327d6c=_0x4b115a[_0x2f02('0x64')][0x0]['value'];return _0x2a46d0('side'===_0x327d6c?_0x2862e4(_0x5e8acc,_0x2f02('0x1d')):_0x1305ab[_0x327d6c]||_0x327d6c);}if('imageTextAlternative'==_0x4b115a[_0x2f02('0x5c')]){const _0x42ba70=_0x4b115a[_0x2f02('0x64')][0x0][_0x2f02('0x54')];return _0x42ba70?{'type':_0x2f02('0xc'),'content':_0x2862e4(_0x5e8acc,_0x2f02('0x2a'),'\x22'+_0x42ba70+'\x22')}:{'type':_0x2f02('0xc'),'content':_0x2862e4(_0x5e8acc,'*Remove\x20image\x20text\x20alternative*')};}if('resizeImage'==_0x4b115a[_0x2f02('0x5c')]){const _0x44e3a6=_0x4b115a[_0x2f02('0x64')][0x0][_0x2f02('0x33')];return _0x44e3a6?{'type':_0x2f02('0xc'),'content':_0x2862e4(_0x5e8acc,_0x2f02('0xf'),_0x44e3a6)}:{'type':_0x2f02('0xc'),'content':_0x2862e4(_0x5e8acc,'*Reset\x20image\x20width*')};}}function _0x2a46d0(_0x208259){return{'type':'format','content':_0x2862e4(_0x5e8acc,_0x2f02('0x48'),_0x208259)};}});}}
23
+ const _0x467e=['toPrevious','markInsertion','ELEMENT_CAPTION','formatInline','insertImage','commands','toLowerCase','format','ImageTextAlternativeEditing','author','_splitMarkerName','detach','removeObject','convertInlineImageToBlock','formatBlock','Block\x20image\x20to\x20inline\x20image','*Remove\x20image\x20text\x20alternative*','newRange','getCaptionFromImageModelElement','normalizedStyles','alt','nodeBefore','imageStylePostApply','isBlockImage','ImageStyleEditing','resizeImage','next','model','*Format:*\x20%0','createRange','newValue','registerPostFixer','nodeAfter','ELEMENT_INLINE_IMAGE','ELEMENT_IMAGE','title','join','type','_findSuggestions','imageCaption','previous','imageInline','*Reset\x20image\x20width*','imageTextAlternative','imageTypeBlock','discardSuggestion','fromPosition','markInlineFormat','*Set\x20image\x20width:*\x20%0','getClosestSelectedImageElement','refresh','uploadImage','imageTypeInline','end','getFirstRange','subType','registerCustomCallback','*Set\x20image\x20text\x20alternative:*\x20%0','getContainedElement','commandReversedParams','chain','plugins','backward','ImageUtils','hasSuggestion','getSuggestion','addObject','isEqual','discard','from','ImageUploadEditing','imageStyle','deletion','ImageEditing','markDeletion','getSuggestions','width','isInContent','start','editor','forward','name','differ','FORMAT_SIDE_IMAGE','ImageInlineEditing','getAttribute','ImageResize','document','_suggestionFactory','getNearestSelectionRange','has','caption','isBefore','imageStylePreApply','get','value','filter','_descriptionFactory','isInlineImage','registerElementLabel','find','enableCommand','markBlockFormat','length','createRangeOn','commandName','insertion','isIntersecting','ImageBlockEditing','commandParams','suggestion','accept','getSuggestionCallback','ImageCaptionUtils','isCollapsed','registerDescriptionCallback','selection','schema','change','locale'];(function(_0x43f39f,_0x467e81){const _0x23139b=function(_0x4337f9){while(--_0x4337f9){_0x43f39f['push'](_0x43f39f['shift']());}};_0x23139b(++_0x467e81);}(_0x467e,0x181));const _0x2313=function(_0x43f39f,_0x467e81){_0x43f39f=_0x43f39f-0x0;let _0x23139b=_0x467e[_0x43f39f];return _0x23139b;};import{Plugin as _0x22a5ab}from'ckeditor5/src/core';import{LivePosition as _0x1ea484}from'ckeditor5/src/engine';import{uid as _0x47b8cc}from'ckeditor5/src/utils';import{getTranslation as _0x3e351a}from'../utils/common-translations';export default class X extends _0x22a5ab{['afterInit'](){const _0x37d913=this[_0x2313('0x36')];if(!_0x37d913[_0x2313('0x24')]['has'](_0x2313('0x30')))return;const _0x1990ac=_0x37d913[_0x2313('0x24')][_0x2313('0x45')]('TrackChangesEditing'),_0x35e7b9=_0x37d913['plugins']['get'](_0x2313('0x26')),_0x31fbf9={},_0x11dc75=_0x37d913[_0x2313('0x5e')];if(_0x1990ac[_0x2313('0x4c')](_0x2313('0x63')),_0x1990ac[_0x2313('0x48')][_0x2313('0x4a')]('imageBlock',_0x4fe34a=>_0x3e351a(_0x11dc75,_0x2313('0x9'),_0x4fe34a)),_0x1990ac[_0x2313('0x48')][_0x2313('0x4a')](_0x2313('0x10'),_0x20ccd8=>_0x3e351a(_0x11dc75,_0x2313('0x8'),_0x20ccd8)),_0x1990ac[_0x2313('0x48')][_0x2313('0x4a')]('caption',()=>_0x3e351a(_0x11dc75,_0x2313('0x61'))),_0x37d913[_0x2313('0x24')][_0x2313('0x41')](_0x2313('0x2d'))&&_0x1990ac['enableCommand'](_0x2313('0x1a')),_0x37d913[_0x2313('0x24')]['has'](_0x2313('0x53'))&&_0x37d913[_0x2313('0x24')][_0x2313('0x41')](_0x2313('0x3b'))&&(_0x1990ac[_0x2313('0x4c')](_0x2313('0x1b'),(_0x34f735,_0x20f1af)=>{const _0x2726b7=_0x35e7b9[_0x2313('0x18')](_0x37d913['model'][_0x2313('0x3e')][_0x2313('0x5b')]);_0x37d913[_0x2313('0x2')][_0x2313('0x5d')](()=>{_0x1990ac[_0x2313('0x4d')](_0x2726b7,{'commandName':_0x2313('0x1b'),'commandParams':[_0x20f1af]},[],'convertBlockImageToInline');});}),_0x1990ac[_0x2313('0x4c')]('imageTypeBlock',(_0x5b32bd,_0x40a945)=>{_0x37d913[_0x2313('0x2')][_0x2313('0x5d')](_0x263791=>{let _0x1fcbfb=_0x35e7b9['getClosestSelectedImageElement'](_0x37d913['model']['document'][_0x2313('0x5b')]),_0x326f41=_0x263791[_0x2313('0x4f')](_0x1fcbfb);const _0x47c0fd=_0x1ea484[_0x2313('0x15')](_0x326f41[_0x2313('0x35')],_0x2313('0x5f')),_0x5ea302=_0x1ea484[_0x2313('0x15')](_0x326f41['end'],'toNext');_0x1990ac['forceDefaultExecution'](()=>_0x5b32bd(_0x40a945)),_0x1fcbfb=_0x35e7b9[_0x2313('0x18')](_0x37d913['model'][_0x2313('0x3e')][_0x2313('0x5b')]),_0x326f41=_0x263791[_0x2313('0x4f')](_0x1fcbfb);const _0x183e86=_0x263791[_0x2313('0x4')](_0x47c0fd,_0x5ea302);_0x47c0fd[_0x2313('0x6a')](),_0x5ea302[_0x2313('0x6a')](),_0x1990ac[_0x2313('0x4d')](_0x1fcbfb,{'commandName':'imageTypeInline','commandParams':[]},[],_0x2313('0x6c')),_0x183e86[_0x2313('0x35')][_0x2313('0x43')](_0x326f41['start'])&&_0x1990ac[_0x2313('0x60')](_0x263791[_0x2313('0x4')](_0x183e86[_0x2313('0x35')],_0x326f41[_0x2313('0x35')]),_0x2313('0x6c')),_0x326f41['end'][_0x2313('0x43')](_0x183e86[_0x2313('0x1c')])&&_0x1990ac[_0x2313('0x60')](_0x263791[_0x2313('0x4')](_0x326f41[_0x2313('0x1c')],_0x183e86[_0x2313('0x1c')]),_0x2313('0x6c'));});}),_0x1990ac[_0x2313('0x3f')][_0x2313('0x1f')](_0x2313('0x6d'),_0x2313('0x6c'),'join',()=>{}),_0x1990ac[_0x2313('0x3f')][_0x2313('0x1f')](_0x2313('0x6d'),_0x2313('0x6c'),_0x2313('0x56'),()=>{}),_0x1990ac[_0x2313('0x3f')][_0x2313('0x1f')]('formatBlock',_0x2313('0x6c'),_0x2313('0x2b'),_0x1990ac[_0x2313('0x3f')][_0x2313('0x57')](_0x2313('0x6d'),'',_0x2313('0x56'))),_0x1990ac['_suggestionFactory']['registerCustomCallback'](_0x2313('0x51'),_0x2313('0x6c'),_0x2313('0xb'),()=>{}),_0x1990ac[_0x2313('0x3f')][_0x2313('0x1f')]('insertion','convertInlineImageToBlock','discard',([_0x4d0303])=>{const _0x11f99f=_0x1990ac[_0x2313('0x3f')][_0x2313('0x57')](_0x2313('0x51'),'','discard');let _0x5ccc1e=_0x4d0303['start'],_0x2ac76f=_0x4d0303['end'];const _0x3da566=_0x37d913[_0x2313('0x2')][_0x2313('0x5c')][_0x2313('0x40')](_0x5ccc1e,_0x2313('0x25')),_0x1c6893=_0x37d913[_0x2313('0x2')]['schema'][_0x2313('0x40')](_0x2ac76f,_0x2313('0x37'));_0x3da566[_0x2313('0x59')]&&(_0x5ccc1e=_0x3da566[_0x2313('0x35')]),_0x1c6893['isCollapsed']&&(_0x2ac76f=_0x1c6893['end']),_0x11f99f([_0x37d913[_0x2313('0x2')][_0x2313('0x4')](_0x5ccc1e,_0x2ac76f)]);}),_0x1990ac[_0x2313('0x3f')][_0x2313('0x1f')](_0x2313('0x6d'),_0x2313('0x6c'),_0x2313('0x23'),_0x41df1e),_0x1990ac[_0x2313('0x3f')][_0x2313('0x1f')]('insertion','convertInlineImageToBlock','chain',_0x41df1e)),_0x37d913[_0x2313('0x24')]['has']('ImageCaptionEditing')&&(_0x1990ac[_0x2313('0x4c')]('toggleImageCaption',(_0x2b330a,_0x6b4d8e)=>{const _0x457385=_0x37d913['plugins'][_0x2313('0x45')](_0x2313('0x58'));let _0x572f4b=_0x35e7b9['getClosestSelectedImageElement'](_0x37d913['model']['document'][_0x2313('0x5b')]),_0x28b4cb=_0x457385['getCaptionFromImageModelElement'](_0x572f4b);_0x37d913[_0x2313('0x2')][_0x2313('0x5d')](()=>{if(_0x28b4cb)return void _0x1990ac[_0x2313('0x31')](_0x37d913[_0x2313('0x2')][_0x2313('0x4f')](_0x28b4cb));const _0x38bca4=_0x35e7b9[_0x2313('0x76')](_0x572f4b);_0x2b330a(_0x6b4d8e),_0x572f4b=_0x35e7b9[_0x2313('0x18')](_0x37d913[_0x2313('0x2')][_0x2313('0x3e')][_0x2313('0x5b')]),_0x28b4cb=_0x457385[_0x2313('0x71')](_0x572f4b),_0x1990ac[_0x2313('0x60')](_0x37d913['model']['createRangeOn'](_0x28b4cb),_0x38bca4?null:_0x2313('0xe'));});}),_0x1990ac[_0x2313('0x3f')][_0x2313('0x1f')](_0x2313('0x51'),_0x2313('0xe'),_0x2313('0x23'),_0x41df1e)),_0x37d913[_0x2313('0x24')][_0x2313('0x41')](_0x2313('0x77'))){_0x1990ac[_0x2313('0x4c')]('imageStyle',(_0xb2868,_0x5fe78a)=>{const _0x33a6ae=_0x37d913['plugins'][_0x2313('0x45')]('Users')['me'],_0x332cf3=_0x37d913[_0x2313('0x64')]['get'](_0x2313('0x2e'));let _0x26238c=_0x35e7b9['getClosestSelectedImageElement'](_0x37d913['model'][_0x2313('0x3e')][_0x2313('0x5b')]),_0x5b29ba=_0x37d913[_0x2313('0x2')][_0x2313('0x4f')](_0x26238c),_0xb17e08=_0x332cf3['value'];if(_0xb17e08==_0x5fe78a[_0x2313('0x46')])return;const _0x19546c={'commandName':_0x2313('0x2e'),'commandParams':[_0x5fe78a],'formatGroupId':_0x47b8cc()};_0x37d913[_0x2313('0x2')]['change'](()=>{if(_0x1990ac[_0x2313('0x32')]()[_0x2313('0x47')](_0x3b4f1c=>_0x3b4f1c['isInContent']&&_0x33a6ae==_0x3b4f1c[_0x2313('0x68')]&&('formatBlock'==_0x3b4f1c['type']||_0x2313('0x62')==_0x3b4f1c['type'])&&(_0x2313('0x44')==_0x3b4f1c[_0x2313('0x1e')]||_0x2313('0x75')==_0x3b4f1c[_0x2313('0x1e')])&&_0x3b4f1c['getFirstRange']()['isEqual'](_0x5b29ba))['forEach'](_0x263fc0=>_0x1990ac[_0x2313('0x14')](_0x263fc0['head'])),_0x26238c=_0x35e7b9['getClosestSelectedImageElement'](_0x37d913['model'][_0x2313('0x3e')][_0x2313('0x5b')]),_0x5b29ba=_0x37d913[_0x2313('0x2')]['createRangeOn'](_0x26238c),_0x332cf3['refresh'](),_0x37d913['commands']['get']('imageTypeInline')[_0x2313('0x19')](),_0x37d913[_0x2313('0x64')][_0x2313('0x45')](_0x2313('0x13'))[_0x2313('0x19')](),_0xb17e08=_0x332cf3[_0x2313('0x46')],_0xb17e08!=_0x5fe78a[_0x2313('0x46')])return _0x35e7b9[_0x2313('0x49')](_0x26238c)&&_0x332cf3['shouldConvertImageType'](_0x5fe78a[_0x2313('0x46')],_0x26238c)?(_0xb2868(_0x5fe78a),_0x26238c=_0x35e7b9[_0x2313('0x18')](_0x37d913[_0x2313('0x2')]['document'][_0x2313('0x5b')]),void _0x1990ac[_0x2313('0x4d')](_0x26238c,{..._0x19546c,'commandReversedParams':[{'value':_0xb17e08||null}]},[],_0x2313('0x44'))):void(_0x35e7b9[_0x2313('0x76')](_0x26238c)?_0x1990ac['markBlockFormat'](_0x26238c,_0x19546c,[],_0x2313('0x75')):_0x1990ac[_0x2313('0x16')](_0x5b29ba,_0x19546c,_0x2313('0x75')));});});for(const _0x2388f1 of _0x37d913[_0x2313('0x24')][_0x2313('0x45')](_0x2313('0x77'))[_0x2313('0x72')])_0x31fbf9[_0x2388f1[_0x2313('0x38')]]=_0x2388f1[_0x2313('0xa')][_0x2313('0x65')]();_0x1990ac[_0x2313('0x3f')]['registerCustomCallback'](_0x2313('0x6d'),_0x2313('0x44'),'join',()=>{}),_0x1990ac[_0x2313('0x3f')]['registerCustomCallback'](_0x2313('0x6d'),'imageStylePostApply',_0x2313('0xb'),()=>{}),_0x1990ac[_0x2313('0x3f')][_0x2313('0x1f')](_0x2313('0x62'),'imageStylePostApply',_0x2313('0xb'),()=>{}),_0x1990ac['_suggestionFactory'][_0x2313('0x1f')](_0x2313('0x6d'),_0x2313('0x44'),'accept',()=>{}),_0x1990ac[_0x2313('0x3f')]['registerCustomCallback']('formatBlock',_0x2313('0x44'),'discard',(_0x152787,_0x411ec3)=>{_0x1990ac[_0x2313('0x3f')]['getSuggestionCallback'](_0x2313('0x6d'),'',_0x2313('0x56'))(_0x152787,{'commandName':_0x411ec3[_0x2313('0x50')],'commandParams':_0x411ec3[_0x2313('0x22')]});}),_0x1990ac[_0x2313('0x3f')][_0x2313('0x1f')](_0x2313('0x6d'),'imageStylePreApply',_0x2313('0x23'),_0x41df1e);}const _0x26bc7c=[{'type':_0x2313('0x6d'),'subType':_0x2313('0x44')},{'type':_0x2313('0x51'),'subType':_0x2313('0xe')},{'type':_0x2313('0x6d'),'subType':_0x2313('0x6c')},{'type':_0x2313('0x51'),'subType':_0x2313('0x6c')}];function _0x5ab100(_0x3e9c5c,_0x15e47a){const _0x13b681=_0x26bc7c['findIndex'](({type:_0xd436f1,subType:_0x5466c6})=>_0x3e9c5c[_0x2313('0xc')]==_0xd436f1&&_0x3e9c5c[_0x2313('0x1e')]==_0x5466c6),_0x49454c=_0x26bc7c['findIndex'](({type:_0x296038,subType:_0x5a2118})=>_0x15e47a[_0x2313('0xc')]==_0x296038&&_0x15e47a[_0x2313('0x1e')]==_0x5a2118);if(_0x13b681<0x0||_0x49454c<0x0)return!0x1;const _0x4ce204=_0x3e9c5c[_0x2313('0x1d')](),_0x2467e2=_0x15e47a[_0x2313('0x1d')]();if((0x0==_0x13b681||0x1==_0x13b681)&&0x2==_0x49454c&&_0x4ce204[_0x2313('0x52')](_0x2467e2))return!0x0;if(0x2==_0x13b681&&0x3==_0x49454c){const _0x12f000=_0x1990ac[_0x2313('0xd')](_0x4ce204,'insertion')[_0x2313('0x47')](({suggestion:_0x2fe9b3,meta:_0x1ee40f})=>_0x1ee40f['isOwn']&&'convertInlineImageToBlock'==_0x2fe9b3[_0x2313('0x1e')]);if(_0x12f000[_0x2313('0x4e')]>0x1&&_0x2467e2[_0x2313('0x1c')][_0x2313('0x2a')](_0x4ce204[_0x2313('0x35')]))return!0x0;if(0x1==_0x12f000[_0x2313('0x4e')]&&(_0x4ce204['start'][_0x2313('0x2a')](_0x2467e2['end'])||_0x4ce204['end'][_0x2313('0x2a')](_0x2467e2[_0x2313('0x35')])))return!0x0;}if(0x3==_0x13b681&&0x3==_0x49454c&&_0x4ce204['start'][_0x2313('0x43')](_0x2467e2[_0x2313('0x35')])){const _0x54e99d=_0x4ce204['end'][_0x2313('0x7')],_0x18a555=_0x2467e2[_0x2313('0x35')][_0x2313('0x74')];return _0x35e7b9[_0x2313('0x76')](_0x54e99d)&&_0x54e99d===_0x18a555;}return!0x1;}function _0x41df1e(_0x1cf6d8,_0x596b6c){return _0x5ab100(_0x1cf6d8,_0x596b6c)?[_0x1cf6d8,_0x596b6c]:_0x5ab100(_0x596b6c,_0x1cf6d8)?[_0x596b6c,_0x1cf6d8]:null;}_0x37d913[_0x2313('0x2')][_0x2313('0x3e')][_0x2313('0x6')](()=>{let _0x22a55b=!0x1;const _0x4f6492=Array[_0x2313('0x2c')](_0x37d913[_0x2313('0x2')][_0x2313('0x3e')][_0x2313('0x39')]['getChangedMarkers']());for(const {name:_0x390c69,data:_0x28e20f}of _0x4f6492){const {group:_0x4de02a,type:_0x1e4f1f,subType:_0xa0ed62,id:_0x4b24ea}=_0x1990ac[_0x2313('0x69')](_0x390c69);if(_0x2313('0x55')==_0x4de02a&&_0x1990ac[_0x2313('0x27')](_0x4b24ea)){if(_0x2313('0x6d')==_0x1e4f1f&&(_0x2313('0x44')==_0xa0ed62||_0x2313('0x75')==_0xa0ed62)){const _0x6e0599=_0x1990ac[_0x2313('0x28')](_0x4b24ea);if(_0x28e20f['newRange']){const _0x28c2ba=_0x6e0599[_0x2313('0x1d')]()['getContainedElement']();if(_0x35e7b9[_0x2313('0x76')](_0x28c2ba))continue;_0x1990ac[_0x2313('0x14')](_0x6e0599),_0x22a55b=!0x0;}}if(_0x2313('0x51')==_0x1e4f1f&&'imageCaption'==_0xa0ed62&&!_0x28e20f[_0x2313('0x70')]){const _0x49e13d=_0x1990ac[_0x2313('0x28')](_0x4b24ea);_0x49e13d['next']&&_0x49e13d[_0x2313('0x1')][_0x2313('0x34')]&&(_0x1990ac[_0x2313('0x14')](_0x49e13d[_0x2313('0x1')]),_0x22a55b=!0x0);}}}return _0x22a55b;}),_0x37d913[_0x2313('0x24')][_0x2313('0x41')](_0x2313('0x3d'))&&_0x1990ac[_0x2313('0x4c')](_0x2313('0x0'),(_0x204b81,_0x322f05)=>{const _0x3d6b61=_0x35e7b9['getClosestSelectedImageElement'](_0x37d913[_0x2313('0x2')][_0x2313('0x3e')][_0x2313('0x5b')]);_0x3d6b61[_0x2313('0x3c')](_0x2313('0x33'))!=_0x322f05[_0x2313('0x33')]&&_0x37d913[_0x2313('0x2')][_0x2313('0x5d')](()=>{_0x1990ac[_0x2313('0x4d')](_0x3d6b61,{'commandName':'resizeImage','commandParams':[_0x322f05]});});}),_0x37d913[_0x2313('0x24')][_0x2313('0x41')](_0x2313('0x67'))&&_0x1990ac[_0x2313('0x4c')]('imageTextAlternative',(_0x4eb507,_0x2cd17c)=>{const _0x8c4ee6=_0x35e7b9[_0x2313('0x18')](_0x37d913[_0x2313('0x2')]['document'][_0x2313('0x5b')]);(_0x8c4ee6['hasAttribute']('alt')?_0x8c4ee6[_0x2313('0x3c')](_0x2313('0x73')):'')!=_0x2cd17c[_0x2313('0x5')]&&_0x37d913[_0x2313('0x2')][_0x2313('0x5d')](()=>{_0x1990ac[_0x2313('0x4d')](_0x8c4ee6,{'commandName':_0x2313('0x12'),'commandParams':[_0x2cd17c]});});}),_0x1990ac[_0x2313('0x48')][_0x2313('0x5a')](_0x2d51f3=>{if(!!_0x26bc7c[_0x2313('0x4b')](({type:_0x7baedf,subType:_0x427322})=>_0x2d51f3[_0x2313('0xc')]==_0x7baedf&&_0x2d51f3[_0x2313('0x1e')]==_0x427322))return _0x2d51f3[_0x2313('0xf')]?{}:void 0x0;}),_0x1990ac[_0x2313('0x48')][_0x2313('0x5a')](_0xb2a4ae=>{if(_0x2313('0x51')==_0xb2a4ae['type']||_0x2313('0x2f')==_0xb2a4ae[_0x2313('0xc')]){const _0x694413=_0xb2a4ae[_0x2313('0x21')]();if(_0x694413&&_0x694413['is']('element',_0x2313('0x42')))return{'type':_0x2313('0x51')==_0xb2a4ae['type']?_0x2313('0x29'):_0x2313('0x6b'),'element':_0x694413,'quantity':0x1};}}),_0x1990ac['_descriptionFactory'][_0x2313('0x5a')](_0x28d1a8=>_0x2313('0x6d')==_0x28d1a8[_0x2313('0xc')]&&_0x2313('0x6c')==_0x28d1a8[_0x2313('0x1e')]?{'type':'format','content':'Inline\x20image\x20to\x20block\x20image'}:_0x2313('0x6d')==_0x28d1a8[_0x2313('0xc')]&&'convertBlockImageToInline'==_0x28d1a8[_0x2313('0x1e')]?{'type':_0x2313('0x66'),'content':_0x2313('0x6e')}:void 0x0),_0x1990ac[_0x2313('0x48')][_0x2313('0x5a')](_0x84fbaa=>{const {data:_0x20c000}=_0x84fbaa;if(_0x20c000){if('imageStyle'==_0x20c000['commandName']){const _0x47e743=_0x20c000[_0x2313('0x54')][0x0]['value'];return _0x1f5c0a('side'===_0x47e743?_0x3e351a(_0x11dc75,_0x2313('0x3a')):_0x31fbf9[_0x47e743]||_0x47e743);}if(_0x2313('0x12')==_0x20c000[_0x2313('0x50')]){const _0x7c62ff=_0x20c000[_0x2313('0x54')][0x0][_0x2313('0x5')];return _0x7c62ff?{'type':_0x2313('0x66'),'content':_0x3e351a(_0x11dc75,_0x2313('0x20'),'\x22'+_0x7c62ff+'\x22')}:{'type':_0x2313('0x66'),'content':_0x3e351a(_0x11dc75,_0x2313('0x6f'))};}if(_0x2313('0x0')==_0x20c000[_0x2313('0x50')]){const _0x23c604=_0x20c000[_0x2313('0x54')][0x0][_0x2313('0x33')];return _0x23c604?{'type':_0x2313('0x66'),'content':_0x3e351a(_0x11dc75,_0x2313('0x17'),_0x23c604)}:{'type':_0x2313('0x66'),'content':_0x3e351a(_0x11dc75,_0x2313('0x11'))};}}function _0x1f5c0a(_0x22aae8){return{'type':_0x2313('0x66'),'content':_0x3e351a(_0x11dc75,_0x2313('0x3'),_0x22aae8)};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1cb7=['registerCustomCallback','_suggestionFactory','Users','discard','model','has','getSelectedElement','getSuggestionCallback','markBlockFormat','document','commandParams','getContainedElement','plugins','get','registerDescriptionCallback','ImageEditing','source','change','handleReplaceImageCommand','formatBlock','TrackChangesEditing','selection','handleSuggestionDescription','afterInit','_descriptionFactory','subType','editor','accept','src','commandName','replaceImageSource'];(function(_0x4d318c,_0x1cb737){const _0x5bda8f=function(_0xe9ed0f){while(--_0xe9ed0f){_0x4d318c['push'](_0x4d318c['shift']());}};_0x5bda8f(++_0x1cb737);}(_0x1cb7,0x1a8));const _0x5bda=function(_0x4d318c,_0x1cb737){_0x4d318c=_0x4d318c-0x0;let _0x5bda8f=_0x1cb7[_0x4d318c];return _0x5bda8f;};import{Plugin as _0x7e3bcd}from'ckeditor5/src/core';import{getTranslation as _0x1b1d85}from'../utils/common-translations';export default class Y extends _0x7e3bcd{[_0x5bda('0x2')](){if(!this['editor'][_0x5bda('0x16')][_0x5bda('0xf')](_0x5bda('0x19')))return;const _0x4003f5=this[_0x5bda('0x5')][_0x5bda('0x16')][_0x5bda('0x17')](_0x5bda('0x1e'));_0x4003f5['enableCommand']('replaceImageSource',(_0x323729,_0x1133e6)=>this[_0x5bda('0x1c')](_0x323729,_0x1133e6)),_0x4003f5[_0x5bda('0xb')][_0x5bda('0xa')]('formatBlock',_0x5bda('0x9'),_0x5bda('0x6'),_0x4003f5[_0x5bda('0xb')][_0x5bda('0x11')](_0x5bda('0x1d'),null,_0x5bda('0xd'))),_0x4003f5[_0x5bda('0xb')][_0x5bda('0xa')]('formatBlock','replaceImageSource',_0x5bda('0xd'),_0x4003f5['_suggestionFactory']['getSuggestionCallback'](_0x5bda('0x1d'),null,'accept')),_0x4003f5[_0x5bda('0x3')][_0x5bda('0x18')](_0x57a9a4=>this[_0x5bda('0x1')](_0x57a9a4));}[_0x5bda('0x1c')](_0x18ff3b,_0x42b6d4){const _0x59e1fd=this['editor'][_0x5bda('0x16')][_0x5bda('0x17')]('TrackChangesEditing'),_0x317eb1=this[_0x5bda('0x5')][_0x5bda('0xe')][_0x5bda('0x13')][_0x5bda('0x0')][_0x5bda('0x10')]();this[_0x5bda('0x5')][_0x5bda('0xe')][_0x5bda('0x1b')](()=>{let _0x2984b1=_0x317eb1['getAttribute'](_0x5bda('0x7'));const _0x1807c6=this[_0x5bda('0x5')]['plugins'][_0x5bda('0x17')](_0x5bda('0xc'))['me'];for(const _0x498e8d of _0x59e1fd['getSuggestions']({'skipNotAttached':!0x0})){const _0x3f90c6=_0x498e8d[_0x5bda('0x15')]();if('replaceImageSource'===_0x498e8d[_0x5bda('0x4')]&&_0x3f90c6===_0x317eb1){_0x498e8d['author']!==_0x1807c6&&_0x498e8d[_0x5bda('0xd')](),_0x2984b1=_0x498e8d['data'][_0x5bda('0x14')][0x0][_0x5bda('0x1a')];break;}}_0x18ff3b(_0x42b6d4),_0x59e1fd[_0x5bda('0x12')](_0x317eb1,{'commandName':'replaceImageSource','commandParams':[{'source':_0x2984b1}]},[],_0x5bda('0x9'));});}[_0x5bda('0x1')](_0x55856e){const {data:_0x496c96}=_0x55856e;if(_0x496c96&&_0x5bda('0x9')===_0x496c96[_0x5bda('0x8')]){const _0x5ec2c0='*Format:*\x20replace\x20image\x20URL';return{'type':'format','content':_0x1b1d85(this[_0x5bda('0x5')]['locale'],_0x5ec2c0)};}}}
23
+ const _0x4952=['afterInit','_descriptionFactory','plugins','get','getSelectedElement','*Format:*\x20replace\x20image\x20URL','getContainedElement','formatBlock','commandName','document','TrackChangesEditing','enableCommand','locale','getSuggestionCallback','discard','handleReplaceImageCommand','editor','src','getSuggestions','Users','data','selection','source','commandParams','handleSuggestionDescription','ImageEditing','has','model','replaceImageSource','accept','_suggestionFactory','getAttribute','author','registerDescriptionCallback','registerCustomCallback'];(function(_0x4d39e2,_0x495214){const _0x2bf978=function(_0x4ede4a){while(--_0x4ede4a){_0x4d39e2['push'](_0x4d39e2['shift']());}};_0x2bf978(++_0x495214);}(_0x4952,0x1a8));const _0x2bf9=function(_0x4d39e2,_0x495214){_0x4d39e2=_0x4d39e2-0x0;let _0x2bf978=_0x4952[_0x4d39e2];return _0x2bf978;};import{Plugin as _0x2e9c8b}from'ckeditor5/src/core';import{getTranslation as _0x1cc467}from'../utils/common-translations';export default class Y extends _0x2e9c8b{[_0x2bf9('0x1f')](){if(!this[_0x2bf9('0xc')]['plugins'][_0x2bf9('0x16')](_0x2bf9('0x15')))return;const _0x5441f0=this[_0x2bf9('0xc')][_0x2bf9('0x21')][_0x2bf9('0x22')]('TrackChangesEditing');_0x5441f0[_0x2bf9('0x7')](_0x2bf9('0x18'),(_0x26f869,_0x4e635d)=>this['handleReplaceImageCommand'](_0x26f869,_0x4e635d)),_0x5441f0['_suggestionFactory'][_0x2bf9('0x1e')](_0x2bf9('0x3'),'replaceImageSource',_0x2bf9('0x19'),_0x5441f0['_suggestionFactory'][_0x2bf9('0x9')]('formatBlock',null,_0x2bf9('0xa'))),_0x5441f0[_0x2bf9('0x1a')][_0x2bf9('0x1e')]('formatBlock',_0x2bf9('0x18'),_0x2bf9('0xa'),_0x5441f0[_0x2bf9('0x1a')][_0x2bf9('0x9')](_0x2bf9('0x3'),null,_0x2bf9('0x19'))),_0x5441f0[_0x2bf9('0x20')][_0x2bf9('0x1d')](_0x186819=>this[_0x2bf9('0x14')](_0x186819));}[_0x2bf9('0xb')](_0x361021,_0xe90ea){const _0x28d0f0=this['editor'][_0x2bf9('0x21')][_0x2bf9('0x22')](_0x2bf9('0x6')),_0x8b40d1=this['editor'][_0x2bf9('0x17')][_0x2bf9('0x5')][_0x2bf9('0x11')][_0x2bf9('0x0')]();this[_0x2bf9('0xc')][_0x2bf9('0x17')]['change'](()=>{let _0x4a12fb=_0x8b40d1[_0x2bf9('0x1b')](_0x2bf9('0xd'));const _0x428ae=this[_0x2bf9('0xc')]['plugins'][_0x2bf9('0x22')](_0x2bf9('0xf'))['me'];for(const _0x2d478c of _0x28d0f0[_0x2bf9('0xe')]({'skipNotAttached':!0x0})){const _0x173813=_0x2d478c[_0x2bf9('0x2')]();if(_0x2bf9('0x18')===_0x2d478c['subType']&&_0x173813===_0x8b40d1){_0x2d478c[_0x2bf9('0x1c')]!==_0x428ae&&_0x2d478c[_0x2bf9('0xa')](),_0x4a12fb=_0x2d478c[_0x2bf9('0x10')][_0x2bf9('0x13')][0x0][_0x2bf9('0x12')];break;}}_0x361021(_0xe90ea),_0x28d0f0['markBlockFormat'](_0x8b40d1,{'commandName':_0x2bf9('0x18'),'commandParams':[{'source':_0x4a12fb}]},[],_0x2bf9('0x18'));});}[_0x2bf9('0x14')](_0x53d169){const {data:_0x54b1a2}=_0x53d169;if(_0x54b1a2&&_0x2bf9('0x18')===_0x54b1a2[_0x2bf9('0x4')]){const _0x463ea5=_0x2bf9('0x1');return{'type':'format','content':_0x1cc467(this[_0x2bf9('0xc')][_0x2bf9('0x8')],_0x463ea5)};}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2ea1=['dataInsert','_trackChangesExecuted','bind','enableCommand','importWord','lowest','forEach','_setSuggestionData','collaboration_features','TrackChangesEditing','afterInit','get','execute','high','plugins','_trackChangesValueDuringImport','track_changes','editor','commands','listenTo'];(function(_0x2f5dd7,_0x2ea14f){const _0x4ac37d=function(_0x360196){while(--_0x360196){_0x2f5dd7['push'](_0x2f5dd7['shift']());}};_0x4ac37d(++_0x2ea14f);}(_0x2ea1,0x12b));const _0x4ac3=function(_0x2f5dd7,_0x2ea14f){_0x2f5dd7=_0x2f5dd7-0x0;let _0x4ac37d=_0x2ea1[_0x2f5dd7];return _0x4ac37d;};import{Plugin as _0x3e178f}from'ckeditor5/src/core';export default class Z extends _0x3e178f{constructor(_0x281504){super(_0x281504),this[_0x4ac3('0x10')]=!0x1,this[_0x4ac3('0x2')]=!0x1;}[_0x4ac3('0xb')](){const _0x2f5da5=this['editor'],_0x2055e4=_0x2f5da5[_0x4ac3('0x13')][_0x4ac3('0xc')](_0x4ac3('0x5')),_0x30d267=_0x2f5da5[_0x4ac3('0x13')][_0x4ac3('0xc')]('trackChanges');_0x2055e4&&(_0x2055e4['on'](_0x4ac3('0xd'),(_0x2e05fc,[,_0x576480])=>{this[_0x4ac3('0x10')]=_0x30d267['value'],_0x576480[_0x4ac3('0x9')][_0x4ac3('0x11')]=!this[_0x4ac3('0x10')];},{'priority':_0x4ac3('0xe')}),this[_0x4ac3('0x0')](_0x2055e4,_0x4ac3('0x1'),this['_handleImportedData'][_0x4ac3('0x3')](this)),this[_0x4ac3('0x0')](_0x2055e4,_0x4ac3('0x1'),()=>{this['_trackChangesExecuted']&&(_0x30d267[_0x4ac3('0xd')](),this[_0x4ac3('0x2')]=!0x1);},{'priority':_0x4ac3('0x6')}),_0x2f5da5[_0x4ac3('0xf')][_0x4ac3('0xc')]('TrackChangesEditing')[_0x4ac3('0x4')](_0x4ac3('0x5')));}['_handleImportedData'](_0x5270bf,_0x137dbe){const {suggestions:_0x273301}=_0x137dbe,_0xf6b8bc=this['editor'][_0x4ac3('0x13')][_0x4ac3('0xc')]('trackChanges'),_0x1e3495=_0xf6b8bc['value'];this[_0x4ac3('0x10')]!==_0x1e3495&&(_0xf6b8bc[_0x4ac3('0xd')](),this[_0x4ac3('0x2')]=!0x0),_0x273301&&_0x273301[_0x4ac3('0x7')](({id:_0x360efc,type:_0xeea76f,author:_0x6becfb,created_at:_0x2a22f6})=>{const _0x2c0163={'id':_0x360efc,'type':_0xeea76f,'authorId':this[_0x4ac3('0x12')][_0x4ac3('0xf')][_0x4ac3('0xc')]('Users')['me']['id'],'createdAt':new Date(),'data':null,'hasComments':!0x1,'attributes':{'@external':{'authorName':_0x6becfb,'createdAt':_0x2a22f6?new Date(_0x2a22f6):new Date(),'source':_0x4ac3('0x5')}}};this[_0x4ac3('0x12')][_0x4ac3('0xf')][_0x4ac3('0xc')](_0x4ac3('0xa'))[_0x4ac3('0x8')](_0x2c0163);});}}
23
+ const _0x4b45=['_handleImportedData','bind','_setSuggestionData','importWord','collaboration_features','dataInsert','editor','value','lowest','_trackChangesValueDuringImport','forEach','plugins','execute','commands','get','_trackChangesExecuted','enableCommand','TrackChangesEditing','trackChanges','high','afterInit','listenTo'];(function(_0x526ad7,_0x4b4580){const _0x36e853=function(_0xa4ef8f){while(--_0xa4ef8f){_0x526ad7['push'](_0x526ad7['shift']());}};_0x36e853(++_0x4b4580);}(_0x4b45,0x1be));const _0x36e8=function(_0x526ad7,_0x4b4580){_0x526ad7=_0x526ad7-0x0;let _0x36e853=_0x4b45[_0x526ad7];return _0x36e853;};import{Plugin as _0x48478f}from'ckeditor5/src/core';export default class Z extends _0x48478f{constructor(_0x4d7df5){super(_0x4d7df5),this[_0x36e8('0x3')]=!0x1,this[_0x36e8('0x9')]=!0x1;}[_0x36e8('0xe')](){const _0x3db3f6=this[_0x36e8('0x0')],_0x21ebdb=_0x3db3f6[_0x36e8('0x7')][_0x36e8('0x8')](_0x36e8('0x13')),_0x20d9d4=_0x3db3f6[_0x36e8('0x7')][_0x36e8('0x8')](_0x36e8('0xc'));_0x21ebdb&&(_0x21ebdb['on'](_0x36e8('0x6'),(_0xf20198,[,_0x5624ea])=>{this[_0x36e8('0x3')]=_0x20d9d4[_0x36e8('0x1')],_0x5624ea[_0x36e8('0x14')]['track_changes']=!this[_0x36e8('0x3')];},{'priority':_0x36e8('0xd')}),this[_0x36e8('0xf')](_0x21ebdb,'dataInsert',this[_0x36e8('0x10')][_0x36e8('0x11')](this)),this[_0x36e8('0xf')](_0x21ebdb,_0x36e8('0x15'),()=>{this[_0x36e8('0x9')]&&(_0x20d9d4['execute'](),this['_trackChangesExecuted']=!0x1);},{'priority':_0x36e8('0x2')}),_0x3db3f6[_0x36e8('0x5')][_0x36e8('0x8')](_0x36e8('0xb'))[_0x36e8('0xa')](_0x36e8('0x13')));}[_0x36e8('0x10')](_0x59503b,_0x2fadf2){const {suggestions:_0x1f06ad}=_0x2fadf2,_0x196b17=this[_0x36e8('0x0')][_0x36e8('0x7')]['get'](_0x36e8('0xc')),_0x1ca949=_0x196b17[_0x36e8('0x1')];this[_0x36e8('0x3')]!==_0x1ca949&&(_0x196b17[_0x36e8('0x6')](),this['_trackChangesExecuted']=!0x0),_0x1f06ad&&_0x1f06ad[_0x36e8('0x4')](({id:_0x52d4d7,type:_0x60e1f7,author:_0x327e05,created_at:_0x4dae12})=>{const _0x243374={'id':_0x52d4d7,'type':_0x60e1f7,'authorId':this['editor'][_0x36e8('0x5')][_0x36e8('0x8')]('Users')['me']['id'],'createdAt':new Date(),'data':null,'hasComments':!0x1,'attributes':{'@external':{'authorName':_0x327e05,'createdAt':_0x4dae12?new Date(_0x4dae12):new Date(),'source':'importWord'}}};this[_0x36e8('0x0')][_0x36e8('0x5')]['get'](_0x36e8('0xb'))[_0x36e8('0x12')](_0x243374);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x193a=['document','blockIndent','outdentBlock','schema','from','commandName','format','getSelectedBlocks','registerDescriptionCallback','indent','outdent','get','indentBlock','has','getItemLabel','checkAttribute','getItems','model','plugins','enableCommand','editor','_descriptionFactory','IndentBlock','markBlockFormat','IndentEditing','change'];(function(_0x415653,_0x193afb){const _0x3e3687=function(_0x504061){while(--_0x504061){_0x415653['push'](_0x415653['shift']());}};_0x3e3687(++_0x193afb);}(_0x193a,0x176));const _0x3e36=function(_0x415653,_0x193afb){_0x415653=_0x415653-0x0;let _0x3e3687=_0x193a[_0x415653];return _0x3e3687;};import{Plugin as _0x3952cd}from'ckeditor5/src/core';import{getTranslation as _0x32aaea}from'../utils/common-translations';export default class tt extends _0x3952cd{['afterInit'](){const _0x366dbf=this[_0x3e36('0xa')],_0x461ad2=_0x366dbf[_0x3e36('0x8')][_0x3e36('0x1')]('TrackChangesEditing');_0x366dbf[_0x3e36('0x8')][_0x3e36('0x3')](_0x3e36('0xe'))&&(_0x461ad2['enableCommand'](_0x3e36('0x19')),_0x461ad2[_0x3e36('0x9')](_0x3e36('0x0')));const _0x7865c3=_0x366dbf['locale'];if(_0x366dbf[_0x3e36('0x8')][_0x3e36('0x3')](_0x3e36('0xc'))){for(const _0x123f3e of['indentBlock',_0x3e36('0x12')])_0x461ad2['enableCommand'](_0x123f3e,()=>{const _0x5c0e92=Array[_0x3e36('0x14')](this[_0x3e36('0xa')]['model'][_0x3e36('0x10')]['selection'][_0x3e36('0x17')]())['filter'](_0x599f7e=>this[_0x3e36('0xa')][_0x3e36('0x7')][_0x3e36('0x13')][_0x3e36('0x5')](_0x599f7e,_0x3e36('0x11')));_0x366dbf[_0x3e36('0x7')][_0x3e36('0xf')](()=>{for(const _0x3f2a86 of _0x5c0e92)_0x461ad2[_0x3e36('0xd')](_0x3f2a86,{'commandName':_0x123f3e,'commandParams':[{'value':''}],'formatGroupId':_0x3e36('0x2')});});});_0x461ad2[_0x3e36('0xb')][_0x3e36('0x18')](_0x43d34a=>{const {data:_0x59fa0c}=_0x43d34a;if(!_0x59fa0c)return;if('indentBlock'!=_0x59fa0c[_0x3e36('0x15')]&&_0x3e36('0x12')!=_0x59fa0c[_0x3e36('0x15')])return;const _0x37137c=_0x43d34a[_0x3e36('0x6')]()[0x0],_0x552b4b=_0x461ad2['_descriptionFactory'][_0x3e36('0x4')](_0x37137c);return _0x3e36('0x2')==_0x59fa0c[_0x3e36('0x15')]?{'type':'format','content':_0x32aaea(_0x7865c3,'*Indent:*\x20%0',_0x552b4b)}:_0x3e36('0x12')==_0x59fa0c[_0x3e36('0x15')]?{'type':_0x3e36('0x16'),'content':_0x32aaea(_0x7865c3,'*Outdent:*\x20%0',_0x552b4b)}:void 0x0;});}}}
23
+ const _0x18b8=['from','commandName','plugins','markBlockFormat','TrackChangesEditing','enableCommand','afterInit','document','outdentBlock','format','*Indent:*\x20%0','selection','IndentBlock','change','schema','getItemLabel','indent','get','editor','indentBlock','getSelectedBlocks','outdent','IndentEditing','model','checkAttribute','has'];(function(_0xaf1e56,_0x18b8fd){const _0xe18f11=function(_0x5208e0){while(--_0x5208e0){_0xaf1e56['push'](_0xaf1e56['shift']());}};_0xe18f11(++_0x18b8fd);}(_0x18b8,0x91));const _0xe18f=function(_0xaf1e56,_0x18b8fd){_0xaf1e56=_0xaf1e56-0x0;let _0xe18f11=_0x18b8[_0xaf1e56];return _0xe18f11;};import{Plugin as _0x2624f5}from'ckeditor5/src/core';import{getTranslation as _0x1a3cc5}from'../utils/common-translations';export default class tt extends _0x2624f5{[_0xe18f('0x11')](){const _0x135e96=this[_0xe18f('0x3')],_0x54e26b=_0x135e96[_0xe18f('0xd')][_0xe18f('0x2')](_0xe18f('0xf'));_0x135e96[_0xe18f('0xd')][_0xe18f('0xa')](_0xe18f('0x7'))&&(_0x54e26b[_0xe18f('0x10')](_0xe18f('0x1')),_0x54e26b[_0xe18f('0x10')](_0xe18f('0x6')));const _0x202d24=_0x135e96['locale'];if(_0x135e96[_0xe18f('0xd')][_0xe18f('0xa')](_0xe18f('0x17'))){for(const _0x5d851f of['indentBlock',_0xe18f('0x13')])_0x54e26b[_0xe18f('0x10')](_0x5d851f,()=>{const _0x5b79f0=Array[_0xe18f('0xb')](this['editor'][_0xe18f('0x8')][_0xe18f('0x12')][_0xe18f('0x16')][_0xe18f('0x5')]())['filter'](_0x322b76=>this[_0xe18f('0x3')][_0xe18f('0x8')][_0xe18f('0x19')][_0xe18f('0x9')](_0x322b76,'blockIndent'));_0x135e96['model'][_0xe18f('0x18')](()=>{for(const _0x53f284 of _0x5b79f0)_0x54e26b[_0xe18f('0xe')](_0x53f284,{'commandName':_0x5d851f,'commandParams':[{'value':''}],'formatGroupId':_0xe18f('0x4')});});});_0x54e26b['_descriptionFactory']['registerDescriptionCallback'](_0x6fc2a9=>{const {data:_0x28c85f}=_0x6fc2a9;if(!_0x28c85f)return;if(_0xe18f('0x4')!=_0x28c85f[_0xe18f('0xc')]&&_0xe18f('0x13')!=_0x28c85f['commandName'])return;const _0x17cae6=_0x6fc2a9['getItems']()[0x0],_0x29b090=_0x54e26b['_descriptionFactory'][_0xe18f('0x0')](_0x17cae6);return _0xe18f('0x4')==_0x28c85f[_0xe18f('0xc')]?{'type':_0xe18f('0x14'),'content':_0x1a3cc5(_0x202d24,_0xe18f('0x15'),_0x29b090)}:_0xe18f('0x13')==_0x28c85f[_0xe18f('0xc')]?{'type':'format','content':_0x1a3cc5(_0x202d24,'*Outdent:*\x20%0',_0x29b090)}:void 0x0;});}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x46e6=['editor','plugins','requires','get','input','TrackChangesEditing','enableCommand','init'];(function(_0x304169,_0x46e634){var _0x136cce=function(_0x287e38){while(--_0x287e38){_0x304169['push'](_0x304169['shift']());}};_0x136cce(++_0x46e634);}(_0x46e6,0x12e));var _0x136c=function(_0x304169,_0x46e634){_0x304169=_0x304169-0x0;var _0x136cce=_0x46e6[_0x304169];return _0x136cce;};import{Plugin as _0x3319a3}from'ckeditor5/src/core';import{Input as _0x49f315}from'ckeditor5/src/typing';export default class it extends _0x3319a3{static get[_0x136c('0x4')](){return[_0x49f315];}[_0x136c('0x1')](){this[_0x136c('0x2')][_0x136c('0x3')][_0x136c('0x5')](_0x136c('0x7'))[_0x136c('0x0')](_0x136c('0x6'));}}
23
+ var _0x18c9=['get','init','editor','plugins','TrackChangesEditing'];(function(_0x50b6a1,_0x18c907){var _0x4ac8ca=function(_0x2437ec){while(--_0x2437ec){_0x50b6a1['push'](_0x50b6a1['shift']());}};_0x4ac8ca(++_0x18c907);}(_0x18c9,0x1b7));var _0x4ac8=function(_0x50b6a1,_0x18c907){_0x50b6a1=_0x50b6a1-0x0;var _0x4ac8ca=_0x18c9[_0x50b6a1];return _0x4ac8ca;};import{Plugin as _0x5b9413}from'ckeditor5/src/core';import{Input as _0x47056d}from'ckeditor5/src/typing';export default class it extends _0x5b9413{static get['requires'](){return[_0x47056d];}[_0x4ac8('0x2')](){this[_0x4ac8('0x3')][_0x4ac8('0x4')][_0x4ac8('0x1')](_0x4ac8('0x0'))['enableCommand']('input');}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3345=['getFirstPosition','get','getRanges','editor','unlink','*Set\x20link:*\x20%0','selection','document','format','plugins','hasAttribute','enableCommand','commandName','link','afterInit','has','model','markInlineFormat','_descriptionFactory','from','TrackChangesEditing','registerDescriptionCallback','linkHref','isCollapsed','*Remove\x20link*'];(function(_0x1af659,_0x3345ed){const _0x133628=function(_0x203201){while(--_0x203201){_0x1af659['push'](_0x1af659['shift']());}};_0x133628(++_0x3345ed);}(_0x3345,0xd5));const _0x1336=function(_0x1af659,_0x3345ed){_0x1af659=_0x1af659-0x0;let _0x133628=_0x3345[_0x1af659];return _0x133628;};import{Plugin as _0x38d0cf}from'ckeditor5/src/core';import{findAttributeRange as _0x101d85}from'ckeditor5/src/typing';import{getRangesWithAttribute as _0x2b320b}from'./utils';import{getTranslation as _0x485c69}from'../utils/common-translations';export default class et extends _0x38d0cf{[_0x1336('0x1')](){const _0x41a98e=this[_0x1336('0xf')];if(!_0x41a98e['plugins'][_0x1336('0x2')]('LinkEditing'))return;const _0x3308f0=_0x41a98e[_0x1336('0x15')][_0x1336('0xd')](_0x1336('0x7'));_0x3308f0[_0x1336('0x17')](_0x1336('0x0'),(_0x4ed3e9,_0xd00670)=>{const _0x214126=_0x41a98e[_0x1336('0x3')][_0x1336('0x13')][_0x1336('0x12')];let _0x2d87b7=[];if(_0x214126['isCollapsed']){if(!_0x214126[_0x1336('0x16')](_0x1336('0x9')))return void _0x4ed3e9(_0xd00670);{const _0x42e86e=_0x101d85(_0x214126[_0x1336('0xc')](),_0x1336('0x9'),_0x214126['getAttribute']('linkHref'),_0x41a98e['model']);_0x2d87b7=[_0x42e86e];}}else _0x2d87b7=Array[_0x1336('0x6')](_0x214126[_0x1336('0xe')]());_0x41a98e[_0x1336('0x3')]['change'](()=>{for(const _0x1860f0 of _0x2d87b7)_0x3308f0[_0x1336('0x4')](_0x1860f0,{'commandName':_0x1336('0x0'),'commandParams':[_0xd00670]});});}),_0x3308f0['enableCommand'](_0x1336('0x10'),()=>{const _0xc124d3=this[_0x1336('0xf')]['model'],_0x30ec71=_0xc124d3[_0x1336('0x13')][_0x1336('0x12')];_0xc124d3['change'](()=>{let _0x4ffea6=[];if(_0x30ec71[_0x1336('0xa')])_0x4ffea6=[_0x101d85(_0x30ec71[_0x1336('0xc')](),'linkHref',_0x30ec71['getAttribute'](_0x1336('0x9')),_0x41a98e[_0x1336('0x3')])];else _0x4ffea6=_0x2b320b('linkHref',_0x30ec71['getFirstRange'](),_0x41a98e[_0x1336('0x3')]);for(const _0x5c30df of _0x4ffea6)_0x3308f0[_0x1336('0x4')](_0x5c30df,{'commandName':_0x1336('0x10'),'commandParams':[]});});}),_0x3308f0[_0x1336('0x5')][_0x1336('0x8')](_0x40b2c1=>{const {data:_0x6d6e02}=_0x40b2c1,_0x1343a1=_0x41a98e['locale'];if(_0x6d6e02){if(_0x1336('0x0')==_0x6d6e02[_0x1336('0x18')]){const _0x4362fa=_0x6d6e02['commandParams'][0x0];return{'type':'format','content':_0x485c69(_0x1343a1,_0x1336('0x11'),'\x22'+_0x4362fa+'\x22')};}return _0x1336('0x10')==_0x6d6e02[_0x1336('0x18')]?{'type':_0x1336('0x14'),'content':_0x485c69(_0x1343a1,_0x1336('0xb'))}:void 0x0;}});}}
23
+ const _0x34ab=['getFirstPosition','document','change','_descriptionFactory','plugins','has','getAttribute','linkHref','commandParams','LinkEditing','format','from','link','locale','TrackChangesEditing','commandName','unlink','enableCommand','isCollapsed','model','afterInit','markInlineFormat','getRanges','registerDescriptionCallback','hasAttribute','get'];(function(_0x3fde7c,_0x34abd2){const _0xd0aa3a=function(_0x399f09){while(--_0x399f09){_0x3fde7c['push'](_0x3fde7c['shift']());}};_0xd0aa3a(++_0x34abd2);}(_0x34ab,0x170));const _0xd0aa=function(_0x3fde7c,_0x34abd2){_0x3fde7c=_0x3fde7c-0x0;let _0xd0aa3a=_0x34ab[_0x3fde7c];return _0xd0aa3a;};import{Plugin as _0x115865}from'ckeditor5/src/core';import{findAttributeRange as _0x3a9199}from'ckeditor5/src/typing';import{getRangesWithAttribute as _0x1c05c2}from'./utils';import{getTranslation as _0x148f46}from'../utils/common-translations';export default class et extends _0x115865{[_0xd0aa('0x10')](){const _0x20af43=this['editor'];if(!_0x20af43[_0xd0aa('0x0')][_0xd0aa('0x1')](_0xd0aa('0x5')))return;const _0x21f7d7=_0x20af43['plugins'][_0xd0aa('0x15')](_0xd0aa('0xa'));_0x21f7d7[_0xd0aa('0xd')]('link',(_0x319af5,_0x19a75f)=>{const _0x49ff0d=_0x20af43['model'][_0xd0aa('0x17')]['selection'];let _0x43cc67=[];if(_0x49ff0d[_0xd0aa('0xe')]){if(!_0x49ff0d[_0xd0aa('0x14')](_0xd0aa('0x3')))return void _0x319af5(_0x19a75f);{const _0x379cc8=_0x3a9199(_0x49ff0d[_0xd0aa('0x16')](),_0xd0aa('0x3'),_0x49ff0d[_0xd0aa('0x2')](_0xd0aa('0x3')),_0x20af43['model']);_0x43cc67=[_0x379cc8];}}else _0x43cc67=Array[_0xd0aa('0x7')](_0x49ff0d[_0xd0aa('0x12')]());_0x20af43[_0xd0aa('0xf')][_0xd0aa('0x18')](()=>{for(const _0x46c45c of _0x43cc67)_0x21f7d7['markInlineFormat'](_0x46c45c,{'commandName':_0xd0aa('0x8'),'commandParams':[_0x19a75f]});});}),_0x21f7d7[_0xd0aa('0xd')](_0xd0aa('0xc'),()=>{const _0x56a959=this['editor'][_0xd0aa('0xf')],_0x191055=_0x56a959[_0xd0aa('0x17')]['selection'];_0x56a959[_0xd0aa('0x18')](()=>{let _0x549fcc=[];if(_0x191055[_0xd0aa('0xe')])_0x549fcc=[_0x3a9199(_0x191055[_0xd0aa('0x16')](),_0xd0aa('0x3'),_0x191055['getAttribute'](_0xd0aa('0x3')),_0x20af43[_0xd0aa('0xf')])];else _0x549fcc=_0x1c05c2(_0xd0aa('0x3'),_0x191055['getFirstRange'](),_0x20af43[_0xd0aa('0xf')]);for(const _0x1dd26f of _0x549fcc)_0x21f7d7[_0xd0aa('0x11')](_0x1dd26f,{'commandName':'unlink','commandParams':[]});});}),_0x21f7d7[_0xd0aa('0x19')][_0xd0aa('0x13')](_0x3d8f4e=>{const {data:_0x6dded6}=_0x3d8f4e,_0x3c1f53=_0x20af43[_0xd0aa('0x9')];if(_0x6dded6){if(_0xd0aa('0x8')==_0x6dded6[_0xd0aa('0xb')]){const _0x23c435=_0x6dded6[_0xd0aa('0x4')][0x0];return{'type':_0xd0aa('0x6'),'content':_0x148f46(_0x3c1f53,'*Set\x20link:*\x20%0','\x22'+_0x23c435+'\x22')};}return _0xd0aa('0xc')==_0x6dded6[_0xd0aa('0xb')]?{'type':_0xd0aa('0x6'),'content':_0x148f46(_0x3c1f53,'*Remove\x20link*')}:void 0x0;}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x22ac=['editor','indentList','model','push','execute','afterInit','getSelectedBlocks','ELEMENT_LIST_ITEM','filter','_selectedElements','registerElementLabel','todoListChecked','TodoListEditing','length','commandParams','value','commandName','enableCommand','blockName','plugins','isObject','before','listItem','checkTodoList','*Indent:*\x20%0','from','change','format','getAttribute','nextSibling','numberedList','previousSibling','todoList','element','ELEMENT_NUMBERED_LIST','name','selection','forceValue','outdentList','add','end','todo','parent','bulletedList','markBlockFormat','commands','checkChild','locale','findIndex','*Outdent:*\x20%0','createPositionAt','slice','document','ListEditing','numbered','has','listIndent','paragraph','_descriptionFactory','get'];(function(_0x1a01f4,_0x22ac5c){const _0x64b20f=function(_0x2df3fc){while(--_0x2df3fc){_0x1a01f4['push'](_0x1a01f4['shift']());}};_0x64b20f(++_0x22ac5c);}(_0x22ac,0xd1));const _0x64b2=function(_0x1a01f4,_0x22ac5c){_0x1a01f4=_0x1a01f4-0x0;let _0x64b20f=_0x22ac[_0x1a01f4];return _0x64b20f;};import{Plugin as _0x5609b2}from'ckeditor5/src/core';import{getTranslation as _0x37c9a4}from'../utils/common-translations';export default class st extends _0x5609b2{[_0x64b2('0x24')](){const _0x2fbdcf=this[_0x64b2('0x1f')],_0x2de007=_0x2fbdcf[_0x64b2('0x12')];if(!_0x2fbdcf[_0x64b2('0x32')][_0x64b2('0x1a')](_0x64b2('0x18')))return;const _0xd88ae8=_0x2fbdcf[_0x64b2('0x32')][_0x64b2('0x1e')]('TrackChangesEditing'),_0x1f8b1b=_0x2fbdcf[_0x64b2('0x32')][_0x64b2('0x1a')](_0x64b2('0x2b'));function _0x43d780(_0x8daf4){return()=>{const _0x4d5846=_0x2fbdcf[_0x64b2('0x21')][_0x64b2('0x17')][_0x64b2('0x7')],_0x26e0bc=_0x2fbdcf[_0x64b2('0x10')][_0x64b2('0x1e')](_0x8daf4);if(_0x26e0bc[_0x64b2('0x2e')])return void _0x2fbdcf[_0x64b2('0x23')](_0x64b2('0x1c'),{});const _0x235af4=_0x8daf4[_0x64b2('0x16')](0x0,-0x4),_0xd0f091=function(_0x13561c,_0x4f8519,_0x58f085){let _0x49c4ae=Array[_0x64b2('0x38')](_0x13561c)['filter'](_0x55c796=>function(_0x1e8fff,_0x3bdf94){return _0x3bdf94[_0x64b2('0x11')](_0x1e8fff[_0x64b2('0xd')],_0x64b2('0x35'))&&!_0x3bdf94[_0x64b2('0x33')](_0x1e8fff);}(_0x55c796,_0x58f085));_0x49c4ae=_0x49c4ae[_0x64b2('0x27')](_0x4c712f=>!_0x4c712f['is'](_0x64b2('0x4'),_0x64b2('0x35'))||_0x4c712f[_0x64b2('0x3b')]('listType')!=_0x4f8519);const _0x15baef=new Set();for(const _0x20fedc of _0x49c4ae)_0x20fedc['is'](_0x64b2('0x4'),_0x64b2('0x35'))?_0x15baef[_0x64b2('0xa')](ne(_0x20fedc)):_0x15baef['add'](_0x20fedc);return Array[_0x64b2('0x38')](_0x15baef);}(_0x4d5846[_0x64b2('0x25')](),_0x235af4,_0x2fbdcf[_0x64b2('0x21')]['schema']);_0x2fbdcf['model']['change'](()=>{for(const _0x5d01fc of _0xd0f091)_0xd88ae8['markBlockFormat'](_0x5d01fc,{'commandName':_0x8daf4,'commandParams':[{'forceValue':!_0x26e0bc[_0x64b2('0x2e')]}],'formatGroupId':_0x64b2('0x31')},oe(_0x5d01fc));});};}function _0x165e16(_0x38603d){return()=>{const _0x3c5aae=function(_0x5a2df8){let _0x63dcf=Array[_0x64b2('0x38')](_0x5a2df8);const _0x46b28e=_0x63dcf[_0x64b2('0x13')](_0x2ef1b7=>_0x64b2('0x35')!=_0x2ef1b7[_0x64b2('0x6')]);return _0x46b28e>-0x1&&(_0x63dcf=_0x63dcf[_0x64b2('0x16')](0x0,_0x46b28e)),_0x63dcf;}(_0x2fbdcf[_0x64b2('0x21')][_0x64b2('0x17')][_0x64b2('0x7')][_0x64b2('0x25')]()),_0x3c32b7=_0x2fbdcf['model']['createRange'](_0x2fbdcf['model'][_0x64b2('0x15')](_0x3c5aae[0x0],_0x64b2('0x34')),_0x2fbdcf[_0x64b2('0x21')]['createPositionAt'](_0x3c5aae[_0x3c5aae[_0x64b2('0x2c')]-0x1],_0x64b2('0xb')));_0x2fbdcf[_0x64b2('0x21')]['change'](()=>{_0xd88ae8[_0x64b2('0xf')](_0x3c32b7,{'commandName':_0x38603d,'commandParams':[],'formatGroupId':_0x64b2('0x1b')},function(_0x5ccbf8){const _0x1fe9e7=new Set();for(const _0x32261a of _0x5ccbf8){let _0x401a88=_0x32261a[_0x64b2('0x0')];for(;_0x401a88&&_0x401a88['getAttribute'](_0x64b2('0x1b'))>_0x32261a[_0x64b2('0x3b')]('listIndent');)_0x1fe9e7['add'](_0x401a88),_0x401a88=_0x401a88['nextSibling'];}return Array[_0x64b2('0x38')](_0x1fe9e7);}(_0x3c5aae));});};}_0xd88ae8[_0x64b2('0x30')]('numberedList',_0x43d780(_0x64b2('0x1'))),_0xd88ae8[_0x64b2('0x30')](_0x64b2('0xe'),_0x43d780(_0x64b2('0xe'))),_0x1f8b1b&&_0xd88ae8[_0x64b2('0x30')](_0x64b2('0x3'),_0x43d780('todoList')),_0xd88ae8[_0x64b2('0x30')]('indentList',_0x165e16('indentList')),_0xd88ae8[_0x64b2('0x30')](_0x64b2('0x9'),_0x165e16(_0x64b2('0x9'))),_0x1f8b1b&&_0xd88ae8[_0x64b2('0x30')](_0x64b2('0x36'),()=>{const _0x5188d9=_0x2fbdcf[_0x64b2('0x10')][_0x64b2('0x1e')]('checkTodoList'),_0x5ed51f=Array[_0x64b2('0x38')](_0x5188d9[_0x64b2('0x28')]);_0x5ed51f[_0x64b2('0x27')](_0x22eb3b=>_0x22eb3b[_0x64b2('0x3b')](_0x64b2('0x2a'))!=_0x5188d9[_0x64b2('0x2e')]),_0x2fbdcf[_0x64b2('0x21')][_0x64b2('0x39')](()=>{for(const _0x1eb843 of _0x5ed51f)_0xd88ae8[_0x64b2('0xf')](_0x1eb843,{'commandName':_0x64b2('0x36'),'commandParams':[{'forceValue':!_0x5188d9[_0x64b2('0x2e')]}]});});}),_0xd88ae8[_0x64b2('0x1d')][_0x64b2('0x29')](_0x64b2('0x35'),_0xd48088=>_0x37c9a4(_0x2de007,_0x64b2('0x26'),_0xd48088)),_0xd88ae8[_0x64b2('0x1d')]['registerDescriptionCallback'](_0x1f69cd=>{const {data:_0x2c2920}=_0x1f69cd;if(_0x2c2920){if(_0x64b2('0x1')==_0x2c2920[_0x64b2('0x2f')]||_0x64b2('0xe')==_0x2c2920[_0x64b2('0x2f')]||_0x64b2('0x3')==_0x2c2920[_0x64b2('0x2f')])switch(_0x2c2920['commandName']['replace']('List','')){case'bulleted':return _0x5a4c9c(_0x37c9a4(_0x2de007,'ELEMENT_BULLETED_LIST'));case _0x64b2('0x19'):return _0x5a4c9c(_0x37c9a4(_0x2de007,_0x64b2('0x5')));case _0x64b2('0xc'):return _0x5a4c9c(_0x37c9a4(_0x2de007,'ELEMENT_TODO_LIST'));}if(_0x64b2('0x20')==_0x2c2920['commandName'])return{'type':_0x64b2('0x3a'),'content':_0x37c9a4(_0x2de007,_0x64b2('0x37'),_0x37c9a4(_0x2de007,'ELEMENT_LIST_ITEM'))};if(_0x64b2('0x9')==_0x2c2920[_0x64b2('0x2f')])return{'type':_0x64b2('0x3a'),'content':_0x37c9a4(_0x2de007,_0x64b2('0x14'),_0x37c9a4(_0x2de007,_0x64b2('0x26')))};if(_0x64b2('0x36')==_0x2c2920[_0x64b2('0x2f')])return _0x2c2920[_0x64b2('0x2d')][0x0][_0x64b2('0x8')]?{'type':'format','content':_0x37c9a4(_0x2de007,'*Check\x20item*')}:{'type':_0x64b2('0x3a'),'content':_0x37c9a4(_0x2de007,'*Uncheck\x20item*')};}function _0x5a4c9c(_0x87c1a5){return{'type':_0x64b2('0x3a'),'content':_0x37c9a4(_0x2de007,'*Change\x20to:*\x20%0',_0x87c1a5)};}});}}function ne(_0x29325f){const _0x36ee3b=_0x29325f[_0x64b2('0x3b')](_0x64b2('0x1b'));if(0x0==_0x36ee3b)return _0x29325f;let _0x2e021f=_0x29325f;for(;_0x29325f[_0x64b2('0x2')]&&_0x29325f[_0x64b2('0x2')]['is']('element',_0x64b2('0x35'));){const _0x1efd04=_0x29325f['previousSibling'][_0x64b2('0x3b')]('listIndent');if(_0x1efd04==_0x36ee3b)_0x2e021f=_0x29325f[_0x64b2('0x2')];else{if(_0x1efd04<_0x36ee3b)break;}_0x29325f=_0x29325f[_0x64b2('0x2')];}return _0x2e021f;}function oe(_0x5a10d0){const _0x3dc61d=[];if(_0x5a10d0['is'](_0x64b2('0x4'),_0x64b2('0x35'))&&_0x5a10d0['getAttribute']('listIndent')>0x0){let _0x28d2a1=_0x5a10d0['nextSibling'];for(;_0x28d2a1&&_0x64b2('0x35')==_0x28d2a1['name']&&_0x28d2a1['getAttribute'](_0x64b2('0x1b'))==_0x5a10d0['getAttribute'](_0x64b2('0x1b'));)_0x3dc61d[_0x64b2('0x22')](_0x28d2a1),_0x28d2a1=_0x28d2a1[_0x64b2('0x0')];}return _0x3dc61d;}
23
+ const _0x4052=['getSelectedBlocks','checkChild','outdentList','getAttribute','afterInit','ELEMENT_LIST_ITEM','commands','_descriptionFactory','*Uncheck\x20item*','value','filter','numbered','name','plugins','locale','from','checkTodoList','push','get','editor','nextSibling','todoList','execute','ListEditing','change','slice','model','ELEMENT_TODO_LIST','findIndex','enableCommand','createPositionAt','numberedList','blockName','_selectedElements','paragraph','selection','previousSibling','isObject','bulletedList','replace','length','markBlockFormat','document','listIndent','element','*Indent:*\x20%0','add','todo','registerDescriptionCallback','forceValue','TrackChangesEditing','registerElementLabel','parent','todoListChecked','ELEMENT_BULLETED_LIST','indentList','listItem','TodoListEditing','has','format','schema','commandName','*Check\x20item*','*Change\x20to:*\x20%0'];(function(_0x910b45,_0x405253){const _0x1eb52d=function(_0x1194c6){while(--_0x1194c6){_0x910b45['push'](_0x910b45['shift']());}};_0x1eb52d(++_0x405253);}(_0x4052,0x8a));const _0x1eb5=function(_0x910b45,_0x405253){_0x910b45=_0x910b45-0x0;let _0x1eb52d=_0x4052[_0x910b45];return _0x1eb52d;};import{Plugin as _0x1b2a85}from'ckeditor5/src/core';import{getTranslation as _0x910864}from'../utils/common-translations';export default class st extends _0x1b2a85{[_0x1eb5('0x3a')](){const _0x51865e=this[_0x1eb5('0x9')],_0x3463af=_0x51865e[_0x1eb5('0x4')];if(!_0x51865e['plugins'][_0x1eb5('0x30')](_0x1eb5('0xd')))return;const _0x25519b=_0x51865e[_0x1eb5('0x3')]['get'](_0x1eb5('0x28')),_0x267eda=_0x51865e[_0x1eb5('0x3')]['has'](_0x1eb5('0x2f'));function _0x58c366(_0x15477b){return()=>{const _0x5eac95=_0x51865e['model'][_0x1eb5('0x20')][_0x1eb5('0x19')],_0x2c25ed=_0x51865e[_0x1eb5('0x3c')][_0x1eb5('0x8')](_0x15477b);if(_0x2c25ed[_0x1eb5('0x3f')])return void _0x51865e[_0x1eb5('0xc')](_0x1eb5('0x18'),{});const _0x2e2c0f=_0x15477b[_0x1eb5('0xf')](0x0,-0x4),_0x1efcba=function(_0x1b4d14,_0x23723a,_0x3fbdcd){let _0x139d46=Array[_0x1eb5('0x5')](_0x1b4d14)[_0x1eb5('0x0')](_0x24a234=>function(_0x12bd8d,_0x4f39d6){return _0x4f39d6[_0x1eb5('0x37')](_0x12bd8d[_0x1eb5('0x2a')],_0x1eb5('0x2e'))&&!_0x4f39d6[_0x1eb5('0x1b')](_0x12bd8d);}(_0x24a234,_0x3fbdcd));_0x139d46=_0x139d46[_0x1eb5('0x0')](_0x24eb1e=>!_0x24eb1e['is'](_0x1eb5('0x22'),_0x1eb5('0x2e'))||_0x24eb1e['getAttribute']('listType')!=_0x23723a);const _0x22331a=new Set();for(const _0x4a1bee of _0x139d46)_0x4a1bee['is'](_0x1eb5('0x22'),_0x1eb5('0x2e'))?_0x22331a[_0x1eb5('0x24')](ne(_0x4a1bee)):_0x22331a[_0x1eb5('0x24')](_0x4a1bee);return Array[_0x1eb5('0x5')](_0x22331a);}(_0x5eac95[_0x1eb5('0x36')](),_0x2e2c0f,_0x51865e[_0x1eb5('0x10')][_0x1eb5('0x32')]);_0x51865e['model'][_0x1eb5('0xe')](()=>{for(const _0x445935 of _0x1efcba)_0x25519b['markBlockFormat'](_0x445935,{'commandName':_0x15477b,'commandParams':[{'forceValue':!_0x2c25ed[_0x1eb5('0x3f')]}],'formatGroupId':_0x1eb5('0x16')},oe(_0x445935));});};}function _0x19a09a(_0x1575f1){return()=>{const _0x3af0c7=function(_0x44eb04){let _0x57c5f5=Array[_0x1eb5('0x5')](_0x44eb04);const _0x107531=_0x57c5f5[_0x1eb5('0x12')](_0x42826c=>_0x1eb5('0x2e')!=_0x42826c['name']);return _0x107531>-0x1&&(_0x57c5f5=_0x57c5f5[_0x1eb5('0xf')](0x0,_0x107531)),_0x57c5f5;}(_0x51865e['model'][_0x1eb5('0x20')][_0x1eb5('0x19')]['getSelectedBlocks']()),_0x1a0b0e=_0x51865e[_0x1eb5('0x10')]['createRange'](_0x51865e[_0x1eb5('0x10')][_0x1eb5('0x14')](_0x3af0c7[0x0],'before'),_0x51865e['model'][_0x1eb5('0x14')](_0x3af0c7[_0x3af0c7[_0x1eb5('0x1e')]-0x1],'end'));_0x51865e[_0x1eb5('0x10')][_0x1eb5('0xe')](()=>{_0x25519b[_0x1eb5('0x1f')](_0x1a0b0e,{'commandName':_0x1575f1,'commandParams':[],'formatGroupId':_0x1eb5('0x21')},function(_0x56af4e){const _0xbbebee=new Set();for(const _0x2d9db9 of _0x56af4e){let _0x19f2bf=_0x2d9db9[_0x1eb5('0xa')];for(;_0x19f2bf&&_0x19f2bf[_0x1eb5('0x39')]('listIndent')>_0x2d9db9[_0x1eb5('0x39')](_0x1eb5('0x21'));)_0xbbebee[_0x1eb5('0x24')](_0x19f2bf),_0x19f2bf=_0x19f2bf['nextSibling'];}return Array[_0x1eb5('0x5')](_0xbbebee);}(_0x3af0c7));});};}_0x25519b[_0x1eb5('0x13')]('numberedList',_0x58c366(_0x1eb5('0x15'))),_0x25519b[_0x1eb5('0x13')]('bulletedList',_0x58c366(_0x1eb5('0x1c'))),_0x267eda&&_0x25519b[_0x1eb5('0x13')](_0x1eb5('0xb'),_0x58c366(_0x1eb5('0xb'))),_0x25519b[_0x1eb5('0x13')]('indentList',_0x19a09a('indentList')),_0x25519b[_0x1eb5('0x13')](_0x1eb5('0x38'),_0x19a09a('outdentList')),_0x267eda&&_0x25519b[_0x1eb5('0x13')]('checkTodoList',()=>{const _0x3a0c62=_0x51865e[_0x1eb5('0x3c')]['get']('checkTodoList'),_0x1f70c7=Array['from'](_0x3a0c62[_0x1eb5('0x17')]);_0x1f70c7[_0x1eb5('0x0')](_0x1a924c=>_0x1a924c[_0x1eb5('0x39')](_0x1eb5('0x2b'))!=_0x3a0c62[_0x1eb5('0x3f')]),_0x51865e[_0x1eb5('0x10')][_0x1eb5('0xe')](()=>{for(const _0x12ca9e of _0x1f70c7)_0x25519b[_0x1eb5('0x1f')](_0x12ca9e,{'commandName':_0x1eb5('0x6'),'commandParams':[{'forceValue':!_0x3a0c62[_0x1eb5('0x3f')]}]});});}),_0x25519b[_0x1eb5('0x3d')][_0x1eb5('0x29')](_0x1eb5('0x2e'),_0x298cbe=>_0x910864(_0x3463af,_0x1eb5('0x3b'),_0x298cbe)),_0x25519b[_0x1eb5('0x3d')][_0x1eb5('0x26')](_0x5a24c5=>{const {data:_0xfbc426}=_0x5a24c5;if(_0xfbc426){if(_0x1eb5('0x15')==_0xfbc426[_0x1eb5('0x33')]||'bulletedList'==_0xfbc426[_0x1eb5('0x33')]||_0x1eb5('0xb')==_0xfbc426[_0x1eb5('0x33')])switch(_0xfbc426['commandName'][_0x1eb5('0x1d')]('List','')){case'bulleted':return _0x3ce937(_0x910864(_0x3463af,_0x1eb5('0x2c')));case _0x1eb5('0x1'):return _0x3ce937(_0x910864(_0x3463af,'ELEMENT_NUMBERED_LIST'));case _0x1eb5('0x25'):return _0x3ce937(_0x910864(_0x3463af,_0x1eb5('0x11')));}if(_0x1eb5('0x2d')==_0xfbc426[_0x1eb5('0x33')])return{'type':_0x1eb5('0x31'),'content':_0x910864(_0x3463af,_0x1eb5('0x23'),_0x910864(_0x3463af,'ELEMENT_LIST_ITEM'))};if(_0x1eb5('0x38')==_0xfbc426[_0x1eb5('0x33')])return{'type':_0x1eb5('0x31'),'content':_0x910864(_0x3463af,'*Outdent:*\x20%0',_0x910864(_0x3463af,'ELEMENT_LIST_ITEM'))};if(_0x1eb5('0x6')==_0xfbc426[_0x1eb5('0x33')])return _0xfbc426['commandParams'][0x0][_0x1eb5('0x27')]?{'type':_0x1eb5('0x31'),'content':_0x910864(_0x3463af,_0x1eb5('0x34'))}:{'type':'format','content':_0x910864(_0x3463af,_0x1eb5('0x3e'))};}function _0x3ce937(_0x2267a8){return{'type':_0x1eb5('0x31'),'content':_0x910864(_0x3463af,_0x1eb5('0x35'),_0x2267a8)};}});}}function ne(_0x35d494){const _0x7d4c6a=_0x35d494[_0x1eb5('0x39')]('listIndent');if(0x0==_0x7d4c6a)return _0x35d494;let _0x24975f=_0x35d494;for(;_0x35d494[_0x1eb5('0x1a')]&&_0x35d494['previousSibling']['is']('element','listItem');){const _0x59eb36=_0x35d494[_0x1eb5('0x1a')][_0x1eb5('0x39')](_0x1eb5('0x21'));if(_0x59eb36==_0x7d4c6a)_0x24975f=_0x35d494['previousSibling'];else{if(_0x59eb36<_0x7d4c6a)break;}_0x35d494=_0x35d494[_0x1eb5('0x1a')];}return _0x24975f;}function oe(_0x3bc9a1){const _0x6af561=[];if(_0x3bc9a1['is'](_0x1eb5('0x22'),_0x1eb5('0x2e'))&&_0x3bc9a1[_0x1eb5('0x39')](_0x1eb5('0x21'))>0x0){let _0x2bdcf9=_0x3bc9a1[_0x1eb5('0xa')];for(;_0x2bdcf9&&_0x1eb5('0x2e')==_0x2bdcf9[_0x1eb5('0x2')]&&_0x2bdcf9[_0x1eb5('0x39')](_0x1eb5('0x21'))==_0x3bc9a1['getAttribute'](_0x1eb5('0x21'));)_0x6af561[_0x1eb5('0x7')](_0x2bdcf9),_0x2bdcf9=_0x2bdcf9[_0x1eb5('0xa')];}return _0x6af561;}