@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20231215.0 → 0.0.0-nightly-20231216.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 (135) hide show
  1. package/CHANGELOG.md +1 -1
  2. package/build/track-changes.js +1 -1
  3. package/package.json +4 -3
  4. package/src/augmentation.d.ts +2 -2
  5. package/src/commands/acceptsuggestioncommand.d.ts +2 -2
  6. package/src/commands/acceptsuggestioncommand.js +1 -1
  7. package/src/commands/discardsuggestioncommand.d.ts +2 -2
  8. package/src/commands/discardsuggestioncommand.js +1 -1
  9. package/src/commands/executeonallsuggestionscommand.d.ts +2 -2
  10. package/src/commands/executeonallsuggestionscommand.js +1 -1
  11. package/src/commands/executeonselectedsuggestionscommand.d.ts +2 -2
  12. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  13. package/src/commands/trackchangescommand.d.ts +1 -1
  14. package/src/commands/trackchangescommand.js +1 -1
  15. package/src/index.d.ts +12 -12
  16. package/src/index.js +1 -1
  17. package/src/integrations/aiassistant.d.ts +1 -1
  18. package/src/integrations/aiassistant.js +1 -1
  19. package/src/integrations/alignment.d.ts +1 -1
  20. package/src/integrations/alignment.js +1 -1
  21. package/src/integrations/basicstyles.d.ts +1 -1
  22. package/src/integrations/basicstyles.js +1 -1
  23. package/src/integrations/blockquote.d.ts +1 -1
  24. package/src/integrations/blockquote.js +1 -1
  25. package/src/integrations/ckbox.d.ts +1 -1
  26. package/src/integrations/ckbox.js +1 -1
  27. package/src/integrations/codeblock.d.ts +1 -1
  28. package/src/integrations/codeblock.js +1 -1
  29. package/src/integrations/comments.d.ts +1 -1
  30. package/src/integrations/comments.js +1 -1
  31. package/src/integrations/deletecommand.d.ts +2 -2
  32. package/src/integrations/deletecommand.js +1 -1
  33. package/src/integrations/documentlist.d.ts +1 -1
  34. package/src/integrations/documentlist.js +1 -1
  35. package/src/integrations/documentlistproperties.d.ts +3 -3
  36. package/src/integrations/documentlistproperties.js +1 -1
  37. package/src/integrations/entercommand.d.ts +2 -2
  38. package/src/integrations/entercommand.js +1 -1
  39. package/src/integrations/findandreplace.d.ts +1 -1
  40. package/src/integrations/findandreplace.js +1 -1
  41. package/src/integrations/font.d.ts +1 -1
  42. package/src/integrations/font.js +1 -1
  43. package/src/integrations/formatpainter.d.ts +1 -1
  44. package/src/integrations/formatpainter.js +1 -1
  45. package/src/integrations/heading.d.ts +1 -1
  46. package/src/integrations/heading.js +1 -1
  47. package/src/integrations/highlight.d.ts +1 -1
  48. package/src/integrations/highlight.js +1 -1
  49. package/src/integrations/horizontalline.d.ts +1 -1
  50. package/src/integrations/horizontalline.js +1 -1
  51. package/src/integrations/htmlembed.d.ts +1 -1
  52. package/src/integrations/htmlembed.js +1 -1
  53. package/src/integrations/image.d.ts +1 -1
  54. package/src/integrations/image.js +1 -1
  55. package/src/integrations/imagereplace.d.ts +1 -1
  56. package/src/integrations/imagereplace.js +1 -1
  57. package/src/integrations/imagestyle.d.ts +1 -1
  58. package/src/integrations/imagestyle.js +1 -1
  59. package/src/integrations/importword.d.ts +1 -1
  60. package/src/integrations/importword.js +1 -1
  61. package/src/integrations/indent.d.ts +1 -1
  62. package/src/integrations/indent.js +1 -1
  63. package/src/integrations/inputcommand.d.ts +2 -2
  64. package/src/integrations/inputcommand.js +1 -1
  65. package/src/integrations/link.d.ts +1 -1
  66. package/src/integrations/link.js +1 -1
  67. package/src/integrations/list.d.ts +1 -1
  68. package/src/integrations/list.js +1 -1
  69. package/src/integrations/listproperties.d.ts +3 -3
  70. package/src/integrations/listproperties.js +1 -1
  71. package/src/integrations/mediaembed.d.ts +1 -1
  72. package/src/integrations/mediaembed.js +1 -1
  73. package/src/integrations/mention.d.ts +1 -1
  74. package/src/integrations/mention.js +1 -1
  75. package/src/integrations/pagebreak.d.ts +1 -1
  76. package/src/integrations/pagebreak.js +1 -1
  77. package/src/integrations/paragraph.d.ts +1 -1
  78. package/src/integrations/paragraph.js +1 -1
  79. package/src/integrations/removeformat.d.ts +1 -1
  80. package/src/integrations/removeformat.js +1 -1
  81. package/src/integrations/restrictededitingmode.d.ts +1 -1
  82. package/src/integrations/restrictededitingmode.js +1 -1
  83. package/src/integrations/shiftentercommand.d.ts +2 -2
  84. package/src/integrations/shiftentercommand.js +1 -1
  85. package/src/integrations/standardeditingmode.d.ts +1 -1
  86. package/src/integrations/standardeditingmode.js +1 -1
  87. package/src/integrations/style.d.ts +1 -1
  88. package/src/integrations/style.js +1 -1
  89. package/src/integrations/table.d.ts +1 -1
  90. package/src/integrations/table.js +1 -1
  91. package/src/integrations/tablecaption.d.ts +2 -2
  92. package/src/integrations/tablecaption.js +1 -1
  93. package/src/integrations/tableclipboard.d.ts +2 -2
  94. package/src/integrations/tableclipboard.js +1 -1
  95. package/src/integrations/tablecolumnresize.d.ts +4 -4
  96. package/src/integrations/tablecolumnresize.js +1 -1
  97. package/src/integrations/tableheadings.d.ts +2 -2
  98. package/src/integrations/tableheadings.js +1 -1
  99. package/src/integrations/tablemergesplit.d.ts +2 -2
  100. package/src/integrations/tablemergesplit.js +1 -1
  101. package/src/integrations/tableofcontents.d.ts +1 -1
  102. package/src/integrations/tableofcontents.js +1 -1
  103. package/src/integrations/tableproperties.d.ts +4 -4
  104. package/src/integrations/tableproperties.js +1 -1
  105. package/src/integrations/template.d.ts +1 -1
  106. package/src/integrations/template.js +1 -1
  107. package/src/integrations/title.d.ts +1 -1
  108. package/src/integrations/title.js +1 -1
  109. package/src/integrations/undo.d.ts +1 -1
  110. package/src/integrations/undo.js +1 -1
  111. package/src/integrations/utils.d.ts +3 -3
  112. package/src/integrations/utils.js +1 -1
  113. package/src/suggestion.d.ts +5 -5
  114. package/src/suggestion.js +1 -1
  115. package/src/suggestiondescriptionfactory.d.ts +3 -3
  116. package/src/suggestiondescriptionfactory.js +1 -1
  117. package/src/trackchanges.d.ts +5 -5
  118. package/src/trackchanges.js +1 -1
  119. package/src/trackchangesconfig.d.ts +1 -1
  120. package/src/trackchangesdata.d.ts +2 -2
  121. package/src/trackchangesdata.js +1 -1
  122. package/src/trackchangesediting.d.ts +53 -53
  123. package/src/trackchangesediting.js +1 -1
  124. package/src/trackchangesui.d.ts +3 -3
  125. package/src/trackchangesui.js +1 -1
  126. package/src/ui/suggestioncontroller.d.ts +5 -5
  127. package/src/ui/suggestioncontroller.js +1 -1
  128. package/src/ui/view/basesuggestionthreadview.d.ts +6 -6
  129. package/src/ui/view/basesuggestionthreadview.js +1 -1
  130. package/src/ui/view/suggestionthreadview.d.ts +5 -5
  131. package/src/ui/view/suggestionthreadview.js +1 -1
  132. package/src/utils/common-translations.d.ts +1 -1
  133. package/src/utils/common-translations.js +1 -1
  134. package/src/utils/utils.d.ts +4 -4
  135. package/src/utils/utils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3d79=['findIndex','subType','nodeAfter','_suggestionFactory','*Set\x20image\x20text\x20alternative:*\x20%0','*Remove\x20image\x20text\x20alternative*','resizeImage','format','nodeBefore','markBlockFormat','ELEMENT_IMAGE','forward','forceDefaultExecution','deletion','convertBlockImageToInline','getClosestSelectedImageElement','filter','accept','registerCustomCallback','start','isCollapsed','detach','alt','addObject','markDeletion','get','ELEMENT_INLINE_IMAGE','createRange','_registerLegacyDescription','imageBlock','TrackChangesEditing','registerAttributeLabel','toggleImageCaption','change','isEqual','ImageResize','previous','registerDescriptionCallback','fromPosition','markInsertion','end','ImageUploadEditing','getSuggestionCallback','getNearestSelectionRange','toNext','formatInline','enableCommand','schema','ImageEditing','imageCaption','type','_descriptionFactory','convertInlineImageToBlock','model','removeObject','discard','commandName','_enableDefaultAttributesIntegration','element','createRangeOn','backward','isOwn','insertion','*Set\x20image\x20width:*\x20%0','resizedWidth','toPrevious','ELEMENT_CAPTION','imageTypeInline','ImageCaptionEditing','caption','newValue','imageTextAlternative','ImageInlineEditing','ImageBlockEditing','ImageTextAlternativeEditing','insertImage','has','Inline\x20image\x20to\x20block\x20image','commandParams','isIntersecting','imageInline','isBlockImage','ImageUtils','document','width','imageStylePreApply','find','selection','plugins','chain','editor','join','FORMAT_IMAGE_SIZE','length','uploadImage','registerElementLabel','locale','formatBlock','getCaptionFromImageModelElement','getFirstRange'];(function(_0x297861,_0x3d79a8){const _0x44e92b=function(_0x583c8f){while(--_0x583c8f){_0x297861['push'](_0x297861['shift']());}};_0x44e92b(++_0x3d79a8);}(_0x3d79,0x112));const _0x44e9=function(_0x297861,_0x3d79a8){_0x297861=_0x297861-0x0;let _0x44e92b=_0x3d79[_0x297861];return _0x44e92b;};import{Plugin as _0x1bcb9a}from'ckeditor5/src/core';import{LivePosition as _0x4f28e1}from'ckeditor5/src/engine';import{getTranslation as _0x23665e}from'../utils/common-translations';export default class it extends _0x1bcb9a{['afterInit'](){const _0x21d132=this[_0x44e9('0x10')];if(!_0x21d132['plugins'][_0x44e9('0x2')](_0x44e9('0x4a')))return;const _0x40feca=_0x21d132[_0x44e9('0xe')]['get']('TrackChangesEditing'),_0x59dd7b=_0x21d132['plugins'][_0x44e9('0x33')](_0x44e9('0x8')),_0x5473bd=_0x21d132[_0x44e9('0x16')];_0x40feca[_0x44e9('0x48')](_0x44e9('0x1')),_0x40feca['_descriptionFactory'][_0x44e9('0x15')](_0x44e9('0x37'),_0x98d57e=>_0x23665e(_0x5473bd,_0x44e9('0x24'),_0x98d57e)),_0x40feca['_descriptionFactory'][_0x44e9('0x15')](_0x44e9('0x6'),_0x2fa6d4=>_0x23665e(_0x5473bd,_0x44e9('0x34'),_0x2fa6d4)),_0x40feca[_0x44e9('0x4d')]['registerElementLabel'](_0x44e9('0x5f'),()=>_0x23665e(_0x5473bd,_0x44e9('0x5c'))),_0x21d132['plugins'][_0x44e9('0x2')](_0x44e9('0x43'))&&_0x40feca[_0x44e9('0x48')](_0x44e9('0x14')),_0x21d132[_0x44e9('0xe')]['has'](_0x44e9('0x63'))&&_0x21d132[_0x44e9('0xe')][_0x44e9('0x2')](_0x44e9('0x62'))&&(_0x40feca['enableCommand']('imageTypeInline',(_0x4b3b4,_0x2c28dd)=>{const _0x3fa4aa=_0x59dd7b[_0x44e9('0x29')](_0x21d132[_0x44e9('0x4f')]['document'][_0x44e9('0xd')]);_0x21d132[_0x44e9('0x4f')][_0x44e9('0x3b')](()=>{_0x40feca['markBlockFormat'](_0x3fa4aa,{'commandName':_0x44e9('0x5d'),'commandParams':[_0x2c28dd]},[],_0x44e9('0x28'));});}),_0x40feca['enableCommand']('imageTypeBlock',(_0x5cbd88,_0x40def2)=>{_0x21d132[_0x44e9('0x4f')][_0x44e9('0x3b')](_0x4a515d=>{let _0x499597=_0x59dd7b[_0x44e9('0x29')](_0x21d132[_0x44e9('0x4f')][_0x44e9('0x9')][_0x44e9('0xd')]),_0x2dc5d5=_0x4a515d[_0x44e9('0x55')](_0x499597);const _0x1e0a04=_0x4f28e1[_0x44e9('0x40')](_0x2dc5d5['start'],_0x44e9('0x5b')),_0x50f292=_0x4f28e1[_0x44e9('0x40')](_0x2dc5d5[_0x44e9('0x42')],_0x44e9('0x46'));_0x40feca[_0x44e9('0x26')](()=>_0x5cbd88(_0x40def2)),_0x499597=_0x59dd7b[_0x44e9('0x29')](_0x21d132['model']['document']['selection']),_0x2dc5d5=_0x4a515d['createRangeOn'](_0x499597);const _0x3f078f=_0x4a515d[_0x44e9('0x35')](_0x1e0a04,_0x50f292);_0x1e0a04['detach'](),_0x50f292[_0x44e9('0x2f')](),_0x40feca[_0x44e9('0x23')](_0x499597,{'commandName':_0x44e9('0x5d'),'commandParams':[_0x40def2]},[],_0x44e9('0x4e')),_0x3f078f['start']['isBefore'](_0x2dc5d5[_0x44e9('0x2d')])&&_0x40feca[_0x44e9('0x41')](_0x4a515d[_0x44e9('0x35')](_0x3f078f[_0x44e9('0x2d')],_0x2dc5d5[_0x44e9('0x2d')]),_0x44e9('0x4e')),_0x2dc5d5[_0x44e9('0x42')]['isBefore'](_0x3f078f[_0x44e9('0x42')])&&_0x40feca['markInsertion'](_0x4a515d['createRange'](_0x2dc5d5['end'],_0x3f078f['end']),'convertInlineImageToBlock');});}),_0x40feca[_0x44e9('0x1d')][_0x44e9('0x2c')](_0x44e9('0x17'),'convertInlineImageToBlock',_0x44e9('0x11'),()=>!0x1),_0x40feca[_0x44e9('0x1d')][_0x44e9('0x2c')]('formatBlock',_0x44e9('0x4e'),_0x44e9('0x2b'),()=>!0x1),_0x40feca[_0x44e9('0x1d')][_0x44e9('0x2c')](_0x44e9('0x17'),'convertInlineImageToBlock',_0x44e9('0x51'),_0x40feca[_0x44e9('0x1d')][_0x44e9('0x44')](_0x44e9('0x17'),'','accept')),_0x40feca['_suggestionFactory'][_0x44e9('0x2c')](_0x44e9('0x58'),_0x44e9('0x4e'),_0x44e9('0x11'),()=>!0x1),_0x40feca['_suggestionFactory'][_0x44e9('0x2c')](_0x44e9('0x58'),_0x44e9('0x4e'),_0x44e9('0x51'),([_0x4f1c02])=>{const _0x23e0d2=_0x40feca[_0x44e9('0x1d')][_0x44e9('0x44')](_0x44e9('0x58'),'','discard');let _0x38aae0=_0x4f1c02[_0x44e9('0x2d')],_0x131bb6=_0x4f1c02['end'];const _0x372ca3=_0x21d132[_0x44e9('0x4f')][_0x44e9('0x49')][_0x44e9('0x45')](_0x38aae0,_0x44e9('0x56')),_0x5d1bc2=_0x21d132[_0x44e9('0x4f')][_0x44e9('0x49')][_0x44e9('0x45')](_0x131bb6,_0x44e9('0x25'));_0x372ca3[_0x44e9('0x2e')]&&(_0x38aae0=_0x372ca3[_0x44e9('0x2d')]),_0x5d1bc2[_0x44e9('0x2e')]&&(_0x131bb6=_0x5d1bc2[_0x44e9('0x42')]),_0x23e0d2([_0x21d132[_0x44e9('0x4f')]['createRange'](_0x38aae0,_0x131bb6)]);}),_0x40feca['_suggestionFactory']['registerCustomCallback']('formatBlock',_0x44e9('0x4e'),_0x44e9('0xf'),_0x3b15bc),_0x40feca[_0x44e9('0x1d')]['registerCustomCallback'](_0x44e9('0x58'),_0x44e9('0x4e'),'chain',_0x3b15bc)),_0x21d132[_0x44e9('0xe')]['has'](_0x44e9('0x5e'))&&(_0x40feca[_0x44e9('0x48')](_0x44e9('0x3a'),(_0x1d150f,_0x30478a)=>{const _0x1c59c4=_0x21d132[_0x44e9('0xe')]['get']('ImageCaptionUtils');let _0x4478d2=_0x59dd7b[_0x44e9('0x29')](_0x21d132[_0x44e9('0x4f')]['document'][_0x44e9('0xd')]),_0x11df47=_0x1c59c4[_0x44e9('0x18')](_0x4478d2);_0x21d132[_0x44e9('0x4f')][_0x44e9('0x3b')](()=>{if(_0x11df47)return void _0x40feca[_0x44e9('0x32')](_0x21d132[_0x44e9('0x4f')][_0x44e9('0x55')](_0x11df47));const _0x50c7cf=_0x59dd7b[_0x44e9('0x7')](_0x4478d2);_0x1d150f(_0x30478a),_0x4478d2=_0x59dd7b[_0x44e9('0x29')](_0x21d132[_0x44e9('0x4f')]['document'][_0x44e9('0xd')]),_0x11df47=_0x1c59c4['getCaptionFromImageModelElement'](_0x4478d2),_0x40feca['markInsertion'](_0x21d132[_0x44e9('0x4f')][_0x44e9('0x55')](_0x11df47),_0x50c7cf?null:_0x44e9('0x4b'));});}),_0x40feca[_0x44e9('0x1d')][_0x44e9('0x2c')](_0x44e9('0x58'),_0x44e9('0x4b'),_0x44e9('0xf'),_0x3b15bc));const _0x492c96=[{'type':'formatBlock','subType':_0x44e9('0xb')},{'type':_0x44e9('0x58'),'subType':'imageCaption'},{'type':'formatBlock','subType':'convertInlineImageToBlock'},{'type':_0x44e9('0x58'),'subType':'convertInlineImageToBlock'}];function _0x363cd8(_0x2b77ec,_0x356bf1){const _0x4de218=_0x492c96[_0x44e9('0x1a')](({type:_0x4a6517,subType:_0x46730b})=>_0x2b77ec[_0x44e9('0x4c')]==_0x4a6517&&_0x2b77ec['subType']==_0x46730b),_0x2a65b4=_0x492c96['findIndex'](({type:_0x1c4121,subType:_0x1e6651})=>_0x356bf1[_0x44e9('0x4c')]==_0x1c4121&&_0x356bf1[_0x44e9('0x1b')]==_0x1e6651);if(_0x4de218<0x0||_0x2a65b4<0x0)return!0x1;const _0x52ff1b=_0x2b77ec['getFirstRange'](),_0x52e406=_0x356bf1[_0x44e9('0x19')]();if((0x0==_0x4de218||0x1==_0x4de218)&&0x2==_0x2a65b4&&_0x52ff1b[_0x44e9('0x5')](_0x52e406))return!0x0;if(0x2==_0x4de218&&0x3==_0x2a65b4){const _0x395cac=_0x40feca['_findSuggestions'](_0x52ff1b,_0x44e9('0x58'))[_0x44e9('0x2a')](({suggestion:_0x1e6a34,meta:_0x10f213})=>_0x10f213[_0x44e9('0x57')]&&_0x44e9('0x4e')==_0x1e6a34['subType']);if(_0x395cac[_0x44e9('0x13')]>0x1&&_0x52e406[_0x44e9('0x42')][_0x44e9('0x3c')](_0x52ff1b[_0x44e9('0x2d')]))return!0x0;if(0x1==_0x395cac[_0x44e9('0x13')]&&(_0x52ff1b[_0x44e9('0x2d')][_0x44e9('0x3c')](_0x52e406[_0x44e9('0x42')])||_0x52ff1b[_0x44e9('0x42')][_0x44e9('0x3c')](_0x52e406['start'])))return!0x0;}if(0x3==_0x4de218&&0x3==_0x2a65b4&&_0x52ff1b[_0x44e9('0x2d')]['isBefore'](_0x52e406['start'])){const _0x1c3804=_0x52ff1b[_0x44e9('0x42')][_0x44e9('0x1c')],_0x2e387d=_0x52e406['start'][_0x44e9('0x22')];return _0x59dd7b[_0x44e9('0x7')](_0x1c3804)&&_0x1c3804===_0x2e387d;}return!0x1;}function _0x3b15bc(_0x32699a,_0xbcf602){return _0x363cd8(_0x32699a,_0xbcf602)?[_0x32699a,_0xbcf602]:_0x363cd8(_0xbcf602,_0x32699a)?[_0xbcf602,_0x32699a]:null;}_0x21d132['plugins'][_0x44e9('0x2')](_0x44e9('0x3d'))&&(_0x40feca[_0x44e9('0x53')](_0x44e9('0x20'),[],[_0x44e9('0x5a')]),_0x40feca['_descriptionFactory'][_0x44e9('0x39')](_0x44e9('0x5a'),_0x23665e(_0x5473bd,_0x44e9('0x12')))),_0x21d132[_0x44e9('0xe')]['has'](_0x44e9('0x0'))&&_0x40feca[_0x44e9('0x53')]('imageTextAlternative',[],['alt']),_0x40feca[_0x44e9('0x4d')][_0x44e9('0x3f')](_0xf33599=>{if(!!_0x492c96[_0x44e9('0xc')](({type:_0xeebb34,subType:_0x51401d})=>_0xf33599[_0x44e9('0x4c')]==_0xeebb34&&_0xf33599[_0x44e9('0x1b')]==_0x51401d))return _0xf33599[_0x44e9('0x3e')]?{}:void 0x0;}),_0x40feca[_0x44e9('0x4d')][_0x44e9('0x3f')](_0x1d89a2=>{if(_0x44e9('0x58')==_0x1d89a2[_0x44e9('0x4c')]||_0x44e9('0x27')==_0x1d89a2[_0x44e9('0x4c')]){const _0x3f4d05=_0x1d89a2['getContainedElement']();if(_0x3f4d05&&_0x3f4d05['is'](_0x44e9('0x54'),_0x44e9('0x5f')))return{'type':_0x44e9('0x58')==_0x1d89a2[_0x44e9('0x4c')]?_0x44e9('0x31'):_0x44e9('0x50'),'element':_0x3f4d05,'quantity':0x1};}}),_0x40feca[_0x44e9('0x4d')][_0x44e9('0x3f')](_0x41726c=>_0x44e9('0x17')==_0x41726c[_0x44e9('0x4c')]&&'convertInlineImageToBlock'==_0x41726c['subType']?{'type':_0x44e9('0x21'),'content':_0x44e9('0x3')}:_0x44e9('0x17')==_0x41726c[_0x44e9('0x4c')]&&_0x44e9('0x28')==_0x41726c[_0x44e9('0x1b')]?{'type':_0x44e9('0x21'),'content':'Block\x20image\x20to\x20inline\x20image'}:void 0x0),_0x40feca[_0x44e9('0x4d')][_0x44e9('0x3f')](_0x20f4bc=>{if('attribute'!=_0x20f4bc['type'])return;const {data:_0x4833d5}=_0x20f4bc;if(!_0x4833d5||_0x44e9('0x30')!=_0x4833d5['key'])return;const _0x4225cd=_0x4833d5[_0x44e9('0x60')];return _0x4225cd?{'type':'format','content':_0x23665e(_0x5473bd,_0x44e9('0x1e'),'\x22'+_0x4225cd+'\x22')}:{'type':_0x44e9('0x21'),'content':_0x23665e(_0x5473bd,'*Remove\x20image\x20text\x20alternative*')};}),this[_0x44e9('0x36')]();}[_0x44e9('0x36')](){const _0xa53205=this['editor'],_0x50f058=_0xa53205[_0x44e9('0x16')];_0xa53205[_0x44e9('0xe')][_0x44e9('0x33')](_0x44e9('0x38'))['_descriptionFactory']['registerDescriptionCallback'](_0x387ce9=>{if('formatBlock'!=_0x387ce9[_0x44e9('0x4c')]&&_0x44e9('0x47')!=_0x387ce9[_0x44e9('0x4c')])return;const {data:_0x226c64}=_0x387ce9;if(_0x226c64){if(_0x44e9('0x61')==_0x226c64[_0x44e9('0x52')]){const _0x59315b=_0x226c64[_0x44e9('0x4')][0x0][_0x44e9('0x60')];return _0x59315b?{'type':'format','content':_0x23665e(_0x50f058,_0x44e9('0x1e'),'\x22'+_0x59315b+'\x22')}:{'type':_0x44e9('0x21'),'content':_0x23665e(_0x50f058,_0x44e9('0x1f'))};}if('resizeImage'==_0x226c64[_0x44e9('0x52')]){const _0x52b582=_0x226c64[_0x44e9('0x4')][0x0][_0x44e9('0xa')];return _0x52b582?{'type':_0x44e9('0x21'),'content':_0x23665e(_0x50f058,_0x44e9('0x59'),_0x52b582)}:{'type':_0x44e9('0x21'),'content':_0x23665e(_0x50f058,'*Reset\x20image\x20width*')};}}});}}
23
+ const _0x3916=['filter','forward','getContainedElement','markDeletion','TrackChangesEditing','caption','getClosestSelectedImageElement','*Remove\x20image\x20text\x20alternative*','ImageEditing','discard','markBlockFormat','_suggestionFactory','convertBlockImageToInline','plugins','getSuggestionCallback','_registerLegacyDescription','nodeAfter','editor','FORMAT_IMAGE_SIZE','get','imageStylePreApply','markInsertion','chain','alt','imageTextAlternative','*Set\x20image\x20width:*\x20%0','change','accept','key','isBlockImage','ImageUploadEditing','Block\x20image\x20to\x20inline\x20image','imageInline','length','Inline\x20image\x20to\x20block\x20image','isEqual','*Set\x20image\x20text\x20alternative:*\x20%0','ELEMENT_CAPTION','ELEMENT_IMAGE','registerDescriptionCallback','convertInlineImageToBlock','toPrevious','backward','registerElementLabel','fromPosition','width','ImageUtils','join','*Reset\x20image\x20width*','schema','isBefore','previous','resizedWidth','has','toNext','attribute','imageTypeInline','imageCaption','end','_enableDefaultAttributesIntegration','registerAttributeLabel','ImageBlockEditing','getFirstRange','deletion','subType','resizeImage','newValue','registerCustomCallback','detach','commandParams','imageBlock','insertImage','type','selection','commandName','getNearestSelectionRange','formatBlock','find','toggleImageCaption','start','insertion','createRange','format','ELEMENT_INLINE_IMAGE','ImageResize','removeObject','_descriptionFactory','isCollapsed','locale','afterInit','isOwn','createRangeOn','document','getCaptionFromImageModelElement','enableCommand','model'];(function(_0x43f09c,_0x39162f){const _0x21b1d6=function(_0x16694e){while(--_0x16694e){_0x43f09c['push'](_0x43f09c['shift']());}};_0x21b1d6(++_0x39162f);}(_0x3916,0x181));const _0x21b1=function(_0x43f09c,_0x39162f){_0x43f09c=_0x43f09c-0x0;let _0x21b1d6=_0x3916[_0x43f09c];return _0x21b1d6;};import{Plugin as _0x2c0754}from'ckeditor5/src/core.js';import{LivePosition as _0x5e410b}from'ckeditor5/src/engine.js';import{getTranslation as _0x34b1cc}from'../utils/common-translations.js';export default class it extends _0x2c0754{[_0x21b1('0x58')](){const _0x34d2d6=this['editor'];if(!_0x34d2d6[_0x21b1('0xc')][_0x21b1('0x34')](_0x21b1('0x7')))return;const _0x1f746c=_0x34d2d6[_0x21b1('0xc')]['get'](_0x21b1('0x3')),_0x35990e=_0x34d2d6[_0x21b1('0xc')][_0x21b1('0x12')](_0x21b1('0x2d')),_0xc6e1a7=_0x34d2d6[_0x21b1('0x57')];_0x1f746c['enableCommand'](_0x21b1('0x46')),_0x1f746c[_0x21b1('0x55')]['registerElementLabel'](_0x21b1('0x45'),_0x969371=>_0x34b1cc(_0xc6e1a7,_0x21b1('0x25'),_0x969371)),_0x1f746c[_0x21b1('0x55')]['registerElementLabel'](_0x21b1('0x1f'),_0x5e158c=>_0x34b1cc(_0xc6e1a7,_0x21b1('0x52'),_0x5e158c)),_0x1f746c[_0x21b1('0x55')][_0x21b1('0x2a')](_0x21b1('0x4'),()=>_0x34b1cc(_0xc6e1a7,_0x21b1('0x24'))),_0x34d2d6[_0x21b1('0xc')]['has'](_0x21b1('0x1d'))&&_0x1f746c[_0x21b1('0x5d')]('uploadImage'),_0x34d2d6['plugins'][_0x21b1('0x34')](_0x21b1('0x3c'))&&_0x34d2d6[_0x21b1('0xc')]['has']('ImageInlineEditing')&&(_0x1f746c[_0x21b1('0x5d')](_0x21b1('0x37'),(_0x15a24f,_0x418b58)=>{const _0x4a2661=_0x35990e[_0x21b1('0x5')](_0x34d2d6[_0x21b1('0x5e')][_0x21b1('0x5b')][_0x21b1('0x48')]);_0x34d2d6[_0x21b1('0x5e')][_0x21b1('0x19')](()=>{_0x1f746c[_0x21b1('0x9')](_0x4a2661,{'commandName':_0x21b1('0x37'),'commandParams':[_0x418b58]},[],_0x21b1('0xb'));});}),_0x1f746c[_0x21b1('0x5d')]('imageTypeBlock',(_0x2ca1f7,_0x1903b3)=>{_0x34d2d6[_0x21b1('0x5e')][_0x21b1('0x19')](_0x2e4107=>{let _0x573405=_0x35990e['getClosestSelectedImageElement'](_0x34d2d6[_0x21b1('0x5e')][_0x21b1('0x5b')]['selection']),_0x2a3edc=_0x2e4107[_0x21b1('0x5a')](_0x573405);const _0x5d8b6e=_0x5e410b[_0x21b1('0x2b')](_0x2a3edc[_0x21b1('0x4e')],_0x21b1('0x28')),_0x4e0012=_0x5e410b[_0x21b1('0x2b')](_0x2a3edc[_0x21b1('0x39')],_0x21b1('0x35'));_0x1f746c['forceDefaultExecution'](()=>_0x2ca1f7(_0x1903b3)),_0x573405=_0x35990e[_0x21b1('0x5')](_0x34d2d6[_0x21b1('0x5e')]['document'][_0x21b1('0x48')]),_0x2a3edc=_0x2e4107['createRangeOn'](_0x573405);const _0x201534=_0x2e4107[_0x21b1('0x50')](_0x5d8b6e,_0x4e0012);_0x5d8b6e[_0x21b1('0x43')](),_0x4e0012[_0x21b1('0x43')](),_0x1f746c[_0x21b1('0x9')](_0x573405,{'commandName':_0x21b1('0x37'),'commandParams':[_0x1903b3]},[],_0x21b1('0x27')),_0x201534[_0x21b1('0x4e')][_0x21b1('0x31')](_0x2a3edc[_0x21b1('0x4e')])&&_0x1f746c['markInsertion'](_0x2e4107['createRange'](_0x201534[_0x21b1('0x4e')],_0x2a3edc[_0x21b1('0x4e')]),_0x21b1('0x27')),_0x2a3edc[_0x21b1('0x39')][_0x21b1('0x31')](_0x201534['end'])&&_0x1f746c[_0x21b1('0x14')](_0x2e4107[_0x21b1('0x50')](_0x2a3edc['end'],_0x201534['end']),'convertInlineImageToBlock');});}),_0x1f746c[_0x21b1('0xa')][_0x21b1('0x42')]('formatBlock',_0x21b1('0x27'),'join',()=>!0x1),_0x1f746c['_suggestionFactory'][_0x21b1('0x42')](_0x21b1('0x4b'),_0x21b1('0x27'),_0x21b1('0x1a'),()=>!0x1),_0x1f746c[_0x21b1('0xa')][_0x21b1('0x42')](_0x21b1('0x4b'),'convertInlineImageToBlock',_0x21b1('0x8'),_0x1f746c[_0x21b1('0xa')][_0x21b1('0xd')](_0x21b1('0x4b'),'',_0x21b1('0x1a'))),_0x1f746c[_0x21b1('0xa')]['registerCustomCallback']('insertion',_0x21b1('0x27'),_0x21b1('0x2e'),()=>!0x1),_0x1f746c[_0x21b1('0xa')]['registerCustomCallback']('insertion',_0x21b1('0x27'),_0x21b1('0x8'),([_0x43f0e1])=>{const _0x48c48e=_0x1f746c[_0x21b1('0xa')][_0x21b1('0xd')](_0x21b1('0x4f'),'',_0x21b1('0x8'));let _0x284c81=_0x43f0e1[_0x21b1('0x4e')],_0x51dbec=_0x43f0e1['end'];const _0x4b7a8c=_0x34d2d6[_0x21b1('0x5e')][_0x21b1('0x30')][_0x21b1('0x4a')](_0x284c81,_0x21b1('0x29')),_0x5659e2=_0x34d2d6[_0x21b1('0x5e')][_0x21b1('0x30')]['getNearestSelectionRange'](_0x51dbec,_0x21b1('0x0'));_0x4b7a8c[_0x21b1('0x56')]&&(_0x284c81=_0x4b7a8c[_0x21b1('0x4e')]),_0x5659e2[_0x21b1('0x56')]&&(_0x51dbec=_0x5659e2[_0x21b1('0x39')]),_0x48c48e([_0x34d2d6[_0x21b1('0x5e')]['createRange'](_0x284c81,_0x51dbec)]);}),_0x1f746c[_0x21b1('0xa')]['registerCustomCallback'](_0x21b1('0x4b'),'convertInlineImageToBlock','chain',_0x23195d),_0x1f746c['_suggestionFactory'][_0x21b1('0x42')](_0x21b1('0x4f'),_0x21b1('0x27'),_0x21b1('0x15'),_0x23195d)),_0x34d2d6[_0x21b1('0xc')][_0x21b1('0x34')]('ImageCaptionEditing')&&(_0x1f746c['enableCommand'](_0x21b1('0x4d'),(_0x54e6ef,_0x3e28f9)=>{const _0x17d109=_0x34d2d6[_0x21b1('0xc')]['get']('ImageCaptionUtils');let _0x1de55f=_0x35990e[_0x21b1('0x5')](_0x34d2d6[_0x21b1('0x5e')][_0x21b1('0x5b')][_0x21b1('0x48')]),_0x8dc296=_0x17d109[_0x21b1('0x5c')](_0x1de55f);_0x34d2d6[_0x21b1('0x5e')][_0x21b1('0x19')](()=>{if(_0x8dc296)return void _0x1f746c[_0x21b1('0x2')](_0x34d2d6[_0x21b1('0x5e')]['createRangeOn'](_0x8dc296));const _0x3d0e15=_0x35990e[_0x21b1('0x1c')](_0x1de55f);_0x54e6ef(_0x3e28f9),_0x1de55f=_0x35990e['getClosestSelectedImageElement'](_0x34d2d6[_0x21b1('0x5e')][_0x21b1('0x5b')][_0x21b1('0x48')]),_0x8dc296=_0x17d109['getCaptionFromImageModelElement'](_0x1de55f),_0x1f746c['markInsertion'](_0x34d2d6[_0x21b1('0x5e')][_0x21b1('0x5a')](_0x8dc296),_0x3d0e15?null:_0x21b1('0x38'));});}),_0x1f746c['_suggestionFactory'][_0x21b1('0x42')](_0x21b1('0x4f'),'imageCaption',_0x21b1('0x15'),_0x23195d));const _0x1dd627=[{'type':_0x21b1('0x4b'),'subType':_0x21b1('0x13')},{'type':'insertion','subType':_0x21b1('0x38')},{'type':_0x21b1('0x4b'),'subType':_0x21b1('0x27')},{'type':_0x21b1('0x4f'),'subType':_0x21b1('0x27')}];function _0x331fa0(_0x45ff87,_0x1026fe){const _0x4c252b=_0x1dd627['findIndex'](({type:_0x4b7e21,subType:_0x484b1a})=>_0x45ff87[_0x21b1('0x47')]==_0x4b7e21&&_0x45ff87[_0x21b1('0x3f')]==_0x484b1a),_0x27903d=_0x1dd627['findIndex'](({type:_0x3b90e9,subType:_0x5b50f9})=>_0x1026fe[_0x21b1('0x47')]==_0x3b90e9&&_0x1026fe[_0x21b1('0x3f')]==_0x5b50f9);if(_0x4c252b<0x0||_0x27903d<0x0)return!0x1;const _0x1bbfa5=_0x45ff87[_0x21b1('0x3d')](),_0x3e772a=_0x1026fe[_0x21b1('0x3d')]();if((0x0==_0x4c252b||0x1==_0x4c252b)&&0x2==_0x27903d&&_0x1bbfa5['isIntersecting'](_0x3e772a))return!0x0;if(0x2==_0x4c252b&&0x3==_0x27903d){const _0x28ed48=_0x1f746c['_findSuggestions'](_0x1bbfa5,'insertion')[_0x21b1('0x5f')](({suggestion:_0x329952,meta:_0x34eeed})=>_0x34eeed[_0x21b1('0x59')]&&_0x21b1('0x27')==_0x329952[_0x21b1('0x3f')]);if(_0x28ed48[_0x21b1('0x20')]>0x1&&_0x3e772a[_0x21b1('0x39')][_0x21b1('0x22')](_0x1bbfa5[_0x21b1('0x4e')]))return!0x0;if(0x1==_0x28ed48['length']&&(_0x1bbfa5[_0x21b1('0x4e')]['isEqual'](_0x3e772a[_0x21b1('0x39')])||_0x1bbfa5[_0x21b1('0x39')][_0x21b1('0x22')](_0x3e772a[_0x21b1('0x4e')])))return!0x0;}if(0x3==_0x4c252b&&0x3==_0x27903d&&_0x1bbfa5['start']['isBefore'](_0x3e772a['start'])){const _0x3c5871=_0x1bbfa5[_0x21b1('0x39')][_0x21b1('0xf')],_0x72853e=_0x3e772a[_0x21b1('0x4e')]['nodeBefore'];return _0x35990e[_0x21b1('0x1c')](_0x3c5871)&&_0x3c5871===_0x72853e;}return!0x1;}function _0x23195d(_0x2d2a92,_0xf747a){return _0x331fa0(_0x2d2a92,_0xf747a)?[_0x2d2a92,_0xf747a]:_0x331fa0(_0xf747a,_0x2d2a92)?[_0xf747a,_0x2d2a92]:null;}_0x34d2d6[_0x21b1('0xc')]['has'](_0x21b1('0x53'))&&(_0x1f746c[_0x21b1('0x3a')](_0x21b1('0x40'),[],[_0x21b1('0x33')]),_0x1f746c[_0x21b1('0x55')][_0x21b1('0x3b')](_0x21b1('0x33'),_0x34b1cc(_0xc6e1a7,_0x21b1('0x11')))),_0x34d2d6[_0x21b1('0xc')][_0x21b1('0x34')]('ImageTextAlternativeEditing')&&_0x1f746c['_enableDefaultAttributesIntegration'](_0x21b1('0x17'),[],[_0x21b1('0x16')]),_0x1f746c[_0x21b1('0x55')]['registerDescriptionCallback'](_0x3df07d=>{if(!!_0x1dd627[_0x21b1('0x4c')](({type:_0x26b9d8,subType:_0x416cdb})=>_0x3df07d[_0x21b1('0x47')]==_0x26b9d8&&_0x3df07d[_0x21b1('0x3f')]==_0x416cdb))return _0x3df07d[_0x21b1('0x32')]?{}:void 0x0;}),_0x1f746c[_0x21b1('0x55')][_0x21b1('0x26')](_0x3df30c=>{if(_0x21b1('0x4f')==_0x3df30c[_0x21b1('0x47')]||_0x21b1('0x3e')==_0x3df30c[_0x21b1('0x47')]){const _0x42266f=_0x3df30c[_0x21b1('0x1')]();if(_0x42266f&&_0x42266f['is']('element','caption'))return{'type':'insertion'==_0x3df30c[_0x21b1('0x47')]?'addObject':_0x21b1('0x54'),'element':_0x42266f,'quantity':0x1};}}),_0x1f746c['_descriptionFactory'][_0x21b1('0x26')](_0x1928a3=>_0x21b1('0x4b')==_0x1928a3[_0x21b1('0x47')]&&_0x21b1('0x27')==_0x1928a3['subType']?{'type':_0x21b1('0x51'),'content':_0x21b1('0x21')}:_0x21b1('0x4b')==_0x1928a3['type']&&_0x21b1('0xb')==_0x1928a3['subType']?{'type':'format','content':_0x21b1('0x1e')}:void 0x0),_0x1f746c['_descriptionFactory'][_0x21b1('0x26')](_0x351534=>{if(_0x21b1('0x36')!=_0x351534[_0x21b1('0x47')])return;const {data:_0x57b46d}=_0x351534;if(!_0x57b46d||_0x21b1('0x16')!=_0x57b46d[_0x21b1('0x1b')])return;const _0x67d096=_0x57b46d[_0x21b1('0x41')];return _0x67d096?{'type':_0x21b1('0x51'),'content':_0x34b1cc(_0xc6e1a7,_0x21b1('0x23'),'\x22'+_0x67d096+'\x22')}:{'type':'format','content':_0x34b1cc(_0xc6e1a7,_0x21b1('0x6'))};}),this['_registerLegacyDescription']();}[_0x21b1('0xe')](){const _0x67ea80=this[_0x21b1('0x10')],_0x3a0fce=_0x67ea80[_0x21b1('0x57')];_0x67ea80[_0x21b1('0xc')][_0x21b1('0x12')]('TrackChangesEditing')[_0x21b1('0x55')][_0x21b1('0x26')](_0x346cd3=>{if('formatBlock'!=_0x346cd3[_0x21b1('0x47')]&&'formatInline'!=_0x346cd3[_0x21b1('0x47')])return;const {data:_0x14e784}=_0x346cd3;if(_0x14e784){if('imageTextAlternative'==_0x14e784[_0x21b1('0x49')]){const _0x478c8c=_0x14e784[_0x21b1('0x44')][0x0][_0x21b1('0x41')];return _0x478c8c?{'type':'format','content':_0x34b1cc(_0x3a0fce,_0x21b1('0x23'),'\x22'+_0x478c8c+'\x22')}:{'type':_0x21b1('0x51'),'content':_0x34b1cc(_0x3a0fce,_0x21b1('0x6'))};}if('resizeImage'==_0x14e784[_0x21b1('0x49')]){const _0x3511cb=_0x14e784[_0x21b1('0x44')][0x0][_0x21b1('0x2c')];return _0x3511cb?{'type':_0x21b1('0x51'),'content':_0x34b1cc(_0x3a0fce,_0x21b1('0x18'),_0x3511cb)}:{'type':'format','content':_0x34b1cc(_0x3a0fce,_0x21b1('0x2f'))};}}});}}
@@ -5,7 +5,7 @@
5
5
  /**
6
6
  * @module track-changes/integrations/imagereplace
7
7
  */
8
- import { Plugin } from 'ckeditor5/src/core';
8
+ import { Plugin } from 'ckeditor5/src/core.js';
9
9
  /**
10
10
  * Provides track changes plugin integration for image replace feature.
11
11
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x164b=['oldValue','get','discard','TrackChangesEditing','*Replace\x20image\x20URL*','commandName','has','key','formatInline','getSuggestionCallback','type','formatBlock','_enableDefaultAttributesIntegration','_registerLegacyDescription','ImageEditing','locale','plugins','afterInit','editor','_descriptionFactory','src','accept','registerDescriptionCallback','format','_handleLegacySuggestions','replaceImageSource','attribute','_suggestionFactory','*Format:*\x20replace\x20image\x20URL'];(function(_0x257776,_0x164b0e){const _0x5ef185=function(_0x2e67a1){while(--_0x2e67a1){_0x257776['push'](_0x257776['shift']());}};_0x5ef185(++_0x164b0e);}(_0x164b,0x101));const _0x5ef1=function(_0x257776,_0x164b0e){_0x257776=_0x257776-0x0;let _0x5ef185=_0x164b[_0x257776];return _0x5ef185;};import{Plugin as _0x5f0892}from'ckeditor5/src/core';import{getTranslation as _0x3c5bab}from'../utils/common-translations';export default class et extends _0x5f0892{[_0x5ef1('0x15')](){if(!this[_0x5ef1('0x16')]['plugins'][_0x5ef1('0xa')](_0x5ef1('0x12')))return;const _0x3e81c3=this[_0x5ef1('0x16')][_0x5ef1('0x13')],_0x13fef2=this[_0x5ef1('0x16')][_0x5ef1('0x14')][_0x5ef1('0x5')](_0x5ef1('0x7'));_0x13fef2[_0x5ef1('0x10')]('replaceImageSource',[],[_0x5ef1('0x18')]),_0x13fef2['_descriptionFactory'][_0x5ef1('0x1a')](_0x5b8ae7=>{if(_0x5ef1('0x1')!=_0x5b8ae7[_0x5ef1('0xe')])return;const {data:_0x5a2325}=_0x5b8ae7;return _0x5a2325&&_0x5ef1('0x18')==_0x5a2325[_0x5ef1('0xb')]?_0x5a2325['newValue']&&_0x5a2325[_0x5ef1('0x4')]?{'type':_0x5ef1('0x1b'),'content':_0x3c5bab(_0x3e81c3,_0x5ef1('0x8'))}:{'type':_0x5ef1('0x1b'),'content':''}:void 0x0;}),this[_0x5ef1('0x1c')]();}[_0x5ef1('0x1c')](){const _0x26a738=this[_0x5ef1('0x16')][_0x5ef1('0x14')][_0x5ef1('0x5')](_0x5ef1('0x7'));_0x26a738['_suggestionFactory']['registerCustomCallback'](_0x5ef1('0xf'),_0x5ef1('0x0'),_0x5ef1('0x19'),_0x26a738[_0x5ef1('0x2')][_0x5ef1('0xd')]('formatBlock',null,_0x5ef1('0x6'))),_0x26a738['_suggestionFactory']['registerCustomCallback'](_0x5ef1('0xf'),_0x5ef1('0x0'),_0x5ef1('0x6'),_0x26a738[_0x5ef1('0x2')]['getSuggestionCallback'](_0x5ef1('0xf'),null,_0x5ef1('0x19'))),this['_registerLegacyDescription']();}[_0x5ef1('0x11')](){const _0x521610=this[_0x5ef1('0x16')],_0x4ad4a0=_0x521610[_0x5ef1('0x13')];_0x521610['plugins'][_0x5ef1('0x5')](_0x5ef1('0x7'))[_0x5ef1('0x17')][_0x5ef1('0x1a')](_0x242418=>{if(_0x5ef1('0xf')!=_0x242418[_0x5ef1('0xe')]&&_0x5ef1('0xc')!=_0x242418[_0x5ef1('0xe')])return;const {data:_0x5d9658}=_0x242418;if(!_0x5d9658||_0x5ef1('0x0')!=_0x5d9658[_0x5ef1('0x9')])return;return{'type':_0x5ef1('0x1b'),'content':_0x3c5bab(_0x4ad4a0,_0x5ef1('0x3'))};});}}
23
+ const _0x281c=['locale','_enableDefaultAttributesIntegration','afterInit','type','has','format','editor','accept','TrackChangesEditing','_suggestionFactory','formatInline','key','formatBlock','registerDescriptionCallback','newValue','discard','src','plugins','_handleLegacySuggestions','*Format:*\x20replace\x20image\x20URL','getSuggestionCallback','_descriptionFactory','get','_registerLegacyDescription','attribute','replaceImageSource','ImageEditing','oldValue','registerCustomCallback'];(function(_0x4f9400,_0x281cc4){const _0x3fc936=function(_0x1b5d5a){while(--_0x1b5d5a){_0x4f9400['push'](_0x4f9400['shift']());}};_0x3fc936(++_0x281cc4);}(_0x281c,0x1b2));const _0x3fc9=function(_0x4f9400,_0x281cc4){_0x4f9400=_0x4f9400-0x0;let _0x3fc936=_0x281c[_0x4f9400];return _0x3fc936;};import{Plugin as _0x1c27af}from'ckeditor5/src/core.js';import{getTranslation as _0x464e24}from'../utils/common-translations.js';export default class et extends _0x1c27af{[_0x3fc9('0x3')](){if(!this['editor'][_0x3fc9('0x12')][_0x3fc9('0x5')](_0x3fc9('0x1b')))return;const _0x1a837f=this[_0x3fc9('0x7')][_0x3fc9('0x1')],_0x21b2b2=this['editor'][_0x3fc9('0x12')][_0x3fc9('0x17')](_0x3fc9('0x9'));_0x21b2b2[_0x3fc9('0x2')](_0x3fc9('0x1a'),[],[_0x3fc9('0x11')]),_0x21b2b2[_0x3fc9('0x16')][_0x3fc9('0xe')](_0x26b694=>{if(_0x3fc9('0x19')!=_0x26b694['type'])return;const {data:_0x399d2f}=_0x26b694;return _0x399d2f&&_0x3fc9('0x11')==_0x399d2f[_0x3fc9('0xc')]?_0x399d2f[_0x3fc9('0xf')]&&_0x399d2f[_0x3fc9('0x1c')]?{'type':_0x3fc9('0x6'),'content':_0x464e24(_0x1a837f,'*Replace\x20image\x20URL*')}:{'type':'format','content':''}:void 0x0;}),this[_0x3fc9('0x13')]();}[_0x3fc9('0x13')](){const _0xba92d9=this[_0x3fc9('0x7')][_0x3fc9('0x12')]['get'](_0x3fc9('0x9'));_0xba92d9[_0x3fc9('0xa')][_0x3fc9('0x0')]('formatBlock','replaceImageSource',_0x3fc9('0x8'),_0xba92d9[_0x3fc9('0xa')][_0x3fc9('0x15')](_0x3fc9('0xd'),null,_0x3fc9('0x10'))),_0xba92d9[_0x3fc9('0xa')]['registerCustomCallback'](_0x3fc9('0xd'),_0x3fc9('0x1a'),_0x3fc9('0x10'),_0xba92d9['_suggestionFactory'][_0x3fc9('0x15')]('formatBlock',null,_0x3fc9('0x8'))),this[_0x3fc9('0x18')]();}[_0x3fc9('0x18')](){const _0x2c7d33=this['editor'],_0x35eedc=_0x2c7d33['locale'];_0x2c7d33['plugins'][_0x3fc9('0x17')](_0x3fc9('0x9'))['_descriptionFactory'][_0x3fc9('0xe')](_0x672868=>{if(_0x3fc9('0xd')!=_0x672868[_0x3fc9('0x4')]&&_0x3fc9('0xb')!=_0x672868[_0x3fc9('0x4')])return;const {data:_0x3c7a2a}=_0x672868;if(!_0x3c7a2a||_0x3fc9('0x1a')!=_0x3c7a2a['commandName'])return;return{'type':_0x3fc9('0x6'),'content':_0x464e24(_0x35eedc,_0x3fc9('0x14'))};});}}
@@ -5,7 +5,7 @@
5
5
  /**
6
6
  * @module track-changes/integrations/image
7
7
  */
8
- import { Plugin } from 'ckeditor5/src/core';
8
+ import { Plugin } from 'ckeditor5/src/core.js';
9
9
  /**
10
10
  * Provides track changes plugin integration for {@link module:image/image~Image image feature}.
11
11
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xe7e5=['shouldConvertImageType','_splitMarkerName','subType','discardSuggestion','*Format:*\x20%0','_suggestionFactory','TrackChangesEditing','model','locale','head','discard','has','normalizedStyles','isBefore','imageStylePreApply','getSuggestionCallback','registerCustomCallback','convertInlineImageToBlock','editor','_findSuggestions','isInContent','findIndex','type','markBlockFormat','imageStylePostApply','selection','isInlineImage','filter','chain','end','enableCommand','insertion','commands','setImageNaturalSizeAttributes','next','join','author','suggestion','start','differ','accept','name','getSuggestion','document','_registerLegacyDescription','ImageStyleEditing','isBlockImage','length','getSuggestions','formatInline','nodeBefore','imageTypeBlock','isOwn','registerDescriptionCallback','refresh','forEach','commandReversedParams','isEqual','createRangeOn','commandName','format','value','commandParams','get','toLowerCase','Users','getContainedElement','newRange','afterInit','plugins','getClosestSelectedImageElement','imageCaption','change','imageStyle','formatBlock','nodeAfter'];(function(_0x1891c9,_0xe7e54f){const _0x8e055e=function(_0x6ae022){while(--_0x6ae022){_0x1891c9['push'](_0x1891c9['shift']());}};_0x8e055e(++_0xe7e54f);}(_0xe7e5,0x6a));const _0x8e05=function(_0x1891c9,_0xe7e54f){_0x1891c9=_0x1891c9-0x0;let _0x8e055e=_0xe7e5[_0x1891c9];return _0x8e055e;};import{Plugin as _0x460a6b}from'ckeditor5/src/core';import{uid as _0x1bf667}from'ckeditor5/src/utils';import{getTranslation as _0x3063e7}from'../utils/common-translations';export default class nt extends _0x460a6b{[_0x8e05('0x26')](){const _0x18a926=this[_0x8e05('0x40')];if(!_0x18a926[_0x8e05('0x27')][_0x8e05('0x39')](_0x8e05('0xf')))return;const _0x2eb413=_0x18a926[_0x8e05('0x27')][_0x8e05('0x21')](_0x8e05('0x34')),_0x5496e1=_0x18a926[_0x8e05('0x27')]['get']('ImageUtils'),_0x54058c={};_0x2eb413[_0x8e05('0x0')](_0x8e05('0x2b'),(_0x3a4074,_0xed2cbf)=>{const _0x16a099=_0x18a926[_0x8e05('0x27')][_0x8e05('0x21')](_0x8e05('0x23'))['me'],_0x3b02f7=_0x18a926[_0x8e05('0x2')][_0x8e05('0x21')](_0x8e05('0x2b'));let _0x54c373=_0x5496e1[_0x8e05('0x28')](_0x18a926[_0x8e05('0x35')]['document'][_0x8e05('0x47')]),_0x25851f=_0x18a926[_0x8e05('0x35')][_0x8e05('0x1c')](_0x54c373),_0x53bea2=_0x3b02f7[_0x8e05('0x1f')];if(_0x53bea2==_0xed2cbf[_0x8e05('0x1f')])return;const _0x4d3ab8={'commandName':_0x8e05('0x2b'),'commandParams':[_0xed2cbf],'formatGroupId':_0x1bf667()};_0x18a926[_0x8e05('0x35')][_0x8e05('0x2a')](()=>{if(_0x2eb413[_0x8e05('0x12')]()[_0x8e05('0x49')](_0x54bc3b=>_0x54bc3b[_0x8e05('0x42')]&&_0x16a099==_0x54bc3b[_0x8e05('0x6')]&&(_0x8e05('0x2c')==_0x54bc3b[_0x8e05('0x44')]||_0x8e05('0x13')==_0x54bc3b[_0x8e05('0x44')])&&(_0x8e05('0x3c')==_0x54bc3b[_0x8e05('0x30')]||_0x8e05('0x46')==_0x54bc3b['subType'])&&_0x54bc3b['getFirstRange']()[_0x8e05('0x1b')](_0x25851f))[_0x8e05('0x19')](_0x234a10=>_0x2eb413[_0x8e05('0x31')](_0x234a10[_0x8e05('0x37')])),_0x54c373=_0x5496e1[_0x8e05('0x28')](_0x18a926[_0x8e05('0x35')]['document']['selection']),_0x25851f=_0x18a926[_0x8e05('0x35')][_0x8e05('0x1c')](_0x54c373),_0x3b02f7[_0x8e05('0x18')](),_0x18a926['commands']['get']('imageTypeInline')[_0x8e05('0x18')](),_0x18a926[_0x8e05('0x2')][_0x8e05('0x21')](_0x8e05('0x15'))[_0x8e05('0x18')](),_0x53bea2=_0x3b02f7['value'],_0x53bea2!=_0xed2cbf[_0x8e05('0x1f')])return _0x5496e1[_0x8e05('0x48')](_0x54c373)&&_0x3b02f7[_0x8e05('0x2e')](_0xed2cbf['value'],_0x54c373)?(_0x3a4074({..._0xed2cbf,'setImageSizes':!0x1}),_0x54c373=_0x5496e1[_0x8e05('0x28')](_0x18a926[_0x8e05('0x35')][_0x8e05('0xd')]['selection']),void _0x2eb413[_0x8e05('0x45')](_0x54c373,{..._0x4d3ab8,'commandReversedParams':[{'value':_0x53bea2||null,'setImageSizes':!0x1}]},[],'imageStylePreApply')):void(_0x5496e1[_0x8e05('0x10')](_0x54c373)?_0x2eb413[_0x8e05('0x45')](_0x54c373,_0x4d3ab8,[],_0x8e05('0x46')):_0x2eb413['markInlineFormat'](_0x25851f,_0x4d3ab8,_0x8e05('0x46')));});});for(const _0xba9cee of _0x18a926['plugins'][_0x8e05('0x21')](_0x8e05('0xf'))[_0x8e05('0x3a')])_0x54058c[_0xba9cee[_0x8e05('0xb')]]=_0xba9cee['title'][_0x8e05('0x22')]();_0x2eb413['_suggestionFactory']['registerCustomCallback'](_0x8e05('0x2c'),'imageStylePreApply',_0x8e05('0x5'),()=>!0x1),_0x2eb413['_suggestionFactory'][_0x8e05('0x3e')](_0x8e05('0x2c'),_0x8e05('0x46'),_0x8e05('0x5'),()=>!0x1),_0x2eb413['_suggestionFactory']['registerCustomCallback']('formatInline',_0x8e05('0x46'),'join',()=>!0x1),_0x2eb413[_0x8e05('0x33')][_0x8e05('0x3e')](_0x8e05('0x2c'),_0x8e05('0x3c'),_0x8e05('0xa'),([_0x51fe93])=>{_0x5496e1[_0x8e05('0x3')](_0x51fe93['getContainedElement']());}),_0x2eb413[_0x8e05('0x33')][_0x8e05('0x3e')](_0x8e05('0x2c'),'imageStylePreApply',_0x8e05('0x38'),(_0x1e53c5,_0x4ec5d6)=>{_0x2eb413[_0x8e05('0x33')][_0x8e05('0x3d')](_0x8e05('0x2c'),'',_0x8e05('0xa'))(_0x1e53c5,{'commandName':_0x4ec5d6[_0x8e05('0x1d')],'commandParams':_0x4ec5d6[_0x8e05('0x1a')]});}),_0x2eb413[_0x8e05('0x33')]['registerCustomCallback'](_0x8e05('0x2c'),_0x8e05('0x3c'),_0x8e05('0x4a'),function(_0x4e52bd,_0x5dadab){if(_0x554548(_0x4e52bd,_0x5dadab))return[_0x4e52bd,_0x5dadab];if(_0x554548(_0x5dadab,_0x4e52bd))return[_0x5dadab,_0x4e52bd];return null;});const _0x5bbd20=[{'type':_0x8e05('0x2c'),'subType':'imageStylePreApply'},{'type':'insertion','subType':_0x8e05('0x29')},{'type':'formatBlock','subType':'convertInlineImageToBlock'},{'type':'insertion','subType':_0x8e05('0x3f')}];function _0x554548(_0x5cbe87,_0x18229f){const _0x57f0c6=_0x5bbd20[_0x8e05('0x43')](({type:_0x21f38f,subType:_0x133bea})=>_0x5cbe87[_0x8e05('0x44')]==_0x21f38f&&_0x5cbe87[_0x8e05('0x30')]==_0x133bea),_0x313eba=_0x5bbd20[_0x8e05('0x43')](({type:_0x436abc,subType:_0x55b3ce})=>_0x18229f[_0x8e05('0x44')]==_0x436abc&&_0x18229f[_0x8e05('0x30')]==_0x55b3ce);if(_0x57f0c6<0x0||_0x313eba<0x0)return!0x1;const _0x4932f2=_0x5cbe87['getFirstRange'](),_0x553f8c=_0x18229f['getFirstRange']();if((0x0==_0x57f0c6||0x1==_0x57f0c6)&&0x2==_0x313eba&&_0x4932f2['isIntersecting'](_0x553f8c))return!0x0;if(0x2==_0x57f0c6&&0x3==_0x313eba){const _0x58355f=_0x2eb413[_0x8e05('0x41')](_0x4932f2,_0x8e05('0x1'))[_0x8e05('0x49')](({suggestion:_0x2f72b1,meta:_0x17f0dc})=>_0x17f0dc[_0x8e05('0x16')]&&_0x8e05('0x3f')==_0x2f72b1[_0x8e05('0x30')]);if(_0x58355f[_0x8e05('0x11')]>0x1&&_0x553f8c['end'][_0x8e05('0x1b')](_0x4932f2[_0x8e05('0x8')]))return!0x0;if(0x1==_0x58355f[_0x8e05('0x11')]&&(_0x4932f2[_0x8e05('0x8')]['isEqual'](_0x553f8c[_0x8e05('0x4b')])||_0x4932f2[_0x8e05('0x4b')][_0x8e05('0x1b')](_0x553f8c[_0x8e05('0x8')])))return!0x0;}if(0x3==_0x57f0c6&&0x3==_0x313eba&&_0x4932f2['start'][_0x8e05('0x3b')](_0x553f8c[_0x8e05('0x8')])){const _0x465070=_0x4932f2[_0x8e05('0x4b')][_0x8e05('0x2d')],_0x58c0be=_0x553f8c[_0x8e05('0x8')][_0x8e05('0x14')];return _0x5496e1[_0x8e05('0x10')](_0x465070)&&_0x465070===_0x58c0be;}return!0x1;}_0x18a926[_0x8e05('0x35')][_0x8e05('0xd')]['registerPostFixer'](()=>{let _0x20f1c1=!0x1;const _0x82b456=Array['from'](_0x18a926['model']['document'][_0x8e05('0x9')]['getChangedMarkers']());for(const {name:_0x3661c0,data:_0x5e5d19}of _0x82b456){const {group:_0x33d554,type:_0x348f12,subType:_0x2ac2b9,id:_0x5f1cad}=_0x2eb413[_0x8e05('0x2f')](_0x3661c0);if(_0x8e05('0x7')==_0x33d554&&_0x2eb413['hasSuggestion'](_0x5f1cad)){if('formatBlock'==_0x348f12&&(_0x8e05('0x3c')==_0x2ac2b9||_0x8e05('0x46')==_0x2ac2b9)){const _0x224d29=_0x2eb413[_0x8e05('0xc')](_0x5f1cad);if(_0x5e5d19['newRange']){const _0x19a997=_0x224d29['getFirstRange']()[_0x8e05('0x24')]();if(_0x5496e1['isBlockImage'](_0x19a997))continue;_0x2eb413[_0x8e05('0x31')](_0x224d29),_0x20f1c1=!0x0;}}if('insertion'==_0x348f12&&'imageCaption'==_0x2ac2b9&&!_0x5e5d19[_0x8e05('0x25')]){const _0x5bceac=_0x2eb413[_0x8e05('0xc')](_0x5f1cad);_0x5bceac[_0x8e05('0x4')]&&_0x5bceac[_0x8e05('0x4')][_0x8e05('0x42')]&&(_0x2eb413['discardSuggestion'](_0x5bceac[_0x8e05('0x4')]),_0x20f1c1=!0x0);}}}return _0x20f1c1;}),this[_0x8e05('0xe')](_0x54058c);}['_registerLegacyDescription'](_0x493dc2){const _0x268b32=this[_0x8e05('0x40')],_0x26df93=_0x268b32[_0x8e05('0x36')];_0x268b32[_0x8e05('0x27')][_0x8e05('0x21')](_0x8e05('0x34'))['_descriptionFactory'][_0x8e05('0x17')](_0xded8b9=>{if(_0x8e05('0x2c')!=_0xded8b9[_0x8e05('0x44')]&&_0x8e05('0x13')!=_0xded8b9[_0x8e05('0x44')])return;const {data:_0x5a784d}=_0xded8b9;if(!_0x5a784d||'imageStyle'!=_0x5a784d['commandName'])return;const _0x58cccd=_0x5a784d[_0x8e05('0x20')][0x0][_0x8e05('0x1f')];return _0x52e2c8('side'===_0x58cccd?_0x3063e7(_0x26df93,'FORMAT_SIDE_IMAGE'):_0x493dc2[_0x58cccd]||_0x58cccd);function _0x52e2c8(_0xa8ca27){return{'type':_0x8e05('0x1e'),'content':_0x3063e7(_0x26df93,_0x8e05('0x32'),_0xa8ca27)};}});}}
23
+ const _0x49f8=['FORMAT_SIDE_IMAGE','editor','refresh','registerCustomCallback','has','registerDescriptionCallback','ImageUtils','subType','start','name','getFirstRange','imageStylePreApply','suggestion','setImageNaturalSizeAttributes','length','join','imageStyle','getChangedMarkers','commandReversedParams','commandParams','nodeBefore','locale','afterInit','next','title','isBlockImage','differ','formatBlock','registerPostFixer','isIntersecting','from','isEqual','plugins','getSuggestion','ImageStyleEditing','imageTypeBlock','side','model','end','_findSuggestions','document','findIndex','commandName','format','getClosestSelectedImageElement','convertInlineImageToBlock','normalizedStyles','enableCommand','get','toLowerCase','value','filter','author','commands','discardSuggestion','discard','shouldConvertImageType','accept','*Format:*\x20%0','markBlockFormat','formatInline','getContainedElement','_splitMarkerName','Users','_suggestionFactory','_registerLegacyDescription','insertion','imageStylePostApply','newRange','getSuggestions','imageCaption','isInContent','isInlineImage','createRangeOn','type','_descriptionFactory','forEach','selection','getSuggestionCallback'];(function(_0x354fa6,_0x49f8bd){const _0x20656f=function(_0xce3d75){while(--_0xce3d75){_0x354fa6['push'](_0x354fa6['shift']());}};_0x20656f(++_0x49f8bd);}(_0x49f8,0x144));const _0x2065=function(_0x354fa6,_0x49f8bd){_0x354fa6=_0x354fa6-0x0;let _0x20656f=_0x49f8[_0x354fa6];return _0x20656f;};import{Plugin as _0x2b1d3b}from'ckeditor5/src/core.js';import{uid as _0x34e5cb}from'ckeditor5/src/utils.js';import{getTranslation as _0x11b346}from'../utils/common-translations.js';export default class st extends _0x2b1d3b{[_0x2065('0xe')](){const _0x803c4a=this[_0x2065('0x48')];if(!_0x803c4a[_0x2065('0x18')][_0x2065('0x4b')]('ImageStyleEditing'))return;const _0x19fb5c=_0x803c4a[_0x2065('0x18')][_0x2065('0x28')]('TrackChangesEditing'),_0x5f09c8=_0x803c4a['plugins'][_0x2065('0x28')](_0x2065('0x4d')),_0x19e01d={};_0x19fb5c[_0x2065('0x27')](_0x2065('0x8'),(_0x2f9343,_0x4acbf6)=>{const _0x444be6=_0x803c4a['plugins'][_0x2065('0x28')](_0x2065('0x37'))['me'],_0x4b160d=_0x803c4a[_0x2065('0x2d')][_0x2065('0x28')](_0x2065('0x8'));let _0x18d081=_0x5f09c8['getClosestSelectedImageElement'](_0x803c4a['model'][_0x2065('0x20')][_0x2065('0x45')]),_0x1286a5=_0x803c4a['model'][_0x2065('0x41')](_0x18d081),_0x239282=_0x4b160d[_0x2065('0x2a')];if(_0x239282==_0x4acbf6[_0x2065('0x2a')])return;const _0x502f56={'commandName':_0x2065('0x8'),'commandParams':[_0x4acbf6],'formatGroupId':_0x34e5cb()};_0x803c4a['model']['change'](()=>{if(_0x19fb5c[_0x2065('0x3d')]()[_0x2065('0x2b')](_0x65074d=>_0x65074d[_0x2065('0x3f')]&&_0x444be6==_0x65074d[_0x2065('0x2c')]&&(_0x2065('0x13')==_0x65074d[_0x2065('0x42')]||_0x2065('0x34')==_0x65074d[_0x2065('0x42')])&&(_0x2065('0x3')==_0x65074d[_0x2065('0x4e')]||_0x2065('0x3b')==_0x65074d[_0x2065('0x4e')])&&_0x65074d[_0x2065('0x2')]()[_0x2065('0x17')](_0x1286a5))[_0x2065('0x44')](_0xf7a781=>_0x19fb5c[_0x2065('0x2e')](_0xf7a781['head'])),_0x18d081=_0x5f09c8[_0x2065('0x24')](_0x803c4a[_0x2065('0x1d')][_0x2065('0x20')]['selection']),_0x1286a5=_0x803c4a['model'][_0x2065('0x41')](_0x18d081),_0x4b160d[_0x2065('0x49')](),_0x803c4a['commands'][_0x2065('0x28')]('imageTypeInline')[_0x2065('0x49')](),_0x803c4a[_0x2065('0x2d')]['get'](_0x2065('0x1b'))[_0x2065('0x49')](),_0x239282=_0x4b160d['value'],_0x239282!=_0x4acbf6[_0x2065('0x2a')])return _0x5f09c8[_0x2065('0x40')](_0x18d081)&&_0x4b160d[_0x2065('0x30')](_0x4acbf6[_0x2065('0x2a')],_0x18d081)?(_0x2f9343({..._0x4acbf6,'setImageSizes':!0x1}),_0x18d081=_0x5f09c8[_0x2065('0x24')](_0x803c4a[_0x2065('0x1d')]['document']['selection']),void _0x19fb5c[_0x2065('0x33')](_0x18d081,{..._0x502f56,'commandReversedParams':[{'value':_0x239282||null,'setImageSizes':!0x1}]},[],'imageStylePreApply')):void(_0x5f09c8[_0x2065('0x11')](_0x18d081)?_0x19fb5c[_0x2065('0x33')](_0x18d081,_0x502f56,[],_0x2065('0x3b')):_0x19fb5c['markInlineFormat'](_0x1286a5,_0x502f56,_0x2065('0x3b')));});});for(const _0x4d8f76 of _0x803c4a[_0x2065('0x18')][_0x2065('0x28')](_0x2065('0x1a'))[_0x2065('0x26')])_0x19e01d[_0x4d8f76[_0x2065('0x1')]]=_0x4d8f76[_0x2065('0x10')][_0x2065('0x29')]();_0x19fb5c['_suggestionFactory'][_0x2065('0x4a')](_0x2065('0x13'),_0x2065('0x3'),_0x2065('0x7'),()=>!0x1),_0x19fb5c['_suggestionFactory']['registerCustomCallback'](_0x2065('0x13'),_0x2065('0x3b'),'join',()=>!0x1),_0x19fb5c[_0x2065('0x38')][_0x2065('0x4a')](_0x2065('0x34'),_0x2065('0x3b'),'join',()=>!0x1),_0x19fb5c['_suggestionFactory'][_0x2065('0x4a')](_0x2065('0x13'),'imageStylePreApply',_0x2065('0x31'),([_0x1859df])=>{_0x5f09c8[_0x2065('0x5')](_0x1859df['getContainedElement']());}),_0x19fb5c[_0x2065('0x38')]['registerCustomCallback'](_0x2065('0x13'),_0x2065('0x3'),_0x2065('0x2f'),(_0x464c49,_0x993d74)=>{_0x19fb5c[_0x2065('0x38')][_0x2065('0x46')]('formatBlock','',_0x2065('0x31'))(_0x464c49,{'commandName':_0x993d74[_0x2065('0x22')],'commandParams':_0x993d74[_0x2065('0xa')]});}),_0x19fb5c[_0x2065('0x38')][_0x2065('0x4a')](_0x2065('0x13'),_0x2065('0x3'),'chain',function(_0x31faa6,_0x121f64){if(_0x268a0d(_0x31faa6,_0x121f64))return[_0x31faa6,_0x121f64];if(_0x268a0d(_0x121f64,_0x31faa6))return[_0x121f64,_0x31faa6];return null;});const _0x2c836d=[{'type':_0x2065('0x13'),'subType':_0x2065('0x3')},{'type':'insertion','subType':_0x2065('0x3e')},{'type':'formatBlock','subType':'convertInlineImageToBlock'},{'type':_0x2065('0x3a'),'subType':_0x2065('0x25')}];function _0x268a0d(_0x1394e7,_0x305114){const _0x42ed59=_0x2c836d['findIndex'](({type:_0x5e4e79,subType:_0x232ccd})=>_0x1394e7[_0x2065('0x42')]==_0x5e4e79&&_0x1394e7[_0x2065('0x4e')]==_0x232ccd),_0x97f99=_0x2c836d[_0x2065('0x21')](({type:_0x280dc5,subType:_0x115590})=>_0x305114[_0x2065('0x42')]==_0x280dc5&&_0x305114[_0x2065('0x4e')]==_0x115590);if(_0x42ed59<0x0||_0x97f99<0x0)return!0x1;const _0x2df96e=_0x1394e7[_0x2065('0x2')](),_0x34b367=_0x305114[_0x2065('0x2')]();if((0x0==_0x42ed59||0x1==_0x42ed59)&&0x2==_0x97f99&&_0x2df96e[_0x2065('0x15')](_0x34b367))return!0x0;if(0x2==_0x42ed59&&0x3==_0x97f99){const _0x1ef213=_0x19fb5c[_0x2065('0x1f')](_0x2df96e,_0x2065('0x3a'))[_0x2065('0x2b')](({suggestion:_0x576f97,meta:_0x3494a7})=>_0x3494a7['isOwn']&&_0x2065('0x25')==_0x576f97[_0x2065('0x4e')]);if(_0x1ef213['length']>0x1&&_0x34b367[_0x2065('0x1e')][_0x2065('0x17')](_0x2df96e[_0x2065('0x0')]))return!0x0;if(0x1==_0x1ef213[_0x2065('0x6')]&&(_0x2df96e[_0x2065('0x0')][_0x2065('0x17')](_0x34b367[_0x2065('0x1e')])||_0x2df96e[_0x2065('0x1e')][_0x2065('0x17')](_0x34b367['start'])))return!0x0;}if(0x3==_0x42ed59&&0x3==_0x97f99&&_0x2df96e[_0x2065('0x0')]['isBefore'](_0x34b367[_0x2065('0x0')])){const _0x2f3bef=_0x2df96e[_0x2065('0x1e')]['nodeAfter'],_0x5ae8c7=_0x34b367[_0x2065('0x0')][_0x2065('0xc')];return _0x5f09c8['isBlockImage'](_0x2f3bef)&&_0x2f3bef===_0x5ae8c7;}return!0x1;}_0x803c4a['model'][_0x2065('0x20')][_0x2065('0x14')](()=>{let _0x2f98b5=!0x1;const _0x3e6247=Array[_0x2065('0x16')](_0x803c4a[_0x2065('0x1d')][_0x2065('0x20')][_0x2065('0x12')][_0x2065('0x9')]());for(const {name:_0x2652fc,data:_0xc462ac}of _0x3e6247){const {group:_0x5985fa,type:_0x75c07b,subType:_0x6bab87,id:_0x4ccee6}=_0x19fb5c[_0x2065('0x36')](_0x2652fc);if(_0x2065('0x4')==_0x5985fa&&_0x19fb5c['hasSuggestion'](_0x4ccee6)){if(_0x2065('0x13')==_0x75c07b&&(_0x2065('0x3')==_0x6bab87||'imageStylePostApply'==_0x6bab87)){const _0x689f58=_0x19fb5c[_0x2065('0x19')](_0x4ccee6);if(_0xc462ac[_0x2065('0x3c')]){const _0x51f87b=_0x689f58[_0x2065('0x2')]()[_0x2065('0x35')]();if(_0x5f09c8[_0x2065('0x11')](_0x51f87b))continue;_0x19fb5c[_0x2065('0x2e')](_0x689f58),_0x2f98b5=!0x0;}}if('insertion'==_0x75c07b&&_0x2065('0x3e')==_0x6bab87&&!_0xc462ac['newRange']){const _0x146c2e=_0x19fb5c[_0x2065('0x19')](_0x4ccee6);_0x146c2e[_0x2065('0xf')]&&_0x146c2e[_0x2065('0xf')][_0x2065('0x3f')]&&(_0x19fb5c[_0x2065('0x2e')](_0x146c2e[_0x2065('0xf')]),_0x2f98b5=!0x0);}}}return _0x2f98b5;}),this[_0x2065('0x39')](_0x19e01d);}[_0x2065('0x39')](_0x1433c6){const _0x44521d=this[_0x2065('0x48')],_0x26ef72=_0x44521d[_0x2065('0xd')];_0x44521d[_0x2065('0x18')]['get']('TrackChangesEditing')[_0x2065('0x43')][_0x2065('0x4c')](_0x2109ea=>{if('formatBlock'!=_0x2109ea[_0x2065('0x42')]&&'formatInline'!=_0x2109ea[_0x2065('0x42')])return;const {data:_0x270676}=_0x2109ea;if(!_0x270676||'imageStyle'!=_0x270676[_0x2065('0x22')])return;const _0x439d52=_0x270676[_0x2065('0xb')][0x0][_0x2065('0x2a')];return _0xb8c4ff(_0x2065('0x1c')===_0x439d52?_0x11b346(_0x26ef72,_0x2065('0x47')):_0x1433c6[_0x439d52]||_0x439d52);function _0xb8c4ff(_0x44903c){return{'type':_0x2065('0x23'),'content':_0x11b346(_0x26ef72,_0x2065('0x32'),_0x44903c)};}});}}
@@ -5,7 +5,7 @@
5
5
  /**
6
6
  * @module track-changes/integrations/importword
7
7
  */
8
- import { Plugin, type Editor } from 'ckeditor5/src/core';
8
+ import { Plugin, type Editor } from 'ckeditor5/src/core.js';
9
9
  /**
10
10
  * Provides track changes plugin integration for the import from Word feature.
11
11
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1e67=['lowest','listenTo','execute','value','trackChanges','_trackChangesValueDuringImport','commands','track_changes','Users','enableCommand','editor','bind','afterInit','dataInsert','forEach','plugins','_trackChangesExecuted','_setSuggestionData','_handleImportedData','collaboration_features','TrackChangesEditing','get','importWord'];(function(_0x1a8012,_0x1e6784){const _0x1fddf7=function(_0x25c039){while(--_0x25c039){_0x1a8012['push'](_0x1a8012['shift']());}};_0x1fddf7(++_0x1e6784);}(_0x1e67,0xd3));const _0x1fdd=function(_0x1a8012,_0x1e6784){_0x1a8012=_0x1a8012-0x0;let _0x1fddf7=_0x1e67[_0x1a8012];return _0x1fddf7;};import{Plugin as _0x3530dc}from'ckeditor5/src/core';export default class st extends _0x3530dc{constructor(_0x456dea){super(_0x456dea),this['_trackChangesValueDuringImport']=!0x1,this['_trackChangesExecuted']=!0x1;}[_0x1fdd('0x8')](){const _0x2a3352=this[_0x1fdd('0x6')],_0x5baba6=_0x2a3352['commands'][_0x1fdd('0x11')]('importWord'),_0x4179de=_0x2a3352[_0x1fdd('0x2')][_0x1fdd('0x11')](_0x1fdd('0x0'));_0x5baba6&&(_0x5baba6['on']('execute',(_0x37690d,[,_0x3c242c])=>{this[_0x1fdd('0x1')]=_0x4179de[_0x1fdd('0x16')],_0x3c242c[_0x1fdd('0xf')][_0x1fdd('0x3')]=!this[_0x1fdd('0x1')];},{'priority':'high'}),this[_0x1fdd('0x14')](_0x5baba6,_0x1fdd('0x9'),this[_0x1fdd('0xe')][_0x1fdd('0x7')](this)),this[_0x1fdd('0x14')](_0x5baba6,_0x1fdd('0x9'),()=>{this[_0x1fdd('0xc')]&&(_0x4179de[_0x1fdd('0x15')](),this[_0x1fdd('0xc')]=!0x1);},{'priority':_0x1fdd('0x13')}),_0x2a3352[_0x1fdd('0xb')]['get'](_0x1fdd('0x10'))[_0x1fdd('0x5')]('importWord'));}[_0x1fdd('0xe')](_0x29f519,_0x48171a){const {suggestions:_0x218fdc}=_0x48171a,_0x258a30=this[_0x1fdd('0x6')][_0x1fdd('0x2')][_0x1fdd('0x11')](_0x1fdd('0x0')),_0x242f4e=_0x258a30[_0x1fdd('0x16')];this[_0x1fdd('0x1')]!==_0x242f4e&&(_0x258a30[_0x1fdd('0x15')](),this[_0x1fdd('0xc')]=!0x0),_0x218fdc&&_0x218fdc[_0x1fdd('0xa')](({id:_0x353cd2,type:_0x4889ee,author:_0x2a9fcc,created_at:_0x306053})=>{const _0x3d2e36={'id':_0x353cd2,'type':_0x4889ee,'authorId':this[_0x1fdd('0x6')][_0x1fdd('0xb')][_0x1fdd('0x11')](_0x1fdd('0x4'))['me']['id'],'createdAt':new Date(),'data':null,'hasComments':!0x1,'attributes':{'@external':{'authorName':_0x2a9fcc,'createdAt':_0x306053?new Date(_0x306053):new Date(),'source':_0x1fdd('0x12')}}};this[_0x1fdd('0x6')]['plugins'][_0x1fdd('0x11')]('TrackChangesEditing')[_0x1fdd('0xd')](_0x3d2e36);});}}
23
+ const _0x2198=['editor','forEach','importWord','_trackChangesExecuted','dataInsert','get','_trackChangesValueDuringImport','commands','execute','_handleImportedData','listenTo','_setSuggestionData','trackChanges','TrackChangesEditing','value','plugins'];(function(_0x67e160,_0x219873){const _0x4966d5=function(_0x2cdae3){while(--_0x2cdae3){_0x67e160['push'](_0x67e160['shift']());}};_0x4966d5(++_0x219873);}(_0x2198,0x7f));const _0x4966=function(_0x67e160,_0x219873){_0x67e160=_0x67e160-0x0;let _0x4966d5=_0x2198[_0x67e160];return _0x4966d5;};import{Plugin as _0x911bbb}from'ckeditor5/src/core.js';export default class nt extends _0x911bbb{constructor(_0x14cab5){super(_0x14cab5),this[_0x4966('0x7')]=!0x1,this['_trackChangesExecuted']=!0x1;}['afterInit'](){const _0x45c014=this[_0x4966('0x1')],_0x45b0b4=_0x45c014['commands'][_0x4966('0x6')](_0x4966('0x3')),_0x1e10d5=_0x45c014[_0x4966('0x8')]['get'](_0x4966('0xd'));_0x45b0b4&&(_0x45b0b4['on']('execute',(_0x552ab3,[,_0x5dbb47])=>{this['_trackChangesValueDuringImport']=_0x1e10d5['value'],_0x5dbb47['collaboration_features']['track_changes']=!this[_0x4966('0x7')];},{'priority':'high'}),this['listenTo'](_0x45b0b4,_0x4966('0x5'),this[_0x4966('0xa')]['bind'](this)),this[_0x4966('0xb')](_0x45b0b4,_0x4966('0x5'),()=>{this[_0x4966('0x4')]&&(_0x1e10d5[_0x4966('0x9')](),this['_trackChangesExecuted']=!0x1);},{'priority':'lowest'}),_0x45c014[_0x4966('0x0')][_0x4966('0x6')](_0x4966('0xe'))['enableCommand'](_0x4966('0x3')));}[_0x4966('0xa')](_0x9e47f,_0x2b7fcc){const {suggestions:_0x54428b}=_0x2b7fcc,_0x35ef0d=this['editor'][_0x4966('0x8')]['get']('trackChanges'),_0x5056da=_0x35ef0d[_0x4966('0xf')];this[_0x4966('0x7')]!==_0x5056da&&(_0x35ef0d[_0x4966('0x9')](),this[_0x4966('0x4')]=!0x0),_0x54428b&&_0x54428b[_0x4966('0x2')](({id:_0x346346,type:_0x568a8d,author:_0x467e61,created_at:_0x949e70})=>{const _0xe36b75={'id':_0x346346,'type':_0x568a8d,'authorId':this[_0x4966('0x1')][_0x4966('0x0')][_0x4966('0x6')]('Users')['me']['id'],'createdAt':new Date(),'data':null,'hasComments':!0x1,'attributes':{'@external':{'authorName':_0x467e61,'createdAt':_0x949e70?new Date(_0x949e70):new Date(),'source':'importWord'}}};this[_0x4966('0x1')][_0x4966('0x0')][_0x4966('0x6')](_0x4966('0xe'))[_0x4966('0xc')](_0xe36b75);});}}
@@ -5,7 +5,7 @@
5
5
  /**
6
6
  * @module track-changes/integrations/indent
7
7
  */
8
- import { Plugin } from 'ckeditor5/src/core';
8
+ import { Plugin } from 'ckeditor5/src/core.js';
9
9
  /**
10
10
  * Provides track changes plugin integration for {@link module:indent/indent~Indent indent/outdent feature}.
11
11
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4c9a=['TrackChangesEditing','getItemLabel','indent','get','*Outdent:*\x20%0','outdent','indentBlock','plugins','blockIndent','has','FORMAT_INDENT','formatBlock','editor','_enableDefaultAttributesIntegration','type','outdentBlock','registerAttributeLabel','locale','enableCommand','getItems','_descriptionFactory','afterInit','commandName','_registerLegacyDescription','format'];(function(_0x4cb6be,_0x4c9a88){const _0x7c0ab=function(_0x57dc6a){while(--_0x57dc6a){_0x4cb6be['push'](_0x4cb6be['shift']());}};_0x7c0ab(++_0x4c9a88);}(_0x4c9a,0x1a6));const _0x7c0a=function(_0x4cb6be,_0x4c9a88){_0x4cb6be=_0x4cb6be-0x0;let _0x7c0ab=_0x4c9a[_0x4cb6be];return _0x7c0ab;};import{Plugin as _0x2b5db7}from'ckeditor5/src/core';import{getTranslation as _0x4ca3be}from'../utils/common-translations';export default class ot extends _0x2b5db7{[_0x7c0a('0x18')](){const _0x383bd1=this['editor'],_0x544344=_0x383bd1[_0x7c0a('0xa')]['get'](_0x7c0a('0x3'));if(_0x383bd1[_0x7c0a('0xa')][_0x7c0a('0xc')]('IndentEditing')&&(_0x544344[_0x7c0a('0x15')](_0x7c0a('0x5')),_0x544344[_0x7c0a('0x15')](_0x7c0a('0x8'))),_0x383bd1['plugins'][_0x7c0a('0xc')]('IndentBlock'))for(const _0x2b07b9 of[_0x7c0a('0x9'),_0x7c0a('0x12')])_0x544344[_0x7c0a('0x10')](_0x2b07b9);const _0x6b8be3=_0x383bd1[_0x7c0a('0x14')];_0x544344['_registerBlockAttribute'](_0x7c0a('0xb')),_0x544344[_0x7c0a('0x17')][_0x7c0a('0x13')]('blockIndent',_0x4ca3be(_0x6b8be3,_0x7c0a('0xd'))),this['_registerLegacyDescription']();}[_0x7c0a('0x1')](){const _0x3f602f=this[_0x7c0a('0xf')],_0x428410=_0x3f602f['locale'],_0x153646=_0x3f602f[_0x7c0a('0xa')][_0x7c0a('0x6')](_0x7c0a('0x3'));_0x153646[_0x7c0a('0x17')]['registerDescriptionCallback'](_0x3b795b=>{if(_0x7c0a('0xe')!=_0x3b795b[_0x7c0a('0x11')])return;const {data:_0x4ca4bd}=_0x3b795b;if(!_0x4ca4bd)return;if(_0x7c0a('0x9')!=_0x4ca4bd[_0x7c0a('0x0')]&&_0x7c0a('0x12')!=_0x4ca4bd[_0x7c0a('0x0')])return;const _0x291fb0=_0x3b795b[_0x7c0a('0x16')]()[0x0],_0x52b065=_0x153646['_descriptionFactory'][_0x7c0a('0x4')](_0x291fb0);return'indentBlock'==_0x4ca4bd[_0x7c0a('0x0')]?{'type':_0x7c0a('0x2'),'content':_0x4ca3be(_0x428410,'*Indent:*\x20%0',_0x52b065)}:_0x7c0a('0x12')==_0x4ca4bd[_0x7c0a('0x0')]?{'type':_0x7c0a('0x2'),'content':_0x4ca3be(_0x428410,_0x7c0a('0x7'),_0x52b065)}:void 0x0;});}}
23
+ const _0x5820=['FORMAT_INDENT','enableCommand','_descriptionFactory','indent','IndentEditing','get','getItemLabel','_registerBlockAttribute','has','locale','plugins','outdent','IndentBlock','*Indent:*\x20%0','afterInit','outdentBlock','commandName','formatBlock','editor','blockIndent','registerAttributeLabel','_registerLegacyDescription','indentBlock','format'];(function(_0x5acced,_0x582002){const _0x36f211=function(_0x1889ba){while(--_0x1889ba){_0x5acced['push'](_0x5acced['shift']());}};_0x36f211(++_0x582002);}(_0x5820,0x1e1));const _0x36f2=function(_0x5acced,_0x582002){_0x5acced=_0x5acced-0x0;let _0x36f211=_0x5820[_0x5acced];return _0x36f211;};import{Plugin as _0x26bdcf}from'ckeditor5/src/core.js';import{getTranslation as _0x509018}from'../utils/common-translations.js';export default class ot extends _0x26bdcf{[_0x36f2('0xd')](){const _0x5a8d63=this[_0x36f2('0x11')],_0x38da08=_0x5a8d63[_0x36f2('0x9')][_0x36f2('0x4')]('TrackChangesEditing');if(_0x5a8d63[_0x36f2('0x9')][_0x36f2('0x7')](_0x36f2('0x3'))&&(_0x38da08[_0x36f2('0x0')](_0x36f2('0x2')),_0x38da08[_0x36f2('0x0')](_0x36f2('0xa'))),_0x5a8d63[_0x36f2('0x9')][_0x36f2('0x7')](_0x36f2('0xb')))for(const _0x440d8e of[_0x36f2('0x15'),_0x36f2('0xe')])_0x38da08['_enableDefaultAttributesIntegration'](_0x440d8e);const _0x1659e4=_0x5a8d63[_0x36f2('0x8')];_0x38da08[_0x36f2('0x6')]('blockIndent'),_0x38da08[_0x36f2('0x1')][_0x36f2('0x13')](_0x36f2('0x12'),_0x509018(_0x1659e4,_0x36f2('0x17'))),this['_registerLegacyDescription']();}[_0x36f2('0x14')](){const _0x3fd382=this['editor'],_0x3a065f=_0x3fd382[_0x36f2('0x8')],_0x4dc1dd=_0x3fd382['plugins'][_0x36f2('0x4')]('TrackChangesEditing');_0x4dc1dd[_0x36f2('0x1')]['registerDescriptionCallback'](_0x30648e=>{if(_0x36f2('0x10')!=_0x30648e['type'])return;const {data:_0x16d4a9}=_0x30648e;if(!_0x16d4a9)return;if(_0x36f2('0x15')!=_0x16d4a9[_0x36f2('0xf')]&&_0x36f2('0xe')!=_0x16d4a9[_0x36f2('0xf')])return;const _0x14c287=_0x30648e['getItems']()[0x0],_0x3fd84f=_0x4dc1dd[_0x36f2('0x1')][_0x36f2('0x5')](_0x14c287);return _0x36f2('0x15')==_0x16d4a9[_0x36f2('0xf')]?{'type':_0x36f2('0x16'),'content':_0x509018(_0x3a065f,_0x36f2('0xc'),_0x3fd84f)}:'outdentBlock'==_0x16d4a9[_0x36f2('0xf')]?{'type':_0x36f2('0x16'),'content':_0x509018(_0x3a065f,'*Outdent:*\x20%0',_0x3fd84f)}:void 0x0;});}}
@@ -5,8 +5,8 @@
5
5
  /**
6
6
  * @module track-changes/integrations/inputcommand/inputcommand
7
7
  */
8
- import { Plugin } from 'ckeditor5/src/core';
9
- import { Input } from 'ckeditor5/src/typing';
8
+ import { Plugin } from 'ckeditor5/src/core.js';
9
+ import { Input } from 'ckeditor5/src/typing.js';
10
10
  /**
11
11
  * Provides track changes plugin integration for {@link module:typing/inputcommand~InputCommand input command}.
12
12
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x8050=['TrackChangesEditing','get','requires','input','plugins','editor','enableCommand'];(function(_0x413098,_0x805096){var _0x4e8771=function(_0x390e4c){while(--_0x390e4c){_0x413098['push'](_0x413098['shift']());}};_0x4e8771(++_0x805096);}(_0x8050,0x176));var _0x4e87=function(_0x413098,_0x805096){_0x413098=_0x413098-0x0;var _0x4e8771=_0x8050[_0x413098];return _0x4e8771;};import{Plugin as _0x229937}from'ckeditor5/src/core';import{Input as _0x3e509d}from'ckeditor5/src/typing';export default class rt extends _0x229937{static get[_0x4e87('0x6')](){return[_0x3e509d];}['init'](){this[_0x4e87('0x2')][_0x4e87('0x1')][_0x4e87('0x5')](_0x4e87('0x4'))[_0x4e87('0x3')](_0x4e87('0x0'));}}
23
+ var _0x507d=['enableCommand','requires','TrackChangesEditing','init','editor','get','plugins'];(function(_0x57398c,_0x507d02){var _0x2f23cb=function(_0x151f16){while(--_0x151f16){_0x57398c['push'](_0x57398c['shift']());}};_0x2f23cb(++_0x507d02);}(_0x507d,0x7a));var _0x2f23=function(_0x57398c,_0x507d02){_0x57398c=_0x57398c-0x0;var _0x2f23cb=_0x507d[_0x57398c];return _0x2f23cb;};import{Plugin as _0xfa0624}from'ckeditor5/src/core.js';import{Input as _0x134c20}from'ckeditor5/src/typing.js';export default class rt extends _0xfa0624{static get[_0x2f23('0x5')](){return[_0x134c20];}[_0x2f23('0x0')](){this[_0x2f23('0x1')][_0x2f23('0x3')][_0x2f23('0x2')](_0x2f23('0x6'))[_0x2f23('0x4')]('input');}}
@@ -5,7 +5,7 @@
5
5
  /**
6
6
  * @module track-changes/integrations/link
7
7
  */
8
- import { Plugin } from 'ckeditor5/src/core';
8
+ import { Plugin } from 'ckeditor5/src/core.js';
9
9
  /**
10
10
  * Provides track changes plugin integration for link feature.
11
11
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x20f1=['format','get','afterInit','has','_descriptionFactory','unlink','*Set\x20link:*\x20%0','commandName','*Remove\x20link*','registerDescriptionCallback','label','TrackChangesEditing','formatInline','link\x20(','plugins','locale','map','_registerLegacyDescription','_enableDefaultAttributesIntegration','LinkEditing','manualDecorators','registerAttributeLabel','type','key','commands','link','toLowerCase','attribute'];(function(_0x86412a,_0x20f1d8){const _0x374473=function(_0x35b2f8){while(--_0x35b2f8){_0x86412a['push'](_0x86412a['shift']());}};_0x374473(++_0x20f1d8);}(_0x20f1,0x87));const _0x3744=function(_0x86412a,_0x20f1d8){_0x86412a=_0x86412a-0x0;let _0x374473=_0x20f1[_0x86412a];return _0x374473;};import{Plugin as _0x51d6b9}from'ckeditor5/src/core';import{getTranslation as _0xd7ac5d}from'../utils/common-translations';export default class at extends _0x51d6b9{[_0x3744('0x7')](){const _0x56a93b=this['editor'];if(!_0x56a93b[_0x3744('0x13')][_0x3744('0x8')](_0x3744('0x18')))return;const _0x51cafe=_0x56a93b['plugins'][_0x3744('0x6')]('TrackChangesEditing'),_0x505ac3=_0x56a93b[_0x3744('0x1')]['get'](_0x3744('0x2'));_0x51cafe[_0x3744('0x17')]('link',['linkHref',..._0x505ac3[_0x3744('0x19')][_0x3744('0x15')](_0x44c341=>_0x44c341['id'])]),_0x51cafe[_0x3744('0x17')](_0x3744('0xa'));for(const _0x32e8ca of _0x505ac3['manualDecorators'])_0x51cafe[_0x3744('0x9')][_0x3744('0x1a')](_0x32e8ca['id'],_0x3744('0x12')+_0x32e8ca[_0x3744('0xf')][_0x3744('0x3')]()+')');_0x51cafe[_0x3744('0x9')][_0x3744('0xe')](_0x4efef3=>{if(_0x3744('0x4')!=_0x4efef3[_0x3744('0x1b')])return;const {data:_0x1cd606}=_0x4efef3;if(!_0x1cd606||'linkHref'!=_0x1cd606[_0x3744('0x0')])return;const _0xc7f0e0=_0x1cd606['newValue'],_0x4a839f=_0x56a93b['locale'];return{'type':_0x3744('0x5'),'content':null==_0xc7f0e0?_0xd7ac5d(_0x4a839f,_0x3744('0xd')):_0xd7ac5d(_0x4a839f,_0x3744('0xb'),'\x22'+_0xc7f0e0+'\x22')};}),this['_registerLegacyDescription']();}[_0x3744('0x16')](){const _0x41334d=this['editor'],_0x4a9cc8=_0x41334d[_0x3744('0x14')];_0x41334d[_0x3744('0x13')][_0x3744('0x6')](_0x3744('0x10'))[_0x3744('0x9')]['registerDescriptionCallback'](_0x4f870b=>{if(_0x3744('0x11')!=_0x4f870b['type'])return;const {data:_0x30ff88}=_0x4f870b;if(_0x30ff88){if(_0x3744('0x2')==_0x30ff88[_0x3744('0xc')]){const _0x588f35=_0x30ff88['commandParams'][0x0];return{'type':_0x3744('0x5'),'content':_0xd7ac5d(_0x4a9cc8,_0x3744('0xb'),'\x22'+_0x588f35+'\x22')};}return _0x3744('0xa')==_0x30ff88['commandName']?{'type':_0x3744('0x5'),'content':_0xd7ac5d(_0x4a9cc8,_0x3744('0xd'))}:void 0x0;}});}}
23
+ const _0x3337=['plugins','newValue','key','get','link\x20(','label','format','formatInline','TrackChangesEditing','locale','commands','_descriptionFactory','*Remove\x20link*','LinkEditing','*Set\x20link:*\x20%0','commandName','unlink','manualDecorators','afterInit','type','_enableDefaultAttributesIntegration','editor','registerDescriptionCallback','has','_registerLegacyDescription','link'];(function(_0x3da7d8,_0x333765){const _0x4cbf79=function(_0x44c57a){while(--_0x44c57a){_0x3da7d8['push'](_0x3da7d8['shift']());}};_0x4cbf79(++_0x333765);}(_0x3337,0x167));const _0x4cbf=function(_0x3da7d8,_0x333765){_0x3da7d8=_0x3da7d8-0x0;let _0x4cbf79=_0x3337[_0x3da7d8];return _0x4cbf79;};import{Plugin as _0x300acb}from'ckeditor5/src/core.js';import{getTranslation as _0x5d2a9f}from'../utils/common-translations.js';export default class at extends _0x300acb{[_0x4cbf('0x17')](){const _0x3329ef=this[_0x4cbf('0x0')];if(!_0x3329ef['plugins'][_0x4cbf('0x2')](_0x4cbf('0x12')))return;const _0x278ea2=_0x3329ef[_0x4cbf('0x5')][_0x4cbf('0x8')]('TrackChangesEditing'),_0x31d196=_0x3329ef[_0x4cbf('0xf')][_0x4cbf('0x8')](_0x4cbf('0x4'));_0x278ea2[_0x4cbf('0x19')](_0x4cbf('0x4'),['linkHref',..._0x31d196[_0x4cbf('0x16')]['map'](_0x1d6a8b=>_0x1d6a8b['id'])]),_0x278ea2[_0x4cbf('0x19')](_0x4cbf('0x15'));for(const _0x2b29b8 of _0x31d196[_0x4cbf('0x16')])_0x278ea2[_0x4cbf('0x10')]['registerAttributeLabel'](_0x2b29b8['id'],_0x4cbf('0x9')+_0x2b29b8[_0x4cbf('0xa')]['toLowerCase']()+')');_0x278ea2[_0x4cbf('0x10')][_0x4cbf('0x1')](_0x44f060=>{if('attribute'!=_0x44f060[_0x4cbf('0x18')])return;const {data:_0x4d9b6b}=_0x44f060;if(!_0x4d9b6b||'linkHref'!=_0x4d9b6b[_0x4cbf('0x7')])return;const _0x111f7a=_0x4d9b6b[_0x4cbf('0x6')],_0x5b2484=_0x3329ef[_0x4cbf('0xe')];return{'type':_0x4cbf('0xb'),'content':null==_0x111f7a?_0x5d2a9f(_0x5b2484,_0x4cbf('0x11')):_0x5d2a9f(_0x5b2484,_0x4cbf('0x13'),'\x22'+_0x111f7a+'\x22')};}),this[_0x4cbf('0x3')]();}[_0x4cbf('0x3')](){const _0xdf50a8=this[_0x4cbf('0x0')],_0x4aceba=_0xdf50a8[_0x4cbf('0xe')];_0xdf50a8['plugins']['get'](_0x4cbf('0xd'))[_0x4cbf('0x10')]['registerDescriptionCallback'](_0x5447fa=>{if(_0x4cbf('0xc')!=_0x5447fa[_0x4cbf('0x18')])return;const {data:_0x47aff2}=_0x5447fa;if(_0x47aff2){if(_0x4cbf('0x4')==_0x47aff2[_0x4cbf('0x14')]){const _0xbb840d=_0x47aff2['commandParams'][0x0];return{'type':_0x4cbf('0xb'),'content':_0x5d2a9f(_0x4aceba,_0x4cbf('0x13'),'\x22'+_0xbb840d+'\x22')};}return'unlink'==_0x47aff2['commandName']?{'type':_0x4cbf('0xb'),'content':_0x5d2a9f(_0x4aceba,_0x4cbf('0x11'))}:void 0x0;}});}}
@@ -5,7 +5,7 @@
5
5
  /**
6
6
  * @module track-changes/integrations/list
7
7
  */
8
- import { Plugin } from 'ckeditor5/src/core';
8
+ import { Plugin } from 'ckeditor5/src/core.js';
9
9
  /**
10
10
  * Provides track changes plugin integration for list feature.
11
11
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1368=['registerElementLabel','List','findIndex','add','commandParams','commandName','before','TodoListEditing','ListEditing','commands','value','bulletedList','_selectedElements','format','push','todoListChecked','locale','ELEMENT_LIST_ITEM','enableCommand','type','checkTodoList','listItem','createPositionAt','from','filter','blockName','selection','registerDescriptionCallback','change','has','listIndent','getSelectedBlocks','afterInit','get','forceValue','createRange','todoList','ELEMENT_NUMBERED_LIST','todo','*Indent:*\x20%0','checkChild','_descriptionFactory','execute','ELEMENT_TODO_LIST','previousSibling','paragraph','markBlockFormat','length','name','*Uncheck\x20item*','TrackChangesEditing','indentList','model','schema','numberedList','*Change\x20to:*\x20%0','document','listType','getAttribute','nextSibling','ELEMENT_BULLETED_LIST','replace','element','plugins','slice','outdentList'];(function(_0x449649,_0x136814){const _0x48d9d4=function(_0x541525){while(--_0x541525){_0x449649['push'](_0x449649['shift']());}};_0x48d9d4(++_0x136814);}(_0x1368,0x184));const _0x48d9=function(_0x449649,_0x136814){_0x449649=_0x449649-0x0;let _0x48d9d4=_0x1368[_0x449649];return _0x48d9d4;};import{Plugin as _0xe11f95}from'ckeditor5/src/core';import{getTranslation as _0x5cf170}from'../utils/common-translations';export default class ct extends _0xe11f95{[_0x48d9('0x28')](){const _0x35dfd3=this['editor'],_0x29cbc6=_0x35dfd3[_0x48d9('0x18')];if(!_0x35dfd3[_0x48d9('0x5')][_0x48d9('0x25')](_0x48d9('0x10')))return;const _0x448417=_0x35dfd3[_0x48d9('0x5')][_0x48d9('0x29')](_0x48d9('0x3a')),_0x27a4e4=_0x35dfd3[_0x48d9('0x5')][_0x48d9('0x25')](_0x48d9('0xf'));function _0x5ca681(_0x172071){return()=>{const _0x5e3cd0=_0x35dfd3[_0x48d9('0x3c')][_0x48d9('0x40')][_0x48d9('0x22')],_0x3a7535=_0x35dfd3[_0x48d9('0x11')][_0x48d9('0x29')](_0x172071);if(_0x3a7535[_0x48d9('0x12')])return void _0x35dfd3[_0x48d9('0x32')](_0x48d9('0x35'),{});const _0x5e7fa6=_0x172071[_0x48d9('0x6')](0x0,-0x4),_0x2bef23=function(_0x416f5f,_0x2eff58,_0xdf46f8){let _0x4328bf=Array[_0x48d9('0x1f')](_0x416f5f)['filter'](_0x20c09d=>function(_0x287e4b,_0x304676){return _0x304676[_0x48d9('0x30')](_0x287e4b['parent'],_0x48d9('0x1d'))&&!_0x304676['isObject'](_0x287e4b);}(_0x20c09d,_0xdf46f8));_0x4328bf=_0x4328bf['filter'](_0x3c3c1d=>!_0x3c3c1d['is']('element',_0x48d9('0x1d'))||_0x3c3c1d[_0x48d9('0x0')](_0x48d9('0x41'))!=_0x2eff58);const _0xdaf567=new Set();for(const _0x283c42 of _0x4328bf)_0x283c42['is'](_0x48d9('0x4'),_0x48d9('0x1d'))?_0xdaf567[_0x48d9('0xb')](ne(_0x283c42)):_0xdaf567[_0x48d9('0xb')](_0x283c42);return Array[_0x48d9('0x1f')](_0xdaf567);}(_0x5e3cd0['getSelectedBlocks'](),_0x5e7fa6,_0x35dfd3[_0x48d9('0x3c')][_0x48d9('0x3d')]);_0x35dfd3[_0x48d9('0x3c')][_0x48d9('0x24')](()=>{for(const _0x368c01 of _0x2bef23)_0x448417[_0x48d9('0x36')](_0x368c01,{'commandName':_0x172071,'commandParams':[{'forceValue':!_0x3a7535['value']}],'formatGroupId':_0x48d9('0x21')},oe(_0x368c01));});};}function _0x5eb794(_0x5ae943){return()=>{const _0x517c93=function(_0x2e5a04){let _0x1c16bd=Array[_0x48d9('0x1f')](_0x2e5a04);const _0x2aec2a=_0x1c16bd[_0x48d9('0xa')](_0x119a3b=>'listItem'!=_0x119a3b[_0x48d9('0x38')]);return _0x2aec2a>-0x1&&(_0x1c16bd=_0x1c16bd[_0x48d9('0x6')](0x0,_0x2aec2a)),_0x1c16bd;}(_0x35dfd3[_0x48d9('0x3c')]['document'][_0x48d9('0x22')][_0x48d9('0x27')]()),_0x266378=_0x35dfd3[_0x48d9('0x3c')][_0x48d9('0x2b')](_0x35dfd3['model'][_0x48d9('0x1e')](_0x517c93[0x0],_0x48d9('0xe')),_0x35dfd3[_0x48d9('0x3c')][_0x48d9('0x1e')](_0x517c93[_0x517c93[_0x48d9('0x37')]-0x1],'end'));_0x35dfd3[_0x48d9('0x3c')]['change'](()=>{_0x448417['markBlockFormat'](_0x266378,{'commandName':_0x5ae943,'commandParams':[],'formatGroupId':_0x48d9('0x26')},function(_0x5180b3){const _0x5f56cc=new Set();for(const _0x18b46d of _0x5180b3){let _0x3e05b1=_0x18b46d[_0x48d9('0x1')];for(;_0x3e05b1&&_0x3e05b1[_0x48d9('0x0')](_0x48d9('0x26'))>_0x18b46d[_0x48d9('0x0')](_0x48d9('0x26'));)_0x5f56cc[_0x48d9('0xb')](_0x3e05b1),_0x3e05b1=_0x3e05b1[_0x48d9('0x1')];}return Array['from'](_0x5f56cc);}(_0x517c93));});};}_0x448417[_0x48d9('0x1a')](_0x48d9('0x3e'),_0x5ca681('numberedList')),_0x448417[_0x48d9('0x1a')]('bulletedList',_0x5ca681(_0x48d9('0x13'))),_0x27a4e4&&_0x448417['enableCommand'](_0x48d9('0x2c'),_0x5ca681(_0x48d9('0x2c'))),_0x448417[_0x48d9('0x1a')](_0x48d9('0x3b'),_0x5eb794(_0x48d9('0x3b'))),_0x448417['enableCommand']('outdentList',_0x5eb794(_0x48d9('0x7'))),_0x27a4e4&&_0x448417[_0x48d9('0x1a')](_0x48d9('0x1c'),()=>{const _0x3be1e4=_0x35dfd3['commands']['get'](_0x48d9('0x1c')),_0x239216=Array[_0x48d9('0x1f')](_0x3be1e4[_0x48d9('0x14')]);_0x239216[_0x48d9('0x20')](_0x30f51b=>_0x30f51b['getAttribute'](_0x48d9('0x17'))!=_0x3be1e4[_0x48d9('0x12')]),_0x35dfd3[_0x48d9('0x3c')][_0x48d9('0x24')](()=>{for(const _0x3b093f of _0x239216)_0x448417[_0x48d9('0x36')](_0x3b093f,{'commandName':_0x48d9('0x1c'),'commandParams':[{'forceValue':!_0x3be1e4[_0x48d9('0x12')]}]});});}),_0x448417['_descriptionFactory'][_0x48d9('0x8')](_0x48d9('0x1d'),_0x49bd30=>_0x5cf170(_0x29cbc6,_0x48d9('0x19'),_0x49bd30)),_0x448417[_0x48d9('0x31')][_0x48d9('0x23')](_0x2b2fd0=>{if('formatBlock'!=_0x2b2fd0[_0x48d9('0x1b')]&&'formatInline'!=_0x2b2fd0[_0x48d9('0x1b')])return;const {data:_0x22cff8}=_0x2b2fd0;if(_0x22cff8){if('numberedList'==_0x22cff8[_0x48d9('0xd')]||_0x48d9('0x13')==_0x22cff8[_0x48d9('0xd')]||_0x48d9('0x2c')==_0x22cff8['commandName'])switch(_0x22cff8[_0x48d9('0xd')][_0x48d9('0x3')](_0x48d9('0x9'),'')){case'bulleted':return _0x508c0e(_0x5cf170(_0x29cbc6,_0x48d9('0x2')));case'numbered':return _0x508c0e(_0x5cf170(_0x29cbc6,_0x48d9('0x2d')));case _0x48d9('0x2e'):return _0x508c0e(_0x5cf170(_0x29cbc6,_0x48d9('0x33')));}if(_0x48d9('0x3b')==_0x22cff8['commandName'])return{'type':_0x48d9('0x15'),'content':_0x5cf170(_0x29cbc6,_0x48d9('0x2f'),_0x5cf170(_0x29cbc6,'ELEMENT_LIST_ITEM'))};if(_0x48d9('0x7')==_0x22cff8[_0x48d9('0xd')])return{'type':_0x48d9('0x15'),'content':_0x5cf170(_0x29cbc6,'*Outdent:*\x20%0',_0x5cf170(_0x29cbc6,_0x48d9('0x19')))};if(_0x48d9('0x1c')==_0x22cff8[_0x48d9('0xd')])return _0x22cff8[_0x48d9('0xc')][0x0][_0x48d9('0x2a')]?{'type':_0x48d9('0x15'),'content':_0x5cf170(_0x29cbc6,'*Check\x20item*')}:{'type':_0x48d9('0x15'),'content':_0x5cf170(_0x29cbc6,_0x48d9('0x39'))};}function _0x508c0e(_0x13af32){return{'type':_0x48d9('0x15'),'content':_0x5cf170(_0x29cbc6,_0x48d9('0x3f'),_0x13af32)};}});}}function ne(_0x4fd5d1){const _0x355b35=_0x4fd5d1[_0x48d9('0x0')](_0x48d9('0x26'));if(0x0==_0x355b35)return _0x4fd5d1;let _0x3cb97d=_0x4fd5d1;for(;_0x4fd5d1[_0x48d9('0x34')]&&_0x4fd5d1[_0x48d9('0x34')]['is'](_0x48d9('0x4'),_0x48d9('0x1d'));){const _0x500f15=_0x4fd5d1[_0x48d9('0x34')][_0x48d9('0x0')](_0x48d9('0x26'));if(_0x500f15==_0x355b35)_0x3cb97d=_0x4fd5d1[_0x48d9('0x34')];else{if(_0x500f15<_0x355b35)break;}_0x4fd5d1=_0x4fd5d1[_0x48d9('0x34')];}return _0x3cb97d;}function oe(_0x4202f9){const _0x311875=[];if(_0x4202f9['is'](_0x48d9('0x4'),_0x48d9('0x1d'))&&_0x4202f9[_0x48d9('0x0')](_0x48d9('0x26'))>0x0){let _0x507937=_0x4202f9['nextSibling'];for(;_0x507937&&_0x48d9('0x1d')==_0x507937[_0x48d9('0x38')]&&_0x507937[_0x48d9('0x0')](_0x48d9('0x26'))==_0x4202f9['getAttribute'](_0x48d9('0x26'));)_0x311875[_0x48d9('0x16')](_0x507937),_0x507937=_0x507937[_0x48d9('0x1')];}return _0x311875;}
23
+ const _0xef00=['plugins','type','listItem','afterInit','markBlockFormat','name','locale','forceValue','formatInline','add','indentList','end','createRange','has','ListEditing','commandParams','ELEMENT_BULLETED_LIST','*Uncheck\x20item*','formatBlock','_descriptionFactory','before','createPositionAt','checkChild','editor','*Check\x20item*','nextSibling','listType','format','commands','todoList','commandName','bulletedList','from','schema','get','previousSibling','blockName','slice','registerDescriptionCallback','checkTodoList','model','length','listIndent','element','getSelectedBlocks','ELEMENT_TODO_LIST','paragraph','ELEMENT_NUMBERED_LIST','parent','document','numberedList','value','selection','numbered','*Indent:*\x20%0','*Change\x20to:*\x20%0','enableCommand','List','change','execute','ELEMENT_LIST_ITEM','registerElementLabel','outdentList','TodoListEditing','bulleted','todoListChecked','getAttribute','filter','todo'];(function(_0x17bd15,_0xef00eb){const _0x374a4d=function(_0x30d05a){while(--_0x30d05a){_0x17bd15['push'](_0x17bd15['shift']());}};_0x374a4d(++_0xef00eb);}(_0xef00,0xc7));const _0x374a=function(_0x17bd15,_0xef00eb){_0x17bd15=_0x17bd15-0x0;let _0x374a4d=_0xef00[_0x17bd15];return _0x374a4d;};import{Plugin as _0x3051ba}from'ckeditor5/src/core.js';import{getTranslation as _0x3b5c94}from'../utils/common-translations.js';export default class ct extends _0x3051ba{[_0x374a('0xb')](){const _0x347400=this[_0x374a('0x1f')],_0x12f48e=_0x347400[_0x374a('0xe')];if(!_0x347400[_0x374a('0x8')][_0x374a('0x15')](_0x374a('0x16')))return;const _0x389e46=_0x347400[_0x374a('0x8')]['get']('TrackChangesEditing'),_0x5052e6=_0x347400['plugins'][_0x374a('0x15')](_0x374a('0x2'));function _0x130e37(_0x5bc96e){return()=>{const _0x9c7e6=_0x347400[_0x374a('0x30')][_0x374a('0x39')][_0x374a('0x3c')],_0x263f57=_0x347400[_0x374a('0x24')][_0x374a('0x2a')](_0x5bc96e);if(_0x263f57[_0x374a('0x3b')])return void _0x347400[_0x374a('0x43')](_0x374a('0x36'),{});const _0xe74ae9=_0x5bc96e[_0x374a('0x2d')](0x0,-0x4),_0x29a2b2=function(_0x70e87f,_0xfbb22e,_0x312704){let _0x4e72c6=Array[_0x374a('0x28')](_0x70e87f)[_0x374a('0x6')](_0x27ecf9=>function(_0x2c60ea,_0x5295bd){return _0x5295bd[_0x374a('0x1e')](_0x2c60ea[_0x374a('0x38')],_0x374a('0xa'))&&!_0x5295bd['isObject'](_0x2c60ea);}(_0x27ecf9,_0x312704));_0x4e72c6=_0x4e72c6[_0x374a('0x6')](_0x53b0fc=>!_0x53b0fc['is']('element',_0x374a('0xa'))||_0x53b0fc[_0x374a('0x5')](_0x374a('0x22'))!=_0xfbb22e);const _0x23d611=new Set();for(const _0x3f8450 of _0x4e72c6)_0x3f8450['is'](_0x374a('0x33'),'listItem')?_0x23d611[_0x374a('0x11')](ne(_0x3f8450)):_0x23d611['add'](_0x3f8450);return Array[_0x374a('0x28')](_0x23d611);}(_0x9c7e6[_0x374a('0x34')](),_0xe74ae9,_0x347400[_0x374a('0x30')][_0x374a('0x29')]);_0x347400[_0x374a('0x30')][_0x374a('0x42')](()=>{for(const _0x285ab6 of _0x29a2b2)_0x389e46[_0x374a('0xc')](_0x285ab6,{'commandName':_0x5bc96e,'commandParams':[{'forceValue':!_0x263f57['value']}],'formatGroupId':_0x374a('0x2c')},oe(_0x285ab6));});};}function _0x3c5e4e(_0x4ff378){return()=>{const _0x55e19d=function(_0x258c87){let _0x2a12e4=Array[_0x374a('0x28')](_0x258c87);const _0x308c3c=_0x2a12e4['findIndex'](_0x5f8f80=>_0x374a('0xa')!=_0x5f8f80[_0x374a('0xd')]);return _0x308c3c>-0x1&&(_0x2a12e4=_0x2a12e4[_0x374a('0x2d')](0x0,_0x308c3c)),_0x2a12e4;}(_0x347400[_0x374a('0x30')]['document'][_0x374a('0x3c')][_0x374a('0x34')]()),_0x4e417b=_0x347400[_0x374a('0x30')][_0x374a('0x14')](_0x347400[_0x374a('0x30')]['createPositionAt'](_0x55e19d[0x0],_0x374a('0x1c')),_0x347400[_0x374a('0x30')][_0x374a('0x1d')](_0x55e19d[_0x55e19d[_0x374a('0x31')]-0x1],_0x374a('0x13')));_0x347400[_0x374a('0x30')][_0x374a('0x42')](()=>{_0x389e46['markBlockFormat'](_0x4e417b,{'commandName':_0x4ff378,'commandParams':[],'formatGroupId':_0x374a('0x32')},function(_0x205328){const _0x6c8cdd=new Set();for(const _0x3bdea2 of _0x205328){let _0x2104f2=_0x3bdea2[_0x374a('0x21')];for(;_0x2104f2&&_0x2104f2['getAttribute'](_0x374a('0x32'))>_0x3bdea2[_0x374a('0x5')](_0x374a('0x32'));)_0x6c8cdd[_0x374a('0x11')](_0x2104f2),_0x2104f2=_0x2104f2[_0x374a('0x21')];}return Array[_0x374a('0x28')](_0x6c8cdd);}(_0x55e19d));});};}_0x389e46[_0x374a('0x40')](_0x374a('0x3a'),_0x130e37(_0x374a('0x3a'))),_0x389e46['enableCommand'](_0x374a('0x27'),_0x130e37('bulletedList')),_0x5052e6&&_0x389e46['enableCommand'](_0x374a('0x25'),_0x130e37('todoList')),_0x389e46[_0x374a('0x40')](_0x374a('0x12'),_0x3c5e4e(_0x374a('0x12'))),_0x389e46[_0x374a('0x40')]('outdentList',_0x3c5e4e(_0x374a('0x1'))),_0x5052e6&&_0x389e46[_0x374a('0x40')](_0x374a('0x2f'),()=>{const _0x2d643a=_0x347400['commands'][_0x374a('0x2a')](_0x374a('0x2f')),_0x1b1605=Array[_0x374a('0x28')](_0x2d643a['_selectedElements']);_0x1b1605[_0x374a('0x6')](_0x41e3e7=>_0x41e3e7['getAttribute'](_0x374a('0x4'))!=_0x2d643a[_0x374a('0x3b')]),_0x347400['model']['change'](()=>{for(const _0x2c2a65 of _0x1b1605)_0x389e46[_0x374a('0xc')](_0x2c2a65,{'commandName':_0x374a('0x2f'),'commandParams':[{'forceValue':!_0x2d643a['value']}]});});}),_0x389e46[_0x374a('0x1b')][_0x374a('0x0')](_0x374a('0xa'),_0x177a5a=>_0x3b5c94(_0x12f48e,'ELEMENT_LIST_ITEM',_0x177a5a)),_0x389e46[_0x374a('0x1b')][_0x374a('0x2e')](_0x3ec14d=>{if(_0x374a('0x1a')!=_0x3ec14d[_0x374a('0x9')]&&_0x374a('0x10')!=_0x3ec14d[_0x374a('0x9')])return;const {data:_0x5bb523}=_0x3ec14d;if(_0x5bb523){if(_0x374a('0x3a')==_0x5bb523[_0x374a('0x26')]||_0x374a('0x27')==_0x5bb523[_0x374a('0x26')]||_0x374a('0x25')==_0x5bb523[_0x374a('0x26')])switch(_0x5bb523[_0x374a('0x26')]['replace'](_0x374a('0x41'),'')){case _0x374a('0x3'):return _0x5556ab(_0x3b5c94(_0x12f48e,_0x374a('0x18')));case _0x374a('0x3d'):return _0x5556ab(_0x3b5c94(_0x12f48e,_0x374a('0x37')));case _0x374a('0x7'):return _0x5556ab(_0x3b5c94(_0x12f48e,_0x374a('0x35')));}if(_0x374a('0x12')==_0x5bb523[_0x374a('0x26')])return{'type':_0x374a('0x23'),'content':_0x3b5c94(_0x12f48e,_0x374a('0x3e'),_0x3b5c94(_0x12f48e,_0x374a('0x44')))};if(_0x374a('0x1')==_0x5bb523[_0x374a('0x26')])return{'type':_0x374a('0x23'),'content':_0x3b5c94(_0x12f48e,'*Outdent:*\x20%0',_0x3b5c94(_0x12f48e,_0x374a('0x44')))};if('checkTodoList'==_0x5bb523[_0x374a('0x26')])return _0x5bb523[_0x374a('0x17')][0x0][_0x374a('0xf')]?{'type':'format','content':_0x3b5c94(_0x12f48e,_0x374a('0x20'))}:{'type':'format','content':_0x3b5c94(_0x12f48e,_0x374a('0x19'))};}function _0x5556ab(_0x5b8e2){return{'type':_0x374a('0x23'),'content':_0x3b5c94(_0x12f48e,_0x374a('0x3f'),_0x5b8e2)};}});}}function ne(_0x36fe3b){const _0x1f94ad=_0x36fe3b[_0x374a('0x5')](_0x374a('0x32'));if(0x0==_0x1f94ad)return _0x36fe3b;let _0x373a47=_0x36fe3b;for(;_0x36fe3b['previousSibling']&&_0x36fe3b['previousSibling']['is'](_0x374a('0x33'),'listItem');){const _0x373cd1=_0x36fe3b[_0x374a('0x2b')]['getAttribute'](_0x374a('0x32'));if(_0x373cd1==_0x1f94ad)_0x373a47=_0x36fe3b[_0x374a('0x2b')];else{if(_0x373cd1<_0x1f94ad)break;}_0x36fe3b=_0x36fe3b[_0x374a('0x2b')];}return _0x373a47;}function oe(_0x588009){const _0x156900=[];if(_0x588009['is']('element',_0x374a('0xa'))&&_0x588009['getAttribute'](_0x374a('0x32'))>0x0){let _0x3bd5de=_0x588009[_0x374a('0x21')];for(;_0x3bd5de&&'listItem'==_0x3bd5de[_0x374a('0xd')]&&_0x3bd5de[_0x374a('0x5')](_0x374a('0x32'))==_0x588009[_0x374a('0x5')](_0x374a('0x32'));)_0x156900['push'](_0x3bd5de),_0x3bd5de=_0x3bd5de[_0x374a('0x21')];}return _0x156900;}
@@ -5,9 +5,9 @@
5
5
  /**
6
6
  * @module track-changes/integrations/listproperties
7
7
  */
8
- import { Plugin } from 'ckeditor5/src/core';
9
- import type { Description } from '../suggestiondescriptionfactory';
10
- import type Suggestion from '../suggestion';
8
+ import { Plugin } from 'ckeditor5/src/core.js';
9
+ import type { Description } from '../suggestiondescriptionfactory.js';
10
+ import type Suggestion from '../suggestion.js';
11
11
  /**
12
12
  * Provides track changes plugin integration for list properties feature.
13
13
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x776b=['registerDescriptionCallback','ListUtils','element','listType','_getSuggestionBlocks','listStart','handleListReversedCommand','enableCommand','afterInit','model','getLastPosition','formatBlock','_LIST_','*Format:*\x20set\x20order\x20to\x20reversed','parent','getListTypeFromListStyleType','from','getSiblingNodes','before','bind','has','_getSuggestionBlocksForListStyle','commandName','createRange','commandParams','selection','listItem','createPositionAt','unshift','_descriptionFactory','*Format:*\x20set\x20start\x20index\x20to\x20%0','list.properties','TrackChangesEditing','toUpperCase','type','document','push','handleListStyleCommand','filter','ListPropertiesEditing','forward','listStyle','backward','replace','get','plugins','reversed','length','handleDescriptions','styles','numbered','flat','*Format:*\x20set\x20order\x20to\x20regular','_getTranslationKeyForListStyle','handleListStartCommand','getFirstPosition','listReversed','getSelectedBlocks','startIndex','map','change','format','markMultiRangeBlockFormat','editor','getAttribute'];(function(_0x39b6a6,_0x776b08){const _0x5d7e82=function(_0x1e61e3){while(--_0x1e61e3){_0x39b6a6['push'](_0x39b6a6['shift']());}};_0x5d7e82(++_0x776b08);}(_0x776b,0x156));const _0x5d7e=function(_0x39b6a6,_0x776b08){_0x39b6a6=_0x39b6a6-0x0;let _0x5d7e82=_0x776b[_0x39b6a6];return _0x5d7e82;};import{Plugin as _0x38f0f0}from'ckeditor5/src/core';import{getTranslation as _0x15bd81}from'../utils/common-translations';export default class ut extends _0x38f0f0{[_0x5d7e('0x38')](){if(!this[_0x5d7e('0x2e')]['plugins'][_0x5d7e('0x3')](_0x5d7e('0x16')))return;const _0x1ce686=this['editor']['config'][_0x5d7e('0x1b')](_0x5d7e('0xe')),_0x5b4c4e=this[_0x5d7e('0x2e')][_0x5d7e('0x1c')][_0x5d7e('0x1b')]('TrackChangesEditing');_0x1ce686[_0x5d7e('0x20')]&&_0x5b4c4e[_0x5d7e('0x37')]('listStyle',this[_0x5d7e('0x14')][_0x5d7e('0x2')](this)),_0x1ce686['reversed']&&_0x5b4c4e[_0x5d7e('0x37')](_0x5d7e('0x27'),this['handleListReversedCommand']['bind'](this)),_0x1ce686[_0x5d7e('0x29')]&&_0x5b4c4e['enableCommand']('listStart',this[_0x5d7e('0x25')]['bind'](this)),_0x5b4c4e[_0x5d7e('0xc')][_0x5d7e('0x30')](this['handleDescriptions']['bind'](this));}[_0x5d7e('0x14')](_0x2825be,_0x45d7d5={}){const _0x1bb7f0=this[_0x5d7e('0x2e')][_0x5d7e('0x1c')][_0x5d7e('0x1b')](_0x5d7e('0xf')),_0x3b1c65=this[_0x5d7e('0x4')]();this['editor'][_0x5d7e('0x39')][_0x5d7e('0x2b')](()=>{_0x1bb7f0[_0x5d7e('0x2d')](_0x3b1c65,{'commandName':_0x5d7e('0x18'),'commandParams':[{'type':_0x45d7d5['type']}],'formatGroupId':_0x5d7e('0x18')});});}[_0x5d7e('0x36')](_0x3c34c8,_0x4bff58={}){const _0xd91cdc=this['editor']['plugins'][_0x5d7e('0x1b')](_0x5d7e('0xf')),_0x5745ba=this[_0x5d7e('0x34')](_0x101291=>_0x101291['is'](_0x5d7e('0x32'),'listItem')&&_0x5d7e('0x21')===_0x101291[_0x5d7e('0x2f')](_0x5d7e('0x33')));if(_0x5745ba[_0x5d7e('0x1e')]<0x1)return;const _0x3766e2=_0x5745ba[_0x5d7e('0x2a')](_0x5f0222=>this['editor'][_0x5d7e('0x39')][_0x5d7e('0x6')](this[_0x5d7e('0x2e')]['model'][_0x5d7e('0xa')](_0x5f0222,_0x5d7e('0x1')),this[_0x5d7e('0x2e')][_0x5d7e('0x39')][_0x5d7e('0xa')](_0x5f0222,0x0)));this['editor'][_0x5d7e('0x39')][_0x5d7e('0x2b')](()=>{_0xd91cdc[_0x5d7e('0x2d')](_0x3766e2,{'commandName':'listReversed','commandParams':[{'reversed':_0x4bff58['reversed']}],'formatGroupId':_0x5d7e('0x27')});});}[_0x5d7e('0x25')](_0x1098c5,_0xe5e5c1={}){const _0x336498=this[_0x5d7e('0x2e')][_0x5d7e('0x1c')][_0x5d7e('0x1b')](_0x5d7e('0xf')),_0x692404=this[_0x5d7e('0x34')](_0x488dbd=>_0x488dbd['is'](_0x5d7e('0x32'),'listItem')&&_0x5d7e('0x21')===_0x488dbd[_0x5d7e('0x2f')]('listType'));if(_0x692404[_0x5d7e('0x1e')]<0x1)return;const _0x56b20a=_0x692404[_0x5d7e('0x2a')](_0x2072dd=>this[_0x5d7e('0x2e')][_0x5d7e('0x39')][_0x5d7e('0x6')](this['editor'][_0x5d7e('0x39')]['createPositionAt'](_0x2072dd,'before'),this[_0x5d7e('0x2e')][_0x5d7e('0x39')]['createPositionAt'](_0x2072dd,0x0)));this[_0x5d7e('0x2e')][_0x5d7e('0x39')][_0x5d7e('0x2b')](()=>{_0x336498[_0x5d7e('0x2d')](_0x56b20a,{'commandName':_0x5d7e('0x35'),'commandParams':[{'startIndex':_0xe5e5c1[_0x5d7e('0x29')]}],'formatGroupId':'listStart'});});}[_0x5d7e('0x1f')](_0x560093){if(_0x5d7e('0x3b')!=_0x560093[_0x5d7e('0x11')]&&'formatInline'!=_0x560093[_0x5d7e('0x11')])return;const _0x1c7969=this[_0x5d7e('0x2e')]['locale'],{data:_0x37839b}=_0x560093;if(!_0x37839b)return;let _0x365919,_0x165712;switch(_0x37839b[_0x5d7e('0x5')]){case'listStyle':_0x365919='*Change\x20to:*\x20%0',_0x165712={'type':_0x5d7e('0x2c'),'content':_0x15bd81(_0x1c7969,_0x365919,_0x15bd81(_0x1c7969,this[_0x5d7e('0x24')](_0x37839b['commandParams'][0x0][_0x5d7e('0x11')])))};break;case _0x5d7e('0x27'):_0x365919=_0x37839b[_0x5d7e('0x7')][0x0][_0x5d7e('0x1d')]?_0x5d7e('0x3d'):_0x5d7e('0x23'),_0x165712={'type':_0x5d7e('0x2c'),'content':_0x15bd81(_0x1c7969,_0x365919)};break;case _0x5d7e('0x35'):_0x365919=_0x5d7e('0xd'),_0x165712={'type':_0x5d7e('0x2c'),'content':_0x15bd81(_0x1c7969,_0x365919,_0x37839b[_0x5d7e('0x7')][0x0][_0x5d7e('0x29')])};}return _0x165712;}[_0x5d7e('0x4')](){var _0x8a2c84,_0x1e5411,_0x2fa93c,_0x4f8e98;const _0xebcb77=this[_0x5d7e('0x2e')][_0x5d7e('0x1c')][_0x5d7e('0x1b')]('ListUtils');let _0xf412c1=Array[_0x5d7e('0x40')](this[_0x5d7e('0x2e')][_0x5d7e('0x39')][_0x5d7e('0x12')][_0x5d7e('0x8')][_0x5d7e('0x28')]());return(null===(_0x8a2c84=_0xf412c1[0x0])||void 0x0===_0x8a2c84?void 0x0:_0x8a2c84['is'](_0x5d7e('0x32'),_0x5d7e('0x9')))&&_0xf412c1[_0x5d7e('0xb')](..._0xebcb77[_0x5d7e('0x0')](this[_0x5d7e('0x2e')][_0x5d7e('0x39')][_0x5d7e('0x12')][_0x5d7e('0x8')][_0x5d7e('0x26')](),_0x5d7e('0x19'))),(null===(_0x1e5411=_0xf412c1[_0xf412c1[_0x5d7e('0x1e')]-0x1])||void 0x0===_0x1e5411?void 0x0:_0x1e5411['is'](_0x5d7e('0x32'),'listItem'))&&_0xf412c1[_0x5d7e('0x13')](..._0xebcb77['getSiblingNodes'](this[_0x5d7e('0x2e')][_0x5d7e('0x39')][_0x5d7e('0x12')]['selection'][_0x5d7e('0x3a')](),_0x5d7e('0x17'))),_0xf412c1=[...new Set(_0xf412c1)],(null===(_0x4f8e98=null===(_0x2fa93c=this['editor'][_0x5d7e('0x39')][_0x5d7e('0x12')][_0x5d7e('0x8')][_0x5d7e('0x26')]())||void 0x0===_0x2fa93c?void 0x0:_0x2fa93c[_0x5d7e('0x3e')])||void 0x0===_0x4f8e98?void 0x0:_0x4f8e98['is'](_0x5d7e('0x32'),_0x5d7e('0x9')))&&(_0xf412c1=_0xf412c1[_0x5d7e('0x15')](_0x57d3ea=>_0x57d3ea['is'](_0x5d7e('0x32'),_0x5d7e('0x9')))),_0xf412c1;}[_0x5d7e('0x34')](_0x6c948d){const _0x51f38a=this[_0x5d7e('0x2e')][_0x5d7e('0x1c')][_0x5d7e('0x1b')](_0x5d7e('0x31'));let _0x52374a=Array[_0x5d7e('0x40')](this['editor'][_0x5d7e('0x39')]['document'][_0x5d7e('0x8')]['getSelectedBlocks']())[_0x5d7e('0x15')](_0x6c948d)['map'](_0x3ce0c2=>{const _0x14a221=this['editor'][_0x5d7e('0x39')][_0x5d7e('0xa')](_0x3ce0c2,0x0);return[..._0x51f38a['getSiblingNodes'](_0x14a221,'backward'),..._0x51f38a['getSiblingNodes'](_0x14a221,_0x5d7e('0x17'))];})[_0x5d7e('0x22')]();return _0x52374a=[...new Set(_0x52374a)],_0x52374a;}[_0x5d7e('0x24')](_0x30e785){return'ELEMENT_'+this[_0x5d7e('0x2e')]['plugins'][_0x5d7e('0x1b')](_0x5d7e('0x31'))[_0x5d7e('0x3f')](_0x30e785)[_0x5d7e('0x10')]()+_0x5d7e('0x3c')+_0x30e785[_0x5d7e('0x10')]()[_0x5d7e('0x1a')](/-/g,'_');}}
23
+ const _0x3f94=['has','type','replace','formatBlock','*Format:*\x20set\x20order\x20to\x20regular','createRange','getAttribute','selection','listType','document','toUpperCase','reversed','handleListStartCommand','styles','enableCommand','format','map','getFirstPosition','*Format:*\x20set\x20start\x20index\x20to\x20%0','before','startIndex','markMultiRangeBlockFormat','handleListStyleCommand','getSiblingNodes','length','_getSuggestionBlocks','handleListReversedCommand','getListTypeFromListStyleType','from','locale','commandName','ListUtils','_getTranslationKeyForListStyle','change','getLastPosition','*Change\x20to:*\x20%0','commandParams','listReversed','filter','getSelectedBlocks','listStyle','numbered','listItem','editor','_descriptionFactory','list.properties','config','TrackChangesEditing','model','ListPropertiesEditing','forward','parent','get','registerDescriptionCallback','element','listStart','plugins','handleDescriptions','createPositionAt','push','bind','backward'];(function(_0x1b597d,_0x3f94cb){const _0x517f08=function(_0x1a6f95){while(--_0x1a6f95){_0x1b597d['push'](_0x1b597d['shift']());}};_0x517f08(++_0x3f94cb);}(_0x3f94,0xd6));const _0x517f=function(_0x1b597d,_0x3f94cb){_0x1b597d=_0x1b597d-0x0;let _0x517f08=_0x3f94[_0x1b597d];return _0x517f08;};import{Plugin as _0x5caa08}from'ckeditor5/src/core.js';import{getTranslation as _0x4ce1c8}from'../utils/common-translations.js';export default class ut extends _0x5caa08{['afterInit'](){if(!this[_0x517f('0xf')][_0x517f('0x1c')][_0x517f('0x22')](_0x517f('0x15')))return;const _0x239b2f=this[_0x517f('0xf')][_0x517f('0x12')][_0x517f('0x18')](_0x517f('0x11')),_0x42a31a=this[_0x517f('0xf')][_0x517f('0x1c')][_0x517f('0x18')](_0x517f('0x13'));_0x239b2f[_0x517f('0x2f')]&&_0x42a31a[_0x517f('0x30')](_0x517f('0xc'),this[_0x517f('0x38')][_0x517f('0x20')](this)),_0x239b2f[_0x517f('0x2d')]&&_0x42a31a[_0x517f('0x30')](_0x517f('0x9'),this[_0x517f('0x3c')]['bind'](this)),_0x239b2f[_0x517f('0x36')]&&_0x42a31a['enableCommand'](_0x517f('0x1b'),this[_0x517f('0x2e')]['bind'](this)),_0x42a31a[_0x517f('0x10')][_0x517f('0x19')](this[_0x517f('0x1d')][_0x517f('0x20')](this));}[_0x517f('0x38')](_0x4fbe83,_0x2672e2={}){const _0x1ec3df=this[_0x517f('0xf')][_0x517f('0x1c')][_0x517f('0x18')](_0x517f('0x13')),_0x169f16=this['_getSuggestionBlocksForListStyle']();this[_0x517f('0xf')]['model']['change'](()=>{_0x1ec3df['markMultiRangeBlockFormat'](_0x169f16,{'commandName':_0x517f('0xc'),'commandParams':[{'type':_0x2672e2[_0x517f('0x23')]}],'formatGroupId':_0x517f('0xc')});});}[_0x517f('0x3c')](_0x587e36,_0x574afc={}){const _0x4b25ce=this[_0x517f('0xf')][_0x517f('0x1c')][_0x517f('0x18')](_0x517f('0x13')),_0x3ba1c1=this[_0x517f('0x3b')](_0x236965=>_0x236965['is'](_0x517f('0x1a'),_0x517f('0xe'))&&_0x517f('0xd')===_0x236965[_0x517f('0x28')](_0x517f('0x2a')));if(_0x3ba1c1[_0x517f('0x3a')]<0x1)return;const _0x320dac=_0x3ba1c1['map'](_0x59e8bc=>this[_0x517f('0xf')][_0x517f('0x14')][_0x517f('0x27')](this[_0x517f('0xf')][_0x517f('0x14')]['createPositionAt'](_0x59e8bc,_0x517f('0x35')),this[_0x517f('0xf')][_0x517f('0x14')]['createPositionAt'](_0x59e8bc,0x0)));this[_0x517f('0xf')]['model'][_0x517f('0x5')](()=>{_0x4b25ce[_0x517f('0x37')](_0x320dac,{'commandName':_0x517f('0x9'),'commandParams':[{'reversed':_0x574afc['reversed']}],'formatGroupId':_0x517f('0x9')});});}[_0x517f('0x2e')](_0x2436bf,_0x37b2e4={}){const _0x4d4eba=this[_0x517f('0xf')]['plugins']['get'](_0x517f('0x13')),_0x59203c=this[_0x517f('0x3b')](_0xcd0615=>_0xcd0615['is'](_0x517f('0x1a'),_0x517f('0xe'))&&'numbered'===_0xcd0615[_0x517f('0x28')](_0x517f('0x2a')));if(_0x59203c[_0x517f('0x3a')]<0x1)return;const _0x925338=_0x59203c[_0x517f('0x32')](_0x53deb0=>this['editor'][_0x517f('0x14')]['createRange'](this[_0x517f('0xf')][_0x517f('0x14')][_0x517f('0x1e')](_0x53deb0,_0x517f('0x35')),this['editor'][_0x517f('0x14')][_0x517f('0x1e')](_0x53deb0,0x0)));this[_0x517f('0xf')][_0x517f('0x14')][_0x517f('0x5')](()=>{_0x4d4eba['markMultiRangeBlockFormat'](_0x925338,{'commandName':_0x517f('0x1b'),'commandParams':[{'startIndex':_0x37b2e4[_0x517f('0x36')]}],'formatGroupId':_0x517f('0x1b')});});}[_0x517f('0x1d')](_0x4203aa){if(_0x517f('0x25')!=_0x4203aa['type']&&'formatInline'!=_0x4203aa[_0x517f('0x23')])return;const _0x2bdd4d=this[_0x517f('0xf')][_0x517f('0x1')],{data:_0x49cb44}=_0x4203aa;if(!_0x49cb44)return;let _0x3c4c47,_0x386103;switch(_0x49cb44[_0x517f('0x2')]){case _0x517f('0xc'):_0x3c4c47=_0x517f('0x7'),_0x386103={'type':_0x517f('0x31'),'content':_0x4ce1c8(_0x2bdd4d,_0x3c4c47,_0x4ce1c8(_0x2bdd4d,this[_0x517f('0x4')](_0x49cb44[_0x517f('0x8')][0x0][_0x517f('0x23')])))};break;case _0x517f('0x9'):_0x3c4c47=_0x49cb44['commandParams'][0x0]['reversed']?'*Format:*\x20set\x20order\x20to\x20reversed':_0x517f('0x26'),_0x386103={'type':_0x517f('0x31'),'content':_0x4ce1c8(_0x2bdd4d,_0x3c4c47)};break;case _0x517f('0x1b'):_0x3c4c47=_0x517f('0x34'),_0x386103={'type':_0x517f('0x31'),'content':_0x4ce1c8(_0x2bdd4d,_0x3c4c47,_0x49cb44['commandParams'][0x0][_0x517f('0x36')])};}return _0x386103;}['_getSuggestionBlocksForListStyle'](){var _0x5bd5ed,_0x4eb483,_0x348b0e,_0x179f53;const _0x1f2702=this[_0x517f('0xf')]['plugins'][_0x517f('0x18')](_0x517f('0x3'));let _0x3080cd=Array[_0x517f('0x0')](this[_0x517f('0xf')][_0x517f('0x14')]['document']['selection'][_0x517f('0xb')]());return(null===(_0x5bd5ed=_0x3080cd[0x0])||void 0x0===_0x5bd5ed?void 0x0:_0x5bd5ed['is'](_0x517f('0x1a'),'listItem'))&&_0x3080cd['unshift'](..._0x1f2702[_0x517f('0x39')](this[_0x517f('0xf')][_0x517f('0x14')][_0x517f('0x2b')][_0x517f('0x29')][_0x517f('0x33')](),_0x517f('0x21'))),(null===(_0x4eb483=_0x3080cd[_0x3080cd[_0x517f('0x3a')]-0x1])||void 0x0===_0x4eb483?void 0x0:_0x4eb483['is'](_0x517f('0x1a'),'listItem'))&&_0x3080cd[_0x517f('0x1f')](..._0x1f2702[_0x517f('0x39')](this[_0x517f('0xf')][_0x517f('0x14')][_0x517f('0x2b')][_0x517f('0x29')][_0x517f('0x6')](),'forward')),_0x3080cd=[...new Set(_0x3080cd)],(null===(_0x179f53=null===(_0x348b0e=this[_0x517f('0xf')]['model'][_0x517f('0x2b')][_0x517f('0x29')][_0x517f('0x33')]())||void 0x0===_0x348b0e?void 0x0:_0x348b0e[_0x517f('0x17')])||void 0x0===_0x179f53?void 0x0:_0x179f53['is'](_0x517f('0x1a'),'listItem'))&&(_0x3080cd=_0x3080cd[_0x517f('0xa')](_0x31bc4b=>_0x31bc4b['is']('element','listItem'))),_0x3080cd;}[_0x517f('0x3b')](_0x37f8ca){const _0x274a49=this[_0x517f('0xf')]['plugins'][_0x517f('0x18')](_0x517f('0x3'));let _0x56b844=Array[_0x517f('0x0')](this[_0x517f('0xf')][_0x517f('0x14')]['document'][_0x517f('0x29')][_0x517f('0xb')]())[_0x517f('0xa')](_0x37f8ca)['map'](_0x453188=>{const _0x2b6bc2=this[_0x517f('0xf')][_0x517f('0x14')][_0x517f('0x1e')](_0x453188,0x0);return[..._0x274a49[_0x517f('0x39')](_0x2b6bc2,_0x517f('0x21')),..._0x274a49[_0x517f('0x39')](_0x2b6bc2,_0x517f('0x16'))];})['flat']();return _0x56b844=[...new Set(_0x56b844)],_0x56b844;}[_0x517f('0x4')](_0x2cc249){return'ELEMENT_'+this['editor']['plugins'][_0x517f('0x18')](_0x517f('0x3'))[_0x517f('0x3d')](_0x2cc249)[_0x517f('0x2c')]()+'_LIST_'+_0x2cc249['toUpperCase']()[_0x517f('0x24')](/-/g,'_');}}
@@ -5,7 +5,7 @@
5
5
  /**
6
6
  * @module track-changes/integrations/mediaembed
7
7
  */
8
- import { Plugin } from 'ckeditor5/src/core';
8
+ import { Plugin } from 'ckeditor5/src/core.js';
9
9
  /**
10
10
  * Provides track changes plugin integration for {@link module:media-embed/mediaembed~MediaEmbed media embed feature}.
11
11
  */