@ckeditor/ckeditor5-track-changes 35.3.0 → 35.3.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 (55) hide show
  1. package/build/track-changes.js +1 -1
  2. package/package.json +4 -4
  3. package/src/commands/acceptsuggestioncommand.js +1 -1
  4. package/src/commands/discardsuggestioncommand.js +1 -1
  5. package/src/commands/executeonallsuggestionscommand.js +1 -1
  6. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  7. package/src/commands/trackchangescommand.js +1 -1
  8. package/src/integrations/alignment.js +1 -1
  9. package/src/integrations/basicstyles.js +1 -1
  10. package/src/integrations/blockquote.js +1 -1
  11. package/src/integrations/ckbox.js +1 -1
  12. package/src/integrations/codeblock.js +1 -1
  13. package/src/integrations/comments.js +1 -1
  14. package/src/integrations/deletecommand.js +1 -1
  15. package/src/integrations/documentlist.js +1 -1
  16. package/src/integrations/entercommand.js +1 -1
  17. package/src/integrations/font.js +1 -1
  18. package/src/integrations/heading.js +1 -1
  19. package/src/integrations/highlight.js +1 -1
  20. package/src/integrations/horizontalline.js +1 -1
  21. package/src/integrations/htmlembed.js +1 -1
  22. package/src/integrations/image.js +1 -1
  23. package/src/integrations/importword.js +1 -1
  24. package/src/integrations/indent.js +1 -1
  25. package/src/integrations/inputcommand.js +1 -1
  26. package/src/integrations/link.js +1 -1
  27. package/src/integrations/list.js +1 -1
  28. package/src/integrations/mediaembed.js +1 -1
  29. package/src/integrations/mention.js +1 -1
  30. package/src/integrations/pagebreak.js +1 -1
  31. package/src/integrations/paragraph.js +1 -1
  32. package/src/integrations/removeformat.js +1 -1
  33. package/src/integrations/restrictededitingmode.js +1 -1
  34. package/src/integrations/shiftentercommand.js +1 -1
  35. package/src/integrations/standardeditingmode.js +1 -1
  36. package/src/integrations/style.js +1 -1
  37. package/src/integrations/table.js +1 -1
  38. package/src/integrations/tablecaption.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/utils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5a15=['getAttribute','afterInit','locale','getCustomProperty','rawHtmlApi','TrackChangesEditing','value','editing','enableCommand','htmlEmbed','selection','get','*Change\x20%0\x20content*','_descriptionFactory','rawHtml','editor','document','markBlockFormat','getSelectedElement','HtmlEmbed','view','model','ELEMENT_HTML_EMBED','plugins'];(function(_0x3c6ab8,_0x5a157e){const _0xa0e69e=function(_0x1fc7fa){while(--_0x1fc7fa){_0x3c6ab8['push'](_0x3c6ab8['shift']());}};_0xa0e69e(++_0x5a157e);}(_0x5a15,0x162));const _0xa0e6=function(_0x3c6ab8,_0x5a157e){_0x3c6ab8=_0x3c6ab8-0x0;let _0xa0e69e=_0x5a15[_0x3c6ab8];return _0xa0e69e;};import{Plugin as _0x53e4ef}from'ckeditor5/src/core';import{getTranslation as _0xa2bf83}from'../utils/common-translations';export default class Q extends _0x53e4ef{[_0xa0e6('0x7')](){const _0x162ce8=this[_0xa0e6('0x15')];if(!_0x162ce8[_0xa0e6('0x5')]['has'](_0xa0e6('0x1')))return;const _0x368183=_0x162ce8[_0xa0e6('0x5')]['get'](_0xa0e6('0xb')),_0x23f7af=_0x162ce8[_0xa0e6('0x8')],_0x40292c=_0x162ce8[_0xa0e6('0xd')][_0xa0e6('0x2')]['document']['selection'];_0x368183['_descriptionFactory']['registerElementLabel'](_0xa0e6('0x14'),_0x1770fa=>_0xa2bf83(_0x23f7af,_0xa0e6('0x4'),_0x1770fa)),_0x162ce8[_0xa0e6('0x5')][_0xa0e6('0x11')](_0xa0e6('0xb'))[_0xa0e6('0xe')](_0xa0e6('0xf'),(_0x42ed23,_0x59f565)=>{const _0x1fed7d=_0x162ce8[_0xa0e6('0x3')],_0x38b7e7=_0x1fed7d[_0xa0e6('0x16')][_0xa0e6('0x10')];_0x1fed7d['change'](()=>{const _0x352354=function(_0x1f6159){const _0x31f658=_0x1f6159[_0xa0e6('0x0')]();if(_0x31f658&&_0x31f658['is']('element','rawHtml'))return _0x1f6159[_0xa0e6('0x0')]();return null;}(_0x38b7e7);if(!_0x352354)return void _0x42ed23(null);const _0x7ef17e=_0x352354[_0xa0e6('0x6')](_0xa0e6('0xc'))||'';if(void 0x0===_0x59f565)return;if(_0x59f565===_0x7ef17e)return;_0x368183[_0xa0e6('0x17')](_0x352354,{'commandName':_0xa0e6('0xf'),'commandParams':[_0x59f565]}),_0x40292c[_0xa0e6('0x0')]()[_0xa0e6('0x9')](_0xa0e6('0xa'))['cancel']();});}),_0x368183[_0xa0e6('0x13')]['registerDescriptionCallback'](_0x55f8fb=>{const {data:_0x5bb49e}=_0x55f8fb;if(_0x5bb49e&&_0xa0e6('0xf')==_0x5bb49e['commandName']){const _0x460e64=_0xa2bf83(_0x23f7af,_0xa0e6('0x4'));return{'type':'format','content':_0xa2bf83(_0x23f7af,_0xa0e6('0x12'),_0x460e64)};}});}}
23
+ const _0x78d8=['editing','selection','commandName','locale','getAttribute','TrackChangesEditing','htmlEmbed','registerElementLabel','editor','rawHtml','value','registerDescriptionCallback','model','get','has','*Change\x20%0\x20content*','getCustomProperty','ELEMENT_HTML_EMBED','_descriptionFactory','document','view','HtmlEmbed','rawHtmlApi','format','getSelectedElement','plugins','markBlockFormat','element','change','enableCommand'];(function(_0x49be84,_0x78d820){const _0x4ac8e9=function(_0x5463bb){while(--_0x5463bb){_0x49be84['push'](_0x49be84['shift']());}};_0x4ac8e9(++_0x78d820);}(_0x78d8,0x19a));const _0x4ac8=function(_0x49be84,_0x78d820){_0x49be84=_0x49be84-0x0;let _0x4ac8e9=_0x78d8[_0x49be84];return _0x4ac8e9;};import{Plugin as _0x281663}from'ckeditor5/src/core';import{getTranslation as _0x3ba8c1}from'../utils/common-translations';export default class Q extends _0x281663{['afterInit'](){const _0x57b3a4=this[_0x4ac8('0x12')];if(!_0x57b3a4[_0x4ac8('0x5')][_0x4ac8('0x18')](_0x4ac8('0x1')))return;const _0x27d7d8=_0x57b3a4[_0x4ac8('0x5')][_0x4ac8('0x17')](_0x4ac8('0xf')),_0xeb1f09=_0x57b3a4[_0x4ac8('0xd')],_0x3c226b=_0x57b3a4[_0x4ac8('0xa')][_0x4ac8('0x0')][_0x4ac8('0x1d')]['selection'];_0x27d7d8[_0x4ac8('0x1c')][_0x4ac8('0x11')]('rawHtml',_0x5bdb64=>_0x3ba8c1(_0xeb1f09,_0x4ac8('0x1b'),_0x5bdb64)),_0x57b3a4[_0x4ac8('0x5')]['get'](_0x4ac8('0xf'))[_0x4ac8('0x9')](_0x4ac8('0x10'),(_0x5bc174,_0x575c9e)=>{const _0x240015=_0x57b3a4[_0x4ac8('0x16')],_0x17197f=_0x240015[_0x4ac8('0x1d')][_0x4ac8('0xb')];_0x240015[_0x4ac8('0x8')](()=>{const _0x5ec980=function(_0x3635f9){const _0x4472cb=_0x3635f9[_0x4ac8('0x4')]();if(_0x4472cb&&_0x4472cb['is'](_0x4ac8('0x7'),_0x4ac8('0x13')))return _0x3635f9[_0x4ac8('0x4')]();return null;}(_0x17197f);if(!_0x5ec980)return void _0x5bc174(null);const _0xd68a58=_0x5ec980[_0x4ac8('0xe')](_0x4ac8('0x14'))||'';if(void 0x0===_0x575c9e)return;if(_0x575c9e===_0xd68a58)return;_0x27d7d8[_0x4ac8('0x6')](_0x5ec980,{'commandName':_0x4ac8('0x10'),'commandParams':[_0x575c9e]}),_0x3c226b[_0x4ac8('0x4')]()[_0x4ac8('0x1a')](_0x4ac8('0x2'))['cancel']();});}),_0x27d7d8[_0x4ac8('0x1c')][_0x4ac8('0x15')](_0x241756=>{const {data:_0x1e56f7}=_0x241756;if(_0x1e56f7&&'htmlEmbed'==_0x1e56f7[_0x4ac8('0xc')]){const _0x46b2df=_0x3ba8c1(_0xeb1f09,_0x4ac8('0x1b'));return{'type':_0x4ac8('0x3'),'content':_0x3ba8c1(_0xeb1f09,_0x4ac8('0x19'),_0x46b2df)};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x439a=['format','registerElementLabel','_descriptionFactory','ImageEditing','getNearestSelectionRange','getSuggestion','commandParams','shouldConvertImageType','accept','ImageCaptionUtils','isOwn','type','value','length','ImageBlockEditing','registerCustomCallback','ImageUploadEditing','_findSuggestions','isInlineImage','getSuggestionCallback','ImageCaptionEditing','ImageUtils','head','*Set\x20image\x20text\x20alternative:*\x20%0','markDeletion','suggestion','newRange','insertion','width','*Remove\x20image\x20text\x20alternative*','normalizedStyles','imageCaption','from','deletion','*Format:*\x20%0','imageStylePreApply','plugins','Users','alt','isCollapsed','isBlockImage','imageStyle','formatBlock','schema','has','next','imageTextAlternative','formatInline','markBlockFormat','enableCommand','FORMAT_SIDE_IMAGE','fromPosition','forceDefaultExecution','isInContent','caption','previous','commands','markInsertion','ImageResize','title','ELEMENT_IMAGE','model','discard','getAttribute','convertBlockImageToInline','toggleImageCaption','registerDescriptionCallback','discardSuggestion','getCaptionFromImageModelElement','isBefore','newValue','imageStylePostApply','imageBlock','start','change','TrackChangesEditing','getClosestSelectedImageElement','isIntersecting','addObject','removeObject','convertInlineImageToBlock','imageInline','getFirstRange','_suggestionFactory','toNext','end','filter','getSuggestions','toPrevious','forward','createRangeOn','getChangedMarkers','join','differ','subType','editor','selection','nodeAfter','find','author','ImageTextAlternativeEditing','commandReversedParams','imageTypeInline','insertImage','document','*Set\x20image\x20width:*\x20%0','hasAttribute','element','resizeImage','get','commandName','ImageStyleEditing','isEqual','imageTypeBlock','createRange','chain','hasSuggestion','ELEMENT_INLINE_IMAGE','ELEMENT_CAPTION','findIndex','refresh','detach'];(function(_0x2eee25,_0x439abc){const _0x25dfc4=function(_0x1c23f3){while(--_0x1c23f3){_0x2eee25['push'](_0x2eee25['shift']());}};_0x25dfc4(++_0x439abc);}(_0x439a,0x129));const _0x25df=function(_0x2eee25,_0x439abc){_0x2eee25=_0x2eee25-0x0;let _0x25dfc4=_0x439a[_0x2eee25];return _0x25dfc4;};import{Plugin as _0x55eabf}from'ckeditor5/src/core';import{LivePosition as _0x1efb0b}from'ckeditor5/src/engine';import{uid as _0x251978}from'ckeditor5/src/utils';import{getTranslation as _0x32720a}from'../utils/common-translations';export default class V extends _0x55eabf{['afterInit'](){const _0x536c4b=this[_0x25df('0x2a')];if(!_0x536c4b[_0x25df('0x69')][_0x25df('0x71')](_0x25df('0x48')))return;const _0x30f95c=_0x536c4b[_0x25df('0x69')][_0x25df('0x38')](_0x25df('0x16')),_0x5ca996=_0x536c4b[_0x25df('0x69')][_0x25df('0x38')](_0x25df('0x5a')),_0x5852b1={},_0x49e9d2=_0x536c4b['locale'];if(_0x30f95c[_0x25df('0x76')](_0x25df('0x32')),_0x30f95c[_0x25df('0x47')]['registerElementLabel'](_0x25df('0x13'),_0x2352b8=>_0x32720a(_0x49e9d2,_0x25df('0x7'),_0x2352b8)),_0x30f95c[_0x25df('0x47')][_0x25df('0x46')](_0x25df('0x1c'),_0x39f257=>_0x32720a(_0x49e9d2,_0x25df('0x40'),_0x39f257)),_0x30f95c[_0x25df('0x47')][_0x25df('0x46')](_0x25df('0x1'),()=>_0x32720a(_0x49e9d2,_0x25df('0x41'))),_0x536c4b[_0x25df('0x69')][_0x25df('0x71')](_0x25df('0x55'))&&_0x30f95c[_0x25df('0x76')]('uploadImage'),_0x536c4b[_0x25df('0x69')]['has'](_0x25df('0x53'))&&_0x536c4b['plugins']['has']('ImageInlineEditing')&&(_0x30f95c[_0x25df('0x76')](_0x25df('0x31'),(_0x3ddde1,_0xfdb0cf)=>{const _0x357778=_0x5ca996[_0x25df('0x17')](_0x536c4b[_0x25df('0x8')]['document'][_0x25df('0x2b')]);_0x536c4b[_0x25df('0x8')][_0x25df('0x15')](()=>{_0x30f95c[_0x25df('0x75')](_0x357778,{'commandName':'imageTypeInline','commandParams':[_0xfdb0cf]},[],_0x25df('0xb'));});}),_0x30f95c['enableCommand'](_0x25df('0x3c'),(_0x52615d,_0x186034)=>{_0x536c4b['model']['change'](_0x4352c9=>{let _0x39e632=_0x5ca996[_0x25df('0x17')](_0x536c4b[_0x25df('0x8')][_0x25df('0x33')][_0x25df('0x2b')]),_0x17ad68=_0x4352c9[_0x25df('0x25')](_0x39e632);const _0x3e0755=_0x1efb0b[_0x25df('0x78')](_0x17ad68[_0x25df('0x14')],_0x25df('0x23')),_0x151287=_0x1efb0b['fromPosition'](_0x17ad68[_0x25df('0x20')],_0x25df('0x1f'));_0x30f95c[_0x25df('0x79')](()=>_0x52615d(_0x186034)),_0x39e632=_0x5ca996['getClosestSelectedImageElement'](_0x536c4b[_0x25df('0x8')][_0x25df('0x33')]['selection']),_0x17ad68=_0x4352c9['createRangeOn'](_0x39e632);const _0x18954e=_0x4352c9['createRange'](_0x3e0755,_0x151287);_0x3e0755[_0x25df('0x44')](),_0x151287[_0x25df('0x44')](),_0x30f95c[_0x25df('0x75')](_0x39e632,{'commandName':_0x25df('0x31')},[],'convertInlineImageToBlock'),_0x18954e['start'][_0x25df('0x10')](_0x17ad68[_0x25df('0x14')])&&_0x30f95c[_0x25df('0x4')](_0x4352c9['createRange'](_0x18954e['start'],_0x17ad68[_0x25df('0x14')]),'convertInlineImageToBlock'),_0x17ad68[_0x25df('0x20')]['isBefore'](_0x18954e[_0x25df('0x20')])&&_0x30f95c[_0x25df('0x4')](_0x4352c9[_0x25df('0x3d')](_0x17ad68[_0x25df('0x20')],_0x18954e[_0x25df('0x20')]),_0x25df('0x1b'));});}),_0x30f95c[_0x25df('0x1e')][_0x25df('0x54')](_0x25df('0x6f'),_0x25df('0x1b'),_0x25df('0x27'),()=>{}),_0x30f95c[_0x25df('0x1e')]['registerCustomCallback']('formatBlock',_0x25df('0x1b'),_0x25df('0x4d'),()=>{}),_0x30f95c['_suggestionFactory'][_0x25df('0x54')](_0x25df('0x6f'),_0x25df('0x1b'),'discard',_0x30f95c['_suggestionFactory']['getSuggestionCallback']('formatBlock','',_0x25df('0x4d'))),_0x30f95c[_0x25df('0x1e')][_0x25df('0x54')](_0x25df('0x60'),_0x25df('0x1b'),_0x25df('0x27'),()=>{}),_0x30f95c['_suggestionFactory'][_0x25df('0x54')](_0x25df('0x60'),_0x25df('0x1b'),_0x25df('0x9'),([_0x1495dd])=>{const _0x2b60df=_0x30f95c[_0x25df('0x1e')][_0x25df('0x58')](_0x25df('0x60'),'',_0x25df('0x9'));let _0x41fbe6=_0x1495dd[_0x25df('0x14')],_0x55648e=_0x1495dd[_0x25df('0x20')];const _0x28294d=_0x536c4b[_0x25df('0x8')][_0x25df('0x70')][_0x25df('0x49')](_0x41fbe6,'backward'),_0xb5f396=_0x536c4b[_0x25df('0x8')][_0x25df('0x70')][_0x25df('0x49')](_0x55648e,_0x25df('0x24'));_0x28294d[_0x25df('0x6c')]&&(_0x41fbe6=_0x28294d[_0x25df('0x14')]),_0xb5f396[_0x25df('0x6c')]&&(_0x55648e=_0xb5f396[_0x25df('0x20')]),_0x2b60df([_0x536c4b[_0x25df('0x8')]['createRange'](_0x41fbe6,_0x55648e)]);}),_0x30f95c[_0x25df('0x1e')][_0x25df('0x54')]('formatBlock',_0x25df('0x1b'),_0x25df('0x3e'),_0x4da4b6),_0x30f95c[_0x25df('0x1e')][_0x25df('0x54')]('insertion','convertInlineImageToBlock',_0x25df('0x3e'),_0x4da4b6)),_0x536c4b[_0x25df('0x69')][_0x25df('0x71')](_0x25df('0x59'))&&(_0x30f95c[_0x25df('0x76')](_0x25df('0xc'),(_0x10dcc5,_0xdc5a6e)=>{const _0x5111eb=_0x536c4b[_0x25df('0x69')][_0x25df('0x38')](_0x25df('0x4e'));let _0x144d94=_0x5ca996[_0x25df('0x17')](_0x536c4b[_0x25df('0x8')]['document'][_0x25df('0x2b')]),_0x53714b=_0x5111eb[_0x25df('0xf')](_0x144d94);_0x536c4b[_0x25df('0x8')]['change'](()=>{if(_0x53714b)return void _0x30f95c[_0x25df('0x5d')](_0x536c4b['model'][_0x25df('0x25')](_0x53714b));const _0x5306fc=_0x5ca996[_0x25df('0x6d')](_0x144d94);_0x10dcc5(_0xdc5a6e),_0x144d94=_0x5ca996[_0x25df('0x17')](_0x536c4b[_0x25df('0x8')]['document'][_0x25df('0x2b')]),_0x53714b=_0x5111eb['getCaptionFromImageModelElement'](_0x144d94),_0x30f95c[_0x25df('0x4')](_0x536c4b[_0x25df('0x8')]['createRangeOn'](_0x53714b),_0x5306fc?null:_0x25df('0x64'));});}),_0x30f95c['_suggestionFactory'][_0x25df('0x54')](_0x25df('0x60'),_0x25df('0x64'),'chain',_0x4da4b6)),_0x536c4b[_0x25df('0x69')]['has']('ImageStyleEditing')){_0x30f95c[_0x25df('0x76')](_0x25df('0x6e'),(_0x2fb7ef,_0x2b395d)=>{const _0x2317b4=_0x536c4b[_0x25df('0x69')][_0x25df('0x38')](_0x25df('0x6a'))['me'],_0x205ea9=_0x536c4b[_0x25df('0x3')][_0x25df('0x38')](_0x25df('0x6e'));let _0x3bcf04=_0x5ca996['getClosestSelectedImageElement'](_0x536c4b[_0x25df('0x8')][_0x25df('0x33')]['selection']),_0x21cadd=_0x536c4b['model'][_0x25df('0x25')](_0x3bcf04),_0x29b7cb=_0x205ea9[_0x25df('0x51')];if(_0x29b7cb==_0x2b395d[_0x25df('0x51')])return;const _0x55c18c={'commandName':'imageStyle','commandParams':[_0x2b395d],'formatGroupId':_0x251978()};_0x536c4b[_0x25df('0x8')][_0x25df('0x15')](()=>{if(_0x30f95c[_0x25df('0x22')]()[_0x25df('0x21')](_0x2be69d=>_0x2be69d[_0x25df('0x0')]&&_0x2317b4==_0x2be69d[_0x25df('0x2e')]&&('formatBlock'==_0x2be69d[_0x25df('0x50')]||_0x25df('0x74')==_0x2be69d['type'])&&(_0x25df('0x68')==_0x2be69d[_0x25df('0x29')]||_0x25df('0x12')==_0x2be69d[_0x25df('0x29')])&&_0x2be69d['getFirstRange']()[_0x25df('0x3b')](_0x21cadd))['forEach'](_0xb823d4=>_0x30f95c[_0x25df('0xe')](_0xb823d4[_0x25df('0x5b')])),_0x3bcf04=_0x5ca996[_0x25df('0x17')](_0x536c4b['model'][_0x25df('0x33')]['selection']),_0x21cadd=_0x536c4b[_0x25df('0x8')][_0x25df('0x25')](_0x3bcf04),_0x205ea9[_0x25df('0x43')](),_0x536c4b['commands'][_0x25df('0x38')]('imageTypeInline')[_0x25df('0x43')](),_0x536c4b[_0x25df('0x3')][_0x25df('0x38')](_0x25df('0x3c'))[_0x25df('0x43')](),_0x29b7cb=_0x205ea9[_0x25df('0x51')],_0x29b7cb!=_0x2b395d[_0x25df('0x51')])return _0x5ca996[_0x25df('0x57')](_0x3bcf04)&&_0x205ea9[_0x25df('0x4c')](_0x2b395d[_0x25df('0x51')],_0x3bcf04)?(_0x2fb7ef(_0x2b395d),_0x3bcf04=_0x5ca996[_0x25df('0x17')](_0x536c4b['model']['document'][_0x25df('0x2b')]),void _0x30f95c[_0x25df('0x75')](_0x3bcf04,{..._0x55c18c,'commandReversedParams':[{'value':_0x29b7cb||null}]},[],_0x25df('0x68'))):void(_0x5ca996['isBlockImage'](_0x3bcf04)?_0x30f95c[_0x25df('0x75')](_0x3bcf04,_0x55c18c,[],_0x25df('0x12')):_0x30f95c['markInlineFormat'](_0x21cadd,_0x55c18c,_0x25df('0x12')));});});for(const _0x27d3f7 of _0x536c4b[_0x25df('0x69')][_0x25df('0x38')](_0x25df('0x3a'))[_0x25df('0x63')])_0x5852b1[_0x27d3f7['name']]=_0x27d3f7[_0x25df('0x6')]['toLowerCase']();_0x30f95c[_0x25df('0x1e')]['registerCustomCallback']('formatBlock','imageStylePreApply',_0x25df('0x27'),()=>{}),_0x30f95c[_0x25df('0x1e')]['registerCustomCallback'](_0x25df('0x6f'),'imageStylePostApply',_0x25df('0x27'),()=>{}),_0x30f95c[_0x25df('0x1e')][_0x25df('0x54')](_0x25df('0x74'),_0x25df('0x12'),_0x25df('0x27'),()=>{}),_0x30f95c[_0x25df('0x1e')][_0x25df('0x54')](_0x25df('0x6f'),_0x25df('0x68'),_0x25df('0x4d'),()=>{}),_0x30f95c[_0x25df('0x1e')]['registerCustomCallback'](_0x25df('0x6f'),_0x25df('0x68'),_0x25df('0x9'),(_0x319739,_0x570674)=>{_0x30f95c[_0x25df('0x1e')][_0x25df('0x58')]('formatBlock','',_0x25df('0x4d'))(_0x319739,{'commandName':_0x570674[_0x25df('0x39')],'commandParams':_0x570674[_0x25df('0x30')]});}),_0x30f95c[_0x25df('0x1e')]['registerCustomCallback']('formatBlock',_0x25df('0x68'),_0x25df('0x3e'),_0x4da4b6);}const _0x45cc89=[{'type':'formatBlock','subType':_0x25df('0x68')},{'type':_0x25df('0x60'),'subType':_0x25df('0x64')},{'type':_0x25df('0x6f'),'subType':_0x25df('0x1b')},{'type':'insertion','subType':_0x25df('0x1b')}];function _0x554115(_0x3b729e,_0x559682){const _0xd0e154=_0x45cc89[_0x25df('0x42')](({type:_0x3e054e,subType:_0x5a35ec})=>_0x3b729e[_0x25df('0x50')]==_0x3e054e&&_0x3b729e[_0x25df('0x29')]==_0x5a35ec),_0x159d5b=_0x45cc89[_0x25df('0x42')](({type:_0x3164c5,subType:_0x221016})=>_0x559682[_0x25df('0x50')]==_0x3164c5&&_0x559682[_0x25df('0x29')]==_0x221016);if(_0xd0e154<0x0||_0x159d5b<0x0)return!0x1;const _0x1fc839=_0x3b729e[_0x25df('0x1d')](),_0x31d71b=_0x559682[_0x25df('0x1d')]();if((0x0==_0xd0e154||0x1==_0xd0e154)&&0x2==_0x159d5b&&_0x1fc839[_0x25df('0x18')](_0x31d71b))return!0x0;if(0x2==_0xd0e154&&0x3==_0x159d5b){const _0x17aac3=_0x30f95c[_0x25df('0x56')](_0x1fc839,_0x25df('0x60'))[_0x25df('0x21')](({suggestion:_0x5a25ce,meta:_0x34c4f0})=>_0x34c4f0[_0x25df('0x4f')]&&'convertInlineImageToBlock'==_0x5a25ce['subType']);if(_0x17aac3[_0x25df('0x52')]>0x1&&_0x31d71b[_0x25df('0x20')][_0x25df('0x3b')](_0x1fc839[_0x25df('0x14')]))return!0x0;if(0x1==_0x17aac3['length']&&(_0x1fc839[_0x25df('0x14')]['isEqual'](_0x31d71b[_0x25df('0x20')])||_0x1fc839[_0x25df('0x20')][_0x25df('0x3b')](_0x31d71b[_0x25df('0x14')])))return!0x0;}if(0x3==_0xd0e154&&0x3==_0x159d5b&&_0x1fc839['start'][_0x25df('0x10')](_0x31d71b[_0x25df('0x14')])){const _0x1dfd50=_0x1fc839['end'][_0x25df('0x2c')],_0xaf6660=_0x31d71b[_0x25df('0x14')]['nodeBefore'];return _0x5ca996[_0x25df('0x6d')](_0x1dfd50)&&_0x1dfd50===_0xaf6660;}return!0x1;}function _0x4da4b6(_0x10ad34,_0x53af2e){return _0x554115(_0x10ad34,_0x53af2e)?[_0x10ad34,_0x53af2e]:_0x554115(_0x53af2e,_0x10ad34)?[_0x53af2e,_0x10ad34]:null;}_0x536c4b['model'][_0x25df('0x33')]['registerPostFixer'](()=>{let _0x57c2a3=!0x1;const _0x2b5140=Array[_0x25df('0x65')](_0x536c4b[_0x25df('0x8')][_0x25df('0x33')][_0x25df('0x28')][_0x25df('0x26')]());for(const {name:_0x35e50d,data:_0x300dda}of _0x2b5140){const {group:_0xb41f07,type:_0x10fe12,subType:_0x1dac43,id:_0x1683c1}=_0x30f95c['_splitMarkerName'](_0x35e50d);if(_0x25df('0x5e')==_0xb41f07&&_0x30f95c[_0x25df('0x3f')](_0x1683c1)){if('formatBlock'==_0x10fe12&&(_0x25df('0x68')==_0x1dac43||'imageStylePostApply'==_0x1dac43)){const _0x29782e=_0x30f95c[_0x25df('0x4a')](_0x1683c1);if(_0x300dda[_0x25df('0x5f')]){const _0x3b3186=_0x29782e[_0x25df('0x1d')]()['getContainedElement']();if(_0x5ca996[_0x25df('0x6d')](_0x3b3186))continue;_0x30f95c[_0x25df('0xe')](_0x29782e),_0x57c2a3=!0x0;}}if(_0x25df('0x60')==_0x10fe12&&_0x25df('0x64')==_0x1dac43&&!_0x300dda[_0x25df('0x5f')]){const _0x561484=_0x30f95c[_0x25df('0x4a')](_0x1683c1);_0x561484[_0x25df('0x72')]&&_0x561484[_0x25df('0x72')][_0x25df('0x0')]&&(_0x30f95c[_0x25df('0xe')](_0x561484['next']),_0x57c2a3=!0x0);}}}return _0x57c2a3;}),_0x536c4b['plugins'][_0x25df('0x71')](_0x25df('0x5'))&&_0x30f95c[_0x25df('0x76')](_0x25df('0x37'),(_0x3c1ef4,_0x285c46)=>{const _0x47596a=_0x5ca996[_0x25df('0x17')](_0x536c4b['model']['document'][_0x25df('0x2b')]);_0x47596a['getAttribute'](_0x25df('0x61'))!=_0x285c46['width']&&_0x536c4b['model'][_0x25df('0x15')](()=>{_0x30f95c[_0x25df('0x75')](_0x47596a,{'commandName':_0x25df('0x37'),'commandParams':[_0x285c46]});});}),_0x536c4b[_0x25df('0x69')]['has'](_0x25df('0x2f'))&&_0x30f95c['enableCommand'](_0x25df('0x73'),(_0x1d1177,_0x5a64b7)=>{const _0x28add7=_0x5ca996[_0x25df('0x17')](_0x536c4b[_0x25df('0x8')][_0x25df('0x33')]['selection']);(_0x28add7[_0x25df('0x35')](_0x25df('0x6b'))?_0x28add7[_0x25df('0xa')](_0x25df('0x6b')):'')!=_0x5a64b7[_0x25df('0x11')]&&_0x536c4b[_0x25df('0x8')][_0x25df('0x15')](()=>{_0x30f95c['markBlockFormat'](_0x28add7,{'commandName':_0x25df('0x73'),'commandParams':[_0x5a64b7]});});}),_0x30f95c[_0x25df('0x47')][_0x25df('0xd')](_0x3a07a4=>{if(!!_0x45cc89[_0x25df('0x2d')](({type:_0x17f26a,subType:_0x5b3506})=>_0x3a07a4[_0x25df('0x50')]==_0x17f26a&&_0x3a07a4[_0x25df('0x29')]==_0x5b3506))return _0x3a07a4[_0x25df('0x2')]?{}:void 0x0;}),_0x30f95c[_0x25df('0x47')][_0x25df('0xd')](_0x2f7be6=>{if(_0x25df('0x60')==_0x2f7be6[_0x25df('0x50')]||_0x25df('0x66')==_0x2f7be6[_0x25df('0x50')]){const _0x5c7353=_0x2f7be6['getContainedElement']();if(_0x5c7353&&_0x5c7353['is'](_0x25df('0x36'),_0x25df('0x1')))return{'type':_0x25df('0x60')==_0x2f7be6[_0x25df('0x50')]?_0x25df('0x19'):_0x25df('0x1a'),'element':_0x5c7353,'quantity':0x1};}}),_0x30f95c[_0x25df('0x47')][_0x25df('0xd')](_0x34fb3e=>_0x25df('0x6f')==_0x34fb3e[_0x25df('0x50')]&&_0x25df('0x1b')==_0x34fb3e[_0x25df('0x29')]?{'type':_0x25df('0x45'),'content':'Inline\x20image\x20to\x20block\x20image'}:'formatBlock'==_0x34fb3e[_0x25df('0x50')]&&'convertBlockImageToInline'==_0x34fb3e[_0x25df('0x29')]?{'type':_0x25df('0x45'),'content':'Block\x20image\x20to\x20inline\x20image'}:void 0x0),_0x30f95c[_0x25df('0x47')]['registerDescriptionCallback'](_0x43c041=>{const {data:_0x4ae535}=_0x43c041;if(_0x4ae535){if(_0x25df('0x6e')==_0x4ae535[_0x25df('0x39')]){const _0x4fd535=_0x4ae535[_0x25df('0x4b')][0x0][_0x25df('0x51')];return _0x4bcadb('side'===_0x4fd535?_0x32720a(_0x49e9d2,_0x25df('0x77')):_0x5852b1[_0x4fd535]||_0x4fd535);}if(_0x25df('0x73')==_0x4ae535['commandName']){const _0x3213ec=_0x4ae535[_0x25df('0x4b')][0x0][_0x25df('0x11')];return _0x3213ec?{'type':_0x25df('0x45'),'content':_0x32720a(_0x49e9d2,_0x25df('0x5c'),'\x22'+_0x3213ec+'\x22')}:{'type':_0x25df('0x45'),'content':_0x32720a(_0x49e9d2,_0x25df('0x62'))};}if(_0x25df('0x37')==_0x4ae535[_0x25df('0x39')]){const _0x3111df=_0x4ae535[_0x25df('0x4b')][0x0]['width'];return _0x3111df?{'type':_0x25df('0x45'),'content':_0x32720a(_0x49e9d2,_0x25df('0x34'),_0x3111df)}:{'type':_0x25df('0x45'),'content':_0x32720a(_0x49e9d2,'*Reset\x20image\x20width*')};}}function _0x4bcadb(_0x4f7922){return{'type':_0x25df('0x45'),'content':_0x32720a(_0x49e9d2,_0x25df('0x67'),_0x4f7922)};}});}}
23
+ const _0x4635=['length','getAttribute','_findSuggestions','createRangeOn','ImageInlineEditing','FORMAT_SIDE_IMAGE','ELEMENT_INLINE_IMAGE','getClosestSelectedImageElement','imageStyle','ImageCaptionUtils','forEach','fromPosition','removeObject','imageStylePostApply','nodeAfter','backward','hasSuggestion','_descriptionFactory','imageCaption','alt','markBlockFormat','chain','type','*Remove\x20image\x20text\x20alternative*','getSuggestionCallback','imageTypeInline','find','start','width','schema','*Set\x20image\x20text\x20alternative:*\x20%0','ImageResize','forceDefaultExecution','markDeletion','suggestion','commands','Users','newValue','commandParams','registerPostFixer','join','markInsertion','resizeImage','toNext','model','locale','isOwn','registerDescriptionCallback','isInlineImage','previous','*Set\x20image\x20width:*\x20%0','imageBlock','insertion','has','*Format:*\x20%0','deletion','detach','convertBlockImageToInline','getChangedMarkers','toLowerCase','next','refresh','createRange','registerElementLabel','selection','subType','ImageUploadEditing','getSuggestions','commandReversedParams','ImageTextAlternativeEditing','isIntersecting','filter','_suggestionFactory','change','getSuggestion','convertInlineImageToBlock','name','value','isBefore','getCaptionFromImageModelElement','formatBlock','isEqual','isBlockImage','accept','author','findIndex','element','getContainedElement','get','isCollapsed','imageTextAlternative','discard','discardSuggestion','imageTypeBlock','document','editor','hasAttribute','caption','forward','plugins','Block\x20image\x20to\x20inline\x20image','shouldConvertImageType','isInContent','imageInline','getNearestSelectionRange','toPrevious','ELEMENT_CAPTION','Inline\x20image\x20to\x20block\x20image','toggleImageCaption','ImageUtils','end','enableCommand','getFirstRange','commandName','format','newRange','registerCustomCallback','addObject','*Reset\x20image\x20width*','markInlineFormat','imageStylePreApply'];(function(_0x4f8b19,_0x463583){const _0x2f6f03=function(_0x4c0299){while(--_0x4c0299){_0x4f8b19['push'](_0x4f8b19['shift']());}};_0x2f6f03(++_0x463583);}(_0x4635,0x1b2));const _0x2f6f=function(_0x4f8b19,_0x463583){_0x4f8b19=_0x4f8b19-0x0;let _0x2f6f03=_0x4635[_0x4f8b19];return _0x2f6f03;};import{Plugin as _0x336904}from'ckeditor5/src/core';import{LivePosition as _0x128193}from'ckeditor5/src/engine';import{uid as _0x5ebd6a}from'ckeditor5/src/utils';import{getTranslation as _0x43eb8f}from'../utils/common-translations';export default class V extends _0x336904{['afterInit'](){const _0x30d359=this[_0x2f6f('0x18')];if(!_0x30d359[_0x2f6f('0x1c')][_0x2f6f('0x67')]('ImageEditing'))return;const _0x4df196=_0x30d359['plugins'][_0x2f6f('0x11')]('TrackChangesEditing'),_0x59dec7=_0x30d359[_0x2f6f('0x1c')][_0x2f6f('0x11')](_0x2f6f('0x26')),_0xbd1a61={},_0x951fd9=_0x30d359[_0x2f6f('0x5f')];if(_0x4df196[_0x2f6f('0x28')]('insertImage'),_0x4df196['_descriptionFactory'][_0x2f6f('0x71')](_0x2f6f('0x65'),_0x31ef57=>_0x43eb8f(_0x951fd9,'ELEMENT_IMAGE',_0x31ef57)),_0x4df196[_0x2f6f('0x43')][_0x2f6f('0x71')](_0x2f6f('0x20'),_0x1f488f=>_0x43eb8f(_0x951fd9,_0x2f6f('0x38'),_0x1f488f)),_0x4df196[_0x2f6f('0x43')][_0x2f6f('0x71')]('caption',()=>_0x43eb8f(_0x951fd9,_0x2f6f('0x23'))),_0x30d359[_0x2f6f('0x1c')][_0x2f6f('0x67')](_0x2f6f('0x74'))&&_0x4df196[_0x2f6f('0x28')]('uploadImage'),_0x30d359[_0x2f6f('0x1c')][_0x2f6f('0x67')]('ImageBlockEditing')&&_0x30d359[_0x2f6f('0x1c')][_0x2f6f('0x67')](_0x2f6f('0x36'))&&(_0x4df196[_0x2f6f('0x28')]('imageTypeInline',(_0x3bf2fa,_0x4d9797)=>{const _0x4639d1=_0x59dec7['getClosestSelectedImageElement'](_0x30d359['model'][_0x2f6f('0x17')][_0x2f6f('0x72')]);_0x30d359[_0x2f6f('0x5e')][_0x2f6f('0x2')](()=>{_0x4df196[_0x2f6f('0x46')](_0x4639d1,{'commandName':_0x2f6f('0x4b'),'commandParams':[_0x4d9797]},[],_0x2f6f('0x6b'));});}),_0x4df196[_0x2f6f('0x28')](_0x2f6f('0x16'),(_0x3c099e,_0xf1fffe)=>{_0x30d359['model']['change'](_0x1fab38=>{let _0x2bc148=_0x59dec7[_0x2f6f('0x39')](_0x30d359[_0x2f6f('0x5e')][_0x2f6f('0x17')][_0x2f6f('0x72')]),_0x3e778d=_0x1fab38[_0x2f6f('0x35')](_0x2bc148);const _0x306f94=_0x128193[_0x2f6f('0x3d')](_0x3e778d[_0x2f6f('0x4d')],_0x2f6f('0x22')),_0x32c592=_0x128193[_0x2f6f('0x3d')](_0x3e778d[_0x2f6f('0x27')],_0x2f6f('0x5d'));_0x4df196[_0x2f6f('0x52')](()=>_0x3c099e(_0xf1fffe)),_0x2bc148=_0x59dec7[_0x2f6f('0x39')](_0x30d359[_0x2f6f('0x5e')][_0x2f6f('0x17')][_0x2f6f('0x72')]),_0x3e778d=_0x1fab38[_0x2f6f('0x35')](_0x2bc148);const _0x514f70=_0x1fab38['createRange'](_0x306f94,_0x32c592);_0x306f94[_0x2f6f('0x6a')](),_0x32c592[_0x2f6f('0x6a')](),_0x4df196[_0x2f6f('0x46')](_0x2bc148,{'commandName':'imageTypeInline'},[],_0x2f6f('0x4')),_0x514f70['start'][_0x2f6f('0x7')](_0x3e778d['start'])&&_0x4df196[_0x2f6f('0x5b')](_0x1fab38[_0x2f6f('0x70')](_0x514f70[_0x2f6f('0x4d')],_0x3e778d[_0x2f6f('0x4d')]),_0x2f6f('0x4')),_0x3e778d['end']['isBefore'](_0x514f70[_0x2f6f('0x27')])&&_0x4df196['markInsertion'](_0x1fab38['createRange'](_0x3e778d['end'],_0x514f70['end']),_0x2f6f('0x4'));});}),_0x4df196[_0x2f6f('0x1')][_0x2f6f('0x2d')](_0x2f6f('0x9'),_0x2f6f('0x4'),_0x2f6f('0x5a'),()=>{}),_0x4df196['_suggestionFactory'][_0x2f6f('0x2d')](_0x2f6f('0x9'),_0x2f6f('0x4'),_0x2f6f('0xc'),()=>{}),_0x4df196[_0x2f6f('0x1')]['registerCustomCallback'](_0x2f6f('0x9'),'convertInlineImageToBlock','discard',_0x4df196[_0x2f6f('0x1')]['getSuggestionCallback'](_0x2f6f('0x9'),'',_0x2f6f('0xc'))),_0x4df196[_0x2f6f('0x1')]['registerCustomCallback'](_0x2f6f('0x66'),_0x2f6f('0x4'),'join',()=>{}),_0x4df196[_0x2f6f('0x1')][_0x2f6f('0x2d')]('insertion',_0x2f6f('0x4'),_0x2f6f('0x14'),([_0x4e2acb])=>{const _0x203c18=_0x4df196[_0x2f6f('0x1')][_0x2f6f('0x4a')]('insertion','','discard');let _0x1a13fb=_0x4e2acb[_0x2f6f('0x4d')],_0x7a0968=_0x4e2acb['end'];const _0x455e0a=_0x30d359[_0x2f6f('0x5e')][_0x2f6f('0x4f')][_0x2f6f('0x21')](_0x1a13fb,_0x2f6f('0x41')),_0x53b948=_0x30d359[_0x2f6f('0x5e')][_0x2f6f('0x4f')]['getNearestSelectionRange'](_0x7a0968,_0x2f6f('0x1b'));_0x455e0a[_0x2f6f('0x12')]&&(_0x1a13fb=_0x455e0a['start']),_0x53b948[_0x2f6f('0x12')]&&(_0x7a0968=_0x53b948[_0x2f6f('0x27')]),_0x203c18([_0x30d359['model'][_0x2f6f('0x70')](_0x1a13fb,_0x7a0968)]);}),_0x4df196[_0x2f6f('0x1')]['registerCustomCallback'](_0x2f6f('0x9'),_0x2f6f('0x4'),_0x2f6f('0x47'),_0x518169),_0x4df196[_0x2f6f('0x1')][_0x2f6f('0x2d')](_0x2f6f('0x66'),_0x2f6f('0x4'),_0x2f6f('0x47'),_0x518169)),_0x30d359['plugins']['has']('ImageCaptionEditing')&&(_0x4df196[_0x2f6f('0x28')](_0x2f6f('0x25'),(_0x4a2278,_0x43aa12)=>{const _0x44d13c=_0x30d359[_0x2f6f('0x1c')][_0x2f6f('0x11')](_0x2f6f('0x3b'));let _0x424e66=_0x59dec7[_0x2f6f('0x39')](_0x30d359[_0x2f6f('0x5e')][_0x2f6f('0x17')][_0x2f6f('0x72')]),_0x30e839=_0x44d13c[_0x2f6f('0x8')](_0x424e66);_0x30d359[_0x2f6f('0x5e')][_0x2f6f('0x2')](()=>{if(_0x30e839)return void _0x4df196[_0x2f6f('0x53')](_0x30d359[_0x2f6f('0x5e')][_0x2f6f('0x35')](_0x30e839));const _0x419220=_0x59dec7[_0x2f6f('0xb')](_0x424e66);_0x4a2278(_0x43aa12),_0x424e66=_0x59dec7['getClosestSelectedImageElement'](_0x30d359[_0x2f6f('0x5e')]['document'][_0x2f6f('0x72')]),_0x30e839=_0x44d13c[_0x2f6f('0x8')](_0x424e66),_0x4df196[_0x2f6f('0x5b')](_0x30d359[_0x2f6f('0x5e')][_0x2f6f('0x35')](_0x30e839),_0x419220?null:_0x2f6f('0x44'));});}),_0x4df196[_0x2f6f('0x1')]['registerCustomCallback'](_0x2f6f('0x66'),_0x2f6f('0x44'),_0x2f6f('0x47'),_0x518169)),_0x30d359[_0x2f6f('0x1c')]['has']('ImageStyleEditing')){_0x4df196[_0x2f6f('0x28')](_0x2f6f('0x3a'),(_0x26b360,_0x2e22a6)=>{const _0xd2658c=_0x30d359[_0x2f6f('0x1c')][_0x2f6f('0x11')](_0x2f6f('0x56'))['me'],_0x46b506=_0x30d359[_0x2f6f('0x55')]['get'](_0x2f6f('0x3a'));let _0x4ddf35=_0x59dec7[_0x2f6f('0x39')](_0x30d359['model'][_0x2f6f('0x17')]['selection']),_0x343030=_0x30d359[_0x2f6f('0x5e')][_0x2f6f('0x35')](_0x4ddf35),_0x5ac83a=_0x46b506[_0x2f6f('0x6')];if(_0x5ac83a==_0x2e22a6[_0x2f6f('0x6')])return;const _0xbf12da={'commandName':_0x2f6f('0x3a'),'commandParams':[_0x2e22a6],'formatGroupId':_0x5ebd6a()};_0x30d359[_0x2f6f('0x5e')]['change'](()=>{if(_0x4df196[_0x2f6f('0x75')]()['filter'](_0x252d7b=>_0x252d7b['isInContent']&&_0xd2658c==_0x252d7b[_0x2f6f('0xd')]&&('formatBlock'==_0x252d7b[_0x2f6f('0x48')]||'formatInline'==_0x252d7b[_0x2f6f('0x48')])&&(_0x2f6f('0x31')==_0x252d7b[_0x2f6f('0x73')]||_0x2f6f('0x3f')==_0x252d7b['subType'])&&_0x252d7b[_0x2f6f('0x29')]()[_0x2f6f('0xa')](_0x343030))[_0x2f6f('0x3c')](_0x5c40f0=>_0x4df196[_0x2f6f('0x15')](_0x5c40f0['head'])),_0x4ddf35=_0x59dec7['getClosestSelectedImageElement'](_0x30d359[_0x2f6f('0x5e')][_0x2f6f('0x17')]['selection']),_0x343030=_0x30d359[_0x2f6f('0x5e')][_0x2f6f('0x35')](_0x4ddf35),_0x46b506[_0x2f6f('0x6f')](),_0x30d359['commands'][_0x2f6f('0x11')]('imageTypeInline')['refresh'](),_0x30d359[_0x2f6f('0x55')][_0x2f6f('0x11')]('imageTypeBlock')[_0x2f6f('0x6f')](),_0x5ac83a=_0x46b506[_0x2f6f('0x6')],_0x5ac83a!=_0x2e22a6['value'])return _0x59dec7[_0x2f6f('0x62')](_0x4ddf35)&&_0x46b506[_0x2f6f('0x1e')](_0x2e22a6[_0x2f6f('0x6')],_0x4ddf35)?(_0x26b360(_0x2e22a6),_0x4ddf35=_0x59dec7[_0x2f6f('0x39')](_0x30d359[_0x2f6f('0x5e')][_0x2f6f('0x17')][_0x2f6f('0x72')]),void _0x4df196[_0x2f6f('0x46')](_0x4ddf35,{..._0xbf12da,'commandReversedParams':[{'value':_0x5ac83a||null}]},[],_0x2f6f('0x31'))):void(_0x59dec7[_0x2f6f('0xb')](_0x4ddf35)?_0x4df196[_0x2f6f('0x46')](_0x4ddf35,_0xbf12da,[],'imageStylePostApply'):_0x4df196[_0x2f6f('0x30')](_0x343030,_0xbf12da,'imageStylePostApply'));});});for(const _0x5cd302 of _0x30d359[_0x2f6f('0x1c')][_0x2f6f('0x11')]('ImageStyleEditing')['normalizedStyles'])_0xbd1a61[_0x5cd302[_0x2f6f('0x5')]]=_0x5cd302['title'][_0x2f6f('0x6d')]();_0x4df196[_0x2f6f('0x1')][_0x2f6f('0x2d')](_0x2f6f('0x9'),_0x2f6f('0x31'),_0x2f6f('0x5a'),()=>{}),_0x4df196[_0x2f6f('0x1')][_0x2f6f('0x2d')]('formatBlock',_0x2f6f('0x3f'),_0x2f6f('0x5a'),()=>{}),_0x4df196[_0x2f6f('0x1')]['registerCustomCallback']('formatInline',_0x2f6f('0x3f'),_0x2f6f('0x5a'),()=>{}),_0x4df196['_suggestionFactory']['registerCustomCallback'](_0x2f6f('0x9'),_0x2f6f('0x31'),_0x2f6f('0xc'),()=>{}),_0x4df196[_0x2f6f('0x1')][_0x2f6f('0x2d')]('formatBlock','imageStylePreApply',_0x2f6f('0x14'),(_0xc71655,_0x530aa6)=>{_0x4df196[_0x2f6f('0x1')][_0x2f6f('0x4a')](_0x2f6f('0x9'),'',_0x2f6f('0xc'))(_0xc71655,{'commandName':_0x530aa6['commandName'],'commandParams':_0x530aa6[_0x2f6f('0x76')]});}),_0x4df196['_suggestionFactory'][_0x2f6f('0x2d')](_0x2f6f('0x9'),_0x2f6f('0x31'),_0x2f6f('0x47'),_0x518169);}const _0xade763=[{'type':_0x2f6f('0x9'),'subType':_0x2f6f('0x31')},{'type':'insertion','subType':_0x2f6f('0x44')},{'type':_0x2f6f('0x9'),'subType':'convertInlineImageToBlock'},{'type':'insertion','subType':_0x2f6f('0x4')}];function _0x41c60f(_0x53924d,_0x5d348d){const _0x495d53=_0xade763[_0x2f6f('0xe')](({type:_0x1297c7,subType:_0x223ddc})=>_0x53924d['type']==_0x1297c7&&_0x53924d[_0x2f6f('0x73')]==_0x223ddc),_0x5122bf=_0xade763[_0x2f6f('0xe')](({type:_0x54854a,subType:_0x200302})=>_0x5d348d[_0x2f6f('0x48')]==_0x54854a&&_0x5d348d['subType']==_0x200302);if(_0x495d53<0x0||_0x5122bf<0x0)return!0x1;const _0x50c665=_0x53924d['getFirstRange'](),_0x4dcd27=_0x5d348d[_0x2f6f('0x29')]();if((0x0==_0x495d53||0x1==_0x495d53)&&0x2==_0x5122bf&&_0x50c665[_0x2f6f('0x78')](_0x4dcd27))return!0x0;if(0x2==_0x495d53&&0x3==_0x5122bf){const _0x437093=_0x4df196[_0x2f6f('0x34')](_0x50c665,_0x2f6f('0x66'))[_0x2f6f('0x0')](({suggestion:_0x2f46f6,meta:_0x7f13a0})=>_0x7f13a0[_0x2f6f('0x60')]&&_0x2f6f('0x4')==_0x2f46f6['subType']);if(_0x437093['length']>0x1&&_0x4dcd27[_0x2f6f('0x27')][_0x2f6f('0xa')](_0x50c665[_0x2f6f('0x4d')]))return!0x0;if(0x1==_0x437093[_0x2f6f('0x32')]&&(_0x50c665[_0x2f6f('0x4d')][_0x2f6f('0xa')](_0x4dcd27['end'])||_0x50c665[_0x2f6f('0x27')][_0x2f6f('0xa')](_0x4dcd27[_0x2f6f('0x4d')])))return!0x0;}if(0x3==_0x495d53&&0x3==_0x5122bf&&_0x50c665['start'][_0x2f6f('0x7')](_0x4dcd27[_0x2f6f('0x4d')])){const _0x340a1e=_0x50c665[_0x2f6f('0x27')][_0x2f6f('0x40')],_0x199e5e=_0x4dcd27['start']['nodeBefore'];return _0x59dec7[_0x2f6f('0xb')](_0x340a1e)&&_0x340a1e===_0x199e5e;}return!0x1;}function _0x518169(_0x203cba,_0x1222ac){return _0x41c60f(_0x203cba,_0x1222ac)?[_0x203cba,_0x1222ac]:_0x41c60f(_0x1222ac,_0x203cba)?[_0x1222ac,_0x203cba]:null;}_0x30d359[_0x2f6f('0x5e')][_0x2f6f('0x17')][_0x2f6f('0x59')](()=>{let _0x15b6ad=!0x1;const _0x4ecaed=Array['from'](_0x30d359[_0x2f6f('0x5e')][_0x2f6f('0x17')]['differ'][_0x2f6f('0x6c')]());for(const {name:_0x20746c,data:_0x5cbda5}of _0x4ecaed){const {group:_0x149cb3,type:_0x193cdd,subType:_0x255021,id:_0x2365c0}=_0x4df196['_splitMarkerName'](_0x20746c);if(_0x2f6f('0x54')==_0x149cb3&&_0x4df196[_0x2f6f('0x42')](_0x2365c0)){if(_0x2f6f('0x9')==_0x193cdd&&('imageStylePreApply'==_0x255021||_0x2f6f('0x3f')==_0x255021)){const _0x55d22a=_0x4df196[_0x2f6f('0x3')](_0x2365c0);if(_0x5cbda5[_0x2f6f('0x2c')]){const _0x1685c4=_0x55d22a[_0x2f6f('0x29')]()[_0x2f6f('0x10')]();if(_0x59dec7[_0x2f6f('0xb')](_0x1685c4))continue;_0x4df196[_0x2f6f('0x15')](_0x55d22a),_0x15b6ad=!0x0;}}if('insertion'==_0x193cdd&&_0x2f6f('0x44')==_0x255021&&!_0x5cbda5[_0x2f6f('0x2c')]){const _0x4478d1=_0x4df196[_0x2f6f('0x3')](_0x2365c0);_0x4478d1['next']&&_0x4478d1['next'][_0x2f6f('0x1f')]&&(_0x4df196['discardSuggestion'](_0x4478d1[_0x2f6f('0x6e')]),_0x15b6ad=!0x0);}}}return _0x15b6ad;}),_0x30d359[_0x2f6f('0x1c')]['has'](_0x2f6f('0x51'))&&_0x4df196['enableCommand'](_0x2f6f('0x5c'),(_0x17c0ee,_0xfcaaad)=>{const _0x201c52=_0x59dec7[_0x2f6f('0x39')](_0x30d359['model']['document'][_0x2f6f('0x72')]);_0x201c52[_0x2f6f('0x33')](_0x2f6f('0x4e'))!=_0xfcaaad[_0x2f6f('0x4e')]&&_0x30d359[_0x2f6f('0x5e')]['change'](()=>{_0x4df196[_0x2f6f('0x46')](_0x201c52,{'commandName':_0x2f6f('0x5c'),'commandParams':[_0xfcaaad]});});}),_0x30d359['plugins'][_0x2f6f('0x67')](_0x2f6f('0x77'))&&_0x4df196[_0x2f6f('0x28')](_0x2f6f('0x13'),(_0x5bc4ee,_0x33a921)=>{const _0x51effc=_0x59dec7['getClosestSelectedImageElement'](_0x30d359[_0x2f6f('0x5e')][_0x2f6f('0x17')][_0x2f6f('0x72')]);(_0x51effc[_0x2f6f('0x19')](_0x2f6f('0x45'))?_0x51effc[_0x2f6f('0x33')](_0x2f6f('0x45')):'')!=_0x33a921[_0x2f6f('0x57')]&&_0x30d359[_0x2f6f('0x5e')][_0x2f6f('0x2')](()=>{_0x4df196[_0x2f6f('0x46')](_0x51effc,{'commandName':'imageTextAlternative','commandParams':[_0x33a921]});});}),_0x4df196[_0x2f6f('0x43')][_0x2f6f('0x61')](_0x50e0ee=>{if(!!_0xade763[_0x2f6f('0x4c')](({type:_0x16af64,subType:_0x933730})=>_0x50e0ee[_0x2f6f('0x48')]==_0x16af64&&_0x50e0ee['subType']==_0x933730))return _0x50e0ee[_0x2f6f('0x63')]?{}:void 0x0;}),_0x4df196['_descriptionFactory'][_0x2f6f('0x61')](_0x4812bf=>{if('insertion'==_0x4812bf[_0x2f6f('0x48')]||_0x2f6f('0x69')==_0x4812bf[_0x2f6f('0x48')]){const _0x1a5043=_0x4812bf[_0x2f6f('0x10')]();if(_0x1a5043&&_0x1a5043['is'](_0x2f6f('0xf'),_0x2f6f('0x1a')))return{'type':_0x2f6f('0x66')==_0x4812bf['type']?_0x2f6f('0x2e'):_0x2f6f('0x3e'),'element':_0x1a5043,'quantity':0x1};}}),_0x4df196[_0x2f6f('0x43')][_0x2f6f('0x61')](_0x22ccf4=>_0x2f6f('0x9')==_0x22ccf4[_0x2f6f('0x48')]&&'convertInlineImageToBlock'==_0x22ccf4[_0x2f6f('0x73')]?{'type':_0x2f6f('0x2b'),'content':_0x2f6f('0x24')}:'formatBlock'==_0x22ccf4[_0x2f6f('0x48')]&&_0x2f6f('0x6b')==_0x22ccf4[_0x2f6f('0x73')]?{'type':'format','content':_0x2f6f('0x1d')}:void 0x0),_0x4df196[_0x2f6f('0x43')]['registerDescriptionCallback'](_0x38578d=>{const {data:_0x50e5ad}=_0x38578d;if(_0x50e5ad){if('imageStyle'==_0x50e5ad[_0x2f6f('0x2a')]){const _0x25bf5a=_0x50e5ad[_0x2f6f('0x58')][0x0][_0x2f6f('0x6')];return _0x50c287('side'===_0x25bf5a?_0x43eb8f(_0x951fd9,_0x2f6f('0x37')):_0xbd1a61[_0x25bf5a]||_0x25bf5a);}if(_0x2f6f('0x13')==_0x50e5ad[_0x2f6f('0x2a')]){const _0x145249=_0x50e5ad[_0x2f6f('0x58')][0x0][_0x2f6f('0x57')];return _0x145249?{'type':_0x2f6f('0x2b'),'content':_0x43eb8f(_0x951fd9,_0x2f6f('0x50'),'\x22'+_0x145249+'\x22')}:{'type':_0x2f6f('0x2b'),'content':_0x43eb8f(_0x951fd9,_0x2f6f('0x49'))};}if(_0x2f6f('0x5c')==_0x50e5ad[_0x2f6f('0x2a')]){const _0x4ae424=_0x50e5ad['commandParams'][0x0][_0x2f6f('0x4e')];return _0x4ae424?{'type':_0x2f6f('0x2b'),'content':_0x43eb8f(_0x951fd9,_0x2f6f('0x64'),_0x4ae424)}:{'type':_0x2f6f('0x2b'),'content':_0x43eb8f(_0x951fd9,_0x2f6f('0x2f'))};}}function _0x50c287(_0x4e7f46){return{'type':_0x2f6f('0x2b'),'content':_0x43eb8f(_0x951fd9,_0x2f6f('0x68'),_0x4e7f46)};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5000=['execute','enableCommand','collaboration_features','value','forEach','plugins','_trackChangesExecuted','get','afterInit','editor','_setSuggestionData','importWord','trackChanges','_handleImportedData','bind','commands','track_changes','_trackChangesValueDuringImport','listenTo','dataInsert'];(function(_0x57adea,_0x5000b6){const _0x57bf2b=function(_0x48bacb){while(--_0x48bacb){_0x57adea['push'](_0x57adea['shift']());}};_0x57bf2b(++_0x5000b6);}(_0x5000,0x1d4));const _0x57bf=function(_0x57adea,_0x5000b6){_0x57adea=_0x57adea-0x0;let _0x57bf2b=_0x5000[_0x57adea];return _0x57bf2b;};import{Plugin as _0x981ef7}from'ckeditor5/src/core';import _0x258de6 from'../trackchangesediting';export default class X extends _0x981ef7{constructor(_0x5e6fc4){super(_0x5e6fc4),this[_0x57bf('0x9')]=!0x1,this[_0x57bf('0x12')]=!0x1;}[_0x57bf('0x0')](){const _0x370e3d=this[_0x57bf('0x1')],_0x221fe7=_0x370e3d[_0x57bf('0x7')]['get']('importWord'),_0x51d488=_0x370e3d[_0x57bf('0x7')][_0x57bf('0x13')](_0x57bf('0x4'));_0x221fe7&&(_0x221fe7['on'](_0x57bf('0xc'),(_0x305c8b,[,_0x18c304])=>{this[_0x57bf('0x9')]=_0x51d488[_0x57bf('0xf')],_0x18c304[_0x57bf('0xe')][_0x57bf('0x8')]=!this['_trackChangesValueDuringImport'];},{'priority':'high'}),this[_0x57bf('0xa')](_0x221fe7,_0x57bf('0xb'),this[_0x57bf('0x5')][_0x57bf('0x6')](this)),this[_0x57bf('0xa')](_0x221fe7,'dataInsert',()=>{this[_0x57bf('0x12')]&&(_0x51d488[_0x57bf('0xc')](),this['_trackChangesExecuted']=!0x1);},{'priority':'lowest'}),_0x370e3d[_0x57bf('0x11')][_0x57bf('0x13')]('TrackChangesEditing')[_0x57bf('0xd')](_0x57bf('0x3')));}[_0x57bf('0x5')](_0x177c6a,_0x3e6fae){const {suggestions:_0x2cc2f2}=_0x3e6fae,_0x3e5433=this[_0x57bf('0x1')][_0x57bf('0x7')][_0x57bf('0x13')](_0x57bf('0x4')),_0x1d0944=_0x3e5433[_0x57bf('0xf')];this[_0x57bf('0x9')]!==_0x1d0944&&(_0x3e5433[_0x57bf('0xc')](),this[_0x57bf('0x12')]=!0x0),_0x2cc2f2&&_0x2cc2f2[_0x57bf('0x10')](({id:_0x99e601,type:_0x2be075,author:_0x469642,created_at:_0x38a878})=>{const _0x4a3dc8={'id':_0x99e601,'type':_0x2be075,'authorId':this['editor'][_0x57bf('0x11')][_0x57bf('0x13')]('Users')['me']['id'],'createdAt':new Date(),'data':{},'hasComments':!0x1,'attributes':{'@external':{'authorName':_0x469642,'createdAt':_0x38a878?new Date(_0x38a878):new Date(),'source':_0x57bf('0x3')}}};this[_0x57bf('0x1')][_0x57bf('0x11')][_0x57bf('0x13')](_0x258de6)[_0x57bf('0x2')](_0x4a3dc8);});}}
23
+ const _0x23ae=['enableCommand','lowest','bind','dataInsert','get','forEach','importWord','collaboration_features','_trackChangesExecuted','_trackChangesValueDuringImport','high','_setSuggestionData','execute','Users','editor','TrackChangesEditing','trackChanges','value','_handleImportedData','commands','listenTo','plugins'];(function(_0x387045,_0x23ae59){const _0x21943d=function(_0x4b22cf){while(--_0x4b22cf){_0x387045['push'](_0x387045['shift']());}};_0x21943d(++_0x23ae59);}(_0x23ae,0x151));const _0x2194=function(_0x387045,_0x23ae59){_0x387045=_0x387045-0x0;let _0x21943d=_0x23ae[_0x387045];return _0x21943d;};import{Plugin as _0x536aa7}from'ckeditor5/src/core';import _0x3c4492 from'../trackchangesediting';export default class X extends _0x536aa7{constructor(_0x7939d2){super(_0x7939d2),this[_0x2194('0x2')]=!0x1,this[_0x2194('0x1')]=!0x1;}['afterInit'](){const _0x16d0e9=this[_0x2194('0x7')],_0x234082=_0x16d0e9[_0x2194('0xc')]['get'](_0x2194('0x15')),_0x5978e7=_0x16d0e9[_0x2194('0xc')]['get'](_0x2194('0x9'));_0x234082&&(_0x234082['on']('execute',(_0x39ddac,[,_0x3fa3b0])=>{this[_0x2194('0x2')]=_0x5978e7[_0x2194('0xa')],_0x3fa3b0[_0x2194('0x0')]['track_changes']=!this[_0x2194('0x2')];},{'priority':_0x2194('0x3')}),this[_0x2194('0xd')](_0x234082,_0x2194('0x12'),this[_0x2194('0xb')][_0x2194('0x11')](this)),this[_0x2194('0xd')](_0x234082,_0x2194('0x12'),()=>{this['_trackChangesExecuted']&&(_0x5978e7[_0x2194('0x5')](),this['_trackChangesExecuted']=!0x1);},{'priority':_0x2194('0x10')}),_0x16d0e9['plugins'][_0x2194('0x13')](_0x2194('0x8'))[_0x2194('0xf')](_0x2194('0x15')));}[_0x2194('0xb')](_0x2c78a7,_0x9cd0da){const {suggestions:_0x7a5e53}=_0x9cd0da,_0x30b8e3=this[_0x2194('0x7')][_0x2194('0xc')]['get'](_0x2194('0x9')),_0x82e506=_0x30b8e3[_0x2194('0xa')];this[_0x2194('0x2')]!==_0x82e506&&(_0x30b8e3[_0x2194('0x5')](),this['_trackChangesExecuted']=!0x0),_0x7a5e53&&_0x7a5e53[_0x2194('0x14')](({id:_0x25f9ff,type:_0x2a5188,author:_0x2cfafe,created_at:_0x4aecc5})=>{const _0x13dad3={'id':_0x25f9ff,'type':_0x2a5188,'authorId':this[_0x2194('0x7')][_0x2194('0xe')][_0x2194('0x13')](_0x2194('0x6'))['me']['id'],'createdAt':new Date(),'data':{},'hasComments':!0x1,'attributes':{'@external':{'authorName':_0x2cfafe,'createdAt':_0x4aecc5?new Date(_0x4aecc5):new Date(),'source':_0x2194('0x15')}}};this[_0x2194('0x7')][_0x2194('0xe')][_0x2194('0x13')](_0x3c4492)[_0x2194('0x4')](_0x13dad3);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4d3c=['getItemLabel','outdentBlock','afterInit','enableCommand','*Outdent:*\x20%0','IndentBlock','document','IndentEditing','editor','commandName','getSelectedBlocks','*Indent:*\x20%0','has','outdent','registerDescriptionCallback','filter','change','indentBlock','_descriptionFactory','indent','model','TrackChangesEditing','blockIndent','checkAttribute','selection','plugins','markBlockFormat'];(function(_0x42591a,_0x4d3ca9){const _0x2ccfd0=function(_0x536560){while(--_0x536560){_0x42591a['push'](_0x42591a['shift']());}};_0x2ccfd0(++_0x4d3ca9);}(_0x4d3c,0x17a));const _0x2ccf=function(_0x42591a,_0x4d3ca9){_0x42591a=_0x42591a-0x0;let _0x2ccfd0=_0x4d3c[_0x42591a];return _0x2ccfd0;};import{Plugin as _0x309bd5}from'ckeditor5/src/core';import{getTranslation as _0x100207}from'../utils/common-translations';export default class Y extends _0x309bd5{[_0x2ccf('0x2')](){const _0x3430b0=this[_0x2ccf('0x8')],_0x70b8fb=_0x3430b0[_0x2ccf('0x19')]['get'](_0x2ccf('0x15'));_0x3430b0['plugins'][_0x2ccf('0xc')](_0x2ccf('0x7'))&&(_0x70b8fb['enableCommand'](_0x2ccf('0x13')),_0x70b8fb[_0x2ccf('0x3')](_0x2ccf('0xd')));const _0x5f1586=_0x3430b0['locale'];if(_0x3430b0[_0x2ccf('0x19')][_0x2ccf('0xc')](_0x2ccf('0x5'))){for(const _0x3e41f7 of[_0x2ccf('0x11'),'outdentBlock'])_0x70b8fb[_0x2ccf('0x3')](_0x3e41f7,()=>{const _0xb849c9=Array['from'](this[_0x2ccf('0x8')][_0x2ccf('0x14')][_0x2ccf('0x6')][_0x2ccf('0x18')][_0x2ccf('0xa')]())[_0x2ccf('0xf')](_0x5d472a=>this[_0x2ccf('0x8')][_0x2ccf('0x14')]['schema'][_0x2ccf('0x17')](_0x5d472a,_0x2ccf('0x16')));_0x3430b0[_0x2ccf('0x14')][_0x2ccf('0x10')](()=>{for(const _0x628c18 of _0xb849c9)_0x70b8fb[_0x2ccf('0x1a')](_0x628c18,{'commandName':_0x3e41f7,'commandParams':[{'value':''}],'formatGroupId':'indentBlock'});});});_0x70b8fb[_0x2ccf('0x12')][_0x2ccf('0xe')](_0x225023=>{const {data:_0xeb6727}=_0x225023;if(!_0xeb6727)return;if(_0x2ccf('0x11')!=_0xeb6727[_0x2ccf('0x9')]&&_0x2ccf('0x1')!=_0xeb6727['commandName'])return;const _0x6a95e4=_0x225023['getItems']()[0x0],_0x37e36c=_0x70b8fb[_0x2ccf('0x12')][_0x2ccf('0x0')](_0x6a95e4);return _0x2ccf('0x11')==_0xeb6727['commandName']?{'type':'format','content':_0x100207(_0x5f1586,_0x2ccf('0xb'),_0x37e36c)}:_0x2ccf('0x1')==_0xeb6727[_0x2ccf('0x9')]?{'type':'format','content':_0x100207(_0x5f1586,_0x2ccf('0x4'),_0x37e36c)}:void 0x0;});}}}
23
+ const _0x20d6=['enableCommand','registerDescriptionCallback','indent','afterInit','getItems','filter','blockIndent','_descriptionFactory','document','outdentBlock','markBlockFormat','commandName','model','editor','from','indentBlock','IndentEditing','schema','getItemLabel','locale','plugins','*Outdent:*\x20%0','has','getSelectedBlocks','outdent'];(function(_0x86a36d,_0x20d6fd){const _0x28ecb7=function(_0x2ff42f){while(--_0x2ff42f){_0x86a36d['push'](_0x86a36d['shift']());}};_0x28ecb7(++_0x20d6fd);}(_0x20d6,0x87));const _0x28ec=function(_0x86a36d,_0x20d6fd){_0x86a36d=_0x86a36d-0x0;let _0x28ecb7=_0x20d6[_0x86a36d];return _0x28ecb7;};import{Plugin as _0x3a56cd}from'ckeditor5/src/core';import{getTranslation as _0x257ae8}from'../utils/common-translations';export default class Y extends _0x3a56cd{[_0x28ec('0x12')](){const _0x354bc9=this['editor'],_0x115de8=_0x354bc9[_0x28ec('0xa')]['get']('TrackChangesEditing');_0x354bc9[_0x28ec('0xa')]['has'](_0x28ec('0x6'))&&(_0x115de8[_0x28ec('0xf')](_0x28ec('0x11')),_0x115de8[_0x28ec('0xf')](_0x28ec('0xe')));const _0x886203=_0x354bc9[_0x28ec('0x9')];if(_0x354bc9['plugins'][_0x28ec('0xc')]('IndentBlock')){for(const _0x1a08ee of[_0x28ec('0x5'),_0x28ec('0x18')])_0x115de8[_0x28ec('0xf')](_0x1a08ee,()=>{const _0x2783e1=Array[_0x28ec('0x4')](this[_0x28ec('0x3')][_0x28ec('0x2')][_0x28ec('0x17')]['selection'][_0x28ec('0xd')]())[_0x28ec('0x14')](_0x235271=>this['editor'][_0x28ec('0x2')][_0x28ec('0x7')]['checkAttribute'](_0x235271,_0x28ec('0x15')));_0x354bc9[_0x28ec('0x2')]['change'](()=>{for(const _0x47bfc0 of _0x2783e1)_0x115de8[_0x28ec('0x0')](_0x47bfc0,{'commandName':_0x1a08ee,'commandParams':[{'value':''}],'formatGroupId':_0x28ec('0x5')});});});_0x115de8['_descriptionFactory'][_0x28ec('0x10')](_0x3ad412=>{const {data:_0x5a1743}=_0x3ad412;if(!_0x5a1743)return;if(_0x28ec('0x5')!=_0x5a1743[_0x28ec('0x1')]&&'outdentBlock'!=_0x5a1743['commandName'])return;const _0x14994d=_0x3ad412[_0x28ec('0x13')]()[0x0],_0x213810=_0x115de8[_0x28ec('0x16')][_0x28ec('0x8')](_0x14994d);return _0x28ec('0x5')==_0x5a1743['commandName']?{'type':'format','content':_0x257ae8(_0x886203,'*Indent:*\x20%0',_0x213810)}:'outdentBlock'==_0x5a1743['commandName']?{'type':'format','content':_0x257ae8(_0x886203,_0x28ec('0xb'),_0x213810)}:void 0x0;});}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0xe8ca=['enableCommand','editor','get','plugins','requires','input','init','TrackChangesEditing'];(function(_0x546c04,_0xe8ca1a){var _0x4fc63a=function(_0x4d0f42){while(--_0x4d0f42){_0x546c04['push'](_0x546c04['shift']());}};_0x4fc63a(++_0xe8ca1a);}(_0xe8ca,0x1c6));var _0x4fc6=function(_0x546c04,_0xe8ca1a){_0x546c04=_0x546c04-0x0;var _0x4fc63a=_0xe8ca[_0x546c04];return _0x4fc63a;};import{Plugin as _0x56353e}from'ckeditor5/src/core';import{Input as _0x4016c1}from'ckeditor5/src/typing';export default class Z extends _0x56353e{static get[_0x4fc6('0x6')](){return[_0x4016c1];}[_0x4fc6('0x0')](){this[_0x4fc6('0x3')][_0x4fc6('0x5')][_0x4fc6('0x4')](_0x4fc6('0x1'))[_0x4fc6('0x2')](_0x4fc6('0x7'));}}
23
+ var _0x58a9=['init','editor','input','enableCommand','requires'];(function(_0x43d6f7,_0x58a97f){var _0x395add=function(_0x3ec26b){while(--_0x3ec26b){_0x43d6f7['push'](_0x43d6f7['shift']());}};_0x395add(++_0x58a97f);}(_0x58a9,0x181));var _0x395a=function(_0x43d6f7,_0x58a97f){_0x43d6f7=_0x43d6f7-0x0;var _0x395add=_0x58a9[_0x43d6f7];return _0x395add;};import{Plugin as _0x7765c4}from'ckeditor5/src/core';import{Input as _0x49fbf4}from'ckeditor5/src/typing';export default class Z extends _0x7765c4{static get[_0x395a('0x4')](){return[_0x49fbf4];}[_0x395a('0x0')](){this[_0x395a('0x1')]['plugins']['get']('TrackChangesEditing')[_0x395a('0x3')](_0x395a('0x2'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3a13=['*Set\x20link:*\x20%0','commandName','format','getAttribute','getFirstPosition','afterInit','has','plugins','_descriptionFactory','locale','LinkEditing','editor','markInlineFormat','document','model','get','enableCommand','TrackChangesEditing','link','hasAttribute','unlink','selection','getFirstRange','isCollapsed','from','linkHref','registerDescriptionCallback'];(function(_0x50a587,_0x3a132a){const _0x4c8549=function(_0x581bd6){while(--_0x581bd6){_0x50a587['push'](_0x50a587['shift']());}};_0x4c8549(++_0x3a132a);}(_0x3a13,0x1b7));const _0x4c85=function(_0x50a587,_0x3a132a){_0x50a587=_0x50a587-0x0;let _0x4c8549=_0x3a13[_0x50a587];return _0x4c8549;};import{Plugin as _0x4c4b95}from'ckeditor5/src/core';import{findAttributeRange as _0x41cfef}from'ckeditor5/src/typing';import{getRangesWithAttribute as _0x30fb20}from'./utils';import{getTranslation as _0x1e25c3}from'../utils/common-translations';export default class tt extends _0x4c4b95{[_0x4c85('0x19')](){const _0x2480ec=this[_0x4c85('0x4')];if(!_0x2480ec[_0x4c85('0x0')][_0x4c85('0x1a')](_0x4c85('0x3')))return;const _0x3201c3=_0x2480ec[_0x4c85('0x0')][_0x4c85('0x8')](_0x4c85('0xa'));_0x3201c3['enableCommand'](_0x4c85('0xb'),(_0x2e8876,_0x4cd395)=>{const _0x2bfb5f=_0x2480ec[_0x4c85('0x7')][_0x4c85('0x6')][_0x4c85('0xe')];let _0x4aec53=[];if(_0x2bfb5f[_0x4c85('0x10')]){if(!_0x2bfb5f[_0x4c85('0xc')](_0x4c85('0x12')))return void _0x2e8876(_0x4cd395);{const _0x21fe84=_0x41cfef(_0x2bfb5f[_0x4c85('0x18')](),_0x4c85('0x12'),_0x2bfb5f[_0x4c85('0x17')](_0x4c85('0x12')),_0x2480ec[_0x4c85('0x7')]);_0x4aec53=[_0x21fe84];}}else _0x4aec53=Array[_0x4c85('0x11')](_0x2bfb5f['getRanges']());_0x2480ec[_0x4c85('0x7')]['change'](()=>{for(const _0x119857 of _0x4aec53)_0x3201c3[_0x4c85('0x5')](_0x119857,{'commandName':_0x4c85('0xb'),'commandParams':[_0x4cd395]});});}),_0x3201c3[_0x4c85('0x9')]('unlink',()=>{const _0x1dfec1=this[_0x4c85('0x4')]['model'],_0x20e293=_0x1dfec1['document'][_0x4c85('0xe')];_0x1dfec1['change'](()=>{let _0x38698c=[];if(_0x20e293[_0x4c85('0x10')])_0x38698c=[_0x41cfef(_0x20e293[_0x4c85('0x18')](),_0x4c85('0x12'),_0x20e293[_0x4c85('0x17')](_0x4c85('0x12')),_0x2480ec['model'])];else _0x38698c=_0x30fb20(_0x4c85('0x12'),_0x20e293[_0x4c85('0xf')](),_0x2480ec[_0x4c85('0x7')]);for(const _0x4fd63e of _0x38698c)_0x3201c3[_0x4c85('0x5')](_0x4fd63e,{'commandName':_0x4c85('0xd'),'commandParams':[]});});}),_0x3201c3[_0x4c85('0x1')][_0x4c85('0x13')](_0x1b70b8=>{const {data:_0x4b74a8}=_0x1b70b8,_0x2e1af4=_0x2480ec[_0x4c85('0x2')];if(_0x4b74a8){if(_0x4c85('0xb')==_0x4b74a8[_0x4c85('0x15')]){const _0x4be77d=_0x4b74a8['commandParams'][0x0];return{'type':_0x4c85('0x16'),'content':_0x1e25c3(_0x2e1af4,_0x4c85('0x14'),'\x22'+_0x4be77d+'\x22')};}return _0x4c85('0xd')==_0x4b74a8[_0x4c85('0x15')]?{'type':_0x4c85('0x16'),'content':_0x1e25c3(_0x2e1af4,'*Remove\x20link*')}:void 0x0;}});}}
23
+ const _0x16d3=['locale','plugins','model','enableCommand','from','getFirstRange','getFirstPosition','getAttribute','markInlineFormat','unlink','*Remove\x20link*','link','selection','has','afterInit','format','TrackChangesEditing','commandParams','change','get','commandName','document','*Set\x20link:*\x20%0','linkHref','_descriptionFactory','getRanges'];(function(_0x349e88,_0x16d3fd){const _0x241712=function(_0x596e96){while(--_0x596e96){_0x349e88['push'](_0x349e88['shift']());}};_0x241712(++_0x16d3fd);}(_0x16d3,0x141));const _0x2417=function(_0x349e88,_0x16d3fd){_0x349e88=_0x349e88-0x0;let _0x241712=_0x16d3[_0x349e88];return _0x241712;};import{Plugin as _0x4a29fc}from'ckeditor5/src/core';import{findAttributeRange as _0x814acc}from'ckeditor5/src/typing';import{getRangesWithAttribute as _0x231c4b}from'./utils';import{getTranslation as _0x4d9127}from'../utils/common-translations';export default class tt extends _0x4a29fc{[_0x2417('0x5')](){const _0x469a55=this['editor'];if(!_0x469a55[_0x2417('0x12')][_0x2417('0x4')]('LinkEditing'))return;const _0x2fb658=_0x469a55[_0x2417('0x12')][_0x2417('0xa')](_0x2417('0x7'));_0x2fb658[_0x2417('0x14')]('link',(_0x374199,_0x1480ac)=>{const _0x44a367=_0x469a55[_0x2417('0x13')][_0x2417('0xc')][_0x2417('0x3')];let _0x4fd168=[];if(_0x44a367['isCollapsed']){if(!_0x44a367['hasAttribute'](_0x2417('0xe')))return void _0x374199(_0x1480ac);{const _0x261831=_0x814acc(_0x44a367[_0x2417('0x17')](),'linkHref',_0x44a367[_0x2417('0x18')](_0x2417('0xe')),_0x469a55[_0x2417('0x13')]);_0x4fd168=[_0x261831];}}else _0x4fd168=Array[_0x2417('0x15')](_0x44a367[_0x2417('0x10')]());_0x469a55[_0x2417('0x13')][_0x2417('0x9')](()=>{for(const _0xea0ee of _0x4fd168)_0x2fb658[_0x2417('0x19')](_0xea0ee,{'commandName':'link','commandParams':[_0x1480ac]});});}),_0x2fb658[_0x2417('0x14')]('unlink',()=>{const _0x36107a=this['editor'][_0x2417('0x13')],_0x4d86d6=_0x36107a[_0x2417('0xc')][_0x2417('0x3')];_0x36107a[_0x2417('0x9')](()=>{let _0x575aaf=[];if(_0x4d86d6['isCollapsed'])_0x575aaf=[_0x814acc(_0x4d86d6['getFirstPosition'](),_0x2417('0xe'),_0x4d86d6[_0x2417('0x18')](_0x2417('0xe')),_0x469a55[_0x2417('0x13')])];else _0x575aaf=_0x231c4b(_0x2417('0xe'),_0x4d86d6[_0x2417('0x16')](),_0x469a55[_0x2417('0x13')]);for(const _0x17b01a of _0x575aaf)_0x2fb658['markInlineFormat'](_0x17b01a,{'commandName':_0x2417('0x0'),'commandParams':[]});});}),_0x2fb658[_0x2417('0xf')]['registerDescriptionCallback'](_0x475795=>{const {data:_0x6b8acd}=_0x475795,_0x2512fd=_0x469a55[_0x2417('0x11')];if(_0x6b8acd){if(_0x2417('0x2')==_0x6b8acd[_0x2417('0xb')]){const _0x2efb7e=_0x6b8acd[_0x2417('0x8')][0x0];return{'type':_0x2417('0x6'),'content':_0x4d9127(_0x2512fd,_0x2417('0xd'),'\x22'+_0x2efb7e+'\x22')};}return _0x2417('0x0')==_0x6b8acd[_0x2417('0xb')]?{'type':_0x2417('0x6'),'content':_0x4d9127(_0x2512fd,_0x2417('0x1'))}:void 0x0;}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x187e=['listType','ELEMENT_BULLETED_LIST','*Change\x20to:*\x20%0','locale','format','length','bulletedList','filter','afterInit','commandName','getAttribute','blockName','todoList','listItem','push','execute','checkChild','ELEMENT_LIST_ITEM','_selectedElements','markBlockFormat','value','slice','numbered','from','registerElementLabel','*Check\x20item*','numberedList','add','*Outdent:*\x20%0','indentList','TodoListEditing','selection','before','model','commands','name','getSelectedBlocks','plugins','todo','List','outdentList','has','createPositionAt','checkTodoList','*Uncheck\x20item*','ELEMENT_TODO_LIST','listIndent','ListEditing','get','ELEMENT_NUMBERED_LIST','paragraph','end','findIndex','enableCommand','nextSibling','document','editor','registerDescriptionCallback','replace','createRange','change','bulleted','previousSibling','element'];(function(_0x3e4bb8,_0x187e67){const _0x18ead8=function(_0x1ba9f4){while(--_0x1ba9f4){_0x3e4bb8['push'](_0x3e4bb8['shift']());}};_0x18ead8(++_0x187e67);}(_0x187e,0x169));const _0x18ea=function(_0x3e4bb8,_0x187e67){_0x3e4bb8=_0x3e4bb8-0x0;let _0x18ead8=_0x187e[_0x3e4bb8];return _0x18ead8;};import{Plugin as _0x281802}from'ckeditor5/src/core';import{getTranslation as _0x19ae03}from'../utils/common-translations';export default class it extends _0x281802{[_0x18ea('0x1f')](){const _0x36a5fb=this[_0x18ea('0xf')],_0x3ec3d1=_0x36a5fb[_0x18ea('0x1a')];if(!_0x36a5fb['plugins'][_0x18ea('0x0')](_0x18ea('0x6')))return;const _0x22060b=_0x36a5fb[_0x18ea('0x3c')][_0x18ea('0x7')]('TrackChangesEditing'),_0x504784=_0x36a5fb[_0x18ea('0x3c')][_0x18ea('0x0')](_0x18ea('0x35'));function _0x286584(_0x3c3b9b){return()=>{const _0x270713=_0x36a5fb['model'][_0x18ea('0xe')][_0x18ea('0x36')],_0x3554ee=_0x36a5fb[_0x18ea('0x39')]['get'](_0x3c3b9b);if(_0x3554ee[_0x18ea('0x2b')])return void _0x36a5fb[_0x18ea('0x26')](_0x18ea('0x9'),{});const _0x5209d6=_0x3c3b9b[_0x18ea('0x2c')](0x0,-0x4),_0x3144b8=function(_0xdc3ba5,_0xfaca2e,_0x21db70){let _0x349be5=Array[_0x18ea('0x2e')](_0xdc3ba5)[_0x18ea('0x1e')](_0x47c04d=>function(_0x307387,_0x5dab8f){return _0x5dab8f[_0x18ea('0x27')](_0x307387['parent'],_0x18ea('0x24'))&&!_0x5dab8f['isObject'](_0x307387);}(_0x47c04d,_0x21db70));_0x349be5=_0x349be5[_0x18ea('0x1e')](_0x44a992=>!_0x44a992['is']('element',_0x18ea('0x24'))||_0x44a992[_0x18ea('0x21')](_0x18ea('0x17'))!=_0xfaca2e);const _0x36f2e0=new Set();for(const _0x4662eb of _0x349be5)_0x4662eb['is']('element',_0x18ea('0x24'))?_0x36f2e0[_0x18ea('0x32')](Pt(_0x4662eb)):_0x36f2e0[_0x18ea('0x32')](_0x4662eb);return Array[_0x18ea('0x2e')](_0x36f2e0);}(_0x270713['getSelectedBlocks'](),_0x5209d6,_0x36a5fb[_0x18ea('0x38')]['schema']);_0x36a5fb[_0x18ea('0x38')][_0x18ea('0x13')](()=>{for(const _0x5ef0bc of _0x3144b8)_0x22060b['markBlockFormat'](_0x5ef0bc,{'commandName':_0x3c3b9b,'commandParams':[{'forceValue':!_0x3554ee[_0x18ea('0x2b')]}],'formatGroupId':_0x18ea('0x22')},Gt(_0x5ef0bc));});};}function _0x56f6ad(_0x2aabf7){return()=>{const _0x2ce752=function(_0x597ea3){const _0x57db2a=(_0x597ea3=Array[_0x18ea('0x2e')](_0x597ea3))[_0x18ea('0xb')](_0x5e3163=>_0x18ea('0x24')!=_0x5e3163['name']);return _0x57db2a>-0x1&&(_0x597ea3=_0x597ea3['slice'](0x0,_0x57db2a)),_0x597ea3;}(_0x36a5fb['model'][_0x18ea('0xe')]['selection'][_0x18ea('0x3b')]()),_0x31d950=_0x36a5fb['model'][_0x18ea('0x12')](_0x36a5fb[_0x18ea('0x38')][_0x18ea('0x1')](_0x2ce752[0x0],_0x18ea('0x37')),_0x36a5fb[_0x18ea('0x38')][_0x18ea('0x1')](_0x2ce752[_0x2ce752[_0x18ea('0x1c')]-0x1],_0x18ea('0xa')));_0x36a5fb['model'][_0x18ea('0x13')](()=>{_0x22060b[_0x18ea('0x2a')](_0x31d950,{'commandName':_0x2aabf7,'commandParams':[],'formatGroupId':_0x18ea('0x5')},function(_0x29b14d){const _0x113a75=new Set();for(const _0x116596 of _0x29b14d){let _0x2853de=_0x116596[_0x18ea('0xd')];for(;_0x2853de&&_0x2853de[_0x18ea('0x21')]('listIndent')>_0x116596[_0x18ea('0x21')](_0x18ea('0x5'));)_0x113a75[_0x18ea('0x32')](_0x2853de),_0x2853de=_0x2853de[_0x18ea('0xd')];}return Array[_0x18ea('0x2e')](_0x113a75);}(_0x2ce752));});};}_0x22060b['enableCommand'](_0x18ea('0x31'),_0x286584(_0x18ea('0x31'))),_0x22060b['enableCommand'](_0x18ea('0x1d'),_0x286584(_0x18ea('0x1d'))),_0x504784&&_0x22060b[_0x18ea('0xc')](_0x18ea('0x23'),_0x286584(_0x18ea('0x23'))),_0x22060b[_0x18ea('0xc')]('indentList',_0x56f6ad(_0x18ea('0x34'))),_0x22060b[_0x18ea('0xc')](_0x18ea('0x3f'),_0x56f6ad(_0x18ea('0x3f'))),_0x504784&&_0x22060b['enableCommand'](_0x18ea('0x2'),()=>{const _0x71930e=_0x36a5fb[_0x18ea('0x39')]['get'](_0x18ea('0x2')),_0x51eb1d=Array['from'](_0x71930e[_0x18ea('0x29')]);_0x51eb1d[_0x18ea('0x1e')](_0x145db7=>_0x145db7['getAttribute']('todoListChecked')!=_0x71930e[_0x18ea('0x2b')]),_0x36a5fb[_0x18ea('0x38')]['change'](()=>{for(const _0x1706d9 of _0x51eb1d)_0x22060b[_0x18ea('0x2a')](_0x1706d9,{'commandName':_0x18ea('0x2'),'commandParams':[{'forceValue':!_0x71930e['value']}]});});}),_0x22060b['_descriptionFactory'][_0x18ea('0x2f')]('listItem',_0x274796=>_0x19ae03(_0x3ec3d1,_0x18ea('0x28'),_0x274796)),_0x22060b['_descriptionFactory'][_0x18ea('0x10')](_0x55e60f=>{const {data:_0x36c2fc}=_0x55e60f;if(_0x36c2fc){if(_0x18ea('0x31')==_0x36c2fc[_0x18ea('0x20')]||_0x18ea('0x1d')==_0x36c2fc['commandName']||'todoList'==_0x36c2fc['commandName'])switch(_0x36c2fc['commandName'][_0x18ea('0x11')](_0x18ea('0x3e'),'')){case _0x18ea('0x14'):return _0xeb9918(_0x19ae03(_0x3ec3d1,_0x18ea('0x18')));case _0x18ea('0x2d'):return _0xeb9918(_0x19ae03(_0x3ec3d1,_0x18ea('0x8')));case _0x18ea('0x3d'):return _0xeb9918(_0x19ae03(_0x3ec3d1,_0x18ea('0x4')));}if(_0x18ea('0x34')==_0x36c2fc[_0x18ea('0x20')])return{'type':'format','content':_0x19ae03(_0x3ec3d1,'*Indent:*\x20%0',_0x19ae03(_0x3ec3d1,_0x18ea('0x28')))};if(_0x18ea('0x3f')==_0x36c2fc[_0x18ea('0x20')])return{'type':'format','content':_0x19ae03(_0x3ec3d1,_0x18ea('0x33'),_0x19ae03(_0x3ec3d1,_0x18ea('0x28')))};if('checkTodoList'==_0x36c2fc[_0x18ea('0x20')])return _0x36c2fc['commandParams'][0x0]['forceValue']?{'type':_0x18ea('0x1b'),'content':_0x19ae03(_0x3ec3d1,_0x18ea('0x30'))}:{'type':'format','content':_0x19ae03(_0x3ec3d1,_0x18ea('0x3'))};}function _0xeb9918(_0x568a19){return{'type':_0x18ea('0x1b'),'content':_0x19ae03(_0x3ec3d1,_0x18ea('0x19'),_0x568a19)};}});}}function Pt(_0x5356df){const _0x37e174=_0x5356df['getAttribute'](_0x18ea('0x5'));if(0x0==_0x37e174)return _0x5356df;let _0x32b3f5=_0x5356df;for(;_0x5356df[_0x18ea('0x15')]&&_0x5356df['previousSibling']['is'](_0x18ea('0x16'),'listItem');){const _0x214f72=_0x5356df[_0x18ea('0x15')][_0x18ea('0x21')](_0x18ea('0x5'));if(_0x214f72==_0x37e174)_0x32b3f5=_0x5356df[_0x18ea('0x15')];else{if(_0x214f72<_0x37e174)break;}_0x5356df=_0x5356df[_0x18ea('0x15')];}return _0x32b3f5;}function Gt(_0x2771d3){const _0x514cff=[];if(_0x2771d3['is'](_0x18ea('0x16'),_0x18ea('0x24'))&&_0x2771d3[_0x18ea('0x21')](_0x18ea('0x5'))>0x0){let _0xb0414f=_0x2771d3['nextSibling'];for(;_0xb0414f&&'listItem'==_0xb0414f[_0x18ea('0x3a')]&&_0xb0414f[_0x18ea('0x21')](_0x18ea('0x5'))==_0x2771d3['getAttribute'](_0x18ea('0x5'));)_0x514cff[_0x18ea('0x25')](_0xb0414f),_0xb0414f=_0xb0414f[_0x18ea('0xd')];}return _0x514cff;}
23
+ const _0x51d3=['commandName','ListEditing','replace','length','_selectedElements','get','add','*Check\x20item*','forceValue','*Indent:*\x20%0','todoList','plugins','ELEMENT_NUMBERED_LIST','outdentList','value','ELEMENT_LIST_ITEM','TrackChangesEditing','_descriptionFactory','indentList','format','listIndent','todoListChecked','has','paragraph','listItem','ELEMENT_TODO_LIST','locale','before','todo','checkTodoList','afterInit','schema','findIndex','document','getSelectedBlocks','numberedList','slice','markBlockFormat','registerDescriptionCallback','createPositionAt','previousSibling','model','commands','isObject','List','from','enableCommand','numbered','bulletedList','parent','listType','getAttribute','checkChild','name','end','change','ELEMENT_BULLETED_LIST','element','nextSibling','bulleted','createRange'];(function(_0xd8699f,_0x51d3ad){const _0x4cdcb4=function(_0x2644e0){while(--_0x2644e0){_0xd8699f['push'](_0xd8699f['shift']());}};_0x4cdcb4(++_0x51d3ad);}(_0x51d3,0x9c));const _0x4cdc=function(_0xd8699f,_0x51d3ad){_0xd8699f=_0xd8699f-0x0;let _0x4cdcb4=_0x51d3[_0xd8699f];return _0x4cdcb4;};import{Plugin as _0x2232da}from'ckeditor5/src/core';import{getTranslation as _0x4399ff}from'../utils/common-translations';export default class it extends _0x2232da{[_0x4cdc('0x39')](){const _0x34ac2e=this['editor'],_0x108159=_0x34ac2e[_0x4cdc('0x35')];if(!_0x34ac2e[_0x4cdc('0x26')][_0x4cdc('0x31')](_0x4cdc('0x1c')))return;const _0x23f0f2=_0x34ac2e['plugins']['get'](_0x4cdc('0x2b')),_0x5b4584=_0x34ac2e[_0x4cdc('0x26')]['has']('TodoListEditing');function _0x194580(_0xefc7c6){return()=>{const _0x46bcee=_0x34ac2e[_0x4cdc('0x7')]['document']['selection'],_0x47ee35=_0x34ac2e[_0x4cdc('0x8')][_0x4cdc('0x20')](_0xefc7c6);if(_0x47ee35[_0x4cdc('0x29')])return void _0x34ac2e['execute'](_0x4cdc('0x32'),{});const _0x1ebefc=_0xefc7c6[_0x4cdc('0x2')](0x0,-0x4),_0xc3ddb6=function(_0x36b40f,_0x5e7605,_0x520b34){let _0x3d4e19=Array[_0x4cdc('0xb')](_0x36b40f)['filter'](_0x5d5ad2=>function(_0x2c7db9,_0x3d7b99){return _0x3d7b99[_0x4cdc('0x12')](_0x2c7db9[_0x4cdc('0xf')],'listItem')&&!_0x3d7b99[_0x4cdc('0x9')](_0x2c7db9);}(_0x5d5ad2,_0x520b34));_0x3d4e19=_0x3d4e19['filter'](_0x55e0e3=>!_0x55e0e3['is'](_0x4cdc('0x17'),_0x4cdc('0x33'))||_0x55e0e3['getAttribute'](_0x4cdc('0x10'))!=_0x5e7605);const _0x5ccc82=new Set();for(const _0x2d906e of _0x3d4e19)_0x2d906e['is'](_0x4cdc('0x17'),_0x4cdc('0x33'))?_0x5ccc82[_0x4cdc('0x21')](Pt(_0x2d906e)):_0x5ccc82[_0x4cdc('0x21')](_0x2d906e);return Array[_0x4cdc('0xb')](_0x5ccc82);}(_0x46bcee[_0x4cdc('0x0')](),_0x1ebefc,_0x34ac2e[_0x4cdc('0x7')][_0x4cdc('0x3a')]);_0x34ac2e[_0x4cdc('0x7')][_0x4cdc('0x15')](()=>{for(const _0x3c2f34 of _0xc3ddb6)_0x23f0f2[_0x4cdc('0x3')](_0x3c2f34,{'commandName':_0xefc7c6,'commandParams':[{'forceValue':!_0x47ee35['value']}],'formatGroupId':'blockName'},Gt(_0x3c2f34));});};}function _0x5263c8(_0x3d159a){return()=>{const _0x4f808b=function(_0x549b34){const _0x48f115=(_0x549b34=Array[_0x4cdc('0xb')](_0x549b34))[_0x4cdc('0x3b')](_0x2849fe=>_0x4cdc('0x33')!=_0x2849fe[_0x4cdc('0x13')]);return _0x48f115>-0x1&&(_0x549b34=_0x549b34[_0x4cdc('0x2')](0x0,_0x48f115)),_0x549b34;}(_0x34ac2e[_0x4cdc('0x7')][_0x4cdc('0x3c')]['selection'][_0x4cdc('0x0')]()),_0x21d9e8=_0x34ac2e[_0x4cdc('0x7')][_0x4cdc('0x1a')](_0x34ac2e[_0x4cdc('0x7')][_0x4cdc('0x5')](_0x4f808b[0x0],_0x4cdc('0x36')),_0x34ac2e[_0x4cdc('0x7')][_0x4cdc('0x5')](_0x4f808b[_0x4f808b[_0x4cdc('0x1e')]-0x1],_0x4cdc('0x14')));_0x34ac2e['model']['change'](()=>{_0x23f0f2['markBlockFormat'](_0x21d9e8,{'commandName':_0x3d159a,'commandParams':[],'formatGroupId':_0x4cdc('0x2f')},function(_0x1045a9){const _0x39d66c=new Set();for(const _0x5846c0 of _0x1045a9){let _0x286edf=_0x5846c0[_0x4cdc('0x18')];for(;_0x286edf&&_0x286edf[_0x4cdc('0x11')](_0x4cdc('0x2f'))>_0x5846c0[_0x4cdc('0x11')](_0x4cdc('0x2f'));)_0x39d66c['add'](_0x286edf),_0x286edf=_0x286edf[_0x4cdc('0x18')];}return Array[_0x4cdc('0xb')](_0x39d66c);}(_0x4f808b));});};}_0x23f0f2['enableCommand'](_0x4cdc('0x1'),_0x194580(_0x4cdc('0x1'))),_0x23f0f2['enableCommand'](_0x4cdc('0xe'),_0x194580(_0x4cdc('0xe'))),_0x5b4584&&_0x23f0f2['enableCommand'](_0x4cdc('0x25'),_0x194580(_0x4cdc('0x25'))),_0x23f0f2['enableCommand'](_0x4cdc('0x2d'),_0x5263c8('indentList')),_0x23f0f2['enableCommand'](_0x4cdc('0x28'),_0x5263c8('outdentList')),_0x5b4584&&_0x23f0f2[_0x4cdc('0xc')](_0x4cdc('0x38'),()=>{const _0x2394b7=_0x34ac2e['commands'][_0x4cdc('0x20')](_0x4cdc('0x38')),_0x5876ca=Array[_0x4cdc('0xb')](_0x2394b7[_0x4cdc('0x1f')]);_0x5876ca['filter'](_0x2c3bac=>_0x2c3bac[_0x4cdc('0x11')](_0x4cdc('0x30'))!=_0x2394b7[_0x4cdc('0x29')]),_0x34ac2e[_0x4cdc('0x7')][_0x4cdc('0x15')](()=>{for(const _0x2847b5 of _0x5876ca)_0x23f0f2[_0x4cdc('0x3')](_0x2847b5,{'commandName':_0x4cdc('0x38'),'commandParams':[{'forceValue':!_0x2394b7[_0x4cdc('0x29')]}]});});}),_0x23f0f2[_0x4cdc('0x2c')]['registerElementLabel'](_0x4cdc('0x33'),_0x558cf3=>_0x4399ff(_0x108159,_0x4cdc('0x2a'),_0x558cf3)),_0x23f0f2[_0x4cdc('0x2c')][_0x4cdc('0x4')](_0x4b7d7f=>{const {data:_0x151a61}=_0x4b7d7f;if(_0x151a61){if(_0x4cdc('0x1')==_0x151a61[_0x4cdc('0x1b')]||_0x4cdc('0xe')==_0x151a61['commandName']||'todoList'==_0x151a61[_0x4cdc('0x1b')])switch(_0x151a61[_0x4cdc('0x1b')][_0x4cdc('0x1d')](_0x4cdc('0xa'),'')){case _0x4cdc('0x19'):return _0x22e5e9(_0x4399ff(_0x108159,_0x4cdc('0x16')));case _0x4cdc('0xd'):return _0x22e5e9(_0x4399ff(_0x108159,_0x4cdc('0x27')));case _0x4cdc('0x37'):return _0x22e5e9(_0x4399ff(_0x108159,_0x4cdc('0x34')));}if(_0x4cdc('0x2d')==_0x151a61[_0x4cdc('0x1b')])return{'type':_0x4cdc('0x2e'),'content':_0x4399ff(_0x108159,_0x4cdc('0x24'),_0x4399ff(_0x108159,'ELEMENT_LIST_ITEM'))};if('outdentList'==_0x151a61[_0x4cdc('0x1b')])return{'type':'format','content':_0x4399ff(_0x108159,'*Outdent:*\x20%0',_0x4399ff(_0x108159,_0x4cdc('0x2a')))};if(_0x4cdc('0x38')==_0x151a61[_0x4cdc('0x1b')])return _0x151a61['commandParams'][0x0][_0x4cdc('0x23')]?{'type':_0x4cdc('0x2e'),'content':_0x4399ff(_0x108159,_0x4cdc('0x22'))}:{'type':_0x4cdc('0x2e'),'content':_0x4399ff(_0x108159,'*Uncheck\x20item*')};}function _0x22e5e9(_0x278dd0){return{'type':_0x4cdc('0x2e'),'content':_0x4399ff(_0x108159,'*Change\x20to:*\x20%0',_0x278dd0)};}});}}function Pt(_0x46bcf0){const _0x9564a8=_0x46bcf0[_0x4cdc('0x11')](_0x4cdc('0x2f'));if(0x0==_0x9564a8)return _0x46bcf0;let _0x18b9bc=_0x46bcf0;for(;_0x46bcf0['previousSibling']&&_0x46bcf0['previousSibling']['is'](_0x4cdc('0x17'),_0x4cdc('0x33'));){const _0x2fb3ee=_0x46bcf0['previousSibling'][_0x4cdc('0x11')]('listIndent');if(_0x2fb3ee==_0x9564a8)_0x18b9bc=_0x46bcf0[_0x4cdc('0x6')];else{if(_0x2fb3ee<_0x9564a8)break;}_0x46bcf0=_0x46bcf0[_0x4cdc('0x6')];}return _0x18b9bc;}function Gt(_0x27812d){const _0x5e5f37=[];if(_0x27812d['is'](_0x4cdc('0x17'),'listItem')&&_0x27812d[_0x4cdc('0x11')](_0x4cdc('0x2f'))>0x0){let _0x4a38e5=_0x27812d[_0x4cdc('0x18')];for(;_0x4a38e5&&_0x4cdc('0x33')==_0x4a38e5['name']&&_0x4a38e5['getAttribute']('listIndent')==_0x27812d[_0x4cdc('0x11')](_0x4cdc('0x2f'));)_0x5e5f37['push'](_0x4a38e5),_0x4a38e5=_0x4a38e5[_0x4cdc('0x18')];}return _0x5e5f37;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xbd21=['get','attribute:url:media','conversion','ELEMENT_MEDIA','dataDowncast','stop','locale','editor','_descriptionFactory','afterInit','has','createEmptyElement','data','showSuggestionHighlights','mediaEmbed','MediaEmbedEditing','TrackChangesEditing','high','enableCommand','media','for','registerElementLabel','plugins','downcastDispatcher'];(function(_0x5e8d34,_0xbd21ec){const _0x2fa1c7=function(_0x4c932a){while(--_0x4c932a){_0x5e8d34['push'](_0x5e8d34['shift']());}};_0x2fa1c7(++_0xbd21ec);}(_0xbd21,0x1f1));const _0x2fa1=function(_0x5e8d34,_0xbd21ec){_0x5e8d34=_0x5e8d34-0x0;let _0x2fa1c7=_0xbd21[_0x5e8d34];return _0x2fa1c7;};import{Plugin as _0x11df80}from'ckeditor5/src/core';import{getTranslation as _0x59c681}from'../utils/common-translations';export default class st extends _0x11df80{[_0x2fa1('0x10')](){const _0x59ba12=this[_0x2fa1('0xe')];if(!_0x59ba12[_0x2fa1('0x5')][_0x2fa1('0x11')](_0x2fa1('0x16')))return;const _0x282149=_0x59ba12[_0x2fa1('0x5')][_0x2fa1('0x7')](_0x2fa1('0x17')),_0x12195a=_0x59ba12[_0x2fa1('0xd')];_0x282149[_0x2fa1('0x1')](_0x2fa1('0x15')),_0x282149[_0x2fa1('0xf')][_0x2fa1('0x4')](_0x2fa1('0x2'),_0x232107=>_0x59c681(_0x12195a,_0x2fa1('0xa'),_0x232107)),_0x59ba12[_0x2fa1('0x9')][_0x2fa1('0x3')](_0x2fa1('0xb'))['elementToElement']({'model':'media','view':(_0x45db19,{writer:_0x2314f3,options:_0x43ebe2})=>{if(_0x43ebe2[_0x2fa1('0x14')])return _0x2314f3[_0x2fa1('0x12')]('div');},'converterPriority':_0x2fa1('0x0')}),_0x59ba12[_0x2fa1('0x13')][_0x2fa1('0x6')]['on'](_0x2fa1('0x8'),(_0x3b8ba4,_0x53ec32,_0x46b5c5)=>{_0x46b5c5['options']['showSuggestionHighlights']&&_0x3b8ba4[_0x2fa1('0xc')]();},{'priority':'high'});}}
23
+ const _0xc8ed=['MediaEmbedEditing','ELEMENT_MEDIA','elementToElement','editor','div','downcastDispatcher','high','registerElementLabel','data','media','attribute:url:media','_descriptionFactory','enableCommand','get','locale','plugins','has','options','showSuggestionHighlights','mediaEmbed'];(function(_0x42792a,_0xc8ed18){const _0x5f4231=function(_0x1f54c3){while(--_0x1f54c3){_0x42792a['push'](_0x42792a['shift']());}};_0x5f4231(++_0xc8ed18);}(_0xc8ed,0x17b));const _0x5f42=function(_0x42792a,_0xc8ed18){_0x42792a=_0x42792a-0x0;let _0x5f4231=_0xc8ed[_0x42792a];return _0x5f4231;};import{Plugin as _0x4f80}from'ckeditor5/src/core';import{getTranslation as _0x2041ab}from'../utils/common-translations';export default class st extends _0x4f80{['afterInit'](){const _0x37507=this[_0x5f42('0x4')];if(!_0x37507[_0x5f42('0x10')][_0x5f42('0x11')](_0x5f42('0x1')))return;const _0x5d6e08=_0x37507[_0x5f42('0x10')][_0x5f42('0xe')]('TrackChangesEditing'),_0x849283=_0x37507[_0x5f42('0xf')];_0x5d6e08[_0x5f42('0xd')](_0x5f42('0x0')),_0x5d6e08[_0x5f42('0xc')][_0x5f42('0x8')](_0x5f42('0xa'),_0x4c364a=>_0x2041ab(_0x849283,_0x5f42('0x2'),_0x4c364a)),_0x37507['conversion']['for']('dataDowncast')[_0x5f42('0x3')]({'model':_0x5f42('0xa'),'view':(_0x1b41ef,{writer:_0x58ebda,options:_0x1c89cb})=>{if(_0x1c89cb[_0x5f42('0x13')])return _0x58ebda['createEmptyElement'](_0x5f42('0x5'));},'converterPriority':_0x5f42('0x7')}),_0x37507[_0x5f42('0x9')][_0x5f42('0x6')]['on'](_0x5f42('0xb'),(_0x2fe47c,_0x242e2f,_0x173d77)=>{_0x173d77[_0x5f42('0x12')][_0x5f42('0x13')]&&_0x2fe47c['stop']();},{'priority':_0x5f42('0x7')});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3100=['TrackChangesEditing','get','MentionEditing','plugins','afterInit','has','enableCommand','mention'];(function(_0x2f0dd4,_0x31007c){const _0x4d5bb2=function(_0x55398d){while(--_0x55398d){_0x2f0dd4['push'](_0x2f0dd4['shift']());}};_0x4d5bb2(++_0x31007c);}(_0x3100,0x129));const _0x4d5b=function(_0x2f0dd4,_0x31007c){_0x2f0dd4=_0x2f0dd4-0x0;let _0x4d5bb2=_0x3100[_0x2f0dd4];return _0x4d5bb2;};import{Plugin as _0x571e4e}from'ckeditor5/src/core';export default class et extends _0x571e4e{[_0x4d5b('0x3')](){const _0x5d163e=this['editor'];_0x5d163e[_0x4d5b('0x2')][_0x4d5b('0x4')](_0x4d5b('0x1'))&&_0x5d163e[_0x4d5b('0x2')][_0x4d5b('0x0')](_0x4d5b('0x7'))[_0x4d5b('0x5')](_0x4d5b('0x6'));}}
23
+ const _0x26f1=['enableCommand','afterInit','plugins','mention'];(function(_0x3afe90,_0x26f1bb){const _0x144329=function(_0x28ecd5){while(--_0x28ecd5){_0x3afe90['push'](_0x3afe90['shift']());}};_0x144329(++_0x26f1bb);}(_0x26f1,0x15c));const _0x1443=function(_0x3afe90,_0x26f1bb){_0x3afe90=_0x3afe90-0x0;let _0x144329=_0x26f1[_0x3afe90];return _0x144329;};import{Plugin as _0x575f5d}from'ckeditor5/src/core';export default class et extends _0x575f5d{[_0x1443('0x1')](){const _0x49fbd1=this['editor'];_0x49fbd1[_0x1443('0x2')]['has']('MentionEditing')&&_0x49fbd1[_0x1443('0x2')]['get']('TrackChangesEditing')[_0x1443('0x0')](_0x1443('0x3'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x31dd=['locale','plugins','enableCommand','editor','afterInit','registerElementLabel','PageBreakEditing','_descriptionFactory','TrackChangesEditing','pageBreak','get'];(function(_0x1d91f4,_0x31ddb9){const _0x212de7=function(_0x10e9a4){while(--_0x10e9a4){_0x1d91f4['push'](_0x1d91f4['shift']());}};_0x212de7(++_0x31ddb9);}(_0x31dd,0xe0));const _0x212d=function(_0x1d91f4,_0x31ddb9){_0x1d91f4=_0x1d91f4-0x0;let _0x212de7=_0x31dd[_0x1d91f4];return _0x212de7;};import{Plugin as _0x3ff052}from'ckeditor5/src/core';import{getTranslation as _0x1c0301}from'../utils/common-translations';export default class nt extends _0x3ff052{[_0x212d('0x0')](){const _0x329080=this[_0x212d('0xa')];if(!_0x329080[_0x212d('0x8')]['has'](_0x212d('0x2')))return;_0x329080[_0x212d('0x8')][_0x212d('0x6')](_0x212d('0x4'))[_0x212d('0x9')](_0x212d('0x5'));const _0x5b04ae=_0x329080['plugins']['get']('TrackChangesEditing'),_0x108a19=_0x329080[_0x212d('0x7')];_0x5b04ae[_0x212d('0x3')][_0x212d('0x1')]('pageBreak',_0x11dfd3=>_0x1c0301(_0x108a19,'ELEMENT_PAGE_BREAK',_0x11dfd3));}}
23
+ const _0x1d72=['plugins','afterInit','pageBreak','get','ELEMENT_PAGE_BREAK','locale','editor','TrackChangesEditing','PageBreakEditing','_descriptionFactory','registerElementLabel','has'];(function(_0x1fda1c,_0x1d72d2){const _0x5d8c28=function(_0x291ab6){while(--_0x291ab6){_0x1fda1c['push'](_0x1fda1c['shift']());}};_0x5d8c28(++_0x1d72d2);}(_0x1d72,0xe9));const _0x5d8c=function(_0x1fda1c,_0x1d72d2){_0x1fda1c=_0x1fda1c-0x0;let _0x5d8c28=_0x1d72[_0x1fda1c];return _0x5d8c28;};import{Plugin as _0x58315f}from'ckeditor5/src/core';import{getTranslation as _0x27b9d4}from'../utils/common-translations';export default class nt extends _0x58315f{[_0x5d8c('0x8')](){const _0x13f224=this[_0x5d8c('0x1')];if(!_0x13f224[_0x5d8c('0x7')][_0x5d8c('0x6')](_0x5d8c('0x3')))return;_0x13f224[_0x5d8c('0x7')][_0x5d8c('0xa')](_0x5d8c('0x2'))['enableCommand'](_0x5d8c('0x9'));const _0x5a12f7=_0x13f224[_0x5d8c('0x7')]['get'](_0x5d8c('0x2')),_0x2b326c=_0x13f224[_0x5d8c('0x0')];_0x5a12f7[_0x5d8c('0x4')][_0x5d8c('0x5')](_0x5d8c('0x9'),_0x41b162=>_0x27b9d4(_0x2b326c,_0x5d8c('0xb'),_0x41b162));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xc67b=['registerDescriptionCallback','plugins','get','name','schema','paragraph','mapper','downcastDispatcher','insertion','insert','TrackChangesEditing','commandName','insertParagraph','model','options','toViewPosition','format','markerRange','enableCommand','*Change\x20to:*\x20%0','isTouching','parent','selection','nodeAfter','ck-suggestion-marker--active','$text','activeMarkers','_descriptionFactory','filter','start','locale','editing','afterInit','includes','Paragraph','getItemLabel','ELEMENT_PARAGRAPH','markerName','createUIElement','bindElementToMarker','*Insert:*\x20%0','addMarker:suggestion:insertion','getSelectedBlocks','change','writer','markBlockFormat','highest','getFirstRange','has','checkChild','document','isBlock','data','isLimit','editor'];(function(_0xc99b73,_0xc67ba3){const _0x64fb00=function(_0x3747cb){while(--_0x3747cb){_0xc99b73['push'](_0xc99b73['shift']());}};_0x64fb00(++_0xc67ba3);}(_0xc67b,0x98));const _0x64fb=function(_0xc99b73,_0xc67ba3){_0xc99b73=_0xc99b73-0x0;let _0x64fb00=_0xc67b[_0xc99b73];return _0x64fb00;};import{Plugin as _0x183f0f}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x208d94}from'./utils';import{getTranslation as _0x3dacf3}from'../utils/common-translations';export default class ot extends _0x183f0f{[_0x64fb('0x2d')](){const _0x46609b=this[_0x64fb('0xc')];if(!_0x46609b['plugins'][_0x64fb('0x6')](_0x64fb('0x2f')))return;const _0x5ee92c=_0x46609b[_0x64fb('0x2b')],_0x5998ac=_0x46609b[_0x64fb('0xe')][_0x64fb('0xf')](_0x64fb('0x17'));_0x5998ac[_0x64fb('0x28')]['registerElementLabel'](_0x64fb('0x12'),_0x1b2cfa=>_0x3dacf3(_0x5ee92c,'ELEMENT_PARAGRAPH',_0x1b2cfa)),_0x5998ac[_0x64fb('0x1f')]('paragraph',(_0xe2a68c,_0x22178d={})=>{const _0x4a9e4a=_0x46609b[_0x64fb('0x1a')][_0x64fb('0x8')],_0x59f27a=_0x22178d[_0x64fb('0x23')]||_0x4a9e4a[_0x64fb('0x23')],_0x2bdf13=Array['from'](_0x59f27a[_0x64fb('0x0')]())[_0x64fb('0x29')](_0x5cbd1d=>function(_0x385c5b,_0x53aeff){return _0x53aeff['checkChild'](_0x385c5b[_0x64fb('0x22')],_0x64fb('0x12'))&&!_0x53aeff['isObject'](_0x385c5b)&&'paragraph'!=_0x385c5b[_0x64fb('0x10')];}(_0x5cbd1d,this[_0x64fb('0xc')][_0x64fb('0x1a')][_0x64fb('0x11')]));_0x46609b['model'][_0x64fb('0x1')](()=>{for(const _0x16ce31 of _0x2bdf13)_0x5998ac[_0x64fb('0x3')](_0x16ce31,{'commandName':'paragraph','commandParams':[],'formatGroupId':'blockName'},_0x208d94(_0x16ce31));});}),_0x5998ac[_0x64fb('0x28')][_0x64fb('0xd')](_0xe28c7e=>{const {data:_0x53f822}=_0xe28c7e;if(_0x53f822&&'paragraph'==_0x53f822[_0x64fb('0x18')])return{'type':_0x64fb('0x1d'),'content':_0x3dacf3(_0x5ee92c,_0x64fb('0x20'),_0x3dacf3(_0x5ee92c,_0x64fb('0x31')))};}),_0x5998ac[_0x64fb('0x1f')](_0x64fb('0x19')),_0x46609b[_0x64fb('0x2c')][_0x64fb('0x14')]['on'](_0x64fb('0x36'),tr(_0x46609b),{'priority':_0x64fb('0x4')}),_0x46609b[_0x64fb('0xa')]['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x354fd9,_0x145ccc,_0x49f575)=>{_0x49f575[_0x64fb('0x1b')]['showSuggestionHighlights']&&tr(_0x46609b,{'showActiveMarker':!0x1})(_0x354fd9,_0x145ccc,_0x49f575);},{'priority':_0x64fb('0x4')});const _0x25bd2d=_0x5998ac[_0x64fb('0x28')];_0x25bd2d[_0x64fb('0xd')](_0x10da00=>{if(_0x64fb('0x15')!==_0x10da00['type'])return;const {start:_0x1346ea,end:_0x42e4b0}=_0x10da00[_0x64fb('0x5')]();if(!_0x1346ea[_0x64fb('0x21')](_0x42e4b0)||!_0x1346ea['nodeAfter'])return;const _0x3d459f=_0x46609b[_0x64fb('0x1a')][_0x64fb('0x11')],_0x2a2836=_0x1346ea[_0x64fb('0x24')];return _0x3d459f[_0x64fb('0x9')](_0x2a2836)&&!_0x3d459f[_0x64fb('0xb')](_0x2a2836)&&_0x3d459f[_0x64fb('0x7')](_0x2a2836,_0x64fb('0x26'))?{'type':_0x64fb('0x15'),'content':_0x3dacf3(_0x5ee92c,_0x64fb('0x35'),_0x25bd2d[_0x64fb('0x30')](_0x2a2836,0x1))}:void 0x0;});}}function tr(_0x334d93,{showActiveMarker:_0x51292e=!0x0}={}){return(_0x388985,_0x2aa85f,_0x4341ea)=>{const _0x384894=_0x334d93[_0x64fb('0xe')][_0x64fb('0xf')](_0x64fb('0x17')),_0x155904=_0x2aa85f['markerRange'][_0x64fb('0x2a')],_0x61e22b=_0x2aa85f[_0x64fb('0x1e')]['end'],_0x48b80d=_0x334d93[_0x64fb('0x1a')][_0x64fb('0x11')];if(!_0x155904[_0x64fb('0x21')](_0x61e22b)||!_0x155904[_0x64fb('0x24')])return;const _0x597502=_0x155904[_0x64fb('0x24')];if(_0x48b80d[_0x64fb('0x9')](_0x597502)&&!_0x48b80d[_0x64fb('0xb')](_0x597502)&&_0x48b80d[_0x64fb('0x7')](_0x597502,_0x64fb('0x26'))){if(!_0x4341ea['consumable']['consume'](_0x2aa85f[_0x64fb('0x1e')],_0x388985[_0x64fb('0x10')]))return;const _0x42646d=_0x4341ea['writer'][_0x64fb('0x33')]('span',{'class':'ck-suggestion-marker-split'}),_0x489e0d=_0x4341ea[_0x64fb('0x13')][_0x64fb('0x1c')](_0x61e22b);_0x51292e&&_0x384894[_0x64fb('0x27')][_0x64fb('0x2e')](_0x2aa85f[_0x64fb('0x32')])&&_0x4341ea[_0x64fb('0x2')]['addClass'](_0x64fb('0x25'),_0x42646d),_0x4341ea[_0x64fb('0x2')][_0x64fb('0x16')](_0x489e0d,_0x42646d),_0x4341ea[_0x64fb('0x13')][_0x64fb('0x34')](_0x42646d,_0x2aa85f[_0x64fb('0x32')]);}};}
23
+ const _0x3a4d=['ck-suggestion-marker--active','showSuggestionHighlights','bindElementToMarker','start','$text','registerDescriptionCallback','mapper','isTouching','paragraph','editor','enableCommand','document','filter','options','ck-suggestion-marker-split','has','*Change\x20to:*\x20%0','ELEMENT_PARAGRAPH','model','_descriptionFactory','afterInit','format','from','highest','plugins','nodeAfter','toViewPosition','checkChild','blockName','addMarker:suggestion:insertion','isLimit','getFirstRange','isObject','markerRange','span','writer','*Insert:*\x20%0','markBlockFormat','isBlock','name','locale','downcastDispatcher','insertion','end','getSelectedBlocks','insertParagraph','includes','TrackChangesEditing','selection','createUIElement','schema','get'];(function(_0x3d31f0,_0x3a4dbb){const _0x773558=function(_0x289731){while(--_0x289731){_0x3d31f0['push'](_0x3d31f0['shift']());}};_0x773558(++_0x3a4dbb);}(_0x3a4d,0x165));const _0x7735=function(_0x3d31f0,_0x3a4dbb){_0x3d31f0=_0x3d31f0-0x0;let _0x773558=_0x3a4d[_0x3d31f0];return _0x773558;};import{Plugin as _0x578f45}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x335996}from'./utils';import{getTranslation as _0x2f5165}from'../utils/common-translations';export default class ot extends _0x578f45{[_0x7735('0x1b')](){const _0x56433d=this[_0x7735('0x10')];if(!_0x56433d[_0x7735('0x1f')][_0x7735('0x16')]('Paragraph'))return;const _0x653d47=_0x56433d[_0x7735('0x2f')],_0x558937=_0x56433d['plugins']['get']('TrackChangesEditing');_0x558937[_0x7735('0x1a')]['registerElementLabel'](_0x7735('0xf'),_0x581b50=>_0x2f5165(_0x653d47,_0x7735('0x18'),_0x581b50)),_0x558937[_0x7735('0x11')](_0x7735('0xf'),(_0x1013bd,_0x31fc02={})=>{const _0x23a3a4=_0x56433d['model'][_0x7735('0x12')],_0x4f9688=_0x31fc02[_0x7735('0x3')]||_0x23a3a4[_0x7735('0x3')],_0x5c1876=Array[_0x7735('0x1d')](_0x4f9688[_0x7735('0x33')]())[_0x7735('0x13')](_0x2f3179=>function(_0x1e64f9,_0x55e7d3){return _0x55e7d3['checkChild'](_0x1e64f9['parent'],_0x7735('0xf'))&&!_0x55e7d3[_0x7735('0x27')](_0x1e64f9)&&_0x7735('0xf')!=_0x1e64f9[_0x7735('0x2e')];}(_0x2f3179,this['editor'][_0x7735('0x19')][_0x7735('0x5')]));_0x56433d[_0x7735('0x19')]['change'](()=>{for(const _0x3538f8 of _0x5c1876)_0x558937[_0x7735('0x2c')](_0x3538f8,{'commandName':'paragraph','commandParams':[],'formatGroupId':_0x7735('0x23')},_0x335996(_0x3538f8));});}),_0x558937[_0x7735('0x1a')][_0x7735('0xc')](_0xb8e99d=>{const {data:_0x24b270}=_0xb8e99d;if(_0x24b270&&'paragraph'==_0x24b270['commandName'])return{'type':_0x7735('0x1c'),'content':_0x2f5165(_0x653d47,_0x7735('0x17'),_0x2f5165(_0x653d47,_0x7735('0x18')))};}),_0x558937[_0x7735('0x11')](_0x7735('0x0')),_0x56433d['editing'][_0x7735('0x30')]['on'](_0x7735('0x24'),tr(_0x56433d),{'priority':'highest'}),_0x56433d['data'][_0x7735('0x30')]['on'](_0x7735('0x24'),(_0x4b1b60,_0x41850d,_0x29e671)=>{_0x29e671[_0x7735('0x14')][_0x7735('0x8')]&&tr(_0x56433d,{'showActiveMarker':!0x1})(_0x4b1b60,_0x41850d,_0x29e671);},{'priority':_0x7735('0x1e')});const _0x57127e=_0x558937[_0x7735('0x1a')];_0x57127e[_0x7735('0xc')](_0x25bfd9=>{if('insertion'!==_0x25bfd9['type'])return;const {start:_0x135ee8,end:_0x52566a}=_0x25bfd9[_0x7735('0x26')]();if(!_0x135ee8[_0x7735('0xe')](_0x52566a)||!_0x135ee8[_0x7735('0x20')])return;const _0x5777eb=_0x56433d['model'][_0x7735('0x5')],_0x4ab628=_0x135ee8['nodeAfter'];return _0x5777eb[_0x7735('0x2d')](_0x4ab628)&&!_0x5777eb[_0x7735('0x25')](_0x4ab628)&&_0x5777eb[_0x7735('0x22')](_0x4ab628,_0x7735('0xb'))?{'type':_0x7735('0x31'),'content':_0x2f5165(_0x653d47,_0x7735('0x2b'),_0x57127e['getItemLabel'](_0x4ab628,0x1))}:void 0x0;});}}function tr(_0x592aaf,{showActiveMarker:_0x5c6476=!0x0}={}){return(_0x351d5e,_0x5ce843,_0xc84e7)=>{const _0x3ddfdf=_0x592aaf[_0x7735('0x1f')][_0x7735('0x6')](_0x7735('0x2')),_0x3c07cd=_0x5ce843[_0x7735('0x28')][_0x7735('0xa')],_0xc58669=_0x5ce843[_0x7735('0x28')][_0x7735('0x32')],_0x46117e=_0x592aaf[_0x7735('0x19')]['schema'];if(!_0x3c07cd[_0x7735('0xe')](_0xc58669)||!_0x3c07cd[_0x7735('0x20')])return;const _0x58df38=_0x3c07cd[_0x7735('0x20')];if(_0x46117e[_0x7735('0x2d')](_0x58df38)&&!_0x46117e[_0x7735('0x25')](_0x58df38)&&_0x46117e[_0x7735('0x22')](_0x58df38,_0x7735('0xb'))){if(!_0xc84e7['consumable']['consume'](_0x5ce843[_0x7735('0x28')],_0x351d5e[_0x7735('0x2e')]))return;const _0x2e51ac=_0xc84e7[_0x7735('0x2a')][_0x7735('0x4')](_0x7735('0x29'),{'class':_0x7735('0x15')}),_0x358124=_0xc84e7[_0x7735('0xd')][_0x7735('0x21')](_0xc58669);_0x5c6476&&_0x3ddfdf['activeMarkers'][_0x7735('0x1')](_0x5ce843['markerName'])&&_0xc84e7['writer']['addClass'](_0x7735('0x7'),_0x2e51ac),_0xc84e7[_0x7735('0x2a')]['insert'](_0x358124,_0x2e51ac),_0xc84e7['mapper'][_0x7735('0x9')](_0x2e51ac,_0x5ce843['markerName']);}};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x20fa=['getItems','removeFormat','get','change','document','getAttributes','markInlineFormat','format','afterInit','registerDescriptionCallback','plugins','*Remove\x20all\x20formatting*','createRangeOn','enableCommand','editor','selection','locale','getAttributeProperties','getRanges','isCollapsed','schema','from','isFormatting','_descriptionFactory','model','RemoveFormatEditing'];(function(_0x23b4fd,_0x20fa8f){const _0x414e45=function(_0x10db21){while(--_0x10db21){_0x23b4fd['push'](_0x23b4fd['shift']());}};_0x414e45(++_0x20fa8f);}(_0x20fa,0xfa));const _0x414e=function(_0x23b4fd,_0x20fa8f){_0x23b4fd=_0x23b4fd-0x0;let _0x414e45=_0x20fa[_0x23b4fd];return _0x414e45;};import{Plugin as _0x5e54f1}from'ckeditor5/src/core';import{getTranslation as _0x5c38f3}from'../utils/common-translations';export default class rt extends _0x5e54f1{[_0x414e('0x12')](){const _0x30a6d3=this[_0x414e('0x18')];if(!_0x30a6d3[_0x414e('0x14')]['has'](_0x414e('0x9')))return;const _0x46f738=_0x30a6d3['plugins'][_0x414e('0xc')]('TrackChangesEditing');_0x46f738[_0x414e('0x17')](_0x414e('0xb'),_0x3e392d=>{const _0x43a265=_0x30a6d3['model'][_0x414e('0xe')][_0x414e('0x19')];_0x43a265[_0x414e('0x3')]?_0x3e392d():_0x30a6d3[_0x414e('0x8')][_0x414e('0xd')](()=>{const _0x2b1228=Array[_0x414e('0x5')](_0x43a265[_0x414e('0x2')]());for(const _0x9f52b7 of _0x2b1228)for(const _0x436b54 of _0x9f52b7[_0x414e('0xa')]())to(_0x436b54,_0x30a6d3['model'][_0x414e('0x4')])&&_0x46f738[_0x414e('0x10')](_0x30a6d3[_0x414e('0x8')][_0x414e('0x16')](_0x436b54),{'commandName':_0x414e('0xb'),'commandParams':[]});});}),_0x46f738[_0x414e('0x7')][_0x414e('0x13')](_0x581219=>{const {data:_0x11d872}=_0x581219;if(_0x11d872&&_0x414e('0xb')==_0x11d872['commandName'])return{'type':_0x414e('0x11'),'content':_0x5c38f3(_0x30a6d3[_0x414e('0x0')],_0x414e('0x15'))};});}}function to(_0x1aafe3,_0x5c71c5){for(const [_0x49eb75]of _0x1aafe3[_0x414e('0xf')]()){const _0x199c2=_0x5c71c5[_0x414e('0x1')](_0x49eb75);if(_0x199c2&&_0x199c2[_0x414e('0x6')])return!0x0;}return!0x1;}
23
+ const _0x2759=['getRanges','removeFormat','has','markInlineFormat','document','afterInit','model','from','getAttributes','format','enableCommand','plugins','createRangeOn','getItems','_descriptionFactory','commandName','TrackChangesEditing','RemoveFormatEditing','isCollapsed','getAttributeProperties','*Remove\x20all\x20formatting*','registerDescriptionCallback','locale'];(function(_0xfdea8,_0x2759ec){const _0x13efe9=function(_0x14621c){while(--_0x14621c){_0xfdea8['push'](_0xfdea8['shift']());}};_0x13efe9(++_0x2759ec);}(_0x2759,0x68));const _0x13ef=function(_0xfdea8,_0x2759ec){_0xfdea8=_0xfdea8-0x0;let _0x13efe9=_0x2759[_0xfdea8];return _0x13efe9;};import{Plugin as _0x403bfc}from'ckeditor5/src/core';import{getTranslation as _0x2667a2}from'../utils/common-translations';export default class rt extends _0x403bfc{[_0x13ef('0x10')](){const _0x1707c7=this['editor'];if(!_0x1707c7[_0x13ef('0x16')][_0x13ef('0xd')](_0x13ef('0x5')))return;const _0x4b944e=_0x1707c7[_0x13ef('0x16')]['get'](_0x13ef('0x4'));_0x4b944e[_0x13ef('0x15')]('removeFormat',_0x5c9887=>{const _0x46387e=_0x1707c7[_0x13ef('0x11')][_0x13ef('0xf')]['selection'];_0x46387e[_0x13ef('0x6')]?_0x5c9887():_0x1707c7['model']['change'](()=>{const _0xe0e98f=Array[_0x13ef('0x12')](_0x46387e[_0x13ef('0xb')]());for(const _0x4cbdae of _0xe0e98f)for(const _0x294cee of _0x4cbdae[_0x13ef('0x1')]())to(_0x294cee,_0x1707c7[_0x13ef('0x11')]['schema'])&&_0x4b944e[_0x13ef('0xe')](_0x1707c7[_0x13ef('0x11')][_0x13ef('0x0')](_0x294cee),{'commandName':_0x13ef('0xc'),'commandParams':[]});});}),_0x4b944e[_0x13ef('0x2')][_0x13ef('0x9')](_0x35eb8d=>{const {data:_0x464fa4}=_0x35eb8d;if(_0x464fa4&&_0x13ef('0xc')==_0x464fa4[_0x13ef('0x3')])return{'type':_0x13ef('0x14'),'content':_0x2667a2(_0x1707c7[_0x13ef('0xa')],_0x13ef('0x8'))};});}}function to(_0x19a99a,_0x50a0b6){for(const [_0x191066]of _0x19a99a[_0x13ef('0x13')]()){const _0x4319cb=_0x50a0b6[_0x13ef('0x7')](_0x191066);if(_0x4319cb&&_0x4319cb['isFormatting'])return!0x0;}return!0x1;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x593d=['enableCommand','editor','get','trackChanges','acceptSelectedSuggestions','discardAllSuggestions','TrackChangesEditing','discardSuggestion','plugins','RestrictedEditingModeEditing','goToPreviousRestrictedEditingException','acceptSuggestion','afterInit'];(function(_0xa7d67f,_0x593d1b){const _0x26419c=function(_0x46d71c){while(--_0x46d71c){_0xa7d67f['push'](_0xa7d67f['shift']());}};_0x26419c(++_0x593d1b);}(_0x593d,0x90));const _0x2641=function(_0xa7d67f,_0x593d1b){_0xa7d67f=_0xa7d67f-0x0;let _0x26419c=_0x593d[_0xa7d67f];return _0x26419c;};import{Plugin as _0x2cd4c9}from'ckeditor5/src/core';export default class at extends _0x2cd4c9{[_0x2641('0xb')](){const _0x583e2a=this[_0x2641('0x0')];if(!_0x583e2a[_0x2641('0x7')]['has'](_0x2641('0x8')))return;const _0x27addb=_0x583e2a['plugins']['get'](_0x2641('0x5'));_0x27addb[_0x2641('0xc')](_0x2641('0x9')),_0x27addb[_0x2641('0xc')]('goToNextRestrictedEditingException');const _0x1b64da=_0x583e2a[_0x2641('0x7')][_0x2641('0x1')](_0x2641('0x8'));_0x1b64da[_0x2641('0xc')](_0x2641('0x2')),_0x1b64da[_0x2641('0xc')](_0x2641('0xa')),_0x1b64da[_0x2641('0xc')](_0x2641('0x6')),_0x1b64da[_0x2641('0xc')]('acceptAllSuggestions'),_0x1b64da['enableCommand'](_0x2641('0x4')),_0x1b64da[_0x2641('0xc')](_0x2641('0x3')),_0x1b64da['enableCommand']('discardSelectedSuggestions');}}
23
+ const _0x52f0=['discardSuggestion','trackChanges','discardAllSuggestions','get','goToNextRestrictedEditingException','plugins','acceptSuggestion','has','goToPreviousRestrictedEditingException','enableCommand','acceptSelectedSuggestions','afterInit'];(function(_0xc5ccb1,_0x52f0aa){const _0x49c51e=function(_0x465522){while(--_0x465522){_0xc5ccb1['push'](_0xc5ccb1['shift']());}};_0x49c51e(++_0x52f0aa);}(_0x52f0,0x97));const _0x49c5=function(_0xc5ccb1,_0x52f0aa){_0xc5ccb1=_0xc5ccb1-0x0;let _0x49c51e=_0x52f0[_0xc5ccb1];return _0x49c51e;};import{Plugin as _0x204f02}from'ckeditor5/src/core';export default class at extends _0x204f02{[_0x49c5('0x4')](){const _0x32d6f5=this['editor'];if(!_0x32d6f5[_0x49c5('0xa')][_0x49c5('0x0')]('RestrictedEditingModeEditing'))return;const _0xa422b8=_0x32d6f5[_0x49c5('0xa')][_0x49c5('0x8')]('TrackChangesEditing');_0xa422b8[_0x49c5('0x2')](_0x49c5('0x1')),_0xa422b8['enableCommand'](_0x49c5('0x9'));const _0x24df51=_0x32d6f5[_0x49c5('0xa')][_0x49c5('0x8')]('RestrictedEditingModeEditing');_0x24df51[_0x49c5('0x2')](_0x49c5('0x6')),_0x24df51[_0x49c5('0x2')](_0x49c5('0xb')),_0x24df51['enableCommand'](_0x49c5('0x5')),_0x24df51[_0x49c5('0x2')]('acceptAllSuggestions'),_0x24df51[_0x49c5('0x2')](_0x49c5('0x7')),_0x24df51[_0x49c5('0x2')](_0x49c5('0x3')),_0x24df51['enableCommand']('discardSelectedSuggestions');}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x50dd=['toViewPosition','addClass','TrackChangesEditing','ELEMENT_LINE_BREAK','addMarker:suggestion:deletion','markerRange','mapper','name','createPositionBefore','ck-suggestion-marker--active','merge','model','get','insert','consumable','plugins','requires','addMarker:suggestion','editing','test','createUIElement','high','downcastDispatcher','markerName','showSuggestionHighlights','includes','bindElementToMarker','shiftEnter','writer','split','_descriptionFactory','enableCommand','deletion','softBreak','init','data'];(function(_0x1288d8,_0x50ddd0){const _0x402991=function(_0x453b96){while(--_0x453b96){_0x1288d8['push'](_0x1288d8['shift']());}};_0x402991(++_0x50ddd0);}(_0x50dd,0xb1));const _0x4029=function(_0x1288d8,_0x50ddd0){_0x1288d8=_0x1288d8-0x0;let _0x402991=_0x50dd[_0x1288d8];return _0x402991;};import{Plugin as _0x2ef8f6}from'ckeditor5/src/core';import{ShiftEnter as _0x17206b}from'ckeditor5/src/enter';import{getTranslation as _0x32e85a}from'../utils/common-translations';export default class ct extends _0x2ef8f6{static get[_0x4029('0x13')](){return[_0x17206b];}[_0x4029('0x1')](){const _0x36817a=this['editor'],_0x5d5f7f=_0x36817a[_0x4029('0x12')][_0x4029('0xf')](_0x4029('0x5'));_0x5d5f7f[_0x4029('0x22')](_0x4029('0x1e')),_0x36817a[_0x4029('0x15')][_0x4029('0x19')]['on']('addMarker:suggestion:insertion',re(_0x36817a),{'priority':_0x4029('0x18')}),_0x36817a['editing'][_0x4029('0x19')]['on'](_0x4029('0x7'),re(_0x36817a),{'priority':_0x4029('0x18')}),_0x36817a[_0x4029('0x2')][_0x4029('0x19')]['on'](_0x4029('0x14'),(_0x58f1fa,_0x5c73f2,_0x25b70b)=>{_0x25b70b['options'][_0x4029('0x1b')]&&re(_0x36817a,{'showActiveMarker':!0x1})(_0x58f1fa,_0x5c73f2,_0x25b70b);}),_0x5d5f7f[_0x4029('0x21')]['registerElementLabel'](_0x4029('0x0'),_0x49015a=>_0x32e85a(_0x36817a['locale'],_0x4029('0x6'),_0x49015a));}}function re(_0x437b8a,{showActiveMarker:_0x236f10=!0x0}={}){return(_0x4a798f,_0x3be1c4,_0xf51a28)=>{const _0x3e66f8=_0x437b8a[_0x4029('0x12')][_0x4029('0xf')]('TrackChangesEditing');if(!_0xf51a28[_0x4029('0x11')][_0x4029('0x16')](_0x3be1c4[_0x4029('0x8')],_0x4a798f[_0x4029('0xa')]))return;const _0x464767=_0x437b8a[_0x4029('0xe')];for(const _0x1a756b of _0x3be1c4[_0x4029('0x8')]['getItems']()){if(!_0x1a756b['is']('element',_0x4029('0x0')))continue;const _0x1bb717=_0x4029('0x23')==_0x3be1c4[_0x4029('0x1a')][_0x4029('0x20')](':')[0x1]?_0x4029('0xd'):'split',_0x5ddf4d=_0xf51a28['writer'][_0x4029('0x17')]('span',{'class':'ck-suggestion-marker-'+_0x1bb717}),_0x3cb47e=_0xf51a28[_0x4029('0x9')][_0x4029('0x3')](_0x464767[_0x4029('0xb')](_0x1a756b));_0x236f10&&_0x3e66f8['activeMarkers'][_0x4029('0x1c')](_0x3be1c4[_0x4029('0x1a')])&&_0xf51a28[_0x4029('0x1f')][_0x4029('0x4')](_0x4029('0xc'),_0x5ddf4d),_0xf51a28[_0x4029('0x1f')][_0x4029('0x10')](_0x3cb47e,_0x5ddf4d),_0xf51a28[_0x4029('0x9')][_0x4029('0x1d')](_0x5ddf4d,_0x3be1c4['markerName']);}};}
23
+ const _0x1d16=['ck-suggestion-marker-','createPositionBefore','init','shiftEnter','activeMarkers','addClass','bindElementToMarker','insert','softBreak','locale','test','merge','data','split','mapper','writer','TrackChangesEditing','addMarker:suggestion','addMarker:suggestion:deletion','markerRange','get','_descriptionFactory','addMarker:suggestion:insertion','editing','plugins','options','showSuggestionHighlights','includes','getItems','model','editor','createUIElement','downcastDispatcher','ELEMENT_LINE_BREAK','markerName','toViewPosition','high'];(function(_0x183011,_0x1d16fb){const _0x257008=function(_0x55110d){while(--_0x55110d){_0x183011['push'](_0x183011['shift']());}};_0x257008(++_0x1d16fb);}(_0x1d16,0xc9));const _0x2570=function(_0x183011,_0x1d16fb){_0x183011=_0x183011-0x0;let _0x257008=_0x1d16[_0x183011];return _0x257008;};import{Plugin as _0x4649ed}from'ckeditor5/src/core';import{ShiftEnter as _0x161282}from'ckeditor5/src/enter';import{getTranslation as _0x1dd331}from'../utils/common-translations';export default class ct extends _0x4649ed{static get['requires'](){return[_0x161282];}[_0x2570('0x17')](){const _0x30b654=this[_0x2570('0xe')],_0x24af68=_0x30b654['plugins'][_0x2570('0x4')](_0x2570('0x0'));_0x24af68['enableCommand'](_0x2570('0x18')),_0x30b654[_0x2570('0x7')]['downcastDispatcher']['on'](_0x2570('0x6'),re(_0x30b654),{'priority':_0x2570('0x14')}),_0x30b654['editing'][_0x2570('0x10')]['on'](_0x2570('0x2'),re(_0x30b654),{'priority':_0x2570('0x14')}),_0x30b654[_0x2570('0x21')][_0x2570('0x10')]['on'](_0x2570('0x1'),(_0x333538,_0x33a7e1,_0x2909b2)=>{_0x2909b2[_0x2570('0x9')][_0x2570('0xa')]&&re(_0x30b654,{'showActiveMarker':!0x1})(_0x333538,_0x33a7e1,_0x2909b2);}),_0x24af68[_0x2570('0x5')]['registerElementLabel']('softBreak',_0xb7f6d2=>_0x1dd331(_0x30b654[_0x2570('0x1e')],_0x2570('0x11'),_0xb7f6d2));}}function re(_0x287d39,{showActiveMarker:_0x44525e=!0x0}={}){return(_0x517ef9,_0x51fb25,_0x3de2fa)=>{const _0x1047d4=_0x287d39[_0x2570('0x8')][_0x2570('0x4')]('TrackChangesEditing');if(!_0x3de2fa['consumable'][_0x2570('0x1f')](_0x51fb25['markerRange'],_0x517ef9['name']))return;const _0x23af33=_0x287d39[_0x2570('0xd')];for(const _0xa706a7 of _0x51fb25[_0x2570('0x3')][_0x2570('0xc')]()){if(!_0xa706a7['is']('element',_0x2570('0x1d')))continue;const _0x1108eb='deletion'==_0x51fb25[_0x2570('0x12')][_0x2570('0x22')](':')[0x1]?_0x2570('0x20'):_0x2570('0x22'),_0x53111e=_0x3de2fa[_0x2570('0x24')][_0x2570('0xf')]('span',{'class':_0x2570('0x15')+_0x1108eb}),_0x3ad6e6=_0x3de2fa[_0x2570('0x23')][_0x2570('0x13')](_0x23af33[_0x2570('0x16')](_0xa706a7));_0x44525e&&_0x1047d4[_0x2570('0x19')][_0x2570('0xb')](_0x51fb25['markerName'])&&_0x3de2fa[_0x2570('0x24')][_0x2570('0x1a')]('ck-suggestion-marker--active',_0x53111e),_0x3de2fa[_0x2570('0x24')][_0x2570('0x1c')](_0x3ad6e6,_0x53111e),_0x3de2fa[_0x2570('0x23')][_0x2570('0x1b')](_0x53111e,_0x51fb25[_0x2570('0x12')]);}};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1a8f=['commands','commandParams','change','isCollapsed','model','registerDescriptionCallback','selection','StandardEditingModeEditing','locale','TrackChangesEditing','has','getRanges','markInlineFormat','forceValue','format','enableCommand','editor','afterInit','plugins','document','from','restrictedEditingException','commandName','get','value'];(function(_0x57c05a,_0x1a8f72){const _0x16e4ff=function(_0x1321e7){while(--_0x1321e7){_0x57c05a['push'](_0x57c05a['shift']());}};_0x16e4ff(++_0x1a8f72);}(_0x1a8f,0x1d4));const _0x16e4=function(_0x57c05a,_0x1a8f72){_0x57c05a=_0x57c05a-0x0;let _0x16e4ff=_0x1a8f[_0x57c05a];return _0x16e4ff;};import{Plugin as _0x4ce020}from'ckeditor5/src/core';import{getRangesWithAttribute as _0x177914}from'./utils';import{getTranslation as _0x4c5d8f}from'../utils/common-translations';export default class ht extends _0x4ce020{[_0x16e4('0x18')](){const _0x54c861=this[_0x16e4('0x17')],_0x46f508=_0x54c861[_0x16e4('0xb')],_0x11ed66=_0x54c861[_0x16e4('0xf')];if(!_0x54c861['plugins'][_0x16e4('0x11')](_0x16e4('0xe')))return;const _0x1085aa=_0x54c861[_0x16e4('0x0')][_0x16e4('0x5')](_0x16e4('0x10')),_0x3514b4=_0x16e4('0x3'),_0x32c966=_0x54c861[_0x16e4('0x7')]['get'](_0x3514b4);_0x1085aa[_0x16e4('0x16')](_0x3514b4,(_0x38c953,_0x12e344={})=>{const _0x481ae3=_0x46f508[_0x16e4('0x1')][_0x16e4('0xd')];if(_0x481ae3[_0x16e4('0xa')])return void _0x38c953(_0x12e344);const _0x45f154=void 0x0!==_0x12e344[_0x16e4('0x14')]?_0x12e344[_0x16e4('0x14')]:!_0x32c966[_0x16e4('0x6')];_0x46f508[_0x16e4('0x9')](()=>{const _0x531bf8=Array[_0x16e4('0x2')](_0x481ae3[_0x16e4('0x12')]());for(const _0x586518 of _0x531bf8){const _0x2f8a00=_0x45f154?[_0x586518]:_0x177914(_0x3514b4,_0x586518,_0x46f508);for(const _0x1c6926 of _0x2f8a00)_0x1085aa[_0x16e4('0x13')](_0x1c6926,{'commandName':_0x3514b4,'commandParams':[{'forceValue':_0x45f154}]});}});}),_0x1085aa['_descriptionFactory'][_0x16e4('0xc')](_0x5b8545=>{const {data:_0x5c09af}=_0x5b8545;if(_0x5c09af&&_0x5c09af[_0x16e4('0x4')]==_0x3514b4)return _0x5c09af[_0x16e4('0x8')][0x0][_0x16e4('0x14')]?{'type':_0x16e4('0x15'),'content':_0x4c5d8f(_0x11ed66,'FORMAT_RESTRICTED_ENABLED')}:{'type':_0x16e4('0x15'),'content':_0x4c5d8f(_0x11ed66,'FORMAT_RESTRICTED_DISABLED')};});}}
23
+ const _0x4b63=['editor','change','enableCommand','registerDescriptionCallback','isCollapsed','has','document','_descriptionFactory','selection','FORMAT_RESTRICTED_DISABLED','TrackChangesEditing','StandardEditingModeEditing','commandName','forceValue','afterInit','markInlineFormat','plugins','format','restrictedEditingException','get','commands','FORMAT_RESTRICTED_ENABLED','model'];(function(_0x53ba35,_0x4b63fb){const _0x3d80ba=function(_0x4d64b4){while(--_0x4d64b4){_0x53ba35['push'](_0x53ba35['shift']());}};_0x3d80ba(++_0x4b63fb);}(_0x4b63,0x79));const _0x3d80=function(_0x53ba35,_0x4b63fb){_0x53ba35=_0x53ba35-0x0;let _0x3d80ba=_0x4b63[_0x53ba35];return _0x3d80ba;};import{Plugin as _0x46aa4d}from'ckeditor5/src/core';import{getRangesWithAttribute as _0x304e5f}from'./utils';import{getTranslation as _0x3fe663}from'../utils/common-translations';export default class ht extends _0x46aa4d{[_0x3d80('0x8')](){const _0x508ffa=this[_0x3d80('0x11')],_0x26fbfc=_0x508ffa[_0x3d80('0x10')],_0x174b96=_0x508ffa['locale'];if(!_0x508ffa['plugins'][_0x3d80('0x16')](_0x3d80('0x5')))return;const _0x24708c=_0x508ffa[_0x3d80('0xa')][_0x3d80('0xd')](_0x3d80('0x4')),_0x2d13e3=_0x3d80('0xc'),_0x444546=_0x508ffa[_0x3d80('0xe')]['get'](_0x2d13e3);_0x24708c[_0x3d80('0x13')](_0x2d13e3,(_0x5d6808,_0x19c16d={})=>{const _0x4322d3=_0x26fbfc[_0x3d80('0x0')][_0x3d80('0x2')];if(_0x4322d3[_0x3d80('0x15')])return void _0x5d6808(_0x19c16d);const _0x11099f=void 0x0!==_0x19c16d[_0x3d80('0x7')]?_0x19c16d[_0x3d80('0x7')]:!_0x444546['value'];_0x26fbfc[_0x3d80('0x12')](()=>{const _0x50b0b9=Array['from'](_0x4322d3['getRanges']());for(const _0xaa09cb of _0x50b0b9){const _0x151d0f=_0x11099f?[_0xaa09cb]:_0x304e5f(_0x2d13e3,_0xaa09cb,_0x26fbfc);for(const _0x485c85 of _0x151d0f)_0x24708c[_0x3d80('0x9')](_0x485c85,{'commandName':_0x2d13e3,'commandParams':[{'forceValue':_0x11099f}]});}});}),_0x24708c[_0x3d80('0x1')][_0x3d80('0x14')](_0x394fa8=>{const {data:_0x8305c4}=_0x394fa8;if(_0x8305c4&&_0x8305c4[_0x3d80('0x6')]==_0x2d13e3)return _0x8305c4['commandParams'][0x0][_0x3d80('0x7')]?{'type':_0x3d80('0xb'),'content':_0x3fe663(_0x174b96,_0x3d80('0xf'))}:{'type':_0x3d80('0xb'),'content':_0x3fe663(_0x174b96,_0x3d80('0x3'))};});}}