@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20231026.0 → 0.0.0-nightly-20231028.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 (65) 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/aiassistant.js +1 -1
  9. package/src/integrations/alignment.js +1 -1
  10. package/src/integrations/basicstyles.js +1 -1
  11. package/src/integrations/blockquote.js +1 -1
  12. package/src/integrations/ckbox.js +1 -1
  13. package/src/integrations/codeblock.js +1 -1
  14. package/src/integrations/comments.js +1 -1
  15. package/src/integrations/deletecommand.js +1 -1
  16. package/src/integrations/documentlist.js +1 -1
  17. package/src/integrations/documentlistproperties.js +1 -1
  18. package/src/integrations/entercommand.js +1 -1
  19. package/src/integrations/findandreplace.js +1 -1
  20. package/src/integrations/font.js +1 -1
  21. package/src/integrations/formatpainter.js +1 -1
  22. package/src/integrations/heading.js +1 -1
  23. package/src/integrations/highlight.js +1 -1
  24. package/src/integrations/horizontalline.js +1 -1
  25. package/src/integrations/htmlembed.js +1 -1
  26. package/src/integrations/image.js +1 -1
  27. package/src/integrations/imagereplace.js +1 -1
  28. package/src/integrations/importword.js +1 -1
  29. package/src/integrations/indent.js +1 -1
  30. package/src/integrations/inputcommand.js +1 -1
  31. package/src/integrations/link.js +1 -1
  32. package/src/integrations/list.js +1 -1
  33. package/src/integrations/listproperties.js +1 -1
  34. package/src/integrations/mediaembed.js +1 -1
  35. package/src/integrations/mention.js +1 -1
  36. package/src/integrations/pagebreak.js +1 -1
  37. package/src/integrations/paragraph.js +1 -1
  38. package/src/integrations/removeformat.js +1 -1
  39. package/src/integrations/restrictededitingmode.js +1 -1
  40. package/src/integrations/shiftentercommand.js +1 -1
  41. package/src/integrations/standardeditingmode.js +1 -1
  42. package/src/integrations/style.js +1 -1
  43. package/src/integrations/table.js +1 -1
  44. package/src/integrations/tablecaption.js +1 -1
  45. package/src/integrations/tableclipboard.js +1 -1
  46. package/src/integrations/tablecolumnresize.js +1 -1
  47. package/src/integrations/tableheadings.js +1 -1
  48. package/src/integrations/tablemergesplit.js +1 -1
  49. package/src/integrations/tableofcontents.js +1 -1
  50. package/src/integrations/tableproperties.js +1 -1
  51. package/src/integrations/template.js +1 -1
  52. package/src/integrations/title.js +1 -1
  53. package/src/integrations/undo.js +1 -1
  54. package/src/integrations/utils.js +1 -1
  55. package/src/suggestion.js +1 -1
  56. package/src/suggestiondescriptionfactory.js +1 -1
  57. package/src/trackchanges.js +1 -1
  58. package/src/trackchangesdata.js +1 -1
  59. package/src/trackchangesediting.js +1 -1
  60. package/src/trackchangesui.js +1 -1
  61. package/src/ui/suggestioncontroller.js +1 -1
  62. package/src/ui/view/basesuggestionthreadview.js +1 -1
  63. package/src/ui/view/suggestionthreadview.js +1 -1
  64. package/src/utils/common-translations.js +1 -1
  65. package/src/utils/utils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5ee3=['change','TrackChangesEditing','get','config','_descriptionFactory','fontFamily','fontBackgroundColor.colors','commandParams','FontSizeEditing','*Reset\x20font\x20size*','markInlineFormat','plugins','FontFamilyEditing','*Set\x20font\x20color:*\x20%0','_enableCommand','*Set\x20font\x20size:*\x20%0','fontSize.options','value','commandName','fontColor','from','enableCommand','selection','fontSize','trim','format','*Reset\x20font\x20color*','toLowerCase','editor','FontBackgroundColorEditing','fontColor.colors','model','fontBackgroundColor','registerDescriptionCallback','FontColorEditing','find','isCollapsed','FontSize','*Set\x20font\x20background\x20color:*\x20%0'];(function(_0x31873a,_0x5ee372){const _0x415e9d=function(_0x280f42){while(--_0x280f42){_0x31873a['push'](_0x31873a['shift']());}};_0x415e9d(++_0x5ee372);}(_0x5ee3,0x134));const _0x415e=function(_0x31873a,_0x5ee372){_0x31873a=_0x31873a-0x0;let _0x415e9d=_0x5ee3[_0x31873a];return _0x415e9d;};import{Plugin as _0x164962}from'ckeditor5/src/core';import{normalizeColorOptions as _0x238a83}from'ckeditor5/src/ui';import{getRangesWithAttribute as _0xf40336}from'./utils';import{getTranslation as _0x245748}from'../utils/common-translations';const eo=[{'pluginName':_0x415e('0xc'),'commandName':'fontSize'},{'pluginName':_0x415e('0x10'),'commandName':_0x415e('0x9')},{'pluginName':_0x415e('0x26'),'commandName':_0x415e('0x17')},{'pluginName':_0x415e('0x21'),'commandName':_0x415e('0x24')}];export default class W extends _0x164962{['afterInit'](){const _0x2441ac=this['editor']['locale'];for(const {pluginName:_0xc6f409,commandName:_0x1e1a51}of eo)this[_0x415e('0x20')][_0x415e('0xf')]['has'](_0xc6f409)&&this[_0x415e('0x12')](_0x1e1a51);this['editor'][_0x415e('0xf')]['get']('TrackChangesEditing')[_0x415e('0x8')][_0x415e('0x25')](_0x3f1bb9=>{const _0x40fe97=_0x2441ac['t'],{data:_0x3bd375}=_0x3f1bb9;if(null!=_0x3bd375){if(_0x415e('0x1b')==_0x3bd375[_0x415e('0x16')]){const _0x2dfa95=_0x3bd375[_0x415e('0xb')][0x0][_0x415e('0x15')];if(_0x2dfa95){const _0x141637=_0x40fe97(this[_0x415e('0x20')][_0x415e('0xf')]['get'](_0x415e('0x2'))['normalizeSizeOptions'](this[_0x415e('0x20')][_0x415e('0x7')]['get'](_0x415e('0x14')))['find'](_0x351e21=>_0x351e21[_0x415e('0x23')]==_0x2dfa95)['title'])[_0x415e('0x1f')]();return{'type':_0x415e('0x1d'),'content':_0x245748(_0x2441ac,_0x415e('0x13'),_0x141637)};}return{'type':_0x415e('0x1d'),'content':_0x245748(_0x2441ac,_0x415e('0xd'))};}if('fontFamily'==_0x3bd375[_0x415e('0x16')]){const _0x318562=_0x3bd375['commandParams'][0x0][_0x415e('0x15')];return _0x318562?{'type':_0x415e('0x1d'),'content':_0x245748(_0x2441ac,'*Set\x20font\x20family:*\x20%0',_0x318562)}:{'type':'format','content':_0x245748(_0x2441ac,'*Reset\x20font\x20family*')};}if(_0x415e('0x17')==_0x3bd375[_0x415e('0x16')]){const _0x5d3e26=_0x3bd375[_0x415e('0xb')][0x0][_0x415e('0x15')];if(_0x5d3e26){const _0x6a7087=_0x238a83(this[_0x415e('0x20')][_0x415e('0x7')][_0x415e('0x6')](_0x415e('0x22')))[_0x415e('0x0')](_0x48502f=>_0x48502f[_0x415e('0x23')]==_0x5d3e26);let _0x22db74=_0x5d3e26,_0x5d8e1e='';return _0x6a7087&&(_0x22db74=_0x6a7087['label'],_0x5d8e1e=_0x40fe97(_0x22db74)[_0x415e('0x1f')]()),{'type':_0x415e('0x1d'),'content':_0x245748(_0x2441ac,_0x415e('0x11'),_0x5d8e1e)[_0x415e('0x1c')](),'color':{'value':_0x5d3e26,'title':_0x5d8e1e||_0x22db74}};}return{'type':_0x415e('0x1d'),'content':_0x245748(_0x2441ac,_0x415e('0x1e'))};}if('fontBackgroundColor'==_0x3bd375[_0x415e('0x16')]){const _0x32f978=_0x3bd375[_0x415e('0xb')][0x0][_0x415e('0x15')];if(_0x32f978){const _0x4d96dc=_0x238a83(this[_0x415e('0x20')][_0x415e('0x7')][_0x415e('0x6')](_0x415e('0xa')))[_0x415e('0x0')](_0x20d31f=>_0x20d31f[_0x415e('0x23')]==_0x32f978);let _0x801b9a=_0x32f978,_0xbe774e='';return _0x4d96dc&&(_0x801b9a=_0x4d96dc['label'],_0xbe774e=_0x40fe97(_0x801b9a)['toLowerCase']()),{'type':_0x415e('0x1d'),'content':_0x245748(_0x2441ac,_0x415e('0x3'),_0xbe774e)[_0x415e('0x1c')](),'color':{'value':_0x32f978,'title':_0xbe774e||_0x801b9a}};}return{'type':_0x415e('0x1d'),'content':_0x245748(_0x2441ac,'*Reset\x20font\x20background\x20color*')};}}});}[_0x415e('0x12')](_0x2a58a9){const _0x86f235=this[_0x415e('0x20')];_0x86f235['plugins'][_0x415e('0x6')]('TrackChangesEditing')[_0x415e('0x19')](_0x2a58a9,(_0x2432cc,_0x472395={})=>{const _0x1493cd=_0x86f235['model']['document'][_0x415e('0x1a')],_0x1f8328=_0x472395['value'];_0x1493cd[_0x415e('0x1')]?_0x2432cc(_0x472395):_0x86f235[_0x415e('0x23')][_0x415e('0x4')](()=>{const _0x4de460=Array[_0x415e('0x18')](_0x1493cd['getRanges']());for(const _0x15fccf of _0x4de460){const _0x5f528a=_0x1f8328?[_0x15fccf]:_0xf40336(_0x2a58a9,_0x15fccf,_0x86f235['model']);for(const _0x62679b of _0x5f528a)_0x86f235[_0x415e('0xf')][_0x415e('0x6')](_0x415e('0x5'))[_0x415e('0xe')](_0x62679b,{'commandName':_0x2a58a9,'commandParams':[{'value':_0x1f8328}]});}});});}}
23
+ const _0x5df5=['FontColorEditing','fontFamily','commandName','*Reset\x20font\x20background\x20color*','*Reset\x20font\x20family*','document','editor','change','selection','fontBackgroundColor','trim','fontBackgroundColor.colors','_enableCommand','FontSizeEditing','fontColor.colors','locale','commandParams','*Set\x20font\x20size:*\x20%0','find','*Set\x20font\x20color:*\x20%0','TrackChangesEditing','fontColor','has','get','fontSize','toLowerCase','*Set\x20font\x20family:*\x20%0','afterInit','model','normalizeSizeOptions','registerDescriptionCallback','isCollapsed','title','config','enableCommand','value','plugins','*Set\x20font\x20background\x20color:*\x20%0','label','*Reset\x20font\x20size*','format','from','_descriptionFactory'];(function(_0x157c54,_0x5df5f6){const _0x448782=function(_0x2b86b0){while(--_0x2b86b0){_0x157c54['push'](_0x157c54['shift']());}};_0x448782(++_0x5df5f6);}(_0x5df5,0xbe));const _0x4487=function(_0x157c54,_0x5df5f6){_0x157c54=_0x157c54-0x0;let _0x448782=_0x5df5[_0x157c54];return _0x448782;};import{Plugin as _0x508078}from'ckeditor5/src/core';import{normalizeColorOptions as _0x302c6e}from'ckeditor5/src/ui';import{getRangesWithAttribute as _0x8d99f2}from'./utils';import{getTranslation as _0xd59c92}from'../utils/common-translations';const eo=[{'pluginName':_0x4487('0x26'),'commandName':_0x4487('0x6')},{'pluginName':'FontFamilyEditing','commandName':_0x4487('0x1a')},{'pluginName':_0x4487('0x19'),'commandName':_0x4487('0x3')},{'pluginName':'FontBackgroundColorEditing','commandName':'fontBackgroundColor'}];export default class W extends _0x508078{[_0x4487('0x9')](){const _0x3b15c5=this[_0x4487('0x1f')][_0x4487('0x28')];for(const {pluginName:_0x2bc73e,commandName:_0xed0c81}of eo)this[_0x4487('0x1f')][_0x4487('0x12')][_0x4487('0x4')](_0x2bc73e)&&this[_0x4487('0x25')](_0xed0c81);this['editor'][_0x4487('0x12')][_0x4487('0x5')]('TrackChangesEditing')[_0x4487('0x18')][_0x4487('0xc')](_0x1af434=>{const _0x53210d=_0x3b15c5['t'],{data:_0x197fbf}=_0x1af434;if(null!=_0x197fbf){if(_0x4487('0x6')==_0x197fbf[_0x4487('0x1b')]){const _0x465220=_0x197fbf[_0x4487('0x29')][0x0][_0x4487('0x11')];if(_0x465220){const _0x6dbad5=_0x53210d(this[_0x4487('0x1f')][_0x4487('0x12')][_0x4487('0x5')]('FontSize')[_0x4487('0xb')](this['editor'][_0x4487('0xf')][_0x4487('0x5')]('fontSize.options'))['find'](_0x4a4061=>_0x4a4061[_0x4487('0xa')]==_0x465220)[_0x4487('0xe')])['toLowerCase']();return{'type':_0x4487('0x16'),'content':_0xd59c92(_0x3b15c5,_0x4487('0x2a'),_0x6dbad5)};}return{'type':_0x4487('0x16'),'content':_0xd59c92(_0x3b15c5,_0x4487('0x15'))};}if(_0x4487('0x1a')==_0x197fbf[_0x4487('0x1b')]){const _0x2111da=_0x197fbf[_0x4487('0x29')][0x0]['value'];return _0x2111da?{'type':'format','content':_0xd59c92(_0x3b15c5,_0x4487('0x8'),_0x2111da)}:{'type':_0x4487('0x16'),'content':_0xd59c92(_0x3b15c5,_0x4487('0x1d'))};}if('fontColor'==_0x197fbf[_0x4487('0x1b')]){const _0x518caa=_0x197fbf[_0x4487('0x29')][0x0][_0x4487('0x11')];if(_0x518caa){const _0x4d8e29=_0x302c6e(this[_0x4487('0x1f')]['config']['get'](_0x4487('0x27')))[_0x4487('0x0')](_0x404dac=>_0x404dac[_0x4487('0xa')]==_0x518caa);let _0x1388bd=_0x518caa,_0x372eb2='';return _0x4d8e29&&(_0x1388bd=_0x4d8e29[_0x4487('0x14')],_0x372eb2=_0x53210d(_0x1388bd)['toLowerCase']()),{'type':'format','content':_0xd59c92(_0x3b15c5,_0x4487('0x1'),_0x372eb2)[_0x4487('0x23')](),'color':{'value':_0x518caa,'title':_0x372eb2||_0x1388bd}};}return{'type':_0x4487('0x16'),'content':_0xd59c92(_0x3b15c5,'*Reset\x20font\x20color*')};}if(_0x4487('0x22')==_0x197fbf['commandName']){const _0x5f28b4=_0x197fbf['commandParams'][0x0][_0x4487('0x11')];if(_0x5f28b4){const _0x6bc57a=_0x302c6e(this[_0x4487('0x1f')][_0x4487('0xf')][_0x4487('0x5')](_0x4487('0x24')))['find'](_0x21ac2e=>_0x21ac2e[_0x4487('0xa')]==_0x5f28b4);let _0x2bfb6f=_0x5f28b4,_0x1e6a12='';return _0x6bc57a&&(_0x2bfb6f=_0x6bc57a[_0x4487('0x14')],_0x1e6a12=_0x53210d(_0x2bfb6f)[_0x4487('0x7')]()),{'type':_0x4487('0x16'),'content':_0xd59c92(_0x3b15c5,_0x4487('0x13'),_0x1e6a12)[_0x4487('0x23')](),'color':{'value':_0x5f28b4,'title':_0x1e6a12||_0x2bfb6f}};}return{'type':_0x4487('0x16'),'content':_0xd59c92(_0x3b15c5,_0x4487('0x1c'))};}}});}[_0x4487('0x25')](_0x47595d){const _0x2f50b7=this[_0x4487('0x1f')];_0x2f50b7[_0x4487('0x12')][_0x4487('0x5')](_0x4487('0x2'))[_0x4487('0x10')](_0x47595d,(_0x2d154f,_0x231602={})=>{const _0x347211=_0x2f50b7[_0x4487('0xa')][_0x4487('0x1e')][_0x4487('0x21')],_0x9e913c=_0x231602[_0x4487('0x11')];_0x347211[_0x4487('0xd')]?_0x2d154f(_0x231602):_0x2f50b7[_0x4487('0xa')][_0x4487('0x20')](()=>{const _0x444122=Array[_0x4487('0x17')](_0x347211['getRanges']());for(const _0x514894 of _0x444122){const _0x451dc1=_0x9e913c?[_0x514894]:_0x8d99f2(_0x47595d,_0x514894,_0x2f50b7[_0x4487('0xa')]);for(const _0x5afbc7 of _0x451dc1)_0x2f50b7['plugins'][_0x4487('0x5')](_0x4487('0x2'))['markInlineFormat'](_0x5afbc7,{'commandName':_0x47595d,'commandParams':[{'value':_0x9e913c}]});}});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xdffa=['TrackChangesEditing','title','join','change','from','slice','forward','fontColor.colors','getSelectedBlocks','locale','getLastPosition','pasteFormat','_descriptionFactory','charAt','getRanges','fontSize','copyFormat','enableCommand','plugins','toUpperCase','*Set\x20format\x20to:*\x20%0','afterInit','commands','createSelection','isBlock','FontSize','get','createRange','getFirstPosition','model','schema','boolean','entries','*Remove\x20all\x20formatting*','getAttributeProperties','config','fontBackgroundColor','toLowerCase','registerDescriptionCallback','format','length','label','word','keys','document','isFormatting','find','split','fontColor','normalizeSizeOptions','getAttributes','modifySelection','backward','selection','isCollapsed','getItems','editor'];(function(_0x488d0d,_0xdffa54){const _0x5d6e10=function(_0x1712dd){while(--_0x1712dd){_0x488d0d['push'](_0x488d0d['shift']());}};_0x5d6e10(++_0xdffa54);}(_0xdffa,0x195));const _0x5d6e=function(_0x488d0d,_0xdffa54){_0x488d0d=_0x488d0d-0x0;let _0x5d6e10=_0xdffa[_0x488d0d];return _0x5d6e10;};import{Plugin as _0x5737f4}from'ckeditor5/src/core';import{normalizeColorOptions as _0x1ed576}from'ckeditor5/src/ui';import{first as _0x53d5ef}from'ckeditor5/src/utils';import{getTranslation as _0x269031}from'../utils/common-translations';export default class J extends _0x5737f4{[_0x5d6e('0xf')](){const _0x41ae60=this[_0x5d6e('0x32')],_0x505a6d=_0x41ae60[_0x5d6e('0x17')],_0x4fd766=_0x505a6d[_0x5d6e('0x26')][_0x5d6e('0x2f')],_0x5edffd=_0x41ae60['plugins'][_0x5d6e('0x14')](_0x5d6e('0x33')),_0x41ae9c=_0x41ae60['locale'],_0x52c43d=_0x41ae60[_0x5d6e('0x10')][_0x5d6e('0x14')](_0x5d6e('0xa')),_0xa5a726=_0x41ae60[_0x5d6e('0x10')]['get'](_0x5d6e('0x5'));_0x52c43d&&_0xa5a726&&(_0x5edffd[_0x5d6e('0xb')](_0x5d6e('0x5'),(_0x3d3618,_0x4d5ae6={})=>{const _0x2f8794=_0x4d5ae6;_0x505a6d[_0x5d6e('0x36')](()=>{const _0x33ceae=Array[_0x5d6e('0x37')](_0x4fd766['getRanges']()),_0x2e9f86=_0x4fd766[_0x5d6e('0x30')]?[io(_0x505a6d,_0x4fd766)]:_0x33ceae,_0x23501e=!!_0x53d5ef(function*(_0x3dc5c5,_0x3ee2c5){const _0xb920b2=_0x143412=>!!_0x53d5ef(function*(_0x1c12f5,_0x5f06df){for(const [_0x2dee91]of _0x1c12f5[_0x5d6e('0x2c')]()){const _0x547fd7=_0x5f06df[_0x5d6e('0x1c')](_0x2dee91);_0x547fd7&&_0x547fd7[_0x5d6e('0x27')]&&(yield _0x2dee91);}}(_0x143412,_0x3ee2c5));for(const _0x2a2314 of _0x3dc5c5[_0x5d6e('0x8')]())for(const _0x2bf824 of _0x2a2314[_0x5d6e('0x31')]())!_0x3ee2c5[_0x5d6e('0x12')](_0x2bf824)&&_0xb920b2(_0x2bf824)&&(yield _0x2bf824);for(const _0x5d21c0 of _0x3dc5c5[_0x5d6e('0x2')]())_0xb920b2(_0x5d21c0)&&(yield _0x5d21c0);_0xb920b2(_0x3dc5c5)&&(yield _0x3dc5c5);}(_0x4fd766,_0x505a6d[_0x5d6e('0x18')]));if(_0x23501e||0x0!==Object[_0x5d6e('0x25')](_0x2f8794)[_0x5d6e('0x22')])for(const _0x3b0e12 of _0x2e9f86)_0x5edffd['markInlineFormat'](_0x3b0e12,{'commandName':_0x5d6e('0x5'),'commandParams':[_0x2f8794]});});}),_0x5edffd[_0x5d6e('0x6')][_0x5d6e('0x20')](_0x3fed00=>{const {data:_0x7f9871}=_0x3fed00;if(_0x7f9871&&_0x5d6e('0x5')===_0x7f9871['commandName']){const _0x339055=[],_0x3ce2f9=_0x7f9871['commandParams'][0x0];for(const [_0x184ee6,_0x241702]of Object[_0x5d6e('0x1a')](_0x3ce2f9))_0x339055['push'](so(_0x41ae60,_0x184ee6,_0x241702));return _0x339055['length']?{'type':_0x5d6e('0x21'),'content':_0x269031(_0x41ae9c,_0x5d6e('0xe'),_0x339055[_0x5d6e('0x35')](',\x20'))}:{'type':_0x5d6e('0x21'),'content':_0x269031(_0x41ae9c,_0x5d6e('0x1b'))};}}),_0x41ae60[_0x5d6e('0xc')]['get'](_0x5d6e('0x33'))[_0x5d6e('0xb')](_0x5d6e('0xa')));}}function io(_0x5778e2,_0x403ee4){const _0x355846=_0x5778e2[_0x5d6e('0x11')](_0x403ee4);_0x5778e2[_0x5d6e('0x2d')](_0x355846,{'unit':_0x5d6e('0x24'),'direction':_0x5d6e('0x2e')});const _0x5bb01d=_0x355846[_0x5d6e('0x16')]();_0x5778e2[_0x5d6e('0x2d')](_0x355846,{'unit':'word','direction':_0x5d6e('0x0')});const _0x120d5b=_0x355846[_0x5d6e('0x4')]();return _0x5778e2[_0x5d6e('0x15')](_0x5bb01d,_0x120d5b);}function so(_0x46ba83,_0x166961,_0x4b804e){const _0x4f6296=_0x46ba83[_0x5d6e('0x3')]['t'],_0x410b15=_0x166961[_0x5d6e('0x29')](/(?=[A-Z])/)[_0x5d6e('0x35')]('\x20'),_0x471bae=_0x4f6296(_0x410b15[_0x5d6e('0x7')](0x0)[_0x5d6e('0xd')]()+_0x410b15[_0x5d6e('0x38')](0x1))[_0x5d6e('0x1f')]();if(_0x5d6e('0x19')==typeof _0x4b804e)return _0x471bae;if(_0x5d6e('0x2a')===_0x166961||_0x5d6e('0x1e')===_0x166961){const _0x5966f8=_0x1ed576(_0x46ba83[_0x5d6e('0x1d')][_0x5d6e('0x14')](_0x5d6e('0x1')))[_0x5d6e('0x28')](_0x42ec67=>_0x42ec67['model']==_0x4b804e);return _0x471bae+'\x20('+(_0x5966f8?_0x4f6296(_0x5966f8[_0x5d6e('0x23')])[_0x5d6e('0x1f')]():_0x4b804e)+')';}if(_0x5d6e('0x9')===_0x166961&&isNaN(parseFloat(_0x4b804e))){const _0x291fed=_0x46ba83[_0x5d6e('0xc')][_0x5d6e('0x14')](_0x5d6e('0x13'))[_0x5d6e('0x2b')](_0x46ba83[_0x5d6e('0x1d')]['get']('fontSize.options'))[_0x5d6e('0x28')](_0x529a1a=>_0x529a1a[_0x5d6e('0x17')]==_0x4b804e);return _0x471bae+'\x20('+(_0x291fed?_0x4f6296(_0x291fed[_0x5d6e('0x34')])[_0x5d6e('0x1f')]():_0x4b804e)+')';}return _0x471bae+'\x20('+_0x4b804e+')';}
23
+ const _0x237c=['entries','fontSize','fontColor.colors','registerDescriptionCallback','selection','charAt','get','afterInit','boolean','config','toUpperCase','_descriptionFactory','join','FontSize','modifySelection','plugins','find','isCollapsed','split','title','copyFormat','document','markInlineFormat','label','fontSize.options','isFormatting','pasteFormat','keys','toLowerCase','commandParams','getSelectedBlocks','forward','TrackChangesEditing','getLastPosition','format','*Remove\x20all\x20formatting*','word','createSelection','enableCommand','getAttributes','model','slice','*Set\x20format\x20to:*\x20%0','length','backward','getFirstPosition'];(function(_0x398df3,_0x237c6f){const _0x50b82b=function(_0x4c7d10){while(--_0x4c7d10){_0x398df3['push'](_0x398df3['shift']());}};_0x50b82b(++_0x237c6f);}(_0x237c,0x155));const _0x50b8=function(_0x398df3,_0x237c6f){_0x398df3=_0x398df3-0x0;let _0x50b82b=_0x237c[_0x398df3];return _0x50b82b;};import{Plugin as _0x3b9c84}from'ckeditor5/src/core';import{normalizeColorOptions as _0x14160a}from'ckeditor5/src/ui';import{first as _0x3f7014}from'ckeditor5/src/utils';import{getTranslation as _0x44277d}from'../utils/common-translations';export default class J extends _0x3b9c84{[_0x50b8('0x22')](){const _0x2b2b20=this['editor'],_0xcff1a9=_0x2b2b20[_0x50b8('0x15')],_0x41f5a3=_0xcff1a9[_0x50b8('0x2')][_0x50b8('0x1f')],_0x2da93f=_0x2b2b20[_0x50b8('0x2a')][_0x50b8('0x21')](_0x50b8('0xd')),_0x4fa727=_0x2b2b20['locale'],_0x269e79=_0x2b2b20['commands'][_0x50b8('0x21')](_0x50b8('0x1')),_0x1c2696=_0x2b2b20['commands'][_0x50b8('0x21')](_0x50b8('0x7'));_0x269e79&&_0x1c2696&&(_0x2da93f[_0x50b8('0x13')](_0x50b8('0x7'),(_0x1d0028,_0x35802d={})=>{const _0x34aa75=_0x35802d;_0xcff1a9['change'](()=>{const _0x1e0114=Array['from'](_0x41f5a3['getRanges']()),_0x363874=_0x41f5a3[_0x50b8('0x2c')]?[io(_0xcff1a9,_0x41f5a3)]:_0x1e0114,_0x417db5=!!_0x3f7014(function*(_0x3ce897,_0x5bc1b3){const _0x560283=_0x15d461=>!!_0x3f7014(function*(_0x5ad35b,_0x2f6c7c){for(const [_0xd7ceb8]of _0x5ad35b[_0x50b8('0x14')]()){const _0x2560d9=_0x2f6c7c['getAttributeProperties'](_0xd7ceb8);_0x2560d9&&_0x2560d9[_0x50b8('0x6')]&&(yield _0xd7ceb8);}}(_0x15d461,_0x5bc1b3));for(const _0x59b98d of _0x3ce897['getRanges']())for(const _0xe6bf85 of _0x59b98d['getItems']())!_0x5bc1b3['isBlock'](_0xe6bf85)&&_0x560283(_0xe6bf85)&&(yield _0xe6bf85);for(const _0x4b14b0 of _0x3ce897[_0x50b8('0xb')]())_0x560283(_0x4b14b0)&&(yield _0x4b14b0);_0x560283(_0x3ce897)&&(yield _0x3ce897);}(_0x41f5a3,_0xcff1a9['schema']));if(_0x417db5||0x0!==Object[_0x50b8('0x8')](_0x34aa75)[_0x50b8('0x18')])for(const _0x35573a of _0x363874)_0x2da93f[_0x50b8('0x3')](_0x35573a,{'commandName':'pasteFormat','commandParams':[_0x34aa75]});});}),_0x2da93f[_0x50b8('0x26')][_0x50b8('0x1e')](_0x40b2ca=>{const {data:_0x530861}=_0x40b2ca;if(_0x530861&&_0x50b8('0x7')===_0x530861['commandName']){const _0x292642=[],_0x261eb6=_0x530861[_0x50b8('0xa')][0x0];for(const [_0x3b86a3,_0x1a0b8d]of Object[_0x50b8('0x1b')](_0x261eb6))_0x292642['push'](so(_0x2b2b20,_0x3b86a3,_0x1a0b8d));return _0x292642[_0x50b8('0x18')]?{'type':_0x50b8('0xf'),'content':_0x44277d(_0x4fa727,_0x50b8('0x17'),_0x292642[_0x50b8('0x27')](',\x20'))}:{'type':_0x50b8('0xf'),'content':_0x44277d(_0x4fa727,_0x50b8('0x10'))};}}),_0x2b2b20['plugins'][_0x50b8('0x21')](_0x50b8('0xd'))[_0x50b8('0x13')]('copyFormat'));}}function io(_0x25c4b1,_0x5a670b){const _0x14e4e5=_0x25c4b1[_0x50b8('0x12')](_0x5a670b);_0x25c4b1['modifySelection'](_0x14e4e5,{'unit':_0x50b8('0x11'),'direction':_0x50b8('0x19')});const _0x24cc81=_0x14e4e5[_0x50b8('0x1a')]();_0x25c4b1[_0x50b8('0x29')](_0x14e4e5,{'unit':_0x50b8('0x11'),'direction':_0x50b8('0xc')});const _0xe6c48e=_0x14e4e5[_0x50b8('0xe')]();return _0x25c4b1['createRange'](_0x24cc81,_0xe6c48e);}function so(_0x5d098f,_0x138f10,_0x844064){const _0x2b333c=_0x5d098f['locale']['t'],_0x491e0a=_0x138f10[_0x50b8('0x2d')](/(?=[A-Z])/)[_0x50b8('0x27')]('\x20'),_0x1b44ad=_0x2b333c(_0x491e0a[_0x50b8('0x20')](0x0)[_0x50b8('0x25')]()+_0x491e0a[_0x50b8('0x16')](0x1))['toLowerCase']();if(_0x50b8('0x23')==typeof _0x844064)return _0x1b44ad;if('fontColor'===_0x138f10||'fontBackgroundColor'===_0x138f10){const _0x3157b9=_0x14160a(_0x5d098f['config']['get'](_0x50b8('0x1d')))[_0x50b8('0x2b')](_0x4aa09d=>_0x4aa09d[_0x50b8('0x15')]==_0x844064);return _0x1b44ad+'\x20('+(_0x3157b9?_0x2b333c(_0x3157b9[_0x50b8('0x4')])['toLowerCase']():_0x844064)+')';}if(_0x50b8('0x1c')===_0x138f10&&isNaN(parseFloat(_0x844064))){const _0x10942b=_0x5d098f[_0x50b8('0x2a')][_0x50b8('0x21')](_0x50b8('0x28'))['normalizeSizeOptions'](_0x5d098f[_0x50b8('0x24')][_0x50b8('0x21')](_0x50b8('0x5')))[_0x50b8('0x2b')](_0x2cd9fd=>_0x2cd9fd[_0x50b8('0x15')]==_0x844064);return _0x1b44ad+'\x20('+(_0x10942b?_0x2b333c(_0x10942b[_0x50b8('0x0')])[_0x50b8('0x9')]():_0x844064)+')';}return _0x1b44ad+'\x20('+_0x844064+')';}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2ea1=['document','getSelectedBlocks','parent','registerElementLabel','format','paragraph','commandParams','match','heading','name','find','HeadingEditing','value','has','get','enableCommand','markBlockFormat','heading.options','filter','config','model','editor','checkChild','plugins','selection','blockName','ELEMENT_HEADING_CUSTOM','_descriptionFactory','formatBlock','title','isObject','locale'];(function(_0x231f63,_0x2ea11d){const _0x37fe19=function(_0x26df9c){while(--_0x26df9c){_0x231f63['push'](_0x231f63['shift']());}};_0x37fe19(++_0x2ea11d);}(_0x2ea1,0xf7));const _0x37fe=function(_0x231f63,_0x2ea11d){_0x231f63=_0x231f63-0x0;let _0x37fe19=_0x2ea1[_0x231f63];return _0x37fe19;};import{Plugin as _0x4689ac}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x3104c8}from'./utils';import{getTranslation as _0x3990a9}from'../utils/common-translations';export default class K extends _0x4689ac{['afterInit'](){const _0x1139fb=this[_0x37fe('0x1e')],_0x3250e8=_0x1139fb[_0x37fe('0x8')],_0x555d44=_0x1139fb[_0x37fe('0x1c')]['get'](_0x37fe('0x1a'));if(!_0x1139fb[_0x37fe('0x0')][_0x37fe('0x16')](_0x37fe('0x14')))return;const _0x24408d=_0x1139fb[_0x37fe('0x0')][_0x37fe('0x17')]('TrackChangesEditing');_0x24408d[_0x37fe('0x18')](_0x37fe('0x11'),(_0x2ee351,_0xccb487)=>{const _0x3f0079=_0xccb487[_0x37fe('0x15')],_0x3ba1f3=Array['from'](this[_0x37fe('0x1e')][_0x37fe('0x1d')][_0x37fe('0x9')][_0x37fe('0x1')][_0x37fe('0xa')]())[_0x37fe('0x1b')](_0x2d9cc2=>function(_0x1a1243,_0x206b36,_0x3d262f){return _0x3d262f[_0x37fe('0x1f')](_0x1a1243[_0x37fe('0xb')],_0x206b36)&&!_0x3d262f[_0x37fe('0x7')](_0x1a1243)&&_0x1a1243[_0x37fe('0x12')]!=_0x206b36;}(_0x2d9cc2,_0x3f0079,this[_0x37fe('0x1e')]['model']['schema']));_0x1139fb[_0x37fe('0x1d')]['change'](()=>{for(const _0x2c671a of _0x3ba1f3)_0x24408d[_0x37fe('0x19')](_0x2c671a,{'commandName':'heading','commandParams':[_0xccb487],'formatGroupId':_0x37fe('0x2')},_0x3104c8(_0x2c671a));});});for(const _0x1b1864 of _0x555d44)_0x37fe('0xe')!=_0x1b1864[_0x37fe('0x1d')]&&_0x24408d[_0x37fe('0x4')][_0x37fe('0xc')](_0x1b1864[_0x37fe('0x1d')],_0x23745c=>{const _0x1f13d3=nn(_0x1b1864[_0x37fe('0x1d')]);return null!==_0x1f13d3?_0x2894c4(_0x23745c,_0x1f13d3):_0x411f34(_0x23745c,_0x1b1864[_0x37fe('0x6')]);});function _0x2894c4(_0x18635e,_0xeaad61){return _0x3990a9(_0x3250e8,'ELEMENT_HEADING',[_0x18635e,_0xeaad61]);}function _0x411f34(_0x2194c9,_0x12f42b){return _0x3990a9(_0x3250e8,_0x37fe('0x3'),[_0x2194c9,_0x12f42b]);}_0x24408d[_0x37fe('0x4')]['registerDescriptionCallback'](_0x4b51cb=>{const {type:_0x58b1ee,data:_0x5e0f0}=_0x4b51cb;if(_0x37fe('0x5')==_0x58b1ee&&_0x5e0f0&&_0x37fe('0x11')==_0x5e0f0['commandName']){const _0x4a1764=_0x5e0f0[_0x37fe('0xf')][0x0][_0x37fe('0x15')],_0x51a050=nn(_0x4a1764);if(null!==_0x51a050)return{'type':_0x37fe('0xd'),'content':_0x3990a9(_0x3250e8,'*Change\x20to:*\x20%0',_0x2894c4(0x1,_0x51a050))};const _0x38f981=_0x555d44[_0x37fe('0x13')](_0x36fe09=>_0x36fe09[_0x37fe('0x1d')]===_0x4a1764)[_0x37fe('0x6')];return{'type':_0x37fe('0xd'),'content':_0x3990a9(_0x3250e8,'*Change\x20to:*\x20%0',_0x411f34(0x1,_0x38f981))};}});}}function nn(_0x5636f6){const _0x172cb1=_0x5636f6[_0x37fe('0x10')](/^heading(\d+)$/);return _0x172cb1?_0x172cb1[0x1]:null;}
23
+ const _0x3e25=['commandParams','value','parent','model','heading.options','filter','find','ELEMENT_HEADING_CUSTOM','TrackChangesEditing','schema','_descriptionFactory','ELEMENT_HEADING','plugins','formatBlock','match','HeadingEditing','name','getSelectedBlocks','from','isObject','has','checkChild','title','heading','paragraph','registerDescriptionCallback','selection','registerElementLabel','get','blockName','editor','markBlockFormat','format','commandName','locale'];(function(_0x212426,_0x3e251b){const _0x50c0d2=function(_0xb1bd9b){while(--_0xb1bd9b){_0x212426['push'](_0x212426['shift']());}};_0x50c0d2(++_0x3e251b);}(_0x3e25,0xef));const _0x50c0=function(_0x212426,_0x3e251b){_0x212426=_0x212426-0x0;let _0x50c0d2=_0x3e25[_0x212426];return _0x50c0d2;};import{Plugin as _0x577e2b}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x4fc74b}from'./utils';import{getTranslation as _0xad17bd}from'../utils/common-translations';export default class K extends _0x577e2b{['afterInit'](){const _0x4ae4f8=this[_0x50c0('0x1')],_0x488dcd=_0x4ae4f8[_0x50c0('0x5')],_0x5d24d6=_0x4ae4f8['config'][_0x50c0('0x22')](_0x50c0('0xa'));if(!_0x4ae4f8[_0x50c0('0x12')][_0x50c0('0x1a')](_0x50c0('0x15')))return;const _0x4b4bca=_0x4ae4f8['plugins']['get'](_0x50c0('0xe'));_0x4b4bca['enableCommand']('heading',(_0x7ad269,_0x2f5c36)=>{const _0x5e18c7=_0x2f5c36[_0x50c0('0x7')],_0x43f569=Array[_0x50c0('0x18')](this[_0x50c0('0x1')][_0x50c0('0x9')]['document'][_0x50c0('0x20')][_0x50c0('0x17')]())[_0x50c0('0xb')](_0x28c8c8=>function(_0x4430ce,_0x4c71fc,_0x5f20f3){return _0x5f20f3[_0x50c0('0x1b')](_0x4430ce[_0x50c0('0x8')],_0x4c71fc)&&!_0x5f20f3[_0x50c0('0x19')](_0x4430ce)&&_0x4430ce[_0x50c0('0x16')]!=_0x4c71fc;}(_0x28c8c8,_0x5e18c7,this[_0x50c0('0x1')][_0x50c0('0x9')][_0x50c0('0xf')]));_0x4ae4f8[_0x50c0('0x9')]['change'](()=>{for(const _0x5916e1 of _0x43f569)_0x4b4bca[_0x50c0('0x2')](_0x5916e1,{'commandName':'heading','commandParams':[_0x2f5c36],'formatGroupId':_0x50c0('0x0')},_0x4fc74b(_0x5916e1));});});for(const _0x98197 of _0x5d24d6)_0x50c0('0x1e')!=_0x98197[_0x50c0('0x9')]&&_0x4b4bca[_0x50c0('0x10')][_0x50c0('0x21')](_0x98197[_0x50c0('0x9')],_0x1867a6=>{const _0x34437e=nn(_0x98197[_0x50c0('0x9')]);return null!==_0x34437e?_0x294156(_0x1867a6,_0x34437e):_0x49d6fb(_0x1867a6,_0x98197[_0x50c0('0x1c')]);});function _0x294156(_0x3c6df9,_0x33c7ff){return _0xad17bd(_0x488dcd,_0x50c0('0x11'),[_0x3c6df9,_0x33c7ff]);}function _0x49d6fb(_0x36993a,_0x50d5ca){return _0xad17bd(_0x488dcd,_0x50c0('0xd'),[_0x36993a,_0x50d5ca]);}_0x4b4bca[_0x50c0('0x10')][_0x50c0('0x1f')](_0x384df7=>{const {type:_0x2e66dd,data:_0x2c8ced}=_0x384df7;if(_0x50c0('0x13')==_0x2e66dd&&_0x2c8ced&&_0x50c0('0x1d')==_0x2c8ced[_0x50c0('0x4')]){const _0x45fa26=_0x2c8ced[_0x50c0('0x6')][0x0][_0x50c0('0x7')],_0x181696=nn(_0x45fa26);if(null!==_0x181696)return{'type':_0x50c0('0x3'),'content':_0xad17bd(_0x488dcd,'*Change\x20to:*\x20%0',_0x294156(0x1,_0x181696))};const _0x5a5999=_0x5d24d6[_0x50c0('0xc')](_0x17d328=>_0x17d328[_0x50c0('0x9')]===_0x45fa26)['title'];return{'type':_0x50c0('0x3'),'content':_0xad17bd(_0x488dcd,'*Change\x20to:*\x20%0',_0x49d6fb(0x1,_0x5a5999))};}});}}function nn(_0x4b24fb){const _0x287ee4=_0x4b24fb[_0x50c0('0x14')](/^heading(\d+)$/);return _0x287ee4?_0x287ee4[0x1]:null;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5af3=['editor','push','item','hasAttribute','title','getAttribute','TrackChangesEditing','highlight','registerDescriptionCallback','getFirstPosition','backward','change','createRange','toLowerCase','find','plugins','formatInline','has','afterInit','model','enableCommand','commandName','HighlightEditing','format','selection','isCollapsed','getRanges','get','commandParams','_descriptionFactory','document','FORMAT_HIGHLIGHT','*Remove\x20highlight*','markInlineFormat','value','color','locale'];(function(_0x33189b,_0x5af309){const _0x2c15a6=function(_0x5c9a99){while(--_0x5c9a99){_0x33189b['push'](_0x33189b['shift']());}};_0x2c15a6(++_0x5af309);}(_0x5af3,0x13a));const _0x2c15=function(_0x33189b,_0x5af309){_0x33189b=_0x33189b-0x0;let _0x2c15a6=_0x5af3[_0x33189b];return _0x2c15a6;};import{Plugin as _0x5b1d93}from'ckeditor5/src/core';import{getTranslation as _0x188df9}from'../utils/common-translations';import{getRangesWithAttribute as _0x4dfa56}from'./utils';export default class Q extends _0x5b1d93{[_0x2c15('0x0')](){const _0x1203d5=this[_0x2c15('0x13')];if(!_0x1203d5[_0x2c15('0x22')][_0x2c15('0x24')](_0x2c15('0x4')))return;const _0x468864=_0x1203d5[_0x2c15('0x22')][_0x2c15('0x9')](_0x2c15('0x19'));_0x468864[_0x2c15('0x2')]('highlight',(_0x3d25fa,_0x6d59d4={})=>{const _0x5e7849=_0x1203d5[_0x2c15('0x1')][_0x2c15('0xc')][_0x2c15('0x6')],_0x1b4329=_0x5e7849['getAttribute'](_0x2c15('0x1a'));let _0x21f277=_0x6d59d4[_0x2c15('0x10')],_0xbc3374=[];if(_0x5e7849[_0x2c15('0x7')]){const _0x5547d1=_0x5e7849[_0x2c15('0x1c')]();if(!_0x5e7849[_0x2c15('0x16')](_0x2c15('0x1a')))return void _0x3d25fa(_0x6d59d4);{const _0x53c4c9=_0x58212b=>_0x58212b[_0x2c15('0x15')][_0x2c15('0x18')](_0x2c15('0x1a'))===_0x1b4329,_0x130488=_0x5547d1['getLastMatchingPosition'](_0x53c4c9,{'direction':_0x2c15('0x1d')}),_0x266a65=_0x5547d1['getLastMatchingPosition'](_0x53c4c9);_0xbc3374=[_0x1203d5[_0x2c15('0x1')][_0x2c15('0x1f')](_0x130488,_0x266a65)],_0x21f277==_0x1b4329&&(_0x21f277=null);}}else for(const _0x36d880 of _0x5e7849[_0x2c15('0x8')]())_0x21f277?_0xbc3374[_0x2c15('0x14')](_0x36d880):_0xbc3374[_0x2c15('0x14')](..._0x4dfa56(_0x2c15('0x1a'),_0x36d880,_0x1203d5[_0x2c15('0x1')]));_0x1203d5['model'][_0x2c15('0x1e')](()=>{for(const _0x34593d of _0xbc3374)_0x468864[_0x2c15('0xf')](_0x34593d,{'commandName':_0x2c15('0x1a'),'commandParams':[{'value':_0x21f277}]});});});const _0x1f0d5c=_0x1203d5[_0x2c15('0x12')];_0x468864[_0x2c15('0xb')][_0x2c15('0x1b')](_0x406cfc=>{const {type:_0x10220b,data:_0x5960b8}=_0x406cfc;if(_0x2c15('0x23')==_0x10220b&&_0x5960b8&&'highlight'==_0x5960b8[_0x2c15('0x3')]){const _0x35e31f=_0x1f0d5c['t'],_0xe0dc99=_0x5960b8[_0x2c15('0xa')][0x0][_0x2c15('0x10')];if(_0xe0dc99){const _0x112cf6=_0x1203d5['config'][_0x2c15('0x9')]('highlight.options')[_0x2c15('0x21')](_0x61ad06=>_0x61ad06[_0x2c15('0x1')]==_0xe0dc99),_0x36e915=_0x35e31f(_0x112cf6[_0x2c15('0x17')])[_0x2c15('0x20')]();return{'type':_0x2c15('0x5'),'content':_0x188df9(_0x1f0d5c,'*Set\x20highlight:*\x20%0',_0x36e915),'color':{'value':_0x112cf6[_0x2c15('0x11')],'title':_0x112cf6['title']}};}return{'type':_0x2c15('0x5'),'content':_0x188df9(_0x1f0d5c,_0x2c15('0xe'),_0x188df9(_0x1f0d5c,_0x2c15('0xd')))};}});}}
23
+ const _0x1097=['find','getRanges','config','_descriptionFactory','TrackChangesEditing','getAttribute','model','selection','commandParams','markInlineFormat','registerDescriptionCallback','*Set\x20highlight:*\x20%0','document','formatInline','plugins','change','highlight','*Remove\x20highlight*','backward','value','isCollapsed','commandName','getFirstPosition','editor','afterInit','format','HighlightEditing','hasAttribute','locale','createRange','has','get','title','push'];(function(_0xc3c7e2,_0x109786){const _0x4cbb0f=function(_0x3ed2ef){while(--_0x3ed2ef){_0xc3c7e2['push'](_0xc3c7e2['shift']());}};_0x4cbb0f(++_0x109786);}(_0x1097,0x97));const _0x4cbb=function(_0xc3c7e2,_0x109786){_0xc3c7e2=_0xc3c7e2-0x0;let _0x4cbb0f=_0x1097[_0xc3c7e2];return _0x4cbb0f;};import{Plugin as _0x16096f}from'ckeditor5/src/core';import{getTranslation as _0x32c30a}from'../utils/common-translations';import{getRangesWithAttribute as _0x2f994c}from'./utils';export default class Q extends _0x16096f{[_0x4cbb('0x9')](){const _0x4ec0d9=this[_0x4cbb('0x8')];if(!_0x4ec0d9[_0x4cbb('0x21')][_0x4cbb('0xf')](_0x4cbb('0xb')))return;const _0xcddf20=_0x4ec0d9['plugins'][_0x4cbb('0x10')](_0x4cbb('0x17'));_0xcddf20['enableCommand'](_0x4cbb('0x1'),(_0xf34f7e,_0x70fc88={})=>{const _0x538921=_0x4ec0d9[_0x4cbb('0x19')][_0x4cbb('0x1f')][_0x4cbb('0x1a')],_0x38b25a=_0x538921[_0x4cbb('0x18')](_0x4cbb('0x1'));let _0x446f22=_0x70fc88['value'],_0x2618b1=[];if(_0x538921[_0x4cbb('0x5')]){const _0xca6ab7=_0x538921[_0x4cbb('0x7')]();if(!_0x538921[_0x4cbb('0xc')]('highlight'))return void _0xf34f7e(_0x70fc88);{const _0x47fc74=_0x51e04e=>_0x51e04e['item']['getAttribute']('highlight')===_0x38b25a,_0x38e189=_0xca6ab7['getLastMatchingPosition'](_0x47fc74,{'direction':_0x4cbb('0x3')}),_0x525348=_0xca6ab7['getLastMatchingPosition'](_0x47fc74);_0x2618b1=[_0x4ec0d9[_0x4cbb('0x19')][_0x4cbb('0xe')](_0x38e189,_0x525348)],_0x446f22==_0x38b25a&&(_0x446f22=null);}}else for(const _0x3d81e3 of _0x538921[_0x4cbb('0x14')]())_0x446f22?_0x2618b1['push'](_0x3d81e3):_0x2618b1[_0x4cbb('0x12')](..._0x2f994c(_0x4cbb('0x1'),_0x3d81e3,_0x4ec0d9[_0x4cbb('0x19')]));_0x4ec0d9[_0x4cbb('0x19')][_0x4cbb('0x0')](()=>{for(const _0x1e46a4 of _0x2618b1)_0xcddf20[_0x4cbb('0x1c')](_0x1e46a4,{'commandName':_0x4cbb('0x1'),'commandParams':[{'value':_0x446f22}]});});});const _0x25d850=_0x4ec0d9[_0x4cbb('0xd')];_0xcddf20[_0x4cbb('0x16')][_0x4cbb('0x1d')](_0x17eaac=>{const {type:_0x2315d2,data:_0x3f63da}=_0x17eaac;if(_0x4cbb('0x20')==_0x2315d2&&_0x3f63da&&_0x4cbb('0x1')==_0x3f63da[_0x4cbb('0x6')]){const _0x355160=_0x25d850['t'],_0x3e9ed4=_0x3f63da[_0x4cbb('0x1b')][0x0][_0x4cbb('0x4')];if(_0x3e9ed4){const _0x3e46cf=_0x4ec0d9[_0x4cbb('0x15')]['get']('highlight.options')[_0x4cbb('0x13')](_0x2adbeb=>_0x2adbeb[_0x4cbb('0x19')]==_0x3e9ed4),_0x332b46=_0x355160(_0x3e46cf[_0x4cbb('0x11')])['toLowerCase']();return{'type':'format','content':_0x32c30a(_0x25d850,_0x4cbb('0x1e'),_0x332b46),'color':{'value':_0x3e46cf['color'],'title':_0x3e46cf[_0x4cbb('0x11')]}};}return{'type':_0x4cbb('0xa'),'content':_0x32c30a(_0x25d850,_0x4cbb('0x2'),_0x32c30a(_0x25d850,'FORMAT_HIGHLIGHT'))};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3510=['conversion','horizontalLine','HorizontalLineEditing','locale','enableCommand','addClass','afterInit','get','ELEMENT_HORIZONTAL_LINE','registerElementLabel','plugins','_descriptionFactory','createPositionAt','createEmptyElement','TrackChangesEditing','editor','createContainerElement','dataDowncast','insert'];(function(_0xbe0296,_0x351026){const _0x30a9dc=function(_0x111d65){while(--_0x111d65){_0xbe0296['push'](_0xbe0296['shift']());}};_0x30a9dc(++_0x351026);}(_0x3510,0x95));const _0x30a9=function(_0xbe0296,_0x351026){_0xbe0296=_0xbe0296-0x0;let _0x30a9dc=_0x3510[_0xbe0296];return _0x30a9dc;};import{Plugin as _0x4959be}from'ckeditor5/src/core';import{getTranslation as _0x3d24f7}from'../utils/common-translations';export default class V extends _0x4959be{[_0x30a9('0x9')](){const _0xe3eb30=this[_0x30a9('0x12')];if(!_0xe3eb30[_0x30a9('0xd')]['has'](_0x30a9('0x5')))return;_0xe3eb30[_0x30a9('0xd')][_0x30a9('0xa')]('TrackChangesEditing')[_0x30a9('0x7')](_0x30a9('0x4'));const _0x23dbdc=_0xe3eb30[_0x30a9('0xd')][_0x30a9('0xa')](_0x30a9('0x11')),_0x497cad=_0xe3eb30[_0x30a9('0x6')];_0x23dbdc[_0x30a9('0xe')][_0x30a9('0xc')](_0x30a9('0x4'),_0x7f39f6=>_0x3d24f7(_0x497cad,_0x30a9('0xb'),_0x7f39f6)),_0xe3eb30[_0x30a9('0x3')]['for'](_0x30a9('0x1'))['elementToStructure']({'model':'horizontalLine','view':(_0x257172,{writer:_0x51df73,options:_0x306f03})=>{if(!_0x306f03['showSuggestionHighlights'])return null;const _0x46e78b=_0x51df73[_0x30a9('0x0')]('div'),_0x17128f=_0x51df73[_0x30a9('0x10')]('hr');return _0x51df73[_0x30a9('0x8')]('ck-horizontal-line',_0x46e78b),_0x51df73[_0x30a9('0x2')](_0x51df73[_0x30a9('0xf')](_0x46e78b,0x0),_0x17128f),_0x46e78b;},'converterPriority':'high'});}}
23
+ const _0x2408=['createEmptyElement','ck-horizontal-line','showSuggestionHighlights','TrackChangesEditing','conversion','div','editor','locale','createPositionAt','horizontalLine','registerElementLabel','_descriptionFactory','get','plugins','for','enableCommand','HorizontalLineEditing','afterInit','insert','addClass','elementToStructure','has'];(function(_0x18034d,_0x2408fe){const _0x500ba7=function(_0xff5694){while(--_0xff5694){_0x18034d['push'](_0x18034d['shift']());}};_0x500ba7(++_0x2408fe);}(_0x2408,0xc8));const _0x500b=function(_0x18034d,_0x2408fe){_0x18034d=_0x18034d-0x0;let _0x500ba7=_0x2408[_0x18034d];return _0x500ba7;};import{Plugin as _0xc27b5}from'ckeditor5/src/core';import{getTranslation as _0x3bd4c8}from'../utils/common-translations';export default class V extends _0xc27b5{[_0x500b('0xf')](){const _0x3e9d40=this[_0x500b('0x4')];if(!_0x3e9d40['plugins'][_0x500b('0x13')](_0x500b('0xe')))return;_0x3e9d40[_0x500b('0xb')][_0x500b('0xa')](_0x500b('0x1'))[_0x500b('0xd')](_0x500b('0x7'));const _0x30ed0d=_0x3e9d40[_0x500b('0xb')][_0x500b('0xa')]('TrackChangesEditing'),_0x287437=_0x3e9d40[_0x500b('0x5')];_0x30ed0d[_0x500b('0x9')][_0x500b('0x8')](_0x500b('0x7'),_0x244d62=>_0x3bd4c8(_0x287437,'ELEMENT_HORIZONTAL_LINE',_0x244d62)),_0x3e9d40[_0x500b('0x2')][_0x500b('0xc')]('dataDowncast')[_0x500b('0x12')]({'model':_0x500b('0x7'),'view':(_0x35e4c2,{writer:_0x1f0484,options:_0x7faba5})=>{if(!_0x7faba5[_0x500b('0x0')])return null;const _0x454e94=_0x1f0484['createContainerElement'](_0x500b('0x3')),_0x28a61e=_0x1f0484[_0x500b('0x14')]('hr');return _0x1f0484[_0x500b('0x11')](_0x500b('0x15'),_0x454e94),_0x1f0484[_0x500b('0x10')](_0x1f0484[_0x500b('0x6')](_0x454e94,0x0),_0x28a61e),_0x454e94;},'converterPriority':'high'});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4ce5=['enableCommand','selection','HtmlEmbed','rawHtmlApi','editing','document','value','plugins','cancel','htmlEmbed','commandName','ELEMENT_HTML_EMBED','TrackChangesEditing','change','getSelectedElement','markBlockFormat','model','afterInit','rawHtml','registerDescriptionCallback','_descriptionFactory','*Change\x20%0\x20content*','element','get','locale'];(function(_0x730ec8,_0x4ce559){const _0xefccbd=function(_0x5c524c){while(--_0x5c524c){_0x730ec8['push'](_0x730ec8['shift']());}};_0xefccbd(++_0x4ce559);}(_0x4ce5,0x82));const _0xefcc=function(_0x730ec8,_0x4ce559){_0x730ec8=_0x730ec8-0x0;let _0xefccbd=_0x4ce5[_0x730ec8];return _0xefccbd;};import{Plugin as _0x4cdd14}from'ckeditor5/src/core';import{getTranslation as _0x475519}from'../utils/common-translations';export default class X extends _0x4cdd14{[_0xefcc('0xc')](){const _0x3bceaf=this['editor'];if(!_0x3bceaf[_0xefcc('0x2')]['has'](_0xefcc('0x16')))return;const _0x571fe2=_0x3bceaf['plugins']['get'](_0xefcc('0x7')),_0x5ec376=_0x3bceaf[_0xefcc('0x13')],_0x2ab6bc=_0x3bceaf[_0xefcc('0x18')]['view']['document'][_0xefcc('0x15')];_0x571fe2[_0xefcc('0xf')]['registerElementLabel'](_0xefcc('0xd'),_0x4926dd=>_0x475519(_0x5ec376,_0xefcc('0x6'),_0x4926dd)),_0x3bceaf[_0xefcc('0x2')][_0xefcc('0x12')]('TrackChangesEditing')[_0xefcc('0x14')](_0xefcc('0x4'),(_0x2e3078,_0x585e78)=>{const _0x1dccdd=_0x3bceaf[_0xefcc('0xb')],_0x3a3beb=_0x1dccdd[_0xefcc('0x0')][_0xefcc('0x15')];_0x1dccdd[_0xefcc('0x8')](()=>{const _0x3f0869=function(_0x15fa75){const _0xb2e1a6=_0x15fa75['getSelectedElement']();if(_0xb2e1a6&&_0xb2e1a6['is'](_0xefcc('0x11'),_0xefcc('0xd')))return _0x15fa75[_0xefcc('0x9')]();return null;}(_0x3a3beb);if(!_0x3f0869)return void _0x2e3078(null);const _0x308a15=_0x3f0869['getAttribute'](_0xefcc('0x1'))||'';if(void 0x0===_0x585e78)return;if(_0x585e78===_0x308a15)return;_0x571fe2[_0xefcc('0xa')](_0x3f0869,{'commandName':_0xefcc('0x4'),'commandParams':[_0x585e78]}),_0x2ab6bc[_0xefcc('0x9')]()['getCustomProperty'](_0xefcc('0x17'))[_0xefcc('0x3')]();});}),_0x571fe2[_0xefcc('0xf')][_0xefcc('0xe')](_0x52266a=>{const {data:_0x37920f}=_0x52266a;if(_0x37920f&&_0xefcc('0x4')==_0x37920f[_0xefcc('0x5')]){const _0x5a4942=_0x475519(_0x5ec376,_0xefcc('0x6'));return{'type':'format','content':_0x475519(_0x5ec376,_0xefcc('0x10'),_0x5a4942)};}});}}
23
+ const _0x8149=['markBlockFormat','htmlEmbed','getCustomProperty','view','document','getSelectedElement','ELEMENT_HTML_EMBED','get','*Change\x20%0\x20content*','editing','afterInit','value','enableCommand','change','selection','TrackChangesEditing','getAttribute','plugins','registerElementLabel','has','commandName','registerDescriptionCallback','rawHtmlApi','cancel','model','editor','rawHtml'];(function(_0x582bc3,_0x81499f){const _0x20df66=function(_0x3f77b6){while(--_0x3f77b6){_0x582bc3['push'](_0x582bc3['shift']());}};_0x20df66(++_0x81499f);}(_0x8149,0x1d6));const _0x20df=function(_0x582bc3,_0x81499f){_0x582bc3=_0x582bc3-0x0;let _0x20df66=_0x8149[_0x582bc3];return _0x20df66;};import{Plugin as _0x2dde62}from'ckeditor5/src/core';import{getTranslation as _0xaa1fc8}from'../utils/common-translations';export default class X extends _0x2dde62{[_0x20df('0x1a')](){const _0x1cdb63=this[_0x20df('0xe')];if(!_0x1cdb63['plugins'][_0x20df('0x8')]('HtmlEmbed'))return;const _0x1aa1e5=_0x1cdb63[_0x20df('0x6')][_0x20df('0x17')](_0x20df('0x4')),_0x6fe32a=_0x1cdb63['locale'],_0x1c0f6e=_0x1cdb63[_0x20df('0x19')][_0x20df('0x13')][_0x20df('0x14')][_0x20df('0x3')];_0x1aa1e5['_descriptionFactory'][_0x20df('0x7')]('rawHtml',_0xde4346=>_0xaa1fc8(_0x6fe32a,_0x20df('0x16'),_0xde4346)),_0x1cdb63[_0x20df('0x6')][_0x20df('0x17')]('TrackChangesEditing')[_0x20df('0x1')](_0x20df('0x11'),(_0x55c315,_0x8b14a8)=>{const _0xeb2e88=_0x1cdb63[_0x20df('0xd')],_0x5a0ff3=_0xeb2e88[_0x20df('0x14')][_0x20df('0x3')];_0xeb2e88[_0x20df('0x2')](()=>{const _0x3e54c0=function(_0x2c82a4){const _0x484a17=_0x2c82a4[_0x20df('0x15')]();if(_0x484a17&&_0x484a17['is']('element',_0x20df('0xf')))return _0x2c82a4[_0x20df('0x15')]();return null;}(_0x5a0ff3);if(!_0x3e54c0)return void _0x55c315(null);const _0x3e61b2=_0x3e54c0[_0x20df('0x5')](_0x20df('0x0'))||'';if(void 0x0===_0x8b14a8)return;if(_0x8b14a8===_0x3e61b2)return;_0x1aa1e5[_0x20df('0x10')](_0x3e54c0,{'commandName':_0x20df('0x11'),'commandParams':[_0x8b14a8]}),_0x1c0f6e[_0x20df('0x15')]()[_0x20df('0x12')](_0x20df('0xb'))[_0x20df('0xc')]();});}),_0x1aa1e5['_descriptionFactory'][_0x20df('0xa')](_0x4bb9e6=>{const {data:_0x5cf49b}=_0x4bb9e6;if(_0x5cf49b&&'htmlEmbed'==_0x5cf49b[_0x20df('0x9')]){const _0x19ef3c=_0xaa1fc8(_0x6fe32a,_0x20df('0x16'));return{'type':'format','content':_0xaa1fc8(_0x6fe32a,_0x20df('0x18'),_0x19ef3c)};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3be5=['imageCaption','schema','toggleImageCaption','hasAttribute','formatBlock','subType','Users','join','ImageTextAlternativeEditing','ImageUploadEditing','refresh','resizedWidth','_suggestionFactory','isBlockImage','imageTextAlternative','toLowerCase','chain','createRange','registerPostFixer','hasSuggestion','differ','author','discard','shouldConvertImageType','side','name','imageTypeInline','ImageCaptionEditing','start','Inline\x20image\x20to\x20block\x20image','has','getSuggestions','removeObject','nodeAfter','isInContent','imageStylePreApply','_descriptionFactory','imageStyle','getClosestSelectedImageElement','change','previous','formatInline','element','format','_splitMarkerName','getChangedMarkers','getCaptionFromImageModelElement','registerDescriptionCallback','commands','suggestion','editor','registerCustomCallback','imageInline','backward','normalizedStyles','get','markBlockFormat','alt','ImageUtils','*Reset\x20image\x20width*','*Format:*\x20%0','deletion','getNearestSelectionRange','setImageNaturalSizeAttributes','findIndex','getSuggestionCallback','*Remove\x20image\x20text\x20alternative*','forceDefaultExecution','markInlineFormat','end','caption','value','toPrevious','getContainedElement','insertion','commandReversedParams','addObject','insertImage','ELEMENT_CAPTION','ImageBlockEditing','getFirstRange','markDeletion','*Set\x20image\x20width:*\x20%0','isIntersecting','imageBlock','convertInlineImageToBlock','accept','imageStylePostApply','getAttribute','newRange','isCollapsed','isEqual','registerElementLabel','discardSuggestion','ImageStyleEditing','type','createRangeOn','plugins','title','imageTypeBlock','ELEMENT_IMAGE','convertBlockImageToInline','length','next','newValue','find','enableCommand','head','document','markInsertion','forward','ImageInlineEditing','filter','commandParams','isBefore','nodeBefore','getSuggestion','resizeImage','model','selection','commandName','ImageCaptionUtils'];(function(_0x4e41b5,_0x3be5dd){const _0x3e8afb=function(_0x23b3a6){while(--_0x23b3a6){_0x4e41b5['push'](_0x4e41b5['shift']());}};_0x3e8afb(++_0x3be5dd);}(_0x3be5,0x1ad));const _0x3e8a=function(_0x4e41b5,_0x3be5dd){_0x4e41b5=_0x4e41b5-0x0;let _0x3e8afb=_0x3be5[_0x4e41b5];return _0x3e8afb;};import{Plugin as _0x19e7c0}from'ckeditor5/src/core';import{LivePosition as _0x18aa65}from'ckeditor5/src/engine';import{uid as _0x21683c}from'ckeditor5/src/utils';import{getTranslation as _0x3d6da2}from'../utils/common-translations';export default class Y extends _0x19e7c0{['afterInit'](){const _0x133651=this[_0x3e8a('0x6d')];if(!_0x133651[_0x3e8a('0x22')][_0x3e8a('0x59')]('ImageEditing'))return;const _0xbe27cd=_0x133651['plugins'][_0x3e8a('0x72')]('TrackChangesEditing'),_0x448f1f=_0x133651['plugins'][_0x3e8a('0x72')](_0x3e8a('0x75')),_0x1d20ff={},_0xc834c5=_0x133651['locale'];if(_0xbe27cd[_0x3e8a('0x2b')](_0x3e8a('0xe')),_0xbe27cd[_0x3e8a('0x5f')][_0x3e8a('0x1d')](_0x3e8a('0x15'),_0x5eada1=>_0x3d6da2(_0xc834c5,_0x3e8a('0x25'),_0x5eada1)),_0xbe27cd[_0x3e8a('0x5f')][_0x3e8a('0x1d')](_0x3e8a('0x6f'),_0x4b7334=>_0x3d6da2(_0xc834c5,'ELEMENT_INLINE_IMAGE',_0x4b7334)),_0xbe27cd[_0x3e8a('0x5f')]['registerElementLabel'](_0x3e8a('0x7'),()=>_0x3d6da2(_0xc834c5,_0x3e8a('0xf'))),_0x133651[_0x3e8a('0x22')][_0x3e8a('0x59')](_0x3e8a('0x44'))&&_0xbe27cd[_0x3e8a('0x2b')]('uploadImage'),_0x133651[_0x3e8a('0x22')][_0x3e8a('0x59')](_0x3e8a('0x10'))&&_0x133651[_0x3e8a('0x22')]['has'](_0x3e8a('0x30'))&&(_0xbe27cd[_0x3e8a('0x2b')](_0x3e8a('0x55'),(_0x266e8c,_0x5276f6)=>{const _0x353bb6=_0x448f1f['getClosestSelectedImageElement'](_0x133651[_0x3e8a('0x37')][_0x3e8a('0x2d')][_0x3e8a('0x38')]);_0x133651[_0x3e8a('0x37')][_0x3e8a('0x62')](()=>{_0xbe27cd[_0x3e8a('0x73')](_0x353bb6,{'commandName':'imageTypeInline','commandParams':[_0x5276f6]},[],_0x3e8a('0x26'));});}),_0xbe27cd[_0x3e8a('0x2b')](_0x3e8a('0x24'),(_0x41f45d,_0x416d73)=>{_0x133651['model'][_0x3e8a('0x62')](_0x34baff=>{let _0x23f933=_0x448f1f['getClosestSelectedImageElement'](_0x133651[_0x3e8a('0x37')][_0x3e8a('0x2d')][_0x3e8a('0x38')]),_0x36a84b=_0x34baff[_0x3e8a('0x21')](_0x23f933);const _0x371873=_0x18aa65['fromPosition'](_0x36a84b[_0x3e8a('0x57')],_0x3e8a('0x9')),_0x128414=_0x18aa65['fromPosition'](_0x36a84b['end'],'toNext');_0xbe27cd[_0x3e8a('0x4')](()=>_0x41f45d(_0x416d73)),_0x23f933=_0x448f1f[_0x3e8a('0x61')](_0x133651[_0x3e8a('0x37')]['document']['selection']),_0x36a84b=_0x34baff[_0x3e8a('0x21')](_0x23f933);const _0x3edfb6=_0x34baff[_0x3e8a('0x4c')](_0x371873,_0x128414);_0x371873['detach'](),_0x128414['detach'](),_0xbe27cd[_0x3e8a('0x73')](_0x23f933,{'commandName':_0x3e8a('0x55'),'commandParams':[_0x416d73]},[],_0x3e8a('0x16')),_0x3edfb6['start'][_0x3e8a('0x33')](_0x36a84b['start'])&&_0xbe27cd[_0x3e8a('0x2e')](_0x34baff[_0x3e8a('0x4c')](_0x3edfb6[_0x3e8a('0x57')],_0x36a84b[_0x3e8a('0x57')]),_0x3e8a('0x16')),_0x36a84b[_0x3e8a('0x6')]['isBefore'](_0x3edfb6[_0x3e8a('0x6')])&&_0xbe27cd[_0x3e8a('0x2e')](_0x34baff[_0x3e8a('0x4c')](_0x36a84b[_0x3e8a('0x6')],_0x3edfb6[_0x3e8a('0x6')]),'convertInlineImageToBlock');});}),_0xbe27cd[_0x3e8a('0x47')][_0x3e8a('0x6e')](_0x3e8a('0x3f'),_0x3e8a('0x16'),'join',()=>!0x1),_0xbe27cd[_0x3e8a('0x47')]['registerCustomCallback'](_0x3e8a('0x3f'),_0x3e8a('0x16'),_0x3e8a('0x17'),()=>!0x1),_0xbe27cd[_0x3e8a('0x47')]['registerCustomCallback'](_0x3e8a('0x3f'),_0x3e8a('0x16'),_0x3e8a('0x51'),_0xbe27cd[_0x3e8a('0x47')][_0x3e8a('0x2')](_0x3e8a('0x3f'),'',_0x3e8a('0x17'))),_0xbe27cd[_0x3e8a('0x47')][_0x3e8a('0x6e')]('insertion','convertInlineImageToBlock',_0x3e8a('0x42'),()=>!0x1),_0xbe27cd[_0x3e8a('0x47')][_0x3e8a('0x6e')](_0x3e8a('0xb'),_0x3e8a('0x16'),_0x3e8a('0x51'),([_0x228d66])=>{const _0x135894=_0xbe27cd['_suggestionFactory'][_0x3e8a('0x2')](_0x3e8a('0xb'),'','discard');let _0x42fa81=_0x228d66[_0x3e8a('0x57')],_0x46334f=_0x228d66[_0x3e8a('0x6')];const _0x49c978=_0x133651['model'][_0x3e8a('0x3c')][_0x3e8a('0x79')](_0x42fa81,_0x3e8a('0x70')),_0x361a6e=_0x133651[_0x3e8a('0x37')][_0x3e8a('0x3c')][_0x3e8a('0x79')](_0x46334f,_0x3e8a('0x2f'));_0x49c978[_0x3e8a('0x1b')]&&(_0x42fa81=_0x49c978[_0x3e8a('0x57')]),_0x361a6e[_0x3e8a('0x1b')]&&(_0x46334f=_0x361a6e[_0x3e8a('0x6')]),_0x135894([_0x133651[_0x3e8a('0x37')][_0x3e8a('0x4c')](_0x42fa81,_0x46334f)]);}),_0xbe27cd[_0x3e8a('0x47')][_0x3e8a('0x6e')](_0x3e8a('0x3f'),_0x3e8a('0x16'),'chain',_0x4dd590),_0xbe27cd[_0x3e8a('0x47')][_0x3e8a('0x6e')](_0x3e8a('0xb'),_0x3e8a('0x16'),_0x3e8a('0x4b'),_0x4dd590)),_0x133651[_0x3e8a('0x22')][_0x3e8a('0x59')](_0x3e8a('0x56'))&&(_0xbe27cd[_0x3e8a('0x2b')](_0x3e8a('0x3d'),(_0x4c8113,_0x24d6bc)=>{const _0x36b033=_0x133651[_0x3e8a('0x22')][_0x3e8a('0x72')](_0x3e8a('0x3a'));let _0x38a7b3=_0x448f1f[_0x3e8a('0x61')](_0x133651[_0x3e8a('0x37')][_0x3e8a('0x2d')]['selection']),_0x41edb2=_0x36b033[_0x3e8a('0x69')](_0x38a7b3);_0x133651[_0x3e8a('0x37')]['change'](()=>{if(_0x41edb2)return void _0xbe27cd[_0x3e8a('0x12')](_0x133651[_0x3e8a('0x37')][_0x3e8a('0x21')](_0x41edb2));const _0x50b633=_0x448f1f[_0x3e8a('0x48')](_0x38a7b3);_0x4c8113(_0x24d6bc),_0x38a7b3=_0x448f1f['getClosestSelectedImageElement'](_0x133651[_0x3e8a('0x37')]['document'][_0x3e8a('0x38')]),_0x41edb2=_0x36b033[_0x3e8a('0x69')](_0x38a7b3),_0xbe27cd[_0x3e8a('0x2e')](_0x133651[_0x3e8a('0x37')]['createRangeOn'](_0x41edb2),_0x50b633?null:_0x3e8a('0x3b'));});}),_0xbe27cd[_0x3e8a('0x47')]['registerCustomCallback']('insertion','imageCaption',_0x3e8a('0x4b'),_0x4dd590)),_0x133651[_0x3e8a('0x22')][_0x3e8a('0x59')]('ImageStyleEditing')){_0xbe27cd[_0x3e8a('0x2b')](_0x3e8a('0x60'),(_0x17458e,_0x387262)=>{const _0x574a45=_0x133651[_0x3e8a('0x22')]['get'](_0x3e8a('0x41'))['me'],_0x56bf8f=_0x133651[_0x3e8a('0x6b')][_0x3e8a('0x72')](_0x3e8a('0x60'));let _0x69ea87=_0x448f1f['getClosestSelectedImageElement'](_0x133651[_0x3e8a('0x37')][_0x3e8a('0x2d')][_0x3e8a('0x38')]),_0x2e7fb1=_0x133651['model'][_0x3e8a('0x21')](_0x69ea87),_0x5e230f=_0x56bf8f[_0x3e8a('0x8')];if(_0x5e230f==_0x387262[_0x3e8a('0x8')])return;const _0x42eb2e={'commandName':'imageStyle','commandParams':[_0x387262],'formatGroupId':_0x21683c()};_0x133651[_0x3e8a('0x37')][_0x3e8a('0x62')](()=>{if(_0xbe27cd[_0x3e8a('0x5a')]()[_0x3e8a('0x31')](_0x142197=>_0x142197[_0x3e8a('0x5d')]&&_0x574a45==_0x142197[_0x3e8a('0x50')]&&(_0x3e8a('0x3f')==_0x142197['type']||_0x3e8a('0x64')==_0x142197[_0x3e8a('0x20')])&&(_0x3e8a('0x5e')==_0x142197[_0x3e8a('0x40')]||_0x3e8a('0x18')==_0x142197[_0x3e8a('0x40')])&&_0x142197[_0x3e8a('0x11')]()['isEqual'](_0x2e7fb1))['forEach'](_0x32e417=>_0xbe27cd['discardSuggestion'](_0x32e417[_0x3e8a('0x2c')])),_0x69ea87=_0x448f1f[_0x3e8a('0x61')](_0x133651[_0x3e8a('0x37')][_0x3e8a('0x2d')][_0x3e8a('0x38')]),_0x2e7fb1=_0x133651[_0x3e8a('0x37')]['createRangeOn'](_0x69ea87),_0x56bf8f[_0x3e8a('0x45')](),_0x133651[_0x3e8a('0x6b')][_0x3e8a('0x72')](_0x3e8a('0x55'))[_0x3e8a('0x45')](),_0x133651[_0x3e8a('0x6b')][_0x3e8a('0x72')](_0x3e8a('0x24'))['refresh'](),_0x5e230f=_0x56bf8f['value'],_0x5e230f!=_0x387262[_0x3e8a('0x8')])return _0x448f1f['isInlineImage'](_0x69ea87)&&_0x56bf8f[_0x3e8a('0x52')](_0x387262[_0x3e8a('0x8')],_0x69ea87)?(_0x17458e({..._0x387262,'setImageSizes':!0x1}),_0x69ea87=_0x448f1f[_0x3e8a('0x61')](_0x133651['model'][_0x3e8a('0x2d')][_0x3e8a('0x38')]),void _0xbe27cd['markBlockFormat'](_0x69ea87,{..._0x42eb2e,'commandReversedParams':[{'value':_0x5e230f||null,'setImageSizes':!0x1}]},[],_0x3e8a('0x5e'))):void(_0x448f1f[_0x3e8a('0x48')](_0x69ea87)?_0xbe27cd[_0x3e8a('0x73')](_0x69ea87,_0x42eb2e,[],'imageStylePostApply'):_0xbe27cd[_0x3e8a('0x5')](_0x2e7fb1,_0x42eb2e,'imageStylePostApply'));});});for(const _0x6e5e2f of _0x133651['plugins'][_0x3e8a('0x72')](_0x3e8a('0x1f'))[_0x3e8a('0x71')])_0x1d20ff[_0x6e5e2f[_0x3e8a('0x54')]]=_0x6e5e2f[_0x3e8a('0x23')][_0x3e8a('0x4a')]();_0xbe27cd[_0x3e8a('0x47')]['registerCustomCallback'](_0x3e8a('0x3f'),_0x3e8a('0x5e'),_0x3e8a('0x42'),()=>!0x1),_0xbe27cd[_0x3e8a('0x47')]['registerCustomCallback'](_0x3e8a('0x3f'),_0x3e8a('0x18'),_0x3e8a('0x42'),()=>!0x1),_0xbe27cd[_0x3e8a('0x47')][_0x3e8a('0x6e')](_0x3e8a('0x64'),'imageStylePostApply',_0x3e8a('0x42'),()=>!0x1),_0xbe27cd['_suggestionFactory'][_0x3e8a('0x6e')](_0x3e8a('0x3f'),'imageStylePreApply',_0x3e8a('0x17'),([_0x2d251c])=>{_0x448f1f[_0x3e8a('0x0')](_0x2d251c['getContainedElement']());}),_0xbe27cd[_0x3e8a('0x47')][_0x3e8a('0x6e')](_0x3e8a('0x3f'),_0x3e8a('0x5e'),_0x3e8a('0x51'),(_0x2d01e5,_0x1bc3bc)=>{_0xbe27cd[_0x3e8a('0x47')]['getSuggestionCallback'](_0x3e8a('0x3f'),'',_0x3e8a('0x17'))(_0x2d01e5,{'commandName':_0x1bc3bc[_0x3e8a('0x39')],'commandParams':_0x1bc3bc[_0x3e8a('0xc')]});}),_0xbe27cd['_suggestionFactory'][_0x3e8a('0x6e')](_0x3e8a('0x3f'),_0x3e8a('0x5e'),_0x3e8a('0x4b'),_0x4dd590);}const _0x3f8b8f=[{'type':_0x3e8a('0x3f'),'subType':_0x3e8a('0x5e')},{'type':'insertion','subType':_0x3e8a('0x3b')},{'type':'formatBlock','subType':_0x3e8a('0x16')},{'type':_0x3e8a('0xb'),'subType':_0x3e8a('0x16')}];function _0x2eb165(_0x477f4c,_0x19bfb9){const _0x16cadd=_0x3f8b8f[_0x3e8a('0x1')](({type:_0x4d4928,subType:_0x4d346b})=>_0x477f4c[_0x3e8a('0x20')]==_0x4d4928&&_0x477f4c[_0x3e8a('0x40')]==_0x4d346b),_0x2aeade=_0x3f8b8f[_0x3e8a('0x1')](({type:_0x4c16aa,subType:_0xb34e07})=>_0x19bfb9[_0x3e8a('0x20')]==_0x4c16aa&&_0x19bfb9[_0x3e8a('0x40')]==_0xb34e07);if(_0x16cadd<0x0||_0x2aeade<0x0)return!0x1;const _0x5be198=_0x477f4c[_0x3e8a('0x11')](),_0x56c688=_0x19bfb9[_0x3e8a('0x11')]();if((0x0==_0x16cadd||0x1==_0x16cadd)&&0x2==_0x2aeade&&_0x5be198[_0x3e8a('0x14')](_0x56c688))return!0x0;if(0x2==_0x16cadd&&0x3==_0x2aeade){const _0x368e02=_0xbe27cd['_findSuggestions'](_0x5be198,_0x3e8a('0xb'))['filter'](({suggestion:_0x1cf0d0,meta:_0x3a1b65})=>_0x3a1b65['isOwn']&&'convertInlineImageToBlock'==_0x1cf0d0[_0x3e8a('0x40')]);if(_0x368e02[_0x3e8a('0x27')]>0x1&&_0x56c688[_0x3e8a('0x6')][_0x3e8a('0x1c')](_0x5be198[_0x3e8a('0x57')]))return!0x0;if(0x1==_0x368e02['length']&&(_0x5be198[_0x3e8a('0x57')][_0x3e8a('0x1c')](_0x56c688[_0x3e8a('0x6')])||_0x5be198[_0x3e8a('0x6')][_0x3e8a('0x1c')](_0x56c688[_0x3e8a('0x57')])))return!0x0;}if(0x3==_0x16cadd&&0x3==_0x2aeade&&_0x5be198[_0x3e8a('0x57')][_0x3e8a('0x33')](_0x56c688['start'])){const _0x44e1f1=_0x5be198[_0x3e8a('0x6')][_0x3e8a('0x5c')],_0x5cfbe1=_0x56c688[_0x3e8a('0x57')][_0x3e8a('0x34')];return _0x448f1f[_0x3e8a('0x48')](_0x44e1f1)&&_0x44e1f1===_0x5cfbe1;}return!0x1;}function _0x4dd590(_0x395fab,_0x32291b){return _0x2eb165(_0x395fab,_0x32291b)?[_0x395fab,_0x32291b]:_0x2eb165(_0x32291b,_0x395fab)?[_0x32291b,_0x395fab]:null;}_0x133651[_0x3e8a('0x37')]['document'][_0x3e8a('0x4d')](()=>{let _0x5e9fd7=!0x1;const _0x4e0874=Array['from'](_0x133651[_0x3e8a('0x37')][_0x3e8a('0x2d')][_0x3e8a('0x4f')][_0x3e8a('0x68')]());for(const {name:_0x30b503,data:_0x177bc9}of _0x4e0874){const {group:_0x4ea926,type:_0x587c8a,subType:_0x56fda4,id:_0x542c78}=_0xbe27cd[_0x3e8a('0x67')](_0x30b503);if(_0x3e8a('0x6c')==_0x4ea926&&_0xbe27cd[_0x3e8a('0x4e')](_0x542c78)){if('formatBlock'==_0x587c8a&&('imageStylePreApply'==_0x56fda4||'imageStylePostApply'==_0x56fda4)){const _0x3b0d22=_0xbe27cd[_0x3e8a('0x35')](_0x542c78);if(_0x177bc9[_0x3e8a('0x1a')]){const _0x4d9fb3=_0x3b0d22[_0x3e8a('0x11')]()[_0x3e8a('0xa')]();if(_0x448f1f[_0x3e8a('0x48')](_0x4d9fb3))continue;_0xbe27cd[_0x3e8a('0x1e')](_0x3b0d22),_0x5e9fd7=!0x0;}}if(_0x3e8a('0xb')==_0x587c8a&&'imageCaption'==_0x56fda4&&!_0x177bc9[_0x3e8a('0x1a')]){const _0x52ac4d=_0xbe27cd[_0x3e8a('0x35')](_0x542c78);_0x52ac4d['next']&&_0x52ac4d[_0x3e8a('0x28')][_0x3e8a('0x5d')]&&(_0xbe27cd[_0x3e8a('0x1e')](_0x52ac4d[_0x3e8a('0x28')]),_0x5e9fd7=!0x0);}}}return _0x5e9fd7;}),_0x133651[_0x3e8a('0x22')][_0x3e8a('0x59')]('ImageResize')&&_0xbe27cd[_0x3e8a('0x2b')](_0x3e8a('0x36'),(_0x4da78d,_0x43f106)=>{const _0x4d62e9=_0x448f1f['getClosestSelectedImageElement'](_0x133651[_0x3e8a('0x37')]['document']['selection']);_0x4d62e9['getAttribute'](_0x3e8a('0x46'))!=_0x43f106['width']&&_0x133651[_0x3e8a('0x37')][_0x3e8a('0x62')](()=>{_0xbe27cd[_0x3e8a('0x73')](_0x4d62e9,{'commandName':_0x3e8a('0x36'),'commandParams':[_0x43f106]});});}),_0x133651[_0x3e8a('0x22')]['has'](_0x3e8a('0x43'))&&_0xbe27cd[_0x3e8a('0x2b')](_0x3e8a('0x49'),(_0xfe8447,_0x3973a0)=>{const _0xc0b9e6=_0x448f1f[_0x3e8a('0x61')](_0x133651[_0x3e8a('0x37')][_0x3e8a('0x2d')]['selection']);(_0xc0b9e6[_0x3e8a('0x3e')](_0x3e8a('0x74'))?_0xc0b9e6[_0x3e8a('0x19')](_0x3e8a('0x74')):'')!=_0x3973a0[_0x3e8a('0x29')]&&_0x133651['model'][_0x3e8a('0x62')](()=>{_0xbe27cd[_0x3e8a('0x73')](_0xc0b9e6,{'commandName':_0x3e8a('0x49'),'commandParams':[_0x3973a0]});});}),_0xbe27cd['_descriptionFactory'][_0x3e8a('0x6a')](_0x2963d0=>{if(!!_0x3f8b8f[_0x3e8a('0x2a')](({type:_0x16eb30,subType:_0xd671e0})=>_0x2963d0[_0x3e8a('0x20')]==_0x16eb30&&_0x2963d0[_0x3e8a('0x40')]==_0xd671e0))return _0x2963d0[_0x3e8a('0x63')]?{}:void 0x0;}),_0xbe27cd['_descriptionFactory'][_0x3e8a('0x6a')](_0x4ecdcd=>{if(_0x3e8a('0xb')==_0x4ecdcd[_0x3e8a('0x20')]||_0x3e8a('0x78')==_0x4ecdcd['type']){const _0x39be7f=_0x4ecdcd[_0x3e8a('0xa')]();if(_0x39be7f&&_0x39be7f['is'](_0x3e8a('0x65'),_0x3e8a('0x7')))return{'type':_0x3e8a('0xb')==_0x4ecdcd[_0x3e8a('0x20')]?_0x3e8a('0xd'):_0x3e8a('0x5b'),'element':_0x39be7f,'quantity':0x1};}}),_0xbe27cd['_descriptionFactory'][_0x3e8a('0x6a')](_0x21db9b=>_0x3e8a('0x3f')==_0x21db9b[_0x3e8a('0x20')]&&_0x3e8a('0x16')==_0x21db9b[_0x3e8a('0x40')]?{'type':_0x3e8a('0x66'),'content':_0x3e8a('0x58')}:_0x3e8a('0x3f')==_0x21db9b[_0x3e8a('0x20')]&&_0x3e8a('0x26')==_0x21db9b[_0x3e8a('0x40')]?{'type':_0x3e8a('0x66'),'content':'Block\x20image\x20to\x20inline\x20image'}:void 0x0),_0xbe27cd[_0x3e8a('0x5f')][_0x3e8a('0x6a')](_0xe093cb=>{const {data:_0x1fda5e}=_0xe093cb;if(_0x1fda5e){if(_0x3e8a('0x60')==_0x1fda5e[_0x3e8a('0x39')]){const _0x51a588=_0x1fda5e[_0x3e8a('0x32')][0x0][_0x3e8a('0x8')];return _0x245acd(_0x3e8a('0x53')===_0x51a588?_0x3d6da2(_0xc834c5,'FORMAT_SIDE_IMAGE'):_0x1d20ff[_0x51a588]||_0x51a588);}if(_0x3e8a('0x49')==_0x1fda5e[_0x3e8a('0x39')]){const _0x5ea2a1=_0x1fda5e['commandParams'][0x0][_0x3e8a('0x29')];return _0x5ea2a1?{'type':_0x3e8a('0x66'),'content':_0x3d6da2(_0xc834c5,'*Set\x20image\x20text\x20alternative:*\x20%0','\x22'+_0x5ea2a1+'\x22')}:{'type':_0x3e8a('0x66'),'content':_0x3d6da2(_0xc834c5,_0x3e8a('0x3'))};}if(_0x3e8a('0x36')==_0x1fda5e[_0x3e8a('0x39')]){const _0x474652=_0x1fda5e[_0x3e8a('0x32')][0x0]['width'];return _0x474652?{'type':_0x3e8a('0x66'),'content':_0x3d6da2(_0xc834c5,_0x3e8a('0x13'),_0x474652)}:{'type':_0x3e8a('0x66'),'content':_0x3d6da2(_0xc834c5,_0x3e8a('0x76'))};}}function _0x245acd(_0x214144){return{'type':_0x3e8a('0x66'),'content':_0x3d6da2(_0xc834c5,_0x3e8a('0x77'),_0x214144)};}});}}
23
+ const _0x3853=['registerPostFixer','editor','imageTypeBlock','toggleImageCaption','toPrevious','ImageStyleEditing','refresh','element','schema','nodeBefore','registerCustomCallback','isInContent','markBlockFormat','imageStylePreApply','getFirstRange','isEqual','document','_splitMarkerName','selection','toNext','chain','formatBlock','formatInline','getContainedElement','newRange','removeObject','getNearestSelectionRange','next','suggestion','imageStyle','caption','isOwn','ImageTextAlternativeEditing','accept','normalizedStyles','hasAttribute','Inline\x20image\x20to\x20block\x20image','Users','side','ImageResize','insertImage','isBlockImage','*Format:*\x20%0','commandName','imageCaption','join','getAttribute','newValue','registerElementLabel','registerDescriptionCallback','ELEMENT_INLINE_IMAGE','commandParams','format','_descriptionFactory','has','forEach','commandReversedParams','ELEMENT_IMAGE','deletion','afterInit','*Set\x20image\x20text\x20alternative:*\x20%0','getSuggestions','imageTypeInline','imageStylePostApply','author','forward','*Reset\x20image\x20width*','isBefore','markDeletion','fromPosition','markInlineFormat','getClosestSelectedImageElement','start','addObject','ImageBlockEditing','toLowerCase','insertion','from','end','createRange','createRangeOn','alt','convertBlockImageToInline','hasSuggestion','forceDefaultExecution','backward','discardSuggestion','model','subType','markInsertion','locale','setImageNaturalSizeAttributes','resizedWidth','length','discard','detach','resizeImage','head','imageBlock','ImageInlineEditing','shouldConvertImageType','plugins','imageTextAlternative','getChangedMarkers','filter','commands','enableCommand','ImageCaptionEditing','findIndex','_suggestionFactory','type','change','find','nodeAfter','width','getSuggestion','get','value','ImageUtils','convertInlineImageToBlock','_findSuggestions'];(function(_0x4b5417,_0x3853ea){const _0x7b028f=function(_0x3e809c){while(--_0x3e809c){_0x4b5417['push'](_0x4b5417['shift']());}};_0x7b028f(++_0x3853ea);}(_0x3853,0x1a0));const _0x7b02=function(_0x4b5417,_0x3853ea){_0x4b5417=_0x4b5417-0x0;let _0x7b028f=_0x3853[_0x4b5417];return _0x7b028f;};import{Plugin as _0x1598b6}from'ckeditor5/src/core';import{LivePosition as _0x31b73a}from'ckeditor5/src/engine';import{uid as _0x25d07b}from'ckeditor5/src/utils';import{getTranslation as _0x3383c9}from'../utils/common-translations';export default class Y extends _0x1598b6{[_0x7b02('0x6')](){const _0x1624c8=this[_0x7b02('0x45')];if(!_0x1624c8[_0x7b02('0x30')][_0x7b02('0x1')]('ImageEditing'))return;const _0x71e9bb=_0x1624c8['plugins'][_0x7b02('0x3f')]('TrackChangesEditing'),_0x51e8e1=_0x1624c8[_0x7b02('0x30')][_0x7b02('0x3f')](_0x7b02('0x41')),_0x39d6ce={},_0x270e7b=_0x1624c8[_0x7b02('0x25')];if(_0x71e9bb['enableCommand'](_0x7b02('0x6c')),_0x71e9bb[_0x7b02('0x0')][_0x7b02('0x74')](_0x7b02('0x2d'),_0x4a3c08=>_0x3383c9(_0x270e7b,_0x7b02('0x4'),_0x4a3c08)),_0x71e9bb[_0x7b02('0x0')][_0x7b02('0x74')]('imageInline',_0x3b0eaa=>_0x3383c9(_0x270e7b,_0x7b02('0x76'),_0x3b0eaa)),_0x71e9bb[_0x7b02('0x0')][_0x7b02('0x74')]('caption',()=>_0x3383c9(_0x270e7b,'ELEMENT_CAPTION')),_0x1624c8['plugins'][_0x7b02('0x1')]('ImageUploadEditing')&&_0x71e9bb['enableCommand']('uploadImage'),_0x1624c8['plugins'][_0x7b02('0x1')](_0x7b02('0x15'))&&_0x1624c8[_0x7b02('0x30')][_0x7b02('0x1')](_0x7b02('0x2e'))&&(_0x71e9bb[_0x7b02('0x35')]('imageTypeInline',(_0xe6b321,_0x2b4632)=>{const _0x4ae276=_0x51e8e1[_0x7b02('0x12')](_0x1624c8['model']['document'][_0x7b02('0x56')]);_0x1624c8[_0x7b02('0x22')]['change'](()=>{_0x71e9bb['markBlockFormat'](_0x4ae276,{'commandName':_0x7b02('0x9'),'commandParams':[_0x2b4632]},[],_0x7b02('0x1d'));});}),_0x71e9bb[_0x7b02('0x35')](_0x7b02('0x46'),(_0x439c6f,_0x158f88)=>{_0x1624c8[_0x7b02('0x22')][_0x7b02('0x3a')](_0x34aa2d=>{let _0x478a32=_0x51e8e1[_0x7b02('0x12')](_0x1624c8[_0x7b02('0x22')][_0x7b02('0x54')]['selection']),_0x59671d=_0x34aa2d[_0x7b02('0x1b')](_0x478a32);const _0x542a4e=_0x31b73a[_0x7b02('0x10')](_0x59671d[_0x7b02('0x13')],_0x7b02('0x48')),_0x2f1ba4=_0x31b73a['fromPosition'](_0x59671d[_0x7b02('0x19')],_0x7b02('0x57'));_0x71e9bb[_0x7b02('0x1f')](()=>_0x439c6f(_0x158f88)),_0x478a32=_0x51e8e1[_0x7b02('0x12')](_0x1624c8[_0x7b02('0x22')][_0x7b02('0x54')][_0x7b02('0x56')]),_0x59671d=_0x34aa2d[_0x7b02('0x1b')](_0x478a32);const _0x3d048b=_0x34aa2d['createRange'](_0x542a4e,_0x2f1ba4);_0x542a4e['detach'](),_0x2f1ba4[_0x7b02('0x2a')](),_0x71e9bb[_0x7b02('0x50')](_0x478a32,{'commandName':_0x7b02('0x9'),'commandParams':[_0x158f88]},[],_0x7b02('0x42')),_0x3d048b[_0x7b02('0x13')]['isBefore'](_0x59671d[_0x7b02('0x13')])&&_0x71e9bb[_0x7b02('0x24')](_0x34aa2d[_0x7b02('0x1a')](_0x3d048b[_0x7b02('0x13')],_0x59671d['start']),_0x7b02('0x42')),_0x59671d[_0x7b02('0x19')][_0x7b02('0xe')](_0x3d048b[_0x7b02('0x19')])&&_0x71e9bb[_0x7b02('0x24')](_0x34aa2d[_0x7b02('0x1a')](_0x59671d['end'],_0x3d048b[_0x7b02('0x19')]),_0x7b02('0x42'));});}),_0x71e9bb['_suggestionFactory'][_0x7b02('0x4e')](_0x7b02('0x59'),_0x7b02('0x42'),_0x7b02('0x71'),()=>!0x1),_0x71e9bb[_0x7b02('0x38')]['registerCustomCallback']('formatBlock',_0x7b02('0x42'),_0x7b02('0x65'),()=>!0x1),_0x71e9bb[_0x7b02('0x38')][_0x7b02('0x4e')](_0x7b02('0x59'),_0x7b02('0x42'),_0x7b02('0x29'),_0x71e9bb[_0x7b02('0x38')]['getSuggestionCallback'](_0x7b02('0x59'),'','accept')),_0x71e9bb[_0x7b02('0x38')]['registerCustomCallback'](_0x7b02('0x17'),'convertInlineImageToBlock','join',()=>!0x1),_0x71e9bb['_suggestionFactory'][_0x7b02('0x4e')](_0x7b02('0x17'),_0x7b02('0x42'),_0x7b02('0x29'),([_0x2f7e1f])=>{const _0x49866c=_0x71e9bb[_0x7b02('0x38')]['getSuggestionCallback'](_0x7b02('0x17'),'',_0x7b02('0x29'));let _0x8867e4=_0x2f7e1f[_0x7b02('0x13')],_0xc8009e=_0x2f7e1f[_0x7b02('0x19')];const _0x520362=_0x1624c8['model'][_0x7b02('0x4c')][_0x7b02('0x5e')](_0x8867e4,_0x7b02('0x20')),_0x1ac750=_0x1624c8['model'][_0x7b02('0x4c')][_0x7b02('0x5e')](_0xc8009e,_0x7b02('0xc'));_0x520362['isCollapsed']&&(_0x8867e4=_0x520362[_0x7b02('0x13')]),_0x1ac750['isCollapsed']&&(_0xc8009e=_0x1ac750[_0x7b02('0x19')]),_0x49866c([_0x1624c8[_0x7b02('0x22')][_0x7b02('0x1a')](_0x8867e4,_0xc8009e)]);}),_0x71e9bb[_0x7b02('0x38')][_0x7b02('0x4e')](_0x7b02('0x59'),_0x7b02('0x42'),'chain',_0x5b5499),_0x71e9bb['_suggestionFactory'][_0x7b02('0x4e')]('insertion',_0x7b02('0x42'),_0x7b02('0x58'),_0x5b5499)),_0x1624c8[_0x7b02('0x30')][_0x7b02('0x1')](_0x7b02('0x36'))&&(_0x71e9bb[_0x7b02('0x35')](_0x7b02('0x47'),(_0x18108f,_0x3b7996)=>{const _0x220660=_0x1624c8[_0x7b02('0x30')][_0x7b02('0x3f')]('ImageCaptionUtils');let _0x2297f4=_0x51e8e1[_0x7b02('0x12')](_0x1624c8['model'][_0x7b02('0x54')][_0x7b02('0x56')]),_0x5275c8=_0x220660['getCaptionFromImageModelElement'](_0x2297f4);_0x1624c8[_0x7b02('0x22')][_0x7b02('0x3a')](()=>{if(_0x5275c8)return void _0x71e9bb[_0x7b02('0xf')](_0x1624c8['model'][_0x7b02('0x1b')](_0x5275c8));const _0x129fe1=_0x51e8e1[_0x7b02('0x6d')](_0x2297f4);_0x18108f(_0x3b7996),_0x2297f4=_0x51e8e1[_0x7b02('0x12')](_0x1624c8[_0x7b02('0x22')][_0x7b02('0x54')][_0x7b02('0x56')]),_0x5275c8=_0x220660['getCaptionFromImageModelElement'](_0x2297f4),_0x71e9bb[_0x7b02('0x24')](_0x1624c8[_0x7b02('0x22')][_0x7b02('0x1b')](_0x5275c8),_0x129fe1?null:_0x7b02('0x70'));});}),_0x71e9bb['_suggestionFactory'][_0x7b02('0x4e')](_0x7b02('0x17'),'imageCaption',_0x7b02('0x58'),_0x5b5499)),_0x1624c8[_0x7b02('0x30')][_0x7b02('0x1')](_0x7b02('0x49'))){_0x71e9bb[_0x7b02('0x35')](_0x7b02('0x61'),(_0x1749fb,_0x449867)=>{const _0x17ce76=_0x1624c8[_0x7b02('0x30')]['get'](_0x7b02('0x69'))['me'],_0x1e24d1=_0x1624c8[_0x7b02('0x34')][_0x7b02('0x3f')](_0x7b02('0x61'));let _0x273775=_0x51e8e1[_0x7b02('0x12')](_0x1624c8['model']['document']['selection']),_0x534f67=_0x1624c8[_0x7b02('0x22')][_0x7b02('0x1b')](_0x273775),_0x343ce5=_0x1e24d1[_0x7b02('0x40')];if(_0x343ce5==_0x449867[_0x7b02('0x40')])return;const _0x3cc67b={'commandName':_0x7b02('0x61'),'commandParams':[_0x449867],'formatGroupId':_0x25d07b()};_0x1624c8[_0x7b02('0x22')][_0x7b02('0x3a')](()=>{if(_0x71e9bb[_0x7b02('0x8')]()[_0x7b02('0x33')](_0x44b200=>_0x44b200[_0x7b02('0x4f')]&&_0x17ce76==_0x44b200[_0x7b02('0xb')]&&(_0x7b02('0x59')==_0x44b200['type']||_0x7b02('0x5a')==_0x44b200[_0x7b02('0x39')])&&(_0x7b02('0x51')==_0x44b200['subType']||'imageStylePostApply'==_0x44b200[_0x7b02('0x23')])&&_0x44b200[_0x7b02('0x52')]()[_0x7b02('0x53')](_0x534f67))[_0x7b02('0x2')](_0x100d0c=>_0x71e9bb[_0x7b02('0x21')](_0x100d0c[_0x7b02('0x2c')])),_0x273775=_0x51e8e1[_0x7b02('0x12')](_0x1624c8[_0x7b02('0x22')][_0x7b02('0x54')]['selection']),_0x534f67=_0x1624c8[_0x7b02('0x22')][_0x7b02('0x1b')](_0x273775),_0x1e24d1['refresh'](),_0x1624c8[_0x7b02('0x34')][_0x7b02('0x3f')]('imageTypeInline')[_0x7b02('0x4a')](),_0x1624c8[_0x7b02('0x34')][_0x7b02('0x3f')](_0x7b02('0x46'))['refresh'](),_0x343ce5=_0x1e24d1[_0x7b02('0x40')],_0x343ce5!=_0x449867[_0x7b02('0x40')])return _0x51e8e1['isInlineImage'](_0x273775)&&_0x1e24d1[_0x7b02('0x2f')](_0x449867[_0x7b02('0x40')],_0x273775)?(_0x1749fb({..._0x449867,'setImageSizes':!0x1}),_0x273775=_0x51e8e1[_0x7b02('0x12')](_0x1624c8[_0x7b02('0x22')]['document']['selection']),void _0x71e9bb['markBlockFormat'](_0x273775,{..._0x3cc67b,'commandReversedParams':[{'value':_0x343ce5||null,'setImageSizes':!0x1}]},[],_0x7b02('0x51'))):void(_0x51e8e1[_0x7b02('0x6d')](_0x273775)?_0x71e9bb[_0x7b02('0x50')](_0x273775,_0x3cc67b,[],_0x7b02('0xa')):_0x71e9bb[_0x7b02('0x11')](_0x534f67,_0x3cc67b,'imageStylePostApply'));});});for(const _0x36d665 of _0x1624c8[_0x7b02('0x30')][_0x7b02('0x3f')]('ImageStyleEditing')[_0x7b02('0x66')])_0x39d6ce[_0x36d665['name']]=_0x36d665['title'][_0x7b02('0x16')]();_0x71e9bb[_0x7b02('0x38')][_0x7b02('0x4e')]('formatBlock',_0x7b02('0x51'),_0x7b02('0x71'),()=>!0x1),_0x71e9bb[_0x7b02('0x38')][_0x7b02('0x4e')](_0x7b02('0x59'),_0x7b02('0xa'),_0x7b02('0x71'),()=>!0x1),_0x71e9bb[_0x7b02('0x38')][_0x7b02('0x4e')](_0x7b02('0x5a'),_0x7b02('0xa'),_0x7b02('0x71'),()=>!0x1),_0x71e9bb['_suggestionFactory'][_0x7b02('0x4e')](_0x7b02('0x59'),_0x7b02('0x51'),_0x7b02('0x65'),([_0x580a89])=>{_0x51e8e1[_0x7b02('0x26')](_0x580a89[_0x7b02('0x5b')]());}),_0x71e9bb[_0x7b02('0x38')]['registerCustomCallback']('formatBlock','imageStylePreApply','discard',(_0x4cb778,_0x306b34)=>{_0x71e9bb[_0x7b02('0x38')]['getSuggestionCallback'](_0x7b02('0x59'),'',_0x7b02('0x65'))(_0x4cb778,{'commandName':_0x306b34[_0x7b02('0x6f')],'commandParams':_0x306b34[_0x7b02('0x3')]});}),_0x71e9bb[_0x7b02('0x38')][_0x7b02('0x4e')]('formatBlock',_0x7b02('0x51'),_0x7b02('0x58'),_0x5b5499);}const _0x11ac2a=[{'type':_0x7b02('0x59'),'subType':'imageStylePreApply'},{'type':_0x7b02('0x17'),'subType':'imageCaption'},{'type':_0x7b02('0x59'),'subType':_0x7b02('0x42')},{'type':'insertion','subType':_0x7b02('0x42')}];function _0x505487(_0x54076a,_0x6489ce){const _0x2b43f0=_0x11ac2a['findIndex'](({type:_0x1c9fb2,subType:_0x40e586})=>_0x54076a['type']==_0x1c9fb2&&_0x54076a[_0x7b02('0x23')]==_0x40e586),_0x34b999=_0x11ac2a[_0x7b02('0x37')](({type:_0xc93c02,subType:_0x169685})=>_0x6489ce[_0x7b02('0x39')]==_0xc93c02&&_0x6489ce['subType']==_0x169685);if(_0x2b43f0<0x0||_0x34b999<0x0)return!0x1;const _0x1c517d=_0x54076a[_0x7b02('0x52')](),_0x3732dc=_0x6489ce[_0x7b02('0x52')]();if((0x0==_0x2b43f0||0x1==_0x2b43f0)&&0x2==_0x34b999&&_0x1c517d['isIntersecting'](_0x3732dc))return!0x0;if(0x2==_0x2b43f0&&0x3==_0x34b999){const _0x53d683=_0x71e9bb[_0x7b02('0x43')](_0x1c517d,_0x7b02('0x17'))[_0x7b02('0x33')](({suggestion:_0x1d150f,meta:_0x357a65})=>_0x357a65[_0x7b02('0x63')]&&_0x7b02('0x42')==_0x1d150f['subType']);if(_0x53d683['length']>0x1&&_0x3732dc[_0x7b02('0x19')][_0x7b02('0x53')](_0x1c517d[_0x7b02('0x13')]))return!0x0;if(0x1==_0x53d683[_0x7b02('0x28')]&&(_0x1c517d[_0x7b02('0x13')][_0x7b02('0x53')](_0x3732dc[_0x7b02('0x19')])||_0x1c517d['end'][_0x7b02('0x53')](_0x3732dc[_0x7b02('0x13')])))return!0x0;}if(0x3==_0x2b43f0&&0x3==_0x34b999&&_0x1c517d[_0x7b02('0x13')][_0x7b02('0xe')](_0x3732dc[_0x7b02('0x13')])){const _0x26def3=_0x1c517d[_0x7b02('0x19')][_0x7b02('0x3c')],_0x2d4796=_0x3732dc[_0x7b02('0x13')][_0x7b02('0x4d')];return _0x51e8e1['isBlockImage'](_0x26def3)&&_0x26def3===_0x2d4796;}return!0x1;}function _0x5b5499(_0x2a9355,_0x13ac54){return _0x505487(_0x2a9355,_0x13ac54)?[_0x2a9355,_0x13ac54]:_0x505487(_0x13ac54,_0x2a9355)?[_0x13ac54,_0x2a9355]:null;}_0x1624c8[_0x7b02('0x22')][_0x7b02('0x54')][_0x7b02('0x44')](()=>{let _0x911b3d=!0x1;const _0x36b732=Array[_0x7b02('0x18')](_0x1624c8[_0x7b02('0x22')][_0x7b02('0x54')]['differ'][_0x7b02('0x32')]());for(const {name:_0x1275a5,data:_0x258c24}of _0x36b732){const {group:_0x2c1366,type:_0x1e4161,subType:_0x13b1cc,id:_0x5ea40a}=_0x71e9bb[_0x7b02('0x55')](_0x1275a5);if(_0x7b02('0x60')==_0x2c1366&&_0x71e9bb[_0x7b02('0x1e')](_0x5ea40a)){if('formatBlock'==_0x1e4161&&(_0x7b02('0x51')==_0x13b1cc||_0x7b02('0xa')==_0x13b1cc)){const _0x3bdb06=_0x71e9bb[_0x7b02('0x3e')](_0x5ea40a);if(_0x258c24[_0x7b02('0x5c')]){const _0x59ccbd=_0x3bdb06[_0x7b02('0x52')]()[_0x7b02('0x5b')]();if(_0x51e8e1['isBlockImage'](_0x59ccbd))continue;_0x71e9bb[_0x7b02('0x21')](_0x3bdb06),_0x911b3d=!0x0;}}if(_0x7b02('0x17')==_0x1e4161&&_0x7b02('0x70')==_0x13b1cc&&!_0x258c24[_0x7b02('0x5c')]){const _0x521818=_0x71e9bb[_0x7b02('0x3e')](_0x5ea40a);_0x521818[_0x7b02('0x5f')]&&_0x521818[_0x7b02('0x5f')][_0x7b02('0x4f')]&&(_0x71e9bb[_0x7b02('0x21')](_0x521818['next']),_0x911b3d=!0x0);}}}return _0x911b3d;}),_0x1624c8['plugins']['has'](_0x7b02('0x6b'))&&_0x71e9bb['enableCommand'](_0x7b02('0x2b'),(_0x1ccec5,_0x1a4512)=>{const _0x441311=_0x51e8e1[_0x7b02('0x12')](_0x1624c8['model'][_0x7b02('0x54')][_0x7b02('0x56')]);_0x441311['getAttribute'](_0x7b02('0x27'))!=_0x1a4512['width']&&_0x1624c8[_0x7b02('0x22')][_0x7b02('0x3a')](()=>{_0x71e9bb['markBlockFormat'](_0x441311,{'commandName':_0x7b02('0x2b'),'commandParams':[_0x1a4512]});});}),_0x1624c8[_0x7b02('0x30')][_0x7b02('0x1')](_0x7b02('0x64'))&&_0x71e9bb[_0x7b02('0x35')](_0x7b02('0x31'),(_0xd6359e,_0x253f35)=>{const _0x4818e7=_0x51e8e1[_0x7b02('0x12')](_0x1624c8[_0x7b02('0x22')]['document'][_0x7b02('0x56')]);(_0x4818e7[_0x7b02('0x67')](_0x7b02('0x1c'))?_0x4818e7[_0x7b02('0x72')](_0x7b02('0x1c')):'')!=_0x253f35['newValue']&&_0x1624c8[_0x7b02('0x22')][_0x7b02('0x3a')](()=>{_0x71e9bb['markBlockFormat'](_0x4818e7,{'commandName':_0x7b02('0x31'),'commandParams':[_0x253f35]});});}),_0x71e9bb[_0x7b02('0x0')]['registerDescriptionCallback'](_0xb3dc60=>{if(!!_0x11ac2a[_0x7b02('0x3b')](({type:_0x2a8016,subType:_0x8bf54a})=>_0xb3dc60[_0x7b02('0x39')]==_0x2a8016&&_0xb3dc60[_0x7b02('0x23')]==_0x8bf54a))return _0xb3dc60['previous']?{}:void 0x0;}),_0x71e9bb[_0x7b02('0x0')][_0x7b02('0x75')](_0x12e533=>{if(_0x7b02('0x17')==_0x12e533[_0x7b02('0x39')]||_0x7b02('0x5')==_0x12e533[_0x7b02('0x39')]){const _0x3223dc=_0x12e533[_0x7b02('0x5b')]();if(_0x3223dc&&_0x3223dc['is'](_0x7b02('0x4b'),_0x7b02('0x62')))return{'type':_0x7b02('0x17')==_0x12e533['type']?_0x7b02('0x14'):_0x7b02('0x5d'),'element':_0x3223dc,'quantity':0x1};}}),_0x71e9bb['_descriptionFactory'][_0x7b02('0x75')](_0x347546=>'formatBlock'==_0x347546[_0x7b02('0x39')]&&_0x7b02('0x42')==_0x347546['subType']?{'type':_0x7b02('0x78'),'content':_0x7b02('0x68')}:_0x7b02('0x59')==_0x347546[_0x7b02('0x39')]&&_0x7b02('0x1d')==_0x347546[_0x7b02('0x23')]?{'type':_0x7b02('0x78'),'content':'Block\x20image\x20to\x20inline\x20image'}:void 0x0),_0x71e9bb[_0x7b02('0x0')][_0x7b02('0x75')](_0x36c53f=>{const {data:_0x225ec6}=_0x36c53f;if(_0x225ec6){if('imageStyle'==_0x225ec6[_0x7b02('0x6f')]){const _0x5d3af6=_0x225ec6[_0x7b02('0x77')][0x0][_0x7b02('0x40')];return _0x41ec73(_0x7b02('0x6a')===_0x5d3af6?_0x3383c9(_0x270e7b,'FORMAT_SIDE_IMAGE'):_0x39d6ce[_0x5d3af6]||_0x5d3af6);}if(_0x7b02('0x31')==_0x225ec6['commandName']){const _0x148882=_0x225ec6['commandParams'][0x0][_0x7b02('0x73')];return _0x148882?{'type':_0x7b02('0x78'),'content':_0x3383c9(_0x270e7b,_0x7b02('0x7'),'\x22'+_0x148882+'\x22')}:{'type':_0x7b02('0x78'),'content':_0x3383c9(_0x270e7b,'*Remove\x20image\x20text\x20alternative*')};}if(_0x7b02('0x2b')==_0x225ec6['commandName']){const _0x40931c=_0x225ec6[_0x7b02('0x77')][0x0][_0x7b02('0x3d')];return _0x40931c?{'type':'format','content':_0x3383c9(_0x270e7b,'*Set\x20image\x20width:*\x20%0',_0x40931c)}:{'type':_0x7b02('0x78'),'content':_0x3383c9(_0x270e7b,_0x7b02('0xd'))};}}function _0x41ec73(_0x34b27e){return{'type':'format','content':_0x3383c9(_0x270e7b,_0x7b02('0x6e'),_0x34b27e)};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x14cf=['enableCommand','getAttribute','markBlockFormat','get','replaceImageSource','src','handleReplaceImageCommand','handleSuggestionDescription','afterInit','selection','locale','discard','formatBlock','*Format:*\x20replace\x20image\x20URL','_suggestionFactory','getSuggestionCallback','commandName','plugins','_descriptionFactory','accept','editor','getSuggestions','Users','model','change','getSelectedElement','registerCustomCallback','registerDescriptionCallback','TrackChangesEditing','source'];(function(_0x3abd95,_0x14cf02){const _0x90a860=function(_0x4e6dd1){while(--_0x4e6dd1){_0x3abd95['push'](_0x3abd95['shift']());}};_0x90a860(++_0x14cf02);}(_0x14cf,0x15a));const _0x90a8=function(_0x3abd95,_0x14cf02){_0x3abd95=_0x3abd95-0x0;let _0x90a860=_0x14cf[_0x3abd95];return _0x90a860;};import{Plugin as _0x1f02ab}from'ckeditor5/src/core';import{getTranslation as _0x1e274e}from'../utils/common-translations';export default class Z extends _0x1f02ab{[_0x90a8('0x16')](){if(!this[_0x90a8('0x4')]['plugins']['has']('ImageEditing'))return;const _0x1712f2=this[_0x90a8('0x4')][_0x90a8('0x1')][_0x90a8('0x11')](_0x90a8('0xc'));_0x1712f2[_0x90a8('0xe')](_0x90a8('0x12'),(_0x4f6da4,_0x2bf26d)=>this['handleReplaceImageCommand'](_0x4f6da4,_0x2bf26d)),_0x1712f2['_suggestionFactory'][_0x90a8('0xa')](_0x90a8('0x1a'),'replaceImageSource',_0x90a8('0x3'),_0x1712f2['_suggestionFactory']['getSuggestionCallback'](_0x90a8('0x1a'),null,'discard')),_0x1712f2[_0x90a8('0x1c')][_0x90a8('0xa')](_0x90a8('0x1a'),_0x90a8('0x12'),_0x90a8('0x19'),_0x1712f2['_suggestionFactory'][_0x90a8('0x1d')](_0x90a8('0x1a'),null,_0x90a8('0x3'))),_0x1712f2[_0x90a8('0x2')][_0x90a8('0xb')](_0x5f90c=>this[_0x90a8('0x15')](_0x5f90c));}[_0x90a8('0x14')](_0x339999,_0x5eab37){const _0x32406e=this[_0x90a8('0x4')][_0x90a8('0x1')][_0x90a8('0x11')](_0x90a8('0xc')),_0x1daa8f=this['editor'][_0x90a8('0x7')]['document'][_0x90a8('0x17')][_0x90a8('0x9')]();this[_0x90a8('0x4')][_0x90a8('0x7')][_0x90a8('0x8')](()=>{let _0x54b96c=_0x1daa8f[_0x90a8('0xf')](_0x90a8('0x13'));const _0x1f725f=this['editor']['plugins'][_0x90a8('0x11')](_0x90a8('0x6'))['me'];for(const _0x5dbd03 of _0x32406e[_0x90a8('0x5')]({'skipNotAttached':!0x0})){const _0xd63a46=_0x5dbd03['getContainedElement']();if(_0x90a8('0x12')===_0x5dbd03['subType']&&_0xd63a46===_0x1daa8f){_0x5dbd03['author']!==_0x1f725f&&_0x5dbd03['discard'](),_0x54b96c=_0x5dbd03['data']['commandParams'][0x0][_0x90a8('0xd')];break;}}_0x339999(_0x5eab37),_0x32406e[_0x90a8('0x10')](_0x1daa8f,{'commandName':'replaceImageSource','commandParams':[{'source':_0x54b96c}]},[],'replaceImageSource');});}[_0x90a8('0x15')](_0x276b4a){const {data:_0x5f1281}=_0x276b4a;if(_0x5f1281&&_0x90a8('0x12')===_0x5f1281[_0x90a8('0x0')]){const _0x289635=_0x90a8('0x1b');return{'type':'format','content':_0x1e274e(this[_0x90a8('0x4')][_0x90a8('0x18')],_0x289635)};}}}
23
+ const _0x17a4=['src','registerCustomCallback','commandParams','document','getContainedElement','_suggestionFactory','enableCommand','editor','registerDescriptionCallback','formatBlock','locale','TrackChangesEditing','author','has','handleSuggestionDescription','commandName','getAttribute','getSelectedElement','get','_descriptionFactory','format','model','change','replaceImageSource','subType','selection','accept','discard','handleReplaceImageCommand','source','getSuggestionCallback','*Format:*\x20replace\x20image\x20URL','plugins','markBlockFormat','Users'];(function(_0x4ce9e7,_0x17a45f){const _0x38608b=function(_0x9c860f){while(--_0x9c860f){_0x4ce9e7['push'](_0x4ce9e7['shift']());}};_0x38608b(++_0x17a45f);}(_0x17a4,0x1a7));const _0x3860=function(_0x4ce9e7,_0x17a45f){_0x4ce9e7=_0x4ce9e7-0x0;let _0x38608b=_0x17a4[_0x4ce9e7];return _0x38608b;};import{Plugin as _0x492a62}from'ckeditor5/src/core';import{getTranslation as _0x114613}from'../utils/common-translations';export default class Z extends _0x492a62{['afterInit'](){if(!this['editor'][_0x3860('0x1d')][_0x3860('0xa')]('ImageEditing'))return;const _0xa25bf7=this[_0x3860('0x4')]['plugins'][_0x3860('0xf')]('TrackChangesEditing');_0xa25bf7[_0x3860('0x3')](_0x3860('0x14'),(_0x35f522,_0x20ab92)=>this[_0x3860('0x19')](_0x35f522,_0x20ab92)),_0xa25bf7['_suggestionFactory'][_0x3860('0x21')](_0x3860('0x6'),_0x3860('0x14'),_0x3860('0x17'),_0xa25bf7[_0x3860('0x2')][_0x3860('0x1b')](_0x3860('0x6'),null,_0x3860('0x18'))),_0xa25bf7[_0x3860('0x2')][_0x3860('0x21')](_0x3860('0x6'),_0x3860('0x14'),_0x3860('0x18'),_0xa25bf7[_0x3860('0x2')]['getSuggestionCallback'](_0x3860('0x6'),null,_0x3860('0x17'))),_0xa25bf7[_0x3860('0x10')][_0x3860('0x5')](_0x1b55a5=>this['handleSuggestionDescription'](_0x1b55a5));}[_0x3860('0x19')](_0x47fe3f,_0x5963ba){const _0x428a06=this[_0x3860('0x4')][_0x3860('0x1d')][_0x3860('0xf')](_0x3860('0x8')),_0x25183d=this[_0x3860('0x4')][_0x3860('0x12')][_0x3860('0x0')][_0x3860('0x16')][_0x3860('0xe')]();this[_0x3860('0x4')][_0x3860('0x12')][_0x3860('0x13')](()=>{let _0x4c5b2d=_0x25183d[_0x3860('0xd')](_0x3860('0x20'));const _0x3682fc=this[_0x3860('0x4')]['plugins']['get'](_0x3860('0x1f'))['me'];for(const _0xbbd18e of _0x428a06['getSuggestions']({'skipNotAttached':!0x0})){const _0x199423=_0xbbd18e[_0x3860('0x1')]();if(_0x3860('0x14')===_0xbbd18e[_0x3860('0x15')]&&_0x199423===_0x25183d){_0xbbd18e[_0x3860('0x9')]!==_0x3682fc&&_0xbbd18e[_0x3860('0x18')](),_0x4c5b2d=_0xbbd18e['data'][_0x3860('0x22')][0x0][_0x3860('0x1a')];break;}}_0x47fe3f(_0x5963ba),_0x428a06[_0x3860('0x1e')](_0x25183d,{'commandName':_0x3860('0x14'),'commandParams':[{'source':_0x4c5b2d}]},[],'replaceImageSource');});}[_0x3860('0xb')](_0x49ffd8){const {data:_0x1898b0}=_0x49ffd8;if(_0x1898b0&&_0x3860('0x14')===_0x1898b0[_0x3860('0xc')]){const _0x3d72f6=_0x3860('0x1c');return{'type':_0x3860('0x11'),'content':_0x114613(this[_0x3860('0x4')][_0x3860('0x7')],_0x3d72f6)};}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2121=['forEach','enableCommand','_trackChangesValueDuringImport','get','execute','_trackChangesExecuted','_setSuggestionData','commands','value','dataInsert','lowest','listenTo','afterInit','editor','importWord','collaboration_features','high','_handleImportedData','plugins','trackChanges','TrackChangesEditing'];(function(_0x245f30,_0x21214d){const _0x1e01ae=function(_0x2df7da){while(--_0x2df7da){_0x245f30['push'](_0x245f30['shift']());}};_0x1e01ae(++_0x21214d);}(_0x2121,0xfc));const _0x1e01=function(_0x245f30,_0x21214d){_0x245f30=_0x245f30-0x0;let _0x1e01ae=_0x2121[_0x245f30];return _0x1e01ae;};import{Plugin as _0x300b23}from'ckeditor5/src/core';export default class tt extends _0x300b23{constructor(_0x419892){super(_0x419892),this[_0x1e01('0x2')]=!0x1,this['_trackChangesExecuted']=!0x1;}[_0x1e01('0xc')](){const _0x34694e=this[_0x1e01('0xd')],_0x16f9e0=_0x34694e[_0x1e01('0x7')]['get']('importWord'),_0x177649=_0x34694e[_0x1e01('0x7')][_0x1e01('0x3')](_0x1e01('0x13'));_0x16f9e0&&(_0x16f9e0['on']('execute',(_0x5233ab,[,_0x3b4f23])=>{this[_0x1e01('0x2')]=_0x177649[_0x1e01('0x8')],_0x3b4f23[_0x1e01('0xf')]['track_changes']=!this[_0x1e01('0x2')];},{'priority':_0x1e01('0x10')}),this[_0x1e01('0xb')](_0x16f9e0,_0x1e01('0x9'),this[_0x1e01('0x11')]['bind'](this)),this['listenTo'](_0x16f9e0,_0x1e01('0x9'),()=>{this[_0x1e01('0x5')]&&(_0x177649['execute'](),this[_0x1e01('0x5')]=!0x1);},{'priority':_0x1e01('0xa')}),_0x34694e[_0x1e01('0x12')][_0x1e01('0x3')]('TrackChangesEditing')[_0x1e01('0x1')]('importWord'));}[_0x1e01('0x11')](_0x155a83,_0x237b59){const {suggestions:_0xe527c}=_0x237b59,_0x599087=this[_0x1e01('0xd')][_0x1e01('0x7')][_0x1e01('0x3')](_0x1e01('0x13')),_0x32c8e1=_0x599087[_0x1e01('0x8')];this['_trackChangesValueDuringImport']!==_0x32c8e1&&(_0x599087[_0x1e01('0x4')](),this[_0x1e01('0x5')]=!0x0),_0xe527c&&_0xe527c[_0x1e01('0x0')](({id:_0x4e0dbe,type:_0x3726a6,author:_0x5df7e0,created_at:_0x1196a6})=>{const _0x33ed14={'id':_0x4e0dbe,'type':_0x3726a6,'authorId':this[_0x1e01('0xd')][_0x1e01('0x12')][_0x1e01('0x3')]('Users')['me']['id'],'createdAt':new Date(),'data':null,'hasComments':!0x1,'attributes':{'@external':{'authorName':_0x5df7e0,'createdAt':_0x1196a6?new Date(_0x1196a6):new Date(),'source':_0x1e01('0xe')}}};this[_0x1e01('0xd')]['plugins'][_0x1e01('0x3')](_0x1e01('0x14'))[_0x1e01('0x6')](_0x33ed14);});}}
23
+ const _0x2a10=['plugins','_trackChangesExecuted','enableCommand','bind','importWord','_setSuggestionData','listenTo','track_changes','get','_trackChangesValueDuringImport','lowest','execute','editor','value','dataInsert','_handleImportedData','high','forEach','trackChanges','commands'];(function(_0x581ac9,_0x2a109b){const _0x5d8db5=function(_0x33b7bb){while(--_0x33b7bb){_0x581ac9['push'](_0x581ac9['shift']());}};_0x5d8db5(++_0x2a109b);}(_0x2a10,0x1d6));const _0x5d8d=function(_0x581ac9,_0x2a109b){_0x581ac9=_0x581ac9-0x0;let _0x5d8db5=_0x2a10[_0x581ac9];return _0x5d8db5;};import{Plugin as _0x12a804}from'ckeditor5/src/core';export default class tt extends _0x12a804{constructor(_0x136d20){super(_0x136d20),this[_0x5d8d('0x13')]=!0x1,this['_trackChangesExecuted']=!0x1;}['afterInit'](){const _0x353692=this[_0x5d8d('0x2')],_0x3c9514=_0x353692[_0x5d8d('0x9')][_0x5d8d('0x12')](_0x5d8d('0xe')),_0x32f86a=_0x353692[_0x5d8d('0x9')]['get'](_0x5d8d('0x8'));_0x3c9514&&(_0x3c9514['on'](_0x5d8d('0x1'),(_0xe7037f,[,_0x39afac])=>{this[_0x5d8d('0x13')]=_0x32f86a[_0x5d8d('0x3')],_0x39afac['collaboration_features'][_0x5d8d('0x11')]=!this[_0x5d8d('0x13')];},{'priority':_0x5d8d('0x6')}),this[_0x5d8d('0x10')](_0x3c9514,_0x5d8d('0x4'),this[_0x5d8d('0x5')][_0x5d8d('0xd')](this)),this[_0x5d8d('0x10')](_0x3c9514,_0x5d8d('0x4'),()=>{this[_0x5d8d('0xb')]&&(_0x32f86a[_0x5d8d('0x1')](),this[_0x5d8d('0xb')]=!0x1);},{'priority':_0x5d8d('0x0')}),_0x353692[_0x5d8d('0xa')][_0x5d8d('0x12')]('TrackChangesEditing')[_0x5d8d('0xc')](_0x5d8d('0xe')));}['_handleImportedData'](_0x5a0ed3,_0x1e5990){const {suggestions:_0x416a0c}=_0x1e5990,_0x525fdc=this['editor']['commands'][_0x5d8d('0x12')](_0x5d8d('0x8')),_0x4a0714=_0x525fdc['value'];this[_0x5d8d('0x13')]!==_0x4a0714&&(_0x525fdc[_0x5d8d('0x1')](),this[_0x5d8d('0xb')]=!0x0),_0x416a0c&&_0x416a0c[_0x5d8d('0x7')](({id:_0x23a3ab,type:_0x7bd64a,author:_0x4d6fb4,created_at:_0xa06ed0})=>{const _0x465932={'id':_0x23a3ab,'type':_0x7bd64a,'authorId':this['editor'][_0x5d8d('0xa')][_0x5d8d('0x12')]('Users')['me']['id'],'createdAt':new Date(),'data':null,'hasComments':!0x1,'attributes':{'@external':{'authorName':_0x4d6fb4,'createdAt':_0xa06ed0?new Date(_0xa06ed0):new Date(),'source':_0x5d8d('0xe')}}};this[_0x5d8d('0x2')][_0x5d8d('0xa')][_0x5d8d('0x12')]('TrackChangesEditing')[_0x5d8d('0xf')](_0x465932);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4dc2=['outdent','has','get','commandName','_descriptionFactory','filter','*Outdent:*\x20%0','plugins','indentBlock','change','afterInit','document','blockIndent','registerDescriptionCallback','enableCommand','format','indent','locale','TrackChangesEditing','outdentBlock','markBlockFormat','getItemLabel','*Indent:*\x20%0','editor','from','model','getItems'];(function(_0x2e912a,_0x4dc226){const _0x8f254f=function(_0x111a6b){while(--_0x111a6b){_0x2e912a['push'](_0x2e912a['shift']());}};_0x8f254f(++_0x4dc226);}(_0x4dc2,0x127));const _0x8f25=function(_0x2e912a,_0x4dc226){_0x2e912a=_0x2e912a-0x0;let _0x8f254f=_0x4dc2[_0x2e912a];return _0x8f254f;};import{Plugin as _0x3723fb}from'ckeditor5/src/core';import{getTranslation as _0x13e383}from'../utils/common-translations';export default class it extends _0x3723fb{[_0x8f25('0xc')](){const _0x3ceb4c=this[_0x8f25('0x19')],_0x5af2cd=_0x3ceb4c[_0x8f25('0x9')][_0x8f25('0x4')](_0x8f25('0x14'));_0x3ceb4c[_0x8f25('0x9')][_0x8f25('0x3')]('IndentEditing')&&(_0x5af2cd[_0x8f25('0x10')](_0x8f25('0x12')),_0x5af2cd['enableCommand'](_0x8f25('0x2')));const _0x2ad7ad=_0x3ceb4c[_0x8f25('0x13')];if(_0x3ceb4c['plugins'][_0x8f25('0x3')]('IndentBlock')){for(const _0x3b9bf6 of[_0x8f25('0xa'),'outdentBlock'])_0x5af2cd[_0x8f25('0x10')](_0x3b9bf6,()=>{const _0xb22d64=Array[_0x8f25('0x1a')](this[_0x8f25('0x19')]['model'][_0x8f25('0xd')]['selection']['getSelectedBlocks']())[_0x8f25('0x7')](_0x3aa60b=>this[_0x8f25('0x19')][_0x8f25('0x0')]['schema']['checkAttribute'](_0x3aa60b,_0x8f25('0xe')));_0x3ceb4c[_0x8f25('0x0')][_0x8f25('0xb')](()=>{for(const _0x32940a of _0xb22d64)_0x5af2cd[_0x8f25('0x16')](_0x32940a,{'commandName':_0x3b9bf6,'commandParams':[{'value':''}],'formatGroupId':_0x8f25('0xa')});});});_0x5af2cd[_0x8f25('0x6')][_0x8f25('0xf')](_0x39cc6a=>{const {data:_0x2587c9}=_0x39cc6a;if(!_0x2587c9)return;if(_0x8f25('0xa')!=_0x2587c9[_0x8f25('0x5')]&&_0x8f25('0x15')!=_0x2587c9[_0x8f25('0x5')])return;const _0x453584=_0x39cc6a[_0x8f25('0x1')]()[0x0],_0x4abaa6=_0x5af2cd['_descriptionFactory'][_0x8f25('0x17')](_0x453584);return'indentBlock'==_0x2587c9['commandName']?{'type':_0x8f25('0x11'),'content':_0x13e383(_0x2ad7ad,_0x8f25('0x18'),_0x4abaa6)}:_0x8f25('0x15')==_0x2587c9[_0x8f25('0x5')]?{'type':_0x8f25('0x11'),'content':_0x13e383(_0x2ad7ad,_0x8f25('0x8'),_0x4abaa6)}:void 0x0;});}}}
23
+ const _0x24ef=['enableCommand','TrackChangesEditing','editor','model','commandName','change','has','indent','format','indentBlock','schema','_descriptionFactory','plugins','afterInit','locale','document','outdent','markBlockFormat','IndentEditing','checkAttribute','getItems','from','getSelectedBlocks','outdentBlock','blockIndent','registerDescriptionCallback','selection','*Outdent:*\x20%0','*Indent:*\x20%0','get'];(function(_0x3e797e,_0x24efa3){const _0x37c718=function(_0x445795){while(--_0x445795){_0x3e797e['push'](_0x3e797e['shift']());}};_0x37c718(++_0x24efa3);}(_0x24ef,0x16a));const _0x37c7=function(_0x3e797e,_0x24efa3){_0x3e797e=_0x3e797e-0x0;let _0x37c718=_0x24ef[_0x3e797e];return _0x37c718;};import{Plugin as _0xf8a224}from'ckeditor5/src/core';import{getTranslation as _0x5e6452}from'../utils/common-translations';export default class it extends _0xf8a224{[_0x37c7('0xb')](){const _0x1a6974=this[_0x37c7('0x0')],_0x1a5cd3=_0x1a6974[_0x37c7('0xa')][_0x37c7('0x1b')](_0x37c7('0x1d'));_0x1a6974[_0x37c7('0xa')][_0x37c7('0x4')](_0x37c7('0x10'))&&(_0x1a5cd3['enableCommand'](_0x37c7('0x5')),_0x1a5cd3['enableCommand'](_0x37c7('0xe')));const _0x4bfdcc=_0x1a6974[_0x37c7('0xc')];if(_0x1a6974[_0x37c7('0xa')][_0x37c7('0x4')]('IndentBlock')){for(const _0x51224a of[_0x37c7('0x7'),_0x37c7('0x15')])_0x1a5cd3[_0x37c7('0x1c')](_0x51224a,()=>{const _0x2b3dff=Array[_0x37c7('0x13')](this[_0x37c7('0x0')][_0x37c7('0x1')][_0x37c7('0xd')][_0x37c7('0x18')][_0x37c7('0x14')]())['filter'](_0x389ceb=>this[_0x37c7('0x0')]['model'][_0x37c7('0x8')][_0x37c7('0x11')](_0x389ceb,_0x37c7('0x16')));_0x1a6974[_0x37c7('0x1')][_0x37c7('0x3')](()=>{for(const _0x710efd of _0x2b3dff)_0x1a5cd3[_0x37c7('0xf')](_0x710efd,{'commandName':_0x51224a,'commandParams':[{'value':''}],'formatGroupId':'indentBlock'});});});_0x1a5cd3['_descriptionFactory'][_0x37c7('0x17')](_0x2a69f2=>{const {data:_0x4deed4}=_0x2a69f2;if(!_0x4deed4)return;if(_0x37c7('0x7')!=_0x4deed4[_0x37c7('0x2')]&&_0x37c7('0x15')!=_0x4deed4[_0x37c7('0x2')])return;const _0x15d62b=_0x2a69f2[_0x37c7('0x12')]()[0x0],_0x4bd361=_0x1a5cd3[_0x37c7('0x9')]['getItemLabel'](_0x15d62b);return _0x37c7('0x7')==_0x4deed4[_0x37c7('0x2')]?{'type':_0x37c7('0x6'),'content':_0x5e6452(_0x4bfdcc,_0x37c7('0x1a'),_0x4bd361)}:_0x37c7('0x15')==_0x4deed4[_0x37c7('0x2')]?{'type':_0x37c7('0x6'),'content':_0x5e6452(_0x4bfdcc,_0x37c7('0x19'),_0x4bd361)}:void 0x0;});}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x3f0d=['TrackChangesEditing','requires','enableCommand','get','plugins','init','editor'];(function(_0x59f4ea,_0x3f0d8e){var _0x2efbf1=function(_0x287dbd){while(--_0x287dbd){_0x59f4ea['push'](_0x59f4ea['shift']());}};_0x2efbf1(++_0x3f0d8e);}(_0x3f0d,0x1de));var _0x2efb=function(_0x59f4ea,_0x3f0d8e){_0x59f4ea=_0x59f4ea-0x0;var _0x2efbf1=_0x3f0d[_0x59f4ea];return _0x2efbf1;};import{Plugin as _0x29659d}from'ckeditor5/src/core';import{Input as _0x365d61}from'ckeditor5/src/typing';export default class et extends _0x29659d{static get[_0x2efb('0x6')](){return[_0x365d61];}[_0x2efb('0x3')](){this[_0x2efb('0x4')][_0x2efb('0x2')][_0x2efb('0x1')](_0x2efb('0x5'))[_0x2efb('0x0')]('input');}}
23
+ var _0x300c=['plugins','enableCommand','requires','TrackChangesEditing','input'];(function(_0x3af562,_0x300cec){var _0x53c5f4=function(_0x364ea3){while(--_0x364ea3){_0x3af562['push'](_0x3af562['shift']());}};_0x53c5f4(++_0x300cec);}(_0x300c,0x15b));var _0x53c5=function(_0x3af562,_0x300cec){_0x3af562=_0x3af562-0x0;var _0x53c5f4=_0x300c[_0x3af562];return _0x53c5f4;};import{Plugin as _0x367273}from'ckeditor5/src/core';import{Input as _0x33d81e}from'ckeditor5/src/typing';export default class et extends _0x367273{static get[_0x53c5('0x0')](){return[_0x33d81e];}['init'](){this['editor'][_0x53c5('0x3')]['get'](_0x53c5('0x1'))[_0x53c5('0x4')](_0x53c5('0x2'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2fc8=['afterInit','editor','*Set\x20link:*\x20%0','LinkEditing','link','_descriptionFactory','format','model','locale','change','getRanges','markInlineFormat','registerDescriptionCallback','from','document','plugins','linkHref','getFirstRange','has','getAttribute','enableCommand','commandName','commandParams','get','TrackChangesEditing','selection','*Remove\x20link*','unlink','getFirstPosition'];(function(_0x593721,_0x2fc8bd){const _0x5ac997=function(_0x3433a4){while(--_0x3433a4){_0x593721['push'](_0x593721['shift']());}};_0x5ac997(++_0x2fc8bd);}(_0x2fc8,0x1db));const _0x5ac9=function(_0x593721,_0x2fc8bd){_0x593721=_0x593721-0x0;let _0x5ac997=_0x2fc8[_0x593721];return _0x5ac997;};import{Plugin as _0x1d2ac1}from'ckeditor5/src/core';import{findAttributeRange as _0x533fb9}from'ckeditor5/src/typing';import{getRangesWithAttribute as _0x33307d}from'./utils';import{getTranslation as _0x43e47a}from'../utils/common-translations';export default class nt extends _0x1d2ac1{[_0x5ac9('0x12')](){const _0x2c64ba=this[_0x5ac9('0x13')];if(!_0x2c64ba[_0x5ac9('0x4')][_0x5ac9('0x7')](_0x5ac9('0x15')))return;const _0x112e3b=_0x2c64ba[_0x5ac9('0x4')][_0x5ac9('0xc')](_0x5ac9('0xd'));_0x112e3b[_0x5ac9('0x9')]('link',(_0x5ceba5,_0x2c555e)=>{const _0x13976c=_0x2c64ba[_0x5ac9('0x19')][_0x5ac9('0x3')][_0x5ac9('0xe')];let _0x333ce6=[];if(_0x13976c['isCollapsed']){if(!_0x13976c['hasAttribute'](_0x5ac9('0x5')))return void _0x5ceba5(_0x2c555e);{const _0x37d1c3=_0x533fb9(_0x13976c[_0x5ac9('0x11')](),_0x5ac9('0x5'),_0x13976c[_0x5ac9('0x8')](_0x5ac9('0x5')),_0x2c64ba[_0x5ac9('0x19')]);_0x333ce6=[_0x37d1c3];}}else _0x333ce6=Array[_0x5ac9('0x2')](_0x13976c[_0x5ac9('0x1c')]());_0x2c64ba[_0x5ac9('0x19')][_0x5ac9('0x1b')](()=>{for(const _0x105e77 of _0x333ce6)_0x112e3b[_0x5ac9('0x0')](_0x105e77,{'commandName':_0x5ac9('0x16'),'commandParams':[_0x2c555e]});});}),_0x112e3b[_0x5ac9('0x9')](_0x5ac9('0x10'),()=>{const _0xcfe6db=this[_0x5ac9('0x13')][_0x5ac9('0x19')],_0x43a138=_0xcfe6db[_0x5ac9('0x3')][_0x5ac9('0xe')];_0xcfe6db['change'](()=>{let _0x5ababd=[];if(_0x43a138['isCollapsed'])_0x5ababd=[_0x533fb9(_0x43a138['getFirstPosition'](),'linkHref',_0x43a138[_0x5ac9('0x8')](_0x5ac9('0x5')),_0x2c64ba[_0x5ac9('0x19')])];else _0x5ababd=_0x33307d(_0x5ac9('0x5'),_0x43a138[_0x5ac9('0x6')](),_0x2c64ba[_0x5ac9('0x19')]);for(const _0x2ca37f of _0x5ababd)_0x112e3b[_0x5ac9('0x0')](_0x2ca37f,{'commandName':_0x5ac9('0x10'),'commandParams':[]});});}),_0x112e3b[_0x5ac9('0x17')][_0x5ac9('0x1')](_0x8fcf2f=>{const {data:_0x361619}=_0x8fcf2f,_0x14c13a=_0x2c64ba[_0x5ac9('0x1a')];if(_0x361619){if(_0x5ac9('0x16')==_0x361619[_0x5ac9('0xa')]){const _0x2cdf3=_0x361619[_0x5ac9('0xb')][0x0];return{'type':_0x5ac9('0x18'),'content':_0x43e47a(_0x14c13a,_0x5ac9('0x14'),'\x22'+_0x2cdf3+'\x22')};}return _0x5ac9('0x10')==_0x361619[_0x5ac9('0xa')]?{'type':_0x5ac9('0x18'),'content':_0x43e47a(_0x14c13a,_0x5ac9('0xf'))}:void 0x0;}});}}
23
+ const _0x5d2b=['hasAttribute','format','document','commandParams','locale','from','editor','afterInit','getFirstPosition','getAttribute','has','isCollapsed','commandName','model','unlink','registerDescriptionCallback','enableCommand','plugins','_descriptionFactory','LinkEditing','change','get','linkHref','TrackChangesEditing','*Remove\x20link*','getFirstRange','markInlineFormat','*Set\x20link:*\x20%0','link'];(function(_0x169330,_0x5d2b68){const _0x2213a6=function(_0x37322e){while(--_0x37322e){_0x169330['push'](_0x169330['shift']());}};_0x2213a6(++_0x5d2b68);}(_0x5d2b,0xc2));const _0x2213=function(_0x169330,_0x5d2b68){_0x169330=_0x169330-0x0;let _0x2213a6=_0x5d2b[_0x169330];return _0x2213a6;};import{Plugin as _0x505b20}from'ckeditor5/src/core';import{findAttributeRange as _0x975f48}from'ckeditor5/src/typing';import{getRangesWithAttribute as _0x551be2}from'./utils';import{getTranslation as _0x26f05b}from'../utils/common-translations';export default class nt extends _0x505b20{[_0x2213('0x10')](){const _0x15ec7b=this['editor'];if(!_0x15ec7b[_0x2213('0x1a')][_0x2213('0x13')](_0x2213('0x1c')))return;const _0x32cdd4=_0x15ec7b[_0x2213('0x1a')][_0x2213('0x1')](_0x2213('0x3'));_0x32cdd4[_0x2213('0x19')](_0x2213('0x8'),(_0xb8a865,_0x197f13)=>{const _0x40a4ee=_0x15ec7b[_0x2213('0x16')]['document']['selection'];let _0x1d68b6=[];if(_0x40a4ee[_0x2213('0x14')]){if(!_0x40a4ee[_0x2213('0x9')]('linkHref'))return void _0xb8a865(_0x197f13);{const _0x5ddd91=_0x975f48(_0x40a4ee['getFirstPosition'](),_0x2213('0x2'),_0x40a4ee[_0x2213('0x12')](_0x2213('0x2')),_0x15ec7b['model']);_0x1d68b6=[_0x5ddd91];}}else _0x1d68b6=Array[_0x2213('0xe')](_0x40a4ee['getRanges']());_0x15ec7b[_0x2213('0x16')][_0x2213('0x0')](()=>{for(const _0xa73a77 of _0x1d68b6)_0x32cdd4[_0x2213('0x6')](_0xa73a77,{'commandName':_0x2213('0x8'),'commandParams':[_0x197f13]});});}),_0x32cdd4[_0x2213('0x19')](_0x2213('0x17'),()=>{const _0x47a266=this[_0x2213('0xf')]['model'],_0x23056f=_0x47a266[_0x2213('0xb')]['selection'];_0x47a266['change'](()=>{let _0x1f0bd7=[];if(_0x23056f[_0x2213('0x14')])_0x1f0bd7=[_0x975f48(_0x23056f[_0x2213('0x11')](),_0x2213('0x2'),_0x23056f[_0x2213('0x12')](_0x2213('0x2')),_0x15ec7b[_0x2213('0x16')])];else _0x1f0bd7=_0x551be2(_0x2213('0x2'),_0x23056f[_0x2213('0x5')](),_0x15ec7b[_0x2213('0x16')]);for(const _0x3df56c of _0x1f0bd7)_0x32cdd4[_0x2213('0x6')](_0x3df56c,{'commandName':_0x2213('0x17'),'commandParams':[]});});}),_0x32cdd4[_0x2213('0x1b')][_0x2213('0x18')](_0x1132c0=>{const {data:_0x16ef28}=_0x1132c0,_0x197c21=_0x15ec7b[_0x2213('0xd')];if(_0x16ef28){if(_0x2213('0x8')==_0x16ef28[_0x2213('0x15')]){const _0x5cbefb=_0x16ef28[_0x2213('0xc')][0x0];return{'type':_0x2213('0xa'),'content':_0x26f05b(_0x197c21,_0x2213('0x7'),'\x22'+_0x5cbefb+'\x22')};}return _0x2213('0x17')==_0x16ef28[_0x2213('0x15')]?{'type':'format','content':_0x26f05b(_0x197c21,_0x2213('0x4'))}:void 0x0;}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xb8f4=['paragraph','execute','todoListChecked','registerDescriptionCallback','_descriptionFactory','element','TodoListEditing','findIndex','afterInit','nextSibling','numberedList','name','model','parent','ELEMENT_TODO_LIST','List','get','filter','TrackChangesEditing','commands','change','getAttribute','commandParams','*Change\x20to:*\x20%0','markBlockFormat','slice','bulletedList','todo','listItem','bulleted','add','*Indent:*\x20%0','length','listIndent','locale','document','getSelectedBlocks','selection','push','_selectedElements','editor','before','replace','ELEMENT_LIST_ITEM','outdentList','ListEditing','end','checkChild','checkTodoList','createRange','createPositionAt','previousSibling','has','todoList','*Outdent:*\x20%0','plugins','enableCommand','commandName','value','format','from'];(function(_0x10b0ba,_0xb8f4ce){const _0x19d3bf=function(_0x483697){while(--_0x483697){_0x10b0ba['push'](_0x10b0ba['shift']());}};_0x19d3bf(++_0xb8f4ce);}(_0xb8f4,0x68));const _0x19d3=function(_0x10b0ba,_0xb8f4ce){_0x10b0ba=_0x10b0ba-0x0;let _0x19d3bf=_0xb8f4[_0x10b0ba];return _0x19d3bf;};import{Plugin as _0x5cff73}from'ckeditor5/src/core';import{getTranslation as _0x1b9d2c}from'../utils/common-translations';export default class st extends _0x5cff73{[_0x19d3('0x1a')](){const _0x15261f=this[_0x19d3('0x3a')],_0xc3de9b=_0x15261f[_0x19d3('0x34')];if(!_0x15261f[_0x19d3('0xc')]['has'](_0x19d3('0x2')))return;const _0x59dc04=_0x15261f[_0x19d3('0xc')]['get'](_0x19d3('0x24')),_0xcd8c78=_0x15261f['plugins'][_0x19d3('0x9')](_0x19d3('0x18'));function _0x5ebcfd(_0x2f5b1e){return()=>{const _0x13d96e=_0x15261f[_0x19d3('0x1e')][_0x19d3('0x35')][_0x19d3('0x37')],_0x4999cd=_0x15261f[_0x19d3('0x25')][_0x19d3('0x22')](_0x2f5b1e);if(_0x4999cd[_0x19d3('0xf')])return void _0x15261f[_0x19d3('0x13')](_0x19d3('0x12'),{});const _0x180cf5=_0x2f5b1e[_0x19d3('0x2b')](0x0,-0x4),_0x4868eb=function(_0x1e7349,_0x23afbc,_0x3c79d2){let _0x4fcc81=Array[_0x19d3('0x11')](_0x1e7349)['filter'](_0x84fcfc=>function(_0xa3e9e,_0x4e5003){return _0x4e5003[_0x19d3('0x4')](_0xa3e9e[_0x19d3('0x1f')],_0x19d3('0x2e'))&&!_0x4e5003['isObject'](_0xa3e9e);}(_0x84fcfc,_0x3c79d2));_0x4fcc81=_0x4fcc81[_0x19d3('0x23')](_0x5003f9=>!_0x5003f9['is'](_0x19d3('0x17'),_0x19d3('0x2e'))||_0x5003f9['getAttribute']('listType')!=_0x23afbc);const _0x2e85ae=new Set();for(const _0x1023d2 of _0x4fcc81)_0x1023d2['is'](_0x19d3('0x17'),_0x19d3('0x2e'))?_0x2e85ae['add'](ne(_0x1023d2)):_0x2e85ae[_0x19d3('0x30')](_0x1023d2);return Array[_0x19d3('0x11')](_0x2e85ae);}(_0x13d96e[_0x19d3('0x36')](),_0x180cf5,_0x15261f['model']['schema']);_0x15261f[_0x19d3('0x1e')][_0x19d3('0x26')](()=>{for(const _0x4c6318 of _0x4868eb)_0x59dc04[_0x19d3('0x2a')](_0x4c6318,{'commandName':_0x2f5b1e,'commandParams':[{'forceValue':!_0x4999cd[_0x19d3('0xf')]}],'formatGroupId':'blockName'},oe(_0x4c6318));});};}function _0x4852f5(_0x4cddf5){return()=>{const _0x1cf067=function(_0x6f2a31){let _0x1bbac8=Array[_0x19d3('0x11')](_0x6f2a31);const _0x1f8298=_0x1bbac8[_0x19d3('0x19')](_0x34ab75=>_0x19d3('0x2e')!=_0x34ab75[_0x19d3('0x1d')]);return _0x1f8298>-0x1&&(_0x1bbac8=_0x1bbac8[_0x19d3('0x2b')](0x0,_0x1f8298)),_0x1bbac8;}(_0x15261f[_0x19d3('0x1e')][_0x19d3('0x35')][_0x19d3('0x37')][_0x19d3('0x36')]()),_0x2d9be0=_0x15261f[_0x19d3('0x1e')][_0x19d3('0x6')](_0x15261f[_0x19d3('0x1e')][_0x19d3('0x7')](_0x1cf067[0x0],_0x19d3('0x3b')),_0x15261f['model']['createPositionAt'](_0x1cf067[_0x1cf067[_0x19d3('0x32')]-0x1],_0x19d3('0x3')));_0x15261f['model'][_0x19d3('0x26')](()=>{_0x59dc04[_0x19d3('0x2a')](_0x2d9be0,{'commandName':_0x4cddf5,'commandParams':[],'formatGroupId':_0x19d3('0x33')},function(_0x2d3728){const _0x35d93e=new Set();for(const _0xcc380b of _0x2d3728){let _0x1bb76b=_0xcc380b['nextSibling'];for(;_0x1bb76b&&_0x1bb76b[_0x19d3('0x27')]('listIndent')>_0xcc380b[_0x19d3('0x27')]('listIndent');)_0x35d93e['add'](_0x1bb76b),_0x1bb76b=_0x1bb76b[_0x19d3('0x1b')];}return Array[_0x19d3('0x11')](_0x35d93e);}(_0x1cf067));});};}_0x59dc04[_0x19d3('0xd')](_0x19d3('0x1c'),_0x5ebcfd(_0x19d3('0x1c'))),_0x59dc04[_0x19d3('0xd')](_0x19d3('0x2c'),_0x5ebcfd(_0x19d3('0x2c'))),_0xcd8c78&&_0x59dc04[_0x19d3('0xd')]('todoList',_0x5ebcfd(_0x19d3('0xa'))),_0x59dc04['enableCommand']('indentList',_0x4852f5('indentList')),_0x59dc04[_0x19d3('0xd')](_0x19d3('0x1'),_0x4852f5('outdentList')),_0xcd8c78&&_0x59dc04[_0x19d3('0xd')]('checkTodoList',()=>{const _0xf77391=_0x15261f[_0x19d3('0x25')][_0x19d3('0x22')](_0x19d3('0x5')),_0xd45aac=Array[_0x19d3('0x11')](_0xf77391[_0x19d3('0x39')]);_0xd45aac['filter'](_0x257a81=>_0x257a81['getAttribute'](_0x19d3('0x14'))!=_0xf77391[_0x19d3('0xf')]),_0x15261f['model'][_0x19d3('0x26')](()=>{for(const _0x46e7bc of _0xd45aac)_0x59dc04['markBlockFormat'](_0x46e7bc,{'commandName':'checkTodoList','commandParams':[{'forceValue':!_0xf77391['value']}]});});}),_0x59dc04[_0x19d3('0x16')]['registerElementLabel'](_0x19d3('0x2e'),_0x593c9f=>_0x1b9d2c(_0xc3de9b,'ELEMENT_LIST_ITEM',_0x593c9f)),_0x59dc04[_0x19d3('0x16')][_0x19d3('0x15')](_0x2ad35d=>{const {data:_0x3d3214}=_0x2ad35d;if(_0x3d3214){if(_0x19d3('0x1c')==_0x3d3214[_0x19d3('0xe')]||_0x19d3('0x2c')==_0x3d3214[_0x19d3('0xe')]||_0x19d3('0xa')==_0x3d3214[_0x19d3('0xe')])switch(_0x3d3214['commandName'][_0x19d3('0x3c')](_0x19d3('0x21'),'')){case _0x19d3('0x2f'):return _0x2ac95c(_0x1b9d2c(_0xc3de9b,'ELEMENT_BULLETED_LIST'));case'numbered':return _0x2ac95c(_0x1b9d2c(_0xc3de9b,'ELEMENT_NUMBERED_LIST'));case _0x19d3('0x2d'):return _0x2ac95c(_0x1b9d2c(_0xc3de9b,_0x19d3('0x20')));}if('indentList'==_0x3d3214['commandName'])return{'type':_0x19d3('0x10'),'content':_0x1b9d2c(_0xc3de9b,_0x19d3('0x31'),_0x1b9d2c(_0xc3de9b,'ELEMENT_LIST_ITEM'))};if(_0x19d3('0x1')==_0x3d3214['commandName'])return{'type':_0x19d3('0x10'),'content':_0x1b9d2c(_0xc3de9b,_0x19d3('0xb'),_0x1b9d2c(_0xc3de9b,_0x19d3('0x0')))};if('checkTodoList'==_0x3d3214[_0x19d3('0xe')])return _0x3d3214[_0x19d3('0x28')][0x0]['forceValue']?{'type':_0x19d3('0x10'),'content':_0x1b9d2c(_0xc3de9b,'*Check\x20item*')}:{'type':_0x19d3('0x10'),'content':_0x1b9d2c(_0xc3de9b,'*Uncheck\x20item*')};}function _0x2ac95c(_0x1993b4){return{'type':'format','content':_0x1b9d2c(_0xc3de9b,_0x19d3('0x29'),_0x1993b4)};}});}}function ne(_0x15bc11){const _0x2e3a7b=_0x15bc11[_0x19d3('0x27')](_0x19d3('0x33'));if(0x0==_0x2e3a7b)return _0x15bc11;let _0x20de3f=_0x15bc11;for(;_0x15bc11[_0x19d3('0x8')]&&_0x15bc11[_0x19d3('0x8')]['is'](_0x19d3('0x17'),_0x19d3('0x2e'));){const _0x48d553=_0x15bc11[_0x19d3('0x8')][_0x19d3('0x27')](_0x19d3('0x33'));if(_0x48d553==_0x2e3a7b)_0x20de3f=_0x15bc11['previousSibling'];else{if(_0x48d553<_0x2e3a7b)break;}_0x15bc11=_0x15bc11[_0x19d3('0x8')];}return _0x20de3f;}function oe(_0x19aadc){const _0x1c6c17=[];if(_0x19aadc['is']('element',_0x19d3('0x2e'))&&_0x19aadc[_0x19d3('0x27')](_0x19d3('0x33'))>0x0){let _0x318461=_0x19aadc[_0x19d3('0x1b')];for(;_0x318461&&_0x19d3('0x2e')==_0x318461['name']&&_0x318461[_0x19d3('0x27')](_0x19d3('0x33'))==_0x19aadc[_0x19d3('0x27')](_0x19d3('0x33'));)_0x1c6c17[_0x19d3('0x38')](_0x318461),_0x318461=_0x318461[_0x19d3('0x1b')];}return _0x1c6c17;}
23
+ const _0x332a=['todoList','registerElementLabel','before','replace','name','paragraph','commandParams','nextSibling','checkChild','element','ListEditing','getAttribute','ELEMENT_LIST_ITEM','get','end','List','from','listType','listIndent','TodoListEditing','createPositionAt','add','selection','bulleted','has','checkTodoList','numbered','commandName','*Uncheck\x20item*','registerDescriptionCallback','listItem','previousSibling','*Indent:*\x20%0','document','_descriptionFactory','markBlockFormat','format','change','enableCommand','commands','execute','indentList','value','todo','ELEMENT_BULLETED_LIST','*Check\x20item*','slice','parent','getSelectedBlocks','numberedList','createRange','_selectedElements','model','editor','plugins','filter','TrackChangesEditing','forceValue','bulletedList'];(function(_0x5900d0,_0x332a91){const _0xad15de=function(_0x39a0b8){while(--_0x39a0b8){_0x5900d0['push'](_0x5900d0['shift']());}};_0xad15de(++_0x332a91);}(_0x332a,0x1da));const _0xad15=function(_0x5900d0,_0x332a91){_0x5900d0=_0x5900d0-0x0;let _0xad15de=_0x332a[_0x5900d0];return _0xad15de;};import{Plugin as _0x20a792}from'ckeditor5/src/core';import{getTranslation as _0x3c4a78}from'../utils/common-translations';export default class st extends _0x20a792{['afterInit'](){const _0x43f897=this[_0xad15('0x33')],_0x4b338f=_0x43f897['locale'];if(!_0x43f897[_0xad15('0x34')][_0xad15('0x16')](_0xad15('0x8')))return;const _0x1b2342=_0x43f897[_0xad15('0x34')][_0xad15('0xb')](_0xad15('0x36')),_0x2cb3c6=_0x43f897[_0xad15('0x34')]['has'](_0xad15('0x11'));function _0x214afb(_0x4d1c6d){return()=>{const _0x111dee=_0x43f897[_0xad15('0x32')][_0xad15('0x1f')][_0xad15('0x14')],_0x55d7df=_0x43f897[_0xad15('0x25')]['get'](_0x4d1c6d);if(_0x55d7df[_0xad15('0x28')])return void _0x43f897[_0xad15('0x26')](_0xad15('0x3'),{});const _0x322b1b=_0x4d1c6d[_0xad15('0x2c')](0x0,-0x4),_0x24883d=function(_0x3d53b5,_0x14dc93,_0x1eedac){let _0x1e6079=Array[_0xad15('0xe')](_0x3d53b5)['filter'](_0x3ab35c=>function(_0x53643f,_0x2c9283){return _0x2c9283[_0xad15('0x6')](_0x53643f[_0xad15('0x2d')],'listItem')&&!_0x2c9283['isObject'](_0x53643f);}(_0x3ab35c,_0x1eedac));_0x1e6079=_0x1e6079[_0xad15('0x35')](_0x55fef8=>!_0x55fef8['is'](_0xad15('0x7'),_0xad15('0x1c'))||_0x55fef8['getAttribute'](_0xad15('0xf'))!=_0x14dc93);const _0x22b25d=new Set();for(const _0x2a2a18 of _0x1e6079)_0x2a2a18['is'](_0xad15('0x7'),_0xad15('0x1c'))?_0x22b25d[_0xad15('0x13')](ne(_0x2a2a18)):_0x22b25d[_0xad15('0x13')](_0x2a2a18);return Array[_0xad15('0xe')](_0x22b25d);}(_0x111dee[_0xad15('0x2e')](),_0x322b1b,_0x43f897[_0xad15('0x32')]['schema']);_0x43f897[_0xad15('0x32')]['change'](()=>{for(const _0xfc487c of _0x24883d)_0x1b2342[_0xad15('0x21')](_0xfc487c,{'commandName':_0x4d1c6d,'commandParams':[{'forceValue':!_0x55d7df[_0xad15('0x28')]}],'formatGroupId':'blockName'},oe(_0xfc487c));});};}function _0x2d8bbb(_0x5e6340){return()=>{const _0x5c8a61=function(_0x1f8720){let _0xc50834=Array[_0xad15('0xe')](_0x1f8720);const _0x30e839=_0xc50834['findIndex'](_0x142f3d=>_0xad15('0x1c')!=_0x142f3d['name']);return _0x30e839>-0x1&&(_0xc50834=_0xc50834[_0xad15('0x2c')](0x0,_0x30e839)),_0xc50834;}(_0x43f897[_0xad15('0x32')]['document'][_0xad15('0x14')][_0xad15('0x2e')]()),_0x44cf89=_0x43f897['model'][_0xad15('0x30')](_0x43f897[_0xad15('0x32')][_0xad15('0x12')](_0x5c8a61[0x0],_0xad15('0x0')),_0x43f897[_0xad15('0x32')][_0xad15('0x12')](_0x5c8a61[_0x5c8a61['length']-0x1],_0xad15('0xc')));_0x43f897[_0xad15('0x32')][_0xad15('0x23')](()=>{_0x1b2342['markBlockFormat'](_0x44cf89,{'commandName':_0x5e6340,'commandParams':[],'formatGroupId':_0xad15('0x10')},function(_0x551c9d){const _0x3cea26=new Set();for(const _0x169eff of _0x551c9d){let _0x137e0c=_0x169eff['nextSibling'];for(;_0x137e0c&&_0x137e0c[_0xad15('0x9')]('listIndent')>_0x169eff[_0xad15('0x9')]('listIndent');)_0x3cea26[_0xad15('0x13')](_0x137e0c),_0x137e0c=_0x137e0c[_0xad15('0x5')];}return Array[_0xad15('0xe')](_0x3cea26);}(_0x5c8a61));});};}_0x1b2342[_0xad15('0x24')](_0xad15('0x2f'),_0x214afb(_0xad15('0x2f'))),_0x1b2342[_0xad15('0x24')](_0xad15('0x38'),_0x214afb(_0xad15('0x38'))),_0x2cb3c6&&_0x1b2342[_0xad15('0x24')]('todoList',_0x214afb(_0xad15('0x39'))),_0x1b2342[_0xad15('0x24')](_0xad15('0x27'),_0x2d8bbb(_0xad15('0x27'))),_0x1b2342[_0xad15('0x24')]('outdentList',_0x2d8bbb('outdentList')),_0x2cb3c6&&_0x1b2342[_0xad15('0x24')]('checkTodoList',()=>{const _0x4f0704=_0x43f897['commands'][_0xad15('0xb')]('checkTodoList'),_0x3eb81c=Array['from'](_0x4f0704[_0xad15('0x31')]);_0x3eb81c[_0xad15('0x35')](_0x492691=>_0x492691['getAttribute']('todoListChecked')!=_0x4f0704['value']),_0x43f897[_0xad15('0x32')][_0xad15('0x23')](()=>{for(const _0x265cf0 of _0x3eb81c)_0x1b2342['markBlockFormat'](_0x265cf0,{'commandName':_0xad15('0x17'),'commandParams':[{'forceValue':!_0x4f0704['value']}]});});}),_0x1b2342[_0xad15('0x20')][_0xad15('0x3a')](_0xad15('0x1c'),_0x363e9e=>_0x3c4a78(_0x4b338f,_0xad15('0xa'),_0x363e9e)),_0x1b2342[_0xad15('0x20')][_0xad15('0x1b')](_0x3a55ee=>{const {data:_0x10fd7b}=_0x3a55ee;if(_0x10fd7b){if('numberedList'==_0x10fd7b[_0xad15('0x19')]||_0xad15('0x38')==_0x10fd7b[_0xad15('0x19')]||_0xad15('0x39')==_0x10fd7b[_0xad15('0x19')])switch(_0x10fd7b[_0xad15('0x19')][_0xad15('0x1')](_0xad15('0xd'),'')){case _0xad15('0x15'):return _0x37bdcc(_0x3c4a78(_0x4b338f,_0xad15('0x2a')));case _0xad15('0x18'):return _0x37bdcc(_0x3c4a78(_0x4b338f,'ELEMENT_NUMBERED_LIST'));case _0xad15('0x29'):return _0x37bdcc(_0x3c4a78(_0x4b338f,'ELEMENT_TODO_LIST'));}if('indentList'==_0x10fd7b['commandName'])return{'type':_0xad15('0x22'),'content':_0x3c4a78(_0x4b338f,_0xad15('0x1e'),_0x3c4a78(_0x4b338f,_0xad15('0xa')))};if('outdentList'==_0x10fd7b['commandName'])return{'type':_0xad15('0x22'),'content':_0x3c4a78(_0x4b338f,'*Outdent:*\x20%0',_0x3c4a78(_0x4b338f,_0xad15('0xa')))};if('checkTodoList'==_0x10fd7b['commandName'])return _0x10fd7b[_0xad15('0x4')][0x0][_0xad15('0x37')]?{'type':_0xad15('0x22'),'content':_0x3c4a78(_0x4b338f,_0xad15('0x2b'))}:{'type':'format','content':_0x3c4a78(_0x4b338f,_0xad15('0x1a'))};}function _0x37bdcc(_0x12835d){return{'type':'format','content':_0x3c4a78(_0x4b338f,'*Change\x20to:*\x20%0',_0x12835d)};}});}}function ne(_0x1b35d1){const _0xc28195=_0x1b35d1['getAttribute'](_0xad15('0x10'));if(0x0==_0xc28195)return _0x1b35d1;let _0x2717a4=_0x1b35d1;for(;_0x1b35d1['previousSibling']&&_0x1b35d1[_0xad15('0x1d')]['is'](_0xad15('0x7'),_0xad15('0x1c'));){const _0x4b0359=_0x1b35d1[_0xad15('0x1d')]['getAttribute'](_0xad15('0x10'));if(_0x4b0359==_0xc28195)_0x2717a4=_0x1b35d1[_0xad15('0x1d')];else{if(_0x4b0359<_0xc28195)break;}_0x1b35d1=_0x1b35d1[_0xad15('0x1d')];}return _0x2717a4;}function oe(_0x4d9810){const _0xb8bad1=[];if(_0x4d9810['is'](_0xad15('0x7'),_0xad15('0x1c'))&&_0x4d9810[_0xad15('0x9')](_0xad15('0x10'))>0x0){let _0x7dabcc=_0x4d9810[_0xad15('0x5')];for(;_0x7dabcc&&_0xad15('0x1c')==_0x7dabcc[_0xad15('0x2')]&&_0x7dabcc[_0xad15('0x9')]('listIndent')==_0x4d9810['getAttribute'](_0xad15('0x10'));)_0xb8bad1['push'](_0x7dabcc),_0x7dabcc=_0x7dabcc[_0xad15('0x5')];}return _0xb8bad1;}