@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20230809.0 → 0.0.0-nightly-20230811.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 _0x2dc5=['map','hasComments','size','_onDiscard','filter','removeAttribute','_model','addRange','creator','_markerNames','markers','decorate','author','accept','add','suggestion:','authoredAt','head','@external','reduce','onAttributesChange','isMultiRange','isIntersecting','getAllAdjacentSuggestions','isIntersectingWithRange','getItems','toJSON','isExternal','previous','_onAccept','getMarkers','getMultiRangeId','addMarkerName','change','getFirstMarker','start','getRanges','delete','nodeAfter','set','push','type','get','attributes','removeMarker','getContainedElement','_onAttributesChange','clear','commentThread','getRange','data','from','removeMarkers','getMarkerNames','setAttribute','subType','nodeBefore','discard','onDiscard','next'];(function(_0x2e222e,_0x2dc585){const _0x51a266=function(_0x480698){while(--_0x480698){_0x2e222e['push'](_0x2e222e['shift']());}};_0x51a266(++_0x2dc585);}(_0x2dc5,0x125));const _0x51a2=function(_0x2e222e,_0x2dc585){_0x2e222e=_0x2e222e-0x0;let _0x51a266=_0x2dc5[_0x2e222e];return _0x51a266;};import{Element as _0xf40f92}from'ckeditor5/src/engine';import{ObservableMixin as _0x149a3e,uid as _0x2bec11}from'ckeditor5/src/utils';import{cloneDeep as _0x46a551,isEqual as _0x58235f,set as _0x5abdb3,unset as _0xcf5682}from'lodash-es';export default class u extends _0x149a3e(){constructor(_0x405427,_0x1789b0){super(),this['id']=_0x1789b0['id'],this[_0x51a2('0x30')]=_0x1789b0[_0x51a2('0x30')],this[_0x51a2('0x2')]=_0x1789b0['subType']||null,this['author']=_0x1789b0[_0x51a2('0x13')],this[_0x51a2('0xf')]=_0x1789b0[_0x51a2('0xf')]||_0x1789b0[_0x51a2('0x13')],this[_0x51a2('0x22')]=Boolean(_0x1789b0[_0x51a2('0x32')]&&_0x1789b0[_0x51a2('0x32')][_0x51a2('0x19')]),this[_0x51a2('0x39')]=null,this[_0x51a2('0xd')]=_0x405427,this[_0x51a2('0x24')]=_0x1789b0['onAccept'],this[_0x51a2('0xa')]=_0x1789b0[_0x51a2('0x5')],this[_0x51a2('0x35')]=_0x1789b0[_0x51a2('0x1b')],this[_0x51a2('0x10')]=new Set(),this['createdAt']=null,this['set'](_0x51a2('0x17'),null),this['set'](_0x51a2('0x32'),_0x1789b0['attributes']||{}),this[_0x51a2('0x2e')](_0x51a2('0x23'),null),this[_0x51a2('0x2e')](_0x51a2('0x6'),null),this[_0x51a2('0x2e')]('commentThread',null),this['set']('_saved',!0x1),this[_0x51a2('0x12')](_0x51a2('0x14')),this['decorate'](_0x51a2('0x4'));}get['head'](){let _0x1337de=this;for(;_0x1337de[_0x51a2('0x23')];)_0x1337de=_0x1337de[_0x51a2('0x23')];return _0x1337de;}get[_0x51a2('0x8')](){return!!this[_0x51a2('0x37')]&&this[_0x51a2('0x37')]['length']>0x0;}get[_0x51a2('0x1c')](){if(0x0==this[_0x51a2('0x10')][_0x51a2('0x9')])return!0x1;return 0x6==Array['from'](this[_0x51a2('0x10')])[0x0]['split'](':')['length'];}get['isInContent'](){return null!==this[_0x51a2('0x29')]();}[_0x51a2('0x27')](_0x4cca2f){this[_0x51a2('0x10')][_0x51a2('0x15')](_0x4cca2f);}[_0x51a2('0x0')](){return Array[_0x51a2('0x3a')](this['_markerNames']);}[_0x51a2('0x25')](){return this[_0x51a2('0x0')]()[_0x51a2('0x7')](_0x1e7cf0=>this[_0x51a2('0xd')][_0x51a2('0x11')][_0x51a2('0x31')](_0x1e7cf0))[_0x51a2('0xb')](_0x5647e2=>_0x5647e2);}['getFirstMarker'](){return this[_0x51a2('0x25')]()[0x0]||null;}[_0x51a2('0x3b')](){this['_model']['change'](_0x2deda4=>{for(const _0x5a9dde of this[_0x51a2('0x25')]())_0x2deda4['removeMarker'](_0x5a9dde);}),this[_0x51a2('0x10')][_0x51a2('0x36')]();}[_0x51a2('0x33')](_0x2c5c18){this[_0x51a2('0xd')][_0x51a2('0x28')](_0x5908ce=>{_0x5908ce[_0x51a2('0x33')](_0x2c5c18);}),this['_markerNames'][_0x51a2('0x2c')](_0x2c5c18);}[_0x51a2('0xe')](_0x2d044f){const _0x2f0d35=_0x51a2('0x16')+this[_0x51a2('0x30')]+':'+this[_0x51a2('0x2')]+':'+this['id']+':'+this[_0x51a2('0xf')]['id']+':'+u[_0x51a2('0x26')]();this[_0x51a2('0x27')](_0x2f0d35),this['_model'][_0x51a2('0x28')](_0x31f1df=>{_0x31f1df['addMarker'](_0x2f0d35,{'range':_0x2d044f,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x51a2('0x1f')](_0x32db08){for(const _0x58fd90 of this[_0x51a2('0x2b')]())if(_0x58fd90[_0x51a2('0x1d')](_0x32db08))return!0x0;return!0x1;}[_0x51a2('0x2b')](){return this['getMarkers']()['map'](_0x413029=>_0x413029[_0x51a2('0x38')]());}[_0x51a2('0x20')](){return this[_0x51a2('0x2b')]()[_0x51a2('0x1a')]((_0x20f089,_0x3b9ae1)=>[..._0x20f089,..._0x3b9ae1[_0x51a2('0x20')]()],[]);}['getFirstRange'](){var _0x14b1fc;return(null===(_0x14b1fc=this[_0x51a2('0x29')]())||void 0x0===_0x14b1fc?void 0x0:_0x14b1fc[_0x51a2('0x38')]())||null;}[_0x51a2('0x34')](){const _0x3d4c39=this['getRanges']();if(0x1!=_0x3d4c39['length'])return null;const _0x4c442f=_0x3d4c39[0x0],_0x154e76=_0x4c442f[_0x51a2('0x2a')][_0x51a2('0x2d')],_0x26b719=_0x4c442f['end'][_0x51a2('0x3')];return _0x154e76 instanceof _0xf40f92?_0x154e76!=_0x26b719?null:_0x154e76:null;}['accept'](){this[_0x51a2('0x24')](this[_0x51a2('0x2b')](),this[_0x51a2('0x39')],this['attributes']),this[_0x51a2('0x3b')]();}[_0x51a2('0x4')](){this['_onDiscard'](this[_0x51a2('0x2b')](),this[_0x51a2('0x39')],this[_0x51a2('0x32')]),this[_0x51a2('0x3b')]();}[_0x51a2('0x1e')](){const _0x49e0a6=[];let _0x2529f4=this[_0x51a2('0x18')];for(;_0x2529f4;)_0x49e0a6[_0x51a2('0x2f')](_0x2529f4),_0x2529f4=_0x2529f4[_0x51a2('0x6')];return _0x49e0a6;}[_0x51a2('0x1')](_0x479065,_0x1971e5){const _0x4c4588=_0x46a551(this['attributes']);_0x5abdb3(_0x4c4588,_0x479065,_0x1971e5),_0x58235f(_0x4c4588,this[_0x51a2('0x32')])||(this[_0x51a2('0x32')]=_0x4c4588,this['_onAttributesChange'](_0x4c4588));}[_0x51a2('0xc')](_0x63941a){const _0x2c6845=_0x46a551(this[_0x51a2('0x32')]);_0xcf5682(_0x2c6845,_0x63941a),_0x58235f(_0x2c6845,this[_0x51a2('0x32')])||(this[_0x51a2('0x32')]=_0x2c6845,this['_onAttributesChange'](this['attributes']));}[_0x51a2('0x21')](){return{'id':this['id'],'type':this[_0x51a2('0x2')]?this['type']+':'+this[_0x51a2('0x2')]:this[_0x51a2('0x30')],'authorId':this[_0x51a2('0xf')]['id'],'createdAt':this['createdAt'],'hasComments':this[_0x51a2('0x8')],'data':this[_0x51a2('0x39')],'attributes':this['attributes']};}static['getMultiRangeId'](){return _0x2bec11()['substr'](0x1,0x5);}}
23
+ const _0x31a8=['getRanges','previous','next','_saved','addRange','type','addMarker','decorate','createdAt','change','from','commentThread','getItems','getFirstMarker','getMarkerNames','removeMarker','authoredAt','_model','removeMarkers','map','addMarkerName','length','getMultiRangeId','isMultiRange','hasComments','creator','set','data','isInContent','attributes','discard','accept','_markerNames','_onAccept','isIntersecting','delete','push','getMarkers','filter','getContainedElement','substr','subType','start','onAttributesChange','get','split','author','removeAttribute','_onAttributesChange','reduce','onAccept','getFirstRange','markers','add','suggestion:','head'];(function(_0xbf630a,_0x31a856){const _0x4b4374=function(_0x423540){while(--_0x423540){_0xbf630a['push'](_0xbf630a['shift']());}};_0x4b4374(++_0x31a856);}(_0x31a8,0x96));const _0x4b43=function(_0xbf630a,_0x31a856){_0xbf630a=_0xbf630a-0x0;let _0x4b4374=_0x31a8[_0xbf630a];return _0x4b4374;};import{Element as _0x4dda44}from'ckeditor5/src/engine';import{ObservableMixin as _0x333f5a,uid as _0xca5acf}from'ckeditor5/src/utils';import{cloneDeep as _0x19f11a,isEqual as _0x371e0b,set as _0x4c91a9,unset as _0x504fc6}from'lodash-es';export default class u extends _0x333f5a(){constructor(_0x5553c6,_0x4cd52d){super(),this['id']=_0x4cd52d['id'],this[_0x4b43('0x17')]=_0x4cd52d[_0x4b43('0x17')],this[_0x4b43('0x3')]=_0x4cd52d['subType']||null,this['author']=_0x4cd52d[_0x4b43('0x8')],this[_0x4b43('0x2b')]=_0x4cd52d[_0x4b43('0x2b')]||_0x4cd52d[_0x4b43('0x8')],this['isExternal']=Boolean(_0x4cd52d['attributes']&&_0x4cd52d[_0x4b43('0x2f')]['@external']),this[_0x4b43('0x2d')]=null,this['_model']=_0x5553c6,this[_0x4b43('0x33')]=_0x4cd52d[_0x4b43('0xc')],this['_onDiscard']=_0x4cd52d['onDiscard'],this[_0x4b43('0xa')]=_0x4cd52d[_0x4b43('0x5')],this[_0x4b43('0x32')]=new Set(),this[_0x4b43('0x1a')]=null,this[_0x4b43('0x2c')](_0x4b43('0x22'),null),this[_0x4b43('0x2c')](_0x4b43('0x2f'),_0x4cd52d['attributes']||{}),this[_0x4b43('0x2c')]('previous',null),this[_0x4b43('0x2c')](_0x4b43('0x14'),null),this[_0x4b43('0x2c')]('commentThread',null),this[_0x4b43('0x2c')](_0x4b43('0x15'),!0x1),this[_0x4b43('0x19')](_0x4b43('0x31')),this['decorate']('discard');}get[_0x4b43('0x11')](){let _0x962d5d=this;for(;_0x962d5d[_0x4b43('0x13')];)_0x962d5d=_0x962d5d[_0x4b43('0x13')];return _0x962d5d;}get[_0x4b43('0x2a')](){return!!this[_0x4b43('0x1d')]&&this[_0x4b43('0x1d')][_0x4b43('0x27')]>0x0;}get[_0x4b43('0x29')](){if(0x0==this[_0x4b43('0x32')]['size'])return!0x1;return 0x6==Array['from'](this['_markerNames'])[0x0][_0x4b43('0x7')](':')['length'];}get[_0x4b43('0x2e')](){return null!==this[_0x4b43('0x1f')]();}[_0x4b43('0x26')](_0x1a891e){this[_0x4b43('0x32')][_0x4b43('0xf')](_0x1a891e);}[_0x4b43('0x20')](){return Array[_0x4b43('0x1c')](this['_markerNames']);}[_0x4b43('0x37')](){return this[_0x4b43('0x20')]()[_0x4b43('0x25')](_0x1ed75b=>this['_model'][_0x4b43('0xe')][_0x4b43('0x6')](_0x1ed75b))[_0x4b43('0x0')](_0x5ed896=>_0x5ed896);}['getFirstMarker'](){return this[_0x4b43('0x37')]()[0x0]||null;}[_0x4b43('0x24')](){this['_model'][_0x4b43('0x1b')](_0x18bf7a=>{for(const _0x1d22fe of this['getMarkers']())_0x18bf7a[_0x4b43('0x21')](_0x1d22fe);}),this[_0x4b43('0x32')]['clear']();}[_0x4b43('0x21')](_0x1f65a7){this[_0x4b43('0x23')][_0x4b43('0x1b')](_0x23636f=>{_0x23636f[_0x4b43('0x21')](_0x1f65a7);}),this[_0x4b43('0x32')][_0x4b43('0x35')](_0x1f65a7);}[_0x4b43('0x16')](_0x2a79a9){const _0x42b6d4=_0x4b43('0x10')+this[_0x4b43('0x17')]+':'+this[_0x4b43('0x3')]+':'+this['id']+':'+this[_0x4b43('0x2b')]['id']+':'+u[_0x4b43('0x28')]();this[_0x4b43('0x26')](_0x42b6d4),this[_0x4b43('0x23')][_0x4b43('0x1b')](_0x5e577c=>{_0x5e577c[_0x4b43('0x18')](_0x42b6d4,{'range':_0x2a79a9,'usingOperation':!0x0,'affectsData':!0x0});});}['isIntersectingWithRange'](_0x1e1204){for(const _0x581ba4 of this['getRanges']())if(_0x581ba4[_0x4b43('0x34')](_0x1e1204))return!0x0;return!0x1;}['getRanges'](){return this[_0x4b43('0x37')]()['map'](_0x2dd5b3=>_0x2dd5b3['getRange']());}[_0x4b43('0x1e')](){return this['getRanges']()[_0x4b43('0xb')]((_0x4a6943,_0x1a6bcb)=>[..._0x4a6943,..._0x1a6bcb[_0x4b43('0x1e')]()],[]);}[_0x4b43('0xd')](){var _0x465cd2;return(null===(_0x465cd2=this[_0x4b43('0x1f')]())||void 0x0===_0x465cd2?void 0x0:_0x465cd2['getRange']())||null;}[_0x4b43('0x1')](){const _0x36cfb4=this[_0x4b43('0x12')]();if(0x1!=_0x36cfb4[_0x4b43('0x27')])return null;const _0x80203a=_0x36cfb4[0x0],_0x93fd5a=_0x80203a[_0x4b43('0x4')]['nodeAfter'],_0x7ad45d=_0x80203a['end']['nodeBefore'];return _0x93fd5a instanceof _0x4dda44?_0x93fd5a!=_0x7ad45d?null:_0x93fd5a:null;}[_0x4b43('0x31')](){this[_0x4b43('0x33')](this['getRanges'](),this['data'],this[_0x4b43('0x2f')]),this['removeMarkers']();}[_0x4b43('0x30')](){this['_onDiscard'](this[_0x4b43('0x12')](),this[_0x4b43('0x2d')],this[_0x4b43('0x2f')]),this[_0x4b43('0x24')]();}['getAllAdjacentSuggestions'](){const _0x74f545=[];let _0x5b8023=this['head'];for(;_0x5b8023;)_0x74f545[_0x4b43('0x36')](_0x5b8023),_0x5b8023=_0x5b8023[_0x4b43('0x14')];return _0x74f545;}['setAttribute'](_0x7e479d,_0x43870d){const _0x18312c=_0x19f11a(this['attributes']);_0x4c91a9(_0x18312c,_0x7e479d,_0x43870d),_0x371e0b(_0x18312c,this['attributes'])||(this[_0x4b43('0x2f')]=_0x18312c,this[_0x4b43('0xa')](_0x18312c));}[_0x4b43('0x9')](_0x2e56d3){const _0x4aca97=_0x19f11a(this['attributes']);_0x504fc6(_0x4aca97,_0x2e56d3),_0x371e0b(_0x4aca97,this[_0x4b43('0x2f')])||(this[_0x4b43('0x2f')]=_0x4aca97,this['_onAttributesChange'](this[_0x4b43('0x2f')]));}['toJSON'](){return{'id':this['id'],'type':this[_0x4b43('0x3')]?this['type']+':'+this[_0x4b43('0x3')]:this['type'],'authorId':this[_0x4b43('0x2b')]['id'],'createdAt':this[_0x4b43('0x1a')],'hasComments':this['hasComments'],'data':this[_0x4b43('0x2d')],'attributes':this[_0x4b43('0x2f')]};}static[_0x4b43('0x28')](){return _0xca5acf()[_0x4b43('0x2')](0x1,0x5);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3695=['set','addEmptyContainer','length','removeContainer','indexOf','elementStart','EmptyContainer','*Remove:*\x20%0','_locale','Object','registerElementLabel','registerDescriptionCallback','start','elementEnd','add','push','isEmpty','$text','text','isObject','$1\x20$2','_schema','REPLACE_TEXT','ELEMENT_SPACE','item','*Merge:*\x20%0','addContainer','removeEmptyContainer','previousSibling','normal','addObject','data','quantity','match','_customCallbacks','label','matchingCallback','getFirstRange','remove','*Insert:*\x20%0','replace','pop','getDescriptions','get','type','isInContent','element','$textProxy','nextSibling','insertion','getItemLabel','_itemLabels','deletion','name','_addDescriptionItems','_resolveDescriptionItems','isEqual','Container'];(function(_0x348b7b,_0x36958b){const _0x32df90=function(_0x3514f4){while(--_0x3514f4){_0x348b7b['push'](_0x348b7b['shift']());}};_0x32df90(++_0x36958b);}(_0x3695,0x140));const _0x32df=function(_0x348b7b,_0x36958b){_0x348b7b=_0x348b7b-0x0;let _0x32df90=_0x3695[_0x348b7b];return _0x32df90;};import{getTranslation as _0x6234b4}from'./utils/common-translations';import{priorities as _0x1dca02,insertToPriorityArray as _0x5d2dbb}from'ckeditor5/src/utils';export default class m{constructor(_0x3c50aa,_0x37ff99){this[_0x32df('0x4')]=[],this[_0x32df('0x15')]=new Map(),this['_itemLabelsCallbacks']=[],this[_0x32df('0x31')]=_0x3c50aa,this[_0x32df('0x24')]=_0x37ff99;}[_0x32df('0xc')](_0xfb5890){const _0x31b6fe=[];for(let _0x247bde=0x0;_0x247bde<_0xfb5890[_0x32df('0x1e')];_0x247bde++){const _0x51b999=_0xfb5890[_0x247bde];if(!_0x51b999[_0x32df('0xf')])continue;let _0x4d8546=!0x1;for(const _0x2df93b of this['_customCallbacks']){const _0x5bcc52=_0x2df93b(_0x51b999);if(_0x5bcc52){'type'in _0x5bcc52&&_0x31b6fe[_0x32df('0x2b')](_0x5bcc52),_0x4d8546=!0x0;break;}}if(!_0x4d8546){this[_0x32df('0x18')](_0x31b6fe,_0x51b999);const _0x59df5a=_0xfb5890[_0x247bde+0x1];if(_0x59df5a&&!_0x51b999['getFirstRange']()['end'][_0x32df('0x1a')](_0x59df5a[_0x32df('0x7')]()[_0x32df('0x28')])){const _0x1cc04a=_0x31b6fe[_0x31b6fe['length']-0x1],_0x8a1a30=_0x32df('0x13')==_0x51b999[_0x32df('0xe')]?_0x32df('0x2a'):_0x32df('0x8');_0x1cc04a&&_0x32df('0x2e')==_0x1cc04a['type']&&(_0x1cc04a[_0x8a1a30]+='\x0a');}}}return this[_0x32df('0x19')](_0x31b6fe);}[_0x32df('0x27')](_0x29ed60){this[_0x32df('0x4')][_0x32df('0x2b')](_0x29ed60);}[_0x32df('0x26')](_0x13d905,_0x29c638,_0xacf01a=_0x1dca02[_0x32df('0x39')]){'function'==typeof _0x13d905?_0x5d2dbb(this['_itemLabelsCallbacks'],{'matchingCallback':_0x13d905,'label':_0x29c638,'priority':_0xacf01a}):this['_itemLabels'][_0x32df('0x1c')](_0x13d905,_0x29c638);}['getItemLabel'](_0x3a38be,_0x47fc52=0x1){let _0xf76c8;for(const _0x568fa6 of this['_itemLabelsCallbacks'])if(_0x568fa6[_0x32df('0x6')](_0x3a38be)){_0xf76c8=_0x568fa6[_0x32df('0x5')];break;}return _0xf76c8||(_0xf76c8=this[_0x32df('0x15')][_0x32df('0xd')](_0x3a38be['name'])),_0xf76c8?_0xf76c8(_0x47fc52):0x1!==_0x47fc52?_0x47fc52+'\x20'+_0x3a38be[_0x32df('0x17')]+'s':''+_0x3a38be[_0x32df('0x17')];}[_0x32df('0x18')](_0xac9daf,_0x4e5a8a){const _0x3675d9=_0x4e5a8a['getFirstRange']()['getWalker'](),_0x1a13b0=_0x32df('0x13')==_0x4e5a8a['type']?'add':'remove';for(const _0x1dfea9 of _0x3675d9){const _0x89e5b=_0x1dfea9['item'],_0x24beb0=_0xac9daf[_0xac9daf[_0x32df('0x1e')]-0x1];if(_0x89e5b['is'](_0x32df('0x11')))_0x24beb0&&_0x24beb0[_0x32df('0xe')][_0x32df('0x20')](_0x32df('0x1b'))>-0x1&&_0xac9daf[_0x32df('0xb')](),_0x24beb0&&_0x32df('0x2e')==_0x24beb0['type']?_0x24beb0[_0x1a13b0]+=_0x89e5b['data']:_0xac9daf[_0x32df('0x2b')]({'type':_0x32df('0x2e'),'add':'add'==_0x1a13b0?_0x89e5b[_0x32df('0x1')]:'','remove':_0x32df('0x8')==_0x1a13b0?_0x89e5b[_0x32df('0x1')]:''});else{if(this[_0x32df('0x31')][_0x32df('0x2f')](_0x89e5b)){const _0x354d0b=_0x89e5b;if(_0x24beb0&&_0x24beb0[_0x32df('0xe')][_0x32df('0x20')](_0x32df('0x1b'))>-0x1&&_0xac9daf[_0x32df('0xb')](),_0x32df('0x29')==_0x1dfea9[_0x32df('0xe')])continue;_0x24beb0&&_0x24beb0[_0x32df('0xe')]==_0x1a13b0+_0x32df('0x25')&&_0x24beb0['element'][_0x32df('0x17')]==_0x354d0b[_0x32df('0x17')]?_0x24beb0['quantity']++:_0xac9daf['push']({'type':_0x1a13b0+_0x32df('0x25'),'element':_0x354d0b,'quantity':0x1}),_0x3675d9['skip'](_0x323987=>!('elementEnd'==_0x323987[_0x32df('0xe')]&&_0x323987[_0x32df('0x34')]==_0x89e5b));}else{if(this[_0x32df('0x31')]['checkChild'](_0x89e5b,_0x32df('0x2d'))||_0x89e5b['is'](_0x32df('0x10'),'softBreak')){const _0x2ec571=_0x89e5b;if(_0x32df('0x2a')==_0x1a13b0&&_0x32df('0x21')==_0x1dfea9[_0x32df('0xe')]||'remove'==_0x1a13b0&&_0x32df('0x29')==_0x1dfea9['type'])continue;if(_0x24beb0&&-0x1==_0x24beb0[_0x32df('0xe')][_0x32df('0x20')](_0x32df('0x1b'))){_0x32df('0x2e')==_0x24beb0[_0x32df('0xe')]&&(_0x24beb0[_0x1a13b0]+='\x0a');continue;}let _0xf454d9;if(_0xf454d9=_0x32df('0x2a')==_0x1a13b0?_0x2ec571[_0x32df('0x12')]&&!this[_0x32df('0x31')][_0x32df('0x2f')](_0x2ec571[_0x32df('0x12')])?_0x2ec571[_0x32df('0x12')]:null:_0x2ec571[_0x32df('0x38')]&&!this[_0x32df('0x31')][_0x32df('0x2f')](_0x2ec571[_0x32df('0x38')])?_0x2ec571[_0x32df('0x38')]:null,_0x2ec571[_0x32df('0x2c')]||_0xf454d9&&_0xf454d9['isEmpty']){const _0x332cdc=_0xf454d9&&_0xf454d9['isEmpty']?_0xf454d9:_0x2ec571;_0x24beb0&&_0x24beb0[_0x32df('0xe')]==_0x1a13b0+_0x32df('0x22')&&_0x24beb0[_0x32df('0x10')][_0x32df('0x17')]==_0x332cdc[_0x32df('0x17')]?_0x24beb0[_0x32df('0x2')]++:_0xac9daf[_0x32df('0x2b')]({'type':_0x1a13b0+_0x32df('0x22'),'element':_0x332cdc,'quantity':0x1});}else _0xac9daf[_0x32df('0x2b')]({'type':_0x1a13b0+'Container','element':_0x2ec571});}}}}}['_resolveDescriptionItems'](_0x76a201){const _0x52ccd5=this[_0x32df('0x24')],_0xf6527a=[];for(const _0x445f14 of _0x76a201){switch(_0x445f14[_0x32df('0xe')]){case'text':if(_0x445f14['add']=_0x445f14[_0x32df('0x2a')][_0x32df('0xa')](/(\S)\u000A+(\S)/g,_0x32df('0x30'))['replace'](/\u000A/g,''),_0x445f14[_0x32df('0x8')]=_0x445f14[_0x32df('0x8')][_0x32df('0xa')](/(\S)\u000A+(\S)/g,_0x32df('0x30'))['replace'](/\u000A/g,''),''!=_0x445f14[_0x32df('0x2a')]&&''!=_0x445f14[_0x32df('0x8')]){_0xf6527a[_0x32df('0x2b')]({'type':'replace','content':_0x6234b4(_0x52ccd5,_0x32df('0x32'),['\x22'+_0x445f14[_0x32df('0x8')]+'\x22','\x22'+_0x445f14[_0x32df('0x2a')]+'\x22'])});continue;}if(null!=_0x445f14['add']['match'](/^ +$/)){_0xf6527a[_0x32df('0x2b')]({'type':'insertion','content':_0x6234b4(_0x52ccd5,_0x32df('0x9'),_0x6234b4(_0x52ccd5,_0x32df('0x33'),_0x445f14[_0x32df('0x2a')][_0x32df('0x1e')]))});continue;}if(null!=_0x445f14[_0x32df('0x8')][_0x32df('0x3')](/^ +$/)){_0xf6527a[_0x32df('0x2b')]({'type':'deletion','content':_0x6234b4(_0x52ccd5,_0x32df('0x23'),_0x6234b4(_0x52ccd5,_0x32df('0x33'),_0x445f14['remove'][_0x32df('0x1e')]))});continue;}if(''!=_0x445f14[_0x32df('0x2a')]){_0xf6527a[_0x32df('0x2b')]({'type':_0x32df('0x13'),'content':_0x6234b4(_0x52ccd5,_0x32df('0x9'),'\x22'+_0x445f14[_0x32df('0x2a')]+'\x22')});continue;}_0xf6527a[_0x32df('0x2b')]({'type':_0x32df('0x16'),'content':_0x6234b4(_0x52ccd5,'*Remove:*\x20%0','\x22'+_0x445f14[_0x32df('0x8')]+'\x22')});continue;case _0x32df('0x1d'):case _0x32df('0x0'):_0xf6527a['push']({'type':'insertion','content':_0x6234b4(_0x52ccd5,'*Insert:*\x20%0',this['getItemLabel'](_0x445f14['element'],_0x445f14['quantity']))});continue;case _0x32df('0x37'):case'removeObject':_0xf6527a[_0x32df('0x2b')]({'type':_0x32df('0x16'),'content':_0x6234b4(_0x52ccd5,_0x32df('0x23'),this['getItemLabel'](_0x445f14[_0x32df('0x10')],_0x445f14['quantity']))});continue;case _0x32df('0x36'):_0xf6527a['push']({'type':_0x32df('0x13'),'content':_0x6234b4(_0x52ccd5,'*Split:*\x20%0',this[_0x32df('0x14')](_0x445f14[_0x32df('0x10')],_0x445f14['quantity']))});continue;case _0x32df('0x1f'):_0xf6527a[_0x32df('0x2b')]({'type':_0x32df('0x16'),'content':_0x6234b4(_0x52ccd5,_0x32df('0x35'),this['getItemLabel'](_0x445f14[_0x32df('0x10')],_0x445f14['quantity']))});continue;}_0xf6527a[_0x32df('0x2b')](_0x445f14);}return _0xf6527a;}}
23
+ const _0x5b09=['add','_customCallbacks','EmptyContainer','elementStart','pop','normal','type','_resolveDescriptionItems','deletion','text','_locale','removeEmptyContainer','addContainer','length','indexOf','_addDescriptionItems','registerElementLabel','skip','registerDescriptionCallback','*Merge:*\x20%0','label','isInContent','getFirstRange','name','getWalker','quantity','push','function','elementEnd','removeObject','checkChild','previousSibling','_itemLabels','element','get','replace','match','addObject','*Split:*\x20%0','ELEMENT_SPACE','$1\x20$2','data','REPLACE_TEXT','removeContainer','_schema','getItemLabel','*Remove:*\x20%0','isObject','remove','addEmptyContainer','nextSibling','*Insert:*\x20%0','item','insertion','Container','isEmpty','_itemLabelsCallbacks','Object','$text'];(function(_0x464820,_0x5b09c7){const _0x219fb5=function(_0x322044){while(--_0x322044){_0x464820['push'](_0x464820['shift']());}};_0x219fb5(++_0x5b09c7);}(_0x5b09,0x18b));const _0x219f=function(_0x464820,_0x5b09c7){_0x464820=_0x464820-0x0;let _0x219fb5=_0x5b09[_0x464820];return _0x219fb5;};import{getTranslation as _0x255e2a}from'./utils/common-translations';import{priorities as _0x48d832,insertToPriorityArray as _0x2697c6}from'ckeditor5/src/utils';export default class m{constructor(_0x5cc57a,_0x1179e3){this[_0x219f('0x13')]=[],this[_0x219f('0x32')]=new Map(),this[_0x219f('0xf')]=[],this[_0x219f('0x3')]=_0x5cc57a,this[_0x219f('0x1c')]=_0x1179e3;}['getDescriptions'](_0x2016e9){const _0x5bcc67=[];for(let _0x20bee7=0x0;_0x20bee7<_0x2016e9[_0x219f('0x1f')];_0x20bee7++){const _0x440113=_0x2016e9[_0x20bee7];if(!_0x440113[_0x219f('0x27')])continue;let _0x3dba63=!0x1;for(const _0x39527f of this[_0x219f('0x13')]){const _0x38ab5f=_0x39527f(_0x440113);if(_0x38ab5f){'type'in _0x38ab5f&&_0x5bcc67[_0x219f('0x2c')](_0x38ab5f),_0x3dba63=!0x0;break;}}if(!_0x3dba63){this['_addDescriptionItems'](_0x5bcc67,_0x440113);const _0x4188e5=_0x2016e9[_0x20bee7+0x1];if(_0x4188e5&&!_0x440113[_0x219f('0x28')]()['end']['isEqual'](_0x4188e5[_0x219f('0x28')]()['start'])){const _0x4b9319=_0x5bcc67[_0x5bcc67[_0x219f('0x1f')]-0x1],_0x20a78b=_0x219f('0xc')==_0x440113[_0x219f('0x18')]?_0x219f('0x12'):_0x219f('0x7');_0x4b9319&&'text'==_0x4b9319[_0x219f('0x18')]&&(_0x4b9319[_0x20a78b]+='\x0a');}}}return this[_0x219f('0x19')](_0x5bcc67);}[_0x219f('0x24')](_0x22f541){this[_0x219f('0x13')][_0x219f('0x2c')](_0x22f541);}[_0x219f('0x22')](_0x272ce7,_0x13474e,_0x5c4b4f=_0x48d832[_0x219f('0x17')]){_0x219f('0x2d')==typeof _0x272ce7?_0x2697c6(this[_0x219f('0xf')],{'matchingCallback':_0x272ce7,'label':_0x13474e,'priority':_0x5c4b4f}):this[_0x219f('0x32')]['set'](_0x272ce7,_0x13474e);}['getItemLabel'](_0x462211,_0x48cad0=0x1){let _0x44da38;for(const _0x442028 of this['_itemLabelsCallbacks'])if(_0x442028['matchingCallback'](_0x462211)){_0x44da38=_0x442028[_0x219f('0x26')];break;}return _0x44da38||(_0x44da38=this[_0x219f('0x32')][_0x219f('0x34')](_0x462211['name'])),_0x44da38?_0x44da38(_0x48cad0):0x1!==_0x48cad0?_0x48cad0+'\x20'+_0x462211[_0x219f('0x29')]+'s':''+_0x462211['name'];}[_0x219f('0x21')](_0x2b7471,_0x257346){const _0x45ae94=_0x257346[_0x219f('0x28')]()[_0x219f('0x2a')](),_0x250ec5=_0x219f('0xc')==_0x257346[_0x219f('0x18')]?'add':_0x219f('0x7');for(const _0x465d68 of _0x45ae94){const _0x40b21c=_0x465d68[_0x219f('0xb')],_0x36a8e4=_0x2b7471[_0x2b7471[_0x219f('0x1f')]-0x1];if(_0x40b21c['is']('$textProxy'))_0x36a8e4&&_0x36a8e4[_0x219f('0x18')][_0x219f('0x20')](_0x219f('0xd'))>-0x1&&_0x2b7471[_0x219f('0x16')](),_0x36a8e4&&_0x219f('0x1b')==_0x36a8e4['type']?_0x36a8e4[_0x250ec5]+=_0x40b21c['data']:_0x2b7471['push']({'type':_0x219f('0x1b'),'add':'add'==_0x250ec5?_0x40b21c[_0x219f('0x0')]:'','remove':_0x219f('0x7')==_0x250ec5?_0x40b21c['data']:''});else{if(this[_0x219f('0x3')][_0x219f('0x6')](_0x40b21c)){const _0x2e336f=_0x40b21c;if(_0x36a8e4&&_0x36a8e4['type'][_0x219f('0x20')]('Container')>-0x1&&_0x2b7471[_0x219f('0x16')](),_0x219f('0x2e')==_0x465d68[_0x219f('0x18')])continue;_0x36a8e4&&_0x36a8e4[_0x219f('0x18')]==_0x250ec5+_0x219f('0x10')&&_0x36a8e4[_0x219f('0x33')][_0x219f('0x29')]==_0x2e336f[_0x219f('0x29')]?_0x36a8e4[_0x219f('0x2b')]++:_0x2b7471[_0x219f('0x2c')]({'type':_0x250ec5+_0x219f('0x10'),'element':_0x2e336f,'quantity':0x1}),_0x45ae94[_0x219f('0x23')](_0x230f6d=>!(_0x219f('0x2e')==_0x230f6d[_0x219f('0x18')]&&_0x230f6d[_0x219f('0xb')]==_0x40b21c));}else{if(this['_schema'][_0x219f('0x30')](_0x40b21c,_0x219f('0x11'))||_0x40b21c['is'](_0x219f('0x33'),'softBreak')){const _0x439bdc=_0x40b21c;if('add'==_0x250ec5&&_0x219f('0x15')==_0x465d68[_0x219f('0x18')]||'remove'==_0x250ec5&&'elementEnd'==_0x465d68[_0x219f('0x18')])continue;if(_0x36a8e4&&-0x1==_0x36a8e4[_0x219f('0x18')][_0x219f('0x20')](_0x219f('0xd'))){_0x219f('0x1b')==_0x36a8e4[_0x219f('0x18')]&&(_0x36a8e4[_0x250ec5]+='\x0a');continue;}let _0x395041;if(_0x395041=_0x219f('0x12')==_0x250ec5?_0x439bdc[_0x219f('0x9')]&&!this[_0x219f('0x3')]['isObject'](_0x439bdc[_0x219f('0x9')])?_0x439bdc[_0x219f('0x9')]:null:_0x439bdc[_0x219f('0x31')]&&!this[_0x219f('0x3')]['isObject'](_0x439bdc[_0x219f('0x31')])?_0x439bdc[_0x219f('0x31')]:null,_0x439bdc[_0x219f('0xe')]||_0x395041&&_0x395041[_0x219f('0xe')]){const _0x251ecc=_0x395041&&_0x395041[_0x219f('0xe')]?_0x395041:_0x439bdc;_0x36a8e4&&_0x36a8e4[_0x219f('0x18')]==_0x250ec5+_0x219f('0x14')&&_0x36a8e4['element'][_0x219f('0x29')]==_0x251ecc[_0x219f('0x29')]?_0x36a8e4[_0x219f('0x2b')]++:_0x2b7471[_0x219f('0x2c')]({'type':_0x250ec5+_0x219f('0x14'),'element':_0x251ecc,'quantity':0x1});}else _0x2b7471['push']({'type':_0x250ec5+_0x219f('0xd'),'element':_0x439bdc});}}}}}[_0x219f('0x19')](_0x39fdcc){const _0x24e391=this[_0x219f('0x1c')],_0x3a036a=[];for(const _0x4ccf9a of _0x39fdcc){switch(_0x4ccf9a['type']){case _0x219f('0x1b'):if(_0x4ccf9a['add']=_0x4ccf9a['add'][_0x219f('0x35')](/(\S)\u000A+(\S)/g,_0x219f('0x3a'))[_0x219f('0x35')](/\u000A/g,''),_0x4ccf9a[_0x219f('0x7')]=_0x4ccf9a[_0x219f('0x7')][_0x219f('0x35')](/(\S)\u000A+(\S)/g,_0x219f('0x3a'))[_0x219f('0x35')](/\u000A/g,''),''!=_0x4ccf9a[_0x219f('0x12')]&&''!=_0x4ccf9a['remove']){_0x3a036a[_0x219f('0x2c')]({'type':_0x219f('0x35'),'content':_0x255e2a(_0x24e391,_0x219f('0x1'),['\x22'+_0x4ccf9a[_0x219f('0x7')]+'\x22','\x22'+_0x4ccf9a['add']+'\x22'])});continue;}if(null!=_0x4ccf9a[_0x219f('0x12')][_0x219f('0x36')](/^ +$/)){_0x3a036a[_0x219f('0x2c')]({'type':_0x219f('0xc'),'content':_0x255e2a(_0x24e391,_0x219f('0xa'),_0x255e2a(_0x24e391,_0x219f('0x39'),_0x4ccf9a[_0x219f('0x12')]['length']))});continue;}if(null!=_0x4ccf9a[_0x219f('0x7')][_0x219f('0x36')](/^ +$/)){_0x3a036a['push']({'type':'deletion','content':_0x255e2a(_0x24e391,_0x219f('0x5'),_0x255e2a(_0x24e391,'ELEMENT_SPACE',_0x4ccf9a['remove'][_0x219f('0x1f')]))});continue;}if(''!=_0x4ccf9a[_0x219f('0x12')]){_0x3a036a['push']({'type':_0x219f('0xc'),'content':_0x255e2a(_0x24e391,'*Insert:*\x20%0','\x22'+_0x4ccf9a[_0x219f('0x12')]+'\x22')});continue;}_0x3a036a[_0x219f('0x2c')]({'type':_0x219f('0x1a'),'content':_0x255e2a(_0x24e391,'*Remove:*\x20%0','\x22'+_0x4ccf9a[_0x219f('0x7')]+'\x22')});continue;case _0x219f('0x8'):case _0x219f('0x37'):_0x3a036a[_0x219f('0x2c')]({'type':'insertion','content':_0x255e2a(_0x24e391,'*Insert:*\x20%0',this[_0x219f('0x4')](_0x4ccf9a[_0x219f('0x33')],_0x4ccf9a[_0x219f('0x2b')]))});continue;case _0x219f('0x1d'):case _0x219f('0x2f'):_0x3a036a[_0x219f('0x2c')]({'type':'deletion','content':_0x255e2a(_0x24e391,_0x219f('0x5'),this[_0x219f('0x4')](_0x4ccf9a[_0x219f('0x33')],_0x4ccf9a[_0x219f('0x2b')]))});continue;case _0x219f('0x1e'):_0x3a036a[_0x219f('0x2c')]({'type':_0x219f('0xc'),'content':_0x255e2a(_0x24e391,_0x219f('0x38'),this[_0x219f('0x4')](_0x4ccf9a['element'],_0x4ccf9a[_0x219f('0x2b')]))});continue;case _0x219f('0x2'):_0x3a036a['push']({'type':'deletion','content':_0x255e2a(_0x24e391,_0x219f('0x25'),this[_0x219f('0x4')](_0x4ccf9a[_0x219f('0x33')],_0x4ccf9a[_0x219f('0x2b')]))});continue;}_0x3a036a[_0x219f('0x2c')](_0x4ccf9a);}return _0x3a036a;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x5284=['requires','TrackChanges','getSuggestion','addSuggestion','editor','getSuggestions','Comments','pluginName','addSuggestionData','adapter','plugins','get'];(function(_0x386bba,_0x52847d){var _0x56f5e1=function(_0x26b004){while(--_0x26b004){_0x386bba['push'](_0x386bba['shift']());}};_0x56f5e1(++_0x52847d);}(_0x5284,0x151));var _0x56f5=function(_0x386bba,_0x52847d){_0x386bba=_0x386bba-0x0;var _0x56f5e1=_0x5284[_0x386bba];return _0x56f5e1;};import{Plugin as _0x4661b1}from'ckeditor5/src/core';import _0x5a6824 from'./trackchangesui';import _0x4bb505 from'./trackchangesediting';import'ckeditor5-collaboration/src/collaboration-core';export default class k extends _0x4661b1{static get[_0x56f5('0xb')](){return[_0x4bb505,_0x5a6824,_0x56f5('0x5')];}static get[_0x56f5('0x6')](){return _0x56f5('0x0');}set[_0x56f5('0x8')](_0x38145){this[_0x56f5('0x3')][_0x56f5('0x9')][_0x56f5('0xa')](_0x4bb505)[_0x56f5('0x8')]=_0x38145;}get[_0x56f5('0x8')](){return this[_0x56f5('0x3')][_0x56f5('0x9')][_0x56f5('0xa')](_0x4bb505)['adapter'];}[_0x56f5('0x2')](_0x596d8e){return this['editor'][_0x56f5('0x9')][_0x56f5('0xa')](_0x4bb505)[_0x56f5('0x7')](_0x596d8e);}[_0x56f5('0x4')]({skipNotAttached:_0x2f0a52=!0x1,toJSON:_0x34c439=!0x1}={}){return this[_0x56f5('0x3')]['plugins'][_0x56f5('0xa')](_0x4bb505)[_0x56f5('0x4')]({'skipNotAttached':_0x2f0a52,'toJSON':_0x34c439});}[_0x56f5('0x1')](_0x1c103d){return this[_0x56f5('0x3')]['plugins']['get'](_0x4bb505)[_0x56f5('0x1')](_0x1c103d);}}
23
+ var _0x41c1=['requires','Comments','plugins','getSuggestion','pluginName','adapter','addSuggestion','get','editor','getSuggestions','addSuggestionData'];(function(_0x194d32,_0x41c1b0){var _0x282af1=function(_0xafefe6){while(--_0xafefe6){_0x194d32['push'](_0x194d32['shift']());}};_0x282af1(++_0x41c1b0);}(_0x41c1,0xce));var _0x282a=function(_0x194d32,_0x41c1b0){_0x194d32=_0x194d32-0x0;var _0x282af1=_0x41c1[_0x194d32];return _0x282af1;};import{Plugin as _0x1a31d6}from'ckeditor5/src/core';import _0x114275 from'./trackchangesui';import _0x43df09 from'./trackchangesediting';import'ckeditor5-collaboration/src/collaboration-core';export default class k extends _0x1a31d6{static get[_0x282a('0x3')](){return[_0x43df09,_0x114275,_0x282a('0x4')];}static get[_0x282a('0x7')](){return'TrackChanges';}set['adapter'](_0x28d46c){this[_0x282a('0x0')][_0x282a('0x5')][_0x282a('0xa')](_0x43df09)[_0x282a('0x8')]=_0x28d46c;}get[_0x282a('0x8')](){return this['editor']['plugins'][_0x282a('0xa')](_0x43df09)[_0x282a('0x8')];}[_0x282a('0x9')](_0x322648){return this[_0x282a('0x0')][_0x282a('0x5')]['get'](_0x43df09)[_0x282a('0x2')](_0x322648);}['getSuggestions']({skipNotAttached:_0x5c0a2d=!0x1,toJSON:_0x29c3d6=!0x1}={}){return this[_0x282a('0x0')]['plugins'][_0x282a('0xa')](_0x43df09)[_0x282a('0x1')]({'skipNotAttached':_0x5c0a2d,'toJSON':_0x29c3d6});}[_0x282a('0x6')](_0x5ddce0){return this[_0x282a('0x0')][_0x282a('0x5')][_0x282a('0xa')](_0x43df09)['getSuggestion'](_0x5ddce0);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3957=['get','map','createElement','trackChangesData','model','track-changes-data-invalid-editor-creator','name','config','execute','plugins','getUser','acceptAllSuggestions','getDataWithAcceptedSuggestions','_adapter','push','TrackChangesData','getRootsAttributes','result','data','TrackChangesEditing','create','getFullData','constructor','define','trackChangesData.editorCreator','getRootNames','getSuggestions','getDataWithDiscardedSuggestions','Pagination','editorCreator','pluginName','destroy','CommentsRepository','addUser','reduce','editor','rootsAttributes','Users','appendChild','document','set','div','init','addSuggestionData'];(function(_0x24f2e4,_0x3957f8){const _0x5ddc6e=function(_0x52f0a1){while(--_0x52f0a1){_0x24f2e4['push'](_0x24f2e4['shift']());}};_0x5ddc6e(++_0x3957f8);}(_0x3957,0xff));const _0x5ddc=function(_0x24f2e4,_0x3957f8){_0x24f2e4=_0x24f2e4-0x0;let _0x5ddc6e=_0x3957[_0x24f2e4];return _0x5ddc6e;};import{Plugin as _0x5aa38c}from'ckeditor5/src/core';import{CKEditorError as _0x2fff8a}from'ckeditor5/src/utils';import _0x4247c3 from'./trackchangesediting';import{sanitizeEditorConfig as _0x23795e}from'ckeditor5-collaboration/src/collaboration-core';const w=[_0x5ddc('0x25')];export default class T extends _0x5aa38c{static get['requires'](){return[_0x4247c3];}static get[_0x5ddc('0x27')](){return _0x5ddc('0x18');}['init'](){const _0x1c0e07=this[_0x5ddc('0x0')];if(_0x1c0e07[_0x5ddc('0x10')][_0x5ddc('0x20')](_0x5ddc('0x21'),_0x177c75=>{const _0x24bde9=_0x1c0e07['model'][_0x5ddc('0x4')][_0x5ddc('0x22')]()[_0x5ddc('0x2b')]((_0x2e2e33,_0x310e70)=>(_0x2e2e33[_0x310e70]='',_0x2e2e33),{});return _0x1c0e07[_0x5ddc('0x1f')][_0x5ddc('0x1d')](_0x24bde9,_0x177c75);}),'function'!=typeof _0x1c0e07['config'][_0x5ddc('0x9')]('trackChangesData')[_0x5ddc('0x26')])throw new _0x2fff8a(_0x5ddc('0xe'));}[_0x5ddc('0x15')](_0x54756c){return v(this[_0x5ddc('0x0')],!0x0,_0x54756c);}[_0x5ddc('0x24')](_0x231f31){return v(this['editor'],!0x1,_0x231f31);}}class P extends _0x5aa38c{static get['pluginName'](){return'TrackChangesDataGetter';}constructor(_0xbf6bc5){super(_0xbf6bc5),this[_0x5ddc('0x1a')]='end';}[_0x5ddc('0x7')](){this[_0x5ddc('0x0')][_0x5ddc('0x12')]['get'](_0x5ddc('0x29'))[_0x5ddc('0x16')]={'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[_0x5ddc('0x0')][_0x5ddc('0x12')]['get']('TrackChangesEditing')[_0x5ddc('0x16')]=null;}}function D(_0xab673){return void 0x0!==_0xab673[_0x5ddc('0x19')];}async function v(_0x3667ce,_0x3c9c25,_0x175552){const _0x9e39bc=_0x23795e(_0x3667ce,w);_0x9e39bc[_0x5ddc('0x12')][_0x5ddc('0x17')](_0x4247c3,P),_0x9e39bc[_0x5ddc('0x1')]=D(_0x3667ce)?_0x3667ce[_0x5ddc('0x19')]():void 0x0;const _0xf8bd5f=document['createDocumentFragment'](),_0x689311=_0x3667ce[_0x5ddc('0x10')][_0x5ddc('0x9')](_0x5ddc('0xc'))[_0x5ddc('0x26')],_0x36be0d=await _0x689311(_0x9e39bc,()=>function(_0x3e8ce3){const _0x4a27f2=document[_0x5ddc('0xb')](_0x5ddc('0x6'));return _0x3e8ce3[_0x5ddc('0x3')](_0x4a27f2),_0x4a27f2;}(_0xf8bd5f));!function(_0x53edd0,_0x2abe4b){const _0x570264=_0x53edd0[_0x5ddc('0xd')][_0x5ddc('0x4')]['getRootNames']()['reduce']((_0x4f469d,_0x483df7)=>(_0x4f469d[_0x483df7]=_0x53edd0[_0x5ddc('0x1b')][_0x5ddc('0x9')]({'rootName':_0x483df7}),_0x4f469d),{}),_0x5a9a84=_0x53edd0[_0x5ddc('0x12')][_0x5ddc('0x9')](_0x5ddc('0x2'))['users'][_0x5ddc('0xa')](_0x37d3d1=>({'id':_0x37d3d1['id'],'name':_0x37d3d1[_0x5ddc('0xf')]})),_0x11b700=_0x53edd0[_0x5ddc('0x12')][_0x5ddc('0x9')](_0x5ddc('0x1c'))[_0x5ddc('0x23')]({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x58af9a=_0x2abe4b['plugins']['get'](_0x5ddc('0x2')),_0x4118c1=_0x2abe4b[_0x5ddc('0x12')]['get'](_0x5ddc('0x1c'));for(const _0xef6352 of _0x5a9a84)_0x58af9a[_0x5ddc('0x13')](_0xef6352['id'])||_0x58af9a[_0x5ddc('0x2a')](_0xef6352);_0x58af9a['me']||_0x58af9a['useAnonymousUser']();for(const _0x17daa5 of _0x11b700)_0x4118c1[_0x5ddc('0x8')](_0x17daa5);_0x2abe4b['data'][_0x5ddc('0x5')](_0x570264);}(_0x3667ce,_0x36be0d),_0x36be0d[_0x5ddc('0x11')](_0x3c9c25?_0x5ddc('0x14'):'discardAllSuggestions');const _0x2fc7fa=D(_0x36be0d)?_0x36be0d[_0x5ddc('0x1e')](_0x175552):_0x36be0d[_0x5ddc('0x1b')]['get'](_0x175552);return await _0x36be0d[_0x5ddc('0x28')](),_0x2fc7fa;}
23
+ const _0xeb5f=['getUser','name','users','TrackChangesDataGetter','model','getDataWithAcceptedSuggestions','pluginName','map','useAnonymousUser','getRootNames','appendChild','execute','getSuggestions','init','editor','Users','trackChangesData','create','_adapter','TrackChangesEditing','discardAllSuggestions','plugins','acceptAllSuggestions','createDocumentFragment','editorCreator','config','destroy','addUser','constructor','getRootsAttributes','end','addSuggestionData','Pagination','get','getFullData','TrackChangesData','div','reduce','trackChangesData.editorCreator','function','document','data','push'];(function(_0x10eb2b,_0xeb5ffd){const _0x3f2885=function(_0x33ccad){while(--_0x33ccad){_0x10eb2b['push'](_0x10eb2b['shift']());}};_0x3f2885(++_0xeb5ffd);}(_0xeb5f,0xab));const _0x3f28=function(_0x10eb2b,_0xeb5ffd){_0x10eb2b=_0x10eb2b-0x0;let _0x3f2885=_0xeb5f[_0x10eb2b];return _0x3f2885;};import{Plugin as _0x1ca593}from'ckeditor5/src/core';import{CKEditorError as _0x177db5}from'ckeditor5/src/utils';import _0x41ee2c from'./trackchangesediting';import{sanitizeEditorConfig as _0x4d5485}from'ckeditor5-collaboration/src/collaboration-core';const w=[_0x3f28('0x21')];export default class T extends _0x1ca593{static get['requires'](){return[_0x41ee2c];}static get[_0x3f28('0x7')](){return _0x3f28('0x24');}[_0x3f28('0xe')](){const _0x49f5c9=this['editor'];if(_0x49f5c9[_0x3f28('0x1a')]['define'](_0x3f28('0x27'),_0x348fce=>{const _0x440f2b=_0x49f5c9[_0x3f28('0x5')][_0x3f28('0x29')][_0x3f28('0xa')]()[_0x3f28('0x26')]((_0x1c784d,_0x49ffc1)=>(_0x1c784d[_0x49ffc1]='',_0x1c784d),{});return _0x49f5c9[_0x3f28('0x1d')][_0x3f28('0x12')](_0x440f2b,_0x348fce);}),_0x3f28('0x28')!=typeof _0x49f5c9['config']['get']('trackChangesData')[_0x3f28('0x19')])throw new _0x177db5('track-changes-data-invalid-editor-creator');}[_0x3f28('0x6')](_0x430ca6){return v(this[_0x3f28('0xf')],!0x0,_0x430ca6);}['getDataWithDiscardedSuggestions'](_0x46cf14){return v(this[_0x3f28('0xf')],!0x1,_0x46cf14);}}class P extends _0x1ca593{static get[_0x3f28('0x7')](){return _0x3f28('0x4');}constructor(_0x348931){super(_0x348931),this['result']=_0x3f28('0x1f');}['init'](){this[_0x3f28('0xf')][_0x3f28('0x16')][_0x3f28('0x22')]('CommentsRepository')['_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['editor'][_0x3f28('0x16')]['get']('TrackChangesEditing')[_0x3f28('0x13')]=null;}}function D(_0x27efda){return void 0x0!==_0x27efda[_0x3f28('0x1e')];}async function v(_0x236509,_0x3da3e1,_0x59f271){const _0x577f19=_0x4d5485(_0x236509,w);_0x577f19['plugins'][_0x3f28('0x0')](_0x41ee2c,P),_0x577f19['rootsAttributes']=D(_0x236509)?_0x236509[_0x3f28('0x1e')]():void 0x0;const _0x27f84a=document[_0x3f28('0x18')](),_0x36caf2=_0x236509[_0x3f28('0x1a')][_0x3f28('0x22')](_0x3f28('0x11'))['editorCreator'],_0x59e6cc=await _0x36caf2(_0x577f19,()=>function(_0xf3e400){const _0x597708=document['createElement'](_0x3f28('0x25'));return _0xf3e400[_0x3f28('0xb')](_0x597708),_0x597708;}(_0x27f84a));!function(_0xcc1bff,_0x7a955a){const _0x3d9c18=_0xcc1bff['model'][_0x3f28('0x29')][_0x3f28('0xa')]()[_0x3f28('0x26')]((_0x52dd99,_0x100c80)=>(_0x52dd99[_0x100c80]=_0xcc1bff[_0x3f28('0x2a')]['get']({'rootName':_0x100c80}),_0x52dd99),{}),_0x4de3df=_0xcc1bff[_0x3f28('0x16')]['get'](_0x3f28('0x10'))[_0x3f28('0x3')][_0x3f28('0x8')](_0x33481c=>({'id':_0x33481c['id'],'name':_0x33481c[_0x3f28('0x2')]})),_0x269313=_0xcc1bff[_0x3f28('0x16')]['get'](_0x3f28('0x14'))[_0x3f28('0xd')]({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x42fe09=_0x7a955a[_0x3f28('0x16')][_0x3f28('0x22')]('Users'),_0x89a7db=_0x7a955a[_0x3f28('0x16')][_0x3f28('0x22')](_0x3f28('0x14'));for(const _0x3390a8 of _0x4de3df)_0x42fe09[_0x3f28('0x1')](_0x3390a8['id'])||_0x42fe09[_0x3f28('0x1c')](_0x3390a8);_0x42fe09['me']||_0x42fe09[_0x3f28('0x9')]();for(const _0x2140f2 of _0x269313)_0x89a7db[_0x3f28('0x20')](_0x2140f2);_0x7a955a[_0x3f28('0x2a')]['set'](_0x3d9c18);}(_0x236509,_0x59e6cc),_0x59e6cc[_0x3f28('0xc')](_0x3da3e1?_0x3f28('0x17'):_0x3f28('0x15'));const _0x285a03=D(_0x59e6cc)?_0x59e6cc[_0x3f28('0x23')](_0x59f271):_0x59e6cc[_0x3f28('0x2a')][_0x3f28('0x22')](_0x59f271);return await _0x59e6cc[_0x3f28('0x1b')](),_0x285a03;}