@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20231012.0 → 0.0.0-nightly-20231013.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 _0x5291=['toLowerCase','FontSize','fontBackgroundColor','TrackChangesEditing','change','*Reset\x20font\x20size*','document','*Set\x20font\x20size:*\x20%0','model','registerDescriptionCallback','markInlineFormat','fontColor','fontFamily','*Set\x20font\x20family:*\x20%0','value','editor','FontColorEditing','*Set\x20font\x20background\x20color:*\x20%0','*Reset\x20font\x20background\x20color*','_enableCommand','format','locale','*Reset\x20font\x20family*','get','from','commandName','config','getRanges','fontColor.colors','label','isCollapsed','commandParams','title','selection','afterInit','plugins','find','fontSize'];(function(_0x2673b4,_0x529124){const _0xdb8eac=function(_0x16d9f6){while(--_0x16d9f6){_0x2673b4['push'](_0x2673b4['shift']());}};_0xdb8eac(++_0x529124);}(_0x5291,0x6e));const _0xdb8e=function(_0x2673b4,_0x529124){_0x2673b4=_0x2673b4-0x0;let _0xdb8eac=_0x5291[_0x2673b4];return _0xdb8eac;};import{Plugin as _0x3fed29}from'ckeditor5/src/core';import{normalizeColorOptions as _0x35b454}from'ckeditor5/src/ui';import{getRangesWithAttribute as _0x344a26}from'./utils';import{getTranslation as _0x5f37f3}from'../utils/common-translations';const eo=[{'pluginName':'FontSizeEditing','commandName':'fontSize'},{'pluginName':'FontFamilyEditing','commandName':_0xdb8e('0x10')},{'pluginName':_0xdb8e('0x14'),'commandName':'fontColor'},{'pluginName':'FontBackgroundColorEditing','commandName':_0xdb8e('0x6')}];export default class W extends _0x3fed29{[_0xdb8e('0x0')](){const _0x44f18e=this[_0xdb8e('0x13')][_0xdb8e('0x19')];for(const {pluginName:_0x320da2,commandName:_0x15a178}of eo)this[_0xdb8e('0x13')]['plugins']['has'](_0x320da2)&&this[_0xdb8e('0x17')](_0x15a178);this[_0xdb8e('0x13')]['plugins'][_0xdb8e('0x1b')](_0xdb8e('0x7'))['_descriptionFactory'][_0xdb8e('0xd')](_0x395416=>{const _0x18535f=_0x44f18e['t'],{data:_0x4489d3}=_0x395416;if(null!=_0x4489d3){if(_0xdb8e('0x3')==_0x4489d3[_0xdb8e('0x1d')]){const _0x5ef26d=_0x4489d3[_0xdb8e('0x23')][0x0][_0xdb8e('0x12')];if(_0x5ef26d){const _0x33a4fe=_0x18535f(this[_0xdb8e('0x13')][_0xdb8e('0x1')][_0xdb8e('0x1b')](_0xdb8e('0x5'))['normalizeSizeOptions'](this['editor'][_0xdb8e('0x1e')][_0xdb8e('0x1b')]('fontSize.options'))[_0xdb8e('0x2')](_0x5c8f32=>_0x5c8f32[_0xdb8e('0xc')]==_0x5ef26d)[_0xdb8e('0x24')])[_0xdb8e('0x4')]();return{'type':'format','content':_0x5f37f3(_0x44f18e,_0xdb8e('0xb'),_0x33a4fe)};}return{'type':_0xdb8e('0x18'),'content':_0x5f37f3(_0x44f18e,_0xdb8e('0x9'))};}if(_0xdb8e('0x10')==_0x4489d3['commandName']){const _0xeb4e02=_0x4489d3[_0xdb8e('0x23')][0x0]['value'];return _0xeb4e02?{'type':'format','content':_0x5f37f3(_0x44f18e,_0xdb8e('0x11'),_0xeb4e02)}:{'type':_0xdb8e('0x18'),'content':_0x5f37f3(_0x44f18e,_0xdb8e('0x1a'))};}if(_0xdb8e('0xf')==_0x4489d3[_0xdb8e('0x1d')]){const _0x5d94af=_0x4489d3[_0xdb8e('0x23')][0x0][_0xdb8e('0x12')];if(_0x5d94af){const _0x4e9176=_0x35b454(this[_0xdb8e('0x13')][_0xdb8e('0x1e')]['get'](_0xdb8e('0x20')))[_0xdb8e('0x2')](_0x36f035=>_0x36f035[_0xdb8e('0xc')]==_0x5d94af);let _0x55496d=_0x5d94af,_0x2044d8='';return _0x4e9176&&(_0x55496d=_0x4e9176[_0xdb8e('0x21')],_0x2044d8=_0x18535f(_0x55496d)[_0xdb8e('0x4')]()),{'type':_0xdb8e('0x18'),'content':_0x5f37f3(_0x44f18e,'*Set\x20font\x20color:*\x20%0',_0x2044d8)['trim'](),'color':{'value':_0x5d94af,'title':_0x2044d8||_0x55496d}};}return{'type':_0xdb8e('0x18'),'content':_0x5f37f3(_0x44f18e,'*Reset\x20font\x20color*')};}if(_0xdb8e('0x6')==_0x4489d3[_0xdb8e('0x1d')]){const _0x41d836=_0x4489d3[_0xdb8e('0x23')][0x0][_0xdb8e('0x12')];if(_0x41d836){const _0x4acfff=_0x35b454(this['editor']['config'][_0xdb8e('0x1b')]('fontBackgroundColor.colors'))['find'](_0x6627ac=>_0x6627ac[_0xdb8e('0xc')]==_0x41d836);let _0x3c10c4=_0x41d836,_0x210d22='';return _0x4acfff&&(_0x3c10c4=_0x4acfff[_0xdb8e('0x21')],_0x210d22=_0x18535f(_0x3c10c4)['toLowerCase']()),{'type':_0xdb8e('0x18'),'content':_0x5f37f3(_0x44f18e,_0xdb8e('0x15'),_0x210d22)['trim'](),'color':{'value':_0x41d836,'title':_0x210d22||_0x3c10c4}};}return{'type':_0xdb8e('0x18'),'content':_0x5f37f3(_0x44f18e,_0xdb8e('0x16'))};}}});}['_enableCommand'](_0x2750ea){const _0x397fe1=this[_0xdb8e('0x13')];_0x397fe1[_0xdb8e('0x1')]['get'](_0xdb8e('0x7'))['enableCommand'](_0x2750ea,(_0x5909cd,_0x1a4ff0={})=>{const _0x26b6bd=_0x397fe1[_0xdb8e('0xc')][_0xdb8e('0xa')][_0xdb8e('0x25')],_0x43a6b1=_0x1a4ff0[_0xdb8e('0x12')];_0x26b6bd[_0xdb8e('0x22')]?_0x5909cd(_0x1a4ff0):_0x397fe1[_0xdb8e('0xc')][_0xdb8e('0x8')](()=>{const _0x389202=Array[_0xdb8e('0x1c')](_0x26b6bd[_0xdb8e('0x1f')]());for(const _0x423acb of _0x389202){const _0x3c9faa=_0x43a6b1?[_0x423acb]:_0x344a26(_0x2750ea,_0x423acb,_0x397fe1['model']);for(const _0x3f53cf of _0x3c9faa)_0x397fe1[_0xdb8e('0x1')][_0xdb8e('0x1b')](_0xdb8e('0x7'))[_0xdb8e('0xe')](_0x3f53cf,{'commandName':_0x2750ea,'commandParams':[{'value':_0x43a6b1}]});}});});}}
23
+ const _0x7e70=['from','FontBackgroundColorEditing','config','trim','FontSizeEditing','plugins','title','editor','format','fontBackgroundColor.colors','label','value','*Set\x20font\x20family:*\x20%0','FontFamilyEditing','model','locale','fontColor','*Reset\x20font\x20background\x20color*','afterInit','_enableCommand','document','fontSize','find','_descriptionFactory','commandParams','commandName','get','*Set\x20font\x20background\x20color:*\x20%0','*Set\x20font\x20size:*\x20%0','*Reset\x20font\x20color*','getRanges','has','TrackChangesEditing','registerDescriptionCallback','enableCommand','normalizeSizeOptions','selection','isCollapsed','fontBackgroundColor','FontSize','fontFamily','markInlineFormat','toLowerCase'];(function(_0x124122,_0x7e70e6){const _0x16328a=function(_0x194e22){while(--_0x194e22){_0x124122['push'](_0x124122['shift']());}};_0x16328a(++_0x7e70e6);}(_0x7e70,0xb0));const _0x1632=function(_0x124122,_0x7e70e6){_0x124122=_0x124122-0x0;let _0x16328a=_0x7e70[_0x124122];return _0x16328a;};import{Plugin as _0x473656}from'ckeditor5/src/core';import{normalizeColorOptions as _0x4d750c}from'ckeditor5/src/ui';import{getRangesWithAttribute as _0x27df43}from'./utils';import{getTranslation as _0x3059e0}from'../utils/common-translations';const eo=[{'pluginName':_0x1632('0x0'),'commandName':_0x1632('0x11')},{'pluginName':_0x1632('0x9'),'commandName':'fontFamily'},{'pluginName':'FontColorEditing','commandName':_0x1632('0xc')},{'pluginName':_0x1632('0x28'),'commandName':_0x1632('0x22')}];export default class W extends _0x473656{[_0x1632('0xe')](){const _0x128feb=this[_0x1632('0x3')][_0x1632('0xb')];for(const {pluginName:_0x4fdb2f,commandName:_0x1b0c96}of eo)this[_0x1632('0x3')]['plugins'][_0x1632('0x1b')](_0x4fdb2f)&&this[_0x1632('0xf')](_0x1b0c96);this[_0x1632('0x3')][_0x1632('0x1')][_0x1632('0x16')](_0x1632('0x1c'))[_0x1632('0x13')][_0x1632('0x1d')](_0x181f18=>{const _0x1510c4=_0x128feb['t'],{data:_0x56bff3}=_0x181f18;if(null!=_0x56bff3){if('fontSize'==_0x56bff3[_0x1632('0x15')]){const _0x30162e=_0x56bff3[_0x1632('0x14')][0x0][_0x1632('0x7')];if(_0x30162e){const _0x4948dd=_0x1510c4(this['editor'][_0x1632('0x1')]['get'](_0x1632('0x23'))[_0x1632('0x1f')](this[_0x1632('0x3')][_0x1632('0x29')][_0x1632('0x16')]('fontSize.options'))[_0x1632('0x12')](_0x23c672=>_0x23c672[_0x1632('0xa')]==_0x30162e)[_0x1632('0x2')])[_0x1632('0x26')]();return{'type':_0x1632('0x4'),'content':_0x3059e0(_0x128feb,_0x1632('0x18'),_0x4948dd)};}return{'type':_0x1632('0x4'),'content':_0x3059e0(_0x128feb,'*Reset\x20font\x20size*')};}if(_0x1632('0x24')==_0x56bff3[_0x1632('0x15')]){const _0x2025a8=_0x56bff3[_0x1632('0x14')][0x0]['value'];return _0x2025a8?{'type':_0x1632('0x4'),'content':_0x3059e0(_0x128feb,_0x1632('0x8'),_0x2025a8)}:{'type':_0x1632('0x4'),'content':_0x3059e0(_0x128feb,'*Reset\x20font\x20family*')};}if(_0x1632('0xc')==_0x56bff3['commandName']){const _0xa36650=_0x56bff3[_0x1632('0x14')][0x0][_0x1632('0x7')];if(_0xa36650){const _0x3daad5=_0x4d750c(this[_0x1632('0x3')][_0x1632('0x29')][_0x1632('0x16')]('fontColor.colors'))[_0x1632('0x12')](_0xd40482=>_0xd40482[_0x1632('0xa')]==_0xa36650);let _0xee8afb=_0xa36650,_0x291b27='';return _0x3daad5&&(_0xee8afb=_0x3daad5['label'],_0x291b27=_0x1510c4(_0xee8afb)[_0x1632('0x26')]()),{'type':_0x1632('0x4'),'content':_0x3059e0(_0x128feb,'*Set\x20font\x20color:*\x20%0',_0x291b27)[_0x1632('0x2a')](),'color':{'value':_0xa36650,'title':_0x291b27||_0xee8afb}};}return{'type':_0x1632('0x4'),'content':_0x3059e0(_0x128feb,_0x1632('0x19'))};}if(_0x1632('0x22')==_0x56bff3[_0x1632('0x15')]){const _0x586a5b=_0x56bff3[_0x1632('0x14')][0x0][_0x1632('0x7')];if(_0x586a5b){const _0x4c423f=_0x4d750c(this[_0x1632('0x3')]['config'][_0x1632('0x16')](_0x1632('0x5')))[_0x1632('0x12')](_0x802093=>_0x802093['model']==_0x586a5b);let _0x571434=_0x586a5b,_0x43bad1='';return _0x4c423f&&(_0x571434=_0x4c423f[_0x1632('0x6')],_0x43bad1=_0x1510c4(_0x571434)['toLowerCase']()),{'type':_0x1632('0x4'),'content':_0x3059e0(_0x128feb,_0x1632('0x17'),_0x43bad1)[_0x1632('0x2a')](),'color':{'value':_0x586a5b,'title':_0x43bad1||_0x571434}};}return{'type':'format','content':_0x3059e0(_0x128feb,_0x1632('0xd'))};}}});}[_0x1632('0xf')](_0x2196b1){const _0x4a014f=this[_0x1632('0x3')];_0x4a014f[_0x1632('0x1')]['get'](_0x1632('0x1c'))[_0x1632('0x1e')](_0x2196b1,(_0x41caed,_0x158b03={})=>{const _0x11708a=_0x4a014f[_0x1632('0xa')][_0x1632('0x10')][_0x1632('0x20')],_0x4b61c2=_0x158b03[_0x1632('0x7')];_0x11708a[_0x1632('0x21')]?_0x41caed(_0x158b03):_0x4a014f[_0x1632('0xa')]['change'](()=>{const _0x438285=Array[_0x1632('0x27')](_0x11708a[_0x1632('0x1a')]());for(const _0x458880 of _0x438285){const _0x1346ad=_0x4b61c2?[_0x458880]:_0x27df43(_0x2196b1,_0x458880,_0x4a014f[_0x1632('0xa')]);for(const _0x259a9d of _0x1346ad)_0x4a014f[_0x1632('0x1')]['get'](_0x1632('0x1c'))[_0x1632('0x25')](_0x259a9d,{'commandName':_0x2196b1,'commandParams':[{'value':_0x4b61c2}]});}});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4e93=['forward','model','fontColor.colors','word','boolean','commandName','isFormatting','entries','createRange','getItems','enableCommand','fontColor','charAt','createSelection','FontSize','getSelectedBlocks','format','toLowerCase','editor','modifySelection','*Remove\x20all\x20formatting*','from','join','afterInit','TrackChangesEditing','document','find','_descriptionFactory','label','get','isBlock','schema','getFirstPosition','config','getAttributes','toUpperCase','locale','*Set\x20format\x20to:*\x20%0','split','markInlineFormat','fontBackgroundColor','plugins','fontSize','length','keys','selection','isCollapsed','getRanges','slice','normalizeSizeOptions','pasteFormat','commands','push','registerDescriptionCallback'];(function(_0x38e2f5,_0x4e93e2){const _0x5268f9=function(_0x4746ac){while(--_0x4746ac){_0x38e2f5['push'](_0x38e2f5['shift']());}};_0x5268f9(++_0x4e93e2);}(_0x4e93,0x153));const _0x5268=function(_0x38e2f5,_0x4e93e2){_0x38e2f5=_0x38e2f5-0x0;let _0x5268f9=_0x4e93[_0x38e2f5];return _0x5268f9;};import{Plugin as _0x5c063c}from'ckeditor5/src/core';import{normalizeColorOptions as _0x2ee56a}from'ckeditor5/src/ui';import{first as _0x1b637a}from'ckeditor5/src/utils';import{getTranslation as _0x2e7761}from'../utils/common-translations';export default class J extends _0x5c063c{[_0x5268('0x8')](){const _0x42d0da=this[_0x5268('0x3')],_0x573c82=_0x42d0da[_0x5268('0x28')],_0x1fd08c=_0x573c82[_0x5268('0xa')][_0x5268('0x1e')],_0x18ad0a=_0x42d0da[_0x5268('0x1a')]['get'](_0x5268('0x9')),_0x3491a6=_0x42d0da['locale'],_0x64c584=_0x42d0da[_0x5268('0x24')][_0x5268('0xe')]('copyFormat'),_0x396901=_0x42d0da[_0x5268('0x24')]['get'](_0x5268('0x23'));_0x64c584&&_0x396901&&(_0x18ad0a[_0x5268('0x31')](_0x5268('0x23'),(_0x5dac87,_0x2e23ea={})=>{const _0x28859a=_0x2e23ea;_0x573c82['change'](()=>{const _0x66cd68=Array[_0x5268('0x6')](_0x1fd08c[_0x5268('0x20')]()),_0x47e36f=_0x1fd08c[_0x5268('0x1f')]?[io(_0x573c82,_0x1fd08c)]:_0x66cd68,_0x2b723b=!!_0x1b637a(function*(_0x2474ab,_0x5ce7a3){const _0x548fa9=_0x26c7f9=>!!_0x1b637a(function*(_0x2d97c9,_0x5c5e52){for(const [_0x419d3c]of _0x2d97c9[_0x5268('0x13')]()){const _0x20a712=_0x5c5e52['getAttributeProperties'](_0x419d3c);_0x20a712&&_0x20a712[_0x5268('0x2d')]&&(yield _0x419d3c);}}(_0x26c7f9,_0x5ce7a3));for(const _0x461556 of _0x2474ab[_0x5268('0x20')]())for(const _0x436525 of _0x461556[_0x5268('0x30')]())!_0x5ce7a3[_0x5268('0xf')](_0x436525)&&_0x548fa9(_0x436525)&&(yield _0x436525);for(const _0x180f30 of _0x2474ab[_0x5268('0x0')]())_0x548fa9(_0x180f30)&&(yield _0x180f30);_0x548fa9(_0x2474ab)&&(yield _0x2474ab);}(_0x1fd08c,_0x573c82[_0x5268('0x10')]));if(_0x2b723b||0x0!==Object[_0x5268('0x1d')](_0x28859a)[_0x5268('0x1c')])for(const _0x376865 of _0x47e36f)_0x18ad0a[_0x5268('0x18')](_0x376865,{'commandName':_0x5268('0x23'),'commandParams':[_0x28859a]});});}),_0x18ad0a[_0x5268('0xc')][_0x5268('0x26')](_0x1b4f9f=>{const {data:_0x57cc3c}=_0x1b4f9f;if(_0x57cc3c&&_0x5268('0x23')===_0x57cc3c[_0x5268('0x2c')]){const _0x5ca1e0=[],_0x91f679=_0x57cc3c['commandParams'][0x0];for(const [_0x4a7c66,_0x5a6419]of Object[_0x5268('0x2e')](_0x91f679))_0x5ca1e0[_0x5268('0x25')](so(_0x42d0da,_0x4a7c66,_0x5a6419));return _0x5ca1e0['length']?{'type':_0x5268('0x1'),'content':_0x2e7761(_0x3491a6,_0x5268('0x16'),_0x5ca1e0['join'](',\x20'))}:{'type':_0x5268('0x1'),'content':_0x2e7761(_0x3491a6,_0x5268('0x5'))};}}),_0x42d0da[_0x5268('0x1a')][_0x5268('0xe')](_0x5268('0x9'))['enableCommand']('copyFormat'));}}function io(_0x3b810c,_0x364c14){const _0x4e775b=_0x3b810c[_0x5268('0x34')](_0x364c14);_0x3b810c[_0x5268('0x4')](_0x4e775b,{'unit':_0x5268('0x2a'),'direction':'backward'});const _0x32e425=_0x4e775b[_0x5268('0x11')]();_0x3b810c[_0x5268('0x4')](_0x4e775b,{'unit':_0x5268('0x2a'),'direction':_0x5268('0x27')});const _0xce99a3=_0x4e775b['getLastPosition']();return _0x3b810c[_0x5268('0x2f')](_0x32e425,_0xce99a3);}function so(_0x2dda1c,_0x4e71b0,_0x247a5f){const _0x1ad18c=_0x2dda1c[_0x5268('0x15')]['t'],_0x94fdb4=_0x4e71b0[_0x5268('0x17')](/(?=[A-Z])/)[_0x5268('0x7')]('\x20'),_0x1c1298=_0x1ad18c(_0x94fdb4[_0x5268('0x33')](0x0)[_0x5268('0x14')]()+_0x94fdb4[_0x5268('0x21')](0x1))['toLowerCase']();if(_0x5268('0x2b')==typeof _0x247a5f)return _0x1c1298;if(_0x5268('0x32')===_0x4e71b0||_0x5268('0x19')===_0x4e71b0){const _0x563055=_0x2ee56a(_0x2dda1c[_0x5268('0x12')]['get'](_0x5268('0x29')))[_0x5268('0xb')](_0x19ea8c=>_0x19ea8c[_0x5268('0x28')]==_0x247a5f);return _0x1c1298+'\x20('+(_0x563055?_0x1ad18c(_0x563055[_0x5268('0xd')])['toLowerCase']():_0x247a5f)+')';}if(_0x5268('0x1b')===_0x4e71b0&&isNaN(parseFloat(_0x247a5f))){const _0x2ed7e9=_0x2dda1c[_0x5268('0x1a')][_0x5268('0xe')](_0x5268('0x35'))[_0x5268('0x22')](_0x2dda1c[_0x5268('0x12')]['get']('fontSize.options'))[_0x5268('0xb')](_0x559029=>_0x559029[_0x5268('0x28')]==_0x247a5f);return _0x1c1298+'\x20('+(_0x2ed7e9?_0x1ad18c(_0x2ed7e9['title'])[_0x5268('0x2')]():_0x247a5f)+')';}return _0x1c1298+'\x20('+_0x247a5f+')';}
23
+ const _0x4ef6=['change','commandName','getAttributeProperties','document','pasteFormat','commands','FontSize','fontColor','format','title','normalizeSizeOptions','selection','toUpperCase','toLowerCase','createSelection','model','join','getAttributes','plugins','forward','*Set\x20format\x20to:*\x20%0','modifySelection','getRanges','config','isBlock','boolean','fontBackgroundColor','*Remove\x20all\x20formatting*','TrackChangesEditing','locale','createRange','word','charAt','getFirstPosition','slice','getItems','split','backward','entries','from','label','registerDescriptionCallback','editor','copyFormat','getSelectedBlocks','afterInit','get','enableCommand','_descriptionFactory'];(function(_0x25f53f,_0x4ef66f){const _0x599279=function(_0x1c7fe4){while(--_0x1c7fe4){_0x25f53f['push'](_0x25f53f['shift']());}};_0x599279(++_0x4ef66f);}(_0x4ef6,0x103));const _0x5992=function(_0x25f53f,_0x4ef66f){_0x25f53f=_0x25f53f-0x0;let _0x599279=_0x4ef6[_0x25f53f];return _0x599279;};import{Plugin as _0x4ea812}from'ckeditor5/src/core';import{normalizeColorOptions as _0xfb7e2c}from'ckeditor5/src/ui';import{first as _0x444678}from'ckeditor5/src/utils';import{getTranslation as _0x2bd486}from'../utils/common-translations';export default class J extends _0x4ea812{[_0x5992('0x1f')](){const _0x3d651f=this[_0x5992('0x1c')],_0x3202cd=_0x3d651f['model'],_0x465a1e=_0x3202cd[_0x5992('0x26')][_0x5992('0x2e')],_0x54e9d2=_0x3d651f['plugins'][_0x5992('0x20')](_0x5992('0xe')),_0xedb9cb=_0x3d651f[_0x5992('0xf')],_0x11889f=_0x3d651f[_0x5992('0x28')]['get'](_0x5992('0x1d')),_0x1063d9=_0x3d651f[_0x5992('0x28')]['get']('pasteFormat');_0x11889f&&_0x1063d9&&(_0x54e9d2[_0x5992('0x21')](_0x5992('0x27'),(_0x2dce83,_0x3ebd2b={})=>{const _0x4c0cd3=_0x3ebd2b;_0x3202cd[_0x5992('0x23')](()=>{const _0xc1b45f=Array[_0x5992('0x19')](_0x465a1e[_0x5992('0x8')]()),_0x3fb80a=_0x465a1e['isCollapsed']?[io(_0x3202cd,_0x465a1e)]:_0xc1b45f,_0x59dab1=!!_0x444678(function*(_0x565178,_0x2e3c52){const _0x39a677=_0x1e9eb2=>!!_0x444678(function*(_0x43b866,_0x23662a){for(const [_0x1d247c]of _0x43b866[_0x5992('0x3')]()){const _0x6f0b06=_0x23662a[_0x5992('0x25')](_0x1d247c);_0x6f0b06&&_0x6f0b06['isFormatting']&&(yield _0x1d247c);}}(_0x1e9eb2,_0x2e3c52));for(const _0x1d4495 of _0x565178[_0x5992('0x8')]())for(const _0x518600 of _0x1d4495[_0x5992('0x15')]())!_0x2e3c52[_0x5992('0xa')](_0x518600)&&_0x39a677(_0x518600)&&(yield _0x518600);for(const _0x469936 of _0x565178[_0x5992('0x1e')]())_0x39a677(_0x469936)&&(yield _0x469936);_0x39a677(_0x565178)&&(yield _0x565178);}(_0x465a1e,_0x3202cd['schema']));if(_0x59dab1||0x0!==Object['keys'](_0x4c0cd3)['length'])for(const _0x4b18d0 of _0x3fb80a)_0x54e9d2['markInlineFormat'](_0x4b18d0,{'commandName':_0x5992('0x27'),'commandParams':[_0x4c0cd3]});});}),_0x54e9d2[_0x5992('0x22')][_0x5992('0x1b')](_0x2484ae=>{const {data:_0x1617ed}=_0x2484ae;if(_0x1617ed&&'pasteFormat'===_0x1617ed[_0x5992('0x24')]){const _0x426b93=[],_0x289b15=_0x1617ed['commandParams'][0x0];for(const [_0x57837f,_0x4f9402]of Object[_0x5992('0x18')](_0x289b15))_0x426b93['push'](so(_0x3d651f,_0x57837f,_0x4f9402));return _0x426b93['length']?{'type':_0x5992('0x2b'),'content':_0x2bd486(_0xedb9cb,_0x5992('0x6'),_0x426b93['join'](',\x20'))}:{'type':'format','content':_0x2bd486(_0xedb9cb,_0x5992('0xd'))};}}),_0x3d651f[_0x5992('0x4')][_0x5992('0x20')](_0x5992('0xe'))[_0x5992('0x21')](_0x5992('0x1d')));}}function io(_0x522d6e,_0x21e16d){const _0x515a10=_0x522d6e[_0x5992('0x0')](_0x21e16d);_0x522d6e['modifySelection'](_0x515a10,{'unit':_0x5992('0x11'),'direction':_0x5992('0x17')});const _0x11db0f=_0x515a10[_0x5992('0x13')]();_0x522d6e[_0x5992('0x7')](_0x515a10,{'unit':'word','direction':_0x5992('0x5')});const _0x20cfc6=_0x515a10['getLastPosition']();return _0x522d6e[_0x5992('0x10')](_0x11db0f,_0x20cfc6);}function so(_0xa19a,_0x52d42a,_0x267329){const _0x20df7e=_0xa19a[_0x5992('0xf')]['t'],_0x1cee33=_0x52d42a[_0x5992('0x16')](/(?=[A-Z])/)[_0x5992('0x2')]('\x20'),_0x417e00=_0x20df7e(_0x1cee33[_0x5992('0x12')](0x0)[_0x5992('0x2f')]()+_0x1cee33[_0x5992('0x14')](0x1))['toLowerCase']();if(_0x5992('0xb')==typeof _0x267329)return _0x417e00;if(_0x5992('0x2a')===_0x52d42a||_0x5992('0xc')===_0x52d42a){const _0x73fd39=_0xfb7e2c(_0xa19a[_0x5992('0x9')]['get']('fontColor.colors'))['find'](_0x5e4687=>_0x5e4687[_0x5992('0x1')]==_0x267329);return _0x417e00+'\x20('+(_0x73fd39?_0x20df7e(_0x73fd39[_0x5992('0x1a')])[_0x5992('0x30')]():_0x267329)+')';}if('fontSize'===_0x52d42a&&isNaN(parseFloat(_0x267329))){const _0x526025=_0xa19a[_0x5992('0x4')]['get'](_0x5992('0x29'))[_0x5992('0x2d')](_0xa19a[_0x5992('0x9')][_0x5992('0x20')]('fontSize.options'))['find'](_0x452058=>_0x452058[_0x5992('0x1')]==_0x267329);return _0x417e00+'\x20('+(_0x526025?_0x20df7e(_0x526025[_0x5992('0x2c')])['toLowerCase']():_0x267329)+')';}return _0x417e00+'\x20('+_0x267329+')';}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x17e0=['document','selection','locale','heading.options','ELEMENT_HEADING','paragraph','blockName','enableCommand','HeadingEditing','TrackChangesEditing','registerDescriptionCallback','plugins','has','editor','change','formatBlock','model','*Change\x20to:*\x20%0','getSelectedBlocks','config','get','match','ELEMENT_HEADING_CUSTOM','name','filter','find','title','_descriptionFactory','schema','isObject','heading','parent','value','commandParams'];(function(_0x38b72a,_0x17e08c){const _0x385d43=function(_0x55ad35){while(--_0x55ad35){_0x38b72a['push'](_0x38b72a['shift']());}};_0x385d43(++_0x17e08c);}(_0x17e0,0x152));const _0x385d=function(_0x38b72a,_0x17e08c){_0x38b72a=_0x38b72a-0x0;let _0x385d43=_0x17e0[_0x38b72a];return _0x385d43;};import{Plugin as _0x3180ab}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x5165db}from'./utils';import{getTranslation as _0x161f3d}from'../utils/common-translations';export default class K extends _0x3180ab{['afterInit'](){const _0x5cc0b4=this[_0x385d('0xf')],_0x12fba7=_0x5cc0b4[_0x385d('0x4')],_0x1838c3=_0x5cc0b4[_0x385d('0x15')][_0x385d('0x16')](_0x385d('0x5'));if(!_0x5cc0b4[_0x385d('0xd')][_0x385d('0xe')](_0x385d('0xa')))return;const _0x5d8617=_0x5cc0b4[_0x385d('0xd')][_0x385d('0x16')](_0x385d('0xb'));_0x5d8617[_0x385d('0x9')](_0x385d('0x20'),(_0x1d88e3,_0x370b0b)=>{const _0x385a2f=_0x370b0b['value'],_0x45a264=Array['from'](this[_0x385d('0xf')]['model'][_0x385d('0x2')][_0x385d('0x3')][_0x385d('0x14')]())[_0x385d('0x1a')](_0x1b138c=>function(_0x19aeeb,_0x1874d1,_0x415504){return _0x415504['checkChild'](_0x19aeeb[_0x385d('0x21')],_0x1874d1)&&!_0x415504[_0x385d('0x1f')](_0x19aeeb)&&_0x19aeeb[_0x385d('0x19')]!=_0x1874d1;}(_0x1b138c,_0x385a2f,this['editor'][_0x385d('0x12')][_0x385d('0x1e')]));_0x5cc0b4[_0x385d('0x12')][_0x385d('0x10')](()=>{for(const _0x21974a of _0x45a264)_0x5d8617['markBlockFormat'](_0x21974a,{'commandName':_0x385d('0x20'),'commandParams':[_0x370b0b],'formatGroupId':_0x385d('0x8')},_0x5165db(_0x21974a));});});for(const _0x4a07d9 of _0x1838c3)_0x385d('0x7')!=_0x4a07d9[_0x385d('0x12')]&&_0x5d8617['_descriptionFactory']['registerElementLabel'](_0x4a07d9[_0x385d('0x12')],_0x5cd2a5=>{const _0x1024c9=nn(_0x4a07d9['model']);return null!==_0x1024c9?_0x380803(_0x5cd2a5,_0x1024c9):_0x19d98f(_0x5cd2a5,_0x4a07d9[_0x385d('0x1c')]);});function _0x380803(_0x410b68,_0x3755ed){return _0x161f3d(_0x12fba7,_0x385d('0x6'),[_0x410b68,_0x3755ed]);}function _0x19d98f(_0x1521e8,_0x42c024){return _0x161f3d(_0x12fba7,_0x385d('0x18'),[_0x1521e8,_0x42c024]);}_0x5d8617[_0x385d('0x1d')][_0x385d('0xc')](_0xdf4a24=>{const {type:_0x596890,data:_0x2ca4f6}=_0xdf4a24;if(_0x385d('0x11')==_0x596890&&_0x2ca4f6&&'heading'==_0x2ca4f6['commandName']){const _0x56364e=_0x2ca4f6[_0x385d('0x1')][0x0][_0x385d('0x0')],_0x27270e=nn(_0x56364e);if(null!==_0x27270e)return{'type':'format','content':_0x161f3d(_0x12fba7,'*Change\x20to:*\x20%0',_0x380803(0x1,_0x27270e))};const _0x9aefc6=_0x1838c3[_0x385d('0x1b')](_0x54ee31=>_0x54ee31['model']===_0x56364e)[_0x385d('0x1c')];return{'type':'format','content':_0x161f3d(_0x12fba7,_0x385d('0x13'),_0x19d98f(0x1,_0x9aefc6))};}});}}function nn(_0x524f93){const _0xc03714=_0x524f93[_0x385d('0x17')](/^heading(\d+)$/);return _0xc03714?_0xc03714[0x1]:null;}
23
+ const _0x2307=['schema','heading.options','filter','model','paragraph','_descriptionFactory','value','match','ELEMENT_HEADING','commandParams','isObject','registerElementLabel','parent','ELEMENT_HEADING_CUSTOM','editor','from','config','commandName','heading','plugins','HeadingEditing','afterInit','format','formatBlock','selection','document','find','*Change\x20to:*\x20%0','registerDescriptionCallback','markBlockFormat','get','TrackChangesEditing'];(function(_0x16743d,_0x2307e2){const _0x8117a2=function(_0x454f09){while(--_0x454f09){_0x16743d['push'](_0x16743d['shift']());}};_0x8117a2(++_0x2307e2);}(_0x2307,0xc2));const _0x8117=function(_0x16743d,_0x2307e2){_0x16743d=_0x16743d-0x0;let _0x8117a2=_0x2307[_0x16743d];return _0x8117a2;};import{Plugin as _0x1feeec}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x5b9051}from'./utils';import{getTranslation as _0x23aa11}from'../utils/common-translations';export default class K extends _0x1feeec{[_0x8117('0x13')](){const _0x5b78e7=this[_0x8117('0xc')],_0x23b9e8=_0x5b78e7['locale'],_0x10b861=_0x5b78e7[_0x8117('0xe')]['get'](_0x8117('0x1f'));if(!_0x5b78e7[_0x8117('0x11')]['has'](_0x8117('0x12')))return;const _0x43ee8f=_0x5b78e7[_0x8117('0x11')][_0x8117('0x1c')](_0x8117('0x1d'));_0x43ee8f['enableCommand']('heading',(_0x611662,_0x21744d)=>{const _0x1c9920=_0x21744d[_0x8117('0x4')],_0x50e79b=Array[_0x8117('0xd')](this[_0x8117('0xc')]['model'][_0x8117('0x17')][_0x8117('0x16')]['getSelectedBlocks']())[_0x8117('0x0')](_0x3a4149=>function(_0x5d40b5,_0x4ed7e0,_0x2994bb){return _0x2994bb['checkChild'](_0x5d40b5[_0x8117('0xa')],_0x4ed7e0)&&!_0x2994bb[_0x8117('0x8')](_0x5d40b5)&&_0x5d40b5['name']!=_0x4ed7e0;}(_0x3a4149,_0x1c9920,this[_0x8117('0xc')][_0x8117('0x1')][_0x8117('0x1e')]));_0x5b78e7[_0x8117('0x1')]['change'](()=>{for(const _0x590e09 of _0x50e79b)_0x43ee8f[_0x8117('0x1b')](_0x590e09,{'commandName':_0x8117('0x10'),'commandParams':[_0x21744d],'formatGroupId':'blockName'},_0x5b9051(_0x590e09));});});for(const _0x21497a of _0x10b861)_0x8117('0x2')!=_0x21497a[_0x8117('0x1')]&&_0x43ee8f[_0x8117('0x3')][_0x8117('0x9')](_0x21497a['model'],_0x585094=>{const _0x8a6e98=nn(_0x21497a[_0x8117('0x1')]);return null!==_0x8a6e98?_0x444519(_0x585094,_0x8a6e98):_0xf6aca7(_0x585094,_0x21497a['title']);});function _0x444519(_0x116336,_0x168418){return _0x23aa11(_0x23b9e8,_0x8117('0x6'),[_0x116336,_0x168418]);}function _0xf6aca7(_0x4b6a4a,_0x1daabe){return _0x23aa11(_0x23b9e8,_0x8117('0xb'),[_0x4b6a4a,_0x1daabe]);}_0x43ee8f[_0x8117('0x3')][_0x8117('0x1a')](_0x4a790e=>{const {type:_0x18e450,data:_0x622b78}=_0x4a790e;if(_0x8117('0x15')==_0x18e450&&_0x622b78&&_0x8117('0x10')==_0x622b78[_0x8117('0xf')]){const _0x3195fa=_0x622b78[_0x8117('0x7')][0x0][_0x8117('0x4')],_0x303bf8=nn(_0x3195fa);if(null!==_0x303bf8)return{'type':_0x8117('0x14'),'content':_0x23aa11(_0x23b9e8,_0x8117('0x19'),_0x444519(0x1,_0x303bf8))};const _0x2fd1d6=_0x10b861[_0x8117('0x18')](_0x5c381b=>_0x5c381b[_0x8117('0x1')]===_0x3195fa)['title'];return{'type':_0x8117('0x14'),'content':_0x23aa11(_0x23b9e8,_0x8117('0x19'),_0xf6aca7(0x1,_0x2fd1d6))};}});}}function nn(_0x2fa2be){const _0x58184a=_0x2fa2be[_0x8117('0x5')](/^heading(\d+)$/);return _0x58184a?_0x58184a[0x1]:null;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1b5f=['color','toLowerCase','has','editor','locale','model','highlight','value','hasAttribute','getRanges','format','push','get','backward','plugins','getFirstPosition','getLastMatchingPosition','FORMAT_HIGHLIGHT','selection','TrackChangesEditing','title','item','_descriptionFactory','commandParams','find','createRange','getAttribute','change','commandName','*Set\x20highlight:*\x20%0','*Remove\x20highlight*'];(function(_0xcd310a,_0x1b5f5b){const _0x2e94b6=function(_0x24b046){while(--_0x24b046){_0xcd310a['push'](_0xcd310a['shift']());}};_0x2e94b6(++_0x1b5f5b);}(_0x1b5f,0x99));const _0x2e94=function(_0xcd310a,_0x1b5f5b){_0xcd310a=_0xcd310a-0x0;let _0x2e94b6=_0x1b5f[_0xcd310a];return _0x2e94b6;};import{Plugin as _0x3b2158}from'ckeditor5/src/core';import{getTranslation as _0x5680e5}from'../utils/common-translations';import{getRangesWithAttribute as _0x55c163}from'./utils';export default class Q extends _0x3b2158{['afterInit'](){const _0xba8627=this[_0x2e94('0x5')];if(!_0xba8627[_0x2e94('0x10')][_0x2e94('0x4')]('HighlightEditing'))return;const _0x1e7785=_0xba8627[_0x2e94('0x10')]['get'](_0x2e94('0x15'));_0x1e7785['enableCommand'](_0x2e94('0x8'),(_0x3bfaa9,_0x467c5d={})=>{const _0x2298aa=_0xba8627[_0x2e94('0x7')]['document'][_0x2e94('0x14')],_0x1ba414=_0x2298aa[_0x2e94('0x1c')](_0x2e94('0x8'));let _0x381374=_0x467c5d[_0x2e94('0x9')],_0x2b3ac3=[];if(_0x2298aa['isCollapsed']){const _0x2478c2=_0x2298aa[_0x2e94('0x11')]();if(!_0x2298aa[_0x2e94('0xa')](_0x2e94('0x8')))return void _0x3bfaa9(_0x467c5d);{const _0x421b93=_0x19d479=>_0x19d479[_0x2e94('0x17')][_0x2e94('0x1c')](_0x2e94('0x8'))===_0x1ba414,_0x35fa52=_0x2478c2[_0x2e94('0x12')](_0x421b93,{'direction':_0x2e94('0xf')}),_0x346f85=_0x2478c2[_0x2e94('0x12')](_0x421b93);_0x2b3ac3=[_0xba8627[_0x2e94('0x7')][_0x2e94('0x1b')](_0x35fa52,_0x346f85)],_0x381374==_0x1ba414&&(_0x381374=null);}}else for(const _0x274d9e of _0x2298aa[_0x2e94('0xb')]())_0x381374?_0x2b3ac3[_0x2e94('0xd')](_0x274d9e):_0x2b3ac3[_0x2e94('0xd')](..._0x55c163(_0x2e94('0x8'),_0x274d9e,_0xba8627['model']));_0xba8627[_0x2e94('0x7')][_0x2e94('0x1d')](()=>{for(const _0x37b3d9 of _0x2b3ac3)_0x1e7785['markInlineFormat'](_0x37b3d9,{'commandName':'highlight','commandParams':[{'value':_0x381374}]});});});const _0x17a92b=_0xba8627[_0x2e94('0x6')];_0x1e7785[_0x2e94('0x18')]['registerDescriptionCallback'](_0x44daec=>{const {type:_0x1a9684,data:_0x1b4a84}=_0x44daec;if('formatInline'==_0x1a9684&&_0x1b4a84&&_0x2e94('0x8')==_0x1b4a84[_0x2e94('0x1e')]){const _0x31ba92=_0x17a92b['t'],_0x3b084d=_0x1b4a84[_0x2e94('0x19')][0x0][_0x2e94('0x9')];if(_0x3b084d){const _0x548ce2=_0xba8627['config'][_0x2e94('0xe')]('highlight.options')[_0x2e94('0x1a')](_0x2ea956=>_0x2ea956[_0x2e94('0x7')]==_0x3b084d),_0x105f63=_0x31ba92(_0x548ce2['title'])[_0x2e94('0x3')]();return{'type':'format','content':_0x5680e5(_0x17a92b,_0x2e94('0x0'),_0x105f63),'color':{'value':_0x548ce2[_0x2e94('0x2')],'title':_0x548ce2[_0x2e94('0x16')]}};}return{'type':_0x2e94('0xc'),'content':_0x5680e5(_0x17a92b,_0x2e94('0x1'),_0x5680e5(_0x17a92b,_0x2e94('0x13')))};}});}}
23
+ const _0x305b=['commandName','editor','get','isCollapsed','hasAttribute','model','enableCommand','title','color','*Set\x20highlight:*\x20%0','afterInit','TrackChangesEditing','push','change','markInlineFormat','find','selection','document','formatInline','_descriptionFactory','FORMAT_HIGHLIGHT','getLastMatchingPosition','HighlightEditing','registerDescriptionCallback','item','has','getAttribute','toLowerCase','commandParams','highlight','createRange','plugins','highlight.options','value'];(function(_0x31de86,_0x305b28){const _0x2346b9=function(_0x5b572c){while(--_0x5b572c){_0x31de86['push'](_0x31de86['shift']());}};_0x2346b9(++_0x305b28);}(_0x305b,0x135));const _0x2346=function(_0x31de86,_0x305b28){_0x31de86=_0x31de86-0x0;let _0x2346b9=_0x305b[_0x31de86];return _0x2346b9;};import{Plugin as _0x5abb7e}from'ckeditor5/src/core';import{getTranslation as _0x78dcbb}from'../utils/common-translations';import{getRangesWithAttribute as _0x4b886e}from'./utils';export default class Q extends _0x5abb7e{[_0x2346('0x7')](){const _0x304bd5=this[_0x2346('0x20')];if(!_0x304bd5[_0x2346('0x1c')][_0x2346('0x16')](_0x2346('0x13')))return;const _0x4f704b=_0x304bd5[_0x2346('0x1c')][_0x2346('0x21')](_0x2346('0x8'));_0x4f704b[_0x2346('0x3')]('highlight',(_0x755cf6,_0x49e0e6={})=>{const _0x20c202=_0x304bd5[_0x2346('0x2')][_0x2346('0xe')][_0x2346('0xd')],_0x3ae604=_0x20c202[_0x2346('0x17')](_0x2346('0x1a'));let _0x446ff0=_0x49e0e6[_0x2346('0x1e')],_0x49feda=[];if(_0x20c202[_0x2346('0x0')]){const _0x32e262=_0x20c202['getFirstPosition']();if(!_0x20c202[_0x2346('0x1')](_0x2346('0x1a')))return void _0x755cf6(_0x49e0e6);{const _0x5995d8=_0x38949e=>_0x38949e[_0x2346('0x15')][_0x2346('0x17')](_0x2346('0x1a'))===_0x3ae604,_0x16b7b0=_0x32e262[_0x2346('0x12')](_0x5995d8,{'direction':'backward'}),_0x20b962=_0x32e262['getLastMatchingPosition'](_0x5995d8);_0x49feda=[_0x304bd5[_0x2346('0x2')][_0x2346('0x1b')](_0x16b7b0,_0x20b962)],_0x446ff0==_0x3ae604&&(_0x446ff0=null);}}else for(const _0x410709 of _0x20c202['getRanges']())_0x446ff0?_0x49feda[_0x2346('0x9')](_0x410709):_0x49feda['push'](..._0x4b886e(_0x2346('0x1a'),_0x410709,_0x304bd5[_0x2346('0x2')]));_0x304bd5[_0x2346('0x2')][_0x2346('0xa')](()=>{for(const _0x41d819 of _0x49feda)_0x4f704b[_0x2346('0xb')](_0x41d819,{'commandName':_0x2346('0x1a'),'commandParams':[{'value':_0x446ff0}]});});});const _0x303b66=_0x304bd5['locale'];_0x4f704b[_0x2346('0x10')][_0x2346('0x14')](_0x3468a0=>{const {type:_0x58e63f,data:_0x28c15}=_0x3468a0;if(_0x2346('0xf')==_0x58e63f&&_0x28c15&&_0x2346('0x1a')==_0x28c15[_0x2346('0x1f')]){const _0x48bcc4=_0x303b66['t'],_0x5a4c14=_0x28c15[_0x2346('0x19')][0x0][_0x2346('0x1e')];if(_0x5a4c14){const _0x5b7a70=_0x304bd5['config'][_0x2346('0x21')](_0x2346('0x1d'))[_0x2346('0xc')](_0x224181=>_0x224181[_0x2346('0x2')]==_0x5a4c14),_0x4ab377=_0x48bcc4(_0x5b7a70[_0x2346('0x4')])[_0x2346('0x18')]();return{'type':'format','content':_0x78dcbb(_0x303b66,_0x2346('0x6'),_0x4ab377),'color':{'value':_0x5b7a70[_0x2346('0x5')],'title':_0x5b7a70[_0x2346('0x4')]}};}return{'type':'format','content':_0x78dcbb(_0x303b66,'*Remove\x20highlight*',_0x78dcbb(_0x303b66,_0x2346('0x11')))};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xdaca=['showSuggestionHighlights','locale','_descriptionFactory','ELEMENT_HORIZONTAL_LINE','addClass','get','plugins','elementToStructure','insert','horizontalLine','high','div','afterInit','createContainerElement','has','TrackChangesEditing','editor','createPositionAt'];(function(_0x431bae,_0xdacaf5){const _0x4184d=function(_0x546ffd){while(--_0x546ffd){_0x431bae['push'](_0x431bae['shift']());}};_0x4184d(++_0xdacaf5);}(_0xdaca,0x17e));const _0x4184=function(_0x431bae,_0xdacaf5){_0x431bae=_0x431bae-0x0;let _0x4184d=_0xdaca[_0x431bae];return _0x4184d;};import{Plugin as _0x5641ee}from'ckeditor5/src/core';import{getTranslation as _0x49fd25}from'../utils/common-translations';export default class V extends _0x5641ee{[_0x4184('0x8')](){const _0x50eedc=this[_0x4184('0xc')];if(!_0x50eedc['plugins'][_0x4184('0xa')]('HorizontalLineEditing'))return;_0x50eedc[_0x4184('0x2')]['get'](_0x4184('0xb'))['enableCommand'](_0x4184('0x5'));const _0x5a34e8=_0x50eedc[_0x4184('0x2')][_0x4184('0x1')](_0x4184('0xb')),_0x53eace=_0x50eedc[_0x4184('0xf')];_0x5a34e8[_0x4184('0x10')]['registerElementLabel'](_0x4184('0x5'),_0x5570b6=>_0x49fd25(_0x53eace,_0x4184('0x11'),_0x5570b6)),_0x50eedc['conversion']['for']('dataDowncast')[_0x4184('0x3')]({'model':_0x4184('0x5'),'view':(_0x20001a,{writer:_0x367a5e,options:_0x2d0161})=>{if(!_0x2d0161[_0x4184('0xe')])return null;const _0x4d0794=_0x367a5e[_0x4184('0x9')](_0x4184('0x7')),_0x44493e=_0x367a5e['createEmptyElement']('hr');return _0x367a5e[_0x4184('0x0')]('ck-horizontal-line',_0x4d0794),_0x367a5e[_0x4184('0x4')](_0x367a5e[_0x4184('0xd')](_0x4d0794,0x0),_0x44493e),_0x4d0794;},'converterPriority':_0x4184('0x6')});}}
23
+ const _0x46ac=['insert','TrackChangesEditing','has','showSuggestionHighlights','ck-horizontal-line','horizontalLine','div','for','createEmptyElement','dataDowncast','ELEMENT_HORIZONTAL_LINE','editor','registerElementLabel','afterInit','HorizontalLineEditing','get','conversion','locale','enableCommand','plugins'];(function(_0x347303,_0x46ac5){const _0x4510cf=function(_0x3faf9d){while(--_0x3faf9d){_0x347303['push'](_0x347303['shift']());}};_0x4510cf(++_0x46ac5);}(_0x46ac,0x140));const _0x4510=function(_0x347303,_0x46ac5){_0x347303=_0x347303-0x0;let _0x4510cf=_0x46ac[_0x347303];return _0x4510cf;};import{Plugin as _0x603a87}from'ckeditor5/src/core';import{getTranslation as _0x45778d}from'../utils/common-translations';export default class V extends _0x603a87{[_0x4510('0xd')](){const _0x37bcb3=this[_0x4510('0xb')];if(!_0x37bcb3['plugins'][_0x4510('0x2')](_0x4510('0xe')))return;_0x37bcb3[_0x4510('0x13')][_0x4510('0xf')](_0x4510('0x1'))[_0x4510('0x12')](_0x4510('0x5'));const _0x3be046=_0x37bcb3[_0x4510('0x13')]['get']('TrackChangesEditing'),_0x3613a1=_0x37bcb3[_0x4510('0x11')];_0x3be046['_descriptionFactory'][_0x4510('0xc')](_0x4510('0x5'),_0x238f92=>_0x45778d(_0x3613a1,_0x4510('0xa'),_0x238f92)),_0x37bcb3[_0x4510('0x10')][_0x4510('0x7')](_0x4510('0x9'))['elementToStructure']({'model':_0x4510('0x5'),'view':(_0x17e1bb,{writer:_0xcea631,options:_0x2ad48e})=>{if(!_0x2ad48e[_0x4510('0x3')])return null;const _0x1526ca=_0xcea631['createContainerElement'](_0x4510('0x6')),_0x4f4b45=_0xcea631[_0x4510('0x8')]('hr');return _0xcea631['addClass'](_0x4510('0x4'),_0x1526ca),_0xcea631[_0x4510('0x0')](_0xcea631['createPositionAt'](_0x1526ca,0x0),_0x4f4b45),_0x1526ca;},'converterPriority':'high'});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x53a3=['getSelectedElement','commandName','registerDescriptionCallback','view','selection','registerElementLabel','model','TrackChangesEditing','getAttribute','editor','has','getCustomProperty','plugins','element','rawHtml','htmlEmbed','rawHtmlApi','afterInit','change','_descriptionFactory','markBlockFormat','document','locale','enableCommand','editing'];(function(_0x3846b0,_0x53a3be){const _0x5667ee=function(_0x24dafa){while(--_0x24dafa){_0x3846b0['push'](_0x3846b0['shift']());}};_0x5667ee(++_0x53a3be);}(_0x53a3,0x150));const _0x5667=function(_0x3846b0,_0x53a3be){_0x3846b0=_0x3846b0-0x0;let _0x5667ee=_0x53a3[_0x3846b0];return _0x5667ee;};import{Plugin as _0x505324}from'ckeditor5/src/core';import{getTranslation as _0x1c2df8}from'../utils/common-translations';export default class X extends _0x505324{[_0x5667('0x6')](){const _0x78cadd=this[_0x5667('0x17')];if(!_0x78cadd[_0x5667('0x1')][_0x5667('0x18')]('HtmlEmbed'))return;const _0x3122e8=_0x78cadd[_0x5667('0x1')]['get'](_0x5667('0x15')),_0x4e8096=_0x78cadd[_0x5667('0xb')],_0x268277=_0x78cadd[_0x5667('0xd')][_0x5667('0x11')][_0x5667('0xa')]['selection'];_0x3122e8[_0x5667('0x8')][_0x5667('0x13')]('rawHtml',_0x96994d=>_0x1c2df8(_0x4e8096,'ELEMENT_HTML_EMBED',_0x96994d)),_0x78cadd['plugins']['get']('TrackChangesEditing')[_0x5667('0xc')]('htmlEmbed',(_0x1183fe,_0x79b81f)=>{const _0x23e15e=_0x78cadd[_0x5667('0x14')],_0x29c6ea=_0x23e15e[_0x5667('0xa')][_0x5667('0x12')];_0x23e15e[_0x5667('0x7')](()=>{const _0x18fbb0=function(_0x420f41){const _0xc9e06b=_0x420f41[_0x5667('0xe')]();if(_0xc9e06b&&_0xc9e06b['is'](_0x5667('0x2'),_0x5667('0x3')))return _0x420f41[_0x5667('0xe')]();return null;}(_0x29c6ea);if(!_0x18fbb0)return void _0x1183fe(null);const _0x55067a=_0x18fbb0[_0x5667('0x16')]('value')||'';if(void 0x0===_0x79b81f)return;if(_0x79b81f===_0x55067a)return;_0x3122e8[_0x5667('0x9')](_0x18fbb0,{'commandName':_0x5667('0x4'),'commandParams':[_0x79b81f]}),_0x268277[_0x5667('0xe')]()[_0x5667('0x0')](_0x5667('0x5'))['cancel']();});}),_0x3122e8[_0x5667('0x8')][_0x5667('0x10')](_0x25c2d1=>{const {data:_0x5c425b}=_0x25c2d1;if(_0x5c425b&&_0x5667('0x4')==_0x5c425b[_0x5667('0xf')]){const _0x538315=_0x1c2df8(_0x4e8096,'ELEMENT_HTML_EMBED');return{'type':'format','content':_0x1c2df8(_0x4e8096,'*Change\x20%0\x20content*',_0x538315)};}});}}
23
+ const _0x31a9=['plugins','rawHtml','getSelectedElement','TrackChangesEditing','element','editor','editing','enableCommand','HtmlEmbed','document','model','get','registerDescriptionCallback','getCustomProperty','locale','*Change\x20%0\x20content*','view','htmlEmbed','registerElementLabel','commandName','ELEMENT_HTML_EMBED','cancel','_descriptionFactory','selection','format'];(function(_0x12ba62,_0x31a9a9){const _0x175ef5=function(_0x20f65d){while(--_0x20f65d){_0x12ba62['push'](_0x12ba62['shift']());}};_0x175ef5(++_0x31a9a9);}(_0x31a9,0xb2));const _0x175e=function(_0x12ba62,_0x31a9a9){_0x12ba62=_0x12ba62-0x0;let _0x175ef5=_0x31a9[_0x12ba62];return _0x175ef5;};import{Plugin as _0x29f291}from'ckeditor5/src/core';import{getTranslation as _0x3a1bb5}from'../utils/common-translations';export default class X extends _0x29f291{['afterInit'](){const _0x309adf=this[_0x175e('0x2')];if(!_0x309adf['plugins']['has'](_0x175e('0x5')))return;const _0x40b889=_0x309adf[_0x175e('0x16')][_0x175e('0x8')]('TrackChangesEditing'),_0x59660c=_0x309adf[_0x175e('0xb')],_0x41c4f0=_0x309adf[_0x175e('0x3')][_0x175e('0xd')][_0x175e('0x6')]['selection'];_0x40b889[_0x175e('0x13')][_0x175e('0xf')](_0x175e('0x17'),_0x1550dc=>_0x3a1bb5(_0x59660c,_0x175e('0x11'),_0x1550dc)),_0x309adf[_0x175e('0x16')][_0x175e('0x8')](_0x175e('0x0'))[_0x175e('0x4')](_0x175e('0xe'),(_0x5e4752,_0x544089)=>{const _0x1bc893=_0x309adf[_0x175e('0x7')],_0x4a223b=_0x1bc893[_0x175e('0x6')][_0x175e('0x14')];_0x1bc893['change'](()=>{const _0x913840=function(_0xb88974){const _0x14f370=_0xb88974[_0x175e('0x18')]();if(_0x14f370&&_0x14f370['is'](_0x175e('0x1'),_0x175e('0x17')))return _0xb88974[_0x175e('0x18')]();return null;}(_0x4a223b);if(!_0x913840)return void _0x5e4752(null);const _0x552bc9=_0x913840['getAttribute']('value')||'';if(void 0x0===_0x544089)return;if(_0x544089===_0x552bc9)return;_0x40b889['markBlockFormat'](_0x913840,{'commandName':_0x175e('0xe'),'commandParams':[_0x544089]}),_0x41c4f0[_0x175e('0x18')]()[_0x175e('0xa')]('rawHtmlApi')[_0x175e('0x12')]();});}),_0x40b889['_descriptionFactory'][_0x175e('0x9')](_0x2532af=>{const {data:_0x5aabdd}=_0x2532af;if(_0x5aabdd&&_0x175e('0xe')==_0x5aabdd[_0x175e('0x10')]){const _0x1faf57=_0x3a1bb5(_0x59660c,_0x175e('0x11'));return{'type':_0x175e('0x15'),'content':_0x3a1bb5(_0x59660c,_0x175e('0xc'),_0x1faf57)};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x258e=['ImageEditing','plugins','from','find','imageStyle','getNearestSelectionRange','getSuggestionCallback','commandReversedParams','isOwn','insertImage','nodeAfter','editor','caption','schema','join','getCaptionFromImageModelElement','isEqual','markInlineFormat','Users','previous','locale','detach','selection','convertBlockImageToInline','createRange','formatBlock','ELEMENT_INLINE_IMAGE','*Set\x20image\x20text\x20alternative:*\x20%0','ImageCaptionUtils','model','createRangeOn','markBlockFormat','side','accept','imageStylePreApply','start','setImageNaturalSizeAttributes','value','_splitMarkerName','toggleImageCaption','type','isInlineImage','afterInit','TrackChangesEditing','newValue','_descriptionFactory','commandName','isInContent','removeObject','ImageUtils','imageTextAlternative','change','isCollapsed','ImageUploadEditing','_suggestionFactory','commandParams','markInsertion','registerPostFixer','insertion','_findSuggestions','Block\x20image\x20to\x20inline\x20image','imageCaption','suggestion','addObject','ImageCaptionEditing','resizeImage','imageTypeBlock','discard','*Remove\x20image\x20text\x20alternative*','refresh','forceDefaultExecution','forward','ImageStyleEditing','getClosestSelectedImageElement','convertInlineImageToBlock','imageStylePostApply','*Format:*\x20%0','enableCommand','has','filter','document','get','findIndex','hasSuggestion','toLowerCase','deletion','imageInline','getChangedMarkers','getContainedElement','subType','backward','format','discardSuggestion','commands','name','nodeBefore','forEach','ELEMENT_IMAGE','ELEMENT_CAPTION','*Reset\x20image\x20width*','shouldConvertImageType','end','element','FORMAT_SIDE_IMAGE','isBlockImage','registerDescriptionCallback','getFirstRange','newRange','toNext','alt','chain','Inline\x20image\x20to\x20block\x20image','author','imageBlock','registerCustomCallback','registerElementLabel','imageTypeInline','next','width','getAttribute','fromPosition','resizedWidth','title','ImageTextAlternativeEditing'];(function(_0x425cd6,_0x258e85){const _0x212dc2=function(_0x525460){while(--_0x525460){_0x425cd6['push'](_0x425cd6['shift']());}};_0x212dc2(++_0x258e85);}(_0x258e,0x17b));const _0x212d=function(_0x425cd6,_0x258e85){_0x425cd6=_0x425cd6-0x0;let _0x212dc2=_0x258e[_0x425cd6];return _0x212dc2;};import{Plugin as _0x145671}from'ckeditor5/src/core';import{LivePosition as _0x44eed3}from'ckeditor5/src/engine';import{uid as _0x4a8dd8}from'ckeditor5/src/utils';import{getTranslation as _0x512f65}from'../utils/common-translations';export default class Y extends _0x145671{[_0x212d('0x23')](){const _0x30c601=this[_0x212d('0x4')];if(!_0x30c601[_0x212d('0x76')]['has'](_0x212d('0x75')))return;const _0x42e3ec=_0x30c601[_0x212d('0x76')][_0x212d('0x4a')](_0x212d('0x24')),_0x5082d7=_0x30c601[_0x212d('0x76')][_0x212d('0x4a')](_0x212d('0x2a')),_0x4f5826={},_0x46f990=_0x30c601[_0x212d('0xd')];if(_0x42e3ec[_0x212d('0x46')](_0x212d('0x2')),_0x42e3ec[_0x212d('0x26')]['registerElementLabel'](_0x212d('0x6a'),_0x56627f=>_0x512f65(_0x46f990,_0x212d('0x5a'),_0x56627f)),_0x42e3ec[_0x212d('0x26')][_0x212d('0x6c')](_0x212d('0x4f'),_0x8e6f76=>_0x512f65(_0x46f990,_0x212d('0x13'),_0x8e6f76)),_0x42e3ec[_0x212d('0x26')][_0x212d('0x6c')](_0x212d('0x5'),()=>_0x512f65(_0x46f990,_0x212d('0x5b'))),_0x30c601[_0x212d('0x76')][_0x212d('0x47')](_0x212d('0x2e'))&&_0x42e3ec[_0x212d('0x46')]('uploadImage'),_0x30c601['plugins'][_0x212d('0x47')]('ImageBlockEditing')&&_0x30c601[_0x212d('0x76')][_0x212d('0x47')]('ImageInlineEditing')&&(_0x42e3ec[_0x212d('0x46')](_0x212d('0x6d'),(_0x3b2fe3,_0x5a5911)=>{const _0x5dc62a=_0x5082d7['getClosestSelectedImageElement'](_0x30c601['model'][_0x212d('0x49')]['selection']);_0x30c601[_0x212d('0x16')][_0x212d('0x2c')](()=>{_0x42e3ec[_0x212d('0x18')](_0x5dc62a,{'commandName':_0x212d('0x6d'),'commandParams':[_0x5a5911]},[],_0x212d('0x10'));});}),_0x42e3ec['enableCommand'](_0x212d('0x3b'),(_0x52431f,_0x92e0e1)=>{_0x30c601[_0x212d('0x16')][_0x212d('0x2c')](_0x529287=>{let _0x4accd7=_0x5082d7[_0x212d('0x42')](_0x30c601['model'][_0x212d('0x49')]['selection']),_0x36a19f=_0x529287[_0x212d('0x17')](_0x4accd7);const _0x5cc25d=_0x44eed3[_0x212d('0x71')](_0x36a19f[_0x212d('0x1c')],'toPrevious'),_0x1147d0=_0x44eed3[_0x212d('0x71')](_0x36a19f[_0x212d('0x5e')],_0x212d('0x65'));_0x42e3ec[_0x212d('0x3f')](()=>_0x52431f(_0x92e0e1)),_0x4accd7=_0x5082d7[_0x212d('0x42')](_0x30c601['model']['document'][_0x212d('0xf')]),_0x36a19f=_0x529287[_0x212d('0x17')](_0x4accd7);const _0x466ee2=_0x529287[_0x212d('0x11')](_0x5cc25d,_0x1147d0);_0x5cc25d[_0x212d('0xe')](),_0x1147d0[_0x212d('0xe')](),_0x42e3ec[_0x212d('0x18')](_0x4accd7,{'commandName':_0x212d('0x6d'),'commandParams':[_0x92e0e1]},[],'convertInlineImageToBlock'),_0x466ee2[_0x212d('0x1c')]['isBefore'](_0x36a19f['start'])&&_0x42e3ec[_0x212d('0x31')](_0x529287[_0x212d('0x11')](_0x466ee2[_0x212d('0x1c')],_0x36a19f[_0x212d('0x1c')]),_0x212d('0x43')),_0x36a19f[_0x212d('0x5e')]['isBefore'](_0x466ee2[_0x212d('0x5e')])&&_0x42e3ec[_0x212d('0x31')](_0x529287['createRange'](_0x36a19f[_0x212d('0x5e')],_0x466ee2[_0x212d('0x5e')]),_0x212d('0x43'));});}),_0x42e3ec[_0x212d('0x2f')][_0x212d('0x6b')](_0x212d('0x12'),_0x212d('0x43'),_0x212d('0x7'),()=>!0x1),_0x42e3ec['_suggestionFactory'][_0x212d('0x6b')]('formatBlock',_0x212d('0x43'),'accept',()=>!0x1),_0x42e3ec[_0x212d('0x2f')][_0x212d('0x6b')](_0x212d('0x12'),_0x212d('0x43'),_0x212d('0x3c'),_0x42e3ec[_0x212d('0x2f')]['getSuggestionCallback'](_0x212d('0x12'),'','accept')),_0x42e3ec[_0x212d('0x2f')][_0x212d('0x6b')](_0x212d('0x33'),_0x212d('0x43'),_0x212d('0x7'),()=>!0x1),_0x42e3ec[_0x212d('0x2f')][_0x212d('0x6b')]('insertion','convertInlineImageToBlock',_0x212d('0x3c'),([_0x1b09b4])=>{const _0x425f78=_0x42e3ec[_0x212d('0x2f')][_0x212d('0x7b')](_0x212d('0x33'),'',_0x212d('0x3c'));let _0x3d7d4e=_0x1b09b4['start'],_0x192746=_0x1b09b4['end'];const _0x3eb35b=_0x30c601[_0x212d('0x16')][_0x212d('0x6')][_0x212d('0x7a')](_0x3d7d4e,_0x212d('0x53')),_0x2143d4=_0x30c601[_0x212d('0x16')][_0x212d('0x6')][_0x212d('0x7a')](_0x192746,_0x212d('0x40'));_0x3eb35b[_0x212d('0x2d')]&&(_0x3d7d4e=_0x3eb35b[_0x212d('0x1c')]),_0x2143d4[_0x212d('0x2d')]&&(_0x192746=_0x2143d4[_0x212d('0x5e')]),_0x425f78([_0x30c601['model']['createRange'](_0x3d7d4e,_0x192746)]);}),_0x42e3ec['_suggestionFactory'][_0x212d('0x6b')]('formatBlock','convertInlineImageToBlock',_0x212d('0x67'),_0x1d167d),_0x42e3ec[_0x212d('0x2f')][_0x212d('0x6b')](_0x212d('0x33'),_0x212d('0x43'),_0x212d('0x67'),_0x1d167d)),_0x30c601[_0x212d('0x76')][_0x212d('0x47')](_0x212d('0x39'))&&(_0x42e3ec[_0x212d('0x46')](_0x212d('0x20'),(_0x466d11,_0x9a89b5)=>{const _0x43102c=_0x30c601[_0x212d('0x76')][_0x212d('0x4a')](_0x212d('0x15'));let _0x49ce39=_0x5082d7[_0x212d('0x42')](_0x30c601['model'][_0x212d('0x49')][_0x212d('0xf')]),_0x609673=_0x43102c[_0x212d('0x8')](_0x49ce39);_0x30c601['model']['change'](()=>{if(_0x609673)return void _0x42e3ec['markDeletion'](_0x30c601['model']['createRangeOn'](_0x609673));const _0xea0897=_0x5082d7[_0x212d('0x61')](_0x49ce39);_0x466d11(_0x9a89b5),_0x49ce39=_0x5082d7[_0x212d('0x42')](_0x30c601[_0x212d('0x16')]['document'][_0x212d('0xf')]),_0x609673=_0x43102c['getCaptionFromImageModelElement'](_0x49ce39),_0x42e3ec[_0x212d('0x31')](_0x30c601[_0x212d('0x16')][_0x212d('0x17')](_0x609673),_0xea0897?null:_0x212d('0x36'));});}),_0x42e3ec['_suggestionFactory'][_0x212d('0x6b')](_0x212d('0x33'),'imageCaption','chain',_0x1d167d)),_0x30c601[_0x212d('0x76')]['has'](_0x212d('0x41'))){_0x42e3ec['enableCommand'](_0x212d('0x79'),(_0x299162,_0x5da6bb)=>{const _0x16f4f4=_0x30c601[_0x212d('0x76')][_0x212d('0x4a')](_0x212d('0xb'))['me'],_0x211f93=_0x30c601[_0x212d('0x56')][_0x212d('0x4a')](_0x212d('0x79'));let _0x3fd8ec=_0x5082d7[_0x212d('0x42')](_0x30c601[_0x212d('0x16')][_0x212d('0x49')][_0x212d('0xf')]),_0x254ada=_0x30c601['model'][_0x212d('0x17')](_0x3fd8ec),_0x518aeb=_0x211f93[_0x212d('0x1e')];if(_0x518aeb==_0x5da6bb['value'])return;const _0xd10dbd={'commandName':_0x212d('0x79'),'commandParams':[_0x5da6bb],'formatGroupId':_0x4a8dd8()};_0x30c601['model'][_0x212d('0x2c')](()=>{if(_0x42e3ec['getSuggestions']()[_0x212d('0x48')](_0x4280bb=>_0x4280bb['isInContent']&&_0x16f4f4==_0x4280bb[_0x212d('0x69')]&&('formatBlock'==_0x4280bb[_0x212d('0x21')]||'formatInline'==_0x4280bb[_0x212d('0x21')])&&(_0x212d('0x1b')==_0x4280bb[_0x212d('0x52')]||'imageStylePostApply'==_0x4280bb['subType'])&&_0x4280bb[_0x212d('0x63')]()[_0x212d('0x9')](_0x254ada))[_0x212d('0x59')](_0x572ef8=>_0x42e3ec['discardSuggestion'](_0x572ef8['head'])),_0x3fd8ec=_0x5082d7['getClosestSelectedImageElement'](_0x30c601[_0x212d('0x16')][_0x212d('0x49')][_0x212d('0xf')]),_0x254ada=_0x30c601[_0x212d('0x16')][_0x212d('0x17')](_0x3fd8ec),_0x211f93[_0x212d('0x3e')](),_0x30c601[_0x212d('0x56')][_0x212d('0x4a')](_0x212d('0x6d'))[_0x212d('0x3e')](),_0x30c601[_0x212d('0x56')][_0x212d('0x4a')](_0x212d('0x3b'))['refresh'](),_0x518aeb=_0x211f93['value'],_0x518aeb!=_0x5da6bb[_0x212d('0x1e')])return _0x5082d7[_0x212d('0x22')](_0x3fd8ec)&&_0x211f93[_0x212d('0x5d')](_0x5da6bb['value'],_0x3fd8ec)?(_0x299162({..._0x5da6bb,'setImageSizes':!0x1}),_0x3fd8ec=_0x5082d7[_0x212d('0x42')](_0x30c601[_0x212d('0x16')][_0x212d('0x49')][_0x212d('0xf')]),void _0x42e3ec['markBlockFormat'](_0x3fd8ec,{..._0xd10dbd,'commandReversedParams':[{'value':_0x518aeb||null,'setImageSizes':!0x1}]},[],_0x212d('0x1b'))):void(_0x5082d7[_0x212d('0x61')](_0x3fd8ec)?_0x42e3ec[_0x212d('0x18')](_0x3fd8ec,_0xd10dbd,[],_0x212d('0x44')):_0x42e3ec[_0x212d('0xa')](_0x254ada,_0xd10dbd,_0x212d('0x44')));});});for(const _0x1d88f1 of _0x30c601[_0x212d('0x76')][_0x212d('0x4a')](_0x212d('0x41'))['normalizedStyles'])_0x4f5826[_0x1d88f1[_0x212d('0x57')]]=_0x1d88f1[_0x212d('0x73')][_0x212d('0x4d')]();_0x42e3ec[_0x212d('0x2f')][_0x212d('0x6b')]('formatBlock',_0x212d('0x1b'),'join',()=>!0x1),_0x42e3ec[_0x212d('0x2f')][_0x212d('0x6b')](_0x212d('0x12'),_0x212d('0x44'),_0x212d('0x7'),()=>!0x1),_0x42e3ec[_0x212d('0x2f')][_0x212d('0x6b')]('formatInline',_0x212d('0x44'),_0x212d('0x7'),()=>!0x1),_0x42e3ec[_0x212d('0x2f')]['registerCustomCallback'](_0x212d('0x12'),'imageStylePreApply',_0x212d('0x1a'),([_0x4d5a86])=>{_0x5082d7[_0x212d('0x1d')](_0x4d5a86[_0x212d('0x51')]());}),_0x42e3ec['_suggestionFactory'][_0x212d('0x6b')]('formatBlock',_0x212d('0x1b'),_0x212d('0x3c'),(_0x2c1489,_0x1b0883)=>{_0x42e3ec[_0x212d('0x2f')][_0x212d('0x7b')]('formatBlock','','accept')(_0x2c1489,{'commandName':_0x1b0883[_0x212d('0x27')],'commandParams':_0x1b0883[_0x212d('0x0')]});}),_0x42e3ec[_0x212d('0x2f')][_0x212d('0x6b')]('formatBlock',_0x212d('0x1b'),'chain',_0x1d167d);}const _0x4c8df7=[{'type':_0x212d('0x12'),'subType':'imageStylePreApply'},{'type':_0x212d('0x33'),'subType':'imageCaption'},{'type':_0x212d('0x12'),'subType':_0x212d('0x43')},{'type':_0x212d('0x33'),'subType':_0x212d('0x43')}];function _0x3f4885(_0x293c56,_0x127ded){const _0x119ba4=_0x4c8df7[_0x212d('0x4b')](({type:_0x5c270d,subType:_0x515688})=>_0x293c56[_0x212d('0x21')]==_0x5c270d&&_0x293c56[_0x212d('0x52')]==_0x515688),_0x25d74e=_0x4c8df7[_0x212d('0x4b')](({type:_0x3898cf,subType:_0xeaa606})=>_0x127ded['type']==_0x3898cf&&_0x127ded['subType']==_0xeaa606);if(_0x119ba4<0x0||_0x25d74e<0x0)return!0x1;const _0x30adb1=_0x293c56[_0x212d('0x63')](),_0x975efa=_0x127ded[_0x212d('0x63')]();if((0x0==_0x119ba4||0x1==_0x119ba4)&&0x2==_0x25d74e&&_0x30adb1['isIntersecting'](_0x975efa))return!0x0;if(0x2==_0x119ba4&&0x3==_0x25d74e){const _0x78665f=_0x42e3ec[_0x212d('0x34')](_0x30adb1,'insertion')[_0x212d('0x48')](({suggestion:_0x347c0d,meta:_0x3bc63c})=>_0x3bc63c[_0x212d('0x1')]&&_0x212d('0x43')==_0x347c0d['subType']);if(_0x78665f['length']>0x1&&_0x975efa['end'][_0x212d('0x9')](_0x30adb1[_0x212d('0x1c')]))return!0x0;if(0x1==_0x78665f['length']&&(_0x30adb1[_0x212d('0x1c')][_0x212d('0x9')](_0x975efa[_0x212d('0x5e')])||_0x30adb1[_0x212d('0x5e')][_0x212d('0x9')](_0x975efa[_0x212d('0x1c')])))return!0x0;}if(0x3==_0x119ba4&&0x3==_0x25d74e&&_0x30adb1['start']['isBefore'](_0x975efa[_0x212d('0x1c')])){const _0x20f58a=_0x30adb1[_0x212d('0x5e')][_0x212d('0x3')],_0x2be776=_0x975efa[_0x212d('0x1c')][_0x212d('0x58')];return _0x5082d7[_0x212d('0x61')](_0x20f58a)&&_0x20f58a===_0x2be776;}return!0x1;}function _0x1d167d(_0x4e6467,_0x754742){return _0x3f4885(_0x4e6467,_0x754742)?[_0x4e6467,_0x754742]:_0x3f4885(_0x754742,_0x4e6467)?[_0x754742,_0x4e6467]:null;}_0x30c601[_0x212d('0x16')][_0x212d('0x49')][_0x212d('0x32')](()=>{let _0x322038=!0x1;const _0x1a57f6=Array[_0x212d('0x77')](_0x30c601[_0x212d('0x16')][_0x212d('0x49')]['differ'][_0x212d('0x50')]());for(const {name:_0x5d2cad,data:_0x455ae7}of _0x1a57f6){const {group:_0x4516ae,type:_0x1f00b0,subType:_0x2de018,id:_0x10aa7d}=_0x42e3ec[_0x212d('0x1f')](_0x5d2cad);if(_0x212d('0x37')==_0x4516ae&&_0x42e3ec[_0x212d('0x4c')](_0x10aa7d)){if(_0x212d('0x12')==_0x1f00b0&&('imageStylePreApply'==_0x2de018||'imageStylePostApply'==_0x2de018)){const _0x4b02be=_0x42e3ec['getSuggestion'](_0x10aa7d);if(_0x455ae7['newRange']){const _0x31cc33=_0x4b02be[_0x212d('0x63')]()[_0x212d('0x51')]();if(_0x5082d7[_0x212d('0x61')](_0x31cc33))continue;_0x42e3ec[_0x212d('0x55')](_0x4b02be),_0x322038=!0x0;}}if('insertion'==_0x1f00b0&&'imageCaption'==_0x2de018&&!_0x455ae7[_0x212d('0x64')]){const _0x29de2a=_0x42e3ec['getSuggestion'](_0x10aa7d);_0x29de2a[_0x212d('0x6e')]&&_0x29de2a['next'][_0x212d('0x28')]&&(_0x42e3ec[_0x212d('0x55')](_0x29de2a['next']),_0x322038=!0x0);}}}return _0x322038;}),_0x30c601[_0x212d('0x76')][_0x212d('0x47')]('ImageResize')&&_0x42e3ec[_0x212d('0x46')](_0x212d('0x3a'),(_0x3677dc,_0x5f49e7)=>{const _0x397aed=_0x5082d7[_0x212d('0x42')](_0x30c601[_0x212d('0x16')]['document']['selection']);_0x397aed[_0x212d('0x70')](_0x212d('0x72'))!=_0x5f49e7['width']&&_0x30c601['model']['change'](()=>{_0x42e3ec[_0x212d('0x18')](_0x397aed,{'commandName':'resizeImage','commandParams':[_0x5f49e7]});});}),_0x30c601[_0x212d('0x76')]['has'](_0x212d('0x74'))&&_0x42e3ec['enableCommand'](_0x212d('0x2b'),(_0xe561ec,_0x3c9241)=>{const _0x382860=_0x5082d7[_0x212d('0x42')](_0x30c601[_0x212d('0x16')][_0x212d('0x49')][_0x212d('0xf')]);(_0x382860['hasAttribute']('alt')?_0x382860[_0x212d('0x70')](_0x212d('0x66')):'')!=_0x3c9241[_0x212d('0x25')]&&_0x30c601[_0x212d('0x16')][_0x212d('0x2c')](()=>{_0x42e3ec[_0x212d('0x18')](_0x382860,{'commandName':_0x212d('0x2b'),'commandParams':[_0x3c9241]});});}),_0x42e3ec['_descriptionFactory'][_0x212d('0x62')](_0x234bca=>{if(!!_0x4c8df7[_0x212d('0x78')](({type:_0x3d2667,subType:_0x44e6a1})=>_0x234bca['type']==_0x3d2667&&_0x234bca[_0x212d('0x52')]==_0x44e6a1))return _0x234bca[_0x212d('0xc')]?{}:void 0x0;}),_0x42e3ec['_descriptionFactory'][_0x212d('0x62')](_0x471e9b=>{if(_0x212d('0x33')==_0x471e9b[_0x212d('0x21')]||_0x212d('0x4e')==_0x471e9b['type']){const _0x1ae7a6=_0x471e9b[_0x212d('0x51')]();if(_0x1ae7a6&&_0x1ae7a6['is'](_0x212d('0x5f'),_0x212d('0x5')))return{'type':'insertion'==_0x471e9b[_0x212d('0x21')]?_0x212d('0x38'):_0x212d('0x29'),'element':_0x1ae7a6,'quantity':0x1};}}),_0x42e3ec[_0x212d('0x26')][_0x212d('0x62')](_0x1dcc0e=>_0x212d('0x12')==_0x1dcc0e[_0x212d('0x21')]&&_0x212d('0x43')==_0x1dcc0e[_0x212d('0x52')]?{'type':_0x212d('0x54'),'content':_0x212d('0x68')}:_0x212d('0x12')==_0x1dcc0e[_0x212d('0x21')]&&_0x212d('0x10')==_0x1dcc0e[_0x212d('0x52')]?{'type':_0x212d('0x54'),'content':_0x212d('0x35')}:void 0x0),_0x42e3ec[_0x212d('0x26')][_0x212d('0x62')](_0x543522=>{const {data:_0x3e8697}=_0x543522;if(_0x3e8697){if(_0x212d('0x79')==_0x3e8697['commandName']){const _0x2c2c6c=_0x3e8697[_0x212d('0x30')][0x0][_0x212d('0x1e')];return _0x3c92e0(_0x212d('0x19')===_0x2c2c6c?_0x512f65(_0x46f990,_0x212d('0x60')):_0x4f5826[_0x2c2c6c]||_0x2c2c6c);}if('imageTextAlternative'==_0x3e8697[_0x212d('0x27')]){const _0x396e07=_0x3e8697[_0x212d('0x30')][0x0]['newValue'];return _0x396e07?{'type':_0x212d('0x54'),'content':_0x512f65(_0x46f990,_0x212d('0x14'),'\x22'+_0x396e07+'\x22')}:{'type':'format','content':_0x512f65(_0x46f990,_0x212d('0x3d'))};}if(_0x212d('0x3a')==_0x3e8697[_0x212d('0x27')]){const _0x1e4500=_0x3e8697['commandParams'][0x0][_0x212d('0x6f')];return _0x1e4500?{'type':_0x212d('0x54'),'content':_0x512f65(_0x46f990,'*Set\x20image\x20width:*\x20%0',_0x1e4500)}:{'type':_0x212d('0x54'),'content':_0x512f65(_0x46f990,_0x212d('0x5c'))};}}function _0x3c92e0(_0xd71d40){return{'type':_0x212d('0x54'),'content':_0x512f65(_0x46f990,_0x212d('0x45'),_0xd71d40)};}});}}
23
+ const _0x4d82=['ImageUploadEditing','isBefore','getAttribute','convertInlineImageToBlock','alt','isBlockImage','imageTextAlternative','from','caption','Inline\x20image\x20to\x20block\x20image','discard','_suggestionFactory','removeObject','format','element','ImageTextAlternativeEditing','width','change','imageTypeBlock','next','registerCustomCallback','ImageBlockEditing','isInContent','setImageNaturalSizeAttributes','createRangeOn','formatBlock','markInlineFormat','commandParams','commandName','suggestion','registerPostFixer','discardSuggestion','imageStylePostApply','forEach','newRange','name','*Format:*\x20%0','value','end','isInlineImage','convertBlockImageToInline','length','forceDefaultExecution','nodeBefore','ImageStyleEditing','afterInit','differ','ELEMENT_INLINE_IMAGE','commands','toLowerCase','getFirstRange','getNearestSelectionRange','start','hasSuggestion','isIntersecting','backward','document','formatInline','selection','deletion','find','_descriptionFactory','FORMAT_SIDE_IMAGE','uploadImage','getSuggestionCallback','hasAttribute','imageStyle','newValue','subType','resizeImage','ELEMENT_IMAGE','ImageCaptionEditing','TrackChangesEditing','detach','previous','refresh','filter','ImageEditing','locale','get','chain','enableCommand','type','isEqual','registerElementLabel','getSuggestion','findIndex','normalizedStyles','insertion','join','insertImage','markDeletion','markBlockFormat','ImageUtils','getClosestSelectedImageElement','ELEMENT_CAPTION','getCaptionFromImageModelElement','has','Block\x20image\x20to\x20inline\x20image','imageInline','*Set\x20image\x20text\x20alternative:*\x20%0','toPrevious','isCollapsed','imageTypeInline','plugins','isOwn','editor','registerDescriptionCallback','model','markInsertion','accept','schema','imageCaption','createRange','fromPosition','ImageResize','ImageInlineEditing','shouldConvertImageType','getContainedElement','imageStylePreApply','ImageCaptionUtils','head','toNext'];(function(_0x4396be,_0x4d829a){const _0x28bc86=function(_0x1e4e1c){while(--_0x1e4e1c){_0x4396be['push'](_0x4396be['shift']());}};_0x28bc86(++_0x4d829a);}(_0x4d82,0x180));const _0x28bc=function(_0x4396be,_0x4d829a){_0x4396be=_0x4396be-0x0;let _0x28bc86=_0x4d82[_0x4396be];return _0x28bc86;};import{Plugin as _0x2552fc}from'ckeditor5/src/core';import{LivePosition as _0x1d0f03}from'ckeditor5/src/engine';import{uid as _0x4abd66}from'ckeditor5/src/utils';import{getTranslation as _0x1d6486}from'../utils/common-translations';export default class Y extends _0x2552fc{[_0x28bc('0x1e')](){const _0x2afeee=this[_0x28bc('0x5b')];if(!_0x2afeee[_0x28bc('0x59')][_0x28bc('0x52')](_0x28bc('0x3e')))return;const _0x176f7b=_0x2afeee[_0x28bc('0x59')]['get'](_0x28bc('0x39')),_0x5d5fad=_0x2afeee['plugins'][_0x28bc('0x40')](_0x28bc('0x4e')),_0x2a9e77={},_0x2e8369=_0x2afeee[_0x28bc('0x3f')];if(_0x176f7b[_0x28bc('0x42')](_0x28bc('0x4b')),_0x176f7b[_0x28bc('0x2e')][_0x28bc('0x45')]('imageBlock',_0x34b884=>_0x1d6486(_0x2e8369,_0x28bc('0x37'),_0x34b884)),_0x176f7b['_descriptionFactory'][_0x28bc('0x45')](_0x28bc('0x54'),_0x1d443b=>_0x1d6486(_0x2e8369,_0x28bc('0x20'),_0x1d443b)),_0x176f7b[_0x28bc('0x2e')][_0x28bc('0x45')](_0x28bc('0x74'),()=>_0x1d6486(_0x2e8369,_0x28bc('0x50'))),_0x2afeee[_0x28bc('0x59')][_0x28bc('0x52')](_0x28bc('0x6c'))&&_0x176f7b[_0x28bc('0x42')](_0x28bc('0x30')),_0x2afeee[_0x28bc('0x59')][_0x28bc('0x52')](_0x28bc('0x6'))&&_0x2afeee['plugins'][_0x28bc('0x52')](_0x28bc('0x65'))&&(_0x176f7b[_0x28bc('0x42')]('imageTypeInline',(_0x4a50c8,_0x5ca97a)=>{const _0x33a0d9=_0x5d5fad[_0x28bc('0x4f')](_0x2afeee[_0x28bc('0x5d')][_0x28bc('0x29')]['selection']);_0x2afeee['model'][_0x28bc('0x2')](()=>{_0x176f7b[_0x28bc('0x4d')](_0x33a0d9,{'commandName':_0x28bc('0x58'),'commandParams':[_0x5ca97a]},[],'convertBlockImageToInline');});}),_0x176f7b[_0x28bc('0x42')](_0x28bc('0x3'),(_0x43da48,_0x74764d)=>{_0x2afeee[_0x28bc('0x5d')]['change'](_0x5bf19a=>{let _0xe8fdc1=_0x5d5fad[_0x28bc('0x4f')](_0x2afeee[_0x28bc('0x5d')]['document']['selection']),_0x22c35c=_0x5bf19a[_0x28bc('0x9')](_0xe8fdc1);const _0x4d161b=_0x1d0f03[_0x28bc('0x63')](_0x22c35c['start'],_0x28bc('0x56')),_0x5c466f=_0x1d0f03[_0x28bc('0x63')](_0x22c35c['end'],_0x28bc('0x6b'));_0x176f7b[_0x28bc('0x1b')](()=>_0x43da48(_0x74764d)),_0xe8fdc1=_0x5d5fad[_0x28bc('0x4f')](_0x2afeee[_0x28bc('0x5d')][_0x28bc('0x29')][_0x28bc('0x2b')]),_0x22c35c=_0x5bf19a['createRangeOn'](_0xe8fdc1);const _0x393434=_0x5bf19a[_0x28bc('0x62')](_0x4d161b,_0x5c466f);_0x4d161b['detach'](),_0x5c466f[_0x28bc('0x3a')](),_0x176f7b[_0x28bc('0x4d')](_0xe8fdc1,{'commandName':_0x28bc('0x58'),'commandParams':[_0x74764d]},[],_0x28bc('0x6f')),_0x393434['start'][_0x28bc('0x6d')](_0x22c35c['start'])&&_0x176f7b[_0x28bc('0x5e')](_0x5bf19a[_0x28bc('0x62')](_0x393434[_0x28bc('0x25')],_0x22c35c[_0x28bc('0x25')]),'convertInlineImageToBlock'),_0x22c35c[_0x28bc('0x17')][_0x28bc('0x6d')](_0x393434[_0x28bc('0x17')])&&_0x176f7b[_0x28bc('0x5e')](_0x5bf19a[_0x28bc('0x62')](_0x22c35c[_0x28bc('0x17')],_0x393434[_0x28bc('0x17')]),_0x28bc('0x6f'));});}),_0x176f7b[_0x28bc('0x77')][_0x28bc('0x5')]('formatBlock',_0x28bc('0x6f'),'join',()=>!0x1),_0x176f7b[_0x28bc('0x77')][_0x28bc('0x5')](_0x28bc('0xa'),_0x28bc('0x6f'),'accept',()=>!0x1),_0x176f7b[_0x28bc('0x77')][_0x28bc('0x5')](_0x28bc('0xa'),'convertInlineImageToBlock','discard',_0x176f7b['_suggestionFactory'][_0x28bc('0x31')](_0x28bc('0xa'),'',_0x28bc('0x5f'))),_0x176f7b[_0x28bc('0x77')][_0x28bc('0x5')]('insertion',_0x28bc('0x6f'),_0x28bc('0x4a'),()=>!0x1),_0x176f7b[_0x28bc('0x77')][_0x28bc('0x5')](_0x28bc('0x49'),_0x28bc('0x6f'),_0x28bc('0x76'),([_0x3fe610])=>{const _0x3456b5=_0x176f7b[_0x28bc('0x77')][_0x28bc('0x31')]('insertion','','discard');let _0x305f05=_0x3fe610['start'],_0x39c567=_0x3fe610[_0x28bc('0x17')];const _0x1d0c5c=_0x2afeee[_0x28bc('0x5d')][_0x28bc('0x60')]['getNearestSelectionRange'](_0x305f05,_0x28bc('0x28')),_0x47d0ea=_0x2afeee['model'][_0x28bc('0x60')][_0x28bc('0x24')](_0x39c567,'forward');_0x1d0c5c[_0x28bc('0x57')]&&(_0x305f05=_0x1d0c5c['start']),_0x47d0ea[_0x28bc('0x57')]&&(_0x39c567=_0x47d0ea[_0x28bc('0x17')]),_0x3456b5([_0x2afeee[_0x28bc('0x5d')][_0x28bc('0x62')](_0x305f05,_0x39c567)]);}),_0x176f7b['_suggestionFactory'][_0x28bc('0x5')]('formatBlock',_0x28bc('0x6f'),'chain',_0x283630),_0x176f7b['_suggestionFactory'][_0x28bc('0x5')](_0x28bc('0x49'),_0x28bc('0x6f'),'chain',_0x283630)),_0x2afeee[_0x28bc('0x59')][_0x28bc('0x52')](_0x28bc('0x38'))&&(_0x176f7b[_0x28bc('0x42')]('toggleImageCaption',(_0x5cbd80,_0xe5abf9)=>{const _0x422f73=_0x2afeee[_0x28bc('0x59')][_0x28bc('0x40')](_0x28bc('0x69'));let _0x17a557=_0x5d5fad[_0x28bc('0x4f')](_0x2afeee['model'][_0x28bc('0x29')][_0x28bc('0x2b')]),_0x32a9b1=_0x422f73['getCaptionFromImageModelElement'](_0x17a557);_0x2afeee[_0x28bc('0x5d')]['change'](()=>{if(_0x32a9b1)return void _0x176f7b[_0x28bc('0x4c')](_0x2afeee[_0x28bc('0x5d')][_0x28bc('0x9')](_0x32a9b1));const _0x352443=_0x5d5fad[_0x28bc('0x71')](_0x17a557);_0x5cbd80(_0xe5abf9),_0x17a557=_0x5d5fad[_0x28bc('0x4f')](_0x2afeee[_0x28bc('0x5d')][_0x28bc('0x29')][_0x28bc('0x2b')]),_0x32a9b1=_0x422f73[_0x28bc('0x51')](_0x17a557),_0x176f7b[_0x28bc('0x5e')](_0x2afeee[_0x28bc('0x5d')][_0x28bc('0x9')](_0x32a9b1),_0x352443?null:_0x28bc('0x61'));});}),_0x176f7b[_0x28bc('0x77')]['registerCustomCallback'](_0x28bc('0x49'),_0x28bc('0x61'),_0x28bc('0x41'),_0x283630)),_0x2afeee['plugins'][_0x28bc('0x52')](_0x28bc('0x1d'))){_0x176f7b[_0x28bc('0x42')]('imageStyle',(_0x5d3916,_0x158d9c)=>{const _0x277cb3=_0x2afeee[_0x28bc('0x59')][_0x28bc('0x40')]('Users')['me'],_0x520383=_0x2afeee['commands'][_0x28bc('0x40')](_0x28bc('0x33'));let _0x4b74c0=_0x5d5fad['getClosestSelectedImageElement'](_0x2afeee[_0x28bc('0x5d')][_0x28bc('0x29')][_0x28bc('0x2b')]),_0x1f2e9e=_0x2afeee[_0x28bc('0x5d')][_0x28bc('0x9')](_0x4b74c0),_0x268c7d=_0x520383[_0x28bc('0x16')];if(_0x268c7d==_0x158d9c[_0x28bc('0x16')])return;const _0x1bfdb4={'commandName':_0x28bc('0x33'),'commandParams':[_0x158d9c],'formatGroupId':_0x4abd66()};_0x2afeee['model'][_0x28bc('0x2')](()=>{if(_0x176f7b['getSuggestions']()['filter'](_0x43cfc7=>_0x43cfc7[_0x28bc('0x7')]&&_0x277cb3==_0x43cfc7['author']&&(_0x28bc('0xa')==_0x43cfc7[_0x28bc('0x43')]||_0x28bc('0x2a')==_0x43cfc7[_0x28bc('0x43')])&&(_0x28bc('0x68')==_0x43cfc7['subType']||_0x28bc('0x11')==_0x43cfc7['subType'])&&_0x43cfc7[_0x28bc('0x23')]()[_0x28bc('0x44')](_0x1f2e9e))[_0x28bc('0x12')](_0x2c2c41=>_0x176f7b[_0x28bc('0x10')](_0x2c2c41[_0x28bc('0x6a')])),_0x4b74c0=_0x5d5fad[_0x28bc('0x4f')](_0x2afeee['model'][_0x28bc('0x29')]['selection']),_0x1f2e9e=_0x2afeee['model'][_0x28bc('0x9')](_0x4b74c0),_0x520383['refresh'](),_0x2afeee[_0x28bc('0x21')][_0x28bc('0x40')](_0x28bc('0x58'))[_0x28bc('0x3c')](),_0x2afeee['commands'][_0x28bc('0x40')](_0x28bc('0x3'))[_0x28bc('0x3c')](),_0x268c7d=_0x520383[_0x28bc('0x16')],_0x268c7d!=_0x158d9c[_0x28bc('0x16')])return _0x5d5fad[_0x28bc('0x18')](_0x4b74c0)&&_0x520383[_0x28bc('0x66')](_0x158d9c['value'],_0x4b74c0)?(_0x5d3916({..._0x158d9c,'setImageSizes':!0x1}),_0x4b74c0=_0x5d5fad[_0x28bc('0x4f')](_0x2afeee['model'][_0x28bc('0x29')][_0x28bc('0x2b')]),void _0x176f7b[_0x28bc('0x4d')](_0x4b74c0,{..._0x1bfdb4,'commandReversedParams':[{'value':_0x268c7d||null,'setImageSizes':!0x1}]},[],_0x28bc('0x68'))):void(_0x5d5fad[_0x28bc('0x71')](_0x4b74c0)?_0x176f7b['markBlockFormat'](_0x4b74c0,_0x1bfdb4,[],_0x28bc('0x11')):_0x176f7b[_0x28bc('0xb')](_0x1f2e9e,_0x1bfdb4,_0x28bc('0x11')));});});for(const _0x183366 of _0x2afeee['plugins']['get'](_0x28bc('0x1d'))[_0x28bc('0x48')])_0x2a9e77[_0x183366[_0x28bc('0x14')]]=_0x183366['title'][_0x28bc('0x22')]();_0x176f7b[_0x28bc('0x77')]['registerCustomCallback'](_0x28bc('0xa'),_0x28bc('0x68'),'join',()=>!0x1),_0x176f7b['_suggestionFactory']['registerCustomCallback'](_0x28bc('0xa'),'imageStylePostApply','join',()=>!0x1),_0x176f7b[_0x28bc('0x77')][_0x28bc('0x5')](_0x28bc('0x2a'),_0x28bc('0x11'),'join',()=>!0x1),_0x176f7b[_0x28bc('0x77')][_0x28bc('0x5')](_0x28bc('0xa'),_0x28bc('0x68'),_0x28bc('0x5f'),([_0x45e9be])=>{_0x5d5fad[_0x28bc('0x8')](_0x45e9be[_0x28bc('0x67')]());}),_0x176f7b[_0x28bc('0x77')][_0x28bc('0x5')](_0x28bc('0xa'),_0x28bc('0x68'),_0x28bc('0x76'),(_0xe5c45f,_0x33c428)=>{_0x176f7b[_0x28bc('0x77')][_0x28bc('0x31')]('formatBlock','',_0x28bc('0x5f'))(_0xe5c45f,{'commandName':_0x33c428['commandName'],'commandParams':_0x33c428['commandReversedParams']});}),_0x176f7b[_0x28bc('0x77')][_0x28bc('0x5')](_0x28bc('0xa'),_0x28bc('0x68'),'chain',_0x283630);}const _0x2fe278=[{'type':_0x28bc('0xa'),'subType':_0x28bc('0x68')},{'type':'insertion','subType':_0x28bc('0x61')},{'type':_0x28bc('0xa'),'subType':_0x28bc('0x6f')},{'type':'insertion','subType':_0x28bc('0x6f')}];function _0x3e3e2f(_0x8963b,_0x408563){const _0x25c83b=_0x2fe278[_0x28bc('0x47')](({type:_0xea293e,subType:_0x510ea3})=>_0x8963b['type']==_0xea293e&&_0x8963b[_0x28bc('0x35')]==_0x510ea3),_0xcd1484=_0x2fe278['findIndex'](({type:_0x24680a,subType:_0x3dd728})=>_0x408563[_0x28bc('0x43')]==_0x24680a&&_0x408563[_0x28bc('0x35')]==_0x3dd728);if(_0x25c83b<0x0||_0xcd1484<0x0)return!0x1;const _0x5d6f3b=_0x8963b[_0x28bc('0x23')](),_0x272f78=_0x408563[_0x28bc('0x23')]();if((0x0==_0x25c83b||0x1==_0x25c83b)&&0x2==_0xcd1484&&_0x5d6f3b[_0x28bc('0x27')](_0x272f78))return!0x0;if(0x2==_0x25c83b&&0x3==_0xcd1484){const _0x5cde68=_0x176f7b['_findSuggestions'](_0x5d6f3b,_0x28bc('0x49'))[_0x28bc('0x3d')](({suggestion:_0x1a3507,meta:_0x4bf2e8})=>_0x4bf2e8[_0x28bc('0x5a')]&&'convertInlineImageToBlock'==_0x1a3507[_0x28bc('0x35')]);if(_0x5cde68['length']>0x1&&_0x272f78[_0x28bc('0x17')][_0x28bc('0x44')](_0x5d6f3b['start']))return!0x0;if(0x1==_0x5cde68[_0x28bc('0x1a')]&&(_0x5d6f3b[_0x28bc('0x25')][_0x28bc('0x44')](_0x272f78['end'])||_0x5d6f3b[_0x28bc('0x17')]['isEqual'](_0x272f78['start'])))return!0x0;}if(0x3==_0x25c83b&&0x3==_0xcd1484&&_0x5d6f3b['start'][_0x28bc('0x6d')](_0x272f78[_0x28bc('0x25')])){const _0x4ce4fb=_0x5d6f3b[_0x28bc('0x17')]['nodeAfter'],_0xdf20c0=_0x272f78['start'][_0x28bc('0x1c')];return _0x5d5fad['isBlockImage'](_0x4ce4fb)&&_0x4ce4fb===_0xdf20c0;}return!0x1;}function _0x283630(_0x261fea,_0xe7b5d9){return _0x3e3e2f(_0x261fea,_0xe7b5d9)?[_0x261fea,_0xe7b5d9]:_0x3e3e2f(_0xe7b5d9,_0x261fea)?[_0xe7b5d9,_0x261fea]:null;}_0x2afeee['model'][_0x28bc('0x29')][_0x28bc('0xf')](()=>{let _0x863a28=!0x1;const _0x3c33fc=Array[_0x28bc('0x73')](_0x2afeee['model'][_0x28bc('0x29')][_0x28bc('0x1f')]['getChangedMarkers']());for(const {name:_0x9f932c,data:_0x27799d}of _0x3c33fc){const {group:_0x3c8120,type:_0x26a646,subType:_0x1078e7,id:_0x1ac4fc}=_0x176f7b['_splitMarkerName'](_0x9f932c);if(_0x28bc('0xe')==_0x3c8120&&_0x176f7b[_0x28bc('0x26')](_0x1ac4fc)){if(_0x28bc('0xa')==_0x26a646&&(_0x28bc('0x68')==_0x1078e7||_0x28bc('0x11')==_0x1078e7)){const _0x18a6f9=_0x176f7b['getSuggestion'](_0x1ac4fc);if(_0x27799d[_0x28bc('0x13')]){const _0x19dc5c=_0x18a6f9['getFirstRange']()[_0x28bc('0x67')]();if(_0x5d5fad[_0x28bc('0x71')](_0x19dc5c))continue;_0x176f7b[_0x28bc('0x10')](_0x18a6f9),_0x863a28=!0x0;}}if(_0x28bc('0x49')==_0x26a646&&'imageCaption'==_0x1078e7&&!_0x27799d['newRange']){const _0x2e6ed8=_0x176f7b[_0x28bc('0x46')](_0x1ac4fc);_0x2e6ed8[_0x28bc('0x4')]&&_0x2e6ed8[_0x28bc('0x4')]['isInContent']&&(_0x176f7b['discardSuggestion'](_0x2e6ed8[_0x28bc('0x4')]),_0x863a28=!0x0);}}}return _0x863a28;}),_0x2afeee[_0x28bc('0x59')][_0x28bc('0x52')](_0x28bc('0x64'))&&_0x176f7b['enableCommand'](_0x28bc('0x36'),(_0x3163f5,_0x28615d)=>{const _0x4fb377=_0x5d5fad[_0x28bc('0x4f')](_0x2afeee[_0x28bc('0x5d')]['document']['selection']);_0x4fb377[_0x28bc('0x6e')]('resizedWidth')!=_0x28615d[_0x28bc('0x1')]&&_0x2afeee['model'][_0x28bc('0x2')](()=>{_0x176f7b['markBlockFormat'](_0x4fb377,{'commandName':'resizeImage','commandParams':[_0x28615d]});});}),_0x2afeee[_0x28bc('0x59')][_0x28bc('0x52')](_0x28bc('0x0'))&&_0x176f7b[_0x28bc('0x42')](_0x28bc('0x72'),(_0x2eeef9,_0x3531ec)=>{const _0x523d9d=_0x5d5fad[_0x28bc('0x4f')](_0x2afeee[_0x28bc('0x5d')][_0x28bc('0x29')][_0x28bc('0x2b')]);(_0x523d9d[_0x28bc('0x32')](_0x28bc('0x70'))?_0x523d9d['getAttribute'](_0x28bc('0x70')):'')!=_0x3531ec['newValue']&&_0x2afeee[_0x28bc('0x5d')]['change'](()=>{_0x176f7b[_0x28bc('0x4d')](_0x523d9d,{'commandName':'imageTextAlternative','commandParams':[_0x3531ec]});});}),_0x176f7b['_descriptionFactory'][_0x28bc('0x5c')](_0x538100=>{if(!!_0x2fe278[_0x28bc('0x2d')](({type:_0x10d1b9,subType:_0x2c9579})=>_0x538100['type']==_0x10d1b9&&_0x538100[_0x28bc('0x35')]==_0x2c9579))return _0x538100[_0x28bc('0x3b')]?{}:void 0x0;}),_0x176f7b['_descriptionFactory'][_0x28bc('0x5c')](_0x2e33cc=>{if(_0x28bc('0x49')==_0x2e33cc['type']||_0x28bc('0x2c')==_0x2e33cc[_0x28bc('0x43')]){const _0x58c0b7=_0x2e33cc['getContainedElement']();if(_0x58c0b7&&_0x58c0b7['is'](_0x28bc('0x7a'),'caption'))return{'type':'insertion'==_0x2e33cc[_0x28bc('0x43')]?'addObject':_0x28bc('0x78'),'element':_0x58c0b7,'quantity':0x1};}}),_0x176f7b[_0x28bc('0x2e')][_0x28bc('0x5c')](_0x3b7a5=>_0x28bc('0xa')==_0x3b7a5[_0x28bc('0x43')]&&_0x28bc('0x6f')==_0x3b7a5[_0x28bc('0x35')]?{'type':_0x28bc('0x79'),'content':_0x28bc('0x75')}:'formatBlock'==_0x3b7a5[_0x28bc('0x43')]&&_0x28bc('0x19')==_0x3b7a5['subType']?{'type':_0x28bc('0x79'),'content':_0x28bc('0x53')}:void 0x0),_0x176f7b[_0x28bc('0x2e')][_0x28bc('0x5c')](_0x76ce7e=>{const {data:_0xbac934}=_0x76ce7e;if(_0xbac934){if(_0x28bc('0x33')==_0xbac934[_0x28bc('0xd')]){const _0x4034f5=_0xbac934[_0x28bc('0xc')][0x0]['value'];return _0x57fd45('side'===_0x4034f5?_0x1d6486(_0x2e8369,_0x28bc('0x2f')):_0x2a9e77[_0x4034f5]||_0x4034f5);}if(_0x28bc('0x72')==_0xbac934[_0x28bc('0xd')]){const _0x52dcf5=_0xbac934[_0x28bc('0xc')][0x0][_0x28bc('0x34')];return _0x52dcf5?{'type':'format','content':_0x1d6486(_0x2e8369,_0x28bc('0x55'),'\x22'+_0x52dcf5+'\x22')}:{'type':_0x28bc('0x79'),'content':_0x1d6486(_0x2e8369,'*Remove\x20image\x20text\x20alternative*')};}if(_0x28bc('0x36')==_0xbac934[_0x28bc('0xd')]){const _0x51d7a0=_0xbac934['commandParams'][0x0]['width'];return _0x51d7a0?{'type':_0x28bc('0x79'),'content':_0x1d6486(_0x2e8369,'*Set\x20image\x20width:*\x20%0',_0x51d7a0)}:{'type':_0x28bc('0x79'),'content':_0x1d6486(_0x2e8369,'*Reset\x20image\x20width*')};}}function _0x57fd45(_0x4b68d8){return{'type':_0x28bc('0x79'),'content':_0x1d6486(_0x2e8369,_0x28bc('0x15'),_0x4b68d8)};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5e4c=['author','afterInit','source','model','locale','src','commandParams','has','data','subType','accept','editor','_descriptionFactory','formatBlock','getSuggestionCallback','replaceImageSource','getContainedElement','get','enableCommand','plugins','getSelectedElement','TrackChangesEditing','ImageEditing','handleSuggestionDescription','registerCustomCallback','markBlockFormat','selection','_suggestionFactory','document','Users','handleReplaceImageCommand','getAttribute','*Format:*\x20replace\x20image\x20URL','discard'];(function(_0x351379,_0x5e4c68){const _0x1f2af6=function(_0x36c5c1){while(--_0x36c5c1){_0x351379['push'](_0x351379['shift']());}};_0x1f2af6(++_0x5e4c68);}(_0x5e4c,0x143));const _0x1f2a=function(_0x351379,_0x5e4c68){_0x351379=_0x351379-0x0;let _0x1f2af6=_0x5e4c[_0x351379];return _0x1f2af6;};import{Plugin as _0x2cb747}from'ckeditor5/src/core';import{getTranslation as _0x3cfb74}from'../utils/common-translations';export default class Z extends _0x2cb747{[_0x1f2a('0x12')](){if(!this[_0x1f2a('0x1c')][_0x1f2a('0x2')][_0x1f2a('0x18')](_0x1f2a('0x5')))return;const _0x158dae=this[_0x1f2a('0x1c')][_0x1f2a('0x2')][_0x1f2a('0x0')](_0x1f2a('0x4'));_0x158dae[_0x1f2a('0x1')]('replaceImageSource',(_0x465da6,_0x30572e)=>this[_0x1f2a('0xd')](_0x465da6,_0x30572e)),_0x158dae[_0x1f2a('0xa')][_0x1f2a('0x7')](_0x1f2a('0x1e'),'replaceImageSource','accept',_0x158dae[_0x1f2a('0xa')]['getSuggestionCallback'](_0x1f2a('0x1e'),null,_0x1f2a('0x10'))),_0x158dae[_0x1f2a('0xa')][_0x1f2a('0x7')]('formatBlock','replaceImageSource',_0x1f2a('0x10'),_0x158dae['_suggestionFactory'][_0x1f2a('0x1f')](_0x1f2a('0x1e'),null,_0x1f2a('0x1b'))),_0x158dae[_0x1f2a('0x1d')]['registerDescriptionCallback'](_0x259b92=>this[_0x1f2a('0x6')](_0x259b92));}[_0x1f2a('0xd')](_0x5e4349,_0x24bb5e){const _0x2c4544=this[_0x1f2a('0x1c')][_0x1f2a('0x2')][_0x1f2a('0x0')](_0x1f2a('0x4')),_0x273220=this[_0x1f2a('0x1c')][_0x1f2a('0x14')][_0x1f2a('0xb')][_0x1f2a('0x9')][_0x1f2a('0x3')]();this[_0x1f2a('0x1c')][_0x1f2a('0x14')]['change'](()=>{let _0xd6e016=_0x273220[_0x1f2a('0xe')](_0x1f2a('0x16'));const _0x19c393=this[_0x1f2a('0x1c')][_0x1f2a('0x2')][_0x1f2a('0x0')](_0x1f2a('0xc'))['me'];for(const _0x5579bc of _0x2c4544['getSuggestions']({'skipNotAttached':!0x0})){const _0x40222f=_0x5579bc[_0x1f2a('0x21')]();if(_0x1f2a('0x20')===_0x5579bc[_0x1f2a('0x1a')]&&_0x40222f===_0x273220){_0x5579bc[_0x1f2a('0x11')]!==_0x19c393&&_0x5579bc['discard'](),_0xd6e016=_0x5579bc[_0x1f2a('0x19')][_0x1f2a('0x17')][0x0][_0x1f2a('0x13')];break;}}_0x5e4349(_0x24bb5e),_0x2c4544[_0x1f2a('0x8')](_0x273220,{'commandName':_0x1f2a('0x20'),'commandParams':[{'source':_0xd6e016}]},[],_0x1f2a('0x20'));});}[_0x1f2a('0x6')](_0x1fa393){const {data:_0x54eb20}=_0x1fa393;if(_0x54eb20&&_0x1f2a('0x20')===_0x54eb20['commandName']){const _0x480f5e=_0x1f2a('0xf');return{'type':'format','content':_0x3cfb74(this['editor'][_0x1f2a('0x15')],_0x480f5e)};}}}
23
+ const _0x1280=['document','author','TrackChangesEditing','markBlockFormat','registerDescriptionCallback','handleReplaceImageCommand','getContainedElement','source','data','formatBlock','commandName','model','_descriptionFactory','accept','replaceImageSource','_suggestionFactory','editor','discard','format','enableCommand','get','getSuggestions','registerCustomCallback','getSelectedElement','locale','ImageEditing','*Format:*\x20replace\x20image\x20URL','getSuggestionCallback','afterInit','change','getAttribute','plugins','commandParams','Users'];(function(_0x55202e,_0x1280d4){const _0x50f7a1=function(_0xdb068c){while(--_0xdb068c){_0x55202e['push'](_0x55202e['shift']());}};_0x50f7a1(++_0x1280d4);}(_0x1280,0x1c9));const _0x50f7=function(_0x55202e,_0x1280d4){_0x55202e=_0x55202e-0x0;let _0x50f7a1=_0x1280[_0x55202e];return _0x50f7a1;};import{Plugin as _0x3588a3}from'ckeditor5/src/core';import{getTranslation as _0x4d6916}from'../utils/common-translations';export default class Z extends _0x3588a3{[_0x50f7('0xd')](){if(!this[_0x50f7('0x1')]['plugins']['has'](_0x50f7('0xa')))return;const _0x22d953=this[_0x50f7('0x1')][_0x50f7('0x10')][_0x50f7('0x5')]('TrackChangesEditing');_0x22d953[_0x50f7('0x4')](_0x50f7('0x21'),(_0x59c623,_0x515066)=>this[_0x50f7('0x18')](_0x59c623,_0x515066)),_0x22d953[_0x50f7('0x0')][_0x50f7('0x7')](_0x50f7('0x1c'),_0x50f7('0x21'),_0x50f7('0x20'),_0x22d953[_0x50f7('0x0')][_0x50f7('0xc')]('formatBlock',null,_0x50f7('0x2'))),_0x22d953[_0x50f7('0x0')][_0x50f7('0x7')](_0x50f7('0x1c'),_0x50f7('0x21'),_0x50f7('0x2'),_0x22d953[_0x50f7('0x0')][_0x50f7('0xc')]('formatBlock',null,'accept')),_0x22d953[_0x50f7('0x1f')][_0x50f7('0x17')](_0x590aa3=>this['handleSuggestionDescription'](_0x590aa3));}[_0x50f7('0x18')](_0x2f04bf,_0x380d8f){const _0x341888=this[_0x50f7('0x1')][_0x50f7('0x10')][_0x50f7('0x5')](_0x50f7('0x15')),_0x92b77a=this[_0x50f7('0x1')][_0x50f7('0x1e')][_0x50f7('0x13')]['selection'][_0x50f7('0x8')]();this[_0x50f7('0x1')]['model'][_0x50f7('0xe')](()=>{let _0x56bdd7=_0x92b77a[_0x50f7('0xf')]('src');const _0x28a28e=this['editor'][_0x50f7('0x10')][_0x50f7('0x5')](_0x50f7('0x12'))['me'];for(const _0x34665f of _0x341888[_0x50f7('0x6')]({'skipNotAttached':!0x0})){const _0x1ea9ca=_0x34665f[_0x50f7('0x19')]();if(_0x50f7('0x21')===_0x34665f['subType']&&_0x1ea9ca===_0x92b77a){_0x34665f[_0x50f7('0x14')]!==_0x28a28e&&_0x34665f[_0x50f7('0x2')](),_0x56bdd7=_0x34665f[_0x50f7('0x1b')][_0x50f7('0x11')][0x0][_0x50f7('0x1a')];break;}}_0x2f04bf(_0x380d8f),_0x341888[_0x50f7('0x16')](_0x92b77a,{'commandName':'replaceImageSource','commandParams':[{'source':_0x56bdd7}]},[],_0x50f7('0x21'));});}['handleSuggestionDescription'](_0x110e61){const {data:_0x499b38}=_0x110e61;if(_0x499b38&&_0x50f7('0x21')===_0x499b38[_0x50f7('0x1d')]){const _0x336285=_0x50f7('0xb');return{'type':_0x50f7('0x3'),'content':_0x4d6916(this['editor'][_0x50f7('0x9')],_0x336285)};}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1216=['_handleImportedData','trackChanges','high','value','lowest','_trackChangesValueDuringImport','listenTo','forEach','track_changes','TrackChangesEditing','editor','plugins','commands','dataInsert','_setSuggestionData','execute','enableCommand','_trackChangesExecuted','get','afterInit','importWord','bind'];(function(_0x456ca0,_0x121626){const _0x54eaae=function(_0x182fcf){while(--_0x182fcf){_0x456ca0['push'](_0x456ca0['shift']());}};_0x54eaae(++_0x121626);}(_0x1216,0x187));const _0x54ea=function(_0x456ca0,_0x121626){_0x456ca0=_0x456ca0-0x0;let _0x54eaae=_0x1216[_0x456ca0];return _0x54eaae;};import{Plugin as _0x4b7525}from'ckeditor5/src/core';export default class tt extends _0x4b7525{constructor(_0x2a4e59){super(_0x2a4e59),this[_0x54ea('0xa')]=!0x1,this['_trackChangesExecuted']=!0x1;}[_0x54ea('0x2')](){const _0x4450e3=this[_0x54ea('0xf')],_0x240f77=_0x4450e3[_0x54ea('0x11')][_0x54ea('0x1')](_0x54ea('0x3')),_0x82806f=_0x4450e3[_0x54ea('0x11')][_0x54ea('0x1')](_0x54ea('0x6'));_0x240f77&&(_0x240f77['on'](_0x54ea('0x14'),(_0x95eac0,[,_0x2001d3])=>{this['_trackChangesValueDuringImport']=_0x82806f[_0x54ea('0x8')],_0x2001d3['collaboration_features'][_0x54ea('0xd')]=!this['_trackChangesValueDuringImport'];},{'priority':_0x54ea('0x7')}),this[_0x54ea('0xb')](_0x240f77,_0x54ea('0x12'),this[_0x54ea('0x5')][_0x54ea('0x4')](this)),this[_0x54ea('0xb')](_0x240f77,_0x54ea('0x12'),()=>{this[_0x54ea('0x0')]&&(_0x82806f['execute'](),this['_trackChangesExecuted']=!0x1);},{'priority':_0x54ea('0x9')}),_0x4450e3['plugins']['get'](_0x54ea('0xe'))[_0x54ea('0x15')](_0x54ea('0x3')));}['_handleImportedData'](_0x893355,_0xa4d502){const {suggestions:_0x38006b}=_0xa4d502,_0x161074=this[_0x54ea('0xf')][_0x54ea('0x11')][_0x54ea('0x1')]('trackChanges'),_0x1c2662=_0x161074[_0x54ea('0x8')];this[_0x54ea('0xa')]!==_0x1c2662&&(_0x161074[_0x54ea('0x14')](),this[_0x54ea('0x0')]=!0x0),_0x38006b&&_0x38006b[_0x54ea('0xc')](({id:_0x26c486,type:_0x492e79,author:_0x56edbe,created_at:_0x359e29})=>{const _0x55a9d8={'id':_0x26c486,'type':_0x492e79,'authorId':this['editor'][_0x54ea('0x10')][_0x54ea('0x1')]('Users')['me']['id'],'createdAt':new Date(),'data':null,'hasComments':!0x1,'attributes':{'@external':{'authorName':_0x56edbe,'createdAt':_0x359e29?new Date(_0x359e29):new Date(),'source':_0x54ea('0x3')}}};this[_0x54ea('0xf')][_0x54ea('0x10')]['get'](_0x54ea('0xe'))[_0x54ea('0x13')](_0x55a9d8);});}}
23
+ const _0x4359=['afterInit','_trackChangesValueDuringImport','trackChanges','listenTo','bind','collaboration_features','enableCommand','importWord','forEach','execute','get','high','commands','lowest','plugins','_trackChangesExecuted','track_changes','dataInsert','_handleImportedData','value','editor'];(function(_0x2ee8ac,_0x435915){const _0x19639e=function(_0x1402f1){while(--_0x1402f1){_0x2ee8ac['push'](_0x2ee8ac['shift']());}};_0x19639e(++_0x435915);}(_0x4359,0x129));const _0x1963=function(_0x2ee8ac,_0x435915){_0x2ee8ac=_0x2ee8ac-0x0;let _0x19639e=_0x4359[_0x2ee8ac];return _0x19639e;};import{Plugin as _0x2dbacf}from'ckeditor5/src/core';export default class tt extends _0x2dbacf{constructor(_0x5092fe){super(_0x5092fe),this[_0x1963('0x13')]=!0x1,this[_0x1963('0xc')]=!0x1;}[_0x1963('0x12')](){const _0x25c0a2=this[_0x1963('0x11')],_0x5d0368=_0x25c0a2[_0x1963('0x9')][_0x1963('0x7')](_0x1963('0x4')),_0x505070=_0x25c0a2[_0x1963('0x9')][_0x1963('0x7')](_0x1963('0x14'));_0x5d0368&&(_0x5d0368['on'](_0x1963('0x6'),(_0xd6e6a7,[,_0x163e48])=>{this[_0x1963('0x13')]=_0x505070['value'],_0x163e48[_0x1963('0x2')][_0x1963('0xd')]=!this[_0x1963('0x13')];},{'priority':_0x1963('0x8')}),this[_0x1963('0x0')](_0x5d0368,_0x1963('0xe'),this[_0x1963('0xf')][_0x1963('0x1')](this)),this[_0x1963('0x0')](_0x5d0368,_0x1963('0xe'),()=>{this[_0x1963('0xc')]&&(_0x505070[_0x1963('0x6')](),this[_0x1963('0xc')]=!0x1);},{'priority':_0x1963('0xa')}),_0x25c0a2[_0x1963('0xb')][_0x1963('0x7')]('TrackChangesEditing')[_0x1963('0x3')](_0x1963('0x4')));}['_handleImportedData'](_0x518ddf,_0x4d2f6d){const {suggestions:_0x57aa50}=_0x4d2f6d,_0x5df14b=this['editor']['commands']['get'](_0x1963('0x14')),_0x3b6625=_0x5df14b[_0x1963('0x10')];this[_0x1963('0x13')]!==_0x3b6625&&(_0x5df14b['execute'](),this['_trackChangesExecuted']=!0x0),_0x57aa50&&_0x57aa50[_0x1963('0x5')](({id:_0x4ce487,type:_0x1790f2,author:_0x545b8f,created_at:_0x25b5ad})=>{const _0x2ea142={'id':_0x4ce487,'type':_0x1790f2,'authorId':this[_0x1963('0x11')]['plugins']['get']('Users')['me']['id'],'createdAt':new Date(),'data':null,'hasComments':!0x1,'attributes':{'@external':{'authorName':_0x545b8f,'createdAt':_0x25b5ad?new Date(_0x25b5ad):new Date(),'source':'importWord'}}};this[_0x1963('0x11')][_0x1963('0xb')][_0x1963('0x7')]('TrackChangesEditing')['_setSuggestionData'](_0x2ea142);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x211e=['markBlockFormat','schema','getItemLabel','indentBlock','IndentBlock','get','indent','*Outdent:*\x20%0','from','outdent','enableCommand','afterInit','document','_descriptionFactory','getItems','change','editor','*Indent:*\x20%0','has','getSelectedBlocks','plugins','checkAttribute','model','outdentBlock','registerDescriptionCallback','commandName','locale'];(function(_0x50258e,_0x211e9d){const _0x48fcf8=function(_0x1dd6f9){while(--_0x1dd6f9){_0x50258e['push'](_0x50258e['shift']());}};_0x48fcf8(++_0x211e9d);}(_0x211e,0x1b4));const _0x48fc=function(_0x50258e,_0x211e9d){_0x50258e=_0x50258e-0x0;let _0x48fcf8=_0x211e[_0x50258e];return _0x48fcf8;};import{Plugin as _0x27b5d1}from'ckeditor5/src/core';import{getTranslation as _0x33df4f}from'../utils/common-translations';export default class it extends _0x27b5d1{[_0x48fc('0x7')](){const _0x3c430b=this[_0x48fc('0xc')],_0x1a8c9e=_0x3c430b[_0x48fc('0x10')][_0x48fc('0x1')]('TrackChangesEditing');_0x3c430b[_0x48fc('0x10')][_0x48fc('0xe')]('IndentEditing')&&(_0x1a8c9e[_0x48fc('0x6')](_0x48fc('0x2')),_0x1a8c9e['enableCommand'](_0x48fc('0x5')));const _0x541d1d=_0x3c430b[_0x48fc('0x16')];if(_0x3c430b['plugins']['has'](_0x48fc('0x0'))){for(const _0x5e4a8b of[_0x48fc('0x1a'),_0x48fc('0x13')])_0x1a8c9e[_0x48fc('0x6')](_0x5e4a8b,()=>{const _0x40fb4c=Array[_0x48fc('0x4')](this[_0x48fc('0xc')]['model'][_0x48fc('0x8')]['selection'][_0x48fc('0xf')]())['filter'](_0x544cfe=>this['editor'][_0x48fc('0x12')][_0x48fc('0x18')][_0x48fc('0x11')](_0x544cfe,'blockIndent'));_0x3c430b[_0x48fc('0x12')][_0x48fc('0xb')](()=>{for(const _0x2cc723 of _0x40fb4c)_0x1a8c9e[_0x48fc('0x17')](_0x2cc723,{'commandName':_0x5e4a8b,'commandParams':[{'value':''}],'formatGroupId':_0x48fc('0x1a')});});});_0x1a8c9e[_0x48fc('0x9')][_0x48fc('0x14')](_0x2f8623=>{const {data:_0x3ca5f1}=_0x2f8623;if(!_0x3ca5f1)return;if(_0x48fc('0x1a')!=_0x3ca5f1[_0x48fc('0x15')]&&'outdentBlock'!=_0x3ca5f1[_0x48fc('0x15')])return;const _0xd33240=_0x2f8623[_0x48fc('0xa')]()[0x0],_0x4fd446=_0x1a8c9e['_descriptionFactory'][_0x48fc('0x19')](_0xd33240);return'indentBlock'==_0x3ca5f1[_0x48fc('0x15')]?{'type':'format','content':_0x33df4f(_0x541d1d,_0x48fc('0xd'),_0x4fd446)}:_0x48fc('0x13')==_0x3ca5f1[_0x48fc('0x15')]?{'type':'format','content':_0x33df4f(_0x541d1d,_0x48fc('0x3'),_0x4fd446)}:void 0x0;});}}}
23
+ const _0xa1a0=['schema','checkAttribute','locale','*Outdent:*\x20%0','enableCommand','_descriptionFactory','getItems','selection','document','markBlockFormat','indent','commandName','*Indent:*\x20%0','from','editor','TrackChangesEditing','blockIndent','afterInit','indentBlock','IndentBlock','outdentBlock','getSelectedBlocks','outdent','model','has','format','plugins'];(function(_0x5b380b,_0xa1a0f8){const _0x1defcf=function(_0x16a674){while(--_0x16a674){_0x5b380b['push'](_0x5b380b['shift']());}};_0x1defcf(++_0xa1a0f8);}(_0xa1a0,0x1e3));const _0x1def=function(_0x5b380b,_0xa1a0f8){_0x5b380b=_0x5b380b-0x0;let _0x1defcf=_0xa1a0[_0x5b380b];return _0x1defcf;};import{Plugin as _0x1f9523}from'ckeditor5/src/core';import{getTranslation as _0x448eaf}from'../utils/common-translations';export default class it extends _0x1f9523{[_0x1def('0x14')](){const _0xf6ca0e=this[_0x1def('0x11')],_0x2f2e5b=_0xf6ca0e[_0x1def('0x2')]['get'](_0x1def('0x12'));_0xf6ca0e[_0x1def('0x2')][_0x1def('0x0')]('IndentEditing')&&(_0x2f2e5b[_0x1def('0x7')](_0x1def('0xd')),_0x2f2e5b[_0x1def('0x7')](_0x1def('0x19')));const _0x1e05d9=_0xf6ca0e[_0x1def('0x5')];if(_0xf6ca0e['plugins'][_0x1def('0x0')](_0x1def('0x16'))){for(const _0x387013 of['indentBlock',_0x1def('0x17')])_0x2f2e5b['enableCommand'](_0x387013,()=>{const _0x290819=Array[_0x1def('0x10')](this[_0x1def('0x11')][_0x1def('0x1a')][_0x1def('0xb')][_0x1def('0xa')][_0x1def('0x18')]())['filter'](_0x5eeebc=>this[_0x1def('0x11')][_0x1def('0x1a')][_0x1def('0x3')][_0x1def('0x4')](_0x5eeebc,_0x1def('0x13')));_0xf6ca0e['model']['change'](()=>{for(const _0x8b484 of _0x290819)_0x2f2e5b[_0x1def('0xc')](_0x8b484,{'commandName':_0x387013,'commandParams':[{'value':''}],'formatGroupId':_0x1def('0x15')});});});_0x2f2e5b[_0x1def('0x8')]['registerDescriptionCallback'](_0x16da35=>{const {data:_0x4791a6}=_0x16da35;if(!_0x4791a6)return;if(_0x1def('0x15')!=_0x4791a6['commandName']&&_0x1def('0x17')!=_0x4791a6[_0x1def('0xe')])return;const _0x41864b=_0x16da35[_0x1def('0x9')]()[0x0],_0x318017=_0x2f2e5b[_0x1def('0x8')]['getItemLabel'](_0x41864b);return _0x1def('0x15')==_0x4791a6[_0x1def('0xe')]?{'type':_0x1def('0x1'),'content':_0x448eaf(_0x1e05d9,_0x1def('0xf'),_0x318017)}:_0x1def('0x17')==_0x4791a6[_0x1def('0xe')]?{'type':'format','content':_0x448eaf(_0x1e05d9,_0x1def('0x6'),_0x318017)}:void 0x0;});}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x4836=['editor','enableCommand','requires','input','plugins','get','TrackChangesEditing'];(function(_0x445d22,_0x4836fe){var _0x32027a=function(_0x385da7){while(--_0x385da7){_0x445d22['push'](_0x445d22['shift']());}};_0x32027a(++_0x4836fe);}(_0x4836,0x183));var _0x3202=function(_0x445d22,_0x4836fe){_0x445d22=_0x445d22-0x0;var _0x32027a=_0x4836[_0x445d22];return _0x32027a;};import{Plugin as _0x17de32}from'ckeditor5/src/core';import{Input as _0x23163e}from'ckeditor5/src/typing';export default class et extends _0x17de32{static get[_0x3202('0x0')](){return[_0x23163e];}['init'](){this[_0x3202('0x5')][_0x3202('0x2')][_0x3202('0x3')](_0x3202('0x4'))[_0x3202('0x6')](_0x3202('0x1'));}}
23
+ var _0x3815=['requires','input','editor','enableCommand','TrackChangesEditing','plugins'];(function(_0x53fa80,_0x381596){var _0x3bbf1f=function(_0x2772ba){while(--_0x2772ba){_0x53fa80['push'](_0x53fa80['shift']());}};_0x3bbf1f(++_0x381596);}(_0x3815,0x1c5));var _0x3bbf=function(_0x53fa80,_0x381596){_0x53fa80=_0x53fa80-0x0;var _0x3bbf1f=_0x3815[_0x53fa80];return _0x3bbf1f;};import{Plugin as _0x57dfd2}from'ckeditor5/src/core';import{Input as _0x593aa3}from'ckeditor5/src/typing';export default class et extends _0x57dfd2{static get[_0x3bbf('0x3')](){return[_0x593aa3];}['init'](){this[_0x3bbf('0x5')][_0x3bbf('0x2')]['get'](_0x3bbf('0x1'))[_0x3bbf('0x0')](_0x3bbf('0x4'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xa910=['editor','has','commandParams','plugins','unlink','getAttribute','commandName','getFirstRange','markInlineFormat','document','*Remove\x20link*','selection','format','change','from','registerDescriptionCallback','TrackChangesEditing','getFirstPosition','*Set\x20link:*\x20%0','link','enableCommand','LinkEditing','getRanges','locale','linkHref','isCollapsed','hasAttribute','model','_descriptionFactory'];(function(_0x12bb6c,_0xa9104f){const _0x5184aa=function(_0x33988c){while(--_0x33988c){_0x12bb6c['push'](_0x12bb6c['shift']());}};_0x5184aa(++_0xa9104f);}(_0xa910,0xb2));const _0x5184=function(_0x12bb6c,_0xa9104f){_0x12bb6c=_0x12bb6c-0x0;let _0x5184aa=_0xa910[_0x12bb6c];return _0x5184aa;};import{Plugin as _0x225d28}from'ckeditor5/src/core';import{findAttributeRange as _0x2be400}from'ckeditor5/src/typing';import{getRangesWithAttribute as _0x3b0bc2}from'./utils';import{getTranslation as _0x2e6c32}from'../utils/common-translations';export default class nt extends _0x225d28{['afterInit'](){const _0x45f368=this['editor'];if(!_0x45f368['plugins'][_0x5184('0x1a')](_0x5184('0x11')))return;const _0x29a225=_0x45f368[_0x5184('0x1c')]['get'](_0x5184('0xc'));_0x29a225[_0x5184('0x10')](_0x5184('0xf'),(_0x30652f,_0x12e179)=>{const _0x808356=_0x45f368[_0x5184('0x17')][_0x5184('0x5')][_0x5184('0x7')];let _0x533bd1=[];if(_0x808356[_0x5184('0x15')]){if(!_0x808356[_0x5184('0x16')](_0x5184('0x14')))return void _0x30652f(_0x12e179);{const _0x3e81d1=_0x2be400(_0x808356[_0x5184('0xd')](),_0x5184('0x14'),_0x808356[_0x5184('0x1')](_0x5184('0x14')),_0x45f368['model']);_0x533bd1=[_0x3e81d1];}}else _0x533bd1=Array[_0x5184('0xa')](_0x808356[_0x5184('0x12')]());_0x45f368[_0x5184('0x17')][_0x5184('0x9')](()=>{for(const _0x79e564 of _0x533bd1)_0x29a225['markInlineFormat'](_0x79e564,{'commandName':_0x5184('0xf'),'commandParams':[_0x12e179]});});}),_0x29a225['enableCommand']('unlink',()=>{const _0xb4bfcc=this[_0x5184('0x19')][_0x5184('0x17')],_0x355f70=_0xb4bfcc['document'][_0x5184('0x7')];_0xb4bfcc[_0x5184('0x9')](()=>{let _0x223341=[];if(_0x355f70[_0x5184('0x15')])_0x223341=[_0x2be400(_0x355f70[_0x5184('0xd')](),_0x5184('0x14'),_0x355f70[_0x5184('0x1')]('linkHref'),_0x45f368[_0x5184('0x17')])];else _0x223341=_0x3b0bc2(_0x5184('0x14'),_0x355f70[_0x5184('0x3')](),_0x45f368['model']);for(const _0x1bf193 of _0x223341)_0x29a225[_0x5184('0x4')](_0x1bf193,{'commandName':_0x5184('0x0'),'commandParams':[]});});}),_0x29a225[_0x5184('0x18')][_0x5184('0xb')](_0x3fab55=>{const {data:_0x18b759}=_0x3fab55,_0x28de5c=_0x45f368[_0x5184('0x13')];if(_0x18b759){if('link'==_0x18b759[_0x5184('0x2')]){const _0x59dd51=_0x18b759[_0x5184('0x1b')][0x0];return{'type':'format','content':_0x2e6c32(_0x28de5c,_0x5184('0xe'),'\x22'+_0x59dd51+'\x22')};}return'unlink'==_0x18b759[_0x5184('0x2')]?{'type':_0x5184('0x8'),'content':_0x2e6c32(_0x28de5c,_0x5184('0x6'))}:void 0x0;}});}}
23
+ const _0x37b1=['*Remove\x20link*','markInlineFormat','change','afterInit','enableCommand','editor','getAttribute','get','hasAttribute','registerDescriptionCallback','linkHref','_descriptionFactory','commandName','link','model','document','*Set\x20link:*\x20%0','getRanges','locale','getFirstPosition','plugins','has','LinkEditing','format','selection','isCollapsed','unlink'];(function(_0x2fc32d,_0x37b192){const _0x342c2b=function(_0x257b62){while(--_0x257b62){_0x2fc32d['push'](_0x2fc32d['shift']());}};_0x342c2b(++_0x37b192);}(_0x37b1,0x12c));const _0x342c=function(_0x2fc32d,_0x37b192){_0x2fc32d=_0x2fc32d-0x0;let _0x342c2b=_0x37b1[_0x2fc32d];return _0x342c2b;};import{Plugin as _0x27bf61}from'ckeditor5/src/core';import{findAttributeRange as _0x3e79e}from'ckeditor5/src/typing';import{getRangesWithAttribute as _0x20bbe3}from'./utils';import{getTranslation as _0x5795df}from'../utils/common-translations';export default class nt extends _0x27bf61{[_0x342c('0x0')](){const _0x10449f=this[_0x342c('0x2')];if(!_0x10449f[_0x342c('0x11')][_0x342c('0x12')](_0x342c('0x13')))return;const _0x269397=_0x10449f[_0x342c('0x11')][_0x342c('0x4')]('TrackChangesEditing');_0x269397[_0x342c('0x1')](_0x342c('0xa'),(_0x4f0e3f,_0x309ad2)=>{const _0x2cdc75=_0x10449f[_0x342c('0xb')][_0x342c('0xc')][_0x342c('0x15')];let _0x4c48da=[];if(_0x2cdc75['isCollapsed']){if(!_0x2cdc75[_0x342c('0x5')](_0x342c('0x7')))return void _0x4f0e3f(_0x309ad2);{const _0x49ef13=_0x3e79e(_0x2cdc75[_0x342c('0x10')](),_0x342c('0x7'),_0x2cdc75[_0x342c('0x3')](_0x342c('0x7')),_0x10449f[_0x342c('0xb')]);_0x4c48da=[_0x49ef13];}}else _0x4c48da=Array['from'](_0x2cdc75[_0x342c('0xe')]());_0x10449f['model'][_0x342c('0x1a')](()=>{for(const _0x5e0b9c of _0x4c48da)_0x269397[_0x342c('0x19')](_0x5e0b9c,{'commandName':_0x342c('0xa'),'commandParams':[_0x309ad2]});});}),_0x269397[_0x342c('0x1')](_0x342c('0x17'),()=>{const _0x42896b=this[_0x342c('0x2')][_0x342c('0xb')],_0x16dea7=_0x42896b[_0x342c('0xc')][_0x342c('0x15')];_0x42896b['change'](()=>{let _0x37478e=[];if(_0x16dea7[_0x342c('0x16')])_0x37478e=[_0x3e79e(_0x16dea7[_0x342c('0x10')](),_0x342c('0x7'),_0x16dea7[_0x342c('0x3')]('linkHref'),_0x10449f[_0x342c('0xb')])];else _0x37478e=_0x20bbe3('linkHref',_0x16dea7['getFirstRange'](),_0x10449f[_0x342c('0xb')]);for(const _0x2cb11b of _0x37478e)_0x269397[_0x342c('0x19')](_0x2cb11b,{'commandName':_0x342c('0x17'),'commandParams':[]});});}),_0x269397[_0x342c('0x8')][_0x342c('0x6')](_0x47629d=>{const {data:_0x3cd5b8}=_0x47629d,_0x3b7b15=_0x10449f[_0x342c('0xf')];if(_0x3cd5b8){if(_0x342c('0xa')==_0x3cd5b8[_0x342c('0x9')]){const _0xd9ce2b=_0x3cd5b8['commandParams'][0x0];return{'type':_0x342c('0x14'),'content':_0x5795df(_0x3b7b15,_0x342c('0xd'),'\x22'+_0xd9ce2b+'\x22')};}return _0x342c('0x17')==_0x3cd5b8[_0x342c('0x9')]?{'type':_0x342c('0x14'),'content':_0x5795df(_0x3b7b15,_0x342c('0x18'))}:void 0x0;}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x543b=['checkChild','*Outdent:*\x20%0','createRange','ELEMENT_NUMBERED_LIST','replace','nextSibling','from','createPositionAt','registerDescriptionCallback','forceValue','value','commandName','model','_descriptionFactory','length','isObject','todoList','*Change\x20to:*\x20%0','listType','format','plugins','indentList','document','bulletedList','previousSibling','TodoListEditing','List','markBlockFormat','checkTodoList','commandParams','add','enableCommand','selection','getAttribute','*Uncheck\x20item*','has','locale','outdentList','name','listItem','listIndent','end','get','slice','element','numberedList','afterInit','getSelectedBlocks','commands','ELEMENT_LIST_ITEM','schema','execute','change','blockName','ELEMENT_BULLETED_LIST','todo','parent','filter','editor','paragraph'];(function(_0x5345ce,_0x543b51){const _0x29e280=function(_0x4e2833){while(--_0x4e2833){_0x5345ce['push'](_0x5345ce['shift']());}};_0x29e280(++_0x543b51);}(_0x543b,0x1c2));const _0x29e2=function(_0x5345ce,_0x543b51){_0x5345ce=_0x5345ce-0x0;let _0x29e280=_0x543b[_0x5345ce];return _0x29e280;};import{Plugin as _0x30966d}from'ckeditor5/src/core';import{getTranslation as _0x26514b}from'../utils/common-translations';export default class st extends _0x30966d{[_0x29e2('0x10')](){const _0x2d03ab=this[_0x29e2('0x1c')],_0x4e910e=_0x2d03ab[_0x29e2('0x6')];if(!_0x2d03ab[_0x29e2('0x32')][_0x29e2('0x5')]('ListEditing'))return;const _0x5873be=_0x2d03ab['plugins'][_0x29e2('0xc')]('TrackChangesEditing'),_0x5dd80f=_0x2d03ab['plugins'][_0x29e2('0x5')](_0x29e2('0x37'));function _0x2c2cb9(_0x377f12){return()=>{const _0x49cac0=_0x2d03ab[_0x29e2('0x2a')][_0x29e2('0x34')][_0x29e2('0x2')],_0x5c5d90=_0x2d03ab[_0x29e2('0x12')][_0x29e2('0xc')](_0x377f12);if(_0x5c5d90[_0x29e2('0x28')])return void _0x2d03ab[_0x29e2('0x15')](_0x29e2('0x1d'),{});const _0x2d5846=_0x377f12[_0x29e2('0xd')](0x0,-0x4),_0x329238=function(_0xe4eb1e,_0x53cbb0,_0x37e1fd){let _0x4a6aa6=Array['from'](_0xe4eb1e)['filter'](_0x2d22d1=>function(_0x2ff464,_0x3ef9ed){return _0x3ef9ed[_0x29e2('0x1e')](_0x2ff464[_0x29e2('0x1a')],'listItem')&&!_0x3ef9ed[_0x29e2('0x2d')](_0x2ff464);}(_0x2d22d1,_0x37e1fd));_0x4a6aa6=_0x4a6aa6[_0x29e2('0x1b')](_0x1f7035=>!_0x1f7035['is']('element','listItem')||_0x1f7035[_0x29e2('0x3')](_0x29e2('0x30'))!=_0x53cbb0);const _0x18ec71=new Set();for(const _0x272c23 of _0x4a6aa6)_0x272c23['is'](_0x29e2('0xe'),'listItem')?_0x18ec71['add'](ne(_0x272c23)):_0x18ec71[_0x29e2('0x0')](_0x272c23);return Array['from'](_0x18ec71);}(_0x49cac0['getSelectedBlocks'](),_0x2d5846,_0x2d03ab['model'][_0x29e2('0x14')]);_0x2d03ab[_0x29e2('0x2a')]['change'](()=>{for(const _0xc32e23 of _0x329238)_0x5873be['markBlockFormat'](_0xc32e23,{'commandName':_0x377f12,'commandParams':[{'forceValue':!_0x5c5d90[_0x29e2('0x28')]}],'formatGroupId':_0x29e2('0x17')},oe(_0xc32e23));});};}function _0x26f910(_0x1f1c54){return()=>{const _0x1ad5d2=function(_0x2efb7b){let _0x33fae6=Array[_0x29e2('0x24')](_0x2efb7b);const _0x55119b=_0x33fae6['findIndex'](_0x439af8=>_0x29e2('0x9')!=_0x439af8['name']);return _0x55119b>-0x1&&(_0x33fae6=_0x33fae6[_0x29e2('0xd')](0x0,_0x55119b)),_0x33fae6;}(_0x2d03ab[_0x29e2('0x2a')][_0x29e2('0x34')][_0x29e2('0x2')][_0x29e2('0x11')]()),_0x2137f0=_0x2d03ab[_0x29e2('0x2a')][_0x29e2('0x20')](_0x2d03ab[_0x29e2('0x2a')][_0x29e2('0x25')](_0x1ad5d2[0x0],'before'),_0x2d03ab[_0x29e2('0x2a')][_0x29e2('0x25')](_0x1ad5d2[_0x1ad5d2[_0x29e2('0x2c')]-0x1],_0x29e2('0xb')));_0x2d03ab['model'][_0x29e2('0x16')](()=>{_0x5873be[_0x29e2('0x39')](_0x2137f0,{'commandName':_0x1f1c54,'commandParams':[],'formatGroupId':_0x29e2('0xa')},function(_0x5a3ddf){const _0xbb1797=new Set();for(const _0x122937 of _0x5a3ddf){let _0x343a41=_0x122937[_0x29e2('0x23')];for(;_0x343a41&&_0x343a41[_0x29e2('0x3')](_0x29e2('0xa'))>_0x122937[_0x29e2('0x3')]('listIndent');)_0xbb1797['add'](_0x343a41),_0x343a41=_0x343a41[_0x29e2('0x23')];}return Array[_0x29e2('0x24')](_0xbb1797);}(_0x1ad5d2));});};}_0x5873be[_0x29e2('0x1')](_0x29e2('0xf'),_0x2c2cb9(_0x29e2('0xf'))),_0x5873be[_0x29e2('0x1')]('bulletedList',_0x2c2cb9(_0x29e2('0x35'))),_0x5dd80f&&_0x5873be[_0x29e2('0x1')](_0x29e2('0x2e'),_0x2c2cb9(_0x29e2('0x2e'))),_0x5873be['enableCommand'](_0x29e2('0x33'),_0x26f910(_0x29e2('0x33'))),_0x5873be[_0x29e2('0x1')](_0x29e2('0x7'),_0x26f910('outdentList')),_0x5dd80f&&_0x5873be[_0x29e2('0x1')]('checkTodoList',()=>{const _0x170e4b=_0x2d03ab[_0x29e2('0x12')][_0x29e2('0xc')](_0x29e2('0x3a')),_0x58b62f=Array[_0x29e2('0x24')](_0x170e4b['_selectedElements']);_0x58b62f[_0x29e2('0x1b')](_0x5d4e04=>_0x5d4e04[_0x29e2('0x3')]('todoListChecked')!=_0x170e4b['value']),_0x2d03ab[_0x29e2('0x2a')][_0x29e2('0x16')](()=>{for(const _0x143d20 of _0x58b62f)_0x5873be[_0x29e2('0x39')](_0x143d20,{'commandName':_0x29e2('0x3a'),'commandParams':[{'forceValue':!_0x170e4b[_0x29e2('0x28')]}]});});}),_0x5873be[_0x29e2('0x2b')]['registerElementLabel']('listItem',_0x2cc6c2=>_0x26514b(_0x4e910e,_0x29e2('0x13'),_0x2cc6c2)),_0x5873be['_descriptionFactory'][_0x29e2('0x26')](_0x4fd385=>{const {data:_0xdac64e}=_0x4fd385;if(_0xdac64e){if(_0x29e2('0xf')==_0xdac64e[_0x29e2('0x29')]||_0x29e2('0x35')==_0xdac64e[_0x29e2('0x29')]||_0x29e2('0x2e')==_0xdac64e['commandName'])switch(_0xdac64e[_0x29e2('0x29')][_0x29e2('0x22')](_0x29e2('0x38'),'')){case'bulleted':return _0x287d5d(_0x26514b(_0x4e910e,_0x29e2('0x18')));case'numbered':return _0x287d5d(_0x26514b(_0x4e910e,_0x29e2('0x21')));case _0x29e2('0x19'):return _0x287d5d(_0x26514b(_0x4e910e,'ELEMENT_TODO_LIST'));}if(_0x29e2('0x33')==_0xdac64e['commandName'])return{'type':_0x29e2('0x31'),'content':_0x26514b(_0x4e910e,'*Indent:*\x20%0',_0x26514b(_0x4e910e,_0x29e2('0x13')))};if(_0x29e2('0x7')==_0xdac64e['commandName'])return{'type':_0x29e2('0x31'),'content':_0x26514b(_0x4e910e,_0x29e2('0x1f'),_0x26514b(_0x4e910e,_0x29e2('0x13')))};if(_0x29e2('0x3a')==_0xdac64e[_0x29e2('0x29')])return _0xdac64e[_0x29e2('0x3b')][0x0][_0x29e2('0x27')]?{'type':_0x29e2('0x31'),'content':_0x26514b(_0x4e910e,'*Check\x20item*')}:{'type':_0x29e2('0x31'),'content':_0x26514b(_0x4e910e,_0x29e2('0x4'))};}function _0x287d5d(_0x44ef7d){return{'type':_0x29e2('0x31'),'content':_0x26514b(_0x4e910e,_0x29e2('0x2f'),_0x44ef7d)};}});}}function ne(_0x559b89){const _0x45ed00=_0x559b89['getAttribute'](_0x29e2('0xa'));if(0x0==_0x45ed00)return _0x559b89;let _0x5eb2e0=_0x559b89;for(;_0x559b89[_0x29e2('0x36')]&&_0x559b89[_0x29e2('0x36')]['is']('element','listItem');){const _0x1a855=_0x559b89[_0x29e2('0x36')][_0x29e2('0x3')](_0x29e2('0xa'));if(_0x1a855==_0x45ed00)_0x5eb2e0=_0x559b89[_0x29e2('0x36')];else{if(_0x1a855<_0x45ed00)break;}_0x559b89=_0x559b89[_0x29e2('0x36')];}return _0x5eb2e0;}function oe(_0x3392af){const _0x148c72=[];if(_0x3392af['is'](_0x29e2('0xe'),_0x29e2('0x9'))&&_0x3392af[_0x29e2('0x3')]('listIndent')>0x0){let _0x37a453=_0x3392af['nextSibling'];for(;_0x37a453&&_0x29e2('0x9')==_0x37a453[_0x29e2('0x8')]&&_0x37a453[_0x29e2('0x3')]('listIndent')==_0x3392af[_0x29e2('0x3')]('listIndent');)_0x148c72['push'](_0x37a453),_0x37a453=_0x37a453[_0x29e2('0x23')];}return _0x148c72;}
23
+ const _0x5ab5=['commands','ELEMENT_BULLETED_LIST','change','*Change\x20to:*\x20%0','checkTodoList','forceValue','checkChild','from','createRange','ELEMENT_NUMBERED_LIST','selection','nextSibling','has','registerDescriptionCallback','slice','List','*Indent:*\x20%0','listType','element','createPositionAt','listItem','_selectedElements','ELEMENT_LIST_ITEM','outdentList','previousSibling','commandParams','getSelectedBlocks','numberedList','plugins','document','filter','length','name','markBlockFormat','format','bulleted','enableCommand','parent','numbered','editor','_descriptionFactory','commandName','TrackChangesEditing','findIndex','bulletedList','todoListChecked','end','locale','indentList','value','add','todoList','paragraph','ELEMENT_TODO_LIST','getAttribute','listIndent','before','blockName','model','ListEditing','get','replace'];(function(_0x570004,_0x5ab507){const _0x53a668=function(_0x11f5c5){while(--_0x11f5c5){_0x570004['push'](_0x570004['shift']());}};_0x53a668(++_0x5ab507);}(_0x5ab5,0x1d1));const _0x53a6=function(_0x570004,_0x5ab507){_0x570004=_0x570004-0x0;let _0x53a668=_0x5ab5[_0x570004];return _0x53a668;};import{Plugin as _0x3bd645}from'ckeditor5/src/core';import{getTranslation as _0x5b1028}from'../utils/common-translations';export default class st extends _0x3bd645{['afterInit'](){const _0x572d94=this[_0x53a6('0x8')],_0x5c4dc0=_0x572d94[_0x53a6('0x10')];if(!_0x572d94[_0x53a6('0x3b')][_0x53a6('0x2b')](_0x53a6('0x1c')))return;const _0x12616a=_0x572d94[_0x53a6('0x3b')][_0x53a6('0x1d')](_0x53a6('0xb')),_0x3be343=_0x572d94[_0x53a6('0x3b')]['has']('TodoListEditing');function _0x1ef4f2(_0x13ffa5){return()=>{const _0x3cc011=_0x572d94[_0x53a6('0x1b')][_0x53a6('0x3c')][_0x53a6('0x29')],_0x580422=_0x572d94[_0x53a6('0x1f')][_0x53a6('0x1d')](_0x13ffa5);if(_0x580422['value'])return void _0x572d94['execute'](_0x53a6('0x15'),{});const _0x12d662=_0x13ffa5['slice'](0x0,-0x4),_0x562b66=function(_0x38664e,_0x24678a,_0x2c0e71){let _0x30aed5=Array['from'](_0x38664e)[_0x53a6('0x3d')](_0x1e6091=>function(_0x578281,_0x10bcaf){return _0x10bcaf[_0x53a6('0x25')](_0x578281[_0x53a6('0x6')],_0x53a6('0x33'))&&!_0x10bcaf['isObject'](_0x578281);}(_0x1e6091,_0x2c0e71));_0x30aed5=_0x30aed5[_0x53a6('0x3d')](_0x3b087d=>!_0x3b087d['is'](_0x53a6('0x31'),_0x53a6('0x33'))||_0x3b087d['getAttribute'](_0x53a6('0x30'))!=_0x24678a);const _0x5c1e11=new Set();for(const _0x51868e of _0x30aed5)_0x51868e['is'](_0x53a6('0x31'),'listItem')?_0x5c1e11[_0x53a6('0x13')](ne(_0x51868e)):_0x5c1e11['add'](_0x51868e);return Array[_0x53a6('0x26')](_0x5c1e11);}(_0x3cc011[_0x53a6('0x39')](),_0x12d662,_0x572d94[_0x53a6('0x1b')]['schema']);_0x572d94['model'][_0x53a6('0x21')](()=>{for(const _0x22cbc0 of _0x562b66)_0x12616a[_0x53a6('0x2')](_0x22cbc0,{'commandName':_0x13ffa5,'commandParams':[{'forceValue':!_0x580422['value']}],'formatGroupId':_0x53a6('0x1a')},oe(_0x22cbc0));});};}function _0x5914bb(_0x5edf0f){return()=>{const _0x593f87=function(_0x5dd75e){let _0x47d681=Array[_0x53a6('0x26')](_0x5dd75e);const _0x4d6bc2=_0x47d681[_0x53a6('0xc')](_0x468c18=>'listItem'!=_0x468c18[_0x53a6('0x1')]);return _0x4d6bc2>-0x1&&(_0x47d681=_0x47d681[_0x53a6('0x2d')](0x0,_0x4d6bc2)),_0x47d681;}(_0x572d94['model'][_0x53a6('0x3c')][_0x53a6('0x29')][_0x53a6('0x39')]()),_0xcf9d8b=_0x572d94[_0x53a6('0x1b')][_0x53a6('0x27')](_0x572d94[_0x53a6('0x1b')][_0x53a6('0x32')](_0x593f87[0x0],_0x53a6('0x19')),_0x572d94[_0x53a6('0x1b')][_0x53a6('0x32')](_0x593f87[_0x593f87[_0x53a6('0x0')]-0x1],_0x53a6('0xf')));_0x572d94[_0x53a6('0x1b')][_0x53a6('0x21')](()=>{_0x12616a['markBlockFormat'](_0xcf9d8b,{'commandName':_0x5edf0f,'commandParams':[],'formatGroupId':_0x53a6('0x18')},function(_0x1235fc){const _0x3ab22e=new Set();for(const _0x4d0645 of _0x1235fc){let _0x450b2b=_0x4d0645['nextSibling'];for(;_0x450b2b&&_0x450b2b[_0x53a6('0x17')](_0x53a6('0x18'))>_0x4d0645[_0x53a6('0x17')](_0x53a6('0x18'));)_0x3ab22e[_0x53a6('0x13')](_0x450b2b),_0x450b2b=_0x450b2b[_0x53a6('0x2a')];}return Array[_0x53a6('0x26')](_0x3ab22e);}(_0x593f87));});};}_0x12616a[_0x53a6('0x5')](_0x53a6('0x3a'),_0x1ef4f2(_0x53a6('0x3a'))),_0x12616a[_0x53a6('0x5')](_0x53a6('0xd'),_0x1ef4f2(_0x53a6('0xd'))),_0x3be343&&_0x12616a[_0x53a6('0x5')]('todoList',_0x1ef4f2(_0x53a6('0x14'))),_0x12616a[_0x53a6('0x5')](_0x53a6('0x11'),_0x5914bb(_0x53a6('0x11'))),_0x12616a[_0x53a6('0x5')](_0x53a6('0x36'),_0x5914bb('outdentList')),_0x3be343&&_0x12616a['enableCommand'](_0x53a6('0x23'),()=>{const _0x2fe872=_0x572d94['commands'][_0x53a6('0x1d')](_0x53a6('0x23')),_0x507c54=Array[_0x53a6('0x26')](_0x2fe872[_0x53a6('0x34')]);_0x507c54[_0x53a6('0x3d')](_0x533f84=>_0x533f84[_0x53a6('0x17')](_0x53a6('0xe'))!=_0x2fe872['value']),_0x572d94[_0x53a6('0x1b')][_0x53a6('0x21')](()=>{for(const _0x395b8b of _0x507c54)_0x12616a[_0x53a6('0x2')](_0x395b8b,{'commandName':_0x53a6('0x23'),'commandParams':[{'forceValue':!_0x2fe872[_0x53a6('0x12')]}]});});}),_0x12616a[_0x53a6('0x9')]['registerElementLabel'](_0x53a6('0x33'),_0x46f8d4=>_0x5b1028(_0x5c4dc0,_0x53a6('0x35'),_0x46f8d4)),_0x12616a[_0x53a6('0x9')][_0x53a6('0x2c')](_0x5517a1=>{const {data:_0x128b52}=_0x5517a1;if(_0x128b52){if(_0x53a6('0x3a')==_0x128b52[_0x53a6('0xa')]||_0x53a6('0xd')==_0x128b52['commandName']||'todoList'==_0x128b52[_0x53a6('0xa')])switch(_0x128b52['commandName'][_0x53a6('0x1e')](_0x53a6('0x2e'),'')){case _0x53a6('0x4'):return _0x4d7a25(_0x5b1028(_0x5c4dc0,_0x53a6('0x20')));case _0x53a6('0x7'):return _0x4d7a25(_0x5b1028(_0x5c4dc0,_0x53a6('0x28')));case'todo':return _0x4d7a25(_0x5b1028(_0x5c4dc0,_0x53a6('0x16')));}if(_0x53a6('0x11')==_0x128b52[_0x53a6('0xa')])return{'type':_0x53a6('0x3'),'content':_0x5b1028(_0x5c4dc0,_0x53a6('0x2f'),_0x5b1028(_0x5c4dc0,'ELEMENT_LIST_ITEM'))};if(_0x53a6('0x36')==_0x128b52['commandName'])return{'type':_0x53a6('0x3'),'content':_0x5b1028(_0x5c4dc0,'*Outdent:*\x20%0',_0x5b1028(_0x5c4dc0,_0x53a6('0x35')))};if(_0x53a6('0x23')==_0x128b52[_0x53a6('0xa')])return _0x128b52[_0x53a6('0x38')][0x0][_0x53a6('0x24')]?{'type':_0x53a6('0x3'),'content':_0x5b1028(_0x5c4dc0,'*Check\x20item*')}:{'type':_0x53a6('0x3'),'content':_0x5b1028(_0x5c4dc0,'*Uncheck\x20item*')};}function _0x4d7a25(_0x2e8406){return{'type':_0x53a6('0x3'),'content':_0x5b1028(_0x5c4dc0,_0x53a6('0x22'),_0x2e8406)};}});}}function ne(_0x3bc533){const _0xdf3aa8=_0x3bc533['getAttribute'](_0x53a6('0x18'));if(0x0==_0xdf3aa8)return _0x3bc533;let _0x27b73d=_0x3bc533;for(;_0x3bc533['previousSibling']&&_0x3bc533[_0x53a6('0x37')]['is']('element','listItem');){const _0x3bd17f=_0x3bc533['previousSibling'][_0x53a6('0x17')](_0x53a6('0x18'));if(_0x3bd17f==_0xdf3aa8)_0x27b73d=_0x3bc533[_0x53a6('0x37')];else{if(_0x3bd17f<_0xdf3aa8)break;}_0x3bc533=_0x3bc533[_0x53a6('0x37')];}return _0x27b73d;}function oe(_0x490ada){const _0x3d366f=[];if(_0x490ada['is']('element',_0x53a6('0x33'))&&_0x490ada[_0x53a6('0x17')](_0x53a6('0x18'))>0x0){let _0x4275b4=_0x490ada['nextSibling'];for(;_0x4275b4&&_0x53a6('0x33')==_0x4275b4[_0x53a6('0x1')]&&_0x4275b4[_0x53a6('0x17')](_0x53a6('0x18'))==_0x490ada['getAttribute']('listIndent');)_0x3d366f['push'](_0x4275b4),_0x4275b4=_0x4275b4['nextSibling'];}return _0x3d366f;}