@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20230829.0 → 0.0.0-nightly-20230831.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 (113) hide show
  1. package/build/track-changes.js +1 -1
  2. package/lang/translations/ar.po +1 -0
  3. package/lang/translations/az.po +1 -0
  4. package/lang/translations/bg.po +1 -0
  5. package/lang/translations/bn.po +1 -0
  6. package/lang/translations/ca.po +1 -0
  7. package/lang/translations/cs.po +1 -0
  8. package/lang/translations/da.po +1 -0
  9. package/lang/translations/de.po +1 -0
  10. package/lang/translations/el.po +1 -0
  11. package/lang/translations/en-au.po +1 -0
  12. package/lang/translations/en.po +1 -0
  13. package/lang/translations/es.po +1 -0
  14. package/lang/translations/et.po +1 -0
  15. package/lang/translations/fi.po +1 -0
  16. package/lang/translations/fr.po +1 -0
  17. package/lang/translations/gl.po +1 -0
  18. package/lang/translations/he.po +1 -0
  19. package/lang/translations/hi.po +1 -0
  20. package/lang/translations/hr.po +1 -0
  21. package/lang/translations/hu.po +1 -0
  22. package/lang/translations/id.po +1 -0
  23. package/lang/translations/it.po +1 -0
  24. package/lang/translations/ja.po +1 -0
  25. package/lang/translations/ko.po +1 -0
  26. package/lang/translations/lt.po +1 -0
  27. package/lang/translations/lv.po +1 -0
  28. package/lang/translations/ms.po +1 -0
  29. package/lang/translations/nl.po +1 -0
  30. package/lang/translations/no.po +1 -0
  31. package/lang/translations/pl.po +1 -0
  32. package/lang/translations/pt-br.po +1 -0
  33. package/lang/translations/pt.po +1 -0
  34. package/lang/translations/ro.po +1 -0
  35. package/lang/translations/ru.po +1 -0
  36. package/lang/translations/sk.po +1 -0
  37. package/lang/translations/sq.po +1 -0
  38. package/lang/translations/sr-latn.po +1 -0
  39. package/lang/translations/sr.po +1 -0
  40. package/lang/translations/sv.po +1 -0
  41. package/lang/translations/th.po +1 -0
  42. package/lang/translations/tk.po +1 -0
  43. package/lang/translations/tr.po +1 -0
  44. package/lang/translations/tt.po +1 -0
  45. package/lang/translations/uk.po +1 -0
  46. package/lang/translations/ur.po +1 -0
  47. package/lang/translations/vi.po +1 -0
  48. package/lang/translations/zh-cn.po +1 -0
  49. package/lang/translations/zh.po +1 -0
  50. package/package.json +3 -3
  51. package/src/commands/acceptsuggestioncommand.js +1 -1
  52. package/src/commands/discardsuggestioncommand.js +1 -1
  53. package/src/commands/executeonallsuggestionscommand.js +1 -1
  54. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  55. package/src/commands/trackchangescommand.js +1 -1
  56. package/src/integrations/alignment.js +1 -1
  57. package/src/integrations/basicstyles.js +1 -1
  58. package/src/integrations/blockquote.js +1 -1
  59. package/src/integrations/ckbox.js +1 -1
  60. package/src/integrations/codeblock.js +1 -1
  61. package/src/integrations/comments.js +1 -1
  62. package/src/integrations/deletecommand.js +1 -1
  63. package/src/integrations/documentlist.js +1 -1
  64. package/src/integrations/documentlistproperties.js +1 -1
  65. package/src/integrations/entercommand.js +1 -1
  66. package/src/integrations/findandreplace.js +1 -1
  67. package/src/integrations/font.js +1 -1
  68. package/src/integrations/formatpainter.js +1 -1
  69. package/src/integrations/heading.js +1 -1
  70. package/src/integrations/highlight.js +1 -1
  71. package/src/integrations/horizontalline.js +1 -1
  72. package/src/integrations/htmlembed.js +1 -1
  73. package/src/integrations/image.js +1 -1
  74. package/src/integrations/imagereplace.js +1 -1
  75. package/src/integrations/importword.js +1 -1
  76. package/src/integrations/indent.js +1 -1
  77. package/src/integrations/inputcommand.js +1 -1
  78. package/src/integrations/link.js +1 -1
  79. package/src/integrations/list.js +1 -1
  80. package/src/integrations/listproperties.js +1 -1
  81. package/src/integrations/mediaembed.js +1 -1
  82. package/src/integrations/mention.js +1 -1
  83. package/src/integrations/pagebreak.js +1 -1
  84. package/src/integrations/paragraph.js +1 -1
  85. package/src/integrations/removeformat.js +1 -1
  86. package/src/integrations/restrictededitingmode.js +1 -1
  87. package/src/integrations/shiftentercommand.js +1 -1
  88. package/src/integrations/standardeditingmode.js +1 -1
  89. package/src/integrations/style.js +1 -1
  90. package/src/integrations/table.js +1 -1
  91. package/src/integrations/tablecaption.js +1 -1
  92. package/src/integrations/tableclipboard.js +1 -1
  93. package/src/integrations/tablecolumnresize.js +1 -1
  94. package/src/integrations/tableheadings.js +1 -1
  95. package/src/integrations/tablemergesplit.js +1 -1
  96. package/src/integrations/tableofcontents.js +1 -1
  97. package/src/integrations/tableproperties.js +1 -1
  98. package/src/integrations/template.js +1 -1
  99. package/src/integrations/title.js +1 -1
  100. package/src/integrations/undo.js +1 -1
  101. package/src/integrations/utils.js +1 -1
  102. package/src/suggestion.js +1 -1
  103. package/src/suggestiondescriptionfactory.js +1 -1
  104. package/src/trackchanges.js +1 -1
  105. package/src/trackchangesdata.js +1 -1
  106. package/src/trackchangesediting.d.ts +29 -1
  107. package/src/trackchangesediting.js +1 -1
  108. package/src/trackchangesui.js +1 -1
  109. package/src/ui/suggestioncontroller.js +1 -1
  110. package/src/ui/view/basesuggestionthreadview.js +1 -1
  111. package/src/ui/view/suggestionthreadview.js +1 -1
  112. package/src/utils/common-translations.js +1 -1
  113. package/src/utils/utils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1be8=['color','editor','*Remove\x20highlight*','hasAttribute','selection','FORMAT_HIGHLIGHT','enableCommand','find','getRanges','_descriptionFactory','isCollapsed','commandParams','plugins','title','get','createRange','value','format','push','locale','TrackChangesEditing','highlight','highlight.options','item','markInlineFormat','model','change','afterInit'];(function(_0x357504,_0x1be87d){const _0x57be8d=function(_0x441106){while(--_0x441106){_0x357504['push'](_0x357504['shift']());}};_0x57be8d(++_0x1be87d);}(_0x1be8,0x144));const _0x57be=function(_0x357504,_0x1be87d){_0x357504=_0x357504-0x0;let _0x57be8d=_0x1be8[_0x357504];return _0x57be8d;};import{Plugin as _0x32ff21}from'ckeditor5/src/core';import{getTranslation as _0x58e030}from'../utils/common-translations';import{getRangesWithAttribute as _0x5e398c}from'./utils';export default class K extends _0x32ff21{[_0x57be('0xb')](){const _0x3dd793=this[_0x57be('0xd')];if(!_0x3dd793['plugins']['has']('HighlightEditing'))return;const _0x1771d2=_0x3dd793[_0x57be('0x18')]['get'](_0x57be('0x4'));_0x1771d2[_0x57be('0x12')](_0x57be('0x5'),(_0x450e07,_0x7f27b3={})=>{const _0x3c9855=_0x3dd793['model']['document'][_0x57be('0x10')],_0x4bd0da=_0x3c9855['getAttribute'](_0x57be('0x5'));let _0x5aedb2=_0x7f27b3['value'],_0x1ff003=[];if(_0x3c9855[_0x57be('0x16')]){const _0x4fe634=_0x3c9855['getFirstPosition']();if(!_0x3c9855[_0x57be('0xf')](_0x57be('0x5')))return void _0x450e07(_0x7f27b3);{const _0x1295a3=_0x208b43=>_0x208b43[_0x57be('0x7')]['getAttribute'](_0x57be('0x5'))===_0x4bd0da,_0x5b47dd=_0x4fe634['getLastMatchingPosition'](_0x1295a3,{'direction':'backward'}),_0x37e49f=_0x4fe634['getLastMatchingPosition'](_0x1295a3);_0x1ff003=[_0x3dd793['model'][_0x57be('0x1b')](_0x5b47dd,_0x37e49f)],_0x5aedb2==_0x4bd0da&&(_0x5aedb2=null);}}else for(const _0x410c1f of _0x3c9855[_0x57be('0x14')]())_0x5aedb2?_0x1ff003['push'](_0x410c1f):_0x1ff003[_0x57be('0x2')](..._0x5e398c(_0x57be('0x5'),_0x410c1f,_0x3dd793[_0x57be('0x9')]));_0x3dd793['model'][_0x57be('0xa')](()=>{for(const _0x59bc85 of _0x1ff003)_0x1771d2[_0x57be('0x8')](_0x59bc85,{'commandName':_0x57be('0x5'),'commandParams':[{'value':_0x5aedb2}]});});});const _0x39e7b7=_0x3dd793[_0x57be('0x3')];_0x1771d2[_0x57be('0x15')]['registerDescriptionCallback'](_0xacad88=>{const {type:_0xf927a6,data:_0x145b54}=_0xacad88;if('formatInline'==_0xf927a6&&_0x145b54&&'highlight'==_0x145b54['commandName']){const _0x1f772f=_0x39e7b7['t'],_0x53cff9=_0x145b54[_0x57be('0x17')][0x0][_0x57be('0x0')];if(_0x53cff9){const _0x1a007e=_0x3dd793['config'][_0x57be('0x1a')](_0x57be('0x6'))[_0x57be('0x13')](_0x51fb29=>_0x51fb29[_0x57be('0x9')]==_0x53cff9),_0x4a4a28=_0x1f772f(_0x1a007e[_0x57be('0x19')])['toLowerCase']();return{'type':_0x57be('0x1'),'content':_0x58e030(_0x39e7b7,'*Set\x20highlight:*\x20%0',_0x4a4a28),'color':{'value':_0x1a007e[_0x57be('0xc')],'title':_0x1a007e[_0x57be('0x19')]}};}return{'type':_0x57be('0x1'),'content':_0x58e030(_0x39e7b7,_0x57be('0xe'),_0x58e030(_0x39e7b7,_0x57be('0x11')))};}});}}
23
+ const _0x2a91=['*Set\x20highlight:*\x20%0','model','find','afterInit','config','*Remove\x20highlight*','item','toLowerCase','format','selection','markInlineFormat','title','formatInline','push','editor','registerDescriptionCallback','TrackChangesEditing','plugins','isCollapsed','getLastMatchingPosition','commandParams','highlight','hasAttribute','createRange','commandName','change','getRanges','getFirstPosition','get','locale','FORMAT_HIGHLIGHT','value','getAttribute'];(function(_0x1341a7,_0x2a913e){const _0x42ac23=function(_0x21706e){while(--_0x21706e){_0x1341a7['push'](_0x1341a7['shift']());}};_0x42ac23(++_0x2a913e);}(_0x2a91,0xb4));const _0x42ac=function(_0x1341a7,_0x2a913e){_0x1341a7=_0x1341a7-0x0;let _0x42ac23=_0x2a91[_0x1341a7];return _0x42ac23;};import{Plugin as _0x16e46a}from'ckeditor5/src/core';import{getTranslation as _0x28f2ed}from'../utils/common-translations';import{getRangesWithAttribute as _0x40b23d}from'./utils';export default class K extends _0x16e46a{[_0x42ac('0x15')](){const _0x1635e7=this[_0x42ac('0x20')];if(!_0x1635e7[_0x42ac('0x2')]['has']('HighlightEditing'))return;const _0x3c14ae=_0x1635e7[_0x42ac('0x2')][_0x42ac('0xd')](_0x42ac('0x1'));_0x3c14ae['enableCommand'](_0x42ac('0x6'),(_0x2282c8,_0x1c4883={})=>{const _0x208575=_0x1635e7['model']['document'][_0x42ac('0x1b')],_0x12f843=_0x208575['getAttribute'](_0x42ac('0x6'));let _0x4c208a=_0x1c4883[_0x42ac('0x10')],_0x251415=[];if(_0x208575[_0x42ac('0x3')]){const _0x88679e=_0x208575[_0x42ac('0xc')]();if(!_0x208575[_0x42ac('0x7')]('highlight'))return void _0x2282c8(_0x1c4883);{const _0x42ea41=_0x3d51f3=>_0x3d51f3[_0x42ac('0x18')][_0x42ac('0x11')](_0x42ac('0x6'))===_0x12f843,_0x283b7e=_0x88679e['getLastMatchingPosition'](_0x42ea41,{'direction':'backward'}),_0xfe67ae=_0x88679e[_0x42ac('0x4')](_0x42ea41);_0x251415=[_0x1635e7[_0x42ac('0x13')][_0x42ac('0x8')](_0x283b7e,_0xfe67ae)],_0x4c208a==_0x12f843&&(_0x4c208a=null);}}else for(const _0x4536f9 of _0x208575[_0x42ac('0xb')]())_0x4c208a?_0x251415['push'](_0x4536f9):_0x251415[_0x42ac('0x1f')](..._0x40b23d('highlight',_0x4536f9,_0x1635e7[_0x42ac('0x13')]));_0x1635e7[_0x42ac('0x13')][_0x42ac('0xa')](()=>{for(const _0x1969c1 of _0x251415)_0x3c14ae[_0x42ac('0x1c')](_0x1969c1,{'commandName':_0x42ac('0x6'),'commandParams':[{'value':_0x4c208a}]});});});const _0x1e3bfe=_0x1635e7[_0x42ac('0xe')];_0x3c14ae['_descriptionFactory'][_0x42ac('0x0')](_0x9b1cef=>{const {type:_0x15cce2,data:_0x5d77e6}=_0x9b1cef;if(_0x42ac('0x1e')==_0x15cce2&&_0x5d77e6&&_0x42ac('0x6')==_0x5d77e6[_0x42ac('0x9')]){const _0x565baf=_0x1e3bfe['t'],_0x95e3e9=_0x5d77e6[_0x42ac('0x5')][0x0][_0x42ac('0x10')];if(_0x95e3e9){const _0x2608c8=_0x1635e7[_0x42ac('0x16')][_0x42ac('0xd')]('highlight.options')[_0x42ac('0x14')](_0x32e072=>_0x32e072['model']==_0x95e3e9),_0x312886=_0x565baf(_0x2608c8[_0x42ac('0x1d')])[_0x42ac('0x19')]();return{'type':_0x42ac('0x1a'),'content':_0x28f2ed(_0x1e3bfe,_0x42ac('0x12'),_0x312886),'color':{'value':_0x2608c8['color'],'title':_0x2608c8[_0x42ac('0x1d')]}};}return{'type':_0x42ac('0x1a'),'content':_0x28f2ed(_0x1e3bfe,_0x42ac('0x17'),_0x28f2ed(_0x1e3bfe,_0x42ac('0xf')))};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2622=['insert','get','createPositionAt','_descriptionFactory','conversion','addClass','div','TrackChangesEditing','has','createContainerElement','registerElementLabel','plugins','ck-horizontal-line','for','afterInit','high','enableCommand','editor','elementToStructure','horizontalLine','dataDowncast','showSuggestionHighlights'];(function(_0x4775ed,_0x26225e){const _0x3fd230=function(_0x59bcde){while(--_0x59bcde){_0x4775ed['push'](_0x4775ed['shift']());}};_0x3fd230(++_0x26225e);}(_0x2622,0x190));const _0x3fd2=function(_0x4775ed,_0x26225e){_0x4775ed=_0x4775ed-0x0;let _0x3fd230=_0x2622[_0x4775ed];return _0x3fd230;};import{Plugin as _0x26245d}from'ckeditor5/src/core';import{getTranslation as _0x4c4e71}from'../utils/common-translations';export default class Q extends _0x26245d{[_0x3fd2('0xa')](){const _0x488832=this[_0x3fd2('0xd')];if(!_0x488832[_0x3fd2('0x7')][_0x3fd2('0x4')]('HorizontalLineEditing'))return;_0x488832['plugins'][_0x3fd2('0x13')](_0x3fd2('0x3'))[_0x3fd2('0xc')](_0x3fd2('0xf'));const _0x578bea=_0x488832[_0x3fd2('0x7')][_0x3fd2('0x13')]('TrackChangesEditing'),_0x23dd41=_0x488832['locale'];_0x578bea[_0x3fd2('0x15')][_0x3fd2('0x6')](_0x3fd2('0xf'),_0x46388c=>_0x4c4e71(_0x23dd41,'ELEMENT_HORIZONTAL_LINE',_0x46388c)),_0x488832[_0x3fd2('0x0')][_0x3fd2('0x9')](_0x3fd2('0x10'))[_0x3fd2('0xe')]({'model':_0x3fd2('0xf'),'view':(_0x143f66,{writer:_0x2ca831,options:_0x1ade3e})=>{if(!_0x1ade3e[_0x3fd2('0x11')])return null;const _0x17a223=_0x2ca831[_0x3fd2('0x5')](_0x3fd2('0x2')),_0x3bdfa4=_0x2ca831['createEmptyElement']('hr');return _0x2ca831[_0x3fd2('0x1')](_0x3fd2('0x8'),_0x17a223),_0x2ca831[_0x3fd2('0x12')](_0x2ca831[_0x3fd2('0x14')](_0x17a223,0x0),_0x3bdfa4),_0x17a223;},'converterPriority':_0x3fd2('0xb')});}}
23
+ const _0x3519=['insert','dataDowncast','afterInit','_descriptionFactory','high','get','addClass','createPositionAt','editor','horizontalLine','HorizontalLineEditing','plugins','createContainerElement','locale','ELEMENT_HORIZONTAL_LINE','createEmptyElement','registerElementLabel','conversion','for','div','enableCommand','showSuggestionHighlights','elementToStructure'];(function(_0x2b3937,_0x351968){const _0x524b06=function(_0x15181a){while(--_0x15181a){_0x2b3937['push'](_0x2b3937['shift']());}};_0x524b06(++_0x351968);}(_0x3519,0x119));const _0x524b=function(_0x2b3937,_0x351968){_0x2b3937=_0x2b3937-0x0;let _0x524b06=_0x3519[_0x2b3937];return _0x524b06;};import{Plugin as _0x33d104}from'ckeditor5/src/core';import{getTranslation as _0x49ac8e}from'../utils/common-translations';export default class Q extends _0x33d104{[_0x524b('0x14')](){const _0x403dde=this[_0x524b('0x3')];if(!_0x403dde[_0x524b('0x6')]['has'](_0x524b('0x5')))return;_0x403dde['plugins'][_0x524b('0x0')]('TrackChangesEditing')[_0x524b('0xf')]('horizontalLine');const _0x1263e3=_0x403dde[_0x524b('0x6')][_0x524b('0x0')]('TrackChangesEditing'),_0x4468dd=_0x403dde[_0x524b('0x8')];_0x1263e3[_0x524b('0x15')][_0x524b('0xb')](_0x524b('0x4'),_0x446255=>_0x49ac8e(_0x4468dd,_0x524b('0x9'),_0x446255)),_0x403dde[_0x524b('0xc')][_0x524b('0xd')](_0x524b('0x13'))[_0x524b('0x11')]({'model':'horizontalLine','view':(_0x5069e9,{writer:_0x5e0e57,options:_0x532768})=>{if(!_0x532768[_0x524b('0x10')])return null;const _0x439644=_0x5e0e57[_0x524b('0x7')](_0x524b('0xe')),_0x5a9ec5=_0x5e0e57[_0x524b('0xa')]('hr');return _0x5e0e57[_0x524b('0x1')]('ck-horizontal-line',_0x439644),_0x5e0e57[_0x524b('0x12')](_0x5e0e57[_0x524b('0x2')](_0x439644,0x0),_0x5a9ec5),_0x439644;},'converterPriority':_0x524b('0x16')});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4bf0=['rawHtmlApi','document','plugins','HtmlEmbed','registerDescriptionCallback','htmlEmbed','markBlockFormat','getAttribute','afterInit','getCustomProperty','rawHtml','has','view','selection','editor','ELEMENT_HTML_EMBED','format','_descriptionFactory','editing','cancel','element','registerElementLabel','locale','getSelectedElement','enableCommand','commandName','TrackChangesEditing'];(function(_0x29de6f,_0x4bf036){const _0x3e4df1=function(_0xfab7c9){while(--_0xfab7c9){_0x29de6f['push'](_0x29de6f['shift']());}};_0x3e4df1(++_0x4bf036);}(_0x4bf0,0x114));const _0x3e4d=function(_0x29de6f,_0x4bf036){_0x29de6f=_0x29de6f-0x0;let _0x3e4df1=_0x4bf0[_0x29de6f];return _0x3e4df1;};import{Plugin as _0x2fa67d}from'ckeditor5/src/core';import{getTranslation as _0x56366a}from'../utils/common-translations';export default class V extends _0x2fa67d{[_0x3e4d('0x2')](){const _0xc00454=this[_0x3e4d('0x8')];if(!_0xc00454[_0x3e4d('0x17')][_0x3e4d('0x5')](_0x3e4d('0x18')))return;const _0x4a9810=_0xc00454['plugins']['get'](_0x3e4d('0x14')),_0x13bd7a=_0xc00454[_0x3e4d('0x10')],_0x229e72=_0xc00454[_0x3e4d('0xc')][_0x3e4d('0x6')][_0x3e4d('0x16')][_0x3e4d('0x7')];_0x4a9810['_descriptionFactory'][_0x3e4d('0xf')]('rawHtml',_0x1fc373=>_0x56366a(_0x13bd7a,_0x3e4d('0x9'),_0x1fc373)),_0xc00454[_0x3e4d('0x17')]['get'](_0x3e4d('0x14'))[_0x3e4d('0x12')]('htmlEmbed',(_0xc6164,_0x537a12)=>{const _0x1de3a3=_0xc00454['model'],_0x134be0=_0x1de3a3[_0x3e4d('0x16')][_0x3e4d('0x7')];_0x1de3a3['change'](()=>{const _0x431ac9=function(_0x30791e){const _0x17478d=_0x30791e['getSelectedElement']();if(_0x17478d&&_0x17478d['is'](_0x3e4d('0xe'),_0x3e4d('0x4')))return _0x30791e[_0x3e4d('0x11')]();return null;}(_0x134be0);if(!_0x431ac9)return void _0xc6164(null);const _0xbe08ca=_0x431ac9[_0x3e4d('0x1')]('value')||'';if(void 0x0===_0x537a12)return;if(_0x537a12===_0xbe08ca)return;_0x4a9810[_0x3e4d('0x0')](_0x431ac9,{'commandName':_0x3e4d('0x1a'),'commandParams':[_0x537a12]}),_0x229e72[_0x3e4d('0x11')]()[_0x3e4d('0x3')](_0x3e4d('0x15'))[_0x3e4d('0xd')]();});}),_0x4a9810[_0x3e4d('0xb')][_0x3e4d('0x19')](_0x371fad=>{const {data:_0x1d0f92}=_0x371fad;if(_0x1d0f92&&_0x3e4d('0x1a')==_0x1d0f92[_0x3e4d('0x13')]){const _0x11305a=_0x56366a(_0x13bd7a,_0x3e4d('0x9'));return{'type':_0x3e4d('0xa'),'content':_0x56366a(_0x13bd7a,'*Change\x20%0\x20content*',_0x11305a)};}});}}
23
+ const _0x4d63=['view','markBlockFormat','format','htmlEmbed','selection','has','registerElementLabel','registerDescriptionCallback','TrackChangesEditing','getAttribute','enableCommand','HtmlEmbed','_descriptionFactory','get','ELEMENT_HTML_EMBED','getSelectedElement','model','rawHtml','document','change','*Change\x20%0\x20content*','afterInit','editor'];(function(_0x10e23c,_0x4d6305){const _0x5e9098=function(_0x13084f){while(--_0x13084f){_0x10e23c['push'](_0x10e23c['shift']());}};_0x5e9098(++_0x4d6305);}(_0x4d63,0xaa));const _0x5e90=function(_0x10e23c,_0x4d6305){_0x10e23c=_0x10e23c-0x0;let _0x5e9098=_0x4d63[_0x10e23c];return _0x5e9098;};import{Plugin as _0x5bf7a3}from'ckeditor5/src/core';import{getTranslation as _0x1cb72d}from'../utils/common-translations';export default class V extends _0x5bf7a3{[_0x5e90('0xc')](){const _0xf8de4c=this[_0x5e90('0xd')];if(!_0xf8de4c['plugins'][_0x5e90('0x13')](_0x5e90('0x2')))return;const _0x46aa90=_0xf8de4c['plugins'][_0x5e90('0x4')](_0x5e90('0x16')),_0x20ed36=_0xf8de4c['locale'],_0x46a7b1=_0xf8de4c['editing'][_0x5e90('0xe')][_0x5e90('0x9')][_0x5e90('0x12')];_0x46aa90[_0x5e90('0x3')][_0x5e90('0x14')](_0x5e90('0x8'),_0x5573fe=>_0x1cb72d(_0x20ed36,_0x5e90('0x5'),_0x5573fe)),_0xf8de4c['plugins'][_0x5e90('0x4')](_0x5e90('0x16'))[_0x5e90('0x1')](_0x5e90('0x11'),(_0x2cc703,_0x17447f)=>{const _0x198fac=_0xf8de4c[_0x5e90('0x7')],_0x24e4f7=_0x198fac[_0x5e90('0x9')][_0x5e90('0x12')];_0x198fac[_0x5e90('0xa')](()=>{const _0x12f5ea=function(_0x1c663d){const _0x55f8f8=_0x1c663d['getSelectedElement']();if(_0x55f8f8&&_0x55f8f8['is']('element',_0x5e90('0x8')))return _0x1c663d[_0x5e90('0x6')]();return null;}(_0x24e4f7);if(!_0x12f5ea)return void _0x2cc703(null);const _0x3c5945=_0x12f5ea[_0x5e90('0x0')]('value')||'';if(void 0x0===_0x17447f)return;if(_0x17447f===_0x3c5945)return;_0x46aa90[_0x5e90('0xf')](_0x12f5ea,{'commandName':_0x5e90('0x11'),'commandParams':[_0x17447f]}),_0x46a7b1[_0x5e90('0x6')]()['getCustomProperty']('rawHtmlApi')['cancel']();});}),_0x46aa90['_descriptionFactory'][_0x5e90('0x15')](_0x457797=>{const {data:_0x6e64d4}=_0x457797;if(_0x6e64d4&&_0x5e90('0x11')==_0x6e64d4['commandName']){const _0x316e2e=_0x1cb72d(_0x20ed36,_0x5e90('0x5'));return{'type':_0x5e90('0x10'),'content':_0x1cb72d(_0x20ed36,_0x5e90('0xb'),_0x316e2e)};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3f51=['get','nodeBefore','getFirstRange','has','hasAttribute','toNext','ImageBlockEditing','removeObject','ImageStyleEditing','*Set\x20image\x20text\x20alternative:*\x20%0','_suggestionFactory','value','uploadImage','getAttribute','imageCaption','commandParams','find','isEqual','name','forEach','getContainedElement','suggestion','ImageInlineEditing','forward','filter','afterInit','getSuggestion','imageTypeBlock','isBefore','discardSuggestion','length','ImageTextAlternativeEditing','getChangedMarkers','chain','shouldConvertImageType','TrackChangesEditing','_descriptionFactory','element','Inline\x20image\x20to\x20block\x20image','fromPosition','createRangeOn','convertInlineImageToBlock','head','imageStyle','_splitMarkerName','newValue','start','accept','commands','nodeAfter','backward','formatInline','author','newRange','registerPostFixer','addObject','selection','Users','getClosestSelectedImageElement','registerDescriptionCallback','format','subType','hasSuggestion','ELEMENT_INLINE_IMAGE','imageTextAlternative','*Format:*\x20%0','convertBlockImageToInline','ELEMENT_CAPTION','getCaptionFromImageModelElement','*Set\x20image\x20width:*\x20%0','imageStylePostApply','join','next','ImageResize','side','Block\x20image\x20to\x20inline\x20image','isBlockImage','change','ImageUtils','isIntersecting','resizeImage','toggleImageCaption','caption','plugins','imageTypeInline','markBlockFormat','*Reset\x20image\x20width*','getSuggestions','isOwn','type','enableCommand','isInContent','commandName','getSuggestionCallback','formatBlock','discard','refresh','schema','width','model','findIndex','toLowerCase','insertion','registerCustomCallback','imageBlock','markInsertion','imageInline','*Remove\x20image\x20text\x20alternative*','ImageEditing','toPrevious','isCollapsed','document','previous','ImageCaptionEditing','title','createRange','ELEMENT_IMAGE','registerElementLabel','imageStylePreApply','end'];(function(_0xbcb205,_0x3f519c){const _0x29662b=function(_0x3e093b){while(--_0x3e093b){_0xbcb205['push'](_0xbcb205['shift']());}};_0x29662b(++_0x3f519c);}(_0x3f51,0x95));const _0x2966=function(_0xbcb205,_0x3f519c){_0xbcb205=_0xbcb205-0x0;let _0x29662b=_0x3f51[_0xbcb205];return _0x29662b;};import{Plugin as _0x3c1976}from'ckeditor5/src/core';import{LivePosition as _0x36460c}from'ckeditor5/src/engine';import{uid as _0x331475}from'ckeditor5/src/utils';import{getTranslation as _0x6db017}from'../utils/common-translations';export default class X extends _0x3c1976{[_0x2966('0x74')](){const _0x541f73=this['editor'];if(!_0x541f73[_0x2966('0x36')][_0x2966('0x5e')](_0x2966('0x4f')))return;const _0x329575=_0x541f73[_0x2966('0x36')][_0x2966('0x5b')](_0x2966('0x6')),_0x11d5ea=_0x541f73[_0x2966('0x36')][_0x2966('0x5b')](_0x2966('0x31')),_0x51a5e9={},_0x2632a4=_0x541f73['locale'];if(_0x329575[_0x2966('0x3d')]('insertImage'),_0x329575[_0x2966('0x7')][_0x2966('0x58')](_0x2966('0x4b'),_0x3b66e6=>_0x6db017(_0x2632a4,_0x2966('0x57'),_0x3b66e6)),_0x329575[_0x2966('0x7')][_0x2966('0x58')](_0x2966('0x4d'),_0x5520fa=>_0x6db017(_0x2632a4,_0x2966('0x22'),_0x5520fa)),_0x329575[_0x2966('0x7')]['registerElementLabel']('caption',()=>_0x6db017(_0x2632a4,_0x2966('0x26'))),_0x541f73[_0x2966('0x36')][_0x2966('0x5e')]('ImageUploadEditing')&&_0x329575[_0x2966('0x3d')](_0x2966('0x67')),_0x541f73[_0x2966('0x36')][_0x2966('0x5e')](_0x2966('0x61'))&&_0x541f73['plugins']['has'](_0x2966('0x71'))&&(_0x329575[_0x2966('0x3d')]('imageTypeInline',(_0x5f27aa,_0xc94ae8)=>{const _0x17822b=_0x11d5ea[_0x2966('0x1d')](_0x541f73['model'][_0x2966('0x52')][_0x2966('0x1b')]);_0x541f73[_0x2966('0x46')]['change'](()=>{_0x329575[_0x2966('0x38')](_0x17822b,{'commandName':_0x2966('0x37'),'commandParams':[_0xc94ae8]},[],_0x2966('0x25'));});}),_0x329575['enableCommand'](_0x2966('0x76'),(_0x4495b2,_0x4b29db)=>{_0x541f73['model'][_0x2966('0x30')](_0x26a35a=>{let _0x497fb3=_0x11d5ea[_0x2966('0x1d')](_0x541f73['model'][_0x2966('0x52')][_0x2966('0x1b')]),_0x51d640=_0x26a35a[_0x2966('0xb')](_0x497fb3);const _0x564f8b=_0x36460c[_0x2966('0xa')](_0x51d640[_0x2966('0x11')],_0x2966('0x50')),_0x2e8fed=_0x36460c['fromPosition'](_0x51d640['end'],_0x2966('0x60'));_0x329575['forceDefaultExecution'](()=>_0x4495b2(_0x4b29db)),_0x497fb3=_0x11d5ea[_0x2966('0x1d')](_0x541f73[_0x2966('0x46')][_0x2966('0x52')][_0x2966('0x1b')]),_0x51d640=_0x26a35a[_0x2966('0xb')](_0x497fb3);const _0x4337ba=_0x26a35a['createRange'](_0x564f8b,_0x2e8fed);_0x564f8b['detach'](),_0x2e8fed['detach'](),_0x329575['markBlockFormat'](_0x497fb3,{'commandName':_0x2966('0x37'),'commandParams':[]},[],_0x2966('0xc')),_0x4337ba[_0x2966('0x11')][_0x2966('0x77')](_0x51d640[_0x2966('0x11')])&&_0x329575[_0x2966('0x4c')](_0x26a35a['createRange'](_0x4337ba['start'],_0x51d640[_0x2966('0x11')]),_0x2966('0xc')),_0x51d640[_0x2966('0x5a')][_0x2966('0x77')](_0x4337ba[_0x2966('0x5a')])&&_0x329575[_0x2966('0x4c')](_0x26a35a[_0x2966('0x56')](_0x51d640[_0x2966('0x5a')],_0x4337ba['end']),_0x2966('0xc'));});}),_0x329575[_0x2966('0x65')][_0x2966('0x4a')]('formatBlock',_0x2966('0xc'),_0x2966('0x2a'),()=>{}),_0x329575[_0x2966('0x65')][_0x2966('0x4a')](_0x2966('0x41'),_0x2966('0xc'),_0x2966('0x12'),()=>{}),_0x329575[_0x2966('0x65')][_0x2966('0x4a')](_0x2966('0x41'),'convertInlineImageToBlock','discard',_0x329575[_0x2966('0x65')][_0x2966('0x40')](_0x2966('0x41'),'',_0x2966('0x12'))),_0x329575[_0x2966('0x65')][_0x2966('0x4a')](_0x2966('0x49'),_0x2966('0xc'),'join',()=>{}),_0x329575[_0x2966('0x65')][_0x2966('0x4a')](_0x2966('0x49'),'convertInlineImageToBlock','discard',([_0x1b2246])=>{const _0xb5ac82=_0x329575[_0x2966('0x65')][_0x2966('0x40')]('insertion','',_0x2966('0x42'));let _0x1862de=_0x1b2246[_0x2966('0x11')],_0x5a0ae4=_0x1b2246[_0x2966('0x5a')];const _0xa094ac=_0x541f73['model'][_0x2966('0x44')]['getNearestSelectionRange'](_0x1862de,_0x2966('0x15')),_0x485b60=_0x541f73['model'][_0x2966('0x44')]['getNearestSelectionRange'](_0x5a0ae4,_0x2966('0x72'));_0xa094ac['isCollapsed']&&(_0x1862de=_0xa094ac[_0x2966('0x11')]),_0x485b60[_0x2966('0x51')]&&(_0x5a0ae4=_0x485b60[_0x2966('0x5a')]),_0xb5ac82([_0x541f73[_0x2966('0x46')][_0x2966('0x56')](_0x1862de,_0x5a0ae4)]);}),_0x329575[_0x2966('0x65')]['registerCustomCallback'](_0x2966('0x41'),_0x2966('0xc'),_0x2966('0x4'),_0x3fc449),_0x329575[_0x2966('0x65')][_0x2966('0x4a')](_0x2966('0x49'),'convertInlineImageToBlock',_0x2966('0x4'),_0x3fc449)),_0x541f73['plugins']['has'](_0x2966('0x54'))&&(_0x329575[_0x2966('0x3d')](_0x2966('0x34'),(_0x344790,_0x510693)=>{const _0x4dfc39=_0x541f73[_0x2966('0x36')]['get']('ImageCaptionUtils');let _0x1d133c=_0x11d5ea[_0x2966('0x1d')](_0x541f73['model']['document'][_0x2966('0x1b')]),_0x23db1b=_0x4dfc39[_0x2966('0x27')](_0x1d133c);_0x541f73[_0x2966('0x46')][_0x2966('0x30')](()=>{if(_0x23db1b)return void _0x329575['markDeletion'](_0x541f73[_0x2966('0x46')][_0x2966('0xb')](_0x23db1b));const _0x226112=_0x11d5ea[_0x2966('0x2f')](_0x1d133c);_0x344790(_0x510693),_0x1d133c=_0x11d5ea[_0x2966('0x1d')](_0x541f73['model'][_0x2966('0x52')][_0x2966('0x1b')]),_0x23db1b=_0x4dfc39[_0x2966('0x27')](_0x1d133c),_0x329575[_0x2966('0x4c')](_0x541f73[_0x2966('0x46')][_0x2966('0xb')](_0x23db1b),_0x226112?null:_0x2966('0x69'));});}),_0x329575[_0x2966('0x65')]['registerCustomCallback'](_0x2966('0x49'),_0x2966('0x69'),'chain',_0x3fc449)),_0x541f73[_0x2966('0x36')][_0x2966('0x5e')](_0x2966('0x63'))){_0x329575[_0x2966('0x3d')]('imageStyle',(_0x36d2e9,_0xfb51bf)=>{const _0x11f6fb=_0x541f73[_0x2966('0x36')][_0x2966('0x5b')](_0x2966('0x1c'))['me'],_0x28431d=_0x541f73[_0x2966('0x13')][_0x2966('0x5b')](_0x2966('0xe'));let _0x136fd3=_0x11d5ea[_0x2966('0x1d')](_0x541f73[_0x2966('0x46')]['document'][_0x2966('0x1b')]),_0x28d2d8=_0x541f73['model'][_0x2966('0xb')](_0x136fd3),_0x2b8bc1=_0x28431d[_0x2966('0x66')];if(_0x2b8bc1==_0xfb51bf[_0x2966('0x66')])return;const _0x3f20c8={'commandName':_0x2966('0xe'),'commandParams':[_0xfb51bf],'formatGroupId':_0x331475()};_0x541f73[_0x2966('0x46')]['change'](()=>{if(_0x329575[_0x2966('0x3a')]()[_0x2966('0x73')](_0x35f220=>_0x35f220[_0x2966('0x3e')]&&_0x11f6fb==_0x35f220[_0x2966('0x17')]&&(_0x2966('0x41')==_0x35f220[_0x2966('0x3c')]||'formatInline'==_0x35f220['type'])&&(_0x2966('0x59')==_0x35f220[_0x2966('0x20')]||'imageStylePostApply'==_0x35f220[_0x2966('0x20')])&&_0x35f220[_0x2966('0x5d')]()[_0x2966('0x6c')](_0x28d2d8))[_0x2966('0x6e')](_0x1a83fd=>_0x329575[_0x2966('0x0')](_0x1a83fd[_0x2966('0xd')])),_0x136fd3=_0x11d5ea[_0x2966('0x1d')](_0x541f73[_0x2966('0x46')]['document'][_0x2966('0x1b')]),_0x28d2d8=_0x541f73[_0x2966('0x46')]['createRangeOn'](_0x136fd3),_0x28431d[_0x2966('0x43')](),_0x541f73[_0x2966('0x13')][_0x2966('0x5b')](_0x2966('0x37'))[_0x2966('0x43')](),_0x541f73['commands'][_0x2966('0x5b')](_0x2966('0x76'))['refresh'](),_0x2b8bc1=_0x28431d['value'],_0x2b8bc1!=_0xfb51bf[_0x2966('0x66')])return _0x11d5ea['isInlineImage'](_0x136fd3)&&_0x28431d[_0x2966('0x5')](_0xfb51bf['value'],_0x136fd3)?(_0x36d2e9(_0xfb51bf),_0x136fd3=_0x11d5ea[_0x2966('0x1d')](_0x541f73[_0x2966('0x46')][_0x2966('0x52')][_0x2966('0x1b')]),void _0x329575[_0x2966('0x38')](_0x136fd3,{..._0x3f20c8,'commandReversedParams':[{'value':_0x2b8bc1||null}]},[],_0x2966('0x59'))):void(_0x11d5ea[_0x2966('0x2f')](_0x136fd3)?_0x329575[_0x2966('0x38')](_0x136fd3,_0x3f20c8,[],_0x2966('0x29')):_0x329575['markInlineFormat'](_0x28d2d8,_0x3f20c8,_0x2966('0x29')));});});for(const _0x5aa66e of _0x541f73[_0x2966('0x36')][_0x2966('0x5b')](_0x2966('0x63'))['normalizedStyles'])_0x51a5e9[_0x5aa66e[_0x2966('0x6d')]]=_0x5aa66e[_0x2966('0x55')][_0x2966('0x48')]();_0x329575[_0x2966('0x65')][_0x2966('0x4a')](_0x2966('0x41'),_0x2966('0x59'),'join',()=>{}),_0x329575[_0x2966('0x65')]['registerCustomCallback'](_0x2966('0x41'),_0x2966('0x29'),'join',()=>{}),_0x329575[_0x2966('0x65')][_0x2966('0x4a')](_0x2966('0x16'),_0x2966('0x29'),_0x2966('0x2a'),()=>{}),_0x329575['_suggestionFactory']['registerCustomCallback'](_0x2966('0x41'),_0x2966('0x59'),_0x2966('0x12'),()=>{}),_0x329575['_suggestionFactory'][_0x2966('0x4a')]('formatBlock','imageStylePreApply',_0x2966('0x42'),(_0x538239,_0x5a23f4)=>{_0x329575[_0x2966('0x65')][_0x2966('0x40')]('formatBlock','',_0x2966('0x12'))(_0x538239,{'commandName':_0x5a23f4[_0x2966('0x3f')],'commandParams':_0x5a23f4['commandReversedParams']});}),_0x329575[_0x2966('0x65')]['registerCustomCallback']('formatBlock',_0x2966('0x59'),_0x2966('0x4'),_0x3fc449);}const _0x52d572=[{'type':_0x2966('0x41'),'subType':_0x2966('0x59')},{'type':_0x2966('0x49'),'subType':_0x2966('0x69')},{'type':_0x2966('0x41'),'subType':_0x2966('0xc')},{'type':_0x2966('0x49'),'subType':'convertInlineImageToBlock'}];function _0xfd6b4(_0x284b5e,_0x5e83d9){const _0x196b7f=_0x52d572[_0x2966('0x47')](({type:_0x421c88,subType:_0x3e2f0d})=>_0x284b5e['type']==_0x421c88&&_0x284b5e[_0x2966('0x20')]==_0x3e2f0d),_0x3cf91a=_0x52d572[_0x2966('0x47')](({type:_0x498c88,subType:_0x2efe16})=>_0x5e83d9['type']==_0x498c88&&_0x5e83d9[_0x2966('0x20')]==_0x2efe16);if(_0x196b7f<0x0||_0x3cf91a<0x0)return!0x1;const _0x3b57d1=_0x284b5e[_0x2966('0x5d')](),_0x24e9ad=_0x5e83d9[_0x2966('0x5d')]();if((0x0==_0x196b7f||0x1==_0x196b7f)&&0x2==_0x3cf91a&&_0x3b57d1[_0x2966('0x32')](_0x24e9ad))return!0x0;if(0x2==_0x196b7f&&0x3==_0x3cf91a){const _0x29b8f1=_0x329575['_findSuggestions'](_0x3b57d1,_0x2966('0x49'))['filter'](({suggestion:_0x55a55f,meta:_0x2a811c})=>_0x2a811c[_0x2966('0x3b')]&&_0x2966('0xc')==_0x55a55f[_0x2966('0x20')]);if(_0x29b8f1[_0x2966('0x1')]>0x1&&_0x24e9ad['end'][_0x2966('0x6c')](_0x3b57d1[_0x2966('0x11')]))return!0x0;if(0x1==_0x29b8f1['length']&&(_0x3b57d1[_0x2966('0x11')]['isEqual'](_0x24e9ad[_0x2966('0x5a')])||_0x3b57d1['end'][_0x2966('0x6c')](_0x24e9ad[_0x2966('0x11')])))return!0x0;}if(0x3==_0x196b7f&&0x3==_0x3cf91a&&_0x3b57d1['start'][_0x2966('0x77')](_0x24e9ad[_0x2966('0x11')])){const _0x58e41d=_0x3b57d1[_0x2966('0x5a')][_0x2966('0x14')],_0x2bfe5b=_0x24e9ad[_0x2966('0x11')][_0x2966('0x5c')];return _0x11d5ea[_0x2966('0x2f')](_0x58e41d)&&_0x58e41d===_0x2bfe5b;}return!0x1;}function _0x3fc449(_0x1d5d9d,_0x47a642){return _0xfd6b4(_0x1d5d9d,_0x47a642)?[_0x1d5d9d,_0x47a642]:_0xfd6b4(_0x47a642,_0x1d5d9d)?[_0x47a642,_0x1d5d9d]:null;}_0x541f73[_0x2966('0x46')][_0x2966('0x52')][_0x2966('0x19')](()=>{let _0x60f7db=!0x1;const _0x2eb9e2=Array['from'](_0x541f73[_0x2966('0x46')][_0x2966('0x52')]['differ'][_0x2966('0x3')]());for(const {name:_0x55beb6,data:_0x331b99}of _0x2eb9e2){const {group:_0x3b2a32,type:_0x2b1de6,subType:_0x11fdeb,id:_0x248b38}=_0x329575[_0x2966('0xf')](_0x55beb6);if(_0x2966('0x70')==_0x3b2a32&&_0x329575[_0x2966('0x21')](_0x248b38)){if(_0x2966('0x41')==_0x2b1de6&&(_0x2966('0x59')==_0x11fdeb||'imageStylePostApply'==_0x11fdeb)){const _0x447dda=_0x329575['getSuggestion'](_0x248b38);if(_0x331b99['newRange']){const _0x2a8858=_0x447dda['getFirstRange']()[_0x2966('0x6f')]();if(_0x11d5ea[_0x2966('0x2f')](_0x2a8858))continue;_0x329575[_0x2966('0x0')](_0x447dda),_0x60f7db=!0x0;}}if('insertion'==_0x2b1de6&&_0x2966('0x69')==_0x11fdeb&&!_0x331b99[_0x2966('0x18')]){const _0x41e86a=_0x329575[_0x2966('0x75')](_0x248b38);_0x41e86a[_0x2966('0x2b')]&&_0x41e86a[_0x2966('0x2b')][_0x2966('0x3e')]&&(_0x329575[_0x2966('0x0')](_0x41e86a['next']),_0x60f7db=!0x0);}}}return _0x60f7db;}),_0x541f73[_0x2966('0x36')]['has'](_0x2966('0x2c'))&&_0x329575['enableCommand'](_0x2966('0x33'),(_0x1ce94d,_0xadcba0)=>{const _0x2e6022=_0x11d5ea['getClosestSelectedImageElement'](_0x541f73[_0x2966('0x46')]['document'][_0x2966('0x1b')]);_0x2e6022[_0x2966('0x68')](_0x2966('0x45'))!=_0xadcba0[_0x2966('0x45')]&&_0x541f73[_0x2966('0x46')]['change'](()=>{_0x329575['markBlockFormat'](_0x2e6022,{'commandName':'resizeImage','commandParams':[_0xadcba0]});});}),_0x541f73[_0x2966('0x36')]['has'](_0x2966('0x2'))&&_0x329575[_0x2966('0x3d')]('imageTextAlternative',(_0x420255,_0xe297d9)=>{const _0x1c2952=_0x11d5ea['getClosestSelectedImageElement'](_0x541f73['model'][_0x2966('0x52')][_0x2966('0x1b')]);(_0x1c2952[_0x2966('0x5f')]('alt')?_0x1c2952['getAttribute']('alt'):'')!=_0xe297d9[_0x2966('0x10')]&&_0x541f73[_0x2966('0x46')][_0x2966('0x30')](()=>{_0x329575[_0x2966('0x38')](_0x1c2952,{'commandName':_0x2966('0x23'),'commandParams':[_0xe297d9]});});}),_0x329575[_0x2966('0x7')][_0x2966('0x1e')](_0x2658dd=>{if(!!_0x52d572[_0x2966('0x6b')](({type:_0x5ff341,subType:_0x510a41})=>_0x2658dd[_0x2966('0x3c')]==_0x5ff341&&_0x2658dd[_0x2966('0x20')]==_0x510a41))return _0x2658dd[_0x2966('0x53')]?{}:void 0x0;}),_0x329575['_descriptionFactory'][_0x2966('0x1e')](_0x2a6d0d=>{if(_0x2966('0x49')==_0x2a6d0d[_0x2966('0x3c')]||'deletion'==_0x2a6d0d[_0x2966('0x3c')]){const _0x5cf6b4=_0x2a6d0d[_0x2966('0x6f')]();if(_0x5cf6b4&&_0x5cf6b4['is'](_0x2966('0x8'),_0x2966('0x35')))return{'type':_0x2966('0x49')==_0x2a6d0d['type']?_0x2966('0x1a'):_0x2966('0x62'),'element':_0x5cf6b4,'quantity':0x1};}}),_0x329575[_0x2966('0x7')]['registerDescriptionCallback'](_0x1c7553=>'formatBlock'==_0x1c7553[_0x2966('0x3c')]&&_0x2966('0xc')==_0x1c7553[_0x2966('0x20')]?{'type':_0x2966('0x1f'),'content':_0x2966('0x9')}:'formatBlock'==_0x1c7553[_0x2966('0x3c')]&&_0x2966('0x25')==_0x1c7553[_0x2966('0x20')]?{'type':_0x2966('0x1f'),'content':_0x2966('0x2e')}:void 0x0),_0x329575[_0x2966('0x7')]['registerDescriptionCallback'](_0x6d6596=>{const {data:_0x584f93}=_0x6d6596;if(_0x584f93){if(_0x2966('0xe')==_0x584f93[_0x2966('0x3f')]){const _0x1556b7=_0x584f93[_0x2966('0x6a')][0x0][_0x2966('0x66')];return _0x585ead(_0x2966('0x2d')===_0x1556b7?_0x6db017(_0x2632a4,'FORMAT_SIDE_IMAGE'):_0x51a5e9[_0x1556b7]||_0x1556b7);}if(_0x2966('0x23')==_0x584f93[_0x2966('0x3f')]){const _0x331a2c=_0x584f93[_0x2966('0x6a')][0x0][_0x2966('0x10')];return _0x331a2c?{'type':_0x2966('0x1f'),'content':_0x6db017(_0x2632a4,_0x2966('0x64'),'\x22'+_0x331a2c+'\x22')}:{'type':_0x2966('0x1f'),'content':_0x6db017(_0x2632a4,_0x2966('0x4e'))};}if('resizeImage'==_0x584f93[_0x2966('0x3f')]){const _0x4592e7=_0x584f93[_0x2966('0x6a')][0x0]['width'];return _0x4592e7?{'type':'format','content':_0x6db017(_0x2632a4,_0x2966('0x28'),_0x4592e7)}:{'type':_0x2966('0x1f'),'content':_0x6db017(_0x2632a4,_0x2966('0x39'))};}}function _0x585ead(_0x4f3468){return{'type':_0x2966('0x1f'),'content':_0x6db017(_0x2632a4,_0x2966('0x24'),_0x4f3468)};}});}}
23
+ const _0x209a=['imageInline','has','commandName','*Set\x20image\x20text\x20alternative:*\x20%0','deletion','differ','detach','isBefore','normalizedStyles','previous','plugins','getClosestSelectedImageElement','commandReversedParams','hasSuggestion','_splitMarkerName','findIndex','Users','ImageResize','ImageUtils','isBlockImage','addObject','forEach','ImageCaptionEditing','ELEMENT_IMAGE','find','enableCommand','document','chain','suggestion','_descriptionFactory','registerCustomCallback','subType','isInContent','shouldConvertImageType','fromPosition','get','createRange','TrackChangesEditing','side','isInlineImage','start','end','element','formatInline','insertImage','change','getSuggestion','afterInit','join','alt','getContainedElement','next','convertInlineImageToBlock','ELEMENT_CAPTION','getNearestSelectionRange','ImageEditing','imageTextAlternative','author','Inline\x20image\x20to\x20block\x20image','caption','isIntersecting','imageBlock','nodeBefore','hasAttribute','createRangeOn','format','isCollapsed','backward','ImageUploadEditing','from','filter','imageStyle','commands','refresh','head','insertion','selection','discardSuggestion','resizeImage','toggleImageCaption','registerDescriptionCallback','imageStylePreApply','locale','length','schema','model','newRange','markInsertion','imageTypeBlock','imageCaption','getAttribute','imageTypeInline','registerPostFixer','commandParams','*Set\x20image\x20width:*\x20%0','isEqual','title','ImageStyleEditing','discard','imageStylePostApply','convertBlockImageToInline','markDeletion','getSuggestionCallback','name','isOwn','value','uploadImage','newValue','ImageInlineEditing','registerElementLabel','getFirstRange','markInlineFormat','formatBlock','_suggestionFactory','width','accept','markBlockFormat','_findSuggestions','Block\x20image\x20to\x20inline\x20image','type'];(function(_0x505cf2,_0x209a89){const _0x4e2321=function(_0x1cfb11){while(--_0x1cfb11){_0x505cf2['push'](_0x505cf2['shift']());}};_0x4e2321(++_0x209a89);}(_0x209a,0x1b5));const _0x4e23=function(_0x505cf2,_0x209a89){_0x505cf2=_0x505cf2-0x0;let _0x4e2321=_0x209a[_0x505cf2];return _0x4e2321;};import{Plugin as _0x41771e}from'ckeditor5/src/core';import{LivePosition as _0x18d101}from'ckeditor5/src/engine';import{uid as _0x3438b0}from'ckeditor5/src/utils';import{getTranslation as _0xa770f6}from'../utils/common-translations';export default class X extends _0x41771e{[_0x4e23('0x5a')](){const _0x4c1c28=this['editor'];if(!_0x4c1c28[_0x4e23('0x35')]['has'](_0x4e23('0x62')))return;const _0x5a3c29=_0x4c1c28['plugins'][_0x4e23('0x4e')](_0x4e23('0x50')),_0x2c16a8=_0x4c1c28[_0x4e23('0x35')][_0x4e23('0x4e')](_0x4e23('0x3d')),_0x4f69da={},_0x4c636f=_0x4c1c28[_0x4e23('0x5')];if(_0x5a3c29[_0x4e23('0x44')](_0x4e23('0x57')),_0x5a3c29[_0x4e23('0x48')][_0x4e23('0x20')](_0x4e23('0x68'),_0x523ca3=>_0xa770f6(_0x4c636f,_0x4e23('0x42'),_0x523ca3)),_0x5a3c29[_0x4e23('0x48')][_0x4e23('0x20')](_0x4e23('0x2b'),_0xbe80c6=>_0xa770f6(_0x4c636f,'ELEMENT_INLINE_IMAGE',_0xbe80c6)),_0x5a3c29[_0x4e23('0x48')][_0x4e23('0x20')](_0x4e23('0x66'),()=>_0xa770f6(_0x4c636f,_0x4e23('0x60'))),_0x4c1c28['plugins']['has'](_0x4e23('0x6f'))&&_0x5a3c29[_0x4e23('0x44')](_0x4e23('0x1d')),_0x4c1c28['plugins']['has']('ImageBlockEditing')&&_0x4c1c28['plugins'][_0x4e23('0x2c')](_0x4e23('0x1f'))&&(_0x5a3c29[_0x4e23('0x44')](_0x4e23('0xe'),(_0x4993e0,_0x5c6ef4)=>{const _0xcf1932=_0x2c16a8[_0x4e23('0x36')](_0x4c1c28['model'][_0x4e23('0x45')][_0x4e23('0x77')]);_0x4c1c28[_0x4e23('0x8')][_0x4e23('0x58')](()=>{_0x5a3c29[_0x4e23('0x27')](_0xcf1932,{'commandName':_0x4e23('0xe'),'commandParams':[_0x5c6ef4]},[],_0x4e23('0x17'));});}),_0x5a3c29[_0x4e23('0x44')](_0x4e23('0xb'),(_0x541130,_0x577341)=>{_0x4c1c28['model'][_0x4e23('0x58')](_0xfb2e87=>{let _0x3fb117=_0x2c16a8[_0x4e23('0x36')](_0x4c1c28[_0x4e23('0x8')][_0x4e23('0x45')][_0x4e23('0x77')]),_0x508efc=_0xfb2e87[_0x4e23('0x6b')](_0x3fb117);const _0x2370e8=_0x18d101[_0x4e23('0x4d')](_0x508efc[_0x4e23('0x53')],'toPrevious'),_0x5cc164=_0x18d101[_0x4e23('0x4d')](_0x508efc[_0x4e23('0x54')],'toNext');_0x5a3c29['forceDefaultExecution'](()=>_0x541130(_0x577341)),_0x3fb117=_0x2c16a8[_0x4e23('0x36')](_0x4c1c28[_0x4e23('0x8')][_0x4e23('0x45')][_0x4e23('0x77')]),_0x508efc=_0xfb2e87['createRangeOn'](_0x3fb117);const _0x27f0f0=_0xfb2e87[_0x4e23('0x4f')](_0x2370e8,_0x5cc164);_0x2370e8[_0x4e23('0x31')](),_0x5cc164[_0x4e23('0x31')](),_0x5a3c29[_0x4e23('0x27')](_0x3fb117,{'commandName':_0x4e23('0xe'),'commandParams':[]},[],'convertInlineImageToBlock'),_0x27f0f0[_0x4e23('0x53')][_0x4e23('0x32')](_0x508efc['start'])&&_0x5a3c29[_0x4e23('0xa')](_0xfb2e87[_0x4e23('0x4f')](_0x27f0f0['start'],_0x508efc[_0x4e23('0x53')]),_0x4e23('0x5f')),_0x508efc[_0x4e23('0x54')][_0x4e23('0x32')](_0x27f0f0[_0x4e23('0x54')])&&_0x5a3c29[_0x4e23('0xa')](_0xfb2e87[_0x4e23('0x4f')](_0x508efc[_0x4e23('0x54')],_0x27f0f0['end']),_0x4e23('0x5f'));});}),_0x5a3c29[_0x4e23('0x24')][_0x4e23('0x49')]('formatBlock',_0x4e23('0x5f'),_0x4e23('0x5b'),()=>!0x1),_0x5a3c29[_0x4e23('0x24')][_0x4e23('0x49')](_0x4e23('0x23'),_0x4e23('0x5f'),_0x4e23('0x26'),()=>!0x1),_0x5a3c29[_0x4e23('0x24')][_0x4e23('0x49')]('formatBlock',_0x4e23('0x5f'),_0x4e23('0x15'),_0x5a3c29['_suggestionFactory']['getSuggestionCallback']('formatBlock','',_0x4e23('0x26'))),_0x5a3c29[_0x4e23('0x24')][_0x4e23('0x49')]('insertion',_0x4e23('0x5f'),_0x4e23('0x5b'),()=>!0x1),_0x5a3c29['_suggestionFactory'][_0x4e23('0x49')]('insertion',_0x4e23('0x5f'),'discard',([_0x321489])=>{const _0xfb82da=_0x5a3c29[_0x4e23('0x24')][_0x4e23('0x19')]('insertion','','discard');let _0x3e49fd=_0x321489['start'],_0x46fa55=_0x321489[_0x4e23('0x54')];const _0x2ecb5a=_0x4c1c28[_0x4e23('0x8')]['schema'][_0x4e23('0x61')](_0x3e49fd,_0x4e23('0x6e')),_0x42fbea=_0x4c1c28[_0x4e23('0x8')][_0x4e23('0x7')][_0x4e23('0x61')](_0x46fa55,'forward');_0x2ecb5a['isCollapsed']&&(_0x3e49fd=_0x2ecb5a['start']),_0x42fbea[_0x4e23('0x6d')]&&(_0x46fa55=_0x42fbea[_0x4e23('0x54')]),_0xfb82da([_0x4c1c28['model'][_0x4e23('0x4f')](_0x3e49fd,_0x46fa55)]);}),_0x5a3c29['_suggestionFactory']['registerCustomCallback'](_0x4e23('0x23'),_0x4e23('0x5f'),_0x4e23('0x46'),_0x2c5490),_0x5a3c29[_0x4e23('0x24')][_0x4e23('0x49')](_0x4e23('0x76'),_0x4e23('0x5f'),_0x4e23('0x46'),_0x2c5490)),_0x4c1c28[_0x4e23('0x35')][_0x4e23('0x2c')](_0x4e23('0x41'))&&(_0x5a3c29['enableCommand'](_0x4e23('0x2'),(_0x7f994c,_0x38ec77)=>{const _0xcbeac=_0x4c1c28[_0x4e23('0x35')][_0x4e23('0x4e')]('ImageCaptionUtils');let _0x537ce6=_0x2c16a8['getClosestSelectedImageElement'](_0x4c1c28[_0x4e23('0x8')][_0x4e23('0x45')][_0x4e23('0x77')]),_0x3a02d6=_0xcbeac['getCaptionFromImageModelElement'](_0x537ce6);_0x4c1c28[_0x4e23('0x8')][_0x4e23('0x58')](()=>{if(_0x3a02d6)return void _0x5a3c29[_0x4e23('0x18')](_0x4c1c28[_0x4e23('0x8')][_0x4e23('0x6b')](_0x3a02d6));const _0x2013b6=_0x2c16a8[_0x4e23('0x3e')](_0x537ce6);_0x7f994c(_0x38ec77),_0x537ce6=_0x2c16a8[_0x4e23('0x36')](_0x4c1c28[_0x4e23('0x8')][_0x4e23('0x45')][_0x4e23('0x77')]),_0x3a02d6=_0xcbeac['getCaptionFromImageModelElement'](_0x537ce6),_0x5a3c29[_0x4e23('0xa')](_0x4c1c28[_0x4e23('0x8')]['createRangeOn'](_0x3a02d6),_0x2013b6?null:'imageCaption');});}),_0x5a3c29[_0x4e23('0x24')][_0x4e23('0x49')]('insertion','imageCaption',_0x4e23('0x46'),_0x2c5490)),_0x4c1c28[_0x4e23('0x35')][_0x4e23('0x2c')]('ImageStyleEditing')){_0x5a3c29['enableCommand'](_0x4e23('0x72'),(_0x522146,_0x3b0dae)=>{const _0x4cb30f=_0x4c1c28[_0x4e23('0x35')]['get'](_0x4e23('0x3b'))['me'],_0x2d88d2=_0x4c1c28[_0x4e23('0x73')][_0x4e23('0x4e')](_0x4e23('0x72'));let _0x34974b=_0x2c16a8[_0x4e23('0x36')](_0x4c1c28[_0x4e23('0x8')][_0x4e23('0x45')][_0x4e23('0x77')]),_0x3461c0=_0x4c1c28['model'][_0x4e23('0x6b')](_0x34974b),_0x47fd4a=_0x2d88d2[_0x4e23('0x1c')];if(_0x47fd4a==_0x3b0dae['value'])return;const _0x51d33f={'commandName':_0x4e23('0x72'),'commandParams':[_0x3b0dae],'formatGroupId':_0x3438b0()};_0x4c1c28['model'][_0x4e23('0x58')](()=>{if(_0x5a3c29['getSuggestions']()[_0x4e23('0x71')](_0x1c63b9=>_0x1c63b9[_0x4e23('0x4b')]&&_0x4cb30f==_0x1c63b9[_0x4e23('0x64')]&&('formatBlock'==_0x1c63b9['type']||_0x4e23('0x56')==_0x1c63b9[_0x4e23('0x2a')])&&(_0x4e23('0x4')==_0x1c63b9[_0x4e23('0x4a')]||_0x4e23('0x16')==_0x1c63b9['subType'])&&_0x1c63b9['getFirstRange']()[_0x4e23('0x12')](_0x3461c0))[_0x4e23('0x40')](_0x18eeab=>_0x5a3c29[_0x4e23('0x0')](_0x18eeab[_0x4e23('0x75')])),_0x34974b=_0x2c16a8[_0x4e23('0x36')](_0x4c1c28[_0x4e23('0x8')][_0x4e23('0x45')]['selection']),_0x3461c0=_0x4c1c28[_0x4e23('0x8')][_0x4e23('0x6b')](_0x34974b),_0x2d88d2[_0x4e23('0x74')](),_0x4c1c28['commands']['get'](_0x4e23('0xe'))['refresh'](),_0x4c1c28['commands']['get'](_0x4e23('0xb'))[_0x4e23('0x74')](),_0x47fd4a=_0x2d88d2[_0x4e23('0x1c')],_0x47fd4a!=_0x3b0dae[_0x4e23('0x1c')])return _0x2c16a8[_0x4e23('0x52')](_0x34974b)&&_0x2d88d2[_0x4e23('0x4c')](_0x3b0dae['value'],_0x34974b)?(_0x522146(_0x3b0dae),_0x34974b=_0x2c16a8[_0x4e23('0x36')](_0x4c1c28[_0x4e23('0x8')]['document'][_0x4e23('0x77')]),void _0x5a3c29[_0x4e23('0x27')](_0x34974b,{..._0x51d33f,'commandReversedParams':[{'value':_0x47fd4a||null}]},[],'imageStylePreApply')):void(_0x2c16a8[_0x4e23('0x3e')](_0x34974b)?_0x5a3c29[_0x4e23('0x27')](_0x34974b,_0x51d33f,[],_0x4e23('0x16')):_0x5a3c29[_0x4e23('0x22')](_0x3461c0,_0x51d33f,_0x4e23('0x16')));});});for(const _0x5a84c7 of _0x4c1c28[_0x4e23('0x35')][_0x4e23('0x4e')](_0x4e23('0x14'))[_0x4e23('0x33')])_0x4f69da[_0x5a84c7[_0x4e23('0x1a')]]=_0x5a84c7[_0x4e23('0x13')]['toLowerCase']();_0x5a3c29[_0x4e23('0x24')][_0x4e23('0x49')]('formatBlock',_0x4e23('0x4'),_0x4e23('0x5b'),()=>!0x1),_0x5a3c29[_0x4e23('0x24')][_0x4e23('0x49')](_0x4e23('0x23'),_0x4e23('0x16'),_0x4e23('0x5b'),()=>!0x1),_0x5a3c29[_0x4e23('0x24')]['registerCustomCallback'](_0x4e23('0x56'),_0x4e23('0x16'),'join',()=>!0x1),_0x5a3c29['_suggestionFactory']['registerCustomCallback'](_0x4e23('0x23'),'imageStylePreApply',_0x4e23('0x26'),()=>!0x1),_0x5a3c29[_0x4e23('0x24')][_0x4e23('0x49')]('formatBlock',_0x4e23('0x4'),'discard',(_0x9f323d,_0x516767)=>{_0x5a3c29[_0x4e23('0x24')]['getSuggestionCallback'](_0x4e23('0x23'),'',_0x4e23('0x26'))(_0x9f323d,{'commandName':_0x516767[_0x4e23('0x2d')],'commandParams':_0x516767[_0x4e23('0x37')]});}),_0x5a3c29[_0x4e23('0x24')][_0x4e23('0x49')]('formatBlock',_0x4e23('0x4'),_0x4e23('0x46'),_0x2c5490);}const _0x25705f=[{'type':_0x4e23('0x23'),'subType':_0x4e23('0x4')},{'type':_0x4e23('0x76'),'subType':'imageCaption'},{'type':_0x4e23('0x23'),'subType':_0x4e23('0x5f')},{'type':_0x4e23('0x76'),'subType':_0x4e23('0x5f')}];function _0x4995ef(_0x557ef9,_0x5bb532){const _0x2e00a3=_0x25705f[_0x4e23('0x3a')](({type:_0x5a910b,subType:_0x4236a9})=>_0x557ef9[_0x4e23('0x2a')]==_0x5a910b&&_0x557ef9[_0x4e23('0x4a')]==_0x4236a9),_0x4b1069=_0x25705f[_0x4e23('0x3a')](({type:_0x3fa641,subType:_0x4740ee})=>_0x5bb532[_0x4e23('0x2a')]==_0x3fa641&&_0x5bb532[_0x4e23('0x4a')]==_0x4740ee);if(_0x2e00a3<0x0||_0x4b1069<0x0)return!0x1;const _0xf52619=_0x557ef9[_0x4e23('0x21')](),_0x53f7b1=_0x5bb532['getFirstRange']();if((0x0==_0x2e00a3||0x1==_0x2e00a3)&&0x2==_0x4b1069&&_0xf52619[_0x4e23('0x67')](_0x53f7b1))return!0x0;if(0x2==_0x2e00a3&&0x3==_0x4b1069){const _0x42d060=_0x5a3c29[_0x4e23('0x28')](_0xf52619,_0x4e23('0x76'))['filter'](({suggestion:_0x5385b6,meta:_0x4e590c})=>_0x4e590c[_0x4e23('0x1b')]&&_0x4e23('0x5f')==_0x5385b6[_0x4e23('0x4a')]);if(_0x42d060[_0x4e23('0x6')]>0x1&&_0x53f7b1['end']['isEqual'](_0xf52619[_0x4e23('0x53')]))return!0x0;if(0x1==_0x42d060[_0x4e23('0x6')]&&(_0xf52619['start']['isEqual'](_0x53f7b1[_0x4e23('0x54')])||_0xf52619['end'][_0x4e23('0x12')](_0x53f7b1['start'])))return!0x0;}if(0x3==_0x2e00a3&&0x3==_0x4b1069&&_0xf52619[_0x4e23('0x53')][_0x4e23('0x32')](_0x53f7b1[_0x4e23('0x53')])){const _0x15e98e=_0xf52619[_0x4e23('0x54')]['nodeAfter'],_0x1f3f82=_0x53f7b1['start'][_0x4e23('0x69')];return _0x2c16a8[_0x4e23('0x3e')](_0x15e98e)&&_0x15e98e===_0x1f3f82;}return!0x1;}function _0x2c5490(_0x79623c,_0x547d0e){return _0x4995ef(_0x79623c,_0x547d0e)?[_0x79623c,_0x547d0e]:_0x4995ef(_0x547d0e,_0x79623c)?[_0x547d0e,_0x79623c]:null;}_0x4c1c28[_0x4e23('0x8')][_0x4e23('0x45')][_0x4e23('0xf')](()=>{let _0x1dbf01=!0x1;const _0x259ace=Array[_0x4e23('0x70')](_0x4c1c28['model'][_0x4e23('0x45')][_0x4e23('0x30')]['getChangedMarkers']());for(const {name:_0x311cbd,data:_0x56a3f9}of _0x259ace){const {group:_0x5b8114,type:_0x1a4847,subType:_0x5bbc3b,id:_0x5a8580}=_0x5a3c29[_0x4e23('0x39')](_0x311cbd);if(_0x4e23('0x47')==_0x5b8114&&_0x5a3c29[_0x4e23('0x38')](_0x5a8580)){if(_0x4e23('0x23')==_0x1a4847&&(_0x4e23('0x4')==_0x5bbc3b||_0x4e23('0x16')==_0x5bbc3b)){const _0x228fc9=_0x5a3c29[_0x4e23('0x59')](_0x5a8580);if(_0x56a3f9[_0x4e23('0x9')]){const _0x1463b4=_0x228fc9[_0x4e23('0x21')]()[_0x4e23('0x5d')]();if(_0x2c16a8[_0x4e23('0x3e')](_0x1463b4))continue;_0x5a3c29['discardSuggestion'](_0x228fc9),_0x1dbf01=!0x0;}}if(_0x4e23('0x76')==_0x1a4847&&_0x4e23('0xc')==_0x5bbc3b&&!_0x56a3f9[_0x4e23('0x9')]){const _0x14cf78=_0x5a3c29[_0x4e23('0x59')](_0x5a8580);_0x14cf78[_0x4e23('0x5e')]&&_0x14cf78['next'][_0x4e23('0x4b')]&&(_0x5a3c29[_0x4e23('0x0')](_0x14cf78[_0x4e23('0x5e')]),_0x1dbf01=!0x0);}}}return _0x1dbf01;}),_0x4c1c28[_0x4e23('0x35')]['has'](_0x4e23('0x3c'))&&_0x5a3c29[_0x4e23('0x44')](_0x4e23('0x1'),(_0x4fdc11,_0x4daeee)=>{const _0x25e4e7=_0x2c16a8[_0x4e23('0x36')](_0x4c1c28[_0x4e23('0x8')][_0x4e23('0x45')]['selection']);_0x25e4e7[_0x4e23('0xd')](_0x4e23('0x25'))!=_0x4daeee[_0x4e23('0x25')]&&_0x4c1c28['model'][_0x4e23('0x58')](()=>{_0x5a3c29['markBlockFormat'](_0x25e4e7,{'commandName':_0x4e23('0x1'),'commandParams':[_0x4daeee]});});}),_0x4c1c28[_0x4e23('0x35')][_0x4e23('0x2c')]('ImageTextAlternativeEditing')&&_0x5a3c29[_0x4e23('0x44')](_0x4e23('0x63'),(_0x167490,_0x3a95f)=>{const _0x3c8846=_0x2c16a8['getClosestSelectedImageElement'](_0x4c1c28[_0x4e23('0x8')][_0x4e23('0x45')]['selection']);(_0x3c8846[_0x4e23('0x6a')](_0x4e23('0x5c'))?_0x3c8846[_0x4e23('0xd')](_0x4e23('0x5c')):'')!=_0x3a95f[_0x4e23('0x1e')]&&_0x4c1c28[_0x4e23('0x8')][_0x4e23('0x58')](()=>{_0x5a3c29[_0x4e23('0x27')](_0x3c8846,{'commandName':'imageTextAlternative','commandParams':[_0x3a95f]});});}),_0x5a3c29[_0x4e23('0x48')][_0x4e23('0x3')](_0x26e639=>{if(!!_0x25705f[_0x4e23('0x43')](({type:_0x28b9e5,subType:_0x5769b5})=>_0x26e639[_0x4e23('0x2a')]==_0x28b9e5&&_0x26e639[_0x4e23('0x4a')]==_0x5769b5))return _0x26e639[_0x4e23('0x34')]?{}:void 0x0;}),_0x5a3c29[_0x4e23('0x48')][_0x4e23('0x3')](_0x58be00=>{if(_0x4e23('0x76')==_0x58be00[_0x4e23('0x2a')]||_0x4e23('0x2f')==_0x58be00[_0x4e23('0x2a')]){const _0x1465d2=_0x58be00[_0x4e23('0x5d')]();if(_0x1465d2&&_0x1465d2['is'](_0x4e23('0x55'),_0x4e23('0x66')))return{'type':'insertion'==_0x58be00['type']?_0x4e23('0x3f'):'removeObject','element':_0x1465d2,'quantity':0x1};}}),_0x5a3c29[_0x4e23('0x48')][_0x4e23('0x3')](_0x113771=>_0x4e23('0x23')==_0x113771['type']&&_0x4e23('0x5f')==_0x113771[_0x4e23('0x4a')]?{'type':_0x4e23('0x6c'),'content':_0x4e23('0x65')}:_0x4e23('0x23')==_0x113771['type']&&_0x4e23('0x17')==_0x113771['subType']?{'type':_0x4e23('0x6c'),'content':_0x4e23('0x29')}:void 0x0),_0x5a3c29['_descriptionFactory'][_0x4e23('0x3')](_0x3a5132=>{const {data:_0x7ce7e3}=_0x3a5132;if(_0x7ce7e3){if(_0x4e23('0x72')==_0x7ce7e3[_0x4e23('0x2d')]){const _0x56451d=_0x7ce7e3[_0x4e23('0x10')][0x0][_0x4e23('0x1c')];return _0x26a100(_0x4e23('0x51')===_0x56451d?_0xa770f6(_0x4c636f,'FORMAT_SIDE_IMAGE'):_0x4f69da[_0x56451d]||_0x56451d);}if(_0x4e23('0x63')==_0x7ce7e3[_0x4e23('0x2d')]){const _0x5d3680=_0x7ce7e3[_0x4e23('0x10')][0x0][_0x4e23('0x1e')];return _0x5d3680?{'type':_0x4e23('0x6c'),'content':_0xa770f6(_0x4c636f,_0x4e23('0x2e'),'\x22'+_0x5d3680+'\x22')}:{'type':_0x4e23('0x6c'),'content':_0xa770f6(_0x4c636f,'*Remove\x20image\x20text\x20alternative*')};}if('resizeImage'==_0x7ce7e3[_0x4e23('0x2d')]){const _0x63b9cc=_0x7ce7e3[_0x4e23('0x10')][0x0][_0x4e23('0x25')];return _0x63b9cc?{'type':_0x4e23('0x6c'),'content':_0xa770f6(_0x4c636f,_0x4e23('0x11'),_0x63b9cc)}:{'type':_0x4e23('0x6c'),'content':_0xa770f6(_0x4c636f,'*Reset\x20image\x20width*')};}}function _0x26a100(_0x47f390){return{'type':_0x4e23('0x6c'),'content':_0xa770f6(_0x4c636f,'*Format:*\x20%0',_0x47f390)};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3d56=['replaceImageSource','model','commandParams','_suggestionFactory','registerCustomCallback','get','getSuggestions','enableCommand','formatBlock','source','handleSuggestionDescription','getSuggestionCallback','locale','*Format:*\x20replace\x20image\x20URL','ImageEditing','discard','accept','plugins','editor','getContainedElement','_descriptionFactory','markBlockFormat','author','afterInit','change','has','commandName','selection','handleReplaceImageCommand','getAttribute','format','src','TrackChangesEditing'];(function(_0x3a1d94,_0x3d567c){const _0x1d185c=function(_0x456382){while(--_0x456382){_0x3a1d94['push'](_0x3a1d94['shift']());}};_0x1d185c(++_0x3d567c);}(_0x3d56,0x73));const _0x1d18=function(_0x3a1d94,_0x3d567c){_0x3a1d94=_0x3a1d94-0x0;let _0x1d185c=_0x3d56[_0x3a1d94];return _0x1d185c;};import{Plugin as _0x2d3ed1}from'ckeditor5/src/core';import{getTranslation as _0x2dfaa0}from'../utils/common-translations';export default class Y extends _0x2d3ed1{[_0x1d18('0x7')](){if(!this['editor'][_0x1d18('0x1')][_0x1d18('0x9')](_0x1d18('0x1f')))return;const _0x57de8b=this['editor'][_0x1d18('0x1')][_0x1d18('0x16')](_0x1d18('0x10'));_0x57de8b[_0x1d18('0x18')](_0x1d18('0x11'),(_0x49affb,_0x48b17e)=>this[_0x1d18('0xc')](_0x49affb,_0x48b17e)),_0x57de8b[_0x1d18('0x14')][_0x1d18('0x15')](_0x1d18('0x19'),_0x1d18('0x11'),'accept',_0x57de8b[_0x1d18('0x14')][_0x1d18('0x1c')](_0x1d18('0x19'),null,_0x1d18('0x20'))),_0x57de8b['_suggestionFactory'][_0x1d18('0x15')](_0x1d18('0x19'),_0x1d18('0x11'),_0x1d18('0x20'),_0x57de8b['_suggestionFactory'][_0x1d18('0x1c')](_0x1d18('0x19'),null,_0x1d18('0x0'))),_0x57de8b[_0x1d18('0x4')]['registerDescriptionCallback'](_0x215316=>this[_0x1d18('0x1b')](_0x215316));}['handleReplaceImageCommand'](_0x5d5641,_0x4188bf){const _0xb3d41c=this[_0x1d18('0x2')][_0x1d18('0x1')][_0x1d18('0x16')](_0x1d18('0x10')),_0x450ede=this[_0x1d18('0x2')]['model']['document'][_0x1d18('0xb')]['getSelectedElement']();this['editor'][_0x1d18('0x12')][_0x1d18('0x8')](()=>{let _0x3fcfed=_0x450ede[_0x1d18('0xd')](_0x1d18('0xf'));const _0x100f7a=this[_0x1d18('0x2')][_0x1d18('0x1')][_0x1d18('0x16')]('Users')['me'];for(const _0x543b70 of _0xb3d41c[_0x1d18('0x17')]({'skipNotAttached':!0x0})){const _0x1b2d36=_0x543b70[_0x1d18('0x3')]();if(_0x1d18('0x11')===_0x543b70['subType']&&_0x1b2d36===_0x450ede){_0x543b70[_0x1d18('0x6')]!==_0x100f7a&&_0x543b70[_0x1d18('0x20')](),_0x3fcfed=_0x543b70['data'][_0x1d18('0x13')][0x0][_0x1d18('0x1a')];break;}}_0x5d5641(_0x4188bf),_0xb3d41c[_0x1d18('0x5')](_0x450ede,{'commandName':_0x1d18('0x11'),'commandParams':[{'source':_0x3fcfed}]},[],_0x1d18('0x11'));});}[_0x1d18('0x1b')](_0x48ebdb){const {data:_0x13bd48}=_0x48ebdb;if(_0x13bd48&&_0x1d18('0x11')===_0x13bd48[_0x1d18('0xa')]){const _0x31b24c=_0x1d18('0x1e');return{'type':_0x1d18('0xe'),'content':_0x2dfaa0(this[_0x1d18('0x2')][_0x1d18('0x1d')],_0x31b24c)};}}}
23
+ const _0x4dbd=['commandName','discard','commandParams','TrackChangesEditing','Users','locale','handleSuggestionDescription','format','getSuggestionCallback','replaceImageSource','getSelectedElement','_suggestionFactory','formatBlock','markBlockFormat','selection','subType','plugins','editor','handleReplaceImageCommand','enableCommand','afterInit','data','registerCustomCallback','author','has','_descriptionFactory','model','getAttribute','ImageEditing','accept','get','change'];(function(_0x51b813,_0x4dbda7){const _0xdf30b=function(_0xc51374){while(--_0xc51374){_0x51b813['push'](_0x51b813['shift']());}};_0xdf30b(++_0x4dbda7);}(_0x4dbd,0x79));const _0xdf30=function(_0x51b813,_0x4dbda7){_0x51b813=_0x51b813-0x0;let _0xdf30b=_0x4dbd[_0x51b813];return _0xdf30b;};import{Plugin as _0x2265c6}from'ckeditor5/src/core';import{getTranslation as _0x198d82}from'../utils/common-translations';export default class Y extends _0x2265c6{[_0xdf30('0x1b')](){if(!this['editor']['plugins'][_0xdf30('0x1f')](_0xdf30('0x3')))return;const _0x13d8e5=this[_0xdf30('0x18')][_0xdf30('0x17')][_0xdf30('0x5')]('TrackChangesEditing');_0x13d8e5[_0xdf30('0x1a')](_0xdf30('0x10'),(_0x5c6df3,_0x316eb7)=>this['handleReplaceImageCommand'](_0x5c6df3,_0x316eb7)),_0x13d8e5[_0xdf30('0x12')][_0xdf30('0x1d')](_0xdf30('0x13'),_0xdf30('0x10'),_0xdf30('0x4'),_0x13d8e5[_0xdf30('0x12')][_0xdf30('0xf')](_0xdf30('0x13'),null,_0xdf30('0x8'))),_0x13d8e5['_suggestionFactory'][_0xdf30('0x1d')](_0xdf30('0x13'),_0xdf30('0x10'),'discard',_0x13d8e5[_0xdf30('0x12')][_0xdf30('0xf')](_0xdf30('0x13'),null,_0xdf30('0x4'))),_0x13d8e5[_0xdf30('0x0')]['registerDescriptionCallback'](_0x281e38=>this[_0xdf30('0xd')](_0x281e38));}[_0xdf30('0x19')](_0x5bbf06,_0x3ab31f){const _0x29f770=this['editor'][_0xdf30('0x17')][_0xdf30('0x5')](_0xdf30('0xa')),_0x48ff20=this[_0xdf30('0x18')][_0xdf30('0x1')]['document'][_0xdf30('0x15')][_0xdf30('0x11')]();this[_0xdf30('0x18')]['model'][_0xdf30('0x6')](()=>{let _0xbf0ffd=_0x48ff20[_0xdf30('0x2')]('src');const _0x474839=this[_0xdf30('0x18')][_0xdf30('0x17')]['get'](_0xdf30('0xb'))['me'];for(const _0x301b10 of _0x29f770['getSuggestions']({'skipNotAttached':!0x0})){const _0x30d59d=_0x301b10['getContainedElement']();if(_0xdf30('0x10')===_0x301b10[_0xdf30('0x16')]&&_0x30d59d===_0x48ff20){_0x301b10[_0xdf30('0x1e')]!==_0x474839&&_0x301b10['discard'](),_0xbf0ffd=_0x301b10[_0xdf30('0x1c')][_0xdf30('0x9')][0x0]['source'];break;}}_0x5bbf06(_0x3ab31f),_0x29f770[_0xdf30('0x14')](_0x48ff20,{'commandName':_0xdf30('0x10'),'commandParams':[{'source':_0xbf0ffd}]},[],_0xdf30('0x10'));});}[_0xdf30('0xd')](_0x58c8dc){const {data:_0x2e2480}=_0x58c8dc;if(_0x2e2480&&'replaceImageSource'===_0x2e2480[_0xdf30('0x7')]){const _0x5d5a21='*Format:*\x20replace\x20image\x20URL';return{'type':_0xdf30('0xe'),'content':_0x198d82(this[_0xdf30('0x18')][_0xdf30('0xc')],_0x5d5a21)};}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x212b=['collaboration_features','_trackChangesExecuted','_handleImportedData','listenTo','importWord','bind','plugins','get','execute','lowest','value','commands','TrackChangesEditing','trackChanges','_setSuggestionData','Users','dataInsert','enableCommand','editor','_trackChangesValueDuringImport'];(function(_0x3ba653,_0x212b4d){const _0x10f875=function(_0x2aa453){while(--_0x2aa453){_0x3ba653['push'](_0x3ba653['shift']());}};_0x10f875(++_0x212b4d);}(_0x212b,0x15e));const _0x10f8=function(_0x3ba653,_0x212b4d){_0x3ba653=_0x3ba653-0x0;let _0x10f875=_0x212b[_0x3ba653];return _0x10f875;};import{Plugin as _0xc704b4}from'ckeditor5/src/core';export default class Z extends _0xc704b4{constructor(_0x156609){super(_0x156609),this[_0x10f8('0x9')]=!0x1,this[_0x10f8('0xb')]=!0x1;}['afterInit'](){const _0x37397f=this[_0x10f8('0x8')],_0x24704e=_0x37397f[_0x10f8('0x1')][_0x10f8('0x11')](_0x10f8('0xe')),_0x2de6ad=_0x37397f['commands'][_0x10f8('0x11')](_0x10f8('0x3'));_0x24704e&&(_0x24704e['on'](_0x10f8('0x12'),(_0x2774d9,[,_0xd186dc])=>{this[_0x10f8('0x9')]=_0x2de6ad[_0x10f8('0x0')],_0xd186dc[_0x10f8('0xa')]['track_changes']=!this[_0x10f8('0x9')];},{'priority':'high'}),this[_0x10f8('0xd')](_0x24704e,_0x10f8('0x6'),this['_handleImportedData'][_0x10f8('0xf')](this)),this[_0x10f8('0xd')](_0x24704e,_0x10f8('0x6'),()=>{this[_0x10f8('0xb')]&&(_0x2de6ad[_0x10f8('0x12')](),this['_trackChangesExecuted']=!0x1);},{'priority':_0x10f8('0x13')}),_0x37397f[_0x10f8('0x10')][_0x10f8('0x11')](_0x10f8('0x2'))[_0x10f8('0x7')]('importWord'));}[_0x10f8('0xc')](_0x128759,_0x37171f){const {suggestions:_0x35d5a5}=_0x37171f,_0xf1fb38=this[_0x10f8('0x8')][_0x10f8('0x1')]['get'](_0x10f8('0x3')),_0x2c543c=_0xf1fb38[_0x10f8('0x0')];this[_0x10f8('0x9')]!==_0x2c543c&&(_0xf1fb38[_0x10f8('0x12')](),this['_trackChangesExecuted']=!0x0),_0x35d5a5&&_0x35d5a5['forEach'](({id:_0x67745a,type:_0x616279,author:_0x5f54db,created_at:_0x5702eb})=>{const _0x1d541b={'id':_0x67745a,'type':_0x616279,'authorId':this[_0x10f8('0x8')][_0x10f8('0x10')]['get'](_0x10f8('0x5'))['me']['id'],'createdAt':new Date(),'data':null,'hasComments':!0x1,'attributes':{'@external':{'authorName':_0x5f54db,'createdAt':_0x5702eb?new Date(_0x5702eb):new Date(),'source':'importWord'}}};this[_0x10f8('0x8')]['plugins'][_0x10f8('0x11')](_0x10f8('0x2'))[_0x10f8('0x4')](_0x1d541b);});}}
23
+ const _0x46c5=['lowest','editor','commands','forEach','importWord','_trackChangesExecuted','listenTo','execute','_trackChangesValueDuringImport','TrackChangesEditing','collaboration_features','track_changes','bind','_handleImportedData','_setSuggestionData','value','trackChanges','high','enableCommand','Users','dataInsert','get','plugins'];(function(_0x11f07f,_0x46c5d9){const _0x5c5888=function(_0x252cd3){while(--_0x252cd3){_0x11f07f['push'](_0x11f07f['shift']());}};_0x5c5888(++_0x46c5d9);}(_0x46c5,0xaf));const _0x5c58=function(_0x11f07f,_0x46c5d9){_0x11f07f=_0x11f07f-0x0;let _0x5c5888=_0x46c5[_0x11f07f];return _0x5c5888;};import{Plugin as _0xf8e95b}from'ckeditor5/src/core';export default class Z extends _0xf8e95b{constructor(_0x3b1cd8){super(_0x3b1cd8),this['_trackChangesValueDuringImport']=!0x1,this[_0x5c58('0xe')]=!0x1;}['afterInit'](){const _0x368a37=this['editor'],_0x509956=_0x368a37['commands'][_0x5c58('0x7')]('importWord'),_0x4a3853=_0x368a37['commands']['get']('trackChanges');_0x509956&&(_0x509956['on'](_0x5c58('0x10'),(_0x1ea8df,[,_0x4e11c4])=>{this['_trackChangesValueDuringImport']=_0x4a3853[_0x5c58('0x1')],_0x4e11c4[_0x5c58('0x13')][_0x5c58('0x14')]=!this[_0x5c58('0x11')];},{'priority':_0x5c58('0x3')}),this['listenTo'](_0x509956,_0x5c58('0x6'),this[_0x5c58('0x16')][_0x5c58('0x15')](this)),this[_0x5c58('0xf')](_0x509956,'dataInsert',()=>{this[_0x5c58('0xe')]&&(_0x4a3853[_0x5c58('0x10')](),this[_0x5c58('0xe')]=!0x1);},{'priority':_0x5c58('0x9')}),_0x368a37[_0x5c58('0x8')]['get'](_0x5c58('0x12'))[_0x5c58('0x4')](_0x5c58('0xd')));}['_handleImportedData'](_0x5d7f0d,_0x164620){const {suggestions:_0x2fda4d}=_0x164620,_0x3b23ab=this[_0x5c58('0xa')][_0x5c58('0xb')]['get'](_0x5c58('0x2')),_0x50ba10=_0x3b23ab[_0x5c58('0x1')];this['_trackChangesValueDuringImport']!==_0x50ba10&&(_0x3b23ab[_0x5c58('0x10')](),this['_trackChangesExecuted']=!0x0),_0x2fda4d&&_0x2fda4d[_0x5c58('0xc')](({id:_0x438596,type:_0x52633e,author:_0x266051,created_at:_0x1d1fee})=>{const _0x5ca039={'id':_0x438596,'type':_0x52633e,'authorId':this[_0x5c58('0xa')][_0x5c58('0x8')]['get'](_0x5c58('0x5'))['me']['id'],'createdAt':new Date(),'data':null,'hasComments':!0x1,'attributes':{'@external':{'authorName':_0x266051,'createdAt':_0x1d1fee?new Date(_0x1d1fee):new Date(),'source':_0x5c58('0xd')}}};this[_0x5c58('0xa')][_0x5c58('0x8')][_0x5c58('0x7')](_0x5c58('0x12'))[_0x5c58('0x0')](_0x5ca039);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4cc6=['indent','format','registerDescriptionCallback','model','document','editor','locale','*Outdent:*\x20%0','blockIndent','plugins','_descriptionFactory','selection','IndentBlock','commandName','outdentBlock','*Indent:*\x20%0','getItems','schema','indentBlock','IndentEditing','enableCommand','has','getSelectedBlocks','filter','markBlockFormat','change','afterInit'];(function(_0x3578e3,_0x4cc6dd){const _0x15751a=function(_0x230d08){while(--_0x230d08){_0x3578e3['push'](_0x3578e3['shift']());}};_0x15751a(++_0x4cc6dd);}(_0x4cc6,0x144));const _0x1575=function(_0x3578e3,_0x4cc6dd){_0x3578e3=_0x3578e3-0x0;let _0x15751a=_0x4cc6[_0x3578e3];return _0x15751a;};import{Plugin as _0x494f7e}from'ckeditor5/src/core';import{getTranslation as _0xae5c63}from'../utils/common-translations';export default class tt extends _0x494f7e{[_0x1575('0x1a')](){const _0x2ac7c3=this[_0x1575('0x5')],_0x1c635d=_0x2ac7c3[_0x1575('0x9')]['get']('TrackChangesEditing');_0x2ac7c3[_0x1575('0x9')][_0x1575('0x15')](_0x1575('0x13'))&&(_0x1c635d[_0x1575('0x14')](_0x1575('0x0')),_0x1c635d['enableCommand']('outdent'));const _0x138400=_0x2ac7c3[_0x1575('0x6')];if(_0x2ac7c3['plugins'][_0x1575('0x15')](_0x1575('0xc'))){for(const _0x3892d8 of[_0x1575('0x12'),'outdentBlock'])_0x1c635d[_0x1575('0x14')](_0x3892d8,()=>{const _0x2bc07c=Array['from'](this[_0x1575('0x5')][_0x1575('0x3')][_0x1575('0x4')][_0x1575('0xb')][_0x1575('0x16')]())[_0x1575('0x17')](_0x4b23c0=>this[_0x1575('0x5')][_0x1575('0x3')][_0x1575('0x11')]['checkAttribute'](_0x4b23c0,_0x1575('0x8')));_0x2ac7c3[_0x1575('0x3')][_0x1575('0x19')](()=>{for(const _0x56ad82 of _0x2bc07c)_0x1c635d[_0x1575('0x18')](_0x56ad82,{'commandName':_0x3892d8,'commandParams':[{'value':''}],'formatGroupId':_0x1575('0x12')});});});_0x1c635d[_0x1575('0xa')][_0x1575('0x2')](_0x1edb9e=>{const {data:_0x41f4df}=_0x1edb9e;if(!_0x41f4df)return;if(_0x1575('0x12')!=_0x41f4df[_0x1575('0xd')]&&_0x1575('0xe')!=_0x41f4df[_0x1575('0xd')])return;const _0x237eb5=_0x1edb9e[_0x1575('0x10')]()[0x0],_0x2ea9aa=_0x1c635d['_descriptionFactory']['getItemLabel'](_0x237eb5);return'indentBlock'==_0x41f4df['commandName']?{'type':_0x1575('0x1'),'content':_0xae5c63(_0x138400,_0x1575('0xf'),_0x2ea9aa)}:'outdentBlock'==_0x41f4df[_0x1575('0xd')]?{'type':_0x1575('0x1'),'content':_0xae5c63(_0x138400,_0x1575('0x7'),_0x2ea9aa)}:void 0x0;});}}}
23
+ const _0x1cfd=['indentBlock','*Indent:*\x20%0','locale','filter','document','has','afterInit','model','commandName','_descriptionFactory','*Outdent:*\x20%0','outdentBlock','getItemLabel','editor','indent','IndentEditing','change','outdent','registerDescriptionCallback','getSelectedBlocks','format','enableCommand','plugins'];(function(_0x4ff287,_0x1cfd1){const _0x2bff1e=function(_0xe3352a){while(--_0xe3352a){_0x4ff287['push'](_0x4ff287['shift']());}};_0x2bff1e(++_0x1cfd1);}(_0x1cfd,0x1b4));const _0x2bff=function(_0x4ff287,_0x1cfd1){_0x4ff287=_0x4ff287-0x0;let _0x2bff1e=_0x1cfd[_0x4ff287];return _0x2bff1e;};import{Plugin as _0x9c3df1}from'ckeditor5/src/core';import{getTranslation as _0x4c3707}from'../utils/common-translations';export default class tt extends _0x9c3df1{[_0x2bff('0x7')](){const _0x4172b3=this[_0x2bff('0xe')],_0x439d85=_0x4172b3[_0x2bff('0x0')]['get']('TrackChangesEditing');_0x4172b3[_0x2bff('0x0')][_0x2bff('0x6')](_0x2bff('0x10'))&&(_0x439d85[_0x2bff('0x16')](_0x2bff('0xf')),_0x439d85[_0x2bff('0x16')](_0x2bff('0x12')));const _0x66ff37=_0x4172b3[_0x2bff('0x3')];if(_0x4172b3['plugins'][_0x2bff('0x6')]('IndentBlock')){for(const _0x5e04c4 of[_0x2bff('0x1'),'outdentBlock'])_0x439d85[_0x2bff('0x16')](_0x5e04c4,()=>{const _0x3b601e=Array['from'](this['editor'][_0x2bff('0x8')][_0x2bff('0x5')]['selection'][_0x2bff('0x14')]())[_0x2bff('0x4')](_0x451768=>this[_0x2bff('0xe')][_0x2bff('0x8')]['schema']['checkAttribute'](_0x451768,'blockIndent'));_0x4172b3[_0x2bff('0x8')][_0x2bff('0x11')](()=>{for(const _0x1e9b6c of _0x3b601e)_0x439d85['markBlockFormat'](_0x1e9b6c,{'commandName':_0x5e04c4,'commandParams':[{'value':''}],'formatGroupId':'indentBlock'});});});_0x439d85[_0x2bff('0xa')][_0x2bff('0x13')](_0x490238=>{const {data:_0x33d8c4}=_0x490238;if(!_0x33d8c4)return;if(_0x2bff('0x1')!=_0x33d8c4[_0x2bff('0x9')]&&'outdentBlock'!=_0x33d8c4[_0x2bff('0x9')])return;const _0x30765a=_0x490238['getItems']()[0x0],_0x3788c1=_0x439d85['_descriptionFactory'][_0x2bff('0xd')](_0x30765a);return _0x2bff('0x1')==_0x33d8c4[_0x2bff('0x9')]?{'type':_0x2bff('0x15'),'content':_0x4c3707(_0x66ff37,_0x2bff('0x2'),_0x3788c1)}:_0x2bff('0xc')==_0x33d8c4['commandName']?{'type':_0x2bff('0x15'),'content':_0x4c3707(_0x66ff37,_0x2bff('0xb'),_0x3788c1)}:void 0x0;});}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x275a=['editor','plugins','input','init','TrackChangesEditing'];(function(_0x1cb779,_0x275ae0){var _0x552c97=function(_0xfe9ece){while(--_0xfe9ece){_0x1cb779['push'](_0x1cb779['shift']());}};_0x552c97(++_0x275ae0);}(_0x275a,0xdc));var _0x552c=function(_0x1cb779,_0x275ae0){_0x1cb779=_0x1cb779-0x0;var _0x552c97=_0x275a[_0x1cb779];return _0x552c97;};import{Plugin as _0x317931}from'ckeditor5/src/core';import{Input as _0x47c477}from'ckeditor5/src/typing';export default class it extends _0x317931{static get['requires'](){return[_0x47c477];}[_0x552c('0x3')](){this[_0x552c('0x0')][_0x552c('0x1')]['get'](_0x552c('0x4'))['enableCommand'](_0x552c('0x2'));}}
23
+ var _0x18a7=['input','TrackChangesEditing','requires','get','editor','enableCommand','plugins'];(function(_0x33fa0c,_0x18a71d){var _0x305dbe=function(_0x53f5ef){while(--_0x53f5ef){_0x33fa0c['push'](_0x33fa0c['shift']());}};_0x305dbe(++_0x18a71d);}(_0x18a7,0x13e));var _0x305d=function(_0x33fa0c,_0x18a71d){_0x33fa0c=_0x33fa0c-0x0;var _0x305dbe=_0x18a7[_0x33fa0c];return _0x305dbe;};import{Plugin as _0x2b4707}from'ckeditor5/src/core';import{Input as _0x1f4a59}from'ckeditor5/src/typing';export default class it extends _0x2b4707{static get[_0x305d('0x6')](){return[_0x1f4a59];}['init'](){this[_0x305d('0x1')][_0x305d('0x3')][_0x305d('0x0')](_0x305d('0x5'))[_0x305d('0x2')](_0x305d('0x4'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x137a=['document','plugins','format','getRanges','model','getAttribute','get','commandParams','_descriptionFactory','*Set\x20link:*\x20%0','has','locale','change','linkHref','hasAttribute','*Remove\x20link*','LinkEditing','getFirstRange','getFirstPosition','from','link','editor','unlink','selection','registerDescriptionCallback','commandName','enableCommand'];(function(_0x2b3bff,_0x137a23){const _0x4671d8=function(_0x4824ac){while(--_0x4824ac){_0x2b3bff['push'](_0x2b3bff['shift']());}};_0x4671d8(++_0x137a23);}(_0x137a,0x119));const _0x4671=function(_0x2b3bff,_0x137a23){_0x2b3bff=_0x2b3bff-0x0;let _0x4671d8=_0x137a[_0x2b3bff];return _0x4671d8;};import{Plugin as _0x46d4e0}from'ckeditor5/src/core';import{findAttributeRange as _0xb362c8}from'ckeditor5/src/typing';import{getRangesWithAttribute as _0x474e53}from'./utils';import{getTranslation as _0x428530}from'../utils/common-translations';export default class et extends _0x46d4e0{['afterInit'](){const _0x35bcc9=this[_0x4671('0xa')];if(!_0x35bcc9[_0x4671('0x11')][_0x4671('0x1a')](_0x4671('0x5')))return;const _0x3e0e9d=_0x35bcc9[_0x4671('0x11')][_0x4671('0x16')]('TrackChangesEditing');_0x3e0e9d[_0x4671('0xf')](_0x4671('0x9'),(_0x2e200b,_0x4c2b07)=>{const _0x3dd468=_0x35bcc9['model'][_0x4671('0x10')][_0x4671('0xc')];let _0x1913f2=[];if(_0x3dd468['isCollapsed']){if(!_0x3dd468[_0x4671('0x3')](_0x4671('0x2')))return void _0x2e200b(_0x4c2b07);{const _0x52bda1=_0xb362c8(_0x3dd468[_0x4671('0x7')](),'linkHref',_0x3dd468['getAttribute'](_0x4671('0x2')),_0x35bcc9[_0x4671('0x14')]);_0x1913f2=[_0x52bda1];}}else _0x1913f2=Array[_0x4671('0x8')](_0x3dd468[_0x4671('0x13')]());_0x35bcc9['model'][_0x4671('0x1')](()=>{for(const _0x566221 of _0x1913f2)_0x3e0e9d['markInlineFormat'](_0x566221,{'commandName':_0x4671('0x9'),'commandParams':[_0x4c2b07]});});}),_0x3e0e9d[_0x4671('0xf')](_0x4671('0xb'),()=>{const _0x2a3551=this[_0x4671('0xa')][_0x4671('0x14')],_0x61ba70=_0x2a3551[_0x4671('0x10')][_0x4671('0xc')];_0x2a3551['change'](()=>{let _0x1ae1e5=[];if(_0x61ba70['isCollapsed'])_0x1ae1e5=[_0xb362c8(_0x61ba70[_0x4671('0x7')](),_0x4671('0x2'),_0x61ba70[_0x4671('0x15')](_0x4671('0x2')),_0x35bcc9[_0x4671('0x14')])];else _0x1ae1e5=_0x474e53('linkHref',_0x61ba70[_0x4671('0x6')](),_0x35bcc9['model']);for(const _0x57ea08 of _0x1ae1e5)_0x3e0e9d['markInlineFormat'](_0x57ea08,{'commandName':_0x4671('0xb'),'commandParams':[]});});}),_0x3e0e9d[_0x4671('0x18')][_0x4671('0xd')](_0x37a840=>{const {data:_0x36fcad}=_0x37a840,_0x455004=_0x35bcc9[_0x4671('0x0')];if(_0x36fcad){if(_0x4671('0x9')==_0x36fcad[_0x4671('0xe')]){const _0x38aa90=_0x36fcad[_0x4671('0x17')][0x0];return{'type':_0x4671('0x12'),'content':_0x428530(_0x455004,_0x4671('0x19'),'\x22'+_0x38aa90+'\x22')};}return _0x4671('0xb')==_0x36fcad[_0x4671('0xe')]?{'type':'format','content':_0x428530(_0x455004,_0x4671('0x4'))}:void 0x0;}});}}
23
+ const _0x11c5=['hasAttribute','enableCommand','change','linkHref','getAttribute','isCollapsed','has','getRanges','LinkEditing','model','registerDescriptionCallback','markInlineFormat','link','plugins','*Set\x20link:*\x20%0','getFirstPosition','commandName','document','format','selection','afterInit','unlink','editor','TrackChangesEditing'];(function(_0x4128a3,_0x11c566){const _0xf0eedc=function(_0x249b14){while(--_0x249b14){_0x4128a3['push'](_0x4128a3['shift']());}};_0xf0eedc(++_0x11c566);}(_0x11c5,0x175));const _0xf0ee=function(_0x4128a3,_0x11c566){_0x4128a3=_0x4128a3-0x0;let _0xf0eedc=_0x11c5[_0x4128a3];return _0xf0eedc;};import{Plugin as _0x310a38}from'ckeditor5/src/core';import{findAttributeRange as _0x4b63d6}from'ckeditor5/src/typing';import{getRangesWithAttribute as _0x2e5fd5}from'./utils';import{getTranslation as _0x50e6fd}from'../utils/common-translations';export default class et extends _0x310a38{[_0xf0ee('0x7')](){const _0x3cb3c6=this[_0xf0ee('0x9')];if(!_0x3cb3c6[_0xf0ee('0x0')][_0xf0ee('0x11')](_0xf0ee('0x13')))return;const _0x293c6d=_0x3cb3c6[_0xf0ee('0x0')]['get'](_0xf0ee('0xa'));_0x293c6d[_0xf0ee('0xc')](_0xf0ee('0x17'),(_0x9319cd,_0x2d62d7)=>{const _0x8bfa2d=_0x3cb3c6['model'][_0xf0ee('0x4')]['selection'];let _0x2aea1f=[];if(_0x8bfa2d[_0xf0ee('0x10')]){if(!_0x8bfa2d[_0xf0ee('0xb')]('linkHref'))return void _0x9319cd(_0x2d62d7);{const _0xf3911d=_0x4b63d6(_0x8bfa2d[_0xf0ee('0x2')](),_0xf0ee('0xe'),_0x8bfa2d['getAttribute'](_0xf0ee('0xe')),_0x3cb3c6[_0xf0ee('0x14')]);_0x2aea1f=[_0xf3911d];}}else _0x2aea1f=Array['from'](_0x8bfa2d[_0xf0ee('0x12')]());_0x3cb3c6[_0xf0ee('0x14')][_0xf0ee('0xd')](()=>{for(const _0x1b7b3e of _0x2aea1f)_0x293c6d['markInlineFormat'](_0x1b7b3e,{'commandName':_0xf0ee('0x17'),'commandParams':[_0x2d62d7]});});}),_0x293c6d['enableCommand']('unlink',()=>{const _0x4b831a=this[_0xf0ee('0x9')][_0xf0ee('0x14')],_0x53c398=_0x4b831a[_0xf0ee('0x4')][_0xf0ee('0x6')];_0x4b831a[_0xf0ee('0xd')](()=>{let _0x5608d2=[];if(_0x53c398[_0xf0ee('0x10')])_0x5608d2=[_0x4b63d6(_0x53c398['getFirstPosition'](),_0xf0ee('0xe'),_0x53c398[_0xf0ee('0xf')](_0xf0ee('0xe')),_0x3cb3c6[_0xf0ee('0x14')])];else _0x5608d2=_0x2e5fd5(_0xf0ee('0xe'),_0x53c398['getFirstRange'](),_0x3cb3c6[_0xf0ee('0x14')]);for(const _0xc02fb2 of _0x5608d2)_0x293c6d[_0xf0ee('0x16')](_0xc02fb2,{'commandName':_0xf0ee('0x8'),'commandParams':[]});});}),_0x293c6d['_descriptionFactory'][_0xf0ee('0x15')](_0x3ae4b3=>{const {data:_0xa588bd}=_0x3ae4b3,_0x5b4f3c=_0x3cb3c6['locale'];if(_0xa588bd){if(_0xf0ee('0x17')==_0xa588bd[_0xf0ee('0x3')]){const _0x576749=_0xa588bd['commandParams'][0x0];return{'type':_0xf0ee('0x5'),'content':_0x50e6fd(_0x5b4f3c,_0xf0ee('0x1'),'\x22'+_0x576749+'\x22')};}return _0xf0ee('0x8')==_0xa588bd[_0xf0ee('0x3')]?{'type':_0xf0ee('0x5'),'content':_0x50e6fd(_0x5b4f3c,'*Remove\x20link*')}:void 0x0;}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3e1c=['name','add','previousSibling','getAttribute','selection','editor','listIndent','bulleted','plugins','length','has','before','commandParams','commands','checkTodoList','createPositionAt','bulletedList','registerElementLabel','outdentList','value','locale','document','get','change','element','blockName','*Change\x20to:*\x20%0','checkChild','listType','filter','commandName','replace','todoList','format','*Uncheck\x20item*','ELEMENT_NUMBERED_LIST','ELEMENT_LIST_ITEM','execute','_descriptionFactory','enableCommand','numbered','indentList','todoListChecked','nextSibling','*Check\x20item*','model','slice','afterInit','from','getSelectedBlocks','listItem','markBlockFormat','createRange','List','ELEMENT_TODO_LIST','parent','ListEditing','schema','numberedList'];(function(_0xf7180e,_0x3e1c2c){const _0x1a0fce=function(_0x23a0b7){while(--_0x23a0b7){_0xf7180e['push'](_0xf7180e['shift']());}};_0x1a0fce(++_0x3e1c2c);}(_0x3e1c,0xa4));const _0x1a0f=function(_0xf7180e,_0x3e1c2c){_0xf7180e=_0xf7180e-0x0;let _0x1a0fce=_0x3e1c[_0xf7180e];return _0x1a0fce;};import{Plugin as _0x49ed87}from'ckeditor5/src/core';import{getTranslation as _0x56b9bf}from'../utils/common-translations';export default class st extends _0x49ed87{[_0x1a0f('0x1')](){const _0x3a6ddd=this[_0x1a0f('0x12')],_0x58d1df=_0x3a6ddd[_0x1a0f('0x21')];if(!_0x3a6ddd[_0x1a0f('0x15')][_0x1a0f('0x17')](_0x1a0f('0xa')))return;const _0x477d76=_0x3a6ddd['plugins']['get']('TrackChangesEditing'),_0x1e6ef8=_0x3a6ddd[_0x1a0f('0x15')][_0x1a0f('0x17')]('TodoListEditing');function _0x251daa(_0x2b3491){return()=>{const _0x15d486=_0x3a6ddd['model'][_0x1a0f('0x22')][_0x1a0f('0x11')],_0x5e66eb=_0x3a6ddd[_0x1a0f('0x1a')][_0x1a0f('0x23')](_0x2b3491);if(_0x5e66eb[_0x1a0f('0x20')])return void _0x3a6ddd[_0x1a0f('0x32')]('paragraph',{});const _0x1a7f62=_0x2b3491[_0x1a0f('0x0')](0x0,-0x4),_0x1174ed=function(_0x129433,_0x498f2c,_0x3557d6){let _0x3a9c9d=Array[_0x1a0f('0x2')](_0x129433)[_0x1a0f('0x2a')](_0x27f9ba=>function(_0x31da2a,_0x5b20f4){return _0x5b20f4[_0x1a0f('0x28')](_0x31da2a[_0x1a0f('0x9')],_0x1a0f('0x4'))&&!_0x5b20f4['isObject'](_0x31da2a);}(_0x27f9ba,_0x3557d6));_0x3a9c9d=_0x3a9c9d[_0x1a0f('0x2a')](_0x3aa8a2=>!_0x3aa8a2['is']('element',_0x1a0f('0x4'))||_0x3aa8a2[_0x1a0f('0x10')](_0x1a0f('0x29'))!=_0x498f2c);const _0x3d549a=new Set();for(const _0x47903a of _0x3a9c9d)_0x47903a['is']('element',_0x1a0f('0x4'))?_0x3d549a[_0x1a0f('0xe')](ne(_0x47903a)):_0x3d549a[_0x1a0f('0xe')](_0x47903a);return Array[_0x1a0f('0x2')](_0x3d549a);}(_0x15d486[_0x1a0f('0x3')](),_0x1a7f62,_0x3a6ddd[_0x1a0f('0x3a')][_0x1a0f('0xb')]);_0x3a6ddd[_0x1a0f('0x3a')][_0x1a0f('0x24')](()=>{for(const _0x169f0e of _0x1174ed)_0x477d76[_0x1a0f('0x5')](_0x169f0e,{'commandName':_0x2b3491,'commandParams':[{'forceValue':!_0x5e66eb['value']}],'formatGroupId':_0x1a0f('0x26')},oe(_0x169f0e));});};}function _0x45b468(_0x5b561d){return()=>{const _0x38a783=function(_0x33eef9){let _0x11baf4=Array[_0x1a0f('0x2')](_0x33eef9);const _0x2bb5bf=_0x11baf4['findIndex'](_0x1bd61d=>_0x1a0f('0x4')!=_0x1bd61d[_0x1a0f('0xd')]);return _0x2bb5bf>-0x1&&(_0x11baf4=_0x11baf4[_0x1a0f('0x0')](0x0,_0x2bb5bf)),_0x11baf4;}(_0x3a6ddd[_0x1a0f('0x3a')]['document']['selection'][_0x1a0f('0x3')]()),_0xcb065d=_0x3a6ddd[_0x1a0f('0x3a')][_0x1a0f('0x6')](_0x3a6ddd[_0x1a0f('0x3a')][_0x1a0f('0x1c')](_0x38a783[0x0],_0x1a0f('0x18')),_0x3a6ddd['model']['createPositionAt'](_0x38a783[_0x38a783[_0x1a0f('0x16')]-0x1],'end'));_0x3a6ddd['model'][_0x1a0f('0x24')](()=>{_0x477d76[_0x1a0f('0x5')](_0xcb065d,{'commandName':_0x5b561d,'commandParams':[],'formatGroupId':_0x1a0f('0x13')},function(_0x4c3c88){const _0x507a6e=new Set();for(const _0x259570 of _0x4c3c88){let _0x1557ee=_0x259570[_0x1a0f('0x38')];for(;_0x1557ee&&_0x1557ee[_0x1a0f('0x10')](_0x1a0f('0x13'))>_0x259570['getAttribute'](_0x1a0f('0x13'));)_0x507a6e[_0x1a0f('0xe')](_0x1557ee),_0x1557ee=_0x1557ee[_0x1a0f('0x38')];}return Array['from'](_0x507a6e);}(_0x38a783));});};}_0x477d76[_0x1a0f('0x34')](_0x1a0f('0xc'),_0x251daa(_0x1a0f('0xc'))),_0x477d76[_0x1a0f('0x34')](_0x1a0f('0x1d'),_0x251daa(_0x1a0f('0x1d'))),_0x1e6ef8&&_0x477d76[_0x1a0f('0x34')](_0x1a0f('0x2d'),_0x251daa(_0x1a0f('0x2d'))),_0x477d76[_0x1a0f('0x34')](_0x1a0f('0x36'),_0x45b468(_0x1a0f('0x36'))),_0x477d76[_0x1a0f('0x34')]('outdentList',_0x45b468('outdentList')),_0x1e6ef8&&_0x477d76[_0x1a0f('0x34')]('checkTodoList',()=>{const _0x5edb3a=_0x3a6ddd['commands'][_0x1a0f('0x23')](_0x1a0f('0x1b')),_0x4b8bad=Array['from'](_0x5edb3a['_selectedElements']);_0x4b8bad['filter'](_0x43e904=>_0x43e904[_0x1a0f('0x10')](_0x1a0f('0x37'))!=_0x5edb3a[_0x1a0f('0x20')]),_0x3a6ddd[_0x1a0f('0x3a')][_0x1a0f('0x24')](()=>{for(const _0x5cca6f of _0x4b8bad)_0x477d76['markBlockFormat'](_0x5cca6f,{'commandName':_0x1a0f('0x1b'),'commandParams':[{'forceValue':!_0x5edb3a['value']}]});});}),_0x477d76[_0x1a0f('0x33')][_0x1a0f('0x1e')](_0x1a0f('0x4'),_0x15dce8=>_0x56b9bf(_0x58d1df,_0x1a0f('0x31'),_0x15dce8)),_0x477d76[_0x1a0f('0x33')]['registerDescriptionCallback'](_0x49e0b3=>{const {data:_0x11f3f9}=_0x49e0b3;if(_0x11f3f9){if(_0x1a0f('0xc')==_0x11f3f9['commandName']||_0x1a0f('0x1d')==_0x11f3f9[_0x1a0f('0x2b')]||_0x1a0f('0x2d')==_0x11f3f9[_0x1a0f('0x2b')])switch(_0x11f3f9['commandName'][_0x1a0f('0x2c')](_0x1a0f('0x7'),'')){case _0x1a0f('0x14'):return _0x3db495(_0x56b9bf(_0x58d1df,'ELEMENT_BULLETED_LIST'));case _0x1a0f('0x35'):return _0x3db495(_0x56b9bf(_0x58d1df,_0x1a0f('0x30')));case'todo':return _0x3db495(_0x56b9bf(_0x58d1df,_0x1a0f('0x8')));}if('indentList'==_0x11f3f9[_0x1a0f('0x2b')])return{'type':'format','content':_0x56b9bf(_0x58d1df,'*Indent:*\x20%0',_0x56b9bf(_0x58d1df,_0x1a0f('0x31')))};if(_0x1a0f('0x1f')==_0x11f3f9[_0x1a0f('0x2b')])return{'type':_0x1a0f('0x2e'),'content':_0x56b9bf(_0x58d1df,'*Outdent:*\x20%0',_0x56b9bf(_0x58d1df,_0x1a0f('0x31')))};if(_0x1a0f('0x1b')==_0x11f3f9['commandName'])return _0x11f3f9[_0x1a0f('0x19')][0x0]['forceValue']?{'type':_0x1a0f('0x2e'),'content':_0x56b9bf(_0x58d1df,_0x1a0f('0x39'))}:{'type':_0x1a0f('0x2e'),'content':_0x56b9bf(_0x58d1df,_0x1a0f('0x2f'))};}function _0x3db495(_0x5d1401){return{'type':_0x1a0f('0x2e'),'content':_0x56b9bf(_0x58d1df,_0x1a0f('0x27'),_0x5d1401)};}});}}function ne(_0x2db1f2){const _0x3a6151=_0x2db1f2[_0x1a0f('0x10')](_0x1a0f('0x13'));if(0x0==_0x3a6151)return _0x2db1f2;let _0x29e584=_0x2db1f2;for(;_0x2db1f2['previousSibling']&&_0x2db1f2[_0x1a0f('0xf')]['is']('element','listItem');){const _0x186733=_0x2db1f2['previousSibling'][_0x1a0f('0x10')](_0x1a0f('0x13'));if(_0x186733==_0x3a6151)_0x29e584=_0x2db1f2[_0x1a0f('0xf')];else{if(_0x186733<_0x3a6151)break;}_0x2db1f2=_0x2db1f2[_0x1a0f('0xf')];}return _0x29e584;}function oe(_0x48608f){const _0x3b6992=[];if(_0x48608f['is'](_0x1a0f('0x25'),_0x1a0f('0x4'))&&_0x48608f[_0x1a0f('0x10')](_0x1a0f('0x13'))>0x0){let _0x27e097=_0x48608f[_0x1a0f('0x38')];for(;_0x27e097&&_0x1a0f('0x4')==_0x27e097[_0x1a0f('0xd')]&&_0x27e097[_0x1a0f('0x10')](_0x1a0f('0x13'))==_0x48608f[_0x1a0f('0x10')](_0x1a0f('0x13'));)_0x3b6992['push'](_0x27e097),_0x27e097=_0x27e097[_0x1a0f('0x38')];}return _0x3b6992;}
23
+ const _0x1cdf=['from','forceValue','afterInit','checkChild','numberedList','TodoListEditing','commandName','ELEMENT_TODO_LIST','isObject','previousSibling','_descriptionFactory','outdentList','todoList','bulletedList','filter','slice','selection','format','enableCommand','*Check\x20item*','replace','get','change','bulleted','todo','document','value','element','getAttribute','commands','add','model','before','createPositionAt','end','numbered','markBlockFormat','length','listIndent','has','ELEMENT_BULLETED_LIST','listItem','getSelectedBlocks','*Indent:*\x20%0','editor','indentList','checkTodoList','plugins','nextSibling','ELEMENT_LIST_ITEM','todoListChecked','TrackChangesEditing','*Uncheck\x20item*','name'];(function(_0x217049,_0x1cdf67){const _0x207ab8=function(_0x5b5037){while(--_0x5b5037){_0x217049['push'](_0x217049['shift']());}};_0x207ab8(++_0x1cdf67);}(_0x1cdf,0xf0));const _0x207a=function(_0x217049,_0x1cdf67){_0x217049=_0x217049-0x0;let _0x207ab8=_0x1cdf[_0x217049];return _0x207ab8;};import{Plugin as _0x554b2f}from'ckeditor5/src/core';import{getTranslation as _0x165b46}from'../utils/common-translations';export default class nt extends _0x554b2f{[_0x207a('0x20')](){const _0xaf41e=this[_0x207a('0x14')],_0x137760=_0xaf41e['locale'];if(!_0xaf41e[_0x207a('0x17')]['has']('ListEditing'))return;const _0xbbb55d=_0xaf41e[_0x207a('0x17')]['get'](_0x207a('0x1b')),_0x2712f6=_0xaf41e[_0x207a('0x17')][_0x207a('0xf')](_0x207a('0x23'));function _0x300807(_0xeef402){return()=>{const _0x578c50=_0xaf41e['model'][_0x207a('0x1')]['selection'],_0x3f86ee=_0xaf41e[_0x207a('0x5')][_0x207a('0x33')](_0xeef402);if(_0x3f86ee[_0x207a('0x2')])return void _0xaf41e['execute']('paragraph',{});const _0xdd17de=_0xeef402[_0x207a('0x2d')](0x0,-0x4),_0xe1dfd8=function(_0x56ab0c,_0x519d08,_0x4bf867){let _0x280f77=Array[_0x207a('0x1e')](_0x56ab0c)[_0x207a('0x2c')](_0x5d9e61=>function(_0x51ed45,_0x1ef6ef){return _0x1ef6ef[_0x207a('0x21')](_0x51ed45['parent'],'listItem')&&!_0x1ef6ef[_0x207a('0x26')](_0x51ed45);}(_0x5d9e61,_0x4bf867));_0x280f77=_0x280f77[_0x207a('0x2c')](_0x9f6b81=>!_0x9f6b81['is']('element','listItem')||_0x9f6b81[_0x207a('0x4')]('listType')!=_0x519d08);const _0x3a2bdd=new Set();for(const _0x3f90ea of _0x280f77)_0x3f90ea['is'](_0x207a('0x3'),_0x207a('0x11'))?_0x3a2bdd[_0x207a('0x6')](ne(_0x3f90ea)):_0x3a2bdd[_0x207a('0x6')](_0x3f90ea);return Array[_0x207a('0x1e')](_0x3a2bdd);}(_0x578c50[_0x207a('0x12')](),_0xdd17de,_0xaf41e['model']['schema']);_0xaf41e['model'][_0x207a('0x34')](()=>{for(const _0x58302b of _0xe1dfd8)_0xbbb55d[_0x207a('0xc')](_0x58302b,{'commandName':_0xeef402,'commandParams':[{'forceValue':!_0x3f86ee[_0x207a('0x2')]}],'formatGroupId':'blockName'},oe(_0x58302b));});};}function _0x2bc7db(_0x203e1b){return()=>{const _0x5d820f=function(_0x234802){let _0x3562b6=Array[_0x207a('0x1e')](_0x234802);const _0x3af984=_0x3562b6['findIndex'](_0xbfa39d=>'listItem'!=_0xbfa39d[_0x207a('0x1d')]);return _0x3af984>-0x1&&(_0x3562b6=_0x3562b6[_0x207a('0x2d')](0x0,_0x3af984)),_0x3562b6;}(_0xaf41e[_0x207a('0x7')][_0x207a('0x1')][_0x207a('0x2e')][_0x207a('0x12')]()),_0x35e3f2=_0xaf41e[_0x207a('0x7')]['createRange'](_0xaf41e[_0x207a('0x7')]['createPositionAt'](_0x5d820f[0x0],_0x207a('0x8')),_0xaf41e[_0x207a('0x7')][_0x207a('0x9')](_0x5d820f[_0x5d820f[_0x207a('0xd')]-0x1],_0x207a('0xa')));_0xaf41e['model'][_0x207a('0x34')](()=>{_0xbbb55d[_0x207a('0xc')](_0x35e3f2,{'commandName':_0x203e1b,'commandParams':[],'formatGroupId':_0x207a('0xe')},function(_0x2d50f6){const _0x11ce28=new Set();for(const _0x18f873 of _0x2d50f6){let _0xe88c5e=_0x18f873[_0x207a('0x18')];for(;_0xe88c5e&&_0xe88c5e[_0x207a('0x4')](_0x207a('0xe'))>_0x18f873[_0x207a('0x4')](_0x207a('0xe'));)_0x11ce28[_0x207a('0x6')](_0xe88c5e),_0xe88c5e=_0xe88c5e[_0x207a('0x18')];}return Array[_0x207a('0x1e')](_0x11ce28);}(_0x5d820f));});};}_0xbbb55d[_0x207a('0x30')](_0x207a('0x22'),_0x300807(_0x207a('0x22'))),_0xbbb55d[_0x207a('0x30')](_0x207a('0x2b'),_0x300807(_0x207a('0x2b'))),_0x2712f6&&_0xbbb55d[_0x207a('0x30')](_0x207a('0x2a'),_0x300807(_0x207a('0x2a'))),_0xbbb55d[_0x207a('0x30')](_0x207a('0x15'),_0x2bc7db(_0x207a('0x15'))),_0xbbb55d['enableCommand'](_0x207a('0x29'),_0x2bc7db(_0x207a('0x29'))),_0x2712f6&&_0xbbb55d[_0x207a('0x30')](_0x207a('0x16'),()=>{const _0x3341f7=_0xaf41e['commands'][_0x207a('0x33')](_0x207a('0x16')),_0x18f0b7=Array[_0x207a('0x1e')](_0x3341f7['_selectedElements']);_0x18f0b7[_0x207a('0x2c')](_0x1e9f9f=>_0x1e9f9f[_0x207a('0x4')](_0x207a('0x1a'))!=_0x3341f7['value']),_0xaf41e[_0x207a('0x7')][_0x207a('0x34')](()=>{for(const _0x29330e of _0x18f0b7)_0xbbb55d[_0x207a('0xc')](_0x29330e,{'commandName':_0x207a('0x16'),'commandParams':[{'forceValue':!_0x3341f7[_0x207a('0x2')]}]});});}),_0xbbb55d[_0x207a('0x28')]['registerElementLabel'](_0x207a('0x11'),_0x4ef837=>_0x165b46(_0x137760,_0x207a('0x19'),_0x4ef837)),_0xbbb55d[_0x207a('0x28')]['registerDescriptionCallback'](_0x512439=>{const {data:_0x279af6}=_0x512439;if(_0x279af6){if('numberedList'==_0x279af6[_0x207a('0x24')]||_0x207a('0x2b')==_0x279af6['commandName']||_0x207a('0x2a')==_0x279af6['commandName'])switch(_0x279af6['commandName'][_0x207a('0x32')]('List','')){case _0x207a('0x35'):return _0x235443(_0x165b46(_0x137760,_0x207a('0x10')));case _0x207a('0xb'):return _0x235443(_0x165b46(_0x137760,'ELEMENT_NUMBERED_LIST'));case _0x207a('0x0'):return _0x235443(_0x165b46(_0x137760,_0x207a('0x25')));}if(_0x207a('0x15')==_0x279af6[_0x207a('0x24')])return{'type':'format','content':_0x165b46(_0x137760,_0x207a('0x13'),_0x165b46(_0x137760,'ELEMENT_LIST_ITEM'))};if(_0x207a('0x29')==_0x279af6[_0x207a('0x24')])return{'type':'format','content':_0x165b46(_0x137760,'*Outdent:*\x20%0',_0x165b46(_0x137760,'ELEMENT_LIST_ITEM'))};if('checkTodoList'==_0x279af6[_0x207a('0x24')])return _0x279af6['commandParams'][0x0][_0x207a('0x1f')]?{'type':_0x207a('0x2f'),'content':_0x165b46(_0x137760,_0x207a('0x31'))}:{'type':_0x207a('0x2f'),'content':_0x165b46(_0x137760,_0x207a('0x1c'))};}function _0x235443(_0x2f8b8e){return{'type':_0x207a('0x2f'),'content':_0x165b46(_0x137760,'*Change\x20to:*\x20%0',_0x2f8b8e)};}});}}function ne(_0x2bd96f){const _0x2a6e8d=_0x2bd96f[_0x207a('0x4')](_0x207a('0xe'));if(0x0==_0x2a6e8d)return _0x2bd96f;let _0x2f8801=_0x2bd96f;for(;_0x2bd96f[_0x207a('0x27')]&&_0x2bd96f[_0x207a('0x27')]['is'](_0x207a('0x3'),_0x207a('0x11'));){const _0x3ee9e9=_0x2bd96f['previousSibling'][_0x207a('0x4')](_0x207a('0xe'));if(_0x3ee9e9==_0x2a6e8d)_0x2f8801=_0x2bd96f[_0x207a('0x27')];else{if(_0x3ee9e9<_0x2a6e8d)break;}_0x2bd96f=_0x2bd96f[_0x207a('0x27')];}return _0x2f8801;}function oe(_0xf14949){const _0x4b5b39=[];if(_0xf14949['is'](_0x207a('0x3'),_0x207a('0x11'))&&_0xf14949[_0x207a('0x4')]('listIndent')>0x0){let _0x53350c=_0xf14949[_0x207a('0x18')];for(;_0x53350c&&_0x207a('0x11')==_0x53350c[_0x207a('0x1d')]&&_0x53350c['getAttribute'](_0x207a('0xe'))==_0xf14949[_0x207a('0x4')]('listIndent');)_0x4b5b39['push'](_0x53350c),_0x53350c=_0x53350c[_0x207a('0x18')];}return _0x4b5b39;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x7027=['createPositionAt','listStart','listType','model','has','startIndex','registerDescriptionCallback','forward','change','listItem','filter','element','enableCommand','listReversed','map','_getSuggestionBlocks','getSiblingNodes','numbered','_getSuggestionBlocksForListStyle','config','backward','selection','ListPropertiesEditing','handleListStartCommand','afterInit','length','flat','plugins','getListTypeFromListStyleType','commandParams','markMultiRangeBlockFormat','getFirstPosition','replace','before','bind','reversed','listStyle','*Format:*\x20set\x20order\x20to\x20reversed','getAttribute','_descriptionFactory','unshift','from','handleDescriptions','document','handleListReversedCommand','_getTranslationKeyForListStyle','type','commandName','parent','createRange','format','editor','getSelectedBlocks','toUpperCase','*Format:*\x20set\x20start\x20index\x20to\x20%0','ListUtils','get','TrackChangesEditing'];(function(_0x2d29c9,_0x702723){const _0x37841e=function(_0x5db4f7){while(--_0x5db4f7){_0x2d29c9['push'](_0x2d29c9['shift']());}};_0x37841e(++_0x702723);}(_0x7027,0x121));const _0x3784=function(_0x2d29c9,_0x702723){_0x2d29c9=_0x2d29c9-0x0;let _0x37841e=_0x7027[_0x2d29c9];return _0x37841e;};import{Plugin as _0x65bd39}from'ckeditor5/src/core';import{getTranslation as _0x491faa}from'../utils/common-translations';export default class nt extends _0x65bd39{[_0x3784('0x19')](){if(!this[_0x3784('0x34')][_0x3784('0x1c')][_0x3784('0x5')](_0x3784('0x17')))return;const _0x4969ce=this[_0x3784('0x34')][_0x3784('0x14')]['get']('list.properties'),_0x29a4e6=this[_0x3784('0x34')][_0x3784('0x1c')]['get']('TrackChangesEditing');_0x4969ce['styles']&&_0x29a4e6[_0x3784('0xd')](_0x3784('0x25'),this['handleListStyleCommand']['bind'](this)),_0x4969ce['reversed']&&_0x29a4e6[_0x3784('0xd')]('listReversed',this[_0x3784('0x2d')]['bind'](this)),_0x4969ce[_0x3784('0x6')]&&_0x29a4e6['enableCommand'](_0x3784('0x2'),this['handleListStartCommand']['bind'](this)),_0x29a4e6[_0x3784('0x28')][_0x3784('0x7')](this['handleDescriptions'][_0x3784('0x23')](this));}['handleListStyleCommand'](_0x38a035,_0x252d9b={}){const _0x1b6634=this['editor']['plugins']['get']('TrackChangesEditing'),_0x148ee7=this[_0x3784('0x13')]();this['editor'][_0x3784('0x4')][_0x3784('0x9')](()=>{_0x1b6634[_0x3784('0x1f')](_0x148ee7,{'commandName':'listStyle','commandParams':[{'type':_0x252d9b[_0x3784('0x2f')]}],'formatGroupId':_0x3784('0x25')});});}['handleListReversedCommand'](_0x43203c,_0x81b8e0={}){const _0x53a19a=this[_0x3784('0x34')]['plugins'][_0x3784('0x39')]('TrackChangesEditing'),_0x28d91f=this[_0x3784('0x10')](_0x3bcd02=>_0x3bcd02['is'](_0x3784('0xc'),'listItem')&&'numbered'===_0x3bcd02[_0x3784('0x27')](_0x3784('0x3')));if(_0x28d91f[_0x3784('0x1a')]<0x1)return;const _0x188215=_0x28d91f[_0x3784('0xf')](_0x542438=>this[_0x3784('0x34')][_0x3784('0x4')][_0x3784('0x32')](this[_0x3784('0x34')][_0x3784('0x4')][_0x3784('0x1')](_0x542438,_0x3784('0x22')),this[_0x3784('0x34')][_0x3784('0x4')][_0x3784('0x1')](_0x542438,0x0)));this[_0x3784('0x34')]['model'][_0x3784('0x9')](()=>{_0x53a19a[_0x3784('0x1f')](_0x188215,{'commandName':_0x3784('0xe'),'commandParams':[{'reversed':_0x81b8e0[_0x3784('0x24')]}],'formatGroupId':_0x3784('0xe')});});}[_0x3784('0x18')](_0x322856,_0x36a10a={}){const _0x5a2563=this[_0x3784('0x34')][_0x3784('0x1c')][_0x3784('0x39')](_0x3784('0x0')),_0x37c6fa=this[_0x3784('0x10')](_0x5463b7=>_0x5463b7['is'](_0x3784('0xc'),_0x3784('0xa'))&&_0x3784('0x12')===_0x5463b7[_0x3784('0x27')](_0x3784('0x3')));if(_0x37c6fa[_0x3784('0x1a')]<0x1)return;const _0x4ac4b4=_0x37c6fa[_0x3784('0xf')](_0x3e90b7=>this[_0x3784('0x34')][_0x3784('0x4')][_0x3784('0x32')](this[_0x3784('0x34')][_0x3784('0x4')]['createPositionAt'](_0x3e90b7,'before'),this[_0x3784('0x34')][_0x3784('0x4')][_0x3784('0x1')](_0x3e90b7,0x0)));this[_0x3784('0x34')][_0x3784('0x4')][_0x3784('0x9')](()=>{_0x5a2563[_0x3784('0x1f')](_0x4ac4b4,{'commandName':_0x3784('0x2'),'commandParams':[{'startIndex':_0x36a10a[_0x3784('0x6')]}],'formatGroupId':_0x3784('0x2')});});}[_0x3784('0x2b')](_0x2140c1){const _0x593902=this[_0x3784('0x34')]['locale'],{data:_0x1f4081}=_0x2140c1;if(!_0x1f4081)return;let _0x29bffc,_0x2394e1;switch(_0x1f4081[_0x3784('0x30')]){case _0x3784('0x25'):_0x29bffc='*Change\x20to:*\x20%0',_0x2394e1={'type':_0x3784('0x33'),'content':_0x491faa(_0x593902,_0x29bffc,_0x491faa(_0x593902,this[_0x3784('0x2e')](_0x1f4081[_0x3784('0x1e')][0x0][_0x3784('0x2f')])))};break;case'listReversed':_0x29bffc=_0x1f4081[_0x3784('0x1e')][0x0][_0x3784('0x24')]?_0x3784('0x26'):'*Format:*\x20set\x20order\x20to\x20regular',_0x2394e1={'type':'format','content':_0x491faa(_0x593902,_0x29bffc)};break;case _0x3784('0x2'):_0x29bffc=_0x3784('0x37'),_0x2394e1={'type':_0x3784('0x33'),'content':_0x491faa(_0x593902,_0x29bffc,_0x1f4081[_0x3784('0x1e')][0x0][_0x3784('0x6')])};}return _0x2394e1;}[_0x3784('0x13')](){var _0x279613,_0x46a168,_0x147dbb,_0x1d9606;const _0x32a1b9=this[_0x3784('0x34')][_0x3784('0x1c')][_0x3784('0x39')](_0x3784('0x38'));let _0x3e9b9a=Array[_0x3784('0x2a')](this[_0x3784('0x34')][_0x3784('0x4')][_0x3784('0x2c')][_0x3784('0x16')][_0x3784('0x35')]());return(null===(_0x279613=_0x3e9b9a[0x0])||void 0x0===_0x279613?void 0x0:_0x279613['is'](_0x3784('0xc'),_0x3784('0xa')))&&_0x3e9b9a[_0x3784('0x29')](..._0x32a1b9[_0x3784('0x11')](this['editor']['model']['document'][_0x3784('0x16')][_0x3784('0x20')](),_0x3784('0x15'))),(null===(_0x46a168=_0x3e9b9a[_0x3e9b9a[_0x3784('0x1a')]-0x1])||void 0x0===_0x46a168?void 0x0:_0x46a168['is']('element',_0x3784('0xa')))&&_0x3e9b9a['push'](..._0x32a1b9['getSiblingNodes'](this[_0x3784('0x34')][_0x3784('0x4')][_0x3784('0x2c')][_0x3784('0x16')]['getLastPosition'](),_0x3784('0x8'))),_0x3e9b9a=[...new Set(_0x3e9b9a)],(null===(_0x1d9606=null===(_0x147dbb=this[_0x3784('0x34')][_0x3784('0x4')][_0x3784('0x2c')][_0x3784('0x16')][_0x3784('0x20')]())||void 0x0===_0x147dbb?void 0x0:_0x147dbb[_0x3784('0x31')])||void 0x0===_0x1d9606?void 0x0:_0x1d9606['is'](_0x3784('0xc'),'listItem'))&&(_0x3e9b9a=_0x3e9b9a[_0x3784('0xb')](_0x1a41c7=>_0x1a41c7['is'](_0x3784('0xc'),_0x3784('0xa')))),_0x3e9b9a;}[_0x3784('0x10')](_0x187411){const _0x546430=this[_0x3784('0x34')]['plugins']['get'](_0x3784('0x38'));let _0x226822=Array[_0x3784('0x2a')](this['editor']['model'][_0x3784('0x2c')][_0x3784('0x16')][_0x3784('0x35')]())['filter'](_0x187411)[_0x3784('0xf')](_0x2fcccf=>{const _0x4473c8=this['editor'][_0x3784('0x4')][_0x3784('0x1')](_0x2fcccf,0x0);return[..._0x546430['getSiblingNodes'](_0x4473c8,_0x3784('0x15')),..._0x546430['getSiblingNodes'](_0x4473c8,'forward')];})[_0x3784('0x1b')]();return _0x226822=[...new Set(_0x226822)],_0x226822;}['_getTranslationKeyForListStyle'](_0x36ed3c){return'ELEMENT_'+this[_0x3784('0x34')]['plugins'][_0x3784('0x39')]('ListUtils')[_0x3784('0x1d')](_0x36ed3c)[_0x3784('0x36')]()+'_LIST_'+_0x36ed3c[_0x3784('0x36')]()[_0x3784('0x21')](/-/g,'_');}}
23
+ const _0x3531=['_getTranslationKeyForListStyle','listItem','ListPropertiesEditing','commandName','forward','selection','toUpperCase','getListTypeFromListStyleType','length','startIndex','getSiblingNodes','backward','numbered','_LIST_','format','listReversed','editor','listStart','ListUtils','document','config','*Format:*\x20set\x20start\x20index\x20to\x20%0','markMultiRangeBlockFormat','replace','map','_descriptionFactory','_getSuggestionBlocks','plugins','*Format:*\x20set\x20order\x20to\x20reversed','flat','bind','model','handleListReversedCommand','createRange','listStyle','listType','createPositionAt','handleListStartCommand','type','*Change\x20to:*\x20%0','unshift','before','TrackChangesEditing','_getSuggestionBlocksForListStyle','filter','locale','*Format:*\x20set\x20order\x20to\x20regular','getAttribute','getLastPosition','getSelectedBlocks','handleListStyleCommand','getFirstPosition','push','change','element','enableCommand','get','from','registerDescriptionCallback','ELEMENT_','commandParams','handleDescriptions','parent','afterInit','list.properties'];(function(_0x54d6a7,_0x3531e6){const _0x129d6b=function(_0x1d968c){while(--_0x1d968c){_0x54d6a7['push'](_0x54d6a7['shift']());}};_0x129d6b(++_0x3531e6);}(_0x3531,0x1c8));const _0x129d=function(_0x54d6a7,_0x3531e6){_0x54d6a7=_0x54d6a7-0x0;let _0x129d6b=_0x3531[_0x54d6a7];return _0x129d6b;};import{Plugin as _0xf45050}from'ckeditor5/src/core';import{getTranslation as _0x49730e}from'../utils/common-translations';export default class st extends _0xf45050{[_0x129d('0x3e')](){if(!this[_0x129d('0xf')][_0x129d('0x1a')]['has'](_0x129d('0x1')))return;const _0x53e09b=this[_0x129d('0xf')][_0x129d('0x13')][_0x129d('0x37')](_0x129d('0x3f')),_0x220c16=this[_0x129d('0xf')]['plugins'][_0x129d('0x37')](_0x129d('0x29'));_0x53e09b['styles']&&_0x220c16[_0x129d('0x36')](_0x129d('0x21'),this[_0x129d('0x31')][_0x129d('0x1d')](this)),_0x53e09b['reversed']&&_0x220c16['enableCommand']('listReversed',this['handleListReversedCommand']['bind'](this)),_0x53e09b['startIndex']&&_0x220c16[_0x129d('0x36')](_0x129d('0x10'),this[_0x129d('0x24')][_0x129d('0x1d')](this)),_0x220c16[_0x129d('0x18')][_0x129d('0x39')](this[_0x129d('0x3c')][_0x129d('0x1d')](this));}[_0x129d('0x31')](_0x1f1948,_0x59071a={}){const _0x3b64bb=this[_0x129d('0xf')][_0x129d('0x1a')][_0x129d('0x37')]('TrackChangesEditing'),_0x48b254=this['_getSuggestionBlocksForListStyle']();this[_0x129d('0xf')][_0x129d('0x1e')]['change'](()=>{_0x3b64bb[_0x129d('0x15')](_0x48b254,{'commandName':'listStyle','commandParams':[{'type':_0x59071a['type']}],'formatGroupId':_0x129d('0x21')});});}[_0x129d('0x1f')](_0x47cf87,_0xd32cbe={}){const _0x28ad48=this[_0x129d('0xf')][_0x129d('0x1a')][_0x129d('0x37')](_0x129d('0x29')),_0x115803=this['_getSuggestionBlocks'](_0x603405=>_0x603405['is']('element','listItem')&&'numbered'===_0x603405[_0x129d('0x2e')]('listType'));if(_0x115803[_0x129d('0x7')]<0x1)return;const _0x560f2f=_0x115803[_0x129d('0x17')](_0x3cd18b=>this['editor'][_0x129d('0x1e')][_0x129d('0x20')](this[_0x129d('0xf')]['model'][_0x129d('0x23')](_0x3cd18b,'before'),this[_0x129d('0xf')][_0x129d('0x1e')][_0x129d('0x23')](_0x3cd18b,0x0)));this['editor']['model'][_0x129d('0x34')](()=>{_0x28ad48[_0x129d('0x15')](_0x560f2f,{'commandName':'listReversed','commandParams':[{'reversed':_0xd32cbe['reversed']}],'formatGroupId':'listReversed'});});}[_0x129d('0x24')](_0x5f51e7,_0xbd108f={}){const _0xaa6709=this[_0x129d('0xf')]['plugins'][_0x129d('0x37')](_0x129d('0x29')),_0xce49ef=this[_0x129d('0x19')](_0x14e52d=>_0x14e52d['is'](_0x129d('0x35'),'listItem')&&_0x129d('0xb')===_0x14e52d[_0x129d('0x2e')](_0x129d('0x22')));if(_0xce49ef['length']<0x1)return;const _0x23e5b7=_0xce49ef['map'](_0x1b4cb2=>this[_0x129d('0xf')][_0x129d('0x1e')][_0x129d('0x20')](this[_0x129d('0xf')][_0x129d('0x1e')][_0x129d('0x23')](_0x1b4cb2,_0x129d('0x28')),this[_0x129d('0xf')]['model'][_0x129d('0x23')](_0x1b4cb2,0x0)));this[_0x129d('0xf')][_0x129d('0x1e')][_0x129d('0x34')](()=>{_0xaa6709[_0x129d('0x15')](_0x23e5b7,{'commandName':_0x129d('0x10'),'commandParams':[{'startIndex':_0xbd108f[_0x129d('0x8')]}],'formatGroupId':_0x129d('0x10')});});}['handleDescriptions'](_0xa0d092){const _0x3ac463=this[_0x129d('0xf')][_0x129d('0x2c')],{data:_0x592d30}=_0xa0d092;if(!_0x592d30)return;let _0xb98bd1,_0x280e6f;switch(_0x592d30[_0x129d('0x2')]){case'listStyle':_0xb98bd1=_0x129d('0x26'),_0x280e6f={'type':_0x129d('0xd'),'content':_0x49730e(_0x3ac463,_0xb98bd1,_0x49730e(_0x3ac463,this[_0x129d('0x40')](_0x592d30[_0x129d('0x3b')][0x0][_0x129d('0x25')])))};break;case _0x129d('0xe'):_0xb98bd1=_0x592d30[_0x129d('0x3b')][0x0]['reversed']?_0x129d('0x1b'):_0x129d('0x2d'),_0x280e6f={'type':_0x129d('0xd'),'content':_0x49730e(_0x3ac463,_0xb98bd1)};break;case _0x129d('0x10'):_0xb98bd1=_0x129d('0x14'),_0x280e6f={'type':_0x129d('0xd'),'content':_0x49730e(_0x3ac463,_0xb98bd1,_0x592d30[_0x129d('0x3b')][0x0][_0x129d('0x8')])};}return _0x280e6f;}[_0x129d('0x2a')](){var _0x254c7e,_0x2785b4,_0x5ceb82,_0x445d58;const _0x3e78a9=this[_0x129d('0xf')][_0x129d('0x1a')][_0x129d('0x37')]('ListUtils');let _0x5241ff=Array[_0x129d('0x38')](this['editor'][_0x129d('0x1e')][_0x129d('0x12')][_0x129d('0x4')][_0x129d('0x30')]());return(null===(_0x254c7e=_0x5241ff[0x0])||void 0x0===_0x254c7e?void 0x0:_0x254c7e['is'](_0x129d('0x35'),_0x129d('0x0')))&&_0x5241ff[_0x129d('0x27')](..._0x3e78a9[_0x129d('0x9')](this[_0x129d('0xf')][_0x129d('0x1e')][_0x129d('0x12')][_0x129d('0x4')]['getFirstPosition'](),'backward')),(null===(_0x2785b4=_0x5241ff[_0x5241ff[_0x129d('0x7')]-0x1])||void 0x0===_0x2785b4?void 0x0:_0x2785b4['is']('element',_0x129d('0x0')))&&_0x5241ff[_0x129d('0x33')](..._0x3e78a9[_0x129d('0x9')](this[_0x129d('0xf')]['model'][_0x129d('0x12')][_0x129d('0x4')][_0x129d('0x2f')](),_0x129d('0x3'))),_0x5241ff=[...new Set(_0x5241ff)],(null===(_0x445d58=null===(_0x5ceb82=this[_0x129d('0xf')][_0x129d('0x1e')][_0x129d('0x12')][_0x129d('0x4')][_0x129d('0x32')]())||void 0x0===_0x5ceb82?void 0x0:_0x5ceb82[_0x129d('0x3d')])||void 0x0===_0x445d58?void 0x0:_0x445d58['is'](_0x129d('0x35'),_0x129d('0x0')))&&(_0x5241ff=_0x5241ff['filter'](_0xb5e0e=>_0xb5e0e['is'](_0x129d('0x35'),_0x129d('0x0')))),_0x5241ff;}['_getSuggestionBlocks'](_0x36e204){const _0x170128=this['editor'][_0x129d('0x1a')][_0x129d('0x37')]('ListUtils');let _0x33af27=Array[_0x129d('0x38')](this[_0x129d('0xf')][_0x129d('0x1e')]['document']['selection']['getSelectedBlocks']())[_0x129d('0x2b')](_0x36e204)[_0x129d('0x17')](_0x32a98a=>{const _0x382d2a=this[_0x129d('0xf')][_0x129d('0x1e')][_0x129d('0x23')](_0x32a98a,0x0);return[..._0x170128[_0x129d('0x9')](_0x382d2a,_0x129d('0xa')),..._0x170128[_0x129d('0x9')](_0x382d2a,_0x129d('0x3'))];})[_0x129d('0x1c')]();return _0x33af27=[...new Set(_0x33af27)],_0x33af27;}[_0x129d('0x40')](_0x95436f){return _0x129d('0x3a')+this[_0x129d('0xf')][_0x129d('0x1a')][_0x129d('0x37')](_0x129d('0x11'))[_0x129d('0x6')](_0x95436f)[_0x129d('0x5')]()+_0x129d('0xc')+_0x95436f[_0x129d('0x5')]()[_0x129d('0x16')](/-/g,'_');}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1de4=['_descriptionFactory','dataDowncast','conversion','registerElementLabel','high','mediaEmbed','ELEMENT_MEDIA','plugins','stop','options','showSuggestionHighlights','elementToElement','enableCommand','TrackChangesEditing','MediaEmbedEditing','media','for','editor','afterInit','get'];(function(_0x179aca,_0x1de4b6){const _0xc4ba82=function(_0x1339ed){while(--_0x1339ed){_0x179aca['push'](_0x179aca['shift']());}};_0xc4ba82(++_0x1de4b6);}(_0x1de4,0xc7));const _0xc4ba=function(_0x179aca,_0x1de4b6){_0x179aca=_0x179aca-0x0;let _0xc4ba82=_0x1de4[_0x179aca];return _0xc4ba82;};import{Plugin as _0x52bb2a}from'ckeditor5/src/core';import{getTranslation as _0x18432d}from'../utils/common-translations';export default class ot extends _0x52bb2a{[_0xc4ba('0x13')](){const _0x30df38=this[_0xc4ba('0x12')];if(!_0x30df38['plugins']['has'](_0xc4ba('0xf')))return;const _0x18d9b6=_0x30df38[_0xc4ba('0x8')][_0xc4ba('0x0')](_0xc4ba('0xe')),_0x9c18e0=_0x30df38['locale'];_0x18d9b6[_0xc4ba('0xd')](_0xc4ba('0x6')),_0x18d9b6[_0xc4ba('0x1')][_0xc4ba('0x4')](_0xc4ba('0x10'),_0x1ad134=>_0x18432d(_0x9c18e0,_0xc4ba('0x7'),_0x1ad134)),_0x30df38[_0xc4ba('0x3')][_0xc4ba('0x11')](_0xc4ba('0x2'))[_0xc4ba('0xc')]({'model':_0xc4ba('0x10'),'view':(_0x5d532a,{writer:_0x2a5e39,options:_0x40f01f})=>{if(_0x40f01f[_0xc4ba('0xb')])return _0x2a5e39['createEmptyElement']('div');},'converterPriority':_0xc4ba('0x5')}),_0x30df38['data']['downcastDispatcher']['on']('attribute:url:media',(_0x26b2c5,_0x51cf58,_0x4c5985)=>{_0x4c5985[_0xc4ba('0xa')]['showSuggestionHighlights']&&_0x26b2c5[_0xc4ba('0x9')]();},{'priority':_0xc4ba('0x5')});}}
23
+ const _0x2048=['MediaEmbedEditing','data','TrackChangesEditing','for','showSuggestionHighlights','enableCommand','downcastDispatcher','conversion','_descriptionFactory','media','mediaEmbed','locale','has','createEmptyElement','div','registerElementLabel','plugins','get','afterInit','high','editor','attribute:url:media','ELEMENT_MEDIA','stop','dataDowncast','options','elementToElement'];(function(_0x4f7385,_0x20486e){const _0x4be657=function(_0x9c12ff){while(--_0x9c12ff){_0x4f7385['push'](_0x4f7385['shift']());}};_0x4be657(++_0x20486e);}(_0x2048,0x1b2));const _0x4be6=function(_0x4f7385,_0x20486e){_0x4f7385=_0x4f7385-0x0;let _0x4be657=_0x2048[_0x4f7385];return _0x4be657;};import{Plugin as _0x38d677}from'ckeditor5/src/core';import{getTranslation as _0x2219b2}from'../utils/common-translations';export default class ot extends _0x38d677{[_0x4be6('0x10')](){const _0xdd8693=this[_0x4be6('0x12')];if(!_0xdd8693[_0x4be6('0xe')][_0x4be6('0xa')](_0x4be6('0x19')))return;const _0x1522d3=_0xdd8693['plugins'][_0x4be6('0xf')](_0x4be6('0x0')),_0x57fb42=_0xdd8693[_0x4be6('0x9')];_0x1522d3[_0x4be6('0x3')](_0x4be6('0x8')),_0x1522d3[_0x4be6('0x6')][_0x4be6('0xd')](_0x4be6('0x7'),_0x8b5dc6=>_0x2219b2(_0x57fb42,_0x4be6('0x14'),_0x8b5dc6)),_0xdd8693[_0x4be6('0x5')][_0x4be6('0x1')](_0x4be6('0x16'))[_0x4be6('0x18')]({'model':_0x4be6('0x7'),'view':(_0x52f397,{writer:_0xfdb2d3,options:_0x1ca875})=>{if(_0x1ca875[_0x4be6('0x2')])return _0xfdb2d3[_0x4be6('0xb')](_0x4be6('0xc'));},'converterPriority':_0x4be6('0x11')}),_0xdd8693[_0x4be6('0x1a')][_0x4be6('0x4')]['on'](_0x4be6('0x13'),(_0x5e5cc5,_0x2f0c04,_0x4650da)=>{_0x4650da[_0x4be6('0x17')][_0x4be6('0x2')]&&_0x5e5cc5[_0x4be6('0x15')]();},{'priority':_0x4be6('0x11')});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x189e=['plugins','get','enableCommand','afterInit','editor','MentionEditing'];(function(_0x2fdb45,_0x189e9e){const _0x599690=function(_0x202285){while(--_0x202285){_0x2fdb45['push'](_0x2fdb45['shift']());}};_0x599690(++_0x189e9e);}(_0x189e,0x12d));const _0x5996=function(_0x2fdb45,_0x189e9e){_0x2fdb45=_0x2fdb45-0x0;let _0x599690=_0x189e[_0x2fdb45];return _0x599690;};import{Plugin as _0x4f2871}from'ckeditor5/src/core';export default class rt extends _0x4f2871{[_0x5996('0x2')](){const _0x3560ce=this[_0x5996('0x3')];_0x3560ce[_0x5996('0x5')]['has'](_0x5996('0x4'))&&_0x3560ce[_0x5996('0x5')][_0x5996('0x0')]('TrackChangesEditing')[_0x5996('0x1')]('mention');}}
23
+ const _0x5452=['TrackChangesEditing','get','has','plugins','mention','MentionEditing','enableCommand'];(function(_0x2e14fd,_0x5452e2){const _0x4be579=function(_0x103ea0){while(--_0x103ea0){_0x2e14fd['push'](_0x2e14fd['shift']());}};_0x4be579(++_0x5452e2);}(_0x5452,0x125));const _0x4be5=function(_0x2e14fd,_0x5452e2){_0x2e14fd=_0x2e14fd-0x0;let _0x4be579=_0x5452[_0x2e14fd];return _0x4be579;};import{Plugin as _0x4d3f50}from'ckeditor5/src/core';export default class rt extends _0x4d3f50{['afterInit'](){const _0x4b2e06=this['editor'];_0x4b2e06[_0x4be5('0x4')][_0x4be5('0x3')](_0x4be5('0x6'))&&_0x4b2e06['plugins'][_0x4be5('0x2')](_0x4be5('0x1'))[_0x4be5('0x0')](_0x4be5('0x5'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5ac4=['enableCommand','pageBreak','locale','_descriptionFactory','registerElementLabel','get','ELEMENT_PAGE_BREAK','PageBreakEditing','TrackChangesEditing','editor','afterInit','plugins'];(function(_0x287a4c,_0x5ac4d1){const _0x458bc2=function(_0x5b5d39){while(--_0x5b5d39){_0x287a4c['push'](_0x287a4c['shift']());}};_0x458bc2(++_0x5ac4d1);}(_0x5ac4,0x10e));const _0x458b=function(_0x287a4c,_0x5ac4d1){_0x287a4c=_0x287a4c-0x0;let _0x458bc2=_0x5ac4[_0x287a4c];return _0x458bc2;};import{Plugin as _0x14a601}from'ckeditor5/src/core';import{getTranslation as _0x419c8f}from'../utils/common-translations';export default class at extends _0x14a601{[_0x458b('0x4')](){const _0x4ae425=this[_0x458b('0x3')];if(!_0x4ae425[_0x458b('0x5')]['has'](_0x458b('0x1')))return;_0x4ae425[_0x458b('0x5')][_0x458b('0xb')]('TrackChangesEditing')[_0x458b('0x6')](_0x458b('0x7'));const _0x76da69=_0x4ae425[_0x458b('0x5')][_0x458b('0xb')](_0x458b('0x2')),_0x2263dc=_0x4ae425[_0x458b('0x8')];_0x76da69[_0x458b('0x9')][_0x458b('0xa')](_0x458b('0x7'),_0x2cd2bb=>_0x419c8f(_0x2263dc,_0x458b('0x0'),_0x2cd2bb));}}
23
+ const _0x2d99=['get','pageBreak','ELEMENT_PAGE_BREAK','PageBreakEditing','TrackChangesEditing','locale','has','registerElementLabel','editor','plugins','_descriptionFactory','afterInit'];(function(_0x1248df,_0x2d9933){const _0x391a9d=function(_0x347b55){while(--_0x347b55){_0x1248df['push'](_0x1248df['shift']());}};_0x391a9d(++_0x2d9933);}(_0x2d99,0xb0));const _0x391a=function(_0x1248df,_0x2d9933){_0x1248df=_0x1248df-0x0;let _0x391a9d=_0x2d99[_0x1248df];return _0x391a9d;};import{Plugin as _0x564fb0}from'ckeditor5/src/core';import{getTranslation as _0x2c4a19}from'../utils/common-translations';export default class at extends _0x564fb0{[_0x391a('0x3')](){const _0x47647c=this[_0x391a('0x0')];if(!_0x47647c[_0x391a('0x1')][_0x391a('0xa')](_0x391a('0x7')))return;_0x47647c[_0x391a('0x1')][_0x391a('0x4')]('TrackChangesEditing')['enableCommand'](_0x391a('0x5'));const _0x23053a=_0x47647c[_0x391a('0x1')]['get'](_0x391a('0x8')),_0x1fe866=_0x47647c[_0x391a('0x9')];_0x23053a[_0x391a('0x2')][_0x391a('0xb')](_0x391a('0x5'),_0x1432ae=>_0x2c4a19(_0x1fe866,_0x391a('0x6'),_0x1432ae));}}