@ckeditor/ckeditor5-track-changes 39.0.0 → 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 _0x5050=['value','enableCommand','highlight','getAttribute','config','format','_descriptionFactory','model','selection','getFirstPosition','plugins','formatInline','toLowerCase','has','*Remove\x20highlight*','commandName','item','getRanges','*Set\x20highlight:*\x20%0','backward','TrackChangesEditing','push','get','createRange','isCollapsed','commandParams','color','hasAttribute','afterInit','document','find'];(function(_0x4845e8,_0x5050c4){const _0x116a24=function(_0x491cc9){while(--_0x491cc9){_0x4845e8['push'](_0x4845e8['shift']());}};_0x116a24(++_0x5050c4);}(_0x5050,0x193));const _0x116a=function(_0x4845e8,_0x5050c4){_0x4845e8=_0x4845e8-0x0;let _0x116a24=_0x5050[_0x4845e8];return _0x116a24;};import{Plugin as _0x34c879}from'ckeditor5/src/core';import{getTranslation as _0x282ecf}from'../utils/common-translations';import{getRangesWithAttribute as _0x52ef01}from'./utils';export default class K extends _0x34c879{[_0x116a('0x1c')](){const _0x4c3ef8=this['editor'];if(!_0x4c3ef8[_0x116a('0xa')][_0x116a('0xd')]('HighlightEditing'))return;const _0x413d5b=_0x4c3ef8[_0x116a('0xa')][_0x116a('0x16')](_0x116a('0x14'));_0x413d5b[_0x116a('0x1')](_0x116a('0x2'),(_0x169015,_0x4d7774={})=>{const _0x726bc9=_0x4c3ef8['model'][_0x116a('0x1d')][_0x116a('0x8')],_0x1bdd13=_0x726bc9[_0x116a('0x3')]('highlight');let _0x4918bc=_0x4d7774[_0x116a('0x0')],_0x98c8a5=[];if(_0x726bc9[_0x116a('0x18')]){const _0x159f44=_0x726bc9[_0x116a('0x9')]();if(!_0x726bc9[_0x116a('0x1b')](_0x116a('0x2')))return void _0x169015(_0x4d7774);{const _0x203d32=_0x5a8c2f=>_0x5a8c2f[_0x116a('0x10')]['getAttribute'](_0x116a('0x2'))===_0x1bdd13,_0x51f1ca=_0x159f44['getLastMatchingPosition'](_0x203d32,{'direction':_0x116a('0x13')}),_0x33af67=_0x159f44['getLastMatchingPosition'](_0x203d32);_0x98c8a5=[_0x4c3ef8[_0x116a('0x7')][_0x116a('0x17')](_0x51f1ca,_0x33af67)],_0x4918bc==_0x1bdd13&&(_0x4918bc=null);}}else for(const _0x493645 of _0x726bc9[_0x116a('0x11')]())_0x4918bc?_0x98c8a5['push'](_0x493645):_0x98c8a5[_0x116a('0x15')](..._0x52ef01(_0x116a('0x2'),_0x493645,_0x4c3ef8['model']));_0x4c3ef8[_0x116a('0x7')]['change'](()=>{for(const _0x10409d of _0x98c8a5)_0x413d5b['markInlineFormat'](_0x10409d,{'commandName':'highlight','commandParams':[{'value':_0x4918bc}]});});});const _0x3f099a=_0x4c3ef8['locale'];_0x413d5b[_0x116a('0x6')]['registerDescriptionCallback'](_0x3d71f8=>{const {type:_0x4b05e4,data:_0x4e1ad0}=_0x3d71f8;if(_0x116a('0xb')==_0x4b05e4&&_0x4e1ad0&&_0x116a('0x2')==_0x4e1ad0[_0x116a('0xf')]){const _0x145d46=_0x3f099a['t'],_0x5a2bdd=_0x4e1ad0[_0x116a('0x19')][0x0][_0x116a('0x0')];if(_0x5a2bdd){const _0x59ad56=_0x4c3ef8[_0x116a('0x4')][_0x116a('0x16')]('highlight.options')[_0x116a('0x1e')](_0xdb9e8b=>_0xdb9e8b['model']==_0x5a2bdd),_0x51ac69=_0x145d46(_0x59ad56['title'])[_0x116a('0xc')]();return{'type':_0x116a('0x5'),'content':_0x282ecf(_0x3f099a,_0x116a('0x12'),_0x51ac69),'color':{'value':_0x59ad56[_0x116a('0x1a')],'title':_0x59ad56['title']}};}return{'type':_0x116a('0x5'),'content':_0x282ecf(_0x3f099a,_0x116a('0xe'),_0x282ecf(_0x3f099a,'FORMAT_HIGHLIGHT'))};}});}}
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 _0x330d=['enableCommand','createPositionAt','insert','dataDowncast','ELEMENT_HORIZONTAL_LINE','has','afterInit','showSuggestionHighlights','conversion','elementToStructure','plugins','addClass','_descriptionFactory','get','ck-horizontal-line','createEmptyElement','for','editor','horizontalLine','registerElementLabel','high','TrackChangesEditing','locale','createContainerElement'];(function(_0x112e15,_0x330dda){const _0x44c31d=function(_0x4e2492){while(--_0x4e2492){_0x112e15['push'](_0x112e15['shift']());}};_0x44c31d(++_0x330dda);}(_0x330d,0xac));const _0x44c3=function(_0x112e15,_0x330dda){_0x112e15=_0x112e15-0x0;let _0x44c31d=_0x330d[_0x112e15];return _0x44c31d;};import{Plugin as _0x4d48a7}from'ckeditor5/src/core';import{getTranslation as _0x2113ce}from'../utils/common-translations';export default class Q extends _0x4d48a7{[_0x44c3('0x2')](){const _0x2bc187=this[_0x44c3('0xd')];if(!_0x2bc187[_0x44c3('0x6')][_0x44c3('0x1')]('HorizontalLineEditing'))return;_0x2bc187[_0x44c3('0x6')][_0x44c3('0x9')](_0x44c3('0x11'))[_0x44c3('0x14')](_0x44c3('0xe'));const _0x3480a7=_0x2bc187[_0x44c3('0x6')]['get']('TrackChangesEditing'),_0x2040d9=_0x2bc187[_0x44c3('0x12')];_0x3480a7[_0x44c3('0x8')][_0x44c3('0xf')](_0x44c3('0xe'),_0x56bc42=>_0x2113ce(_0x2040d9,_0x44c3('0x0'),_0x56bc42)),_0x2bc187[_0x44c3('0x4')][_0x44c3('0xc')](_0x44c3('0x17'))[_0x44c3('0x5')]({'model':_0x44c3('0xe'),'view':(_0x527254,{writer:_0x58fe26,options:_0x22838e})=>{if(!_0x22838e[_0x44c3('0x3')])return null;const _0x6ef35a=_0x58fe26[_0x44c3('0x13')]('div'),_0xe08fdc=_0x58fe26[_0x44c3('0xb')]('hr');return _0x58fe26[_0x44c3('0x7')](_0x44c3('0xa'),_0x6ef35a),_0x58fe26[_0x44c3('0x16')](_0x58fe26[_0x44c3('0x15')](_0x6ef35a,0x0),_0xe08fdc),_0x6ef35a;},'converterPriority':_0x44c3('0x10')});}}
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 _0x48b7=['model','change','registerDescriptionCallback','cancel','enableCommand','document','*Change\x20%0\x20content*','locale','afterInit','element','selection','editing','ELEMENT_HTML_EMBED','markBlockFormat','rawHtml','view','editor','commandName','format','TrackChangesEditing','_descriptionFactory','has','get','getAttribute','htmlEmbed','plugins','getSelectedElement','getCustomProperty'];(function(_0x553313,_0x48b7be){const _0x2d623a=function(_0x3478c5){while(--_0x3478c5){_0x553313['push'](_0x553313['shift']());}};_0x2d623a(++_0x48b7be);}(_0x48b7,0x1ca));const _0x2d62=function(_0x553313,_0x48b7be){_0x553313=_0x553313-0x0;let _0x2d623a=_0x48b7[_0x553313];return _0x2d623a;};import{Plugin as _0x31fb9f}from'ckeditor5/src/core';import{getTranslation as _0x34c6c9}from'../utils/common-translations';export default class V extends _0x31fb9f{[_0x2d62('0x1a')](){const _0x1d6c9b=this[_0x2d62('0x6')];if(!_0x1d6c9b[_0x2d62('0xf')][_0x2d62('0xb')]('HtmlEmbed'))return;const _0x2f11cf=_0x1d6c9b[_0x2d62('0xf')][_0x2d62('0xc')](_0x2d62('0x9')),_0x1ebf0a=_0x1d6c9b[_0x2d62('0x19')],_0x4d9544=_0x1d6c9b[_0x2d62('0x1')][_0x2d62('0x5')]['document'][_0x2d62('0x0')];_0x2f11cf[_0x2d62('0xa')]['registerElementLabel']('rawHtml',_0x26f389=>_0x34c6c9(_0x1ebf0a,'ELEMENT_HTML_EMBED',_0x26f389)),_0x1d6c9b['plugins'][_0x2d62('0xc')](_0x2d62('0x9'))[_0x2d62('0x16')](_0x2d62('0xe'),(_0x2ac8fe,_0x4f6e85)=>{const _0x1ff019=_0x1d6c9b[_0x2d62('0x12')],_0x226beb=_0x1ff019[_0x2d62('0x17')]['selection'];_0x1ff019[_0x2d62('0x13')](()=>{const _0x495756=function(_0x4e92d9){const _0x11ddd2=_0x4e92d9['getSelectedElement']();if(_0x11ddd2&&_0x11ddd2['is'](_0x2d62('0x1b'),_0x2d62('0x4')))return _0x4e92d9[_0x2d62('0x10')]();return null;}(_0x226beb);if(!_0x495756)return void _0x2ac8fe(null);const _0x2ff1bf=_0x495756[_0x2d62('0xd')]('value')||'';if(void 0x0===_0x4f6e85)return;if(_0x4f6e85===_0x2ff1bf)return;_0x2f11cf[_0x2d62('0x3')](_0x495756,{'commandName':'htmlEmbed','commandParams':[_0x4f6e85]}),_0x4d9544[_0x2d62('0x10')]()[_0x2d62('0x11')]('rawHtmlApi')[_0x2d62('0x15')]();});}),_0x2f11cf[_0x2d62('0xa')][_0x2d62('0x14')](_0x590905=>{const {data:_0x354bbc}=_0x590905;if(_0x354bbc&&'htmlEmbed'==_0x354bbc[_0x2d62('0x7')]){const _0x4f2b86=_0x34c6c9(_0x1ebf0a,_0x2d62('0x2'));return{'type':_0x2d62('0x8'),'content':_0x34c6c9(_0x1ebf0a,_0x2d62('0x18'),_0x4f2b86)};}});}}
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 _0x1329=['ImageBlockEditing','isInContent','accept','isInlineImage','fromPosition','commandParams','isEqual','getChangedMarkers','get','shouldConvertImageType','join','ImageStyleEditing','_descriptionFactory','length','markBlockFormat','ImageTextAlternativeEditing','getSuggestionCallback','getAttribute','_findSuggestions','forceDefaultExecution','createRange','imageStyle','_splitMarkerName','format','editor','getClosestSelectedImageElement','createRangeOn','toNext','uploadImage','start','convertInlineImageToBlock','head','find','insertImage','formatBlock','discardSuggestion','FORMAT_SIDE_IMAGE','filter','from','next','ELEMENT_CAPTION','isOwn','end','insertion','getContainedElement','imageCaption','removeObject','commands','refresh','ImageUtils','discard','differ','getSuggestion','registerPostFixer','chain','imageBlock','isCollapsed','markInlineFormat','locale','getCaptionFromImageModelElement','detach','nodeAfter','enableCommand','registerDescriptionCallback','markDeletion','isIntersecting','previous','nodeBefore','imageStylePreApply','commandName','toggleImageCaption','subType','_suggestionFactory','Users','model','backward','*Set\x20image\x20text\x20alternative:*\x20%0','getNearestSelectionRange','selection','ImageResize','isBefore','change','ImageInlineEditing','ImageCaptionEditing','registerCustomCallback','has','alt','name','value','newValue','type','newRange','findIndex','TrackChangesEditing','document','caption','width','getFirstRange','ImageUploadEditing','forEach','convertBlockImageToInline','registerElementLabel','plugins','imageTextAlternative','imageTypeInline','forward','hasAttribute','isBlockImage','*Reset\x20image\x20width*','Inline\x20image\x20to\x20block\x20image','title','imageStylePostApply','ImageEditing','toPrevious','imageTypeBlock','resizeImage','commandReversedParams','markInsertion','schema','deletion','formatInline'];(function(_0x2764cd,_0x13290b){const _0x47e429=function(_0x36983c){while(--_0x36983c){_0x2764cd['push'](_0x2764cd['shift']());}};_0x47e429(++_0x13290b);}(_0x1329,0x109));const _0x47e4=function(_0x2764cd,_0x13290b){_0x2764cd=_0x2764cd-0x0;let _0x47e429=_0x1329[_0x2764cd];return _0x47e429;};import{Plugin as _0x10774f}from'ckeditor5/src/core';import{LivePosition as _0x2fc7c7}from'ckeditor5/src/engine';import{uid as _0xb511d0}from'ckeditor5/src/utils';import{getTranslation as _0x2f98da}from'../utils/common-translations';export default class X extends _0x10774f{['afterInit'](){const _0x20bc1d=this[_0x47e4('0x1')];if(!_0x20bc1d[_0x47e4('0x4f')][_0x47e4('0x3e')](_0x47e4('0x59')))return;const _0x26a978=_0x20bc1d[_0x47e4('0x4f')][_0x47e4('0x6a')](_0x47e4('0x46')),_0x56a0e5=_0x20bc1d['plugins'][_0x47e4('0x6a')](_0x47e4('0x1a')),_0x247065={},_0x2064d1=_0x20bc1d[_0x47e4('0x23')];if(_0x26a978[_0x47e4('0x27')](_0x47e4('0xa')),_0x26a978[_0x47e4('0x6e')][_0x47e4('0x4e')](_0x47e4('0x20'),_0x61c6e2=>_0x2f98da(_0x2064d1,'ELEMENT_IMAGE',_0x61c6e2)),_0x26a978['_descriptionFactory']['registerElementLabel']('imageInline',_0x3830ac=>_0x2f98da(_0x2064d1,'ELEMENT_INLINE_IMAGE',_0x3830ac)),_0x26a978[_0x47e4('0x6e')][_0x47e4('0x4e')](_0x47e4('0x48'),()=>_0x2f98da(_0x2064d1,_0x47e4('0x11'))),_0x20bc1d[_0x47e4('0x4f')][_0x47e4('0x3e')](_0x47e4('0x4b'))&&_0x26a978['enableCommand'](_0x47e4('0x5')),_0x20bc1d['plugins'][_0x47e4('0x3e')](_0x47e4('0x62'))&&_0x20bc1d['plugins']['has'](_0x47e4('0x3b'))&&(_0x26a978[_0x47e4('0x27')]('imageTypeInline',(_0xf82b9a,_0x41bba0)=>{const _0x41e72a=_0x56a0e5['getClosestSelectedImageElement'](_0x20bc1d[_0x47e4('0x33')][_0x47e4('0x47')][_0x47e4('0x37')]);_0x20bc1d['model'][_0x47e4('0x3a')](()=>{_0x26a978['markBlockFormat'](_0x41e72a,{'commandName':_0x47e4('0x51'),'commandParams':[_0x41bba0]},[],_0x47e4('0x4d'));});}),_0x26a978['enableCommand'](_0x47e4('0x5b'),(_0x2b830a,_0x4e23a0)=>{_0x20bc1d[_0x47e4('0x33')][_0x47e4('0x3a')](_0x4f0d76=>{let _0x4a56ca=_0x56a0e5['getClosestSelectedImageElement'](_0x20bc1d['model'][_0x47e4('0x47')][_0x47e4('0x37')]),_0x432e81=_0x4f0d76[_0x47e4('0x3')](_0x4a56ca);const _0x1170d9=_0x2fc7c7[_0x47e4('0x66')](_0x432e81[_0x47e4('0x6')],_0x47e4('0x5a')),_0x23a671=_0x2fc7c7['fromPosition'](_0x432e81[_0x47e4('0x13')],_0x47e4('0x4'));_0x26a978[_0x47e4('0x75')](()=>_0x2b830a(_0x4e23a0)),_0x4a56ca=_0x56a0e5[_0x47e4('0x2')](_0x20bc1d[_0x47e4('0x33')][_0x47e4('0x47')][_0x47e4('0x37')]),_0x432e81=_0x4f0d76[_0x47e4('0x3')](_0x4a56ca);const _0x3969ae=_0x4f0d76[_0x47e4('0x76')](_0x1170d9,_0x23a671);_0x1170d9['detach'](),_0x23a671[_0x47e4('0x25')](),_0x26a978[_0x47e4('0x70')](_0x4a56ca,{'commandName':_0x47e4('0x51'),'commandParams':[]},[],'convertInlineImageToBlock'),_0x3969ae[_0x47e4('0x6')][_0x47e4('0x39')](_0x432e81[_0x47e4('0x6')])&&_0x26a978['markInsertion'](_0x4f0d76[_0x47e4('0x76')](_0x3969ae[_0x47e4('0x6')],_0x432e81[_0x47e4('0x6')]),_0x47e4('0x7')),_0x432e81[_0x47e4('0x13')][_0x47e4('0x39')](_0x3969ae[_0x47e4('0x13')])&&_0x26a978[_0x47e4('0x5e')](_0x4f0d76[_0x47e4('0x76')](_0x432e81[_0x47e4('0x13')],_0x3969ae['end']),'convertInlineImageToBlock');});}),_0x26a978['_suggestionFactory'][_0x47e4('0x3d')](_0x47e4('0xb'),'convertInlineImageToBlock',_0x47e4('0x6c'),()=>{}),_0x26a978['_suggestionFactory'][_0x47e4('0x3d')](_0x47e4('0xb'),_0x47e4('0x7'),_0x47e4('0x64'),()=>{}),_0x26a978[_0x47e4('0x31')][_0x47e4('0x3d')]('formatBlock','convertInlineImageToBlock','discard',_0x26a978[_0x47e4('0x31')][_0x47e4('0x72')]('formatBlock','',_0x47e4('0x64'))),_0x26a978[_0x47e4('0x31')][_0x47e4('0x3d')](_0x47e4('0x14'),_0x47e4('0x7'),'join',()=>{}),_0x26a978[_0x47e4('0x31')][_0x47e4('0x3d')](_0x47e4('0x14'),_0x47e4('0x7'),_0x47e4('0x1b'),([_0xe72aaa])=>{const _0x4fc33d=_0x26a978[_0x47e4('0x31')][_0x47e4('0x72')](_0x47e4('0x14'),'',_0x47e4('0x1b'));let _0x1ddc6d=_0xe72aaa[_0x47e4('0x6')],_0x468694=_0xe72aaa['end'];const _0x45c8da=_0x20bc1d[_0x47e4('0x33')][_0x47e4('0x5f')]['getNearestSelectionRange'](_0x1ddc6d,_0x47e4('0x34')),_0x1c9f6e=_0x20bc1d[_0x47e4('0x33')][_0x47e4('0x5f')][_0x47e4('0x36')](_0x468694,_0x47e4('0x52'));_0x45c8da[_0x47e4('0x21')]&&(_0x1ddc6d=_0x45c8da[_0x47e4('0x6')]),_0x1c9f6e['isCollapsed']&&(_0x468694=_0x1c9f6e[_0x47e4('0x13')]),_0x4fc33d([_0x20bc1d[_0x47e4('0x33')][_0x47e4('0x76')](_0x1ddc6d,_0x468694)]);}),_0x26a978[_0x47e4('0x31')][_0x47e4('0x3d')]('formatBlock',_0x47e4('0x7'),_0x47e4('0x1f'),_0x3bcbb8),_0x26a978[_0x47e4('0x31')][_0x47e4('0x3d')]('insertion','convertInlineImageToBlock',_0x47e4('0x1f'),_0x3bcbb8)),_0x20bc1d['plugins'][_0x47e4('0x3e')](_0x47e4('0x3c'))&&(_0x26a978['enableCommand'](_0x47e4('0x2f'),(_0x420cf2,_0x22afff)=>{const _0x3aa95e=_0x20bc1d[_0x47e4('0x4f')][_0x47e4('0x6a')]('ImageCaptionUtils');let _0x79a594=_0x56a0e5['getClosestSelectedImageElement'](_0x20bc1d['model'][_0x47e4('0x47')][_0x47e4('0x37')]),_0x3b874a=_0x3aa95e[_0x47e4('0x24')](_0x79a594);_0x20bc1d[_0x47e4('0x33')][_0x47e4('0x3a')](()=>{if(_0x3b874a)return void _0x26a978[_0x47e4('0x29')](_0x20bc1d[_0x47e4('0x33')][_0x47e4('0x3')](_0x3b874a));const _0x575c11=_0x56a0e5[_0x47e4('0x54')](_0x79a594);_0x420cf2(_0x22afff),_0x79a594=_0x56a0e5[_0x47e4('0x2')](_0x20bc1d[_0x47e4('0x33')]['document'][_0x47e4('0x37')]),_0x3b874a=_0x3aa95e[_0x47e4('0x24')](_0x79a594),_0x26a978[_0x47e4('0x5e')](_0x20bc1d[_0x47e4('0x33')][_0x47e4('0x3')](_0x3b874a),_0x575c11?null:_0x47e4('0x16'));});}),_0x26a978[_0x47e4('0x31')]['registerCustomCallback'](_0x47e4('0x14'),'imageCaption',_0x47e4('0x1f'),_0x3bcbb8)),_0x20bc1d[_0x47e4('0x4f')]['has'](_0x47e4('0x6d'))){_0x26a978[_0x47e4('0x27')](_0x47e4('0x77'),(_0x4bfc61,_0x55f5f4)=>{const _0x2b3f6a=_0x20bc1d[_0x47e4('0x4f')][_0x47e4('0x6a')](_0x47e4('0x32'))['me'],_0x4eae08=_0x20bc1d[_0x47e4('0x18')][_0x47e4('0x6a')](_0x47e4('0x77'));let _0x2684c3=_0x56a0e5[_0x47e4('0x2')](_0x20bc1d[_0x47e4('0x33')][_0x47e4('0x47')][_0x47e4('0x37')]),_0x470413=_0x20bc1d['model'][_0x47e4('0x3')](_0x2684c3),_0x464480=_0x4eae08['value'];if(_0x464480==_0x55f5f4[_0x47e4('0x41')])return;const _0x155f3b={'commandName':'imageStyle','commandParams':[_0x55f5f4],'formatGroupId':_0xb511d0()};_0x20bc1d[_0x47e4('0x33')][_0x47e4('0x3a')](()=>{if(_0x26a978['getSuggestions']()[_0x47e4('0xe')](_0x4cd7a5=>_0x4cd7a5[_0x47e4('0x63')]&&_0x2b3f6a==_0x4cd7a5['author']&&(_0x47e4('0xb')==_0x4cd7a5['type']||_0x47e4('0x61')==_0x4cd7a5[_0x47e4('0x43')])&&(_0x47e4('0x2d')==_0x4cd7a5[_0x47e4('0x30')]||'imageStylePostApply'==_0x4cd7a5[_0x47e4('0x30')])&&_0x4cd7a5[_0x47e4('0x4a')]()[_0x47e4('0x68')](_0x470413))[_0x47e4('0x4c')](_0x4c8742=>_0x26a978['discardSuggestion'](_0x4c8742[_0x47e4('0x8')])),_0x2684c3=_0x56a0e5[_0x47e4('0x2')](_0x20bc1d[_0x47e4('0x33')][_0x47e4('0x47')][_0x47e4('0x37')]),_0x470413=_0x20bc1d[_0x47e4('0x33')][_0x47e4('0x3')](_0x2684c3),_0x4eae08[_0x47e4('0x19')](),_0x20bc1d[_0x47e4('0x18')][_0x47e4('0x6a')](_0x47e4('0x51'))[_0x47e4('0x19')](),_0x20bc1d['commands'][_0x47e4('0x6a')](_0x47e4('0x5b'))[_0x47e4('0x19')](),_0x464480=_0x4eae08['value'],_0x464480!=_0x55f5f4[_0x47e4('0x41')])return _0x56a0e5[_0x47e4('0x65')](_0x2684c3)&&_0x4eae08[_0x47e4('0x6b')](_0x55f5f4[_0x47e4('0x41')],_0x2684c3)?(_0x4bfc61(_0x55f5f4),_0x2684c3=_0x56a0e5[_0x47e4('0x2')](_0x20bc1d[_0x47e4('0x33')][_0x47e4('0x47')][_0x47e4('0x37')]),void _0x26a978['markBlockFormat'](_0x2684c3,{..._0x155f3b,'commandReversedParams':[{'value':_0x464480||null}]},[],_0x47e4('0x2d'))):void(_0x56a0e5[_0x47e4('0x54')](_0x2684c3)?_0x26a978[_0x47e4('0x70')](_0x2684c3,_0x155f3b,[],_0x47e4('0x58')):_0x26a978[_0x47e4('0x22')](_0x470413,_0x155f3b,_0x47e4('0x58')));});});for(const _0x29dc0b of _0x20bc1d[_0x47e4('0x4f')][_0x47e4('0x6a')]('ImageStyleEditing')['normalizedStyles'])_0x247065[_0x29dc0b[_0x47e4('0x40')]]=_0x29dc0b[_0x47e4('0x57')]['toLowerCase']();_0x26a978[_0x47e4('0x31')][_0x47e4('0x3d')](_0x47e4('0xb'),_0x47e4('0x2d'),_0x47e4('0x6c'),()=>{}),_0x26a978['_suggestionFactory'][_0x47e4('0x3d')](_0x47e4('0xb'),_0x47e4('0x58'),_0x47e4('0x6c'),()=>{}),_0x26a978[_0x47e4('0x31')][_0x47e4('0x3d')](_0x47e4('0x61'),_0x47e4('0x58'),_0x47e4('0x6c'),()=>{}),_0x26a978['_suggestionFactory'][_0x47e4('0x3d')](_0x47e4('0xb'),'imageStylePreApply',_0x47e4('0x64'),()=>{}),_0x26a978[_0x47e4('0x31')][_0x47e4('0x3d')](_0x47e4('0xb'),_0x47e4('0x2d'),_0x47e4('0x1b'),(_0x577b27,_0x25a4f8)=>{_0x26a978[_0x47e4('0x31')]['getSuggestionCallback'](_0x47e4('0xb'),'',_0x47e4('0x64'))(_0x577b27,{'commandName':_0x25a4f8['commandName'],'commandParams':_0x25a4f8[_0x47e4('0x5d')]});}),_0x26a978[_0x47e4('0x31')][_0x47e4('0x3d')](_0x47e4('0xb'),_0x47e4('0x2d'),_0x47e4('0x1f'),_0x3bcbb8);}const _0x1ddc98=[{'type':_0x47e4('0xb'),'subType':_0x47e4('0x2d')},{'type':_0x47e4('0x14'),'subType':_0x47e4('0x16')},{'type':_0x47e4('0xb'),'subType':'convertInlineImageToBlock'},{'type':_0x47e4('0x14'),'subType':'convertInlineImageToBlock'}];function _0x3f5eb8(_0x4158dc,_0x383b56){const _0x12336a=_0x1ddc98[_0x47e4('0x45')](({type:_0x3e200e,subType:_0x1496d4})=>_0x4158dc[_0x47e4('0x43')]==_0x3e200e&&_0x4158dc[_0x47e4('0x30')]==_0x1496d4),_0x5f065b=_0x1ddc98[_0x47e4('0x45')](({type:_0x2fbdc2,subType:_0x638628})=>_0x383b56[_0x47e4('0x43')]==_0x2fbdc2&&_0x383b56['subType']==_0x638628);if(_0x12336a<0x0||_0x5f065b<0x0)return!0x1;const _0x5bd65a=_0x4158dc['getFirstRange'](),_0x33c763=_0x383b56[_0x47e4('0x4a')]();if((0x0==_0x12336a||0x1==_0x12336a)&&0x2==_0x5f065b&&_0x5bd65a[_0x47e4('0x2a')](_0x33c763))return!0x0;if(0x2==_0x12336a&&0x3==_0x5f065b){const _0x550bbf=_0x26a978[_0x47e4('0x74')](_0x5bd65a,_0x47e4('0x14'))[_0x47e4('0xe')](({suggestion:_0x57c19a,meta:_0x326134})=>_0x326134[_0x47e4('0x12')]&&_0x47e4('0x7')==_0x57c19a[_0x47e4('0x30')]);if(_0x550bbf[_0x47e4('0x6f')]>0x1&&_0x33c763[_0x47e4('0x13')]['isEqual'](_0x5bd65a[_0x47e4('0x6')]))return!0x0;if(0x1==_0x550bbf[_0x47e4('0x6f')]&&(_0x5bd65a[_0x47e4('0x6')][_0x47e4('0x68')](_0x33c763[_0x47e4('0x13')])||_0x5bd65a[_0x47e4('0x13')][_0x47e4('0x68')](_0x33c763[_0x47e4('0x6')])))return!0x0;}if(0x3==_0x12336a&&0x3==_0x5f065b&&_0x5bd65a[_0x47e4('0x6')][_0x47e4('0x39')](_0x33c763[_0x47e4('0x6')])){const _0x1397e9=_0x5bd65a[_0x47e4('0x13')][_0x47e4('0x26')],_0xf774d9=_0x33c763[_0x47e4('0x6')][_0x47e4('0x2c')];return _0x56a0e5[_0x47e4('0x54')](_0x1397e9)&&_0x1397e9===_0xf774d9;}return!0x1;}function _0x3bcbb8(_0x4dc3c5,_0x284995){return _0x3f5eb8(_0x4dc3c5,_0x284995)?[_0x4dc3c5,_0x284995]:_0x3f5eb8(_0x284995,_0x4dc3c5)?[_0x284995,_0x4dc3c5]:null;}_0x20bc1d[_0x47e4('0x33')][_0x47e4('0x47')][_0x47e4('0x1e')](()=>{let _0x16a646=!0x1;const _0x4958c2=Array[_0x47e4('0xf')](_0x20bc1d[_0x47e4('0x33')][_0x47e4('0x47')][_0x47e4('0x1c')][_0x47e4('0x69')]());for(const {name:_0x1e6919,data:_0x4ea86d}of _0x4958c2){const {group:_0x2bf60c,type:_0x31715e,subType:_0x271f85,id:_0x50bc3b}=_0x26a978[_0x47e4('0x78')](_0x1e6919);if('suggestion'==_0x2bf60c&&_0x26a978['hasSuggestion'](_0x50bc3b)){if(_0x47e4('0xb')==_0x31715e&&('imageStylePreApply'==_0x271f85||'imageStylePostApply'==_0x271f85)){const _0x30dca4=_0x26a978[_0x47e4('0x1d')](_0x50bc3b);if(_0x4ea86d['newRange']){const _0xe13c95=_0x30dca4[_0x47e4('0x4a')]()[_0x47e4('0x15')]();if(_0x56a0e5[_0x47e4('0x54')](_0xe13c95))continue;_0x26a978['discardSuggestion'](_0x30dca4),_0x16a646=!0x0;}}if(_0x47e4('0x14')==_0x31715e&&'imageCaption'==_0x271f85&&!_0x4ea86d[_0x47e4('0x44')]){const _0xaaac51=_0x26a978[_0x47e4('0x1d')](_0x50bc3b);_0xaaac51['next']&&_0xaaac51[_0x47e4('0x10')][_0x47e4('0x63')]&&(_0x26a978[_0x47e4('0xc')](_0xaaac51[_0x47e4('0x10')]),_0x16a646=!0x0);}}}return _0x16a646;}),_0x20bc1d[_0x47e4('0x4f')][_0x47e4('0x3e')](_0x47e4('0x38'))&&_0x26a978[_0x47e4('0x27')](_0x47e4('0x5c'),(_0x1820a4,_0x2fa6d5)=>{const _0x15c3b4=_0x56a0e5['getClosestSelectedImageElement'](_0x20bc1d[_0x47e4('0x33')]['document'][_0x47e4('0x37')]);_0x15c3b4[_0x47e4('0x73')](_0x47e4('0x49'))!=_0x2fa6d5[_0x47e4('0x49')]&&_0x20bc1d[_0x47e4('0x33')][_0x47e4('0x3a')](()=>{_0x26a978['markBlockFormat'](_0x15c3b4,{'commandName':'resizeImage','commandParams':[_0x2fa6d5]});});}),_0x20bc1d[_0x47e4('0x4f')][_0x47e4('0x3e')](_0x47e4('0x71'))&&_0x26a978[_0x47e4('0x27')](_0x47e4('0x50'),(_0x1f1102,_0x3498a6)=>{const _0x400716=_0x56a0e5[_0x47e4('0x2')](_0x20bc1d['model'][_0x47e4('0x47')][_0x47e4('0x37')]);(_0x400716[_0x47e4('0x53')](_0x47e4('0x3f'))?_0x400716[_0x47e4('0x73')](_0x47e4('0x3f')):'')!=_0x3498a6['newValue']&&_0x20bc1d[_0x47e4('0x33')][_0x47e4('0x3a')](()=>{_0x26a978[_0x47e4('0x70')](_0x400716,{'commandName':'imageTextAlternative','commandParams':[_0x3498a6]});});}),_0x26a978[_0x47e4('0x6e')]['registerDescriptionCallback'](_0x5208a5=>{if(!!_0x1ddc98[_0x47e4('0x9')](({type:_0x4f860f,subType:_0x3c4429})=>_0x5208a5[_0x47e4('0x43')]==_0x4f860f&&_0x5208a5['subType']==_0x3c4429))return _0x5208a5[_0x47e4('0x2b')]?{}:void 0x0;}),_0x26a978[_0x47e4('0x6e')][_0x47e4('0x28')](_0x3851ea=>{if(_0x47e4('0x14')==_0x3851ea['type']||_0x47e4('0x60')==_0x3851ea[_0x47e4('0x43')]){const _0x3dba8c=_0x3851ea['getContainedElement']();if(_0x3dba8c&&_0x3dba8c['is']('element','caption'))return{'type':_0x47e4('0x14')==_0x3851ea[_0x47e4('0x43')]?'addObject':_0x47e4('0x17'),'element':_0x3dba8c,'quantity':0x1};}}),_0x26a978[_0x47e4('0x6e')]['registerDescriptionCallback'](_0x3b06f8=>_0x47e4('0xb')==_0x3b06f8[_0x47e4('0x43')]&&'convertInlineImageToBlock'==_0x3b06f8[_0x47e4('0x30')]?{'type':_0x47e4('0x0'),'content':_0x47e4('0x56')}:_0x47e4('0xb')==_0x3b06f8[_0x47e4('0x43')]&&_0x47e4('0x4d')==_0x3b06f8[_0x47e4('0x30')]?{'type':_0x47e4('0x0'),'content':'Block\x20image\x20to\x20inline\x20image'}:void 0x0),_0x26a978[_0x47e4('0x6e')][_0x47e4('0x28')](_0x30bfa1=>{const {data:_0x1c910a}=_0x30bfa1;if(_0x1c910a){if('imageStyle'==_0x1c910a[_0x47e4('0x2e')]){const _0x2cda3f=_0x1c910a[_0x47e4('0x67')][0x0]['value'];return _0x4315fb('side'===_0x2cda3f?_0x2f98da(_0x2064d1,_0x47e4('0xd')):_0x247065[_0x2cda3f]||_0x2cda3f);}if(_0x47e4('0x50')==_0x1c910a[_0x47e4('0x2e')]){const _0x542073=_0x1c910a[_0x47e4('0x67')][0x0][_0x47e4('0x42')];return _0x542073?{'type':'format','content':_0x2f98da(_0x2064d1,_0x47e4('0x35'),'\x22'+_0x542073+'\x22')}:{'type':_0x47e4('0x0'),'content':_0x2f98da(_0x2064d1,'*Remove\x20image\x20text\x20alternative*')};}if(_0x47e4('0x5c')==_0x1c910a['commandName']){const _0x2fc4ae=_0x1c910a[_0x47e4('0x67')][0x0][_0x47e4('0x49')];return _0x2fc4ae?{'type':_0x47e4('0x0'),'content':_0x2f98da(_0x2064d1,'*Set\x20image\x20width:*\x20%0',_0x2fc4ae)}:{'type':'format','content':_0x2f98da(_0x2064d1,_0x47e4('0x55'))};}}function _0x4315fb(_0x4565fb){return{'type':'format','content':_0x2f98da(_0x2064d1,'*Format:*\x20%0',_0x4565fb)};}});}}
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 _0x2152=['selection','model','discard','document','data','commandName','*Format:*\x20replace\x20image\x20URL','editor','formatBlock','replaceImageSource','accept','enableCommand','handleSuggestionDescription','getAttribute','subType','getContainedElement','markBlockFormat','TrackChangesEditing','_suggestionFactory','change','format','_descriptionFactory','commandParams','registerCustomCallback','get','handleReplaceImageCommand','plugins','has','locale','getSuggestionCallback'];(function(_0xb4bb47,_0x21526f){const _0x132ea7=function(_0x1be2bb){while(--_0x1be2bb){_0xb4bb47['push'](_0xb4bb47['shift']());}};_0x132ea7(++_0x21526f);}(_0x2152,0x93));const _0x132e=function(_0xb4bb47,_0x21526f){_0xb4bb47=_0xb4bb47-0x0;let _0x132ea7=_0x2152[_0xb4bb47];return _0x132ea7;};import{Plugin as _0x5382e2}from'ckeditor5/src/core';import{getTranslation as _0x2776b0}from'../utils/common-translations';export default class Y extends _0x5382e2{['afterInit'](){if(!this[_0x132e('0xa')][_0x132e('0x1d')][_0x132e('0x0')]('ImageEditing'))return;const _0x229ba1=this[_0x132e('0xa')][_0x132e('0x1d')][_0x132e('0x1b')](_0x132e('0x14'));_0x229ba1[_0x132e('0xe')]('replaceImageSource',(_0x2fbc19,_0x1c474f)=>this[_0x132e('0x1c')](_0x2fbc19,_0x1c474f)),_0x229ba1[_0x132e('0x15')][_0x132e('0x1a')](_0x132e('0xb'),'replaceImageSource','accept',_0x229ba1[_0x132e('0x15')][_0x132e('0x2')](_0x132e('0xb'),null,_0x132e('0x5'))),_0x229ba1['_suggestionFactory'][_0x132e('0x1a')](_0x132e('0xb'),_0x132e('0xc'),'discard',_0x229ba1[_0x132e('0x15')][_0x132e('0x2')](_0x132e('0xb'),null,_0x132e('0xd'))),_0x229ba1[_0x132e('0x18')]['registerDescriptionCallback'](_0x1f5207=>this[_0x132e('0xf')](_0x1f5207));}['handleReplaceImageCommand'](_0x2abf21,_0x3ef8b3){const _0x256f0a=this[_0x132e('0xa')]['plugins'][_0x132e('0x1b')]('TrackChangesEditing'),_0x407f3c=this[_0x132e('0xa')]['model'][_0x132e('0x6')][_0x132e('0x3')]['getSelectedElement']();this[_0x132e('0xa')][_0x132e('0x4')][_0x132e('0x16')](()=>{let _0x489ec1=_0x407f3c[_0x132e('0x10')]('src');const _0x1408b3=this[_0x132e('0xa')]['plugins']['get']('Users')['me'];for(const _0x58518a of _0x256f0a['getSuggestions']({'skipNotAttached':!0x0})){const _0x24d406=_0x58518a[_0x132e('0x12')]();if(_0x132e('0xc')===_0x58518a[_0x132e('0x11')]&&_0x24d406===_0x407f3c){_0x58518a['author']!==_0x1408b3&&_0x58518a[_0x132e('0x5')](),_0x489ec1=_0x58518a[_0x132e('0x7')][_0x132e('0x19')][0x0]['source'];break;}}_0x2abf21(_0x3ef8b3),_0x256f0a[_0x132e('0x13')](_0x407f3c,{'commandName':'replaceImageSource','commandParams':[{'source':_0x489ec1}]},[],'replaceImageSource');});}[_0x132e('0xf')](_0x12cf91){const {data:_0x3ce818}=_0x12cf91;if(_0x3ce818&&_0x132e('0xc')===_0x3ce818[_0x132e('0x8')]){const _0x4b076d=_0x132e('0x9');return{'type':_0x132e('0x17'),'content':_0x2776b0(this[_0x132e('0xa')][_0x132e('0x1')],_0x4b076d)};}}}
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 _0x1481=['get','commands','execute','plugins','dataInsert','track_changes','TrackChangesEditing','importWord','_trackChangesExecuted','_setSuggestionData','_handleImportedData','lowest','high','listenTo','afterInit','_trackChangesValueDuringImport','editor','trackChanges','value'];(function(_0x3172ef,_0x148136){const _0x4bfed8=function(_0x2b627c){while(--_0x2b627c){_0x3172ef['push'](_0x3172ef['shift']());}};_0x4bfed8(++_0x148136);}(_0x1481,0x133));const _0x4bfe=function(_0x3172ef,_0x148136){_0x3172ef=_0x3172ef-0x0;let _0x4bfed8=_0x1481[_0x3172ef];return _0x4bfed8;};import{Plugin as _0x470fee}from'ckeditor5/src/core';export default class Z extends _0x470fee{constructor(_0xd27ade){super(_0xd27ade),this['_trackChangesValueDuringImport']=!0x1,this[_0x4bfe('0x5')]=!0x1;}[_0x4bfe('0xb')](){const _0x1999ac=this['editor'],_0xd2df56=_0x1999ac[_0x4bfe('0x11')][_0x4bfe('0x10')]('importWord'),_0x27d9fc=_0x1999ac[_0x4bfe('0x11')][_0x4bfe('0x10')](_0x4bfe('0xe'));_0xd2df56&&(_0xd2df56['on']('execute',(_0x5f1e04,[,_0x1be8f2])=>{this[_0x4bfe('0xc')]=_0x27d9fc[_0x4bfe('0xf')],_0x1be8f2['collaboration_features'][_0x4bfe('0x2')]=!this[_0x4bfe('0xc')];},{'priority':_0x4bfe('0x9')}),this[_0x4bfe('0xa')](_0xd2df56,'dataInsert',this[_0x4bfe('0x7')]['bind'](this)),this[_0x4bfe('0xa')](_0xd2df56,_0x4bfe('0x1'),()=>{this[_0x4bfe('0x5')]&&(_0x27d9fc['execute'](),this[_0x4bfe('0x5')]=!0x1);},{'priority':_0x4bfe('0x8')}),_0x1999ac[_0x4bfe('0x0')][_0x4bfe('0x10')](_0x4bfe('0x3'))['enableCommand'](_0x4bfe('0x4')));}['_handleImportedData'](_0x3c49b7,_0x2cbab4){const {suggestions:_0x257158}=_0x2cbab4,_0x1173e7=this[_0x4bfe('0xd')][_0x4bfe('0x11')]['get'](_0x4bfe('0xe')),_0x320616=_0x1173e7[_0x4bfe('0xf')];this[_0x4bfe('0xc')]!==_0x320616&&(_0x1173e7[_0x4bfe('0x12')](),this[_0x4bfe('0x5')]=!0x0),_0x257158&&_0x257158['forEach'](({id:_0x5f46ba,type:_0xe3b9ec,author:_0x321649,created_at:_0x3ef5cf})=>{const _0x9d91b2={'id':_0x5f46ba,'type':_0xe3b9ec,'authorId':this[_0x4bfe('0xd')][_0x4bfe('0x0')][_0x4bfe('0x10')]('Users')['me']['id'],'createdAt':new Date(),'data':null,'hasComments':!0x1,'attributes':{'@external':{'authorName':_0x321649,'createdAt':_0x3ef5cf?new Date(_0x3ef5cf):new Date(),'source':_0x4bfe('0x4')}}};this[_0x4bfe('0xd')][_0x4bfe('0x0')]['get'](_0x4bfe('0x3'))[_0x4bfe('0x6')](_0x9d91b2);});}}
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 _0x45c8=['model','schema','outdent','IndentEditing','enableCommand','getItemLabel','indent','locale','change','TrackChangesEditing','selection','from','getItems','*Indent:*\x20%0','blockIndent','editor','commandName','markBlockFormat','_descriptionFactory','IndentBlock','*Outdent:*\x20%0','outdentBlock','document','get','filter','format','plugins','has','indentBlock'];(function(_0x4e278e,_0x45c8c6){const _0x2373fb=function(_0x407d04){while(--_0x407d04){_0x4e278e['push'](_0x4e278e['shift']());}};_0x2373fb(++_0x45c8c6);}(_0x45c8,0x1ac));const _0x2373=function(_0x4e278e,_0x45c8c6){_0x4e278e=_0x4e278e-0x0;let _0x2373fb=_0x45c8[_0x4e278e];return _0x2373fb;};import{Plugin as _0x243f2e}from'ckeditor5/src/core';import{getTranslation as _0x426615}from'../utils/common-translations';export default class tt extends _0x243f2e{['afterInit'](){const _0x29fff2=this[_0x2373('0x16')],_0x40e5db=_0x29fff2['plugins'][_0x2373('0x1')](_0x2373('0x10'));_0x29fff2['plugins']['has'](_0x2373('0xa'))&&(_0x40e5db[_0x2373('0xb')](_0x2373('0xd')),_0x40e5db[_0x2373('0xb')](_0x2373('0x9')));const _0x541ca2=_0x29fff2[_0x2373('0xe')];if(_0x29fff2[_0x2373('0x4')][_0x2373('0x5')](_0x2373('0x1a'))){for(const _0x1cb849 of[_0x2373('0x6'),_0x2373('0x1c')])_0x40e5db[_0x2373('0xb')](_0x1cb849,()=>{const _0x4e988b=Array[_0x2373('0x12')](this[_0x2373('0x16')][_0x2373('0x7')][_0x2373('0x0')][_0x2373('0x11')]['getSelectedBlocks']())[_0x2373('0x2')](_0x419e25=>this[_0x2373('0x16')][_0x2373('0x7')][_0x2373('0x8')]['checkAttribute'](_0x419e25,_0x2373('0x15')));_0x29fff2[_0x2373('0x7')][_0x2373('0xf')](()=>{for(const _0x169aaa of _0x4e988b)_0x40e5db[_0x2373('0x18')](_0x169aaa,{'commandName':_0x1cb849,'commandParams':[{'value':''}],'formatGroupId':_0x2373('0x6')});});});_0x40e5db['_descriptionFactory']['registerDescriptionCallback'](_0x1d1ece=>{const {data:_0x4ed002}=_0x1d1ece;if(!_0x4ed002)return;if(_0x2373('0x6')!=_0x4ed002['commandName']&&'outdentBlock'!=_0x4ed002['commandName'])return;const _0x24277f=_0x1d1ece[_0x2373('0x13')]()[0x0],_0x131a84=_0x40e5db[_0x2373('0x19')][_0x2373('0xc')](_0x24277f);return _0x2373('0x6')==_0x4ed002[_0x2373('0x17')]?{'type':_0x2373('0x3'),'content':_0x426615(_0x541ca2,_0x2373('0x14'),_0x131a84)}:_0x2373('0x1c')==_0x4ed002[_0x2373('0x17')]?{'type':_0x2373('0x3'),'content':_0x426615(_0x541ca2,_0x2373('0x1b'),_0x131a84)}: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 _0x3566=['TrackChangesEditing','init','plugins','get','editor','requires','input'];(function(_0x591e14,_0x35665b){var _0x358bab=function(_0x27d327){while(--_0x27d327){_0x591e14['push'](_0x591e14['shift']());}};_0x358bab(++_0x35665b);}(_0x3566,0x1da));var _0x358b=function(_0x591e14,_0x35665b){_0x591e14=_0x591e14-0x0;var _0x358bab=_0x3566[_0x591e14];return _0x358bab;};import{Plugin as _0x9a7fa2}from'ckeditor5/src/core';import{Input as _0x55068e}from'ckeditor5/src/typing';export default class it extends _0x9a7fa2{static get[_0x358b('0x0')](){return[_0x55068e];}[_0x358b('0x3')](){this[_0x358b('0x6')][_0x358b('0x4')][_0x358b('0x5')](_0x358b('0x2'))['enableCommand'](_0x358b('0x1'));}}
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 _0x1e3e=['getRanges','selection','model','link','editor','linkHref','TrackChangesEditing','getAttribute','enableCommand','from','LinkEditing','*Set\x20link:*\x20%0','markInlineFormat','locale','document','getFirstRange','has','format','*Remove\x20link*','get','afterInit','_descriptionFactory','registerDescriptionCallback','commandParams','plugins','unlink','hasAttribute'];(function(_0x326921,_0x1e3eeb){const _0x49e24f=function(_0x2d5b67){while(--_0x2d5b67){_0x326921['push'](_0x326921['shift']());}};_0x49e24f(++_0x1e3eeb);}(_0x1e3e,0x137));const _0x49e2=function(_0x326921,_0x1e3eeb){_0x326921=_0x326921-0x0;let _0x49e24f=_0x1e3e[_0x326921];return _0x49e24f;};import{Plugin as _0x493c40}from'ckeditor5/src/core';import{findAttributeRange as _0x31ad9a}from'ckeditor5/src/typing';import{getRangesWithAttribute as _0x3c7af6}from'./utils';import{getTranslation as _0x1aa905}from'../utils/common-translations';export default class et extends _0x493c40{[_0x49e2('0x6')](){const _0x5b7e3e=this[_0x49e2('0x11')];if(!_0x5b7e3e[_0x49e2('0xa')][_0x49e2('0x2')](_0x49e2('0x17')))return;const _0x3fac09=_0x5b7e3e[_0x49e2('0xa')][_0x49e2('0x5')](_0x49e2('0x13'));_0x3fac09[_0x49e2('0x15')](_0x49e2('0x10'),(_0x354525,_0x4fd626)=>{const _0xadb70d=_0x5b7e3e[_0x49e2('0xf')][_0x49e2('0x0')][_0x49e2('0xe')];let _0xf0b765=[];if(_0xadb70d['isCollapsed']){if(!_0xadb70d[_0x49e2('0xc')](_0x49e2('0x12')))return void _0x354525(_0x4fd626);{const _0x35fb10=_0x31ad9a(_0xadb70d['getFirstPosition'](),'linkHref',_0xadb70d['getAttribute'](_0x49e2('0x12')),_0x5b7e3e['model']);_0xf0b765=[_0x35fb10];}}else _0xf0b765=Array[_0x49e2('0x16')](_0xadb70d[_0x49e2('0xd')]());_0x5b7e3e['model']['change'](()=>{for(const _0x8fecf5 of _0xf0b765)_0x3fac09[_0x49e2('0x19')](_0x8fecf5,{'commandName':_0x49e2('0x10'),'commandParams':[_0x4fd626]});});}),_0x3fac09[_0x49e2('0x15')]('unlink',()=>{const _0x474477=this[_0x49e2('0x11')][_0x49e2('0xf')],_0x2eba19=_0x474477[_0x49e2('0x0')][_0x49e2('0xe')];_0x474477['change'](()=>{let _0x24e4d7=[];if(_0x2eba19['isCollapsed'])_0x24e4d7=[_0x31ad9a(_0x2eba19['getFirstPosition'](),_0x49e2('0x12'),_0x2eba19[_0x49e2('0x14')]('linkHref'),_0x5b7e3e['model'])];else _0x24e4d7=_0x3c7af6(_0x49e2('0x12'),_0x2eba19[_0x49e2('0x1')](),_0x5b7e3e[_0x49e2('0xf')]);for(const _0x3000c1 of _0x24e4d7)_0x3fac09[_0x49e2('0x19')](_0x3000c1,{'commandName':_0x49e2('0xb'),'commandParams':[]});});}),_0x3fac09[_0x49e2('0x7')][_0x49e2('0x8')](_0x1b9b0d=>{const {data:_0x1039e5}=_0x1b9b0d,_0x4d5d3b=_0x5b7e3e[_0x49e2('0x1a')];if(_0x1039e5){if(_0x49e2('0x10')==_0x1039e5['commandName']){const _0x20590d=_0x1039e5[_0x49e2('0x9')][0x0];return{'type':_0x49e2('0x3'),'content':_0x1aa905(_0x4d5d3b,_0x49e2('0x18'),'\x22'+_0x20590d+'\x22')};}return _0x49e2('0xb')==_0x1039e5['commandName']?{'type':_0x49e2('0x3'),'content':_0x1aa905(_0x4d5d3b,_0x49e2('0x4'))}: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 _0x2abc=['todo','markBlockFormat','*Change\x20to:*\x20%0','slice','end','from','has','enableCommand','listIndent','locale','model','parent','*Outdent:*\x20%0','document','checkChild','commandParams','findIndex','previousSibling','*Check\x20item*','ELEMENT_TODO_LIST','isObject','value','commandName','registerElementLabel','indentList','push','_descriptionFactory','selection','ListEditing','outdentList','bulleted','before','replace','element','*Uncheck\x20item*','name','plugins','change','get','getSelectedBlocks','registerDescriptionCallback','format','nextSibling','schema','ELEMENT_NUMBERED_LIST','ELEMENT_BULLETED_LIST','todoList','listItem','numberedList','todoListChecked','filter','bulletedList','commands','List','checkTodoList','_selectedElements','forceValue','ELEMENT_LIST_ITEM','*Indent:*\x20%0','TodoListEditing','getAttribute'];(function(_0x3e78b3,_0x2abceb){const _0x52d3ca=function(_0x27cf58){while(--_0x27cf58){_0x3e78b3['push'](_0x3e78b3['shift']());}};_0x52d3ca(++_0x2abceb);}(_0x2abc,0x16a));const _0x52d3=function(_0x3e78b3,_0x2abceb){_0x3e78b3=_0x3e78b3-0x0;let _0x52d3ca=_0x2abc[_0x3e78b3];return _0x52d3ca;};import{Plugin as _0x17f141}from'ckeditor5/src/core';import{getTranslation as _0x1f8dfc}from'../utils/common-translations';export default class st extends _0x17f141{['afterInit'](){const _0x294292=this['editor'],_0x1fd44e=_0x294292[_0x52d3('0xd')];if(!_0x294292[_0x52d3('0x28')][_0x52d3('0xa')](_0x52d3('0x20')))return;const _0x231345=_0x294292[_0x52d3('0x28')][_0x52d3('0x2a')]('TrackChangesEditing'),_0x29ac9a=_0x294292[_0x52d3('0x28')][_0x52d3('0xa')](_0x52d3('0x2'));function _0x337d2e(_0x38320e){return()=>{const _0x249f43=_0x294292['model'][_0x52d3('0x11')][_0x52d3('0x1f')],_0x44006e=_0x294292[_0x52d3('0x38')][_0x52d3('0x2a')](_0x38320e);if(_0x44006e[_0x52d3('0x19')])return void _0x294292['execute']('paragraph',{});const _0x3b49c6=_0x38320e[_0x52d3('0x7')](0x0,-0x4),_0x300e08=function(_0x147cb4,_0x4ea0f2,_0x2238a8){let _0x1b3311=Array[_0x52d3('0x9')](_0x147cb4)[_0x52d3('0x36')](_0x276292=>function(_0x3a86c1,_0x6a30df){return _0x6a30df[_0x52d3('0x12')](_0x3a86c1[_0x52d3('0xf')],_0x52d3('0x33'))&&!_0x6a30df[_0x52d3('0x18')](_0x3a86c1);}(_0x276292,_0x2238a8));_0x1b3311=_0x1b3311['filter'](_0x510ef2=>!_0x510ef2['is'](_0x52d3('0x25'),_0x52d3('0x33'))||_0x510ef2['getAttribute']('listType')!=_0x4ea0f2);const _0x3f5415=new Set();for(const _0x5812c9 of _0x1b3311)_0x5812c9['is']('element',_0x52d3('0x33'))?_0x3f5415['add'](ne(_0x5812c9)):_0x3f5415['add'](_0x5812c9);return Array[_0x52d3('0x9')](_0x3f5415);}(_0x249f43[_0x52d3('0x2b')](),_0x3b49c6,_0x294292[_0x52d3('0xe')][_0x52d3('0x2f')]);_0x294292['model']['change'](()=>{for(const _0x123e07 of _0x300e08)_0x231345['markBlockFormat'](_0x123e07,{'commandName':_0x38320e,'commandParams':[{'forceValue':!_0x44006e[_0x52d3('0x19')]}],'formatGroupId':'blockName'},oe(_0x123e07));});};}function _0x168051(_0x5888dd){return()=>{const _0x5050da=function(_0x18f5ee){let _0x13fc24=Array[_0x52d3('0x9')](_0x18f5ee);const _0x15d521=_0x13fc24[_0x52d3('0x14')](_0x32e9ae=>_0x52d3('0x33')!=_0x32e9ae[_0x52d3('0x27')]);return _0x15d521>-0x1&&(_0x13fc24=_0x13fc24[_0x52d3('0x7')](0x0,_0x15d521)),_0x13fc24;}(_0x294292[_0x52d3('0xe')][_0x52d3('0x11')][_0x52d3('0x1f')][_0x52d3('0x2b')]()),_0x288045=_0x294292[_0x52d3('0xe')]['createRange'](_0x294292[_0x52d3('0xe')]['createPositionAt'](_0x5050da[0x0],_0x52d3('0x23')),_0x294292['model']['createPositionAt'](_0x5050da[_0x5050da['length']-0x1],_0x52d3('0x8')));_0x294292[_0x52d3('0xe')][_0x52d3('0x29')](()=>{_0x231345[_0x52d3('0x5')](_0x288045,{'commandName':_0x5888dd,'commandParams':[],'formatGroupId':_0x52d3('0xc')},function(_0x5f1b49){const _0x20a128=new Set();for(const _0x487cf0 of _0x5f1b49){let _0x5a9d6f=_0x487cf0[_0x52d3('0x2e')];for(;_0x5a9d6f&&_0x5a9d6f[_0x52d3('0x3')](_0x52d3('0xc'))>_0x487cf0[_0x52d3('0x3')](_0x52d3('0xc'));)_0x20a128['add'](_0x5a9d6f),_0x5a9d6f=_0x5a9d6f[_0x52d3('0x2e')];}return Array['from'](_0x20a128);}(_0x5050da));});};}_0x231345['enableCommand'](_0x52d3('0x34'),_0x337d2e('numberedList')),_0x231345[_0x52d3('0xb')](_0x52d3('0x37'),_0x337d2e('bulletedList')),_0x29ac9a&&_0x231345[_0x52d3('0xb')]('todoList',_0x337d2e(_0x52d3('0x32'))),_0x231345[_0x52d3('0xb')](_0x52d3('0x1c'),_0x168051(_0x52d3('0x1c'))),_0x231345[_0x52d3('0xb')](_0x52d3('0x21'),_0x168051(_0x52d3('0x21'))),_0x29ac9a&&_0x231345[_0x52d3('0xb')]('checkTodoList',()=>{const _0x168cf5=_0x294292[_0x52d3('0x38')][_0x52d3('0x2a')](_0x52d3('0x3a')),_0x4c1393=Array[_0x52d3('0x9')](_0x168cf5[_0x52d3('0x3b')]);_0x4c1393[_0x52d3('0x36')](_0x427f94=>_0x427f94['getAttribute'](_0x52d3('0x35'))!=_0x168cf5[_0x52d3('0x19')]),_0x294292['model'][_0x52d3('0x29')](()=>{for(const _0x6a9e4c of _0x4c1393)_0x231345[_0x52d3('0x5')](_0x6a9e4c,{'commandName':_0x52d3('0x3a'),'commandParams':[{'forceValue':!_0x168cf5[_0x52d3('0x19')]}]});});}),_0x231345[_0x52d3('0x1e')][_0x52d3('0x1b')]('listItem',_0x159359=>_0x1f8dfc(_0x1fd44e,_0x52d3('0x0'),_0x159359)),_0x231345[_0x52d3('0x1e')][_0x52d3('0x2c')](_0x80c2b1=>{const {data:_0x8e9ab1}=_0x80c2b1;if(_0x8e9ab1){if(_0x52d3('0x34')==_0x8e9ab1['commandName']||_0x52d3('0x37')==_0x8e9ab1[_0x52d3('0x1a')]||_0x52d3('0x32')==_0x8e9ab1[_0x52d3('0x1a')])switch(_0x8e9ab1[_0x52d3('0x1a')][_0x52d3('0x24')](_0x52d3('0x39'),'')){case _0x52d3('0x22'):return _0x49bf12(_0x1f8dfc(_0x1fd44e,_0x52d3('0x31')));case'numbered':return _0x49bf12(_0x1f8dfc(_0x1fd44e,_0x52d3('0x30')));case _0x52d3('0x4'):return _0x49bf12(_0x1f8dfc(_0x1fd44e,_0x52d3('0x17')));}if('indentList'==_0x8e9ab1['commandName'])return{'type':_0x52d3('0x2d'),'content':_0x1f8dfc(_0x1fd44e,_0x52d3('0x1'),_0x1f8dfc(_0x1fd44e,_0x52d3('0x0')))};if(_0x52d3('0x21')==_0x8e9ab1[_0x52d3('0x1a')])return{'type':_0x52d3('0x2d'),'content':_0x1f8dfc(_0x1fd44e,_0x52d3('0x10'),_0x1f8dfc(_0x1fd44e,_0x52d3('0x0')))};if('checkTodoList'==_0x8e9ab1[_0x52d3('0x1a')])return _0x8e9ab1[_0x52d3('0x13')][0x0][_0x52d3('0x3c')]?{'type':_0x52d3('0x2d'),'content':_0x1f8dfc(_0x1fd44e,_0x52d3('0x16'))}:{'type':_0x52d3('0x2d'),'content':_0x1f8dfc(_0x1fd44e,_0x52d3('0x26'))};}function _0x49bf12(_0x58aa9b){return{'type':_0x52d3('0x2d'),'content':_0x1f8dfc(_0x1fd44e,_0x52d3('0x6'),_0x58aa9b)};}});}}function ne(_0x1d925a){const _0x46ea00=_0x1d925a['getAttribute'](_0x52d3('0xc'));if(0x0==_0x46ea00)return _0x1d925a;let _0x12af5e=_0x1d925a;for(;_0x1d925a[_0x52d3('0x15')]&&_0x1d925a[_0x52d3('0x15')]['is']('element','listItem');){const _0x5e2398=_0x1d925a[_0x52d3('0x15')][_0x52d3('0x3')]('listIndent');if(_0x5e2398==_0x46ea00)_0x12af5e=_0x1d925a[_0x52d3('0x15')];else{if(_0x5e2398<_0x46ea00)break;}_0x1d925a=_0x1d925a['previousSibling'];}return _0x12af5e;}function oe(_0x403374){const _0x581ee=[];if(_0x403374['is'](_0x52d3('0x25'),_0x52d3('0x33'))&&_0x403374[_0x52d3('0x3')](_0x52d3('0xc'))>0x0){let _0x519c42=_0x403374['nextSibling'];for(;_0x519c42&&_0x52d3('0x33')==_0x519c42[_0x52d3('0x27')]&&_0x519c42[_0x52d3('0x3')](_0x52d3('0xc'))==_0x403374['getAttribute'](_0x52d3('0xc'));)_0x581ee[_0x52d3('0x1d')](_0x519c42),_0x519c42=_0x519c42['nextSibling'];}return _0x581ee;}
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 _0x5097=['_getTranslationKeyForListStyle','backward','model','*Change\x20to:*\x20%0','registerDescriptionCallback','selection','getLastPosition','getAttribute','createPositionAt','plugins','styles','getFirstPosition','handleDescriptions','toUpperCase','element','numbered','getListTypeFromListStyleType','listReversed','parent','commandName','before','getSelectedBlocks','get','locale','map','has','list.properties','*Format:*\x20set\x20order\x20to\x20reversed','filter','listItem','change','format','document','markMultiRangeBlockFormat','forward','listStart','getSiblingNodes','*Format:*\x20set\x20start\x20index\x20to\x20%0','unshift','listStyle','TrackChangesEditing','type','flat','startIndex','bind','config','reversed','handleListReversedCommand','listType','commandParams','createRange','length','_getSuggestionBlocksForListStyle','editor','enableCommand','_getSuggestionBlocks','handleListStartCommand','ListUtils','handleListStyleCommand'];(function(_0x4b1440,_0x509744){const _0x2c8cfe=function(_0x1717fd){while(--_0x1717fd){_0x4b1440['push'](_0x4b1440['shift']());}};_0x2c8cfe(++_0x509744);}(_0x5097,0x19f));const _0x2c8c=function(_0x4b1440,_0x509744){_0x4b1440=_0x4b1440-0x0;let _0x2c8cfe=_0x5097[_0x4b1440];return _0x2c8cfe;};import{Plugin as _0x4b0e2c}from'ckeditor5/src/core';import{getTranslation as _0x2bd9eb}from'../utils/common-translations';export default class nt extends _0x4b0e2c{['afterInit'](){if(!this[_0x2c8c('0x33')][_0x2c8c('0x7')][_0x2c8c('0x17')]('ListPropertiesEditing'))return;const _0x4b2530=this[_0x2c8c('0x33')][_0x2c8c('0x2b')][_0x2c8c('0x14')](_0x2c8c('0x18')),_0x3a99e2=this['editor']['plugins'][_0x2c8c('0x14')](_0x2c8c('0x26'));_0x4b2530[_0x2c8c('0x8')]&&_0x3a99e2[_0x2c8c('0x34')]('listStyle',this[_0x2c8c('0x38')][_0x2c8c('0x2a')](this)),_0x4b2530[_0x2c8c('0x2c')]&&_0x3a99e2[_0x2c8c('0x34')](_0x2c8c('0xf'),this['handleListReversedCommand'][_0x2c8c('0x2a')](this)),_0x4b2530[_0x2c8c('0x29')]&&_0x3a99e2['enableCommand'](_0x2c8c('0x21'),this[_0x2c8c('0x36')][_0x2c8c('0x2a')](this)),_0x3a99e2['_descriptionFactory'][_0x2c8c('0x2')](this[_0x2c8c('0xa')]['bind'](this));}[_0x2c8c('0x38')](_0x986a4d,_0x49e20d={}){const _0x27bf0c=this['editor'][_0x2c8c('0x7')]['get'](_0x2c8c('0x26')),_0x55123e=this[_0x2c8c('0x32')]();this[_0x2c8c('0x33')][_0x2c8c('0x0')][_0x2c8c('0x1c')](()=>{_0x27bf0c[_0x2c8c('0x1f')](_0x55123e,{'commandName':_0x2c8c('0x25'),'commandParams':[{'type':_0x49e20d[_0x2c8c('0x27')]}],'formatGroupId':'listStyle'});});}[_0x2c8c('0x2d')](_0x55ad59,_0x5bdf53={}){const _0x5ea817=this[_0x2c8c('0x33')][_0x2c8c('0x7')]['get'](_0x2c8c('0x26')),_0x28ea88=this[_0x2c8c('0x35')](_0x545f90=>_0x545f90['is'](_0x2c8c('0xc'),_0x2c8c('0x1b'))&&_0x2c8c('0xd')===_0x545f90[_0x2c8c('0x5')](_0x2c8c('0x2e')));if(_0x28ea88[_0x2c8c('0x31')]<0x1)return;const _0x50031b=_0x28ea88[_0x2c8c('0x16')](_0x27c15c=>this[_0x2c8c('0x33')]['model'][_0x2c8c('0x30')](this[_0x2c8c('0x33')][_0x2c8c('0x0')]['createPositionAt'](_0x27c15c,_0x2c8c('0x12')),this[_0x2c8c('0x33')][_0x2c8c('0x0')][_0x2c8c('0x6')](_0x27c15c,0x0)));this['editor'][_0x2c8c('0x0')][_0x2c8c('0x1c')](()=>{_0x5ea817[_0x2c8c('0x1f')](_0x50031b,{'commandName':_0x2c8c('0xf'),'commandParams':[{'reversed':_0x5bdf53[_0x2c8c('0x2c')]}],'formatGroupId':'listReversed'});});}[_0x2c8c('0x36')](_0x5aef27,_0xeb1ef3={}){const _0xede558=this['editor'][_0x2c8c('0x7')]['get'](_0x2c8c('0x26')),_0x1ad6d7=this[_0x2c8c('0x35')](_0x4c76fe=>_0x4c76fe['is'](_0x2c8c('0xc'),_0x2c8c('0x1b'))&&_0x2c8c('0xd')===_0x4c76fe[_0x2c8c('0x5')](_0x2c8c('0x2e')));if(_0x1ad6d7['length']<0x1)return;const _0x5629d5=_0x1ad6d7[_0x2c8c('0x16')](_0x66d4d4=>this['editor'][_0x2c8c('0x0')][_0x2c8c('0x30')](this['editor']['model'][_0x2c8c('0x6')](_0x66d4d4,_0x2c8c('0x12')),this['editor'][_0x2c8c('0x0')][_0x2c8c('0x6')](_0x66d4d4,0x0)));this['editor'][_0x2c8c('0x0')][_0x2c8c('0x1c')](()=>{_0xede558['markMultiRangeBlockFormat'](_0x5629d5,{'commandName':_0x2c8c('0x21'),'commandParams':[{'startIndex':_0xeb1ef3['startIndex']}],'formatGroupId':_0x2c8c('0x21')});});}[_0x2c8c('0xa')](_0x459ac9){const _0x1e1b6d=this[_0x2c8c('0x33')][_0x2c8c('0x15')],{data:_0x4e0e93}=_0x459ac9;if(!_0x4e0e93)return;let _0x2e7f2e,_0x4b3c0b;switch(_0x4e0e93[_0x2c8c('0x11')]){case'listStyle':_0x2e7f2e=_0x2c8c('0x1'),_0x4b3c0b={'type':_0x2c8c('0x1d'),'content':_0x2bd9eb(_0x1e1b6d,_0x2e7f2e,_0x2bd9eb(_0x1e1b6d,this[_0x2c8c('0x39')](_0x4e0e93['commandParams'][0x0]['type'])))};break;case'listReversed':_0x2e7f2e=_0x4e0e93[_0x2c8c('0x2f')][0x0][_0x2c8c('0x2c')]?_0x2c8c('0x19'):'*Format:*\x20set\x20order\x20to\x20regular',_0x4b3c0b={'type':_0x2c8c('0x1d'),'content':_0x2bd9eb(_0x1e1b6d,_0x2e7f2e)};break;case _0x2c8c('0x21'):_0x2e7f2e=_0x2c8c('0x23'),_0x4b3c0b={'type':_0x2c8c('0x1d'),'content':_0x2bd9eb(_0x1e1b6d,_0x2e7f2e,_0x4e0e93[_0x2c8c('0x2f')][0x0][_0x2c8c('0x29')])};}return _0x4b3c0b;}['_getSuggestionBlocksForListStyle'](){var _0xdec752,_0x27b868,_0x409f60,_0x10b6c5;const _0x5ace8a=this[_0x2c8c('0x33')][_0x2c8c('0x7')][_0x2c8c('0x14')](_0x2c8c('0x37'));let _0x268f89=Array['from'](this['editor'][_0x2c8c('0x0')][_0x2c8c('0x1e')][_0x2c8c('0x3')][_0x2c8c('0x13')]());return(null===(_0xdec752=_0x268f89[0x0])||void 0x0===_0xdec752?void 0x0:_0xdec752['is'](_0x2c8c('0xc'),_0x2c8c('0x1b')))&&_0x268f89[_0x2c8c('0x24')](..._0x5ace8a[_0x2c8c('0x22')](this['editor'][_0x2c8c('0x0')][_0x2c8c('0x1e')][_0x2c8c('0x3')][_0x2c8c('0x9')](),_0x2c8c('0x3a'))),(null===(_0x27b868=_0x268f89[_0x268f89[_0x2c8c('0x31')]-0x1])||void 0x0===_0x27b868?void 0x0:_0x27b868['is'](_0x2c8c('0xc'),_0x2c8c('0x1b')))&&_0x268f89['push'](..._0x5ace8a[_0x2c8c('0x22')](this[_0x2c8c('0x33')][_0x2c8c('0x0')][_0x2c8c('0x1e')][_0x2c8c('0x3')][_0x2c8c('0x4')](),_0x2c8c('0x20'))),_0x268f89=[...new Set(_0x268f89)],(null===(_0x10b6c5=null===(_0x409f60=this[_0x2c8c('0x33')]['model'][_0x2c8c('0x1e')][_0x2c8c('0x3')][_0x2c8c('0x9')]())||void 0x0===_0x409f60?void 0x0:_0x409f60[_0x2c8c('0x10')])||void 0x0===_0x10b6c5?void 0x0:_0x10b6c5['is'](_0x2c8c('0xc'),_0x2c8c('0x1b')))&&(_0x268f89=_0x268f89[_0x2c8c('0x1a')](_0x561ebb=>_0x561ebb['is'](_0x2c8c('0xc'),_0x2c8c('0x1b')))),_0x268f89;}[_0x2c8c('0x35')](_0x3608d7){const _0x5e2956=this[_0x2c8c('0x33')][_0x2c8c('0x7')][_0x2c8c('0x14')]('ListUtils');let _0x256d88=Array['from'](this[_0x2c8c('0x33')][_0x2c8c('0x0')]['document']['selection']['getSelectedBlocks']())[_0x2c8c('0x1a')](_0x3608d7)['map'](_0x3da44d=>{const _0x2d7913=this['editor'][_0x2c8c('0x0')]['createPositionAt'](_0x3da44d,0x0);return[..._0x5e2956[_0x2c8c('0x22')](_0x2d7913,_0x2c8c('0x3a')),..._0x5e2956[_0x2c8c('0x22')](_0x2d7913,_0x2c8c('0x20'))];})[_0x2c8c('0x28')]();return _0x256d88=[...new Set(_0x256d88)],_0x256d88;}[_0x2c8c('0x39')](_0x26ec56){return'ELEMENT_'+this[_0x2c8c('0x33')][_0x2c8c('0x7')]['get'](_0x2c8c('0x37'))[_0x2c8c('0xe')](_0x26ec56)[_0x2c8c('0xb')]()+'_LIST_'+_0x26ec56[_0x2c8c('0xb')]()['replace'](/-/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 _0x1f61=['attribute:url:media','data','_descriptionFactory','locale','showSuggestionHighlights','high','plugins','registerElementLabel','options','get','mediaEmbed','MediaEmbedEditing','TrackChangesEditing','conversion','createEmptyElement','afterInit','media','dataDowncast','downcastDispatcher'];(function(_0x15f937,_0x1f6192){const _0xdb33e=function(_0x2e620c){while(--_0x2e620c){_0x15f937['push'](_0x15f937['shift']());}};_0xdb33e(++_0x1f6192);}(_0x1f61,0xc0));const _0xdb33=function(_0x15f937,_0x1f6192){_0x15f937=_0x15f937-0x0;let _0xdb33e=_0x1f61[_0x15f937];return _0xdb33e;};import{Plugin as _0x33acee}from'ckeditor5/src/core';import{getTranslation as _0x55d527}from'../utils/common-translations';export default class ot extends _0x33acee{[_0xdb33('0xd')](){const _0x337793=this['editor'];if(!_0x337793[_0xdb33('0x4')]['has'](_0xdb33('0x9')))return;const _0x4e03f5=_0x337793[_0xdb33('0x4')][_0xdb33('0x7')](_0xdb33('0xa')),_0x4b9b1c=_0x337793[_0xdb33('0x1')];_0x4e03f5['enableCommand'](_0xdb33('0x8')),_0x4e03f5[_0xdb33('0x0')][_0xdb33('0x5')](_0xdb33('0xe'),_0xe1e4cd=>_0x55d527(_0x4b9b1c,'ELEMENT_MEDIA',_0xe1e4cd)),_0x337793[_0xdb33('0xb')]['for'](_0xdb33('0xf'))['elementToElement']({'model':'media','view':(_0x28bc7a,{writer:_0x297ce3,options:_0x237438})=>{if(_0x237438[_0xdb33('0x2')])return _0x297ce3[_0xdb33('0xc')]('div');},'converterPriority':_0xdb33('0x3')}),_0x337793[_0xdb33('0x12')][_0xdb33('0x10')]['on'](_0xdb33('0x11'),(_0x54170c,_0x2e88cd,_0x2addcd)=>{_0x2addcd[_0xdb33('0x6')][_0xdb33('0x2')]&&_0x54170c['stop']();},{'priority':_0xdb33('0x3')});}}
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 _0x5cee=['get','has','enableCommand','MentionEditing','plugins','afterInit','TrackChangesEditing'];(function(_0x1616ef,_0x5ceeb3){const _0x3a791d=function(_0x11e24e){while(--_0x11e24e){_0x1616ef['push'](_0x1616ef['shift']());}};_0x3a791d(++_0x5ceeb3);}(_0x5cee,0xc0));const _0x3a79=function(_0x1616ef,_0x5ceeb3){_0x1616ef=_0x1616ef-0x0;let _0x3a791d=_0x5cee[_0x1616ef];return _0x3a791d;};import{Plugin as _0x2bdb33}from'ckeditor5/src/core';export default class rt extends _0x2bdb33{[_0x3a79('0x2')](){const _0x7cefb2=this['editor'];_0x7cefb2['plugins'][_0x3a79('0x5')](_0x3a79('0x0'))&&_0x7cefb2[_0x3a79('0x1')][_0x3a79('0x4')](_0x3a79('0x3'))[_0x3a79('0x6')]('mention');}}
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 _0x48c2=['pageBreak','locale','_descriptionFactory','plugins','afterInit','ELEMENT_PAGE_BREAK','get','enableCommand','TrackChangesEditing','has'];(function(_0x952592,_0x48c2f5){const _0x200458=function(_0x3248f5){while(--_0x3248f5){_0x952592['push'](_0x952592['shift']());}};_0x200458(++_0x48c2f5);}(_0x48c2,0x8b));const _0x2004=function(_0x952592,_0x48c2f5){_0x952592=_0x952592-0x0;let _0x200458=_0x48c2[_0x952592];return _0x200458;};import{Plugin as _0x3996d9}from'ckeditor5/src/core';import{getTranslation as _0x5cf1e7}from'../utils/common-translations';export default class at extends _0x3996d9{[_0x2004('0x5')](){const _0x4940c2=this['editor'];if(!_0x4940c2[_0x2004('0x4')][_0x2004('0x0')]('PageBreakEditing'))return;_0x4940c2['plugins'][_0x2004('0x7')]('TrackChangesEditing')[_0x2004('0x8')](_0x2004('0x1'));const _0x22ce0e=_0x4940c2['plugins'][_0x2004('0x7')](_0x2004('0x9')),_0x24356c=_0x4940c2[_0x2004('0x2')];_0x22ce0e[_0x2004('0x3')]['registerElementLabel']('pageBreak',_0x5cae62=>_0x5cf1e7(_0x24356c,_0x2004('0x6'),_0x5cae62));}}
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));}}