@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20230808.0 → 0.0.0-nightly-20230809.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (64) hide show
  1. package/build/track-changes.js +1 -1
  2. package/package.json +3 -3
  3. package/src/commands/acceptsuggestioncommand.js +1 -1
  4. package/src/commands/discardsuggestioncommand.js +1 -1
  5. package/src/commands/executeonallsuggestionscommand.js +1 -1
  6. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  7. package/src/commands/trackchangescommand.js +1 -1
  8. package/src/integrations/alignment.js +1 -1
  9. package/src/integrations/basicstyles.js +1 -1
  10. package/src/integrations/blockquote.js +1 -1
  11. package/src/integrations/ckbox.js +1 -1
  12. package/src/integrations/codeblock.js +1 -1
  13. package/src/integrations/comments.js +1 -1
  14. package/src/integrations/deletecommand.js +1 -1
  15. package/src/integrations/documentlist.js +1 -1
  16. package/src/integrations/documentlistproperties.js +1 -1
  17. package/src/integrations/entercommand.js +1 -1
  18. package/src/integrations/findandreplace.js +1 -1
  19. package/src/integrations/font.js +1 -1
  20. package/src/integrations/formatpainter.js +1 -1
  21. package/src/integrations/heading.js +1 -1
  22. package/src/integrations/highlight.js +1 -1
  23. package/src/integrations/horizontalline.js +1 -1
  24. package/src/integrations/htmlembed.js +1 -1
  25. package/src/integrations/image.js +1 -1
  26. package/src/integrations/imagereplace.js +1 -1
  27. package/src/integrations/importword.js +1 -1
  28. package/src/integrations/indent.js +1 -1
  29. package/src/integrations/inputcommand.js +1 -1
  30. package/src/integrations/link.js +1 -1
  31. package/src/integrations/list.js +1 -1
  32. package/src/integrations/listproperties.js +1 -1
  33. package/src/integrations/mediaembed.js +1 -1
  34. package/src/integrations/mention.js +1 -1
  35. package/src/integrations/pagebreak.js +1 -1
  36. package/src/integrations/paragraph.js +1 -1
  37. package/src/integrations/removeformat.js +1 -1
  38. package/src/integrations/restrictededitingmode.js +1 -1
  39. package/src/integrations/shiftentercommand.js +1 -1
  40. package/src/integrations/standardeditingmode.js +1 -1
  41. package/src/integrations/style.js +1 -1
  42. package/src/integrations/table.js +1 -1
  43. package/src/integrations/tablecaption.js +1 -1
  44. package/src/integrations/tableclipboard.js +1 -1
  45. package/src/integrations/tablecolumnresize.js +1 -1
  46. package/src/integrations/tableheadings.js +1 -1
  47. package/src/integrations/tablemergesplit.js +1 -1
  48. package/src/integrations/tableofcontents.js +1 -1
  49. package/src/integrations/tableproperties.js +1 -1
  50. package/src/integrations/template.js +1 -1
  51. package/src/integrations/title.js +1 -1
  52. package/src/integrations/undo.js +1 -1
  53. package/src/integrations/utils.js +1 -1
  54. package/src/suggestion.js +1 -1
  55. package/src/suggestiondescriptionfactory.js +1 -1
  56. package/src/trackchanges.js +1 -1
  57. package/src/trackchangesdata.js +1 -1
  58. package/src/trackchangesediting.js +1 -1
  59. package/src/trackchangesui.js +1 -1
  60. package/src/ui/suggestioncontroller.js +1 -1
  61. package/src/ui/view/basesuggestionthreadview.js +1 -1
  62. package/src/ui/view/suggestionthreadview.js +1 -1
  63. package/src/utils/common-translations.js +1 -1
  64. package/src/utils/utils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3ace=['trim','fontColor.colors','markInlineFormat','label','plugins','*Set\x20font\x20family:*\x20%0','_enableCommand','fontBackgroundColor','fontFamily','*Set\x20font\x20size:*\x20%0','document','model','afterInit','fontSize.options','TrackChangesEditing','format','*Set\x20font\x20background\x20color:*\x20%0','value','config','from','fontSize','fontColor','commandParams','FontSizeEditing','FontFamilyEditing','toLowerCase','editor','*Reset\x20font\x20family*','commandName','normalizeSizeOptions','registerDescriptionCallback','change','get','find','isCollapsed','selection','_descriptionFactory'];(function(_0x34d7e7,_0x3ace29){const _0x423a29=function(_0x3a65e6){while(--_0x3a65e6){_0x34d7e7['push'](_0x34d7e7['shift']());}};_0x423a29(++_0x3ace29);}(_0x3ace,0x142));const _0x423a=function(_0x34d7e7,_0x3ace29){_0x34d7e7=_0x34d7e7-0x0;let _0x423a29=_0x3ace[_0x34d7e7];return _0x423a29;};import{Plugin as _0x148d3a}from'ckeditor5/src/core';import{normalizeColorOptions as _0x5bbc4b}from'ckeditor5/src/ui';import{getRangesWithAttribute as _0x2fb58e}from'./utils';import{getTranslation as _0x314f08}from'../utils/common-translations';const Zt=[{'pluginName':_0x423a('0x22'),'commandName':_0x423a('0x1f')},{'pluginName':_0x423a('0x23'),'commandName':_0x423a('0x13')},{'pluginName':'FontColorEditing','commandName':_0x423a('0x20')},{'pluginName':'FontBackgroundColorEditing','commandName':_0x423a('0x12')}];export default class H extends _0x148d3a{[_0x423a('0x17')](){const _0x202252=this[_0x423a('0x0')]['locale'];for(const {pluginName:_0x227608,commandName:_0xfc1b95}of Zt)this[_0x423a('0x0')][_0x423a('0xf')]['has'](_0x227608)&&this['_enableCommand'](_0xfc1b95);this['editor'][_0x423a('0xf')]['get'](_0x423a('0x19'))[_0x423a('0xa')][_0x423a('0x4')](_0x1f3074=>{const _0x235dc1=_0x202252['t'],{data:_0x54d784}=_0x1f3074;if(null!=_0x54d784){if(_0x423a('0x1f')==_0x54d784[_0x423a('0x2')]){const _0x41f5fd=_0x54d784[_0x423a('0x21')][0x0][_0x423a('0x1c')];if(_0x41f5fd){const _0x7d0182=_0x235dc1(this[_0x423a('0x0')][_0x423a('0xf')][_0x423a('0x6')]('FontSize')[_0x423a('0x3')](this['editor']['config']['get'](_0x423a('0x18')))[_0x423a('0x7')](_0x5d7c2c=>_0x5d7c2c[_0x423a('0x16')]==_0x41f5fd)['title'])[_0x423a('0x24')]();return{'type':_0x423a('0x1a'),'content':_0x314f08(_0x202252,_0x423a('0x14'),_0x7d0182)};}return{'type':_0x423a('0x1a'),'content':_0x314f08(_0x202252,'*Reset\x20font\x20size*')};}if(_0x423a('0x13')==_0x54d784[_0x423a('0x2')]){const _0x323e42=_0x54d784['commandParams'][0x0]['value'];return _0x323e42?{'type':_0x423a('0x1a'),'content':_0x314f08(_0x202252,_0x423a('0x10'),_0x323e42)}:{'type':_0x423a('0x1a'),'content':_0x314f08(_0x202252,_0x423a('0x1'))};}if('fontColor'==_0x54d784[_0x423a('0x2')]){const _0x45e57d=_0x54d784[_0x423a('0x21')][0x0]['value'];if(_0x45e57d){const _0x4d4967=_0x5bbc4b(this[_0x423a('0x0')][_0x423a('0x1d')]['get'](_0x423a('0xc')))[_0x423a('0x7')](_0x10fd87=>_0x10fd87[_0x423a('0x16')]==_0x45e57d);let _0x45ec8e=_0x45e57d,_0x37b675='';return _0x4d4967&&(_0x45ec8e=_0x4d4967['label'],_0x37b675=_0x235dc1(_0x45ec8e)[_0x423a('0x24')]()),{'type':_0x423a('0x1a'),'content':_0x314f08(_0x202252,'*Set\x20font\x20color:*\x20%0',_0x37b675)[_0x423a('0xb')](),'color':{'value':_0x45e57d,'title':_0x37b675||_0x45ec8e}};}return{'type':_0x423a('0x1a'),'content':_0x314f08(_0x202252,'*Reset\x20font\x20color*')};}if(_0x423a('0x12')==_0x54d784[_0x423a('0x2')]){const _0x40de13=_0x54d784[_0x423a('0x21')][0x0]['value'];if(_0x40de13){const _0x20fcc2=_0x5bbc4b(this[_0x423a('0x0')]['config'][_0x423a('0x6')]('fontBackgroundColor.colors'))[_0x423a('0x7')](_0x5b54e1=>_0x5b54e1[_0x423a('0x16')]==_0x40de13);let _0x1c385e=_0x40de13,_0xf40a0d='';return _0x20fcc2&&(_0x1c385e=_0x20fcc2[_0x423a('0xe')],_0xf40a0d=_0x235dc1(_0x1c385e)[_0x423a('0x24')]()),{'type':_0x423a('0x1a'),'content':_0x314f08(_0x202252,_0x423a('0x1b'),_0xf40a0d)[_0x423a('0xb')](),'color':{'value':_0x40de13,'title':_0xf40a0d||_0x1c385e}};}return{'type':_0x423a('0x1a'),'content':_0x314f08(_0x202252,'*Reset\x20font\x20background\x20color*')};}}});}[_0x423a('0x11')](_0x598443){const _0x3f92d7=this['editor'];_0x3f92d7[_0x423a('0xf')][_0x423a('0x6')]('TrackChangesEditing')['enableCommand'](_0x598443,(_0x4c9c9f,_0x56833d={})=>{const _0xb579f3=_0x3f92d7['model'][_0x423a('0x15')][_0x423a('0x9')],_0x4cd983=_0x56833d[_0x423a('0x1c')];_0xb579f3[_0x423a('0x8')]?_0x4c9c9f(_0x56833d):_0x3f92d7['model'][_0x423a('0x5')](()=>{const _0xe97501=Array[_0x423a('0x1e')](_0xb579f3['getRanges']());for(const _0x35855c of _0xe97501){const _0x320d73=_0x4cd983?[_0x35855c]:_0x2fb58e(_0x598443,_0x35855c,_0x3f92d7[_0x423a('0x16')]);for(const _0x96444f of _0x320d73)_0x3f92d7[_0x423a('0xf')][_0x423a('0x6')]('TrackChangesEditing')[_0x423a('0xd')](_0x96444f,{'commandName':_0x598443,'commandParams':[{'value':_0x4cd983}]});}});});}}
23
+ const _0x3768=['*Reset\x20font\x20family*','markInlineFormat','from','selection','FontSize','editor','fontSize','commandParams','title','commandName','FontSizeEditing','*Set\x20font\x20family:*\x20%0','FontColorEditing','FontFamilyEditing','*Reset\x20font\x20color*','change','format','*Set\x20font\x20background\x20color:*\x20%0','afterInit','FontBackgroundColorEditing','_enableCommand','toLowerCase','label','isCollapsed','has','fontSize.options','get','locale','enableCommand','TrackChangesEditing','document','find','*Set\x20font\x20size:*\x20%0','*Reset\x20font\x20size*','plugins','_descriptionFactory','value','fontColor','fontBackgroundColor.colors','fontBackgroundColor','*Set\x20font\x20color:*\x20%0','fontColor.colors','model','fontFamily','trim','config'];(function(_0x3a6638,_0x376867){const _0x337d9e=function(_0x38ad6f){while(--_0x38ad6f){_0x3a6638['push'](_0x3a6638['shift']());}};_0x337d9e(++_0x376867);}(_0x3768,0x159));const _0x337d=function(_0x3a6638,_0x376867){_0x3a6638=_0x3a6638-0x0;let _0x337d9e=_0x3768[_0x3a6638];return _0x337d9e;};import{Plugin as _0x3f8aad}from'ckeditor5/src/core';import{normalizeColorOptions as _0x1d8d63}from'ckeditor5/src/ui';import{getRangesWithAttribute as _0xfcde08}from'./utils';import{getTranslation as _0xc41133}from'../utils/common-translations';const Zt=[{'pluginName':_0x337d('0x21'),'commandName':_0x337d('0x1d')},{'pluginName':_0x337d('0x24'),'commandName':_0x337d('0x14')},{'pluginName':_0x337d('0x23'),'commandName':'fontColor'},{'pluginName':_0x337d('0x2a'),'commandName':_0x337d('0x10')}];export default class H extends _0x3f8aad{[_0x337d('0x29')](){const _0x47b122=this[_0x337d('0x1c')][_0x337d('0x4')];for(const {pluginName:_0x1840ba,commandName:_0x40de13}of Zt)this[_0x337d('0x1c')][_0x337d('0xb')][_0x337d('0x1')](_0x1840ba)&&this['_enableCommand'](_0x40de13);this[_0x337d('0x1c')][_0x337d('0xb')]['get'](_0x337d('0x6'))[_0x337d('0xc')]['registerDescriptionCallback'](_0x40519a=>{const _0x3904ff=_0x47b122['t'],{data:_0x4b3600}=_0x40519a;if(null!=_0x4b3600){if(_0x337d('0x1d')==_0x4b3600[_0x337d('0x20')]){const _0x5d29fd=_0x4b3600[_0x337d('0x1e')][0x0][_0x337d('0xd')];if(_0x5d29fd){const _0xf5e943=_0x3904ff(this[_0x337d('0x1c')][_0x337d('0xb')][_0x337d('0x3')](_0x337d('0x1b'))['normalizeSizeOptions'](this[_0x337d('0x1c')][_0x337d('0x16')]['get'](_0x337d('0x2')))[_0x337d('0x8')](_0x48faab=>_0x48faab[_0x337d('0x13')]==_0x5d29fd)[_0x337d('0x1f')])[_0x337d('0x2c')]();return{'type':_0x337d('0x27'),'content':_0xc41133(_0x47b122,_0x337d('0x9'),_0xf5e943)};}return{'type':'format','content':_0xc41133(_0x47b122,_0x337d('0xa'))};}if('fontFamily'==_0x4b3600[_0x337d('0x20')]){const _0x157143=_0x4b3600['commandParams'][0x0][_0x337d('0xd')];return _0x157143?{'type':'format','content':_0xc41133(_0x47b122,_0x337d('0x22'),_0x157143)}:{'type':'format','content':_0xc41133(_0x47b122,_0x337d('0x17'))};}if(_0x337d('0xe')==_0x4b3600[_0x337d('0x20')]){const _0x599851=_0x4b3600[_0x337d('0x1e')][0x0][_0x337d('0xd')];if(_0x599851){const _0x1aa68c=_0x1d8d63(this['editor'][_0x337d('0x16')]['get'](_0x337d('0x12')))[_0x337d('0x8')](_0x39c04f=>_0x39c04f['model']==_0x599851);let _0x41077f=_0x599851,_0x4aa509='';return _0x1aa68c&&(_0x41077f=_0x1aa68c[_0x337d('0x2d')],_0x4aa509=_0x3904ff(_0x41077f)[_0x337d('0x2c')]()),{'type':_0x337d('0x27'),'content':_0xc41133(_0x47b122,_0x337d('0x11'),_0x4aa509)[_0x337d('0x15')](),'color':{'value':_0x599851,'title':_0x4aa509||_0x41077f}};}return{'type':_0x337d('0x27'),'content':_0xc41133(_0x47b122,_0x337d('0x25'))};}if('fontBackgroundColor'==_0x4b3600['commandName']){const _0x4bd1f2=_0x4b3600[_0x337d('0x1e')][0x0][_0x337d('0xd')];if(_0x4bd1f2){const _0x3ca831=_0x1d8d63(this[_0x337d('0x1c')][_0x337d('0x16')]['get'](_0x337d('0xf')))[_0x337d('0x8')](_0x3a63f3=>_0x3a63f3[_0x337d('0x13')]==_0x4bd1f2);let _0x5822d2=_0x4bd1f2,_0x4f0fcb='';return _0x3ca831&&(_0x5822d2=_0x3ca831['label'],_0x4f0fcb=_0x3904ff(_0x5822d2)[_0x337d('0x2c')]()),{'type':_0x337d('0x27'),'content':_0xc41133(_0x47b122,_0x337d('0x28'),_0x4f0fcb)['trim'](),'color':{'value':_0x4bd1f2,'title':_0x4f0fcb||_0x5822d2}};}return{'type':_0x337d('0x27'),'content':_0xc41133(_0x47b122,'*Reset\x20font\x20background\x20color*')};}}});}[_0x337d('0x2b')](_0x5d0135){const _0x112f45=this['editor'];_0x112f45[_0x337d('0xb')]['get']('TrackChangesEditing')[_0x337d('0x5')](_0x5d0135,(_0x37bd4e,_0x115448={})=>{const _0x3747d1=_0x112f45['model'][_0x337d('0x7')][_0x337d('0x1a')],_0x5a9ff7=_0x115448[_0x337d('0xd')];_0x3747d1[_0x337d('0x0')]?_0x37bd4e(_0x115448):_0x112f45[_0x337d('0x13')][_0x337d('0x26')](()=>{const _0x20fa6f=Array[_0x337d('0x19')](_0x3747d1['getRanges']());for(const _0x2bb033 of _0x20fa6f){const _0x51dfd2=_0x5a9ff7?[_0x2bb033]:_0xfcde08(_0x5d0135,_0x2bb033,_0x112f45[_0x337d('0x13')]);for(const _0x1b5eb6 of _0x51dfd2)_0x112f45[_0x337d('0xb')][_0x337d('0x3')](_0x337d('0x6'))[_0x337d('0x18')](_0x1b5eb6,{'commandName':_0x5d0135,'commandParams':[{'value':_0x5a9ff7}]});}});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x340c=['title','locale','FontSize','enableCommand','join','normalizeSizeOptions','format','*Set\x20format\x20to:*\x20%0','isBlock','toUpperCase','markInlineFormat','afterInit','isCollapsed','backward','modifySelection','selection','from','config','word','document','change','boolean','model','length','getSelectedBlocks','copyFormat','commands','entries','fontColor.colors','createSelection','createRange','TrackChangesEditing','fontSize','_descriptionFactory','fontSize.options','editor','label','push','toLowerCase','get','registerDescriptionCallback','getFirstPosition','getItems','pasteFormat','split','commandParams','*Remove\x20all\x20formatting*','getRanges','find','plugins','keys'];(function(_0x43b458,_0x340c17){const _0x43767d=function(_0x27dbcc){while(--_0x27dbcc){_0x43b458['push'](_0x43b458['shift']());}};_0x43767d(++_0x340c17);}(_0x340c,0x180));const _0x4376=function(_0x43b458,_0x340c17){_0x43b458=_0x43b458-0x0;let _0x43767d=_0x340c[_0x43b458];return _0x43767d;};import{Plugin as _0x561950}from'ckeditor5/src/core';import{normalizeColorOptions as _0x298478}from'ckeditor5/src/ui';import{first as _0x38f0f6}from'ckeditor5/src/utils';import{getTranslation as _0x467d91}from'../utils/common-translations';export default class W extends _0x561950{[_0x4376('0x23')](){const _0x1c7bbb=this[_0x4376('0x8')],_0x2cd01b=_0x1c7bbb[_0x4376('0x2e')],_0x5ede02=_0x2cd01b[_0x4376('0x2b')][_0x4376('0x27')],_0x5d0e92=_0x1c7bbb[_0x4376('0x16')][_0x4376('0xc')](_0x4376('0x4')),_0x1928bf=_0x1c7bbb[_0x4376('0x19')],_0x18c890=_0x1c7bbb[_0x4376('0x32')][_0x4376('0xc')](_0x4376('0x31')),_0x38331b=_0x1c7bbb[_0x4376('0x32')][_0x4376('0xc')](_0x4376('0x10'));_0x18c890&&_0x38331b&&(_0x5d0e92['enableCommand'](_0x4376('0x10'),(_0x4121f9,_0x29449a={})=>{const _0x317f75=_0x29449a;_0x2cd01b[_0x4376('0x2c')](()=>{const _0x263de3=Array[_0x4376('0x28')](_0x5ede02[_0x4376('0x14')]()),_0x343c11=_0x5ede02[_0x4376('0x24')]?[ro(_0x2cd01b,_0x5ede02)]:_0x263de3,_0x5d9be7=!!_0x38f0f6(function*(_0x463ece,_0x2c85a0){const _0x26f6d3=_0x86301=>!!_0x38f0f6(function*(_0x2b019e,_0x572b5b){for(const [_0x3a15e9]of _0x2b019e['getAttributes']()){const _0xbda7ed=_0x572b5b['getAttributeProperties'](_0x3a15e9);_0xbda7ed&&_0xbda7ed['isFormatting']&&(yield _0x3a15e9);}}(_0x86301,_0x2c85a0));for(const _0x52cb75 of _0x463ece[_0x4376('0x14')]())for(const _0x18e259 of _0x52cb75[_0x4376('0xf')]())!_0x2c85a0[_0x4376('0x20')](_0x18e259)&&_0x26f6d3(_0x18e259)&&(yield _0x18e259);for(const _0x551f71 of _0x463ece[_0x4376('0x30')]())_0x26f6d3(_0x551f71)&&(yield _0x551f71);_0x26f6d3(_0x463ece)&&(yield _0x463ece);}(_0x5ede02,_0x2cd01b['schema']));if(_0x5d9be7||0x0!==Object[_0x4376('0x17')](_0x317f75)[_0x4376('0x2f')])for(const _0x12e38d of _0x343c11)_0x5d0e92[_0x4376('0x22')](_0x12e38d,{'commandName':_0x4376('0x10'),'commandParams':[_0x317f75]});});}),_0x5d0e92[_0x4376('0x6')][_0x4376('0xd')](_0x3ccf93=>{const {data:_0x559d15}=_0x3ccf93;if(_0x559d15&&_0x4376('0x10')===_0x559d15['commandName']){const _0x51134f=[],_0x37ebc1=_0x559d15[_0x4376('0x12')][0x0];for(const [_0x584eb6,_0x229024]of Object[_0x4376('0x0')](_0x37ebc1))_0x51134f[_0x4376('0xa')](no(_0x1c7bbb,_0x584eb6,_0x229024));return _0x51134f[_0x4376('0x2f')]?{'type':_0x4376('0x1e'),'content':_0x467d91(_0x1928bf,_0x4376('0x1f'),_0x51134f[_0x4376('0x1c')](',\x20'))}:{'type':_0x4376('0x1e'),'content':_0x467d91(_0x1928bf,_0x4376('0x13'))};}}),_0x1c7bbb['plugins'][_0x4376('0xc')]('TrackChangesEditing')[_0x4376('0x1b')]('copyFormat'));}}function ro(_0x8fd2f4,_0x313710){const _0x51c1b7=_0x8fd2f4[_0x4376('0x2')](_0x313710);_0x8fd2f4['modifySelection'](_0x51c1b7,{'unit':_0x4376('0x2a'),'direction':_0x4376('0x25')});const _0x1a977e=_0x51c1b7[_0x4376('0xe')]();_0x8fd2f4[_0x4376('0x26')](_0x51c1b7,{'unit':_0x4376('0x2a'),'direction':'forward'});const _0x5ad218=_0x51c1b7['getLastPosition']();return _0x8fd2f4[_0x4376('0x3')](_0x1a977e,_0x5ad218);}function no(_0x441bc8,_0x2668ff,_0xa2c670){const _0x2f6467=_0x441bc8[_0x4376('0x19')]['t'],_0x42c06a=_0x2668ff[_0x4376('0x11')](/(?=[A-Z])/)['join']('\x20'),_0x2342a2=_0x2f6467(_0x42c06a['charAt'](0x0)[_0x4376('0x21')]()+_0x42c06a['slice'](0x1))['toLowerCase']();if(_0x4376('0x2d')==typeof _0xa2c670)return _0x2342a2;if('fontColor'===_0x2668ff||'fontBackgroundColor'===_0x2668ff){const _0x1801ba=_0x298478(_0x441bc8[_0x4376('0x29')][_0x4376('0xc')](_0x4376('0x1')))[_0x4376('0x15')](_0x10ee1f=>_0x10ee1f[_0x4376('0x2e')]==_0xa2c670);return _0x2342a2+'\x20('+(_0x1801ba?_0x2f6467(_0x1801ba[_0x4376('0x9')])[_0x4376('0xb')]():_0xa2c670)+')';}if(_0x4376('0x5')===_0x2668ff&&isNaN(parseFloat(_0xa2c670))){const _0x46b04a=_0x441bc8[_0x4376('0x16')][_0x4376('0xc')](_0x4376('0x1a'))[_0x4376('0x1d')](_0x441bc8[_0x4376('0x29')]['get'](_0x4376('0x7')))['find'](_0x3fc011=>_0x3fc011[_0x4376('0x2e')]==_0xa2c670);return _0x2342a2+'\x20('+(_0x46b04a?_0x2f6467(_0x46b04a[_0x4376('0x18')])[_0x4376('0xb')]():_0xa2c670)+')';}return _0x2342a2+'\x20('+_0xa2c670+')';}
23
+ const _0x5d80=['FontSize','registerDescriptionCallback','title','fontColor','*Set\x20format\x20to:*\x20%0','enableCommand','getFirstPosition','schema','document','editor','locale','selection','getAttributeProperties','entries','getAttributes','fontSize','backward','modifySelection','split','word','isCollapsed','_descriptionFactory','copyFormat','push','charAt','fontSize.options','getRanges','plugins','normalizeSizeOptions','commandName','isFormatting','TrackChangesEditing','config','commands','keys','join','get','from','createSelection','createRange','length','getSelectedBlocks','fontBackgroundColor','isBlock','model','find','toLowerCase','slice'];(function(_0x35351,_0x5d80e0){const _0x3b9f7c=function(_0xdff3c5){while(--_0xdff3c5){_0x35351['push'](_0x35351['shift']());}};_0x3b9f7c(++_0x5d80e0);}(_0x5d80,0x64));const _0x3b9f=function(_0x35351,_0x5d80e0){_0x35351=_0x35351-0x0;let _0x3b9f7c=_0x5d80[_0x35351];return _0x3b9f7c;};import{Plugin as _0x2f1b74}from'ckeditor5/src/core';import{normalizeColorOptions as _0x900d82}from'ckeditor5/src/ui';import{first as _0x155acb}from'ckeditor5/src/utils';import{getTranslation as _0x2275e7}from'../utils/common-translations';export default class W extends _0x2f1b74{['afterInit'](){const _0x5bfba9=this[_0x3b9f('0x5')],_0x2627d7=_0x5bfba9['model'],_0x12925b=_0x2627d7[_0x3b9f('0x4')][_0x3b9f('0x7')],_0x324921=_0x5bfba9[_0x3b9f('0x17')][_0x3b9f('0x20')](_0x3b9f('0x1b')),_0xe1e889=_0x5bfba9['locale'],_0x4e0438=_0x5bfba9[_0x3b9f('0x1d')]['get'](_0x3b9f('0x12')),_0x2ee97e=_0x5bfba9[_0x3b9f('0x1d')]['get']('pasteFormat');_0x4e0438&&_0x2ee97e&&(_0x324921[_0x3b9f('0x1')]('pasteFormat',(_0x190fe9,_0x2b1c51={})=>{const _0x3a1e70=_0x2b1c51;_0x2627d7['change'](()=>{const _0xd18af8=Array[_0x3b9f('0x21')](_0x12925b[_0x3b9f('0x16')]()),_0x5e6198=_0x12925b[_0x3b9f('0x10')]?[ro(_0x2627d7,_0x12925b)]:_0xd18af8,_0xfe721e=!!_0x155acb(function*(_0x2efc14,_0x1c36ca){const _0xd4eae7=_0x302fdd=>!!_0x155acb(function*(_0x2dac6f,_0x31ccd2){for(const [_0x18e279]of _0x2dac6f[_0x3b9f('0xa')]()){const _0x8d6f10=_0x31ccd2[_0x3b9f('0x8')](_0x18e279);_0x8d6f10&&_0x8d6f10[_0x3b9f('0x1a')]&&(yield _0x18e279);}}(_0x302fdd,_0x1c36ca));for(const _0x2d8394 of _0x2efc14[_0x3b9f('0x16')]())for(const _0x3d4021 of _0x2d8394['getItems']())!_0x1c36ca[_0x3b9f('0x27')](_0x3d4021)&&_0xd4eae7(_0x3d4021)&&(yield _0x3d4021);for(const _0x44d59a of _0x2efc14[_0x3b9f('0x25')]())_0xd4eae7(_0x44d59a)&&(yield _0x44d59a);_0xd4eae7(_0x2efc14)&&(yield _0x2efc14);}(_0x12925b,_0x2627d7[_0x3b9f('0x3')]));if(_0xfe721e||0x0!==Object[_0x3b9f('0x1e')](_0x3a1e70)[_0x3b9f('0x24')])for(const _0x4f700f of _0x5e6198)_0x324921['markInlineFormat'](_0x4f700f,{'commandName':'pasteFormat','commandParams':[_0x3a1e70]});});}),_0x324921[_0x3b9f('0x11')][_0x3b9f('0x2d')](_0x1c4d87=>{const {data:_0x1cc010}=_0x1c4d87;if(_0x1cc010&&'pasteFormat'===_0x1cc010[_0x3b9f('0x19')]){const _0x21f1ce=[],_0x49917a=_0x1cc010['commandParams'][0x0];for(const [_0x784624,_0x39e87b]of Object[_0x3b9f('0x9')](_0x49917a))_0x21f1ce[_0x3b9f('0x13')](no(_0x5bfba9,_0x784624,_0x39e87b));return _0x21f1ce[_0x3b9f('0x24')]?{'type':'format','content':_0x2275e7(_0xe1e889,_0x3b9f('0x0'),_0x21f1ce['join'](',\x20'))}:{'type':'format','content':_0x2275e7(_0xe1e889,'*Remove\x20all\x20formatting*')};}}),_0x5bfba9[_0x3b9f('0x17')][_0x3b9f('0x20')](_0x3b9f('0x1b'))[_0x3b9f('0x1')](_0x3b9f('0x12')));}}function ro(_0x391d69,_0x10d9a6){const _0x5be8d9=_0x391d69[_0x3b9f('0x22')](_0x10d9a6);_0x391d69[_0x3b9f('0xd')](_0x5be8d9,{'unit':'word','direction':_0x3b9f('0xc')});const _0x474d8d=_0x5be8d9[_0x3b9f('0x2')]();_0x391d69[_0x3b9f('0xd')](_0x5be8d9,{'unit':_0x3b9f('0xf'),'direction':'forward'});const _0x419aa7=_0x5be8d9['getLastPosition']();return _0x391d69[_0x3b9f('0x23')](_0x474d8d,_0x419aa7);}function no(_0x257754,_0x4fb6ac,_0x29d307){const _0x142ac9=_0x257754[_0x3b9f('0x6')]['t'],_0x228a1f=_0x4fb6ac[_0x3b9f('0xe')](/(?=[A-Z])/)[_0x3b9f('0x1f')]('\x20'),_0x3d35a1=_0x142ac9(_0x228a1f[_0x3b9f('0x14')](0x0)['toUpperCase']()+_0x228a1f[_0x3b9f('0x2b')](0x1))[_0x3b9f('0x2a')]();if('boolean'==typeof _0x29d307)return _0x3d35a1;if(_0x3b9f('0x2f')===_0x4fb6ac||_0x3b9f('0x26')===_0x4fb6ac){const _0x3fd7a0=_0x900d82(_0x257754[_0x3b9f('0x1c')][_0x3b9f('0x20')]('fontColor.colors'))[_0x3b9f('0x29')](_0x56b7ce=>_0x56b7ce[_0x3b9f('0x28')]==_0x29d307);return _0x3d35a1+'\x20('+(_0x3fd7a0?_0x142ac9(_0x3fd7a0['label'])['toLowerCase']():_0x29d307)+')';}if(_0x3b9f('0xb')===_0x4fb6ac&&isNaN(parseFloat(_0x29d307))){const _0xf52d48=_0x257754['plugins'][_0x3b9f('0x20')](_0x3b9f('0x2c'))[_0x3b9f('0x18')](_0x257754[_0x3b9f('0x1c')]['get'](_0x3b9f('0x15')))['find'](_0x3ff600=>_0x3ff600[_0x3b9f('0x28')]==_0x29d307);return _0x3d35a1+'\x20('+(_0xf52d48?_0x142ac9(_0xf52d48[_0x3b9f('0x2e')])['toLowerCase']():_0x29d307)+')';}return _0x3d35a1+'\x20('+_0x29d307+')';}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1071=['schema','document','value','name','enableCommand','blockName','selection','match','_descriptionFactory','get','parent','checkChild','model','has','isObject','afterInit','from','registerDescriptionCallback','commandName','format','config','plugins','commandParams','locale','editor','find','change','heading','*Change\x20to:*\x20%0','title','HeadingEditing'];(function(_0x630a5f,_0x107126){const _0x5c92bc=function(_0x5cd64a){while(--_0x5cd64a){_0x630a5f['push'](_0x630a5f['shift']());}};_0x5c92bc(++_0x107126);}(_0x1071,0x7d));const _0x5c92=function(_0x630a5f,_0x107126){_0x630a5f=_0x630a5f-0x0;let _0x5c92bc=_0x1071[_0x630a5f];return _0x5c92bc;};import{Plugin as _0x42a4a0}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x3b1861}from'./utils';import{getTranslation as _0x401f3f}from'../utils/common-translations';export default class J extends _0x42a4a0{[_0x5c92('0xe')](){const _0x3ba795=this[_0x5c92('0x17')],_0x46ebfc=_0x3ba795[_0x5c92('0x16')],_0x5c9ba5=_0x3ba795[_0x5c92('0x13')][_0x5c92('0x8')]('heading.options');if(!_0x3ba795[_0x5c92('0x14')][_0x5c92('0xc')](_0x5c92('0x1d')))return;const _0x540a8e=_0x3ba795['plugins']['get']('TrackChangesEditing');_0x540a8e[_0x5c92('0x3')]('heading',(_0x1c7cf5,_0x269641)=>{const _0x27822f=_0x269641['value'],_0x5a30c9=Array[_0x5c92('0xf')](this['editor'][_0x5c92('0xb')][_0x5c92('0x0')][_0x5c92('0x5')]['getSelectedBlocks']())['filter'](_0x45e230=>function(_0x538ea3,_0x549f60,_0x51fe37){return _0x51fe37[_0x5c92('0xa')](_0x538ea3[_0x5c92('0x9')],_0x549f60)&&!_0x51fe37[_0x5c92('0xd')](_0x538ea3)&&_0x538ea3[_0x5c92('0x2')]!=_0x549f60;}(_0x45e230,_0x27822f,this['editor'][_0x5c92('0xb')][_0x5c92('0x1e')]));_0x3ba795[_0x5c92('0xb')][_0x5c92('0x19')](()=>{for(const _0xf66be3 of _0x5a30c9)_0x540a8e['markBlockFormat'](_0xf66be3,{'commandName':_0x5c92('0x1a'),'commandParams':[_0x269641],'formatGroupId':_0x5c92('0x4')},_0x3b1861(_0xf66be3));});});for(const _0x3b33b7 of _0x5c9ba5)'paragraph'!=_0x3b33b7[_0x5c92('0xb')]&&_0x540a8e['_descriptionFactory']['registerElementLabel'](_0x3b33b7[_0x5c92('0xb')],_0x558943=>{const _0xacfc7e=nn(_0x3b33b7[_0x5c92('0xb')]);return null!==_0xacfc7e?_0x43aa1b(_0x558943,_0xacfc7e):_0x52b359(_0x558943,_0x3b33b7['title']);});function _0x43aa1b(_0x1a6023,_0x925bfc){return _0x401f3f(_0x46ebfc,'ELEMENT_HEADING',[_0x1a6023,_0x925bfc]);}function _0x52b359(_0x894858,_0x2705f0){return _0x401f3f(_0x46ebfc,'ELEMENT_HEADING_CUSTOM',[_0x894858,_0x2705f0]);}_0x540a8e[_0x5c92('0x7')][_0x5c92('0x10')](_0x3b4ebe=>{const {type:_0x4cd61e,data:_0x113cc7}=_0x3b4ebe;if('formatBlock'==_0x4cd61e&&_0x113cc7&&'heading'==_0x113cc7[_0x5c92('0x11')]){const _0x48d2a1=_0x113cc7[_0x5c92('0x15')][0x0][_0x5c92('0x1')],_0x2dfe17=nn(_0x48d2a1);if(null!==_0x2dfe17)return{'type':_0x5c92('0x12'),'content':_0x401f3f(_0x46ebfc,_0x5c92('0x1b'),_0x43aa1b(0x1,_0x2dfe17))};const _0x72eea5=_0x5c9ba5[_0x5c92('0x18')](_0x18281d=>_0x18281d[_0x5c92('0xb')]===_0x48d2a1)[_0x5c92('0x1c')];return{'type':_0x5c92('0x12'),'content':_0x401f3f(_0x46ebfc,'*Change\x20to:*\x20%0',_0x52b359(0x1,_0x72eea5))};}});}}function nn(_0x270288){const _0x8af93c=_0x270288[_0x5c92('0x6')](/^heading(\d+)$/);return _0x8af93c?_0x8af93c[0x1]:null;}
23
+ const _0x4ef5=['_descriptionFactory','blockName','title','get','heading','find','enableCommand','getSelectedBlocks','model','document','formatBlock','registerElementLabel','isObject','TrackChangesEditing','markBlockFormat','commandParams','format','config','heading.options','has','value','schema','filter','*Change\x20to:*\x20%0','HeadingEditing','name','plugins','editor','ELEMENT_HEADING','parent','paragraph','afterInit','ELEMENT_HEADING_CUSTOM'];(function(_0x36bde5,_0x4ef5a2){const _0x116ffb=function(_0x34581d){while(--_0x34581d){_0x36bde5['push'](_0x36bde5['shift']());}};_0x116ffb(++_0x4ef5a2);}(_0x4ef5,0x14a));const _0x116f=function(_0x36bde5,_0x4ef5a2){_0x36bde5=_0x36bde5-0x0;let _0x116ffb=_0x4ef5[_0x36bde5];return _0x116ffb;};import{Plugin as _0x9f899e}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x54f569}from'./utils';import{getTranslation as _0x28ca6d}from'../utils/common-translations';export default class J extends _0x9f899e{[_0x116f('0x1f')](){const _0x3dacbf=this['editor'],_0x4a54e1=_0x3dacbf['locale'],_0x10176=_0x3dacbf[_0x116f('0x11')][_0x116f('0x3')](_0x116f('0x12'));if(!_0x3dacbf[_0x116f('0x1a')][_0x116f('0x13')](_0x116f('0x18')))return;const _0x2d0a0d=_0x3dacbf[_0x116f('0x1a')]['get'](_0x116f('0xd'));_0x2d0a0d[_0x116f('0x6')](_0x116f('0x4'),(_0x6858f7,_0x2ee8d0)=>{const _0x454e58=_0x2ee8d0[_0x116f('0x14')],_0x352a02=Array['from'](this[_0x116f('0x1b')]['model'][_0x116f('0x9')]['selection'][_0x116f('0x7')]())[_0x116f('0x16')](_0x3904a0=>function(_0x2ea285,_0x40e9dc,_0x3eb5e7){return _0x3eb5e7['checkChild'](_0x2ea285[_0x116f('0x1d')],_0x40e9dc)&&!_0x3eb5e7[_0x116f('0xc')](_0x2ea285)&&_0x2ea285[_0x116f('0x19')]!=_0x40e9dc;}(_0x3904a0,_0x454e58,this['editor'][_0x116f('0x8')][_0x116f('0x15')]));_0x3dacbf[_0x116f('0x8')]['change'](()=>{for(const _0x2d8e48 of _0x352a02)_0x2d0a0d[_0x116f('0xe')](_0x2d8e48,{'commandName':_0x116f('0x4'),'commandParams':[_0x2ee8d0],'formatGroupId':_0x116f('0x1')},_0x54f569(_0x2d8e48));});});for(const _0x345ec4 of _0x10176)_0x116f('0x1e')!=_0x345ec4[_0x116f('0x8')]&&_0x2d0a0d['_descriptionFactory'][_0x116f('0xb')](_0x345ec4[_0x116f('0x8')],_0x6b4909=>{const _0x16aeda=nn(_0x345ec4[_0x116f('0x8')]);return null!==_0x16aeda?_0x1f6a06(_0x6b4909,_0x16aeda):_0x59566a(_0x6b4909,_0x345ec4[_0x116f('0x2')]);});function _0x1f6a06(_0x20d5cd,_0x255037){return _0x28ca6d(_0x4a54e1,_0x116f('0x1c'),[_0x20d5cd,_0x255037]);}function _0x59566a(_0x338b22,_0x19a255){return _0x28ca6d(_0x4a54e1,_0x116f('0x20'),[_0x338b22,_0x19a255]);}_0x2d0a0d[_0x116f('0x0')]['registerDescriptionCallback'](_0x4f142f=>{const {type:_0x27546c,data:_0xdef6cf}=_0x4f142f;if(_0x116f('0xa')==_0x27546c&&_0xdef6cf&&_0x116f('0x4')==_0xdef6cf['commandName']){const _0x6d7276=_0xdef6cf[_0x116f('0xf')][0x0][_0x116f('0x14')],_0x3d017f=nn(_0x6d7276);if(null!==_0x3d017f)return{'type':_0x116f('0x10'),'content':_0x28ca6d(_0x4a54e1,'*Change\x20to:*\x20%0',_0x1f6a06(0x1,_0x3d017f))};const _0x165338=_0x10176[_0x116f('0x5')](_0x34e243=>_0x34e243[_0x116f('0x8')]===_0x6d7276)[_0x116f('0x2')];return{'type':_0x116f('0x10'),'content':_0x28ca6d(_0x4a54e1,_0x116f('0x17'),_0x59566a(0x1,_0x165338))};}});}}function nn(_0x11b106){const _0x1c93bb=_0x11b106['match'](/^heading(\d+)$/);return _0x1c93bb?_0x1c93bb[0x1]:null;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x11b4=['model','selection','item','highlight.options','editor','find','getFirstPosition','TrackChangesEditing','getLastMatchingPosition','backward','format','commandParams','push','hasAttribute','get','commandName','toLowerCase','HighlightEditing','document','change','afterInit','*Remove\x20highlight*','getRanges','createRange','FORMAT_HIGHLIGHT','value','markInlineFormat','plugins','getAttribute','isCollapsed','highlight','title'];(function(_0x138ef8,_0x11b4bb){const _0x15cbef=function(_0x318e56){while(--_0x318e56){_0x138ef8['push'](_0x138ef8['shift']());}};_0x15cbef(++_0x11b4bb);}(_0x11b4,0xb6));const _0x15cb=function(_0x138ef8,_0x11b4bb){_0x138ef8=_0x138ef8-0x0;let _0x15cbef=_0x11b4[_0x138ef8];return _0x15cbef;};import{Plugin as _0x5da00a}from'ckeditor5/src/core';import{getTranslation as _0x26d0d4}from'../utils/common-translations';import{getRangesWithAttribute as _0x18ca7c}from'./utils';export default class K extends _0x5da00a{[_0x15cb('0x1e')](){const _0x1c19b8=this[_0x15cb('0xe')];if(!_0x1c19b8[_0x15cb('0x5')]['has'](_0x15cb('0x1b')))return;const _0xbc06dd=_0x1c19b8[_0x15cb('0x5')][_0x15cb('0x18')](_0x15cb('0x11'));_0xbc06dd['enableCommand'](_0x15cb('0x8'),(_0x4ba146,_0x52481e={})=>{const _0x1d259f=_0x1c19b8['model'][_0x15cb('0x1c')][_0x15cb('0xb')],_0x17f38c=_0x1d259f[_0x15cb('0x6')]('highlight');let _0xcca6af=_0x52481e[_0x15cb('0x3')],_0xa73d37=[];if(_0x1d259f[_0x15cb('0x7')]){const _0x67c89f=_0x1d259f[_0x15cb('0x10')]();if(!_0x1d259f[_0x15cb('0x17')]('highlight'))return void _0x4ba146(_0x52481e);{const _0x489926=_0x4cfb1c=>_0x4cfb1c[_0x15cb('0xc')][_0x15cb('0x6')](_0x15cb('0x8'))===_0x17f38c,_0x338da7=_0x67c89f[_0x15cb('0x12')](_0x489926,{'direction':_0x15cb('0x13')}),_0x578863=_0x67c89f[_0x15cb('0x12')](_0x489926);_0xa73d37=[_0x1c19b8['model'][_0x15cb('0x1')](_0x338da7,_0x578863)],_0xcca6af==_0x17f38c&&(_0xcca6af=null);}}else for(const _0x63fb00 of _0x1d259f[_0x15cb('0x0')]())_0xcca6af?_0xa73d37[_0x15cb('0x16')](_0x63fb00):_0xa73d37[_0x15cb('0x16')](..._0x18ca7c(_0x15cb('0x8'),_0x63fb00,_0x1c19b8[_0x15cb('0xa')]));_0x1c19b8[_0x15cb('0xa')][_0x15cb('0x1d')](()=>{for(const _0x29a2e of _0xa73d37)_0xbc06dd[_0x15cb('0x4')](_0x29a2e,{'commandName':'highlight','commandParams':[{'value':_0xcca6af}]});});});const _0x443a3e=_0x1c19b8['locale'];_0xbc06dd['_descriptionFactory']['registerDescriptionCallback'](_0x1b452b=>{const {type:_0x2e3a23,data:_0x1ec13d}=_0x1b452b;if('formatInline'==_0x2e3a23&&_0x1ec13d&&'highlight'==_0x1ec13d[_0x15cb('0x19')]){const _0x40a098=_0x443a3e['t'],_0x5400d8=_0x1ec13d[_0x15cb('0x15')][0x0]['value'];if(_0x5400d8){const _0x208356=_0x1c19b8['config']['get'](_0x15cb('0xd'))[_0x15cb('0xf')](_0xe2a3b2=>_0xe2a3b2[_0x15cb('0xa')]==_0x5400d8),_0x553614=_0x40a098(_0x208356[_0x15cb('0x9')])[_0x15cb('0x1a')]();return{'type':_0x15cb('0x14'),'content':_0x26d0d4(_0x443a3e,'*Set\x20highlight:*\x20%0',_0x553614),'color':{'value':_0x208356['color'],'title':_0x208356[_0x15cb('0x9')]}};}return{'type':_0x15cb('0x14'),'content':_0x26d0d4(_0x443a3e,_0x15cb('0x1f'),_0x26d0d4(_0x443a3e,_0x15cb('0x2')))};}});}}
23
+ const _0x5039=['editor','item','getRanges','plugins','push','config','has','value','getFirstPosition','commandName','format','selection','enableCommand','find','FORMAT_HIGHLIGHT','model','commandParams','document','toLowerCase','HighlightEditing','get','title','highlight','*Remove\x20highlight*','hasAttribute','getLastMatchingPosition','_descriptionFactory','registerDescriptionCallback','formatInline','change'];(function(_0x2777a7,_0x50393e){const _0x3d00cb=function(_0x314634){while(--_0x314634){_0x2777a7['push'](_0x2777a7['shift']());}};_0x3d00cb(++_0x50393e);}(_0x5039,0x109));const _0x3d00=function(_0x2777a7,_0x50393e){_0x2777a7=_0x2777a7-0x0;let _0x3d00cb=_0x5039[_0x2777a7];return _0x3d00cb;};import{Plugin as _0xbae39b}from'ckeditor5/src/core';import{getTranslation as _0x2bc449}from'../utils/common-translations';import{getRangesWithAttribute as _0x40b1a8}from'./utils';export default class K extends _0xbae39b{['afterInit'](){const _0x2e65bc=this[_0x3d00('0x5')];if(!_0x2e65bc['plugins'][_0x3d00('0xb')](_0x3d00('0x18')))return;const _0x5010ae=_0x2e65bc[_0x3d00('0x8')][_0x3d00('0x19')]('TrackChangesEditing');_0x5010ae[_0x3d00('0x11')](_0x3d00('0x1b'),(_0x5c18b3,_0x661496={})=>{const _0x42d95e=_0x2e65bc['model'][_0x3d00('0x16')][_0x3d00('0x10')],_0x34d5ed=_0x42d95e['getAttribute']('highlight');let _0x1ea06d=_0x661496[_0x3d00('0xc')],_0xe7369a=[];if(_0x42d95e['isCollapsed']){const _0x37c664=_0x42d95e[_0x3d00('0xd')]();if(!_0x42d95e[_0x3d00('0x1d')](_0x3d00('0x1b')))return void _0x5c18b3(_0x661496);{const _0x303fea=_0x38f853=>_0x38f853[_0x3d00('0x6')]['getAttribute']('highlight')===_0x34d5ed,_0x19a7e7=_0x37c664[_0x3d00('0x0')](_0x303fea,{'direction':'backward'}),_0x4dbd19=_0x37c664[_0x3d00('0x0')](_0x303fea);_0xe7369a=[_0x2e65bc[_0x3d00('0x14')]['createRange'](_0x19a7e7,_0x4dbd19)],_0x1ea06d==_0x34d5ed&&(_0x1ea06d=null);}}else for(const _0x7862b3 of _0x42d95e[_0x3d00('0x7')]())_0x1ea06d?_0xe7369a[_0x3d00('0x9')](_0x7862b3):_0xe7369a[_0x3d00('0x9')](..._0x40b1a8('highlight',_0x7862b3,_0x2e65bc[_0x3d00('0x14')]));_0x2e65bc['model'][_0x3d00('0x4')](()=>{for(const _0x6b2559 of _0xe7369a)_0x5010ae['markInlineFormat'](_0x6b2559,{'commandName':_0x3d00('0x1b'),'commandParams':[{'value':_0x1ea06d}]});});});const _0x11f004=_0x2e65bc['locale'];_0x5010ae[_0x3d00('0x1')][_0x3d00('0x2')](_0xd85c99=>{const {type:_0x258d11,data:_0x24baf4}=_0xd85c99;if(_0x3d00('0x3')==_0x258d11&&_0x24baf4&&_0x3d00('0x1b')==_0x24baf4[_0x3d00('0xe')]){const _0x3d5906=_0x11f004['t'],_0x107fbc=_0x24baf4[_0x3d00('0x15')][0x0][_0x3d00('0xc')];if(_0x107fbc){const _0x16523c=_0x2e65bc[_0x3d00('0xa')][_0x3d00('0x19')]('highlight.options')[_0x3d00('0x12')](_0x401c6e=>_0x401c6e[_0x3d00('0x14')]==_0x107fbc),_0x577926=_0x3d5906(_0x16523c[_0x3d00('0x1a')])[_0x3d00('0x17')]();return{'type':'format','content':_0x2bc449(_0x11f004,'*Set\x20highlight:*\x20%0',_0x577926),'color':{'value':_0x16523c['color'],'title':_0x16523c['title']}};}return{'type':_0x3d00('0xf'),'content':_0x2bc449(_0x11f004,_0x3d00('0x1c'),_0x2bc449(_0x11f004,_0x3d00('0x13')))};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xbf12=['_descriptionFactory','createEmptyElement','insert','TrackChangesEditing','ck-horizontal-line','div','addClass','enableCommand','editor','has','plugins','createContainerElement','locale','createPositionAt','HorizontalLineEditing','dataDowncast','for','registerElementLabel','horizontalLine','afterInit','get'];(function(_0x7af958,_0xbf1251){const _0x1d618d=function(_0x3ede35){while(--_0x3ede35){_0x7af958['push'](_0x7af958['shift']());}};_0x1d618d(++_0xbf1251);}(_0xbf12,0x84));const _0x1d61=function(_0x7af958,_0xbf1251){_0x7af958=_0x7af958-0x0;let _0x1d618d=_0xbf12[_0x7af958];return _0x1d618d;};import{Plugin as _0x16cf9e}from'ckeditor5/src/core';import{getTranslation as _0x4754f6}from'../utils/common-translations';export default class Q extends _0x16cf9e{[_0x1d61('0xd')](){const _0x20144b=this[_0x1d61('0x2')];if(!_0x20144b[_0x1d61('0x4')][_0x1d61('0x3')](_0x1d61('0x8')))return;_0x20144b[_0x1d61('0x4')]['get'](_0x1d61('0x12'))[_0x1d61('0x1')](_0x1d61('0xc'));const _0x38b94d=_0x20144b[_0x1d61('0x4')][_0x1d61('0xe')]('TrackChangesEditing'),_0x29e5f1=_0x20144b[_0x1d61('0x6')];_0x38b94d[_0x1d61('0xf')][_0x1d61('0xb')]('horizontalLine',_0x3e6a34=>_0x4754f6(_0x29e5f1,'ELEMENT_HORIZONTAL_LINE',_0x3e6a34)),_0x20144b['conversion'][_0x1d61('0xa')](_0x1d61('0x9'))['elementToStructure']({'model':_0x1d61('0xc'),'view':(_0x3922bd,{writer:_0x568b87,options:_0x1f01c7})=>{if(!_0x1f01c7['showSuggestionHighlights'])return null;const _0x49d058=_0x568b87[_0x1d61('0x5')](_0x1d61('0x14')),_0x544eaa=_0x568b87[_0x1d61('0x10')]('hr');return _0x568b87[_0x1d61('0x0')](_0x1d61('0x13'),_0x49d058),_0x568b87[_0x1d61('0x11')](_0x568b87[_0x1d61('0x7')](_0x49d058,0x0),_0x544eaa),_0x49d058;},'converterPriority':'high'});}}
23
+ const _0x4d17=['div','addClass','conversion','TrackChangesEditing','horizontalLine','has','_descriptionFactory','editor','ELEMENT_HORIZONTAL_LINE','HorizontalLineEditing','dataDowncast','createPositionAt','ck-horizontal-line','locale','createEmptyElement','high','createContainerElement','get','showSuggestionHighlights','registerElementLabel','plugins'];(function(_0x2c32a6,_0x4d170e){const _0x4bc6d6=function(_0x4fbd70){while(--_0x4fbd70){_0x2c32a6['push'](_0x2c32a6['shift']());}};_0x4bc6d6(++_0x4d170e);}(_0x4d17,0x11d));const _0x4bc6=function(_0x2c32a6,_0x4d170e){_0x2c32a6=_0x2c32a6-0x0;let _0x4bc6d6=_0x4d17[_0x2c32a6];return _0x4bc6d6;};import{Plugin as _0x3d77a5}from'ckeditor5/src/core';import{getTranslation as _0x1cd51c}from'../utils/common-translations';export default class Q extends _0x3d77a5{['afterInit'](){const _0x29ad4c=this[_0x4bc6('0x10')];if(!_0x29ad4c[_0x4bc6('0x8')][_0x4bc6('0xe')](_0x4bc6('0x12')))return;_0x29ad4c['plugins'][_0x4bc6('0x5')](_0x4bc6('0xc'))['enableCommand'](_0x4bc6('0xd'));const _0x46231e=_0x29ad4c[_0x4bc6('0x8')][_0x4bc6('0x5')]('TrackChangesEditing'),_0x52f3ca=_0x29ad4c[_0x4bc6('0x1')];_0x46231e[_0x4bc6('0xf')][_0x4bc6('0x7')]('horizontalLine',_0x25f0c3=>_0x1cd51c(_0x52f3ca,_0x4bc6('0x11'),_0x25f0c3)),_0x29ad4c[_0x4bc6('0xb')]['for'](_0x4bc6('0x13'))['elementToStructure']({'model':_0x4bc6('0xd'),'view':(_0x46f059,{writer:_0x1aac1b,options:_0x44bb8e})=>{if(!_0x44bb8e[_0x4bc6('0x6')])return null;const _0x541d42=_0x1aac1b[_0x4bc6('0x4')](_0x4bc6('0x9')),_0x67591b=_0x1aac1b[_0x4bc6('0x2')]('hr');return _0x1aac1b[_0x4bc6('0xa')](_0x4bc6('0x0'),_0x541d42),_0x1aac1b['insert'](_0x1aac1b[_0x4bc6('0x14')](_0x541d42,0x0),_0x67591b),_0x541d42;},'converterPriority':_0x4bc6('0x3')});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1a7a=['locale','HtmlEmbed','afterInit','getSelectedElement','editing','selection','commandName','registerElementLabel','ELEMENT_HTML_EMBED','enableCommand','rawHtml','TrackChangesEditing','cancel','rawHtmlApi','plugins','get','registerDescriptionCallback','htmlEmbed','model','document','view','markBlockFormat'];(function(_0xe13829,_0x1a7a51){const _0x4175c2=function(_0x4f9825){while(--_0x4f9825){_0xe13829['push'](_0xe13829['shift']());}};_0x4175c2(++_0x1a7a51);}(_0x1a7a,0x9f));const _0x4175=function(_0xe13829,_0x1a7a51){_0xe13829=_0xe13829-0x0;let _0x4175c2=_0x1a7a[_0xe13829];return _0x4175c2;};import{Plugin as _0x49e67f}from'ckeditor5/src/core';import{getTranslation as _0x5ce17f}from'../utils/common-translations';export default class V extends _0x49e67f{[_0x4175('0x13')](){const _0x48c39a=this['editor'];if(!_0x48c39a['plugins']['has'](_0x4175('0x12')))return;const _0x11d094=_0x48c39a['plugins'][_0x4175('0xa')](_0x4175('0x6')),_0x5f34e2=_0x48c39a[_0x4175('0x11')],_0x4944f0=_0x48c39a[_0x4175('0x15')][_0x4175('0xf')][_0x4175('0xe')][_0x4175('0x0')];_0x11d094['_descriptionFactory'][_0x4175('0x2')](_0x4175('0x5'),_0x462472=>_0x5ce17f(_0x5f34e2,_0x4175('0x3'),_0x462472)),_0x48c39a[_0x4175('0x9')][_0x4175('0xa')](_0x4175('0x6'))[_0x4175('0x4')](_0x4175('0xc'),(_0x2834f3,_0x3b57ee)=>{const _0xcb52c9=_0x48c39a[_0x4175('0xd')],_0x1b83e2=_0xcb52c9['document'][_0x4175('0x0')];_0xcb52c9['change'](()=>{const _0xa3455e=function(_0x4933bd){const _0x10b28d=_0x4933bd[_0x4175('0x14')]();if(_0x10b28d&&_0x10b28d['is']('element',_0x4175('0x5')))return _0x4933bd[_0x4175('0x14')]();return null;}(_0x1b83e2);if(!_0xa3455e)return void _0x2834f3(null);const _0x1a7967=_0xa3455e['getAttribute']('value')||'';if(void 0x0===_0x3b57ee)return;if(_0x3b57ee===_0x1a7967)return;_0x11d094[_0x4175('0x10')](_0xa3455e,{'commandName':_0x4175('0xc'),'commandParams':[_0x3b57ee]}),_0x4944f0[_0x4175('0x14')]()['getCustomProperty'](_0x4175('0x8'))[_0x4175('0x7')]();});}),_0x11d094['_descriptionFactory'][_0x4175('0xb')](_0x251cda=>{const {data:_0xd57150}=_0x251cda;if(_0xd57150&&_0x4175('0xc')==_0xd57150[_0x4175('0x1')]){const _0x1e9c84=_0x5ce17f(_0x5f34e2,_0x4175('0x3'));return{'type':'format','content':_0x5ce17f(_0x5f34e2,'*Change\x20%0\x20content*',_0x1e9c84)};}});}}
23
+ const _0x18de=['cancel','document','value','editor','has','plugins','getCustomProperty','getSelectedElement','htmlEmbed','ELEMENT_HTML_EMBED','get','element','*Change\x20%0\x20content*','commandName','change','model','view','_descriptionFactory','enableCommand','HtmlEmbed','rawHtml','locale','selection','markBlockFormat','format','registerElementLabel','TrackChangesEditing'];(function(_0x20a2e3,_0x18defe){const _0x52490f=function(_0x5a409a){while(--_0x5a409a){_0x20a2e3['push'](_0x20a2e3['shift']());}};_0x52490f(++_0x18defe);}(_0x18de,0xed));const _0x5249=function(_0x20a2e3,_0x18defe){_0x20a2e3=_0x20a2e3-0x0;let _0x52490f=_0x18de[_0x20a2e3];return _0x52490f;};import{Plugin as _0x1e4e07}from'ckeditor5/src/core';import{getTranslation as _0x3e56c8}from'../utils/common-translations';export default class V extends _0x1e4e07{['afterInit'](){const _0x729be5=this[_0x5249('0x9')];if(!_0x729be5['plugins'][_0x5249('0xa')](_0x5249('0x19')))return;const _0x51dd92=_0x729be5[_0x5249('0xb')][_0x5249('0x10')]('TrackChangesEditing'),_0x8a6774=_0x729be5[_0x5249('0x0')],_0x1a768b=_0x729be5['editing'][_0x5249('0x16')][_0x5249('0x7')][_0x5249('0x1')];_0x51dd92['_descriptionFactory'][_0x5249('0x4')](_0x5249('0x1a'),_0x3fdbb1=>_0x3e56c8(_0x8a6774,_0x5249('0xf'),_0x3fdbb1)),_0x729be5[_0x5249('0xb')][_0x5249('0x10')](_0x5249('0x5'))[_0x5249('0x18')](_0x5249('0xe'),(_0x6c6afa,_0x2639aa)=>{const _0x2760bf=_0x729be5[_0x5249('0x15')],_0x596063=_0x2760bf['document'][_0x5249('0x1')];_0x2760bf[_0x5249('0x14')](()=>{const _0x2e6235=function(_0x2df1f5){const _0x1f2a5c=_0x2df1f5['getSelectedElement']();if(_0x1f2a5c&&_0x1f2a5c['is'](_0x5249('0x11'),_0x5249('0x1a')))return _0x2df1f5['getSelectedElement']();return null;}(_0x596063);if(!_0x2e6235)return void _0x6c6afa(null);const _0x5995dd=_0x2e6235['getAttribute'](_0x5249('0x8'))||'';if(void 0x0===_0x2639aa)return;if(_0x2639aa===_0x5995dd)return;_0x51dd92[_0x5249('0x2')](_0x2e6235,{'commandName':_0x5249('0xe'),'commandParams':[_0x2639aa]}),_0x1a768b[_0x5249('0xd')]()[_0x5249('0xc')]('rawHtmlApi')[_0x5249('0x6')]();});}),_0x51dd92[_0x5249('0x17')]['registerDescriptionCallback'](_0x4f2150=>{const {data:_0x2f40db}=_0x4f2150;if(_0x2f40db&&_0x5249('0xe')==_0x2f40db[_0x5249('0x13')]){const _0x405e8d=_0x3e56c8(_0x8a6774,_0x5249('0xf'));return{'type':_0x5249('0x3'),'content':_0x3e56c8(_0x8a6774,_0x5249('0x12'),_0x405e8d)};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x351b=['formatBlock','getContainedElement','format','FORMAT_SIDE_IMAGE','forward','addObject','Inline\x20image\x20to\x20block\x20image','ImageResize','getAttribute','has','detach','nodeAfter','discard','shouldConvertImageType','ImageUploadEditing','previous','ELEMENT_CAPTION','imageStylePostApply','ImageUtils','imageTextAlternative','markBlockFormat','document','imageInline','enableCommand','chain','ImageTextAlternativeEditing','toPrevious','commands','newRange','name','registerCustomCallback','normalizedStyles','uploadImage','ImageBlockEditing','commandReversedParams','side','*Reset\x20image\x20width*','title','ELEMENT_INLINE_IMAGE','isEqual','isBefore','toNext','editor','forEach','model','locale','Users','deletion','backward','suggestion','schema','imageCaption','ImageEditing','formatInline','imageStyle','start','ImageCaptionUtils','*Format:*\x20%0','*Set\x20image\x20text\x20alternative:*\x20%0','width','refresh','ImageInlineEditing','_descriptionFactory','TrackChangesEditing','isCollapsed','imageStylePreApply','findIndex','commandParams','imageTypeInline','newValue','_suggestionFactory','from','type','_findSuggestions','markDeletion','isBlockImage','*Remove\x20image\x20text\x20alternative*','next','ImageStyleEditing','insertion','removeObject','registerElementLabel','convertInlineImageToBlock','getSuggestionCallback','getCaptionFromImageModelElement','discardSuggestion','join','getSuggestions','get','isInlineImage','plugins','accept','convertBlockImageToInline','createRange','ImageCaptionEditing','end','filter','fromPosition','getSuggestion','selection','markInsertion','alt','registerDescriptionCallback','value','isInContent','insertImage','imageTypeBlock','subType','getFirstRange','registerPostFixer','markInlineFormat','createRangeOn','getChangedMarkers','resizeImage','nodeBefore','length','getClosestSelectedImageElement','change','getNearestSelectionRange','hasSuggestion','element','commandName','_splitMarkerName'];(function(_0x40791,_0x351b90){const _0x59c520=function(_0x8a3ebc){while(--_0x8a3ebc){_0x40791['push'](_0x40791['shift']());}};_0x59c520(++_0x351b90);}(_0x351b,0x65));const _0x59c5=function(_0x40791,_0x351b90){_0x40791=_0x40791-0x0;let _0x59c520=_0x351b[_0x40791];return _0x59c520;};import{Plugin as _0xe7ab11}from'ckeditor5/src/core';import{LivePosition as _0x594d04}from'ckeditor5/src/engine';import{uid as _0x4f68c7}from'ckeditor5/src/utils';import{getTranslation as _0x248874}from'../utils/common-translations';export default class X extends _0xe7ab11{['afterInit'](){const _0x14c25c=this[_0x59c5('0x40')];if(!_0x14c25c[_0x59c5('0x70')][_0x59c5('0x1f')](_0x59c5('0x4a')))return;const _0x94a8f1=_0x14c25c['plugins'][_0x59c5('0x6e')](_0x59c5('0x55')),_0x1b59d6=_0x14c25c[_0x59c5('0x70')]['get'](_0x59c5('0x28')),_0x54b0fb={},_0x1c1574=_0x14c25c[_0x59c5('0x43')];if(_0x94a8f1[_0x59c5('0x2d')](_0x59c5('0x4')),_0x94a8f1[_0x59c5('0x54')]['registerElementLabel']('imageBlock',_0x37c39d=>_0x248874(_0x1c1574,'ELEMENT_IMAGE',_0x37c39d)),_0x94a8f1['_descriptionFactory'][_0x59c5('0x67')](_0x59c5('0x2c'),_0x4f0f44=>_0x248874(_0x1c1574,_0x59c5('0x3c'),_0x4f0f44)),_0x94a8f1['_descriptionFactory']['registerElementLabel']('caption',()=>_0x248874(_0x1c1574,_0x59c5('0x26'))),_0x14c25c['plugins']['has'](_0x59c5('0x24'))&&_0x94a8f1['enableCommand'](_0x59c5('0x36')),_0x14c25c[_0x59c5('0x70')][_0x59c5('0x1f')](_0x59c5('0x37'))&&_0x14c25c[_0x59c5('0x70')][_0x59c5('0x1f')](_0x59c5('0x53'))&&(_0x94a8f1[_0x59c5('0x2d')]('imageTypeInline',(_0x14dee0,_0x38abb1)=>{const _0x114d0f=_0x1b59d6[_0x59c5('0xf')](_0x14c25c[_0x59c5('0x42')][_0x59c5('0x2b')]['selection']);_0x14c25c[_0x59c5('0x42')][_0x59c5('0x10')](()=>{_0x94a8f1[_0x59c5('0x2a')](_0x114d0f,{'commandName':_0x59c5('0x5a'),'commandParams':[_0x38abb1]},[],_0x59c5('0x72'));});}),_0x94a8f1[_0x59c5('0x2d')](_0x59c5('0x5'),(_0x4170a0,_0x3468cb)=>{_0x14c25c['model'][_0x59c5('0x10')](_0x107f6c=>{let _0x859b9b=_0x1b59d6['getClosestSelectedImageElement'](_0x14c25c[_0x59c5('0x42')][_0x59c5('0x2b')][_0x59c5('0x79')]),_0x460367=_0x107f6c['createRangeOn'](_0x859b9b);const _0x2a899a=_0x594d04[_0x59c5('0x77')](_0x460367[_0x59c5('0x4d')],_0x59c5('0x30')),_0x3f428e=_0x594d04[_0x59c5('0x77')](_0x460367['end'],_0x59c5('0x3f'));_0x94a8f1['forceDefaultExecution'](()=>_0x4170a0(_0x3468cb)),_0x859b9b=_0x1b59d6[_0x59c5('0xf')](_0x14c25c[_0x59c5('0x42')][_0x59c5('0x2b')][_0x59c5('0x79')]),_0x460367=_0x107f6c['createRangeOn'](_0x859b9b);const _0x5c8fc5=_0x107f6c['createRange'](_0x2a899a,_0x3f428e);_0x2a899a[_0x59c5('0x20')](),_0x3f428e[_0x59c5('0x20')](),_0x94a8f1[_0x59c5('0x2a')](_0x859b9b,{'commandName':'imageTypeInline','commandParams':[]},[],_0x59c5('0x68')),_0x5c8fc5['start'][_0x59c5('0x3e')](_0x460367[_0x59c5('0x4d')])&&_0x94a8f1['markInsertion'](_0x107f6c['createRange'](_0x5c8fc5[_0x59c5('0x4d')],_0x460367[_0x59c5('0x4d')]),'convertInlineImageToBlock'),_0x460367[_0x59c5('0x75')]['isBefore'](_0x5c8fc5[_0x59c5('0x75')])&&_0x94a8f1[_0x59c5('0x7a')](_0x107f6c['createRange'](_0x460367[_0x59c5('0x75')],_0x5c8fc5[_0x59c5('0x75')]),_0x59c5('0x68'));});}),_0x94a8f1[_0x59c5('0x5c')]['registerCustomCallback'](_0x59c5('0x16'),_0x59c5('0x68'),'join',()=>{}),_0x94a8f1['_suggestionFactory'][_0x59c5('0x34')](_0x59c5('0x16'),_0x59c5('0x68'),_0x59c5('0x71'),()=>{}),_0x94a8f1['_suggestionFactory']['registerCustomCallback']('formatBlock',_0x59c5('0x68'),_0x59c5('0x22'),_0x94a8f1[_0x59c5('0x5c')]['getSuggestionCallback']('formatBlock','','accept')),_0x94a8f1[_0x59c5('0x5c')][_0x59c5('0x34')](_0x59c5('0x65'),_0x59c5('0x68'),'join',()=>{}),_0x94a8f1[_0x59c5('0x5c')][_0x59c5('0x34')](_0x59c5('0x65'),_0x59c5('0x68'),_0x59c5('0x22'),([_0x4a1648])=>{const _0x524e2b=_0x94a8f1['_suggestionFactory'][_0x59c5('0x69')](_0x59c5('0x65'),'',_0x59c5('0x22'));let _0x397f63=_0x4a1648[_0x59c5('0x4d')],_0x2abe4f=_0x4a1648[_0x59c5('0x75')];const _0x56d68a=_0x14c25c[_0x59c5('0x42')][_0x59c5('0x48')][_0x59c5('0x11')](_0x397f63,_0x59c5('0x46')),_0x48e61e=_0x14c25c[_0x59c5('0x42')][_0x59c5('0x48')][_0x59c5('0x11')](_0x2abe4f,_0x59c5('0x1a'));_0x56d68a[_0x59c5('0x56')]&&(_0x397f63=_0x56d68a[_0x59c5('0x4d')]),_0x48e61e[_0x59c5('0x56')]&&(_0x2abe4f=_0x48e61e[_0x59c5('0x75')]),_0x524e2b([_0x14c25c[_0x59c5('0x42')][_0x59c5('0x73')](_0x397f63,_0x2abe4f)]);}),_0x94a8f1[_0x59c5('0x5c')][_0x59c5('0x34')](_0x59c5('0x16'),_0x59c5('0x68'),'chain',_0x21ae27),_0x94a8f1['_suggestionFactory'][_0x59c5('0x34')](_0x59c5('0x65'),_0x59c5('0x68'),_0x59c5('0x2e'),_0x21ae27)),_0x14c25c['plugins'][_0x59c5('0x1f')](_0x59c5('0x74'))&&(_0x94a8f1[_0x59c5('0x2d')]('toggleImageCaption',(_0xe3335c,_0x2faf92)=>{const _0xfa783d=_0x14c25c[_0x59c5('0x70')][_0x59c5('0x6e')](_0x59c5('0x4e'));let _0x293d25=_0x1b59d6[_0x59c5('0xf')](_0x14c25c[_0x59c5('0x42')][_0x59c5('0x2b')][_0x59c5('0x79')]),_0x3df538=_0xfa783d[_0x59c5('0x6a')](_0x293d25);_0x14c25c[_0x59c5('0x42')]['change'](()=>{if(_0x3df538)return void _0x94a8f1[_0x59c5('0x60')](_0x14c25c[_0x59c5('0x42')]['createRangeOn'](_0x3df538));const _0x375a68=_0x1b59d6[_0x59c5('0x61')](_0x293d25);_0xe3335c(_0x2faf92),_0x293d25=_0x1b59d6[_0x59c5('0xf')](_0x14c25c[_0x59c5('0x42')][_0x59c5('0x2b')][_0x59c5('0x79')]),_0x3df538=_0xfa783d[_0x59c5('0x6a')](_0x293d25),_0x94a8f1[_0x59c5('0x7a')](_0x14c25c[_0x59c5('0x42')][_0x59c5('0xa')](_0x3df538),_0x375a68?null:'imageCaption');});}),_0x94a8f1[_0x59c5('0x5c')]['registerCustomCallback']('insertion',_0x59c5('0x49'),_0x59c5('0x2e'),_0x21ae27)),_0x14c25c[_0x59c5('0x70')][_0x59c5('0x1f')](_0x59c5('0x64'))){_0x94a8f1[_0x59c5('0x2d')](_0x59c5('0x4c'),(_0x53145a,_0x4f61de)=>{const _0x178833=_0x14c25c['plugins'][_0x59c5('0x6e')](_0x59c5('0x44'))['me'],_0x31e6b4=_0x14c25c[_0x59c5('0x31')][_0x59c5('0x6e')](_0x59c5('0x4c'));let _0x347cf9=_0x1b59d6[_0x59c5('0xf')](_0x14c25c[_0x59c5('0x42')][_0x59c5('0x2b')]['selection']),_0x10123a=_0x14c25c['model'][_0x59c5('0xa')](_0x347cf9),_0x26c1b3=_0x31e6b4[_0x59c5('0x2')];if(_0x26c1b3==_0x4f61de[_0x59c5('0x2')])return;const _0x5b0eb5={'commandName':_0x59c5('0x4c'),'commandParams':[_0x4f61de],'formatGroupId':_0x4f68c7()};_0x14c25c[_0x59c5('0x42')][_0x59c5('0x10')](()=>{if(_0x94a8f1[_0x59c5('0x6d')]()['filter'](_0x23eacb=>_0x23eacb[_0x59c5('0x3')]&&_0x178833==_0x23eacb['author']&&(_0x59c5('0x16')==_0x23eacb[_0x59c5('0x5e')]||'formatInline'==_0x23eacb[_0x59c5('0x5e')])&&(_0x59c5('0x57')==_0x23eacb[_0x59c5('0x6')]||_0x59c5('0x27')==_0x23eacb[_0x59c5('0x6')])&&_0x23eacb[_0x59c5('0x7')]()[_0x59c5('0x3d')](_0x10123a))[_0x59c5('0x41')](_0x4f1004=>_0x94a8f1[_0x59c5('0x6b')](_0x4f1004['head'])),_0x347cf9=_0x1b59d6[_0x59c5('0xf')](_0x14c25c['model']['document'][_0x59c5('0x79')]),_0x10123a=_0x14c25c[_0x59c5('0x42')]['createRangeOn'](_0x347cf9),_0x31e6b4[_0x59c5('0x52')](),_0x14c25c[_0x59c5('0x31')][_0x59c5('0x6e')](_0x59c5('0x5a'))['refresh'](),_0x14c25c['commands']['get'](_0x59c5('0x5'))[_0x59c5('0x52')](),_0x26c1b3=_0x31e6b4[_0x59c5('0x2')],_0x26c1b3!=_0x4f61de[_0x59c5('0x2')])return _0x1b59d6[_0x59c5('0x6f')](_0x347cf9)&&_0x31e6b4[_0x59c5('0x23')](_0x4f61de[_0x59c5('0x2')],_0x347cf9)?(_0x53145a(_0x4f61de),_0x347cf9=_0x1b59d6[_0x59c5('0xf')](_0x14c25c['model'][_0x59c5('0x2b')][_0x59c5('0x79')]),void _0x94a8f1['markBlockFormat'](_0x347cf9,{..._0x5b0eb5,'commandReversedParams':[{'value':_0x26c1b3||null}]},[],'imageStylePreApply')):void(_0x1b59d6[_0x59c5('0x61')](_0x347cf9)?_0x94a8f1[_0x59c5('0x2a')](_0x347cf9,_0x5b0eb5,[],'imageStylePostApply'):_0x94a8f1[_0x59c5('0x9')](_0x10123a,_0x5b0eb5,_0x59c5('0x27')));});});for(const _0x14fc4f of _0x14c25c[_0x59c5('0x70')][_0x59c5('0x6e')](_0x59c5('0x64'))[_0x59c5('0x35')])_0x54b0fb[_0x14fc4f[_0x59c5('0x33')]]=_0x14fc4f[_0x59c5('0x3b')]['toLowerCase']();_0x94a8f1[_0x59c5('0x5c')][_0x59c5('0x34')]('formatBlock',_0x59c5('0x57'),'join',()=>{}),_0x94a8f1['_suggestionFactory']['registerCustomCallback'](_0x59c5('0x16'),_0x59c5('0x27'),'join',()=>{}),_0x94a8f1[_0x59c5('0x5c')][_0x59c5('0x34')](_0x59c5('0x4b'),_0x59c5('0x27'),_0x59c5('0x6c'),()=>{}),_0x94a8f1[_0x59c5('0x5c')]['registerCustomCallback'](_0x59c5('0x16'),_0x59c5('0x57'),_0x59c5('0x71'),()=>{}),_0x94a8f1['_suggestionFactory'][_0x59c5('0x34')](_0x59c5('0x16'),_0x59c5('0x57'),_0x59c5('0x22'),(_0x2524cc,_0x5c2d33)=>{_0x94a8f1[_0x59c5('0x5c')][_0x59c5('0x69')](_0x59c5('0x16'),'','accept')(_0x2524cc,{'commandName':_0x5c2d33[_0x59c5('0x14')],'commandParams':_0x5c2d33[_0x59c5('0x38')]});}),_0x94a8f1[_0x59c5('0x5c')][_0x59c5('0x34')](_0x59c5('0x16'),'imageStylePreApply','chain',_0x21ae27);}const _0x530efb=[{'type':_0x59c5('0x16'),'subType':'imageStylePreApply'},{'type':'insertion','subType':_0x59c5('0x49')},{'type':_0x59c5('0x16'),'subType':'convertInlineImageToBlock'},{'type':_0x59c5('0x65'),'subType':_0x59c5('0x68')}];function _0x227d30(_0x3c7589,_0x41b428){const _0x41e762=_0x530efb[_0x59c5('0x58')](({type:_0x16ea30,subType:_0x3d5792})=>_0x3c7589[_0x59c5('0x5e')]==_0x16ea30&&_0x3c7589[_0x59c5('0x6')]==_0x3d5792),_0x102b14=_0x530efb[_0x59c5('0x58')](({type:_0x32fdd3,subType:_0x556385})=>_0x41b428[_0x59c5('0x5e')]==_0x32fdd3&&_0x41b428[_0x59c5('0x6')]==_0x556385);if(_0x41e762<0x0||_0x102b14<0x0)return!0x1;const _0x6506de=_0x3c7589[_0x59c5('0x7')](),_0xb49392=_0x41b428[_0x59c5('0x7')]();if((0x0==_0x41e762||0x1==_0x41e762)&&0x2==_0x102b14&&_0x6506de['isIntersecting'](_0xb49392))return!0x0;if(0x2==_0x41e762&&0x3==_0x102b14){const _0x4925b8=_0x94a8f1[_0x59c5('0x5f')](_0x6506de,_0x59c5('0x65'))[_0x59c5('0x76')](({suggestion:_0x295ac2,meta:_0x51b92b})=>_0x51b92b['isOwn']&&_0x59c5('0x68')==_0x295ac2['subType']);if(_0x4925b8['length']>0x1&&_0xb49392[_0x59c5('0x75')][_0x59c5('0x3d')](_0x6506de[_0x59c5('0x4d')]))return!0x0;if(0x1==_0x4925b8[_0x59c5('0xe')]&&(_0x6506de['start'][_0x59c5('0x3d')](_0xb49392[_0x59c5('0x75')])||_0x6506de[_0x59c5('0x75')]['isEqual'](_0xb49392[_0x59c5('0x4d')])))return!0x0;}if(0x3==_0x41e762&&0x3==_0x102b14&&_0x6506de[_0x59c5('0x4d')]['isBefore'](_0xb49392[_0x59c5('0x4d')])){const _0x4f9fa8=_0x6506de[_0x59c5('0x75')][_0x59c5('0x21')],_0x5e5d84=_0xb49392[_0x59c5('0x4d')][_0x59c5('0xd')];return _0x1b59d6['isBlockImage'](_0x4f9fa8)&&_0x4f9fa8===_0x5e5d84;}return!0x1;}function _0x21ae27(_0x48ea4a,_0x107992){return _0x227d30(_0x48ea4a,_0x107992)?[_0x48ea4a,_0x107992]:_0x227d30(_0x107992,_0x48ea4a)?[_0x107992,_0x48ea4a]:null;}_0x14c25c[_0x59c5('0x42')][_0x59c5('0x2b')][_0x59c5('0x8')](()=>{let _0x58c41d=!0x1;const _0x476917=Array[_0x59c5('0x5d')](_0x14c25c[_0x59c5('0x42')][_0x59c5('0x2b')]['differ'][_0x59c5('0xb')]());for(const {name:_0x2b8c0b,data:_0x1db4cb}of _0x476917){const {group:_0x4010f8,type:_0xbb07a3,subType:_0x26abac,id:_0x1a6c2c}=_0x94a8f1[_0x59c5('0x15')](_0x2b8c0b);if(_0x59c5('0x47')==_0x4010f8&&_0x94a8f1[_0x59c5('0x12')](_0x1a6c2c)){if(_0x59c5('0x16')==_0xbb07a3&&(_0x59c5('0x57')==_0x26abac||'imageStylePostApply'==_0x26abac)){const _0x530978=_0x94a8f1['getSuggestion'](_0x1a6c2c);if(_0x1db4cb[_0x59c5('0x32')]){const _0x49c7c8=_0x530978[_0x59c5('0x7')]()[_0x59c5('0x17')]();if(_0x1b59d6[_0x59c5('0x61')](_0x49c7c8))continue;_0x94a8f1[_0x59c5('0x6b')](_0x530978),_0x58c41d=!0x0;}}if(_0x59c5('0x65')==_0xbb07a3&&_0x59c5('0x49')==_0x26abac&&!_0x1db4cb[_0x59c5('0x32')]){const _0x562f26=_0x94a8f1[_0x59c5('0x78')](_0x1a6c2c);_0x562f26[_0x59c5('0x63')]&&_0x562f26[_0x59c5('0x63')][_0x59c5('0x3')]&&(_0x94a8f1[_0x59c5('0x6b')](_0x562f26[_0x59c5('0x63')]),_0x58c41d=!0x0);}}}return _0x58c41d;}),_0x14c25c[_0x59c5('0x70')][_0x59c5('0x1f')](_0x59c5('0x1d'))&&_0x94a8f1[_0x59c5('0x2d')](_0x59c5('0xc'),(_0x160e98,_0x4abb62)=>{const _0x403503=_0x1b59d6[_0x59c5('0xf')](_0x14c25c[_0x59c5('0x42')]['document'][_0x59c5('0x79')]);_0x403503[_0x59c5('0x1e')]('width')!=_0x4abb62['width']&&_0x14c25c[_0x59c5('0x42')][_0x59c5('0x10')](()=>{_0x94a8f1[_0x59c5('0x2a')](_0x403503,{'commandName':_0x59c5('0xc'),'commandParams':[_0x4abb62]});});}),_0x14c25c[_0x59c5('0x70')][_0x59c5('0x1f')](_0x59c5('0x2f'))&&_0x94a8f1[_0x59c5('0x2d')](_0x59c5('0x29'),(_0x513aa0,_0x46e370)=>{const _0x5d9a13=_0x1b59d6[_0x59c5('0xf')](_0x14c25c[_0x59c5('0x42')]['document'][_0x59c5('0x79')]);(_0x5d9a13['hasAttribute'](_0x59c5('0x0'))?_0x5d9a13[_0x59c5('0x1e')]('alt'):'')!=_0x46e370[_0x59c5('0x5b')]&&_0x14c25c['model'][_0x59c5('0x10')](()=>{_0x94a8f1[_0x59c5('0x2a')](_0x5d9a13,{'commandName':_0x59c5('0x29'),'commandParams':[_0x46e370]});});}),_0x94a8f1[_0x59c5('0x54')][_0x59c5('0x1')](_0x2d6dc0=>{if(!!_0x530efb['find'](({type:_0xa13784,subType:_0x133668})=>_0x2d6dc0[_0x59c5('0x5e')]==_0xa13784&&_0x2d6dc0[_0x59c5('0x6')]==_0x133668))return _0x2d6dc0[_0x59c5('0x25')]?{}:void 0x0;}),_0x94a8f1[_0x59c5('0x54')][_0x59c5('0x1')](_0xa01857=>{if(_0x59c5('0x65')==_0xa01857[_0x59c5('0x5e')]||_0x59c5('0x45')==_0xa01857[_0x59c5('0x5e')]){const _0x3c5c48=_0xa01857[_0x59c5('0x17')]();if(_0x3c5c48&&_0x3c5c48['is'](_0x59c5('0x13'),'caption'))return{'type':_0x59c5('0x65')==_0xa01857[_0x59c5('0x5e')]?_0x59c5('0x1b'):_0x59c5('0x66'),'element':_0x3c5c48,'quantity':0x1};}}),_0x94a8f1[_0x59c5('0x54')][_0x59c5('0x1')](_0xe5b238=>_0x59c5('0x16')==_0xe5b238[_0x59c5('0x5e')]&&'convertInlineImageToBlock'==_0xe5b238[_0x59c5('0x6')]?{'type':_0x59c5('0x18'),'content':_0x59c5('0x1c')}:'formatBlock'==_0xe5b238[_0x59c5('0x5e')]&&_0x59c5('0x72')==_0xe5b238[_0x59c5('0x6')]?{'type':_0x59c5('0x18'),'content':'Block\x20image\x20to\x20inline\x20image'}:void 0x0),_0x94a8f1[_0x59c5('0x54')][_0x59c5('0x1')](_0x1966fe=>{const {data:_0x1e074b}=_0x1966fe;if(_0x1e074b){if(_0x59c5('0x4c')==_0x1e074b['commandName']){const _0x285fba=_0x1e074b[_0x59c5('0x59')][0x0][_0x59c5('0x2')];return _0x203406(_0x59c5('0x39')===_0x285fba?_0x248874(_0x1c1574,_0x59c5('0x19')):_0x54b0fb[_0x285fba]||_0x285fba);}if(_0x59c5('0x29')==_0x1e074b[_0x59c5('0x14')]){const _0x57d61a=_0x1e074b[_0x59c5('0x59')][0x0][_0x59c5('0x5b')];return _0x57d61a?{'type':'format','content':_0x248874(_0x1c1574,_0x59c5('0x50'),'\x22'+_0x57d61a+'\x22')}:{'type':_0x59c5('0x18'),'content':_0x248874(_0x1c1574,_0x59c5('0x62'))};}if(_0x59c5('0xc')==_0x1e074b[_0x59c5('0x14')]){const _0x58e185=_0x1e074b[_0x59c5('0x59')][0x0][_0x59c5('0x51')];return _0x58e185?{'type':_0x59c5('0x18'),'content':_0x248874(_0x1c1574,'*Set\x20image\x20width:*\x20%0',_0x58e185)}:{'type':_0x59c5('0x18'),'content':_0x248874(_0x1c1574,_0x59c5('0x3a'))};}}function _0x203406(_0x325421){return{'type':_0x59c5('0x18'),'content':_0x248874(_0x1c1574,_0x59c5('0x4f'),_0x325421)};}});}}
23
+ const _0x28a2=['isOwn','imageStylePreApply','isIntersecting','chain','*Set\x20image\x20text\x20alternative:*\x20%0','registerCustomCallback','ImageUploadEditing','markBlockFormat','schema','markInsertion','*Reset\x20image\x20width*','_suggestionFactory','selection','accept','join','getSuggestions','imageTypeBlock','getContainedElement','find','discard','suggestion','convertBlockImageToInline','value','get','hasAttribute','imageTypeInline','format','document','head','getCaptionFromImageModelElement','ImageInlineEditing','getAttribute','ImageResize','createRange','ELEMENT_INLINE_IMAGE','markInlineFormat','registerElementLabel','filter','ImageTextAlternativeEditing','next','isBlockImage','fromPosition','hasSuggestion','toggleImageCaption','isCollapsed','getSuggestion','type','discardSuggestion','commandName','from','*Format:*\x20%0','markDeletion','*Remove\x20image\x20text\x20alternative*','removeObject','addObject','toLowerCase','author','refresh','newValue','start','ELEMENT_IMAGE','forEach','isInContent','nodeBefore','caption','getFirstRange','imageStylePostApply','has','imageStyle','alt','formatInline','Users','toPrevious','enableCommand','isEqual','resizeImage','end','findIndex','commandReversedParams','imageTextAlternative','registerPostFixer','editor','change','model','uploadImage','subType','getClosestSelectedImageElement','isBefore','getSuggestionCallback','length','commandParams','FORMAT_SIDE_IMAGE','_findSuggestions','nodeAfter','plugins','side','previous','_splitMarkerName','name','ImageCaptionEditing','title','_descriptionFactory','getChangedMarkers','convertInlineImageToBlock','registerDescriptionCallback','insertion','insertImage','element','normalizedStyles','shouldConvertImageType','Block\x20image\x20to\x20inline\x20image','imageBlock','ELEMENT_CAPTION','detach','commands','formatBlock','forward','createRangeOn','width','getNearestSelectionRange','imageCaption'];(function(_0x2eea22,_0x28a2b4){const _0x5cae74=function(_0x3329bb){while(--_0x3329bb){_0x2eea22['push'](_0x2eea22['shift']());}};_0x5cae74(++_0x28a2b4);}(_0x28a2,0x129));const _0x5cae=function(_0x2eea22,_0x28a2b4){_0x2eea22=_0x2eea22-0x0;let _0x5cae74=_0x28a2[_0x2eea22];return _0x5cae74;};import{Plugin as _0x31a235}from'ckeditor5/src/core';import{LivePosition as _0x51bd50}from'ckeditor5/src/engine';import{uid as _0x1eae74}from'ckeditor5/src/utils';import{getTranslation as _0x83161d}from'../utils/common-translations';export default class X extends _0x31a235{['afterInit'](){const _0x260c60=this[_0x5cae('0x1a')];if(!_0x260c60[_0x5cae('0x27')][_0x5cae('0xc')]('ImageEditing'))return;const _0x14b444=_0x260c60['plugins'][_0x5cae('0x59')]('TrackChangesEditing'),_0x11c572=_0x260c60[_0x5cae('0x27')][_0x5cae('0x59')]('ImageUtils'),_0x466f27={},_0x5558ed=_0x260c60['locale'];if(_0x14b444[_0x5cae('0x12')](_0x5cae('0x33')),_0x14b444[_0x5cae('0x2e')]['registerElementLabel'](_0x5cae('0x38'),_0x5d10d1=>_0x83161d(_0x5558ed,_0x5cae('0x5'),_0x5d10d1)),_0x14b444[_0x5cae('0x2e')][_0x5cae('0x66')]('imageInline',_0x51322b=>_0x83161d(_0x5558ed,_0x5cae('0x64'),_0x51322b)),_0x14b444[_0x5cae('0x2e')][_0x5cae('0x66')](_0x5cae('0x9'),()=>_0x83161d(_0x5558ed,_0x5cae('0x39'))),_0x260c60['plugins']['has'](_0x5cae('0x48'))&&_0x14b444[_0x5cae('0x12')](_0x5cae('0x1d')),_0x260c60[_0x5cae('0x27')]['has']('ImageBlockEditing')&&_0x260c60['plugins'][_0x5cae('0xc')](_0x5cae('0x60'))&&(_0x14b444[_0x5cae('0x12')]('imageTypeInline',(_0x38f148,_0x1f47e1)=>{const _0x41ed18=_0x11c572[_0x5cae('0x1f')](_0x260c60['model'][_0x5cae('0x5d')][_0x5cae('0x4e')]);_0x260c60[_0x5cae('0x1c')][_0x5cae('0x1b')](()=>{_0x14b444[_0x5cae('0x49')](_0x41ed18,{'commandName':'imageTypeInline','commandParams':[_0x1f47e1]},[],'convertBlockImageToInline');});}),_0x14b444[_0x5cae('0x12')](_0x5cae('0x52'),(_0x260a59,_0x179df9)=>{_0x260c60[_0x5cae('0x1c')][_0x5cae('0x1b')](_0x4a06d0=>{let _0x2654aa=_0x11c572['getClosestSelectedImageElement'](_0x260c60['model'][_0x5cae('0x5d')][_0x5cae('0x4e')]),_0x241da5=_0x4a06d0[_0x5cae('0x3e')](_0x2654aa);const _0x5ef3b3=_0x51bd50['fromPosition'](_0x241da5[_0x5cae('0x4')],_0x5cae('0x11')),_0x5dca89=_0x51bd50[_0x5cae('0x6b')](_0x241da5[_0x5cae('0x15')],'toNext');_0x14b444['forceDefaultExecution'](()=>_0x260a59(_0x179df9)),_0x2654aa=_0x11c572[_0x5cae('0x1f')](_0x260c60[_0x5cae('0x1c')][_0x5cae('0x5d')][_0x5cae('0x4e')]),_0x241da5=_0x4a06d0['createRangeOn'](_0x2654aa);const _0x21a1fb=_0x4a06d0[_0x5cae('0x63')](_0x5ef3b3,_0x5dca89);_0x5ef3b3[_0x5cae('0x3a')](),_0x5dca89[_0x5cae('0x3a')](),_0x14b444[_0x5cae('0x49')](_0x2654aa,{'commandName':'imageTypeInline','commandParams':[]},[],_0x5cae('0x30')),_0x21a1fb[_0x5cae('0x4')][_0x5cae('0x20')](_0x241da5['start'])&&_0x14b444[_0x5cae('0x4b')](_0x4a06d0['createRange'](_0x21a1fb[_0x5cae('0x4')],_0x241da5[_0x5cae('0x4')]),_0x5cae('0x30')),_0x241da5[_0x5cae('0x15')]['isBefore'](_0x21a1fb[_0x5cae('0x15')])&&_0x14b444['markInsertion'](_0x4a06d0['createRange'](_0x241da5[_0x5cae('0x15')],_0x21a1fb['end']),_0x5cae('0x30'));});}),_0x14b444[_0x5cae('0x4d')][_0x5cae('0x47')](_0x5cae('0x3c'),'convertInlineImageToBlock',_0x5cae('0x50'),()=>{}),_0x14b444[_0x5cae('0x4d')][_0x5cae('0x47')]('formatBlock',_0x5cae('0x30'),_0x5cae('0x4f'),()=>{}),_0x14b444[_0x5cae('0x4d')]['registerCustomCallback'](_0x5cae('0x3c'),_0x5cae('0x30'),_0x5cae('0x55'),_0x14b444[_0x5cae('0x4d')]['getSuggestionCallback'](_0x5cae('0x3c'),'',_0x5cae('0x4f'))),_0x14b444[_0x5cae('0x4d')][_0x5cae('0x47')](_0x5cae('0x32'),_0x5cae('0x30'),_0x5cae('0x50'),()=>{}),_0x14b444['_suggestionFactory'][_0x5cae('0x47')](_0x5cae('0x32'),'convertInlineImageToBlock',_0x5cae('0x55'),([_0x551f1e])=>{const _0x33e7dd=_0x14b444[_0x5cae('0x4d')][_0x5cae('0x21')]('insertion','',_0x5cae('0x55'));let _0x3c35fa=_0x551f1e[_0x5cae('0x4')],_0x3966ef=_0x551f1e[_0x5cae('0x15')];const _0x50f486=_0x260c60[_0x5cae('0x1c')][_0x5cae('0x4a')][_0x5cae('0x40')](_0x3c35fa,'backward'),_0x41b28f=_0x260c60[_0x5cae('0x1c')]['schema'][_0x5cae('0x40')](_0x3966ef,_0x5cae('0x3d'));_0x50f486[_0x5cae('0x6e')]&&(_0x3c35fa=_0x50f486['start']),_0x41b28f[_0x5cae('0x6e')]&&(_0x3966ef=_0x41b28f[_0x5cae('0x15')]),_0x33e7dd([_0x260c60['model'][_0x5cae('0x63')](_0x3c35fa,_0x3966ef)]);}),_0x14b444['_suggestionFactory'][_0x5cae('0x47')](_0x5cae('0x3c'),'convertInlineImageToBlock','chain',_0x5547a7),_0x14b444[_0x5cae('0x4d')]['registerCustomCallback'](_0x5cae('0x32'),_0x5cae('0x30'),_0x5cae('0x45'),_0x5547a7)),_0x260c60['plugins'][_0x5cae('0xc')](_0x5cae('0x2c'))&&(_0x14b444[_0x5cae('0x12')](_0x5cae('0x6d'),(_0x127f3b,_0x3c2dd0)=>{const _0x541926=_0x260c60[_0x5cae('0x27')]['get']('ImageCaptionUtils');let _0x5a1b6f=_0x11c572[_0x5cae('0x1f')](_0x260c60['model'][_0x5cae('0x5d')][_0x5cae('0x4e')]),_0x564bc9=_0x541926[_0x5cae('0x5f')](_0x5a1b6f);_0x260c60[_0x5cae('0x1c')]['change'](()=>{if(_0x564bc9)return void _0x14b444[_0x5cae('0x75')](_0x260c60[_0x5cae('0x1c')][_0x5cae('0x3e')](_0x564bc9));const _0x2dedbf=_0x11c572[_0x5cae('0x6a')](_0x5a1b6f);_0x127f3b(_0x3c2dd0),_0x5a1b6f=_0x11c572[_0x5cae('0x1f')](_0x260c60[_0x5cae('0x1c')]['document']['selection']),_0x564bc9=_0x541926['getCaptionFromImageModelElement'](_0x5a1b6f),_0x14b444[_0x5cae('0x4b')](_0x260c60['model'][_0x5cae('0x3e')](_0x564bc9),_0x2dedbf?null:_0x5cae('0x41'));});}),_0x14b444[_0x5cae('0x4d')][_0x5cae('0x47')](_0x5cae('0x32'),_0x5cae('0x41'),_0x5cae('0x45'),_0x5547a7)),_0x260c60[_0x5cae('0x27')][_0x5cae('0xc')]('ImageStyleEditing')){_0x14b444['enableCommand']('imageStyle',(_0xbdf112,_0x3f97d3)=>{const _0x26529e=_0x260c60[_0x5cae('0x27')]['get'](_0x5cae('0x10'))['me'],_0x2352d1=_0x260c60[_0x5cae('0x3b')]['get'](_0x5cae('0xd'));let _0x3b8776=_0x11c572[_0x5cae('0x1f')](_0x260c60[_0x5cae('0x1c')][_0x5cae('0x5d')][_0x5cae('0x4e')]),_0x2672f0=_0x260c60[_0x5cae('0x1c')][_0x5cae('0x3e')](_0x3b8776),_0x1e2dba=_0x2352d1['value'];if(_0x1e2dba==_0x3f97d3[_0x5cae('0x58')])return;const _0xa842e9={'commandName':_0x5cae('0xd'),'commandParams':[_0x3f97d3],'formatGroupId':_0x1eae74()};_0x260c60['model'][_0x5cae('0x1b')](()=>{if(_0x14b444[_0x5cae('0x51')]()[_0x5cae('0x67')](_0x5910e9=>_0x5910e9[_0x5cae('0x7')]&&_0x26529e==_0x5910e9[_0x5cae('0x1')]&&('formatBlock'==_0x5910e9['type']||_0x5cae('0xf')==_0x5910e9[_0x5cae('0x70')])&&(_0x5cae('0x43')==_0x5910e9[_0x5cae('0x1e')]||'imageStylePostApply'==_0x5910e9[_0x5cae('0x1e')])&&_0x5910e9[_0x5cae('0xa')]()[_0x5cae('0x13')](_0x2672f0))[_0x5cae('0x6')](_0x2b4ea0=>_0x14b444[_0x5cae('0x71')](_0x2b4ea0[_0x5cae('0x5e')])),_0x3b8776=_0x11c572[_0x5cae('0x1f')](_0x260c60[_0x5cae('0x1c')][_0x5cae('0x5d')][_0x5cae('0x4e')]),_0x2672f0=_0x260c60[_0x5cae('0x1c')][_0x5cae('0x3e')](_0x3b8776),_0x2352d1['refresh'](),_0x260c60[_0x5cae('0x3b')]['get'](_0x5cae('0x5b'))[_0x5cae('0x2')](),_0x260c60[_0x5cae('0x3b')][_0x5cae('0x59')](_0x5cae('0x52'))['refresh'](),_0x1e2dba=_0x2352d1['value'],_0x1e2dba!=_0x3f97d3[_0x5cae('0x58')])return _0x11c572['isInlineImage'](_0x3b8776)&&_0x2352d1[_0x5cae('0x36')](_0x3f97d3[_0x5cae('0x58')],_0x3b8776)?(_0xbdf112(_0x3f97d3),_0x3b8776=_0x11c572[_0x5cae('0x1f')](_0x260c60['model'][_0x5cae('0x5d')][_0x5cae('0x4e')]),void _0x14b444[_0x5cae('0x49')](_0x3b8776,{..._0xa842e9,'commandReversedParams':[{'value':_0x1e2dba||null}]},[],_0x5cae('0x43'))):void(_0x11c572[_0x5cae('0x6a')](_0x3b8776)?_0x14b444[_0x5cae('0x49')](_0x3b8776,_0xa842e9,[],_0x5cae('0xb')):_0x14b444[_0x5cae('0x65')](_0x2672f0,_0xa842e9,_0x5cae('0xb')));});});for(const _0x6092b7 of _0x260c60['plugins'][_0x5cae('0x59')]('ImageStyleEditing')[_0x5cae('0x35')])_0x466f27[_0x6092b7[_0x5cae('0x2b')]]=_0x6092b7[_0x5cae('0x2d')][_0x5cae('0x0')]();_0x14b444['_suggestionFactory'][_0x5cae('0x47')](_0x5cae('0x3c'),_0x5cae('0x43'),'join',()=>{}),_0x14b444[_0x5cae('0x4d')][_0x5cae('0x47')](_0x5cae('0x3c'),'imageStylePostApply','join',()=>{}),_0x14b444[_0x5cae('0x4d')][_0x5cae('0x47')]('formatInline',_0x5cae('0xb'),'join',()=>{}),_0x14b444['_suggestionFactory'][_0x5cae('0x47')](_0x5cae('0x3c'),_0x5cae('0x43'),_0x5cae('0x4f'),()=>{}),_0x14b444[_0x5cae('0x4d')][_0x5cae('0x47')](_0x5cae('0x3c'),'imageStylePreApply','discard',(_0x4bb0be,_0x339d80)=>{_0x14b444[_0x5cae('0x4d')][_0x5cae('0x21')](_0x5cae('0x3c'),'',_0x5cae('0x4f'))(_0x4bb0be,{'commandName':_0x339d80[_0x5cae('0x72')],'commandParams':_0x339d80[_0x5cae('0x17')]});}),_0x14b444['_suggestionFactory']['registerCustomCallback'](_0x5cae('0x3c'),_0x5cae('0x43'),'chain',_0x5547a7);}const _0x3409d4=[{'type':_0x5cae('0x3c'),'subType':_0x5cae('0x43')},{'type':_0x5cae('0x32'),'subType':_0x5cae('0x41')},{'type':'formatBlock','subType':_0x5cae('0x30')},{'type':'insertion','subType':_0x5cae('0x30')}];function _0xe289bf(_0x5f5aa3,_0xf6468f){const _0x4f8529=_0x3409d4[_0x5cae('0x16')](({type:_0xf83dfc,subType:_0x500a14})=>_0x5f5aa3['type']==_0xf83dfc&&_0x5f5aa3[_0x5cae('0x1e')]==_0x500a14),_0x5a6f32=_0x3409d4[_0x5cae('0x16')](({type:_0x3ac83d,subType:_0x58b7a3})=>_0xf6468f[_0x5cae('0x70')]==_0x3ac83d&&_0xf6468f['subType']==_0x58b7a3);if(_0x4f8529<0x0||_0x5a6f32<0x0)return!0x1;const _0x1d0921=_0x5f5aa3[_0x5cae('0xa')](),_0x559eac=_0xf6468f['getFirstRange']();if((0x0==_0x4f8529||0x1==_0x4f8529)&&0x2==_0x5a6f32&&_0x1d0921[_0x5cae('0x44')](_0x559eac))return!0x0;if(0x2==_0x4f8529&&0x3==_0x5a6f32){const _0x4ad0d1=_0x14b444[_0x5cae('0x25')](_0x1d0921,_0x5cae('0x32'))['filter'](({suggestion:_0x4910ad,meta:_0x4518d8})=>_0x4518d8[_0x5cae('0x42')]&&_0x5cae('0x30')==_0x4910ad[_0x5cae('0x1e')]);if(_0x4ad0d1[_0x5cae('0x22')]>0x1&&_0x559eac[_0x5cae('0x15')][_0x5cae('0x13')](_0x1d0921['start']))return!0x0;if(0x1==_0x4ad0d1[_0x5cae('0x22')]&&(_0x1d0921[_0x5cae('0x4')][_0x5cae('0x13')](_0x559eac[_0x5cae('0x15')])||_0x1d0921[_0x5cae('0x15')]['isEqual'](_0x559eac[_0x5cae('0x4')])))return!0x0;}if(0x3==_0x4f8529&&0x3==_0x5a6f32&&_0x1d0921[_0x5cae('0x4')]['isBefore'](_0x559eac['start'])){const _0x11ca0a=_0x1d0921[_0x5cae('0x15')][_0x5cae('0x26')],_0x5ce269=_0x559eac[_0x5cae('0x4')][_0x5cae('0x8')];return _0x11c572[_0x5cae('0x6a')](_0x11ca0a)&&_0x11ca0a===_0x5ce269;}return!0x1;}function _0x5547a7(_0x575e1e,_0x12466d){return _0xe289bf(_0x575e1e,_0x12466d)?[_0x575e1e,_0x12466d]:_0xe289bf(_0x12466d,_0x575e1e)?[_0x12466d,_0x575e1e]:null;}_0x260c60[_0x5cae('0x1c')][_0x5cae('0x5d')][_0x5cae('0x19')](()=>{let _0x2780bd=!0x1;const _0x35a8a1=Array[_0x5cae('0x73')](_0x260c60[_0x5cae('0x1c')][_0x5cae('0x5d')]['differ'][_0x5cae('0x2f')]());for(const {name:_0x2d48be,data:_0x544a08}of _0x35a8a1){const {group:_0x6a99db,type:_0x382b30,subType:_0x3e9529,id:_0x32e6b7}=_0x14b444[_0x5cae('0x2a')](_0x2d48be);if(_0x5cae('0x56')==_0x6a99db&&_0x14b444[_0x5cae('0x6c')](_0x32e6b7)){if(_0x5cae('0x3c')==_0x382b30&&(_0x5cae('0x43')==_0x3e9529||'imageStylePostApply'==_0x3e9529)){const _0x5da376=_0x14b444[_0x5cae('0x6f')](_0x32e6b7);if(_0x544a08['newRange']){const _0x4317e0=_0x5da376[_0x5cae('0xa')]()[_0x5cae('0x53')]();if(_0x11c572[_0x5cae('0x6a')](_0x4317e0))continue;_0x14b444[_0x5cae('0x71')](_0x5da376),_0x2780bd=!0x0;}}if('insertion'==_0x382b30&&'imageCaption'==_0x3e9529&&!_0x544a08['newRange']){const _0x52daf5=_0x14b444[_0x5cae('0x6f')](_0x32e6b7);_0x52daf5[_0x5cae('0x69')]&&_0x52daf5[_0x5cae('0x69')][_0x5cae('0x7')]&&(_0x14b444[_0x5cae('0x71')](_0x52daf5['next']),_0x2780bd=!0x0);}}}return _0x2780bd;}),_0x260c60['plugins']['has'](_0x5cae('0x62'))&&_0x14b444[_0x5cae('0x12')](_0x5cae('0x14'),(_0xa04236,_0x2e1cdb)=>{const _0xaa1221=_0x11c572[_0x5cae('0x1f')](_0x260c60[_0x5cae('0x1c')][_0x5cae('0x5d')]['selection']);_0xaa1221[_0x5cae('0x61')]('width')!=_0x2e1cdb[_0x5cae('0x3f')]&&_0x260c60[_0x5cae('0x1c')]['change'](()=>{_0x14b444['markBlockFormat'](_0xaa1221,{'commandName':_0x5cae('0x14'),'commandParams':[_0x2e1cdb]});});}),_0x260c60[_0x5cae('0x27')][_0x5cae('0xc')](_0x5cae('0x68'))&&_0x14b444[_0x5cae('0x12')](_0x5cae('0x18'),(_0x12f89c,_0x131c7d)=>{const _0x8894ef=_0x11c572[_0x5cae('0x1f')](_0x260c60[_0x5cae('0x1c')][_0x5cae('0x5d')][_0x5cae('0x4e')]);(_0x8894ef[_0x5cae('0x5a')]('alt')?_0x8894ef[_0x5cae('0x61')](_0x5cae('0xe')):'')!=_0x131c7d[_0x5cae('0x3')]&&_0x260c60[_0x5cae('0x1c')]['change'](()=>{_0x14b444[_0x5cae('0x49')](_0x8894ef,{'commandName':'imageTextAlternative','commandParams':[_0x131c7d]});});}),_0x14b444['_descriptionFactory'][_0x5cae('0x31')](_0x476817=>{if(!!_0x3409d4[_0x5cae('0x54')](({type:_0x4c59be,subType:_0x3821a2})=>_0x476817[_0x5cae('0x70')]==_0x4c59be&&_0x476817[_0x5cae('0x1e')]==_0x3821a2))return _0x476817[_0x5cae('0x29')]?{}:void 0x0;}),_0x14b444[_0x5cae('0x2e')][_0x5cae('0x31')](_0x15a4f1=>{if('insertion'==_0x15a4f1[_0x5cae('0x70')]||'deletion'==_0x15a4f1[_0x5cae('0x70')]){const _0x1fb82b=_0x15a4f1[_0x5cae('0x53')]();if(_0x1fb82b&&_0x1fb82b['is'](_0x5cae('0x34'),_0x5cae('0x9')))return{'type':_0x5cae('0x32')==_0x15a4f1[_0x5cae('0x70')]?_0x5cae('0x78'):_0x5cae('0x77'),'element':_0x1fb82b,'quantity':0x1};}}),_0x14b444[_0x5cae('0x2e')]['registerDescriptionCallback'](_0x36b24b=>_0x5cae('0x3c')==_0x36b24b[_0x5cae('0x70')]&&'convertInlineImageToBlock'==_0x36b24b['subType']?{'type':_0x5cae('0x5c'),'content':'Inline\x20image\x20to\x20block\x20image'}:_0x5cae('0x3c')==_0x36b24b[_0x5cae('0x70')]&&_0x5cae('0x57')==_0x36b24b[_0x5cae('0x1e')]?{'type':_0x5cae('0x5c'),'content':_0x5cae('0x37')}:void 0x0),_0x14b444[_0x5cae('0x2e')][_0x5cae('0x31')](_0x9f368=>{const {data:_0x350744}=_0x9f368;if(_0x350744){if(_0x5cae('0xd')==_0x350744[_0x5cae('0x72')]){const _0x31e8f4=_0x350744[_0x5cae('0x23')][0x0][_0x5cae('0x58')];return _0x1105be(_0x5cae('0x28')===_0x31e8f4?_0x83161d(_0x5558ed,_0x5cae('0x24')):_0x466f27[_0x31e8f4]||_0x31e8f4);}if(_0x5cae('0x18')==_0x350744[_0x5cae('0x72')]){const _0x562d62=_0x350744[_0x5cae('0x23')][0x0][_0x5cae('0x3')];return _0x562d62?{'type':'format','content':_0x83161d(_0x5558ed,_0x5cae('0x46'),'\x22'+_0x562d62+'\x22')}:{'type':'format','content':_0x83161d(_0x5558ed,_0x5cae('0x76'))};}if(_0x5cae('0x14')==_0x350744[_0x5cae('0x72')]){const _0x502a38=_0x350744[_0x5cae('0x23')][0x0]['width'];return _0x502a38?{'type':_0x5cae('0x5c'),'content':_0x83161d(_0x5558ed,'*Set\x20image\x20width:*\x20%0',_0x502a38)}:{'type':'format','content':_0x83161d(_0x5558ed,_0x5cae('0x4c'))};}}function _0x1105be(_0x5e09f8){return{'type':_0x5cae('0x5c'),'content':_0x83161d(_0x5558ed,_0x5cae('0x74'),_0x5e09f8)};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1009=['registerCustomCallback','locale','formatBlock','discard','TrackChangesEditing','document','get','editor','replaceImageSource','author','plugins','selection','_descriptionFactory','accept','src','_suggestionFactory','markBlockFormat','change','getContainedElement','commandName','handleSuggestionDescription','Users','getSuggestionCallback','handleReplaceImageCommand','getAttribute','has','enableCommand','registerDescriptionCallback','model','subType','ImageEditing','getSuggestions','commandParams'];(function(_0x2884bd,_0x10099b){const _0x5c7715=function(_0x5433f4){while(--_0x5433f4){_0x2884bd['push'](_0x2884bd['shift']());}};_0x5c7715(++_0x10099b);}(_0x1009,0x10e));const _0x5c77=function(_0x2884bd,_0x10099b){_0x2884bd=_0x2884bd-0x0;let _0x5c7715=_0x1009[_0x2884bd];return _0x5c7715;};import{Plugin as _0x3f97fd}from'ckeditor5/src/core';import{getTranslation as _0x27c542}from'../utils/common-translations';export default class Y extends _0x3f97fd{['afterInit'](){if(!this[_0x5c77('0x1')][_0x5c77('0x4')][_0x5c77('0x13')](_0x5c77('0x18')))return;const _0x3353b0=this[_0x5c77('0x1')]['plugins'][_0x5c77('0x0')](_0x5c77('0x1f'));_0x3353b0[_0x5c77('0x14')](_0x5c77('0x2'),(_0x2a6891,_0x417511)=>this['handleReplaceImageCommand'](_0x2a6891,_0x417511)),_0x3353b0[_0x5c77('0x9')][_0x5c77('0x1b')]('formatBlock',_0x5c77('0x2'),_0x5c77('0x7'),_0x3353b0[_0x5c77('0x9')][_0x5c77('0x10')](_0x5c77('0x1d'),null,_0x5c77('0x1e'))),_0x3353b0[_0x5c77('0x9')][_0x5c77('0x1b')](_0x5c77('0x1d'),_0x5c77('0x2'),_0x5c77('0x1e'),_0x3353b0['_suggestionFactory'][_0x5c77('0x10')](_0x5c77('0x1d'),null,_0x5c77('0x7'))),_0x3353b0[_0x5c77('0x6')][_0x5c77('0x15')](_0x1f0754=>this[_0x5c77('0xe')](_0x1f0754));}[_0x5c77('0x11')](_0xfc4ed2,_0x15be4b){const _0xa65c88=this[_0x5c77('0x1')][_0x5c77('0x4')][_0x5c77('0x0')]('TrackChangesEditing'),_0x5cd256=this[_0x5c77('0x1')][_0x5c77('0x16')][_0x5c77('0x20')][_0x5c77('0x5')]['getSelectedElement']();this['editor'][_0x5c77('0x16')][_0x5c77('0xb')](()=>{let _0x25010a=_0x5cd256[_0x5c77('0x12')](_0x5c77('0x8'));const _0x3eb4c3=this[_0x5c77('0x1')]['plugins'][_0x5c77('0x0')](_0x5c77('0xf'))['me'];for(const _0x147f81 of _0xa65c88[_0x5c77('0x19')]({'skipNotAttached':!0x0})){const _0x48c555=_0x147f81[_0x5c77('0xc')]();if(_0x5c77('0x2')===_0x147f81[_0x5c77('0x17')]&&_0x48c555===_0x5cd256){_0x147f81[_0x5c77('0x3')]!==_0x3eb4c3&&_0x147f81[_0x5c77('0x1e')](),_0x25010a=_0x147f81['data'][_0x5c77('0x1a')][0x0]['source'];break;}}_0xfc4ed2(_0x15be4b),_0xa65c88[_0x5c77('0xa')](_0x5cd256,{'commandName':_0x5c77('0x2'),'commandParams':[{'source':_0x25010a}]},[],'replaceImageSource');});}[_0x5c77('0xe')](_0x3ccfb9){const {data:_0x1c3f18}=_0x3ccfb9;if(_0x1c3f18&&_0x5c77('0x2')===_0x1c3f18[_0x5c77('0xd')]){const _0x19cfc9='*Format:*\x20replace\x20image\x20URL';return{'type':'format','content':_0x27c542(this[_0x5c77('0x1')][_0x5c77('0x1c')],_0x19cfc9)};}}}
23
+ const _0x6bbe=['TrackChangesEditing','getAttribute','accept','discard','handleReplaceImageCommand','plugins','getSuggestions','*Format:*\x20replace\x20image\x20URL','get','has','registerCustomCallback','data','editor','afterInit','commandName','formatBlock','document','commandParams','src','change','handleSuggestionDescription','model','replaceImageSource','_suggestionFactory','enableCommand'];(function(_0x55362e,_0x6bbed0){const _0xd439b2=function(_0x3c47d3){while(--_0x3c47d3){_0x55362e['push'](_0x55362e['shift']());}};_0xd439b2(++_0x6bbed0);}(_0x6bbe,0x1ca));const _0xd439=function(_0x55362e,_0x6bbed0){_0x55362e=_0x55362e-0x0;let _0xd439b2=_0x6bbe[_0x55362e];return _0xd439b2;};import{Plugin as _0x3787c5}from'ckeditor5/src/core';import{getTranslation as _0x40df92}from'../utils/common-translations';export default class Y extends _0x3787c5{[_0xd439('0x5')](){if(!this[_0xd439('0x4')][_0xd439('0x16')][_0xd439('0x1')]('ImageEditing'))return;const _0x397fe8=this[_0xd439('0x4')][_0xd439('0x16')][_0xd439('0x0')](_0xd439('0x11'));_0x397fe8[_0xd439('0x10')](_0xd439('0xe'),(_0x55272b,_0x4eda15)=>this[_0xd439('0x15')](_0x55272b,_0x4eda15)),_0x397fe8[_0xd439('0xf')]['registerCustomCallback'](_0xd439('0x7'),_0xd439('0xe'),_0xd439('0x13'),_0x397fe8[_0xd439('0xf')]['getSuggestionCallback'](_0xd439('0x7'),null,_0xd439('0x14'))),_0x397fe8[_0xd439('0xf')][_0xd439('0x2')](_0xd439('0x7'),_0xd439('0xe'),_0xd439('0x14'),_0x397fe8[_0xd439('0xf')]['getSuggestionCallback'](_0xd439('0x7'),null,_0xd439('0x13'))),_0x397fe8['_descriptionFactory']['registerDescriptionCallback'](_0x276d6c=>this['handleSuggestionDescription'](_0x276d6c));}[_0xd439('0x15')](_0x287c44,_0x3ef921){const _0x3add6f=this[_0xd439('0x4')]['plugins'][_0xd439('0x0')](_0xd439('0x11')),_0x41095b=this[_0xd439('0x4')][_0xd439('0xd')][_0xd439('0x8')]['selection']['getSelectedElement']();this[_0xd439('0x4')]['model'][_0xd439('0xb')](()=>{let _0x5b3afe=_0x41095b[_0xd439('0x12')](_0xd439('0xa'));const _0x556bf9=this['editor'][_0xd439('0x16')][_0xd439('0x0')]('Users')['me'];for(const _0x20212c of _0x3add6f[_0xd439('0x17')]({'skipNotAttached':!0x0})){const _0x4c5763=_0x20212c['getContainedElement']();if(_0xd439('0xe')===_0x20212c['subType']&&_0x4c5763===_0x41095b){_0x20212c['author']!==_0x556bf9&&_0x20212c['discard'](),_0x5b3afe=_0x20212c[_0xd439('0x3')][_0xd439('0x9')][0x0]['source'];break;}}_0x287c44(_0x3ef921),_0x3add6f['markBlockFormat'](_0x41095b,{'commandName':'replaceImageSource','commandParams':[{'source':_0x5b3afe}]},[],_0xd439('0xe'));});}[_0xd439('0xc')](_0x49f835){const {data:_0x338e35}=_0x49f835;if(_0x338e35&&_0xd439('0xe')===_0x338e35[_0xd439('0x6')]){const _0x1eb83b=_0xd439('0x18');return{'type':'format','content':_0x40df92(this[_0xd439('0x4')]['locale'],_0x1eb83b)};}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xe3eb=['listenTo','_handleImportedData','forEach','value','plugins','bind','trackChanges','TrackChangesEditing','lowest','get','execute','_trackChangesValueDuringImport','afterInit','collaboration_features','commands','dataInsert','_trackChangesExecuted','track_changes','importWord','editor'];(function(_0x1d75b3,_0xe3ebaa){const _0x47be67=function(_0xcf9a21){while(--_0xcf9a21){_0x1d75b3['push'](_0x1d75b3['shift']());}};_0x47be67(++_0xe3ebaa);}(_0xe3eb,0xdf));const _0x47be=function(_0x1d75b3,_0xe3ebaa){_0x1d75b3=_0x1d75b3-0x0;let _0x47be67=_0xe3eb[_0x1d75b3];return _0x47be67;};import{Plugin as _0xf9c95a}from'ckeditor5/src/core';export default class Z extends _0xf9c95a{constructor(_0x588450){super(_0x588450),this[_0x47be('0x8')]=!0x1,this[_0x47be('0xd')]=!0x1;}[_0x47be('0x9')](){const _0xdfb15=this[_0x47be('0x10')],_0x149991=_0xdfb15['commands']['get'](_0x47be('0xf')),_0x5b66b9=_0xdfb15['commands'][_0x47be('0x6')](_0x47be('0x3'));_0x149991&&(_0x149991['on'](_0x47be('0x7'),(_0x229f66,[,_0x3724e3])=>{this[_0x47be('0x8')]=_0x5b66b9['value'],_0x3724e3[_0x47be('0xa')][_0x47be('0xe')]=!this[_0x47be('0x8')];},{'priority':'high'}),this[_0x47be('0x11')](_0x149991,_0x47be('0xc'),this[_0x47be('0x12')][_0x47be('0x2')](this)),this[_0x47be('0x11')](_0x149991,_0x47be('0xc'),()=>{this[_0x47be('0xd')]&&(_0x5b66b9[_0x47be('0x7')](),this[_0x47be('0xd')]=!0x1);},{'priority':_0x47be('0x5')}),_0xdfb15[_0x47be('0x1')]['get'](_0x47be('0x4'))['enableCommand']('importWord'));}[_0x47be('0x12')](_0x420813,_0xd4bf4a){const {suggestions:_0x2811ec}=_0xd4bf4a,_0x440083=this['editor'][_0x47be('0xb')][_0x47be('0x6')](_0x47be('0x3')),_0x46f1bb=_0x440083[_0x47be('0x0')];this['_trackChangesValueDuringImport']!==_0x46f1bb&&(_0x440083[_0x47be('0x7')](),this[_0x47be('0xd')]=!0x0),_0x2811ec&&_0x2811ec[_0x47be('0x13')](({id:_0x3ea2e4,type:_0x1731bd,author:_0xfebd21,created_at:_0x5d7683})=>{const _0x1f6b8a={'id':_0x3ea2e4,'type':_0x1731bd,'authorId':this[_0x47be('0x10')][_0x47be('0x1')][_0x47be('0x6')]('Users')['me']['id'],'createdAt':new Date(),'data':null,'hasComments':!0x1,'attributes':{'@external':{'authorName':_0xfebd21,'createdAt':_0x5d7683?new Date(_0x5d7683):new Date(),'source':_0x47be('0xf')}}};this['editor'][_0x47be('0x1')]['get'](_0x47be('0x4'))['_setSuggestionData'](_0x1f6b8a);});}}
23
+ const _0x46d9=['listenTo','_trackChangesValueDuringImport','_trackChangesExecuted','bind','get','_handleImportedData','track_changes','value','forEach','dataInsert','afterInit','trackChanges','Users','lowest','commands','importWord','editor','_setSuggestionData','TrackChangesEditing','plugins','execute','high'];(function(_0x2d3c9c,_0x46d9ff){const _0x244a8b=function(_0x533291){while(--_0x533291){_0x2d3c9c['push'](_0x2d3c9c['shift']());}};_0x244a8b(++_0x46d9ff);}(_0x46d9,0x122));const _0x244a=function(_0x2d3c9c,_0x46d9ff){_0x2d3c9c=_0x2d3c9c-0x0;let _0x244a8b=_0x46d9[_0x2d3c9c];return _0x244a8b;};import{Plugin as _0x3d72ee}from'ckeditor5/src/core';export default class Z extends _0x3d72ee{constructor(_0x196da4){super(_0x196da4),this['_trackChangesValueDuringImport']=!0x1,this[_0x244a('0x14')]=!0x1;}[_0x244a('0x6')](){const _0x54fbb4=this[_0x244a('0xc')],_0x51627a=_0x54fbb4['commands'][_0x244a('0x0')](_0x244a('0xb')),_0x11973c=_0x54fbb4[_0x244a('0xa')][_0x244a('0x0')](_0x244a('0x7'));_0x51627a&&(_0x51627a['on'](_0x244a('0x10'),(_0x5a5998,[,_0xdc2978])=>{this[_0x244a('0x13')]=_0x11973c[_0x244a('0x3')],_0xdc2978['collaboration_features'][_0x244a('0x2')]=!this['_trackChangesValueDuringImport'];},{'priority':_0x244a('0x11')}),this[_0x244a('0x12')](_0x51627a,_0x244a('0x5'),this[_0x244a('0x1')][_0x244a('0x15')](this)),this[_0x244a('0x12')](_0x51627a,'dataInsert',()=>{this[_0x244a('0x14')]&&(_0x11973c['execute'](),this[_0x244a('0x14')]=!0x1);},{'priority':_0x244a('0x9')}),_0x54fbb4['plugins'][_0x244a('0x0')]('TrackChangesEditing')['enableCommand'](_0x244a('0xb')));}[_0x244a('0x1')](_0x494583,_0x58aba){const {suggestions:_0x5bc9d7}=_0x58aba,_0x184246=this[_0x244a('0xc')][_0x244a('0xa')][_0x244a('0x0')](_0x244a('0x7')),_0x195293=_0x184246[_0x244a('0x3')];this[_0x244a('0x13')]!==_0x195293&&(_0x184246[_0x244a('0x10')](),this[_0x244a('0x14')]=!0x0),_0x5bc9d7&&_0x5bc9d7[_0x244a('0x4')](({id:_0x1beae0,type:_0x42b569,author:_0x5e0612,created_at:_0x1c8914})=>{const _0x20418c={'id':_0x1beae0,'type':_0x42b569,'authorId':this['editor'][_0x244a('0xf')][_0x244a('0x0')](_0x244a('0x8'))['me']['id'],'createdAt':new Date(),'data':null,'hasComments':!0x1,'attributes':{'@external':{'authorName':_0x5e0612,'createdAt':_0x1c8914?new Date(_0x1c8914):new Date(),'source':_0x244a('0xb')}}};this[_0x244a('0xc')]['plugins'][_0x244a('0x0')](_0x244a('0xe'))[_0x244a('0xd')](_0x20418c);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4159=['indent','editor','has','IndentBlock','getItems','plugins','commandName','blockIndent','outdent','*Outdent:*\x20%0','selection','document','indentBlock','IndentEditing','getSelectedBlocks','enableCommand','from','outdentBlock','*Indent:*\x20%0','locale','schema','get','afterInit','format','filter','model','_descriptionFactory','TrackChangesEditing'];(function(_0x1cd086,_0x415938){const _0x27a204=function(_0x151267){while(--_0x151267){_0x1cd086['push'](_0x1cd086['shift']());}};_0x27a204(++_0x415938);}(_0x4159,0xdd));const _0x27a2=function(_0x1cd086,_0x415938){_0x1cd086=_0x1cd086-0x0;let _0x27a204=_0x4159[_0x1cd086];return _0x27a204;};import{Plugin as _0x15c152}from'ckeditor5/src/core';import{getTranslation as _0x487247}from'../utils/common-translations';export default class tt extends _0x15c152{[_0x27a2('0x19')](){const _0xa18411=this[_0x27a2('0x4')],_0x514df7=_0xa18411[_0x27a2('0x8')][_0x27a2('0x18')](_0x27a2('0x2'));_0xa18411[_0x27a2('0x8')][_0x27a2('0x5')](_0x27a2('0x10'))&&(_0x514df7[_0x27a2('0x12')](_0x27a2('0x3')),_0x514df7[_0x27a2('0x12')](_0x27a2('0xb')));const _0x29f7d0=_0xa18411[_0x27a2('0x16')];if(_0xa18411[_0x27a2('0x8')]['has'](_0x27a2('0x6'))){for(const _0x3b20d7 of['indentBlock',_0x27a2('0x14')])_0x514df7[_0x27a2('0x12')](_0x3b20d7,()=>{const _0x155716=Array[_0x27a2('0x13')](this[_0x27a2('0x4')][_0x27a2('0x0')][_0x27a2('0xe')][_0x27a2('0xd')][_0x27a2('0x11')]())[_0x27a2('0x1b')](_0x179653=>this[_0x27a2('0x4')][_0x27a2('0x0')][_0x27a2('0x17')]['checkAttribute'](_0x179653,_0x27a2('0xa')));_0xa18411[_0x27a2('0x0')]['change'](()=>{for(const _0x4de532 of _0x155716)_0x514df7['markBlockFormat'](_0x4de532,{'commandName':_0x3b20d7,'commandParams':[{'value':''}],'formatGroupId':'indentBlock'});});});_0x514df7[_0x27a2('0x1')]['registerDescriptionCallback'](_0x25a618=>{const {data:_0x2a33c2}=_0x25a618;if(!_0x2a33c2)return;if(_0x27a2('0xf')!=_0x2a33c2[_0x27a2('0x9')]&&_0x27a2('0x14')!=_0x2a33c2[_0x27a2('0x9')])return;const _0x2d602d=_0x25a618[_0x27a2('0x7')]()[0x0],_0x3f77ff=_0x514df7['_descriptionFactory']['getItemLabel'](_0x2d602d);return _0x27a2('0xf')==_0x2a33c2[_0x27a2('0x9')]?{'type':'format','content':_0x487247(_0x29f7d0,_0x27a2('0x15'),_0x3f77ff)}:_0x27a2('0x14')==_0x2a33c2[_0x27a2('0x9')]?{'type':_0x27a2('0x1a'),'content':_0x487247(_0x29f7d0,_0x27a2('0xc'),_0x3f77ff)}:void 0x0;});}}}
23
+ const _0x5515=['getSelectedBlocks','TrackChangesEditing','registerDescriptionCallback','outdentBlock','indentBlock','plugins','format','blockIndent','getItems','markBlockFormat','outdent','change','afterInit','*Outdent:*\x20%0','_descriptionFactory','IndentEditing','document','filter','model','schema','indent','commandName','IndentBlock','selection','*Indent:*\x20%0','enableCommand','locale','editor'];(function(_0x38b3b2,_0x551561){const _0x2ffda3=function(_0x15f2be){while(--_0x15f2be){_0x38b3b2['push'](_0x38b3b2['shift']());}};_0x2ffda3(++_0x551561);}(_0x5515,0x152));const _0x2ffd=function(_0x38b3b2,_0x551561){_0x38b3b2=_0x38b3b2-0x0;let _0x2ffda3=_0x5515[_0x38b3b2];return _0x2ffda3;};import{Plugin as _0x36fd6e}from'ckeditor5/src/core';import{getTranslation as _0x35e115}from'../utils/common-translations';export default class tt extends _0x36fd6e{[_0x2ffd('0xa')](){const _0x394d2b=this[_0x2ffd('0x19')],_0x553696=_0x394d2b[_0x2ffd('0x3')]['get'](_0x2ffd('0x1b'));_0x394d2b[_0x2ffd('0x3')]['has'](_0x2ffd('0xd'))&&(_0x553696[_0x2ffd('0x17')](_0x2ffd('0x12')),_0x553696[_0x2ffd('0x17')](_0x2ffd('0x8')));const _0x372a7d=_0x394d2b[_0x2ffd('0x18')];if(_0x394d2b['plugins']['has'](_0x2ffd('0x14'))){for(const _0x5c6af1 of[_0x2ffd('0x2'),_0x2ffd('0x1')])_0x553696[_0x2ffd('0x17')](_0x5c6af1,()=>{const _0x2b1eaf=Array['from'](this[_0x2ffd('0x19')]['model'][_0x2ffd('0xe')][_0x2ffd('0x15')][_0x2ffd('0x1a')]())[_0x2ffd('0xf')](_0x8e0da0=>this[_0x2ffd('0x19')][_0x2ffd('0x10')][_0x2ffd('0x11')]['checkAttribute'](_0x8e0da0,_0x2ffd('0x5')));_0x394d2b[_0x2ffd('0x10')][_0x2ffd('0x9')](()=>{for(const _0x408425 of _0x2b1eaf)_0x553696[_0x2ffd('0x7')](_0x408425,{'commandName':_0x5c6af1,'commandParams':[{'value':''}],'formatGroupId':_0x2ffd('0x2')});});});_0x553696[_0x2ffd('0xc')][_0x2ffd('0x0')](_0x1a8ebd=>{const {data:_0x52f528}=_0x1a8ebd;if(!_0x52f528)return;if('indentBlock'!=_0x52f528[_0x2ffd('0x13')]&&_0x2ffd('0x1')!=_0x52f528['commandName'])return;const _0x47e8ff=_0x1a8ebd[_0x2ffd('0x6')]()[0x0],_0x589653=_0x553696['_descriptionFactory']['getItemLabel'](_0x47e8ff);return _0x2ffd('0x2')==_0x52f528['commandName']?{'type':_0x2ffd('0x4'),'content':_0x35e115(_0x372a7d,_0x2ffd('0x16'),_0x589653)}:_0x2ffd('0x1')==_0x52f528['commandName']?{'type':_0x2ffd('0x4'),'content':_0x35e115(_0x372a7d,_0x2ffd('0xb'),_0x589653)}:void 0x0;});}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x359f=['input','init','editor','get','TrackChangesEditing','enableCommand','plugins','requires'];(function(_0x17250b,_0x359f4b){var _0x5ad125=function(_0x4f4dae){while(--_0x4f4dae){_0x17250b['push'](_0x17250b['shift']());}};_0x5ad125(++_0x359f4b);}(_0x359f,0xc5));var _0x5ad1=function(_0x17250b,_0x359f4b){_0x17250b=_0x17250b-0x0;var _0x5ad125=_0x359f[_0x17250b];return _0x5ad125;};import{Plugin as _0x3cb7b4}from'ckeditor5/src/core';import{Input as _0x42197f}from'ckeditor5/src/typing';export default class it extends _0x3cb7b4{static get[_0x5ad1('0x2')](){return[_0x42197f];}[_0x5ad1('0x4')](){this[_0x5ad1('0x5')][_0x5ad1('0x1')][_0x5ad1('0x6')](_0x5ad1('0x7'))[_0x5ad1('0x0')](_0x5ad1('0x3'));}}
23
+ var _0x45eb=['input','get','enableCommand','editor','plugins','init'];(function(_0x34361f,_0x45ebfd){var _0x1dbfd7=function(_0x4810e1){while(--_0x4810e1){_0x34361f['push'](_0x34361f['shift']());}};_0x1dbfd7(++_0x45ebfd);}(_0x45eb,0x71));var _0x1dbf=function(_0x34361f,_0x45ebfd){_0x34361f=_0x34361f-0x0;var _0x1dbfd7=_0x45eb[_0x34361f];return _0x1dbfd7;};import{Plugin as _0x8a0fea}from'ckeditor5/src/core';import{Input as _0x274f81}from'ckeditor5/src/typing';export default class it extends _0x8a0fea{static get['requires'](){return[_0x274f81];}[_0x1dbf('0x0')](){this[_0x1dbf('0x4')][_0x1dbf('0x5')][_0x1dbf('0x2')]('TrackChangesEditing')[_0x1dbf('0x3')](_0x1dbf('0x1'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1d90=['plugins','editor','TrackChangesEditing','link','selection','registerDescriptionCallback','model','hasAttribute','enableCommand','markInlineFormat','commandParams','unlink','locale','has','change','get','document','getAttribute','getFirstRange','afterInit','commandName','from','linkHref','getRanges','isCollapsed','getFirstPosition','format'];(function(_0x18b7fa,_0x1d9039){const _0xc37fa6=function(_0x571bf7){while(--_0x571bf7){_0x18b7fa['push'](_0x18b7fa['shift']());}};_0xc37fa6(++_0x1d9039);}(_0x1d90,0xcb));const _0xc37f=function(_0x18b7fa,_0x1d9039){_0x18b7fa=_0x18b7fa-0x0;let _0xc37fa6=_0x1d90[_0x18b7fa];return _0xc37fa6;};import{Plugin as _0x4de10e}from'ckeditor5/src/core';import{findAttributeRange as _0x2d1223}from'ckeditor5/src/typing';import{getRangesWithAttribute as _0x670a64}from'./utils';import{getTranslation as _0x1db906}from'../utils/common-translations';export default class et extends _0x4de10e{[_0xc37f('0x5')](){const _0x4ddb44=this[_0xc37f('0xe')];if(!_0x4ddb44[_0xc37f('0xd')][_0xc37f('0x1a')]('LinkEditing'))return;const _0xbd9769=_0x4ddb44[_0xc37f('0xd')][_0xc37f('0x1')](_0xc37f('0xf'));_0xbd9769[_0xc37f('0x15')](_0xc37f('0x10'),(_0x267cec,_0x568a3d)=>{const _0x5c6855=_0x4ddb44[_0xc37f('0x13')][_0xc37f('0x2')][_0xc37f('0x11')];let _0x3f91c3=[];if(_0x5c6855[_0xc37f('0xa')]){if(!_0x5c6855[_0xc37f('0x14')](_0xc37f('0x8')))return void _0x267cec(_0x568a3d);{const _0x572669=_0x2d1223(_0x5c6855[_0xc37f('0xb')](),_0xc37f('0x8'),_0x5c6855[_0xc37f('0x3')](_0xc37f('0x8')),_0x4ddb44[_0xc37f('0x13')]);_0x3f91c3=[_0x572669];}}else _0x3f91c3=Array[_0xc37f('0x7')](_0x5c6855[_0xc37f('0x9')]());_0x4ddb44['model'][_0xc37f('0x0')](()=>{for(const _0x2f0894 of _0x3f91c3)_0xbd9769[_0xc37f('0x16')](_0x2f0894,{'commandName':_0xc37f('0x10'),'commandParams':[_0x568a3d]});});}),_0xbd9769[_0xc37f('0x15')](_0xc37f('0x18'),()=>{const _0x16f337=this[_0xc37f('0xe')][_0xc37f('0x13')],_0x325052=_0x16f337['document'][_0xc37f('0x11')];_0x16f337[_0xc37f('0x0')](()=>{let _0x277a24=[];if(_0x325052[_0xc37f('0xa')])_0x277a24=[_0x2d1223(_0x325052[_0xc37f('0xb')](),_0xc37f('0x8'),_0x325052[_0xc37f('0x3')](_0xc37f('0x8')),_0x4ddb44[_0xc37f('0x13')])];else _0x277a24=_0x670a64(_0xc37f('0x8'),_0x325052[_0xc37f('0x4')](),_0x4ddb44['model']);for(const _0x2e4987 of _0x277a24)_0xbd9769[_0xc37f('0x16')](_0x2e4987,{'commandName':'unlink','commandParams':[]});});}),_0xbd9769['_descriptionFactory'][_0xc37f('0x12')](_0x14247d=>{const {data:_0x1389f8}=_0x14247d,_0xf98fcb=_0x4ddb44[_0xc37f('0x19')];if(_0x1389f8){if(_0xc37f('0x10')==_0x1389f8['commandName']){const _0x10d0cd=_0x1389f8[_0xc37f('0x17')][0x0];return{'type':_0xc37f('0xc'),'content':_0x1db906(_0xf98fcb,'*Set\x20link:*\x20%0','\x22'+_0x10d0cd+'\x22')};}return _0xc37f('0x18')==_0x1389f8[_0xc37f('0x6')]?{'type':_0xc37f('0xc'),'content':_0x1db906(_0xf98fcb,'*Remove\x20link*')}:void 0x0;}});}}
23
+ const _0x43e7=['markInlineFormat','locale','format','change','enableCommand','*Remove\x20link*','has','_descriptionFactory','getFirstRange','getRanges','model','hasAttribute','*Set\x20link:*\x20%0','link','plugins','selection','getFirstPosition','linkHref','document','LinkEditing','from','editor','get','TrackChangesEditing','getAttribute','isCollapsed','registerDescriptionCallback','commandName','unlink','commandParams'];(function(_0x307123,_0x43e76b){const _0x40758a=function(_0x4f081f){while(--_0x4f081f){_0x307123['push'](_0x307123['shift']());}};_0x40758a(++_0x43e76b);}(_0x43e7,0x12f));const _0x4075=function(_0x307123,_0x43e76b){_0x307123=_0x307123-0x0;let _0x40758a=_0x43e7[_0x307123];return _0x40758a;};import{Plugin as _0x16cb4d}from'ckeditor5/src/core';import{findAttributeRange as _0x557d48}from'ckeditor5/src/typing';import{getRangesWithAttribute as _0x16ea04}from'./utils';import{getTranslation as _0x3590a4}from'../utils/common-translations';export default class et extends _0x16cb4d{['afterInit'](){const _0x5d78d4=this['editor'];if(!_0x5d78d4[_0x4075('0xb')][_0x4075('0x3')](_0x4075('0x10')))return;const _0x7c8411=_0x5d78d4[_0x4075('0xb')][_0x4075('0x13')](_0x4075('0x14'));_0x7c8411[_0x4075('0x1')]('link',(_0x3cfe96,_0x4f876a)=>{const _0x167935=_0x5d78d4['model'][_0x4075('0xf')][_0x4075('0xc')];let _0xc7d8e0=[];if(_0x167935['isCollapsed']){if(!_0x167935[_0x4075('0x8')](_0x4075('0xe')))return void _0x3cfe96(_0x4f876a);{const _0x1bd3f9=_0x557d48(_0x167935[_0x4075('0xd')](),'linkHref',_0x167935[_0x4075('0x15')](_0x4075('0xe')),_0x5d78d4[_0x4075('0x7')]);_0xc7d8e0=[_0x1bd3f9];}}else _0xc7d8e0=Array[_0x4075('0x11')](_0x167935[_0x4075('0x6')]());_0x5d78d4['model'][_0x4075('0x0')](()=>{for(const _0x32ff78 of _0xc7d8e0)_0x7c8411[_0x4075('0x1b')](_0x32ff78,{'commandName':_0x4075('0xa'),'commandParams':[_0x4f876a]});});}),_0x7c8411['enableCommand'](_0x4075('0x19'),()=>{const _0x3fb100=this[_0x4075('0x12')][_0x4075('0x7')],_0x30f176=_0x3fb100['document'][_0x4075('0xc')];_0x3fb100[_0x4075('0x0')](()=>{let _0x4296d3=[];if(_0x30f176[_0x4075('0x16')])_0x4296d3=[_0x557d48(_0x30f176[_0x4075('0xd')](),_0x4075('0xe'),_0x30f176[_0x4075('0x15')](_0x4075('0xe')),_0x5d78d4[_0x4075('0x7')])];else _0x4296d3=_0x16ea04(_0x4075('0xe'),_0x30f176[_0x4075('0x5')](),_0x5d78d4[_0x4075('0x7')]);for(const _0x5c70ae of _0x4296d3)_0x7c8411[_0x4075('0x1b')](_0x5c70ae,{'commandName':_0x4075('0x19'),'commandParams':[]});});}),_0x7c8411[_0x4075('0x4')][_0x4075('0x17')](_0x3f9b25=>{const {data:_0x1c41f2}=_0x3f9b25,_0x1dcd07=_0x5d78d4[_0x4075('0x1c')];if(_0x1c41f2){if('link'==_0x1c41f2['commandName']){const _0x12197c=_0x1c41f2[_0x4075('0x1a')][0x0];return{'type':'format','content':_0x3590a4(_0x1dcd07,_0x4075('0x9'),'\x22'+_0x12197c+'\x22')};}return _0x4075('0x19')==_0x1c41f2[_0x4075('0x18')]?{'type':_0x4075('0x1d'),'content':_0x3590a4(_0x1dcd07,_0x4075('0x2'))}:void 0x0;}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3305=['TrackChangesEditing','from','plugins','indentList','previousSibling','add','blockName','paragraph','getSelectedBlocks','listType','ELEMENT_BULLETED_LIST','createRange','get','locale','numberedList','_selectedElements','_descriptionFactory','bulletedList','execute','editor','commandName','end','todoList','enableCommand','registerDescriptionCallback','checkTodoList','name','slice','filter','commands','checkChild','isObject','model','replace','List','*Uncheck\x20item*','*Check\x20item*','listItem','format','element','ELEMENT_NUMBERED_LIST','value','parent','change','bulleted','length','document','push','before','ELEMENT_LIST_ITEM','has','markBlockFormat','listIndent','*Indent:*\x20%0','createPositionAt','*Change\x20to:*\x20%0','ListEditing','numbered','nextSibling','outdentList','findIndex','getAttribute'];(function(_0x44ec6e,_0x3305c6){const _0x16a0af=function(_0x560f1c){while(--_0x560f1c){_0x44ec6e['push'](_0x44ec6e['shift']());}};_0x16a0af(++_0x3305c6);}(_0x3305,0x185));const _0x16a0=function(_0x44ec6e,_0x3305c6){_0x44ec6e=_0x44ec6e-0x0;let _0x16a0af=_0x3305[_0x44ec6e];return _0x16a0af;};import{Plugin as _0xa7720f}from'ckeditor5/src/core';import{getTranslation as _0x231d36}from'../utils/common-translations';export default class st extends _0xa7720f{['afterInit'](){const _0x13a5d1=this[_0x16a0('0x2')],_0x3b9fea=_0x13a5d1[_0x16a0('0x3a')];if(!_0x13a5d1[_0x16a0('0x2f')][_0x16a0('0x21')](_0x16a0('0x27')))return;const _0x3e8ac9=_0x13a5d1[_0x16a0('0x2f')][_0x16a0('0x39')](_0x16a0('0x2d')),_0x52ee5d=_0x13a5d1[_0x16a0('0x2f')][_0x16a0('0x21')]('TodoListEditing');function _0xd9aded(_0x5b836b){return()=>{const _0x56e244=_0x13a5d1[_0x16a0('0xf')][_0x16a0('0x1d')]['selection'],_0x43df48=_0x13a5d1[_0x16a0('0xc')][_0x16a0('0x39')](_0x5b836b);if(_0x43df48[_0x16a0('0x18')])return void _0x13a5d1[_0x16a0('0x1')](_0x16a0('0x34'),{});const _0x55ff63=_0x5b836b['slice'](0x0,-0x4),_0x3ad439=function(_0x291779,_0x34322f,_0x222576){let _0x42da50=Array[_0x16a0('0x2e')](_0x291779)[_0x16a0('0xb')](_0x2e9bb4=>function(_0x185a0b,_0x3874e3){return _0x3874e3[_0x16a0('0xd')](_0x185a0b[_0x16a0('0x19')],_0x16a0('0x14'))&&!_0x3874e3[_0x16a0('0xe')](_0x185a0b);}(_0x2e9bb4,_0x222576));_0x42da50=_0x42da50[_0x16a0('0xb')](_0xafc9a5=>!_0xafc9a5['is'](_0x16a0('0x16'),_0x16a0('0x14'))||_0xafc9a5[_0x16a0('0x2c')](_0x16a0('0x36'))!=_0x34322f);const _0x1e3caa=new Set();for(const _0x5d0baf of _0x42da50)_0x5d0baf['is'](_0x16a0('0x16'),_0x16a0('0x14'))?_0x1e3caa[_0x16a0('0x32')](ne(_0x5d0baf)):_0x1e3caa['add'](_0x5d0baf);return Array['from'](_0x1e3caa);}(_0x56e244[_0x16a0('0x35')](),_0x55ff63,_0x13a5d1[_0x16a0('0xf')]['schema']);_0x13a5d1[_0x16a0('0xf')]['change'](()=>{for(const _0x5a4cb1 of _0x3ad439)_0x3e8ac9['markBlockFormat'](_0x5a4cb1,{'commandName':_0x5b836b,'commandParams':[{'forceValue':!_0x43df48[_0x16a0('0x18')]}],'formatGroupId':_0x16a0('0x33')},oe(_0x5a4cb1));});};}function _0x3c992c(_0x5ddae1){return()=>{const _0x1d6d93=function(_0x3d728d){let _0xda3744=Array[_0x16a0('0x2e')](_0x3d728d);const _0x28acec=_0xda3744[_0x16a0('0x2b')](_0x3e37ad=>_0x16a0('0x14')!=_0x3e37ad[_0x16a0('0x9')]);return _0x28acec>-0x1&&(_0xda3744=_0xda3744[_0x16a0('0xa')](0x0,_0x28acec)),_0xda3744;}(_0x13a5d1['model'][_0x16a0('0x1d')]['selection']['getSelectedBlocks']()),_0x63eccd=_0x13a5d1['model'][_0x16a0('0x38')](_0x13a5d1[_0x16a0('0xf')][_0x16a0('0x25')](_0x1d6d93[0x0],_0x16a0('0x1f')),_0x13a5d1[_0x16a0('0xf')][_0x16a0('0x25')](_0x1d6d93[_0x1d6d93[_0x16a0('0x1c')]-0x1],_0x16a0('0x4')));_0x13a5d1['model'][_0x16a0('0x1a')](()=>{_0x3e8ac9[_0x16a0('0x22')](_0x63eccd,{'commandName':_0x5ddae1,'commandParams':[],'formatGroupId':_0x16a0('0x23')},function(_0x25e752){const _0x19faf1=new Set();for(const _0x58708f of _0x25e752){let _0x5721db=_0x58708f[_0x16a0('0x29')];for(;_0x5721db&&_0x5721db[_0x16a0('0x2c')](_0x16a0('0x23'))>_0x58708f[_0x16a0('0x2c')](_0x16a0('0x23'));)_0x19faf1[_0x16a0('0x32')](_0x5721db),_0x5721db=_0x5721db[_0x16a0('0x29')];}return Array[_0x16a0('0x2e')](_0x19faf1);}(_0x1d6d93));});};}_0x3e8ac9[_0x16a0('0x6')](_0x16a0('0x3b'),_0xd9aded(_0x16a0('0x3b'))),_0x3e8ac9[_0x16a0('0x6')](_0x16a0('0x0'),_0xd9aded(_0x16a0('0x0'))),_0x52ee5d&&_0x3e8ac9['enableCommand'](_0x16a0('0x5'),_0xd9aded(_0x16a0('0x5'))),_0x3e8ac9['enableCommand']('indentList',_0x3c992c(_0x16a0('0x30'))),_0x3e8ac9[_0x16a0('0x6')](_0x16a0('0x2a'),_0x3c992c('outdentList')),_0x52ee5d&&_0x3e8ac9[_0x16a0('0x6')](_0x16a0('0x8'),()=>{const _0x308612=_0x13a5d1['commands'][_0x16a0('0x39')](_0x16a0('0x8')),_0x2286c7=Array[_0x16a0('0x2e')](_0x308612[_0x16a0('0x3c')]);_0x2286c7['filter'](_0x1d0bde=>_0x1d0bde[_0x16a0('0x2c')]('todoListChecked')!=_0x308612['value']),_0x13a5d1[_0x16a0('0xf')][_0x16a0('0x1a')](()=>{for(const _0x4aef37 of _0x2286c7)_0x3e8ac9['markBlockFormat'](_0x4aef37,{'commandName':_0x16a0('0x8'),'commandParams':[{'forceValue':!_0x308612['value']}]});});}),_0x3e8ac9[_0x16a0('0x3d')]['registerElementLabel'](_0x16a0('0x14'),_0x4dcf42=>_0x231d36(_0x3b9fea,_0x16a0('0x20'),_0x4dcf42)),_0x3e8ac9[_0x16a0('0x3d')][_0x16a0('0x7')](_0x71d46a=>{const {data:_0x4f7c2d}=_0x71d46a;if(_0x4f7c2d){if('numberedList'==_0x4f7c2d[_0x16a0('0x3')]||_0x16a0('0x0')==_0x4f7c2d[_0x16a0('0x3')]||_0x16a0('0x5')==_0x4f7c2d[_0x16a0('0x3')])switch(_0x4f7c2d[_0x16a0('0x3')][_0x16a0('0x10')](_0x16a0('0x11'),'')){case _0x16a0('0x1b'):return _0x5467f1(_0x231d36(_0x3b9fea,_0x16a0('0x37')));case _0x16a0('0x28'):return _0x5467f1(_0x231d36(_0x3b9fea,_0x16a0('0x17')));case'todo':return _0x5467f1(_0x231d36(_0x3b9fea,'ELEMENT_TODO_LIST'));}if(_0x16a0('0x30')==_0x4f7c2d['commandName'])return{'type':_0x16a0('0x15'),'content':_0x231d36(_0x3b9fea,_0x16a0('0x24'),_0x231d36(_0x3b9fea,_0x16a0('0x20')))};if(_0x16a0('0x2a')==_0x4f7c2d[_0x16a0('0x3')])return{'type':'format','content':_0x231d36(_0x3b9fea,'*Outdent:*\x20%0',_0x231d36(_0x3b9fea,'ELEMENT_LIST_ITEM'))};if(_0x16a0('0x8')==_0x4f7c2d[_0x16a0('0x3')])return _0x4f7c2d['commandParams'][0x0]['forceValue']?{'type':'format','content':_0x231d36(_0x3b9fea,_0x16a0('0x13'))}:{'type':_0x16a0('0x15'),'content':_0x231d36(_0x3b9fea,_0x16a0('0x12'))};}function _0x5467f1(_0x4d1cf4){return{'type':_0x16a0('0x15'),'content':_0x231d36(_0x3b9fea,_0x16a0('0x26'),_0x4d1cf4)};}});}}function ne(_0x969c9){const _0x355b34=_0x969c9[_0x16a0('0x2c')](_0x16a0('0x23'));if(0x0==_0x355b34)return _0x969c9;let _0x31e08d=_0x969c9;for(;_0x969c9[_0x16a0('0x31')]&&_0x969c9[_0x16a0('0x31')]['is'](_0x16a0('0x16'),'listItem');){const _0x5b8b58=_0x969c9[_0x16a0('0x31')][_0x16a0('0x2c')]('listIndent');if(_0x5b8b58==_0x355b34)_0x31e08d=_0x969c9['previousSibling'];else{if(_0x5b8b58<_0x355b34)break;}_0x969c9=_0x969c9[_0x16a0('0x31')];}return _0x31e08d;}function oe(_0x17ac0a){const _0x177ba2=[];if(_0x17ac0a['is'](_0x16a0('0x16'),_0x16a0('0x14'))&&_0x17ac0a[_0x16a0('0x2c')](_0x16a0('0x23'))>0x0){let _0x287f92=_0x17ac0a['nextSibling'];for(;_0x287f92&&_0x16a0('0x14')==_0x287f92[_0x16a0('0x9')]&&_0x287f92[_0x16a0('0x2c')]('listIndent')==_0x17ac0a[_0x16a0('0x2c')](_0x16a0('0x23'));)_0x177ba2[_0x16a0('0x1e')](_0x287f92),_0x287f92=_0x287f92[_0x16a0('0x29')];}return _0x177ba2;}
23
+ const _0x531f=['listIndent','todoList','bulletedList','commandParams','listItem','enableCommand','afterInit','getSelectedBlocks','isObject','*Outdent:*\x20%0','ELEMENT_NUMBERED_LIST','length','execute','outdentList','commandName','getAttribute','_selectedElements','schema','from','todoListChecked','bulleted','*Change\x20to:*\x20%0','ELEMENT_LIST_ITEM','*Indent:*\x20%0','ListEditing','name','*Uncheck\x20item*','replace','format','add','change','end','TrackChangesEditing','paragraph','List','plugins','document','forceValue','filter','get','locale','blockName','indentList','findIndex','ELEMENT_BULLETED_LIST','commands','registerElementLabel','nextSibling','editor','slice','model','previousSibling','value','numberedList','numbered','createPositionAt','createRange','has','checkTodoList','markBlockFormat','element','todo','checkChild'];(function(_0x172631,_0x531fcd){const _0x144598=function(_0x4b0d72){while(--_0x4b0d72){_0x172631['push'](_0x172631['shift']());}};_0x144598(++_0x531fcd);}(_0x531f,0xc5));const _0x1445=function(_0x172631,_0x531fcd){_0x172631=_0x172631-0x0;let _0x144598=_0x531f[_0x172631];return _0x144598;};import{Plugin as _0x4adf29}from'ckeditor5/src/core';import{getTranslation as _0x3b0f97}from'../utils/common-translations';export default class st extends _0x4adf29{[_0x1445('0x3d')](){const _0x38ed2b=this[_0x1445('0x28')],_0x534f01=_0x38ed2b[_0x1445('0x20')];if(!_0x38ed2b['plugins'][_0x1445('0x31')](_0x1445('0x10')))return;const _0x535a0c=_0x38ed2b[_0x1445('0x1b')]['get'](_0x1445('0x18')),_0x1858da=_0x38ed2b[_0x1445('0x1b')][_0x1445('0x31')]('TodoListEditing');function _0x1c2dae(_0xfa8909){return()=>{const _0x4c2838=_0x38ed2b['model'][_0x1445('0x1c')]['selection'],_0x331a07=_0x38ed2b[_0x1445('0x25')][_0x1445('0x1f')](_0xfa8909);if(_0x331a07[_0x1445('0x2c')])return void _0x38ed2b[_0x1445('0x4')](_0x1445('0x19'),{});const _0x3bc700=_0xfa8909[_0x1445('0x29')](0x0,-0x4),_0xa4b8de=function(_0x591bb3,_0x268af9,_0x562d8d){let _0x3a01c9=Array[_0x1445('0xa')](_0x591bb3)[_0x1445('0x1e')](_0x5ef27e=>function(_0x2e58bd,_0x2891eb){return _0x2891eb[_0x1445('0x36')](_0x2e58bd['parent'],_0x1445('0x3b'))&&!_0x2891eb[_0x1445('0x0')](_0x2e58bd);}(_0x5ef27e,_0x562d8d));_0x3a01c9=_0x3a01c9[_0x1445('0x1e')](_0x19ae9f=>!_0x19ae9f['is'](_0x1445('0x34'),_0x1445('0x3b'))||_0x19ae9f[_0x1445('0x7')]('listType')!=_0x268af9);const _0x3a6738=new Set();for(const _0x21bbc5 of _0x3a01c9)_0x21bbc5['is'](_0x1445('0x34'),_0x1445('0x3b'))?_0x3a6738[_0x1445('0x15')](ne(_0x21bbc5)):_0x3a6738[_0x1445('0x15')](_0x21bbc5);return Array[_0x1445('0xa')](_0x3a6738);}(_0x4c2838[_0x1445('0x3e')](),_0x3bc700,_0x38ed2b['model'][_0x1445('0x9')]);_0x38ed2b[_0x1445('0x2a')][_0x1445('0x16')](()=>{for(const _0x53d4cd of _0xa4b8de)_0x535a0c[_0x1445('0x33')](_0x53d4cd,{'commandName':_0xfa8909,'commandParams':[{'forceValue':!_0x331a07[_0x1445('0x2c')]}],'formatGroupId':_0x1445('0x21')},oe(_0x53d4cd));});};}function _0x2d2ada(_0x6bce9e){return()=>{const _0x16c908=function(_0x39a320){let _0x19178a=Array[_0x1445('0xa')](_0x39a320);const _0x2738a1=_0x19178a[_0x1445('0x23')](_0xab6585=>_0x1445('0x3b')!=_0xab6585[_0x1445('0x11')]);return _0x2738a1>-0x1&&(_0x19178a=_0x19178a['slice'](0x0,_0x2738a1)),_0x19178a;}(_0x38ed2b[_0x1445('0x2a')][_0x1445('0x1c')]['selection'][_0x1445('0x3e')]()),_0x1a65d8=_0x38ed2b[_0x1445('0x2a')][_0x1445('0x30')](_0x38ed2b['model'][_0x1445('0x2f')](_0x16c908[0x0],'before'),_0x38ed2b[_0x1445('0x2a')][_0x1445('0x2f')](_0x16c908[_0x16c908[_0x1445('0x3')]-0x1],_0x1445('0x17')));_0x38ed2b[_0x1445('0x2a')]['change'](()=>{_0x535a0c[_0x1445('0x33')](_0x1a65d8,{'commandName':_0x6bce9e,'commandParams':[],'formatGroupId':_0x1445('0x37')},function(_0x356de4){const _0x9c7353=new Set();for(const _0x42277a of _0x356de4){let _0xa5d402=_0x42277a[_0x1445('0x27')];for(;_0xa5d402&&_0xa5d402[_0x1445('0x7')](_0x1445('0x37'))>_0x42277a[_0x1445('0x7')](_0x1445('0x37'));)_0x9c7353[_0x1445('0x15')](_0xa5d402),_0xa5d402=_0xa5d402[_0x1445('0x27')];}return Array[_0x1445('0xa')](_0x9c7353);}(_0x16c908));});};}_0x535a0c[_0x1445('0x3c')](_0x1445('0x2d'),_0x1c2dae(_0x1445('0x2d'))),_0x535a0c[_0x1445('0x3c')](_0x1445('0x39'),_0x1c2dae(_0x1445('0x39'))),_0x1858da&&_0x535a0c['enableCommand'](_0x1445('0x38'),_0x1c2dae('todoList')),_0x535a0c['enableCommand']('indentList',_0x2d2ada(_0x1445('0x22'))),_0x535a0c[_0x1445('0x3c')](_0x1445('0x5'),_0x2d2ada('outdentList')),_0x1858da&&_0x535a0c[_0x1445('0x3c')](_0x1445('0x32'),()=>{const _0x3a6b71=_0x38ed2b[_0x1445('0x25')][_0x1445('0x1f')]('checkTodoList'),_0x42780e=Array[_0x1445('0xa')](_0x3a6b71[_0x1445('0x8')]);_0x42780e[_0x1445('0x1e')](_0x4990b7=>_0x4990b7[_0x1445('0x7')](_0x1445('0xb'))!=_0x3a6b71[_0x1445('0x2c')]),_0x38ed2b[_0x1445('0x2a')][_0x1445('0x16')](()=>{for(const _0x6cbd50 of _0x42780e)_0x535a0c[_0x1445('0x33')](_0x6cbd50,{'commandName':_0x1445('0x32'),'commandParams':[{'forceValue':!_0x3a6b71[_0x1445('0x2c')]}]});});}),_0x535a0c['_descriptionFactory'][_0x1445('0x26')]('listItem',_0x465345=>_0x3b0f97(_0x534f01,_0x1445('0xe'),_0x465345)),_0x535a0c['_descriptionFactory']['registerDescriptionCallback'](_0x16c273=>{const {data:_0x137996}=_0x16c273;if(_0x137996){if('numberedList'==_0x137996[_0x1445('0x6')]||_0x1445('0x39')==_0x137996[_0x1445('0x6')]||_0x1445('0x38')==_0x137996[_0x1445('0x6')])switch(_0x137996[_0x1445('0x6')][_0x1445('0x13')](_0x1445('0x1a'),'')){case _0x1445('0xc'):return _0xc08f12(_0x3b0f97(_0x534f01,_0x1445('0x24')));case _0x1445('0x2e'):return _0xc08f12(_0x3b0f97(_0x534f01,_0x1445('0x2')));case _0x1445('0x35'):return _0xc08f12(_0x3b0f97(_0x534f01,'ELEMENT_TODO_LIST'));}if(_0x1445('0x22')==_0x137996['commandName'])return{'type':_0x1445('0x14'),'content':_0x3b0f97(_0x534f01,_0x1445('0xf'),_0x3b0f97(_0x534f01,'ELEMENT_LIST_ITEM'))};if(_0x1445('0x5')==_0x137996[_0x1445('0x6')])return{'type':'format','content':_0x3b0f97(_0x534f01,_0x1445('0x1'),_0x3b0f97(_0x534f01,_0x1445('0xe')))};if(_0x1445('0x32')==_0x137996[_0x1445('0x6')])return _0x137996[_0x1445('0x3a')][0x0][_0x1445('0x1d')]?{'type':_0x1445('0x14'),'content':_0x3b0f97(_0x534f01,'*Check\x20item*')}:{'type':_0x1445('0x14'),'content':_0x3b0f97(_0x534f01,_0x1445('0x12'))};}function _0xc08f12(_0x3d617d){return{'type':_0x1445('0x14'),'content':_0x3b0f97(_0x534f01,_0x1445('0xd'),_0x3d617d)};}});}}function ne(_0x4f2649){const _0x3ff264=_0x4f2649[_0x1445('0x7')](_0x1445('0x37'));if(0x0==_0x3ff264)return _0x4f2649;let _0x100375=_0x4f2649;for(;_0x4f2649[_0x1445('0x2b')]&&_0x4f2649[_0x1445('0x2b')]['is']('element',_0x1445('0x3b'));){const _0x477bc7=_0x4f2649[_0x1445('0x2b')][_0x1445('0x7')]('listIndent');if(_0x477bc7==_0x3ff264)_0x100375=_0x4f2649['previousSibling'];else{if(_0x477bc7<_0x3ff264)break;}_0x4f2649=_0x4f2649[_0x1445('0x2b')];}return _0x100375;}function oe(_0x243cd9){const _0x5497d8=[];if(_0x243cd9['is'](_0x1445('0x34'),_0x1445('0x3b'))&&_0x243cd9[_0x1445('0x7')](_0x1445('0x37'))>0x0){let _0x33282e=_0x243cd9[_0x1445('0x27')];for(;_0x33282e&&'listItem'==_0x33282e[_0x1445('0x11')]&&_0x33282e[_0x1445('0x7')]('listIndent')==_0x243cd9[_0x1445('0x7')](_0x1445('0x37'));)_0x5497d8['push'](_0x33282e),_0x33282e=_0x33282e[_0x1445('0x27')];}return _0x5497d8;}