@ckeditor/ckeditor5-track-changes 37.1.0 → 38.0.0-rc.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 (148) hide show
  1. package/build/track-changes.js +1 -1
  2. package/build/translations/ar.js +1 -1
  3. package/build/translations/bg.js +1 -1
  4. package/build/translations/bn.js +1 -1
  5. package/build/translations/ca.js +1 -1
  6. package/build/translations/cs.js +1 -1
  7. package/build/translations/da.js +1 -1
  8. package/build/translations/de.js +1 -1
  9. package/build/translations/el.js +1 -1
  10. package/build/translations/en-au.js +1 -1
  11. package/build/translations/es.js +1 -1
  12. package/build/translations/et.js +1 -1
  13. package/build/translations/fi.js +1 -1
  14. package/build/translations/fr.js +1 -1
  15. package/build/translations/he.js +1 -1
  16. package/build/translations/hi.js +1 -1
  17. package/build/translations/hr.js +1 -1
  18. package/build/translations/hu.js +1 -1
  19. package/build/translations/id.js +1 -1
  20. package/build/translations/it.js +1 -1
  21. package/build/translations/ja.js +1 -1
  22. package/build/translations/ko.js +1 -1
  23. package/build/translations/lt.js +1 -1
  24. package/build/translations/lv.js +1 -1
  25. package/build/translations/ms.js +1 -1
  26. package/build/translations/nl.js +1 -1
  27. package/build/translations/no.js +1 -1
  28. package/build/translations/pl.js +1 -1
  29. package/build/translations/pt-br.js +1 -1
  30. package/build/translations/pt.js +1 -1
  31. package/build/translations/ro.js +1 -1
  32. package/build/translations/ru.js +1 -1
  33. package/build/translations/sk.js +1 -1
  34. package/build/translations/sr-latn.js +1 -1
  35. package/build/translations/sr.js +1 -1
  36. package/build/translations/sv.js +1 -1
  37. package/build/translations/th.js +1 -1
  38. package/build/translations/tr.js +1 -1
  39. package/build/translations/uk.js +1 -1
  40. package/build/translations/vi.js +1 -1
  41. package/build/translations/zh-cn.js +1 -1
  42. package/build/translations/zh.js +1 -1
  43. package/lang/translations/ar.po +7 -7
  44. package/lang/translations/bg.po +3 -3
  45. package/lang/translations/bn.po +3 -3
  46. package/lang/translations/ca.po +3 -3
  47. package/lang/translations/cs.po +5 -5
  48. package/lang/translations/da.po +3 -3
  49. package/lang/translations/de.po +3 -3
  50. package/lang/translations/el.po +3 -3
  51. package/lang/translations/en-au.po +23 -23
  52. package/lang/translations/es.po +4 -4
  53. package/lang/translations/et.po +3 -3
  54. package/lang/translations/fi.po +3 -3
  55. package/lang/translations/fr.po +4 -4
  56. package/lang/translations/he.po +5 -5
  57. package/lang/translations/hi.po +3 -3
  58. package/lang/translations/hr.po +26 -26
  59. package/lang/translations/hu.po +3 -3
  60. package/lang/translations/id.po +2 -2
  61. package/lang/translations/it.po +4 -4
  62. package/lang/translations/ja.po +2 -2
  63. package/lang/translations/ko.po +2 -2
  64. package/lang/translations/lt.po +5 -5
  65. package/lang/translations/lv.po +4 -4
  66. package/lang/translations/ms.po +2 -2
  67. package/lang/translations/nl.po +3 -3
  68. package/lang/translations/no.po +3 -3
  69. package/lang/translations/pl.po +5 -5
  70. package/lang/translations/pt-br.po +4 -4
  71. package/lang/translations/pt.po +4 -4
  72. package/lang/translations/ro.po +4 -4
  73. package/lang/translations/ru.po +5 -5
  74. package/lang/translations/sk.po +5 -5
  75. package/lang/translations/sr-latn.po +4 -4
  76. package/lang/translations/sr.po +4 -4
  77. package/lang/translations/sv.po +3 -3
  78. package/lang/translations/th.po +2 -2
  79. package/lang/translations/tr.po +3 -3
  80. package/lang/translations/uk.po +5 -5
  81. package/lang/translations/vi.po +2 -2
  82. package/lang/translations/zh-cn.po +2 -2
  83. package/lang/translations/zh.po +2 -2
  84. package/package.json +2 -2
  85. package/src/commands/acceptsuggestioncommand.js +1 -1
  86. package/src/commands/discardsuggestioncommand.js +1 -1
  87. package/src/commands/executeonallsuggestionscommand.js +1 -1
  88. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  89. package/src/commands/trackchangescommand.js +1 -1
  90. package/src/integrations/alignment.js +1 -1
  91. package/src/integrations/basicstyles.js +1 -1
  92. package/src/integrations/blockquote.js +1 -1
  93. package/src/integrations/ckbox.js +1 -1
  94. package/src/integrations/codeblock.js +1 -1
  95. package/src/integrations/comments.js +1 -1
  96. package/src/integrations/deletecommand.js +1 -1
  97. package/src/integrations/documentlist.js +1 -1
  98. package/src/integrations/documentlistproperties.js +1 -1
  99. package/src/integrations/entercommand.js +1 -1
  100. package/src/integrations/findandreplace.js +1 -1
  101. package/src/integrations/font.js +1 -1
  102. package/src/integrations/formatpainter.js +1 -1
  103. package/src/integrations/heading.js +1 -1
  104. package/src/integrations/highlight.js +1 -1
  105. package/src/integrations/horizontalline.js +1 -1
  106. package/src/integrations/htmlembed.js +1 -1
  107. package/src/integrations/image.js +1 -1
  108. package/src/integrations/imagereplace.js +1 -1
  109. package/src/integrations/importword.js +1 -1
  110. package/src/integrations/indent.js +1 -1
  111. package/src/integrations/inputcommand.js +1 -1
  112. package/src/integrations/link.js +1 -1
  113. package/src/integrations/list.js +1 -1
  114. package/src/integrations/listproperties.js +1 -1
  115. package/src/integrations/mediaembed.js +1 -1
  116. package/src/integrations/mention.js +1 -1
  117. package/src/integrations/pagebreak.js +1 -1
  118. package/src/integrations/paragraph.js +1 -1
  119. package/src/integrations/removeformat.js +1 -1
  120. package/src/integrations/restrictededitingmode.js +1 -1
  121. package/src/integrations/shiftentercommand.js +1 -1
  122. package/src/integrations/standardeditingmode.js +1 -1
  123. package/src/integrations/style.js +1 -1
  124. package/src/integrations/table.js +1 -1
  125. package/src/integrations/tablecaption.js +1 -1
  126. package/src/integrations/tableclipboard.js +1 -1
  127. package/src/integrations/tablecolumnresize.js +1 -1
  128. package/src/integrations/tableheadings.js +1 -1
  129. package/src/integrations/tablemergesplit.js +1 -1
  130. package/src/integrations/tableofcontents.js +1 -1
  131. package/src/integrations/tableproperties.js +1 -1
  132. package/src/integrations/template.js +1 -1
  133. package/src/integrations/title.js +1 -1
  134. package/src/integrations/undo.js +1 -1
  135. package/src/integrations/utils.js +1 -1
  136. package/src/suggestion.js +1 -1
  137. package/src/suggestiondescriptionfactory.js +1 -1
  138. package/src/trackchanges.d.ts +23 -5
  139. package/src/trackchanges.js +1 -1
  140. package/src/trackchangesconfig.d.ts +23 -5
  141. package/src/trackchangesdata.js +1 -1
  142. package/src/trackchangesediting.js +1 -1
  143. package/src/trackchangesui.js +1 -1
  144. package/src/ui/suggestioncontroller.js +1 -1
  145. package/src/ui/view/basesuggestionthreadview.js +1 -1
  146. package/src/ui/view/suggestionthreadview.js +1 -1
  147. package/src/utils/common-translations.js +1 -1
  148. package/src/utils/utils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1f41=['value','locale','FORMAT_ALIGN_TO_RIGHT','_descriptionFactory','center','commandName','format','checkAttribute','ltr','left','TrackChangesEditing','contentLanguageDirection','model','*Format:*\x20%0','right','editor','getAttribute','FORMAT_JUSTIFY_TEXT','selection','AlignmentEditing','commandParams','afterInit','schema','change','getSelectedBlocks','FORMAT_ALIGN_TO_CENTER','filter','enableCommand','plugins','FORMAT_ALIGN_TO_LEFT','alignment'];(function(_0xd22a59,_0x1f4171){const _0x3853ad=function(_0x36995f){while(--_0x36995f){_0xd22a59['push'](_0xd22a59['shift']());}};_0x3853ad(++_0x1f4171);}(_0x1f41,0x9b));const _0x3853=function(_0xd22a59,_0x1f4171){_0xd22a59=_0xd22a59-0x0;let _0x3853ad=_0x1f41[_0xd22a59];return _0x3853ad;};import{Plugin as _0x5611b6}from'ckeditor5/src/core';import{getTranslation as _0x4b04f7}from'../utils/common-translations';export default class x extends _0x5611b6{[_0x3853('0x15')](){const _0x14212a=this[_0x3853('0xf')],_0x277cbe=_0x14212a[_0x3853('0x1')];if(!_0x14212a[_0x3853('0x1c')]['has'](_0x3853('0x13')))return;const _0xe42571=_0x14212a[_0x3853('0x1c')]['get'](_0x3853('0xa'));_0xe42571[_0x3853('0x1b')]('alignment',(_0x504447,_0xa1f2={})=>{let _0x216747=_0xa1f2['value'];_0xa1f2[_0x3853('0x0')]||(_0x216747=_0x3853('0x8')===_0x14212a['locale'][_0x3853('0xb')]?'left':_0x3853('0xe'));const _0x51723e=Array['from'](this[_0x3853('0xf')]['model']['document'][_0x3853('0x12')][_0x3853('0x18')]())[_0x3853('0x1a')](_0x1b478b=>function(_0x3a0fc5,_0x438d27,_0x580f13){const _0x2e879a=_0x3a0fc5[_0x3853('0x10')](_0x3853('0x1e'))||null;return _0x438d27[_0x3853('0x7')](_0x3a0fc5,_0x3853('0x1e'))&&_0x580f13!=_0x2e879a;}(_0x1b478b,this['editor'][_0x3853('0xc')][_0x3853('0x16')],_0x216747));_0x14212a[_0x3853('0xc')][_0x3853('0x17')](()=>{for(const _0x5b72c7 of _0x51723e)_0xe42571['markBlockFormat'](_0x5b72c7,{'commandName':_0x3853('0x1e'),'commandParams':[{'value':_0x216747}]});});}),_0xe42571[_0x3853('0x3')]['registerDescriptionCallback'](_0x36f4d9=>{const {data:_0x26055b}=_0x36f4d9;if(_0x26055b&&_0x3853('0x1e')==_0x26055b[_0x3853('0x5')]){const _0x2457d6=_0x26055b[_0x3853('0x14')][0x0][_0x3853('0x0')];return{'type':_0x3853('0x6'),'content':_0x4b04f7(_0x277cbe,_0x3853('0xd'),function(_0x512ac9){switch(_0x512ac9){case _0x3853('0x9'):return _0x4b04f7(_0x277cbe,_0x3853('0x1d'));case _0x3853('0xe'):return _0x4b04f7(_0x277cbe,_0x3853('0x2'));case _0x3853('0x4'):return _0x4b04f7(_0x277cbe,_0x3853('0x19'));case'justify':return _0x4b04f7(_0x277cbe,_0x3853('0x11'));}}(_0x2457d6))};}});}}
23
+ const _0x502b=['AlignmentEditing','FORMAT_ALIGN_TO_RIGHT','format','schema','checkAttribute','contentLanguageDirection','document','commandName','left','commandParams','enableCommand','has','locale','right','selection','alignment','editor','FORMAT_ALIGN_TO_LEFT','FORMAT_JUSTIFY_TEXT','filter','plugins','model','center','from','value','get','FORMAT_ALIGN_TO_CENTER','getAttribute'];(function(_0x4f5b02,_0x502bd6){const _0x326a95=function(_0x4e88fd){while(--_0x4e88fd){_0x4f5b02['push'](_0x4f5b02['shift']());}};_0x326a95(++_0x502bd6);}(_0x502b,0x1b1));const _0x326a=function(_0x4f5b02,_0x502bd6){_0x4f5b02=_0x4f5b02-0x0;let _0x326a95=_0x502b[_0x4f5b02];return _0x326a95;};import{Plugin as _0xadd55}from'ckeditor5/src/core';import{getTranslation as _0x305eb4}from'../utils/common-translations';export default class x extends _0xadd55{['afterInit'](){const _0x185c91=this[_0x326a('0x3')],_0x3eddc2=_0x185c91[_0x326a('0x1b')];if(!_0x185c91[_0x326a('0x7')][_0x326a('0x1a')](_0x326a('0xf')))return;const _0x2a01af=_0x185c91[_0x326a('0x7')][_0x326a('0xc')]('TrackChangesEditing');_0x2a01af[_0x326a('0x19')](_0x326a('0x2'),(_0x257acf,_0xfb6f25={})=>{let _0x34a1b2=_0xfb6f25[_0x326a('0xb')];_0xfb6f25[_0x326a('0xb')]||(_0x34a1b2='ltr'===_0x185c91['locale'][_0x326a('0x14')]?_0x326a('0x17'):_0x326a('0x0'));const _0x5db98e=Array[_0x326a('0xa')](this[_0x326a('0x3')][_0x326a('0x8')][_0x326a('0x15')][_0x326a('0x1')]['getSelectedBlocks']())[_0x326a('0x6')](_0xa47c78=>function(_0x3eec5a,_0x33d247,_0x5485fa){const _0x4a2d4a=_0x3eec5a[_0x326a('0xe')](_0x326a('0x2'))||null;return _0x33d247[_0x326a('0x13')](_0x3eec5a,'alignment')&&_0x5485fa!=_0x4a2d4a;}(_0xa47c78,this['editor'][_0x326a('0x8')][_0x326a('0x12')],_0x34a1b2));_0x185c91[_0x326a('0x8')]['change'](()=>{for(const _0x5087f0 of _0x5db98e)_0x2a01af['markBlockFormat'](_0x5087f0,{'commandName':_0x326a('0x2'),'commandParams':[{'value':_0x34a1b2}]});});}),_0x2a01af['_descriptionFactory']['registerDescriptionCallback'](_0x123176=>{const {data:_0x27882e}=_0x123176;if(_0x27882e&&_0x326a('0x2')==_0x27882e[_0x326a('0x16')]){const _0x27aaf0=_0x27882e[_0x326a('0x18')][0x0][_0x326a('0xb')];return{'type':_0x326a('0x11'),'content':_0x305eb4(_0x3eddc2,'*Format:*\x20%0',function(_0x2faa19){switch(_0x2faa19){case _0x326a('0x17'):return _0x305eb4(_0x3eddc2,_0x326a('0x4'));case _0x326a('0x0'):return _0x305eb4(_0x3eddc2,_0x326a('0x10'));case _0x326a('0x9'):return _0x305eb4(_0x3eddc2,_0x326a('0xd'));case'justify':return _0x305eb4(_0x3eddc2,_0x326a('0x5'));}}(_0x27aaf0))};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1cb5=['enableCommand','strikethrough','code','toLowerCase','SuperscriptEditing','StrikethroughEditing','editor','from','underline','FORMAT_BOLD','subscript','markInlineFormat','FORMAT_CODE','selection','_descriptionFactory','FORMAT_SUPERSCRIPT','*Remove\x20format:*\x20%0','bold','FORMAT_ITALIC','afterInit','change','commandParams','TrackChangesEditing','get','ItalicEditing','BoldEditing','plugins','has','value','commandName','isCollapsed','forceValue','format','getRanges','registerDescriptionCallback','SubscriptEditing','locale','FORMAT_STRIKETHROUGH'];(function(_0x33f65b,_0x1cb573){const _0x4a4e8c=function(_0x624210){while(--_0x624210){_0x33f65b['push'](_0x33f65b['shift']());}};_0x4a4e8c(++_0x1cb573);}(_0x1cb5,0x13e));const _0x4a4e=function(_0x33f65b,_0x1cb573){_0x33f65b=_0x33f65b-0x0;let _0x4a4e8c=_0x1cb5[_0x33f65b];return _0x4a4e8c;};import{Plugin as _0x463596}from'ckeditor5/src/core';import{getTranslation as _0x44e544}from'../utils/common-translations';import{getRangesWithAttribute as _0x1b8fb7}from'./utils';const Kt=[_0x4a4e('0xb'),_0x4a4e('0xa'),'UnderlineEditing','CodeEditing',_0x4a4e('0x1d'),_0x4a4e('0x15'),_0x4a4e('0x1c')];export default class U extends _0x463596{[_0x4a4e('0x5')](){const _0x5f0858=this[_0x4a4e('0x1e')],_0x56365e=_0x5f0858['model'],_0x24bc73=_0x5f0858[_0x4a4e('0xc')][_0x4a4e('0x9')](_0x4a4e('0x8')),_0x50d313=_0x5f0858[_0x4a4e('0x16')];for(const _0x10a521 of Kt){if(!_0x5f0858[_0x4a4e('0xc')][_0x4a4e('0xd')](_0x10a521))continue;const _0x5b0a73=_0x10a521['slice'](0x0,-0x7)[_0x4a4e('0x1b')](),_0x19b732=_0x5f0858['commands'][_0x4a4e('0x9')](_0x5b0a73);_0x24bc73[_0x4a4e('0x18')](_0x5b0a73,(_0x1df543,_0x4c36ba={})=>{const _0x2ba13f=_0x56365e['document'][_0x4a4e('0x25')];if(_0x2ba13f[_0x4a4e('0x10')])return void _0x1df543(_0x4c36ba);const _0x177b3b=void 0x0!==_0x4c36ba[_0x4a4e('0x11')]?_0x4c36ba[_0x4a4e('0x11')]:!_0x19b732[_0x4a4e('0xe')];_0x56365e[_0x4a4e('0x6')](()=>{const _0x2028eb=Array[_0x4a4e('0x1f')](_0x2ba13f[_0x4a4e('0x13')]());for(const _0x431293 of _0x2028eb){const _0xcb1f45=_0x177b3b?[_0x431293]:_0x1b8fb7(_0x5b0a73,_0x431293,_0x56365e);for(const _0x475623 of _0xcb1f45)_0x24bc73[_0x4a4e('0x23')](_0x475623,{'commandName':_0x5b0a73,'commandParams':[{'forceValue':_0x177b3b}]});}});});}function _0x5dbc40(_0xe7037a,_0x317a11){_0x24bc73[_0x4a4e('0x0')][_0x4a4e('0x14')](_0x36f986=>{const {data:_0x322684}=_0x36f986;if(_0x322684&&_0x322684[_0x4a4e('0xf')]===_0xe7037a)return _0x322684[_0x4a4e('0x7')][0x0][_0x4a4e('0x11')]?{'type':'format','content':_0x44e544(_0x50d313,'*Format:*\x20%0',_0x317a11)}:{'type':_0x4a4e('0x12'),'content':_0x44e544(_0x50d313,_0x4a4e('0x2'),_0x317a11)};});}_0x5dbc40(_0x4a4e('0x3'),_0x44e544(_0x50d313,_0x4a4e('0x21'))),_0x5dbc40('italic',_0x44e544(_0x50d313,_0x4a4e('0x4'))),_0x5dbc40(_0x4a4e('0x20'),_0x44e544(_0x50d313,'FORMAT_UNDERLINE')),_0x5dbc40(_0x4a4e('0x1a'),_0x44e544(_0x50d313,_0x4a4e('0x24'))),_0x5dbc40(_0x4a4e('0x19'),_0x44e544(_0x50d313,_0x4a4e('0x17'))),_0x5dbc40(_0x4a4e('0x22'),_0x44e544(_0x50d313,'FORMAT_SUBSCRIPT')),_0x5dbc40('superscript',_0x44e544(_0x50d313,_0x4a4e('0x1')));}}
23
+ const _0x1ac7=['*Remove\x20format:*\x20%0','format','FORMAT_STRIKETHROUGH','StrikethroughEditing','isCollapsed','toLowerCase','enableCommand','FORMAT_SUPERSCRIPT','selection','slice','value','afterInit','registerDescriptionCallback','TrackChangesEditing','code','superscript','_descriptionFactory','get','commandParams','FORMAT_BOLD','italic','SubscriptEditing','markInlineFormat','strikethrough','FORMAT_ITALIC','commandName','from','underline','subscript','editor','locale','SuperscriptEditing','document','getRanges','forceValue','has'];(function(_0x532cd0,_0x1ac740){const _0x1d300f=function(_0xb449f5){while(--_0xb449f5){_0x532cd0['push'](_0x532cd0['shift']());}};_0x1d300f(++_0x1ac740);}(_0x1ac7,0x1c1));const _0x1d30=function(_0x532cd0,_0x1ac740){_0x532cd0=_0x532cd0-0x0;let _0x1d300f=_0x1ac7[_0x532cd0];return _0x1d300f;};import{Plugin as _0x1d1e47}from'ckeditor5/src/core';import{getTranslation as _0x1408cb}from'../utils/common-translations';import{getRangesWithAttribute as _0x40334b}from'./utils';const Kt=['BoldEditing','ItalicEditing','UnderlineEditing','CodeEditing',_0x1d30('0x16'),_0x1d30('0x4'),_0x1d30('0xe')];export default class U extends _0x1d1e47{[_0x1d30('0x1e')](){const _0x119c75=this[_0x1d30('0xc')],_0x1bf58f=_0x119c75['model'],_0x41fab0=_0x119c75['plugins'][_0x1d30('0x0')](_0x1d30('0x20')),_0xd91159=_0x119c75[_0x1d30('0xd')];for(const _0x5a5b48 of Kt){if(!_0x119c75['plugins'][_0x1d30('0x12')](_0x5a5b48))continue;const _0x43504c=_0x5a5b48[_0x1d30('0x1c')](0x0,-0x7)[_0x1d30('0x18')](),_0x1eff5e=_0x119c75['commands']['get'](_0x43504c);_0x41fab0[_0x1d30('0x19')](_0x43504c,(_0x596ad3,_0x1e753a={})=>{const _0x5c1bb2=_0x1bf58f[_0x1d30('0xf')][_0x1d30('0x1b')];if(_0x5c1bb2[_0x1d30('0x17')])return void _0x596ad3(_0x1e753a);const _0x48b727=void 0x0!==_0x1e753a[_0x1d30('0x11')]?_0x1e753a[_0x1d30('0x11')]:!_0x1eff5e[_0x1d30('0x1d')];_0x1bf58f['change'](()=>{const _0x60ab3c=Array[_0x1d30('0x9')](_0x5c1bb2[_0x1d30('0x10')]());for(const _0x54fc36 of _0x60ab3c){const _0x266c69=_0x48b727?[_0x54fc36]:_0x40334b(_0x43504c,_0x54fc36,_0x1bf58f);for(const _0x249c41 of _0x266c69)_0x41fab0[_0x1d30('0x5')](_0x249c41,{'commandName':_0x43504c,'commandParams':[{'forceValue':_0x48b727}]});}});});}function _0x37ff77(_0x1cedd1,_0x146fbd){_0x41fab0[_0x1d30('0x23')][_0x1d30('0x1f')](_0x19e69d=>{const {data:_0x5d0f04}=_0x19e69d;if(_0x5d0f04&&_0x5d0f04[_0x1d30('0x8')]===_0x1cedd1)return _0x5d0f04[_0x1d30('0x1')][0x0][_0x1d30('0x11')]?{'type':_0x1d30('0x14'),'content':_0x1408cb(_0xd91159,'*Format:*\x20%0',_0x146fbd)}:{'type':_0x1d30('0x14'),'content':_0x1408cb(_0xd91159,_0x1d30('0x13'),_0x146fbd)};});}_0x37ff77('bold',_0x1408cb(_0xd91159,_0x1d30('0x2'))),_0x37ff77(_0x1d30('0x3'),_0x1408cb(_0xd91159,_0x1d30('0x7'))),_0x37ff77(_0x1d30('0xa'),_0x1408cb(_0xd91159,'FORMAT_UNDERLINE')),_0x37ff77(_0x1d30('0x21'),_0x1408cb(_0xd91159,'FORMAT_CODE')),_0x37ff77(_0x1d30('0x6'),_0x1408cb(_0xd91159,_0x1d30('0x15'))),_0x37ff77(_0x1d30('0xb'),_0x1408cb(_0xd91159,'FORMAT_SUBSCRIPT')),_0x37ff77(_0x1d30('0x22'),_0x1408cb(_0xd91159,_0x1d30('0x1a')));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4f99=['selection','plugins','format','afterInit','editor','parent','$root','commands','blockQuote','forceValue','commandParams','schema','BlockQuoteEditing','model','locale','registerDescriptionCallback','_descriptionFactory','from','getSelectedBlocks','has','TrackChangesEditing','commandName','ELEMENT_BLOCK_QUOTE','*Format:*\x20%0','*Remove\x20format:*\x20%0','get','enableCommand','value'];(function(_0x5b8bf1,_0x4f99d0){const _0x4f37e0=function(_0x4f9adb){while(--_0x4f9adb){_0x5b8bf1['push'](_0x5b8bf1['shift']());}};_0x4f37e0(++_0x4f99d0);}(_0x4f99,0x1e4));const _0x4f37=function(_0x5b8bf1,_0x4f99d0){_0x5b8bf1=_0x5b8bf1-0x0;let _0x4f37e0=_0x4f99[_0x5b8bf1];return _0x4f37e0;};import{Plugin as _0x423cc2}from'ckeditor5/src/core';import{getTranslation as _0x2acf7c}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x104398}from'../utils/utils';export default class j extends _0x423cc2{[_0x4f37('0x17')](){const _0x42e0f0=this[_0x4f37('0x18')],_0x16313f=_0x42e0f0[_0x4f37('0x6')];if(!_0x42e0f0['plugins'][_0x4f37('0xb')](_0x4f37('0x4')))return;const _0x29f196=_0x42e0f0[_0x4f37('0x15')][_0x4f37('0x11')](_0x4f37('0xc')),_0x345d2c=this['editor'][_0x4f37('0x1b')]['get'](_0x4f37('0x0'));_0x29f196[_0x4f37('0x12')](_0x4f37('0x0'),(_0x3fcfee,_0x1b1668={})=>{const _0x4ee078=this[_0x4f37('0x18')]['model']['document'][_0x4f37('0x14')],_0x196a19=_0x1b1668&&void 0x0!==_0x1b1668[_0x4f37('0x1')]?_0x1b1668[_0x4f37('0x1')]:!_0x345d2c[_0x4f37('0x13')];let _0x5d3127=[];if(_0x196a19){const _0x32f03c=Array[_0x4f37('0x9')](_0x4ee078[_0x4f37('0xa')]())['filter'](_0x34c906=>Xt(_0x34c906)||function(_0x2f37cc,_0x10ff28){const _0x37df8b=_0x10ff28['checkChild'](_0x2f37cc['parent'],'blockQuote'),_0x1a2804=_0x10ff28['checkChild']([_0x4f37('0x1a'),_0x4f37('0x0')],_0x2f37cc);return _0x37df8b&&_0x1a2804;}(_0x34c906,this['editor'][_0x4f37('0x5')][_0x4f37('0x3')]));_0x5d3127=_0x104398(_0x32f03c,_0x42e0f0[_0x4f37('0x5')]);}else{const _0x20f9f4=Array[_0x4f37('0x9')](_0x4ee078[_0x4f37('0xa')]())['filter'](_0x53412c=>Xt(_0x53412c));_0x5d3127=_0x104398(_0x20f9f4,_0x42e0f0[_0x4f37('0x5')]);}_0x42e0f0[_0x4f37('0x5')]['change'](()=>{for(const _0xd0b416 of _0x5d3127)_0x29f196['markBlockFormat'](_0xd0b416,{'commandName':_0x4f37('0x0'),'commandParams':[{'forceValue':_0x196a19}]});});}),_0x29f196[_0x4f37('0x8')][_0x4f37('0x7')](_0x3e1062=>{const {data:_0x1bea1e}=_0x3e1062;if(_0x1bea1e&&'blockQuote'==_0x1bea1e[_0x4f37('0xd')]){const _0x8062c6=_0x2acf7c(_0x16313f,_0x4f37('0xe'));return _0x1bea1e[_0x4f37('0x2')][0x0][_0x4f37('0x1')]?{'type':'format','content':_0x2acf7c(_0x16313f,_0x4f37('0xf'),_0x8062c6)}:{'type':_0x4f37('0x16'),'content':_0x2acf7c(_0x16313f,_0x4f37('0x10'),_0x8062c6)};}});}}function Xt(_0x245d98){return _0x4f37('0x0')==_0x245d98[_0x4f37('0x19')]['name'];}
23
+ const _0x5cec=['markBlockFormat','parent','forceValue','_descriptionFactory','commandParams','blockQuote','get','locale','commands','schema','model','change','*Format:*\x20%0','filter','format','name','getSelectedBlocks','registerDescriptionCallback','from','checkChild','value','editor','plugins','afterInit','has'];(function(_0x272ad2,_0x5cec15){const _0x5b5738=function(_0x4c8ca6){while(--_0x4c8ca6){_0x272ad2['push'](_0x272ad2['shift']());}};_0x5b5738(++_0x5cec15);}(_0x5cec,0x108));const _0x5b57=function(_0x272ad2,_0x5cec15){_0x272ad2=_0x272ad2-0x0;let _0x5b5738=_0x5cec[_0x272ad2];return _0x5b5738;};import{Plugin as _0x3b44ba}from'ckeditor5/src/core';import{getTranslation as _0x15d694}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x572510}from'../utils/utils';export default class j extends _0x3b44ba{[_0x5b57('0x9')](){const _0x14aa72=this[_0x5b57('0x7')],_0x5bf12b=_0x14aa72[_0x5b57('0x12')];if(!_0x14aa72[_0x5b57('0x8')][_0x5b57('0xa')]('BlockQuoteEditing'))return;const _0x57bbaa=_0x14aa72[_0x5b57('0x8')][_0x5b57('0x11')]('TrackChangesEditing'),_0x34842a=this[_0x5b57('0x7')][_0x5b57('0x13')]['get']('blockQuote');_0x57bbaa['enableCommand'](_0x5b57('0x10'),(_0x305dae,_0xb7d204={})=>{const _0x1da3fb=this['editor'][_0x5b57('0x15')]['document']['selection'],_0x351779=_0xb7d204&&void 0x0!==_0xb7d204['forceValue']?_0xb7d204[_0x5b57('0xd')]:!_0x34842a[_0x5b57('0x6')];let _0x2ff502=[];if(_0x351779){const _0x22dd05=Array['from'](_0x1da3fb['getSelectedBlocks']())[_0x5b57('0x18')](_0x40b9ee=>Xt(_0x40b9ee)||function(_0x1026e0,_0x31820d){const _0x265e7a=_0x31820d[_0x5b57('0x5')](_0x1026e0[_0x5b57('0xc')],_0x5b57('0x10')),_0x453f72=_0x31820d[_0x5b57('0x5')](['$root',_0x5b57('0x10')],_0x1026e0);return _0x265e7a&&_0x453f72;}(_0x40b9ee,this[_0x5b57('0x7')][_0x5b57('0x15')][_0x5b57('0x14')]));_0x2ff502=_0x572510(_0x22dd05,_0x14aa72['model']);}else{const _0x2d646e=Array[_0x5b57('0x4')](_0x1da3fb[_0x5b57('0x2')]())['filter'](_0x1161d2=>Xt(_0x1161d2));_0x2ff502=_0x572510(_0x2d646e,_0x14aa72['model']);}_0x14aa72['model'][_0x5b57('0x16')](()=>{for(const _0x5e4a16 of _0x2ff502)_0x57bbaa[_0x5b57('0xb')](_0x5e4a16,{'commandName':_0x5b57('0x10'),'commandParams':[{'forceValue':_0x351779}]});});}),_0x57bbaa[_0x5b57('0xe')][_0x5b57('0x3')](_0x27c28f=>{const {data:_0x4238c5}=_0x27c28f;if(_0x4238c5&&_0x5b57('0x10')==_0x4238c5['commandName']){const _0x4e6abf=_0x15d694(_0x5bf12b,'ELEMENT_BLOCK_QUOTE');return _0x4238c5[_0x5b57('0xf')][0x0][_0x5b57('0xd')]?{'type':_0x5b57('0x0'),'content':_0x15d694(_0x5bf12b,_0x5b57('0x17'),_0x4e6abf)}:{'type':_0x5b57('0x0'),'content':_0x15d694(_0x5bf12b,'*Remove\x20format:*\x20%0',_0x4e6abf)};}});}}function Xt(_0x2decb4){return _0x5b57('0x10')==_0x2decb4[_0x5b57('0xc')][_0x5b57('0x1')];}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1ebc=['afterInit','commands','TrackChangesEditing','ckbox','get','enableCommand','editor'];(function(_0x560e5b,_0x1ebc06){const _0x3205fe=function(_0x20170b){while(--_0x20170b){_0x560e5b['push'](_0x560e5b['shift']());}};_0x3205fe(++_0x1ebc06);}(_0x1ebc,0x1cd));const _0x3205=function(_0x560e5b,_0x1ebc06){_0x560e5b=_0x560e5b-0x0;let _0x3205fe=_0x1ebc[_0x560e5b];return _0x3205fe;};import{Plugin as _0x37c563}from'ckeditor5/src/core';export default class E extends _0x37c563{[_0x3205('0x1')](){const _0x5d72c6=this[_0x3205('0x0')];_0x5d72c6[_0x3205('0x2')][_0x3205('0x5')](_0x3205('0x4'))&&_0x5d72c6['plugins'][_0x3205('0x5')](_0x3205('0x3'))[_0x3205('0x6')](_0x3205('0x4'));}}
23
+ const _0x26b2=['commands','ckbox','editor','plugins','enableCommand','get'];(function(_0x421beb,_0x26b292){const _0x3af174=function(_0x2b9e32){while(--_0x2b9e32){_0x421beb['push'](_0x421beb['shift']());}};_0x3af174(++_0x26b292);}(_0x26b2,0x179));const _0x3af1=function(_0x421beb,_0x26b292){_0x421beb=_0x421beb-0x0;let _0x3af174=_0x26b2[_0x421beb];return _0x3af174;};import{Plugin as _0xc927df}from'ckeditor5/src/core';export default class E extends _0xc927df{['afterInit'](){const _0x2db343=this[_0x3af1('0x3')];_0x2db343[_0x3af1('0x1')]['get'](_0x3af1('0x2'))&&_0x2db343[_0x3af1('0x4')][_0x3af1('0x0')]('TrackChangesEditing')[_0x3af1('0x5')](_0x3af1('0x2'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x232f=['value','codeBlock','document','commandParams','find','from','isLimit','change','formatBlock','registerElementLabel','schema','commands','getSelectedBlocks','plugins','_descriptionFactory','filter','enableCommand','selection','format','config','forceValue','rootElement','*Remove\x20format:*\x20%0','afterInit','ELEMENT_CODE_BLOCK','parent','get','model','name','CodeBlock','registerDescriptionCallback','commandName','TrackChangesEditing','locale','has','language','label','editor'];(function(_0x3660b6,_0x232fcf){const _0x6520d=function(_0x5c5288){while(--_0x5c5288){_0x3660b6['push'](_0x3660b6['shift']());}};_0x6520d(++_0x232fcf);}(_0x232f,0x148));const _0x6520=function(_0x3660b6,_0x232fcf){_0x3660b6=_0x3660b6-0x0;let _0x6520d=_0x232f[_0x3660b6];return _0x6520d;};import{Plugin as _0x27bc07}from'ckeditor5/src/core';import{getTranslation as _0x48c0aa}from'../utils/common-translations';import{getRangesOfBlockGroups as _0xb08b69}from'../utils/utils';export default class O extends _0x27bc07{[_0x6520('0x25')](){const _0x6aa301=this[_0x6520('0xd')];if(!_0x6aa301[_0x6520('0x1b')][_0x6520('0xa')](_0x6520('0x5')))return;const _0x5b1491=_0x6aa301[_0x6520('0x1b')]['get'](_0x6520('0x8')),_0x42b5bb=_0x6aa301[_0x6520('0x9')],_0x383c5f=_0x6aa301[_0x6520('0x21')][_0x6520('0x2')](_0x6520('0xf'))['languages'],_0x3db452=_0x6aa301[_0x6520('0x19')]['get'](_0x6520('0xf'));_0x5b1491['enableCommand']('indentCodeBlock'),_0x5b1491['enableCommand']('outdentCodeBlock'),_0x5b1491[_0x6520('0x1e')]('codeBlock',(_0x25c033,_0x5515f6={})=>{const _0x534f91=_0x6aa301['model'],_0xf14e86=_0x6aa301[_0x6520('0x3')][_0x6520('0x10')][_0x6520('0x1f')],_0x17f78d=_0x5515f6&&void 0x0!==_0x5515f6['forceValue']?_0x5515f6[_0x6520('0x22')]:!_0x3db452[_0x6520('0xe')];let _0x42a62d;_0x5515f6[_0x6520('0xb')]||(_0x5515f6['language']=_0x383c5f[0x0][_0x6520('0xb')]),_0x42a62d=_0x17f78d?Array[_0x6520('0x13')](_0xf14e86[_0x6520('0x1a')]())[_0x6520('0x1d')](_0x3672b6=>to(_0x3672b6)||function(_0x52e543,_0x58f958){if(_0x52e543['is'](_0x6520('0x23'))||_0x58f958[_0x6520('0x14')](_0x52e543))return!0x1;return _0x58f958['checkChild'](_0x52e543[_0x6520('0x1')],_0x6520('0xf'));}(_0x3672b6,_0x534f91[_0x6520('0x18')])):Array['from'](_0xf14e86[_0x6520('0x1a')]())['filter'](_0x3736ee=>to(_0x3736ee));const _0xa790d3=_0xb08b69(_0x42a62d,_0x534f91);_0x534f91[_0x6520('0x15')](()=>{for(const _0x83ca79 of _0xa790d3)_0x5b1491['markBlockFormat'](_0x83ca79,{'commandName':_0x6520('0xf'),'commandParams':[{..._0x5515f6,'forceValue':_0x17f78d}],'formatGroupId':'blockName'});});}),(_0x5b1491[_0x6520('0x1c')][_0x6520('0x17')](_0x6520('0xf'),_0x22031e=>_0x48c0aa(_0x42b5bb,_0x6520('0x0'),_0x22031e)),_0x5b1491['_descriptionFactory'][_0x6520('0x6')](_0x6349b4=>{const _0x375570=_0x42b5bb['t'],{type:_0x428bb9,data:_0xa0c02b}=_0x6349b4;if(_0x6520('0x16')==_0x428bb9&&_0xa0c02b&&_0x6520('0xf')==_0xa0c02b[_0x6520('0x7')]){const _0x5ac239=_0xa0c02b[_0x6520('0x11')][0x0][_0x6520('0xb')],_0x562303=_0x375570(_0x383c5f[_0x6520('0x12')](_0x86efce=>_0x86efce[_0x6520('0xb')]===_0x5ac239)[_0x6520('0xc')]);return _0xa0c02b[_0x6520('0x11')][0x0][_0x6520('0x22')]?{'type':_0x6520('0x20'),'content':_0x48c0aa(_0x42b5bb,'*Format:*\x20%0',_0x48c0aa(_0x42b5bb,_0x6520('0x0'),0x1)+'\x20('+_0x562303+')')}:{'type':_0x6520('0x20'),'content':_0x48c0aa(_0x42b5bb,_0x6520('0x24'),_0x48c0aa(_0x42b5bb,_0x6520('0x0'),0x1))};}}));}}function to(_0x3525af){return _0x6520('0xf')==_0x3525af[_0x6520('0x4')];}
23
+ const _0x4d98=['change','getSelectedBlocks','isLimit','afterInit','enableCommand','language','codeBlock','model','document','editor','languages','has','commandParams','label','ELEMENT_CODE_BLOCK','_descriptionFactory','selection','from','*Format:*\x20%0','schema','rootElement','plugins','indentCodeBlock','value','commandName','CodeBlock','forceValue','filter','get','format','blockName','parent'];(function(_0x1c49e7,_0x4d9837){const _0x5538ec=function(_0x484aa2){while(--_0x484aa2){_0x1c49e7['push'](_0x1c49e7['shift']());}};_0x5538ec(++_0x4d9837);}(_0x4d98,0xda));const _0x5538=function(_0x1c49e7,_0x4d9837){_0x1c49e7=_0x1c49e7-0x0;let _0x5538ec=_0x4d98[_0x1c49e7];return _0x5538ec;};import{Plugin as _0x133f29}from'ckeditor5/src/core';import{getTranslation as _0x4b0093}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x831f4a}from'../utils/utils';export default class O extends _0x133f29{[_0x5538('0x9')](){const _0xfce8d=this[_0x5538('0xf')];if(!_0xfce8d[_0x5538('0x1b')][_0x5538('0x11')](_0x5538('0x1f')))return;const _0x5f0bb6=_0xfce8d[_0x5538('0x1b')]['get']('TrackChangesEditing'),_0x596279=_0xfce8d['locale'],_0x116a03=_0xfce8d['config'][_0x5538('0x2')](_0x5538('0xc'))[_0x5538('0x10')],_0x1bbe1f=_0xfce8d['commands']['get'](_0x5538('0xc'));_0x5f0bb6['enableCommand'](_0x5538('0x1c')),_0x5f0bb6[_0x5538('0xa')]('outdentCodeBlock'),_0x5f0bb6['enableCommand'](_0x5538('0xc'),(_0x4f19bd,_0x36caf2={})=>{const _0x448332=_0xfce8d[_0x5538('0xd')],_0x59f5f9=_0xfce8d[_0x5538('0xd')][_0x5538('0xe')][_0x5538('0x16')],_0x76553a=_0x36caf2&&void 0x0!==_0x36caf2[_0x5538('0x0')]?_0x36caf2['forceValue']:!_0x1bbe1f[_0x5538('0x1d')];let _0x3c3286;_0x36caf2['language']||(_0x36caf2[_0x5538('0xb')]=_0x116a03[0x0][_0x5538('0xb')]),_0x3c3286=_0x76553a?Array[_0x5538('0x17')](_0x59f5f9[_0x5538('0x7')]())[_0x5538('0x1')](_0x5a8586=>oo(_0x5a8586)||function(_0x1f4724,_0x508bf0){if(_0x1f4724['is'](_0x5538('0x1a'))||_0x508bf0[_0x5538('0x8')](_0x1f4724))return!0x1;return _0x508bf0['checkChild'](_0x1f4724[_0x5538('0x5')],_0x5538('0xc'));}(_0x5a8586,_0x448332[_0x5538('0x19')])):Array['from'](_0x59f5f9[_0x5538('0x7')]())[_0x5538('0x1')](_0x2008a9=>oo(_0x2008a9));const _0x29fa84=_0x831f4a(_0x3c3286,_0x448332);_0x448332[_0x5538('0x6')](()=>{for(const _0x8683f4 of _0x29fa84)_0x5f0bb6['markBlockFormat'](_0x8683f4,{'commandName':_0x5538('0xc'),'commandParams':[{..._0x36caf2,'forceValue':_0x76553a}],'formatGroupId':_0x5538('0x4')});});}),(_0x5f0bb6['_descriptionFactory']['registerElementLabel'](_0x5538('0xc'),_0x302e9c=>_0x4b0093(_0x596279,_0x5538('0x14'),_0x302e9c)),_0x5f0bb6[_0x5538('0x15')]['registerDescriptionCallback'](_0x4ff4d9=>{const _0x13dbee=_0x596279['t'],{type:_0x13d15d,data:_0x45476a}=_0x4ff4d9;if('formatBlock'==_0x13d15d&&_0x45476a&&_0x5538('0xc')==_0x45476a[_0x5538('0x1e')]){const _0x152600=_0x45476a[_0x5538('0x12')][0x0][_0x5538('0xb')],_0xd108d7=_0x13dbee(_0x116a03['find'](_0x2b821c=>_0x2b821c[_0x5538('0xb')]===_0x152600)[_0x5538('0x13')]);return _0x45476a[_0x5538('0x12')][0x0][_0x5538('0x0')]?{'type':_0x5538('0x3'),'content':_0x4b0093(_0x596279,_0x5538('0x18'),_0x4b0093(_0x596279,_0x5538('0x14'),0x1)+'\x20('+_0xd108d7+')')}:{'type':_0x5538('0x3'),'content':_0x4b0093(_0x596279,'*Remove\x20format:*\x20%0',_0x4b0093(_0x596279,_0x5538('0x14'),0x1))};}}));}}function oo(_0x5bbfa0){return _0x5538('0xc')==_0x5bbfa0['name'];}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2c19=['get','plugins','addCommentThread','enableCommand','editor','afterInit'];(function(_0x4a448a,_0x2c19dc){const _0x5c6de5=function(_0x44d41b){while(--_0x44d41b){_0x4a448a['push'](_0x4a448a['shift']());}};_0x5c6de5(++_0x2c19dc);}(_0x2c19,0x19c));const _0x5c6d=function(_0x4a448a,_0x2c19dc){_0x4a448a=_0x4a448a-0x0;let _0x5c6de5=_0x2c19[_0x4a448a];return _0x5c6de5;};import{Plugin as _0x3b35b4}from'ckeditor5/src/core';export default class F extends _0x3b35b4{[_0x5c6d('0x1')](){const _0x4f0fe2=this[_0x5c6d('0x0')];if(!_0x4f0fe2[_0x5c6d('0x3')]['has']('CommentsEditing'))return;_0x4f0fe2[_0x5c6d('0x3')][_0x5c6d('0x2')]('TrackChangesEditing')[_0x5c6d('0x5')](_0x5c6d('0x4'));}}
23
+ const _0x3bda=['plugins','enableCommand','afterInit','CommentsEditing','addCommentThread','editor'];(function(_0x1dbb8e,_0x3bda4e){const _0x4a7aee=function(_0x1ae0df){while(--_0x1ae0df){_0x1dbb8e['push'](_0x1dbb8e['shift']());}};_0x4a7aee(++_0x3bda4e);}(_0x3bda,0xe0));const _0x4a7a=function(_0x1dbb8e,_0x3bda4e){_0x1dbb8e=_0x1dbb8e-0x0;let _0x4a7aee=_0x3bda[_0x1dbb8e];return _0x4a7aee;};import{Plugin as _0x9feea2}from'ckeditor5/src/core';export default class F extends _0x9feea2{[_0x4a7a('0x0')](){const _0x355d40=this[_0x4a7a('0x3')];if(!_0x355d40[_0x4a7a('0x4')]['has'](_0x4a7a('0x1')))return;_0x355d40[_0x4a7a('0x4')]['get']('TrackChangesEditing')[_0x4a7a('0x5')](_0x4a7a('0x2'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x22a8=['markerName','showSuggestionHighlights','createRange','high','isCollapsed','fromRange','detach','enableCommand','deleteForward','end','TrackChangesEditing','lock','addMarker:suggestion:deletion','setSelection','batch','model','selection','options','get','markerNameToElements','unit','unlock','getFirstRange','$graveyard','merge','rootName','mapper','delete','remove','downcastDispatcher','root','modifySelection','enqueueChange','commands','buffer','removeMarker:suggestion:deletion','start','requires'];(function(_0x35d0d3,_0x22a8d7){const _0x1002c3=function(_0x5e1a46){while(--_0x5e1a46){_0x35d0d3['push'](_0x35d0d3['shift']());}};_0x1002c3(++_0x22a8d7);}(_0x22a8,0x146));const _0x1002=function(_0x35d0d3,_0x22a8d7){_0x35d0d3=_0x35d0d3-0x0;let _0x1002c3=_0x22a8[_0x35d0d3];return _0x1002c3;};import{Plugin as _0x64adad}from'ckeditor5/src/core';import{LiveRange as _0x5e252c}from'ckeditor5/src/engine';import{Delete as _0x414688}from'ckeditor5/src/typing';import{downcastSplitMergeMarker as _0x40a57}from'./utils';export default class G extends _0x64adad{static get[_0x1002('0xf')](){return[_0x414688];}['init'](){const _0x42793a=this['editor'],_0x426070=_0x42793a['plugins'][_0x1002('0x22')](_0x1002('0x1a'));_0x426070[_0x1002('0x17')](_0x1002('0x5'));const _0x1f7df7=_0x42793a[_0x1002('0xb')][_0x1002('0x22')]('deleteForward');_0x426070[_0x1002('0x17')](_0x1002('0x18'),(_0x508ebc,_0x1f3fb2={})=>{const _0x12ae8c=_0x42793a['model']['createSelection'](_0x42793a[_0x1002('0x1f')]['document'][_0x1002('0x20')]);_0x12ae8c[_0x1002('0x14')]&&_0x42793a[_0x1002('0x1f')][_0x1002('0x9')](_0x12ae8c,{'direction':'forward','unit':_0x1f3fb2[_0x1002('0x24')]});const _0x4ca041=_0x12ae8c[_0x1002('0x0')](),_0x143309=_0x5e252c[_0x1002('0x15')](_0x4ca041);let _0x4592f6;_0x508ebc(_0x1f3fb2),_0x4592f6=_0x1002('0x1')==_0x143309[_0x1002('0x8')][_0x1002('0x3')]?_0x42793a[_0x1002('0x1f')][_0x1002('0x12')](_0x4ca041[_0x1002('0xe')]):_0x42793a[_0x1002('0x1f')][_0x1002('0x12')](_0x143309[_0x1002('0xe')],_0x143309[_0x1002('0x19')]),_0x143309[_0x1002('0x16')](),_0x42793a[_0x1002('0x1f')][_0x1002('0xa')](_0x1f7df7[_0x1002('0xc')][_0x1002('0x1e')],_0x3d3bee=>{_0x1f7df7[_0x1002('0xc')][_0x1002('0x1b')](),_0x3d3bee[_0x1002('0x1d')](_0x3d3bee['createRange'](_0x4592f6[_0x1002('0x19')])),_0x1f7df7['buffer'][_0x1002('0x25')]();});}),_0x42793a['editing'][_0x1002('0x7')]['on'](_0x1002('0x1c'),_0x40a57(_0x42793a,'merge'),{'priority':_0x1002('0x13')}),_0x42793a['data']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x40517d,_0x4711ad,_0x5c086d)=>{_0x5c086d[_0x1002('0x21')][_0x1002('0x11')]&&_0x40a57(_0x42793a,_0x1002('0x2'),{'showActiveMarker':!0x1})['bind'](this)(_0x40517d,_0x4711ad,_0x5c086d);},{'priority':_0x1002('0x13')}),_0x42793a['editing'][_0x1002('0x7')]['on'](_0x1002('0xd'),(_0x1ad3f0,_0x26c8d2,_0x593f97)=>{const _0x4ff5bd=_0x593f97[_0x1002('0x4')][_0x1002('0x23')](_0x26c8d2[_0x1002('0x10')]);if(_0x4ff5bd)for(const _0x224a62 of _0x4ff5bd)_0x224a62['is']('uiElement')&&(_0x593f97[_0x1002('0x4')]['unbindElementFromMarkerName'](_0x224a62,_0x26c8d2[_0x1002('0x10')]),_0x593f97['writer'][_0x1002('0x6')](_0x224a62));},{'priority':_0x1002('0x13')});}}
23
+ const _0x46fa=['init','bind','buffer','getFirstRange','setSelection','downcastDispatcher','TrackChangesEditing','batch','isCollapsed','forward','editing','createRange','start','modifySelection','model','options','$graveyard','lock','plugins','high','delete','unit','writer','root','requires','selection','mapper','deleteForward','markerNameToElements','merge','remove','enqueueChange','addMarker:suggestion:deletion','showSuggestionHighlights','markerName','end','unbindElementFromMarkerName','data','enableCommand','unlock','detach'];(function(_0x4f447b,_0x46fabc){const _0x47cb29=function(_0x5018ac){while(--_0x5018ac){_0x4f447b['push'](_0x4f447b['shift']());}};_0x47cb29(++_0x46fabc);}(_0x46fa,0x1b1));const _0x47cb=function(_0x4f447b,_0x46fabc){_0x4f447b=_0x4f447b-0x0;let _0x47cb29=_0x46fa[_0x4f447b];return _0x47cb29;};import{Plugin as _0x5069b8}from'ckeditor5/src/core';import{LiveRange as _0x1550a7}from'ckeditor5/src/engine';import{Delete as _0x19a187}from'ckeditor5/src/typing';import{downcastSplitMergeMarker as _0x379f42}from'./utils';export default class G extends _0x5069b8{static get[_0x47cb('0x1')](){return[_0x19a187];}[_0x47cb('0x12')](){const _0x5e5226=this['editor'],_0x12da32=_0x5e5226[_0x47cb('0x24')]['get'](_0x47cb('0x18'));_0x12da32['enableCommand'](_0x47cb('0x26'));const _0xdb51ea=_0x5e5226['commands']['get']('deleteForward');_0x12da32[_0x47cb('0xf')](_0x47cb('0x4'),(_0x255024,_0x3b7d95={})=>{const _0x5ddc90=_0x5e5226[_0x47cb('0x20')]['createSelection'](_0x5e5226[_0x47cb('0x20')]['document'][_0x47cb('0x2')]);_0x5ddc90[_0x47cb('0x1a')]&&_0x5e5226['model'][_0x47cb('0x1f')](_0x5ddc90,{'direction':_0x47cb('0x1b'),'unit':_0x3b7d95[_0x47cb('0x27')]});const _0x392b96=_0x5ddc90[_0x47cb('0x15')](),_0x3d2e1f=_0x1550a7['fromRange'](_0x392b96);let _0x22463e;_0x255024(_0x3b7d95),_0x22463e=_0x47cb('0x22')==_0x3d2e1f[_0x47cb('0x0')]['rootName']?_0x5e5226[_0x47cb('0x20')]['createRange'](_0x392b96[_0x47cb('0x1e')]):_0x5e5226['model']['createRange'](_0x3d2e1f['start'],_0x3d2e1f['end']),_0x3d2e1f[_0x47cb('0x11')](),_0x5e5226[_0x47cb('0x20')][_0x47cb('0x8')](_0xdb51ea[_0x47cb('0x14')][_0x47cb('0x19')],_0x5962dd=>{_0xdb51ea['buffer'][_0x47cb('0x23')](),_0x5962dd[_0x47cb('0x16')](_0x5962dd[_0x47cb('0x1d')](_0x22463e[_0x47cb('0xc')])),_0xdb51ea[_0x47cb('0x14')][_0x47cb('0x10')]();});}),_0x5e5226[_0x47cb('0x1c')]['downcastDispatcher']['on'](_0x47cb('0x9'),_0x379f42(_0x5e5226,_0x47cb('0x6')),{'priority':_0x47cb('0x25')}),_0x5e5226[_0x47cb('0xe')][_0x47cb('0x17')]['on']('addMarker:suggestion:deletion',(_0x12d9f8,_0x2af431,_0x54fbee)=>{_0x54fbee[_0x47cb('0x21')][_0x47cb('0xa')]&&_0x379f42(_0x5e5226,_0x47cb('0x6'),{'showActiveMarker':!0x1})[_0x47cb('0x13')](this)(_0x12d9f8,_0x2af431,_0x54fbee);},{'priority':_0x47cb('0x25')}),_0x5e5226[_0x47cb('0x1c')][_0x47cb('0x17')]['on']('removeMarker:suggestion:deletion',(_0x488c1d,_0x59e5cc,_0xc871a2)=>{const _0x244ebb=_0xc871a2[_0x47cb('0x3')][_0x47cb('0x5')](_0x59e5cc[_0x47cb('0xb')]);if(_0x244ebb)for(const _0x9812b0 of _0x244ebb)_0x9812b0['is']('uiElement')&&(_0xc871a2[_0x47cb('0x3')][_0x47cb('0xd')](_0x9812b0,_0x59e5cc[_0x47cb('0xb')]),_0xc871a2[_0x47cb('0x28')][_0x47cb('0x7')](_0x9812b0));},{'priority':_0x47cb('0x25')});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x26e2=['listItemId','value','DocumentListEditing','markBlockFormat','commands','start','setSelection','getSelectedBlocks','enableCommand','bulletedList','nextSibling','model','add','getFirstRange','after','_LIST','listIndent','commandName','outdentList','editor','documentList','splitListItemAfter','push','mergeListItemBackward','ELEMENT_NUMBERED_LIST','slice','document','format','isObject','locale','getAttribute','containsItem','splitListItemBefore','*Format:*\x20insert\x20into\x20%0','from','DocumentListUtils','createRange','plugins','*Format:*\x20remove\x20from\x20%0','listType','nodeAfter','getRanges','registerElementLabel','*Outdent:*\x20%0','*Change\x20to:*\x20%0','createPositionAt','selection','indentList','before','deletion','_descriptionFactory','mergeListItemForward','*Merge:*\x20%0','markMultiRangeBlockFormat','hasAttribute','previousSibling','commandParams','ELEMENT_LIST_ITEM','get','expandListBlocksToCompleteList','refresh','end','formatBlock','change','numberedList','map','has','detach','schema'];(function(_0x45dbc6,_0x26e23e){const _0x3b8479=function(_0x3f85cf){while(--_0x3f85cf){_0x45dbc6['push'](_0x45dbc6['shift']());}};_0x3b8479(++_0x26e23e);}(_0x26e2,0x189));const _0x3b84=function(_0x45dbc6,_0x26e23e){_0x45dbc6=_0x45dbc6-0x0;let _0x3b8479=_0x26e2[_0x45dbc6];return _0x3b8479;};import{Plugin as _0x345119}from'ckeditor5/src/core';import{getTranslation as _0x58ec65}from'../utils/common-translations';import{LiveRange as _0x4d9f7c}from'ckeditor5/src/engine';export default class L extends _0x345119{['afterInit'](){const _0x1c084d=this[_0x3b84('0x28')];if(!_0x1c084d[_0x3b84('0x3a')][_0x3b84('0x12')](_0x3b84('0x17')))return;const _0x4be28c=_0x1c084d[_0x3b84('0x32')],_0x2bf59f=_0x1c084d['plugins'][_0x3b84('0xa')]('TrackChangesEditing'),_0x528e13=_0x1c084d['plugins'][_0x3b84('0xa')](_0x3b84('0x38'));function _0x23ed4f(_0x31b177){return()=>{const _0x1ed253=_0x1c084d[_0x3b84('0x19')]['get'](_0x31b177);let _0x1b0839=Array['from'](_0x1c084d[_0x3b84('0x20')][_0x3b84('0x2f')]['selection'][_0x3b84('0x1c')]());if(_0x1a078b(_0x31b177)){_0x1b0839=_0x528e13[_0x3b84('0xb')](_0x1b0839);const _0x5c6bd4=[];for(const _0x5bcd77 of _0x1b0839)_0x528e13['isFirstBlockOfListItem'](_0x5bcd77)&&_0x5c6bd4[_0x3b84('0x2b')](_0x5bcd77);_0x1b0839=_0x5c6bd4;}_0x1c084d[_0x3b84('0x20')]['change'](()=>{_0x2bf59f[_0x3b84('0x5')](_0x1b0839,{'commandName':_0x31b177,'commandParams':[{'forceValue':!_0x1ed253[_0x3b84('0x16')]}],'formatGroupId':_0x3b84('0x3c')},[],_0x3b84('0x29'));});};}function _0x3ef5ee(_0x2897dc){return()=>{const _0x31902e=function(_0x1de72a){let _0x21155c=Array[_0x3b84('0x37')](_0x1de72a);const _0x32b6f2=_0x21155c['findIndex'](_0x4f0814=>!_0x4f0814[_0x3b84('0x6')](_0x3b84('0x15')));return _0x32b6f2>-0x1&&(_0x21155c=_0x21155c[_0x3b84('0x2e')](0x0,_0x32b6f2)),_0x21155c;}(_0x1c084d[_0x3b84('0x20')]['document'][_0x3b84('0x43')][_0x3b84('0x1c')]()),_0xdd1034=_0x31902e[_0x31902e['length']-0x1],_0x3f15c8=_0x1c084d[_0x3b84('0x20')][_0x3b84('0x14')][_0x3b84('0x31')](_0xdd1034)?_0x3b84('0x23'):_0x3b84('0xd'),_0x4b79a1=_0x1c084d[_0x3b84('0x20')]['createRange'](_0x1c084d[_0x3b84('0x20')][_0x3b84('0x42')](_0x31902e[0x0],_0x3b84('0x0')),_0x1c084d[_0x3b84('0x20')]['createPositionAt'](_0xdd1034,_0x3f15c8));_0x1c084d[_0x3b84('0x20')]['change'](()=>{_0x2bf59f[_0x3b84('0x18')](_0x4b79a1,{'commandName':_0x2897dc,'commandParams':[],'formatGroupId':'listType'},function(_0x57d102){const _0x5c0f1=new Set();for(const _0x573a66 of _0x57d102){let _0x5898e9=_0x573a66[_0x3b84('0x1f')];for(;_0x5898e9&&_0x5898e9['getAttribute']('listIndent')>_0x573a66[_0x3b84('0x33')](_0x3b84('0x25'));)_0x5c0f1[_0x3b84('0x21')](_0x5898e9),_0x5898e9=_0x5898e9[_0x3b84('0x1f')];}return Array[_0x3b84('0x37')](_0x5c0f1);}(_0x31902e));});};}function _0xe87a1a(_0x9013fa){return()=>{const _0x553769=_0x1c084d['model'][_0x3b84('0x2f')]['selection'][_0x3b84('0x1c')]()['next']()['value'],_0x980757=_0x1c084d[_0x3b84('0x20')][_0x3b84('0x42')](_0x553769,_0x3b84('0x0')),_0x18a713=_0x1c084d[_0x3b84('0x20')][_0x3b84('0x42')](_0x553769,0x0),_0x1d2383=_0x1c084d[_0x3b84('0x20')][_0x3b84('0x39')](_0x980757,_0x18a713);_0x1c084d[_0x3b84('0x20')][_0x3b84('0xf')](()=>{_0x2bf59f[_0x3b84('0x18')](_0x1d2383,{'commandName':_0x9013fa,'commandParams':[],'formatGroupId':_0x3b84('0x3c')});});};}function _0x1a078b(_0x4e4cd8){const _0xf6ec9=_0x1c084d[_0x3b84('0x19')]['get']('bulletedList')[_0x3b84('0x16')],_0x262e72=_0x1c084d['commands'][_0x3b84('0xa')](_0x3b84('0x10'))['value'];return _0x3b84('0x10')===_0x4e4cd8?_0xf6ec9:_0x262e72;}_0x2bf59f['enableCommand'](_0x3b84('0x10'),_0x23ed4f(_0x3b84('0x10'))),_0x2bf59f[_0x3b84('0x1d')](_0x3b84('0x1e'),_0x23ed4f(_0x3b84('0x1e'))),_0x2bf59f['enableCommand']('indentList',_0x3ef5ee('indentList')),_0x2bf59f[_0x3b84('0x1d')](_0x3b84('0x27'),_0x3ef5ee('outdentList')),_0x2bf59f[_0x3b84('0x1d')]('splitListItemAfter',_0xe87a1a(_0x3b84('0x2a'))),_0x2bf59f['enableCommand'](_0x3b84('0x35'),_0xe87a1a(_0x3b84('0x35'))),_0x2bf59f[_0x3b84('0x2')][_0x3b84('0x3f')](function(_0x1914aa){const _0x1f81f4=!_0x1c084d['model'][_0x3b84('0x14')][_0x3b84('0x31')](_0x1914aa),_0x1365c0=_0x1914aa[_0x3b84('0x7')],_0x6dbdfb=_0x1914aa[_0x3b84('0x1f')],_0x143958=_0x1914aa[_0x3b84('0x33')](_0x3b84('0x15')),_0x32b637=!_0x1365c0||_0x1365c0[_0x3b84('0x33')](_0x3b84('0x15'))!==_0x143958,_0x16989e=!_0x6dbdfb||_0x6dbdfb[_0x3b84('0x33')]('listItemId')!==_0x143958;return _0x1f81f4&&Boolean(_0x143958)&&_0x32b637&&_0x16989e;},_0x2c7a4d=>_0x58ec65(_0x4be28c,'ELEMENT_LIST_ITEM',_0x2c7a4d)),_0x2bf59f[_0x3b84('0x2')]['registerDescriptionCallback'](function(_0x29811d){const {data:_0x17192a}=_0x29811d;if(!_0x17192a)return;let _0x3368de,_0x4c2f64,_0x517e93,_0xb8a821;switch(_0x17192a[_0x3b84('0x26')]){case _0x3b84('0x1e'):_0x517e93=_0x17192a[_0x3b84('0x8')][0x0]['forceValue'],_0xb8a821=_0x1a078b(_0x17192a[_0x3b84('0x26')]),_0x3368de=_0x517e93?_0x3b84('0x36'):'*Format:*\x20remove\x20from\x20%0',_0xb8a821&&(_0x3368de=_0x3b84('0x41')),_0x4c2f64={'type':_0x3b84('0x30'),'content':_0x58ec65(_0x4be28c,_0x3368de,_0x58ec65(_0x4be28c,'ELEMENT_BULLETED_LIST'))};break;case _0x3b84('0x10'):_0x517e93=_0x17192a[_0x3b84('0x8')][0x0]['forceValue'],_0xb8a821=_0x1a078b(_0x17192a[_0x3b84('0x26')]),_0x3368de=_0x517e93?'*Format:*\x20insert\x20into\x20%0':_0x3b84('0x3b'),_0xb8a821&&(_0x3368de='*Change\x20to:*\x20%0'),_0x4c2f64={'type':_0x3b84('0x30'),'content':_0x58ec65(_0x4be28c,_0x3368de,_0x58ec65(_0x4be28c,_0x3b84('0x2d')))};break;case _0x3b84('0x44'):_0x3368de='*Indent:*\x20%0',_0x4c2f64={'type':_0x3b84('0x30'),'content':_0x58ec65(_0x4be28c,_0x3368de,_0x58ec65(_0x4be28c,_0x3b84('0x9')))};break;case'outdentList':_0x3368de=function(_0x515738){const _0x1dabbd=_0x515738[_0x3b84('0x22')]();let _0x464f6e=_0x1dabbd[_0x3b84('0x1a')]['nodeAfter'];for(;_0x464f6e&&_0x1dabbd[_0x3b84('0x34')](_0x464f6e);){if(_0x464f6e['getAttribute']('listIndent')>0x0)return!0x1;_0x464f6e=_0x464f6e[_0x3b84('0x1f')];}return!0x0;}(_0x29811d)?_0x58ec65(_0x4be28c,_0x3b84('0x3b'),_0x58ec65(_0x4be28c,function(_0x2e1c49){const _0xda92ba=_0x2e1c49[_0x3b84('0x22')]()[_0x3b84('0x1a')]['nodeAfter'];return'ELEMENT_'+_0xda92ba['getAttribute'](_0x3b84('0x3c'))['toUpperCase']()+_0x3b84('0x24');}(_0x29811d))):_0x58ec65(_0x4be28c,_0x3b84('0x40'),_0x58ec65(_0x4be28c,_0x3b84('0x9'))),_0x4c2f64={'type':_0x3b84('0x30'),'content':_0x3368de};break;case _0x3b84('0x2c'):case _0x3b84('0x3'):!0x1===_0x17192a['multipleBlocks']&&(_0x3368de=_0x3b84('0x4'),_0x4c2f64={'type':_0x3b84('0x1'),'content':_0x58ec65(_0x4be28c,_0x3368de,_0x58ec65(_0x4be28c,_0x3b84('0x9')))});}return _0x4c2f64;}),_0x2bf59f['_suggestionFactory']['registerCustomCallback'](_0x3b84('0xe'),_0x3b84('0x29'),'accept',function(_0x3bb646,_0x2e5df4){const _0xae7810=[];for(let _0x3163e6 of _0x3bb646)_0x3163e6[_0x3b84('0x1a')][_0x3b84('0x3d')]===_0x3163e6[_0x3b84('0xd')]['parent']&&(_0x3163e6=_0x1c084d[_0x3b84('0x20')][_0x3b84('0x39')](_0x1c084d[_0x3b84('0x20')][_0x3b84('0x42')](_0x3163e6[_0x3b84('0x1a')][_0x3b84('0x3d')],0x0))),_0xae7810[_0x3b84('0x2b')](_0x3163e6);_0x1c084d[_0x3b84('0x20')][_0x3b84('0xf')](_0x58fbc5=>{const _0x1df61e=_0x1c084d['model'][_0x3b84('0x2f')][_0x3b84('0x43')],_0x44a22b=Array[_0x3b84('0x37')](_0x1df61e[_0x3b84('0x3e')]())[_0x3b84('0x11')](_0x5db8d8=>_0x4d9f7c['fromRange'](_0x5db8d8));_0x58fbc5['setSelection'](_0xae7810),_0x1c084d[_0x3b84('0x19')][_0x3b84('0xa')](_0x2e5df4[_0x3b84('0x26')])[_0x3b84('0xc')](),_0x2e5df4[_0x3b84('0x8')][_0x3b84('0x2b')]({'forceDefaultExecution':!0x0}),_0x1c084d['execute'](_0x2e5df4[_0x3b84('0x26')],..._0x2e5df4[_0x3b84('0x8')]),_0x58fbc5[_0x3b84('0x1b')](_0x44a22b);for(const _0x32031c of _0x44a22b)_0x32031c[_0x3b84('0x13')]();});});}}
23
+ const _0x24de=['splitListItemAfter','schema','previousSibling','nextSibling','listType','detach','DocumentListEditing','indentList','fromRange','containsItem','*Merge:*\x20%0','listIndent','refresh','get','push','before','commandName','isObject','after','documentList','start','from','mergeListItemForward','isFirstBlockOfListItem','getAttribute','_descriptionFactory','value','next','forceValue','ELEMENT_BULLETED_LIST','nodeAfter','hasAttribute','plugins','splitListItemBefore','getSelectedBlocks','ELEMENT_NUMBERED_LIST','bulletedList','createPositionAt','ELEMENT_LIST_ITEM','outdentList','multipleBlocks','getFirstRange','ELEMENT_','add','listItemId','locale','numberedList','change','*Format:*\x20insert\x20into\x20%0','setSelection','commands','enableCommand','markBlockFormat','commandParams','editor','registerElementLabel','end','markMultiRangeBlockFormat','_suggestionFactory','createRange','format','map','afterInit','*Change\x20to:*\x20%0','selection','findIndex','*Format:*\x20remove\x20from\x20%0','execute','TrackChangesEditing','length','formatBlock','document','model'];(function(_0x454897,_0x24de2f){const _0x49aa01=function(_0x4fb2cf){while(--_0x4fb2cf){_0x454897['push'](_0x454897['shift']());}};_0x49aa01(++_0x24de2f);}(_0x24de,0x187));const _0x49aa=function(_0x454897,_0x24de2f){_0x454897=_0x454897-0x0;let _0x49aa01=_0x24de[_0x454897];return _0x49aa01;};import{Plugin as _0x572430}from'ckeditor5/src/core';import{getTranslation as _0x11d706}from'../utils/common-translations';import{LiveRange as _0x827786}from'ckeditor5/src/engine';export default class L extends _0x572430{[_0x49aa('0x24')](){const _0x24bd05=this[_0x49aa('0x1c')];if(!_0x24bd05[_0x49aa('0x6')]['has'](_0x49aa('0x35')))return;const _0x2d3f68=_0x24bd05[_0x49aa('0x13')],_0x44c3fb=_0x24bd05[_0x49aa('0x6')]['get'](_0x49aa('0x2a')),_0x55e765=_0x24bd05[_0x49aa('0x6')][_0x49aa('0x3c')]('DocumentListUtils');function _0xa1fd21(_0x42b2a9){return()=>{const _0x2f9f9b=_0x24bd05[_0x49aa('0x18')][_0x49aa('0x3c')](_0x42b2a9);let _0x527fba=Array[_0x49aa('0x44')](_0x24bd05[_0x49aa('0x2e')]['document'][_0x49aa('0x26')][_0x49aa('0x8')]());if(_0x479bb5(_0x42b2a9)){_0x527fba=_0x55e765['expandListBlocksToCompleteList'](_0x527fba);const _0x506a66=[];for(const _0x5d3f02 of _0x527fba)_0x55e765[_0x49aa('0x46')](_0x5d3f02)&&_0x506a66[_0x49aa('0x3d')](_0x5d3f02);_0x527fba=_0x506a66;}_0x24bd05[_0x49aa('0x2e')]['change'](()=>{_0x44c3fb[_0x49aa('0x1f')](_0x527fba,{'commandName':_0x42b2a9,'commandParams':[{'forceValue':!_0x2f9f9b[_0x49aa('0x0')]}],'formatGroupId':_0x49aa('0x33')},[],_0x49aa('0x42'));});};}function _0x2b25e1(_0x40b502){return()=>{const _0x98f944=function(_0x2b02d3){let _0x4116d2=Array[_0x49aa('0x44')](_0x2b02d3);const _0x421bdb=_0x4116d2[_0x49aa('0x27')](_0x20bfa5=>!_0x20bfa5[_0x49aa('0x5')](_0x49aa('0x12')));return _0x421bdb>-0x1&&(_0x4116d2=_0x4116d2['slice'](0x0,_0x421bdb)),_0x4116d2;}(_0x24bd05[_0x49aa('0x2e')][_0x49aa('0x2d')][_0x49aa('0x26')]['getSelectedBlocks']()),_0x1de597=_0x98f944[_0x98f944[_0x49aa('0x2b')]-0x1],_0x18020d=_0x24bd05[_0x49aa('0x2e')][_0x49aa('0x30')][_0x49aa('0x40')](_0x1de597)?_0x49aa('0x41'):'end',_0x22cf05=_0x24bd05['model'][_0x49aa('0x21')](_0x24bd05['model'][_0x49aa('0xb')](_0x98f944[0x0],_0x49aa('0x3e')),_0x24bd05['model'][_0x49aa('0xb')](_0x1de597,_0x18020d));_0x24bd05[_0x49aa('0x2e')][_0x49aa('0x15')](()=>{_0x44c3fb[_0x49aa('0x1a')](_0x22cf05,{'commandName':_0x40b502,'commandParams':[],'formatGroupId':_0x49aa('0x33')},function(_0x3f456d){const _0x253f09=new Set();for(const _0x4812c1 of _0x3f456d){let _0x23f2a8=_0x4812c1['nextSibling'];for(;_0x23f2a8&&_0x23f2a8[_0x49aa('0x47')](_0x49aa('0x3a'))>_0x4812c1[_0x49aa('0x47')](_0x49aa('0x3a'));)_0x253f09[_0x49aa('0x11')](_0x23f2a8),_0x23f2a8=_0x23f2a8[_0x49aa('0x32')];}return Array[_0x49aa('0x44')](_0x253f09);}(_0x98f944));});};}function _0x18b882(_0xf0bebe){return()=>{const _0x908ddf=_0x24bd05[_0x49aa('0x2e')][_0x49aa('0x2d')][_0x49aa('0x26')][_0x49aa('0x8')]()[_0x49aa('0x1')]()[_0x49aa('0x0')],_0x2dd1e3=_0x24bd05[_0x49aa('0x2e')]['createPositionAt'](_0x908ddf,_0x49aa('0x3e')),_0x141b51=_0x24bd05['model'][_0x49aa('0xb')](_0x908ddf,0x0),_0xd94cf4=_0x24bd05[_0x49aa('0x2e')][_0x49aa('0x21')](_0x2dd1e3,_0x141b51);_0x24bd05['model'][_0x49aa('0x15')](()=>{_0x44c3fb[_0x49aa('0x1a')](_0xd94cf4,{'commandName':_0xf0bebe,'commandParams':[],'formatGroupId':'listType'});});};}function _0x479bb5(_0x26a274){const _0x561092=_0x24bd05[_0x49aa('0x18')][_0x49aa('0x3c')](_0x49aa('0xa'))[_0x49aa('0x0')],_0x51442d=_0x24bd05[_0x49aa('0x18')]['get'](_0x49aa('0x14'))[_0x49aa('0x0')];return _0x49aa('0x14')===_0x26a274?_0x561092:_0x51442d;}_0x44c3fb['enableCommand'](_0x49aa('0x14'),_0xa1fd21(_0x49aa('0x14'))),_0x44c3fb[_0x49aa('0x19')](_0x49aa('0xa'),_0xa1fd21('bulletedList')),_0x44c3fb['enableCommand'](_0x49aa('0x36'),_0x2b25e1('indentList')),_0x44c3fb[_0x49aa('0x19')](_0x49aa('0xd'),_0x2b25e1(_0x49aa('0xd'))),_0x44c3fb['enableCommand'](_0x49aa('0x2f'),_0x18b882(_0x49aa('0x2f'))),_0x44c3fb['enableCommand'](_0x49aa('0x7'),_0x18b882(_0x49aa('0x7'))),_0x44c3fb[_0x49aa('0x48')][_0x49aa('0x1d')](function(_0x1c719a){const _0x2d6e10=!_0x24bd05[_0x49aa('0x2e')][_0x49aa('0x30')]['isObject'](_0x1c719a),_0x270aa0=_0x1c719a[_0x49aa('0x31')],_0x4f7ef2=_0x1c719a[_0x49aa('0x32')],_0x5aeb5e=_0x1c719a[_0x49aa('0x47')]('listItemId'),_0x421e67=!_0x270aa0||_0x270aa0['getAttribute'](_0x49aa('0x12'))!==_0x5aeb5e,_0x1bcdea=!_0x4f7ef2||_0x4f7ef2['getAttribute'](_0x49aa('0x12'))!==_0x5aeb5e;return _0x2d6e10&&Boolean(_0x5aeb5e)&&_0x421e67&&_0x1bcdea;},_0x340bfe=>_0x11d706(_0x2d3f68,_0x49aa('0xc'),_0x340bfe)),_0x44c3fb[_0x49aa('0x48')]['registerDescriptionCallback'](function(_0x18667d){const {data:_0x8d7762}=_0x18667d;if(!_0x8d7762)return;let _0x6dd071,_0x2a7b34,_0x2fa51d,_0x175538;switch(_0x8d7762[_0x49aa('0x3f')]){case _0x49aa('0xa'):_0x2fa51d=_0x8d7762['commandParams'][0x0][_0x49aa('0x2')],_0x175538=_0x479bb5(_0x8d7762[_0x49aa('0x3f')]),_0x6dd071=_0x2fa51d?_0x49aa('0x16'):_0x49aa('0x28'),_0x175538&&(_0x6dd071=_0x49aa('0x25')),_0x2a7b34={'type':_0x49aa('0x22'),'content':_0x11d706(_0x2d3f68,_0x6dd071,_0x11d706(_0x2d3f68,_0x49aa('0x3')))};break;case'numberedList':_0x2fa51d=_0x8d7762['commandParams'][0x0][_0x49aa('0x2')],_0x175538=_0x479bb5(_0x8d7762[_0x49aa('0x3f')]),_0x6dd071=_0x2fa51d?_0x49aa('0x16'):_0x49aa('0x28'),_0x175538&&(_0x6dd071=_0x49aa('0x25')),_0x2a7b34={'type':_0x49aa('0x22'),'content':_0x11d706(_0x2d3f68,_0x6dd071,_0x11d706(_0x2d3f68,_0x49aa('0x9')))};break;case _0x49aa('0x36'):_0x6dd071='*Indent:*\x20%0',_0x2a7b34={'type':_0x49aa('0x22'),'content':_0x11d706(_0x2d3f68,_0x6dd071,_0x11d706(_0x2d3f68,_0x49aa('0xc')))};break;case _0x49aa('0xd'):_0x6dd071=function(_0x2ff112){const _0xd6afa=_0x2ff112[_0x49aa('0xf')]();let _0x129fa0=_0xd6afa[_0x49aa('0x43')][_0x49aa('0x4')];for(;_0x129fa0&&_0xd6afa[_0x49aa('0x38')](_0x129fa0);){if(_0x129fa0[_0x49aa('0x47')](_0x49aa('0x3a'))>0x0)return!0x1;_0x129fa0=_0x129fa0[_0x49aa('0x32')];}return!0x0;}(_0x18667d)?_0x11d706(_0x2d3f68,_0x49aa('0x28'),_0x11d706(_0x2d3f68,function(_0x3d16fe){const _0x3c6757=_0x3d16fe[_0x49aa('0xf')]()[_0x49aa('0x43')][_0x49aa('0x4')];return _0x49aa('0x10')+_0x3c6757[_0x49aa('0x47')](_0x49aa('0x33'))['toUpperCase']()+'_LIST';}(_0x18667d))):_0x11d706(_0x2d3f68,'*Outdent:*\x20%0',_0x11d706(_0x2d3f68,'ELEMENT_LIST_ITEM')),_0x2a7b34={'type':_0x49aa('0x22'),'content':_0x6dd071};break;case'mergeListItemBackward':case _0x49aa('0x45'):!0x1===_0x8d7762[_0x49aa('0xe')]&&(_0x6dd071=_0x49aa('0x39'),_0x2a7b34={'type':'deletion','content':_0x11d706(_0x2d3f68,_0x6dd071,_0x11d706(_0x2d3f68,_0x49aa('0xc')))});}return _0x2a7b34;}),_0x44c3fb[_0x49aa('0x20')]['registerCustomCallback'](_0x49aa('0x2c'),_0x49aa('0x42'),'accept',function(_0x5049d3,_0x507c39){const _0x5ba9ab=[];for(let _0x2aaa4c of _0x5049d3)_0x2aaa4c['start'][_0x49aa('0x4')]===_0x2aaa4c[_0x49aa('0x1e')]['parent']&&(_0x2aaa4c=_0x24bd05[_0x49aa('0x2e')]['createRange'](_0x24bd05['model']['createPositionAt'](_0x2aaa4c[_0x49aa('0x43')][_0x49aa('0x4')],0x0))),_0x5ba9ab['push'](_0x2aaa4c);_0x24bd05[_0x49aa('0x2e')][_0x49aa('0x15')](_0x17a494=>{const _0x20e453=_0x24bd05['model'][_0x49aa('0x2d')][_0x49aa('0x26')],_0x20101c=Array[_0x49aa('0x44')](_0x20e453['getRanges']())[_0x49aa('0x23')](_0x3b8ccb=>_0x827786[_0x49aa('0x37')](_0x3b8ccb));_0x17a494[_0x49aa('0x17')](_0x5ba9ab),_0x24bd05['commands']['get'](_0x507c39[_0x49aa('0x3f')])[_0x49aa('0x3b')](),_0x507c39[_0x49aa('0x1b')][_0x49aa('0x3d')]({'forceDefaultExecution':!0x0}),_0x24bd05[_0x49aa('0x29')](_0x507c39[_0x49aa('0x3f')],..._0x507c39[_0x49aa('0x1b')]),_0x17a494[_0x49aa('0x17')](_0x20101c);for(const _0x5d1273 of _0x20101c)_0x5d1273[_0x49aa('0x34')]();});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5474=['handleListStartCommand','commandName','push','isListItemBlock','change','getListTypeFromListStyleType','_getSuggestionBlocks','document','*Format:*\x20set\x20order\x20to\x20regular','numbered','markMultiRangeBlockFormat','commandParams','_descriptionFactory','*Format:*\x20set\x20start\x20index\x20to\x20%0','locale','listReversed','reversed','from','ELEMENT_','replace','expandListBlocksToCompleteList','length','list.properties','styles','has','getSelectedBlocks','plugins','enableCommand','startIndex','filter','toUpperCase','DocumentListUtils','listStart','model','listStyle','selection','_LIST_','editor','get','listType','format','bind','DocumentListPropertiesUtils','*Change\x20to:*\x20%0','TrackChangesEditing','_getTranslationKeyForListStyle','handleListReversedCommand','handleListStyleCommand','getAttribute','_getSuggestionBlocksForListStyle','handleDescriptions'];(function(_0x4be68b,_0x54744){const _0x485238=function(_0x3199d4){while(--_0x3199d4){_0x4be68b['push'](_0x4be68b['shift']());}};_0x485238(++_0x54744);}(_0x5474,0x1a3));const _0x4852=function(_0x4be68b,_0x54744){_0x4be68b=_0x4be68b-0x0;let _0x485238=_0x5474[_0x4be68b];return _0x485238;};import{Plugin as _0x408a53}from'ckeditor5/src/core';import{getTranslation as _0x4cd8ea}from'../utils/common-translations';export default class At extends _0x408a53{['afterInit'](){if(!this['editor'][_0x4852('0xf')][_0x4852('0xd')]('DocumentListPropertiesEditing'))return;const _0x1957c8=this[_0x4852('0x1a')]['config'][_0x4852('0x1b')](_0x4852('0xb')),_0x12e29e=this[_0x4852('0x1a')][_0x4852('0xf')][_0x4852('0x1b')](_0x4852('0x21'));_0x1957c8[_0x4852('0xc')]&&_0x12e29e[_0x4852('0x10')](_0x4852('0x17'),this[_0x4852('0x24')][_0x4852('0x1e')](this)),_0x1957c8[_0x4852('0x5')]&&_0x12e29e['enableCommand']('listReversed',this[_0x4852('0x23')][_0x4852('0x1e')](this)),_0x1957c8[_0x4852('0x11')]&&_0x12e29e[_0x4852('0x10')](_0x4852('0x15'),this[_0x4852('0x28')]['bind'](this)),_0x12e29e[_0x4852('0x1')]['registerDescriptionCallback'](this[_0x4852('0x27')]['bind'](this));}[_0x4852('0x24')](_0x1e2339,_0x567324={}){const _0x4662d9=this[_0x4852('0x1a')][_0x4852('0xf')][_0x4852('0x1b')]('TrackChangesEditing'),_0x3f13d8=this['_getSuggestionBlocksForListStyle']();this[_0x4852('0x1a')][_0x4852('0x16')][_0x4852('0x2c')](()=>{_0x4662d9['markMultiRangeBlockFormat'](_0x3f13d8,{'commandName':_0x4852('0x17'),'commandParams':[{'type':_0x567324['type']}],'formatGroupId':_0x4852('0x17')});});}['handleListReversedCommand'](_0x50c237,_0x37b5d7={}){const _0x48e843=this['editor']['plugins'][_0x4852('0x1b')](_0x4852('0x21')),_0x333d99=this[_0x4852('0x1a')][_0x4852('0xf')][_0x4852('0x1b')]('DocumentListUtils'),_0x41bc68=this[_0x4852('0x2e')](_0x2f4196=>_0x333d99[_0x4852('0x2b')](_0x2f4196)&&_0x4852('0x31')===_0x2f4196[_0x4852('0x25')](_0x4852('0x1c')));null!==_0x41bc68&&this['editor'][_0x4852('0x16')][_0x4852('0x2c')](()=>{_0x48e843['markMultiRangeBlockFormat'](_0x41bc68,{'commandName':_0x4852('0x4'),'commandParams':[{'reversed':_0x37b5d7['reversed']}],'formatGroupId':_0x4852('0x4')});});}[_0x4852('0x28')](_0x2af7a8,_0x495063={}){const _0x5a930c=this[_0x4852('0x1a')][_0x4852('0xf')][_0x4852('0x1b')]('TrackChangesEditing'),_0x4f288b=this[_0x4852('0x1a')][_0x4852('0xf')][_0x4852('0x1b')](_0x4852('0x14')),_0x4310dc=this[_0x4852('0x2e')](_0x6d7e34=>_0x4f288b[_0x4852('0x2b')](_0x6d7e34)&&_0x4852('0x31')===_0x6d7e34[_0x4852('0x25')](_0x4852('0x1c')));null!==_0x4310dc&&this[_0x4852('0x1a')][_0x4852('0x16')][_0x4852('0x2c')](()=>{_0x5a930c[_0x4852('0x32')](_0x4310dc,{'commandName':'listStart','commandParams':[{'startIndex':_0x495063[_0x4852('0x11')]}],'formatGroupId':_0x4852('0x15')});});}['handleDescriptions'](_0x1f173a){const _0x199896=this['editor'][_0x4852('0x3')],{data:_0x3af180}=_0x1f173a;if(!_0x3af180)return;let _0x50501a,_0x306c89;switch(_0x3af180[_0x4852('0x29')]){case'listStyle':_0x50501a=_0x4852('0x20'),_0x306c89={'type':_0x4852('0x1d'),'content':_0x4cd8ea(_0x199896,_0x50501a,_0x4cd8ea(_0x199896,this['_getTranslationKeyForListStyle'](_0x3af180[_0x4852('0x0')][0x0]['type'])))};break;case'listReversed':_0x50501a=_0x3af180['commandParams'][0x0]['reversed']?'*Format:*\x20set\x20order\x20to\x20reversed':_0x4852('0x30'),_0x306c89={'type':'format','content':_0x4cd8ea(_0x199896,_0x50501a)};break;case _0x4852('0x15'):_0x50501a=_0x4852('0x2'),_0x306c89={'type':'format','content':_0x4cd8ea(_0x199896,_0x50501a,_0x3af180[_0x4852('0x0')][0x0][_0x4852('0x11')])};}return _0x306c89;}[_0x4852('0x26')](){const _0x2d63f2=this[_0x4852('0x1a')][_0x4852('0xf')]['get'](_0x4852('0x14'));let _0x2c7ad1=Array[_0x4852('0x6')](this[_0x4852('0x1a')]['model']['document'][_0x4852('0x18')][_0x4852('0xe')]());return _0x2c7ad1[_0x4852('0x2a')](..._0x2d63f2[_0x4852('0x9')](_0x2c7ad1)),_0x2c7ad1=[...new Set(_0x2c7ad1)],_0x2c7ad1;}['_getSuggestionBlocks'](_0x450642){const _0x22b871=this[_0x4852('0x1a')][_0x4852('0xf')][_0x4852('0x1b')](_0x4852('0x14'));let _0x2bd0b9=Array[_0x4852('0x6')](this['editor'][_0x4852('0x16')][_0x4852('0x2f')]['selection']['getSelectedBlocks']())[_0x4852('0x12')](_0x450642);if(!_0x2bd0b9[_0x4852('0xa')])return null;_0x2bd0b9=_0x22b871['expandListBlocksToCompleteList'](_0x2bd0b9);const _0x4f1abd=[];for(const _0x20458a of _0x2bd0b9)_0x22b871['isFirstBlockOfListItem'](_0x20458a)&&_0x4f1abd[_0x4852('0x2a')](_0x20458a);return _0x4f1abd;}[_0x4852('0x22')](_0x3f3a02){return _0x4852('0x7')+this[_0x4852('0x1a')]['plugins'][_0x4852('0x1b')](_0x4852('0x1f'))[_0x4852('0x2d')](_0x3f3a02)[_0x4852('0x13')]()+_0x4852('0x19')+_0x3f3a02[_0x4852('0x13')]()[_0x4852('0x8')](/-/g,'_');}}
23
+ const _0x17cc=['listType','expandListBlocksToCompleteList','ELEMENT_','handleDescriptions','bind','commandParams','isListItemBlock','editor','enableCommand','list.properties','_getTranslationKeyForListStyle','length','listReversed','handleListStyleCommand','_LIST_','push','from','model','listStart','listStyle','*Format:*\x20set\x20order\x20to\x20reversed','_getSuggestionBlocksForListStyle','selection','format','change','_descriptionFactory','reversed','TrackChangesEditing','_getSuggestionBlocks','locale','type','handleListReversedCommand','document','startIndex','DocumentListPropertiesUtils','plugins','afterInit','getSelectedBlocks','getAttribute','*Format:*\x20set\x20start\x20index\x20to\x20%0','markMultiRangeBlockFormat','commandName','get','toUpperCase','DocumentListUtils','numbered','filter','DocumentListPropertiesEditing','isFirstBlockOfListItem'];(function(_0x33cb8e,_0x17cc40){const _0x75dd4d=function(_0x170328){while(--_0x170328){_0x33cb8e['push'](_0x33cb8e['shift']());}};_0x75dd4d(++_0x17cc40);}(_0x17cc,0x13d));const _0x75dd=function(_0x33cb8e,_0x17cc40){_0x33cb8e=_0x33cb8e-0x0;let _0x75dd4d=_0x17cc[_0x33cb8e];return _0x75dd4d;};import{Plugin as _0xb364c}from'ckeditor5/src/core';import{getTranslation as _0x2f5674}from'../utils/common-translations';export default class At extends _0xb364c{[_0x75dd('0xd')](){if(!this['editor'][_0x75dd('0xc')]['has'](_0x75dd('0x18')))return;const _0x1cc9d6=this[_0x75dd('0x21')]['config'][_0x75dd('0x13')](_0x75dd('0x23')),_0x1c7859=this[_0x75dd('0x21')]['plugins'][_0x75dd('0x13')]('TrackChangesEditing');_0x1cc9d6['styles']&&_0x1c7859[_0x75dd('0x22')]('listStyle',this[_0x75dd('0x27')][_0x75dd('0x1e')](this)),_0x1cc9d6[_0x75dd('0x3')]&&_0x1c7859[_0x75dd('0x22')](_0x75dd('0x26'),this[_0x75dd('0x8')][_0x75dd('0x1e')](this)),_0x1cc9d6[_0x75dd('0xa')]&&_0x1c7859[_0x75dd('0x22')](_0x75dd('0x2c'),this['handleListStartCommand']['bind'](this)),_0x1c7859[_0x75dd('0x2')]['registerDescriptionCallback'](this['handleDescriptions'][_0x75dd('0x1e')](this));}['handleListStyleCommand'](_0x4d0bf0,_0x26feac={}){const _0x21b4d8=this[_0x75dd('0x21')][_0x75dd('0xc')][_0x75dd('0x13')](_0x75dd('0x4')),_0x2ec4ae=this[_0x75dd('0x2f')]();this[_0x75dd('0x21')][_0x75dd('0x2b')][_0x75dd('0x1')](()=>{_0x21b4d8[_0x75dd('0x11')](_0x2ec4ae,{'commandName':_0x75dd('0x2d'),'commandParams':[{'type':_0x26feac['type']}],'formatGroupId':_0x75dd('0x2d')});});}[_0x75dd('0x8')](_0x1559d,_0x2cc16c={}){const _0x639d66=this[_0x75dd('0x21')][_0x75dd('0xc')][_0x75dd('0x13')](_0x75dd('0x4')),_0x1b6dc8=this[_0x75dd('0x21')][_0x75dd('0xc')]['get'](_0x75dd('0x15')),_0x85e775=this[_0x75dd('0x5')](_0x40dfd7=>_0x1b6dc8[_0x75dd('0x20')](_0x40dfd7)&&_0x75dd('0x16')===_0x40dfd7[_0x75dd('0xf')](_0x75dd('0x1a')));null!==_0x85e775&&this['editor'][_0x75dd('0x2b')][_0x75dd('0x1')](()=>{_0x639d66[_0x75dd('0x11')](_0x85e775,{'commandName':_0x75dd('0x26'),'commandParams':[{'reversed':_0x2cc16c[_0x75dd('0x3')]}],'formatGroupId':_0x75dd('0x26')});});}['handleListStartCommand'](_0x243db8,_0x2a1f99={}){const _0x19ade6=this['editor'][_0x75dd('0xc')][_0x75dd('0x13')]('TrackChangesEditing'),_0x3a4f99=this['editor'][_0x75dd('0xc')][_0x75dd('0x13')](_0x75dd('0x15')),_0x3949b4=this['_getSuggestionBlocks'](_0x39bc95=>_0x3a4f99[_0x75dd('0x20')](_0x39bc95)&&_0x75dd('0x16')===_0x39bc95[_0x75dd('0xf')](_0x75dd('0x1a')));null!==_0x3949b4&&this[_0x75dd('0x21')]['model'][_0x75dd('0x1')](()=>{_0x19ade6['markMultiRangeBlockFormat'](_0x3949b4,{'commandName':_0x75dd('0x2c'),'commandParams':[{'startIndex':_0x2a1f99[_0x75dd('0xa')]}],'formatGroupId':'listStart'});});}[_0x75dd('0x1d')](_0x4d6f10){const _0x2b901f=this[_0x75dd('0x21')][_0x75dd('0x6')],{data:_0x25e8d1}=_0x4d6f10;if(!_0x25e8d1)return;let _0x594ded,_0x50441d;switch(_0x25e8d1[_0x75dd('0x12')]){case _0x75dd('0x2d'):_0x594ded='*Change\x20to:*\x20%0',_0x50441d={'type':_0x75dd('0x0'),'content':_0x2f5674(_0x2b901f,_0x594ded,_0x2f5674(_0x2b901f,this[_0x75dd('0x24')](_0x25e8d1[_0x75dd('0x1f')][0x0][_0x75dd('0x7')])))};break;case _0x75dd('0x26'):_0x594ded=_0x25e8d1[_0x75dd('0x1f')][0x0][_0x75dd('0x3')]?_0x75dd('0x2e'):'*Format:*\x20set\x20order\x20to\x20regular',_0x50441d={'type':_0x75dd('0x0'),'content':_0x2f5674(_0x2b901f,_0x594ded)};break;case _0x75dd('0x2c'):_0x594ded=_0x75dd('0x10'),_0x50441d={'type':_0x75dd('0x0'),'content':_0x2f5674(_0x2b901f,_0x594ded,_0x25e8d1[_0x75dd('0x1f')][0x0][_0x75dd('0xa')])};}return _0x50441d;}[_0x75dd('0x2f')](){const _0x348808=this[_0x75dd('0x21')][_0x75dd('0xc')][_0x75dd('0x13')](_0x75dd('0x15'));let _0x3b1125=Array['from'](this[_0x75dd('0x21')]['model'][_0x75dd('0x9')][_0x75dd('0x30')][_0x75dd('0xe')]());return _0x3b1125[_0x75dd('0x29')](..._0x348808[_0x75dd('0x1b')](_0x3b1125)),_0x3b1125=[...new Set(_0x3b1125)],_0x3b1125;}[_0x75dd('0x5')](_0x550b9b){const _0x184d7b=this['editor'][_0x75dd('0xc')][_0x75dd('0x13')](_0x75dd('0x15'));let _0x3578bf=Array[_0x75dd('0x2a')](this[_0x75dd('0x21')][_0x75dd('0x2b')][_0x75dd('0x9')][_0x75dd('0x30')][_0x75dd('0xe')]())[_0x75dd('0x17')](_0x550b9b);if(!_0x3578bf[_0x75dd('0x25')])return null;_0x3578bf=_0x184d7b[_0x75dd('0x1b')](_0x3578bf);const _0x41b3a4=[];for(const _0x8c545e of _0x3578bf)_0x184d7b[_0x75dd('0x19')](_0x8c545e)&&_0x41b3a4[_0x75dd('0x29')](_0x8c545e);return _0x41b3a4;}[_0x75dd('0x24')](_0xbeaa08){return _0x75dd('0x1c')+this[_0x75dd('0x21')]['plugins'][_0x75dd('0x13')](_0x75dd('0xb'))['getListTypeFromListStyleType'](_0xbeaa08)[_0x75dd('0x14')]()+_0x75dd('0x28')+_0xbeaa08[_0x75dd('0x14')]()['replace'](/-/g,'_');}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3853=['downcastDispatcher','hasClass','get','removeMarker:suggestion:insertion','change','model','enter','enableCommand','showSuggestionHighlights','document','high','bind','markInsertion','addMarker:suggestion:insertion','requires','TrackChangesEditing','unbindElementFromMarkerName','commands','getFirstPosition','remove','init','data','afterExecute','createRange','plugins','fromRange','setSelection','editor','nextSibling','enterBlock','options','split','detach','ck-suggestion-marker-split','markerName','editing'];(function(_0x2a4009,_0x385300){const _0x4e65bd=function(_0x1c4ca4){while(--_0x1c4ca4){_0x2a4009['push'](_0x2a4009['shift']());}};_0x4e65bd(++_0x385300);}(_0x3853,0x115));const _0x4e65=function(_0x2a4009,_0x385300){_0x2a4009=_0x2a4009-0x0;let _0x4e65bd=_0x3853[_0x2a4009];return _0x4e65bd;};import{Plugin as _0x5755af}from'ckeditor5/src/core';import{Enter as _0x6712}from'ckeditor5/src/enter';import{LiveRange as _0x5a7c3e}from'ckeditor5/src/engine';import{downcastSplitMergeMarker as _0x17e7d5}from'./utils';export default class q extends _0x5755af{static get[_0x4e65('0x19')](){return[_0x6712];}[_0x4e65('0x1f')](){const _0x263c38=this[_0x4e65('0x2')],_0x2d1d4e=_0x263c38[_0x4e65('0x23')][_0x4e65('0xd')](_0x4e65('0x1a')),_0x1abee2=_0x263c38[_0x4e65('0x1c')][_0x4e65('0xd')](_0x4e65('0x11'));_0x2d1d4e[_0x4e65('0x12')]('enter',()=>{_0x263c38['model'][_0x4e65('0xf')](_0x47636f=>{const _0x363aee=_0x263c38[_0x4e65('0x10')][_0x4e65('0x14')]['selection'],_0x439b1e=_0x363aee[_0x4e65('0x1d')](),_0x310824=_0x5a7c3e[_0x4e65('0x0')](_0x363aee['getFirstRange']());if(_0x1abee2[_0x4e65('0x4')](_0x47636f)){const _0x535361=_0x263c38[_0x4e65('0x10')]['createPositionAt'](_0x439b1e['parent'][_0x4e65('0x3')],0x0),_0x4517d1=_0x47636f[_0x4e65('0x22')](_0x439b1e,_0x535361);_0x2d1d4e[_0x4e65('0x17')](_0x4517d1);}else _0x47636f[_0x4e65('0x1')](_0x47636f[_0x4e65('0x22')](_0x310824['end']));_0x310824[_0x4e65('0x7')](),_0x1abee2['fire'](_0x4e65('0x21'),{'writer':_0x47636f});});}),_0x263c38[_0x4e65('0xa')]['downcastDispatcher']['on'](_0x4e65('0x18'),_0x17e7d5(_0x263c38,_0x4e65('0x6')),{'priority':_0x4e65('0x15')}),_0x263c38['editing'][_0x4e65('0xb')]['on'](_0x4e65('0xe'),(_0x405dcd,_0x6d576,_0x478606)=>{const _0x2d9253=_0x478606['mapper']['markerNameToElements'](_0x6d576[_0x4e65('0x9')]);if(_0x2d9253)for(const _0x42f6fe of _0x2d9253)_0x42f6fe[_0x4e65('0xc')](_0x4e65('0x8'))&&(_0x478606['mapper'][_0x4e65('0x1b')](_0x42f6fe,_0x6d576[_0x4e65('0x9')]),_0x478606['writer'][_0x4e65('0x1e')](_0x42f6fe));},{'priority':_0x4e65('0x15')}),_0x263c38[_0x4e65('0x20')][_0x4e65('0xb')]['on'](_0x4e65('0x18'),(_0x1adfef,_0x5fe374,_0x23e115)=>{_0x23e115[_0x4e65('0x5')][_0x4e65('0x13')]&&_0x17e7d5(_0x263c38,_0x4e65('0x6'),{'showActiveMarker':!0x1})[_0x4e65('0x16')](this)(_0x1adfef,_0x5fe374,_0x23e115);},{'priority':_0x4e65('0x15')});}}
23
+ const _0x2592=['remove','showSuggestionHighlights','markInsertion','TrackChangesEditing','data','get','writer','selection','split','afterExecute','editing','markerNameToElements','parent','addMarker:suggestion:insertion','removeMarker:suggestion:insertion','setSelection','editor','hasClass','fire','unbindElementFromMarkerName','model','high','createRange','change','bind','init','getFirstRange','enter','nextSibling','enableCommand','commands','options','detach','downcastDispatcher','requires','markerName','mapper'];(function(_0x19094c,_0x259215){const _0x318045=function(_0x326a83){while(--_0x326a83){_0x19094c['push'](_0x19094c['shift']());}};_0x318045(++_0x259215);}(_0x2592,0xcd));const _0x3180=function(_0x19094c,_0x259215){_0x19094c=_0x19094c-0x0;let _0x318045=_0x2592[_0x19094c];return _0x318045;};import{Plugin as _0x7a39ad}from'ckeditor5/src/core';import{Enter as _0x430db}from'ckeditor5/src/enter';import{LiveRange as _0x3e24c7}from'ckeditor5/src/engine';import{downcastSplitMergeMarker as _0xf373bd}from'./utils';export default class q extends _0x7a39ad{static get[_0x3180('0xe')](){return[_0x430db];}[_0x3180('0x5')](){const _0x579d9c=this[_0x3180('0x21')],_0x1c2821=_0x579d9c['plugins'][_0x3180('0x16')](_0x3180('0x14')),_0x50c745=_0x579d9c[_0x3180('0xa')][_0x3180('0x16')]('enter');_0x1c2821[_0x3180('0x9')](_0x3180('0x7'),()=>{_0x579d9c[_0x3180('0x0')][_0x3180('0x3')](_0x3d45da=>{const _0x59d213=_0x579d9c['model']['document'][_0x3180('0x18')],_0x15ccde=_0x59d213['getFirstPosition'](),_0x169e04=_0x3e24c7['fromRange'](_0x59d213[_0x3180('0x6')]());if(_0x50c745['enterBlock'](_0x3d45da)){const _0x111477=_0x579d9c['model']['createPositionAt'](_0x15ccde[_0x3180('0x1d')][_0x3180('0x8')],0x0),_0x3c34fa=_0x3d45da[_0x3180('0x2')](_0x15ccde,_0x111477);_0x1c2821[_0x3180('0x13')](_0x3c34fa);}else _0x3d45da[_0x3180('0x20')](_0x3d45da[_0x3180('0x2')](_0x169e04['end']));_0x169e04[_0x3180('0xc')](),_0x50c745[_0x3180('0x23')](_0x3180('0x1a'),{'writer':_0x3d45da});});}),_0x579d9c[_0x3180('0x1b')]['downcastDispatcher']['on'](_0x3180('0x1e'),_0xf373bd(_0x579d9c,'split'),{'priority':_0x3180('0x1')}),_0x579d9c['editing']['downcastDispatcher']['on'](_0x3180('0x1f'),(_0x2c3006,_0x5324ae,_0x5c1c35)=>{const _0x4606da=_0x5c1c35[_0x3180('0x10')][_0x3180('0x1c')](_0x5324ae['markerName']);if(_0x4606da)for(const _0x216a75 of _0x4606da)_0x216a75[_0x3180('0x22')]('ck-suggestion-marker-split')&&(_0x5c1c35[_0x3180('0x10')][_0x3180('0x24')](_0x216a75,_0x5324ae[_0x3180('0xf')]),_0x5c1c35[_0x3180('0x17')][_0x3180('0x11')](_0x216a75));},{'priority':_0x3180('0x1')}),_0x579d9c[_0x3180('0x15')][_0x3180('0xd')]['on'](_0x3180('0x1e'),(_0x5e6844,_0x3d23a4,_0x9d3a2d)=>{_0x9d3a2d[_0x3180('0xb')][_0x3180('0x12')]&&_0xf373bd(_0x579d9c,_0x3180('0x19'),{'showActiveMarker':!0x1})[_0x3180('0x4')](this)(_0x5e6844,_0x3d23a4,_0x9d3a2d);},{'priority':_0x3180('0x1')});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2072=['TrackChangesEditing','findPrevious','afterInit','getMarkersGroup','find','suggestion:deletion','_isInDeletionRange','createPositionAt','handleFindCommand','get','getRange','replaceAll','item','FindAndReplaceEditing','getIntersection','end','model','editor','start','enableCommand','has','replace','findNext','plugins'];(function(_0x381cff,_0x207296){const _0x11e1e3=function(_0x2bd33b){while(--_0x2bd33b){_0x381cff['push'](_0x381cff['shift']());}};_0x11e1e3(++_0x207296);}(_0x2072,0x14f));const _0x11e1=function(_0x381cff,_0x207296){_0x381cff=_0x381cff-0x0;let _0x11e1e3=_0x2072[_0x381cff];return _0x11e1e3;};import{Plugin as _0x3de17a}from'ckeditor5/src/core';export default class z extends _0x3de17a{[_0x11e1('0x3')](){if(!this['editor'][_0x11e1('0x0')][_0x11e1('0x15')](_0x11e1('0xe')))return;const _0xe1ca3e=this[_0x11e1('0x12')][_0x11e1('0x0')][_0x11e1('0xa')](_0x11e1('0x1'));_0xe1ca3e[_0x11e1('0x14')](_0x11e1('0x5'),this[_0x11e1('0x9')]['bind'](this)),_0xe1ca3e[_0x11e1('0x14')](_0x11e1('0x17')),_0xe1ca3e['enableCommand'](_0x11e1('0x2')),_0xe1ca3e[_0x11e1('0x14')](_0x11e1('0x16')),_0xe1ca3e['enableCommand'](_0x11e1('0xc'));}[_0x11e1('0x9')](_0x50a68b,_0x2b566d,_0xd7f987={}){const _0x522399=this[_0x11e1('0x12')][_0x11e1('0x0')]['get']('FindAndReplaceUtils');void 0x0!==_0xd7f987&&_0x50a68b(_0x5c9aae=>('string'==typeof _0x2b566d?_0x522399['findByTextCallback'](_0x2b566d,_0xd7f987):_0x2b566d)(_0x5c9aae)['filter'](_0x490efb=>!0x1===this[_0x11e1('0x7')](_0x490efb,_0x5c9aae[_0x11e1('0xd')])),_0xd7f987);}['_isInDeletionRange'](_0x2c22f3,_0x58cfb7){const _0x23f214=this[_0x11e1('0x12')]['model']['createRange'](this[_0x11e1('0x12')][_0x11e1('0x11')][_0x11e1('0x8')](_0x58cfb7,_0x2c22f3[_0x11e1('0x13')]),this[_0x11e1('0x12')]['model'][_0x11e1('0x8')](_0x58cfb7,_0x2c22f3[_0x11e1('0x10')]));for(const _0x13a2cc of this['editor'][_0x11e1('0x11')]['markers'][_0x11e1('0x4')](_0x11e1('0x6')))if(null!==_0x23f214[_0x11e1('0xf')](_0x13a2cc[_0x11e1('0xb')]()))return!0x0;return!0x1;}}
23
+ const _0x15a5=['replaceAll','createRange','model','item','getIntersection','get','has','getMarkersGroup','find','createPositionAt','handleFindCommand','enableCommand','plugins','bind','_isInDeletionRange','TrackChangesEditing','string','end','editor','findPrevious','start','suggestion:deletion','findNext','replace','filter','findByTextCallback'];(function(_0x37e41d,_0x15a561){const _0xa8532e=function(_0x1e0482){while(--_0x1e0482){_0x37e41d['push'](_0x37e41d['shift']());}};_0xa8532e(++_0x15a561);}(_0x15a5,0x14e));const _0xa853=function(_0x37e41d,_0x15a561){_0x37e41d=_0x37e41d-0x0;let _0xa8532e=_0x15a5[_0x37e41d];return _0xa8532e;};import{Plugin as _0x5c0f88}from'ckeditor5/src/core';export default class z extends _0x5c0f88{['afterInit'](){if(!this[_0xa853('0x16')]['plugins'][_0xa853('0xa')]('FindAndReplaceEditing'))return;const _0x5d33f3=this[_0xa853('0x16')]['plugins'][_0xa853('0x9')](_0xa853('0x13'));_0x5d33f3['enableCommand'](_0xa853('0xc'),this[_0xa853('0xe')][_0xa853('0x11')](this)),_0x5d33f3[_0xa853('0xf')](_0xa853('0x0')),_0x5d33f3[_0xa853('0xf')](_0xa853('0x17')),_0x5d33f3[_0xa853('0xf')](_0xa853('0x1')),_0x5d33f3['enableCommand'](_0xa853('0x4'));}[_0xa853('0xe')](_0xd8f0a7,_0x33e754,_0x5c756f={}){const _0x56f835=this[_0xa853('0x16')][_0xa853('0x10')][_0xa853('0x9')]('FindAndReplaceUtils');void 0x0!==_0x5c756f&&_0xd8f0a7(_0x51e1aa=>(_0xa853('0x14')==typeof _0x33e754?_0x56f835[_0xa853('0x3')](_0x33e754,_0x5c756f):_0x33e754)(_0x51e1aa)[_0xa853('0x2')](_0x2a270d=>!0x1===this[_0xa853('0x12')](_0x2a270d,_0x51e1aa[_0xa853('0x7')])),_0x5c756f);}[_0xa853('0x12')](_0x2f0711,_0x3d8f11){const _0x51a7b1=this['editor'][_0xa853('0x6')][_0xa853('0x5')](this[_0xa853('0x16')][_0xa853('0x6')][_0xa853('0xd')](_0x3d8f11,_0x2f0711[_0xa853('0x18')]),this[_0xa853('0x16')]['model'][_0xa853('0xd')](_0x3d8f11,_0x2f0711[_0xa853('0x15')]));for(const _0x5dfb8d of this['editor'][_0xa853('0x6')]['markers'][_0xa853('0xb')](_0xa853('0x19')))if(null!==_0x51a7b1[_0xa853('0x8')](_0x5dfb8d['getRange']()))return!0x0;return!0x1;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5e8d=['get','value','locale','*Reset\x20font\x20family*','fontBackgroundColor','change','*Reset\x20font\x20size*','FontSize','selection','trim','fontSize.options','label','find','TrackChangesEditing','markInlineFormat','model','commandParams','fontBackgroundColor.colors','commandName','getRanges','fontColor','afterInit','*Set\x20font\x20family:*\x20%0','document','config','has','*Set\x20font\x20size:*\x20%0','isCollapsed','registerDescriptionCallback','fontFamily','toLowerCase','fontSize','title','FontFamilyEditing','*Set\x20font\x20background\x20color:*\x20%0','*Set\x20font\x20color:*\x20%0','enableCommand','editor','format','plugins','*Reset\x20font\x20background\x20color*','_enableCommand'];(function(_0x1ef2ae,_0x5e8dd6){const _0x5c57be=function(_0x16c47f){while(--_0x16c47f){_0x1ef2ae['push'](_0x1ef2ae['shift']());}};_0x5c57be(++_0x5e8dd6);}(_0x5e8d,0xe6));const _0x5c57=function(_0x1ef2ae,_0x5e8dd6){_0x1ef2ae=_0x1ef2ae-0x0;let _0x5c57be=_0x5e8d[_0x1ef2ae];return _0x5c57be;};import{Plugin as _0x4c6a17}from'ckeditor5/src/core';import{normalizeColorOptions as _0x466e9e}from'ckeditor5/src/ui';import{getRangesWithAttribute as _0x301ab6}from'./utils';import{getTranslation as _0x57c634}from'../utils/common-translations';const Zt=[{'pluginName':'FontSizeEditing','commandName':_0x5c57('0xb')},{'pluginName':_0x5c57('0xd'),'commandName':_0x5c57('0x9')},{'pluginName':'FontColorEditing','commandName':_0x5c57('0x0')},{'pluginName':'FontBackgroundColorEditing','commandName':'fontBackgroundColor'}];export default class H extends _0x4c6a17{[_0x5c57('0x1')](){const _0x5dba75=this['editor'][_0x5c57('0x18')];for(const {pluginName:_0x20026b,commandName:_0xd85416}of Zt)this[_0x5c57('0x11')][_0x5c57('0x13')][_0x5c57('0x5')](_0x20026b)&&this['_enableCommand'](_0xd85416);this['editor'][_0x5c57('0x13')]['get'](_0x5c57('0x23'))['_descriptionFactory'][_0x5c57('0x8')](_0x1d3065=>{const _0x296c82=_0x5dba75['t'],{data:_0x5ef5d9}=_0x1d3065;if(null!=_0x5ef5d9){if(_0x5c57('0xb')==_0x5ef5d9[_0x5c57('0x28')]){const _0x200659=_0x5ef5d9[_0x5c57('0x26')][0x0][_0x5c57('0x17')];if(_0x200659){const _0x5e7e02=_0x296c82(this['editor'][_0x5c57('0x13')][_0x5c57('0x16')](_0x5c57('0x1d'))['normalizeSizeOptions'](this[_0x5c57('0x11')][_0x5c57('0x4')]['get'](_0x5c57('0x20')))[_0x5c57('0x22')](_0x209965=>_0x209965[_0x5c57('0x25')]==_0x200659)[_0x5c57('0xc')])['toLowerCase']();return{'type':_0x5c57('0x12'),'content':_0x57c634(_0x5dba75,_0x5c57('0x6'),_0x5e7e02)};}return{'type':_0x5c57('0x12'),'content':_0x57c634(_0x5dba75,_0x5c57('0x1c'))};}if('fontFamily'==_0x5ef5d9[_0x5c57('0x28')]){const _0x43457b=_0x5ef5d9[_0x5c57('0x26')][0x0]['value'];return _0x43457b?{'type':_0x5c57('0x12'),'content':_0x57c634(_0x5dba75,_0x5c57('0x2'),_0x43457b)}:{'type':_0x5c57('0x12'),'content':_0x57c634(_0x5dba75,_0x5c57('0x19'))};}if('fontColor'==_0x5ef5d9[_0x5c57('0x28')]){const _0x12c4fd=_0x5ef5d9['commandParams'][0x0][_0x5c57('0x17')];if(_0x12c4fd){const _0x283cef=_0x466e9e(this[_0x5c57('0x11')][_0x5c57('0x4')][_0x5c57('0x16')]('fontColor.colors'))[_0x5c57('0x22')](_0x482d33=>_0x482d33[_0x5c57('0x25')]==_0x12c4fd);let _0x34086d=_0x12c4fd,_0x17766e='';return _0x283cef&&(_0x34086d=_0x283cef['label'],_0x17766e=_0x296c82(_0x34086d)[_0x5c57('0xa')]()),{'type':_0x5c57('0x12'),'content':_0x57c634(_0x5dba75,_0x5c57('0xf'),_0x17766e)['trim'](),'color':{'value':_0x12c4fd,'title':_0x17766e||_0x34086d}};}return{'type':'format','content':_0x57c634(_0x5dba75,'*Reset\x20font\x20color*')};}if(_0x5c57('0x1a')==_0x5ef5d9[_0x5c57('0x28')]){const _0x1d3cb=_0x5ef5d9[_0x5c57('0x26')][0x0]['value'];if(_0x1d3cb){const _0x20006a=_0x466e9e(this[_0x5c57('0x11')]['config'][_0x5c57('0x16')](_0x5c57('0x27')))[_0x5c57('0x22')](_0x55487f=>_0x55487f[_0x5c57('0x25')]==_0x1d3cb);let _0x521d66=_0x1d3cb,_0x4cd315='';return _0x20006a&&(_0x521d66=_0x20006a[_0x5c57('0x21')],_0x4cd315=_0x296c82(_0x521d66)[_0x5c57('0xa')]()),{'type':'format','content':_0x57c634(_0x5dba75,_0x5c57('0xe'),_0x4cd315)[_0x5c57('0x1f')](),'color':{'value':_0x1d3cb,'title':_0x4cd315||_0x521d66}};}return{'type':_0x5c57('0x12'),'content':_0x57c634(_0x5dba75,_0x5c57('0x14'))};}}});}[_0x5c57('0x15')](_0x43abf4){const _0xac383c=this[_0x5c57('0x11')];_0xac383c['plugins'][_0x5c57('0x16')](_0x5c57('0x23'))[_0x5c57('0x10')](_0x43abf4,(_0x1d467d,_0x595969={})=>{const _0x1a31a5=_0xac383c[_0x5c57('0x25')][_0x5c57('0x3')][_0x5c57('0x1e')],_0xcfe21d=_0x595969[_0x5c57('0x17')];_0x1a31a5[_0x5c57('0x7')]?_0x1d467d(_0x595969):_0xac383c['model'][_0x5c57('0x1b')](()=>{const _0x1f33af=Array['from'](_0x1a31a5[_0x5c57('0x29')]());for(const _0x467fa9 of _0x1f33af){const _0x303665=_0xcfe21d?[_0x467fa9]:_0x301ab6(_0x43abf4,_0x467fa9,_0xac383c[_0x5c57('0x25')]);for(const _0x29b404 of _0x303665)_0xac383c[_0x5c57('0x13')][_0x5c57('0x16')](_0x5c57('0x23'))[_0x5c57('0x24')](_0x29b404,{'commandName':_0x43abf4,'commandParams':[{'value':_0xcfe21d}]});}});});}}
23
+ const _0x4bb8=['fontColor','config','get','isCollapsed','fontFamily','normalizeSizeOptions','enableCommand','has','fontSize','label','*Reset\x20font\x20family*','*Reset\x20font\x20color*','FontFamilyEditing','value','title','_enableCommand','change','*Set\x20font\x20background\x20color:*\x20%0','FontBackgroundColorEditing','model','editor','fontBackgroundColor','*Set\x20font\x20color:*\x20%0','locale','*Reset\x20font\x20background\x20color*','FontColorEditing','trim','markInlineFormat','afterInit','format','plugins','commandName','registerDescriptionCallback','commandParams','FontSizeEditing','TrackChangesEditing','fontColor.colors','*Set\x20font\x20size:*\x20%0','toLowerCase','selection','getRanges','document','*Reset\x20font\x20size*','fontSize.options','fontBackgroundColor.colors','_descriptionFactory','find'];(function(_0x3ed6a2,_0x4bb842){const _0x4a21e4=function(_0x50f657){while(--_0x50f657){_0x3ed6a2['push'](_0x3ed6a2['shift']());}};_0x4a21e4(++_0x4bb842);}(_0x4bb8,0x16c));const _0x4a21=function(_0x3ed6a2,_0x4bb842){_0x3ed6a2=_0x3ed6a2-0x0;let _0x4a21e4=_0x4bb8[_0x3ed6a2];return _0x4a21e4;};import{Plugin as _0x4dfffc}from'ckeditor5/src/core';import{normalizeColorOptions as _0x31a404}from'ckeditor5/src/ui';import{getRangesWithAttribute as _0x3370be}from'./utils';import{getTranslation as _0x47330d}from'../utils/common-translations';const Zt=[{'pluginName':_0x4a21('0x2e'),'commandName':_0x4a21('0x14')},{'pluginName':_0x4a21('0x18'),'commandName':_0x4a21('0x10')},{'pluginName':_0x4a21('0x25'),'commandName':_0x4a21('0xc')},{'pluginName':_0x4a21('0x1e'),'commandName':'fontBackgroundColor'}];export default class H extends _0x4dfffc{[_0x4a21('0x28')](){const _0x5bcd49=this[_0x4a21('0x20')][_0x4a21('0x23')];for(const {pluginName:_0x51c021,commandName:_0x3a5c74}of Zt)this[_0x4a21('0x20')][_0x4a21('0x2a')][_0x4a21('0x13')](_0x51c021)&&this[_0x4a21('0x1b')](_0x3a5c74);this['editor'][_0x4a21('0x2a')]['get'](_0x4a21('0x0'))[_0x4a21('0xa')][_0x4a21('0x2c')](_0x2e4050=>{const _0x47d58e=_0x5bcd49['t'],{data:_0x3260e7}=_0x2e4050;if(null!=_0x3260e7){if(_0x4a21('0x14')==_0x3260e7['commandName']){const _0x2eb27e=_0x3260e7[_0x4a21('0x2d')][0x0][_0x4a21('0x19')];if(_0x2eb27e){const _0x372ad0=_0x47d58e(this[_0x4a21('0x20')][_0x4a21('0x2a')][_0x4a21('0xe')]('FontSize')[_0x4a21('0x11')](this['editor'][_0x4a21('0xd')][_0x4a21('0xe')](_0x4a21('0x8')))[_0x4a21('0xb')](_0x3cc08f=>_0x3cc08f[_0x4a21('0x1f')]==_0x2eb27e)[_0x4a21('0x1a')])[_0x4a21('0x3')]();return{'type':'format','content':_0x47330d(_0x5bcd49,_0x4a21('0x2'),_0x372ad0)};}return{'type':_0x4a21('0x29'),'content':_0x47330d(_0x5bcd49,_0x4a21('0x7'))};}if(_0x4a21('0x10')==_0x3260e7[_0x4a21('0x2b')]){const _0x986d2d=_0x3260e7[_0x4a21('0x2d')][0x0]['value'];return _0x986d2d?{'type':_0x4a21('0x29'),'content':_0x47330d(_0x5bcd49,'*Set\x20font\x20family:*\x20%0',_0x986d2d)}:{'type':_0x4a21('0x29'),'content':_0x47330d(_0x5bcd49,_0x4a21('0x16'))};}if(_0x4a21('0xc')==_0x3260e7[_0x4a21('0x2b')]){const _0xf7502c=_0x3260e7[_0x4a21('0x2d')][0x0][_0x4a21('0x19')];if(_0xf7502c){const _0x429510=_0x31a404(this[_0x4a21('0x20')][_0x4a21('0xd')][_0x4a21('0xe')](_0x4a21('0x1')))['find'](_0x106439=>_0x106439['model']==_0xf7502c);let _0x2b2c61=_0xf7502c,_0x462ae8='';return _0x429510&&(_0x2b2c61=_0x429510[_0x4a21('0x15')],_0x462ae8=_0x47d58e(_0x2b2c61)[_0x4a21('0x3')]()),{'type':'format','content':_0x47330d(_0x5bcd49,_0x4a21('0x22'),_0x462ae8)[_0x4a21('0x26')](),'color':{'value':_0xf7502c,'title':_0x462ae8||_0x2b2c61}};}return{'type':'format','content':_0x47330d(_0x5bcd49,_0x4a21('0x17'))};}if(_0x4a21('0x21')==_0x3260e7[_0x4a21('0x2b')]){const _0x5dce9e=_0x3260e7[_0x4a21('0x2d')][0x0][_0x4a21('0x19')];if(_0x5dce9e){const _0xcfc772=_0x31a404(this['editor'][_0x4a21('0xd')]['get'](_0x4a21('0x9')))['find'](_0x3241e2=>_0x3241e2['model']==_0x5dce9e);let _0x37dc49=_0x5dce9e,_0x28fa2a='';return _0xcfc772&&(_0x37dc49=_0xcfc772['label'],_0x28fa2a=_0x47d58e(_0x37dc49)['toLowerCase']()),{'type':_0x4a21('0x29'),'content':_0x47330d(_0x5bcd49,_0x4a21('0x1d'),_0x28fa2a)[_0x4a21('0x26')](),'color':{'value':_0x5dce9e,'title':_0x28fa2a||_0x37dc49}};}return{'type':_0x4a21('0x29'),'content':_0x47330d(_0x5bcd49,_0x4a21('0x24'))};}}});}['_enableCommand'](_0x449a8a){const _0x32497b=this[_0x4a21('0x20')];_0x32497b[_0x4a21('0x2a')][_0x4a21('0xe')]('TrackChangesEditing')[_0x4a21('0x12')](_0x449a8a,(_0x41119a,_0xd1de76={})=>{const _0x3be145=_0x32497b[_0x4a21('0x1f')][_0x4a21('0x6')][_0x4a21('0x4')],_0x4e4149=_0xd1de76[_0x4a21('0x19')];_0x3be145[_0x4a21('0xf')]?_0x41119a(_0xd1de76):_0x32497b['model'][_0x4a21('0x1c')](()=>{const _0x13b06b=Array['from'](_0x3be145[_0x4a21('0x5')]());for(const _0x626431 of _0x13b06b){const _0x13a707=_0x4e4149?[_0x626431]:_0x3370be(_0x449a8a,_0x626431,_0x32497b[_0x4a21('0x1f')]);for(const _0x19ef40 of _0x13a707)_0x32497b['plugins'][_0x4a21('0xe')](_0x4a21('0x0'))[_0x4a21('0x27')](_0x19ef40,{'commandName':_0x449a8a,'commandParams':[{'value':_0x4e4149}]});}});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x7eec=['copyFormat','join','format','length','isEnabled','change','createRange','commandParams','document','selection','markInlineFormat','afterInit','createSelection','TrackChangesEditing','pasteFormat','modifySelection','*Set\x20format\x20to:*\x20%0','_descriptionFactory','getFirstPosition','*Remove\x20all\x20formatting*','locale','entries','registerDescriptionCallback','toUpperCase','fontBackgroundColor','fontColor.colors','title','plugins','editor','commands','config','removeFormat','enableCommand','charAt','split','word','fontSize','push','fontSize.options','get','toLowerCase','boolean','model','from','forward'];(function(_0x29aab0,_0x7eecaa){const _0x6540c1=function(_0x2b54f5){while(--_0x2b54f5){_0x29aab0['push'](_0x29aab0['shift']());}};_0x6540c1(++_0x7eecaa);}(_0x7eec,0x113));const _0x6540=function(_0x29aab0,_0x7eecaa){_0x29aab0=_0x29aab0-0x0;let _0x6540c1=_0x7eec[_0x29aab0];return _0x6540c1;};import{Plugin as _0x8057f7}from'ckeditor5/src/core';import{normalizeColorOptions as _0x36ed00}from'ckeditor5/src/ui';import{getTranslation as _0x3c885b}from'../utils/common-translations';export default class W extends _0x8057f7{[_0x6540('0x6')](){const _0x240dfe=this[_0x6540('0x17')],_0x27b388=_0x240dfe[_0x6540('0x25')],_0x4bf6eb=_0x27b388[_0x6540('0x3')][_0x6540('0x4')],_0x5dafe3=_0x240dfe[_0x6540('0x16')][_0x6540('0x22')](_0x6540('0x8')),_0x3838c1=_0x240dfe[_0x6540('0xf')],_0x1a0df1=_0x240dfe[_0x6540('0x18')][_0x6540('0x22')](_0x6540('0x28')),_0x301cca=_0x240dfe[_0x6540('0x18')][_0x6540('0x22')](_0x6540('0x9')),_0x54b496=_0x240dfe[_0x6540('0x18')][_0x6540('0x22')](_0x6540('0x1a'));_0x1a0df1&&_0x301cca&&(_0x5dafe3[_0x6540('0x1b')](_0x6540('0x9'),(_0x3ff983,_0x27ca04={})=>{const _0x23d35e=_0x27ca04;_0x27b388[_0x6540('0x0')](()=>{const _0x19fc72=Array[_0x6540('0x26')](_0x4bf6eb['getRanges']()),_0x5cec60=_0x4bf6eb['isCollapsed']?[ro(_0x27b388,_0x4bf6eb)]:_0x19fc72;if(!(!_0x54b496||!_0x54b496[_0x6540('0x2c')])||0x0!==Object['keys'](_0x23d35e)[_0x6540('0x2b')])for(const _0x114c1e of _0x5cec60)_0x5dafe3[_0x6540('0x5')](_0x114c1e,{'commandName':_0x6540('0x9'),'commandParams':[_0x23d35e]});});}),_0x5dafe3[_0x6540('0xc')][_0x6540('0x11')](_0x2b61da=>{const {data:_0x2d0e84}=_0x2b61da;if(_0x2d0e84&&'pasteFormat'===_0x2d0e84['commandName']){const _0x165c5c=[],_0x520e45=_0x2d0e84[_0x6540('0x2')][0x0];for(const [_0x117075,_0x140177]of Object[_0x6540('0x10')](_0x520e45))_0x165c5c[_0x6540('0x20')](no(_0x240dfe,_0x117075,_0x140177));return _0x165c5c[_0x6540('0x2b')]?{'type':_0x6540('0x2a'),'content':_0x3c885b(_0x3838c1,_0x6540('0xb'),_0x165c5c[_0x6540('0x29')](',\x20'))}:{'type':'format','content':_0x3c885b(_0x3838c1,_0x6540('0xe'))};}}),_0x240dfe['plugins'][_0x6540('0x22')](_0x6540('0x8'))['enableCommand']('copyFormat'));}}function ro(_0x393ff5,_0x204081){const _0x125cf4=_0x393ff5[_0x6540('0x7')](_0x204081);_0x393ff5[_0x6540('0xa')](_0x125cf4,{'unit':_0x6540('0x1e'),'direction':'backward'});const _0x366e18=_0x125cf4[_0x6540('0xd')]();_0x393ff5[_0x6540('0xa')](_0x125cf4,{'unit':_0x6540('0x1e'),'direction':_0x6540('0x27')});const _0x35bd6c=_0x125cf4['getLastPosition']();return _0x393ff5[_0x6540('0x1')](_0x366e18,_0x35bd6c);}function no(_0x50b65f,_0x12193a,_0x37db3f){const _0x36d377=_0x50b65f[_0x6540('0xf')]['t'],_0x4bc270=_0x12193a[_0x6540('0x1d')](/(?=[A-Z])/)[_0x6540('0x29')]('\x20'),_0x3e4df9=_0x36d377(_0x4bc270[_0x6540('0x1c')](0x0)[_0x6540('0x12')]()+_0x4bc270['slice'](0x1))[_0x6540('0x23')]();if(_0x6540('0x24')==typeof _0x37db3f)return _0x3e4df9;if('fontColor'===_0x12193a||_0x6540('0x13')===_0x12193a){const _0x70b477=_0x36ed00(_0x50b65f['config']['get'](_0x6540('0x14')))['find'](_0x269379=>_0x269379[_0x6540('0x25')]==_0x37db3f);return _0x3e4df9+'\x20('+(_0x70b477?_0x36d377(_0x70b477['label'])[_0x6540('0x23')]():_0x37db3f)+')';}if(_0x6540('0x1f')===_0x12193a&&isNaN(parseFloat(_0x37db3f))){const _0x46dfb2=_0x50b65f[_0x6540('0x16')][_0x6540('0x22')]('FontSize')['normalizeSizeOptions'](_0x50b65f[_0x6540('0x19')][_0x6540('0x22')](_0x6540('0x21')))['find'](_0x19c1c8=>_0x19c1c8[_0x6540('0x25')]==_0x37db3f);return _0x3e4df9+'\x20('+(_0x46dfb2?_0x36d377(_0x46dfb2[_0x6540('0x15')])[_0x6540('0x23')]():_0x37db3f)+')';}return _0x3e4df9+'\x20('+_0x37db3f+')';}
23
+ const _0x1c0c=['enableCommand','locale','keys','pasteFormat','FontSize','commands','fontSize.options','*Remove\x20all\x20formatting*','label','editor','config','copyFormat','isFormatting','format','createRange','getRanges','afterInit','commandParams','length','word','getSelectedBlocks','getLastPosition','commandName','entries','getAttributeProperties','selection','getItems','isBlock','slice','modifySelection','getFirstPosition','fontColor','get','join','fontColor.colors','TrackChangesEditing','markInlineFormat','getAttributes','normalizeSizeOptions','isCollapsed','model','forward','change','fontBackgroundColor','from','plugins','createSelection','boolean','toUpperCase','toLowerCase'];(function(_0x588bc3,_0x1c0c20){const _0xd469a3=function(_0x5d67f5){while(--_0x5d67f5){_0x588bc3['push'](_0x588bc3['shift']());}};_0xd469a3(++_0x1c0c20);}(_0x1c0c,0x7b));const _0xd469=function(_0x588bc3,_0x1c0c20){_0x588bc3=_0x588bc3-0x0;let _0xd469a3=_0x1c0c[_0x588bc3];return _0xd469a3;};import{Plugin as _0x3b09f7}from'ckeditor5/src/core';import{normalizeColorOptions as _0xccaa89}from'ckeditor5/src/ui';import{first as _0x590002}from'ckeditor5/src/utils';import{getTranslation as _0x1c3ef8}from'../utils/common-translations';export default class W extends _0x3b09f7{[_0xd469('0x2b')](){const _0x34c3d0=this[_0xd469('0x24')],_0x4a091b=_0x34c3d0[_0xd469('0x11')],_0x1d695e=_0x4a091b['document'][_0xd469('0x2')],_0x42f208=_0x34c3d0[_0xd469('0x16')][_0xd469('0x9')]('TrackChangesEditing'),_0x9dbe7c=_0x34c3d0[_0xd469('0x1c')],_0x331dd4=_0x34c3d0['commands'][_0xd469('0x9')](_0xd469('0x26')),_0x10a65a=_0x34c3d0[_0xd469('0x20')]['get'](_0xd469('0x1e'));_0x331dd4&&_0x10a65a&&(_0x42f208[_0xd469('0x1b')](_0xd469('0x1e'),(_0x460907,_0x37ef58={})=>{const _0x395817=_0x37ef58;_0x4a091b[_0xd469('0x13')](()=>{const _0x3de22e=Array[_0xd469('0x15')](_0x1d695e[_0xd469('0x2a')]()),_0xb7f0d2=_0x1d695e[_0xd469('0x10')]?[ro(_0x4a091b,_0x1d695e)]:_0x3de22e,_0x2b95c8=!!_0x590002(function*(_0x6b3e15,_0x15bfe2){const _0x1d6595=_0x2c92a6=>!!_0x590002(function*(_0xd32ef7,_0x493a23){for(const [_0x47210b]of _0xd32ef7[_0xd469('0xe')]()){const _0x138f12=_0x493a23[_0xd469('0x1')](_0x47210b);_0x138f12&&_0x138f12[_0xd469('0x27')]&&(yield _0x47210b);}}(_0x2c92a6,_0x15bfe2));for(const _0x165dda of _0x6b3e15[_0xd469('0x2a')]())for(const _0x42c8c6 of _0x165dda[_0xd469('0x3')]())!_0x15bfe2[_0xd469('0x4')](_0x42c8c6)&&_0x1d6595(_0x42c8c6)&&(yield _0x42c8c6);for(const _0x81ddea of _0x6b3e15[_0xd469('0x2f')]())_0x1d6595(_0x81ddea)&&(yield _0x81ddea);_0x1d6595(_0x6b3e15)&&(yield _0x6b3e15);}(_0x1d695e,_0x4a091b['schema']));if(_0x2b95c8||0x0!==Object[_0xd469('0x1d')](_0x395817)[_0xd469('0x2d')])for(const _0x3bcbf3 of _0xb7f0d2)_0x42f208[_0xd469('0xd')](_0x3bcbf3,{'commandName':_0xd469('0x1e'),'commandParams':[_0x395817]});});}),_0x42f208['_descriptionFactory']['registerDescriptionCallback'](_0x1cfa5b=>{const {data:_0x5f1c16}=_0x1cfa5b;if(_0x5f1c16&&_0xd469('0x1e')===_0x5f1c16[_0xd469('0x31')]){const _0x5a1297=[],_0x28f235=_0x5f1c16[_0xd469('0x2c')][0x0];for(const [_0x388fe5,_0x1eefa1]of Object[_0xd469('0x0')](_0x28f235))_0x5a1297['push'](no(_0x34c3d0,_0x388fe5,_0x1eefa1));return _0x5a1297[_0xd469('0x2d')]?{'type':_0xd469('0x28'),'content':_0x1c3ef8(_0x9dbe7c,'*Set\x20format\x20to:*\x20%0',_0x5a1297[_0xd469('0xa')](',\x20'))}:{'type':_0xd469('0x28'),'content':_0x1c3ef8(_0x9dbe7c,_0xd469('0x22'))};}}),_0x34c3d0[_0xd469('0x16')]['get'](_0xd469('0xc'))[_0xd469('0x1b')](_0xd469('0x26')));}}function ro(_0x52d3c9,_0x1469d2){const _0x54bd67=_0x52d3c9[_0xd469('0x17')](_0x1469d2);_0x52d3c9[_0xd469('0x6')](_0x54bd67,{'unit':_0xd469('0x2e'),'direction':'backward'});const _0x16b944=_0x54bd67[_0xd469('0x7')]();_0x52d3c9['modifySelection'](_0x54bd67,{'unit':_0xd469('0x2e'),'direction':_0xd469('0x12')});const _0x114a71=_0x54bd67[_0xd469('0x30')]();return _0x52d3c9[_0xd469('0x29')](_0x16b944,_0x114a71);}function no(_0x2ab0b5,_0x34d7c7,_0x5caa3e){const _0x15d261=_0x2ab0b5['locale']['t'],_0x230b0d=_0x34d7c7['split'](/(?=[A-Z])/)[_0xd469('0xa')]('\x20'),_0x4eaf67=_0x15d261(_0x230b0d['charAt'](0x0)[_0xd469('0x19')]()+_0x230b0d[_0xd469('0x5')](0x1))[_0xd469('0x1a')]();if(_0xd469('0x18')==typeof _0x5caa3e)return _0x4eaf67;if(_0xd469('0x8')===_0x34d7c7||_0xd469('0x14')===_0x34d7c7){const _0x376afd=_0xccaa89(_0x2ab0b5[_0xd469('0x25')][_0xd469('0x9')](_0xd469('0xb')))['find'](_0x4756ed=>_0x4756ed[_0xd469('0x11')]==_0x5caa3e);return _0x4eaf67+'\x20('+(_0x376afd?_0x15d261(_0x376afd[_0xd469('0x23')])['toLowerCase']():_0x5caa3e)+')';}if('fontSize'===_0x34d7c7&&isNaN(parseFloat(_0x5caa3e))){const _0x39f95a=_0x2ab0b5[_0xd469('0x16')]['get'](_0xd469('0x1f'))[_0xd469('0xf')](_0x2ab0b5[_0xd469('0x25')][_0xd469('0x9')](_0xd469('0x21')))['find'](_0x166fc1=>_0x166fc1['model']==_0x5caa3e);return _0x4eaf67+'\x20('+(_0x39f95a?_0x15d261(_0x39f95a['title'])['toLowerCase']():_0x5caa3e)+')';}return _0x4eaf67+'\x20('+_0x5caa3e+')';}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5dda=['TrackChangesEditing','document','commandName','value','HeadingEditing','selection','registerDescriptionCallback','_descriptionFactory','from','heading.options','parent','markBlockFormat','filter','match','editor','plugins','formatBlock','config','ELEMENT_HEADING','find','getSelectedBlocks','format','get','afterInit','title','heading','*Change\x20to:*\x20%0','enableCommand','change','name','locale','paragraph','model','has','blockName'];(function(_0x7f817c,_0x5dda55){const _0x175d09=function(_0xf00817){while(--_0xf00817){_0x7f817c['push'](_0x7f817c['shift']());}};_0x175d09(++_0x5dda55);}(_0x5dda,0x85));const _0x175d=function(_0x7f817c,_0x5dda55){_0x7f817c=_0x7f817c-0x0;let _0x175d09=_0x5dda[_0x7f817c];return _0x175d09;};import{Plugin as _0x4eb7aa}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x532fdb}from'./utils';import{getTranslation as _0xe729f0}from'../utils/common-translations';export default class J extends _0x4eb7aa{[_0x175d('0x1e')](){const _0x1ad583=this[_0x175d('0x15')],_0x3e2126=_0x1ad583[_0x175d('0x2')],_0x3e5d6d=_0x1ad583[_0x175d('0x18')][_0x175d('0x1d')](_0x175d('0x10'));if(!_0x1ad583[_0x175d('0x16')][_0x175d('0x5')](_0x175d('0xb')))return;const _0x12787b=_0x1ad583[_0x175d('0x16')][_0x175d('0x1d')](_0x175d('0x7'));_0x12787b[_0x175d('0x22')](_0x175d('0x20'),(_0x14ab98,_0xe09c6c)=>{const _0x226ecb=_0xe09c6c[_0x175d('0xa')],_0x37d79a=Array[_0x175d('0xf')](this[_0x175d('0x15')][_0x175d('0x4')][_0x175d('0x8')][_0x175d('0xc')][_0x175d('0x1b')]())[_0x175d('0x13')](_0x12d728=>function(_0x5d8857,_0x1a3137,_0x38b462){return _0x38b462['checkChild'](_0x5d8857[_0x175d('0x11')],_0x1a3137)&&!_0x38b462['isObject'](_0x5d8857)&&_0x5d8857[_0x175d('0x1')]!=_0x1a3137;}(_0x12d728,_0x226ecb,this[_0x175d('0x15')][_0x175d('0x4')]['schema']));_0x1ad583[_0x175d('0x4')][_0x175d('0x0')](()=>{for(const _0x45f3bf of _0x37d79a)_0x12787b[_0x175d('0x12')](_0x45f3bf,{'commandName':'heading','commandParams':[_0xe09c6c],'formatGroupId':_0x175d('0x6')},_0x532fdb(_0x45f3bf));});});for(const _0x7beee of _0x3e5d6d)_0x175d('0x3')!=_0x7beee[_0x175d('0x4')]&&_0x12787b[_0x175d('0xe')]['registerElementLabel'](_0x7beee[_0x175d('0x4')],_0x26d6f2=>{const _0x2b39d0=nn(_0x7beee[_0x175d('0x4')]);return null!==_0x2b39d0?_0x2b2a1b(_0x26d6f2,_0x2b39d0):_0x3e5dce(_0x26d6f2,_0x7beee[_0x175d('0x1f')]);});function _0x2b2a1b(_0x35c0d4,_0x2e996a){return _0xe729f0(_0x3e2126,_0x175d('0x19'),[_0x35c0d4,_0x2e996a]);}function _0x3e5dce(_0x3b3964,_0x556e25){return _0xe729f0(_0x3e2126,'ELEMENT_HEADING_CUSTOM',[_0x3b3964,_0x556e25]);}_0x12787b['_descriptionFactory'][_0x175d('0xd')](_0x1543ec=>{const {type:_0x245bb4,data:_0x2b4805}=_0x1543ec;if(_0x175d('0x17')==_0x245bb4&&_0x2b4805&&_0x175d('0x20')==_0x2b4805[_0x175d('0x9')]){const _0x54d166=_0x2b4805['commandParams'][0x0][_0x175d('0xa')],_0x2ead5b=nn(_0x54d166);if(null!==_0x2ead5b)return{'type':_0x175d('0x1c'),'content':_0xe729f0(_0x3e2126,_0x175d('0x21'),_0x2b2a1b(0x1,_0x2ead5b))};const _0x47b2eb=_0x3e5d6d[_0x175d('0x1a')](_0x136994=>_0x136994[_0x175d('0x4')]===_0x54d166)[_0x175d('0x1f')];return{'type':_0x175d('0x1c'),'content':_0xe729f0(_0x3e2126,_0x175d('0x21'),_0x3e5dce(0x1,_0x47b2eb))};}});}}function nn(_0x177837){const _0x3ab293=_0x177837[_0x175d('0x14')](/^heading(\d+)$/);return _0x3ab293?_0x3ab293[0x1]:null;}
23
+ const _0x2edf=['enableCommand','change','formatBlock','title','heading','heading.options','filter','find','model','ELEMENT_HEADING','format','from','getSelectedBlocks','parent','name','match','has','commandParams','plugins','registerElementLabel','isObject','paragraph','_descriptionFactory','ELEMENT_HEADING_CUSTOM','markBlockFormat','editor','schema','get','registerDescriptionCallback','value','locale'];(function(_0x22b377,_0x2edf57){const _0x1ad466=function(_0x2c4a89){while(--_0x2c4a89){_0x22b377['push'](_0x22b377['shift']());}};_0x1ad466(++_0x2edf57);}(_0x2edf,0xf5));const _0x1ad4=function(_0x22b377,_0x2edf57){_0x22b377=_0x22b377-0x0;let _0x1ad466=_0x2edf[_0x22b377];return _0x1ad466;};import{Plugin as _0x255a77}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x435d78}from'./utils';import{getTranslation as _0x2475de}from'../utils/common-translations';export default class J extends _0x255a77{['afterInit'](){const _0x197d95=this[_0x1ad4('0x1c')],_0x1845a6=_0x197d95[_0x1ad4('0x2')],_0x2959a7=_0x197d95['config'][_0x1ad4('0x1e')](_0x1ad4('0x8'));if(!_0x197d95['plugins'][_0x1ad4('0x13')]('HeadingEditing'))return;const _0x4fd6b0=_0x197d95[_0x1ad4('0x15')][_0x1ad4('0x1e')]('TrackChangesEditing');_0x4fd6b0[_0x1ad4('0x3')](_0x1ad4('0x7'),(_0x361593,_0x2f2c03)=>{const _0x411706=_0x2f2c03['value'],_0x52e37d=Array[_0x1ad4('0xe')](this[_0x1ad4('0x1c')]['model']['document']['selection'][_0x1ad4('0xf')]())[_0x1ad4('0x9')](_0x16ce70=>function(_0x5f48ae,_0x569e1f,_0x56f78f){return _0x56f78f['checkChild'](_0x5f48ae[_0x1ad4('0x10')],_0x569e1f)&&!_0x56f78f[_0x1ad4('0x17')](_0x5f48ae)&&_0x5f48ae[_0x1ad4('0x11')]!=_0x569e1f;}(_0x16ce70,_0x411706,this[_0x1ad4('0x1c')][_0x1ad4('0xb')][_0x1ad4('0x1d')]));_0x197d95['model'][_0x1ad4('0x4')](()=>{for(const _0x336248 of _0x52e37d)_0x4fd6b0[_0x1ad4('0x1b')](_0x336248,{'commandName':_0x1ad4('0x7'),'commandParams':[_0x2f2c03],'formatGroupId':'blockName'},_0x435d78(_0x336248));});});for(const _0x275601 of _0x2959a7)_0x1ad4('0x18')!=_0x275601[_0x1ad4('0xb')]&&_0x4fd6b0[_0x1ad4('0x19')][_0x1ad4('0x16')](_0x275601[_0x1ad4('0xb')],_0x3d95a6=>{const _0x489bb8=nn(_0x275601[_0x1ad4('0xb')]);return null!==_0x489bb8?_0x551063(_0x3d95a6,_0x489bb8):_0x337301(_0x3d95a6,_0x275601[_0x1ad4('0x6')]);});function _0x551063(_0x1f7e9c,_0x4797c0){return _0x2475de(_0x1845a6,_0x1ad4('0xc'),[_0x1f7e9c,_0x4797c0]);}function _0x337301(_0x8bf75c,_0x137791){return _0x2475de(_0x1845a6,_0x1ad4('0x1a'),[_0x8bf75c,_0x137791]);}_0x4fd6b0[_0x1ad4('0x19')][_0x1ad4('0x0')](_0x11ce85=>{const {type:_0x2d4a7f,data:_0x6787f2}=_0x11ce85;if(_0x1ad4('0x5')==_0x2d4a7f&&_0x6787f2&&_0x1ad4('0x7')==_0x6787f2['commandName']){const _0x37a172=_0x6787f2[_0x1ad4('0x14')][0x0][_0x1ad4('0x1')],_0x5e624b=nn(_0x37a172);if(null!==_0x5e624b)return{'type':'format','content':_0x2475de(_0x1845a6,'*Change\x20to:*\x20%0',_0x551063(0x1,_0x5e624b))};const _0x525474=_0x2959a7[_0x1ad4('0xa')](_0x520d6c=>_0x520d6c[_0x1ad4('0xb')]===_0x37a172)[_0x1ad4('0x6')];return{'type':_0x1ad4('0xd'),'content':_0x2475de(_0x1845a6,'*Change\x20to:*\x20%0',_0x337301(0x1,_0x525474))};}});}}function nn(_0x360095){const _0x2e4ac3=_0x360095[_0x1ad4('0x12')](/^heading(\d+)$/);return _0x2e4ac3?_0x2e4ac3[0x1]:null;}