@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20240117.0 → 0.0.0-nightly-20240119.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (67) hide show
  1. package/build/track-changes.js +1 -1
  2. package/package.json +3 -3
  3. package/src/commands/acceptsuggestioncommand.js +1 -1
  4. package/src/commands/discardsuggestioncommand.js +1 -1
  5. package/src/commands/executeonallsuggestionscommand.js +1 -1
  6. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  7. package/src/commands/trackchangescommand.js +1 -1
  8. package/src/integrations/aiassistant.js +1 -1
  9. package/src/integrations/alignment.js +1 -1
  10. package/src/integrations/basicstyles.js +1 -1
  11. package/src/integrations/blockquote.js +1 -1
  12. package/src/integrations/casechange.js +1 -1
  13. package/src/integrations/ckbox.js +1 -1
  14. package/src/integrations/codeblock.js +1 -1
  15. package/src/integrations/comments.js +1 -1
  16. package/src/integrations/deletecommand.js +1 -1
  17. package/src/integrations/entercommand.js +1 -1
  18. package/src/integrations/findandreplace.js +1 -1
  19. package/src/integrations/font.js +1 -1
  20. package/src/integrations/formatpainter.js +1 -1
  21. package/src/integrations/heading.js +1 -1
  22. package/src/integrations/highlight.js +1 -1
  23. package/src/integrations/horizontalline.js +1 -1
  24. package/src/integrations/htmlembed.js +1 -1
  25. package/src/integrations/image.js +1 -1
  26. package/src/integrations/imagereplace.js +1 -1
  27. package/src/integrations/imagestyle.js +1 -1
  28. package/src/integrations/importword.js +1 -1
  29. package/src/integrations/indent.js +1 -1
  30. package/src/integrations/inputcommand.js +1 -1
  31. package/src/integrations/legacylist.js +1 -1
  32. package/src/integrations/legacylistproperties.js +1 -1
  33. package/src/integrations/link.js +1 -1
  34. package/src/integrations/list.js +1 -1
  35. package/src/integrations/listproperties.js +1 -1
  36. package/src/integrations/mediaembed.js +1 -1
  37. package/src/integrations/mention.js +1 -1
  38. package/src/integrations/pagebreak.js +1 -1
  39. package/src/integrations/paragraph.js +1 -1
  40. package/src/integrations/removeformat.js +1 -1
  41. package/src/integrations/restrictededitingmode.js +1 -1
  42. package/src/integrations/shiftentercommand.js +1 -1
  43. package/src/integrations/standardeditingmode.js +1 -1
  44. package/src/integrations/style.js +1 -1
  45. package/src/integrations/table.js +1 -1
  46. package/src/integrations/tablecaption.js +1 -1
  47. package/src/integrations/tableclipboard.js +1 -1
  48. package/src/integrations/tablecolumnresize.js +1 -1
  49. package/src/integrations/tableheadings.js +1 -1
  50. package/src/integrations/tablemergesplit.js +1 -1
  51. package/src/integrations/tableofcontents.js +1 -1
  52. package/src/integrations/tableproperties.js +1 -1
  53. package/src/integrations/template.js +1 -1
  54. package/src/integrations/title.js +1 -1
  55. package/src/integrations/undo.js +1 -1
  56. package/src/integrations/utils.js +1 -1
  57. package/src/suggestion.js +1 -1
  58. package/src/suggestiondescriptionfactory.js +1 -1
  59. package/src/trackchanges.js +1 -1
  60. package/src/trackchangesdata.js +1 -1
  61. package/src/trackchangesediting.js +1 -1
  62. package/src/trackchangesui.js +1 -1
  63. package/src/ui/suggestioncontroller.js +1 -1
  64. package/src/ui/view/basesuggestionthreadview.js +1 -1
  65. package/src/ui/view/suggestionthreadview.js +1 -1
  66. package/src/utils/common-translations.js +1 -1
  67. package/src/utils/utils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2216=['locale','editor','afterInit','addClass','horizontalLine','registerElementLabel','showSuggestionHighlights','for','plugins','_descriptionFactory','createContainerElement','createEmptyElement','ck-horizontal-line','TrackChangesEditing','get','createPositionAt','HorizontalLineEditing','div','enableCommand','dataDowncast','insert','has'];(function(_0x14b602,_0x221657){const _0x200b49=function(_0x21903d){while(--_0x21903d){_0x14b602['push'](_0x14b602['shift']());}};_0x200b49(++_0x221657);}(_0x2216,0xbb));const _0x200b=function(_0x14b602,_0x221657){_0x14b602=_0x14b602-0x0;let _0x200b49=_0x2216[_0x14b602];return _0x200b49;};import{Plugin as _0x25f754}from'ckeditor5/src/core.js';import{getTranslation as _0x4a5056}from'../utils/common-translations.js';export default class tt extends _0x25f754{[_0x200b('0xd')](){const _0x2c2b23=this[_0x200b('0xc')];if(!_0x2c2b23[_0x200b('0x13')][_0x200b('0xa')](_0x200b('0x5')))return;_0x2c2b23['plugins'][_0x200b('0x3')](_0x200b('0x2'))[_0x200b('0x7')]('horizontalLine');const _0x287bd6=_0x2c2b23[_0x200b('0x13')][_0x200b('0x3')]('TrackChangesEditing'),_0x45e3b9=_0x2c2b23[_0x200b('0xb')];_0x287bd6[_0x200b('0x14')][_0x200b('0x10')](_0x200b('0xf'),_0x203f81=>_0x4a5056(_0x45e3b9,'ELEMENT_HORIZONTAL_LINE',_0x203f81)),_0x2c2b23['conversion'][_0x200b('0x12')](_0x200b('0x8'))['elementToStructure']({'model':_0x200b('0xf'),'view':(_0x2f7250,{writer:_0x12f3a4,options:_0x572d9d})=>{if(!_0x572d9d[_0x200b('0x11')])return null;const _0x353863=_0x12f3a4[_0x200b('0x15')](_0x200b('0x6')),_0x5c426e=_0x12f3a4[_0x200b('0x0')]('hr');return _0x12f3a4[_0x200b('0xe')](_0x200b('0x1'),_0x353863),_0x12f3a4[_0x200b('0x9')](_0x12f3a4[_0x200b('0x4')](_0x353863,0x0),_0x5c426e),_0x353863;},'converterPriority':'high'});}}
23
+ const _0x1e58=['ck-horizontal-line','get','enableCommand','conversion','insert','addClass','div','createPositionAt','TrackChangesEditing','_descriptionFactory','HorizontalLineEditing','plugins','showSuggestionHighlights','elementToStructure','registerElementLabel','locale','editor','has','horizontalLine'];(function(_0x29bffa,_0x1e580c){const _0x36cdbf=function(_0x24528b){while(--_0x24528b){_0x29bffa['push'](_0x29bffa['shift']());}};_0x36cdbf(++_0x1e580c);}(_0x1e58,0x6e));const _0x36cd=function(_0x29bffa,_0x1e580c){_0x29bffa=_0x29bffa-0x0;let _0x36cdbf=_0x1e58[_0x29bffa];return _0x36cdbf;};import{Plugin as _0x4987f8}from'ckeditor5/src/core.js';import{getTranslation as _0x1e06ca}from'../utils/common-translations.js';export default class tt extends _0x4987f8{['afterInit'](){const _0x3a4084=this[_0x36cd('0x1')];if(!_0x3a4084['plugins'][_0x36cd('0x2')](_0x36cd('0xe')))return;_0x3a4084[_0x36cd('0xf')][_0x36cd('0x5')](_0x36cd('0xc'))[_0x36cd('0x6')]('horizontalLine');const _0x17b654=_0x3a4084[_0x36cd('0xf')][_0x36cd('0x5')](_0x36cd('0xc')),_0x3186d9=_0x3a4084[_0x36cd('0x0')];_0x17b654[_0x36cd('0xd')][_0x36cd('0x12')](_0x36cd('0x3'),_0x58185e=>_0x1e06ca(_0x3186d9,'ELEMENT_HORIZONTAL_LINE',_0x58185e)),_0x3a4084[_0x36cd('0x7')]['for']('dataDowncast')[_0x36cd('0x11')]({'model':_0x36cd('0x3'),'view':(_0x4def4a,{writer:_0x4cfa48,options:_0x571b78})=>{if(!_0x571b78[_0x36cd('0x10')])return null;const _0x2ccd42=_0x4cfa48['createContainerElement'](_0x36cd('0xa')),_0x552178=_0x4cfa48['createEmptyElement']('hr');return _0x4cfa48[_0x36cd('0x9')](_0x36cd('0x4'),_0x2ccd42),_0x4cfa48[_0x36cd('0x8')](_0x4cfa48[_0x36cd('0xb')](_0x2ccd42,0x0),_0x552178),_0x2ccd42;},'converterPriority':'high'});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5e45=['getFirstRange','_descriptionFactory','registerElementLabel','formatBlock','nodeAfter','start','rawHtml','htmlEmbed','get','_registerLegacyDescription','ELEMENT_HTML_EMBED','TrackChangesEditing','attribute','commandName','editor','has','HtmlEmbed','format','element','key','plugins','locale','_enableDefaultAttributesIntegration','type','registerDescriptionCallback','*Change\x20%0\x20content*','value'];(function(_0x71b325,_0x5e45df){const _0x5d80ac=function(_0x1b7768){while(--_0x1b7768){_0x71b325['push'](_0x71b325['shift']());}};_0x5d80ac(++_0x5e45df);}(_0x5e45,0x81));const _0x5d80=function(_0x71b325,_0x5e45df){_0x71b325=_0x71b325-0x0;let _0x5d80ac=_0x5e45[_0x71b325];return _0x5d80ac;};import{Plugin as _0x1b06f9}from'ckeditor5/src/core.js';import{getTranslation as _0x218bda}from'../utils/common-translations.js';export default class et extends _0x1b06f9{['afterInit'](){const _0x65c01e=this['editor'];if(!_0x65c01e[_0x5d80('0x1a')][_0x5d80('0x15')](_0x5d80('0x16')))return;const _0x3875e4=_0x65c01e[_0x5d80('0x1a')][_0x5d80('0xe')](_0x5d80('0x11')),_0x5e6a69=_0x65c01e[_0x5d80('0x0')];_0x3875e4[_0x5d80('0x7')][_0x5d80('0x8')](_0x5d80('0xc'),_0xc2c505=>_0x218bda(_0x5e6a69,_0x5d80('0x10'),_0xc2c505)),_0x3875e4[_0x5d80('0x1')](_0x5d80('0xd'),[],[_0x5d80('0x5')]),_0x3875e4[_0x5d80('0x7')][_0x5d80('0x3')](_0xa7fd84=>{if(_0x5d80('0x12')!=_0xa7fd84['type'])return;const {data:_0x12dcac}=_0xa7fd84;if(_0x12dcac&&_0x5d80('0x5')==_0x12dcac[_0x5d80('0x19')]&&_0xa7fd84[_0x5d80('0x6')]()[_0x5d80('0xb')][_0x5d80('0xa')]['is'](_0x5d80('0x18'),'rawHtml')){const _0x59397a=_0x218bda(_0x5e6a69,_0x5d80('0x10'));return{'type':'format','content':_0x218bda(_0x5e6a69,_0x5d80('0x4'),_0x59397a)};}}),this['_registerLegacyDescription']();}[_0x5d80('0xf')](){const _0x39dce7=this[_0x5d80('0x14')],_0x1dae3f=_0x39dce7[_0x5d80('0x0')];_0x39dce7[_0x5d80('0x1a')][_0x5d80('0xe')]('TrackChangesEditing')[_0x5d80('0x7')][_0x5d80('0x3')](_0xd3eeaa=>{if(_0x5d80('0x9')!=_0xd3eeaa[_0x5d80('0x2')])return;const {data:_0x515066}=_0xd3eeaa;if(_0x515066&&_0x5d80('0xd')==_0x515066[_0x5d80('0x13')]){const _0x66cf9b=_0x218bda(_0x1dae3f,_0x5d80('0x10'));return{'type':_0x5d80('0x17'),'content':_0x218bda(_0x1dae3f,'*Change\x20%0\x20content*',_0x66cf9b)};}});}}
23
+ const _0x527b=['_enableDefaultAttributesIntegration','attribute','commandName','editor','value','locale','_descriptionFactory','getFirstRange','plugins','start','formatBlock','registerDescriptionCallback','format','nodeAfter','*Change\x20%0\x20content*','has','get','key','type','rawHtml','ELEMENT_HTML_EMBED','HtmlEmbed','element','htmlEmbed','TrackChangesEditing','_registerLegacyDescription'];(function(_0x3ea858,_0x527b86){const _0x576f3f=function(_0x4e9f03){while(--_0x4e9f03){_0x3ea858['push'](_0x3ea858['shift']());}};_0x576f3f(++_0x527b86);}(_0x527b,0x16b));const _0x576f=function(_0x3ea858,_0x527b86){_0x3ea858=_0x3ea858-0x0;let _0x576f3f=_0x527b[_0x3ea858];return _0x576f3f;};import{Plugin as _0x5298df}from'ckeditor5/src/core.js';import{getTranslation as _0x17eb97}from'../utils/common-translations.js';export default class et extends _0x5298df{['afterInit'](){const _0x4010ac=this[_0x576f('0x4')];if(!_0x4010ac[_0x576f('0x9')][_0x576f('0x10')](_0x576f('0x16')))return;const _0xb1f395=_0x4010ac[_0x576f('0x9')]['get'](_0x576f('0x19')),_0x33b373=_0x4010ac['locale'];_0xb1f395[_0x576f('0x7')]['registerElementLabel'](_0x576f('0x14'),_0x28ea48=>_0x17eb97(_0x33b373,_0x576f('0x15'),_0x28ea48)),_0xb1f395[_0x576f('0x1')](_0x576f('0x18'),[],[_0x576f('0x5')]),_0xb1f395[_0x576f('0x7')][_0x576f('0xc')](_0x48a7cb=>{if(_0x576f('0x2')!=_0x48a7cb[_0x576f('0x13')])return;const {data:_0x557db7}=_0x48a7cb;if(_0x557db7&&'value'==_0x557db7[_0x576f('0x12')]&&_0x48a7cb[_0x576f('0x8')]()[_0x576f('0xa')][_0x576f('0xe')]['is'](_0x576f('0x17'),_0x576f('0x14'))){const _0x2f8884=_0x17eb97(_0x33b373,_0x576f('0x15'));return{'type':_0x576f('0xd'),'content':_0x17eb97(_0x33b373,_0x576f('0xf'),_0x2f8884)};}}),this['_registerLegacyDescription']();}[_0x576f('0x0')](){const _0x57636e=this[_0x576f('0x4')],_0x54713c=_0x57636e[_0x576f('0x6')];_0x57636e[_0x576f('0x9')][_0x576f('0x11')](_0x576f('0x19'))['_descriptionFactory'][_0x576f('0xc')](_0xb3c00c=>{if(_0x576f('0xb')!=_0xb3c00c['type'])return;const {data:_0x3d14a5}=_0xb3c00c;if(_0x3d14a5&&_0x576f('0x18')==_0x3d14a5[_0x576f('0x3')]){const _0x156fd2=_0x17eb97(_0x54713c,_0x576f('0x15'));return{'type':_0x576f('0xd'),'content':_0x17eb97(_0x54713c,_0x576f('0xf'),_0x156fd2)};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1c1b=['document','_registerLegacyDescription','getFirstRange','resizeImage','selection','_descriptionFactory','isBlockImage','getContainedElement','formatBlock','*Remove\x20image\x20text\x20alternative*','imageTextAlternative','detach','format','toPrevious','forceDefaultExecution','enableCommand','isCollapsed','_enableDefaultAttributesIntegration','plugins','caption','*Set\x20image\x20text\x20alternative:*\x20%0','convertBlockImageToInline','ImageCaptionUtils','accept','getSuggestionCallback','has','ELEMENT_CAPTION','registerDescriptionCallback','locale','imageCaption','fromPosition','markInsertion','*Set\x20image\x20width:*\x20%0','ImageUploadEditing','model','TrackChangesEditing','ELEMENT_IMAGE','start','createRangeOn','join','Inline\x20image\x20to\x20block\x20image','isEqual','formatInline','FORMAT_IMAGE_SIZE','registerCustomCallback','previous','ImageEditing','convertInlineImageToBlock','ImageCaptionEditing','imageStylePreApply','resizedWidth','isBefore','filter','_suggestionFactory','newValue','length','key','type','schema','insertion','nodeAfter','discard','addObject','element','createRange','ImageUtils','alt','subType','ImageInlineEditing','registerAttributeLabel','_findSuggestions','get','getCaptionFromImageModelElement','afterInit','markBlockFormat','chain','deletion','ImageTextAlternativeEditing','uploadImage','backward','toNext','registerElementLabel','commandParams','nodeBefore','width','change','imageTypeInline','end','editor','findIndex','getClosestSelectedImageElement','ImageBlockEditing'];(function(_0x642e3f,_0x1c1bec){const _0x252320=function(_0x5dd127){while(--_0x5dd127){_0x642e3f['push'](_0x642e3f['shift']());}};_0x252320(++_0x1c1bec);}(_0x1c1b,0x7e));const _0x2523=function(_0x642e3f,_0x1c1bec){_0x642e3f=_0x642e3f-0x0;let _0x252320=_0x1c1b[_0x642e3f];return _0x252320;};import{Plugin as _0xbc0ea6}from'ckeditor5/src/core.js';import{LivePosition as _0x4a6f0f}from'ckeditor5/src/engine.js';import{getTranslation as _0x528881}from'../utils/common-translations.js';export default class it extends _0xbc0ea6{[_0x2523('0x27')](){const _0x12acf7=this[_0x2523('0x36')];if(!_0x12acf7[_0x2523('0x4c')][_0x2523('0x53')](_0x2523('0xc')))return;const _0x4e967c=_0x12acf7['plugins'][_0x2523('0x25')]('TrackChangesEditing'),_0x1ee0f1=_0x12acf7['plugins']['get'](_0x2523('0x1f')),_0x40eb5c=_0x12acf7[_0x2523('0x56')];_0x4e967c['enableCommand']('insertImage'),_0x4e967c[_0x2523('0x3f')][_0x2523('0x2f')]('imageBlock',_0x21cc40=>_0x528881(_0x40eb5c,_0x2523('0x2'),_0x21cc40)),_0x4e967c[_0x2523('0x3f')]['registerElementLabel']('imageInline',_0xc12d08=>_0x528881(_0x40eb5c,'ELEMENT_INLINE_IMAGE',_0xc12d08)),_0x4e967c[_0x2523('0x3f')][_0x2523('0x2f')](_0x2523('0x4d'),()=>_0x528881(_0x40eb5c,_0x2523('0x54'))),_0x12acf7[_0x2523('0x4c')][_0x2523('0x53')](_0x2523('0x5b'))&&_0x4e967c[_0x2523('0x49')](_0x2523('0x2c')),_0x12acf7[_0x2523('0x4c')]['has'](_0x2523('0x39'))&&_0x12acf7[_0x2523('0x4c')][_0x2523('0x53')](_0x2523('0x22'))&&(_0x4e967c[_0x2523('0x49')]('imageTypeInline',(_0x174397,_0x6e234)=>{const _0x241e37=_0x1ee0f1[_0x2523('0x38')](_0x12acf7['model']['document'][_0x2523('0x3e')]);_0x12acf7[_0x2523('0x0')][_0x2523('0x33')](()=>{_0x4e967c[_0x2523('0x28')](_0x241e37,{'commandName':_0x2523('0x34'),'commandParams':[_0x6e234]},[],_0x2523('0x4f'));});}),_0x4e967c[_0x2523('0x49')]('imageTypeBlock',(_0x2ad31d,_0x336e0d)=>{_0x12acf7[_0x2523('0x0')]['change'](_0x1eb3de=>{let _0x23c57f=_0x1ee0f1['getClosestSelectedImageElement'](_0x12acf7[_0x2523('0x0')][_0x2523('0x3a')][_0x2523('0x3e')]),_0x31af80=_0x1eb3de[_0x2523('0x4')](_0x23c57f);const _0x4a06e8=_0x4a6f0f[_0x2523('0x58')](_0x31af80[_0x2523('0x3')],_0x2523('0x47')),_0x558e32=_0x4a6f0f[_0x2523('0x58')](_0x31af80['end'],_0x2523('0x2e'));_0x4e967c[_0x2523('0x48')](()=>_0x2ad31d(_0x336e0d)),_0x23c57f=_0x1ee0f1[_0x2523('0x38')](_0x12acf7['model'][_0x2523('0x3a')][_0x2523('0x3e')]),_0x31af80=_0x1eb3de[_0x2523('0x4')](_0x23c57f);const _0x33c517=_0x1eb3de[_0x2523('0x1e')](_0x4a06e8,_0x558e32);_0x4a06e8['detach'](),_0x558e32[_0x2523('0x45')](),_0x4e967c['markBlockFormat'](_0x23c57f,{'commandName':'imageTypeInline','commandParams':[_0x336e0d]},[],_0x2523('0xd')),_0x33c517[_0x2523('0x3')][_0x2523('0x11')](_0x31af80['start'])&&_0x4e967c[_0x2523('0x59')](_0x1eb3de[_0x2523('0x1e')](_0x33c517['start'],_0x31af80[_0x2523('0x3')]),_0x2523('0xd')),_0x31af80[_0x2523('0x35')][_0x2523('0x11')](_0x33c517[_0x2523('0x35')])&&_0x4e967c[_0x2523('0x59')](_0x1eb3de[_0x2523('0x1e')](_0x31af80[_0x2523('0x35')],_0x33c517[_0x2523('0x35')]),_0x2523('0xd'));});}),_0x4e967c['_suggestionFactory'][_0x2523('0xa')]('formatBlock',_0x2523('0xd'),_0x2523('0x5'),()=>!0x1),_0x4e967c[_0x2523('0x13')][_0x2523('0xa')]('formatBlock',_0x2523('0xd'),_0x2523('0x51'),()=>!0x1),_0x4e967c[_0x2523('0x13')][_0x2523('0xa')]('formatBlock',_0x2523('0xd'),_0x2523('0x1b'),_0x4e967c['_suggestionFactory'][_0x2523('0x52')](_0x2523('0x42'),'',_0x2523('0x51'))),_0x4e967c[_0x2523('0x13')][_0x2523('0xa')](_0x2523('0x19'),_0x2523('0xd'),_0x2523('0x5'),()=>!0x1),_0x4e967c[_0x2523('0x13')][_0x2523('0xa')](_0x2523('0x19'),_0x2523('0xd'),_0x2523('0x1b'),([_0x4a8bae])=>{const _0x201cf7=_0x4e967c['_suggestionFactory']['getSuggestionCallback']('insertion','',_0x2523('0x1b'));let _0x124bd2=_0x4a8bae[_0x2523('0x3')],_0x422c7f=_0x4a8bae[_0x2523('0x35')];const _0x26b261=_0x12acf7[_0x2523('0x0')][_0x2523('0x18')]['getNearestSelectionRange'](_0x124bd2,_0x2523('0x2d')),_0x57a4cd=_0x12acf7[_0x2523('0x0')]['schema']['getNearestSelectionRange'](_0x422c7f,'forward');_0x26b261[_0x2523('0x4a')]&&(_0x124bd2=_0x26b261[_0x2523('0x3')]),_0x57a4cd[_0x2523('0x4a')]&&(_0x422c7f=_0x57a4cd['end']),_0x201cf7([_0x12acf7[_0x2523('0x0')][_0x2523('0x1e')](_0x124bd2,_0x422c7f)]);}),_0x4e967c['_suggestionFactory'][_0x2523('0xa')](_0x2523('0x42'),'convertInlineImageToBlock','chain',_0x49c9e7),_0x4e967c[_0x2523('0x13')][_0x2523('0xa')](_0x2523('0x19'),_0x2523('0xd'),_0x2523('0x29'),_0x49c9e7)),_0x12acf7[_0x2523('0x4c')][_0x2523('0x53')](_0x2523('0xe'))&&(_0x4e967c[_0x2523('0x49')]('toggleImageCaption',(_0x5bcda4,_0x55d0a3)=>{const _0x19c081=_0x12acf7['plugins'][_0x2523('0x25')](_0x2523('0x50'));let _0x3cfaaf=_0x1ee0f1[_0x2523('0x38')](_0x12acf7['model'][_0x2523('0x3a')]['selection']),_0x51ed95=_0x19c081['getCaptionFromImageModelElement'](_0x3cfaaf);_0x12acf7['model'][_0x2523('0x33')](()=>{if(_0x51ed95)return void _0x4e967c['markDeletion'](_0x12acf7[_0x2523('0x0')]['createRangeOn'](_0x51ed95));const _0x3252db=_0x1ee0f1['isBlockImage'](_0x3cfaaf);_0x5bcda4(_0x55d0a3),_0x3cfaaf=_0x1ee0f1[_0x2523('0x38')](_0x12acf7[_0x2523('0x0')][_0x2523('0x3a')][_0x2523('0x3e')]),_0x51ed95=_0x19c081[_0x2523('0x26')](_0x3cfaaf),_0x4e967c[_0x2523('0x59')](_0x12acf7[_0x2523('0x0')][_0x2523('0x4')](_0x51ed95),_0x3252db?null:'imageCaption');});}),_0x4e967c[_0x2523('0x13')][_0x2523('0xa')](_0x2523('0x19'),_0x2523('0x57'),_0x2523('0x29'),_0x49c9e7));const _0x3f3044=[{'type':_0x2523('0x42'),'subType':_0x2523('0xf')},{'type':'insertion','subType':_0x2523('0x57')},{'type':_0x2523('0x42'),'subType':_0x2523('0xd')},{'type':_0x2523('0x19'),'subType':_0x2523('0xd')}];function _0x5f20e4(_0x43979c,_0x5853bb){const _0x3f2f57=_0x3f3044['findIndex'](({type:_0xa4fe5c,subType:_0x2939e6})=>_0x43979c[_0x2523('0x17')]==_0xa4fe5c&&_0x43979c[_0x2523('0x21')]==_0x2939e6),_0x26493e=_0x3f3044[_0x2523('0x37')](({type:_0x4a4fc2,subType:_0x13b7b0})=>_0x5853bb['type']==_0x4a4fc2&&_0x5853bb[_0x2523('0x21')]==_0x13b7b0);if(_0x3f2f57<0x0||_0x26493e<0x0)return!0x1;const _0x4a590c=_0x43979c[_0x2523('0x3c')](),_0x3145cf=_0x5853bb['getFirstRange']();if((0x0==_0x3f2f57||0x1==_0x3f2f57)&&0x2==_0x26493e&&_0x4a590c['isIntersecting'](_0x3145cf))return!0x0;if(0x2==_0x3f2f57&&0x3==_0x26493e){const _0x4fdf8b=_0x4e967c[_0x2523('0x24')](_0x4a590c,_0x2523('0x19'))[_0x2523('0x12')](({suggestion:_0x388de8,meta:_0x328a56})=>_0x328a56['isOwn']&&'convertInlineImageToBlock'==_0x388de8[_0x2523('0x21')]);if(_0x4fdf8b['length']>0x1&&_0x3145cf[_0x2523('0x35')][_0x2523('0x7')](_0x4a590c['start']))return!0x0;if(0x1==_0x4fdf8b[_0x2523('0x15')]&&(_0x4a590c[_0x2523('0x3')][_0x2523('0x7')](_0x3145cf[_0x2523('0x35')])||_0x4a590c[_0x2523('0x35')][_0x2523('0x7')](_0x3145cf[_0x2523('0x3')])))return!0x0;}if(0x3==_0x3f2f57&&0x3==_0x26493e&&_0x4a590c['start'][_0x2523('0x11')](_0x3145cf[_0x2523('0x3')])){const _0x713e4a=_0x4a590c[_0x2523('0x35')][_0x2523('0x1a')],_0x150131=_0x3145cf['start'][_0x2523('0x31')];return _0x1ee0f1[_0x2523('0x40')](_0x713e4a)&&_0x713e4a===_0x150131;}return!0x1;}function _0x49c9e7(_0x244b62,_0x5da8c6){return _0x5f20e4(_0x244b62,_0x5da8c6)?[_0x244b62,_0x5da8c6]:_0x5f20e4(_0x5da8c6,_0x244b62)?[_0x5da8c6,_0x244b62]:null;}_0x12acf7[_0x2523('0x4c')][_0x2523('0x53')]('ImageResize')&&(_0x4e967c[_0x2523('0x4b')]('resizeImage',[],['resizedWidth']),_0x4e967c[_0x2523('0x3f')][_0x2523('0x23')](_0x2523('0x10'),_0x528881(_0x40eb5c,_0x2523('0x9')))),_0x12acf7[_0x2523('0x4c')]['has'](_0x2523('0x2b'))&&_0x4e967c[_0x2523('0x4b')](_0x2523('0x44'),[],['alt']),_0x4e967c[_0x2523('0x3f')]['registerDescriptionCallback'](_0x2f6ae1=>{if(!!_0x3f3044['find'](({type:_0x558f9a,subType:_0x4ac639})=>_0x2f6ae1['type']==_0x558f9a&&_0x2f6ae1[_0x2523('0x21')]==_0x4ac639))return _0x2f6ae1[_0x2523('0xb')]?{}:void 0x0;}),_0x4e967c[_0x2523('0x3f')][_0x2523('0x55')](_0xbe5c43=>{if('insertion'==_0xbe5c43[_0x2523('0x17')]||_0x2523('0x2a')==_0xbe5c43[_0x2523('0x17')]){const _0x4c5441=_0xbe5c43[_0x2523('0x41')]();if(_0x4c5441&&_0x4c5441['is'](_0x2523('0x1d'),_0x2523('0x4d')))return{'type':_0x2523('0x19')==_0xbe5c43[_0x2523('0x17')]?_0x2523('0x1c'):'removeObject','element':_0x4c5441,'quantity':0x1};}}),_0x4e967c[_0x2523('0x3f')]['registerDescriptionCallback'](_0x5cdc67=>_0x2523('0x42')==_0x5cdc67[_0x2523('0x17')]&&_0x2523('0xd')==_0x5cdc67['subType']?{'type':_0x2523('0x46'),'content':_0x2523('0x6')}:_0x2523('0x42')==_0x5cdc67[_0x2523('0x17')]&&_0x2523('0x4f')==_0x5cdc67[_0x2523('0x21')]?{'type':'format','content':'Block\x20image\x20to\x20inline\x20image'}:void 0x0),_0x4e967c['_descriptionFactory'][_0x2523('0x55')](_0x345226=>{if('attribute'!=_0x345226[_0x2523('0x17')])return;const {data:_0x130b39}=_0x345226;if(!_0x130b39||_0x2523('0x20')!=_0x130b39[_0x2523('0x16')])return;const _0xc6aaaf=_0x130b39[_0x2523('0x14')];return _0xc6aaaf?{'type':_0x2523('0x46'),'content':_0x528881(_0x40eb5c,_0x2523('0x4e'),'\x22'+_0xc6aaaf+'\x22')}:{'type':_0x2523('0x46'),'content':_0x528881(_0x40eb5c,_0x2523('0x43'))};}),this[_0x2523('0x3b')]();}[_0x2523('0x3b')](){const _0x4f9b31=this[_0x2523('0x36')],_0x578560=_0x4f9b31[_0x2523('0x56')];_0x4f9b31[_0x2523('0x4c')][_0x2523('0x25')](_0x2523('0x1'))[_0x2523('0x3f')]['registerDescriptionCallback'](_0x418492=>{if('formatBlock'!=_0x418492[_0x2523('0x17')]&&_0x2523('0x8')!=_0x418492[_0x2523('0x17')])return;const {data:_0x4bad62}=_0x418492;if(_0x4bad62){if(_0x2523('0x44')==_0x4bad62['commandName']){const _0x49cb4c=_0x4bad62[_0x2523('0x30')][0x0][_0x2523('0x14')];return _0x49cb4c?{'type':_0x2523('0x46'),'content':_0x528881(_0x578560,_0x2523('0x4e'),'\x22'+_0x49cb4c+'\x22')}:{'type':_0x2523('0x46'),'content':_0x528881(_0x578560,'*Remove\x20image\x20text\x20alternative*')};}if(_0x2523('0x3d')==_0x4bad62['commandName']){const _0x13ebaf=_0x4bad62[_0x2523('0x30')][0x0][_0x2523('0x32')];return _0x13ebaf?{'type':_0x2523('0x46'),'content':_0x528881(_0x578560,_0x2523('0x5a'),_0x13ebaf)}:{'type':_0x2523('0x46'),'content':_0x528881(_0x578560,'*Reset\x20image\x20width*')};}}});}}
23
+ const _0x508c=['ImageResize','ELEMENT_CAPTION','filter','change','ELEMENT_INLINE_IMAGE','isBefore','forward','createRangeOn','chain','format','imageTypeBlock','type','ImageUploadEditing','insertImage','backward','plugins','start','key','document','getClosestSelectedImageElement','resizedWidth','get','subType','findIndex','formatBlock','nodeBefore','TrackChangesEditing','FORMAT_IMAGE_SIZE','isCollapsed','model','_suggestionFactory','imageCaption','*Reset\x20image\x20width*','ImageTextAlternativeEditing','markBlockFormat','resizeImage','_enableDefaultAttributesIntegration','discard','newValue','schema','createRange','fromPosition','has','imageTypeInline','editor','removeObject','getCaptionFromImageModelElement','isIntersecting','uploadImage','formatInline','width','isOwn','accept','imageBlock','Inline\x20image\x20to\x20block\x20image','detach','addObject','insertion','deletion','imageTextAlternative','locale','selection','*Remove\x20image\x20text\x20alternative*','commandParams','toNext','join','ImageCaptionUtils','Block\x20image\x20to\x20inline\x20image','_descriptionFactory','getSuggestionCallback','registerCustomCallback','registerDescriptionCallback','ELEMENT_IMAGE','previous','attribute','afterInit','isEqual','markInsertion','registerElementLabel','caption','convertInlineImageToBlock','commandName','_registerLegacyDescription','toPrevious','ImageUtils','toggleImageCaption','markDeletion','end','isBlockImage','*Set\x20image\x20text\x20alternative:*\x20%0','getContainedElement','alt','enableCommand','ImageEditing','_findSuggestions','convertBlockImageToInline','length'];(function(_0x23e249,_0x508cb9){const _0xf6ee2=function(_0x2e1e04){while(--_0x2e1e04){_0x23e249['push'](_0x23e249['shift']());}};_0xf6ee2(++_0x508cb9);}(_0x508c,0xfa));const _0xf6ee=function(_0x23e249,_0x508cb9){_0x23e249=_0x23e249-0x0;let _0xf6ee2=_0x508c[_0x23e249];return _0xf6ee2;};import{Plugin as _0x44912c}from'ckeditor5/src/core.js';import{LivePosition as _0x77dc84}from'ckeditor5/src/engine.js';import{getTranslation as _0x178ef3}from'../utils/common-translations.js';export default class it extends _0x44912c{[_0xf6ee('0x13')](){const _0x41a926=this[_0xf6ee('0x55')];if(!_0x41a926[_0xf6ee('0x38')][_0xf6ee('0x53')](_0xf6ee('0x25')))return;const _0x32f12d=_0x41a926['plugins'][_0xf6ee('0x3e')]('TrackChangesEditing'),_0x59c530=_0x41a926[_0xf6ee('0x38')]['get'](_0xf6ee('0x1c')),_0x166e26=_0x41a926['locale'];_0x32f12d['enableCommand'](_0xf6ee('0x36')),_0x32f12d['_descriptionFactory'][_0xf6ee('0x16')](_0xf6ee('0x5e'),_0x299bb4=>_0x178ef3(_0x166e26,_0xf6ee('0x10'),_0x299bb4)),_0x32f12d[_0xf6ee('0xc')][_0xf6ee('0x16')]('imageInline',_0x2f8c32=>_0x178ef3(_0x166e26,_0xf6ee('0x2d'),_0x2f8c32)),_0x32f12d['_descriptionFactory'][_0xf6ee('0x16')](_0xf6ee('0x17'),()=>_0x178ef3(_0x166e26,_0xf6ee('0x2a'))),_0x41a926['plugins'][_0xf6ee('0x53')](_0xf6ee('0x35'))&&_0x32f12d[_0xf6ee('0x24')](_0xf6ee('0x59')),_0x41a926[_0xf6ee('0x38')][_0xf6ee('0x53')]('ImageBlockEditing')&&_0x41a926['plugins'][_0xf6ee('0x53')]('ImageInlineEditing')&&(_0x32f12d['enableCommand']('imageTypeInline',(_0x2db03c,_0x16a81a)=>{const _0x22edeb=_0x59c530[_0xf6ee('0x3c')](_0x41a926[_0xf6ee('0x46')][_0xf6ee('0x3b')][_0xf6ee('0x5')]);_0x41a926['model'][_0xf6ee('0x2c')](()=>{_0x32f12d[_0xf6ee('0x4b')](_0x22edeb,{'commandName':'imageTypeInline','commandParams':[_0x16a81a]},[],_0xf6ee('0x27'));});}),_0x32f12d[_0xf6ee('0x24')](_0xf6ee('0x33'),(_0x5afe0b,_0x14a7a0)=>{_0x41a926[_0xf6ee('0x46')][_0xf6ee('0x2c')](_0xf1d8db=>{let _0x44be77=_0x59c530[_0xf6ee('0x3c')](_0x41a926[_0xf6ee('0x46')][_0xf6ee('0x3b')][_0xf6ee('0x5')]),_0x4b0514=_0xf1d8db[_0xf6ee('0x30')](_0x44be77);const _0x5a1d33=_0x77dc84[_0xf6ee('0x52')](_0x4b0514[_0xf6ee('0x39')],_0xf6ee('0x1b')),_0x3531b7=_0x77dc84[_0xf6ee('0x52')](_0x4b0514[_0xf6ee('0x1f')],_0xf6ee('0x8'));_0x32f12d['forceDefaultExecution'](()=>_0x5afe0b(_0x14a7a0)),_0x44be77=_0x59c530[_0xf6ee('0x3c')](_0x41a926[_0xf6ee('0x46')]['document'][_0xf6ee('0x5')]),_0x4b0514=_0xf1d8db[_0xf6ee('0x30')](_0x44be77);const _0x2424b6=_0xf1d8db[_0xf6ee('0x51')](_0x5a1d33,_0x3531b7);_0x5a1d33[_0xf6ee('0x60')](),_0x3531b7[_0xf6ee('0x60')](),_0x32f12d[_0xf6ee('0x4b')](_0x44be77,{'commandName':_0xf6ee('0x54'),'commandParams':[_0x14a7a0]},[],_0xf6ee('0x18')),_0x2424b6[_0xf6ee('0x39')][_0xf6ee('0x2e')](_0x4b0514[_0xf6ee('0x39')])&&_0x32f12d[_0xf6ee('0x15')](_0xf1d8db[_0xf6ee('0x51')](_0x2424b6['start'],_0x4b0514[_0xf6ee('0x39')]),'convertInlineImageToBlock'),_0x4b0514[_0xf6ee('0x1f')]['isBefore'](_0x2424b6['end'])&&_0x32f12d['markInsertion'](_0xf1d8db[_0xf6ee('0x51')](_0x4b0514['end'],_0x2424b6[_0xf6ee('0x1f')]),_0xf6ee('0x18'));});}),_0x32f12d['_suggestionFactory'][_0xf6ee('0xe')](_0xf6ee('0x41'),_0xf6ee('0x18'),'join',()=>!0x1),_0x32f12d['_suggestionFactory'][_0xf6ee('0xe')](_0xf6ee('0x41'),'convertInlineImageToBlock','accept',()=>!0x1),_0x32f12d['_suggestionFactory'][_0xf6ee('0xe')]('formatBlock',_0xf6ee('0x18'),_0xf6ee('0x4e'),_0x32f12d[_0xf6ee('0x47')][_0xf6ee('0xd')](_0xf6ee('0x41'),'',_0xf6ee('0x5d'))),_0x32f12d['_suggestionFactory'][_0xf6ee('0xe')](_0xf6ee('0x1'),'convertInlineImageToBlock',_0xf6ee('0x9'),()=>!0x1),_0x32f12d[_0xf6ee('0x47')][_0xf6ee('0xe')]('insertion',_0xf6ee('0x18'),'discard',([_0x50a879])=>{const _0x5b3d95=_0x32f12d[_0xf6ee('0x47')]['getSuggestionCallback'](_0xf6ee('0x1'),'',_0xf6ee('0x4e'));let _0x6d3074=_0x50a879[_0xf6ee('0x39')],_0x2817ca=_0x50a879[_0xf6ee('0x1f')];const _0x3f19ce=_0x41a926[_0xf6ee('0x46')][_0xf6ee('0x50')]['getNearestSelectionRange'](_0x6d3074,_0xf6ee('0x37')),_0x17f83b=_0x41a926[_0xf6ee('0x46')][_0xf6ee('0x50')]['getNearestSelectionRange'](_0x2817ca,_0xf6ee('0x2f'));_0x3f19ce[_0xf6ee('0x45')]&&(_0x6d3074=_0x3f19ce['start']),_0x17f83b[_0xf6ee('0x45')]&&(_0x2817ca=_0x17f83b[_0xf6ee('0x1f')]),_0x5b3d95([_0x41a926['model'][_0xf6ee('0x51')](_0x6d3074,_0x2817ca)]);}),_0x32f12d['_suggestionFactory'][_0xf6ee('0xe')]('formatBlock','convertInlineImageToBlock','chain',_0xac8d0e),_0x32f12d['_suggestionFactory'][_0xf6ee('0xe')](_0xf6ee('0x1'),'convertInlineImageToBlock',_0xf6ee('0x31'),_0xac8d0e)),_0x41a926[_0xf6ee('0x38')][_0xf6ee('0x53')]('ImageCaptionEditing')&&(_0x32f12d[_0xf6ee('0x24')](_0xf6ee('0x1d'),(_0x39f987,_0x3b1cde)=>{const _0x136af3=_0x41a926[_0xf6ee('0x38')][_0xf6ee('0x3e')](_0xf6ee('0xa'));let _0x2928de=_0x59c530[_0xf6ee('0x3c')](_0x41a926[_0xf6ee('0x46')][_0xf6ee('0x3b')][_0xf6ee('0x5')]),_0x1de8d1=_0x136af3[_0xf6ee('0x57')](_0x2928de);_0x41a926[_0xf6ee('0x46')][_0xf6ee('0x2c')](()=>{if(_0x1de8d1)return void _0x32f12d[_0xf6ee('0x1e')](_0x41a926[_0xf6ee('0x46')]['createRangeOn'](_0x1de8d1));const _0x33f117=_0x59c530['isBlockImage'](_0x2928de);_0x39f987(_0x3b1cde),_0x2928de=_0x59c530[_0xf6ee('0x3c')](_0x41a926[_0xf6ee('0x46')][_0xf6ee('0x3b')][_0xf6ee('0x5')]),_0x1de8d1=_0x136af3['getCaptionFromImageModelElement'](_0x2928de),_0x32f12d[_0xf6ee('0x15')](_0x41a926[_0xf6ee('0x46')][_0xf6ee('0x30')](_0x1de8d1),_0x33f117?null:_0xf6ee('0x48'));});}),_0x32f12d[_0xf6ee('0x47')][_0xf6ee('0xe')](_0xf6ee('0x1'),_0xf6ee('0x48'),_0xf6ee('0x31'),_0xac8d0e));const _0x5a966d=[{'type':_0xf6ee('0x41'),'subType':'imageStylePreApply'},{'type':_0xf6ee('0x1'),'subType':'imageCaption'},{'type':'formatBlock','subType':_0xf6ee('0x18')},{'type':_0xf6ee('0x1'),'subType':_0xf6ee('0x18')}];function _0x368c6d(_0x1ecf3d,_0x4dd576){const _0x78fd3d=_0x5a966d[_0xf6ee('0x40')](({type:_0x41d138,subType:_0x778e00})=>_0x1ecf3d[_0xf6ee('0x34')]==_0x41d138&&_0x1ecf3d[_0xf6ee('0x3f')]==_0x778e00),_0xda741b=_0x5a966d[_0xf6ee('0x40')](({type:_0x47bc72,subType:_0x58f593})=>_0x4dd576['type']==_0x47bc72&&_0x4dd576['subType']==_0x58f593);if(_0x78fd3d<0x0||_0xda741b<0x0)return!0x1;const _0x170b4d=_0x1ecf3d['getFirstRange'](),_0x46bfbf=_0x4dd576['getFirstRange']();if((0x0==_0x78fd3d||0x1==_0x78fd3d)&&0x2==_0xda741b&&_0x170b4d[_0xf6ee('0x58')](_0x46bfbf))return!0x0;if(0x2==_0x78fd3d&&0x3==_0xda741b){const _0x5abc08=_0x32f12d[_0xf6ee('0x26')](_0x170b4d,_0xf6ee('0x1'))[_0xf6ee('0x2b')](({suggestion:_0x4cbee6,meta:_0x95e05c})=>_0x95e05c[_0xf6ee('0x5c')]&&_0xf6ee('0x18')==_0x4cbee6[_0xf6ee('0x3f')]);if(_0x5abc08[_0xf6ee('0x28')]>0x1&&_0x46bfbf[_0xf6ee('0x1f')][_0xf6ee('0x14')](_0x170b4d[_0xf6ee('0x39')]))return!0x0;if(0x1==_0x5abc08[_0xf6ee('0x28')]&&(_0x170b4d[_0xf6ee('0x39')][_0xf6ee('0x14')](_0x46bfbf['end'])||_0x170b4d['end']['isEqual'](_0x46bfbf[_0xf6ee('0x39')])))return!0x0;}if(0x3==_0x78fd3d&&0x3==_0xda741b&&_0x170b4d[_0xf6ee('0x39')][_0xf6ee('0x2e')](_0x46bfbf[_0xf6ee('0x39')])){const _0x3786fc=_0x170b4d[_0xf6ee('0x1f')]['nodeAfter'],_0x4cd4d9=_0x46bfbf['start'][_0xf6ee('0x42')];return _0x59c530[_0xf6ee('0x20')](_0x3786fc)&&_0x3786fc===_0x4cd4d9;}return!0x1;}function _0xac8d0e(_0x1f3c52,_0x1ee7ca){return _0x368c6d(_0x1f3c52,_0x1ee7ca)?[_0x1f3c52,_0x1ee7ca]:_0x368c6d(_0x1ee7ca,_0x1f3c52)?[_0x1ee7ca,_0x1f3c52]:null;}_0x41a926[_0xf6ee('0x38')][_0xf6ee('0x53')](_0xf6ee('0x29'))&&(_0x32f12d[_0xf6ee('0x4d')](_0xf6ee('0x4c'),[],[_0xf6ee('0x3d')]),_0x32f12d['_descriptionFactory']['registerAttributeLabel'](_0xf6ee('0x3d'),_0x178ef3(_0x166e26,_0xf6ee('0x44')))),_0x41a926['plugins'][_0xf6ee('0x53')](_0xf6ee('0x4a'))&&_0x32f12d[_0xf6ee('0x4d')](_0xf6ee('0x3'),[],['alt']),_0x32f12d[_0xf6ee('0xc')]['registerDescriptionCallback'](_0x430d09=>{if(!!_0x5a966d['find'](({type:_0x4c79b0,subType:_0x153740})=>_0x430d09[_0xf6ee('0x34')]==_0x4c79b0&&_0x430d09['subType']==_0x153740))return _0x430d09[_0xf6ee('0x11')]?{}:void 0x0;}),_0x32f12d[_0xf6ee('0xc')][_0xf6ee('0xf')](_0x3addf3=>{if(_0xf6ee('0x1')==_0x3addf3[_0xf6ee('0x34')]||_0xf6ee('0x2')==_0x3addf3[_0xf6ee('0x34')]){const _0x520965=_0x3addf3[_0xf6ee('0x22')]();if(_0x520965&&_0x520965['is']('element',_0xf6ee('0x17')))return{'type':_0xf6ee('0x1')==_0x3addf3['type']?_0xf6ee('0x0'):_0xf6ee('0x56'),'element':_0x520965,'quantity':0x1};}}),_0x32f12d[_0xf6ee('0xc')]['registerDescriptionCallback'](_0x388d5d=>_0xf6ee('0x41')==_0x388d5d[_0xf6ee('0x34')]&&'convertInlineImageToBlock'==_0x388d5d[_0xf6ee('0x3f')]?{'type':'format','content':_0xf6ee('0x5f')}:_0xf6ee('0x41')==_0x388d5d['type']&&'convertBlockImageToInline'==_0x388d5d[_0xf6ee('0x3f')]?{'type':'format','content':_0xf6ee('0xb')}:void 0x0),_0x32f12d[_0xf6ee('0xc')][_0xf6ee('0xf')](_0x2d5e24=>{if(_0xf6ee('0x12')!=_0x2d5e24[_0xf6ee('0x34')])return;const {data:_0x44e9e7}=_0x2d5e24;if(!_0x44e9e7||_0xf6ee('0x23')!=_0x44e9e7[_0xf6ee('0x3a')])return;const _0x2e8932=_0x44e9e7['newValue'];return _0x2e8932?{'type':_0xf6ee('0x32'),'content':_0x178ef3(_0x166e26,_0xf6ee('0x21'),'\x22'+_0x2e8932+'\x22')}:{'type':_0xf6ee('0x32'),'content':_0x178ef3(_0x166e26,_0xf6ee('0x6'))};}),this[_0xf6ee('0x1a')]();}[_0xf6ee('0x1a')](){const _0x1c226b=this[_0xf6ee('0x55')],_0x3480d0=_0x1c226b[_0xf6ee('0x4')];_0x1c226b['plugins'][_0xf6ee('0x3e')](_0xf6ee('0x43'))['_descriptionFactory'][_0xf6ee('0xf')](_0x670637=>{if(_0xf6ee('0x41')!=_0x670637[_0xf6ee('0x34')]&&_0xf6ee('0x5a')!=_0x670637[_0xf6ee('0x34')])return;const {data:_0x213e77}=_0x670637;if(_0x213e77){if(_0xf6ee('0x3')==_0x213e77[_0xf6ee('0x19')]){const _0x240256=_0x213e77[_0xf6ee('0x7')][0x0][_0xf6ee('0x4f')];return _0x240256?{'type':_0xf6ee('0x32'),'content':_0x178ef3(_0x3480d0,_0xf6ee('0x21'),'\x22'+_0x240256+'\x22')}:{'type':_0xf6ee('0x32'),'content':_0x178ef3(_0x3480d0,_0xf6ee('0x6'))};}if('resizeImage'==_0x213e77[_0xf6ee('0x19')]){const _0x3a9437=_0x213e77[_0xf6ee('0x7')][0x0][_0xf6ee('0x5b')];return _0x3a9437?{'type':_0xf6ee('0x32'),'content':_0x178ef3(_0x3480d0,'*Set\x20image\x20width:*\x20%0',_0x3a9437)}:{'type':_0xf6ee('0x32'),'content':_0x178ef3(_0x3480d0,_0xf6ee('0x49'))};}}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1348=['formatInline','get','newValue','_enableDefaultAttributesIntegration','commandName','getSuggestionCallback','afterInit','accept','_handleLegacySuggestions','replaceImageSource','TrackChangesEditing','editor','plugins','*Format:*\x20replace\x20image\x20URL','has','attribute','registerDescriptionCallback','registerCustomCallback','formatBlock','format','src','*Replace\x20image\x20URL*','_registerLegacyDescription','_descriptionFactory','ImageEditing','discard','type','locale','key','oldValue','_suggestionFactory'];(function(_0x5f5d04,_0x134839){const _0x30345d=function(_0x32c428){while(--_0x32c428){_0x5f5d04['push'](_0x5f5d04['shift']());}};_0x30345d(++_0x134839);}(_0x1348,0x1f4));const _0x3034=function(_0x5f5d04,_0x134839){_0x5f5d04=_0x5f5d04-0x0;let _0x30345d=_0x1348[_0x5f5d04];return _0x30345d;};import{Plugin as _0x1ba241}from'ckeditor5/src/core.js';import{getTranslation as _0x2079d3}from'../utils/common-translations.js';export default class st extends _0x1ba241{[_0x3034('0x2')](){if(!this[_0x3034('0x7')][_0x3034('0x8')][_0x3034('0xa')](_0x3034('0x14')))return;const _0x2d6908=this[_0x3034('0x7')][_0x3034('0x17')],_0x337464=this['editor'][_0x3034('0x8')]['get'](_0x3034('0x6'));_0x337464[_0x3034('0x1e')](_0x3034('0x5'),[],['src']),_0x337464[_0x3034('0x13')]['registerDescriptionCallback'](_0x1fecff=>{if(_0x3034('0xb')!=_0x1fecff[_0x3034('0x16')])return;const {data:_0x104b3f}=_0x1fecff;return _0x104b3f&&_0x3034('0x10')==_0x104b3f[_0x3034('0x18')]?_0x104b3f[_0x3034('0x1d')]&&_0x104b3f[_0x3034('0x19')]?{'type':_0x3034('0xf'),'content':_0x2079d3(_0x2d6908,_0x3034('0x11'))}:{'type':_0x3034('0xf'),'content':''}:void 0x0;}),this[_0x3034('0x4')]();}[_0x3034('0x4')](){const _0x907fa7=this[_0x3034('0x7')]['plugins'][_0x3034('0x1c')](_0x3034('0x6'));_0x907fa7[_0x3034('0x1a')]['registerCustomCallback']('formatBlock',_0x3034('0x5'),'accept',_0x907fa7[_0x3034('0x1a')][_0x3034('0x1')](_0x3034('0xe'),null,_0x3034('0x15'))),_0x907fa7[_0x3034('0x1a')][_0x3034('0xd')](_0x3034('0xe'),_0x3034('0x5'),_0x3034('0x15'),_0x907fa7[_0x3034('0x1a')][_0x3034('0x1')]('formatBlock',null,_0x3034('0x3'))),this[_0x3034('0x12')]();}[_0x3034('0x12')](){const _0x564b40=this[_0x3034('0x7')],_0x519637=_0x564b40['locale'];_0x564b40[_0x3034('0x8')][_0x3034('0x1c')](_0x3034('0x6'))['_descriptionFactory'][_0x3034('0xc')](_0x5e3e38=>{if(_0x3034('0xe')!=_0x5e3e38['type']&&_0x3034('0x1b')!=_0x5e3e38[_0x3034('0x16')])return;const {data:_0x130643}=_0x5e3e38;if(!_0x130643||_0x3034('0x5')!=_0x130643[_0x3034('0x0')])return;return{'type':'format','content':_0x2079d3(_0x519637,_0x3034('0x9'))};});}}
23
+ const _0x479b=['_descriptionFactory','discard','key','_registerLegacyDescription','format','type','_suggestionFactory','oldValue','plugins','src','newValue','formatInline','attribute','replaceImageSource','formatBlock','accept','registerCustomCallback','editor','afterInit','TrackChangesEditing','getSuggestionCallback','registerDescriptionCallback','get','locale','commandName','has','_enableDefaultAttributesIntegration','_handleLegacySuggestions','*Replace\x20image\x20URL*','ImageEditing'];(function(_0x1bbf31,_0x479b9d){const _0x5d35b8=function(_0x3b7357){while(--_0x3b7357){_0x1bbf31['push'](_0x1bbf31['shift']());}};_0x5d35b8(++_0x479b9d);}(_0x479b,0xd8));const _0x5d35=function(_0x1bbf31,_0x479b9d){_0x1bbf31=_0x1bbf31-0x0;let _0x5d35b8=_0x479b[_0x1bbf31];return _0x5d35b8;};import{Plugin as _0x12567a}from'ckeditor5/src/core.js';import{getTranslation as _0x22b8a8}from'../utils/common-translations.js';export default class st extends _0x12567a{[_0x5d35('0xc')](){if(!this[_0x5d35('0xb')][_0x5d35('0x2')][_0x5d35('0x13')](_0x5d35('0x17')))return;const _0x12c93e=this[_0x5d35('0xb')][_0x5d35('0x11')],_0x407d11=this[_0x5d35('0xb')]['plugins'][_0x5d35('0x10')]('TrackChangesEditing');_0x407d11[_0x5d35('0x14')]('replaceImageSource',[],[_0x5d35('0x3')]),_0x407d11[_0x5d35('0x18')][_0x5d35('0xf')](_0x1c0eeb=>{if(_0x5d35('0x6')!=_0x1c0eeb[_0x5d35('0x1d')])return;const {data:_0x57a95c}=_0x1c0eeb;return _0x57a95c&&_0x5d35('0x3')==_0x57a95c[_0x5d35('0x1a')]?_0x57a95c[_0x5d35('0x4')]&&_0x57a95c[_0x5d35('0x1')]?{'type':'format','content':_0x22b8a8(_0x12c93e,_0x5d35('0x16'))}:{'type':_0x5d35('0x1c'),'content':''}:void 0x0;}),this[_0x5d35('0x15')]();}['_handleLegacySuggestions'](){const _0xb86b0=this[_0x5d35('0xb')][_0x5d35('0x2')][_0x5d35('0x10')](_0x5d35('0xd'));_0xb86b0[_0x5d35('0x0')][_0x5d35('0xa')](_0x5d35('0x8'),_0x5d35('0x7'),_0x5d35('0x9'),_0xb86b0['_suggestionFactory'][_0x5d35('0xe')](_0x5d35('0x8'),null,_0x5d35('0x19'))),_0xb86b0['_suggestionFactory'][_0x5d35('0xa')]('formatBlock',_0x5d35('0x7'),_0x5d35('0x19'),_0xb86b0[_0x5d35('0x0')][_0x5d35('0xe')](_0x5d35('0x8'),null,_0x5d35('0x9'))),this[_0x5d35('0x1b')]();}[_0x5d35('0x1b')](){const _0x5b202e=this[_0x5d35('0xb')],_0x5a9737=_0x5b202e[_0x5d35('0x11')];_0x5b202e['plugins'][_0x5d35('0x10')]('TrackChangesEditing')['_descriptionFactory'][_0x5d35('0xf')](_0x49577b=>{if(_0x5d35('0x8')!=_0x49577b[_0x5d35('0x1d')]&&_0x5d35('0x5')!=_0x49577b[_0x5d35('0x1d')])return;const {data:_0x5ce6a6}=_0x49577b;if(!_0x5ce6a6||_0x5d35('0x7')!=_0x5ce6a6[_0x5d35('0x12')])return;return{'type':_0x5d35('0x1c'),'content':_0x22b8a8(_0x5a9737,'*Format:*\x20replace\x20image\x20URL')};});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3f0f=['isBefore','shouldConvertImageType','filter','accept','ImageStyleEditing','type','length','registerPostFixer','commandName','plugins','refresh','chain','normalizedStyles','commands','title','registerCustomCallback','document','editor','start','TrackChangesEditing','getFirstRange','FORMAT_SIDE_IMAGE','nodeBefore','newRange','findIndex','afterInit','discardSuggestion','from','isOwn','registerDescriptionCallback','differ','subType','*Format:*\x20%0','format','getSuggestions','commandParams','isInContent','toLowerCase','isBlockImage','end','enableCommand','suggestion','insertion','formatInline','join','markBlockFormat','imageStylePostApply','formatBlock','author','convertInlineImageToBlock','markInlineFormat','forEach','getClosestSelectedImageElement','isIntersecting','createRangeOn','_registerLegacyDescription','setImageNaturalSizeAttributes','selection','_suggestionFactory','imageStylePreApply','imageStyle','get','imageTypeBlock','next','imageCaption','has','model','isInlineImage','isEqual','getContainedElement','value','_splitMarkerName','getSuggestion','getSuggestionCallback'];(function(_0x49dffb,_0x3f0f09){const _0x5889b5=function(_0x252fcf){while(--_0x252fcf){_0x49dffb['push'](_0x49dffb['shift']());}};_0x5889b5(++_0x3f0f09);}(_0x3f0f,0x19a));const _0x5889=function(_0x49dffb,_0x3f0f09){_0x49dffb=_0x49dffb-0x0;let _0x5889b5=_0x3f0f[_0x49dffb];return _0x5889b5;};import{Plugin as _0x382ad9}from'ckeditor5/src/core.js';import{uid as _0x4591d2}from'ckeditor5/src/utils.js';import{getTranslation as _0x426920}from'../utils/common-translations.js';export default class nt extends _0x382ad9{[_0x5889('0x3b')](){const _0xaebef9=this['editor'];if(!_0xaebef9['plugins'][_0x5889('0x19')](_0x5889('0x26')))return;const _0x580e83=_0xaebef9[_0x5889('0x2b')][_0x5889('0x15')]('TrackChangesEditing'),_0xb71d4f=_0xaebef9[_0x5889('0x2b')][_0x5889('0x15')]('ImageUtils'),_0x4d3014={};_0x580e83[_0x5889('0x0')]('imageStyle',(_0x1ebd63,_0x254e7f)=>{const _0x4dd21a=_0xaebef9['plugins'][_0x5889('0x15')]('Users')['me'],_0x37f45f=_0xaebef9[_0x5889('0x2f')][_0x5889('0x15')](_0x5889('0x14'));let _0x5ba0b4=_0xb71d4f['getClosestSelectedImageElement'](_0xaebef9[_0x5889('0x1a')][_0x5889('0x32')]['selection']),_0xe26276=_0xaebef9[_0x5889('0x1a')][_0x5889('0xe')](_0x5ba0b4),_0x4dab39=_0x37f45f[_0x5889('0x1e')];if(_0x4dab39==_0x254e7f[_0x5889('0x1e')])return;const _0x9e4414={'commandName':_0x5889('0x14'),'commandParams':[_0x254e7f],'formatGroupId':_0x4591d2()};_0xaebef9[_0x5889('0x1a')]['change'](()=>{if(_0x580e83[_0x5889('0x44')]()[_0x5889('0x24')](_0xb5f602=>_0xb5f602[_0x5889('0x46')]&&_0x4dd21a==_0xb5f602[_0x5889('0x8')]&&(_0x5889('0x7')==_0xb5f602['type']||_0x5889('0x3')==_0xb5f602['type'])&&(_0x5889('0x13')==_0xb5f602[_0x5889('0x41')]||'imageStylePostApply'==_0xb5f602[_0x5889('0x41')])&&_0xb5f602[_0x5889('0x36')]()['isEqual'](_0xe26276))[_0x5889('0xb')](_0x5e9b67=>_0x580e83[_0x5889('0x3c')](_0x5e9b67['head'])),_0x5ba0b4=_0xb71d4f[_0x5889('0xc')](_0xaebef9[_0x5889('0x1a')][_0x5889('0x32')][_0x5889('0x11')]),_0xe26276=_0xaebef9[_0x5889('0x1a')][_0x5889('0xe')](_0x5ba0b4),_0x37f45f[_0x5889('0x2c')](),_0xaebef9['commands'][_0x5889('0x15')]('imageTypeInline')[_0x5889('0x2c')](),_0xaebef9['commands'][_0x5889('0x15')](_0x5889('0x16'))[_0x5889('0x2c')](),_0x4dab39=_0x37f45f[_0x5889('0x1e')],_0x4dab39!=_0x254e7f[_0x5889('0x1e')])return _0xb71d4f[_0x5889('0x1b')](_0x5ba0b4)&&_0x37f45f[_0x5889('0x23')](_0x254e7f[_0x5889('0x1e')],_0x5ba0b4)?(_0x1ebd63({..._0x254e7f,'setImageSizes':!0x1}),_0x5ba0b4=_0xb71d4f[_0x5889('0xc')](_0xaebef9[_0x5889('0x1a')][_0x5889('0x32')][_0x5889('0x11')]),void _0x580e83['markBlockFormat'](_0x5ba0b4,{..._0x9e4414,'commandReversedParams':[{'value':_0x4dab39||null,'setImageSizes':!0x1}]},[],_0x5889('0x13'))):void(_0xb71d4f[_0x5889('0x48')](_0x5ba0b4)?_0x580e83[_0x5889('0x5')](_0x5ba0b4,_0x9e4414,[],'imageStylePostApply'):_0x580e83[_0x5889('0xa')](_0xe26276,_0x9e4414,_0x5889('0x6')));});});for(const _0x69586d of _0xaebef9[_0x5889('0x2b')][_0x5889('0x15')](_0x5889('0x26'))[_0x5889('0x2e')])_0x4d3014[_0x69586d['name']]=_0x69586d[_0x5889('0x30')][_0x5889('0x47')]();_0x580e83[_0x5889('0x12')][_0x5889('0x31')](_0x5889('0x7'),'imageStylePreApply',_0x5889('0x4'),()=>!0x1),_0x580e83[_0x5889('0x12')][_0x5889('0x31')](_0x5889('0x7'),'imageStylePostApply','join',()=>!0x1),_0x580e83[_0x5889('0x12')][_0x5889('0x31')](_0x5889('0x3'),_0x5889('0x6'),_0x5889('0x4'),()=>!0x1),_0x580e83[_0x5889('0x12')]['registerCustomCallback'](_0x5889('0x7'),_0x5889('0x13'),_0x5889('0x25'),([_0x5e9928])=>{_0xb71d4f[_0x5889('0x10')](_0x5e9928[_0x5889('0x1d')]());}),_0x580e83[_0x5889('0x12')][_0x5889('0x31')](_0x5889('0x7'),'imageStylePreApply','discard',(_0x439226,_0x1f2b76)=>{_0x580e83[_0x5889('0x12')][_0x5889('0x21')](_0x5889('0x7'),'',_0x5889('0x25'))(_0x439226,{'commandName':_0x1f2b76[_0x5889('0x2a')],'commandParams':_0x1f2b76['commandReversedParams']});}),_0x580e83[_0x5889('0x12')]['registerCustomCallback'](_0x5889('0x7'),_0x5889('0x13'),_0x5889('0x2d'),function(_0x27d65d,_0x2df844){if(_0x9afb8b(_0x27d65d,_0x2df844))return[_0x27d65d,_0x2df844];if(_0x9afb8b(_0x2df844,_0x27d65d))return[_0x2df844,_0x27d65d];return null;});const _0xdb3f2=[{'type':_0x5889('0x7'),'subType':'imageStylePreApply'},{'type':_0x5889('0x2'),'subType':_0x5889('0x18')},{'type':_0x5889('0x7'),'subType':_0x5889('0x9')},{'type':'insertion','subType':_0x5889('0x9')}];function _0x9afb8b(_0x5a5732,_0x4c6687){const _0x3050da=_0xdb3f2[_0x5889('0x3a')](({type:_0x15138f,subType:_0xc5b8d9})=>_0x5a5732[_0x5889('0x27')]==_0x15138f&&_0x5a5732['subType']==_0xc5b8d9),_0x3204c4=_0xdb3f2[_0x5889('0x3a')](({type:_0x34225b,subType:_0x417827})=>_0x4c6687[_0x5889('0x27')]==_0x34225b&&_0x4c6687[_0x5889('0x41')]==_0x417827);if(_0x3050da<0x0||_0x3204c4<0x0)return!0x1;const _0x4d9c6c=_0x5a5732[_0x5889('0x36')](),_0x4e5998=_0x4c6687[_0x5889('0x36')]();if((0x0==_0x3050da||0x1==_0x3050da)&&0x2==_0x3204c4&&_0x4d9c6c[_0x5889('0xd')](_0x4e5998))return!0x0;if(0x2==_0x3050da&&0x3==_0x3204c4){const _0x4b8e99=_0x580e83['_findSuggestions'](_0x4d9c6c,_0x5889('0x2'))[_0x5889('0x24')](({suggestion:_0x231765,meta:_0x1f5163})=>_0x1f5163[_0x5889('0x3e')]&&_0x5889('0x9')==_0x231765[_0x5889('0x41')]);if(_0x4b8e99[_0x5889('0x28')]>0x1&&_0x4e5998[_0x5889('0x49')][_0x5889('0x1c')](_0x4d9c6c[_0x5889('0x34')]))return!0x0;if(0x1==_0x4b8e99[_0x5889('0x28')]&&(_0x4d9c6c[_0x5889('0x34')]['isEqual'](_0x4e5998['end'])||_0x4d9c6c['end']['isEqual'](_0x4e5998[_0x5889('0x34')])))return!0x0;}if(0x3==_0x3050da&&0x3==_0x3204c4&&_0x4d9c6c[_0x5889('0x34')][_0x5889('0x22')](_0x4e5998[_0x5889('0x34')])){const _0x1eb57a=_0x4d9c6c[_0x5889('0x49')]['nodeAfter'],_0x12f205=_0x4e5998[_0x5889('0x34')][_0x5889('0x38')];return _0xb71d4f[_0x5889('0x48')](_0x1eb57a)&&_0x1eb57a===_0x12f205;}return!0x1;}_0xaebef9['model'][_0x5889('0x32')][_0x5889('0x29')](()=>{let _0x483894=!0x1;const _0x16a853=Array[_0x5889('0x3d')](_0xaebef9[_0x5889('0x1a')][_0x5889('0x32')][_0x5889('0x40')]['getChangedMarkers']());for(const {name:_0x193910,data:_0x4476c9}of _0x16a853){const {group:_0x24b43f,type:_0x2c8f45,subType:_0x188e4b,id:_0x4d1c55}=_0x580e83[_0x5889('0x1f')](_0x193910);if(_0x5889('0x1')==_0x24b43f&&_0x580e83['hasSuggestion'](_0x4d1c55)){if(_0x5889('0x7')==_0x2c8f45&&(_0x5889('0x13')==_0x188e4b||'imageStylePostApply'==_0x188e4b)){const _0x2a619a=_0x580e83['getSuggestion'](_0x4d1c55);if(_0x4476c9[_0x5889('0x39')]){const _0x420df0=_0x2a619a['getFirstRange']()['getContainedElement']();if(_0xb71d4f['isBlockImage'](_0x420df0))continue;_0x580e83[_0x5889('0x3c')](_0x2a619a),_0x483894=!0x0;}}if(_0x5889('0x2')==_0x2c8f45&&_0x5889('0x18')==_0x188e4b&&!_0x4476c9[_0x5889('0x39')]){const _0x373fb3=_0x580e83[_0x5889('0x20')](_0x4d1c55);_0x373fb3['next']&&_0x373fb3[_0x5889('0x17')][_0x5889('0x46')]&&(_0x580e83[_0x5889('0x3c')](_0x373fb3[_0x5889('0x17')]),_0x483894=!0x0);}}}return _0x483894;}),this['_registerLegacyDescription'](_0x4d3014);}[_0x5889('0xf')](_0x145800){const _0x495ac1=this[_0x5889('0x33')],_0x165160=_0x495ac1['locale'];_0x495ac1[_0x5889('0x2b')][_0x5889('0x15')](_0x5889('0x35'))['_descriptionFactory'][_0x5889('0x3f')](_0x5d8bc8=>{if(_0x5889('0x7')!=_0x5d8bc8[_0x5889('0x27')]&&_0x5889('0x3')!=_0x5d8bc8[_0x5889('0x27')])return;const {data:_0x32b62d}=_0x5d8bc8;if(!_0x32b62d||_0x5889('0x14')!=_0x32b62d[_0x5889('0x2a')])return;const _0x1b1eb5=_0x32b62d[_0x5889('0x45')][0x0][_0x5889('0x1e')];return _0x3c87df('side'===_0x1b1eb5?_0x426920(_0x165160,_0x5889('0x37')):_0x145800[_0x1b1eb5]||_0x1b1eb5);function _0x3c87df(_0x47bd4d){return{'type':_0x5889('0x43'),'content':_0x426920(_0x165160,_0x5889('0x42'),_0x47bd4d)};}});}}
23
+ const _0x4813=['setImageNaturalSizeAttributes','start','imageTypeBlock','selection','isBlockImage','registerDescriptionCallback','ImageStyleEditing','name','discardSuggestion','imageStylePreApply','isIntersecting','commands','_registerLegacyDescription','editor','from','document','getFirstRange','accept','registerCustomCallback','Users','_findSuggestions','findIndex','model','value','getClosestSelectedImageElement','insertion','getContainedElement','next','chain','subType','nodeAfter','FORMAT_SIDE_IMAGE','shouldConvertImageType','title','type','forEach','nodeBefore','side','imageStylePostApply','filter','TrackChangesEditing','formatInline','toLowerCase','join','formatBlock','commandReversedParams','end','commandParams','markBlockFormat','isInContent','convertInlineImageToBlock','imageStyle','has','isOwn','commandName','newRange','registerPostFixer','get','imageTypeInline','hasSuggestion','_suggestionFactory','_descriptionFactory','plugins','author','_splitMarkerName','length','suggestion','getSuggestionCallback','imageCaption','change','locale','markInlineFormat','isEqual','getSuggestion','ImageUtils','differ','refresh','afterInit','createRangeOn','isInlineImage'];(function(_0x14a5a2,_0x481390){const _0x2009c3=function(_0x5529fc){while(--_0x5529fc){_0x14a5a2['push'](_0x14a5a2['shift']());}};_0x2009c3(++_0x481390);}(_0x4813,0x69));const _0x2009=function(_0x14a5a2,_0x481390){_0x14a5a2=_0x14a5a2-0x0;let _0x2009c3=_0x4813[_0x14a5a2];return _0x2009c3;};import{Plugin as _0x1b2448}from'ckeditor5/src/core.js';import{uid as _0x52b936}from'ckeditor5/src/utils.js';import{getTranslation as _0x251003}from'../utils/common-translations.js';export default class nt extends _0x1b2448{[_0x2009('0x34')](){const _0x2ba67d=this[_0x2009('0x44')];if(!_0x2ba67d[_0x2009('0x25')][_0x2009('0x1b')]('ImageStyleEditing'))return;const _0x4f0967=_0x2ba67d['plugins'][_0x2009('0x20')](_0x2009('0xf')),_0x2b5724=_0x2ba67d[_0x2009('0x25')][_0x2009('0x20')](_0x2009('0x31')),_0x38cf6e={};_0x4f0967['enableCommand'](_0x2009('0x1a'),(_0x3843b6,_0x3fb6c3)=>{const _0x38763d=_0x2ba67d['plugins'][_0x2009('0x20')](_0x2009('0x4a'))['me'],_0x2adaa3=_0x2ba67d['commands'][_0x2009('0x20')](_0x2009('0x1a'));let _0x5443c0=_0x2b5724[_0x2009('0x4f')](_0x2ba67d['model'][_0x2009('0x46')][_0x2009('0x3a')]),_0x161fd9=_0x2ba67d['model'][_0x2009('0x35')](_0x5443c0),_0x113bd8=_0x2adaa3[_0x2009('0x4e')];if(_0x113bd8==_0x3fb6c3[_0x2009('0x4e')])return;const _0x4442c8={'commandName':_0x2009('0x1a'),'commandParams':[_0x3fb6c3],'formatGroupId':_0x52b936()};_0x2ba67d[_0x2009('0x4d')][_0x2009('0x2c')](()=>{if(_0x4f0967['getSuggestions']()[_0x2009('0xe')](_0x1242ab=>_0x1242ab[_0x2009('0x18')]&&_0x38763d==_0x1242ab[_0x2009('0x26')]&&(_0x2009('0x13')==_0x1242ab['type']||_0x2009('0x10')==_0x1242ab[_0x2009('0x9')])&&(_0x2009('0x40')==_0x1242ab[_0x2009('0x4')]||'imageStylePostApply'==_0x1242ab['subType'])&&_0x1242ab['getFirstRange']()['isEqual'](_0x161fd9))[_0x2009('0xa')](_0x25fd0d=>_0x4f0967[_0x2009('0x3f')](_0x25fd0d['head'])),_0x5443c0=_0x2b5724[_0x2009('0x4f')](_0x2ba67d['model'][_0x2009('0x46')][_0x2009('0x3a')]),_0x161fd9=_0x2ba67d[_0x2009('0x4d')]['createRangeOn'](_0x5443c0),_0x2adaa3[_0x2009('0x33')](),_0x2ba67d[_0x2009('0x42')][_0x2009('0x20')](_0x2009('0x21'))[_0x2009('0x33')](),_0x2ba67d[_0x2009('0x42')][_0x2009('0x20')](_0x2009('0x39'))[_0x2009('0x33')](),_0x113bd8=_0x2adaa3[_0x2009('0x4e')],_0x113bd8!=_0x3fb6c3[_0x2009('0x4e')])return _0x2b5724[_0x2009('0x36')](_0x5443c0)&&_0x2adaa3[_0x2009('0x7')](_0x3fb6c3[_0x2009('0x4e')],_0x5443c0)?(_0x3843b6({..._0x3fb6c3,'setImageSizes':!0x1}),_0x5443c0=_0x2b5724[_0x2009('0x4f')](_0x2ba67d['model'][_0x2009('0x46')][_0x2009('0x3a')]),void _0x4f0967[_0x2009('0x17')](_0x5443c0,{..._0x4442c8,'commandReversedParams':[{'value':_0x113bd8||null,'setImageSizes':!0x1}]},[],_0x2009('0x40'))):void(_0x2b5724[_0x2009('0x3b')](_0x5443c0)?_0x4f0967['markBlockFormat'](_0x5443c0,_0x4442c8,[],'imageStylePostApply'):_0x4f0967[_0x2009('0x2e')](_0x161fd9,_0x4442c8,_0x2009('0xd')));});});for(const _0x31d0b6 of _0x2ba67d[_0x2009('0x25')][_0x2009('0x20')](_0x2009('0x3d'))['normalizedStyles'])_0x38cf6e[_0x31d0b6[_0x2009('0x3e')]]=_0x31d0b6[_0x2009('0x8')][_0x2009('0x11')]();_0x4f0967['_suggestionFactory'][_0x2009('0x49')]('formatBlock','imageStylePreApply',_0x2009('0x12'),()=>!0x1),_0x4f0967[_0x2009('0x23')]['registerCustomCallback'](_0x2009('0x13'),'imageStylePostApply','join',()=>!0x1),_0x4f0967[_0x2009('0x23')][_0x2009('0x49')](_0x2009('0x10'),'imageStylePostApply',_0x2009('0x12'),()=>!0x1),_0x4f0967[_0x2009('0x23')][_0x2009('0x49')]('formatBlock',_0x2009('0x40'),'accept',([_0x4a089c])=>{_0x2b5724[_0x2009('0x37')](_0x4a089c[_0x2009('0x1')]());}),_0x4f0967[_0x2009('0x23')][_0x2009('0x49')](_0x2009('0x13'),'imageStylePreApply','discard',(_0x312b0e,_0x3c03d3)=>{_0x4f0967[_0x2009('0x23')][_0x2009('0x2a')](_0x2009('0x13'),'',_0x2009('0x48'))(_0x312b0e,{'commandName':_0x3c03d3['commandName'],'commandParams':_0x3c03d3[_0x2009('0x14')]});}),_0x4f0967[_0x2009('0x23')]['registerCustomCallback'](_0x2009('0x13'),_0x2009('0x40'),_0x2009('0x3'),function(_0x331439,_0x227bef){if(_0x3915c8(_0x331439,_0x227bef))return[_0x331439,_0x227bef];if(_0x3915c8(_0x227bef,_0x331439))return[_0x227bef,_0x331439];return null;});const _0x116a3b=[{'type':_0x2009('0x13'),'subType':_0x2009('0x40')},{'type':_0x2009('0x0'),'subType':'imageCaption'},{'type':_0x2009('0x13'),'subType':'convertInlineImageToBlock'},{'type':_0x2009('0x0'),'subType':_0x2009('0x19')}];function _0x3915c8(_0x156482,_0x4e560e){const _0x5a61a8=_0x116a3b[_0x2009('0x4c')](({type:_0x5538ea,subType:_0x571abb})=>_0x156482[_0x2009('0x9')]==_0x5538ea&&_0x156482[_0x2009('0x4')]==_0x571abb),_0x24544a=_0x116a3b['findIndex'](({type:_0x194e8d,subType:_0x28caa0})=>_0x4e560e[_0x2009('0x9')]==_0x194e8d&&_0x4e560e['subType']==_0x28caa0);if(_0x5a61a8<0x0||_0x24544a<0x0)return!0x1;const _0x2b7353=_0x156482[_0x2009('0x47')](),_0x13a44c=_0x4e560e[_0x2009('0x47')]();if((0x0==_0x5a61a8||0x1==_0x5a61a8)&&0x2==_0x24544a&&_0x2b7353[_0x2009('0x41')](_0x13a44c))return!0x0;if(0x2==_0x5a61a8&&0x3==_0x24544a){const _0x7f538d=_0x4f0967[_0x2009('0x4b')](_0x2b7353,_0x2009('0x0'))[_0x2009('0xe')](({suggestion:_0x90d5c2,meta:_0x3d5182})=>_0x3d5182[_0x2009('0x1c')]&&'convertInlineImageToBlock'==_0x90d5c2[_0x2009('0x4')]);if(_0x7f538d['length']>0x1&&_0x13a44c[_0x2009('0x15')][_0x2009('0x2f')](_0x2b7353[_0x2009('0x38')]))return!0x0;if(0x1==_0x7f538d[_0x2009('0x28')]&&(_0x2b7353[_0x2009('0x38')][_0x2009('0x2f')](_0x13a44c[_0x2009('0x15')])||_0x2b7353[_0x2009('0x15')]['isEqual'](_0x13a44c[_0x2009('0x38')])))return!0x0;}if(0x3==_0x5a61a8&&0x3==_0x24544a&&_0x2b7353[_0x2009('0x38')]['isBefore'](_0x13a44c[_0x2009('0x38')])){const _0x19837e=_0x2b7353['end'][_0x2009('0x5')],_0x4d67b3=_0x13a44c['start'][_0x2009('0xb')];return _0x2b5724[_0x2009('0x3b')](_0x19837e)&&_0x19837e===_0x4d67b3;}return!0x1;}_0x2ba67d[_0x2009('0x4d')][_0x2009('0x46')][_0x2009('0x1f')](()=>{let _0x5a61db=!0x1;const _0x22c953=Array[_0x2009('0x45')](_0x2ba67d[_0x2009('0x4d')]['document'][_0x2009('0x32')]['getChangedMarkers']());for(const {name:_0x34ed0d,data:_0x4acae6}of _0x22c953){const {group:_0xe16219,type:_0x533fde,subType:_0x13dfc2,id:_0x30687f}=_0x4f0967[_0x2009('0x27')](_0x34ed0d);if(_0x2009('0x29')==_0xe16219&&_0x4f0967[_0x2009('0x22')](_0x30687f)){if(_0x2009('0x13')==_0x533fde&&('imageStylePreApply'==_0x13dfc2||_0x2009('0xd')==_0x13dfc2)){const _0xa664bf=_0x4f0967[_0x2009('0x30')](_0x30687f);if(_0x4acae6['newRange']){const _0x55a483=_0xa664bf[_0x2009('0x47')]()[_0x2009('0x1')]();if(_0x2b5724[_0x2009('0x3b')](_0x55a483))continue;_0x4f0967[_0x2009('0x3f')](_0xa664bf),_0x5a61db=!0x0;}}if(_0x2009('0x0')==_0x533fde&&_0x2009('0x2b')==_0x13dfc2&&!_0x4acae6[_0x2009('0x1e')]){const _0x1b24db=_0x4f0967['getSuggestion'](_0x30687f);_0x1b24db[_0x2009('0x2')]&&_0x1b24db[_0x2009('0x2')]['isInContent']&&(_0x4f0967[_0x2009('0x3f')](_0x1b24db['next']),_0x5a61db=!0x0);}}}return _0x5a61db;}),this[_0x2009('0x43')](_0x38cf6e);}[_0x2009('0x43')](_0x1efce9){const _0x21f4a8=this['editor'],_0x4eb660=_0x21f4a8[_0x2009('0x2d')];_0x21f4a8[_0x2009('0x25')][_0x2009('0x20')](_0x2009('0xf'))[_0x2009('0x24')][_0x2009('0x3c')](_0x49dff0=>{if('formatBlock'!=_0x49dff0[_0x2009('0x9')]&&_0x2009('0x10')!=_0x49dff0[_0x2009('0x9')])return;const {data:_0x552340}=_0x49dff0;if(!_0x552340||_0x2009('0x1a')!=_0x552340[_0x2009('0x1d')])return;const _0x3508f7=_0x552340[_0x2009('0x16')][0x0][_0x2009('0x4e')];return _0x4aa37d(_0x2009('0xc')===_0x3508f7?_0x251003(_0x4eb660,_0x2009('0x6')):_0x1efce9[_0x3508f7]||_0x3508f7);function _0x4aa37d(_0x16cca1){return{'type':'format','content':_0x251003(_0x4eb660,'*Format:*\x20%0',_0x16cca1)};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5222=['high','collaboration_features','_handleImportedData','trackChanges','commands','lowest','track_changes','TrackChangesEditing','importWord','get','plugins','execute','_trackChangesValueDuringImport','enableCommand','dataInsert','_setSuggestionData','value','bind','_trackChangesExecuted','editor','listenTo','Users'];(function(_0x5acc21,_0x522254){const _0x41cc49=function(_0x3e78c5){while(--_0x3e78c5){_0x5acc21['push'](_0x5acc21['shift']());}};_0x41cc49(++_0x522254);}(_0x5222,0x1e1));const _0x41cc=function(_0x5acc21,_0x522254){_0x5acc21=_0x5acc21-0x0;let _0x41cc49=_0x5222[_0x5acc21];return _0x41cc49;};import{Plugin as _0x4c0dd6}from'ckeditor5/src/core.js';export default class ot extends _0x4c0dd6{constructor(_0x544eda){super(_0x544eda),this[_0x41cc('0xf')]=!0x1,this[_0x41cc('0x15')]=!0x1;}['afterInit'](){const _0x415b5f=this[_0x41cc('0x0')],_0x49d81e=_0x415b5f[_0x41cc('0x7')][_0x41cc('0xc')]('importWord'),_0x35679d=_0x415b5f[_0x41cc('0x7')][_0x41cc('0xc')](_0x41cc('0x6'));_0x49d81e&&(_0x49d81e['on'](_0x41cc('0xe'),(_0x29e773,[,_0x1789fc])=>{this[_0x41cc('0xf')]=_0x35679d[_0x41cc('0x13')],_0x1789fc[_0x41cc('0x4')][_0x41cc('0x9')]=!this[_0x41cc('0xf')];},{'priority':_0x41cc('0x3')}),this[_0x41cc('0x1')](_0x49d81e,_0x41cc('0x11'),this[_0x41cc('0x5')][_0x41cc('0x14')](this)),this['listenTo'](_0x49d81e,_0x41cc('0x11'),()=>{this['_trackChangesExecuted']&&(_0x35679d[_0x41cc('0xe')](),this[_0x41cc('0x15')]=!0x1);},{'priority':_0x41cc('0x8')}),_0x415b5f[_0x41cc('0xd')]['get'](_0x41cc('0xa'))[_0x41cc('0x10')](_0x41cc('0xb')));}['_handleImportedData'](_0x37aab1,_0x371994){const {suggestions:_0x4f9bf3}=_0x371994,_0x45aa39=this['editor'][_0x41cc('0x7')][_0x41cc('0xc')](_0x41cc('0x6')),_0x26dc1c=_0x45aa39[_0x41cc('0x13')];this[_0x41cc('0xf')]!==_0x26dc1c&&(_0x45aa39[_0x41cc('0xe')](),this[_0x41cc('0x15')]=!0x0),_0x4f9bf3&&_0x4f9bf3['forEach'](({id:_0x58e9ba,type:_0x16107a,author:_0x2bb43f,created_at:_0x27cea1})=>{const _0x81d36b={'id':_0x58e9ba,'type':_0x16107a,'authorId':this[_0x41cc('0x0')][_0x41cc('0xd')][_0x41cc('0xc')](_0x41cc('0x2'))['me']['id'],'createdAt':new Date(),'data':null,'hasComments':!0x1,'attributes':{'@external':{'authorName':_0x2bb43f,'createdAt':_0x27cea1?new Date(_0x27cea1):new Date(),'source':_0x41cc('0xb')}}};this[_0x41cc('0x0')][_0x41cc('0xd')][_0x41cc('0xc')](_0x41cc('0xa'))[_0x41cc('0x12')](_0x81d36b);});}}
23
+ const _0x1a58=['forEach','value','_handleImportedData','afterInit','high','TrackChangesEditing','plugins','collaboration_features','trackChanges','track_changes','bind','commands','dataInsert','editor','get','lowest','execute','_trackChangesValueDuringImport','listenTo','_trackChangesExecuted','enableCommand','_setSuggestionData','importWord','Users'];(function(_0x4e3c81,_0x1a58eb){const _0x32f58c=function(_0x272128){while(--_0x272128){_0x4e3c81['push'](_0x4e3c81['shift']());}};_0x32f58c(++_0x1a58eb);}(_0x1a58,0x1ac));const _0x32f5=function(_0x4e3c81,_0x1a58eb){_0x4e3c81=_0x4e3c81-0x0;let _0x32f58c=_0x1a58[_0x4e3c81];return _0x32f58c;};import{Plugin as _0x36e3bd}from'ckeditor5/src/core.js';export default class ot extends _0x36e3bd{constructor(_0x4e71f4){super(_0x4e71f4),this[_0x32f5('0x15')]=!0x1,this[_0x32f5('0x17')]=!0x1;}[_0x32f5('0x7')](){const _0x486f53=this[_0x32f5('0x11')],_0x4f836b=_0x486f53[_0x32f5('0xf')][_0x32f5('0x12')](_0x32f5('0x2')),_0x53c105=_0x486f53[_0x32f5('0xf')][_0x32f5('0x12')]('trackChanges');_0x4f836b&&(_0x4f836b['on'](_0x32f5('0x14'),(_0x2e2d6f,[,_0x2c7e04])=>{this[_0x32f5('0x15')]=_0x53c105['value'],_0x2c7e04[_0x32f5('0xb')][_0x32f5('0xd')]=!this[_0x32f5('0x15')];},{'priority':_0x32f5('0x8')}),this[_0x32f5('0x16')](_0x4f836b,_0x32f5('0x10'),this[_0x32f5('0x6')][_0x32f5('0xe')](this)),this[_0x32f5('0x16')](_0x4f836b,'dataInsert',()=>{this[_0x32f5('0x17')]&&(_0x53c105[_0x32f5('0x14')](),this[_0x32f5('0x17')]=!0x1);},{'priority':_0x32f5('0x13')}),_0x486f53[_0x32f5('0xa')][_0x32f5('0x12')](_0x32f5('0x9'))[_0x32f5('0x0')](_0x32f5('0x2')));}['_handleImportedData'](_0x32df67,_0x41f08a){const {suggestions:_0x383e96}=_0x41f08a,_0x3d55b2=this[_0x32f5('0x11')][_0x32f5('0xf')][_0x32f5('0x12')](_0x32f5('0xc')),_0x1d9623=_0x3d55b2[_0x32f5('0x5')];this[_0x32f5('0x15')]!==_0x1d9623&&(_0x3d55b2[_0x32f5('0x14')](),this[_0x32f5('0x17')]=!0x0),_0x383e96&&_0x383e96[_0x32f5('0x4')](({id:_0x3373e3,type:_0x29f0b4,author:_0x54ffc4,created_at:_0x41289a})=>{const _0x13cd0b={'id':_0x3373e3,'type':_0x29f0b4,'authorId':this[_0x32f5('0x11')][_0x32f5('0xa')][_0x32f5('0x12')](_0x32f5('0x3'))['me']['id'],'createdAt':new Date(),'data':null,'hasComments':!0x1,'attributes':{'@external':{'authorName':_0x54ffc4,'createdAt':_0x41289a?new Date(_0x41289a):new Date(),'source':'importWord'}}};this[_0x32f5('0x11')][_0x32f5('0xa')][_0x32f5('0x12')](_0x32f5('0x9'))[_0x32f5('0x1')](_0x13cd0b);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x55b4=['indent','_descriptionFactory','IndentEditing','formatBlock','has','*Indent:*\x20%0','enableCommand','registerAttributeLabel','_registerLegacyDescription','IndentBlock','plugins','format','TrackChangesEditing','indentBlock','commandName','_enableDefaultAttributesIntegration','outdentBlock','type','getItemLabel','blockIndent','outdent','*Outdent:*\x20%0','registerDescriptionCallback','get','editor','FORMAT_INDENT','locale'];(function(_0xbdda3a,_0x55b41c){const _0x1a3ae5=function(_0x4f03cf){while(--_0x4f03cf){_0xbdda3a['push'](_0xbdda3a['shift']());}};_0x1a3ae5(++_0x55b41c);}(_0x55b4,0x95));const _0x1a3a=function(_0xbdda3a,_0x55b41c){_0xbdda3a=_0xbdda3a-0x0;let _0x1a3ae5=_0x55b4[_0xbdda3a];return _0x1a3ae5;};import{Plugin as _0x395dc7}from'ckeditor5/src/core.js';import{getTranslation as _0x31b040}from'../utils/common-translations.js';export default class rt extends _0x395dc7{['afterInit'](){const _0x1e7c61=this[_0x1a3a('0xa')],_0x36fe91=_0x1e7c61[_0x1a3a('0x17')][_0x1a3a('0x9')](_0x1a3a('0x19'));if(_0x1e7c61[_0x1a3a('0x17')][_0x1a3a('0x11')](_0x1a3a('0xf'))&&(_0x36fe91[_0x1a3a('0x13')](_0x1a3a('0xd')),_0x36fe91[_0x1a3a('0x13')](_0x1a3a('0x6'))),_0x1e7c61[_0x1a3a('0x17')]['has'](_0x1a3a('0x16')))for(const _0x2fd222 of[_0x1a3a('0x1a'),_0x1a3a('0x2')])_0x36fe91[_0x1a3a('0x1')](_0x2fd222);const _0xbe56b5=_0x1e7c61[_0x1a3a('0xc')];_0x36fe91['_registerBlockAttribute']('blockIndent'),_0x36fe91[_0x1a3a('0xe')][_0x1a3a('0x14')](_0x1a3a('0x5'),_0x31b040(_0xbe56b5,_0x1a3a('0xb'))),this['_registerLegacyDescription']();}[_0x1a3a('0x15')](){const _0x1a9fec=this['editor'],_0x509c1f=_0x1a9fec['locale'],_0x2156a0=_0x1a9fec[_0x1a3a('0x17')][_0x1a3a('0x9')]('TrackChangesEditing');_0x2156a0[_0x1a3a('0xe')][_0x1a3a('0x8')](_0x3d3bae=>{if(_0x1a3a('0x10')!=_0x3d3bae[_0x1a3a('0x3')])return;const {data:_0x320bde}=_0x3d3bae;if(!_0x320bde)return;if(_0x1a3a('0x1a')!=_0x320bde['commandName']&&_0x1a3a('0x2')!=_0x320bde['commandName'])return;const _0x130ee6=_0x3d3bae['getItems']()[0x0],_0xc9eda9=_0x2156a0[_0x1a3a('0xe')][_0x1a3a('0x4')](_0x130ee6);return _0x1a3a('0x1a')==_0x320bde[_0x1a3a('0x0')]?{'type':_0x1a3a('0x18'),'content':_0x31b040(_0x509c1f,_0x1a3a('0x12'),_0xc9eda9)}:'outdentBlock'==_0x320bde[_0x1a3a('0x0')]?{'type':_0x1a3a('0x18'),'content':_0x31b040(_0x509c1f,_0x1a3a('0x7'),_0xc9eda9)}:void 0x0;});}}
23
+ const _0x43c3=['plugins','_enableDefaultAttributesIntegration','blockIndent','*Outdent:*\x20%0','enableCommand','locale','registerDescriptionCallback','indentBlock','get','formatBlock','format','commandName','getItemLabel','TrackChangesEditing','_registerLegacyDescription','outdent','registerAttributeLabel','editor','outdentBlock','_registerBlockAttribute','_descriptionFactory','has','afterInit'];(function(_0x1cda33,_0x43c30e){const _0x535d40=function(_0x461917){while(--_0x461917){_0x1cda33['push'](_0x1cda33['shift']());}};_0x535d40(++_0x43c30e);}(_0x43c3,0xdd));const _0x535d=function(_0x1cda33,_0x43c30e){_0x1cda33=_0x1cda33-0x0;let _0x535d40=_0x43c3[_0x1cda33];return _0x535d40;};import{Plugin as _0x432d6b}from'ckeditor5/src/core.js';import{getTranslation as _0x18f202}from'../utils/common-translations.js';export default class rt extends _0x432d6b{[_0x535d('0x8')](){const _0xc714f5=this[_0x535d('0x3')],_0x4e3a06=_0xc714f5[_0x535d('0x9')][_0x535d('0x11')](_0x535d('0x16'));if(_0xc714f5[_0x535d('0x9')][_0x535d('0x7')]('IndentEditing')&&(_0x4e3a06[_0x535d('0xd')]('indent'),_0x4e3a06[_0x535d('0xd')](_0x535d('0x1'))),_0xc714f5[_0x535d('0x9')]['has']('IndentBlock'))for(const _0x3ad4b9 of[_0x535d('0x10'),_0x535d('0x4')])_0x4e3a06[_0x535d('0xa')](_0x3ad4b9);const _0x4944bb=_0xc714f5[_0x535d('0xe')];_0x4e3a06[_0x535d('0x5')](_0x535d('0xb')),_0x4e3a06[_0x535d('0x6')][_0x535d('0x2')](_0x535d('0xb'),_0x18f202(_0x4944bb,'FORMAT_INDENT')),this[_0x535d('0x0')]();}['_registerLegacyDescription'](){const _0x4b7815=this[_0x535d('0x3')],_0x147d60=_0x4b7815[_0x535d('0xe')],_0x40023b=_0x4b7815[_0x535d('0x9')][_0x535d('0x11')](_0x535d('0x16'));_0x40023b[_0x535d('0x6')][_0x535d('0xf')](_0x4d0726=>{if(_0x535d('0x12')!=_0x4d0726['type'])return;const {data:_0x2e03b1}=_0x4d0726;if(!_0x2e03b1)return;if(_0x535d('0x10')!=_0x2e03b1[_0x535d('0x14')]&&_0x535d('0x4')!=_0x2e03b1['commandName'])return;const _0x54a96b=_0x4d0726['getItems']()[0x0],_0x368810=_0x40023b['_descriptionFactory'][_0x535d('0x15')](_0x54a96b);return _0x535d('0x10')==_0x2e03b1[_0x535d('0x14')]?{'type':_0x535d('0x13'),'content':_0x18f202(_0x147d60,'*Indent:*\x20%0',_0x368810)}:_0x535d('0x4')==_0x2e03b1[_0x535d('0x14')]?{'type':_0x535d('0x13'),'content':_0x18f202(_0x147d60,_0x535d('0xc'),_0x368810)}:void 0x0;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x4b17=['init','input','editor','enableCommand','TrackChangesEditing','plugins','requires'];(function(_0x59fab2,_0x4b1739){var _0x256cc0=function(_0x446dd1){while(--_0x446dd1){_0x59fab2['push'](_0x59fab2['shift']());}};_0x256cc0(++_0x4b1739);}(_0x4b17,0x1de));var _0x256c=function(_0x59fab2,_0x4b1739){_0x59fab2=_0x59fab2-0x0;var _0x256cc0=_0x4b17[_0x59fab2];return _0x256cc0;};import{Plugin as _0xbfb575}from'ckeditor5/src/core.js';import{Input as _0x23b961}from'ckeditor5/src/typing.js';export default class at extends _0xbfb575{static get[_0x256c('0x4')](){return[_0x23b961];}[_0x256c('0x5')](){this[_0x256c('0x0')][_0x256c('0x3')]['get'](_0x256c('0x2'))[_0x256c('0x1')](_0x256c('0x6'));}}
23
+ var _0x4b6b=['input','TrackChangesEditing','editor','plugins','enableCommand','get','init'];(function(_0x41b0ef,_0x4b6b38){var _0x3a46bf=function(_0x1dd19f){while(--_0x1dd19f){_0x41b0ef['push'](_0x41b0ef['shift']());}};_0x3a46bf(++_0x4b6b38);}(_0x4b6b,0x178));var _0x3a46=function(_0x41b0ef,_0x4b6b38){_0x41b0ef=_0x41b0ef-0x0;var _0x3a46bf=_0x4b6b[_0x41b0ef];return _0x3a46bf;};import{Plugin as _0x78b771}from'ckeditor5/src/core.js';import{Input as _0x39692f}from'ckeditor5/src/typing.js';export default class at extends _0x78b771{static get['requires'](){return[_0x39692f];}[_0x3a46('0x1')](){this[_0x3a46('0x4')][_0x3a46('0x5')][_0x3a46('0x0')](_0x3a46('0x3'))[_0x3a46('0x6')](_0x3a46('0x2'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3393=['commandName','document','enableCommand','listItem','plugins','indentList','length','change','value','commandParams','filter','*Change\x20to:*\x20%0','*Indent:*\x20%0','commands','schema','ELEMENT_TODO_LIST','*Uncheck\x20item*','add','nextSibling','element','slice','execute','checkChild','bulleted','getAttribute','_descriptionFactory','numberedList','markBlockFormat','TrackChangesEditing','parent','get','todoList','findIndex','type','outdentList','*Check\x20item*','todoListChecked','replace','has','name','from','createRange','format','todo','checkTodoList','selection','paragraph','*Outdent:*\x20%0','bulletedList','end','_selectedElements','blockName','ELEMENT_BULLETED_LIST','isObject','LegacyListEditing','afterInit','List','getSelectedBlocks','createPositionAt','formatBlock','ELEMENT_LIST_ITEM','model','listIndent','registerDescriptionCallback','formatInline','previousSibling','push'];(function(_0x2bab68,_0x33934b){const _0x254d15=function(_0x1e503d){while(--_0x1e503d){_0x2bab68['push'](_0x2bab68['shift']());}};_0x254d15(++_0x33934b);}(_0x3393,0x11b));const _0x254d=function(_0x2bab68,_0x33934b){_0x2bab68=_0x2bab68-0x0;let _0x254d15=_0x3393[_0x2bab68];return _0x254d15;};import{Plugin as _0x19a954}from'ckeditor5/src/core.js';import{getTranslation as _0x1b5f81}from'../utils/common-translations.js';export default class ut extends _0x19a954{[_0x254d('0x28')](){const _0x209144=this['editor'],_0x49e8b5=_0x209144['locale'];if(!_0x209144[_0x254d('0x38')][_0x254d('0x17')](_0x254d('0x27')))return;const _0x3e56bf=_0x209144[_0x254d('0x38')][_0x254d('0xf')](_0x254d('0xd')),_0x44f696=_0x209144[_0x254d('0x38')][_0x254d('0x17')]('LegacyTodoListEditing');function _0x230411(_0x1f5a88){return()=>{const _0x4be68d=_0x209144[_0x254d('0x2e')]['document'][_0x254d('0x1e')],_0x3e27a2=_0x209144[_0x254d('0x41')][_0x254d('0xf')](_0x1f5a88);if(_0x3e27a2[_0x254d('0x3c')])return void _0x209144[_0x254d('0x6')](_0x254d('0x1f'),{});const _0x2e1911=_0x1f5a88[_0x254d('0x5')](0x0,-0x4),_0x513e4c=function(_0x277f2c,_0x3d79a6,_0x58471b){let _0x240eba=Array[_0x254d('0x19')](_0x277f2c)[_0x254d('0x3e')](_0x53cb1a=>function(_0x49b569,_0x49b330){return _0x49b330[_0x254d('0x7')](_0x49b569[_0x254d('0xe')],_0x254d('0x37'))&&!_0x49b330[_0x254d('0x26')](_0x49b569);}(_0x53cb1a,_0x58471b));_0x240eba=_0x240eba['filter'](_0x194a62=>!_0x194a62['is']('element','listItem')||_0x194a62[_0x254d('0x9')]('listType')!=_0x3d79a6);const _0x5e1431=new Set();for(const _0x3d31d8 of _0x240eba)_0x3d31d8['is'](_0x254d('0x4'),_0x254d('0x37'))?_0x5e1431[_0x254d('0x2')](ne(_0x3d31d8)):_0x5e1431[_0x254d('0x2')](_0x3d31d8);return Array[_0x254d('0x19')](_0x5e1431);}(_0x4be68d[_0x254d('0x2a')](),_0x2e1911,_0x209144[_0x254d('0x2e')][_0x254d('0x42')]);_0x209144[_0x254d('0x2e')]['change'](()=>{for(const _0x416d9f of _0x513e4c)_0x3e56bf[_0x254d('0xc')](_0x416d9f,{'commandName':_0x1f5a88,'commandParams':[{'forceValue':!_0x3e27a2['value']}],'formatGroupId':_0x254d('0x24')},oe(_0x416d9f));});};}function _0x37c616(_0x122828){return()=>{const _0x1fe527=function(_0xdc3446){let _0xff36e2=Array[_0x254d('0x19')](_0xdc3446);const _0x5194c3=_0xff36e2[_0x254d('0x11')](_0x21e2e6=>_0x254d('0x37')!=_0x21e2e6[_0x254d('0x18')]);return _0x5194c3>-0x1&&(_0xff36e2=_0xff36e2['slice'](0x0,_0x5194c3)),_0xff36e2;}(_0x209144[_0x254d('0x2e')][_0x254d('0x35')]['selection'][_0x254d('0x2a')]()),_0x516a69=_0x209144['model'][_0x254d('0x1a')](_0x209144['model']['createPositionAt'](_0x1fe527[0x0],'before'),_0x209144['model'][_0x254d('0x2b')](_0x1fe527[_0x1fe527[_0x254d('0x3a')]-0x1],_0x254d('0x22')));_0x209144['model'][_0x254d('0x3b')](()=>{_0x3e56bf[_0x254d('0xc')](_0x516a69,{'commandName':_0x122828,'commandParams':[],'formatGroupId':_0x254d('0x2f')},function(_0xfd444d){const _0x4e1083=new Set();for(const _0x159ee1 of _0xfd444d){let _0x22c03f=_0x159ee1['nextSibling'];for(;_0x22c03f&&_0x22c03f[_0x254d('0x9')](_0x254d('0x2f'))>_0x159ee1['getAttribute'](_0x254d('0x2f'));)_0x4e1083[_0x254d('0x2')](_0x22c03f),_0x22c03f=_0x22c03f[_0x254d('0x3')];}return Array['from'](_0x4e1083);}(_0x1fe527));});};}_0x3e56bf[_0x254d('0x36')](_0x254d('0xb'),_0x230411(_0x254d('0xb'))),_0x3e56bf[_0x254d('0x36')]('bulletedList',_0x230411(_0x254d('0x21'))),_0x44f696&&_0x3e56bf[_0x254d('0x36')](_0x254d('0x10'),_0x230411('todoList')),_0x3e56bf[_0x254d('0x36')]('indentList',_0x37c616(_0x254d('0x39'))),_0x3e56bf[_0x254d('0x36')](_0x254d('0x13'),_0x37c616('outdentList')),_0x44f696&&_0x3e56bf['enableCommand'](_0x254d('0x1d'),()=>{const _0x5780ff=_0x209144[_0x254d('0x41')][_0x254d('0xf')](_0x254d('0x1d')),_0x302b95=Array[_0x254d('0x19')](_0x5780ff[_0x254d('0x23')]);_0x302b95[_0x254d('0x3e')](_0x51b8de=>_0x51b8de[_0x254d('0x9')](_0x254d('0x15'))!=_0x5780ff[_0x254d('0x3c')]),_0x209144[_0x254d('0x2e')][_0x254d('0x3b')](()=>{for(const _0x198310 of _0x302b95)_0x3e56bf[_0x254d('0xc')](_0x198310,{'commandName':'checkTodoList','commandParams':[{'forceValue':!_0x5780ff[_0x254d('0x3c')]}]});});}),_0x3e56bf[_0x254d('0xa')]['registerElementLabel']('listItem',_0x45a4d5=>_0x1b5f81(_0x49e8b5,_0x254d('0x2d'),_0x45a4d5)),_0x3e56bf[_0x254d('0xa')][_0x254d('0x30')](_0x3b351e=>{if(_0x254d('0x2c')!=_0x3b351e[_0x254d('0x12')]&&_0x254d('0x31')!=_0x3b351e[_0x254d('0x12')])return;const {data:_0x5061ae}=_0x3b351e;if(_0x5061ae){if(_0x254d('0xb')==_0x5061ae['commandName']||'bulletedList'==_0x5061ae[_0x254d('0x34')]||_0x254d('0x10')==_0x5061ae[_0x254d('0x34')])switch(_0x5061ae['commandName'][_0x254d('0x16')](_0x254d('0x29'),'')){case _0x254d('0x8'):return _0x3204e5(_0x1b5f81(_0x49e8b5,_0x254d('0x25')));case'numbered':return _0x3204e5(_0x1b5f81(_0x49e8b5,'ELEMENT_NUMBERED_LIST'));case _0x254d('0x1c'):return _0x3204e5(_0x1b5f81(_0x49e8b5,_0x254d('0x0')));}if(_0x254d('0x39')==_0x5061ae['commandName'])return{'type':_0x254d('0x1b'),'content':_0x1b5f81(_0x49e8b5,_0x254d('0x40'),_0x1b5f81(_0x49e8b5,_0x254d('0x2d')))};if(_0x254d('0x13')==_0x5061ae[_0x254d('0x34')])return{'type':_0x254d('0x1b'),'content':_0x1b5f81(_0x49e8b5,_0x254d('0x20'),_0x1b5f81(_0x49e8b5,'ELEMENT_LIST_ITEM'))};if(_0x254d('0x1d')==_0x5061ae['commandName'])return _0x5061ae[_0x254d('0x3d')][0x0]['forceValue']?{'type':_0x254d('0x1b'),'content':_0x1b5f81(_0x49e8b5,_0x254d('0x14'))}:{'type':_0x254d('0x1b'),'content':_0x1b5f81(_0x49e8b5,_0x254d('0x1'))};}function _0x3204e5(_0x1be973){return{'type':_0x254d('0x1b'),'content':_0x1b5f81(_0x49e8b5,_0x254d('0x3f'),_0x1be973)};}});}}function ne(_0x18043e){const _0x45892b=_0x18043e[_0x254d('0x9')](_0x254d('0x2f'));if(0x0==_0x45892b)return _0x18043e;let _0x22e867=_0x18043e;for(;_0x18043e['previousSibling']&&_0x18043e[_0x254d('0x32')]['is'](_0x254d('0x4'),_0x254d('0x37'));){const _0x552303=_0x18043e[_0x254d('0x32')][_0x254d('0x9')](_0x254d('0x2f'));if(_0x552303==_0x45892b)_0x22e867=_0x18043e['previousSibling'];else{if(_0x552303<_0x45892b)break;}_0x18043e=_0x18043e[_0x254d('0x32')];}return _0x22e867;}function oe(_0x184b6d){const _0x49b0ee=[];if(_0x184b6d['is'](_0x254d('0x4'),_0x254d('0x37'))&&_0x184b6d[_0x254d('0x9')]('listIndent')>0x0){let _0x32de2f=_0x184b6d[_0x254d('0x3')];for(;_0x32de2f&&'listItem'==_0x32de2f[_0x254d('0x18')]&&_0x32de2f[_0x254d('0x9')]('listIndent')==_0x184b6d[_0x254d('0x9')](_0x254d('0x2f'));)_0x49b0ee[_0x254d('0x33')](_0x32de2f),_0x32de2f=_0x32de2f[_0x254d('0x3')];}return _0x49b0ee;}
23
+ const _0x2c64=['change','element','ELEMENT_LIST_ITEM','registerDescriptionCallback','listIndent','end','numberedList','ELEMENT_NUMBERED_LIST','editor','numbered','markBlockFormat','commandName','todoList','nextSibling','previousSibling','document','value','paragraph','parent','TrackChangesEditing','format','blockName','LegacyTodoListEditing','listType','createPositionAt','isObject','model','*Indent:*\x20%0','*Outdent:*\x20%0','selection','listItem','todo','commands','_selectedElements','createRange','plugins','_descriptionFactory','execute','todoListChecked','getSelectedBlocks','*Check\x20item*','formatBlock','List','*Change\x20to:*\x20%0','findIndex','enableCommand','LegacyListEditing','checkTodoList','*Uncheck\x20item*','before','add','from','get','bulletedList','getAttribute','forceValue','outdentList','locale','schema','slice','has','type','name','indentList','replace'];(function(_0x10dec6,_0x2c6496){const _0x3eefe8=function(_0x5034d4){while(--_0x5034d4){_0x10dec6['push'](_0x10dec6['shift']());}};_0x3eefe8(++_0x2c6496);}(_0x2c64,0xaa));const _0x3eef=function(_0x10dec6,_0x2c6496){_0x10dec6=_0x10dec6-0x0;let _0x3eefe8=_0x2c64[_0x10dec6];return _0x3eefe8;};import{Plugin as _0x9af38c}from'ckeditor5/src/core.js';import{getTranslation as _0xebc3d7}from'../utils/common-translations.js';export default class ut extends _0x9af38c{['afterInit'](){const _0x2fbec9=this[_0x3eef('0x21')],_0x2d9fff=_0x2fbec9[_0x3eef('0x11')];if(!_0x2fbec9['plugins'][_0x3eef('0x14')](_0x3eef('0x6')))return;const _0x23e6c1=_0x2fbec9[_0x3eef('0x3c')][_0x3eef('0xc')](_0x3eef('0x2c')),_0x5a7e67=_0x2fbec9[_0x3eef('0x3c')][_0x3eef('0x14')](_0x3eef('0x2f'));function _0x164f85(_0x1a383b){return()=>{const _0x32868e=_0x2fbec9[_0x3eef('0x33')][_0x3eef('0x28')][_0x3eef('0x36')],_0x321fed=_0x2fbec9[_0x3eef('0x39')][_0x3eef('0xc')](_0x1a383b);if(_0x321fed[_0x3eef('0x29')])return void _0x2fbec9[_0x3eef('0x3e')](_0x3eef('0x2a'),{});const _0x336fcf=_0x1a383b[_0x3eef('0x13')](0x0,-0x4),_0x4a8012=function(_0x559307,_0x4464dc,_0x5d2c5b){let _0x158f93=Array[_0x3eef('0xb')](_0x559307)['filter'](_0x5505c0=>function(_0x312d92,_0x1f0acf){return _0x1f0acf['checkChild'](_0x312d92[_0x3eef('0x2b')],_0x3eef('0x37'))&&!_0x1f0acf[_0x3eef('0x32')](_0x312d92);}(_0x5505c0,_0x5d2c5b));_0x158f93=_0x158f93['filter'](_0x15fac7=>!_0x15fac7['is']('element','listItem')||_0x15fac7['getAttribute'](_0x3eef('0x30'))!=_0x4464dc);const _0x571e05=new Set();for(const _0x39dbbd of _0x158f93)_0x39dbbd['is'](_0x3eef('0x1a'),_0x3eef('0x37'))?_0x571e05[_0x3eef('0xa')](ne(_0x39dbbd)):_0x571e05[_0x3eef('0xa')](_0x39dbbd);return Array[_0x3eef('0xb')](_0x571e05);}(_0x32868e[_0x3eef('0x40')](),_0x336fcf,_0x2fbec9[_0x3eef('0x33')][_0x3eef('0x12')]);_0x2fbec9[_0x3eef('0x33')][_0x3eef('0x19')](()=>{for(const _0x59ff88 of _0x4a8012)_0x23e6c1[_0x3eef('0x23')](_0x59ff88,{'commandName':_0x1a383b,'commandParams':[{'forceValue':!_0x321fed[_0x3eef('0x29')]}],'formatGroupId':_0x3eef('0x2e')},oe(_0x59ff88));});};}function _0x52268c(_0x5d3d56){return()=>{const _0x51a934=function(_0x36e1ac){let _0x1b127c=Array['from'](_0x36e1ac);const _0x5524f7=_0x1b127c[_0x3eef('0x4')](_0x23ac6d=>_0x3eef('0x37')!=_0x23ac6d[_0x3eef('0x16')]);return _0x5524f7>-0x1&&(_0x1b127c=_0x1b127c[_0x3eef('0x13')](0x0,_0x5524f7)),_0x1b127c;}(_0x2fbec9[_0x3eef('0x33')]['document'][_0x3eef('0x36')][_0x3eef('0x40')]()),_0x37b09d=_0x2fbec9[_0x3eef('0x33')][_0x3eef('0x3b')](_0x2fbec9[_0x3eef('0x33')][_0x3eef('0x31')](_0x51a934[0x0],_0x3eef('0x9')),_0x2fbec9[_0x3eef('0x33')][_0x3eef('0x31')](_0x51a934[_0x51a934['length']-0x1],_0x3eef('0x1e')));_0x2fbec9[_0x3eef('0x33')][_0x3eef('0x19')](()=>{_0x23e6c1[_0x3eef('0x23')](_0x37b09d,{'commandName':_0x5d3d56,'commandParams':[],'formatGroupId':_0x3eef('0x1d')},function(_0x112ba6){const _0x11aa00=new Set();for(const _0x478752 of _0x112ba6){let _0x248674=_0x478752[_0x3eef('0x26')];for(;_0x248674&&_0x248674[_0x3eef('0xe')](_0x3eef('0x1d'))>_0x478752[_0x3eef('0xe')](_0x3eef('0x1d'));)_0x11aa00[_0x3eef('0xa')](_0x248674),_0x248674=_0x248674[_0x3eef('0x26')];}return Array[_0x3eef('0xb')](_0x11aa00);}(_0x51a934));});};}_0x23e6c1['enableCommand']('numberedList',_0x164f85(_0x3eef('0x1f'))),_0x23e6c1['enableCommand'](_0x3eef('0xd'),_0x164f85(_0x3eef('0xd'))),_0x5a7e67&&_0x23e6c1['enableCommand'](_0x3eef('0x25'),_0x164f85(_0x3eef('0x25'))),_0x23e6c1[_0x3eef('0x5')](_0x3eef('0x17'),_0x52268c(_0x3eef('0x17'))),_0x23e6c1[_0x3eef('0x5')](_0x3eef('0x10'),_0x52268c(_0x3eef('0x10'))),_0x5a7e67&&_0x23e6c1['enableCommand'](_0x3eef('0x7'),()=>{const _0x1b67db=_0x2fbec9[_0x3eef('0x39')][_0x3eef('0xc')](_0x3eef('0x7')),_0x5b4e52=Array[_0x3eef('0xb')](_0x1b67db[_0x3eef('0x3a')]);_0x5b4e52['filter'](_0x4b5984=>_0x4b5984[_0x3eef('0xe')](_0x3eef('0x3f'))!=_0x1b67db[_0x3eef('0x29')]),_0x2fbec9['model'][_0x3eef('0x19')](()=>{for(const _0x25f9a3 of _0x5b4e52)_0x23e6c1['markBlockFormat'](_0x25f9a3,{'commandName':'checkTodoList','commandParams':[{'forceValue':!_0x1b67db[_0x3eef('0x29')]}]});});}),_0x23e6c1[_0x3eef('0x3d')]['registerElementLabel'](_0x3eef('0x37'),_0x3faa67=>_0xebc3d7(_0x2d9fff,_0x3eef('0x1b'),_0x3faa67)),_0x23e6c1[_0x3eef('0x3d')][_0x3eef('0x1c')](_0x351df7=>{if(_0x3eef('0x1')!=_0x351df7['type']&&'formatInline'!=_0x351df7[_0x3eef('0x15')])return;const {data:_0x54068e}=_0x351df7;if(_0x54068e){if(_0x3eef('0x1f')==_0x54068e[_0x3eef('0x24')]||_0x3eef('0xd')==_0x54068e[_0x3eef('0x24')]||_0x3eef('0x25')==_0x54068e[_0x3eef('0x24')])switch(_0x54068e[_0x3eef('0x24')][_0x3eef('0x18')](_0x3eef('0x2'),'')){case'bulleted':return _0x47d7e2(_0xebc3d7(_0x2d9fff,'ELEMENT_BULLETED_LIST'));case _0x3eef('0x22'):return _0x47d7e2(_0xebc3d7(_0x2d9fff,_0x3eef('0x20')));case _0x3eef('0x38'):return _0x47d7e2(_0xebc3d7(_0x2d9fff,'ELEMENT_TODO_LIST'));}if('indentList'==_0x54068e[_0x3eef('0x24')])return{'type':'format','content':_0xebc3d7(_0x2d9fff,_0x3eef('0x34'),_0xebc3d7(_0x2d9fff,_0x3eef('0x1b')))};if(_0x3eef('0x10')==_0x54068e[_0x3eef('0x24')])return{'type':_0x3eef('0x2d'),'content':_0xebc3d7(_0x2d9fff,_0x3eef('0x35'),_0xebc3d7(_0x2d9fff,'ELEMENT_LIST_ITEM'))};if(_0x3eef('0x7')==_0x54068e['commandName'])return _0x54068e['commandParams'][0x0][_0x3eef('0xf')]?{'type':_0x3eef('0x2d'),'content':_0xebc3d7(_0x2d9fff,_0x3eef('0x0'))}:{'type':_0x3eef('0x2d'),'content':_0xebc3d7(_0x2d9fff,_0x3eef('0x8'))};}function _0x47d7e2(_0x4d5a52){return{'type':_0x3eef('0x2d'),'content':_0xebc3d7(_0x2d9fff,_0x3eef('0x3'),_0x4d5a52)};}});}}function ne(_0x4f053d){const _0x18e01b=_0x4f053d[_0x3eef('0xe')]('listIndent');if(0x0==_0x18e01b)return _0x4f053d;let _0x243b6b=_0x4f053d;for(;_0x4f053d[_0x3eef('0x27')]&&_0x4f053d[_0x3eef('0x27')]['is'](_0x3eef('0x1a'),_0x3eef('0x37'));){const _0x205ba4=_0x4f053d[_0x3eef('0x27')]['getAttribute'](_0x3eef('0x1d'));if(_0x205ba4==_0x18e01b)_0x243b6b=_0x4f053d[_0x3eef('0x27')];else{if(_0x205ba4<_0x18e01b)break;}_0x4f053d=_0x4f053d[_0x3eef('0x27')];}return _0x243b6b;}function oe(_0x1ef524){const _0x2caf19=[];if(_0x1ef524['is']('element',_0x3eef('0x37'))&&_0x1ef524['getAttribute']('listIndent')>0x0){let _0x2cf45d=_0x1ef524['nextSibling'];for(;_0x2cf45d&&_0x3eef('0x37')==_0x2cf45d[_0x3eef('0x16')]&&_0x2cf45d[_0x3eef('0xe')](_0x3eef('0x1d'))==_0x1ef524[_0x3eef('0xe')](_0x3eef('0x1d'));)_0x2caf19['push'](_0x2cf45d),_0x2cf45d=_0x2cf45d[_0x3eef('0x26')];}return _0x2caf19;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4c6c=['afterInit','TrackChangesEditing','getListTypeFromListStyleType','_LIST_','element','listReversed','LegacyListPropertiesEditing','formatInline','startIndex','type','toUpperCase','map','reversed','enableCommand','unshift','*Format:*\x20set\x20order\x20to\x20reversed','createPositionAt','listStart','commandName','listType','bind','filter','length','formatBlock','before','listItem','format','document','markMultiRangeBlockFormat','editor','numbered','*Format:*\x20set\x20start\x20index\x20to\x20%0','createRange','from','getSiblingNodes','flat','selection','handleListStartCommand','push','registerDescriptionCallback','listStyle','list.properties','model','_getSuggestionBlocksForListStyle','commandParams','getLastPosition','getSelectedBlocks','getFirstPosition','LegacyListUtils','_descriptionFactory','config','_getTranslationKeyForListStyle','*Change\x20to:*\x20%0','forward','backward','change','getAttribute','plugins','get','_getSuggestionBlocks','ELEMENT_','handleListStyleCommand','styles','locale','handleListReversedCommand','handleDescriptions','*Format:*\x20set\x20order\x20to\x20regular'];(function(_0x5142f8,_0x4c6c96){const _0x24b8bb=function(_0x510b71){while(--_0x510b71){_0x5142f8['push'](_0x5142f8['shift']());}};_0x24b8bb(++_0x4c6c96);}(_0x4c6c,0x1b9));const _0x24b8=function(_0x5142f8,_0x4c6c96){_0x5142f8=_0x5142f8-0x0;let _0x24b8bb=_0x4c6c[_0x5142f8];return _0x24b8bb;};import{Plugin as _0xfbdcda}from'ckeditor5/src/core.js';import{getTranslation as _0x366d97}from'../utils/common-translations.js';export default class K extends _0xfbdcda{[_0x24b8('0x1c')](){if(!this['editor'][_0x24b8('0x12')]['has'](_0x24b8('0x22')))return;const _0x5e5be3=this['editor'][_0x24b8('0xb')]['get'](_0x24b8('0x2')),_0x36f966=this[_0x24b8('0x39')][_0x24b8('0x12')]['get']('TrackChangesEditing');_0x5e5be3[_0x24b8('0x17')]&&_0x36f966['enableCommand'](_0x24b8('0x1'),this[_0x24b8('0x16')][_0x24b8('0x30')](this)),_0x5e5be3[_0x24b8('0x28')]&&_0x36f966[_0x24b8('0x29')](_0x24b8('0x21'),this[_0x24b8('0x19')][_0x24b8('0x30')](this)),_0x5e5be3[_0x24b8('0x24')]&&_0x36f966[_0x24b8('0x29')](_0x24b8('0x2d'),this['handleListStartCommand'][_0x24b8('0x30')](this)),_0x36f966[_0x24b8('0xa')][_0x24b8('0x0')](this[_0x24b8('0x1a')][_0x24b8('0x30')](this));}[_0x24b8('0x16')](_0xa3e735,_0x3913b7={}){const _0x3b4ec2=this[_0x24b8('0x39')][_0x24b8('0x12')]['get'](_0x24b8('0x1d')),_0x1714ef=this[_0x24b8('0x4')]();this[_0x24b8('0x39')][_0x24b8('0x3')][_0x24b8('0x10')](()=>{_0x3b4ec2['markMultiRangeBlockFormat'](_0x1714ef,{'commandName':_0x24b8('0x1'),'commandParams':[{'type':_0x3913b7[_0x24b8('0x25')]}],'formatGroupId':'listStyle'});});}[_0x24b8('0x19')](_0x489c82,_0x23284c={}){const _0xe5b169=this[_0x24b8('0x39')][_0x24b8('0x12')][_0x24b8('0x13')](_0x24b8('0x1d')),_0x1092eb=this[_0x24b8('0x14')](_0x8bd6e9=>_0x8bd6e9['is'](_0x24b8('0x20'),_0x24b8('0x35'))&&_0x24b8('0x3a')===_0x8bd6e9['getAttribute'](_0x24b8('0x2f')));if(_0x1092eb['length']<0x1)return;const _0x10e990=_0x1092eb[_0x24b8('0x27')](_0x36a2d6=>this['editor'][_0x24b8('0x3')][_0x24b8('0x3c')](this[_0x24b8('0x39')][_0x24b8('0x3')][_0x24b8('0x2c')](_0x36a2d6,_0x24b8('0x34')),this[_0x24b8('0x39')][_0x24b8('0x3')][_0x24b8('0x2c')](_0x36a2d6,0x0)));this[_0x24b8('0x39')][_0x24b8('0x3')][_0x24b8('0x10')](()=>{_0xe5b169[_0x24b8('0x38')](_0x10e990,{'commandName':_0x24b8('0x21'),'commandParams':[{'reversed':_0x23284c[_0x24b8('0x28')]}],'formatGroupId':'listReversed'});});}[_0x24b8('0x41')](_0x307dfe,_0x83ba77={}){const _0x4f0c17=this[_0x24b8('0x39')]['plugins'][_0x24b8('0x13')](_0x24b8('0x1d')),_0x348e01=this[_0x24b8('0x14')](_0x4d365f=>_0x4d365f['is'](_0x24b8('0x20'),_0x24b8('0x35'))&&_0x24b8('0x3a')===_0x4d365f[_0x24b8('0x11')](_0x24b8('0x2f')));if(_0x348e01[_0x24b8('0x32')]<0x1)return;const _0x27b298=_0x348e01[_0x24b8('0x27')](_0x23932b=>this[_0x24b8('0x39')][_0x24b8('0x3')][_0x24b8('0x3c')](this[_0x24b8('0x39')][_0x24b8('0x3')][_0x24b8('0x2c')](_0x23932b,_0x24b8('0x34')),this['editor'][_0x24b8('0x3')][_0x24b8('0x2c')](_0x23932b,0x0)));this[_0x24b8('0x39')]['model'][_0x24b8('0x10')](()=>{_0x4f0c17['markMultiRangeBlockFormat'](_0x27b298,{'commandName':_0x24b8('0x2d'),'commandParams':[{'startIndex':_0x83ba77[_0x24b8('0x24')]}],'formatGroupId':_0x24b8('0x2d')});});}['handleDescriptions'](_0x3531a7){if(_0x24b8('0x33')!=_0x3531a7[_0x24b8('0x25')]&&_0x24b8('0x23')!=_0x3531a7['type'])return;const _0x16f416=this['editor'][_0x24b8('0x18')],{data:_0x529716}=_0x3531a7;if(!_0x529716)return;let _0x3cb895,_0x35a7df;switch(_0x529716[_0x24b8('0x2e')]){case _0x24b8('0x1'):_0x3cb895=_0x24b8('0xd'),_0x35a7df={'type':'format','content':_0x366d97(_0x16f416,_0x3cb895,_0x366d97(_0x16f416,this[_0x24b8('0xc')](_0x529716[_0x24b8('0x5')][0x0][_0x24b8('0x25')])))};break;case'listReversed':_0x3cb895=_0x529716[_0x24b8('0x5')][0x0][_0x24b8('0x28')]?_0x24b8('0x2b'):_0x24b8('0x1b'),_0x35a7df={'type':_0x24b8('0x36'),'content':_0x366d97(_0x16f416,_0x3cb895)};break;case _0x24b8('0x2d'):_0x3cb895=_0x24b8('0x3b'),_0x35a7df={'type':_0x24b8('0x36'),'content':_0x366d97(_0x16f416,_0x3cb895,_0x529716['commandParams'][0x0][_0x24b8('0x24')])};}return _0x35a7df;}['_getSuggestionBlocksForListStyle'](){var _0x2cba10,_0x98d19,_0x6fb140,_0x545478;const _0x70b85b=this[_0x24b8('0x39')][_0x24b8('0x12')][_0x24b8('0x13')](_0x24b8('0x9'));let _0x3442c8=Array[_0x24b8('0x3d')](this[_0x24b8('0x39')]['model'][_0x24b8('0x37')][_0x24b8('0x40')][_0x24b8('0x7')]());return(null===(_0x2cba10=_0x3442c8[0x0])||void 0x0===_0x2cba10?void 0x0:_0x2cba10['is']('element',_0x24b8('0x35')))&&_0x3442c8[_0x24b8('0x2a')](..._0x70b85b[_0x24b8('0x3e')](this[_0x24b8('0x39')]['model'][_0x24b8('0x37')]['selection'][_0x24b8('0x8')](),_0x24b8('0xf'))),(null===(_0x98d19=_0x3442c8[_0x3442c8[_0x24b8('0x32')]-0x1])||void 0x0===_0x98d19?void 0x0:_0x98d19['is'](_0x24b8('0x20'),'listItem'))&&_0x3442c8[_0x24b8('0x42')](..._0x70b85b[_0x24b8('0x3e')](this[_0x24b8('0x39')]['model'][_0x24b8('0x37')]['selection'][_0x24b8('0x6')](),'forward')),_0x3442c8=[...new Set(_0x3442c8)],(null===(_0x545478=null===(_0x6fb140=this[_0x24b8('0x39')]['model'][_0x24b8('0x37')][_0x24b8('0x40')][_0x24b8('0x8')]())||void 0x0===_0x6fb140?void 0x0:_0x6fb140['parent'])||void 0x0===_0x545478?void 0x0:_0x545478['is'](_0x24b8('0x20'),_0x24b8('0x35')))&&(_0x3442c8=_0x3442c8[_0x24b8('0x31')](_0xbec29b=>_0xbec29b['is']('element','listItem'))),_0x3442c8;}[_0x24b8('0x14')](_0x4ec8ed){const _0x41acc8=this[_0x24b8('0x39')][_0x24b8('0x12')][_0x24b8('0x13')](_0x24b8('0x9'));let _0x14711f=Array['from'](this[_0x24b8('0x39')][_0x24b8('0x3')][_0x24b8('0x37')]['selection'][_0x24b8('0x7')]())[_0x24b8('0x31')](_0x4ec8ed)['map'](_0x181bc5=>{const _0x21b4b7=this[_0x24b8('0x39')][_0x24b8('0x3')]['createPositionAt'](_0x181bc5,0x0);return[..._0x41acc8[_0x24b8('0x3e')](_0x21b4b7,_0x24b8('0xf')),..._0x41acc8[_0x24b8('0x3e')](_0x21b4b7,_0x24b8('0xe'))];})[_0x24b8('0x3f')]();return _0x14711f=[...new Set(_0x14711f)],_0x14711f;}['_getTranslationKeyForListStyle'](_0x1e3d52){return _0x24b8('0x15')+this['editor'][_0x24b8('0x12')][_0x24b8('0x13')]('LegacyListUtils')[_0x24b8('0x1e')](_0x1e3d52)[_0x24b8('0x26')]()+_0x24b8('0x1f')+_0x1e3d52[_0x24b8('0x26')]()['replace'](/-/g,'_');}}
23
+ const _0x3bf6=['from','LegacyListPropertiesEditing','length','_getSuggestionBlocks','get','plugins','*Format:*\x20set\x20order\x20to\x20regular','change','map','reversed','backward','config','formatBlock','bind','getSiblingNodes','listStyle','LegacyListUtils','_getTranslationKeyForListStyle','listStart','commandParams','TrackChangesEditing','listReversed','handleListReversedCommand','editor','replace','format','handleDescriptions','getAttribute','numbered','createPositionAt','element','_LIST_','markMultiRangeBlockFormat','selection','type','model','list.properties','before','createRange','listType','toUpperCase','getSelectedBlocks','styles','listItem','forward','parent','ELEMENT_','enableCommand','locale','document','handleListStyleCommand','_getSuggestionBlocksForListStyle','startIndex','filter','flat','handleListStartCommand','unshift','getFirstPosition','_descriptionFactory'];(function(_0x1d22d5,_0x3bf6d1){const _0x292337=function(_0x30aa98){while(--_0x30aa98){_0x1d22d5['push'](_0x1d22d5['shift']());}};_0x292337(++_0x3bf6d1);}(_0x3bf6,0xde));const _0x2923=function(_0x1d22d5,_0x3bf6d1){_0x1d22d5=_0x1d22d5-0x0;let _0x292337=_0x3bf6[_0x1d22d5];return _0x292337;};import{Plugin as _0x25ea0b}from'ckeditor5/src/core.js';import{getTranslation as _0x2e044e}from'../utils/common-translations.js';export default class K extends _0x25ea0b{['afterInit'](){if(!this[_0x2923('0x25')]['plugins']['has'](_0x2923('0xf')))return;const _0x4502d4=this[_0x2923('0x25')][_0x2923('0x19')][_0x2923('0x12')](_0x2923('0x32')),_0x25531c=this[_0x2923('0x25')][_0x2923('0x13')][_0x2923('0x12')](_0x2923('0x22'));_0x4502d4[_0x2923('0x38')]&&_0x25531c[_0x2923('0x2')](_0x2923('0x1d'),this[_0x2923('0x5')]['bind'](this)),_0x4502d4[_0x2923('0x17')]&&_0x25531c[_0x2923('0x2')](_0x2923('0x23'),this[_0x2923('0x24')][_0x2923('0x1b')](this)),_0x4502d4[_0x2923('0x7')]&&_0x25531c[_0x2923('0x2')](_0x2923('0x20'),this[_0x2923('0xa')][_0x2923('0x1b')](this)),_0x25531c[_0x2923('0xd')]['registerDescriptionCallback'](this[_0x2923('0x28')][_0x2923('0x1b')](this));}[_0x2923('0x5')](_0x9e6bc3,_0x5de27b={}){const _0x23d8e1=this[_0x2923('0x25')]['plugins'][_0x2923('0x12')](_0x2923('0x22')),_0x1ff74f=this[_0x2923('0x6')]();this[_0x2923('0x25')][_0x2923('0x31')][_0x2923('0x15')](()=>{_0x23d8e1[_0x2923('0x2e')](_0x1ff74f,{'commandName':_0x2923('0x1d'),'commandParams':[{'type':_0x5de27b[_0x2923('0x30')]}],'formatGroupId':_0x2923('0x1d')});});}[_0x2923('0x24')](_0x57cbff,_0x19437e={}){const _0x291589=this[_0x2923('0x25')][_0x2923('0x13')][_0x2923('0x12')]('TrackChangesEditing'),_0x1904d0=this[_0x2923('0x11')](_0x37cb91=>_0x37cb91['is'](_0x2923('0x2c'),_0x2923('0x39'))&&_0x2923('0x2a')===_0x37cb91[_0x2923('0x29')](_0x2923('0x35')));if(_0x1904d0[_0x2923('0x10')]<0x1)return;const _0x414e01=_0x1904d0['map'](_0x4859de=>this[_0x2923('0x25')]['model'][_0x2923('0x34')](this[_0x2923('0x25')][_0x2923('0x31')][_0x2923('0x2b')](_0x4859de,'before'),this[_0x2923('0x25')][_0x2923('0x31')][_0x2923('0x2b')](_0x4859de,0x0)));this[_0x2923('0x25')][_0x2923('0x31')][_0x2923('0x15')](()=>{_0x291589[_0x2923('0x2e')](_0x414e01,{'commandName':'listReversed','commandParams':[{'reversed':_0x19437e[_0x2923('0x17')]}],'formatGroupId':_0x2923('0x23')});});}[_0x2923('0xa')](_0x4ce998,_0x1d5407={}){const _0x37947a=this['editor'][_0x2923('0x13')]['get'](_0x2923('0x22')),_0x14fbdb=this['_getSuggestionBlocks'](_0x6b2f80=>_0x6b2f80['is']('element',_0x2923('0x39'))&&_0x2923('0x2a')===_0x6b2f80[_0x2923('0x29')](_0x2923('0x35')));if(_0x14fbdb[_0x2923('0x10')]<0x1)return;const _0x48770c=_0x14fbdb[_0x2923('0x16')](_0x369ff5=>this[_0x2923('0x25')][_0x2923('0x31')][_0x2923('0x34')](this[_0x2923('0x25')][_0x2923('0x31')][_0x2923('0x2b')](_0x369ff5,_0x2923('0x33')),this['editor']['model'][_0x2923('0x2b')](_0x369ff5,0x0)));this['editor'][_0x2923('0x31')][_0x2923('0x15')](()=>{_0x37947a['markMultiRangeBlockFormat'](_0x48770c,{'commandName':_0x2923('0x20'),'commandParams':[{'startIndex':_0x1d5407[_0x2923('0x7')]}],'formatGroupId':_0x2923('0x20')});});}[_0x2923('0x28')](_0x2af56b){if(_0x2923('0x1a')!=_0x2af56b[_0x2923('0x30')]&&'formatInline'!=_0x2af56b[_0x2923('0x30')])return;const _0x39e8c4=this[_0x2923('0x25')][_0x2923('0x3')],{data:_0x488b7f}=_0x2af56b;if(!_0x488b7f)return;let _0x24ecd9,_0x3365b6;switch(_0x488b7f['commandName']){case _0x2923('0x1d'):_0x24ecd9='*Change\x20to:*\x20%0',_0x3365b6={'type':_0x2923('0x27'),'content':_0x2e044e(_0x39e8c4,_0x24ecd9,_0x2e044e(_0x39e8c4,this[_0x2923('0x1f')](_0x488b7f[_0x2923('0x21')][0x0][_0x2923('0x30')])))};break;case _0x2923('0x23'):_0x24ecd9=_0x488b7f[_0x2923('0x21')][0x0][_0x2923('0x17')]?'*Format:*\x20set\x20order\x20to\x20reversed':_0x2923('0x14'),_0x3365b6={'type':_0x2923('0x27'),'content':_0x2e044e(_0x39e8c4,_0x24ecd9)};break;case _0x2923('0x20'):_0x24ecd9='*Format:*\x20set\x20start\x20index\x20to\x20%0',_0x3365b6={'type':_0x2923('0x27'),'content':_0x2e044e(_0x39e8c4,_0x24ecd9,_0x488b7f[_0x2923('0x21')][0x0][_0x2923('0x7')])};}return _0x3365b6;}['_getSuggestionBlocksForListStyle'](){var _0x52761a,_0x49fd1d,_0xb26a1e,_0x42cff1;const _0x15fff9=this[_0x2923('0x25')][_0x2923('0x13')][_0x2923('0x12')](_0x2923('0x1e'));let _0x19e58c=Array[_0x2923('0xe')](this[_0x2923('0x25')]['model'][_0x2923('0x4')][_0x2923('0x2f')][_0x2923('0x37')]());return(null===(_0x52761a=_0x19e58c[0x0])||void 0x0===_0x52761a?void 0x0:_0x52761a['is'](_0x2923('0x2c'),_0x2923('0x39')))&&_0x19e58c[_0x2923('0xb')](..._0x15fff9['getSiblingNodes'](this[_0x2923('0x25')][_0x2923('0x31')]['document'][_0x2923('0x2f')][_0x2923('0xc')](),_0x2923('0x18'))),(null===(_0x49fd1d=_0x19e58c[_0x19e58c['length']-0x1])||void 0x0===_0x49fd1d?void 0x0:_0x49fd1d['is'](_0x2923('0x2c'),_0x2923('0x39')))&&_0x19e58c['push'](..._0x15fff9[_0x2923('0x1c')](this[_0x2923('0x25')][_0x2923('0x31')][_0x2923('0x4')][_0x2923('0x2f')]['getLastPosition'](),'forward')),_0x19e58c=[...new Set(_0x19e58c)],(null===(_0x42cff1=null===(_0xb26a1e=this['editor'][_0x2923('0x31')][_0x2923('0x4')]['selection'][_0x2923('0xc')]())||void 0x0===_0xb26a1e?void 0x0:_0xb26a1e[_0x2923('0x0')])||void 0x0===_0x42cff1?void 0x0:_0x42cff1['is'](_0x2923('0x2c'),_0x2923('0x39')))&&(_0x19e58c=_0x19e58c[_0x2923('0x8')](_0x3103a7=>_0x3103a7['is']('element',_0x2923('0x39')))),_0x19e58c;}['_getSuggestionBlocks'](_0x2d2944){const _0x3e688b=this[_0x2923('0x25')][_0x2923('0x13')][_0x2923('0x12')]('LegacyListUtils');let _0x3f6b4b=Array['from'](this[_0x2923('0x25')]['model'][_0x2923('0x4')][_0x2923('0x2f')][_0x2923('0x37')]())[_0x2923('0x8')](_0x2d2944)[_0x2923('0x16')](_0x50f932=>{const _0x2abe2d=this[_0x2923('0x25')][_0x2923('0x31')][_0x2923('0x2b')](_0x50f932,0x0);return[..._0x3e688b['getSiblingNodes'](_0x2abe2d,_0x2923('0x18')),..._0x3e688b['getSiblingNodes'](_0x2abe2d,_0x2923('0x3a'))];})[_0x2923('0x9')]();return _0x3f6b4b=[...new Set(_0x3f6b4b)],_0x3f6b4b;}[_0x2923('0x1f')](_0x499488){return _0x2923('0x1')+this[_0x2923('0x25')][_0x2923('0x13')]['get'](_0x2923('0x1e'))['getListTypeFromListStyleType'](_0x499488)[_0x2923('0x36')]()+_0x2923('0x2d')+_0x499488[_0x2923('0x36')]()[_0x2923('0x26')](/-/g,'_');}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3464=['link','TrackChangesEditing','registerDescriptionCallback','_descriptionFactory','toLowerCase','type','get','commandName','format','commands','*Remove\x20link*','key','label','has','plugins','manualDecorators','LinkEditing','locale','afterInit','_registerLegacyDescription','_enableDefaultAttributesIntegration','editor','newValue','registerAttributeLabel','attribute','map','formatInline','link\x20(','unlink'];(function(_0x209f69,_0x346444){const _0x3f331a=function(_0x3daf27){while(--_0x3daf27){_0x209f69['push'](_0x209f69['shift']());}};_0x3f331a(++_0x346444);}(_0x3464,0x6c));const _0x3f33=function(_0x209f69,_0x346444){_0x209f69=_0x209f69-0x0;let _0x3f331a=_0x3464[_0x209f69];return _0x3f331a;};import{Plugin as _0x4332e2}from'ckeditor5/src/core.js';import{getTranslation as _0x11a345}from'../utils/common-translations.js';export default class ct extends _0x4332e2{[_0x3f33('0x1a')](){const _0x2741c4=this[_0x3f33('0x0')];if(!_0x2741c4[_0x3f33('0x16')][_0x3f33('0x15')](_0x3f33('0x18')))return;const _0x2e74c5=_0x2741c4['plugins'][_0x3f33('0xe')](_0x3f33('0x9')),_0x2ed01e=_0x2741c4[_0x3f33('0x11')][_0x3f33('0xe')]('link');_0x2e74c5[_0x3f33('0x1c')]('link',['linkHref',..._0x2ed01e[_0x3f33('0x17')][_0x3f33('0x4')](_0xecb0f=>_0xecb0f['id'])]),_0x2e74c5[_0x3f33('0x1c')](_0x3f33('0x7'));for(const _0x81241b of _0x2ed01e[_0x3f33('0x17')])_0x2e74c5[_0x3f33('0xb')][_0x3f33('0x2')](_0x81241b['id'],_0x3f33('0x6')+_0x81241b[_0x3f33('0x14')][_0x3f33('0xc')]()+')');_0x2e74c5['_descriptionFactory']['registerDescriptionCallback'](_0x55d918=>{if(_0x3f33('0x3')!=_0x55d918[_0x3f33('0xd')])return;const {data:_0x29c9d9}=_0x55d918;if(!_0x29c9d9||'linkHref'!=_0x29c9d9[_0x3f33('0x13')])return;const _0x8fccd5=_0x29c9d9[_0x3f33('0x1')],_0x3c1640=_0x2741c4[_0x3f33('0x19')];return{'type':_0x3f33('0x10'),'content':null==_0x8fccd5?_0x11a345(_0x3c1640,'*Remove\x20link*'):_0x11a345(_0x3c1640,'*Set\x20link:*\x20%0','\x22'+_0x8fccd5+'\x22')};}),this[_0x3f33('0x1b')]();}[_0x3f33('0x1b')](){const _0x43383c=this[_0x3f33('0x0')],_0x14a2ad=_0x43383c[_0x3f33('0x19')];_0x43383c[_0x3f33('0x16')][_0x3f33('0xe')](_0x3f33('0x9'))[_0x3f33('0xb')][_0x3f33('0xa')](_0x5820cc=>{if(_0x3f33('0x5')!=_0x5820cc[_0x3f33('0xd')])return;const {data:_0x2bf75f}=_0x5820cc;if(_0x2bf75f){if(_0x3f33('0x8')==_0x2bf75f[_0x3f33('0xf')]){const _0xdf8b34=_0x2bf75f['commandParams'][0x0];return{'type':_0x3f33('0x10'),'content':_0x11a345(_0x14a2ad,'*Set\x20link:*\x20%0','\x22'+_0xdf8b34+'\x22')};}return'unlink'==_0x2bf75f[_0x3f33('0xf')]?{'type':'format','content':_0x11a345(_0x14a2ad,_0x3f33('0x12'))}:void 0x0;}});}}
23
+ const _0x2236=['_descriptionFactory','link','TrackChangesEditing','key','editor','plugins','registerAttributeLabel','afterInit','*Remove\x20link*','commandParams','locale','*Set\x20link:*\x20%0','map','unlink','_registerLegacyDescription','manualDecorators','_enableDefaultAttributesIntegration','label','formatInline','link\x20(','registerDescriptionCallback','type','newValue','linkHref','commands','has','format','attribute','get'];(function(_0x13ccc7,_0x2236fc){const _0x542746=function(_0x4c9f43){while(--_0x4c9f43){_0x13ccc7['push'](_0x13ccc7['shift']());}};_0x542746(++_0x2236fc);}(_0x2236,0xb7));const _0x5427=function(_0x13ccc7,_0x2236fc){_0x13ccc7=_0x13ccc7-0x0;let _0x542746=_0x2236[_0x13ccc7];return _0x542746;};import{Plugin as _0x784d34}from'ckeditor5/src/core.js';import{getTranslation as _0x10693c}from'../utils/common-translations.js';export default class ct extends _0x784d34{[_0x5427('0x1b')](){const _0x43f067=this[_0x5427('0x18')];if(!_0x43f067[_0x5427('0x19')][_0x5427('0x10')]('LinkEditing'))return;const _0x2416eb=_0x43f067[_0x5427('0x19')][_0x5427('0x13')](_0x5427('0x16')),_0x5be8ab=_0x43f067[_0x5427('0xf')][_0x5427('0x13')](_0x5427('0x15'));_0x2416eb[_0x5427('0x7')](_0x5427('0x15'),[_0x5427('0xe'),..._0x5be8ab[_0x5427('0x6')][_0x5427('0x3')](_0x10ea1b=>_0x10ea1b['id'])]),_0x2416eb['_enableDefaultAttributesIntegration'](_0x5427('0x4'));for(const _0x169300 of _0x5be8ab[_0x5427('0x6')])_0x2416eb['_descriptionFactory'][_0x5427('0x1a')](_0x169300['id'],_0x5427('0xa')+_0x169300[_0x5427('0x8')]['toLowerCase']()+')');_0x2416eb[_0x5427('0x14')][_0x5427('0xb')](_0x9d6ab6=>{if(_0x5427('0x12')!=_0x9d6ab6[_0x5427('0xc')])return;const {data:_0x404174}=_0x9d6ab6;if(!_0x404174||_0x5427('0xe')!=_0x404174[_0x5427('0x17')])return;const _0x170319=_0x404174[_0x5427('0xd')],_0x5c986c=_0x43f067['locale'];return{'type':'format','content':null==_0x170319?_0x10693c(_0x5c986c,'*Remove\x20link*'):_0x10693c(_0x5c986c,_0x5427('0x2'),'\x22'+_0x170319+'\x22')};}),this[_0x5427('0x5')]();}[_0x5427('0x5')](){const _0x48c06d=this[_0x5427('0x18')],_0x38f3ff=_0x48c06d[_0x5427('0x1')];_0x48c06d[_0x5427('0x19')][_0x5427('0x13')]('TrackChangesEditing')[_0x5427('0x14')][_0x5427('0xb')](_0x2f2af3=>{if(_0x5427('0x9')!=_0x2f2af3[_0x5427('0xc')])return;const {data:_0x13e746}=_0x2f2af3;if(_0x13e746){if(_0x5427('0x15')==_0x13e746['commandName']){const _0x24775e=_0x13e746[_0x5427('0x0')][0x0];return{'type':_0x5427('0x11'),'content':_0x10693c(_0x38f3ff,'*Set\x20link:*\x20%0','\x22'+_0x24775e+'\x22')};}return'unlink'==_0x13e746['commandName']?{'type':_0x5427('0x11'),'content':_0x10693c(_0x38f3ff,_0x5427('0x1c'))}:void 0x0;}});}}