@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20231018.0 → 0.0.0-nightly-20231020.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 (65) 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/aiassistant.js +1 -1
  9. package/src/integrations/alignment.js +1 -1
  10. package/src/integrations/basicstyles.js +1 -1
  11. package/src/integrations/blockquote.js +1 -1
  12. package/src/integrations/ckbox.js +1 -1
  13. package/src/integrations/codeblock.js +1 -1
  14. package/src/integrations/comments.js +1 -1
  15. package/src/integrations/deletecommand.js +1 -1
  16. package/src/integrations/documentlist.js +1 -1
  17. package/src/integrations/documentlistproperties.js +1 -1
  18. package/src/integrations/entercommand.js +1 -1
  19. package/src/integrations/findandreplace.js +1 -1
  20. package/src/integrations/font.js +1 -1
  21. package/src/integrations/formatpainter.js +1 -1
  22. package/src/integrations/heading.js +1 -1
  23. package/src/integrations/highlight.js +1 -1
  24. package/src/integrations/horizontalline.js +1 -1
  25. package/src/integrations/htmlembed.js +1 -1
  26. package/src/integrations/image.js +1 -1
  27. package/src/integrations/imagereplace.js +1 -1
  28. package/src/integrations/importword.js +1 -1
  29. package/src/integrations/indent.js +1 -1
  30. package/src/integrations/inputcommand.js +1 -1
  31. package/src/integrations/link.js +1 -1
  32. package/src/integrations/list.js +1 -1
  33. package/src/integrations/listproperties.js +1 -1
  34. package/src/integrations/mediaembed.js +1 -1
  35. package/src/integrations/mention.js +1 -1
  36. package/src/integrations/pagebreak.js +1 -1
  37. package/src/integrations/paragraph.js +1 -1
  38. package/src/integrations/removeformat.js +1 -1
  39. package/src/integrations/restrictededitingmode.js +1 -1
  40. package/src/integrations/shiftentercommand.js +1 -1
  41. package/src/integrations/standardeditingmode.js +1 -1
  42. package/src/integrations/style.js +1 -1
  43. package/src/integrations/table.js +1 -1
  44. package/src/integrations/tablecaption.js +1 -1
  45. package/src/integrations/tableclipboard.js +1 -1
  46. package/src/integrations/tablecolumnresize.js +1 -1
  47. package/src/integrations/tableheadings.js +1 -1
  48. package/src/integrations/tablemergesplit.js +1 -1
  49. package/src/integrations/tableofcontents.js +1 -1
  50. package/src/integrations/tableproperties.js +1 -1
  51. package/src/integrations/template.js +1 -1
  52. package/src/integrations/title.js +1 -1
  53. package/src/integrations/undo.js +1 -1
  54. package/src/integrations/utils.js +1 -1
  55. package/src/suggestion.js +1 -1
  56. package/src/suggestiondescriptionfactory.js +1 -1
  57. package/src/trackchanges.js +1 -1
  58. package/src/trackchangesdata.js +1 -1
  59. package/src/trackchangesediting.js +1 -1
  60. package/src/trackchangesui.js +1 -1
  61. package/src/ui/suggestioncontroller.js +1 -1
  62. package/src/ui/view/basesuggestionthreadview.js +1 -1
  63. package/src/ui/view/suggestionthreadview.js +1 -1
  64. package/src/utils/common-translations.js +1 -1
  65. package/src/utils/utils.js +1 -1
package/src/suggestion.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3163=['createdAt','start','set','previous','isIntersectingWithRange','getAllAdjacentSuggestions','addRange','setAttribute','_onAttributesChange','end','isMultiRange','attributes','filter','decorate','removeMarkers','toJSON','clear','_markerNames','creator','subType','_model','getItems','suggestion:','length','getContainedElement','onAttributesChange','change','getRanges','removeMarker','add','_onDiscard','push','_isDataLoaded','addMarkerName','getMarkers','onDiscard','get','isInContent','getFirstMarker','type','_onAccept','reduce','@external','getMultiRangeId','isIntersecting','markers','author','_saved','addMarker','onAccept','delete','getMarkerNames','authoredAt','data','hasComments','split','commentThread','from','size','getFirstRange','next','discard'];(function(_0x2c046e,_0x31636a){const _0x55744c=function(_0x5aa94a){while(--_0x5aa94a){_0x2c046e['push'](_0x2c046e['shift']());}};_0x55744c(++_0x31636a);}(_0x3163,0x11d));const _0x5574=function(_0x2c046e,_0x31636a){_0x2c046e=_0x2c046e-0x0;let _0x55744c=_0x3163[_0x2c046e];return _0x55744c;};import{Element as _0x5e9591}from'ckeditor5/src/engine';import{ObservableMixin as _0x1c72b2,uid as _0x39d37d}from'ckeditor5/src/utils';import{cloneDeep as _0x6a5b0a,isEqual as _0x2fd35d,set as _0x1d890b,unset as _0x4b237b}from'lodash-es';export default class u extends _0x1c72b2(){constructor(_0x24c4f0,_0x18e30b){super(),this[_0x5574('0x39')]=!0x1,this['id']=_0x18e30b['id'],this['type']=_0x18e30b[_0x5574('0x2')],this[_0x5574('0x2c')]=_0x18e30b[_0x5574('0x2c')]||null,this[_0x5574('0x9')]=_0x18e30b[_0x5574('0x9')],this['creator']=_0x18e30b['creator']||_0x18e30b[_0x5574('0x9')],this['isExternal']=Boolean(_0x18e30b[_0x5574('0x24')]&&_0x18e30b['attributes'][_0x5574('0x5')]),this[_0x5574('0x10')]=null,this[_0x5574('0x2d')]=_0x24c4f0,this[_0x5574('0x3')]=_0x18e30b[_0x5574('0xc')],this['_onDiscard']=_0x18e30b[_0x5574('0x3c')],this[_0x5574('0x21')]=_0x18e30b[_0x5574('0x32')],this[_0x5574('0x2a')]=new Set(),this[_0x5574('0x19')]=null,this['set'](_0x5574('0xf'),null),this[_0x5574('0x1b')]('attributes',_0x18e30b['attributes']||{}),this[_0x5574('0x1b')]('previous',null),this[_0x5574('0x1b')]('next',null),this['set'](_0x5574('0x13'),null),this[_0x5574('0x1b')](_0x5574('0xa'),!0x1),this[_0x5574('0x26')]('accept'),this[_0x5574('0x26')](_0x5574('0x18'));}get['head'](){let _0x2b70a6=this;for(;_0x2b70a6[_0x5574('0x1c')];)_0x2b70a6=_0x2b70a6[_0x5574('0x1c')];return _0x2b70a6;}get['hasComments'](){return!!this[_0x5574('0x13')]&&this['commentThread'][_0x5574('0x30')]>0x0;}get[_0x5574('0x23')](){if(0x0==this['_markerNames'][_0x5574('0x15')])return!0x1;return 0x6==Array[_0x5574('0x14')](this[_0x5574('0x2a')])[0x0][_0x5574('0x12')](':')[_0x5574('0x30')];}get[_0x5574('0x0')](){return null!==this[_0x5574('0x1')]();}[_0x5574('0x3a')](_0x1ab223){this[_0x5574('0x2a')][_0x5574('0x36')](_0x1ab223);}[_0x5574('0xe')](){return Array[_0x5574('0x14')](this['_markerNames']);}[_0x5574('0x3b')](){return this[_0x5574('0xe')]()['map'](_0x2b1531=>this[_0x5574('0x2d')][_0x5574('0x8')][_0x5574('0x3d')](_0x2b1531))[_0x5574('0x25')](_0x219b61=>_0x219b61);}[_0x5574('0x1')](){return this[_0x5574('0x3b')]()[0x0]||null;}[_0x5574('0x27')](){this[_0x5574('0x2d')][_0x5574('0x33')](_0x146900=>{for(const _0xed87f8 of this['getMarkers']())_0x146900[_0x5574('0x35')](_0xed87f8);}),this[_0x5574('0x2a')][_0x5574('0x29')]();}[_0x5574('0x35')](_0x1f5524){this[_0x5574('0x2d')]['change'](_0x1d245b=>{_0x1d245b['removeMarker'](_0x1f5524);}),this['_markerNames'][_0x5574('0xd')](_0x1f5524);}[_0x5574('0x1f')](_0x46bad1){const _0x821cb=_0x5574('0x2f')+this[_0x5574('0x2')]+':'+this[_0x5574('0x2c')]+':'+this['id']+':'+this[_0x5574('0x2b')]['id']+':'+u[_0x5574('0x6')]();this[_0x5574('0x3a')](_0x821cb),this[_0x5574('0x2d')][_0x5574('0x33')](_0x374432=>{_0x374432[_0x5574('0xb')](_0x821cb,{'range':_0x46bad1,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x5574('0x1d')](_0x1ce822){for(const _0x3ac9df of this[_0x5574('0x34')]())if(_0x3ac9df[_0x5574('0x7')](_0x1ce822))return!0x0;return!0x1;}['getRanges'](){return this[_0x5574('0x3b')]()['map'](_0x57fe6c=>_0x57fe6c['getRange']());}[_0x5574('0x2e')](){return this[_0x5574('0x34')]()[_0x5574('0x4')]((_0xcd8171,_0x308b93)=>[..._0xcd8171,..._0x308b93['getItems']()],[]);}[_0x5574('0x16')](){var _0xd6c23f;return(null===(_0xd6c23f=this['getFirstMarker']())||void 0x0===_0xd6c23f?void 0x0:_0xd6c23f['getRange']())||null;}[_0x5574('0x31')](){const _0x8e61a3=this[_0x5574('0x34')]();if(0x1!=_0x8e61a3[_0x5574('0x30')])return null;const _0x5cdcaa=_0x8e61a3[0x0],_0x5c3922=_0x5cdcaa[_0x5574('0x1a')]['nodeAfter'],_0x3d9880=_0x5cdcaa[_0x5574('0x22')]['nodeBefore'];return _0x5c3922 instanceof _0x5e9591?_0x5c3922!=_0x3d9880?null:_0x5c3922:null;}['accept'](){this['_onAccept'](this[_0x5574('0x34')](),this[_0x5574('0x10')],this[_0x5574('0x24')]),this[_0x5574('0x27')]();}[_0x5574('0x18')](){this[_0x5574('0x37')](this[_0x5574('0x34')](),this['data'],this['attributes']),this[_0x5574('0x27')]();}[_0x5574('0x1e')](){const _0x58928d=[];let _0x58f3f6=this['head'];for(;_0x58f3f6;)_0x58928d[_0x5574('0x38')](_0x58f3f6),_0x58f3f6=_0x58f3f6[_0x5574('0x17')];return _0x58928d;}[_0x5574('0x20')](_0x1518d3,_0x442c0a){const _0x43ff4c=_0x6a5b0a(this[_0x5574('0x24')]);_0x1d890b(_0x43ff4c,_0x1518d3,_0x442c0a),_0x2fd35d(_0x43ff4c,this[_0x5574('0x24')])||(this[_0x5574('0x24')]=_0x43ff4c,this['_onAttributesChange'](_0x43ff4c));}['removeAttribute'](_0x5e5a92){const _0x260f0c=_0x6a5b0a(this[_0x5574('0x24')]);_0x4b237b(_0x260f0c,_0x5e5a92),_0x2fd35d(_0x260f0c,this['attributes'])||(this[_0x5574('0x24')]=_0x260f0c,this[_0x5574('0x21')](this['attributes']));}[_0x5574('0x28')](){return{'id':this['id'],'type':this[_0x5574('0x2c')]?this[_0x5574('0x2')]+':'+this['subType']:this[_0x5574('0x2')],'authorId':this['creator']['id'],'createdAt':this[_0x5574('0x19')],'hasComments':this[_0x5574('0x11')],'data':this[_0x5574('0x10')],'attributes':this[_0x5574('0x24')]};}static[_0x5574('0x6')](){return _0x39d37d()['substr'](0x1,0x5);}}
23
+ const _0x55ef=['getAllAdjacentSuggestions','isIntersecting','discard','hasComments','_onAccept','_onDiscard','attributes','getFirstMarker','add','delete','isExternal','from','removeMarkers','_model','nodeBefore','filter','change','setAttribute','addRange','type','previous','getRange','next','set','_saved','map','createdAt','accept','onAccept','_onAttributesChange','split','addMarkerName','getFirstRange','getMarkerNames','start','reduce','addMarker','head','getMultiRangeId','isInContent','markers','get','getRanges','suggestion:','subType','onAttributesChange','_markerNames','decorate','data','substr','size','toJSON','push','getMarkers','authoredAt','creator','length','getContainedElement','onDiscard','commentThread','removeMarker','_isDataLoaded','getItems','author','end'];(function(_0x165394,_0x55ef79){const _0x4c8ec9=function(_0x3446de){while(--_0x3446de){_0x165394['push'](_0x165394['shift']());}};_0x4c8ec9(++_0x55ef79);}(_0x55ef,0xc1));const _0x4c8e=function(_0x165394,_0x55ef79){_0x165394=_0x165394-0x0;let _0x4c8ec9=_0x55ef[_0x165394];return _0x4c8ec9;};import{Element as _0xed7cdb}from'ckeditor5/src/engine';import{ObservableMixin as _0x4c2cd8,uid as _0x5cc12a}from'ckeditor5/src/utils';import{cloneDeep as _0x569873,isEqual as _0x158a65,set as _0x4704a1,unset as _0x20e1d0}from'lodash-es';export default class u extends _0x4c2cd8(){constructor(_0xb595f2,_0x43e1b8){super(),this[_0x4c8e('0x3f')]=!0x1,this['id']=_0x43e1b8['id'],this[_0x4c8e('0x15')]=_0x43e1b8[_0x4c8e('0x15')],this[_0x4c8e('0x2e')]=_0x43e1b8[_0x4c8e('0x2e')]||null,this[_0x4c8e('0x0')]=_0x43e1b8[_0x4c8e('0x0')],this[_0x4c8e('0x39')]=_0x43e1b8[_0x4c8e('0x39')]||_0x43e1b8[_0x4c8e('0x0')],this[_0x4c8e('0xc')]=Boolean(_0x43e1b8[_0x4c8e('0x8')]&&_0x43e1b8[_0x4c8e('0x8')]['@external']),this[_0x4c8e('0x32')]=null,this[_0x4c8e('0xf')]=_0xb595f2,this[_0x4c8e('0x6')]=_0x43e1b8[_0x4c8e('0x1e')],this[_0x4c8e('0x7')]=_0x43e1b8[_0x4c8e('0x3c')],this['_onAttributesChange']=_0x43e1b8[_0x4c8e('0x2f')],this[_0x4c8e('0x30')]=new Set(),this[_0x4c8e('0x1c')]=null,this[_0x4c8e('0x19')](_0x4c8e('0x38'),null),this[_0x4c8e('0x19')]('attributes',_0x43e1b8[_0x4c8e('0x8')]||{}),this[_0x4c8e('0x19')](_0x4c8e('0x16'),null),this[_0x4c8e('0x19')](_0x4c8e('0x18'),null),this['set'](_0x4c8e('0x3d'),null),this[_0x4c8e('0x19')](_0x4c8e('0x1a'),!0x1),this[_0x4c8e('0x31')](_0x4c8e('0x1d')),this[_0x4c8e('0x31')](_0x4c8e('0x4'));}get[_0x4c8e('0x27')](){let _0x270c2a=this;for(;_0x270c2a[_0x4c8e('0x16')];)_0x270c2a=_0x270c2a['previous'];return _0x270c2a;}get[_0x4c8e('0x5')](){return!!this[_0x4c8e('0x3d')]&&this[_0x4c8e('0x3d')][_0x4c8e('0x3a')]>0x0;}get['isMultiRange'](){if(0x0==this[_0x4c8e('0x30')][_0x4c8e('0x34')])return!0x1;return 0x6==Array[_0x4c8e('0xd')](this['_markerNames'])[0x0][_0x4c8e('0x20')](':')[_0x4c8e('0x3a')];}get[_0x4c8e('0x29')](){return null!==this[_0x4c8e('0x9')]();}[_0x4c8e('0x21')](_0x187109){this[_0x4c8e('0x30')][_0x4c8e('0xa')](_0x187109);}[_0x4c8e('0x23')](){return Array[_0x4c8e('0xd')](this[_0x4c8e('0x30')]);}[_0x4c8e('0x37')](){return this['getMarkerNames']()['map'](_0x364ed9=>this[_0x4c8e('0xf')][_0x4c8e('0x2a')][_0x4c8e('0x2b')](_0x364ed9))[_0x4c8e('0x11')](_0x2f2f5d=>_0x2f2f5d);}[_0x4c8e('0x9')](){return this[_0x4c8e('0x37')]()[0x0]||null;}[_0x4c8e('0xe')](){this['_model'][_0x4c8e('0x12')](_0x59904e=>{for(const _0x5c48ee of this[_0x4c8e('0x37')]())_0x59904e['removeMarker'](_0x5c48ee);}),this[_0x4c8e('0x30')]['clear']();}['removeMarker'](_0x2646bd){this[_0x4c8e('0xf')][_0x4c8e('0x12')](_0x442e27=>{_0x442e27[_0x4c8e('0x3e')](_0x2646bd);}),this[_0x4c8e('0x30')][_0x4c8e('0xb')](_0x2646bd);}[_0x4c8e('0x14')](_0x5ce1f4){const _0x51464e=_0x4c8e('0x2d')+this[_0x4c8e('0x15')]+':'+this[_0x4c8e('0x2e')]+':'+this['id']+':'+this['creator']['id']+':'+u[_0x4c8e('0x28')]();this[_0x4c8e('0x21')](_0x51464e),this[_0x4c8e('0xf')]['change'](_0x3345d7=>{_0x3345d7[_0x4c8e('0x26')](_0x51464e,{'range':_0x5ce1f4,'usingOperation':!0x0,'affectsData':!0x0});});}['isIntersectingWithRange'](_0x26870f){for(const _0x267d9c of this[_0x4c8e('0x2c')]())if(_0x267d9c[_0x4c8e('0x3')](_0x26870f))return!0x0;return!0x1;}[_0x4c8e('0x2c')](){return this['getMarkers']()[_0x4c8e('0x1b')](_0x42ff9a=>_0x42ff9a['getRange']());}['getItems'](){return this['getRanges']()[_0x4c8e('0x25')]((_0x1fa4b7,_0x2b1c2f)=>[..._0x1fa4b7,..._0x2b1c2f[_0x4c8e('0x40')]()],[]);}[_0x4c8e('0x22')](){var _0x390821;return(null===(_0x390821=this['getFirstMarker']())||void 0x0===_0x390821?void 0x0:_0x390821[_0x4c8e('0x17')]())||null;}[_0x4c8e('0x3b')](){const _0x4d2a1f=this[_0x4c8e('0x2c')]();if(0x1!=_0x4d2a1f[_0x4c8e('0x3a')])return null;const _0xd562a=_0x4d2a1f[0x0],_0x3d05b2=_0xd562a[_0x4c8e('0x24')]['nodeAfter'],_0x375484=_0xd562a[_0x4c8e('0x1')][_0x4c8e('0x10')];return _0x3d05b2 instanceof _0xed7cdb?_0x3d05b2!=_0x375484?null:_0x3d05b2:null;}[_0x4c8e('0x1d')](){this[_0x4c8e('0x6')](this[_0x4c8e('0x2c')](),this[_0x4c8e('0x32')],this[_0x4c8e('0x8')]),this[_0x4c8e('0xe')]();}[_0x4c8e('0x4')](){this['_onDiscard'](this[_0x4c8e('0x2c')](),this[_0x4c8e('0x32')],this[_0x4c8e('0x8')]),this[_0x4c8e('0xe')]();}[_0x4c8e('0x2')](){const _0x3dac53=[];let _0x4c554f=this['head'];for(;_0x4c554f;)_0x3dac53[_0x4c8e('0x36')](_0x4c554f),_0x4c554f=_0x4c554f[_0x4c8e('0x18')];return _0x3dac53;}[_0x4c8e('0x13')](_0x390ccb,_0x4a3f9a){const _0x55110d=_0x569873(this[_0x4c8e('0x8')]);_0x4704a1(_0x55110d,_0x390ccb,_0x4a3f9a),_0x158a65(_0x55110d,this[_0x4c8e('0x8')])||(this[_0x4c8e('0x8')]=_0x55110d,this[_0x4c8e('0x1f')](_0x55110d));}['removeAttribute'](_0x4e5698){const _0x42af35=_0x569873(this[_0x4c8e('0x8')]);_0x20e1d0(_0x42af35,_0x4e5698),_0x158a65(_0x42af35,this[_0x4c8e('0x8')])||(this['attributes']=_0x42af35,this['_onAttributesChange'](this[_0x4c8e('0x8')]));}[_0x4c8e('0x35')](){return{'id':this['id'],'type':this[_0x4c8e('0x2e')]?this[_0x4c8e('0x15')]+':'+this['subType']:this[_0x4c8e('0x15')],'authorId':this[_0x4c8e('0x39')]['id'],'createdAt':this[_0x4c8e('0x1c')],'hasComments':this['hasComments'],'data':this[_0x4c8e('0x32')],'attributes':this[_0x4c8e('0x8')]};}static[_0x4c8e('0x28')](){return _0x5cc12a()[_0x4c8e('0x33')](0x1,0x5);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3409=['get','type','_itemLabelsCallbacks','$text','matchingCallback','registerDescriptionCallback','*Split:*\x20%0','name','insertion','*Merge:*\x20%0','elementEnd','_locale','isEmpty','getItemLabel','_itemLabels','getWalker','previousSibling','replace','element','getFirstRange','indexOf','checkChild','length','end','$textProxy','removeObject','removeEmptyContainer','text','match','Object','_customCallbacks','isInContent','data','$1\x20$2','addEmptyContainer','Container','_schema','_addDescriptionItems','nextSibling','addContainer','isObject','push','ELEMENT_SPACE','softBreak','REPLACE_TEXT','set','*Remove:*\x20%0','start','function','EmptyContainer','add','normal','addObject','item','registerElementLabel','deletion','pop','*Insert:*\x20%0','getDescriptions','remove','quantity'];(function(_0x2d66e6,_0x340967){const _0x26fc45=function(_0x12e9a7){while(--_0x12e9a7){_0x2d66e6['push'](_0x2d66e6['shift']());}};_0x26fc45(++_0x340967);}(_0x3409,0x6f));const _0x26fc=function(_0x2d66e6,_0x340967){_0x2d66e6=_0x2d66e6-0x0;let _0x26fc45=_0x3409[_0x2d66e6];return _0x26fc45;};import{getTranslation as _0x1de774}from'./utils/common-translations';import{priorities as _0x5eeebf,insertToPriorityArray as _0x3f7238}from'ckeditor5/src/utils';export default class m{constructor(_0x133053,_0x15cfb3){this['_customCallbacks']=[],this[_0x26fc('0x19')]=new Map(),this['_itemLabelsCallbacks']=[],this[_0x26fc('0x2f')]=_0x133053,this[_0x26fc('0x16')]=_0x15cfb3;}[_0x26fc('0x8')](_0x5d5924){const _0x30f8be=[];for(let _0x353801=0x0;_0x353801<_0x5d5924['length'];_0x353801++){const _0x113d0c=_0x5d5924[_0x353801];if(!_0x113d0c[_0x26fc('0x2a')])continue;let _0x1349d7=!0x1;for(const _0x5baf13 of this[_0x26fc('0x29')]){const _0x31aacf=_0x5baf13(_0x113d0c);if(_0x31aacf){'type'in _0x31aacf&&_0x30f8be[_0x26fc('0x34')](_0x31aacf),_0x1349d7=!0x0;break;}}if(!_0x1349d7){this[_0x26fc('0x30')](_0x30f8be,_0x113d0c);const _0x3d4b43=_0x5d5924[_0x353801+0x1];if(_0x3d4b43&&!_0x113d0c['getFirstRange']()[_0x26fc('0x22')]['isEqual'](_0x3d4b43[_0x26fc('0x1e')]()[_0x26fc('0x3a')])){const _0x49faf5=_0x30f8be[_0x30f8be['length']-0x1],_0x46b4d6=_0x26fc('0x13')==_0x113d0c[_0x26fc('0xc')]?'add':'remove';_0x49faf5&&_0x26fc('0x26')==_0x49faf5['type']&&(_0x49faf5[_0x46b4d6]+='\x0a');}}}return this['_resolveDescriptionItems'](_0x30f8be);}[_0x26fc('0x10')](_0x2c44ee){this[_0x26fc('0x29')][_0x26fc('0x34')](_0x2c44ee);}[_0x26fc('0x4')](_0x2c0e73,_0x3f36d7,_0x189d31=_0x5eeebf[_0x26fc('0x1')]){_0x26fc('0x3b')==typeof _0x2c0e73?_0x3f7238(this[_0x26fc('0xd')],{'matchingCallback':_0x2c0e73,'label':_0x3f36d7,'priority':_0x189d31}):this[_0x26fc('0x19')][_0x26fc('0x38')](_0x2c0e73,_0x3f36d7);}[_0x26fc('0x18')](_0x1a1dea,_0x691a02=0x1){let _0x4fed66;for(const _0xa46e47 of this[_0x26fc('0xd')])if(_0xa46e47[_0x26fc('0xf')](_0x1a1dea)){_0x4fed66=_0xa46e47['label'];break;}return _0x4fed66||(_0x4fed66=this['_itemLabels'][_0x26fc('0xb')](_0x1a1dea[_0x26fc('0x12')])),_0x4fed66?_0x4fed66(_0x691a02):0x1!==_0x691a02?_0x691a02+'\x20'+_0x1a1dea[_0x26fc('0x12')]+'s':''+_0x1a1dea[_0x26fc('0x12')];}[_0x26fc('0x30')](_0x10f0ba,_0x400411){const _0xfba770=_0x400411[_0x26fc('0x1e')]()[_0x26fc('0x1a')](),_0x19bbc5=_0x26fc('0x13')==_0x400411['type']?_0x26fc('0x0'):_0x26fc('0x9');for(const _0x21c085 of _0xfba770){const _0x3b6fe0=_0x21c085[_0x26fc('0x3')],_0x17e250=_0x10f0ba[_0x10f0ba['length']-0x1];if(_0x3b6fe0['is'](_0x26fc('0x23')))_0x17e250&&_0x17e250[_0x26fc('0xc')][_0x26fc('0x1f')]('Container')>-0x1&&_0x10f0ba['pop'](),_0x17e250&&_0x26fc('0x26')==_0x17e250[_0x26fc('0xc')]?_0x17e250[_0x19bbc5]+=_0x3b6fe0[_0x26fc('0x2b')]:_0x10f0ba['push']({'type':'text','add':_0x26fc('0x0')==_0x19bbc5?_0x3b6fe0[_0x26fc('0x2b')]:'','remove':_0x26fc('0x9')==_0x19bbc5?_0x3b6fe0['data']:''});else{if(this[_0x26fc('0x2f')][_0x26fc('0x33')](_0x3b6fe0)){const _0x2a9b64=_0x3b6fe0;if(_0x17e250&&_0x17e250['type'][_0x26fc('0x1f')](_0x26fc('0x2e'))>-0x1&&_0x10f0ba[_0x26fc('0x6')](),_0x26fc('0x15')==_0x21c085[_0x26fc('0xc')])continue;_0x17e250&&_0x17e250[_0x26fc('0xc')]==_0x19bbc5+_0x26fc('0x28')&&_0x17e250['element'][_0x26fc('0x12')]==_0x2a9b64[_0x26fc('0x12')]?_0x17e250[_0x26fc('0xa')]++:_0x10f0ba[_0x26fc('0x34')]({'type':_0x19bbc5+'Object','element':_0x2a9b64,'quantity':0x1}),_0xfba770['skip'](_0x3979db=>!(_0x26fc('0x15')==_0x3979db[_0x26fc('0xc')]&&_0x3979db[_0x26fc('0x3')]==_0x3b6fe0));}else{if(this[_0x26fc('0x2f')][_0x26fc('0x20')](_0x3b6fe0,_0x26fc('0xe'))||_0x3b6fe0['is'](_0x26fc('0x1d'),_0x26fc('0x36'))){const _0x5edce4=_0x3b6fe0;if(_0x26fc('0x0')==_0x19bbc5&&'elementStart'==_0x21c085['type']||_0x26fc('0x9')==_0x19bbc5&&_0x26fc('0x15')==_0x21c085[_0x26fc('0xc')])continue;if(_0x17e250&&-0x1==_0x17e250[_0x26fc('0xc')][_0x26fc('0x1f')](_0x26fc('0x2e'))){_0x26fc('0x26')==_0x17e250[_0x26fc('0xc')]&&(_0x17e250[_0x19bbc5]+='\x0a');continue;}let _0x42100e;if(_0x42100e='add'==_0x19bbc5?_0x5edce4[_0x26fc('0x31')]&&!this[_0x26fc('0x2f')][_0x26fc('0x33')](_0x5edce4[_0x26fc('0x31')])?_0x5edce4[_0x26fc('0x31')]:null:_0x5edce4[_0x26fc('0x1b')]&&!this['_schema'][_0x26fc('0x33')](_0x5edce4[_0x26fc('0x1b')])?_0x5edce4['previousSibling']:null,_0x5edce4[_0x26fc('0x17')]||_0x42100e&&_0x42100e[_0x26fc('0x17')]){const _0x87ac3=_0x42100e&&_0x42100e['isEmpty']?_0x42100e:_0x5edce4;_0x17e250&&_0x17e250[_0x26fc('0xc')]==_0x19bbc5+_0x26fc('0x3c')&&_0x17e250[_0x26fc('0x1d')][_0x26fc('0x12')]==_0x87ac3[_0x26fc('0x12')]?_0x17e250['quantity']++:_0x10f0ba[_0x26fc('0x34')]({'type':_0x19bbc5+_0x26fc('0x3c'),'element':_0x87ac3,'quantity':0x1});}else _0x10f0ba['push']({'type':_0x19bbc5+_0x26fc('0x2e'),'element':_0x5edce4});}}}}}['_resolveDescriptionItems'](_0x445692){const _0x46982b=this[_0x26fc('0x16')],_0x333a5c=[];for(const _0x3366e6 of _0x445692){switch(_0x3366e6[_0x26fc('0xc')]){case _0x26fc('0x26'):if(_0x3366e6[_0x26fc('0x0')]=_0x3366e6[_0x26fc('0x0')][_0x26fc('0x1c')](/(\S)\u000A+(\S)/g,'$1\x20$2')[_0x26fc('0x1c')](/\u000A/g,''),_0x3366e6[_0x26fc('0x9')]=_0x3366e6['remove'][_0x26fc('0x1c')](/(\S)\u000A+(\S)/g,_0x26fc('0x2c'))[_0x26fc('0x1c')](/\u000A/g,''),''!=_0x3366e6[_0x26fc('0x0')]&&''!=_0x3366e6[_0x26fc('0x9')]){_0x333a5c['push']({'type':_0x26fc('0x1c'),'content':_0x1de774(_0x46982b,_0x26fc('0x37'),['\x22'+_0x3366e6[_0x26fc('0x9')]+'\x22','\x22'+_0x3366e6[_0x26fc('0x0')]+'\x22'])});continue;}if(null!=_0x3366e6['add'][_0x26fc('0x27')](/^ +$/)){_0x333a5c['push']({'type':'insertion','content':_0x1de774(_0x46982b,'*Insert:*\x20%0',_0x1de774(_0x46982b,_0x26fc('0x35'),_0x3366e6[_0x26fc('0x0')][_0x26fc('0x21')]))});continue;}if(null!=_0x3366e6['remove']['match'](/^ +$/)){_0x333a5c['push']({'type':'deletion','content':_0x1de774(_0x46982b,'*Remove:*\x20%0',_0x1de774(_0x46982b,_0x26fc('0x35'),_0x3366e6['remove']['length']))});continue;}if(''!=_0x3366e6[_0x26fc('0x0')]){_0x333a5c['push']({'type':_0x26fc('0x13'),'content':_0x1de774(_0x46982b,_0x26fc('0x7'),'\x22'+_0x3366e6[_0x26fc('0x0')]+'\x22')});continue;}_0x333a5c[_0x26fc('0x34')]({'type':_0x26fc('0x5'),'content':_0x1de774(_0x46982b,_0x26fc('0x39'),'\x22'+_0x3366e6[_0x26fc('0x9')]+'\x22')});continue;case _0x26fc('0x2d'):case _0x26fc('0x2'):_0x333a5c[_0x26fc('0x34')]({'type':_0x26fc('0x13'),'content':_0x1de774(_0x46982b,_0x26fc('0x7'),this['getItemLabel'](_0x3366e6[_0x26fc('0x1d')],_0x3366e6['quantity']))});continue;case _0x26fc('0x25'):case _0x26fc('0x24'):_0x333a5c['push']({'type':'deletion','content':_0x1de774(_0x46982b,'*Remove:*\x20%0',this[_0x26fc('0x18')](_0x3366e6['element'],_0x3366e6[_0x26fc('0xa')]))});continue;case _0x26fc('0x32'):_0x333a5c['push']({'type':_0x26fc('0x13'),'content':_0x1de774(_0x46982b,_0x26fc('0x11'),this['getItemLabel'](_0x3366e6['element'],_0x3366e6[_0x26fc('0xa')]))});continue;case'removeContainer':_0x333a5c['push']({'type':'deletion','content':_0x1de774(_0x46982b,_0x26fc('0x14'),this['getItemLabel'](_0x3366e6[_0x26fc('0x1d')],_0x3366e6[_0x26fc('0xa')]))});continue;}_0x333a5c[_0x26fc('0x34')](_0x3366e6);}return _0x333a5c;}}
23
+ const _0x4587=['isInContent','*Split:*\x20%0','*Insert:*\x20%0','addObject','addEmptyContainer','deletion','ELEMENT_SPACE','previousSibling','length','push','EmptyContainer','elementEnd','replace','set','*Merge:*\x20%0','nextSibling','quantity','registerElementLabel','_itemLabels','Container','indexOf','isEmpty','pop','getFirstRange','Object','_resolveDescriptionItems','skip','getWalker','data','isEqual','isObject','$text','item','REPLACE_TEXT','_schema','_locale','remove','getDescriptions','element','match','*Remove:*\x20%0','add','insertion','name','type','removeContainer','start','label','elementStart','getItemLabel','addContainer','_addDescriptionItems','_customCallbacks','text'];(function(_0x3becd3,_0x458779){const _0x4804fe=function(_0x4728d8){while(--_0x4728d8){_0x3becd3['push'](_0x3becd3['shift']());}};_0x4804fe(++_0x458779);}(_0x4587,0x73));const _0x4804=function(_0x3becd3,_0x458779){_0x3becd3=_0x3becd3-0x0;let _0x4804fe=_0x4587[_0x3becd3];return _0x4804fe;};import{getTranslation as _0x3f63fc}from'./utils/common-translations';import{priorities as _0x55431c,insertToPriorityArray as _0x4f156d}from'ckeditor5/src/utils';export default class m{constructor(_0x531f01,_0x3cf975){this['_customCallbacks']=[],this[_0x4804('0xb')]=new Map(),this['_itemLabelsCallbacks']=[],this[_0x4804('0x1b')]=_0x531f01,this['_locale']=_0x3cf975;}[_0x4804('0x1e')](_0x3c07cc){const _0x2c3055=[];for(let _0x215f7a=0x0;_0x215f7a<_0x3c07cc[_0x4804('0x1')];_0x215f7a++){const _0x54cdae=_0x3c07cc[_0x215f7a];if(!_0x54cdae[_0x4804('0x2f')])continue;let _0x2f2b95=!0x1;for(const _0x10cdac of this[_0x4804('0x2d')]){const _0x16f14c=_0x10cdac(_0x54cdae);if(_0x16f14c){_0x4804('0x25')in _0x16f14c&&_0x2c3055[_0x4804('0x2')](_0x16f14c),_0x2f2b95=!0x0;break;}}if(!_0x2f2b95){this['_addDescriptionItems'](_0x2c3055,_0x54cdae);const _0x30dc53=_0x3c07cc[_0x215f7a+0x1];if(_0x30dc53&&!_0x54cdae[_0x4804('0x10')]()['end'][_0x4804('0x16')](_0x30dc53[_0x4804('0x10')]()[_0x4804('0x27')])){const _0x7ac384=_0x2c3055[_0x2c3055[_0x4804('0x1')]-0x1],_0x368e11='insertion'==_0x54cdae[_0x4804('0x25')]?_0x4804('0x22'):_0x4804('0x1d');_0x7ac384&&_0x4804('0x2e')==_0x7ac384[_0x4804('0x25')]&&(_0x7ac384[_0x368e11]+='\x0a');}}}return this[_0x4804('0x12')](_0x2c3055);}['registerDescriptionCallback'](_0x3691ce){this[_0x4804('0x2d')][_0x4804('0x2')](_0x3691ce);}[_0x4804('0xa')](_0x4b881c,_0x99cf4f,_0x1426d3=_0x55431c['normal']){'function'==typeof _0x4b881c?_0x4f156d(this['_itemLabelsCallbacks'],{'matchingCallback':_0x4b881c,'label':_0x99cf4f,'priority':_0x1426d3}):this[_0x4804('0xb')][_0x4804('0x6')](_0x4b881c,_0x99cf4f);}[_0x4804('0x2a')](_0x4cf763,_0x1b8498=0x1){let _0x28628e;for(const _0x57d6cf of this['_itemLabelsCallbacks'])if(_0x57d6cf['matchingCallback'](_0x4cf763)){_0x28628e=_0x57d6cf[_0x4804('0x28')];break;}return _0x28628e||(_0x28628e=this[_0x4804('0xb')]['get'](_0x4cf763['name'])),_0x28628e?_0x28628e(_0x1b8498):0x1!==_0x1b8498?_0x1b8498+'\x20'+_0x4cf763[_0x4804('0x24')]+'s':''+_0x4cf763[_0x4804('0x24')];}[_0x4804('0x2c')](_0x36bc53,_0x44f1b7){const _0x2251cb=_0x44f1b7[_0x4804('0x10')]()[_0x4804('0x14')](),_0x4b813a=_0x4804('0x23')==_0x44f1b7[_0x4804('0x25')]?_0x4804('0x22'):_0x4804('0x1d');for(const _0x2b860c of _0x2251cb){const _0x18a935=_0x2b860c[_0x4804('0x19')],_0x48d1ed=_0x36bc53[_0x36bc53[_0x4804('0x1')]-0x1];if(_0x18a935['is']('$textProxy'))_0x48d1ed&&_0x48d1ed[_0x4804('0x25')][_0x4804('0xd')](_0x4804('0xc'))>-0x1&&_0x36bc53[_0x4804('0xf')](),_0x48d1ed&&_0x4804('0x2e')==_0x48d1ed['type']?_0x48d1ed[_0x4b813a]+=_0x18a935[_0x4804('0x15')]:_0x36bc53[_0x4804('0x2')]({'type':_0x4804('0x2e'),'add':'add'==_0x4b813a?_0x18a935[_0x4804('0x15')]:'','remove':_0x4804('0x1d')==_0x4b813a?_0x18a935[_0x4804('0x15')]:''});else{if(this[_0x4804('0x1b')][_0x4804('0x17')](_0x18a935)){const _0x170475=_0x18a935;if(_0x48d1ed&&_0x48d1ed[_0x4804('0x25')][_0x4804('0xd')](_0x4804('0xc'))>-0x1&&_0x36bc53[_0x4804('0xf')](),'elementEnd'==_0x2b860c[_0x4804('0x25')])continue;_0x48d1ed&&_0x48d1ed[_0x4804('0x25')]==_0x4b813a+_0x4804('0x11')&&_0x48d1ed[_0x4804('0x1f')][_0x4804('0x24')]==_0x170475[_0x4804('0x24')]?_0x48d1ed[_0x4804('0x9')]++:_0x36bc53[_0x4804('0x2')]({'type':_0x4b813a+'Object','element':_0x170475,'quantity':0x1}),_0x2251cb[_0x4804('0x13')](_0xf52c23=>!(_0x4804('0x4')==_0xf52c23['type']&&_0xf52c23[_0x4804('0x19')]==_0x18a935));}else{if(this[_0x4804('0x1b')]['checkChild'](_0x18a935,_0x4804('0x18'))||_0x18a935['is'](_0x4804('0x1f'),'softBreak')){const _0x3e127e=_0x18a935;if(_0x4804('0x22')==_0x4b813a&&_0x4804('0x29')==_0x2b860c[_0x4804('0x25')]||'remove'==_0x4b813a&&_0x4804('0x4')==_0x2b860c[_0x4804('0x25')])continue;if(_0x48d1ed&&-0x1==_0x48d1ed[_0x4804('0x25')]['indexOf'](_0x4804('0xc'))){'text'==_0x48d1ed['type']&&(_0x48d1ed[_0x4b813a]+='\x0a');continue;}let _0x49548a;if(_0x49548a=_0x4804('0x22')==_0x4b813a?_0x3e127e['nextSibling']&&!this[_0x4804('0x1b')][_0x4804('0x17')](_0x3e127e[_0x4804('0x8')])?_0x3e127e[_0x4804('0x8')]:null:_0x3e127e['previousSibling']&&!this[_0x4804('0x1b')][_0x4804('0x17')](_0x3e127e[_0x4804('0x0')])?_0x3e127e['previousSibling']:null,_0x3e127e[_0x4804('0xe')]||_0x49548a&&_0x49548a['isEmpty']){const _0x4d8ca6=_0x49548a&&_0x49548a[_0x4804('0xe')]?_0x49548a:_0x3e127e;_0x48d1ed&&_0x48d1ed[_0x4804('0x25')]==_0x4b813a+_0x4804('0x3')&&_0x48d1ed[_0x4804('0x1f')][_0x4804('0x24')]==_0x4d8ca6[_0x4804('0x24')]?_0x48d1ed['quantity']++:_0x36bc53['push']({'type':_0x4b813a+'EmptyContainer','element':_0x4d8ca6,'quantity':0x1});}else _0x36bc53['push']({'type':_0x4b813a+_0x4804('0xc'),'element':_0x3e127e});}}}}}[_0x4804('0x12')](_0x7a4724){const _0x36486b=this[_0x4804('0x1c')],_0x4c2b4e=[];for(const _0xe90973 of _0x7a4724){switch(_0xe90973[_0x4804('0x25')]){case _0x4804('0x2e'):if(_0xe90973[_0x4804('0x22')]=_0xe90973[_0x4804('0x22')]['replace'](/(\S)\u000A+(\S)/g,'$1\x20$2')[_0x4804('0x5')](/\u000A/g,''),_0xe90973[_0x4804('0x1d')]=_0xe90973['remove'][_0x4804('0x5')](/(\S)\u000A+(\S)/g,'$1\x20$2')[_0x4804('0x5')](/\u000A/g,''),''!=_0xe90973[_0x4804('0x22')]&&''!=_0xe90973['remove']){_0x4c2b4e[_0x4804('0x2')]({'type':_0x4804('0x5'),'content':_0x3f63fc(_0x36486b,_0x4804('0x1a'),['\x22'+_0xe90973[_0x4804('0x1d')]+'\x22','\x22'+_0xe90973[_0x4804('0x22')]+'\x22'])});continue;}if(null!=_0xe90973[_0x4804('0x22')][_0x4804('0x20')](/^ +$/)){_0x4c2b4e[_0x4804('0x2')]({'type':_0x4804('0x23'),'content':_0x3f63fc(_0x36486b,'*Insert:*\x20%0',_0x3f63fc(_0x36486b,_0x4804('0x35'),_0xe90973[_0x4804('0x22')][_0x4804('0x1')]))});continue;}if(null!=_0xe90973[_0x4804('0x1d')][_0x4804('0x20')](/^ +$/)){_0x4c2b4e['push']({'type':'deletion','content':_0x3f63fc(_0x36486b,_0x4804('0x21'),_0x3f63fc(_0x36486b,_0x4804('0x35'),_0xe90973['remove'][_0x4804('0x1')]))});continue;}if(''!=_0xe90973[_0x4804('0x22')]){_0x4c2b4e[_0x4804('0x2')]({'type':'insertion','content':_0x3f63fc(_0x36486b,_0x4804('0x31'),'\x22'+_0xe90973['add']+'\x22')});continue;}_0x4c2b4e[_0x4804('0x2')]({'type':'deletion','content':_0x3f63fc(_0x36486b,_0x4804('0x21'),'\x22'+_0xe90973[_0x4804('0x1d')]+'\x22')});continue;case _0x4804('0x33'):case _0x4804('0x32'):_0x4c2b4e[_0x4804('0x2')]({'type':_0x4804('0x23'),'content':_0x3f63fc(_0x36486b,_0x4804('0x31'),this[_0x4804('0x2a')](_0xe90973[_0x4804('0x1f')],_0xe90973[_0x4804('0x9')]))});continue;case'removeEmptyContainer':case'removeObject':_0x4c2b4e[_0x4804('0x2')]({'type':'deletion','content':_0x3f63fc(_0x36486b,'*Remove:*\x20%0',this[_0x4804('0x2a')](_0xe90973['element'],_0xe90973[_0x4804('0x9')]))});continue;case _0x4804('0x2b'):_0x4c2b4e['push']({'type':_0x4804('0x23'),'content':_0x3f63fc(_0x36486b,_0x4804('0x30'),this['getItemLabel'](_0xe90973[_0x4804('0x1f')],_0xe90973[_0x4804('0x9')]))});continue;case _0x4804('0x26'):_0x4c2b4e[_0x4804('0x2')]({'type':_0x4804('0x34'),'content':_0x3f63fc(_0x36486b,_0x4804('0x7'),this[_0x4804('0x2a')](_0xe90973[_0x4804('0x1f')],_0xe90973['quantity']))});continue;}_0x4c2b4e['push'](_0xe90973);}return _0x4c2b4e;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x17cd=['requires','getSuggestions','adapter','get','getSuggestion','TrackChanges','editor','pluginName','addSuggestion','plugins'];(function(_0x46b66f,_0x17cdfb){var _0x4a3775=function(_0x193e71){while(--_0x193e71){_0x46b66f['push'](_0x46b66f['shift']());}};_0x4a3775(++_0x17cdfb);}(_0x17cd,0x18d));var _0x4a37=function(_0x46b66f,_0x17cdfb){_0x46b66f=_0x46b66f-0x0;var _0x4a3775=_0x17cd[_0x46b66f];return _0x4a3775;};import{Plugin as _0x295295}from'ckeditor5/src/core';import _0x282fe3 from'./trackchangesui';import _0x43d055 from'./trackchangesediting';import'ckeditor5-collaboration/src/collaboration-core';export default class k extends _0x295295{static get[_0x4a37('0x3')](){return[_0x43d055,_0x282fe3,'Comments'];}static get[_0x4a37('0x0')](){return _0x4a37('0x8');}set[_0x4a37('0x5')](_0x1ffca5){this[_0x4a37('0x9')][_0x4a37('0x2')]['get'](_0x43d055)[_0x4a37('0x5')]=_0x1ffca5;}get[_0x4a37('0x5')](){return this[_0x4a37('0x9')][_0x4a37('0x2')][_0x4a37('0x6')](_0x43d055)['adapter'];}[_0x4a37('0x1')](_0xe426d){return this['editor'][_0x4a37('0x2')][_0x4a37('0x6')](_0x43d055)['addSuggestionData'](_0xe426d);}[_0x4a37('0x4')]({skipNotAttached:_0x5c9705=!0x1,toJSON:_0x3ebfc3=!0x1}={}){return this['editor'][_0x4a37('0x2')]['get'](_0x43d055)[_0x4a37('0x4')]({'skipNotAttached':_0x5c9705,'toJSON':_0x3ebfc3});}[_0x4a37('0x7')](_0x132e44){return this[_0x4a37('0x9')][_0x4a37('0x2')][_0x4a37('0x6')](_0x43d055)[_0x4a37('0x7')](_0x132e44);}}
23
+ var _0x20c3=['adapter','plugins','getSuggestions','getSuggestion','addSuggestionData','editor','get','pluginName'];(function(_0x1559f4,_0x20c30b){var _0x13c9f7=function(_0x3bd859){while(--_0x3bd859){_0x1559f4['push'](_0x1559f4['shift']());}};_0x13c9f7(++_0x20c30b);}(_0x20c3,0xbd));var _0x13c9=function(_0x1559f4,_0x20c30b){_0x1559f4=_0x1559f4-0x0;var _0x13c9f7=_0x20c3[_0x1559f4];return _0x13c9f7;};import{Plugin as _0x3a60e2}from'ckeditor5/src/core';import _0x33ca3a from'./trackchangesui';import _0xf7a3d8 from'./trackchangesediting';import'ckeditor5-collaboration/src/collaboration-core';export default class k extends _0x3a60e2{static get['requires'](){return[_0xf7a3d8,_0x33ca3a,'Comments'];}static get[_0x13c9('0x2')](){return'TrackChanges';}set[_0x13c9('0x3')](_0x33d989){this[_0x13c9('0x0')][_0x13c9('0x4')]['get'](_0xf7a3d8)[_0x13c9('0x3')]=_0x33d989;}get[_0x13c9('0x3')](){return this[_0x13c9('0x0')][_0x13c9('0x4')]['get'](_0xf7a3d8)[_0x13c9('0x3')];}['addSuggestion'](_0x4c7151){return this[_0x13c9('0x0')][_0x13c9('0x4')][_0x13c9('0x1')](_0xf7a3d8)[_0x13c9('0x7')](_0x4c7151);}[_0x13c9('0x5')]({skipNotAttached:_0x127c3e=!0x1,toJSON:_0x10d3f9=!0x1}={}){return this['editor'][_0x13c9('0x4')][_0x13c9('0x1')](_0xf7a3d8)['getSuggestions']({'skipNotAttached':_0x127c3e,'toJSON':_0x10d3f9});}[_0x13c9('0x6')](_0x502262){return this['editor']['plugins'][_0x13c9('0x1')](_0xf7a3d8)[_0x13c9('0x6')](_0x502262);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1f6b=['users','TrackChangesEditing','getSuggestions','trackChangesData','map','requires','useAnonymousUser','data','TrackChangesDataGetter','execute','create','push','rootsAttributes','TrackChangesData','Users','init','acceptAllSuggestions','getDataWithAcceptedSuggestions','trackChangesData.editorCreator','addSuggestionData','config','appendChild','getFullData','Pagination','destroy','constructor','getDataWithDiscardedSuggestions','addUser','createDocumentFragment','set','getRootNames','editor','editorCreator','get','reduce','getUser','function','document','name','model','_adapter','result','end','div','plugins','getRootsAttributes','define'];(function(_0x24f209,_0x1f6b09){const _0x1e6b36=function(_0x3fbc1a){while(--_0x3fbc1a){_0x24f209['push'](_0x24f209['shift']());}};_0x1e6b36(++_0x1f6b09);}(_0x1f6b,0xff));const _0x1e6b=function(_0x24f209,_0x1f6b09){_0x24f209=_0x24f209-0x0;let _0x1e6b36=_0x1f6b[_0x24f209];return _0x1e6b36;};import{Plugin as _0x54c38e}from'ckeditor5/src/core';import{CKEditorError as _0x1475bc}from'ckeditor5/src/utils';import _0x2a1a15 from'./trackchangesediting';import{sanitizeEditorConfig as _0x439f84}from'ckeditor5-collaboration/src/collaboration-core';const w=[_0x1e6b('0x3')];export default class T extends _0x54c38e{static get[_0x1e6b('0x20')](){return[_0x2a1a15];}static get['pluginName'](){return _0x1e6b('0x28');}[_0x1e6b('0x2a')](){const _0x49577b=this[_0x1e6b('0xb')];if(_0x49577b[_0x1e6b('0x0')][_0x1e6b('0x1a')](_0x1e6b('0x2d'),_0x30370d=>{const _0x40fed9=_0x49577b[_0x1e6b('0x13')][_0x1e6b('0x11')][_0x1e6b('0xa')]()[_0x1e6b('0xe')]((_0x1c5caf,_0x4f6ee8)=>(_0x1c5caf[_0x4f6ee8]='',_0x1c5caf),{});return _0x49577b[_0x1e6b('0x5')][_0x1e6b('0x25')](_0x40fed9,_0x30370d);}),_0x1e6b('0x10')!=typeof _0x49577b[_0x1e6b('0x0')]['get'](_0x1e6b('0x1e'))[_0x1e6b('0xc')])throw new _0x1475bc('track-changes-data-invalid-editor-creator');}[_0x1e6b('0x2c')](_0x23f13d){return v(this['editor'],!0x0,_0x23f13d);}[_0x1e6b('0x6')](_0x4985fd){return v(this[_0x1e6b('0xb')],!0x1,_0x4985fd);}}class P extends _0x54c38e{static get['pluginName'](){return _0x1e6b('0x23');}constructor(_0x221505){super(_0x221505),this[_0x1e6b('0x15')]=_0x1e6b('0x16');}[_0x1e6b('0x2a')](){this[_0x1e6b('0xb')][_0x1e6b('0x18')][_0x1e6b('0xd')]('CommentsRepository')[_0x1e6b('0x14')]={'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[_0x1e6b('0xb')]['plugins']['get'](_0x1e6b('0x1c'))[_0x1e6b('0x14')]=null;}}function D(_0x3b0995){return void 0x0!==_0x3b0995[_0x1e6b('0x19')];}async function v(_0x1342d4,_0x10d59f,_0x30448c){const _0x8e3316=_0x439f84(_0x1342d4,w);_0x8e3316['plugins'][_0x1e6b('0x26')](_0x2a1a15,P),_0x8e3316[_0x1e6b('0x27')]=D(_0x1342d4)?_0x1342d4[_0x1e6b('0x19')]():void 0x0;const _0x23fcb0=document[_0x1e6b('0x8')](),_0x550cbe=_0x1342d4[_0x1e6b('0x0')][_0x1e6b('0xd')]('trackChangesData')['editorCreator'],_0x36d082=await _0x550cbe(_0x8e3316,()=>function(_0x2dd6ce){const _0x48c84e=document['createElement'](_0x1e6b('0x17'));return _0x2dd6ce[_0x1e6b('0x1')](_0x48c84e),_0x48c84e;}(_0x23fcb0));!function(_0x4c6a3b,_0x52a8f7){const _0x2e6166=_0x4c6a3b[_0x1e6b('0x13')][_0x1e6b('0x11')][_0x1e6b('0xa')]()[_0x1e6b('0xe')]((_0x6b758d,_0x444425)=>(_0x6b758d[_0x444425]=_0x4c6a3b['data']['get']({'rootName':_0x444425}),_0x6b758d),{}),_0x430eab=_0x4c6a3b['plugins'][_0x1e6b('0xd')]('Users')[_0x1e6b('0x1b')][_0x1e6b('0x1f')](_0x5bd21f=>({'id':_0x5bd21f['id'],'name':_0x5bd21f[_0x1e6b('0x12')]})),_0x1b4cd2=_0x4c6a3b[_0x1e6b('0x18')][_0x1e6b('0xd')](_0x1e6b('0x1c'))[_0x1e6b('0x1d')]({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x10991e=_0x52a8f7['plugins'][_0x1e6b('0xd')](_0x1e6b('0x29')),_0x23fe6d=_0x52a8f7[_0x1e6b('0x18')][_0x1e6b('0xd')](_0x1e6b('0x1c'));for(const _0x1dcf68 of _0x430eab)_0x10991e[_0x1e6b('0xf')](_0x1dcf68['id'])||_0x10991e[_0x1e6b('0x7')](_0x1dcf68);_0x10991e['me']||_0x10991e[_0x1e6b('0x21')]();for(const _0x48880e of _0x1b4cd2)_0x23fe6d[_0x1e6b('0x2e')](_0x48880e);_0x52a8f7[_0x1e6b('0x22')][_0x1e6b('0x9')](_0x2e6166);}(_0x1342d4,_0x36d082),_0x36d082[_0x1e6b('0x24')](_0x10d59f?_0x1e6b('0x2b'):'discardAllSuggestions');const _0x3f6c66=D(_0x36d082)?_0x36d082[_0x1e6b('0x2')](_0x30448c):_0x36d082[_0x1e6b('0x22')]['get'](_0x30448c);return await _0x36d082[_0x1e6b('0x4')](),_0x3f6c66;}
23
+ const _0x32fd=['editorCreator','discardAllSuggestions','createElement','get','rootsAttributes','push','getFullData','_adapter','pluginName','function','requires','destroy','getDataWithDiscardedSuggestions','editor','track-changes-data-invalid-editor-creator','CommentsRepository','trackChangesData','model','create','result','TrackChangesDataGetter','config','plugins','constructor','define','name','data','document','createDocumentFragment','TrackChangesData','acceptAllSuggestions','addSuggestionData','getRootsAttributes','appendChild','TrackChangesEditing','getSuggestions','reduce','getRootNames','init','Pagination','Users'];(function(_0x319f9e,_0x32fd6d){const _0x3d47b5=function(_0x2d7f43){while(--_0x2d7f43){_0x319f9e['push'](_0x319f9e['shift']());}};_0x3d47b5(++_0x32fd6d);}(_0x32fd,0x71));const _0x3d47=function(_0x319f9e,_0x32fd6d){_0x319f9e=_0x319f9e-0x0;let _0x3d47b5=_0x32fd[_0x319f9e];return _0x3d47b5;};import{Plugin as _0x59e035}from'ckeditor5/src/core';import{CKEditorError as _0x3f8944}from'ckeditor5/src/utils';import _0x58fb28 from'./trackchangesediting';import{sanitizeEditorConfig as _0x501107}from'ckeditor5-collaboration/src/collaboration-core';const w=[_0x3d47('0x8')];export default class T extends _0x59e035{static get[_0x3d47('0x14')](){return[_0x58fb28];}static get[_0x3d47('0x12')](){return _0x3d47('0x27');}[_0x3d47('0x7')](){const _0xd01fc4=this[_0x3d47('0x17')];if(_0xd01fc4[_0x3d47('0x1f')][_0x3d47('0x22')]('trackChangesData.editorCreator',_0x5841a4=>{const _0x311a02=_0xd01fc4[_0x3d47('0x1b')][_0x3d47('0x25')][_0x3d47('0x6')]()['reduce']((_0xc0882,_0x303f28)=>(_0xc0882[_0x303f28]='',_0xc0882),{});return _0xd01fc4[_0x3d47('0x21')][_0x3d47('0x1c')](_0x311a02,_0x5841a4);}),_0x3d47('0x13')!=typeof _0xd01fc4['config']['get'](_0x3d47('0x1a'))[_0x3d47('0xa')])throw new _0x3f8944(_0x3d47('0x18'));}['getDataWithAcceptedSuggestions'](_0x156527){return v(this[_0x3d47('0x17')],!0x0,_0x156527);}[_0x3d47('0x16')](_0x510dc2){return v(this['editor'],!0x1,_0x510dc2);}}class P extends _0x59e035{static get['pluginName'](){return _0x3d47('0x1e');}constructor(_0x3ee398){super(_0x3ee398),this[_0x3d47('0x1d')]='end';}[_0x3d47('0x7')](){this[_0x3d47('0x17')]['plugins'][_0x3d47('0xd')](_0x3d47('0x19'))[_0x3d47('0x11')]={'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[_0x3d47('0x17')][_0x3d47('0x20')]['get']('TrackChangesEditing')[_0x3d47('0x11')]=null;}}function D(_0x3a5485){return void 0x0!==_0x3a5485[_0x3d47('0x1')];}async function v(_0x517447,_0x168989,_0x451b3f){const _0x33f66b=_0x501107(_0x517447,w);_0x33f66b[_0x3d47('0x20')][_0x3d47('0xf')](_0x58fb28,P),_0x33f66b[_0x3d47('0xe')]=D(_0x517447)?_0x517447[_0x3d47('0x1')]():void 0x0;const _0x1efd3c=document[_0x3d47('0x26')](),_0x36e3b1=_0x517447[_0x3d47('0x1f')][_0x3d47('0xd')](_0x3d47('0x1a'))[_0x3d47('0xa')],_0x452795=await _0x36e3b1(_0x33f66b,()=>function(_0xccee77){const _0x59b639=document[_0x3d47('0xc')]('div');return _0xccee77[_0x3d47('0x2')](_0x59b639),_0x59b639;}(_0x1efd3c));!function(_0x423ce7,_0x199706){const _0x3d860e=_0x423ce7['model']['document'][_0x3d47('0x6')]()[_0x3d47('0x5')]((_0x348c5c,_0xfe9de4)=>(_0x348c5c[_0xfe9de4]=_0x423ce7[_0x3d47('0x24')][_0x3d47('0xd')]({'rootName':_0xfe9de4}),_0x348c5c),{}),_0x1f9251=_0x423ce7[_0x3d47('0x20')][_0x3d47('0xd')](_0x3d47('0x9'))['users']['map'](_0x2852b0=>({'id':_0x2852b0['id'],'name':_0x2852b0[_0x3d47('0x23')]})),_0x5ac565=_0x423ce7[_0x3d47('0x20')][_0x3d47('0xd')](_0x3d47('0x3'))[_0x3d47('0x4')]({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x54a015=_0x199706['plugins']['get'](_0x3d47('0x9')),_0x43c27a=_0x199706[_0x3d47('0x20')]['get'](_0x3d47('0x3'));for(const _0x58154a of _0x1f9251)_0x54a015['getUser'](_0x58154a['id'])||_0x54a015['addUser'](_0x58154a);_0x54a015['me']||_0x54a015['useAnonymousUser']();for(const _0xf6cd21 of _0x5ac565)_0x43c27a[_0x3d47('0x0')](_0xf6cd21);_0x199706[_0x3d47('0x24')]['set'](_0x3d860e);}(_0x517447,_0x452795),_0x452795['execute'](_0x168989?_0x3d47('0x28'):_0x3d47('0xb'));const _0x197937=D(_0x452795)?_0x452795[_0x3d47('0x10')](_0x451b3f):_0x452795['data'][_0x3d47('0xd')](_0x451b3f);return await _0x452795[_0x3d47('0x15')](),_0x197937;}