@ckeditor/ckeditor5-track-changes 40.2.0 → 41.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 (196) hide show
  1. package/CHANGELOG.md +5 -5
  2. package/LICENSE.md +1 -1
  3. package/README.md +1 -1
  4. package/build/track-changes.js +2 -2
  5. package/build/translations/es.js +1 -1
  6. package/lang/translations/ar.po +1 -1
  7. package/lang/translations/az.po +1 -1
  8. package/lang/translations/bg.po +1 -1
  9. package/lang/translations/bn.po +1 -1
  10. package/lang/translations/ca.po +1 -1
  11. package/lang/translations/cs.po +1 -1
  12. package/lang/translations/da.po +1 -1
  13. package/lang/translations/de.po +1 -1
  14. package/lang/translations/el.po +1 -1
  15. package/lang/translations/en-au.po +1 -1
  16. package/lang/translations/en.po +1 -1
  17. package/lang/translations/es.po +2 -2
  18. package/lang/translations/et.po +1 -1
  19. package/lang/translations/fi.po +1 -1
  20. package/lang/translations/fr.po +1 -1
  21. package/lang/translations/gl.po +1 -1
  22. package/lang/translations/he.po +1 -1
  23. package/lang/translations/hi.po +1 -1
  24. package/lang/translations/hr.po +1 -1
  25. package/lang/translations/hu.po +1 -1
  26. package/lang/translations/id.po +1 -1
  27. package/lang/translations/it.po +1 -1
  28. package/lang/translations/ja.po +1 -1
  29. package/lang/translations/ko.po +1 -1
  30. package/lang/translations/lt.po +1 -1
  31. package/lang/translations/lv.po +1 -1
  32. package/lang/translations/ms.po +1 -1
  33. package/lang/translations/nl.po +1 -1
  34. package/lang/translations/no.po +1 -1
  35. package/lang/translations/pl.po +1 -1
  36. package/lang/translations/pt-br.po +1 -1
  37. package/lang/translations/pt.po +1 -1
  38. package/lang/translations/ro.po +1 -1
  39. package/lang/translations/ru.po +1 -1
  40. package/lang/translations/sk.po +1 -1
  41. package/lang/translations/sq.po +1 -1
  42. package/lang/translations/sr-latn.po +1 -1
  43. package/lang/translations/sr.po +1 -1
  44. package/lang/translations/sv.po +1 -1
  45. package/lang/translations/th.po +1 -1
  46. package/lang/translations/tk.po +1 -1
  47. package/lang/translations/tr.po +1 -1
  48. package/lang/translations/tt.po +1 -1
  49. package/lang/translations/uk.po +1 -1
  50. package/lang/translations/ur.po +1 -1
  51. package/lang/translations/vi.po +1 -1
  52. package/lang/translations/zh-cn.po +1 -1
  53. package/lang/translations/zh.po +1 -1
  54. package/package.json +4 -3
  55. package/src/augmentation.d.ts +3 -3
  56. package/src/augmentation.js +1 -1
  57. package/src/commands/acceptsuggestioncommand.d.ts +3 -3
  58. package/src/commands/acceptsuggestioncommand.js +2 -2
  59. package/src/commands/discardsuggestioncommand.d.ts +3 -3
  60. package/src/commands/discardsuggestioncommand.js +2 -2
  61. package/src/commands/executeonallsuggestionscommand.d.ts +3 -3
  62. package/src/commands/executeonallsuggestionscommand.js +2 -2
  63. package/src/commands/executeonselectedsuggestionscommand.d.ts +3 -3
  64. package/src/commands/executeonselectedsuggestionscommand.js +2 -2
  65. package/src/commands/trackchangescommand.d.ts +2 -2
  66. package/src/commands/trackchangescommand.js +2 -2
  67. package/src/index.d.ts +13 -13
  68. package/src/index.js +2 -2
  69. package/src/integrations/aiassistant.d.ts +2 -2
  70. package/src/integrations/aiassistant.js +2 -2
  71. package/src/integrations/alignment.d.ts +2 -2
  72. package/src/integrations/alignment.js +2 -2
  73. package/src/integrations/basicstyles.d.ts +2 -2
  74. package/src/integrations/basicstyles.js +2 -2
  75. package/src/integrations/blockquote.d.ts +2 -2
  76. package/src/integrations/blockquote.js +2 -2
  77. package/src/integrations/casechange.d.ts +17 -0
  78. package/src/integrations/casechange.js +23 -0
  79. package/src/integrations/ckbox.d.ts +2 -2
  80. package/src/integrations/ckbox.js +2 -2
  81. package/src/integrations/codeblock.d.ts +2 -2
  82. package/src/integrations/codeblock.js +2 -2
  83. package/src/integrations/comments.d.ts +2 -2
  84. package/src/integrations/comments.js +2 -2
  85. package/src/integrations/deletecommand.d.ts +3 -3
  86. package/src/integrations/deletecommand.js +2 -2
  87. package/src/integrations/entercommand.d.ts +3 -3
  88. package/src/integrations/entercommand.js +2 -2
  89. package/src/integrations/findandreplace.d.ts +2 -2
  90. package/src/integrations/findandreplace.js +2 -2
  91. package/src/integrations/font.d.ts +2 -2
  92. package/src/integrations/font.js +2 -2
  93. package/src/integrations/formatpainter.d.ts +2 -2
  94. package/src/integrations/formatpainter.js +2 -2
  95. package/src/integrations/heading.d.ts +2 -2
  96. package/src/integrations/heading.js +2 -2
  97. package/src/integrations/highlight.d.ts +2 -2
  98. package/src/integrations/highlight.js +2 -2
  99. package/src/integrations/horizontalline.d.ts +2 -2
  100. package/src/integrations/horizontalline.js +2 -2
  101. package/src/integrations/htmlembed.d.ts +2 -2
  102. package/src/integrations/htmlembed.js +2 -2
  103. package/src/integrations/image.d.ts +2 -2
  104. package/src/integrations/image.js +2 -2
  105. package/src/integrations/imagereplace.d.ts +2 -2
  106. package/src/integrations/imagereplace.js +2 -2
  107. package/src/integrations/imagestyle.d.ts +2 -2
  108. package/src/integrations/imagestyle.js +2 -2
  109. package/src/integrations/importword.d.ts +2 -2
  110. package/src/integrations/importword.js +2 -2
  111. package/src/integrations/indent.d.ts +2 -2
  112. package/src/integrations/indent.js +2 -2
  113. package/src/integrations/inputcommand.d.ts +3 -3
  114. package/src/integrations/inputcommand.js +2 -2
  115. package/src/integrations/legacylist.d.ts +17 -0
  116. package/src/integrations/legacylist.js +23 -0
  117. package/src/integrations/{documentlistproperties.d.ts → legacylistproperties.d.ts} +7 -7
  118. package/src/integrations/legacylistproperties.js +23 -0
  119. package/src/integrations/link.d.ts +2 -2
  120. package/src/integrations/link.js +2 -2
  121. package/src/integrations/list.d.ts +6 -6
  122. package/src/integrations/list.js +2 -2
  123. package/src/integrations/listproperties.d.ts +6 -15
  124. package/src/integrations/listproperties.js +2 -2
  125. package/src/integrations/mediaembed.d.ts +2 -2
  126. package/src/integrations/mediaembed.js +2 -2
  127. package/src/integrations/mention.d.ts +2 -2
  128. package/src/integrations/mention.js +2 -2
  129. package/src/integrations/pagebreak.d.ts +2 -2
  130. package/src/integrations/pagebreak.js +2 -2
  131. package/src/integrations/paragraph.d.ts +2 -2
  132. package/src/integrations/paragraph.js +2 -2
  133. package/src/integrations/removeformat.d.ts +2 -2
  134. package/src/integrations/removeformat.js +2 -2
  135. package/src/integrations/restrictededitingmode.d.ts +2 -2
  136. package/src/integrations/restrictededitingmode.js +2 -2
  137. package/src/integrations/shiftentercommand.d.ts +3 -3
  138. package/src/integrations/shiftentercommand.js +2 -2
  139. package/src/integrations/standardeditingmode.d.ts +2 -2
  140. package/src/integrations/standardeditingmode.js +2 -2
  141. package/src/integrations/style.d.ts +2 -2
  142. package/src/integrations/style.js +2 -2
  143. package/src/integrations/table.d.ts +2 -2
  144. package/src/integrations/table.js +2 -2
  145. package/src/integrations/tablecaption.d.ts +3 -3
  146. package/src/integrations/tablecaption.js +2 -2
  147. package/src/integrations/tableclipboard.d.ts +3 -3
  148. package/src/integrations/tableclipboard.js +2 -2
  149. package/src/integrations/tablecolumnresize.d.ts +5 -5
  150. package/src/integrations/tablecolumnresize.js +2 -2
  151. package/src/integrations/tableheadings.d.ts +3 -3
  152. package/src/integrations/tableheadings.js +2 -2
  153. package/src/integrations/tablemergesplit.d.ts +3 -3
  154. package/src/integrations/tablemergesplit.js +2 -2
  155. package/src/integrations/tableofcontents.d.ts +2 -2
  156. package/src/integrations/tableofcontents.js +2 -2
  157. package/src/integrations/tableproperties.d.ts +5 -5
  158. package/src/integrations/tableproperties.js +2 -2
  159. package/src/integrations/template.d.ts +2 -2
  160. package/src/integrations/template.js +2 -2
  161. package/src/integrations/title.d.ts +2 -2
  162. package/src/integrations/title.js +2 -2
  163. package/src/integrations/undo.d.ts +2 -2
  164. package/src/integrations/undo.js +2 -2
  165. package/src/integrations/utils.d.ts +4 -4
  166. package/src/integrations/utils.js +2 -2
  167. package/src/suggestion.d.ts +6 -6
  168. package/src/suggestion.js +2 -2
  169. package/src/suggestiondescriptionfactory.d.ts +4 -4
  170. package/src/suggestiondescriptionfactory.js +2 -2
  171. package/src/trackchanges.d.ts +6 -6
  172. package/src/trackchanges.js +2 -2
  173. package/src/trackchangesconfig.d.ts +2 -2
  174. package/src/trackchangesconfig.js +1 -1
  175. package/src/trackchangesdata.d.ts +3 -3
  176. package/src/trackchangesdata.js +2 -2
  177. package/src/trackchangesediting.d.ts +56 -55
  178. package/src/trackchangesediting.js +2 -2
  179. package/src/trackchangesui.d.ts +4 -4
  180. package/src/trackchangesui.js +2 -2
  181. package/src/ui/suggestioncontroller.d.ts +6 -6
  182. package/src/ui/suggestioncontroller.js +2 -2
  183. package/src/ui/view/basesuggestionthreadview.d.ts +7 -7
  184. package/src/ui/view/basesuggestionthreadview.js +2 -2
  185. package/src/ui/view/suggestionthreadview.d.ts +6 -6
  186. package/src/ui/view/suggestionthreadview.js +2 -2
  187. package/src/utils/common-translations.d.ts +2 -2
  188. package/src/utils/common-translations.js +2 -2
  189. package/src/utils/utils.d.ts +5 -5
  190. package/src/utils/utils.js +2 -2
  191. package/theme/icons/track-changes-accept.svg +1 -1
  192. package/theme/icons/track-changes-discard.svg +1 -1
  193. package/theme/icons/track-changes.svg +1 -1
  194. package/src/integrations/documentlist.d.ts +0 -17
  195. package/src/integrations/documentlist.js +0 -23
  196. package/src/integrations/documentlistproperties.js +0 -23
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x13ce=['has','start','isEqual','document','getContainedElement','getClosestSelectedImageElement','nodeAfter','imageStylePostApply','commandReversedParams','isBlockImage','isIntersecting','ImageStyleEditing','length','refresh','chain','newRange','getFirstRange','isInlineImage','normalizedStyles','value','getSuggestion','Users','plugins','head','shouldConvertImageType','filter','_findSuggestions','subType','type','markBlockFormat','join','locale','isOwn','markInlineFormat','_suggestionFactory','formatInline','commandName','side','imageStyle','findIndex','_descriptionFactory','ImageUtils','format','setImageNaturalSizeAttributes','next','accept','title','isInContent','get','discard','_registerLegacyDescription','isBefore','editor','registerDescriptionCallback','model','selection','name','discardSuggestion','end','imageTypeInline','convertInlineImageToBlock','imageStylePreApply','toLowerCase','hasSuggestion','formatBlock','suggestion','commands','_splitMarkerName','registerCustomCallback','imageCaption','author','insertion','createRangeOn','TrackChangesEditing'];(function(_0x53fbef,_0x13ce41){const _0xf0edd=function(_0x2602fe){while(--_0x2602fe){_0x53fbef['push'](_0x53fbef['shift']());}};_0xf0edd(++_0x13ce41);}(_0x13ce,0x1c5));const _0xf0ed=function(_0x53fbef,_0x13ce41){_0x53fbef=_0x53fbef-0x0;let _0xf0edd=_0x13ce[_0x53fbef];return _0xf0edd;};import{Plugin as _0x368dee}from'ckeditor5/src/core';import{uid as _0x381f75}from'ckeditor5/src/utils';import{getTranslation as _0x5c7458}from'../utils/common-translations';export default class nt extends _0x368dee{['afterInit'](){const _0x24956f=this[_0xf0ed('0x2b')];if(!_0x24956f['plugins'][_0xf0ed('0x41')]('ImageStyleEditing'))return;const _0x44d47e=_0x24956f['plugins'][_0xf0ed('0x27')](_0xf0ed('0x40')),_0x24c874=_0x24956f['plugins'][_0xf0ed('0x27')](_0xf0ed('0x20')),_0x298ac0={};_0x44d47e['enableCommand'](_0xf0ed('0x1d'),(_0x4ebe28,_0x4e15ec)=>{const _0x45f0f7=_0x24956f[_0xf0ed('0xd')][_0xf0ed('0x27')](_0xf0ed('0xc'))['me'],_0x5e3290=_0x24956f[_0xf0ed('0x39')]['get'](_0xf0ed('0x1d'));let _0x484ccb=_0x24c874[_0xf0ed('0x46')](_0x24956f[_0xf0ed('0x2d')][_0xf0ed('0x44')]['selection']),_0x437ff5=_0x24956f[_0xf0ed('0x2d')][_0xf0ed('0x3f')](_0x484ccb),_0x75250f=_0x5e3290['value'];if(_0x75250f==_0x4e15ec[_0xf0ed('0xa')])return;const _0x3d0c19={'commandName':_0xf0ed('0x1d'),'commandParams':[_0x4e15ec],'formatGroupId':_0x381f75()};_0x24956f[_0xf0ed('0x2d')]['change'](()=>{if(_0x44d47e['getSuggestions']()['filter'](_0x50d2cd=>_0x50d2cd['isInContent']&&_0x45f0f7==_0x50d2cd[_0xf0ed('0x3d')]&&('formatBlock'==_0x50d2cd[_0xf0ed('0x13')]||'formatInline'==_0x50d2cd[_0xf0ed('0x13')])&&(_0xf0ed('0x34')==_0x50d2cd[_0xf0ed('0x12')]||'imageStylePostApply'==_0x50d2cd[_0xf0ed('0x12')])&&_0x50d2cd[_0xf0ed('0x7')]()[_0xf0ed('0x43')](_0x437ff5))['forEach'](_0x3dbf0d=>_0x44d47e[_0xf0ed('0x30')](_0x3dbf0d[_0xf0ed('0xe')])),_0x484ccb=_0x24c874[_0xf0ed('0x46')](_0x24956f[_0xf0ed('0x2d')][_0xf0ed('0x44')]['selection']),_0x437ff5=_0x24956f[_0xf0ed('0x2d')][_0xf0ed('0x3f')](_0x484ccb),_0x5e3290[_0xf0ed('0x4')](),_0x24956f[_0xf0ed('0x39')][_0xf0ed('0x27')](_0xf0ed('0x32'))[_0xf0ed('0x4')](),_0x24956f[_0xf0ed('0x39')][_0xf0ed('0x27')]('imageTypeBlock')[_0xf0ed('0x4')](),_0x75250f=_0x5e3290[_0xf0ed('0xa')],_0x75250f!=_0x4e15ec[_0xf0ed('0xa')])return _0x24c874[_0xf0ed('0x8')](_0x484ccb)&&_0x5e3290[_0xf0ed('0xf')](_0x4e15ec[_0xf0ed('0xa')],_0x484ccb)?(_0x4ebe28({..._0x4e15ec,'setImageSizes':!0x1}),_0x484ccb=_0x24c874[_0xf0ed('0x46')](_0x24956f['model'][_0xf0ed('0x44')][_0xf0ed('0x2e')]),void _0x44d47e['markBlockFormat'](_0x484ccb,{..._0x3d0c19,'commandReversedParams':[{'value':_0x75250f||null,'setImageSizes':!0x1}]},[],_0xf0ed('0x34'))):void(_0x24c874['isBlockImage'](_0x484ccb)?_0x44d47e[_0xf0ed('0x14')](_0x484ccb,_0x3d0c19,[],_0xf0ed('0x48')):_0x44d47e[_0xf0ed('0x18')](_0x437ff5,_0x3d0c19,_0xf0ed('0x48')));});});for(const _0x2c0810 of _0x24956f['plugins'][_0xf0ed('0x27')](_0xf0ed('0x2'))[_0xf0ed('0x9')])_0x298ac0[_0x2c0810[_0xf0ed('0x2f')]]=_0x2c0810[_0xf0ed('0x25')][_0xf0ed('0x35')]();_0x44d47e[_0xf0ed('0x19')]['registerCustomCallback'](_0xf0ed('0x37'),_0xf0ed('0x34'),'join',()=>!0x1),_0x44d47e[_0xf0ed('0x19')][_0xf0ed('0x3b')](_0xf0ed('0x37'),_0xf0ed('0x48'),_0xf0ed('0x15'),()=>!0x1),_0x44d47e[_0xf0ed('0x19')]['registerCustomCallback'](_0xf0ed('0x1a'),_0xf0ed('0x48'),_0xf0ed('0x15'),()=>!0x1),_0x44d47e[_0xf0ed('0x19')]['registerCustomCallback'](_0xf0ed('0x37'),'imageStylePreApply',_0xf0ed('0x24'),([_0x2fdda9])=>{_0x24c874[_0xf0ed('0x22')](_0x2fdda9[_0xf0ed('0x45')]());}),_0x44d47e[_0xf0ed('0x19')][_0xf0ed('0x3b')]('formatBlock',_0xf0ed('0x34'),_0xf0ed('0x28'),(_0x3dd91b,_0x44a172)=>{_0x44d47e[_0xf0ed('0x19')]['getSuggestionCallback'](_0xf0ed('0x37'),'','accept')(_0x3dd91b,{'commandName':_0x44a172['commandName'],'commandParams':_0x44a172[_0xf0ed('0x49')]});}),_0x44d47e[_0xf0ed('0x19')][_0xf0ed('0x3b')](_0xf0ed('0x37'),_0xf0ed('0x34'),_0xf0ed('0x5'),function(_0x10d775,_0x15f691){if(_0x400dac(_0x10d775,_0x15f691))return[_0x10d775,_0x15f691];if(_0x400dac(_0x15f691,_0x10d775))return[_0x15f691,_0x10d775];return null;});const _0x2dd370=[{'type':'formatBlock','subType':_0xf0ed('0x34')},{'type':_0xf0ed('0x3e'),'subType':_0xf0ed('0x3c')},{'type':_0xf0ed('0x37'),'subType':_0xf0ed('0x33')},{'type':_0xf0ed('0x3e'),'subType':_0xf0ed('0x33')}];function _0x400dac(_0x3a9005,_0xb9c2b1){const _0x37044a=_0x2dd370['findIndex'](({type:_0x5c105b,subType:_0x5e7fcf})=>_0x3a9005[_0xf0ed('0x13')]==_0x5c105b&&_0x3a9005[_0xf0ed('0x12')]==_0x5e7fcf),_0x4433eb=_0x2dd370[_0xf0ed('0x1e')](({type:_0x4f616a,subType:_0xd6f7})=>_0xb9c2b1[_0xf0ed('0x13')]==_0x4f616a&&_0xb9c2b1['subType']==_0xd6f7);if(_0x37044a<0x0||_0x4433eb<0x0)return!0x1;const _0x3e8a58=_0x3a9005[_0xf0ed('0x7')](),_0xfde9a5=_0xb9c2b1[_0xf0ed('0x7')]();if((0x0==_0x37044a||0x1==_0x37044a)&&0x2==_0x4433eb&&_0x3e8a58[_0xf0ed('0x1')](_0xfde9a5))return!0x0;if(0x2==_0x37044a&&0x3==_0x4433eb){const _0x5bdb89=_0x44d47e[_0xf0ed('0x11')](_0x3e8a58,_0xf0ed('0x3e'))[_0xf0ed('0x10')](({suggestion:_0x200605,meta:_0x1bc5e5})=>_0x1bc5e5[_0xf0ed('0x17')]&&'convertInlineImageToBlock'==_0x200605[_0xf0ed('0x12')]);if(_0x5bdb89[_0xf0ed('0x3')]>0x1&&_0xfde9a5[_0xf0ed('0x31')][_0xf0ed('0x43')](_0x3e8a58[_0xf0ed('0x42')]))return!0x0;if(0x1==_0x5bdb89[_0xf0ed('0x3')]&&(_0x3e8a58[_0xf0ed('0x42')][_0xf0ed('0x43')](_0xfde9a5['end'])||_0x3e8a58['end'][_0xf0ed('0x43')](_0xfde9a5[_0xf0ed('0x42')])))return!0x0;}if(0x3==_0x37044a&&0x3==_0x4433eb&&_0x3e8a58[_0xf0ed('0x42')][_0xf0ed('0x2a')](_0xfde9a5['start'])){const _0x5cbe16=_0x3e8a58['end'][_0xf0ed('0x47')],_0x25dbd5=_0xfde9a5['start']['nodeBefore'];return _0x24c874[_0xf0ed('0x0')](_0x5cbe16)&&_0x5cbe16===_0x25dbd5;}return!0x1;}_0x24956f[_0xf0ed('0x2d')][_0xf0ed('0x44')]['registerPostFixer'](()=>{let _0x3f18b1=!0x1;const _0xd12ef2=Array['from'](_0x24956f[_0xf0ed('0x2d')]['document']['differ']['getChangedMarkers']());for(const {name:_0x5685e8,data:_0x4c7985}of _0xd12ef2){const {group:_0x58e80d,type:_0x3d0118,subType:_0x505dc9,id:_0x2d666d}=_0x44d47e[_0xf0ed('0x3a')](_0x5685e8);if(_0xf0ed('0x38')==_0x58e80d&&_0x44d47e[_0xf0ed('0x36')](_0x2d666d)){if(_0xf0ed('0x37')==_0x3d0118&&(_0xf0ed('0x34')==_0x505dc9||_0xf0ed('0x48')==_0x505dc9)){const _0x31a928=_0x44d47e['getSuggestion'](_0x2d666d);if(_0x4c7985[_0xf0ed('0x6')]){const _0x409d3c=_0x31a928[_0xf0ed('0x7')]()[_0xf0ed('0x45')]();if(_0x24c874[_0xf0ed('0x0')](_0x409d3c))continue;_0x44d47e['discardSuggestion'](_0x31a928),_0x3f18b1=!0x0;}}if(_0xf0ed('0x3e')==_0x3d0118&&_0xf0ed('0x3c')==_0x505dc9&&!_0x4c7985[_0xf0ed('0x6')]){const _0x3776bf=_0x44d47e[_0xf0ed('0xb')](_0x2d666d);_0x3776bf[_0xf0ed('0x23')]&&_0x3776bf[_0xf0ed('0x23')][_0xf0ed('0x26')]&&(_0x44d47e[_0xf0ed('0x30')](_0x3776bf[_0xf0ed('0x23')]),_0x3f18b1=!0x0);}}}return _0x3f18b1;}),this[_0xf0ed('0x29')](_0x298ac0);}[_0xf0ed('0x29')](_0x351f6d){const _0x3d8e8c=this[_0xf0ed('0x2b')],_0xb4b46a=_0x3d8e8c[_0xf0ed('0x16')];_0x3d8e8c['plugins']['get']('TrackChangesEditing')[_0xf0ed('0x1f')][_0xf0ed('0x2c')](_0x2dd79f=>{if('formatBlock'!=_0x2dd79f[_0xf0ed('0x13')]&&_0xf0ed('0x1a')!=_0x2dd79f[_0xf0ed('0x13')])return;const {data:_0x360490}=_0x2dd79f;if(!_0x360490||_0xf0ed('0x1d')!=_0x360490[_0xf0ed('0x1b')])return;const _0x414179=_0x360490['commandParams'][0x0][_0xf0ed('0xa')];return _0x209b7e(_0xf0ed('0x1c')===_0x414179?_0x5c7458(_0xb4b46a,'FORMAT_SIDE_IMAGE'):_0x351f6d[_0x414179]||_0x414179);function _0x209b7e(_0x247174){return{'type':_0xf0ed('0x21'),'content':_0x5c7458(_0xb4b46a,'*Format:*\x20%0',_0x247174)};}});}}
23
+ const _0x4579=['registerDescriptionCallback','isEqual','next','start','filter','suggestion','isBefore','head','accept','convertInlineImageToBlock','formatBlock','normalizedStyles','type','createRangeOn','commands','document','ImageStyleEditing','_splitMarkerName','end','_findSuggestions','registerPostFixer','formatInline','has','imageStylePostApply','side','commandReversedParams','editor','imageStylePreApply','isInContent','name','_descriptionFactory','commandParams','markBlockFormat','discard','nodeBefore','findIndex','getSuggestionCallback','join','model','_suggestionFactory','get','getSuggestions','discardSuggestion','Users','getChangedMarkers','format','refresh','isOwn','hasSuggestion','enableCommand','imageStyle','getContainedElement','isInlineImage','*Format:*\x20%0','commandName','chain','nodeAfter','value','getFirstRange','isIntersecting','ImageUtils','insertion','imageTypeInline','selection','getSuggestion','forEach','getClosestSelectedImageElement','newRange','plugins','imageTypeBlock','imageCaption','isBlockImage','registerCustomCallback','TrackChangesEditing','subType'];(function(_0x344ae0,_0x4579a0){const _0xfc46ae=function(_0xdd7666){while(--_0xdd7666){_0x344ae0['push'](_0x344ae0['shift']());}};_0xfc46ae(++_0x4579a0);}(_0x4579,0x13f));const _0xfc46=function(_0x344ae0,_0x4579a0){_0x344ae0=_0x344ae0-0x0;let _0xfc46ae=_0x4579[_0x344ae0];return _0xfc46ae;};import{Plugin as _0x3c0e6a}from'ckeditor5/src/core.js';import{uid as _0x31990e}from'ckeditor5/src/utils.js';import{getTranslation as _0x4b9fe6}from'../utils/common-translations.js';export default class nt extends _0x3c0e6a{['afterInit'](){const _0xddc003=this[_0xfc46('0x7')];if(!_0xddc003[_0xfc46('0x31')][_0xfc46('0x3')](_0xfc46('0x48')))return;const _0x86b4d2=_0xddc003['plugins']['get'](_0xfc46('0x36')),_0x128887=_0xddc003['plugins'][_0xfc46('0x15')](_0xfc46('0x29')),_0x2b7dce={};_0x86b4d2[_0xfc46('0x1e')](_0xfc46('0x1f'),(_0x547711,_0x11f147)=>{const _0x2fcbb5=_0xddc003['plugins'][_0xfc46('0x15')](_0xfc46('0x18'))['me'],_0x402c26=_0xddc003[_0xfc46('0x46')][_0xfc46('0x15')](_0xfc46('0x1f'));let _0x350684=_0x128887[_0xfc46('0x2f')](_0xddc003[_0xfc46('0x13')][_0xfc46('0x47')][_0xfc46('0x2c')]),_0x221b76=_0xddc003['model']['createRangeOn'](_0x350684),_0x2c2350=_0x402c26['value'];if(_0x2c2350==_0x11f147[_0xfc46('0x26')])return;const _0x11def5={'commandName':_0xfc46('0x1f'),'commandParams':[_0x11f147],'formatGroupId':_0x31990e()};_0xddc003[_0xfc46('0x13')]['change'](()=>{if(_0x86b4d2[_0xfc46('0x16')]()[_0xfc46('0x3c')](_0x410a1b=>_0x410a1b[_0xfc46('0x9')]&&_0x2fcbb5==_0x410a1b['author']&&(_0xfc46('0x42')==_0x410a1b[_0xfc46('0x44')]||_0xfc46('0x2')==_0x410a1b[_0xfc46('0x44')])&&(_0xfc46('0x8')==_0x410a1b[_0xfc46('0x37')]||'imageStylePostApply'==_0x410a1b[_0xfc46('0x37')])&&_0x410a1b[_0xfc46('0x27')]()[_0xfc46('0x39')](_0x221b76))[_0xfc46('0x2e')](_0x17c127=>_0x86b4d2[_0xfc46('0x17')](_0x17c127[_0xfc46('0x3f')])),_0x350684=_0x128887[_0xfc46('0x2f')](_0xddc003[_0xfc46('0x13')][_0xfc46('0x47')][_0xfc46('0x2c')]),_0x221b76=_0xddc003[_0xfc46('0x13')][_0xfc46('0x45')](_0x350684),_0x402c26[_0xfc46('0x1b')](),_0xddc003[_0xfc46('0x46')]['get'](_0xfc46('0x2b'))[_0xfc46('0x1b')](),_0xddc003[_0xfc46('0x46')][_0xfc46('0x15')](_0xfc46('0x32'))[_0xfc46('0x1b')](),_0x2c2350=_0x402c26['value'],_0x2c2350!=_0x11f147[_0xfc46('0x26')])return _0x128887[_0xfc46('0x21')](_0x350684)&&_0x402c26['shouldConvertImageType'](_0x11f147['value'],_0x350684)?(_0x547711({..._0x11f147,'setImageSizes':!0x1}),_0x350684=_0x128887[_0xfc46('0x2f')](_0xddc003['model']['document']['selection']),void _0x86b4d2[_0xfc46('0xd')](_0x350684,{..._0x11def5,'commandReversedParams':[{'value':_0x2c2350||null,'setImageSizes':!0x1}]},[],_0xfc46('0x8'))):void(_0x128887['isBlockImage'](_0x350684)?_0x86b4d2[_0xfc46('0xd')](_0x350684,_0x11def5,[],_0xfc46('0x4')):_0x86b4d2['markInlineFormat'](_0x221b76,_0x11def5,_0xfc46('0x4')));});});for(const _0x3026e7 of _0xddc003['plugins']['get'](_0xfc46('0x48'))[_0xfc46('0x43')])_0x2b7dce[_0x3026e7[_0xfc46('0xa')]]=_0x3026e7['title']['toLowerCase']();_0x86b4d2['_suggestionFactory'][_0xfc46('0x35')]('formatBlock',_0xfc46('0x8'),_0xfc46('0x12'),()=>!0x1),_0x86b4d2[_0xfc46('0x14')][_0xfc46('0x35')](_0xfc46('0x42'),'imageStylePostApply','join',()=>!0x1),_0x86b4d2[_0xfc46('0x14')][_0xfc46('0x35')](_0xfc46('0x2'),_0xfc46('0x4'),_0xfc46('0x12'),()=>!0x1),_0x86b4d2[_0xfc46('0x14')][_0xfc46('0x35')](_0xfc46('0x42'),_0xfc46('0x8'),'accept',([_0x5e0760])=>{_0x128887['setImageNaturalSizeAttributes'](_0x5e0760[_0xfc46('0x20')]());}),_0x86b4d2[_0xfc46('0x14')][_0xfc46('0x35')](_0xfc46('0x42'),_0xfc46('0x8'),_0xfc46('0xe'),(_0x3cd33a,_0x1a23e8)=>{_0x86b4d2[_0xfc46('0x14')][_0xfc46('0x11')](_0xfc46('0x42'),'',_0xfc46('0x40'))(_0x3cd33a,{'commandName':_0x1a23e8['commandName'],'commandParams':_0x1a23e8[_0xfc46('0x6')]});}),_0x86b4d2[_0xfc46('0x14')][_0xfc46('0x35')](_0xfc46('0x42'),_0xfc46('0x8'),_0xfc46('0x24'),function(_0x5ec53a,_0x3b49d7){if(_0x27309c(_0x5ec53a,_0x3b49d7))return[_0x5ec53a,_0x3b49d7];if(_0x27309c(_0x3b49d7,_0x5ec53a))return[_0x3b49d7,_0x5ec53a];return null;});const _0x24af36=[{'type':_0xfc46('0x42'),'subType':_0xfc46('0x8')},{'type':_0xfc46('0x2a'),'subType':'imageCaption'},{'type':_0xfc46('0x42'),'subType':_0xfc46('0x41')},{'type':_0xfc46('0x2a'),'subType':_0xfc46('0x41')}];function _0x27309c(_0x40aa9d,_0x4b4242){const _0x47cbd1=_0x24af36[_0xfc46('0x10')](({type:_0x513cdc,subType:_0x486957})=>_0x40aa9d[_0xfc46('0x44')]==_0x513cdc&&_0x40aa9d[_0xfc46('0x37')]==_0x486957),_0x4546ed=_0x24af36[_0xfc46('0x10')](({type:_0x553099,subType:_0x4200ea})=>_0x4b4242[_0xfc46('0x44')]==_0x553099&&_0x4b4242['subType']==_0x4200ea);if(_0x47cbd1<0x0||_0x4546ed<0x0)return!0x1;const _0x2b452e=_0x40aa9d[_0xfc46('0x27')](),_0x4e2190=_0x4b4242[_0xfc46('0x27')]();if((0x0==_0x47cbd1||0x1==_0x47cbd1)&&0x2==_0x4546ed&&_0x2b452e[_0xfc46('0x28')](_0x4e2190))return!0x0;if(0x2==_0x47cbd1&&0x3==_0x4546ed){const _0x165b64=_0x86b4d2[_0xfc46('0x0')](_0x2b452e,'insertion')[_0xfc46('0x3c')](({suggestion:_0x5d6a70,meta:_0x489b02})=>_0x489b02[_0xfc46('0x1c')]&&_0xfc46('0x41')==_0x5d6a70['subType']);if(_0x165b64['length']>0x1&&_0x4e2190[_0xfc46('0x4a')]['isEqual'](_0x2b452e[_0xfc46('0x3b')]))return!0x0;if(0x1==_0x165b64['length']&&(_0x2b452e[_0xfc46('0x3b')]['isEqual'](_0x4e2190[_0xfc46('0x4a')])||_0x2b452e[_0xfc46('0x4a')]['isEqual'](_0x4e2190[_0xfc46('0x3b')])))return!0x0;}if(0x3==_0x47cbd1&&0x3==_0x4546ed&&_0x2b452e[_0xfc46('0x3b')][_0xfc46('0x3e')](_0x4e2190['start'])){const _0x3e47bf=_0x2b452e[_0xfc46('0x4a')][_0xfc46('0x25')],_0x4a5a79=_0x4e2190[_0xfc46('0x3b')][_0xfc46('0xf')];return _0x128887[_0xfc46('0x34')](_0x3e47bf)&&_0x3e47bf===_0x4a5a79;}return!0x1;}_0xddc003['model']['document'][_0xfc46('0x1')](()=>{let _0x24390d=!0x1;const _0x51a8a3=Array['from'](_0xddc003[_0xfc46('0x13')][_0xfc46('0x47')]['differ'][_0xfc46('0x19')]());for(const {name:_0x5b2fe8,data:_0x3f33a6}of _0x51a8a3){const {group:_0x455c1a,type:_0x2b40e4,subType:_0x366108,id:_0x19e272}=_0x86b4d2[_0xfc46('0x49')](_0x5b2fe8);if(_0xfc46('0x3d')==_0x455c1a&&_0x86b4d2[_0xfc46('0x1d')](_0x19e272)){if('formatBlock'==_0x2b40e4&&(_0xfc46('0x8')==_0x366108||'imageStylePostApply'==_0x366108)){const _0x1e57c7=_0x86b4d2[_0xfc46('0x2d')](_0x19e272);if(_0x3f33a6[_0xfc46('0x30')]){const _0x3150dd=_0x1e57c7[_0xfc46('0x27')]()[_0xfc46('0x20')]();if(_0x128887[_0xfc46('0x34')](_0x3150dd))continue;_0x86b4d2[_0xfc46('0x17')](_0x1e57c7),_0x24390d=!0x0;}}if('insertion'==_0x2b40e4&&_0xfc46('0x33')==_0x366108&&!_0x3f33a6['newRange']){const _0x49943b=_0x86b4d2[_0xfc46('0x2d')](_0x19e272);_0x49943b['next']&&_0x49943b[_0xfc46('0x3a')][_0xfc46('0x9')]&&(_0x86b4d2[_0xfc46('0x17')](_0x49943b[_0xfc46('0x3a')]),_0x24390d=!0x0);}}}return _0x24390d;}),this['_registerLegacyDescription'](_0x2b7dce);}['_registerLegacyDescription'](_0x4ef550){const _0xc060a6=this['editor'],_0x2430f0=_0xc060a6['locale'];_0xc060a6['plugins'][_0xfc46('0x15')](_0xfc46('0x36'))[_0xfc46('0xb')][_0xfc46('0x38')](_0x4451db=>{if('formatBlock'!=_0x4451db[_0xfc46('0x44')]&&_0xfc46('0x2')!=_0x4451db[_0xfc46('0x44')])return;const {data:_0x197530}=_0x4451db;if(!_0x197530||_0xfc46('0x1f')!=_0x197530[_0xfc46('0x23')])return;const _0x5da5ed=_0x197530[_0xfc46('0xc')][0x0]['value'];return _0x3054ce(_0xfc46('0x5')===_0x5da5ed?_0x4b9fe6(_0x2430f0,'FORMAT_SIDE_IMAGE'):_0x4ef550[_0x5da5ed]||_0x5da5ed);function _0x3054ce(_0x1c93f1){return{'type':_0xfc46('0x1a'),'content':_0x4b9fe6(_0x2430f0,_0xfc46('0x22'),_0x1c93f1)};}});}}
@@ -1,11 +1,11 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  /**
6
6
  * @module track-changes/integrations/importword
7
7
  */
8
- import { Plugin, type Editor } from 'ckeditor5/src/core';
8
+ import { Plugin, type Editor } from 'ckeditor5/src/core.js';
9
9
  /**
10
10
  * Provides track changes plugin integration for the import from Word feature.
11
11
  */
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4345=['commands','listenTo','dataInsert','editor','_trackChangesExecuted','get','_handleImportedData','high','track_changes','lowest','trackChanges','plugins','enableCommand','collaboration_features','bind','forEach','afterInit','value','_trackChangesValueDuringImport','TrackChangesEditing','importWord','execute','_setSuggestionData'];(function(_0x4724c6,_0x434510){const _0x3bd15f=function(_0x3ed2de){while(--_0x3ed2de){_0x4724c6['push'](_0x4724c6['shift']());}};_0x3bd15f(++_0x434510);}(_0x4345,0x76));const _0x3bd1=function(_0x4724c6,_0x434510){_0x4724c6=_0x4724c6-0x0;let _0x3bd15f=_0x4345[_0x4724c6];return _0x3bd15f;};import{Plugin as _0x25e2aa}from'ckeditor5/src/core';export default class st extends _0x25e2aa{constructor(_0x9c9ffe){super(_0x9c9ffe),this[_0x3bd1('0xf')]=!0x1,this['_trackChangesExecuted']=!0x1;}[_0x3bd1('0xd')](){const _0x4b5a09=this[_0x3bd1('0x0')],_0x36489d=_0x4b5a09[_0x3bd1('0x14')][_0x3bd1('0x2')]('importWord'),_0x36a107=_0x4b5a09['commands']['get'](_0x3bd1('0x7'));_0x36489d&&(_0x36489d['on']('execute',(_0x38f9f7,[,_0x4f4ad0])=>{this[_0x3bd1('0xf')]=_0x36a107[_0x3bd1('0xe')],_0x4f4ad0[_0x3bd1('0xa')][_0x3bd1('0x5')]=!this[_0x3bd1('0xf')];},{'priority':_0x3bd1('0x4')}),this['listenTo'](_0x36489d,'dataInsert',this[_0x3bd1('0x3')][_0x3bd1('0xb')](this)),this[_0x3bd1('0x15')](_0x36489d,_0x3bd1('0x16'),()=>{this[_0x3bd1('0x1')]&&(_0x36a107[_0x3bd1('0x12')](),this[_0x3bd1('0x1')]=!0x1);},{'priority':_0x3bd1('0x6')}),_0x4b5a09[_0x3bd1('0x8')][_0x3bd1('0x2')](_0x3bd1('0x10'))[_0x3bd1('0x9')]('importWord'));}[_0x3bd1('0x3')](_0x18709b,_0x41a595){const {suggestions:_0x4ff374}=_0x41a595,_0x2c6b80=this[_0x3bd1('0x0')][_0x3bd1('0x14')][_0x3bd1('0x2')](_0x3bd1('0x7')),_0x3db578=_0x2c6b80[_0x3bd1('0xe')];this['_trackChangesValueDuringImport']!==_0x3db578&&(_0x2c6b80[_0x3bd1('0x12')](),this['_trackChangesExecuted']=!0x0),_0x4ff374&&_0x4ff374[_0x3bd1('0xc')](({id:_0x650443,type:_0x22e7e2,author:_0x178939,created_at:_0x41f0e6})=>{const _0x5cfc44={'id':_0x650443,'type':_0x22e7e2,'authorId':this[_0x3bd1('0x0')][_0x3bd1('0x8')][_0x3bd1('0x2')]('Users')['me']['id'],'createdAt':new Date(),'data':null,'hasComments':!0x1,'attributes':{'@external':{'authorName':_0x178939,'createdAt':_0x41f0e6?new Date(_0x41f0e6):new Date(),'source':_0x3bd1('0x11')}}};this[_0x3bd1('0x0')][_0x3bd1('0x8')][_0x3bd1('0x2')](_0x3bd1('0x10'))[_0x3bd1('0x13')](_0x5cfc44);});}}
23
+ const _0x17b9=['plugins','_handleImportedData','lowest','value','bind','commands','dataInsert','get','collaboration_features','_setSuggestionData','listenTo','importWord','enableCommand','forEach','_trackChangesExecuted','_trackChangesValueDuringImport','afterInit','TrackChangesEditing','track_changes','high','trackChanges'];(function(_0x411224,_0x17b9be){const _0x1da7d8=function(_0x139fa8){while(--_0x139fa8){_0x411224['push'](_0x411224['shift']());}};_0x1da7d8(++_0x17b9be);}(_0x17b9,0x175));const _0x1da7=function(_0x411224,_0x17b9be){_0x411224=_0x411224-0x0;let _0x1da7d8=_0x17b9[_0x411224];return _0x1da7d8;};import{Plugin as _0x3cc9dc}from'ckeditor5/src/core.js';export default class ot extends _0x3cc9dc{constructor(_0x460839){super(_0x460839),this[_0x1da7('0x14')]=!0x1,this['_trackChangesExecuted']=!0x1;}[_0x1da7('0x0')](){const _0x2f6b11=this['editor'],_0xdc2e92=_0x2f6b11['commands'][_0x1da7('0xc')]('importWord'),_0x373784=_0x2f6b11['commands'][_0x1da7('0xc')](_0x1da7('0x4'));_0xdc2e92&&(_0xdc2e92['on']('execute',(_0x43cfe5,[,_0x3aa6e5])=>{this[_0x1da7('0x14')]=_0x373784[_0x1da7('0x8')],_0x3aa6e5[_0x1da7('0xd')][_0x1da7('0x2')]=!this[_0x1da7('0x14')];},{'priority':_0x1da7('0x3')}),this[_0x1da7('0xf')](_0xdc2e92,_0x1da7('0xb'),this['_handleImportedData'][_0x1da7('0x9')](this)),this[_0x1da7('0xf')](_0xdc2e92,_0x1da7('0xb'),()=>{this[_0x1da7('0x13')]&&(_0x373784['execute'](),this['_trackChangesExecuted']=!0x1);},{'priority':_0x1da7('0x7')}),_0x2f6b11['plugins']['get'](_0x1da7('0x1'))[_0x1da7('0x11')](_0x1da7('0x10')));}[_0x1da7('0x6')](_0x1dbe9a,_0x41cf99){const {suggestions:_0x4fd333}=_0x41cf99,_0x42576c=this['editor'][_0x1da7('0xa')]['get'](_0x1da7('0x4')),_0x15e734=_0x42576c[_0x1da7('0x8')];this[_0x1da7('0x14')]!==_0x15e734&&(_0x42576c['execute'](),this[_0x1da7('0x13')]=!0x0),_0x4fd333&&_0x4fd333[_0x1da7('0x12')](({id:_0x1a7554,type:_0x2999fd,author:_0x17a900,created_at:_0x4d73ce})=>{const _0x38872f={'id':_0x1a7554,'type':_0x2999fd,'authorId':this['editor'][_0x1da7('0x5')][_0x1da7('0xc')]('Users')['me']['id'],'createdAt':new Date(),'data':null,'hasComments':!0x1,'attributes':{'@external':{'authorName':_0x17a900,'createdAt':_0x4d73ce?new Date(_0x4d73ce):new Date(),'source':'importWord'}}};this['editor'][_0x1da7('0x5')]['get']('TrackChangesEditing')[_0x1da7('0xe')](_0x38872f);});}}
@@ -1,11 +1,11 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  /**
6
6
  * @module track-changes/integrations/indent
7
7
  */
8
- import { Plugin } from 'ckeditor5/src/core';
8
+ import { Plugin } from 'ckeditor5/src/core.js';
9
9
  /**
10
10
  * Provides track changes plugin integration for {@link module:indent/indent~Indent indent/outdent feature}.
11
11
  */
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2dcf=['_registerLegacyDescription','formatBlock','outdentBlock','enableCommand','commandName','registerAttributeLabel','get','locale','TrackChangesEditing','registerDescriptionCallback','indentBlock','has','blockIndent','IndentBlock','_descriptionFactory','afterInit','getItems','_registerBlockAttribute','format','indent','plugins','type','_enableDefaultAttributesIntegration','IndentEditing','editor','outdent','getItemLabel'];(function(_0x3dbeb4,_0x2dcf37){const _0x1a4dfe=function(_0x188874){while(--_0x188874){_0x3dbeb4['push'](_0x3dbeb4['shift']());}};_0x1a4dfe(++_0x2dcf37);}(_0x2dcf,0x167));const _0x1a4d=function(_0x3dbeb4,_0x2dcf37){_0x3dbeb4=_0x3dbeb4-0x0;let _0x1a4dfe=_0x2dcf[_0x3dbeb4];return _0x1a4dfe;};import{Plugin as _0xea208c}from'ckeditor5/src/core';import{getTranslation as _0xa420e4}from'../utils/common-translations';export default class ot extends _0xea208c{[_0x1a4d('0x7')](){const _0x1bad01=this[_0x1a4d('0x10')],_0x12e59c=_0x1bad01[_0x1a4d('0xc')][_0x1a4d('0x19')](_0x1a4d('0x0'));if(_0x1bad01[_0x1a4d('0xc')][_0x1a4d('0x3')](_0x1a4d('0xf'))&&(_0x12e59c[_0x1a4d('0x16')](_0x1a4d('0xb')),_0x12e59c['enableCommand'](_0x1a4d('0x11'))),_0x1bad01[_0x1a4d('0xc')][_0x1a4d('0x3')](_0x1a4d('0x5')))for(const _0x20d944 of[_0x1a4d('0x2'),_0x1a4d('0x15')])_0x12e59c[_0x1a4d('0xe')](_0x20d944);const _0x4bb857=_0x1bad01[_0x1a4d('0x1a')];_0x12e59c[_0x1a4d('0x9')](_0x1a4d('0x4')),_0x12e59c[_0x1a4d('0x6')][_0x1a4d('0x18')](_0x1a4d('0x4'),_0xa420e4(_0x4bb857,'FORMAT_INDENT')),this[_0x1a4d('0x13')]();}['_registerLegacyDescription'](){const _0x3dc260=this[_0x1a4d('0x10')],_0x2adbb1=_0x3dc260[_0x1a4d('0x1a')],_0x4c067a=_0x3dc260[_0x1a4d('0xc')][_0x1a4d('0x19')]('TrackChangesEditing');_0x4c067a[_0x1a4d('0x6')][_0x1a4d('0x1')](_0xfca25f=>{if(_0x1a4d('0x14')!=_0xfca25f[_0x1a4d('0xd')])return;const {data:_0xd1dd93}=_0xfca25f;if(!_0xd1dd93)return;if(_0x1a4d('0x2')!=_0xd1dd93[_0x1a4d('0x17')]&&_0x1a4d('0x15')!=_0xd1dd93['commandName'])return;const _0x5eed9b=_0xfca25f[_0x1a4d('0x8')]()[0x0],_0x128eb4=_0x4c067a['_descriptionFactory'][_0x1a4d('0x12')](_0x5eed9b);return _0x1a4d('0x2')==_0xd1dd93[_0x1a4d('0x17')]?{'type':_0x1a4d('0xa'),'content':_0xa420e4(_0x2adbb1,'*Indent:*\x20%0',_0x128eb4)}:_0x1a4d('0x15')==_0xd1dd93[_0x1a4d('0x17')]?{'type':_0x1a4d('0xa'),'content':_0xa420e4(_0x2adbb1,'*Outdent:*\x20%0',_0x128eb4)}:void 0x0;});}}
23
+ const _0x30eb=['format','indentBlock','locale','has','*Outdent:*\x20%0','_registerBlockAttribute','commandName','registerAttributeLabel','FORMAT_INDENT','afterInit','_registerLegacyDescription','outdentBlock','blockIndent','enableCommand','_enableDefaultAttributesIntegration','formatBlock','getItems','plugins','TrackChangesEditing','indent','IndentEditing','_descriptionFactory','IndentBlock','type','get','outdent'];(function(_0x173fed,_0x30eb9e){const _0x161c97=function(_0x1e177e){while(--_0x1e177e){_0x173fed['push'](_0x173fed['shift']());}};_0x161c97(++_0x30eb9e);}(_0x30eb,0x6a));const _0x161c=function(_0x173fed,_0x30eb9e){_0x173fed=_0x173fed-0x0;let _0x161c97=_0x30eb[_0x173fed];return _0x161c97;};import{Plugin as _0x312bd5}from'ckeditor5/src/core.js';import{getTranslation as _0xd3b36d}from'../utils/common-translations.js';export default class rt extends _0x312bd5{[_0x161c('0x7')](){const _0x4c8f77=this['editor'],_0x49d105=_0x4c8f77[_0x161c('0xf')][_0x161c('0x16')](_0x161c('0x10'));if(_0x4c8f77['plugins'][_0x161c('0x1')](_0x161c('0x12'))&&(_0x49d105[_0x161c('0xb')](_0x161c('0x11')),_0x49d105[_0x161c('0xb')](_0x161c('0x17'))),_0x4c8f77['plugins']['has'](_0x161c('0x14')))for(const _0x25f19f of[_0x161c('0x19'),_0x161c('0x9')])_0x49d105[_0x161c('0xc')](_0x25f19f);const _0x186de1=_0x4c8f77[_0x161c('0x0')];_0x49d105[_0x161c('0x3')](_0x161c('0xa')),_0x49d105['_descriptionFactory'][_0x161c('0x5')](_0x161c('0xa'),_0xd3b36d(_0x186de1,_0x161c('0x6'))),this[_0x161c('0x8')]();}[_0x161c('0x8')](){const _0x51d770=this['editor'],_0x169a5e=_0x51d770[_0x161c('0x0')],_0x30a3ce=_0x51d770[_0x161c('0xf')]['get']('TrackChangesEditing');_0x30a3ce[_0x161c('0x13')]['registerDescriptionCallback'](_0x488024=>{if(_0x161c('0xd')!=_0x488024[_0x161c('0x15')])return;const {data:_0x2dbf20}=_0x488024;if(!_0x2dbf20)return;if(_0x161c('0x19')!=_0x2dbf20[_0x161c('0x4')]&&'outdentBlock'!=_0x2dbf20[_0x161c('0x4')])return;const _0x11ebcb=_0x488024[_0x161c('0xe')]()[0x0],_0x1a3639=_0x30a3ce['_descriptionFactory']['getItemLabel'](_0x11ebcb);return'indentBlock'==_0x2dbf20[_0x161c('0x4')]?{'type':_0x161c('0x18'),'content':_0xd3b36d(_0x169a5e,'*Indent:*\x20%0',_0x1a3639)}:'outdentBlock'==_0x2dbf20[_0x161c('0x4')]?{'type':_0x161c('0x18'),'content':_0xd3b36d(_0x169a5e,_0x161c('0x2'),_0x1a3639)}:void 0x0;});}}
@@ -1,12 +1,12 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  /**
6
6
  * @module track-changes/integrations/inputcommand/inputcommand
7
7
  */
8
- import { Plugin } from 'ckeditor5/src/core';
9
- import { Input } from 'ckeditor5/src/typing';
8
+ import { Plugin } from 'ckeditor5/src/core.js';
9
+ import { Input } from 'ckeditor5/src/typing.js';
10
10
  /**
11
11
  * Provides track changes plugin integration for {@link module:typing/inputcommand~InputCommand input command}.
12
12
  */
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x14ab=['init','plugins','get','editor','enableCommand','TrackChangesEditing','requires'];(function(_0x111629,_0x14abd7){var _0x4c6400=function(_0x2f5e34){while(--_0x2f5e34){_0x111629['push'](_0x111629['shift']());}};_0x4c6400(++_0x14abd7);}(_0x14ab,0xab));var _0x4c64=function(_0x111629,_0x14abd7){_0x111629=_0x111629-0x0;var _0x4c6400=_0x14ab[_0x111629];return _0x4c6400;};import{Plugin as _0x33d522}from'ckeditor5/src/core';import{Input as _0x26591c}from'ckeditor5/src/typing';export default class rt extends _0x33d522{static get[_0x4c64('0x3')](){return[_0x26591c];}[_0x4c64('0x4')](){this[_0x4c64('0x0')][_0x4c64('0x5')][_0x4c64('0x6')](_0x4c64('0x2'))[_0x4c64('0x1')]('input');}}
23
+ var _0x15e3=['input','init','editor','requires','plugins','enableCommand','TrackChangesEditing'];(function(_0xa92df7,_0x15e348){var _0x28954e=function(_0x52c005){while(--_0x52c005){_0xa92df7['push'](_0xa92df7['shift']());}};_0x28954e(++_0x15e348);}(_0x15e3,0x90));var _0x2895=function(_0xa92df7,_0x15e348){_0xa92df7=_0xa92df7-0x0;var _0x28954e=_0x15e3[_0xa92df7];return _0x28954e;};import{Plugin as _0x4b4968}from'ckeditor5/src/core.js';import{Input as _0x1de65f}from'ckeditor5/src/typing.js';export default class at extends _0x4b4968{static get[_0x2895('0x6')](){return[_0x1de65f];}[_0x2895('0x4')](){this[_0x2895('0x5')][_0x2895('0x0')]['get'](_0x2895('0x2'))[_0x2895('0x1')](_0x2895('0x3'));}}
@@ -0,0 +1,17 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, 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/legacylist
7
+ */
8
+ import { Plugin } from 'ckeditor5/src/core.js';
9
+ /**
10
+ * Provides track changes plugin integration for legacy list feature.
11
+ */
12
+ export default class TrackChangesLegacyList extends Plugin {
13
+ /**
14
+ * @inheritDoc
15
+ */
16
+ afterInit(): void;
17
+ }
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2024, 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 _0x5783=['LegacyTodoListEditing','replace','afterInit','blockName','_selectedElements','bulleted','indentList','formatBlock','length','parent','slice','element','commandName','*Change\x20to:*\x20%0','*Uncheck\x20item*','*Outdent:*\x20%0','todo','document','getAttribute','model','nextSibling','TrackChangesEditing','ELEMENT_LIST_ITEM','get','schema','name','add','ELEMENT_NUMBERED_LIST','markBlockFormat','registerElementLabel','enableCommand','push','getSelectedBlocks','value','formatInline','type','numberedList','end','previousSibling','_descriptionFactory','selection','format','execute','listIndent','listItem','change','plugins','registerDescriptionCallback','*Check\x20item*','numbered','outdentList','checkTodoList','List','todoListChecked','createPositionAt','from','isObject','filter','todoList','LegacyListEditing','findIndex','*Indent:*\x20%0','has','locale','bulletedList','listType','commands'];(function(_0x21d116,_0x578325){const _0x5d483e=function(_0x2e3af7){while(--_0x2e3af7){_0x21d116['push'](_0x21d116['shift']());}};_0x5d483e(++_0x578325);}(_0x5783,0xf2));const _0x5d48=function(_0x21d116,_0x578325){_0x21d116=_0x21d116-0x0;let _0x5d483e=_0x5783[_0x21d116];return _0x5d483e;};import{Plugin as _0x188771}from'ckeditor5/src/core.js';import{getTranslation as _0x36ff2b}from'../utils/common-translations.js';export default class ut extends _0x188771{[_0x5d48('0x1c')](){const _0x59e532=this['editor'],_0x38def3=_0x59e532[_0x5d48('0x16')];if(!_0x59e532[_0x5d48('0x5')][_0x5d48('0x15')](_0x5d48('0x12')))return;const _0x381710=_0x59e532['plugins']['get'](_0x5d48('0x2f')),_0x192145=_0x59e532[_0x5d48('0x5')][_0x5d48('0x15')](_0x5d48('0x1a'));function _0x203543(_0x4184b1){return()=>{const _0x16e699=_0x59e532[_0x5d48('0x2d')][_0x5d48('0x2b')][_0x5d48('0x42')],_0x44a783=_0x59e532[_0x5d48('0x19')][_0x5d48('0x31')](_0x4184b1);if(_0x44a783[_0x5d48('0x3b')])return void _0x59e532[_0x5d48('0x1')]('paragraph',{});const _0x490959=_0x4184b1['slice'](0x0,-0x4),_0x5839b6=function(_0x5cf004,_0x300466,_0x50917c){let _0xc949c6=Array[_0x5d48('0xe')](_0x5cf004)[_0x5d48('0x10')](_0xc1c496=>function(_0x5c9226,_0x32f702){return _0x32f702['checkChild'](_0x5c9226[_0x5d48('0x23')],_0x5d48('0x3'))&&!_0x32f702[_0x5d48('0xf')](_0x5c9226);}(_0xc1c496,_0x50917c));_0xc949c6=_0xc949c6['filter'](_0xafb661=>!_0xafb661['is'](_0x5d48('0x25'),_0x5d48('0x3'))||_0xafb661[_0x5d48('0x2c')](_0x5d48('0x18'))!=_0x300466);const _0x4c203e=new Set();for(const _0x1f8084 of _0xc949c6)_0x1f8084['is'](_0x5d48('0x25'),_0x5d48('0x3'))?_0x4c203e[_0x5d48('0x34')](ne(_0x1f8084)):_0x4c203e[_0x5d48('0x34')](_0x1f8084);return Array['from'](_0x4c203e);}(_0x16e699[_0x5d48('0x3a')](),_0x490959,_0x59e532[_0x5d48('0x2d')][_0x5d48('0x32')]);_0x59e532['model'][_0x5d48('0x4')](()=>{for(const _0x1abdba of _0x5839b6)_0x381710[_0x5d48('0x36')](_0x1abdba,{'commandName':_0x4184b1,'commandParams':[{'forceValue':!_0x44a783[_0x5d48('0x3b')]}],'formatGroupId':_0x5d48('0x1d')},oe(_0x1abdba));});};}function _0x5c742d(_0x8d1ef3){return()=>{const _0x1662db=function(_0x3f86e2){let _0x1e2b7a=Array[_0x5d48('0xe')](_0x3f86e2);const _0x44ce09=_0x1e2b7a[_0x5d48('0x13')](_0x4e17cb=>_0x5d48('0x3')!=_0x4e17cb[_0x5d48('0x33')]);return _0x44ce09>-0x1&&(_0x1e2b7a=_0x1e2b7a[_0x5d48('0x24')](0x0,_0x44ce09)),_0x1e2b7a;}(_0x59e532[_0x5d48('0x2d')][_0x5d48('0x2b')]['selection'][_0x5d48('0x3a')]()),_0x3a8ca4=_0x59e532['model']['createRange'](_0x59e532['model'][_0x5d48('0xd')](_0x1662db[0x0],'before'),_0x59e532['model'][_0x5d48('0xd')](_0x1662db[_0x1662db[_0x5d48('0x22')]-0x1],_0x5d48('0x3f')));_0x59e532[_0x5d48('0x2d')][_0x5d48('0x4')](()=>{_0x381710[_0x5d48('0x36')](_0x3a8ca4,{'commandName':_0x8d1ef3,'commandParams':[],'formatGroupId':_0x5d48('0x2')},function(_0x3e7610){const _0x35e72e=new Set();for(const _0x54b5b2 of _0x3e7610){let _0x23ec41=_0x54b5b2[_0x5d48('0x2e')];for(;_0x23ec41&&_0x23ec41[_0x5d48('0x2c')](_0x5d48('0x2'))>_0x54b5b2[_0x5d48('0x2c')](_0x5d48('0x2'));)_0x35e72e[_0x5d48('0x34')](_0x23ec41),_0x23ec41=_0x23ec41[_0x5d48('0x2e')];}return Array['from'](_0x35e72e);}(_0x1662db));});};}_0x381710['enableCommand'](_0x5d48('0x3e'),_0x203543('numberedList')),_0x381710[_0x5d48('0x38')](_0x5d48('0x17'),_0x203543(_0x5d48('0x17'))),_0x192145&&_0x381710[_0x5d48('0x38')](_0x5d48('0x11'),_0x203543(_0x5d48('0x11'))),_0x381710[_0x5d48('0x38')](_0x5d48('0x20'),_0x5c742d('indentList')),_0x381710['enableCommand'](_0x5d48('0x9'),_0x5c742d('outdentList')),_0x192145&&_0x381710[_0x5d48('0x38')]('checkTodoList',()=>{const _0x45e85d=_0x59e532[_0x5d48('0x19')][_0x5d48('0x31')](_0x5d48('0xa')),_0x4a06b8=Array[_0x5d48('0xe')](_0x45e85d[_0x5d48('0x1e')]);_0x4a06b8[_0x5d48('0x10')](_0x2ef18b=>_0x2ef18b[_0x5d48('0x2c')](_0x5d48('0xc'))!=_0x45e85d['value']),_0x59e532[_0x5d48('0x2d')][_0x5d48('0x4')](()=>{for(const _0x40ebcb of _0x4a06b8)_0x381710[_0x5d48('0x36')](_0x40ebcb,{'commandName':'checkTodoList','commandParams':[{'forceValue':!_0x45e85d[_0x5d48('0x3b')]}]});});}),_0x381710[_0x5d48('0x41')][_0x5d48('0x37')](_0x5d48('0x3'),_0x540ed8=>_0x36ff2b(_0x38def3,_0x5d48('0x30'),_0x540ed8)),_0x381710['_descriptionFactory'][_0x5d48('0x6')](_0x38e136=>{if(_0x5d48('0x21')!=_0x38e136['type']&&_0x5d48('0x3c')!=_0x38e136[_0x5d48('0x3d')])return;const {data:_0x3743c5}=_0x38e136;if(_0x3743c5){if('numberedList'==_0x3743c5[_0x5d48('0x26')]||_0x5d48('0x17')==_0x3743c5[_0x5d48('0x26')]||_0x5d48('0x11')==_0x3743c5[_0x5d48('0x26')])switch(_0x3743c5[_0x5d48('0x26')][_0x5d48('0x1b')](_0x5d48('0xb'),'')){case _0x5d48('0x1f'):return _0x18e183(_0x36ff2b(_0x38def3,'ELEMENT_BULLETED_LIST'));case _0x5d48('0x8'):return _0x18e183(_0x36ff2b(_0x38def3,_0x5d48('0x35')));case _0x5d48('0x2a'):return _0x18e183(_0x36ff2b(_0x38def3,'ELEMENT_TODO_LIST'));}if(_0x5d48('0x20')==_0x3743c5[_0x5d48('0x26')])return{'type':_0x5d48('0x0'),'content':_0x36ff2b(_0x38def3,_0x5d48('0x14'),_0x36ff2b(_0x38def3,'ELEMENT_LIST_ITEM'))};if('outdentList'==_0x3743c5['commandName'])return{'type':_0x5d48('0x0'),'content':_0x36ff2b(_0x38def3,_0x5d48('0x29'),_0x36ff2b(_0x38def3,_0x5d48('0x30')))};if(_0x5d48('0xa')==_0x3743c5[_0x5d48('0x26')])return _0x3743c5['commandParams'][0x0]['forceValue']?{'type':_0x5d48('0x0'),'content':_0x36ff2b(_0x38def3,_0x5d48('0x7'))}:{'type':'format','content':_0x36ff2b(_0x38def3,_0x5d48('0x28'))};}function _0x18e183(_0x154296){return{'type':_0x5d48('0x0'),'content':_0x36ff2b(_0x38def3,_0x5d48('0x27'),_0x154296)};}});}}function ne(_0x3c15ff){const _0x58c617=_0x3c15ff[_0x5d48('0x2c')]('listIndent');if(0x0==_0x58c617)return _0x3c15ff;let _0x303dcd=_0x3c15ff;for(;_0x3c15ff[_0x5d48('0x40')]&&_0x3c15ff[_0x5d48('0x40')]['is']('element',_0x5d48('0x3'));){const _0x4fc169=_0x3c15ff[_0x5d48('0x40')]['getAttribute']('listIndent');if(_0x4fc169==_0x58c617)_0x303dcd=_0x3c15ff[_0x5d48('0x40')];else{if(_0x4fc169<_0x58c617)break;}_0x3c15ff=_0x3c15ff[_0x5d48('0x40')];}return _0x303dcd;}function oe(_0x3a2452){const _0x2e53aa=[];if(_0x3a2452['is']('element',_0x5d48('0x3'))&&_0x3a2452[_0x5d48('0x2c')](_0x5d48('0x2'))>0x0){let _0x44bf9f=_0x3a2452[_0x5d48('0x2e')];for(;_0x44bf9f&&'listItem'==_0x44bf9f[_0x5d48('0x33')]&&_0x44bf9f[_0x5d48('0x2c')]('listIndent')==_0x3a2452[_0x5d48('0x2c')](_0x5d48('0x2'));)_0x2e53aa[_0x5d48('0x39')](_0x44bf9f),_0x44bf9f=_0x44bf9f['nextSibling'];}return _0x2e53aa;}
@@ -1,17 +1,17 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  /**
6
- * @module track-changes/integrations/documentlistproperties
6
+ * @module track-changes/integrations/legacylistproperties
7
7
  */
8
- import { Plugin } from 'ckeditor5/src/core';
9
- import type { Description } from '../suggestiondescriptionfactory';
10
- import type Suggestion from '../suggestion';
8
+ import { Plugin } from 'ckeditor5/src/core.js';
9
+ import type { Description } from '../suggestiondescriptionfactory.js';
10
+ import type Suggestion from '../suggestion.js';
11
11
  /**
12
- * Provides track changes plugin integration for document list properties feature.
12
+ * Provides track changes plugin integration for list properties feature.
13
13
  */
14
- export default class TrackChangesDocumentListProperties extends Plugin {
14
+ export default class TrackChangesListProperties extends Plugin {
15
15
  /**
16
16
  * @inheritDoc
17
17
  */
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2024, 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 _0x767b=['getSelectedBlocks','numbered','reversed','format','commandName','formatInline','locale','TrackChangesEditing','forward','listType','listStyle','registerDescriptionCallback','getSiblingNodes','LegacyListUtils','before','plugins','_getSuggestionBlocks','toUpperCase','_getTranslationKeyForListStyle','getFirstPosition','_getSuggestionBlocksForListStyle','type','listItem','*Format:*\x20set\x20start\x20index\x20to\x20%0','listReversed','formatBlock','model','handleListStartCommand','from','length','listStart','backward','unshift','markMultiRangeBlockFormat','handleListStyleCommand','flat','document','*Format:*\x20set\x20order\x20to\x20regular','element','bind','getLastPosition','_LIST_','*Format:*\x20set\x20order\x20to\x20reversed','get','handleDescriptions','selection','styles','commandParams','map','enableCommand','replace','handleListReversedCommand','createRange','startIndex','change','afterInit','filter','push','editor','createPositionAt','getAttribute'];(function(_0x31d837,_0x767bd7){const _0x607846=function(_0xb8e9cf){while(--_0xb8e9cf){_0x31d837['push'](_0x31d837['shift']());}};_0x607846(++_0x767bd7);}(_0x767b,0x135));const _0x6078=function(_0x31d837,_0x767bd7){_0x31d837=_0x31d837-0x0;let _0x607846=_0x767b[_0x31d837];return _0x607846;};import{Plugin as _0x38ef3d}from'ckeditor5/src/core.js';import{getTranslation as _0x23cfef}from'../utils/common-translations.js';export default class K extends _0x38ef3d{[_0x6078('0x33')](){if(!this[_0x6078('0x36')][_0x6078('0xb')]['has']('LegacyListPropertiesEditing'))return;const _0x1007e6=this['editor']['config'][_0x6078('0x27')]('list.properties'),_0x177770=this[_0x6078('0x36')][_0x6078('0xb')][_0x6078('0x27')](_0x6078('0x3'));_0x1007e6[_0x6078('0x2a')]&&_0x177770[_0x6078('0x2d')](_0x6078('0x6'),this['handleListStyleCommand'][_0x6078('0x23')](this)),_0x1007e6[_0x6078('0x3b')]&&_0x177770[_0x6078('0x2d')]('listReversed',this[_0x6078('0x2f')]['bind'](this)),_0x1007e6[_0x6078('0x31')]&&_0x177770[_0x6078('0x2d')](_0x6078('0x1a'),this[_0x6078('0x17')][_0x6078('0x23')](this)),_0x177770['_descriptionFactory'][_0x6078('0x7')](this['handleDescriptions']['bind'](this));}[_0x6078('0x1e')](_0x570604,_0xc6cb33={}){const _0x19b265=this[_0x6078('0x36')]['plugins'][_0x6078('0x27')]('TrackChangesEditing'),_0x1c24ce=this[_0x6078('0x10')]();this[_0x6078('0x36')][_0x6078('0x16')][_0x6078('0x32')](()=>{_0x19b265[_0x6078('0x1d')](_0x1c24ce,{'commandName':_0x6078('0x6'),'commandParams':[{'type':_0xc6cb33[_0x6078('0x11')]}],'formatGroupId':'listStyle'});});}['handleListReversedCommand'](_0x4d3088,_0x403c9f={}){const _0x3cf6e0=this[_0x6078('0x36')][_0x6078('0xb')]['get'](_0x6078('0x3')),_0x45a6cf=this[_0x6078('0xc')](_0x163ed3=>_0x163ed3['is']('element',_0x6078('0x12'))&&_0x6078('0x3a')===_0x163ed3[_0x6078('0x38')](_0x6078('0x5')));if(_0x45a6cf['length']<0x1)return;const _0x414b8a=_0x45a6cf[_0x6078('0x2c')](_0x3e711f=>this[_0x6078('0x36')]['model'][_0x6078('0x30')](this[_0x6078('0x36')][_0x6078('0x16')][_0x6078('0x37')](_0x3e711f,_0x6078('0xa')),this['editor'][_0x6078('0x16')]['createPositionAt'](_0x3e711f,0x0)));this[_0x6078('0x36')][_0x6078('0x16')][_0x6078('0x32')](()=>{_0x3cf6e0['markMultiRangeBlockFormat'](_0x414b8a,{'commandName':'listReversed','commandParams':[{'reversed':_0x403c9f[_0x6078('0x3b')]}],'formatGroupId':_0x6078('0x14')});});}['handleListStartCommand'](_0x5e0dfa,_0x14c592={}){const _0x235898=this[_0x6078('0x36')][_0x6078('0xb')]['get'](_0x6078('0x3')),_0x51ac13=this[_0x6078('0xc')](_0x86cce0=>_0x86cce0['is'](_0x6078('0x22'),_0x6078('0x12'))&&_0x6078('0x3a')===_0x86cce0['getAttribute'](_0x6078('0x5')));if(_0x51ac13[_0x6078('0x19')]<0x1)return;const _0x69cae7=_0x51ac13[_0x6078('0x2c')](_0x506933=>this[_0x6078('0x36')][_0x6078('0x16')][_0x6078('0x30')](this[_0x6078('0x36')][_0x6078('0x16')][_0x6078('0x37')](_0x506933,_0x6078('0xa')),this[_0x6078('0x36')]['model'][_0x6078('0x37')](_0x506933,0x0)));this[_0x6078('0x36')][_0x6078('0x16')][_0x6078('0x32')](()=>{_0x235898[_0x6078('0x1d')](_0x69cae7,{'commandName':_0x6078('0x1a'),'commandParams':[{'startIndex':_0x14c592[_0x6078('0x31')]}],'formatGroupId':'listStart'});});}[_0x6078('0x28')](_0x20ce05){if(_0x6078('0x15')!=_0x20ce05[_0x6078('0x11')]&&_0x6078('0x1')!=_0x20ce05[_0x6078('0x11')])return;const _0x5cd890=this[_0x6078('0x36')][_0x6078('0x2')],{data:_0x18ab4}=_0x20ce05;if(!_0x18ab4)return;let _0x39d95d,_0x3ce771;switch(_0x18ab4[_0x6078('0x0')]){case _0x6078('0x6'):_0x39d95d='*Change\x20to:*\x20%0',_0x3ce771={'type':_0x6078('0x3c'),'content':_0x23cfef(_0x5cd890,_0x39d95d,_0x23cfef(_0x5cd890,this[_0x6078('0xe')](_0x18ab4['commandParams'][0x0][_0x6078('0x11')])))};break;case _0x6078('0x14'):_0x39d95d=_0x18ab4[_0x6078('0x2b')][0x0][_0x6078('0x3b')]?_0x6078('0x26'):_0x6078('0x21'),_0x3ce771={'type':'format','content':_0x23cfef(_0x5cd890,_0x39d95d)};break;case _0x6078('0x1a'):_0x39d95d=_0x6078('0x13'),_0x3ce771={'type':_0x6078('0x3c'),'content':_0x23cfef(_0x5cd890,_0x39d95d,_0x18ab4[_0x6078('0x2b')][0x0][_0x6078('0x31')])};}return _0x3ce771;}['_getSuggestionBlocksForListStyle'](){var _0x5c35b4,_0x4d88a3,_0x1cb25f,_0x394142;const _0x4a80e0=this[_0x6078('0x36')][_0x6078('0xb')][_0x6078('0x27')](_0x6078('0x9'));let _0x4b09de=Array['from'](this[_0x6078('0x36')][_0x6078('0x16')]['document'][_0x6078('0x29')][_0x6078('0x39')]());return(null===(_0x5c35b4=_0x4b09de[0x0])||void 0x0===_0x5c35b4?void 0x0:_0x5c35b4['is'](_0x6078('0x22'),_0x6078('0x12')))&&_0x4b09de[_0x6078('0x1c')](..._0x4a80e0[_0x6078('0x8')](this[_0x6078('0x36')]['model'][_0x6078('0x20')][_0x6078('0x29')][_0x6078('0xf')](),_0x6078('0x1b'))),(null===(_0x4d88a3=_0x4b09de[_0x4b09de[_0x6078('0x19')]-0x1])||void 0x0===_0x4d88a3?void 0x0:_0x4d88a3['is'](_0x6078('0x22'),_0x6078('0x12')))&&_0x4b09de[_0x6078('0x35')](..._0x4a80e0[_0x6078('0x8')](this['editor'][_0x6078('0x16')][_0x6078('0x20')][_0x6078('0x29')][_0x6078('0x24')](),_0x6078('0x4'))),_0x4b09de=[...new Set(_0x4b09de)],(null===(_0x394142=null===(_0x1cb25f=this['editor'][_0x6078('0x16')][_0x6078('0x20')][_0x6078('0x29')][_0x6078('0xf')]())||void 0x0===_0x1cb25f?void 0x0:_0x1cb25f['parent'])||void 0x0===_0x394142?void 0x0:_0x394142['is']('element',_0x6078('0x12')))&&(_0x4b09de=_0x4b09de[_0x6078('0x34')](_0x1c704f=>_0x1c704f['is'](_0x6078('0x22'),_0x6078('0x12')))),_0x4b09de;}[_0x6078('0xc')](_0x22d5a3){const _0x3640f6=this['editor']['plugins'][_0x6078('0x27')](_0x6078('0x9'));let _0x4e537d=Array[_0x6078('0x18')](this[_0x6078('0x36')]['model'][_0x6078('0x20')][_0x6078('0x29')]['getSelectedBlocks']())['filter'](_0x22d5a3)[_0x6078('0x2c')](_0x3d5c90=>{const _0x4943fa=this[_0x6078('0x36')][_0x6078('0x16')][_0x6078('0x37')](_0x3d5c90,0x0);return[..._0x3640f6[_0x6078('0x8')](_0x4943fa,_0x6078('0x1b')),..._0x3640f6[_0x6078('0x8')](_0x4943fa,'forward')];})[_0x6078('0x1f')]();return _0x4e537d=[...new Set(_0x4e537d)],_0x4e537d;}['_getTranslationKeyForListStyle'](_0xdd377b){return'ELEMENT_'+this[_0x6078('0x36')]['plugins']['get'](_0x6078('0x9'))['getListTypeFromListStyleType'](_0xdd377b)[_0x6078('0xd')]()+_0x6078('0x25')+_0xdd377b[_0x6078('0xd')]()[_0x6078('0x2e')](/-/g,'_');}}
@@ -1,11 +1,11 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  /**
6
6
  * @module track-changes/integrations/link
7
7
  */
8
- import { Plugin } from 'ckeditor5/src/core';
8
+ import { Plugin } from 'ckeditor5/src/core.js';
9
9
  /**
10
10
  * Provides track changes plugin integration for link feature.
11
11
  */
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x30b1=['key','label','format','LinkEditing','type','has','commandParams','plugins','locale','registerDescriptionCallback','*Remove\x20link*','_descriptionFactory','_enableDefaultAttributesIntegration','get','commandName','unlink','newValue','*Set\x20link:*\x20%0','attribute','editor','manualDecorators','linkHref','link','toLowerCase','commands','TrackChangesEditing','map','_registerLegacyDescription'];(function(_0x51d795,_0x30b1e8){const _0x28c3d6=function(_0x3ecb68){while(--_0x3ecb68){_0x51d795['push'](_0x51d795['shift']());}};_0x28c3d6(++_0x30b1e8);}(_0x30b1,0x1bc));const _0x28c3=function(_0x51d795,_0x30b1e8){_0x51d795=_0x51d795-0x0;let _0x28c3d6=_0x30b1[_0x51d795];return _0x28c3d6;};import{Plugin as _0x271ecc}from'ckeditor5/src/core';import{getTranslation as _0x43f76a}from'../utils/common-translations';export default class at extends _0x271ecc{['afterInit'](){const _0x14eb09=this['editor'];if(!_0x14eb09[_0x28c3('0xb')][_0x28c3('0x9')](_0x28c3('0x7')))return;const _0x2d460a=_0x14eb09[_0x28c3('0xb')][_0x28c3('0x11')](_0x28c3('0x1')),_0x341d1e=_0x14eb09[_0x28c3('0x0')][_0x28c3('0x11')](_0x28c3('0x1a'));_0x2d460a[_0x28c3('0x10')](_0x28c3('0x1a'),['linkHref',..._0x341d1e[_0x28c3('0x18')][_0x28c3('0x2')](_0x5c953c=>_0x5c953c['id'])]),_0x2d460a['_enableDefaultAttributesIntegration'](_0x28c3('0x13'));for(const _0x5271ac of _0x341d1e[_0x28c3('0x18')])_0x2d460a['_descriptionFactory']['registerAttributeLabel'](_0x5271ac['id'],'link\x20('+_0x5271ac[_0x28c3('0x5')][_0x28c3('0x1b')]()+')');_0x2d460a[_0x28c3('0xf')][_0x28c3('0xd')](_0x373192=>{if(_0x28c3('0x16')!=_0x373192[_0x28c3('0x8')])return;const {data:_0x4c1ef8}=_0x373192;if(!_0x4c1ef8||_0x28c3('0x19')!=_0x4c1ef8[_0x28c3('0x4')])return;const _0x15c5c9=_0x4c1ef8[_0x28c3('0x14')],_0x1f4827=_0x14eb09['locale'];return{'type':'format','content':null==_0x15c5c9?_0x43f76a(_0x1f4827,'*Remove\x20link*'):_0x43f76a(_0x1f4827,_0x28c3('0x15'),'\x22'+_0x15c5c9+'\x22')};}),this[_0x28c3('0x3')]();}[_0x28c3('0x3')](){const _0x22a452=this[_0x28c3('0x17')],_0x318032=_0x22a452[_0x28c3('0xc')];_0x22a452[_0x28c3('0xb')][_0x28c3('0x11')](_0x28c3('0x1'))[_0x28c3('0xf')][_0x28c3('0xd')](_0x23e8d4=>{if('formatInline'!=_0x23e8d4[_0x28c3('0x8')])return;const {data:_0x4c0a6b}=_0x23e8d4;if(_0x4c0a6b){if(_0x28c3('0x1a')==_0x4c0a6b[_0x28c3('0x12')]){const _0x2b66b6=_0x4c0a6b[_0x28c3('0xa')][0x0];return{'type':'format','content':_0x43f76a(_0x318032,_0x28c3('0x15'),'\x22'+_0x2b66b6+'\x22')};}return _0x28c3('0x13')==_0x4c0a6b[_0x28c3('0x12')]?{'type':_0x28c3('0x6'),'content':_0x43f76a(_0x318032,_0x28c3('0xe'))}:void 0x0;}});}}
23
+ const _0x1346=['TrackChangesEditing','locale','key','manualDecorators','afterInit','has','commandName','_registerLegacyDescription','link\x20(','link','*Remove\x20link*','_descriptionFactory','type','newValue','get','format','LinkEditing','linkHref','*Set\x20link:*\x20%0','attribute','registerAttributeLabel','label','registerDescriptionCallback','plugins','map','editor','_enableDefaultAttributesIntegration','commands'];(function(_0x1e61fb,_0x1346ae){const _0x2ea456=function(_0x243882){while(--_0x243882){_0x1e61fb['push'](_0x1e61fb['shift']());}};_0x2ea456(++_0x1346ae);}(_0x1346,0xe3));const _0x2ea4=function(_0x1e61fb,_0x1346ae){_0x1e61fb=_0x1e61fb-0x0;let _0x2ea456=_0x1346[_0x1e61fb];return _0x2ea456;};import{Plugin as _0x282c17}from'ckeditor5/src/core.js';import{getTranslation as _0x127f47}from'../utils/common-translations.js';export default class ct extends _0x282c17{[_0x2ea4('0x1')](){const _0x4a9cf0=this[_0x2ea4('0x16')];if(!_0x4a9cf0[_0x2ea4('0x14')][_0x2ea4('0x2')](_0x2ea4('0xd')))return;const _0x1a9fe1=_0x4a9cf0['plugins'][_0x2ea4('0xb')](_0x2ea4('0x19')),_0x22d1a0=_0x4a9cf0[_0x2ea4('0x18')]['get']('link');_0x1a9fe1['_enableDefaultAttributesIntegration'](_0x2ea4('0x6'),['linkHref',..._0x22d1a0['manualDecorators'][_0x2ea4('0x15')](_0xe1c655=>_0xe1c655['id'])]),_0x1a9fe1[_0x2ea4('0x17')]('unlink');for(const _0x2cec89 of _0x22d1a0[_0x2ea4('0x0')])_0x1a9fe1[_0x2ea4('0x8')][_0x2ea4('0x11')](_0x2cec89['id'],_0x2ea4('0x5')+_0x2cec89[_0x2ea4('0x12')]['toLowerCase']()+')');_0x1a9fe1[_0x2ea4('0x8')][_0x2ea4('0x13')](_0x5c03d4=>{if(_0x2ea4('0x10')!=_0x5c03d4[_0x2ea4('0x9')])return;const {data:_0x8a7019}=_0x5c03d4;if(!_0x8a7019||_0x2ea4('0xe')!=_0x8a7019[_0x2ea4('0x1b')])return;const _0x3832d3=_0x8a7019[_0x2ea4('0xa')],_0x11b196=_0x4a9cf0[_0x2ea4('0x1a')];return{'type':_0x2ea4('0xc'),'content':null==_0x3832d3?_0x127f47(_0x11b196,_0x2ea4('0x7')):_0x127f47(_0x11b196,_0x2ea4('0xf'),'\x22'+_0x3832d3+'\x22')};}),this[_0x2ea4('0x4')]();}[_0x2ea4('0x4')](){const _0x330157=this[_0x2ea4('0x16')],_0x2a2024=_0x330157[_0x2ea4('0x1a')];_0x330157[_0x2ea4('0x14')][_0x2ea4('0xb')](_0x2ea4('0x19'))[_0x2ea4('0x8')][_0x2ea4('0x13')](_0x2b5e38=>{if('formatInline'!=_0x2b5e38[_0x2ea4('0x9')])return;const {data:_0x1d4f67}=_0x2b5e38;if(_0x1d4f67){if('link'==_0x1d4f67[_0x2ea4('0x3')]){const _0x47cde3=_0x1d4f67['commandParams'][0x0];return{'type':_0x2ea4('0xc'),'content':_0x127f47(_0x2a2024,_0x2ea4('0xf'),'\x22'+_0x47cde3+'\x22')};}return'unlink'==_0x1d4f67[_0x2ea4('0x3')]?{'type':_0x2ea4('0xc'),'content':_0x127f47(_0x2a2024,_0x2ea4('0x7'))}:void 0x0;}});}}
@@ -1,17 +1,17 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  /**
6
6
  * @module track-changes/integrations/list
7
7
  */
8
- import { Plugin } from 'ckeditor5/src/core';
8
+ import { Plugin } from 'ckeditor5/src/core.js';
9
9
  /**
10
- * Provides track changes plugin integration for list feature.
11
- */
10
+ * Provides track changes plugin integration for list feature.
11
+ */
12
12
  export default class TrackChangesList extends Plugin {
13
13
  /**
14
- * @inheritDoc
15
- */
14
+ * @inheritDoc
15
+ */
16
16
  afterInit(): void;
17
17
  }
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5745=['ListEditing','parent','enableCommand','document','end','has','bulleted','*Uncheck\x20item*','getAttribute','format','checkChild','outdentList','element','before','model','_descriptionFactory','commandName','get','registerDescriptionCallback','registerElementLabel','execute','formatInline','slice','checkTodoList','createPositionAt','value','replace','numbered','locale','paragraph','nextSibling','ELEMENT_TODO_LIST','blockName','getSelectedBlocks','*Change\x20to:*\x20%0','numberedList','change','name','plugins','_selectedElements','ELEMENT_LIST_ITEM','bulletedList','List','isObject','filter','formatBlock','schema','previousSibling','listItem','TodoListEditing','length','selection','listType','listIndent','indentList','todoList','commands','todoListChecked','TrackChangesEditing','type','add','markBlockFormat','from'];(function(_0x570564,_0x5745a7){const _0x196d87=function(_0x4cb950){while(--_0x4cb950){_0x570564['push'](_0x570564['shift']());}};_0x196d87(++_0x5745a7);}(_0x5745,0x1d1));const _0x196d=function(_0x570564,_0x5745a7){_0x570564=_0x570564-0x0;let _0x196d87=_0x5745[_0x570564];return _0x196d87;};import{Plugin as _0x49227e}from'ckeditor5/src/core';import{getTranslation as _0x2c6bd2}from'../utils/common-translations';export default class ct extends _0x49227e{['afterInit'](){const _0x1f8ab8=this['editor'],_0x184384=_0x1f8ab8[_0x196d('0x4')];if(!_0x1f8ab8[_0x196d('0xe')]['has'](_0x196d('0x27')))return;const _0x15be9e=_0x1f8ab8[_0x196d('0xe')][_0x196d('0x38')](_0x196d('0x22')),_0x432678=_0x1f8ab8[_0x196d('0xe')][_0x196d('0x2c')](_0x196d('0x19'));function _0x2ded01(_0x4b3347){return()=>{const _0x210642=_0x1f8ab8[_0x196d('0x35')][_0x196d('0x2a')]['selection'],_0x216ab0=_0x1f8ab8['commands'][_0x196d('0x38')](_0x4b3347);if(_0x216ab0['value'])return void _0x1f8ab8[_0x196d('0x3b')](_0x196d('0x5'),{});const _0x1eefc3=_0x4b3347[_0x196d('0x3d')](0x0,-0x4),_0x752e8a=function(_0x523f79,_0x169a03,_0x171733){let _0x11789f=Array[_0x196d('0x26')](_0x523f79)['filter'](_0x1575a9=>function(_0x3e3f16,_0x33c397){return _0x33c397[_0x196d('0x31')](_0x3e3f16[_0x196d('0x28')],_0x196d('0x18'))&&!_0x33c397[_0x196d('0x13')](_0x3e3f16);}(_0x1575a9,_0x171733));_0x11789f=_0x11789f[_0x196d('0x14')](_0x3dc347=>!_0x3dc347['is'](_0x196d('0x33'),_0x196d('0x18'))||_0x3dc347[_0x196d('0x2f')](_0x196d('0x1c'))!=_0x169a03);const _0x2c510a=new Set();for(const _0x54b396 of _0x11789f)_0x54b396['is'](_0x196d('0x33'),_0x196d('0x18'))?_0x2c510a['add'](ne(_0x54b396)):_0x2c510a[_0x196d('0x24')](_0x54b396);return Array[_0x196d('0x26')](_0x2c510a);}(_0x210642[_0x196d('0x9')](),_0x1eefc3,_0x1f8ab8['model'][_0x196d('0x16')]);_0x1f8ab8[_0x196d('0x35')]['change'](()=>{for(const _0x594ffb of _0x752e8a)_0x15be9e['markBlockFormat'](_0x594ffb,{'commandName':_0x4b3347,'commandParams':[{'forceValue':!_0x216ab0['value']}],'formatGroupId':_0x196d('0x8')},oe(_0x594ffb));});};}function _0x29d136(_0x4af68a){return()=>{const _0x266e25=function(_0x291fd9){let _0x3d3bc0=Array[_0x196d('0x26')](_0x291fd9);const _0x371ea4=_0x3d3bc0['findIndex'](_0x356535=>_0x196d('0x18')!=_0x356535[_0x196d('0xd')]);return _0x371ea4>-0x1&&(_0x3d3bc0=_0x3d3bc0[_0x196d('0x3d')](0x0,_0x371ea4)),_0x3d3bc0;}(_0x1f8ab8['model'][_0x196d('0x2a')][_0x196d('0x1b')][_0x196d('0x9')]()),_0x2ccbb2=_0x1f8ab8[_0x196d('0x35')]['createRange'](_0x1f8ab8[_0x196d('0x35')]['createPositionAt'](_0x266e25[0x0],_0x196d('0x34')),_0x1f8ab8[_0x196d('0x35')][_0x196d('0x0')](_0x266e25[_0x266e25[_0x196d('0x1a')]-0x1],_0x196d('0x2b')));_0x1f8ab8[_0x196d('0x35')][_0x196d('0xc')](()=>{_0x15be9e[_0x196d('0x25')](_0x2ccbb2,{'commandName':_0x4af68a,'commandParams':[],'formatGroupId':_0x196d('0x1d')},function(_0x457f3a){const _0x2932ec=new Set();for(const _0x4bb0ea of _0x457f3a){let _0x37d916=_0x4bb0ea[_0x196d('0x6')];for(;_0x37d916&&_0x37d916[_0x196d('0x2f')]('listIndent')>_0x4bb0ea['getAttribute'](_0x196d('0x1d'));)_0x2932ec[_0x196d('0x24')](_0x37d916),_0x37d916=_0x37d916[_0x196d('0x6')];}return Array['from'](_0x2932ec);}(_0x266e25));});};}_0x15be9e[_0x196d('0x29')](_0x196d('0xb'),_0x2ded01('numberedList')),_0x15be9e[_0x196d('0x29')](_0x196d('0x11'),_0x2ded01(_0x196d('0x11'))),_0x432678&&_0x15be9e['enableCommand'](_0x196d('0x1f'),_0x2ded01(_0x196d('0x1f'))),_0x15be9e['enableCommand'](_0x196d('0x1e'),_0x29d136(_0x196d('0x1e'))),_0x15be9e['enableCommand']('outdentList',_0x29d136(_0x196d('0x32'))),_0x432678&&_0x15be9e[_0x196d('0x29')](_0x196d('0x3e'),()=>{const _0x98f564=_0x1f8ab8[_0x196d('0x20')][_0x196d('0x38')]('checkTodoList'),_0x1d64cd=Array[_0x196d('0x26')](_0x98f564[_0x196d('0xf')]);_0x1d64cd[_0x196d('0x14')](_0x3037a7=>_0x3037a7[_0x196d('0x2f')](_0x196d('0x21'))!=_0x98f564[_0x196d('0x1')]),_0x1f8ab8[_0x196d('0x35')][_0x196d('0xc')](()=>{for(const _0x4fcb74 of _0x1d64cd)_0x15be9e[_0x196d('0x25')](_0x4fcb74,{'commandName':_0x196d('0x3e'),'commandParams':[{'forceValue':!_0x98f564[_0x196d('0x1')]}]});});}),_0x15be9e[_0x196d('0x36')][_0x196d('0x3a')](_0x196d('0x18'),_0x1e44c7=>_0x2c6bd2(_0x184384,'ELEMENT_LIST_ITEM',_0x1e44c7)),_0x15be9e[_0x196d('0x36')][_0x196d('0x39')](_0x1619ea=>{if(_0x196d('0x15')!=_0x1619ea['type']&&_0x196d('0x3c')!=_0x1619ea[_0x196d('0x23')])return;const {data:_0x4843ef}=_0x1619ea;if(_0x4843ef){if(_0x196d('0xb')==_0x4843ef[_0x196d('0x37')]||_0x196d('0x11')==_0x4843ef[_0x196d('0x37')]||_0x196d('0x1f')==_0x4843ef['commandName'])switch(_0x4843ef['commandName'][_0x196d('0x2')](_0x196d('0x12'),'')){case _0x196d('0x2d'):return _0x58ea2f(_0x2c6bd2(_0x184384,'ELEMENT_BULLETED_LIST'));case _0x196d('0x3'):return _0x58ea2f(_0x2c6bd2(_0x184384,'ELEMENT_NUMBERED_LIST'));case'todo':return _0x58ea2f(_0x2c6bd2(_0x184384,_0x196d('0x7')));}if('indentList'==_0x4843ef[_0x196d('0x37')])return{'type':_0x196d('0x30'),'content':_0x2c6bd2(_0x184384,'*Indent:*\x20%0',_0x2c6bd2(_0x184384,'ELEMENT_LIST_ITEM'))};if(_0x196d('0x32')==_0x4843ef[_0x196d('0x37')])return{'type':_0x196d('0x30'),'content':_0x2c6bd2(_0x184384,'*Outdent:*\x20%0',_0x2c6bd2(_0x184384,_0x196d('0x10')))};if(_0x196d('0x3e')==_0x4843ef[_0x196d('0x37')])return _0x4843ef['commandParams'][0x0]['forceValue']?{'type':'format','content':_0x2c6bd2(_0x184384,'*Check\x20item*')}:{'type':_0x196d('0x30'),'content':_0x2c6bd2(_0x184384,_0x196d('0x2e'))};}function _0x58ea2f(_0x2445b8){return{'type':_0x196d('0x30'),'content':_0x2c6bd2(_0x184384,_0x196d('0xa'),_0x2445b8)};}});}}function ne(_0xf62253){const _0x538eea=_0xf62253['getAttribute'](_0x196d('0x1d'));if(0x0==_0x538eea)return _0xf62253;let _0x45912e=_0xf62253;for(;_0xf62253[_0x196d('0x17')]&&_0xf62253['previousSibling']['is'](_0x196d('0x33'),_0x196d('0x18'));){const _0x7b329f=_0xf62253[_0x196d('0x17')][_0x196d('0x2f')]('listIndent');if(_0x7b329f==_0x538eea)_0x45912e=_0xf62253[_0x196d('0x17')];else{if(_0x7b329f<_0x538eea)break;}_0xf62253=_0xf62253[_0x196d('0x17')];}return _0x45912e;}function oe(_0x393be0){const _0x3d6b02=[];if(_0x393be0['is'](_0x196d('0x33'),'listItem')&&_0x393be0['getAttribute'](_0x196d('0x1d'))>0x0){let _0x410c0b=_0x393be0['nextSibling'];for(;_0x410c0b&&_0x196d('0x18')==_0x410c0b[_0x196d('0xd')]&&_0x410c0b[_0x196d('0x2f')](_0x196d('0x1d'))==_0x393be0['getAttribute']('listIndent');)_0x3d6b02['push'](_0x410c0b),_0x410c0b=_0x410c0b['nextSibling'];}return _0x3d6b02;}
23
+ const _0x2789=['format','head','ELEMENT_TODO_LIST','find','splitListItemAfter','listItemIdFixer','execute','getFirstMarker','_getAttributeKey','differ','locale','*Format:*\x20remove\x20from\x20%0','getSuggestions','getFirstRange','get','refresh','_findSuggestions','*Uncheck\x20item*','outdentList','TodoListEditing','parent','isNextTo','getAttribute','*Format:*\x20insert\x20into\x20%0','registerAttributeLabel','*Outdent:*\x20%0','has','todoList','ELEMENT_LIST_ITEM','nodeAfter','mergeListItemBackward','filter','_suggestionFactory','listReversed','*Set\x20format:*\x20%0','createPositionAt','listStyle','forceValue','plugins','next','suggestion','assureChains','fromRange','listIndent','_supportLegacySuggestions','detach','meta','commands','numberedList','isLocal','ELEMENT_NUMBERED_LIST','commandName','nextSibling','todoListCheck','*Merge:*\x20%0','afterInit','formatBlock','multipleBlocks','listItemId','from','setAttribute','createRange','indentList','_descriptionFactory','map','isUndo','includes','key','length','getChanges','removeMarker','list.multiBlock','checkTodoList','ListEditing','mergeListItemForward','containsItem','*Remove\x20format:*\x20%0','config','data','attributes','splitListItemBefore','bulleted','editor','end','getRanges','registerCustomCallback','groupId','*Indent:*\x20%0','default','numbered','listStart','listType','accept','registerDescriptionCallback','isObject','deletion','model','change','*Check\x20item*','TrackChangesEditing','bulletedList','batch','_enableDefaultAttributesIntegration','commandParams','trackChangesCommand','start','documentList','*Change\x20to:*\x20%0','FORMAT_INDENT','todo','previousSibling','document','value','setSelection','selection','oldValue','*Split:*\x20list\x20item','newValue','attribute','registerPostFixer','_LIST','type','todoListChecked','_registerLegacyDescription','ELEMENT_BULLETED_LIST'];(function(_0x3ea281,_0x278952){const _0x5e88c7=function(_0x47e25c){while(--_0x47e25c){_0x3ea281['push'](_0x3ea281['shift']());}};_0x5e88c7(++_0x278952);}(_0x2789,0x16b));const _0x5e88=function(_0x3ea281,_0x278952){_0x3ea281=_0x3ea281-0x0;let _0x5e88c7=_0x2789[_0x3ea281];return _0x5e88c7;};import{Plugin as _0x43613c}from'ckeditor5/src/core.js';import{getTranslation as _0x17e5c3}from'../utils/common-translations.js';import{renameAttributeKey as _0x4e0d87}from'../trackchangesediting.js';import{LiveRange as _0x1a61d2}from'ckeditor5/src/engine.js';export default class z extends _0x43613c{[_0x5e88('0x43')](){const _0x2d8c2e=this['editor'];if(!_0x2d8c2e[_0x5e88('0x32')][_0x5e88('0x26')](_0x5e88('0x55')))return;const _0x5f0b50=_0x2d8c2e['locale'],_0x354ace=_0x2d8c2e['plugins'][_0x5e88('0x1a')](_0x5e88('0x6f')),_0xd76059=_0x2d8c2e[_0x5e88('0x32')]['has'](_0x5e88('0x1f')),_0x311dc0=!!_0x2d8c2e[_0x5e88('0x59')][_0x5e88('0x1a')](_0x5e88('0x53'));function _0x28a8af(_0x2121fd){return{'type':_0x5e88('0xc'),'content':''+_0x17e5c3(_0x5f0b50,_0x5e88('0x2e'),_0x2121fd)};}function _0x4e52d6(_0x1b115e){return{'type':_0x5e88('0xc'),'content':''+_0x17e5c3(_0x5f0b50,_0x5e88('0x58'),_0x1b115e)};}_0x354ace['_enableDefaultAttributesIntegration'](_0x5e88('0x3c'),[],[_0x5e88('0x46'),_0x5e88('0x67'),_0x5e88('0x37')]),_0x354ace[_0x5e88('0x72')](_0x5e88('0x70')),_0x354ace[_0x5e88('0x72')]('indentList'),_0x354ace[_0x5e88('0x72')](_0x5e88('0x1e')),_0x354ace[_0x5e88('0x72')](_0x5e88('0x10')),_0x354ace[_0x5e88('0x72')](_0x5e88('0x5c')),_0x311dc0&&(_0x354ace[_0x5e88('0x72')]('mergeListItemBackward'),_0x354ace[_0x5e88('0x72')](_0x5e88('0x56'))),_0xd76059&&(_0x354ace[_0x5e88('0x72')](_0x5e88('0x27')),_0x354ace['_enableDefaultAttributesIntegration'](_0x5e88('0x54'),[],[_0x5e88('0x9')]),_0x354ace[_0x5e88('0x4b')][_0x5e88('0x69')](_0x40c5c9=>{const {data:_0x105a57}=_0x40c5c9;if(_0x105a57&&'todoListChecked'==_0x105a57[_0x5e88('0x4f')])return{'type':_0x5e88('0xc'),'content':_0x105a57['newValue']?_0x17e5c3(_0x5f0b50,_0x5e88('0x6e')):_0x17e5c3(_0x5f0b50,_0x5e88('0x1d'))};}),this[_0x5e88('0x5e')][_0x5e88('0x6c')][_0x5e88('0x7b')]['registerPostFixer'](_0x461b6c=>{if(_0x461b6c[_0x5e88('0x71')][_0x5e88('0x4d')])return!0x1;let _0x549f46=!0x1;const _0x4904e0=_0x354ace[_0x5e88('0x18')]({'skipNotAttached':!0x0})['filter'](_0x23e2ae=>_0x5e88('0x9')===_0x354ace[_0x5e88('0x14')](_0x23e2ae));for(const _0x4c995d of _0x4904e0){_0x5e88('0x79')!=_0x4c995d[_0x5e88('0x19')]()['start'][_0x5e88('0x29')][_0x5e88('0x22')]('listType')&&(_0x354ace[_0x5e88('0x1c')](_0x4c995d[_0x5e88('0x19')](),_0x5e88('0x5'))[_0x5e88('0xf')](_0x65bd15=>'listType'===_0x354ace[_0x5e88('0x14')](_0x65bd15[_0x5e88('0x34')]))||(_0x461b6c[_0x5e88('0x52')](_0x4c995d[_0x5e88('0x13')]()),_0x549f46=!0x0));}return _0x549f46;})),_0x354ace[_0x5e88('0x4b')][_0x5e88('0x24')]('listIndent',_0x17e5c3(_0x5f0b50,_0x5e88('0x78')));const _0x3b964f={'type':_0x5e88('0xc'),'content':''};_0x354ace[_0x5e88('0x4b')][_0x5e88('0x69')](_0x513049=>{const {data:_0x46228e}=_0x513049;if(!_0x46228e||_0x5e88('0x67')!=_0x46228e[_0x5e88('0x4f')])return;let _0x48c83e=_0x513049['head'];for(;_0x48c83e;){if(_0x48c83e['data']&&(_0x5e88('0x30')==_0x48c83e[_0x5e88('0x5a')]['key']&&(_0x48c83e[_0x5e88('0x5a')][_0x5e88('0x4')]&&_0x5e88('0x64')!=_0x48c83e['data']['newValue']||'default'!=_0x48c83e['data']['oldValue']&&!_0x46228e[_0x5e88('0x4')])||!_0x311dc0&&_0x48c83e[_0x5e88('0x5a')][_0x5e88('0x4f')]==_0x4e0d87))return _0x3b964f;_0x48c83e=_0x48c83e['next'];}if(null==_0x46228e[_0x5e88('0x4')])switch(_0x46228e[_0x5e88('0x2')]){case _0x5e88('0x5d'):return _0x4e52d6(_0x17e5c3(_0x5f0b50,_0x5e88('0xb')));case _0x5e88('0x65'):return _0x4e52d6(_0x17e5c3(_0x5f0b50,_0x5e88('0x3e')));case'todo':return _0x4e52d6(_0x17e5c3(_0x5f0b50,'ELEMENT_TODO_LIST'));}switch(_0x46228e[_0x5e88('0x4')]){case _0x5e88('0x5d'):return _0x28a8af(_0x17e5c3(_0x5f0b50,'ELEMENT_BULLETED_LIST'));case _0x5e88('0x65'):return _0x28a8af(_0x17e5c3(_0x5f0b50,'ELEMENT_NUMBERED_LIST'));case'todo':return _0x28a8af(_0x17e5c3(_0x5f0b50,_0x5e88('0xe')));}}),_0x354ace[_0x5e88('0x4b')][_0x5e88('0x69')](_0x5d3fcb=>{const {data:_0x2d28e6}=_0x5d3fcb;if(_0x2d28e6&&_0x5e88('0x37')==_0x2d28e6['key'])return null==_0x2d28e6[_0x5e88('0x4')]||null==_0x2d28e6[_0x5e88('0x2')]&&0x0==_0x2d28e6[_0x5e88('0x4')]?_0x3b964f:void 0x0;}),_0x354ace['_descriptionFactory'][_0x5e88('0x69')](_0x25c979=>{if(_0x5e88('0x5')!=_0x25c979[_0x5e88('0x8')])return;const {data:_0x12e3a6}=_0x25c979;if(!_0x12e3a6||_0x5e88('0x46')!=_0x12e3a6['key'])return;const _0x6c4d66=ie(_0x25c979);return _0x6c4d66?'newValue'==_0x6c4d66?{'type':'format','content':_0x17e5c3(_0x5f0b50,'*Merge:*\x20list\x20item')}:'oldValue'==_0x6c4d66?{'type':_0x5e88('0xc'),'content':_0x17e5c3(_0x5f0b50,_0x5e88('0x3'))}:_0x3b964f:_0x3b964f;}),_0x2d8c2e[_0x5e88('0x6c')][_0x5e88('0x7b')][_0x5e88('0x6')](_0x5c296b=>this[_0x5e88('0x11')](_0x5c296b)),_0x2d8c2e[_0x5e88('0x6c')][_0x5e88('0x7b')]['registerPostFixer'](_0x350d16=>this['noTrackChangesFixer'](_0x350d16)),_0x2d8c2e[_0x5e88('0x6c')][_0x5e88('0x7b')][_0x5e88('0x6')](_0x107afd=>this[_0x5e88('0x35')](_0x107afd)),this[_0x5e88('0x38')]();}[_0x5e88('0x11')](_0x50673f){if(_0x50673f['batch']['isUndo']||!_0x50673f['batch']['isLocal'])return!0x1;let _0x595da0=!0x1;const _0x5d7383=this[_0x5e88('0x5e')]['plugins'][_0x5e88('0x1a')](_0x5e88('0x6f'))['getSuggestions']({'skipNotAttached':!0x0})[_0x5e88('0x2b')](_0x1cb3c2=>_0x1cb3c2[_0x5e88('0x5a')]&&_0x5e88('0x46')==_0x1cb3c2['data'][_0x5e88('0x4f')])[_0x5e88('0x2b')](_0x3f8359=>_0x3f8359['data'][_0x5e88('0x4')]&&_0x3f8359['data'][_0x5e88('0x2')]);for(const _0x350aae of _0x5d7383)ie(_0x350aae)||(_0x50673f['removeMarker'](_0x350aae[_0x5e88('0x13')]()),_0x595da0=!0x0);return _0x595da0;}['noTrackChangesFixer'](_0x318697){if(_0x318697[_0x5e88('0x71')]['isUndo']||!_0x318697[_0x5e88('0x71')]['isLocal'])return!0x1;const _0x582317=this[_0x5e88('0x5e')]['plugins']['get'](_0x5e88('0x6f'));if(_0x582317[_0x5e88('0x74')][_0x5e88('0x7c')])return!0x1;let _0x2b37b1=!0x1;const _0x1f300a=[_0x5e88('0x67'),'listStyle',_0x5e88('0x46'),_0x5e88('0x37'),_0x5e88('0x66'),'listReversed',_0x5e88('0x41')],_0x52af5b=this[_0x5e88('0x5e')][_0x5e88('0x6c')][_0x5e88('0x7b')][_0x5e88('0x15')][_0x5e88('0x51')]()[_0x5e88('0x2b')](_0x592d10=>'attribute'==_0x592d10[_0x5e88('0x8')])[_0x5e88('0x2b')](_0x1dfee0=>_0x1f300a[_0x5e88('0x4e')](_0x1dfee0['attributeKey']));if(0x0==_0x52af5b[_0x5e88('0x50')])return _0x2b37b1;for(const _0x440cae of _0x52af5b){const _0x36b762=_0x582317['_findSuggestions'](_0x440cae['range'],_0x5e88('0x5'))[_0x5e88('0x2b')](_0x333de8=>!_0x333de8[_0x5e88('0x3a')][_0x5e88('0x21')])[_0x5e88('0x4c')](_0x464e2c=>_0x464e2c[_0x5e88('0x34')])[_0x5e88('0x2b')](_0x2d45cb=>{const _0x319f3a=_0x582317[_0x5e88('0x14')](_0x2d45cb);return _0x1f300a[_0x5e88('0x4e')](_0x319f3a);});if(_0x36b762[_0x5e88('0x50')]){for(const _0x303a09 of _0x36b762)_0x318697[_0x5e88('0x52')](_0x303a09[_0x5e88('0x13')]());_0x2b37b1=!0x0;}}return _0x2b37b1;}[_0x5e88('0x35')](_0xfcd5f6){if(_0xfcd5f6[_0x5e88('0x71')][_0x5e88('0x4d')]||!_0xfcd5f6[_0x5e88('0x71')][_0x5e88('0x3d')])return!0x1;const _0x506bcd=this[_0x5e88('0x5e')][_0x5e88('0x32')][_0x5e88('0x1a')](_0x5e88('0x6f'));let _0x3da778=!0x1;const _0x3830ad=[_0x5e88('0x67'),_0x5e88('0x30'),_0x5e88('0x46'),_0x5e88('0x37'),'listStart',_0x5e88('0x2d'),_0x5e88('0x41')];for(const _0xfd5cc8 of _0x506bcd[_0x5e88('0x18')]({'skipNotAttached':!0x0})){const _0x2f69f2=_0x506bcd[_0x5e88('0x1c')](_0xfd5cc8[_0x5e88('0x19')](),_0x5e88('0x5'))[_0x5e88('0x4c')](_0x1a2179=>_0x1a2179['suggestion'])[_0x5e88('0x2b')](_0x141a1e=>_0x141a1e[_0x5e88('0x5a')]&&_0x3830ad[_0x5e88('0x4e')](_0x141a1e['data'][_0x5e88('0x4f')]));if(!_0x2f69f2[_0x5e88('0x50')])continue;const _0x5a467c=_0x2f69f2[0x0][_0x5e88('0xd')][_0x5e88('0x5b')]['groupId'];if(!_0x2f69f2['every'](_0x1213dc=>_0x1213dc[_0x5e88('0x5b')][_0x5e88('0x62')]===_0x5a467c))for(const _0x216d93 of _0x2f69f2)_0x3c8460(_0x216d93,_0x5a467c)&&(_0x3da778=!0x0);}return _0x3da778;function _0x16ebe1(_0x532f7a,_0xc3c6be){for(const _0x76e06d of _0x506bcd['getSuggestions']({'skipNotAttached':!0x0})[_0x5e88('0x2b')](_0x1b2859=>_0x5e88('0x5')==_0x1b2859[_0x5e88('0x8')]&&_0x1b2859[_0x5e88('0x5b')][_0x5e88('0x62')]==_0x532f7a))_0x76e06d[_0x5e88('0x48')](_0x5e88('0x62'),_0xc3c6be);}function _0x3c8460(_0x162b3f,_0x59fe35){let _0xbf98cc=_0x162b3f[_0x5e88('0xd')],_0x2212fc=!0x1;for(;_0xbf98cc;)_0xbf98cc[_0x5e88('0x5b')]['groupId']!=_0x59fe35&&(_0x16ebe1(_0xbf98cc[_0x5e88('0x5b')][_0x5e88('0x62')],_0x59fe35),_0xbf98cc[_0x5e88('0x48')](_0x5e88('0x62'),_0x59fe35),_0x2212fc=!0x0),_0xbf98cc=_0xbf98cc[_0x5e88('0x33')];return _0x2212fc;}}[_0x5e88('0x38')](){const _0x1f6783=this[_0x5e88('0x5e')],_0x45b5e4=_0x1f6783[_0x5e88('0x16')],_0x1049a2=_0x1f6783[_0x5e88('0x32')][_0x5e88('0x1a')](_0x5e88('0x6f'));this[_0x5e88('0xa')](),_0x1049a2[_0x5e88('0x2c')][_0x5e88('0x61')](_0x5e88('0x44'),_0x5e88('0x76'),_0x5e88('0x68'),function(_0x2bb825,_0x9da611){const _0x228a9a=[];for(let _0x14d013 of _0x2bb825)_0x14d013[_0x5e88('0x75')][_0x5e88('0x29')]===_0x14d013[_0x5e88('0x5f')][_0x5e88('0x20')]&&(_0x14d013=_0x1f6783[_0x5e88('0x6c')][_0x5e88('0x49')](_0x1f6783['model'][_0x5e88('0x2f')](_0x14d013[_0x5e88('0x75')]['nodeAfter'],0x0))),_0x228a9a['push'](_0x14d013);_0x1f6783[_0x5e88('0x6c')][_0x5e88('0x6d')](_0x48def9=>{const _0x5961b5=_0x1f6783[_0x5e88('0x6c')][_0x5e88('0x7b')][_0x5e88('0x1')],_0x475c66=Array[_0x5e88('0x47')](_0x5961b5[_0x5e88('0x60')]())[_0x5e88('0x4c')](_0x2b1b14=>_0x1a61d2[_0x5e88('0x36')](_0x2b1b14));_0x48def9['setSelection'](_0x228a9a),_0x1f6783[_0x5e88('0x3b')][_0x5e88('0x1a')](_0x9da611[_0x5e88('0x3f')])[_0x5e88('0x1b')](),_0x9da611[_0x5e88('0x73')]['push']({'forceDefaultExecution':!0x0}),_0x1f6783[_0x5e88('0x12')](_0x9da611[_0x5e88('0x3f')],..._0x9da611[_0x5e88('0x73')]),_0x48def9[_0x5e88('0x0')](_0x475c66);for(const _0x45ccce of _0x475c66)_0x45ccce[_0x5e88('0x39')]();});}),_0x1049a2[_0x5e88('0x4b')]['registerElementLabel'](function(_0x221feb){const _0x1bb7b8=!_0x1f6783['model']['schema'][_0x5e88('0x6a')](_0x221feb),_0x5342aa=_0x221feb[_0x5e88('0x7a')],_0x1c4d2f=_0x221feb[_0x5e88('0x40')],_0x5e103b=_0x221feb[_0x5e88('0x22')]('listItemId'),_0x3f6d02=!_0x5342aa||_0x5342aa[_0x5e88('0x22')]('listItemId')!==_0x5e103b,_0x3ff095=!_0x1c4d2f||_0x1c4d2f[_0x5e88('0x22')](_0x5e88('0x46'))!==_0x5e103b;return _0x1bb7b8&&Boolean(_0x5e103b)&&_0x3f6d02&&_0x3ff095;},_0x521845=>_0x17e5c3(_0x45b5e4,_0x5e88('0x28'),_0x521845));}[_0x5e88('0xa')](){const _0x587180=this[_0x5e88('0x5e')],_0x51295d=_0x587180[_0x5e88('0x16')];function _0x502028(_0x2fafc7){const _0x6631e2=_0x587180[_0x5e88('0x3b')]['get'](_0x5e88('0x70'))[_0x5e88('0x7c')],_0x41b24d=_0x587180[_0x5e88('0x3b')][_0x5e88('0x1a')](_0x5e88('0x3c'))[_0x5e88('0x7c')];return _0x5e88('0x3c')===_0x2fafc7?_0x6631e2:_0x41b24d;}_0x587180[_0x5e88('0x32')][_0x5e88('0x1a')](_0x5e88('0x6f'))[_0x5e88('0x4b')][_0x5e88('0x69')](function(_0x21c234){if('formatBlock'!=_0x21c234[_0x5e88('0x8')])return;const {data:_0x493ee2}=_0x21c234;if(!_0x493ee2)return;let _0x14cb7d,_0x49935e,_0x388b2d,_0x4c032a;switch(_0x493ee2[_0x5e88('0x3f')]){case'bulletedList':_0x388b2d=_0x493ee2[_0x5e88('0x73')][0x0][_0x5e88('0x31')],_0x4c032a=_0x502028(_0x493ee2[_0x5e88('0x3f')]),_0x14cb7d=_0x388b2d?_0x5e88('0x23'):'*Format:*\x20remove\x20from\x20%0',!_0x4c032a&&_0x587180[_0x5e88('0x59')]['get'](_0x5e88('0x53'))||(_0x14cb7d=_0x5e88('0x77')),_0x49935e={'type':'format','content':_0x17e5c3(_0x51295d,_0x14cb7d,_0x17e5c3(_0x51295d,_0x5e88('0xb')))};break;case _0x5e88('0x3c'):_0x388b2d=_0x493ee2['commandParams'][0x0][_0x5e88('0x31')],_0x4c032a=_0x502028(_0x493ee2[_0x5e88('0x3f')]),_0x14cb7d=_0x388b2d?_0x5e88('0x23'):'*Format:*\x20remove\x20from\x20%0',!_0x4c032a&&_0x587180[_0x5e88('0x59')][_0x5e88('0x1a')]('list.multiBlock')||(_0x14cb7d=_0x5e88('0x77')),_0x49935e={'type':_0x5e88('0xc'),'content':_0x17e5c3(_0x51295d,_0x14cb7d,_0x17e5c3(_0x51295d,_0x5e88('0x3e')))};break;case _0x5e88('0x4a'):_0x14cb7d=_0x5e88('0x63'),_0x49935e={'type':_0x5e88('0xc'),'content':_0x17e5c3(_0x51295d,_0x14cb7d,_0x17e5c3(_0x51295d,_0x5e88('0x28')))};break;case _0x5e88('0x1e'):_0x14cb7d=function(_0x230b3a){const _0x5d4626=_0x230b3a['getFirstRange']();let _0x210e12=_0x5d4626[_0x5e88('0x75')][_0x5e88('0x29')];for(;_0x210e12&&_0x5d4626[_0x5e88('0x57')](_0x210e12);){if(_0x210e12[_0x5e88('0x22')](_0x5e88('0x37'))>0x0)return!0x1;_0x210e12=_0x210e12[_0x5e88('0x40')];}return!0x0;}(_0x21c234)?_0x17e5c3(_0x51295d,_0x5e88('0x17'),_0x17e5c3(_0x51295d,function(_0x4b040f){return'ELEMENT_'+_0x4b040f[_0x5e88('0x19')]()['start'][_0x5e88('0x29')]['getAttribute'](_0x5e88('0x67'))['toUpperCase']()+_0x5e88('0x7');}(_0x21c234))):_0x17e5c3(_0x51295d,_0x5e88('0x25'),_0x17e5c3(_0x51295d,_0x5e88('0x28'))),_0x49935e={'type':_0x5e88('0xc'),'content':_0x14cb7d};break;case _0x5e88('0x2a'):case'mergeListItemForward':!0x1===_0x493ee2[_0x5e88('0x45')]&&(_0x14cb7d=_0x5e88('0x42'),_0x49935e={'type':_0x5e88('0x6b'),'content':_0x17e5c3(_0x51295d,_0x14cb7d,_0x17e5c3(_0x51295d,_0x5e88('0x28')))});}return _0x49935e;});}}function ie(_0xcd4f38){let _0x130395=_0xcd4f38[_0x5e88('0x19')]()[_0x5e88('0x75')][_0x5e88('0x29')][_0x5e88('0x7a')];for(;_0x130395;){const _0x571da3=_0x130395[_0x5e88('0x22')](_0x5e88('0x46'));if(!_0x571da3)return!0x1;if(_0x571da3==_0xcd4f38[_0x5e88('0x5a')]['newValue'])return _0x5e88('0x4');if(_0x571da3==_0xcd4f38[_0x5e88('0x5a')][_0x5e88('0x2')])return _0x5e88('0x2');_0x130395=_0x130395[_0x5e88('0x7a')];}return!0x1;}
@@ -1,29 +1,20 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  /**
6
6
  * @module track-changes/integrations/listproperties
7
7
  */
8
- import { Plugin } from 'ckeditor5/src/core';
9
- import type { Description } from '../suggestiondescriptionfactory';
10
- import type Suggestion from '../suggestion';
8
+ import { Plugin } from 'ckeditor5/src/core.js';
9
+ import type { Description } from '../suggestiondescriptionfactory.js';
10
+ import type Suggestion from '../suggestion.js';
11
11
  /**
12
- * Provides track changes plugin integration for list properties feature.
12
+ * Provides track changes plugin integration for document list properties feature.
13
13
  */
14
- export default class TrackChangesListProperties extends Plugin {
14
+ export default class TrackChangesDocumentListProperties extends Plugin {
15
15
  /**
16
16
  * @inheritDoc
17
17
  */
18
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
19
  handleDescriptions(suggestion: Suggestion): Description | undefined;
29
20
  }