@ckeditor/ckeditor5-track-changes 35.3.1 → 35.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (152) hide show
  1. package/build/track-changes.js +2 -2
  2. package/build/translations/ar.js +1 -1
  3. package/build/translations/az.js +1 -1
  4. package/build/translations/bg.js +1 -1
  5. package/build/translations/bn.js +1 -1
  6. package/build/translations/ca.js +1 -1
  7. package/build/translations/cs.js +1 -1
  8. package/build/translations/da.js +1 -1
  9. package/build/translations/de.js +1 -1
  10. package/build/translations/el.js +1 -1
  11. package/build/translations/en-au.js +1 -1
  12. package/build/translations/es.js +1 -1
  13. package/build/translations/et.js +1 -1
  14. package/build/translations/fi.js +1 -1
  15. package/build/translations/fr.js +1 -1
  16. package/build/translations/gl.js +1 -1
  17. package/build/translations/he.js +1 -1
  18. package/build/translations/hi.js +1 -1
  19. package/build/translations/hr.js +1 -1
  20. package/build/translations/hu.js +1 -1
  21. package/build/translations/id.js +1 -1
  22. package/build/translations/it.js +1 -1
  23. package/build/translations/ja.js +1 -1
  24. package/build/translations/ko.js +1 -1
  25. package/build/translations/lt.js +1 -1
  26. package/build/translations/lv.js +1 -1
  27. package/build/translations/ms.js +1 -1
  28. package/build/translations/nl.js +1 -1
  29. package/build/translations/no.js +1 -1
  30. package/build/translations/pl.js +1 -1
  31. package/build/translations/pt-br.js +1 -1
  32. package/build/translations/pt.js +1 -1
  33. package/build/translations/ro.js +1 -1
  34. package/build/translations/ru.js +1 -1
  35. package/build/translations/sk.js +1 -1
  36. package/build/translations/sr-latn.js +1 -1
  37. package/build/translations/sr.js +1 -1
  38. package/build/translations/sv.js +1 -1
  39. package/build/translations/th.js +1 -1
  40. package/build/translations/tk.js +1 -1
  41. package/build/translations/tr.js +1 -1
  42. package/build/translations/tt.js +1 -1
  43. package/build/translations/uk.js +1 -1
  44. package/build/translations/ur.js +1 -1
  45. package/build/translations/vi.js +1 -1
  46. package/build/translations/zh-cn.js +1 -1
  47. package/build/translations/zh.js +1 -1
  48. package/lang/contexts.json +13 -0
  49. package/lang/translations/ar.po +55 -3
  50. package/lang/translations/az.po +52 -0
  51. package/lang/translations/bg.po +55 -3
  52. package/lang/translations/bn.po +55 -3
  53. package/lang/translations/ca.po +55 -3
  54. package/lang/translations/cs.po +55 -3
  55. package/lang/translations/da.po +55 -3
  56. package/lang/translations/de.po +55 -3
  57. package/lang/translations/el.po +55 -3
  58. package/lang/translations/en-au.po +52 -0
  59. package/lang/translations/en.po +52 -0
  60. package/lang/translations/es.po +55 -3
  61. package/lang/translations/et.po +55 -3
  62. package/lang/translations/fi.po +55 -3
  63. package/lang/translations/fr.po +55 -3
  64. package/lang/translations/gl.po +52 -0
  65. package/lang/translations/he.po +55 -3
  66. package/lang/translations/hi.po +55 -3
  67. package/lang/translations/hr.po +52 -0
  68. package/lang/translations/hu.po +55 -3
  69. package/lang/translations/id.po +55 -3
  70. package/lang/translations/it.po +55 -3
  71. package/lang/translations/ja.po +55 -3
  72. package/lang/translations/ko.po +55 -3
  73. package/lang/translations/lt.po +55 -3
  74. package/lang/translations/lv.po +55 -3
  75. package/lang/translations/ms.po +55 -3
  76. package/lang/translations/nl.po +55 -3
  77. package/lang/translations/no.po +55 -3
  78. package/lang/translations/pl.po +55 -3
  79. package/lang/translations/pt-br.po +55 -3
  80. package/lang/translations/pt.po +55 -3
  81. package/lang/translations/ro.po +55 -3
  82. package/lang/translations/ru.po +55 -3
  83. package/lang/translations/sk.po +55 -3
  84. package/lang/translations/sr-latn.po +52 -0
  85. package/lang/translations/sr.po +55 -3
  86. package/lang/translations/sv.po +55 -3
  87. package/lang/translations/th.po +55 -3
  88. package/lang/translations/tk.po +52 -0
  89. package/lang/translations/tr.po +55 -3
  90. package/lang/translations/tt.po +52 -0
  91. package/lang/translations/uk.po +55 -3
  92. package/lang/translations/ur.po +52 -0
  93. package/lang/translations/vi.po +55 -3
  94. package/lang/translations/zh-cn.po +55 -3
  95. package/lang/translations/zh.po +55 -3
  96. package/package.json +4 -4
  97. package/src/commands/acceptsuggestioncommand.js +1 -1
  98. package/src/commands/discardsuggestioncommand.js +1 -1
  99. package/src/commands/executeonallsuggestionscommand.js +1 -1
  100. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  101. package/src/commands/trackchangescommand.js +1 -1
  102. package/src/integrations/alignment.js +1 -1
  103. package/src/integrations/basicstyles.js +1 -1
  104. package/src/integrations/blockquote.js +1 -1
  105. package/src/integrations/ckbox.js +1 -1
  106. package/src/integrations/codeblock.js +1 -1
  107. package/src/integrations/comments.js +1 -1
  108. package/src/integrations/deletecommand.js +1 -1
  109. package/src/integrations/documentlist.js +1 -1
  110. package/src/integrations/documentlistproperties.js +23 -0
  111. package/src/integrations/entercommand.js +1 -1
  112. package/src/integrations/font.js +1 -1
  113. package/src/integrations/heading.js +1 -1
  114. package/src/integrations/highlight.js +1 -1
  115. package/src/integrations/horizontalline.js +1 -1
  116. package/src/integrations/htmlembed.js +1 -1
  117. package/src/integrations/image.js +1 -1
  118. package/src/integrations/importword.js +1 -1
  119. package/src/integrations/indent.js +1 -1
  120. package/src/integrations/inputcommand.js +1 -1
  121. package/src/integrations/link.js +1 -1
  122. package/src/integrations/list.js +1 -1
  123. package/src/integrations/listproperties.js +23 -0
  124. package/src/integrations/mediaembed.js +1 -1
  125. package/src/integrations/mention.js +1 -1
  126. package/src/integrations/pagebreak.js +1 -1
  127. package/src/integrations/paragraph.js +1 -1
  128. package/src/integrations/removeformat.js +1 -1
  129. package/src/integrations/restrictededitingmode.js +1 -1
  130. package/src/integrations/shiftentercommand.js +1 -1
  131. package/src/integrations/standardeditingmode.js +1 -1
  132. package/src/integrations/style.js +1 -1
  133. package/src/integrations/table.js +1 -1
  134. package/src/integrations/tablecaption.js +1 -1
  135. package/src/integrations/tableclipboard.js +1 -1
  136. package/src/integrations/tablecolumnresize.js +23 -0
  137. package/src/integrations/tableheadings.js +1 -1
  138. package/src/integrations/tablemergesplit.js +1 -1
  139. package/src/integrations/title.js +1 -1
  140. package/src/integrations/undo.js +1 -1
  141. package/src/integrations/utils.js +1 -1
  142. package/src/suggestion.js +1 -1
  143. package/src/suggestiondescriptionfactory.js +1 -1
  144. package/src/trackchanges.js +1 -1
  145. package/src/trackchangesdata.js +1 -1
  146. package/src/trackchangesediting.js +1 -1
  147. package/src/trackchangesui.js +1 -1
  148. package/src/ui/suggestioncontroller.js +1 -1
  149. package/src/ui/view/basesuggestionthreadview.js +1 -1
  150. package/src/ui/view/suggestionthreadview.js +1 -1
  151. package/src/utils/common-translations.js +1 -1
  152. package/src/utils/utils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x8dda=['addClass','for','high','HorizontalLineEditing','_descriptionFactory','TrackChangesEditing','plugins','registerElementLabel','editor','createPositionAt','elementToStructure','has','conversion','enableCommand','horizontalLine','ELEMENT_HORIZONTAL_LINE','locale','get'];(function(_0x4ece4d,_0x8dda05){const _0x19d18b=function(_0x39708d){while(--_0x39708d){_0x4ece4d['push'](_0x4ece4d['shift']());}};_0x19d18b(++_0x8dda05);}(_0x8dda,0x1af));const _0x19d1=function(_0x4ece4d,_0x8dda05){_0x4ece4d=_0x4ece4d-0x0;let _0x19d18b=_0x8dda[_0x4ece4d];return _0x19d18b;};import{Plugin as _0x3bb4c3}from'ckeditor5/src/core';import{getTranslation as _0x389f81}from'../utils/common-translations';export default class K extends _0x3bb4c3{['afterInit'](){const _0x554c84=this[_0x19d1('0x9')];if(!_0x554c84[_0x19d1('0x7')][_0x19d1('0xc')](_0x19d1('0x4')))return;_0x554c84[_0x19d1('0x7')][_0x19d1('0x0')]('TrackChangesEditing')[_0x19d1('0xe')](_0x19d1('0xf'));const _0x40eccc=_0x554c84[_0x19d1('0x7')][_0x19d1('0x0')](_0x19d1('0x6')),_0x24ffb0=_0x554c84[_0x19d1('0x11')];_0x40eccc[_0x19d1('0x5')][_0x19d1('0x8')](_0x19d1('0xf'),_0x32e25b=>_0x389f81(_0x24ffb0,_0x19d1('0x10'),_0x32e25b)),_0x554c84[_0x19d1('0xd')][_0x19d1('0x2')]('dataDowncast')[_0x19d1('0xb')]({'model':_0x19d1('0xf'),'view':(_0x2e282f,{writer:_0x513fc5,options:_0x407a69})=>{if(!_0x407a69['showSuggestionHighlights'])return;const _0x3ad637=_0x513fc5['createContainerElement']('div'),_0x4d5cc3=_0x513fc5['createEmptyElement']('hr');return _0x513fc5[_0x19d1('0x1')]('ck-horizontal-line',_0x3ad637),_0x513fc5['insert'](_0x513fc5[_0x19d1('0xa')](_0x3ad637,0x0),_0x4d5cc3),_0x3ad637;},'converterPriority':_0x19d1('0x3')});}}
23
+ const _0x2e44=['div','createPositionAt','enableCommand','elementToStructure','plugins','get','has','insert','showSuggestionHighlights','addClass','HorizontalLineEditing','conversion','for','createContainerElement','TrackChangesEditing','dataDowncast','registerElementLabel'];(function(_0x4d0875,_0x2e44dd){const _0xb84f3=function(_0x128dc2){while(--_0x128dc2){_0x4d0875['push'](_0x4d0875['shift']());}};_0xb84f3(++_0x2e44dd);}(_0x2e44,0x1a7));const _0xb84f=function(_0x4d0875,_0x2e44dd){_0x4d0875=_0x4d0875-0x0;let _0xb84f3=_0x2e44[_0x4d0875];return _0xb84f3;};import{Plugin as _0x4a1a6f}from'ckeditor5/src/core';import{getTranslation as _0x3ac9e3}from'../utils/common-translations';export default class Q extends _0x4a1a6f{['afterInit'](){const _0x383516=this['editor'];if(!_0x383516['plugins'][_0xb84f('0x8')](_0xb84f('0xc')))return;_0x383516[_0xb84f('0x6')][_0xb84f('0x7')](_0xb84f('0x10'))[_0xb84f('0x4')]('horizontalLine');const _0x487128=_0x383516[_0xb84f('0x6')]['get']('TrackChangesEditing'),_0x55319d=_0x383516['locale'];_0x487128['_descriptionFactory'][_0xb84f('0x1')]('horizontalLine',_0x45feee=>_0x3ac9e3(_0x55319d,'ELEMENT_HORIZONTAL_LINE',_0x45feee)),_0x383516[_0xb84f('0xd')][_0xb84f('0xe')](_0xb84f('0x0'))[_0xb84f('0x5')]({'model':'horizontalLine','view':(_0x41ef18,{writer:_0x506b78,options:_0x36f8b7})=>{if(!_0x36f8b7[_0xb84f('0xa')])return;const _0x460bbe=_0x506b78[_0xb84f('0xf')](_0xb84f('0x2')),_0x37a149=_0x506b78['createEmptyElement']('hr');return _0x506b78[_0xb84f('0xb')]('ck-horizontal-line',_0x460bbe),_0x506b78[_0xb84f('0x9')](_0x506b78[_0xb84f('0x3')](_0x460bbe,0x0),_0x37a149),_0x460bbe;},'converterPriority':'high'});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x78d8=['editing','selection','commandName','locale','getAttribute','TrackChangesEditing','htmlEmbed','registerElementLabel','editor','rawHtml','value','registerDescriptionCallback','model','get','has','*Change\x20%0\x20content*','getCustomProperty','ELEMENT_HTML_EMBED','_descriptionFactory','document','view','HtmlEmbed','rawHtmlApi','format','getSelectedElement','plugins','markBlockFormat','element','change','enableCommand'];(function(_0x49be84,_0x78d820){const _0x4ac8e9=function(_0x5463bb){while(--_0x5463bb){_0x49be84['push'](_0x49be84['shift']());}};_0x4ac8e9(++_0x78d820);}(_0x78d8,0x19a));const _0x4ac8=function(_0x49be84,_0x78d820){_0x49be84=_0x49be84-0x0;let _0x4ac8e9=_0x78d8[_0x49be84];return _0x4ac8e9;};import{Plugin as _0x281663}from'ckeditor5/src/core';import{getTranslation as _0x3ba8c1}from'../utils/common-translations';export default class Q extends _0x281663{['afterInit'](){const _0x57b3a4=this[_0x4ac8('0x12')];if(!_0x57b3a4[_0x4ac8('0x5')][_0x4ac8('0x18')](_0x4ac8('0x1')))return;const _0x27d7d8=_0x57b3a4[_0x4ac8('0x5')][_0x4ac8('0x17')](_0x4ac8('0xf')),_0xeb1f09=_0x57b3a4[_0x4ac8('0xd')],_0x3c226b=_0x57b3a4[_0x4ac8('0xa')][_0x4ac8('0x0')][_0x4ac8('0x1d')]['selection'];_0x27d7d8[_0x4ac8('0x1c')][_0x4ac8('0x11')]('rawHtml',_0x5bdb64=>_0x3ba8c1(_0xeb1f09,_0x4ac8('0x1b'),_0x5bdb64)),_0x57b3a4[_0x4ac8('0x5')]['get'](_0x4ac8('0xf'))[_0x4ac8('0x9')](_0x4ac8('0x10'),(_0x5bc174,_0x575c9e)=>{const _0x240015=_0x57b3a4[_0x4ac8('0x16')],_0x17197f=_0x240015[_0x4ac8('0x1d')][_0x4ac8('0xb')];_0x240015[_0x4ac8('0x8')](()=>{const _0x5ec980=function(_0x3635f9){const _0x4472cb=_0x3635f9[_0x4ac8('0x4')]();if(_0x4472cb&&_0x4472cb['is'](_0x4ac8('0x7'),_0x4ac8('0x13')))return _0x3635f9[_0x4ac8('0x4')]();return null;}(_0x17197f);if(!_0x5ec980)return void _0x5bc174(null);const _0xd68a58=_0x5ec980[_0x4ac8('0xe')](_0x4ac8('0x14'))||'';if(void 0x0===_0x575c9e)return;if(_0x575c9e===_0xd68a58)return;_0x27d7d8[_0x4ac8('0x6')](_0x5ec980,{'commandName':_0x4ac8('0x10'),'commandParams':[_0x575c9e]}),_0x3c226b[_0x4ac8('0x4')]()[_0x4ac8('0x1a')](_0x4ac8('0x2'))['cancel']();});}),_0x27d7d8[_0x4ac8('0x1c')][_0x4ac8('0x15')](_0x241756=>{const {data:_0x1e56f7}=_0x241756;if(_0x1e56f7&&'htmlEmbed'==_0x1e56f7[_0x4ac8('0xc')]){const _0x46b2df=_0x3ba8c1(_0xeb1f09,_0x4ac8('0x1b'));return{'type':_0x4ac8('0x3'),'content':_0x3ba8c1(_0xeb1f09,_0x4ac8('0x19'),_0x46b2df)};}});}}
23
+ const _0xbb1e=['TrackChangesEditing','getCustomProperty','get','cancel','plugins','afterInit','ELEMENT_HTML_EMBED','getSelectedElement','format','document','has','commandName','_descriptionFactory','HtmlEmbed','model','rawHtml','rawHtmlApi','value','editor','markBlockFormat','registerDescriptionCallback','selection','htmlEmbed','editing','enableCommand'];(function(_0x9ef5c5,_0xbb1e9d){const _0x11b5da=function(_0x33be98){while(--_0x33be98){_0x9ef5c5['push'](_0x9ef5c5['shift']());}};_0x11b5da(++_0xbb1e9d);}(_0xbb1e,0x8d));const _0x11b5=function(_0x9ef5c5,_0xbb1e9d){_0x9ef5c5=_0x9ef5c5-0x0;let _0x11b5da=_0xbb1e[_0x9ef5c5];return _0x11b5da;};import{Plugin as _0x1dcaa4}from'ckeditor5/src/core';import{getTranslation as _0x641534}from'../utils/common-translations';export default class V extends _0x1dcaa4{[_0x11b5('0xe')](){const _0x392687=this[_0x11b5('0x2')];if(!_0x392687[_0x11b5('0xd')][_0x11b5('0x13')](_0x11b5('0x16')))return;const _0x3500fc=_0x392687[_0x11b5('0xd')][_0x11b5('0xb')]('TrackChangesEditing'),_0xef24d0=_0x392687['locale'],_0x4a828a=_0x392687[_0x11b5('0x7')]['view'][_0x11b5('0x12')][_0x11b5('0x5')];_0x3500fc[_0x11b5('0x15')]['registerElementLabel'](_0x11b5('0x18'),_0x1886d1=>_0x641534(_0xef24d0,_0x11b5('0xf'),_0x1886d1)),_0x392687[_0x11b5('0xd')]['get'](_0x11b5('0x9'))[_0x11b5('0x8')](_0x11b5('0x6'),(_0x36c8dc,_0x544304)=>{const _0x2ca0b6=_0x392687[_0x11b5('0x17')],_0x508055=_0x2ca0b6[_0x11b5('0x12')][_0x11b5('0x5')];_0x2ca0b6['change'](()=>{const _0x36fd94=function(_0x32cce1){const _0x5f5cc=_0x32cce1[_0x11b5('0x10')]();if(_0x5f5cc&&_0x5f5cc['is']('element',_0x11b5('0x18')))return _0x32cce1['getSelectedElement']();return null;}(_0x508055);if(!_0x36fd94)return void _0x36c8dc(null);const _0x1c1b84=_0x36fd94['getAttribute'](_0x11b5('0x1'))||'';if(void 0x0===_0x544304)return;if(_0x544304===_0x1c1b84)return;_0x3500fc[_0x11b5('0x3')](_0x36fd94,{'commandName':_0x11b5('0x6'),'commandParams':[_0x544304]}),_0x4a828a['getSelectedElement']()[_0x11b5('0xa')](_0x11b5('0x0'))[_0x11b5('0xc')]();});}),_0x3500fc[_0x11b5('0x15')][_0x11b5('0x4')](_0x777015=>{const {data:_0x3f783a}=_0x777015;if(_0x3f783a&&_0x11b5('0x6')==_0x3f783a[_0x11b5('0x14')]){const _0x51906a=_0x641534(_0xef24d0,_0x11b5('0xf'));return{'type':_0x11b5('0x11'),'content':_0x641534(_0xef24d0,'*Change\x20%0\x20content*',_0x51906a)};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4635=['length','getAttribute','_findSuggestions','createRangeOn','ImageInlineEditing','FORMAT_SIDE_IMAGE','ELEMENT_INLINE_IMAGE','getClosestSelectedImageElement','imageStyle','ImageCaptionUtils','forEach','fromPosition','removeObject','imageStylePostApply','nodeAfter','backward','hasSuggestion','_descriptionFactory','imageCaption','alt','markBlockFormat','chain','type','*Remove\x20image\x20text\x20alternative*','getSuggestionCallback','imageTypeInline','find','start','width','schema','*Set\x20image\x20text\x20alternative:*\x20%0','ImageResize','forceDefaultExecution','markDeletion','suggestion','commands','Users','newValue','commandParams','registerPostFixer','join','markInsertion','resizeImage','toNext','model','locale','isOwn','registerDescriptionCallback','isInlineImage','previous','*Set\x20image\x20width:*\x20%0','imageBlock','insertion','has','*Format:*\x20%0','deletion','detach','convertBlockImageToInline','getChangedMarkers','toLowerCase','next','refresh','createRange','registerElementLabel','selection','subType','ImageUploadEditing','getSuggestions','commandReversedParams','ImageTextAlternativeEditing','isIntersecting','filter','_suggestionFactory','change','getSuggestion','convertInlineImageToBlock','name','value','isBefore','getCaptionFromImageModelElement','formatBlock','isEqual','isBlockImage','accept','author','findIndex','element','getContainedElement','get','isCollapsed','imageTextAlternative','discard','discardSuggestion','imageTypeBlock','document','editor','hasAttribute','caption','forward','plugins','Block\x20image\x20to\x20inline\x20image','shouldConvertImageType','isInContent','imageInline','getNearestSelectionRange','toPrevious','ELEMENT_CAPTION','Inline\x20image\x20to\x20block\x20image','toggleImageCaption','ImageUtils','end','enableCommand','getFirstRange','commandName','format','newRange','registerCustomCallback','addObject','*Reset\x20image\x20width*','markInlineFormat','imageStylePreApply'];(function(_0x4f8b19,_0x463583){const _0x2f6f03=function(_0x4c0299){while(--_0x4c0299){_0x4f8b19['push'](_0x4f8b19['shift']());}};_0x2f6f03(++_0x463583);}(_0x4635,0x1b2));const _0x2f6f=function(_0x4f8b19,_0x463583){_0x4f8b19=_0x4f8b19-0x0;let _0x2f6f03=_0x4635[_0x4f8b19];return _0x2f6f03;};import{Plugin as _0x336904}from'ckeditor5/src/core';import{LivePosition as _0x128193}from'ckeditor5/src/engine';import{uid as _0x5ebd6a}from'ckeditor5/src/utils';import{getTranslation as _0x43eb8f}from'../utils/common-translations';export default class V extends _0x336904{['afterInit'](){const _0x30d359=this[_0x2f6f('0x18')];if(!_0x30d359[_0x2f6f('0x1c')][_0x2f6f('0x67')]('ImageEditing'))return;const _0x4df196=_0x30d359['plugins'][_0x2f6f('0x11')]('TrackChangesEditing'),_0x59dec7=_0x30d359[_0x2f6f('0x1c')][_0x2f6f('0x11')](_0x2f6f('0x26')),_0xbd1a61={},_0x951fd9=_0x30d359[_0x2f6f('0x5f')];if(_0x4df196[_0x2f6f('0x28')]('insertImage'),_0x4df196['_descriptionFactory'][_0x2f6f('0x71')](_0x2f6f('0x65'),_0x31ef57=>_0x43eb8f(_0x951fd9,'ELEMENT_IMAGE',_0x31ef57)),_0x4df196[_0x2f6f('0x43')][_0x2f6f('0x71')](_0x2f6f('0x20'),_0x1f488f=>_0x43eb8f(_0x951fd9,_0x2f6f('0x38'),_0x1f488f)),_0x4df196[_0x2f6f('0x43')][_0x2f6f('0x71')]('caption',()=>_0x43eb8f(_0x951fd9,_0x2f6f('0x23'))),_0x30d359[_0x2f6f('0x1c')][_0x2f6f('0x67')](_0x2f6f('0x74'))&&_0x4df196[_0x2f6f('0x28')]('uploadImage'),_0x30d359[_0x2f6f('0x1c')][_0x2f6f('0x67')]('ImageBlockEditing')&&_0x30d359[_0x2f6f('0x1c')][_0x2f6f('0x67')](_0x2f6f('0x36'))&&(_0x4df196[_0x2f6f('0x28')]('imageTypeInline',(_0x3bf2fa,_0x4d9797)=>{const _0x4639d1=_0x59dec7['getClosestSelectedImageElement'](_0x30d359['model'][_0x2f6f('0x17')][_0x2f6f('0x72')]);_0x30d359[_0x2f6f('0x5e')][_0x2f6f('0x2')](()=>{_0x4df196[_0x2f6f('0x46')](_0x4639d1,{'commandName':_0x2f6f('0x4b'),'commandParams':[_0x4d9797]},[],_0x2f6f('0x6b'));});}),_0x4df196[_0x2f6f('0x28')](_0x2f6f('0x16'),(_0x3c099e,_0xf1fffe)=>{_0x30d359['model']['change'](_0x1fab38=>{let _0x2bc148=_0x59dec7[_0x2f6f('0x39')](_0x30d359[_0x2f6f('0x5e')][_0x2f6f('0x17')][_0x2f6f('0x72')]),_0x3e778d=_0x1fab38[_0x2f6f('0x35')](_0x2bc148);const _0x306f94=_0x128193[_0x2f6f('0x3d')](_0x3e778d[_0x2f6f('0x4d')],_0x2f6f('0x22')),_0x32c592=_0x128193[_0x2f6f('0x3d')](_0x3e778d[_0x2f6f('0x27')],_0x2f6f('0x5d'));_0x4df196[_0x2f6f('0x52')](()=>_0x3c099e(_0xf1fffe)),_0x2bc148=_0x59dec7[_0x2f6f('0x39')](_0x30d359[_0x2f6f('0x5e')][_0x2f6f('0x17')][_0x2f6f('0x72')]),_0x3e778d=_0x1fab38[_0x2f6f('0x35')](_0x2bc148);const _0x514f70=_0x1fab38['createRange'](_0x306f94,_0x32c592);_0x306f94[_0x2f6f('0x6a')](),_0x32c592[_0x2f6f('0x6a')](),_0x4df196[_0x2f6f('0x46')](_0x2bc148,{'commandName':'imageTypeInline'},[],_0x2f6f('0x4')),_0x514f70['start'][_0x2f6f('0x7')](_0x3e778d['start'])&&_0x4df196[_0x2f6f('0x5b')](_0x1fab38[_0x2f6f('0x70')](_0x514f70[_0x2f6f('0x4d')],_0x3e778d[_0x2f6f('0x4d')]),_0x2f6f('0x4')),_0x3e778d['end']['isBefore'](_0x514f70[_0x2f6f('0x27')])&&_0x4df196['markInsertion'](_0x1fab38['createRange'](_0x3e778d['end'],_0x514f70['end']),_0x2f6f('0x4'));});}),_0x4df196[_0x2f6f('0x1')][_0x2f6f('0x2d')](_0x2f6f('0x9'),_0x2f6f('0x4'),_0x2f6f('0x5a'),()=>{}),_0x4df196['_suggestionFactory'][_0x2f6f('0x2d')](_0x2f6f('0x9'),_0x2f6f('0x4'),_0x2f6f('0xc'),()=>{}),_0x4df196[_0x2f6f('0x1')]['registerCustomCallback'](_0x2f6f('0x9'),'convertInlineImageToBlock','discard',_0x4df196[_0x2f6f('0x1')]['getSuggestionCallback'](_0x2f6f('0x9'),'',_0x2f6f('0xc'))),_0x4df196[_0x2f6f('0x1')]['registerCustomCallback'](_0x2f6f('0x66'),_0x2f6f('0x4'),'join',()=>{}),_0x4df196[_0x2f6f('0x1')][_0x2f6f('0x2d')]('insertion',_0x2f6f('0x4'),_0x2f6f('0x14'),([_0x4e2acb])=>{const _0x203c18=_0x4df196[_0x2f6f('0x1')][_0x2f6f('0x4a')]('insertion','','discard');let _0x1a13fb=_0x4e2acb[_0x2f6f('0x4d')],_0x7a0968=_0x4e2acb['end'];const _0x455e0a=_0x30d359[_0x2f6f('0x5e')][_0x2f6f('0x4f')][_0x2f6f('0x21')](_0x1a13fb,_0x2f6f('0x41')),_0x53b948=_0x30d359[_0x2f6f('0x5e')][_0x2f6f('0x4f')]['getNearestSelectionRange'](_0x7a0968,_0x2f6f('0x1b'));_0x455e0a[_0x2f6f('0x12')]&&(_0x1a13fb=_0x455e0a['start']),_0x53b948[_0x2f6f('0x12')]&&(_0x7a0968=_0x53b948[_0x2f6f('0x27')]),_0x203c18([_0x30d359['model'][_0x2f6f('0x70')](_0x1a13fb,_0x7a0968)]);}),_0x4df196[_0x2f6f('0x1')]['registerCustomCallback'](_0x2f6f('0x9'),_0x2f6f('0x4'),_0x2f6f('0x47'),_0x518169),_0x4df196[_0x2f6f('0x1')][_0x2f6f('0x2d')](_0x2f6f('0x66'),_0x2f6f('0x4'),_0x2f6f('0x47'),_0x518169)),_0x30d359['plugins']['has']('ImageCaptionEditing')&&(_0x4df196[_0x2f6f('0x28')](_0x2f6f('0x25'),(_0x4a2278,_0x43aa12)=>{const _0x44d13c=_0x30d359[_0x2f6f('0x1c')][_0x2f6f('0x11')](_0x2f6f('0x3b'));let _0x424e66=_0x59dec7[_0x2f6f('0x39')](_0x30d359[_0x2f6f('0x5e')][_0x2f6f('0x17')][_0x2f6f('0x72')]),_0x30e839=_0x44d13c[_0x2f6f('0x8')](_0x424e66);_0x30d359[_0x2f6f('0x5e')][_0x2f6f('0x2')](()=>{if(_0x30e839)return void _0x4df196[_0x2f6f('0x53')](_0x30d359[_0x2f6f('0x5e')][_0x2f6f('0x35')](_0x30e839));const _0x419220=_0x59dec7[_0x2f6f('0xb')](_0x424e66);_0x4a2278(_0x43aa12),_0x424e66=_0x59dec7['getClosestSelectedImageElement'](_0x30d359[_0x2f6f('0x5e')]['document'][_0x2f6f('0x72')]),_0x30e839=_0x44d13c[_0x2f6f('0x8')](_0x424e66),_0x4df196[_0x2f6f('0x5b')](_0x30d359[_0x2f6f('0x5e')][_0x2f6f('0x35')](_0x30e839),_0x419220?null:_0x2f6f('0x44'));});}),_0x4df196[_0x2f6f('0x1')]['registerCustomCallback'](_0x2f6f('0x66'),_0x2f6f('0x44'),_0x2f6f('0x47'),_0x518169)),_0x30d359[_0x2f6f('0x1c')]['has']('ImageStyleEditing')){_0x4df196[_0x2f6f('0x28')](_0x2f6f('0x3a'),(_0x26b360,_0x2e22a6)=>{const _0xd2658c=_0x30d359[_0x2f6f('0x1c')][_0x2f6f('0x11')](_0x2f6f('0x56'))['me'],_0x46b506=_0x30d359[_0x2f6f('0x55')]['get'](_0x2f6f('0x3a'));let _0x4ddf35=_0x59dec7[_0x2f6f('0x39')](_0x30d359['model'][_0x2f6f('0x17')]['selection']),_0x343030=_0x30d359[_0x2f6f('0x5e')][_0x2f6f('0x35')](_0x4ddf35),_0x5ac83a=_0x46b506[_0x2f6f('0x6')];if(_0x5ac83a==_0x2e22a6[_0x2f6f('0x6')])return;const _0xbf12da={'commandName':_0x2f6f('0x3a'),'commandParams':[_0x2e22a6],'formatGroupId':_0x5ebd6a()};_0x30d359[_0x2f6f('0x5e')]['change'](()=>{if(_0x4df196[_0x2f6f('0x75')]()['filter'](_0x252d7b=>_0x252d7b['isInContent']&&_0xd2658c==_0x252d7b[_0x2f6f('0xd')]&&('formatBlock'==_0x252d7b[_0x2f6f('0x48')]||'formatInline'==_0x252d7b[_0x2f6f('0x48')])&&(_0x2f6f('0x31')==_0x252d7b[_0x2f6f('0x73')]||_0x2f6f('0x3f')==_0x252d7b['subType'])&&_0x252d7b[_0x2f6f('0x29')]()[_0x2f6f('0xa')](_0x343030))[_0x2f6f('0x3c')](_0x5c40f0=>_0x4df196[_0x2f6f('0x15')](_0x5c40f0['head'])),_0x4ddf35=_0x59dec7['getClosestSelectedImageElement'](_0x30d359[_0x2f6f('0x5e')][_0x2f6f('0x17')]['selection']),_0x343030=_0x30d359[_0x2f6f('0x5e')][_0x2f6f('0x35')](_0x4ddf35),_0x46b506[_0x2f6f('0x6f')](),_0x30d359['commands'][_0x2f6f('0x11')]('imageTypeInline')['refresh'](),_0x30d359[_0x2f6f('0x55')][_0x2f6f('0x11')]('imageTypeBlock')[_0x2f6f('0x6f')](),_0x5ac83a=_0x46b506[_0x2f6f('0x6')],_0x5ac83a!=_0x2e22a6['value'])return _0x59dec7[_0x2f6f('0x62')](_0x4ddf35)&&_0x46b506[_0x2f6f('0x1e')](_0x2e22a6[_0x2f6f('0x6')],_0x4ddf35)?(_0x26b360(_0x2e22a6),_0x4ddf35=_0x59dec7[_0x2f6f('0x39')](_0x30d359[_0x2f6f('0x5e')][_0x2f6f('0x17')][_0x2f6f('0x72')]),void _0x4df196[_0x2f6f('0x46')](_0x4ddf35,{..._0xbf12da,'commandReversedParams':[{'value':_0x5ac83a||null}]},[],_0x2f6f('0x31'))):void(_0x59dec7[_0x2f6f('0xb')](_0x4ddf35)?_0x4df196[_0x2f6f('0x46')](_0x4ddf35,_0xbf12da,[],'imageStylePostApply'):_0x4df196[_0x2f6f('0x30')](_0x343030,_0xbf12da,'imageStylePostApply'));});});for(const _0x5cd302 of _0x30d359[_0x2f6f('0x1c')][_0x2f6f('0x11')]('ImageStyleEditing')['normalizedStyles'])_0xbd1a61[_0x5cd302[_0x2f6f('0x5')]]=_0x5cd302['title'][_0x2f6f('0x6d')]();_0x4df196[_0x2f6f('0x1')][_0x2f6f('0x2d')](_0x2f6f('0x9'),_0x2f6f('0x31'),_0x2f6f('0x5a'),()=>{}),_0x4df196[_0x2f6f('0x1')][_0x2f6f('0x2d')]('formatBlock',_0x2f6f('0x3f'),_0x2f6f('0x5a'),()=>{}),_0x4df196[_0x2f6f('0x1')]['registerCustomCallback']('formatInline',_0x2f6f('0x3f'),_0x2f6f('0x5a'),()=>{}),_0x4df196['_suggestionFactory']['registerCustomCallback'](_0x2f6f('0x9'),_0x2f6f('0x31'),_0x2f6f('0xc'),()=>{}),_0x4df196[_0x2f6f('0x1')][_0x2f6f('0x2d')]('formatBlock','imageStylePreApply',_0x2f6f('0x14'),(_0xc71655,_0x530aa6)=>{_0x4df196[_0x2f6f('0x1')][_0x2f6f('0x4a')](_0x2f6f('0x9'),'',_0x2f6f('0xc'))(_0xc71655,{'commandName':_0x530aa6['commandName'],'commandParams':_0x530aa6[_0x2f6f('0x76')]});}),_0x4df196['_suggestionFactory'][_0x2f6f('0x2d')](_0x2f6f('0x9'),_0x2f6f('0x31'),_0x2f6f('0x47'),_0x518169);}const _0xade763=[{'type':_0x2f6f('0x9'),'subType':_0x2f6f('0x31')},{'type':'insertion','subType':_0x2f6f('0x44')},{'type':_0x2f6f('0x9'),'subType':'convertInlineImageToBlock'},{'type':'insertion','subType':_0x2f6f('0x4')}];function _0x41c60f(_0x53924d,_0x5d348d){const _0x495d53=_0xade763[_0x2f6f('0xe')](({type:_0x1297c7,subType:_0x223ddc})=>_0x53924d['type']==_0x1297c7&&_0x53924d[_0x2f6f('0x73')]==_0x223ddc),_0x5122bf=_0xade763[_0x2f6f('0xe')](({type:_0x54854a,subType:_0x200302})=>_0x5d348d[_0x2f6f('0x48')]==_0x54854a&&_0x5d348d['subType']==_0x200302);if(_0x495d53<0x0||_0x5122bf<0x0)return!0x1;const _0x50c665=_0x53924d['getFirstRange'](),_0x4dcd27=_0x5d348d[_0x2f6f('0x29')]();if((0x0==_0x495d53||0x1==_0x495d53)&&0x2==_0x5122bf&&_0x50c665[_0x2f6f('0x78')](_0x4dcd27))return!0x0;if(0x2==_0x495d53&&0x3==_0x5122bf){const _0x437093=_0x4df196[_0x2f6f('0x34')](_0x50c665,_0x2f6f('0x66'))[_0x2f6f('0x0')](({suggestion:_0x2f46f6,meta:_0x7f13a0})=>_0x7f13a0[_0x2f6f('0x60')]&&_0x2f6f('0x4')==_0x2f46f6['subType']);if(_0x437093['length']>0x1&&_0x4dcd27[_0x2f6f('0x27')][_0x2f6f('0xa')](_0x50c665[_0x2f6f('0x4d')]))return!0x0;if(0x1==_0x437093[_0x2f6f('0x32')]&&(_0x50c665[_0x2f6f('0x4d')][_0x2f6f('0xa')](_0x4dcd27['end'])||_0x50c665[_0x2f6f('0x27')][_0x2f6f('0xa')](_0x4dcd27[_0x2f6f('0x4d')])))return!0x0;}if(0x3==_0x495d53&&0x3==_0x5122bf&&_0x50c665['start'][_0x2f6f('0x7')](_0x4dcd27[_0x2f6f('0x4d')])){const _0x340a1e=_0x50c665[_0x2f6f('0x27')][_0x2f6f('0x40')],_0x199e5e=_0x4dcd27['start']['nodeBefore'];return _0x59dec7[_0x2f6f('0xb')](_0x340a1e)&&_0x340a1e===_0x199e5e;}return!0x1;}function _0x518169(_0x203cba,_0x1222ac){return _0x41c60f(_0x203cba,_0x1222ac)?[_0x203cba,_0x1222ac]:_0x41c60f(_0x1222ac,_0x203cba)?[_0x1222ac,_0x203cba]:null;}_0x30d359[_0x2f6f('0x5e')][_0x2f6f('0x17')][_0x2f6f('0x59')](()=>{let _0x15b6ad=!0x1;const _0x4ecaed=Array['from'](_0x30d359[_0x2f6f('0x5e')][_0x2f6f('0x17')]['differ'][_0x2f6f('0x6c')]());for(const {name:_0x20746c,data:_0x5cbda5}of _0x4ecaed){const {group:_0x149cb3,type:_0x193cdd,subType:_0x255021,id:_0x2365c0}=_0x4df196['_splitMarkerName'](_0x20746c);if(_0x2f6f('0x54')==_0x149cb3&&_0x4df196[_0x2f6f('0x42')](_0x2365c0)){if(_0x2f6f('0x9')==_0x193cdd&&('imageStylePreApply'==_0x255021||_0x2f6f('0x3f')==_0x255021)){const _0x55d22a=_0x4df196[_0x2f6f('0x3')](_0x2365c0);if(_0x5cbda5[_0x2f6f('0x2c')]){const _0x1685c4=_0x55d22a[_0x2f6f('0x29')]()[_0x2f6f('0x10')]();if(_0x59dec7[_0x2f6f('0xb')](_0x1685c4))continue;_0x4df196[_0x2f6f('0x15')](_0x55d22a),_0x15b6ad=!0x0;}}if('insertion'==_0x193cdd&&_0x2f6f('0x44')==_0x255021&&!_0x5cbda5[_0x2f6f('0x2c')]){const _0x4478d1=_0x4df196[_0x2f6f('0x3')](_0x2365c0);_0x4478d1['next']&&_0x4478d1['next'][_0x2f6f('0x1f')]&&(_0x4df196['discardSuggestion'](_0x4478d1[_0x2f6f('0x6e')]),_0x15b6ad=!0x0);}}}return _0x15b6ad;}),_0x30d359[_0x2f6f('0x1c')]['has'](_0x2f6f('0x51'))&&_0x4df196['enableCommand'](_0x2f6f('0x5c'),(_0x17c0ee,_0xfcaaad)=>{const _0x201c52=_0x59dec7[_0x2f6f('0x39')](_0x30d359['model']['document'][_0x2f6f('0x72')]);_0x201c52[_0x2f6f('0x33')](_0x2f6f('0x4e'))!=_0xfcaaad[_0x2f6f('0x4e')]&&_0x30d359[_0x2f6f('0x5e')]['change'](()=>{_0x4df196[_0x2f6f('0x46')](_0x201c52,{'commandName':_0x2f6f('0x5c'),'commandParams':[_0xfcaaad]});});}),_0x30d359['plugins'][_0x2f6f('0x67')](_0x2f6f('0x77'))&&_0x4df196[_0x2f6f('0x28')](_0x2f6f('0x13'),(_0x5bc4ee,_0x33a921)=>{const _0x51effc=_0x59dec7['getClosestSelectedImageElement'](_0x30d359[_0x2f6f('0x5e')][_0x2f6f('0x17')][_0x2f6f('0x72')]);(_0x51effc[_0x2f6f('0x19')](_0x2f6f('0x45'))?_0x51effc[_0x2f6f('0x33')](_0x2f6f('0x45')):'')!=_0x33a921[_0x2f6f('0x57')]&&_0x30d359[_0x2f6f('0x5e')][_0x2f6f('0x2')](()=>{_0x4df196[_0x2f6f('0x46')](_0x51effc,{'commandName':'imageTextAlternative','commandParams':[_0x33a921]});});}),_0x4df196[_0x2f6f('0x43')][_0x2f6f('0x61')](_0x50e0ee=>{if(!!_0xade763[_0x2f6f('0x4c')](({type:_0x16af64,subType:_0x933730})=>_0x50e0ee[_0x2f6f('0x48')]==_0x16af64&&_0x50e0ee['subType']==_0x933730))return _0x50e0ee[_0x2f6f('0x63')]?{}:void 0x0;}),_0x4df196['_descriptionFactory'][_0x2f6f('0x61')](_0x4812bf=>{if('insertion'==_0x4812bf[_0x2f6f('0x48')]||_0x2f6f('0x69')==_0x4812bf[_0x2f6f('0x48')]){const _0x1a5043=_0x4812bf[_0x2f6f('0x10')]();if(_0x1a5043&&_0x1a5043['is'](_0x2f6f('0xf'),_0x2f6f('0x1a')))return{'type':_0x2f6f('0x66')==_0x4812bf['type']?_0x2f6f('0x2e'):_0x2f6f('0x3e'),'element':_0x1a5043,'quantity':0x1};}}),_0x4df196[_0x2f6f('0x43')][_0x2f6f('0x61')](_0x22ccf4=>_0x2f6f('0x9')==_0x22ccf4[_0x2f6f('0x48')]&&'convertInlineImageToBlock'==_0x22ccf4[_0x2f6f('0x73')]?{'type':_0x2f6f('0x2b'),'content':_0x2f6f('0x24')}:'formatBlock'==_0x22ccf4[_0x2f6f('0x48')]&&_0x2f6f('0x6b')==_0x22ccf4[_0x2f6f('0x73')]?{'type':'format','content':_0x2f6f('0x1d')}:void 0x0),_0x4df196[_0x2f6f('0x43')]['registerDescriptionCallback'](_0x38578d=>{const {data:_0x50e5ad}=_0x38578d;if(_0x50e5ad){if('imageStyle'==_0x50e5ad[_0x2f6f('0x2a')]){const _0x25bf5a=_0x50e5ad[_0x2f6f('0x58')][0x0][_0x2f6f('0x6')];return _0x50c287('side'===_0x25bf5a?_0x43eb8f(_0x951fd9,_0x2f6f('0x37')):_0xbd1a61[_0x25bf5a]||_0x25bf5a);}if(_0x2f6f('0x13')==_0x50e5ad[_0x2f6f('0x2a')]){const _0x145249=_0x50e5ad[_0x2f6f('0x58')][0x0][_0x2f6f('0x57')];return _0x145249?{'type':_0x2f6f('0x2b'),'content':_0x43eb8f(_0x951fd9,_0x2f6f('0x50'),'\x22'+_0x145249+'\x22')}:{'type':_0x2f6f('0x2b'),'content':_0x43eb8f(_0x951fd9,_0x2f6f('0x49'))};}if(_0x2f6f('0x5c')==_0x50e5ad[_0x2f6f('0x2a')]){const _0x4ae424=_0x50e5ad['commandParams'][0x0][_0x2f6f('0x4e')];return _0x4ae424?{'type':_0x2f6f('0x2b'),'content':_0x43eb8f(_0x951fd9,_0x2f6f('0x64'),_0x4ae424)}:{'type':_0x2f6f('0x2b'),'content':_0x43eb8f(_0x951fd9,_0x2f6f('0x2f'))};}}function _0x50c287(_0x4e7f46){return{'type':_0x2f6f('0x2b'),'content':_0x43eb8f(_0x951fd9,_0x2f6f('0x68'),_0x4e7f46)};}});}}
23
+ const _0x191c=['getFirstRange','*Reset\x20image\x20width*','forward','forceDefaultExecution','schema','*Remove\x20image\x20text\x20alternative*','has','newRange','commandName','value','toggleImageCaption','deletion','imageBlock','_suggestionFactory','insertion','isBefore','ImageCaptionEditing','get','editor','FORMAT_SIDE_IMAGE','from','differ','getCaptionFromImageModelElement','ImageCaptionUtils','name','findIndex','plugins','ImageStyleEditing','afterInit','backward','convertInlineImageToBlock','insertImage','newValue','selection','find','commandParams','commandReversedParams','imageStylePostApply','ImageTextAlternativeEditing','imageTextAlternative','commands','change','isBlockImage','getAttribute','createRange','toNext','type','formatInline','_findSuggestions','alt','getNearestSelectionRange','*Format:*\x20%0','ELEMENT_INLINE_IMAGE','fromPosition','locale','accept','previous','Users','ImageUploadEditing','_descriptionFactory','imageStyle','forEach','getClosestSelectedImageElement','isInlineImage','ELEMENT_IMAGE','formatBlock','markBlockFormat','markInsertion','side','discardSuggestion','subType','nodeBefore','next','shouldConvertImageType','hasAttribute','hasSuggestion','getSuggestionCallback','chain','toPrevious','end','document','convertBlockImageToInline','author','filter','getContainedElement','TrackChangesEditing','width','nodeAfter','createRangeOn','toLowerCase','join','getSuggestion','imageTypeBlock','ImageInlineEditing','getSuggestions','registerDescriptionCallback','registerPostFixer','start','imageInline','isCollapsed','refresh','registerElementLabel','Block\x20image\x20to\x20inline\x20image','isOwn','registerCustomCallback','element','markInlineFormat','model','length','format','normalizedStyles','caption','isEqual','imageStylePreApply','suggestion','removeObject','discard','enableCommand','ImageUtils','head','resizeImage','isInContent','imageTypeInline'];(function(_0x26fc8f,_0x191c70){const _0x406093=function(_0x5ef83c){while(--_0x5ef83c){_0x26fc8f['push'](_0x26fc8f['shift']());}};_0x406093(++_0x191c70);}(_0x191c,0x107));const _0x4060=function(_0x26fc8f,_0x191c70){_0x26fc8f=_0x26fc8f-0x0;let _0x406093=_0x191c[_0x26fc8f];return _0x406093;};import{Plugin as _0x2385f7}from'ckeditor5/src/core';import{LivePosition as _0xf7226c}from'ckeditor5/src/engine';import{uid as _0x488710}from'ckeditor5/src/utils';import{getTranslation as _0x4816c5}from'../utils/common-translations';export default class X extends _0x2385f7{[_0x4060('0xb')](){const _0x8df9a2=this[_0x4060('0x1')];if(!_0x8df9a2[_0x4060('0x9')][_0x4060('0x70')]('ImageEditing'))return;const _0x44b3ef=_0x8df9a2[_0x4060('0x9')][_0x4060('0x0')](_0x4060('0x44')),_0x32e5e9=_0x8df9a2[_0x4060('0x9')][_0x4060('0x0')](_0x4060('0x65')),_0x49da06={},_0x2967f5=_0x8df9a2[_0x4060('0x25')];if(_0x44b3ef[_0x4060('0x64')](_0x4060('0xe')),_0x44b3ef['_descriptionFactory'][_0x4060('0x54')](_0x4060('0x76'),_0xd81f74=>_0x4816c5(_0x2967f5,_0x4060('0x2f'),_0xd81f74)),_0x44b3ef['_descriptionFactory'][_0x4060('0x54')](_0x4060('0x51'),_0x18e9c2=>_0x4816c5(_0x2967f5,_0x4060('0x23'),_0x18e9c2)),_0x44b3ef[_0x4060('0x2a')]['registerElementLabel'](_0x4060('0x5e'),()=>_0x4816c5(_0x2967f5,'ELEMENT_CAPTION')),_0x8df9a2[_0x4060('0x9')][_0x4060('0x70')](_0x4060('0x29'))&&_0x44b3ef['enableCommand']('uploadImage'),_0x8df9a2[_0x4060('0x9')][_0x4060('0x70')]('ImageBlockEditing')&&_0x8df9a2[_0x4060('0x9')][_0x4060('0x70')](_0x4060('0x4c'))&&(_0x44b3ef[_0x4060('0x64')](_0x4060('0x69'),(_0x9a9092,_0x38fbb4)=>{const _0x320f01=_0x32e5e9['getClosestSelectedImageElement'](_0x8df9a2[_0x4060('0x5a')]['document']['selection']);_0x8df9a2[_0x4060('0x5a')][_0x4060('0x18')](()=>{_0x44b3ef[_0x4060('0x31')](_0x320f01,{'commandName':'imageTypeInline','commandParams':[_0x38fbb4]},[],_0x4060('0x40'));});}),_0x44b3ef[_0x4060('0x64')](_0x4060('0x4b'),(_0x3f4351,_0x56c362)=>{_0x8df9a2[_0x4060('0x5a')][_0x4060('0x18')](_0xe8da1f=>{let _0x8b427a=_0x32e5e9[_0x4060('0x2d')](_0x8df9a2['model'][_0x4060('0x3f')][_0x4060('0x10')]),_0x78077b=_0xe8da1f[_0x4060('0x47')](_0x8b427a);const _0x261ceb=_0xf7226c['fromPosition'](_0x78077b['start'],_0x4060('0x3d')),_0x4e7ee4=_0xf7226c[_0x4060('0x24')](_0x78077b[_0x4060('0x3e')],_0x4060('0x1c'));_0x44b3ef[_0x4060('0x6d')](()=>_0x3f4351(_0x56c362)),_0x8b427a=_0x32e5e9[_0x4060('0x2d')](_0x8df9a2[_0x4060('0x5a')][_0x4060('0x3f')]['selection']),_0x78077b=_0xe8da1f[_0x4060('0x47')](_0x8b427a);const _0x1ee7d9=_0xe8da1f[_0x4060('0x1b')](_0x261ceb,_0x4e7ee4);_0x261ceb['detach'](),_0x4e7ee4['detach'](),_0x44b3ef['markBlockFormat'](_0x8b427a,{'commandName':'imageTypeInline'},[],_0x4060('0xd')),_0x1ee7d9[_0x4060('0x50')][_0x4060('0x79')](_0x78077b[_0x4060('0x50')])&&_0x44b3ef[_0x4060('0x32')](_0xe8da1f[_0x4060('0x1b')](_0x1ee7d9[_0x4060('0x50')],_0x78077b[_0x4060('0x50')]),_0x4060('0xd')),_0x78077b[_0x4060('0x3e')]['isBefore'](_0x1ee7d9[_0x4060('0x3e')])&&_0x44b3ef['markInsertion'](_0xe8da1f['createRange'](_0x78077b[_0x4060('0x3e')],_0x1ee7d9[_0x4060('0x3e')]),_0x4060('0xd'));});}),_0x44b3ef[_0x4060('0x77')]['registerCustomCallback']('formatBlock','convertInlineImageToBlock',_0x4060('0x49'),()=>{}),_0x44b3ef[_0x4060('0x77')]['registerCustomCallback'](_0x4060('0x30'),_0x4060('0xd'),_0x4060('0x26'),()=>{}),_0x44b3ef[_0x4060('0x77')][_0x4060('0x57')](_0x4060('0x30'),_0x4060('0xd'),_0x4060('0x63'),_0x44b3ef[_0x4060('0x77')][_0x4060('0x3b')](_0x4060('0x30'),'',_0x4060('0x26'))),_0x44b3ef['_suggestionFactory']['registerCustomCallback'](_0x4060('0x78'),_0x4060('0xd'),'join',()=>{}),_0x44b3ef[_0x4060('0x77')][_0x4060('0x57')](_0x4060('0x78'),'convertInlineImageToBlock',_0x4060('0x63'),([_0x40b4a6])=>{const _0x305e64=_0x44b3ef[_0x4060('0x77')][_0x4060('0x3b')](_0x4060('0x78'),'','discard');let _0x3f86f9=_0x40b4a6[_0x4060('0x50')],_0x39cda0=_0x40b4a6[_0x4060('0x3e')];const _0x3a41a4=_0x8df9a2[_0x4060('0x5a')][_0x4060('0x6e')][_0x4060('0x21')](_0x3f86f9,_0x4060('0xc')),_0x3b3210=_0x8df9a2['model']['schema'][_0x4060('0x21')](_0x39cda0,_0x4060('0x6c'));_0x3a41a4['isCollapsed']&&(_0x3f86f9=_0x3a41a4['start']),_0x3b3210[_0x4060('0x52')]&&(_0x39cda0=_0x3b3210[_0x4060('0x3e')]),_0x305e64([_0x8df9a2[_0x4060('0x5a')][_0x4060('0x1b')](_0x3f86f9,_0x39cda0)]);}),_0x44b3ef[_0x4060('0x77')]['registerCustomCallback'](_0x4060('0x30'),_0x4060('0xd'),_0x4060('0x3c'),_0x33a5c7),_0x44b3ef[_0x4060('0x77')][_0x4060('0x57')]('insertion',_0x4060('0xd'),_0x4060('0x3c'),_0x33a5c7)),_0x8df9a2[_0x4060('0x9')][_0x4060('0x70')](_0x4060('0x7a'))&&(_0x44b3ef['enableCommand'](_0x4060('0x74'),(_0x4df2ee,_0x45ad3f)=>{const _0x2cd0da=_0x8df9a2[_0x4060('0x9')][_0x4060('0x0')](_0x4060('0x6'));let _0x342369=_0x32e5e9['getClosestSelectedImageElement'](_0x8df9a2['model'][_0x4060('0x3f')]['selection']),_0x182262=_0x2cd0da[_0x4060('0x5')](_0x342369);_0x8df9a2[_0x4060('0x5a')][_0x4060('0x18')](()=>{if(_0x182262)return void _0x44b3ef['markDeletion'](_0x8df9a2['model']['createRangeOn'](_0x182262));const _0x41a624=_0x32e5e9[_0x4060('0x19')](_0x342369);_0x4df2ee(_0x45ad3f),_0x342369=_0x32e5e9[_0x4060('0x2d')](_0x8df9a2[_0x4060('0x5a')][_0x4060('0x3f')][_0x4060('0x10')]),_0x182262=_0x2cd0da['getCaptionFromImageModelElement'](_0x342369),_0x44b3ef['markInsertion'](_0x8df9a2['model'][_0x4060('0x47')](_0x182262),_0x41a624?null:'imageCaption');});}),_0x44b3ef[_0x4060('0x77')][_0x4060('0x57')]('insertion','imageCaption',_0x4060('0x3c'),_0x33a5c7)),_0x8df9a2['plugins']['has'](_0x4060('0xa'))){_0x44b3ef[_0x4060('0x64')](_0x4060('0x2b'),(_0x1742e4,_0x4126f4)=>{const _0x1590d8=_0x8df9a2['plugins']['get'](_0x4060('0x28'))['me'],_0x44b81b=_0x8df9a2[_0x4060('0x17')][_0x4060('0x0')](_0x4060('0x2b'));let _0xefaf8e=_0x32e5e9[_0x4060('0x2d')](_0x8df9a2[_0x4060('0x5a')][_0x4060('0x3f')][_0x4060('0x10')]),_0x53bf2d=_0x8df9a2['model'][_0x4060('0x47')](_0xefaf8e),_0x22c7c5=_0x44b81b[_0x4060('0x73')];if(_0x22c7c5==_0x4126f4['value'])return;const _0x20fdd1={'commandName':_0x4060('0x2b'),'commandParams':[_0x4126f4],'formatGroupId':_0x488710()};_0x8df9a2[_0x4060('0x5a')][_0x4060('0x18')](()=>{if(_0x44b3ef[_0x4060('0x4d')]()[_0x4060('0x42')](_0x5c819f=>_0x5c819f['isInContent']&&_0x1590d8==_0x5c819f[_0x4060('0x41')]&&(_0x4060('0x30')==_0x5c819f[_0x4060('0x1d')]||_0x4060('0x1e')==_0x5c819f[_0x4060('0x1d')])&&(_0x4060('0x60')==_0x5c819f[_0x4060('0x35')]||_0x4060('0x14')==_0x5c819f[_0x4060('0x35')])&&_0x5c819f[_0x4060('0x6a')]()[_0x4060('0x5f')](_0x53bf2d))[_0x4060('0x2c')](_0x132f18=>_0x44b3ef[_0x4060('0x34')](_0x132f18[_0x4060('0x66')])),_0xefaf8e=_0x32e5e9['getClosestSelectedImageElement'](_0x8df9a2['model'][_0x4060('0x3f')][_0x4060('0x10')]),_0x53bf2d=_0x8df9a2[_0x4060('0x5a')][_0x4060('0x47')](_0xefaf8e),_0x44b81b[_0x4060('0x53')](),_0x8df9a2[_0x4060('0x17')][_0x4060('0x0')]('imageTypeInline')[_0x4060('0x53')](),_0x8df9a2['commands'][_0x4060('0x0')](_0x4060('0x4b'))[_0x4060('0x53')](),_0x22c7c5=_0x44b81b[_0x4060('0x73')],_0x22c7c5!=_0x4126f4[_0x4060('0x73')])return _0x32e5e9[_0x4060('0x2e')](_0xefaf8e)&&_0x44b81b[_0x4060('0x38')](_0x4126f4[_0x4060('0x73')],_0xefaf8e)?(_0x1742e4(_0x4126f4),_0xefaf8e=_0x32e5e9['getClosestSelectedImageElement'](_0x8df9a2[_0x4060('0x5a')][_0x4060('0x3f')][_0x4060('0x10')]),void _0x44b3ef[_0x4060('0x31')](_0xefaf8e,{..._0x20fdd1,'commandReversedParams':[{'value':_0x22c7c5||null}]},[],'imageStylePreApply')):void(_0x32e5e9[_0x4060('0x19')](_0xefaf8e)?_0x44b3ef[_0x4060('0x31')](_0xefaf8e,_0x20fdd1,[],_0x4060('0x14')):_0x44b3ef[_0x4060('0x59')](_0x53bf2d,_0x20fdd1,_0x4060('0x14')));});});for(const _0x166c75 of _0x8df9a2[_0x4060('0x9')][_0x4060('0x0')](_0x4060('0xa'))[_0x4060('0x5d')])_0x49da06[_0x166c75[_0x4060('0x7')]]=_0x166c75['title'][_0x4060('0x48')]();_0x44b3ef[_0x4060('0x77')]['registerCustomCallback']('formatBlock',_0x4060('0x60'),_0x4060('0x49'),()=>{}),_0x44b3ef[_0x4060('0x77')]['registerCustomCallback'](_0x4060('0x30'),_0x4060('0x14'),_0x4060('0x49'),()=>{}),_0x44b3ef[_0x4060('0x77')][_0x4060('0x57')](_0x4060('0x1e'),_0x4060('0x14'),_0x4060('0x49'),()=>{}),_0x44b3ef['_suggestionFactory']['registerCustomCallback']('formatBlock',_0x4060('0x60'),_0x4060('0x26'),()=>{}),_0x44b3ef[_0x4060('0x77')]['registerCustomCallback'](_0x4060('0x30'),_0x4060('0x60'),'discard',(_0x200726,_0x54b75a)=>{_0x44b3ef['_suggestionFactory'][_0x4060('0x3b')](_0x4060('0x30'),'',_0x4060('0x26'))(_0x200726,{'commandName':_0x54b75a[_0x4060('0x72')],'commandParams':_0x54b75a[_0x4060('0x13')]});}),_0x44b3ef[_0x4060('0x77')][_0x4060('0x57')](_0x4060('0x30'),_0x4060('0x60'),'chain',_0x33a5c7);}const _0x57fc18=[{'type':_0x4060('0x30'),'subType':_0x4060('0x60')},{'type':_0x4060('0x78'),'subType':'imageCaption'},{'type':'formatBlock','subType':'convertInlineImageToBlock'},{'type':_0x4060('0x78'),'subType':_0x4060('0xd')}];function _0x3c580b(_0x1896a0,_0x1e6c1f){const _0x45b0ec=_0x57fc18[_0x4060('0x8')](({type:_0x84b658,subType:_0x30243b})=>_0x1896a0['type']==_0x84b658&&_0x1896a0[_0x4060('0x35')]==_0x30243b),_0xf17fff=_0x57fc18[_0x4060('0x8')](({type:_0x5cb916,subType:_0x2e1851})=>_0x1e6c1f['type']==_0x5cb916&&_0x1e6c1f[_0x4060('0x35')]==_0x2e1851);if(_0x45b0ec<0x0||_0xf17fff<0x0)return!0x1;const _0x3eaf4a=_0x1896a0[_0x4060('0x6a')](),_0x5d4c56=_0x1e6c1f['getFirstRange']();if((0x0==_0x45b0ec||0x1==_0x45b0ec)&&0x2==_0xf17fff&&_0x3eaf4a['isIntersecting'](_0x5d4c56))return!0x0;if(0x2==_0x45b0ec&&0x3==_0xf17fff){const _0x38c630=_0x44b3ef[_0x4060('0x1f')](_0x3eaf4a,_0x4060('0x78'))['filter'](({suggestion:_0x5ddb8f,meta:_0x4febe8})=>_0x4febe8[_0x4060('0x56')]&&_0x4060('0xd')==_0x5ddb8f[_0x4060('0x35')]);if(_0x38c630['length']>0x1&&_0x5d4c56['end'][_0x4060('0x5f')](_0x3eaf4a['start']))return!0x0;if(0x1==_0x38c630[_0x4060('0x5b')]&&(_0x3eaf4a['start'][_0x4060('0x5f')](_0x5d4c56[_0x4060('0x3e')])||_0x3eaf4a[_0x4060('0x3e')][_0x4060('0x5f')](_0x5d4c56[_0x4060('0x50')])))return!0x0;}if(0x3==_0x45b0ec&&0x3==_0xf17fff&&_0x3eaf4a[_0x4060('0x50')][_0x4060('0x79')](_0x5d4c56['start'])){const _0x5d6bc9=_0x3eaf4a['end'][_0x4060('0x46')],_0x4cbeef=_0x5d4c56['start'][_0x4060('0x36')];return _0x32e5e9['isBlockImage'](_0x5d6bc9)&&_0x5d6bc9===_0x4cbeef;}return!0x1;}function _0x33a5c7(_0x54a294,_0x2d4c09){return _0x3c580b(_0x54a294,_0x2d4c09)?[_0x54a294,_0x2d4c09]:_0x3c580b(_0x2d4c09,_0x54a294)?[_0x2d4c09,_0x54a294]:null;}_0x8df9a2[_0x4060('0x5a')][_0x4060('0x3f')][_0x4060('0x4f')](()=>{let _0x4f9924=!0x1;const _0x5b3b9a=Array[_0x4060('0x3')](_0x8df9a2[_0x4060('0x5a')]['document'][_0x4060('0x4')]['getChangedMarkers']());for(const {name:_0x33a3f6,data:_0xc0e603}of _0x5b3b9a){const {group:_0x105609,type:_0x2656d0,subType:_0x6d93bc,id:_0x195706}=_0x44b3ef['_splitMarkerName'](_0x33a3f6);if(_0x4060('0x61')==_0x105609&&_0x44b3ef[_0x4060('0x3a')](_0x195706)){if('formatBlock'==_0x2656d0&&('imageStylePreApply'==_0x6d93bc||_0x4060('0x14')==_0x6d93bc)){const _0x1ffcaf=_0x44b3ef[_0x4060('0x4a')](_0x195706);if(_0xc0e603['newRange']){const _0x59b94a=_0x1ffcaf[_0x4060('0x6a')]()['getContainedElement']();if(_0x32e5e9['isBlockImage'](_0x59b94a))continue;_0x44b3ef['discardSuggestion'](_0x1ffcaf),_0x4f9924=!0x0;}}if(_0x4060('0x78')==_0x2656d0&&'imageCaption'==_0x6d93bc&&!_0xc0e603[_0x4060('0x71')]){const _0x5acc4c=_0x44b3ef[_0x4060('0x4a')](_0x195706);_0x5acc4c[_0x4060('0x37')]&&_0x5acc4c[_0x4060('0x37')][_0x4060('0x68')]&&(_0x44b3ef[_0x4060('0x34')](_0x5acc4c[_0x4060('0x37')]),_0x4f9924=!0x0);}}}return _0x4f9924;}),_0x8df9a2[_0x4060('0x9')][_0x4060('0x70')]('ImageResize')&&_0x44b3ef['enableCommand'](_0x4060('0x67'),(_0x3cdd42,_0x494ef3)=>{const _0x386100=_0x32e5e9[_0x4060('0x2d')](_0x8df9a2[_0x4060('0x5a')]['document'][_0x4060('0x10')]);_0x386100[_0x4060('0x1a')]('width')!=_0x494ef3[_0x4060('0x45')]&&_0x8df9a2[_0x4060('0x5a')][_0x4060('0x18')](()=>{_0x44b3ef[_0x4060('0x31')](_0x386100,{'commandName':_0x4060('0x67'),'commandParams':[_0x494ef3]});});}),_0x8df9a2[_0x4060('0x9')][_0x4060('0x70')](_0x4060('0x15'))&&_0x44b3ef[_0x4060('0x64')](_0x4060('0x16'),(_0x26f348,_0x52c525)=>{const _0x1d41a5=_0x32e5e9[_0x4060('0x2d')](_0x8df9a2[_0x4060('0x5a')][_0x4060('0x3f')][_0x4060('0x10')]);(_0x1d41a5[_0x4060('0x39')]('alt')?_0x1d41a5[_0x4060('0x1a')](_0x4060('0x20')):'')!=_0x52c525['newValue']&&_0x8df9a2[_0x4060('0x5a')]['change'](()=>{_0x44b3ef[_0x4060('0x31')](_0x1d41a5,{'commandName':_0x4060('0x16'),'commandParams':[_0x52c525]});});}),_0x44b3ef[_0x4060('0x2a')]['registerDescriptionCallback'](_0x41f1c3=>{if(!!_0x57fc18[_0x4060('0x11')](({type:_0x3bdd79,subType:_0x20d3d4})=>_0x41f1c3[_0x4060('0x1d')]==_0x3bdd79&&_0x41f1c3['subType']==_0x20d3d4))return _0x41f1c3[_0x4060('0x27')]?{}:void 0x0;}),_0x44b3ef[_0x4060('0x2a')][_0x4060('0x4e')](_0x37dc3c=>{if(_0x4060('0x78')==_0x37dc3c[_0x4060('0x1d')]||_0x4060('0x75')==_0x37dc3c['type']){const _0x4a59d5=_0x37dc3c[_0x4060('0x43')]();if(_0x4a59d5&&_0x4a59d5['is'](_0x4060('0x58'),_0x4060('0x5e')))return{'type':_0x4060('0x78')==_0x37dc3c[_0x4060('0x1d')]?'addObject':_0x4060('0x62'),'element':_0x4a59d5,'quantity':0x1};}}),_0x44b3ef[_0x4060('0x2a')][_0x4060('0x4e')](_0x3e00ed=>'formatBlock'==_0x3e00ed['type']&&_0x4060('0xd')==_0x3e00ed[_0x4060('0x35')]?{'type':_0x4060('0x5c'),'content':'Inline\x20image\x20to\x20block\x20image'}:_0x4060('0x30')==_0x3e00ed[_0x4060('0x1d')]&&_0x4060('0x40')==_0x3e00ed[_0x4060('0x35')]?{'type':'format','content':_0x4060('0x55')}:void 0x0),_0x44b3ef[_0x4060('0x2a')][_0x4060('0x4e')](_0x50bfcc=>{const {data:_0x232fe4}=_0x50bfcc;if(_0x232fe4){if(_0x4060('0x2b')==_0x232fe4['commandName']){const _0x23e9c1=_0x232fe4['commandParams'][0x0][_0x4060('0x73')];return _0x172b1b(_0x4060('0x33')===_0x23e9c1?_0x4816c5(_0x2967f5,_0x4060('0x2')):_0x49da06[_0x23e9c1]||_0x23e9c1);}if(_0x4060('0x16')==_0x232fe4[_0x4060('0x72')]){const _0xcd0453=_0x232fe4[_0x4060('0x12')][0x0][_0x4060('0xf')];return _0xcd0453?{'type':_0x4060('0x5c'),'content':_0x4816c5(_0x2967f5,'*Set\x20image\x20text\x20alternative:*\x20%0','\x22'+_0xcd0453+'\x22')}:{'type':_0x4060('0x5c'),'content':_0x4816c5(_0x2967f5,_0x4060('0x6f'))};}if('resizeImage'==_0x232fe4['commandName']){const _0xdfb94=_0x232fe4[_0x4060('0x12')][0x0][_0x4060('0x45')];return _0xdfb94?{'type':_0x4060('0x5c'),'content':_0x4816c5(_0x2967f5,'*Set\x20image\x20width:*\x20%0',_0xdfb94)}:{'type':_0x4060('0x5c'),'content':_0x4816c5(_0x2967f5,_0x4060('0x6b'))};}}function _0x172b1b(_0x2457f8){return{'type':'format','content':_0x4816c5(_0x2967f5,_0x4060('0x22'),_0x2457f8)};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x23ae=['enableCommand','lowest','bind','dataInsert','get','forEach','importWord','collaboration_features','_trackChangesExecuted','_trackChangesValueDuringImport','high','_setSuggestionData','execute','Users','editor','TrackChangesEditing','trackChanges','value','_handleImportedData','commands','listenTo','plugins'];(function(_0x387045,_0x23ae59){const _0x21943d=function(_0x4b22cf){while(--_0x4b22cf){_0x387045['push'](_0x387045['shift']());}};_0x21943d(++_0x23ae59);}(_0x23ae,0x151));const _0x2194=function(_0x387045,_0x23ae59){_0x387045=_0x387045-0x0;let _0x21943d=_0x23ae[_0x387045];return _0x21943d;};import{Plugin as _0x536aa7}from'ckeditor5/src/core';import _0x3c4492 from'../trackchangesediting';export default class X extends _0x536aa7{constructor(_0x7939d2){super(_0x7939d2),this[_0x2194('0x2')]=!0x1,this[_0x2194('0x1')]=!0x1;}['afterInit'](){const _0x16d0e9=this[_0x2194('0x7')],_0x234082=_0x16d0e9[_0x2194('0xc')]['get'](_0x2194('0x15')),_0x5978e7=_0x16d0e9[_0x2194('0xc')]['get'](_0x2194('0x9'));_0x234082&&(_0x234082['on']('execute',(_0x39ddac,[,_0x3fa3b0])=>{this[_0x2194('0x2')]=_0x5978e7[_0x2194('0xa')],_0x3fa3b0[_0x2194('0x0')]['track_changes']=!this[_0x2194('0x2')];},{'priority':_0x2194('0x3')}),this[_0x2194('0xd')](_0x234082,_0x2194('0x12'),this[_0x2194('0xb')][_0x2194('0x11')](this)),this[_0x2194('0xd')](_0x234082,_0x2194('0x12'),()=>{this['_trackChangesExecuted']&&(_0x5978e7[_0x2194('0x5')](),this['_trackChangesExecuted']=!0x1);},{'priority':_0x2194('0x10')}),_0x16d0e9['plugins'][_0x2194('0x13')](_0x2194('0x8'))[_0x2194('0xf')](_0x2194('0x15')));}[_0x2194('0xb')](_0x2c78a7,_0x9cd0da){const {suggestions:_0x7a5e53}=_0x9cd0da,_0x30b8e3=this[_0x2194('0x7')][_0x2194('0xc')]['get'](_0x2194('0x9')),_0x82e506=_0x30b8e3[_0x2194('0xa')];this[_0x2194('0x2')]!==_0x82e506&&(_0x30b8e3[_0x2194('0x5')](),this['_trackChangesExecuted']=!0x0),_0x7a5e53&&_0x7a5e53[_0x2194('0x14')](({id:_0x25f9ff,type:_0x2a5188,author:_0x2cfafe,created_at:_0x4aecc5})=>{const _0x13dad3={'id':_0x25f9ff,'type':_0x2a5188,'authorId':this[_0x2194('0x7')][_0x2194('0xe')][_0x2194('0x13')](_0x2194('0x6'))['me']['id'],'createdAt':new Date(),'data':{},'hasComments':!0x1,'attributes':{'@external':{'authorName':_0x2cfafe,'createdAt':_0x4aecc5?new Date(_0x4aecc5):new Date(),'source':_0x2194('0x15')}}};this[_0x2194('0x7')][_0x2194('0xe')][_0x2194('0x13')](_0x3c4492)[_0x2194('0x4')](_0x13dad3);});}}
23
+ const _0x1e7f=['_handleImportedData','value','TrackChangesEditing','importWord','high','_trackChangesValueDuringImport','editor','execute','enableCommand','_trackChangesExecuted','plugins','bind','forEach','dataInsert','afterInit','get','lowest','_setSuggestionData','listenTo','commands','trackChanges'];(function(_0x1a8101,_0x1e7f2f){const _0x545c5a=function(_0x1366a0){while(--_0x1366a0){_0x1a8101['push'](_0x1a8101['shift']());}};_0x545c5a(++_0x1e7f2f);}(_0x1e7f,0xd3));const _0x545c=function(_0x1a8101,_0x1e7f2f){_0x1a8101=_0x1a8101-0x0;let _0x545c5a=_0x1e7f[_0x1a8101];return _0x545c5a;};import{Plugin as _0x549835}from'ckeditor5/src/core';import _0x3719a0 from'../trackchangesediting';export default class Y extends _0x549835{constructor(_0x1f3012){super(_0x1f3012),this[_0x545c('0x4')]=!0x1,this['_trackChangesExecuted']=!0x1;}[_0x545c('0xd')](){const _0xcf4aaf=this[_0x545c('0x5')],_0xc2fabc=_0xcf4aaf['commands']['get'](_0x545c('0x2')),_0x14a8f9=_0xcf4aaf[_0x545c('0x12')][_0x545c('0xe')]('trackChanges');_0xc2fabc&&(_0xc2fabc['on'](_0x545c('0x6'),(_0x4cf92d,[,_0x206542])=>{this['_trackChangesValueDuringImport']=_0x14a8f9[_0x545c('0x0')],_0x206542['collaboration_features']['track_changes']=!this[_0x545c('0x4')];},{'priority':_0x545c('0x3')}),this[_0x545c('0x11')](_0xc2fabc,_0x545c('0xc'),this['_handleImportedData'][_0x545c('0xa')](this)),this['listenTo'](_0xc2fabc,_0x545c('0xc'),()=>{this['_trackChangesExecuted']&&(_0x14a8f9[_0x545c('0x6')](),this[_0x545c('0x8')]=!0x1);},{'priority':_0x545c('0xf')}),_0xcf4aaf[_0x545c('0x9')][_0x545c('0xe')](_0x545c('0x1'))[_0x545c('0x7')](_0x545c('0x2')));}[_0x545c('0x14')](_0xae8537,_0x2e23be){const {suggestions:_0x1e6ab2}=_0x2e23be,_0x2d96eb=this[_0x545c('0x5')][_0x545c('0x12')]['get'](_0x545c('0x13')),_0x1df447=_0x2d96eb[_0x545c('0x0')];this[_0x545c('0x4')]!==_0x1df447&&(_0x2d96eb[_0x545c('0x6')](),this[_0x545c('0x8')]=!0x0),_0x1e6ab2&&_0x1e6ab2[_0x545c('0xb')](({id:_0xbf0db1,type:_0x57fdc6,author:_0x382271,created_at:_0xf3a00c})=>{const _0x2d2f40={'id':_0xbf0db1,'type':_0x57fdc6,'authorId':this[_0x545c('0x5')][_0x545c('0x9')][_0x545c('0xe')]('Users')['me']['id'],'createdAt':new Date(),'data':{},'hasComments':!0x1,'attributes':{'@external':{'authorName':_0x382271,'createdAt':_0xf3a00c?new Date(_0xf3a00c):new Date(),'source':'importWord'}}};this['editor']['plugins'][_0x545c('0xe')](_0x3719a0)[_0x545c('0x10')](_0x2d2f40);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x20d6=['enableCommand','registerDescriptionCallback','indent','afterInit','getItems','filter','blockIndent','_descriptionFactory','document','outdentBlock','markBlockFormat','commandName','model','editor','from','indentBlock','IndentEditing','schema','getItemLabel','locale','plugins','*Outdent:*\x20%0','has','getSelectedBlocks','outdent'];(function(_0x86a36d,_0x20d6fd){const _0x28ecb7=function(_0x2ff42f){while(--_0x2ff42f){_0x86a36d['push'](_0x86a36d['shift']());}};_0x28ecb7(++_0x20d6fd);}(_0x20d6,0x87));const _0x28ec=function(_0x86a36d,_0x20d6fd){_0x86a36d=_0x86a36d-0x0;let _0x28ecb7=_0x20d6[_0x86a36d];return _0x28ecb7;};import{Plugin as _0x3a56cd}from'ckeditor5/src/core';import{getTranslation as _0x257ae8}from'../utils/common-translations';export default class Y extends _0x3a56cd{[_0x28ec('0x12')](){const _0x354bc9=this['editor'],_0x115de8=_0x354bc9[_0x28ec('0xa')]['get']('TrackChangesEditing');_0x354bc9[_0x28ec('0xa')]['has'](_0x28ec('0x6'))&&(_0x115de8[_0x28ec('0xf')](_0x28ec('0x11')),_0x115de8[_0x28ec('0xf')](_0x28ec('0xe')));const _0x886203=_0x354bc9[_0x28ec('0x9')];if(_0x354bc9['plugins'][_0x28ec('0xc')]('IndentBlock')){for(const _0x1a08ee of[_0x28ec('0x5'),_0x28ec('0x18')])_0x115de8[_0x28ec('0xf')](_0x1a08ee,()=>{const _0x2783e1=Array[_0x28ec('0x4')](this[_0x28ec('0x3')][_0x28ec('0x2')][_0x28ec('0x17')]['selection'][_0x28ec('0xd')]())[_0x28ec('0x14')](_0x235271=>this['editor'][_0x28ec('0x2')][_0x28ec('0x7')]['checkAttribute'](_0x235271,_0x28ec('0x15')));_0x354bc9[_0x28ec('0x2')]['change'](()=>{for(const _0x47bfc0 of _0x2783e1)_0x115de8[_0x28ec('0x0')](_0x47bfc0,{'commandName':_0x1a08ee,'commandParams':[{'value':''}],'formatGroupId':_0x28ec('0x5')});});});_0x115de8['_descriptionFactory'][_0x28ec('0x10')](_0x3ad412=>{const {data:_0x5a1743}=_0x3ad412;if(!_0x5a1743)return;if(_0x28ec('0x5')!=_0x5a1743[_0x28ec('0x1')]&&'outdentBlock'!=_0x5a1743['commandName'])return;const _0x14994d=_0x3ad412[_0x28ec('0x13')]()[0x0],_0x213810=_0x115de8[_0x28ec('0x16')][_0x28ec('0x8')](_0x14994d);return _0x28ec('0x5')==_0x5a1743['commandName']?{'type':'format','content':_0x257ae8(_0x886203,'*Indent:*\x20%0',_0x213810)}:'outdentBlock'==_0x5a1743['commandName']?{'type':'format','content':_0x257ae8(_0x886203,_0x28ec('0xb'),_0x213810)}:void 0x0;});}}}
23
+ const _0x510d=['from','afterInit','outdent','filter','get','_descriptionFactory','blockIndent','getItems','getItemLabel','enableCommand','getSelectedBlocks','*Outdent:*\x20%0','registerDescriptionCallback','editor','selection','format','checkAttribute','document','model','*Indent:*\x20%0','indent','plugins','IndentBlock','outdentBlock','change','has','schema','commandName','indentBlock','IndentEditing'];(function(_0x1f5d77,_0x510d21){const _0x207177=function(_0x4b83f6){while(--_0x4b83f6){_0x1f5d77['push'](_0x1f5d77['shift']());}};_0x207177(++_0x510d21);}(_0x510d,0xe7));const _0x2071=function(_0x1f5d77,_0x510d21){_0x1f5d77=_0x1f5d77-0x0;let _0x207177=_0x510d[_0x1f5d77];return _0x207177;};import{Plugin as _0x17ca07}from'ckeditor5/src/core';import{getTranslation as _0x27050b}from'../utils/common-translations';export default class Z extends _0x17ca07{[_0x2071('0xa')](){const _0x19f872=this[_0x2071('0x16')],_0x17813c=_0x19f872[_0x2071('0x0')][_0x2071('0xd')]('TrackChangesEditing');_0x19f872[_0x2071('0x0')][_0x2071('0x4')](_0x2071('0x8'))&&(_0x17813c[_0x2071('0x12')](_0x2071('0x1d')),_0x17813c[_0x2071('0x12')](_0x2071('0xb')));const _0x3f6947=_0x19f872['locale'];if(_0x19f872['plugins'][_0x2071('0x4')](_0x2071('0x1'))){for(const _0x4465c8 of['indentBlock',_0x2071('0x2')])_0x17813c[_0x2071('0x12')](_0x4465c8,()=>{const _0x2f4728=Array[_0x2071('0x9')](this[_0x2071('0x16')][_0x2071('0x1b')][_0x2071('0x1a')][_0x2071('0x17')][_0x2071('0x13')]())[_0x2071('0xc')](_0x13b7fa=>this[_0x2071('0x16')][_0x2071('0x1b')][_0x2071('0x5')][_0x2071('0x19')](_0x13b7fa,_0x2071('0xf')));_0x19f872[_0x2071('0x1b')][_0x2071('0x3')](()=>{for(const _0x9f1a0c of _0x2f4728)_0x17813c['markBlockFormat'](_0x9f1a0c,{'commandName':_0x4465c8,'commandParams':[{'value':''}],'formatGroupId':'indentBlock'});});});_0x17813c[_0x2071('0xe')][_0x2071('0x15')](_0x127c04=>{const {data:_0x265f1b}=_0x127c04;if(!_0x265f1b)return;if(_0x2071('0x7')!=_0x265f1b[_0x2071('0x6')]&&'outdentBlock'!=_0x265f1b[_0x2071('0x6')])return;const _0x4a5cd1=_0x127c04[_0x2071('0x10')]()[0x0],_0x7c9a54=_0x17813c[_0x2071('0xe')][_0x2071('0x11')](_0x4a5cd1);return _0x2071('0x7')==_0x265f1b[_0x2071('0x6')]?{'type':_0x2071('0x18'),'content':_0x27050b(_0x3f6947,_0x2071('0x1c'),_0x7c9a54)}:'outdentBlock'==_0x265f1b[_0x2071('0x6')]?{'type':_0x2071('0x18'),'content':_0x27050b(_0x3f6947,_0x2071('0x14'),_0x7c9a54)}:void 0x0;});}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x58a9=['init','editor','input','enableCommand','requires'];(function(_0x43d6f7,_0x58a97f){var _0x395add=function(_0x3ec26b){while(--_0x3ec26b){_0x43d6f7['push'](_0x43d6f7['shift']());}};_0x395add(++_0x58a97f);}(_0x58a9,0x181));var _0x395a=function(_0x43d6f7,_0x58a97f){_0x43d6f7=_0x43d6f7-0x0;var _0x395add=_0x58a9[_0x43d6f7];return _0x395add;};import{Plugin as _0x7765c4}from'ckeditor5/src/core';import{Input as _0x49fbf4}from'ckeditor5/src/typing';export default class Z extends _0x7765c4{static get[_0x395a('0x4')](){return[_0x49fbf4];}[_0x395a('0x0')](){this[_0x395a('0x1')]['plugins']['get']('TrackChangesEditing')[_0x395a('0x3')](_0x395a('0x2'));}}
23
+ var _0x5751=['TrackChangesEditing','requires','get','input','enableCommand','plugins'];(function(_0xf770e3,_0x5751a3){var _0x1715c4=function(_0x3ad88f){while(--_0x3ad88f){_0xf770e3['push'](_0xf770e3['shift']());}};_0x1715c4(++_0x5751a3);}(_0x5751,0xa4));var _0x1715=function(_0xf770e3,_0x5751a3){_0xf770e3=_0xf770e3-0x0;var _0x1715c4=_0x5751[_0xf770e3];return _0x1715c4;};import{Plugin as _0xaa715e}from'ckeditor5/src/core';import{Input as _0xb34bf5}from'ckeditor5/src/typing';export default class tt extends _0xaa715e{static get[_0x1715('0x5')](){return[_0xb34bf5];}['init'](){this['editor'][_0x1715('0x3')][_0x1715('0x0')](_0x1715('0x4'))[_0x1715('0x2')](_0x1715('0x1'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x16d3=['locale','plugins','model','enableCommand','from','getFirstRange','getFirstPosition','getAttribute','markInlineFormat','unlink','*Remove\x20link*','link','selection','has','afterInit','format','TrackChangesEditing','commandParams','change','get','commandName','document','*Set\x20link:*\x20%0','linkHref','_descriptionFactory','getRanges'];(function(_0x349e88,_0x16d3fd){const _0x241712=function(_0x596e96){while(--_0x596e96){_0x349e88['push'](_0x349e88['shift']());}};_0x241712(++_0x16d3fd);}(_0x16d3,0x141));const _0x2417=function(_0x349e88,_0x16d3fd){_0x349e88=_0x349e88-0x0;let _0x241712=_0x16d3[_0x349e88];return _0x241712;};import{Plugin as _0x4a29fc}from'ckeditor5/src/core';import{findAttributeRange as _0x814acc}from'ckeditor5/src/typing';import{getRangesWithAttribute as _0x231c4b}from'./utils';import{getTranslation as _0x4d9127}from'../utils/common-translations';export default class tt extends _0x4a29fc{[_0x2417('0x5')](){const _0x469a55=this['editor'];if(!_0x469a55[_0x2417('0x12')][_0x2417('0x4')]('LinkEditing'))return;const _0x2fb658=_0x469a55[_0x2417('0x12')][_0x2417('0xa')](_0x2417('0x7'));_0x2fb658[_0x2417('0x14')]('link',(_0x374199,_0x1480ac)=>{const _0x44a367=_0x469a55[_0x2417('0x13')][_0x2417('0xc')][_0x2417('0x3')];let _0x4fd168=[];if(_0x44a367['isCollapsed']){if(!_0x44a367['hasAttribute'](_0x2417('0xe')))return void _0x374199(_0x1480ac);{const _0x261831=_0x814acc(_0x44a367[_0x2417('0x17')](),'linkHref',_0x44a367[_0x2417('0x18')](_0x2417('0xe')),_0x469a55[_0x2417('0x13')]);_0x4fd168=[_0x261831];}}else _0x4fd168=Array[_0x2417('0x15')](_0x44a367[_0x2417('0x10')]());_0x469a55[_0x2417('0x13')][_0x2417('0x9')](()=>{for(const _0xea0ee of _0x4fd168)_0x2fb658[_0x2417('0x19')](_0xea0ee,{'commandName':'link','commandParams':[_0x1480ac]});});}),_0x2fb658[_0x2417('0x14')]('unlink',()=>{const _0x36107a=this['editor'][_0x2417('0x13')],_0x4d86d6=_0x36107a[_0x2417('0xc')][_0x2417('0x3')];_0x36107a[_0x2417('0x9')](()=>{let _0x575aaf=[];if(_0x4d86d6['isCollapsed'])_0x575aaf=[_0x814acc(_0x4d86d6['getFirstPosition'](),_0x2417('0xe'),_0x4d86d6[_0x2417('0x18')](_0x2417('0xe')),_0x469a55[_0x2417('0x13')])];else _0x575aaf=_0x231c4b(_0x2417('0xe'),_0x4d86d6[_0x2417('0x16')](),_0x469a55[_0x2417('0x13')]);for(const _0x17b01a of _0x575aaf)_0x2fb658['markInlineFormat'](_0x17b01a,{'commandName':_0x2417('0x0'),'commandParams':[]});});}),_0x2fb658[_0x2417('0xf')]['registerDescriptionCallback'](_0x475795=>{const {data:_0x6b8acd}=_0x475795,_0x2512fd=_0x469a55[_0x2417('0x11')];if(_0x6b8acd){if(_0x2417('0x2')==_0x6b8acd[_0x2417('0xb')]){const _0x2efb7e=_0x6b8acd[_0x2417('0x8')][0x0];return{'type':_0x2417('0x6'),'content':_0x4d9127(_0x2512fd,_0x2417('0xd'),'\x22'+_0x2efb7e+'\x22')};}return _0x2417('0x0')==_0x6b8acd[_0x2417('0xb')]?{'type':_0x2417('0x6'),'content':_0x4d9127(_0x2512fd,_0x2417('0x1'))}:void 0x0;}});}}
23
+ const _0x3b48=['editor','locale','isCollapsed','linkHref','getAttribute','*Set\x20link:*\x20%0','from','TrackChangesEditing','getFirstRange','commandName','hasAttribute','selection','markInlineFormat','_descriptionFactory','link','model','plugins','registerDescriptionCallback','has','enableCommand','get','format','unlink','commandParams','LinkEditing','change','getRanges','document','getFirstPosition'];(function(_0x22244a,_0x3b4894){const _0x2075e6=function(_0x2c46de){while(--_0x2c46de){_0x22244a['push'](_0x22244a['shift']());}};_0x2075e6(++_0x3b4894);}(_0x3b48,0xf3));const _0x2075=function(_0x22244a,_0x3b4894){_0x22244a=_0x22244a-0x0;let _0x2075e6=_0x3b48[_0x22244a];return _0x2075e6;};import{Plugin as _0x2dfd4f}from'ckeditor5/src/core';import{findAttributeRange as _0x3f861b}from'ckeditor5/src/typing';import{getRangesWithAttribute as _0x2633d0}from'./utils';import{getTranslation as _0x1da643}from'../utils/common-translations';export default class it extends _0x2dfd4f{['afterInit'](){const _0x2c3f83=this[_0x2075('0x12')];if(!_0x2c3f83[_0x2075('0x5')][_0x2075('0x7')](_0x2075('0xd')))return;const _0x4371b6=_0x2c3f83[_0x2075('0x5')][_0x2075('0x9')](_0x2075('0x19'));_0x4371b6['enableCommand'](_0x2075('0x3'),(_0x5eff61,_0x4173f9)=>{const _0x526eac=_0x2c3f83['model'][_0x2075('0x10')][_0x2075('0x0')];let _0x3f6bc4=[];if(_0x526eac['isCollapsed']){if(!_0x526eac[_0x2075('0x1c')](_0x2075('0x15')))return void _0x5eff61(_0x4173f9);{const _0x4baf30=_0x3f861b(_0x526eac['getFirstPosition'](),_0x2075('0x15'),_0x526eac[_0x2075('0x16')](_0x2075('0x15')),_0x2c3f83[_0x2075('0x4')]);_0x3f6bc4=[_0x4baf30];}}else _0x3f6bc4=Array[_0x2075('0x18')](_0x526eac[_0x2075('0xf')]());_0x2c3f83[_0x2075('0x4')]['change'](()=>{for(const _0x525b13 of _0x3f6bc4)_0x4371b6[_0x2075('0x1')](_0x525b13,{'commandName':_0x2075('0x3'),'commandParams':[_0x4173f9]});});}),_0x4371b6[_0x2075('0x8')](_0x2075('0xb'),()=>{const _0xf66cd6=this[_0x2075('0x12')]['model'],_0x456048=_0xf66cd6[_0x2075('0x10')][_0x2075('0x0')];_0xf66cd6[_0x2075('0xe')](()=>{let _0x181ae2=[];if(_0x456048[_0x2075('0x14')])_0x181ae2=[_0x3f861b(_0x456048[_0x2075('0x11')](),_0x2075('0x15'),_0x456048['getAttribute'](_0x2075('0x15')),_0x2c3f83[_0x2075('0x4')])];else _0x181ae2=_0x2633d0(_0x2075('0x15'),_0x456048[_0x2075('0x1a')](),_0x2c3f83[_0x2075('0x4')]);for(const _0x55d27f of _0x181ae2)_0x4371b6[_0x2075('0x1')](_0x55d27f,{'commandName':_0x2075('0xb'),'commandParams':[]});});}),_0x4371b6[_0x2075('0x2')][_0x2075('0x6')](_0x5916be=>{const {data:_0x2b24dd}=_0x5916be,_0x4d91e0=_0x2c3f83[_0x2075('0x13')];if(_0x2b24dd){if('link'==_0x2b24dd[_0x2075('0x1b')]){const _0x5ad27e=_0x2b24dd[_0x2075('0xc')][0x0];return{'type':'format','content':_0x1da643(_0x4d91e0,_0x2075('0x17'),'\x22'+_0x5ad27e+'\x22')};}return _0x2075('0xb')==_0x2b24dd['commandName']?{'type':_0x2075('0xa'),'content':_0x1da643(_0x4d91e0,'*Remove\x20link*')}:void 0x0;}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x51d3=['commandName','ListEditing','replace','length','_selectedElements','get','add','*Check\x20item*','forceValue','*Indent:*\x20%0','todoList','plugins','ELEMENT_NUMBERED_LIST','outdentList','value','ELEMENT_LIST_ITEM','TrackChangesEditing','_descriptionFactory','indentList','format','listIndent','todoListChecked','has','paragraph','listItem','ELEMENT_TODO_LIST','locale','before','todo','checkTodoList','afterInit','schema','findIndex','document','getSelectedBlocks','numberedList','slice','markBlockFormat','registerDescriptionCallback','createPositionAt','previousSibling','model','commands','isObject','List','from','enableCommand','numbered','bulletedList','parent','listType','getAttribute','checkChild','name','end','change','ELEMENT_BULLETED_LIST','element','nextSibling','bulleted','createRange'];(function(_0xd8699f,_0x51d3ad){const _0x4cdcb4=function(_0x2644e0){while(--_0x2644e0){_0xd8699f['push'](_0xd8699f['shift']());}};_0x4cdcb4(++_0x51d3ad);}(_0x51d3,0x9c));const _0x4cdc=function(_0xd8699f,_0x51d3ad){_0xd8699f=_0xd8699f-0x0;let _0x4cdcb4=_0x51d3[_0xd8699f];return _0x4cdcb4;};import{Plugin as _0x2232da}from'ckeditor5/src/core';import{getTranslation as _0x4399ff}from'../utils/common-translations';export default class it extends _0x2232da{[_0x4cdc('0x39')](){const _0x34ac2e=this['editor'],_0x108159=_0x34ac2e[_0x4cdc('0x35')];if(!_0x34ac2e[_0x4cdc('0x26')][_0x4cdc('0x31')](_0x4cdc('0x1c')))return;const _0x23f0f2=_0x34ac2e['plugins']['get'](_0x4cdc('0x2b')),_0x5b4584=_0x34ac2e[_0x4cdc('0x26')]['has']('TodoListEditing');function _0x194580(_0xefc7c6){return()=>{const _0x46bcee=_0x34ac2e[_0x4cdc('0x7')]['document']['selection'],_0x47ee35=_0x34ac2e[_0x4cdc('0x8')][_0x4cdc('0x20')](_0xefc7c6);if(_0x47ee35[_0x4cdc('0x29')])return void _0x34ac2e['execute'](_0x4cdc('0x32'),{});const _0x1ebefc=_0xefc7c6[_0x4cdc('0x2')](0x0,-0x4),_0xc3ddb6=function(_0x36b40f,_0x5e7605,_0x520b34){let _0x3d4e19=Array[_0x4cdc('0xb')](_0x36b40f)['filter'](_0x5d5ad2=>function(_0x2c7db9,_0x3d7b99){return _0x3d7b99[_0x4cdc('0x12')](_0x2c7db9[_0x4cdc('0xf')],'listItem')&&!_0x3d7b99[_0x4cdc('0x9')](_0x2c7db9);}(_0x5d5ad2,_0x520b34));_0x3d4e19=_0x3d4e19['filter'](_0x55e0e3=>!_0x55e0e3['is'](_0x4cdc('0x17'),_0x4cdc('0x33'))||_0x55e0e3['getAttribute'](_0x4cdc('0x10'))!=_0x5e7605);const _0x5ccc82=new Set();for(const _0x2d906e of _0x3d4e19)_0x2d906e['is'](_0x4cdc('0x17'),_0x4cdc('0x33'))?_0x5ccc82[_0x4cdc('0x21')](Pt(_0x2d906e)):_0x5ccc82[_0x4cdc('0x21')](_0x2d906e);return Array[_0x4cdc('0xb')](_0x5ccc82);}(_0x46bcee[_0x4cdc('0x0')](),_0x1ebefc,_0x34ac2e[_0x4cdc('0x7')][_0x4cdc('0x3a')]);_0x34ac2e[_0x4cdc('0x7')][_0x4cdc('0x15')](()=>{for(const _0x3c2f34 of _0xc3ddb6)_0x23f0f2[_0x4cdc('0x3')](_0x3c2f34,{'commandName':_0xefc7c6,'commandParams':[{'forceValue':!_0x47ee35['value']}],'formatGroupId':'blockName'},Gt(_0x3c2f34));});};}function _0x5263c8(_0x3d159a){return()=>{const _0x4f808b=function(_0x549b34){const _0x48f115=(_0x549b34=Array[_0x4cdc('0xb')](_0x549b34))[_0x4cdc('0x3b')](_0x2849fe=>_0x4cdc('0x33')!=_0x2849fe[_0x4cdc('0x13')]);return _0x48f115>-0x1&&(_0x549b34=_0x549b34[_0x4cdc('0x2')](0x0,_0x48f115)),_0x549b34;}(_0x34ac2e[_0x4cdc('0x7')][_0x4cdc('0x3c')]['selection'][_0x4cdc('0x0')]()),_0x21d9e8=_0x34ac2e[_0x4cdc('0x7')][_0x4cdc('0x1a')](_0x34ac2e[_0x4cdc('0x7')][_0x4cdc('0x5')](_0x4f808b[0x0],_0x4cdc('0x36')),_0x34ac2e[_0x4cdc('0x7')][_0x4cdc('0x5')](_0x4f808b[_0x4f808b[_0x4cdc('0x1e')]-0x1],_0x4cdc('0x14')));_0x34ac2e['model']['change'](()=>{_0x23f0f2['markBlockFormat'](_0x21d9e8,{'commandName':_0x3d159a,'commandParams':[],'formatGroupId':_0x4cdc('0x2f')},function(_0x1045a9){const _0x39d66c=new Set();for(const _0x5846c0 of _0x1045a9){let _0x286edf=_0x5846c0[_0x4cdc('0x18')];for(;_0x286edf&&_0x286edf[_0x4cdc('0x11')](_0x4cdc('0x2f'))>_0x5846c0[_0x4cdc('0x11')](_0x4cdc('0x2f'));)_0x39d66c['add'](_0x286edf),_0x286edf=_0x286edf[_0x4cdc('0x18')];}return Array[_0x4cdc('0xb')](_0x39d66c);}(_0x4f808b));});};}_0x23f0f2['enableCommand'](_0x4cdc('0x1'),_0x194580(_0x4cdc('0x1'))),_0x23f0f2['enableCommand'](_0x4cdc('0xe'),_0x194580(_0x4cdc('0xe'))),_0x5b4584&&_0x23f0f2['enableCommand'](_0x4cdc('0x25'),_0x194580(_0x4cdc('0x25'))),_0x23f0f2['enableCommand'](_0x4cdc('0x2d'),_0x5263c8('indentList')),_0x23f0f2['enableCommand'](_0x4cdc('0x28'),_0x5263c8('outdentList')),_0x5b4584&&_0x23f0f2[_0x4cdc('0xc')](_0x4cdc('0x38'),()=>{const _0x2394b7=_0x34ac2e['commands'][_0x4cdc('0x20')](_0x4cdc('0x38')),_0x5876ca=Array[_0x4cdc('0xb')](_0x2394b7[_0x4cdc('0x1f')]);_0x5876ca['filter'](_0x2c3bac=>_0x2c3bac[_0x4cdc('0x11')](_0x4cdc('0x30'))!=_0x2394b7[_0x4cdc('0x29')]),_0x34ac2e[_0x4cdc('0x7')][_0x4cdc('0x15')](()=>{for(const _0x2847b5 of _0x5876ca)_0x23f0f2[_0x4cdc('0x3')](_0x2847b5,{'commandName':_0x4cdc('0x38'),'commandParams':[{'forceValue':!_0x2394b7[_0x4cdc('0x29')]}]});});}),_0x23f0f2[_0x4cdc('0x2c')]['registerElementLabel'](_0x4cdc('0x33'),_0x558cf3=>_0x4399ff(_0x108159,_0x4cdc('0x2a'),_0x558cf3)),_0x23f0f2[_0x4cdc('0x2c')][_0x4cdc('0x4')](_0x4b7d7f=>{const {data:_0x151a61}=_0x4b7d7f;if(_0x151a61){if(_0x4cdc('0x1')==_0x151a61[_0x4cdc('0x1b')]||_0x4cdc('0xe')==_0x151a61['commandName']||'todoList'==_0x151a61[_0x4cdc('0x1b')])switch(_0x151a61[_0x4cdc('0x1b')][_0x4cdc('0x1d')](_0x4cdc('0xa'),'')){case _0x4cdc('0x19'):return _0x22e5e9(_0x4399ff(_0x108159,_0x4cdc('0x16')));case _0x4cdc('0xd'):return _0x22e5e9(_0x4399ff(_0x108159,_0x4cdc('0x27')));case _0x4cdc('0x37'):return _0x22e5e9(_0x4399ff(_0x108159,_0x4cdc('0x34')));}if(_0x4cdc('0x2d')==_0x151a61[_0x4cdc('0x1b')])return{'type':_0x4cdc('0x2e'),'content':_0x4399ff(_0x108159,_0x4cdc('0x24'),_0x4399ff(_0x108159,'ELEMENT_LIST_ITEM'))};if('outdentList'==_0x151a61[_0x4cdc('0x1b')])return{'type':'format','content':_0x4399ff(_0x108159,'*Outdent:*\x20%0',_0x4399ff(_0x108159,_0x4cdc('0x2a')))};if(_0x4cdc('0x38')==_0x151a61[_0x4cdc('0x1b')])return _0x151a61['commandParams'][0x0][_0x4cdc('0x23')]?{'type':_0x4cdc('0x2e'),'content':_0x4399ff(_0x108159,_0x4cdc('0x22'))}:{'type':_0x4cdc('0x2e'),'content':_0x4399ff(_0x108159,'*Uncheck\x20item*')};}function _0x22e5e9(_0x278dd0){return{'type':_0x4cdc('0x2e'),'content':_0x4399ff(_0x108159,'*Change\x20to:*\x20%0',_0x278dd0)};}});}}function Pt(_0x46bcf0){const _0x9564a8=_0x46bcf0[_0x4cdc('0x11')](_0x4cdc('0x2f'));if(0x0==_0x9564a8)return _0x46bcf0;let _0x18b9bc=_0x46bcf0;for(;_0x46bcf0['previousSibling']&&_0x46bcf0['previousSibling']['is'](_0x4cdc('0x17'),_0x4cdc('0x33'));){const _0x2fb3ee=_0x46bcf0['previousSibling'][_0x4cdc('0x11')]('listIndent');if(_0x2fb3ee==_0x9564a8)_0x18b9bc=_0x46bcf0[_0x4cdc('0x6')];else{if(_0x2fb3ee<_0x9564a8)break;}_0x46bcf0=_0x46bcf0[_0x4cdc('0x6')];}return _0x18b9bc;}function Gt(_0x27812d){const _0x5e5f37=[];if(_0x27812d['is'](_0x4cdc('0x17'),'listItem')&&_0x27812d[_0x4cdc('0x11')](_0x4cdc('0x2f'))>0x0){let _0x4a38e5=_0x27812d[_0x4cdc('0x18')];for(;_0x4a38e5&&_0x4cdc('0x33')==_0x4a38e5['name']&&_0x4a38e5['getAttribute']('listIndent')==_0x27812d[_0x4cdc('0x11')](_0x4cdc('0x2f'));)_0x5e5f37['push'](_0x4a38e5),_0x4a38e5=_0x4a38e5[_0x4cdc('0x18')];}return _0x5e5f37;}
23
+ const _0xfdea=['createPositionAt','getAttribute','registerElementLabel','indentList','numberedList','ELEMENT_NUMBERED_LIST','todoList','checkChild','afterInit','createRange','listIndent','previousSibling','numbered','bulletedList','end','*Uncheck\x20item*','listItem','List','has','length','filter','get','_descriptionFactory','markBlockFormat','commands','paragraph','value','plugins','ListEditing','before','TodoListEditing','*Change\x20to:*\x20%0','enableCommand','format','todoListChecked','blockName','findIndex','name','push','selection','from','TrackChangesEditing','execute','checkTodoList','element','change','outdentList','document','isObject','slice','commandName','todo','add','ELEMENT_LIST_ITEM','replace','editor','getSelectedBlocks','bulleted','*Outdent:*\x20%0','schema','registerDescriptionCallback','model','nextSibling'];(function(_0x5677e5,_0xfdea83){const _0x24d0fe=function(_0x4bafae){while(--_0x4bafae){_0x5677e5['push'](_0x5677e5['shift']());}};_0x24d0fe(++_0xfdea83);}(_0xfdea,0x1cf));const _0x24d0=function(_0x5677e5,_0xfdea83){_0x5677e5=_0x5677e5-0x0;let _0x24d0fe=_0xfdea[_0x5677e5];return _0x24d0fe;};import{Plugin as _0x3904b7}from'ckeditor5/src/core';import{getTranslation as _0x406e90}from'../utils/common-translations';export default class st extends _0x3904b7{[_0x24d0('0x31')](){const _0x5568e0=this[_0x24d0('0x21')],_0x4893d6=_0x5568e0['locale'];if(!_0x5568e0[_0x24d0('0x5')][_0x24d0('0x3b')](_0x24d0('0x6')))return;const _0x2452a1=_0x5568e0['plugins']['get'](_0x24d0('0x13')),_0x2218a3=_0x5568e0['plugins'][_0x24d0('0x3b')](_0x24d0('0x8'));function _0x471590(_0x33dbbf){return()=>{const _0x505a7d=_0x5568e0[_0x24d0('0x27')]['document'][_0x24d0('0x11')],_0x3b992f=_0x5568e0[_0x24d0('0x2')]['get'](_0x33dbbf);if(_0x3b992f['value'])return void _0x5568e0[_0x24d0('0x14')](_0x24d0('0x3'),{});const _0x28581e=_0x33dbbf[_0x24d0('0x1b')](0x0,-0x4),_0x1a5d99=function(_0x406657,_0x1ae25b,_0x1ac513){let _0x1fb2bb=Array[_0x24d0('0x12')](_0x406657)[_0x24d0('0x3d')](_0x3bc03f=>function(_0x2ef947,_0x40b702){return _0x40b702[_0x24d0('0x30')](_0x2ef947['parent'],_0x24d0('0x39'))&&!_0x40b702[_0x24d0('0x1a')](_0x2ef947);}(_0x3bc03f,_0x1ac513));_0x1fb2bb=_0x1fb2bb['filter'](_0x49e84c=>!_0x49e84c['is']('element',_0x24d0('0x39'))||_0x49e84c[_0x24d0('0x2a')]('listType')!=_0x1ae25b);const _0x219d38=new Set();for(const _0x1805d6 of _0x1fb2bb)_0x1805d6['is']('element',_0x24d0('0x39'))?_0x219d38[_0x24d0('0x1e')](Zt(_0x1805d6)):_0x219d38['add'](_0x1805d6);return Array[_0x24d0('0x12')](_0x219d38);}(_0x505a7d[_0x24d0('0x22')](),_0x28581e,_0x5568e0['model'][_0x24d0('0x25')]);_0x5568e0[_0x24d0('0x27')]['change'](()=>{for(const _0x265e1d of _0x1a5d99)_0x2452a1[_0x24d0('0x1')](_0x265e1d,{'commandName':_0x33dbbf,'commandParams':[{'forceValue':!_0x3b992f[_0x24d0('0x4')]}],'formatGroupId':_0x24d0('0xd')},ne(_0x265e1d));});};}function _0x5af887(_0xd4e12a){return()=>{const _0x3dd399=function(_0x189341){const _0x5137fd=(_0x189341=Array['from'](_0x189341))[_0x24d0('0xe')](_0x3789cf=>'listItem'!=_0x3789cf[_0x24d0('0xf')]);return _0x5137fd>-0x1&&(_0x189341=_0x189341['slice'](0x0,_0x5137fd)),_0x189341;}(_0x5568e0[_0x24d0('0x27')][_0x24d0('0x19')][_0x24d0('0x11')][_0x24d0('0x22')]()),_0x235284=_0x5568e0[_0x24d0('0x27')][_0x24d0('0x32')](_0x5568e0[_0x24d0('0x27')][_0x24d0('0x29')](_0x3dd399[0x0],_0x24d0('0x7')),_0x5568e0[_0x24d0('0x27')]['createPositionAt'](_0x3dd399[_0x3dd399[_0x24d0('0x3c')]-0x1],_0x24d0('0x37')));_0x5568e0[_0x24d0('0x27')]['change'](()=>{_0x2452a1[_0x24d0('0x1')](_0x235284,{'commandName':_0xd4e12a,'commandParams':[],'formatGroupId':_0x24d0('0x33')},function(_0x4dc7b9){const _0x15fc74=new Set();for(const _0x27ea04 of _0x4dc7b9){let _0x559ca=_0x27ea04[_0x24d0('0x28')];for(;_0x559ca&&_0x559ca[_0x24d0('0x2a')]('listIndent')>_0x27ea04[_0x24d0('0x2a')](_0x24d0('0x33'));)_0x15fc74[_0x24d0('0x1e')](_0x559ca),_0x559ca=_0x559ca[_0x24d0('0x28')];}return Array['from'](_0x15fc74);}(_0x3dd399));});};}_0x2452a1[_0x24d0('0xa')](_0x24d0('0x2d'),_0x471590(_0x24d0('0x2d'))),_0x2452a1['enableCommand'](_0x24d0('0x36'),_0x471590('bulletedList')),_0x2218a3&&_0x2452a1['enableCommand'](_0x24d0('0x2f'),_0x471590(_0x24d0('0x2f'))),_0x2452a1['enableCommand'](_0x24d0('0x2c'),_0x5af887('indentList')),_0x2452a1[_0x24d0('0xa')](_0x24d0('0x18'),_0x5af887(_0x24d0('0x18'))),_0x2218a3&&_0x2452a1[_0x24d0('0xa')](_0x24d0('0x15'),()=>{const _0x1864fb=_0x5568e0[_0x24d0('0x2')][_0x24d0('0x3e')](_0x24d0('0x15')),_0x31732b=Array[_0x24d0('0x12')](_0x1864fb['_selectedElements']);_0x31732b['filter'](_0x1fafc8=>_0x1fafc8[_0x24d0('0x2a')](_0x24d0('0xc'))!=_0x1864fb['value']),_0x5568e0[_0x24d0('0x27')][_0x24d0('0x17')](()=>{for(const _0xe271a2 of _0x31732b)_0x2452a1[_0x24d0('0x1')](_0xe271a2,{'commandName':_0x24d0('0x15'),'commandParams':[{'forceValue':!_0x1864fb['value']}]});});}),_0x2452a1['_descriptionFactory'][_0x24d0('0x2b')](_0x24d0('0x39'),_0x11edb6=>_0x406e90(_0x4893d6,_0x24d0('0x1f'),_0x11edb6)),_0x2452a1[_0x24d0('0x0')][_0x24d0('0x26')](_0x176b30=>{const {data:_0x276a42}=_0x176b30;if(_0x276a42){if('numberedList'==_0x276a42['commandName']||_0x24d0('0x36')==_0x276a42[_0x24d0('0x1c')]||_0x24d0('0x2f')==_0x276a42[_0x24d0('0x1c')])switch(_0x276a42[_0x24d0('0x1c')][_0x24d0('0x20')](_0x24d0('0x3a'),'')){case _0x24d0('0x23'):return _0x97784c(_0x406e90(_0x4893d6,'ELEMENT_BULLETED_LIST'));case _0x24d0('0x35'):return _0x97784c(_0x406e90(_0x4893d6,_0x24d0('0x2e')));case _0x24d0('0x1d'):return _0x97784c(_0x406e90(_0x4893d6,'ELEMENT_TODO_LIST'));}if(_0x24d0('0x2c')==_0x276a42[_0x24d0('0x1c')])return{'type':_0x24d0('0xb'),'content':_0x406e90(_0x4893d6,'*Indent:*\x20%0',_0x406e90(_0x4893d6,'ELEMENT_LIST_ITEM'))};if(_0x24d0('0x18')==_0x276a42[_0x24d0('0x1c')])return{'type':_0x24d0('0xb'),'content':_0x406e90(_0x4893d6,_0x24d0('0x24'),_0x406e90(_0x4893d6,_0x24d0('0x1f')))};if(_0x24d0('0x15')==_0x276a42[_0x24d0('0x1c')])return _0x276a42['commandParams'][0x0]['forceValue']?{'type':_0x24d0('0xb'),'content':_0x406e90(_0x4893d6,'*Check\x20item*')}:{'type':'format','content':_0x406e90(_0x4893d6,_0x24d0('0x38'))};}function _0x97784c(_0x118d11){return{'type':'format','content':_0x406e90(_0x4893d6,_0x24d0('0x9'),_0x118d11)};}});}}function Zt(_0x4fa426){const _0xae9458=_0x4fa426[_0x24d0('0x2a')](_0x24d0('0x33'));if(0x0==_0xae9458)return _0x4fa426;let _0x4a1e1c=_0x4fa426;for(;_0x4fa426[_0x24d0('0x34')]&&_0x4fa426[_0x24d0('0x34')]['is'](_0x24d0('0x16'),_0x24d0('0x39'));){const _0x239969=_0x4fa426[_0x24d0('0x34')][_0x24d0('0x2a')](_0x24d0('0x33'));if(_0x239969==_0xae9458)_0x4a1e1c=_0x4fa426[_0x24d0('0x34')];else{if(_0x239969<_0xae9458)break;}_0x4fa426=_0x4fa426[_0x24d0('0x34')];}return _0x4a1e1c;}function ne(_0x3e3bc0){const _0x1a747c=[];if(_0x3e3bc0['is'](_0x24d0('0x16'),_0x24d0('0x39'))&&_0x3e3bc0['getAttribute']('listIndent')>0x0){let _0x521566=_0x3e3bc0[_0x24d0('0x28')];for(;_0x521566&&_0x24d0('0x39')==_0x521566[_0x24d0('0xf')]&&_0x521566[_0x24d0('0x2a')](_0x24d0('0x33'))==_0x3e3bc0[_0x24d0('0x2a')](_0x24d0('0x33'));)_0x1a747c[_0x24d0('0x10')](_0x521566),_0x521566=_0x521566['nextSibling'];}return _0x1a747c;}
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2016 - 2022, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ const _0x3ef8=['length','handleListStyleCommand','locale','*Format:*\x20set\x20start\x20index\x20to\x20%0','createPositionAt','plugins','from','ELEMENT_','config','ListUtils','_getSuggestionBlocks','replaceAll','markMultiRangeBlockFormat','editor','list.properties','TrackChangesEditing','*Format:*\x20set\x20order\x20to\x20regular','*Format:*\x20set\x20order\x20to\x20reversed','listType','_getTranslationKeyForListStyle','map','enableCommand','format','bind','getListTypeFromListStyleType','getAttribute','getSelectedBlocks','reversed','type','handleDescriptions','listStart','model','handleListReversedCommand','document','getSiblingNodes','commandParams','handleListStartCommand','listStyle','toUpperCase','numbered','element','startIndex','registerDescriptionCallback','ListPropertiesEditing','listReversed','createRange','before','get','listItem','selection','*Change\x20to:*\x20%0','_descriptionFactory'];(function(_0xa8d203,_0x3ef8f0){const _0x3fca7e=function(_0x20facb){while(--_0x20facb){_0xa8d203['push'](_0xa8d203['shift']());}};_0x3fca7e(++_0x3ef8f0);}(_0x3ef8,0x90));const _0x3fca=function(_0xa8d203,_0x3ef8f0){_0xa8d203=_0xa8d203-0x0;let _0x3fca7e=_0x3ef8[_0xa8d203];return _0x3fca7e;};import{Plugin as _0x51e460}from'ckeditor5/src/core';import{getTranslation as _0x187586}from'../utils/common-translations';export default class et extends _0x51e460{['afterInit'](){if(!this[_0x3fca('0x19')]['plugins']['has'](_0x3fca('0x3')))return;const _0x45d143=this[_0x3fca('0x19')][_0x3fca('0x14')]['get'](_0x3fca('0x1a')),_0x142d4a=this[_0x3fca('0x19')]['plugins']['get'](_0x3fca('0x1b'));_0x45d143['styles']&&_0x142d4a[_0x3fca('0x21')](_0x3fca('0x31'),this[_0x3fca('0xd')][_0x3fca('0x23')](this)),_0x45d143[_0x3fca('0x27')]&&_0x142d4a[_0x3fca('0x21')]('listReversed',this[_0x3fca('0x2c')][_0x3fca('0x23')](this)),_0x45d143['startIndex']&&_0x142d4a[_0x3fca('0x21')]('listStart',this[_0x3fca('0x30')]['bind'](this)),_0x142d4a[_0x3fca('0xb')][_0x3fca('0x2')](this[_0x3fca('0x29')][_0x3fca('0x23')](this));}[_0x3fca('0xd')](_0x5bc1a8,_0x4d52de){const _0x4d86e7=this[_0x3fca('0x19')][_0x3fca('0x11')]['get'](_0x3fca('0x1b')),_0x3a0d2b=this[_0x3fca('0x16')](_0xadf7d8=>_0xadf7d8['hasAttribute'](_0x3fca('0x1e')));_0x3a0d2b['length']<0x1||this['editor'][_0x3fca('0x2b')]['change'](()=>{_0x4d86e7['markMultiRangeBlockFormat'](_0x3a0d2b,{'commandName':'listStyle','commandParams':[{'type':_0x4d52de['type']}],'formatGroupId':'listStyle'});});}['handleListReversedCommand'](_0xcdaffc,_0x1c835b){const _0x1a1e08=this[_0x3fca('0x19')][_0x3fca('0x11')][_0x3fca('0x7')](_0x3fca('0x1b')),_0x443ff3=this[_0x3fca('0x16')](_0x26e479=>_0x26e479['is'](_0x3fca('0x0'),'listItem')&&'numbered'===_0x26e479[_0x3fca('0x25')](_0x3fca('0x1e')));if(_0x443ff3['length']<0x1)return;const _0x33685d=_0x443ff3[_0x3fca('0x20')](_0x4ac3b2=>this['editor']['model'][_0x3fca('0x5')](this[_0x3fca('0x19')][_0x3fca('0x2b')][_0x3fca('0x10')](_0x4ac3b2,_0x3fca('0x6')),this[_0x3fca('0x19')]['model']['createPositionAt'](_0x4ac3b2,0x0)));this[_0x3fca('0x19')][_0x3fca('0x2b')]['change'](()=>{_0x1a1e08['markMultiRangeBlockFormat'](_0x33685d,{'commandName':'listReversed','commandParams':[{'reversed':_0x1c835b[_0x3fca('0x27')]}],'formatGroupId':_0x3fca('0x4')});});}[_0x3fca('0x30')](_0x45520a,_0xebe144){const _0x52ebfe=this[_0x3fca('0x19')][_0x3fca('0x11')]['get'](_0x3fca('0x1b')),_0x426d38=this[_0x3fca('0x16')](_0x541739=>_0x541739['is']('element',_0x3fca('0x8'))&&_0x3fca('0x33')===_0x541739['getAttribute'](_0x3fca('0x1e')));if(_0x426d38[_0x3fca('0xc')]<0x1)return;const _0x472ea3=_0x426d38['map'](_0x61ad6f=>this['editor']['model'][_0x3fca('0x5')](this[_0x3fca('0x19')]['model'][_0x3fca('0x10')](_0x61ad6f,_0x3fca('0x6')),this[_0x3fca('0x19')][_0x3fca('0x2b')][_0x3fca('0x10')](_0x61ad6f,0x0)));this[_0x3fca('0x19')][_0x3fca('0x2b')]['change'](()=>{_0x52ebfe[_0x3fca('0x18')](_0x472ea3,{'commandName':'listStart','commandParams':[{'startIndex':_0xebe144[_0x3fca('0x1')]}],'formatGroupId':_0x3fca('0x2a')});});}[_0x3fca('0x29')](_0x580b40){const _0x30e144=this['editor'][_0x3fca('0xe')],{data:_0x1ddf81}=_0x580b40;if(!_0x1ddf81)return;let _0x3c6cf6,_0x145287;switch(_0x1ddf81['commandName']){case'listStyle':_0x3c6cf6=_0x3fca('0xa'),_0x145287={'type':_0x3fca('0x22'),'content':_0x187586(_0x30e144,_0x3c6cf6,_0x187586(_0x30e144,this[_0x3fca('0x1f')](_0x1ddf81[_0x3fca('0x2f')][0x0][_0x3fca('0x28')])))};break;case _0x3fca('0x4'):_0x3c6cf6=_0x1ddf81[_0x3fca('0x2f')][0x0]['reversed']?_0x3fca('0x1d'):_0x3fca('0x1c'),_0x145287={'type':'format','content':_0x187586(_0x30e144,_0x3c6cf6)};break;case _0x3fca('0x2a'):_0x3c6cf6=_0x3fca('0xf'),_0x145287={'type':_0x3fca('0x22'),'content':_0x187586(_0x30e144,_0x3c6cf6,_0x1ddf81[_0x3fca('0x2f')][0x0]['startIndex'])};}return _0x145287;}[_0x3fca('0x16')](_0x940113){const _0x109183=this[_0x3fca('0x19')][_0x3fca('0x11')][_0x3fca('0x7')](_0x3fca('0x15'));let _0x1c5faf=Array[_0x3fca('0x12')](this[_0x3fca('0x19')][_0x3fca('0x2b')][_0x3fca('0x2d')][_0x3fca('0x9')][_0x3fca('0x26')]())['filter'](_0x940113)['map'](_0xea02cc=>{const _0x32843d=this[_0x3fca('0x19')][_0x3fca('0x2b')][_0x3fca('0x10')](_0xea02cc,0x0);return[..._0x109183['getSiblingNodes'](_0x32843d,'backward'),..._0x109183[_0x3fca('0x2e')](_0x32843d,'forward')];})['flat']();return _0x1c5faf=[...new Set(_0x1c5faf)],_0x1c5faf;}[_0x3fca('0x1f')](_0x4a0d8d){return _0x3fca('0x13')+this[_0x3fca('0x19')]['plugins'][_0x3fca('0x7')](_0x3fca('0x15'))[_0x3fca('0x24')](_0x4a0d8d)['toUpperCase']()+'_LIST_'+_0x4a0d8d[_0x3fca('0x32')]()[_0x3fca('0x17')]('-','_');}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xc8ed=['MediaEmbedEditing','ELEMENT_MEDIA','elementToElement','editor','div','downcastDispatcher','high','registerElementLabel','data','media','attribute:url:media','_descriptionFactory','enableCommand','get','locale','plugins','has','options','showSuggestionHighlights','mediaEmbed'];(function(_0x42792a,_0xc8ed18){const _0x5f4231=function(_0x1f54c3){while(--_0x1f54c3){_0x42792a['push'](_0x42792a['shift']());}};_0x5f4231(++_0xc8ed18);}(_0xc8ed,0x17b));const _0x5f42=function(_0x42792a,_0xc8ed18){_0x42792a=_0x42792a-0x0;let _0x5f4231=_0xc8ed[_0x42792a];return _0x5f4231;};import{Plugin as _0x4f80}from'ckeditor5/src/core';import{getTranslation as _0x2041ab}from'../utils/common-translations';export default class st extends _0x4f80{['afterInit'](){const _0x37507=this[_0x5f42('0x4')];if(!_0x37507[_0x5f42('0x10')][_0x5f42('0x11')](_0x5f42('0x1')))return;const _0x5d6e08=_0x37507[_0x5f42('0x10')][_0x5f42('0xe')]('TrackChangesEditing'),_0x849283=_0x37507[_0x5f42('0xf')];_0x5d6e08[_0x5f42('0xd')](_0x5f42('0x0')),_0x5d6e08[_0x5f42('0xc')][_0x5f42('0x8')](_0x5f42('0xa'),_0x4c364a=>_0x2041ab(_0x849283,_0x5f42('0x2'),_0x4c364a)),_0x37507['conversion']['for']('dataDowncast')[_0x5f42('0x3')]({'model':_0x5f42('0xa'),'view':(_0x1b41ef,{writer:_0x58ebda,options:_0x1c89cb})=>{if(_0x1c89cb[_0x5f42('0x13')])return _0x58ebda['createEmptyElement'](_0x5f42('0x5'));},'converterPriority':_0x5f42('0x7')}),_0x37507[_0x5f42('0x9')][_0x5f42('0x6')]['on'](_0x5f42('0xb'),(_0x2fe47c,_0x242e2f,_0x173d77)=>{_0x173d77[_0x5f42('0x12')][_0x5f42('0x13')]&&_0x2fe47c['stop']();},{'priority':_0x5f42('0x7')});}}
23
+ const _0x290c=['createEmptyElement','TrackChangesEditing','media','MediaEmbedEditing','mediaEmbed','high','dataDowncast','plugins','div','has','get','afterInit','options','for','showSuggestionHighlights','attribute:url:media','ELEMENT_MEDIA','locale','_descriptionFactory'];(function(_0x42d8de,_0x290ce3){const _0xea88ea=function(_0x18f0a5){while(--_0x18f0a5){_0x42d8de['push'](_0x42d8de['shift']());}};_0xea88ea(++_0x290ce3);}(_0x290c,0x17d));const _0xea88=function(_0x42d8de,_0x290ce3){_0x42d8de=_0x42d8de-0x0;let _0xea88ea=_0x290c[_0x42d8de];return _0xea88ea;};import{Plugin as _0xd79957}from'ckeditor5/src/core';import{getTranslation as _0x3f3364}from'../utils/common-translations';export default class nt extends _0xd79957{[_0xea88('0xa')](){const _0xe43f4a=this['editor'];if(!_0xe43f4a[_0xea88('0x6')][_0xea88('0x8')](_0xea88('0x2')))return;const _0x341913=_0xe43f4a[_0xea88('0x6')][_0xea88('0x9')](_0xea88('0x0')),_0x379a25=_0xe43f4a[_0xea88('0x10')];_0x341913['enableCommand'](_0xea88('0x3')),_0x341913[_0xea88('0x11')]['registerElementLabel']('media',_0x3cde31=>_0x3f3364(_0x379a25,_0xea88('0xf'),_0x3cde31)),_0xe43f4a['conversion'][_0xea88('0xc')](_0xea88('0x5'))['elementToElement']({'model':_0xea88('0x1'),'view':(_0x2c52d2,{writer:_0x591dc3,options:_0x52bea4})=>{if(_0x52bea4[_0xea88('0xd')])return _0x591dc3[_0xea88('0x12')](_0xea88('0x7'));},'converterPriority':_0xea88('0x4')}),_0xe43f4a['data']['downcastDispatcher']['on'](_0xea88('0xe'),(_0x96ab57,_0x36d78a,_0xfe9b34)=>{_0xfe9b34[_0xea88('0xb')]['showSuggestionHighlights']&&_0x96ab57['stop']();},{'priority':_0xea88('0x4')});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x26f1=['enableCommand','afterInit','plugins','mention'];(function(_0x3afe90,_0x26f1bb){const _0x144329=function(_0x28ecd5){while(--_0x28ecd5){_0x3afe90['push'](_0x3afe90['shift']());}};_0x144329(++_0x26f1bb);}(_0x26f1,0x15c));const _0x1443=function(_0x3afe90,_0x26f1bb){_0x3afe90=_0x3afe90-0x0;let _0x144329=_0x26f1[_0x3afe90];return _0x144329;};import{Plugin as _0x575f5d}from'ckeditor5/src/core';export default class et extends _0x575f5d{[_0x1443('0x1')](){const _0x49fbd1=this['editor'];_0x49fbd1[_0x1443('0x2')]['has']('MentionEditing')&&_0x49fbd1[_0x1443('0x2')]['get']('TrackChangesEditing')[_0x1443('0x0')](_0x1443('0x3'));}}
23
+ const _0x44eb=['plugins','has','TrackChangesEditing','get','enableCommand','editor','mention','MentionEditing'];(function(_0x18b7eb,_0x44eb4f){const _0x1854eb=function(_0x462efd){while(--_0x462efd){_0x18b7eb['push'](_0x18b7eb['shift']());}};_0x1854eb(++_0x44eb4f);}(_0x44eb,0xcb));const _0x1854=function(_0x18b7eb,_0x44eb4f){_0x18b7eb=_0x18b7eb-0x0;let _0x1854eb=_0x44eb[_0x18b7eb];return _0x1854eb;};import{Plugin as _0x29d312}from'ckeditor5/src/core';export default class ot extends _0x29d312{['afterInit'](){const _0x22c3eb=this[_0x1854('0x2')];_0x22c3eb[_0x1854('0x5')][_0x1854('0x6')](_0x1854('0x4'))&&_0x22c3eb[_0x1854('0x5')][_0x1854('0x0')](_0x1854('0x7'))[_0x1854('0x1')](_0x1854('0x3'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1d72=['plugins','afterInit','pageBreak','get','ELEMENT_PAGE_BREAK','locale','editor','TrackChangesEditing','PageBreakEditing','_descriptionFactory','registerElementLabel','has'];(function(_0x1fda1c,_0x1d72d2){const _0x5d8c28=function(_0x291ab6){while(--_0x291ab6){_0x1fda1c['push'](_0x1fda1c['shift']());}};_0x5d8c28(++_0x1d72d2);}(_0x1d72,0xe9));const _0x5d8c=function(_0x1fda1c,_0x1d72d2){_0x1fda1c=_0x1fda1c-0x0;let _0x5d8c28=_0x1d72[_0x1fda1c];return _0x5d8c28;};import{Plugin as _0x58315f}from'ckeditor5/src/core';import{getTranslation as _0x27b9d4}from'../utils/common-translations';export default class nt extends _0x58315f{[_0x5d8c('0x8')](){const _0x13f224=this[_0x5d8c('0x1')];if(!_0x13f224[_0x5d8c('0x7')][_0x5d8c('0x6')](_0x5d8c('0x3')))return;_0x13f224[_0x5d8c('0x7')][_0x5d8c('0xa')](_0x5d8c('0x2'))['enableCommand'](_0x5d8c('0x9'));const _0x5a12f7=_0x13f224[_0x5d8c('0x7')]['get'](_0x5d8c('0x2')),_0x2b326c=_0x13f224[_0x5d8c('0x0')];_0x5a12f7[_0x5d8c('0x4')][_0x5d8c('0x5')](_0x5d8c('0x9'),_0x41b162=>_0x27b9d4(_0x2b326c,_0x5d8c('0xb'),_0x41b162));}}
23
+ const _0x18cc=['registerElementLabel','get','TrackChangesEditing','ELEMENT_PAGE_BREAK','editor','_descriptionFactory','plugins','afterInit','pageBreak','locale'];(function(_0x2c145c,_0x18cc20){const _0x10f8ed=function(_0x5df90c){while(--_0x5df90c){_0x2c145c['push'](_0x2c145c['shift']());}};_0x10f8ed(++_0x18cc20);}(_0x18cc,0x11d));const _0x10f8=function(_0x2c145c,_0x18cc20){_0x2c145c=_0x2c145c-0x0;let _0x10f8ed=_0x18cc[_0x2c145c];return _0x10f8ed;};import{Plugin as _0x30d502}from'ckeditor5/src/core';import{getTranslation as _0x19cb8f}from'../utils/common-translations';export default class rt extends _0x30d502{[_0x10f8('0x2')](){const _0x2fa510=this[_0x10f8('0x9')];if(!_0x2fa510['plugins']['has']('PageBreakEditing'))return;_0x2fa510[_0x10f8('0x1')][_0x10f8('0x6')](_0x10f8('0x7'))['enableCommand'](_0x10f8('0x3'));const _0x455143=_0x2fa510[_0x10f8('0x1')]['get']('TrackChangesEditing'),_0x4e7587=_0x2fa510[_0x10f8('0x4')];_0x455143[_0x10f8('0x0')][_0x10f8('0x5')]('pageBreak',_0x306fb9=>_0x19cb8f(_0x4e7587,_0x10f8('0x8'),_0x306fb9));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3a4d=['ck-suggestion-marker--active','showSuggestionHighlights','bindElementToMarker','start','$text','registerDescriptionCallback','mapper','isTouching','paragraph','editor','enableCommand','document','filter','options','ck-suggestion-marker-split','has','*Change\x20to:*\x20%0','ELEMENT_PARAGRAPH','model','_descriptionFactory','afterInit','format','from','highest','plugins','nodeAfter','toViewPosition','checkChild','blockName','addMarker:suggestion:insertion','isLimit','getFirstRange','isObject','markerRange','span','writer','*Insert:*\x20%0','markBlockFormat','isBlock','name','locale','downcastDispatcher','insertion','end','getSelectedBlocks','insertParagraph','includes','TrackChangesEditing','selection','createUIElement','schema','get'];(function(_0x3d31f0,_0x3a4dbb){const _0x773558=function(_0x289731){while(--_0x289731){_0x3d31f0['push'](_0x3d31f0['shift']());}};_0x773558(++_0x3a4dbb);}(_0x3a4d,0x165));const _0x7735=function(_0x3d31f0,_0x3a4dbb){_0x3d31f0=_0x3d31f0-0x0;let _0x773558=_0x3a4d[_0x3d31f0];return _0x773558;};import{Plugin as _0x578f45}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x335996}from'./utils';import{getTranslation as _0x2f5165}from'../utils/common-translations';export default class ot extends _0x578f45{[_0x7735('0x1b')](){const _0x56433d=this[_0x7735('0x10')];if(!_0x56433d[_0x7735('0x1f')][_0x7735('0x16')]('Paragraph'))return;const _0x653d47=_0x56433d[_0x7735('0x2f')],_0x558937=_0x56433d['plugins']['get']('TrackChangesEditing');_0x558937[_0x7735('0x1a')]['registerElementLabel'](_0x7735('0xf'),_0x581b50=>_0x2f5165(_0x653d47,_0x7735('0x18'),_0x581b50)),_0x558937[_0x7735('0x11')](_0x7735('0xf'),(_0x1013bd,_0x31fc02={})=>{const _0x23a3a4=_0x56433d['model'][_0x7735('0x12')],_0x4f9688=_0x31fc02[_0x7735('0x3')]||_0x23a3a4[_0x7735('0x3')],_0x5c1876=Array[_0x7735('0x1d')](_0x4f9688[_0x7735('0x33')]())[_0x7735('0x13')](_0x2f3179=>function(_0x1e64f9,_0x55e7d3){return _0x55e7d3['checkChild'](_0x1e64f9['parent'],_0x7735('0xf'))&&!_0x55e7d3[_0x7735('0x27')](_0x1e64f9)&&_0x7735('0xf')!=_0x1e64f9[_0x7735('0x2e')];}(_0x2f3179,this['editor'][_0x7735('0x19')][_0x7735('0x5')]));_0x56433d[_0x7735('0x19')]['change'](()=>{for(const _0x3538f8 of _0x5c1876)_0x558937[_0x7735('0x2c')](_0x3538f8,{'commandName':'paragraph','commandParams':[],'formatGroupId':_0x7735('0x23')},_0x335996(_0x3538f8));});}),_0x558937[_0x7735('0x1a')][_0x7735('0xc')](_0xb8e99d=>{const {data:_0x24b270}=_0xb8e99d;if(_0x24b270&&'paragraph'==_0x24b270['commandName'])return{'type':_0x7735('0x1c'),'content':_0x2f5165(_0x653d47,_0x7735('0x17'),_0x2f5165(_0x653d47,_0x7735('0x18')))};}),_0x558937[_0x7735('0x11')](_0x7735('0x0')),_0x56433d['editing'][_0x7735('0x30')]['on'](_0x7735('0x24'),tr(_0x56433d),{'priority':'highest'}),_0x56433d['data'][_0x7735('0x30')]['on'](_0x7735('0x24'),(_0x4b1b60,_0x41850d,_0x29e671)=>{_0x29e671[_0x7735('0x14')][_0x7735('0x8')]&&tr(_0x56433d,{'showActiveMarker':!0x1})(_0x4b1b60,_0x41850d,_0x29e671);},{'priority':_0x7735('0x1e')});const _0x57127e=_0x558937[_0x7735('0x1a')];_0x57127e[_0x7735('0xc')](_0x25bfd9=>{if('insertion'!==_0x25bfd9['type'])return;const {start:_0x135ee8,end:_0x52566a}=_0x25bfd9[_0x7735('0x26')]();if(!_0x135ee8[_0x7735('0xe')](_0x52566a)||!_0x135ee8[_0x7735('0x20')])return;const _0x5777eb=_0x56433d['model'][_0x7735('0x5')],_0x4ab628=_0x135ee8['nodeAfter'];return _0x5777eb[_0x7735('0x2d')](_0x4ab628)&&!_0x5777eb[_0x7735('0x25')](_0x4ab628)&&_0x5777eb[_0x7735('0x22')](_0x4ab628,_0x7735('0xb'))?{'type':_0x7735('0x31'),'content':_0x2f5165(_0x653d47,_0x7735('0x2b'),_0x57127e['getItemLabel'](_0x4ab628,0x1))}:void 0x0;});}}function tr(_0x592aaf,{showActiveMarker:_0x5c6476=!0x0}={}){return(_0x351d5e,_0x5ce843,_0xc84e7)=>{const _0x3ddfdf=_0x592aaf[_0x7735('0x1f')][_0x7735('0x6')](_0x7735('0x2')),_0x3c07cd=_0x5ce843[_0x7735('0x28')][_0x7735('0xa')],_0xc58669=_0x5ce843[_0x7735('0x28')][_0x7735('0x32')],_0x46117e=_0x592aaf[_0x7735('0x19')]['schema'];if(!_0x3c07cd[_0x7735('0xe')](_0xc58669)||!_0x3c07cd[_0x7735('0x20')])return;const _0x58df38=_0x3c07cd[_0x7735('0x20')];if(_0x46117e[_0x7735('0x2d')](_0x58df38)&&!_0x46117e[_0x7735('0x25')](_0x58df38)&&_0x46117e[_0x7735('0x22')](_0x58df38,_0x7735('0xb'))){if(!_0xc84e7['consumable']['consume'](_0x5ce843[_0x7735('0x28')],_0x351d5e[_0x7735('0x2e')]))return;const _0x2e51ac=_0xc84e7[_0x7735('0x2a')][_0x7735('0x4')](_0x7735('0x29'),{'class':_0x7735('0x15')}),_0x358124=_0xc84e7[_0x7735('0xd')][_0x7735('0x21')](_0xc58669);_0x5c6476&&_0x3ddfdf['activeMarkers'][_0x7735('0x1')](_0x5ce843['markerName'])&&_0xc84e7['writer']['addClass'](_0x7735('0x7'),_0x2e51ac),_0xc84e7[_0x7735('0x2a')]['insert'](_0x358124,_0x2e51ac),_0xc84e7['mapper'][_0x7735('0x9')](_0x2e51ac,_0x5ce843['markerName']);}};}
23
+ const _0x9281=['selection','highest','getFirstRange','parent','*Change\x20to:*\x20%0','insert','model','$text','markBlockFormat','document','TrackChangesEditing','nodeAfter','ck-suggestion-marker--active','enableCommand','insertParagraph','writer','registerElementLabel','type','start','toViewPosition','has','change','markerName','filter','from','end','paragraph','bindElementToMarker','getSelectedBlocks','ELEMENT_PARAGRAPH','name','isObject','editing','schema','editor','ck-suggestion-marker-split','insertion','_descriptionFactory','consume','isBlock','getItemLabel','checkChild','get','isLimit','isTouching','showSuggestionHighlights','locale','commandName','markerRange','afterInit','format','plugins','registerDescriptionCallback','downcastDispatcher'];(function(_0x54bb81,_0x9281f0){const _0x4771bf=function(_0x2cccd5){while(--_0x2cccd5){_0x54bb81['push'](_0x54bb81['shift']());}};_0x4771bf(++_0x9281f0);}(_0x9281,0x1c8));const _0x4771=function(_0x54bb81,_0x9281f0){_0x54bb81=_0x54bb81-0x0;let _0x4771bf=_0x9281[_0x54bb81];return _0x4771bf;};import{Plugin as _0x3ddac3}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x40947d}from'./utils';import{getTranslation as _0x54ef40}from'../utils/common-translations';export default class at extends _0x3ddac3{[_0x4771('0x19')](){const _0x4696ed=this[_0x4771('0xa')];if(!_0x4696ed[_0x4771('0x1b')][_0x4771('0x32')]('Paragraph'))return;const _0x3d1967=_0x4696ed[_0x4771('0x16')],_0x4394b4=_0x4696ed[_0x4771('0x1b')][_0x4771('0x12')](_0x4771('0x28'));_0x4394b4['_descriptionFactory'][_0x4771('0x2e')]('paragraph',_0x56d1c8=>_0x54ef40(_0x3d1967,_0x4771('0x5'),_0x56d1c8)),_0x4394b4[_0x4771('0x2b')]('paragraph',(_0x71c7d0,_0xc64c14={})=>{const _0x2d94a8=_0x4696ed[_0x4771('0x24')][_0x4771('0x27')],_0x54777a=_0xc64c14[_0x4771('0x1e')]||_0x2d94a8[_0x4771('0x1e')],_0x4b0249=Array[_0x4771('0x0')](_0x54777a[_0x4771('0x4')]())[_0x4771('0x35')](_0x4e91bf=>function(_0x556b91,_0x469f69){return _0x469f69[_0x4771('0x11')](_0x556b91[_0x4771('0x21')],_0x4771('0x2'))&&!_0x469f69[_0x4771('0x7')](_0x556b91)&&'paragraph'!=_0x556b91['name'];}(_0x4e91bf,this[_0x4771('0xa')][_0x4771('0x24')]['schema']));_0x4696ed['model'][_0x4771('0x33')](()=>{for(const _0x2cbfc7 of _0x4b0249)_0x4394b4[_0x4771('0x26')](_0x2cbfc7,{'commandName':_0x4771('0x2'),'commandParams':[],'formatGroupId':'blockName'},_0x40947d(_0x2cbfc7));});}),_0x4394b4[_0x4771('0xd')][_0x4771('0x1c')](_0x56b579=>{const {data:_0x432b5d}=_0x56b579;if(_0x432b5d&&'paragraph'==_0x432b5d[_0x4771('0x17')])return{'type':_0x4771('0x1a'),'content':_0x54ef40(_0x3d1967,_0x4771('0x22'),_0x54ef40(_0x3d1967,_0x4771('0x5')))};}),_0x4394b4['enableCommand'](_0x4771('0x2c')),_0x4696ed[_0x4771('0x8')][_0x4771('0x1d')]['on']('addMarker:suggestion:insertion',tr(_0x4696ed),{'priority':'highest'}),_0x4696ed['data'][_0x4771('0x1d')]['on']('addMarker:suggestion:insertion',(_0x162234,_0x45ef10,_0x479c8d)=>{_0x479c8d['options'][_0x4771('0x15')]&&tr(_0x4696ed,{'showActiveMarker':!0x1})(_0x162234,_0x45ef10,_0x479c8d);},{'priority':_0x4771('0x1f')});const _0x937555=_0x4394b4[_0x4771('0xd')];_0x937555['registerDescriptionCallback'](_0x21906f=>{if(_0x4771('0xc')!==_0x21906f[_0x4771('0x2f')])return;const {start:_0x2d2741,end:_0x3860f7}=_0x21906f[_0x4771('0x20')]();if(!_0x2d2741['isTouching'](_0x3860f7)||!_0x2d2741['nodeAfter'])return;const _0x25f8b6=_0x4696ed[_0x4771('0x24')]['schema'],_0x58c5af=_0x2d2741['nodeAfter'];return _0x25f8b6[_0x4771('0xf')](_0x58c5af)&&!_0x25f8b6[_0x4771('0x13')](_0x58c5af)&&_0x25f8b6[_0x4771('0x11')](_0x58c5af,'$text')?{'type':_0x4771('0xc'),'content':_0x54ef40(_0x3d1967,'*Insert:*\x20%0',_0x937555[_0x4771('0x10')](_0x58c5af,0x1))}:void 0x0;});}}function tr(_0x5dbc0e,{showActiveMarker:_0x477636=!0x0}={}){return(_0x34ee15,_0x49a323,_0x485cdf)=>{const _0x4c7b72=_0x5dbc0e[_0x4771('0x1b')][_0x4771('0x12')](_0x4771('0x28')),_0x3c9f1d=_0x49a323[_0x4771('0x18')][_0x4771('0x30')],_0x4966de=_0x49a323[_0x4771('0x18')][_0x4771('0x1')],_0x31a7cd=_0x5dbc0e[_0x4771('0x24')][_0x4771('0x9')];if(!_0x3c9f1d[_0x4771('0x14')](_0x4966de)||!_0x3c9f1d[_0x4771('0x29')])return;const _0x1bbaaf=_0x3c9f1d[_0x4771('0x29')];if(_0x31a7cd[_0x4771('0xf')](_0x1bbaaf)&&!_0x31a7cd['isLimit'](_0x1bbaaf)&&_0x31a7cd[_0x4771('0x11')](_0x1bbaaf,_0x4771('0x25'))){if(!_0x485cdf['consumable'][_0x4771('0xe')](_0x49a323[_0x4771('0x18')],_0x34ee15[_0x4771('0x6')]))return;const _0x176921=_0x485cdf[_0x4771('0x2d')]['createUIElement']('span',{'class':_0x4771('0xb')}),_0x3fd7f0=_0x485cdf['mapper'][_0x4771('0x31')](_0x4966de);_0x477636&&_0x4c7b72['activeMarkers']['includes'](_0x49a323[_0x4771('0x34')])&&_0x485cdf[_0x4771('0x2d')]['addClass'](_0x4771('0x2a'),_0x176921),_0x485cdf[_0x4771('0x2d')][_0x4771('0x23')](_0x3fd7f0,_0x176921),_0x485cdf['mapper'][_0x4771('0x3')](_0x176921,_0x49a323['markerName']);}};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2759=['getRanges','removeFormat','has','markInlineFormat','document','afterInit','model','from','getAttributes','format','enableCommand','plugins','createRangeOn','getItems','_descriptionFactory','commandName','TrackChangesEditing','RemoveFormatEditing','isCollapsed','getAttributeProperties','*Remove\x20all\x20formatting*','registerDescriptionCallback','locale'];(function(_0xfdea8,_0x2759ec){const _0x13efe9=function(_0x14621c){while(--_0x14621c){_0xfdea8['push'](_0xfdea8['shift']());}};_0x13efe9(++_0x2759ec);}(_0x2759,0x68));const _0x13ef=function(_0xfdea8,_0x2759ec){_0xfdea8=_0xfdea8-0x0;let _0x13efe9=_0x2759[_0xfdea8];return _0x13efe9;};import{Plugin as _0x403bfc}from'ckeditor5/src/core';import{getTranslation as _0x2667a2}from'../utils/common-translations';export default class rt extends _0x403bfc{[_0x13ef('0x10')](){const _0x1707c7=this['editor'];if(!_0x1707c7[_0x13ef('0x16')][_0x13ef('0xd')](_0x13ef('0x5')))return;const _0x4b944e=_0x1707c7[_0x13ef('0x16')]['get'](_0x13ef('0x4'));_0x4b944e[_0x13ef('0x15')]('removeFormat',_0x5c9887=>{const _0x46387e=_0x1707c7[_0x13ef('0x11')][_0x13ef('0xf')]['selection'];_0x46387e[_0x13ef('0x6')]?_0x5c9887():_0x1707c7['model']['change'](()=>{const _0xe0e98f=Array[_0x13ef('0x12')](_0x46387e[_0x13ef('0xb')]());for(const _0x4cbdae of _0xe0e98f)for(const _0x294cee of _0x4cbdae[_0x13ef('0x1')]())to(_0x294cee,_0x1707c7[_0x13ef('0x11')]['schema'])&&_0x4b944e[_0x13ef('0xe')](_0x1707c7[_0x13ef('0x11')][_0x13ef('0x0')](_0x294cee),{'commandName':_0x13ef('0xc'),'commandParams':[]});});}),_0x4b944e[_0x13ef('0x2')][_0x13ef('0x9')](_0x35eb8d=>{const {data:_0x464fa4}=_0x35eb8d;if(_0x464fa4&&_0x13ef('0xc')==_0x464fa4[_0x13ef('0x3')])return{'type':_0x13ef('0x14'),'content':_0x2667a2(_0x1707c7[_0x13ef('0xa')],_0x13ef('0x8'))};});}}function to(_0x19a99a,_0x50a0b6){for(const [_0x191066]of _0x19a99a[_0x13ef('0x13')]()){const _0x4319cb=_0x50a0b6[_0x13ef('0x7')](_0x191066);if(_0x4319cb&&_0x4319cb['isFormatting'])return!0x0;}return!0x1;}
23
+ const _0x424d=['createRangeOn','get','commandName','format','editor','document','getRanges','markInlineFormat','getItems','getAttributes','selection','_descriptionFactory','removeFormat','registerDescriptionCallback','schema','model','locale','getAttributeProperties','plugins','enableCommand','has','afterInit'];(function(_0xee26f7,_0x424d35){const _0x2f55fc=function(_0x1f2372){while(--_0x1f2372){_0xee26f7['push'](_0xee26f7['shift']());}};_0x2f55fc(++_0x424d35);}(_0x424d,0xa2));const _0x2f55=function(_0xee26f7,_0x424d35){_0xee26f7=_0xee26f7-0x0;let _0x2f55fc=_0x424d[_0xee26f7];return _0x2f55fc;};import{Plugin as _0x49f8c9}from'ckeditor5/src/core';import{getTranslation as _0x1952fb}from'../utils/common-translations';export default class ct extends _0x49f8c9{[_0x2f55('0xd')](){const _0x119b7e=this[_0x2f55('0x12')];if(!_0x119b7e['plugins'][_0x2f55('0xc')]('RemoveFormatEditing'))return;const _0x5bcbb2=_0x119b7e[_0x2f55('0xa')][_0x2f55('0xf')]('TrackChangesEditing');_0x5bcbb2[_0x2f55('0xb')](_0x2f55('0x4'),_0x5ebf6f=>{const _0x17143c=_0x119b7e['model'][_0x2f55('0x13')][_0x2f55('0x2')];_0x17143c['isCollapsed']?_0x5ebf6f():_0x119b7e[_0x2f55('0x7')]['change'](()=>{const _0x1060eb=Array['from'](_0x17143c[_0x2f55('0x14')]());for(const _0x247914 of _0x1060eb)for(const _0x47be3e of _0x247914[_0x2f55('0x0')]())to(_0x47be3e,_0x119b7e[_0x2f55('0x7')][_0x2f55('0x6')])&&_0x5bcbb2[_0x2f55('0x15')](_0x119b7e[_0x2f55('0x7')][_0x2f55('0xe')](_0x47be3e),{'commandName':_0x2f55('0x4'),'commandParams':[]});});}),_0x5bcbb2[_0x2f55('0x3')][_0x2f55('0x5')](_0x55d10d=>{const {data:_0x82105b}=_0x55d10d;if(_0x82105b&&'removeFormat'==_0x82105b[_0x2f55('0x10')])return{'type':_0x2f55('0x11'),'content':_0x1952fb(_0x119b7e[_0x2f55('0x8')],'*Remove\x20all\x20formatting*')};});}}function to(_0x3b7a0d,_0x12b47c){for(const [_0x103fda]of _0x3b7a0d[_0x2f55('0x1')]()){const _0x483c09=_0x12b47c[_0x2f55('0x9')](_0x103fda);if(_0x483c09&&_0x483c09['isFormatting'])return!0x0;}return!0x1;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x52f0=['discardSuggestion','trackChanges','discardAllSuggestions','get','goToNextRestrictedEditingException','plugins','acceptSuggestion','has','goToPreviousRestrictedEditingException','enableCommand','acceptSelectedSuggestions','afterInit'];(function(_0xc5ccb1,_0x52f0aa){const _0x49c51e=function(_0x465522){while(--_0x465522){_0xc5ccb1['push'](_0xc5ccb1['shift']());}};_0x49c51e(++_0x52f0aa);}(_0x52f0,0x97));const _0x49c5=function(_0xc5ccb1,_0x52f0aa){_0xc5ccb1=_0xc5ccb1-0x0;let _0x49c51e=_0x52f0[_0xc5ccb1];return _0x49c51e;};import{Plugin as _0x204f02}from'ckeditor5/src/core';export default class at extends _0x204f02{[_0x49c5('0x4')](){const _0x32d6f5=this['editor'];if(!_0x32d6f5[_0x49c5('0xa')][_0x49c5('0x0')]('RestrictedEditingModeEditing'))return;const _0xa422b8=_0x32d6f5[_0x49c5('0xa')][_0x49c5('0x8')]('TrackChangesEditing');_0xa422b8[_0x49c5('0x2')](_0x49c5('0x1')),_0xa422b8['enableCommand'](_0x49c5('0x9'));const _0x24df51=_0x32d6f5[_0x49c5('0xa')][_0x49c5('0x8')]('RestrictedEditingModeEditing');_0x24df51[_0x49c5('0x2')](_0x49c5('0x6')),_0x24df51[_0x49c5('0x2')](_0x49c5('0xb')),_0x24df51['enableCommand'](_0x49c5('0x5')),_0x24df51[_0x49c5('0x2')]('acceptAllSuggestions'),_0x24df51[_0x49c5('0x2')](_0x49c5('0x7')),_0x24df51[_0x49c5('0x2')](_0x49c5('0x3')),_0x24df51['enableCommand']('discardSelectedSuggestions');}}
23
+ const _0x5702=['enableCommand','TrackChangesEditing','afterInit','goToPreviousRestrictedEditingException','discardAllSuggestions','has','discardSelectedSuggestions','discardSuggestion','goToNextRestrictedEditingException','plugins','RestrictedEditingModeEditing','get'];(function(_0xe6428f,_0x570220){const _0x59f751=function(_0x20d440){while(--_0x20d440){_0xe6428f['push'](_0xe6428f['shift']());}};_0x59f751(++_0x570220);}(_0x5702,0xa0));const _0x59f7=function(_0xe6428f,_0x570220){_0xe6428f=_0xe6428f-0x0;let _0x59f751=_0x5702[_0xe6428f];return _0x59f751;};import{Plugin as _0x5e5b28}from'ckeditor5/src/core';export default class ht extends _0x5e5b28{[_0x59f7('0xa')](){const _0x144e83=this['editor'];if(!_0x144e83[_0x59f7('0x5')][_0x59f7('0x1')](_0x59f7('0x6')))return;const _0x148417=_0x144e83['plugins']['get'](_0x59f7('0x9'));_0x148417[_0x59f7('0x8')](_0x59f7('0xb')),_0x148417[_0x59f7('0x8')](_0x59f7('0x4'));const _0xd825f5=_0x144e83[_0x59f7('0x5')][_0x59f7('0x7')](_0x59f7('0x6'));_0xd825f5[_0x59f7('0x8')]('trackChanges'),_0xd825f5[_0x59f7('0x8')]('acceptSuggestion'),_0xd825f5[_0x59f7('0x8')](_0x59f7('0x3')),_0xd825f5[_0x59f7('0x8')]('acceptAllSuggestions'),_0xd825f5[_0x59f7('0x8')](_0x59f7('0x0')),_0xd825f5[_0x59f7('0x8')]('acceptSelectedSuggestions'),_0xd825f5[_0x59f7('0x8')](_0x59f7('0x2'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1d16=['ck-suggestion-marker-','createPositionBefore','init','shiftEnter','activeMarkers','addClass','bindElementToMarker','insert','softBreak','locale','test','merge','data','split','mapper','writer','TrackChangesEditing','addMarker:suggestion','addMarker:suggestion:deletion','markerRange','get','_descriptionFactory','addMarker:suggestion:insertion','editing','plugins','options','showSuggestionHighlights','includes','getItems','model','editor','createUIElement','downcastDispatcher','ELEMENT_LINE_BREAK','markerName','toViewPosition','high'];(function(_0x183011,_0x1d16fb){const _0x257008=function(_0x55110d){while(--_0x55110d){_0x183011['push'](_0x183011['shift']());}};_0x257008(++_0x1d16fb);}(_0x1d16,0xc9));const _0x2570=function(_0x183011,_0x1d16fb){_0x183011=_0x183011-0x0;let _0x257008=_0x1d16[_0x183011];return _0x257008;};import{Plugin as _0x4649ed}from'ckeditor5/src/core';import{ShiftEnter as _0x161282}from'ckeditor5/src/enter';import{getTranslation as _0x1dd331}from'../utils/common-translations';export default class ct extends _0x4649ed{static get['requires'](){return[_0x161282];}[_0x2570('0x17')](){const _0x30b654=this[_0x2570('0xe')],_0x24af68=_0x30b654['plugins'][_0x2570('0x4')](_0x2570('0x0'));_0x24af68['enableCommand'](_0x2570('0x18')),_0x30b654[_0x2570('0x7')]['downcastDispatcher']['on'](_0x2570('0x6'),re(_0x30b654),{'priority':_0x2570('0x14')}),_0x30b654['editing'][_0x2570('0x10')]['on'](_0x2570('0x2'),re(_0x30b654),{'priority':_0x2570('0x14')}),_0x30b654[_0x2570('0x21')][_0x2570('0x10')]['on'](_0x2570('0x1'),(_0x333538,_0x33a7e1,_0x2909b2)=>{_0x2909b2[_0x2570('0x9')][_0x2570('0xa')]&&re(_0x30b654,{'showActiveMarker':!0x1})(_0x333538,_0x33a7e1,_0x2909b2);}),_0x24af68[_0x2570('0x5')]['registerElementLabel']('softBreak',_0xb7f6d2=>_0x1dd331(_0x30b654[_0x2570('0x1e')],_0x2570('0x11'),_0xb7f6d2));}}function re(_0x287d39,{showActiveMarker:_0x44525e=!0x0}={}){return(_0x517ef9,_0x51fb25,_0x3de2fa)=>{const _0x1047d4=_0x287d39[_0x2570('0x8')][_0x2570('0x4')]('TrackChangesEditing');if(!_0x3de2fa['consumable'][_0x2570('0x1f')](_0x51fb25['markerRange'],_0x517ef9['name']))return;const _0x23af33=_0x287d39[_0x2570('0xd')];for(const _0xa706a7 of _0x51fb25[_0x2570('0x3')][_0x2570('0xc')]()){if(!_0xa706a7['is']('element',_0x2570('0x1d')))continue;const _0x1108eb='deletion'==_0x51fb25[_0x2570('0x12')][_0x2570('0x22')](':')[0x1]?_0x2570('0x20'):_0x2570('0x22'),_0x53111e=_0x3de2fa[_0x2570('0x24')][_0x2570('0xf')]('span',{'class':_0x2570('0x15')+_0x1108eb}),_0x3ad6e6=_0x3de2fa[_0x2570('0x23')][_0x2570('0x13')](_0x23af33[_0x2570('0x16')](_0xa706a7));_0x44525e&&_0x1047d4[_0x2570('0x19')][_0x2570('0xb')](_0x51fb25['markerName'])&&_0x3de2fa[_0x2570('0x24')][_0x2570('0x1a')]('ck-suggestion-marker--active',_0x53111e),_0x3de2fa[_0x2570('0x24')][_0x2570('0x1c')](_0x3ad6e6,_0x53111e),_0x3de2fa[_0x2570('0x23')][_0x2570('0x1b')](_0x53111e,_0x51fb25[_0x2570('0x12')]);}};}
23
+ const _0x31b2=['editing','high','insert','markerRange','ck-suggestion-marker--active','model','editor','toViewPosition','addClass','addMarker:suggestion:deletion','registerElementLabel','addMarker:suggestion:insertion','enableCommand','shiftEnter','createPositionBefore','element','mapper','requires','markerName','get','downcastDispatcher','TrackChangesEditing','getItems','addMarker:suggestion','writer','softBreak','locale','test','split','merge','deletion','span','showSuggestionHighlights','init','consumable','bindElementToMarker','includes','ELEMENT_LINE_BREAK'];(function(_0xa00179,_0x31b221){const _0x141cee=function(_0x373b60){while(--_0x373b60){_0xa00179['push'](_0xa00179['shift']());}};_0x141cee(++_0x31b221);}(_0x31b2,0x8e));const _0x141c=function(_0xa00179,_0x31b221){_0xa00179=_0xa00179-0x0;let _0x141cee=_0x31b2[_0xa00179];return _0x141cee;};import{Plugin as _0x542ffc}from'ckeditor5/src/core';import{ShiftEnter as _0x96e312}from'ckeditor5/src/enter';import{getTranslation as _0x242917}from'../utils/common-translations';export default class ut extends _0x542ffc{static get[_0x141c('0x1b')](){return[_0x96e312];}[_0x141c('0x5')](){const _0x56ed46=this[_0x141c('0x10')],_0x5610a3=_0x56ed46['plugins'][_0x141c('0x1d')](_0x141c('0x1f'));_0x5610a3[_0x141c('0x16')](_0x141c('0x17')),_0x56ed46[_0x141c('0xa')][_0x141c('0x1e')]['on'](_0x141c('0x15'),re(_0x56ed46),{'priority':_0x141c('0xb')}),_0x56ed46[_0x141c('0xa')][_0x141c('0x1e')]['on'](_0x141c('0x13'),re(_0x56ed46),{'priority':_0x141c('0xb')}),_0x56ed46['data'][_0x141c('0x1e')]['on'](_0x141c('0x21'),(_0x570f74,_0x21273d,_0x555944)=>{_0x555944['options'][_0x141c('0x4')]&&re(_0x56ed46,{'showActiveMarker':!0x1})(_0x570f74,_0x21273d,_0x555944);}),_0x5610a3['_descriptionFactory'][_0x141c('0x14')](_0x141c('0x23'),_0x2179a1=>_0x242917(_0x56ed46[_0x141c('0x24')],_0x141c('0x9'),_0x2179a1));}}function re(_0xbbd5af,{showActiveMarker:_0x53ef9f=!0x0}={}){return(_0x427fa9,_0x2afa7f,_0x2daa39)=>{const _0x5cfd8b=_0xbbd5af['plugins'][_0x141c('0x1d')](_0x141c('0x1f'));if(!_0x2daa39[_0x141c('0x6')][_0x141c('0x25')](_0x2afa7f['markerRange'],_0x427fa9['name']))return;const _0x84a606=_0xbbd5af[_0x141c('0xf')];for(const _0x4e6992 of _0x2afa7f[_0x141c('0xd')][_0x141c('0x20')]()){if(!_0x4e6992['is'](_0x141c('0x19'),'softBreak'))continue;const _0x24414a=_0x141c('0x2')==_0x2afa7f[_0x141c('0x1c')]['split'](':')[0x1]?_0x141c('0x1'):_0x141c('0x0'),_0xe04089=_0x2daa39[_0x141c('0x22')]['createUIElement'](_0x141c('0x3'),{'class':'ck-suggestion-marker-'+_0x24414a}),_0x38cc4e=_0x2daa39[_0x141c('0x1a')][_0x141c('0x11')](_0x84a606[_0x141c('0x18')](_0x4e6992));_0x53ef9f&&_0x5cfd8b['activeMarkers'][_0x141c('0x8')](_0x2afa7f['markerName'])&&_0x2daa39[_0x141c('0x22')][_0x141c('0x12')](_0x141c('0xe'),_0xe04089),_0x2daa39['writer'][_0x141c('0xc')](_0x38cc4e,_0xe04089),_0x2daa39[_0x141c('0x1a')][_0x141c('0x7')](_0xe04089,_0x2afa7f['markerName']);}};}