@ckeditor/ckeditor5-track-changes 36.0.1 → 37.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 (127) hide show
  1. package/build/track-changes.js +1 -1
  2. package/ckeditor5-metadata.json +10 -0
  3. package/package.json +20 -5
  4. package/src/augmentation.d.ts +36 -0
  5. package/src/augmentation.js +23 -0
  6. package/src/commands/acceptsuggestioncommand.d.ts +20 -0
  7. package/src/commands/acceptsuggestioncommand.js +1 -1
  8. package/src/commands/discardsuggestioncommand.d.ts +20 -0
  9. package/src/commands/discardsuggestioncommand.js +1 -1
  10. package/src/commands/executeonallsuggestionscommand.d.ts +20 -0
  11. package/src/commands/executeonallsuggestionscommand.js +1 -1
  12. package/src/commands/executeonselectedsuggestionscommand.d.ts +20 -0
  13. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  14. package/src/commands/trackchangescommand.d.ts +22 -0
  15. package/src/commands/trackchangescommand.js +1 -1
  16. package/src/index.d.ts +12 -0
  17. package/src/index.js +1 -1
  18. package/src/integrations/alignment.d.ts +13 -0
  19. package/src/integrations/alignment.js +1 -1
  20. package/src/integrations/basicstyles.d.ts +13 -0
  21. package/src/integrations/basicstyles.js +1 -1
  22. package/src/integrations/blockquote.d.ts +13 -0
  23. package/src/integrations/blockquote.js +1 -1
  24. package/src/integrations/ckbox.d.ts +13 -0
  25. package/src/integrations/ckbox.js +1 -1
  26. package/src/integrations/codeblock.d.ts +13 -0
  27. package/src/integrations/codeblock.js +1 -1
  28. package/src/integrations/comments.d.ts +10 -0
  29. package/src/integrations/comments.js +1 -1
  30. package/src/integrations/deletecommand.d.ts +12 -0
  31. package/src/integrations/deletecommand.js +1 -1
  32. package/src/integrations/documentlist.d.ts +13 -0
  33. package/src/integrations/documentlist.js +1 -1
  34. package/src/integrations/documentlistproperties.d.ts +25 -0
  35. package/src/integrations/documentlistproperties.js +1 -1
  36. package/src/integrations/entercommand.d.ts +11 -0
  37. package/src/integrations/entercommand.js +1 -1
  38. package/src/integrations/findandreplace.d.ts +17 -0
  39. package/src/integrations/findandreplace.js +1 -1
  40. package/src/integrations/font.d.ts +13 -0
  41. package/src/integrations/font.js +1 -1
  42. package/src/integrations/heading.d.ts +13 -0
  43. package/src/integrations/heading.js +1 -1
  44. package/src/integrations/highlight.d.ts +13 -0
  45. package/src/integrations/highlight.js +1 -1
  46. package/src/integrations/horizontalline.d.ts +13 -0
  47. package/src/integrations/horizontalline.js +1 -1
  48. package/src/integrations/htmlembed.d.ts +13 -0
  49. package/src/integrations/htmlembed.js +1 -1
  50. package/src/integrations/image.d.ts +13 -0
  51. package/src/integrations/image.js +1 -1
  52. package/src/integrations/imagereplace.d.ts +19 -0
  53. package/src/integrations/imagereplace.js +1 -1
  54. package/src/integrations/importword.d.ts +14 -0
  55. package/src/integrations/importword.js +1 -1
  56. package/src/integrations/indent.d.ts +13 -0
  57. package/src/integrations/indent.js +1 -1
  58. package/src/integrations/inputcommand.d.ts +11 -0
  59. package/src/integrations/inputcommand.js +1 -1
  60. package/src/integrations/link.d.ts +13 -0
  61. package/src/integrations/link.js +1 -1
  62. package/src/integrations/list.d.ts +13 -0
  63. package/src/integrations/list.js +1 -1
  64. package/src/integrations/listproperties.d.ts +25 -0
  65. package/src/integrations/listproperties.js +1 -1
  66. package/src/integrations/mediaembed.d.ts +13 -0
  67. package/src/integrations/mediaembed.js +1 -1
  68. package/src/integrations/mention.d.ts +13 -0
  69. package/src/integrations/mention.js +1 -1
  70. package/src/integrations/pagebreak.d.ts +13 -0
  71. package/src/integrations/pagebreak.js +1 -1
  72. package/src/integrations/paragraph.d.ts +13 -0
  73. package/src/integrations/paragraph.js +1 -1
  74. package/src/integrations/removeformat.d.ts +13 -0
  75. package/src/integrations/removeformat.js +1 -1
  76. package/src/integrations/restrictededitingmode.d.ts +13 -0
  77. package/src/integrations/restrictededitingmode.js +1 -1
  78. package/src/integrations/shiftentercommand.d.ts +11 -0
  79. package/src/integrations/shiftentercommand.js +1 -1
  80. package/src/integrations/standardeditingmode.d.ts +13 -0
  81. package/src/integrations/standardeditingmode.js +1 -1
  82. package/src/integrations/style.d.ts +14 -0
  83. package/src/integrations/style.js +1 -1
  84. package/src/integrations/table.d.ts +38 -0
  85. package/src/integrations/table.js +1 -1
  86. package/src/integrations/tablecaption.d.ts +17 -0
  87. package/src/integrations/tablecaption.js +1 -1
  88. package/src/integrations/tableclipboard.d.ts +17 -0
  89. package/src/integrations/tableclipboard.js +1 -1
  90. package/src/integrations/tablecolumnresize.d.ts +22 -0
  91. package/src/integrations/tablecolumnresize.js +1 -1
  92. package/src/integrations/tableheadings.d.ts +17 -0
  93. package/src/integrations/tableheadings.js +1 -1
  94. package/src/integrations/tablemergesplit.d.ts +17 -0
  95. package/src/integrations/tablemergesplit.js +1 -1
  96. package/src/integrations/tableproperties.d.ts +23 -0
  97. package/src/integrations/tableproperties.js +1 -1
  98. package/src/integrations/title.d.ts +13 -0
  99. package/src/integrations/title.js +1 -1
  100. package/src/integrations/undo.d.ts +13 -0
  101. package/src/integrations/undo.js +1 -1
  102. package/src/integrations/utils.d.ts +17 -0
  103. package/src/integrations/utils.js +1 -1
  104. package/src/suggestion.d.ts +266 -0
  105. package/src/suggestion.js +1 -1
  106. package/src/suggestiondescriptionfactory.d.ts +151 -0
  107. package/src/suggestiondescriptionfactory.js +1 -1
  108. package/src/trackchanges.d.ts +222 -0
  109. package/src/trackchanges.js +1 -1
  110. package/src/trackchangesconfig.d.ts +53 -0
  111. package/src/trackchangesconfig.js +23 -0
  112. package/src/trackchangesdata.d.ts +38 -0
  113. package/src/trackchangesdata.js +1 -1
  114. package/src/trackchangesediting.d.ts +391 -0
  115. package/src/trackchangesediting.js +1 -1
  116. package/src/trackchangesui.d.ts +34 -0
  117. package/src/trackchangesui.js +1 -1
  118. package/src/ui/suggestioncontroller.d.ts +36 -0
  119. package/src/ui/suggestioncontroller.js +1 -1
  120. package/src/ui/view/basesuggestionthreadview.d.ts +166 -0
  121. package/src/ui/view/basesuggestionthreadview.js +1 -1
  122. package/src/ui/view/suggestionthreadview.d.ts +184 -0
  123. package/src/ui/view/suggestionthreadview.js +1 -1
  124. package/src/utils/common-translations.d.ts +5 -0
  125. package/src/utils/common-translations.js +1 -1
  126. package/src/utils/utils.d.ts +26 -0
  127. package/src/utils/utils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x42a9=['merge','deleteForward','delete','uiElement','downcastDispatcher','end','start','plugins','editing','markerName','modifySelection','isCollapsed','buffer','lock','fromRange','high','enqueueChange','TrackChangesEditing','root','commands','enableCommand','$graveyard','selection','addMarker:suggestion:deletion','unit','removeMarker:suggestion:deletion','createRange','mapper','createSelection','init','setSelection','data','get','remove','model'];(function(_0x1bdc09,_0x42a908){const _0x500d00=function(_0x474736){while(--_0x474736){_0x1bdc09['push'](_0x1bdc09['shift']());}};_0x500d00(++_0x42a908);}(_0x42a9,0xd9));const _0x500d=function(_0x1bdc09,_0x42a908){_0x1bdc09=_0x1bdc09-0x0;let _0x500d00=_0x42a9[_0x1bdc09];return _0x500d00;};import{Plugin as _0x588c1c}from'ckeditor5/src/core';import{Delete as _0x51e099}from'ckeditor5/src/typing';import{LiveRange as _0xdd1160}from'ckeditor5/src/engine';import{downcastSplitMergeMarker as _0x1b2a2d}from'./utils';export default class q extends _0x588c1c{static get['requires'](){return[_0x51e099];}[_0x500d('0x16')](){const _0x5d6e1b=this['editor'],_0x889166=_0x5d6e1b[_0x500d('0x0')][_0x500d('0x19')](_0x500d('0xa'));_0x889166['enableCommand'](_0x500d('0x1e'));const _0x549610=_0x5d6e1b[_0x500d('0xc')][_0x500d('0x19')](_0x500d('0x1d'));_0x889166[_0x500d('0xd')](_0x500d('0x1d'),(_0x415d4f,_0x8cd354={})=>{const _0x32d6a0=_0x5d6e1b['model'][_0x500d('0x15')](_0x5d6e1b[_0x500d('0x1b')]['document'][_0x500d('0xf')]);_0x32d6a0[_0x500d('0x4')]&&_0x5d6e1b[_0x500d('0x1b')][_0x500d('0x3')](_0x32d6a0,{'direction':'forward','unit':_0x8cd354[_0x500d('0x11')]});const _0x17afed=_0x32d6a0['getFirstRange'](),_0x22c778=_0xdd1160[_0x500d('0x7')](_0x17afed);let _0x23a05e;_0x415d4f(_0x8cd354),_0x23a05e=_0x500d('0xe')==_0x22c778[_0x500d('0xb')]['rootName']?_0x5d6e1b[_0x500d('0x1b')][_0x500d('0x13')](_0x17afed[_0x500d('0x22')]):_0x5d6e1b[_0x500d('0x1b')][_0x500d('0x13')](_0x22c778[_0x500d('0x22')],_0x22c778[_0x500d('0x21')]),_0x22c778['detach'](),_0x5d6e1b[_0x500d('0x1b')][_0x500d('0x9')](_0x549610['buffer']['batch'],_0x400e9c=>{_0x549610[_0x500d('0x5')][_0x500d('0x6')](),_0x400e9c[_0x500d('0x17')](_0x400e9c['createRange'](_0x23a05e[_0x500d('0x21')])),_0x549610[_0x500d('0x5')]['unlock']();});}),_0x5d6e1b[_0x500d('0x1')][_0x500d('0x20')]['on'](_0x500d('0x10'),_0x1b2a2d(_0x5d6e1b,_0x500d('0x1c')),{'priority':_0x500d('0x8')}),_0x5d6e1b[_0x500d('0x18')][_0x500d('0x20')]['on']('addMarker:suggestion:deletion',(_0x3b83d6,_0x36a591,_0x22c231)=>{_0x22c231['options']['showSuggestionHighlights']&&_0x1b2a2d(_0x5d6e1b,_0x500d('0x1c'),{'showActiveMarker':!0x1})(_0x3b83d6,_0x36a591,_0x22c231);},{'priority':_0x500d('0x8')}),_0x5d6e1b['editing'][_0x500d('0x20')]['on'](_0x500d('0x12'),(_0x4d5c55,_0x31f9e8,_0x10b9b0)=>{const _0x41a506=_0x10b9b0['mapper']['markerNameToElements'](_0x31f9e8[_0x500d('0x2')]);if(_0x41a506)for(const _0xc032ae of _0x41a506)_0xc032ae['is'](_0x500d('0x1f'))&&(_0x10b9b0[_0x500d('0x14')]['unbindElementFromMarkerName'](_0xc032ae,_0x31f9e8[_0x500d('0x2')]),_0x10b9b0['writer'][_0x500d('0x1a')](_0xc032ae));},{'priority':_0x500d('0x8')});}}
23
+ const _0x1631=['TrackChangesEditing','writer','editor','$graveyard','detach','showSuggestionHighlights','createRange','forward','editing','modifySelection','model','commands','rootName','bind','batch','plugins','unit','merge','uiElement','isCollapsed','high','enableCommand','document','options','downcastDispatcher','enqueueChange','end','start','getFirstRange','removeMarker:suggestion:deletion','addMarker:suggestion:deletion','deleteForward','buffer','createSelection','root','get'];(function(_0x1b19b2,_0x163172){const _0x4b81e6=function(_0x5614f4){while(--_0x5614f4){_0x1b19b2['push'](_0x1b19b2['shift']());}};_0x4b81e6(++_0x163172);}(_0x1631,0xd5));const _0x4b81=function(_0x1b19b2,_0x163172){_0x1b19b2=_0x1b19b2-0x0;let _0x4b81e6=_0x1631[_0x1b19b2];return _0x4b81e6;};import{Plugin as _0x5c84a7}from'ckeditor5/src/core';import{LiveRange as _0x4a0d22}from'ckeditor5/src/engine';import{Delete as _0x463df2}from'ckeditor5/src/typing';import{downcastSplitMergeMarker as _0x3aa058}from'./utils';export default class G extends _0x5c84a7{static get['requires'](){return[_0x463df2];}['init'](){const _0xa460cc=this[_0x4b81('0x5')],_0x28934d=_0xa460cc[_0x4b81('0x12')][_0x4b81('0x2')](_0x4b81('0x3'));_0x28934d[_0x4b81('0x18')]('delete');const _0x1df652=_0xa460cc[_0x4b81('0xe')][_0x4b81('0x2')](_0x4b81('0x22'));_0x28934d[_0x4b81('0x18')](_0x4b81('0x22'),(_0x4cc0bb,_0x4b068c={})=>{const _0x14b8c5=_0xa460cc[_0x4b81('0xd')][_0x4b81('0x0')](_0xa460cc['model'][_0x4b81('0x19')]['selection']);_0x14b8c5[_0x4b81('0x16')]&&_0xa460cc[_0x4b81('0xd')][_0x4b81('0xc')](_0x14b8c5,{'direction':_0x4b81('0xa'),'unit':_0x4b068c[_0x4b81('0x13')]});const _0x312e16=_0x14b8c5[_0x4b81('0x1f')](),_0x148489=_0x4a0d22['fromRange'](_0x312e16);let _0x3c82f0;_0x4cc0bb(_0x4b068c),_0x3c82f0=_0x4b81('0x6')==_0x148489[_0x4b81('0x1')][_0x4b81('0xf')]?_0xa460cc['model']['createRange'](_0x312e16[_0x4b81('0x1e')]):_0xa460cc['model'][_0x4b81('0x9')](_0x148489[_0x4b81('0x1e')],_0x148489['end']),_0x148489[_0x4b81('0x7')](),_0xa460cc[_0x4b81('0xd')][_0x4b81('0x1c')](_0x1df652[_0x4b81('0x23')][_0x4b81('0x11')],_0x27f3d0=>{_0x1df652[_0x4b81('0x23')]['lock'](),_0x27f3d0['setSelection'](_0x27f3d0[_0x4b81('0x9')](_0x3c82f0[_0x4b81('0x1d')])),_0x1df652[_0x4b81('0x23')]['unlock']();});}),_0xa460cc['editing']['downcastDispatcher']['on']('addMarker:suggestion:deletion',_0x3aa058(_0xa460cc,'merge'),{'priority':'high'}),_0xa460cc['data']['downcastDispatcher']['on'](_0x4b81('0x21'),(_0x29c943,_0x460fcd,_0x2b71ee)=>{_0x2b71ee[_0x4b81('0x1a')][_0x4b81('0x8')]&&_0x3aa058(_0xa460cc,_0x4b81('0x14'),{'showActiveMarker':!0x1})[_0x4b81('0x10')](this)(_0x29c943,_0x460fcd,_0x2b71ee);},{'priority':_0x4b81('0x17')}),_0xa460cc[_0x4b81('0xb')][_0x4b81('0x1b')]['on'](_0x4b81('0x20'),(_0x2f1d0f,_0xe87fd,_0x28f693)=>{const _0x4eaff3=_0x28f693['mapper']['markerNameToElements'](_0xe87fd['markerName']);if(_0x4eaff3)for(const _0x30e395 of _0x4eaff3)_0x30e395['is'](_0x4b81('0x15'))&&(_0x28f693['mapper']['unbindElementFromMarkerName'](_0x30e395,_0xe87fd['markerName']),_0x28f693[_0x4b81('0x4')]['remove'](_0x30e395));},{'priority':_0x4b81('0x17')});}}
@@ -0,0 +1,13 @@
1
+ /**
2
+ * @module track-changes/integrations/documentlist
3
+ */
4
+ import { Plugin } from 'ckeditor5/src/core';
5
+ /**
6
+ * Provides track changes plugin integration for document list feature.
7
+ */
8
+ export default class TrackChangesDocumentList extends Plugin {
9
+ /**
10
+ * @inheritDoc
11
+ */
12
+ afterInit(): void;
13
+ }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5a09=['nextSibling','value','editor','toUpperCase','listType','start','registerDescriptionCallback','execute','getRanges','createRange','markMultiRangeBlockFormat','selection','createPositionAt','mergeListItemForward','*Outdent:*\x20%0','format','commandParams','TrackChangesEditing','nodeAfter','map','commandName','_LIST','*Format:*\x20remove\x20from\x20%0','registerCustomCallback','isObject','next','splitListItemBefore','getSelectedBlocks','document','parent','ELEMENT_LIST_ITEM','*Change\x20to:*\x20%0','from','accept','get','previousSibling','getFirstRange','documentList','numberedList','model','change','refresh','markBlockFormat','outdentList','indentList','length','setSelection','ELEMENT_','detach','registerElementLabel','plugins','end','findIndex','has','commands','deletion','forceValue','push','fromRange','before','locale','multipleBlocks','isFirstBlockOfListItem','*Format:*\x20insert\x20into\x20%0','afterInit','_descriptionFactory','ELEMENT_BULLETED_LIST','enableCommand','slice','expandListBlocksToCompleteList','after','listItemId','getAttribute','splitListItemAfter','bulletedList','listIndent','*Indent:*\x20%0'];(function(_0x19c52a,_0x5a09df){const _0x599237=function(_0x500f17){while(--_0x500f17){_0x19c52a['push'](_0x19c52a['shift']());}};_0x599237(++_0x5a09df);}(_0x5a09,0xd0));const _0x5992=function(_0x19c52a,_0x5a09df){_0x19c52a=_0x19c52a-0x0;let _0x599237=_0x5a09[_0x19c52a];return _0x599237;};import{Plugin as _0x107013}from'ckeditor5/src/core';import{getTranslation as _0x1157b1}from'../utils/common-translations';import{LiveRange as _0x2366fe}from'ckeditor5/src/engine';export default class z extends _0x107013{[_0x5992('0xa')](){const _0x226273=this[_0x5992('0x19')];if(!_0x226273[_0x5992('0x49')][_0x5992('0x4c')]('DocumentListEditing'))return;const _0x273ca2=_0x226273[_0x5992('0x6')],_0x166e61=_0x226273[_0x5992('0x49')][_0x5992('0x39')](_0x5992('0x28')),_0x1b60cd=_0x226273[_0x5992('0x49')][_0x5992('0x39')]('DocumentListUtils');function _0x5b4170(_0x42a91f){return()=>{const _0x312171=_0x226273[_0x5992('0x0')]['get'](_0x42a91f);let _0x748f3a=Array[_0x5992('0x37')](_0x226273[_0x5992('0x3e')]['document'][_0x5992('0x22')]['getSelectedBlocks']());if(_0x56cc1e(_0x42a91f)){_0x748f3a=_0x1b60cd[_0x5992('0xf')](_0x748f3a);const _0x5d08de=[];for(const _0x5c0184 of _0x748f3a)_0x1b60cd[_0x5992('0x8')](_0x5c0184)&&_0x5d08de[_0x5992('0x3')](_0x5c0184);_0x748f3a=_0x5d08de;}_0x226273[_0x5992('0x3e')][_0x5992('0x3f')](()=>{_0x166e61[_0x5992('0x21')](_0x748f3a,{'commandName':_0x42a91f,'commandParams':[{'forceValue':!_0x312171[_0x5992('0x18')]}],'formatGroupId':_0x5992('0x1b')},[],'documentList');});};}function _0x34aecf(_0x154ab8){return()=>{const _0xac663=function(_0x1cea2a){const _0x26ee31=(_0x1cea2a=Array[_0x5992('0x37')](_0x1cea2a))[_0x5992('0x4b')](_0x40a3db=>!_0x40a3db['hasAttribute']('listItemId'));return _0x26ee31>-0x1&&(_0x1cea2a=_0x1cea2a[_0x5992('0xe')](0x0,_0x26ee31)),_0x1cea2a;}(_0x226273[_0x5992('0x3e')][_0x5992('0x33')]['selection'][_0x5992('0x32')]()),_0x516fcb=_0xac663[_0xac663[_0x5992('0x44')]-0x1],_0x704eb1=_0x226273['model']['schema']['isObject'](_0x516fcb)?_0x5992('0x10'):_0x5992('0x4a'),_0x289602=_0x226273[_0x5992('0x3e')][_0x5992('0x20')](_0x226273['model']['createPositionAt'](_0xac663[0x0],_0x5992('0x5')),_0x226273[_0x5992('0x3e')][_0x5992('0x23')](_0x516fcb,_0x704eb1));_0x226273[_0x5992('0x3e')][_0x5992('0x3f')](()=>{_0x166e61[_0x5992('0x41')](_0x289602,{'commandName':_0x154ab8,'commandParams':[],'formatGroupId':_0x5992('0x1b')},function(_0xc61566){const _0x1dd55c=new Set();for(const _0xea7caa of _0xc61566){let _0x33481b=_0xea7caa[_0x5992('0x17')];for(;_0x33481b&&_0x33481b[_0x5992('0x12')](_0x5992('0x15'))>_0xea7caa[_0x5992('0x12')](_0x5992('0x15'));)_0x1dd55c['add'](_0x33481b),_0x33481b=_0x33481b['nextSibling'];}return Array[_0x5992('0x37')](_0x1dd55c);}(_0xac663));});};}function _0x750ad7(_0xcb8489){return()=>{const _0x25e589=_0x226273[_0x5992('0x3e')][_0x5992('0x33')]['selection']['getSelectedBlocks']()[_0x5992('0x30')]()[_0x5992('0x18')],_0x46eb0d=_0x226273[_0x5992('0x3e')][_0x5992('0x23')](_0x25e589,_0x5992('0x5')),_0x5dcebb=_0x226273[_0x5992('0x3e')][_0x5992('0x23')](_0x25e589,0x0),_0x36bc11=_0x226273[_0x5992('0x3e')]['createRange'](_0x46eb0d,_0x5dcebb);_0x226273[_0x5992('0x3e')]['change'](()=>{_0x166e61['markBlockFormat'](_0x36bc11,{'commandName':_0xcb8489,'commandParams':[],'formatGroupId':_0x5992('0x1b')});});};}function _0x56cc1e(_0x2a86d6){const _0x14bd3c=_0x226273['commands'][_0x5992('0x39')](_0x5992('0x14'))['value'],_0x188e1b=_0x226273[_0x5992('0x0')][_0x5992('0x39')]('numberedList')[_0x5992('0x18')];return _0x5992('0x3d')===_0x2a86d6?_0x14bd3c:_0x188e1b;}_0x166e61[_0x5992('0xd')](_0x5992('0x3d'),_0x5b4170(_0x5992('0x3d'))),_0x166e61[_0x5992('0xd')]('bulletedList',_0x5b4170(_0x5992('0x14'))),_0x166e61[_0x5992('0xd')]('indentList',_0x34aecf(_0x5992('0x43'))),_0x166e61[_0x5992('0xd')](_0x5992('0x42'),_0x34aecf(_0x5992('0x42'))),_0x166e61[_0x5992('0xd')](_0x5992('0x13'),_0x750ad7(_0x5992('0x13'))),_0x166e61['enableCommand'](_0x5992('0x31'),_0x750ad7(_0x5992('0x31'))),_0x166e61[_0x5992('0xb')][_0x5992('0x48')](function(_0xf0fce2){const _0x157fdc=!_0x226273[_0x5992('0x3e')]['schema'][_0x5992('0x2f')](_0xf0fce2),_0xc79434=_0xf0fce2[_0x5992('0x3a')],_0x5424b7=_0xf0fce2[_0x5992('0x17')],_0x2efde7=_0xf0fce2[_0x5992('0x12')](_0x5992('0x11')),_0x12adbf=!_0xc79434||_0xc79434[_0x5992('0x12')](_0x5992('0x11'))!==_0x2efde7,_0xdbb97c=!_0x5424b7||_0x5424b7[_0x5992('0x12')](_0x5992('0x11'))!==_0x2efde7;return _0x157fdc&&_0x2efde7&&_0x12adbf&&_0xdbb97c;},_0x2aaf5a=>_0x1157b1(_0x273ca2,_0x5992('0x35'),_0x2aaf5a)),_0x166e61['_descriptionFactory'][_0x5992('0x1d')](function(_0x2f18a7){const {data:_0x12d989}=_0x2f18a7;if(!_0x12d989)return;let _0x3f2c62,_0x378ed7,_0xb7d7c9,_0x41486d;switch(_0x12d989[_0x5992('0x2b')]){case _0x5992('0x14'):_0xb7d7c9=_0x12d989[_0x5992('0x27')][0x0]['forceValue'],_0x41486d=_0x56cc1e(_0x12d989[_0x5992('0x2b')]),_0x3f2c62=_0xb7d7c9?_0x5992('0x9'):_0x5992('0x2d'),_0x41486d&&(_0x3f2c62=_0x5992('0x36')),_0x378ed7={'type':'format','content':_0x1157b1(_0x273ca2,_0x3f2c62,_0x1157b1(_0x273ca2,_0x5992('0xc')))};break;case _0x5992('0x3d'):_0xb7d7c9=_0x12d989[_0x5992('0x27')][0x0][_0x5992('0x2')],_0x41486d=_0x56cc1e(_0x12d989[_0x5992('0x2b')]),_0x3f2c62=_0xb7d7c9?_0x5992('0x9'):_0x5992('0x2d'),_0x41486d&&(_0x3f2c62=_0x5992('0x36')),_0x378ed7={'type':_0x5992('0x26'),'content':_0x1157b1(_0x273ca2,_0x3f2c62,_0x1157b1(_0x273ca2,'ELEMENT_NUMBERED_LIST'))};break;case'indentList':_0x3f2c62=_0x5992('0x16'),_0x378ed7={'type':_0x5992('0x26'),'content':_0x1157b1(_0x273ca2,_0x3f2c62,_0x1157b1(_0x273ca2,_0x5992('0x35')))};break;case _0x5992('0x42'):_0x3f2c62=function(_0x32b8d8){const _0x161c81=_0x32b8d8[_0x5992('0x3b')]();let _0x27d58b=_0x161c81['start'][_0x5992('0x29')];for(;_0x27d58b&&_0x161c81['containsItem'](_0x27d58b);){if(_0x27d58b[_0x5992('0x12')](_0x5992('0x15'))>0x0)return!0x1;_0x27d58b=_0x27d58b[_0x5992('0x17')];}return!0x0;}(_0x2f18a7)?_0x1157b1(_0x273ca2,_0x5992('0x2d'),_0x1157b1(_0x273ca2,function(_0x5b78ec){const _0x304d6c=_0x5b78ec[_0x5992('0x3b')]()[_0x5992('0x1c')][_0x5992('0x29')];return _0x5992('0x46')+_0x304d6c['getAttribute'](_0x5992('0x1b'))[_0x5992('0x1a')]()+_0x5992('0x2c');}(_0x2f18a7))):_0x1157b1(_0x273ca2,_0x5992('0x25'),_0x1157b1(_0x273ca2,'ELEMENT_LIST_ITEM')),_0x378ed7={'type':_0x5992('0x26'),'content':_0x3f2c62};break;case'mergeListItemBackward':case _0x5992('0x24'):!0x1===_0x12d989[_0x5992('0x7')]&&(_0x3f2c62='*Merge:*\x20%0',_0x378ed7={'type':_0x5992('0x1'),'content':_0x1157b1(_0x273ca2,_0x3f2c62,_0x1157b1(_0x273ca2,_0x5992('0x35')))});}return _0x378ed7;}),_0x166e61['_suggestionFactory'][_0x5992('0x2e')]('formatBlock',_0x5992('0x3c'),_0x5992('0x38'),function(_0x8384d6,_0x4351a3){const _0x1dd3e9=[];for(let _0x9b2c25 of _0x8384d6)_0x9b2c25[_0x5992('0x1c')]['nodeAfter']===_0x9b2c25[_0x5992('0x4a')][_0x5992('0x34')]&&(_0x9b2c25=_0x226273[_0x5992('0x3e')][_0x5992('0x20')](_0x226273['model']['createPositionAt'](_0x9b2c25['start']['nodeAfter'],0x0))),_0x1dd3e9[_0x5992('0x3')](_0x9b2c25);_0x226273[_0x5992('0x3e')][_0x5992('0x3f')](_0x55346e=>{const _0x6e49=_0x226273[_0x5992('0x3e')]['document'][_0x5992('0x22')],_0x4e42b3=Array[_0x5992('0x37')](_0x6e49[_0x5992('0x1f')]())[_0x5992('0x2a')](_0x1f3c5e=>_0x2366fe[_0x5992('0x4')](_0x1f3c5e));_0x55346e['setSelection'](_0x1dd3e9),_0x226273[_0x5992('0x0')][_0x5992('0x39')](_0x4351a3[_0x5992('0x2b')])[_0x5992('0x40')](),_0x4351a3[_0x5992('0x27')][_0x5992('0x3')]({'forceDefaultExecution':!0x0}),_0x226273[_0x5992('0x1e')](_0x4351a3[_0x5992('0x2b')],..._0x4351a3[_0x5992('0x27')]),_0x55346e[_0x5992('0x45')](_0x4e42b3);for(const _0x3a3aae of _0x4e42b3)_0x3a3aae[_0x5992('0x47')]();});});}}
23
+ const _0xa5d3=['start','registerCustomCallback','registerElementLabel','parent','end','outdentList','bulletedList','commandParams','containsItem','_suggestionFactory','enableCommand','_descriptionFactory','ELEMENT_','length','numberedList','afterInit','schema','previousSibling','commands','refresh','plugins','map','documentList','ELEMENT_LIST_ITEM','accept','add','createRange','getFirstRange','detach','formatBlock','isObject','ELEMENT_NUMBERED_LIST','deletion','format','from','locale','commandName','markMultiRangeBlockFormat','splitListItemAfter','execute','listIndent','editor','createPositionAt','DocumentListEditing','setSelection','listType','slice','getAttribute','fromRange','indentList','multipleBlocks','selection','next','*Format:*\x20remove\x20from\x20%0','toUpperCase','model','push','_LIST','get','listItemId','document','getSelectedBlocks','splitListItemBefore','mergeListItemForward','has','*Change\x20to:*\x20%0','DocumentListUtils','findIndex','*Format:*\x20insert\x20into\x20%0','nodeAfter','*Merge:*\x20%0','nextSibling','mergeListItemBackward','value','markBlockFormat'];(function(_0x156860,_0xa5d354){const _0x51c4a8=function(_0x367e42){while(--_0x367e42){_0x156860['push'](_0x156860['shift']());}};_0x51c4a8(++_0xa5d354);}(_0xa5d3,0xbd));const _0x51c4=function(_0x156860,_0xa5d354){_0x156860=_0x156860-0x0;let _0x51c4a8=_0xa5d3[_0x156860];return _0x51c4a8;};import{Plugin as _0x5dde35}from'ckeditor5/src/core';import{getTranslation as _0x4019a3}from'../utils/common-translations';import{LiveRange as _0x4a3edc}from'ckeditor5/src/engine';export default class L extends _0x5dde35{[_0x51c4('0x33')](){const _0x261b12=this[_0x51c4('0x2')];if(!_0x261b12[_0x51c4('0x38')][_0x51c4('0x19')](_0x51c4('0x4')))return;const _0x429d12=_0x261b12[_0x51c4('0x47')],_0x128c27=_0x261b12[_0x51c4('0x38')][_0x51c4('0x13')]('TrackChangesEditing'),_0x138d38=_0x261b12['plugins'][_0x51c4('0x13')](_0x51c4('0x1b'));function _0x18d88c(_0x2bfc53){return()=>{const _0x13dfff=_0x261b12[_0x51c4('0x36')][_0x51c4('0x13')](_0x2bfc53);let _0x2777c8=Array['from'](_0x261b12['model']['document'][_0x51c4('0xc')][_0x51c4('0x16')]());if(_0x253e7c(_0x2bfc53)){_0x2777c8=_0x138d38['expandListBlocksToCompleteList'](_0x2777c8);const _0x259b49=[];for(const _0x340d7d of _0x2777c8)_0x138d38['isFirstBlockOfListItem'](_0x340d7d)&&_0x259b49['push'](_0x340d7d);_0x2777c8=_0x259b49;}_0x261b12[_0x51c4('0x10')]['change'](()=>{_0x128c27[_0x51c4('0x49')](_0x2777c8,{'commandName':_0x2bfc53,'commandParams':[{'forceValue':!_0x13dfff['value']}],'formatGroupId':_0x51c4('0x6')},[],_0x51c4('0x3a'));});};}function _0x5f03aa(_0x33ed10){return()=>{const _0x51ab4e=function(_0x593703){let _0x1b4e41=Array[_0x51c4('0x46')](_0x593703);const _0x50e12f=_0x1b4e41[_0x51c4('0x1c')](_0x4efd74=>!_0x4efd74['hasAttribute'](_0x51c4('0x14')));return _0x50e12f>-0x1&&(_0x1b4e41=_0x1b4e41[_0x51c4('0x7')](0x0,_0x50e12f)),_0x1b4e41;}(_0x261b12['model'][_0x51c4('0x15')]['selection']['getSelectedBlocks']()),_0x35aab5=_0x51ab4e[_0x51ab4e[_0x51c4('0x31')]-0x1],_0x811a31=_0x261b12[_0x51c4('0x10')][_0x51c4('0x34')][_0x51c4('0x42')](_0x35aab5)?'after':_0x51c4('0x28'),_0x100bb3=_0x261b12[_0x51c4('0x10')][_0x51c4('0x3e')](_0x261b12[_0x51c4('0x10')][_0x51c4('0x3')](_0x51ab4e[0x0],'before'),_0x261b12['model']['createPositionAt'](_0x35aab5,_0x811a31));_0x261b12[_0x51c4('0x10')]['change'](()=>{_0x128c27[_0x51c4('0x23')](_0x100bb3,{'commandName':_0x33ed10,'commandParams':[],'formatGroupId':'listType'},function(_0x2dc7e6){const _0x3c750d=new Set();for(const _0x51c8cc of _0x2dc7e6){let _0x5e626c=_0x51c8cc['nextSibling'];for(;_0x5e626c&&_0x5e626c[_0x51c4('0x8')]('listIndent')>_0x51c8cc[_0x51c4('0x8')](_0x51c4('0x1'));)_0x3c750d[_0x51c4('0x3d')](_0x5e626c),_0x5e626c=_0x5e626c[_0x51c4('0x20')];}return Array[_0x51c4('0x46')](_0x3c750d);}(_0x51ab4e));});};}function _0x48b54a(_0x385add){return()=>{const _0xf46668=_0x261b12[_0x51c4('0x10')][_0x51c4('0x15')]['selection'][_0x51c4('0x16')]()[_0x51c4('0xd')]()[_0x51c4('0x22')],_0x2bac39=_0x261b12[_0x51c4('0x10')][_0x51c4('0x3')](_0xf46668,'before'),_0x183582=_0x261b12[_0x51c4('0x10')]['createPositionAt'](_0xf46668,0x0),_0x21d15e=_0x261b12[_0x51c4('0x10')][_0x51c4('0x3e')](_0x2bac39,_0x183582);_0x261b12[_0x51c4('0x10')]['change'](()=>{_0x128c27[_0x51c4('0x23')](_0x21d15e,{'commandName':_0x385add,'commandParams':[],'formatGroupId':_0x51c4('0x6')});});};}function _0x253e7c(_0x57a090){const _0x544721=_0x261b12['commands']['get'](_0x51c4('0x2a'))[_0x51c4('0x22')],_0xddf3a2=_0x261b12[_0x51c4('0x36')][_0x51c4('0x13')](_0x51c4('0x32'))['value'];return _0x51c4('0x32')===_0x57a090?_0x544721:_0xddf3a2;}_0x128c27[_0x51c4('0x2e')](_0x51c4('0x32'),_0x18d88c(_0x51c4('0x32'))),_0x128c27['enableCommand']('bulletedList',_0x18d88c(_0x51c4('0x2a'))),_0x128c27[_0x51c4('0x2e')]('indentList',_0x5f03aa(_0x51c4('0xa'))),_0x128c27[_0x51c4('0x2e')](_0x51c4('0x29'),_0x5f03aa(_0x51c4('0x29'))),_0x128c27['enableCommand'](_0x51c4('0x4a'),_0x48b54a(_0x51c4('0x4a'))),_0x128c27[_0x51c4('0x2e')](_0x51c4('0x17'),_0x48b54a(_0x51c4('0x17'))),_0x128c27[_0x51c4('0x2f')][_0x51c4('0x26')](function(_0x26485e){const _0x4f03d8=!_0x261b12[_0x51c4('0x10')][_0x51c4('0x34')][_0x51c4('0x42')](_0x26485e),_0x28c2e5=_0x26485e[_0x51c4('0x35')],_0x50b3a5=_0x26485e['nextSibling'],_0x385389=_0x26485e[_0x51c4('0x8')](_0x51c4('0x14')),_0x467875=!_0x28c2e5||_0x28c2e5[_0x51c4('0x8')](_0x51c4('0x14'))!==_0x385389,_0x4f0e83=!_0x50b3a5||_0x50b3a5[_0x51c4('0x8')](_0x51c4('0x14'))!==_0x385389;return _0x4f03d8&&Boolean(_0x385389)&&_0x467875&&_0x4f0e83;},_0x5bd432=>_0x4019a3(_0x429d12,'ELEMENT_LIST_ITEM',_0x5bd432)),_0x128c27[_0x51c4('0x2f')]['registerDescriptionCallback'](function(_0x8c15d9){const {data:_0x32b74d}=_0x8c15d9;if(!_0x32b74d)return;let _0x157ef9,_0x48588c,_0x290748,_0x47e346;switch(_0x32b74d[_0x51c4('0x48')]){case _0x51c4('0x2a'):_0x290748=_0x32b74d[_0x51c4('0x2b')][0x0]['forceValue'],_0x47e346=_0x253e7c(_0x32b74d['commandName']),_0x157ef9=_0x290748?_0x51c4('0x1d'):_0x51c4('0xe'),_0x47e346&&(_0x157ef9=_0x51c4('0x1a')),_0x48588c={'type':'format','content':_0x4019a3(_0x429d12,_0x157ef9,_0x4019a3(_0x429d12,'ELEMENT_BULLETED_LIST'))};break;case _0x51c4('0x32'):_0x290748=_0x32b74d[_0x51c4('0x2b')][0x0]['forceValue'],_0x47e346=_0x253e7c(_0x32b74d['commandName']),_0x157ef9=_0x290748?'*Format:*\x20insert\x20into\x20%0':_0x51c4('0xe'),_0x47e346&&(_0x157ef9=_0x51c4('0x1a')),_0x48588c={'type':'format','content':_0x4019a3(_0x429d12,_0x157ef9,_0x4019a3(_0x429d12,_0x51c4('0x43')))};break;case _0x51c4('0xa'):_0x157ef9='*Indent:*\x20%0',_0x48588c={'type':_0x51c4('0x45'),'content':_0x4019a3(_0x429d12,_0x157ef9,_0x4019a3(_0x429d12,_0x51c4('0x3b')))};break;case _0x51c4('0x29'):_0x157ef9=function(_0x2ee0ee){const _0x40ffba=_0x2ee0ee[_0x51c4('0x3f')]();let _0xb1979f=_0x40ffba[_0x51c4('0x24')][_0x51c4('0x1e')];for(;_0xb1979f&&_0x40ffba[_0x51c4('0x2c')](_0xb1979f);){if(_0xb1979f[_0x51c4('0x8')](_0x51c4('0x1'))>0x0)return!0x1;_0xb1979f=_0xb1979f['nextSibling'];}return!0x0;}(_0x8c15d9)?_0x4019a3(_0x429d12,_0x51c4('0xe'),_0x4019a3(_0x429d12,function(_0x395219){const _0x4e8cfe=_0x395219[_0x51c4('0x3f')]()['start'][_0x51c4('0x1e')];return _0x51c4('0x30')+_0x4e8cfe[_0x51c4('0x8')](_0x51c4('0x6'))[_0x51c4('0xf')]()+_0x51c4('0x12');}(_0x8c15d9))):_0x4019a3(_0x429d12,'*Outdent:*\x20%0',_0x4019a3(_0x429d12,_0x51c4('0x3b'))),_0x48588c={'type':_0x51c4('0x45'),'content':_0x157ef9};break;case _0x51c4('0x21'):case _0x51c4('0x18'):!0x1===_0x32b74d[_0x51c4('0xb')]&&(_0x157ef9=_0x51c4('0x1f'),_0x48588c={'type':_0x51c4('0x44'),'content':_0x4019a3(_0x429d12,_0x157ef9,_0x4019a3(_0x429d12,_0x51c4('0x3b')))});}return _0x48588c;}),_0x128c27[_0x51c4('0x2d')][_0x51c4('0x25')](_0x51c4('0x41'),_0x51c4('0x3a'),_0x51c4('0x3c'),function(_0x3f05fb,_0x36056b){const _0x2466cb=[];for(let _0x365953 of _0x3f05fb)_0x365953[_0x51c4('0x24')][_0x51c4('0x1e')]===_0x365953[_0x51c4('0x28')][_0x51c4('0x27')]&&(_0x365953=_0x261b12[_0x51c4('0x10')][_0x51c4('0x3e')](_0x261b12[_0x51c4('0x10')]['createPositionAt'](_0x365953[_0x51c4('0x24')][_0x51c4('0x1e')],0x0))),_0x2466cb[_0x51c4('0x11')](_0x365953);_0x261b12[_0x51c4('0x10')]['change'](_0x287b6d=>{const _0x2b2ecf=_0x261b12['model'][_0x51c4('0x15')][_0x51c4('0xc')],_0x25079f=Array[_0x51c4('0x46')](_0x2b2ecf['getRanges']())[_0x51c4('0x39')](_0x5392bf=>_0x4a3edc[_0x51c4('0x9')](_0x5392bf));_0x287b6d[_0x51c4('0x5')](_0x2466cb),_0x261b12[_0x51c4('0x36')]['get'](_0x36056b[_0x51c4('0x48')])[_0x51c4('0x37')](),_0x36056b[_0x51c4('0x2b')]['push']({'forceDefaultExecution':!0x0}),_0x261b12[_0x51c4('0x0')](_0x36056b[_0x51c4('0x48')],..._0x36056b['commandParams']),_0x287b6d['setSelection'](_0x25079f);for(const _0x2f51b6 of _0x25079f)_0x2f51b6[_0x51c4('0x40')]();});});}}
@@ -0,0 +1,25 @@
1
+ /**
2
+ * @module track-changes/integrations/documentlistproperties
3
+ */
4
+ import { Plugin } from 'ckeditor5/src/core';
5
+ import type { Description } from '../suggestiondescriptionfactory';
6
+ import type Suggestion from '../suggestion';
7
+ /**
8
+ * Provides track changes plugin integration for document list properties feature.
9
+ */
10
+ export default class TrackChangesDocumentListProperties extends Plugin {
11
+ /**
12
+ * @inheritDoc
13
+ */
14
+ afterInit(): void;
15
+ handleListStyleCommand(executeCommand: Function, options?: {
16
+ type?: string | null;
17
+ }): void;
18
+ handleListReversedCommand(executeCommand: Function, options?: {
19
+ reversed?: boolean;
20
+ }): void;
21
+ handleListStartCommand(executeCommand: Function, options?: {
22
+ startIndex?: number;
23
+ }): void;
24
+ handleDescriptions(suggestion: Suggestion): Description | undefined;
25
+ }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xc050=['config','toUpperCase','handleListReversedCommand','push','editor','isListItemBlock','replaceAll','listReversed','startIndex','DocumentListUtils','_descriptionFactory','isFirstBlockOfListItem','plugins','numbered','model','TrackChangesEditing','getAttribute','filter','DocumentListPropertiesUtils','styles','listStart','_getSuggestionBlocks','get','markMultiRangeBlockFormat','*Change\x20to:*\x20%0','handleDescriptions','handleListStyleCommand','enableCommand','*Format:*\x20set\x20order\x20to\x20regular','getSelectedBlocks','afterInit','list.properties','reversed','locale','change','ELEMENT_','length','_LIST_','listStyle','listType','registerDescriptionCallback','bind','commandName','from','hasAttribute','format','_getTranslationKeyForListStyle','DocumentListPropertiesEditing','*Format:*\x20set\x20start\x20index\x20to\x20%0','expandListBlocksToCompleteList','handleListStartCommand','commandParams','selection'];(function(_0x4b1275,_0xc050d7){const _0x3e9c5d=function(_0x52f5d3){while(--_0x52f5d3){_0x4b1275['push'](_0x4b1275['shift']());}};_0x3e9c5d(++_0xc050d7);}(_0xc050,0x19f));const _0x3e9c=function(_0x4b1275,_0xc050d7){_0x4b1275=_0x4b1275-0x0;let _0x3e9c5d=_0xc050[_0x4b1275];return _0x3e9c5d;};import{Plugin as _0x2049a0}from'ckeditor5/src/core';import{getTranslation as _0x943396}from'../utils/common-translations';export default class vt extends _0x2049a0{[_0x3e9c('0x27')](){if(!this[_0x3e9c('0xd')]['plugins']['has'](_0x3e9c('0x3')))return;const _0x226000=this[_0x3e9c('0xd')][_0x3e9c('0x9')][_0x3e9c('0x1f')](_0x3e9c('0x28')),_0x29d362=this[_0x3e9c('0xd')][_0x3e9c('0x15')][_0x3e9c('0x1f')](_0x3e9c('0x18'));_0x226000[_0x3e9c('0x1c')]&&_0x29d362[_0x3e9c('0x24')](_0x3e9c('0x2f'),this['handleListStyleCommand']['bind'](this)),_0x226000[_0x3e9c('0x29')]&&_0x29d362[_0x3e9c('0x24')](_0x3e9c('0x10'),this[_0x3e9c('0xb')][_0x3e9c('0x32')](this)),_0x226000[_0x3e9c('0x11')]&&_0x29d362['enableCommand'](_0x3e9c('0x1d'),this[_0x3e9c('0x6')]['bind'](this)),_0x29d362[_0x3e9c('0x13')][_0x3e9c('0x31')](this[_0x3e9c('0x22')][_0x3e9c('0x32')](this));}[_0x3e9c('0x23')](_0x42a742,_0x34654c){const _0x5b8742=this['editor'][_0x3e9c('0x15')][_0x3e9c('0x1f')](_0x3e9c('0x18')),_0x2f55cc=this[_0x3e9c('0x1e')](_0x55140d=>_0x55140d[_0x3e9c('0x0')]('listType'));null!==_0x2f55cc&&this['editor'][_0x3e9c('0x17')][_0x3e9c('0x2b')](()=>{_0x5b8742[_0x3e9c('0x20')](_0x2f55cc,{'commandName':_0x3e9c('0x2f'),'commandParams':[{'type':_0x34654c['type']}],'formatGroupId':_0x3e9c('0x2f')});});}[_0x3e9c('0xb')](_0x57ce91,_0x5e963b){const _0x1155a8=this[_0x3e9c('0xd')]['plugins']['get'](_0x3e9c('0x18')),_0x4be714=this[_0x3e9c('0xd')][_0x3e9c('0x15')][_0x3e9c('0x1f')](_0x3e9c('0x12')),_0x2933e7=this[_0x3e9c('0x1e')](_0x2b25a3=>_0x4be714[_0x3e9c('0xe')](_0x2b25a3)&&_0x3e9c('0x16')===_0x2b25a3[_0x3e9c('0x19')](_0x3e9c('0x30')));null!==_0x2933e7&&this[_0x3e9c('0xd')]['model'][_0x3e9c('0x2b')](()=>{_0x1155a8[_0x3e9c('0x20')](_0x2933e7,{'commandName':'listReversed','commandParams':[{'reversed':_0x5e963b[_0x3e9c('0x29')]}],'formatGroupId':'listReversed'});});}[_0x3e9c('0x6')](_0x9a3029,_0x55256c){const _0x3b89a8=this[_0x3e9c('0xd')][_0x3e9c('0x15')]['get'](_0x3e9c('0x18')),_0x5a26cb=this[_0x3e9c('0xd')][_0x3e9c('0x15')][_0x3e9c('0x1f')]('DocumentListUtils'),_0x2d410b=this[_0x3e9c('0x1e')](_0xf963b1=>_0x5a26cb[_0x3e9c('0xe')](_0xf963b1)&&_0x3e9c('0x16')===_0xf963b1['getAttribute']('listType'));null!==_0x2d410b&&this[_0x3e9c('0xd')][_0x3e9c('0x17')][_0x3e9c('0x2b')](()=>{_0x3b89a8[_0x3e9c('0x20')](_0x2d410b,{'commandName':_0x3e9c('0x1d'),'commandParams':[{'startIndex':_0x55256c[_0x3e9c('0x11')]}],'formatGroupId':_0x3e9c('0x1d')});});}[_0x3e9c('0x22')](_0x57d0c4){const _0x5a3470=this[_0x3e9c('0xd')][_0x3e9c('0x2a')],{data:_0x46bf8d}=_0x57d0c4;if(!_0x46bf8d)return;let _0x333056,_0x347b77;switch(_0x46bf8d[_0x3e9c('0x33')]){case _0x3e9c('0x2f'):_0x333056=_0x3e9c('0x21'),_0x347b77={'type':_0x3e9c('0x1'),'content':_0x943396(_0x5a3470,_0x333056,_0x943396(_0x5a3470,this[_0x3e9c('0x2')](_0x46bf8d[_0x3e9c('0x7')][0x0]['type'])))};break;case _0x3e9c('0x10'):_0x333056=_0x46bf8d[_0x3e9c('0x7')][0x0]['reversed']?'*Format:*\x20set\x20order\x20to\x20reversed':_0x3e9c('0x25'),_0x347b77={'type':_0x3e9c('0x1'),'content':_0x943396(_0x5a3470,_0x333056)};break;case'listStart':_0x333056=_0x3e9c('0x4'),_0x347b77={'type':_0x3e9c('0x1'),'content':_0x943396(_0x5a3470,_0x333056,_0x46bf8d[_0x3e9c('0x7')][0x0][_0x3e9c('0x11')])};}return _0x347b77;}[_0x3e9c('0x1e')](_0x49f8e5){const _0x177941=this[_0x3e9c('0xd')]['plugins'][_0x3e9c('0x1f')](_0x3e9c('0x12'));let _0x46cc3c=Array[_0x3e9c('0x34')](this[_0x3e9c('0xd')][_0x3e9c('0x17')]['document'][_0x3e9c('0x8')][_0x3e9c('0x26')]())[_0x3e9c('0x1a')](_0x49f8e5);if(!_0x46cc3c[_0x3e9c('0x2d')])return null;_0x46cc3c=_0x177941[_0x3e9c('0x5')](_0x46cc3c);const _0x101bc4=[];for(const _0x1694a1 of _0x46cc3c)_0x177941[_0x3e9c('0x14')](_0x1694a1)&&_0x101bc4[_0x3e9c('0xc')](_0x1694a1);return _0x101bc4;}[_0x3e9c('0x2')](_0x324902){return _0x3e9c('0x2c')+this[_0x3e9c('0xd')]['plugins'][_0x3e9c('0x1f')](_0x3e9c('0x1b'))['getListTypeFromListStyleType'](_0x324902)[_0x3e9c('0xa')]()+_0x3e9c('0x2e')+_0x324902[_0x3e9c('0xa')]()[_0x3e9c('0xf')]('-','_');}}
23
+ const _0x695e=['format','*Format:*\x20set\x20start\x20index\x20to\x20%0','getSelectedBlocks','change','DocumentListPropertiesUtils','listStyle','isFirstBlockOfListItem','listReversed','_getSuggestionBlocksForListStyle','filter','get','handleListStartCommand','listType','document','handleListStyleCommand','replace','isListItemBlock','*Change\x20to:*\x20%0','*Format:*\x20set\x20order\x20to\x20regular','numbered','has','ELEMENT_','model','type','handleDescriptions','registerDescriptionCallback','DocumentListUtils','listStart','_descriptionFactory','toUpperCase','startIndex','_getTranslationKeyForListStyle','plugins','_LIST_','reversed','getAttribute','TrackChangesEditing','handleListReversedCommand','afterInit','locale','getListTypeFromListStyleType','expandListBlocksToCompleteList','length','editor','DocumentListPropertiesEditing','selection','styles','push','_getSuggestionBlocks','bind','commandName','from','markMultiRangeBlockFormat','commandParams'];(function(_0x34b199,_0x695e94){const _0x48be0d=function(_0x2e19ce){while(--_0x2e19ce){_0x34b199['push'](_0x34b199['shift']());}};_0x48be0d(++_0x695e94);}(_0x695e,0x141));const _0x48be=function(_0x34b199,_0x695e94){_0x34b199=_0x34b199-0x0;let _0x48be0d=_0x695e[_0x34b199];return _0x48be0d;};import{Plugin as _0x597fe0}from'ckeditor5/src/core';import{getTranslation as _0x46114e}from'../utils/common-translations';export default class St extends _0x597fe0{[_0x48be('0x29')](){if(!this[_0x48be('0x2e')][_0x48be('0x23')][_0x48be('0x17')](_0x48be('0x2f')))return;const _0x32d900=this[_0x48be('0x2e')]['config'][_0x48be('0xd')]('list.properties'),_0x6c25ef=this['editor'][_0x48be('0x23')][_0x48be('0xd')](_0x48be('0x27'));_0x32d900[_0x48be('0x31')]&&_0x6c25ef['enableCommand']('listStyle',this[_0x48be('0x11')][_0x48be('0x34')](this)),_0x32d900[_0x48be('0x25')]&&_0x6c25ef['enableCommand']('listReversed',this[_0x48be('0x28')][_0x48be('0x34')](this)),_0x32d900[_0x48be('0x21')]&&_0x6c25ef['enableCommand'](_0x48be('0x1e'),this['handleListStartCommand'][_0x48be('0x34')](this)),_0x6c25ef[_0x48be('0x1f')][_0x48be('0x1c')](this[_0x48be('0x1b')]['bind'](this));}[_0x48be('0x11')](_0x1dda0a,_0x164e29={}){const _0x56b511=this['editor']['plugins'][_0x48be('0xd')](_0x48be('0x27')),_0x3555aa=this[_0x48be('0xb')]();this[_0x48be('0x2e')]['model']['change'](()=>{_0x56b511[_0x48be('0x1')](_0x3555aa,{'commandName':_0x48be('0x8'),'commandParams':[{'type':_0x164e29[_0x48be('0x1a')]}],'formatGroupId':_0x48be('0x8')});});}[_0x48be('0x28')](_0x3af109,_0x8abc3d={}){const _0x5d5f4c=this[_0x48be('0x2e')][_0x48be('0x23')][_0x48be('0xd')](_0x48be('0x27')),_0x3008b0=this['editor']['plugins'][_0x48be('0xd')](_0x48be('0x1d')),_0xaf30c3=this[_0x48be('0x33')](_0x26df61=>_0x3008b0[_0x48be('0x13')](_0x26df61)&&_0x48be('0x16')===_0x26df61[_0x48be('0x26')](_0x48be('0xf')));null!==_0xaf30c3&&this[_0x48be('0x2e')][_0x48be('0x19')]['change'](()=>{_0x5d5f4c[_0x48be('0x1')](_0xaf30c3,{'commandName':_0x48be('0xa'),'commandParams':[{'reversed':_0x8abc3d[_0x48be('0x25')]}],'formatGroupId':_0x48be('0xa')});});}[_0x48be('0xe')](_0x5e95db,_0x5024e7={}){const _0x48c3a2=this[_0x48be('0x2e')][_0x48be('0x23')][_0x48be('0xd')]('TrackChangesEditing'),_0x4d27fd=this[_0x48be('0x2e')][_0x48be('0x23')][_0x48be('0xd')](_0x48be('0x1d')),_0x512213=this[_0x48be('0x33')](_0x2d0068=>_0x4d27fd['isListItemBlock'](_0x2d0068)&&_0x48be('0x16')===_0x2d0068[_0x48be('0x26')](_0x48be('0xf')));null!==_0x512213&&this[_0x48be('0x2e')][_0x48be('0x19')][_0x48be('0x6')](()=>{_0x48c3a2[_0x48be('0x1')](_0x512213,{'commandName':_0x48be('0x1e'),'commandParams':[{'startIndex':_0x5024e7['startIndex']}],'formatGroupId':_0x48be('0x1e')});});}[_0x48be('0x1b')](_0x1fa47e){const _0x12b510=this[_0x48be('0x2e')][_0x48be('0x2a')],{data:_0x5a3661}=_0x1fa47e;if(!_0x5a3661)return;let _0x351d95,_0xa5634e;switch(_0x5a3661[_0x48be('0x35')]){case _0x48be('0x8'):_0x351d95=_0x48be('0x14'),_0xa5634e={'type':_0x48be('0x3'),'content':_0x46114e(_0x12b510,_0x351d95,_0x46114e(_0x12b510,this[_0x48be('0x22')](_0x5a3661[_0x48be('0x2')][0x0][_0x48be('0x1a')])))};break;case _0x48be('0xa'):_0x351d95=_0x5a3661[_0x48be('0x2')][0x0][_0x48be('0x25')]?'*Format:*\x20set\x20order\x20to\x20reversed':_0x48be('0x15'),_0xa5634e={'type':'format','content':_0x46114e(_0x12b510,_0x351d95)};break;case _0x48be('0x1e'):_0x351d95=_0x48be('0x4'),_0xa5634e={'type':_0x48be('0x3'),'content':_0x46114e(_0x12b510,_0x351d95,_0x5a3661[_0x48be('0x2')][0x0][_0x48be('0x21')])};}return _0xa5634e;}[_0x48be('0xb')](){const _0x4f3ed2=this[_0x48be('0x2e')][_0x48be('0x23')]['get'](_0x48be('0x1d'));let _0x508268=Array[_0x48be('0x0')](this[_0x48be('0x2e')][_0x48be('0x19')][_0x48be('0x10')][_0x48be('0x30')][_0x48be('0x5')]());return _0x508268[_0x48be('0x32')](..._0x4f3ed2['expandListBlocksToCompleteList'](_0x508268)),_0x508268=[...new Set(_0x508268)],_0x508268;}['_getSuggestionBlocks'](_0x378404){const _0x2af13f=this[_0x48be('0x2e')][_0x48be('0x23')][_0x48be('0xd')](_0x48be('0x1d'));let _0x20e4d7=Array[_0x48be('0x0')](this[_0x48be('0x2e')][_0x48be('0x19')][_0x48be('0x10')][_0x48be('0x30')][_0x48be('0x5')]())[_0x48be('0xc')](_0x378404);if(!_0x20e4d7[_0x48be('0x2d')])return null;_0x20e4d7=_0x2af13f[_0x48be('0x2c')](_0x20e4d7);const _0x43cdf0=[];for(const _0x511fc2 of _0x20e4d7)_0x2af13f[_0x48be('0x9')](_0x511fc2)&&_0x43cdf0['push'](_0x511fc2);return _0x43cdf0;}[_0x48be('0x22')](_0x445249){return _0x48be('0x18')+this[_0x48be('0x2e')]['plugins'][_0x48be('0xd')](_0x48be('0x7'))[_0x48be('0x2b')](_0x445249)[_0x48be('0x20')]()+_0x48be('0x24')+_0x445249[_0x48be('0x20')]()[_0x48be('0x12')](/-/g,'_');}}
@@ -0,0 +1,11 @@
1
+ /**
2
+ * @module track-changes/integrations/entercommand
3
+ */
4
+ import { Plugin, type PluginDependencies } from 'ckeditor5/src/core';
5
+ /**
6
+ * Provides track changes plugin integration for {@link module:enter/entercommand~EnterCommand enter command}.
7
+ */
8
+ export default class TrackChangesEnterCommand extends Plugin {
9
+ static get requires(): PluginDependencies;
10
+ init(): void;
11
+ }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1cb8=['parent','init','end','editor','showSuggestionHighlights','split','editing','enter','downcastDispatcher','requires','markerNameToElements','get','plugins','markerName','addMarker:suggestion:insertion','detach','hasClass','model','document','data','afterExecute','remove','fromRange','mapper','getFirstPosition','enableCommand','getFirstRange','setSelection','high','createPositionAt','selection','createRange','ck-suggestion-marker-split','TrackChangesEditing','removeMarker:suggestion:insertion','change','commands'];(function(_0x4745ad,_0x1cb830){const _0x1b7ba2=function(_0x72a749){while(--_0x72a749){_0x4745ad['push'](_0x4745ad['shift']());}};_0x1b7ba2(++_0x1cb830);}(_0x1cb8,0x18f));const _0x1b7b=function(_0x4745ad,_0x1cb830){_0x4745ad=_0x4745ad-0x0;let _0x1b7ba2=_0x1cb8[_0x4745ad];return _0x1b7ba2;};import{Plugin as _0x43beb1}from'ckeditor5/src/core';import{Enter as _0x19d2b9}from'ckeditor5/src/enter';import{LiveRange as _0x2cf92e}from'ckeditor5/src/engine';import{downcastSplitMergeMarker as _0x27a8fb}from'./utils';export default class H extends _0x43beb1{static get[_0x1b7b('0x11')](){return[_0x19d2b9];}[_0x1b7b('0x9')](){const _0x5909a2=this[_0x1b7b('0xb')],_0x3a81a1=_0x5909a2[_0x1b7b('0x14')][_0x1b7b('0x13')](_0x1b7b('0x4')),_0x453d07=_0x5909a2[_0x1b7b('0x7')]['get'](_0x1b7b('0xf'));_0x3a81a1[_0x1b7b('0x21')](_0x1b7b('0xf'),()=>{_0x5909a2[_0x1b7b('0x19')][_0x1b7b('0x6')](_0x466d28=>{const _0xf092fc=_0x5909a2[_0x1b7b('0x19')][_0x1b7b('0x1a')][_0x1b7b('0x1')],_0x27a9a4=_0xf092fc[_0x1b7b('0x20')](),_0x2d94c4=_0x2cf92e[_0x1b7b('0x1e')](_0xf092fc[_0x1b7b('0x22')]());if(_0x453d07['enterBlock'](_0x466d28)){const _0x5dbd8a=_0x5909a2[_0x1b7b('0x19')][_0x1b7b('0x0')](_0x27a9a4[_0x1b7b('0x8')]['nextSibling'],0x0),_0x31a034=_0x466d28['createRange'](_0x27a9a4,_0x5dbd8a);_0x3a81a1['markInsertion'](_0x31a034);}else _0x466d28[_0x1b7b('0x23')](_0x466d28[_0x1b7b('0x2')](_0x2d94c4[_0x1b7b('0xa')]));_0x2d94c4[_0x1b7b('0x17')](),_0x453d07['fire'](_0x1b7b('0x1c'),{'writer':_0x466d28});});}),_0x5909a2[_0x1b7b('0xe')]['downcastDispatcher']['on'](_0x1b7b('0x16'),_0x27a8fb(_0x5909a2,_0x1b7b('0xd')),{'priority':'high'}),_0x5909a2[_0x1b7b('0xe')]['downcastDispatcher']['on'](_0x1b7b('0x5'),(_0x494317,_0x4098ee,_0xac2ee9)=>{const _0x160297=_0xac2ee9[_0x1b7b('0x1f')][_0x1b7b('0x12')](_0x4098ee['markerName']);if(_0x160297)for(const _0x1b8d1d of _0x160297)_0x1b8d1d[_0x1b7b('0x18')](_0x1b7b('0x3'))&&(_0xac2ee9[_0x1b7b('0x1f')]['unbindElementFromMarkerName'](_0x1b8d1d,_0x4098ee[_0x1b7b('0x15')]),_0xac2ee9['writer'][_0x1b7b('0x1d')](_0x1b8d1d));},{'priority':_0x1b7b('0x24')}),_0x5909a2[_0x1b7b('0x1b')][_0x1b7b('0x10')]['on'](_0x1b7b('0x16'),(_0x1ef8c0,_0x2de72e,_0xe2b88b)=>{_0xe2b88b['options'][_0x1b7b('0xc')]&&_0x27a8fb(_0x5909a2,_0x1b7b('0xd'),{'showActiveMarker':!0x1})(_0x1ef8c0,_0x2de72e,_0xe2b88b);},{'priority':_0x1b7b('0x24')});}}
23
+ const _0xb2fa=['hasClass','showSuggestionHighlights','editing','model','selection','markInsertion','enableCommand','commands','markerName','writer','nextSibling','getFirstRange','getFirstPosition','enter','removeMarker:suggestion:insertion','enterBlock','plugins','markerNameToElements','end','remove','detach','options','mapper','setSelection','fire','addMarker:suggestion:insertion','high','init','fromRange','data','ck-suggestion-marker-split','get','createRange'];(function(_0x142bc8,_0xb2fa6b){const _0x5342f2=function(_0x595e97){while(--_0x595e97){_0x142bc8['push'](_0x142bc8['shift']());}};_0x5342f2(++_0xb2fa6b);}(_0xb2fa,0x69));const _0x5342=function(_0x142bc8,_0xb2fa6b){_0x142bc8=_0x142bc8-0x0;let _0x5342f2=_0xb2fa[_0x142bc8];return _0x5342f2;};import{Plugin as _0x2ada1c}from'ckeditor5/src/core';import{Enter as _0x35032d}from'ckeditor5/src/enter';import{LiveRange as _0x47b30e}from'ckeditor5/src/engine';import{downcastSplitMergeMarker as _0x2942fb}from'./utils';export default class q extends _0x2ada1c{static get['requires'](){return[_0x35032d];}[_0x5342('0x15')](){const _0x41e89d=this['editor'],_0x3b5f22=_0x41e89d[_0x5342('0xa')]['get']('TrackChangesEditing'),_0x53ab53=_0x41e89d[_0x5342('0x1')][_0x5342('0x19')](_0x5342('0x7'));_0x3b5f22[_0x5342('0x0')]('enter',()=>{_0x41e89d['model']['change'](_0x10971d=>{const _0x4088ec=_0x41e89d[_0x5342('0x1e')]['document'][_0x5342('0x1f')],_0x4f9f45=_0x4088ec[_0x5342('0x6')](),_0x3f120f=_0x47b30e[_0x5342('0x16')](_0x4088ec[_0x5342('0x5')]());if(_0x53ab53[_0x5342('0x9')](_0x10971d)){const _0x3d686f=_0x41e89d[_0x5342('0x1e')]['createPositionAt'](_0x4f9f45['parent'][_0x5342('0x4')],0x0),_0x38c7e0=_0x10971d[_0x5342('0x1a')](_0x4f9f45,_0x3d686f);_0x3b5f22[_0x5342('0x20')](_0x38c7e0);}else _0x10971d[_0x5342('0x11')](_0x10971d[_0x5342('0x1a')](_0x3f120f[_0x5342('0xc')]));_0x3f120f[_0x5342('0xe')](),_0x53ab53[_0x5342('0x12')]('afterExecute',{'writer':_0x10971d});});}),_0x41e89d[_0x5342('0x1d')]['downcastDispatcher']['on'](_0x5342('0x13'),_0x2942fb(_0x41e89d,'split'),{'priority':_0x5342('0x14')}),_0x41e89d['editing']['downcastDispatcher']['on'](_0x5342('0x8'),(_0x2621d4,_0x501ac3,_0x59f45f)=>{const _0x1cc2e5=_0x59f45f[_0x5342('0x10')][_0x5342('0xb')](_0x501ac3[_0x5342('0x2')]);if(_0x1cc2e5)for(const _0xd51e18 of _0x1cc2e5)_0xd51e18[_0x5342('0x1b')](_0x5342('0x18'))&&(_0x59f45f['mapper']['unbindElementFromMarkerName'](_0xd51e18,_0x501ac3[_0x5342('0x2')]),_0x59f45f[_0x5342('0x3')][_0x5342('0xd')](_0xd51e18));},{'priority':_0x5342('0x14')}),_0x41e89d[_0x5342('0x17')]['downcastDispatcher']['on'](_0x5342('0x13'),(_0xc87fce,_0x380815,_0x115ad1)=>{_0x115ad1[_0x5342('0xf')][_0x5342('0x1c')]&&_0x2942fb(_0x41e89d,'split',{'showActiveMarker':!0x1})['bind'](this)(_0xc87fce,_0x380815,_0x115ad1);},{'priority':_0x5342('0x14')});}}
@@ -0,0 +1,17 @@
1
+ /**
2
+ * @module track-changes/integrations/findandreplace
3
+ */
4
+ import { Plugin } from 'ckeditor5/src/core';
5
+ /**
6
+ * Provides track changes plugin integration for find and replace feature.
7
+ */
8
+ export default class TrackChangesFindAndReplace extends Plugin {
9
+ /**
10
+ * @inheritDoc
11
+ */
12
+ afterInit(): void;
13
+ handleFindCommand(executeCommand: Function, callbackOrText: Function | string, options?: {
14
+ matchCase?: boolean;
15
+ wholeWords?: boolean;
16
+ }): void;
17
+ }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x813f=['editor','replace','createPositionAt','find','start','FindAndReplaceEditing','enableCommand','end','get','getRange','suggestion:deletion','has','plugins','item','handleFindCommand','getIntersection','string','model','findByTextCallback','_isInDeletionRange','findPrevious','replaceAll','filter','findNext','TrackChangesEditing'];(function(_0x496a19,_0x813fa0){const _0x3a5277=function(_0x52305c){while(--_0x52305c){_0x496a19['push'](_0x496a19['shift']());}};_0x3a5277(++_0x813fa0);}(_0x813f,0x198));const _0x3a52=function(_0x496a19,_0x813fa0){_0x496a19=_0x496a19-0x0;let _0x3a5277=_0x813f[_0x496a19];return _0x3a5277;};import{Plugin as _0x585ac8}from'ckeditor5/src/core';export default class W extends _0x585ac8{['afterInit'](){if(!this[_0x3a52('0x11')][_0x3a52('0x4')][_0x3a52('0x3')](_0x3a52('0x16')))return;const _0x3109c1=this[_0x3a52('0x11')]['plugins'][_0x3a52('0x0')](_0x3a52('0x10'));_0x3109c1[_0x3a52('0x17')](_0x3a52('0x14'),this[_0x3a52('0x6')]['bind'](this)),_0x3109c1[_0x3a52('0x17')](_0x3a52('0xf')),_0x3109c1[_0x3a52('0x17')](_0x3a52('0xc')),_0x3109c1[_0x3a52('0x17')](_0x3a52('0x12')),_0x3109c1[_0x3a52('0x17')](_0x3a52('0xd'));}['handleFindCommand'](_0x17269d,_0x67dc46,_0x218ced){const _0x3c3428=this[_0x3a52('0x11')][_0x3a52('0x4')][_0x3a52('0x0')]('FindAndReplaceUtils');void 0x0!==_0x218ced&&_0x17269d(_0x169038=>(_0x3a52('0x8')==typeof _0x67dc46?_0x3c3428[_0x3a52('0xa')](_0x67dc46,_0x218ced):_0x67dc46)(_0x169038)[_0x3a52('0xe')](_0x197ebd=>!0x1===this[_0x3a52('0xb')](_0x197ebd,_0x169038[_0x3a52('0x5')])),_0x218ced);}[_0x3a52('0xb')](_0x38a03e,_0x4dcec7){const _0x2cb340=this[_0x3a52('0x11')][_0x3a52('0x9')]['createRange'](this[_0x3a52('0x11')][_0x3a52('0x9')][_0x3a52('0x13')](_0x4dcec7,_0x38a03e[_0x3a52('0x15')]),this[_0x3a52('0x11')][_0x3a52('0x9')][_0x3a52('0x13')](_0x4dcec7,_0x38a03e[_0x3a52('0x18')]));for(const _0x5d7c68 of this['editor'][_0x3a52('0x9')]['markers']['getMarkersGroup'](_0x3a52('0x2')))if(null!==_0x2cb340[_0x3a52('0x7')](_0x5d7c68[_0x3a52('0x1')]()))return!0x0;return!0x1;}}
23
+ const _0x3c93=['start','afterInit','findByTextCallback','find','replace','model','enableCommand','TrackChangesEditing','FindAndReplaceUtils','item','findNext','suggestion:deletion','editor','getMarkersGroup','bind','handleFindCommand','string','has','get','plugins','getIntersection','_isInDeletionRange','markers','findPrevious','createRange','createPositionAt','end','getRange'];(function(_0x4f5baf,_0x3c9336){const _0x26db2c=function(_0x508669){while(--_0x508669){_0x4f5baf['push'](_0x4f5baf['shift']());}};_0x26db2c(++_0x3c9336);}(_0x3c93,0x1b1));const _0x26db=function(_0x4f5baf,_0x3c9336){_0x4f5baf=_0x4f5baf-0x0;let _0x26db2c=_0x3c93[_0x4f5baf];return _0x26db2c;};import{Plugin as _0x5babcd}from'ckeditor5/src/core';export default class z extends _0x5babcd{[_0x26db('0x10')](){if(!this[_0x26db('0x1b')][_0x26db('0x6')][_0x26db('0x4')]('FindAndReplaceEditing'))return;const _0x520146=this[_0x26db('0x1b')][_0x26db('0x6')][_0x26db('0x5')](_0x26db('0x16'));_0x520146[_0x26db('0x15')](_0x26db('0x12'),this[_0x26db('0x2')][_0x26db('0x1')](this)),_0x520146[_0x26db('0x15')](_0x26db('0x19')),_0x520146['enableCommand'](_0x26db('0xa')),_0x520146[_0x26db('0x15')](_0x26db('0x13')),_0x520146[_0x26db('0x15')]('replaceAll');}[_0x26db('0x2')](_0xb9b61d,_0x3c43e9,_0x466103={}){const _0x54778c=this[_0x26db('0x1b')][_0x26db('0x6')][_0x26db('0x5')](_0x26db('0x17'));void 0x0!==_0x466103&&_0xb9b61d(_0x31000b=>(_0x26db('0x3')==typeof _0x3c43e9?_0x54778c[_0x26db('0x11')](_0x3c43e9,_0x466103):_0x3c43e9)(_0x31000b)['filter'](_0x55087f=>!0x1===this['_isInDeletionRange'](_0x55087f,_0x31000b[_0x26db('0x18')])),_0x466103);}[_0x26db('0x8')](_0x130b00,_0x24aba4){const _0x342802=this[_0x26db('0x1b')][_0x26db('0x14')][_0x26db('0xb')](this[_0x26db('0x1b')][_0x26db('0x14')][_0x26db('0xc')](_0x24aba4,_0x130b00[_0x26db('0xf')]),this[_0x26db('0x1b')][_0x26db('0x14')][_0x26db('0xc')](_0x24aba4,_0x130b00[_0x26db('0xd')]));for(const _0x3c1074 of this[_0x26db('0x1b')][_0x26db('0x14')][_0x26db('0x9')][_0x26db('0x0')](_0x26db('0x1a')))if(null!==_0x342802[_0x26db('0x7')](_0x3c1074[_0x26db('0xe')]()))return!0x0;return!0x1;}}
@@ -0,0 +1,13 @@
1
+ /**
2
+ * @module track-changes/integrations/font
3
+ */
4
+ import { Plugin } from 'ckeditor5/src/core';
5
+ /**
6
+ * Provides track changes plugin integration for font features.
7
+ */
8
+ export default class TrackChangesFont extends Plugin {
9
+ /**
10
+ * @inheritDoc
11
+ */
12
+ afterInit(): void;
13
+ }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1658=['*Set\x20font\x20family:*\x20%0','markInlineFormat','toLowerCase','FontBackgroundColorEditing','commandParams','fontSize.options','model','fontBackgroundColor','get','*Reset\x20font\x20background\x20color*','value','afterInit','FontSizeEditing','selection','normalizeSizeOptions','plugins','fontColor.colors','*Set\x20font\x20background\x20color:*\x20%0','_descriptionFactory','editor','trim','fontColor','TrackChangesEditing','from','FontFamilyEditing','config','title','label','format','document','fontFamily','locale','find','_enableCommand','fontSize','commandName','enableCommand','FontColorEditing','getRanges','fontBackgroundColor.colors','change','FontSize','*Set\x20font\x20color:*\x20%0','has','*Set\x20font\x20size:*\x20%0','*Reset\x20font\x20color*'];(function(_0x4713e9,_0x165807){const _0x5611c7=function(_0x12cf77){while(--_0x12cf77){_0x4713e9['push'](_0x4713e9['shift']());}};_0x5611c7(++_0x165807);}(_0x1658,0x18e));const _0x5611=function(_0x4713e9,_0x165807){_0x4713e9=_0x4713e9-0x0;let _0x5611c7=_0x1658[_0x4713e9];return _0x5611c7;};import{Plugin as _0x4ea978}from'ckeditor5/src/core';import{normalizeColorOptions as _0x1da3db}from'ckeditor5/src/ui';import{getRangesWithAttribute as _0xd44fa9}from'./utils';import{getTranslation as _0x3186d6}from'../utils/common-translations';const Yt=[{'pluginName':_0x5611('0x1c'),'commandName':_0x5611('0x4')},{'pluginName':_0x5611('0x28'),'commandName':_0x5611('0x0')},{'pluginName':_0x5611('0x7'),'commandName':_0x5611('0x25')},{'pluginName':_0x5611('0x13'),'commandName':_0x5611('0x17')}];export default class J extends _0x4ea978{[_0x5611('0x1b')](){const _0x1df83f=this[_0x5611('0x23')][_0x5611('0x1')];for(const {pluginName:_0xeeedf7,commandName:_0x58f90d}of Yt)this[_0x5611('0x23')][_0x5611('0x1f')][_0x5611('0xd')](_0xeeedf7)&&this[_0x5611('0x3')](_0x58f90d);this[_0x5611('0x23')][_0x5611('0x1f')][_0x5611('0x18')]('TrackChangesEditing')[_0x5611('0x22')]['registerDescriptionCallback'](_0xf0552b=>{const {data:_0x7da672}=_0xf0552b;if(null!=_0x7da672){if(_0x5611('0x4')==_0x7da672['commandName']){const _0xc18323=_0x7da672['commandParams'][0x0][_0x5611('0x1a')];if(_0xc18323){const _0x336ec0=this[_0x5611('0x23')][_0x5611('0x1f')][_0x5611('0x18')](_0x5611('0xb'))[_0x5611('0x1e')](this[_0x5611('0x23')][_0x5611('0x29')]['get'](_0x5611('0x15')))[_0x5611('0x2')](_0x2f8ecf=>_0x2f8ecf['model']==_0xc18323)[_0x5611('0x2a')],_0x193245=this[_0x5611('0x23')][_0x5611('0x1')]['_t'](_0x336ec0)[_0x5611('0x12')]();return{'type':_0x5611('0x2c'),'content':_0x3186d6(_0x1df83f,_0x5611('0xe'),_0x193245)};}return{'type':_0x5611('0x2c'),'content':_0x3186d6(_0x1df83f,'*Reset\x20font\x20size*')};}if(_0x5611('0x0')==_0x7da672[_0x5611('0x5')]){const _0x570998=_0x7da672[_0x5611('0x14')][0x0][_0x5611('0x1a')];return _0x570998?{'type':_0x5611('0x2c'),'content':_0x3186d6(_0x1df83f,_0x5611('0x10'),_0x570998)}:{'type':_0x5611('0x2c'),'content':_0x3186d6(_0x1df83f,'*Reset\x20font\x20family*')};}if(_0x5611('0x25')==_0x7da672['commandName']){const _0x1741f0=_0x7da672[_0x5611('0x14')][0x0][_0x5611('0x1a')];if(_0x1741f0){const _0x3af18a=_0x1da3db(this[_0x5611('0x23')][_0x5611('0x29')][_0x5611('0x18')](_0x5611('0x20')))[_0x5611('0x2')](_0x414341=>_0x414341['model']==_0x1741f0);let _0x5101ff=_0x1741f0,_0x6b64be='';return _0x3af18a&&(_0x5101ff=_0x3af18a[_0x5611('0x2b')],_0x6b64be=_0x1df83f['_t'](_0x5101ff)['toLowerCase']()),{'type':_0x5611('0x2c'),'content':_0x3186d6(_0x1df83f,_0x5611('0xc'),_0x6b64be)['trim'](),'color':{'value':_0x1741f0,'title':_0x6b64be||_0x5101ff}};}return{'type':'format','content':_0x3186d6(_0x1df83f,_0x5611('0xf'))};}if(_0x5611('0x17')==_0x7da672[_0x5611('0x5')]){const _0x41e637=_0x7da672[_0x5611('0x14')][0x0]['value'];if(_0x41e637){const _0x28f17d=_0x1da3db(this[_0x5611('0x23')][_0x5611('0x29')][_0x5611('0x18')](_0x5611('0x9')))[_0x5611('0x2')](_0x37852c=>_0x37852c[_0x5611('0x16')]==_0x41e637);let _0x36fcbc=_0x41e637,_0xeb17e0='';return _0x28f17d&&(_0x36fcbc=_0x28f17d['label'],_0xeb17e0=_0x1df83f['_t'](_0x36fcbc)[_0x5611('0x12')]()),{'type':'format','content':_0x3186d6(_0x1df83f,_0x5611('0x21'),_0xeb17e0)[_0x5611('0x24')](),'color':{'value':_0x41e637,'title':_0xeb17e0||_0x36fcbc}};}return{'type':_0x5611('0x2c'),'content':_0x3186d6(_0x1df83f,_0x5611('0x19'))};}}});}[_0x5611('0x3')](_0xddd01c){const _0x2a641d=this[_0x5611('0x23')];_0x2a641d[_0x5611('0x1f')][_0x5611('0x18')](_0x5611('0x26'))[_0x5611('0x6')](_0xddd01c,(_0x519184,_0x398a2d={})=>{const _0x55c4ed=_0x2a641d['model'][_0x5611('0x2d')][_0x5611('0x1d')],_0x11a547=_0x398a2d['value'];_0x55c4ed['isCollapsed']?_0x519184(_0x398a2d):_0x2a641d[_0x5611('0x16')][_0x5611('0xa')](()=>{const _0x47e3c8=Array[_0x5611('0x27')](_0x55c4ed[_0x5611('0x8')]());for(const _0x5ab86f of _0x47e3c8){const _0xeb6839=_0x11a547?[_0x5ab86f]:_0xd44fa9(_0xddd01c,_0x5ab86f,_0x2a641d[_0x5611('0x16')]);for(const _0x3fe76e of _0xeb6839)_0x2a641d['plugins'][_0x5611('0x18')](_0x5611('0x26'))[_0x5611('0x11')](_0x3fe76e,{'commandName':_0xddd01c,'commandParams':[{'value':_0x11a547}]});}});});}}
23
+ const _0x8375=['getRanges','*Reset\x20font\x20color*','toLowerCase','afterInit','*Set\x20font\x20size:*\x20%0','fontFamily','trim','format','fontSize.options','config','get','model','FontBackgroundColorEditing','fontBackgroundColor','*Set\x20font\x20family:*\x20%0','FontSizeEditing','editor','FontFamilyEditing','fontSize','from','locale','registerDescriptionCallback','find','fontColor.colors','commandParams','plugins','TrackChangesEditing','markInlineFormat','FontColorEditing','selection','commandName','label','change','value','title','_enableCommand','*Reset\x20font\x20size*','FontSize','*Set\x20font\x20background\x20color:*\x20%0','_descriptionFactory','document','*Reset\x20font\x20family*','fontBackgroundColor.colors'];(function(_0x3236aa,_0x837510){const _0x234d71=function(_0x447a17){while(--_0x447a17){_0x3236aa['push'](_0x3236aa['shift']());}};_0x234d71(++_0x837510);}(_0x8375,0x137));const _0x234d=function(_0x3236aa,_0x837510){_0x3236aa=_0x3236aa-0x0;let _0x234d71=_0x8375[_0x3236aa];return _0x234d71;};import{Plugin as _0x411ed5}from'ckeditor5/src/core';import{normalizeColorOptions as _0x1bd4d0}from'ckeditor5/src/ui';import{getRangesWithAttribute as _0x2ed2ac}from'./utils';import{getTranslation as _0x54def9}from'../utils/common-translations';const Jt=[{'pluginName':_0x234d('0x5'),'commandName':_0x234d('0x8')},{'pluginName':_0x234d('0x7'),'commandName':_0x234d('0x26')},{'pluginName':_0x234d('0x12'),'commandName':'fontColor'},{'pluginName':_0x234d('0x2'),'commandName':_0x234d('0x3')}];export default class H extends _0x411ed5{[_0x234d('0x24')](){const _0x360084=this[_0x234d('0x6')][_0x234d('0xa')];for(const {pluginName:_0x43ae6f,commandName:_0x2ea4e0}of Jt)this[_0x234d('0x6')][_0x234d('0xf')]['has'](_0x43ae6f)&&this[_0x234d('0x19')](_0x2ea4e0);this[_0x234d('0x6')][_0x234d('0xf')][_0x234d('0x0')](_0x234d('0x10'))[_0x234d('0x1d')][_0x234d('0xb')](_0x54639f=>{const _0x5bbe29=_0x360084['t'],{data:_0x228c50}=_0x54639f;if(null!=_0x228c50){if(_0x234d('0x8')==_0x228c50[_0x234d('0x14')]){const _0x2ce6f7=_0x228c50[_0x234d('0xe')][0x0][_0x234d('0x17')];if(_0x2ce6f7){const _0x33bf2e=_0x5bbe29(this[_0x234d('0x6')][_0x234d('0xf')]['get'](_0x234d('0x1b'))['normalizeSizeOptions'](this[_0x234d('0x6')][_0x234d('0x2a')]['get'](_0x234d('0x29')))[_0x234d('0xc')](_0x29b29f=>_0x29b29f[_0x234d('0x1')]==_0x2ce6f7)[_0x234d('0x18')])[_0x234d('0x23')]();return{'type':_0x234d('0x28'),'content':_0x54def9(_0x360084,_0x234d('0x25'),_0x33bf2e)};}return{'type':_0x234d('0x28'),'content':_0x54def9(_0x360084,_0x234d('0x1a'))};}if(_0x234d('0x26')==_0x228c50[_0x234d('0x14')]){const _0x564d87=_0x228c50[_0x234d('0xe')][0x0][_0x234d('0x17')];return _0x564d87?{'type':_0x234d('0x28'),'content':_0x54def9(_0x360084,_0x234d('0x4'),_0x564d87)}:{'type':_0x234d('0x28'),'content':_0x54def9(_0x360084,_0x234d('0x1f'))};}if('fontColor'==_0x228c50[_0x234d('0x14')]){const _0x4cf8bb=_0x228c50[_0x234d('0xe')][0x0][_0x234d('0x17')];if(_0x4cf8bb){const _0x1f2461=_0x1bd4d0(this['editor'][_0x234d('0x2a')][_0x234d('0x0')](_0x234d('0xd')))[_0x234d('0xc')](_0x54bc26=>_0x54bc26[_0x234d('0x1')]==_0x4cf8bb);let _0x44c418=_0x4cf8bb,_0x37b697='';return _0x1f2461&&(_0x44c418=_0x1f2461[_0x234d('0x15')],_0x37b697=_0x5bbe29(_0x44c418)['toLowerCase']()),{'type':'format','content':_0x54def9(_0x360084,'*Set\x20font\x20color:*\x20%0',_0x37b697)[_0x234d('0x27')](),'color':{'value':_0x4cf8bb,'title':_0x37b697||_0x44c418}};}return{'type':_0x234d('0x28'),'content':_0x54def9(_0x360084,_0x234d('0x22'))};}if(_0x234d('0x3')==_0x228c50[_0x234d('0x14')]){const _0x5729dc=_0x228c50['commandParams'][0x0]['value'];if(_0x5729dc){const _0x507150=_0x1bd4d0(this[_0x234d('0x6')][_0x234d('0x2a')][_0x234d('0x0')](_0x234d('0x20')))[_0x234d('0xc')](_0x6bbbbb=>_0x6bbbbb[_0x234d('0x1')]==_0x5729dc);let _0x5a282e=_0x5729dc,_0x13dd6d='';return _0x507150&&(_0x5a282e=_0x507150[_0x234d('0x15')],_0x13dd6d=_0x5bbe29(_0x5a282e)[_0x234d('0x23')]()),{'type':_0x234d('0x28'),'content':_0x54def9(_0x360084,_0x234d('0x1c'),_0x13dd6d)[_0x234d('0x27')](),'color':{'value':_0x5729dc,'title':_0x13dd6d||_0x5a282e}};}return{'type':_0x234d('0x28'),'content':_0x54def9(_0x360084,'*Reset\x20font\x20background\x20color*')};}}});}[_0x234d('0x19')](_0x1d3cf6){const _0x1fcd3e=this[_0x234d('0x6')];_0x1fcd3e[_0x234d('0xf')][_0x234d('0x0')](_0x234d('0x10'))['enableCommand'](_0x1d3cf6,(_0x4a26f3,_0x58e183={})=>{const _0x463681=_0x1fcd3e[_0x234d('0x1')][_0x234d('0x1e')][_0x234d('0x13')],_0x3301de=_0x58e183[_0x234d('0x17')];_0x463681['isCollapsed']?_0x4a26f3(_0x58e183):_0x1fcd3e[_0x234d('0x1')][_0x234d('0x16')](()=>{const _0x332059=Array[_0x234d('0x9')](_0x463681[_0x234d('0x21')]());for(const _0x419e21 of _0x332059){const _0x1dc825=_0x3301de?[_0x419e21]:_0x2ed2ac(_0x1d3cf6,_0x419e21,_0x1fcd3e[_0x234d('0x1')]);for(const _0x360c84 of _0x1dc825)_0x1fcd3e['plugins'][_0x234d('0x0')](_0x234d('0x10'))[_0x234d('0x11')](_0x360c84,{'commandName':_0x1d3cf6,'commandParams':[{'value':_0x3301de}]});}});});}}
@@ -0,0 +1,13 @@
1
+ /**
2
+ * @module track-changes/integrations/heading
3
+ */
4
+ import { Plugin } from 'ckeditor5/src/core';
5
+ /**
6
+ * Provides track changes plugin integration for heading feature.
7
+ */
8
+ export default class TrackChangesHeading extends Plugin {
9
+ /**
10
+ * @inheritDoc
11
+ */
12
+ afterInit(): void;
13
+ }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4f67=['match','registerElementLabel','heading','_descriptionFactory','afterInit','commandParams','from','HeadingEditing','schema','heading.options','enableCommand','ELEMENT_HEADING','ELEMENT_HEADING_CUSTOM','paragraph','registerDescriptionCallback','*Change\x20to:*\x20%0','model','format','selection','config','parent','editor','markBlockFormat','change','document','get','find','name','title','value'];(function(_0x5da0a6,_0x4f67f7){const _0x308eef=function(_0x3e9092){while(--_0x3e9092){_0x5da0a6['push'](_0x5da0a6['shift']());}};_0x308eef(++_0x4f67f7);}(_0x4f67,0x1ed));const _0x308e=function(_0x5da0a6,_0x4f67f7){_0x5da0a6=_0x5da0a6-0x0;let _0x308eef=_0x4f67[_0x5da0a6];return _0x308eef;};import{Plugin as _0x444fc0}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0xb5750e}from'./utils';import{getTranslation as _0x2838ec}from'../utils/common-translations';export default class K extends _0x444fc0{[_0x308e('0x15')](){const _0x546698=this['editor'],_0x1eb0b2=_0x546698['locale'],_0x215cd5=_0x546698[_0x308e('0x6')][_0x308e('0xc')](_0x308e('0x1a'));if(!_0x546698['plugins']['has'](_0x308e('0x18')))return;const _0x34e66d=_0x546698['plugins']['get']('TrackChangesEditing');_0x34e66d[_0x308e('0x1b')](_0x308e('0x13'),(_0x25d813,_0x1a2e9a)=>{const _0x48f81d=_0x1a2e9a[_0x308e('0x10')],_0x1621ba=Array[_0x308e('0x17')](this[_0x308e('0x8')][_0x308e('0x3')][_0x308e('0xb')][_0x308e('0x5')]['getSelectedBlocks']())['filter'](_0x74d8d0=>function(_0x586a59,_0x5c2b3e,_0x39ce8f){return _0x39ce8f['checkChild'](_0x586a59[_0x308e('0x7')],_0x5c2b3e)&&!_0x39ce8f['isObject'](_0x586a59)&&_0x586a59[_0x308e('0xe')]!=_0x5c2b3e;}(_0x74d8d0,_0x48f81d,this[_0x308e('0x8')][_0x308e('0x3')][_0x308e('0x19')]));_0x546698['model'][_0x308e('0xa')](()=>{for(const _0x2c19e8 of _0x1621ba)_0x34e66d[_0x308e('0x9')](_0x2c19e8,{'commandName':'heading','commandParams':[_0x1a2e9a],'formatGroupId':'blockName'},_0xb5750e(_0x2c19e8));});});for(const _0x3e70ae of _0x215cd5)_0x308e('0x0')!=_0x3e70ae[_0x308e('0x3')]&&_0x34e66d[_0x308e('0x14')][_0x308e('0x12')](_0x3e70ae['model'],_0x252e28=>{const _0x35d811=tn(_0x3e70ae[_0x308e('0x3')]);return null!==_0x35d811?_0x2b7730(_0x252e28,_0x35d811):_0x45ddda(_0x252e28,_0x3e70ae['title']);});function _0x2b7730(_0x1173e9,_0x2b4d58){return _0x2838ec(_0x1eb0b2,_0x308e('0x1c'),[_0x1173e9,_0x2b4d58]);}function _0x45ddda(_0x4b1dc8,_0x4bc409){return _0x2838ec(_0x1eb0b2,_0x308e('0x1d'),[_0x4b1dc8,_0x4bc409]);}_0x34e66d[_0x308e('0x14')][_0x308e('0x1')](_0x533505=>{const {type:_0x2a59b2,data:_0x4df2f0}=_0x533505;if('formatBlock'==_0x2a59b2&&_0x4df2f0&&_0x308e('0x13')==_0x4df2f0['commandName']){const _0xe0590c=_0x4df2f0[_0x308e('0x16')][0x0][_0x308e('0x10')],_0x11fb1b=tn(_0xe0590c);if(null!==_0x11fb1b)return{'type':_0x308e('0x4'),'content':_0x2838ec(_0x1eb0b2,_0x308e('0x2'),_0x2b7730(0x1,_0x11fb1b))};const _0x2e23a5=_0x215cd5[_0x308e('0xd')](_0x2d3a04=>_0x2d3a04[_0x308e('0x3')]===_0xe0590c)[_0x308e('0xf')];return{'type':_0x308e('0x4'),'content':_0x2838ec(_0x1eb0b2,'*Change\x20to:*\x20%0',_0x45ddda(0x1,_0x2e23a5))};}});}}function tn(_0x416cca){const _0x34335a=_0x416cca[_0x308e('0x11')](/^heading(\d+)$/);return _0x34335a?_0x34335a[0x1]:null;}
23
+ const _0x1c11=['ELEMENT_HEADING_CUSTOM','_descriptionFactory','markBlockFormat','*Change\x20to:*\x20%0','editor','get','change','afterInit','selection','isObject','heading','has','TrackChangesEditing','registerElementLabel','schema','registerDescriptionCallback','format','heading.options','document','ELEMENT_HEADING','formatBlock','blockName','find','locale','config','commandName','filter','title','from','paragraph','value','name','model','match','commandParams','HeadingEditing','checkChild'];(function(_0x5a6175,_0x1c1117){const _0x4c07c5=function(_0x490e4f){while(--_0x490e4f){_0x5a6175['push'](_0x5a6175['shift']());}};_0x4c07c5(++_0x1c1117);}(_0x1c11,0x1e0));const _0x4c07=function(_0x5a6175,_0x1c1117){_0x5a6175=_0x5a6175-0x0;let _0x4c07c5=_0x1c11[_0x5a6175];return _0x4c07c5;};import{Plugin as _0x2f41af}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x4bd62a}from'./utils';import{getTranslation as _0x596710}from'../utils/common-translations';export default class W extends _0x2f41af{[_0x4c07('0x8')](){const _0x289e5f=this[_0x4c07('0x5')],_0x3628c4=_0x289e5f[_0x4c07('0x18')],_0x195b56=_0x289e5f[_0x4c07('0x19')][_0x4c07('0x6')](_0x4c07('0x12'));if(!_0x289e5f['plugins'][_0x4c07('0xc')](_0x4c07('0x24')))return;const _0x1b3439=_0x289e5f['plugins']['get'](_0x4c07('0xd'));_0x1b3439['enableCommand'](_0x4c07('0xb'),(_0xd47a94,_0x425b20)=>{const _0x4ed014=_0x425b20[_0x4c07('0x1f')],_0xf63446=Array[_0x4c07('0x1d')](this['editor'][_0x4c07('0x21')][_0x4c07('0x13')][_0x4c07('0x9')]['getSelectedBlocks']())[_0x4c07('0x1b')](_0x5053f0=>function(_0x8da213,_0x2704f9,_0x33bed0){return _0x33bed0[_0x4c07('0x0')](_0x8da213['parent'],_0x2704f9)&&!_0x33bed0[_0x4c07('0xa')](_0x8da213)&&_0x8da213[_0x4c07('0x20')]!=_0x2704f9;}(_0x5053f0,_0x4ed014,this[_0x4c07('0x5')][_0x4c07('0x21')][_0x4c07('0xf')]));_0x289e5f[_0x4c07('0x21')][_0x4c07('0x7')](()=>{for(const _0x580112 of _0xf63446)_0x1b3439[_0x4c07('0x3')](_0x580112,{'commandName':_0x4c07('0xb'),'commandParams':[_0x425b20],'formatGroupId':_0x4c07('0x16')},_0x4bd62a(_0x580112));});});for(const _0x1dcf44 of _0x195b56)_0x4c07('0x1e')!=_0x1dcf44[_0x4c07('0x21')]&&_0x1b3439['_descriptionFactory'][_0x4c07('0xe')](_0x1dcf44[_0x4c07('0x21')],_0x50b3f8=>{const _0x3770bd=Yt(_0x1dcf44[_0x4c07('0x21')]);return null!==_0x3770bd?_0x57c0e2(_0x50b3f8,_0x3770bd):_0x329199(_0x50b3f8,_0x1dcf44[_0x4c07('0x1c')]);});function _0x57c0e2(_0x5bca01,_0x484f94){return _0x596710(_0x3628c4,_0x4c07('0x14'),[_0x5bca01,_0x484f94]);}function _0x329199(_0x10375d,_0x3c4cdc){return _0x596710(_0x3628c4,_0x4c07('0x1'),[_0x10375d,_0x3c4cdc]);}_0x1b3439[_0x4c07('0x2')][_0x4c07('0x10')](_0x130527=>{const {type:_0x59f48b,data:_0x14c8f1}=_0x130527;if(_0x4c07('0x15')==_0x59f48b&&_0x14c8f1&&_0x4c07('0xb')==_0x14c8f1[_0x4c07('0x1a')]){const _0x20ee49=_0x14c8f1[_0x4c07('0x23')][0x0][_0x4c07('0x1f')],_0x209359=Yt(_0x20ee49);if(null!==_0x209359)return{'type':_0x4c07('0x11'),'content':_0x596710(_0x3628c4,'*Change\x20to:*\x20%0',_0x57c0e2(0x1,_0x209359))};const _0x296e3c=_0x195b56[_0x4c07('0x17')](_0x3fb196=>_0x3fb196[_0x4c07('0x21')]===_0x20ee49)[_0x4c07('0x1c')];return{'type':_0x4c07('0x11'),'content':_0x596710(_0x3628c4,_0x4c07('0x4'),_0x329199(0x1,_0x296e3c))};}});}}function Yt(_0x503d83){const _0x5437e9=_0x503d83[_0x4c07('0x22')](/^heading(\d+)$/);return _0x5437e9?_0x5437e9[0x1]:null;}
@@ -0,0 +1,13 @@
1
+ /**
2
+ * @module track-changes/integrations/highlight
3
+ */
4
+ import { Plugin } from 'ckeditor5/src/core';
5
+ /**
6
+ * Provides track changes plugin integration for highlight feature.
7
+ */
8
+ export default class TrackChangesHighlight extends Plugin {
9
+ /**
10
+ * @inheritDoc
11
+ */
12
+ afterInit(): void;
13
+ }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1531=['document','getLastMatchingPosition','selection','formatInline','has','registerDescriptionCallback','*Remove\x20highlight*','*Set\x20highlight:*\x20%0','change','model','_descriptionFactory','getAttribute','color','toLowerCase','locale','find','config','enableCommand','editor','afterInit','FORMAT_HIGHLIGHT','HighlightEditing','createRange','push','plugins','commandName','get','format','getRanges','TrackChangesEditing','highlight','highlight.options','title','value','isCollapsed'];(function(_0x2fb0e1,_0x1531cc){const _0x1b3496=function(_0x18dc1d){while(--_0x18dc1d){_0x2fb0e1['push'](_0x2fb0e1['shift']());}};_0x1b3496(++_0x1531cc);}(_0x1531,0x12c));const _0x1b34=function(_0x2fb0e1,_0x1531cc){_0x2fb0e1=_0x2fb0e1-0x0;let _0x1b3496=_0x1531[_0x2fb0e1];return _0x1b3496;};import{Plugin as _0x2580a5}from'ckeditor5/src/core';import{getTranslation as _0x4ba7cc}from'../utils/common-translations';import{getRangesWithAttribute as _0x835acf}from'./utils';export default class Q extends _0x2580a5{[_0x1b34('0x22')](){const _0x296280=this[_0x1b34('0x21')];if(!_0x296280['plugins'][_0x1b34('0x13')](_0x1b34('0x1')))return;const _0x2a8034=_0x296280[_0x1b34('0x4')][_0x1b34('0x6')](_0x1b34('0x9'));_0x2a8034[_0x1b34('0x20')](_0x1b34('0xa'),(_0x357596,_0x3b163f={})=>{const _0x1dfa62=_0x296280[_0x1b34('0x18')][_0x1b34('0xf')][_0x1b34('0x11')],_0x5e50da=_0x1dfa62['getAttribute'](_0x1b34('0xa'));let _0x3b418c=_0x3b163f[_0x1b34('0xd')],_0x5d1099=[];if(_0x1dfa62[_0x1b34('0xe')]){const _0x37bf01=_0x1dfa62['getFirstPosition']();if(!_0x1dfa62['hasAttribute'](_0x1b34('0xa')))return void _0x357596(_0x3b163f);{const _0x4d25a3=_0x5b1432=>_0x5b1432['item'][_0x1b34('0x1a')](_0x1b34('0xa'))===_0x5e50da,_0x49efc6=_0x37bf01[_0x1b34('0x10')](_0x4d25a3,{'direction':'backward'}),_0x587342=_0x37bf01[_0x1b34('0x10')](_0x4d25a3);_0x5d1099=[_0x296280['model'][_0x1b34('0x2')](_0x49efc6,_0x587342)],_0x3b418c==_0x5e50da&&(_0x3b418c=null);}}else for(const _0x1439c6 of _0x1dfa62[_0x1b34('0x8')]())_0x3b418c?_0x5d1099[_0x1b34('0x3')](_0x1439c6):_0x5d1099['push'](..._0x835acf(_0x1b34('0xa'),_0x1439c6,_0x296280[_0x1b34('0x18')]));_0x296280[_0x1b34('0x18')][_0x1b34('0x17')](()=>{for(const _0x232939 of _0x5d1099)_0x2a8034['markInlineFormat'](_0x232939,{'commandName':_0x1b34('0xa'),'commandParams':[{'value':_0x3b418c}]});});});const _0x3d8926=_0x296280[_0x1b34('0x1d')];_0x2a8034[_0x1b34('0x19')][_0x1b34('0x14')](_0x4bd412=>{const {type:_0x3eb8e2,data:_0x1625c6}=_0x4bd412;if(_0x1b34('0x12')==_0x3eb8e2&&_0x1625c6&&_0x1b34('0xa')==_0x1625c6[_0x1b34('0x5')]){const _0x22606c=_0x1625c6['commandParams'][0x0][_0x1b34('0xd')];if(_0x22606c){const _0x372c4d=_0x296280[_0x1b34('0x1f')][_0x1b34('0x6')](_0x1b34('0xb'))[_0x1b34('0x1e')](_0x4d61cd=>_0x4d61cd[_0x1b34('0x18')]==_0x22606c),_0x5e4e44=_0x3d8926['_t'](_0x372c4d[_0x1b34('0xc')])[_0x1b34('0x1c')]();return{'type':'format','content':_0x4ba7cc(_0x3d8926,_0x1b34('0x16'),_0x5e4e44),'color':{'value':_0x372c4d[_0x1b34('0x1b')],'title':_0x372c4d[_0x1b34('0xc')]}};}return{'type':_0x1b34('0x7'),'content':_0x4ba7cc(_0x3d8926,_0x1b34('0x15'),_0x4ba7cc(_0x3d8926,_0x1b34('0x0')))};}});}}
23
+ const _0x164a=['createRange','getAttribute','TrackChangesEditing','registerDescriptionCallback','commandName','commandParams','find','highlight.options','markInlineFormat','enableCommand','*Set\x20highlight:*\x20%0','plugins','_descriptionFactory','formatInline','editor','format','getLastMatchingPosition','change','FORMAT_HIGHLIGHT','model','getFirstPosition','value','highlight','color','title','isCollapsed','toLowerCase','backward','selection','HighlightEditing','has','get','push'];(function(_0x4ec97d,_0x164a8a){const _0xaf4fbd=function(_0x386f71){while(--_0x386f71){_0x4ec97d['push'](_0x4ec97d['shift']());}};_0xaf4fbd(++_0x164a8a);}(_0x164a,0x1af));const _0xaf4f=function(_0x4ec97d,_0x164a8a){_0x4ec97d=_0x4ec97d-0x0;let _0xaf4fbd=_0x164a[_0x4ec97d];return _0xaf4fbd;};import{Plugin as _0xa535fb}from'ckeditor5/src/core';import{getTranslation as _0x2aebdd}from'../utils/common-translations';import{getRangesWithAttribute as _0x334252}from'./utils';export default class J extends _0xa535fb{['afterInit'](){const _0x4f6847=this[_0xaf4f('0xc')];if(!_0x4f6847['plugins'][_0xaf4f('0x1c')](_0xaf4f('0x1b')))return;const _0x3abbc9=_0x4f6847[_0xaf4f('0x9')][_0xaf4f('0x1d')](_0xaf4f('0x0'));_0x3abbc9[_0xaf4f('0x7')](_0xaf4f('0x14'),(_0x3d46b4,_0xe7291e={})=>{const _0x3c0b22=_0x4f6847[_0xaf4f('0x11')]['document'][_0xaf4f('0x1a')],_0x4a2897=_0x3c0b22[_0xaf4f('0x20')]('highlight');let _0x4e8c0b=_0xe7291e['value'],_0x3152fd=[];if(_0x3c0b22[_0xaf4f('0x17')]){const _0x3e7b01=_0x3c0b22[_0xaf4f('0x12')]();if(!_0x3c0b22['hasAttribute']('highlight'))return void _0x3d46b4(_0xe7291e);{const _0x2529f3=_0x48ce72=>_0x48ce72['item'][_0xaf4f('0x20')](_0xaf4f('0x14'))===_0x4a2897,_0x43da8a=_0x3e7b01[_0xaf4f('0xe')](_0x2529f3,{'direction':_0xaf4f('0x19')}),_0x2813fb=_0x3e7b01[_0xaf4f('0xe')](_0x2529f3);_0x3152fd=[_0x4f6847[_0xaf4f('0x11')][_0xaf4f('0x1f')](_0x43da8a,_0x2813fb)],_0x4e8c0b==_0x4a2897&&(_0x4e8c0b=null);}}else for(const _0x5c7be1 of _0x3c0b22['getRanges']())_0x4e8c0b?_0x3152fd[_0xaf4f('0x1e')](_0x5c7be1):_0x3152fd[_0xaf4f('0x1e')](..._0x334252(_0xaf4f('0x14'),_0x5c7be1,_0x4f6847['model']));_0x4f6847[_0xaf4f('0x11')][_0xaf4f('0xf')](()=>{for(const _0x186ea5 of _0x3152fd)_0x3abbc9[_0xaf4f('0x6')](_0x186ea5,{'commandName':'highlight','commandParams':[{'value':_0x4e8c0b}]});});});const _0x5e7ae3=_0x4f6847['locale'];_0x3abbc9[_0xaf4f('0xa')][_0xaf4f('0x1')](_0x29e15d=>{const {type:_0x2093e5,data:_0x2a43a1}=_0x29e15d;if(_0xaf4f('0xb')==_0x2093e5&&_0x2a43a1&&'highlight'==_0x2a43a1[_0xaf4f('0x2')]){const _0x45c5de=_0x5e7ae3['t'],_0x3625f7=_0x2a43a1[_0xaf4f('0x3')][0x0][_0xaf4f('0x13')];if(_0x3625f7){const _0x2b8909=_0x4f6847['config'][_0xaf4f('0x1d')](_0xaf4f('0x5'))[_0xaf4f('0x4')](_0x52c1c1=>_0x52c1c1['model']==_0x3625f7),_0x1b80ec=_0x45c5de(_0x2b8909['title'])[_0xaf4f('0x18')]();return{'type':_0xaf4f('0xd'),'content':_0x2aebdd(_0x5e7ae3,_0xaf4f('0x8'),_0x1b80ec),'color':{'value':_0x2b8909[_0xaf4f('0x15')],'title':_0x2b8909[_0xaf4f('0x16')]}};}return{'type':'format','content':_0x2aebdd(_0x5e7ae3,'*Remove\x20highlight*',_0x2aebdd(_0x5e7ae3,_0xaf4f('0x10')))};}});}}
@@ -0,0 +1,13 @@
1
+ /**
2
+ * @module track-changes/integrations/horizontalline
3
+ */
4
+ import { Plugin } from 'ckeditor5/src/core';
5
+ /**
6
+ * Provides track changes plugin integration for {@link module:horizontal-line/horizontalline~HorizontalLine horizontal line feature}.
7
+ */
8
+ export default class TrackChangesHorizontalLine extends Plugin {
9
+ /**
10
+ * @inheritDoc
11
+ */
12
+ afterInit(): void;
13
+ }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3ff8=['dataDowncast','high','TrackChangesEditing','conversion','locale','insert','HorizontalLineEditing','horizontalLine','get','for','addClass','registerElementLabel','enableCommand','createContainerElement','plugins','ck-horizontal-line','editor','elementToStructure'];(function(_0x152f8f,_0x3ff8e5){const _0xfbfeb8=function(_0x155af8){while(--_0x155af8){_0x152f8f['push'](_0x152f8f['shift']());}};_0xfbfeb8(++_0x3ff8e5);}(_0x3ff8,0xbd));const _0xfbfe=function(_0x152f8f,_0x3ff8e5){_0x152f8f=_0x152f8f-0x0;let _0xfbfeb8=_0x3ff8[_0x152f8f];return _0xfbfeb8;};import{Plugin as _0x415c93}from'ckeditor5/src/core';import{getTranslation as _0x2083bf}from'../utils/common-translations';export default class V extends _0x415c93{['afterInit'](){const _0x1d185d=this[_0xfbfe('0x7')];if(!_0x1d185d[_0xfbfe('0x5')]['has'](_0xfbfe('0xf')))return;_0x1d185d['plugins'][_0xfbfe('0x11')](_0xfbfe('0xb'))[_0xfbfe('0x3')]('horizontalLine');const _0x2d946f=_0x1d185d[_0xfbfe('0x5')][_0xfbfe('0x11')](_0xfbfe('0xb')),_0x4d8ae2=_0x1d185d[_0xfbfe('0xd')];_0x2d946f['_descriptionFactory'][_0xfbfe('0x2')](_0xfbfe('0x10'),_0x1f53be=>_0x2083bf(_0x4d8ae2,'ELEMENT_HORIZONTAL_LINE',_0x1f53be)),_0x1d185d[_0xfbfe('0xc')][_0xfbfe('0x0')](_0xfbfe('0x9'))[_0xfbfe('0x8')]({'model':'horizontalLine','view':(_0x2ea039,{writer:_0x23e911,options:_0x871b5d})=>{if(!_0x871b5d['showSuggestionHighlights'])return;const _0x1c4757=_0x23e911[_0xfbfe('0x4')]('div'),_0x4da27e=_0x23e911['createEmptyElement']('hr');return _0x23e911[_0xfbfe('0x1')](_0xfbfe('0x6'),_0x1c4757),_0x23e911[_0xfbfe('0xe')](_0x23e911['createPositionAt'](_0x1c4757,0x0),_0x4da27e),_0x1c4757;},'converterPriority':_0xfbfe('0xa')});}}
23
+ const _0x15c3=['_descriptionFactory','registerElementLabel','has','plugins','elementToStructure','get','horizontalLine','conversion','addClass','insert','dataDowncast','ELEMENT_HORIZONTAL_LINE','createEmptyElement','TrackChangesEditing','div','afterInit','enableCommand','ck-horizontal-line','showSuggestionHighlights','createPositionAt','createContainerElement'];(function(_0x3b01a0,_0x15c384){const _0x25bafe=function(_0x14714a){while(--_0x14714a){_0x3b01a0['push'](_0x3b01a0['shift']());}};_0x25bafe(++_0x15c384);}(_0x15c3,0x15c));const _0x25ba=function(_0x3b01a0,_0x15c384){_0x3b01a0=_0x3b01a0-0x0;let _0x25bafe=_0x15c3[_0x3b01a0];return _0x25bafe;};import{Plugin as _0x481ad6}from'ckeditor5/src/core';import{getTranslation as _0x5f097b}from'../utils/common-translations';export default class K extends _0x481ad6{[_0x25ba('0x3')](){const _0x165673=this['editor'];if(!_0x165673[_0x25ba('0xc')][_0x25ba('0xb')]('HorizontalLineEditing'))return;_0x165673['plugins']['get'](_0x25ba('0x1'))[_0x25ba('0x4')](_0x25ba('0xf'));const _0x10ab69=_0x165673['plugins'][_0x25ba('0xe')](_0x25ba('0x1')),_0x53ecff=_0x165673['locale'];_0x10ab69[_0x25ba('0x9')][_0x25ba('0xa')](_0x25ba('0xf'),_0x3a08ab=>_0x5f097b(_0x53ecff,_0x25ba('0x14'),_0x3a08ab)),_0x165673[_0x25ba('0x10')]['for'](_0x25ba('0x13'))[_0x25ba('0xd')]({'model':_0x25ba('0xf'),'view':(_0x8bb094,{writer:_0x808e47,options:_0x1d2f9b})=>{if(!_0x1d2f9b[_0x25ba('0x6')])return null;const _0x1482ab=_0x808e47[_0x25ba('0x8')](_0x25ba('0x2')),_0x29b96c=_0x808e47[_0x25ba('0x0')]('hr');return _0x808e47[_0x25ba('0x11')](_0x25ba('0x5'),_0x1482ab),_0x808e47[_0x25ba('0x12')](_0x808e47[_0x25ba('0x7')](_0x1482ab,0x0),_0x29b96c),_0x1482ab;},'converterPriority':'high'});}}
@@ -0,0 +1,13 @@
1
+ /**
2
+ * @module track-changes/integrations/htmlembed
3
+ */
4
+ import { Plugin } from 'ckeditor5/src/core';
5
+ /**
6
+ * Provides track changes plugin integration for {@link module:html-embed/htmlembed~HtmlEmbed HTML Embed feature}.
7
+ */
8
+ export default class TrackChangesHtmlEmbed extends Plugin {
9
+ /**
10
+ * @inheritDoc
11
+ */
12
+ afterInit(): void;
13
+ }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x277d=['TrackChangesEditing','has','htmlEmbed','editing','commandName','element','registerDescriptionCallback','document','getSelectedElement','locale','HtmlEmbed','ELEMENT_HTML_EMBED','enableCommand','value','afterInit','plugins','model','_descriptionFactory','getCustomProperty','cancel','view','selection','registerElementLabel','rawHtml','get'];(function(_0x229d52,_0x277d50){const _0x3c204e=function(_0x471ff0){while(--_0x471ff0){_0x229d52['push'](_0x229d52['shift']());}};_0x3c204e(++_0x277d50);}(_0x277d,0xf5));const _0x3c20=function(_0x229d52,_0x277d50){_0x229d52=_0x229d52-0x0;let _0x3c204e=_0x277d[_0x229d52];return _0x3c204e;};import{Plugin as _0xc49ab4}from'ckeditor5/src/core';import{getTranslation as _0x3e3713}from'../utils/common-translations';export default class X extends _0xc49ab4{[_0x3c20('0x13')](){const _0x19af1=this['editor'];if(!_0x19af1['plugins'][_0x3c20('0x6')](_0x3c20('0xf')))return;const _0x5a9075=_0x19af1[_0x3c20('0x14')][_0x3c20('0x4')](_0x3c20('0x5')),_0x1c27e0=_0x19af1[_0x3c20('0xe')],_0xa7a129=_0x19af1[_0x3c20('0x8')][_0x3c20('0x0')][_0x3c20('0xc')][_0x3c20('0x1')];_0x5a9075['_descriptionFactory'][_0x3c20('0x2')](_0x3c20('0x3'),_0x183ef5=>_0x3e3713(_0x1c27e0,_0x3c20('0x10'),_0x183ef5)),_0x19af1['plugins'][_0x3c20('0x4')]('TrackChangesEditing')[_0x3c20('0x11')](_0x3c20('0x7'),(_0x492d48,_0x324be0)=>{const _0xbf2eb4=_0x19af1[_0x3c20('0x15')],_0x3451d9=_0xbf2eb4[_0x3c20('0xc')][_0x3c20('0x1')];_0xbf2eb4['change'](()=>{const _0x47b731=function(_0x55de24){const _0x72415c=_0x55de24[_0x3c20('0xd')]();if(_0x72415c&&_0x72415c['is'](_0x3c20('0xa'),'rawHtml'))return _0x55de24[_0x3c20('0xd')]();return null;}(_0x3451d9);if(!_0x47b731)return void _0x492d48(null);const _0x4943eb=_0x47b731['getAttribute'](_0x3c20('0x12'))||'';if(void 0x0===_0x324be0)return;if(_0x324be0===_0x4943eb)return;_0x5a9075['markBlockFormat'](_0x47b731,{'commandName':_0x3c20('0x7'),'commandParams':[_0x324be0]}),_0xa7a129['getSelectedElement']()[_0x3c20('0x17')]('rawHtmlApi')[_0x3c20('0x18')]();});}),_0x5a9075[_0x3c20('0x16')][_0x3c20('0xb')](_0x22cf22=>{const {data:_0x23824c}=_0x22cf22;if(_0x23824c&&_0x3c20('0x7')==_0x23824c[_0x3c20('0x9')]){const _0x5ff36c=_0x3e3713(_0x1c27e0,'ELEMENT_HTML_EMBED');return{'type':'format','content':_0x3e3713(_0x1c27e0,'*Change\x20%0\x20content*',_0x5ff36c)};}});}}
23
+ const _0x5024=['rawHtmlApi','element','format','htmlEmbed','view','selection','getSelectedElement','getCustomProperty','rawHtml','get','enableCommand','afterInit','plugins','editing','editor','_descriptionFactory','*Change\x20%0\x20content*','ELEMENT_HTML_EMBED','document','TrackChangesEditing','getAttribute','value','locale'];(function(_0x5c09f8,_0x502485){const _0x4158a2=function(_0x148999){while(--_0x148999){_0x5c09f8['push'](_0x5c09f8['shift']());}};_0x4158a2(++_0x502485);}(_0x5024,0x1e7));const _0x4158=function(_0x5c09f8,_0x502485){_0x5c09f8=_0x5c09f8-0x0;let _0x4158a2=_0x5024[_0x5c09f8];return _0x4158a2;};import{Plugin as _0x5b8eac}from'ckeditor5/src/core';import{getTranslation as _0x3ae181}from'../utils/common-translations';export default class Q extends _0x5b8eac{[_0x4158('0x7')](){const _0x4a3919=this[_0x4158('0xa')];if(!_0x4a3919[_0x4158('0x8')]['has']('HtmlEmbed'))return;const _0x3db23e=_0x4a3919[_0x4158('0x8')][_0x4158('0x5')](_0x4158('0xf')),_0x3c3bf6=_0x4a3919[_0x4158('0x12')],_0x17ec2b=_0x4a3919[_0x4158('0x9')][_0x4158('0x0')][_0x4158('0xe')][_0x4158('0x1')];_0x3db23e[_0x4158('0xb')]['registerElementLabel']('rawHtml',_0x160b86=>_0x3ae181(_0x3c3bf6,'ELEMENT_HTML_EMBED',_0x160b86)),_0x4a3919[_0x4158('0x8')][_0x4158('0x5')](_0x4158('0xf'))[_0x4158('0x6')](_0x4158('0x16'),(_0x31f1b3,_0x4c7584)=>{const _0x116dc6=_0x4a3919['model'],_0xe3ba8b=_0x116dc6[_0x4158('0xe')]['selection'];_0x116dc6['change'](()=>{const _0xa6c07e=function(_0x518e49){const _0x2a822d=_0x518e49[_0x4158('0x2')]();if(_0x2a822d&&_0x2a822d['is'](_0x4158('0x14'),_0x4158('0x4')))return _0x518e49[_0x4158('0x2')]();return null;}(_0xe3ba8b);if(!_0xa6c07e)return void _0x31f1b3(null);const _0x416fb2=_0xa6c07e[_0x4158('0x10')](_0x4158('0x11'))||'';if(void 0x0===_0x4c7584)return;if(_0x4c7584===_0x416fb2)return;_0x3db23e['markBlockFormat'](_0xa6c07e,{'commandName':_0x4158('0x16'),'commandParams':[_0x4c7584]}),_0x17ec2b[_0x4158('0x2')]()[_0x4158('0x3')](_0x4158('0x13'))['cancel']();});}),_0x3db23e[_0x4158('0xb')]['registerDescriptionCallback'](_0x372960=>{const {data:_0x46cc5b}=_0x372960;if(_0x46cc5b&&_0x4158('0x16')==_0x46cc5b['commandName']){const _0x491c81=_0x3ae181(_0x3c3bf6,_0x4158('0xd'));return{'type':_0x4158('0x15'),'content':_0x3ae181(_0x3c3bf6,_0x4158('0xc'),_0x491c81)};}});}}