@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20230810.0 → 0.0.0-nightly-20230812.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 _0x4654=['substr','onDiscard','accept','creator','reduce','isInContent','isIntersectingWithRange','decorate','_onDiscard','getFirstMarker','clear','split','getFirstRange','removeMarkers','map','change','data','nodeAfter','length','@external','_onAttributesChange','getItems','getAllAdjacentSuggestions','getMarkers','add','get','onAccept','authoredAt','author','toJSON','previous','getMultiRangeId','delete','getRanges','push','from','_onAccept','isIntersecting','set','getMarkerNames','size','subType','next','createdAt','_saved','_model','_markerNames','getRange','type','removeAttribute','attributes','commentThread','onAttributesChange','removeMarker','end','setAttribute','start','nodeBefore','filter','addMarkerName','isExternal','suggestion:','hasComments'];(function(_0x2cce41,_0x4654e5){const _0x29b451=function(_0x5243a2){while(--_0x5243a2){_0x2cce41['push'](_0x2cce41['shift']());}};_0x29b451(++_0x4654e5);}(_0x4654,0x120));const _0x29b4=function(_0x2cce41,_0x4654e5){_0x2cce41=_0x2cce41-0x0;let _0x29b451=_0x4654[_0x2cce41];return _0x29b451;};import{Element as _0x34c25f}from'ckeditor5/src/engine';import{ObservableMixin as _0xf79c6c,uid as _0x123da5}from'ckeditor5/src/utils';import{cloneDeep as _0x5515fe,isEqual as _0x198804,set as _0x5c5be6,unset as _0x333ab4}from'lodash-es';export default class u extends _0xf79c6c(){constructor(_0x44aea5,_0x34fcf8){super(),this['id']=_0x34fcf8['id'],this[_0x29b4('0xc')]=_0x34fcf8[_0x29b4('0xc')],this[_0x29b4('0x5')]=_0x34fcf8[_0x29b4('0x5')]||null,this[_0x29b4('0x37')]=_0x34fcf8[_0x29b4('0x37')],this[_0x29b4('0x1e')]=_0x34fcf8['creator']||_0x34fcf8[_0x29b4('0x37')],this[_0x29b4('0x18')]=Boolean(_0x34fcf8[_0x29b4('0xe')]&&_0x34fcf8[_0x29b4('0xe')][_0x29b4('0x2e')]),this[_0x29b4('0x2b')]=null,this[_0x29b4('0x9')]=_0x44aea5,this[_0x29b4('0x0')]=_0x34fcf8[_0x29b4('0x35')],this[_0x29b4('0x23')]=_0x34fcf8[_0x29b4('0x1c')],this[_0x29b4('0x2f')]=_0x34fcf8[_0x29b4('0x10')],this['_markerNames']=new Set(),this[_0x29b4('0x7')]=null,this['set'](_0x29b4('0x36'),null),this[_0x29b4('0x2')](_0x29b4('0xe'),_0x34fcf8[_0x29b4('0xe')]||{}),this['set']('previous',null),this[_0x29b4('0x2')](_0x29b4('0x6'),null),this[_0x29b4('0x2')](_0x29b4('0xf'),null),this[_0x29b4('0x2')](_0x29b4('0x8'),!0x1),this[_0x29b4('0x22')]('accept'),this['decorate']('discard');}get['head'](){let _0x295d12=this;for(;_0x295d12[_0x29b4('0x39')];)_0x295d12=_0x295d12[_0x29b4('0x39')];return _0x295d12;}get[_0x29b4('0x1a')](){return!!this[_0x29b4('0xf')]&&this['commentThread'][_0x29b4('0x2d')]>0x0;}get['isMultiRange'](){if(0x0==this['_markerNames'][_0x29b4('0x4')])return!0x1;return 0x6==Array['from'](this[_0x29b4('0xa')])[0x0][_0x29b4('0x26')](':')[_0x29b4('0x2d')];}get[_0x29b4('0x20')](){return null!==this['getFirstMarker']();}[_0x29b4('0x17')](_0x595ef4){this[_0x29b4('0xa')][_0x29b4('0x33')](_0x595ef4);}[_0x29b4('0x3')](){return Array[_0x29b4('0x3e')](this[_0x29b4('0xa')]);}[_0x29b4('0x32')](){return this['getMarkerNames']()[_0x29b4('0x29')](_0x305ab4=>this[_0x29b4('0x9')]['markers'][_0x29b4('0x34')](_0x305ab4))[_0x29b4('0x16')](_0x4823d2=>_0x4823d2);}[_0x29b4('0x24')](){return this[_0x29b4('0x32')]()[0x0]||null;}[_0x29b4('0x28')](){this[_0x29b4('0x9')][_0x29b4('0x2a')](_0x283f3d=>{for(const _0x2b31e6 of this[_0x29b4('0x32')]())_0x283f3d[_0x29b4('0x11')](_0x2b31e6);}),this[_0x29b4('0xa')][_0x29b4('0x25')]();}[_0x29b4('0x11')](_0x36dd6f){this[_0x29b4('0x9')][_0x29b4('0x2a')](_0x5c6242=>{_0x5c6242['removeMarker'](_0x36dd6f);}),this['_markerNames'][_0x29b4('0x3b')](_0x36dd6f);}['addRange'](_0x37e4e4){const _0x29dc77=_0x29b4('0x19')+this[_0x29b4('0xc')]+':'+this['subType']+':'+this['id']+':'+this['creator']['id']+':'+u[_0x29b4('0x3a')]();this[_0x29b4('0x17')](_0x29dc77),this['_model'][_0x29b4('0x2a')](_0x17602e=>{_0x17602e['addMarker'](_0x29dc77,{'range':_0x37e4e4,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x29b4('0x21')](_0x2fd0ad){for(const _0x280173 of this[_0x29b4('0x3c')]())if(_0x280173[_0x29b4('0x1')](_0x2fd0ad))return!0x0;return!0x1;}[_0x29b4('0x3c')](){return this[_0x29b4('0x32')]()[_0x29b4('0x29')](_0x248730=>_0x248730['getRange']());}['getItems'](){return this[_0x29b4('0x3c')]()[_0x29b4('0x1f')]((_0x57ab03,_0x3e0a30)=>[..._0x57ab03,..._0x3e0a30[_0x29b4('0x30')]()],[]);}[_0x29b4('0x27')](){var _0x2a74d0;return(null===(_0x2a74d0=this['getFirstMarker']())||void 0x0===_0x2a74d0?void 0x0:_0x2a74d0[_0x29b4('0xb')]())||null;}['getContainedElement'](){const _0xf45da7=this['getRanges']();if(0x1!=_0xf45da7[_0x29b4('0x2d')])return null;const _0x2a2d57=_0xf45da7[0x0],_0x1ec110=_0x2a2d57[_0x29b4('0x14')][_0x29b4('0x2c')],_0x36aa29=_0x2a2d57[_0x29b4('0x12')][_0x29b4('0x15')];return _0x1ec110 instanceof _0x34c25f?_0x1ec110!=_0x36aa29?null:_0x1ec110:null;}[_0x29b4('0x1d')](){this[_0x29b4('0x0')](this[_0x29b4('0x3c')](),this[_0x29b4('0x2b')],this[_0x29b4('0xe')]),this[_0x29b4('0x28')]();}['discard'](){this[_0x29b4('0x23')](this[_0x29b4('0x3c')](),this[_0x29b4('0x2b')],this[_0x29b4('0xe')]),this[_0x29b4('0x28')]();}[_0x29b4('0x31')](){const _0x54907f=[];let _0x12c275=this['head'];for(;_0x12c275;)_0x54907f[_0x29b4('0x3d')](_0x12c275),_0x12c275=_0x12c275['next'];return _0x54907f;}[_0x29b4('0x13')](_0x23af16,_0x2d67d2){const _0x320b0b=_0x5515fe(this['attributes']);_0x5c5be6(_0x320b0b,_0x23af16,_0x2d67d2),_0x198804(_0x320b0b,this['attributes'])||(this[_0x29b4('0xe')]=_0x320b0b,this[_0x29b4('0x2f')](_0x320b0b));}[_0x29b4('0xd')](_0x2861bc){const _0x1e69e9=_0x5515fe(this[_0x29b4('0xe')]);_0x333ab4(_0x1e69e9,_0x2861bc),_0x198804(_0x1e69e9,this[_0x29b4('0xe')])||(this['attributes']=_0x1e69e9,this['_onAttributesChange'](this[_0x29b4('0xe')]));}[_0x29b4('0x38')](){return{'id':this['id'],'type':this[_0x29b4('0x5')]?this['type']+':'+this[_0x29b4('0x5')]:this['type'],'authorId':this['creator']['id'],'createdAt':this[_0x29b4('0x7')],'hasComments':this[_0x29b4('0x1a')],'data':this[_0x29b4('0x2b')],'attributes':this['attributes']};}static[_0x29b4('0x3a')](){return _0x123da5()[_0x29b4('0x1b')](0x1,0x5);}}
23
+ const _0x799a=['push','getContainedElement','subType','start','removeAttribute','onAccept','getMarkerNames','getFirstRange','filter','add','commentThread','accept','_markerNames','decorate','onDiscard','nodeAfter','getMultiRangeId','onAttributesChange','getMarkers','attributes','from','_saved','getItems','author','delete','markers','size','_model','substr','getFirstMarker','isInContent','authoredAt','isIntersectingWithRange','next','@external','addMarkerName','getRanges','_onAttributesChange','head','previous','map','_onDiscard','addRange','removeMarker','createdAt','isExternal','get','hasComments','nodeBefore','getAllAdjacentSuggestions','change','getRange','type','removeMarkers','length','discard','creator','setAttribute','set','_onAccept'];(function(_0x7d1f9d,_0x799a6f){const _0x4329ea=function(_0x9fd937){while(--_0x9fd937){_0x7d1f9d['push'](_0x7d1f9d['shift']());}};_0x4329ea(++_0x799a6f);}(_0x799a,0x84));const _0x4329=function(_0x7d1f9d,_0x799a6f){_0x7d1f9d=_0x7d1f9d-0x0;let _0x4329ea=_0x799a[_0x7d1f9d];return _0x4329ea;};import{Element as _0x4010a6}from'ckeditor5/src/engine';import{ObservableMixin as _0x26018c,uid as _0x3ce42e}from'ckeditor5/src/utils';import{cloneDeep as _0x30aed6,isEqual as _0x2419ea,set as _0x3fecad,unset as _0x3d2156}from'lodash-es';export default class u extends _0x26018c(){constructor(_0x477606,_0x4d2327){super(),this['id']=_0x4d2327['id'],this[_0x4329('0x28')]=_0x4d2327['type'],this[_0x4329('0x32')]=_0x4d2327['subType']||null,this[_0x4329('0xb')]=_0x4d2327[_0x4329('0xb')],this[_0x4329('0x2c')]=_0x4d2327[_0x4329('0x2c')]||_0x4d2327['author'],this[_0x4329('0x21')]=Boolean(_0x4d2327['attributes']&&_0x4d2327[_0x4329('0x7')][_0x4329('0x16')]),this['data']=null,this[_0x4329('0xf')]=_0x477606,this['_onAccept']=_0x4d2327[_0x4329('0x35')],this[_0x4329('0x1d')]=_0x4d2327[_0x4329('0x2')],this[_0x4329('0x19')]=_0x4d2327[_0x4329('0x5')],this['_markerNames']=new Set(),this[_0x4329('0x20')]=null,this[_0x4329('0x2e')](_0x4329('0x13'),null),this['set']('attributes',_0x4d2327['attributes']||{}),this[_0x4329('0x2e')](_0x4329('0x1b'),null),this[_0x4329('0x2e')](_0x4329('0x15'),null),this[_0x4329('0x2e')]('commentThread',null),this['set'](_0x4329('0x9'),!0x1),this[_0x4329('0x1')]('accept'),this[_0x4329('0x1')](_0x4329('0x2b'));}get[_0x4329('0x1a')](){let _0x3b4438=this;for(;_0x3b4438[_0x4329('0x1b')];)_0x3b4438=_0x3b4438[_0x4329('0x1b')];return _0x3b4438;}get[_0x4329('0x23')](){return!!this[_0x4329('0x3a')]&&this[_0x4329('0x3a')][_0x4329('0x2a')]>0x0;}get['isMultiRange'](){if(0x0==this[_0x4329('0x0')][_0x4329('0xe')])return!0x1;return 0x6==Array[_0x4329('0x8')](this[_0x4329('0x0')])[0x0]['split'](':')[_0x4329('0x2a')];}get[_0x4329('0x12')](){return null!==this['getFirstMarker']();}[_0x4329('0x17')](_0x40c91e){this[_0x4329('0x0')][_0x4329('0x39')](_0x40c91e);}[_0x4329('0x36')](){return Array[_0x4329('0x8')](this[_0x4329('0x0')]);}[_0x4329('0x6')](){return this[_0x4329('0x36')]()[_0x4329('0x1c')](_0x28bcb7=>this[_0x4329('0xf')][_0x4329('0xd')][_0x4329('0x22')](_0x28bcb7))[_0x4329('0x38')](_0x19ce91=>_0x19ce91);}[_0x4329('0x11')](){return this[_0x4329('0x6')]()[0x0]||null;}[_0x4329('0x29')](){this[_0x4329('0xf')]['change'](_0x42531a=>{for(const _0x48535d of this[_0x4329('0x6')]())_0x42531a[_0x4329('0x1f')](_0x48535d);}),this[_0x4329('0x0')]['clear']();}[_0x4329('0x1f')](_0x2dfb2f){this['_model'][_0x4329('0x26')](_0x149f89=>{_0x149f89['removeMarker'](_0x2dfb2f);}),this[_0x4329('0x0')][_0x4329('0xc')](_0x2dfb2f);}[_0x4329('0x1e')](_0x30d1b4){const _0x200c11='suggestion:'+this[_0x4329('0x28')]+':'+this[_0x4329('0x32')]+':'+this['id']+':'+this[_0x4329('0x2c')]['id']+':'+u[_0x4329('0x4')]();this['addMarkerName'](_0x200c11),this[_0x4329('0xf')][_0x4329('0x26')](_0x45c503=>{_0x45c503['addMarker'](_0x200c11,{'range':_0x30d1b4,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x4329('0x14')](_0x40f96f){for(const _0x1517b8 of this[_0x4329('0x18')]())if(_0x1517b8['isIntersecting'](_0x40f96f))return!0x0;return!0x1;}[_0x4329('0x18')](){return this[_0x4329('0x6')]()['map'](_0x41dab8=>_0x41dab8[_0x4329('0x27')]());}[_0x4329('0xa')](){return this[_0x4329('0x18')]()['reduce']((_0x30c781,_0x12aae4)=>[..._0x30c781,..._0x12aae4['getItems']()],[]);}[_0x4329('0x37')](){var _0x44e623;return(null===(_0x44e623=this['getFirstMarker']())||void 0x0===_0x44e623?void 0x0:_0x44e623[_0x4329('0x27')]())||null;}[_0x4329('0x31')](){const _0x15b186=this['getRanges']();if(0x1!=_0x15b186[_0x4329('0x2a')])return null;const _0x54b54e=_0x15b186[0x0],_0x12a8b0=_0x54b54e[_0x4329('0x33')][_0x4329('0x3')],_0x993dc3=_0x54b54e['end'][_0x4329('0x24')];return _0x12a8b0 instanceof _0x4010a6?_0x12a8b0!=_0x993dc3?null:_0x12a8b0:null;}[_0x4329('0x3b')](){this[_0x4329('0x2f')](this[_0x4329('0x18')](),this['data'],this['attributes']),this[_0x4329('0x29')]();}[_0x4329('0x2b')](){this['_onDiscard'](this[_0x4329('0x18')](),this['data'],this['attributes']),this[_0x4329('0x29')]();}[_0x4329('0x25')](){const _0x488216=[];let _0x1d1f97=this[_0x4329('0x1a')];for(;_0x1d1f97;)_0x488216[_0x4329('0x30')](_0x1d1f97),_0x1d1f97=_0x1d1f97[_0x4329('0x15')];return _0x488216;}[_0x4329('0x2d')](_0x51a56b,_0x4e1205){const _0x19688a=_0x30aed6(this[_0x4329('0x7')]);_0x3fecad(_0x19688a,_0x51a56b,_0x4e1205),_0x2419ea(_0x19688a,this[_0x4329('0x7')])||(this['attributes']=_0x19688a,this[_0x4329('0x19')](_0x19688a));}[_0x4329('0x34')](_0x1ffb6f){const _0x406b2c=_0x30aed6(this[_0x4329('0x7')]);_0x3d2156(_0x406b2c,_0x1ffb6f),_0x2419ea(_0x406b2c,this[_0x4329('0x7')])||(this[_0x4329('0x7')]=_0x406b2c,this[_0x4329('0x19')](this['attributes']));}['toJSON'](){return{'id':this['id'],'type':this['subType']?this[_0x4329('0x28')]+':'+this['subType']:this[_0x4329('0x28')],'authorId':this[_0x4329('0x2c')]['id'],'createdAt':this['createdAt'],'hasComments':this[_0x4329('0x23')],'data':this['data'],'attributes':this['attributes']};}static[_0x4329('0x4')](){return _0x3ce42e()[_0x4329('0x10')](0x1,0x5);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x319e=['getItemLabel','_schema','_addDescriptionItems','length','_locale','$1\x20$2','text','indexOf','type','addObject','isEqual','set','replace','deletion','removeContainer','getFirstRange','isEmpty','addEmptyContainer','_itemLabels','pop','data','getDescriptions','element','previousSibling','match','start','insertion','normal','ELEMENT_SPACE','label','addContainer','elementEnd','Object','elementStart','getWalker','name','EmptyContainer','isObject','removeEmptyContainer','nextSibling','*Split:*\x20%0','$text','matchingCallback','item','function','*Remove:*\x20%0','_customCallbacks','_resolveDescriptionItems','registerDescriptionCallback','add','skip','push','_itemLabelsCallbacks','quantity','registerElementLabel','remove','*Insert:*\x20%0','Container'];(function(_0x1cfb8f,_0x319e82){const _0x5044e1=function(_0x39f761){while(--_0x39f761){_0x1cfb8f['push'](_0x1cfb8f['shift']());}};_0x5044e1(++_0x319e82);}(_0x319e,0xdd));const _0x5044=function(_0x1cfb8f,_0x319e82){_0x1cfb8f=_0x1cfb8f-0x0;let _0x5044e1=_0x319e[_0x1cfb8f];return _0x5044e1;};import{getTranslation as _0x5a4595}from'./utils/common-translations';import{priorities as _0x36a860,insertToPriorityArray as _0x270865}from'ckeditor5/src/utils';export default class m{constructor(_0x28f6c9,_0x19ca88){this[_0x5044('0x39')]=[],this[_0x5044('0x1d')]=new Map(),this[_0x5044('0x5')]=[],this[_0x5044('0xc')]=_0x28f6c9,this[_0x5044('0xf')]=_0x19ca88;}[_0x5044('0x20')](_0x4b7ece){const _0x44f7f1=[];for(let _0xdd5728=0x0;_0xdd5728<_0x4b7ece['length'];_0xdd5728++){const _0x3c57b8=_0x4b7ece[_0xdd5728];if(!_0x3c57b8['isInContent'])continue;let _0x45a58c=!0x1;for(const _0x19f88d of this['_customCallbacks']){const _0x256cf4=_0x19f88d(_0x3c57b8);if(_0x256cf4){_0x5044('0x13')in _0x256cf4&&_0x44f7f1['push'](_0x256cf4),_0x45a58c=!0x0;break;}}if(!_0x45a58c){this[_0x5044('0xd')](_0x44f7f1,_0x3c57b8);const _0x3a23cb=_0x4b7ece[_0xdd5728+0x1];if(_0x3a23cb&&!_0x3c57b8[_0x5044('0x1a')]()['end'][_0x5044('0x15')](_0x3a23cb[_0x5044('0x1a')]()[_0x5044('0x24')])){const _0x4c335e=_0x44f7f1[_0x44f7f1[_0x5044('0xe')]-0x1],_0x167a85=_0x5044('0x25')==_0x3c57b8[_0x5044('0x13')]?_0x5044('0x2'):'remove';_0x4c335e&&_0x5044('0x11')==_0x4c335e[_0x5044('0x13')]&&(_0x4c335e[_0x167a85]+='\x0a');}}}return this['_resolveDescriptionItems'](_0x44f7f1);}[_0x5044('0x1')](_0x29f31c){this['_customCallbacks'][_0x5044('0x4')](_0x29f31c);}[_0x5044('0x7')](_0x3d9891,_0x535828,_0x21fbb7=_0x36a860[_0x5044('0x26')]){_0x5044('0x37')==typeof _0x3d9891?_0x270865(this[_0x5044('0x5')],{'matchingCallback':_0x3d9891,'label':_0x535828,'priority':_0x21fbb7}):this[_0x5044('0x1d')][_0x5044('0x16')](_0x3d9891,_0x535828);}[_0x5044('0xb')](_0x4e5292,_0x252a28=0x1){let _0x5828d7;for(const _0x300236 of this[_0x5044('0x5')])if(_0x300236[_0x5044('0x35')](_0x4e5292)){_0x5828d7=_0x300236[_0x5044('0x28')];break;}return _0x5828d7||(_0x5828d7=this['_itemLabels']['get'](_0x4e5292['name'])),_0x5828d7?_0x5828d7(_0x252a28):0x1!==_0x252a28?_0x252a28+'\x20'+_0x4e5292[_0x5044('0x2e')]+'s':''+_0x4e5292[_0x5044('0x2e')];}[_0x5044('0xd')](_0xdd5f67,_0x3f5ab9){const _0x93358d=_0x3f5ab9['getFirstRange']()[_0x5044('0x2d')](),_0x90abdd=_0x5044('0x25')==_0x3f5ab9[_0x5044('0x13')]?_0x5044('0x2'):_0x5044('0x8');for(const _0x3b2a68 of _0x93358d){const _0x6f3406=_0x3b2a68[_0x5044('0x36')],_0x5a57e4=_0xdd5f67[_0xdd5f67['length']-0x1];if(_0x6f3406['is']('$textProxy'))_0x5a57e4&&_0x5a57e4['type']['indexOf'](_0x5044('0xa'))>-0x1&&_0xdd5f67[_0x5044('0x1e')](),_0x5a57e4&&_0x5044('0x11')==_0x5a57e4[_0x5044('0x13')]?_0x5a57e4[_0x90abdd]+=_0x6f3406['data']:_0xdd5f67[_0x5044('0x4')]({'type':'text','add':_0x5044('0x2')==_0x90abdd?_0x6f3406[_0x5044('0x1f')]:'','remove':_0x5044('0x8')==_0x90abdd?_0x6f3406[_0x5044('0x1f')]:''});else{if(this[_0x5044('0xc')]['isObject'](_0x6f3406)){const _0x426f38=_0x6f3406;if(_0x5a57e4&&_0x5a57e4[_0x5044('0x13')][_0x5044('0x12')](_0x5044('0xa'))>-0x1&&_0xdd5f67[_0x5044('0x1e')](),'elementEnd'==_0x3b2a68['type'])continue;_0x5a57e4&&_0x5a57e4['type']==_0x90abdd+'Object'&&_0x5a57e4['element'][_0x5044('0x2e')]==_0x426f38[_0x5044('0x2e')]?_0x5a57e4['quantity']++:_0xdd5f67[_0x5044('0x4')]({'type':_0x90abdd+_0x5044('0x2b'),'element':_0x426f38,'quantity':0x1}),_0x93358d[_0x5044('0x3')](_0x22550f=>!(_0x5044('0x2a')==_0x22550f[_0x5044('0x13')]&&_0x22550f[_0x5044('0x36')]==_0x6f3406));}else{if(this[_0x5044('0xc')]['checkChild'](_0x6f3406,_0x5044('0x34'))||_0x6f3406['is'](_0x5044('0x21'),'softBreak')){const _0x250f17=_0x6f3406;if(_0x5044('0x2')==_0x90abdd&&_0x5044('0x2c')==_0x3b2a68['type']||_0x5044('0x8')==_0x90abdd&&_0x5044('0x2a')==_0x3b2a68[_0x5044('0x13')])continue;if(_0x5a57e4&&-0x1==_0x5a57e4['type'][_0x5044('0x12')]('Container')){'text'==_0x5a57e4['type']&&(_0x5a57e4[_0x90abdd]+='\x0a');continue;}let _0x3e1564;if(_0x3e1564='add'==_0x90abdd?_0x250f17[_0x5044('0x32')]&&!this[_0x5044('0xc')][_0x5044('0x30')](_0x250f17[_0x5044('0x32')])?_0x250f17[_0x5044('0x32')]:null:_0x250f17['previousSibling']&&!this[_0x5044('0xc')][_0x5044('0x30')](_0x250f17['previousSibling'])?_0x250f17[_0x5044('0x22')]:null,_0x250f17[_0x5044('0x1b')]||_0x3e1564&&_0x3e1564['isEmpty']){const _0x2028ed=_0x3e1564&&_0x3e1564[_0x5044('0x1b')]?_0x3e1564:_0x250f17;_0x5a57e4&&_0x5a57e4[_0x5044('0x13')]==_0x90abdd+_0x5044('0x2f')&&_0x5a57e4[_0x5044('0x21')][_0x5044('0x2e')]==_0x2028ed[_0x5044('0x2e')]?_0x5a57e4[_0x5044('0x6')]++:_0xdd5f67[_0x5044('0x4')]({'type':_0x90abdd+_0x5044('0x2f'),'element':_0x2028ed,'quantity':0x1});}else _0xdd5f67[_0x5044('0x4')]({'type':_0x90abdd+_0x5044('0xa'),'element':_0x250f17});}}}}}[_0x5044('0x0')](_0x10c46b){const _0x13d0a7=this[_0x5044('0xf')],_0x5dfe65=[];for(const _0x192556 of _0x10c46b){switch(_0x192556[_0x5044('0x13')]){case _0x5044('0x11'):if(_0x192556[_0x5044('0x2')]=_0x192556['add'][_0x5044('0x17')](/(\S)\u000A+(\S)/g,'$1\x20$2')[_0x5044('0x17')](/\u000A/g,''),_0x192556[_0x5044('0x8')]=_0x192556['remove'][_0x5044('0x17')](/(\S)\u000A+(\S)/g,_0x5044('0x10'))[_0x5044('0x17')](/\u000A/g,''),''!=_0x192556[_0x5044('0x2')]&&''!=_0x192556[_0x5044('0x8')]){_0x5dfe65[_0x5044('0x4')]({'type':_0x5044('0x17'),'content':_0x5a4595(_0x13d0a7,'REPLACE_TEXT',['\x22'+_0x192556[_0x5044('0x8')]+'\x22','\x22'+_0x192556[_0x5044('0x2')]+'\x22'])});continue;}if(null!=_0x192556['add']['match'](/^ +$/)){_0x5dfe65[_0x5044('0x4')]({'type':_0x5044('0x25'),'content':_0x5a4595(_0x13d0a7,_0x5044('0x9'),_0x5a4595(_0x13d0a7,_0x5044('0x27'),_0x192556[_0x5044('0x2')]['length']))});continue;}if(null!=_0x192556[_0x5044('0x8')][_0x5044('0x23')](/^ +$/)){_0x5dfe65['push']({'type':_0x5044('0x18'),'content':_0x5a4595(_0x13d0a7,_0x5044('0x38'),_0x5a4595(_0x13d0a7,_0x5044('0x27'),_0x192556[_0x5044('0x8')]['length']))});continue;}if(''!=_0x192556[_0x5044('0x2')]){_0x5dfe65['push']({'type':_0x5044('0x25'),'content':_0x5a4595(_0x13d0a7,_0x5044('0x9'),'\x22'+_0x192556[_0x5044('0x2')]+'\x22')});continue;}_0x5dfe65[_0x5044('0x4')]({'type':_0x5044('0x18'),'content':_0x5a4595(_0x13d0a7,_0x5044('0x38'),'\x22'+_0x192556[_0x5044('0x8')]+'\x22')});continue;case _0x5044('0x1c'):case _0x5044('0x14'):_0x5dfe65[_0x5044('0x4')]({'type':_0x5044('0x25'),'content':_0x5a4595(_0x13d0a7,_0x5044('0x9'),this[_0x5044('0xb')](_0x192556[_0x5044('0x21')],_0x192556['quantity']))});continue;case _0x5044('0x31'):case'removeObject':_0x5dfe65[_0x5044('0x4')]({'type':_0x5044('0x18'),'content':_0x5a4595(_0x13d0a7,'*Remove:*\x20%0',this[_0x5044('0xb')](_0x192556[_0x5044('0x21')],_0x192556[_0x5044('0x6')]))});continue;case _0x5044('0x29'):_0x5dfe65['push']({'type':_0x5044('0x25'),'content':_0x5a4595(_0x13d0a7,_0x5044('0x33'),this[_0x5044('0xb')](_0x192556[_0x5044('0x21')],_0x192556[_0x5044('0x6')]))});continue;case _0x5044('0x19'):_0x5dfe65[_0x5044('0x4')]({'type':_0x5044('0x18'),'content':_0x5a4595(_0x13d0a7,'*Merge:*\x20%0',this[_0x5044('0xb')](_0x192556['element'],_0x192556[_0x5044('0x6')]))});continue;}_0x5dfe65[_0x5044('0x4')](_0x192556);}return _0x5dfe65;}}
23
+ const _0x591b=['getDescriptions','_customCallbacks','elementStart','Container','removeEmptyContainer','Object','_itemLabelsCallbacks','pop','end','removeObject','_itemLabels','addContainer','isEqual','$textProxy','remove','insertion','*Remove:*\x20%0','registerElementLabel','get','getItemLabel','getFirstRange','softBreak','isEmpty','ELEMENT_SPACE','addObject','skip','_schema','quantity','replace','checkChild','type','text','$text','name','isObject','push','addEmptyContainer','indexOf','data','_addDescriptionItems','EmptyContainer','length','function','nextSibling','elementEnd','item','add','_locale','previousSibling','element','REPLACE_TEXT','_resolveDescriptionItems','*Merge:*\x20%0','$1\x20$2','label','registerDescriptionCallback','set','*Insert:*\x20%0','deletion'];(function(_0x4fa823,_0x591bf0){const _0x17c954=function(_0x8727c7){while(--_0x8727c7){_0x4fa823['push'](_0x4fa823['shift']());}};_0x17c954(++_0x591bf0);}(_0x591b,0x1b2));const _0x17c9=function(_0x4fa823,_0x591bf0){_0x4fa823=_0x4fa823-0x0;let _0x17c954=_0x591b[_0x4fa823];return _0x17c954;};import{getTranslation as _0x500ca3}from'./utils/common-translations';import{priorities as _0x3c0783,insertToPriorityArray as _0x1d8833}from'ckeditor5/src/utils';export default class m{constructor(_0xe11072,_0x27eed3){this[_0x17c9('0x27')]=[],this[_0x17c9('0x30')]=new Map(),this[_0x17c9('0x2c')]=[],this[_0x17c9('0x5')]=_0xe11072,this[_0x17c9('0x1a')]=_0x27eed3;}[_0x17c9('0x26')](_0x327cc5){const _0x31be63=[];for(let _0x360f4c=0x0;_0x360f4c<_0x327cc5[_0x17c9('0x14')];_0x360f4c++){const _0x564f36=_0x327cc5[_0x360f4c];if(!_0x564f36['isInContent'])continue;let _0x5c081a=!0x1;for(const _0x182311 of this[_0x17c9('0x27')]){const _0x196c7d=_0x182311(_0x564f36);if(_0x196c7d){'type'in _0x196c7d&&_0x31be63['push'](_0x196c7d),_0x5c081a=!0x0;break;}}if(!_0x5c081a){this['_addDescriptionItems'](_0x31be63,_0x564f36);const _0x3e9121=_0x327cc5[_0x360f4c+0x1];if(_0x3e9121&&!_0x564f36[_0x17c9('0x3a')]()[_0x17c9('0x2e')][_0x17c9('0x32')](_0x3e9121['getFirstRange']()['start'])){const _0x41cb4f=_0x31be63[_0x31be63['length']-0x1],_0x359b48=_0x17c9('0x35')==_0x564f36[_0x17c9('0x9')]?_0x17c9('0x19'):_0x17c9('0x34');_0x41cb4f&&_0x17c9('0xa')==_0x41cb4f['type']&&(_0x41cb4f[_0x359b48]+='\x0a');}}}return this['_resolveDescriptionItems'](_0x31be63);}[_0x17c9('0x22')](_0x36c893){this['_customCallbacks']['push'](_0x36c893);}[_0x17c9('0x37')](_0x2cee87,_0x33b854,_0x20a930=_0x3c0783['normal']){_0x17c9('0x15')==typeof _0x2cee87?_0x1d8833(this[_0x17c9('0x2c')],{'matchingCallback':_0x2cee87,'label':_0x33b854,'priority':_0x20a930}):this[_0x17c9('0x30')][_0x17c9('0x23')](_0x2cee87,_0x33b854);}[_0x17c9('0x39')](_0x3e5753,_0x51657a=0x1){let _0x4caf4b;for(const _0x4d5d1b of this['_itemLabelsCallbacks'])if(_0x4d5d1b['matchingCallback'](_0x3e5753)){_0x4caf4b=_0x4d5d1b[_0x17c9('0x21')];break;}return _0x4caf4b||(_0x4caf4b=this['_itemLabels'][_0x17c9('0x38')](_0x3e5753[_0x17c9('0xc')])),_0x4caf4b?_0x4caf4b(_0x51657a):0x1!==_0x51657a?_0x51657a+'\x20'+_0x3e5753[_0x17c9('0xc')]+'s':''+_0x3e5753[_0x17c9('0xc')];}[_0x17c9('0x12')](_0x1a40e1,_0xc58567){const _0x2e17c1=_0xc58567[_0x17c9('0x3a')]()['getWalker'](),_0x5449da=_0x17c9('0x35')==_0xc58567['type']?_0x17c9('0x19'):_0x17c9('0x34');for(const _0x254fe2 of _0x2e17c1){const _0x262f97=_0x254fe2[_0x17c9('0x18')],_0x2f265f=_0x1a40e1[_0x1a40e1[_0x17c9('0x14')]-0x1];if(_0x262f97['is'](_0x17c9('0x33')))_0x2f265f&&_0x2f265f[_0x17c9('0x9')][_0x17c9('0x10')](_0x17c9('0x29'))>-0x1&&_0x1a40e1[_0x17c9('0x2d')](),_0x2f265f&&_0x17c9('0xa')==_0x2f265f[_0x17c9('0x9')]?_0x2f265f[_0x5449da]+=_0x262f97['data']:_0x1a40e1[_0x17c9('0xe')]({'type':'text','add':_0x17c9('0x19')==_0x5449da?_0x262f97['data']:'','remove':_0x17c9('0x34')==_0x5449da?_0x262f97[_0x17c9('0x11')]:''});else{if(this[_0x17c9('0x5')][_0x17c9('0xd')](_0x262f97)){const _0xa0a639=_0x262f97;if(_0x2f265f&&_0x2f265f['type'][_0x17c9('0x10')](_0x17c9('0x29'))>-0x1&&_0x1a40e1[_0x17c9('0x2d')](),_0x17c9('0x17')==_0x254fe2[_0x17c9('0x9')])continue;_0x2f265f&&_0x2f265f['type']==_0x5449da+_0x17c9('0x2b')&&_0x2f265f[_0x17c9('0x1c')]['name']==_0xa0a639['name']?_0x2f265f[_0x17c9('0x6')]++:_0x1a40e1[_0x17c9('0xe')]({'type':_0x5449da+'Object','element':_0xa0a639,'quantity':0x1}),_0x2e17c1[_0x17c9('0x4')](_0x19df25=>!(_0x17c9('0x17')==_0x19df25[_0x17c9('0x9')]&&_0x19df25[_0x17c9('0x18')]==_0x262f97));}else{if(this['_schema'][_0x17c9('0x8')](_0x262f97,_0x17c9('0xb'))||_0x262f97['is'](_0x17c9('0x1c'),_0x17c9('0x0'))){const _0x426721=_0x262f97;if(_0x17c9('0x19')==_0x5449da&&_0x17c9('0x28')==_0x254fe2[_0x17c9('0x9')]||_0x17c9('0x34')==_0x5449da&&_0x17c9('0x17')==_0x254fe2['type'])continue;if(_0x2f265f&&-0x1==_0x2f265f[_0x17c9('0x9')]['indexOf']('Container')){_0x17c9('0xa')==_0x2f265f['type']&&(_0x2f265f[_0x5449da]+='\x0a');continue;}let _0x107eef;if(_0x107eef=_0x17c9('0x19')==_0x5449da?_0x426721[_0x17c9('0x16')]&&!this[_0x17c9('0x5')][_0x17c9('0xd')](_0x426721[_0x17c9('0x16')])?_0x426721[_0x17c9('0x16')]:null:_0x426721[_0x17c9('0x1b')]&&!this[_0x17c9('0x5')][_0x17c9('0xd')](_0x426721[_0x17c9('0x1b')])?_0x426721[_0x17c9('0x1b')]:null,_0x426721[_0x17c9('0x1')]||_0x107eef&&_0x107eef['isEmpty']){const _0x132035=_0x107eef&&_0x107eef[_0x17c9('0x1')]?_0x107eef:_0x426721;_0x2f265f&&_0x2f265f[_0x17c9('0x9')]==_0x5449da+_0x17c9('0x13')&&_0x2f265f[_0x17c9('0x1c')][_0x17c9('0xc')]==_0x132035['name']?_0x2f265f[_0x17c9('0x6')]++:_0x1a40e1[_0x17c9('0xe')]({'type':_0x5449da+_0x17c9('0x13'),'element':_0x132035,'quantity':0x1});}else _0x1a40e1['push']({'type':_0x5449da+'Container','element':_0x426721});}}}}}[_0x17c9('0x1e')](_0x35f8a4){const _0xa69f87=this[_0x17c9('0x1a')],_0x43dcc1=[];for(const _0x227cf7 of _0x35f8a4){switch(_0x227cf7[_0x17c9('0x9')]){case'text':if(_0x227cf7['add']=_0x227cf7[_0x17c9('0x19')][_0x17c9('0x7')](/(\S)\u000A+(\S)/g,_0x17c9('0x20'))[_0x17c9('0x7')](/\u000A/g,''),_0x227cf7[_0x17c9('0x34')]=_0x227cf7['remove']['replace'](/(\S)\u000A+(\S)/g,_0x17c9('0x20'))[_0x17c9('0x7')](/\u000A/g,''),''!=_0x227cf7[_0x17c9('0x19')]&&''!=_0x227cf7[_0x17c9('0x34')]){_0x43dcc1[_0x17c9('0xe')]({'type':_0x17c9('0x7'),'content':_0x500ca3(_0xa69f87,_0x17c9('0x1d'),['\x22'+_0x227cf7['remove']+'\x22','\x22'+_0x227cf7[_0x17c9('0x19')]+'\x22'])});continue;}if(null!=_0x227cf7[_0x17c9('0x19')]['match'](/^ +$/)){_0x43dcc1['push']({'type':_0x17c9('0x35'),'content':_0x500ca3(_0xa69f87,_0x17c9('0x24'),_0x500ca3(_0xa69f87,_0x17c9('0x2'),_0x227cf7[_0x17c9('0x19')][_0x17c9('0x14')]))});continue;}if(null!=_0x227cf7['remove']['match'](/^ +$/)){_0x43dcc1['push']({'type':_0x17c9('0x25'),'content':_0x500ca3(_0xa69f87,_0x17c9('0x36'),_0x500ca3(_0xa69f87,_0x17c9('0x2'),_0x227cf7[_0x17c9('0x34')][_0x17c9('0x14')]))});continue;}if(''!=_0x227cf7[_0x17c9('0x19')]){_0x43dcc1[_0x17c9('0xe')]({'type':_0x17c9('0x35'),'content':_0x500ca3(_0xa69f87,_0x17c9('0x24'),'\x22'+_0x227cf7[_0x17c9('0x19')]+'\x22')});continue;}_0x43dcc1[_0x17c9('0xe')]({'type':_0x17c9('0x25'),'content':_0x500ca3(_0xa69f87,_0x17c9('0x36'),'\x22'+_0x227cf7[_0x17c9('0x34')]+'\x22')});continue;case _0x17c9('0xf'):case _0x17c9('0x3'):_0x43dcc1[_0x17c9('0xe')]({'type':_0x17c9('0x35'),'content':_0x500ca3(_0xa69f87,_0x17c9('0x24'),this[_0x17c9('0x39')](_0x227cf7[_0x17c9('0x1c')],_0x227cf7[_0x17c9('0x6')]))});continue;case _0x17c9('0x2a'):case _0x17c9('0x2f'):_0x43dcc1[_0x17c9('0xe')]({'type':'deletion','content':_0x500ca3(_0xa69f87,_0x17c9('0x36'),this['getItemLabel'](_0x227cf7[_0x17c9('0x1c')],_0x227cf7['quantity']))});continue;case _0x17c9('0x31'):_0x43dcc1[_0x17c9('0xe')]({'type':_0x17c9('0x35'),'content':_0x500ca3(_0xa69f87,'*Split:*\x20%0',this['getItemLabel'](_0x227cf7[_0x17c9('0x1c')],_0x227cf7[_0x17c9('0x6')]))});continue;case'removeContainer':_0x43dcc1[_0x17c9('0xe')]({'type':_0x17c9('0x25'),'content':_0x500ca3(_0xa69f87,_0x17c9('0x1f'),this[_0x17c9('0x39')](_0x227cf7[_0x17c9('0x1c')],_0x227cf7[_0x17c9('0x6')]))});continue;}_0x43dcc1[_0x17c9('0xe')](_0x227cf7);}return _0x43dcc1;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x2342=['requires','pluginName','adapter','editor','getSuggestion','get','plugins','getSuggestions','TrackChanges','Comments'];(function(_0x2d4258,_0x2342e4){var _0x398b5b=function(_0xa50638){while(--_0xa50638){_0x2d4258['push'](_0x2d4258['shift']());}};_0x398b5b(++_0x2342e4);}(_0x2342,0x122));var _0x398b=function(_0x2d4258,_0x2342e4){_0x2d4258=_0x2d4258-0x0;var _0x398b5b=_0x2342[_0x2d4258];return _0x398b5b;};import{Plugin as _0x54b303}from'ckeditor5/src/core';import _0x925aca from'./trackchangesui';import _0x321f7d from'./trackchangesediting';import'ckeditor5-collaboration/src/collaboration-core';export default class k extends _0x54b303{static get[_0x398b('0x0')](){return[_0x321f7d,_0x925aca,_0x398b('0x9')];}static get[_0x398b('0x1')](){return _0x398b('0x8');}set[_0x398b('0x2')](_0x1e20ce){this[_0x398b('0x3')]['plugins']['get'](_0x321f7d)[_0x398b('0x2')]=_0x1e20ce;}get[_0x398b('0x2')](){return this[_0x398b('0x3')][_0x398b('0x6')][_0x398b('0x5')](_0x321f7d)['adapter'];}['addSuggestion'](_0x128a43){return this['editor'][_0x398b('0x6')][_0x398b('0x5')](_0x321f7d)['addSuggestionData'](_0x128a43);}['getSuggestions']({skipNotAttached:_0x320273=!0x1,toJSON:_0x4a38bb=!0x1}={}){return this[_0x398b('0x3')][_0x398b('0x6')][_0x398b('0x5')](_0x321f7d)[_0x398b('0x7')]({'skipNotAttached':_0x320273,'toJSON':_0x4a38bb});}[_0x398b('0x4')](_0x3f837b){return this[_0x398b('0x3')][_0x398b('0x6')][_0x398b('0x5')](_0x321f7d)[_0x398b('0x4')](_0x3f837b);}}
23
+ var _0x2f47=['getSuggestion','plugins','editor','adapter','get','addSuggestionData','requires','TrackChanges','addSuggestion','getSuggestions'];(function(_0x58ffa0,_0x2f47ae){var _0x5d38d1=function(_0x377c50){while(--_0x377c50){_0x58ffa0['push'](_0x58ffa0['shift']());}};_0x5d38d1(++_0x2f47ae);}(_0x2f47,0x1da));var _0x5d38=function(_0x58ffa0,_0x2f47ae){_0x58ffa0=_0x58ffa0-0x0;var _0x5d38d1=_0x2f47[_0x58ffa0];return _0x5d38d1;};import{Plugin as _0x5bfda4}from'ckeditor5/src/core';import _0x4868e1 from'./trackchangesui';import _0x19c1b9 from'./trackchangesediting';import'ckeditor5-collaboration/src/collaboration-core';export default class k extends _0x5bfda4{static get[_0x5d38('0x2')](){return[_0x19c1b9,_0x4868e1,'Comments'];}static get['pluginName'](){return _0x5d38('0x3');}set[_0x5d38('0x9')](_0x4e195c){this['editor'][_0x5d38('0x7')][_0x5d38('0x0')](_0x19c1b9)[_0x5d38('0x9')]=_0x4e195c;}get[_0x5d38('0x9')](){return this[_0x5d38('0x8')][_0x5d38('0x7')][_0x5d38('0x0')](_0x19c1b9)['adapter'];}[_0x5d38('0x4')](_0x3391da){return this['editor']['plugins'][_0x5d38('0x0')](_0x19c1b9)[_0x5d38('0x1')](_0x3391da);}[_0x5d38('0x5')]({skipNotAttached:_0x31ed8d=!0x1,toJSON:_0x2cc961=!0x1}={}){return this[_0x5d38('0x8')][_0x5d38('0x7')][_0x5d38('0x0')](_0x19c1b9)[_0x5d38('0x5')]({'skipNotAttached':_0x31ed8d,'toJSON':_0x2cc961});}[_0x5d38('0x6')](_0x2ba30b){return this['editor'][_0x5d38('0x7')][_0x5d38('0x0')](_0x19c1b9)[_0x5d38('0x6')](_0x2ba30b);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x54b3=['getDataWithDiscardedSuggestions','data','getDataWithAcceptedSuggestions','useAnonymousUser','appendChild','end','document','editor','getRootsAttributes','Users','discardAllSuggestions','createElement','execute','map','div','plugins','create','reduce','result','TrackChangesDataGetter','model','get','config','getFullData','set','CommentsRepository','trackChangesData','getRootNames','getSuggestions','rootsAttributes','track-changes-data-invalid-editor-creator','_adapter','Pagination','trackChangesData.editorCreator','name','push','pluginName','users','addSuggestionData','editorCreator','TrackChangesEditing','init','define'];(function(_0x7dcbd6,_0x54b3d2){const _0x4d65e1=function(_0x1eb640){while(--_0x1eb640){_0x7dcbd6['push'](_0x7dcbd6['shift']());}};_0x4d65e1(++_0x54b3d2);}(_0x54b3,0x85));const _0x4d65=function(_0x7dcbd6,_0x54b3d2){_0x7dcbd6=_0x7dcbd6-0x0;let _0x4d65e1=_0x54b3[_0x7dcbd6];return _0x4d65e1;};import{Plugin as _0x39d82f}from'ckeditor5/src/core';import{CKEditorError as _0x4838de}from'ckeditor5/src/utils';import _0x4bf285 from'./trackchangesediting';import{sanitizeEditorConfig as _0x429e7a}from'ckeditor5-collaboration/src/collaboration-core';const w=[_0x4d65('0x1c')];export default class T extends _0x39d82f{static get['requires'](){return[_0x4bf285];}static get[_0x4d65('0x20')](){return'TrackChangesData';}[_0x4d65('0x25')](){const _0x1ea239=this['editor'];if(_0x1ea239[_0x4d65('0x12')][_0x4d65('0x26')](_0x4d65('0x1d'),_0x49bddd=>{const _0x2a5395=_0x1ea239[_0x4d65('0x10')][_0x4d65('0x2')][_0x4d65('0x17')]()[_0x4d65('0xd')]((_0x248ddf,_0x19f659)=>(_0x248ddf[_0x19f659]='',_0x248ddf),{});return _0x1ea239['constructor'][_0x4d65('0xc')](_0x2a5395,_0x49bddd);}),'function'!=typeof _0x1ea239['config'][_0x4d65('0x11')](_0x4d65('0x16'))[_0x4d65('0x23')])throw new _0x4838de(_0x4d65('0x1a'));}[_0x4d65('0x29')](_0x53f834){return v(this[_0x4d65('0x3')],!0x0,_0x53f834);}[_0x4d65('0x27')](_0x2759a1){return v(this[_0x4d65('0x3')],!0x1,_0x2759a1);}}class P extends _0x39d82f{static get[_0x4d65('0x20')](){return _0x4d65('0xf');}constructor(_0x2d7c02){super(_0x2d7c02),this[_0x4d65('0xe')]=_0x4d65('0x1');}[_0x4d65('0x25')](){this['editor'][_0x4d65('0xb')][_0x4d65('0x11')](_0x4d65('0x15'))[_0x4d65('0x1b')]={'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['editor'][_0x4d65('0xb')][_0x4d65('0x11')](_0x4d65('0x24'))[_0x4d65('0x1b')]=null;}}function D(_0x2f249c){return void 0x0!==_0x2f249c[_0x4d65('0x4')];}async function v(_0x288123,_0x513184,_0x596288){const _0x4f02f2=_0x429e7a(_0x288123,w);_0x4f02f2[_0x4d65('0xb')][_0x4d65('0x1f')](_0x4bf285,P),_0x4f02f2[_0x4d65('0x19')]=D(_0x288123)?_0x288123['getRootsAttributes']():void 0x0;const _0x3b852f=document['createDocumentFragment'](),_0x2e7198=_0x288123[_0x4d65('0x12')][_0x4d65('0x11')](_0x4d65('0x16'))['editorCreator'],_0x231183=await _0x2e7198(_0x4f02f2,()=>function(_0x5c3287){const _0x1d1dba=document[_0x4d65('0x7')](_0x4d65('0xa'));return _0x5c3287[_0x4d65('0x0')](_0x1d1dba),_0x1d1dba;}(_0x3b852f));!function(_0x2be747,_0x4f8f29){const _0x7e48cd=_0x2be747['model'][_0x4d65('0x2')][_0x4d65('0x17')]()[_0x4d65('0xd')]((_0x33b024,_0x346606)=>(_0x33b024[_0x346606]=_0x2be747['data'][_0x4d65('0x11')]({'rootName':_0x346606}),_0x33b024),{}),_0x1bce42=_0x2be747[_0x4d65('0xb')][_0x4d65('0x11')](_0x4d65('0x5'))[_0x4d65('0x21')][_0x4d65('0x9')](_0x29eeea=>({'id':_0x29eeea['id'],'name':_0x29eeea[_0x4d65('0x1e')]})),_0x22f3f5=_0x2be747[_0x4d65('0xb')]['get']('TrackChangesEditing')[_0x4d65('0x18')]({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x31325e=_0x4f8f29['plugins'][_0x4d65('0x11')]('Users'),_0x212ec1=_0x4f8f29[_0x4d65('0xb')]['get'](_0x4d65('0x24'));for(const _0xeaad6a of _0x1bce42)_0x31325e['getUser'](_0xeaad6a['id'])||_0x31325e['addUser'](_0xeaad6a);_0x31325e['me']||_0x31325e[_0x4d65('0x2a')]();for(const _0x5f1fd2 of _0x22f3f5)_0x212ec1[_0x4d65('0x22')](_0x5f1fd2);_0x4f8f29[_0x4d65('0x28')][_0x4d65('0x14')](_0x7e48cd);}(_0x288123,_0x231183),_0x231183[_0x4d65('0x8')](_0x513184?'acceptAllSuggestions':_0x4d65('0x6'));const _0x1c37b8=D(_0x231183)?_0x231183[_0x4d65('0x13')](_0x596288):_0x231183[_0x4d65('0x28')][_0x4d65('0x11')](_0x596288);return await _0x231183['destroy'](),_0x1c37b8;}
23
+ const _0x13d2=['init','trackChangesData','createElement','set','reduce','editor','editorCreator','Pagination','getRootNames','end','createDocumentFragment','requires','document','data','_adapter','constructor','destroy','config','rootsAttributes','create','acceptAllSuggestions','plugins','getSuggestions','CommentsRepository','div','get','getUser','getDataWithDiscardedSuggestions','getFullData','getDataWithAcceptedSuggestions','getRootsAttributes','TrackChangesEditing','pluginName','model','function','result','map','discardAllSuggestions','Users','useAnonymousUser','users','define','addSuggestionData'];(function(_0x1be42c,_0x13d278){const _0x2d9e34=function(_0x15c4ee){while(--_0x15c4ee){_0x1be42c['push'](_0x1be42c['shift']());}};_0x2d9e34(++_0x13d278);}(_0x13d2,0xd9));const _0x2d9e=function(_0x1be42c,_0x13d278){_0x1be42c=_0x1be42c-0x0;let _0x2d9e34=_0x13d2[_0x1be42c];return _0x2d9e34;};import{Plugin as _0xa4985d}from'ckeditor5/src/core';import{CKEditorError as _0x2caab3}from'ckeditor5/src/utils';import _0x47f14e from'./trackchangesediting';import{sanitizeEditorConfig as _0x2d7c1c}from'ckeditor5-collaboration/src/collaboration-core';const w=[_0x2d9e('0x5')];export default class T extends _0xa4985d{static get[_0x2d9e('0x9')](){return[_0x47f14e];}static get[_0x2d9e('0x1e')](){return'TrackChangesData';}[_0x2d9e('0x29')](){const _0x11f4be=this[_0x2d9e('0x3')];if(_0x11f4be[_0x2d9e('0xf')][_0x2d9e('0x27')]('trackChangesData.editorCreator',_0x2577e3=>{const _0x5b365f=_0x11f4be['model'][_0x2d9e('0xa')][_0x2d9e('0x6')]()[_0x2d9e('0x2')]((_0x100cf0,_0x5cc3e2)=>(_0x100cf0[_0x5cc3e2]='',_0x100cf0),{});return _0x11f4be[_0x2d9e('0xd')][_0x2d9e('0x11')](_0x5b365f,_0x2577e3);}),_0x2d9e('0x20')!=typeof _0x11f4be[_0x2d9e('0xf')][_0x2d9e('0x17')](_0x2d9e('0x2a'))[_0x2d9e('0x4')])throw new _0x2caab3('track-changes-data-invalid-editor-creator');}[_0x2d9e('0x1b')](_0x1ff74d){return v(this[_0x2d9e('0x3')],!0x0,_0x1ff74d);}[_0x2d9e('0x19')](_0x2a92b0){return v(this['editor'],!0x1,_0x2a92b0);}}class P extends _0xa4985d{static get[_0x2d9e('0x1e')](){return'TrackChangesDataGetter';}constructor(_0x58c9e5){super(_0x58c9e5),this[_0x2d9e('0x21')]=_0x2d9e('0x7');}[_0x2d9e('0x29')](){this[_0x2d9e('0x3')][_0x2d9e('0x13')][_0x2d9e('0x17')](_0x2d9e('0x15'))['_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[_0x2d9e('0x3')][_0x2d9e('0x13')][_0x2d9e('0x17')](_0x2d9e('0x1d'))[_0x2d9e('0xc')]=null;}}function D(_0x85bd81){return void 0x0!==_0x85bd81['getRootsAttributes'];}async function v(_0x508e24,_0x14eb0e,_0x2eb514){const _0x27910e=_0x2d7c1c(_0x508e24,w);_0x27910e[_0x2d9e('0x13')]['push'](_0x47f14e,P),_0x27910e[_0x2d9e('0x10')]=D(_0x508e24)?_0x508e24[_0x2d9e('0x1c')]():void 0x0;const _0x20ee2f=document[_0x2d9e('0x8')](),_0x35ff81=_0x508e24[_0x2d9e('0xf')]['get'](_0x2d9e('0x2a'))[_0x2d9e('0x4')],_0x178a01=await _0x35ff81(_0x27910e,()=>function(_0x5e8cca){const _0x3730cc=document[_0x2d9e('0x0')](_0x2d9e('0x16'));return _0x5e8cca['appendChild'](_0x3730cc),_0x3730cc;}(_0x20ee2f));!function(_0x1e5f46,_0x57ed1f){const _0x915c5b=_0x1e5f46[_0x2d9e('0x1f')][_0x2d9e('0xa')][_0x2d9e('0x6')]()['reduce']((_0x233da6,_0x252690)=>(_0x233da6[_0x252690]=_0x1e5f46[_0x2d9e('0xb')][_0x2d9e('0x17')]({'rootName':_0x252690}),_0x233da6),{}),_0x4040ff=_0x1e5f46[_0x2d9e('0x13')][_0x2d9e('0x17')]('Users')[_0x2d9e('0x26')][_0x2d9e('0x22')](_0x54eaf4=>({'id':_0x54eaf4['id'],'name':_0x54eaf4['name']})),_0x5c8454=_0x1e5f46[_0x2d9e('0x13')]['get'](_0x2d9e('0x1d'))[_0x2d9e('0x14')]({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x546072=_0x57ed1f[_0x2d9e('0x13')][_0x2d9e('0x17')](_0x2d9e('0x24')),_0x529e1e=_0x57ed1f[_0x2d9e('0x13')][_0x2d9e('0x17')](_0x2d9e('0x1d'));for(const _0x15f53e of _0x4040ff)_0x546072[_0x2d9e('0x18')](_0x15f53e['id'])||_0x546072['addUser'](_0x15f53e);_0x546072['me']||_0x546072[_0x2d9e('0x25')]();for(const _0x16620b of _0x5c8454)_0x529e1e[_0x2d9e('0x28')](_0x16620b);_0x57ed1f[_0x2d9e('0xb')][_0x2d9e('0x1')](_0x915c5b);}(_0x508e24,_0x178a01),_0x178a01['execute'](_0x14eb0e?_0x2d9e('0x12'):_0x2d9e('0x23'));const _0x3c844e=D(_0x178a01)?_0x178a01[_0x2d9e('0x1a')](_0x2eb514):_0x178a01['data'][_0x2d9e('0x17')](_0x2eb514);return await _0x178a01[_0x2d9e('0xe')](),_0x3c844e;}