@ckeditor/ckeditor5-track-changes 39.0.1 → 39.0.2

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 (116) hide show
  1. package/CHANGELOG.md +2 -2
  2. package/LICENSE.md +5 -5
  3. package/README.md +13 -13
  4. package/build/track-changes.js +1 -1
  5. package/lang/translations/ar.po +1 -0
  6. package/lang/translations/az.po +1 -0
  7. package/lang/translations/bg.po +1 -0
  8. package/lang/translations/bn.po +1 -0
  9. package/lang/translations/ca.po +1 -0
  10. package/lang/translations/cs.po +1 -0
  11. package/lang/translations/da.po +1 -0
  12. package/lang/translations/de.po +1 -0
  13. package/lang/translations/el.po +1 -0
  14. package/lang/translations/en-au.po +1 -0
  15. package/lang/translations/en.po +1 -0
  16. package/lang/translations/es.po +1 -0
  17. package/lang/translations/et.po +1 -0
  18. package/lang/translations/fi.po +1 -0
  19. package/lang/translations/fr.po +1 -0
  20. package/lang/translations/gl.po +1 -0
  21. package/lang/translations/he.po +1 -0
  22. package/lang/translations/hi.po +1 -0
  23. package/lang/translations/hr.po +1 -0
  24. package/lang/translations/hu.po +1 -0
  25. package/lang/translations/id.po +1 -0
  26. package/lang/translations/it.po +1 -0
  27. package/lang/translations/ja.po +1 -0
  28. package/lang/translations/ko.po +1 -0
  29. package/lang/translations/lt.po +1 -0
  30. package/lang/translations/lv.po +1 -0
  31. package/lang/translations/ms.po +1 -0
  32. package/lang/translations/nl.po +1 -0
  33. package/lang/translations/no.po +1 -0
  34. package/lang/translations/pl.po +1 -0
  35. package/lang/translations/pt-br.po +1 -0
  36. package/lang/translations/pt.po +1 -0
  37. package/lang/translations/ro.po +1 -0
  38. package/lang/translations/ru.po +1 -0
  39. package/lang/translations/sk.po +1 -0
  40. package/lang/translations/sq.po +1 -0
  41. package/lang/translations/sr-latn.po +1 -0
  42. package/lang/translations/sr.po +1 -0
  43. package/lang/translations/sv.po +1 -0
  44. package/lang/translations/th.po +1 -0
  45. package/lang/translations/tk.po +1 -0
  46. package/lang/translations/tr.po +1 -0
  47. package/lang/translations/tt.po +1 -0
  48. package/lang/translations/uk.po +1 -0
  49. package/lang/translations/ur.po +1 -0
  50. package/lang/translations/vi.po +1 -0
  51. package/lang/translations/zh-cn.po +1 -0
  52. package/lang/translations/zh.po +1 -0
  53. package/package.json +3 -7
  54. package/src/commands/acceptsuggestioncommand.js +1 -1
  55. package/src/commands/discardsuggestioncommand.js +1 -1
  56. package/src/commands/executeonallsuggestionscommand.js +1 -1
  57. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  58. package/src/commands/trackchangescommand.js +1 -1
  59. package/src/integrations/alignment.js +1 -1
  60. package/src/integrations/basicstyles.js +1 -1
  61. package/src/integrations/blockquote.js +1 -1
  62. package/src/integrations/ckbox.js +1 -1
  63. package/src/integrations/codeblock.js +1 -1
  64. package/src/integrations/comments.js +1 -1
  65. package/src/integrations/deletecommand.js +1 -1
  66. package/src/integrations/documentlist.js +1 -1
  67. package/src/integrations/documentlistproperties.js +1 -1
  68. package/src/integrations/entercommand.js +1 -1
  69. package/src/integrations/findandreplace.js +1 -1
  70. package/src/integrations/font.js +1 -1
  71. package/src/integrations/formatpainter.js +1 -1
  72. package/src/integrations/heading.js +1 -1
  73. package/src/integrations/highlight.js +1 -1
  74. package/src/integrations/horizontalline.js +1 -1
  75. package/src/integrations/htmlembed.js +1 -1
  76. package/src/integrations/image.js +1 -1
  77. package/src/integrations/imagereplace.js +1 -1
  78. package/src/integrations/importword.js +1 -1
  79. package/src/integrations/indent.js +1 -1
  80. package/src/integrations/inputcommand.js +1 -1
  81. package/src/integrations/link.js +1 -1
  82. package/src/integrations/list.js +1 -1
  83. package/src/integrations/listproperties.js +1 -1
  84. package/src/integrations/mediaembed.js +1 -1
  85. package/src/integrations/mention.js +1 -1
  86. package/src/integrations/pagebreak.js +1 -1
  87. package/src/integrations/paragraph.js +1 -1
  88. package/src/integrations/removeformat.js +1 -1
  89. package/src/integrations/restrictededitingmode.js +1 -1
  90. package/src/integrations/shiftentercommand.js +1 -1
  91. package/src/integrations/standardeditingmode.js +1 -1
  92. package/src/integrations/style.js +1 -1
  93. package/src/integrations/table.js +1 -1
  94. package/src/integrations/tablecaption.js +1 -1
  95. package/src/integrations/tableclipboard.js +1 -1
  96. package/src/integrations/tablecolumnresize.js +1 -1
  97. package/src/integrations/tableheadings.js +1 -1
  98. package/src/integrations/tablemergesplit.js +1 -1
  99. package/src/integrations/tableofcontents.js +1 -1
  100. package/src/integrations/tableproperties.js +1 -1
  101. package/src/integrations/template.js +1 -1
  102. package/src/integrations/title.js +1 -1
  103. package/src/integrations/undo.js +1 -1
  104. package/src/integrations/utils.js +1 -1
  105. package/src/suggestion.js +1 -1
  106. package/src/suggestiondescriptionfactory.js +1 -1
  107. package/src/trackchanges.js +1 -1
  108. package/src/trackchangesdata.js +1 -1
  109. package/src/trackchangesediting.d.ts +29 -1
  110. package/src/trackchangesediting.js +1 -1
  111. package/src/trackchangesui.js +1 -1
  112. package/src/ui/suggestioncontroller.js +1 -1
  113. package/src/ui/view/basesuggestionthreadview.js +1 -1
  114. package/src/ui/view/suggestionthreadview.js +1 -1
  115. package/src/utils/common-translations.js +1 -1
  116. package/src/utils/utils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x50ac=['push','toLowerCase','value','has','formatInline','registerDescriptionCallback','createRange','format','hasAttribute','afterInit','enableCommand','commandParams','*Set\x20highlight:*\x20%0','change','getAttribute','editor','backward','config','commandName','document','getFirstPosition','FORMAT_HIGHLIGHT','isCollapsed','highlight','_descriptionFactory','plugins','model','find','get','color','getRanges','title','highlight.options','item','markInlineFormat','HighlightEditing'];(function(_0x1c2022,_0x50ac62){const _0x59c06a=function(_0x16045e){while(--_0x16045e){_0x1c2022['push'](_0x1c2022['shift']());}};_0x59c06a(++_0x50ac62);}(_0x50ac,0xda));const _0x59c0=function(_0x1c2022,_0x50ac62){_0x1c2022=_0x1c2022-0x0;let _0x59c06a=_0x50ac[_0x1c2022];return _0x59c06a;};import{Plugin as _0x565edb}from'ckeditor5/src/core';import{getTranslation as _0x4c4fd8}from'../utils/common-translations';import{getRangesWithAttribute as _0x5ebfc8}from'./utils';export default class K extends _0x565edb{[_0x59c0('0x7')](){const _0x430bea=this[_0x59c0('0xd')];if(!_0x430bea[_0x59c0('0x17')][_0x59c0('0x1')](_0x59c0('0x21')))return;const _0x4c971b=_0x430bea[_0x59c0('0x17')]['get']('TrackChangesEditing');_0x4c971b[_0x59c0('0x8')](_0x59c0('0x15'),(_0x2b65c7,_0x283098={})=>{const _0x16aca4=_0x430bea[_0x59c0('0x18')][_0x59c0('0x11')]['selection'],_0x4fa42f=_0x16aca4[_0x59c0('0xc')]('highlight');let _0x5f0c09=_0x283098[_0x59c0('0x0')],_0x250e10=[];if(_0x16aca4[_0x59c0('0x14')]){const _0x467c1f=_0x16aca4[_0x59c0('0x12')]();if(!_0x16aca4[_0x59c0('0x6')](_0x59c0('0x15')))return void _0x2b65c7(_0x283098);{const _0x1a9ed8=_0x20b90e=>_0x20b90e[_0x59c0('0x1f')][_0x59c0('0xc')](_0x59c0('0x15'))===_0x4fa42f,_0x1d54c6=_0x467c1f['getLastMatchingPosition'](_0x1a9ed8,{'direction':_0x59c0('0xe')}),_0x582625=_0x467c1f['getLastMatchingPosition'](_0x1a9ed8);_0x250e10=[_0x430bea[_0x59c0('0x18')][_0x59c0('0x4')](_0x1d54c6,_0x582625)],_0x5f0c09==_0x4fa42f&&(_0x5f0c09=null);}}else for(const _0x3fa6a7 of _0x16aca4[_0x59c0('0x1c')]())_0x5f0c09?_0x250e10['push'](_0x3fa6a7):_0x250e10[_0x59c0('0x22')](..._0x5ebfc8(_0x59c0('0x15'),_0x3fa6a7,_0x430bea[_0x59c0('0x18')]));_0x430bea[_0x59c0('0x18')][_0x59c0('0xb')](()=>{for(const _0x1e154a of _0x250e10)_0x4c971b[_0x59c0('0x20')](_0x1e154a,{'commandName':_0x59c0('0x15'),'commandParams':[{'value':_0x5f0c09}]});});});const _0x40fd21=_0x430bea['locale'];_0x4c971b[_0x59c0('0x16')][_0x59c0('0x3')](_0x2a0c5f=>{const {type:_0x2598fa,data:_0x1e9053}=_0x2a0c5f;if(_0x59c0('0x2')==_0x2598fa&&_0x1e9053&&_0x59c0('0x15')==_0x1e9053[_0x59c0('0x10')]){const _0x440e3e=_0x40fd21['t'],_0x2da8a2=_0x1e9053[_0x59c0('0x9')][0x0]['value'];if(_0x2da8a2){const _0x564c23=_0x430bea[_0x59c0('0xf')][_0x59c0('0x1a')](_0x59c0('0x1e'))[_0x59c0('0x19')](_0x495878=>_0x495878[_0x59c0('0x18')]==_0x2da8a2),_0x428c89=_0x440e3e(_0x564c23[_0x59c0('0x1d')])[_0x59c0('0x23')]();return{'type':_0x59c0('0x5'),'content':_0x4c4fd8(_0x40fd21,_0x59c0('0xa'),_0x428c89),'color':{'value':_0x564c23[_0x59c0('0x1b')],'title':_0x564c23[_0x59c0('0x1d')]}};}return{'type':_0x59c0('0x5'),'content':_0x4c4fd8(_0x40fd21,'*Remove\x20highlight*',_0x4c4fd8(_0x40fd21,_0x59c0('0x13')))};}});}}
23
+ const _0x449e=['item','formatInline','_descriptionFactory','value','registerDescriptionCallback','isCollapsed','*Set\x20highlight:*\x20%0','hasAttribute','push','getRanges','title','HighlightEditing','backward','get','getLastMatchingPosition','find','model','afterInit','highlight.options','color','getFirstPosition','toLowerCase','plugins','FORMAT_HIGHLIGHT','getAttribute','format','highlight','locale','change','*Remove\x20highlight*','selection'];(function(_0x5c5061,_0x449ec3){const _0x3f1441=function(_0x2dcba4){while(--_0x2dcba4){_0x5c5061['push'](_0x5c5061['shift']());}};_0x3f1441(++_0x449ec3);}(_0x449e,0x1e8));const _0x3f14=function(_0x5c5061,_0x449ec3){_0x5c5061=_0x5c5061-0x0;let _0x3f1441=_0x449e[_0x5c5061];return _0x3f1441;};import{Plugin as _0x9fd500}from'ckeditor5/src/core';import{getTranslation as _0x65a131}from'../utils/common-translations';import{getRangesWithAttribute as _0x129c76}from'./utils';export default class K extends _0x9fd500{[_0x3f14('0x19')](){const _0x3a7b7f=this['editor'];if(!_0x3a7b7f[_0x3f14('0x1e')]['has'](_0x3f14('0x13')))return;const _0x3d4223=_0x3a7b7f[_0x3f14('0x1e')][_0x3f14('0x15')]('TrackChangesEditing');_0x3d4223['enableCommand'](_0x3f14('0x3'),(_0x33551d,_0x400129={})=>{const _0x305689=_0x3a7b7f[_0x3f14('0x18')]['document'][_0x3f14('0x7')],_0x29ed39=_0x305689[_0x3f14('0x1')](_0x3f14('0x3'));let _0x2eea45=_0x400129[_0x3f14('0xb')],_0x34a276=[];if(_0x305689[_0x3f14('0xd')]){const _0x2ea5af=_0x305689[_0x3f14('0x1c')]();if(!_0x305689[_0x3f14('0xf')](_0x3f14('0x3')))return void _0x33551d(_0x400129);{const _0x221044=_0x2de050=>_0x2de050[_0x3f14('0x8')][_0x3f14('0x1')]('highlight')===_0x29ed39,_0x5212d7=_0x2ea5af[_0x3f14('0x16')](_0x221044,{'direction':_0x3f14('0x14')}),_0x142bf1=_0x2ea5af[_0x3f14('0x16')](_0x221044);_0x34a276=[_0x3a7b7f[_0x3f14('0x18')]['createRange'](_0x5212d7,_0x142bf1)],_0x2eea45==_0x29ed39&&(_0x2eea45=null);}}else for(const _0x3cdba8 of _0x305689[_0x3f14('0x11')]())_0x2eea45?_0x34a276[_0x3f14('0x10')](_0x3cdba8):_0x34a276[_0x3f14('0x10')](..._0x129c76(_0x3f14('0x3'),_0x3cdba8,_0x3a7b7f[_0x3f14('0x18')]));_0x3a7b7f[_0x3f14('0x18')][_0x3f14('0x5')](()=>{for(const _0x33349c of _0x34a276)_0x3d4223['markInlineFormat'](_0x33349c,{'commandName':'highlight','commandParams':[{'value':_0x2eea45}]});});});const _0x355e96=_0x3a7b7f[_0x3f14('0x4')];_0x3d4223[_0x3f14('0xa')][_0x3f14('0xc')](_0x48ea88=>{const {type:_0x48f3e7,data:_0x3c4b3b}=_0x48ea88;if(_0x3f14('0x9')==_0x48f3e7&&_0x3c4b3b&&_0x3f14('0x3')==_0x3c4b3b['commandName']){const _0x18c63d=_0x355e96['t'],_0x328ada=_0x3c4b3b['commandParams'][0x0][_0x3f14('0xb')];if(_0x328ada){const _0x308e22=_0x3a7b7f['config'][_0x3f14('0x15')](_0x3f14('0x1a'))[_0x3f14('0x17')](_0xae7ec=>_0xae7ec[_0x3f14('0x18')]==_0x328ada),_0x496258=_0x18c63d(_0x308e22[_0x3f14('0x12')])[_0x3f14('0x1d')]();return{'type':'format','content':_0x65a131(_0x355e96,_0x3f14('0xe'),_0x496258),'color':{'value':_0x308e22[_0x3f14('0x1b')],'title':_0x308e22['title']}};}return{'type':_0x3f14('0x2'),'content':_0x65a131(_0x355e96,_0x3f14('0x6'),_0x65a131(_0x355e96,_0x3f14('0x0')))};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x38d7=['dataDowncast','enableCommand','locale','createPositionAt','plugins','conversion','editor','elementToStructure','insert','get','addClass','createEmptyElement','registerElementLabel','afterInit','high','for','ELEMENT_HORIZONTAL_LINE','has','horizontalLine','TrackChangesEditing','div','ck-horizontal-line','createContainerElement'];(function(_0x3673df,_0x38d73d){const _0xb28a4=function(_0x254a72){while(--_0x254a72){_0x3673df['push'](_0x3673df['shift']());}};_0xb28a4(++_0x38d73d);}(_0x38d7,0x148));const _0xb28a=function(_0x3673df,_0x38d73d){_0x3673df=_0x3673df-0x0;let _0xb28a4=_0x38d7[_0x3673df];return _0xb28a4;};import{Plugin as _0x26eeea}from'ckeditor5/src/core';import{getTranslation as _0xd3dbfa}from'../utils/common-translations';export default class Q extends _0x26eeea{[_0xb28a('0x7')](){const _0x167584=this[_0xb28a('0x0')];if(!_0x167584['plugins'][_0xb28a('0xb')]('HorizontalLineEditing'))return;_0x167584[_0xb28a('0x15')][_0xb28a('0x3')](_0xb28a('0xd'))[_0xb28a('0x12')](_0xb28a('0xc'));const _0x8d3299=_0x167584[_0xb28a('0x15')][_0xb28a('0x3')]('TrackChangesEditing'),_0x5968cd=_0x167584[_0xb28a('0x13')];_0x8d3299['_descriptionFactory'][_0xb28a('0x6')](_0xb28a('0xc'),_0x191267=>_0xd3dbfa(_0x5968cd,_0xb28a('0xa'),_0x191267)),_0x167584[_0xb28a('0x16')][_0xb28a('0x9')](_0xb28a('0x11'))[_0xb28a('0x1')]({'model':'horizontalLine','view':(_0x5425fb,{writer:_0x598677,options:_0x36f0a5})=>{if(!_0x36f0a5['showSuggestionHighlights'])return null;const _0x1cc7b3=_0x598677[_0xb28a('0x10')](_0xb28a('0xe')),_0x4ebf68=_0x598677[_0xb28a('0x5')]('hr');return _0x598677[_0xb28a('0x4')](_0xb28a('0xf'),_0x1cc7b3),_0x598677[_0xb28a('0x2')](_0x598677[_0xb28a('0x14')](_0x1cc7b3,0x0),_0x4ebf68),_0x1cc7b3;},'converterPriority':_0xb28a('0x8')});}}
23
+ const _0x499c=['createEmptyElement','_descriptionFactory','plugins','createPositionAt','registerElementLabel','showSuggestionHighlights','conversion','HorizontalLineEditing','has','locale','TrackChangesEditing','horizontalLine','for','createContainerElement','afterInit','elementToStructure','high','enableCommand','ck-horizontal-line','get'];(function(_0x4fa348,_0x499c1d){const _0x300340=function(_0x30d858){while(--_0x30d858){_0x4fa348['push'](_0x4fa348['shift']());}};_0x300340(++_0x499c1d);}(_0x499c,0x1b2));const _0x3003=function(_0x4fa348,_0x499c1d){_0x4fa348=_0x4fa348-0x0;let _0x300340=_0x499c[_0x4fa348];return _0x300340;};import{Plugin as _0x2e6241}from'ckeditor5/src/core';import{getTranslation as _0x5dc28c}from'../utils/common-translations';export default class Q extends _0x2e6241{[_0x3003('0x0')](){const _0x93f457=this['editor'];if(!_0x93f457[_0x3003('0x8')][_0x3003('0xe')](_0x3003('0xd')))return;_0x93f457[_0x3003('0x8')][_0x3003('0x5')]('TrackChangesEditing')[_0x3003('0x3')](_0x3003('0x11'));const _0x44f700=_0x93f457[_0x3003('0x8')][_0x3003('0x5')](_0x3003('0x10')),_0x436028=_0x93f457[_0x3003('0xf')];_0x44f700[_0x3003('0x7')][_0x3003('0xa')]('horizontalLine',_0x17c7dc=>_0x5dc28c(_0x436028,'ELEMENT_HORIZONTAL_LINE',_0x17c7dc)),_0x93f457[_0x3003('0xc')][_0x3003('0x12')]('dataDowncast')[_0x3003('0x1')]({'model':_0x3003('0x11'),'view':(_0x3c98ba,{writer:_0x34ca91,options:_0x2ce38a})=>{if(!_0x2ce38a[_0x3003('0xb')])return null;const _0x5df9c4=_0x34ca91[_0x3003('0x13')]('div'),_0x5f288f=_0x34ca91[_0x3003('0x6')]('hr');return _0x34ca91['addClass'](_0x3003('0x4'),_0x5df9c4),_0x34ca91['insert'](_0x34ca91[_0x3003('0x9')](_0x5df9c4,0x0),_0x5f288f),_0x5df9c4;},'converterPriority':_0x3003('0x2')});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4871=['locale','selection','htmlEmbed','getSelectedElement','plugins','cancel','*Change\x20%0\x20content*','get','editing','document','ELEMENT_HTML_EMBED','format','element','getAttribute','rawHtml','_descriptionFactory','editor','registerElementLabel','change','TrackChangesEditing','commandName','HtmlEmbed','model','view','enableCommand'];(function(_0xf35c9a,_0x48719e){const _0x22ba63=function(_0x405867){while(--_0x405867){_0xf35c9a['push'](_0xf35c9a['shift']());}};_0x22ba63(++_0x48719e);}(_0x4871,0xa3));const _0x22ba=function(_0xf35c9a,_0x48719e){_0xf35c9a=_0xf35c9a-0x0;let _0x22ba63=_0x4871[_0xf35c9a];return _0x22ba63;};import{Plugin as _0xb0bdbc}from'ckeditor5/src/core';import{getTranslation as _0x787388}from'../utils/common-translations';export default class V extends _0xb0bdbc{['afterInit'](){const _0x9fd71=this[_0x22ba('0x3')];if(!_0x9fd71[_0x22ba('0x10')]['has'](_0x22ba('0x8')))return;const _0x91728c=_0x9fd71['plugins'][_0x22ba('0x13')](_0x22ba('0x6')),_0x1fa8e9=_0x9fd71[_0x22ba('0xc')],_0x433505=_0x9fd71[_0x22ba('0x14')][_0x22ba('0xa')][_0x22ba('0x15')][_0x22ba('0xd')];_0x91728c[_0x22ba('0x2')][_0x22ba('0x4')](_0x22ba('0x1'),_0x4a195=>_0x787388(_0x1fa8e9,_0x22ba('0x16'),_0x4a195)),_0x9fd71[_0x22ba('0x10')][_0x22ba('0x13')]('TrackChangesEditing')[_0x22ba('0xb')]('htmlEmbed',(_0x3aaa5e,_0x30ed94)=>{const _0x2f9e4d=_0x9fd71[_0x22ba('0x9')],_0x55ffad=_0x2f9e4d[_0x22ba('0x15')][_0x22ba('0xd')];_0x2f9e4d[_0x22ba('0x5')](()=>{const _0x1132e9=function(_0x33f114){const _0x1d3d36=_0x33f114['getSelectedElement']();if(_0x1d3d36&&_0x1d3d36['is'](_0x22ba('0x18'),_0x22ba('0x1')))return _0x33f114['getSelectedElement']();return null;}(_0x55ffad);if(!_0x1132e9)return void _0x3aaa5e(null);const _0xfe6cd3=_0x1132e9[_0x22ba('0x0')]('value')||'';if(void 0x0===_0x30ed94)return;if(_0x30ed94===_0xfe6cd3)return;_0x91728c['markBlockFormat'](_0x1132e9,{'commandName':_0x22ba('0xe'),'commandParams':[_0x30ed94]}),_0x433505[_0x22ba('0xf')]()['getCustomProperty']('rawHtmlApi')[_0x22ba('0x11')]();});}),_0x91728c['_descriptionFactory']['registerDescriptionCallback'](_0x34fe40=>{const {data:_0x1c4b22}=_0x34fe40;if(_0x1c4b22&&'htmlEmbed'==_0x1c4b22[_0x22ba('0x7')]){const _0x5d1d10=_0x787388(_0x1fa8e9,_0x22ba('0x16'));return{'type':_0x22ba('0x17'),'content':_0x787388(_0x1fa8e9,_0x22ba('0x12'),_0x5d1d10)};}});}}
23
+ const _0x3b92=['has','*Change\x20%0\x20content*','change','enableCommand','TrackChangesEditing','editing','plugins','view','cancel','_descriptionFactory','commandName','editor','registerDescriptionCallback','get','ELEMENT_HTML_EMBED','selection','registerElementLabel','htmlEmbed','document','locale','rawHtmlApi','value','rawHtml'];(function(_0x33e6b3,_0x3b9285){const _0x3a60da=function(_0x4e9932){while(--_0x4e9932){_0x33e6b3['push'](_0x33e6b3['shift']());}};_0x3a60da(++_0x3b9285);}(_0x3b92,0x13e));const _0x3a60=function(_0x33e6b3,_0x3b9285){_0x33e6b3=_0x33e6b3-0x0;let _0x3a60da=_0x3b92[_0x33e6b3];return _0x3a60da;};import{Plugin as _0x34063a}from'ckeditor5/src/core';import{getTranslation as _0x573a39}from'../utils/common-translations';export default class V extends _0x34063a{['afterInit'](){const _0x5f0569=this[_0x3a60('0xf')];if(!_0x5f0569['plugins'][_0x3a60('0x4')]('HtmlEmbed'))return;const _0x2f9a6c=_0x5f0569[_0x3a60('0xa')][_0x3a60('0x11')](_0x3a60('0x8')),_0x290822=_0x5f0569[_0x3a60('0x0')],_0x3b7a57=_0x5f0569[_0x3a60('0x9')][_0x3a60('0xb')][_0x3a60('0x16')][_0x3a60('0x13')];_0x2f9a6c[_0x3a60('0xd')][_0x3a60('0x14')]('rawHtml',_0x485d68=>_0x573a39(_0x290822,_0x3a60('0x12'),_0x485d68)),_0x5f0569['plugins'][_0x3a60('0x11')](_0x3a60('0x8'))[_0x3a60('0x7')](_0x3a60('0x15'),(_0x42c17a,_0x5d8aa3)=>{const _0x408c80=_0x5f0569['model'],_0x2bd966=_0x408c80[_0x3a60('0x16')][_0x3a60('0x13')];_0x408c80[_0x3a60('0x6')](()=>{const _0x3e3b64=function(_0x1c807a){const _0x4811c3=_0x1c807a['getSelectedElement']();if(_0x4811c3&&_0x4811c3['is']('element',_0x3a60('0x3')))return _0x1c807a['getSelectedElement']();return null;}(_0x2bd966);if(!_0x3e3b64)return void _0x42c17a(null);const _0x1ff81e=_0x3e3b64['getAttribute'](_0x3a60('0x2'))||'';if(void 0x0===_0x5d8aa3)return;if(_0x5d8aa3===_0x1ff81e)return;_0x2f9a6c['markBlockFormat'](_0x3e3b64,{'commandName':_0x3a60('0x15'),'commandParams':[_0x5d8aa3]}),_0x3b7a57['getSelectedElement']()['getCustomProperty'](_0x3a60('0x1'))[_0x3a60('0xc')]();});}),_0x2f9a6c[_0x3a60('0xd')][_0x3a60('0x10')](_0xbadb08=>{const {data:_0x242a25}=_0xbadb08;if(_0x242a25&&_0x3a60('0x15')==_0x242a25[_0x3a60('0xe')]){const _0x53bce3=_0x573a39(_0x290822,_0x3a60('0x12'));return{'type':'format','content':_0x573a39(_0x290822,_0x3a60('0x5'),_0x53bce3)};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x41a5=['discard','caption','*Remove\x20image\x20text\x20alternative*','model','getAttribute','markDeletion','deletion','imageStyle','toNext','insertion','createRangeOn','getSuggestion','ImageEditing','end','width','convertInlineImageToBlock','accept','afterInit','getContainedElement','registerPostFixer','ImageUploadEditing','imageStylePostApply','isCollapsed','toPrevious','isBefore','isIntersecting','*Set\x20image\x20text\x20alternative:*\x20%0','type','discardSuggestion','resizeImage','_splitMarkerName','*Set\x20image\x20width:*\x20%0','fromPosition','document','getSuggestionCallback','commandParams','refresh','from','plugins','nodeAfter','findIndex','normalizedStyles','get','head','length','selection','subType','insertImage','title','enableCommand','_suggestionFactory','imageTextAlternative','locale','value','getClosestSelectedImageElement','format','getCaptionFromImageModelElement','imageBlock','ImageStyleEditing','newValue','ImageUtils','commandName','markBlockFormat','removeObject','_findSuggestions','element','imageCaption','getSuggestions','previous','next','join','ImageCaptionEditing','toggleImageCaption','FORMAT_SIDE_IMAGE','convertBlockImageToInline','suggestion','differ','commands','isInlineImage','ELEMENT_INLINE_IMAGE','name','forward','registerElementLabel','chain','ImageResize','getNearestSelectionRange','ELEMENT_IMAGE','hasSuggestion','schema','has','isBlockImage','forceDefaultExecution','alt','detach','registerCustomCallback','shouldConvertImageType','formatBlock','forEach','toLowerCase','newRange','ImageBlockEditing','side','author','createRange','filter','imageStylePreApply','_descriptionFactory','getFirstRange','ImageTextAlternativeEditing','registerDescriptionCallback','ImageInlineEditing','start','TrackChangesEditing','change','addObject','formatInline','ELEMENT_CAPTION','backward','isEqual','imageTypeInline','imageTypeBlock','find','isInContent','markInsertion'];(function(_0x3b890e,_0x41a5bd){const _0x1989ac=function(_0x41a236){while(--_0x41a236){_0x3b890e['push'](_0x3b890e['shift']());}};_0x1989ac(++_0x41a5bd);}(_0x41a5,0x15e));const _0x1989=function(_0x3b890e,_0x41a5bd){_0x3b890e=_0x3b890e-0x0;let _0x1989ac=_0x41a5[_0x3b890e];return _0x1989ac;};import{Plugin as _0x1b149d}from'ckeditor5/src/core';import{LivePosition as _0x55ab23}from'ckeditor5/src/engine';import{uid as _0x5170e0}from'ckeditor5/src/utils';import{getTranslation as _0x45eb9e}from'../utils/common-translations';export default class X extends _0x1b149d{[_0x1989('0x27')](){const _0x519371=this['editor'];if(!_0x519371[_0x1989('0x3c')]['has'](_0x1989('0x22')))return;const _0x140b7f=_0x519371[_0x1989('0x3c')]['get'](_0x1989('0xa')),_0xe9a30f=_0x519371['plugins'][_0x1989('0x40')](_0x1989('0x52')),_0x1a4ce2={},_0x515592=_0x519371[_0x1989('0x4a')];if(_0x140b7f[_0x1989('0x47')](_0x1989('0x45')),_0x140b7f[_0x1989('0x4')]['registerElementLabel'](_0x1989('0x4f'),_0x19b3b3=>_0x45eb9e(_0x515592,_0x1989('0x6c'),_0x19b3b3)),_0x140b7f[_0x1989('0x4')]['registerElementLabel']('imageInline',_0x14f08a=>_0x45eb9e(_0x515592,_0x1989('0x65'),_0x14f08a)),_0x140b7f['_descriptionFactory'][_0x1989('0x68')]('caption',()=>_0x45eb9e(_0x515592,_0x1989('0xe'))),_0x519371[_0x1989('0x3c')][_0x1989('0x6f')](_0x1989('0x2a'))&&_0x140b7f[_0x1989('0x47')]('uploadImage'),_0x519371[_0x1989('0x3c')]['has'](_0x1989('0x7a'))&&_0x519371['plugins'][_0x1989('0x6f')](_0x1989('0x8'))&&(_0x140b7f[_0x1989('0x47')](_0x1989('0x11'),(_0x120aa2,_0x2a68b9)=>{const _0x3c193f=_0xe9a30f[_0x1989('0x4c')](_0x519371[_0x1989('0x19')][_0x1989('0x37')][_0x1989('0x43')]);_0x519371['model'][_0x1989('0xb')](()=>{_0x140b7f[_0x1989('0x54')](_0x3c193f,{'commandName':_0x1989('0x11'),'commandParams':[_0x2a68b9]},[],'convertBlockImageToInline');});}),_0x140b7f[_0x1989('0x47')](_0x1989('0x12'),(_0x58e8c7,_0x3ff749)=>{_0x519371[_0x1989('0x19')][_0x1989('0xb')](_0x5e19c2=>{let _0xc24ce0=_0xe9a30f[_0x1989('0x4c')](_0x519371['model'][_0x1989('0x37')][_0x1989('0x43')]),_0x1cb5ac=_0x5e19c2[_0x1989('0x20')](_0xc24ce0);const _0x4314be=_0x55ab23['fromPosition'](_0x1cb5ac[_0x1989('0x9')],_0x1989('0x2d')),_0x3f5a8b=_0x55ab23[_0x1989('0x36')](_0x1cb5ac[_0x1989('0x23')],_0x1989('0x1e'));_0x140b7f[_0x1989('0x71')](()=>_0x58e8c7(_0x3ff749)),_0xc24ce0=_0xe9a30f[_0x1989('0x4c')](_0x519371['model'][_0x1989('0x37')][_0x1989('0x43')]),_0x1cb5ac=_0x5e19c2[_0x1989('0x20')](_0xc24ce0);const _0x133fd8=_0x5e19c2[_0x1989('0x1')](_0x4314be,_0x3f5a8b);_0x4314be[_0x1989('0x73')](),_0x3f5a8b[_0x1989('0x73')](),_0x140b7f[_0x1989('0x54')](_0xc24ce0,{'commandName':'imageTypeInline','commandParams':[]},[],_0x1989('0x25')),_0x133fd8[_0x1989('0x9')][_0x1989('0x2e')](_0x1cb5ac['start'])&&_0x140b7f[_0x1989('0x15')](_0x5e19c2[_0x1989('0x1')](_0x133fd8['start'],_0x1cb5ac[_0x1989('0x9')]),_0x1989('0x25')),_0x1cb5ac[_0x1989('0x23')]['isBefore'](_0x133fd8['end'])&&_0x140b7f['markInsertion'](_0x5e19c2[_0x1989('0x1')](_0x1cb5ac[_0x1989('0x23')],_0x133fd8['end']),_0x1989('0x25'));});}),_0x140b7f[_0x1989('0x48')]['registerCustomCallback'](_0x1989('0x76'),_0x1989('0x25'),_0x1989('0x5c'),()=>{}),_0x140b7f[_0x1989('0x48')][_0x1989('0x74')](_0x1989('0x76'),'convertInlineImageToBlock',_0x1989('0x26'),()=>{}),_0x140b7f[_0x1989('0x48')][_0x1989('0x74')](_0x1989('0x76'),'convertInlineImageToBlock','discard',_0x140b7f[_0x1989('0x48')]['getSuggestionCallback'](_0x1989('0x76'),'',_0x1989('0x26'))),_0x140b7f[_0x1989('0x48')][_0x1989('0x74')]('insertion','convertInlineImageToBlock','join',()=>{}),_0x140b7f[_0x1989('0x48')][_0x1989('0x74')](_0x1989('0x1f'),_0x1989('0x25'),'discard',([_0x3666ac])=>{const _0x889e7a=_0x140b7f['_suggestionFactory']['getSuggestionCallback'](_0x1989('0x1f'),'',_0x1989('0x16'));let _0xb8dad1=_0x3666ac[_0x1989('0x9')],_0x52ebcc=_0x3666ac[_0x1989('0x23')];const _0x2eb2cf=_0x519371[_0x1989('0x19')][_0x1989('0x6e')][_0x1989('0x6b')](_0xb8dad1,_0x1989('0xf')),_0x387d37=_0x519371[_0x1989('0x19')]['schema'][_0x1989('0x6b')](_0x52ebcc,_0x1989('0x67'));_0x2eb2cf['isCollapsed']&&(_0xb8dad1=_0x2eb2cf['start']),_0x387d37[_0x1989('0x2c')]&&(_0x52ebcc=_0x387d37['end']),_0x889e7a([_0x519371['model'][_0x1989('0x1')](_0xb8dad1,_0x52ebcc)]);}),_0x140b7f[_0x1989('0x48')]['registerCustomCallback'](_0x1989('0x76'),_0x1989('0x25'),'chain',_0x1bdb5d),_0x140b7f[_0x1989('0x48')][_0x1989('0x74')](_0x1989('0x1f'),'convertInlineImageToBlock',_0x1989('0x69'),_0x1bdb5d)),_0x519371[_0x1989('0x3c')][_0x1989('0x6f')](_0x1989('0x5d'))&&(_0x140b7f['enableCommand'](_0x1989('0x5e'),(_0x5b794d,_0x413a6f)=>{const _0x3baa06=_0x519371[_0x1989('0x3c')]['get']('ImageCaptionUtils');let _0x460295=_0xe9a30f[_0x1989('0x4c')](_0x519371[_0x1989('0x19')][_0x1989('0x37')][_0x1989('0x43')]),_0x5e3bab=_0x3baa06[_0x1989('0x4e')](_0x460295);_0x519371[_0x1989('0x19')][_0x1989('0xb')](()=>{if(_0x5e3bab)return void _0x140b7f[_0x1989('0x1b')](_0x519371[_0x1989('0x19')][_0x1989('0x20')](_0x5e3bab));const _0x9e141b=_0xe9a30f[_0x1989('0x70')](_0x460295);_0x5b794d(_0x413a6f),_0x460295=_0xe9a30f['getClosestSelectedImageElement'](_0x519371[_0x1989('0x19')][_0x1989('0x37')][_0x1989('0x43')]),_0x5e3bab=_0x3baa06[_0x1989('0x4e')](_0x460295),_0x140b7f['markInsertion'](_0x519371[_0x1989('0x19')][_0x1989('0x20')](_0x5e3bab),_0x9e141b?null:_0x1989('0x58'));});}),_0x140b7f[_0x1989('0x48')][_0x1989('0x74')]('insertion',_0x1989('0x58'),_0x1989('0x69'),_0x1bdb5d)),_0x519371[_0x1989('0x3c')]['has']('ImageStyleEditing')){_0x140b7f[_0x1989('0x47')]('imageStyle',(_0x7e6504,_0x16276d)=>{const _0x31f24e=_0x519371[_0x1989('0x3c')][_0x1989('0x40')]('Users')['me'],_0x53088d=_0x519371[_0x1989('0x63')]['get']('imageStyle');let _0xaf23ca=_0xe9a30f['getClosestSelectedImageElement'](_0x519371[_0x1989('0x19')]['document']['selection']),_0x1e6df5=_0x519371[_0x1989('0x19')][_0x1989('0x20')](_0xaf23ca),_0x214871=_0x53088d[_0x1989('0x4b')];if(_0x214871==_0x16276d[_0x1989('0x4b')])return;const _0x34e0a1={'commandName':_0x1989('0x1d'),'commandParams':[_0x16276d],'formatGroupId':_0x5170e0()};_0x519371[_0x1989('0x19')][_0x1989('0xb')](()=>{if(_0x140b7f[_0x1989('0x59')]()['filter'](_0x470d65=>_0x470d65[_0x1989('0x14')]&&_0x31f24e==_0x470d65[_0x1989('0x0')]&&(_0x1989('0x76')==_0x470d65['type']||_0x1989('0xd')==_0x470d65[_0x1989('0x31')])&&(_0x1989('0x3')==_0x470d65[_0x1989('0x44')]||'imageStylePostApply'==_0x470d65[_0x1989('0x44')])&&_0x470d65[_0x1989('0x5')]()['isEqual'](_0x1e6df5))[_0x1989('0x77')](_0x428b4d=>_0x140b7f[_0x1989('0x32')](_0x428b4d[_0x1989('0x41')])),_0xaf23ca=_0xe9a30f[_0x1989('0x4c')](_0x519371[_0x1989('0x19')][_0x1989('0x37')][_0x1989('0x43')]),_0x1e6df5=_0x519371['model']['createRangeOn'](_0xaf23ca),_0x53088d[_0x1989('0x3a')](),_0x519371[_0x1989('0x63')][_0x1989('0x40')](_0x1989('0x11'))[_0x1989('0x3a')](),_0x519371[_0x1989('0x63')][_0x1989('0x40')]('imageTypeBlock')[_0x1989('0x3a')](),_0x214871=_0x53088d[_0x1989('0x4b')],_0x214871!=_0x16276d[_0x1989('0x4b')])return _0xe9a30f[_0x1989('0x64')](_0xaf23ca)&&_0x53088d[_0x1989('0x75')](_0x16276d[_0x1989('0x4b')],_0xaf23ca)?(_0x7e6504(_0x16276d),_0xaf23ca=_0xe9a30f[_0x1989('0x4c')](_0x519371[_0x1989('0x19')][_0x1989('0x37')][_0x1989('0x43')]),void _0x140b7f[_0x1989('0x54')](_0xaf23ca,{..._0x34e0a1,'commandReversedParams':[{'value':_0x214871||null}]},[],_0x1989('0x3'))):void(_0xe9a30f[_0x1989('0x70')](_0xaf23ca)?_0x140b7f[_0x1989('0x54')](_0xaf23ca,_0x34e0a1,[],'imageStylePostApply'):_0x140b7f['markInlineFormat'](_0x1e6df5,_0x34e0a1,_0x1989('0x2b')));});});for(const _0x3c21bb of _0x519371['plugins'][_0x1989('0x40')](_0x1989('0x50'))[_0x1989('0x3f')])_0x1a4ce2[_0x3c21bb[_0x1989('0x66')]]=_0x3c21bb[_0x1989('0x46')][_0x1989('0x78')]();_0x140b7f[_0x1989('0x48')][_0x1989('0x74')](_0x1989('0x76'),_0x1989('0x3'),_0x1989('0x5c'),()=>{}),_0x140b7f[_0x1989('0x48')][_0x1989('0x74')](_0x1989('0x76'),_0x1989('0x2b'),_0x1989('0x5c'),()=>{}),_0x140b7f[_0x1989('0x48')][_0x1989('0x74')](_0x1989('0xd'),_0x1989('0x2b'),'join',()=>{}),_0x140b7f['_suggestionFactory']['registerCustomCallback'](_0x1989('0x76'),_0x1989('0x3'),'accept',()=>{}),_0x140b7f[_0x1989('0x48')][_0x1989('0x74')](_0x1989('0x76'),_0x1989('0x3'),'discard',(_0x480b93,_0x36dd5b)=>{_0x140b7f[_0x1989('0x48')][_0x1989('0x38')](_0x1989('0x76'),'',_0x1989('0x26'))(_0x480b93,{'commandName':_0x36dd5b[_0x1989('0x53')],'commandParams':_0x36dd5b['commandReversedParams']});}),_0x140b7f[_0x1989('0x48')][_0x1989('0x74')](_0x1989('0x76'),'imageStylePreApply',_0x1989('0x69'),_0x1bdb5d);}const _0x522e51=[{'type':_0x1989('0x76'),'subType':_0x1989('0x3')},{'type':_0x1989('0x1f'),'subType':_0x1989('0x58')},{'type':_0x1989('0x76'),'subType':_0x1989('0x25')},{'type':'insertion','subType':_0x1989('0x25')}];function _0x845d14(_0x45424b,_0x367c0c){const _0x8c6dbe=_0x522e51['findIndex'](({type:_0x518089,subType:_0x803e92})=>_0x45424b[_0x1989('0x31')]==_0x518089&&_0x45424b[_0x1989('0x44')]==_0x803e92),_0x49ce2d=_0x522e51[_0x1989('0x3e')](({type:_0x4d9cd2,subType:_0x26eb2f})=>_0x367c0c['type']==_0x4d9cd2&&_0x367c0c['subType']==_0x26eb2f);if(_0x8c6dbe<0x0||_0x49ce2d<0x0)return!0x1;const _0x239971=_0x45424b[_0x1989('0x5')](),_0x56ea54=_0x367c0c[_0x1989('0x5')]();if((0x0==_0x8c6dbe||0x1==_0x8c6dbe)&&0x2==_0x49ce2d&&_0x239971[_0x1989('0x2f')](_0x56ea54))return!0x0;if(0x2==_0x8c6dbe&&0x3==_0x49ce2d){const _0x5c99e0=_0x140b7f[_0x1989('0x56')](_0x239971,_0x1989('0x1f'))[_0x1989('0x2')](({suggestion:_0x457950,meta:_0x34295b})=>_0x34295b['isOwn']&&_0x1989('0x25')==_0x457950[_0x1989('0x44')]);if(_0x5c99e0[_0x1989('0x42')]>0x1&&_0x56ea54[_0x1989('0x23')][_0x1989('0x10')](_0x239971[_0x1989('0x9')]))return!0x0;if(0x1==_0x5c99e0['length']&&(_0x239971['start'][_0x1989('0x10')](_0x56ea54[_0x1989('0x23')])||_0x239971['end'][_0x1989('0x10')](_0x56ea54['start'])))return!0x0;}if(0x3==_0x8c6dbe&&0x3==_0x49ce2d&&_0x239971[_0x1989('0x9')][_0x1989('0x2e')](_0x56ea54[_0x1989('0x9')])){const _0x1e206b=_0x239971[_0x1989('0x23')][_0x1989('0x3d')],_0x5b0748=_0x56ea54['start']['nodeBefore'];return _0xe9a30f[_0x1989('0x70')](_0x1e206b)&&_0x1e206b===_0x5b0748;}return!0x1;}function _0x1bdb5d(_0x17f308,_0x467e6f){return _0x845d14(_0x17f308,_0x467e6f)?[_0x17f308,_0x467e6f]:_0x845d14(_0x467e6f,_0x17f308)?[_0x467e6f,_0x17f308]:null;}_0x519371[_0x1989('0x19')]['document'][_0x1989('0x29')](()=>{let _0x1e1db4=!0x1;const _0x530e97=Array[_0x1989('0x3b')](_0x519371['model'][_0x1989('0x37')][_0x1989('0x62')]['getChangedMarkers']());for(const {name:_0x1f878c,data:_0x2348f7}of _0x530e97){const {group:_0x50f9e2,type:_0x2853e4,subType:_0x1af356,id:_0x5daedc}=_0x140b7f[_0x1989('0x34')](_0x1f878c);if(_0x1989('0x61')==_0x50f9e2&&_0x140b7f[_0x1989('0x6d')](_0x5daedc)){if(_0x1989('0x76')==_0x2853e4&&(_0x1989('0x3')==_0x1af356||_0x1989('0x2b')==_0x1af356)){const _0x5e0ffa=_0x140b7f['getSuggestion'](_0x5daedc);if(_0x2348f7['newRange']){const _0xeafd0f=_0x5e0ffa[_0x1989('0x5')]()[_0x1989('0x28')]();if(_0xe9a30f[_0x1989('0x70')](_0xeafd0f))continue;_0x140b7f['discardSuggestion'](_0x5e0ffa),_0x1e1db4=!0x0;}}if(_0x1989('0x1f')==_0x2853e4&&_0x1989('0x58')==_0x1af356&&!_0x2348f7[_0x1989('0x79')]){const _0x5b2905=_0x140b7f[_0x1989('0x21')](_0x5daedc);_0x5b2905[_0x1989('0x5b')]&&_0x5b2905[_0x1989('0x5b')][_0x1989('0x14')]&&(_0x140b7f[_0x1989('0x32')](_0x5b2905[_0x1989('0x5b')]),_0x1e1db4=!0x0);}}}return _0x1e1db4;}),_0x519371['plugins'][_0x1989('0x6f')](_0x1989('0x6a'))&&_0x140b7f[_0x1989('0x47')]('resizeImage',(_0x4d07b5,_0x45eb1d)=>{const _0x546db3=_0xe9a30f['getClosestSelectedImageElement'](_0x519371['model'][_0x1989('0x37')][_0x1989('0x43')]);_0x546db3[_0x1989('0x1a')]('width')!=_0x45eb1d['width']&&_0x519371[_0x1989('0x19')][_0x1989('0xb')](()=>{_0x140b7f[_0x1989('0x54')](_0x546db3,{'commandName':_0x1989('0x33'),'commandParams':[_0x45eb1d]});});}),_0x519371[_0x1989('0x3c')][_0x1989('0x6f')](_0x1989('0x6'))&&_0x140b7f[_0x1989('0x47')](_0x1989('0x49'),(_0x2bef86,_0x83ce54)=>{const _0x29fc21=_0xe9a30f[_0x1989('0x4c')](_0x519371['model'][_0x1989('0x37')]['selection']);(_0x29fc21['hasAttribute']('alt')?_0x29fc21[_0x1989('0x1a')](_0x1989('0x72')):'')!=_0x83ce54[_0x1989('0x51')]&&_0x519371[_0x1989('0x19')][_0x1989('0xb')](()=>{_0x140b7f[_0x1989('0x54')](_0x29fc21,{'commandName':_0x1989('0x49'),'commandParams':[_0x83ce54]});});}),_0x140b7f[_0x1989('0x4')][_0x1989('0x7')](_0x2c5b67=>{if(!!_0x522e51[_0x1989('0x13')](({type:_0x5a1f43,subType:_0x57b540})=>_0x2c5b67[_0x1989('0x31')]==_0x5a1f43&&_0x2c5b67[_0x1989('0x44')]==_0x57b540))return _0x2c5b67[_0x1989('0x5a')]?{}:void 0x0;}),_0x140b7f[_0x1989('0x4')][_0x1989('0x7')](_0x4dc5a8=>{if(_0x1989('0x1f')==_0x4dc5a8[_0x1989('0x31')]||_0x1989('0x1c')==_0x4dc5a8[_0x1989('0x31')]){const _0x44f200=_0x4dc5a8[_0x1989('0x28')]();if(_0x44f200&&_0x44f200['is'](_0x1989('0x57'),_0x1989('0x17')))return{'type':_0x1989('0x1f')==_0x4dc5a8[_0x1989('0x31')]?_0x1989('0xc'):_0x1989('0x55'),'element':_0x44f200,'quantity':0x1};}}),_0x140b7f[_0x1989('0x4')]['registerDescriptionCallback'](_0x2d2cdf=>_0x1989('0x76')==_0x2d2cdf[_0x1989('0x31')]&&'convertInlineImageToBlock'==_0x2d2cdf[_0x1989('0x44')]?{'type':_0x1989('0x4d'),'content':'Inline\x20image\x20to\x20block\x20image'}:'formatBlock'==_0x2d2cdf[_0x1989('0x31')]&&_0x1989('0x60')==_0x2d2cdf[_0x1989('0x44')]?{'type':_0x1989('0x4d'),'content':'Block\x20image\x20to\x20inline\x20image'}:void 0x0),_0x140b7f[_0x1989('0x4')]['registerDescriptionCallback'](_0x4d2523=>{const {data:_0x4f4676}=_0x4d2523;if(_0x4f4676){if(_0x1989('0x1d')==_0x4f4676[_0x1989('0x53')]){const _0x35afb8=_0x4f4676[_0x1989('0x39')][0x0]['value'];return _0x4de1cc(_0x1989('0x7b')===_0x35afb8?_0x45eb9e(_0x515592,_0x1989('0x5f')):_0x1a4ce2[_0x35afb8]||_0x35afb8);}if(_0x1989('0x49')==_0x4f4676['commandName']){const _0x4e248b=_0x4f4676[_0x1989('0x39')][0x0][_0x1989('0x51')];return _0x4e248b?{'type':'format','content':_0x45eb9e(_0x515592,_0x1989('0x30'),'\x22'+_0x4e248b+'\x22')}:{'type':'format','content':_0x45eb9e(_0x515592,_0x1989('0x18'))};}if(_0x1989('0x33')==_0x4f4676['commandName']){const _0x361f1e=_0x4f4676['commandParams'][0x0][_0x1989('0x24')];return _0x361f1e?{'type':_0x1989('0x4d'),'content':_0x45eb9e(_0x515592,_0x1989('0x35'),_0x361f1e)}:{'type':'format','content':_0x45eb9e(_0x515592,'*Reset\x20image\x20width*')};}}function _0x4de1cc(_0x11312e){return{'type':_0x1989('0x4d'),'content':_0x45eb9e(_0x515592,'*Format:*\x20%0',_0x11312e)};}});}}
23
+ const _0x5a49=['ImageStyleEditing','markInlineFormat','getSuggestionCallback','insertImage','_suggestionFactory','formatBlock','isBlockImage','imageStyle','addObject','forceDefaultExecution','ImageCaptionUtils','length','refresh','imageBlock','commandName','backward','_findSuggestions','getClosestSelectedImageElement','toggleImageCaption','document','forward','registerElementLabel','head','registerCustomCallback','editor','createRange','suggestion','getFirstRange','accept','newValue','nodeAfter','*Format:*\x20%0','from','newRange','detach','imageStylePreApply','registerPostFixer','ImageUploadEditing','commandParams','ImageCaptionEditing','ImageBlockEditing','discardSuggestion','fromPosition','isInContent','get','markBlockFormat','previous','type','name','registerDescriptionCallback','schema','getChangedMarkers','isOwn','alt','*Reset\x20image\x20width*','imageTextAlternative','title','hasAttribute','convertBlockImageToInline','selection','insertion','ImageTextAlternativeEditing','model','getCaptionFromImageModelElement','change','getAttribute','getNearestSelectionRange','format','caption','find','filter','next','plugins','TrackChangesEditing','uploadImage','removeObject','isEqual','_splitMarkerName','differ','getSuggestion','formatInline','markInsertion','toPrevious','afterInit','convertInlineImageToBlock','side','resizeImage','imageStylePostApply','*Set\x20image\x20text\x20alternative:*\x20%0','getSuggestions','width','findIndex','subType','start','shouldConvertImageType','Inline\x20image\x20to\x20block\x20image','imageTypeBlock','isBefore','imageTypeInline','Users','*Remove\x20image\x20text\x20alternative*','discard','getContainedElement','imageCaption','commands','author','forEach','enableCommand','nodeBefore','join','hasSuggestion','element','toLowerCase','ELEMENT_INLINE_IMAGE','has','chain','ImageUtils','end','ELEMENT_IMAGE','_descriptionFactory','createRangeOn','value'];(function(_0x165973,_0x5a49cb){const _0x32e453=function(_0x100f8a){while(--_0x100f8a){_0x165973['push'](_0x165973['shift']());}};_0x32e453(++_0x5a49cb);}(_0x5a49,0xc1));const _0x32e4=function(_0x165973,_0x5a49cb){_0x165973=_0x165973-0x0;let _0x32e453=_0x5a49[_0x165973];return _0x32e453;};import{Plugin as _0x5c8876}from'ckeditor5/src/core';import{LivePosition as _0x3d1457}from'ckeditor5/src/engine';import{uid as _0x2589f0}from'ckeditor5/src/utils';import{getTranslation as _0x5747b3}from'../utils/common-translations';export default class X extends _0x5c8876{[_0x32e4('0xc')](){const _0x2902be=this[_0x32e4('0x4b')];if(!_0x2902be['plugins'][_0x32e4('0x2b')]('ImageEditing'))return;const _0x10fe2d=_0x2902be[_0x32e4('0x1')]['get'](_0x32e4('0x2')),_0x3708ef=_0x2902be['plugins'][_0x32e4('0x5f')](_0x32e4('0x2d')),_0x2b7392={},_0x47202d=_0x2902be['locale'];if(_0x10fe2d[_0x32e4('0x24')](_0x32e4('0x36')),_0x10fe2d[_0x32e4('0x30')][_0x32e4('0x48')](_0x32e4('0x40'),_0x5ba8fc=>_0x5747b3(_0x47202d,_0x32e4('0x2f'),_0x5ba8fc)),_0x10fe2d['_descriptionFactory'][_0x32e4('0x48')]('imageInline',_0x147f21=>_0x5747b3(_0x47202d,_0x32e4('0x2a'),_0x147f21)),_0x10fe2d[_0x32e4('0x30')]['registerElementLabel'](_0x32e4('0x77'),()=>_0x5747b3(_0x47202d,'ELEMENT_CAPTION')),_0x2902be[_0x32e4('0x1')][_0x32e4('0x2b')](_0x32e4('0x58'))&&_0x10fe2d[_0x32e4('0x24')](_0x32e4('0x3')),_0x2902be[_0x32e4('0x1')][_0x32e4('0x2b')](_0x32e4('0x5b'))&&_0x2902be[_0x32e4('0x1')][_0x32e4('0x2b')]('ImageInlineEditing')&&(_0x10fe2d[_0x32e4('0x24')]('imageTypeInline',(_0x40c6da,_0x3c1cc2)=>{const _0x25ea53=_0x3708ef[_0x32e4('0x44')](_0x2902be[_0x32e4('0x71')][_0x32e4('0x46')][_0x32e4('0x6e')]);_0x2902be[_0x32e4('0x71')]['change'](()=>{_0x10fe2d[_0x32e4('0x60')](_0x25ea53,{'commandName':_0x32e4('0x1b'),'commandParams':[_0x3c1cc2]},[],_0x32e4('0x6d'));});}),_0x10fe2d[_0x32e4('0x24')](_0x32e4('0x19'),(_0x376262,_0x456f87)=>{_0x2902be['model'][_0x32e4('0x73')](_0x530b47=>{let _0x4e85ca=_0x3708ef[_0x32e4('0x44')](_0x2902be[_0x32e4('0x71')][_0x32e4('0x46')][_0x32e4('0x6e')]),_0x456b8c=_0x530b47[_0x32e4('0x31')](_0x4e85ca);const _0x29b58a=_0x3d1457[_0x32e4('0x5d')](_0x456b8c['start'],_0x32e4('0xb')),_0x1df2c7=_0x3d1457[_0x32e4('0x5d')](_0x456b8c[_0x32e4('0x2e')],'toNext');_0x10fe2d[_0x32e4('0x3c')](()=>_0x376262(_0x456f87)),_0x4e85ca=_0x3708ef[_0x32e4('0x44')](_0x2902be[_0x32e4('0x71')][_0x32e4('0x46')][_0x32e4('0x6e')]),_0x456b8c=_0x530b47['createRangeOn'](_0x4e85ca);const _0x31f501=_0x530b47['createRange'](_0x29b58a,_0x1df2c7);_0x29b58a[_0x32e4('0x55')](),_0x1df2c7['detach'](),_0x10fe2d[_0x32e4('0x60')](_0x4e85ca,{'commandName':'imageTypeInline','commandParams':[]},[],_0x32e4('0xd')),_0x31f501[_0x32e4('0x16')][_0x32e4('0x1a')](_0x456b8c['start'])&&_0x10fe2d[_0x32e4('0xa')](_0x530b47[_0x32e4('0x4c')](_0x31f501[_0x32e4('0x16')],_0x456b8c[_0x32e4('0x16')]),_0x32e4('0xd')),_0x456b8c[_0x32e4('0x2e')][_0x32e4('0x1a')](_0x31f501['end'])&&_0x10fe2d['markInsertion'](_0x530b47['createRange'](_0x456b8c['end'],_0x31f501[_0x32e4('0x2e')]),'convertInlineImageToBlock');});}),_0x10fe2d[_0x32e4('0x37')][_0x32e4('0x4a')](_0x32e4('0x38'),_0x32e4('0xd'),_0x32e4('0x26'),()=>!0x1),_0x10fe2d['_suggestionFactory'][_0x32e4('0x4a')](_0x32e4('0x38'),_0x32e4('0xd'),_0x32e4('0x4f'),()=>!0x1),_0x10fe2d['_suggestionFactory'][_0x32e4('0x4a')](_0x32e4('0x38'),_0x32e4('0xd'),_0x32e4('0x1e'),_0x10fe2d[_0x32e4('0x37')][_0x32e4('0x35')](_0x32e4('0x38'),'',_0x32e4('0x4f'))),_0x10fe2d[_0x32e4('0x37')][_0x32e4('0x4a')](_0x32e4('0x6f'),_0x32e4('0xd'),_0x32e4('0x26'),()=>!0x1),_0x10fe2d[_0x32e4('0x37')]['registerCustomCallback'](_0x32e4('0x6f'),'convertInlineImageToBlock',_0x32e4('0x1e'),([_0x5176fd])=>{const _0x47d483=_0x10fe2d[_0x32e4('0x37')][_0x32e4('0x35')]('insertion','',_0x32e4('0x1e'));let _0x55f1f3=_0x5176fd[_0x32e4('0x16')],_0x3e5e3c=_0x5176fd[_0x32e4('0x2e')];const _0x31f2c3=_0x2902be[_0x32e4('0x71')][_0x32e4('0x65')][_0x32e4('0x75')](_0x55f1f3,_0x32e4('0x42')),_0x1dd614=_0x2902be['model'][_0x32e4('0x65')][_0x32e4('0x75')](_0x3e5e3c,_0x32e4('0x47'));_0x31f2c3['isCollapsed']&&(_0x55f1f3=_0x31f2c3['start']),_0x1dd614['isCollapsed']&&(_0x3e5e3c=_0x1dd614[_0x32e4('0x2e')]),_0x47d483([_0x2902be[_0x32e4('0x71')][_0x32e4('0x4c')](_0x55f1f3,_0x3e5e3c)]);}),_0x10fe2d[_0x32e4('0x37')][_0x32e4('0x4a')]('formatBlock','convertInlineImageToBlock','chain',_0x543000),_0x10fe2d[_0x32e4('0x37')][_0x32e4('0x4a')](_0x32e4('0x6f'),_0x32e4('0xd'),_0x32e4('0x2c'),_0x543000)),_0x2902be[_0x32e4('0x1')][_0x32e4('0x2b')](_0x32e4('0x5a'))&&(_0x10fe2d[_0x32e4('0x24')](_0x32e4('0x45'),(_0x30c616,_0xb43010)=>{const _0xbf777e=_0x2902be[_0x32e4('0x1')][_0x32e4('0x5f')](_0x32e4('0x3d'));let _0x3cb70a=_0x3708ef[_0x32e4('0x44')](_0x2902be['model'][_0x32e4('0x46')][_0x32e4('0x6e')]),_0x25feac=_0xbf777e[_0x32e4('0x72')](_0x3cb70a);_0x2902be[_0x32e4('0x71')]['change'](()=>{if(_0x25feac)return void _0x10fe2d['markDeletion'](_0x2902be[_0x32e4('0x71')][_0x32e4('0x31')](_0x25feac));const _0x21bc78=_0x3708ef[_0x32e4('0x39')](_0x3cb70a);_0x30c616(_0xb43010),_0x3cb70a=_0x3708ef[_0x32e4('0x44')](_0x2902be[_0x32e4('0x71')][_0x32e4('0x46')][_0x32e4('0x6e')]),_0x25feac=_0xbf777e[_0x32e4('0x72')](_0x3cb70a),_0x10fe2d[_0x32e4('0xa')](_0x2902be['model'][_0x32e4('0x31')](_0x25feac),_0x21bc78?null:_0x32e4('0x20'));});}),_0x10fe2d[_0x32e4('0x37')][_0x32e4('0x4a')]('insertion',_0x32e4('0x20'),'chain',_0x543000)),_0x2902be[_0x32e4('0x1')][_0x32e4('0x2b')](_0x32e4('0x33'))){_0x10fe2d[_0x32e4('0x24')]('imageStyle',(_0x319ed9,_0x1275a6)=>{const _0x5c7cc2=_0x2902be[_0x32e4('0x1')][_0x32e4('0x5f')](_0x32e4('0x1c'))['me'],_0x207674=_0x2902be[_0x32e4('0x21')][_0x32e4('0x5f')](_0x32e4('0x3a'));let _0x1fe048=_0x3708ef[_0x32e4('0x44')](_0x2902be['model']['document'][_0x32e4('0x6e')]),_0x9a12c1=_0x2902be[_0x32e4('0x71')]['createRangeOn'](_0x1fe048),_0x35dd13=_0x207674[_0x32e4('0x32')];if(_0x35dd13==_0x1275a6[_0x32e4('0x32')])return;const _0x450d53={'commandName':'imageStyle','commandParams':[_0x1275a6],'formatGroupId':_0x2589f0()};_0x2902be[_0x32e4('0x71')][_0x32e4('0x73')](()=>{if(_0x10fe2d[_0x32e4('0x12')]()[_0x32e4('0x79')](_0x55e126=>_0x55e126[_0x32e4('0x5e')]&&_0x5c7cc2==_0x55e126[_0x32e4('0x22')]&&(_0x32e4('0x38')==_0x55e126[_0x32e4('0x62')]||_0x32e4('0x9')==_0x55e126['type'])&&(_0x32e4('0x56')==_0x55e126[_0x32e4('0x15')]||_0x32e4('0x10')==_0x55e126[_0x32e4('0x15')])&&_0x55e126[_0x32e4('0x4e')]()[_0x32e4('0x5')](_0x9a12c1))[_0x32e4('0x23')](_0x1ef8cc=>_0x10fe2d['discardSuggestion'](_0x1ef8cc[_0x32e4('0x49')])),_0x1fe048=_0x3708ef[_0x32e4('0x44')](_0x2902be['model']['document'][_0x32e4('0x6e')]),_0x9a12c1=_0x2902be[_0x32e4('0x71')][_0x32e4('0x31')](_0x1fe048),_0x207674[_0x32e4('0x3f')](),_0x2902be[_0x32e4('0x21')][_0x32e4('0x5f')](_0x32e4('0x1b'))[_0x32e4('0x3f')](),_0x2902be['commands'][_0x32e4('0x5f')](_0x32e4('0x19'))[_0x32e4('0x3f')](),_0x35dd13=_0x207674['value'],_0x35dd13!=_0x1275a6[_0x32e4('0x32')])return _0x3708ef['isInlineImage'](_0x1fe048)&&_0x207674[_0x32e4('0x17')](_0x1275a6['value'],_0x1fe048)?(_0x319ed9(_0x1275a6),_0x1fe048=_0x3708ef['getClosestSelectedImageElement'](_0x2902be[_0x32e4('0x71')][_0x32e4('0x46')]['selection']),void _0x10fe2d[_0x32e4('0x60')](_0x1fe048,{..._0x450d53,'commandReversedParams':[{'value':_0x35dd13||null}]},[],'imageStylePreApply')):void(_0x3708ef[_0x32e4('0x39')](_0x1fe048)?_0x10fe2d[_0x32e4('0x60')](_0x1fe048,_0x450d53,[],_0x32e4('0x10')):_0x10fe2d[_0x32e4('0x34')](_0x9a12c1,_0x450d53,_0x32e4('0x10')));});});for(const _0x32e818 of _0x2902be['plugins']['get'](_0x32e4('0x33'))['normalizedStyles'])_0x2b7392[_0x32e818[_0x32e4('0x63')]]=_0x32e818[_0x32e4('0x6b')][_0x32e4('0x29')]();_0x10fe2d[_0x32e4('0x37')]['registerCustomCallback'](_0x32e4('0x38'),_0x32e4('0x56'),_0x32e4('0x26'),()=>!0x1),_0x10fe2d[_0x32e4('0x37')]['registerCustomCallback'](_0x32e4('0x38'),'imageStylePostApply','join',()=>!0x1),_0x10fe2d[_0x32e4('0x37')][_0x32e4('0x4a')]('formatInline','imageStylePostApply',_0x32e4('0x26'),()=>!0x1),_0x10fe2d[_0x32e4('0x37')][_0x32e4('0x4a')](_0x32e4('0x38'),_0x32e4('0x56'),'accept',()=>!0x1),_0x10fe2d[_0x32e4('0x37')]['registerCustomCallback'](_0x32e4('0x38'),_0x32e4('0x56'),_0x32e4('0x1e'),(_0x3954a8,_0xfbe19f)=>{_0x10fe2d[_0x32e4('0x37')][_0x32e4('0x35')](_0x32e4('0x38'),'',_0x32e4('0x4f'))(_0x3954a8,{'commandName':_0xfbe19f[_0x32e4('0x41')],'commandParams':_0xfbe19f['commandReversedParams']});}),_0x10fe2d[_0x32e4('0x37')][_0x32e4('0x4a')]('formatBlock',_0x32e4('0x56'),_0x32e4('0x2c'),_0x543000);}const _0x5dad27=[{'type':'formatBlock','subType':_0x32e4('0x56')},{'type':_0x32e4('0x6f'),'subType':_0x32e4('0x20')},{'type':_0x32e4('0x38'),'subType':_0x32e4('0xd')},{'type':_0x32e4('0x6f'),'subType':'convertInlineImageToBlock'}];function _0x33edb3(_0x386114,_0x5572d1){const _0x3d72c0=_0x5dad27['findIndex'](({type:_0x2694af,subType:_0x4252e5})=>_0x386114[_0x32e4('0x62')]==_0x2694af&&_0x386114[_0x32e4('0x15')]==_0x4252e5),_0x5a3a14=_0x5dad27[_0x32e4('0x14')](({type:_0x3a9b47,subType:_0xbd4c05})=>_0x5572d1['type']==_0x3a9b47&&_0x5572d1['subType']==_0xbd4c05);if(_0x3d72c0<0x0||_0x5a3a14<0x0)return!0x1;const _0x22f59a=_0x386114[_0x32e4('0x4e')](),_0x594611=_0x5572d1[_0x32e4('0x4e')]();if((0x0==_0x3d72c0||0x1==_0x3d72c0)&&0x2==_0x5a3a14&&_0x22f59a['isIntersecting'](_0x594611))return!0x0;if(0x2==_0x3d72c0&&0x3==_0x5a3a14){const _0x2fdf98=_0x10fe2d[_0x32e4('0x43')](_0x22f59a,_0x32e4('0x6f'))[_0x32e4('0x79')](({suggestion:_0x1bf937,meta:_0x373602})=>_0x373602[_0x32e4('0x67')]&&_0x32e4('0xd')==_0x1bf937[_0x32e4('0x15')]);if(_0x2fdf98['length']>0x1&&_0x594611[_0x32e4('0x2e')][_0x32e4('0x5')](_0x22f59a['start']))return!0x0;if(0x1==_0x2fdf98[_0x32e4('0x3e')]&&(_0x22f59a[_0x32e4('0x16')][_0x32e4('0x5')](_0x594611[_0x32e4('0x2e')])||_0x22f59a['end'][_0x32e4('0x5')](_0x594611[_0x32e4('0x16')])))return!0x0;}if(0x3==_0x3d72c0&&0x3==_0x5a3a14&&_0x22f59a[_0x32e4('0x16')][_0x32e4('0x1a')](_0x594611[_0x32e4('0x16')])){const _0x37a8c3=_0x22f59a['end'][_0x32e4('0x51')],_0x27d8bd=_0x594611[_0x32e4('0x16')][_0x32e4('0x25')];return _0x3708ef[_0x32e4('0x39')](_0x37a8c3)&&_0x37a8c3===_0x27d8bd;}return!0x1;}function _0x543000(_0x363473,_0x274183){return _0x33edb3(_0x363473,_0x274183)?[_0x363473,_0x274183]:_0x33edb3(_0x274183,_0x363473)?[_0x274183,_0x363473]:null;}_0x2902be['model'][_0x32e4('0x46')][_0x32e4('0x57')](()=>{let _0x34ec4f=!0x1;const _0x158434=Array[_0x32e4('0x53')](_0x2902be['model'][_0x32e4('0x46')][_0x32e4('0x7')][_0x32e4('0x66')]());for(const {name:_0x2f628f,data:_0x4d1fa5}of _0x158434){const {group:_0x3de95e,type:_0x157146,subType:_0x46f651,id:_0x414cba}=_0x10fe2d[_0x32e4('0x6')](_0x2f628f);if(_0x32e4('0x4d')==_0x3de95e&&_0x10fe2d[_0x32e4('0x27')](_0x414cba)){if('formatBlock'==_0x157146&&('imageStylePreApply'==_0x46f651||'imageStylePostApply'==_0x46f651)){const _0x3139ac=_0x10fe2d[_0x32e4('0x8')](_0x414cba);if(_0x4d1fa5[_0x32e4('0x54')]){const _0x1e0221=_0x3139ac[_0x32e4('0x4e')]()['getContainedElement']();if(_0x3708ef[_0x32e4('0x39')](_0x1e0221))continue;_0x10fe2d[_0x32e4('0x5c')](_0x3139ac),_0x34ec4f=!0x0;}}if('insertion'==_0x157146&&'imageCaption'==_0x46f651&&!_0x4d1fa5['newRange']){const _0x50b340=_0x10fe2d[_0x32e4('0x8')](_0x414cba);_0x50b340[_0x32e4('0x0')]&&_0x50b340[_0x32e4('0x0')][_0x32e4('0x5e')]&&(_0x10fe2d[_0x32e4('0x5c')](_0x50b340['next']),_0x34ec4f=!0x0);}}}return _0x34ec4f;}),_0x2902be[_0x32e4('0x1')][_0x32e4('0x2b')]('ImageResize')&&_0x10fe2d[_0x32e4('0x24')](_0x32e4('0xf'),(_0x4962da,_0x220d14)=>{const _0x365fde=_0x3708ef['getClosestSelectedImageElement'](_0x2902be[_0x32e4('0x71')][_0x32e4('0x46')][_0x32e4('0x6e')]);_0x365fde[_0x32e4('0x74')](_0x32e4('0x13'))!=_0x220d14[_0x32e4('0x13')]&&_0x2902be[_0x32e4('0x71')][_0x32e4('0x73')](()=>{_0x10fe2d[_0x32e4('0x60')](_0x365fde,{'commandName':_0x32e4('0xf'),'commandParams':[_0x220d14]});});}),_0x2902be[_0x32e4('0x1')]['has'](_0x32e4('0x70'))&&_0x10fe2d[_0x32e4('0x24')](_0x32e4('0x6a'),(_0x350ad2,_0x11b1e8)=>{const _0x5a1131=_0x3708ef[_0x32e4('0x44')](_0x2902be[_0x32e4('0x71')]['document'][_0x32e4('0x6e')]);(_0x5a1131[_0x32e4('0x6c')](_0x32e4('0x68'))?_0x5a1131[_0x32e4('0x74')](_0x32e4('0x68')):'')!=_0x11b1e8['newValue']&&_0x2902be['model'][_0x32e4('0x73')](()=>{_0x10fe2d[_0x32e4('0x60')](_0x5a1131,{'commandName':_0x32e4('0x6a'),'commandParams':[_0x11b1e8]});});}),_0x10fe2d[_0x32e4('0x30')][_0x32e4('0x64')](_0xc08070=>{if(!!_0x5dad27[_0x32e4('0x78')](({type:_0xe73320,subType:_0x7a5c4d})=>_0xc08070[_0x32e4('0x62')]==_0xe73320&&_0xc08070[_0x32e4('0x15')]==_0x7a5c4d))return _0xc08070[_0x32e4('0x61')]?{}:void 0x0;}),_0x10fe2d['_descriptionFactory'][_0x32e4('0x64')](_0x2d5b75=>{if(_0x32e4('0x6f')==_0x2d5b75[_0x32e4('0x62')]||'deletion'==_0x2d5b75[_0x32e4('0x62')]){const _0x39b766=_0x2d5b75[_0x32e4('0x1f')]();if(_0x39b766&&_0x39b766['is'](_0x32e4('0x28'),_0x32e4('0x77')))return{'type':'insertion'==_0x2d5b75[_0x32e4('0x62')]?_0x32e4('0x3b'):_0x32e4('0x4'),'element':_0x39b766,'quantity':0x1};}}),_0x10fe2d[_0x32e4('0x30')][_0x32e4('0x64')](_0x35a144=>_0x32e4('0x38')==_0x35a144[_0x32e4('0x62')]&&_0x32e4('0xd')==_0x35a144[_0x32e4('0x15')]?{'type':'format','content':_0x32e4('0x18')}:_0x32e4('0x38')==_0x35a144[_0x32e4('0x62')]&&'convertBlockImageToInline'==_0x35a144['subType']?{'type':_0x32e4('0x76'),'content':'Block\x20image\x20to\x20inline\x20image'}:void 0x0),_0x10fe2d['_descriptionFactory']['registerDescriptionCallback'](_0x516f3a=>{const {data:_0x5644d1}=_0x516f3a;if(_0x5644d1){if(_0x32e4('0x3a')==_0x5644d1[_0x32e4('0x41')]){const _0x550d72=_0x5644d1[_0x32e4('0x59')][0x0][_0x32e4('0x32')];return _0x457f49(_0x32e4('0xe')===_0x550d72?_0x5747b3(_0x47202d,'FORMAT_SIDE_IMAGE'):_0x2b7392[_0x550d72]||_0x550d72);}if('imageTextAlternative'==_0x5644d1[_0x32e4('0x41')]){const _0x5d5fb5=_0x5644d1[_0x32e4('0x59')][0x0][_0x32e4('0x50')];return _0x5d5fb5?{'type':_0x32e4('0x76'),'content':_0x5747b3(_0x47202d,_0x32e4('0x11'),'\x22'+_0x5d5fb5+'\x22')}:{'type':_0x32e4('0x76'),'content':_0x5747b3(_0x47202d,_0x32e4('0x1d'))};}if(_0x32e4('0xf')==_0x5644d1[_0x32e4('0x41')]){const _0xe440a3=_0x5644d1['commandParams'][0x0]['width'];return _0xe440a3?{'type':_0x32e4('0x76'),'content':_0x5747b3(_0x47202d,'*Set\x20image\x20width:*\x20%0',_0xe440a3)}:{'type':_0x32e4('0x76'),'content':_0x5747b3(_0x47202d,_0x32e4('0x69'))};}}function _0x457f49(_0x3786dd){return{'type':_0x32e4('0x76'),'content':_0x5747b3(_0x47202d,_0x32e4('0x52'),_0x3786dd)};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5eb6=['format','plugins','getSuggestionCallback','_descriptionFactory','TrackChangesEditing','author','discard','formatBlock','handleReplaceImageCommand','*Format:*\x20replace\x20image\x20URL','source','editor','getSelectedElement','get','commandName','subType','accept','src','registerCustomCallback','getSuggestions','getContainedElement','commandParams','data','replaceImageSource','has','change','afterInit','locale','enableCommand','_suggestionFactory','handleSuggestionDescription','model'];(function(_0xe3b3f1,_0x5eb63d){const _0x4269ff=function(_0x439620){while(--_0x439620){_0xe3b3f1['push'](_0xe3b3f1['shift']());}};_0x4269ff(++_0x5eb63d);}(_0x5eb6,0x9f));const _0x4269=function(_0xe3b3f1,_0x5eb63d){_0xe3b3f1=_0xe3b3f1-0x0;let _0x4269ff=_0x5eb6[_0xe3b3f1];return _0x4269ff;};import{Plugin as _0x16477d}from'ckeditor5/src/core';import{getTranslation as _0x1d7968}from'../utils/common-translations';export default class Y extends _0x16477d{[_0x4269('0x1b')](){if(!this[_0x4269('0xc')][_0x4269('0x2')][_0x4269('0x19')]('ImageEditing'))return;const _0x43867e=this[_0x4269('0xc')]['plugins'][_0x4269('0xe')]('TrackChangesEditing');_0x43867e[_0x4269('0x1d')](_0x4269('0x18'),(_0x538ead,_0x4c05b2)=>this[_0x4269('0x9')](_0x538ead,_0x4c05b2)),_0x43867e[_0x4269('0x1e')][_0x4269('0x13')](_0x4269('0x8'),'replaceImageSource',_0x4269('0x11'),_0x43867e['_suggestionFactory'][_0x4269('0x3')](_0x4269('0x8'),null,'discard')),_0x43867e[_0x4269('0x1e')][_0x4269('0x13')](_0x4269('0x8'),_0x4269('0x18'),_0x4269('0x7'),_0x43867e['_suggestionFactory'][_0x4269('0x3')](_0x4269('0x8'),null,_0x4269('0x11'))),_0x43867e[_0x4269('0x4')]['registerDescriptionCallback'](_0x447b10=>this[_0x4269('0x1f')](_0x447b10));}[_0x4269('0x9')](_0x306176,_0x16f712){const _0x310bf5=this[_0x4269('0xc')][_0x4269('0x2')][_0x4269('0xe')](_0x4269('0x5')),_0x46ea08=this['editor'][_0x4269('0x0')]['document']['selection'][_0x4269('0xd')]();this[_0x4269('0xc')][_0x4269('0x0')][_0x4269('0x1a')](()=>{let _0x3bdeb8=_0x46ea08['getAttribute'](_0x4269('0x12'));const _0x57fee0=this[_0x4269('0xc')][_0x4269('0x2')][_0x4269('0xe')]('Users')['me'];for(const _0x526cb5 of _0x310bf5[_0x4269('0x14')]({'skipNotAttached':!0x0})){const _0x1b91f1=_0x526cb5[_0x4269('0x15')]();if('replaceImageSource'===_0x526cb5[_0x4269('0x10')]&&_0x1b91f1===_0x46ea08){_0x526cb5[_0x4269('0x6')]!==_0x57fee0&&_0x526cb5[_0x4269('0x7')](),_0x3bdeb8=_0x526cb5[_0x4269('0x17')][_0x4269('0x16')][0x0][_0x4269('0xb')];break;}}_0x306176(_0x16f712),_0x310bf5['markBlockFormat'](_0x46ea08,{'commandName':'replaceImageSource','commandParams':[{'source':_0x3bdeb8}]},[],_0x4269('0x18'));});}[_0x4269('0x1f')](_0x354dc9){const {data:_0x9b5a5}=_0x354dc9;if(_0x9b5a5&&_0x4269('0x18')===_0x9b5a5[_0x4269('0xf')]){const _0x237b52=_0x4269('0xa');return{'type':_0x4269('0x1'),'content':_0x1d7968(this[_0x4269('0xc')][_0x4269('0x1c')],_0x237b52)};}}}
23
+ const _0x1933=['ImageEditing','TrackChangesEditing','accept','change','commandParams','afterInit','handleSuggestionDescription','formatBlock','getSelectedElement','editor','Users','enableCommand','_suggestionFactory','src','plugins','author','_descriptionFactory','source','registerCustomCallback','model','getSuggestionCallback','get','commandName','getAttribute','format','discard','document','handleReplaceImageCommand','markBlockFormat','registerDescriptionCallback','replaceImageSource'];(function(_0x2190ca,_0x19332e){const _0x1ef601=function(_0x1f9185){while(--_0x1f9185){_0x2190ca['push'](_0x2190ca['shift']());}};_0x1ef601(++_0x19332e);}(_0x1933,0xf1));const _0x1ef6=function(_0x2190ca,_0x19332e){_0x2190ca=_0x2190ca-0x0;let _0x1ef601=_0x1933[_0x2190ca];return _0x1ef601;};import{Plugin as _0x5012e9}from'ckeditor5/src/core';import{getTranslation as _0x5c9693}from'../utils/common-translations';export default class Y extends _0x5012e9{[_0x1ef6('0xc')](){if(!this['editor'][_0x1ef6('0x15')]['has'](_0x1ef6('0x7')))return;const _0x77305=this[_0x1ef6('0x10')]['plugins'][_0x1ef6('0x1c')](_0x1ef6('0x8'));_0x77305[_0x1ef6('0x12')](_0x1ef6('0x6'),(_0x3c88aa,_0x2341d8)=>this[_0x1ef6('0x3')](_0x3c88aa,_0x2341d8)),_0x77305[_0x1ef6('0x13')][_0x1ef6('0x19')](_0x1ef6('0xe'),'replaceImageSource',_0x1ef6('0x9'),_0x77305[_0x1ef6('0x13')][_0x1ef6('0x1b')]('formatBlock',null,_0x1ef6('0x1'))),_0x77305[_0x1ef6('0x13')][_0x1ef6('0x19')](_0x1ef6('0xe'),_0x1ef6('0x6'),'discard',_0x77305[_0x1ef6('0x13')]['getSuggestionCallback'](_0x1ef6('0xe'),null,_0x1ef6('0x9'))),_0x77305[_0x1ef6('0x17')][_0x1ef6('0x5')](_0x209bd1=>this[_0x1ef6('0xd')](_0x209bd1));}[_0x1ef6('0x3')](_0x4645db,_0x5d4235){const _0x48ea98=this[_0x1ef6('0x10')][_0x1ef6('0x15')]['get'](_0x1ef6('0x8')),_0x240371=this['editor'][_0x1ef6('0x1a')][_0x1ef6('0x2')]['selection'][_0x1ef6('0xf')]();this[_0x1ef6('0x10')][_0x1ef6('0x1a')][_0x1ef6('0xa')](()=>{let _0x2954be=_0x240371[_0x1ef6('0x1e')](_0x1ef6('0x14'));const _0x246890=this[_0x1ef6('0x10')][_0x1ef6('0x15')][_0x1ef6('0x1c')](_0x1ef6('0x11'))['me'];for(const _0x595127 of _0x48ea98['getSuggestions']({'skipNotAttached':!0x0})){const _0x1099b3=_0x595127['getContainedElement']();if('replaceImageSource'===_0x595127['subType']&&_0x1099b3===_0x240371){_0x595127[_0x1ef6('0x16')]!==_0x246890&&_0x595127[_0x1ef6('0x1')](),_0x2954be=_0x595127['data'][_0x1ef6('0xb')][0x0][_0x1ef6('0x18')];break;}}_0x4645db(_0x5d4235),_0x48ea98[_0x1ef6('0x4')](_0x240371,{'commandName':_0x1ef6('0x6'),'commandParams':[{'source':_0x2954be}]},[],_0x1ef6('0x6'));});}[_0x1ef6('0xd')](_0x2f8279){const {data:_0x33f18c}=_0x2f8279;if(_0x33f18c&&_0x1ef6('0x6')===_0x33f18c[_0x1ef6('0x1d')]){const _0x186eee='*Format:*\x20replace\x20image\x20URL';return{'type':_0x1ef6('0x0'),'content':_0x5c9693(this[_0x1ef6('0x10')]['locale'],_0x186eee)};}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4070=['execute','value','TrackChangesEditing','_trackChangesValueDuringImport','_setSuggestionData','bind','dataInsert','collaboration_features','commands','_handleImportedData','afterInit','trackChanges','editor','listenTo','track_changes','_trackChangesExecuted','get','Users','enableCommand','plugins','forEach','lowest','importWord'];(function(_0x31605c,_0x4070a2){const _0x2a4c47=function(_0x24a390){while(--_0x24a390){_0x31605c['push'](_0x31605c['shift']());}};_0x2a4c47(++_0x4070a2);}(_0x4070,0x133));const _0x2a4c=function(_0x31605c,_0x4070a2){_0x31605c=_0x31605c-0x0;let _0x2a4c47=_0x4070[_0x31605c];return _0x2a4c47;};import{Plugin as _0x124ea5}from'ckeditor5/src/core';export default class Z extends _0x124ea5{constructor(_0x522da3){super(_0x522da3),this[_0x2a4c('0x12')]=!0x1,this[_0x2a4c('0x7')]=!0x1;}[_0x2a4c('0x2')](){const _0x324bab=this['editor'],_0x2105b0=_0x324bab['commands']['get'](_0x2a4c('0xe')),_0x1bda94=_0x324bab['commands'][_0x2a4c('0x8')]('trackChanges');_0x2105b0&&(_0x2105b0['on'](_0x2a4c('0xf'),(_0x446b7d,[,_0x21186e])=>{this[_0x2a4c('0x12')]=_0x1bda94[_0x2a4c('0x10')],_0x21186e[_0x2a4c('0x16')][_0x2a4c('0x6')]=!this[_0x2a4c('0x12')];},{'priority':'high'}),this[_0x2a4c('0x5')](_0x2105b0,_0x2a4c('0x15'),this['_handleImportedData'][_0x2a4c('0x14')](this)),this[_0x2a4c('0x5')](_0x2105b0,_0x2a4c('0x15'),()=>{this[_0x2a4c('0x7')]&&(_0x1bda94[_0x2a4c('0xf')](),this['_trackChangesExecuted']=!0x1);},{'priority':_0x2a4c('0xd')}),_0x324bab[_0x2a4c('0xb')][_0x2a4c('0x8')](_0x2a4c('0x11'))[_0x2a4c('0xa')](_0x2a4c('0xe')));}[_0x2a4c('0x1')](_0x508f48,_0x534377){const {suggestions:_0x14f8f2}=_0x534377,_0x44d81d=this[_0x2a4c('0x4')][_0x2a4c('0x0')][_0x2a4c('0x8')](_0x2a4c('0x3')),_0xe3b8b1=_0x44d81d[_0x2a4c('0x10')];this[_0x2a4c('0x12')]!==_0xe3b8b1&&(_0x44d81d['execute'](),this[_0x2a4c('0x7')]=!0x0),_0x14f8f2&&_0x14f8f2[_0x2a4c('0xc')](({id:_0x341282,type:_0x51ee25,author:_0x27c37e,created_at:_0x1cdc5e})=>{const _0x462b4b={'id':_0x341282,'type':_0x51ee25,'authorId':this[_0x2a4c('0x4')][_0x2a4c('0xb')][_0x2a4c('0x8')](_0x2a4c('0x9'))['me']['id'],'createdAt':new Date(),'data':null,'hasComments':!0x1,'attributes':{'@external':{'authorName':_0x27c37e,'createdAt':_0x1cdc5e?new Date(_0x1cdc5e):new Date(),'source':_0x2a4c('0xe')}}};this[_0x2a4c('0x4')][_0x2a4c('0xb')][_0x2a4c('0x8')](_0x2a4c('0x11'))[_0x2a4c('0x13')](_0x462b4b);});}}
23
+ const _0x4368=['bind','high','_setSuggestionData','commands','TrackChangesEditing','_handleImportedData','trackChanges','editor','lowest','dataInsert','importWord','_trackChangesExecuted','collaboration_features','enableCommand','afterInit','listenTo','get','execute','plugins','_trackChangesValueDuringImport','Users'];(function(_0x33f12e,_0x4368c3){const _0x4ff00a=function(_0x17671f){while(--_0x17671f){_0x33f12e['push'](_0x33f12e['shift']());}};_0x4ff00a(++_0x4368c3);}(_0x4368,0x13e));const _0x4ff0=function(_0x33f12e,_0x4368c3){_0x33f12e=_0x33f12e-0x0;let _0x4ff00a=_0x4368[_0x33f12e];return _0x4ff00a;};import{Plugin as _0x225e4a}from'ckeditor5/src/core';export default class Z extends _0x225e4a{constructor(_0x3f8a7d){super(_0x3f8a7d),this[_0x4ff0('0x10')]=!0x1,this['_trackChangesExecuted']=!0x1;}[_0x4ff0('0xb')](){const _0x34b67c=this['editor'],_0x440b71=_0x34b67c['commands']['get'](_0x4ff0('0x7')),_0x50c313=_0x34b67c[_0x4ff0('0x0')][_0x4ff0('0xd')](_0x4ff0('0x3'));_0x440b71&&(_0x440b71['on']('execute',(_0x57e102,[,_0x3ea11b])=>{this[_0x4ff0('0x10')]=_0x50c313['value'],_0x3ea11b[_0x4ff0('0x9')]['track_changes']=!this[_0x4ff0('0x10')];},{'priority':_0x4ff0('0x13')}),this[_0x4ff0('0xc')](_0x440b71,_0x4ff0('0x6'),this[_0x4ff0('0x2')][_0x4ff0('0x12')](this)),this[_0x4ff0('0xc')](_0x440b71,_0x4ff0('0x6'),()=>{this['_trackChangesExecuted']&&(_0x50c313[_0x4ff0('0xe')](),this[_0x4ff0('0x8')]=!0x1);},{'priority':_0x4ff0('0x5')}),_0x34b67c[_0x4ff0('0xf')][_0x4ff0('0xd')]('TrackChangesEditing')[_0x4ff0('0xa')](_0x4ff0('0x7')));}[_0x4ff0('0x2')](_0x102dfa,_0x586722){const {suggestions:_0x228104}=_0x586722,_0x40c3de=this[_0x4ff0('0x4')][_0x4ff0('0x0')][_0x4ff0('0xd')](_0x4ff0('0x3')),_0x162952=_0x40c3de['value'];this[_0x4ff0('0x10')]!==_0x162952&&(_0x40c3de[_0x4ff0('0xe')](),this[_0x4ff0('0x8')]=!0x0),_0x228104&&_0x228104['forEach'](({id:_0x44231d,type:_0x4fd678,author:_0x210bb9,created_at:_0x5cb3f6})=>{const _0x1aa20b={'id':_0x44231d,'type':_0x4fd678,'authorId':this[_0x4ff0('0x4')][_0x4ff0('0xf')]['get'](_0x4ff0('0x11'))['me']['id'],'createdAt':new Date(),'data':null,'hasComments':!0x1,'attributes':{'@external':{'authorName':_0x210bb9,'createdAt':_0x5cb3f6?new Date(_0x5cb3f6):new Date(),'source':_0x4ff0('0x7')}}};this[_0x4ff0('0x4')][_0x4ff0('0xf')]['get'](_0x4ff0('0x1'))[_0x4ff0('0x14')](_0x1aa20b);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1d72=['checkAttribute','indentBlock','get','markBlockFormat','model','TrackChangesEditing','has','outdentBlock','editor','afterInit','schema','getItemLabel','plugins','getItems','document','commandName','format','*Indent:*\x20%0','filter','indent','enableCommand','IndentBlock','_descriptionFactory','selection','locale','*Outdent:*\x20%0','registerDescriptionCallback','blockIndent','from'];(function(_0x281418,_0x1d72e2){const _0x29d4ce=function(_0x183907){while(--_0x183907){_0x281418['push'](_0x281418['shift']());}};_0x29d4ce(++_0x1d72e2);}(_0x1d72,0x10c));const _0x29d4=function(_0x281418,_0x1d72e2){_0x281418=_0x281418-0x0;let _0x29d4ce=_0x1d72[_0x281418];return _0x29d4ce;};import{Plugin as _0x341b37}from'ckeditor5/src/core';import{getTranslation as _0xf6c91}from'../utils/common-translations';export default class tt extends _0x341b37{[_0x29d4('0x2')](){const _0x45d27e=this[_0x29d4('0x1')],_0x3ce52d=_0x45d27e['plugins'][_0x29d4('0x18')](_0x29d4('0x1b'));_0x45d27e[_0x29d4('0x5')]['has']('IndentEditing')&&(_0x3ce52d[_0x29d4('0xd')](_0x29d4('0xc')),_0x3ce52d['enableCommand']('outdent'));const _0xd8af6e=_0x45d27e[_0x29d4('0x11')];if(_0x45d27e[_0x29d4('0x5')][_0x29d4('0x1c')](_0x29d4('0xe'))){for(const _0x1af25c of[_0x29d4('0x17'),_0x29d4('0x0')])_0x3ce52d['enableCommand'](_0x1af25c,()=>{const _0x572cce=Array[_0x29d4('0x15')](this[_0x29d4('0x1')]['model'][_0x29d4('0x7')][_0x29d4('0x10')]['getSelectedBlocks']())[_0x29d4('0xb')](_0x5e248b=>this[_0x29d4('0x1')][_0x29d4('0x1a')][_0x29d4('0x3')][_0x29d4('0x16')](_0x5e248b,_0x29d4('0x14')));_0x45d27e[_0x29d4('0x1a')]['change'](()=>{for(const _0x8d7840 of _0x572cce)_0x3ce52d[_0x29d4('0x19')](_0x8d7840,{'commandName':_0x1af25c,'commandParams':[{'value':''}],'formatGroupId':_0x29d4('0x17')});});});_0x3ce52d[_0x29d4('0xf')][_0x29d4('0x13')](_0x3a0a0f=>{const {data:_0x195cd6}=_0x3a0a0f;if(!_0x195cd6)return;if(_0x29d4('0x17')!=_0x195cd6[_0x29d4('0x8')]&&_0x29d4('0x0')!=_0x195cd6[_0x29d4('0x8')])return;const _0xc5407e=_0x3a0a0f[_0x29d4('0x6')]()[0x0],_0xfd5d55=_0x3ce52d[_0x29d4('0xf')][_0x29d4('0x4')](_0xc5407e);return'indentBlock'==_0x195cd6['commandName']?{'type':_0x29d4('0x9'),'content':_0xf6c91(_0xd8af6e,_0x29d4('0xa'),_0xfd5d55)}:'outdentBlock'==_0x195cd6['commandName']?{'type':_0x29d4('0x9'),'content':_0xf6c91(_0xd8af6e,_0x29d4('0x12'),_0xfd5d55)}:void 0x0;});}}}
23
+ const _0x341a=['model','IndentEditing','*Indent:*\x20%0','format','document','IndentBlock','get','schema','plugins','_descriptionFactory','getItemLabel','outdent','indent','blockIndent','getSelectedBlocks','has','registerDescriptionCallback','indentBlock','*Outdent:*\x20%0','markBlockFormat','commandName','selection','outdentBlock','filter','locale','enableCommand','editor','TrackChangesEditing'];(function(_0x55a68b,_0x341ab3){const _0x32aef1=function(_0x2f8fe0){while(--_0x2f8fe0){_0x55a68b['push'](_0x55a68b['shift']());}};_0x32aef1(++_0x341ab3);}(_0x341a,0x1cc));const _0x32ae=function(_0x55a68b,_0x341ab3){_0x55a68b=_0x55a68b-0x0;let _0x32aef1=_0x341a[_0x55a68b];return _0x32aef1;};import{Plugin as _0x6d82e9}from'ckeditor5/src/core';import{getTranslation as _0x4a3ee0}from'../utils/common-translations';export default class tt extends _0x6d82e9{['afterInit'](){const _0x115374=this[_0x32ae('0xe')],_0xb33b82=_0x115374['plugins'][_0x32ae('0x16')](_0x32ae('0xf'));_0x115374[_0x32ae('0x18')][_0x32ae('0x3')](_0x32ae('0x11'))&&(_0xb33b82['enableCommand'](_0x32ae('0x0')),_0xb33b82[_0x32ae('0xd')](_0x32ae('0x1b')));const _0x363016=_0x115374[_0x32ae('0xc')];if(_0x115374[_0x32ae('0x18')][_0x32ae('0x3')](_0x32ae('0x15'))){for(const _0x313ecc of[_0x32ae('0x5'),_0x32ae('0xa')])_0xb33b82['enableCommand'](_0x313ecc,()=>{const _0x3fef7d=Array['from'](this['editor'][_0x32ae('0x10')][_0x32ae('0x14')][_0x32ae('0x9')][_0x32ae('0x2')]())[_0x32ae('0xb')](_0x116bb2=>this[_0x32ae('0xe')][_0x32ae('0x10')][_0x32ae('0x17')]['checkAttribute'](_0x116bb2,_0x32ae('0x1')));_0x115374[_0x32ae('0x10')]['change'](()=>{for(const _0x25f7bd of _0x3fef7d)_0xb33b82[_0x32ae('0x7')](_0x25f7bd,{'commandName':_0x313ecc,'commandParams':[{'value':''}],'formatGroupId':'indentBlock'});});});_0xb33b82['_descriptionFactory'][_0x32ae('0x4')](_0x343a88=>{const {data:_0x1a2e8a}=_0x343a88;if(!_0x1a2e8a)return;if(_0x32ae('0x5')!=_0x1a2e8a[_0x32ae('0x8')]&&_0x32ae('0xa')!=_0x1a2e8a['commandName'])return;const _0x5c7ecc=_0x343a88['getItems']()[0x0],_0x25caed=_0xb33b82[_0x32ae('0x19')][_0x32ae('0x1a')](_0x5c7ecc);return'indentBlock'==_0x1a2e8a[_0x32ae('0x8')]?{'type':_0x32ae('0x13'),'content':_0x4a3ee0(_0x363016,_0x32ae('0x12'),_0x25caed)}:_0x32ae('0xa')==_0x1a2e8a[_0x32ae('0x8')]?{'type':_0x32ae('0x13'),'content':_0x4a3ee0(_0x363016,_0x32ae('0x6'),_0x25caed)}:void 0x0;});}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x237a=['init','get','editor','input','plugins','TrackChangesEditing'];(function(_0x6f8dd8,_0x237aff){var _0x1171bc=function(_0x5731d5){while(--_0x5731d5){_0x6f8dd8['push'](_0x6f8dd8['shift']());}};_0x1171bc(++_0x237aff);}(_0x237a,0x81));var _0x1171=function(_0x6f8dd8,_0x237aff){_0x6f8dd8=_0x6f8dd8-0x0;var _0x1171bc=_0x237a[_0x6f8dd8];return _0x1171bc;};import{Plugin as _0x3de623}from'ckeditor5/src/core';import{Input as _0xa67c86}from'ckeditor5/src/typing';export default class it extends _0x3de623{static get['requires'](){return[_0xa67c86];}[_0x1171('0x3')](){this[_0x1171('0x5')][_0x1171('0x1')][_0x1171('0x4')](_0x1171('0x2'))['enableCommand'](_0x1171('0x0'));}}
23
+ var _0x3175=['input','requires','get','enableCommand','editor','init','TrackChangesEditing'];(function(_0xa3f951,_0x317574){var _0x3d75f1=function(_0x2af538){while(--_0x2af538){_0xa3f951['push'](_0xa3f951['shift']());}};_0x3d75f1(++_0x317574);}(_0x3175,0x8f));var _0x3d75=function(_0xa3f951,_0x317574){_0xa3f951=_0xa3f951-0x0;var _0x3d75f1=_0x3175[_0xa3f951];return _0x3d75f1;};import{Plugin as _0x477e3e}from'ckeditor5/src/core';import{Input as _0x220437}from'ckeditor5/src/typing';export default class it extends _0x477e3e{static get[_0x3d75('0x5')](){return[_0x220437];}[_0x3d75('0x2')](){this[_0x3d75('0x1')]['plugins'][_0x3d75('0x6')](_0x3d75('0x3'))[_0x3d75('0x0')](_0x3d75('0x4'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x559d=['from','commandParams','getFirstPosition','*Remove\x20link*','_descriptionFactory','selection','document','format','change','model','hasAttribute','isCollapsed','registerDescriptionCallback','getFirstRange','plugins','enableCommand','get','link','commandName','markInlineFormat','getRanges','getAttribute','has','editor','*Set\x20link:*\x20%0','unlink','linkHref','LinkEditing'];(function(_0x3f6949,_0x559dc4){const _0x5ded4a=function(_0x325bdc){while(--_0x325bdc){_0x3f6949['push'](_0x3f6949['shift']());}};_0x5ded4a(++_0x559dc4);}(_0x559d,0x16e));const _0x5ded=function(_0x3f6949,_0x559dc4){_0x3f6949=_0x3f6949-0x0;let _0x5ded4a=_0x559d[_0x3f6949];return _0x5ded4a;};import{Plugin as _0x2db016}from'ckeditor5/src/core';import{findAttributeRange as _0x2dfb7}from'ckeditor5/src/typing';import{getRangesWithAttribute as _0x1714dc}from'./utils';import{getTranslation as _0x38ba4b}from'../utils/common-translations';export default class et extends _0x2db016{['afterInit'](){const _0x17d2be=this[_0x5ded('0x15')];if(!_0x17d2be[_0x5ded('0xc')][_0x5ded('0x14')](_0x5ded('0x19')))return;const _0x1d4487=_0x17d2be[_0x5ded('0xc')][_0x5ded('0xe')]('TrackChangesEditing');_0x1d4487[_0x5ded('0xd')]('link',(_0x2a9ff0,_0x13cf21)=>{const _0x5d9418=_0x17d2be['model'][_0x5ded('0x4')][_0x5ded('0x3')];let _0x24d1f3=[];if(_0x5d9418[_0x5ded('0x9')]){if(!_0x5d9418[_0x5ded('0x8')](_0x5ded('0x18')))return void _0x2a9ff0(_0x13cf21);{const _0x52caf4=_0x2dfb7(_0x5d9418[_0x5ded('0x0')](),_0x5ded('0x18'),_0x5d9418[_0x5ded('0x13')](_0x5ded('0x18')),_0x17d2be[_0x5ded('0x7')]);_0x24d1f3=[_0x52caf4];}}else _0x24d1f3=Array[_0x5ded('0x1a')](_0x5d9418[_0x5ded('0x12')]());_0x17d2be[_0x5ded('0x7')][_0x5ded('0x6')](()=>{for(const _0x53a030 of _0x24d1f3)_0x1d4487[_0x5ded('0x11')](_0x53a030,{'commandName':_0x5ded('0xf'),'commandParams':[_0x13cf21]});});}),_0x1d4487[_0x5ded('0xd')](_0x5ded('0x17'),()=>{const _0x419067=this[_0x5ded('0x15')][_0x5ded('0x7')],_0x361cae=_0x419067[_0x5ded('0x4')]['selection'];_0x419067[_0x5ded('0x6')](()=>{let _0x1e22a3=[];if(_0x361cae['isCollapsed'])_0x1e22a3=[_0x2dfb7(_0x361cae[_0x5ded('0x0')](),'linkHref',_0x361cae['getAttribute'](_0x5ded('0x18')),_0x17d2be['model'])];else _0x1e22a3=_0x1714dc(_0x5ded('0x18'),_0x361cae[_0x5ded('0xb')](),_0x17d2be[_0x5ded('0x7')]);for(const _0x5608b5 of _0x1e22a3)_0x1d4487[_0x5ded('0x11')](_0x5608b5,{'commandName':_0x5ded('0x17'),'commandParams':[]});});}),_0x1d4487[_0x5ded('0x2')][_0x5ded('0xa')](_0x464f3f=>{const {data:_0x56b2ee}=_0x464f3f,_0x26bdcd=_0x17d2be['locale'];if(_0x56b2ee){if(_0x5ded('0xf')==_0x56b2ee[_0x5ded('0x10')]){const _0x2e6825=_0x56b2ee[_0x5ded('0x1b')][0x0];return{'type':_0x5ded('0x5'),'content':_0x38ba4b(_0x26bdcd,_0x5ded('0x16'),'\x22'+_0x2e6825+'\x22')};}return _0x5ded('0x17')==_0x56b2ee[_0x5ded('0x10')]?{'type':_0x5ded('0x5'),'content':_0x38ba4b(_0x26bdcd,_0x5ded('0x1'))}:void 0x0;}});}}
23
+ const _0x5e7b=['getFirstPosition','format','plugins','enableCommand','_descriptionFactory','commandParams','isCollapsed','editor','document','getRanges','markInlineFormat','hasAttribute','commandName','afterInit','LinkEditing','getAttribute','unlink','locale','from','has','model','selection','getFirstRange','link','linkHref','*Remove\x20link*'];(function(_0x35c460,_0x5e7bfb){const _0x120cc5=function(_0x3a7f84){while(--_0x3a7f84){_0x35c460['push'](_0x35c460['shift']());}};_0x120cc5(++_0x5e7bfb);}(_0x5e7b,0x146));const _0x120c=function(_0x35c460,_0x5e7bfb){_0x35c460=_0x35c460-0x0;let _0x120cc5=_0x5e7b[_0x35c460];return _0x120cc5;};import{Plugin as _0x1f7cc5}from'ckeditor5/src/core';import{findAttributeRange as _0x5a37a0}from'ckeditor5/src/typing';import{getRangesWithAttribute as _0x4cad24}from'./utils';import{getTranslation as _0x31c665}from'../utils/common-translations';export default class et extends _0x1f7cc5{[_0x120c('0x19')](){const _0x85c61b=this[_0x120c('0x13')];if(!_0x85c61b[_0x120c('0xe')][_0x120c('0x5')](_0x120c('0x0')))return;const _0x19fa94=_0x85c61b[_0x120c('0xe')]['get']('TrackChangesEditing');_0x19fa94[_0x120c('0xf')](_0x120c('0x9'),(_0x236c41,_0xce1871)=>{const _0x54c6fd=_0x85c61b[_0x120c('0x6')][_0x120c('0x14')][_0x120c('0x7')];let _0x48d633=[];if(_0x54c6fd[_0x120c('0x12')]){if(!_0x54c6fd[_0x120c('0x17')](_0x120c('0xa')))return void _0x236c41(_0xce1871);{const _0x21571f=_0x5a37a0(_0x54c6fd[_0x120c('0xc')](),_0x120c('0xa'),_0x54c6fd[_0x120c('0x1')](_0x120c('0xa')),_0x85c61b[_0x120c('0x6')]);_0x48d633=[_0x21571f];}}else _0x48d633=Array[_0x120c('0x4')](_0x54c6fd[_0x120c('0x15')]());_0x85c61b[_0x120c('0x6')]['change'](()=>{for(const _0x1c2176 of _0x48d633)_0x19fa94[_0x120c('0x16')](_0x1c2176,{'commandName':_0x120c('0x9'),'commandParams':[_0xce1871]});});}),_0x19fa94['enableCommand'](_0x120c('0x2'),()=>{const _0x542ae0=this['editor'][_0x120c('0x6')],_0x2a33ac=_0x542ae0[_0x120c('0x14')][_0x120c('0x7')];_0x542ae0['change'](()=>{let _0x626e5a=[];if(_0x2a33ac[_0x120c('0x12')])_0x626e5a=[_0x5a37a0(_0x2a33ac[_0x120c('0xc')](),'linkHref',_0x2a33ac[_0x120c('0x1')](_0x120c('0xa')),_0x85c61b[_0x120c('0x6')])];else _0x626e5a=_0x4cad24(_0x120c('0xa'),_0x2a33ac[_0x120c('0x8')](),_0x85c61b['model']);for(const _0x5a6771 of _0x626e5a)_0x19fa94['markInlineFormat'](_0x5a6771,{'commandName':'unlink','commandParams':[]});});}),_0x19fa94[_0x120c('0x10')]['registerDescriptionCallback'](_0x43ebcf=>{const {data:_0x425ac7}=_0x43ebcf,_0x5812de=_0x85c61b[_0x120c('0x3')];if(_0x425ac7){if('link'==_0x425ac7[_0x120c('0x18')]){const _0x127849=_0x425ac7[_0x120c('0x11')][0x0];return{'type':_0x120c('0xd'),'content':_0x31c665(_0x5812de,'*Set\x20link:*\x20%0','\x22'+_0x127849+'\x22')};}return _0x120c('0x2')==_0x425ac7[_0x120c('0x18')]?{'type':'format','content':_0x31c665(_0x5812de,_0x120c('0xb'))}:void 0x0;}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2235=['selection','slice','blockName','todoListChecked','parent','getAttribute','ELEMENT_NUMBERED_LIST','previousSibling','ELEMENT_BULLETED_LIST','element','filter','model','push','change','checkTodoList','isObject','*Change\x20to:*\x20%0','from','commandName','value','editor','enableCommand','format','add','*Uncheck\x20item*','*Indent:*\x20%0','commands','get','forceValue','bulleted','createPositionAt','ELEMENT_TODO_LIST','nextSibling','commandParams','markBlockFormat','plugins','*Check\x20item*','locale','document','todoList','TrackChangesEditing','findIndex','name','outdentList','numberedList','before','numbered','afterInit','_descriptionFactory','has','indentList','createRange','length','listIndent','replace','ELEMENT_LIST_ITEM','todo','List','listItem','_selectedElements'];(function(_0x5ef86a,_0x223581){const _0x332f76=function(_0x5e1ac6){while(--_0x5e1ac6){_0x5ef86a['push'](_0x5ef86a['shift']());}};_0x332f76(++_0x223581);}(_0x2235,0x1f3));const _0x332f=function(_0x5ef86a,_0x223581){_0x5ef86a=_0x5ef86a-0x0;let _0x332f76=_0x2235[_0x5ef86a];return _0x332f76;};import{Plugin as _0x22c9d1}from'ckeditor5/src/core';import{getTranslation as _0x351e0a}from'../utils/common-translations';export default class st extends _0x22c9d1{[_0x332f('0x1c')](){const _0x22c82a=this[_0x332f('0x1')],_0x2bb841=_0x22c82a[_0x332f('0x12')];if(!_0x22c82a[_0x332f('0x10')][_0x332f('0x1e')]('ListEditing'))return;const _0x278372=_0x22c82a[_0x332f('0x10')]['get'](_0x332f('0x15')),_0x518aa8=_0x22c82a['plugins'][_0x332f('0x1e')]('TodoListEditing');function _0x13cf85(_0x41de30){return()=>{const _0x45044b=_0x22c82a[_0x332f('0x34')][_0x332f('0x13')][_0x332f('0x29')],_0x4c194c=_0x22c82a['commands'][_0x332f('0x8')](_0x41de30);if(_0x4c194c[_0x332f('0x0')])return void _0x22c82a['execute']('paragraph',{});const _0x38caec=_0x41de30[_0x332f('0x2a')](0x0,-0x4),_0x2b3ace=function(_0x61084a,_0x41bc56,_0x24456c){let _0x562987=Array[_0x332f('0x3a')](_0x61084a)[_0x332f('0x33')](_0x8dd748=>function(_0x4dc3df,_0x5c3037){return _0x5c3037['checkChild'](_0x4dc3df[_0x332f('0x2d')],_0x332f('0x27'))&&!_0x5c3037[_0x332f('0x38')](_0x4dc3df);}(_0x8dd748,_0x24456c));_0x562987=_0x562987[_0x332f('0x33')](_0x5a25a7=>!_0x5a25a7['is'](_0x332f('0x32'),_0x332f('0x27'))||_0x5a25a7[_0x332f('0x2e')]('listType')!=_0x41bc56);const _0x3e3d8b=new Set();for(const _0x3269d7 of _0x562987)_0x3269d7['is'](_0x332f('0x32'),_0x332f('0x27'))?_0x3e3d8b[_0x332f('0x4')](ne(_0x3269d7)):_0x3e3d8b[_0x332f('0x4')](_0x3269d7);return Array[_0x332f('0x3a')](_0x3e3d8b);}(_0x45044b['getSelectedBlocks'](),_0x38caec,_0x22c82a[_0x332f('0x34')]['schema']);_0x22c82a['model']['change'](()=>{for(const _0x56a504 of _0x2b3ace)_0x278372['markBlockFormat'](_0x56a504,{'commandName':_0x41de30,'commandParams':[{'forceValue':!_0x4c194c[_0x332f('0x0')]}],'formatGroupId':_0x332f('0x2b')},oe(_0x56a504));});};}function _0x2de9d4(_0x382048){return()=>{const _0x1ab309=function(_0x303261){let _0x1d03c3=Array[_0x332f('0x3a')](_0x303261);const _0x1053ec=_0x1d03c3[_0x332f('0x16')](_0x21c634=>_0x332f('0x27')!=_0x21c634[_0x332f('0x17')]);return _0x1053ec>-0x1&&(_0x1d03c3=_0x1d03c3[_0x332f('0x2a')](0x0,_0x1053ec)),_0x1d03c3;}(_0x22c82a[_0x332f('0x34')]['document']['selection']['getSelectedBlocks']()),_0x9c0b69=_0x22c82a[_0x332f('0x34')][_0x332f('0x20')](_0x22c82a[_0x332f('0x34')][_0x332f('0xb')](_0x1ab309[0x0],_0x332f('0x1a')),_0x22c82a['model'][_0x332f('0xb')](_0x1ab309[_0x1ab309[_0x332f('0x21')]-0x1],'end'));_0x22c82a['model'][_0x332f('0x36')](()=>{_0x278372[_0x332f('0xf')](_0x9c0b69,{'commandName':_0x382048,'commandParams':[],'formatGroupId':_0x332f('0x22')},function(_0x3d6a9b){const _0x420e05=new Set();for(const _0x567707 of _0x3d6a9b){let _0xf90503=_0x567707['nextSibling'];for(;_0xf90503&&_0xf90503[_0x332f('0x2e')](_0x332f('0x22'))>_0x567707['getAttribute'](_0x332f('0x22'));)_0x420e05[_0x332f('0x4')](_0xf90503),_0xf90503=_0xf90503[_0x332f('0xd')];}return Array[_0x332f('0x3a')](_0x420e05);}(_0x1ab309));});};}_0x278372[_0x332f('0x2')](_0x332f('0x19'),_0x13cf85('numberedList')),_0x278372[_0x332f('0x2')]('bulletedList',_0x13cf85('bulletedList')),_0x518aa8&&_0x278372['enableCommand'](_0x332f('0x14'),_0x13cf85(_0x332f('0x14'))),_0x278372['enableCommand'](_0x332f('0x1f'),_0x2de9d4(_0x332f('0x1f'))),_0x278372[_0x332f('0x2')](_0x332f('0x18'),_0x2de9d4(_0x332f('0x18'))),_0x518aa8&&_0x278372[_0x332f('0x2')](_0x332f('0x37'),()=>{const _0x2a7ce3=_0x22c82a[_0x332f('0x7')]['get'](_0x332f('0x37')),_0x41f467=Array[_0x332f('0x3a')](_0x2a7ce3[_0x332f('0x28')]);_0x41f467[_0x332f('0x33')](_0x3ae28c=>_0x3ae28c[_0x332f('0x2e')](_0x332f('0x2c'))!=_0x2a7ce3[_0x332f('0x0')]),_0x22c82a['model'][_0x332f('0x36')](()=>{for(const _0x283760 of _0x41f467)_0x278372[_0x332f('0xf')](_0x283760,{'commandName':_0x332f('0x37'),'commandParams':[{'forceValue':!_0x2a7ce3[_0x332f('0x0')]}]});});}),_0x278372[_0x332f('0x1d')]['registerElementLabel']('listItem',_0x20c131=>_0x351e0a(_0x2bb841,'ELEMENT_LIST_ITEM',_0x20c131)),_0x278372['_descriptionFactory']['registerDescriptionCallback'](_0x2abddf=>{const {data:_0x17aebe}=_0x2abddf;if(_0x17aebe){if('numberedList'==_0x17aebe[_0x332f('0x3b')]||'bulletedList'==_0x17aebe[_0x332f('0x3b')]||_0x332f('0x14')==_0x17aebe[_0x332f('0x3b')])switch(_0x17aebe[_0x332f('0x3b')][_0x332f('0x23')](_0x332f('0x26'),'')){case _0x332f('0xa'):return _0xb6a335(_0x351e0a(_0x2bb841,_0x332f('0x31')));case _0x332f('0x1b'):return _0xb6a335(_0x351e0a(_0x2bb841,_0x332f('0x2f')));case _0x332f('0x25'):return _0xb6a335(_0x351e0a(_0x2bb841,_0x332f('0xc')));}if(_0x332f('0x1f')==_0x17aebe[_0x332f('0x3b')])return{'type':'format','content':_0x351e0a(_0x2bb841,_0x332f('0x6'),_0x351e0a(_0x2bb841,_0x332f('0x24')))};if(_0x332f('0x18')==_0x17aebe[_0x332f('0x3b')])return{'type':'format','content':_0x351e0a(_0x2bb841,'*Outdent:*\x20%0',_0x351e0a(_0x2bb841,_0x332f('0x24')))};if(_0x332f('0x37')==_0x17aebe[_0x332f('0x3b')])return _0x17aebe[_0x332f('0xe')][0x0][_0x332f('0x9')]?{'type':_0x332f('0x3'),'content':_0x351e0a(_0x2bb841,_0x332f('0x11'))}:{'type':_0x332f('0x3'),'content':_0x351e0a(_0x2bb841,_0x332f('0x5'))};}function _0xb6a335(_0x4097ec){return{'type':_0x332f('0x3'),'content':_0x351e0a(_0x2bb841,_0x332f('0x39'),_0x4097ec)};}});}}function ne(_0xe47c4f){const _0xef4a29=_0xe47c4f[_0x332f('0x2e')]('listIndent');if(0x0==_0xef4a29)return _0xe47c4f;let _0x26a47a=_0xe47c4f;for(;_0xe47c4f['previousSibling']&&_0xe47c4f[_0x332f('0x30')]['is'](_0x332f('0x32'),'listItem');){const _0x5bcc9b=_0xe47c4f[_0x332f('0x30')][_0x332f('0x2e')]('listIndent');if(_0x5bcc9b==_0xef4a29)_0x26a47a=_0xe47c4f[_0x332f('0x30')];else{if(_0x5bcc9b<_0xef4a29)break;}_0xe47c4f=_0xe47c4f[_0x332f('0x30')];}return _0x26a47a;}function oe(_0x157a93){const _0x3d777b=[];if(_0x157a93['is'](_0x332f('0x32'),_0x332f('0x27'))&&_0x157a93['getAttribute'](_0x332f('0x22'))>0x0){let _0x4e3f09=_0x157a93[_0x332f('0xd')];for(;_0x4e3f09&&_0x332f('0x27')==_0x4e3f09[_0x332f('0x17')]&&_0x4e3f09['getAttribute'](_0x332f('0x22'))==_0x157a93[_0x332f('0x2e')](_0x332f('0x22'));)_0x3d777b[_0x332f('0x35')](_0x4e3f09),_0x4e3f09=_0x4e3f09[_0x332f('0xd')];}return _0x3d777b;}
23
+ const _0x4027=['document','getSelectedBlocks','indentList','push','markBlockFormat','registerElementLabel','*Uncheck\x20item*','List','listIndent','parent','commands','bulletedList','enableCommand','filter','slice','plugins','element','ELEMENT_NUMBERED_LIST','checkChild','checkTodoList','execute','length','ELEMENT_BULLETED_LIST','todoListChecked','createPositionAt','createRange','ELEMENT_TODO_LIST','blockName','replace','todoList','outdentList','value','TodoListEditing','model','isObject','numberedList','*Indent:*\x20%0','_selectedElements','getAttribute','from','nextSibling','format','*Change\x20to:*\x20%0','TrackChangesEditing','change','previousSibling','_descriptionFactory','listType','commandName','add','todo','listItem','numbered','afterInit','ListEditing','selection','forceValue','has','get','end','ELEMENT_LIST_ITEM','bulleted','schema'];(function(_0x57b3bd,_0x402720){const _0x30f882=function(_0x3a95ea){while(--_0x3a95ea){_0x57b3bd['push'](_0x57b3bd['shift']());}};_0x30f882(++_0x402720);}(_0x4027,0x1d4));const _0x30f8=function(_0x57b3bd,_0x402720){_0x57b3bd=_0x57b3bd-0x0;let _0x30f882=_0x4027[_0x57b3bd];return _0x30f882;};import{Plugin as _0x44a8f4}from'ckeditor5/src/core';import{getTranslation as _0x138a87}from'../utils/common-translations';export default class nt extends _0x44a8f4{[_0x30f8('0x1a')](){const _0x13b32c=this['editor'],_0x361e28=_0x13b32c['locale'];if(!_0x13b32c[_0x30f8('0x33')][_0x30f8('0x1e')](_0x30f8('0x1b')))return;const _0x1bf2e5=_0x13b32c[_0x30f8('0x33')][_0x30f8('0x1f')](_0x30f8('0x10')),_0x535484=_0x13b32c[_0x30f8('0x33')][_0x30f8('0x1e')](_0x30f8('0x5'));function _0x2b345e(_0x1919ba){return()=>{const _0x4e54b7=_0x13b32c['model']['document'][_0x30f8('0x1c')],_0xcad3d5=_0x13b32c['commands'][_0x30f8('0x1f')](_0x1919ba);if(_0xcad3d5[_0x30f8('0x4')])return void _0x13b32c[_0x30f8('0x38')]('paragraph',{});const _0x525cce=_0x1919ba[_0x30f8('0x32')](0x0,-0x4),_0x6bb103=function(_0x33f701,_0x15a9d6,_0x15d887){let _0x3cbab8=Array['from'](_0x33f701)[_0x30f8('0x31')](_0x558e7f=>function(_0xa2763a,_0x44ccca){return _0x44ccca[_0x30f8('0x36')](_0xa2763a[_0x30f8('0x2d')],_0x30f8('0x18'))&&!_0x44ccca[_0x30f8('0x7')](_0xa2763a);}(_0x558e7f,_0x15d887));_0x3cbab8=_0x3cbab8[_0x30f8('0x31')](_0x124e90=>!_0x124e90['is'](_0x30f8('0x34'),'listItem')||_0x124e90[_0x30f8('0xb')](_0x30f8('0x14'))!=_0x15a9d6);const _0x5550ef=new Set();for(const _0x4c53a7 of _0x3cbab8)_0x4c53a7['is'](_0x30f8('0x34'),_0x30f8('0x18'))?_0x5550ef['add'](ne(_0x4c53a7)):_0x5550ef[_0x30f8('0x16')](_0x4c53a7);return Array[_0x30f8('0xc')](_0x5550ef);}(_0x4e54b7[_0x30f8('0x25')](),_0x525cce,_0x13b32c[_0x30f8('0x6')][_0x30f8('0x23')]);_0x13b32c[_0x30f8('0x6')][_0x30f8('0x11')](()=>{for(const _0x4d20f3 of _0x6bb103)_0x1bf2e5['markBlockFormat'](_0x4d20f3,{'commandName':_0x1919ba,'commandParams':[{'forceValue':!_0xcad3d5[_0x30f8('0x4')]}],'formatGroupId':_0x30f8('0x0')},oe(_0x4d20f3));});};}function _0x35dd40(_0x3dba9e){return()=>{const _0x5ade42=function(_0x2571d1){let _0x3965a7=Array[_0x30f8('0xc')](_0x2571d1);const _0x3f8bff=_0x3965a7['findIndex'](_0x235e24=>'listItem'!=_0x235e24['name']);return _0x3f8bff>-0x1&&(_0x3965a7=_0x3965a7[_0x30f8('0x32')](0x0,_0x3f8bff)),_0x3965a7;}(_0x13b32c['model'][_0x30f8('0x24')][_0x30f8('0x1c')]['getSelectedBlocks']()),_0x4c0611=_0x13b32c[_0x30f8('0x6')][_0x30f8('0x3d')](_0x13b32c[_0x30f8('0x6')][_0x30f8('0x3c')](_0x5ade42[0x0],'before'),_0x13b32c[_0x30f8('0x6')][_0x30f8('0x3c')](_0x5ade42[_0x5ade42[_0x30f8('0x39')]-0x1],_0x30f8('0x20')));_0x13b32c[_0x30f8('0x6')]['change'](()=>{_0x1bf2e5['markBlockFormat'](_0x4c0611,{'commandName':_0x3dba9e,'commandParams':[],'formatGroupId':_0x30f8('0x2c')},function(_0x558d36){const _0x2eebed=new Set();for(const _0x11c3ce of _0x558d36){let _0x4c09a1=_0x11c3ce['nextSibling'];for(;_0x4c09a1&&_0x4c09a1['getAttribute'](_0x30f8('0x2c'))>_0x11c3ce[_0x30f8('0xb')](_0x30f8('0x2c'));)_0x2eebed[_0x30f8('0x16')](_0x4c09a1),_0x4c09a1=_0x4c09a1[_0x30f8('0xd')];}return Array['from'](_0x2eebed);}(_0x5ade42));});};}_0x1bf2e5[_0x30f8('0x30')]('numberedList',_0x2b345e(_0x30f8('0x8'))),_0x1bf2e5[_0x30f8('0x30')](_0x30f8('0x2f'),_0x2b345e('bulletedList')),_0x535484&&_0x1bf2e5['enableCommand'](_0x30f8('0x2'),_0x2b345e(_0x30f8('0x2'))),_0x1bf2e5['enableCommand']('indentList',_0x35dd40(_0x30f8('0x26'))),_0x1bf2e5['enableCommand']('outdentList',_0x35dd40(_0x30f8('0x3'))),_0x535484&&_0x1bf2e5[_0x30f8('0x30')](_0x30f8('0x37'),()=>{const _0x10a949=_0x13b32c[_0x30f8('0x2e')]['get']('checkTodoList'),_0x53d1c7=Array[_0x30f8('0xc')](_0x10a949[_0x30f8('0xa')]);_0x53d1c7[_0x30f8('0x31')](_0x51ad14=>_0x51ad14[_0x30f8('0xb')](_0x30f8('0x3b'))!=_0x10a949[_0x30f8('0x4')]),_0x13b32c[_0x30f8('0x6')][_0x30f8('0x11')](()=>{for(const _0x57491e of _0x53d1c7)_0x1bf2e5[_0x30f8('0x28')](_0x57491e,{'commandName':_0x30f8('0x37'),'commandParams':[{'forceValue':!_0x10a949[_0x30f8('0x4')]}]});});}),_0x1bf2e5[_0x30f8('0x13')][_0x30f8('0x29')](_0x30f8('0x18'),_0xfcbf6d=>_0x138a87(_0x361e28,_0x30f8('0x21'),_0xfcbf6d)),_0x1bf2e5[_0x30f8('0x13')]['registerDescriptionCallback'](_0x498303=>{const {data:_0x3708ad}=_0x498303;if(_0x3708ad){if(_0x30f8('0x8')==_0x3708ad[_0x30f8('0x15')]||'bulletedList'==_0x3708ad[_0x30f8('0x15')]||'todoList'==_0x3708ad[_0x30f8('0x15')])switch(_0x3708ad['commandName'][_0x30f8('0x1')](_0x30f8('0x2b'),'')){case _0x30f8('0x22'):return _0x4b4bf0(_0x138a87(_0x361e28,_0x30f8('0x3a')));case _0x30f8('0x19'):return _0x4b4bf0(_0x138a87(_0x361e28,_0x30f8('0x35')));case _0x30f8('0x17'):return _0x4b4bf0(_0x138a87(_0x361e28,_0x30f8('0x3e')));}if(_0x30f8('0x26')==_0x3708ad[_0x30f8('0x15')])return{'type':_0x30f8('0xe'),'content':_0x138a87(_0x361e28,_0x30f8('0x9'),_0x138a87(_0x361e28,_0x30f8('0x21')))};if(_0x30f8('0x3')==_0x3708ad[_0x30f8('0x15')])return{'type':'format','content':_0x138a87(_0x361e28,'*Outdent:*\x20%0',_0x138a87(_0x361e28,'ELEMENT_LIST_ITEM'))};if(_0x30f8('0x37')==_0x3708ad[_0x30f8('0x15')])return _0x3708ad['commandParams'][0x0][_0x30f8('0x1d')]?{'type':_0x30f8('0xe'),'content':_0x138a87(_0x361e28,'*Check\x20item*')}:{'type':_0x30f8('0xe'),'content':_0x138a87(_0x361e28,_0x30f8('0x2a'))};}function _0x4b4bf0(_0x245d57){return{'type':_0x30f8('0xe'),'content':_0x138a87(_0x361e28,_0x30f8('0xf'),_0x245d57)};}});}}function ne(_0x446817){const _0x4755af=_0x446817['getAttribute']('listIndent');if(0x0==_0x4755af)return _0x446817;let _0x51d21c=_0x446817;for(;_0x446817['previousSibling']&&_0x446817[_0x30f8('0x12')]['is'](_0x30f8('0x34'),_0x30f8('0x18'));){const _0x3fd70d=_0x446817[_0x30f8('0x12')]['getAttribute']('listIndent');if(_0x3fd70d==_0x4755af)_0x51d21c=_0x446817['previousSibling'];else{if(_0x3fd70d<_0x4755af)break;}_0x446817=_0x446817[_0x30f8('0x12')];}return _0x51d21c;}function oe(_0x4dd0a9){const _0x312b10=[];if(_0x4dd0a9['is'](_0x30f8('0x34'),_0x30f8('0x18'))&&_0x4dd0a9[_0x30f8('0xb')](_0x30f8('0x2c'))>0x0){let _0x19f2c6=_0x4dd0a9[_0x30f8('0xd')];for(;_0x19f2c6&&_0x30f8('0x18')==_0x19f2c6['name']&&_0x19f2c6[_0x30f8('0xb')]('listIndent')==_0x4dd0a9['getAttribute'](_0x30f8('0x2c'));)_0x312b10[_0x30f8('0x27')](_0x19f2c6),_0x19f2c6=_0x19f2c6[_0x30f8('0xd')];}return _0x312b10;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2fac=['markMultiRangeBlockFormat','getLastPosition','element','forward','list.properties','*Format:*\x20set\x20order\x20to\x20reversed','replace','commandName','has','handleDescriptions','handleListStartCommand','_descriptionFactory','listReversed','plugins','enableCommand','editor','createRange','createPositionAt','document','flat','listStart','push','_getSuggestionBlocksForListStyle','selection','unshift','listStyle','from','handleListReversedCommand','length','ListUtils','type','commandParams','_getSuggestionBlocks','change','getFirstPosition','bind','listItem','getAttribute','locale','getSelectedBlocks','getSiblingNodes','model','get','_getTranslationKeyForListStyle','backward','registerDescriptionCallback','parent','numbered','ELEMENT_','toUpperCase','getListTypeFromListStyleType','handleListStyleCommand','listType','startIndex','format','filter','map','reversed','before','TrackChangesEditing'];(function(_0x464a29,_0x2fac7a){const _0x500e24=function(_0x1ff086){while(--_0x1ff086){_0x464a29['push'](_0x464a29['shift']());}};_0x500e24(++_0x2fac7a);}(_0x2fac,0x18b));const _0x500e=function(_0x464a29,_0x2fac7a){_0x464a29=_0x464a29-0x0;let _0x500e24=_0x2fac[_0x464a29];return _0x500e24;};import{Plugin as _0x371873}from'ckeditor5/src/core';import{getTranslation as _0x27712b}from'../utils/common-translations';export default class nt extends _0x371873{['afterInit'](){if(!this[_0x500e('0x28')][_0x500e('0x26')][_0x500e('0x21')]('ListPropertiesEditing'))return;const _0x2f50d6=this[_0x500e('0x28')]['config'][_0x500e('0x7')](_0x500e('0x1d')),_0x2b69ed=this[_0x500e('0x28')]['plugins'][_0x500e('0x7')]('TrackChangesEditing');_0x2f50d6['styles']&&_0x2b69ed['enableCommand'](_0x500e('0x32'),this[_0x500e('0x10')][_0x500e('0x0')](this)),_0x2f50d6[_0x500e('0x16')]&&_0x2b69ed[_0x500e('0x27')](_0x500e('0x25'),this[_0x500e('0x34')]['bind'](this)),_0x2f50d6[_0x500e('0x12')]&&_0x2b69ed[_0x500e('0x27')](_0x500e('0x2d'),this[_0x500e('0x23')][_0x500e('0x0')](this)),_0x2b69ed[_0x500e('0x24')][_0x500e('0xa')](this[_0x500e('0x22')][_0x500e('0x0')](this));}[_0x500e('0x10')](_0x1fac02,_0x23f045={}){const _0x37b84f=this['editor'][_0x500e('0x26')][_0x500e('0x7')](_0x500e('0x18')),_0x3c6eb8=this[_0x500e('0x2f')]();this[_0x500e('0x28')][_0x500e('0x6')][_0x500e('0x3a')](()=>{_0x37b84f[_0x500e('0x19')](_0x3c6eb8,{'commandName':_0x500e('0x32'),'commandParams':[{'type':_0x23f045[_0x500e('0x37')]}],'formatGroupId':_0x500e('0x32')});});}[_0x500e('0x34')](_0x10c531,_0x6641e2={}){const _0x4dc5a5=this[_0x500e('0x28')][_0x500e('0x26')]['get']('TrackChangesEditing'),_0x138484=this[_0x500e('0x39')](_0x2ab283=>_0x2ab283['is'](_0x500e('0x1b'),_0x500e('0x1'))&&_0x500e('0xc')===_0x2ab283[_0x500e('0x2')]('listType'));if(_0x138484[_0x500e('0x35')]<0x1)return;const _0x6e85ae=_0x138484[_0x500e('0x15')](_0x2dc34f=>this[_0x500e('0x28')][_0x500e('0x6')][_0x500e('0x29')](this[_0x500e('0x28')][_0x500e('0x6')][_0x500e('0x2a')](_0x2dc34f,_0x500e('0x17')),this[_0x500e('0x28')][_0x500e('0x6')][_0x500e('0x2a')](_0x2dc34f,0x0)));this['editor'][_0x500e('0x6')][_0x500e('0x3a')](()=>{_0x4dc5a5[_0x500e('0x19')](_0x6e85ae,{'commandName':_0x500e('0x25'),'commandParams':[{'reversed':_0x6641e2[_0x500e('0x16')]}],'formatGroupId':_0x500e('0x25')});});}['handleListStartCommand'](_0x1d0c6f,_0x1e8fe5={}){const _0x19e815=this[_0x500e('0x28')][_0x500e('0x26')]['get']('TrackChangesEditing'),_0x2a5491=this[_0x500e('0x39')](_0x3eeab5=>_0x3eeab5['is']('element','listItem')&&_0x500e('0xc')===_0x3eeab5[_0x500e('0x2')](_0x500e('0x11')));if(_0x2a5491[_0x500e('0x35')]<0x1)return;const _0x18db0b=_0x2a5491['map'](_0x2aa974=>this[_0x500e('0x28')][_0x500e('0x6')][_0x500e('0x29')](this[_0x500e('0x28')][_0x500e('0x6')][_0x500e('0x2a')](_0x2aa974,'before'),this['editor'][_0x500e('0x6')]['createPositionAt'](_0x2aa974,0x0)));this[_0x500e('0x28')][_0x500e('0x6')][_0x500e('0x3a')](()=>{_0x19e815[_0x500e('0x19')](_0x18db0b,{'commandName':_0x500e('0x2d'),'commandParams':[{'startIndex':_0x1e8fe5[_0x500e('0x12')]}],'formatGroupId':'listStart'});});}[_0x500e('0x22')](_0x500c97){const _0x3c793e=this[_0x500e('0x28')][_0x500e('0x3')],{data:_0xa95c9f}=_0x500c97;if(!_0xa95c9f)return;let _0x4ddf93,_0x2a7af3;switch(_0xa95c9f[_0x500e('0x20')]){case'listStyle':_0x4ddf93='*Change\x20to:*\x20%0',_0x2a7af3={'type':_0x500e('0x13'),'content':_0x27712b(_0x3c793e,_0x4ddf93,_0x27712b(_0x3c793e,this[_0x500e('0x8')](_0xa95c9f[_0x500e('0x38')][0x0][_0x500e('0x37')])))};break;case _0x500e('0x25'):_0x4ddf93=_0xa95c9f[_0x500e('0x38')][0x0][_0x500e('0x16')]?_0x500e('0x1e'):'*Format:*\x20set\x20order\x20to\x20regular',_0x2a7af3={'type':_0x500e('0x13'),'content':_0x27712b(_0x3c793e,_0x4ddf93)};break;case _0x500e('0x2d'):_0x4ddf93='*Format:*\x20set\x20start\x20index\x20to\x20%0',_0x2a7af3={'type':_0x500e('0x13'),'content':_0x27712b(_0x3c793e,_0x4ddf93,_0xa95c9f[_0x500e('0x38')][0x0][_0x500e('0x12')])};}return _0x2a7af3;}[_0x500e('0x2f')](){var _0x37a38b,_0x4099bc,_0x36b8fc,_0x8c7b55;const _0x2e7e23=this[_0x500e('0x28')][_0x500e('0x26')]['get']('ListUtils');let _0x979c35=Array[_0x500e('0x33')](this[_0x500e('0x28')][_0x500e('0x6')][_0x500e('0x2b')][_0x500e('0x30')]['getSelectedBlocks']());return(null===(_0x37a38b=_0x979c35[0x0])||void 0x0===_0x37a38b?void 0x0:_0x37a38b['is'](_0x500e('0x1b'),'listItem'))&&_0x979c35[_0x500e('0x31')](..._0x2e7e23[_0x500e('0x5')](this[_0x500e('0x28')]['model'][_0x500e('0x2b')][_0x500e('0x30')]['getFirstPosition'](),_0x500e('0x9'))),(null===(_0x4099bc=_0x979c35[_0x979c35[_0x500e('0x35')]-0x1])||void 0x0===_0x4099bc?void 0x0:_0x4099bc['is']('element',_0x500e('0x1')))&&_0x979c35[_0x500e('0x2e')](..._0x2e7e23[_0x500e('0x5')](this[_0x500e('0x28')][_0x500e('0x6')][_0x500e('0x2b')][_0x500e('0x30')][_0x500e('0x1a')](),_0x500e('0x1c'))),_0x979c35=[...new Set(_0x979c35)],(null===(_0x8c7b55=null===(_0x36b8fc=this[_0x500e('0x28')][_0x500e('0x6')][_0x500e('0x2b')]['selection'][_0x500e('0x3b')]())||void 0x0===_0x36b8fc?void 0x0:_0x36b8fc[_0x500e('0xb')])||void 0x0===_0x8c7b55?void 0x0:_0x8c7b55['is'](_0x500e('0x1b'),_0x500e('0x1')))&&(_0x979c35=_0x979c35[_0x500e('0x14')](_0x3f8ea9=>_0x3f8ea9['is'](_0x500e('0x1b'),_0x500e('0x1')))),_0x979c35;}[_0x500e('0x39')](_0x19cd5d){const _0x1b0978=this['editor'][_0x500e('0x26')]['get'](_0x500e('0x36'));let _0x32e23b=Array['from'](this[_0x500e('0x28')]['model'][_0x500e('0x2b')]['selection'][_0x500e('0x4')]())[_0x500e('0x14')](_0x19cd5d)[_0x500e('0x15')](_0x3cf96b=>{const _0x21796d=this[_0x500e('0x28')][_0x500e('0x6')]['createPositionAt'](_0x3cf96b,0x0);return[..._0x1b0978[_0x500e('0x5')](_0x21796d,_0x500e('0x9')),..._0x1b0978[_0x500e('0x5')](_0x21796d,'forward')];})[_0x500e('0x2c')]();return _0x32e23b=[...new Set(_0x32e23b)],_0x32e23b;}[_0x500e('0x8')](_0x3a5ed8){return _0x500e('0xd')+this['editor'][_0x500e('0x26')][_0x500e('0x7')](_0x500e('0x36'))[_0x500e('0xf')](_0x3a5ed8)[_0x500e('0xe')]()+'_LIST_'+_0x3a5ed8[_0x500e('0xe')]()[_0x500e('0x1f')](/-/g,'_');}}
23
+ const _0x21e3=['config','*Format:*\x20set\x20order\x20to\x20reversed','createPositionAt','listStyle','ListPropertiesEditing','_getTranslationKeyForListStyle','listType','listReversed','filter','_getSuggestionBlocks','*Format:*\x20set\x20order\x20to\x20regular','markMultiRangeBlockFormat','type','getFirstPosition','startIndex','backward','listItem','format','listStart','commandParams','handleListStyleCommand','length','toUpperCase','afterInit','from','change','commandName','styles','getAttribute','getSiblingNodes','_LIST_','get','enableCommand','model','createRange','ELEMENT_','element','replace','handleDescriptions','locale','document','before','handleListStartCommand','reversed','_getSuggestionBlocksForListStyle','selection','ListUtils','TrackChangesEditing','map','forward','bind','numbered','*Format:*\x20set\x20start\x20index\x20to\x20%0','getSelectedBlocks','handleListReversedCommand','plugins','editor','getLastPosition'];(function(_0x1cac73,_0x21e3f2){const _0x2730e6=function(_0x1b5ad7){while(--_0x1b5ad7){_0x1cac73['push'](_0x1cac73['shift']());}};_0x2730e6(++_0x21e3f2);}(_0x21e3,0xdc));const _0x2730=function(_0x1cac73,_0x21e3f2){_0x1cac73=_0x1cac73-0x0;let _0x2730e6=_0x21e3[_0x1cac73];return _0x2730e6;};import{Plugin as _0x443858}from'ckeditor5/src/core';import{getTranslation as _0x32cdc4}from'../utils/common-translations';export default class st extends _0x443858{[_0x2730('0x23')](){if(!this[_0x2730('0xa')][_0x2730('0x9')]['has'](_0x2730('0x10')))return;const _0x29a329=this['editor'][_0x2730('0xc')][_0x2730('0x2b')]('list.properties'),_0x3f27a6=this[_0x2730('0xa')]['plugins'][_0x2730('0x2b')](_0x2730('0x1'));_0x29a329[_0x2730('0x27')]&&_0x3f27a6[_0x2730('0x2c')](_0x2730('0xf'),this[_0x2730('0x20')][_0x2730('0x4')](this)),_0x29a329[_0x2730('0x37')]&&_0x3f27a6[_0x2730('0x2c')](_0x2730('0x13'),this[_0x2730('0x8')][_0x2730('0x4')](this)),_0x29a329[_0x2730('0x1a')]&&_0x3f27a6[_0x2730('0x2c')](_0x2730('0x1e'),this[_0x2730('0x36')][_0x2730('0x4')](this)),_0x3f27a6['_descriptionFactory']['registerDescriptionCallback'](this[_0x2730('0x32')][_0x2730('0x4')](this));}['handleListStyleCommand'](_0x5d5c0d,_0x53898e={}){const _0x380368=this['editor'][_0x2730('0x9')][_0x2730('0x2b')]('TrackChangesEditing'),_0xfaa81b=this[_0x2730('0x38')]();this[_0x2730('0xa')]['model'][_0x2730('0x25')](()=>{_0x380368[_0x2730('0x17')](_0xfaa81b,{'commandName':_0x2730('0xf'),'commandParams':[{'type':_0x53898e[_0x2730('0x18')]}],'formatGroupId':_0x2730('0xf')});});}[_0x2730('0x8')](_0x13f6f9,_0x4fdfc0={}){const _0x5e3f0a=this[_0x2730('0xa')][_0x2730('0x9')]['get'](_0x2730('0x1')),_0x32373f=this[_0x2730('0x15')](_0xb7e7c1=>_0xb7e7c1['is']('element',_0x2730('0x1c'))&&'numbered'===_0xb7e7c1[_0x2730('0x28')](_0x2730('0x12')));if(_0x32373f[_0x2730('0x21')]<0x1)return;const _0x425db0=_0x32373f['map'](_0x50671e=>this[_0x2730('0xa')][_0x2730('0x2d')]['createRange'](this[_0x2730('0xa')][_0x2730('0x2d')][_0x2730('0xe')](_0x50671e,_0x2730('0x35')),this[_0x2730('0xa')][_0x2730('0x2d')]['createPositionAt'](_0x50671e,0x0)));this[_0x2730('0xa')][_0x2730('0x2d')]['change'](()=>{_0x5e3f0a['markMultiRangeBlockFormat'](_0x425db0,{'commandName':'listReversed','commandParams':[{'reversed':_0x4fdfc0['reversed']}],'formatGroupId':'listReversed'});});}[_0x2730('0x36')](_0x89c6b3,_0x321d43={}){const _0xc4e7fd=this[_0x2730('0xa')]['plugins'][_0x2730('0x2b')](_0x2730('0x1')),_0x57fbf9=this[_0x2730('0x15')](_0x1323b0=>_0x1323b0['is'](_0x2730('0x30'),_0x2730('0x1c'))&&_0x2730('0x5')===_0x1323b0['getAttribute'](_0x2730('0x12')));if(_0x57fbf9[_0x2730('0x21')]<0x1)return;const _0xf390ed=_0x57fbf9[_0x2730('0x2')](_0xb2ca24=>this['editor']['model'][_0x2730('0x2e')](this[_0x2730('0xa')]['model'][_0x2730('0xe')](_0xb2ca24,'before'),this[_0x2730('0xa')][_0x2730('0x2d')][_0x2730('0xe')](_0xb2ca24,0x0)));this[_0x2730('0xa')][_0x2730('0x2d')][_0x2730('0x25')](()=>{_0xc4e7fd['markMultiRangeBlockFormat'](_0xf390ed,{'commandName':_0x2730('0x1e'),'commandParams':[{'startIndex':_0x321d43[_0x2730('0x1a')]}],'formatGroupId':_0x2730('0x1e')});});}[_0x2730('0x32')](_0x2d70da){const _0x18cb43=this[_0x2730('0xa')][_0x2730('0x33')],{data:_0x4574c5}=_0x2d70da;if(!_0x4574c5)return;let _0x57d751,_0x5665a5;switch(_0x4574c5[_0x2730('0x26')]){case _0x2730('0xf'):_0x57d751='*Change\x20to:*\x20%0',_0x5665a5={'type':_0x2730('0x1d'),'content':_0x32cdc4(_0x18cb43,_0x57d751,_0x32cdc4(_0x18cb43,this[_0x2730('0x11')](_0x4574c5[_0x2730('0x1f')][0x0]['type'])))};break;case _0x2730('0x13'):_0x57d751=_0x4574c5[_0x2730('0x1f')][0x0][_0x2730('0x37')]?_0x2730('0xd'):_0x2730('0x16'),_0x5665a5={'type':'format','content':_0x32cdc4(_0x18cb43,_0x57d751)};break;case _0x2730('0x1e'):_0x57d751=_0x2730('0x6'),_0x5665a5={'type':_0x2730('0x1d'),'content':_0x32cdc4(_0x18cb43,_0x57d751,_0x4574c5[_0x2730('0x1f')][0x0][_0x2730('0x1a')])};}return _0x5665a5;}['_getSuggestionBlocksForListStyle'](){var _0x2e5372,_0x38c6bf,_0x10d83f,_0x54a0c2;const _0x26e85c=this[_0x2730('0xa')][_0x2730('0x9')][_0x2730('0x2b')](_0x2730('0x0'));let _0x1215d9=Array[_0x2730('0x24')](this[_0x2730('0xa')][_0x2730('0x2d')][_0x2730('0x34')][_0x2730('0x39')]['getSelectedBlocks']());return(null===(_0x2e5372=_0x1215d9[0x0])||void 0x0===_0x2e5372?void 0x0:_0x2e5372['is'](_0x2730('0x30'),_0x2730('0x1c')))&&_0x1215d9['unshift'](..._0x26e85c['getSiblingNodes'](this['editor'][_0x2730('0x2d')][_0x2730('0x34')]['selection'][_0x2730('0x19')](),_0x2730('0x1b'))),(null===(_0x38c6bf=_0x1215d9[_0x1215d9[_0x2730('0x21')]-0x1])||void 0x0===_0x38c6bf?void 0x0:_0x38c6bf['is'](_0x2730('0x30'),_0x2730('0x1c')))&&_0x1215d9['push'](..._0x26e85c[_0x2730('0x29')](this[_0x2730('0xa')]['model'][_0x2730('0x34')][_0x2730('0x39')][_0x2730('0xb')](),_0x2730('0x3'))),_0x1215d9=[...new Set(_0x1215d9)],(null===(_0x54a0c2=null===(_0x10d83f=this[_0x2730('0xa')]['model'][_0x2730('0x34')]['selection']['getFirstPosition']())||void 0x0===_0x10d83f?void 0x0:_0x10d83f['parent'])||void 0x0===_0x54a0c2?void 0x0:_0x54a0c2['is'](_0x2730('0x30'),_0x2730('0x1c')))&&(_0x1215d9=_0x1215d9[_0x2730('0x14')](_0x498556=>_0x498556['is'](_0x2730('0x30'),'listItem'))),_0x1215d9;}['_getSuggestionBlocks'](_0x25241c){const _0x2316cd=this['editor'][_0x2730('0x9')][_0x2730('0x2b')]('ListUtils');let _0x3b74bd=Array['from'](this[_0x2730('0xa')][_0x2730('0x2d')][_0x2730('0x34')][_0x2730('0x39')][_0x2730('0x7')]())['filter'](_0x25241c)[_0x2730('0x2')](_0x4e219d=>{const _0x4ddc4f=this[_0x2730('0xa')]['model'][_0x2730('0xe')](_0x4e219d,0x0);return[..._0x2316cd[_0x2730('0x29')](_0x4ddc4f,'backward'),..._0x2316cd[_0x2730('0x29')](_0x4ddc4f,'forward')];})['flat']();return _0x3b74bd=[...new Set(_0x3b74bd)],_0x3b74bd;}['_getTranslationKeyForListStyle'](_0xa438d4){return _0x2730('0x2f')+this['editor'][_0x2730('0x9')][_0x2730('0x2b')](_0x2730('0x0'))['getListTypeFromListStyleType'](_0xa438d4)[_0x2730('0x22')]()+_0x2730('0x2a')+_0xa438d4['toUpperCase']()[_0x2730('0x31')](/-/g,'_');}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x59fc=['stop','options','has','downcastDispatcher','afterInit','media','showSuggestionHighlights','elementToElement','editor','mediaEmbed','high','ELEMENT_MEDIA','registerElementLabel','for','locale','attribute:url:media','div','data','plugins','_descriptionFactory','TrackChangesEditing'];(function(_0x118d70,_0x59fccf){const _0x527582=function(_0x32fad3){while(--_0x32fad3){_0x118d70['push'](_0x118d70['shift']());}};_0x527582(++_0x59fccf);}(_0x59fc,0xad));const _0x5275=function(_0x118d70,_0x59fccf){_0x118d70=_0x118d70-0x0;let _0x527582=_0x59fc[_0x118d70];return _0x527582;};import{Plugin as _0x428113}from'ckeditor5/src/core';import{getTranslation as _0x22a103}from'../utils/common-translations';export default class ot extends _0x428113{[_0x5275('0x14')](){const _0x54f347=this[_0x5275('0x3')];if(!_0x54f347['plugins'][_0x5275('0x12')]('MediaEmbedEditing'))return;const _0x1d1191=_0x54f347[_0x5275('0xd')]['get'](_0x5275('0xf')),_0x389ba1=_0x54f347[_0x5275('0x9')];_0x1d1191['enableCommand'](_0x5275('0x4')),_0x1d1191[_0x5275('0xe')][_0x5275('0x7')]('media',_0x277129=>_0x22a103(_0x389ba1,_0x5275('0x6'),_0x277129)),_0x54f347['conversion'][_0x5275('0x8')]('dataDowncast')[_0x5275('0x2')]({'model':_0x5275('0x0'),'view':(_0x5ec55b,{writer:_0x7652ac,options:_0x1b550e})=>{if(_0x1b550e[_0x5275('0x1')])return _0x7652ac['createEmptyElement'](_0x5275('0xb'));},'converterPriority':_0x5275('0x5')}),_0x54f347[_0x5275('0xc')][_0x5275('0x13')]['on'](_0x5275('0xa'),(_0x2380bb,_0x16a08e,_0x31f6b9)=>{_0x31f6b9[_0x5275('0x11')]['showSuggestionHighlights']&&_0x2380bb[_0x5275('0x10')]();},{'priority':_0x5275('0x5')});}}
23
+ const _0x1bd3=['media','downcastDispatcher','showSuggestionHighlights','elementToElement','MediaEmbedEditing','has','locale','TrackChangesEditing','get','data','_descriptionFactory','attribute:url:media','enableCommand','registerElementLabel','afterInit','ELEMENT_MEDIA','dataDowncast','plugins','for','editor','high','div','stop'];(function(_0x31ae24,_0x1bd39f){const _0x574511=function(_0x16666f){while(--_0x16666f){_0x31ae24['push'](_0x31ae24['shift']());}};_0x574511(++_0x1bd39f);}(_0x1bd3,0x134));const _0x5745=function(_0x31ae24,_0x1bd39f){_0x31ae24=_0x31ae24-0x0;let _0x574511=_0x1bd3[_0x31ae24];return _0x574511;};import{Plugin as _0x424471}from'ckeditor5/src/core';import{getTranslation as _0x59c05f}from'../utils/common-translations';export default class ot extends _0x424471{[_0x5745('0x5')](){const _0x9d5f73=this[_0x5745('0xa')];if(!_0x9d5f73[_0x5745('0x8')][_0x5745('0x13')](_0x5745('0x12')))return;const _0x25b4a4=_0x9d5f73[_0x5745('0x8')][_0x5745('0x16')](_0x5745('0x15')),_0x145926=_0x9d5f73[_0x5745('0x14')];_0x25b4a4[_0x5745('0x3')]('mediaEmbed'),_0x25b4a4[_0x5745('0x1')][_0x5745('0x4')](_0x5745('0xe'),_0x1b9c3e=>_0x59c05f(_0x145926,_0x5745('0x6'),_0x1b9c3e)),_0x9d5f73['conversion'][_0x5745('0x9')](_0x5745('0x7'))[_0x5745('0x11')]({'model':_0x5745('0xe'),'view':(_0xd4e676,{writer:_0x3b96af,options:_0x28923f})=>{if(_0x28923f[_0x5745('0x10')])return _0x3b96af['createEmptyElement'](_0x5745('0xc'));},'converterPriority':'high'}),_0x9d5f73[_0x5745('0x0')][_0x5745('0xf')]['on'](_0x5745('0x2'),(_0x580042,_0x4f273e,_0x68d753)=>{_0x68d753['options'][_0x5745('0x10')]&&_0x580042[_0x5745('0xd')]();},{'priority':_0x5745('0xb')});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x118e=['has','enableCommand','plugins','afterInit','get','mention'];(function(_0xe6297d,_0x118e2e){const _0x2ee26d=function(_0x4e1b12){while(--_0x4e1b12){_0xe6297d['push'](_0xe6297d['shift']());}};_0x2ee26d(++_0x118e2e);}(_0x118e,0xa0));const _0x2ee2=function(_0xe6297d,_0x118e2e){_0xe6297d=_0xe6297d-0x0;let _0x2ee26d=_0x118e[_0xe6297d];return _0x2ee26d;};import{Plugin as _0x3249b1}from'ckeditor5/src/core';export default class rt extends _0x3249b1{[_0x2ee2('0x5')](){const _0x4b29e1=this['editor'];_0x4b29e1['plugins'][_0x2ee2('0x2')]('MentionEditing')&&_0x4b29e1[_0x2ee2('0x4')][_0x2ee2('0x0')]('TrackChangesEditing')[_0x2ee2('0x3')](_0x2ee2('0x1'));}}
23
+ const _0x5033=['MentionEditing','TrackChangesEditing','plugins','enableCommand','has','afterInit','mention'];(function(_0x68854f,_0x50332d){const _0x280442=function(_0x145d3a){while(--_0x145d3a){_0x68854f['push'](_0x68854f['shift']());}};_0x280442(++_0x50332d);}(_0x5033,0x7f));const _0x2804=function(_0x68854f,_0x50332d){_0x68854f=_0x68854f-0x0;let _0x280442=_0x5033[_0x68854f];return _0x280442;};import{Plugin as _0x13e745}from'ckeditor5/src/core';export default class rt extends _0x13e745{[_0x2804('0x4')](){const _0x518ed1=this['editor'];_0x518ed1['plugins'][_0x2804('0x3')](_0x2804('0x6'))&&_0x518ed1[_0x2804('0x1')]['get'](_0x2804('0x0'))[_0x2804('0x2')](_0x2804('0x5'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3feb=['enableCommand','locale','plugins','PageBreakEditing','registerElementLabel','get','_descriptionFactory','ELEMENT_PAGE_BREAK','pageBreak'];(function(_0x4c67f7,_0x3febb3){const _0x4122b7=function(_0xb431b9){while(--_0xb431b9){_0x4c67f7['push'](_0x4c67f7['shift']());}};_0x4122b7(++_0x3febb3);}(_0x3feb,0x1a5));const _0x4122=function(_0x4c67f7,_0x3febb3){_0x4c67f7=_0x4c67f7-0x0;let _0x4122b7=_0x3feb[_0x4c67f7];return _0x4122b7;};import{Plugin as _0xdf113c}from'ckeditor5/src/core';import{getTranslation as _0xce5483}from'../utils/common-translations';export default class at extends _0xdf113c{['afterInit'](){const _0x28f019=this['editor'];if(!_0x28f019['plugins']['has'](_0x4122('0x5')))return;_0x28f019[_0x4122('0x4')][_0x4122('0x7')]('TrackChangesEditing')[_0x4122('0x2')](_0x4122('0x1'));const _0x445e95=_0x28f019[_0x4122('0x4')]['get']('TrackChangesEditing'),_0x272665=_0x28f019[_0x4122('0x3')];_0x445e95[_0x4122('0x8')][_0x4122('0x6')]('pageBreak',_0x58a077=>_0xce5483(_0x272665,_0x4122('0x0'),_0x58a077));}}
23
+ const _0x1f94=['editor','get','TrackChangesEditing','enableCommand','PageBreakEditing','pageBreak','plugins','registerElementLabel','_descriptionFactory','afterInit'];(function(_0x5edbbf,_0x1f94f7){const _0x319fa6=function(_0x52b922){while(--_0x52b922){_0x5edbbf['push'](_0x5edbbf['shift']());}};_0x319fa6(++_0x1f94f7);}(_0x1f94,0x1f2));const _0x319f=function(_0x5edbbf,_0x1f94f7){_0x5edbbf=_0x5edbbf-0x0;let _0x319fa6=_0x1f94[_0x5edbbf];return _0x319fa6;};import{Plugin as _0x5512eb}from'ckeditor5/src/core';import{getTranslation as _0x430d78}from'../utils/common-translations';export default class at extends _0x5512eb{[_0x319f('0x1')](){const _0x13d081=this[_0x319f('0x2')];if(!_0x13d081[_0x319f('0x8')]['has'](_0x319f('0x6')))return;_0x13d081[_0x319f('0x8')][_0x319f('0x3')]('TrackChangesEditing')[_0x319f('0x5')](_0x319f('0x7'));const _0x22342f=_0x13d081['plugins'][_0x319f('0x3')](_0x319f('0x4')),_0x503829=_0x13d081['locale'];_0x22342f[_0x319f('0x0')][_0x319f('0x9')](_0x319f('0x7'),_0x2400ce=>_0x430d78(_0x503829,'ELEMENT_PAGE_BREAK',_0x2400ce));}}