@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20230803.0 → 0.0.0-nightly-20230804.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 _0x5626=['reduce','getMarkers','createdAt','removeMarkers','substr','data','filter','getItems','add','split','type','creator','isIntersectingWithRange','_onAttributesChange','getFirstMarker','clear','_onAccept','set','nodeAfter','subType','start','isExternal','getRange','previous','map','author','removeAttribute','authoredAt','head','getMultiRangeId','@external','_model','length','from','_markerNames','commentThread','change','accept','_saved','discard','onAccept','isInContent','addMarkerName','delete','push','next','suggestion:','attributes','getFirstRange','getRanges','isMultiRange','hasComments','decorate','getMarkerNames','addRange','removeMarker','_onDiscard','getAllAdjacentSuggestions','onDiscard','end','get','size'];(function(_0x12135e,_0x562682){const _0x3a2558=function(_0x42db91){while(--_0x42db91){_0x12135e['push'](_0x12135e['shift']());}};_0x3a2558(++_0x562682);}(_0x5626,0xaf));const _0x3a25=function(_0x12135e,_0x562682){_0x12135e=_0x12135e-0x0;let _0x3a2558=_0x5626[_0x12135e];return _0x3a2558;};import{Element as _0x51522f}from'ckeditor5/src/engine';import{ObservableMixin as _0x3ae0cc,uid as _0x41831a}from'ckeditor5/src/utils';import{cloneDeep as _0x502785,isEqual as _0x279dde,set as _0x43c46a,unset as _0x3bb873}from'lodash-es';export default class u extends _0x3ae0cc(){constructor(_0x32c8db,_0x2c6e64){super(),this['id']=_0x2c6e64['id'],this[_0x3a25('0x15')]=_0x2c6e64['type'],this[_0x3a25('0x1e')]=_0x2c6e64['subType']||null,this[_0x3a25('0x24')]=_0x2c6e64['author'],this[_0x3a25('0x16')]=_0x2c6e64[_0x3a25('0x16')]||_0x2c6e64['author'],this[_0x3a25('0x20')]=Boolean(_0x2c6e64[_0x3a25('0x3a')]&&_0x2c6e64['attributes'][_0x3a25('0x29')]),this[_0x3a25('0x10')]=null,this[_0x3a25('0x2a')]=_0x32c8db,this[_0x3a25('0x1b')]=_0x2c6e64[_0x3a25('0x33')],this['_onDiscard']=_0x2c6e64[_0x3a25('0x7')],this[_0x3a25('0x18')]=_0x2c6e64['onAttributesChange'],this[_0x3a25('0x2d')]=new Set(),this[_0x3a25('0xd')]=null,this[_0x3a25('0x1c')](_0x3a25('0x26'),null),this['set'](_0x3a25('0x3a'),_0x2c6e64[_0x3a25('0x3a')]||{}),this[_0x3a25('0x1c')](_0x3a25('0x22'),null),this[_0x3a25('0x1c')]('next',null),this['set'](_0x3a25('0x2e'),null),this[_0x3a25('0x1c')](_0x3a25('0x31'),!0x1),this['decorate'](_0x3a25('0x30')),this[_0x3a25('0x1')](_0x3a25('0x32'));}get['head'](){let _0x48e95e=this;for(;_0x48e95e[_0x3a25('0x22')];)_0x48e95e=_0x48e95e[_0x3a25('0x22')];return _0x48e95e;}get['hasComments'](){return!!this[_0x3a25('0x2e')]&&this['commentThread'][_0x3a25('0x2b')]>0x0;}get[_0x3a25('0x3d')](){if(0x0==this['_markerNames'][_0x3a25('0xa')])return!0x1;return 0x6==Array[_0x3a25('0x2c')](this['_markerNames'])[0x0][_0x3a25('0x14')](':')[_0x3a25('0x2b')];}get[_0x3a25('0x34')](){return null!==this[_0x3a25('0x19')]();}[_0x3a25('0x35')](_0xf9f1cf){this[_0x3a25('0x2d')][_0x3a25('0x13')](_0xf9f1cf);}[_0x3a25('0x2')](){return Array['from'](this[_0x3a25('0x2d')]);}[_0x3a25('0xc')](){return this['getMarkerNames']()[_0x3a25('0x23')](_0x306193=>this['_model']['markers'][_0x3a25('0x9')](_0x306193))[_0x3a25('0x11')](_0x13460f=>_0x13460f);}[_0x3a25('0x19')](){return this[_0x3a25('0xc')]()[0x0]||null;}[_0x3a25('0xe')](){this[_0x3a25('0x2a')][_0x3a25('0x2f')](_0x5351b3=>{for(const _0x5eb9f3 of this['getMarkers']())_0x5351b3[_0x3a25('0x4')](_0x5eb9f3);}),this[_0x3a25('0x2d')][_0x3a25('0x1a')]();}['removeMarker'](_0x2130a0){this[_0x3a25('0x2a')][_0x3a25('0x2f')](_0x22c1db=>{_0x22c1db[_0x3a25('0x4')](_0x2130a0);}),this[_0x3a25('0x2d')][_0x3a25('0x36')](_0x2130a0);}[_0x3a25('0x3')](_0x45e419){const _0x541648=_0x3a25('0x39')+this[_0x3a25('0x15')]+':'+this[_0x3a25('0x1e')]+':'+this['id']+':'+this[_0x3a25('0x16')]['id']+':'+u[_0x3a25('0x28')]();this[_0x3a25('0x35')](_0x541648),this['_model'][_0x3a25('0x2f')](_0x496b79=>{_0x496b79['addMarker'](_0x541648,{'range':_0x45e419,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x3a25('0x17')](_0x464eac){for(const _0x54c05f of this[_0x3a25('0x3c')]())if(_0x54c05f['isIntersecting'](_0x464eac))return!0x0;return!0x1;}[_0x3a25('0x3c')](){return this[_0x3a25('0xc')]()[_0x3a25('0x23')](_0x1638d8=>_0x1638d8[_0x3a25('0x21')]());}[_0x3a25('0x12')](){return this[_0x3a25('0x3c')]()[_0x3a25('0xb')]((_0xed0a92,_0x532617)=>[..._0xed0a92,..._0x532617[_0x3a25('0x12')]()],[]);}[_0x3a25('0x3b')](){var _0x1ddf4c;return(null===(_0x1ddf4c=this[_0x3a25('0x19')]())||void 0x0===_0x1ddf4c?void 0x0:_0x1ddf4c[_0x3a25('0x21')]())||null;}['getContainedElement'](){const _0x266342=this[_0x3a25('0x3c')]();if(0x1!=_0x266342['length'])return null;const _0x2de514=_0x266342[0x0],_0x4a91b0=_0x2de514[_0x3a25('0x1f')][_0x3a25('0x1d')],_0x32e8be=_0x2de514[_0x3a25('0x8')]['nodeBefore'];return _0x4a91b0 instanceof _0x51522f?_0x4a91b0!=_0x32e8be?null:_0x4a91b0:null;}['accept'](){this[_0x3a25('0x1b')](this[_0x3a25('0x3c')](),this[_0x3a25('0x10')],this[_0x3a25('0x3a')]),this['removeMarkers']();}['discard'](){this[_0x3a25('0x5')](this['getRanges'](),this[_0x3a25('0x10')],this['attributes']),this[_0x3a25('0xe')]();}[_0x3a25('0x6')](){const _0x2252a6=[];let _0x5a19ac=this[_0x3a25('0x27')];for(;_0x5a19ac;)_0x2252a6[_0x3a25('0x37')](_0x5a19ac),_0x5a19ac=_0x5a19ac[_0x3a25('0x38')];return _0x2252a6;}['setAttribute'](_0x5e8e2f,_0x5a6e09){const _0x3686b5=_0x502785(this['attributes']);_0x43c46a(_0x3686b5,_0x5e8e2f,_0x5a6e09),_0x279dde(_0x3686b5,this[_0x3a25('0x3a')])||(this[_0x3a25('0x3a')]=_0x3686b5,this[_0x3a25('0x18')](_0x3686b5));}[_0x3a25('0x25')](_0x141cbd){const _0x48da6d=_0x502785(this['attributes']);_0x3bb873(_0x48da6d,_0x141cbd),_0x279dde(_0x48da6d,this[_0x3a25('0x3a')])||(this['attributes']=_0x48da6d,this[_0x3a25('0x18')](this['attributes']));}['toJSON'](){return{'id':this['id'],'type':this['subType']?this['type']+':'+this[_0x3a25('0x1e')]:this[_0x3a25('0x15')],'authorId':this[_0x3a25('0x16')]['id'],'createdAt':this['createdAt'],'hasComments':this[_0x3a25('0x0')],'data':this[_0x3a25('0x10')],'attributes':this[_0x3a25('0x3a')]};}static['getMultiRangeId'](){return _0x41831a()[_0x3a25('0xf')](0x1,0x5);}}
23
+ const _0x3b83=['removeMarkers','onAttributesChange','attributes','isIntersecting','set','addRange','data','setAttribute','isIntersectingWithRange','head','_markerNames','addMarker','isInContent','author','suggestion:','next','end','size','filter','getMultiRangeId','creator','push','createdAt','substr','delete','_onAttributesChange','authoredAt','reduce','commentThread','clear','markers','add','change','onDiscard','toJSON','from','getMarkerNames','_saved','map','decorate','_onDiscard','hasComments','accept','nodeBefore','getRange','discard','getRanges','_model','subType','length','getMarkers','onAccept','nodeAfter','start','getFirstRange','previous','@external','type','getFirstMarker','removeMarker'];(function(_0x3fea05,_0x3b83b7){const _0x1e9679=function(_0x49f4d3){while(--_0x49f4d3){_0x3fea05['push'](_0x3fea05['shift']());}};_0x1e9679(++_0x3b83b7);}(_0x3b83,0x170));const _0x1e96=function(_0x3fea05,_0x3b83b7){_0x3fea05=_0x3fea05-0x0;let _0x1e9679=_0x3b83[_0x3fea05];return _0x1e9679;};import{Element as _0x58cd62}from'ckeditor5/src/engine';import{ObservableMixin as _0x55007d,uid as _0x3927c0}from'ckeditor5/src/utils';import{cloneDeep as _0x116857,isEqual as _0x22d7ce,set as _0x489cf9,unset as _0x122aad}from'lodash-es';export default class u extends _0x55007d(){constructor(_0x125ca0,_0x5b9475){super(),this['id']=_0x5b9475['id'],this[_0x1e96('0x31')]=_0x5b9475[_0x1e96('0x31')],this[_0x1e96('0x28')]=_0x5b9475[_0x1e96('0x28')]||null,this[_0x1e96('0x5')]=_0x5b9475[_0x1e96('0x5')],this['creator']=_0x5b9475[_0x1e96('0xc')]||_0x5b9475[_0x1e96('0x5')],this['isExternal']=Boolean(_0x5b9475['attributes']&&_0x5b9475['attributes'][_0x1e96('0x30')]),this[_0x1e96('0x3a')]=null,this['_model']=_0x125ca0,this['_onAccept']=_0x5b9475[_0x1e96('0x2b')],this['_onDiscard']=_0x5b9475[_0x1e96('0x19')],this[_0x1e96('0x11')]=_0x5b9475[_0x1e96('0x35')],this[_0x1e96('0x2')]=new Set(),this['createdAt']=null,this[_0x1e96('0x38')](_0x1e96('0x12'),null),this[_0x1e96('0x38')]('attributes',_0x5b9475[_0x1e96('0x36')]||{}),this['set'](_0x1e96('0x2f'),null),this[_0x1e96('0x38')](_0x1e96('0x7'),null),this[_0x1e96('0x38')](_0x1e96('0x14'),null),this[_0x1e96('0x38')](_0x1e96('0x1d'),!0x1),this[_0x1e96('0x1f')]('accept'),this[_0x1e96('0x1f')](_0x1e96('0x25'));}get[_0x1e96('0x1')](){let _0xac8146=this;for(;_0xac8146[_0x1e96('0x2f')];)_0xac8146=_0xac8146[_0x1e96('0x2f')];return _0xac8146;}get['hasComments'](){return!!this['commentThread']&&this[_0x1e96('0x14')][_0x1e96('0x29')]>0x0;}get['isMultiRange'](){if(0x0==this[_0x1e96('0x2')][_0x1e96('0x9')])return!0x1;return 0x6==Array[_0x1e96('0x1b')](this[_0x1e96('0x2')])[0x0]['split'](':')[_0x1e96('0x29')];}get[_0x1e96('0x4')](){return null!==this[_0x1e96('0x32')]();}['addMarkerName'](_0x4ce1d4){this[_0x1e96('0x2')][_0x1e96('0x17')](_0x4ce1d4);}[_0x1e96('0x1c')](){return Array[_0x1e96('0x1b')](this[_0x1e96('0x2')]);}['getMarkers'](){return this[_0x1e96('0x1c')]()[_0x1e96('0x1e')](_0x51e737=>this[_0x1e96('0x27')][_0x1e96('0x16')]['get'](_0x51e737))[_0x1e96('0xa')](_0x11d040=>_0x11d040);}[_0x1e96('0x32')](){return this['getMarkers']()[0x0]||null;}['removeMarkers'](){this[_0x1e96('0x27')][_0x1e96('0x18')](_0xde8ca7=>{for(const _0xef86a1 of this[_0x1e96('0x2a')]())_0xde8ca7[_0x1e96('0x33')](_0xef86a1);}),this[_0x1e96('0x2')][_0x1e96('0x15')]();}['removeMarker'](_0x10d428){this[_0x1e96('0x27')][_0x1e96('0x18')](_0x290a60=>{_0x290a60[_0x1e96('0x33')](_0x10d428);}),this[_0x1e96('0x2')][_0x1e96('0x10')](_0x10d428);}[_0x1e96('0x39')](_0x105005){const _0x3e9f51=_0x1e96('0x6')+this['type']+':'+this[_0x1e96('0x28')]+':'+this['id']+':'+this[_0x1e96('0xc')]['id']+':'+u[_0x1e96('0xb')]();this['addMarkerName'](_0x3e9f51),this[_0x1e96('0x27')][_0x1e96('0x18')](_0x3c362e=>{_0x3c362e[_0x1e96('0x3')](_0x3e9f51,{'range':_0x105005,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x1e96('0x0')](_0x5642dd){for(const _0x308136 of this[_0x1e96('0x26')]())if(_0x308136[_0x1e96('0x37')](_0x5642dd))return!0x0;return!0x1;}[_0x1e96('0x26')](){return this[_0x1e96('0x2a')]()[_0x1e96('0x1e')](_0x2b8d9d=>_0x2b8d9d[_0x1e96('0x24')]());}['getItems'](){return this[_0x1e96('0x26')]()[_0x1e96('0x13')]((_0x26fb1b,_0x49bd64)=>[..._0x26fb1b,..._0x49bd64['getItems']()],[]);}[_0x1e96('0x2e')](){var _0x2df68d;return(null===(_0x2df68d=this[_0x1e96('0x32')]())||void 0x0===_0x2df68d?void 0x0:_0x2df68d['getRange']())||null;}['getContainedElement'](){const _0x245985=this['getRanges']();if(0x1!=_0x245985[_0x1e96('0x29')])return null;const _0x47c69d=_0x245985[0x0],_0x12cb4c=_0x47c69d[_0x1e96('0x2d')][_0x1e96('0x2c')],_0x2f428a=_0x47c69d[_0x1e96('0x8')][_0x1e96('0x23')];return _0x12cb4c instanceof _0x58cd62?_0x12cb4c!=_0x2f428a?null:_0x12cb4c:null;}[_0x1e96('0x22')](){this['_onAccept'](this[_0x1e96('0x26')](),this['data'],this[_0x1e96('0x36')]),this[_0x1e96('0x34')]();}[_0x1e96('0x25')](){this[_0x1e96('0x20')](this[_0x1e96('0x26')](),this['data'],this[_0x1e96('0x36')]),this[_0x1e96('0x34')]();}['getAllAdjacentSuggestions'](){const _0x220a1c=[];let _0xc82f86=this[_0x1e96('0x1')];for(;_0xc82f86;)_0x220a1c[_0x1e96('0xd')](_0xc82f86),_0xc82f86=_0xc82f86[_0x1e96('0x7')];return _0x220a1c;}[_0x1e96('0x3b')](_0x2ac629,_0x5ae43c){const _0x523d82=_0x116857(this['attributes']);_0x489cf9(_0x523d82,_0x2ac629,_0x5ae43c),_0x22d7ce(_0x523d82,this[_0x1e96('0x36')])||(this['attributes']=_0x523d82,this[_0x1e96('0x11')](_0x523d82));}['removeAttribute'](_0x1525cb){const _0x10c348=_0x116857(this[_0x1e96('0x36')]);_0x122aad(_0x10c348,_0x1525cb),_0x22d7ce(_0x10c348,this[_0x1e96('0x36')])||(this[_0x1e96('0x36')]=_0x10c348,this[_0x1e96('0x11')](this[_0x1e96('0x36')]));}[_0x1e96('0x1a')](){return{'id':this['id'],'type':this['subType']?this['type']+':'+this[_0x1e96('0x28')]:this['type'],'authorId':this['creator']['id'],'createdAt':this[_0x1e96('0xe')],'hasComments':this[_0x1e96('0x21')],'data':this['data'],'attributes':this[_0x1e96('0x36')]};}static['getMultiRangeId'](){return _0x3927c0()[_0x1e96('0xf')](0x1,0x5);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x55fe=['Container','softBreak','*Insert:*\x20%0','push','normal','get','removeContainer','function','addEmptyContainer','isEmpty','_schema','remove','EmptyContainer','$1\x20$2','start','addContainer','item','quantity','*Split:*\x20%0','isInContent','registerElementLabel','elementEnd','getWalker','_customCallbacks','Object','addObject','end','add','_resolveDescriptionItems','previousSibling','type','checkChild','nextSibling','skip','length','_itemLabels','matchingCallback','REPLACE_TEXT','pop','getDescriptions','getItemLabel','match','*Remove:*\x20%0','data','$text','replace','removeObject','element','insertion','name','getFirstRange','text','_locale','elementStart','isObject','isEqual','indexOf','deletion','ELEMENT_SPACE','_itemLabelsCallbacks'];(function(_0x4ef318,_0x55fefc){const _0x3638ba=function(_0x22857a){while(--_0x22857a){_0x4ef318['push'](_0x4ef318['shift']());}};_0x3638ba(++_0x55fefc);}(_0x55fe,0x1af));const _0x3638=function(_0x4ef318,_0x55fefc){_0x4ef318=_0x4ef318-0x0;let _0x3638ba=_0x55fe[_0x4ef318];return _0x3638ba;};import{getTranslation as _0x24afb8}from'./utils/common-translations';import{priorities as _0x430a18,insertToPriorityArray as _0x4a323f}from'ckeditor5/src/utils';export default class m{constructor(_0x381d4c,_0x1b2e00){this[_0x3638('0xc')]=[],this[_0x3638('0x18')]=new Map(),this[_0x3638('0x30')]=[],this[_0x3638('0x3b')]=_0x381d4c,this[_0x3638('0x29')]=_0x1b2e00;}[_0x3638('0x1c')](_0x3c39a5){const _0xd1a4fd=[];for(let _0x5d889b=0x0;_0x5d889b<_0x3c39a5[_0x3638('0x17')];_0x5d889b++){const _0x3fd484=_0x3c39a5[_0x5d889b];if(!_0x3fd484[_0x3638('0x8')])continue;let _0x468146=!0x1;for(const _0x187517 of this[_0x3638('0xc')]){const _0x51d587=_0x187517(_0x3fd484);if(_0x51d587){'type'in _0x51d587&&_0xd1a4fd[_0x3638('0x34')](_0x51d587),_0x468146=!0x0;break;}}if(!_0x468146){this['_addDescriptionItems'](_0xd1a4fd,_0x3fd484);const _0x2fcf56=_0x3c39a5[_0x5d889b+0x1];if(_0x2fcf56&&!_0x3fd484[_0x3638('0x27')]()[_0x3638('0xf')][_0x3638('0x2c')](_0x2fcf56[_0x3638('0x27')]()[_0x3638('0x3')])){const _0x1eda18=_0xd1a4fd[_0xd1a4fd[_0x3638('0x17')]-0x1],_0x40bf90='insertion'==_0x3fd484[_0x3638('0x13')]?'add':'remove';_0x1eda18&&'text'==_0x1eda18[_0x3638('0x13')]&&(_0x1eda18[_0x40bf90]+='\x0a');}}}return this[_0x3638('0x11')](_0xd1a4fd);}['registerDescriptionCallback'](_0x2097f5){this['_customCallbacks'][_0x3638('0x34')](_0x2097f5);}[_0x3638('0x9')](_0x3680bc,_0x2cf7bd,_0x2fcad4=_0x430a18[_0x3638('0x35')]){_0x3638('0x38')==typeof _0x3680bc?_0x4a323f(this[_0x3638('0x30')],{'matchingCallback':_0x3680bc,'label':_0x2cf7bd,'priority':_0x2fcad4}):this[_0x3638('0x18')]['set'](_0x3680bc,_0x2cf7bd);}[_0x3638('0x1d')](_0x152073,_0x107f7f=0x1){let _0x17a180;for(const _0xe433f8 of this[_0x3638('0x30')])if(_0xe433f8[_0x3638('0x19')](_0x152073)){_0x17a180=_0xe433f8['label'];break;}return _0x17a180||(_0x17a180=this[_0x3638('0x18')][_0x3638('0x36')](_0x152073[_0x3638('0x26')])),_0x17a180?_0x17a180(_0x107f7f):0x1!==_0x107f7f?_0x107f7f+'\x20'+_0x152073[_0x3638('0x26')]+'s':''+_0x152073[_0x3638('0x26')];}['_addDescriptionItems'](_0x17fc67,_0x46da8e){const _0x4abdf1=_0x46da8e['getFirstRange']()[_0x3638('0xb')](),_0x4115f0=_0x3638('0x25')==_0x46da8e['type']?_0x3638('0x10'):_0x3638('0x0');for(const _0x51b1b8 of _0x4abdf1){const _0x29de07=_0x51b1b8['item'],_0x26c6bb=_0x17fc67[_0x17fc67['length']-0x1];if(_0x29de07['is']('$textProxy'))_0x26c6bb&&_0x26c6bb[_0x3638('0x13')][_0x3638('0x2d')]('Container')>-0x1&&_0x17fc67[_0x3638('0x1b')](),_0x26c6bb&&_0x3638('0x28')==_0x26c6bb[_0x3638('0x13')]?_0x26c6bb[_0x4115f0]+=_0x29de07[_0x3638('0x20')]:_0x17fc67[_0x3638('0x34')]({'type':_0x3638('0x28'),'add':_0x3638('0x10')==_0x4115f0?_0x29de07[_0x3638('0x20')]:'','remove':_0x3638('0x0')==_0x4115f0?_0x29de07['data']:''});else{if(this[_0x3638('0x3b')][_0x3638('0x2b')](_0x29de07)){const _0x27da35=_0x29de07;if(_0x26c6bb&&_0x26c6bb['type']['indexOf']('Container')>-0x1&&_0x17fc67[_0x3638('0x1b')](),_0x3638('0xa')==_0x51b1b8[_0x3638('0x13')])continue;_0x26c6bb&&_0x26c6bb['type']==_0x4115f0+_0x3638('0xd')&&_0x26c6bb[_0x3638('0x24')][_0x3638('0x26')]==_0x27da35[_0x3638('0x26')]?_0x26c6bb['quantity']++:_0x17fc67['push']({'type':_0x4115f0+_0x3638('0xd'),'element':_0x27da35,'quantity':0x1}),_0x4abdf1[_0x3638('0x16')](_0x2fb955=>!(_0x3638('0xa')==_0x2fb955['type']&&_0x2fb955[_0x3638('0x5')]==_0x29de07));}else{if(this[_0x3638('0x3b')][_0x3638('0x14')](_0x29de07,_0x3638('0x21'))||_0x29de07['is'](_0x3638('0x24'),_0x3638('0x32'))){const _0x265010=_0x29de07;if(_0x3638('0x10')==_0x4115f0&&_0x3638('0x2a')==_0x51b1b8[_0x3638('0x13')]||_0x3638('0x0')==_0x4115f0&&_0x3638('0xa')==_0x51b1b8[_0x3638('0x13')])continue;if(_0x26c6bb&&-0x1==_0x26c6bb['type'][_0x3638('0x2d')](_0x3638('0x31'))){_0x3638('0x28')==_0x26c6bb[_0x3638('0x13')]&&(_0x26c6bb[_0x4115f0]+='\x0a');continue;}let _0x52dff8;if(_0x52dff8=_0x3638('0x10')==_0x4115f0?_0x265010[_0x3638('0x15')]&&!this[_0x3638('0x3b')]['isObject'](_0x265010[_0x3638('0x15')])?_0x265010['nextSibling']:null:_0x265010['previousSibling']&&!this[_0x3638('0x3b')][_0x3638('0x2b')](_0x265010[_0x3638('0x12')])?_0x265010[_0x3638('0x12')]:null,_0x265010[_0x3638('0x3a')]||_0x52dff8&&_0x52dff8['isEmpty']){const _0x397c32=_0x52dff8&&_0x52dff8[_0x3638('0x3a')]?_0x52dff8:_0x265010;_0x26c6bb&&_0x26c6bb[_0x3638('0x13')]==_0x4115f0+_0x3638('0x1')&&_0x26c6bb[_0x3638('0x24')]['name']==_0x397c32[_0x3638('0x26')]?_0x26c6bb[_0x3638('0x6')]++:_0x17fc67[_0x3638('0x34')]({'type':_0x4115f0+_0x3638('0x1'),'element':_0x397c32,'quantity':0x1});}else _0x17fc67[_0x3638('0x34')]({'type':_0x4115f0+_0x3638('0x31'),'element':_0x265010});}}}}}[_0x3638('0x11')](_0x3e8475){const _0x5b0824=this[_0x3638('0x29')],_0xcdcb6e=[];for(const _0x3ad8a6 of _0x3e8475){switch(_0x3ad8a6[_0x3638('0x13')]){case'text':if(_0x3ad8a6[_0x3638('0x10')]=_0x3ad8a6['add']['replace'](/(\S)\u000A+(\S)/g,_0x3638('0x2'))[_0x3638('0x22')](/\u000A/g,''),_0x3ad8a6['remove']=_0x3ad8a6[_0x3638('0x0')][_0x3638('0x22')](/(\S)\u000A+(\S)/g,_0x3638('0x2'))[_0x3638('0x22')](/\u000A/g,''),''!=_0x3ad8a6[_0x3638('0x10')]&&''!=_0x3ad8a6[_0x3638('0x0')]){_0xcdcb6e[_0x3638('0x34')]({'type':'replace','content':_0x24afb8(_0x5b0824,_0x3638('0x1a'),['\x22'+_0x3ad8a6['remove']+'\x22','\x22'+_0x3ad8a6[_0x3638('0x10')]+'\x22'])});continue;}if(null!=_0x3ad8a6[_0x3638('0x10')][_0x3638('0x1e')](/^ +$/)){_0xcdcb6e[_0x3638('0x34')]({'type':_0x3638('0x25'),'content':_0x24afb8(_0x5b0824,_0x3638('0x33'),_0x24afb8(_0x5b0824,_0x3638('0x2f'),_0x3ad8a6[_0x3638('0x10')][_0x3638('0x17')]))});continue;}if(null!=_0x3ad8a6[_0x3638('0x0')]['match'](/^ +$/)){_0xcdcb6e[_0x3638('0x34')]({'type':'deletion','content':_0x24afb8(_0x5b0824,_0x3638('0x1f'),_0x24afb8(_0x5b0824,_0x3638('0x2f'),_0x3ad8a6['remove'][_0x3638('0x17')]))});continue;}if(''!=_0x3ad8a6[_0x3638('0x10')]){_0xcdcb6e[_0x3638('0x34')]({'type':'insertion','content':_0x24afb8(_0x5b0824,_0x3638('0x33'),'\x22'+_0x3ad8a6['add']+'\x22')});continue;}_0xcdcb6e[_0x3638('0x34')]({'type':_0x3638('0x2e'),'content':_0x24afb8(_0x5b0824,'*Remove:*\x20%0','\x22'+_0x3ad8a6[_0x3638('0x0')]+'\x22')});continue;case _0x3638('0x39'):case _0x3638('0xe'):_0xcdcb6e[_0x3638('0x34')]({'type':'insertion','content':_0x24afb8(_0x5b0824,_0x3638('0x33'),this[_0x3638('0x1d')](_0x3ad8a6[_0x3638('0x24')],_0x3ad8a6[_0x3638('0x6')]))});continue;case'removeEmptyContainer':case _0x3638('0x23'):_0xcdcb6e[_0x3638('0x34')]({'type':'deletion','content':_0x24afb8(_0x5b0824,_0x3638('0x1f'),this[_0x3638('0x1d')](_0x3ad8a6[_0x3638('0x24')],_0x3ad8a6[_0x3638('0x6')]))});continue;case _0x3638('0x4'):_0xcdcb6e[_0x3638('0x34')]({'type':'insertion','content':_0x24afb8(_0x5b0824,_0x3638('0x7'),this[_0x3638('0x1d')](_0x3ad8a6[_0x3638('0x24')],_0x3ad8a6[_0x3638('0x6')]))});continue;case _0x3638('0x37'):_0xcdcb6e[_0x3638('0x34')]({'type':_0x3638('0x2e'),'content':_0x24afb8(_0x5b0824,'*Merge:*\x20%0',this[_0x3638('0x1d')](_0x3ad8a6['element'],_0x3ad8a6['quantity']))});continue;}_0xcdcb6e[_0x3638('0x34')](_0x3ad8a6);}return _0xcdcb6e;}}
23
+ const _0x4ce9=['text','$textProxy','ELEMENT_SPACE','isEmpty','element','start','getWalker','length','EmptyContainer','nextSibling','normal','$1\x20$2','pop','softBreak','elementEnd','removeEmptyContainer','end','_locale','data','getFirstRange','_schema','isInContent','registerDescriptionCallback','replace','item','skip','Container','*Insert:*\x20%0','addObject','isObject','add','quantity','push','_itemLabels','matchingCallback','_itemLabelsCallbacks','insertion','deletion','label','previousSibling','match','function','type','_resolveDescriptionItems','get','getDescriptions','*Split:*\x20%0','checkChild','name','getItemLabel','indexOf','remove','$text','_customCallbacks','*Remove:*\x20%0','_addDescriptionItems'];(function(_0x78234b,_0x4ce9ed){const _0x308595=function(_0x41da7a){while(--_0x41da7a){_0x78234b['push'](_0x78234b['shift']());}};_0x308595(++_0x4ce9ed);}(_0x4ce9,0x83));const _0x3085=function(_0x78234b,_0x4ce9ed){_0x78234b=_0x78234b-0x0;let _0x308595=_0x4ce9[_0x78234b];return _0x308595;};import{getTranslation as _0x28044d}from'./utils/common-translations';import{priorities as _0x5c1e47,insertToPriorityArray as _0x3d08ba}from'ckeditor5/src/utils';export default class m{constructor(_0x1309fc,_0x31c0af){this['_customCallbacks']=[],this[_0x3085('0xe')]=new Map(),this[_0x3085('0x10')]=[],this[_0x3085('0x1')]=_0x1309fc,this[_0x3085('0x36')]=_0x31c0af;}[_0x3085('0x1a')](_0x3620fa){const _0xb2a69f=[];for(let _0x3a7bcd=0x0;_0x3a7bcd<_0x3620fa[_0x3085('0x2c')];_0x3a7bcd++){const _0x1aedb6=_0x3620fa[_0x3a7bcd];if(!_0x1aedb6[_0x3085('0x2')])continue;let _0x1bdf89=!0x1;for(const _0x12a7d9 of this['_customCallbacks']){const _0x1dcad1=_0x12a7d9(_0x1aedb6);if(_0x1dcad1){_0x3085('0x17')in _0x1dcad1&&_0xb2a69f['push'](_0x1dcad1),_0x1bdf89=!0x0;break;}}if(!_0x1bdf89){this[_0x3085('0x24')](_0xb2a69f,_0x1aedb6);const _0x538dd4=_0x3620fa[_0x3a7bcd+0x1];if(_0x538dd4&&!_0x1aedb6[_0x3085('0x0')]()[_0x3085('0x35')]['isEqual'](_0x538dd4[_0x3085('0x0')]()[_0x3085('0x2a')])){const _0x275a9b=_0xb2a69f[_0xb2a69f[_0x3085('0x2c')]-0x1],_0x2f6d8d=_0x3085('0x11')==_0x1aedb6[_0x3085('0x17')]?'add':_0x3085('0x20');_0x275a9b&&_0x3085('0x25')==_0x275a9b[_0x3085('0x17')]&&(_0x275a9b[_0x2f6d8d]+='\x0a');}}}return this[_0x3085('0x18')](_0xb2a69f);}[_0x3085('0x3')](_0x2e29f1){this[_0x3085('0x22')][_0x3085('0xd')](_0x2e29f1);}['registerElementLabel'](_0x498f7d,_0x4b77fd,_0x246ab6=_0x5c1e47[_0x3085('0x2f')]){_0x3085('0x16')==typeof _0x498f7d?_0x3d08ba(this['_itemLabelsCallbacks'],{'matchingCallback':_0x498f7d,'label':_0x4b77fd,'priority':_0x246ab6}):this[_0x3085('0xe')]['set'](_0x498f7d,_0x4b77fd);}[_0x3085('0x1e')](_0x9955b5,_0x5c8b14=0x1){let _0x2b10a9;for(const _0x35f55a of this[_0x3085('0x10')])if(_0x35f55a[_0x3085('0xf')](_0x9955b5)){_0x2b10a9=_0x35f55a[_0x3085('0x13')];break;}return _0x2b10a9||(_0x2b10a9=this['_itemLabels'][_0x3085('0x19')](_0x9955b5[_0x3085('0x1d')])),_0x2b10a9?_0x2b10a9(_0x5c8b14):0x1!==_0x5c8b14?_0x5c8b14+'\x20'+_0x9955b5[_0x3085('0x1d')]+'s':''+_0x9955b5[_0x3085('0x1d')];}[_0x3085('0x24')](_0x28858c,_0x482445){const _0x2c0fd9=_0x482445[_0x3085('0x0')]()[_0x3085('0x2b')](),_0x1571f8='insertion'==_0x482445['type']?_0x3085('0xb'):_0x3085('0x20');for(const _0x21b472 of _0x2c0fd9){const _0x53e88c=_0x21b472[_0x3085('0x5')],_0xe8c6b8=_0x28858c[_0x28858c[_0x3085('0x2c')]-0x1];if(_0x53e88c['is'](_0x3085('0x26')))_0xe8c6b8&&_0xe8c6b8[_0x3085('0x17')][_0x3085('0x1f')](_0x3085('0x7'))>-0x1&&_0x28858c[_0x3085('0x31')](),_0xe8c6b8&&_0x3085('0x25')==_0xe8c6b8[_0x3085('0x17')]?_0xe8c6b8[_0x1571f8]+=_0x53e88c[_0x3085('0x37')]:_0x28858c[_0x3085('0xd')]({'type':_0x3085('0x25'),'add':_0x3085('0xb')==_0x1571f8?_0x53e88c[_0x3085('0x37')]:'','remove':'remove'==_0x1571f8?_0x53e88c[_0x3085('0x37')]:''});else{if(this[_0x3085('0x1')][_0x3085('0xa')](_0x53e88c)){const _0x51b828=_0x53e88c;if(_0xe8c6b8&&_0xe8c6b8[_0x3085('0x17')][_0x3085('0x1f')](_0x3085('0x7'))>-0x1&&_0x28858c['pop'](),_0x3085('0x33')==_0x21b472[_0x3085('0x17')])continue;_0xe8c6b8&&_0xe8c6b8[_0x3085('0x17')]==_0x1571f8+'Object'&&_0xe8c6b8[_0x3085('0x29')][_0x3085('0x1d')]==_0x51b828['name']?_0xe8c6b8['quantity']++:_0x28858c[_0x3085('0xd')]({'type':_0x1571f8+'Object','element':_0x51b828,'quantity':0x1}),_0x2c0fd9[_0x3085('0x6')](_0x1b39b7=>!(_0x3085('0x33')==_0x1b39b7[_0x3085('0x17')]&&_0x1b39b7[_0x3085('0x5')]==_0x53e88c));}else{if(this[_0x3085('0x1')][_0x3085('0x1c')](_0x53e88c,_0x3085('0x21'))||_0x53e88c['is'](_0x3085('0x29'),_0x3085('0x32'))){const _0x1688d9=_0x53e88c;if(_0x3085('0xb')==_0x1571f8&&'elementStart'==_0x21b472[_0x3085('0x17')]||_0x3085('0x20')==_0x1571f8&&_0x3085('0x33')==_0x21b472[_0x3085('0x17')])continue;if(_0xe8c6b8&&-0x1==_0xe8c6b8['type'][_0x3085('0x1f')]('Container')){_0x3085('0x25')==_0xe8c6b8[_0x3085('0x17')]&&(_0xe8c6b8[_0x1571f8]+='\x0a');continue;}let _0x416ba3;if(_0x416ba3=_0x3085('0xb')==_0x1571f8?_0x1688d9[_0x3085('0x2e')]&&!this[_0x3085('0x1')][_0x3085('0xa')](_0x1688d9[_0x3085('0x2e')])?_0x1688d9[_0x3085('0x2e')]:null:_0x1688d9[_0x3085('0x14')]&&!this[_0x3085('0x1')][_0x3085('0xa')](_0x1688d9[_0x3085('0x14')])?_0x1688d9[_0x3085('0x14')]:null,_0x1688d9[_0x3085('0x28')]||_0x416ba3&&_0x416ba3[_0x3085('0x28')]){const _0x12e737=_0x416ba3&&_0x416ba3[_0x3085('0x28')]?_0x416ba3:_0x1688d9;_0xe8c6b8&&_0xe8c6b8[_0x3085('0x17')]==_0x1571f8+_0x3085('0x2d')&&_0xe8c6b8[_0x3085('0x29')][_0x3085('0x1d')]==_0x12e737['name']?_0xe8c6b8[_0x3085('0xc')]++:_0x28858c[_0x3085('0xd')]({'type':_0x1571f8+_0x3085('0x2d'),'element':_0x12e737,'quantity':0x1});}else _0x28858c[_0x3085('0xd')]({'type':_0x1571f8+'Container','element':_0x1688d9});}}}}}[_0x3085('0x18')](_0x775f9c){const _0x2aec73=this[_0x3085('0x36')],_0x20942f=[];for(const _0x14aaa9 of _0x775f9c){switch(_0x14aaa9[_0x3085('0x17')]){case _0x3085('0x25'):if(_0x14aaa9[_0x3085('0xb')]=_0x14aaa9[_0x3085('0xb')]['replace'](/(\S)\u000A+(\S)/g,'$1\x20$2')[_0x3085('0x4')](/\u000A/g,''),_0x14aaa9[_0x3085('0x20')]=_0x14aaa9['remove'][_0x3085('0x4')](/(\S)\u000A+(\S)/g,_0x3085('0x30'))['replace'](/\u000A/g,''),''!=_0x14aaa9[_0x3085('0xb')]&&''!=_0x14aaa9[_0x3085('0x20')]){_0x20942f[_0x3085('0xd')]({'type':'replace','content':_0x28044d(_0x2aec73,'REPLACE_TEXT',['\x22'+_0x14aaa9[_0x3085('0x20')]+'\x22','\x22'+_0x14aaa9[_0x3085('0xb')]+'\x22'])});continue;}if(null!=_0x14aaa9[_0x3085('0xb')][_0x3085('0x15')](/^ +$/)){_0x20942f[_0x3085('0xd')]({'type':_0x3085('0x11'),'content':_0x28044d(_0x2aec73,_0x3085('0x8'),_0x28044d(_0x2aec73,_0x3085('0x27'),_0x14aaa9[_0x3085('0xb')][_0x3085('0x2c')]))});continue;}if(null!=_0x14aaa9[_0x3085('0x20')]['match'](/^ +$/)){_0x20942f[_0x3085('0xd')]({'type':_0x3085('0x12'),'content':_0x28044d(_0x2aec73,_0x3085('0x23'),_0x28044d(_0x2aec73,'ELEMENT_SPACE',_0x14aaa9[_0x3085('0x20')]['length']))});continue;}if(''!=_0x14aaa9[_0x3085('0xb')]){_0x20942f[_0x3085('0xd')]({'type':_0x3085('0x11'),'content':_0x28044d(_0x2aec73,_0x3085('0x8'),'\x22'+_0x14aaa9[_0x3085('0xb')]+'\x22')});continue;}_0x20942f[_0x3085('0xd')]({'type':_0x3085('0x12'),'content':_0x28044d(_0x2aec73,_0x3085('0x23'),'\x22'+_0x14aaa9[_0x3085('0x20')]+'\x22')});continue;case'addEmptyContainer':case _0x3085('0x9'):_0x20942f[_0x3085('0xd')]({'type':_0x3085('0x11'),'content':_0x28044d(_0x2aec73,'*Insert:*\x20%0',this[_0x3085('0x1e')](_0x14aaa9[_0x3085('0x29')],_0x14aaa9['quantity']))});continue;case _0x3085('0x34'):case'removeObject':_0x20942f[_0x3085('0xd')]({'type':'deletion','content':_0x28044d(_0x2aec73,_0x3085('0x23'),this[_0x3085('0x1e')](_0x14aaa9['element'],_0x14aaa9[_0x3085('0xc')]))});continue;case'addContainer':_0x20942f['push']({'type':'insertion','content':_0x28044d(_0x2aec73,_0x3085('0x1b'),this[_0x3085('0x1e')](_0x14aaa9[_0x3085('0x29')],_0x14aaa9['quantity']))});continue;case'removeContainer':_0x20942f[_0x3085('0xd')]({'type':_0x3085('0x12'),'content':_0x28044d(_0x2aec73,'*Merge:*\x20%0',this[_0x3085('0x1e')](_0x14aaa9[_0x3085('0x29')],_0x14aaa9[_0x3085('0xc')]))});continue;}_0x20942f[_0x3085('0xd')](_0x14aaa9);}return _0x20942f;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x3738=['plugins','pluginName','getSuggestions','Comments','requires','TrackChanges','editor','addSuggestion','adapter','getSuggestion','addSuggestionData','get'];(function(_0x261d7d,_0x37380d){var _0x67ae12=function(_0x190bad){while(--_0x190bad){_0x261d7d['push'](_0x261d7d['shift']());}};_0x67ae12(++_0x37380d);}(_0x3738,0x104));var _0x67ae=function(_0x261d7d,_0x37380d){_0x261d7d=_0x261d7d-0x0;var _0x67ae12=_0x3738[_0x261d7d];return _0x67ae12;};import{Plugin as _0x47115a}from'ckeditor5/src/core';import _0x92c3d2 from'./trackchangesui';import _0x43186f from'./trackchangesediting';import'ckeditor5-collaboration/src/collaboration-core';export default class k extends _0x47115a{static get[_0x67ae('0x8')](){return[_0x43186f,_0x92c3d2,_0x67ae('0x7')];}static get[_0x67ae('0x5')](){return _0x67ae('0x9');}set['adapter'](_0x781117){this[_0x67ae('0xa')][_0x67ae('0x4')]['get'](_0x43186f)['adapter']=_0x781117;}get[_0x67ae('0x0')](){return this['editor']['plugins']['get'](_0x43186f)[_0x67ae('0x0')];}[_0x67ae('0xb')](_0x330b96){return this[_0x67ae('0xa')][_0x67ae('0x4')][_0x67ae('0x3')](_0x43186f)[_0x67ae('0x2')](_0x330b96);}[_0x67ae('0x6')]({skipNotAttached:_0x4f0dac=!0x1,toJSON:_0x5f5978=!0x1}={}){return this[_0x67ae('0xa')]['plugins'][_0x67ae('0x3')](_0x43186f)[_0x67ae('0x6')]({'skipNotAttached':_0x4f0dac,'toJSON':_0x5f5978});}[_0x67ae('0x1')](_0x1010ee){return this['editor'][_0x67ae('0x4')][_0x67ae('0x3')](_0x43186f)[_0x67ae('0x1')](_0x1010ee);}}
23
+ var _0x102c=['adapter','TrackChanges','pluginName','editor','get','getSuggestion','getSuggestions','addSuggestion','plugins','Comments'];(function(_0x593750,_0x102cbb){var _0x5305e4=function(_0x3c2ffa){while(--_0x3c2ffa){_0x593750['push'](_0x593750['shift']());}};_0x5305e4(++_0x102cbb);}(_0x102c,0x1db));var _0x5305=function(_0x593750,_0x102cbb){_0x593750=_0x593750-0x0;var _0x5305e4=_0x102c[_0x593750];return _0x5305e4;};import{Plugin as _0x2d6689}from'ckeditor5/src/core';import _0x30c625 from'./trackchangesui';import _0x4619d1 from'./trackchangesediting';import'ckeditor5-collaboration/src/collaboration-core';export default class k extends _0x2d6689{static get['requires'](){return[_0x4619d1,_0x30c625,_0x5305('0x4')];}static get[_0x5305('0x7')](){return _0x5305('0x6');}set[_0x5305('0x5')](_0x5cadcf){this[_0x5305('0x8')][_0x5305('0x3')][_0x5305('0x9')](_0x4619d1)[_0x5305('0x5')]=_0x5cadcf;}get[_0x5305('0x5')](){return this[_0x5305('0x8')][_0x5305('0x3')][_0x5305('0x9')](_0x4619d1)[_0x5305('0x5')];}[_0x5305('0x2')](_0x4dac1b){return this[_0x5305('0x8')][_0x5305('0x3')][_0x5305('0x9')](_0x4619d1)['addSuggestionData'](_0x4dac1b);}[_0x5305('0x1')]({skipNotAttached:_0x5ee326=!0x1,toJSON:_0x408380=!0x1}={}){return this[_0x5305('0x8')]['plugins']['get'](_0x4619d1)[_0x5305('0x1')]({'skipNotAttached':_0x5ee326,'toJSON':_0x408380});}[_0x5305('0x0')](_0xecd285){return this[_0x5305('0x8')]['plugins'][_0x5305('0x9')](_0x4619d1)[_0x5305('0x0')](_0xecd285);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4633=['plugins','define','discardAllSuggestions','requires','rootsAttributes','constructor','name','TrackChangesData','init','addUser','getFullData','reduce','createElement','getRootsAttributes','execute','TrackChangesDataGetter','data','pluginName','addSuggestionData','getDataWithDiscardedSuggestions','getDataWithAcceptedSuggestions','document','Users','editorCreator','getSuggestions','_adapter','get','CommentsRepository','useAnonymousUser','getUser','trackChangesData.editorCreator','trackChangesData','result','appendChild','destroy','model','map','config','users','editor','getRootNames','TrackChangesEditing'];(function(_0x3ab1a1,_0x4633d7){const _0x25d086=function(_0xc8ae82){while(--_0xc8ae82){_0x3ab1a1['push'](_0x3ab1a1['shift']());}};_0x25d086(++_0x4633d7);}(_0x4633,0x15a));const _0x25d0=function(_0x3ab1a1,_0x4633d7){_0x3ab1a1=_0x3ab1a1-0x0;let _0x25d086=_0x4633[_0x3ab1a1];return _0x25d086;};import{Plugin as _0xf62f38}from'ckeditor5/src/core';import{CKEditorError as _0x6c579e}from'ckeditor5/src/utils';import _0x3fdbcc from'./trackchangesediting';import{sanitizeEditorConfig as _0x5ca003}from'ckeditor5-collaboration/src/collaboration-core';const w=['Pagination'];export default class T extends _0xf62f38{static get[_0x25d0('0x23')](){return[_0x3fdbcc];}static get[_0x25d0('0x7')](){return _0x25d0('0x27');}[_0x25d0('0x28')](){const _0x16bded=this[_0x25d0('0x1d')];if(_0x16bded[_0x25d0('0x1b')][_0x25d0('0x21')](_0x25d0('0x14'),_0x28788b=>{const _0x208f7b=_0x16bded[_0x25d0('0x19')][_0x25d0('0xb')][_0x25d0('0x1e')]()[_0x25d0('0x1')]((_0x3d48b3,_0x3fa9b7)=>(_0x3d48b3[_0x3fa9b7]='',_0x3d48b3),{});return _0x16bded[_0x25d0('0x25')]['create'](_0x208f7b,_0x28788b);}),'function'!=typeof _0x16bded[_0x25d0('0x1b')]['get'](_0x25d0('0x15'))[_0x25d0('0xd')])throw new _0x6c579e('track-changes-data-invalid-editor-creator');}[_0x25d0('0xa')](_0x451240){return v(this['editor'],!0x0,_0x451240);}[_0x25d0('0x9')](_0x24965d){return v(this[_0x25d0('0x1d')],!0x1,_0x24965d);}}class P extends _0xf62f38{static get[_0x25d0('0x7')](){return _0x25d0('0x5');}constructor(_0x50c536){super(_0x50c536),this[_0x25d0('0x16')]='end';}[_0x25d0('0x28')](){this['editor']['plugins'][_0x25d0('0x10')](_0x25d0('0x11'))[_0x25d0('0xf')]={'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[_0x25d0('0x1d')][_0x25d0('0x20')][_0x25d0('0x10')]('TrackChangesEditing')['_adapter']=null;}}function D(_0x432541){return void 0x0!==_0x432541[_0x25d0('0x3')];}async function v(_0x1ecaa6,_0x37f458,_0x532f40){const _0x499d18=_0x5ca003(_0x1ecaa6,w);_0x499d18[_0x25d0('0x20')]['push'](_0x3fdbcc,P),_0x499d18[_0x25d0('0x24')]=D(_0x1ecaa6)?_0x1ecaa6[_0x25d0('0x3')]():void 0x0;const _0x27eff1=document['createDocumentFragment'](),_0x44d349=_0x1ecaa6[_0x25d0('0x1b')][_0x25d0('0x10')](_0x25d0('0x15'))['editorCreator'],_0x519661=await _0x44d349(_0x499d18,()=>function(_0x189062){const _0x28118c=document[_0x25d0('0x2')]('div');return _0x189062[_0x25d0('0x17')](_0x28118c),_0x28118c;}(_0x27eff1));!function(_0x37d3e1,_0x1200b3){const _0x21008b=_0x37d3e1[_0x25d0('0x19')][_0x25d0('0xb')][_0x25d0('0x1e')]()[_0x25d0('0x1')]((_0x50d8bf,_0x56d5fe)=>(_0x50d8bf[_0x56d5fe]=_0x37d3e1[_0x25d0('0x6')][_0x25d0('0x10')]({'rootName':_0x56d5fe}),_0x50d8bf),{}),_0x1d6a30=_0x37d3e1[_0x25d0('0x20')][_0x25d0('0x10')](_0x25d0('0xc'))[_0x25d0('0x1c')][_0x25d0('0x1a')](_0x57cd7a=>({'id':_0x57cd7a['id'],'name':_0x57cd7a[_0x25d0('0x26')]})),_0x2e4ca4=_0x37d3e1[_0x25d0('0x20')][_0x25d0('0x10')](_0x25d0('0x1f'))[_0x25d0('0xe')]({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x10fd8a=_0x1200b3[_0x25d0('0x20')][_0x25d0('0x10')](_0x25d0('0xc')),_0x5332ae=_0x1200b3[_0x25d0('0x20')][_0x25d0('0x10')](_0x25d0('0x1f'));for(const _0x2992ca of _0x1d6a30)_0x10fd8a[_0x25d0('0x13')](_0x2992ca['id'])||_0x10fd8a[_0x25d0('0x29')](_0x2992ca);_0x10fd8a['me']||_0x10fd8a[_0x25d0('0x12')]();for(const _0x40b2e9 of _0x2e4ca4)_0x5332ae[_0x25d0('0x8')](_0x40b2e9);_0x1200b3[_0x25d0('0x6')]['set'](_0x21008b);}(_0x1ecaa6,_0x519661),_0x519661[_0x25d0('0x4')](_0x37f458?'acceptAllSuggestions':_0x25d0('0x22'));const _0x14a546=D(_0x519661)?_0x519661[_0x25d0('0x0')](_0x532f40):_0x519661[_0x25d0('0x6')][_0x25d0('0x10')](_0x532f40);return await _0x519661[_0x25d0('0x18')](),_0x14a546;}
23
+ const _0x1193=['plugins','result','set','Pagination','Users','requires','init','track-changes-data-invalid-editor-creator','map','document','rootsAttributes','trackChangesData.editorCreator','CommentsRepository','editor','config','getUser','TrackChangesEditing','function','trackChangesData','appendChild','useAnonymousUser','get','getRootsAttributes','editorCreator','destroy','getFullData','getDataWithDiscardedSuggestions','create','_adapter','acceptAllSuggestions','name','push','createElement','users','pluginName','reduce','data','TrackChangesData','getSuggestions','createDocumentFragment','TrackChangesDataGetter','model','define','div','end'];(function(_0x4d1461,_0x119307){const _0x2cdcd1=function(_0x5643af){while(--_0x5643af){_0x4d1461['push'](_0x4d1461['shift']());}};_0x2cdcd1(++_0x119307);}(_0x1193,0x1a8));const _0x2cdc=function(_0x4d1461,_0x119307){_0x4d1461=_0x4d1461-0x0;let _0x2cdcd1=_0x1193[_0x4d1461];return _0x2cdcd1;};import{Plugin as _0x4d4f00}from'ckeditor5/src/core';import{CKEditorError as _0x56d40c}from'ckeditor5/src/utils';import _0x3a7d4d from'./trackchangesediting';import{sanitizeEditorConfig as _0x45cb51}from'ckeditor5-collaboration/src/collaboration-core';const w=[_0x2cdc('0x1d')];export default class T extends _0x4d4f00{static get[_0x2cdc('0x1f')](){return[_0x3a7d4d];}static get[_0x2cdc('0xf')](){return _0x2cdc('0x12');}['init'](){const _0xf743bd=this[_0x2cdc('0x27')];if(_0xf743bd[_0x2cdc('0x28')][_0x2cdc('0x17')](_0x2cdc('0x25'),_0x9a756c=>{const _0x26b0ae=_0xf743bd[_0x2cdc('0x16')][_0x2cdc('0x23')]['getRootNames']()['reduce']((_0x49901c,_0x531950)=>(_0x49901c[_0x531950]='',_0x49901c),{});return _0xf743bd['constructor'][_0x2cdc('0x8')](_0x26b0ae,_0x9a756c);}),_0x2cdc('0x2b')!=typeof _0xf743bd[_0x2cdc('0x28')][_0x2cdc('0x2')]('trackChangesData')[_0x2cdc('0x4')])throw new _0x56d40c(_0x2cdc('0x21'));}['getDataWithAcceptedSuggestions'](_0x4fe006){return v(this['editor'],!0x0,_0x4fe006);}[_0x2cdc('0x7')](_0x3c8f11){return v(this['editor'],!0x1,_0x3c8f11);}}class P extends _0x4d4f00{static get['pluginName'](){return _0x2cdc('0x15');}constructor(_0x5d5f11){super(_0x5d5f11),this[_0x2cdc('0x1b')]=_0x2cdc('0x19');}[_0x2cdc('0x20')](){this[_0x2cdc('0x27')][_0x2cdc('0x1a')][_0x2cdc('0x2')](_0x2cdc('0x26'))[_0x2cdc('0x9')]={'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[_0x2cdc('0x27')][_0x2cdc('0x1a')][_0x2cdc('0x2')](_0x2cdc('0x2a'))[_0x2cdc('0x9')]=null;}}function D(_0x1332f7){return void 0x0!==_0x1332f7['getRootsAttributes'];}async function v(_0x43662e,_0xa461ee,_0x205efb){const _0x18da45=_0x45cb51(_0x43662e,w);_0x18da45[_0x2cdc('0x1a')][_0x2cdc('0xc')](_0x3a7d4d,P),_0x18da45[_0x2cdc('0x24')]=D(_0x43662e)?_0x43662e[_0x2cdc('0x3')]():void 0x0;const _0x3f4f73=document[_0x2cdc('0x14')](),_0x5217ca=_0x43662e[_0x2cdc('0x28')][_0x2cdc('0x2')](_0x2cdc('0x2c'))[_0x2cdc('0x4')],_0x177577=await _0x5217ca(_0x18da45,()=>function(_0x4206ff){const _0x1072ce=document[_0x2cdc('0xd')](_0x2cdc('0x18'));return _0x4206ff[_0x2cdc('0x0')](_0x1072ce),_0x1072ce;}(_0x3f4f73));!function(_0xc5a664,_0x43e6f4){const _0x5a5f03=_0xc5a664[_0x2cdc('0x16')][_0x2cdc('0x23')]['getRootNames']()[_0x2cdc('0x10')]((_0x20016c,_0x1083e5)=>(_0x20016c[_0x1083e5]=_0xc5a664[_0x2cdc('0x11')]['get']({'rootName':_0x1083e5}),_0x20016c),{}),_0x1bae2a=_0xc5a664[_0x2cdc('0x1a')][_0x2cdc('0x2')](_0x2cdc('0x1e'))[_0x2cdc('0xe')][_0x2cdc('0x22')](_0x4fb96c=>({'id':_0x4fb96c['id'],'name':_0x4fb96c[_0x2cdc('0xb')]})),_0x53261e=_0xc5a664[_0x2cdc('0x1a')][_0x2cdc('0x2')]('TrackChangesEditing')[_0x2cdc('0x13')]({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x3b23df=_0x43e6f4[_0x2cdc('0x1a')][_0x2cdc('0x2')]('Users'),_0x171b7f=_0x43e6f4[_0x2cdc('0x1a')]['get']('TrackChangesEditing');for(const _0x42ce44 of _0x1bae2a)_0x3b23df[_0x2cdc('0x29')](_0x42ce44['id'])||_0x3b23df['addUser'](_0x42ce44);_0x3b23df['me']||_0x3b23df[_0x2cdc('0x1')]();for(const _0x28e830 of _0x53261e)_0x171b7f['addSuggestionData'](_0x28e830);_0x43e6f4[_0x2cdc('0x11')][_0x2cdc('0x1c')](_0x5a5f03);}(_0x43662e,_0x177577),_0x177577['execute'](_0xa461ee?_0x2cdc('0xa'):'discardAllSuggestions');const _0x5af8c2=D(_0x177577)?_0x177577[_0x2cdc('0x6')](_0x205efb):_0x177577['data'][_0x2cdc('0x2')](_0x205efb);return await _0x177577[_0x2cdc('0x5')](),_0x5af8c2;}