@ckeditor/ckeditor5-track-changes 39.0.1 → 40.0.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 (185) hide show
  1. package/CHANGELOG.md +2 -2
  2. package/LICENSE.md +6 -6
  3. package/README.md +14 -14
  4. package/build/track-changes.js +1 -1
  5. package/lang/translations/ar.po +1 -0
  6. package/lang/translations/az.po +1 -0
  7. package/lang/translations/bg.po +1 -0
  8. package/lang/translations/bn.po +1 -0
  9. package/lang/translations/ca.po +1 -0
  10. package/lang/translations/cs.po +1 -0
  11. package/lang/translations/da.po +1 -0
  12. package/lang/translations/de.po +1 -0
  13. package/lang/translations/el.po +1 -0
  14. package/lang/translations/en-au.po +1 -0
  15. package/lang/translations/en.po +1 -0
  16. package/lang/translations/es.po +1 -0
  17. package/lang/translations/et.po +1 -0
  18. package/lang/translations/fi.po +1 -0
  19. package/lang/translations/fr.po +1 -0
  20. package/lang/translations/gl.po +1 -0
  21. package/lang/translations/he.po +1 -0
  22. package/lang/translations/hi.po +1 -0
  23. package/lang/translations/hr.po +1 -0
  24. package/lang/translations/hu.po +1 -0
  25. package/lang/translations/id.po +1 -0
  26. package/lang/translations/it.po +1 -0
  27. package/lang/translations/ja.po +1 -0
  28. package/lang/translations/ko.po +1 -0
  29. package/lang/translations/lt.po +1 -0
  30. package/lang/translations/lv.po +1 -0
  31. package/lang/translations/ms.po +1 -0
  32. package/lang/translations/nl.po +1 -0
  33. package/lang/translations/no.po +1 -0
  34. package/lang/translations/pl.po +1 -0
  35. package/lang/translations/pt-br.po +1 -0
  36. package/lang/translations/pt.po +1 -0
  37. package/lang/translations/ro.po +1 -0
  38. package/lang/translations/ru.po +1 -0
  39. package/lang/translations/sk.po +1 -0
  40. package/lang/translations/sq.po +1 -0
  41. package/lang/translations/sr-latn.po +1 -0
  42. package/lang/translations/sr.po +1 -0
  43. package/lang/translations/sv.po +1 -0
  44. package/lang/translations/th.po +1 -0
  45. package/lang/translations/tk.po +1 -0
  46. package/lang/translations/tr.po +1 -0
  47. package/lang/translations/tt.po +1 -0
  48. package/lang/translations/uk.po +1 -0
  49. package/lang/translations/ur.po +1 -0
  50. package/lang/translations/vi.po +1 -0
  51. package/lang/translations/zh-cn.po +1 -0
  52. package/lang/translations/zh.po +1 -0
  53. package/package.json +3 -7
  54. package/src/augmentation.d.ts +40 -40
  55. package/src/commands/acceptsuggestioncommand.d.ts +24 -24
  56. package/src/commands/acceptsuggestioncommand.js +1 -1
  57. package/src/commands/discardsuggestioncommand.d.ts +24 -24
  58. package/src/commands/discardsuggestioncommand.js +1 -1
  59. package/src/commands/executeonallsuggestionscommand.d.ts +24 -24
  60. package/src/commands/executeonallsuggestionscommand.js +1 -1
  61. package/src/commands/executeonselectedsuggestionscommand.d.ts +24 -24
  62. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  63. package/src/commands/trackchangescommand.d.ts +26 -26
  64. package/src/commands/trackchangescommand.js +1 -1
  65. package/src/index.d.ts +16 -16
  66. package/src/integrations/aiassistant.d.ts +17 -0
  67. package/src/integrations/aiassistant.js +23 -0
  68. package/src/integrations/alignment.d.ts +17 -17
  69. package/src/integrations/alignment.js +1 -1
  70. package/src/integrations/basicstyles.d.ts +17 -17
  71. package/src/integrations/basicstyles.js +1 -1
  72. package/src/integrations/blockquote.d.ts +17 -17
  73. package/src/integrations/blockquote.js +1 -1
  74. package/src/integrations/ckbox.d.ts +17 -17
  75. package/src/integrations/ckbox.js +1 -1
  76. package/src/integrations/codeblock.d.ts +17 -17
  77. package/src/integrations/codeblock.js +1 -1
  78. package/src/integrations/comments.d.ts +14 -14
  79. package/src/integrations/comments.js +1 -1
  80. package/src/integrations/deletecommand.d.ts +17 -17
  81. package/src/integrations/deletecommand.js +1 -1
  82. package/src/integrations/documentlist.d.ts +17 -17
  83. package/src/integrations/documentlist.js +1 -1
  84. package/src/integrations/documentlistproperties.d.ts +29 -29
  85. package/src/integrations/documentlistproperties.js +1 -1
  86. package/src/integrations/entercommand.d.ts +16 -16
  87. package/src/integrations/entercommand.js +1 -1
  88. package/src/integrations/findandreplace.d.ts +21 -21
  89. package/src/integrations/findandreplace.js +1 -1
  90. package/src/integrations/font.d.ts +17 -17
  91. package/src/integrations/font.js +1 -1
  92. package/src/integrations/formatpainter.d.ts +17 -17
  93. package/src/integrations/formatpainter.js +1 -1
  94. package/src/integrations/heading.d.ts +17 -17
  95. package/src/integrations/heading.js +1 -1
  96. package/src/integrations/highlight.d.ts +17 -17
  97. package/src/integrations/highlight.js +1 -1
  98. package/src/integrations/horizontalline.d.ts +17 -17
  99. package/src/integrations/horizontalline.js +1 -1
  100. package/src/integrations/htmlembed.d.ts +17 -17
  101. package/src/integrations/htmlembed.js +1 -1
  102. package/src/integrations/image.d.ts +17 -17
  103. package/src/integrations/image.js +1 -1
  104. package/src/integrations/imagereplace.d.ts +23 -23
  105. package/src/integrations/imagereplace.js +1 -1
  106. package/src/integrations/importword.d.ts +18 -18
  107. package/src/integrations/importword.js +1 -1
  108. package/src/integrations/indent.d.ts +17 -17
  109. package/src/integrations/indent.js +1 -1
  110. package/src/integrations/inputcommand.d.ts +16 -16
  111. package/src/integrations/inputcommand.js +1 -1
  112. package/src/integrations/link.d.ts +17 -17
  113. package/src/integrations/link.js +1 -1
  114. package/src/integrations/list.d.ts +17 -17
  115. package/src/integrations/list.js +1 -1
  116. package/src/integrations/listproperties.d.ts +29 -29
  117. package/src/integrations/listproperties.js +1 -1
  118. package/src/integrations/mediaembed.d.ts +17 -17
  119. package/src/integrations/mediaembed.js +1 -1
  120. package/src/integrations/mention.d.ts +17 -17
  121. package/src/integrations/mention.js +1 -1
  122. package/src/integrations/pagebreak.d.ts +17 -17
  123. package/src/integrations/pagebreak.js +1 -1
  124. package/src/integrations/paragraph.d.ts +17 -17
  125. package/src/integrations/paragraph.js +1 -1
  126. package/src/integrations/removeformat.d.ts +17 -17
  127. package/src/integrations/removeformat.js +1 -1
  128. package/src/integrations/restrictededitingmode.d.ts +17 -17
  129. package/src/integrations/restrictededitingmode.js +1 -1
  130. package/src/integrations/shiftentercommand.d.ts +16 -16
  131. package/src/integrations/shiftentercommand.js +1 -1
  132. package/src/integrations/standardeditingmode.d.ts +17 -17
  133. package/src/integrations/standardeditingmode.js +1 -1
  134. package/src/integrations/style.d.ts +18 -18
  135. package/src/integrations/style.js +1 -1
  136. package/src/integrations/table.d.ts +42 -42
  137. package/src/integrations/table.js +1 -1
  138. package/src/integrations/tablecaption.d.ts +22 -22
  139. package/src/integrations/tablecaption.js +1 -1
  140. package/src/integrations/tableclipboard.d.ts +19 -19
  141. package/src/integrations/tableclipboard.js +1 -1
  142. package/src/integrations/tablecolumnresize.d.ts +26 -26
  143. package/src/integrations/tablecolumnresize.js +1 -1
  144. package/src/integrations/tableheadings.d.ts +22 -22
  145. package/src/integrations/tableheadings.js +1 -1
  146. package/src/integrations/tablemergesplit.d.ts +22 -22
  147. package/src/integrations/tablemergesplit.js +1 -1
  148. package/src/integrations/tableofcontents.d.ts +17 -17
  149. package/src/integrations/tableofcontents.js +1 -1
  150. package/src/integrations/tableproperties.d.ts +27 -27
  151. package/src/integrations/tableproperties.js +1 -1
  152. package/src/integrations/template.d.ts +17 -17
  153. package/src/integrations/template.js +1 -1
  154. package/src/integrations/title.d.ts +17 -17
  155. package/src/integrations/title.js +1 -1
  156. package/src/integrations/undo.d.ts +17 -17
  157. package/src/integrations/undo.js +1 -1
  158. package/src/integrations/utils.d.ts +21 -21
  159. package/src/integrations/utils.js +1 -1
  160. package/src/suggestion.d.ts +276 -276
  161. package/src/suggestion.js +1 -1
  162. package/src/suggestiondescriptionfactory.d.ts +163 -163
  163. package/src/suggestiondescriptionfactory.js +1 -1
  164. package/src/trackchanges.d.ts +244 -244
  165. package/src/trackchanges.js +1 -1
  166. package/src/trackchangesconfig.d.ts +75 -75
  167. package/src/trackchangesdata.d.ts +41 -41
  168. package/src/trackchangesdata.js +1 -1
  169. package/src/trackchangesediting.d.ts +468 -439
  170. package/src/trackchangesediting.js +1 -1
  171. package/src/trackchangesui.d.ts +38 -38
  172. package/src/trackchangesui.js +1 -1
  173. package/src/ui/suggestioncontroller.d.ts +37 -37
  174. package/src/ui/suggestioncontroller.js +1 -1
  175. package/src/ui/view/basesuggestionthreadview.d.ts +170 -170
  176. package/src/ui/view/basesuggestionthreadview.js +1 -1
  177. package/src/ui/view/suggestionthreadview.d.ts +182 -182
  178. package/src/ui/view/suggestionthreadview.js +1 -1
  179. package/src/utils/common-translations.d.ts +9 -9
  180. package/src/utils/common-translations.js +1 -1
  181. package/src/utils/utils.d.ts +30 -30
  182. package/src/utils/utils.js +1 -1
  183. package/theme/icons/track-changes-accept.svg +1 -1
  184. package/theme/icons/track-changes-discard.svg +1 -1
  185. package/theme/icons/track-changes.svg +1 -1
@@ -1,17 +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/codeblock
7
- */
8
- import { Plugin } from 'ckeditor5/src/core';
9
- /**
10
- * Provides track changes plugin integration for code block feature.
11
- */
12
- export default class TrackChangesCodeBlock extends Plugin {
13
- /**
14
- * @inheritDoc
15
- */
16
- afterInit(): void;
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/codeblock
7
+ */
8
+ import { Plugin } from 'ckeditor5/src/core';
9
+ /**
10
+ * Provides track changes plugin integration for code block feature.
11
+ */
12
+ export default class TrackChangesCodeBlock extends Plugin {
13
+ /**
14
+ * @inheritDoc
15
+ */
16
+ afterInit(): void;
17
+ }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4637=['_descriptionFactory','registerDescriptionCallback','commands','label','ELEMENT_CODE_BLOCK','commandParams','locale','has','afterInit','blockName','config','language','*Format:*\x20%0','forceValue','from','find','*Remove\x20format:*\x20%0','CodeBlock','model','enableCommand','checkChild','parent','filter','indentCodeBlock','outdentCodeBlock','editor','codeBlock','getSelectedBlocks','plugins','format','commandName','TrackChangesEditing','change','selection','get'];(function(_0x4686d9,_0x4637cc){const _0x2c5db3=function(_0xf87b28){while(--_0xf87b28){_0x4686d9['push'](_0x4686d9['shift']());}};_0x2c5db3(++_0x4637cc);}(_0x4637,0x18c));const _0x2c5d=function(_0x4686d9,_0x4637cc){_0x4686d9=_0x4686d9-0x0;let _0x2c5db3=_0x4637[_0x4686d9];return _0x2c5db3;};import{Plugin as _0x4a19b7}from'ckeditor5/src/core';import{getTranslation as _0x4a994a}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x2b2453}from'../utils/utils';export default class O extends _0x4a19b7{[_0x2c5d('0x20')](){const _0xeaf733=this[_0x2c5d('0xe')];if(!_0xeaf733[_0x2c5d('0x11')][_0x2c5d('0x1f')](_0x2c5d('0x6')))return;const _0xaf580c=_0xeaf733[_0x2c5d('0x11')][_0x2c5d('0x17')](_0x2c5d('0x14')),_0x244ec6=_0xeaf733[_0x2c5d('0x1e')],_0x36babd=_0xeaf733[_0x2c5d('0x22')][_0x2c5d('0x17')](_0x2c5d('0xf'))['languages'],_0x1c5917=_0xeaf733[_0x2c5d('0x1a')][_0x2c5d('0x17')]('codeBlock');_0xaf580c[_0x2c5d('0x8')](_0x2c5d('0xc')),_0xaf580c[_0x2c5d('0x8')](_0x2c5d('0xd')),_0xaf580c[_0x2c5d('0x8')]('codeBlock',(_0x201a97,_0x23894a={})=>{const _0x2813bb=_0xeaf733['model'],_0x5d4350=_0xeaf733[_0x2c5d('0x7')]['document'][_0x2c5d('0x16')],_0x5ecc48=_0x23894a&&void 0x0!==_0x23894a['forceValue']?_0x23894a[_0x2c5d('0x2')]:!_0x1c5917['value'];let _0x4629fa;_0x23894a['language']||(_0x23894a[_0x2c5d('0x0')]=_0x36babd[0x0][_0x2c5d('0x0')]),_0x4629fa=_0x5ecc48?Array[_0x2c5d('0x3')](_0x5d4350[_0x2c5d('0x10')]())['filter'](_0x2683ed=>to(_0x2683ed)||function(_0x24057c,_0x335e7d){if(_0x24057c['is']('rootElement')||_0x335e7d['isLimit'](_0x24057c))return!0x1;return _0x335e7d[_0x2c5d('0x9')](_0x24057c[_0x2c5d('0xa')],_0x2c5d('0xf'));}(_0x2683ed,_0x2813bb['schema'])):Array[_0x2c5d('0x3')](_0x5d4350['getSelectedBlocks']())[_0x2c5d('0xb')](_0x3bf94f=>to(_0x3bf94f));const _0x580fa6=_0x2b2453(_0x4629fa,_0x2813bb);_0x2813bb[_0x2c5d('0x15')](()=>{for(const _0x26dc8c of _0x580fa6)_0xaf580c['markBlockFormat'](_0x26dc8c,{'commandName':_0x2c5d('0xf'),'commandParams':[{..._0x23894a,'forceValue':_0x5ecc48}],'formatGroupId':_0x2c5d('0x21')});});}),(_0xaf580c[_0x2c5d('0x18')]['registerElementLabel'](_0x2c5d('0xf'),_0x5e8262=>_0x4a994a(_0x244ec6,_0x2c5d('0x1c'),_0x5e8262)),_0xaf580c['_descriptionFactory'][_0x2c5d('0x19')](_0x443616=>{const _0x3e0645=_0x244ec6['t'],{type:_0x1f980a,data:_0x5eb69c}=_0x443616;if('formatBlock'==_0x1f980a&&_0x5eb69c&&_0x2c5d('0xf')==_0x5eb69c[_0x2c5d('0x13')]){const _0x4d0c82=_0x5eb69c[_0x2c5d('0x1d')][0x0]['language'],_0x52d06e=_0x3e0645(_0x36babd[_0x2c5d('0x4')](_0x312feb=>_0x312feb[_0x2c5d('0x0')]===_0x4d0c82)[_0x2c5d('0x1b')]);return _0x5eb69c[_0x2c5d('0x1d')][0x0][_0x2c5d('0x2')]?{'type':_0x2c5d('0x12'),'content':_0x4a994a(_0x244ec6,_0x2c5d('0x1'),_0x4a994a(_0x244ec6,'ELEMENT_CODE_BLOCK',0x1)+'\x20('+_0x52d06e+')')}:{'type':_0x2c5d('0x12'),'content':_0x4a994a(_0x244ec6,_0x2c5d('0x5'),_0x4a994a(_0x244ec6,_0x2c5d('0x1c'),0x1))};}}));}}function to(_0x78aff5){return _0x2c5d('0xf')==_0x78aff5['name'];}
23
+ const _0x201e=['from','schema','languages','find','rootElement','_descriptionFactory','plugins','registerElementLabel','afterInit','*Format:*\x20%0','getSelectedBlocks','blockName','format','language','indentCodeBlock','filter','*Remove\x20format:*\x20%0','label','document','enableCommand','forceValue','has','selection','markBlockFormat','commands','locale','checkChild','get','commandParams','CodeBlock','change','isLimit','name','codeBlock','ELEMENT_CODE_BLOCK'];(function(_0x56a9da,_0x201eb9){const _0x302b86=function(_0x1b9375){while(--_0x1b9375){_0x56a9da['push'](_0x56a9da['shift']());}};_0x302b86(++_0x201eb9);}(_0x201e,0x1d0));const _0x302b=function(_0x56a9da,_0x201eb9){_0x56a9da=_0x56a9da-0x0;let _0x302b86=_0x201e[_0x56a9da];return _0x302b86;};import{Plugin as _0x2d8564}from'ckeditor5/src/core';import{getTranslation as _0x5e570e}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x3ceb7f}from'../utils/utils';export default class F extends _0x2d8564{[_0x302b('0x22')](){const _0x4278ad=this['editor'];if(!_0x4278ad[_0x302b('0x20')][_0x302b('0xc')](_0x302b('0x14')))return;const _0x4097c6=_0x4278ad[_0x302b('0x20')]['get']('TrackChangesEditing'),_0x3d80c3=_0x4278ad[_0x302b('0x10')],_0x73cdc8=_0x4278ad['config'][_0x302b('0x12')](_0x302b('0x18'))[_0x302b('0x1c')],_0x8bd656=_0x4278ad[_0x302b('0xf')][_0x302b('0x12')](_0x302b('0x18'));_0x4097c6[_0x302b('0xa')](_0x302b('0x5')),_0x4097c6[_0x302b('0xa')]('outdentCodeBlock'),_0x4097c6[_0x302b('0xa')](_0x302b('0x18'),(_0x376986,_0x466dca={})=>{const _0x4c46bb=_0x4278ad['model'],_0x429cec=_0x4278ad['model'][_0x302b('0x9')][_0x302b('0xd')],_0x320ff9=_0x466dca&&void 0x0!==_0x466dca[_0x302b('0xb')]?_0x466dca[_0x302b('0xb')]:!_0x8bd656['value'];let _0x9cc5cf;_0x466dca[_0x302b('0x4')]||(_0x466dca[_0x302b('0x4')]=_0x73cdc8[0x0][_0x302b('0x4')]),_0x9cc5cf=_0x320ff9?Array[_0x302b('0x1a')](_0x429cec[_0x302b('0x1')]())[_0x302b('0x6')](_0x283708=>co(_0x283708)||function(_0x44880e,_0x17c57d){if(_0x44880e['is'](_0x302b('0x1e'))||_0x17c57d[_0x302b('0x16')](_0x44880e))return!0x1;return _0x17c57d[_0x302b('0x11')](_0x44880e['parent'],_0x302b('0x18'));}(_0x283708,_0x4c46bb[_0x302b('0x1b')])):Array[_0x302b('0x1a')](_0x429cec[_0x302b('0x1')]())[_0x302b('0x6')](_0x4462b6=>co(_0x4462b6));const _0x2f51d6=_0x3ceb7f(_0x9cc5cf,_0x4c46bb);_0x4c46bb[_0x302b('0x15')](()=>{for(const _0x2bb54d of _0x2f51d6)_0x4097c6[_0x302b('0xe')](_0x2bb54d,{'commandName':_0x302b('0x18'),'commandParams':[{..._0x466dca,'forceValue':_0x320ff9}],'formatGroupId':_0x302b('0x2')});});}),(_0x4097c6[_0x302b('0x1f')][_0x302b('0x21')](_0x302b('0x18'),_0xa8408d=>_0x5e570e(_0x3d80c3,_0x302b('0x19'),_0xa8408d)),_0x4097c6[_0x302b('0x1f')]['registerDescriptionCallback'](_0x48fab5=>{const _0x3ebc3e=_0x3d80c3['t'],{type:_0x313c6f,data:_0x26b7b7}=_0x48fab5;if('formatBlock'==_0x313c6f&&_0x26b7b7&&_0x302b('0x18')==_0x26b7b7['commandName']){const _0xfa2822=_0x26b7b7[_0x302b('0x13')][0x0]['language'],_0x2afa4a=_0x3ebc3e(_0x73cdc8[_0x302b('0x1d')](_0x3fa484=>_0x3fa484['language']===_0xfa2822)[_0x302b('0x8')]);return _0x26b7b7[_0x302b('0x13')][0x0]['forceValue']?{'type':_0x302b('0x3'),'content':_0x5e570e(_0x3d80c3,_0x302b('0x0'),_0x5e570e(_0x3d80c3,'ELEMENT_CODE_BLOCK',0x1)+'\x20('+_0x2afa4a+')')}:{'type':'format','content':_0x5e570e(_0x3d80c3,_0x302b('0x7'),_0x5e570e(_0x3d80c3,_0x302b('0x19'),0x1))};}}));}}function co(_0x2cdb35){return _0x302b('0x18')==_0x2cdb35[_0x302b('0x17')];}
@@ -1,14 +1,14 @@
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/comments
7
- */
8
- import { Plugin } from 'ckeditor5/src/core';
9
- /**
10
- * Provides track changes plugin integration for {@link module:comments/comments~Comments comments feature}.
11
- */
12
- export default class TrackChangesComments extends Plugin {
13
- afterInit(): void;
14
- }
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/comments
7
+ */
8
+ import { Plugin } from 'ckeditor5/src/core';
9
+ /**
10
+ * Provides track changes plugin integration for {@link module:comments/comments~Comments comments feature}.
11
+ */
12
+ export default class TrackChangesComments extends Plugin {
13
+ afterInit(): void;
14
+ }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x55d2=['get','enableCommand','plugins','TrackChangesEditing','CommentsEditing','addCommentThread','editor'];(function(_0x4f8b04,_0x55d2ef){const _0x422cb9=function(_0x380c5d){while(--_0x380c5d){_0x4f8b04['push'](_0x4f8b04['shift']());}};_0x422cb9(++_0x55d2ef);}(_0x55d2,0x1b2));const _0x422c=function(_0x4f8b04,_0x55d2ef){_0x4f8b04=_0x4f8b04-0x0;let _0x422cb9=_0x55d2[_0x4f8b04];return _0x422cb9;};import{Plugin as _0x46e1f7}from'ckeditor5/src/core';export default class F extends _0x46e1f7{['afterInit'](){const _0x394675=this[_0x422c('0x6')];if(!_0x394675[_0x422c('0x2')]['has'](_0x422c('0x4')))return;_0x394675['plugins'][_0x422c('0x0')](_0x422c('0x3'))[_0x422c('0x1')](_0x422c('0x5'));}}
23
+ const _0x5afc=['addCommentThread','has','get','enableCommand','afterInit','CommentsEditing','TrackChangesEditing','plugins','editor'];(function(_0x5b9792,_0x5afc29){const _0x587a61=function(_0x43f0c8){while(--_0x43f0c8){_0x5b9792['push'](_0x5b9792['shift']());}};_0x587a61(++_0x5afc29);}(_0x5afc,0x1e5));const _0x587a=function(_0x5b9792,_0x5afc29){_0x5b9792=_0x5b9792-0x0;let _0x587a61=_0x5afc[_0x5b9792];return _0x587a61;};import{Plugin as _0x201fa8}from'ckeditor5/src/core';export default class G extends _0x201fa8{[_0x587a('0x5')](){const _0x433240=this[_0x587a('0x0')];if(!_0x433240[_0x587a('0x8')][_0x587a('0x2')](_0x587a('0x6')))return;_0x433240[_0x587a('0x8')][_0x587a('0x3')](_0x587a('0x7'))[_0x587a('0x4')](_0x587a('0x1'));}}
@@ -1,17 +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/deletecommand
7
- */
8
- import { Plugin } from 'ckeditor5/src/core';
9
- import { Delete } from 'ckeditor5/src/typing';
10
- /**
11
- * Provides track changes plugin integration for {@link module:typing/inputcommand~DeleteCommand delete command}. Also
12
- * provides integration {@link module:engine/model/model~Model#deleteContent} as many features use it internally.
13
- */
14
- export default class TrackChangesDeleteCommand extends Plugin {
15
- static get requires(): readonly [typeof Delete];
16
- init(): void;
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/deletecommand
7
+ */
8
+ import { Plugin } from 'ckeditor5/src/core';
9
+ import { Delete } from 'ckeditor5/src/typing';
10
+ /**
11
+ * Provides track changes plugin integration for {@link module:typing/inputcommand~DeleteCommand delete command}. Also
12
+ * provides integration {@link module:engine/model/model~Model#deleteContent} as many features use it internally.
13
+ */
14
+ export default class TrackChangesDeleteCommand extends Plugin {
15
+ static get requires(): readonly [typeof Delete];
16
+ init(): void;
17
+ }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4502=['fromRange','mapper','batch','get','forward','createRange','delete','isCollapsed','markerName','buffer','merge','commands','plugins','markerNameToElements','TrackChangesEditing','$graveyard','unit','data','detach','addMarker:suggestion:deletion','high','downcastDispatcher','showSuggestionHighlights','setSelection','bind','createSelection','options','modifySelection','unbindElementFromMarkerName','requires','lock','uiElement','model','editor','root','deleteForward','rootName','getFirstRange','enableCommand','enqueueChange','start','removeMarker:suggestion:deletion','writer'];(function(_0xf49204,_0x450236){const _0x155366=function(_0x1a8980){while(--_0x1a8980){_0xf49204['push'](_0xf49204['shift']());}};_0x155366(++_0x450236);}(_0x4502,0xa4));const _0x1553=function(_0xf49204,_0x450236){_0xf49204=_0xf49204-0x0;let _0x155366=_0x4502[_0xf49204];return _0x155366;};import{Plugin as _0x949c29}from'ckeditor5/src/core';import{LiveRange as _0x11206c}from'ckeditor5/src/engine';import{Delete as _0x1a90ec}from'ckeditor5/src/typing';import{downcastSplitMergeMarker as _0x16ff7c}from'./utils';export default class G extends _0x949c29{static get[_0x1553('0x25')](){return[_0x1a90ec];}['init'](){const _0x2c9e44=this[_0x1553('0x29')],_0x5e23f8=_0x2c9e44[_0x1553('0x14')]['get'](_0x1553('0x16'));_0x5e23f8[_0x1553('0x3')](_0x1553('0xe'));const _0x216ed0=_0x2c9e44[_0x1553('0x13')][_0x1553('0xb')](_0x1553('0x0'));_0x5e23f8[_0x1553('0x3')]('deleteForward',(_0x2effad,_0x56b907={})=>{const _0xddf98=_0x2c9e44['model'][_0x1553('0x21')](_0x2c9e44['model']['document']['selection']);_0xddf98[_0x1553('0xf')]&&_0x2c9e44[_0x1553('0x28')][_0x1553('0x23')](_0xddf98,{'direction':_0x1553('0xc'),'unit':_0x56b907[_0x1553('0x18')]});const _0x27ec6a=_0xddf98[_0x1553('0x2')](),_0x4ea716=_0x11206c[_0x1553('0x8')](_0x27ec6a);let _0x45092d;_0x2effad(_0x56b907),_0x45092d=_0x1553('0x17')==_0x4ea716[_0x1553('0x2a')][_0x1553('0x1')]?_0x2c9e44[_0x1553('0x28')]['createRange'](_0x27ec6a[_0x1553('0x5')]):_0x2c9e44['model'][_0x1553('0xd')](_0x4ea716[_0x1553('0x5')],_0x4ea716['end']),_0x4ea716[_0x1553('0x1a')](),_0x2c9e44[_0x1553('0x28')][_0x1553('0x4')](_0x216ed0[_0x1553('0x11')][_0x1553('0xa')],_0x4e2483=>{_0x216ed0[_0x1553('0x11')][_0x1553('0x26')](),_0x4e2483[_0x1553('0x1f')](_0x4e2483[_0x1553('0xd')](_0x45092d['end'])),_0x216ed0[_0x1553('0x11')]['unlock']();});}),_0x2c9e44['editing'][_0x1553('0x1d')]['on'](_0x1553('0x1b'),_0x16ff7c(_0x2c9e44,'merge'),{'priority':'high'}),_0x2c9e44[_0x1553('0x19')][_0x1553('0x1d')]['on'](_0x1553('0x1b'),(_0xaa428c,_0x46976c,_0x9e7af5)=>{_0x9e7af5[_0x1553('0x22')][_0x1553('0x1e')]&&_0x16ff7c(_0x2c9e44,_0x1553('0x12'),{'showActiveMarker':!0x1})[_0x1553('0x20')](this)(_0xaa428c,_0x46976c,_0x9e7af5);},{'priority':_0x1553('0x1c')}),_0x2c9e44['editing'][_0x1553('0x1d')]['on'](_0x1553('0x6'),(_0xcbd0e1,_0x724c61,_0x1d63ca)=>{const _0x2747cc=_0x1d63ca['mapper'][_0x1553('0x15')](_0x724c61[_0x1553('0x10')]);if(_0x2747cc)for(const _0x2abc16 of _0x2747cc)_0x2abc16['is'](_0x1553('0x27'))&&(_0x1d63ca[_0x1553('0x9')][_0x1553('0x24')](_0x2abc16,_0x724c61[_0x1553('0x10')]),_0x1d63ca[_0x1553('0x7')]['remove'](_0x2abc16));},{'priority':_0x1553('0x1c')});}}
23
+ const _0x444c=['createRange','$graveyard','unbindElementFromMarkerName','enableCommand','get','end','merge','high','markerName','start','model','fromRange','unit','remove','delete','downcastDispatcher','init','deleteForward','batch','detach','setSelection','rootName','selection','uiElement','lock','forward','buffer','document','mapper','bind','TrackChangesEditing','removeMarker:suggestion:deletion','options','writer','markerNameToElements','addMarker:suggestion:deletion'];(function(_0x3871ae,_0x444c97){const _0x546cb8=function(_0x365d71){while(--_0x365d71){_0x3871ae['push'](_0x3871ae['shift']());}};_0x546cb8(++_0x444c97);}(_0x444c,0x151));const _0x546c=function(_0x3871ae,_0x444c97){_0x3871ae=_0x3871ae-0x0;let _0x546cb8=_0x444c[_0x3871ae];return _0x546cb8;};import{Plugin as _0x40855e}from'ckeditor5/src/core';import{LiveRange as _0x8bcdc1}from'ckeditor5/src/engine';import{Delete as _0x4a4f5d}from'ckeditor5/src/typing';import{downcastSplitMergeMarker as _0x1bc484}from'./utils';export default class L extends _0x40855e{static get['requires'](){return[_0x4a4f5d];}[_0x546c('0x3')](){const _0x3b725b=this['editor'],_0x357b58=_0x3b725b['plugins'][_0x546c('0x1b')](_0x546c('0x11'));_0x357b58[_0x546c('0x1a')](_0x546c('0x1'));const _0x59ac1e=_0x3b725b['commands']['get'](_0x546c('0x4'));_0x357b58[_0x546c('0x1a')](_0x546c('0x4'),(_0x5734b9,_0x2a6c77={})=>{const _0x1a8e41=_0x3b725b[_0x546c('0x21')]['createSelection'](_0x3b725b[_0x546c('0x21')][_0x546c('0xe')][_0x546c('0x9')]);_0x1a8e41['isCollapsed']&&_0x3b725b[_0x546c('0x21')]['modifySelection'](_0x1a8e41,{'direction':_0x546c('0xc'),'unit':_0x2a6c77[_0x546c('0x23')]});const _0x4fdbe1=_0x1a8e41['getFirstRange'](),_0x5546f9=_0x8bcdc1[_0x546c('0x22')](_0x4fdbe1);let _0x3ceb7c;_0x5734b9(_0x2a6c77),_0x3ceb7c=_0x546c('0x18')==_0x5546f9['root'][_0x546c('0x8')]?_0x3b725b[_0x546c('0x21')][_0x546c('0x17')](_0x4fdbe1[_0x546c('0x20')]):_0x3b725b[_0x546c('0x21')][_0x546c('0x17')](_0x5546f9['start'],_0x5546f9['end']),_0x5546f9[_0x546c('0x6')](),_0x3b725b[_0x546c('0x21')]['enqueueChange'](_0x59ac1e[_0x546c('0xd')][_0x546c('0x5')],_0x28c96b=>{_0x59ac1e[_0x546c('0xd')][_0x546c('0xb')](),_0x28c96b[_0x546c('0x7')](_0x28c96b[_0x546c('0x17')](_0x3ceb7c[_0x546c('0x1c')])),_0x59ac1e['buffer']['unlock']();});}),_0x3b725b['editing']['downcastDispatcher']['on']('addMarker:suggestion:deletion',_0x1bc484(_0x3b725b,_0x546c('0x1d')),{'priority':'high'}),_0x3b725b['data'][_0x546c('0x2')]['on'](_0x546c('0x16'),(_0x5deb64,_0x18cc25,_0x872f96)=>{_0x872f96[_0x546c('0x13')]['showSuggestionHighlights']&&_0x1bc484(_0x3b725b,_0x546c('0x1d'),{'showActiveMarker':!0x1})[_0x546c('0x10')](this)(_0x5deb64,_0x18cc25,_0x872f96);},{'priority':'high'}),_0x3b725b['editing'][_0x546c('0x2')]['on'](_0x546c('0x12'),(_0x466d91,_0x2e1cfb,_0x3b5539)=>{const _0x453690=_0x3b5539[_0x546c('0xf')][_0x546c('0x15')](_0x2e1cfb[_0x546c('0x1f')]);if(_0x453690)for(const _0x431e8c of _0x453690)_0x431e8c['is'](_0x546c('0xa'))&&(_0x3b5539['mapper'][_0x546c('0x19')](_0x431e8c,_0x2e1cfb[_0x546c('0x1f')]),_0x3b5539[_0x546c('0x14')][_0x546c('0x0')](_0x431e8c));},{'priority':_0x546c('0x1e')});}}
@@ -1,17 +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/documentlist
7
- */
8
- import { Plugin } from 'ckeditor5/src/core';
9
- /**
10
- * Provides track changes plugin integration for document list feature.
11
- */
12
- export default class TrackChangesDocumentList extends Plugin {
13
- /**
14
- * @inheritDoc
15
- */
16
- afterInit(): void;
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/documentlist
7
+ */
8
+ import { Plugin } from 'ckeditor5/src/core';
9
+ /**
10
+ * Provides track changes plugin integration for document list feature.
11
+ */
12
+ export default class TrackChangesDocumentList extends Plugin {
13
+ /**
14
+ * @inheritDoc
15
+ */
16
+ afterInit(): void;
17
+ }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xd800=['slice','push','*Format:*\x20remove\x20from\x20%0','ELEMENT_NUMBERED_LIST','createPositionAt','commandName','forceValue','listIndent','expandListBlocksToCompleteList','fromRange','isObject','nodeAfter','format','enableCommand','from','*Indent:*\x20%0','previousSibling','has','length','registerCustomCallback','splitListItemAfter','plugins','mergeListItemForward','detach','listItemId','*Format:*\x20insert\x20into\x20%0','value','get','formatBlock','change','map','ELEMENT_LIST_ITEM','multipleBlocks','findIndex','add','execute','getAttribute','ELEMENT_BULLETED_LIST','*Change\x20to:*\x20%0','commandParams','model','end','selection','start','createRange','document','TrackChangesEditing','parent','bulletedList','before','mergeListItemBackward','indentList','_descriptionFactory','nextSibling','documentList','_LIST','toUpperCase','registerElementLabel','outdentList','schema','isFirstBlockOfListItem','numberedList','editor','hasAttribute','*Outdent:*\x20%0','*Merge:*\x20%0','markBlockFormat','listType','commands','containsItem','getSelectedBlocks','getFirstRange','afterInit'];(function(_0x2368ba,_0xd800ee){const _0x38698c=function(_0x13733b){while(--_0x13733b){_0x2368ba['push'](_0x2368ba['shift']());}};_0x38698c(++_0xd800ee);}(_0xd800,0xf8));const _0x3869=function(_0x2368ba,_0xd800ee){_0x2368ba=_0x2368ba-0x0;let _0x38698c=_0xd800[_0x2368ba];return _0x38698c;};import{Plugin as _0x4508a8}from'ckeditor5/src/core';import{getTranslation as _0x25e30c}from'../utils/common-translations';import{LiveRange as _0x2b5f57}from'ckeditor5/src/engine';export default class L extends _0x4508a8{[_0x3869('0x2b')](){const _0x47b98a=this[_0x3869('0x21')];if(!_0x47b98a[_0x3869('0x41')][_0x3869('0x3d')]('DocumentListEditing'))return;const _0x4cd470=_0x47b98a['locale'],_0x1d4e68=_0x47b98a[_0x3869('0x41')][_0x3869('0x47')](_0x3869('0x11')),_0x20a6f5=_0x47b98a[_0x3869('0x41')][_0x3869('0x47')]('DocumentListUtils');function _0x5deb1c(_0x1c7eb9){return()=>{const _0x3f3d27=_0x47b98a[_0x3869('0x27')][_0x3869('0x47')](_0x1c7eb9);let _0x2bc7bf=Array[_0x3869('0x3a')](_0x47b98a[_0x3869('0xb')]['document'][_0x3869('0xd')][_0x3869('0x29')]());if(_0x2e0fcd(_0x1c7eb9)){_0x2bc7bf=_0x20a6f5[_0x3869('0x34')](_0x2bc7bf);const _0x313084=[];for(const _0x4631c2 of _0x2bc7bf)_0x20a6f5[_0x3869('0x1f')](_0x4631c2)&&_0x313084[_0x3869('0x2d')](_0x4631c2);_0x2bc7bf=_0x313084;}_0x47b98a[_0x3869('0xb')][_0x3869('0x0')](()=>{_0x1d4e68['markMultiRangeBlockFormat'](_0x2bc7bf,{'commandName':_0x1c7eb9,'commandParams':[{'forceValue':!_0x3f3d27['value']}],'formatGroupId':_0x3869('0x26')},[],_0x3869('0x19'));});};}function _0x1ded44(_0x42765e){return()=>{const _0x558473=function(_0x4417a8){let _0x47ef82=Array[_0x3869('0x3a')](_0x4417a8);const _0x5349e5=_0x47ef82[_0x3869('0x4')](_0xa40895=>!_0xa40895[_0x3869('0x22')]('listItemId'));return _0x5349e5>-0x1&&(_0x47ef82=_0x47ef82[_0x3869('0x2c')](0x0,_0x5349e5)),_0x47ef82;}(_0x47b98a[_0x3869('0xb')][_0x3869('0x10')][_0x3869('0xd')][_0x3869('0x29')]()),_0x32af51=_0x558473[_0x558473[_0x3869('0x3e')]-0x1],_0x78baac=_0x47b98a['model'][_0x3869('0x1e')][_0x3869('0x36')](_0x32af51)?'after':_0x3869('0xc'),_0x5e94ff=_0x47b98a[_0x3869('0xb')][_0x3869('0xf')](_0x47b98a[_0x3869('0xb')][_0x3869('0x30')](_0x558473[0x0],_0x3869('0x14')),_0x47b98a[_0x3869('0xb')][_0x3869('0x30')](_0x32af51,_0x78baac));_0x47b98a[_0x3869('0xb')]['change'](()=>{_0x1d4e68[_0x3869('0x25')](_0x5e94ff,{'commandName':_0x42765e,'commandParams':[],'formatGroupId':'listType'},function(_0x17f902){const _0x7fcbe=new Set();for(const _0x40abee of _0x17f902){let _0x5dab6b=_0x40abee[_0x3869('0x18')];for(;_0x5dab6b&&_0x5dab6b[_0x3869('0x7')](_0x3869('0x33'))>_0x40abee[_0x3869('0x7')](_0x3869('0x33'));)_0x7fcbe[_0x3869('0x5')](_0x5dab6b),_0x5dab6b=_0x5dab6b[_0x3869('0x18')];}return Array[_0x3869('0x3a')](_0x7fcbe);}(_0x558473));});};}function _0x5bc319(_0x93f8d6){return()=>{const _0x49674e=_0x47b98a[_0x3869('0xb')][_0x3869('0x10')][_0x3869('0xd')][_0x3869('0x29')]()['next']()[_0x3869('0x46')],_0x1765c9=_0x47b98a[_0x3869('0xb')][_0x3869('0x30')](_0x49674e,'before'),_0x3c055d=_0x47b98a[_0x3869('0xb')][_0x3869('0x30')](_0x49674e,0x0),_0x96299e=_0x47b98a['model'][_0x3869('0xf')](_0x1765c9,_0x3c055d);_0x47b98a[_0x3869('0xb')][_0x3869('0x0')](()=>{_0x1d4e68[_0x3869('0x25')](_0x96299e,{'commandName':_0x93f8d6,'commandParams':[],'formatGroupId':'listType'});});};}function _0x2e0fcd(_0x3ffda2){const _0x5ddfe8=_0x47b98a[_0x3869('0x27')][_0x3869('0x47')](_0x3869('0x13'))[_0x3869('0x46')],_0x5a2f9b=_0x47b98a[_0x3869('0x27')]['get'](_0x3869('0x20'))[_0x3869('0x46')];return _0x3869('0x20')===_0x3ffda2?_0x5ddfe8:_0x5a2f9b;}_0x1d4e68[_0x3869('0x39')](_0x3869('0x20'),_0x5deb1c(_0x3869('0x20'))),_0x1d4e68[_0x3869('0x39')](_0x3869('0x13'),_0x5deb1c(_0x3869('0x13'))),_0x1d4e68['enableCommand']('indentList',_0x1ded44(_0x3869('0x16'))),_0x1d4e68[_0x3869('0x39')](_0x3869('0x1d'),_0x1ded44(_0x3869('0x1d'))),_0x1d4e68[_0x3869('0x39')](_0x3869('0x40'),_0x5bc319(_0x3869('0x40'))),_0x1d4e68[_0x3869('0x39')]('splitListItemBefore',_0x5bc319('splitListItemBefore')),_0x1d4e68[_0x3869('0x17')][_0x3869('0x1c')](function(_0x1f589f){const _0x334627=!_0x47b98a['model'][_0x3869('0x1e')][_0x3869('0x36')](_0x1f589f),_0x4206d1=_0x1f589f[_0x3869('0x3c')],_0x492813=_0x1f589f[_0x3869('0x18')],_0x274a57=_0x1f589f[_0x3869('0x7')]('listItemId'),_0x456cc5=!_0x4206d1||_0x4206d1[_0x3869('0x7')]('listItemId')!==_0x274a57,_0x2e93e1=!_0x492813||_0x492813[_0x3869('0x7')](_0x3869('0x44'))!==_0x274a57;return _0x334627&&Boolean(_0x274a57)&&_0x456cc5&&_0x2e93e1;},_0x398795=>_0x25e30c(_0x4cd470,_0x3869('0x2'),_0x398795)),_0x1d4e68[_0x3869('0x17')]['registerDescriptionCallback'](function(_0x3065ad){const {data:_0x4de9d9}=_0x3065ad;if(!_0x4de9d9)return;let _0x4f6931,_0x10f938,_0x3fb883,_0x4b6724;switch(_0x4de9d9[_0x3869('0x31')]){case _0x3869('0x13'):_0x3fb883=_0x4de9d9[_0x3869('0xa')][0x0][_0x3869('0x32')],_0x4b6724=_0x2e0fcd(_0x4de9d9[_0x3869('0x31')]),_0x4f6931=_0x3fb883?'*Format:*\x20insert\x20into\x20%0':_0x3869('0x2e'),_0x4b6724&&(_0x4f6931=_0x3869('0x9')),_0x10f938={'type':_0x3869('0x38'),'content':_0x25e30c(_0x4cd470,_0x4f6931,_0x25e30c(_0x4cd470,_0x3869('0x8')))};break;case _0x3869('0x20'):_0x3fb883=_0x4de9d9[_0x3869('0xa')][0x0]['forceValue'],_0x4b6724=_0x2e0fcd(_0x4de9d9[_0x3869('0x31')]),_0x4f6931=_0x3fb883?_0x3869('0x45'):_0x3869('0x2e'),_0x4b6724&&(_0x4f6931=_0x3869('0x9')),_0x10f938={'type':_0x3869('0x38'),'content':_0x25e30c(_0x4cd470,_0x4f6931,_0x25e30c(_0x4cd470,_0x3869('0x2f')))};break;case _0x3869('0x16'):_0x4f6931=_0x3869('0x3b'),_0x10f938={'type':_0x3869('0x38'),'content':_0x25e30c(_0x4cd470,_0x4f6931,_0x25e30c(_0x4cd470,_0x3869('0x2')))};break;case _0x3869('0x1d'):_0x4f6931=function(_0x181bf5){const _0x55d3cf=_0x181bf5[_0x3869('0x2a')]();let _0x323388=_0x55d3cf[_0x3869('0xe')]['nodeAfter'];for(;_0x323388&&_0x55d3cf[_0x3869('0x28')](_0x323388);){if(_0x323388['getAttribute']('listIndent')>0x0)return!0x1;_0x323388=_0x323388[_0x3869('0x18')];}return!0x0;}(_0x3065ad)?_0x25e30c(_0x4cd470,'*Format:*\x20remove\x20from\x20%0',_0x25e30c(_0x4cd470,function(_0x313b3b){const _0x5d9874=_0x313b3b[_0x3869('0x2a')]()[_0x3869('0xe')][_0x3869('0x37')];return'ELEMENT_'+_0x5d9874[_0x3869('0x7')](_0x3869('0x26'))[_0x3869('0x1b')]()+_0x3869('0x1a');}(_0x3065ad))):_0x25e30c(_0x4cd470,_0x3869('0x23'),_0x25e30c(_0x4cd470,_0x3869('0x2'))),_0x10f938={'type':_0x3869('0x38'),'content':_0x4f6931};break;case _0x3869('0x15'):case _0x3869('0x42'):!0x1===_0x4de9d9[_0x3869('0x3')]&&(_0x4f6931=_0x3869('0x24'),_0x10f938={'type':'deletion','content':_0x25e30c(_0x4cd470,_0x4f6931,_0x25e30c(_0x4cd470,_0x3869('0x2')))});}return _0x10f938;}),_0x1d4e68['_suggestionFactory'][_0x3869('0x3f')](_0x3869('0x48'),_0x3869('0x19'),'accept',function(_0x49666c,_0x31dcef){const _0x27056f=[];for(let _0x19e488 of _0x49666c)_0x19e488['start'][_0x3869('0x37')]===_0x19e488[_0x3869('0xc')][_0x3869('0x12')]&&(_0x19e488=_0x47b98a['model']['createRange'](_0x47b98a[_0x3869('0xb')]['createPositionAt'](_0x19e488[_0x3869('0xe')][_0x3869('0x37')],0x0))),_0x27056f['push'](_0x19e488);_0x47b98a[_0x3869('0xb')][_0x3869('0x0')](_0x23242a=>{const _0x2accbb=_0x47b98a[_0x3869('0xb')]['document'][_0x3869('0xd')],_0x484bdc=Array[_0x3869('0x3a')](_0x2accbb['getRanges']())[_0x3869('0x1')](_0x4bb007=>_0x2b5f57[_0x3869('0x35')](_0x4bb007));_0x23242a['setSelection'](_0x27056f),_0x47b98a['commands'][_0x3869('0x47')](_0x31dcef['commandName'])['refresh'](),_0x31dcef[_0x3869('0xa')][_0x3869('0x2d')]({'forceDefaultExecution':!0x0}),_0x47b98a[_0x3869('0x6')](_0x31dcef[_0x3869('0x31')],..._0x31dcef[_0x3869('0xa')]),_0x23242a['setSelection'](_0x484bdc);for(const _0x2cb6d0 of _0x484bdc)_0x2cb6d0[_0x3869('0x43')]();});});}}
23
+ const _0x5e9d=['_suggestionFactory','numberedList','mergeListItemBackward','toUpperCase','markBlockFormat','setSelection','getAttribute','multipleBlocks','document','containsItem','editor','parent','add','outdentList','config','before','getRanges','ELEMENT_BULLETED_LIST','hasAttribute','*Format:*\x20insert\x20into\x20%0','get','indentList','execute','isObject','has','*Indent:*\x20%0','listType','value','end','forceValue','deletion','previousSibling','getSelectedBlocks','next','from','createPositionAt','commands','createRange','findIndex','fromRange','_LIST','after','splitListItemBefore','*Format:*\x20remove\x20from\x20%0','TrackChangesEditing','format','registerCustomCallback','selection','*Outdent:*\x20%0','commandParams','enableCommand','nodeAfter','list.multiBlock','listItemId','registerElementLabel','_descriptionFactory','model','bulletedList','documentList','*Merge:*\x20%0','commandName','start','getFirstRange','plugins','markMultiRangeBlockFormat','ELEMENT_LIST_ITEM','formatBlock','nextSibling','refresh','push','change','listIndent','afterInit','DocumentListEditing'];(function(_0x131c6b,_0x5e9d3b){const _0x3b63d4=function(_0x1c5697){while(--_0x1c5697){_0x131c6b['push'](_0x131c6b['shift']());}};_0x3b63d4(++_0x5e9d3b);}(_0x5e9d,0xb4));const _0x3b63=function(_0x131c6b,_0x5e9d3b){_0x131c6b=_0x131c6b-0x0;let _0x3b63d4=_0x5e9d[_0x131c6b];return _0x3b63d4;};import{Plugin as _0x557346}from'ckeditor5/src/core';import{getTranslation as _0x5e3f9d}from'../utils/common-translations';import{LiveRange as _0x5b4cad}from'ckeditor5/src/engine';export default class q extends _0x557346{[_0x3b63('0x28')](){const _0x264d59=this[_0x3b63('0x34')];if(!_0x264d59[_0x3b63('0x1f')][_0x3b63('0x42')](_0x3b63('0x29')))return;const _0x4952a7=_0x264d59['locale'],_0x3e4e36=_0x264d59[_0x3b63('0x1f')][_0x3b63('0x3e')](_0x3b63('0xc')),_0x46a5f6=_0x264d59[_0x3b63('0x1f')][_0x3b63('0x3e')]('DocumentListUtils');function _0x20b1c4(_0x178ff8){return()=>{const _0x582bac=_0x264d59[_0x3b63('0x4')][_0x3b63('0x3e')](_0x178ff8);if(_0x582bac[_0x3b63('0x45')]&&!_0x264d59[_0x3b63('0x38')][_0x3b63('0x3e')]('list.multiBlock'))return void _0x264d59['execute']('paragraph',{});let _0x53ec1b=Array['from'](_0x264d59[_0x3b63('0x18')][_0x3b63('0x32')][_0x3b63('0xf')][_0x3b63('0x0')]());if(_0x547829(_0x178ff8)){_0x53ec1b=_0x46a5f6['expandListBlocksToCompleteList'](_0x53ec1b);const _0x114a69=[];for(const _0x529451 of _0x53ec1b)_0x46a5f6['isFirstBlockOfListItem'](_0x529451)&&_0x114a69[_0x3b63('0x25')](_0x529451);_0x53ec1b=_0x114a69;}_0x264d59['model']['change'](()=>{_0x3e4e36[_0x3b63('0x20')](_0x53ec1b,{'commandName':_0x178ff8,'commandParams':[{'forceValue':!_0x582bac['value']}],'formatGroupId':'listType'},[],_0x3b63('0x1a'));});};}function _0xbbdd1(_0x3414d8){return()=>{const _0x4b2588=function(_0xe0ce72){let _0x5e27fa=Array[_0x3b63('0x2')](_0xe0ce72);const _0x219ed4=_0x5e27fa[_0x3b63('0x6')](_0x414f79=>!_0x414f79[_0x3b63('0x3c')](_0x3b63('0x15')));return _0x219ed4>-0x1&&(_0x5e27fa=_0x5e27fa['slice'](0x0,_0x219ed4)),_0x5e27fa;}(_0x264d59['model']['document'][_0x3b63('0xf')][_0x3b63('0x0')]()),_0x2b4815=_0x4b2588[_0x4b2588['length']-0x1],_0x19fcde=_0x264d59[_0x3b63('0x18')]['schema'][_0x3b63('0x41')](_0x2b4815)?_0x3b63('0x9'):_0x3b63('0x46'),_0x3d1573=_0x264d59[_0x3b63('0x18')]['createRange'](_0x264d59[_0x3b63('0x18')]['createPositionAt'](_0x4b2588[0x0],_0x3b63('0x39')),_0x264d59[_0x3b63('0x18')][_0x3b63('0x3')](_0x2b4815,_0x19fcde));_0x264d59[_0x3b63('0x18')]['change'](()=>{_0x3e4e36[_0x3b63('0x2e')](_0x3d1573,{'commandName':_0x3414d8,'commandParams':[],'formatGroupId':_0x3b63('0x44')},function(_0x1dfa99){const _0x118556=new Set();for(const _0xffdc57 of _0x1dfa99){let _0x4c93f7=_0xffdc57[_0x3b63('0x23')];for(;_0x4c93f7&&_0x4c93f7['getAttribute'](_0x3b63('0x27'))>_0xffdc57[_0x3b63('0x30')](_0x3b63('0x27'));)_0x118556[_0x3b63('0x36')](_0x4c93f7),_0x4c93f7=_0x4c93f7[_0x3b63('0x23')];}return Array[_0x3b63('0x2')](_0x118556);}(_0x4b2588));});};}function _0x3ac112(_0x5cb44a){return()=>{const _0x685045=_0x264d59[_0x3b63('0x18')][_0x3b63('0x32')][_0x3b63('0xf')][_0x3b63('0x0')]()[_0x3b63('0x1')]()[_0x3b63('0x45')],_0x2494e7=_0x264d59[_0x3b63('0x18')]['createPositionAt'](_0x685045,_0x3b63('0x39')),_0x18b1df=_0x264d59['model'][_0x3b63('0x3')](_0x685045,0x0),_0x376323=_0x264d59['model']['createRange'](_0x2494e7,_0x18b1df);_0x264d59['model'][_0x3b63('0x26')](()=>{_0x3e4e36[_0x3b63('0x2e')](_0x376323,{'commandName':_0x5cb44a,'commandParams':[],'formatGroupId':_0x3b63('0x44')});});};}function _0x547829(_0x4fa7ac){const _0x2f8a70=_0x264d59[_0x3b63('0x4')][_0x3b63('0x3e')]('bulletedList')['value'],_0x4c6f47=_0x264d59['commands'][_0x3b63('0x3e')](_0x3b63('0x2b'))[_0x3b63('0x45')];return _0x3b63('0x2b')===_0x4fa7ac?_0x2f8a70:_0x4c6f47;}_0x3e4e36[_0x3b63('0x12')](_0x3b63('0x2b'),_0x20b1c4(_0x3b63('0x2b'))),_0x3e4e36['enableCommand'](_0x3b63('0x19'),_0x20b1c4(_0x3b63('0x19'))),_0x3e4e36['enableCommand']('indentList',_0xbbdd1(_0x3b63('0x3f'))),_0x3e4e36[_0x3b63('0x12')](_0x3b63('0x37'),_0xbbdd1('outdentList')),_0x3e4e36['enableCommand']('splitListItemAfter',_0x3ac112('splitListItemAfter')),_0x3e4e36[_0x3b63('0x12')](_0x3b63('0xa'),_0x3ac112(_0x3b63('0xa'))),_0x3e4e36['_descriptionFactory'][_0x3b63('0x16')](function(_0x2d2eaf){const _0x1d892b=!_0x264d59[_0x3b63('0x18')]['schema'][_0x3b63('0x41')](_0x2d2eaf),_0x431917=_0x2d2eaf[_0x3b63('0x49')],_0x447d05=_0x2d2eaf[_0x3b63('0x23')],_0x39931b=_0x2d2eaf[_0x3b63('0x30')]('listItemId'),_0x4502bc=!_0x431917||_0x431917['getAttribute'](_0x3b63('0x15'))!==_0x39931b,_0x536db7=!_0x447d05||_0x447d05[_0x3b63('0x30')]('listItemId')!==_0x39931b;return _0x1d892b&&Boolean(_0x39931b)&&_0x4502bc&&_0x536db7;},_0x28c29c=>_0x5e3f9d(_0x4952a7,_0x3b63('0x21'),_0x28c29c)),_0x3e4e36[_0x3b63('0x17')]['registerDescriptionCallback'](function(_0x505cc5){const {data:_0x3ba178}=_0x505cc5;if(!_0x3ba178)return;let _0x2e1803,_0x453293,_0x5247a7,_0x53c557;switch(_0x3ba178[_0x3b63('0x1c')]){case'bulletedList':_0x5247a7=_0x3ba178['commandParams'][0x0][_0x3b63('0x47')],_0x53c557=_0x547829(_0x3ba178['commandName']),_0x2e1803=_0x5247a7?_0x3b63('0x3d'):_0x3b63('0xb'),!_0x53c557&&_0x264d59[_0x3b63('0x38')]['get'](_0x3b63('0x14'))||(_0x2e1803='*Change\x20to:*\x20%0'),_0x453293={'type':_0x3b63('0xd'),'content':_0x5e3f9d(_0x4952a7,_0x2e1803,_0x5e3f9d(_0x4952a7,_0x3b63('0x3b')))};break;case _0x3b63('0x2b'):_0x5247a7=_0x3ba178[_0x3b63('0x11')][0x0][_0x3b63('0x47')],_0x53c557=_0x547829(_0x3ba178['commandName']),_0x2e1803=_0x5247a7?_0x3b63('0x3d'):_0x3b63('0xb'),!_0x53c557&&_0x264d59[_0x3b63('0x38')][_0x3b63('0x3e')](_0x3b63('0x14'))||(_0x2e1803='*Change\x20to:*\x20%0'),_0x453293={'type':_0x3b63('0xd'),'content':_0x5e3f9d(_0x4952a7,_0x2e1803,_0x5e3f9d(_0x4952a7,'ELEMENT_NUMBERED_LIST'))};break;case _0x3b63('0x3f'):_0x2e1803=_0x3b63('0x43'),_0x453293={'type':_0x3b63('0xd'),'content':_0x5e3f9d(_0x4952a7,_0x2e1803,_0x5e3f9d(_0x4952a7,_0x3b63('0x21')))};break;case _0x3b63('0x37'):_0x2e1803=function(_0x58782f){const _0x49895c=_0x58782f['getFirstRange']();let _0x178b70=_0x49895c[_0x3b63('0x1d')]['nodeAfter'];for(;_0x178b70&&_0x49895c[_0x3b63('0x33')](_0x178b70);){if(_0x178b70[_0x3b63('0x30')]('listIndent')>0x0)return!0x1;_0x178b70=_0x178b70[_0x3b63('0x23')];}return!0x0;}(_0x505cc5)?_0x5e3f9d(_0x4952a7,_0x3b63('0xb'),_0x5e3f9d(_0x4952a7,function(_0x57a2dc){const _0x2823d7=_0x57a2dc[_0x3b63('0x1e')]()[_0x3b63('0x1d')]['nodeAfter'];return'ELEMENT_'+_0x2823d7[_0x3b63('0x30')](_0x3b63('0x44'))[_0x3b63('0x2d')]()+_0x3b63('0x8');}(_0x505cc5))):_0x5e3f9d(_0x4952a7,_0x3b63('0x10'),_0x5e3f9d(_0x4952a7,_0x3b63('0x21'))),_0x453293={'type':_0x3b63('0xd'),'content':_0x2e1803};break;case _0x3b63('0x2c'):case'mergeListItemForward':!0x1===_0x3ba178[_0x3b63('0x31')]&&(_0x2e1803=_0x3b63('0x1b'),_0x453293={'type':_0x3b63('0x48'),'content':_0x5e3f9d(_0x4952a7,_0x2e1803,_0x5e3f9d(_0x4952a7,'ELEMENT_LIST_ITEM'))});}return _0x453293;}),_0x3e4e36[_0x3b63('0x2a')][_0x3b63('0xe')](_0x3b63('0x22'),_0x3b63('0x1a'),'accept',function(_0x36e2d5,_0x1a78dc){const _0x12042e=[];for(let _0x5a657a of _0x36e2d5)_0x5a657a[_0x3b63('0x1d')][_0x3b63('0x13')]===_0x5a657a[_0x3b63('0x46')][_0x3b63('0x35')]&&(_0x5a657a=_0x264d59[_0x3b63('0x18')][_0x3b63('0x5')](_0x264d59[_0x3b63('0x18')][_0x3b63('0x3')](_0x5a657a['start'][_0x3b63('0x13')],0x0))),_0x12042e[_0x3b63('0x25')](_0x5a657a);_0x264d59[_0x3b63('0x18')][_0x3b63('0x26')](_0x4c5cd0=>{const _0x3cc430=_0x264d59[_0x3b63('0x18')][_0x3b63('0x32')][_0x3b63('0xf')],_0x13d677=Array[_0x3b63('0x2')](_0x3cc430[_0x3b63('0x3a')]())['map'](_0x5b4e31=>_0x5b4cad[_0x3b63('0x7')](_0x5b4e31));_0x4c5cd0[_0x3b63('0x2f')](_0x12042e),_0x264d59['commands'][_0x3b63('0x3e')](_0x1a78dc[_0x3b63('0x1c')])[_0x3b63('0x24')](),_0x1a78dc['commandParams']['push']({'forceDefaultExecution':!0x0}),_0x264d59[_0x3b63('0x40')](_0x1a78dc[_0x3b63('0x1c')],..._0x1a78dc['commandParams']),_0x4c5cd0[_0x3b63('0x2f')](_0x13d677);for(const _0x26c2e2 of _0x13d677)_0x26c2e2['detach']();});});}}
@@ -1,29 +1,29 @@
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/documentlistproperties
7
- */
8
- import { Plugin } from 'ckeditor5/src/core';
9
- import type { Description } from '../suggestiondescriptionfactory';
10
- import type Suggestion from '../suggestion';
11
- /**
12
- * Provides track changes plugin integration for document list properties feature.
13
- */
14
- export default class TrackChangesDocumentListProperties extends Plugin {
15
- /**
16
- * @inheritDoc
17
- */
18
- afterInit(): void;
19
- handleListStyleCommand(executeCommand: Function, options?: {
20
- type?: string | null;
21
- }): void;
22
- handleListReversedCommand(executeCommand: Function, options?: {
23
- reversed?: boolean;
24
- }): void;
25
- handleListStartCommand(executeCommand: Function, options?: {
26
- startIndex?: number;
27
- }): void;
28
- handleDescriptions(suggestion: Suggestion): Description | undefined;
29
- }
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/documentlistproperties
7
+ */
8
+ import { Plugin } from 'ckeditor5/src/core';
9
+ import type { Description } from '../suggestiondescriptionfactory';
10
+ import type Suggestion from '../suggestion';
11
+ /**
12
+ * Provides track changes plugin integration for document list properties feature.
13
+ */
14
+ export default class TrackChangesDocumentListProperties extends Plugin {
15
+ /**
16
+ * @inheritDoc
17
+ */
18
+ afterInit(): void;
19
+ handleListStyleCommand(executeCommand: Function, options?: {
20
+ type?: string | null;
21
+ }): void;
22
+ handleListReversedCommand(executeCommand: Function, options?: {
23
+ reversed?: boolean;
24
+ }): void;
25
+ handleListStartCommand(executeCommand: Function, options?: {
26
+ startIndex?: number;
27
+ }): void;
28
+ handleDescriptions(suggestion: Suggestion): Description | undefined;
29
+ }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3d92=['afterInit','_LIST_','locale','TrackChangesEditing','handleListStyleCommand','type','has','plugins','*Format:*\x20set\x20order\x20to\x20regular','bind','getAttribute','listReversed','config','handleDescriptions','replace','reversed','model','selection','commandParams','document','getSelectedBlocks','DocumentListPropertiesUtils','_getTranslationKeyForListStyle','styles','handleListStartCommand','format','from','push','listStart','expandListBlocksToCompleteList','handleListReversedCommand','*Change\x20to:*\x20%0','toUpperCase','_getSuggestionBlocksForListStyle','markMultiRangeBlockFormat','listStyle','_descriptionFactory','startIndex','editor','isFirstBlockOfListItem','DocumentListPropertiesEditing','isListItemBlock','get','_getSuggestionBlocks','DocumentListUtils','change','enableCommand','list.properties','*Format:*\x20set\x20order\x20to\x20reversed','*Format:*\x20set\x20start\x20index\x20to\x20%0','listType','ELEMENT_'];(function(_0x4ccb32,_0x3d9230){const _0x1ff0a8=function(_0x5c65b9){while(--_0x5c65b9){_0x4ccb32['push'](_0x4ccb32['shift']());}};_0x1ff0a8(++_0x3d9230);}(_0x3d92,0x1a6));const _0x1ff0=function(_0x4ccb32,_0x3d9230){_0x4ccb32=_0x4ccb32-0x0;let _0x1ff0a8=_0x3d92[_0x4ccb32];return _0x1ff0a8;};import{Plugin as _0x357c96}from'ckeditor5/src/core';import{getTranslation as _0x5f35e7}from'../utils/common-translations';export default class At extends _0x357c96{[_0x1ff0('0x2e')](){if(!this['editor'][_0x1ff0('0x1')][_0x1ff0('0x0')](_0x1ff0('0x22')))return;const _0x191a3a=this['editor'][_0x1ff0('0x6')][_0x1ff0('0x24')](_0x1ff0('0x29')),_0xcac827=this[_0x1ff0('0x20')][_0x1ff0('0x1')][_0x1ff0('0x24')](_0x1ff0('0x31'));_0x191a3a[_0x1ff0('0x11')]&&_0xcac827[_0x1ff0('0x28')](_0x1ff0('0x1d'),this[_0x1ff0('0x32')]['bind'](this)),_0x191a3a['reversed']&&_0xcac827[_0x1ff0('0x28')](_0x1ff0('0x5'),this[_0x1ff0('0x18')][_0x1ff0('0x3')](this)),_0x191a3a['startIndex']&&_0xcac827[_0x1ff0('0x28')](_0x1ff0('0x16'),this['handleListStartCommand'][_0x1ff0('0x3')](this)),_0xcac827[_0x1ff0('0x1e')]['registerDescriptionCallback'](this['handleDescriptions'][_0x1ff0('0x3')](this));}[_0x1ff0('0x32')](_0x3695a8,_0x4170d6={}){const _0x24ab57=this[_0x1ff0('0x20')]['plugins']['get']('TrackChangesEditing'),_0x176e2c=this[_0x1ff0('0x1b')]();this[_0x1ff0('0x20')][_0x1ff0('0xa')]['change'](()=>{_0x24ab57[_0x1ff0('0x1c')](_0x176e2c,{'commandName':_0x1ff0('0x1d'),'commandParams':[{'type':_0x4170d6[_0x1ff0('0x33')]}],'formatGroupId':'listStyle'});});}[_0x1ff0('0x18')](_0x1557f9,_0x4f314c={}){const _0x1033fd=this['editor'][_0x1ff0('0x1')][_0x1ff0('0x24')](_0x1ff0('0x31')),_0x39be80=this[_0x1ff0('0x20')][_0x1ff0('0x1')][_0x1ff0('0x24')]('DocumentListUtils'),_0x234937=this[_0x1ff0('0x25')](_0x38e3b3=>_0x39be80['isListItemBlock'](_0x38e3b3)&&'numbered'===_0x38e3b3[_0x1ff0('0x4')](_0x1ff0('0x2c')));null!==_0x234937&&this[_0x1ff0('0x20')]['model'][_0x1ff0('0x27')](()=>{_0x1033fd[_0x1ff0('0x1c')](_0x234937,{'commandName':_0x1ff0('0x5'),'commandParams':[{'reversed':_0x4f314c[_0x1ff0('0x9')]}],'formatGroupId':'listReversed'});});}[_0x1ff0('0x12')](_0x44d19e,_0x226c5b={}){const _0x2953be=this[_0x1ff0('0x20')]['plugins'][_0x1ff0('0x24')](_0x1ff0('0x31')),_0xc4a499=this[_0x1ff0('0x20')][_0x1ff0('0x1')][_0x1ff0('0x24')](_0x1ff0('0x26')),_0x55ff6a=this[_0x1ff0('0x25')](_0x1e327b=>_0xc4a499[_0x1ff0('0x23')](_0x1e327b)&&'numbered'===_0x1e327b['getAttribute'](_0x1ff0('0x2c')));null!==_0x55ff6a&&this[_0x1ff0('0x20')][_0x1ff0('0xa')][_0x1ff0('0x27')](()=>{_0x2953be['markMultiRangeBlockFormat'](_0x55ff6a,{'commandName':'listStart','commandParams':[{'startIndex':_0x226c5b[_0x1ff0('0x1f')]}],'formatGroupId':_0x1ff0('0x16')});});}[_0x1ff0('0x7')](_0x5d8cfe){const _0xdd22f6=this['editor'][_0x1ff0('0x30')],{data:_0x54bb74}=_0x5d8cfe;if(!_0x54bb74)return;let _0x572eb1,_0x510de1;switch(_0x54bb74['commandName']){case _0x1ff0('0x1d'):_0x572eb1=_0x1ff0('0x19'),_0x510de1={'type':_0x1ff0('0x13'),'content':_0x5f35e7(_0xdd22f6,_0x572eb1,_0x5f35e7(_0xdd22f6,this[_0x1ff0('0x10')](_0x54bb74['commandParams'][0x0][_0x1ff0('0x33')])))};break;case _0x1ff0('0x5'):_0x572eb1=_0x54bb74[_0x1ff0('0xc')][0x0][_0x1ff0('0x9')]?_0x1ff0('0x2a'):_0x1ff0('0x2'),_0x510de1={'type':_0x1ff0('0x13'),'content':_0x5f35e7(_0xdd22f6,_0x572eb1)};break;case _0x1ff0('0x16'):_0x572eb1=_0x1ff0('0x2b'),_0x510de1={'type':_0x1ff0('0x13'),'content':_0x5f35e7(_0xdd22f6,_0x572eb1,_0x54bb74[_0x1ff0('0xc')][0x0][_0x1ff0('0x1f')])};}return _0x510de1;}['_getSuggestionBlocksForListStyle'](){const _0x3c2e88=this['editor'][_0x1ff0('0x1')]['get']('DocumentListUtils');let _0x5bb969=Array['from'](this[_0x1ff0('0x20')][_0x1ff0('0xa')][_0x1ff0('0xd')][_0x1ff0('0xb')][_0x1ff0('0xe')]());return _0x5bb969[_0x1ff0('0x15')](..._0x3c2e88[_0x1ff0('0x17')](_0x5bb969)),_0x5bb969=[...new Set(_0x5bb969)],_0x5bb969;}[_0x1ff0('0x25')](_0x104a19){const _0x53d940=this['editor']['plugins'][_0x1ff0('0x24')](_0x1ff0('0x26'));let _0x264d77=Array[_0x1ff0('0x14')](this['editor'][_0x1ff0('0xa')][_0x1ff0('0xd')][_0x1ff0('0xb')][_0x1ff0('0xe')]())['filter'](_0x104a19);if(!_0x264d77['length'])return null;_0x264d77=_0x53d940[_0x1ff0('0x17')](_0x264d77);const _0x39757b=[];for(const _0x43625c of _0x264d77)_0x53d940[_0x1ff0('0x21')](_0x43625c)&&_0x39757b[_0x1ff0('0x15')](_0x43625c);return _0x39757b;}[_0x1ff0('0x10')](_0xc3c4eb){return _0x1ff0('0x2d')+this[_0x1ff0('0x20')][_0x1ff0('0x1')][_0x1ff0('0x24')](_0x1ff0('0xf'))['getListTypeFromListStyleType'](_0xc3c4eb)[_0x1ff0('0x1a')]()+_0x1ff0('0x2f')+_0xc3c4eb[_0x1ff0('0x1a')]()[_0x1ff0('0x8')](/-/g,'_');}}
23
+ const _0x42be=['numbered','*Format:*\x20set\x20order\x20to\x20regular','listStart','_getSuggestionBlocksForListStyle','format','TrackChangesEditing','handleListReversedCommand','reversed','bind','config','editor','startIndex','listType','*Format:*\x20set\x20start\x20index\x20to\x20%0','isListItemBlock','listStyle','handleListStyleCommand','selection','type','toUpperCase','getSelectedBlocks','commandName','list.properties','has','*Change\x20to:*\x20%0','from','expandListBlocksToCompleteList','_descriptionFactory','get','handleListStartCommand','document','replace','getAttribute','length','DocumentListPropertiesUtils','handleDescriptions','locale','DocumentListUtils','ELEMENT_','_getSuggestionBlocks','plugins','change','listReversed','commandParams','styles','_LIST_','enableCommand','markMultiRangeBlockFormat','model','_getTranslationKeyForListStyle','push','filter'];(function(_0x185820,_0x42be38){const _0x22da2e=function(_0x585436){while(--_0x585436){_0x185820['push'](_0x185820['shift']());}};_0x22da2e(++_0x42be38);}(_0x42be,0xca));const _0x22da=function(_0x185820,_0x42be38){_0x185820=_0x185820-0x0;let _0x22da2e=_0x42be[_0x185820];return _0x22da2e;};import{Plugin as _0x1da21b}from'ckeditor5/src/core';import{getTranslation as _0x4a805d}from'../utils/common-translations';export default class Ct extends _0x1da21b{['afterInit'](){if(!this[_0x22da('0x10')][_0x22da('0x2e')][_0x22da('0x1d')]('DocumentListPropertiesEditing'))return;const _0x10d373=this[_0x22da('0x10')][_0x22da('0xf')][_0x22da('0x22')](_0x22da('0x1c')),_0xfd93d1=this[_0x22da('0x10')][_0x22da('0x2e')][_0x22da('0x22')](_0x22da('0xb'));_0x10d373[_0x22da('0x32')]&&_0xfd93d1[_0x22da('0x0')](_0x22da('0x15'),this['handleListStyleCommand'][_0x22da('0xe')](this)),_0x10d373[_0x22da('0xd')]&&_0xfd93d1['enableCommand'](_0x22da('0x30'),this[_0x22da('0xc')][_0x22da('0xe')](this)),_0x10d373[_0x22da('0x11')]&&_0xfd93d1[_0x22da('0x0')](_0x22da('0x8'),this['handleListStartCommand'][_0x22da('0xe')](this)),_0xfd93d1[_0x22da('0x21')]['registerDescriptionCallback'](this['handleDescriptions'][_0x22da('0xe')](this));}[_0x22da('0x16')](_0x79c5bc,_0x3d8718={}){const _0x1b9c2b=this[_0x22da('0x10')][_0x22da('0x2e')][_0x22da('0x22')](_0x22da('0xb')),_0x48eb02=this[_0x22da('0x9')]();this[_0x22da('0x10')]['model'][_0x22da('0x2f')](()=>{_0x1b9c2b[_0x22da('0x1')](_0x48eb02,{'commandName':_0x22da('0x15'),'commandParams':[{'type':_0x3d8718[_0x22da('0x18')]}],'formatGroupId':_0x22da('0x15')});});}[_0x22da('0xc')](_0x4a0a60,_0x37b599={}){const _0x11a7f3=this[_0x22da('0x10')][_0x22da('0x2e')][_0x22da('0x22')](_0x22da('0xb')),_0x1ddda4=this['editor'][_0x22da('0x2e')]['get'](_0x22da('0x2b')),_0x4825f0=this['_getSuggestionBlocks'](_0x180a6c=>_0x1ddda4[_0x22da('0x14')](_0x180a6c)&&_0x22da('0x6')===_0x180a6c['getAttribute'](_0x22da('0x12')));null!==_0x4825f0&&this[_0x22da('0x10')][_0x22da('0x2')][_0x22da('0x2f')](()=>{_0x11a7f3[_0x22da('0x1')](_0x4825f0,{'commandName':_0x22da('0x30'),'commandParams':[{'reversed':_0x37b599[_0x22da('0xd')]}],'formatGroupId':_0x22da('0x30')});});}[_0x22da('0x23')](_0x1287e8,_0x4cab60={}){const _0x19f89d=this[_0x22da('0x10')]['plugins'][_0x22da('0x22')](_0x22da('0xb')),_0x12d166=this['editor'][_0x22da('0x2e')][_0x22da('0x22')]('DocumentListUtils'),_0x4fc453=this['_getSuggestionBlocks'](_0x2ebf9d=>_0x12d166[_0x22da('0x14')](_0x2ebf9d)&&_0x22da('0x6')===_0x2ebf9d[_0x22da('0x26')](_0x22da('0x12')));null!==_0x4fc453&&this[_0x22da('0x10')]['model']['change'](()=>{_0x19f89d[_0x22da('0x1')](_0x4fc453,{'commandName':_0x22da('0x8'),'commandParams':[{'startIndex':_0x4cab60[_0x22da('0x11')]}],'formatGroupId':_0x22da('0x8')});});}[_0x22da('0x29')](_0x1d8d8f){const _0x181598=this[_0x22da('0x10')][_0x22da('0x2a')],{data:_0x8ddb8f}=_0x1d8d8f;if(!_0x8ddb8f)return;let _0x3a37e7,_0x42adb3;switch(_0x8ddb8f[_0x22da('0x1b')]){case'listStyle':_0x3a37e7=_0x22da('0x1e'),_0x42adb3={'type':_0x22da('0xa'),'content':_0x4a805d(_0x181598,_0x3a37e7,_0x4a805d(_0x181598,this[_0x22da('0x3')](_0x8ddb8f[_0x22da('0x31')][0x0][_0x22da('0x18')])))};break;case _0x22da('0x30'):_0x3a37e7=_0x8ddb8f[_0x22da('0x31')][0x0][_0x22da('0xd')]?'*Format:*\x20set\x20order\x20to\x20reversed':_0x22da('0x7'),_0x42adb3={'type':_0x22da('0xa'),'content':_0x4a805d(_0x181598,_0x3a37e7)};break;case _0x22da('0x8'):_0x3a37e7=_0x22da('0x13'),_0x42adb3={'type':_0x22da('0xa'),'content':_0x4a805d(_0x181598,_0x3a37e7,_0x8ddb8f['commandParams'][0x0][_0x22da('0x11')])};}return _0x42adb3;}[_0x22da('0x9')](){const _0x15cd07=this['editor']['plugins']['get'](_0x22da('0x2b'));let _0x1c4895=Array[_0x22da('0x1f')](this[_0x22da('0x10')]['model'][_0x22da('0x24')][_0x22da('0x17')][_0x22da('0x1a')]());return _0x1c4895[_0x22da('0x4')](..._0x15cd07[_0x22da('0x20')](_0x1c4895)),_0x1c4895=[...new Set(_0x1c4895)],_0x1c4895;}[_0x22da('0x2d')](_0x2029f1){const _0x40dcad=this[_0x22da('0x10')]['plugins'][_0x22da('0x22')]('DocumentListUtils');let _0x471ae8=Array['from'](this[_0x22da('0x10')][_0x22da('0x2')][_0x22da('0x24')]['selection'][_0x22da('0x1a')]())[_0x22da('0x5')](_0x2029f1);if(!_0x471ae8[_0x22da('0x27')])return null;_0x471ae8=_0x40dcad[_0x22da('0x20')](_0x471ae8);const _0x285cb6=[];for(const _0x2383e8 of _0x471ae8)_0x40dcad['isFirstBlockOfListItem'](_0x2383e8)&&_0x285cb6['push'](_0x2383e8);return _0x285cb6;}['_getTranslationKeyForListStyle'](_0x2b479b){return _0x22da('0x2c')+this[_0x22da('0x10')][_0x22da('0x2e')][_0x22da('0x22')](_0x22da('0x28'))['getListTypeFromListStyleType'](_0x2b479b)[_0x22da('0x19')]()+_0x22da('0x33')+_0x2b479b[_0x22da('0x19')]()[_0x22da('0x25')](/-/g,'_');}}
@@ -1,16 +1,16 @@
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/entercommand
7
- */
8
- import { Plugin } from 'ckeditor5/src/core';
9
- import { Enter } from 'ckeditor5/src/enter';
10
- /**
11
- * Provides track changes plugin integration for {@link module:enter/entercommand~EnterCommand enter command}.
12
- */
13
- export default class TrackChangesEnterCommand extends Plugin {
14
- static get requires(): readonly [typeof Enter];
15
- init(): void;
16
- }
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/entercommand
7
+ */
8
+ import { Plugin } from 'ckeditor5/src/core';
9
+ import { Enter } from 'ckeditor5/src/enter';
10
+ /**
11
+ * Provides track changes plugin integration for {@link module:enter/entercommand~EnterCommand enter command}.
12
+ */
13
+ export default class TrackChangesEnterCommand extends Plugin {
14
+ static get requires(): readonly [typeof Enter];
15
+ init(): void;
16
+ }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4600=['requires','downcastDispatcher','mapper','markInsertion','unbindElementFromMarkerName','createPositionAt','enter','init','commands','getFirstPosition','change','plugins','markerName','fire','selection','addMarker:suggestion:insertion','showSuggestionHighlights','high','fromRange','split','editor','removeMarker:suggestion:insertion','model','ck-suggestion-marker-split','get','end','bind','markerNameToElements','afterExecute','createRange','editing','enableCommand','document','writer','parent','setSelection','options'];(function(_0x369906,_0x4600fa){const _0x32c2e3=function(_0x54e9b6){while(--_0x54e9b6){_0x369906['push'](_0x369906['shift']());}};_0x32c2e3(++_0x4600fa);}(_0x4600,0x149));const _0x32c2=function(_0x369906,_0x4600fa){_0x369906=_0x369906-0x0;let _0x32c2e3=_0x4600[_0x369906];return _0x32c2e3;};import{Plugin as _0x450ffd}from'ckeditor5/src/core';import{Enter as _0x525a71}from'ckeditor5/src/enter';import{LiveRange as _0x1d34da}from'ckeditor5/src/engine';import{downcastSplitMergeMarker as _0xf905e0}from'./utils';export default class q extends _0x450ffd{static get[_0x32c2('0x4')](){return[_0x525a71];}[_0x32c2('0xb')](){const _0x11959f=this[_0x32c2('0x18')],_0x5f747d=_0x11959f[_0x32c2('0xf')][_0x32c2('0x1c')]('TrackChangesEditing'),_0x530784=_0x11959f[_0x32c2('0xc')][_0x32c2('0x1c')](_0x32c2('0xa'));_0x5f747d[_0x32c2('0x23')](_0x32c2('0xa'),()=>{_0x11959f[_0x32c2('0x1a')][_0x32c2('0xe')](_0x290c53=>{const _0x59f6bb=_0x11959f[_0x32c2('0x1a')][_0x32c2('0x24')][_0x32c2('0x12')],_0x43c13a=_0x59f6bb[_0x32c2('0xd')](),_0x218f83=_0x1d34da[_0x32c2('0x16')](_0x59f6bb['getFirstRange']());if(_0x530784['enterBlock'](_0x290c53)){const _0x307404=_0x11959f[_0x32c2('0x1a')][_0x32c2('0x9')](_0x43c13a[_0x32c2('0x1')]['nextSibling'],0x0),_0x586f45=_0x290c53[_0x32c2('0x21')](_0x43c13a,_0x307404);_0x5f747d[_0x32c2('0x7')](_0x586f45);}else _0x290c53[_0x32c2('0x2')](_0x290c53[_0x32c2('0x21')](_0x218f83[_0x32c2('0x1d')]));_0x218f83['detach'](),_0x530784[_0x32c2('0x11')](_0x32c2('0x20'),{'writer':_0x290c53});});}),_0x11959f[_0x32c2('0x22')][_0x32c2('0x5')]['on'](_0x32c2('0x13'),_0xf905e0(_0x11959f,_0x32c2('0x17')),{'priority':_0x32c2('0x15')}),_0x11959f['editing'][_0x32c2('0x5')]['on'](_0x32c2('0x19'),(_0x4e7ae9,_0x3567ef,_0x242075)=>{const _0x10ab34=_0x242075['mapper'][_0x32c2('0x1f')](_0x3567ef[_0x32c2('0x10')]);if(_0x10ab34)for(const _0x4a8195 of _0x10ab34)_0x4a8195['hasClass'](_0x32c2('0x1b'))&&(_0x242075[_0x32c2('0x6')][_0x32c2('0x8')](_0x4a8195,_0x3567ef['markerName']),_0x242075[_0x32c2('0x0')]['remove'](_0x4a8195));},{'priority':_0x32c2('0x15')}),_0x11959f['data'][_0x32c2('0x5')]['on'](_0x32c2('0x13'),(_0x3eb7ec,_0x32a57a,_0x2cbc20)=>{_0x2cbc20[_0x32c2('0x3')][_0x32c2('0x14')]&&_0xf905e0(_0x11959f,_0x32c2('0x17'),{'showActiveMarker':!0x1})[_0x32c2('0x1e')](this)(_0x3eb7ec,_0x32a57a,_0x2cbc20);},{'priority':'high'});}}
23
+ const _0x59b4=['editing','selection','createPositionAt','parent','enter','afterExecute','split','init','model','mapper','plugins','commands','createRange','unbindElementFromMarkerName','writer','fromRange','ck-suggestion-marker-split','get','data','downcastDispatcher','nextSibling','detach','enterBlock','bind','markerName','getFirstPosition','high','addMarker:suggestion:insertion','remove','requires','fire','hasClass','change','removeMarker:suggestion:insertion'];(function(_0x5636c7,_0x59b49c){const _0x580f5f=function(_0x5ed382){while(--_0x5ed382){_0x5636c7['push'](_0x5636c7['shift']());}};_0x580f5f(++_0x59b49c);}(_0x59b4,0x1ce));const _0x580f=function(_0x5636c7,_0x59b49c){_0x5636c7=_0x5636c7-0x0;let _0x580f5f=_0x59b4[_0x5636c7];return _0x580f5f;};import{Plugin as _0xa0a10}from'ckeditor5/src/core';import{Enter as _0x24ec86}from'ckeditor5/src/enter';import{LiveRange as _0x280430}from'ckeditor5/src/engine';import{downcastSplitMergeMarker as _0xa5c2ec}from'./utils';export default class z extends _0xa0a10{static get[_0x580f('0x9')](){return[_0x24ec86];}[_0x580f('0x15')](){const _0x22b64a=this['editor'],_0x4ec262=_0x22b64a[_0x580f('0x18')][_0x580f('0x1f')]('TrackChangesEditing'),_0xd889=_0x22b64a[_0x580f('0x19')][_0x580f('0x1f')](_0x580f('0x12'));_0x4ec262['enableCommand'](_0x580f('0x12'),()=>{_0x22b64a[_0x580f('0x16')][_0x580f('0xc')](_0x13fec7=>{const _0x5a00c1=_0x22b64a[_0x580f('0x16')]['document'][_0x580f('0xf')],_0x57121f=_0x5a00c1[_0x580f('0x5')](),_0x3844c2=_0x280430[_0x580f('0x1d')](_0x5a00c1['getFirstRange']());if(_0xd889[_0x580f('0x2')](_0x13fec7)){const _0x3bc751=_0x22b64a['model'][_0x580f('0x10')](_0x57121f[_0x580f('0x11')][_0x580f('0x0')],0x0),_0x47d231=_0x13fec7['createRange'](_0x57121f,_0x3bc751);_0x4ec262['markInsertion'](_0x47d231);}else _0x13fec7['setSelection'](_0x13fec7[_0x580f('0x1a')](_0x3844c2['end']));_0x3844c2[_0x580f('0x1')](),_0xd889[_0x580f('0xa')](_0x580f('0x13'),{'writer':_0x13fec7});});}),_0x22b64a[_0x580f('0xe')][_0x580f('0x21')]['on'](_0x580f('0x7'),_0xa5c2ec(_0x22b64a,_0x580f('0x14')),{'priority':_0x580f('0x6')}),_0x22b64a[_0x580f('0xe')][_0x580f('0x21')]['on'](_0x580f('0xd'),(_0x1af01f,_0x460825,_0x4f5f64)=>{const _0xaf94af=_0x4f5f64[_0x580f('0x17')]['markerNameToElements'](_0x460825['markerName']);if(_0xaf94af)for(const _0x53622b of _0xaf94af)_0x53622b[_0x580f('0xb')](_0x580f('0x1e'))&&(_0x4f5f64[_0x580f('0x17')][_0x580f('0x1b')](_0x53622b,_0x460825[_0x580f('0x4')]),_0x4f5f64[_0x580f('0x1c')][_0x580f('0x8')](_0x53622b));},{'priority':_0x580f('0x6')}),_0x22b64a[_0x580f('0x20')][_0x580f('0x21')]['on'](_0x580f('0x7'),(_0x330940,_0x27fc89,_0x4c5cd4)=>{_0x4c5cd4['options']['showSuggestionHighlights']&&_0xa5c2ec(_0x22b64a,'split',{'showActiveMarker':!0x1})[_0x580f('0x3')](this)(_0x330940,_0x27fc89,_0x4c5cd4);},{'priority':'high'});}}
@@ -1,21 +1,21 @@
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/findandreplace
7
- */
8
- import { Plugin } from 'ckeditor5/src/core';
9
- /**
10
- * Provides track changes plugin integration for find and replace feature.
11
- */
12
- export default class TrackChangesFindAndReplace extends Plugin {
13
- /**
14
- * @inheritDoc
15
- */
16
- afterInit(): void;
17
- handleFindCommand(executeCommand: Function, callbackOrText: Function | string, options?: {
18
- matchCase?: boolean;
19
- wholeWords?: boolean;
20
- }): void;
21
- }
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/findandreplace
7
+ */
8
+ import { Plugin } from 'ckeditor5/src/core';
9
+ /**
10
+ * Provides track changes plugin integration for find and replace feature.
11
+ */
12
+ export default class TrackChangesFindAndReplace extends Plugin {
13
+ /**
14
+ * @inheritDoc
15
+ */
16
+ afterInit(): void;
17
+ handleFindCommand(executeCommand: Function, callbackOrText: Function | string, options?: {
18
+ matchCase?: boolean;
19
+ wholeWords?: boolean;
20
+ }): void;
21
+ }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5ba5=['plugins','find','createPositionAt','markers','getMarkersGroup','FindAndReplaceUtils','afterInit','string','handleFindCommand','FindAndReplaceEditing','TrackChangesEditing','item','enableCommand','findPrevious','editor','getRange','bind','filter','model','get','_isInDeletionRange','findNext','getIntersection','replace','has'];(function(_0x46c022,_0x5ba5b3){const _0x42577d=function(_0x3143e7){while(--_0x3143e7){_0x46c022['push'](_0x46c022['shift']());}};_0x42577d(++_0x5ba5b3);}(_0x5ba5,0x18d));const _0x4257=function(_0x46c022,_0x5ba5b3){_0x46c022=_0x46c022-0x0;let _0x42577d=_0x5ba5[_0x46c022];return _0x42577d;};import{Plugin as _0x5b36e1}from'ckeditor5/src/core';export default class z extends _0x5b36e1{[_0x4257('0x9')](){if(!this[_0x4257('0x11')][_0x4257('0x3')][_0x4257('0x2')](_0x4257('0xc')))return;const _0x246226=this[_0x4257('0x11')][_0x4257('0x3')][_0x4257('0x16')](_0x4257('0xd'));_0x246226[_0x4257('0xf')](_0x4257('0x4'),this[_0x4257('0xb')][_0x4257('0x13')](this)),_0x246226[_0x4257('0xf')](_0x4257('0x18')),_0x246226[_0x4257('0xf')](_0x4257('0x10')),_0x246226[_0x4257('0xf')](_0x4257('0x1')),_0x246226['enableCommand']('replaceAll');}[_0x4257('0xb')](_0x34760e,_0x48f599,_0x4365a4={}){const _0x587100=this[_0x4257('0x11')][_0x4257('0x3')][_0x4257('0x16')](_0x4257('0x8'));void 0x0!==_0x4365a4&&_0x34760e(_0x4b3cb0=>(_0x4257('0xa')==typeof _0x48f599?_0x587100['findByTextCallback'](_0x48f599,_0x4365a4):_0x48f599)(_0x4b3cb0)[_0x4257('0x14')](_0x46d4f5=>!0x1===this[_0x4257('0x17')](_0x46d4f5,_0x4b3cb0[_0x4257('0xe')])),_0x4365a4);}[_0x4257('0x17')](_0x53b2f7,_0x21a5a9){const _0x537310=this[_0x4257('0x11')][_0x4257('0x15')]['createRange'](this['editor'][_0x4257('0x15')][_0x4257('0x5')](_0x21a5a9,_0x53b2f7['start']),this[_0x4257('0x11')]['model'][_0x4257('0x5')](_0x21a5a9,_0x53b2f7['end']));for(const _0x151422 of this[_0x4257('0x11')]['model'][_0x4257('0x6')][_0x4257('0x7')]('suggestion:deletion'))if(null!==_0x537310[_0x4257('0x0')](_0x151422[_0x4257('0x12')]()))return!0x0;return!0x1;}}
23
+ const _0x35e8=['getMarkersGroup','editor','model','markers','_isInDeletionRange','FindAndReplaceEditing','filter','suggestion:deletion','end','FindAndReplaceUtils','find','string','findPrevious','createPositionAt','createRange','findNext','afterInit','item','enableCommand','replace','bind','getRange','getIntersection','plugins','handleFindCommand','replaceAll'];(function(_0x234f08,_0x35e863){const _0x5652e8=function(_0x34fc0b){while(--_0x34fc0b){_0x234f08['push'](_0x234f08['shift']());}};_0x5652e8(++_0x35e863);}(_0x35e8,0xf8));const _0x5652=function(_0x234f08,_0x35e863){_0x234f08=_0x234f08-0x0;let _0x5652e8=_0x35e8[_0x234f08];return _0x5652e8;};import{Plugin as _0xe85b8c}from'ckeditor5/src/core';export default class H extends _0xe85b8c{[_0x5652('0x2')](){if(!this[_0x5652('0xd')][_0x5652('0x9')]['has'](_0x5652('0x11')))return;const _0x26f639=this[_0x5652('0xd')][_0x5652('0x9')]['get']('TrackChangesEditing');_0x26f639[_0x5652('0x4')](_0x5652('0x16'),this['handleFindCommand'][_0x5652('0x6')](this)),_0x26f639['enableCommand'](_0x5652('0x1')),_0x26f639[_0x5652('0x4')](_0x5652('0x18')),_0x26f639[_0x5652('0x4')](_0x5652('0x5')),_0x26f639[_0x5652('0x4')](_0x5652('0xb'));}[_0x5652('0xa')](_0x233ebe,_0x5a2206,_0xb113e1={}){const _0x34d35b=this[_0x5652('0xd')][_0x5652('0x9')]['get'](_0x5652('0x15'));void 0x0!==_0xb113e1&&_0x233ebe(_0x306d11=>(_0x5652('0x17')==typeof _0x5a2206?_0x34d35b['findByTextCallback'](_0x5a2206,_0xb113e1):_0x5a2206)(_0x306d11)[_0x5652('0x12')](_0x2d725c=>!0x1===this[_0x5652('0x10')](_0x2d725c,_0x306d11[_0x5652('0x3')])),_0xb113e1);}[_0x5652('0x10')](_0x3d1bfb,_0x54b2d6){const _0x252961=this[_0x5652('0xd')][_0x5652('0xe')][_0x5652('0x0')](this[_0x5652('0xd')][_0x5652('0xe')][_0x5652('0x19')](_0x54b2d6,_0x3d1bfb['start']),this[_0x5652('0xd')][_0x5652('0xe')][_0x5652('0x19')](_0x54b2d6,_0x3d1bfb[_0x5652('0x14')]));for(const _0x539434 of this['editor']['model'][_0x5652('0xf')][_0x5652('0xc')](_0x5652('0x13')))if(null!==_0x252961[_0x5652('0x8')](_0x539434[_0x5652('0x7')]()))return!0x0;return!0x1;}}