@ckeditor/ckeditor5-track-changes 37.0.1 → 37.1.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 (162) hide show
  1. package/build/track-changes.js +2 -2
  2. package/build/translations/ar.js +1 -1
  3. package/build/translations/az.js +1 -1
  4. package/build/translations/bg.js +1 -1
  5. package/build/translations/bn.js +1 -1
  6. package/build/translations/ca.js +1 -1
  7. package/build/translations/cs.js +1 -1
  8. package/build/translations/da.js +1 -1
  9. package/build/translations/de.js +1 -1
  10. package/build/translations/el.js +1 -1
  11. package/build/translations/en-au.js +1 -1
  12. package/build/translations/es.js +1 -1
  13. package/build/translations/et.js +1 -1
  14. package/build/translations/fi.js +1 -1
  15. package/build/translations/fr.js +1 -1
  16. package/build/translations/gl.js +1 -1
  17. package/build/translations/he.js +1 -1
  18. package/build/translations/hi.js +1 -1
  19. package/build/translations/hr.js +1 -1
  20. package/build/translations/hu.js +1 -1
  21. package/build/translations/id.js +1 -1
  22. package/build/translations/it.js +1 -1
  23. package/build/translations/ja.js +1 -1
  24. package/build/translations/ko.js +1 -1
  25. package/build/translations/lt.js +1 -1
  26. package/build/translations/lv.js +1 -1
  27. package/build/translations/ms.js +1 -1
  28. package/build/translations/nl.js +1 -1
  29. package/build/translations/no.js +1 -1
  30. package/build/translations/pl.js +1 -1
  31. package/build/translations/pt-br.js +1 -1
  32. package/build/translations/pt.js +1 -1
  33. package/build/translations/ro.js +1 -1
  34. package/build/translations/ru.js +1 -1
  35. package/build/translations/sk.js +1 -1
  36. package/build/translations/sr-latn.js +1 -1
  37. package/build/translations/sr.js +1 -1
  38. package/build/translations/sv.js +1 -1
  39. package/build/translations/th.js +1 -1
  40. package/build/translations/tk.js +1 -1
  41. package/build/translations/tr.js +1 -1
  42. package/build/translations/tt.js +1 -1
  43. package/build/translations/uk.js +1 -1
  44. package/build/translations/ur.js +1 -1
  45. package/build/translations/vi.js +1 -1
  46. package/build/translations/zh-cn.js +1 -1
  47. package/build/translations/zh.js +1 -1
  48. package/lang/contexts.json +2 -0
  49. package/lang/translations/ar.po +15 -1
  50. package/lang/translations/az.po +11 -1
  51. package/lang/translations/bg.po +11 -1
  52. package/lang/translations/bn.po +11 -1
  53. package/lang/translations/ca.po +11 -1
  54. package/lang/translations/cs.po +13 -1
  55. package/lang/translations/da.po +11 -1
  56. package/lang/translations/de.po +11 -1
  57. package/lang/translations/el.po +11 -1
  58. package/lang/translations/en-au.po +11 -1
  59. package/lang/translations/en.po +10 -0
  60. package/lang/translations/es.po +12 -1
  61. package/lang/translations/et.po +11 -1
  62. package/lang/translations/fi.po +11 -1
  63. package/lang/translations/fr.po +12 -1
  64. package/lang/translations/gl.po +11 -1
  65. package/lang/translations/he.po +13 -1
  66. package/lang/translations/hi.po +11 -1
  67. package/lang/translations/hr.po +12 -1
  68. package/lang/translations/hu.po +11 -1
  69. package/lang/translations/id.po +10 -1
  70. package/lang/translations/it.po +12 -1
  71. package/lang/translations/ja.po +10 -1
  72. package/lang/translations/ko.po +10 -1
  73. package/lang/translations/lt.po +13 -1
  74. package/lang/translations/lv.po +12 -1
  75. package/lang/translations/ms.po +10 -1
  76. package/lang/translations/nl.po +11 -1
  77. package/lang/translations/no.po +11 -1
  78. package/lang/translations/pl.po +13 -1
  79. package/lang/translations/pt-br.po +12 -1
  80. package/lang/translations/pt.po +12 -1
  81. package/lang/translations/ro.po +12 -1
  82. package/lang/translations/ru.po +13 -1
  83. package/lang/translations/sk.po +13 -1
  84. package/lang/translations/sr-latn.po +12 -1
  85. package/lang/translations/sr.po +33 -22
  86. package/lang/translations/sv.po +11 -1
  87. package/lang/translations/th.po +10 -1
  88. package/lang/translations/tk.po +11 -1
  89. package/lang/translations/tr.po +11 -1
  90. package/lang/translations/tt.po +10 -1
  91. package/lang/translations/uk.po +13 -1
  92. package/lang/translations/ur.po +11 -1
  93. package/lang/translations/vi.po +10 -1
  94. package/lang/translations/zh-cn.po +10 -1
  95. package/lang/translations/zh.po +10 -1
  96. package/package.json +3 -3
  97. package/src/commands/acceptsuggestioncommand.js +1 -1
  98. package/src/commands/discardsuggestioncommand.js +1 -1
  99. package/src/commands/executeonallsuggestionscommand.js +1 -1
  100. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  101. package/src/commands/trackchangescommand.js +1 -1
  102. package/src/index.d.ts +1 -1
  103. package/src/integrations/alignment.js +1 -1
  104. package/src/integrations/basicstyles.js +1 -1
  105. package/src/integrations/blockquote.js +1 -1
  106. package/src/integrations/ckbox.js +1 -1
  107. package/src/integrations/codeblock.js +1 -1
  108. package/src/integrations/comments.js +1 -1
  109. package/src/integrations/deletecommand.js +1 -1
  110. package/src/integrations/documentlist.js +1 -1
  111. package/src/integrations/documentlistproperties.js +1 -1
  112. package/src/integrations/entercommand.js +1 -1
  113. package/src/integrations/findandreplace.js +1 -1
  114. package/src/integrations/font.js +1 -1
  115. package/src/integrations/formatpainter.d.ts +13 -0
  116. package/src/integrations/formatpainter.js +23 -0
  117. package/src/integrations/heading.js +1 -1
  118. package/src/integrations/highlight.js +1 -1
  119. package/src/integrations/horizontalline.js +1 -1
  120. package/src/integrations/htmlembed.js +1 -1
  121. package/src/integrations/image.js +1 -1
  122. package/src/integrations/imagereplace.js +1 -1
  123. package/src/integrations/importword.js +1 -1
  124. package/src/integrations/indent.js +1 -1
  125. package/src/integrations/inputcommand.js +1 -1
  126. package/src/integrations/link.js +1 -1
  127. package/src/integrations/list.js +1 -1
  128. package/src/integrations/listproperties.js +1 -1
  129. package/src/integrations/mediaembed.js +1 -1
  130. package/src/integrations/mention.js +1 -1
  131. package/src/integrations/pagebreak.js +1 -1
  132. package/src/integrations/paragraph.js +1 -1
  133. package/src/integrations/removeformat.js +1 -1
  134. package/src/integrations/restrictededitingmode.js +1 -1
  135. package/src/integrations/shiftentercommand.js +1 -1
  136. package/src/integrations/standardeditingmode.js +1 -1
  137. package/src/integrations/style.js +1 -1
  138. package/src/integrations/table.js +1 -1
  139. package/src/integrations/tablecaption.js +1 -1
  140. package/src/integrations/tableclipboard.js +1 -1
  141. package/src/integrations/tablecolumnresize.js +1 -1
  142. package/src/integrations/tableheadings.js +1 -1
  143. package/src/integrations/tablemergesplit.js +1 -1
  144. package/src/integrations/tableofcontents.d.ts +13 -0
  145. package/src/integrations/tableofcontents.js +23 -0
  146. package/src/integrations/tableproperties.js +1 -1
  147. package/src/integrations/template.d.ts +13 -0
  148. package/src/integrations/template.js +23 -0
  149. package/src/integrations/title.js +1 -1
  150. package/src/integrations/undo.js +1 -1
  151. package/src/integrations/utils.js +1 -1
  152. package/src/suggestion.js +1 -1
  153. package/src/suggestiondescriptionfactory.js +1 -1
  154. package/src/trackchanges.js +1 -1
  155. package/src/trackchangesdata.js +1 -1
  156. package/src/trackchangesediting.js +1 -1
  157. package/src/trackchangesui.js +1 -1
  158. package/src/ui/suggestioncontroller.js +1 -1
  159. package/src/ui/view/basesuggestionthreadview.js +1 -1
  160. package/src/ui/view/suggestionthreadview.js +1 -1
  161. package/src/utils/common-translations.js +1 -1
  162. package/src/utils/utils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x13da=['editor','_enabledCommands','_disableUnsupportedCommands','forceDisabled','execute','TrackChangesCommand','commands','clearForceDisabled','isEnabled','value','refresh','affectsData','has'];(function(_0x400943,_0x13da64){const _0x52bd77=function(_0x8eccf7){while(--_0x8eccf7){_0x400943['push'](_0x400943['shift']());}};_0x52bd77(++_0x13da64);}(_0x13da,0x171));const _0x52bd=function(_0x400943,_0x13da64){_0x400943=_0x400943-0x0;let _0x52bd77=_0x13da[_0x400943];return _0x52bd77;};import{Command as _0x23a276}from'ckeditor5/src/core';export default class _ extends _0x23a276{constructor(_0x4312b8,_0x86a0be){super(_0x4312b8),this[_0x52bd('0x9')]=_0x86a0be,this[_0x52bd('0x4')]=!0x1,this[_0x52bd('0x5')]();}['refresh'](){this[_0x52bd('0x3')]=!0x0;}[_0x52bd('0xc')](){this[_0x52bd('0x4')]=!this['value'],this['value']?this['_disableUnsupportedCommands']():this['_enableCommands']();}[_0x52bd('0xa')](){for(const _0x15811d of this[_0x52bd('0x8')][_0x52bd('0x1')][_0x52bd('0x1')]())_0x15811d[_0x52bd('0x6')]&&!this['_enabledCommands'][_0x52bd('0x7')](_0x15811d)&&_0x15811d[_0x52bd('0xb')](_0x52bd('0x0'));}['_enableCommands'](){for(const _0x1a2a81 of this[_0x52bd('0x8')][_0x52bd('0x1')]['commands']())_0x1a2a81[_0x52bd('0x6')]&&!this[_0x52bd('0x9')][_0x52bd('0x7')](_0x1a2a81)&&_0x1a2a81[_0x52bd('0x2')](_0x52bd('0x0'));}}
23
+ const _0x4a47=['execute','editor','_enableCommands','_disableUnsupportedCommands','affectsData','refresh','forceDisabled','_enabledCommands','TrackChangesCommand','commands','clearForceDisabled','has','value'];(function(_0x1e1ef9,_0x4a47ea){const _0x2e6afa=function(_0x21c2d8){while(--_0x21c2d8){_0x1e1ef9['push'](_0x1e1ef9['shift']());}};_0x2e6afa(++_0x4a47ea);}(_0x4a47,0xe2));const _0x2e6a=function(_0x1e1ef9,_0x4a47ea){_0x1e1ef9=_0x1e1ef9-0x0;let _0x2e6afa=_0x4a47[_0x1e1ef9];return _0x2e6afa;};import{Command as _0x3e1807}from'ckeditor5/src/core';export default class _ extends _0x3e1807{constructor(_0x4c73d8,_0x2e3244){super(_0x4c73d8),this[_0x2e6a('0x2')]=_0x2e3244,this[_0x2e6a('0x7')]=!0x1,this[_0x2e6a('0x0')]();}[_0x2e6a('0x0')](){this['isEnabled']=!0x0;}[_0x2e6a('0x8')](){this[_0x2e6a('0x7')]=!this[_0x2e6a('0x7')],this[_0x2e6a('0x7')]?this[_0x2e6a('0xb')]():this[_0x2e6a('0xa')]();}['_disableUnsupportedCommands'](){for(const _0x3f01ab of this[_0x2e6a('0x9')][_0x2e6a('0x4')]['commands']())_0x3f01ab[_0x2e6a('0xc')]&&!this[_0x2e6a('0x2')][_0x2e6a('0x6')](_0x3f01ab)&&_0x3f01ab[_0x2e6a('0x1')](_0x2e6a('0x3'));}[_0x2e6a('0xa')](){for(const _0x39fdb3 of this['editor'][_0x2e6a('0x4')][_0x2e6a('0x4')]())_0x39fdb3[_0x2e6a('0xc')]&&!this[_0x2e6a('0x2')][_0x2e6a('0x6')](_0x39fdb3)&&_0x39fdb3[_0x2e6a('0x5')](_0x2e6a('0x3'));}}
package/src/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  export { default as TrackChanges, type SuggestionData } from './trackchanges';
2
2
  export { default as TrackChangesData } from './trackchangesdata';
3
3
  export { default as TrackChangesEditing } from './trackchangesediting';
4
- export { SuggestionJSON } from './suggestion';
4
+ export type { SuggestionJSON } from './suggestion';
5
5
  export { default as BaseSuggestionThreadView } from './ui/view/basesuggestionthreadview';
6
6
  export type { TrackChangesConfig } from './trackchangesconfig';
7
7
  export type { default as AcceptSuggestionCommand } from './commands/acceptsuggestioncommand';
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4411=['selection','afterInit','alignment','registerDescriptionCallback','FORMAT_ALIGN_TO_RIGHT','left','commandParams','FORMAT_JUSTIFY_TEXT','has','change','locale','document','plugins','getSelectedBlocks','FORMAT_ALIGN_TO_CENTER','model','right','value','markBlockFormat','schema','filter','*Format:*\x20%0','editor','get','AlignmentEditing','checkAttribute','from','_descriptionFactory','FORMAT_ALIGN_TO_LEFT'];(function(_0x2d22a1,_0x441131){const _0x4856e9=function(_0x151177){while(--_0x151177){_0x2d22a1['push'](_0x2d22a1['shift']());}};_0x4856e9(++_0x441131);}(_0x4411,0x121));const _0x4856=function(_0x2d22a1,_0x441131){_0x2d22a1=_0x2d22a1-0x0;let _0x4856e9=_0x4411[_0x2d22a1];return _0x4856e9;};import{Plugin as _0x18a535}from'ckeditor5/src/core';import{getTranslation as _0x3f86c1}from'../utils/common-translations';export default class x extends _0x18a535{[_0x4856('0x2')](){const _0x520be3=this[_0x4856('0x17')],_0x580cc3=_0x520be3[_0x4856('0xb')];if(!_0x520be3[_0x4856('0xd')][_0x4856('0x9')](_0x4856('0x19')))return;const _0x505522=_0x520be3['plugins'][_0x4856('0x18')]('TrackChangesEditing');_0x505522['enableCommand'](_0x4856('0x3'),(_0x43073e,_0x345bdb={})=>{let _0x5b33d6=_0x345bdb['value'];_0x345bdb[_0x4856('0x12')]||(_0x5b33d6='ltr'===_0x520be3[_0x4856('0xb')]['contentLanguageDirection']?'left':_0x4856('0x11'));const _0x918c4e=Array[_0x4856('0x1b')](this[_0x4856('0x17')]['model'][_0x4856('0xc')][_0x4856('0x1')][_0x4856('0xe')]())[_0x4856('0x15')](_0x3a9318=>function(_0x461e08,_0x5c955d,_0x3281a7){const _0x8c4644=_0x461e08['getAttribute'](_0x4856('0x3'))||null;return _0x5c955d[_0x4856('0x1a')](_0x461e08,_0x4856('0x3'))&&_0x3281a7!=_0x8c4644;}(_0x3a9318,this[_0x4856('0x17')][_0x4856('0x10')][_0x4856('0x14')],_0x5b33d6));_0x520be3['model'][_0x4856('0xa')](()=>{for(const _0x1b90ee of _0x918c4e)_0x505522[_0x4856('0x13')](_0x1b90ee,{'commandName':_0x4856('0x3'),'commandParams':[{'value':_0x5b33d6}]});});}),_0x505522[_0x4856('0x1c')][_0x4856('0x4')](_0x5346e6=>{const {data:_0x409ce9}=_0x5346e6;if(_0x409ce9&&_0x4856('0x3')==_0x409ce9['commandName']){const _0xa25a16=_0x409ce9[_0x4856('0x7')][0x0][_0x4856('0x12')];return{'type':'format','content':_0x3f86c1(_0x580cc3,_0x4856('0x16'),function(_0x3ba76b){switch(_0x3ba76b){case _0x4856('0x6'):return _0x3f86c1(_0x580cc3,_0x4856('0x0'));case'right':return _0x3f86c1(_0x580cc3,_0x4856('0x5'));case'center':return _0x3f86c1(_0x580cc3,_0x4856('0xf'));case'justify':return _0x3f86c1(_0x580cc3,_0x4856('0x8'));}}(_0xa25a16))};}});}}
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))};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5ddc=['FORMAT_CODE','registerDescriptionCallback','FORMAT_BOLD','model','underline','strikethrough','CodeEditing','FORMAT_ITALIC','superscript','get','SuperscriptEditing','plugins','afterInit','change','document','FORMAT_STRIKETHROUGH','SubscriptEditing','TrackChangesEditing','commandName','FORMAT_UNDERLINE','StrikethroughEditing','bold','editor','BoldEditing','locale','code','selection','*Format:*\x20%0','format','slice','FORMAT_SUPERSCRIPT','ItalicEditing','subscript','forceValue','has'];(function(_0x56fc68,_0x5ddc5f){const _0x1bbd08=function(_0x8c6ab1){while(--_0x8c6ab1){_0x56fc68['push'](_0x56fc68['shift']());}};_0x1bbd08(++_0x5ddc5f);}(_0x5ddc,0x1d1));const _0x1bbd=function(_0x56fc68,_0x5ddc5f){_0x56fc68=_0x56fc68-0x0;let _0x1bbd08=_0x5ddc[_0x56fc68];return _0x1bbd08;};import{Plugin as _0x3a4404}from'ckeditor5/src/core';import{getTranslation as _0x34376c}from'../utils/common-translations';import{getRangesWithAttribute as _0x54be5b}from'./utils';const Ht=[_0x1bbd('0xd'),_0x1bbd('0x15'),'UnderlineEditing',_0x1bbd('0x1f'),_0x1bbd('0xa'),_0x1bbd('0x6'),_0x1bbd('0x0')];export default class U extends _0x3a4404{[_0x1bbd('0x2')](){const _0x32628b=this[_0x1bbd('0xc')],_0x44267e=_0x32628b[_0x1bbd('0x1c')],_0x1353c2=_0x32628b['plugins'][_0x1bbd('0x22')](_0x1bbd('0x7')),_0x32f109=_0x32628b[_0x1bbd('0xe')];for(const _0x3b1361 of Ht){if(!_0x32628b[_0x1bbd('0x1')][_0x1bbd('0x18')](_0x3b1361))continue;const _0x50b977=_0x3b1361[_0x1bbd('0x13')](0x0,-0x7)['toLowerCase'](),_0x5f4ab8=_0x32628b['commands']['get'](_0x50b977);_0x1353c2['enableCommand'](_0x50b977,(_0x943c6f,_0x4c82b4={})=>{const _0x4d2a52=_0x44267e[_0x1bbd('0x4')][_0x1bbd('0x10')];if(_0x4d2a52['isCollapsed'])return void _0x943c6f(_0x4c82b4);const _0x145a00=void 0x0!==_0x4c82b4[_0x1bbd('0x17')]?_0x4c82b4[_0x1bbd('0x17')]:!_0x5f4ab8['value'];_0x44267e[_0x1bbd('0x3')](()=>{const _0x5f25ee=Array['from'](_0x4d2a52['getRanges']());for(const _0x302d5b of _0x5f25ee){const _0x2f717d=_0x145a00?[_0x302d5b]:_0x54be5b(_0x50b977,_0x302d5b,_0x44267e);for(const _0x140e18 of _0x2f717d)_0x1353c2['markInlineFormat'](_0x140e18,{'commandName':_0x50b977,'commandParams':[{'forceValue':_0x145a00}]});}});});}function _0x168971(_0x4f8868,_0x1f796a){_0x1353c2['_descriptionFactory'][_0x1bbd('0x1a')](_0x254874=>{const {data:_0x41bf9c}=_0x254874;if(_0x41bf9c&&_0x41bf9c[_0x1bbd('0x8')]===_0x4f8868)return _0x41bf9c['commandParams'][0x0]['forceValue']?{'type':'format','content':_0x34376c(_0x32f109,_0x1bbd('0x11'),_0x1f796a)}:{'type':_0x1bbd('0x12'),'content':_0x34376c(_0x32f109,'*Remove\x20format:*\x20%0',_0x1f796a)};});}_0x168971(_0x1bbd('0xb'),_0x34376c(_0x32f109,_0x1bbd('0x1b'))),_0x168971('italic',_0x34376c(_0x32f109,_0x1bbd('0x20'))),_0x168971(_0x1bbd('0x1d'),_0x34376c(_0x32f109,_0x1bbd('0x9'))),_0x168971(_0x1bbd('0xf'),_0x34376c(_0x32f109,_0x1bbd('0x19'))),_0x168971(_0x1bbd('0x1e'),_0x34376c(_0x32f109,_0x1bbd('0x5'))),_0x168971(_0x1bbd('0x16'),_0x34376c(_0x32f109,'FORMAT_SUBSCRIPT')),_0x168971(_0x1bbd('0x21'),_0x34376c(_0x32f109,_0x1bbd('0x14')));}}
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')));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2c1f=['schema','enableCommand','plugins','parent','model','markBlockFormat','document','_descriptionFactory','has','from','filter','editor','checkChild','forceValue','selection','commandParams','getSelectedBlocks','ELEMENT_BLOCK_QUOTE','BlockQuoteEditing','blockQuote','value','format','name','afterInit','change'];(function(_0x3b99d3,_0x2c1fc4){const _0x23feb4=function(_0x22bbeb){while(--_0x22bbeb){_0x3b99d3['push'](_0x3b99d3['shift']());}};_0x23feb4(++_0x2c1fc4);}(_0x2c1f,0x15e));const _0x23fe=function(_0x3b99d3,_0x2c1fc4){_0x3b99d3=_0x3b99d3-0x0;let _0x23feb4=_0x2c1f[_0x3b99d3];return _0x23feb4;};import{Plugin as _0x20e5a2}from'ckeditor5/src/core';import{getTranslation as _0x298213}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x348397}from'../utils/utils';export default class j extends _0x20e5a2{[_0x23fe('0x17')](){const _0x4e1860=this[_0x23fe('0xb')],_0x26a61b=_0x4e1860['locale'];if(!_0x4e1860[_0x23fe('0x2')][_0x23fe('0x8')](_0x23fe('0x12')))return;const _0x21c616=_0x4e1860[_0x23fe('0x2')]['get']('TrackChangesEditing'),_0x27b078=this['editor']['commands']['get']('blockQuote');_0x21c616[_0x23fe('0x1')](_0x23fe('0x13'),(_0x96a3f2,_0x4018aa={})=>{const _0x5f37da=this[_0x23fe('0xb')][_0x23fe('0x4')][_0x23fe('0x6')][_0x23fe('0xe')],_0x38caef=_0x4018aa&&void 0x0!==_0x4018aa[_0x23fe('0xd')]?_0x4018aa[_0x23fe('0xd')]:!_0x27b078[_0x23fe('0x14')];let _0x57e686=[];if(_0x38caef){const _0x1c5742=Array[_0x23fe('0x9')](_0x5f37da[_0x23fe('0x10')]())[_0x23fe('0xa')](_0x543a5a=>Kt(_0x543a5a)||function(_0x504dda,_0x2369dc){const _0x4a9f06=_0x2369dc[_0x23fe('0xc')](_0x504dda[_0x23fe('0x3')],_0x23fe('0x13')),_0x4e25ce=_0x2369dc[_0x23fe('0xc')](['$root',_0x23fe('0x13')],_0x504dda);return _0x4a9f06&&_0x4e25ce;}(_0x543a5a,this['editor'][_0x23fe('0x4')][_0x23fe('0x0')]));_0x57e686=_0x348397(_0x1c5742,_0x4e1860[_0x23fe('0x4')]);}else{const _0x46f89c=Array[_0x23fe('0x9')](_0x5f37da[_0x23fe('0x10')]())[_0x23fe('0xa')](_0x293f61=>Kt(_0x293f61));_0x57e686=_0x348397(_0x46f89c,_0x4e1860[_0x23fe('0x4')]);}_0x4e1860[_0x23fe('0x4')][_0x23fe('0x18')](()=>{for(const _0x2413ae of _0x57e686)_0x21c616[_0x23fe('0x5')](_0x2413ae,{'commandName':'blockQuote','commandParams':[{'forceValue':_0x38caef}]});});}),_0x21c616[_0x23fe('0x7')]['registerDescriptionCallback'](_0x3c9e6d=>{const {data:_0x5d89a5}=_0x3c9e6d;if(_0x5d89a5&&_0x23fe('0x13')==_0x5d89a5['commandName']){const _0x25102d=_0x298213(_0x26a61b,_0x23fe('0x11'));return _0x5d89a5[_0x23fe('0xf')][0x0][_0x23fe('0xd')]?{'type':_0x23fe('0x15'),'content':_0x298213(_0x26a61b,'*Format:*\x20%0',_0x25102d)}:{'type':_0x23fe('0x15'),'content':_0x298213(_0x26a61b,'*Remove\x20format:*\x20%0',_0x25102d)};}});}}function Kt(_0x1bea9f){return _0x23fe('0x13')==_0x1bea9f[_0x23fe('0x3')][_0x23fe('0x16')];}
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'];}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x552c=['get','plugins','afterInit','TrackChangesEditing','ckbox'];(function(_0x15766e,_0x552ca6){const _0x385e81=function(_0x16da16){while(--_0x16da16){_0x15766e['push'](_0x15766e['shift']());}};_0x385e81(++_0x552ca6);}(_0x552c,0xbe));const _0x385e=function(_0x15766e,_0x552ca6){_0x15766e=_0x15766e-0x0;let _0x385e81=_0x552c[_0x15766e];return _0x385e81;};import{Plugin as _0x1a3aa2}from'ckeditor5/src/core';export default class E extends _0x1a3aa2{[_0x385e('0x2')](){const _0x7be8ed=this['editor'];_0x7be8ed['commands'][_0x385e('0x0')](_0x385e('0x4'))&&_0x7be8ed[_0x385e('0x1')][_0x385e('0x0')](_0x385e('0x3'))['enableCommand'](_0x385e('0x4'));}}
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'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5a56=['enableCommand','afterInit','outdentCodeBlock','filter','label','parent','rootElement','find','selection','commandParams','document','forceValue','locale','registerElementLabel','has','language','languages','editor','ELEMENT_CODE_BLOCK','value','isLimit','config','getSelectedBlocks','indentCodeBlock','commands','*Format:*\x20%0','change','codeBlock','get','plugins','commandName','schema','markBlockFormat','TrackChangesEditing','formatBlock','format','_descriptionFactory','blockName','checkChild'];(function(_0x492084,_0x5a567f){const _0x15f28f=function(_0x4eed71){while(--_0x4eed71){_0x492084['push'](_0x492084['shift']());}};_0x15f28f(++_0x5a567f);}(_0x5a56,0x197));const _0x15f2=function(_0x492084,_0x5a567f){_0x492084=_0x492084-0x0;let _0x15f28f=_0x5a56[_0x492084];return _0x15f28f;};import{Plugin as _0x2acc1d}from'ckeditor5/src/core';import{getTranslation as _0x184140}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x3c42d0}from'../utils/utils';export default class O extends _0x2acc1d{[_0x15f2('0x17')](){const _0x541b0e=this[_0x15f2('0x0')];if(!_0x541b0e['plugins'][_0x15f2('0x24')]('CodeBlock'))return;const _0x85fe5b=_0x541b0e[_0x15f2('0xc')][_0x15f2('0xb')](_0x15f2('0x10')),_0x510191=_0x541b0e[_0x15f2('0x22')],_0x36d37e=_0x541b0e[_0x15f2('0x4')][_0x15f2('0xb')](_0x15f2('0xa'))[_0x15f2('0x26')],_0x1748e4=_0x541b0e[_0x15f2('0x7')]['get']('codeBlock');_0x85fe5b[_0x15f2('0x16')](_0x15f2('0x6')),_0x85fe5b[_0x15f2('0x16')](_0x15f2('0x18')),_0x85fe5b[_0x15f2('0x16')]('codeBlock',(_0x1d23b5,_0x21bb1d={})=>{const _0x57fbd0=_0x541b0e['model'],_0x28e45f=_0x541b0e['model'][_0x15f2('0x20')][_0x15f2('0x1e')],_0x4e255d=_0x21bb1d&&void 0x0!==_0x21bb1d[_0x15f2('0x21')]?_0x21bb1d[_0x15f2('0x21')]:!_0x1748e4[_0x15f2('0x2')];let _0x51d6b3;_0x21bb1d[_0x15f2('0x25')]||(_0x21bb1d[_0x15f2('0x25')]=_0x36d37e[0x0][_0x15f2('0x25')]),_0x51d6b3=_0x4e255d?Array['from'](_0x28e45f[_0x15f2('0x5')]())[_0x15f2('0x19')](_0x35d260=>to(_0x35d260)||function(_0x30f184,_0x505bcf){if(_0x30f184['is'](_0x15f2('0x1c'))||_0x505bcf[_0x15f2('0x3')](_0x30f184))return!0x1;return _0x505bcf[_0x15f2('0x15')](_0x30f184[_0x15f2('0x1b')],_0x15f2('0xa'));}(_0x35d260,_0x57fbd0[_0x15f2('0xe')])):Array['from'](_0x28e45f[_0x15f2('0x5')]())['filter'](_0x6bb75b=>to(_0x6bb75b));const _0x1978ee=_0x3c42d0(_0x51d6b3,_0x57fbd0);_0x57fbd0[_0x15f2('0x9')](()=>{for(const _0x5d6e47 of _0x1978ee)_0x85fe5b[_0x15f2('0xf')](_0x5d6e47,{'commandName':_0x15f2('0xa'),'commandParams':[{..._0x21bb1d,'forceValue':_0x4e255d}],'formatGroupId':_0x15f2('0x14')});});}),(_0x85fe5b[_0x15f2('0x13')][_0x15f2('0x23')]('codeBlock',_0x380afa=>_0x184140(_0x510191,_0x15f2('0x1'),_0x380afa)),_0x85fe5b[_0x15f2('0x13')]['registerDescriptionCallback'](_0x1eeddf=>{const _0x49de10=_0x510191['t'],{type:_0x47f8ca,data:_0x221e90}=_0x1eeddf;if(_0x15f2('0x11')==_0x47f8ca&&_0x221e90&&_0x15f2('0xa')==_0x221e90[_0x15f2('0xd')]){const _0x5ba55a=_0x221e90[_0x15f2('0x1f')][0x0][_0x15f2('0x25')],_0x5916d3=_0x49de10(_0x36d37e[_0x15f2('0x1d')](_0x35315a=>_0x35315a[_0x15f2('0x25')]===_0x5ba55a)[_0x15f2('0x1a')]);return _0x221e90[_0x15f2('0x1f')][0x0][_0x15f2('0x21')]?{'type':'format','content':_0x184140(_0x510191,_0x15f2('0x8'),_0x184140(_0x510191,_0x15f2('0x1'),0x1)+'\x20('+_0x5916d3+')')}:{'type':_0x15f2('0x12'),'content':_0x184140(_0x510191,'*Remove\x20format:*\x20%0',_0x184140(_0x510191,_0x15f2('0x1'),0x1))};}}));}}function to(_0x56beb8){return _0x15f2('0xa')==_0x56beb8['name'];}
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')];}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3b33=['editor','has','plugins','get','TrackChangesEditing','enableCommand'];(function(_0x19b9e7,_0x3b336f){const _0x20ffa8=function(_0x4b3e87){while(--_0x4b3e87){_0x19b9e7['push'](_0x19b9e7['shift']());}};_0x20ffa8(++_0x3b336f);}(_0x3b33,0xd0));const _0x20ff=function(_0x19b9e7,_0x3b336f){_0x19b9e7=_0x19b9e7-0x0;let _0x20ffa8=_0x3b33[_0x19b9e7];return _0x20ffa8;};import{Plugin as _0x257cd6}from'ckeditor5/src/core';export default class F extends _0x257cd6{['afterInit'](){const _0x523bee=this[_0x20ff('0x2')];if(!_0x523bee['plugins'][_0x20ff('0x3')]('CommentsEditing'))return;_0x523bee[_0x20ff('0x4')][_0x20ff('0x5')](_0x20ff('0x0'))[_0x20ff('0x1')]('addCommentThread');}}
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'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4ab9=['document','buffer','high','end','unlock','enableCommand','removeMarker:suggestion:deletion','isCollapsed','data','getFirstRange','createRange','setSelection','delete','$graveyard','merge','uiElement','unbindElementFromMarkerName','showSuggestionHighlights','selection','TrackChangesEditing','markerName','lock','bind','modifySelection','rootName','batch','root','forward','get','editing','model','start','requires','deleteForward','detach','createSelection','mapper','remove','downcastDispatcher','editor','plugins'];(function(_0x2af69c,_0x4ab928){const _0x24dc68=function(_0x1afff4){while(--_0x1afff4){_0x2af69c['push'](_0x2af69c['shift']());}};_0x24dc68(++_0x4ab928);}(_0x4ab9,0x118));const _0x24dc=function(_0x2af69c,_0x4ab928){_0x2af69c=_0x2af69c-0x0;let _0x24dc68=_0x4ab9[_0x2af69c];return _0x24dc68;};import{Plugin as _0x4c4f65}from'ckeditor5/src/core';import{LiveRange as _0x2fcecc}from'ckeditor5/src/engine';import{Delete as _0xd6dffc}from'ckeditor5/src/typing';import{downcastSplitMergeMarker as _0x101877}from'./utils';export default class G extends _0x4c4f65{static get[_0x24dc('0x27')](){return[_0xd6dffc];}['init'](){const _0xe36b4c=this[_0x24dc('0x5')],_0x503630=_0xe36b4c[_0x24dc('0x6')][_0x24dc('0x23')](_0x24dc('0x1a'));_0x503630[_0x24dc('0xc')](_0x24dc('0x13'));const _0x5437c7=_0xe36b4c['commands'][_0x24dc('0x23')](_0x24dc('0x28'));_0x503630[_0x24dc('0xc')](_0x24dc('0x28'),(_0x27b289,_0x19e5e1={})=>{const _0x2b0381=_0xe36b4c['model'][_0x24dc('0x1')](_0xe36b4c[_0x24dc('0x25')][_0x24dc('0x7')][_0x24dc('0x19')]);_0x2b0381[_0x24dc('0xe')]&&_0xe36b4c[_0x24dc('0x25')][_0x24dc('0x1e')](_0x2b0381,{'direction':_0x24dc('0x22'),'unit':_0x19e5e1['unit']});const _0x3d92d2=_0x2b0381[_0x24dc('0x10')](),_0x372318=_0x2fcecc['fromRange'](_0x3d92d2);let _0x51eec7;_0x27b289(_0x19e5e1),_0x51eec7=_0x24dc('0x14')==_0x372318[_0x24dc('0x21')][_0x24dc('0x1f')]?_0xe36b4c['model']['createRange'](_0x3d92d2[_0x24dc('0x26')]):_0xe36b4c[_0x24dc('0x25')][_0x24dc('0x11')](_0x372318[_0x24dc('0x26')],_0x372318[_0x24dc('0xa')]),_0x372318[_0x24dc('0x0')](),_0xe36b4c[_0x24dc('0x25')]['enqueueChange'](_0x5437c7['buffer'][_0x24dc('0x20')],_0x466146=>{_0x5437c7[_0x24dc('0x8')][_0x24dc('0x1c')](),_0x466146[_0x24dc('0x12')](_0x466146[_0x24dc('0x11')](_0x51eec7[_0x24dc('0xa')])),_0x5437c7['buffer'][_0x24dc('0xb')]();});}),_0xe36b4c[_0x24dc('0x24')]['downcastDispatcher']['on']('addMarker:suggestion:deletion',_0x101877(_0xe36b4c,_0x24dc('0x15')),{'priority':_0x24dc('0x9')}),_0xe36b4c[_0x24dc('0xf')][_0x24dc('0x4')]['on']('addMarker:suggestion:deletion',(_0x455a98,_0x15279f,_0x3d7e97)=>{_0x3d7e97['options'][_0x24dc('0x18')]&&_0x101877(_0xe36b4c,_0x24dc('0x15'),{'showActiveMarker':!0x1})[_0x24dc('0x1d')](this)(_0x455a98,_0x15279f,_0x3d7e97);},{'priority':_0x24dc('0x9')}),_0xe36b4c['editing']['downcastDispatcher']['on'](_0x24dc('0xd'),(_0x54fb33,_0xd932c3,_0x3bd5b1)=>{const _0x3c0fbd=_0x3bd5b1[_0x24dc('0x2')]['markerNameToElements'](_0xd932c3[_0x24dc('0x1b')]);if(_0x3c0fbd)for(const _0x2abedc of _0x3c0fbd)_0x2abedc['is'](_0x24dc('0x16'))&&(_0x3bd5b1[_0x24dc('0x2')][_0x24dc('0x17')](_0x2abedc,_0xd932c3[_0x24dc('0x1b')]),_0x3bd5b1['writer'][_0x24dc('0x3')](_0x2abedc));},{'priority':_0x24dc('0x9')});}}
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')});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4d4c=['*Indent:*\x20%0','getAttribute','*Change\x20to:*\x20%0','createPositionAt','outdentList','indentList','documentList','DocumentListEditing','hasAttribute','change','listItemId','format','mergeListItemBackward','detach','registerDescriptionCallback','nodeAfter','enableCommand','locale','listIndent','bulletedList','push','numberedList','value','registerCustomCallback','deletion','length','getSelectedBlocks','expandListBlocksToCompleteList','registerElementLabel','schema','_descriptionFactory','from','commandName','nextSibling','next','commandParams','selection','multipleBlocks','slice','*Merge:*\x20%0','createRange','afterInit','markMultiRangeBlockFormat','after','*Outdent:*\x20%0','ELEMENT_','getFirstRange','splitListItemAfter','editor','refresh','*Format:*\x20insert\x20into\x20%0','start','findIndex','formatBlock','listType','accept','splitListItemBefore','commands','forceValue','model','document','has','execute','markBlockFormat','add','isObject','*Format:*\x20remove\x20from\x20%0','_LIST','plugins','DocumentListUtils','before','ELEMENT_NUMBERED_LIST','toUpperCase','get','ELEMENT_LIST_ITEM','mergeListItemForward'];(function(_0x8208e3,_0x4d4cc3){const _0x2f4f3d=function(_0xc2e75c){while(--_0xc2e75c){_0x8208e3['push'](_0x8208e3['shift']());}};_0x2f4f3d(++_0x4d4cc3);}(_0x4d4c,0x86));const _0x2f4f=function(_0x8208e3,_0x4d4cc3){_0x8208e3=_0x8208e3-0x0;let _0x2f4f3d=_0x4d4c[_0x8208e3];return _0x2f4f3d;};import{Plugin as _0x57a434}from'ckeditor5/src/core';import{getTranslation as _0x3fc98d}from'../utils/common-translations';import{LiveRange as _0x48d4bd}from'ckeditor5/src/engine';export default class L extends _0x57a434{[_0x2f4f('0x3b')](){const _0x407a3f=this[_0x2f4f('0x42')];if(!_0x407a3f[_0x2f4f('0xa')][_0x2f4f('0x3')](_0x2f4f('0x19')))return;const _0x56702e=_0x407a3f[_0x2f4f('0x23')],_0x37d9de=_0x407a3f[_0x2f4f('0xa')]['get']('TrackChangesEditing'),_0x27d08c=_0x407a3f[_0x2f4f('0xa')][_0x2f4f('0xf')](_0x2f4f('0xb'));function _0x1f91a7(_0x3d366f){return()=>{const _0x12d52d=_0x407a3f[_0x2f4f('0x4b')][_0x2f4f('0xf')](_0x3d366f);let _0x1603ac=Array[_0x2f4f('0x31')](_0x407a3f[_0x2f4f('0x1')][_0x2f4f('0x2')]['selection']['getSelectedBlocks']());if(_0xa65504(_0x3d366f)){_0x1603ac=_0x27d08c[_0x2f4f('0x2d')](_0x1603ac);const _0xd7b425=[];for(const _0x587a89 of _0x1603ac)_0x27d08c['isFirstBlockOfListItem'](_0x587a89)&&_0xd7b425[_0x2f4f('0x26')](_0x587a89);_0x1603ac=_0xd7b425;}_0x407a3f[_0x2f4f('0x1')]['change'](()=>{_0x37d9de[_0x2f4f('0x3c')](_0x1603ac,{'commandName':_0x3d366f,'commandParams':[{'forceValue':!_0x12d52d[_0x2f4f('0x28')]}],'formatGroupId':'listType'},[],_0x2f4f('0x18'));});};}function _0x4653f4(_0x18e62b){return()=>{const _0x349d40=function(_0x290982){let _0x16f7ff=Array['from'](_0x290982);const _0x3ae25c=_0x16f7ff[_0x2f4f('0x46')](_0x964537=>!_0x964537[_0x2f4f('0x1a')](_0x2f4f('0x1c')));return _0x3ae25c>-0x1&&(_0x16f7ff=_0x16f7ff[_0x2f4f('0x38')](0x0,_0x3ae25c)),_0x16f7ff;}(_0x407a3f[_0x2f4f('0x1')][_0x2f4f('0x2')][_0x2f4f('0x36')][_0x2f4f('0x2c')]()),_0x2bcf1a=_0x349d40[_0x349d40[_0x2f4f('0x2b')]-0x1],_0x2c17bc=_0x407a3f[_0x2f4f('0x1')][_0x2f4f('0x2f')][_0x2f4f('0x7')](_0x2bcf1a)?_0x2f4f('0x3d'):'end',_0x8d832b=_0x407a3f[_0x2f4f('0x1')][_0x2f4f('0x3a')](_0x407a3f[_0x2f4f('0x1')][_0x2f4f('0x15')](_0x349d40[0x0],'before'),_0x407a3f[_0x2f4f('0x1')][_0x2f4f('0x15')](_0x2bcf1a,_0x2c17bc));_0x407a3f['model']['change'](()=>{_0x37d9de[_0x2f4f('0x5')](_0x8d832b,{'commandName':_0x18e62b,'commandParams':[],'formatGroupId':'listType'},function(_0x54b7ad){const _0x5d9244=new Set();for(const _0x35d737 of _0x54b7ad){let _0x174717=_0x35d737[_0x2f4f('0x33')];for(;_0x174717&&_0x174717[_0x2f4f('0x13')](_0x2f4f('0x24'))>_0x35d737[_0x2f4f('0x13')](_0x2f4f('0x24'));)_0x5d9244[_0x2f4f('0x6')](_0x174717),_0x174717=_0x174717['nextSibling'];}return Array['from'](_0x5d9244);}(_0x349d40));});};}function _0x5af1ee(_0x2db4f6){return()=>{const _0x3355c7=_0x407a3f[_0x2f4f('0x1')][_0x2f4f('0x2')][_0x2f4f('0x36')]['getSelectedBlocks']()[_0x2f4f('0x34')]()[_0x2f4f('0x28')],_0x4bee88=_0x407a3f[_0x2f4f('0x1')]['createPositionAt'](_0x3355c7,_0x2f4f('0xc')),_0x5f1dcb=_0x407a3f[_0x2f4f('0x1')]['createPositionAt'](_0x3355c7,0x0),_0x368411=_0x407a3f['model'][_0x2f4f('0x3a')](_0x4bee88,_0x5f1dcb);_0x407a3f[_0x2f4f('0x1')][_0x2f4f('0x1b')](()=>{_0x37d9de['markBlockFormat'](_0x368411,{'commandName':_0x2db4f6,'commandParams':[],'formatGroupId':'listType'});});};}function _0xa65504(_0x544a9f){const _0x3011bf=_0x407a3f['commands'][_0x2f4f('0xf')](_0x2f4f('0x25'))[_0x2f4f('0x28')],_0x5a0b50=_0x407a3f['commands']['get'](_0x2f4f('0x27'))['value'];return'numberedList'===_0x544a9f?_0x3011bf:_0x5a0b50;}_0x37d9de['enableCommand'](_0x2f4f('0x27'),_0x1f91a7(_0x2f4f('0x27'))),_0x37d9de[_0x2f4f('0x22')]('bulletedList',_0x1f91a7(_0x2f4f('0x25'))),_0x37d9de[_0x2f4f('0x22')]('indentList',_0x4653f4('indentList')),_0x37d9de[_0x2f4f('0x22')](_0x2f4f('0x16'),_0x4653f4(_0x2f4f('0x16'))),_0x37d9de['enableCommand'](_0x2f4f('0x41'),_0x5af1ee(_0x2f4f('0x41'))),_0x37d9de[_0x2f4f('0x22')](_0x2f4f('0x4a'),_0x5af1ee('splitListItemBefore')),_0x37d9de['_descriptionFactory'][_0x2f4f('0x2e')](function(_0x62c835){const _0x47993b=!_0x407a3f[_0x2f4f('0x1')]['schema'][_0x2f4f('0x7')](_0x62c835),_0x30c06a=_0x62c835['previousSibling'],_0x3feda9=_0x62c835[_0x2f4f('0x33')],_0x3fd839=_0x62c835[_0x2f4f('0x13')](_0x2f4f('0x1c')),_0x411093=!_0x30c06a||_0x30c06a['getAttribute'](_0x2f4f('0x1c'))!==_0x3fd839,_0x235973=!_0x3feda9||_0x3feda9[_0x2f4f('0x13')](_0x2f4f('0x1c'))!==_0x3fd839;return _0x47993b&&Boolean(_0x3fd839)&&_0x411093&&_0x235973;},_0x2f146f=>_0x3fc98d(_0x56702e,_0x2f4f('0x10'),_0x2f146f)),_0x37d9de[_0x2f4f('0x30')][_0x2f4f('0x20')](function(_0x14a83c){const {data:_0x4c3829}=_0x14a83c;if(!_0x4c3829)return;let _0x2e5ee8,_0x3f757c,_0x2b3603,_0x4a2363;switch(_0x4c3829['commandName']){case'bulletedList':_0x2b3603=_0x4c3829[_0x2f4f('0x35')][0x0][_0x2f4f('0x0')],_0x4a2363=_0xa65504(_0x4c3829[_0x2f4f('0x32')]),_0x2e5ee8=_0x2b3603?_0x2f4f('0x44'):_0x2f4f('0x8'),_0x4a2363&&(_0x2e5ee8=_0x2f4f('0x14')),_0x3f757c={'type':_0x2f4f('0x1d'),'content':_0x3fc98d(_0x56702e,_0x2e5ee8,_0x3fc98d(_0x56702e,'ELEMENT_BULLETED_LIST'))};break;case'numberedList':_0x2b3603=_0x4c3829[_0x2f4f('0x35')][0x0][_0x2f4f('0x0')],_0x4a2363=_0xa65504(_0x4c3829[_0x2f4f('0x32')]),_0x2e5ee8=_0x2b3603?'*Format:*\x20insert\x20into\x20%0':_0x2f4f('0x8'),_0x4a2363&&(_0x2e5ee8=_0x2f4f('0x14')),_0x3f757c={'type':'format','content':_0x3fc98d(_0x56702e,_0x2e5ee8,_0x3fc98d(_0x56702e,_0x2f4f('0xd')))};break;case _0x2f4f('0x17'):_0x2e5ee8=_0x2f4f('0x12'),_0x3f757c={'type':_0x2f4f('0x1d'),'content':_0x3fc98d(_0x56702e,_0x2e5ee8,_0x3fc98d(_0x56702e,_0x2f4f('0x10')))};break;case'outdentList':_0x2e5ee8=function(_0x4bf0eb){const _0x288154=_0x4bf0eb['getFirstRange']();let _0x1c4a89=_0x288154[_0x2f4f('0x45')]['nodeAfter'];for(;_0x1c4a89&&_0x288154['containsItem'](_0x1c4a89);){if(_0x1c4a89[_0x2f4f('0x13')](_0x2f4f('0x24'))>0x0)return!0x1;_0x1c4a89=_0x1c4a89['nextSibling'];}return!0x0;}(_0x14a83c)?_0x3fc98d(_0x56702e,_0x2f4f('0x8'),_0x3fc98d(_0x56702e,function(_0x4f0e04){const _0x590f17=_0x4f0e04[_0x2f4f('0x40')]()[_0x2f4f('0x45')][_0x2f4f('0x21')];return _0x2f4f('0x3f')+_0x590f17[_0x2f4f('0x13')](_0x2f4f('0x48'))[_0x2f4f('0xe')]()+_0x2f4f('0x9');}(_0x14a83c))):_0x3fc98d(_0x56702e,_0x2f4f('0x3e'),_0x3fc98d(_0x56702e,_0x2f4f('0x10'))),_0x3f757c={'type':'format','content':_0x2e5ee8};break;case _0x2f4f('0x1e'):case _0x2f4f('0x11'):!0x1===_0x4c3829[_0x2f4f('0x37')]&&(_0x2e5ee8=_0x2f4f('0x39'),_0x3f757c={'type':_0x2f4f('0x2a'),'content':_0x3fc98d(_0x56702e,_0x2e5ee8,_0x3fc98d(_0x56702e,_0x2f4f('0x10')))});}return _0x3f757c;}),_0x37d9de['_suggestionFactory'][_0x2f4f('0x29')](_0x2f4f('0x47'),_0x2f4f('0x18'),_0x2f4f('0x49'),function(_0xb9e9b9,_0x1efada){const _0x126986=[];for(let _0x11b7d9 of _0xb9e9b9)_0x11b7d9[_0x2f4f('0x45')][_0x2f4f('0x21')]===_0x11b7d9['end']['parent']&&(_0x11b7d9=_0x407a3f['model'][_0x2f4f('0x3a')](_0x407a3f[_0x2f4f('0x1')][_0x2f4f('0x15')](_0x11b7d9[_0x2f4f('0x45')][_0x2f4f('0x21')],0x0))),_0x126986[_0x2f4f('0x26')](_0x11b7d9);_0x407a3f[_0x2f4f('0x1')]['change'](_0x3e6670=>{const _0x17df35=_0x407a3f[_0x2f4f('0x1')]['document'][_0x2f4f('0x36')],_0x3456ba=Array[_0x2f4f('0x31')](_0x17df35['getRanges']())['map'](_0x518674=>_0x48d4bd['fromRange'](_0x518674));_0x3e6670['setSelection'](_0x126986),_0x407a3f[_0x2f4f('0x4b')][_0x2f4f('0xf')](_0x1efada[_0x2f4f('0x32')])[_0x2f4f('0x43')](),_0x1efada[_0x2f4f('0x35')][_0x2f4f('0x26')]({'forceDefaultExecution':!0x0}),_0x407a3f[_0x2f4f('0x4')](_0x1efada[_0x2f4f('0x32')],..._0x1efada[_0x2f4f('0x35')]),_0x3e6670['setSelection'](_0x3456ba);for(const _0x2e89ee of _0x3456ba)_0x2e89ee[_0x2f4f('0x1f')]();});});}}
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')]();});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3555=['has','locale','DocumentListPropertiesUtils','startIndex','handleListReversedCommand','isFirstBlockOfListItem','type','format','selection','getAttribute','listReversed','markMultiRangeBlockFormat','*Format:*\x20set\x20order\x20to\x20regular','toUpperCase','ELEMENT_','list.properties','handleDescriptions','getListTypeFromListStyleType','afterInit','handleListStyleCommand','listStart','listStyle','plugins','document','*Format:*\x20set\x20order\x20to\x20reversed','DocumentListUtils','commandParams','numbered','_getTranslationKeyForListStyle','expandListBlocksToCompleteList','handleListStartCommand','commandName','from','DocumentListPropertiesEditing','editor','enableCommand','styles','model','TrackChangesEditing','get','_getSuggestionBlocksForListStyle','isListItemBlock','config','length','bind','reversed','*Format:*\x20set\x20start\x20index\x20to\x20%0','filter','change','_getSuggestionBlocks'];(function(_0x369161,_0x3555da){const _0x573d42=function(_0xc9cfaa){while(--_0xc9cfaa){_0x369161['push'](_0x369161['shift']());}};_0x573d42(++_0x3555da);}(_0x3555,0x149));const _0x573d=function(_0x369161,_0x3555da){_0x369161=_0x369161-0x0;let _0x573d42=_0x3555[_0x369161];return _0x573d42;};import{Plugin as _0x1bcd6a}from'ckeditor5/src/core';import{getTranslation as _0x365adc}from'../utils/common-translations';export default class St extends _0x1bcd6a{[_0x573d('0x27')](){if(!this[_0x573d('0x5')][_0x573d('0x2b')][_0x573d('0x15')](_0x573d('0x4')))return;const _0x8dea46=this[_0x573d('0x5')][_0x573d('0xd')]['get'](_0x573d('0x24')),_0x35c238=this[_0x573d('0x5')][_0x573d('0x2b')][_0x573d('0xa')](_0x573d('0x9'));_0x8dea46[_0x573d('0x7')]&&_0x35c238[_0x573d('0x6')](_0x573d('0x2a'),this['handleListStyleCommand']['bind'](this)),_0x8dea46['reversed']&&_0x35c238[_0x573d('0x6')](_0x573d('0x1f'),this[_0x573d('0x19')][_0x573d('0xf')](this)),_0x8dea46['startIndex']&&_0x35c238[_0x573d('0x6')]('listStart',this[_0x573d('0x1')]['bind'](this)),_0x35c238['_descriptionFactory']['registerDescriptionCallback'](this[_0x573d('0x25')]['bind'](this));}[_0x573d('0x28')](_0x1c1350,_0x16bfe3={}){const _0x5932b9=this[_0x573d('0x5')][_0x573d('0x2b')]['get'](_0x573d('0x9')),_0x5b56d2=this['_getSuggestionBlocksForListStyle']();this[_0x573d('0x5')][_0x573d('0x8')][_0x573d('0x13')](()=>{_0x5932b9[_0x573d('0x20')](_0x5b56d2,{'commandName':'listStyle','commandParams':[{'type':_0x16bfe3['type']}],'formatGroupId':_0x573d('0x2a')});});}[_0x573d('0x19')](_0x5d321b,_0x38e4d3={}){const _0x445c64=this['editor'][_0x573d('0x2b')]['get'](_0x573d('0x9')),_0x3d44be=this['editor'][_0x573d('0x2b')][_0x573d('0xa')](_0x573d('0x2e')),_0x56610c=this[_0x573d('0x14')](_0x1bc3ba=>_0x3d44be[_0x573d('0xc')](_0x1bc3ba)&&'numbered'===_0x1bc3ba[_0x573d('0x1e')]('listType'));null!==_0x56610c&&this[_0x573d('0x5')]['model'][_0x573d('0x13')](()=>{_0x445c64['markMultiRangeBlockFormat'](_0x56610c,{'commandName':_0x573d('0x1f'),'commandParams':[{'reversed':_0x38e4d3[_0x573d('0x10')]}],'formatGroupId':_0x573d('0x1f')});});}[_0x573d('0x1')](_0x35af9e,_0x806aef={}){const _0x5ebae6=this[_0x573d('0x5')][_0x573d('0x2b')]['get'](_0x573d('0x9')),_0x5ccb7c=this[_0x573d('0x5')]['plugins'][_0x573d('0xa')]('DocumentListUtils'),_0x58c8be=this['_getSuggestionBlocks'](_0x328954=>_0x5ccb7c[_0x573d('0xc')](_0x328954)&&_0x573d('0x30')===_0x328954[_0x573d('0x1e')]('listType'));null!==_0x58c8be&&this[_0x573d('0x5')]['model'][_0x573d('0x13')](()=>{_0x5ebae6[_0x573d('0x20')](_0x58c8be,{'commandName':'listStart','commandParams':[{'startIndex':_0x806aef[_0x573d('0x18')]}],'formatGroupId':_0x573d('0x29')});});}[_0x573d('0x25')](_0x3d5569){const _0x31fc4=this['editor'][_0x573d('0x16')],{data:_0x439978}=_0x3d5569;if(!_0x439978)return;let _0x3c5e10,_0x3d79ad;switch(_0x439978[_0x573d('0x2')]){case _0x573d('0x2a'):_0x3c5e10='*Change\x20to:*\x20%0',_0x3d79ad={'type':_0x573d('0x1c'),'content':_0x365adc(_0x31fc4,_0x3c5e10,_0x365adc(_0x31fc4,this[_0x573d('0x31')](_0x439978['commandParams'][0x0][_0x573d('0x1b')])))};break;case _0x573d('0x1f'):_0x3c5e10=_0x439978[_0x573d('0x2f')][0x0][_0x573d('0x10')]?_0x573d('0x2d'):_0x573d('0x21'),_0x3d79ad={'type':_0x573d('0x1c'),'content':_0x365adc(_0x31fc4,_0x3c5e10)};break;case _0x573d('0x29'):_0x3c5e10=_0x573d('0x11'),_0x3d79ad={'type':_0x573d('0x1c'),'content':_0x365adc(_0x31fc4,_0x3c5e10,_0x439978[_0x573d('0x2f')][0x0][_0x573d('0x18')])};}return _0x3d79ad;}[_0x573d('0xb')](){const _0x35774d=this['editor'][_0x573d('0x2b')][_0x573d('0xa')]('DocumentListUtils');let _0x3054d3=Array['from'](this[_0x573d('0x5')]['model'][_0x573d('0x2c')][_0x573d('0x1d')]['getSelectedBlocks']());return _0x3054d3['push'](..._0x35774d['expandListBlocksToCompleteList'](_0x3054d3)),_0x3054d3=[...new Set(_0x3054d3)],_0x3054d3;}['_getSuggestionBlocks'](_0x12d734){const _0x1b5ecd=this[_0x573d('0x5')]['plugins']['get'](_0x573d('0x2e'));let _0x4e8362=Array[_0x573d('0x3')](this[_0x573d('0x5')][_0x573d('0x8')]['document'][_0x573d('0x1d')]['getSelectedBlocks']())[_0x573d('0x12')](_0x12d734);if(!_0x4e8362[_0x573d('0xe')])return null;_0x4e8362=_0x1b5ecd[_0x573d('0x0')](_0x4e8362);const _0xacce6c=[];for(const _0x473741 of _0x4e8362)_0x1b5ecd[_0x573d('0x1a')](_0x473741)&&_0xacce6c['push'](_0x473741);return _0xacce6c;}[_0x573d('0x31')](_0x4bbfcf){return _0x573d('0x23')+this[_0x573d('0x5')][_0x573d('0x2b')]['get'](_0x573d('0x17'))[_0x573d('0x26')](_0x4bbfcf)[_0x573d('0x22')]()+'_LIST_'+_0x4bbfcf[_0x573d('0x22')]()['replace'](/-/g,'_');}}
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,'_');}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x96e0=['parent','markerName','mapper','change','writer','model','downcastDispatcher','markerNameToElements','getFirstRange','enableCommand','options','nextSibling','hasClass','requires','createPositionAt','editing','document','setSelection','commands','high','fire','get','afterExecute','selection','TrackChangesEditing','addMarker:suggestion:insertion','ck-suggestion-marker-split','bind','enterBlock','unbindElementFromMarkerName','data','fromRange','removeMarker:suggestion:insertion','createRange','split','markInsertion','showSuggestionHighlights'];(function(_0x1841e0,_0x96e0ff){const _0x1f97f7=function(_0x14927c){while(--_0x14927c){_0x1841e0['push'](_0x1841e0['shift']());}};_0x1f97f7(++_0x96e0ff);}(_0x96e0,0xc9));const _0x1f97=function(_0x1841e0,_0x96e0ff){_0x1841e0=_0x1841e0-0x0;let _0x1f97f7=_0x96e0[_0x1841e0];return _0x1f97f7;};import{Plugin as _0x543ec8}from'ckeditor5/src/core';import{Enter as _0x487d7e}from'ckeditor5/src/enter';import{LiveRange as _0x32468c}from'ckeditor5/src/engine';import{downcastSplitMergeMarker as _0x2a5b3f}from'./utils';export default class q extends _0x543ec8{static get[_0x1f97('0x22')](){return[_0x487d7e];}['init'](){const _0x418fd2=this['editor'],_0x5551f3=_0x418fd2['plugins'][_0x1f97('0x5')](_0x1f97('0x8')),_0x70380c=_0x418fd2[_0x1f97('0x2')]['get']('enter');_0x5551f3[_0x1f97('0x1e')]('enter',()=>{_0x418fd2[_0x1f97('0x1a')][_0x1f97('0x18')](_0x342edc=>{const _0x210c1d=_0x418fd2[_0x1f97('0x1a')][_0x1f97('0x0')][_0x1f97('0x7')],_0x9e1a7f=_0x210c1d['getFirstPosition'](),_0x976545=_0x32468c[_0x1f97('0xf')](_0x210c1d[_0x1f97('0x1d')]());if(_0x70380c[_0x1f97('0xc')](_0x342edc)){const _0x4b4793=_0x418fd2[_0x1f97('0x1a')][_0x1f97('0x23')](_0x9e1a7f[_0x1f97('0x15')][_0x1f97('0x20')],0x0),_0x8ddc7c=_0x342edc[_0x1f97('0x11')](_0x9e1a7f,_0x4b4793);_0x5551f3[_0x1f97('0x13')](_0x8ddc7c);}else _0x342edc[_0x1f97('0x1')](_0x342edc[_0x1f97('0x11')](_0x976545['end']));_0x976545['detach'](),_0x70380c[_0x1f97('0x4')](_0x1f97('0x6'),{'writer':_0x342edc});});}),_0x418fd2['editing']['downcastDispatcher']['on'](_0x1f97('0x9'),_0x2a5b3f(_0x418fd2,_0x1f97('0x12')),{'priority':_0x1f97('0x3')}),_0x418fd2[_0x1f97('0x24')][_0x1f97('0x1b')]['on'](_0x1f97('0x10'),(_0x6011b8,_0x8c7655,_0x370780)=>{const _0x5710ab=_0x370780[_0x1f97('0x17')][_0x1f97('0x1c')](_0x8c7655[_0x1f97('0x16')]);if(_0x5710ab)for(const _0x3531e3 of _0x5710ab)_0x3531e3[_0x1f97('0x21')](_0x1f97('0xa'))&&(_0x370780['mapper'][_0x1f97('0xd')](_0x3531e3,_0x8c7655[_0x1f97('0x16')]),_0x370780[_0x1f97('0x19')]['remove'](_0x3531e3));},{'priority':_0x1f97('0x3')}),_0x418fd2[_0x1f97('0xe')][_0x1f97('0x1b')]['on']('addMarker:suggestion:insertion',(_0x4b69f5,_0x238ea5,_0x56b307)=>{_0x56b307[_0x1f97('0x1f')][_0x1f97('0x14')]&&_0x2a5b3f(_0x418fd2,_0x1f97('0x12'),{'showActiveMarker':!0x1})[_0x1f97('0xb')](this)(_0x4b69f5,_0x238ea5,_0x56b307);},{'priority':_0x1f97('0x3')});}}
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')});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xd151=['filter','plugins','createPositionAt','item','getRange','_isInDeletionRange','string','FindAndReplaceEditing','getIntersection','start','find','suggestion:deletion','editor','replaceAll','findByTextCallback','end','model','markers','has','handleFindCommand','bind','TrackChangesEditing','enableCommand','afterInit'];(function(_0x11d54b,_0xd151f9){const _0x42394d=function(_0x31a1c3){while(--_0x31a1c3){_0x11d54b['push'](_0x11d54b['shift']());}};_0x42394d(++_0xd151f9);}(_0xd151,0xae));const _0x4239=function(_0x11d54b,_0xd151f9){_0x11d54b=_0x11d54b-0x0;let _0x42394d=_0xd151[_0x11d54b];return _0x42394d;};import{Plugin as _0x4e8e91}from'ckeditor5/src/core';export default class z extends _0x4e8e91{[_0x4239('0x11')](){if(!this['editor'][_0x4239('0x13')][_0x4239('0xc')](_0x4239('0x1')))return;const _0x412aad=this['editor']['plugins']['get'](_0x4239('0xf'));_0x412aad[_0x4239('0x10')](_0x4239('0x4'),this[_0x4239('0xd')][_0x4239('0xe')](this)),_0x412aad['enableCommand']('findNext'),_0x412aad[_0x4239('0x10')]('findPrevious'),_0x412aad[_0x4239('0x10')]('replace'),_0x412aad[_0x4239('0x10')](_0x4239('0x7'));}['handleFindCommand'](_0x15d97b,_0x4d0571,_0x90ea51={}){const _0x2541b3=this['editor'][_0x4239('0x13')]['get']('FindAndReplaceUtils');void 0x0!==_0x90ea51&&_0x15d97b(_0x42f555=>(_0x4239('0x0')==typeof _0x4d0571?_0x2541b3[_0x4239('0x8')](_0x4d0571,_0x90ea51):_0x4d0571)(_0x42f555)[_0x4239('0x12')](_0x1984fb=>!0x1===this[_0x4239('0x17')](_0x1984fb,_0x42f555[_0x4239('0x15')])),_0x90ea51);}[_0x4239('0x17')](_0x59cae6,_0x59a49b){const _0x42d6d0=this[_0x4239('0x6')][_0x4239('0xa')]['createRange'](this['editor']['model'][_0x4239('0x14')](_0x59a49b,_0x59cae6[_0x4239('0x3')]),this['editor'][_0x4239('0xa')][_0x4239('0x14')](_0x59a49b,_0x59cae6[_0x4239('0x9')]));for(const _0x20540f of this[_0x4239('0x6')][_0x4239('0xa')][_0x4239('0xb')]['getMarkersGroup'](_0x4239('0x5')))if(null!==_0x42d6d0[_0x4239('0x2')](_0x20540f[_0x4239('0x16')]()))return!0x0;return!0x1;}}
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;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x82e3=['from','*Reset\x20font\x20color*','FontSizeEditing','*Reset\x20font\x20family*','fontSize.options','isCollapsed','*Reset\x20font\x20size*','has','toLowerCase','*Set\x20font\x20family:*\x20%0','locale','model','fontBackgroundColor','selection','_enableCommand','find','fontColor','*Reset\x20font\x20background\x20color*','format','TrackChangesEditing','editor','FontColorEditing','config','change','document','fontSize','normalizeSizeOptions','afterInit','markInlineFormat','commandName','FontFamilyEditing','registerDescriptionCallback','plugins','get','commandParams','title','value','trim','label','FontBackgroundColorEditing'];(function(_0x4c8598,_0x82e349){const _0x285eff=function(_0x4a5253){while(--_0x4a5253){_0x4c8598['push'](_0x4c8598['shift']());}};_0x285eff(++_0x82e349);}(_0x82e3,0x1a5));const _0x285e=function(_0x4c8598,_0x82e349){_0x4c8598=_0x4c8598-0x0;let _0x285eff=_0x82e3[_0x4c8598];return _0x285eff;};import{Plugin as _0x350928}from'ckeditor5/src/core';import{normalizeColorOptions as _0x23cf03}from'ckeditor5/src/ui';import{getRangesWithAttribute as _0x133022}from'./utils';import{getTranslation as _0x333cfd}from'../utils/common-translations';const Jt=[{'pluginName':_0x285e('0x15'),'commandName':'fontSize'},{'pluginName':_0x285e('0x9'),'commandName':'fontFamily'},{'pluginName':_0x285e('0x0'),'commandName':'fontColor'},{'pluginName':_0x285e('0x12'),'commandName':_0x285e('0x1f')}];export default class H extends _0x350928{[_0x285e('0x6')](){const _0x214d3f=this['editor'][_0x285e('0x1d')];for(const {pluginName:_0x3f8e94,commandName:_0x3e408e}of Jt)this[_0x285e('0x27')][_0x285e('0xb')][_0x285e('0x1a')](_0x3f8e94)&&this['_enableCommand'](_0x3e408e);this[_0x285e('0x27')][_0x285e('0xb')][_0x285e('0xc')]('TrackChangesEditing')['_descriptionFactory'][_0x285e('0xa')](_0x2390e7=>{const _0x5028ab=_0x214d3f['t'],{data:_0x5bc575}=_0x2390e7;if(null!=_0x5bc575){if(_0x285e('0x4')==_0x5bc575[_0x285e('0x8')]){const _0x4726f4=_0x5bc575[_0x285e('0xd')][0x0][_0x285e('0xf')];if(_0x4726f4){const _0x576e90=_0x5028ab(this[_0x285e('0x27')][_0x285e('0xb')][_0x285e('0xc')]('FontSize')[_0x285e('0x5')](this['editor'][_0x285e('0x1')]['get'](_0x285e('0x17')))[_0x285e('0x22')](_0x50d53e=>_0x50d53e[_0x285e('0x1e')]==_0x4726f4)[_0x285e('0xe')])[_0x285e('0x1b')]();return{'type':_0x285e('0x25'),'content':_0x333cfd(_0x214d3f,'*Set\x20font\x20size:*\x20%0',_0x576e90)};}return{'type':'format','content':_0x333cfd(_0x214d3f,_0x285e('0x19'))};}if('fontFamily'==_0x5bc575[_0x285e('0x8')]){const _0x48edae=_0x5bc575[_0x285e('0xd')][0x0][_0x285e('0xf')];return _0x48edae?{'type':'format','content':_0x333cfd(_0x214d3f,_0x285e('0x1c'),_0x48edae)}:{'type':_0x285e('0x25'),'content':_0x333cfd(_0x214d3f,_0x285e('0x16'))};}if(_0x285e('0x23')==_0x5bc575[_0x285e('0x8')]){const _0xf0ff85=_0x5bc575[_0x285e('0xd')][0x0]['value'];if(_0xf0ff85){const _0x53bae3=_0x23cf03(this[_0x285e('0x27')][_0x285e('0x1')][_0x285e('0xc')]('fontColor.colors'))['find'](_0x2afb90=>_0x2afb90[_0x285e('0x1e')]==_0xf0ff85);let _0x383379=_0xf0ff85,_0x444b82='';return _0x53bae3&&(_0x383379=_0x53bae3['label'],_0x444b82=_0x5028ab(_0x383379)[_0x285e('0x1b')]()),{'type':_0x285e('0x25'),'content':_0x333cfd(_0x214d3f,'*Set\x20font\x20color:*\x20%0',_0x444b82)['trim'](),'color':{'value':_0xf0ff85,'title':_0x444b82||_0x383379}};}return{'type':_0x285e('0x25'),'content':_0x333cfd(_0x214d3f,_0x285e('0x14'))};}if(_0x285e('0x1f')==_0x5bc575[_0x285e('0x8')]){const _0x4f26a0=_0x5bc575[_0x285e('0xd')][0x0][_0x285e('0xf')];if(_0x4f26a0){const _0x13ad34=_0x23cf03(this['editor'][_0x285e('0x1')][_0x285e('0xc')]('fontBackgroundColor.colors'))[_0x285e('0x22')](_0x5ea44a=>_0x5ea44a[_0x285e('0x1e')]==_0x4f26a0);let _0x15b12c=_0x4f26a0,_0x4a5766='';return _0x13ad34&&(_0x15b12c=_0x13ad34[_0x285e('0x11')],_0x4a5766=_0x5028ab(_0x15b12c)[_0x285e('0x1b')]()),{'type':_0x285e('0x25'),'content':_0x333cfd(_0x214d3f,'*Set\x20font\x20background\x20color:*\x20%0',_0x4a5766)[_0x285e('0x10')](),'color':{'value':_0x4f26a0,'title':_0x4a5766||_0x15b12c}};}return{'type':'format','content':_0x333cfd(_0x214d3f,_0x285e('0x24'))};}}});}[_0x285e('0x21')](_0x35dc8f){const _0xe23dd0=this[_0x285e('0x27')];_0xe23dd0[_0x285e('0xb')][_0x285e('0xc')](_0x285e('0x26'))['enableCommand'](_0x35dc8f,(_0x4976eb,_0x5e87b7={})=>{const _0x464e22=_0xe23dd0[_0x285e('0x1e')][_0x285e('0x3')][_0x285e('0x20')],_0x3b782d=_0x5e87b7[_0x285e('0xf')];_0x464e22[_0x285e('0x18')]?_0x4976eb(_0x5e87b7):_0xe23dd0[_0x285e('0x1e')][_0x285e('0x2')](()=>{const _0x464e76=Array[_0x285e('0x13')](_0x464e22['getRanges']());for(const _0xfd8741 of _0x464e76){const _0x4bfe8f=_0x3b782d?[_0xfd8741]:_0x133022(_0x35dc8f,_0xfd8741,_0xe23dd0[_0x285e('0x1e')]);for(const _0x52178c of _0x4bfe8f)_0xe23dd0[_0x285e('0xb')][_0x285e('0xc')](_0x285e('0x26'))[_0x285e('0x7')](_0x52178c,{'commandName':_0x35dc8f,'commandParams':[{'value':_0x3b782d}]});}});});}}
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}]});}});});}}
@@ -0,0 +1,13 @@
1
+ /**
2
+ * @module track-changes/integrations/formatpainter
3
+ */
4
+ import { Plugin } from 'ckeditor5/src/core';
5
+ /**
6
+ * Provides track changes plugin integration for the Format Painter feature.
7
+ */
8
+ export default class TrackChangesFormatPainter extends Plugin {
9
+ /**
10
+ * @inheritDoc
11
+ */
12
+ afterInit(): void;
13
+ }
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2016 - 2023, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ const _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+')';}