@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20230723.0 → 0.0.0-nightly-20230725.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 (130) hide show
  1. package/README.md +0 -1
  2. package/build/track-changes.js +1 -1
  3. package/package.json +3 -3
  4. package/src/augmentation.d.ts +4 -0
  5. package/src/commands/acceptsuggestioncommand.d.ts +4 -0
  6. package/src/commands/acceptsuggestioncommand.js +1 -1
  7. package/src/commands/discardsuggestioncommand.d.ts +4 -0
  8. package/src/commands/discardsuggestioncommand.js +1 -1
  9. package/src/commands/executeonallsuggestionscommand.d.ts +4 -0
  10. package/src/commands/executeonallsuggestionscommand.js +1 -1
  11. package/src/commands/executeonselectedsuggestionscommand.d.ts +4 -0
  12. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  13. package/src/commands/trackchangescommand.d.ts +4 -0
  14. package/src/commands/trackchangescommand.js +1 -1
  15. package/src/index.d.ts +4 -0
  16. package/src/integrations/alignment.d.ts +4 -0
  17. package/src/integrations/alignment.js +1 -1
  18. package/src/integrations/basicstyles.d.ts +4 -0
  19. package/src/integrations/basicstyles.js +1 -1
  20. package/src/integrations/blockquote.d.ts +4 -0
  21. package/src/integrations/blockquote.js +1 -1
  22. package/src/integrations/ckbox.d.ts +4 -0
  23. package/src/integrations/ckbox.js +1 -1
  24. package/src/integrations/codeblock.d.ts +4 -0
  25. package/src/integrations/codeblock.js +1 -1
  26. package/src/integrations/comments.d.ts +4 -0
  27. package/src/integrations/comments.js +1 -1
  28. package/src/integrations/deletecommand.d.ts +4 -0
  29. package/src/integrations/deletecommand.js +1 -1
  30. package/src/integrations/documentlist.d.ts +4 -0
  31. package/src/integrations/documentlist.js +1 -1
  32. package/src/integrations/documentlistproperties.d.ts +4 -0
  33. package/src/integrations/documentlistproperties.js +1 -1
  34. package/src/integrations/entercommand.d.ts +4 -0
  35. package/src/integrations/entercommand.js +1 -1
  36. package/src/integrations/findandreplace.d.ts +4 -0
  37. package/src/integrations/findandreplace.js +1 -1
  38. package/src/integrations/font.d.ts +4 -0
  39. package/src/integrations/font.js +1 -1
  40. package/src/integrations/formatpainter.d.ts +4 -0
  41. package/src/integrations/formatpainter.js +1 -1
  42. package/src/integrations/heading.d.ts +4 -0
  43. package/src/integrations/heading.js +1 -1
  44. package/src/integrations/highlight.d.ts +4 -0
  45. package/src/integrations/highlight.js +1 -1
  46. package/src/integrations/horizontalline.d.ts +4 -0
  47. package/src/integrations/horizontalline.js +1 -1
  48. package/src/integrations/htmlembed.d.ts +4 -0
  49. package/src/integrations/htmlembed.js +1 -1
  50. package/src/integrations/image.d.ts +4 -0
  51. package/src/integrations/image.js +1 -1
  52. package/src/integrations/imagereplace.d.ts +4 -0
  53. package/src/integrations/imagereplace.js +1 -1
  54. package/src/integrations/importword.d.ts +4 -0
  55. package/src/integrations/importword.js +1 -1
  56. package/src/integrations/indent.d.ts +4 -0
  57. package/src/integrations/indent.js +1 -1
  58. package/src/integrations/inputcommand.d.ts +4 -0
  59. package/src/integrations/inputcommand.js +1 -1
  60. package/src/integrations/link.d.ts +4 -0
  61. package/src/integrations/link.js +1 -1
  62. package/src/integrations/list.d.ts +4 -0
  63. package/src/integrations/list.js +1 -1
  64. package/src/integrations/listproperties.d.ts +4 -0
  65. package/src/integrations/listproperties.js +1 -1
  66. package/src/integrations/mediaembed.d.ts +4 -0
  67. package/src/integrations/mediaembed.js +1 -1
  68. package/src/integrations/mention.d.ts +4 -0
  69. package/src/integrations/mention.js +1 -1
  70. package/src/integrations/pagebreak.d.ts +4 -0
  71. package/src/integrations/pagebreak.js +1 -1
  72. package/src/integrations/paragraph.d.ts +4 -0
  73. package/src/integrations/paragraph.js +1 -1
  74. package/src/integrations/removeformat.d.ts +4 -0
  75. package/src/integrations/removeformat.js +1 -1
  76. package/src/integrations/restrictededitingmode.d.ts +4 -0
  77. package/src/integrations/restrictededitingmode.js +1 -1
  78. package/src/integrations/shiftentercommand.d.ts +4 -0
  79. package/src/integrations/shiftentercommand.js +1 -1
  80. package/src/integrations/standardeditingmode.d.ts +4 -0
  81. package/src/integrations/standardeditingmode.js +1 -1
  82. package/src/integrations/style.d.ts +4 -0
  83. package/src/integrations/style.js +1 -1
  84. package/src/integrations/table.d.ts +4 -0
  85. package/src/integrations/table.js +1 -1
  86. package/src/integrations/tablecaption.d.ts +4 -0
  87. package/src/integrations/tablecaption.js +1 -1
  88. package/src/integrations/tableclipboard.d.ts +2 -1
  89. package/src/integrations/tableclipboard.js +1 -1
  90. package/src/integrations/tablecolumnresize.d.ts +4 -0
  91. package/src/integrations/tablecolumnresize.js +1 -1
  92. package/src/integrations/tableheadings.d.ts +4 -0
  93. package/src/integrations/tableheadings.js +1 -1
  94. package/src/integrations/tablemergesplit.d.ts +4 -0
  95. package/src/integrations/tablemergesplit.js +1 -1
  96. package/src/integrations/tableofcontents.d.ts +4 -0
  97. package/src/integrations/tableofcontents.js +1 -1
  98. package/src/integrations/tableproperties.d.ts +4 -0
  99. package/src/integrations/tableproperties.js +1 -1
  100. package/src/integrations/template.d.ts +4 -0
  101. package/src/integrations/template.js +1 -1
  102. package/src/integrations/title.d.ts +4 -0
  103. package/src/integrations/title.js +1 -1
  104. package/src/integrations/undo.d.ts +4 -0
  105. package/src/integrations/undo.js +1 -1
  106. package/src/integrations/utils.d.ts +4 -0
  107. package/src/integrations/utils.js +1 -1
  108. package/src/suggestion.d.ts +11 -1
  109. package/src/suggestion.js +1 -1
  110. package/src/suggestiondescriptionfactory.d.ts +2 -2
  111. package/src/suggestiondescriptionfactory.js +1 -1
  112. package/src/trackchanges.d.ts +4 -0
  113. package/src/trackchanges.js +1 -1
  114. package/src/trackchangesconfig.d.ts +4 -0
  115. package/src/trackchangesdata.d.ts +4 -0
  116. package/src/trackchangesdata.js +1 -1
  117. package/src/trackchangesediting.d.ts +4 -0
  118. package/src/trackchangesediting.js +1 -1
  119. package/src/trackchangesui.d.ts +4 -0
  120. package/src/trackchangesui.js +1 -1
  121. package/src/ui/suggestioncontroller.d.ts +2 -1
  122. package/src/ui/suggestioncontroller.js +1 -1
  123. package/src/ui/view/basesuggestionthreadview.d.ts +4 -0
  124. package/src/ui/view/basesuggestionthreadview.js +1 -1
  125. package/src/ui/view/suggestionthreadview.d.ts +2 -2
  126. package/src/ui/view/suggestionthreadview.js +1 -1
  127. package/src/utils/common-translations.d.ts +4 -0
  128. package/src/utils/common-translations.js +1 -1
  129. package/src/utils/utils.d.ts +4 -0
  130. package/src/utils/utils.js +1 -1
@@ -1,3 +1,7 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
1
5
  /**
2
6
  * @module track-changes/integrations/tablemergesplit
3
7
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5e18=['mergeTableCellRight','splitTableCellVertically','createTableWalker','has','_suggestionFactory','element','find','splitTableCellHorizontally','plugins','size','containsRange','tableCell','low','document','subType','execute','getRanges','value','_isForcedDefaultExecutionBlock','author','deletion','refresh','getFirstPosition','push','model','markMultiRangeBlockFormat','forceDefaultExecution','TableUtils','_areMergableCells','registerDescriptionCallback','setSelection','*Merge\x20cells*','selection','from','locale','afterInit','set:isEnabled','*Split\x20cell:*\x20horizontally','*Split\x20cell:*\x20vertically','mergeTableCells','length','get','mergeTableCellUp','createRangeOn','add','mergeTableCellLeft','change','TrackChangesEditing','table','_descriptionFactory','accept','direction','_areSelectedCellsMergable','format','getCellLocation','markBlockFormat','mergeTableCellDown','getAncestors','commands','rootName','stop','map','type','trackChanges','highest','enableCommand','registerCustomCallback','TableEditing','editor','requires','$graveyard','commandName','getSelectionAffectedTableCells','_acceptFormatSuggestionCallbackFactory','formatBlock','cell','horizontally','detach'];(function(_0x59bc2a,_0x5e189a){const _0x686bda=function(_0x4ad95c){while(--_0x4ad95c){_0x59bc2a['push'](_0x59bc2a['shift']());}};_0x686bda(++_0x5e189a);}(_0x5e18,0x1dd));const _0x686b=function(_0x59bc2a,_0x5e189a){_0x59bc2a=_0x59bc2a-0x0;let _0x686bda=_0x5e18[_0x59bc2a];return _0x686bda;};import{Plugin as _0x5766ef}from'ckeditor5/src/core';import _0x5fc03c from'./table';import{LiveRange as _0x1f2f08}from'ckeditor5/src/engine';import{getTranslation as _0x243fda}from'../utils/common-translations';export default class dt extends _0x5766ef{static get[_0x686b('0x3c')](){return[_0x5fc03c];}[_0x686b('0x1a')](){const _0x27722e=this[_0x686b('0x3b')],_0x52e81d=_0x27722e[_0x686b('0xf')][_0x686b('0x4')]['selection'],_0x496ee9=_0x27722e[_0x686b('0x19')];if(!_0x27722e['plugins'][_0x686b('0x48')](_0x686b('0x3a')))return;const _0x1a3c8f=_0x27722e[_0x686b('0x4d')][_0x686b('0x20')]('TrackChangesEditing'),_0xfd9a4e=_0x27722e[_0x686b('0x4d')][_0x686b('0x20')](_0x686b('0x12')),_0x118c0b=_0x27722e[_0x686b('0x4d')][_0x686b('0x20')](_0x5fc03c);_0x118c0b['_tablePostFixingSubtypes'][_0x686b('0xe')](_0x686b('0x1e')),_0x1a3c8f[_0x686b('0x38')](_0x686b('0x1e'),()=>{const _0x3c936c=_0xfd9a4e[_0x686b('0x3f')](_0x27722e[_0x686b('0xf')][_0x686b('0x4')][_0x686b('0x17')]);_0x27722e[_0x686b('0xf')][_0x686b('0x25')](()=>{_0x1a3c8f['markMultiRangeBlockFormat'](_0x3c936c,{'commandName':_0x686b('0x1e'),'commandParams':[]},[],_0x686b('0x1e'));});}),_0x27722e[_0x686b('0x31')]['get'](_0x686b('0x1e'))['on']('execute',(_0x13faa5,_0x1c9606)=>{_0x27722e['commands'][_0x686b('0x20')](_0x686b('0x36'))[_0x686b('0x8')]&&(_0x1c9606[_0x686b('0x1f')]>0x0&&_0x1c9606[_0x1c9606[_0x686b('0x1f')]-0x1]&&_0x1c9606[_0x1c9606[_0x686b('0x1f')]-0x1][_0x686b('0x11')]||_0x1a3c8f[_0x686b('0x9')]||this[_0x686b('0x2b')]()||_0x13faa5[_0x686b('0x33')]());},{'priority':_0x686b('0x37')});for(const _0x12a2de of['mergeTableCellUp','mergeTableCellRight',_0x686b('0x2f'),_0x686b('0x24')]){const _0x5647b0=_0x27722e['commands'][_0x686b('0x20')](_0x12a2de);_0x1a3c8f['enableCommand'](_0x12a2de,()=>{const _0x58084b=_0x27722e[_0x686b('0xf')][_0x686b('0x4')][_0x686b('0x17')][_0x686b('0xd')]()[_0x686b('0x30')]()[_0x686b('0x4b')](_0x4b3943=>_0x4b3943['is']('element',_0x686b('0x2'))),_0xecb7ab=_0x5647b0['value'];_0x27722e['model'][_0x686b('0x25')](()=>{_0x1a3c8f[_0x686b('0x10')]([_0x58084b,_0xecb7ab],{'commandName':_0x686b('0x1e'),'commandParams':[]},[],_0x686b('0x1e'));});});}for(const _0xdebc21 of[_0x686b('0x46'),_0x686b('0x4c')]){const _0x3139b6=_0x27722e[_0x686b('0x31')][_0x686b('0x20')](_0xdebc21);_0x1a3c8f[_0x686b('0x38')](_0xdebc21,()=>{const _0x4cdc4d=_0xfd9a4e[_0x686b('0x3f')](_0x27722e[_0x686b('0xf')][_0x686b('0x4')]['selection'])[0x0],_0x40fa1b=_0x4cdc4d['findAncestor'](_0x686b('0x27')),{column:_0x132fd6,row:_0x990ff0}=_0xfd9a4e[_0x686b('0x2d')](_0x4cdc4d);let _0x1c11ec=[];if(_0x686b('0x43')==_0x3139b6[_0x686b('0x2a')]){const _0x31aa53=_0xfd9a4e[_0x686b('0x47')](_0x40fa1b,{'startRow':_0x990ff0,'endRow':_0x990ff0,'includeAllSlots':!0x0});_0x1c11ec=Array[_0x686b('0x18')](_0x31aa53)[_0x686b('0x34')](_0x552e71=>_0x552e71['cell']);}else{const _0x367ada=_0xfd9a4e[_0x686b('0x47')](_0x40fa1b,{'column':_0x132fd6,'includeAllSlots':!0x0});_0x1c11ec=Array[_0x686b('0x18')](_0x367ada)['map'](_0xedb8c0=>_0xedb8c0[_0x686b('0x42')]);}_0x27722e['model'][_0x686b('0x25')](_0x331a98=>{_0x1a3c8f[_0x686b('0x2e')](_0x331a98[_0x686b('0x22')](_0x4cdc4d),{'commandName':_0xdebc21,'commandParams':[]},_0x1c11ec,_0xdebc21);});});}_0x1a3c8f[_0x686b('0x28')][_0x686b('0x14')](_0x2dacc5=>{const {data:_0x42b024}=_0x2dacc5;if(_0x42b024)return _0x686b('0x1e')==_0x42b024[_0x686b('0x3e')]?{'type':_0x686b('0x2c'),'content':_0x243fda(_0x496ee9,_0x686b('0x16'))}:void 0x0;}),_0x1a3c8f[_0x686b('0x28')]['registerDescriptionCallback'](_0x128d9a=>{const {data:_0x12c6e3}=_0x128d9a;if(_0x12c6e3)return _0x686b('0x46')==_0x12c6e3[_0x686b('0x3e')]?{'type':_0x686b('0x2c'),'content':_0x243fda(_0x496ee9,_0x686b('0x1d'))}:'splitTableCellHorizontally'==_0x12c6e3['commandName']?{'type':'format','content':_0x243fda(_0x496ee9,_0x686b('0x1c'))}:void 0x0;});const _0x214703=_0x118c0b[_0x686b('0x40')]();for(const _0x5189e7 of['mergeTableCellUp',_0x686b('0x45'),_0x686b('0x2f'),_0x686b('0x24')])_0x1a3c8f[_0x686b('0x49')][_0x686b('0x39')]('formatBlock',_0x5189e7,'accept',_0x214703);for(const _0x34503c of['splitTableCellVertically',_0x686b('0x4c')])_0x1a3c8f[_0x686b('0x49')][_0x686b('0x39')](_0x686b('0x41'),_0x34503c,'accept',_0x214703);_0x1a3c8f[_0x686b('0x49')][_0x686b('0x39')](_0x686b('0x41'),_0x686b('0x1e'),_0x686b('0x29'),_0x5a4959=>{_0x27722e[_0x686b('0xf')][_0x686b('0x25')](_0x1d9ad4=>{const _0x2cdef6=Array[_0x686b('0x18')](_0x52e81d[_0x686b('0x7')]())[_0x686b('0x34')](_0x1e5777=>_0x1f2f08['fromRange'](_0x1e5777));_0x1d9ad4[_0x686b('0x15')](_0x5a4959),_0x27722e[_0x686b('0x31')][_0x686b('0x20')](_0x686b('0x1e'))[_0x686b('0xc')](),_0x27722e[_0x686b('0x6')]('mergeTableCells',{'forceDefaultExecution':!0x0});const _0xa3b57c=_0x2cdef6['filter'](_0x59a60c=>_0x686b('0x3d')!=_0x59a60c['root'][_0x686b('0x32')]);_0xa3b57c['length']>0x0&&_0x1d9ad4[_0x686b('0x15')](_0xa3b57c);for(const _0x653e4d of _0x2cdef6)_0x653e4d[_0x686b('0x44')]();});});for(const _0x23e823 of[_0x686b('0x21'),_0x686b('0x2f'),_0x686b('0x24'),_0x686b('0x45')]){const _0xd3853c=_0x27722e[_0x686b('0x31')][_0x686b('0x20')](_0x23e823);_0xd3853c['on'](_0x686b('0x1b'),(_0x286154,_0x461157,_0x2025d6)=>{if(_0x2025d6){const _0xa15b2a=_0x27722e[_0x686b('0xf')][_0x686b('0x4')][_0x686b('0x17')][_0x686b('0xd')]()[_0x686b('0x30')]()[_0x686b('0x4b')](_0x4d164b=>_0x4d164b['is'](_0x686b('0x4a'),'tableCell'));this[_0x686b('0x13')](_0xd3853c['value'],_0xa15b2a)||(_0x286154['return']=!0x1,_0x286154[_0x686b('0x33')]());}},{'priority':_0x686b('0x3')});}}[_0x686b('0x2b')](){const _0x114136=this[_0x686b('0x3b')][_0x686b('0x31')][_0x686b('0x20')]('mergeTableCells'),_0x36e2e6=this[_0x686b('0x3b')][_0x686b('0x4d')]['get'](_0x686b('0x12'));if(!_0x114136['isEnabled'])return!0x1;const _0x3c00f1=_0x36e2e6[_0x686b('0x3f')](this[_0x686b('0x3b')]['model']['document'][_0x686b('0x17')]);for(const _0x1a3d48 of _0x3c00f1)for(const _0x3359da of _0x3c00f1)if(_0x1a3d48!=_0x3359da&&!this['_areMergableCells'](_0x1a3d48,_0x3359da))return!0x1;return!0x0;}[_0x686b('0x13')](_0x4a3c10,_0x15c93a){const _0x5d30a7=this[_0x686b('0x3b')][_0x686b('0x4d')]['get'](_0x686b('0x26')),_0x34a8fa=this[_0x686b('0x3b')][_0x686b('0xf')][_0x686b('0x22')](_0x4a3c10),_0x507443=this[_0x686b('0x3b')]['model'][_0x686b('0x22')](_0x15c93a),_0x3c9723=new Set(),_0x1ec580=new Set();for(const _0x5b8cde of _0x5d30a7['getSuggestions']())if(('insertion'==_0x5b8cde[_0x686b('0x35')]||_0x686b('0xb')==_0x5b8cde[_0x686b('0x35')]||_0x686b('0x1e')==_0x5b8cde[_0x686b('0x5')])&&_0x5b8cde['isInContent'])for(const _0x455f68 of _0x5b8cde[_0x686b('0x7')]())_0x455f68[_0x686b('0x1')](_0x34a8fa,!0x0)&&_0x3c9723[_0x686b('0x23')](_0x5b8cde[_0x686b('0x35')]+':'+_0x5b8cde[_0x686b('0xa')]['id']),_0x455f68[_0x686b('0x1')](_0x507443,!0x0)&&_0x1ec580[_0x686b('0x23')](_0x5b8cde[_0x686b('0x35')]+':'+_0x5b8cde['author']['id']);if(_0x3c9723[_0x686b('0x0')]!=_0x1ec580[_0x686b('0x0')])return!0x1;for(const _0xca2c96 of _0x3c9723)if(!_0x1ec580[_0x686b('0x48')](_0xca2c96))return!0x1;return!0x0;}}
23
+ const _0x324f=['markMultiRangeBlockFormat','isEnabled','_suggestionFactory','splitTableCellHorizontally','stop','document','has','_areSelectedCellsMergable','mergeTableCellRight','setSelection','type','getFirstPosition','add','root','element','_tablePostFixingSubtypes','containsRange','selection','*Split\x20cell:*\x20horizontally','mergeTableCellUp','getCellLocation','trackChanges','enableCommand','createRangeOn','*Split\x20cell:*\x20vertically','TableUtils','_descriptionFactory','getAncestors','size','change','locale','model','markBlockFormat','accept','get','filter','table','_isForcedDefaultExecutionBlock','format','value','map','length','getRanges','insertion','plugins','TableEditing','cell','mergeTableCellDown','mergeTableCellLeft','*Merge\x20cells*','registerDescriptionCallback','refresh','findAncestor','subType','TrackChangesEditing','formatBlock','editor','tableCell','splitTableCellVertically','commandName','set:isEnabled','fromRange','from','commands','createTableWalker','_acceptFormatSuggestionCallbackFactory','mergeTableCells','execute','return','_areMergableCells','getSelectionAffectedTableCells','registerCustomCallback','find','getSuggestions','direction','afterInit','isInContent','low','push'];(function(_0x831e62,_0x324f72){const _0x1cc74d=function(_0x1d114a){while(--_0x1d114a){_0x831e62['push'](_0x831e62['shift']());}};_0x1cc74d(++_0x324f72);}(_0x324f,0x86));const _0x1cc7=function(_0x831e62,_0x324f72){_0x831e62=_0x831e62-0x0;let _0x1cc74d=_0x324f[_0x831e62];return _0x1cc74d;};import{Plugin as _0x14ba06}from'ckeditor5/src/core';import _0x1b08f7 from'./table';import{LiveRange as _0x3b3964}from'ckeditor5/src/engine';import{getTranslation as _0x3c8bbf}from'../utils/common-translations';export default class dt extends _0x14ba06{static get['requires'](){return[_0x1b08f7];}[_0x1cc7('0x14')](){const _0x42b070=this[_0x1cc7('0x1')],_0x456c03=_0x42b070[_0x1cc7('0x37')][_0x1cc7('0x1d')][_0x1cc7('0x29')],_0x2be0fe=_0x42b070[_0x1cc7('0x36')];if(!_0x42b070[_0x1cc7('0x44')]['has'](_0x1cc7('0x45')))return;const _0x5a4cdd=_0x42b070[_0x1cc7('0x44')][_0x1cc7('0x3a')]('TrackChangesEditing'),_0x5a6f30=_0x42b070[_0x1cc7('0x44')][_0x1cc7('0x3a')](_0x1cc7('0x31')),_0x5ce96d=_0x42b070[_0x1cc7('0x44')][_0x1cc7('0x3a')](_0x1b08f7);_0x5ce96d[_0x1cc7('0x27')][_0x1cc7('0x17')](_0x1cc7('0xb')),_0x5a4cdd[_0x1cc7('0x2e')]('mergeTableCells',()=>{const _0x103229=_0x5a6f30[_0x1cc7('0xf')](_0x42b070[_0x1cc7('0x37')][_0x1cc7('0x1d')][_0x1cc7('0x29')]);_0x42b070[_0x1cc7('0x37')][_0x1cc7('0x35')](()=>{_0x5a4cdd[_0x1cc7('0x18')](_0x103229,{'commandName':_0x1cc7('0xb'),'commandParams':[]},[],_0x1cc7('0xb'));});}),_0x42b070[_0x1cc7('0x8')]['get'](_0x1cc7('0xb'))['on'](_0x1cc7('0xc'),(_0x51f1fe,_0x9a5575)=>{_0x42b070['commands'][_0x1cc7('0x3a')](_0x1cc7('0x2d'))[_0x1cc7('0x3f')]&&(_0x9a5575['length']>0x0&&_0x9a5575[_0x9a5575[_0x1cc7('0x41')]-0x1]&&_0x9a5575[_0x9a5575[_0x1cc7('0x41')]-0x1]['forceDefaultExecution']||_0x5a4cdd[_0x1cc7('0x3d')]||this['_areSelectedCellsMergable']()||_0x51f1fe[_0x1cc7('0x1c')]());},{'priority':'highest'});for(const _0x1715bb of[_0x1cc7('0x2b'),'mergeTableCellRight','mergeTableCellDown',_0x1cc7('0x48')]){const _0x377c74=_0x42b070[_0x1cc7('0x8')][_0x1cc7('0x3a')](_0x1715bb);_0x5a4cdd['enableCommand'](_0x1715bb,()=>{const _0x6b4d0e=_0x42b070[_0x1cc7('0x37')][_0x1cc7('0x1d')][_0x1cc7('0x29')][_0x1cc7('0x23')]()['getAncestors']()[_0x1cc7('0x11')](_0x4ba913=>_0x4ba913['is'](_0x1cc7('0x26'),_0x1cc7('0x2'))),_0x2a4cf1=_0x377c74['value'];_0x42b070['model']['change'](()=>{_0x5a4cdd[_0x1cc7('0x18')]([_0x6b4d0e,_0x2a4cf1],{'commandName':_0x1cc7('0xb'),'commandParams':[]},[],'mergeTableCells');});});}for(const _0x18d712 of[_0x1cc7('0x3'),_0x1cc7('0x1b')]){const _0x538d0a=_0x42b070[_0x1cc7('0x8')]['get'](_0x18d712);_0x5a4cdd[_0x1cc7('0x2e')](_0x18d712,()=>{const _0x10a339=_0x5a6f30[_0x1cc7('0xf')](_0x42b070[_0x1cc7('0x37')]['document'][_0x1cc7('0x29')])[0x0],_0x2ae750=_0x10a339[_0x1cc7('0x4c')](_0x1cc7('0x3c')),{column:_0x4402e0,row:_0x3ee0ad}=_0x5a6f30[_0x1cc7('0x2c')](_0x10a339);let _0x44cd9d=[];if('horizontally'==_0x538d0a[_0x1cc7('0x13')]){const _0x1e4668=_0x5a6f30[_0x1cc7('0x9')](_0x2ae750,{'startRow':_0x3ee0ad,'endRow':_0x3ee0ad,'includeAllSlots':!0x0});_0x44cd9d=Array['from'](_0x1e4668)[_0x1cc7('0x40')](_0x532f95=>_0x532f95[_0x1cc7('0x46')]);}else{const _0x3c9583=_0x5a6f30[_0x1cc7('0x9')](_0x2ae750,{'column':_0x4402e0,'includeAllSlots':!0x0});_0x44cd9d=Array['from'](_0x3c9583)[_0x1cc7('0x40')](_0xc9aa2f=>_0xc9aa2f[_0x1cc7('0x46')]);}_0x42b070[_0x1cc7('0x37')][_0x1cc7('0x35')](_0x58ee75=>{_0x5a4cdd[_0x1cc7('0x38')](_0x58ee75[_0x1cc7('0x2f')](_0x10a339),{'commandName':_0x18d712,'commandParams':[]},_0x44cd9d,_0x18d712);});});}_0x5a4cdd[_0x1cc7('0x32')][_0x1cc7('0x4a')](_0x22c866=>{const {data:_0x92e15e}=_0x22c866;if(_0x92e15e)return'mergeTableCells'==_0x92e15e[_0x1cc7('0x4')]?{'type':_0x1cc7('0x3e'),'content':_0x3c8bbf(_0x2be0fe,_0x1cc7('0x49'))}:void 0x0;}),_0x5a4cdd[_0x1cc7('0x32')][_0x1cc7('0x4a')](_0x2c1528=>{const {data:_0x153d76}=_0x2c1528;if(_0x153d76)return _0x1cc7('0x3')==_0x153d76[_0x1cc7('0x4')]?{'type':_0x1cc7('0x3e'),'content':_0x3c8bbf(_0x2be0fe,_0x1cc7('0x30'))}:'splitTableCellHorizontally'==_0x153d76[_0x1cc7('0x4')]?{'type':_0x1cc7('0x3e'),'content':_0x3c8bbf(_0x2be0fe,_0x1cc7('0x2a'))}:void 0x0;});const _0x12721d=_0x5ce96d[_0x1cc7('0xa')]();for(const _0x57f7eb of[_0x1cc7('0x2b'),_0x1cc7('0x20'),_0x1cc7('0x47'),_0x1cc7('0x48')])_0x5a4cdd[_0x1cc7('0x1a')][_0x1cc7('0x10')](_0x1cc7('0x0'),_0x57f7eb,_0x1cc7('0x39'),_0x12721d);for(const _0xe30670 of[_0x1cc7('0x3'),'splitTableCellHorizontally'])_0x5a4cdd[_0x1cc7('0x1a')][_0x1cc7('0x10')](_0x1cc7('0x0'),_0xe30670,_0x1cc7('0x39'),_0x12721d);_0x5a4cdd[_0x1cc7('0x1a')][_0x1cc7('0x10')](_0x1cc7('0x0'),'mergeTableCells',_0x1cc7('0x39'),_0x52395=>{_0x42b070[_0x1cc7('0x37')][_0x1cc7('0x35')](_0x200572=>{const _0x4aeb79=Array[_0x1cc7('0x7')](_0x456c03[_0x1cc7('0x42')]())[_0x1cc7('0x40')](_0x28fcc1=>_0x3b3964[_0x1cc7('0x6')](_0x28fcc1));_0x200572[_0x1cc7('0x21')](_0x52395),_0x42b070[_0x1cc7('0x8')]['get'](_0x1cc7('0xb'))[_0x1cc7('0x4b')](),_0x42b070['execute'](_0x1cc7('0xb'),{'forceDefaultExecution':!0x0});const _0x3c613a=_0x4aeb79[_0x1cc7('0x3b')](_0x26e77b=>'$graveyard'!=_0x26e77b[_0x1cc7('0x25')]['rootName']);_0x3c613a[_0x1cc7('0x41')]>0x0&&_0x200572[_0x1cc7('0x21')](_0x3c613a);for(const _0x3bee7a of _0x4aeb79)_0x3bee7a['detach']();});});for(const _0x4b955d of[_0x1cc7('0x2b'),_0x1cc7('0x47'),_0x1cc7('0x48'),'mergeTableCellRight']){const _0x43ebb5=_0x42b070[_0x1cc7('0x8')][_0x1cc7('0x3a')](_0x4b955d);_0x43ebb5['on'](_0x1cc7('0x5'),(_0x393f3a,_0x253c64,_0x1aea2b)=>{if(_0x1aea2b){const _0x5842ca=_0x42b070[_0x1cc7('0x37')]['document'][_0x1cc7('0x29')][_0x1cc7('0x23')]()[_0x1cc7('0x33')]()[_0x1cc7('0x11')](_0x5c9aef=>_0x5c9aef['is'](_0x1cc7('0x26'),_0x1cc7('0x2')));this[_0x1cc7('0xe')](_0x43ebb5['value'],_0x5842ca)||(_0x393f3a[_0x1cc7('0xd')]=!0x1,_0x393f3a[_0x1cc7('0x1c')]());}},{'priority':_0x1cc7('0x16')});}}[_0x1cc7('0x1f')](){const _0x5dbdc3=this[_0x1cc7('0x1')][_0x1cc7('0x8')][_0x1cc7('0x3a')](_0x1cc7('0xb')),_0x5bcd55=this['editor'][_0x1cc7('0x44')][_0x1cc7('0x3a')](_0x1cc7('0x31'));if(!_0x5dbdc3[_0x1cc7('0x19')])return!0x1;const _0x496671=_0x5bcd55['getSelectionAffectedTableCells'](this['editor'][_0x1cc7('0x37')][_0x1cc7('0x1d')][_0x1cc7('0x29')]);for(const _0xc3621e of _0x496671)for(const _0x5749e3 of _0x496671)if(_0xc3621e!=_0x5749e3&&!this[_0x1cc7('0xe')](_0xc3621e,_0x5749e3))return!0x1;return!0x0;}[_0x1cc7('0xe')](_0x364ace,_0x357c34){const _0x57b548=this['editor'][_0x1cc7('0x44')][_0x1cc7('0x3a')](_0x1cc7('0x4e')),_0x212847=this[_0x1cc7('0x1')][_0x1cc7('0x37')][_0x1cc7('0x2f')](_0x364ace),_0x39f1b9=this[_0x1cc7('0x1')][_0x1cc7('0x37')][_0x1cc7('0x2f')](_0x357c34),_0x6bebaf=new Set(),_0x5c5329=new Set();for(const _0x38fac4 of _0x57b548[_0x1cc7('0x12')]())if((_0x1cc7('0x43')==_0x38fac4['type']||'deletion'==_0x38fac4[_0x1cc7('0x22')]||_0x1cc7('0xb')==_0x38fac4[_0x1cc7('0x4d')])&&_0x38fac4[_0x1cc7('0x15')])for(const _0x22513e of _0x38fac4['getRanges']())_0x22513e['containsRange'](_0x212847,!0x0)&&_0x6bebaf[_0x1cc7('0x24')](_0x38fac4['type']+':'+_0x38fac4['author']['id']),_0x22513e[_0x1cc7('0x28')](_0x39f1b9,!0x0)&&_0x5c5329[_0x1cc7('0x24')](_0x38fac4[_0x1cc7('0x22')]+':'+_0x38fac4['author']['id']);if(_0x6bebaf[_0x1cc7('0x34')]!=_0x5c5329[_0x1cc7('0x34')])return!0x1;for(const _0x36ad37 of _0x6bebaf)if(!_0x5c5329[_0x1cc7('0x1e')](_0x36ad37))return!0x1;return!0x0;}}
@@ -1,3 +1,7 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
1
5
  /**
2
6
  * @module track-changes/integrations/tableofcontents
3
7
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x495b=['plugins','get','insertTableOfContents','enableCommand','TrackChangesEditing','_descriptionFactory','tableOfContents','commands','afterInit','editor','registerElementLabel'];(function(_0x1455f0,_0x495b9a){const _0x18ee0b=function(_0x27e009){while(--_0x27e009){_0x1455f0['push'](_0x1455f0['shift']());}};_0x18ee0b(++_0x495b9a);}(_0x495b,0xb9));const _0x18ee=function(_0x1455f0,_0x495b9a){_0x1455f0=_0x1455f0-0x0;let _0x18ee0b=_0x495b[_0x1455f0];return _0x18ee0b;};import{Plugin as _0x420f01}from'ckeditor5/src/core';import{getTranslation as _0x37d616}from'../utils/common-translations';export default class bt extends _0x420f01{[_0x18ee('0xa')](){const _0x5175a1=this[_0x18ee('0x0')];if(!_0x5175a1[_0x18ee('0x9')]['get'](_0x18ee('0x4')))return;_0x5175a1[_0x18ee('0x2')][_0x18ee('0x3')]('TrackChangesEditing')[_0x18ee('0x5')](_0x18ee('0x4'));const _0x3d062f=_0x5175a1[_0x18ee('0x2')]['get'](_0x18ee('0x6')),_0x2e0a86=_0x5175a1['locale'];_0x3d062f[_0x18ee('0x7')][_0x18ee('0x1')](_0x18ee('0x8'),_0x1c0b0b=>_0x37d616(_0x2e0a86,'ELEMENT_TABLE_OF_CONTENTS',_0x1c0b0b));}}
23
+ const _0x3d33=['insertTableOfContents','get','afterInit','tableOfContents','TrackChangesEditing','registerElementLabel','ELEMENT_TABLE_OF_CONTENTS','locale','plugins'];(function(_0x3f1579,_0x3d333f){const _0x912a18=function(_0x3b6803){while(--_0x3b6803){_0x3f1579['push'](_0x3f1579['shift']());}};_0x912a18(++_0x3d333f);}(_0x3d33,0x16d));const _0x912a=function(_0x3f1579,_0x3d333f){_0x3f1579=_0x3f1579-0x0;let _0x912a18=_0x3d33[_0x3f1579];return _0x912a18;};import{Plugin as _0x44a885}from'ckeditor5/src/core';import{getTranslation as _0x5f2b8c}from'../utils/common-translations';export default class bt extends _0x44a885{[_0x912a('0x6')](){const _0x14979e=this['editor'];if(!_0x14979e['commands']['get'](_0x912a('0x4')))return;_0x14979e[_0x912a('0x3')][_0x912a('0x5')](_0x912a('0x8'))['enableCommand'](_0x912a('0x4'));const _0x2c251a=_0x14979e[_0x912a('0x3')][_0x912a('0x5')](_0x912a('0x8')),_0x511bd5=_0x14979e[_0x912a('0x2')];_0x2c251a['_descriptionFactory'][_0x912a('0x0')](_0x912a('0x7'),_0x5aeb8f=>_0x5f2b8c(_0x511bd5,_0x912a('0x1'),_0x5aeb8f));}}
@@ -1,3 +1,7 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
1
5
  /**
2
6
  * @module track-changes/integrations/tableproperties
3
7
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1ac3=['TableCellPropertiesEditing','getAttribute','table','getSelectionAffectedTableCells','markBlockFormat','accept','has','tableBorderWidth','tableCellBorderWidth','afterInit','commandParams','getSuggestions','*Format:*\x20change\x20table\x20cell\x20properties','selection','*Format:*\x20change\x20table\x20properties','enqueueChange','_descriptionFactory','model','_handlePropertyChange','pluginName','tableCellWidth','locale','_suggestionFactory','formatBlock','TableUtils','tableCellPadding','_getSuggestion','registerCustomCallback','format','tableProperties','document','removeAttribute','tableHeight','data','tableCellBorderColor','get','tableCellProperties','handleDiscardAction','nodeAfter','editor','registerDescriptionCallback','getFirstPosition','tableBorderColor','enableCommand','TrackChangesEditing','tableBorderStyle','handleSuggestionDescription','tableCellBorderStyle','plugins','batch','discard','change','tableBackgroundColor','join','setAttribute','getContainedElement'];(function(_0x2bdf95,_0x1ac307){const _0x561558=function(_0x57282b){while(--_0x57282b){_0x2bdf95['push'](_0x2bdf95['shift']());}};_0x561558(++_0x1ac307);}(_0x1ac3,0x11c));const _0x5615=function(_0x2bdf95,_0x1ac307){_0x2bdf95=_0x2bdf95-0x0;let _0x561558=_0x1ac3[_0x2bdf95];return _0x561558;};import{Plugin as _0x437dc2}from'ckeditor5/src/core';import{getTranslation as _0x3343c2}from'../utils/common-translations';export default class Ct extends _0x437dc2{constructor(_0x625c6){super(_0x625c6),this[_0x5615('0x19')]=[_0x5615('0x26'),_0x5615('0x29'),_0x5615('0x3'),'tableAlignment','tableWidth',_0x5615('0x1c'),_0x5615('0x30')],this['tableCellProperties']=[_0x5615('0x1e'),_0x5615('0x2b'),_0x5615('0x4'),_0x5615('0x15'),_0x5615('0x10'),'tableCellHeight','tableCellBackgroundColor','tableCellHorizontalAlignment','tableCellVerticalAlignment'];}static get[_0x5615('0xf')](){return'TrackChangesTableProperties';}[_0x5615('0x5')](){const _0x490d91=this[_0x5615('0x23')][_0x5615('0x2c')][_0x5615('0x1f')](_0x5615('0x28'));if(this['editor'][_0x5615('0x2c')][_0x5615('0x2')]('TablePropertiesEditing')){for(const _0x5c9bc3 of this[_0x5615('0x19')])_0x490d91[_0x5615('0x27')](_0x5c9bc3,(_0x2108e9,_0x1b4fe9)=>{const _0x3ec0d8=this[_0x5615('0x23')][_0x5615('0xd')][_0x5615('0x1a')][_0x5615('0x9')][_0x5615('0x25')]()['findAncestor'](_0x5615('0x36'));this[_0x5615('0xe')](_0x5c9bc3,[_0x3ec0d8],this[_0x5615('0x19')],_0x5615('0x19'),_0x2108e9,_0x1b4fe9);});_0x490d91[_0x5615('0x12')][_0x5615('0x17')](_0x5615('0x13'),_0x5615('0x19'),_0x5615('0x1'),_0x490d91[_0x5615('0x12')]['getSuggestionCallback'](_0x5615('0x13'),null,_0x5615('0x2e'))),_0x490d91[_0x5615('0x12')][_0x5615('0x17')]('formatBlock',_0x5615('0x19'),_0x5615('0x2e'),(_0x141cfd,_0x53d7cb)=>this['handleDiscardAction'](this[_0x5615('0x19')],_0x141cfd,_0x53d7cb)),_0x490d91[_0x5615('0x12')]['registerCustomCallback'](_0x5615('0x13'),_0x5615('0x19'),_0x5615('0x31'),()=>!0x1);}if(this['editor'][_0x5615('0x2c')]['has'](_0x5615('0x34'))){for(const _0x178a1b of this[_0x5615('0x20')])_0x490d91[_0x5615('0x27')](_0x178a1b,(_0x2a46b0,_0x5dbab3)=>{const _0x346ab1=this['editor'][_0x5615('0x2c')][_0x5615('0x1f')](_0x5615('0x14'))[_0x5615('0x37')](this[_0x5615('0x23')][_0x5615('0xd')][_0x5615('0x1a')][_0x5615('0x9')]);this[_0x5615('0xe')](_0x178a1b,_0x346ab1,this[_0x5615('0x20')],_0x5615('0x20'),_0x2a46b0,_0x5dbab3);});_0x490d91[_0x5615('0x12')]['registerCustomCallback'](_0x5615('0x13'),_0x5615('0x20'),'accept',_0x490d91[_0x5615('0x12')]['getSuggestionCallback'](_0x5615('0x13'),null,_0x5615('0x2e'))),_0x490d91[_0x5615('0x12')][_0x5615('0x17')](_0x5615('0x13'),'tableCellProperties',_0x5615('0x2e'),(_0x31d83f,_0x2130d7)=>this[_0x5615('0x21')](this['tableCellProperties'],_0x31d83f,_0x2130d7)),_0x490d91[_0x5615('0x12')]['registerCustomCallback'](_0x5615('0x13'),'tableCellProperties','join',()=>!0x1);}_0x490d91[_0x5615('0xc')][_0x5615('0x24')](_0x1debd5=>this[_0x5615('0x2a')](_0x1debd5));}['_handlePropertyChange'](_0x589e09,_0x2226bb,_0x4ab491,_0x585be1,_0x34b829,_0x562205){const _0x36b4ef=this['editor']['plugins'][_0x5615('0x1f')](_0x5615('0x28'));this[_0x5615('0x23')][_0x5615('0xd')][_0x5615('0xb')](_0x562205[_0x5615('0x2d')],()=>{for(const _0x1138b4 of _0x2226bb){if(this[_0x5615('0x16')](_0x1138b4,_0x585be1))_0x34b829(_0x562205);else{const _0x32e6fb={};for(const _0x5b1734 of _0x4ab491){const _0x242256=_0x1138b4[_0x5615('0x35')](_0x5b1734);void 0x0!==_0x242256&&(_0x32e6fb[_0x5b1734]=_0x242256);}_0x34b829(_0x562205),_0x36b4ef[_0x5615('0x0')](_0x1138b4,{'commandParams':[_0x32e6fb]},[],_0x585be1);}}});}[_0x5615('0x21')](_0x5c9025,_0x8f0c57,_0xaeaa74){const _0x2a3228=_0x8f0c57[0x0]['start'][_0x5615('0x22')],_0x125184=_0xaeaa74[_0x5615('0x6')][0x0];this[_0x5615('0x23')][_0x5615('0xd')][_0x5615('0x2f')](_0x371a3f=>{for(const _0xb2a875 of _0x5c9025)void 0x0!==_0x125184[_0xb2a875]?_0x371a3f[_0x5615('0x32')](_0xb2a875,_0x125184[_0xb2a875],_0x2a3228):_0x371a3f[_0x5615('0x1b')](_0xb2a875,_0x2a3228);});}['handleSuggestionDescription'](_0x555342){if(_0x555342[_0x5615('0x1d')])switch(_0x555342['subType']){case _0x5615('0x19'):return{'type':_0x5615('0x18'),'content':_0x3343c2(this[_0x5615('0x23')][_0x5615('0x11')],_0x5615('0xa'))};case _0x5615('0x20'):return{'type':_0x5615('0x18'),'content':_0x3343c2(this['editor'][_0x5615('0x11')],_0x5615('0x8'))};}}['_getSuggestion'](_0x4e622e,_0xee64f){const _0x1d610b=this[_0x5615('0x23')][_0x5615('0x2c')][_0x5615('0x1f')]('TrackChangesEditing');for(const _0x50d1df of _0x1d610b[_0x5615('0x7')]({'skipNotAttached':!0x0})){const _0x1c4c89=_0x50d1df[_0x5615('0x33')]();if(_0x50d1df['subType']===_0xee64f&&_0x1c4c89===_0x4e622e)return _0x50d1df;}return null;}}
23
+ const _0x35ef=['_suggestionFactory','editor','removeAttribute','getSuggestionCallback','TrackChangesTableProperties','commandParams','tableHeight','_descriptionFactory','getAttribute','formatBlock','tableCellBackgroundColor','batch','tableWidth','nodeAfter','get','getFirstPosition','getContainedElement','_handlePropertyChange','TableUtils','getSelectionAffectedTableCells','tableBorderStyle','tableAlignment','data','accept','registerCustomCallback','tableCellBorderColor','model','tableBackgroundColor','plugins','_getSuggestion','*Format:*\x20change\x20table\x20cell\x20properties','tableBorderColor','tableCellBorderStyle','TrackChangesEditing','setAttribute','enqueueChange','enableCommand','table','tableCellProperties','tableCellWidth','locale','discard','change','tableProperties','has','*Format:*\x20change\x20table\x20properties','findAncestor','pluginName','subType','tableCellVerticalAlignment','format','handleDiscardAction','TableCellPropertiesEditing','markBlockFormat','join','handleSuggestionDescription','selection'];(function(_0x47b56b,_0x35ef60){const _0x211be1=function(_0x279c58){while(--_0x279c58){_0x47b56b['push'](_0x47b56b['shift']());}};_0x211be1(++_0x35ef60);}(_0x35ef,0x191));const _0x211b=function(_0x47b56b,_0x35ef60){_0x47b56b=_0x47b56b-0x0;let _0x211be1=_0x35ef[_0x47b56b];return _0x211be1;};import{Plugin as _0x2601c6}from'ckeditor5/src/core';import{getTranslation as _0x1dbd5a}from'../utils/common-translations';export default class Ct extends _0x2601c6{constructor(_0xd65224){super(_0xd65224),this[_0x211b('0x29')]=[_0x211b('0x1d'),_0x211b('0x12'),'tableBorderWidth',_0x211b('0x13'),_0x211b('0xa'),_0x211b('0x4'),_0x211b('0x19')],this['tableCellProperties']=[_0x211b('0x17'),_0x211b('0x1e'),'tableCellBorderWidth','tableCellPadding',_0x211b('0x25'),'tableCellHeight',_0x211b('0x8'),'tableCellHorizontalAlignment',_0x211b('0x2f')];}static get[_0x211b('0x2d')](){return _0x211b('0x2');}['afterInit'](){const _0x34696a=this[_0x211b('0x38')]['plugins'][_0x211b('0xc')](_0x211b('0x1f'));if(this[_0x211b('0x38')][_0x211b('0x1a')][_0x211b('0x2a')]('TablePropertiesEditing')){for(const _0x286056 of this[_0x211b('0x29')])_0x34696a[_0x211b('0x22')](_0x286056,(_0x2f1e3b,_0x150402)=>{const _0x3663be=this[_0x211b('0x38')]['model']['document'][_0x211b('0x36')][_0x211b('0xd')]()[_0x211b('0x2c')](_0x211b('0x23'));this['_handlePropertyChange'](_0x286056,[_0x3663be],this['tableProperties'],'tableProperties',_0x2f1e3b,_0x150402);});_0x34696a[_0x211b('0x37')]['registerCustomCallback']('formatBlock','tableProperties','accept',_0x34696a[_0x211b('0x37')]['getSuggestionCallback'](_0x211b('0x7'),null,_0x211b('0x27'))),_0x34696a[_0x211b('0x37')][_0x211b('0x16')](_0x211b('0x7'),_0x211b('0x29'),'discard',(_0x37b909,_0x432ac7)=>this[_0x211b('0x31')](this[_0x211b('0x29')],_0x37b909,_0x432ac7)),_0x34696a[_0x211b('0x37')]['registerCustomCallback'](_0x211b('0x7'),_0x211b('0x29'),_0x211b('0x34'),()=>!0x1);}if(this[_0x211b('0x38')][_0x211b('0x1a')][_0x211b('0x2a')](_0x211b('0x32'))){for(const _0x363c9a of this[_0x211b('0x24')])_0x34696a[_0x211b('0x22')](_0x363c9a,(_0x4724e1,_0xbf18b6)=>{const _0x3a6734=this[_0x211b('0x38')][_0x211b('0x1a')]['get'](_0x211b('0x10'))[_0x211b('0x11')](this[_0x211b('0x38')]['model']['document'][_0x211b('0x36')]);this[_0x211b('0xf')](_0x363c9a,_0x3a6734,this[_0x211b('0x24')],'tableCellProperties',_0x4724e1,_0xbf18b6);});_0x34696a[_0x211b('0x37')][_0x211b('0x16')](_0x211b('0x7'),_0x211b('0x24'),_0x211b('0x15'),_0x34696a[_0x211b('0x37')][_0x211b('0x1')]('formatBlock',null,_0x211b('0x27'))),_0x34696a['_suggestionFactory'][_0x211b('0x16')](_0x211b('0x7'),'tableCellProperties',_0x211b('0x27'),(_0x168319,_0x4d3bfc)=>this[_0x211b('0x31')](this[_0x211b('0x24')],_0x168319,_0x4d3bfc)),_0x34696a[_0x211b('0x37')]['registerCustomCallback'](_0x211b('0x7'),'tableCellProperties',_0x211b('0x34'),()=>!0x1);}_0x34696a[_0x211b('0x5')]['registerDescriptionCallback'](_0x4abbb0=>this[_0x211b('0x35')](_0x4abbb0));}[_0x211b('0xf')](_0x38232e,_0x3d1ad4,_0x187505,_0x202528,_0x27bc4f,_0x50f8b7){const _0x1c5827=this[_0x211b('0x38')]['plugins'][_0x211b('0xc')](_0x211b('0x1f'));this[_0x211b('0x38')][_0x211b('0x18')][_0x211b('0x21')](_0x50f8b7[_0x211b('0x9')],()=>{for(const _0x43acfa of _0x3d1ad4){if(this[_0x211b('0x1b')](_0x43acfa,_0x202528))_0x27bc4f(_0x50f8b7);else{const _0x1f7cf5={};for(const _0x4cfb65 of _0x187505){const _0x448f1f=_0x43acfa[_0x211b('0x6')](_0x4cfb65);void 0x0!==_0x448f1f&&(_0x1f7cf5[_0x4cfb65]=_0x448f1f);}_0x27bc4f(_0x50f8b7),_0x1c5827[_0x211b('0x33')](_0x43acfa,{'commandParams':[_0x1f7cf5]},[],_0x202528);}}});}['handleDiscardAction'](_0xf8d165,_0xe1c759,_0x2cd51f){const _0x58c5bc=_0xe1c759[0x0]['start'][_0x211b('0xb')],_0x231697=_0x2cd51f[_0x211b('0x3')][0x0];this['editor'][_0x211b('0x18')][_0x211b('0x28')](_0x422ca0=>{for(const _0xbe8cb1 of _0xf8d165)void 0x0!==_0x231697[_0xbe8cb1]?_0x422ca0[_0x211b('0x20')](_0xbe8cb1,_0x231697[_0xbe8cb1],_0x58c5bc):_0x422ca0[_0x211b('0x0')](_0xbe8cb1,_0x58c5bc);});}['handleSuggestionDescription'](_0x2268bc){if(_0x2268bc[_0x211b('0x14')])switch(_0x2268bc[_0x211b('0x2e')]){case _0x211b('0x29'):return{'type':_0x211b('0x30'),'content':_0x1dbd5a(this[_0x211b('0x38')][_0x211b('0x26')],_0x211b('0x2b'))};case _0x211b('0x24'):return{'type':_0x211b('0x30'),'content':_0x1dbd5a(this[_0x211b('0x38')][_0x211b('0x26')],_0x211b('0x1c'))};}}[_0x211b('0x1b')](_0x526711,_0x25ae4b){const _0x282d4c=this[_0x211b('0x38')][_0x211b('0x1a')]['get'](_0x211b('0x1f'));for(const _0x4acdd3 of _0x282d4c['getSuggestions']({'skipNotAttached':!0x0})){const _0x56a4cf=_0x4acdd3[_0x211b('0xe')]();if(_0x4acdd3[_0x211b('0x2e')]===_0x25ae4b&&_0x56a4cf===_0x526711)return _0x4acdd3;}return null;}}
@@ -1,3 +1,7 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
1
5
  /**
2
6
  * @module track-changes/integrations/template
3
7
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4950=['TrackChangesEditing','has','Template'];(function(_0x3341f9,_0x495095){const _0x3cd6ea=function(_0x176884){while(--_0x176884){_0x3341f9['push'](_0x3341f9['shift']());}};_0x3cd6ea(++_0x495095);}(_0x4950,0x13b));const _0x3cd6=function(_0x3341f9,_0x495095){_0x3341f9=_0x3341f9-0x0;let _0x3cd6ea=_0x4950[_0x3341f9];return _0x3cd6ea;};import{Plugin as _0x3cb174}from'ckeditor5/src/core';export default class yt extends _0x3cb174{['afterInit'](){const _0x372774=this['editor'];_0x372774['plugins'][_0x3cd6('0x1')](_0x3cd6('0x2'))&&_0x372774['plugins']['get'](_0x3cd6('0x0'))['enableCommand']('insertTemplate');}}
23
+ const _0x1fa6=['get','enableCommand','afterInit','insertTemplate','editor','plugins'];(function(_0x1ec143,_0x1fa616){const _0x1677fa=function(_0x1f96f5){while(--_0x1f96f5){_0x1ec143['push'](_0x1ec143['shift']());}};_0x1677fa(++_0x1fa616);}(_0x1fa6,0xe5));const _0x1677=function(_0x1ec143,_0x1fa616){_0x1ec143=_0x1ec143-0x0;let _0x1677fa=_0x1fa6[_0x1ec143];return _0x1677fa;};import{Plugin as _0x2e3253}from'ckeditor5/src/core';export default class yt extends _0x2e3253{[_0x1677('0x1')](){const _0x51b896=this[_0x1677('0x3')];_0x51b896[_0x1677('0x4')]['has']('Template')&&_0x51b896[_0x1677('0x4')][_0x1677('0x5')]('TrackChangesEditing')[_0x1677('0x0')](_0x1677('0x2'));}}
@@ -1,3 +1,7 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
1
5
  /**
2
6
  * @module track-changes/integrations/title
3
7
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x332e=['schema','differ','element','end','from','TrackChangesEditing','removeMarker','model','_descriptionFactory','editor','ELEMENT_TITLE','suggestion','start','forward','afterInit','locale','get','Title','nodeBefore','isTouching','getChangedMarkers','newRange','getNearestSelectionRange','isEqual','plugins','document','updateMarker','title-content'];(function(_0x195b2d,_0x332ec2){const _0x148270=function(_0x2dd1b1){while(--_0x2dd1b1){_0x195b2d['push'](_0x195b2d['shift']());}};_0x148270(++_0x332ec2);}(_0x332e,0xce));const _0x1482=function(_0x195b2d,_0x332ec2){_0x195b2d=_0x195b2d-0x0;let _0x148270=_0x332e[_0x195b2d];return _0x148270;};import{Plugin as _0x5ddd72}from'ckeditor5/src/core';import{getTranslation as _0x4ffef8}from'../utils/common-translations';export default class St extends _0x5ddd72{[_0x1482('0x4')](){const _0x379d2e=this[_0x1482('0x1b')];if(!_0x379d2e['plugins']['has'](_0x1482('0x7')))return;const _0x46d986=_0x379d2e[_0x1482('0xe')][_0x1482('0x6')](_0x1482('0x17'));_0x46d986[_0x1482('0x1a')]['registerElementLabel'](_0x1482('0x11'),()=>_0x4ffef8(_0x379d2e[_0x1482('0x5')],_0x1482('0x0'))),_0x379d2e['model'][_0x1482('0xf')]['registerPostFixer'](_0x9bd5a5=>{let _0xfc0e29=!0x1;const _0xa28c9c=Array[_0x1482('0x16')](_0x379d2e[_0x1482('0x19')][_0x1482('0xf')][_0x1482('0x13')][_0x1482('0xa')]());for(const {name:_0x51eaee,data:_0x80a7f}of _0xa28c9c){const {group:_0x429cf2}=_0x46d986['_splitMarkerName'](_0x51eaee);if(_0x1482('0x1')!==_0x429cf2||!_0x80a7f[_0x1482('0xb')])continue;const _0x1c5bc2=_0x80a7f[_0x1482('0xb')],_0xb13d4a=_0x1c5bc2['end'][_0x1482('0x8')];if(!_0xb13d4a||!_0xb13d4a['is'](_0x1482('0x14'),'title-content'))continue;if(!_0x1c5bc2[_0x1482('0x2')][_0x1482('0x9')](_0x1c5bc2[_0x1482('0x15')]))continue;const _0x1e895d=_0x379d2e[_0x1482('0x19')][_0x1482('0x12')][_0x1482('0xc')](_0x1c5bc2[_0x1482('0x15')],_0x1482('0x3'));if(_0x1e895d&&_0x1e895d['isCollapsed']){const _0x5d5ed2=_0x9bd5a5['createRange'](_0x1c5bc2[_0x1482('0x2')],_0x1e895d[_0x1482('0x2')]);_0x5d5ed2[_0x1482('0xd')](_0x1c5bc2)||(_0x9bd5a5[_0x1482('0x10')](_0x51eaee,{'range':_0x5d5ed2}),_0xfc0e29=!0x0);}_0xfc0e29||(_0x9bd5a5[_0x1482('0x18')](_0x51eaee),_0xfc0e29=!0x0);}return _0xfc0e29;});}}
23
+ const _0x3552=['differ','forward','registerElementLabel','afterInit','isCollapsed','element','registerPostFixer','title-content','updateMarker','suggestion','locale','editor','document','isEqual','createRange','end','isTouching','removeMarker','model','has','ELEMENT_TITLE','start','get','newRange','nodeBefore'];(function(_0x1bdc86,_0x355250){const _0x45540c=function(_0xd45237){while(--_0xd45237){_0x1bdc86['push'](_0x1bdc86['shift']());}};_0x45540c(++_0x355250);}(_0x3552,0xd9));const _0x4554=function(_0x1bdc86,_0x355250){_0x1bdc86=_0x1bdc86-0x0;let _0x45540c=_0x3552[_0x1bdc86];return _0x45540c;};import{Plugin as _0x3b93f9}from'ckeditor5/src/core';import{getTranslation as _0x50553d}from'../utils/common-translations';export default class St extends _0x3b93f9{[_0x4554('0xb')](){const _0x338837=this[_0x4554('0x13')];if(!_0x338837['plugins'][_0x4554('0x2')]('Title'))return;const _0x4838f6=_0x338837['plugins'][_0x4554('0x5')]('TrackChangesEditing');_0x4838f6['_descriptionFactory'][_0x4554('0xa')](_0x4554('0xf'),()=>_0x50553d(_0x338837[_0x4554('0x12')],_0x4554('0x3'))),_0x338837[_0x4554('0x1')][_0x4554('0x14')][_0x4554('0xe')](_0x474d56=>{let _0x5bc684=!0x1;const _0x4a8b9e=Array['from'](_0x338837[_0x4554('0x1')]['document'][_0x4554('0x8')]['getChangedMarkers']());for(const {name:_0x3ea7b2,data:_0x23f39a}of _0x4a8b9e){const {group:_0x2bd3ef}=_0x4838f6['_splitMarkerName'](_0x3ea7b2);if(_0x4554('0x11')!==_0x2bd3ef||!_0x23f39a[_0x4554('0x6')])continue;const _0x1934d2=_0x23f39a[_0x4554('0x6')],_0xbae1a=_0x1934d2[_0x4554('0x17')][_0x4554('0x7')];if(!_0xbae1a||!_0xbae1a['is'](_0x4554('0xd'),_0x4554('0xf')))continue;if(!_0x1934d2[_0x4554('0x4')][_0x4554('0x18')](_0x1934d2[_0x4554('0x17')]))continue;const _0xb4fffd=_0x338837[_0x4554('0x1')]['schema']['getNearestSelectionRange'](_0x1934d2[_0x4554('0x17')],_0x4554('0x9'));if(_0xb4fffd&&_0xb4fffd[_0x4554('0xc')]){const _0x4765d6=_0x474d56[_0x4554('0x16')](_0x1934d2[_0x4554('0x4')],_0xb4fffd[_0x4554('0x4')]);_0x4765d6[_0x4554('0x15')](_0x1934d2)||(_0x474d56[_0x4554('0x10')](_0x3ea7b2,{'range':_0x4765d6}),_0x5bc684=!0x0);}_0x5bc684||(_0x474d56[_0x4554('0x0')](_0x3ea7b2),_0x5bc684=!0x0);}return _0x5bc684;});}}
@@ -1,3 +1,7 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
1
5
  /**
2
6
  * @module track-changes/integrations/undo
3
7
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x49f9=['redo','TrackChangesEditing','undo','get','enableCommand','plugins','editor','has','UndoEditing'];(function(_0x36c05a,_0x49f95c){const _0x58bece=function(_0x3d7469){while(--_0x3d7469){_0x36c05a['push'](_0x36c05a['shift']());}};_0x58bece(++_0x49f95c);}(_0x49f9,0x14a));const _0x58be=function(_0x36c05a,_0x49f95c){_0x36c05a=_0x36c05a-0x0;let _0x58bece=_0x49f9[_0x36c05a];return _0x58bece;};import{Plugin as _0xf5cb7a}from'ckeditor5/src/core';export default class It extends _0xf5cb7a{['afterInit'](){const _0x2bd4d1=this[_0x58be('0x0')],_0x49faf2=_0x2bd4d1['plugins'][_0x58be('0x6')](_0x58be('0x4'));_0x2bd4d1[_0x58be('0x8')][_0x58be('0x1')](_0x58be('0x2'))&&(_0x49faf2[_0x58be('0x7')](_0x58be('0x5')),_0x49faf2[_0x58be('0x7')](_0x58be('0x3')));}}
23
+ const _0x40d2=['get','redo','undo','afterInit','enableCommand','has','editor','plugins'];(function(_0x1dd728,_0x40d2a5){const _0x205995=function(_0x176f06){while(--_0x176f06){_0x1dd728['push'](_0x1dd728['shift']());}};_0x205995(++_0x40d2a5);}(_0x40d2,0xe1));const _0x2059=function(_0x1dd728,_0x40d2a5){_0x1dd728=_0x1dd728-0x0;let _0x205995=_0x40d2[_0x1dd728];return _0x205995;};import{Plugin as _0x1c8a1a}from'ckeditor5/src/core';export default class It extends _0x1c8a1a{[_0x2059('0x2')](){const _0x4418bf=this[_0x2059('0x5')],_0x2773ff=_0x4418bf[_0x2059('0x6')][_0x2059('0x7')]('TrackChangesEditing');_0x4418bf[_0x2059('0x6')][_0x2059('0x4')]('UndoEditing')&&(_0x2773ff[_0x2059('0x3')](_0x2059('0x1')),_0x2773ff[_0x2059('0x3')](_0x2059('0x0')));}}
@@ -1,3 +1,7 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
1
5
  import type { Editor } from 'ckeditor5/src/core';
2
6
  import type { Range, Model, Element, DowncastAddMarkerEvent } from 'ckeditor5/src/engine';
3
7
  import type { GetCallback } from 'ckeditor5/src/utils';
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1ff3=['TrackChangesEditing','isContent','ck-suggestion-marker-','toViewElement','createRangeOn','type','ck-suggestion-marker--active','model','test','nextSibling','activeMarkers','writer','item','isBlock','getAttribute','isAtEnd','mapper','includes','consumable','element','start','markerRange','previousPosition','listItem','getItems','name','listIndent','span','parent','toViewPosition','getCustomProperty','bindElementToMarker','addClass','markerName','schema','insert','createUIElement'];(function(_0x2ac673,_0x1ff372){const _0x43f505=function(_0x184d7f){while(--_0x184d7f){_0x2ac673['push'](_0x2ac673['shift']());}};_0x43f505(++_0x1ff372);}(_0x1ff3,0x117));const _0x43f5=function(_0x2ac673,_0x1ff372){_0x2ac673=_0x2ac673-0x0;let _0x43f505=_0x1ff3[_0x2ac673];return _0x43f505;};export function getRangesWithAttribute(_0x3040fe,_0x3a974f,_0x4a2257){const _0x2960e7=[];for(const _0x4c8c99 of _0x3a974f[_0x43f5('0x4')]())_0x4c8c99['hasAttribute'](_0x3040fe)&&_0x2960e7['push'](_0x4a2257[_0x43f5('0x15')](_0x4c8c99));return _0x2960e7;}export function getElementsAffectedByListItemRename(_0x846cdf){const _0x38510a=[];if(_0x846cdf['is']('element',_0x43f5('0x3'))){let _0x3965e0=_0x846cdf[_0x43f5('0x1a')];for(;_0x3965e0&&_0x3965e0['is'](_0x43f5('0x24'),_0x43f5('0x3'))&&_0x3965e0[_0x43f5('0x1f')](_0x43f5('0x6'))>0x0;)_0x38510a['push'](_0x3965e0),_0x3965e0=_0x3965e0[_0x43f5('0x1a')];}return _0x38510a;}export function downcastSplitMergeMarker(_0x3716eb,_0x314283,{showActiveMarker:_0x31cd62=!0x0}={}){const _0x135d4a=_0x3716eb['plugins']['get'](_0x43f5('0x11'));return(_0x2bb6b7,_0x131be7,_0x352457)=>{if(!_0x352457[_0x43f5('0x23')][_0x43f5('0x19')](_0x131be7[_0x43f5('0x1')],_0x2bb6b7[_0x43f5('0x5')]))return;const _0x415a17=_0x131be7[_0x43f5('0x1')]['getWalker'](),_0x3c656c=_0x131be7['markerRange'][_0x43f5('0x0')],_0x126d69=_0x3716eb[_0x43f5('0x18')][_0x43f5('0xe')];let _0x51894a=null,_0xd17870=null,_0x1ef01d=!0x1,_0x4dda04=!0x1;for(const _0x39352a of _0x415a17){const _0x1f4588=_0x39352a[_0x43f5('0x1d')];_0x1ef01d=_0x1ef01d||_0x126d69[_0x43f5('0x12')](_0x1f4588);const _0x369415=_0x352457[_0x43f5('0x21')][_0x43f5('0x14')](_0x1f4588);if(_0x369415&&_0x369415[_0x43f5('0xa')]('addHighlight'))return;'elementEnd'==_0x39352a[_0x43f5('0x16')]&&(_0x126d69[_0x43f5('0x1e')](_0x1f4588)&&!_0x126d69['isLimit'](_0x1f4588)&&(_0x1f4588['nextSibling']||_0x3c656c[_0x43f5('0x20')]?_0x51894a&&_0x51894a[_0x43f5('0x8')]==_0x1f4588||(_0x51894a=_0x1f4588,_0x5cde1a(_0x39352a['previousPosition']),_0x4dda04=!0x0):_0xd17870=_0xd17870||_0x39352a[_0x43f5('0x2')]));}function _0x5cde1a(_0x9b74f0){const _0x5a9b48=_0x352457[_0x43f5('0x1c')][_0x43f5('0x10')](_0x43f5('0x7'),{'class':_0x43f5('0x13')+_0x314283}),_0x43fa8e=_0x352457['mapper'][_0x43f5('0x9')](_0x9b74f0);_0x31cd62&&_0x135d4a[_0x43f5('0x1b')][_0x43f5('0x22')](_0x131be7[_0x43f5('0xd')])&&_0x352457[_0x43f5('0x1c')][_0x43f5('0xc')](_0x43f5('0x17'),_0x5a9b48),_0x352457['writer'][_0x43f5('0xf')](_0x43fa8e,_0x5a9b48),_0x352457[_0x43f5('0x21')][_0x43f5('0xb')](_0x5a9b48,_0x131be7[_0x43f5('0xd')]);}_0x1ef01d||_0x4dda04||!_0xd17870||_0x5cde1a(_0xd17870);};}
23
+ const _0x57c9=['consumable','item','isAtEnd','includes','isContent','ck-suggestion-marker--active','mapper','model','getWalker','element','getCustomProperty','type','TrackChangesEditing','createRangeOn','activeMarkers','hasAttribute','previousPosition','createUIElement','span','push','test','schema','toViewPosition','nextSibling','isBlock','parent','ck-suggestion-marker-','listItem','markerRange','get','bindElementToMarker','writer','getItems'];(function(_0x24c833,_0x57c900){const _0x2967ce=function(_0x1478c1){while(--_0x1478c1){_0x24c833['push'](_0x24c833['shift']());}};_0x2967ce(++_0x57c900);}(_0x57c9,0xfe));const _0x2967=function(_0x24c833,_0x57c900){_0x24c833=_0x24c833-0x0;let _0x2967ce=_0x57c9[_0x24c833];return _0x2967ce;};export function getRangesWithAttribute(_0x396b43,_0x487867,_0x46b652){const _0x2c5c57=[];for(const _0x48b4a9 of _0x487867[_0x2967('0x9')]())_0x48b4a9[_0x2967('0x19')](_0x396b43)&&_0x2c5c57['push'](_0x46b652[_0x2967('0x17')](_0x48b4a9));return _0x2c5c57;}export function getElementsAffectedByListItemRename(_0x5ba210){const _0x179d88=[];if(_0x5ba210['is'](_0x2967('0x13'),_0x2967('0x4'))){let _0x41e46e=_0x5ba210['nextSibling'];for(;_0x41e46e&&_0x41e46e['is']('element','listItem')&&_0x41e46e['getAttribute']('listIndent')>0x0;)_0x179d88[_0x2967('0x1d')](_0x41e46e),_0x41e46e=_0x41e46e[_0x2967('0x0')];}return _0x179d88;}export function downcastSplitMergeMarker(_0xd073a1,_0x3c7f75,{showActiveMarker:_0x346ba3=!0x0}={}){const _0xa52d4=_0xd073a1['plugins'][_0x2967('0x6')](_0x2967('0x16'));return(_0x297118,_0x48edbe,_0x2e8346)=>{if(!_0x2e8346[_0x2967('0xa')][_0x2967('0x1e')](_0x48edbe[_0x2967('0x5')],_0x297118['name']))return;const _0x971fa7=_0x48edbe[_0x2967('0x5')][_0x2967('0x12')](),_0x2363b1=_0x48edbe[_0x2967('0x5')]['start'],_0x3f6688=_0xd073a1[_0x2967('0x11')][_0x2967('0x1f')];let _0x447cdf=null,_0xfe1664=null,_0x4309ba=!0x1,_0x1f7d00=!0x1;for(const _0x436e10 of _0x971fa7){const _0x3e8802=_0x436e10[_0x2967('0xb')];_0x4309ba=_0x4309ba||_0x3f6688[_0x2967('0xe')](_0x3e8802);const _0x59dc5d=_0x2e8346[_0x2967('0x10')]['toViewElement'](_0x3e8802);if(_0x59dc5d&&_0x59dc5d[_0x2967('0x14')]('addHighlight'))return;'elementEnd'==_0x436e10[_0x2967('0x15')]&&(_0x3f6688[_0x2967('0x1')](_0x3e8802)&&!_0x3f6688['isLimit'](_0x3e8802)&&(_0x3e8802[_0x2967('0x0')]||_0x2363b1[_0x2967('0xc')]?_0x447cdf&&_0x447cdf[_0x2967('0x2')]==_0x3e8802||(_0x447cdf=_0x3e8802,_0x493438(_0x436e10[_0x2967('0x1a')]),_0x1f7d00=!0x0):_0xfe1664=_0xfe1664||_0x436e10[_0x2967('0x1a')]));}function _0x493438(_0x578c42){const _0x3c1cc9=_0x2e8346[_0x2967('0x8')][_0x2967('0x1b')](_0x2967('0x1c'),{'class':_0x2967('0x3')+_0x3c7f75}),_0x5ec89=_0x2e8346[_0x2967('0x10')][_0x2967('0x20')](_0x578c42);_0x346ba3&&_0xa52d4[_0x2967('0x18')][_0x2967('0xd')](_0x48edbe['markerName'])&&_0x2e8346[_0x2967('0x8')]['addClass'](_0x2967('0xf'),_0x3c1cc9),_0x2e8346[_0x2967('0x8')]['insert'](_0x5ec89,_0x3c1cc9),_0x2e8346[_0x2967('0x10')][_0x2967('0x7')](_0x3c1cc9,_0x48edbe['markerName']);}_0x4309ba||_0x1f7d00||!_0xfe1664||_0x493438(_0xfe1664);};}
@@ -1,3 +1,7 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
1
5
  /**
2
6
  * @module track-changes/suggestion
3
7
  * @publicApi
@@ -8,7 +12,13 @@ import type { CommentThread } from '@ckeditor/ckeditor5-comments';
8
12
  import type { FormatData } from './trackchangesediting';
9
13
  declare const Suggestion_base: {
10
14
  new (): import("ckeditor5/src/utils").Observable;
11
- prototype: import("ckeditor5/src/utils").Observable;
15
+ prototype: import("ckeditor5/src/utils").Observable; /**
16
+ * Previous suggestion in suggestions chain.
17
+ *
18
+ * Chained suggestions should be handled as one entity.
19
+ *
20
+ * @observable
21
+ */
12
22
  };
13
23
  /**
14
24
  * Represents a singular suggestion that is tracked by track changes plugin.
package/src/suggestion.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x200c=['isInContent','from','end','split','author','substr','clear','onAccept','set','start','size','suggestion:','_onAttributesChange','reduce','_onDiscard','commentThread','createdAt','accept','decorate','next','getMarkerNames','discard','getMarkers','creator','isExternal','@external','getRanges','_onAccept','delete','attributes','_saved','onAttributesChange','length','change','_markerNames','filter','type','push','onDiscard','toJSON','setAttribute','addRange','removeMarker','getMultiRangeId','removeMarkers','head','getFirstRange','data','getFirstMarker','addMarkerName','_model','previous','subType','addMarker','hasComments','getRange','map'];(function(_0x3484fb,_0x200c4d){const _0x59f11c=function(_0x31dd2e){while(--_0x31dd2e){_0x3484fb['push'](_0x3484fb['shift']());}};_0x59f11c(++_0x200c4d);}(_0x200c,0x140));const _0x59f1=function(_0x3484fb,_0x200c4d){_0x3484fb=_0x3484fb-0x0;let _0x59f11c=_0x200c[_0x3484fb];return _0x59f11c;};import{Element as _0x218365}from'ckeditor5/src/engine';import{ObservableMixin as _0x528874,uid as _0x23d720}from'ckeditor5/src/utils';import{cloneDeep as _0x1f8aca,isEqual as _0x4954f7,set as _0x91b29e,unset as _0x54591d}from'lodash-es';export default class u extends _0x528874(){constructor(_0x368e02,_0x428feb){super(),this['id']=_0x428feb['id'],this['type']=_0x428feb[_0x59f1('0x1')],this[_0x59f1('0x11')]=_0x428feb[_0x59f1('0x11')]||null,this['author']=_0x428feb[_0x59f1('0x1a')],this[_0x59f1('0x2d')]=_0x428feb[_0x59f1('0x2d')]||_0x428feb[_0x59f1('0x1a')],this[_0x59f1('0x2e')]=Boolean(_0x428feb[_0x59f1('0x33')]&&_0x428feb[_0x59f1('0x33')][_0x59f1('0x2f')]),this[_0x59f1('0xc')]=null,this[_0x59f1('0xf')]=_0x368e02,this[_0x59f1('0x31')]=_0x428feb[_0x59f1('0x1d')],this[_0x59f1('0x24')]=_0x428feb[_0x59f1('0x3')],this[_0x59f1('0x22')]=_0x428feb[_0x59f1('0x35')],this[_0x59f1('0x38')]=new Set(),this[_0x59f1('0x26')]=null,this['set']('authoredAt',null),this[_0x59f1('0x1e')](_0x59f1('0x33'),_0x428feb[_0x59f1('0x33')]||{}),this[_0x59f1('0x1e')](_0x59f1('0x10'),null),this[_0x59f1('0x1e')](_0x59f1('0x29'),null),this[_0x59f1('0x1e')](_0x59f1('0x25'),null),this[_0x59f1('0x1e')](_0x59f1('0x34'),!0x1),this['decorate'](_0x59f1('0x27')),this[_0x59f1('0x28')](_0x59f1('0x2b'));}get[_0x59f1('0xa')](){let _0x5c727c=this;for(;_0x5c727c[_0x59f1('0x10')];)_0x5c727c=_0x5c727c['previous'];return _0x5c727c;}get[_0x59f1('0x13')](){return!!this[_0x59f1('0x25')]&&this[_0x59f1('0x25')]['length']>0x0;}get['isMultiRange'](){if(0x0==this['_markerNames'][_0x59f1('0x20')])return!0x1;return 0x6==Array[_0x59f1('0x17')](this[_0x59f1('0x38')])[0x0][_0x59f1('0x19')](':')[_0x59f1('0x36')];}get[_0x59f1('0x16')](){return null!==this['getFirstMarker']();}[_0x59f1('0xe')](_0x2ecb67){this[_0x59f1('0x38')]['add'](_0x2ecb67);}[_0x59f1('0x2a')](){return Array[_0x59f1('0x17')](this[_0x59f1('0x38')]);}[_0x59f1('0x2c')](){return this[_0x59f1('0x2a')]()[_0x59f1('0x15')](_0x19b91f=>this[_0x59f1('0xf')]['markers']['get'](_0x19b91f))[_0x59f1('0x0')](_0x3a5884=>_0x3a5884);}['getFirstMarker'](){return this[_0x59f1('0x2c')]()[0x0]||null;}['removeMarkers'](){this[_0x59f1('0xf')]['change'](_0x2be8e0=>{for(const _0x13dba9 of this[_0x59f1('0x2c')]())_0x2be8e0[_0x59f1('0x7')](_0x13dba9);}),this[_0x59f1('0x38')][_0x59f1('0x1c')]();}[_0x59f1('0x7')](_0x45b0ac){this[_0x59f1('0xf')][_0x59f1('0x37')](_0x2f5967=>{_0x2f5967[_0x59f1('0x7')](_0x45b0ac);}),this[_0x59f1('0x38')][_0x59f1('0x32')](_0x45b0ac);}[_0x59f1('0x6')](_0x29eaf6){const _0x5e8056=_0x59f1('0x21')+this[_0x59f1('0x1')]+':'+this[_0x59f1('0x11')]+':'+this['id']+':'+this['creator']['id']+':'+u['getMultiRangeId']();this[_0x59f1('0xe')](_0x5e8056),this[_0x59f1('0xf')][_0x59f1('0x37')](_0x9e6a4a=>{_0x9e6a4a[_0x59f1('0x12')](_0x5e8056,{'range':_0x29eaf6,'usingOperation':!0x0,'affectsData':!0x0});});}['isIntersectingWithRange'](_0x3a703e){for(const _0x48e578 of this['getRanges']())if(_0x48e578['isIntersecting'](_0x3a703e))return!0x0;return!0x1;}[_0x59f1('0x30')](){return this[_0x59f1('0x2c')]()[_0x59f1('0x15')](_0x5d36b7=>_0x5d36b7['getRange']());}['getItems'](){return this[_0x59f1('0x30')]()[_0x59f1('0x23')]((_0x41b453,_0x2a462a)=>[..._0x41b453,..._0x2a462a['getItems']()],[]);}[_0x59f1('0xb')](){var _0x3266e8;return(null===(_0x3266e8=this[_0x59f1('0xd')]())||void 0x0===_0x3266e8?void 0x0:_0x3266e8[_0x59f1('0x14')]())||null;}['getContainedElement'](){const _0x5ce0d8=this[_0x59f1('0x30')]();if(0x1!=_0x5ce0d8['length'])return null;const _0x798e60=_0x5ce0d8[0x0],_0x2e3fee=_0x798e60[_0x59f1('0x1f')]['nodeAfter'],_0x5c9ec8=_0x798e60[_0x59f1('0x18')]['nodeBefore'];return _0x2e3fee instanceof _0x218365?_0x2e3fee!=_0x5c9ec8?null:_0x2e3fee:null;}[_0x59f1('0x27')](){this[_0x59f1('0x31')](this[_0x59f1('0x30')](),this[_0x59f1('0xc')],this['attributes']),this[_0x59f1('0x9')]();}[_0x59f1('0x2b')](){this['_onDiscard'](this[_0x59f1('0x30')](),this[_0x59f1('0xc')],this['attributes']),this[_0x59f1('0x9')]();}['getAllAdjacentSuggestions'](){const _0x42b074=[];let _0x3326e8=this[_0x59f1('0xa')];for(;_0x3326e8;)_0x42b074[_0x59f1('0x2')](_0x3326e8),_0x3326e8=_0x3326e8['next'];return _0x42b074;}[_0x59f1('0x5')](_0x4b5a88,_0x3ee6e4){const _0x3b3903=_0x1f8aca(this[_0x59f1('0x33')]);_0x91b29e(_0x3b3903,_0x4b5a88,_0x3ee6e4),_0x4954f7(_0x3b3903,this['attributes'])||(this[_0x59f1('0x33')]=_0x3b3903,this['_onAttributesChange'](_0x3b3903));}['removeAttribute'](_0x3a599f){const _0x28c796=_0x1f8aca(this[_0x59f1('0x33')]);_0x54591d(_0x28c796,_0x3a599f),_0x4954f7(_0x28c796,this['attributes'])||(this[_0x59f1('0x33')]=_0x28c796,this[_0x59f1('0x22')](this[_0x59f1('0x33')]));}[_0x59f1('0x4')](){return{'id':this['id'],'type':this[_0x59f1('0x11')]?this[_0x59f1('0x1')]+':'+this[_0x59f1('0x11')]:this[_0x59f1('0x1')],'authorId':this['creator']['id'],'createdAt':this['createdAt'],'hasComments':this[_0x59f1('0x13')],'data':this['data'],'attributes':this[_0x59f1('0x33')]};}static[_0x59f1('0x8')](){return _0x23d720()[_0x59f1('0x1b')](0x1,0x5);}}
23
+ const _0x482c=['addRange','commentThread','_onAttributesChange','push','creator','getMultiRangeId','reduce','attributes','addMarker','_onDiscard','accept','next','getFirstMarker','hasComments','createdAt','map','getMarkers','_saved','change','getFirstRange','getItems','markers','isIntersecting','substr','isMultiRange','onAccept','removeMarkers','authoredAt','delete','decorate','_onAccept','_model','getRanges','isExternal','isInContent','get','from','data','getContainedElement','addMarkerName','removeMarker','head','filter','clear','onAttributesChange','end','split','onDiscard','getAllAdjacentSuggestions','getRange','add','_markerNames','previous','length','set','author','subType','type','discard'];(function(_0x4ae3ca,_0x482c52){const _0x408c44=function(_0x2ec0bb){while(--_0x2ec0bb){_0x4ae3ca['push'](_0x4ae3ca['shift']());}};_0x408c44(++_0x482c52);}(_0x482c,0x19e));const _0x408c=function(_0x4ae3ca,_0x482c52){_0x4ae3ca=_0x4ae3ca-0x0;let _0x408c44=_0x482c[_0x4ae3ca];return _0x408c44;};import{Element as _0x2dffe5}from'ckeditor5/src/engine';import{ObservableMixin as _0x2e8d68,uid as _0x413fcf}from'ckeditor5/src/utils';import{cloneDeep as _0x1f011b,isEqual as _0x426781,set as _0x2ed7e2,unset as _0x1bb145}from'lodash-es';export default class u extends _0x2e8d68(){constructor(_0x3357c1,_0x1ea126){super(),this['id']=_0x1ea126['id'],this['type']=_0x1ea126[_0x408c('0x38')],this[_0x408c('0x37')]=_0x1ea126[_0x408c('0x37')]||null,this[_0x408c('0x36')]=_0x1ea126[_0x408c('0x36')],this[_0x408c('0x3')]=_0x1ea126['creator']||_0x1ea126[_0x408c('0x36')],this[_0x408c('0x20')]=Boolean(_0x1ea126[_0x408c('0x6')]&&_0x1ea126[_0x408c('0x6')]['@external']),this[_0x408c('0x24')]=null,this[_0x408c('0x1e')]=_0x3357c1,this['_onAccept']=_0x1ea126[_0x408c('0x18')],this[_0x408c('0x8')]=_0x1ea126[_0x408c('0x2e')],this[_0x408c('0x1')]=_0x1ea126[_0x408c('0x2b')],this[_0x408c('0x32')]=new Set(),this[_0x408c('0xd')]=null,this[_0x408c('0x35')](_0x408c('0x1a'),null),this['set'](_0x408c('0x6'),_0x1ea126[_0x408c('0x6')]||{}),this[_0x408c('0x35')]('previous',null),this['set'](_0x408c('0xa'),null),this[_0x408c('0x35')](_0x408c('0x0'),null),this[_0x408c('0x35')](_0x408c('0x10'),!0x1),this['decorate'](_0x408c('0x9')),this[_0x408c('0x1c')](_0x408c('0x39'));}get[_0x408c('0x28')](){let _0x10d7f6=this;for(;_0x10d7f6[_0x408c('0x33')];)_0x10d7f6=_0x10d7f6[_0x408c('0x33')];return _0x10d7f6;}get[_0x408c('0xc')](){return!!this['commentThread']&&this[_0x408c('0x0')]['length']>0x0;}get[_0x408c('0x17')](){if(0x0==this['_markerNames']['size'])return!0x1;return 0x6==Array['from'](this[_0x408c('0x32')])[0x0][_0x408c('0x2d')](':')[_0x408c('0x34')];}get[_0x408c('0x21')](){return null!==this[_0x408c('0xb')]();}[_0x408c('0x26')](_0x1b81e0){this[_0x408c('0x32')][_0x408c('0x31')](_0x1b81e0);}['getMarkerNames'](){return Array[_0x408c('0x23')](this[_0x408c('0x32')]);}[_0x408c('0xf')](){return this['getMarkerNames']()[_0x408c('0xe')](_0x27d898=>this[_0x408c('0x1e')][_0x408c('0x14')][_0x408c('0x22')](_0x27d898))[_0x408c('0x29')](_0x3148d=>_0x3148d);}[_0x408c('0xb')](){return this[_0x408c('0xf')]()[0x0]||null;}[_0x408c('0x19')](){this[_0x408c('0x1e')][_0x408c('0x11')](_0x4cbea6=>{for(const _0x281940 of this['getMarkers']())_0x4cbea6[_0x408c('0x27')](_0x281940);}),this['_markerNames'][_0x408c('0x2a')]();}[_0x408c('0x27')](_0x4302eb){this[_0x408c('0x1e')][_0x408c('0x11')](_0x1c26fe=>{_0x1c26fe['removeMarker'](_0x4302eb);}),this[_0x408c('0x32')][_0x408c('0x1b')](_0x4302eb);}[_0x408c('0x3a')](_0x5ba4d8){const _0x35d6b7='suggestion:'+this[_0x408c('0x38')]+':'+this[_0x408c('0x37')]+':'+this['id']+':'+this[_0x408c('0x3')]['id']+':'+u[_0x408c('0x4')]();this[_0x408c('0x26')](_0x35d6b7),this[_0x408c('0x1e')][_0x408c('0x11')](_0x110aff=>{_0x110aff[_0x408c('0x7')](_0x35d6b7,{'range':_0x5ba4d8,'usingOperation':!0x0,'affectsData':!0x0});});}['isIntersectingWithRange'](_0x53938f){for(const _0x341c0a of this[_0x408c('0x1f')]())if(_0x341c0a[_0x408c('0x15')](_0x53938f))return!0x0;return!0x1;}[_0x408c('0x1f')](){return this[_0x408c('0xf')]()[_0x408c('0xe')](_0xc80160=>_0xc80160['getRange']());}[_0x408c('0x13')](){return this[_0x408c('0x1f')]()[_0x408c('0x5')]((_0x3919ce,_0xc6deb4)=>[..._0x3919ce,..._0xc6deb4[_0x408c('0x13')]()],[]);}[_0x408c('0x12')](){var _0x51ccfd;return(null===(_0x51ccfd=this[_0x408c('0xb')]())||void 0x0===_0x51ccfd?void 0x0:_0x51ccfd[_0x408c('0x30')]())||null;}[_0x408c('0x25')](){const _0x56325f=this['getRanges']();if(0x1!=_0x56325f[_0x408c('0x34')])return null;const _0x263ea3=_0x56325f[0x0],_0x3124ec=_0x263ea3['start']['nodeAfter'],_0x11adb1=_0x263ea3[_0x408c('0x2c')]['nodeBefore'];return _0x3124ec instanceof _0x2dffe5?_0x3124ec!=_0x11adb1?null:_0x3124ec:null;}[_0x408c('0x9')](){this[_0x408c('0x1d')](this[_0x408c('0x1f')](),this[_0x408c('0x24')],this[_0x408c('0x6')]),this[_0x408c('0x19')]();}[_0x408c('0x39')](){this[_0x408c('0x8')](this['getRanges'](),this['data'],this['attributes']),this[_0x408c('0x19')]();}[_0x408c('0x2f')](){const _0x5c4511=[];let _0x4429e1=this[_0x408c('0x28')];for(;_0x4429e1;)_0x5c4511[_0x408c('0x2')](_0x4429e1),_0x4429e1=_0x4429e1['next'];return _0x5c4511;}['setAttribute'](_0x41ab3b,_0x253d1b){const _0x13d026=_0x1f011b(this[_0x408c('0x6')]);_0x2ed7e2(_0x13d026,_0x41ab3b,_0x253d1b),_0x426781(_0x13d026,this[_0x408c('0x6')])||(this[_0x408c('0x6')]=_0x13d026,this[_0x408c('0x1')](_0x13d026));}['removeAttribute'](_0x4bdaf3){const _0x12bbd4=_0x1f011b(this[_0x408c('0x6')]);_0x1bb145(_0x12bbd4,_0x4bdaf3),_0x426781(_0x12bbd4,this[_0x408c('0x6')])||(this['attributes']=_0x12bbd4,this['_onAttributesChange'](this[_0x408c('0x6')]));}['toJSON'](){return{'id':this['id'],'type':this[_0x408c('0x37')]?this[_0x408c('0x38')]+':'+this[_0x408c('0x37')]:this[_0x408c('0x38')],'authorId':this['creator']['id'],'createdAt':this[_0x408c('0xd')],'hasComments':this['hasComments'],'data':this['data'],'attributes':this[_0x408c('0x6')]};}static[_0x408c('0x4')](){return _0x413fcf()[_0x408c('0x16')](0x1,0x5);}}
@@ -1,6 +1,6 @@
1
1
  /**
2
- * @module track-changes/suggestiondescriptionfactory
3
- * @publicApi
2
+ * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  import { type Locale, type PriorityString } from 'ckeditor5/src/utils';
6
6
  import type { Schema, Element } from 'ckeditor5/src/engine';
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2774=['previousSibling','pop','item','removeContainer','removeObject','getWalker','_customCallbacks','ELEMENT_SPACE','removeEmptyContainer','*Split:*\x20%0','EmptyContainer','$textProxy','remove','_locale','addEmptyContainer','match','deletion','insertion','addObject','*Merge:*\x20%0','text','elementEnd','$1\x20$2','getFirstRange','get','set','Object','getDescriptions','type','add','matchingCallback','name','function','*Remove:*\x20%0','checkChild','quantity','_itemLabels','isObject','_addDescriptionItems','isEqual','Container','skip','data','_itemLabelsCallbacks','_resolveDescriptionItems','replace','$text','label','start','indexOf','nextSibling','push','REPLACE_TEXT','_schema','length','element','getItemLabel','elementStart','*Insert:*\x20%0','isEmpty','addContainer'];(function(_0x4bd53a,_0x277422){const _0x2652a8=function(_0x47fef2){while(--_0x47fef2){_0x4bd53a['push'](_0x4bd53a['shift']());}};_0x2652a8(++_0x277422);}(_0x2774,0x1a2));const _0x2652=function(_0x4bd53a,_0x277422){_0x4bd53a=_0x4bd53a-0x0;let _0x2652a8=_0x2774[_0x4bd53a];return _0x2652a8;};import{getTranslation as _0xbf4356}from'./utils/common-translations';import{priorities as _0x58b9ef,insertToPriorityArray as _0x2d78a7}from'ckeditor5/src/utils';export default class m{constructor(_0x4e7d0e,_0x1d05e1){this[_0x2652('0xf')]=[],this[_0x2652('0x2d')]=new Map(),this[_0x2652('0x34')]=[],this[_0x2652('0x1')]=_0x4e7d0e,this[_0x2652('0x16')]=_0x1d05e1;}[_0x2652('0x24')](_0x349331){const _0x18181a=[];for(let _0xd4c7d1=0x0;_0xd4c7d1<_0x349331[_0x2652('0x2')];_0xd4c7d1++){const _0x119730=_0x349331[_0xd4c7d1];if(!_0x119730['isInContent'])continue;let _0x57be0c=!0x1;for(const _0x5302d6 of this[_0x2652('0xf')]){const _0x56b17b=_0x5302d6(_0x119730);if(_0x56b17b){_0x2652('0x25')in _0x56b17b&&_0x18181a['push'](_0x56b17b),_0x57be0c=!0x0;break;}}if(!_0x57be0c){this[_0x2652('0x2f')](_0x18181a,_0x119730);const _0x2d4876=_0x349331[_0xd4c7d1+0x1];if(_0x2d4876&&!_0x119730[_0x2652('0x20')]()['end'][_0x2652('0x30')](_0x2d4876['getFirstRange']()[_0x2652('0x39')])){const _0x3ca0e0=_0x18181a[_0x18181a[_0x2652('0x2')]-0x1],_0x4ba374=_0x2652('0x1a')==_0x119730[_0x2652('0x25')]?_0x2652('0x26'):_0x2652('0x15');_0x3ca0e0&&'text'==_0x3ca0e0[_0x2652('0x25')]&&(_0x3ca0e0[_0x4ba374]+='\x0a');}}}return this[_0x2652('0x35')](_0x18181a);}['registerDescriptionCallback'](_0x95f0b2){this[_0x2652('0xf')]['push'](_0x95f0b2);}['registerElementLabel'](_0x3e8dcc,_0x458d65,_0x324974=_0x58b9ef['normal']){_0x2652('0x29')==typeof _0x3e8dcc?_0x2d78a7(this[_0x2652('0x34')],{'matchingCallback':_0x3e8dcc,'label':_0x458d65,'priority':_0x324974}):this[_0x2652('0x2d')][_0x2652('0x22')](_0x3e8dcc,_0x458d65);}[_0x2652('0x4')](_0x547a99,_0xe3fd4a=0x1){let _0x1cbd9d;for(const _0x4e6b1d of this[_0x2652('0x34')])if(_0x4e6b1d[_0x2652('0x27')](_0x547a99)){_0x1cbd9d=_0x4e6b1d[_0x2652('0x38')];break;}return _0x1cbd9d||(_0x1cbd9d=this['_itemLabels'][_0x2652('0x21')](_0x547a99[_0x2652('0x28')])),_0x1cbd9d?_0x1cbd9d(_0xe3fd4a):0x1!==_0xe3fd4a?_0xe3fd4a+'\x20'+_0x547a99['name']+'s':''+_0x547a99[_0x2652('0x28')];}[_0x2652('0x2f')](_0x1af2a1,_0x4f2f3b){const _0x42fbf6=_0x4f2f3b[_0x2652('0x20')]()[_0x2652('0xe')](),_0xcd4cd0=_0x2652('0x1a')==_0x4f2f3b[_0x2652('0x25')]?'add':_0x2652('0x15');for(const _0x1450cd of _0x42fbf6){const _0x4b865c=_0x1450cd[_0x2652('0xb')],_0x389479=_0x1af2a1[_0x1af2a1[_0x2652('0x2')]-0x1];if(_0x4b865c['is'](_0x2652('0x14')))_0x389479&&_0x389479[_0x2652('0x25')]['indexOf']('Container')>-0x1&&_0x1af2a1[_0x2652('0xa')](),_0x389479&&_0x2652('0x1d')==_0x389479['type']?_0x389479[_0xcd4cd0]+=_0x4b865c[_0x2652('0x33')]:_0x1af2a1[_0x2652('0x3c')]({'type':'text','add':_0x2652('0x26')==_0xcd4cd0?_0x4b865c[_0x2652('0x33')]:'','remove':_0x2652('0x15')==_0xcd4cd0?_0x4b865c[_0x2652('0x33')]:''});else{if(this[_0x2652('0x1')][_0x2652('0x2e')](_0x4b865c)){const _0xb97f57=_0x4b865c;if(_0x389479&&_0x389479[_0x2652('0x25')]['indexOf'](_0x2652('0x31'))>-0x1&&_0x1af2a1[_0x2652('0xa')](),_0x2652('0x1e')==_0x1450cd[_0x2652('0x25')])continue;_0x389479&&_0x389479[_0x2652('0x25')]==_0xcd4cd0+_0x2652('0x23')&&_0x389479['element']['name']==_0xb97f57[_0x2652('0x28')]?_0x389479['quantity']++:_0x1af2a1[_0x2652('0x3c')]({'type':_0xcd4cd0+_0x2652('0x23'),'element':_0xb97f57,'quantity':0x1}),_0x42fbf6[_0x2652('0x32')](_0x35ff91=>!(_0x2652('0x1e')==_0x35ff91['type']&&_0x35ff91[_0x2652('0xb')]==_0x4b865c));}else{if(this[_0x2652('0x1')][_0x2652('0x2b')](_0x4b865c,_0x2652('0x37'))||_0x4b865c['is'](_0x2652('0x3'),'softBreak')){const _0x9f8b28=_0x4b865c;if(_0x2652('0x26')==_0xcd4cd0&&_0x2652('0x5')==_0x1450cd[_0x2652('0x25')]||_0x2652('0x15')==_0xcd4cd0&&_0x2652('0x1e')==_0x1450cd['type'])continue;if(_0x389479&&-0x1==_0x389479['type'][_0x2652('0x3a')](_0x2652('0x31'))){_0x2652('0x1d')==_0x389479['type']&&(_0x389479[_0xcd4cd0]+='\x0a');continue;}let _0x312ebd;if(_0x312ebd=_0x2652('0x26')==_0xcd4cd0?_0x9f8b28[_0x2652('0x3b')]&&!this[_0x2652('0x1')][_0x2652('0x2e')](_0x9f8b28['nextSibling'])?_0x9f8b28[_0x2652('0x3b')]:null:_0x9f8b28[_0x2652('0x9')]&&!this[_0x2652('0x1')][_0x2652('0x2e')](_0x9f8b28[_0x2652('0x9')])?_0x9f8b28[_0x2652('0x9')]:null,_0x9f8b28[_0x2652('0x7')]||_0x312ebd&&_0x312ebd[_0x2652('0x7')]){const _0x383718=_0x312ebd&&_0x312ebd['isEmpty']?_0x312ebd:_0x9f8b28;_0x389479&&_0x389479[_0x2652('0x25')]==_0xcd4cd0+_0x2652('0x13')&&_0x389479[_0x2652('0x3')][_0x2652('0x28')]==_0x383718[_0x2652('0x28')]?_0x389479[_0x2652('0x2c')]++:_0x1af2a1[_0x2652('0x3c')]({'type':_0xcd4cd0+_0x2652('0x13'),'element':_0x383718,'quantity':0x1});}else _0x1af2a1['push']({'type':_0xcd4cd0+_0x2652('0x31'),'element':_0x9f8b28});}}}}}[_0x2652('0x35')](_0x16fb0c){const _0x4dcac1=this['_locale'],_0x2f24a8=[];for(const _0x3f2397 of _0x16fb0c){switch(_0x3f2397[_0x2652('0x25')]){case _0x2652('0x1d'):if(_0x3f2397[_0x2652('0x26')]=_0x3f2397[_0x2652('0x26')][_0x2652('0x36')](/(\S)\u000A+(\S)/g,_0x2652('0x1f'))['replace'](/\u000A/g,''),_0x3f2397[_0x2652('0x15')]=_0x3f2397['remove'][_0x2652('0x36')](/(\S)\u000A+(\S)/g,_0x2652('0x1f'))[_0x2652('0x36')](/\u000A/g,''),''!=_0x3f2397[_0x2652('0x26')]&&''!=_0x3f2397[_0x2652('0x15')]){_0x2f24a8[_0x2652('0x3c')]({'type':_0x2652('0x36'),'content':_0xbf4356(_0x4dcac1,_0x2652('0x0'),['\x22'+_0x3f2397['remove']+'\x22','\x22'+_0x3f2397[_0x2652('0x26')]+'\x22'])});continue;}if(null!=_0x3f2397[_0x2652('0x26')][_0x2652('0x18')](/^ +$/)){_0x2f24a8[_0x2652('0x3c')]({'type':'insertion','content':_0xbf4356(_0x4dcac1,_0x2652('0x6'),_0xbf4356(_0x4dcac1,_0x2652('0x10'),_0x3f2397[_0x2652('0x26')][_0x2652('0x2')]))});continue;}if(null!=_0x3f2397[_0x2652('0x15')][_0x2652('0x18')](/^ +$/)){_0x2f24a8[_0x2652('0x3c')]({'type':_0x2652('0x19'),'content':_0xbf4356(_0x4dcac1,_0x2652('0x2a'),_0xbf4356(_0x4dcac1,_0x2652('0x10'),_0x3f2397[_0x2652('0x15')]['length']))});continue;}if(''!=_0x3f2397['add']){_0x2f24a8[_0x2652('0x3c')]({'type':'insertion','content':_0xbf4356(_0x4dcac1,_0x2652('0x6'),'\x22'+_0x3f2397[_0x2652('0x26')]+'\x22')});continue;}_0x2f24a8['push']({'type':_0x2652('0x19'),'content':_0xbf4356(_0x4dcac1,_0x2652('0x2a'),'\x22'+_0x3f2397[_0x2652('0x15')]+'\x22')});continue;case _0x2652('0x17'):case _0x2652('0x1b'):_0x2f24a8[_0x2652('0x3c')]({'type':_0x2652('0x1a'),'content':_0xbf4356(_0x4dcac1,_0x2652('0x6'),this[_0x2652('0x4')](_0x3f2397['element'],_0x3f2397[_0x2652('0x2c')]))});continue;case _0x2652('0x11'):case _0x2652('0xd'):_0x2f24a8['push']({'type':_0x2652('0x19'),'content':_0xbf4356(_0x4dcac1,_0x2652('0x2a'),this[_0x2652('0x4')](_0x3f2397['element'],_0x3f2397[_0x2652('0x2c')]))});continue;case _0x2652('0x8'):_0x2f24a8['push']({'type':_0x2652('0x1a'),'content':_0xbf4356(_0x4dcac1,_0x2652('0x12'),this['getItemLabel'](_0x3f2397[_0x2652('0x3')],_0x3f2397[_0x2652('0x2c')]))});continue;case _0x2652('0xc'):_0x2f24a8[_0x2652('0x3c')]({'type':_0x2652('0x19'),'content':_0xbf4356(_0x4dcac1,_0x2652('0x1c'),this[_0x2652('0x4')](_0x3f2397['element'],_0x3f2397[_0x2652('0x2c')]))});continue;}_0x2f24a8[_0x2652('0x3c')](_0x3f2397);}return _0x2f24a8;}}
23
+ const _0x5d12=['indexOf','_itemLabels','*Insert:*\x20%0','addContainer','remove','add','Container','_schema','removeObject','_resolveDescriptionItems','registerElementLabel','$textProxy','quantity','deletion','Object','end','type','replace','ELEMENT_SPACE','isInContent','set','REPLACE_TEXT','isObject','text','addEmptyContainer','getItemLabel','label','$text','_itemLabelsCallbacks','element','nextSibling','pop','insertion','_addDescriptionItems','start','length','getFirstRange','isEqual','push','_customCallbacks','registerDescriptionCallback','$1\x20$2','*Remove:*\x20%0','isEmpty','_locale','getWalker','item','EmptyContainer','elementStart','name','elementEnd','removeEmptyContainer','data','get','previousSibling','match'];(function(_0x580d42,_0x5d123e){const _0xdee746=function(_0x50df7c){while(--_0x50df7c){_0x580d42['push'](_0x580d42['shift']());}};_0xdee746(++_0x5d123e);}(_0x5d12,0x1d6));const _0xdee7=function(_0x580d42,_0x5d123e){_0x580d42=_0x580d42-0x0;let _0xdee746=_0x5d12[_0x580d42];return _0xdee746;};import{getTranslation as _0x61c7a8}from'./utils/common-translations';import{priorities as _0x4e6dec,insertToPriorityArray as _0x40049d}from'ckeditor5/src/utils';export default class m{constructor(_0x38eb0a,_0x5d482c){this['_customCallbacks']=[],this['_itemLabels']=new Map(),this[_0xdee7('0x6')]=[],this[_0xdee7('0x29')]=_0x38eb0a,this['_locale']=_0x5d482c;}['getDescriptions'](_0x12a5af){const _0x4f235e=[];for(let _0x7d246e=0x0;_0x7d246e<_0x12a5af['length'];_0x7d246e++){const _0x233c40=_0x12a5af[_0x7d246e];if(!_0x233c40[_0xdee7('0x35')])continue;let _0x5164f0=!0x1;for(const _0x5085d1 of this['_customCallbacks']){const _0x5ccf0f=_0x5085d1(_0x233c40);if(_0x5ccf0f){_0xdee7('0x32')in _0x5ccf0f&&_0x4f235e[_0xdee7('0x10')](_0x5ccf0f),_0x5164f0=!0x0;break;}}if(!_0x5164f0){this[_0xdee7('0xb')](_0x4f235e,_0x233c40);const _0x9e20b3=_0x12a5af[_0x7d246e+0x1];if(_0x9e20b3&&!_0x233c40[_0xdee7('0xe')]()[_0xdee7('0x31')][_0xdee7('0xf')](_0x9e20b3[_0xdee7('0xe')]()[_0xdee7('0xc')])){const _0x524924=_0x4f235e[_0x4f235e[_0xdee7('0xd')]-0x1],_0x198e2a=_0xdee7('0xa')==_0x233c40['type']?_0xdee7('0x27'):_0xdee7('0x26');_0x524924&&_0xdee7('0x1')==_0x524924[_0xdee7('0x32')]&&(_0x524924[_0x198e2a]+='\x0a');}}}return this[_0xdee7('0x2b')](_0x4f235e);}[_0xdee7('0x12')](_0x2c793a){this[_0xdee7('0x11')][_0xdee7('0x10')](_0x2c793a);}[_0xdee7('0x2c')](_0x404b25,_0x5bc97f,_0x4b8353=_0x4e6dec['normal']){'function'==typeof _0x404b25?_0x40049d(this[_0xdee7('0x6')],{'matchingCallback':_0x404b25,'label':_0x5bc97f,'priority':_0x4b8353}):this[_0xdee7('0x23')][_0xdee7('0x36')](_0x404b25,_0x5bc97f);}[_0xdee7('0x3')](_0x57045d,_0x1db2d1=0x1){let _0x2c265c;for(const _0x53a5c0 of this['_itemLabelsCallbacks'])if(_0x53a5c0['matchingCallback'](_0x57045d)){_0x2c265c=_0x53a5c0[_0xdee7('0x4')];break;}return _0x2c265c||(_0x2c265c=this[_0xdee7('0x23')][_0xdee7('0x1f')](_0x57045d[_0xdee7('0x1b')])),_0x2c265c?_0x2c265c(_0x1db2d1):0x1!==_0x1db2d1?_0x1db2d1+'\x20'+_0x57045d[_0xdee7('0x1b')]+'s':''+_0x57045d['name'];}[_0xdee7('0xb')](_0x5e26c3,_0x228609){const _0x5067b1=_0x228609['getFirstRange']()[_0xdee7('0x17')](),_0x50ec0b=_0xdee7('0xa')==_0x228609[_0xdee7('0x32')]?_0xdee7('0x27'):_0xdee7('0x26');for(const _0x456af0 of _0x5067b1){const _0x43b035=_0x456af0[_0xdee7('0x18')],_0x112d89=_0x5e26c3[_0x5e26c3[_0xdee7('0xd')]-0x1];if(_0x43b035['is'](_0xdee7('0x2d')))_0x112d89&&_0x112d89['type'][_0xdee7('0x22')]('Container')>-0x1&&_0x5e26c3[_0xdee7('0x9')](),_0x112d89&&_0xdee7('0x1')==_0x112d89[_0xdee7('0x32')]?_0x112d89[_0x50ec0b]+=_0x43b035[_0xdee7('0x1e')]:_0x5e26c3[_0xdee7('0x10')]({'type':_0xdee7('0x1'),'add':'add'==_0x50ec0b?_0x43b035[_0xdee7('0x1e')]:'','remove':_0xdee7('0x26')==_0x50ec0b?_0x43b035[_0xdee7('0x1e')]:''});else{if(this[_0xdee7('0x29')][_0xdee7('0x0')](_0x43b035)){const _0x429dd4=_0x43b035;if(_0x112d89&&_0x112d89[_0xdee7('0x32')][_0xdee7('0x22')]('Container')>-0x1&&_0x5e26c3[_0xdee7('0x9')](),_0xdee7('0x1c')==_0x456af0['type'])continue;_0x112d89&&_0x112d89[_0xdee7('0x32')]==_0x50ec0b+_0xdee7('0x30')&&_0x112d89[_0xdee7('0x7')][_0xdee7('0x1b')]==_0x429dd4['name']?_0x112d89[_0xdee7('0x2e')]++:_0x5e26c3[_0xdee7('0x10')]({'type':_0x50ec0b+_0xdee7('0x30'),'element':_0x429dd4,'quantity':0x1}),_0x5067b1['skip'](_0x1d679b=>!(_0xdee7('0x1c')==_0x1d679b['type']&&_0x1d679b[_0xdee7('0x18')]==_0x43b035));}else{if(this[_0xdee7('0x29')]['checkChild'](_0x43b035,_0xdee7('0x5'))||_0x43b035['is'](_0xdee7('0x7'),'softBreak')){const _0x3d133c=_0x43b035;if(_0xdee7('0x27')==_0x50ec0b&&_0xdee7('0x1a')==_0x456af0['type']||_0xdee7('0x26')==_0x50ec0b&&_0xdee7('0x1c')==_0x456af0[_0xdee7('0x32')])continue;if(_0x112d89&&-0x1==_0x112d89[_0xdee7('0x32')][_0xdee7('0x22')](_0xdee7('0x28'))){'text'==_0x112d89['type']&&(_0x112d89[_0x50ec0b]+='\x0a');continue;}let _0x4dd865;if(_0x4dd865=_0xdee7('0x27')==_0x50ec0b?_0x3d133c['nextSibling']&&!this[_0xdee7('0x29')][_0xdee7('0x0')](_0x3d133c['nextSibling'])?_0x3d133c[_0xdee7('0x8')]:null:_0x3d133c[_0xdee7('0x20')]&&!this[_0xdee7('0x29')][_0xdee7('0x0')](_0x3d133c[_0xdee7('0x20')])?_0x3d133c[_0xdee7('0x20')]:null,_0x3d133c[_0xdee7('0x15')]||_0x4dd865&&_0x4dd865[_0xdee7('0x15')]){const _0x4e2cf7=_0x4dd865&&_0x4dd865[_0xdee7('0x15')]?_0x4dd865:_0x3d133c;_0x112d89&&_0x112d89[_0xdee7('0x32')]==_0x50ec0b+'EmptyContainer'&&_0x112d89[_0xdee7('0x7')][_0xdee7('0x1b')]==_0x4e2cf7[_0xdee7('0x1b')]?_0x112d89[_0xdee7('0x2e')]++:_0x5e26c3[_0xdee7('0x10')]({'type':_0x50ec0b+_0xdee7('0x19'),'element':_0x4e2cf7,'quantity':0x1});}else _0x5e26c3[_0xdee7('0x10')]({'type':_0x50ec0b+_0xdee7('0x28'),'element':_0x3d133c});}}}}}['_resolveDescriptionItems'](_0x5c7cc8){const _0x515a5f=this[_0xdee7('0x16')],_0x30397f=[];for(const _0x340ff3 of _0x5c7cc8){switch(_0x340ff3[_0xdee7('0x32')]){case _0xdee7('0x1'):if(_0x340ff3[_0xdee7('0x27')]=_0x340ff3['add'][_0xdee7('0x33')](/(\S)\u000A+(\S)/g,_0xdee7('0x13'))[_0xdee7('0x33')](/\u000A/g,''),_0x340ff3['remove']=_0x340ff3[_0xdee7('0x26')][_0xdee7('0x33')](/(\S)\u000A+(\S)/g,_0xdee7('0x13'))['replace'](/\u000A/g,''),''!=_0x340ff3['add']&&''!=_0x340ff3[_0xdee7('0x26')]){_0x30397f['push']({'type':_0xdee7('0x33'),'content':_0x61c7a8(_0x515a5f,_0xdee7('0x37'),['\x22'+_0x340ff3[_0xdee7('0x26')]+'\x22','\x22'+_0x340ff3[_0xdee7('0x27')]+'\x22'])});continue;}if(null!=_0x340ff3[_0xdee7('0x27')][_0xdee7('0x21')](/^ +$/)){_0x30397f['push']({'type':_0xdee7('0xa'),'content':_0x61c7a8(_0x515a5f,_0xdee7('0x24'),_0x61c7a8(_0x515a5f,_0xdee7('0x34'),_0x340ff3['add'][_0xdee7('0xd')]))});continue;}if(null!=_0x340ff3[_0xdee7('0x26')][_0xdee7('0x21')](/^ +$/)){_0x30397f[_0xdee7('0x10')]({'type':'deletion','content':_0x61c7a8(_0x515a5f,_0xdee7('0x14'),_0x61c7a8(_0x515a5f,'ELEMENT_SPACE',_0x340ff3['remove'][_0xdee7('0xd')]))});continue;}if(''!=_0x340ff3[_0xdee7('0x27')]){_0x30397f['push']({'type':'insertion','content':_0x61c7a8(_0x515a5f,_0xdee7('0x24'),'\x22'+_0x340ff3[_0xdee7('0x27')]+'\x22')});continue;}_0x30397f['push']({'type':_0xdee7('0x2f'),'content':_0x61c7a8(_0x515a5f,'*Remove:*\x20%0','\x22'+_0x340ff3[_0xdee7('0x26')]+'\x22')});continue;case _0xdee7('0x2'):case'addObject':_0x30397f[_0xdee7('0x10')]({'type':_0xdee7('0xa'),'content':_0x61c7a8(_0x515a5f,_0xdee7('0x24'),this[_0xdee7('0x3')](_0x340ff3[_0xdee7('0x7')],_0x340ff3['quantity']))});continue;case _0xdee7('0x1d'):case _0xdee7('0x2a'):_0x30397f[_0xdee7('0x10')]({'type':_0xdee7('0x2f'),'content':_0x61c7a8(_0x515a5f,_0xdee7('0x14'),this[_0xdee7('0x3')](_0x340ff3[_0xdee7('0x7')],_0x340ff3['quantity']))});continue;case _0xdee7('0x25'):_0x30397f['push']({'type':_0xdee7('0xa'),'content':_0x61c7a8(_0x515a5f,'*Split:*\x20%0',this[_0xdee7('0x3')](_0x340ff3[_0xdee7('0x7')],_0x340ff3[_0xdee7('0x2e')]))});continue;case'removeContainer':_0x30397f[_0xdee7('0x10')]({'type':_0xdee7('0x2f'),'content':_0x61c7a8(_0x515a5f,'*Merge:*\x20%0',this[_0xdee7('0x3')](_0x340ff3[_0xdee7('0x7')],_0x340ff3['quantity']))});continue;}_0x30397f['push'](_0x340ff3);}return _0x30397f;}}
@@ -1,3 +1,7 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
1
5
  /**
2
6
  * @module track-changes/trackchanges
3
7
  * @publicApi
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x3cc8=['addSuggestion','editor','TrackChanges','get','addSuggestionData','getSuggestion','getSuggestions','adapter','pluginName','plugins'];(function(_0x1e6193,_0x3cc828){var _0x53d083=function(_0x270eb5){while(--_0x270eb5){_0x1e6193['push'](_0x1e6193['shift']());}};_0x53d083(++_0x3cc828);}(_0x3cc8,0xe3));var _0x53d0=function(_0x1e6193,_0x3cc828){_0x1e6193=_0x1e6193-0x0;var _0x53d083=_0x3cc8[_0x1e6193];return _0x53d083;};import{Plugin as _0x22d8b2}from'ckeditor5/src/core';import _0x16c325 from'./trackchangesui';import _0x485193 from'./trackchangesediting';import'ckeditor5-collaboration/src/collaboration-core';export default class k extends _0x22d8b2{static get['requires'](){return[_0x485193,_0x16c325,'Comments'];}static get[_0x53d0('0x1')](){return _0x53d0('0x5');}set[_0x53d0('0x0')](_0x22d12e){this[_0x53d0('0x4')][_0x53d0('0x2')][_0x53d0('0x6')](_0x485193)[_0x53d0('0x0')]=_0x22d12e;}get[_0x53d0('0x0')](){return this[_0x53d0('0x4')][_0x53d0('0x2')][_0x53d0('0x6')](_0x485193)[_0x53d0('0x0')];}[_0x53d0('0x3')](_0x19561e){return this[_0x53d0('0x4')][_0x53d0('0x2')][_0x53d0('0x6')](_0x485193)[_0x53d0('0x7')](_0x19561e);}[_0x53d0('0x9')]({skipNotAttached:_0x387c40=!0x1,toJSON:_0x578d69=!0x1}={}){return this[_0x53d0('0x4')][_0x53d0('0x2')][_0x53d0('0x6')](_0x485193)['getSuggestions']({'skipNotAttached':_0x387c40,'toJSON':_0x578d69});}[_0x53d0('0x8')](_0x2862c8){return this[_0x53d0('0x4')][_0x53d0('0x2')][_0x53d0('0x6')](_0x485193)['getSuggestion'](_0x2862c8);}}
23
+ var _0xc7ff=['Comments','editor','plugins','adapter','addSuggestionData','addSuggestion','getSuggestion','getSuggestions','requires','pluginName','get','TrackChanges'];(function(_0x5ca9ba,_0xc7ff59){var _0x1c8dce=function(_0x482a16){while(--_0x482a16){_0x5ca9ba['push'](_0x5ca9ba['shift']());}};_0x1c8dce(++_0xc7ff59);}(_0xc7ff,0x1e9));var _0x1c8d=function(_0x5ca9ba,_0xc7ff59){_0x5ca9ba=_0x5ca9ba-0x0;var _0x1c8dce=_0xc7ff[_0x5ca9ba];return _0x1c8dce;};import{Plugin as _0x4c288a}from'ckeditor5/src/core';import _0x574a4f from'./trackchangesui';import _0x3c479e from'./trackchangesediting';import'ckeditor5-collaboration/src/collaboration-core';export default class k extends _0x4c288a{static get[_0x1c8d('0xb')](){return[_0x3c479e,_0x574a4f,_0x1c8d('0x3')];}static get[_0x1c8d('0x0')](){return _0x1c8d('0x2');}set[_0x1c8d('0x6')](_0x45dae3){this['editor'][_0x1c8d('0x5')][_0x1c8d('0x1')](_0x3c479e)[_0x1c8d('0x6')]=_0x45dae3;}get['adapter'](){return this[_0x1c8d('0x4')][_0x1c8d('0x5')][_0x1c8d('0x1')](_0x3c479e)[_0x1c8d('0x6')];}[_0x1c8d('0x8')](_0x8f90f0){return this['editor'][_0x1c8d('0x5')][_0x1c8d('0x1')](_0x3c479e)[_0x1c8d('0x7')](_0x8f90f0);}[_0x1c8d('0xa')]({skipNotAttached:_0x33d349=!0x1,toJSON:_0x257c20=!0x1}={}){return this[_0x1c8d('0x4')]['plugins']['get'](_0x3c479e)['getSuggestions']({'skipNotAttached':_0x33d349,'toJSON':_0x257c20});}[_0x1c8d('0x9')](_0xd8628a){return this[_0x1c8d('0x4')]['plugins'][_0x1c8d('0x1')](_0x3c479e)[_0x1c8d('0x9')](_0xd8628a);}}
@@ -1,3 +1,7 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
1
5
  /**
2
6
  * @module track-changes/trackchangesconfig
3
7
  * @publicApi
@@ -1,3 +1,7 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
1
5
  /**
2
6
  * @module track-changes/trackchangesdata
3
7
  * @publicApi