@ckeditor/ckeditor5-track-changes 35.2.0 → 35.2.1

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 (59) hide show
  1. package/build/track-changes.js +1 -1
  2. package/package.json +4 -4
  3. package/src/commands/acceptallsuggestionscommand.js +1 -1
  4. package/src/commands/acceptselectedsuggestionscommand.js +1 -1
  5. package/src/commands/acceptsuggestioncommand.js +1 -1
  6. package/src/commands/discardallsuggestionscommand.js +1 -1
  7. package/src/commands/discardselectedsuggestionscommand.js +1 -1
  8. package/src/commands/discardsuggestioncommand.js +1 -1
  9. package/src/commands/trackchangescommand.js +1 -1
  10. package/src/integrations/alignment.js +1 -1
  11. package/src/integrations/basicstyles.js +1 -1
  12. package/src/integrations/blockquote.js +1 -1
  13. package/src/integrations/ckbox.js +1 -1
  14. package/src/integrations/codeblock.js +1 -1
  15. package/src/integrations/comments.js +1 -1
  16. package/src/integrations/deletecommand.js +1 -1
  17. package/src/integrations/entercommand.js +1 -1
  18. package/src/integrations/font.js +1 -1
  19. package/src/integrations/heading.js +1 -1
  20. package/src/integrations/highlight.js +1 -1
  21. package/src/integrations/horizontalline.js +1 -1
  22. package/src/integrations/htmlembed.js +1 -1
  23. package/src/integrations/image.js +1 -1
  24. package/src/integrations/importword.js +1 -1
  25. package/src/integrations/indent.js +1 -1
  26. package/src/integrations/inputcommand.js +1 -1
  27. package/src/integrations/link.js +1 -1
  28. package/src/integrations/list.js +1 -1
  29. package/src/integrations/mediaembed.js +1 -1
  30. package/src/integrations/mention.js +1 -1
  31. package/src/integrations/pagebreak.js +1 -1
  32. package/src/integrations/paragraph.js +1 -1
  33. package/src/integrations/removeformat.js +1 -1
  34. package/src/integrations/restrictededitingmode.js +1 -1
  35. package/src/integrations/shiftentercommand.js +1 -1
  36. package/src/integrations/standardeditingmode.js +1 -1
  37. package/src/integrations/style.js +1 -1
  38. package/src/integrations/table.js +1 -1
  39. package/src/integrations/tableclipboard.js +1 -1
  40. package/src/integrations/tableheadings.js +1 -1
  41. package/src/integrations/tablemergesplit.js +1 -1
  42. package/src/integrations/title.js +1 -1
  43. package/src/integrations/undo.js +1 -1
  44. package/src/integrations/utils.js +1 -1
  45. package/src/suggestion.js +1 -1
  46. package/src/suggestiondescriptionfactory.js +1 -1
  47. package/src/trackchanges.js +1 -1
  48. package/src/trackchangesdata.js +1 -1
  49. package/src/trackchangesediting.js +1 -1
  50. package/src/trackchangesui.js +1 -1
  51. package/src/ui/suggestioncontroller.js +1 -1
  52. package/src/ui/view/basesuggestionthreadview.js +1 -1
  53. package/src/ui/view/suggestionthreadview.js +1 -1
  54. package/src/utils/common-translations.js +1 -1
  55. package/src/utils/getrangesofblockgroups.js +1 -1
  56. package/src/utils/getselectedsuggestions.js +1 -1
  57. package/src/utils/hashobject.js +1 -1
  58. package/src/utils/normalizedescription.js +1 -1
  59. package/src/utils/sortsuggestions.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4f62=['get','subType','getClosestSelectedImageElement','isBlockImage','normalizedStyles','ImageUploadEditing','imageTextAlternative','backward','markDeletion','getFirstRange','alt','imageTypeInline','author','ImageTextAlternativeEditing','model','isInContent','getSuggestions','nodeAfter','newValue','_suggestionFactory','length','convertBlockImageToInline','name','ImageUtils','element','join','schema','Users','isIntersecting','discard','imageStyle','ELEMENT_IMAGE','addObject','*Set\x20image\x20width:*\x20%0','selection','locale','previous','ELEMENT_CAPTION','start','markInlineFormat','getAttribute','side','registerElementLabel','TrackChangesEditing','toNext','markBlockFormat','title','insertion','newRange','fromPosition','createRangeOn','isBefore','imageStylePostApply','filter','*Reset\x20image\x20width*','ImageResize','forEach','commandParams','change','*Format:*\x20%0','*Set\x20image\x20text\x20alternative:*\x20%0','afterInit','formatBlock','ImageInlineEditing','plugins','end','getContainedElement','getSuggestionCallback','ImageStyleEditing','suggestion','hasAttribute','isOwn','ImageCaptionUtils','refresh','registerCustomCallback','document','forward','removeObject','getNearestSelectionRange','getCaptionFromImageModelElement','isEqual','find','resizeImage','commands','_descriptionFactory','commandReversedParams','next','isCollapsed','format','getChangedMarkers','enableCommand','commandName','Inline\x20image\x20to\x20block\x20image','discardSuggestion','forceDefaultExecution','detach','ImageCaptionEditing','width','chain','registerDescriptionCallback','_findSuggestions','convertInlineImageToBlock','ELEMENT_INLINE_IMAGE','formatInline','createRange','findIndex','caption','Block\x20image\x20to\x20inline\x20image','accept','*Remove\x20image\x20text\x20alternative*','markInsertion','imageTypeBlock','ImageEditing','value','head','imageStylePreApply','getSuggestion','imageCaption','type','has'];(function(_0x25abc9,_0x4f6255){const _0x4399f3=function(_0x1269dd){while(--_0x1269dd){_0x25abc9['push'](_0x25abc9['shift']());}};_0x4399f3(++_0x4f6255);}(_0x4f62,0x102));const _0x4399=function(_0x25abc9,_0x4f6255){_0x25abc9=_0x25abc9-0x0;let _0x4399f3=_0x4f62[_0x25abc9];return _0x4399f3;};import{Plugin as _0x59457e}from'ckeditor5/src/core';import{LivePosition as _0x2ada7a}from'ckeditor5/src/engine';import{uid as _0x2d0bd2}from'ckeditor5/src/utils';import{getTranslation as _0x27528b}from'../utils/common-translations';export default class V extends _0x59457e{[_0x4399('0x2b')](){const _0x4a7357=this['editor'];if(!_0x4a7357[_0x4399('0x2e')]['has'](_0x4399('0x5e')))return;const _0x2bca1c=_0x4a7357[_0x4399('0x2e')][_0x4399('0x66')](_0x4399('0x19')),_0x4f0c03=_0x4a7357[_0x4399('0x2e')][_0x4399('0x66')](_0x4399('0x5')),_0x1b39e2={},_0x1958ac=_0x4a7357[_0x4399('0x11')];if(_0x2bca1c['enableCommand']('insertImage'),_0x2bca1c[_0x4399('0x42')]['registerElementLabel']('imageBlock',_0x5bdb4a=>_0x27528b(_0x1958ac,_0x4399('0xd'),_0x5bdb4a)),_0x2bca1c[_0x4399('0x42')][_0x4399('0x18')]('imageInline',_0x27f5eb=>_0x27528b(_0x1958ac,_0x4399('0x54'),_0x27f5eb)),_0x2bca1c[_0x4399('0x42')][_0x4399('0x18')](_0x4399('0x58'),_0x27528b(_0x1958ac,_0x4399('0x13'))),_0x4a7357[_0x4399('0x2e')][_0x4399('0x65')](_0x4399('0x6b'))&&_0x2bca1c['enableCommand']('uploadImage'),_0x4a7357[_0x4399('0x2e')][_0x4399('0x65')]('ImageBlockEditing')&&_0x4a7357['plugins']['has'](_0x4399('0x2d'))&&(_0x2bca1c[_0x4399('0x48')](_0x4399('0x71'),(_0x167ed7,_0x5bcadd)=>{const _0x227412=_0x4f0c03[_0x4399('0x68')](_0x4a7357[_0x4399('0x74')][_0x4399('0x39')][_0x4399('0x10')]);_0x4a7357[_0x4399('0x74')][_0x4399('0x28')](()=>{_0x2bca1c[_0x4399('0x1b')](_0x227412,{'commandName':_0x4399('0x71'),'commandParams':[_0x5bcadd]},[],_0x4399('0x3'));});}),_0x2bca1c[_0x4399('0x48')](_0x4399('0x5d'),(_0x4b1993,_0x1c1ad7)=>{_0x4a7357[_0x4399('0x74')][_0x4399('0x28')](_0x7c1e2b=>{let _0x4c0f38=_0x4f0c03['getClosestSelectedImageElement'](_0x4a7357['model'][_0x4399('0x39')][_0x4399('0x10')]),_0xb00c21=_0x7c1e2b['createRangeOn'](_0x4c0f38);const _0x599976=_0x2ada7a[_0x4399('0x1f')](_0xb00c21['start'],'toPrevious'),_0x338c8a=_0x2ada7a[_0x4399('0x1f')](_0xb00c21[_0x4399('0x2f')],_0x4399('0x1a'));_0x2bca1c[_0x4399('0x4c')](()=>_0x4b1993(_0x1c1ad7)),_0x4c0f38=_0x4f0c03[_0x4399('0x68')](_0x4a7357[_0x4399('0x74')][_0x4399('0x39')][_0x4399('0x10')]),_0xb00c21=_0x7c1e2b['createRangeOn'](_0x4c0f38);const _0x3c3db3=_0x7c1e2b[_0x4399('0x56')](_0x599976,_0x338c8a);_0x599976[_0x4399('0x4d')](),_0x338c8a[_0x4399('0x4d')](),_0x2bca1c['markBlockFormat'](_0x4c0f38,{'commandName':'imageTypeInline'},[],'convertInlineImageToBlock'),_0x3c3db3[_0x4399('0x14')]['isBefore'](_0xb00c21[_0x4399('0x14')])&&_0x2bca1c[_0x4399('0x5c')](_0x7c1e2b['createRange'](_0x3c3db3[_0x4399('0x14')],_0xb00c21[_0x4399('0x14')]),'convertInlineImageToBlock'),_0xb00c21[_0x4399('0x2f')][_0x4399('0x21')](_0x3c3db3[_0x4399('0x2f')])&&_0x2bca1c[_0x4399('0x5c')](_0x7c1e2b[_0x4399('0x56')](_0xb00c21[_0x4399('0x2f')],_0x3c3db3[_0x4399('0x2f')]),'convertInlineImageToBlock');});}),_0x2bca1c[_0x4399('0x1')][_0x4399('0x38')](_0x4399('0x2c'),'convertInlineImageToBlock','join',()=>{}),_0x2bca1c[_0x4399('0x1')][_0x4399('0x38')](_0x4399('0x2c'),_0x4399('0x53'),'accept',()=>{}),_0x2bca1c[_0x4399('0x1')][_0x4399('0x38')](_0x4399('0x2c'),_0x4399('0x53'),_0x4399('0xb'),_0x2bca1c['_suggestionFactory'][_0x4399('0x31')](_0x4399('0x2c'),'',_0x4399('0x5a'))),_0x2bca1c[_0x4399('0x1')]['registerCustomCallback']('insertion',_0x4399('0x53'),_0x4399('0x7'),()=>{}),_0x2bca1c[_0x4399('0x1')][_0x4399('0x38')]('insertion',_0x4399('0x53'),_0x4399('0xb'),([_0x3c7f55])=>{const _0x1c54d6=_0x2bca1c[_0x4399('0x1')][_0x4399('0x31')]('insertion','',_0x4399('0xb'));let _0x1e6b14=_0x3c7f55[_0x4399('0x14')],_0x5eaf3c=_0x3c7f55[_0x4399('0x2f')];const _0x170795=_0x4a7357[_0x4399('0x74')]['schema'][_0x4399('0x3c')](_0x1e6b14,_0x4399('0x6d')),_0x54cb51=_0x4a7357[_0x4399('0x74')][_0x4399('0x8')][_0x4399('0x3c')](_0x5eaf3c,_0x4399('0x3a'));_0x170795[_0x4399('0x45')]&&(_0x1e6b14=_0x170795[_0x4399('0x14')]),_0x54cb51['isCollapsed']&&(_0x5eaf3c=_0x54cb51[_0x4399('0x2f')]),_0x1c54d6([_0x4a7357[_0x4399('0x74')][_0x4399('0x56')](_0x1e6b14,_0x5eaf3c)]);}),_0x2bca1c['_suggestionFactory'][_0x4399('0x38')](_0x4399('0x2c'),'convertInlineImageToBlock','chain',_0x54a3ae),_0x2bca1c[_0x4399('0x1')][_0x4399('0x38')](_0x4399('0x1d'),_0x4399('0x53'),_0x4399('0x50'),_0x54a3ae)),_0x4a7357[_0x4399('0x2e')][_0x4399('0x65')](_0x4399('0x4e'))&&(_0x2bca1c[_0x4399('0x48')]('toggleImageCaption',(_0x4e6ec4,_0x376ffb)=>{const _0x1d2290=_0x4a7357[_0x4399('0x2e')][_0x4399('0x66')](_0x4399('0x36'));let _0x481463=_0x4f0c03[_0x4399('0x68')](_0x4a7357[_0x4399('0x74')]['document']['selection']),_0x23b5e1=_0x1d2290[_0x4399('0x3d')](_0x481463);_0x4a7357[_0x4399('0x74')][_0x4399('0x28')](()=>{if(_0x23b5e1)return void _0x2bca1c[_0x4399('0x6e')](_0x4a7357['model']['createRangeOn'](_0x23b5e1));const _0xa3b49d=_0x4f0c03[_0x4399('0x69')](_0x481463);_0x4e6ec4(_0x376ffb),_0x481463=_0x4f0c03['getClosestSelectedImageElement'](_0x4a7357['model'][_0x4399('0x39')]['selection']),_0x23b5e1=_0x1d2290[_0x4399('0x3d')](_0x481463),_0x2bca1c['markInsertion'](_0x4a7357[_0x4399('0x74')][_0x4399('0x20')](_0x23b5e1),_0xa3b49d?null:'imageCaption');});}),_0x2bca1c[_0x4399('0x1')][_0x4399('0x38')](_0x4399('0x1d'),_0x4399('0x63'),_0x4399('0x50'),_0x54a3ae)),_0x4a7357[_0x4399('0x2e')][_0x4399('0x65')]('ImageStyleEditing')){_0x2bca1c[_0x4399('0x48')]('imageStyle',(_0x37288b,_0x34b96d)=>{const _0xc81bfb=_0x4a7357['plugins'][_0x4399('0x66')](_0x4399('0x9'))['me'],_0x1068d3=_0x4a7357[_0x4399('0x41')][_0x4399('0x66')](_0x4399('0xc'));let _0x1420a4=_0x4f0c03[_0x4399('0x68')](_0x4a7357[_0x4399('0x74')][_0x4399('0x39')][_0x4399('0x10')]),_0x1f78e5=_0x4a7357[_0x4399('0x74')][_0x4399('0x20')](_0x1420a4),_0x10bbef=_0x1068d3[_0x4399('0x5f')];if(_0x10bbef==_0x34b96d[_0x4399('0x5f')])return;const _0x3fcb54={'commandName':_0x4399('0xc'),'commandParams':[_0x34b96d],'formatGroupId':_0x2d0bd2()};_0x4a7357[_0x4399('0x74')][_0x4399('0x28')](()=>{if(_0x2bca1c[_0x4399('0x76')]()[_0x4399('0x23')](_0x2b0229=>_0x2b0229[_0x4399('0x75')]&&_0xc81bfb==_0x2b0229[_0x4399('0x72')]&&(_0x4399('0x2c')==_0x2b0229['type']||_0x4399('0x55')==_0x2b0229['type'])&&(_0x4399('0x61')==_0x2b0229[_0x4399('0x67')]||'imageStylePostApply'==_0x2b0229[_0x4399('0x67')])&&_0x2b0229['getFirstRange']()[_0x4399('0x3e')](_0x1f78e5))[_0x4399('0x26')](_0x1718c7=>_0x2bca1c['discardSuggestion'](_0x1718c7[_0x4399('0x60')])),_0x1420a4=_0x4f0c03['getClosestSelectedImageElement'](_0x4a7357['model'][_0x4399('0x39')][_0x4399('0x10')]),_0x1f78e5=_0x4a7357[_0x4399('0x74')]['createRangeOn'](_0x1420a4),_0x1068d3[_0x4399('0x37')](),_0x4a7357[_0x4399('0x41')][_0x4399('0x66')](_0x4399('0x71'))[_0x4399('0x37')](),_0x4a7357['commands'][_0x4399('0x66')]('imageTypeBlock')[_0x4399('0x37')](),_0x10bbef=_0x1068d3[_0x4399('0x5f')],_0x10bbef!=_0x34b96d[_0x4399('0x5f')])return _0x4f0c03['isInlineImage'](_0x1420a4)&&_0x1068d3['shouldConvertImageType'](_0x34b96d['value'],_0x1420a4)?(_0x37288b(_0x34b96d),_0x1420a4=_0x4f0c03[_0x4399('0x68')](_0x4a7357[_0x4399('0x74')][_0x4399('0x39')]['selection']),void _0x2bca1c['markBlockFormat'](_0x1420a4,{..._0x3fcb54,'commandReversedParams':[{'value':_0x10bbef||null}]},[],'imageStylePreApply')):void(_0x4f0c03[_0x4399('0x69')](_0x1420a4)?_0x2bca1c[_0x4399('0x1b')](_0x1420a4,_0x3fcb54,[],'imageStylePostApply'):_0x2bca1c[_0x4399('0x15')](_0x1f78e5,_0x3fcb54,_0x4399('0x22')));});});for(const _0x39bca2 of _0x4a7357[_0x4399('0x2e')]['get'](_0x4399('0x32'))[_0x4399('0x6a')])_0x1b39e2[_0x39bca2['name']]=_0x39bca2[_0x4399('0x1c')]['toLowerCase']();_0x2bca1c[_0x4399('0x1')][_0x4399('0x38')]('formatBlock',_0x4399('0x61'),_0x4399('0x7'),()=>{}),_0x2bca1c[_0x4399('0x1')][_0x4399('0x38')](_0x4399('0x2c'),_0x4399('0x22'),'join',()=>{}),_0x2bca1c[_0x4399('0x1')][_0x4399('0x38')](_0x4399('0x55'),_0x4399('0x22'),_0x4399('0x7'),()=>{}),_0x2bca1c[_0x4399('0x1')]['registerCustomCallback']('formatBlock','imageStylePreApply',_0x4399('0x5a'),()=>{}),_0x2bca1c[_0x4399('0x1')]['registerCustomCallback'](_0x4399('0x2c'),_0x4399('0x61'),_0x4399('0xb'),(_0x12a2ac,_0xbea106)=>{_0x2bca1c[_0x4399('0x1')]['getSuggestionCallback']('formatBlock','',_0x4399('0x5a'))(_0x12a2ac,{'commandName':_0xbea106['commandName'],'commandParams':_0xbea106[_0x4399('0x43')]});}),_0x2bca1c[_0x4399('0x1')][_0x4399('0x38')](_0x4399('0x2c'),_0x4399('0x61'),'chain',_0x54a3ae);}const _0x560c95=[{'type':'formatBlock','subType':_0x4399('0x61')},{'type':_0x4399('0x1d'),'subType':_0x4399('0x63')},{'type':_0x4399('0x2c'),'subType':_0x4399('0x53')},{'type':'insertion','subType':_0x4399('0x53')}];function _0x102d2f(_0x230a35,_0x29253e){const _0x2aab99=_0x560c95[_0x4399('0x57')](({type:_0x579fac,subType:_0xf9d383})=>_0x230a35[_0x4399('0x64')]==_0x579fac&&_0x230a35[_0x4399('0x67')]==_0xf9d383),_0x17dbc5=_0x560c95[_0x4399('0x57')](({type:_0x4fba21,subType:_0x30ac92})=>_0x29253e[_0x4399('0x64')]==_0x4fba21&&_0x29253e[_0x4399('0x67')]==_0x30ac92);if(_0x2aab99<0x0||_0x17dbc5<0x0)return!0x1;const _0x452204=_0x230a35['getFirstRange'](),_0x175968=_0x29253e[_0x4399('0x6f')]();if((0x0==_0x2aab99||0x1==_0x2aab99)&&0x2==_0x17dbc5&&_0x452204[_0x4399('0xa')](_0x175968))return!0x0;if(0x2==_0x2aab99&&0x3==_0x17dbc5){const _0x4c03e9=_0x2bca1c[_0x4399('0x52')](_0x452204,_0x4399('0x1d'))[_0x4399('0x23')](({suggestion:_0x220bf7,meta:_0x479f9f})=>_0x479f9f[_0x4399('0x35')]&&_0x4399('0x53')==_0x220bf7[_0x4399('0x67')]);if(_0x4c03e9[_0x4399('0x2')]>0x1&&_0x175968[_0x4399('0x2f')][_0x4399('0x3e')](_0x452204[_0x4399('0x14')]))return!0x0;if(0x1==_0x4c03e9[_0x4399('0x2')]&&(_0x452204[_0x4399('0x14')][_0x4399('0x3e')](_0x175968[_0x4399('0x2f')])||_0x452204[_0x4399('0x2f')][_0x4399('0x3e')](_0x175968[_0x4399('0x14')])))return!0x0;}if(0x3==_0x2aab99&&0x3==_0x17dbc5&&_0x452204[_0x4399('0x14')][_0x4399('0x21')](_0x175968[_0x4399('0x14')])){const _0x3948d3=_0x452204['end'][_0x4399('0x77')],_0x2dfd4d=_0x175968[_0x4399('0x14')]['nodeBefore'];return _0x4f0c03[_0x4399('0x69')](_0x3948d3)&&_0x3948d3===_0x2dfd4d;}return!0x1;}function _0x54a3ae(_0x3fee28,_0x1c4de1){return _0x102d2f(_0x3fee28,_0x1c4de1)?[_0x3fee28,_0x1c4de1]:_0x102d2f(_0x1c4de1,_0x3fee28)?[_0x1c4de1,_0x3fee28]:null;}_0x4a7357[_0x4399('0x74')][_0x4399('0x39')]['registerPostFixer'](()=>{let _0x30d61f=!0x1;const _0x260604=Array['from'](_0x4a7357[_0x4399('0x74')][_0x4399('0x39')]['differ'][_0x4399('0x47')]());for(const {name:_0x248655,data:_0x32804c}of _0x260604){const {group:_0x1886e8,type:_0x4d2f38,subType:_0x47f3a1,id:_0x18b314}=_0x2bca1c['_splitMarkerName'](_0x248655);if(_0x4399('0x33')==_0x1886e8&&_0x2bca1c['hasSuggestion'](_0x18b314)){if(_0x4399('0x2c')==_0x4d2f38&&(_0x4399('0x61')==_0x47f3a1||_0x4399('0x22')==_0x47f3a1)){const _0x52c710=_0x2bca1c[_0x4399('0x62')](_0x18b314);if(_0x32804c[_0x4399('0x1e')]){const _0x557a85=_0x52c710[_0x4399('0x6f')]()[_0x4399('0x30')]();if(_0x4f0c03[_0x4399('0x69')](_0x557a85))continue;_0x2bca1c[_0x4399('0x4b')](_0x52c710),_0x30d61f=!0x0;}}if(_0x4399('0x1d')==_0x4d2f38&&_0x4399('0x63')==_0x47f3a1&&!_0x32804c[_0x4399('0x1e')]){const _0x8212ad=_0x2bca1c[_0x4399('0x62')](_0x18b314);_0x8212ad[_0x4399('0x44')]&&_0x8212ad[_0x4399('0x44')][_0x4399('0x75')]&&(_0x2bca1c['discardSuggestion'](_0x8212ad[_0x4399('0x44')]),_0x30d61f=!0x0);}}}return _0x30d61f;}),_0x4a7357[_0x4399('0x2e')]['has'](_0x4399('0x25'))&&_0x2bca1c[_0x4399('0x48')]('resizeImage',(_0x484b08,_0xa22323)=>{const _0x743d33=_0x4f0c03[_0x4399('0x68')](_0x4a7357[_0x4399('0x74')][_0x4399('0x39')][_0x4399('0x10')]);_0x743d33[_0x4399('0x16')]('width')!=_0xa22323[_0x4399('0x4f')]&&_0x4a7357['model'][_0x4399('0x28')](()=>{_0x2bca1c[_0x4399('0x1b')](_0x743d33,{'commandName':_0x4399('0x40'),'commandParams':[_0xa22323]});});}),_0x4a7357['plugins'][_0x4399('0x65')](_0x4399('0x73'))&&_0x2bca1c[_0x4399('0x48')](_0x4399('0x6c'),(_0x3e14ce,_0x13c326)=>{const _0x24cade=_0x4f0c03['getClosestSelectedImageElement'](_0x4a7357[_0x4399('0x74')][_0x4399('0x39')][_0x4399('0x10')]);(_0x24cade[_0x4399('0x34')]('alt')?_0x24cade[_0x4399('0x16')](_0x4399('0x70')):'')!=_0x13c326['newValue']&&_0x4a7357[_0x4399('0x74')][_0x4399('0x28')](()=>{_0x2bca1c[_0x4399('0x1b')](_0x24cade,{'commandName':'imageTextAlternative','commandParams':[_0x13c326]});});}),_0x2bca1c[_0x4399('0x42')][_0x4399('0x51')](_0x29314f=>{if(!!_0x560c95[_0x4399('0x3f')](({type:_0x1c3756,subType:_0x287130})=>_0x29314f[_0x4399('0x64')]==_0x1c3756&&_0x29314f['subType']==_0x287130))return _0x29314f[_0x4399('0x12')]?{}:void 0x0;}),_0x2bca1c[_0x4399('0x42')][_0x4399('0x51')](_0x5066e5=>{if(_0x4399('0x1d')==_0x5066e5['type']||'deletion'==_0x5066e5['type']){const _0x2e07d0=_0x5066e5[_0x4399('0x30')]();if(_0x2e07d0&&_0x2e07d0['is'](_0x4399('0x6'),_0x4399('0x58')))return{'type':'insertion'==_0x5066e5[_0x4399('0x64')]?_0x4399('0xe'):_0x4399('0x3b'),'name':_0x2e07d0[_0x4399('0x4')],'quantity':0x1};}}),_0x2bca1c[_0x4399('0x42')][_0x4399('0x51')](_0x182b42=>'formatBlock'==_0x182b42[_0x4399('0x64')]&&_0x4399('0x53')==_0x182b42[_0x4399('0x67')]?{'type':_0x4399('0x46'),'content':_0x4399('0x4a')}:_0x4399('0x2c')==_0x182b42[_0x4399('0x64')]&&_0x4399('0x3')==_0x182b42[_0x4399('0x67')]?{'type':_0x4399('0x46'),'content':_0x4399('0x59')}:void 0x0),_0x2bca1c[_0x4399('0x42')][_0x4399('0x51')](_0x577b69=>{const {data:_0x5d20a6}=_0x577b69;if(_0x5d20a6){if(_0x4399('0xc')==_0x5d20a6[_0x4399('0x49')]){const _0x1611a9=_0x5d20a6[_0x4399('0x27')][0x0]['value'];return _0x28af1c(_0x4399('0x17')===_0x1611a9?_0x27528b(_0x1958ac,'FORMAT_SIDE_IMAGE'):_0x1b39e2[_0x1611a9]||_0x1611a9);}if('imageTextAlternative'==_0x5d20a6[_0x4399('0x49')]){const _0x3de107=_0x5d20a6[_0x4399('0x27')][0x0][_0x4399('0x0')];return _0x3de107?{'type':_0x4399('0x46'),'content':_0x27528b(_0x1958ac,_0x4399('0x2a'),'\x22'+_0x3de107+'\x22')}:{'type':_0x4399('0x46'),'content':_0x27528b(_0x1958ac,_0x4399('0x5b'))};}if(_0x4399('0x40')==_0x5d20a6[_0x4399('0x49')]){const _0x3fba71=_0x5d20a6[_0x4399('0x27')][0x0][_0x4399('0x4f')];return _0x3fba71?{'type':'format','content':_0x27528b(_0x1958ac,_0x4399('0xf'),_0x3fba71)}:{'type':_0x4399('0x46'),'content':_0x27528b(_0x1958ac,_0x4399('0x24'))};}}function _0x28af1c(_0x598557){return{'type':_0x4399('0x46'),'content':_0x27528b(_0x1958ac,_0x4399('0x29'),_0x598557)};}});}}
23
+ const _0x32fb=['caption','getChangedMarkers','isCollapsed','element','format','locale','insertImage','shouldConvertImageType','convertBlockImageToInline','accept','find','isOwn','isEqual','imageTextAlternative','type','afterInit','toLowerCase','insertion','alt','ImageInlineEditing','registerElementLabel','toNext','model','getSuggestion','toggleImageCaption','_suggestionFactory','hasSuggestion','ELEMENT_CAPTION','ImageEditing','forceDefaultExecution','getSuggestions','nodeBefore','newValue','toPrevious','convertInlineImageToBlock','subType','next','plugins','getContainedElement','getClosestSelectedImageElement','differ','imageTypeInline','chain','ImageTextAlternativeEditing','TrackChangesEditing','normalizedStyles','imageStyle','hasAttribute','ImageCaptionUtils','discard','value','schema','change','formatInline','ImageResize','get','author','*Set\x20image\x20text\x20alternative:*\x20%0','removeObject','imageStylePreApply','filter','detach','FORMAT_SIDE_IMAGE','ImageCaptionEditing','registerDescriptionCallback','forward','resizeImage','formatBlock','selection','width','commandName','from','name','end','backward','markDeletion','enableCommand','start','isBlockImage','commandReversedParams','discardSuggestion','registerCustomCallback','isInlineImage','ELEMENT_INLINE_IMAGE','commands','title','ImageUploadEditing','getFirstRange','head','newRange','getCaptionFromImageModelElement','imageTypeBlock','*Set\x20image\x20width:*\x20%0','findIndex','isIntersecting','isBefore','_descriptionFactory','getNearestSelectionRange','refresh','Block\x20image\x20to\x20inline\x20image','forEach','has','_splitMarkerName','deletion','ImageBlockEditing','markBlockFormat','markInsertion','length','*Remove\x20image\x20text\x20alternative*','getAttribute','commandParams','document','createRange','getSuggestionCallback','uploadImage','fromPosition','imageCaption','imageStylePostApply','createRangeOn','*Format:*\x20%0','join','editor','Users'];(function(_0x45859e,_0x32fb56){const _0x4f7e66=function(_0x4463af){while(--_0x4463af){_0x45859e['push'](_0x45859e['shift']());}};_0x4f7e66(++_0x32fb56);}(_0x32fb,0x188));const _0x4f7e=function(_0x45859e,_0x32fb56){_0x45859e=_0x45859e-0x0;let _0x4f7e66=_0x32fb[_0x45859e];return _0x4f7e66;};import{Plugin as _0x366461}from'ckeditor5/src/core';import{LivePosition as _0x39a704}from'ckeditor5/src/engine';import{uid as _0x10b714}from'ckeditor5/src/utils';import{getTranslation as _0x287344}from'../utils/common-translations';export default class V extends _0x366461{[_0x4f7e('0x73')](){const _0x336125=this[_0x4f7e('0x62')];if(!_0x336125[_0x4f7e('0xe')][_0x4f7e('0x4e')](_0x4f7e('0x5')))return;const _0x19635b=_0x336125[_0x4f7e('0xe')][_0x4f7e('0x20')](_0x4f7e('0x15')),_0x3cdd56=_0x336125[_0x4f7e('0xe')][_0x4f7e('0x20')]('ImageUtils'),_0x14d6b5={},_0x58c14a=_0x336125[_0x4f7e('0x69')];if(_0x19635b['enableCommand'](_0x4f7e('0x6a')),_0x19635b[_0x4f7e('0x49')][_0x4f7e('0x78')]('imageBlock',_0x4f7fbc=>_0x287344(_0x58c14a,'ELEMENT_IMAGE',_0x4f7fbc)),_0x19635b[_0x4f7e('0x49')][_0x4f7e('0x78')]('imageInline',_0x2ae673=>_0x287344(_0x58c14a,_0x4f7e('0x3c'),_0x2ae673)),_0x19635b[_0x4f7e('0x49')][_0x4f7e('0x78')](_0x4f7e('0x64'),_0x287344(_0x58c14a,_0x4f7e('0x4'))),_0x336125[_0x4f7e('0xe')]['has'](_0x4f7e('0x3f'))&&_0x19635b[_0x4f7e('0x35')](_0x4f7e('0x5b')),_0x336125[_0x4f7e('0xe')][_0x4f7e('0x4e')](_0x4f7e('0x51'))&&_0x336125[_0x4f7e('0xe')][_0x4f7e('0x4e')](_0x4f7e('0x77'))&&(_0x19635b[_0x4f7e('0x35')](_0x4f7e('0x12'),(_0x29d8b1,_0x379907)=>{const _0x202126=_0x3cdd56['getClosestSelectedImageElement'](_0x336125['model']['document'][_0x4f7e('0x2d')]);_0x336125[_0x4f7e('0x7a')][_0x4f7e('0x1d')](()=>{_0x19635b[_0x4f7e('0x52')](_0x202126,{'commandName':_0x4f7e('0x12'),'commandParams':[_0x379907]},[],_0x4f7e('0x6c'));});}),_0x19635b[_0x4f7e('0x35')](_0x4f7e('0x44'),(_0x1c45f7,_0x2712f6)=>{_0x336125['model']['change'](_0x26aea2=>{let _0xeafe58=_0x3cdd56[_0x4f7e('0x10')](_0x336125[_0x4f7e('0x7a')][_0x4f7e('0x58')]['selection']),_0xf251d=_0x26aea2['createRangeOn'](_0xeafe58);const _0x1b9107=_0x39a704[_0x4f7e('0x5c')](_0xf251d[_0x4f7e('0x36')],_0x4f7e('0xa')),_0xe031c0=_0x39a704['fromPosition'](_0xf251d[_0x4f7e('0x32')],_0x4f7e('0x79'));_0x19635b[_0x4f7e('0x6')](()=>_0x1c45f7(_0x2712f6)),_0xeafe58=_0x3cdd56[_0x4f7e('0x10')](_0x336125[_0x4f7e('0x7a')][_0x4f7e('0x58')][_0x4f7e('0x2d')]),_0xf251d=_0x26aea2['createRangeOn'](_0xeafe58);const _0x58f377=_0x26aea2['createRange'](_0x1b9107,_0xe031c0);_0x1b9107[_0x4f7e('0x26')](),_0xe031c0['detach'](),_0x19635b[_0x4f7e('0x52')](_0xeafe58,{'commandName':_0x4f7e('0x12')},[],_0x4f7e('0xb')),_0x58f377[_0x4f7e('0x36')][_0x4f7e('0x48')](_0xf251d['start'])&&_0x19635b[_0x4f7e('0x53')](_0x26aea2['createRange'](_0x58f377[_0x4f7e('0x36')],_0xf251d[_0x4f7e('0x36')]),_0x4f7e('0xb')),_0xf251d[_0x4f7e('0x32')][_0x4f7e('0x48')](_0x58f377[_0x4f7e('0x32')])&&_0x19635b[_0x4f7e('0x53')](_0x26aea2['createRange'](_0xf251d[_0x4f7e('0x32')],_0x58f377[_0x4f7e('0x32')]),_0x4f7e('0xb'));});}),_0x19635b[_0x4f7e('0x2')][_0x4f7e('0x3a')](_0x4f7e('0x2c'),'convertInlineImageToBlock',_0x4f7e('0x61'),()=>{}),_0x19635b[_0x4f7e('0x2')][_0x4f7e('0x3a')](_0x4f7e('0x2c'),_0x4f7e('0xb'),_0x4f7e('0x6d'),()=>{}),_0x19635b[_0x4f7e('0x2')][_0x4f7e('0x3a')](_0x4f7e('0x2c'),'convertInlineImageToBlock',_0x4f7e('0x1a'),_0x19635b['_suggestionFactory'][_0x4f7e('0x5a')](_0x4f7e('0x2c'),'','accept')),_0x19635b[_0x4f7e('0x2')][_0x4f7e('0x3a')](_0x4f7e('0x75'),_0x4f7e('0xb'),'join',()=>{}),_0x19635b[_0x4f7e('0x2')][_0x4f7e('0x3a')]('insertion',_0x4f7e('0xb'),'discard',([_0x324da6])=>{const _0x21e25d=_0x19635b[_0x4f7e('0x2')][_0x4f7e('0x5a')](_0x4f7e('0x75'),'','discard');let _0xc6efdf=_0x324da6['start'],_0x311fb3=_0x324da6[_0x4f7e('0x32')];const _0x20d476=_0x336125[_0x4f7e('0x7a')][_0x4f7e('0x1c')]['getNearestSelectionRange'](_0xc6efdf,_0x4f7e('0x33')),_0x14cb28=_0x336125['model'][_0x4f7e('0x1c')][_0x4f7e('0x4a')](_0x311fb3,_0x4f7e('0x2a'));_0x20d476[_0x4f7e('0x66')]&&(_0xc6efdf=_0x20d476['start']),_0x14cb28[_0x4f7e('0x66')]&&(_0x311fb3=_0x14cb28[_0x4f7e('0x32')]),_0x21e25d([_0x336125[_0x4f7e('0x7a')][_0x4f7e('0x59')](_0xc6efdf,_0x311fb3)]);}),_0x19635b[_0x4f7e('0x2')][_0x4f7e('0x3a')](_0x4f7e('0x2c'),_0x4f7e('0xb'),'chain',_0x16e386),_0x19635b[_0x4f7e('0x2')][_0x4f7e('0x3a')](_0x4f7e('0x75'),_0x4f7e('0xb'),_0x4f7e('0x13'),_0x16e386)),_0x336125[_0x4f7e('0xe')][_0x4f7e('0x4e')](_0x4f7e('0x28'))&&(_0x19635b[_0x4f7e('0x35')](_0x4f7e('0x1'),(_0x386394,_0x1b9548)=>{const _0x1e7c86=_0x336125[_0x4f7e('0xe')][_0x4f7e('0x20')](_0x4f7e('0x19'));let _0x1d5524=_0x3cdd56[_0x4f7e('0x10')](_0x336125[_0x4f7e('0x7a')][_0x4f7e('0x58')][_0x4f7e('0x2d')]),_0x1f6f52=_0x1e7c86[_0x4f7e('0x43')](_0x1d5524);_0x336125[_0x4f7e('0x7a')][_0x4f7e('0x1d')](()=>{if(_0x1f6f52)return void _0x19635b[_0x4f7e('0x34')](_0x336125['model']['createRangeOn'](_0x1f6f52));const _0x219cc5=_0x3cdd56[_0x4f7e('0x37')](_0x1d5524);_0x386394(_0x1b9548),_0x1d5524=_0x3cdd56[_0x4f7e('0x10')](_0x336125[_0x4f7e('0x7a')]['document'][_0x4f7e('0x2d')]),_0x1f6f52=_0x1e7c86[_0x4f7e('0x43')](_0x1d5524),_0x19635b[_0x4f7e('0x53')](_0x336125[_0x4f7e('0x7a')][_0x4f7e('0x5f')](_0x1f6f52),_0x219cc5?null:_0x4f7e('0x5d'));});}),_0x19635b[_0x4f7e('0x2')][_0x4f7e('0x3a')](_0x4f7e('0x75'),_0x4f7e('0x5d'),_0x4f7e('0x13'),_0x16e386)),_0x336125[_0x4f7e('0xe')][_0x4f7e('0x4e')]('ImageStyleEditing')){_0x19635b[_0x4f7e('0x35')](_0x4f7e('0x17'),(_0x10857e,_0x4017e7)=>{const _0x1726cb=_0x336125[_0x4f7e('0xe')][_0x4f7e('0x20')](_0x4f7e('0x63'))['me'],_0x3de232=_0x336125['commands'][_0x4f7e('0x20')](_0x4f7e('0x17'));let _0x5ea5dd=_0x3cdd56[_0x4f7e('0x10')](_0x336125[_0x4f7e('0x7a')][_0x4f7e('0x58')][_0x4f7e('0x2d')]),_0x32828b=_0x336125[_0x4f7e('0x7a')]['createRangeOn'](_0x5ea5dd),_0x3747d9=_0x3de232[_0x4f7e('0x1b')];if(_0x3747d9==_0x4017e7[_0x4f7e('0x1b')])return;const _0x346cab={'commandName':_0x4f7e('0x17'),'commandParams':[_0x4017e7],'formatGroupId':_0x10b714()};_0x336125[_0x4f7e('0x7a')][_0x4f7e('0x1d')](()=>{if(_0x19635b[_0x4f7e('0x7')]()['filter'](_0x53c3a3=>_0x53c3a3['isInContent']&&_0x1726cb==_0x53c3a3[_0x4f7e('0x21')]&&('formatBlock'==_0x53c3a3[_0x4f7e('0x72')]||_0x4f7e('0x1e')==_0x53c3a3[_0x4f7e('0x72')])&&(_0x4f7e('0x24')==_0x53c3a3[_0x4f7e('0xc')]||_0x4f7e('0x5e')==_0x53c3a3[_0x4f7e('0xc')])&&_0x53c3a3[_0x4f7e('0x40')]()[_0x4f7e('0x70')](_0x32828b))[_0x4f7e('0x4d')](_0xde448=>_0x19635b[_0x4f7e('0x39')](_0xde448[_0x4f7e('0x41')])),_0x5ea5dd=_0x3cdd56[_0x4f7e('0x10')](_0x336125[_0x4f7e('0x7a')][_0x4f7e('0x58')][_0x4f7e('0x2d')]),_0x32828b=_0x336125['model'][_0x4f7e('0x5f')](_0x5ea5dd),_0x3de232['refresh'](),_0x336125[_0x4f7e('0x3d')][_0x4f7e('0x20')](_0x4f7e('0x12'))[_0x4f7e('0x4b')](),_0x336125[_0x4f7e('0x3d')][_0x4f7e('0x20')](_0x4f7e('0x44'))[_0x4f7e('0x4b')](),_0x3747d9=_0x3de232[_0x4f7e('0x1b')],_0x3747d9!=_0x4017e7['value'])return _0x3cdd56[_0x4f7e('0x3b')](_0x5ea5dd)&&_0x3de232[_0x4f7e('0x6b')](_0x4017e7['value'],_0x5ea5dd)?(_0x10857e(_0x4017e7),_0x5ea5dd=_0x3cdd56[_0x4f7e('0x10')](_0x336125[_0x4f7e('0x7a')]['document']['selection']),void _0x19635b[_0x4f7e('0x52')](_0x5ea5dd,{..._0x346cab,'commandReversedParams':[{'value':_0x3747d9||null}]},[],_0x4f7e('0x24'))):void(_0x3cdd56[_0x4f7e('0x37')](_0x5ea5dd)?_0x19635b[_0x4f7e('0x52')](_0x5ea5dd,_0x346cab,[],_0x4f7e('0x5e')):_0x19635b['markInlineFormat'](_0x32828b,_0x346cab,'imageStylePostApply'));});});for(const _0xa2e26d of _0x336125[_0x4f7e('0xe')][_0x4f7e('0x20')]('ImageStyleEditing')[_0x4f7e('0x16')])_0x14d6b5[_0xa2e26d[_0x4f7e('0x31')]]=_0xa2e26d[_0x4f7e('0x3e')][_0x4f7e('0x74')]();_0x19635b['_suggestionFactory'][_0x4f7e('0x3a')](_0x4f7e('0x2c'),'imageStylePreApply',_0x4f7e('0x61'),()=>{}),_0x19635b[_0x4f7e('0x2')]['registerCustomCallback']('formatBlock',_0x4f7e('0x5e'),_0x4f7e('0x61'),()=>{}),_0x19635b[_0x4f7e('0x2')][_0x4f7e('0x3a')](_0x4f7e('0x1e'),_0x4f7e('0x5e'),_0x4f7e('0x61'),()=>{}),_0x19635b[_0x4f7e('0x2')][_0x4f7e('0x3a')](_0x4f7e('0x2c'),_0x4f7e('0x24'),'accept',()=>{}),_0x19635b['_suggestionFactory'][_0x4f7e('0x3a')](_0x4f7e('0x2c'),_0x4f7e('0x24'),_0x4f7e('0x1a'),(_0x47b3a8,_0x1965f6)=>{_0x19635b['_suggestionFactory'][_0x4f7e('0x5a')](_0x4f7e('0x2c'),'',_0x4f7e('0x6d'))(_0x47b3a8,{'commandName':_0x1965f6['commandName'],'commandParams':_0x1965f6[_0x4f7e('0x38')]});}),_0x19635b[_0x4f7e('0x2')][_0x4f7e('0x3a')]('formatBlock','imageStylePreApply',_0x4f7e('0x13'),_0x16e386);}const _0x4bdeff=[{'type':_0x4f7e('0x2c'),'subType':_0x4f7e('0x24')},{'type':_0x4f7e('0x75'),'subType':_0x4f7e('0x5d')},{'type':'formatBlock','subType':_0x4f7e('0xb')},{'type':_0x4f7e('0x75'),'subType':_0x4f7e('0xb')}];function _0x105f27(_0x1fe7ca,_0x1c4873){const _0x34ac64=_0x4bdeff[_0x4f7e('0x46')](({type:_0x35250c,subType:_0x3e4c33})=>_0x1fe7ca[_0x4f7e('0x72')]==_0x35250c&&_0x1fe7ca[_0x4f7e('0xc')]==_0x3e4c33),_0xb67a10=_0x4bdeff[_0x4f7e('0x46')](({type:_0x3d0b10,subType:_0x1806d3})=>_0x1c4873[_0x4f7e('0x72')]==_0x3d0b10&&_0x1c4873[_0x4f7e('0xc')]==_0x1806d3);if(_0x34ac64<0x0||_0xb67a10<0x0)return!0x1;const _0xa8e9f4=_0x1fe7ca[_0x4f7e('0x40')](),_0x2b466b=_0x1c4873[_0x4f7e('0x40')]();if((0x0==_0x34ac64||0x1==_0x34ac64)&&0x2==_0xb67a10&&_0xa8e9f4[_0x4f7e('0x47')](_0x2b466b))return!0x0;if(0x2==_0x34ac64&&0x3==_0xb67a10){const _0x40ec63=_0x19635b['_findSuggestions'](_0xa8e9f4,'insertion')[_0x4f7e('0x25')](({suggestion:_0x2f4d4b,meta:_0x61dd9c})=>_0x61dd9c[_0x4f7e('0x6f')]&&'convertInlineImageToBlock'==_0x2f4d4b[_0x4f7e('0xc')]);if(_0x40ec63[_0x4f7e('0x54')]>0x1&&_0x2b466b[_0x4f7e('0x32')][_0x4f7e('0x70')](_0xa8e9f4[_0x4f7e('0x36')]))return!0x0;if(0x1==_0x40ec63[_0x4f7e('0x54')]&&(_0xa8e9f4[_0x4f7e('0x36')][_0x4f7e('0x70')](_0x2b466b[_0x4f7e('0x32')])||_0xa8e9f4[_0x4f7e('0x32')][_0x4f7e('0x70')](_0x2b466b[_0x4f7e('0x36')])))return!0x0;}if(0x3==_0x34ac64&&0x3==_0xb67a10&&_0xa8e9f4[_0x4f7e('0x36')][_0x4f7e('0x48')](_0x2b466b[_0x4f7e('0x36')])){const _0x5f19c7=_0xa8e9f4[_0x4f7e('0x32')]['nodeAfter'],_0x557b11=_0x2b466b[_0x4f7e('0x36')][_0x4f7e('0x8')];return _0x3cdd56[_0x4f7e('0x37')](_0x5f19c7)&&_0x5f19c7===_0x557b11;}return!0x1;}function _0x16e386(_0x1f659b,_0x3dd4ad){return _0x105f27(_0x1f659b,_0x3dd4ad)?[_0x1f659b,_0x3dd4ad]:_0x105f27(_0x3dd4ad,_0x1f659b)?[_0x3dd4ad,_0x1f659b]:null;}_0x336125[_0x4f7e('0x7a')][_0x4f7e('0x58')]['registerPostFixer'](()=>{let _0x1ff5e3=!0x1;const _0x168fa1=Array[_0x4f7e('0x30')](_0x336125[_0x4f7e('0x7a')][_0x4f7e('0x58')][_0x4f7e('0x11')][_0x4f7e('0x65')]());for(const {name:_0xf55de,data:_0x589b6d}of _0x168fa1){const {group:_0x14fdea,type:_0x16abd4,subType:_0x343c1f,id:_0xfbc40e}=_0x19635b[_0x4f7e('0x4f')](_0xf55de);if('suggestion'==_0x14fdea&&_0x19635b[_0x4f7e('0x3')](_0xfbc40e)){if(_0x4f7e('0x2c')==_0x16abd4&&('imageStylePreApply'==_0x343c1f||_0x4f7e('0x5e')==_0x343c1f)){const _0x2f5803=_0x19635b[_0x4f7e('0x0')](_0xfbc40e);if(_0x589b6d['newRange']){const _0x3ba72f=_0x2f5803[_0x4f7e('0x40')]()[_0x4f7e('0xf')]();if(_0x3cdd56[_0x4f7e('0x37')](_0x3ba72f))continue;_0x19635b['discardSuggestion'](_0x2f5803),_0x1ff5e3=!0x0;}}if(_0x4f7e('0x75')==_0x16abd4&&_0x4f7e('0x5d')==_0x343c1f&&!_0x589b6d[_0x4f7e('0x42')]){const _0x568384=_0x19635b[_0x4f7e('0x0')](_0xfbc40e);_0x568384[_0x4f7e('0xd')]&&_0x568384[_0x4f7e('0xd')]['isInContent']&&(_0x19635b[_0x4f7e('0x39')](_0x568384[_0x4f7e('0xd')]),_0x1ff5e3=!0x0);}}}return _0x1ff5e3;}),_0x336125[_0x4f7e('0xe')]['has'](_0x4f7e('0x1f'))&&_0x19635b[_0x4f7e('0x35')](_0x4f7e('0x2b'),(_0x122352,_0x3222c1)=>{const _0x1ec58e=_0x3cdd56[_0x4f7e('0x10')](_0x336125[_0x4f7e('0x7a')][_0x4f7e('0x58')][_0x4f7e('0x2d')]);_0x1ec58e[_0x4f7e('0x56')](_0x4f7e('0x2e'))!=_0x3222c1[_0x4f7e('0x2e')]&&_0x336125[_0x4f7e('0x7a')][_0x4f7e('0x1d')](()=>{_0x19635b[_0x4f7e('0x52')](_0x1ec58e,{'commandName':_0x4f7e('0x2b'),'commandParams':[_0x3222c1]});});}),_0x336125[_0x4f7e('0xe')][_0x4f7e('0x4e')](_0x4f7e('0x14'))&&_0x19635b['enableCommand'](_0x4f7e('0x71'),(_0x1f28cf,_0x13877e)=>{const _0xe90501=_0x3cdd56['getClosestSelectedImageElement'](_0x336125[_0x4f7e('0x7a')]['document'][_0x4f7e('0x2d')]);(_0xe90501[_0x4f7e('0x18')](_0x4f7e('0x76'))?_0xe90501[_0x4f7e('0x56')](_0x4f7e('0x76')):'')!=_0x13877e[_0x4f7e('0x9')]&&_0x336125[_0x4f7e('0x7a')][_0x4f7e('0x1d')](()=>{_0x19635b['markBlockFormat'](_0xe90501,{'commandName':_0x4f7e('0x71'),'commandParams':[_0x13877e]});});}),_0x19635b['_descriptionFactory'][_0x4f7e('0x29')](_0x3928e8=>{if(!!_0x4bdeff[_0x4f7e('0x6e')](({type:_0x434350,subType:_0x345660})=>_0x3928e8[_0x4f7e('0x72')]==_0x434350&&_0x3928e8[_0x4f7e('0xc')]==_0x345660))return _0x3928e8['previous']?{}:void 0x0;}),_0x19635b[_0x4f7e('0x49')][_0x4f7e('0x29')](_0x1da52b=>{if('insertion'==_0x1da52b['type']||_0x4f7e('0x50')==_0x1da52b['type']){const _0x1efe38=_0x1da52b[_0x4f7e('0xf')]();if(_0x1efe38&&_0x1efe38['is'](_0x4f7e('0x67'),'caption'))return{'type':_0x4f7e('0x75')==_0x1da52b[_0x4f7e('0x72')]?'addObject':_0x4f7e('0x23'),'name':_0x1efe38['name'],'quantity':0x1};}}),_0x19635b['_descriptionFactory'][_0x4f7e('0x29')](_0x5e29eb=>'formatBlock'==_0x5e29eb[_0x4f7e('0x72')]&&_0x4f7e('0xb')==_0x5e29eb[_0x4f7e('0xc')]?{'type':_0x4f7e('0x68'),'content':'Inline\x20image\x20to\x20block\x20image'}:'formatBlock'==_0x5e29eb[_0x4f7e('0x72')]&&_0x4f7e('0x6c')==_0x5e29eb[_0x4f7e('0xc')]?{'type':_0x4f7e('0x68'),'content':_0x4f7e('0x4c')}:void 0x0),_0x19635b['_descriptionFactory']['registerDescriptionCallback'](_0x4bc9c9=>{const {data:_0x17bc1c}=_0x4bc9c9;if(_0x17bc1c){if(_0x4f7e('0x17')==_0x17bc1c[_0x4f7e('0x2f')]){const _0x170f9c=_0x17bc1c[_0x4f7e('0x57')][0x0][_0x4f7e('0x1b')];return _0x26a6b1('side'===_0x170f9c?_0x287344(_0x58c14a,_0x4f7e('0x27')):_0x14d6b5[_0x170f9c]||_0x170f9c);}if(_0x4f7e('0x71')==_0x17bc1c[_0x4f7e('0x2f')]){const _0x5644e9=_0x17bc1c['commandParams'][0x0]['newValue'];return _0x5644e9?{'type':_0x4f7e('0x68'),'content':_0x287344(_0x58c14a,_0x4f7e('0x22'),'\x22'+_0x5644e9+'\x22')}:{'type':_0x4f7e('0x68'),'content':_0x287344(_0x58c14a,_0x4f7e('0x55'))};}if('resizeImage'==_0x17bc1c[_0x4f7e('0x2f')]){const _0x3afe17=_0x17bc1c[_0x4f7e('0x57')][0x0][_0x4f7e('0x2e')];return _0x3afe17?{'type':_0x4f7e('0x68'),'content':_0x287344(_0x58c14a,_0x4f7e('0x45'),_0x3afe17)}:{'type':_0x4f7e('0x68'),'content':_0x287344(_0x58c14a,'*Reset\x20image\x20width*')};}}function _0x26a6b1(_0x362371){return{'type':_0x4f7e('0x68'),'content':_0x287344(_0x58c14a,_0x4f7e('0x60'),_0x362371)};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1749=['plugins','Users','value','_trackChangesValueDuringImport','trackChanges','bind','collaboration_features','high','execute','importWord','forEach','afterInit','addSuggestionData','_handleImportedData','track_changes','listenTo','commands','editor','dataInsert','get','TrackChangesEditing','_trackChangesExecuted'];(function(_0x102696,_0x174985){const _0x40269c=function(_0x38d038){while(--_0x38d038){_0x102696['push'](_0x102696['shift']());}};_0x40269c(++_0x174985);}(_0x1749,0xa7));const _0x4026=function(_0x102696,_0x174985){_0x102696=_0x102696-0x0;let _0x40269c=_0x1749[_0x102696];return _0x40269c;};import{Plugin as _0x2cbc82}from'ckeditor5/src/core';import _0x3d6d21 from'../trackchangesediting';export default class X extends _0x2cbc82{constructor(_0x3caf0f){super(_0x3caf0f),this['_trackChangesValueDuringImport']=!0x1,this[_0x4026('0x8')]=!0x1;}[_0x4026('0x14')](){const _0x59ed1e=this['editor'],_0x444021=_0x59ed1e[_0x4026('0x3')][_0x4026('0x6')](_0x4026('0x12')),_0x3d14bb=_0x59ed1e[_0x4026('0x3')][_0x4026('0x6')](_0x4026('0xd'));_0x444021&&(_0x444021['on'](_0x4026('0x11'),(_0xf23ef1,[,_0x4225b7])=>{this[_0x4026('0xc')]=_0x3d14bb[_0x4026('0xb')],_0x4225b7[_0x4026('0xf')][_0x4026('0x1')]=!this['_trackChangesValueDuringImport'];},{'priority':_0x4026('0x10')}),this[_0x4026('0x2')](_0x444021,_0x4026('0x5'),this['_handleImportedData'][_0x4026('0xe')](this)),this[_0x4026('0x2')](_0x444021,_0x4026('0x5'),()=>{this[_0x4026('0x8')]&&(_0x3d14bb[_0x4026('0x11')](),this[_0x4026('0x8')]=!0x1);},{'priority':'lowest'}),_0x59ed1e[_0x4026('0x9')][_0x4026('0x6')](_0x4026('0x7'))['enableCommand'](_0x4026('0x12')));}[_0x4026('0x0')](_0x8c0dbc,_0x1f9b7b){const {suggestions:_0x47a3c0}=_0x1f9b7b,_0x7bf5ca=this[_0x4026('0x4')][_0x4026('0x3')]['get'](_0x4026('0xd')),_0x3fa4a7=_0x7bf5ca[_0x4026('0xb')];this[_0x4026('0xc')]!==_0x3fa4a7&&(_0x7bf5ca['execute'](),this[_0x4026('0x8')]=!0x0),_0x47a3c0&&_0x47a3c0[_0x4026('0x13')](({id:_0x3fabdd,type:_0x5859d2,author:_0x572df7,created_at:_0x2b62f7})=>{const _0x562602={'id':_0x3fabdd,'type':_0x5859d2,'authorId':this[_0x4026('0x4')]['plugins']['get'](_0x4026('0xa'))['me']['id'],'createdAt':new Date(),'data':{},'hasComments':!0x1,'attributes':{'@external':{'authorName':_0x572df7,'createdAt':_0x2b62f7?new Date(_0x2b62f7):new Date()}}};this[_0x4026('0x4')][_0x4026('0x9')][_0x4026('0x6')](_0x3d6d21)[_0x4026('0x15')](_0x562602);});}}
23
+ const _0x37ee=['get','bind','editor','_trackChangesValueDuringImport','value','afterInit','plugins','dataInsert','listenTo','Users','importWord','_setSuggestionData','commands','forEach','high','trackChanges','_handleImportedData','collaboration_features','_trackChangesExecuted','execute','enableCommand','TrackChangesEditing'];(function(_0x395eaa,_0x37eed5){const _0x2f4e25=function(_0x421ba0){while(--_0x421ba0){_0x395eaa['push'](_0x395eaa['shift']());}};_0x2f4e25(++_0x37eed5);}(_0x37ee,0x155));const _0x2f4e=function(_0x395eaa,_0x37eed5){_0x395eaa=_0x395eaa-0x0;let _0x2f4e25=_0x37ee[_0x395eaa];return _0x2f4e25;};import{Plugin as _0x465ca7}from'ckeditor5/src/core';import _0x4805ea from'../trackchangesediting';export default class X extends _0x465ca7{constructor(_0x46a17e){super(_0x46a17e),this[_0x2f4e('0xe')]=!0x1,this['_trackChangesExecuted']=!0x1;}[_0x2f4e('0x10')](){const _0x4a3d36=this[_0x2f4e('0xd')],_0x138985=_0x4a3d36[_0x2f4e('0x1')][_0x2f4e('0xb')]('importWord'),_0x8ebfe=_0x4a3d36[_0x2f4e('0x1')][_0x2f4e('0xb')](_0x2f4e('0x4'));_0x138985&&(_0x138985['on'](_0x2f4e('0x8'),(_0x47ffc6,[,_0x53c234])=>{this[_0x2f4e('0xe')]=_0x8ebfe[_0x2f4e('0xf')],_0x53c234[_0x2f4e('0x6')]['track_changes']=!this[_0x2f4e('0xe')];},{'priority':_0x2f4e('0x3')}),this[_0x2f4e('0x13')](_0x138985,_0x2f4e('0x12'),this[_0x2f4e('0x5')][_0x2f4e('0xc')](this)),this['listenTo'](_0x138985,_0x2f4e('0x12'),()=>{this[_0x2f4e('0x7')]&&(_0x8ebfe[_0x2f4e('0x8')](),this['_trackChangesExecuted']=!0x1);},{'priority':'lowest'}),_0x4a3d36[_0x2f4e('0x11')][_0x2f4e('0xb')](_0x2f4e('0xa'))[_0x2f4e('0x9')](_0x2f4e('0x15')));}[_0x2f4e('0x5')](_0xda4801,_0x405150){const {suggestions:_0x2b7017}=_0x405150,_0x3b10a4=this['editor'][_0x2f4e('0x1')]['get'](_0x2f4e('0x4')),_0xba9f89=_0x3b10a4['value'];this[_0x2f4e('0xe')]!==_0xba9f89&&(_0x3b10a4['execute'](),this['_trackChangesExecuted']=!0x0),_0x2b7017&&_0x2b7017[_0x2f4e('0x2')](({id:_0x5570da,type:_0x3c8712,author:_0x179635,created_at:_0x96f0b0})=>{const _0x2c1ba6={'id':_0x5570da,'type':_0x3c8712,'authorId':this['editor']['plugins'][_0x2f4e('0xb')](_0x2f4e('0x14'))['me']['id'],'createdAt':new Date(),'data':{},'hasComments':!0x1,'attributes':{'@external':{'authorName':_0x179635,'createdAt':_0x96f0b0?new Date(_0x96f0b0):new Date()}}};this[_0x2f4e('0xd')][_0x2f4e('0x11')][_0x2f4e('0xb')](_0x4805ea)[_0x2f4e('0x0')](_0x2c1ba6);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x365f=['change','indent','format','filter','indentBlock','blockIndent','has','enableCommand','model','editor','*Outdent:*\x20%0','getItems','schema','getSelectedBlocks','plugins','selection','afterInit','registerDescriptionCallback','locale','commandName','IndentEditing','checkAttribute','*Indent:*\x20%0','document','outdentBlock','TrackChangesEditing','_descriptionFactory','from'];(function(_0x2ec9d6,_0x365f4e){const _0x33a9c7=function(_0xa28cd6){while(--_0xa28cd6){_0x2ec9d6['push'](_0x2ec9d6['shift']());}};_0x33a9c7(++_0x365f4e);}(_0x365f,0x128));const _0x33a9=function(_0x2ec9d6,_0x365f4e){_0x2ec9d6=_0x2ec9d6-0x0;let _0x33a9c7=_0x365f[_0x2ec9d6];return _0x33a9c7;};import{Plugin as _0x3596ac}from'ckeditor5/src/core';import{getTranslation as _0x2cb20e}from'../utils/common-translations';export default class Y extends _0x3596ac{[_0x33a9('0x0')](){const _0x37892a=this[_0x33a9('0x15')],_0x1fc5f=_0x37892a[_0x33a9('0x1a')]['get'](_0x33a9('0x9'));_0x37892a[_0x33a9('0x1a')][_0x33a9('0x12')](_0x33a9('0x4'))&&(_0x1fc5f[_0x33a9('0x13')](_0x33a9('0xd')),_0x1fc5f[_0x33a9('0x13')]('outdent'));const _0x33133d=_0x37892a[_0x33a9('0x2')];if(_0x37892a[_0x33a9('0x1a')]['has']('IndentBlock')){for(const _0x42d667 of[_0x33a9('0x10'),_0x33a9('0x8')])_0x1fc5f[_0x33a9('0x13')](_0x42d667,()=>{const _0x5b903a=Array[_0x33a9('0xb')](this[_0x33a9('0x15')][_0x33a9('0x14')][_0x33a9('0x7')][_0x33a9('0x1b')][_0x33a9('0x19')]())[_0x33a9('0xf')](_0xfb108c=>this['editor'][_0x33a9('0x14')][_0x33a9('0x18')][_0x33a9('0x5')](_0xfb108c,_0x33a9('0x11')));_0x37892a[_0x33a9('0x14')][_0x33a9('0xc')](()=>{for(const _0x483ff2 of _0x5b903a)_0x1fc5f['markBlockFormat'](_0x483ff2,{'commandName':_0x42d667,'commandParams':[{'value':''}],'formatGroupId':_0x33a9('0x10')});});});_0x1fc5f['_descriptionFactory'][_0x33a9('0x1')](_0xa8ff4a=>{const {data:_0x23c151}=_0xa8ff4a;if(!_0x23c151)return;if(_0x33a9('0x10')!=_0x23c151[_0x33a9('0x3')]&&_0x33a9('0x8')!=_0x23c151[_0x33a9('0x3')])return;const _0x9b1811=_0xa8ff4a[_0x33a9('0x17')]()[0x0],_0x35941d=_0x1fc5f[_0x33a9('0xa')]['getItemLabel'](_0x9b1811['name']);return _0x33a9('0x10')==_0x23c151[_0x33a9('0x3')]?{'type':_0x33a9('0xe'),'content':_0x2cb20e(_0x33133d,_0x33a9('0x6'),_0x35941d)}:_0x33a9('0x8')==_0x23c151[_0x33a9('0x3')]?{'type':_0x33a9('0xe'),'content':_0x2cb20e(_0x33133d,_0x33a9('0x16'),_0x35941d)}:void 0x0;});}}}
23
+ const _0x403e=['from','selection','getItemLabel','registerDescriptionCallback','filter','IndentBlock','*Outdent:*\x20%0','commandName','schema','indent','TrackChangesEditing','enableCommand','*Indent:*\x20%0','document','indentBlock','get','plugins','checkAttribute','has','markBlockFormat','name','getSelectedBlocks','model','editor','outdentBlock'];(function(_0x3b6481,_0x403e21){const _0x28eeab=function(_0x3b6215){while(--_0x3b6215){_0x3b6481['push'](_0x3b6481['shift']());}};_0x28eeab(++_0x403e21);}(_0x403e,0x15d));const _0x28ee=function(_0x3b6481,_0x403e21){_0x3b6481=_0x3b6481-0x0;let _0x28eeab=_0x403e[_0x3b6481];return _0x28eeab;};import{Plugin as _0x189074}from'ckeditor5/src/core';import{getTranslation as _0x1a30f7}from'../utils/common-translations';export default class Y extends _0x189074{['afterInit'](){const _0x4bbddf=this[_0x28ee('0x18')],_0x53468e=_0x4bbddf[_0x28ee('0x11')][_0x28ee('0x10')](_0x28ee('0xb'));_0x4bbddf[_0x28ee('0x11')][_0x28ee('0x13')]('IndentEditing')&&(_0x53468e['enableCommand'](_0x28ee('0xa')),_0x53468e[_0x28ee('0xc')]('outdent'));const _0x18e96b=_0x4bbddf['locale'];if(_0x4bbddf[_0x28ee('0x11')][_0x28ee('0x13')](_0x28ee('0x6'))){for(const _0x2fd3f9 of[_0x28ee('0xf'),'outdentBlock'])_0x53468e[_0x28ee('0xc')](_0x2fd3f9,()=>{const _0x2fa2f2=Array[_0x28ee('0x1')](this[_0x28ee('0x18')][_0x28ee('0x17')][_0x28ee('0xe')][_0x28ee('0x2')][_0x28ee('0x16')]())[_0x28ee('0x5')](_0x5525bf=>this[_0x28ee('0x18')][_0x28ee('0x17')][_0x28ee('0x9')][_0x28ee('0x12')](_0x5525bf,'blockIndent'));_0x4bbddf[_0x28ee('0x17')]['change'](()=>{for(const _0xd6ac12 of _0x2fa2f2)_0x53468e[_0x28ee('0x14')](_0xd6ac12,{'commandName':_0x2fd3f9,'commandParams':[{'value':''}],'formatGroupId':_0x28ee('0xf')});});});_0x53468e['_descriptionFactory'][_0x28ee('0x4')](_0x26b6b9=>{const {data:_0x8581c1}=_0x26b6b9;if(!_0x8581c1)return;if(_0x28ee('0xf')!=_0x8581c1[_0x28ee('0x8')]&&_0x28ee('0x0')!=_0x8581c1['commandName'])return;const _0x8649e6=_0x26b6b9['getItems']()[0x0],_0x47ae45=_0x53468e['_descriptionFactory'][_0x28ee('0x3')](_0x8649e6[_0x28ee('0x15')]);return _0x28ee('0xf')==_0x8581c1[_0x28ee('0x8')]?{'type':'format','content':_0x1a30f7(_0x18e96b,_0x28ee('0xd'),_0x47ae45)}:'outdentBlock'==_0x8581c1[_0x28ee('0x8')]?{'type':'format','content':_0x1a30f7(_0x18e96b,_0x28ee('0x7'),_0x47ae45)}:void 0x0;});}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x4fde=['TrackChangesEditing','plugins','editor','requires','enableCommand','init','input'];(function(_0x830148,_0x4fde1a){var _0x5877c7=function(_0x4cf158){while(--_0x4cf158){_0x830148['push'](_0x830148['shift']());}};_0x5877c7(++_0x4fde1a);}(_0x4fde,0x86));var _0x5877=function(_0x830148,_0x4fde1a){_0x830148=_0x830148-0x0;var _0x5877c7=_0x4fde[_0x830148];return _0x5877c7;};import{Plugin as _0x387ebd}from'ckeditor5/src/core';import{Input as _0x4168e6}from'ckeditor5/src/typing';export default class Z extends _0x387ebd{static get[_0x5877('0x2')](){return[_0x4168e6];}[_0x5877('0x4')](){this[_0x5877('0x1')][_0x5877('0x0')]['get'](_0x5877('0x6'))[_0x5877('0x3')](_0x5877('0x5'));}}
23
+ var _0x25ce=['get','enableCommand','plugins','requires','init','TrackChangesEditing','editor'];(function(_0x17b287,_0x25cef7){var _0x13beef=function(_0x4a5cd5){while(--_0x4a5cd5){_0x17b287['push'](_0x17b287['shift']());}};_0x13beef(++_0x25cef7);}(_0x25ce,0xc7));var _0x13be=function(_0x17b287,_0x25cef7){_0x17b287=_0x17b287-0x0;var _0x13beef=_0x25ce[_0x17b287];return _0x13beef;};import{Plugin as _0x14df64}from'ckeditor5/src/core';import{Input as _0x46cfc8}from'ckeditor5/src/typing';export default class Z extends _0x14df64{static get[_0x13be('0x0')](){return[_0x46cfc8];}[_0x13be('0x1')](){this[_0x13be('0x3')][_0x13be('0x6')][_0x13be('0x4')](_0x13be('0x2'))[_0x13be('0x5')]('input');}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x552b=['linkHref','change','unlink','plugins','*Remove\x20link*','LinkEditing','editor','commandName','hasAttribute','getAttribute','link','*Set\x20link:*\x20%0','model','has','format','enableCommand','_descriptionFactory','markInlineFormat','commandParams','isCollapsed','document','selection','from','get','getFirstPosition','locale'];(function(_0x4aa6e9,_0x552b95){const _0x568ac6=function(_0x1186cd){while(--_0x1186cd){_0x4aa6e9['push'](_0x4aa6e9['shift']());}};_0x568ac6(++_0x552b95);}(_0x552b,0x19d));const _0x568a=function(_0x4aa6e9,_0x552b95){_0x4aa6e9=_0x4aa6e9-0x0;let _0x568ac6=_0x552b[_0x4aa6e9];return _0x568ac6;};import{Plugin as _0x51156c}from'ckeditor5/src/core';import{findAttributeRange as _0x2a0586}from'ckeditor5/src/typing';import{getRangesWithAttribute as _0x1a093e}from'./utils';import{getTranslation as _0x1738ec}from'../utils/common-translations';export default class tt extends _0x51156c{['afterInit'](){const _0x14f684=this[_0x568a('0x9')];if(!_0x14f684[_0x568a('0x6')][_0x568a('0x10')](_0x568a('0x8')))return;const _0xeaa3e8=_0x14f684['plugins'][_0x568a('0x0')]('TrackChangesEditing');_0xeaa3e8[_0x568a('0x12')](_0x568a('0xd'),(_0x24d553,_0x4efeed)=>{const _0x411e42=_0x14f684[_0x568a('0xf')][_0x568a('0x17')][_0x568a('0x18')];let _0x35a008=[];if(_0x411e42['isCollapsed']){if(!_0x411e42[_0x568a('0xb')](_0x568a('0x3')))return void _0x24d553(_0x4efeed);{const _0x43e6d6=_0x2a0586(_0x411e42['getFirstPosition'](),'linkHref',_0x411e42[_0x568a('0xc')](_0x568a('0x3')),_0x14f684[_0x568a('0xf')]);_0x35a008=[_0x43e6d6];}}else _0x35a008=Array[_0x568a('0x19')](_0x411e42['getRanges']());_0x14f684[_0x568a('0xf')][_0x568a('0x4')](()=>{for(const _0x18e707 of _0x35a008)_0xeaa3e8[_0x568a('0x14')](_0x18e707,{'commandName':_0x568a('0xd'),'commandParams':[_0x4efeed]});});}),_0xeaa3e8[_0x568a('0x12')](_0x568a('0x5'),()=>{const _0x57712d=this[_0x568a('0x9')][_0x568a('0xf')],_0x12b4e4=_0x57712d[_0x568a('0x17')][_0x568a('0x18')];_0x57712d[_0x568a('0x4')](()=>{let _0x437315=[];if(_0x12b4e4[_0x568a('0x16')])_0x437315=[_0x2a0586(_0x12b4e4[_0x568a('0x1')](),_0x568a('0x3'),_0x12b4e4[_0x568a('0xc')](_0x568a('0x3')),_0x14f684[_0x568a('0xf')])];else _0x437315=_0x1a093e(_0x568a('0x3'),_0x12b4e4['getFirstRange'](),_0x14f684['model']);for(const _0x98b69f of _0x437315)_0xeaa3e8[_0x568a('0x14')](_0x98b69f,{'commandName':'unlink','commandParams':[]});});}),_0xeaa3e8[_0x568a('0x13')]['registerDescriptionCallback'](_0x1b72d8=>{const {data:_0x8a218a}=_0x1b72d8,_0x23d7c4=_0x14f684[_0x568a('0x2')];if(_0x8a218a){if('link'==_0x8a218a[_0x568a('0xa')]){const _0x26923a=_0x8a218a[_0x568a('0x15')][0x0];return{'type':_0x568a('0x11'),'content':_0x1738ec(_0x23d7c4,_0x568a('0xe'),'\x22'+_0x26923a+'\x22')};}return'unlink'==_0x8a218a[_0x568a('0xa')]?{'type':_0x568a('0x11'),'content':_0x1738ec(_0x23d7c4,_0x568a('0x7'))}:void 0x0;}});}}
23
+ const _0x5beb=['_descriptionFactory','getFirstRange','commandParams','commandName','has','markInlineFormat','getRanges','enableCommand','hasAttribute','linkHref','getFirstPosition','TrackChangesEditing','getAttribute','unlink','get','link','selection','model','format','*Set\x20link:*\x20%0','locale','isCollapsed','LinkEditing','change','from'];(function(_0x115c8a,_0x5bebe9){const _0x20c41b=function(_0x180e8b){while(--_0x180e8b){_0x115c8a['push'](_0x115c8a['shift']());}};_0x20c41b(++_0x5bebe9);}(_0x5beb,0xac));const _0x20c4=function(_0x115c8a,_0x5bebe9){_0x115c8a=_0x115c8a-0x0;let _0x20c41b=_0x5beb[_0x115c8a];return _0x20c41b;};import{Plugin as _0x34dad7}from'ckeditor5/src/core';import{findAttributeRange as _0x9ff71e}from'ckeditor5/src/typing';import{getRangesWithAttribute as _0x34f079}from'./utils';import{getTranslation as _0x30adfc}from'../utils/common-translations';export default class tt extends _0x34dad7{['afterInit'](){const _0x102555=this['editor'];if(!_0x102555['plugins'][_0x20c4('0x7')](_0x20c4('0x0')))return;const _0x33bafc=_0x102555['plugins'][_0x20c4('0x11')](_0x20c4('0xe'));_0x33bafc['enableCommand']('link',(_0x50d0fd,_0x87db9b)=>{const _0x4bc388=_0x102555[_0x20c4('0x14')]['document'][_0x20c4('0x13')];let _0x557dc1=[];if(_0x4bc388['isCollapsed']){if(!_0x4bc388[_0x20c4('0xb')]('linkHref'))return void _0x50d0fd(_0x87db9b);{const _0x1e15a0=_0x9ff71e(_0x4bc388[_0x20c4('0xd')](),_0x20c4('0xc'),_0x4bc388[_0x20c4('0xf')](_0x20c4('0xc')),_0x102555[_0x20c4('0x14')]);_0x557dc1=[_0x1e15a0];}}else _0x557dc1=Array[_0x20c4('0x2')](_0x4bc388[_0x20c4('0x9')]());_0x102555[_0x20c4('0x14')][_0x20c4('0x1')](()=>{for(const _0x35cadd of _0x557dc1)_0x33bafc[_0x20c4('0x8')](_0x35cadd,{'commandName':'link','commandParams':[_0x87db9b]});});}),_0x33bafc[_0x20c4('0xa')](_0x20c4('0x10'),()=>{const _0x2f80c8=this['editor'][_0x20c4('0x14')],_0x285508=_0x2f80c8['document'][_0x20c4('0x13')];_0x2f80c8[_0x20c4('0x1')](()=>{let _0x46a7c1=[];if(_0x285508[_0x20c4('0x18')])_0x46a7c1=[_0x9ff71e(_0x285508[_0x20c4('0xd')](),_0x20c4('0xc'),_0x285508[_0x20c4('0xf')](_0x20c4('0xc')),_0x102555[_0x20c4('0x14')])];else _0x46a7c1=_0x34f079(_0x20c4('0xc'),_0x285508[_0x20c4('0x4')](),_0x102555['model']);for(const _0x3e2a97 of _0x46a7c1)_0x33bafc[_0x20c4('0x8')](_0x3e2a97,{'commandName':_0x20c4('0x10'),'commandParams':[]});});}),_0x33bafc[_0x20c4('0x3')]['registerDescriptionCallback'](_0x983d6b=>{const {data:_0x4e46ee}=_0x983d6b,_0x27efeb=_0x102555[_0x20c4('0x17')];if(_0x4e46ee){if(_0x20c4('0x12')==_0x4e46ee[_0x20c4('0x6')]){const _0x1dd3ef=_0x4e46ee[_0x20c4('0x5')][0x0];return{'type':'format','content':_0x30adfc(_0x27efeb,_0x20c4('0x16'),'\x22'+_0x1dd3ef+'\x22')};}return'unlink'==_0x4e46ee[_0x20c4('0x6')]?{'type':_0x20c4('0x15'),'content':_0x30adfc(_0x27efeb,'*Remove\x20link*')}:void 0x0;}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x592b=['listType','numbered','end','value','*Change\x20to:*\x20%0','editor','registerDescriptionCallback','schema','_descriptionFactory','length','blockName','format','*Outdent:*\x20%0','document','get','bulletedList','checkChild','*Indent:*\x20%0','parent','TrackChangesEditing','findIndex','ELEMENT_LIST_ITEM','enableCommand','commands','indentList','selection','bulleted','from','model','has','name','List','outdentList','createRange','commandParams','previousSibling','element','push','slice','ListEditing','add','ELEMENT_BULLETED_LIST','isObject','numberedList','listIndent','createPositionAt','listItem','commandName','checkTodoList','ELEMENT_NUMBERED_LIST','markBlockFormat','forceValue','ELEMENT_TODO_LIST','locale','filter','replace','*Check\x20item*','plugins','nextSibling','change','getAttribute','getSelectedBlocks','*Uncheck\x20item*','todoListChecked','todo'];(function(_0x31f34f,_0x592bef){const _0x203a54=function(_0x59c0be){while(--_0x59c0be){_0x31f34f['push'](_0x31f34f['shift']());}};_0x203a54(++_0x592bef);}(_0x592b,0x136));const _0x203a=function(_0x31f34f,_0x592bef){_0x31f34f=_0x31f34f-0x0;let _0x203a54=_0x592b[_0x31f34f];return _0x203a54;};import{Plugin as _0x213ea9}from'ckeditor5/src/core';import{getTranslation as _0x150b7b}from'../utils/common-translations';export default class it extends _0x213ea9{['afterInit'](){const _0x448bc0=this[_0x203a('0x14')],_0x3f77a4=_0x448bc0[_0x203a('0x3')];if(!_0x448bc0[_0x203a('0x7')][_0x203a('0x2c')](_0x203a('0x36')))return;const _0x54ed21=_0x448bc0[_0x203a('0x7')]['get'](_0x203a('0x22')),_0x4fbffd=_0x448bc0[_0x203a('0x7')][_0x203a('0x2c')]('TodoListEditing');function _0x48a62a(_0x5c8869){return()=>{const _0xa0c860=_0x448bc0[_0x203a('0x2b')][_0x203a('0x1c')][_0x203a('0x28')],_0x1b1cc9=_0x448bc0[_0x203a('0x26')][_0x203a('0x1d')](_0x5c8869);if(_0x1b1cc9['value'])return void _0x448bc0['execute']('paragraph',{});const _0x69e598=_0x5c8869['slice'](0x0,-0x4),_0x426f7c=function(_0x4fd6bd,_0xd001f6,_0x3d2b80){let _0x12f625=Array[_0x203a('0x2a')](_0x4fd6bd)['filter'](_0x1c2e1f=>function(_0x3c1e3e,_0x4ba3a0){return _0x4ba3a0[_0x203a('0x1f')](_0x3c1e3e[_0x203a('0x21')],_0x203a('0x3d'))&&!_0x4ba3a0[_0x203a('0x39')](_0x3c1e3e);}(_0x1c2e1f,_0x3d2b80));_0x12f625=_0x12f625[_0x203a('0x4')](_0x3c2b0c=>!_0x3c2b0c['is']('element',_0x203a('0x3d'))||_0x3c2b0c[_0x203a('0xa')](_0x203a('0xf'))!=_0xd001f6);const _0x47acf3=new Set();for(const _0x12224a of _0x12f625)_0x12224a['is']('element','listItem')?_0x47acf3[_0x203a('0x37')](Lt(_0x12224a)):_0x47acf3[_0x203a('0x37')](_0x12224a);return Array[_0x203a('0x2a')](_0x47acf3);}(_0xa0c860['getSelectedBlocks'](),_0x69e598,_0x448bc0[_0x203a('0x2b')][_0x203a('0x16')]);_0x448bc0[_0x203a('0x2b')][_0x203a('0x9')](()=>{for(const _0x442743 of _0x426f7c)_0x54ed21[_0x203a('0x0')](_0x442743,{'commandName':_0x5c8869,'commandParams':[{'forceValue':!_0x1b1cc9['value']}],'formatGroupId':_0x203a('0x19')},Mt(_0x442743));});};}function _0xfe580(_0x42d35f){return()=>{const _0x43b9a3=function(_0x31a002){const _0xb61375=(_0x31a002=Array[_0x203a('0x2a')](_0x31a002))[_0x203a('0x23')](_0x465431=>'listItem'!=_0x465431[_0x203a('0x2d')]);return _0xb61375>-0x1&&(_0x31a002=_0x31a002[_0x203a('0x35')](0x0,_0xb61375)),_0x31a002;}(_0x448bc0[_0x203a('0x2b')][_0x203a('0x1c')][_0x203a('0x28')][_0x203a('0xb')]()),_0x48bcae=_0x448bc0[_0x203a('0x2b')][_0x203a('0x30')](_0x448bc0[_0x203a('0x2b')][_0x203a('0x3c')](_0x43b9a3[0x0],'before'),_0x448bc0[_0x203a('0x2b')]['createPositionAt'](_0x43b9a3[_0x43b9a3[_0x203a('0x18')]-0x1],_0x203a('0x11')));_0x448bc0[_0x203a('0x2b')][_0x203a('0x9')](()=>{_0x54ed21[_0x203a('0x0')](_0x48bcae,{'commandName':_0x42d35f,'commandParams':[],'formatGroupId':'listIndent'},function(_0x4ec261){const _0x556d96=new Set();for(const _0x993924 of _0x4ec261){let _0x67c9d0=_0x993924[_0x203a('0x8')];for(;_0x67c9d0&&_0x67c9d0[_0x203a('0xa')](_0x203a('0x3b'))>_0x993924['getAttribute'](_0x203a('0x3b'));)_0x556d96[_0x203a('0x37')](_0x67c9d0),_0x67c9d0=_0x67c9d0[_0x203a('0x8')];}return Array['from'](_0x556d96);}(_0x43b9a3));});};}_0x54ed21[_0x203a('0x25')](_0x203a('0x3a'),_0x48a62a('numberedList')),_0x54ed21['enableCommand'](_0x203a('0x1e'),_0x48a62a('bulletedList')),_0x4fbffd&&_0x54ed21[_0x203a('0x25')]('todoList',_0x48a62a('todoList')),_0x54ed21[_0x203a('0x25')](_0x203a('0x27'),_0xfe580('indentList')),_0x54ed21[_0x203a('0x25')](_0x203a('0x2f'),_0xfe580(_0x203a('0x2f'))),_0x4fbffd&&_0x54ed21[_0x203a('0x25')](_0x203a('0x3f'),()=>{const _0x5e0495=_0x448bc0['commands'][_0x203a('0x1d')](_0x203a('0x3f')),_0x31749f=Array[_0x203a('0x2a')](_0x5e0495['_selectedElements']);_0x31749f[_0x203a('0x4')](_0x5cf38e=>_0x5cf38e[_0x203a('0xa')](_0x203a('0xd'))!=_0x5e0495[_0x203a('0x12')]),_0x448bc0[_0x203a('0x2b')][_0x203a('0x9')](()=>{for(const _0x3acdad of _0x31749f)_0x54ed21['markBlockFormat'](_0x3acdad,{'commandName':_0x203a('0x3f'),'commandParams':[{'forceValue':!_0x5e0495[_0x203a('0x12')]}]});});}),_0x54ed21[_0x203a('0x17')]['registerElementLabel'](_0x203a('0x3d'),_0x33ed27=>_0x150b7b(_0x3f77a4,_0x203a('0x24'),_0x33ed27)),_0x54ed21['_descriptionFactory'][_0x203a('0x15')](_0x24aa7=>{const {data:_0xbeefb4}=_0x24aa7;if(_0xbeefb4){if(_0x203a('0x3a')==_0xbeefb4[_0x203a('0x3e')]||'bulletedList'==_0xbeefb4['commandName']||'todoList'==_0xbeefb4[_0x203a('0x3e')])switch(_0xbeefb4[_0x203a('0x3e')][_0x203a('0x5')](_0x203a('0x2e'),'')){case _0x203a('0x29'):return _0x362a2d(_0x150b7b(_0x3f77a4,_0x203a('0x38')));case _0x203a('0x10'):return _0x362a2d(_0x150b7b(_0x3f77a4,_0x203a('0x40')));case _0x203a('0xe'):return _0x362a2d(_0x150b7b(_0x3f77a4,_0x203a('0x2')));}if('indentList'==_0xbeefb4[_0x203a('0x3e')])return{'type':'format','content':_0x150b7b(_0x3f77a4,_0x203a('0x20'),_0x150b7b(_0x3f77a4,_0x203a('0x24')))};if(_0x203a('0x2f')==_0xbeefb4[_0x203a('0x3e')])return{'type':_0x203a('0x1a'),'content':_0x150b7b(_0x3f77a4,_0x203a('0x1b'),_0x150b7b(_0x3f77a4,_0x203a('0x24')))};if(_0x203a('0x3f')==_0xbeefb4[_0x203a('0x3e')])return _0xbeefb4[_0x203a('0x31')][0x0][_0x203a('0x1')]?{'type':_0x203a('0x1a'),'content':_0x150b7b(_0x3f77a4,_0x203a('0x6'))}:{'type':_0x203a('0x1a'),'content':_0x150b7b(_0x3f77a4,_0x203a('0xc'))};}function _0x362a2d(_0xa84e57){return{'type':_0x203a('0x1a'),'content':_0x150b7b(_0x3f77a4,_0x203a('0x13'),_0xa84e57)};}});}}function Lt(_0x3d87e0){const _0x2a46bb=_0x3d87e0[_0x203a('0xa')](_0x203a('0x3b'));if(0x0==_0x2a46bb)return _0x3d87e0;let _0x2cfcef=_0x3d87e0;for(;_0x3d87e0[_0x203a('0x32')]&&_0x3d87e0['previousSibling']['is'](_0x203a('0x33'),_0x203a('0x3d'));){const _0x5a7fd9=_0x3d87e0[_0x203a('0x32')][_0x203a('0xa')](_0x203a('0x3b'));if(_0x5a7fd9==_0x2a46bb)_0x2cfcef=_0x3d87e0[_0x203a('0x32')];else{if(_0x5a7fd9<_0x2a46bb)break;}_0x3d87e0=_0x3d87e0[_0x203a('0x32')];}return _0x2cfcef;}function Mt(_0x5975f8){const _0x37d2cb=[];if(_0x5975f8['is'](_0x203a('0x33'),_0x203a('0x3d'))&&_0x5975f8['getAttribute'](_0x203a('0x3b'))>0x0){let _0x36a4a3=_0x5975f8['nextSibling'];for(;_0x36a4a3&&_0x203a('0x3d')==_0x36a4a3[_0x203a('0x2d')]&&_0x36a4a3[_0x203a('0xa')](_0x203a('0x3b'))==_0x5975f8[_0x203a('0xa')](_0x203a('0x3b'));)_0x37d2cb[_0x203a('0x34')](_0x36a4a3),_0x36a4a3=_0x36a4a3[_0x203a('0x8')];}return _0x37d2cb;}
23
+ const _0x1ef1=['afterInit','List','push','findIndex','execute','*Indent:*\x20%0','model','enableCommand','before','locale','listItem','add','*Check\x20item*','checkChild','getAttribute','commands','outdentList','checkTodoList','listIndent','ELEMENT_LIST_ITEM','registerElementLabel','ELEMENT_TODO_LIST','nextSibling','indentList','slice','TodoListEditing','numbered','previousSibling','todoList','from','plugins','*Outdent:*\x20%0','*Change\x20to:*\x20%0','length','numberedList','end','createPositionAt','markBlockFormat','ELEMENT_BULLETED_LIST','schema','document','element','filter','parent','commandName','ELEMENT_NUMBERED_LIST','createRange','isObject','selection','TrackChangesEditing','bulletedList','has','value','name','*Uncheck\x20item*','editor','change','getSelectedBlocks','get','replace','_descriptionFactory','listType','format','todo','bulleted'];(function(_0x55181f,_0x1ef158){const _0x1b5e82=function(_0x361b49){while(--_0x361b49){_0x55181f['push'](_0x55181f['shift']());}};_0x1b5e82(++_0x1ef158);}(_0x1ef1,0x1c9));const _0x1b5e=function(_0x55181f,_0x1ef158){_0x55181f=_0x55181f-0x0;let _0x1b5e82=_0x1ef1[_0x55181f];return _0x1b5e82;};import{Plugin as _0x198dfa}from'ckeditor5/src/core';import{getTranslation as _0x468a31}from'../utils/common-translations';export default class it extends _0x198dfa{[_0x1b5e('0x3f')](){const _0x2f0a21=this[_0x1b5e('0x35')],_0x4da39c=_0x2f0a21[_0x1b5e('0x7')];if(!_0x2f0a21['plugins'][_0x1b5e('0x31')]('ListEditing'))return;const _0x4d9a22=_0x2f0a21[_0x1b5e('0x1c')][_0x1b5e('0x38')](_0x1b5e('0x2f')),_0xf9c406=_0x2f0a21[_0x1b5e('0x1c')][_0x1b5e('0x31')](_0x1b5e('0x17'));function _0x33f0b2(_0x13ee22){return()=>{const _0x2524c9=_0x2f0a21[_0x1b5e('0x4')][_0x1b5e('0x26')][_0x1b5e('0x2e')],_0x23623b=_0x2f0a21[_0x1b5e('0xd')][_0x1b5e('0x38')](_0x13ee22);if(_0x23623b['value'])return void _0x2f0a21[_0x1b5e('0x2')]('paragraph',{});const _0x1e0ac5=_0x13ee22[_0x1b5e('0x16')](0x0,-0x4),_0x37c949=function(_0x1335be,_0x5c2146,_0x25b8f8){let _0x31d274=Array[_0x1b5e('0x1b')](_0x1335be)['filter'](_0x12fc53=>function(_0x3137dd,_0x2b15b0){return _0x2b15b0[_0x1b5e('0xb')](_0x3137dd[_0x1b5e('0x29')],_0x1b5e('0x8'))&&!_0x2b15b0[_0x1b5e('0x2d')](_0x3137dd);}(_0x12fc53,_0x25b8f8));_0x31d274=_0x31d274['filter'](_0x2db417=>!_0x2db417['is'](_0x1b5e('0x27'),'listItem')||_0x2db417[_0x1b5e('0xc')](_0x1b5e('0x3b'))!=_0x5c2146);const _0x2e7344=new Set();for(const _0x51288e of _0x31d274)_0x51288e['is']('element',_0x1b5e('0x8'))?_0x2e7344[_0x1b5e('0x9')](Lt(_0x51288e)):_0x2e7344[_0x1b5e('0x9')](_0x51288e);return Array[_0x1b5e('0x1b')](_0x2e7344);}(_0x2524c9[_0x1b5e('0x37')](),_0x1e0ac5,_0x2f0a21['model'][_0x1b5e('0x25')]);_0x2f0a21[_0x1b5e('0x4')]['change'](()=>{for(const _0x158f37 of _0x37c949)_0x4d9a22[_0x1b5e('0x23')](_0x158f37,{'commandName':_0x13ee22,'commandParams':[{'forceValue':!_0x23623b[_0x1b5e('0x32')]}],'formatGroupId':'blockName'},Mt(_0x158f37));});};}function _0x30e908(_0x4e7aa7){return()=>{const _0x46b8bc=function(_0x50b1d2){const _0x322f04=(_0x50b1d2=Array[_0x1b5e('0x1b')](_0x50b1d2))[_0x1b5e('0x1')](_0x5ce71e=>'listItem'!=_0x5ce71e[_0x1b5e('0x33')]);return _0x322f04>-0x1&&(_0x50b1d2=_0x50b1d2[_0x1b5e('0x16')](0x0,_0x322f04)),_0x50b1d2;}(_0x2f0a21[_0x1b5e('0x4')]['document']['selection'][_0x1b5e('0x37')]()),_0x379ec6=_0x2f0a21[_0x1b5e('0x4')][_0x1b5e('0x2c')](_0x2f0a21[_0x1b5e('0x4')][_0x1b5e('0x22')](_0x46b8bc[0x0],_0x1b5e('0x6')),_0x2f0a21[_0x1b5e('0x4')][_0x1b5e('0x22')](_0x46b8bc[_0x46b8bc[_0x1b5e('0x1f')]-0x1],_0x1b5e('0x21')));_0x2f0a21[_0x1b5e('0x4')][_0x1b5e('0x36')](()=>{_0x4d9a22[_0x1b5e('0x23')](_0x379ec6,{'commandName':_0x4e7aa7,'commandParams':[],'formatGroupId':_0x1b5e('0x10')},function(_0x307af8){const _0x4a216b=new Set();for(const _0x1f29e6 of _0x307af8){let _0x49b281=_0x1f29e6[_0x1b5e('0x14')];for(;_0x49b281&&_0x49b281[_0x1b5e('0xc')]('listIndent')>_0x1f29e6['getAttribute'](_0x1b5e('0x10'));)_0x4a216b[_0x1b5e('0x9')](_0x49b281),_0x49b281=_0x49b281[_0x1b5e('0x14')];}return Array[_0x1b5e('0x1b')](_0x4a216b);}(_0x46b8bc));});};}_0x4d9a22[_0x1b5e('0x5')]('numberedList',_0x33f0b2(_0x1b5e('0x20'))),_0x4d9a22[_0x1b5e('0x5')](_0x1b5e('0x30'),_0x33f0b2(_0x1b5e('0x30'))),_0xf9c406&&_0x4d9a22[_0x1b5e('0x5')](_0x1b5e('0x1a'),_0x33f0b2(_0x1b5e('0x1a'))),_0x4d9a22[_0x1b5e('0x5')]('indentList',_0x30e908(_0x1b5e('0x15'))),_0x4d9a22['enableCommand'](_0x1b5e('0xe'),_0x30e908('outdentList')),_0xf9c406&&_0x4d9a22[_0x1b5e('0x5')](_0x1b5e('0xf'),()=>{const _0x5af438=_0x2f0a21[_0x1b5e('0xd')]['get'](_0x1b5e('0xf')),_0x22858a=Array[_0x1b5e('0x1b')](_0x5af438['_selectedElements']);_0x22858a[_0x1b5e('0x28')](_0x1f84b5=>_0x1f84b5[_0x1b5e('0xc')]('todoListChecked')!=_0x5af438['value']),_0x2f0a21[_0x1b5e('0x4')]['change'](()=>{for(const _0x129cd5 of _0x22858a)_0x4d9a22[_0x1b5e('0x23')](_0x129cd5,{'commandName':'checkTodoList','commandParams':[{'forceValue':!_0x5af438[_0x1b5e('0x32')]}]});});}),_0x4d9a22[_0x1b5e('0x3a')][_0x1b5e('0x12')](_0x1b5e('0x8'),_0x47e5a8=>_0x468a31(_0x4da39c,_0x1b5e('0x11'),_0x47e5a8)),_0x4d9a22[_0x1b5e('0x3a')]['registerDescriptionCallback'](_0x1b5d23=>{const {data:_0x5df955}=_0x1b5d23;if(_0x5df955){if('numberedList'==_0x5df955[_0x1b5e('0x2a')]||_0x1b5e('0x30')==_0x5df955[_0x1b5e('0x2a')]||_0x1b5e('0x1a')==_0x5df955[_0x1b5e('0x2a')])switch(_0x5df955[_0x1b5e('0x2a')][_0x1b5e('0x39')](_0x1b5e('0x40'),'')){case _0x1b5e('0x3e'):return _0x39fe47(_0x468a31(_0x4da39c,_0x1b5e('0x24')));case _0x1b5e('0x18'):return _0x39fe47(_0x468a31(_0x4da39c,_0x1b5e('0x2b')));case _0x1b5e('0x3d'):return _0x39fe47(_0x468a31(_0x4da39c,_0x1b5e('0x13')));}if(_0x1b5e('0x15')==_0x5df955['commandName'])return{'type':'format','content':_0x468a31(_0x4da39c,_0x1b5e('0x3'),_0x468a31(_0x4da39c,_0x1b5e('0x11')))};if('outdentList'==_0x5df955[_0x1b5e('0x2a')])return{'type':_0x1b5e('0x3c'),'content':_0x468a31(_0x4da39c,_0x1b5e('0x1d'),_0x468a31(_0x4da39c,'ELEMENT_LIST_ITEM'))};if(_0x1b5e('0xf')==_0x5df955[_0x1b5e('0x2a')])return _0x5df955['commandParams'][0x0]['forceValue']?{'type':'format','content':_0x468a31(_0x4da39c,_0x1b5e('0xa'))}:{'type':'format','content':_0x468a31(_0x4da39c,_0x1b5e('0x34'))};}function _0x39fe47(_0x2570aa){return{'type':'format','content':_0x468a31(_0x4da39c,_0x1b5e('0x1e'),_0x2570aa)};}});}}function Lt(_0x21333e){const _0x4036a2=_0x21333e[_0x1b5e('0xc')](_0x1b5e('0x10'));if(0x0==_0x4036a2)return _0x21333e;let _0x412b79=_0x21333e;for(;_0x21333e[_0x1b5e('0x19')]&&_0x21333e[_0x1b5e('0x19')]['is'](_0x1b5e('0x27'),_0x1b5e('0x8'));){const _0x25d845=_0x21333e['previousSibling'][_0x1b5e('0xc')](_0x1b5e('0x10'));if(_0x25d845==_0x4036a2)_0x412b79=_0x21333e[_0x1b5e('0x19')];else{if(_0x25d845<_0x4036a2)break;}_0x21333e=_0x21333e[_0x1b5e('0x19')];}return _0x412b79;}function Mt(_0x5be3d2){const _0x2a7198=[];if(_0x5be3d2['is']('element','listItem')&&_0x5be3d2[_0x1b5e('0xc')](_0x1b5e('0x10'))>0x0){let _0x19f65c=_0x5be3d2[_0x1b5e('0x14')];for(;_0x19f65c&&_0x1b5e('0x8')==_0x19f65c[_0x1b5e('0x33')]&&_0x19f65c['getAttribute'](_0x1b5e('0x10'))==_0x5be3d2[_0x1b5e('0xc')](_0x1b5e('0x10'));)_0x2a7198[_0x1b5e('0x0')](_0x19f65c),_0x19f65c=_0x19f65c[_0x1b5e('0x14')];}return _0x2a7198;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2bde=['TrackChangesEditing','options','mediaEmbed','createEmptyElement','for','_descriptionFactory','registerElementLabel','stop','ELEMENT_MEDIA','data','MediaEmbedEditing','div','downcastDispatcher','showSuggestionHighlights','afterInit','enableCommand','plugins','high','has','locale','get','elementToElement','conversion','attribute:url:media','editor'];(function(_0xe6a88b,_0x2bdef7){const _0x2f7bea=function(_0x1ef6b5){while(--_0x1ef6b5){_0xe6a88b['push'](_0xe6a88b['shift']());}};_0x2f7bea(++_0x2bdef7);}(_0x2bde,0xa0));const _0x2f7b=function(_0xe6a88b,_0x2bdef7){_0xe6a88b=_0xe6a88b-0x0;let _0x2f7bea=_0x2bde[_0xe6a88b];return _0x2f7bea;};import{Plugin as _0x148eab}from'ckeditor5/src/core';import{getTranslation as _0x35e327}from'../utils/common-translations';export default class st extends _0x148eab{[_0x2f7b('0x4')](){const _0x17fab2=this[_0x2f7b('0xe')];if(!_0x17fab2[_0x2f7b('0x6')][_0x2f7b('0x8')](_0x2f7b('0x0')))return;const _0x1aae83=_0x17fab2[_0x2f7b('0x6')][_0x2f7b('0xa')](_0x2f7b('0xf')),_0x553222=_0x17fab2[_0x2f7b('0x9')];_0x1aae83[_0x2f7b('0x5')](_0x2f7b('0x11')),_0x1aae83[_0x2f7b('0x14')][_0x2f7b('0x15')]('media',_0xcb7d04=>_0x35e327(_0x553222,_0x2f7b('0x17'),_0xcb7d04)),_0x17fab2[_0x2f7b('0xc')][_0x2f7b('0x13')]('dataDowncast')[_0x2f7b('0xb')]({'model':'media','view':(_0x1d637c,{writer:_0x1fa7b2,options:_0x31b4b2})=>{if(_0x31b4b2[_0x2f7b('0x3')])return _0x1fa7b2[_0x2f7b('0x12')](_0x2f7b('0x1'));},'converterPriority':'high'}),_0x17fab2[_0x2f7b('0x18')][_0x2f7b('0x2')]['on'](_0x2f7b('0xd'),(_0x4e2bb4,_0x428cc9,_0x981b07)=>{_0x981b07[_0x2f7b('0x10')]['showSuggestionHighlights']&&_0x4e2bb4[_0x2f7b('0x16')]();},{'priority':_0x2f7b('0x7')});}}
23
+ const _0x53d9=['showSuggestionHighlights','high','locale','ELEMENT_MEDIA','enableCommand','stop','createEmptyElement','get','downcastDispatcher','div','_descriptionFactory','editor','elementToElement','media','data','MediaEmbedEditing','attribute:url:media','options','has','TrackChangesEditing','plugins','conversion','mediaEmbed'];(function(_0xd31ec3,_0x53d908){const _0xc59768=function(_0x223336){while(--_0x223336){_0xd31ec3['push'](_0xd31ec3['shift']());}};_0xc59768(++_0x53d908);}(_0x53d9,0x9b));const _0xc597=function(_0xd31ec3,_0x53d908){_0xd31ec3=_0xd31ec3-0x0;let _0xc59768=_0x53d9[_0xd31ec3];return _0xc59768;};import{Plugin as _0xda7f4}from'ckeditor5/src/core';import{getTranslation as _0x34c3cd}from'../utils/common-translations';export default class st extends _0xda7f4{['afterInit'](){const _0x4dc2d0=this[_0xc597('0x11')];if(!_0x4dc2d0[_0xc597('0x3')][_0xc597('0x1')](_0xc597('0x15')))return;const _0x5b230c=_0x4dc2d0[_0xc597('0x3')][_0xc597('0xd')](_0xc597('0x2')),_0x551a9c=_0x4dc2d0[_0xc597('0x8')];_0x5b230c[_0xc597('0xa')](_0xc597('0x5')),_0x5b230c[_0xc597('0x10')]['registerElementLabel'](_0xc597('0x13'),_0x285ace=>_0x34c3cd(_0x551a9c,_0xc597('0x9'),_0x285ace)),_0x4dc2d0[_0xc597('0x4')]['for']('dataDowncast')[_0xc597('0x12')]({'model':_0xc597('0x13'),'view':(_0x1b0d62,{writer:_0x51aa46,options:_0x4dd9c3})=>{if(_0x4dd9c3[_0xc597('0x6')])return _0x51aa46[_0xc597('0xc')](_0xc597('0xf'));},'converterPriority':_0xc597('0x7')}),_0x4dc2d0[_0xc597('0x14')][_0xc597('0xe')]['on'](_0xc597('0x16'),(_0x64550d,_0x2c6520,_0x22c8e1)=>{_0x22c8e1[_0xc597('0x0')][_0xc597('0x6')]&&_0x64550d[_0xc597('0xb')]();},{'priority':'high'});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1226=['editor','plugins','MentionEditing','enableCommand','get','has'];(function(_0x28f6f2,_0x1226a5){const _0x162014=function(_0x371851){while(--_0x371851){_0x28f6f2['push'](_0x28f6f2['shift']());}};_0x162014(++_0x1226a5);}(_0x1226,0x110));const _0x1620=function(_0x28f6f2,_0x1226a5){_0x28f6f2=_0x28f6f2-0x0;let _0x162014=_0x1226[_0x28f6f2];return _0x162014;};import{Plugin as _0x154989}from'ckeditor5/src/core';export default class et extends _0x154989{['afterInit'](){const _0x57f4d6=this[_0x1620('0x4')];_0x57f4d6[_0x1620('0x5')][_0x1620('0x3')](_0x1620('0x0'))&&_0x57f4d6[_0x1620('0x5')][_0x1620('0x2')]('TrackChangesEditing')[_0x1620('0x1')]('mention');}}
23
+ const _0x1ce4=['plugins','TrackChangesEditing','get','editor','enableCommand','mention','afterInit'];(function(_0x2770f2,_0x1ce427){const _0x88180a=function(_0x10de2e){while(--_0x10de2e){_0x2770f2['push'](_0x2770f2['shift']());}};_0x88180a(++_0x1ce427);}(_0x1ce4,0x109));const _0x8818=function(_0x2770f2,_0x1ce427){_0x2770f2=_0x2770f2-0x0;let _0x88180a=_0x1ce4[_0x2770f2];return _0x88180a;};import{Plugin as _0x3dcf03}from'ckeditor5/src/core';export default class et extends _0x3dcf03{[_0x8818('0x0')](){const _0x286581=this[_0x8818('0x4')];_0x286581[_0x8818('0x1')]['has']('MentionEditing')&&_0x286581['plugins'][_0x8818('0x3')](_0x8818('0x2'))[_0x8818('0x5')](_0x8818('0x6'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x28b2=['get','plugins','TrackChangesEditing','PageBreakEditing','_descriptionFactory','enableCommand','afterInit','registerElementLabel','has','ELEMENT_PAGE_BREAK','pageBreak'];(function(_0x56a353,_0x28b25b){const _0x5a6cb5=function(_0x2fdd1a){while(--_0x2fdd1a){_0x56a353['push'](_0x56a353['shift']());}};_0x5a6cb5(++_0x28b25b);}(_0x28b2,0x1d0));const _0x5a6c=function(_0x56a353,_0x28b25b){_0x56a353=_0x56a353-0x0;let _0x5a6cb5=_0x28b2[_0x56a353];return _0x5a6cb5;};import{Plugin as _0x1eeebd}from'ckeditor5/src/core';import{getTranslation as _0x4609ea}from'../utils/common-translations';export default class nt extends _0x1eeebd{[_0x5a6c('0x4')](){const _0x4cfd32=this['editor'];if(!_0x4cfd32[_0x5a6c('0xa')][_0x5a6c('0x6')](_0x5a6c('0x1')))return;_0x4cfd32[_0x5a6c('0xa')][_0x5a6c('0x9')](_0x5a6c('0x0'))[_0x5a6c('0x3')](_0x5a6c('0x8'));const _0x296641=_0x4cfd32[_0x5a6c('0xa')][_0x5a6c('0x9')](_0x5a6c('0x0')),_0x3c204f=_0x4cfd32['locale'];_0x296641[_0x5a6c('0x2')][_0x5a6c('0x5')](_0x5a6c('0x8'),_0x3e1668=>_0x4609ea(_0x3c204f,_0x5a6c('0x7'),_0x3e1668));}}
23
+ const _0x210d=['locale','editor','PageBreakEditing','ELEMENT_PAGE_BREAK','registerElementLabel','get','afterInit','has','pageBreak','TrackChangesEditing','plugins'];(function(_0x21c4ca,_0x210d57){const _0x17570d=function(_0x48f9e5){while(--_0x48f9e5){_0x21c4ca['push'](_0x21c4ca['shift']());}};_0x17570d(++_0x210d57);}(_0x210d,0xf1));const _0x1757=function(_0x21c4ca,_0x210d57){_0x21c4ca=_0x21c4ca-0x0;let _0x17570d=_0x210d[_0x21c4ca];return _0x17570d;};import{Plugin as _0x178bbc}from'ckeditor5/src/core';import{getTranslation as _0x2f4b1a}from'../utils/common-translations';export default class nt extends _0x178bbc{[_0x1757('0x7')](){const _0x2bf2cf=this[_0x1757('0x2')];if(!_0x2bf2cf[_0x1757('0x0')][_0x1757('0x8')](_0x1757('0x3')))return;_0x2bf2cf[_0x1757('0x0')][_0x1757('0x6')](_0x1757('0xa'))['enableCommand']('pageBreak');const _0x43afd3=_0x2bf2cf['plugins'][_0x1757('0x6')](_0x1757('0xa')),_0x11698d=_0x2bf2cf[_0x1757('0x1')];_0x43afd3['_descriptionFactory'][_0x1757('0x5')](_0x1757('0x9'),_0x5220a2=>_0x2f4b1a(_0x11698d,_0x1757('0x4'),_0x5220a2));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x49af=['insertion','selection','nodeAfter','change','document','$text','format','addMarker:suggestion:insertion','includes','parent','consume','get','mapper','markBlockFormat','_descriptionFactory','markerRange','writer','TrackChangesEditing','locale','filter','paragraph','commandName','isBlock','schema','toViewPosition','end','isLimit','createUIElement','markerName','afterInit','enableCommand','*Insert:*\x20%0','getItemLabel','span','from','ELEMENT_PARAGRAPH','plugins','editor','getSelectedBlocks','isTouching','activeMarkers','editing','has','highest','name','downcastDispatcher','registerDescriptionCallback','checkChild','getFirstRange','options','type','addClass','model','data','ck-suggestion-marker-split','consumable'];(function(_0x25ebc8,_0x49af7e){const _0x50bad5=function(_0x1cc41c){while(--_0x1cc41c){_0x25ebc8['push'](_0x25ebc8['shift']());}};_0x50bad5(++_0x49af7e);}(_0x49af,0x103));const _0x50ba=function(_0x25ebc8,_0x49af7e){_0x25ebc8=_0x25ebc8-0x0;let _0x50bad5=_0x49af[_0x25ebc8];return _0x50bad5;};import{Plugin as _0x49e08d}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x49a6b5}from'./utils';import{getTranslation as _0x3dbc32}from'../utils/common-translations';export default class ot extends _0x49e08d{[_0x50ba('0x32')](){const _0x1ea556=this[_0x50ba('0x2')];if(!_0x1ea556[_0x50ba('0x1')][_0x50ba('0x7')]('Paragraph'))return;const _0x51b427=_0x1ea556[_0x50ba('0x27')],_0x4aa965=_0x1ea556[_0x50ba('0x1')][_0x50ba('0x20')](_0x50ba('0x26'));_0x4aa965[_0x50ba('0x23')]['registerElementLabel'](_0x50ba('0x29'),_0x58047d=>_0x3dbc32(_0x51b427,_0x50ba('0x0'),_0x58047d)),_0x4aa965[_0x50ba('0x33')](_0x50ba('0x29'),(_0x11269c,_0x2f95d4={})=>{const _0x4cd026=_0x1ea556[_0x50ba('0x11')][_0x50ba('0x19')],_0x482f04=_0x2f95d4[_0x50ba('0x16')]||_0x4cd026[_0x50ba('0x16')],_0x250745=Array[_0x50ba('0x37')](_0x482f04[_0x50ba('0x3')]())[_0x50ba('0x28')](_0x40d52a=>function(_0x414ff2,_0x29b0e9){return _0x29b0e9[_0x50ba('0xc')](_0x414ff2[_0x50ba('0x1e')],_0x50ba('0x29'))&&!_0x29b0e9['isObject'](_0x414ff2)&&'paragraph'!=_0x414ff2[_0x50ba('0x9')];}(_0x40d52a,this['editor'][_0x50ba('0x11')][_0x50ba('0x2c')]));_0x1ea556[_0x50ba('0x11')][_0x50ba('0x18')](()=>{for(const _0x52c4a2 of _0x250745)_0x4aa965[_0x50ba('0x22')](_0x52c4a2,{'commandName':_0x50ba('0x29'),'commandParams':[],'formatGroupId':'blockName'},_0x49a6b5(_0x52c4a2));});}),_0x4aa965[_0x50ba('0x23')]['registerDescriptionCallback'](_0x3e0d62=>{const {data:_0x49cffd}=_0x3e0d62;if(_0x49cffd&&'paragraph'==_0x49cffd[_0x50ba('0x2a')])return{'type':_0x50ba('0x1b'),'content':_0x3dbc32(_0x51b427,'*Change\x20to:*\x20%0',_0x3dbc32(_0x51b427,_0x50ba('0x0')))};}),_0x4aa965[_0x50ba('0x33')]('insertParagraph'),_0x1ea556[_0x50ba('0x6')][_0x50ba('0xa')]['on'](_0x50ba('0x1c'),tr(_0x1ea556),{'priority':_0x50ba('0x8')}),_0x1ea556[_0x50ba('0x12')]['downcastDispatcher']['on'](_0x50ba('0x1c'),(_0x46b732,_0x49280a,_0x519a68)=>{_0x519a68[_0x50ba('0xe')]['showSuggestionHighlights']&&tr(_0x1ea556,{'showActiveMarker':!0x1})(_0x46b732,_0x49280a,_0x519a68);},{'priority':_0x50ba('0x8')});const _0x26866c=_0x4aa965['_descriptionFactory'];_0x26866c[_0x50ba('0xb')](_0xcc36cd=>{if(_0x50ba('0x15')!==_0xcc36cd[_0x50ba('0xf')])return;const {start:_0x3439be,end:_0x2778cc}=_0xcc36cd[_0x50ba('0xd')]();if(!_0x3439be[_0x50ba('0x4')](_0x2778cc)||!_0x3439be[_0x50ba('0x17')])return;const _0x1fc8b7=_0x1ea556[_0x50ba('0x11')][_0x50ba('0x2c')],_0x4a4406=_0x3439be[_0x50ba('0x17')];return _0x1fc8b7[_0x50ba('0x2b')](_0x4a4406)&&!_0x1fc8b7[_0x50ba('0x2f')](_0x4a4406)&&_0x1fc8b7[_0x50ba('0xc')](_0x4a4406,_0x50ba('0x1a'))?{'type':'insertion','content':_0x3dbc32(_0x51b427,_0x50ba('0x34'),_0x26866c[_0x50ba('0x35')](_0x4a4406['name'],0x1))}:void 0x0;});}}function tr(_0x2e782b,{showActiveMarker:_0x46997d=!0x0}={}){return(_0x276d83,_0x470487,_0x2575f6)=>{const _0xe70ffd=_0x2e782b[_0x50ba('0x1')]['get'](_0x50ba('0x26')),_0x57c292=_0x470487[_0x50ba('0x24')]['start'],_0x3b1adc=_0x470487[_0x50ba('0x24')][_0x50ba('0x2e')],_0x471298=_0x2e782b[_0x50ba('0x11')]['schema'];if(!_0x57c292[_0x50ba('0x4')](_0x3b1adc)||!_0x57c292[_0x50ba('0x17')])return;const _0x3c2d0d=_0x57c292[_0x50ba('0x17')];if(_0x471298['isBlock'](_0x3c2d0d)&&!_0x471298[_0x50ba('0x2f')](_0x3c2d0d)&&_0x471298['checkChild'](_0x3c2d0d,_0x50ba('0x1a'))){if(!_0x2575f6[_0x50ba('0x14')][_0x50ba('0x1f')](_0x470487[_0x50ba('0x24')],_0x276d83[_0x50ba('0x9')]))return;const _0x5abba6=_0x2575f6[_0x50ba('0x25')][_0x50ba('0x30')](_0x50ba('0x36'),{'class':_0x50ba('0x13')}),_0x549c3e=_0x2575f6[_0x50ba('0x21')][_0x50ba('0x2d')](_0x3b1adc);_0x46997d&&_0xe70ffd[_0x50ba('0x5')][_0x50ba('0x1d')](_0x470487[_0x50ba('0x31')])&&_0x2575f6[_0x50ba('0x25')][_0x50ba('0x10')]('ck-suggestion-marker--active',_0x5abba6),_0x2575f6[_0x50ba('0x25')]['insert'](_0x549c3e,_0x5abba6),_0x2575f6[_0x50ba('0x21')]['bindElementToMarker'](_0x5abba6,_0x470487['markerName']);}};}
23
+ const _0x587e=['end','checkChild','*Change\x20to:*\x20%0','commandName','consume','locale','span','filter','start','getItemLabel','model','ELEMENT_PARAGRAPH','mapper','parent','get','document','ck-suggestion-marker-split','consumable','insert','highest','markBlockFormat','insertion','afterInit','enableCommand','getSelectedBlocks','type','includes','selection','*Insert:*\x20%0','markerRange','nodeAfter','_descriptionFactory','createUIElement','ck-suggestion-marker--active','schema','isBlock','getFirstRange','has','isTouching','activeMarkers','addMarker:suggestion:insertion','bindElementToMarker','editor','name','markerName','showSuggestionHighlights','$text','editing','Paragraph','writer','blockName','insertParagraph','paragraph','isLimit','plugins','registerDescriptionCallback','from','change','TrackChangesEditing'];(function(_0x1f1e1c,_0x587efa){const _0x532b36=function(_0x3f7442){while(--_0x3f7442){_0x1f1e1c['push'](_0x1f1e1c['shift']());}};_0x532b36(++_0x587efa);}(_0x587e,0xe6));const _0x532b=function(_0x1f1e1c,_0x587efa){_0x1f1e1c=_0x1f1e1c-0x0;let _0x532b36=_0x587e[_0x1f1e1c];return _0x532b36;};import{Plugin as _0x56b23c}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0xacd984}from'./utils';import{getTranslation as _0x320cc3}from'../utils/common-translations';export default class ot extends _0x56b23c{[_0x532b('0x1c')](){const _0x3b45a4=this[_0x532b('0x30')];if(!_0x3b45a4[_0x532b('0x1')][_0x532b('0x2b')](_0x532b('0x36')))return;const _0x249c69=_0x3b45a4[_0x532b('0xb')],_0x1e37ab=_0x3b45a4[_0x532b('0x1')]['get'](_0x532b('0x5'));_0x1e37ab[_0x532b('0x25')]['registerElementLabel']('paragraph',_0x35d147=>_0x320cc3(_0x249c69,_0x532b('0x11'),_0x35d147)),_0x1e37ab[_0x532b('0x1d')](_0x532b('0x3a'),(_0x28e8d0,_0x57ab38={})=>{const _0x4ee290=_0x3b45a4[_0x532b('0x10')][_0x532b('0x15')],_0x32c082=_0x57ab38[_0x532b('0x21')]||_0x4ee290['selection'],_0x43e0a5=Array[_0x532b('0x3')](_0x32c082[_0x532b('0x1e')]())[_0x532b('0xd')](_0x374766=>function(_0x30fd51,_0x40a97a){return _0x40a97a[_0x532b('0x7')](_0x30fd51[_0x532b('0x13')],_0x532b('0x3a'))&&!_0x40a97a['isObject'](_0x30fd51)&&'paragraph'!=_0x30fd51[_0x532b('0x31')];}(_0x374766,this[_0x532b('0x30')][_0x532b('0x10')][_0x532b('0x28')]));_0x3b45a4[_0x532b('0x10')][_0x532b('0x4')](()=>{for(const _0x33908 of _0x43e0a5)_0x1e37ab[_0x532b('0x1a')](_0x33908,{'commandName':_0x532b('0x3a'),'commandParams':[],'formatGroupId':_0x532b('0x38')},_0xacd984(_0x33908));});}),_0x1e37ab[_0x532b('0x25')][_0x532b('0x2')](_0x5b6890=>{const {data:_0xe515c3}=_0x5b6890;if(_0xe515c3&&_0x532b('0x3a')==_0xe515c3[_0x532b('0x9')])return{'type':'format','content':_0x320cc3(_0x249c69,_0x532b('0x8'),_0x320cc3(_0x249c69,_0x532b('0x11')))};}),_0x1e37ab[_0x532b('0x1d')](_0x532b('0x39')),_0x3b45a4[_0x532b('0x35')]['downcastDispatcher']['on'](_0x532b('0x2e'),tr(_0x3b45a4),{'priority':_0x532b('0x19')}),_0x3b45a4['data']['downcastDispatcher']['on'](_0x532b('0x2e'),(_0x4a06e6,_0x4389dc,_0x48b4f9)=>{_0x48b4f9['options'][_0x532b('0x33')]&&tr(_0x3b45a4,{'showActiveMarker':!0x1})(_0x4a06e6,_0x4389dc,_0x48b4f9);},{'priority':'highest'});const _0x26677f=_0x1e37ab['_descriptionFactory'];_0x26677f['registerDescriptionCallback'](_0x53dc98=>{if(_0x532b('0x1b')!==_0x53dc98[_0x532b('0x1f')])return;const {start:_0x121271,end:_0x4f0c37}=_0x53dc98[_0x532b('0x2a')]();if(!_0x121271[_0x532b('0x2c')](_0x4f0c37)||!_0x121271[_0x532b('0x24')])return;const _0x59b8b2=_0x3b45a4[_0x532b('0x10')][_0x532b('0x28')],_0x2c5ac9=_0x121271[_0x532b('0x24')];return _0x59b8b2[_0x532b('0x29')](_0x2c5ac9)&&!_0x59b8b2[_0x532b('0x0')](_0x2c5ac9)&&_0x59b8b2[_0x532b('0x7')](_0x2c5ac9,_0x532b('0x34'))?{'type':_0x532b('0x1b'),'content':_0x320cc3(_0x249c69,_0x532b('0x22'),_0x26677f[_0x532b('0xf')](_0x2c5ac9['name'],0x1))}:void 0x0;});}}function tr(_0x230ba6,{showActiveMarker:_0x5ded78=!0x0}={}){return(_0x518391,_0x4a2be1,_0x1588e4)=>{const _0x43eec6=_0x230ba6[_0x532b('0x1')][_0x532b('0x14')]('TrackChangesEditing'),_0x2500be=_0x4a2be1['markerRange'][_0x532b('0xe')],_0x221643=_0x4a2be1[_0x532b('0x23')][_0x532b('0x6')],_0x3cc7db=_0x230ba6[_0x532b('0x10')]['schema'];if(!_0x2500be['isTouching'](_0x221643)||!_0x2500be[_0x532b('0x24')])return;const _0x1a80cb=_0x2500be[_0x532b('0x24')];if(_0x3cc7db[_0x532b('0x29')](_0x1a80cb)&&!_0x3cc7db[_0x532b('0x0')](_0x1a80cb)&&_0x3cc7db[_0x532b('0x7')](_0x1a80cb,_0x532b('0x34'))){if(!_0x1588e4[_0x532b('0x17')][_0x532b('0xa')](_0x4a2be1[_0x532b('0x23')],_0x518391['name']))return;const _0x45446a=_0x1588e4['writer'][_0x532b('0x26')](_0x532b('0xc'),{'class':_0x532b('0x16')}),_0x4cc2ef=_0x1588e4[_0x532b('0x12')]['toViewPosition'](_0x221643);_0x5ded78&&_0x43eec6[_0x532b('0x2d')][_0x532b('0x20')](_0x4a2be1[_0x532b('0x32')])&&_0x1588e4[_0x532b('0x37')]['addClass'](_0x532b('0x27'),_0x45446a),_0x1588e4[_0x532b('0x37')][_0x532b('0x18')](_0x4cc2ef,_0x45446a),_0x1588e4[_0x532b('0x12')][_0x532b('0x2f')](_0x45446a,_0x4a2be1[_0x532b('0x32')]);}};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x17b3=['editor','schema','TrackChangesEditing','removeFormat','change','plugins','isCollapsed','getAttributes','get','document','isFormatting','enableCommand','getRanges','RemoveFormatEditing','*Remove\x20all\x20formatting*','has','model','format','selection','_descriptionFactory','getAttributeProperties'];(function(_0x33a431,_0x17b3a7){const _0x55113a=function(_0x37a134){while(--_0x37a134){_0x33a431['push'](_0x33a431['shift']());}};_0x55113a(++_0x17b3a7);}(_0x17b3,0x13d));const _0x5511=function(_0x33a431,_0x17b3a7){_0x33a431=_0x33a431-0x0;let _0x55113a=_0x17b3[_0x33a431];return _0x55113a;};import{Plugin as _0x562758}from'ckeditor5/src/core';import{getTranslation as _0x2df1c6}from'../utils/common-translations';export default class rt extends _0x562758{['afterInit'](){const _0x4bf023=this[_0x5511('0x13')];if(!_0x4bf023[_0x5511('0x3')][_0x5511('0xd')](_0x5511('0xb')))return;const _0x313669=_0x4bf023[_0x5511('0x3')][_0x5511('0x6')](_0x5511('0x0'));_0x313669[_0x5511('0x9')](_0x5511('0x1'),_0x2b7c0e=>{const _0x54518c=_0x4bf023['model'][_0x5511('0x7')][_0x5511('0x10')];_0x54518c[_0x5511('0x4')]?_0x2b7c0e():_0x4bf023[_0x5511('0xe')][_0x5511('0x2')](()=>{const _0x3eacfd=Array['from'](_0x54518c[_0x5511('0xa')]());for(const _0x44cfb2 of _0x3eacfd)for(const _0x3f9636 of _0x44cfb2['getItems']())ro(_0x3f9636,_0x4bf023['model'][_0x5511('0x14')])&&_0x313669['markInlineFormat'](_0x4bf023['model']['createRangeOn'](_0x3f9636),{'commandName':_0x5511('0x1'),'commandParams':[]});});}),_0x313669[_0x5511('0x11')]['registerDescriptionCallback'](_0x45c5c6=>{const {data:_0x5cc983}=_0x45c5c6;if(_0x5cc983&&_0x5511('0x1')==_0x5cc983['commandName'])return{'type':_0x5511('0xf'),'content':_0x2df1c6(_0x4bf023['locale'],_0x5511('0xc'))};});}}function ro(_0xd2096c,_0x23d7a6){for(const [_0x5d6b3f]of _0xd2096c[_0x5511('0x5')]()){const _0x2dfe5f=_0x23d7a6[_0x5511('0x12')](_0x5d6b3f);if(_0x2dfe5f&&_0x2dfe5f[_0x5511('0x8')])return!0x0;}return!0x1;}
23
+ const _0x1c84=['selection','RemoveFormatEditing','get','format','*Remove\x20all\x20formatting*','removeFormat','getAttributes','registerDescriptionCallback','model','isFormatting','getRanges','isCollapsed','getItems','plugins','enableCommand','from','_descriptionFactory','schema','locale','change','has'];(function(_0x5c660e,_0x1c84e0){const _0x1f9306=function(_0x5e4d6e){while(--_0x5e4d6e){_0x5c660e['push'](_0x5c660e['shift']());}};_0x1f9306(++_0x1c84e0);}(_0x1c84,0x1e8));const _0x1f93=function(_0x5c660e,_0x1c84e0){_0x5c660e=_0x5c660e-0x0;let _0x1f9306=_0x1c84[_0x5c660e];return _0x1f9306;};import{Plugin as _0x1a629c}from'ckeditor5/src/core';import{getTranslation as _0x492f37}from'../utils/common-translations';export default class rt extends _0x1a629c{['afterInit'](){const _0x2a60a0=this['editor'];if(!_0x2a60a0[_0x1f93('0x8')][_0x1f93('0xf')](_0x1f93('0x11')))return;const _0xce57a4=_0x2a60a0[_0x1f93('0x8')][_0x1f93('0x12')]('TrackChangesEditing');_0xce57a4[_0x1f93('0x9')](_0x1f93('0x0'),_0x5f9e1d=>{const _0x54d4d1=_0x2a60a0[_0x1f93('0x3')]['document'][_0x1f93('0x10')];_0x54d4d1[_0x1f93('0x6')]?_0x5f9e1d():_0x2a60a0[_0x1f93('0x3')][_0x1f93('0xe')](()=>{const _0x2a2721=Array[_0x1f93('0xa')](_0x54d4d1[_0x1f93('0x5')]());for(const _0x31b4a8 of _0x2a2721)for(const _0xd58445 of _0x31b4a8[_0x1f93('0x7')]())ro(_0xd58445,_0x2a60a0['model'][_0x1f93('0xc')])&&_0xce57a4['markInlineFormat'](_0x2a60a0[_0x1f93('0x3')]['createRangeOn'](_0xd58445),{'commandName':'removeFormat','commandParams':[]});});}),_0xce57a4[_0x1f93('0xb')][_0x1f93('0x2')](_0x423476=>{const {data:_0x1d9009}=_0x423476;if(_0x1d9009&&'removeFormat'==_0x1d9009['commandName'])return{'type':_0x1f93('0x13'),'content':_0x492f37(_0x2a60a0[_0x1f93('0xd')],_0x1f93('0x14'))};});}}function ro(_0x2685b0,_0x257ce7){for(const [_0x22714c]of _0x2685b0[_0x1f93('0x1')]()){const _0x256c45=_0x257ce7['getAttributeProperties'](_0x22714c);if(_0x256c45&&_0x256c45[_0x1f93('0x4')])return!0x0;}return!0x1;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x54a8=['enableCommand','acceptSuggestion','plugins','RestrictedEditingModeEditing','editor','has','acceptAllSuggestions','discardSuggestion','goToPreviousRestrictedEditingException','get','TrackChangesEditing','discardSelectedSuggestions','trackChanges','afterInit'];(function(_0x3bd3d8,_0x54a8ff){const _0x3d5b8b=function(_0x4cf844){while(--_0x4cf844){_0x3bd3d8['push'](_0x3bd3d8['shift']());}};_0x3d5b8b(++_0x54a8ff);}(_0x54a8,0x15f));const _0x3d5b=function(_0x3bd3d8,_0x54a8ff){_0x3bd3d8=_0x3bd3d8-0x0;let _0x3d5b8b=_0x54a8[_0x3bd3d8];return _0x3d5b8b;};import{Plugin as _0x557d05}from'ckeditor5/src/core';export default class at extends _0x557d05{[_0x3d5b('0xc')](){const _0x28f56e=this[_0x3d5b('0x3')];if(!_0x28f56e[_0x3d5b('0x1')][_0x3d5b('0x4')](_0x3d5b('0x2')))return;const _0x1932d8=_0x28f56e[_0x3d5b('0x1')][_0x3d5b('0x8')](_0x3d5b('0x9'));_0x1932d8[_0x3d5b('0xd')](_0x3d5b('0x7')),_0x1932d8[_0x3d5b('0xd')]('goToNextRestrictedEditingException');const _0x4f5de0=_0x28f56e[_0x3d5b('0x1')][_0x3d5b('0x8')]('RestrictedEditingModeEditing');_0x4f5de0[_0x3d5b('0xd')](_0x3d5b('0xb')),_0x4f5de0[_0x3d5b('0xd')](_0x3d5b('0x0')),_0x4f5de0['enableCommand'](_0x3d5b('0x6')),_0x4f5de0[_0x3d5b('0xd')](_0x3d5b('0x5')),_0x4f5de0[_0x3d5b('0xd')]('discardAllSuggestions'),_0x4f5de0[_0x3d5b('0xd')]('acceptSelectedSuggestions'),_0x4f5de0[_0x3d5b('0xd')](_0x3d5b('0xa'));}}
23
+ const _0x41f2=['TrackChangesEditing','discardSelectedSuggestions','discardAllSuggestions','goToNextRestrictedEditingException','goToPreviousRestrictedEditingException','has','acceptSelectedSuggestions','acceptAllSuggestions','afterInit','acceptSuggestion','discardSuggestion','plugins','RestrictedEditingModeEditing','enableCommand'];(function(_0x499498,_0x41f252){const _0x954be5=function(_0xf82e5d){while(--_0xf82e5d){_0x499498['push'](_0x499498['shift']());}};_0x954be5(++_0x41f252);}(_0x41f2,0x199));const _0x954b=function(_0x499498,_0x41f252){_0x499498=_0x499498-0x0;let _0x954be5=_0x41f2[_0x499498];return _0x954be5;};import{Plugin as _0x307339}from'ckeditor5/src/core';export default class at extends _0x307339{[_0x954b('0x5')](){const _0x201365=this['editor'];if(!_0x201365[_0x954b('0x8')][_0x954b('0x2')](_0x954b('0x9')))return;const _0x4cbdb5=_0x201365['plugins']['get'](_0x954b('0xb'));_0x4cbdb5[_0x954b('0xa')](_0x954b('0x1')),_0x4cbdb5[_0x954b('0xa')](_0x954b('0x0'));const _0x35c669=_0x201365[_0x954b('0x8')]['get']('RestrictedEditingModeEditing');_0x35c669[_0x954b('0xa')]('trackChanges'),_0x35c669[_0x954b('0xa')](_0x954b('0x6')),_0x35c669['enableCommand'](_0x954b('0x7')),_0x35c669[_0x954b('0xa')](_0x954b('0x4')),_0x35c669[_0x954b('0xa')](_0x954b('0xd')),_0x35c669[_0x954b('0xa')](_0x954b('0x3')),_0x35c669[_0x954b('0xa')](_0x954b('0xc'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3f47=['get','span','locale','init','mapper','downcastDispatcher','editor','addMarker:suggestion','ELEMENT_LINE_BREAK','addMarker:suggestion:deletion','insert','showSuggestionHighlights','ck-suggestion-marker-','addClass','writer','toViewPosition','data','getItems','_descriptionFactory','markerName','requires','softBreak','editing','high','test','ck-suggestion-marker--active','TrackChangesEditing','model','merge','split','options','includes','markerRange'];(function(_0x5932bc,_0x3f4716){const _0x3361cd=function(_0x1dd916){while(--_0x1dd916){_0x5932bc['push'](_0x5932bc['shift']());}};_0x3361cd(++_0x3f4716);}(_0x3f47,0x1db));const _0x3361=function(_0x5932bc,_0x3f4716){_0x5932bc=_0x5932bc-0x0;let _0x3361cd=_0x3f47[_0x5932bc];return _0x3361cd;};import{Plugin as _0x4aaccd}from'ckeditor5/src/core';import{ShiftEnter as _0x394e15}from'ckeditor5/src/enter';import{getTranslation as _0x133f43}from'../utils/common-translations';export default class ct extends _0x4aaccd{static get[_0x3361('0x7')](){return[_0x394e15];}[_0x3361('0x17')](){const _0x22cf05=this[_0x3361('0x1a')],_0x4dfc62=_0x22cf05['plugins'][_0x3361('0x14')](_0x3361('0xd'));_0x4dfc62['enableCommand']('shiftEnter'),_0x22cf05[_0x3361('0x9')]['downcastDispatcher']['on']('addMarker:suggestion:insertion',re(_0x22cf05),{'priority':'high'}),_0x22cf05['editing'][_0x3361('0x19')]['on'](_0x3361('0x1d'),re(_0x22cf05),{'priority':_0x3361('0xa')}),_0x22cf05[_0x3361('0x3')]['downcastDispatcher']['on'](_0x3361('0x1b'),(_0x431314,_0x3e71d9,_0x39efd0)=>{_0x39efd0[_0x3361('0x11')][_0x3361('0x1f')]&&re(_0x22cf05,{'showActiveMarker':!0x1})(_0x431314,_0x3e71d9,_0x39efd0);}),_0x4dfc62[_0x3361('0x5')]['registerElementLabel'](_0x3361('0x8'),_0x31a123=>_0x133f43(_0x22cf05[_0x3361('0x16')],_0x3361('0x1c'),_0x31a123));}}function re(_0x4a73c9,{showActiveMarker:_0x115b54=!0x0}={}){return(_0x544f5b,_0x1f22bd,_0x5892fe)=>{const _0x14efd1=_0x4a73c9['plugins']['get'](_0x3361('0xd'));if(!_0x5892fe['consumable'][_0x3361('0xb')](_0x1f22bd[_0x3361('0x13')],_0x544f5b['name']))return;const _0x160b6b=_0x4a73c9[_0x3361('0xe')];for(const _0x249ab4 of _0x1f22bd['markerRange'][_0x3361('0x4')]()){if(!_0x249ab4['is']('element',_0x3361('0x8')))continue;const _0x521dd2='deletion'==_0x1f22bd[_0x3361('0x6')][_0x3361('0x10')](':')[0x1]?_0x3361('0xf'):_0x3361('0x10'),_0x4269f5=_0x5892fe[_0x3361('0x1')]['createUIElement'](_0x3361('0x15'),{'class':_0x3361('0x20')+_0x521dd2}),_0x1b624f=_0x5892fe['mapper'][_0x3361('0x2')](_0x160b6b['createPositionBefore'](_0x249ab4));_0x115b54&&_0x14efd1['activeMarkers'][_0x3361('0x12')](_0x1f22bd[_0x3361('0x6')])&&_0x5892fe[_0x3361('0x1')][_0x3361('0x0')](_0x3361('0xc'),_0x4269f5),_0x5892fe[_0x3361('0x1')][_0x3361('0x1e')](_0x1b624f,_0x4269f5),_0x5892fe[_0x3361('0x18')]['bindElementToMarker'](_0x4269f5,_0x1f22bd[_0x3361('0x6')]);}};}
23
+ const _0x2db5=['createUIElement','addMarker:suggestion:deletion','activeMarkers','createPositionBefore','editor','locale','toViewPosition','downcastDispatcher','high','ck-suggestion-marker-','showSuggestionHighlights','merge','TrackChangesEditing','options','init','name','model','registerElementLabel','softBreak','get','mapper','writer','markerName','bindElementToMarker','insert','enableCommand','addMarker:suggestion','editing','addClass','span','_descriptionFactory','markerRange','element','includes','deletion','requires','getItems','plugins','addMarker:suggestion:insertion','split'];(function(_0x218f3e,_0x2db536){const _0x1c0998=function(_0x1fab6e){while(--_0x1fab6e){_0x218f3e['push'](_0x218f3e['shift']());}};_0x1c0998(++_0x2db536);}(_0x2db5,0xf1));const _0x1c09=function(_0x218f3e,_0x2db536){_0x218f3e=_0x218f3e-0x0;let _0x1c0998=_0x2db5[_0x218f3e];return _0x1c0998;};import{Plugin as _0x2e41ac}from'ckeditor5/src/core';import{ShiftEnter as _0x139726}from'ckeditor5/src/enter';import{getTranslation as _0x14fe87}from'../utils/common-translations';export default class ct extends _0x2e41ac{static get[_0x1c09('0x22')](){return[_0x139726];}[_0x1c09('0xd')](){const _0x3f9ca3=this[_0x1c09('0x3')],_0x178aef=_0x3f9ca3[_0x1c09('0x24')][_0x1c09('0x12')](_0x1c09('0xb'));_0x178aef[_0x1c09('0x18')]('shiftEnter'),_0x3f9ca3['editing'][_0x1c09('0x6')]['on'](_0x1c09('0x25'),re(_0x3f9ca3),{'priority':'high'}),_0x3f9ca3[_0x1c09('0x1a')][_0x1c09('0x6')]['on'](_0x1c09('0x0'),re(_0x3f9ca3),{'priority':_0x1c09('0x7')}),_0x3f9ca3['data'][_0x1c09('0x6')]['on'](_0x1c09('0x19'),(_0x2dc2fe,_0x3f8c72,_0x1b4d97)=>{_0x1b4d97[_0x1c09('0xc')][_0x1c09('0x9')]&&re(_0x3f9ca3,{'showActiveMarker':!0x1})(_0x2dc2fe,_0x3f8c72,_0x1b4d97);}),_0x178aef[_0x1c09('0x1d')][_0x1c09('0x10')]('softBreak',_0x108d37=>_0x14fe87(_0x3f9ca3[_0x1c09('0x4')],'ELEMENT_LINE_BREAK',_0x108d37));}}function re(_0x51bfd8,{showActiveMarker:_0x497280=!0x0}={}){return(_0x495b0c,_0x158517,_0x4905d9)=>{const _0x13b7e2=_0x51bfd8[_0x1c09('0x24')]['get'](_0x1c09('0xb'));if(!_0x4905d9['consumable']['test'](_0x158517['markerRange'],_0x495b0c[_0x1c09('0xe')]))return;const _0x499574=_0x51bfd8[_0x1c09('0xf')];for(const _0x31b894 of _0x158517[_0x1c09('0x1e')][_0x1c09('0x23')]()){if(!_0x31b894['is'](_0x1c09('0x1f'),_0x1c09('0x11')))continue;const _0x59e22f=_0x1c09('0x21')==_0x158517[_0x1c09('0x15')][_0x1c09('0x26')](':')[0x1]?_0x1c09('0xa'):'split',_0x4c0e32=_0x4905d9[_0x1c09('0x14')][_0x1c09('0x27')](_0x1c09('0x1c'),{'class':_0x1c09('0x8')+_0x59e22f}),_0x4b2aaf=_0x4905d9[_0x1c09('0x13')][_0x1c09('0x5')](_0x499574[_0x1c09('0x2')](_0x31b894));_0x497280&&_0x13b7e2[_0x1c09('0x1')][_0x1c09('0x20')](_0x158517[_0x1c09('0x15')])&&_0x4905d9[_0x1c09('0x14')][_0x1c09('0x1b')]('ck-suggestion-marker--active',_0x4c0e32),_0x4905d9[_0x1c09('0x14')][_0x1c09('0x17')](_0x4b2aaf,_0x4c0e32),_0x4905d9[_0x1c09('0x13')][_0x1c09('0x16')](_0x4c0e32,_0x158517[_0x1c09('0x15')]);}};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5e28=['format','forceValue','document','commands','from','commandParams','markInlineFormat','restrictedEditingException','registerDescriptionCallback','change','locale','selection','FORMAT_RESTRICTED_DISABLED','enableCommand','plugins','has','getRanges','commandName','get','editor','_descriptionFactory'];(function(_0x3992a7,_0x5e2800){const _0x18dba0=function(_0x5af8c1){while(--_0x5af8c1){_0x3992a7['push'](_0x3992a7['shift']());}};_0x18dba0(++_0x5e2800);}(_0x5e28,0x156));const _0x18db=function(_0x3992a7,_0x5e2800){_0x3992a7=_0x3992a7-0x0;let _0x18dba0=_0x5e28[_0x3992a7];return _0x18dba0;};import{Plugin as _0x24617d}from'ckeditor5/src/core';import{getRangesWithAttribute as _0x532cff}from'./utils';import{getTranslation as _0x5c178a}from'../utils/common-translations';export default class ht extends _0x24617d{['afterInit'](){const _0x2b5de4=this[_0x18db('0xd')],_0x1432e8=_0x2b5de4['model'],_0x197017=_0x2b5de4[_0x18db('0x4')];if(!_0x2b5de4[_0x18db('0x8')][_0x18db('0x9')]('StandardEditingModeEditing'))return;const _0x4ade09=_0x2b5de4[_0x18db('0x8')][_0x18db('0xc')]('TrackChangesEditing'),_0x3b6d8a=_0x18db('0x1'),_0x59909d=_0x2b5de4[_0x18db('0x12')][_0x18db('0xc')](_0x3b6d8a);_0x4ade09[_0x18db('0x7')](_0x3b6d8a,(_0x4ced67,_0x139b1b={})=>{const _0x5c22a3=_0x1432e8[_0x18db('0x11')][_0x18db('0x5')];if(_0x5c22a3['isCollapsed'])return void _0x4ced67(_0x139b1b);const _0x198e8b=void 0x0!==_0x139b1b[_0x18db('0x10')]?_0x139b1b['forceValue']:!_0x59909d['value'];_0x1432e8[_0x18db('0x3')](()=>{const _0x37ad50=Array[_0x18db('0x13')](_0x5c22a3[_0x18db('0xa')]());for(const _0x1a85c9 of _0x37ad50){const _0x440cd5=_0x198e8b?[_0x1a85c9]:_0x532cff(_0x3b6d8a,_0x1a85c9,_0x1432e8);for(const _0x225c40 of _0x440cd5)_0x4ade09[_0x18db('0x0')](_0x225c40,{'commandName':_0x3b6d8a,'commandParams':[{'forceValue':_0x198e8b}]});}});}),_0x4ade09[_0x18db('0xe')][_0x18db('0x2')](_0x2f6b6f=>{const {data:_0x25af5e}=_0x2f6b6f;if(_0x25af5e&&_0x25af5e[_0x18db('0xb')]==_0x3b6d8a)return _0x25af5e[_0x18db('0x14')][0x0][_0x18db('0x10')]?{'type':_0x18db('0xf'),'content':_0x5c178a(_0x197017,'FORMAT_RESTRICTED_ENABLED')}:{'type':'format','content':_0x5c178a(_0x197017,_0x18db('0x6'))};});}}
23
+ const _0x1431=['_descriptionFactory','restrictedEditingException','has','forceValue','plugins','value','FORMAT_RESTRICTED_DISABLED','TrackChangesEditing','commandName','selection','StandardEditingModeEditing','markInlineFormat','getRanges','from','get','enableCommand','format','registerDescriptionCallback','isCollapsed','commands','change'];(function(_0x454f84,_0x14316a){const _0x328c86=function(_0x37d84e){while(--_0x37d84e){_0x454f84['push'](_0x454f84['shift']());}};_0x328c86(++_0x14316a);}(_0x1431,0x187));const _0x328c=function(_0x454f84,_0x14316a){_0x454f84=_0x454f84-0x0;let _0x328c86=_0x1431[_0x454f84];return _0x328c86;};import{Plugin as _0x48ae97}from'ckeditor5/src/core';import{getRangesWithAttribute as _0x535dde}from'./utils';import{getTranslation as _0xaf6829}from'../utils/common-translations';export default class ht extends _0x48ae97{['afterInit'](){const _0x222aca=this['editor'],_0x26e7cb=_0x222aca['model'],_0x139a6f=_0x222aca['locale'];if(!_0x222aca[_0x328c('0xc')][_0x328c('0xa')](_0x328c('0x12')))return;const _0xf09c31=_0x222aca['plugins']['get'](_0x328c('0xf')),_0x52f4cc=_0x328c('0x9'),_0x4a774f=_0x222aca[_0x328c('0x6')][_0x328c('0x1')](_0x52f4cc);_0xf09c31[_0x328c('0x2')](_0x52f4cc,(_0x40c715,_0x14afd2={})=>{const _0x3f6ae9=_0x26e7cb['document'][_0x328c('0x11')];if(_0x3f6ae9[_0x328c('0x5')])return void _0x40c715(_0x14afd2);const _0x42ea8a=void 0x0!==_0x14afd2[_0x328c('0xb')]?_0x14afd2[_0x328c('0xb')]:!_0x4a774f[_0x328c('0xd')];_0x26e7cb[_0x328c('0x7')](()=>{const _0x116f60=Array[_0x328c('0x0')](_0x3f6ae9[_0x328c('0x14')]());for(const _0x4d4784 of _0x116f60){const _0x78693d=_0x42ea8a?[_0x4d4784]:_0x535dde(_0x52f4cc,_0x4d4784,_0x26e7cb);for(const _0x106b0c of _0x78693d)_0xf09c31[_0x328c('0x13')](_0x106b0c,{'commandName':_0x52f4cc,'commandParams':[{'forceValue':_0x42ea8a}]});}});}),_0xf09c31[_0x328c('0x8')][_0x328c('0x4')](_0x529af4=>{const {data:_0xb29716}=_0x529af4;if(_0xb29716&&_0xb29716[_0x328c('0x10')]==_0x52f4cc)return _0xb29716['commandParams'][0x0][_0x328c('0xb')]?{'type':_0x328c('0x3'),'content':_0xaf6829(_0x139a6f,'FORMAT_RESTRICTED_ENABLED')}:{'type':_0x328c('0x3'),'content':_0xaf6829(_0x139a6f,_0x328c('0xe'))};});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x585e=['style:','enabledStyles','isBlock','commandParams','getRangesWithClasses','classes','isCollapsed','every','forceValue','DataSchema','getRanges','getItems','includes','TrackChangesEditing','has','getAncestors','getStyleDefinition','style.definitions','find','enableCommand','format','getAttribute','change','name','afterInit','editor','plugins','Style','from','push','markInlineFormat','inline','commands','*Remove\x20format:*\x20%0','toLowerCase','model','document','get','style','registerDescriptionCallback','markBlockFormat','createRangeOn','_descriptionFactory','styleName','modelElements','value'];(function(_0x3550bc,_0x585ea2){const _0x2ed275=function(_0x5213f2){while(--_0x5213f2){_0x3550bc['push'](_0x3550bc['shift']());}};_0x2ed275(++_0x585ea2);}(_0x585e,0x144));const _0x2ed2=function(_0x3550bc,_0x585ea2){_0x3550bc=_0x3550bc-0x0;let _0x2ed275=_0x585e[_0x3550bc];return _0x2ed275;};import{Plugin as _0x108e5e}from'ckeditor5/src/core';import{normalizeConfig as _0x2a184e}from'@ckeditor/ckeditor5-style/src/utils';import{getTranslation as _0x5e1d85}from'../utils/common-translations';export default class ut extends _0x108e5e{[_0x2ed2('0x16')](){const _0x26b56b=this[_0x2ed2('0x17')];if(!_0x26b56b[_0x2ed2('0x18')][_0x2ed2('0xc')](_0x2ed2('0x19')))return;const _0x363cd7=_0x26b56b[_0x2ed2('0x1e')][_0x2ed2('0x23')]('style'),_0x57f7a9=_0x26b56b['plugins']['get'](_0x2ed2('0xb')),_0x3657cf=_0x26b56b['locale'],_0xc75948=_0x26b56b[_0x2ed2('0x18')][_0x2ed2('0x23')](_0x2ed2('0x7')),_0x5d54d4=_0x2a184e(_0xc75948,_0x26b56b['config']['get'](_0x2ed2('0xf')));_0x57f7a9[_0x2ed2('0x11')]('style',(_0x4857f1,{styleName:_0x23a244})=>{const _0xd13287=_0x26b56b[_0x2ed2('0x21')][_0x2ed2('0x22')]['selection'],_0x10d179=this[_0x2ed2('0xe')](_0x23a244,_0x5d54d4);if(!_0x10d179)return;if(!_0x363cd7[_0x2ed2('0x2d')][_0x2ed2('0xa')](_0x23a244))return;if(_0xd13287[_0x2ed2('0x4')]&&!_0x10d179[_0x2ed2('0x0')])return void _0x4857f1({'styleName':_0x23a244});const _0x110ab7=!_0x363cd7[_0x2ed2('0x2b')][_0x2ed2('0xa')](_0x10d179[_0x2ed2('0x15')]);if(_0x10d179['isBlock']){const _0xf919c2=function(_0x1e1641,_0x3db57b){const _0x37ee23=new Set();for(const _0x4cf328 of _0x1e1641){const _0x2c2b3e=_0x4cf328[_0x2ed2('0xd')]({'includeSelf':!0x0,'parentFirst':!0x0});for(const _0x500b0f of _0x2c2b3e)if(_0x3db57b[_0x2ed2('0xa')](_0x500b0f['name'])){_0x37ee23['add'](_0x500b0f);break;}}return _0x37ee23;}(_0xd13287['getSelectedBlocks'](),_0x10d179[_0x2ed2('0x2a')]);_0x26b56b['model'][_0x2ed2('0x14')](()=>{for(const _0x2967ca of _0xf919c2)_0x57f7a9[_0x2ed2('0x26')](_0x2967ca,{'commandName':_0x2ed2('0x24'),'commandParams':[{'styleName':_0x23a244,'forceValue':_0x110ab7}],'formatGroupId':_0x2ed2('0x2c')+_0x23a244});});}else{let _0x439ad2=Array[_0x2ed2('0x1a')](_0xd13287[_0x2ed2('0x8')]());if(!_0x110ab7){const _0x3b2f64=Array['from'](_0xc75948['getDefinitionsForView'](_0x10d179['element'],!0x1))[0x0]['model'],_0x4dbeaf=[];for(const _0x500b3d of _0x439ad2){const _0xa41197=this[_0x2ed2('0x2')](_0x26b56b[_0x2ed2('0x21')],_0x500b3d,_0x10d179[_0x2ed2('0x3')],_0x3b2f64);_0x4dbeaf[_0x2ed2('0x1b')](..._0xa41197);}_0x439ad2=_0x4dbeaf;}_0x26b56b[_0x2ed2('0x21')][_0x2ed2('0x14')](()=>{for(const _0x5be815 of _0x439ad2)_0x57f7a9[_0x2ed2('0x1c')](_0x5be815,{'commandName':_0x2ed2('0x24'),'commandParams':[{'styleName':_0x23a244,'forceValue':_0x110ab7}]});});}}),_0x57f7a9[_0x2ed2('0x28')][_0x2ed2('0x25')](_0x5b760d=>{const {data:_0x1bd43e}=_0x5b760d;if(_0x1bd43e&&'style'===_0x1bd43e['commandName'])return _0x1bd43e['commandParams'][0x0][_0x2ed2('0x6')]?{'type':_0x2ed2('0x12'),'content':_0x5e1d85(_0x3657cf,'*Format:*\x20%0',_0x1bd43e[_0x2ed2('0x1')][0x0]['styleName'][_0x2ed2('0x20')]())}:{'type':_0x2ed2('0x12'),'content':_0x5e1d85(_0x3657cf,_0x2ed2('0x1f'),_0x1bd43e[_0x2ed2('0x1')][0x0][_0x2ed2('0x29')][_0x2ed2('0x20')]())};});}[_0x2ed2('0xe')](_0x1e28d6,_0x56d750){let _0x569c2f=_0x56d750['block']['find'](_0xdb4f6e=>_0xdb4f6e[_0x2ed2('0x15')]===_0x1e28d6);return _0x569c2f||(_0x569c2f=_0x56d750[_0x2ed2('0x1d')][_0x2ed2('0x10')](_0x3e83c3=>_0x3e83c3[_0x2ed2('0x15')]===_0x1e28d6)),_0x569c2f;}['getRangesWithClasses'](_0x27612c,_0x33533e,_0x19e20d,_0x38b12c){const _0x2b63bb=[];for(const _0x8d8f0b of _0x33533e[_0x2ed2('0x9')]()){const _0x41c120=_0x8d8f0b[_0x2ed2('0x13')](_0x38b12c);_0x41c120&&(_0x19e20d[_0x2ed2('0x5')](_0x43b83d=>_0x41c120[_0x2ed2('0x3')][_0x2ed2('0xa')](_0x43b83d))&&_0x2b63bb[_0x2ed2('0x1b')](_0x27612c[_0x2ed2('0x27')](_0x8d8f0b)));}return _0x2b63bb;}}
23
+ const _0x2cb6=['plugins','name','enableCommand','editor','change','element','createRangeOn','markBlockFormat','model','toLowerCase','config','includes','has','value','selection','styleName','inline','enabledStyles','block','add','*Format:*\x20%0','forceValue','locale','getStyleDefinition','style.definitions','modelElements','afterInit','every','*Remove\x20format:*\x20%0','style','getItems','push','commandName','_descriptionFactory','from','isBlock','find','getRangesWithClasses','get','Style','classes','registerDescriptionCallback','getDefinitionsForView','getRanges','format','commandParams','style:'];(function(_0x4859dd,_0x2cb6b8){const _0x35dfee=function(_0x5462d8){while(--_0x5462d8){_0x4859dd['push'](_0x4859dd['shift']());}};_0x35dfee(++_0x2cb6b8);}(_0x2cb6,0x194));const _0x35df=function(_0x4859dd,_0x2cb6b8){_0x4859dd=_0x4859dd-0x0;let _0x35dfee=_0x2cb6[_0x4859dd];return _0x35dfee;};import{Plugin as _0x4b3bbc}from'ckeditor5/src/core';import{normalizeConfig as _0x45f3dc}from'@ckeditor/ckeditor5-style/src/utils';import{getTranslation as _0x137c9c}from'../utils/common-translations';export default class ut extends _0x4b3bbc{[_0x35df('0x2d')](){const _0x272fd1=this[_0x35df('0x16')];if(!_0x272fd1[_0x35df('0x13')][_0x35df('0x1f')](_0x35df('0xb')))return;const _0x2f25f3=_0x272fd1['commands'][_0x35df('0xa')](_0x35df('0x1')),_0xa8d41e=_0x272fd1['plugins']['get']('TrackChangesEditing'),_0x414bb3=_0x272fd1[_0x35df('0x29')],_0x4200ad=_0x272fd1[_0x35df('0x13')][_0x35df('0xa')]('DataSchema'),_0x4726d1=_0x45f3dc(_0x4200ad,_0x272fd1[_0x35df('0x1d')][_0x35df('0xa')](_0x35df('0x2b')));_0xa8d41e[_0x35df('0x15')](_0x35df('0x1'),(_0x550eec,{styleName:_0x344ead})=>{const _0xe0be16=_0x272fd1['model']['document'][_0x35df('0x21')],_0x16235d=this['getStyleDefinition'](_0x344ead,_0x4726d1);if(!_0x16235d)return;if(!_0x2f25f3[_0x35df('0x24')]['includes'](_0x344ead))return;if(_0xe0be16['isCollapsed']&&!_0x16235d['isBlock'])return void _0x550eec({'styleName':_0x344ead});const _0x5aff31=!_0x2f25f3[_0x35df('0x20')][_0x35df('0x1e')](_0x16235d[_0x35df('0x14')]);if(_0x16235d[_0x35df('0x7')]){const _0x3face3=function(_0xde6c6e,_0x38f660){const _0x4f59bc=new Set();for(const _0x571566 of _0xde6c6e){const _0x487654=_0x571566['getAncestors']({'includeSelf':!0x0,'parentFirst':!0x0});for(const _0x465bf8 of _0x487654)if(_0x38f660[_0x35df('0x1e')](_0x465bf8['name'])){_0x4f59bc[_0x35df('0x26')](_0x465bf8);break;}}return _0x4f59bc;}(_0xe0be16['getSelectedBlocks'](),_0x16235d[_0x35df('0x2c')]);_0x272fd1[_0x35df('0x1b')][_0x35df('0x17')](()=>{for(const _0x445634 of _0x3face3)_0xa8d41e[_0x35df('0x1a')](_0x445634,{'commandName':_0x35df('0x1'),'commandParams':[{'styleName':_0x344ead,'forceValue':_0x5aff31}],'formatGroupId':_0x35df('0x12')+_0x344ead});});}else{let _0x112b50=Array[_0x35df('0x6')](_0xe0be16[_0x35df('0xf')]());if(!_0x5aff31){const _0x1b3a4d=Array[_0x35df('0x6')](_0x4200ad[_0x35df('0xe')](_0x16235d[_0x35df('0x18')],!0x1))[0x0][_0x35df('0x1b')],_0x3ba494=[];for(const _0x926792 of _0x112b50){const _0x2729ea=this[_0x35df('0x9')](_0x272fd1[_0x35df('0x1b')],_0x926792,_0x16235d[_0x35df('0xc')],_0x1b3a4d);_0x3ba494[_0x35df('0x3')](..._0x2729ea);}_0x112b50=_0x3ba494;}_0x272fd1['model'][_0x35df('0x17')](()=>{for(const _0x360532 of _0x112b50)_0xa8d41e['markInlineFormat'](_0x360532,{'commandName':_0x35df('0x1'),'commandParams':[{'styleName':_0x344ead,'forceValue':_0x5aff31}]});});}}),_0xa8d41e[_0x35df('0x5')][_0x35df('0xd')](_0x5bd6b8=>{const {data:_0x505b87}=_0x5bd6b8;if(_0x505b87&&_0x35df('0x1')===_0x505b87[_0x35df('0x4')])return _0x505b87[_0x35df('0x11')][0x0][_0x35df('0x28')]?{'type':_0x35df('0x10'),'content':_0x137c9c(_0x414bb3,_0x35df('0x27'),_0x505b87[_0x35df('0x11')][0x0][_0x35df('0x22')][_0x35df('0x1c')]())}:{'type':_0x35df('0x10'),'content':_0x137c9c(_0x414bb3,_0x35df('0x0'),_0x505b87[_0x35df('0x11')][0x0][_0x35df('0x22')][_0x35df('0x1c')]())};});}[_0x35df('0x2a')](_0x191bbd,_0xa872eb){let _0x332aab=_0xa872eb[_0x35df('0x25')]['find'](_0x144122=>_0x144122[_0x35df('0x14')]===_0x191bbd);return _0x332aab||(_0x332aab=_0xa872eb[_0x35df('0x23')][_0x35df('0x8')](_0x175c1e=>_0x175c1e['name']===_0x191bbd)),_0x332aab;}['getRangesWithClasses'](_0x4928d4,_0x36934a,_0x58917b,_0x3843ad){const _0x2b0d4e=[];for(const _0x724ac7 of _0x36934a[_0x35df('0x2')]()){const _0x747ef8=_0x724ac7['getAttribute'](_0x3843ad);_0x747ef8&&(_0x58917b[_0x35df('0x2e')](_0x566d8a=>_0x747ef8['classes']['includes'](_0x566d8a))&&_0x2b0d4e[_0x35df('0x3')](_0x4928d4[_0x35df('0x19')](_0x724ac7)));}return _0x2b0d4e;}}