@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20230808.0 → 0.0.0-nightly-20230809.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 _0x5cbf=['addMarkerName','data','removeMarkers','clear','nodeAfter','change','authoredAt','toJSON','_onAttributesChange','push','filter','removeMarker','type','isInContent','onAttributesChange','getRanges','add','commentThread','getItems','next','start','map','_markerNames','getAllAdjacentSuggestions','getMarkerNames','attributes','hasComments','isIntersectingWithRange','delete','subType','onAccept','getContainedElement','isExternal','getMarkers','removeAttribute','nodeBefore','addRange','_saved','getRange','reduce','split','discard','addMarker','isIntersecting','head','set','_model','size','previous','getMultiRangeId','accept','_onAccept','substr','getFirstMarker','_onDiscard','length','createdAt','creator','decorate','author','get'];(function(_0x395f5a,_0x5cbfb9){const _0x16c4e5=function(_0x1e69d9){while(--_0x1e69d9){_0x395f5a['push'](_0x395f5a['shift']());}};_0x16c4e5(++_0x5cbfb9);}(_0x5cbf,0x155));const _0x16c4=function(_0x395f5a,_0x5cbfb9){_0x395f5a=_0x395f5a-0x0;let _0x16c4e5=_0x5cbf[_0x395f5a];return _0x16c4e5;};import{Element as _0x4b7396}from'ckeditor5/src/engine';import{ObservableMixin as _0x39ec03,uid as _0x204455}from'ckeditor5/src/utils';import{cloneDeep as _0x26c3f2,isEqual as _0x758005,set as _0xb352b9,unset as _0x12e34c}from'lodash-es';export default class u extends _0x39ec03(){constructor(_0x393a38,_0x26044e){super(),this['id']=_0x26044e['id'],this[_0x16c4('0x25')]=_0x26044e[_0x16c4('0x25')],this[_0x16c4('0x36')]=_0x26044e['subType']||null,this[_0x16c4('0x17')]=_0x26044e[_0x16c4('0x17')],this['creator']=_0x26044e[_0x16c4('0x15')]||_0x26044e[_0x16c4('0x17')],this[_0x16c4('0x39')]=Boolean(_0x26044e[_0x16c4('0x32')]&&_0x26044e[_0x16c4('0x32')]['@external']),this[_0x16c4('0x1a')]=null,this['_model']=_0x393a38,this[_0x16c4('0xf')]=_0x26044e[_0x16c4('0x37')],this['_onDiscard']=_0x26044e['onDiscard'],this[_0x16c4('0x21')]=_0x26044e[_0x16c4('0x27')],this[_0x16c4('0x2f')]=new Set(),this[_0x16c4('0x14')]=null,this[_0x16c4('0x9')](_0x16c4('0x1f'),null),this[_0x16c4('0x9')](_0x16c4('0x32'),_0x26044e['attributes']||{}),this[_0x16c4('0x9')](_0x16c4('0xc'),null),this[_0x16c4('0x9')](_0x16c4('0x2c'),null),this[_0x16c4('0x9')](_0x16c4('0x2a'),null),this[_0x16c4('0x9')](_0x16c4('0x1'),!0x1),this[_0x16c4('0x16')](_0x16c4('0xe')),this[_0x16c4('0x16')](_0x16c4('0x5'));}get['head'](){let _0x2fa4ba=this;for(;_0x2fa4ba[_0x16c4('0xc')];)_0x2fa4ba=_0x2fa4ba[_0x16c4('0xc')];return _0x2fa4ba;}get[_0x16c4('0x33')](){return!!this[_0x16c4('0x2a')]&&this[_0x16c4('0x2a')]['length']>0x0;}get['isMultiRange'](){if(0x0==this[_0x16c4('0x2f')][_0x16c4('0xb')])return!0x1;return 0x6==Array['from'](this[_0x16c4('0x2f')])[0x0][_0x16c4('0x4')](':')[_0x16c4('0x13')];}get[_0x16c4('0x26')](){return null!==this[_0x16c4('0x11')]();}[_0x16c4('0x19')](_0x209f5d){this[_0x16c4('0x2f')][_0x16c4('0x29')](_0x209f5d);}['getMarkerNames'](){return Array['from'](this[_0x16c4('0x2f')]);}['getMarkers'](){return this[_0x16c4('0x31')]()[_0x16c4('0x2e')](_0x373364=>this[_0x16c4('0xa')]['markers'][_0x16c4('0x18')](_0x373364))[_0x16c4('0x23')](_0x169e61=>_0x169e61);}['getFirstMarker'](){return this['getMarkers']()[0x0]||null;}[_0x16c4('0x1b')](){this[_0x16c4('0xa')][_0x16c4('0x1e')](_0x2772c9=>{for(const _0x2ca0f6 of this[_0x16c4('0x3a')]())_0x2772c9[_0x16c4('0x24')](_0x2ca0f6);}),this['_markerNames'][_0x16c4('0x1c')]();}[_0x16c4('0x24')](_0x25b8fa){this[_0x16c4('0xa')][_0x16c4('0x1e')](_0x41ec7c=>{_0x41ec7c[_0x16c4('0x24')](_0x25b8fa);}),this[_0x16c4('0x2f')][_0x16c4('0x35')](_0x25b8fa);}[_0x16c4('0x0')](_0x3ea221){const _0x544b3e='suggestion:'+this[_0x16c4('0x25')]+':'+this['subType']+':'+this['id']+':'+this[_0x16c4('0x15')]['id']+':'+u['getMultiRangeId']();this[_0x16c4('0x19')](_0x544b3e),this[_0x16c4('0xa')][_0x16c4('0x1e')](_0x306ffb=>{_0x306ffb[_0x16c4('0x6')](_0x544b3e,{'range':_0x3ea221,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x16c4('0x34')](_0x2e1c52){for(const _0x2d8ddb of this['getRanges']())if(_0x2d8ddb[_0x16c4('0x7')](_0x2e1c52))return!0x0;return!0x1;}[_0x16c4('0x28')](){return this[_0x16c4('0x3a')]()[_0x16c4('0x2e')](_0xf26b82=>_0xf26b82[_0x16c4('0x2')]());}[_0x16c4('0x2b')](){return this[_0x16c4('0x28')]()[_0x16c4('0x3')]((_0x46fa59,_0x343774)=>[..._0x46fa59,..._0x343774[_0x16c4('0x2b')]()],[]);}['getFirstRange'](){var _0x155c1e;return(null===(_0x155c1e=this[_0x16c4('0x11')]())||void 0x0===_0x155c1e?void 0x0:_0x155c1e[_0x16c4('0x2')]())||null;}[_0x16c4('0x38')](){const _0x55d4bc=this['getRanges']();if(0x1!=_0x55d4bc[_0x16c4('0x13')])return null;const _0x1dda17=_0x55d4bc[0x0],_0x4ee99d=_0x1dda17[_0x16c4('0x2d')][_0x16c4('0x1d')],_0x1412e0=_0x1dda17['end'][_0x16c4('0x3c')];return _0x4ee99d instanceof _0x4b7396?_0x4ee99d!=_0x1412e0?null:_0x4ee99d:null;}[_0x16c4('0xe')](){this[_0x16c4('0xf')](this[_0x16c4('0x28')](),this[_0x16c4('0x1a')],this[_0x16c4('0x32')]),this[_0x16c4('0x1b')]();}[_0x16c4('0x5')](){this[_0x16c4('0x12')](this[_0x16c4('0x28')](),this[_0x16c4('0x1a')],this[_0x16c4('0x32')]),this[_0x16c4('0x1b')]();}[_0x16c4('0x30')](){const _0x12ffeb=[];let _0x47c5d1=this[_0x16c4('0x8')];for(;_0x47c5d1;)_0x12ffeb[_0x16c4('0x22')](_0x47c5d1),_0x47c5d1=_0x47c5d1[_0x16c4('0x2c')];return _0x12ffeb;}['setAttribute'](_0x178c45,_0x19e5af){const _0xb62e54=_0x26c3f2(this['attributes']);_0xb352b9(_0xb62e54,_0x178c45,_0x19e5af),_0x758005(_0xb62e54,this[_0x16c4('0x32')])||(this[_0x16c4('0x32')]=_0xb62e54,this[_0x16c4('0x21')](_0xb62e54));}[_0x16c4('0x3b')](_0x3b9c4a){const _0xfbd962=_0x26c3f2(this[_0x16c4('0x32')]);_0x12e34c(_0xfbd962,_0x3b9c4a),_0x758005(_0xfbd962,this[_0x16c4('0x32')])||(this[_0x16c4('0x32')]=_0xfbd962,this[_0x16c4('0x21')](this[_0x16c4('0x32')]));}[_0x16c4('0x20')](){return{'id':this['id'],'type':this[_0x16c4('0x36')]?this['type']+':'+this[_0x16c4('0x36')]:this[_0x16c4('0x25')],'authorId':this[_0x16c4('0x15')]['id'],'createdAt':this[_0x16c4('0x14')],'hasComments':this[_0x16c4('0x33')],'data':this[_0x16c4('0x1a')],'attributes':this['attributes']};}static[_0x16c4('0xd')](){return _0x204455()[_0x16c4('0x10')](0x1,0x5);}}
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);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5936=['pop','removeEmptyContainer','isObject','element','_locale','EmptyContainer','normal','softBreak','elementStart','elementEnd','push','checkChild','match','Container','_itemLabels','Object','_customCallbacks','addContainer','indexOf','previousSibling','registerElementLabel','*Split:*\x20%0','name','isEmpty','get','*Insert:*\x20%0','getItemLabel','matchingCallback','ELEMENT_SPACE','length','registerDescriptionCallback','item','remove','isInContent','set','deletion','removeContainer','_resolveDescriptionItems','REPLACE_TEXT','add','getWalker','$text','quantity','type','addObject','function','$1\x20$2','data','addEmptyContainer','text','start','insertion','_itemLabelsCallbacks','getFirstRange','label','_schema','*Remove:*\x20%0','isEqual','replace','*Merge:*\x20%0','nextSibling'];(function(_0x102d07,_0x593685){const _0x198db4=function(_0x37c329){while(--_0x37c329){_0x102d07['push'](_0x102d07['shift']());}};_0x198db4(++_0x593685);}(_0x5936,0xa7));const _0x198d=function(_0x102d07,_0x593685){_0x102d07=_0x102d07-0x0;let _0x198db4=_0x5936[_0x102d07];return _0x198db4;};import{getTranslation as _0x5a0e47}from'./utils/common-translations';import{priorities as _0x4d0ca0,insertToPriorityArray as _0x5db37b}from'ckeditor5/src/utils';export default class m{constructor(_0x13ee3f,_0x4d1ea0){this[_0x198d('0x20')]=[],this[_0x198d('0x1e')]=new Map(),this['_itemLabelsCallbacks']=[],this[_0x198d('0xa')]=_0x13ee3f,this[_0x198d('0x14')]=_0x4d1ea0;}['getDescriptions'](_0x48f65f){const _0x397e1c=[];for(let _0x4f169b=0x0;_0x4f169b<_0x48f65f[_0x198d('0x2d')];_0x4f169b++){const _0xb1b6b5=_0x48f65f[_0x4f169b];if(!_0xb1b6b5[_0x198d('0x31')])continue;let _0x3dcb2b=!0x1;for(const _0x4dd3de of this[_0x198d('0x20')]){const _0x35fe95=_0x4dd3de(_0xb1b6b5);if(_0x35fe95){'type'in _0x35fe95&&_0x397e1c[_0x198d('0x1a')](_0x35fe95),_0x3dcb2b=!0x0;break;}}if(!_0x3dcb2b){this['_addDescriptionItems'](_0x397e1c,_0xb1b6b5);const _0x51df8c=_0x48f65f[_0x4f169b+0x1];if(_0x51df8c&&!_0xb1b6b5[_0x198d('0x8')]()['end'][_0x198d('0xc')](_0x51df8c[_0x198d('0x8')]()[_0x198d('0x5')])){const _0x2c28a2=_0x397e1c[_0x397e1c['length']-0x1],_0x28f486='insertion'==_0xb1b6b5[_0x198d('0x3b')]?_0x198d('0x37'):'remove';_0x2c28a2&&_0x198d('0x4')==_0x2c28a2[_0x198d('0x3b')]&&(_0x2c28a2[_0x28f486]+='\x0a');}}}return this['_resolveDescriptionItems'](_0x397e1c);}[_0x198d('0x2e')](_0x575963){this[_0x198d('0x20')][_0x198d('0x1a')](_0x575963);}[_0x198d('0x24')](_0x57e390,_0x5e8c5d,_0x3b1ad5=_0x4d0ca0[_0x198d('0x16')]){_0x198d('0x0')==typeof _0x57e390?_0x5db37b(this[_0x198d('0x7')],{'matchingCallback':_0x57e390,'label':_0x5e8c5d,'priority':_0x3b1ad5}):this['_itemLabels'][_0x198d('0x32')](_0x57e390,_0x5e8c5d);}[_0x198d('0x2a')](_0x594aca,_0x1b6545=0x1){let _0x205047;for(const _0xc6300c of this['_itemLabelsCallbacks'])if(_0xc6300c[_0x198d('0x2b')](_0x594aca)){_0x205047=_0xc6300c[_0x198d('0x9')];break;}return _0x205047||(_0x205047=this[_0x198d('0x1e')][_0x198d('0x28')](_0x594aca[_0x198d('0x26')])),_0x205047?_0x205047(_0x1b6545):0x1!==_0x1b6545?_0x1b6545+'\x20'+_0x594aca[_0x198d('0x26')]+'s':''+_0x594aca[_0x198d('0x26')];}['_addDescriptionItems'](_0x2ce259,_0x564e02){const _0x33b228=_0x564e02[_0x198d('0x8')]()[_0x198d('0x38')](),_0x306d71='insertion'==_0x564e02[_0x198d('0x3b')]?_0x198d('0x37'):_0x198d('0x30');for(const _0x3ec2bd of _0x33b228){const _0x472611=_0x3ec2bd['item'],_0x55453e=_0x2ce259[_0x2ce259[_0x198d('0x2d')]-0x1];if(_0x472611['is']('$textProxy'))_0x55453e&&_0x55453e['type'][_0x198d('0x22')](_0x198d('0x1d'))>-0x1&&_0x2ce259[_0x198d('0x10')](),_0x55453e&&'text'==_0x55453e[_0x198d('0x3b')]?_0x55453e[_0x306d71]+=_0x472611[_0x198d('0x2')]:_0x2ce259[_0x198d('0x1a')]({'type':_0x198d('0x4'),'add':_0x198d('0x37')==_0x306d71?_0x472611['data']:'','remove':'remove'==_0x306d71?_0x472611[_0x198d('0x2')]:''});else{if(this[_0x198d('0xa')][_0x198d('0x12')](_0x472611)){const _0x2459ef=_0x472611;if(_0x55453e&&_0x55453e[_0x198d('0x3b')][_0x198d('0x22')](_0x198d('0x1d'))>-0x1&&_0x2ce259[_0x198d('0x10')](),_0x198d('0x19')==_0x3ec2bd['type'])continue;_0x55453e&&_0x55453e[_0x198d('0x3b')]==_0x306d71+_0x198d('0x1f')&&_0x55453e[_0x198d('0x13')]['name']==_0x2459ef[_0x198d('0x26')]?_0x55453e[_0x198d('0x3a')]++:_0x2ce259[_0x198d('0x1a')]({'type':_0x306d71+_0x198d('0x1f'),'element':_0x2459ef,'quantity':0x1}),_0x33b228['skip'](_0xd560a4=>!(_0x198d('0x19')==_0xd560a4[_0x198d('0x3b')]&&_0xd560a4[_0x198d('0x2f')]==_0x472611));}else{if(this[_0x198d('0xa')][_0x198d('0x1b')](_0x472611,_0x198d('0x39'))||_0x472611['is']('element',_0x198d('0x17'))){const _0x4b9cc8=_0x472611;if(_0x198d('0x37')==_0x306d71&&_0x198d('0x18')==_0x3ec2bd[_0x198d('0x3b')]||'remove'==_0x306d71&&_0x198d('0x19')==_0x3ec2bd[_0x198d('0x3b')])continue;if(_0x55453e&&-0x1==_0x55453e['type'][_0x198d('0x22')](_0x198d('0x1d'))){_0x198d('0x4')==_0x55453e['type']&&(_0x55453e[_0x306d71]+='\x0a');continue;}let _0x11dfd5;if(_0x11dfd5=_0x198d('0x37')==_0x306d71?_0x4b9cc8[_0x198d('0xf')]&&!this[_0x198d('0xa')][_0x198d('0x12')](_0x4b9cc8['nextSibling'])?_0x4b9cc8[_0x198d('0xf')]:null:_0x4b9cc8[_0x198d('0x23')]&&!this[_0x198d('0xa')][_0x198d('0x12')](_0x4b9cc8[_0x198d('0x23')])?_0x4b9cc8[_0x198d('0x23')]:null,_0x4b9cc8['isEmpty']||_0x11dfd5&&_0x11dfd5['isEmpty']){const _0x56553b=_0x11dfd5&&_0x11dfd5[_0x198d('0x27')]?_0x11dfd5:_0x4b9cc8;_0x55453e&&_0x55453e[_0x198d('0x3b')]==_0x306d71+_0x198d('0x15')&&_0x55453e['element']['name']==_0x56553b['name']?_0x55453e['quantity']++:_0x2ce259['push']({'type':_0x306d71+_0x198d('0x15'),'element':_0x56553b,'quantity':0x1});}else _0x2ce259[_0x198d('0x1a')]({'type':_0x306d71+_0x198d('0x1d'),'element':_0x4b9cc8});}}}}}[_0x198d('0x35')](_0xe91653){const _0x3d5cba=this[_0x198d('0x14')],_0x4a719e=[];for(const _0x256021 of _0xe91653){switch(_0x256021['type']){case _0x198d('0x4'):if(_0x256021[_0x198d('0x37')]=_0x256021[_0x198d('0x37')]['replace'](/(\S)\u000A+(\S)/g,'$1\x20$2')['replace'](/\u000A/g,''),_0x256021['remove']=_0x256021['remove'][_0x198d('0xd')](/(\S)\u000A+(\S)/g,_0x198d('0x1'))['replace'](/\u000A/g,''),''!=_0x256021[_0x198d('0x37')]&&''!=_0x256021['remove']){_0x4a719e['push']({'type':_0x198d('0xd'),'content':_0x5a0e47(_0x3d5cba,_0x198d('0x36'),['\x22'+_0x256021['remove']+'\x22','\x22'+_0x256021[_0x198d('0x37')]+'\x22'])});continue;}if(null!=_0x256021[_0x198d('0x37')][_0x198d('0x1c')](/^ +$/)){_0x4a719e[_0x198d('0x1a')]({'type':_0x198d('0x6'),'content':_0x5a0e47(_0x3d5cba,_0x198d('0x29'),_0x5a0e47(_0x3d5cba,_0x198d('0x2c'),_0x256021[_0x198d('0x37')][_0x198d('0x2d')]))});continue;}if(null!=_0x256021[_0x198d('0x30')][_0x198d('0x1c')](/^ +$/)){_0x4a719e[_0x198d('0x1a')]({'type':_0x198d('0x33'),'content':_0x5a0e47(_0x3d5cba,_0x198d('0xb'),_0x5a0e47(_0x3d5cba,_0x198d('0x2c'),_0x256021[_0x198d('0x30')]['length']))});continue;}if(''!=_0x256021[_0x198d('0x37')]){_0x4a719e['push']({'type':'insertion','content':_0x5a0e47(_0x3d5cba,_0x198d('0x29'),'\x22'+_0x256021[_0x198d('0x37')]+'\x22')});continue;}_0x4a719e[_0x198d('0x1a')]({'type':'deletion','content':_0x5a0e47(_0x3d5cba,_0x198d('0xb'),'\x22'+_0x256021[_0x198d('0x30')]+'\x22')});continue;case _0x198d('0x3'):case _0x198d('0x3c'):_0x4a719e[_0x198d('0x1a')]({'type':_0x198d('0x6'),'content':_0x5a0e47(_0x3d5cba,'*Insert:*\x20%0',this['getItemLabel'](_0x256021[_0x198d('0x13')],_0x256021[_0x198d('0x3a')]))});continue;case _0x198d('0x11'):case'removeObject':_0x4a719e[_0x198d('0x1a')]({'type':_0x198d('0x33'),'content':_0x5a0e47(_0x3d5cba,_0x198d('0xb'),this['getItemLabel'](_0x256021[_0x198d('0x13')],_0x256021[_0x198d('0x3a')]))});continue;case _0x198d('0x21'):_0x4a719e[_0x198d('0x1a')]({'type':_0x198d('0x6'),'content':_0x5a0e47(_0x3d5cba,_0x198d('0x25'),this[_0x198d('0x2a')](_0x256021[_0x198d('0x13')],_0x256021[_0x198d('0x3a')]))});continue;case _0x198d('0x34'):_0x4a719e[_0x198d('0x1a')]({'type':'deletion','content':_0x5a0e47(_0x3d5cba,_0x198d('0xe'),this[_0x198d('0x2a')](_0x256021['element'],_0x256021[_0x198d('0x3a')]))});continue;}_0x4a719e[_0x198d('0x1a')](_0x256021);}return _0x4a719e;}}
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;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x3d70=['pluginName','getSuggestion','addSuggestion','editor','adapter','TrackChanges','get','plugins','Comments','addSuggestionData','requires'];(function(_0x4278c4,_0x3d70f7){var _0x226942=function(_0x15985b){while(--_0x15985b){_0x4278c4['push'](_0x4278c4['shift']());}};_0x226942(++_0x3d70f7);}(_0x3d70,0x17b));var _0x2269=function(_0x4278c4,_0x3d70f7){_0x4278c4=_0x4278c4-0x0;var _0x226942=_0x3d70[_0x4278c4];return _0x226942;};import{Plugin as _0x45552e}from'ckeditor5/src/core';import _0x86a944 from'./trackchangesui';import _0x39caf3 from'./trackchangesediting';import'ckeditor5-collaboration/src/collaboration-core';export default class k extends _0x45552e{static get[_0x2269('0x5')](){return[_0x39caf3,_0x86a944,_0x2269('0x3')];}static get[_0x2269('0x6')](){return _0x2269('0x0');}set[_0x2269('0xa')](_0xe744f7){this[_0x2269('0x9')]['plugins'][_0x2269('0x1')](_0x39caf3)[_0x2269('0xa')]=_0xe744f7;}get[_0x2269('0xa')](){return this[_0x2269('0x9')][_0x2269('0x2')]['get'](_0x39caf3)['adapter'];}[_0x2269('0x8')](_0x2e2b21){return this[_0x2269('0x9')][_0x2269('0x2')][_0x2269('0x1')](_0x39caf3)[_0x2269('0x4')](_0x2e2b21);}['getSuggestions']({skipNotAttached:_0x1406d0=!0x1,toJSON:_0x4a1677=!0x1}={}){return this[_0x2269('0x9')][_0x2269('0x2')]['get'](_0x39caf3)['getSuggestions']({'skipNotAttached':_0x1406d0,'toJSON':_0x4a1677});}[_0x2269('0x7')](_0x20eeb6){return this[_0x2269('0x9')][_0x2269('0x2')][_0x2269('0x1')](_0x39caf3)['getSuggestion'](_0x20eeb6);}}
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);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4864=['getRootsAttributes','config','map','TrackChangesDataGetter','Users','init','destroy','CommentsRepository','getRootNames','constructor','document','get','discardAllSuggestions','addUser','function','data','useAnonymousUser','requires','model','getDataWithDiscardedSuggestions','editor','reduce','div','acceptAllSuggestions','Pagination','trackChangesData','getUser','name','addSuggestionData','createDocumentFragment','_adapter','TrackChangesEditing','pluginName','getFullData','define','push','set','TrackChangesData','plugins','rootsAttributes','result','editorCreator','trackChangesData.editorCreator','track-changes-data-invalid-editor-creator','getSuggestions'];(function(_0x525d6b,_0x48642c){const _0x4733a2=function(_0x48c802){while(--_0x48c802){_0x525d6b['push'](_0x525d6b['shift']());}};_0x4733a2(++_0x48642c);}(_0x4864,0x1be));const _0x4733=function(_0x525d6b,_0x48642c){_0x525d6b=_0x525d6b-0x0;let _0x4733a2=_0x4864[_0x525d6b];return _0x4733a2;};import{Plugin as _0x3ffd08}from'ckeditor5/src/core';import{CKEditorError as _0x59ef41}from'ckeditor5/src/utils';import _0x1cc100 from'./trackchangesediting';import{sanitizeEditorConfig as _0x44af51}from'ckeditor5-collaboration/src/collaboration-core';const w=[_0x4733('0x1c')];export default class T extends _0x3ffd08{static get[_0x4733('0x15')](){return[_0x1cc100];}static get['pluginName'](){return _0x4733('0x29');}[_0x4733('0x9')](){const _0x276aad=this[_0x4733('0x18')];if(_0x276aad[_0x4733('0x5')][_0x4733('0x26')](_0x4733('0x1'),_0x2dcf03=>{const _0x5dc2d3=_0x276aad['model'][_0x4733('0xe')][_0x4733('0xc')]()[_0x4733('0x19')]((_0x1c2fc3,_0x298f52)=>(_0x1c2fc3[_0x298f52]='',_0x1c2fc3),{});return _0x276aad[_0x4733('0xd')]['create'](_0x5dc2d3,_0x2dcf03);}),_0x4733('0x12')!=typeof _0x276aad[_0x4733('0x5')][_0x4733('0xf')](_0x4733('0x1d'))['editorCreator'])throw new _0x59ef41(_0x4733('0x2'));}['getDataWithAcceptedSuggestions'](_0x19bd73){return v(this[_0x4733('0x18')],!0x0,_0x19bd73);}[_0x4733('0x17')](_0x1231a6){return v(this[_0x4733('0x18')],!0x1,_0x1231a6);}}class P extends _0x3ffd08{static get[_0x4733('0x24')](){return _0x4733('0x7');}constructor(_0x2e9a6c){super(_0x2e9a6c),this[_0x4733('0x2c')]='end';}[_0x4733('0x9')](){this[_0x4733('0x18')][_0x4733('0x2a')]['get'](_0x4733('0xb'))[_0x4733('0x22')]={'addCommentThread':()=>new Promise(()=>{}),'getCommentThread':()=>new Promise(()=>{}),'updateCommentThread':()=>new Promise(()=>{}),'resolveCommentThread':()=>new Promise(()=>{}),'reopenCommentThread':()=>new Promise(()=>{}),'removeCommentThread':()=>new Promise(()=>{}),'addComment':()=>new Promise(()=>{}),'updateComment':()=>new Promise(()=>{}),'removeComment':()=>new Promise(()=>{})},this['editor'][_0x4733('0x2a')][_0x4733('0xf')](_0x4733('0x23'))[_0x4733('0x22')]=null;}}function D(_0x1c96c8){return void 0x0!==_0x1c96c8[_0x4733('0x4')];}async function v(_0x3963e1,_0x556982,_0x280d10){const _0xcdd99c=_0x44af51(_0x3963e1,w);_0xcdd99c[_0x4733('0x2a')][_0x4733('0x27')](_0x1cc100,P),_0xcdd99c[_0x4733('0x2b')]=D(_0x3963e1)?_0x3963e1[_0x4733('0x4')]():void 0x0;const _0x5d019d=document[_0x4733('0x21')](),_0x45e6f8=_0x3963e1[_0x4733('0x5')][_0x4733('0xf')](_0x4733('0x1d'))[_0x4733('0x0')],_0x22e082=await _0x45e6f8(_0xcdd99c,()=>function(_0x20c882){const _0x55ed77=document['createElement'](_0x4733('0x1a'));return _0x20c882['appendChild'](_0x55ed77),_0x55ed77;}(_0x5d019d));!function(_0x5d2e3e,_0x5ba136){const _0x4263e3=_0x5d2e3e[_0x4733('0x16')][_0x4733('0xe')][_0x4733('0xc')]()[_0x4733('0x19')]((_0x5d1495,_0x36d7a6)=>(_0x5d1495[_0x36d7a6]=_0x5d2e3e['data'][_0x4733('0xf')]({'rootName':_0x36d7a6}),_0x5d1495),{}),_0x4ca8b1=_0x5d2e3e[_0x4733('0x2a')]['get'](_0x4733('0x8'))['users'][_0x4733('0x6')](_0x362a85=>({'id':_0x362a85['id'],'name':_0x362a85[_0x4733('0x1f')]})),_0x52ddd8=_0x5d2e3e[_0x4733('0x2a')][_0x4733('0xf')](_0x4733('0x23'))[_0x4733('0x3')]({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x204b36=_0x5ba136[_0x4733('0x2a')][_0x4733('0xf')](_0x4733('0x8')),_0x3d5b35=_0x5ba136[_0x4733('0x2a')]['get']('TrackChangesEditing');for(const _0x23e03f of _0x4ca8b1)_0x204b36[_0x4733('0x1e')](_0x23e03f['id'])||_0x204b36[_0x4733('0x11')](_0x23e03f);_0x204b36['me']||_0x204b36[_0x4733('0x14')]();for(const _0x3e1ed3 of _0x52ddd8)_0x3d5b35[_0x4733('0x20')](_0x3e1ed3);_0x5ba136[_0x4733('0x13')][_0x4733('0x28')](_0x4263e3);}(_0x3963e1,_0x22e082),_0x22e082['execute'](_0x556982?_0x4733('0x1b'):_0x4733('0x10'));const _0x1ff786=D(_0x22e082)?_0x22e082[_0x4733('0x25')](_0x280d10):_0x22e082[_0x4733('0x13')][_0x4733('0xf')](_0x280d10);return await _0x22e082[_0x4733('0xa')](),_0x1ff786;}
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;}