@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20230816.0 → 0.0.0-nightly-20230817.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 (64) hide show
  1. package/build/track-changes.js +1 -1
  2. package/package.json +3 -3
  3. package/src/commands/acceptsuggestioncommand.js +1 -1
  4. package/src/commands/discardsuggestioncommand.js +1 -1
  5. package/src/commands/executeonallsuggestionscommand.js +1 -1
  6. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  7. package/src/commands/trackchangescommand.js +1 -1
  8. package/src/integrations/alignment.js +1 -1
  9. package/src/integrations/basicstyles.js +1 -1
  10. package/src/integrations/blockquote.js +1 -1
  11. package/src/integrations/ckbox.js +1 -1
  12. package/src/integrations/codeblock.js +1 -1
  13. package/src/integrations/comments.js +1 -1
  14. package/src/integrations/deletecommand.js +1 -1
  15. package/src/integrations/documentlist.js +1 -1
  16. package/src/integrations/documentlistproperties.js +1 -1
  17. package/src/integrations/entercommand.js +1 -1
  18. package/src/integrations/findandreplace.js +1 -1
  19. package/src/integrations/font.js +1 -1
  20. package/src/integrations/formatpainter.js +1 -1
  21. package/src/integrations/heading.js +1 -1
  22. package/src/integrations/highlight.js +1 -1
  23. package/src/integrations/horizontalline.js +1 -1
  24. package/src/integrations/htmlembed.js +1 -1
  25. package/src/integrations/image.js +1 -1
  26. package/src/integrations/imagereplace.js +1 -1
  27. package/src/integrations/importword.js +1 -1
  28. package/src/integrations/indent.js +1 -1
  29. package/src/integrations/inputcommand.js +1 -1
  30. package/src/integrations/link.js +1 -1
  31. package/src/integrations/list.js +1 -1
  32. package/src/integrations/listproperties.js +1 -1
  33. package/src/integrations/mediaembed.js +1 -1
  34. package/src/integrations/mention.js +1 -1
  35. package/src/integrations/pagebreak.js +1 -1
  36. package/src/integrations/paragraph.js +1 -1
  37. package/src/integrations/removeformat.js +1 -1
  38. package/src/integrations/restrictededitingmode.js +1 -1
  39. package/src/integrations/shiftentercommand.js +1 -1
  40. package/src/integrations/standardeditingmode.js +1 -1
  41. package/src/integrations/style.js +1 -1
  42. package/src/integrations/table.js +1 -1
  43. package/src/integrations/tablecaption.js +1 -1
  44. package/src/integrations/tableclipboard.js +1 -1
  45. package/src/integrations/tablecolumnresize.js +1 -1
  46. package/src/integrations/tableheadings.js +1 -1
  47. package/src/integrations/tablemergesplit.js +1 -1
  48. package/src/integrations/tableofcontents.js +1 -1
  49. package/src/integrations/tableproperties.js +1 -1
  50. package/src/integrations/template.js +1 -1
  51. package/src/integrations/title.js +1 -1
  52. package/src/integrations/undo.js +1 -1
  53. package/src/integrations/utils.js +1 -1
  54. package/src/suggestion.js +1 -1
  55. package/src/suggestiondescriptionfactory.js +1 -1
  56. package/src/trackchanges.js +1 -1
  57. package/src/trackchangesdata.js +1 -1
  58. package/src/trackchangesediting.js +1 -1
  59. package/src/trackchangesui.js +1 -1
  60. package/src/ui/suggestioncontroller.js +1 -1
  61. package/src/ui/view/basesuggestionthreadview.js +1 -1
  62. package/src/ui/view/suggestionthreadview.js +1 -1
  63. package/src/utils/common-translations.js +1 -1
  64. package/src/utils/utils.js +1 -1
package/src/suggestion.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x585e=['getMarkerNames','accept','push','next','createdAt','hasComments','_model','change','markers','removeMarkers','removeAttribute','@external','toJSON','subType','map','add','end','getAllAdjacentSuggestions','commentThread','nodeAfter','_onDiscard','removeMarker','type','getRange','getMultiRangeId','nodeBefore','author','previous','discard','onDiscard','_saved','authoredAt','getItems','onAttributesChange','suggestion:','addMarkerName','isMultiRange','data','attributes','length','isInContent','getFirstMarker','_markerNames','head','getFirstRange','addMarker','delete','split','_onAccept','isIntersectingWithRange','creator','decorate','from','_onAttributesChange','set','getContainedElement','setAttribute','getMarkers','onAccept','reduce','getRanges'];(function(_0x8fc16f,_0x585e83){const _0xbde9b0=function(_0x16605f){while(--_0x16605f){_0x8fc16f['push'](_0x8fc16f['shift']());}};_0xbde9b0(++_0x585e83);}(_0x585e,0x89));const _0xbde9=function(_0x8fc16f,_0x585e83){_0x8fc16f=_0x8fc16f-0x0;let _0xbde9b0=_0x585e[_0x8fc16f];return _0xbde9b0;};import{Element as _0x47da8b}from'ckeditor5/src/engine';import{ObservableMixin as _0x390c0d,uid as _0x2b82c1}from'ckeditor5/src/utils';import{cloneDeep as _0x5bf43d,isEqual as _0xc14dc2,set as _0x462712,unset as _0x1d464b}from'lodash-es';export default class u extends _0x390c0d(){constructor(_0x3f2d61,_0x4b5b2d){super(),this['id']=_0x4b5b2d['id'],this['type']=_0x4b5b2d[_0xbde9('0x7')],this[_0xbde9('0x3b')]=_0x4b5b2d[_0xbde9('0x3b')]||null,this[_0xbde9('0xb')]=_0x4b5b2d[_0xbde9('0xb')],this['creator']=_0x4b5b2d['creator']||_0x4b5b2d[_0xbde9('0xb')],this['isExternal']=Boolean(_0x4b5b2d['attributes']&&_0x4b5b2d[_0xbde9('0x17')][_0xbde9('0x39')]),this['data']=null,this[_0xbde9('0x34')]=_0x3f2d61,this[_0xbde9('0x21')]=_0x4b5b2d[_0xbde9('0x2b')],this[_0xbde9('0x5')]=_0x4b5b2d[_0xbde9('0xe')],this[_0xbde9('0x26')]=_0x4b5b2d[_0xbde9('0x12')],this['_markerNames']=new Set(),this[_0xbde9('0x32')]=null,this[_0xbde9('0x27')](_0xbde9('0x10'),null),this[_0xbde9('0x27')]('attributes',_0x4b5b2d[_0xbde9('0x17')]||{}),this[_0xbde9('0x27')](_0xbde9('0xc'),null),this['set'](_0xbde9('0x31'),null),this['set'](_0xbde9('0x3'),null),this[_0xbde9('0x27')](_0xbde9('0xf'),!0x1),this[_0xbde9('0x24')](_0xbde9('0x2f')),this[_0xbde9('0x24')](_0xbde9('0xd'));}get[_0xbde9('0x1c')](){let _0xfa6ee6=this;for(;_0xfa6ee6['previous'];)_0xfa6ee6=_0xfa6ee6[_0xbde9('0xc')];return _0xfa6ee6;}get[_0xbde9('0x33')](){return!!this['commentThread']&&this[_0xbde9('0x3')][_0xbde9('0x18')]>0x0;}get[_0xbde9('0x15')](){if(0x0==this[_0xbde9('0x1b')]['size'])return!0x1;return 0x6==Array[_0xbde9('0x25')](this[_0xbde9('0x1b')])[0x0][_0xbde9('0x20')](':')['length'];}get[_0xbde9('0x19')](){return null!==this[_0xbde9('0x1a')]();}[_0xbde9('0x14')](_0x508e5d){this[_0xbde9('0x1b')][_0xbde9('0x0')](_0x508e5d);}['getMarkerNames'](){return Array[_0xbde9('0x25')](this[_0xbde9('0x1b')]);}[_0xbde9('0x2a')](){return this[_0xbde9('0x2e')]()[_0xbde9('0x3c')](_0x59a938=>this[_0xbde9('0x34')][_0xbde9('0x36')]['get'](_0x59a938))['filter'](_0x8f0078=>_0x8f0078);}[_0xbde9('0x1a')](){return this['getMarkers']()[0x0]||null;}[_0xbde9('0x37')](){this['_model']['change'](_0x9c888a=>{for(const _0x5b9715 of this['getMarkers']())_0x9c888a[_0xbde9('0x6')](_0x5b9715);}),this[_0xbde9('0x1b')]['clear']();}[_0xbde9('0x6')](_0x47f224){this[_0xbde9('0x34')]['change'](_0x35f2bd=>{_0x35f2bd[_0xbde9('0x6')](_0x47f224);}),this['_markerNames'][_0xbde9('0x1f')](_0x47f224);}['addRange'](_0x2381e3){const _0x118faa=_0xbde9('0x13')+this['type']+':'+this[_0xbde9('0x3b')]+':'+this['id']+':'+this[_0xbde9('0x23')]['id']+':'+u[_0xbde9('0x9')]();this[_0xbde9('0x14')](_0x118faa),this[_0xbde9('0x34')][_0xbde9('0x35')](_0x3c3b13=>{_0x3c3b13[_0xbde9('0x1e')](_0x118faa,{'range':_0x2381e3,'usingOperation':!0x0,'affectsData':!0x0});});}[_0xbde9('0x22')](_0x138ef0){for(const _0x36f2fc of this[_0xbde9('0x2d')]())if(_0x36f2fc['isIntersecting'](_0x138ef0))return!0x0;return!0x1;}[_0xbde9('0x2d')](){return this[_0xbde9('0x2a')]()[_0xbde9('0x3c')](_0x3ec147=>_0x3ec147[_0xbde9('0x8')]());}[_0xbde9('0x11')](){return this[_0xbde9('0x2d')]()[_0xbde9('0x2c')]((_0x5e0c39,_0x9108ef)=>[..._0x5e0c39,..._0x9108ef[_0xbde9('0x11')]()],[]);}[_0xbde9('0x1d')](){var _0x50b945;return(null===(_0x50b945=this[_0xbde9('0x1a')]())||void 0x0===_0x50b945?void 0x0:_0x50b945['getRange']())||null;}[_0xbde9('0x28')](){const _0x4604f2=this[_0xbde9('0x2d')]();if(0x1!=_0x4604f2[_0xbde9('0x18')])return null;const _0x103967=_0x4604f2[0x0],_0x40bd5d=_0x103967['start'][_0xbde9('0x4')],_0x126ad3=_0x103967[_0xbde9('0x1')][_0xbde9('0xa')];return _0x40bd5d instanceof _0x47da8b?_0x40bd5d!=_0x126ad3?null:_0x40bd5d:null;}[_0xbde9('0x2f')](){this['_onAccept'](this[_0xbde9('0x2d')](),this['data'],this[_0xbde9('0x17')]),this['removeMarkers']();}[_0xbde9('0xd')](){this[_0xbde9('0x5')](this[_0xbde9('0x2d')](),this['data'],this[_0xbde9('0x17')]),this[_0xbde9('0x37')]();}[_0xbde9('0x2')](){const _0x346bcf=[];let _0x4c8f36=this[_0xbde9('0x1c')];for(;_0x4c8f36;)_0x346bcf[_0xbde9('0x30')](_0x4c8f36),_0x4c8f36=_0x4c8f36[_0xbde9('0x31')];return _0x346bcf;}[_0xbde9('0x29')](_0x25ee55,_0x1eb72b){const _0x20c0f3=_0x5bf43d(this['attributes']);_0x462712(_0x20c0f3,_0x25ee55,_0x1eb72b),_0xc14dc2(_0x20c0f3,this[_0xbde9('0x17')])||(this[_0xbde9('0x17')]=_0x20c0f3,this[_0xbde9('0x26')](_0x20c0f3));}[_0xbde9('0x38')](_0x3c7507){const _0x2a641f=_0x5bf43d(this['attributes']);_0x1d464b(_0x2a641f,_0x3c7507),_0xc14dc2(_0x2a641f,this[_0xbde9('0x17')])||(this['attributes']=_0x2a641f,this[_0xbde9('0x26')](this[_0xbde9('0x17')]));}[_0xbde9('0x3a')](){return{'id':this['id'],'type':this['subType']?this[_0xbde9('0x7')]+':'+this[_0xbde9('0x3b')]:this[_0xbde9('0x7')],'authorId':this[_0xbde9('0x23')]['id'],'createdAt':this[_0xbde9('0x32')],'hasComments':this[_0xbde9('0x33')],'data':this[_0xbde9('0x16')],'attributes':this[_0xbde9('0x17')]};}static[_0xbde9('0x9')](){return _0x2b82c1()['substr'](0x1,0x5);}}
23
+ const _0x3883=['hasComments','isIntersectingWithRange','size','getItems','getFirstRange','createdAt','getMarkers','author','commentThread','start','isIntersecting','getMultiRangeId','add','getContainedElement','isMultiRange','next','_model','head','removeAttribute','_saved','split','onAttributesChange','addMarkerName','data','push','from','_onAttributesChange','removeMarkers','decorate','map','suggestion:','creator','isInContent','change','length','getRange','attributes','get','addMarker','_onDiscard','getMarkerNames','end','removeMarker','@external','getRanges','_onAccept','accept','getAllAdjacentSuggestions','getFirstMarker','toJSON','discard','previous','_markerNames','onDiscard','subType','type','set','delete','clear','nodeBefore','reduce'];(function(_0x48ea2d,_0x3883b0){const _0x16c7a4=function(_0x4d738e){while(--_0x4d738e){_0x48ea2d['push'](_0x48ea2d['shift']());}};_0x16c7a4(++_0x3883b0);}(_0x3883,0x196));const _0x16c7=function(_0x48ea2d,_0x3883b0){_0x48ea2d=_0x48ea2d-0x0;let _0x16c7a4=_0x3883[_0x48ea2d];return _0x16c7a4;};import{Element as _0x3eb65d}from'ckeditor5/src/engine';import{ObservableMixin as _0x511785,uid as _0x1b8a24}from'ckeditor5/src/utils';import{cloneDeep as _0x4392ca,isEqual as _0x4dc4ae,set as _0x1bddf8,unset as _0x5782de}from'lodash-es';export default class u extends _0x511785(){constructor(_0x2f14e8,_0x372de2){super(),this['id']=_0x372de2['id'],this[_0x16c7('0xf')]=_0x372de2[_0x16c7('0xf')],this[_0x16c7('0xe')]=_0x372de2['subType']||null,this[_0x16c7('0x1c')]=_0x372de2[_0x16c7('0x1c')],this[_0x16c7('0x34')]=_0x372de2[_0x16c7('0x34')]||_0x372de2['author'],this['isExternal']=Boolean(_0x372de2[_0x16c7('0x39')]&&_0x372de2[_0x16c7('0x39')][_0x16c7('0x3')]),this[_0x16c7('0x2c')]=null,this[_0x16c7('0x25')]=_0x2f14e8,this['_onAccept']=_0x372de2['onAccept'],this[_0x16c7('0x3c')]=_0x372de2[_0x16c7('0xd')],this[_0x16c7('0x2f')]=_0x372de2[_0x16c7('0x2a')],this['_markerNames']=new Set(),this['createdAt']=null,this[_0x16c7('0x10')]('authoredAt',null),this[_0x16c7('0x10')](_0x16c7('0x39'),_0x372de2['attributes']||{}),this[_0x16c7('0x10')](_0x16c7('0xb'),null),this[_0x16c7('0x10')](_0x16c7('0x24'),null),this[_0x16c7('0x10')](_0x16c7('0x1d'),null),this[_0x16c7('0x10')](_0x16c7('0x28'),!0x1),this[_0x16c7('0x31')]('accept'),this[_0x16c7('0x31')]('discard');}get[_0x16c7('0x26')](){let _0x5640b6=this;for(;_0x5640b6['previous'];)_0x5640b6=_0x5640b6[_0x16c7('0xb')];return _0x5640b6;}get['hasComments'](){return!!this[_0x16c7('0x1d')]&&this['commentThread']['length']>0x0;}get[_0x16c7('0x23')](){if(0x0==this[_0x16c7('0xc')][_0x16c7('0x17')])return!0x1;return 0x6==Array['from'](this['_markerNames'])[0x0][_0x16c7('0x29')](':')[_0x16c7('0x37')];}get[_0x16c7('0x35')](){return null!==this[_0x16c7('0x8')]();}['addMarkerName'](_0x2638ab){this['_markerNames'][_0x16c7('0x21')](_0x2638ab);}[_0x16c7('0x0')](){return Array[_0x16c7('0x2e')](this[_0x16c7('0xc')]);}[_0x16c7('0x1b')](){return this[_0x16c7('0x0')]()['map'](_0x278680=>this[_0x16c7('0x25')]['markers'][_0x16c7('0x3a')](_0x278680))['filter'](_0x4d5bd5=>_0x4d5bd5);}['getFirstMarker'](){return this[_0x16c7('0x1b')]()[0x0]||null;}[_0x16c7('0x30')](){this[_0x16c7('0x25')]['change'](_0x981dc6=>{for(const _0x7b3a5e of this[_0x16c7('0x1b')]())_0x981dc6[_0x16c7('0x2')](_0x7b3a5e);}),this[_0x16c7('0xc')][_0x16c7('0x12')]();}[_0x16c7('0x2')](_0x40d535){this[_0x16c7('0x25')][_0x16c7('0x36')](_0x5c2ff1=>{_0x5c2ff1['removeMarker'](_0x40d535);}),this['_markerNames'][_0x16c7('0x11')](_0x40d535);}['addRange'](_0x4ed4a2){const _0x47c881=_0x16c7('0x33')+this['type']+':'+this[_0x16c7('0xe')]+':'+this['id']+':'+this[_0x16c7('0x34')]['id']+':'+u[_0x16c7('0x20')]();this[_0x16c7('0x2b')](_0x47c881),this[_0x16c7('0x25')]['change'](_0x1ddec9=>{_0x1ddec9[_0x16c7('0x3b')](_0x47c881,{'range':_0x4ed4a2,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x16c7('0x16')](_0x4159b7){for(const _0x1fe924 of this[_0x16c7('0x4')]())if(_0x1fe924[_0x16c7('0x1f')](_0x4159b7))return!0x0;return!0x1;}[_0x16c7('0x4')](){return this[_0x16c7('0x1b')]()[_0x16c7('0x32')](_0x2e3e07=>_0x2e3e07[_0x16c7('0x38')]());}['getItems'](){return this[_0x16c7('0x4')]()[_0x16c7('0x14')]((_0x369cd0,_0x4fc94a)=>[..._0x369cd0,..._0x4fc94a[_0x16c7('0x18')]()],[]);}[_0x16c7('0x19')](){var _0xf48d2e;return(null===(_0xf48d2e=this[_0x16c7('0x8')]())||void 0x0===_0xf48d2e?void 0x0:_0xf48d2e[_0x16c7('0x38')]())||null;}[_0x16c7('0x22')](){const _0x5a2cfb=this['getRanges']();if(0x1!=_0x5a2cfb[_0x16c7('0x37')])return null;const _0x21cc0e=_0x5a2cfb[0x0],_0x21ea6f=_0x21cc0e[_0x16c7('0x1e')]['nodeAfter'],_0x73dfa1=_0x21cc0e[_0x16c7('0x1')][_0x16c7('0x13')];return _0x21ea6f instanceof _0x3eb65d?_0x21ea6f!=_0x73dfa1?null:_0x21ea6f:null;}[_0x16c7('0x6')](){this[_0x16c7('0x5')](this[_0x16c7('0x4')](),this['data'],this[_0x16c7('0x39')]),this[_0x16c7('0x30')]();}[_0x16c7('0xa')](){this['_onDiscard'](this['getRanges'](),this[_0x16c7('0x2c')],this[_0x16c7('0x39')]),this[_0x16c7('0x30')]();}[_0x16c7('0x7')](){const _0x5b8ef3=[];let _0x16f03a=this[_0x16c7('0x26')];for(;_0x16f03a;)_0x5b8ef3[_0x16c7('0x2d')](_0x16f03a),_0x16f03a=_0x16f03a[_0x16c7('0x24')];return _0x5b8ef3;}['setAttribute'](_0x3e4c92,_0x3cc851){const _0x3eb380=_0x4392ca(this[_0x16c7('0x39')]);_0x1bddf8(_0x3eb380,_0x3e4c92,_0x3cc851),_0x4dc4ae(_0x3eb380,this[_0x16c7('0x39')])||(this[_0x16c7('0x39')]=_0x3eb380,this[_0x16c7('0x2f')](_0x3eb380));}[_0x16c7('0x27')](_0x53a6fc){const _0x1d4302=_0x4392ca(this[_0x16c7('0x39')]);_0x5782de(_0x1d4302,_0x53a6fc),_0x4dc4ae(_0x1d4302,this[_0x16c7('0x39')])||(this[_0x16c7('0x39')]=_0x1d4302,this[_0x16c7('0x2f')](this[_0x16c7('0x39')]));}[_0x16c7('0x9')](){return{'id':this['id'],'type':this[_0x16c7('0xe')]?this[_0x16c7('0xf')]+':'+this[_0x16c7('0xe')]:this[_0x16c7('0xf')],'authorId':this[_0x16c7('0x34')]['id'],'createdAt':this[_0x16c7('0x1a')],'hasComments':this[_0x16c7('0x15')],'data':this['data'],'attributes':this[_0x16c7('0x39')]};}static[_0x16c7('0x20')](){return _0x1b8a24()['substr'](0x1,0x5);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x55e0=['length','nextSibling','EmptyContainer','quantity','REPLACE_TEXT','normal','name','_itemLabelsCallbacks','pop','skip','add','indexOf','removeEmptyContainer','checkChild','Object','addEmptyContainer','_customCallbacks','text','*Remove:*\x20%0','getItemLabel','remove','_schema','isEqual','Container','elementEnd','match','*Split:*\x20%0','push','item','ELEMENT_SPACE','type','matchingCallback','elementStart','element','_itemLabels','end','insertion','isEmpty','getDescriptions','softBreak','addObject','isObject','*Insert:*\x20%0','$1\x20$2','get','$textProxy','removeObject','previousSibling','getFirstRange','addContainer','_resolveDescriptionItems','_addDescriptionItems','start','_locale','set','replace','registerElementLabel','function','data','registerDescriptionCallback','label'];(function(_0x1f9fb4,_0x55e04c){const _0x4db6ff=function(_0xb06dd3){while(--_0xb06dd3){_0x1f9fb4['push'](_0x1f9fb4['shift']());}};_0x4db6ff(++_0x55e04c);}(_0x55e0,0xe8));const _0x4db6=function(_0x1f9fb4,_0x55e04c){_0x1f9fb4=_0x1f9fb4-0x0;let _0x4db6ff=_0x55e0[_0x1f9fb4];return _0x4db6ff;};import{getTranslation as _0x5ad5ea}from'./utils/common-translations';import{priorities as _0x2d11f3,insertToPriorityArray as _0x40b7c0}from'ckeditor5/src/utils';export default class m{constructor(_0x12f22a,_0x2c76f8){this[_0x4db6('0x1c')]=[],this['_itemLabels']=new Map(),this[_0x4db6('0x13')]=[],this[_0x4db6('0x21')]=_0x12f22a,this[_0x4db6('0x4')]=_0x2c76f8;}[_0x4db6('0x32')](_0x921c12){const _0x24f89a=[];for(let _0x43ab75=0x0;_0x43ab75<_0x921c12[_0x4db6('0xc')];_0x43ab75++){const _0x88eccd=_0x921c12[_0x43ab75];if(!_0x88eccd['isInContent'])continue;let _0x455a02=!0x1;for(const _0x465207 of this['_customCallbacks']){const _0x282f09=_0x465207(_0x88eccd);if(_0x282f09){_0x4db6('0x2a')in _0x282f09&&_0x24f89a['push'](_0x282f09),_0x455a02=!0x0;break;}}if(!_0x455a02){this[_0x4db6('0x2')](_0x24f89a,_0x88eccd);const _0x1f1ee5=_0x921c12[_0x43ab75+0x1];if(_0x1f1ee5&&!_0x88eccd[_0x4db6('0x3c')]()[_0x4db6('0x2f')][_0x4db6('0x22')](_0x1f1ee5['getFirstRange']()[_0x4db6('0x3')])){const _0x27f3a0=_0x24f89a[_0x24f89a['length']-0x1],_0x33e216=_0x4db6('0x30')==_0x88eccd[_0x4db6('0x2a')]?'add':_0x4db6('0x20');_0x27f3a0&&'text'==_0x27f3a0[_0x4db6('0x2a')]&&(_0x27f3a0[_0x33e216]+='\x0a');}}}return this[_0x4db6('0x1')](_0x24f89a);}[_0x4db6('0xa')](_0x22cf50){this['_customCallbacks']['push'](_0x22cf50);}[_0x4db6('0x7')](_0x2fc516,_0x1ea236,_0x496789=_0x2d11f3[_0x4db6('0x11')]){_0x4db6('0x8')==typeof _0x2fc516?_0x40b7c0(this['_itemLabelsCallbacks'],{'matchingCallback':_0x2fc516,'label':_0x1ea236,'priority':_0x496789}):this['_itemLabels'][_0x4db6('0x5')](_0x2fc516,_0x1ea236);}['getItemLabel'](_0x2f2086,_0x2d4b7e=0x1){let _0x38e021;for(const _0x15c60d of this['_itemLabelsCallbacks'])if(_0x15c60d[_0x4db6('0x2b')](_0x2f2086)){_0x38e021=_0x15c60d[_0x4db6('0xb')];break;}return _0x38e021||(_0x38e021=this[_0x4db6('0x2e')][_0x4db6('0x38')](_0x2f2086[_0x4db6('0x12')])),_0x38e021?_0x38e021(_0x2d4b7e):0x1!==_0x2d4b7e?_0x2d4b7e+'\x20'+_0x2f2086[_0x4db6('0x12')]+'s':''+_0x2f2086[_0x4db6('0x12')];}[_0x4db6('0x2')](_0x5256eb,_0x3d4f48){const _0x3392e6=_0x3d4f48[_0x4db6('0x3c')]()['getWalker'](),_0x5b2102='insertion'==_0x3d4f48['type']?_0x4db6('0x16'):_0x4db6('0x20');for(const _0x30f76b of _0x3392e6){const _0x2447e4=_0x30f76b[_0x4db6('0x28')],_0x134ffb=_0x5256eb[_0x5256eb[_0x4db6('0xc')]-0x1];if(_0x2447e4['is'](_0x4db6('0x39')))_0x134ffb&&_0x134ffb[_0x4db6('0x2a')][_0x4db6('0x17')](_0x4db6('0x23'))>-0x1&&_0x5256eb[_0x4db6('0x14')](),_0x134ffb&&_0x4db6('0x1d')==_0x134ffb[_0x4db6('0x2a')]?_0x134ffb[_0x5b2102]+=_0x2447e4[_0x4db6('0x9')]:_0x5256eb[_0x4db6('0x27')]({'type':_0x4db6('0x1d'),'add':_0x4db6('0x16')==_0x5b2102?_0x2447e4[_0x4db6('0x9')]:'','remove':_0x4db6('0x20')==_0x5b2102?_0x2447e4['data']:''});else{if(this[_0x4db6('0x21')]['isObject'](_0x2447e4)){const _0x5b4e0e=_0x2447e4;if(_0x134ffb&&_0x134ffb[_0x4db6('0x2a')][_0x4db6('0x17')](_0x4db6('0x23'))>-0x1&&_0x5256eb[_0x4db6('0x14')](),_0x4db6('0x24')==_0x30f76b[_0x4db6('0x2a')])continue;_0x134ffb&&_0x134ffb[_0x4db6('0x2a')]==_0x5b2102+_0x4db6('0x1a')&&_0x134ffb[_0x4db6('0x2d')]['name']==_0x5b4e0e['name']?_0x134ffb[_0x4db6('0xf')]++:_0x5256eb[_0x4db6('0x27')]({'type':_0x5b2102+_0x4db6('0x1a'),'element':_0x5b4e0e,'quantity':0x1}),_0x3392e6[_0x4db6('0x15')](_0x55cb13=>!(_0x4db6('0x24')==_0x55cb13[_0x4db6('0x2a')]&&_0x55cb13[_0x4db6('0x28')]==_0x2447e4));}else{if(this[_0x4db6('0x21')][_0x4db6('0x19')](_0x2447e4,'$text')||_0x2447e4['is'](_0x4db6('0x2d'),_0x4db6('0x33'))){const _0x16b284=_0x2447e4;if(_0x4db6('0x16')==_0x5b2102&&_0x4db6('0x2c')==_0x30f76b[_0x4db6('0x2a')]||_0x4db6('0x20')==_0x5b2102&&'elementEnd'==_0x30f76b[_0x4db6('0x2a')])continue;if(_0x134ffb&&-0x1==_0x134ffb['type'][_0x4db6('0x17')](_0x4db6('0x23'))){'text'==_0x134ffb['type']&&(_0x134ffb[_0x5b2102]+='\x0a');continue;}let _0x9468f2;if(_0x9468f2=_0x4db6('0x16')==_0x5b2102?_0x16b284[_0x4db6('0xd')]&&!this[_0x4db6('0x21')][_0x4db6('0x35')](_0x16b284[_0x4db6('0xd')])?_0x16b284[_0x4db6('0xd')]:null:_0x16b284['previousSibling']&&!this[_0x4db6('0x21')][_0x4db6('0x35')](_0x16b284[_0x4db6('0x3b')])?_0x16b284[_0x4db6('0x3b')]:null,_0x16b284[_0x4db6('0x31')]||_0x9468f2&&_0x9468f2[_0x4db6('0x31')]){const _0x24c044=_0x9468f2&&_0x9468f2[_0x4db6('0x31')]?_0x9468f2:_0x16b284;_0x134ffb&&_0x134ffb[_0x4db6('0x2a')]==_0x5b2102+_0x4db6('0xe')&&_0x134ffb[_0x4db6('0x2d')]['name']==_0x24c044[_0x4db6('0x12')]?_0x134ffb['quantity']++:_0x5256eb['push']({'type':_0x5b2102+'EmptyContainer','element':_0x24c044,'quantity':0x1});}else _0x5256eb[_0x4db6('0x27')]({'type':_0x5b2102+_0x4db6('0x23'),'element':_0x16b284});}}}}}['_resolveDescriptionItems'](_0x1f735a){const _0x41a384=this[_0x4db6('0x4')],_0x1f1b5b=[];for(const _0x105d71 of _0x1f735a){switch(_0x105d71[_0x4db6('0x2a')]){case _0x4db6('0x1d'):if(_0x105d71['add']=_0x105d71[_0x4db6('0x16')][_0x4db6('0x6')](/(\S)\u000A+(\S)/g,'$1\x20$2')[_0x4db6('0x6')](/\u000A/g,''),_0x105d71[_0x4db6('0x20')]=_0x105d71['remove'][_0x4db6('0x6')](/(\S)\u000A+(\S)/g,_0x4db6('0x37'))[_0x4db6('0x6')](/\u000A/g,''),''!=_0x105d71[_0x4db6('0x16')]&&''!=_0x105d71[_0x4db6('0x20')]){_0x1f1b5b[_0x4db6('0x27')]({'type':_0x4db6('0x6'),'content':_0x5ad5ea(_0x41a384,_0x4db6('0x10'),['\x22'+_0x105d71[_0x4db6('0x20')]+'\x22','\x22'+_0x105d71[_0x4db6('0x16')]+'\x22'])});continue;}if(null!=_0x105d71['add'][_0x4db6('0x25')](/^ +$/)){_0x1f1b5b[_0x4db6('0x27')]({'type':_0x4db6('0x30'),'content':_0x5ad5ea(_0x41a384,'*Insert:*\x20%0',_0x5ad5ea(_0x41a384,_0x4db6('0x29'),_0x105d71[_0x4db6('0x16')][_0x4db6('0xc')]))});continue;}if(null!=_0x105d71['remove'][_0x4db6('0x25')](/^ +$/)){_0x1f1b5b[_0x4db6('0x27')]({'type':'deletion','content':_0x5ad5ea(_0x41a384,'*Remove:*\x20%0',_0x5ad5ea(_0x41a384,_0x4db6('0x29'),_0x105d71[_0x4db6('0x20')][_0x4db6('0xc')]))});continue;}if(''!=_0x105d71[_0x4db6('0x16')]){_0x1f1b5b['push']({'type':_0x4db6('0x30'),'content':_0x5ad5ea(_0x41a384,_0x4db6('0x36'),'\x22'+_0x105d71[_0x4db6('0x16')]+'\x22')});continue;}_0x1f1b5b['push']({'type':'deletion','content':_0x5ad5ea(_0x41a384,_0x4db6('0x1e'),'\x22'+_0x105d71['remove']+'\x22')});continue;case _0x4db6('0x1b'):case _0x4db6('0x34'):_0x1f1b5b['push']({'type':_0x4db6('0x30'),'content':_0x5ad5ea(_0x41a384,'*Insert:*\x20%0',this[_0x4db6('0x1f')](_0x105d71[_0x4db6('0x2d')],_0x105d71['quantity']))});continue;case _0x4db6('0x18'):case _0x4db6('0x3a'):_0x1f1b5b['push']({'type':'deletion','content':_0x5ad5ea(_0x41a384,_0x4db6('0x1e'),this[_0x4db6('0x1f')](_0x105d71[_0x4db6('0x2d')],_0x105d71[_0x4db6('0xf')]))});continue;case _0x4db6('0x0'):_0x1f1b5b['push']({'type':_0x4db6('0x30'),'content':_0x5ad5ea(_0x41a384,_0x4db6('0x26'),this['getItemLabel'](_0x105d71['element'],_0x105d71[_0x4db6('0xf')]))});continue;case'removeContainer':_0x1f1b5b[_0x4db6('0x27')]({'type':'deletion','content':_0x5ad5ea(_0x41a384,'*Merge:*\x20%0',this[_0x4db6('0x1f')](_0x105d71[_0x4db6('0x2d')],_0x105d71['quantity']))});continue;}_0x1f1b5b[_0x4db6('0x27')](_0x105d71);}return _0x1f1b5b;}}
23
+ const _0x2ea7=['$text','skip','REPLACE_TEXT','end','*Merge:*\x20%0','name','checkChild','match','_itemLabelsCallbacks','nextSibling','softBreak','$1\x20$2','_addDescriptionItems','*Split:*\x20%0','_schema','*Insert:*\x20%0','addEmptyContainer','isObject','_locale','insertion','removeEmptyContainer','registerElementLabel','elementEnd','text','isEqual','_itemLabels','getDescriptions','Container','remove','matchingCallback','previousSibling','_resolveDescriptionItems','deletion','quantity','getWalker','getFirstRange','pop','push','removeObject','registerDescriptionCallback','_customCallbacks','*Remove:*\x20%0','indexOf','addObject','ELEMENT_SPACE','elementStart','normal','length','type','addContainer','getItemLabel','data','get','EmptyContainer','$textProxy','add','item','element','replace','Object','isEmpty'];(function(_0x3c3665,_0x2ea784){const _0x5077fb=function(_0x51a0eb){while(--_0x51a0eb){_0x3c3665['push'](_0x3c3665['shift']());}};_0x5077fb(++_0x2ea784);}(_0x2ea7,0x161));const _0x5077=function(_0x3c3665,_0x2ea784){_0x3c3665=_0x3c3665-0x0;let _0x5077fb=_0x2ea7[_0x3c3665];return _0x5077fb;};import{getTranslation as _0x2689c3}from'./utils/common-translations';import{priorities as _0x565ba4,insertToPriorityArray as _0x485182}from'ckeditor5/src/utils';export default class m{constructor(_0x426e97,_0x4fb270){this[_0x5077('0x35')]=[],this[_0x5077('0x26')]=new Map(),this[_0x5077('0x15')]=[],this[_0x5077('0x1b')]=_0x426e97,this[_0x5077('0x1f')]=_0x4fb270;}[_0x5077('0x27')](_0x3bd4f2){const _0x49728f=[];for(let _0x4ac268=0x0;_0x4ac268<_0x3bd4f2['length'];_0x4ac268++){const _0x5fbd04=_0x3bd4f2[_0x4ac268];if(!_0x5fbd04['isInContent'])continue;let _0x4cd246=!0x1;for(const _0x142c45 of this['_customCallbacks']){const _0x1e8880=_0x142c45(_0x5fbd04);if(_0x1e8880){_0x5077('0x0')in _0x1e8880&&_0x49728f[_0x5077('0x32')](_0x1e8880),_0x4cd246=!0x0;break;}}if(!_0x4cd246){this[_0x5077('0x19')](_0x49728f,_0x5fbd04);const _0x10b2d9=_0x3bd4f2[_0x4ac268+0x1];if(_0x10b2d9&&!_0x5fbd04[_0x5077('0x30')]()[_0x5077('0x10')][_0x5077('0x25')](_0x10b2d9[_0x5077('0x30')]()['start'])){const _0x520eb9=_0x49728f[_0x49728f['length']-0x1],_0x4964fe='insertion'==_0x5fbd04[_0x5077('0x0')]?_0x5077('0x7'):_0x5077('0x29');_0x520eb9&&_0x5077('0x24')==_0x520eb9[_0x5077('0x0')]&&(_0x520eb9[_0x4964fe]+='\x0a');}}}return this[_0x5077('0x2c')](_0x49728f);}[_0x5077('0x34')](_0x35c424){this['_customCallbacks'][_0x5077('0x32')](_0x35c424);}[_0x5077('0x22')](_0x4c9870,_0xeccc2b,_0xd3d059=_0x565ba4[_0x5077('0x3b')]){'function'==typeof _0x4c9870?_0x485182(this[_0x5077('0x15')],{'matchingCallback':_0x4c9870,'label':_0xeccc2b,'priority':_0xd3d059}):this['_itemLabels']['set'](_0x4c9870,_0xeccc2b);}[_0x5077('0x2')](_0x564e8d,_0x5267a0=0x1){let _0x496bed;for(const _0x3b7a7f of this[_0x5077('0x15')])if(_0x3b7a7f[_0x5077('0x2a')](_0x564e8d)){_0x496bed=_0x3b7a7f['label'];break;}return _0x496bed||(_0x496bed=this[_0x5077('0x26')][_0x5077('0x4')](_0x564e8d['name'])),_0x496bed?_0x496bed(_0x5267a0):0x1!==_0x5267a0?_0x5267a0+'\x20'+_0x564e8d[_0x5077('0x12')]+'s':''+_0x564e8d[_0x5077('0x12')];}[_0x5077('0x19')](_0x1b6276,_0x30b4b4){const _0x4c9111=_0x30b4b4[_0x5077('0x30')]()[_0x5077('0x2f')](),_0x376ee9='insertion'==_0x30b4b4['type']?_0x5077('0x7'):_0x5077('0x29');for(const _0x2bd355 of _0x4c9111){const _0x5b45b1=_0x2bd355[_0x5077('0x8')],_0x5724f8=_0x1b6276[_0x1b6276[_0x5077('0x3c')]-0x1];if(_0x5b45b1['is'](_0x5077('0x6')))_0x5724f8&&_0x5724f8[_0x5077('0x0')][_0x5077('0x37')](_0x5077('0x28'))>-0x1&&_0x1b6276[_0x5077('0x31')](),_0x5724f8&&_0x5077('0x24')==_0x5724f8['type']?_0x5724f8[_0x376ee9]+=_0x5b45b1[_0x5077('0x3')]:_0x1b6276[_0x5077('0x32')]({'type':_0x5077('0x24'),'add':_0x5077('0x7')==_0x376ee9?_0x5b45b1[_0x5077('0x3')]:'','remove':'remove'==_0x376ee9?_0x5b45b1[_0x5077('0x3')]:''});else{if(this[_0x5077('0x1b')][_0x5077('0x1e')](_0x5b45b1)){const _0x3081ee=_0x5b45b1;if(_0x5724f8&&_0x5724f8[_0x5077('0x0')][_0x5077('0x37')]('Container')>-0x1&&_0x1b6276['pop'](),'elementEnd'==_0x2bd355['type'])continue;_0x5724f8&&_0x5724f8[_0x5077('0x0')]==_0x376ee9+_0x5077('0xb')&&_0x5724f8[_0x5077('0x9')][_0x5077('0x12')]==_0x3081ee[_0x5077('0x12')]?_0x5724f8[_0x5077('0x2e')]++:_0x1b6276['push']({'type':_0x376ee9+_0x5077('0xb'),'element':_0x3081ee,'quantity':0x1}),_0x4c9111[_0x5077('0xe')](_0x14dd6f=>!(_0x5077('0x23')==_0x14dd6f[_0x5077('0x0')]&&_0x14dd6f['item']==_0x5b45b1));}else{if(this[_0x5077('0x1b')][_0x5077('0x13')](_0x5b45b1,_0x5077('0xd'))||_0x5b45b1['is']('element',_0x5077('0x17'))){const _0x13cc35=_0x5b45b1;if('add'==_0x376ee9&&_0x5077('0x3a')==_0x2bd355[_0x5077('0x0')]||_0x5077('0x29')==_0x376ee9&&_0x5077('0x23')==_0x2bd355[_0x5077('0x0')])continue;if(_0x5724f8&&-0x1==_0x5724f8[_0x5077('0x0')][_0x5077('0x37')](_0x5077('0x28'))){_0x5077('0x24')==_0x5724f8[_0x5077('0x0')]&&(_0x5724f8[_0x376ee9]+='\x0a');continue;}let _0x4b47fc;if(_0x4b47fc=_0x5077('0x7')==_0x376ee9?_0x13cc35['nextSibling']&&!this[_0x5077('0x1b')][_0x5077('0x1e')](_0x13cc35[_0x5077('0x16')])?_0x13cc35[_0x5077('0x16')]:null:_0x13cc35[_0x5077('0x2b')]&&!this['_schema'][_0x5077('0x1e')](_0x13cc35[_0x5077('0x2b')])?_0x13cc35[_0x5077('0x2b')]:null,_0x13cc35[_0x5077('0xc')]||_0x4b47fc&&_0x4b47fc[_0x5077('0xc')]){const _0x184b46=_0x4b47fc&&_0x4b47fc[_0x5077('0xc')]?_0x4b47fc:_0x13cc35;_0x5724f8&&_0x5724f8['type']==_0x376ee9+_0x5077('0x5')&&_0x5724f8[_0x5077('0x9')][_0x5077('0x12')]==_0x184b46['name']?_0x5724f8['quantity']++:_0x1b6276['push']({'type':_0x376ee9+_0x5077('0x5'),'element':_0x184b46,'quantity':0x1});}else _0x1b6276['push']({'type':_0x376ee9+_0x5077('0x28'),'element':_0x13cc35});}}}}}[_0x5077('0x2c')](_0x176df1){const _0x1f56a9=this[_0x5077('0x1f')],_0x253332=[];for(const _0x2b1d45 of _0x176df1){switch(_0x2b1d45['type']){case _0x5077('0x24'):if(_0x2b1d45[_0x5077('0x7')]=_0x2b1d45['add']['replace'](/(\S)\u000A+(\S)/g,_0x5077('0x18'))['replace'](/\u000A/g,''),_0x2b1d45['remove']=_0x2b1d45[_0x5077('0x29')][_0x5077('0xa')](/(\S)\u000A+(\S)/g,_0x5077('0x18'))[_0x5077('0xa')](/\u000A/g,''),''!=_0x2b1d45['add']&&''!=_0x2b1d45['remove']){_0x253332[_0x5077('0x32')]({'type':_0x5077('0xa'),'content':_0x2689c3(_0x1f56a9,_0x5077('0xf'),['\x22'+_0x2b1d45[_0x5077('0x29')]+'\x22','\x22'+_0x2b1d45['add']+'\x22'])});continue;}if(null!=_0x2b1d45[_0x5077('0x7')][_0x5077('0x14')](/^ +$/)){_0x253332[_0x5077('0x32')]({'type':_0x5077('0x20'),'content':_0x2689c3(_0x1f56a9,_0x5077('0x1c'),_0x2689c3(_0x1f56a9,_0x5077('0x39'),_0x2b1d45['add']['length']))});continue;}if(null!=_0x2b1d45['remove'][_0x5077('0x14')](/^ +$/)){_0x253332[_0x5077('0x32')]({'type':_0x5077('0x2d'),'content':_0x2689c3(_0x1f56a9,_0x5077('0x36'),_0x2689c3(_0x1f56a9,_0x5077('0x39'),_0x2b1d45[_0x5077('0x29')]['length']))});continue;}if(''!=_0x2b1d45['add']){_0x253332[_0x5077('0x32')]({'type':_0x5077('0x20'),'content':_0x2689c3(_0x1f56a9,_0x5077('0x1c'),'\x22'+_0x2b1d45['add']+'\x22')});continue;}_0x253332[_0x5077('0x32')]({'type':_0x5077('0x2d'),'content':_0x2689c3(_0x1f56a9,_0x5077('0x36'),'\x22'+_0x2b1d45[_0x5077('0x29')]+'\x22')});continue;case _0x5077('0x1d'):case _0x5077('0x38'):_0x253332[_0x5077('0x32')]({'type':_0x5077('0x20'),'content':_0x2689c3(_0x1f56a9,_0x5077('0x1c'),this[_0x5077('0x2')](_0x2b1d45[_0x5077('0x9')],_0x2b1d45[_0x5077('0x2e')]))});continue;case _0x5077('0x21'):case _0x5077('0x33'):_0x253332[_0x5077('0x32')]({'type':_0x5077('0x2d'),'content':_0x2689c3(_0x1f56a9,_0x5077('0x36'),this[_0x5077('0x2')](_0x2b1d45[_0x5077('0x9')],_0x2b1d45[_0x5077('0x2e')]))});continue;case _0x5077('0x1'):_0x253332[_0x5077('0x32')]({'type':'insertion','content':_0x2689c3(_0x1f56a9,_0x5077('0x1a'),this[_0x5077('0x2')](_0x2b1d45[_0x5077('0x9')],_0x2b1d45[_0x5077('0x2e')]))});continue;case'removeContainer':_0x253332['push']({'type':'deletion','content':_0x2689c3(_0x1f56a9,_0x5077('0x11'),this[_0x5077('0x2')](_0x2b1d45['element'],_0x2b1d45[_0x5077('0x2e')]))});continue;}_0x253332[_0x5077('0x32')](_0x2b1d45);}return _0x253332;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0xec9d=['plugins','addSuggestion','editor','pluginName','get','adapter','requires','TrackChanges','getSuggestion','getSuggestions'];(function(_0x2cee34,_0xec9d05){var _0x155fa1=function(_0x54207e){while(--_0x54207e){_0x2cee34['push'](_0x2cee34['shift']());}};_0x155fa1(++_0xec9d05);}(_0xec9d,0x120));var _0x155f=function(_0x2cee34,_0xec9d05){_0x2cee34=_0x2cee34-0x0;var _0x155fa1=_0xec9d[_0x2cee34];return _0x155fa1;};import{Plugin as _0x569a92}from'ckeditor5/src/core';import _0xc76e47 from'./trackchangesui';import _0x33891b from'./trackchangesediting';import'ckeditor5-collaboration/src/collaboration-core';export default class k extends _0x569a92{static get[_0x155f('0x8')](){return[_0x33891b,_0xc76e47,'Comments'];}static get[_0x155f('0x5')](){return _0x155f('0x9');}set[_0x155f('0x7')](_0x4f5bf2){this['editor'][_0x155f('0x2')][_0x155f('0x6')](_0x33891b)[_0x155f('0x7')]=_0x4f5bf2;}get[_0x155f('0x7')](){return this[_0x155f('0x4')][_0x155f('0x2')][_0x155f('0x6')](_0x33891b)[_0x155f('0x7')];}[_0x155f('0x3')](_0x440e03){return this[_0x155f('0x4')][_0x155f('0x2')]['get'](_0x33891b)['addSuggestionData'](_0x440e03);}[_0x155f('0x1')]({skipNotAttached:_0x281d08=!0x1,toJSON:_0x4f2aef=!0x1}={}){return this['editor']['plugins'][_0x155f('0x6')](_0x33891b)['getSuggestions']({'skipNotAttached':_0x281d08,'toJSON':_0x4f2aef});}[_0x155f('0x0')](_0x4f6bab){return this[_0x155f('0x4')][_0x155f('0x2')][_0x155f('0x6')](_0x33891b)[_0x155f('0x0')](_0x4f6bab);}}
23
+ var _0x5299=['plugins','pluginName','Comments','getSuggestion','editor','getSuggestions','TrackChanges','get','adapter'];(function(_0xb5ec28,_0x5299fd){var _0x5e95e1=function(_0x3c1d63){while(--_0x3c1d63){_0xb5ec28['push'](_0xb5ec28['shift']());}};_0x5e95e1(++_0x5299fd);}(_0x5299,0x93));var _0x5e95=function(_0xb5ec28,_0x5299fd){_0xb5ec28=_0xb5ec28-0x0;var _0x5e95e1=_0x5299[_0xb5ec28];return _0x5e95e1;};import{Plugin as _0x250aa1}from'ckeditor5/src/core';import _0x1d6589 from'./trackchangesui';import _0x4e7112 from'./trackchangesediting';import'ckeditor5-collaboration/src/collaboration-core';export default class k extends _0x250aa1{static get['requires'](){return[_0x4e7112,_0x1d6589,_0x5e95('0x8')];}static get[_0x5e95('0x7')](){return _0x5e95('0x3');}set[_0x5e95('0x5')](_0xff8a09){this[_0x5e95('0x1')]['plugins'][_0x5e95('0x4')](_0x4e7112)[_0x5e95('0x5')]=_0xff8a09;}get[_0x5e95('0x5')](){return this['editor'][_0x5e95('0x6')][_0x5e95('0x4')](_0x4e7112)['adapter'];}['addSuggestion'](_0x4c5911){return this[_0x5e95('0x1')][_0x5e95('0x6')]['get'](_0x4e7112)['addSuggestionData'](_0x4c5911);}[_0x5e95('0x2')]({skipNotAttached:_0x21832b=!0x1,toJSON:_0x4915a5=!0x1}={}){return this[_0x5e95('0x1')][_0x5e95('0x6')][_0x5e95('0x4')](_0x4e7112)['getSuggestions']({'skipNotAttached':_0x21832b,'toJSON':_0x4915a5});}[_0x5e95('0x0')](_0x3489ca){return this[_0x5e95('0x1')][_0x5e95('0x6')][_0x5e95('0x4')](_0x4e7112)[_0x5e95('0x0')](_0x3489ca);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x53ff=['getSuggestions','model','TrackChangesEditing','editor','name','end','createDocumentFragment','reduce','execute','editorCreator','track-changes-data-invalid-editor-creator','set','function','useAnonymousUser','init','addSuggestionData','get','getDataWithDiscardedSuggestions','requires','div','plugins','addUser','Users','appendChild','getRootsAttributes','_adapter','trackChangesData.editorCreator','trackChangesData','map','acceptAllSuggestions','config','discardAllSuggestions','pluginName','Pagination','getRootNames','document','CommentsRepository','data','getDataWithAcceptedSuggestions','create','constructor','createElement','define','TrackChangesDataGetter','rootsAttributes'];(function(_0x5272cb,_0x53ffdf){const _0x207410=function(_0x7f5953){while(--_0x7f5953){_0x5272cb['push'](_0x5272cb['shift']());}};_0x207410(++_0x53ffdf);}(_0x53ff,0x1be));const _0x2074=function(_0x5272cb,_0x53ffdf){_0x5272cb=_0x5272cb-0x0;let _0x207410=_0x53ff[_0x5272cb];return _0x207410;};import{Plugin as _0x4cd471}from'ckeditor5/src/core';import{CKEditorError as _0x47dfd6}from'ckeditor5/src/utils';import _0x5d0711 from'./trackchangesediting';import{sanitizeEditorConfig as _0x5951ad}from'ckeditor5-collaboration/src/collaboration-core';const w=[_0x2074('0x25')];export default class T extends _0x4cd471{static get[_0x2074('0x16')](){return[_0x5d0711];}static get['pluginName'](){return'TrackChangesData';}[_0x2074('0x12')](){const _0x1b3efe=this['editor'];if(_0x1b3efe[_0x2074('0x22')][_0x2074('0x1')](_0x2074('0x1e'),_0x1c3db5=>{const _0x36dc1a=_0x1b3efe[_0x2074('0x5')][_0x2074('0x27')][_0x2074('0x26')]()[_0x2074('0xb')]((_0x541b96,_0x33ac80)=>(_0x541b96[_0x33ac80]='',_0x541b96),{});return _0x1b3efe[_0x2074('0x2c')][_0x2074('0x2b')](_0x36dc1a,_0x1c3db5);}),_0x2074('0x10')!=typeof _0x1b3efe['config']['get']('trackChangesData')[_0x2074('0xd')])throw new _0x47dfd6(_0x2074('0xe'));}[_0x2074('0x2a')](_0x442cf5){return v(this[_0x2074('0x7')],!0x0,_0x442cf5);}[_0x2074('0x15')](_0x21a487){return v(this[_0x2074('0x7')],!0x1,_0x21a487);}}class P extends _0x4cd471{static get[_0x2074('0x24')](){return _0x2074('0x2');}constructor(_0x570c0f){super(_0x570c0f),this['result']=_0x2074('0x9');}['init'](){this[_0x2074('0x7')]['plugins']['get'](_0x2074('0x28'))[_0x2074('0x1d')]={'addCommentThread':()=>new Promise(()=>{}),'getCommentThread':()=>new Promise(()=>{}),'updateCommentThread':()=>new Promise(()=>{}),'resolveCommentThread':()=>new Promise(()=>{}),'reopenCommentThread':()=>new Promise(()=>{}),'removeCommentThread':()=>new Promise(()=>{}),'addComment':()=>new Promise(()=>{}),'updateComment':()=>new Promise(()=>{}),'removeComment':()=>new Promise(()=>{})},this[_0x2074('0x7')][_0x2074('0x18')][_0x2074('0x14')]('TrackChangesEditing')[_0x2074('0x1d')]=null;}}function D(_0x127417){return void 0x0!==_0x127417[_0x2074('0x1c')];}async function v(_0x2e4dbb,_0xfb2828,_0xbbecc0){const _0x56af85=_0x5951ad(_0x2e4dbb,w);_0x56af85[_0x2074('0x18')]['push'](_0x5d0711,P),_0x56af85[_0x2074('0x3')]=D(_0x2e4dbb)?_0x2e4dbb[_0x2074('0x1c')]():void 0x0;const _0x410481=document[_0x2074('0xa')](),_0x176219=_0x2e4dbb[_0x2074('0x22')][_0x2074('0x14')](_0x2074('0x1f'))['editorCreator'],_0x30df71=await _0x176219(_0x56af85,()=>function(_0x24d090){const _0x184e72=document[_0x2074('0x0')](_0x2074('0x17'));return _0x24d090[_0x2074('0x1b')](_0x184e72),_0x184e72;}(_0x410481));!function(_0x3637fb,_0x235e04){const _0x3e65fb=_0x3637fb[_0x2074('0x5')][_0x2074('0x27')]['getRootNames']()['reduce']((_0x131c96,_0x2cc429)=>(_0x131c96[_0x2cc429]=_0x3637fb[_0x2074('0x29')][_0x2074('0x14')]({'rootName':_0x2cc429}),_0x131c96),{}),_0x3d124c=_0x3637fb[_0x2074('0x18')][_0x2074('0x14')]('Users')['users'][_0x2074('0x20')](_0x9fd1dc=>({'id':_0x9fd1dc['id'],'name':_0x9fd1dc[_0x2074('0x8')]})),_0x3a39c8=_0x3637fb[_0x2074('0x18')][_0x2074('0x14')](_0x2074('0x6'))[_0x2074('0x4')]({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x173242=_0x235e04[_0x2074('0x18')][_0x2074('0x14')](_0x2074('0x1a')),_0x5f3c63=_0x235e04[_0x2074('0x18')][_0x2074('0x14')](_0x2074('0x6'));for(const _0x3c8856 of _0x3d124c)_0x173242['getUser'](_0x3c8856['id'])||_0x173242[_0x2074('0x19')](_0x3c8856);_0x173242['me']||_0x173242[_0x2074('0x11')]();for(const _0xda769f of _0x3a39c8)_0x5f3c63[_0x2074('0x13')](_0xda769f);_0x235e04[_0x2074('0x29')][_0x2074('0xf')](_0x3e65fb);}(_0x2e4dbb,_0x30df71),_0x30df71[_0x2074('0xc')](_0xfb2828?_0x2074('0x21'):_0x2074('0x23'));const _0x1caf86=D(_0x30df71)?_0x30df71['getFullData'](_0xbbecc0):_0x30df71[_0x2074('0x29')]['get'](_0xbbecc0);return await _0x30df71['destroy'](),_0x1caf86;}
23
+ const _0x1bb3=['getDataWithAcceptedSuggestions','getRootNames','end','constructor','getSuggestions','set','users','TrackChangesDataGetter','config','getRootsAttributes','CommentsRepository','data','editorCreator','TrackChangesData','editor','init','result','get','useAnonymousUser','create','Users','document','function','_adapter','appendChild','name','acceptAllSuggestions','pluginName','getUser','trackChangesData.editorCreator','requires','reduce','TrackChangesEditing','destroy','execute','plugins','trackChangesData','div','map'];(function(_0x52369a,_0x1bb3a0){const _0x5521ae=function(_0xd6ee05){while(--_0xd6ee05){_0x52369a['push'](_0x52369a['shift']());}};_0x5521ae(++_0x1bb3a0);}(_0x1bb3,0x1bd));const _0x5521=function(_0x52369a,_0x1bb3a0){_0x52369a=_0x52369a-0x0;let _0x5521ae=_0x1bb3[_0x52369a];return _0x5521ae;};import{Plugin as _0x157cbf}from'ckeditor5/src/core';import{CKEditorError as _0x34e3c3}from'ckeditor5/src/utils';import _0x1e4347 from'./trackchangesediting';import{sanitizeEditorConfig as _0xae5071}from'ckeditor5-collaboration/src/collaboration-core';const w=['Pagination'];export default class T extends _0x157cbf{static get[_0x5521('0xe')](){return[_0x1e4347];}static get[_0x5521('0xb')](){return _0x5521('0x24');}[_0x5521('0x26')](){const _0x11e014=this['editor'];if(_0x11e014[_0x5521('0x1f')]['define'](_0x5521('0xd'),_0x1fa42d=>{const _0x1952f1=_0x11e014['model'][_0x5521('0x5')][_0x5521('0x18')]()[_0x5521('0xf')]((_0x1977ab,_0x1d0ebe)=>(_0x1977ab[_0x1d0ebe]='',_0x1977ab),{});return _0x11e014[_0x5521('0x1a')][_0x5521('0x3')](_0x1952f1,_0x1fa42d);}),_0x5521('0x6')!=typeof _0x11e014[_0x5521('0x1f')][_0x5521('0x1')]('trackChangesData')['editorCreator'])throw new _0x34e3c3('track-changes-data-invalid-editor-creator');}[_0x5521('0x17')](_0x2f4221){return v(this['editor'],!0x0,_0x2f4221);}['getDataWithDiscardedSuggestions'](_0x535b5b){return v(this[_0x5521('0x25')],!0x1,_0x535b5b);}}class P extends _0x157cbf{static get[_0x5521('0xb')](){return _0x5521('0x1e');}constructor(_0x4b8c32){super(_0x4b8c32),this[_0x5521('0x0')]=_0x5521('0x19');}['init'](){this['editor'][_0x5521('0x13')][_0x5521('0x1')](_0x5521('0x21'))['_adapter']={'addCommentThread':()=>new Promise(()=>{}),'getCommentThread':()=>new Promise(()=>{}),'updateCommentThread':()=>new Promise(()=>{}),'resolveCommentThread':()=>new Promise(()=>{}),'reopenCommentThread':()=>new Promise(()=>{}),'removeCommentThread':()=>new Promise(()=>{}),'addComment':()=>new Promise(()=>{}),'updateComment':()=>new Promise(()=>{}),'removeComment':()=>new Promise(()=>{})},this[_0x5521('0x25')][_0x5521('0x13')][_0x5521('0x1')](_0x5521('0x10'))[_0x5521('0x7')]=null;}}function D(_0x191d5a){return void 0x0!==_0x191d5a[_0x5521('0x20')];}async function v(_0x2dd623,_0x1d5cab,_0x439c85){const _0x31d929=_0xae5071(_0x2dd623,w);_0x31d929[_0x5521('0x13')]['push'](_0x1e4347,P),_0x31d929['rootsAttributes']=D(_0x2dd623)?_0x2dd623[_0x5521('0x20')]():void 0x0;const _0x2d4df5=document['createDocumentFragment'](),_0x3af7ba=_0x2dd623[_0x5521('0x1f')][_0x5521('0x1')](_0x5521('0x14'))[_0x5521('0x23')],_0x58f84f=await _0x3af7ba(_0x31d929,()=>function(_0x7bdb7b){const _0x36fed5=document['createElement'](_0x5521('0x15'));return _0x7bdb7b[_0x5521('0x8')](_0x36fed5),_0x36fed5;}(_0x2d4df5));!function(_0x1e40db,_0x29b1a6){const _0x3d8a9c=_0x1e40db['model'][_0x5521('0x5')][_0x5521('0x18')]()[_0x5521('0xf')]((_0x382ee1,_0x6bd4af)=>(_0x382ee1[_0x6bd4af]=_0x1e40db[_0x5521('0x22')]['get']({'rootName':_0x6bd4af}),_0x382ee1),{}),_0x1353b5=_0x1e40db['plugins'][_0x5521('0x1')](_0x5521('0x4'))[_0x5521('0x1d')][_0x5521('0x16')](_0xbd7691=>({'id':_0xbd7691['id'],'name':_0xbd7691[_0x5521('0x9')]})),_0x4b2ed3=_0x1e40db[_0x5521('0x13')][_0x5521('0x1')](_0x5521('0x10'))[_0x5521('0x1b')]({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x329c5e=_0x29b1a6[_0x5521('0x13')]['get'](_0x5521('0x4')),_0x4a41b4=_0x29b1a6[_0x5521('0x13')][_0x5521('0x1')]('TrackChangesEditing');for(const _0x149578 of _0x1353b5)_0x329c5e[_0x5521('0xc')](_0x149578['id'])||_0x329c5e['addUser'](_0x149578);_0x329c5e['me']||_0x329c5e[_0x5521('0x2')]();for(const _0x3b09a3 of _0x4b2ed3)_0x4a41b4['addSuggestionData'](_0x3b09a3);_0x29b1a6[_0x5521('0x22')][_0x5521('0x1c')](_0x3d8a9c);}(_0x2dd623,_0x58f84f),_0x58f84f[_0x5521('0x12')](_0x1d5cab?_0x5521('0xa'):'discardAllSuggestions');const _0x39af6e=D(_0x58f84f)?_0x58f84f['getFullData'](_0x439c85):_0x58f84f['data'][_0x5521('0x1')](_0x439c85);return await _0x58f84f[_0x5521('0x11')](),_0x39af6e;}