@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20230706.0 → 0.0.0-nightly-20230708.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 _0x2e32=['toLowerCase','fontBackgroundColor.colors','commandName','value','registerDescriptionCallback','selection','*Reset\x20font\x20background\x20color*','title','*Set\x20font\x20color:*\x20%0','FontBackgroundColorEditing','FontFamilyEditing','*Reset\x20font\x20size*','fontColor','TrackChangesEditing','afterInit','model','change','FontSize','*Set\x20font\x20family:*\x20%0','find','*Set\x20font\x20size:*\x20%0','commandParams','has','isCollapsed','format','_enableCommand','plugins','FontSizeEditing','fontSize.options','fontBackgroundColor','config','FontColorEditing','fontSize','label','fontFamily','*Set\x20font\x20background\x20color:*\x20%0','trim','get','editor'];(function(_0x54bf10,_0x2e326){const _0x1cf063=function(_0x5a2973){while(--_0x5a2973){_0x54bf10['push'](_0x54bf10['shift']());}};_0x1cf063(++_0x2e326);}(_0x2e32,0x1c8));const _0x1cf0=function(_0x54bf10,_0x2e326){_0x54bf10=_0x54bf10-0x0;let _0x1cf063=_0x2e32[_0x54bf10];return _0x1cf063;};import{Plugin as _0x57e159}from'ckeditor5/src/core';import{normalizeColorOptions as _0x5741a9}from'ckeditor5/src/ui';import{getRangesWithAttribute as _0x5ec84a}from'./utils';import{getTranslation as _0x39f728}from'../utils/common-translations';const Zt=[{'pluginName':_0x1cf0('0x0'),'commandName':_0x1cf0('0x5')},{'pluginName':_0x1cf0('0x16'),'commandName':_0x1cf0('0x7')},{'pluginName':_0x1cf0('0x4'),'commandName':_0x1cf0('0x18')},{'pluginName':_0x1cf0('0x15'),'commandName':'fontBackgroundColor'}];export default class H extends _0x57e159{[_0x1cf0('0x1a')](){const _0x4e7af5=this[_0x1cf0('0xb')]['locale'];for(const {pluginName:_0x5902c1,commandName:_0x36cddd}of Zt)this[_0x1cf0('0xb')][_0x1cf0('0x26')][_0x1cf0('0x22')](_0x5902c1)&&this[_0x1cf0('0x25')](_0x36cddd);this[_0x1cf0('0xb')]['plugins'][_0x1cf0('0xa')]('TrackChangesEditing')['_descriptionFactory'][_0x1cf0('0x10')](_0xfdf037=>{const _0x180b80=_0x4e7af5['t'],{data:_0x3c5638}=_0xfdf037;if(null!=_0x3c5638){if(_0x1cf0('0x5')==_0x3c5638['commandName']){const _0x1c4696=_0x3c5638[_0x1cf0('0x21')][0x0]['value'];if(_0x1c4696){const _0x491fe5=_0x180b80(this[_0x1cf0('0xb')][_0x1cf0('0x26')][_0x1cf0('0xa')](_0x1cf0('0x1d'))['normalizeSizeOptions'](this[_0x1cf0('0xb')][_0x1cf0('0x3')]['get'](_0x1cf0('0x1')))[_0x1cf0('0x1f')](_0x494320=>_0x494320[_0x1cf0('0x1b')]==_0x1c4696)[_0x1cf0('0x13')])[_0x1cf0('0xc')]();return{'type':_0x1cf0('0x24'),'content':_0x39f728(_0x4e7af5,_0x1cf0('0x20'),_0x491fe5)};}return{'type':_0x1cf0('0x24'),'content':_0x39f728(_0x4e7af5,_0x1cf0('0x17'))};}if('fontFamily'==_0x3c5638[_0x1cf0('0xe')]){const _0x347ed5=_0x3c5638[_0x1cf0('0x21')][0x0]['value'];return _0x347ed5?{'type':'format','content':_0x39f728(_0x4e7af5,_0x1cf0('0x1e'),_0x347ed5)}:{'type':_0x1cf0('0x24'),'content':_0x39f728(_0x4e7af5,'*Reset\x20font\x20family*')};}if(_0x1cf0('0x18')==_0x3c5638['commandName']){const _0x29f0c0=_0x3c5638[_0x1cf0('0x21')][0x0][_0x1cf0('0xf')];if(_0x29f0c0){const _0x505f99=_0x5741a9(this[_0x1cf0('0xb')][_0x1cf0('0x3')]['get']('fontColor.colors'))['find'](_0x346d0f=>_0x346d0f[_0x1cf0('0x1b')]==_0x29f0c0);let _0x3af64c=_0x29f0c0,_0x4ad8cd='';return _0x505f99&&(_0x3af64c=_0x505f99[_0x1cf0('0x6')],_0x4ad8cd=_0x180b80(_0x3af64c)[_0x1cf0('0xc')]()),{'type':_0x1cf0('0x24'),'content':_0x39f728(_0x4e7af5,_0x1cf0('0x14'),_0x4ad8cd)[_0x1cf0('0x9')](),'color':{'value':_0x29f0c0,'title':_0x4ad8cd||_0x3af64c}};}return{'type':_0x1cf0('0x24'),'content':_0x39f728(_0x4e7af5,'*Reset\x20font\x20color*')};}if(_0x1cf0('0x2')==_0x3c5638[_0x1cf0('0xe')]){const _0x102adf=_0x3c5638[_0x1cf0('0x21')][0x0][_0x1cf0('0xf')];if(_0x102adf){const _0x12f00d=_0x5741a9(this[_0x1cf0('0xb')][_0x1cf0('0x3')]['get'](_0x1cf0('0xd')))[_0x1cf0('0x1f')](_0x5d5f54=>_0x5d5f54[_0x1cf0('0x1b')]==_0x102adf);let _0x216384=_0x102adf,_0xcb4d07='';return _0x12f00d&&(_0x216384=_0x12f00d[_0x1cf0('0x6')],_0xcb4d07=_0x180b80(_0x216384)[_0x1cf0('0xc')]()),{'type':_0x1cf0('0x24'),'content':_0x39f728(_0x4e7af5,_0x1cf0('0x8'),_0xcb4d07)[_0x1cf0('0x9')](),'color':{'value':_0x102adf,'title':_0xcb4d07||_0x216384}};}return{'type':_0x1cf0('0x24'),'content':_0x39f728(_0x4e7af5,_0x1cf0('0x12'))};}}});}[_0x1cf0('0x25')](_0x4f1c26){const _0x24d2e0=this[_0x1cf0('0xb')];_0x24d2e0[_0x1cf0('0x26')][_0x1cf0('0xa')](_0x1cf0('0x19'))['enableCommand'](_0x4f1c26,(_0x28f475,_0x4b308c={})=>{const _0x31e01a=_0x24d2e0['model']['document'][_0x1cf0('0x11')],_0x1271df=_0x4b308c['value'];_0x31e01a[_0x1cf0('0x23')]?_0x28f475(_0x4b308c):_0x24d2e0[_0x1cf0('0x1b')][_0x1cf0('0x1c')](()=>{const _0x3424cf=Array['from'](_0x31e01a['getRanges']());for(const _0x2e5723 of _0x3424cf){const _0x4c6582=_0x1271df?[_0x2e5723]:_0x5ec84a(_0x4f1c26,_0x2e5723,_0x24d2e0[_0x1cf0('0x1b')]);for(const _0x4f4bcf of _0x4c6582)_0x24d2e0[_0x1cf0('0x26')][_0x1cf0('0xa')](_0x1cf0('0x19'))['markInlineFormat'](_0x4f4bcf,{'commandName':_0x4f1c26,'commandParams':[{'value':_0x1271df}]});}});});}}
23
+ const _0x1dfb=['fontBackgroundColor','value','registerDescriptionCallback','FontFamilyEditing','_descriptionFactory','selection','change','toLowerCase','find','fontFamily','*Set\x20font\x20color:*\x20%0','normalizeSizeOptions','commandName','fontSize.options','FontSizeEditing','format','*Set\x20font\x20size:*\x20%0','locale','get','commandParams','editor','getRanges','config','*Reset\x20font\x20background\x20color*','TrackChangesEditing','label','*Reset\x20font\x20color*','FontBackgroundColorEditing','from','afterInit','*Reset\x20font\x20size*','*Reset\x20font\x20family*','_enableCommand','trim','*Set\x20font\x20background\x20color:*\x20%0','plugins','fontColor','enableCommand','has','fontSize','model'];(function(_0x462f04,_0x1dfb40){const _0x24750c=function(_0xc2430d){while(--_0xc2430d){_0x462f04['push'](_0x462f04['shift']());}};_0x24750c(++_0x1dfb40);}(_0x1dfb,0x18b));const _0x2475=function(_0x462f04,_0x1dfb40){_0x462f04=_0x462f04-0x0;let _0x24750c=_0x1dfb[_0x462f04];return _0x24750c;};import{Plugin as _0x3af276}from'ckeditor5/src/core';import{normalizeColorOptions as _0x2fb121}from'ckeditor5/src/ui';import{getRangesWithAttribute as _0x4e7bcf}from'./utils';import{getTranslation as _0x5cfac3}from'../utils/common-translations';const Zt=[{'pluginName':_0x2475('0x1d'),'commandName':_0x2475('0xd')},{'pluginName':_0x2475('0x12'),'commandName':_0x2475('0x18')},{'pluginName':'FontColorEditing','commandName':_0x2475('0xa')},{'pluginName':_0x2475('0x1'),'commandName':'fontBackgroundColor'}];export default class H extends _0x3af276{[_0x2475('0x3')](){const _0x318aeb=this[_0x2475('0x23')][_0x2475('0x20')];for(const {pluginName:_0x4affe8,commandName:_0x59121b}of Zt)this[_0x2475('0x23')][_0x2475('0x9')][_0x2475('0xc')](_0x4affe8)&&this[_0x2475('0x6')](_0x59121b);this[_0x2475('0x23')]['plugins']['get'](_0x2475('0x27'))[_0x2475('0x13')][_0x2475('0x11')](_0x472671=>{const _0x2ada48=_0x318aeb['t'],{data:_0x488e1b}=_0x472671;if(null!=_0x488e1b){if(_0x2475('0xd')==_0x488e1b[_0x2475('0x1b')]){const _0x29dba5=_0x488e1b[_0x2475('0x22')][0x0][_0x2475('0x10')];if(_0x29dba5){const _0xddc9ac=_0x2ada48(this[_0x2475('0x23')]['plugins'][_0x2475('0x21')]('FontSize')[_0x2475('0x1a')](this[_0x2475('0x23')][_0x2475('0x25')][_0x2475('0x21')](_0x2475('0x1c')))[_0x2475('0x17')](_0x5a04d0=>_0x5a04d0[_0x2475('0xe')]==_0x29dba5)['title'])[_0x2475('0x16')]();return{'type':_0x2475('0x1e'),'content':_0x5cfac3(_0x318aeb,_0x2475('0x1f'),_0xddc9ac)};}return{'type':_0x2475('0x1e'),'content':_0x5cfac3(_0x318aeb,_0x2475('0x4'))};}if(_0x2475('0x18')==_0x488e1b[_0x2475('0x1b')]){const _0x1d9ef4=_0x488e1b[_0x2475('0x22')][0x0][_0x2475('0x10')];return _0x1d9ef4?{'type':'format','content':_0x5cfac3(_0x318aeb,'*Set\x20font\x20family:*\x20%0',_0x1d9ef4)}:{'type':_0x2475('0x1e'),'content':_0x5cfac3(_0x318aeb,_0x2475('0x5'))};}if(_0x2475('0xa')==_0x488e1b[_0x2475('0x1b')]){const _0xf46e28=_0x488e1b[_0x2475('0x22')][0x0][_0x2475('0x10')];if(_0xf46e28){const _0x67748e=_0x2fb121(this['editor'][_0x2475('0x25')][_0x2475('0x21')]('fontColor.colors'))[_0x2475('0x17')](_0x83c4c9=>_0x83c4c9[_0x2475('0xe')]==_0xf46e28);let _0x1c6fed=_0xf46e28,_0xfc2ee2='';return _0x67748e&&(_0x1c6fed=_0x67748e[_0x2475('0x28')],_0xfc2ee2=_0x2ada48(_0x1c6fed)[_0x2475('0x16')]()),{'type':_0x2475('0x1e'),'content':_0x5cfac3(_0x318aeb,_0x2475('0x19'),_0xfc2ee2)[_0x2475('0x7')](),'color':{'value':_0xf46e28,'title':_0xfc2ee2||_0x1c6fed}};}return{'type':_0x2475('0x1e'),'content':_0x5cfac3(_0x318aeb,_0x2475('0x0'))};}if(_0x2475('0xf')==_0x488e1b[_0x2475('0x1b')]){const _0x4e717b=_0x488e1b[_0x2475('0x22')][0x0][_0x2475('0x10')];if(_0x4e717b){const _0x2a8a00=_0x2fb121(this['editor'][_0x2475('0x25')][_0x2475('0x21')]('fontBackgroundColor.colors'))[_0x2475('0x17')](_0x35119a=>_0x35119a[_0x2475('0xe')]==_0x4e717b);let _0x5b5a63=_0x4e717b,_0x43e5b5='';return _0x2a8a00&&(_0x5b5a63=_0x2a8a00[_0x2475('0x28')],_0x43e5b5=_0x2ada48(_0x5b5a63)[_0x2475('0x16')]()),{'type':_0x2475('0x1e'),'content':_0x5cfac3(_0x318aeb,_0x2475('0x8'),_0x43e5b5)[_0x2475('0x7')](),'color':{'value':_0x4e717b,'title':_0x43e5b5||_0x5b5a63}};}return{'type':_0x2475('0x1e'),'content':_0x5cfac3(_0x318aeb,_0x2475('0x26'))};}}});}[_0x2475('0x6')](_0x22cc3e){const _0x3ee6c8=this[_0x2475('0x23')];_0x3ee6c8['plugins']['get'](_0x2475('0x27'))[_0x2475('0xb')](_0x22cc3e,(_0x5329d8,_0x57f3eb={})=>{const _0x57803f=_0x3ee6c8['model']['document'][_0x2475('0x14')],_0x18a69f=_0x57f3eb[_0x2475('0x10')];_0x57803f['isCollapsed']?_0x5329d8(_0x57f3eb):_0x3ee6c8['model'][_0x2475('0x15')](()=>{const _0x56f8b7=Array[_0x2475('0x2')](_0x57803f[_0x2475('0x24')]());for(const _0x3fafdd of _0x56f8b7){const _0x371cc3=_0x18a69f?[_0x3fafdd]:_0x4e7bcf(_0x22cc3e,_0x3fafdd,_0x3ee6c8['model']);for(const _0x41c599 of _0x371cc3)_0x3ee6c8['plugins'][_0x2475('0x21')](_0x2475('0x27'))['markInlineFormat'](_0x41c599,{'commandName':_0x22cc3e,'commandParams':[{'value':_0x18a69f}]});}});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4b3b=['document','boolean','title','selection','locale','afterInit','commands','fontColor','getLastPosition','getRanges','schema','fontSize.options','fontBackgroundColor','length','keys','FontSize','getAttributeProperties','registerDescriptionCallback','*Remove\x20all\x20formatting*','format','isFormatting','commandName','getAttributes','editor','isBlock','getSelectedBlocks','getItems','createSelection','slice','get','from','fontColor.colors','find','model','fontSize','copyFormat','modifySelection','toLowerCase','charAt','*Set\x20format\x20to:*\x20%0','entries','push','forward','TrackChangesEditing','normalizeSizeOptions','word','pasteFormat','enableCommand','_descriptionFactory','backward','isCollapsed','join','plugins','commandParams'];(function(_0x4e1430,_0x4b3b88){const _0x444aa3=function(_0x36dc33){while(--_0x36dc33){_0x4e1430['push'](_0x4e1430['shift']());}};_0x444aa3(++_0x4b3b88);}(_0x4b3b,0x1ac));const _0x444a=function(_0x4e1430,_0x4b3b88){_0x4e1430=_0x4e1430-0x0;let _0x444aa3=_0x4b3b[_0x4e1430];return _0x444aa3;};import{Plugin as _0x3cb3b9}from'ckeditor5/src/core';import{normalizeColorOptions as _0x108f0b}from'ckeditor5/src/ui';import{first as _0x20e27c}from'ckeditor5/src/utils';import{getTranslation as _0x4da1d1}from'../utils/common-translations';export default class W extends _0x3cb3b9{[_0x444a('0x9')](){const _0x298510=this[_0x444a('0x1b')],_0x35e4aa=_0x298510[_0x444a('0x25')],_0x4391fc=_0x35e4aa[_0x444a('0x4')][_0x444a('0x7')],_0x152480=_0x298510[_0x444a('0x2')]['get']('TrackChangesEditing'),_0x2134e5=_0x298510[_0x444a('0x8')],_0x399e31=_0x298510[_0x444a('0xa')]['get'](_0x444a('0x27')),_0x125faf=_0x298510[_0x444a('0xa')][_0x444a('0x21')](_0x444a('0x32'));_0x399e31&&_0x125faf&&(_0x152480[_0x444a('0x33')](_0x444a('0x32'),(_0x18b2df,_0x19fcd2={})=>{const _0x226e41=_0x19fcd2;_0x35e4aa['change'](()=>{const _0x219a34=Array[_0x444a('0x22')](_0x4391fc[_0x444a('0xd')]()),_0x39040=_0x4391fc[_0x444a('0x0')]?[ro(_0x35e4aa,_0x4391fc)]:_0x219a34,_0x273f88=!!_0x20e27c(function*(_0x8d72b0,_0x32e320){const _0x5ab7c2=_0x37e4b2=>!!_0x20e27c(function*(_0x3aa1bd,_0x149bd1){for(const [_0x39651f]of _0x3aa1bd[_0x444a('0x1a')]()){const _0x4adfd4=_0x149bd1[_0x444a('0x14')](_0x39651f);_0x4adfd4&&_0x4adfd4[_0x444a('0x18')]&&(yield _0x39651f);}}(_0x37e4b2,_0x32e320));for(const _0x1d99dc of _0x8d72b0[_0x444a('0xd')]())for(const _0x9bd0e8 of _0x1d99dc[_0x444a('0x1e')]())!_0x32e320[_0x444a('0x1c')](_0x9bd0e8)&&_0x5ab7c2(_0x9bd0e8)&&(yield _0x9bd0e8);for(const _0x2d54bc of _0x8d72b0[_0x444a('0x1d')]())_0x5ab7c2(_0x2d54bc)&&(yield _0x2d54bc);_0x5ab7c2(_0x8d72b0)&&(yield _0x8d72b0);}(_0x4391fc,_0x35e4aa[_0x444a('0xe')]));if(_0x273f88||0x0!==Object[_0x444a('0x12')](_0x226e41)[_0x444a('0x11')])for(const _0x4c8593 of _0x39040)_0x152480['markInlineFormat'](_0x4c8593,{'commandName':'pasteFormat','commandParams':[_0x226e41]});});}),_0x152480[_0x444a('0x34')][_0x444a('0x15')](_0x9dba7c=>{const {data:_0x340bd2}=_0x9dba7c;if(_0x340bd2&&_0x444a('0x32')===_0x340bd2[_0x444a('0x19')]){const _0x3ec558=[],_0x53cee9=_0x340bd2[_0x444a('0x3')][0x0];for(const [_0x41b860,_0xffd29b]of Object[_0x444a('0x2c')](_0x53cee9))_0x3ec558[_0x444a('0x2d')](no(_0x298510,_0x41b860,_0xffd29b));return _0x3ec558[_0x444a('0x11')]?{'type':_0x444a('0x17'),'content':_0x4da1d1(_0x2134e5,_0x444a('0x2b'),_0x3ec558[_0x444a('0x1')](',\x20'))}:{'type':'format','content':_0x4da1d1(_0x2134e5,_0x444a('0x16'))};}}),_0x298510[_0x444a('0x2')]['get'](_0x444a('0x2f'))[_0x444a('0x33')](_0x444a('0x27')));}}function ro(_0x486b74,_0x4371fb){const _0x3dc91f=_0x486b74[_0x444a('0x1f')](_0x4371fb);_0x486b74['modifySelection'](_0x3dc91f,{'unit':_0x444a('0x31'),'direction':_0x444a('0x35')});const _0x4b0428=_0x3dc91f['getFirstPosition']();_0x486b74[_0x444a('0x28')](_0x3dc91f,{'unit':_0x444a('0x31'),'direction':_0x444a('0x2e')});const _0x1bd094=_0x3dc91f[_0x444a('0xc')]();return _0x486b74['createRange'](_0x4b0428,_0x1bd094);}function no(_0x1322d4,_0x154088,_0xc45d4d){const _0x3094fc=_0x1322d4[_0x444a('0x8')]['t'],_0x5eb983=_0x154088['split'](/(?=[A-Z])/)[_0x444a('0x1')]('\x20'),_0x2674d3=_0x3094fc(_0x5eb983[_0x444a('0x2a')](0x0)['toUpperCase']()+_0x5eb983[_0x444a('0x20')](0x1))[_0x444a('0x29')]();if(_0x444a('0x5')==typeof _0xc45d4d)return _0x2674d3;if(_0x444a('0xb')===_0x154088||_0x444a('0x10')===_0x154088){const _0x1461f2=_0x108f0b(_0x1322d4['config'][_0x444a('0x21')](_0x444a('0x23')))[_0x444a('0x24')](_0x1a17c2=>_0x1a17c2[_0x444a('0x25')]==_0xc45d4d);return _0x2674d3+'\x20('+(_0x1461f2?_0x3094fc(_0x1461f2['label'])[_0x444a('0x29')]():_0xc45d4d)+')';}if(_0x444a('0x26')===_0x154088&&isNaN(parseFloat(_0xc45d4d))){const _0x247d40=_0x1322d4['plugins'][_0x444a('0x21')](_0x444a('0x13'))[_0x444a('0x30')](_0x1322d4['config']['get'](_0x444a('0xf')))['find'](_0x290143=>_0x290143[_0x444a('0x25')]==_0xc45d4d);return _0x2674d3+'\x20('+(_0x247d40?_0x3094fc(_0x247d40[_0x444a('0x6')])[_0x444a('0x29')]():_0xc45d4d)+')';}return _0x2674d3+'\x20('+_0xc45d4d+')';}
23
+ const _0x12a6=['TrackChangesEditing','selection','fontSize','length','markInlineFormat','format','locale','registerDescriptionCallback','slice','entries','*Remove\x20all\x20formatting*','createRange','copyFormat','fontSize.options','toLowerCase','boolean','fontColor','getRanges','document','find','FontSize','_descriptionFactory','word','model','pasteFormat','from','isFormatting','join','split','isCollapsed','title','getAttributes','plugins','editor','change','commands','isBlock','commandName','get','getFirstPosition','push','*Set\x20format\x20to:*\x20%0','getLastPosition','enableCommand','fontBackgroundColor','getAttributeProperties','backward','getSelectedBlocks','getItems','afterInit','charAt','keys','modifySelection','commandParams','label','schema'];(function(_0x4b516e,_0x12a60b){const _0x5b649d=function(_0x595b65){while(--_0x595b65){_0x4b516e['push'](_0x4b516e['shift']());}};_0x5b649d(++_0x12a60b);}(_0x12a6,0x1a0));const _0x5b64=function(_0x4b516e,_0x12a60b){_0x4b516e=_0x4b516e-0x0;let _0x5b649d=_0x12a6[_0x4b516e];return _0x5b649d;};import{Plugin as _0x1410d6}from'ckeditor5/src/core';import{normalizeColorOptions as _0x1981e0}from'ckeditor5/src/ui';import{first as _0x5414ae}from'ckeditor5/src/utils';import{getTranslation as _0x228d50}from'../utils/common-translations';export default class W extends _0x1410d6{[_0x5b64('0x19')](){const _0x5d8e1d=this[_0x5b64('0x9')],_0x43b613=_0x5d8e1d['model'],_0x463515=_0x43b613[_0x5b64('0x32')][_0x5b64('0x21')],_0x1dba68=_0x5d8e1d[_0x5b64('0x8')][_0x5b64('0xe')]('TrackChangesEditing'),_0x469cb3=_0x5d8e1d[_0x5b64('0x26')],_0x160f01=_0x5d8e1d['commands'][_0x5b64('0xe')]('copyFormat'),_0x5b1cdb=_0x5d8e1d[_0x5b64('0xb')][_0x5b64('0xe')](_0x5b64('0x0'));_0x160f01&&_0x5b1cdb&&(_0x1dba68['enableCommand'](_0x5b64('0x0'),(_0x9d8309,_0x4c5aa0={})=>{const _0x240c35=_0x4c5aa0;_0x43b613[_0x5b64('0xa')](()=>{const _0x551384=Array[_0x5b64('0x1')](_0x463515[_0x5b64('0x31')]()),_0x176c4e=_0x463515[_0x5b64('0x5')]?[ro(_0x43b613,_0x463515)]:_0x551384,_0x23507c=!!_0x5414ae(function*(_0x43c7b6,_0x196abe){const _0x1fa6ef=_0x3a41af=>!!_0x5414ae(function*(_0xa0af17,_0x164e85){for(const [_0x405c3d]of _0xa0af17[_0x5b64('0x7')]()){const _0x4763fb=_0x164e85[_0x5b64('0x15')](_0x405c3d);_0x4763fb&&_0x4763fb[_0x5b64('0x2')]&&(yield _0x405c3d);}}(_0x3a41af,_0x196abe));for(const _0x1914f0 of _0x43c7b6[_0x5b64('0x31')]())for(const _0x40112d of _0x1914f0[_0x5b64('0x18')]())!_0x196abe[_0x5b64('0xc')](_0x40112d)&&_0x1fa6ef(_0x40112d)&&(yield _0x40112d);for(const _0x4a2f4f of _0x43c7b6[_0x5b64('0x17')]())_0x1fa6ef(_0x4a2f4f)&&(yield _0x4a2f4f);_0x1fa6ef(_0x43c7b6)&&(yield _0x43c7b6);}(_0x463515,_0x43b613[_0x5b64('0x1f')]));if(_0x23507c||0x0!==Object[_0x5b64('0x1b')](_0x240c35)[_0x5b64('0x23')])for(const _0x49e127 of _0x176c4e)_0x1dba68[_0x5b64('0x24')](_0x49e127,{'commandName':_0x5b64('0x0'),'commandParams':[_0x240c35]});});}),_0x1dba68[_0x5b64('0x35')][_0x5b64('0x27')](_0x52eb8c=>{const {data:_0x1e97fa}=_0x52eb8c;if(_0x1e97fa&&_0x5b64('0x0')===_0x1e97fa[_0x5b64('0xd')]){const _0x3ab8dc=[],_0x4649ec=_0x1e97fa[_0x5b64('0x1d')][0x0];for(const [_0x357f9c,_0x17092d]of Object[_0x5b64('0x29')](_0x4649ec))_0x3ab8dc[_0x5b64('0x10')](no(_0x5d8e1d,_0x357f9c,_0x17092d));return _0x3ab8dc[_0x5b64('0x23')]?{'type':_0x5b64('0x25'),'content':_0x228d50(_0x469cb3,_0x5b64('0x11'),_0x3ab8dc[_0x5b64('0x3')](',\x20'))}:{'type':_0x5b64('0x25'),'content':_0x228d50(_0x469cb3,_0x5b64('0x2a'))};}}),_0x5d8e1d[_0x5b64('0x8')]['get'](_0x5b64('0x20'))[_0x5b64('0x13')](_0x5b64('0x2c')));}}function ro(_0x4111a1,_0x4895db){const _0x4fd75c=_0x4111a1['createSelection'](_0x4895db);_0x4111a1[_0x5b64('0x1c')](_0x4fd75c,{'unit':_0x5b64('0x36'),'direction':_0x5b64('0x16')});const _0x4fd48c=_0x4fd75c[_0x5b64('0xf')]();_0x4111a1[_0x5b64('0x1c')](_0x4fd75c,{'unit':_0x5b64('0x36'),'direction':'forward'});const _0x248d57=_0x4fd75c[_0x5b64('0x12')]();return _0x4111a1[_0x5b64('0x2b')](_0x4fd48c,_0x248d57);}function no(_0x59803b,_0x55ef52,_0x5e8138){const _0x3a015e=_0x59803b[_0x5b64('0x26')]['t'],_0xdb7ee2=_0x55ef52[_0x5b64('0x4')](/(?=[A-Z])/)[_0x5b64('0x3')]('\x20'),_0x2a2ec1=_0x3a015e(_0xdb7ee2[_0x5b64('0x1a')](0x0)['toUpperCase']()+_0xdb7ee2[_0x5b64('0x28')](0x1))[_0x5b64('0x2e')]();if(_0x5b64('0x2f')==typeof _0x5e8138)return _0x2a2ec1;if(_0x5b64('0x30')===_0x55ef52||_0x5b64('0x14')===_0x55ef52){const _0x5e780f=_0x1981e0(_0x59803b['config'][_0x5b64('0xe')]('fontColor.colors'))['find'](_0x5f1151=>_0x5f1151['model']==_0x5e8138);return _0x2a2ec1+'\x20('+(_0x5e780f?_0x3a015e(_0x5e780f[_0x5b64('0x1e')])[_0x5b64('0x2e')]():_0x5e8138)+')';}if(_0x5b64('0x22')===_0x55ef52&&isNaN(parseFloat(_0x5e8138))){const _0x4fb700=_0x59803b['plugins'][_0x5b64('0xe')](_0x5b64('0x34'))['normalizeSizeOptions'](_0x59803b['config'][_0x5b64('0xe')](_0x5b64('0x2d')))[_0x5b64('0x33')](_0x58c38b=>_0x58c38b[_0x5b64('0x37')]==_0x5e8138);return _0x2a2ec1+'\x20('+(_0x4fb700?_0x3a015e(_0x4fb700[_0x5b64('0x6')])[_0x5b64('0x2e')]():_0x5e8138)+')';}return _0x2a2ec1+'\x20('+_0x5e8138+')';}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4943=['HeadingEditing','getSelectedBlocks','heading','config','*Change\x20to:*\x20%0','title','value','find','model','filter','selection','paragraph','markBlockFormat','change','format','commandName','match','plugins','get','blockName','document','registerElementLabel','checkChild','schema','heading.options','TrackChangesEditing','has','_descriptionFactory','editor','ELEMENT_HEADING_CUSTOM','isObject','commandParams','registerDescriptionCallback','afterInit','from','name','ELEMENT_HEADING'];(function(_0x40c0f5,_0x49431c){const _0xbedd97=function(_0x3ec0fd){while(--_0x3ec0fd){_0x40c0f5['push'](_0x40c0f5['shift']());}};_0xbedd97(++_0x49431c);}(_0x4943,0x174));const _0xbedd=function(_0x40c0f5,_0x49431c){_0x40c0f5=_0x40c0f5-0x0;let _0xbedd97=_0x4943[_0x40c0f5];return _0xbedd97;};import{Plugin as _0x517935}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x3f1131}from'./utils';import{getTranslation as _0x5cd7d2}from'../utils/common-translations';export default class J extends _0x517935{[_0xbedd('0x1f')](){const _0x4f1d23=this[_0xbedd('0x1a')],_0x5a4a3f=_0x4f1d23['locale'],_0x213ea9=_0x4f1d23[_0xbedd('0x1')][_0xbedd('0x10')](_0xbedd('0x16'));if(!_0x4f1d23[_0xbedd('0xf')][_0xbedd('0x18')](_0xbedd('0x23')))return;const _0x50eec4=_0x4f1d23[_0xbedd('0xf')][_0xbedd('0x10')](_0xbedd('0x17'));_0x50eec4['enableCommand'](_0xbedd('0x0'),(_0x59420a,_0x54d22b)=>{const _0x2f7833=_0x54d22b['value'],_0x49f73d=Array[_0xbedd('0x20')](this[_0xbedd('0x1a')]['model'][_0xbedd('0x12')][_0xbedd('0x8')][_0xbedd('0x24')]())[_0xbedd('0x7')](_0x5a5a36=>function(_0xb3c609,_0x2d102b,_0x27657e){return _0x27657e[_0xbedd('0x14')](_0xb3c609['parent'],_0x2d102b)&&!_0x27657e[_0xbedd('0x1c')](_0xb3c609)&&_0xb3c609[_0xbedd('0x21')]!=_0x2d102b;}(_0x5a5a36,_0x2f7833,this[_0xbedd('0x1a')]['model'][_0xbedd('0x15')]));_0x4f1d23[_0xbedd('0x6')][_0xbedd('0xb')](()=>{for(const _0x895ccc of _0x49f73d)_0x50eec4[_0xbedd('0xa')](_0x895ccc,{'commandName':_0xbedd('0x0'),'commandParams':[_0x54d22b],'formatGroupId':_0xbedd('0x11')},_0x3f1131(_0x895ccc));});});for(const _0x12d880 of _0x213ea9)_0xbedd('0x9')!=_0x12d880[_0xbedd('0x6')]&&_0x50eec4['_descriptionFactory'][_0xbedd('0x13')](_0x12d880[_0xbedd('0x6')],_0x5dd2cc=>{const _0x4d0069=nn(_0x12d880['model']);return null!==_0x4d0069?_0x2c78b5(_0x5dd2cc,_0x4d0069):_0x568220(_0x5dd2cc,_0x12d880[_0xbedd('0x3')]);});function _0x2c78b5(_0x5c09f3,_0x179b6f){return _0x5cd7d2(_0x5a4a3f,_0xbedd('0x22'),[_0x5c09f3,_0x179b6f]);}function _0x568220(_0x2e6110,_0x490a9c){return _0x5cd7d2(_0x5a4a3f,_0xbedd('0x1b'),[_0x2e6110,_0x490a9c]);}_0x50eec4[_0xbedd('0x19')][_0xbedd('0x1e')](_0x2e4ef1=>{const {type:_0x12455e,data:_0x3cd8cf}=_0x2e4ef1;if('formatBlock'==_0x12455e&&_0x3cd8cf&&_0xbedd('0x0')==_0x3cd8cf[_0xbedd('0xd')]){const _0x1562ce=_0x3cd8cf[_0xbedd('0x1d')][0x0][_0xbedd('0x4')],_0x8aa8e7=nn(_0x1562ce);if(null!==_0x8aa8e7)return{'type':_0xbedd('0xc'),'content':_0x5cd7d2(_0x5a4a3f,_0xbedd('0x2'),_0x2c78b5(0x1,_0x8aa8e7))};const _0x18c0bb=_0x213ea9[_0xbedd('0x5')](_0x47c85c=>_0x47c85c[_0xbedd('0x6')]===_0x1562ce)['title'];return{'type':_0xbedd('0xc'),'content':_0x5cd7d2(_0x5a4a3f,'*Change\x20to:*\x20%0',_0x568220(0x1,_0x18c0bb))};}});}}function nn(_0x424a6b){const _0x1fed41=_0x424a6b[_0xbedd('0xe')](/^heading(\d+)$/);return _0x1fed41?_0x1fed41[0x1]:null;}
23
+ const _0x76b2=['find','registerElementLabel','config','filter','enableCommand','_descriptionFactory','has','ELEMENT_HEADING_CUSTOM','title','commandParams','registerDescriptionCallback','afterInit','change','name','HeadingEditing','heading','editor','document','*Change\x20to:*\x20%0','model','value','checkChild','get','formatBlock','format','heading.options','ELEMENT_HEADING','markBlockFormat','commandName','plugins','TrackChangesEditing'];(function(_0x1cf3d5,_0x76b2d0){const _0x1e6d78=function(_0x3f9cea){while(--_0x3f9cea){_0x1cf3d5['push'](_0x1cf3d5['shift']());}};_0x1e6d78(++_0x76b2d0);}(_0x76b2,0xdd));const _0x1e6d=function(_0x1cf3d5,_0x76b2d0){_0x1cf3d5=_0x1cf3d5-0x0;let _0x1e6d78=_0x76b2[_0x1cf3d5];return _0x1e6d78;};import{Plugin as _0x510554}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0xe11163}from'./utils';import{getTranslation as _0x3a4d04}from'../utils/common-translations';export default class J extends _0x510554{[_0x1e6d('0x7')](){const _0x543073=this[_0x1e6d('0xc')],_0x3af2be=_0x543073['locale'],_0xd55026=_0x543073[_0x1e6d('0x1d')][_0x1e6d('0x12')](_0x1e6d('0x15'));if(!_0x543073[_0x1e6d('0x19')][_0x1e6d('0x2')](_0x1e6d('0xa')))return;const _0x3d61ee=_0x543073[_0x1e6d('0x19')][_0x1e6d('0x12')](_0x1e6d('0x1a'));_0x3d61ee[_0x1e6d('0x0')](_0x1e6d('0xb'),(_0x270b21,_0x5cdd9b)=>{const _0x3711c8=_0x5cdd9b['value'],_0x328ad9=Array['from'](this['editor'][_0x1e6d('0xf')][_0x1e6d('0xd')]['selection']['getSelectedBlocks']())[_0x1e6d('0x1e')](_0x311ebe=>function(_0x2f7af9,_0x96b825,_0x56839e){return _0x56839e[_0x1e6d('0x11')](_0x2f7af9['parent'],_0x96b825)&&!_0x56839e['isObject'](_0x2f7af9)&&_0x2f7af9[_0x1e6d('0x9')]!=_0x96b825;}(_0x311ebe,_0x3711c8,this[_0x1e6d('0xc')][_0x1e6d('0xf')]['schema']));_0x543073['model'][_0x1e6d('0x8')](()=>{for(const _0x5cc355 of _0x328ad9)_0x3d61ee[_0x1e6d('0x17')](_0x5cc355,{'commandName':_0x1e6d('0xb'),'commandParams':[_0x5cdd9b],'formatGroupId':'blockName'},_0xe11163(_0x5cc355));});});for(const _0x4d92e4 of _0xd55026)'paragraph'!=_0x4d92e4[_0x1e6d('0xf')]&&_0x3d61ee['_descriptionFactory'][_0x1e6d('0x1c')](_0x4d92e4[_0x1e6d('0xf')],_0x111384=>{const _0x574837=nn(_0x4d92e4['model']);return null!==_0x574837?_0x4eaf1e(_0x111384,_0x574837):_0x2a1365(_0x111384,_0x4d92e4[_0x1e6d('0x4')]);});function _0x4eaf1e(_0x1dc5bd,_0x5a2178){return _0x3a4d04(_0x3af2be,_0x1e6d('0x16'),[_0x1dc5bd,_0x5a2178]);}function _0x2a1365(_0x4713e8,_0x1ab065){return _0x3a4d04(_0x3af2be,_0x1e6d('0x3'),[_0x4713e8,_0x1ab065]);}_0x3d61ee[_0x1e6d('0x1')][_0x1e6d('0x6')](_0x562ecd=>{const {type:_0x33a361,data:_0x25f1f8}=_0x562ecd;if(_0x1e6d('0x13')==_0x33a361&&_0x25f1f8&&'heading'==_0x25f1f8[_0x1e6d('0x18')]){const _0x17777d=_0x25f1f8[_0x1e6d('0x5')][0x0][_0x1e6d('0x10')],_0x288110=nn(_0x17777d);if(null!==_0x288110)return{'type':'format','content':_0x3a4d04(_0x3af2be,_0x1e6d('0xe'),_0x4eaf1e(0x1,_0x288110))};const _0x387ab6=_0xd55026[_0x1e6d('0x1b')](_0x2593da=>_0x2593da[_0x1e6d('0xf')]===_0x17777d)[_0x1e6d('0x4')];return{'type':_0x1e6d('0x14'),'content':_0x3a4d04(_0x3af2be,'*Change\x20to:*\x20%0',_0x2a1365(0x1,_0x387ab6))};}});}}function nn(_0x4c9dd2){const _0x30460e=_0x4c9dd2['match'](/^heading(\d+)$/);return _0x30460e?_0x30460e[0x1]:null;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xa543=['format','_descriptionFactory','editor','getRanges','toLowerCase','*Set\x20highlight:*\x20%0','plugins','hasAttribute','afterInit','*Remove\x20highlight*','model','backward','change','getAttribute','highlight.options','get','getFirstPosition','document','markInlineFormat','getLastMatchingPosition','title','find','createRange','selection','enableCommand','value','commandParams','FORMAT_HIGHLIGHT','TrackChangesEditing','highlight','formatInline','color','push','commandName','isCollapsed'];(function(_0x52b630,_0xa5433a){const _0xcebc6a=function(_0xa394d){while(--_0xa394d){_0x52b630['push'](_0x52b630['shift']());}};_0xcebc6a(++_0xa5433a);}(_0xa543,0x1bf));const _0xcebc=function(_0x52b630,_0xa5433a){_0x52b630=_0x52b630-0x0;let _0xcebc6a=_0xa543[_0x52b630];return _0xcebc6a;};import{Plugin as _0x4fa008}from'ckeditor5/src/core';import{getTranslation as _0xb47ef3}from'../utils/common-translations';import{getRangesWithAttribute as _0x431f4b}from'./utils';export default class K extends _0x4fa008{[_0xcebc('0x10')](){const _0x30aa94=this[_0xcebc('0xa')];if(!_0x30aa94[_0xcebc('0xe')]['has']('HighlightEditing'))return;const _0x15a866=_0x30aa94['plugins'][_0xcebc('0x17')](_0xcebc('0x1'));_0x15a866[_0xcebc('0x20')](_0xcebc('0x2'),(_0x1193a3,_0x58d4ab={})=>{const _0x5ce439=_0x30aa94[_0xcebc('0x12')][_0xcebc('0x19')][_0xcebc('0x1f')],_0x2c9f50=_0x5ce439['getAttribute']('highlight');let _0x3597a7=_0x58d4ab[_0xcebc('0x21')],_0x1e15fc=[];if(_0x5ce439[_0xcebc('0x7')]){const _0x73a02c=_0x5ce439[_0xcebc('0x18')]();if(!_0x5ce439[_0xcebc('0xf')](_0xcebc('0x2')))return void _0x1193a3(_0x58d4ab);{const _0x55b4df=_0x14e28d=>_0x14e28d['item'][_0xcebc('0x15')]('highlight')===_0x2c9f50,_0x2c5c1d=_0x73a02c[_0xcebc('0x1b')](_0x55b4df,{'direction':_0xcebc('0x13')}),_0x36ab8c=_0x73a02c[_0xcebc('0x1b')](_0x55b4df);_0x1e15fc=[_0x30aa94[_0xcebc('0x12')][_0xcebc('0x1e')](_0x2c5c1d,_0x36ab8c)],_0x3597a7==_0x2c9f50&&(_0x3597a7=null);}}else for(const _0x3aaf05 of _0x5ce439[_0xcebc('0xb')]())_0x3597a7?_0x1e15fc[_0xcebc('0x5')](_0x3aaf05):_0x1e15fc[_0xcebc('0x5')](..._0x431f4b(_0xcebc('0x2'),_0x3aaf05,_0x30aa94[_0xcebc('0x12')]));_0x30aa94['model'][_0xcebc('0x14')](()=>{for(const _0x323c8f of _0x1e15fc)_0x15a866[_0xcebc('0x1a')](_0x323c8f,{'commandName':'highlight','commandParams':[{'value':_0x3597a7}]});});});const _0x66324e=_0x30aa94['locale'];_0x15a866[_0xcebc('0x9')]['registerDescriptionCallback'](_0x4aac8b=>{const {type:_0x32509b,data:_0x2bee0f}=_0x4aac8b;if(_0xcebc('0x3')==_0x32509b&&_0x2bee0f&&'highlight'==_0x2bee0f[_0xcebc('0x6')]){const _0x597f87=_0x66324e['t'],_0x992254=_0x2bee0f[_0xcebc('0x22')][0x0][_0xcebc('0x21')];if(_0x992254){const _0x5ad425=_0x30aa94['config'][_0xcebc('0x17')](_0xcebc('0x16'))[_0xcebc('0x1d')](_0x315c3a=>_0x315c3a['model']==_0x992254),_0x48b88f=_0x597f87(_0x5ad425['title'])[_0xcebc('0xc')]();return{'type':_0xcebc('0x8'),'content':_0xb47ef3(_0x66324e,_0xcebc('0xd'),_0x48b88f),'color':{'value':_0x5ad425[_0xcebc('0x4')],'title':_0x5ad425[_0xcebc('0x1c')]}};}return{'type':'format','content':_0xb47ef3(_0x66324e,_0xcebc('0x11'),_0xb47ef3(_0x66324e,_0xcebc('0x0')))};}});}}
23
+ const _0x3bd6=['getAttribute','isCollapsed','formatInline','has','editor','document','afterInit','getRanges','markInlineFormat','title','getFirstPosition','model','createRange','item','config','find','get','commandParams','registerDescriptionCallback','toLowerCase','*Remove\x20highlight*','push','getLastMatchingPosition','format','change','_descriptionFactory','TrackChangesEditing','*Set\x20highlight:*\x20%0','selection','value','highlight.options','locale','highlight','HighlightEditing','color','plugins','commandName'];(function(_0x17de5a,_0x3bd6fa){const _0x12ca12=function(_0xcdff9b){while(--_0xcdff9b){_0x17de5a['push'](_0x17de5a['shift']());}};_0x12ca12(++_0x3bd6fa);}(_0x3bd6,0xc8));const _0x12ca=function(_0x17de5a,_0x3bd6fa){_0x17de5a=_0x17de5a-0x0;let _0x12ca12=_0x3bd6[_0x17de5a];return _0x12ca12;};import{Plugin as _0x4715cf}from'ckeditor5/src/core';import{getTranslation as _0x29a233}from'../utils/common-translations';import{getRangesWithAttribute as _0x47fdc9}from'./utils';export default class K extends _0x4715cf{[_0x12ca('0x1c')](){const _0x596e53=this[_0x12ca('0x1a')];if(!_0x596e53[_0x12ca('0x14')][_0x12ca('0x19')](_0x12ca('0x12')))return;const _0x2262f0=_0x596e53['plugins']['get'](_0x12ca('0xb'));_0x2262f0['enableCommand'](_0x12ca('0x11'),(_0x43e016,_0x436f22={})=>{const _0xf9db05=_0x596e53[_0x12ca('0x21')][_0x12ca('0x1b')][_0x12ca('0xd')],_0x4e4420=_0xf9db05[_0x12ca('0x16')](_0x12ca('0x11'));let _0x3c9d06=_0x436f22['value'],_0x4af521=[];if(_0xf9db05[_0x12ca('0x17')]){const _0x7f727=_0xf9db05[_0x12ca('0x20')]();if(!_0xf9db05['hasAttribute']('highlight'))return void _0x43e016(_0x436f22);{const _0x3d7a4e=_0x50d2bc=>_0x50d2bc[_0x12ca('0x23')]['getAttribute']('highlight')===_0x4e4420,_0xd5b998=_0x7f727[_0x12ca('0x7')](_0x3d7a4e,{'direction':'backward'}),_0x22a0b3=_0x7f727[_0x12ca('0x7')](_0x3d7a4e);_0x4af521=[_0x596e53[_0x12ca('0x21')][_0x12ca('0x22')](_0xd5b998,_0x22a0b3)],_0x3c9d06==_0x4e4420&&(_0x3c9d06=null);}}else for(const _0x1d1c50 of _0xf9db05[_0x12ca('0x1d')]())_0x3c9d06?_0x4af521['push'](_0x1d1c50):_0x4af521[_0x12ca('0x6')](..._0x47fdc9(_0x12ca('0x11'),_0x1d1c50,_0x596e53['model']));_0x596e53[_0x12ca('0x21')][_0x12ca('0x9')](()=>{for(const _0xa452e5 of _0x4af521)_0x2262f0[_0x12ca('0x1e')](_0xa452e5,{'commandName':_0x12ca('0x11'),'commandParams':[{'value':_0x3c9d06}]});});});const _0x394f2a=_0x596e53[_0x12ca('0x10')];_0x2262f0[_0x12ca('0xa')][_0x12ca('0x3')](_0x5db04a=>{const {type:_0x378e6d,data:_0x4dad53}=_0x5db04a;if(_0x12ca('0x18')==_0x378e6d&&_0x4dad53&&_0x12ca('0x11')==_0x4dad53[_0x12ca('0x15')]){const _0x320394=_0x394f2a['t'],_0x2ce199=_0x4dad53[_0x12ca('0x2')][0x0][_0x12ca('0xe')];if(_0x2ce199){const _0x4ff3b7=_0x596e53[_0x12ca('0x24')][_0x12ca('0x1')](_0x12ca('0xf'))[_0x12ca('0x0')](_0x3bf7cf=>_0x3bf7cf['model']==_0x2ce199),_0x89e954=_0x320394(_0x4ff3b7[_0x12ca('0x1f')])[_0x12ca('0x4')]();return{'type':_0x12ca('0x8'),'content':_0x29a233(_0x394f2a,_0x12ca('0xc'),_0x89e954),'color':{'value':_0x4ff3b7[_0x12ca('0x13')],'title':_0x4ff3b7['title']}};}return{'type':'format','content':_0x29a233(_0x394f2a,_0x12ca('0x5'),_0x29a233(_0x394f2a,'FORMAT_HIGHLIGHT'))};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x8086=['conversion','elementToStructure','locale','addClass','createPositionAt','registerElementLabel','dataDowncast','get','createEmptyElement','ELEMENT_HORIZONTAL_LINE','div','_descriptionFactory','plugins','high','createContainerElement','horizontalLine','HorizontalLineEditing','TrackChangesEditing','ck-horizontal-line'];(function(_0x347094,_0x808631){const _0xed9b16=function(_0x1b9e94){while(--_0x1b9e94){_0x347094['push'](_0x347094['shift']());}};_0xed9b16(++_0x808631);}(_0x8086,0x140));const _0xed9b=function(_0x347094,_0x808631){_0x347094=_0x347094-0x0;let _0xed9b16=_0x8086[_0x347094];return _0xed9b16;};import{Plugin as _0x1071ac}from'ckeditor5/src/core';import{getTranslation as _0x30af77}from'../utils/common-translations';export default class Q extends _0x1071ac{['afterInit'](){const _0x2fa6e3=this['editor'];if(!_0x2fa6e3['plugins']['has'](_0xed9b('0x0')))return;_0x2fa6e3[_0xed9b('0xf')][_0xed9b('0xa')](_0xed9b('0x1'))['enableCommand'](_0xed9b('0x12'));const _0x151902=_0x2fa6e3[_0xed9b('0xf')][_0xed9b('0xa')](_0xed9b('0x1')),_0x3f9e0c=_0x2fa6e3[_0xed9b('0x5')];_0x151902[_0xed9b('0xe')][_0xed9b('0x8')](_0xed9b('0x12'),_0x2564d0=>_0x30af77(_0x3f9e0c,_0xed9b('0xc'),_0x2564d0)),_0x2fa6e3[_0xed9b('0x3')]['for'](_0xed9b('0x9'))[_0xed9b('0x4')]({'model':_0xed9b('0x12'),'view':(_0x4aaeec,{writer:_0x599675,options:_0x329ab5})=>{if(!_0x329ab5['showSuggestionHighlights'])return null;const _0x5366ed=_0x599675[_0xed9b('0x11')](_0xed9b('0xd')),_0x15a230=_0x599675[_0xed9b('0xb')]('hr');return _0x599675[_0xed9b('0x6')](_0xed9b('0x2'),_0x5366ed),_0x599675['insert'](_0x599675[_0xed9b('0x7')](_0x5366ed,0x0),_0x15a230),_0x5366ed;},'converterPriority':_0xed9b('0x10')});}}
23
+ const _0x12b6=['createContainerElement','plugins','has','editor','locale','get','elementToStructure','div','enableCommand','high','createPositionAt','ck-horizontal-line','ELEMENT_HORIZONTAL_LINE','TrackChangesEditing','_descriptionFactory','dataDowncast','HorizontalLineEditing','insert','horizontalLine','for','addClass'];(function(_0x5a0420,_0x12b61f){const _0x29d39e=function(_0x563faa){while(--_0x563faa){_0x5a0420['push'](_0x5a0420['shift']());}};_0x29d39e(++_0x12b61f);}(_0x12b6,0x1de));const _0x29d3=function(_0x5a0420,_0x12b61f){_0x5a0420=_0x5a0420-0x0;let _0x29d39e=_0x12b6[_0x5a0420];return _0x29d39e;};import{Plugin as _0x4db458}from'ckeditor5/src/core';import{getTranslation as _0xa02219}from'../utils/common-translations';export default class Q extends _0x4db458{['afterInit'](){const _0x6b4896=this[_0x29d3('0x8')];if(!_0x6b4896[_0x29d3('0x6')][_0x29d3('0x7')](_0x29d3('0x0')))return;_0x6b4896[_0x29d3('0x6')][_0x29d3('0xa')]('TrackChangesEditing')[_0x29d3('0xd')]('horizontalLine');const _0x16ac9c=_0x6b4896[_0x29d3('0x6')]['get'](_0x29d3('0x12')),_0x287785=_0x6b4896[_0x29d3('0x9')];_0x16ac9c[_0x29d3('0x13')]['registerElementLabel']('horizontalLine',_0x23cff0=>_0xa02219(_0x287785,_0x29d3('0x11'),_0x23cff0)),_0x6b4896['conversion'][_0x29d3('0x3')](_0x29d3('0x14'))[_0x29d3('0xb')]({'model':_0x29d3('0x2'),'view':(_0x18cdd5,{writer:_0x976ba2,options:_0x528ed7})=>{if(!_0x528ed7['showSuggestionHighlights'])return null;const _0x463fff=_0x976ba2[_0x29d3('0x5')](_0x29d3('0xc')),_0x3fa870=_0x976ba2['createEmptyElement']('hr');return _0x976ba2[_0x29d3('0x4')](_0x29d3('0x10'),_0x463fff),_0x976ba2[_0x29d3('0x1')](_0x976ba2[_0x29d3('0xf')](_0x463fff,0x0),_0x3fa870),_0x463fff;},'converterPriority':_0x29d3('0xe')});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2282=['editing','getAttribute','value','get','locale','selection','_descriptionFactory','editor','plugins','getCustomProperty','rawHtml','enableCommand','document','ELEMENT_HTML_EMBED','registerDescriptionCallback','HtmlEmbed','element','TrackChangesEditing','getSelectedElement','commandName','*Change\x20%0\x20content*','htmlEmbed','afterInit'];(function(_0x4b56cc,_0x22825c){const _0x4ecb72=function(_0x452536){while(--_0x452536){_0x4b56cc['push'](_0x4b56cc['shift']());}};_0x4ecb72(++_0x22825c);}(_0x2282,0x1a0));const _0x4ecb=function(_0x4b56cc,_0x22825c){_0x4b56cc=_0x4b56cc-0x0;let _0x4ecb72=_0x2282[_0x4b56cc];return _0x4ecb72;};import{Plugin as _0x53f178}from'ckeditor5/src/core';import{getTranslation as _0x5ef4a8}from'../utils/common-translations';export default class V extends _0x53f178{[_0x4ecb('0x14')](){const _0x5b260e=this[_0x4ecb('0x5')];if(!_0x5b260e[_0x4ecb('0x6')]['has'](_0x4ecb('0xd')))return;const _0x3c5abf=_0x5b260e[_0x4ecb('0x6')][_0x4ecb('0x1')](_0x4ecb('0xf')),_0x336965=_0x5b260e[_0x4ecb('0x2')],_0x2c2707=_0x5b260e[_0x4ecb('0x15')]['view'][_0x4ecb('0xa')][_0x4ecb('0x3')];_0x3c5abf[_0x4ecb('0x4')]['registerElementLabel']('rawHtml',_0x1044e8=>_0x5ef4a8(_0x336965,_0x4ecb('0xb'),_0x1044e8)),_0x5b260e['plugins']['get'](_0x4ecb('0xf'))[_0x4ecb('0x9')](_0x4ecb('0x13'),(_0x9bbce0,_0x1760f6)=>{const _0x2da726=_0x5b260e['model'],_0x3d65fe=_0x2da726[_0x4ecb('0xa')]['selection'];_0x2da726['change'](()=>{const _0x3cd3aa=function(_0x23a674){const _0x43133d=_0x23a674[_0x4ecb('0x10')]();if(_0x43133d&&_0x43133d['is'](_0x4ecb('0xe'),_0x4ecb('0x8')))return _0x23a674[_0x4ecb('0x10')]();return null;}(_0x3d65fe);if(!_0x3cd3aa)return void _0x9bbce0(null);const _0x3239d7=_0x3cd3aa[_0x4ecb('0x16')](_0x4ecb('0x0'))||'';if(void 0x0===_0x1760f6)return;if(_0x1760f6===_0x3239d7)return;_0x3c5abf['markBlockFormat'](_0x3cd3aa,{'commandName':_0x4ecb('0x13'),'commandParams':[_0x1760f6]}),_0x2c2707[_0x4ecb('0x10')]()[_0x4ecb('0x7')]('rawHtmlApi')['cancel']();});}),_0x3c5abf['_descriptionFactory'][_0x4ecb('0xc')](_0x3be326=>{const {data:_0x593a1c}=_0x3be326;if(_0x593a1c&&_0x4ecb('0x13')==_0x593a1c[_0x4ecb('0x11')]){const _0x318a72=_0x5ef4a8(_0x336965,_0x4ecb('0xb'));return{'type':'format','content':_0x5ef4a8(_0x336965,_0x4ecb('0x12'),_0x318a72)};}});}}
23
+ const _0x2cf7=['cancel','get','change','document','rawHtmlApi','rawHtml','registerDescriptionCallback','TrackChangesEditing','afterInit','getAttribute','*Change\x20%0\x20content*','view','element','ELEMENT_HTML_EMBED','value','plugins','enableCommand','htmlEmbed','registerElementLabel','has','locale','getCustomProperty','getSelectedElement','markBlockFormat','editing','model','selection','_descriptionFactory'];(function(_0x57a5b8,_0x2cf71b){const _0x41849c=function(_0x30553c){while(--_0x30553c){_0x57a5b8['push'](_0x57a5b8['shift']());}};_0x41849c(++_0x2cf71b);}(_0x2cf7,0x1d4));const _0x4184=function(_0x57a5b8,_0x2cf71b){_0x57a5b8=_0x57a5b8-0x0;let _0x41849c=_0x2cf7[_0x57a5b8];return _0x41849c;};import{Plugin as _0x5a40f6}from'ckeditor5/src/core';import{getTranslation as _0x36f4c5}from'../utils/common-translations';export default class V extends _0x5a40f6{[_0x4184('0x10')](){const _0x13f055=this['editor'];if(!_0x13f055[_0x4184('0x17')][_0x4184('0x1b')]('HtmlEmbed'))return;const _0x1c99c9=_0x13f055[_0x4184('0x17')][_0x4184('0x9')](_0x4184('0xf')),_0x3afb29=_0x13f055[_0x4184('0x0')],_0x5b7f3f=_0x13f055[_0x4184('0x4')][_0x4184('0x13')][_0x4184('0xb')][_0x4184('0x6')];_0x1c99c9['_descriptionFactory'][_0x4184('0x1a')]('rawHtml',_0x351394=>_0x36f4c5(_0x3afb29,_0x4184('0x15'),_0x351394)),_0x13f055[_0x4184('0x17')][_0x4184('0x9')](_0x4184('0xf'))[_0x4184('0x18')](_0x4184('0x19'),(_0x3293fa,_0x2e9018)=>{const _0x13b331=_0x13f055[_0x4184('0x5')],_0x1796d1=_0x13b331[_0x4184('0xb')][_0x4184('0x6')];_0x13b331[_0x4184('0xa')](()=>{const _0x5c2bec=function(_0x34e735){const _0x4b1637=_0x34e735[_0x4184('0x2')]();if(_0x4b1637&&_0x4b1637['is'](_0x4184('0x14'),_0x4184('0xd')))return _0x34e735[_0x4184('0x2')]();return null;}(_0x1796d1);if(!_0x5c2bec)return void _0x3293fa(null);const _0x1e9298=_0x5c2bec[_0x4184('0x11')](_0x4184('0x16'))||'';if(void 0x0===_0x2e9018)return;if(_0x2e9018===_0x1e9298)return;_0x1c99c9[_0x4184('0x3')](_0x5c2bec,{'commandName':'htmlEmbed','commandParams':[_0x2e9018]}),_0x5b7f3f['getSelectedElement']()[_0x4184('0x1')](_0x4184('0xc'))[_0x4184('0x8')]();});}),_0x1c99c9[_0x4184('0x7')][_0x4184('0xe')](_0x33afb0=>{const {data:_0x1a57e7}=_0x33afb0;if(_0x1a57e7&&_0x4184('0x19')==_0x1a57e7['commandName']){const _0x3890ff=_0x36f4c5(_0x3afb29,'ELEMENT_HTML_EMBED');return{'type':'format','content':_0x36f4c5(_0x3afb29,_0x4184('0x12'),_0x3890ff)};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5114=['selection','from','toLowerCase','afterInit','title','toPrevious','registerDescriptionCallback','_suggestionFactory','isBlockImage','ImageUtils','isInContent','ELEMENT_INLINE_IMAGE','imageTextAlternative','previous','isCollapsed','width','format','locale','next','side','ImageEditing','imageStylePostApply','refresh','newValue','get','element','start','imageTypeInline','commandName','normalizedStyles','discard','FORMAT_SIDE_IMAGE','getAttribute','_splitMarkerName','shouldConvertImageType','isIntersecting','model','editor','commandParams','detach','insertImage','caption','differ','isOwn','join','getContainedElement','hasAttribute','markBlockFormat','subType','markInsertion','ImageBlockEditing','getNearestSelectionRange','type','getClosestSelectedImageElement','formatBlock','has','ImageTextAlternativeEditing','isEqual','getSuggestions','formatInline','fromPosition','createRangeOn','backward','registerElementLabel','isInlineImage','enableCommand','ELEMENT_CAPTION','uploadImage','markInlineFormat','getCaptionFromImageModelElement','chain','value','head','discardSuggestion','ImageCaptionUtils','TrackChangesEditing','end','filter','createRange','commands','insertion','imageStylePreApply','convertBlockImageToInline','document','registerCustomCallback','forEach','_descriptionFactory','Inline\x20image\x20to\x20block\x20image','convertInlineImageToBlock','*Remove\x20image\x20text\x20alternative*','getSuggestionCallback','schema','accept','forward','plugins','imageTypeBlock','imageStyle','findIndex','toggleImageCaption','suggestion','nodeBefore','isBefore','resizeImage','imageCaption','change','toNext','getSuggestion','alt'];(function(_0x50a356,_0x511459){const _0x1f040b=function(_0x2b4ebc){while(--_0x2b4ebc){_0x50a356['push'](_0x50a356['shift']());}};_0x1f040b(++_0x511459);}(_0x5114,0x1b7));const _0x1f04=function(_0x50a356,_0x511459){_0x50a356=_0x50a356-0x0;let _0x1f040b=_0x5114[_0x50a356];return _0x1f040b;};import{Plugin as _0x1d763f}from'ckeditor5/src/core';import{LivePosition as _0x18a93e}from'ckeditor5/src/engine';import{uid as _0x2c88f0}from'ckeditor5/src/utils';import{getTranslation as _0x48742f}from'../utils/common-translations';export default class X extends _0x1d763f{[_0x1f04('0x68')](){const _0x707fbb=this[_0x1f04('0x1e')];if(!_0x707fbb[_0x1f04('0x57')][_0x1f04('0x30')](_0x1f04('0xd')))return;const _0x404a02=_0x707fbb[_0x1f04('0x57')][_0x1f04('0x11')](_0x1f04('0x44')),_0x40f7ce=_0x707fbb[_0x1f04('0x57')][_0x1f04('0x11')](_0x1f04('0x2')),_0x554e51={},_0x33436c=_0x707fbb[_0x1f04('0xa')];if(_0x404a02['enableCommand'](_0x1f04('0x21')),_0x404a02['_descriptionFactory'][_0x1f04('0x38')]('imageBlock',_0x24e7a0=>_0x48742f(_0x33436c,'ELEMENT_IMAGE',_0x24e7a0)),_0x404a02[_0x1f04('0x4f')][_0x1f04('0x38')]('imageInline',_0x1c1258=>_0x48742f(_0x33436c,_0x1f04('0x4'),_0x1c1258)),_0x404a02[_0x1f04('0x4f')][_0x1f04('0x38')](_0x1f04('0x22'),()=>_0x48742f(_0x33436c,_0x1f04('0x3b'))),_0x707fbb[_0x1f04('0x57')][_0x1f04('0x30')]('ImageUploadEditing')&&_0x404a02[_0x1f04('0x3a')](_0x1f04('0x3c')),_0x707fbb[_0x1f04('0x57')][_0x1f04('0x30')](_0x1f04('0x2b'))&&_0x707fbb[_0x1f04('0x57')][_0x1f04('0x30')]('ImageInlineEditing')&&(_0x404a02[_0x1f04('0x3a')](_0x1f04('0x14'),(_0x4a58b8,_0xc9273a)=>{const _0x58811e=_0x40f7ce['getClosestSelectedImageElement'](_0x707fbb[_0x1f04('0x1d')][_0x1f04('0x4c')][_0x1f04('0x65')]);_0x707fbb[_0x1f04('0x1d')][_0x1f04('0x61')](()=>{_0x404a02['markBlockFormat'](_0x58811e,{'commandName':_0x1f04('0x14'),'commandParams':[_0xc9273a]},[],_0x1f04('0x4b'));});}),_0x404a02[_0x1f04('0x3a')]('imageTypeBlock',(_0x4d1551,_0x8449af)=>{_0x707fbb[_0x1f04('0x1d')]['change'](_0x558938=>{let _0x165952=_0x40f7ce[_0x1f04('0x2e')](_0x707fbb['model'][_0x1f04('0x4c')][_0x1f04('0x65')]),_0x5e7972=_0x558938['createRangeOn'](_0x165952);const _0x474e1b=_0x18a93e[_0x1f04('0x35')](_0x5e7972[_0x1f04('0x13')],_0x1f04('0x6a')),_0x530d86=_0x18a93e['fromPosition'](_0x5e7972[_0x1f04('0x45')],_0x1f04('0x62'));_0x404a02['forceDefaultExecution'](()=>_0x4d1551(_0x8449af)),_0x165952=_0x40f7ce[_0x1f04('0x2e')](_0x707fbb[_0x1f04('0x1d')][_0x1f04('0x4c')][_0x1f04('0x65')]),_0x5e7972=_0x558938['createRangeOn'](_0x165952);const _0x1a608d=_0x558938[_0x1f04('0x47')](_0x474e1b,_0x530d86);_0x474e1b[_0x1f04('0x20')](),_0x530d86['detach'](),_0x404a02[_0x1f04('0x28')](_0x165952,{'commandName':_0x1f04('0x14'),'commandParams':[]},[],_0x1f04('0x51')),_0x1a608d[_0x1f04('0x13')][_0x1f04('0x5e')](_0x5e7972['start'])&&_0x404a02[_0x1f04('0x2a')](_0x558938[_0x1f04('0x47')](_0x1a608d[_0x1f04('0x13')],_0x5e7972[_0x1f04('0x13')]),_0x1f04('0x51')),_0x5e7972[_0x1f04('0x45')][_0x1f04('0x5e')](_0x1a608d[_0x1f04('0x45')])&&_0x404a02[_0x1f04('0x2a')](_0x558938[_0x1f04('0x47')](_0x5e7972[_0x1f04('0x45')],_0x1a608d[_0x1f04('0x45')]),_0x1f04('0x51'));});}),_0x404a02['_suggestionFactory'][_0x1f04('0x4d')]('formatBlock',_0x1f04('0x51'),_0x1f04('0x25'),()=>{}),_0x404a02[_0x1f04('0x0')]['registerCustomCallback'](_0x1f04('0x2f'),_0x1f04('0x51'),_0x1f04('0x55'),()=>{}),_0x404a02[_0x1f04('0x0')][_0x1f04('0x4d')](_0x1f04('0x2f'),_0x1f04('0x51'),_0x1f04('0x17'),_0x404a02[_0x1f04('0x0')][_0x1f04('0x53')](_0x1f04('0x2f'),'',_0x1f04('0x55'))),_0x404a02[_0x1f04('0x0')][_0x1f04('0x4d')]('insertion',_0x1f04('0x51'),_0x1f04('0x25'),()=>{}),_0x404a02[_0x1f04('0x0')]['registerCustomCallback']('insertion','convertInlineImageToBlock',_0x1f04('0x17'),([_0x255fdc])=>{const _0x1b6dcd=_0x404a02['_suggestionFactory'][_0x1f04('0x53')](_0x1f04('0x49'),'',_0x1f04('0x17'));let _0x276381=_0x255fdc['start'],_0x5ab2f6=_0x255fdc[_0x1f04('0x45')];const _0x55af3d=_0x707fbb['model'][_0x1f04('0x54')][_0x1f04('0x2c')](_0x276381,_0x1f04('0x37')),_0x358c40=_0x707fbb[_0x1f04('0x1d')][_0x1f04('0x54')][_0x1f04('0x2c')](_0x5ab2f6,_0x1f04('0x56'));_0x55af3d[_0x1f04('0x7')]&&(_0x276381=_0x55af3d['start']),_0x358c40[_0x1f04('0x7')]&&(_0x5ab2f6=_0x358c40[_0x1f04('0x45')]),_0x1b6dcd([_0x707fbb[_0x1f04('0x1d')][_0x1f04('0x47')](_0x276381,_0x5ab2f6)]);}),_0x404a02[_0x1f04('0x0')][_0x1f04('0x4d')](_0x1f04('0x2f'),_0x1f04('0x51'),_0x1f04('0x3f'),_0xa73418),_0x404a02[_0x1f04('0x0')][_0x1f04('0x4d')](_0x1f04('0x49'),_0x1f04('0x51'),_0x1f04('0x3f'),_0xa73418)),_0x707fbb[_0x1f04('0x57')][_0x1f04('0x30')]('ImageCaptionEditing')&&(_0x404a02['enableCommand'](_0x1f04('0x5b'),(_0x9fc1b1,_0x56bee4)=>{const _0xa41007=_0x707fbb[_0x1f04('0x57')][_0x1f04('0x11')](_0x1f04('0x43'));let _0x93a267=_0x40f7ce['getClosestSelectedImageElement'](_0x707fbb[_0x1f04('0x1d')]['document']['selection']),_0x45657d=_0xa41007[_0x1f04('0x3e')](_0x93a267);_0x707fbb[_0x1f04('0x1d')]['change'](()=>{if(_0x45657d)return void _0x404a02['markDeletion'](_0x707fbb[_0x1f04('0x1d')][_0x1f04('0x36')](_0x45657d));const _0x26e3fa=_0x40f7ce[_0x1f04('0x1')](_0x93a267);_0x9fc1b1(_0x56bee4),_0x93a267=_0x40f7ce[_0x1f04('0x2e')](_0x707fbb[_0x1f04('0x1d')][_0x1f04('0x4c')][_0x1f04('0x65')]),_0x45657d=_0xa41007[_0x1f04('0x3e')](_0x93a267),_0x404a02[_0x1f04('0x2a')](_0x707fbb[_0x1f04('0x1d')]['createRangeOn'](_0x45657d),_0x26e3fa?null:_0x1f04('0x60'));});}),_0x404a02[_0x1f04('0x0')]['registerCustomCallback'](_0x1f04('0x49'),_0x1f04('0x60'),'chain',_0xa73418)),_0x707fbb['plugins'][_0x1f04('0x30')]('ImageStyleEditing')){_0x404a02[_0x1f04('0x3a')](_0x1f04('0x59'),(_0x472d5e,_0x2baa3b)=>{const _0x145ab4=_0x707fbb[_0x1f04('0x57')][_0x1f04('0x11')]('Users')['me'],_0x208d19=_0x707fbb['commands'][_0x1f04('0x11')](_0x1f04('0x59'));let _0x11cbd7=_0x40f7ce[_0x1f04('0x2e')](_0x707fbb[_0x1f04('0x1d')]['document'][_0x1f04('0x65')]),_0x216d5c=_0x707fbb[_0x1f04('0x1d')][_0x1f04('0x36')](_0x11cbd7),_0x1a1b52=_0x208d19[_0x1f04('0x40')];if(_0x1a1b52==_0x2baa3b[_0x1f04('0x40')])return;const _0x46d665={'commandName':_0x1f04('0x59'),'commandParams':[_0x2baa3b],'formatGroupId':_0x2c88f0()};_0x707fbb[_0x1f04('0x1d')]['change'](()=>{if(_0x404a02[_0x1f04('0x33')]()[_0x1f04('0x46')](_0x74ee63=>_0x74ee63['isInContent']&&_0x145ab4==_0x74ee63['author']&&(_0x1f04('0x2f')==_0x74ee63['type']||_0x1f04('0x34')==_0x74ee63[_0x1f04('0x2d')])&&(_0x1f04('0x4a')==_0x74ee63[_0x1f04('0x29')]||_0x1f04('0xe')==_0x74ee63[_0x1f04('0x29')])&&_0x74ee63['getFirstRange']()[_0x1f04('0x32')](_0x216d5c))[_0x1f04('0x4e')](_0x22fee2=>_0x404a02[_0x1f04('0x42')](_0x22fee2[_0x1f04('0x41')])),_0x11cbd7=_0x40f7ce[_0x1f04('0x2e')](_0x707fbb['model']['document'][_0x1f04('0x65')]),_0x216d5c=_0x707fbb['model'][_0x1f04('0x36')](_0x11cbd7),_0x208d19[_0x1f04('0xf')](),_0x707fbb['commands'][_0x1f04('0x11')]('imageTypeInline')[_0x1f04('0xf')](),_0x707fbb[_0x1f04('0x48')][_0x1f04('0x11')](_0x1f04('0x58'))[_0x1f04('0xf')](),_0x1a1b52=_0x208d19[_0x1f04('0x40')],_0x1a1b52!=_0x2baa3b[_0x1f04('0x40')])return _0x40f7ce[_0x1f04('0x39')](_0x11cbd7)&&_0x208d19[_0x1f04('0x1b')](_0x2baa3b[_0x1f04('0x40')],_0x11cbd7)?(_0x472d5e(_0x2baa3b),_0x11cbd7=_0x40f7ce[_0x1f04('0x2e')](_0x707fbb['model'][_0x1f04('0x4c')][_0x1f04('0x65')]),void _0x404a02[_0x1f04('0x28')](_0x11cbd7,{..._0x46d665,'commandReversedParams':[{'value':_0x1a1b52||null}]},[],'imageStylePreApply')):void(_0x40f7ce[_0x1f04('0x1')](_0x11cbd7)?_0x404a02['markBlockFormat'](_0x11cbd7,_0x46d665,[],'imageStylePostApply'):_0x404a02[_0x1f04('0x3d')](_0x216d5c,_0x46d665,_0x1f04('0xe')));});});for(const _0x4983eb of _0x707fbb[_0x1f04('0x57')][_0x1f04('0x11')]('ImageStyleEditing')[_0x1f04('0x16')])_0x554e51[_0x4983eb['name']]=_0x4983eb[_0x1f04('0x69')][_0x1f04('0x67')]();_0x404a02[_0x1f04('0x0')][_0x1f04('0x4d')](_0x1f04('0x2f'),_0x1f04('0x4a'),_0x1f04('0x25'),()=>{}),_0x404a02['_suggestionFactory'][_0x1f04('0x4d')]('formatBlock',_0x1f04('0xe'),'join',()=>{}),_0x404a02[_0x1f04('0x0')]['registerCustomCallback'](_0x1f04('0x34'),_0x1f04('0xe'),_0x1f04('0x25'),()=>{}),_0x404a02[_0x1f04('0x0')]['registerCustomCallback'](_0x1f04('0x2f'),'imageStylePreApply',_0x1f04('0x55'),()=>{}),_0x404a02['_suggestionFactory'][_0x1f04('0x4d')](_0x1f04('0x2f'),_0x1f04('0x4a'),'discard',(_0x56e818,_0x54b838)=>{_0x404a02[_0x1f04('0x0')]['getSuggestionCallback'](_0x1f04('0x2f'),'',_0x1f04('0x55'))(_0x56e818,{'commandName':_0x54b838[_0x1f04('0x15')],'commandParams':_0x54b838['commandReversedParams']});}),_0x404a02[_0x1f04('0x0')][_0x1f04('0x4d')](_0x1f04('0x2f'),_0x1f04('0x4a'),'chain',_0xa73418);}const _0x5e2de6=[{'type':'formatBlock','subType':_0x1f04('0x4a')},{'type':'insertion','subType':'imageCaption'},{'type':_0x1f04('0x2f'),'subType':_0x1f04('0x51')},{'type':'insertion','subType':_0x1f04('0x51')}];function _0x425d2b(_0x5ef565,_0x5b6843){const _0x20a845=_0x5e2de6[_0x1f04('0x5a')](({type:_0x203508,subType:_0x60a58b})=>_0x5ef565[_0x1f04('0x2d')]==_0x203508&&_0x5ef565[_0x1f04('0x29')]==_0x60a58b),_0x2a3676=_0x5e2de6[_0x1f04('0x5a')](({type:_0x79a711,subType:_0xc6b6a7})=>_0x5b6843[_0x1f04('0x2d')]==_0x79a711&&_0x5b6843['subType']==_0xc6b6a7);if(_0x20a845<0x0||_0x2a3676<0x0)return!0x1;const _0x3be5fc=_0x5ef565['getFirstRange'](),_0xab8235=_0x5b6843['getFirstRange']();if((0x0==_0x20a845||0x1==_0x20a845)&&0x2==_0x2a3676&&_0x3be5fc[_0x1f04('0x1c')](_0xab8235))return!0x0;if(0x2==_0x20a845&&0x3==_0x2a3676){const _0x9a6a08=_0x404a02['_findSuggestions'](_0x3be5fc,_0x1f04('0x49'))[_0x1f04('0x46')](({suggestion:_0x1a146b,meta:_0x338829})=>_0x338829[_0x1f04('0x24')]&&_0x1f04('0x51')==_0x1a146b[_0x1f04('0x29')]);if(_0x9a6a08['length']>0x1&&_0xab8235[_0x1f04('0x45')]['isEqual'](_0x3be5fc[_0x1f04('0x13')]))return!0x0;if(0x1==_0x9a6a08['length']&&(_0x3be5fc['start']['isEqual'](_0xab8235[_0x1f04('0x45')])||_0x3be5fc['end'][_0x1f04('0x32')](_0xab8235[_0x1f04('0x13')])))return!0x0;}if(0x3==_0x20a845&&0x3==_0x2a3676&&_0x3be5fc[_0x1f04('0x13')][_0x1f04('0x5e')](_0xab8235[_0x1f04('0x13')])){const _0x894394=_0x3be5fc[_0x1f04('0x45')]['nodeAfter'],_0x5114a6=_0xab8235[_0x1f04('0x13')][_0x1f04('0x5d')];return _0x40f7ce[_0x1f04('0x1')](_0x894394)&&_0x894394===_0x5114a6;}return!0x1;}function _0xa73418(_0x5a508c,_0xf62863){return _0x425d2b(_0x5a508c,_0xf62863)?[_0x5a508c,_0xf62863]:_0x425d2b(_0xf62863,_0x5a508c)?[_0xf62863,_0x5a508c]:null;}_0x707fbb[_0x1f04('0x1d')]['document']['registerPostFixer'](()=>{let _0x307828=!0x1;const _0x508367=Array[_0x1f04('0x66')](_0x707fbb[_0x1f04('0x1d')][_0x1f04('0x4c')][_0x1f04('0x23')]['getChangedMarkers']());for(const {name:_0x2cc17,data:_0x98dbe6}of _0x508367){const {group:_0x311e10,type:_0x2c3e10,subType:_0x5ae727,id:_0x24284f}=_0x404a02[_0x1f04('0x1a')](_0x2cc17);if(_0x1f04('0x5c')==_0x311e10&&_0x404a02['hasSuggestion'](_0x24284f)){if('formatBlock'==_0x2c3e10&&(_0x1f04('0x4a')==_0x5ae727||_0x1f04('0xe')==_0x5ae727)){const _0xbb5bbf=_0x404a02[_0x1f04('0x63')](_0x24284f);if(_0x98dbe6['newRange']){const _0x14bd94=_0xbb5bbf['getFirstRange']()[_0x1f04('0x26')]();if(_0x40f7ce[_0x1f04('0x1')](_0x14bd94))continue;_0x404a02[_0x1f04('0x42')](_0xbb5bbf),_0x307828=!0x0;}}if(_0x1f04('0x49')==_0x2c3e10&&_0x1f04('0x60')==_0x5ae727&&!_0x98dbe6['newRange']){const _0x56f142=_0x404a02[_0x1f04('0x63')](_0x24284f);_0x56f142['next']&&_0x56f142[_0x1f04('0xb')][_0x1f04('0x3')]&&(_0x404a02['discardSuggestion'](_0x56f142['next']),_0x307828=!0x0);}}}return _0x307828;}),_0x707fbb[_0x1f04('0x57')][_0x1f04('0x30')]('ImageResize')&&_0x404a02[_0x1f04('0x3a')]('resizeImage',(_0x1ae966,_0x3c84a5)=>{const _0x5494b3=_0x40f7ce[_0x1f04('0x2e')](_0x707fbb['model'][_0x1f04('0x4c')][_0x1f04('0x65')]);_0x5494b3[_0x1f04('0x19')](_0x1f04('0x8'))!=_0x3c84a5[_0x1f04('0x8')]&&_0x707fbb[_0x1f04('0x1d')][_0x1f04('0x61')](()=>{_0x404a02[_0x1f04('0x28')](_0x5494b3,{'commandName':'resizeImage','commandParams':[_0x3c84a5]});});}),_0x707fbb[_0x1f04('0x57')][_0x1f04('0x30')](_0x1f04('0x31'))&&_0x404a02[_0x1f04('0x3a')](_0x1f04('0x5'),(_0x11967a,_0x48d9b9)=>{const _0xcd38b0=_0x40f7ce['getClosestSelectedImageElement'](_0x707fbb[_0x1f04('0x1d')][_0x1f04('0x4c')]['selection']);(_0xcd38b0[_0x1f04('0x27')]('alt')?_0xcd38b0[_0x1f04('0x19')](_0x1f04('0x64')):'')!=_0x48d9b9[_0x1f04('0x10')]&&_0x707fbb['model'][_0x1f04('0x61')](()=>{_0x404a02[_0x1f04('0x28')](_0xcd38b0,{'commandName':'imageTextAlternative','commandParams':[_0x48d9b9]});});}),_0x404a02[_0x1f04('0x4f')][_0x1f04('0x6b')](_0x56b245=>{if(!!_0x5e2de6['find'](({type:_0x176004,subType:_0x24ac7b})=>_0x56b245[_0x1f04('0x2d')]==_0x176004&&_0x56b245['subType']==_0x24ac7b))return _0x56b245[_0x1f04('0x6')]?{}:void 0x0;}),_0x404a02[_0x1f04('0x4f')][_0x1f04('0x6b')](_0x113b7e=>{if(_0x1f04('0x49')==_0x113b7e[_0x1f04('0x2d')]||'deletion'==_0x113b7e[_0x1f04('0x2d')]){const _0x3fa297=_0x113b7e[_0x1f04('0x26')]();if(_0x3fa297&&_0x3fa297['is'](_0x1f04('0x12'),_0x1f04('0x22')))return{'type':_0x1f04('0x49')==_0x113b7e[_0x1f04('0x2d')]?'addObject':'removeObject','element':_0x3fa297,'quantity':0x1};}}),_0x404a02[_0x1f04('0x4f')][_0x1f04('0x6b')](_0x1e3307=>'formatBlock'==_0x1e3307[_0x1f04('0x2d')]&&_0x1f04('0x51')==_0x1e3307['subType']?{'type':_0x1f04('0x9'),'content':_0x1f04('0x50')}:'formatBlock'==_0x1e3307[_0x1f04('0x2d')]&&_0x1f04('0x4b')==_0x1e3307[_0x1f04('0x29')]?{'type':'format','content':'Block\x20image\x20to\x20inline\x20image'}:void 0x0),_0x404a02[_0x1f04('0x4f')][_0x1f04('0x6b')](_0x57d655=>{const {data:_0x1c9f4d}=_0x57d655;if(_0x1c9f4d){if(_0x1f04('0x59')==_0x1c9f4d[_0x1f04('0x15')]){const _0x16f612=_0x1c9f4d[_0x1f04('0x1f')][0x0][_0x1f04('0x40')];return _0x24b557(_0x1f04('0xc')===_0x16f612?_0x48742f(_0x33436c,_0x1f04('0x18')):_0x554e51[_0x16f612]||_0x16f612);}if(_0x1f04('0x5')==_0x1c9f4d[_0x1f04('0x15')]){const _0x4427f8=_0x1c9f4d[_0x1f04('0x1f')][0x0][_0x1f04('0x10')];return _0x4427f8?{'type':_0x1f04('0x9'),'content':_0x48742f(_0x33436c,'*Set\x20image\x20text\x20alternative:*\x20%0','\x22'+_0x4427f8+'\x22')}:{'type':_0x1f04('0x9'),'content':_0x48742f(_0x33436c,_0x1f04('0x52'))};}if(_0x1f04('0x5f')==_0x1c9f4d[_0x1f04('0x15')]){const _0x34b423=_0x1c9f4d[_0x1f04('0x1f')][0x0][_0x1f04('0x8')];return _0x34b423?{'type':_0x1f04('0x9'),'content':_0x48742f(_0x33436c,'*Set\x20image\x20width:*\x20%0',_0x34b423)}:{'type':_0x1f04('0x9'),'content':_0x48742f(_0x33436c,'*Reset\x20image\x20width*')};}}function _0x24b557(_0x3a65da){return{'type':_0x1f04('0x9'),'content':_0x48742f(_0x33436c,'*Format:*\x20%0',_0x3a65da)};}});}}
23
+ const _0xb2d8=['head','ImageResize','has','addObject','findIndex','newValue','caption','deletion','ImageInlineEditing','isCollapsed','createRange','isInlineImage','registerPostFixer','markBlockFormat','markDeletion','toNext','change','discardSuggestion','from','shouldConvertImageType','chain','width','previous','type','ELEMENT_INLINE_IMAGE','selection','_descriptionFactory','commandParams','end','ELEMENT_CAPTION','hasSuggestion','getCaptionFromImageModelElement','isInContent','imageStyle','isIntersecting','resizeImage','imageStylePostApply','find','commandName','filter','format','ImageUtils','model','_suggestionFactory','newRange','normalizedStyles','alt','hasAttribute','element','markInlineFormat','document','imageStylePreApply','imageTypeInline','isEqual','enableCommand','createRangeOn','uploadImage','title','suggestion','getChangedMarkers','accept','imageCaption','_splitMarkerName','differ','start','formatInline','fromPosition','convertBlockImageToInline','getNearestSelectionRange','ImageBlockEditing','getAttribute','*Format:*\x20%0','commands','locale','getClosestSelectedImageElement','forward','backward','plugins','isBlockImage','insertImage','detach','getContainedElement','discard','*Set\x20image\x20text\x20alternative:*\x20%0','subType','registerCustomCallback','ImageEditing','registerElementLabel','nodeAfter','side','toggleImageCaption','toLowerCase','schema','get','formatBlock','registerDescriptionCallback','forceDefaultExecution','*Remove\x20image\x20text\x20alternative*','length','isBefore','ImageTextAlternativeEditing','Inline\x20image\x20to\x20block\x20image','*Set\x20image\x20width:*\x20%0','markInsertion','imageTypeBlock','ELEMENT_IMAGE','getSuggestionCallback','getSuggestions','Users','insertion','getSuggestion','refresh','next','value','join','*Reset\x20image\x20width*','toPrevious','imageTextAlternative','TrackChangesEditing','convertInlineImageToBlock','afterInit','editor','getFirstRange','Block\x20image\x20to\x20inline\x20image','ImageStyleEditing'];(function(_0x497de5,_0xb2d84e){const _0x243157=function(_0x581b62){while(--_0x581b62){_0x497de5['push'](_0x497de5['shift']());}};_0x243157(++_0xb2d84e);}(_0xb2d8,0x199));const _0x2431=function(_0x497de5,_0xb2d84e){_0x497de5=_0x497de5-0x0;let _0x243157=_0xb2d8[_0x497de5];return _0x243157;};import{Plugin as _0xa8d71d}from'ckeditor5/src/core';import{LivePosition as _0x2c4144}from'ckeditor5/src/engine';import{uid as _0x7f8c63}from'ckeditor5/src/utils';import{getTranslation as _0x2d429c}from'../utils/common-translations';export default class X extends _0xa8d71d{[_0x2431('0x56')](){const _0x492adc=this[_0x2431('0x57')];if(!_0x492adc[_0x2431('0x2b')][_0x2431('0x5d')](_0x2431('0x34')))return;const _0x429552=_0x492adc[_0x2431('0x2b')][_0x2431('0x3b')](_0x2431('0x54')),_0x23f2ab=_0x492adc[_0x2431('0x2b')][_0x2431('0x3b')](_0x2431('0x7')),_0x22df7f={},_0x55399d=_0x492adc[_0x2431('0x27')];if(_0x429552[_0x2431('0x14')](_0x2431('0x2d')),_0x429552[_0x2431('0x75')][_0x2431('0x35')]('imageBlock',_0x26a8b1=>_0x2d429c(_0x55399d,_0x2431('0x47'),_0x26a8b1)),_0x429552[_0x2431('0x75')][_0x2431('0x35')]('imageInline',_0x50170f=>_0x2d429c(_0x55399d,_0x2431('0x73'),_0x50170f)),_0x429552[_0x2431('0x75')][_0x2431('0x35')]('caption',()=>_0x2d429c(_0x55399d,_0x2431('0x78'))),_0x492adc[_0x2431('0x2b')][_0x2431('0x5d')]('ImageUploadEditing')&&_0x429552['enableCommand'](_0x2431('0x16')),_0x492adc['plugins'][_0x2431('0x5d')](_0x2431('0x23'))&&_0x492adc[_0x2431('0x2b')][_0x2431('0x5d')](_0x2431('0x63'))&&(_0x429552[_0x2431('0x14')](_0x2431('0x12'),(_0x2e399b,_0x47e1aa)=>{const _0x1073b1=_0x23f2ab[_0x2431('0x28')](_0x492adc[_0x2431('0x8')][_0x2431('0x10')][_0x2431('0x74')]);_0x492adc['model'][_0x2431('0x6b')](()=>{_0x429552['markBlockFormat'](_0x1073b1,{'commandName':_0x2431('0x12'),'commandParams':[_0x47e1aa]},[],'convertBlockImageToInline');});}),_0x429552[_0x2431('0x14')](_0x2431('0x46'),(_0x5ea122,_0x568e33)=>{_0x492adc['model'][_0x2431('0x6b')](_0x2c39e8=>{let _0x359bcf=_0x23f2ab[_0x2431('0x28')](_0x492adc['model'][_0x2431('0x10')][_0x2431('0x74')]),_0x2061d9=_0x2c39e8[_0x2431('0x15')](_0x359bcf);const _0x4975c9=_0x2c4144[_0x2431('0x20')](_0x2061d9[_0x2431('0x1e')],_0x2431('0x52')),_0xb21f8a=_0x2c4144['fromPosition'](_0x2061d9[_0x2431('0x77')],_0x2431('0x6a'));_0x429552[_0x2431('0x3e')](()=>_0x5ea122(_0x568e33)),_0x359bcf=_0x23f2ab[_0x2431('0x28')](_0x492adc['model'][_0x2431('0x10')][_0x2431('0x74')]),_0x2061d9=_0x2c39e8['createRangeOn'](_0x359bcf);const _0x19dfac=_0x2c39e8[_0x2431('0x65')](_0x4975c9,_0xb21f8a);_0x4975c9[_0x2431('0x2e')](),_0xb21f8a['detach'](),_0x429552['markBlockFormat'](_0x359bcf,{'commandName':_0x2431('0x12'),'commandParams':[]},[],_0x2431('0x55')),_0x19dfac[_0x2431('0x1e')][_0x2431('0x41')](_0x2061d9['start'])&&_0x429552[_0x2431('0x45')](_0x2c39e8[_0x2431('0x65')](_0x19dfac['start'],_0x2061d9['start']),_0x2431('0x55')),_0x2061d9['end'][_0x2431('0x41')](_0x19dfac['end'])&&_0x429552['markInsertion'](_0x2c39e8[_0x2431('0x65')](_0x2061d9[_0x2431('0x77')],_0x19dfac[_0x2431('0x77')]),_0x2431('0x55'));});}),_0x429552[_0x2431('0x9')][_0x2431('0x33')](_0x2431('0x3c'),_0x2431('0x55'),_0x2431('0x50'),()=>{}),_0x429552[_0x2431('0x9')][_0x2431('0x33')]('formatBlock','convertInlineImageToBlock','accept',()=>{}),_0x429552[_0x2431('0x9')][_0x2431('0x33')](_0x2431('0x3c'),'convertInlineImageToBlock',_0x2431('0x30'),_0x429552[_0x2431('0x9')][_0x2431('0x48')](_0x2431('0x3c'),'','accept')),_0x429552[_0x2431('0x9')][_0x2431('0x33')]('insertion','convertInlineImageToBlock','join',()=>{}),_0x429552[_0x2431('0x9')][_0x2431('0x33')](_0x2431('0x4b'),_0x2431('0x55'),_0x2431('0x30'),([_0x325292])=>{const _0x3f1330=_0x429552[_0x2431('0x9')][_0x2431('0x48')](_0x2431('0x4b'),'',_0x2431('0x30'));let _0x54274f=_0x325292[_0x2431('0x1e')],_0x3b6231=_0x325292[_0x2431('0x77')];const _0x39eccb=_0x492adc[_0x2431('0x8')][_0x2431('0x3a')][_0x2431('0x22')](_0x54274f,_0x2431('0x2a')),_0x58bd3b=_0x492adc[_0x2431('0x8')][_0x2431('0x3a')]['getNearestSelectionRange'](_0x3b6231,_0x2431('0x29'));_0x39eccb[_0x2431('0x64')]&&(_0x54274f=_0x39eccb['start']),_0x58bd3b[_0x2431('0x64')]&&(_0x3b6231=_0x58bd3b[_0x2431('0x77')]),_0x3f1330([_0x492adc[_0x2431('0x8')][_0x2431('0x65')](_0x54274f,_0x3b6231)]);}),_0x429552[_0x2431('0x9')][_0x2431('0x33')]('formatBlock',_0x2431('0x55'),'chain',_0x541518),_0x429552[_0x2431('0x9')]['registerCustomCallback'](_0x2431('0x4b'),_0x2431('0x55'),'chain',_0x541518)),_0x492adc[_0x2431('0x2b')][_0x2431('0x5d')]('ImageCaptionEditing')&&(_0x429552['enableCommand'](_0x2431('0x38'),(_0x4319a2,_0x41250b)=>{const _0x319152=_0x492adc[_0x2431('0x2b')]['get']('ImageCaptionUtils');let _0x3c4abe=_0x23f2ab[_0x2431('0x28')](_0x492adc['model']['document'][_0x2431('0x74')]),_0xb7c341=_0x319152[_0x2431('0x7a')](_0x3c4abe);_0x492adc[_0x2431('0x8')]['change'](()=>{if(_0xb7c341)return void _0x429552[_0x2431('0x69')](_0x492adc[_0x2431('0x8')][_0x2431('0x15')](_0xb7c341));const _0x113405=_0x23f2ab[_0x2431('0x2c')](_0x3c4abe);_0x4319a2(_0x41250b),_0x3c4abe=_0x23f2ab[_0x2431('0x28')](_0x492adc['model'][_0x2431('0x10')][_0x2431('0x74')]),_0xb7c341=_0x319152[_0x2431('0x7a')](_0x3c4abe),_0x429552[_0x2431('0x45')](_0x492adc[_0x2431('0x8')][_0x2431('0x15')](_0xb7c341),_0x113405?null:_0x2431('0x1b'));});}),_0x429552[_0x2431('0x9')][_0x2431('0x33')](_0x2431('0x4b'),_0x2431('0x1b'),_0x2431('0x6f'),_0x541518)),_0x492adc[_0x2431('0x2b')][_0x2431('0x5d')](_0x2431('0x5a'))){_0x429552[_0x2431('0x14')](_0x2431('0x7c'),(_0x120b3b,_0x4e5cc8)=>{const _0x84dcc4=_0x492adc[_0x2431('0x2b')][_0x2431('0x3b')](_0x2431('0x4a'))['me'],_0x560998=_0x492adc[_0x2431('0x26')][_0x2431('0x3b')](_0x2431('0x7c'));let _0x527d44=_0x23f2ab[_0x2431('0x28')](_0x492adc[_0x2431('0x8')][_0x2431('0x10')]['selection']),_0x3581ad=_0x492adc[_0x2431('0x8')][_0x2431('0x15')](_0x527d44),_0x238d3a=_0x560998[_0x2431('0x4f')];if(_0x238d3a==_0x4e5cc8[_0x2431('0x4f')])return;const _0x1a5e93={'commandName':'imageStyle','commandParams':[_0x4e5cc8],'formatGroupId':_0x7f8c63()};_0x492adc[_0x2431('0x8')][_0x2431('0x6b')](()=>{if(_0x429552[_0x2431('0x49')]()[_0x2431('0x5')](_0x1b2907=>_0x1b2907['isInContent']&&_0x84dcc4==_0x1b2907['author']&&(_0x2431('0x3c')==_0x1b2907[_0x2431('0x72')]||_0x2431('0x1f')==_0x1b2907[_0x2431('0x72')])&&(_0x2431('0x11')==_0x1b2907[_0x2431('0x32')]||_0x2431('0x2')==_0x1b2907[_0x2431('0x32')])&&_0x1b2907['getFirstRange']()[_0x2431('0x13')](_0x3581ad))['forEach'](_0x18e6bc=>_0x429552[_0x2431('0x6c')](_0x18e6bc[_0x2431('0x5b')])),_0x527d44=_0x23f2ab[_0x2431('0x28')](_0x492adc[_0x2431('0x8')][_0x2431('0x10')]['selection']),_0x3581ad=_0x492adc[_0x2431('0x8')][_0x2431('0x15')](_0x527d44),_0x560998[_0x2431('0x4d')](),_0x492adc[_0x2431('0x26')][_0x2431('0x3b')](_0x2431('0x12'))['refresh'](),_0x492adc[_0x2431('0x26')][_0x2431('0x3b')](_0x2431('0x46'))[_0x2431('0x4d')](),_0x238d3a=_0x560998[_0x2431('0x4f')],_0x238d3a!=_0x4e5cc8['value'])return _0x23f2ab[_0x2431('0x66')](_0x527d44)&&_0x560998[_0x2431('0x6e')](_0x4e5cc8['value'],_0x527d44)?(_0x120b3b(_0x4e5cc8),_0x527d44=_0x23f2ab[_0x2431('0x28')](_0x492adc['model']['document'][_0x2431('0x74')]),void _0x429552[_0x2431('0x68')](_0x527d44,{..._0x1a5e93,'commandReversedParams':[{'value':_0x238d3a||null}]},[],_0x2431('0x11'))):void(_0x23f2ab[_0x2431('0x2c')](_0x527d44)?_0x429552[_0x2431('0x68')](_0x527d44,_0x1a5e93,[],'imageStylePostApply'):_0x429552[_0x2431('0xf')](_0x3581ad,_0x1a5e93,_0x2431('0x2')));});});for(const _0x58bacf of _0x492adc[_0x2431('0x2b')][_0x2431('0x3b')](_0x2431('0x5a'))[_0x2431('0xb')])_0x22df7f[_0x58bacf['name']]=_0x58bacf[_0x2431('0x17')][_0x2431('0x39')]();_0x429552['_suggestionFactory'][_0x2431('0x33')](_0x2431('0x3c'),_0x2431('0x11'),'join',()=>{}),_0x429552['_suggestionFactory']['registerCustomCallback'](_0x2431('0x3c'),'imageStylePostApply',_0x2431('0x50'),()=>{}),_0x429552['_suggestionFactory'][_0x2431('0x33')](_0x2431('0x1f'),_0x2431('0x2'),'join',()=>{}),_0x429552[_0x2431('0x9')]['registerCustomCallback']('formatBlock',_0x2431('0x11'),_0x2431('0x1a'),()=>{}),_0x429552['_suggestionFactory'][_0x2431('0x33')](_0x2431('0x3c'),_0x2431('0x11'),'discard',(_0x58dd81,_0x58b980)=>{_0x429552[_0x2431('0x9')][_0x2431('0x48')](_0x2431('0x3c'),'',_0x2431('0x1a'))(_0x58dd81,{'commandName':_0x58b980[_0x2431('0x4')],'commandParams':_0x58b980['commandReversedParams']});}),_0x429552[_0x2431('0x9')][_0x2431('0x33')](_0x2431('0x3c'),_0x2431('0x11'),_0x2431('0x6f'),_0x541518);}const _0x5e23d5=[{'type':'formatBlock','subType':'imageStylePreApply'},{'type':_0x2431('0x4b'),'subType':_0x2431('0x1b')},{'type':'formatBlock','subType':_0x2431('0x55')},{'type':'insertion','subType':_0x2431('0x55')}];function _0x5e9f4f(_0x139500,_0xc15d10){const _0x19026d=_0x5e23d5[_0x2431('0x5f')](({type:_0x5ef33e,subType:_0x522715})=>_0x139500[_0x2431('0x72')]==_0x5ef33e&&_0x139500[_0x2431('0x32')]==_0x522715),_0x50e68b=_0x5e23d5[_0x2431('0x5f')](({type:_0x3e24c0,subType:_0x110610})=>_0xc15d10[_0x2431('0x72')]==_0x3e24c0&&_0xc15d10[_0x2431('0x32')]==_0x110610);if(_0x19026d<0x0||_0x50e68b<0x0)return!0x1;const _0x42426e=_0x139500[_0x2431('0x58')](),_0x5817c0=_0xc15d10[_0x2431('0x58')]();if((0x0==_0x19026d||0x1==_0x19026d)&&0x2==_0x50e68b&&_0x42426e[_0x2431('0x0')](_0x5817c0))return!0x0;if(0x2==_0x19026d&&0x3==_0x50e68b){const _0x309e83=_0x429552['_findSuggestions'](_0x42426e,_0x2431('0x4b'))[_0x2431('0x5')](({suggestion:_0x491113,meta:_0x2dd9b0})=>_0x2dd9b0['isOwn']&&_0x2431('0x55')==_0x491113[_0x2431('0x32')]);if(_0x309e83[_0x2431('0x40')]>0x1&&_0x5817c0[_0x2431('0x77')][_0x2431('0x13')](_0x42426e[_0x2431('0x1e')]))return!0x0;if(0x1==_0x309e83[_0x2431('0x40')]&&(_0x42426e[_0x2431('0x1e')][_0x2431('0x13')](_0x5817c0['end'])||_0x42426e[_0x2431('0x77')][_0x2431('0x13')](_0x5817c0[_0x2431('0x1e')])))return!0x0;}if(0x3==_0x19026d&&0x3==_0x50e68b&&_0x42426e[_0x2431('0x1e')][_0x2431('0x41')](_0x5817c0['start'])){const _0x1aa42f=_0x42426e['end'][_0x2431('0x36')],_0x1a3c46=_0x5817c0[_0x2431('0x1e')]['nodeBefore'];return _0x23f2ab[_0x2431('0x2c')](_0x1aa42f)&&_0x1aa42f===_0x1a3c46;}return!0x1;}function _0x541518(_0xa081e6,_0x786c5e){return _0x5e9f4f(_0xa081e6,_0x786c5e)?[_0xa081e6,_0x786c5e]:_0x5e9f4f(_0x786c5e,_0xa081e6)?[_0x786c5e,_0xa081e6]:null;}_0x492adc[_0x2431('0x8')][_0x2431('0x10')][_0x2431('0x67')](()=>{let _0x56287d=!0x1;const _0x2d5b1e=Array[_0x2431('0x6d')](_0x492adc['model']['document'][_0x2431('0x1d')][_0x2431('0x19')]());for(const {name:_0x3b2608,data:_0x5ed137}of _0x2d5b1e){const {group:_0x452440,type:_0x5b660a,subType:_0x16ab00,id:_0x11ddd1}=_0x429552[_0x2431('0x1c')](_0x3b2608);if(_0x2431('0x18')==_0x452440&&_0x429552[_0x2431('0x79')](_0x11ddd1)){if(_0x2431('0x3c')==_0x5b660a&&(_0x2431('0x11')==_0x16ab00||'imageStylePostApply'==_0x16ab00)){const _0x14041d=_0x429552['getSuggestion'](_0x11ddd1);if(_0x5ed137[_0x2431('0xa')]){const _0x4ac798=_0x14041d[_0x2431('0x58')]()[_0x2431('0x2f')]();if(_0x23f2ab[_0x2431('0x2c')](_0x4ac798))continue;_0x429552['discardSuggestion'](_0x14041d),_0x56287d=!0x0;}}if(_0x2431('0x4b')==_0x5b660a&&_0x2431('0x1b')==_0x16ab00&&!_0x5ed137[_0x2431('0xa')]){const _0x28843a=_0x429552[_0x2431('0x4c')](_0x11ddd1);_0x28843a[_0x2431('0x4e')]&&_0x28843a[_0x2431('0x4e')][_0x2431('0x7b')]&&(_0x429552[_0x2431('0x6c')](_0x28843a[_0x2431('0x4e')]),_0x56287d=!0x0);}}}return _0x56287d;}),_0x492adc[_0x2431('0x2b')][_0x2431('0x5d')](_0x2431('0x5c'))&&_0x429552[_0x2431('0x14')]('resizeImage',(_0x2a82e9,_0x4bf733)=>{const _0x1e2c58=_0x23f2ab[_0x2431('0x28')](_0x492adc['model'][_0x2431('0x10')]['selection']);_0x1e2c58[_0x2431('0x24')](_0x2431('0x70'))!=_0x4bf733[_0x2431('0x70')]&&_0x492adc[_0x2431('0x8')][_0x2431('0x6b')](()=>{_0x429552[_0x2431('0x68')](_0x1e2c58,{'commandName':'resizeImage','commandParams':[_0x4bf733]});});}),_0x492adc[_0x2431('0x2b')][_0x2431('0x5d')](_0x2431('0x42'))&&_0x429552['enableCommand']('imageTextAlternative',(_0xef6391,_0x38ebd0)=>{const _0x4aff99=_0x23f2ab[_0x2431('0x28')](_0x492adc[_0x2431('0x8')][_0x2431('0x10')][_0x2431('0x74')]);(_0x4aff99[_0x2431('0xd')](_0x2431('0xc'))?_0x4aff99['getAttribute']('alt'):'')!=_0x38ebd0['newValue']&&_0x492adc['model'][_0x2431('0x6b')](()=>{_0x429552['markBlockFormat'](_0x4aff99,{'commandName':_0x2431('0x53'),'commandParams':[_0x38ebd0]});});}),_0x429552[_0x2431('0x75')]['registerDescriptionCallback'](_0x935ed8=>{if(!!_0x5e23d5[_0x2431('0x3')](({type:_0x202118,subType:_0x5877f5})=>_0x935ed8[_0x2431('0x72')]==_0x202118&&_0x935ed8[_0x2431('0x32')]==_0x5877f5))return _0x935ed8[_0x2431('0x71')]?{}:void 0x0;}),_0x429552[_0x2431('0x75')][_0x2431('0x3d')](_0x39e76b=>{if(_0x2431('0x4b')==_0x39e76b[_0x2431('0x72')]||_0x2431('0x62')==_0x39e76b[_0x2431('0x72')]){const _0x43b4ef=_0x39e76b[_0x2431('0x2f')]();if(_0x43b4ef&&_0x43b4ef['is'](_0x2431('0xe'),_0x2431('0x61')))return{'type':_0x2431('0x4b')==_0x39e76b[_0x2431('0x72')]?_0x2431('0x5e'):'removeObject','element':_0x43b4ef,'quantity':0x1};}}),_0x429552[_0x2431('0x75')]['registerDescriptionCallback'](_0x2f5eea=>_0x2431('0x3c')==_0x2f5eea['type']&&_0x2431('0x55')==_0x2f5eea['subType']?{'type':'format','content':_0x2431('0x43')}:'formatBlock'==_0x2f5eea['type']&&_0x2431('0x21')==_0x2f5eea[_0x2431('0x32')]?{'type':_0x2431('0x6'),'content':_0x2431('0x59')}:void 0x0),_0x429552[_0x2431('0x75')][_0x2431('0x3d')](_0x30b0ea=>{const {data:_0x297d62}=_0x30b0ea;if(_0x297d62){if('imageStyle'==_0x297d62['commandName']){const _0x546d9a=_0x297d62['commandParams'][0x0][_0x2431('0x4f')];return _0x20ed49(_0x2431('0x37')===_0x546d9a?_0x2d429c(_0x55399d,'FORMAT_SIDE_IMAGE'):_0x22df7f[_0x546d9a]||_0x546d9a);}if(_0x2431('0x53')==_0x297d62[_0x2431('0x4')]){const _0x804cd2=_0x297d62[_0x2431('0x76')][0x0][_0x2431('0x60')];return _0x804cd2?{'type':_0x2431('0x6'),'content':_0x2d429c(_0x55399d,_0x2431('0x31'),'\x22'+_0x804cd2+'\x22')}:{'type':_0x2431('0x6'),'content':_0x2d429c(_0x55399d,_0x2431('0x3f'))};}if(_0x2431('0x1')==_0x297d62['commandName']){const _0x40de69=_0x297d62[_0x2431('0x76')][0x0]['width'];return _0x40de69?{'type':_0x2431('0x6'),'content':_0x2d429c(_0x55399d,_0x2431('0x44'),_0x40de69)}:{'type':_0x2431('0x6'),'content':_0x2d429c(_0x55399d,_0x2431('0x51'))};}}function _0x20ed49(_0x3c4751){return{'type':_0x2431('0x6'),'content':_0x2d429c(_0x55399d,_0x2431('0x25'),_0x3c4751)};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x15cf=['registerCustomCallback','enableCommand','accept','_descriptionFactory','data','has','selection','Users','formatBlock','commandParams','source','*Format:*\x20replace\x20image\x20URL','getSelectedElement','change','discard','format','plugins','src','handleSuggestionDescription','ImageEditing','registerDescriptionCallback','model','document','get','commandName','author','_suggestionFactory','editor','locale','subType','getSuggestions','getAttribute','afterInit','replaceImageSource','getContainedElement','getSuggestionCallback','TrackChangesEditing'];(function(_0x5c703a,_0x15cf32){const _0x37de43=function(_0x272197){while(--_0x272197){_0x5c703a['push'](_0x5c703a['shift']());}};_0x37de43(++_0x15cf32);}(_0x15cf,0x1e8));const _0x37de=function(_0x5c703a,_0x15cf32){_0x5c703a=_0x5c703a-0x0;let _0x37de43=_0x15cf[_0x5c703a];return _0x37de43;};import{Plugin as _0x521540}from'ckeditor5/src/core';import{getTranslation as _0xe400c4}from'../utils/common-translations';export default class Y extends _0x521540{[_0x37de('0x19')](){if(!this[_0x37de('0x14')][_0x37de('0x9')][_0x37de('0x23')](_0x37de('0xc')))return;const _0x56aac5=this[_0x37de('0x14')][_0x37de('0x9')]['get'](_0x37de('0x1d'));_0x56aac5[_0x37de('0x1f')](_0x37de('0x1a'),(_0x448fb4,_0x3c64e7)=>this['handleReplaceImageCommand'](_0x448fb4,_0x3c64e7)),_0x56aac5[_0x37de('0x13')][_0x37de('0x1e')](_0x37de('0x1'),_0x37de('0x1a'),'accept',_0x56aac5['_suggestionFactory'][_0x37de('0x1c')]('formatBlock',null,_0x37de('0x7'))),_0x56aac5[_0x37de('0x13')][_0x37de('0x1e')]('formatBlock',_0x37de('0x1a'),'discard',_0x56aac5[_0x37de('0x13')]['getSuggestionCallback'](_0x37de('0x1'),null,_0x37de('0x20'))),_0x56aac5[_0x37de('0x21')][_0x37de('0xd')](_0x407752=>this[_0x37de('0xb')](_0x407752));}['handleReplaceImageCommand'](_0x31b33f,_0x40067b){const _0x5690f6=this[_0x37de('0x14')][_0x37de('0x9')]['get'](_0x37de('0x1d')),_0x4fb7f2=this[_0x37de('0x14')][_0x37de('0xe')][_0x37de('0xf')][_0x37de('0x24')][_0x37de('0x5')]();this[_0x37de('0x14')][_0x37de('0xe')][_0x37de('0x6')](()=>{let _0x3794ee=_0x4fb7f2[_0x37de('0x18')](_0x37de('0xa'));const _0x195d99=this[_0x37de('0x14')][_0x37de('0x9')][_0x37de('0x10')](_0x37de('0x0'))['me'];for(const _0x3b4eb9 of _0x5690f6[_0x37de('0x17')]({'skipNotAttached':!0x0})){const _0x53066c=_0x3b4eb9[_0x37de('0x1b')]();if(_0x37de('0x1a')===_0x3b4eb9[_0x37de('0x16')]&&_0x53066c===_0x4fb7f2){_0x3b4eb9[_0x37de('0x12')]!==_0x195d99&&_0x3b4eb9[_0x37de('0x7')](),_0x3794ee=_0x3b4eb9[_0x37de('0x22')][_0x37de('0x2')][0x0][_0x37de('0x3')];break;}}_0x31b33f(_0x40067b),_0x5690f6['markBlockFormat'](_0x4fb7f2,{'commandName':_0x37de('0x1a'),'commandParams':[{'source':_0x3794ee}]},[],_0x37de('0x1a'));});}[_0x37de('0xb')](_0x119f55){const {data:_0x9ca95}=_0x119f55;if(_0x9ca95&&_0x37de('0x1a')===_0x9ca95[_0x37de('0x11')]){const _0x38bd4d=_0x37de('0x4');return{'type':_0x37de('0x8'),'content':_0xe400c4(this[_0x37de('0x14')][_0x37de('0x15')],_0x38bd4d)};}}}
23
+ const _0x5816=['change','format','registerDescriptionCallback','TrackChangesEditing','getSuggestionCallback','handleSuggestionDescription','author','discard','editor','get','data','accept','plugins','_suggestionFactory','_descriptionFactory','handleReplaceImageCommand','registerCustomCallback','afterInit','source','src','getSuggestions','has','Users','commandParams','replaceImageSource','selection','commandName','getSelectedElement','locale','*Format:*\x20replace\x20image\x20URL'];(function(_0x43be8e,_0x581666){const _0x2d34ec=function(_0x414830){while(--_0x414830){_0x43be8e['push'](_0x43be8e['shift']());}};_0x2d34ec(++_0x581666);}(_0x5816,0x180));const _0x2d34=function(_0x43be8e,_0x581666){_0x43be8e=_0x43be8e-0x0;let _0x2d34ec=_0x5816[_0x43be8e];return _0x2d34ec;};import{Plugin as _0x13dae0}from'ckeditor5/src/core';import{getTranslation as _0x7c8f53}from'../utils/common-translations';export default class Y extends _0x13dae0{[_0x2d34('0x17')](){if(!this['editor'][_0x2d34('0x12')][_0x2d34('0x1b')]('ImageEditing'))return;const _0xda18f9=this['editor'][_0x2d34('0x12')]['get'](_0x2d34('0x9'));_0xda18f9['enableCommand'](_0x2d34('0x0'),(_0x2802d4,_0x10adc6)=>this[_0x2d34('0x15')](_0x2802d4,_0x10adc6)),_0xda18f9[_0x2d34('0x13')][_0x2d34('0x16')]('formatBlock',_0x2d34('0x0'),'accept',_0xda18f9['_suggestionFactory'][_0x2d34('0xa')]('formatBlock',null,_0x2d34('0xd'))),_0xda18f9[_0x2d34('0x13')][_0x2d34('0x16')]('formatBlock',_0x2d34('0x0'),'discard',_0xda18f9[_0x2d34('0x13')][_0x2d34('0xa')]('formatBlock',null,_0x2d34('0x11'))),_0xda18f9[_0x2d34('0x14')][_0x2d34('0x8')](_0x35fab2=>this[_0x2d34('0xb')](_0x35fab2));}[_0x2d34('0x15')](_0xb6f220,_0x378118){const _0xf5c55a=this[_0x2d34('0xe')][_0x2d34('0x12')]['get'](_0x2d34('0x9')),_0xda2cd2=this[_0x2d34('0xe')]['model']['document'][_0x2d34('0x1')][_0x2d34('0x3')]();this['editor']['model'][_0x2d34('0x6')](()=>{let _0x57e5b3=_0xda2cd2['getAttribute'](_0x2d34('0x19'));const _0x4855ec=this[_0x2d34('0xe')][_0x2d34('0x12')][_0x2d34('0xf')](_0x2d34('0x1c'))['me'];for(const _0x4d9804 of _0xf5c55a[_0x2d34('0x1a')]({'skipNotAttached':!0x0})){const _0x65bdc=_0x4d9804['getContainedElement']();if(_0x2d34('0x0')===_0x4d9804['subType']&&_0x65bdc===_0xda2cd2){_0x4d9804[_0x2d34('0xc')]!==_0x4855ec&&_0x4d9804[_0x2d34('0xd')](),_0x57e5b3=_0x4d9804[_0x2d34('0x10')][_0x2d34('0x1d')][0x0][_0x2d34('0x18')];break;}}_0xb6f220(_0x378118),_0xf5c55a['markBlockFormat'](_0xda2cd2,{'commandName':_0x2d34('0x0'),'commandParams':[{'source':_0x57e5b3}]},[],_0x2d34('0x0'));});}[_0x2d34('0xb')](_0x25be84){const {data:_0x451037}=_0x25be84;if(_0x451037&&_0x2d34('0x0')===_0x451037[_0x2d34('0x2')]){const _0x38d03d=_0x2d34('0x5');return{'type':_0x2d34('0x7'),'content':_0x7c8f53(this[_0x2d34('0xe')][_0x2d34('0x4')],_0x38d03d)};}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x12ef=['collaboration_features','editor','dataInsert','high','_trackChangesValueDuringImport','enableCommand','_setSuggestionData','trackChanges','importWord','TrackChangesEditing','bind','_handleImportedData','listenTo','execute','plugins','commands','afterInit','get','_trackChangesExecuted','forEach'];(function(_0x45cd08,_0x12ef37){const _0x30c461=function(_0x138ea9){while(--_0x138ea9){_0x45cd08['push'](_0x45cd08['shift']());}};_0x30c461(++_0x12ef37);}(_0x12ef,0x189));const _0x30c4=function(_0x45cd08,_0x12ef37){_0x45cd08=_0x45cd08-0x0;let _0x30c461=_0x12ef[_0x45cd08];return _0x30c461;};import{Plugin as _0x5da00d}from'ckeditor5/src/core';export default class Z extends _0x5da00d{constructor(_0x16452b){super(_0x16452b),this[_0x30c4('0xb')]=!0x1,this[_0x30c4('0x5')]=!0x1;}[_0x30c4('0x3')](){const _0x34866b=this['editor'],_0x1299c9=_0x34866b[_0x30c4('0x2')][_0x30c4('0x4')](_0x30c4('0xf')),_0x4c0b60=_0x34866b['commands'][_0x30c4('0x4')](_0x30c4('0xe'));_0x1299c9&&(_0x1299c9['on'](_0x30c4('0x0'),(_0x53ee26,[,_0x5e559a])=>{this['_trackChangesValueDuringImport']=_0x4c0b60['value'],_0x5e559a[_0x30c4('0x7')]['track_changes']=!this['_trackChangesValueDuringImport'];},{'priority':_0x30c4('0xa')}),this[_0x30c4('0x13')](_0x1299c9,_0x30c4('0x9'),this[_0x30c4('0x12')][_0x30c4('0x11')](this)),this[_0x30c4('0x13')](_0x1299c9,'dataInsert',()=>{this['_trackChangesExecuted']&&(_0x4c0b60[_0x30c4('0x0')](),this['_trackChangesExecuted']=!0x1);},{'priority':'lowest'}),_0x34866b['plugins']['get'](_0x30c4('0x10'))[_0x30c4('0xc')](_0x30c4('0xf')));}[_0x30c4('0x12')](_0x8233a,_0x5684e2){const {suggestions:_0x1c185c}=_0x5684e2,_0x6d11e3=this[_0x30c4('0x8')]['commands'][_0x30c4('0x4')]('trackChanges'),_0x2ddcce=_0x6d11e3['value'];this[_0x30c4('0xb')]!==_0x2ddcce&&(_0x6d11e3['execute'](),this[_0x30c4('0x5')]=!0x0),_0x1c185c&&_0x1c185c[_0x30c4('0x6')](({id:_0x44bdc1,type:_0x5eb3c2,author:_0x1a93f9,created_at:_0x7f1721})=>{const _0x3c50a8={'id':_0x44bdc1,'type':_0x5eb3c2,'authorId':this['editor']['plugins'][_0x30c4('0x4')]('Users')['me']['id'],'createdAt':new Date(),'data':null,'hasComments':!0x1,'attributes':{'@external':{'authorName':_0x1a93f9,'createdAt':_0x7f1721?new Date(_0x7f1721):new Date(),'source':'importWord'}}};this['editor'][_0x30c4('0x1')]['get'](_0x30c4('0x10'))[_0x30c4('0xd')](_0x3c50a8);});}}
23
+ const _0x1898=['_trackChangesValueDuringImport','lowest','TrackChangesEditing','high','Users','_setSuggestionData','execute','bind','enableCommand','_handleImportedData','trackChanges','commands','track_changes','importWord','listenTo','_trackChangesExecuted','value','dataInsert','get','plugins'];(function(_0x4d1e22,_0x1898b0){const _0x4d1033=function(_0x43807b){while(--_0x43807b){_0x4d1e22['push'](_0x4d1e22['shift']());}};_0x4d1033(++_0x1898b0);}(_0x1898,0x1a8));const _0x4d10=function(_0x4d1e22,_0x1898b0){_0x4d1e22=_0x4d1e22-0x0;let _0x4d1033=_0x1898[_0x4d1e22];return _0x4d1033;};import{Plugin as _0x101482}from'ckeditor5/src/core';export default class Z extends _0x101482{constructor(_0x246693){super(_0x246693),this['_trackChangesValueDuringImport']=!0x1,this[_0x4d10('0xb')]=!0x1;}['afterInit'](){const _0x29f3c5=this['editor'],_0x48363b=_0x29f3c5[_0x4d10('0x7')][_0x4d10('0xe')]('importWord'),_0x451223=_0x29f3c5[_0x4d10('0x7')][_0x4d10('0xe')]('trackChanges');_0x48363b&&(_0x48363b['on'](_0x4d10('0x2'),(_0x5780ea,[,_0x40e2e2])=>{this[_0x4d10('0x10')]=_0x451223[_0x4d10('0xc')],_0x40e2e2['collaboration_features'][_0x4d10('0x8')]=!this[_0x4d10('0x10')];},{'priority':_0x4d10('0x13')}),this['listenTo'](_0x48363b,_0x4d10('0xd'),this['_handleImportedData'][_0x4d10('0x3')](this)),this[_0x4d10('0xa')](_0x48363b,_0x4d10('0xd'),()=>{this['_trackChangesExecuted']&&(_0x451223['execute'](),this[_0x4d10('0xb')]=!0x1);},{'priority':_0x4d10('0x11')}),_0x29f3c5['plugins'][_0x4d10('0xe')](_0x4d10('0x12'))[_0x4d10('0x4')](_0x4d10('0x9')));}[_0x4d10('0x5')](_0x135ac5,_0x1393ec){const {suggestions:_0x1db9b2}=_0x1393ec,_0x413153=this['editor'][_0x4d10('0x7')][_0x4d10('0xe')](_0x4d10('0x6')),_0x551cec=_0x413153[_0x4d10('0xc')];this[_0x4d10('0x10')]!==_0x551cec&&(_0x413153[_0x4d10('0x2')](),this[_0x4d10('0xb')]=!0x0),_0x1db9b2&&_0x1db9b2['forEach'](({id:_0x26f2d8,type:_0x45368f,author:_0x44d2ed,created_at:_0x567ad5})=>{const _0x3520ba={'id':_0x26f2d8,'type':_0x45368f,'authorId':this['editor'][_0x4d10('0xf')][_0x4d10('0xe')](_0x4d10('0x0'))['me']['id'],'createdAt':new Date(),'data':null,'hasComments':!0x1,'attributes':{'@external':{'authorName':_0x44d2ed,'createdAt':_0x567ad5?new Date(_0x567ad5):new Date(),'source':_0x4d10('0x9')}}};this['editor'][_0x4d10('0xf')]['get']('TrackChangesEditing')[_0x4d10('0x1')](_0x3520ba);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3df3=['registerDescriptionCallback','locale','enableCommand','TrackChangesEditing','has','outdent','from','_descriptionFactory','*Indent:*\x20%0','get','checkAttribute','format','getItemLabel','commandName','blockIndent','plugins','IndentEditing','filter','indentBlock','schema','markBlockFormat','indent','model','outdentBlock','change','IndentBlock','editor','document'];(function(_0x4d9d19,_0x3df3c2){const _0x5e1236=function(_0x4e2409){while(--_0x4e2409){_0x4d9d19['push'](_0x4d9d19['shift']());}};_0x5e1236(++_0x3df3c2);}(_0x3df3,0x1aa));const _0x5e12=function(_0x4d9d19,_0x3df3c2){_0x4d9d19=_0x4d9d19-0x0;let _0x5e1236=_0x3df3[_0x4d9d19];return _0x5e1236;};import{Plugin as _0x5c0b20}from'ckeditor5/src/core';import{getTranslation as _0x38ca7d}from'../utils/common-translations';export default class tt extends _0x5c0b20{['afterInit'](){const _0x1d024c=this['editor'],_0x260010=_0x1d024c[_0x5e12('0x9')][_0x5e12('0x3')](_0x5e12('0x19'));_0x1d024c['plugins'][_0x5e12('0x1a')](_0x5e12('0xa'))&&(_0x260010['enableCommand'](_0x5e12('0xf')),_0x260010['enableCommand'](_0x5e12('0x1b')));const _0x4542cb=_0x1d024c[_0x5e12('0x17')];if(_0x1d024c[_0x5e12('0x9')][_0x5e12('0x1a')](_0x5e12('0x13'))){for(const _0x16e8ba of[_0x5e12('0xc'),'outdentBlock'])_0x260010[_0x5e12('0x18')](_0x16e8ba,()=>{const _0x59d676=Array[_0x5e12('0x0')](this['editor'][_0x5e12('0x10')][_0x5e12('0x15')]['selection']['getSelectedBlocks']())[_0x5e12('0xb')](_0x274628=>this[_0x5e12('0x14')][_0x5e12('0x10')][_0x5e12('0xd')][_0x5e12('0x4')](_0x274628,_0x5e12('0x8')));_0x1d024c[_0x5e12('0x10')][_0x5e12('0x12')](()=>{for(const _0x12e572 of _0x59d676)_0x260010[_0x5e12('0xe')](_0x12e572,{'commandName':_0x16e8ba,'commandParams':[{'value':''}],'formatGroupId':_0x5e12('0xc')});});});_0x260010[_0x5e12('0x1')][_0x5e12('0x16')](_0x188578=>{const {data:_0x1fa090}=_0x188578;if(!_0x1fa090)return;if('indentBlock'!=_0x1fa090['commandName']&&'outdentBlock'!=_0x1fa090[_0x5e12('0x7')])return;const _0x269b64=_0x188578['getItems']()[0x0],_0x34ef83=_0x260010[_0x5e12('0x1')][_0x5e12('0x6')](_0x269b64);return'indentBlock'==_0x1fa090[_0x5e12('0x7')]?{'type':_0x5e12('0x5'),'content':_0x38ca7d(_0x4542cb,_0x5e12('0x2'),_0x34ef83)}:_0x5e12('0x11')==_0x1fa090[_0x5e12('0x7')]?{'type':_0x5e12('0x5'),'content':_0x38ca7d(_0x4542cb,'*Outdent:*\x20%0',_0x34ef83)}:void 0x0;});}}}
23
+ const _0x9b8f=['enableCommand','TrackChangesEditing','commandName','getItemLabel','format','model','registerDescriptionCallback','change','_descriptionFactory','*Indent:*\x20%0','get','from','filter','blockIndent','markBlockFormat','editor','getSelectedBlocks','checkAttribute','indentBlock','*Outdent:*\x20%0','plugins','has','locale','afterInit','schema','outdentBlock'];(function(_0x26ec98,_0x9b8fce){const _0x19710e=function(_0x27de87){while(--_0x27de87){_0x26ec98['push'](_0x26ec98['shift']());}};_0x19710e(++_0x9b8fce);}(_0x9b8f,0x107));const _0x1971=function(_0x26ec98,_0x9b8fce){_0x26ec98=_0x26ec98-0x0;let _0x19710e=_0x9b8f[_0x26ec98];return _0x19710e;};import{Plugin as _0x399939}from'ckeditor5/src/core';import{getTranslation as _0x3e7b2b}from'../utils/common-translations';export default class tt extends _0x399939{[_0x1971('0x14')](){const _0x55ac67=this['editor'],_0x322468=_0x55ac67['plugins'][_0x1971('0x7')](_0x1971('0x18'));_0x55ac67[_0x1971('0x11')][_0x1971('0x12')]('IndentEditing')&&(_0x322468['enableCommand']('indent'),_0x322468[_0x1971('0x17')]('outdent'));const _0x2eb36c=_0x55ac67[_0x1971('0x13')];if(_0x55ac67[_0x1971('0x11')]['has']('IndentBlock')){for(const _0x5d7dd4 of[_0x1971('0xf'),_0x1971('0x16')])_0x322468['enableCommand'](_0x5d7dd4,()=>{const _0x1e2336=Array[_0x1971('0x8')](this['editor'][_0x1971('0x2')]['document']['selection'][_0x1971('0xd')]())[_0x1971('0x9')](_0x130d02=>this[_0x1971('0xc')]['model'][_0x1971('0x15')][_0x1971('0xe')](_0x130d02,_0x1971('0xa')));_0x55ac67[_0x1971('0x2')][_0x1971('0x4')](()=>{for(const _0x1ab1e1 of _0x1e2336)_0x322468[_0x1971('0xb')](_0x1ab1e1,{'commandName':_0x5d7dd4,'commandParams':[{'value':''}],'formatGroupId':_0x1971('0xf')});});});_0x322468[_0x1971('0x5')][_0x1971('0x3')](_0xa5f05e=>{const {data:_0xa417f3}=_0xa5f05e;if(!_0xa417f3)return;if(_0x1971('0xf')!=_0xa417f3['commandName']&&'outdentBlock'!=_0xa417f3[_0x1971('0x19')])return;const _0x21ae2a=_0xa5f05e['getItems']()[0x0],_0x1313fc=_0x322468[_0x1971('0x5')][_0x1971('0x0')](_0x21ae2a);return _0x1971('0xf')==_0xa417f3[_0x1971('0x19')]?{'type':_0x1971('0x1'),'content':_0x3e7b2b(_0x2eb36c,_0x1971('0x6'),_0x1313fc)}:'outdentBlock'==_0xa417f3[_0x1971('0x19')]?{'type':_0x1971('0x1'),'content':_0x3e7b2b(_0x2eb36c,_0x1971('0x10'),_0x1313fc)}:void 0x0;});}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x227b=['requires','input','enableCommand','editor'];(function(_0x37a8bf,_0x227b7f){var _0x102007=function(_0x2e771c){while(--_0x2e771c){_0x37a8bf['push'](_0x37a8bf['shift']());}};_0x102007(++_0x227b7f);}(_0x227b,0x14e));var _0x1020=function(_0x37a8bf,_0x227b7f){_0x37a8bf=_0x37a8bf-0x0;var _0x102007=_0x227b[_0x37a8bf];return _0x102007;};import{Plugin as _0x4d5798}from'ckeditor5/src/core';import{Input as _0x58f6d9}from'ckeditor5/src/typing';export default class it extends _0x4d5798{static get[_0x1020('0x2')](){return[_0x58f6d9];}['init'](){this[_0x1020('0x1')]['plugins']['get']('TrackChangesEditing')[_0x1020('0x0')](_0x1020('0x3'));}}
23
+ var _0x2b6c=['requires','input','init','enableCommand','get','plugins','TrackChangesEditing','editor'];(function(_0x57a59b,_0x2b6cd9){var _0x189604=function(_0x8488b7){while(--_0x8488b7){_0x57a59b['push'](_0x57a59b['shift']());}};_0x189604(++_0x2b6cd9);}(_0x2b6c,0x1d4));var _0x1896=function(_0x57a59b,_0x2b6cd9){_0x57a59b=_0x57a59b-0x0;var _0x189604=_0x2b6c[_0x57a59b];return _0x189604;};import{Plugin as _0x3f3923}from'ckeditor5/src/core';import{Input as _0x517768}from'ckeditor5/src/typing';export default class it extends _0x3f3923{static get[_0x1896('0x4')](){return[_0x517768];}[_0x1896('0x6')](){this[_0x1896('0x3')][_0x1896('0x1')][_0x1896('0x0')](_0x1896('0x2'))[_0x1896('0x7')](_0x1896('0x5'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x24ea=['LinkEditing','hasAttribute','selection','model','*Remove\x20link*','linkHref','commandParams','isCollapsed','getRanges','link','unlink','locale','editor','markInlineFormat','format','enableCommand','has','plugins','commandName','getFirstPosition','change','getFirstRange','document','getAttribute'];(function(_0x5c8ee7,_0x24eade){const _0x3d2456=function(_0x165566){while(--_0x165566){_0x5c8ee7['push'](_0x5c8ee7['shift']());}};_0x3d2456(++_0x24eade);}(_0x24ea,0x1e9));const _0x3d24=function(_0x5c8ee7,_0x24eade){_0x5c8ee7=_0x5c8ee7-0x0;let _0x3d2456=_0x24ea[_0x5c8ee7];return _0x3d2456;};import{Plugin as _0xa19e91}from'ckeditor5/src/core';import{findAttributeRange as _0x52202f}from'ckeditor5/src/typing';import{getRangesWithAttribute as _0xf15b2}from'./utils';import{getTranslation as _0x402867}from'../utils/common-translations';export default class et extends _0xa19e91{['afterInit'](){const _0x2f7dac=this['editor'];if(!_0x2f7dac['plugins'][_0x3d24('0x7')](_0x3d24('0xf')))return;const _0x13c2a1=_0x2f7dac[_0x3d24('0x8')]['get']('TrackChangesEditing');_0x13c2a1[_0x3d24('0x6')](_0x3d24('0x0'),(_0x4572e5,_0x57fcde)=>{const _0x41cfe9=_0x2f7dac[_0x3d24('0x12')][_0x3d24('0xd')][_0x3d24('0x11')];let _0x41eefc=[];if(_0x41cfe9[_0x3d24('0x16')]){if(!_0x41cfe9[_0x3d24('0x10')](_0x3d24('0x14')))return void _0x4572e5(_0x57fcde);{const _0x251aae=_0x52202f(_0x41cfe9[_0x3d24('0xa')](),_0x3d24('0x14'),_0x41cfe9[_0x3d24('0xe')](_0x3d24('0x14')),_0x2f7dac[_0x3d24('0x12')]);_0x41eefc=[_0x251aae];}}else _0x41eefc=Array['from'](_0x41cfe9[_0x3d24('0x17')]());_0x2f7dac[_0x3d24('0x12')][_0x3d24('0xb')](()=>{for(const _0x176e43 of _0x41eefc)_0x13c2a1[_0x3d24('0x4')](_0x176e43,{'commandName':_0x3d24('0x0'),'commandParams':[_0x57fcde]});});}),_0x13c2a1[_0x3d24('0x6')](_0x3d24('0x1'),()=>{const _0x5637d2=this[_0x3d24('0x3')][_0x3d24('0x12')],_0x2196a4=_0x5637d2[_0x3d24('0xd')][_0x3d24('0x11')];_0x5637d2[_0x3d24('0xb')](()=>{let _0x1e3cf6=[];if(_0x2196a4[_0x3d24('0x16')])_0x1e3cf6=[_0x52202f(_0x2196a4[_0x3d24('0xa')](),_0x3d24('0x14'),_0x2196a4[_0x3d24('0xe')]('linkHref'),_0x2f7dac[_0x3d24('0x12')])];else _0x1e3cf6=_0xf15b2(_0x3d24('0x14'),_0x2196a4[_0x3d24('0xc')](),_0x2f7dac[_0x3d24('0x12')]);for(const _0x1c947a of _0x1e3cf6)_0x13c2a1[_0x3d24('0x4')](_0x1c947a,{'commandName':_0x3d24('0x1'),'commandParams':[]});});}),_0x13c2a1['_descriptionFactory']['registerDescriptionCallback'](_0xc1a5b0=>{const {data:_0x9de413}=_0xc1a5b0,_0x307e28=_0x2f7dac[_0x3d24('0x2')];if(_0x9de413){if(_0x3d24('0x0')==_0x9de413[_0x3d24('0x9')]){const _0x155eab=_0x9de413[_0x3d24('0x15')][0x0];return{'type':_0x3d24('0x5'),'content':_0x402867(_0x307e28,'*Set\x20link:*\x20%0','\x22'+_0x155eab+'\x22')};}return _0x3d24('0x1')==_0x9de413[_0x3d24('0x9')]?{'type':_0x3d24('0x5'),'content':_0x402867(_0x307e28,_0x3d24('0x13'))}:void 0x0;}});}}
23
+ const _0x175f=['getAttribute','TrackChangesEditing','link','get','_descriptionFactory','isCollapsed','change','markInlineFormat','*Set\x20link:*\x20%0','registerDescriptionCallback','*Remove\x20link*','format','editor','getFirstPosition','document','unlink','plugins','from','model','selection','enableCommand','getFirstRange','commandName','hasAttribute','linkHref','LinkEditing'];(function(_0x38236b,_0x175ffc){const _0x24eb7b=function(_0x11b609){while(--_0x11b609){_0x38236b['push'](_0x38236b['shift']());}};_0x24eb7b(++_0x175ffc);}(_0x175f,0x150));const _0x24eb=function(_0x38236b,_0x175ffc){_0x38236b=_0x38236b-0x0;let _0x24eb7b=_0x175f[_0x38236b];return _0x24eb7b;};import{Plugin as _0x33f00d}from'ckeditor5/src/core';import{findAttributeRange as _0x53a383}from'ckeditor5/src/typing';import{getRangesWithAttribute as _0x581ad3}from'./utils';import{getTranslation as _0x1d045d}from'../utils/common-translations';export default class et extends _0x33f00d{['afterInit'](){const _0x219732=this['editor'];if(!_0x219732[_0x24eb('0x12')]['has'](_0x24eb('0x1')))return;const _0x322c3c=_0x219732[_0x24eb('0x12')][_0x24eb('0x5')](_0x24eb('0x3'));_0x322c3c[_0x24eb('0x16')](_0x24eb('0x4'),(_0x52053a,_0x139581)=>{const _0x3fb014=_0x219732[_0x24eb('0x14')][_0x24eb('0x10')][_0x24eb('0x15')];let _0x59a5d4=[];if(_0x3fb014[_0x24eb('0x7')]){if(!_0x3fb014[_0x24eb('0x19')](_0x24eb('0x0')))return void _0x52053a(_0x139581);{const _0x18d775=_0x53a383(_0x3fb014[_0x24eb('0xf')](),_0x24eb('0x0'),_0x3fb014[_0x24eb('0x2')]('linkHref'),_0x219732['model']);_0x59a5d4=[_0x18d775];}}else _0x59a5d4=Array[_0x24eb('0x13')](_0x3fb014['getRanges']());_0x219732['model'][_0x24eb('0x8')](()=>{for(const _0x35a00a of _0x59a5d4)_0x322c3c[_0x24eb('0x9')](_0x35a00a,{'commandName':'link','commandParams':[_0x139581]});});}),_0x322c3c[_0x24eb('0x16')](_0x24eb('0x11'),()=>{const _0x523d1d=this[_0x24eb('0xe')][_0x24eb('0x14')],_0x137e1c=_0x523d1d[_0x24eb('0x10')][_0x24eb('0x15')];_0x523d1d[_0x24eb('0x8')](()=>{let _0x11ac18=[];if(_0x137e1c[_0x24eb('0x7')])_0x11ac18=[_0x53a383(_0x137e1c[_0x24eb('0xf')](),_0x24eb('0x0'),_0x137e1c[_0x24eb('0x2')]('linkHref'),_0x219732[_0x24eb('0x14')])];else _0x11ac18=_0x581ad3('linkHref',_0x137e1c[_0x24eb('0x17')](),_0x219732[_0x24eb('0x14')]);for(const _0x3d0d83 of _0x11ac18)_0x322c3c[_0x24eb('0x9')](_0x3d0d83,{'commandName':_0x24eb('0x11'),'commandParams':[]});});}),_0x322c3c[_0x24eb('0x6')][_0x24eb('0xb')](_0x471f1e=>{const {data:_0x46d312}=_0x471f1e,_0x21a4a7=_0x219732['locale'];if(_0x46d312){if(_0x24eb('0x4')==_0x46d312[_0x24eb('0x18')]){const _0x180d8c=_0x46d312['commandParams'][0x0];return{'type':_0x24eb('0xd'),'content':_0x1d045d(_0x21a4a7,_0x24eb('0xa'),'\x22'+_0x180d8c+'\x22')};}return _0x24eb('0x11')==_0x46d312[_0x24eb('0x18')]?{'type':'format','content':_0x1d045d(_0x21a4a7,_0x24eb('0xc'))}:void 0x0;}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5666=['filter','ListEditing','markBlockFormat','schema','createRange','ELEMENT_TODO_LIST','before','afterInit','_selectedElements','listIndent','nextSibling','*Uncheck\x20item*','getSelectedBlocks','slice','commands','bulletedList','*Outdent:*\x20%0','enableCommand','blockName','indentList','selection','checkTodoList','todoList','add','ELEMENT_NUMBERED_LIST','todo','checkChild','commandParams','parent','plugins','get','length','editor','push','element','todoListChecked','document','replace','isObject','model','paragraph','locale','ELEMENT_LIST_ITEM','numbered','bulleted','listItem','name','createPositionAt','change','*Change\x20to:*\x20%0','from','execute','format','TrackChangesEditing','outdentList','commandName','has','TodoListEditing','_descriptionFactory','previousSibling','numberedList','value','findIndex','forceValue','getAttribute'];(function(_0x478617,_0x566633){const _0x285d42=function(_0x1910b3){while(--_0x1910b3){_0x478617['push'](_0x478617['shift']());}};_0x285d42(++_0x566633);}(_0x5666,0x190));const _0x285d=function(_0x478617,_0x566633){_0x478617=_0x478617-0x0;let _0x285d42=_0x5666[_0x478617];return _0x285d42;};import{Plugin as _0x44aefa}from'ckeditor5/src/core';import{getTranslation as _0x37c996}from'../utils/common-translations';export default class st extends _0x44aefa{[_0x285d('0x3e')](){const _0x3367a1=this[_0x285d('0x16')],_0x7026e7=_0x3367a1[_0x285d('0x1f')];if(!_0x3367a1[_0x285d('0x13')][_0x285d('0x2e')](_0x285d('0x38')))return;const _0x5dd7f9=_0x3367a1[_0x285d('0x13')]['get'](_0x285d('0x2b')),_0x15d751=_0x3367a1[_0x285d('0x13')]['has'](_0x285d('0x2f'));function _0x4e3d0d(_0xcc1f90){return()=>{const _0x38b97f=_0x3367a1['model'][_0x285d('0x1a')][_0x285d('0xa')],_0x4c0c3e=_0x3367a1[_0x285d('0x4')][_0x285d('0x14')](_0xcc1f90);if(_0x4c0c3e[_0x285d('0x33')])return void _0x3367a1[_0x285d('0x29')](_0x285d('0x1e'),{});const _0x31ea15=_0xcc1f90[_0x285d('0x3')](0x0,-0x4),_0x1c3130=function(_0x3e2059,_0x3a0910,_0x270841){let _0xcf6fd1=Array[_0x285d('0x28')](_0x3e2059)[_0x285d('0x37')](_0x409c70=>function(_0x4bce68,_0x2108fe){return _0x2108fe[_0x285d('0x10')](_0x4bce68[_0x285d('0x12')],_0x285d('0x23'))&&!_0x2108fe[_0x285d('0x1c')](_0x4bce68);}(_0x409c70,_0x270841));_0xcf6fd1=_0xcf6fd1[_0x285d('0x37')](_0x20d4cb=>!_0x20d4cb['is'](_0x285d('0x18'),_0x285d('0x23'))||_0x20d4cb[_0x285d('0x36')]('listType')!=_0x3a0910);const _0xd3eca8=new Set();for(const _0x571968 of _0xcf6fd1)_0x571968['is']('element',_0x285d('0x23'))?_0xd3eca8[_0x285d('0xd')](ne(_0x571968)):_0xd3eca8[_0x285d('0xd')](_0x571968);return Array[_0x285d('0x28')](_0xd3eca8);}(_0x38b97f[_0x285d('0x2')](),_0x31ea15,_0x3367a1[_0x285d('0x1d')][_0x285d('0x3a')]);_0x3367a1[_0x285d('0x1d')]['change'](()=>{for(const _0x5cc71a of _0x1c3130)_0x5dd7f9[_0x285d('0x39')](_0x5cc71a,{'commandName':_0xcc1f90,'commandParams':[{'forceValue':!_0x4c0c3e['value']}],'formatGroupId':_0x285d('0x8')},oe(_0x5cc71a));});};}function _0x519960(_0x33b477){return()=>{const _0x32c669=function(_0x58c87d){let _0x44972e=Array[_0x285d('0x28')](_0x58c87d);const _0x17fc12=_0x44972e[_0x285d('0x34')](_0xee3b34=>'listItem'!=_0xee3b34[_0x285d('0x24')]);return _0x17fc12>-0x1&&(_0x44972e=_0x44972e[_0x285d('0x3')](0x0,_0x17fc12)),_0x44972e;}(_0x3367a1['model'][_0x285d('0x1a')][_0x285d('0xa')]['getSelectedBlocks']()),_0x49101f=_0x3367a1[_0x285d('0x1d')][_0x285d('0x3b')](_0x3367a1[_0x285d('0x1d')][_0x285d('0x25')](_0x32c669[0x0],_0x285d('0x3d')),_0x3367a1['model'][_0x285d('0x25')](_0x32c669[_0x32c669[_0x285d('0x15')]-0x1],'end'));_0x3367a1[_0x285d('0x1d')][_0x285d('0x26')](()=>{_0x5dd7f9[_0x285d('0x39')](_0x49101f,{'commandName':_0x33b477,'commandParams':[],'formatGroupId':_0x285d('0x40')},function(_0x47d022){const _0x401118=new Set();for(const _0x27aef1 of _0x47d022){let _0x1fe77f=_0x27aef1[_0x285d('0x0')];for(;_0x1fe77f&&_0x1fe77f['getAttribute']('listIndent')>_0x27aef1[_0x285d('0x36')](_0x285d('0x40'));)_0x401118['add'](_0x1fe77f),_0x1fe77f=_0x1fe77f[_0x285d('0x0')];}return Array['from'](_0x401118);}(_0x32c669));});};}_0x5dd7f9[_0x285d('0x7')]('numberedList',_0x4e3d0d(_0x285d('0x32'))),_0x5dd7f9[_0x285d('0x7')](_0x285d('0x5'),_0x4e3d0d('bulletedList')),_0x15d751&&_0x5dd7f9[_0x285d('0x7')](_0x285d('0xc'),_0x4e3d0d(_0x285d('0xc'))),_0x5dd7f9[_0x285d('0x7')](_0x285d('0x9'),_0x519960('indentList')),_0x5dd7f9[_0x285d('0x7')]('outdentList',_0x519960(_0x285d('0x2c'))),_0x15d751&&_0x5dd7f9['enableCommand'](_0x285d('0xb'),()=>{const _0x50d6fa=_0x3367a1[_0x285d('0x4')]['get'](_0x285d('0xb')),_0x510fb5=Array[_0x285d('0x28')](_0x50d6fa[_0x285d('0x3f')]);_0x510fb5[_0x285d('0x37')](_0x420923=>_0x420923['getAttribute'](_0x285d('0x19'))!=_0x50d6fa[_0x285d('0x33')]),_0x3367a1[_0x285d('0x1d')]['change'](()=>{for(const _0x160741 of _0x510fb5)_0x5dd7f9['markBlockFormat'](_0x160741,{'commandName':_0x285d('0xb'),'commandParams':[{'forceValue':!_0x50d6fa[_0x285d('0x33')]}]});});}),_0x5dd7f9[_0x285d('0x30')]['registerElementLabel']('listItem',_0x5c9fc7=>_0x37c996(_0x7026e7,'ELEMENT_LIST_ITEM',_0x5c9fc7)),_0x5dd7f9[_0x285d('0x30')]['registerDescriptionCallback'](_0x10eb9e=>{const {data:_0x1c4847}=_0x10eb9e;if(_0x1c4847){if(_0x285d('0x32')==_0x1c4847[_0x285d('0x2d')]||'bulletedList'==_0x1c4847[_0x285d('0x2d')]||_0x285d('0xc')==_0x1c4847['commandName'])switch(_0x1c4847[_0x285d('0x2d')][_0x285d('0x1b')]('List','')){case _0x285d('0x22'):return _0x4fc739(_0x37c996(_0x7026e7,'ELEMENT_BULLETED_LIST'));case _0x285d('0x21'):return _0x4fc739(_0x37c996(_0x7026e7,_0x285d('0xe')));case _0x285d('0xf'):return _0x4fc739(_0x37c996(_0x7026e7,_0x285d('0x3c')));}if(_0x285d('0x9')==_0x1c4847[_0x285d('0x2d')])return{'type':'format','content':_0x37c996(_0x7026e7,'*Indent:*\x20%0',_0x37c996(_0x7026e7,_0x285d('0x20')))};if(_0x285d('0x2c')==_0x1c4847[_0x285d('0x2d')])return{'type':_0x285d('0x2a'),'content':_0x37c996(_0x7026e7,_0x285d('0x6'),_0x37c996(_0x7026e7,'ELEMENT_LIST_ITEM'))};if('checkTodoList'==_0x1c4847[_0x285d('0x2d')])return _0x1c4847[_0x285d('0x11')][0x0][_0x285d('0x35')]?{'type':_0x285d('0x2a'),'content':_0x37c996(_0x7026e7,'*Check\x20item*')}:{'type':_0x285d('0x2a'),'content':_0x37c996(_0x7026e7,_0x285d('0x1'))};}function _0x4fc739(_0x2685e4){return{'type':'format','content':_0x37c996(_0x7026e7,_0x285d('0x27'),_0x2685e4)};}});}}function ne(_0x40f590){const _0x36aba5=_0x40f590['getAttribute'](_0x285d('0x40'));if(0x0==_0x36aba5)return _0x40f590;let _0x4e74e2=_0x40f590;for(;_0x40f590['previousSibling']&&_0x40f590['previousSibling']['is']('element',_0x285d('0x23'));){const _0x4c1120=_0x40f590[_0x285d('0x31')][_0x285d('0x36')](_0x285d('0x40'));if(_0x4c1120==_0x36aba5)_0x4e74e2=_0x40f590[_0x285d('0x31')];else{if(_0x4c1120<_0x36aba5)break;}_0x40f590=_0x40f590[_0x285d('0x31')];}return _0x4e74e2;}function oe(_0x45308b){const _0x2d8a20=[];if(_0x45308b['is'](_0x285d('0x18'),'listItem')&&_0x45308b[_0x285d('0x36')](_0x285d('0x40'))>0x0){let _0x4b68ea=_0x45308b[_0x285d('0x0')];for(;_0x4b68ea&&'listItem'==_0x4b68ea[_0x285d('0x24')]&&_0x4b68ea[_0x285d('0x36')](_0x285d('0x40'))==_0x45308b[_0x285d('0x36')](_0x285d('0x40'));)_0x2d8a20[_0x285d('0x17')](_0x4b68ea),_0x4b68ea=_0x4b68ea[_0x285d('0x0')];}return _0x2d8a20;}
23
+ const _0x4c1e=['ELEMENT_TODO_LIST','enableCommand','execute','name','plugins','_selectedElements','bulleted','end','replace','todo','bulletedList','isObject','getSelectedBlocks','createRange','document','createPositionAt','registerElementLabel','_descriptionFactory','editor','add','length','*Indent:*\x20%0','findIndex','ELEMENT_NUMBERED_LIST','element','change','paragraph','ELEMENT_LIST_ITEM','selection','commands','nextSibling','outdentList','before','format','previousSibling','getAttribute','ListEditing','listType','push','TodoListEditing','*Uncheck\x20item*','filter','commandName','checkTodoList','slice','*Check\x20item*','listItem','afterInit','blockName','get','listIndent','List','numberedList','model','commandParams','has','forceValue','from','todoListChecked','todoList','*Outdent:*\x20%0','value','schema','locale'];(function(_0x48f284,_0x4c1e60){const _0xe48209=function(_0x24bf53){while(--_0x24bf53){_0x48f284['push'](_0x48f284['shift']());}};_0xe48209(++_0x4c1e60);}(_0x4c1e,0x196));const _0xe482=function(_0x48f284,_0x4c1e60){_0x48f284=_0x48f284-0x0;let _0xe48209=_0x4c1e[_0x48f284];return _0xe48209;};import{Plugin as _0x48167f}from'ckeditor5/src/core';import{getTranslation as _0x4d169a}from'../utils/common-translations';export default class st extends _0x48167f{[_0xe482('0x19')](){const _0x17f39a=this[_0xe482('0x3c')],_0x5c0156=_0x17f39a[_0xe482('0x29')];if(!_0x17f39a[_0xe482('0x2e')]['has'](_0xe482('0xe')))return;const _0x3cccf2=_0x17f39a[_0xe482('0x2e')][_0xe482('0x1b')]('TrackChangesEditing'),_0x216e7c=_0x17f39a[_0xe482('0x2e')][_0xe482('0x21')](_0xe482('0x11'));function _0x2239fb(_0x7c717d){return()=>{const _0x19f8c4=_0x17f39a[_0xe482('0x1f')]['document'][_0xe482('0x6')],_0x4f492d=_0x17f39a[_0xe482('0x7')][_0xe482('0x1b')](_0x7c717d);if(_0x4f492d[_0xe482('0x27')])return void _0x17f39a[_0xe482('0x2c')](_0xe482('0x4'),{});const _0x135333=_0x7c717d[_0xe482('0x16')](0x0,-0x4),_0x57f2af=function(_0x31b7ae,_0x1edae7,_0x113aae){let _0x4bebf1=Array['from'](_0x31b7ae)[_0xe482('0x13')](_0xe847c7=>function(_0x15020c,_0x327011){return _0x327011['checkChild'](_0x15020c['parent'],_0xe482('0x18'))&&!_0x327011[_0xe482('0x35')](_0x15020c);}(_0xe847c7,_0x113aae));_0x4bebf1=_0x4bebf1['filter'](_0xb2664a=>!_0xb2664a['is'](_0xe482('0x2'),_0xe482('0x18'))||_0xb2664a[_0xe482('0xd')](_0xe482('0xf'))!=_0x1edae7);const _0x615945=new Set();for(const _0x4310ab of _0x4bebf1)_0x4310ab['is'](_0xe482('0x2'),_0xe482('0x18'))?_0x615945['add'](ne(_0x4310ab)):_0x615945[_0xe482('0x3d')](_0x4310ab);return Array[_0xe482('0x23')](_0x615945);}(_0x19f8c4['getSelectedBlocks'](),_0x135333,_0x17f39a['model'][_0xe482('0x28')]);_0x17f39a[_0xe482('0x1f')][_0xe482('0x3')](()=>{for(const _0x3d6047 of _0x57f2af)_0x3cccf2['markBlockFormat'](_0x3d6047,{'commandName':_0x7c717d,'commandParams':[{'forceValue':!_0x4f492d[_0xe482('0x27')]}],'formatGroupId':_0xe482('0x1a')},oe(_0x3d6047));});};}function _0x1ba1e6(_0x33007a){return()=>{const _0x53e7f3=function(_0xa24d1e){let _0x219854=Array[_0xe482('0x23')](_0xa24d1e);const _0x236005=_0x219854[_0xe482('0x0')](_0x218a3b=>_0xe482('0x18')!=_0x218a3b[_0xe482('0x2d')]);return _0x236005>-0x1&&(_0x219854=_0x219854[_0xe482('0x16')](0x0,_0x236005)),_0x219854;}(_0x17f39a[_0xe482('0x1f')][_0xe482('0x38')][_0xe482('0x6')][_0xe482('0x36')]()),_0x1182ed=_0x17f39a[_0xe482('0x1f')][_0xe482('0x37')](_0x17f39a[_0xe482('0x1f')]['createPositionAt'](_0x53e7f3[0x0],_0xe482('0xa')),_0x17f39a[_0xe482('0x1f')][_0xe482('0x39')](_0x53e7f3[_0x53e7f3[_0xe482('0x3e')]-0x1],_0xe482('0x31')));_0x17f39a[_0xe482('0x1f')][_0xe482('0x3')](()=>{_0x3cccf2['markBlockFormat'](_0x1182ed,{'commandName':_0x33007a,'commandParams':[],'formatGroupId':'listIndent'},function(_0x1a553e){const _0x79b0b8=new Set();for(const _0x114079 of _0x1a553e){let _0x3f5197=_0x114079[_0xe482('0x8')];for(;_0x3f5197&&_0x3f5197[_0xe482('0xd')](_0xe482('0x1c'))>_0x114079[_0xe482('0xd')](_0xe482('0x1c'));)_0x79b0b8['add'](_0x3f5197),_0x3f5197=_0x3f5197[_0xe482('0x8')];}return Array[_0xe482('0x23')](_0x79b0b8);}(_0x53e7f3));});};}_0x3cccf2[_0xe482('0x2b')](_0xe482('0x1e'),_0x2239fb(_0xe482('0x1e'))),_0x3cccf2[_0xe482('0x2b')](_0xe482('0x34'),_0x2239fb('bulletedList')),_0x216e7c&&_0x3cccf2[_0xe482('0x2b')](_0xe482('0x25'),_0x2239fb(_0xe482('0x25'))),_0x3cccf2['enableCommand']('indentList',_0x1ba1e6('indentList')),_0x3cccf2[_0xe482('0x2b')](_0xe482('0x9'),_0x1ba1e6(_0xe482('0x9'))),_0x216e7c&&_0x3cccf2[_0xe482('0x2b')](_0xe482('0x15'),()=>{const _0x40f2b2=_0x17f39a[_0xe482('0x7')][_0xe482('0x1b')](_0xe482('0x15')),_0x3ccfcf=Array[_0xe482('0x23')](_0x40f2b2[_0xe482('0x2f')]);_0x3ccfcf['filter'](_0x595f1c=>_0x595f1c[_0xe482('0xd')](_0xe482('0x24'))!=_0x40f2b2[_0xe482('0x27')]),_0x17f39a[_0xe482('0x1f')][_0xe482('0x3')](()=>{for(const _0x2c9823 of _0x3ccfcf)_0x3cccf2['markBlockFormat'](_0x2c9823,{'commandName':'checkTodoList','commandParams':[{'forceValue':!_0x40f2b2[_0xe482('0x27')]}]});});}),_0x3cccf2[_0xe482('0x3b')][_0xe482('0x3a')](_0xe482('0x18'),_0x2cba1c=>_0x4d169a(_0x5c0156,'ELEMENT_LIST_ITEM',_0x2cba1c)),_0x3cccf2[_0xe482('0x3b')]['registerDescriptionCallback'](_0x1a6ced=>{const {data:_0x214955}=_0x1a6ced;if(_0x214955){if(_0xe482('0x1e')==_0x214955[_0xe482('0x14')]||_0xe482('0x34')==_0x214955[_0xe482('0x14')]||_0xe482('0x25')==_0x214955['commandName'])switch(_0x214955[_0xe482('0x14')][_0xe482('0x32')](_0xe482('0x1d'),'')){case _0xe482('0x30'):return _0x640b92(_0x4d169a(_0x5c0156,'ELEMENT_BULLETED_LIST'));case'numbered':return _0x640b92(_0x4d169a(_0x5c0156,_0xe482('0x1')));case _0xe482('0x33'):return _0x640b92(_0x4d169a(_0x5c0156,_0xe482('0x2a')));}if('indentList'==_0x214955[_0xe482('0x14')])return{'type':_0xe482('0xb'),'content':_0x4d169a(_0x5c0156,_0xe482('0x3f'),_0x4d169a(_0x5c0156,_0xe482('0x5')))};if(_0xe482('0x9')==_0x214955[_0xe482('0x14')])return{'type':'format','content':_0x4d169a(_0x5c0156,_0xe482('0x26'),_0x4d169a(_0x5c0156,_0xe482('0x5')))};if(_0xe482('0x15')==_0x214955['commandName'])return _0x214955[_0xe482('0x20')][0x0][_0xe482('0x22')]?{'type':_0xe482('0xb'),'content':_0x4d169a(_0x5c0156,_0xe482('0x17'))}:{'type':_0xe482('0xb'),'content':_0x4d169a(_0x5c0156,_0xe482('0x12'))};}function _0x640b92(_0xe3fe5){return{'type':'format','content':_0x4d169a(_0x5c0156,'*Change\x20to:*\x20%0',_0xe3fe5)};}});}}function ne(_0x4ba60a){const _0x5a43dc=_0x4ba60a['getAttribute'](_0xe482('0x1c'));if(0x0==_0x5a43dc)return _0x4ba60a;let _0x162617=_0x4ba60a;for(;_0x4ba60a['previousSibling']&&_0x4ba60a[_0xe482('0xc')]['is'](_0xe482('0x2'),_0xe482('0x18'));){const _0x21b397=_0x4ba60a[_0xe482('0xc')]['getAttribute']('listIndent');if(_0x21b397==_0x5a43dc)_0x162617=_0x4ba60a[_0xe482('0xc')];else{if(_0x21b397<_0x5a43dc)break;}_0x4ba60a=_0x4ba60a[_0xe482('0xc')];}return _0x162617;}function oe(_0x3b3903){const _0x417f5d=[];if(_0x3b3903['is'](_0xe482('0x2'),'listItem')&&_0x3b3903[_0xe482('0xd')]('listIndent')>0x0){let _0x14d59f=_0x3b3903['nextSibling'];for(;_0x14d59f&&_0xe482('0x18')==_0x14d59f[_0xe482('0x2d')]&&_0x14d59f['getAttribute'](_0xe482('0x1c'))==_0x3b3903['getAttribute'](_0xe482('0x1c'));)_0x417f5d[_0xe482('0x10')](_0x14d59f),_0x14d59f=_0x14d59f[_0xe482('0x8')];}return _0x417f5d;}