@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20230908.0 → 0.0.0-nightly-20230909.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 _0x45d6=['hasComments','attributes','decorate','isMultiRange','_isDataLoaded','getFirstMarker','author','authoredAt','_model','nodeBefore','getMarkerNames','commentThread','get','subType','next','getMultiRangeId','clear','delete','isInContent','type','head','getRange','markers','getRanges','removeMarkers','onAttributesChange','@external','addMarker','push','_onDiscard','addMarkerName','change','getContainedElement','_onAccept','removeMarker','map','previous','discard','reduce','_markerNames','_onAttributesChange','accept','getMarkers','filter','onAccept','data','onDiscard','isIntersecting','isExternal','length','removeAttribute','set','getItems','creator','from','nodeAfter','getAllAdjacentSuggestions'];(function(_0x4f05ab,_0x45d6c4){const _0x3400e8=function(_0x13a4ad){while(--_0x13a4ad){_0x4f05ab['push'](_0x4f05ab['shift']());}};_0x3400e8(++_0x45d6c4);}(_0x45d6,0x1b0));const _0x3400=function(_0x4f05ab,_0x45d6c4){_0x4f05ab=_0x4f05ab-0x0;let _0x3400e8=_0x45d6[_0x4f05ab];return _0x3400e8;};import{Element as _0x409c7f}from'ckeditor5/src/engine';import{ObservableMixin as _0x354f4a,uid as _0x3136c6}from'ckeditor5/src/utils';import{cloneDeep as _0x44ac7f,isEqual as _0x5ce9f0,set as _0x37a6b4,unset as _0x3f0a7f}from'lodash-es';export default class u extends _0x354f4a(){constructor(_0x181378,_0x419b84){super(),this[_0x3400('0x1c')]=!0x1,this['id']=_0x419b84['id'],this[_0x3400('0x2b')]=_0x419b84[_0x3400('0x2b')],this[_0x3400('0x25')]=_0x419b84[_0x3400('0x25')]||null,this[_0x3400('0x1e')]=_0x419b84[_0x3400('0x1e')],this[_0x3400('0x14')]=_0x419b84[_0x3400('0x14')]||_0x419b84[_0x3400('0x1e')],this[_0x3400('0xf')]=Boolean(_0x419b84[_0x3400('0x19')]&&_0x419b84[_0x3400('0x19')][_0x3400('0x32')]),this[_0x3400('0xc')]=null,this[_0x3400('0x20')]=_0x181378,this[_0x3400('0x0')]=_0x419b84[_0x3400('0xb')],this[_0x3400('0x35')]=_0x419b84[_0x3400('0xd')],this['_onAttributesChange']=_0x419b84[_0x3400('0x31')],this[_0x3400('0x6')]=new Set(),this['createdAt']=null,this[_0x3400('0x12')](_0x3400('0x1f'),null),this[_0x3400('0x12')](_0x3400('0x19'),_0x419b84[_0x3400('0x19')]||{}),this['set'](_0x3400('0x3'),null),this[_0x3400('0x12')](_0x3400('0x26'),null),this[_0x3400('0x12')]('commentThread',null),this[_0x3400('0x12')]('_saved',!0x1),this[_0x3400('0x1a')](_0x3400('0x8')),this['decorate']('discard');}get[_0x3400('0x2c')](){let _0x42d9ba=this;for(;_0x42d9ba['previous'];)_0x42d9ba=_0x42d9ba[_0x3400('0x3')];return _0x42d9ba;}get[_0x3400('0x18')](){return!!this[_0x3400('0x23')]&&this[_0x3400('0x23')][_0x3400('0x10')]>0x0;}get[_0x3400('0x1b')](){if(0x0==this[_0x3400('0x6')]['size'])return!0x1;return 0x6==Array[_0x3400('0x15')](this[_0x3400('0x6')])[0x0]['split'](':')['length'];}get[_0x3400('0x2a')](){return null!==this['getFirstMarker']();}[_0x3400('0x36')](_0x21c3ac){this[_0x3400('0x6')]['add'](_0x21c3ac);}[_0x3400('0x22')](){return Array[_0x3400('0x15')](this['_markerNames']);}[_0x3400('0x9')](){return this[_0x3400('0x22')]()[_0x3400('0x2')](_0x1d2e47=>this['_model'][_0x3400('0x2e')][_0x3400('0x24')](_0x1d2e47))[_0x3400('0xa')](_0x4d3141=>_0x4d3141);}['getFirstMarker'](){return this['getMarkers']()[0x0]||null;}[_0x3400('0x30')](){this[_0x3400('0x20')][_0x3400('0x37')](_0x738d05=>{for(const _0x3cce45 of this[_0x3400('0x9')]())_0x738d05[_0x3400('0x1')](_0x3cce45);}),this[_0x3400('0x6')][_0x3400('0x28')]();}[_0x3400('0x1')](_0x13967d){this[_0x3400('0x20')][_0x3400('0x37')](_0x2eea4e=>{_0x2eea4e[_0x3400('0x1')](_0x13967d);}),this['_markerNames'][_0x3400('0x29')](_0x13967d);}['addRange'](_0x347741){const _0x3841d2='suggestion:'+this[_0x3400('0x2b')]+':'+this[_0x3400('0x25')]+':'+this['id']+':'+this[_0x3400('0x14')]['id']+':'+u[_0x3400('0x27')]();this[_0x3400('0x36')](_0x3841d2),this[_0x3400('0x20')][_0x3400('0x37')](_0x21ae57=>{_0x21ae57[_0x3400('0x33')](_0x3841d2,{'range':_0x347741,'usingOperation':!0x0,'affectsData':!0x0});});}['isIntersectingWithRange'](_0x16897f){for(const _0xa1eb0e of this[_0x3400('0x2f')]())if(_0xa1eb0e[_0x3400('0xe')](_0x16897f))return!0x0;return!0x1;}[_0x3400('0x2f')](){return this[_0x3400('0x9')]()[_0x3400('0x2')](_0x97eda=>_0x97eda['getRange']());}[_0x3400('0x13')](){return this[_0x3400('0x2f')]()[_0x3400('0x5')]((_0x329ab8,_0x4870c4)=>[..._0x329ab8,..._0x4870c4[_0x3400('0x13')]()],[]);}['getFirstRange'](){var _0x2960db;return(null===(_0x2960db=this[_0x3400('0x1d')]())||void 0x0===_0x2960db?void 0x0:_0x2960db[_0x3400('0x2d')]())||null;}[_0x3400('0x38')](){const _0x123a1f=this[_0x3400('0x2f')]();if(0x1!=_0x123a1f[_0x3400('0x10')])return null;const _0x5831d4=_0x123a1f[0x0],_0x2054cb=_0x5831d4['start'][_0x3400('0x16')],_0x1f51d0=_0x5831d4['end'][_0x3400('0x21')];return _0x2054cb instanceof _0x409c7f?_0x2054cb!=_0x1f51d0?null:_0x2054cb:null;}['accept'](){this[_0x3400('0x0')](this[_0x3400('0x2f')](),this[_0x3400('0xc')],this[_0x3400('0x19')]),this[_0x3400('0x30')]();}[_0x3400('0x4')](){this[_0x3400('0x35')](this[_0x3400('0x2f')](),this[_0x3400('0xc')],this['attributes']),this['removeMarkers']();}[_0x3400('0x17')](){const _0x1ea1d7=[];let _0x372306=this['head'];for(;_0x372306;)_0x1ea1d7[_0x3400('0x34')](_0x372306),_0x372306=_0x372306[_0x3400('0x26')];return _0x1ea1d7;}['setAttribute'](_0x55a00a,_0x456cf4){const _0x424251=_0x44ac7f(this[_0x3400('0x19')]);_0x37a6b4(_0x424251,_0x55a00a,_0x456cf4),_0x5ce9f0(_0x424251,this[_0x3400('0x19')])||(this[_0x3400('0x19')]=_0x424251,this[_0x3400('0x7')](_0x424251));}[_0x3400('0x11')](_0x2ffe50){const _0x2d5776=_0x44ac7f(this[_0x3400('0x19')]);_0x3f0a7f(_0x2d5776,_0x2ffe50),_0x5ce9f0(_0x2d5776,this[_0x3400('0x19')])||(this[_0x3400('0x19')]=_0x2d5776,this[_0x3400('0x7')](this[_0x3400('0x19')]));}['toJSON'](){return{'id':this['id'],'type':this[_0x3400('0x25')]?this[_0x3400('0x2b')]+':'+this['subType']:this[_0x3400('0x2b')],'authorId':this['creator']['id'],'createdAt':this['createdAt'],'hasComments':this[_0x3400('0x18')],'data':this[_0x3400('0xc')],'attributes':this[_0x3400('0x19')]};}static[_0x3400('0x27')](){return _0x3136c6()['substr'](0x1,0x5);}}
23
+ const _0x513c=['getContainedElement','previous','addRange','@external','isMultiRange','_onDiscard','getItems','split','getRange','head','toJSON','map','isIntersecting','next','discard','push','set','addMarker','change','size','get','createdAt','type','addMarkerName','_isDataLoaded','_onAttributesChange','_markerNames','getMarkerNames','_saved','getRanges','creator','hasComments','end','removeMarker','getMultiRangeId','clear','delete','attributes','removeMarkers','getMarkers','length','onAccept','author','markers','filter','isExternal','commentThread','data','decorate','accept','subType','from','_model','onAttributesChange','removeAttribute','getFirstMarker','nodeBefore','getAllAdjacentSuggestions','isInContent','add'];(function(_0x23013a,_0x513c97){const _0x5f3a90=function(_0xc2d410){while(--_0xc2d410){_0x23013a['push'](_0x23013a['shift']());}};_0x5f3a90(++_0x513c97);}(_0x513c,0xf7));const _0x5f3a=function(_0x23013a,_0x513c97){_0x23013a=_0x23013a-0x0;let _0x5f3a90=_0x513c[_0x23013a];return _0x5f3a90;};import{Element as _0x2cb73e}from'ckeditor5/src/engine';import{ObservableMixin as _0x17fd11,uid as _0x47ced0}from'ckeditor5/src/utils';import{cloneDeep as _0x279b6c,isEqual as _0x5e5a20,set as _0x1ea51,unset as _0x42d3b1}from'lodash-es';export default class u extends _0x17fd11(){constructor(_0x993506,_0x46a263){super(),this[_0x5f3a('0x11')]=!0x1,this['id']=_0x46a263['id'],this[_0x5f3a('0xf')]=_0x46a263[_0x5f3a('0xf')],this['subType']=_0x46a263['subType']||null,this[_0x5f3a('0x23')]=_0x46a263['author'],this[_0x5f3a('0x17')]=_0x46a263['creator']||_0x46a263[_0x5f3a('0x23')],this[_0x5f3a('0x26')]=Boolean(_0x46a263[_0x5f3a('0x1e')]&&_0x46a263[_0x5f3a('0x1e')][_0x5f3a('0x38')]),this[_0x5f3a('0x28')]=null,this[_0x5f3a('0x2d')]=_0x993506,this['_onAccept']=_0x46a263[_0x5f3a('0x22')],this[_0x5f3a('0x3a')]=_0x46a263['onDiscard'],this[_0x5f3a('0x12')]=_0x46a263[_0x5f3a('0x2e')],this[_0x5f3a('0x13')]=new Set(),this['createdAt']=null,this['set']('authoredAt',null),this[_0x5f3a('0x9')](_0x5f3a('0x1e'),_0x46a263[_0x5f3a('0x1e')]||{}),this['set']('previous',null),this[_0x5f3a('0x9')]('next',null),this[_0x5f3a('0x9')](_0x5f3a('0x27'),null),this[_0x5f3a('0x9')](_0x5f3a('0x15'),!0x1),this[_0x5f3a('0x29')](_0x5f3a('0x2a')),this[_0x5f3a('0x29')]('discard');}get[_0x5f3a('0x2')](){let _0x5e4da7=this;for(;_0x5e4da7[_0x5f3a('0x36')];)_0x5e4da7=_0x5e4da7[_0x5f3a('0x36')];return _0x5e4da7;}get[_0x5f3a('0x18')](){return!!this[_0x5f3a('0x27')]&&this[_0x5f3a('0x27')][_0x5f3a('0x21')]>0x0;}get[_0x5f3a('0x39')](){if(0x0==this[_0x5f3a('0x13')][_0x5f3a('0xc')])return!0x1;return 0x6==Array[_0x5f3a('0x2c')](this[_0x5f3a('0x13')])[0x0][_0x5f3a('0x0')](':')[_0x5f3a('0x21')];}get[_0x5f3a('0x33')](){return null!==this[_0x5f3a('0x30')]();}[_0x5f3a('0x10')](_0xe86810){this[_0x5f3a('0x13')][_0x5f3a('0x34')](_0xe86810);}['getMarkerNames'](){return Array[_0x5f3a('0x2c')](this[_0x5f3a('0x13')]);}['getMarkers'](){return this[_0x5f3a('0x14')]()['map'](_0x406871=>this['_model'][_0x5f3a('0x24')][_0x5f3a('0xd')](_0x406871))[_0x5f3a('0x25')](_0x4a7dce=>_0x4a7dce);}['getFirstMarker'](){return this[_0x5f3a('0x20')]()[0x0]||null;}['removeMarkers'](){this[_0x5f3a('0x2d')][_0x5f3a('0xb')](_0x63ff55=>{for(const _0x5a227d of this['getMarkers']())_0x63ff55[_0x5f3a('0x1a')](_0x5a227d);}),this[_0x5f3a('0x13')][_0x5f3a('0x1c')]();}[_0x5f3a('0x1a')](_0x3010b3){this[_0x5f3a('0x2d')]['change'](_0x3c4b3c=>{_0x3c4b3c['removeMarker'](_0x3010b3);}),this[_0x5f3a('0x13')][_0x5f3a('0x1d')](_0x3010b3);}[_0x5f3a('0x37')](_0x3188a9){const _0x39c157='suggestion:'+this['type']+':'+this[_0x5f3a('0x2b')]+':'+this['id']+':'+this[_0x5f3a('0x17')]['id']+':'+u[_0x5f3a('0x1b')]();this[_0x5f3a('0x10')](_0x39c157),this['_model']['change'](_0x50e7cb=>{_0x50e7cb[_0x5f3a('0xa')](_0x39c157,{'range':_0x3188a9,'usingOperation':!0x0,'affectsData':!0x0});});}['isIntersectingWithRange'](_0x382b63){for(const _0x4e0463 of this[_0x5f3a('0x16')]())if(_0x4e0463[_0x5f3a('0x5')](_0x382b63))return!0x0;return!0x1;}[_0x5f3a('0x16')](){return this[_0x5f3a('0x20')]()[_0x5f3a('0x4')](_0xc29f5b=>_0xc29f5b[_0x5f3a('0x1')]());}[_0x5f3a('0x3b')](){return this[_0x5f3a('0x16')]()['reduce']((_0x52d7bb,_0x5d3c6e)=>[..._0x52d7bb,..._0x5d3c6e[_0x5f3a('0x3b')]()],[]);}['getFirstRange'](){var _0x20526d;return(null===(_0x20526d=this['getFirstMarker']())||void 0x0===_0x20526d?void 0x0:_0x20526d[_0x5f3a('0x1')]())||null;}[_0x5f3a('0x35')](){const _0x15fd6a=this['getRanges']();if(0x1!=_0x15fd6a['length'])return null;const _0x1a326a=_0x15fd6a[0x0],_0x205dc0=_0x1a326a['start']['nodeAfter'],_0x538e0c=_0x1a326a[_0x5f3a('0x19')][_0x5f3a('0x31')];return _0x205dc0 instanceof _0x2cb73e?_0x205dc0!=_0x538e0c?null:_0x205dc0:null;}[_0x5f3a('0x2a')](){this['_onAccept'](this['getRanges'](),this[_0x5f3a('0x28')],this[_0x5f3a('0x1e')]),this[_0x5f3a('0x1f')]();}[_0x5f3a('0x7')](){this[_0x5f3a('0x3a')](this[_0x5f3a('0x16')](),this[_0x5f3a('0x28')],this[_0x5f3a('0x1e')]),this[_0x5f3a('0x1f')]();}[_0x5f3a('0x32')](){const _0x47a592=[];let _0xe23afc=this['head'];for(;_0xe23afc;)_0x47a592[_0x5f3a('0x8')](_0xe23afc),_0xe23afc=_0xe23afc[_0x5f3a('0x6')];return _0x47a592;}['setAttribute'](_0x6f2848,_0x37ba6d){const _0x579a9d=_0x279b6c(this['attributes']);_0x1ea51(_0x579a9d,_0x6f2848,_0x37ba6d),_0x5e5a20(_0x579a9d,this[_0x5f3a('0x1e')])||(this[_0x5f3a('0x1e')]=_0x579a9d,this[_0x5f3a('0x12')](_0x579a9d));}[_0x5f3a('0x2f')](_0x2faef6){const _0x3788c8=_0x279b6c(this[_0x5f3a('0x1e')]);_0x42d3b1(_0x3788c8,_0x2faef6),_0x5e5a20(_0x3788c8,this[_0x5f3a('0x1e')])||(this[_0x5f3a('0x1e')]=_0x3788c8,this[_0x5f3a('0x12')](this[_0x5f3a('0x1e')]));}[_0x5f3a('0x3')](){return{'id':this['id'],'type':this[_0x5f3a('0x2b')]?this['type']+':'+this[_0x5f3a('0x2b')]:this[_0x5f3a('0xf')],'authorId':this[_0x5f3a('0x17')]['id'],'createdAt':this[_0x5f3a('0xe')],'hasComments':this[_0x5f3a('0x18')],'data':this[_0x5f3a('0x28')],'attributes':this[_0x5f3a('0x1e')]};}static[_0x5f3a('0x1b')](){return _0x47ced0()['substr'](0x1,0x5);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1872=['_addDescriptionItems','nextSibling','_resolveDescriptionItems','registerElementLabel','quantity','replace','indexOf','get','isEmpty','_itemLabels','EmptyContainer','removeEmptyContainer','text','element','push','$1\x20$2','match','_schema','add','insertion','start','*Insert:*\x20%0','name','Container','getItemLabel','function','ELEMENT_SPACE','REPLACE_TEXT','getDescriptions','_customCallbacks','checkChild','removeContainer','$textProxy','isObject','*Remove:*\x20%0','*Merge:*\x20%0','getFirstRange','isInContent','elementStart','label','data','pop','matchingCallback','previousSibling','elementEnd','softBreak','addContainer','registerDescriptionCallback','type','remove','addEmptyContainer','_locale','set','_itemLabelsCallbacks','length','item','deletion'];(function(_0x40104c,_0x18725d){const _0x551a15=function(_0x3c3198){while(--_0x3c3198){_0x40104c['push'](_0x40104c['shift']());}};_0x551a15(++_0x18725d);}(_0x1872,0x171));const _0x551a=function(_0x40104c,_0x18725d){_0x40104c=_0x40104c-0x0;let _0x551a15=_0x1872[_0x40104c];return _0x551a15;};import{getTranslation as _0x79a36f}from'./utils/common-translations';import{priorities as _0x44714a,insertToPriorityArray as _0x41e8a1}from'ckeditor5/src/utils';export default class m{constructor(_0x58f2e3,_0x446526){this[_0x551a('0x2')]=[],this['_itemLabels']=new Map(),this[_0x551a('0x1a')]=[],this[_0x551a('0x2f')]=_0x58f2e3,this[_0x551a('0x18')]=_0x446526;}[_0x551a('0x1')](_0x6e522b){const _0x289e7f=[];for(let _0x2cd420=0x0;_0x2cd420<_0x6e522b[_0x551a('0x1b')];_0x2cd420++){const _0x594dbb=_0x6e522b[_0x2cd420];if(!_0x594dbb[_0x551a('0xa')])continue;let _0x273c42=!0x1;for(const _0x274cbf of this['_customCallbacks']){const _0x46e2ce=_0x274cbf(_0x594dbb);if(_0x46e2ce){'type'in _0x46e2ce&&_0x289e7f[_0x551a('0x2c')](_0x46e2ce),_0x273c42=!0x0;break;}}if(!_0x273c42){this[_0x551a('0x1e')](_0x289e7f,_0x594dbb);const _0x346aa8=_0x6e522b[_0x2cd420+0x1];if(_0x346aa8&&!_0x594dbb['getFirstRange']()['end']['isEqual'](_0x346aa8['getFirstRange']()[_0x551a('0x32')])){const _0x12d539=_0x289e7f[_0x289e7f[_0x551a('0x1b')]-0x1],_0x5dd0b5=_0x551a('0x31')==_0x594dbb['type']?'add':_0x551a('0x16');_0x12d539&&_0x551a('0x2a')==_0x12d539['type']&&(_0x12d539[_0x5dd0b5]+='\x0a');}}}return this[_0x551a('0x20')](_0x289e7f);}[_0x551a('0x14')](_0x8733d2){this[_0x551a('0x2')][_0x551a('0x2c')](_0x8733d2);}[_0x551a('0x21')](_0x14e7fc,_0x1baf2f,_0x30e168=_0x44714a['normal']){_0x551a('0x37')==typeof _0x14e7fc?_0x41e8a1(this[_0x551a('0x1a')],{'matchingCallback':_0x14e7fc,'label':_0x1baf2f,'priority':_0x30e168}):this[_0x551a('0x27')][_0x551a('0x19')](_0x14e7fc,_0x1baf2f);}[_0x551a('0x36')](_0x4e352,_0x270845=0x1){let _0xeef673;for(const _0x480d61 of this['_itemLabelsCallbacks'])if(_0x480d61[_0x551a('0xf')](_0x4e352)){_0xeef673=_0x480d61[_0x551a('0xc')];break;}return _0xeef673||(_0xeef673=this['_itemLabels'][_0x551a('0x25')](_0x4e352[_0x551a('0x34')])),_0xeef673?_0xeef673(_0x270845):0x1!==_0x270845?_0x270845+'\x20'+_0x4e352['name']+'s':''+_0x4e352[_0x551a('0x34')];}['_addDescriptionItems'](_0x4f504b,_0x3c773c){const _0x241022=_0x3c773c[_0x551a('0x9')]()['getWalker'](),_0xeb664e=_0x551a('0x31')==_0x3c773c[_0x551a('0x15')]?_0x551a('0x30'):_0x551a('0x16');for(const _0x3d98c5 of _0x241022){const _0x16342f=_0x3d98c5['item'],_0xc078d9=_0x4f504b[_0x4f504b[_0x551a('0x1b')]-0x1];if(_0x16342f['is'](_0x551a('0x5')))_0xc078d9&&_0xc078d9[_0x551a('0x15')][_0x551a('0x24')](_0x551a('0x35'))>-0x1&&_0x4f504b[_0x551a('0xe')](),_0xc078d9&&'text'==_0xc078d9[_0x551a('0x15')]?_0xc078d9[_0xeb664e]+=_0x16342f[_0x551a('0xd')]:_0x4f504b[_0x551a('0x2c')]({'type':_0x551a('0x2a'),'add':_0x551a('0x30')==_0xeb664e?_0x16342f['data']:'','remove':_0x551a('0x16')==_0xeb664e?_0x16342f[_0x551a('0xd')]:''});else{if(this[_0x551a('0x2f')]['isObject'](_0x16342f)){const _0x51efbe=_0x16342f;if(_0xc078d9&&_0xc078d9[_0x551a('0x15')][_0x551a('0x24')](_0x551a('0x35'))>-0x1&&_0x4f504b[_0x551a('0xe')](),'elementEnd'==_0x3d98c5['type'])continue;_0xc078d9&&_0xc078d9[_0x551a('0x15')]==_0xeb664e+'Object'&&_0xc078d9[_0x551a('0x2b')][_0x551a('0x34')]==_0x51efbe[_0x551a('0x34')]?_0xc078d9[_0x551a('0x22')]++:_0x4f504b['push']({'type':_0xeb664e+'Object','element':_0x51efbe,'quantity':0x1}),_0x241022['skip'](_0x20bc64=>!('elementEnd'==_0x20bc64[_0x551a('0x15')]&&_0x20bc64[_0x551a('0x1c')]==_0x16342f));}else{if(this[_0x551a('0x2f')][_0x551a('0x3')](_0x16342f,'$text')||_0x16342f['is'](_0x551a('0x2b'),_0x551a('0x12'))){const _0x2c32d0=_0x16342f;if('add'==_0xeb664e&&_0x551a('0xb')==_0x3d98c5[_0x551a('0x15')]||_0x551a('0x16')==_0xeb664e&&_0x551a('0x11')==_0x3d98c5[_0x551a('0x15')])continue;if(_0xc078d9&&-0x1==_0xc078d9[_0x551a('0x15')][_0x551a('0x24')](_0x551a('0x35'))){'text'==_0xc078d9['type']&&(_0xc078d9[_0xeb664e]+='\x0a');continue;}let _0x5cee99;if(_0x5cee99=_0x551a('0x30')==_0xeb664e?_0x2c32d0['nextSibling']&&!this['_schema'][_0x551a('0x6')](_0x2c32d0[_0x551a('0x1f')])?_0x2c32d0[_0x551a('0x1f')]:null:_0x2c32d0[_0x551a('0x10')]&&!this[_0x551a('0x2f')][_0x551a('0x6')](_0x2c32d0[_0x551a('0x10')])?_0x2c32d0[_0x551a('0x10')]:null,_0x2c32d0[_0x551a('0x26')]||_0x5cee99&&_0x5cee99[_0x551a('0x26')]){const _0x5aa89f=_0x5cee99&&_0x5cee99['isEmpty']?_0x5cee99:_0x2c32d0;_0xc078d9&&_0xc078d9[_0x551a('0x15')]==_0xeb664e+'EmptyContainer'&&_0xc078d9['element'][_0x551a('0x34')]==_0x5aa89f[_0x551a('0x34')]?_0xc078d9[_0x551a('0x22')]++:_0x4f504b[_0x551a('0x2c')]({'type':_0xeb664e+_0x551a('0x28'),'element':_0x5aa89f,'quantity':0x1});}else _0x4f504b[_0x551a('0x2c')]({'type':_0xeb664e+_0x551a('0x35'),'element':_0x2c32d0});}}}}}['_resolveDescriptionItems'](_0x5d46ad){const _0x44533e=this[_0x551a('0x18')],_0x291d26=[];for(const _0x78b947 of _0x5d46ad){switch(_0x78b947['type']){case _0x551a('0x2a'):if(_0x78b947['add']=_0x78b947['add'][_0x551a('0x23')](/(\S)\u000A+(\S)/g,_0x551a('0x2d'))[_0x551a('0x23')](/\u000A/g,''),_0x78b947[_0x551a('0x16')]=_0x78b947['remove'][_0x551a('0x23')](/(\S)\u000A+(\S)/g,_0x551a('0x2d'))[_0x551a('0x23')](/\u000A/g,''),''!=_0x78b947['add']&&''!=_0x78b947['remove']){_0x291d26['push']({'type':_0x551a('0x23'),'content':_0x79a36f(_0x44533e,_0x551a('0x0'),['\x22'+_0x78b947[_0x551a('0x16')]+'\x22','\x22'+_0x78b947['add']+'\x22'])});continue;}if(null!=_0x78b947[_0x551a('0x30')][_0x551a('0x2e')](/^ +$/)){_0x291d26[_0x551a('0x2c')]({'type':_0x551a('0x31'),'content':_0x79a36f(_0x44533e,_0x551a('0x33'),_0x79a36f(_0x44533e,_0x551a('0x38'),_0x78b947[_0x551a('0x30')][_0x551a('0x1b')]))});continue;}if(null!=_0x78b947[_0x551a('0x16')][_0x551a('0x2e')](/^ +$/)){_0x291d26['push']({'type':_0x551a('0x1d'),'content':_0x79a36f(_0x44533e,'*Remove:*\x20%0',_0x79a36f(_0x44533e,_0x551a('0x38'),_0x78b947[_0x551a('0x16')][_0x551a('0x1b')]))});continue;}if(''!=_0x78b947[_0x551a('0x30')]){_0x291d26['push']({'type':_0x551a('0x31'),'content':_0x79a36f(_0x44533e,_0x551a('0x33'),'\x22'+_0x78b947[_0x551a('0x30')]+'\x22')});continue;}_0x291d26[_0x551a('0x2c')]({'type':_0x551a('0x1d'),'content':_0x79a36f(_0x44533e,'*Remove:*\x20%0','\x22'+_0x78b947['remove']+'\x22')});continue;case _0x551a('0x17'):case'addObject':_0x291d26[_0x551a('0x2c')]({'type':_0x551a('0x31'),'content':_0x79a36f(_0x44533e,_0x551a('0x33'),this[_0x551a('0x36')](_0x78b947[_0x551a('0x2b')],_0x78b947[_0x551a('0x22')]))});continue;case _0x551a('0x29'):case'removeObject':_0x291d26[_0x551a('0x2c')]({'type':'deletion','content':_0x79a36f(_0x44533e,_0x551a('0x7'),this[_0x551a('0x36')](_0x78b947[_0x551a('0x2b')],_0x78b947['quantity']))});continue;case _0x551a('0x13'):_0x291d26[_0x551a('0x2c')]({'type':_0x551a('0x31'),'content':_0x79a36f(_0x44533e,'*Split:*\x20%0',this[_0x551a('0x36')](_0x78b947[_0x551a('0x2b')],_0x78b947[_0x551a('0x22')]))});continue;case _0x551a('0x4'):_0x291d26[_0x551a('0x2c')]({'type':'deletion','content':_0x79a36f(_0x44533e,_0x551a('0x8'),this[_0x551a('0x36')](_0x78b947['element'],_0x78b947[_0x551a('0x22')]))});continue;}_0x291d26[_0x551a('0x2c')](_0x78b947);}return _0x291d26;}}
23
+ const _0x231a=['label','isEqual','pop','_customCallbacks','replace','skip','*Merge:*\x20%0','end','*Remove:*\x20%0','_locale','registerElementLabel','isEmpty','_addDescriptionItems','length','insertion','ELEMENT_SPACE','push','removeContainer','isObject','getFirstRange','isInContent','text','element','match','set','get','REPLACE_TEXT','type','*Split:*\x20%0','Container','$text','getWalker','elementEnd','*Insert:*\x20%0','_itemLabels','indexOf','$1\x20$2','removeEmptyContainer','normal','name','start','quantity','softBreak','nextSibling','$textProxy','previousSibling','EmptyContainer','_schema','_resolveDescriptionItems','addEmptyContainer','removeObject','getItemLabel','getDescriptions','data','remove','deletion','add','addObject','Object','_itemLabelsCallbacks'];(function(_0x37f1e1,_0x231a0b){const _0x553670=function(_0x443a72){while(--_0x443a72){_0x37f1e1['push'](_0x37f1e1['shift']());}};_0x553670(++_0x231a0b);}(_0x231a,0x14f));const _0x5536=function(_0x37f1e1,_0x231a0b){_0x37f1e1=_0x37f1e1-0x0;let _0x553670=_0x231a[_0x37f1e1];return _0x553670;};import{getTranslation as _0x56bb87}from'./utils/common-translations';import{priorities as _0x5c885d,insertToPriorityArray as _0x4a0955}from'ckeditor5/src/utils';export default class m{constructor(_0x5e2bff,_0x305df0){this[_0x5536('0x1c')]=[],this[_0x5536('0x3b')]=new Map(),this[_0x5536('0x18')]=[],this[_0x5536('0xc')]=_0x5e2bff,this[_0x5536('0x22')]=_0x305df0;}[_0x5536('0x11')](_0x35011c){const _0x7db361=[];for(let _0x313f6c=0x0;_0x313f6c<_0x35011c[_0x5536('0x26')];_0x313f6c++){const _0x29d810=_0x35011c[_0x313f6c];if(!_0x29d810[_0x5536('0x2d')])continue;let _0x40d630=!0x1;for(const _0x2ccb5c of this['_customCallbacks']){const _0x14841c=_0x2ccb5c(_0x29d810);if(_0x14841c){_0x5536('0x34')in _0x14841c&&_0x7db361['push'](_0x14841c),_0x40d630=!0x0;break;}}if(!_0x40d630){this[_0x5536('0x25')](_0x7db361,_0x29d810);const _0x288ada=_0x35011c[_0x313f6c+0x1];if(_0x288ada&&!_0x29d810[_0x5536('0x2c')]()[_0x5536('0x20')][_0x5536('0x1a')](_0x288ada[_0x5536('0x2c')]()[_0x5536('0x5')])){const _0x279639=_0x7db361[_0x7db361['length']-0x1],_0x1f03fc='insertion'==_0x29d810[_0x5536('0x34')]?_0x5536('0x15'):_0x5536('0x13');_0x279639&&_0x5536('0x2e')==_0x279639[_0x5536('0x34')]&&(_0x279639[_0x1f03fc]+='\x0a');}}}return this['_resolveDescriptionItems'](_0x7db361);}['registerDescriptionCallback'](_0x277718){this[_0x5536('0x1c')]['push'](_0x277718);}[_0x5536('0x23')](_0x1bdfd4,_0x1f4955,_0x3f219a=_0x5c885d[_0x5536('0x3')]){'function'==typeof _0x1bdfd4?_0x4a0955(this['_itemLabelsCallbacks'],{'matchingCallback':_0x1bdfd4,'label':_0x1f4955,'priority':_0x3f219a}):this['_itemLabels'][_0x5536('0x31')](_0x1bdfd4,_0x1f4955);}[_0x5536('0x10')](_0x5ac56c,_0x4fcb3c=0x1){let _0x294598;for(const _0x4addc9 of this[_0x5536('0x18')])if(_0x4addc9['matchingCallback'](_0x5ac56c)){_0x294598=_0x4addc9[_0x5536('0x19')];break;}return _0x294598||(_0x294598=this['_itemLabels'][_0x5536('0x32')](_0x5ac56c[_0x5536('0x4')])),_0x294598?_0x294598(_0x4fcb3c):0x1!==_0x4fcb3c?_0x4fcb3c+'\x20'+_0x5ac56c['name']+'s':''+_0x5ac56c[_0x5536('0x4')];}['_addDescriptionItems'](_0x4848f5,_0x17ba63){const _0x31fc72=_0x17ba63['getFirstRange']()[_0x5536('0x38')](),_0xb20b64=_0x5536('0x27')==_0x17ba63[_0x5536('0x34')]?_0x5536('0x15'):_0x5536('0x13');for(const _0x116b96 of _0x31fc72){const _0x1f6392=_0x116b96['item'],_0x2ebd85=_0x4848f5[_0x4848f5[_0x5536('0x26')]-0x1];if(_0x1f6392['is'](_0x5536('0x9')))_0x2ebd85&&_0x2ebd85['type'][_0x5536('0x0')](_0x5536('0x36'))>-0x1&&_0x4848f5[_0x5536('0x1b')](),_0x2ebd85&&'text'==_0x2ebd85[_0x5536('0x34')]?_0x2ebd85[_0xb20b64]+=_0x1f6392['data']:_0x4848f5['push']({'type':_0x5536('0x2e'),'add':_0x5536('0x15')==_0xb20b64?_0x1f6392[_0x5536('0x12')]:'','remove':_0x5536('0x13')==_0xb20b64?_0x1f6392[_0x5536('0x12')]:''});else{if(this[_0x5536('0xc')][_0x5536('0x2b')](_0x1f6392)){const _0x36d76f=_0x1f6392;if(_0x2ebd85&&_0x2ebd85[_0x5536('0x34')][_0x5536('0x0')]('Container')>-0x1&&_0x4848f5[_0x5536('0x1b')](),_0x5536('0x39')==_0x116b96['type'])continue;_0x2ebd85&&_0x2ebd85[_0x5536('0x34')]==_0xb20b64+_0x5536('0x17')&&_0x2ebd85[_0x5536('0x2f')][_0x5536('0x4')]==_0x36d76f['name']?_0x2ebd85[_0x5536('0x6')]++:_0x4848f5[_0x5536('0x29')]({'type':_0xb20b64+_0x5536('0x17'),'element':_0x36d76f,'quantity':0x1}),_0x31fc72[_0x5536('0x1e')](_0x13b281=>!(_0x5536('0x39')==_0x13b281['type']&&_0x13b281['item']==_0x1f6392));}else{if(this[_0x5536('0xc')]['checkChild'](_0x1f6392,_0x5536('0x37'))||_0x1f6392['is'](_0x5536('0x2f'),_0x5536('0x7'))){const _0x3bbbfd=_0x1f6392;if(_0x5536('0x15')==_0xb20b64&&'elementStart'==_0x116b96['type']||_0x5536('0x13')==_0xb20b64&&_0x5536('0x39')==_0x116b96[_0x5536('0x34')])continue;if(_0x2ebd85&&-0x1==_0x2ebd85[_0x5536('0x34')][_0x5536('0x0')](_0x5536('0x36'))){_0x5536('0x2e')==_0x2ebd85['type']&&(_0x2ebd85[_0xb20b64]+='\x0a');continue;}let _0x4fdd2a;if(_0x4fdd2a=_0x5536('0x15')==_0xb20b64?_0x3bbbfd[_0x5536('0x8')]&&!this['_schema'][_0x5536('0x2b')](_0x3bbbfd[_0x5536('0x8')])?_0x3bbbfd[_0x5536('0x8')]:null:_0x3bbbfd['previousSibling']&&!this[_0x5536('0xc')][_0x5536('0x2b')](_0x3bbbfd[_0x5536('0xa')])?_0x3bbbfd[_0x5536('0xa')]:null,_0x3bbbfd[_0x5536('0x24')]||_0x4fdd2a&&_0x4fdd2a[_0x5536('0x24')]){const _0x461bb9=_0x4fdd2a&&_0x4fdd2a[_0x5536('0x24')]?_0x4fdd2a:_0x3bbbfd;_0x2ebd85&&_0x2ebd85[_0x5536('0x34')]==_0xb20b64+_0x5536('0xb')&&_0x2ebd85[_0x5536('0x2f')]['name']==_0x461bb9[_0x5536('0x4')]?_0x2ebd85[_0x5536('0x6')]++:_0x4848f5[_0x5536('0x29')]({'type':_0xb20b64+'EmptyContainer','element':_0x461bb9,'quantity':0x1});}else _0x4848f5[_0x5536('0x29')]({'type':_0xb20b64+_0x5536('0x36'),'element':_0x3bbbfd});}}}}}[_0x5536('0xd')](_0x456258){const _0x1ee97a=this[_0x5536('0x22')],_0x4f0633=[];for(const _0x30787a of _0x456258){switch(_0x30787a['type']){case _0x5536('0x2e'):if(_0x30787a[_0x5536('0x15')]=_0x30787a['add']['replace'](/(\S)\u000A+(\S)/g,_0x5536('0x1'))[_0x5536('0x1d')](/\u000A/g,''),_0x30787a[_0x5536('0x13')]=_0x30787a['remove'][_0x5536('0x1d')](/(\S)\u000A+(\S)/g,_0x5536('0x1'))[_0x5536('0x1d')](/\u000A/g,''),''!=_0x30787a[_0x5536('0x15')]&&''!=_0x30787a[_0x5536('0x13')]){_0x4f0633[_0x5536('0x29')]({'type':_0x5536('0x1d'),'content':_0x56bb87(_0x1ee97a,_0x5536('0x33'),['\x22'+_0x30787a['remove']+'\x22','\x22'+_0x30787a[_0x5536('0x15')]+'\x22'])});continue;}if(null!=_0x30787a['add'][_0x5536('0x30')](/^ +$/)){_0x4f0633[_0x5536('0x29')]({'type':'insertion','content':_0x56bb87(_0x1ee97a,_0x5536('0x3a'),_0x56bb87(_0x1ee97a,_0x5536('0x28'),_0x30787a['add'][_0x5536('0x26')]))});continue;}if(null!=_0x30787a[_0x5536('0x13')]['match'](/^ +$/)){_0x4f0633[_0x5536('0x29')]({'type':_0x5536('0x14'),'content':_0x56bb87(_0x1ee97a,_0x5536('0x21'),_0x56bb87(_0x1ee97a,'ELEMENT_SPACE',_0x30787a[_0x5536('0x13')][_0x5536('0x26')]))});continue;}if(''!=_0x30787a[_0x5536('0x15')]){_0x4f0633[_0x5536('0x29')]({'type':_0x5536('0x27'),'content':_0x56bb87(_0x1ee97a,_0x5536('0x3a'),'\x22'+_0x30787a[_0x5536('0x15')]+'\x22')});continue;}_0x4f0633[_0x5536('0x29')]({'type':_0x5536('0x14'),'content':_0x56bb87(_0x1ee97a,_0x5536('0x21'),'\x22'+_0x30787a[_0x5536('0x13')]+'\x22')});continue;case _0x5536('0xe'):case _0x5536('0x16'):_0x4f0633[_0x5536('0x29')]({'type':_0x5536('0x27'),'content':_0x56bb87(_0x1ee97a,_0x5536('0x3a'),this[_0x5536('0x10')](_0x30787a[_0x5536('0x2f')],_0x30787a[_0x5536('0x6')]))});continue;case _0x5536('0x2'):case _0x5536('0xf'):_0x4f0633[_0x5536('0x29')]({'type':_0x5536('0x14'),'content':_0x56bb87(_0x1ee97a,'*Remove:*\x20%0',this[_0x5536('0x10')](_0x30787a[_0x5536('0x2f')],_0x30787a[_0x5536('0x6')]))});continue;case'addContainer':_0x4f0633[_0x5536('0x29')]({'type':'insertion','content':_0x56bb87(_0x1ee97a,_0x5536('0x35'),this[_0x5536('0x10')](_0x30787a['element'],_0x30787a['quantity']))});continue;case _0x5536('0x2a'):_0x4f0633[_0x5536('0x29')]({'type':_0x5536('0x14'),'content':_0x56bb87(_0x1ee97a,_0x5536('0x1f'),this[_0x5536('0x10')](_0x30787a[_0x5536('0x2f')],_0x30787a['quantity']))});continue;}_0x4f0633[_0x5536('0x29')](_0x30787a);}return _0x4f0633;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x5818=['requires','adapter','Comments','getSuggestion','get','getSuggestions','pluginName','TrackChanges','editor','plugins','addSuggestion'];(function(_0x4aaec1,_0x581868){var _0x2f364b=function(_0x4f6e6a){while(--_0x4f6e6a){_0x4aaec1['push'](_0x4aaec1['shift']());}};_0x2f364b(++_0x581868);}(_0x5818,0x19e));var _0x2f36=function(_0x4aaec1,_0x581868){_0x4aaec1=_0x4aaec1-0x0;var _0x2f364b=_0x5818[_0x4aaec1];return _0x2f364b;};import{Plugin as _0x5a94f5}from'ckeditor5/src/core';import _0x290540 from'./trackchangesui';import _0x251fb4 from'./trackchangesediting';import'ckeditor5-collaboration/src/collaboration-core';export default class k extends _0x5a94f5{static get[_0x2f36('0x4')](){return[_0x251fb4,_0x290540,_0x2f36('0x6')];}static get[_0x2f36('0xa')](){return _0x2f36('0x0');}set[_0x2f36('0x5')](_0xb8c27d){this[_0x2f36('0x1')]['plugins'][_0x2f36('0x8')](_0x251fb4)[_0x2f36('0x5')]=_0xb8c27d;}get[_0x2f36('0x5')](){return this[_0x2f36('0x1')][_0x2f36('0x2')][_0x2f36('0x8')](_0x251fb4)[_0x2f36('0x5')];}[_0x2f36('0x3')](_0x57714f){return this[_0x2f36('0x1')][_0x2f36('0x2')]['get'](_0x251fb4)['addSuggestionData'](_0x57714f);}[_0x2f36('0x9')]({skipNotAttached:_0x15c58b=!0x1,toJSON:_0x3d13d6=!0x1}={}){return this[_0x2f36('0x1')][_0x2f36('0x2')][_0x2f36('0x8')](_0x251fb4)[_0x2f36('0x9')]({'skipNotAttached':_0x15c58b,'toJSON':_0x3d13d6});}['getSuggestion'](_0x2ee451){return this['editor'][_0x2f36('0x2')][_0x2f36('0x8')](_0x251fb4)[_0x2f36('0x7')](_0x2ee451);}}
23
+ var _0x105a=['TrackChanges','getSuggestion','addSuggestionData','get','editor','plugins','getSuggestions','requires','pluginName','adapter'];(function(_0x35c1d7,_0x105a6e){var _0x413d21=function(_0x5b659c){while(--_0x5b659c){_0x35c1d7['push'](_0x35c1d7['shift']());}};_0x413d21(++_0x105a6e);}(_0x105a,0x146));var _0x413d=function(_0x35c1d7,_0x105a6e){_0x35c1d7=_0x35c1d7-0x0;var _0x413d21=_0x105a[_0x35c1d7];return _0x413d21;};import{Plugin as _0x3643e2}from'ckeditor5/src/core';import _0xf5a30 from'./trackchangesui';import _0x1890ef from'./trackchangesediting';import'ckeditor5-collaboration/src/collaboration-core';export default class k extends _0x3643e2{static get[_0x413d('0x1')](){return[_0x1890ef,_0xf5a30,'Comments'];}static get[_0x413d('0x2')](){return _0x413d('0x4');}set[_0x413d('0x3')](_0x162a91){this['editor'][_0x413d('0x9')][_0x413d('0x7')](_0x1890ef)['adapter']=_0x162a91;}get[_0x413d('0x3')](){return this[_0x413d('0x8')][_0x413d('0x9')][_0x413d('0x7')](_0x1890ef)[_0x413d('0x3')];}['addSuggestion'](_0x33292a){return this[_0x413d('0x8')][_0x413d('0x9')][_0x413d('0x7')](_0x1890ef)[_0x413d('0x6')](_0x33292a);}['getSuggestions']({skipNotAttached:_0x3a048e=!0x1,toJSON:_0xfbdcb7=!0x1}={}){return this[_0x413d('0x8')]['plugins'][_0x413d('0x7')](_0x1890ef)[_0x413d('0x0')]({'skipNotAttached':_0x3a048e,'toJSON':_0xfbdcb7});}[_0x413d('0x5')](_0x4c8153){return this['editor'][_0x413d('0x9')][_0x413d('0x7')](_0x1890ef)[_0x413d('0x5')](_0x4c8153);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2b5f=['createDocumentFragment','Users','plugins','reduce','getRootsAttributes','createElement','document','TrackChangesEditing','addUser','getUser','end','set','TrackChangesDataGetter','destroy','define','getDataWithDiscardedSuggestions','trackChangesData','get','constructor','track-changes-data-invalid-editor-creator','appendChild','map','rootsAttributes','editorCreator','acceptAllSuggestions','TrackChangesData','trackChangesData.editorCreator','data','create','config','getDataWithAcceptedSuggestions','execute','useAnonymousUser','getRootNames','model','init','_adapter','editor','requires','function','pluginName'];(function(_0x2d1769,_0x2b5fec){const _0x6af303=function(_0x2df4c4){while(--_0x2df4c4){_0x2d1769['push'](_0x2d1769['shift']());}};_0x6af303(++_0x2b5fec);}(_0x2b5f,0x121));const _0x6af3=function(_0x2d1769,_0x2b5fec){_0x2d1769=_0x2d1769-0x0;let _0x6af303=_0x2b5f[_0x2d1769];return _0x6af303;};import{Plugin as _0x2614a7}from'ckeditor5/src/core';import{CKEditorError as _0x275c0e}from'ckeditor5/src/utils';import _0x4ee00b from'./trackchangesediting';import{sanitizeEditorConfig as _0x2f2ffc}from'ckeditor5-collaboration/src/collaboration-core';const w=['Pagination'];export default class T extends _0x2614a7{static get[_0x6af3('0x24')](){return[_0x4ee00b];}static get[_0x6af3('0x26')](){return _0x6af3('0x17');}[_0x6af3('0x21')](){const _0x42762b=this[_0x6af3('0x23')];if(_0x42762b[_0x6af3('0x1b')][_0x6af3('0xc')](_0x6af3('0x18'),_0xc0ecc=>{const _0x3c511a=_0x42762b[_0x6af3('0x20')]['document'][_0x6af3('0x1f')]()['reduce']((_0x2064b5,_0x3d5059)=>(_0x2064b5[_0x3d5059]='',_0x2064b5),{});return _0x42762b[_0x6af3('0x10')][_0x6af3('0x1a')](_0x3c511a,_0xc0ecc);}),_0x6af3('0x25')!=typeof _0x42762b['config'][_0x6af3('0xf')](_0x6af3('0xe'))[_0x6af3('0x15')])throw new _0x275c0e(_0x6af3('0x11'));}[_0x6af3('0x1c')](_0x1e2e03){return v(this[_0x6af3('0x23')],!0x0,_0x1e2e03);}[_0x6af3('0xd')](_0x359b73){return v(this[_0x6af3('0x23')],!0x1,_0x359b73);}}class P extends _0x2614a7{static get[_0x6af3('0x26')](){return _0x6af3('0xa');}constructor(_0x3d9efc){super(_0x3d9efc),this['result']=_0x6af3('0x8');}[_0x6af3('0x21')](){this['editor'][_0x6af3('0x0')][_0x6af3('0xf')]('CommentsRepository')[_0x6af3('0x22')]={'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[_0x6af3('0x23')][_0x6af3('0x0')][_0x6af3('0xf')](_0x6af3('0x5'))[_0x6af3('0x22')]=null;}}function D(_0x32f44d){return void 0x0!==_0x32f44d[_0x6af3('0x2')];}async function v(_0x7cb2c5,_0x1bff08,_0x49403b){const _0x1f8805=_0x2f2ffc(_0x7cb2c5,w);_0x1f8805['plugins']['push'](_0x4ee00b,P),_0x1f8805[_0x6af3('0x14')]=D(_0x7cb2c5)?_0x7cb2c5[_0x6af3('0x2')]():void 0x0;const _0x8d54c3=document[_0x6af3('0x27')](),_0x1541af=_0x7cb2c5['config'][_0x6af3('0xf')](_0x6af3('0xe'))[_0x6af3('0x15')],_0x589071=await _0x1541af(_0x1f8805,()=>function(_0x3a5dd0){const _0x5a2d12=document[_0x6af3('0x3')]('div');return _0x3a5dd0[_0x6af3('0x12')](_0x5a2d12),_0x5a2d12;}(_0x8d54c3));!function(_0x4dd3f6,_0x2b12c0){const _0x2c6e1b=_0x4dd3f6['model'][_0x6af3('0x4')]['getRootNames']()[_0x6af3('0x1')]((_0x537c9e,_0x5a5c74)=>(_0x537c9e[_0x5a5c74]=_0x4dd3f6[_0x6af3('0x19')][_0x6af3('0xf')]({'rootName':_0x5a5c74}),_0x537c9e),{}),_0x3b3989=_0x4dd3f6['plugins'][_0x6af3('0xf')]('Users')['users'][_0x6af3('0x13')](_0xf2ca52=>({'id':_0xf2ca52['id'],'name':_0xf2ca52['name']})),_0x397d56=_0x4dd3f6[_0x6af3('0x0')][_0x6af3('0xf')](_0x6af3('0x5'))['getSuggestions']({'skipNotAttached':!0x0,'toJSON':!0x0}),_0xec4e1a=_0x2b12c0[_0x6af3('0x0')][_0x6af3('0xf')](_0x6af3('0x28')),_0x47cee7=_0x2b12c0[_0x6af3('0x0')]['get'](_0x6af3('0x5'));for(const _0x1ff983 of _0x3b3989)_0xec4e1a[_0x6af3('0x7')](_0x1ff983['id'])||_0xec4e1a[_0x6af3('0x6')](_0x1ff983);_0xec4e1a['me']||_0xec4e1a[_0x6af3('0x1e')]();for(const _0x5dc672 of _0x397d56)_0x47cee7['addSuggestionData'](_0x5dc672);_0x2b12c0[_0x6af3('0x19')][_0x6af3('0x9')](_0x2c6e1b);}(_0x7cb2c5,_0x589071),_0x589071[_0x6af3('0x1d')](_0x1bff08?_0x6af3('0x16'):'discardAllSuggestions');const _0x325076=D(_0x589071)?_0x589071['getFullData'](_0x49403b):_0x589071['data'][_0x6af3('0xf')](_0x49403b);return await _0x589071[_0x6af3('0xb')](),_0x325076;}
23
+ const _0x2964=['_adapter','init','push','map','getRootNames','acceptAllSuggestions','reduce','function','set','getDataWithAcceptedSuggestions','constructor','getRootsAttributes','Users','get','TrackChangesDataGetter','pluginName','appendChild','trackChangesData','useAnonymousUser','data','div','result','getFullData','document','end','requires','Pagination','execute','addUser','TrackChangesData','destroy','plugins','TrackChangesEditing','editor','getSuggestions','getDataWithDiscardedSuggestions','rootsAttributes','getUser','trackChangesData.editorCreator','define','discardAllSuggestions','model','config'];(function(_0x2e7985,_0x2964f0){const _0x237d11=function(_0x2d16ab){while(--_0x2d16ab){_0x2e7985['push'](_0x2e7985['shift']());}};_0x237d11(++_0x2964f0);}(_0x2964,0x127));const _0x237d=function(_0x2e7985,_0x2964f0){_0x2e7985=_0x2e7985-0x0;let _0x237d11=_0x2964[_0x2e7985];return _0x237d11;};import{Plugin as _0x3ce13f}from'ckeditor5/src/core';import{CKEditorError as _0x21bbe2}from'ckeditor5/src/utils';import _0x243570 from'./trackchangesediting';import{sanitizeEditorConfig as _0xd26fa9}from'ckeditor5-collaboration/src/collaboration-core';const w=[_0x237d('0x20')];export default class T extends _0x3ce13f{static get[_0x237d('0x1f')](){return[_0x243570];}static get[_0x237d('0x15')](){return _0x237d('0x23');}['init'](){const _0x257315=this[_0x237d('0x27')];if(_0x257315[_0x237d('0x5')][_0x237d('0x2')](_0x237d('0x1'),_0x3755c5=>{const _0x369329=_0x257315[_0x237d('0x4')][_0x237d('0x1d')][_0x237d('0xa')]()[_0x237d('0xc')]((_0xd7eabb,_0x32a2af)=>(_0xd7eabb[_0x32a2af]='',_0xd7eabb),{});return _0x257315[_0x237d('0x10')]['create'](_0x369329,_0x3755c5);}),_0x237d('0xd')!=typeof _0x257315[_0x237d('0x5')][_0x237d('0x13')](_0x237d('0x17'))['editorCreator'])throw new _0x21bbe2('track-changes-data-invalid-editor-creator');}[_0x237d('0xf')](_0x1506ac){return v(this[_0x237d('0x27')],!0x0,_0x1506ac);}[_0x237d('0x29')](_0x5dc970){return v(this[_0x237d('0x27')],!0x1,_0x5dc970);}}class P extends _0x3ce13f{static get[_0x237d('0x15')](){return _0x237d('0x14');}constructor(_0x145f54){super(_0x145f54),this[_0x237d('0x1b')]=_0x237d('0x1e');}[_0x237d('0x7')](){this[_0x237d('0x27')][_0x237d('0x25')][_0x237d('0x13')]('CommentsRepository')[_0x237d('0x6')]={'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[_0x237d('0x27')][_0x237d('0x25')]['get'](_0x237d('0x26'))[_0x237d('0x6')]=null;}}function D(_0x446495){return void 0x0!==_0x446495[_0x237d('0x11')];}async function v(_0x1bae7f,_0x597ffe,_0x246ba7){const _0x15f81f=_0xd26fa9(_0x1bae7f,w);_0x15f81f[_0x237d('0x25')][_0x237d('0x8')](_0x243570,P),_0x15f81f[_0x237d('0x2a')]=D(_0x1bae7f)?_0x1bae7f[_0x237d('0x11')]():void 0x0;const _0x66e4bf=document['createDocumentFragment'](),_0x15b919=_0x1bae7f[_0x237d('0x5')][_0x237d('0x13')](_0x237d('0x17'))['editorCreator'],_0x1e3465=await _0x15b919(_0x15f81f,()=>function(_0x2ccdfe){const _0x20514c=document['createElement'](_0x237d('0x1a'));return _0x2ccdfe[_0x237d('0x16')](_0x20514c),_0x20514c;}(_0x66e4bf));!function(_0x4a0a35,_0x532830){const _0x20ee72=_0x4a0a35[_0x237d('0x4')]['document'][_0x237d('0xa')]()['reduce']((_0x48e57f,_0x88cb20)=>(_0x48e57f[_0x88cb20]=_0x4a0a35[_0x237d('0x19')]['get']({'rootName':_0x88cb20}),_0x48e57f),{}),_0x4979d8=_0x4a0a35[_0x237d('0x25')]['get']('Users')['users'][_0x237d('0x9')](_0x114689=>({'id':_0x114689['id'],'name':_0x114689['name']})),_0x2c1136=_0x4a0a35[_0x237d('0x25')][_0x237d('0x13')](_0x237d('0x26'))[_0x237d('0x28')]({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x4aac12=_0x532830[_0x237d('0x25')][_0x237d('0x13')](_0x237d('0x12')),_0xaaad10=_0x532830[_0x237d('0x25')]['get'](_0x237d('0x26'));for(const _0x31eabc of _0x4979d8)_0x4aac12[_0x237d('0x0')](_0x31eabc['id'])||_0x4aac12[_0x237d('0x22')](_0x31eabc);_0x4aac12['me']||_0x4aac12[_0x237d('0x18')]();for(const _0x515905 of _0x2c1136)_0xaaad10['addSuggestionData'](_0x515905);_0x532830[_0x237d('0x19')][_0x237d('0xe')](_0x20ee72);}(_0x1bae7f,_0x1e3465),_0x1e3465[_0x237d('0x21')](_0x597ffe?_0x237d('0xb'):_0x237d('0x3'));const _0x59fc8c=D(_0x1e3465)?_0x1e3465[_0x237d('0x1c')](_0x246ba7):_0x1e3465['data'][_0x237d('0x13')](_0x246ba7);return await _0x1e3465[_0x237d('0x24')](),_0x59fc8c;}