@ckeditor/ckeditor5-track-changes 39.0.2 → 40.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 (179) hide show
  1. package/LICENSE.md +3 -3
  2. package/README.md +1 -1
  3. package/build/track-changes.js +2 -2
  4. package/build/translations/ar.js +1 -1
  5. package/build/translations/az.js +1 -1
  6. package/build/translations/bg.js +1 -1
  7. package/build/translations/bn.js +1 -1
  8. package/build/translations/ca.js +1 -1
  9. package/build/translations/cs.js +1 -1
  10. package/build/translations/da.js +1 -1
  11. package/build/translations/de.js +1 -1
  12. package/build/translations/el.js +1 -1
  13. package/build/translations/en-au.js +1 -1
  14. package/build/translations/es.js +1 -1
  15. package/build/translations/et.js +1 -1
  16. package/build/translations/fi.js +1 -1
  17. package/build/translations/fr.js +1 -1
  18. package/build/translations/gl.js +1 -1
  19. package/build/translations/he.js +1 -1
  20. package/build/translations/hi.js +1 -1
  21. package/build/translations/hr.js +1 -1
  22. package/build/translations/hu.js +1 -1
  23. package/build/translations/id.js +1 -1
  24. package/build/translations/it.js +1 -1
  25. package/build/translations/ja.js +1 -1
  26. package/build/translations/ko.js +1 -1
  27. package/build/translations/lt.js +1 -1
  28. package/build/translations/lv.js +1 -1
  29. package/build/translations/ms.js +1 -1
  30. package/build/translations/nl.js +1 -1
  31. package/build/translations/no.js +1 -1
  32. package/build/translations/pl.js +1 -1
  33. package/build/translations/pt-br.js +1 -1
  34. package/build/translations/pt.js +1 -1
  35. package/build/translations/ro.js +1 -1
  36. package/build/translations/ru.js +1 -1
  37. package/build/translations/sk.js +1 -1
  38. package/build/translations/sq.js +1 -1
  39. package/build/translations/sr-latn.js +1 -1
  40. package/build/translations/sr.js +1 -1
  41. package/build/translations/sv.js +1 -1
  42. package/build/translations/th.js +1 -1
  43. package/build/translations/tk.js +1 -1
  44. package/build/translations/tr.js +1 -1
  45. package/build/translations/tt.js +1 -1
  46. package/build/translations/uk.js +1 -1
  47. package/build/translations/ur.js +1 -1
  48. package/build/translations/vi.js +1 -1
  49. package/build/translations/zh-cn.js +1 -1
  50. package/build/translations/zh.js +1 -1
  51. package/lang/contexts.json +20 -1
  52. package/lang/translations/ar.po +76 -0
  53. package/lang/translations/az.po +76 -0
  54. package/lang/translations/bg.po +76 -0
  55. package/lang/translations/bn.po +76 -0
  56. package/lang/translations/ca.po +76 -0
  57. package/lang/translations/cs.po +76 -0
  58. package/lang/translations/da.po +76 -0
  59. package/lang/translations/de.po +76 -0
  60. package/lang/translations/el.po +76 -0
  61. package/lang/translations/en-au.po +76 -0
  62. package/lang/translations/en.po +76 -0
  63. package/lang/translations/es.po +76 -0
  64. package/lang/translations/et.po +76 -0
  65. package/lang/translations/fi.po +76 -0
  66. package/lang/translations/fr.po +76 -0
  67. package/lang/translations/gl.po +76 -0
  68. package/lang/translations/he.po +76 -0
  69. package/lang/translations/hi.po +76 -0
  70. package/lang/translations/hr.po +76 -0
  71. package/lang/translations/hu.po +76 -0
  72. package/lang/translations/id.po +76 -0
  73. package/lang/translations/it.po +76 -0
  74. package/lang/translations/ja.po +76 -0
  75. package/lang/translations/ko.po +76 -0
  76. package/lang/translations/lt.po +76 -0
  77. package/lang/translations/lv.po +76 -0
  78. package/lang/translations/ms.po +76 -0
  79. package/lang/translations/nl.po +76 -0
  80. package/lang/translations/no.po +76 -0
  81. package/lang/translations/pl.po +76 -0
  82. package/lang/translations/pt-br.po +94 -18
  83. package/lang/translations/pt.po +76 -0
  84. package/lang/translations/ro.po +76 -0
  85. package/lang/translations/ru.po +76 -0
  86. package/lang/translations/sk.po +76 -0
  87. package/lang/translations/sq.po +76 -0
  88. package/lang/translations/sr-latn.po +76 -0
  89. package/lang/translations/sr.po +76 -0
  90. package/lang/translations/sv.po +76 -0
  91. package/lang/translations/th.po +76 -0
  92. package/lang/translations/tk.po +76 -0
  93. package/lang/translations/tr.po +76 -0
  94. package/lang/translations/tt.po +76 -0
  95. package/lang/translations/uk.po +76 -0
  96. package/lang/translations/ur.po +76 -0
  97. package/lang/translations/vi.po +76 -0
  98. package/lang/translations/zh-cn.po +76 -0
  99. package/lang/translations/zh.po +76 -0
  100. package/package.json +3 -3
  101. package/src/commands/acceptsuggestioncommand.js +1 -1
  102. package/src/commands/discardsuggestioncommand.js +1 -1
  103. package/src/commands/executeonallsuggestionscommand.js +1 -1
  104. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  105. package/src/commands/trackchangescommand.js +1 -1
  106. package/src/index.d.ts +1 -1
  107. package/src/integrations/aiassistant.d.ts +17 -0
  108. package/src/integrations/aiassistant.js +23 -0
  109. package/src/integrations/alignment.js +1 -1
  110. package/src/integrations/basicstyles.js +1 -1
  111. package/src/integrations/blockquote.js +1 -1
  112. package/src/integrations/ckbox.js +1 -1
  113. package/src/integrations/codeblock.js +1 -1
  114. package/src/integrations/comments.js +1 -1
  115. package/src/integrations/deletecommand.js +1 -1
  116. package/src/integrations/documentlist.js +1 -1
  117. package/src/integrations/documentlistproperties.js +1 -1
  118. package/src/integrations/entercommand.js +1 -1
  119. package/src/integrations/findandreplace.d.ts +1 -1
  120. package/src/integrations/findandreplace.js +1 -1
  121. package/src/integrations/font.js +1 -1
  122. package/src/integrations/formatpainter.js +1 -1
  123. package/src/integrations/heading.js +1 -1
  124. package/src/integrations/highlight.js +1 -1
  125. package/src/integrations/horizontalline.js +1 -1
  126. package/src/integrations/htmlembed.js +1 -1
  127. package/src/integrations/image.js +1 -1
  128. package/src/integrations/imagereplace.d.ts +0 -6
  129. package/src/integrations/imagereplace.js +1 -1
  130. package/src/integrations/imagestyle.d.ts +17 -0
  131. package/src/integrations/imagestyle.js +23 -0
  132. package/src/integrations/importword.js +1 -1
  133. package/src/integrations/indent.js +1 -1
  134. package/src/integrations/inputcommand.js +1 -1
  135. package/src/integrations/link.js +1 -1
  136. package/src/integrations/list.js +1 -1
  137. package/src/integrations/listproperties.js +1 -1
  138. package/src/integrations/mediaembed.js +1 -1
  139. package/src/integrations/mention.js +1 -1
  140. package/src/integrations/pagebreak.js +1 -1
  141. package/src/integrations/paragraph.js +1 -1
  142. package/src/integrations/removeformat.js +1 -1
  143. package/src/integrations/restrictededitingmode.js +1 -1
  144. package/src/integrations/shiftentercommand.js +1 -1
  145. package/src/integrations/standardeditingmode.js +1 -1
  146. package/src/integrations/style.d.ts +0 -1
  147. package/src/integrations/style.js +1 -1
  148. package/src/integrations/table.js +1 -1
  149. package/src/integrations/tablecaption.js +1 -1
  150. package/src/integrations/tableclipboard.js +1 -1
  151. package/src/integrations/tablecolumnresize.js +1 -1
  152. package/src/integrations/tableheadings.js +1 -1
  153. package/src/integrations/tablemergesplit.js +1 -1
  154. package/src/integrations/tableofcontents.js +1 -1
  155. package/src/integrations/tableproperties.js +1 -1
  156. package/src/integrations/template.js +1 -1
  157. package/src/integrations/title.js +1 -1
  158. package/src/integrations/undo.js +1 -1
  159. package/src/integrations/utils.js +1 -1
  160. package/src/suggestion.d.ts +26 -11
  161. package/src/suggestion.js +1 -1
  162. package/src/suggestiondescriptionfactory.d.ts +25 -5
  163. package/src/suggestiondescriptionfactory.js +1 -1
  164. package/src/trackchanges.d.ts +5 -69
  165. package/src/trackchanges.js +1 -1
  166. package/src/trackchangesconfig.d.ts +22 -19
  167. package/src/trackchangesdata.js +1 -1
  168. package/src/trackchangesediting.d.ts +59 -2
  169. package/src/trackchangesediting.js +1 -1
  170. package/src/trackchangesui.js +1 -1
  171. package/src/ui/suggestioncontroller.js +1 -1
  172. package/src/ui/view/basesuggestionthreadview.js +1 -1
  173. package/src/ui/view/suggestionthreadview.d.ts +1 -1
  174. package/src/ui/view/suggestionthreadview.js +1 -1
  175. package/src/utils/common-translations.js +1 -1
  176. package/src/utils/utils.js +1 -1
  177. package/theme/icons/track-changes-accept.svg +1 -1
  178. package/theme/icons/track-changes-discard.svg +1 -1
  179. package/theme/icons/track-changes.svg +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1933=['ImageEditing','TrackChangesEditing','accept','change','commandParams','afterInit','handleSuggestionDescription','formatBlock','getSelectedElement','editor','Users','enableCommand','_suggestionFactory','src','plugins','author','_descriptionFactory','source','registerCustomCallback','model','getSuggestionCallback','get','commandName','getAttribute','format','discard','document','handleReplaceImageCommand','markBlockFormat','registerDescriptionCallback','replaceImageSource'];(function(_0x2190ca,_0x19332e){const _0x1ef601=function(_0x1f9185){while(--_0x1f9185){_0x2190ca['push'](_0x2190ca['shift']());}};_0x1ef601(++_0x19332e);}(_0x1933,0xf1));const _0x1ef6=function(_0x2190ca,_0x19332e){_0x2190ca=_0x2190ca-0x0;let _0x1ef601=_0x1933[_0x2190ca];return _0x1ef601;};import{Plugin as _0x5012e9}from'ckeditor5/src/core';import{getTranslation as _0x5c9693}from'../utils/common-translations';export default class Y extends _0x5012e9{[_0x1ef6('0xc')](){if(!this['editor'][_0x1ef6('0x15')]['has'](_0x1ef6('0x7')))return;const _0x77305=this[_0x1ef6('0x10')]['plugins'][_0x1ef6('0x1c')](_0x1ef6('0x8'));_0x77305[_0x1ef6('0x12')](_0x1ef6('0x6'),(_0x3c88aa,_0x2341d8)=>this[_0x1ef6('0x3')](_0x3c88aa,_0x2341d8)),_0x77305[_0x1ef6('0x13')][_0x1ef6('0x19')](_0x1ef6('0xe'),'replaceImageSource',_0x1ef6('0x9'),_0x77305[_0x1ef6('0x13')][_0x1ef6('0x1b')]('formatBlock',null,_0x1ef6('0x1'))),_0x77305[_0x1ef6('0x13')][_0x1ef6('0x19')](_0x1ef6('0xe'),_0x1ef6('0x6'),'discard',_0x77305[_0x1ef6('0x13')]['getSuggestionCallback'](_0x1ef6('0xe'),null,_0x1ef6('0x9'))),_0x77305[_0x1ef6('0x17')][_0x1ef6('0x5')](_0x209bd1=>this[_0x1ef6('0xd')](_0x209bd1));}[_0x1ef6('0x3')](_0x4645db,_0x5d4235){const _0x48ea98=this[_0x1ef6('0x10')][_0x1ef6('0x15')]['get'](_0x1ef6('0x8')),_0x240371=this['editor'][_0x1ef6('0x1a')][_0x1ef6('0x2')]['selection'][_0x1ef6('0xf')]();this[_0x1ef6('0x10')][_0x1ef6('0x1a')][_0x1ef6('0xa')](()=>{let _0x2954be=_0x240371[_0x1ef6('0x1e')](_0x1ef6('0x14'));const _0x246890=this[_0x1ef6('0x10')][_0x1ef6('0x15')][_0x1ef6('0x1c')](_0x1ef6('0x11'))['me'];for(const _0x595127 of _0x48ea98['getSuggestions']({'skipNotAttached':!0x0})){const _0x1099b3=_0x595127['getContainedElement']();if('replaceImageSource'===_0x595127['subType']&&_0x1099b3===_0x240371){_0x595127[_0x1ef6('0x16')]!==_0x246890&&_0x595127[_0x1ef6('0x1')](),_0x2954be=_0x595127['data'][_0x1ef6('0xb')][0x0][_0x1ef6('0x18')];break;}}_0x4645db(_0x5d4235),_0x48ea98[_0x1ef6('0x4')](_0x240371,{'commandName':_0x1ef6('0x6'),'commandParams':[{'source':_0x2954be}]},[],_0x1ef6('0x6'));});}[_0x1ef6('0xd')](_0x2f8279){const {data:_0x33f18c}=_0x2f8279;if(_0x33f18c&&_0x1ef6('0x6')===_0x33f18c[_0x1ef6('0x1d')]){const _0x186eee='*Format:*\x20replace\x20image\x20URL';return{'type':_0x1ef6('0x0'),'content':_0x5c9693(this[_0x1ef6('0x10')]['locale'],_0x186eee)};}}}
23
+ const _0x4378=['get','locale','registerCustomCallback','TrackChangesEditing','format','editor','getSuggestionCallback','accept','_handleLegacySuggestions','plugins','key','registerDescriptionCallback','_registerLegacyDescription','_descriptionFactory','type','_enableDefaultAttributesIntegration','_suggestionFactory','src','ImageEditing','formatBlock','discard','replaceImageSource','formatInline','*Replace\x20image\x20URL*'];(function(_0xba6dff,_0x437887){const _0x35b411=function(_0x10493b){while(--_0x10493b){_0xba6dff['push'](_0xba6dff['shift']());}};_0x35b411(++_0x437887);}(_0x4378,0x94));const _0x35b4=function(_0xba6dff,_0x437887){_0xba6dff=_0xba6dff-0x0;let _0x35b411=_0x4378[_0xba6dff];return _0x35b411;};import{Plugin as _0x2c43fb}from'ckeditor5/src/core';import{getTranslation as _0x2918b6}from'../utils/common-translations';export default class et extends _0x2c43fb{['afterInit'](){if(!this['editor'][_0x35b4('0x5')]['has'](_0x35b4('0xe')))return;const _0x213363=this[_0x35b4('0x1')][_0x35b4('0x15')],_0x5d5f1c=this[_0x35b4('0x1')]['plugins'][_0x35b4('0x14')](_0x35b4('0x17'));_0x5d5f1c[_0x35b4('0xb')](_0x35b4('0x11'),[],['src']),_0x5d5f1c[_0x35b4('0x9')][_0x35b4('0x7')](_0x21ba3e=>{if('attribute'!=_0x21ba3e[_0x35b4('0xa')])return;const {data:_0x38e526}=_0x21ba3e;return _0x38e526&&_0x35b4('0xd')==_0x38e526[_0x35b4('0x6')]?_0x38e526['newValue']&&_0x38e526['oldValue']?{'type':'format','content':_0x2918b6(_0x213363,_0x35b4('0x13'))}:{'type':_0x35b4('0x0'),'content':''}:void 0x0;}),this['_handleLegacySuggestions']();}[_0x35b4('0x4')](){const _0x1d2190=this[_0x35b4('0x1')][_0x35b4('0x5')][_0x35b4('0x14')](_0x35b4('0x17'));_0x1d2190['_suggestionFactory'][_0x35b4('0x16')](_0x35b4('0xf'),'replaceImageSource',_0x35b4('0x3'),_0x1d2190[_0x35b4('0xc')]['getSuggestionCallback'](_0x35b4('0xf'),null,_0x35b4('0x10'))),_0x1d2190[_0x35b4('0xc')][_0x35b4('0x16')](_0x35b4('0xf'),_0x35b4('0x11'),_0x35b4('0x10'),_0x1d2190[_0x35b4('0xc')][_0x35b4('0x2')](_0x35b4('0xf'),null,_0x35b4('0x3'))),this[_0x35b4('0x8')]();}[_0x35b4('0x8')](){const _0x3f6c95=this[_0x35b4('0x1')],_0x37ea6b=_0x3f6c95[_0x35b4('0x15')];_0x3f6c95['plugins']['get'](_0x35b4('0x17'))[_0x35b4('0x9')][_0x35b4('0x7')](_0x4ebf17=>{if('formatBlock'!=_0x4ebf17[_0x35b4('0xa')]&&_0x35b4('0x12')!=_0x4ebf17[_0x35b4('0xa')])return;const {data:_0x315375}=_0x4ebf17;return _0x315375&&_0x35b4('0x11')===_0x315375['commandName']?{'type':'format','content':_0x2918b6(_0x37ea6b,_0x35b4('0x13'))}:void 0x0;});}}
@@ -0,0 +1,17 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ /**
6
+ * @module track-changes/integrations/image
7
+ */
8
+ import { Plugin } from 'ckeditor5/src/core';
9
+ /**
10
+ * Provides track changes plugin integration for {@link module:image/image~Image image feature}.
11
+ */
12
+ export default class TrackChangesImageStyle extends Plugin {
13
+ /**
14
+ * @inheritDoc
15
+ */
16
+ afterInit(): void;
17
+ }
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-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 _0x3a6b=['Users','imageStylePreApply','isBlockImage','plugins','enableCommand','normalizedStyles','markBlockFormat','name','title','commands','imageTypeInline','ImageStyleEditing','isBefore','nodeBefore','end','imageCaption','*Format:*\x20%0','selection','get','change','FORMAT_SIDE_IMAGE','getSuggestion','insertion','start','_suggestionFactory','markInlineFormat','next','value','newRange','createRangeOn','imageStyle','hasSuggestion','toLowerCase','discard','forEach','discardSuggestion','setImageNaturalSizeAttributes','locale','getChangedMarkers','filter','getSuggestionCallback','editor','convertInlineImageToBlock','commandName','type','join','getFirstRange','document','nodeAfter','commandReversedParams','refresh','subType','accept','from','findIndex','_splitMarkerName','afterInit','TrackChangesEditing','commandParams','getClosestSelectedImageElement','isEqual','registerDescriptionCallback','registerCustomCallback','shouldConvertImageType','suggestion','imageStylePostApply','model','chain','_registerLegacyDescription','formatBlock','isIntersecting','getSuggestions','differ','formatInline','length'];(function(_0x2cfcae,_0x3a6b10){const _0x13aff4=function(_0x14a8ef){while(--_0x14a8ef){_0x2cfcae['push'](_0x2cfcae['shift']());}};_0x13aff4(++_0x3a6b10);}(_0x3a6b,0x121));const _0x13af=function(_0x2cfcae,_0x3a6b10){_0x2cfcae=_0x2cfcae-0x0;let _0x13aff4=_0x3a6b[_0x2cfcae];return _0x13aff4;};import{Plugin as _0x46d762}from'ckeditor5/src/core';import{uid as _0x26367a}from'ckeditor5/src/utils';import{getTranslation as _0x4bfe5c}from'../utils/common-translations';export default class nt extends _0x46d762{[_0x13af('0x43')](){const _0xee7579=this[_0x13af('0x34')];if(!_0xee7579['plugins']['has'](_0x13af('0x16')))return;const _0x18e109=_0xee7579['plugins']['get'](_0x13af('0x44')),_0x29084c=_0xee7579[_0x13af('0xe')][_0x13af('0x1d')]('ImageUtils'),_0x8ee52d={};_0x18e109[_0x13af('0xf')](_0x13af('0x29'),(_0x1c5e1d,_0x34c69f)=>{const _0x145415=_0xee7579[_0x13af('0xe')][_0x13af('0x1d')](_0x13af('0xb'))['me'],_0x3e91af=_0xee7579[_0x13af('0x14')][_0x13af('0x1d')]('imageStyle');let _0x34258a=_0x29084c[_0x13af('0x46')](_0xee7579[_0x13af('0x2')]['document'][_0x13af('0x1c')]),_0x238bf7=_0xee7579[_0x13af('0x2')][_0x13af('0x28')](_0x34258a),_0x4f52b8=_0x3e91af[_0x13af('0x26')];if(_0x4f52b8==_0x34c69f[_0x13af('0x26')])return;const _0x787c2a={'commandName':_0x13af('0x29'),'commandParams':[_0x34c69f],'formatGroupId':_0x26367a()};_0xee7579['model'][_0x13af('0x1e')](()=>{if(_0x18e109[_0x13af('0x7')]()[_0x13af('0x32')](_0x4d75a6=>_0x4d75a6['isInContent']&&_0x145415==_0x4d75a6['author']&&(_0x13af('0x5')==_0x4d75a6[_0x13af('0x37')]||_0x13af('0x9')==_0x4d75a6[_0x13af('0x37')])&&(_0x13af('0xc')==_0x4d75a6[_0x13af('0x3e')]||_0x13af('0x1')==_0x4d75a6[_0x13af('0x3e')])&&_0x4d75a6[_0x13af('0x39')]()[_0x13af('0x47')](_0x238bf7))[_0x13af('0x2d')](_0x45a8d1=>_0x18e109[_0x13af('0x2e')](_0x45a8d1['head'])),_0x34258a=_0x29084c[_0x13af('0x46')](_0xee7579[_0x13af('0x2')][_0x13af('0x3a')][_0x13af('0x1c')]),_0x238bf7=_0xee7579[_0x13af('0x2')][_0x13af('0x28')](_0x34258a),_0x3e91af[_0x13af('0x3d')](),_0xee7579['commands'][_0x13af('0x1d')](_0x13af('0x15'))['refresh'](),_0xee7579[_0x13af('0x14')][_0x13af('0x1d')]('imageTypeBlock')['refresh'](),_0x4f52b8=_0x3e91af[_0x13af('0x26')],_0x4f52b8!=_0x34c69f[_0x13af('0x26')])return _0x29084c['isInlineImage'](_0x34258a)&&_0x3e91af[_0x13af('0x4a')](_0x34c69f[_0x13af('0x26')],_0x34258a)?(_0x1c5e1d({..._0x34c69f,'setImageSizes':!0x1}),_0x34258a=_0x29084c[_0x13af('0x46')](_0xee7579[_0x13af('0x2')][_0x13af('0x3a')][_0x13af('0x1c')]),void _0x18e109[_0x13af('0x11')](_0x34258a,{..._0x787c2a,'commandReversedParams':[{'value':_0x4f52b8||null,'setImageSizes':!0x1}]},[],'imageStylePreApply')):void(_0x29084c[_0x13af('0xd')](_0x34258a)?_0x18e109[_0x13af('0x11')](_0x34258a,_0x787c2a,[],'imageStylePostApply'):_0x18e109[_0x13af('0x24')](_0x238bf7,_0x787c2a,_0x13af('0x1')));});});for(const _0x2f98d9 of _0xee7579[_0x13af('0xe')]['get'](_0x13af('0x16'))[_0x13af('0x10')])_0x8ee52d[_0x2f98d9[_0x13af('0x12')]]=_0x2f98d9[_0x13af('0x13')][_0x13af('0x2b')]();_0x18e109[_0x13af('0x23')][_0x13af('0x49')](_0x13af('0x5'),'imageStylePreApply',_0x13af('0x38'),()=>!0x1),_0x18e109['_suggestionFactory'][_0x13af('0x49')](_0x13af('0x5'),_0x13af('0x1'),_0x13af('0x38'),()=>!0x1),_0x18e109[_0x13af('0x23')][_0x13af('0x49')](_0x13af('0x9'),_0x13af('0x1'),_0x13af('0x38'),()=>!0x1),_0x18e109[_0x13af('0x23')][_0x13af('0x49')](_0x13af('0x5'),_0x13af('0xc'),_0x13af('0x3f'),([_0x2b8c52])=>{_0x29084c[_0x13af('0x2f')](_0x2b8c52['getContainedElement']());}),_0x18e109[_0x13af('0x23')][_0x13af('0x49')](_0x13af('0x5'),_0x13af('0xc'),_0x13af('0x2c'),(_0x116c57,_0x111dd0)=>{_0x18e109[_0x13af('0x23')][_0x13af('0x33')](_0x13af('0x5'),'',_0x13af('0x3f'))(_0x116c57,{'commandName':_0x111dd0[_0x13af('0x36')],'commandParams':_0x111dd0[_0x13af('0x3c')]});}),_0x18e109[_0x13af('0x23')][_0x13af('0x49')](_0x13af('0x5'),_0x13af('0xc'),_0x13af('0x3'),function(_0x5160a5,_0x11d081){if(_0x25b2c2(_0x5160a5,_0x11d081))return[_0x5160a5,_0x11d081];if(_0x25b2c2(_0x11d081,_0x5160a5))return[_0x11d081,_0x5160a5];return null;});const _0x23bbdc=[{'type':_0x13af('0x5'),'subType':'imageStylePreApply'},{'type':_0x13af('0x21'),'subType':_0x13af('0x1a')},{'type':_0x13af('0x5'),'subType':'convertInlineImageToBlock'},{'type':_0x13af('0x21'),'subType':_0x13af('0x35')}];function _0x25b2c2(_0x503324,_0x3eaaea){const _0x1471a9=_0x23bbdc[_0x13af('0x41')](({type:_0x5e060f,subType:_0x5b6bb9})=>_0x503324[_0x13af('0x37')]==_0x5e060f&&_0x503324['subType']==_0x5b6bb9),_0x28bcf7=_0x23bbdc['findIndex'](({type:_0x2f7aa1,subType:_0x55c137})=>_0x3eaaea[_0x13af('0x37')]==_0x2f7aa1&&_0x3eaaea[_0x13af('0x3e')]==_0x55c137);if(_0x1471a9<0x0||_0x28bcf7<0x0)return!0x1;const _0x9b9605=_0x503324[_0x13af('0x39')](),_0x3b2cec=_0x3eaaea['getFirstRange']();if((0x0==_0x1471a9||0x1==_0x1471a9)&&0x2==_0x28bcf7&&_0x9b9605[_0x13af('0x6')](_0x3b2cec))return!0x0;if(0x2==_0x1471a9&&0x3==_0x28bcf7){const _0x2bca28=_0x18e109['_findSuggestions'](_0x9b9605,_0x13af('0x21'))[_0x13af('0x32')](({suggestion:_0xa9f138,meta:_0x191345})=>_0x191345['isOwn']&&'convertInlineImageToBlock'==_0xa9f138[_0x13af('0x3e')]);if(_0x2bca28['length']>0x1&&_0x3b2cec[_0x13af('0x19')][_0x13af('0x47')](_0x9b9605[_0x13af('0x22')]))return!0x0;if(0x1==_0x2bca28[_0x13af('0xa')]&&(_0x9b9605[_0x13af('0x22')][_0x13af('0x47')](_0x3b2cec[_0x13af('0x19')])||_0x9b9605[_0x13af('0x19')][_0x13af('0x47')](_0x3b2cec['start'])))return!0x0;}if(0x3==_0x1471a9&&0x3==_0x28bcf7&&_0x9b9605[_0x13af('0x22')][_0x13af('0x17')](_0x3b2cec[_0x13af('0x22')])){const _0x4ffbf2=_0x9b9605[_0x13af('0x19')][_0x13af('0x3b')],_0x4e4090=_0x3b2cec['start'][_0x13af('0x18')];return _0x29084c[_0x13af('0xd')](_0x4ffbf2)&&_0x4ffbf2===_0x4e4090;}return!0x1;}_0xee7579['model'][_0x13af('0x3a')]['registerPostFixer'](()=>{let _0x4dc35e=!0x1;const _0x5b6c57=Array[_0x13af('0x40')](_0xee7579[_0x13af('0x2')]['document'][_0x13af('0x8')][_0x13af('0x31')]());for(const {name:_0xffc440,data:_0x38caaa}of _0x5b6c57){const {group:_0x585854,type:_0x33eabe,subType:_0x380736,id:_0x101229}=_0x18e109[_0x13af('0x42')](_0xffc440);if(_0x13af('0x0')==_0x585854&&_0x18e109[_0x13af('0x2a')](_0x101229)){if(_0x13af('0x5')==_0x33eabe&&(_0x13af('0xc')==_0x380736||'imageStylePostApply'==_0x380736)){const _0x327bea=_0x18e109[_0x13af('0x20')](_0x101229);if(_0x38caaa[_0x13af('0x27')]){const _0x409be9=_0x327bea[_0x13af('0x39')]()['getContainedElement']();if(_0x29084c[_0x13af('0xd')](_0x409be9))continue;_0x18e109[_0x13af('0x2e')](_0x327bea),_0x4dc35e=!0x0;}}if(_0x13af('0x21')==_0x33eabe&&_0x13af('0x1a')==_0x380736&&!_0x38caaa[_0x13af('0x27')]){const _0x3391a1=_0x18e109[_0x13af('0x20')](_0x101229);_0x3391a1[_0x13af('0x25')]&&_0x3391a1[_0x13af('0x25')]['isInContent']&&(_0x18e109[_0x13af('0x2e')](_0x3391a1[_0x13af('0x25')]),_0x4dc35e=!0x0);}}}return _0x4dc35e;}),this[_0x13af('0x4')](_0x8ee52d);}['_registerLegacyDescription'](_0x182af7){const _0x4ca67d=this['editor'],_0x14c3e1=_0x4ca67d[_0x13af('0x30')];_0x4ca67d[_0x13af('0xe')][_0x13af('0x1d')](_0x13af('0x44'))['_descriptionFactory'][_0x13af('0x48')](_0x2592f9=>{if('formatBlock'!=_0x2592f9[_0x13af('0x37')]&&_0x13af('0x9')!=_0x2592f9[_0x13af('0x37')])return;const {data:_0x2e5028}=_0x2592f9;if(!_0x2e5028||_0x13af('0x29')!=_0x2e5028[_0x13af('0x36')])return;const _0x2cc98c=_0x2e5028[_0x13af('0x45')][0x0][_0x13af('0x26')];return _0x321f9e('side'===_0x2cc98c?_0x4bfe5c(_0x14c3e1,_0x13af('0x1f')):_0x182af7[_0x2cc98c]||_0x2cc98c);function _0x321f9e(_0x1dff57){return{'type':'format','content':_0x4bfe5c(_0x14c3e1,_0x13af('0x1b'),_0x1dff57)};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4368=['bind','high','_setSuggestionData','commands','TrackChangesEditing','_handleImportedData','trackChanges','editor','lowest','dataInsert','importWord','_trackChangesExecuted','collaboration_features','enableCommand','afterInit','listenTo','get','execute','plugins','_trackChangesValueDuringImport','Users'];(function(_0x33f12e,_0x4368c3){const _0x4ff00a=function(_0x17671f){while(--_0x17671f){_0x33f12e['push'](_0x33f12e['shift']());}};_0x4ff00a(++_0x4368c3);}(_0x4368,0x13e));const _0x4ff0=function(_0x33f12e,_0x4368c3){_0x33f12e=_0x33f12e-0x0;let _0x4ff00a=_0x4368[_0x33f12e];return _0x4ff00a;};import{Plugin as _0x225e4a}from'ckeditor5/src/core';export default class Z extends _0x225e4a{constructor(_0x3f8a7d){super(_0x3f8a7d),this[_0x4ff0('0x10')]=!0x1,this['_trackChangesExecuted']=!0x1;}[_0x4ff0('0xb')](){const _0x34b67c=this['editor'],_0x440b71=_0x34b67c['commands']['get'](_0x4ff0('0x7')),_0x50c313=_0x34b67c[_0x4ff0('0x0')][_0x4ff0('0xd')](_0x4ff0('0x3'));_0x440b71&&(_0x440b71['on']('execute',(_0x57e102,[,_0x3ea11b])=>{this[_0x4ff0('0x10')]=_0x50c313['value'],_0x3ea11b[_0x4ff0('0x9')]['track_changes']=!this[_0x4ff0('0x10')];},{'priority':_0x4ff0('0x13')}),this[_0x4ff0('0xc')](_0x440b71,_0x4ff0('0x6'),this[_0x4ff0('0x2')][_0x4ff0('0x12')](this)),this[_0x4ff0('0xc')](_0x440b71,_0x4ff0('0x6'),()=>{this['_trackChangesExecuted']&&(_0x50c313[_0x4ff0('0xe')](),this[_0x4ff0('0x8')]=!0x1);},{'priority':_0x4ff0('0x5')}),_0x34b67c[_0x4ff0('0xf')][_0x4ff0('0xd')]('TrackChangesEditing')[_0x4ff0('0xa')](_0x4ff0('0x7')));}[_0x4ff0('0x2')](_0x102dfa,_0x586722){const {suggestions:_0x228104}=_0x586722,_0x40c3de=this[_0x4ff0('0x4')][_0x4ff0('0x0')][_0x4ff0('0xd')](_0x4ff0('0x3')),_0x162952=_0x40c3de['value'];this[_0x4ff0('0x10')]!==_0x162952&&(_0x40c3de[_0x4ff0('0xe')](),this[_0x4ff0('0x8')]=!0x0),_0x228104&&_0x228104['forEach'](({id:_0x44231d,type:_0x4fd678,author:_0x210bb9,created_at:_0x5cb3f6})=>{const _0x1aa20b={'id':_0x44231d,'type':_0x4fd678,'authorId':this[_0x4ff0('0x4')][_0x4ff0('0xf')]['get'](_0x4ff0('0x11'))['me']['id'],'createdAt':new Date(),'data':null,'hasComments':!0x1,'attributes':{'@external':{'authorName':_0x210bb9,'createdAt':_0x5cb3f6?new Date(_0x5cb3f6):new Date(),'source':_0x4ff0('0x7')}}};this[_0x4ff0('0x4')][_0x4ff0('0xf')]['get'](_0x4ff0('0x1'))[_0x4ff0('0x14')](_0x1aa20b);});}}
23
+ const _0x287e=['afterInit','_handleImportedData','enableCommand','TrackChangesEditing','execute','high','collaboration_features','commands','listenTo','bind','dataInsert','get','value','_trackChangesExecuted','track_changes','Users','forEach','_trackChangesValueDuringImport','editor','importWord','plugins','trackChanges'];(function(_0x1a896f,_0x287e90){const _0x401225=function(_0x5ab5d0){while(--_0x5ab5d0){_0x1a896f['push'](_0x1a896f['shift']());}};_0x401225(++_0x287e90);}(_0x287e,0xd3));const _0x4012=function(_0x1a896f,_0x287e90){_0x1a896f=_0x1a896f-0x0;let _0x401225=_0x287e[_0x1a896f];return _0x401225;};import{Plugin as _0x43a241}from'ckeditor5/src/core';export default class st extends _0x43a241{constructor(_0x4568c6){super(_0x4568c6),this['_trackChangesValueDuringImport']=!0x1,this['_trackChangesExecuted']=!0x1;}[_0x4012('0x9')](){const _0x486ce3=this['editor'],_0x22cb21=_0x486ce3[_0x4012('0x10')]['get']('importWord'),_0x4537a7=_0x486ce3[_0x4012('0x10')][_0x4012('0x14')](_0x4012('0x8'));_0x22cb21&&(_0x22cb21['on'](_0x4012('0xd'),(_0x572df5,[,_0x368af7])=>{this[_0x4012('0x4')]=_0x4537a7[_0x4012('0x15')],_0x368af7[_0x4012('0xf')][_0x4012('0x1')]=!this['_trackChangesValueDuringImport'];},{'priority':_0x4012('0xe')}),this['listenTo'](_0x22cb21,_0x4012('0x13'),this[_0x4012('0xa')][_0x4012('0x12')](this)),this[_0x4012('0x11')](_0x22cb21,_0x4012('0x13'),()=>{this[_0x4012('0x0')]&&(_0x4537a7['execute'](),this[_0x4012('0x0')]=!0x1);},{'priority':'lowest'}),_0x486ce3[_0x4012('0x7')][_0x4012('0x14')](_0x4012('0xc'))[_0x4012('0xb')](_0x4012('0x6')));}['_handleImportedData'](_0x5e56fc,_0x444076){const {suggestions:_0x171ff8}=_0x444076,_0x161c92=this[_0x4012('0x5')][_0x4012('0x10')][_0x4012('0x14')]('trackChanges'),_0x4bb4f8=_0x161c92[_0x4012('0x15')];this[_0x4012('0x4')]!==_0x4bb4f8&&(_0x161c92[_0x4012('0xd')](),this[_0x4012('0x0')]=!0x0),_0x171ff8&&_0x171ff8[_0x4012('0x3')](({id:_0x5a44c4,type:_0x275186,author:_0x28372d,created_at:_0x494c2e})=>{const _0x5b96fa={'id':_0x5a44c4,'type':_0x275186,'authorId':this[_0x4012('0x5')][_0x4012('0x7')]['get'](_0x4012('0x2'))['me']['id'],'createdAt':new Date(),'data':null,'hasComments':!0x1,'attributes':{'@external':{'authorName':_0x28372d,'createdAt':_0x494c2e?new Date(_0x494c2e):new Date(),'source':'importWord'}}};this[_0x4012('0x5')][_0x4012('0x7')][_0x4012('0x14')]('TrackChangesEditing')['_setSuggestionData'](_0x5b96fa);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x341a=['model','IndentEditing','*Indent:*\x20%0','format','document','IndentBlock','get','schema','plugins','_descriptionFactory','getItemLabel','outdent','indent','blockIndent','getSelectedBlocks','has','registerDescriptionCallback','indentBlock','*Outdent:*\x20%0','markBlockFormat','commandName','selection','outdentBlock','filter','locale','enableCommand','editor','TrackChangesEditing'];(function(_0x55a68b,_0x341ab3){const _0x32aef1=function(_0x2f8fe0){while(--_0x2f8fe0){_0x55a68b['push'](_0x55a68b['shift']());}};_0x32aef1(++_0x341ab3);}(_0x341a,0x1cc));const _0x32ae=function(_0x55a68b,_0x341ab3){_0x55a68b=_0x55a68b-0x0;let _0x32aef1=_0x341a[_0x55a68b];return _0x32aef1;};import{Plugin as _0x6d82e9}from'ckeditor5/src/core';import{getTranslation as _0x4a3ee0}from'../utils/common-translations';export default class tt extends _0x6d82e9{['afterInit'](){const _0x115374=this[_0x32ae('0xe')],_0xb33b82=_0x115374['plugins'][_0x32ae('0x16')](_0x32ae('0xf'));_0x115374[_0x32ae('0x18')][_0x32ae('0x3')](_0x32ae('0x11'))&&(_0xb33b82['enableCommand'](_0x32ae('0x0')),_0xb33b82[_0x32ae('0xd')](_0x32ae('0x1b')));const _0x363016=_0x115374[_0x32ae('0xc')];if(_0x115374[_0x32ae('0x18')][_0x32ae('0x3')](_0x32ae('0x15'))){for(const _0x313ecc of[_0x32ae('0x5'),_0x32ae('0xa')])_0xb33b82['enableCommand'](_0x313ecc,()=>{const _0x3fef7d=Array['from'](this['editor'][_0x32ae('0x10')][_0x32ae('0x14')][_0x32ae('0x9')][_0x32ae('0x2')]())[_0x32ae('0xb')](_0x116bb2=>this[_0x32ae('0xe')][_0x32ae('0x10')][_0x32ae('0x17')]['checkAttribute'](_0x116bb2,_0x32ae('0x1')));_0x115374[_0x32ae('0x10')]['change'](()=>{for(const _0x25f7bd of _0x3fef7d)_0xb33b82[_0x32ae('0x7')](_0x25f7bd,{'commandName':_0x313ecc,'commandParams':[{'value':''}],'formatGroupId':'indentBlock'});});});_0xb33b82['_descriptionFactory'][_0x32ae('0x4')](_0x343a88=>{const {data:_0x1a2e8a}=_0x343a88;if(!_0x1a2e8a)return;if(_0x32ae('0x5')!=_0x1a2e8a[_0x32ae('0x8')]&&_0x32ae('0xa')!=_0x1a2e8a['commandName'])return;const _0x5c7ecc=_0x343a88['getItems']()[0x0],_0x25caed=_0xb33b82[_0x32ae('0x19')][_0x32ae('0x1a')](_0x5c7ecc);return'indentBlock'==_0x1a2e8a[_0x32ae('0x8')]?{'type':_0x32ae('0x13'),'content':_0x4a3ee0(_0x363016,_0x32ae('0x12'),_0x25caed)}:_0x32ae('0xa')==_0x1a2e8a[_0x32ae('0x8')]?{'type':_0x32ae('0x13'),'content':_0x4a3ee0(_0x363016,_0x32ae('0x6'),_0x25caed)}:void 0x0;});}}}
23
+ const _0x24ec=['enableCommand','has','formatBlock','*Indent:*\x20%0','type','*Outdent:*\x20%0','indentBlock','outdent','plugins','outdentBlock','getItems','editor','getItemLabel','FORMAT_INDENT','IndentBlock','IndentEditing','_enableDefaultAttributesIntegration','blockIndent','_registerLegacyDescription','registerAttributeLabel','commandName','get','_descriptionFactory','afterInit','format','TrackChangesEditing','indent','locale'];(function(_0x2b0566,_0x24ece){const _0x2b6053=function(_0x3fe03c){while(--_0x3fe03c){_0x2b0566['push'](_0x2b0566['shift']());}};_0x2b6053(++_0x24ece);}(_0x24ec,0x118));const _0x2b60=function(_0x2b0566,_0x24ece){_0x2b0566=_0x2b0566-0x0;let _0x2b6053=_0x24ec[_0x2b0566];return _0x2b6053;};import{Plugin as _0x590f60}from'ckeditor5/src/core';import{getTranslation as _0x7fdeb}from'../utils/common-translations';export default class ot extends _0x590f60{[_0x2b60('0x17')](){const _0x34e032=this[_0x2b60('0xb')],_0x205ccb=_0x34e032[_0x2b60('0x8')]['get'](_0x2b60('0x19'));if(_0x34e032[_0x2b60('0x8')][_0x2b60('0x1')](_0x2b60('0xf'))&&(_0x205ccb['enableCommand'](_0x2b60('0x1a')),_0x205ccb[_0x2b60('0x0')](_0x2b60('0x7'))),_0x34e032['plugins']['has'](_0x2b60('0xe')))for(const _0x26e81a of[_0x2b60('0x6'),_0x2b60('0x9')])_0x205ccb[_0x2b60('0x10')](_0x26e81a);const _0x538a98=_0x34e032[_0x2b60('0x1b')];_0x205ccb['_registerBlockAttribute'](_0x2b60('0x11')),_0x205ccb['_descriptionFactory'][_0x2b60('0x13')](_0x2b60('0x11'),_0x7fdeb(_0x538a98,_0x2b60('0xd'))),this[_0x2b60('0x12')]();}['_registerLegacyDescription'](){const _0x1aee43=this[_0x2b60('0xb')],_0x29df9c=_0x1aee43[_0x2b60('0x1b')],_0x1b71c0=_0x1aee43[_0x2b60('0x8')][_0x2b60('0x15')](_0x2b60('0x19'));_0x1b71c0[_0x2b60('0x16')]['registerDescriptionCallback'](_0x333ad4=>{if(_0x2b60('0x2')!=_0x333ad4[_0x2b60('0x4')])return;const {data:_0x293c66}=_0x333ad4;if(!_0x293c66)return;if('indentBlock'!=_0x293c66['commandName']&&_0x2b60('0x9')!=_0x293c66[_0x2b60('0x14')])return;const _0x5511c2=_0x333ad4[_0x2b60('0xa')]()[0x0],_0x43345c=_0x1b71c0['_descriptionFactory'][_0x2b60('0xc')](_0x5511c2);return _0x2b60('0x6')==_0x293c66[_0x2b60('0x14')]?{'type':_0x2b60('0x18'),'content':_0x7fdeb(_0x29df9c,_0x2b60('0x3'),_0x43345c)}:_0x2b60('0x9')==_0x293c66[_0x2b60('0x14')]?{'type':'format','content':_0x7fdeb(_0x29df9c,_0x2b60('0x5'),_0x43345c)}:void 0x0;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x3175=['input','requires','get','enableCommand','editor','init','TrackChangesEditing'];(function(_0xa3f951,_0x317574){var _0x3d75f1=function(_0x2af538){while(--_0x2af538){_0xa3f951['push'](_0xa3f951['shift']());}};_0x3d75f1(++_0x317574);}(_0x3175,0x8f));var _0x3d75=function(_0xa3f951,_0x317574){_0xa3f951=_0xa3f951-0x0;var _0x3d75f1=_0x3175[_0xa3f951];return _0x3d75f1;};import{Plugin as _0x477e3e}from'ckeditor5/src/core';import{Input as _0x220437}from'ckeditor5/src/typing';export default class it extends _0x477e3e{static get[_0x3d75('0x5')](){return[_0x220437];}[_0x3d75('0x2')](){this[_0x3d75('0x1')]['plugins'][_0x3d75('0x6')](_0x3d75('0x3'))[_0x3d75('0x0')](_0x3d75('0x4'));}}
23
+ var _0x33e7=['plugins','TrackChangesEditing','requires','editor','input'];(function(_0x19c603,_0x33e76d){var _0x2df956=function(_0x1c7383){while(--_0x1c7383){_0x19c603['push'](_0x19c603['shift']());}};_0x2df956(++_0x33e76d);}(_0x33e7,0xd0));var _0x2df9=function(_0x19c603,_0x33e76d){_0x19c603=_0x19c603-0x0;var _0x2df956=_0x33e7[_0x19c603];return _0x2df956;};import{Plugin as _0x450672}from'ckeditor5/src/core';import{Input as _0x425f13}from'ckeditor5/src/typing';export default class rt extends _0x450672{static get[_0x2df9('0x4')](){return[_0x425f13];}['init'](){this[_0x2df9('0x0')][_0x2df9('0x2')]['get'](_0x2df9('0x3'))['enableCommand'](_0x2df9('0x1'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5e7b=['getFirstPosition','format','plugins','enableCommand','_descriptionFactory','commandParams','isCollapsed','editor','document','getRanges','markInlineFormat','hasAttribute','commandName','afterInit','LinkEditing','getAttribute','unlink','locale','from','has','model','selection','getFirstRange','link','linkHref','*Remove\x20link*'];(function(_0x35c460,_0x5e7bfb){const _0x120cc5=function(_0x3a7f84){while(--_0x3a7f84){_0x35c460['push'](_0x35c460['shift']());}};_0x120cc5(++_0x5e7bfb);}(_0x5e7b,0x146));const _0x120c=function(_0x35c460,_0x5e7bfb){_0x35c460=_0x35c460-0x0;let _0x120cc5=_0x5e7b[_0x35c460];return _0x120cc5;};import{Plugin as _0x1f7cc5}from'ckeditor5/src/core';import{findAttributeRange as _0x5a37a0}from'ckeditor5/src/typing';import{getRangesWithAttribute as _0x4cad24}from'./utils';import{getTranslation as _0x31c665}from'../utils/common-translations';export default class et extends _0x1f7cc5{[_0x120c('0x19')](){const _0x85c61b=this[_0x120c('0x13')];if(!_0x85c61b[_0x120c('0xe')][_0x120c('0x5')](_0x120c('0x0')))return;const _0x19fa94=_0x85c61b[_0x120c('0xe')]['get']('TrackChangesEditing');_0x19fa94[_0x120c('0xf')](_0x120c('0x9'),(_0x236c41,_0xce1871)=>{const _0x54c6fd=_0x85c61b[_0x120c('0x6')][_0x120c('0x14')][_0x120c('0x7')];let _0x48d633=[];if(_0x54c6fd[_0x120c('0x12')]){if(!_0x54c6fd[_0x120c('0x17')](_0x120c('0xa')))return void _0x236c41(_0xce1871);{const _0x21571f=_0x5a37a0(_0x54c6fd[_0x120c('0xc')](),_0x120c('0xa'),_0x54c6fd[_0x120c('0x1')](_0x120c('0xa')),_0x85c61b[_0x120c('0x6')]);_0x48d633=[_0x21571f];}}else _0x48d633=Array[_0x120c('0x4')](_0x54c6fd[_0x120c('0x15')]());_0x85c61b[_0x120c('0x6')]['change'](()=>{for(const _0x1c2176 of _0x48d633)_0x19fa94[_0x120c('0x16')](_0x1c2176,{'commandName':_0x120c('0x9'),'commandParams':[_0xce1871]});});}),_0x19fa94['enableCommand'](_0x120c('0x2'),()=>{const _0x542ae0=this['editor'][_0x120c('0x6')],_0x2a33ac=_0x542ae0[_0x120c('0x14')][_0x120c('0x7')];_0x542ae0['change'](()=>{let _0x626e5a=[];if(_0x2a33ac[_0x120c('0x12')])_0x626e5a=[_0x5a37a0(_0x2a33ac[_0x120c('0xc')](),'linkHref',_0x2a33ac[_0x120c('0x1')](_0x120c('0xa')),_0x85c61b[_0x120c('0x6')])];else _0x626e5a=_0x4cad24(_0x120c('0xa'),_0x2a33ac[_0x120c('0x8')](),_0x85c61b['model']);for(const _0x5a6771 of _0x626e5a)_0x19fa94['markInlineFormat'](_0x5a6771,{'commandName':'unlink','commandParams':[]});});}),_0x19fa94[_0x120c('0x10')]['registerDescriptionCallback'](_0x43ebcf=>{const {data:_0x425ac7}=_0x43ebcf,_0x5812de=_0x85c61b[_0x120c('0x3')];if(_0x425ac7){if('link'==_0x425ac7[_0x120c('0x18')]){const _0x127849=_0x425ac7[_0x120c('0x11')][0x0];return{'type':_0x120c('0xd'),'content':_0x31c665(_0x5812de,'*Set\x20link:*\x20%0','\x22'+_0x127849+'\x22')};}return _0x120c('0x2')==_0x425ac7[_0x120c('0x18')]?{'type':'format','content':_0x31c665(_0x5812de,_0x120c('0xb'))}:void 0x0;}});}}
23
+ const _0x4ef1=['unlink','label','locale','_descriptionFactory','map','LinkEditing','link','registerDescriptionCallback','_registerLegacyDescription','commandParams','_enableDefaultAttributesIntegration','*Set\x20link:*\x20%0','editor','get','format','type','has','commandName','linkHref','toLowerCase','afterInit','TrackChangesEditing','formatInline','manualDecorators','*Remove\x20link*'];(function(_0x5062be,_0x4ef1c2){const _0x259506=function(_0x4aac84){while(--_0x4aac84){_0x5062be['push'](_0x5062be['shift']());}};_0x259506(++_0x4ef1c2);}(_0x4ef1,0x1b5));const _0x2595=function(_0x5062be,_0x4ef1c2){_0x5062be=_0x5062be-0x0;let _0x259506=_0x4ef1[_0x5062be];return _0x259506;};import{Plugin as _0x1fd3ed}from'ckeditor5/src/core';import{getTranslation as _0xba9d34}from'../utils/common-translations';export default class at extends _0x1fd3ed{[_0x2595('0x8')](){const _0x5aa657=this[_0x2595('0x0')];if(!_0x5aa657['plugins'][_0x2595('0x4')](_0x2595('0x12')))return;const _0x4f52a6=_0x5aa657['plugins']['get'](_0x2595('0x9')),_0x421269=_0x5aa657['commands'][_0x2595('0x1')](_0x2595('0x13'));_0x4f52a6[_0x2595('0x17')](_0x2595('0x13'),[_0x2595('0x6'),..._0x421269['manualDecorators'][_0x2595('0x11')](_0x179a24=>_0x179a24['id'])]),_0x4f52a6[_0x2595('0x17')](_0x2595('0xd'));for(const _0x56ac2f of _0x421269[_0x2595('0xb')])_0x4f52a6[_0x2595('0x10')]['registerAttributeLabel'](_0x56ac2f['id'],'link\x20('+_0x56ac2f[_0x2595('0xe')][_0x2595('0x7')]()+')');_0x4f52a6[_0x2595('0x10')]['registerDescriptionCallback'](_0x3f17b6=>{if('attribute'!=_0x3f17b6[_0x2595('0x3')])return;const {data:_0x3a4172}=_0x3f17b6;if(!_0x3a4172||'linkHref'!=_0x3a4172['key'])return;const _0x54c7c2=_0x3a4172['newValue'],_0x5bdc09=_0x5aa657[_0x2595('0xf')];return{'type':_0x2595('0x2'),'content':_0x54c7c2?_0xba9d34(_0x5bdc09,'*Set\x20link:*\x20%0','\x22'+_0x54c7c2+'\x22'):_0xba9d34(_0x5bdc09,'*Remove\x20link*')};}),this[_0x2595('0x15')]();}[_0x2595('0x15')](){const _0x4705cf=this[_0x2595('0x0')],_0x42f2a9=_0x4705cf['locale'];_0x4705cf['plugins'][_0x2595('0x1')](_0x2595('0x9'))[_0x2595('0x10')][_0x2595('0x14')](_0x162c55=>{if(_0x2595('0xa')!=_0x162c55['type'])return;const {data:_0x148ec4}=_0x162c55;if(_0x148ec4){if(_0x2595('0x13')==_0x148ec4['commandName']){const _0x28eb06=_0x148ec4[_0x2595('0x16')][0x0];return{'type':_0x2595('0x2'),'content':_0xba9d34(_0x42f2a9,_0x2595('0x18'),'\x22'+_0x28eb06+'\x22')};}return _0x2595('0xd')==_0x148ec4[_0x2595('0x5')]?{'type':_0x2595('0x2'),'content':_0xba9d34(_0x42f2a9,_0x2595('0xc'))}:void 0x0;}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4027=['document','getSelectedBlocks','indentList','push','markBlockFormat','registerElementLabel','*Uncheck\x20item*','List','listIndent','parent','commands','bulletedList','enableCommand','filter','slice','plugins','element','ELEMENT_NUMBERED_LIST','checkChild','checkTodoList','execute','length','ELEMENT_BULLETED_LIST','todoListChecked','createPositionAt','createRange','ELEMENT_TODO_LIST','blockName','replace','todoList','outdentList','value','TodoListEditing','model','isObject','numberedList','*Indent:*\x20%0','_selectedElements','getAttribute','from','nextSibling','format','*Change\x20to:*\x20%0','TrackChangesEditing','change','previousSibling','_descriptionFactory','listType','commandName','add','todo','listItem','numbered','afterInit','ListEditing','selection','forceValue','has','get','end','ELEMENT_LIST_ITEM','bulleted','schema'];(function(_0x57b3bd,_0x402720){const _0x30f882=function(_0x3a95ea){while(--_0x3a95ea){_0x57b3bd['push'](_0x57b3bd['shift']());}};_0x30f882(++_0x402720);}(_0x4027,0x1d4));const _0x30f8=function(_0x57b3bd,_0x402720){_0x57b3bd=_0x57b3bd-0x0;let _0x30f882=_0x4027[_0x57b3bd];return _0x30f882;};import{Plugin as _0x44a8f4}from'ckeditor5/src/core';import{getTranslation as _0x138a87}from'../utils/common-translations';export default class nt extends _0x44a8f4{[_0x30f8('0x1a')](){const _0x13b32c=this['editor'],_0x361e28=_0x13b32c['locale'];if(!_0x13b32c[_0x30f8('0x33')][_0x30f8('0x1e')](_0x30f8('0x1b')))return;const _0x1bf2e5=_0x13b32c[_0x30f8('0x33')][_0x30f8('0x1f')](_0x30f8('0x10')),_0x535484=_0x13b32c[_0x30f8('0x33')][_0x30f8('0x1e')](_0x30f8('0x5'));function _0x2b345e(_0x1919ba){return()=>{const _0x4e54b7=_0x13b32c['model']['document'][_0x30f8('0x1c')],_0xcad3d5=_0x13b32c['commands'][_0x30f8('0x1f')](_0x1919ba);if(_0xcad3d5[_0x30f8('0x4')])return void _0x13b32c[_0x30f8('0x38')]('paragraph',{});const _0x525cce=_0x1919ba[_0x30f8('0x32')](0x0,-0x4),_0x6bb103=function(_0x33f701,_0x15a9d6,_0x15d887){let _0x3cbab8=Array['from'](_0x33f701)[_0x30f8('0x31')](_0x558e7f=>function(_0xa2763a,_0x44ccca){return _0x44ccca[_0x30f8('0x36')](_0xa2763a[_0x30f8('0x2d')],_0x30f8('0x18'))&&!_0x44ccca[_0x30f8('0x7')](_0xa2763a);}(_0x558e7f,_0x15d887));_0x3cbab8=_0x3cbab8[_0x30f8('0x31')](_0x124e90=>!_0x124e90['is'](_0x30f8('0x34'),'listItem')||_0x124e90[_0x30f8('0xb')](_0x30f8('0x14'))!=_0x15a9d6);const _0x5550ef=new Set();for(const _0x4c53a7 of _0x3cbab8)_0x4c53a7['is'](_0x30f8('0x34'),_0x30f8('0x18'))?_0x5550ef['add'](ne(_0x4c53a7)):_0x5550ef[_0x30f8('0x16')](_0x4c53a7);return Array[_0x30f8('0xc')](_0x5550ef);}(_0x4e54b7[_0x30f8('0x25')](),_0x525cce,_0x13b32c[_0x30f8('0x6')][_0x30f8('0x23')]);_0x13b32c[_0x30f8('0x6')][_0x30f8('0x11')](()=>{for(const _0x4d20f3 of _0x6bb103)_0x1bf2e5['markBlockFormat'](_0x4d20f3,{'commandName':_0x1919ba,'commandParams':[{'forceValue':!_0xcad3d5[_0x30f8('0x4')]}],'formatGroupId':_0x30f8('0x0')},oe(_0x4d20f3));});};}function _0x35dd40(_0x3dba9e){return()=>{const _0x5ade42=function(_0x2571d1){let _0x3965a7=Array[_0x30f8('0xc')](_0x2571d1);const _0x3f8bff=_0x3965a7['findIndex'](_0x235e24=>'listItem'!=_0x235e24['name']);return _0x3f8bff>-0x1&&(_0x3965a7=_0x3965a7[_0x30f8('0x32')](0x0,_0x3f8bff)),_0x3965a7;}(_0x13b32c['model'][_0x30f8('0x24')][_0x30f8('0x1c')]['getSelectedBlocks']()),_0x4c0611=_0x13b32c[_0x30f8('0x6')][_0x30f8('0x3d')](_0x13b32c[_0x30f8('0x6')][_0x30f8('0x3c')](_0x5ade42[0x0],'before'),_0x13b32c[_0x30f8('0x6')][_0x30f8('0x3c')](_0x5ade42[_0x5ade42[_0x30f8('0x39')]-0x1],_0x30f8('0x20')));_0x13b32c[_0x30f8('0x6')]['change'](()=>{_0x1bf2e5['markBlockFormat'](_0x4c0611,{'commandName':_0x3dba9e,'commandParams':[],'formatGroupId':_0x30f8('0x2c')},function(_0x558d36){const _0x2eebed=new Set();for(const _0x11c3ce of _0x558d36){let _0x4c09a1=_0x11c3ce['nextSibling'];for(;_0x4c09a1&&_0x4c09a1['getAttribute'](_0x30f8('0x2c'))>_0x11c3ce[_0x30f8('0xb')](_0x30f8('0x2c'));)_0x2eebed[_0x30f8('0x16')](_0x4c09a1),_0x4c09a1=_0x4c09a1[_0x30f8('0xd')];}return Array['from'](_0x2eebed);}(_0x5ade42));});};}_0x1bf2e5[_0x30f8('0x30')]('numberedList',_0x2b345e(_0x30f8('0x8'))),_0x1bf2e5[_0x30f8('0x30')](_0x30f8('0x2f'),_0x2b345e('bulletedList')),_0x535484&&_0x1bf2e5['enableCommand'](_0x30f8('0x2'),_0x2b345e(_0x30f8('0x2'))),_0x1bf2e5['enableCommand']('indentList',_0x35dd40(_0x30f8('0x26'))),_0x1bf2e5['enableCommand']('outdentList',_0x35dd40(_0x30f8('0x3'))),_0x535484&&_0x1bf2e5[_0x30f8('0x30')](_0x30f8('0x37'),()=>{const _0x10a949=_0x13b32c[_0x30f8('0x2e')]['get']('checkTodoList'),_0x53d1c7=Array[_0x30f8('0xc')](_0x10a949[_0x30f8('0xa')]);_0x53d1c7[_0x30f8('0x31')](_0x51ad14=>_0x51ad14[_0x30f8('0xb')](_0x30f8('0x3b'))!=_0x10a949[_0x30f8('0x4')]),_0x13b32c[_0x30f8('0x6')][_0x30f8('0x11')](()=>{for(const _0x57491e of _0x53d1c7)_0x1bf2e5[_0x30f8('0x28')](_0x57491e,{'commandName':_0x30f8('0x37'),'commandParams':[{'forceValue':!_0x10a949[_0x30f8('0x4')]}]});});}),_0x1bf2e5[_0x30f8('0x13')][_0x30f8('0x29')](_0x30f8('0x18'),_0xfcbf6d=>_0x138a87(_0x361e28,_0x30f8('0x21'),_0xfcbf6d)),_0x1bf2e5[_0x30f8('0x13')]['registerDescriptionCallback'](_0x498303=>{const {data:_0x3708ad}=_0x498303;if(_0x3708ad){if(_0x30f8('0x8')==_0x3708ad[_0x30f8('0x15')]||'bulletedList'==_0x3708ad[_0x30f8('0x15')]||'todoList'==_0x3708ad[_0x30f8('0x15')])switch(_0x3708ad['commandName'][_0x30f8('0x1')](_0x30f8('0x2b'),'')){case _0x30f8('0x22'):return _0x4b4bf0(_0x138a87(_0x361e28,_0x30f8('0x3a')));case _0x30f8('0x19'):return _0x4b4bf0(_0x138a87(_0x361e28,_0x30f8('0x35')));case _0x30f8('0x17'):return _0x4b4bf0(_0x138a87(_0x361e28,_0x30f8('0x3e')));}if(_0x30f8('0x26')==_0x3708ad[_0x30f8('0x15')])return{'type':_0x30f8('0xe'),'content':_0x138a87(_0x361e28,_0x30f8('0x9'),_0x138a87(_0x361e28,_0x30f8('0x21')))};if(_0x30f8('0x3')==_0x3708ad[_0x30f8('0x15')])return{'type':'format','content':_0x138a87(_0x361e28,'*Outdent:*\x20%0',_0x138a87(_0x361e28,'ELEMENT_LIST_ITEM'))};if(_0x30f8('0x37')==_0x3708ad[_0x30f8('0x15')])return _0x3708ad['commandParams'][0x0][_0x30f8('0x1d')]?{'type':_0x30f8('0xe'),'content':_0x138a87(_0x361e28,'*Check\x20item*')}:{'type':_0x30f8('0xe'),'content':_0x138a87(_0x361e28,_0x30f8('0x2a'))};}function _0x4b4bf0(_0x245d57){return{'type':_0x30f8('0xe'),'content':_0x138a87(_0x361e28,_0x30f8('0xf'),_0x245d57)};}});}}function ne(_0x446817){const _0x4755af=_0x446817['getAttribute']('listIndent');if(0x0==_0x4755af)return _0x446817;let _0x51d21c=_0x446817;for(;_0x446817['previousSibling']&&_0x446817[_0x30f8('0x12')]['is'](_0x30f8('0x34'),_0x30f8('0x18'));){const _0x3fd70d=_0x446817[_0x30f8('0x12')]['getAttribute']('listIndent');if(_0x3fd70d==_0x4755af)_0x51d21c=_0x446817['previousSibling'];else{if(_0x3fd70d<_0x4755af)break;}_0x446817=_0x446817[_0x30f8('0x12')];}return _0x51d21c;}function oe(_0x4dd0a9){const _0x312b10=[];if(_0x4dd0a9['is'](_0x30f8('0x34'),_0x30f8('0x18'))&&_0x4dd0a9[_0x30f8('0xb')](_0x30f8('0x2c'))>0x0){let _0x19f2c6=_0x4dd0a9[_0x30f8('0xd')];for(;_0x19f2c6&&_0x30f8('0x18')==_0x19f2c6['name']&&_0x19f2c6[_0x30f8('0xb')]('listIndent')==_0x4dd0a9['getAttribute'](_0x30f8('0x2c'));)_0x312b10[_0x30f8('0x27')](_0x19f2c6),_0x19f2c6=_0x19f2c6[_0x30f8('0xd')];}return _0x312b10;}
23
+ const _0x1548=['ELEMENT_LIST_ITEM','selection','element','slice','commands','blockName','end','*Indent:*\x20%0','locale','length','value','ELEMENT_TODO_LIST','commandName','listIndent','editor','model','format','*Check\x20item*','isObject','paragraph','createRange','commandParams','filter','document','name','_selectedElements','List','ListEditing','afterInit','getAttribute','execute','TodoListEditing','previousSibling','checkTodoList','schema','has','*Outdent:*\x20%0','parent','type','todoList','_descriptionFactory','registerElementLabel','from','plugins','markBlockFormat','*Uncheck\x20item*','forceValue','indentList','ELEMENT_NUMBERED_LIST','numberedList','checkChild','add','change','nextSibling','listItem','enableCommand','getSelectedBlocks','outdentList','findIndex','formatInline','bulleted','bulletedList'];(function(_0x18798a,_0x154877){const _0x1d2f06=function(_0x14ef5a){while(--_0x14ef5a){_0x18798a['push'](_0x18798a['shift']());}};_0x1d2f06(++_0x154877);}(_0x1548,0xca));const _0x1d2f=function(_0x18798a,_0x154877){_0x18798a=_0x18798a-0x0;let _0x1d2f06=_0x1548[_0x18798a];return _0x1d2f06;};import{Plugin as _0x12c7b2}from'ckeditor5/src/core';import{getTranslation as _0x587104}from'../utils/common-translations';export default class ct extends _0x12c7b2{[_0x1d2f('0xc')](){const _0x326575=this[_0x1d2f('0x3c')],_0x1e8770=_0x326575[_0x1d2f('0x36')];if(!_0x326575['plugins'][_0x1d2f('0x13')](_0x1d2f('0xb')))return;const _0x39285a=_0x326575[_0x1d2f('0x1b')]['get']('TrackChangesEditing'),_0xc5a327=_0x326575[_0x1d2f('0x1b')]['has'](_0x1d2f('0xf'));function _0x378b47(_0x5d7a0c){return()=>{const _0x5ca021=_0x326575[_0x1d2f('0x3d')]['document'][_0x1d2f('0x2f')],_0x1b64a7=_0x326575[_0x1d2f('0x32')]['get'](_0x5d7a0c);if(_0x1b64a7['value'])return void _0x326575[_0x1d2f('0xe')](_0x1d2f('0x3'),{});const _0x545f33=_0x5d7a0c['slice'](0x0,-0x4),_0x417a7c=function(_0x3f859b,_0x3b3176,_0x49e422){let _0x44d70b=Array['from'](_0x3f859b)['filter'](_0x567ae1=>function(_0x91c5c9,_0x28fa18){return _0x28fa18[_0x1d2f('0x22')](_0x91c5c9[_0x1d2f('0x15')],_0x1d2f('0x26'))&&!_0x28fa18[_0x1d2f('0x2')](_0x91c5c9);}(_0x567ae1,_0x49e422));_0x44d70b=_0x44d70b['filter'](_0x512316=>!_0x512316['is'](_0x1d2f('0x30'),'listItem')||_0x512316[_0x1d2f('0xd')]('listType')!=_0x3b3176);const _0x96bd0f=new Set();for(const _0x2ff317 of _0x44d70b)_0x2ff317['is'](_0x1d2f('0x30'),'listItem')?_0x96bd0f['add'](ne(_0x2ff317)):_0x96bd0f[_0x1d2f('0x23')](_0x2ff317);return Array[_0x1d2f('0x1a')](_0x96bd0f);}(_0x5ca021[_0x1d2f('0x28')](),_0x545f33,_0x326575[_0x1d2f('0x3d')][_0x1d2f('0x12')]);_0x326575[_0x1d2f('0x3d')]['change'](()=>{for(const _0x3e0a8e of _0x417a7c)_0x39285a['markBlockFormat'](_0x3e0a8e,{'commandName':_0x5d7a0c,'commandParams':[{'forceValue':!_0x1b64a7[_0x1d2f('0x38')]}],'formatGroupId':_0x1d2f('0x33')},oe(_0x3e0a8e));});};}function _0x446aa3(_0x1b5508){return()=>{const _0x39b774=function(_0x24562c){let _0x4b3fab=Array['from'](_0x24562c);const _0x546a5f=_0x4b3fab[_0x1d2f('0x2a')](_0x50e428=>_0x1d2f('0x26')!=_0x50e428[_0x1d2f('0x8')]);return _0x546a5f>-0x1&&(_0x4b3fab=_0x4b3fab[_0x1d2f('0x31')](0x0,_0x546a5f)),_0x4b3fab;}(_0x326575['model'][_0x1d2f('0x7')][_0x1d2f('0x2f')][_0x1d2f('0x28')]()),_0x352c35=_0x326575['model'][_0x1d2f('0x4')](_0x326575['model']['createPositionAt'](_0x39b774[0x0],'before'),_0x326575[_0x1d2f('0x3d')]['createPositionAt'](_0x39b774[_0x39b774[_0x1d2f('0x37')]-0x1],_0x1d2f('0x34')));_0x326575[_0x1d2f('0x3d')]['change'](()=>{_0x39285a[_0x1d2f('0x1c')](_0x352c35,{'commandName':_0x1b5508,'commandParams':[],'formatGroupId':_0x1d2f('0x3b')},function(_0x4a3540){const _0x802279=new Set();for(const _0x8632ba of _0x4a3540){let _0x3d338d=_0x8632ba['nextSibling'];for(;_0x3d338d&&_0x3d338d[_0x1d2f('0xd')](_0x1d2f('0x3b'))>_0x8632ba[_0x1d2f('0xd')](_0x1d2f('0x3b'));)_0x802279[_0x1d2f('0x23')](_0x3d338d),_0x3d338d=_0x3d338d['nextSibling'];}return Array[_0x1d2f('0x1a')](_0x802279);}(_0x39b774));});};}_0x39285a['enableCommand'](_0x1d2f('0x21'),_0x378b47(_0x1d2f('0x21'))),_0x39285a[_0x1d2f('0x27')]('bulletedList',_0x378b47(_0x1d2f('0x2d'))),_0xc5a327&&_0x39285a['enableCommand'](_0x1d2f('0x17'),_0x378b47(_0x1d2f('0x17'))),_0x39285a['enableCommand'](_0x1d2f('0x1f'),_0x446aa3(_0x1d2f('0x1f'))),_0x39285a['enableCommand'](_0x1d2f('0x29'),_0x446aa3(_0x1d2f('0x29'))),_0xc5a327&&_0x39285a[_0x1d2f('0x27')](_0x1d2f('0x11'),()=>{const _0x312cf2=_0x326575[_0x1d2f('0x32')]['get'](_0x1d2f('0x11')),_0x47c26f=Array[_0x1d2f('0x1a')](_0x312cf2[_0x1d2f('0x9')]);_0x47c26f[_0x1d2f('0x6')](_0x17e943=>_0x17e943[_0x1d2f('0xd')]('todoListChecked')!=_0x312cf2[_0x1d2f('0x38')]),_0x326575[_0x1d2f('0x3d')][_0x1d2f('0x24')](()=>{for(const _0x490bed of _0x47c26f)_0x39285a[_0x1d2f('0x1c')](_0x490bed,{'commandName':_0x1d2f('0x11'),'commandParams':[{'forceValue':!_0x312cf2[_0x1d2f('0x38')]}]});});}),_0x39285a[_0x1d2f('0x18')][_0x1d2f('0x19')](_0x1d2f('0x26'),_0x10bb1d=>_0x587104(_0x1e8770,'ELEMENT_LIST_ITEM',_0x10bb1d)),_0x39285a['_descriptionFactory']['registerDescriptionCallback'](_0x10fd95=>{if('formatBlock'!=_0x10fd95[_0x1d2f('0x16')]&&_0x1d2f('0x2b')!=_0x10fd95['type'])return;const {data:_0x31a916}=_0x10fd95;if(_0x31a916){if(_0x1d2f('0x21')==_0x31a916[_0x1d2f('0x3a')]||_0x1d2f('0x2d')==_0x31a916[_0x1d2f('0x3a')]||'todoList'==_0x31a916['commandName'])switch(_0x31a916['commandName']['replace'](_0x1d2f('0xa'),'')){case _0x1d2f('0x2c'):return _0x4381cf(_0x587104(_0x1e8770,'ELEMENT_BULLETED_LIST'));case'numbered':return _0x4381cf(_0x587104(_0x1e8770,_0x1d2f('0x20')));case'todo':return _0x4381cf(_0x587104(_0x1e8770,_0x1d2f('0x39')));}if(_0x1d2f('0x1f')==_0x31a916[_0x1d2f('0x3a')])return{'type':_0x1d2f('0x0'),'content':_0x587104(_0x1e8770,_0x1d2f('0x35'),_0x587104(_0x1e8770,_0x1d2f('0x2e')))};if(_0x1d2f('0x29')==_0x31a916[_0x1d2f('0x3a')])return{'type':_0x1d2f('0x0'),'content':_0x587104(_0x1e8770,_0x1d2f('0x14'),_0x587104(_0x1e8770,'ELEMENT_LIST_ITEM'))};if('checkTodoList'==_0x31a916[_0x1d2f('0x3a')])return _0x31a916[_0x1d2f('0x5')][0x0][_0x1d2f('0x1e')]?{'type':_0x1d2f('0x0'),'content':_0x587104(_0x1e8770,_0x1d2f('0x1'))}:{'type':_0x1d2f('0x0'),'content':_0x587104(_0x1e8770,_0x1d2f('0x1d'))};}function _0x4381cf(_0x42588c){return{'type':_0x1d2f('0x0'),'content':_0x587104(_0x1e8770,'*Change\x20to:*\x20%0',_0x42588c)};}});}}function ne(_0x13e05a){const _0x2724db=_0x13e05a[_0x1d2f('0xd')]('listIndent');if(0x0==_0x2724db)return _0x13e05a;let _0x376d14=_0x13e05a;for(;_0x13e05a['previousSibling']&&_0x13e05a[_0x1d2f('0x10')]['is'](_0x1d2f('0x30'),'listItem');){const _0xfc7d91=_0x13e05a[_0x1d2f('0x10')][_0x1d2f('0xd')]('listIndent');if(_0xfc7d91==_0x2724db)_0x376d14=_0x13e05a['previousSibling'];else{if(_0xfc7d91<_0x2724db)break;}_0x13e05a=_0x13e05a['previousSibling'];}return _0x376d14;}function oe(_0x1e88a5){const _0x597cc8=[];if(_0x1e88a5['is'](_0x1d2f('0x30'),_0x1d2f('0x26'))&&_0x1e88a5[_0x1d2f('0xd')]('listIndent')>0x0){let _0xa139a0=_0x1e88a5[_0x1d2f('0x25')];for(;_0xa139a0&&_0x1d2f('0x26')==_0xa139a0[_0x1d2f('0x8')]&&_0xa139a0[_0x1d2f('0xd')](_0x1d2f('0x3b'))==_0x1e88a5[_0x1d2f('0xd')](_0x1d2f('0x3b'));)_0x597cc8['push'](_0xa139a0),_0xa139a0=_0xa139a0[_0x1d2f('0x25')];}return _0x597cc8;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x21e3=['config','*Format:*\x20set\x20order\x20to\x20reversed','createPositionAt','listStyle','ListPropertiesEditing','_getTranslationKeyForListStyle','listType','listReversed','filter','_getSuggestionBlocks','*Format:*\x20set\x20order\x20to\x20regular','markMultiRangeBlockFormat','type','getFirstPosition','startIndex','backward','listItem','format','listStart','commandParams','handleListStyleCommand','length','toUpperCase','afterInit','from','change','commandName','styles','getAttribute','getSiblingNodes','_LIST_','get','enableCommand','model','createRange','ELEMENT_','element','replace','handleDescriptions','locale','document','before','handleListStartCommand','reversed','_getSuggestionBlocksForListStyle','selection','ListUtils','TrackChangesEditing','map','forward','bind','numbered','*Format:*\x20set\x20start\x20index\x20to\x20%0','getSelectedBlocks','handleListReversedCommand','plugins','editor','getLastPosition'];(function(_0x1cac73,_0x21e3f2){const _0x2730e6=function(_0x1b5ad7){while(--_0x1b5ad7){_0x1cac73['push'](_0x1cac73['shift']());}};_0x2730e6(++_0x21e3f2);}(_0x21e3,0xdc));const _0x2730=function(_0x1cac73,_0x21e3f2){_0x1cac73=_0x1cac73-0x0;let _0x2730e6=_0x21e3[_0x1cac73];return _0x2730e6;};import{Plugin as _0x443858}from'ckeditor5/src/core';import{getTranslation as _0x32cdc4}from'../utils/common-translations';export default class st extends _0x443858{[_0x2730('0x23')](){if(!this[_0x2730('0xa')][_0x2730('0x9')]['has'](_0x2730('0x10')))return;const _0x29a329=this['editor'][_0x2730('0xc')][_0x2730('0x2b')]('list.properties'),_0x3f27a6=this[_0x2730('0xa')]['plugins'][_0x2730('0x2b')](_0x2730('0x1'));_0x29a329[_0x2730('0x27')]&&_0x3f27a6[_0x2730('0x2c')](_0x2730('0xf'),this[_0x2730('0x20')][_0x2730('0x4')](this)),_0x29a329[_0x2730('0x37')]&&_0x3f27a6[_0x2730('0x2c')](_0x2730('0x13'),this[_0x2730('0x8')][_0x2730('0x4')](this)),_0x29a329[_0x2730('0x1a')]&&_0x3f27a6[_0x2730('0x2c')](_0x2730('0x1e'),this[_0x2730('0x36')][_0x2730('0x4')](this)),_0x3f27a6['_descriptionFactory']['registerDescriptionCallback'](this[_0x2730('0x32')][_0x2730('0x4')](this));}['handleListStyleCommand'](_0x5d5c0d,_0x53898e={}){const _0x380368=this['editor'][_0x2730('0x9')][_0x2730('0x2b')]('TrackChangesEditing'),_0xfaa81b=this[_0x2730('0x38')]();this[_0x2730('0xa')]['model'][_0x2730('0x25')](()=>{_0x380368[_0x2730('0x17')](_0xfaa81b,{'commandName':_0x2730('0xf'),'commandParams':[{'type':_0x53898e[_0x2730('0x18')]}],'formatGroupId':_0x2730('0xf')});});}[_0x2730('0x8')](_0x13f6f9,_0x4fdfc0={}){const _0x5e3f0a=this[_0x2730('0xa')][_0x2730('0x9')]['get'](_0x2730('0x1')),_0x32373f=this[_0x2730('0x15')](_0xb7e7c1=>_0xb7e7c1['is']('element',_0x2730('0x1c'))&&'numbered'===_0xb7e7c1[_0x2730('0x28')](_0x2730('0x12')));if(_0x32373f[_0x2730('0x21')]<0x1)return;const _0x425db0=_0x32373f['map'](_0x50671e=>this[_0x2730('0xa')][_0x2730('0x2d')]['createRange'](this[_0x2730('0xa')][_0x2730('0x2d')][_0x2730('0xe')](_0x50671e,_0x2730('0x35')),this[_0x2730('0xa')][_0x2730('0x2d')]['createPositionAt'](_0x50671e,0x0)));this[_0x2730('0xa')][_0x2730('0x2d')]['change'](()=>{_0x5e3f0a['markMultiRangeBlockFormat'](_0x425db0,{'commandName':'listReversed','commandParams':[{'reversed':_0x4fdfc0['reversed']}],'formatGroupId':'listReversed'});});}[_0x2730('0x36')](_0x89c6b3,_0x321d43={}){const _0xc4e7fd=this[_0x2730('0xa')]['plugins'][_0x2730('0x2b')](_0x2730('0x1')),_0x57fbf9=this[_0x2730('0x15')](_0x1323b0=>_0x1323b0['is'](_0x2730('0x30'),_0x2730('0x1c'))&&_0x2730('0x5')===_0x1323b0['getAttribute'](_0x2730('0x12')));if(_0x57fbf9[_0x2730('0x21')]<0x1)return;const _0xf390ed=_0x57fbf9[_0x2730('0x2')](_0xb2ca24=>this['editor']['model'][_0x2730('0x2e')](this[_0x2730('0xa')]['model'][_0x2730('0xe')](_0xb2ca24,'before'),this[_0x2730('0xa')][_0x2730('0x2d')][_0x2730('0xe')](_0xb2ca24,0x0)));this[_0x2730('0xa')][_0x2730('0x2d')][_0x2730('0x25')](()=>{_0xc4e7fd['markMultiRangeBlockFormat'](_0xf390ed,{'commandName':_0x2730('0x1e'),'commandParams':[{'startIndex':_0x321d43[_0x2730('0x1a')]}],'formatGroupId':_0x2730('0x1e')});});}[_0x2730('0x32')](_0x2d70da){const _0x18cb43=this[_0x2730('0xa')][_0x2730('0x33')],{data:_0x4574c5}=_0x2d70da;if(!_0x4574c5)return;let _0x57d751,_0x5665a5;switch(_0x4574c5[_0x2730('0x26')]){case _0x2730('0xf'):_0x57d751='*Change\x20to:*\x20%0',_0x5665a5={'type':_0x2730('0x1d'),'content':_0x32cdc4(_0x18cb43,_0x57d751,_0x32cdc4(_0x18cb43,this[_0x2730('0x11')](_0x4574c5[_0x2730('0x1f')][0x0]['type'])))};break;case _0x2730('0x13'):_0x57d751=_0x4574c5[_0x2730('0x1f')][0x0][_0x2730('0x37')]?_0x2730('0xd'):_0x2730('0x16'),_0x5665a5={'type':'format','content':_0x32cdc4(_0x18cb43,_0x57d751)};break;case _0x2730('0x1e'):_0x57d751=_0x2730('0x6'),_0x5665a5={'type':_0x2730('0x1d'),'content':_0x32cdc4(_0x18cb43,_0x57d751,_0x4574c5[_0x2730('0x1f')][0x0][_0x2730('0x1a')])};}return _0x5665a5;}['_getSuggestionBlocksForListStyle'](){var _0x2e5372,_0x38c6bf,_0x10d83f,_0x54a0c2;const _0x26e85c=this[_0x2730('0xa')][_0x2730('0x9')][_0x2730('0x2b')](_0x2730('0x0'));let _0x1215d9=Array[_0x2730('0x24')](this[_0x2730('0xa')][_0x2730('0x2d')][_0x2730('0x34')][_0x2730('0x39')]['getSelectedBlocks']());return(null===(_0x2e5372=_0x1215d9[0x0])||void 0x0===_0x2e5372?void 0x0:_0x2e5372['is'](_0x2730('0x30'),_0x2730('0x1c')))&&_0x1215d9['unshift'](..._0x26e85c['getSiblingNodes'](this['editor'][_0x2730('0x2d')][_0x2730('0x34')]['selection'][_0x2730('0x19')](),_0x2730('0x1b'))),(null===(_0x38c6bf=_0x1215d9[_0x1215d9[_0x2730('0x21')]-0x1])||void 0x0===_0x38c6bf?void 0x0:_0x38c6bf['is'](_0x2730('0x30'),_0x2730('0x1c')))&&_0x1215d9['push'](..._0x26e85c[_0x2730('0x29')](this[_0x2730('0xa')]['model'][_0x2730('0x34')][_0x2730('0x39')][_0x2730('0xb')](),_0x2730('0x3'))),_0x1215d9=[...new Set(_0x1215d9)],(null===(_0x54a0c2=null===(_0x10d83f=this[_0x2730('0xa')]['model'][_0x2730('0x34')]['selection']['getFirstPosition']())||void 0x0===_0x10d83f?void 0x0:_0x10d83f['parent'])||void 0x0===_0x54a0c2?void 0x0:_0x54a0c2['is'](_0x2730('0x30'),_0x2730('0x1c')))&&(_0x1215d9=_0x1215d9[_0x2730('0x14')](_0x498556=>_0x498556['is'](_0x2730('0x30'),'listItem'))),_0x1215d9;}['_getSuggestionBlocks'](_0x25241c){const _0x2316cd=this['editor'][_0x2730('0x9')][_0x2730('0x2b')]('ListUtils');let _0x3b74bd=Array['from'](this[_0x2730('0xa')][_0x2730('0x2d')][_0x2730('0x34')][_0x2730('0x39')][_0x2730('0x7')]())['filter'](_0x25241c)[_0x2730('0x2')](_0x4e219d=>{const _0x4ddc4f=this[_0x2730('0xa')]['model'][_0x2730('0xe')](_0x4e219d,0x0);return[..._0x2316cd[_0x2730('0x29')](_0x4ddc4f,'backward'),..._0x2316cd[_0x2730('0x29')](_0x4ddc4f,'forward')];})['flat']();return _0x3b74bd=[...new Set(_0x3b74bd)],_0x3b74bd;}['_getTranslationKeyForListStyle'](_0xa438d4){return _0x2730('0x2f')+this['editor'][_0x2730('0x9')][_0x2730('0x2b')](_0x2730('0x0'))['getListTypeFromListStyleType'](_0xa438d4)[_0x2730('0x22')]()+_0x2730('0x2a')+_0xa438d4['toUpperCase']()[_0x2730('0x31')](/-/g,'_');}}
23
+ const _0x3543=['flat','backward','ListUtils','startIndex','getFirstPosition','document','*Format:*\x20set\x20start\x20index\x20to\x20%0','_getSuggestionBlocksForListStyle','forward','getSelectedBlocks','listType','filter','parent','commandParams','getAttribute','createRange','length','styles','handleListReversedCommand','locale','formatInline','getLastPosition','unshift','push','listStart','plugins','reversed','toUpperCase','ELEMENT_','getListTypeFromListStyleType','markMultiRangeBlockFormat','before','numbered','*Format:*\x20set\x20order\x20to\x20reversed','_descriptionFactory','_LIST_','afterInit','type','handleListStartCommand','map','element','handleListStyleCommand','format','enableCommand','replace','list.properties','*Change\x20to:*\x20%0','model','registerDescriptionCallback','from','formatBlock','listItem','listStyle','bind','selection','commandName','editor','_getTranslationKeyForListStyle','change','TrackChangesEditing','get','handleDescriptions','listReversed','getSiblingNodes','_getSuggestionBlocks','has','createPositionAt'];(function(_0x429aa6,_0x35433c){const _0x2d1bd0=function(_0x5f3674){while(--_0x5f3674){_0x429aa6['push'](_0x429aa6['shift']());}};_0x2d1bd0(++_0x35433c);}(_0x3543,0x17c));const _0x2d1b=function(_0x429aa6,_0x35433c){_0x429aa6=_0x429aa6-0x0;let _0x2d1bd0=_0x3543[_0x429aa6];return _0x2d1bd0;};import{Plugin as _0x80a917}from'ckeditor5/src/core';import{getTranslation as _0x1c1e2f}from'../utils/common-translations';export default class ut extends _0x80a917{[_0x2d1b('0x3a')](){if(!this[_0x2d1b('0xb')][_0x2d1b('0x2f')][_0x2d1b('0x14')]('ListPropertiesEditing'))return;const _0x35ee18=this[_0x2d1b('0xb')]['config'][_0x2d1b('0xf')](_0x2d1b('0x0')),_0x281c4a=this[_0x2d1b('0xb')][_0x2d1b('0x2f')][_0x2d1b('0xf')]('TrackChangesEditing');_0x35ee18[_0x2d1b('0x27')]&&_0x281c4a[_0x2d1b('0x41')]('listStyle',this[_0x2d1b('0x3f')][_0x2d1b('0x8')](this)),_0x35ee18[_0x2d1b('0x30')]&&_0x281c4a[_0x2d1b('0x41')](_0x2d1b('0x11'),this[_0x2d1b('0x28')]['bind'](this)),_0x35ee18['startIndex']&&_0x281c4a[_0x2d1b('0x41')](_0x2d1b('0x2e'),this[_0x2d1b('0x3c')][_0x2d1b('0x8')](this)),_0x281c4a[_0x2d1b('0x38')][_0x2d1b('0x3')](this[_0x2d1b('0x10')][_0x2d1b('0x8')](this));}['handleListStyleCommand'](_0x5d25c0,_0x52b4d7={}){const _0x56b5e4=this[_0x2d1b('0xb')][_0x2d1b('0x2f')][_0x2d1b('0xf')](_0x2d1b('0xe')),_0x157556=this[_0x2d1b('0x1d')]();this['editor'][_0x2d1b('0x2')][_0x2d1b('0xd')](()=>{_0x56b5e4[_0x2d1b('0x34')](_0x157556,{'commandName':_0x2d1b('0x7'),'commandParams':[{'type':_0x52b4d7['type']}],'formatGroupId':_0x2d1b('0x7')});});}['handleListReversedCommand'](_0x5e29ca,_0x595def={}){const _0x429865=this[_0x2d1b('0xb')][_0x2d1b('0x2f')][_0x2d1b('0xf')]('TrackChangesEditing'),_0x5e8afa=this[_0x2d1b('0x13')](_0x1bb27e=>_0x1bb27e['is'](_0x2d1b('0x3e'),_0x2d1b('0x6'))&&_0x2d1b('0x36')===_0x1bb27e[_0x2d1b('0x24')]('listType'));if(_0x5e8afa['length']<0x1)return;const _0x3cba7f=_0x5e8afa[_0x2d1b('0x3d')](_0x5853ed=>this[_0x2d1b('0xb')]['model'][_0x2d1b('0x25')](this['editor']['model'][_0x2d1b('0x15')](_0x5853ed,'before'),this[_0x2d1b('0xb')]['model'][_0x2d1b('0x15')](_0x5853ed,0x0)));this[_0x2d1b('0xb')][_0x2d1b('0x2')][_0x2d1b('0xd')](()=>{_0x429865[_0x2d1b('0x34')](_0x3cba7f,{'commandName':_0x2d1b('0x11'),'commandParams':[{'reversed':_0x595def['reversed']}],'formatGroupId':_0x2d1b('0x11')});});}[_0x2d1b('0x3c')](_0x29d305,_0x3f7151={}){const _0x290620=this['editor'][_0x2d1b('0x2f')][_0x2d1b('0xf')]('TrackChangesEditing'),_0x342200=this[_0x2d1b('0x13')](_0x2c1a04=>_0x2c1a04['is'](_0x2d1b('0x3e'),_0x2d1b('0x6'))&&'numbered'===_0x2c1a04[_0x2d1b('0x24')](_0x2d1b('0x20')));if(_0x342200[_0x2d1b('0x26')]<0x1)return;const _0x396c1d=_0x342200[_0x2d1b('0x3d')](_0x596756=>this[_0x2d1b('0xb')]['model'][_0x2d1b('0x25')](this[_0x2d1b('0xb')][_0x2d1b('0x2')][_0x2d1b('0x15')](_0x596756,_0x2d1b('0x35')),this[_0x2d1b('0xb')][_0x2d1b('0x2')][_0x2d1b('0x15')](_0x596756,0x0)));this['editor'][_0x2d1b('0x2')]['change'](()=>{_0x290620['markMultiRangeBlockFormat'](_0x396c1d,{'commandName':_0x2d1b('0x2e'),'commandParams':[{'startIndex':_0x3f7151[_0x2d1b('0x19')]}],'formatGroupId':_0x2d1b('0x2e')});});}[_0x2d1b('0x10')](_0x32bfc4){if(_0x2d1b('0x5')!=_0x32bfc4[_0x2d1b('0x3b')]&&_0x2d1b('0x2a')!=_0x32bfc4[_0x2d1b('0x3b')])return;const _0x1ace60=this['editor'][_0x2d1b('0x29')],{data:_0x78995a}=_0x32bfc4;if(!_0x78995a)return;let _0x38ab35,_0x218b64;switch(_0x78995a[_0x2d1b('0xa')]){case'listStyle':_0x38ab35=_0x2d1b('0x1'),_0x218b64={'type':_0x2d1b('0x40'),'content':_0x1c1e2f(_0x1ace60,_0x38ab35,_0x1c1e2f(_0x1ace60,this[_0x2d1b('0xc')](_0x78995a[_0x2d1b('0x23')][0x0][_0x2d1b('0x3b')])))};break;case'listReversed':_0x38ab35=_0x78995a['commandParams'][0x0][_0x2d1b('0x30')]?_0x2d1b('0x37'):'*Format:*\x20set\x20order\x20to\x20regular',_0x218b64={'type':'format','content':_0x1c1e2f(_0x1ace60,_0x38ab35)};break;case'listStart':_0x38ab35=_0x2d1b('0x1c'),_0x218b64={'type':_0x2d1b('0x40'),'content':_0x1c1e2f(_0x1ace60,_0x38ab35,_0x78995a[_0x2d1b('0x23')][0x0][_0x2d1b('0x19')])};}return _0x218b64;}[_0x2d1b('0x1d')](){var _0x4e0f8e,_0x1a923c,_0x59a10a,_0x829d83;const _0x14c398=this[_0x2d1b('0xb')][_0x2d1b('0x2f')]['get'](_0x2d1b('0x18'));let _0x57b07a=Array[_0x2d1b('0x4')](this[_0x2d1b('0xb')][_0x2d1b('0x2')]['document']['selection']['getSelectedBlocks']());return(null===(_0x4e0f8e=_0x57b07a[0x0])||void 0x0===_0x4e0f8e?void 0x0:_0x4e0f8e['is'](_0x2d1b('0x3e'),_0x2d1b('0x6')))&&_0x57b07a[_0x2d1b('0x2c')](..._0x14c398[_0x2d1b('0x12')](this[_0x2d1b('0xb')]['model'][_0x2d1b('0x1b')][_0x2d1b('0x9')][_0x2d1b('0x1a')](),_0x2d1b('0x17'))),(null===(_0x1a923c=_0x57b07a[_0x57b07a[_0x2d1b('0x26')]-0x1])||void 0x0===_0x1a923c?void 0x0:_0x1a923c['is'](_0x2d1b('0x3e'),'listItem'))&&_0x57b07a[_0x2d1b('0x2d')](..._0x14c398[_0x2d1b('0x12')](this[_0x2d1b('0xb')][_0x2d1b('0x2')]['document'][_0x2d1b('0x9')][_0x2d1b('0x2b')](),_0x2d1b('0x1e'))),_0x57b07a=[...new Set(_0x57b07a)],(null===(_0x829d83=null===(_0x59a10a=this['editor'][_0x2d1b('0x2')]['document'][_0x2d1b('0x9')]['getFirstPosition']())||void 0x0===_0x59a10a?void 0x0:_0x59a10a[_0x2d1b('0x22')])||void 0x0===_0x829d83?void 0x0:_0x829d83['is'](_0x2d1b('0x3e'),'listItem'))&&(_0x57b07a=_0x57b07a[_0x2d1b('0x21')](_0x267870=>_0x267870['is'](_0x2d1b('0x3e'),_0x2d1b('0x6')))),_0x57b07a;}['_getSuggestionBlocks'](_0x4e818b){const _0x2941ff=this['editor'][_0x2d1b('0x2f')][_0x2d1b('0xf')](_0x2d1b('0x18'));let _0x4da7f0=Array[_0x2d1b('0x4')](this['editor'][_0x2d1b('0x2')][_0x2d1b('0x1b')]['selection'][_0x2d1b('0x1f')]())['filter'](_0x4e818b)[_0x2d1b('0x3d')](_0x1cac03=>{const _0x3e842d=this[_0x2d1b('0xb')]['model'][_0x2d1b('0x15')](_0x1cac03,0x0);return[..._0x2941ff['getSiblingNodes'](_0x3e842d,_0x2d1b('0x17')),..._0x2941ff[_0x2d1b('0x12')](_0x3e842d,_0x2d1b('0x1e'))];})[_0x2d1b('0x16')]();return _0x4da7f0=[...new Set(_0x4da7f0)],_0x4da7f0;}['_getTranslationKeyForListStyle'](_0x5ecb4f){return _0x2d1b('0x32')+this[_0x2d1b('0xb')][_0x2d1b('0x2f')][_0x2d1b('0xf')]('ListUtils')[_0x2d1b('0x33')](_0x5ecb4f)[_0x2d1b('0x31')]()+_0x2d1b('0x39')+_0x5ecb4f[_0x2d1b('0x31')]()[_0x2d1b('0x42')](/-/g,'_');}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1bd3=['media','downcastDispatcher','showSuggestionHighlights','elementToElement','MediaEmbedEditing','has','locale','TrackChangesEditing','get','data','_descriptionFactory','attribute:url:media','enableCommand','registerElementLabel','afterInit','ELEMENT_MEDIA','dataDowncast','plugins','for','editor','high','div','stop'];(function(_0x31ae24,_0x1bd39f){const _0x574511=function(_0x16666f){while(--_0x16666f){_0x31ae24['push'](_0x31ae24['shift']());}};_0x574511(++_0x1bd39f);}(_0x1bd3,0x134));const _0x5745=function(_0x31ae24,_0x1bd39f){_0x31ae24=_0x31ae24-0x0;let _0x574511=_0x1bd3[_0x31ae24];return _0x574511;};import{Plugin as _0x424471}from'ckeditor5/src/core';import{getTranslation as _0x59c05f}from'../utils/common-translations';export default class ot extends _0x424471{[_0x5745('0x5')](){const _0x9d5f73=this[_0x5745('0xa')];if(!_0x9d5f73[_0x5745('0x8')][_0x5745('0x13')](_0x5745('0x12')))return;const _0x25b4a4=_0x9d5f73[_0x5745('0x8')][_0x5745('0x16')](_0x5745('0x15')),_0x145926=_0x9d5f73[_0x5745('0x14')];_0x25b4a4[_0x5745('0x3')]('mediaEmbed'),_0x25b4a4[_0x5745('0x1')][_0x5745('0x4')](_0x5745('0xe'),_0x1b9c3e=>_0x59c05f(_0x145926,_0x5745('0x6'),_0x1b9c3e)),_0x9d5f73['conversion'][_0x5745('0x9')](_0x5745('0x7'))[_0x5745('0x11')]({'model':_0x5745('0xe'),'view':(_0xd4e676,{writer:_0x3b96af,options:_0x28923f})=>{if(_0x28923f[_0x5745('0x10')])return _0x3b96af['createEmptyElement'](_0x5745('0xc'));},'converterPriority':'high'}),_0x9d5f73[_0x5745('0x0')][_0x5745('0xf')]['on'](_0x5745('0x2'),(_0x580042,_0x4f273e,_0x68d753)=>{_0x68d753['options'][_0x5745('0x10')]&&_0x580042[_0x5745('0xd')]();},{'priority':_0x5745('0xb')});}}
23
+ const _0xbac9=['editor','createEmptyElement','mediaEmbed','_descriptionFactory','TrackChangesEditing','dataDowncast','locale','media','enableCommand','registerElementLabel','get','div','ELEMENT_MEDIA','data','high','attribute:url:media','downcastDispatcher','stop','has','afterInit','showSuggestionHighlights','elementToElement','plugins','conversion'];(function(_0x228cfc,_0xbac94e){const _0x4dc7dc=function(_0x2a9492){while(--_0x2a9492){_0x228cfc['push'](_0x228cfc['shift']());}};_0x4dc7dc(++_0xbac94e);}(_0xbac9,0xf5));const _0x4dc7=function(_0x228cfc,_0xbac94e){_0x228cfc=_0x228cfc-0x0;let _0x4dc7dc=_0xbac9[_0x228cfc];return _0x4dc7dc;};import{Plugin as _0xb0def8}from'ckeditor5/src/core';import{getTranslation as _0xe9bd26}from'../utils/common-translations';export default class ht extends _0xb0def8{[_0x4dc7('0xe')](){const _0x17016c=this[_0x4dc7('0x13')];if(!_0x17016c['plugins'][_0x4dc7('0xd')]('MediaEmbedEditing'))return;const _0x1ccf2a=_0x17016c[_0x4dc7('0x11')][_0x4dc7('0x5')](_0x4dc7('0x17')),_0x267176=_0x17016c[_0x4dc7('0x1')];_0x1ccf2a[_0x4dc7('0x3')](_0x4dc7('0x15')),_0x1ccf2a[_0x4dc7('0x16')][_0x4dc7('0x4')](_0x4dc7('0x2'),_0x473eec=>_0xe9bd26(_0x267176,_0x4dc7('0x7'),_0x473eec)),_0x17016c[_0x4dc7('0x12')]['for'](_0x4dc7('0x0'))[_0x4dc7('0x10')]({'model':_0x4dc7('0x2'),'view':(_0x1a820f,{writer:_0x36d563,options:_0x7111f4})=>{if(_0x7111f4[_0x4dc7('0xf')])return _0x36d563[_0x4dc7('0x14')](_0x4dc7('0x6'));},'converterPriority':_0x4dc7('0x9')}),_0x17016c[_0x4dc7('0x8')][_0x4dc7('0xb')]['on'](_0x4dc7('0xa'),(_0x14b1cf,_0xcf4915,_0x20b3ab)=>{_0x20b3ab['options']['showSuggestionHighlights']&&_0x14b1cf[_0x4dc7('0xc')]();},{'priority':_0x4dc7('0x9')});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5033=['MentionEditing','TrackChangesEditing','plugins','enableCommand','has','afterInit','mention'];(function(_0x68854f,_0x50332d){const _0x280442=function(_0x145d3a){while(--_0x145d3a){_0x68854f['push'](_0x68854f['shift']());}};_0x280442(++_0x50332d);}(_0x5033,0x7f));const _0x2804=function(_0x68854f,_0x50332d){_0x68854f=_0x68854f-0x0;let _0x280442=_0x5033[_0x68854f];return _0x280442;};import{Plugin as _0x13e745}from'ckeditor5/src/core';export default class rt extends _0x13e745{[_0x2804('0x4')](){const _0x518ed1=this['editor'];_0x518ed1['plugins'][_0x2804('0x3')](_0x2804('0x6'))&&_0x518ed1[_0x2804('0x1')]['get'](_0x2804('0x0'))[_0x2804('0x2')](_0x2804('0x5'));}}
23
+ const _0x1f04=['TrackChangesEditing','MentionEditing','plugins','enableCommand','has','afterInit','mention'];(function(_0x22561d,_0x1f0435){const _0x38b8e8=function(_0x409b98){while(--_0x409b98){_0x22561d['push'](_0x22561d['shift']());}};_0x38b8e8(++_0x1f0435);}(_0x1f04,0xf4));const _0x38b8=function(_0x22561d,_0x1f0435){_0x22561d=_0x22561d-0x0;let _0x38b8e8=_0x1f04[_0x22561d];return _0x38b8e8;};import{Plugin as _0xdd8bc9}from'ckeditor5/src/core';export default class ft extends _0xdd8bc9{[_0x38b8('0x6')](){const _0x33f471=this['editor'];_0x33f471[_0x38b8('0x3')][_0x38b8('0x5')](_0x38b8('0x2'))&&_0x33f471[_0x38b8('0x3')]['get'](_0x38b8('0x1'))[_0x38b8('0x4')](_0x38b8('0x0'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1f94=['editor','get','TrackChangesEditing','enableCommand','PageBreakEditing','pageBreak','plugins','registerElementLabel','_descriptionFactory','afterInit'];(function(_0x5edbbf,_0x1f94f7){const _0x319fa6=function(_0x52b922){while(--_0x52b922){_0x5edbbf['push'](_0x5edbbf['shift']());}};_0x319fa6(++_0x1f94f7);}(_0x1f94,0x1f2));const _0x319f=function(_0x5edbbf,_0x1f94f7){_0x5edbbf=_0x5edbbf-0x0;let _0x319fa6=_0x1f94[_0x5edbbf];return _0x319fa6;};import{Plugin as _0x5512eb}from'ckeditor5/src/core';import{getTranslation as _0x430d78}from'../utils/common-translations';export default class at extends _0x5512eb{[_0x319f('0x1')](){const _0x13d081=this[_0x319f('0x2')];if(!_0x13d081[_0x319f('0x8')]['has'](_0x319f('0x6')))return;_0x13d081[_0x319f('0x8')][_0x319f('0x3')]('TrackChangesEditing')[_0x319f('0x5')](_0x319f('0x7'));const _0x22342f=_0x13d081['plugins'][_0x319f('0x3')](_0x319f('0x4')),_0x503829=_0x13d081['locale'];_0x22342f[_0x319f('0x0')][_0x319f('0x9')](_0x319f('0x7'),_0x2400ce=>_0x430d78(_0x503829,'ELEMENT_PAGE_BREAK',_0x2400ce));}}
23
+ const _0x4f14=['PageBreakEditing','registerElementLabel','has','enableCommand','plugins','afterInit','TrackChangesEditing','ELEMENT_PAGE_BREAK','get','editor','locale'];(function(_0x331588,_0x4f14bb){const _0x26ce3d=function(_0x3c3484){while(--_0x3c3484){_0x331588['push'](_0x331588['shift']());}};_0x26ce3d(++_0x4f14bb);}(_0x4f14,0x13a));const _0x26ce=function(_0x331588,_0x4f14bb){_0x331588=_0x331588-0x0;let _0x26ce3d=_0x4f14[_0x331588];return _0x26ce3d;};import{Plugin as _0x39c30a}from'ckeditor5/src/core';import{getTranslation as _0x51e2a3}from'../utils/common-translations';export default class gt extends _0x39c30a{[_0x26ce('0xa')](){const _0x459af5=this[_0x26ce('0x3')];if(!_0x459af5[_0x26ce('0x9')][_0x26ce('0x7')](_0x26ce('0x5')))return;_0x459af5[_0x26ce('0x9')]['get'](_0x26ce('0x0'))[_0x26ce('0x8')]('pageBreak');const _0x4e7183=_0x459af5[_0x26ce('0x9')][_0x26ce('0x2')]('TrackChangesEditing'),_0x3f5f7a=_0x459af5[_0x26ce('0x4')];_0x4e7183['_descriptionFactory'][_0x26ce('0x6')]('pageBreak',_0x22bd25=>_0x51e2a3(_0x3f5f7a,_0x26ce('0x1'),_0x22bd25));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x159d=['paragraph','isTouching','editing','insertion','checkChild','editor','start','insert','registerDescriptionCallback','highest','type','options','model','parent','enableCommand','createUIElement','downcastDispatcher','span','Paragraph','addMarker:suggestion:insertion','getFirstRange','nodeAfter','addClass','filter','writer','markerName','format','schema','getItemLabel','change','consumable','data','mapper','insertParagraph','plugins','TrackChangesEditing','markerRange','isLimit','ck-suggestion-marker-split','afterInit','registerElementLabel','toViewPosition','isBlock','name','get','locale','$text','getSelectedBlocks','ELEMENT_PARAGRAPH','_descriptionFactory','bindElementToMarker','*Insert:*\x20%0','activeMarkers','selection','includes'];(function(_0x39bc37,_0x159d0d){const _0x4f3107=function(_0x1d3e8a){while(--_0x1d3e8a){_0x39bc37['push'](_0x39bc37['shift']());}};_0x4f3107(++_0x159d0d);}(_0x159d,0x156));const _0x4f31=function(_0x39bc37,_0x159d0d){_0x39bc37=_0x39bc37-0x0;let _0x4f3107=_0x159d[_0x39bc37];return _0x4f3107;};import{Plugin as _0x4407f5}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x1a195f}from'./utils';import{getTranslation as _0x40acb1}from'../utils/common-translations';export default class ct extends _0x4407f5{[_0x4f31('0x1b')](){const _0x4bed56=this[_0x4f31('0x30')];if(!_0x4bed56['plugins']['has'](_0x4f31('0x6')))return;const _0x163b99=_0x4bed56[_0x4f31('0x21')],_0x4164d5=_0x4bed56[_0x4f31('0x16')][_0x4f31('0x20')](_0x4f31('0x17'));_0x4164d5[_0x4f31('0x25')][_0x4f31('0x1c')](_0x4f31('0x2b'),_0x40e790=>_0x40acb1(_0x163b99,_0x4f31('0x24'),_0x40e790)),_0x4164d5[_0x4f31('0x2')](_0x4f31('0x2b'),(_0x598c26,_0x22d867={})=>{const _0x16b3dd=_0x4bed56[_0x4f31('0x0')]['document'],_0x23357b=_0x22d867['selection']||_0x16b3dd[_0x4f31('0x29')],_0x55f0da=Array['from'](_0x23357b[_0x4f31('0x23')]())[_0x4f31('0xb')](_0x279b3d=>function(_0xda439,_0x253fb9){return _0x253fb9[_0x4f31('0x2f')](_0xda439[_0x4f31('0x1')],'paragraph')&&!_0x253fb9['isObject'](_0xda439)&&_0x4f31('0x2b')!=_0xda439[_0x4f31('0x1f')];}(_0x279b3d,this['editor'][_0x4f31('0x0')]['schema']));_0x4bed56['model'][_0x4f31('0x11')](()=>{for(const _0x3aa61c of _0x55f0da)_0x4164d5['markBlockFormat'](_0x3aa61c,{'commandName':_0x4f31('0x2b'),'commandParams':[],'formatGroupId':'blockName'},_0x1a195f(_0x3aa61c));});}),_0x4164d5[_0x4f31('0x25')][_0x4f31('0x33')](_0x1e3a12=>{const {data:_0xd75d2a}=_0x1e3a12;if(_0xd75d2a&&_0x4f31('0x2b')==_0xd75d2a['commandName'])return{'type':_0x4f31('0xe'),'content':_0x40acb1(_0x163b99,'*Change\x20to:*\x20%0',_0x40acb1(_0x163b99,_0x4f31('0x24')))};}),_0x4164d5[_0x4f31('0x2')](_0x4f31('0x15')),_0x4bed56[_0x4f31('0x2d')][_0x4f31('0x4')]['on']('addMarker:suggestion:insertion',ar(_0x4bed56),{'priority':_0x4f31('0x34')}),_0x4bed56[_0x4f31('0x13')]['downcastDispatcher']['on'](_0x4f31('0x7'),(_0x1aee60,_0x46097b,_0x5363d4)=>{_0x5363d4[_0x4f31('0x36')]['showSuggestionHighlights']&&ar(_0x4bed56,{'showActiveMarker':!0x1})(_0x1aee60,_0x46097b,_0x5363d4);},{'priority':'highest'});const _0x48be7d=_0x4164d5[_0x4f31('0x25')];_0x48be7d['registerDescriptionCallback'](_0xaefbd9=>{if('insertion'!==_0xaefbd9[_0x4f31('0x35')])return;const {start:_0xb2c9fc,end:_0x4f98b2}=_0xaefbd9[_0x4f31('0x8')]();if(!_0xb2c9fc[_0x4f31('0x2c')](_0x4f98b2)||!_0xb2c9fc[_0x4f31('0x9')])return;const _0x3c9a0a=_0x4bed56[_0x4f31('0x0')][_0x4f31('0xf')],_0x3bb778=_0xb2c9fc['nodeAfter'];return _0x3c9a0a[_0x4f31('0x1e')](_0x3bb778)&&!_0x3c9a0a['isLimit'](_0x3bb778)&&_0x3c9a0a[_0x4f31('0x2f')](_0x3bb778,_0x4f31('0x22'))?{'type':_0x4f31('0x2e'),'content':_0x40acb1(_0x163b99,_0x4f31('0x27'),_0x48be7d[_0x4f31('0x10')](_0x3bb778,0x1))}:void 0x0;});}}function ar(_0x1ca799,{showActiveMarker:_0x2cc9c7=!0x0}={}){return(_0x5154a6,_0x2acdaa,_0x183705)=>{const _0x42f95d=_0x1ca799['plugins'][_0x4f31('0x20')](_0x4f31('0x17')),_0xd05628=_0x2acdaa[_0x4f31('0x18')][_0x4f31('0x31')],_0x567b1b=_0x2acdaa['markerRange']['end'],_0x22936b=_0x1ca799[_0x4f31('0x0')]['schema'];if(!_0xd05628[_0x4f31('0x2c')](_0x567b1b)||!_0xd05628[_0x4f31('0x9')])return;const _0x120b27=_0xd05628['nodeAfter'];if(_0x22936b[_0x4f31('0x1e')](_0x120b27)&&!_0x22936b[_0x4f31('0x19')](_0x120b27)&&_0x22936b[_0x4f31('0x2f')](_0x120b27,'$text')){if(!_0x183705[_0x4f31('0x12')]['consume'](_0x2acdaa[_0x4f31('0x18')],_0x5154a6[_0x4f31('0x1f')]))return;const _0x101c68=_0x183705['writer'][_0x4f31('0x3')](_0x4f31('0x5'),{'class':_0x4f31('0x1a')}),_0x4535ec=_0x183705[_0x4f31('0x14')][_0x4f31('0x1d')](_0x567b1b);_0x2cc9c7&&_0x42f95d[_0x4f31('0x28')][_0x4f31('0x2a')](_0x2acdaa[_0x4f31('0xd')])&&_0x183705[_0x4f31('0xc')][_0x4f31('0xa')]('ck-suggestion-marker--active',_0x101c68),_0x183705[_0x4f31('0xc')][_0x4f31('0x32')](_0x4535ec,_0x101c68),_0x183705[_0x4f31('0x14')][_0x4f31('0x26')](_0x101c68,_0x2acdaa[_0x4f31('0xd')]);}};}
23
+ const _0x1c0d=['highest','markerName','editor','plugins','_enableDefaultAttributesIntegration','registerElementLabel','paragraph','ELEMENT_PARAGRAPH','isLimit','addMarker:suggestion:insertion','toViewPosition','mapper','data','insertion','bindElementToMarker','_registerLegacyDescription','registerDescriptionCallback','name','createUIElement','showSuggestionHighlights','isBlock','markerRange','ck-suggestion-marker-split','schema','span','insertParagraph','start','editing','nodeAfter','has','commandName','options','activeMarkers','format','getItemLabel','checkChild','includes','_descriptionFactory','writer','$text','consumable','Paragraph','get','type','downcastDispatcher','locale','ck-suggestion-marker--active','TrackChangesEditing','formatBlock','isTouching','enableCommand','*Change\x20to:*\x20%0','afterInit','model'];(function(_0x5177ba,_0x1c0da6){const _0xef3f46=function(_0x49dbf1){while(--_0x49dbf1){_0x5177ba['push'](_0x5177ba['shift']());}};_0xef3f46(++_0x1c0da6);}(_0x1c0d,0x1ba));const _0xef3f=function(_0x5177ba,_0x1c0da6){_0x5177ba=_0x5177ba-0x0;let _0xef3f46=_0x1c0d[_0x5177ba];return _0xef3f46;};import{Plugin as _0x390609}from'ckeditor5/src/core';import{getTranslation as _0x17ae94}from'../utils/common-translations';export default class lt extends _0x390609{[_0xef3f('0x2a')](){const _0x23281b=this[_0xef3f('0x2e')];if(!_0x23281b[_0xef3f('0x2f')][_0xef3f('0x13')](_0xef3f('0x1f')))return;const _0x491962=_0x23281b[_0xef3f('0x23')],_0x32af01=_0x23281b[_0xef3f('0x2f')]['get']('TrackChangesEditing');_0x32af01[_0xef3f('0x1b')][_0xef3f('0x31')](_0xef3f('0x32'),_0x47892c=>_0x17ae94(_0x491962,_0xef3f('0x33'),_0x47892c)),_0x32af01[_0xef3f('0x30')](_0xef3f('0x32')),_0x32af01[_0xef3f('0x28')](_0xef3f('0xf')),_0x23281b[_0xef3f('0x11')][_0xef3f('0x22')]['on'](_0xef3f('0x35'),nr(_0x23281b),{'priority':_0xef3f('0x2c')}),_0x23281b[_0xef3f('0x2')]['downcastDispatcher']['on'](_0xef3f('0x35'),(_0x387eaa,_0x3c802a,_0x2567ee)=>{_0x2567ee[_0xef3f('0x15')][_0xef3f('0x9')]&&nr(_0x23281b,{'showActiveMarker':!0x1})(_0x387eaa,_0x3c802a,_0x2567ee);},{'priority':_0xef3f('0x2c')});const _0x5c5350=_0x32af01[_0xef3f('0x1b')];_0x5c5350[_0xef3f('0x6')](_0x161650=>{if(_0xef3f('0x3')!==_0x161650[_0xef3f('0x21')])return;const {start:_0x3423a6,end:_0x17cb85}=_0x161650['getFirstRange']();if(!_0x3423a6['isTouching'](_0x17cb85)||!_0x3423a6[_0xef3f('0x12')])return;const _0x687116=_0x23281b[_0xef3f('0x2b')]['schema'],_0x419b37=_0x3423a6[_0xef3f('0x12')];return _0x687116[_0xef3f('0xa')](_0x419b37)&&!_0x687116[_0xef3f('0x34')](_0x419b37)&&_0x687116[_0xef3f('0x19')](_0x419b37,'$text')?{'type':'insertion','content':_0x17ae94(_0x491962,'*Insert:*\x20%0',_0x5c5350[_0xef3f('0x18')](_0x419b37,0x1))}:void 0x0;}),this['_registerLegacyDescription']();}[_0xef3f('0x5')](){const _0x1bf19d=this[_0xef3f('0x2e')],_0x129be3=_0x1bf19d['locale'];_0x1bf19d['plugins'][_0xef3f('0x20')](_0xef3f('0x25'))[_0xef3f('0x1b')]['registerDescriptionCallback'](_0x649e61=>{if(_0xef3f('0x26')!=_0x649e61[_0xef3f('0x21')])return;const {data:_0x128fbd}=_0x649e61;return _0x128fbd&&_0xef3f('0x32')==_0x128fbd[_0xef3f('0x14')]?{'type':_0xef3f('0x17'),'content':_0x17ae94(_0x129be3,_0xef3f('0x29'),_0x17ae94(_0x129be3,_0xef3f('0x33')))}:void 0x0;});}}function nr(_0x741d15,{showActiveMarker:_0x2c853c=!0x0}={}){return(_0x530a51,_0x137325,_0x51524e)=>{const _0xbde0ba=_0x741d15[_0xef3f('0x2f')][_0xef3f('0x20')]('TrackChangesEditing'),_0x352ab6=_0x137325[_0xef3f('0xb')][_0xef3f('0x10')],_0x36da25=_0x137325[_0xef3f('0xb')]['end'],_0x42d47b=_0x741d15[_0xef3f('0x2b')][_0xef3f('0xd')];if(!_0x352ab6[_0xef3f('0x27')](_0x36da25)||!_0x352ab6[_0xef3f('0x12')])return;const _0x24e9dd=_0x352ab6[_0xef3f('0x12')];if(_0x42d47b[_0xef3f('0xa')](_0x24e9dd)&&!_0x42d47b[_0xef3f('0x34')](_0x24e9dd)&&_0x42d47b['checkChild'](_0x24e9dd,_0xef3f('0x1d'))){if(!_0x51524e[_0xef3f('0x1e')]['consume'](_0x137325[_0xef3f('0xb')],_0x530a51[_0xef3f('0x7')]))return;const _0x50cd6f=_0x51524e['writer'][_0xef3f('0x8')](_0xef3f('0xe'),{'class':_0xef3f('0xc')}),_0xb5b6d8=_0x51524e[_0xef3f('0x1')][_0xef3f('0x0')](_0x36da25);_0x2c853c&&_0xbde0ba[_0xef3f('0x16')][_0xef3f('0x1a')](_0x137325[_0xef3f('0x2d')])&&_0x51524e[_0xef3f('0x1c')]['addClass'](_0xef3f('0x24'),_0x50cd6f),_0x51524e['writer']['insert'](_0xb5b6d8,_0x50cd6f),_0x51524e['mapper'][_0xef3f('0x4')](_0x50cd6f,_0x137325[_0xef3f('0x2d')]);}};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x45d5=['getItems','afterInit','enableCommand','getAttributeProperties','isCollapsed','isFormatting','registerDescriptionCallback','schema','editor','*Remove\x20all\x20formatting*','plugins','removeFormat','createRangeOn','markInlineFormat','change','format','get','TrackChangesEditing','document','selection','model'];(function(_0x29d512,_0x45d5c1){const _0x39e1a7=function(_0x44121f){while(--_0x44121f){_0x29d512['push'](_0x29d512['shift']());}};_0x39e1a7(++_0x45d5c1);}(_0x45d5,0x113));const _0x39e1=function(_0x29d512,_0x45d5c1){_0x29d512=_0x29d512-0x0;let _0x39e1a7=_0x45d5[_0x29d512];return _0x39e1a7;};import{Plugin as _0x1f4c42}from'ckeditor5/src/core';import{getTranslation as _0x22b854}from'../utils/common-translations';export default class ht extends _0x1f4c42{[_0x39e1('0x14')](){const _0x369913=this[_0x39e1('0x6')];if(!_0x369913[_0x39e1('0x8')]['has']('RemoveFormatEditing'))return;const _0x2f4329=_0x369913[_0x39e1('0x8')][_0x39e1('0xe')](_0x39e1('0xf'));_0x2f4329[_0x39e1('0x0')]('removeFormat',_0x5bf76a=>{const _0x7c568e=_0x369913[_0x39e1('0x12')][_0x39e1('0x10')][_0x39e1('0x11')];_0x7c568e[_0x39e1('0x2')]?_0x5bf76a():_0x369913[_0x39e1('0x12')][_0x39e1('0xc')](()=>{const _0x28e6c6=Array['from'](_0x7c568e['getRanges']());for(const _0x558114 of _0x28e6c6)for(const _0x1c7ab9 of _0x558114[_0x39e1('0x13')]())mo(_0x1c7ab9,_0x369913['model'][_0x39e1('0x5')])&&_0x2f4329[_0x39e1('0xb')](_0x369913['model'][_0x39e1('0xa')](_0x1c7ab9),{'commandName':'removeFormat','commandParams':[]});});}),_0x2f4329['_descriptionFactory'][_0x39e1('0x4')](_0x1f35fa=>{const {data:_0x12f625}=_0x1f35fa;if(_0x12f625&&_0x39e1('0x9')==_0x12f625['commandName'])return{'type':_0x39e1('0xd'),'content':_0x22b854(_0x369913['locale'],_0x39e1('0x7'))};});}}function mo(_0x1c76e9,_0x5a5985){for(const [_0x509374]of _0x1c76e9['getAttributes']()){const _0x2a3732=_0x5a5985[_0x39e1('0x1')](_0x509374);if(_0x2a3732&&_0x2a3732[_0x39e1('0x3')])return!0x0;}return!0x1;}
23
+ const _0x2e02=['has','locale','plugins','_descriptionFactory','commandName','format','_registerLegacyDescription','*Remove\x20all\x20formatting*','TrackChangesEditing','_enableDefaultAttributesIntegration','formatInline','editor','removeFormat','type'];(function(_0x48a300,_0x2e0223){const _0x26c755=function(_0x50c480){while(--_0x50c480){_0x48a300['push'](_0x48a300['shift']());}};_0x26c755(++_0x2e0223);}(_0x2e02,0x195));const _0x26c7=function(_0x48a300,_0x2e0223){_0x48a300=_0x48a300-0x0;let _0x26c755=_0x2e02[_0x48a300];return _0x26c755;};import{Plugin as _0x1f1bdb}from'ckeditor5/src/core';import{getTranslation as _0x1a3c8e}from'../utils/common-translations';export default class mt extends _0x1f1bdb{['afterInit'](){const _0x33ac68=this[_0x26c7('0xc')];if(!_0x33ac68[_0x26c7('0x3')][_0x26c7('0x1')]('RemoveFormatEditing'))return;_0x33ac68[_0x26c7('0x3')]['get'](_0x26c7('0x9'))[_0x26c7('0xa')]('removeFormat'),this[_0x26c7('0x7')]();}[_0x26c7('0x7')](){const _0x31a0b3=this[_0x26c7('0xc')];_0x31a0b3[_0x26c7('0x3')]['get']('TrackChangesEditing')[_0x26c7('0x4')]['registerDescriptionCallback'](_0x3e6d6f=>{if('formatBlock'!=_0x3e6d6f[_0x26c7('0x0')]&&_0x26c7('0xb')!=_0x3e6d6f[_0x26c7('0x0')])return;const {data:_0x16f47c}=_0x3e6d6f;return _0x16f47c&&_0x26c7('0xd')==_0x16f47c[_0x26c7('0x5')]?{'type':_0x26c7('0x6'),'content':_0x1a3c8e(_0x31a0b3[_0x26c7('0x2')],_0x26c7('0x8'))}:void 0x0;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x59b5=['get','enableCommand','TrackChangesEditing','RestrictedEditingModeEditing','acceptAllSuggestions','discardAllSuggestions','afterInit','acceptSuggestion','plugins','goToNextRestrictedEditingException','acceptSelectedSuggestions','discardSelectedSuggestions','trackChanges','discardSuggestion'];(function(_0xc8f749,_0x59b57c){const _0x404ecb=function(_0x35b3c5){while(--_0x35b3c5){_0xc8f749['push'](_0xc8f749['shift']());}};_0x404ecb(++_0x59b57c);}(_0x59b5,0x98));const _0x404e=function(_0xc8f749,_0x59b57c){_0xc8f749=_0xc8f749-0x0;let _0x404ecb=_0x59b5[_0xc8f749];return _0x404ecb;};import{Plugin as _0x31c3a9}from'ckeditor5/src/core';export default class ut extends _0x31c3a9{[_0x404e('0x8')](){const _0x36fb6e=this['editor'];if(!_0x36fb6e[_0x404e('0xa')]['has'](_0x404e('0x5')))return;const _0x12342b=_0x36fb6e['plugins'][_0x404e('0x2')](_0x404e('0x4'));_0x12342b[_0x404e('0x3')]('goToPreviousRestrictedEditingException'),_0x12342b[_0x404e('0x3')](_0x404e('0xb'));const _0x6c234d=_0x36fb6e[_0x404e('0xa')][_0x404e('0x2')]('RestrictedEditingModeEditing');_0x6c234d[_0x404e('0x3')](_0x404e('0x0')),_0x6c234d['enableCommand'](_0x404e('0x9')),_0x6c234d[_0x404e('0x3')](_0x404e('0x1')),_0x6c234d['enableCommand'](_0x404e('0x6')),_0x6c234d[_0x404e('0x3')](_0x404e('0x7')),_0x6c234d['enableCommand'](_0x404e('0xc')),_0x6c234d[_0x404e('0x3')](_0x404e('0xd'));}}
23
+ const _0x100b=['discardAllSuggestions','enableCommand','plugins','TrackChangesEditing','discardSuggestion','trackChanges','goToPreviousRestrictedEditingException','goToNextRestrictedEditingException','has','discardSelectedSuggestions','RestrictedEditingModeEditing','get','editor'];(function(_0x5964f7,_0x100b3e){const _0x411737=function(_0x138027){while(--_0x138027){_0x5964f7['push'](_0x5964f7['shift']());}};_0x411737(++_0x100b3e);}(_0x100b,0x1db));const _0x4117=function(_0x5964f7,_0x100b3e){_0x5964f7=_0x5964f7-0x0;let _0x411737=_0x100b[_0x5964f7];return _0x411737;};import{Plugin as _0x42200e}from'ckeditor5/src/core';export default class dt extends _0x42200e{['afterInit'](){const _0x45b90a=this[_0x4117('0x5')];if(!_0x45b90a[_0x4117('0x8')][_0x4117('0x1')]('RestrictedEditingModeEditing'))return;const _0x247bac=_0x45b90a[_0x4117('0x8')][_0x4117('0x4')](_0x4117('0x9'));_0x247bac['enableCommand'](_0x4117('0xc')),_0x247bac[_0x4117('0x7')](_0x4117('0x0'));const _0x3aeb36=_0x45b90a['plugins'][_0x4117('0x4')](_0x4117('0x3'));_0x3aeb36['enableCommand'](_0x4117('0xb')),_0x3aeb36['enableCommand']('acceptSuggestion'),_0x3aeb36[_0x4117('0x7')](_0x4117('0xa')),_0x3aeb36[_0x4117('0x7')]('acceptAllSuggestions'),_0x3aeb36[_0x4117('0x7')](_0x4117('0x6')),_0x3aeb36['enableCommand']('acceptSelectedSuggestions'),_0x3aeb36[_0x4117('0x7')](_0x4117('0x2'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x104f=['data','registerElementLabel','addClass','addMarker:suggestion:deletion','bindElementToMarker','deletion','_descriptionFactory','init','split','addMarker:suggestion:insertion','high','plugins','ck-suggestion-marker--active','createPositionBefore','mapper','TrackChangesEditing','span','shiftEnter','get','markerRange','editing','ck-suggestion-marker-','writer','insert','ELEMENT_LINE_BREAK','merge','markerName','downcastDispatcher','softBreak','name','showSuggestionHighlights','toViewPosition'];(function(_0x5af198,_0x104f1e){const _0x17a4c9=function(_0xb8893c){while(--_0xb8893c){_0x5af198['push'](_0x5af198['shift']());}};_0x17a4c9(++_0x104f1e);}(_0x104f,0x1e2));const _0x17a4=function(_0x5af198,_0x104f1e){_0x5af198=_0x5af198-0x0;let _0x17a4c9=_0x104f[_0x5af198];return _0x17a4c9;};import{Plugin as _0x2e2343}from'ckeditor5/src/core';import{ShiftEnter as _0x3ef80b}from'ckeditor5/src/enter';import{getTranslation as _0x2f9e7d}from'../utils/common-translations';export default class ft extends _0x2e2343{static get['requires'](){return[_0x3ef80b];}[_0x17a4('0x5')](){const _0x2c5425=this['editor'],_0x4c4c44=_0x2c5425[_0x17a4('0x9')][_0x17a4('0x10')](_0x17a4('0xd'));_0x4c4c44['enableCommand'](_0x17a4('0xf')),_0x2c5425['editing'][_0x17a4('0x19')]['on'](_0x17a4('0x7'),re(_0x2c5425),{'priority':'high'}),_0x2c5425[_0x17a4('0x12')][_0x17a4('0x19')]['on'](_0x17a4('0x1'),re(_0x2c5425),{'priority':_0x17a4('0x8')}),_0x2c5425[_0x17a4('0x1e')][_0x17a4('0x19')]['on']('addMarker:suggestion',(_0x86e792,_0xe11e4,_0x5ac4b8)=>{_0x5ac4b8['options'][_0x17a4('0x1c')]&&re(_0x2c5425,{'showActiveMarker':!0x1})(_0x86e792,_0xe11e4,_0x5ac4b8);}),_0x4c4c44[_0x17a4('0x4')][_0x17a4('0x1f')](_0x17a4('0x1a'),_0x7b41b2=>_0x2f9e7d(_0x2c5425['locale'],_0x17a4('0x16'),_0x7b41b2));}}function re(_0x49c6f4,{showActiveMarker:_0x4f4e6a=!0x0}={}){return(_0x284af1,_0x224817,_0xfa1fef)=>{const _0x165b0f=_0x49c6f4['plugins'][_0x17a4('0x10')]('TrackChangesEditing');if(!_0xfa1fef['consumable']['test'](_0x224817['markerRange'],_0x284af1[_0x17a4('0x1b')]))return;const _0xac2e0f=_0x49c6f4['model'];for(const _0x1f224a of _0x224817[_0x17a4('0x11')]['getItems']()){if(!_0x1f224a['is']('element',_0x17a4('0x1a')))continue;const _0x35bc2c=_0x17a4('0x3')==_0x224817['markerName']['split'](':')[0x1]?_0x17a4('0x17'):_0x17a4('0x6'),_0x420823=_0xfa1fef[_0x17a4('0x14')]['createUIElement'](_0x17a4('0xe'),{'class':_0x17a4('0x13')+_0x35bc2c}),_0x507de8=_0xfa1fef['mapper'][_0x17a4('0x1d')](_0xac2e0f[_0x17a4('0xb')](_0x1f224a));_0x4f4e6a&&_0x165b0f['activeMarkers']['includes'](_0x224817['markerName'])&&_0xfa1fef['writer'][_0x17a4('0x0')](_0x17a4('0xa'),_0x420823),_0xfa1fef[_0x17a4('0x14')][_0x17a4('0x15')](_0x507de8,_0x420823),_0xfa1fef[_0x17a4('0xc')][_0x17a4('0x2')](_0x420823,_0x224817[_0x17a4('0x18')]);}};}
23
+ const _0x5337=['createUIElement','data','locale','requires','get','high','editing','split','test','consumable','getItems','bindElementToMarker','createPositionBefore','includes','insert','name','deletion','plugins','softBreak','activeMarkers','span','writer','_descriptionFactory','downcastDispatcher','model','addMarker:suggestion:deletion','toViewPosition','showSuggestionHighlights','ELEMENT_LINE_BREAK','addMarker:suggestion','element','markerName','markerRange','addMarker:suggestion:insertion','TrackChangesEditing'];(function(_0x2d1fb4,_0x5337f4){const _0x541780=function(_0x4f4aea){while(--_0x4f4aea){_0x2d1fb4['push'](_0x2d1fb4['shift']());}};_0x541780(++_0x5337f4);}(_0x5337,0x121));const _0x5417=function(_0x2d1fb4,_0x5337f4){_0x2d1fb4=_0x2d1fb4-0x0;let _0x541780=_0x5337[_0x2d1fb4];return _0x541780;};import{Plugin as _0x2432c5}from'ckeditor5/src/core';import{ShiftEnter as _0x47214f}from'ckeditor5/src/enter';import{getTranslation as _0x193c8f}from'../utils/common-translations';export default class pt extends _0x2432c5{static get[_0x5417('0x1d')](){return[_0x47214f];}['init'](){const _0x297549=this['editor'],_0x4294d9=_0x297549[_0x5417('0x8')][_0x5417('0x1e')](_0x5417('0x19'));_0x4294d9['enableCommand']('shiftEnter'),_0x297549[_0x5417('0x20')][_0x5417('0xe')]['on'](_0x5417('0x18'),re(_0x297549),{'priority':_0x5417('0x1f')}),_0x297549[_0x5417('0x20')][_0x5417('0xe')]['on'](_0x5417('0x10'),re(_0x297549),{'priority':'high'}),_0x297549[_0x5417('0x1b')][_0x5417('0xe')]['on'](_0x5417('0x14'),(_0x2d2bc1,_0x383a84,_0x536d3c)=>{_0x536d3c['options'][_0x5417('0x12')]&&re(_0x297549,{'showActiveMarker':!0x1})(_0x2d2bc1,_0x383a84,_0x536d3c);}),_0x4294d9[_0x5417('0xd')]['registerElementLabel'](_0x5417('0x9'),_0x1d68e1=>_0x193c8f(_0x297549[_0x5417('0x1c')],_0x5417('0x13'),_0x1d68e1));}}function re(_0x10733c,{showActiveMarker:_0x45cde3=!0x0}={}){return(_0x597778,_0x4d2b29,_0x21d475)=>{const _0x49d69e=_0x10733c['plugins'][_0x5417('0x1e')]('TrackChangesEditing');if(!_0x21d475[_0x5417('0x0')][_0x5417('0x22')](_0x4d2b29[_0x5417('0x17')],_0x597778[_0x5417('0x6')]))return;const _0x20381c=_0x10733c[_0x5417('0xf')];for(const _0x1c3492 of _0x4d2b29[_0x5417('0x17')][_0x5417('0x1')]()){if(!_0x1c3492['is'](_0x5417('0x15'),_0x5417('0x9')))continue;const _0x236165=_0x5417('0x7')==_0x4d2b29[_0x5417('0x16')][_0x5417('0x21')](':')[0x1]?'merge':_0x5417('0x21'),_0x226ffc=_0x21d475[_0x5417('0xc')][_0x5417('0x1a')](_0x5417('0xb'),{'class':'ck-suggestion-marker-'+_0x236165}),_0x50c1e0=_0x21d475['mapper'][_0x5417('0x11')](_0x20381c[_0x5417('0x3')](_0x1c3492));_0x45cde3&&_0x49d69e[_0x5417('0xa')][_0x5417('0x4')](_0x4d2b29[_0x5417('0x16')])&&_0x21d475[_0x5417('0xc')]['addClass']('ck-suggestion-marker--active',_0x226ffc),_0x21d475[_0x5417('0xc')][_0x5417('0x5')](_0x50c1e0,_0x226ffc),_0x21d475['mapper'][_0x5417('0x2')](_0x226ffc,_0x4d2b29[_0x5417('0x16')]);}};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xb70e=['plugins','afterInit','TrackChangesEditing','markInlineFormat','editor','model','value','FORMAT_RESTRICTED_DISABLED','commandParams','forceValue','FORMAT_RESTRICTED_ENABLED','document','from','selection','format','enableCommand','change','commands','isCollapsed','StandardEditingModeEditing','registerDescriptionCallback','has','restrictedEditingException','_descriptionFactory'];(function(_0x533a0d,_0xb70ec4){const _0x23dcf2=function(_0x1729e7){while(--_0x1729e7){_0x533a0d['push'](_0x533a0d['shift']());}};_0x23dcf2(++_0xb70ec4);}(_0xb70e,0x1c1));const _0x23dc=function(_0x533a0d,_0xb70ec4){_0x533a0d=_0x533a0d-0x0;let _0x23dcf2=_0xb70e[_0x533a0d];return _0x23dcf2;};import{Plugin as _0x292ed6}from'ckeditor5/src/core';import{getRangesWithAttribute as _0x5e51f7}from'./utils';import{getTranslation as _0xf267e6}from'../utils/common-translations';export default class lt extends _0x292ed6{[_0x23dc('0x8')](){const _0x36fa88=this[_0x23dc('0xb')],_0x4e2680=_0x36fa88[_0x23dc('0xc')],_0x4dc72a=_0x36fa88['locale'];if(!_0x36fa88[_0x23dc('0x7')][_0x23dc('0x4')](_0x23dc('0x2')))return;const _0x3389d2=_0x36fa88[_0x23dc('0x7')]['get'](_0x23dc('0x9')),_0x196744=_0x23dc('0x5'),_0x36cb91=_0x36fa88[_0x23dc('0x0')]['get'](_0x196744);_0x3389d2[_0x23dc('0x16')](_0x196744,(_0x1b3dbf,_0x539324={})=>{const _0x1eb3fe=_0x4e2680[_0x23dc('0x12')][_0x23dc('0x14')];if(_0x1eb3fe[_0x23dc('0x1')])return void _0x1b3dbf(_0x539324);const _0x10274f=void 0x0!==_0x539324[_0x23dc('0x10')]?_0x539324[_0x23dc('0x10')]:!_0x36cb91[_0x23dc('0xd')];_0x4e2680[_0x23dc('0x17')](()=>{const _0x34a1df=Array[_0x23dc('0x13')](_0x1eb3fe['getRanges']());for(const _0x421d8f of _0x34a1df){const _0x32f484=_0x10274f?[_0x421d8f]:_0x5e51f7(_0x196744,_0x421d8f,_0x4e2680);for(const _0x3ff1be of _0x32f484)_0x3389d2[_0x23dc('0xa')](_0x3ff1be,{'commandName':_0x196744,'commandParams':[{'forceValue':_0x10274f}]});}});}),_0x3389d2[_0x23dc('0x6')][_0x23dc('0x3')](_0x3e78a=>{const {data:_0x17e49f}=_0x3e78a;if(_0x17e49f&&_0x17e49f['commandName']==_0x196744)return _0x17e49f[_0x23dc('0xf')][0x0][_0x23dc('0x10')]?{'type':_0x23dc('0x15'),'content':_0xf267e6(_0x4dc72a,_0x23dc('0x11'))}:{'type':'format','content':_0xf267e6(_0x4dc72a,_0x23dc('0xe'))};});}}
23
+ const _0x2b81=['change','isCollapsed','format','getRanges','FORMAT_RESTRICTED_ENABLED','afterInit','has','formatBlock','StandardEditingModeEditing','_descriptionFactory','registerDescriptionCallback','markInlineFormat','model','document','type','locale','forceValue','get','value','selection','commands','formatInline','enableCommand','FORMAT_RESTRICTED_DISABLED','editor','TrackChangesEditing'];(function(_0x51d2e5,_0x2b812f){const _0x50cc6d=function(_0x2f40e5){while(--_0x2f40e5){_0x51d2e5['push'](_0x51d2e5['shift']());}};_0x50cc6d(++_0x2b812f);}(_0x2b81,0x1bc));const _0x50cc=function(_0x51d2e5,_0x2b812f){_0x51d2e5=_0x51d2e5-0x0;let _0x50cc6d=_0x2b81[_0x51d2e5];return _0x50cc6d;};import{Plugin as _0x200ba5}from'ckeditor5/src/core';import{getRangesWithAttribute as _0x345b1a}from'./utils';import{getTranslation as _0x4f1a7f}from'../utils/common-translations';export default class kt extends _0x200ba5{[_0x50cc('0x3')](){const _0x4a3c5d=this[_0x50cc('0x16')],_0x3e06fa=_0x4a3c5d[_0x50cc('0xa')],_0x3cc790=_0x4a3c5d[_0x50cc('0xd')];if(!_0x4a3c5d['plugins'][_0x50cc('0x4')](_0x50cc('0x6')))return;const _0xa9a0b6=_0x4a3c5d['plugins'][_0x50cc('0xf')](_0x50cc('0x17')),_0x4def47='restrictedEditingException',_0x37f795=_0x4a3c5d[_0x50cc('0x12')][_0x50cc('0xf')](_0x4def47);_0xa9a0b6[_0x50cc('0x14')](_0x4def47,(_0x4e8cc0,_0x212e4f={})=>{const _0x3f8d3e=_0x3e06fa[_0x50cc('0xb')][_0x50cc('0x11')];if(_0x3f8d3e[_0x50cc('0x19')])return void _0x4e8cc0(_0x212e4f);const _0x329bb0=void 0x0!==_0x212e4f[_0x50cc('0xe')]?_0x212e4f[_0x50cc('0xe')]:!_0x37f795[_0x50cc('0x10')];_0x3e06fa[_0x50cc('0x18')](()=>{const _0x592749=Array['from'](_0x3f8d3e[_0x50cc('0x1')]());for(const _0x4bbd92 of _0x592749){const _0x1e4a13=_0x329bb0?[_0x4bbd92]:_0x345b1a(_0x4def47,_0x4bbd92,_0x3e06fa);for(const _0x510717 of _0x1e4a13)_0xa9a0b6[_0x50cc('0x9')](_0x510717,{'commandName':_0x4def47,'commandParams':[{'forceValue':_0x329bb0}]});}});}),_0xa9a0b6[_0x50cc('0x7')][_0x50cc('0x8')](_0x4b8445=>{if(_0x50cc('0x5')!=_0x4b8445[_0x50cc('0xc')]&&_0x50cc('0x13')!=_0x4b8445['type'])return;const {data:_0x4e6e5e}=_0x4b8445;return _0x4e6e5e&&_0x4e6e5e['commandName']==_0x4def47?_0x4e6e5e['commandParams'][0x0]['forceValue']?{'type':'format','content':_0x4f1a7f(_0x3cc790,_0x50cc('0x2'))}:{'type':_0x50cc('0x0'),'content':_0x4f1a7f(_0x3cc790,_0x50cc('0x15'))}:void 0x0;});}}
@@ -8,7 +8,6 @@
8
8
  import { Plugin } from 'ckeditor5/src/core';
9
9
  /**
10
10
  * Provides track changes plugin integration for styles dropdown feature.
11
- * @todo Remove "any" casts after plugin has been rewritten to TS.
12
11
  */
13
12
  export default class TrackChangesStylesDropdown extends Plugin {
14
13
  /**