@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20230728.0 → 0.0.0-nightly-20230729.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 _0xbf53=['removeMarker','removeAttribute','isIntersectingWithRange','markers','type','setAttribute','getFirstRange','end','accept','getAllAdjacentSuggestions','@external','change','_saved','delete','_model','_markerNames','map','size','onDiscard','_onAttributesChange','getMarkers','from','authoredAt','attributes','head','nodeBefore','getRange','nodeAfter','getItems','commentThread','_onDiscard','suggestion:','set','getMultiRangeId','onAttributesChange','isMultiRange','getMarkerNames','reduce','next','subType','previous','author','toJSON','push','data','getFirstMarker','clear','hasComments','split','removeMarkers','get','creator','_onAccept','addMarkerName','add','isIntersecting','discard','filter','getRanges','length','decorate'];(function(_0xc3ac01,_0xbf539b){const _0x161d37=function(_0x489342){while(--_0x489342){_0xc3ac01['push'](_0xc3ac01['shift']());}};_0x161d37(++_0xbf539b);}(_0xbf53,0x97));const _0x161d=function(_0xc3ac01,_0xbf539b){_0xc3ac01=_0xc3ac01-0x0;let _0x161d37=_0xbf53[_0xc3ac01];return _0x161d37;};import{Element as _0x16b3c1}from'ckeditor5/src/engine';import{ObservableMixin as _0x4ad52e,uid as _0x2834d9}from'ckeditor5/src/utils';import{cloneDeep as _0x1f67cb,isEqual as _0x3f9edb,set as _0x5609c3,unset as _0x3becf1}from'lodash-es';export default class u extends _0x4ad52e(){constructor(_0x45881d,_0xf988e5){super(),this['id']=_0xf988e5['id'],this[_0x161d('0x24')]=_0xf988e5[_0x161d('0x24')],this[_0x161d('0xa')]=_0xf988e5[_0x161d('0xa')]||null,this[_0x161d('0xc')]=_0xf988e5[_0x161d('0xc')],this[_0x161d('0x16')]=_0xf988e5[_0x161d('0x16')]||_0xf988e5[_0x161d('0xc')],this['isExternal']=Boolean(_0xf988e5['attributes']&&_0xf988e5['attributes'][_0x161d('0x2a')]),this[_0x161d('0xf')]=null,this[_0x161d('0x2e')]=_0x45881d,this[_0x161d('0x17')]=_0xf988e5['onAccept'],this[_0x161d('0x1')]=_0xf988e5[_0x161d('0x32')],this['_onAttributesChange']=_0xf988e5[_0x161d('0x5')],this['_markerNames']=new Set(),this['createdAt']=null,this[_0x161d('0x3')](_0x161d('0x36'),null),this['set'](_0x161d('0x37'),_0xf988e5[_0x161d('0x37')]||{}),this['set'](_0x161d('0xb'),null),this['set'](_0x161d('0x9'),null),this[_0x161d('0x3')](_0x161d('0x0'),null),this['set'](_0x161d('0x2c'),!0x1),this[_0x161d('0x1f')](_0x161d('0x28')),this['decorate'](_0x161d('0x1b'));}get[_0x161d('0x38')](){let _0x5b8b06=this;for(;_0x5b8b06[_0x161d('0xb')];)_0x5b8b06=_0x5b8b06[_0x161d('0xb')];return _0x5b8b06;}get[_0x161d('0x12')](){return!!this[_0x161d('0x0')]&&this[_0x161d('0x0')]['length']>0x0;}get[_0x161d('0x6')](){if(0x0==this[_0x161d('0x2f')][_0x161d('0x31')])return!0x1;return 0x6==Array[_0x161d('0x35')](this[_0x161d('0x2f')])[0x0][_0x161d('0x13')](':')[_0x161d('0x1e')];}get['isInContent'](){return null!==this[_0x161d('0x10')]();}[_0x161d('0x18')](_0x416f50){this[_0x161d('0x2f')][_0x161d('0x19')](_0x416f50);}[_0x161d('0x7')](){return Array[_0x161d('0x35')](this[_0x161d('0x2f')]);}[_0x161d('0x34')](){return this[_0x161d('0x7')]()['map'](_0x42f501=>this['_model'][_0x161d('0x23')][_0x161d('0x15')](_0x42f501))[_0x161d('0x1c')](_0x207955=>_0x207955);}[_0x161d('0x10')](){return this[_0x161d('0x34')]()[0x0]||null;}[_0x161d('0x14')](){this[_0x161d('0x2e')][_0x161d('0x2b')](_0x589331=>{for(const _0xe169f6 of this[_0x161d('0x34')]())_0x589331[_0x161d('0x20')](_0xe169f6);}),this['_markerNames'][_0x161d('0x11')]();}['removeMarker'](_0x30c9e8){this[_0x161d('0x2e')][_0x161d('0x2b')](_0x361dc3=>{_0x361dc3[_0x161d('0x20')](_0x30c9e8);}),this[_0x161d('0x2f')][_0x161d('0x2d')](_0x30c9e8);}['addRange'](_0x596a8e){const _0x22bc6a=_0x161d('0x2')+this[_0x161d('0x24')]+':'+this['subType']+':'+this['id']+':'+this['creator']['id']+':'+u[_0x161d('0x4')]();this[_0x161d('0x18')](_0x22bc6a),this[_0x161d('0x2e')][_0x161d('0x2b')](_0x15f30f=>{_0x15f30f['addMarker'](_0x22bc6a,{'range':_0x596a8e,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x161d('0x22')](_0x3048bd){for(const _0x27c291 of this[_0x161d('0x1d')]())if(_0x27c291[_0x161d('0x1a')](_0x3048bd))return!0x0;return!0x1;}[_0x161d('0x1d')](){return this['getMarkers']()[_0x161d('0x30')](_0x564c05=>_0x564c05[_0x161d('0x3a')]());}[_0x161d('0x3c')](){return this[_0x161d('0x1d')]()[_0x161d('0x8')]((_0x4f579e,_0x5aaee8)=>[..._0x4f579e,..._0x5aaee8[_0x161d('0x3c')]()],[]);}[_0x161d('0x26')](){var _0x2256b8;return(null===(_0x2256b8=this[_0x161d('0x10')]())||void 0x0===_0x2256b8?void 0x0:_0x2256b8[_0x161d('0x3a')]())||null;}['getContainedElement'](){const _0x20b9e3=this[_0x161d('0x1d')]();if(0x1!=_0x20b9e3['length'])return null;const _0x32276a=_0x20b9e3[0x0],_0x4d5f48=_0x32276a['start'][_0x161d('0x3b')],_0x2fb071=_0x32276a[_0x161d('0x27')][_0x161d('0x39')];return _0x4d5f48 instanceof _0x16b3c1?_0x4d5f48!=_0x2fb071?null:_0x4d5f48:null;}['accept'](){this[_0x161d('0x17')](this['getRanges'](),this['data'],this[_0x161d('0x37')]),this[_0x161d('0x14')]();}['discard'](){this[_0x161d('0x1')](this[_0x161d('0x1d')](),this['data'],this[_0x161d('0x37')]),this[_0x161d('0x14')]();}[_0x161d('0x29')](){const _0xbeabaf=[];let _0xe6c8c8=this[_0x161d('0x38')];for(;_0xe6c8c8;)_0xbeabaf[_0x161d('0xe')](_0xe6c8c8),_0xe6c8c8=_0xe6c8c8[_0x161d('0x9')];return _0xbeabaf;}[_0x161d('0x25')](_0x44f27e,_0xcb2782){const _0xce1972=_0x1f67cb(this[_0x161d('0x37')]);_0x5609c3(_0xce1972,_0x44f27e,_0xcb2782),_0x3f9edb(_0xce1972,this[_0x161d('0x37')])||(this[_0x161d('0x37')]=_0xce1972,this[_0x161d('0x33')](_0xce1972));}[_0x161d('0x21')](_0x1e9030){const _0x56cd34=_0x1f67cb(this[_0x161d('0x37')]);_0x3becf1(_0x56cd34,_0x1e9030),_0x3f9edb(_0x56cd34,this[_0x161d('0x37')])||(this[_0x161d('0x37')]=_0x56cd34,this[_0x161d('0x33')](this['attributes']));}[_0x161d('0xd')](){return{'id':this['id'],'type':this[_0x161d('0xa')]?this[_0x161d('0x24')]+':'+this[_0x161d('0xa')]:this['type'],'authorId':this[_0x161d('0x16')]['id'],'createdAt':this['createdAt'],'hasComments':this['hasComments'],'data':this[_0x161d('0xf')],'attributes':this[_0x161d('0x37')]};}static[_0x161d('0x4')](){return _0x2834d9()['substr'](0x1,0x5);}}
23
+ const _0x2b73=['attributes','previous','getAllAdjacentSuggestions','isMultiRange','getMarkers','subType','clear','getFirstMarker','createdAt','author','isIntersecting','_markerNames','markers','data','map','_onDiscard','accept','head','decorate','getFirstRange','hasComments','split','isExternal','length','addRange','onAttributesChange','onAccept','removeAttribute','removeMarkers','add','reduce','getRanges','_onAccept','commentThread','getMarkerNames','isIntersectingWithRange','setAttribute','creator','removeMarker','filter','addMarker','start','end','_onAttributesChange','@external','size','getRange','_model','type','change','getItems','addMarkerName','nodeAfter','set','toJSON','delete','next','get','push','from'];(function(_0xb39818,_0x2b739f){const _0x31cbdf=function(_0xd0c9d){while(--_0xd0c9d){_0xb39818['push'](_0xb39818['shift']());}};_0x31cbdf(++_0x2b739f);}(_0x2b73,0x93));const _0x31cb=function(_0xb39818,_0x2b739f){_0xb39818=_0xb39818-0x0;let _0x31cbdf=_0x2b73[_0xb39818];return _0x31cbdf;};import{Element as _0x47071d}from'ckeditor5/src/engine';import{ObservableMixin as _0x5b0687,uid as _0x1b3a2d}from'ckeditor5/src/utils';import{cloneDeep as _0x19c4ff,isEqual as _0xf12f9,set as _0x39c4a2,unset as _0x1499da}from'lodash-es';export default class u extends _0x5b0687(){constructor(_0x48ed87,_0x21f36a){super(),this['id']=_0x21f36a['id'],this[_0x31cb('0x15')]=_0x21f36a[_0x31cb('0x15')],this[_0x31cb('0x26')]=_0x21f36a[_0x31cb('0x26')]||null,this[_0x31cb('0x2a')]=_0x21f36a[_0x31cb('0x2a')],this[_0x31cb('0xa')]=_0x21f36a['creator']||_0x21f36a['author'],this[_0x31cb('0x37')]=Boolean(_0x21f36a[_0x31cb('0x21')]&&_0x21f36a[_0x31cb('0x21')][_0x31cb('0x11')]),this[_0x31cb('0x2e')]=null,this[_0x31cb('0x14')]=_0x48ed87,this['_onAccept']=_0x21f36a[_0x31cb('0x3b')],this['_onDiscard']=_0x21f36a['onDiscard'],this[_0x31cb('0x10')]=_0x21f36a[_0x31cb('0x3a')],this[_0x31cb('0x2c')]=new Set(),this[_0x31cb('0x29')]=null,this[_0x31cb('0x1a')]('authoredAt',null),this[_0x31cb('0x1a')](_0x31cb('0x21'),_0x21f36a[_0x31cb('0x21')]||{}),this[_0x31cb('0x1a')](_0x31cb('0x22'),null),this['set'](_0x31cb('0x1d'),null),this[_0x31cb('0x1a')]('commentThread',null),this[_0x31cb('0x1a')]('_saved',!0x1),this[_0x31cb('0x33')]('accept'),this[_0x31cb('0x33')]('discard');}get[_0x31cb('0x32')](){let _0xbf482e=this;for(;_0xbf482e[_0x31cb('0x22')];)_0xbf482e=_0xbf482e[_0x31cb('0x22')];return _0xbf482e;}get[_0x31cb('0x35')](){return!!this[_0x31cb('0x6')]&&this['commentThread'][_0x31cb('0x38')]>0x0;}get[_0x31cb('0x24')](){if(0x0==this[_0x31cb('0x2c')][_0x31cb('0x12')])return!0x1;return 0x6==Array[_0x31cb('0x20')](this[_0x31cb('0x2c')])[0x0][_0x31cb('0x36')](':')[_0x31cb('0x38')];}get['isInContent'](){return null!==this['getFirstMarker']();}[_0x31cb('0x18')](_0x3d5b77){this[_0x31cb('0x2c')][_0x31cb('0x2')](_0x3d5b77);}[_0x31cb('0x7')](){return Array['from'](this['_markerNames']);}[_0x31cb('0x25')](){return this[_0x31cb('0x7')]()[_0x31cb('0x2f')](_0x3f31eb=>this[_0x31cb('0x14')][_0x31cb('0x2d')][_0x31cb('0x1e')](_0x3f31eb))[_0x31cb('0xc')](_0x4829b3=>_0x4829b3);}['getFirstMarker'](){return this[_0x31cb('0x25')]()[0x0]||null;}['removeMarkers'](){this[_0x31cb('0x14')][_0x31cb('0x16')](_0x42fa01=>{for(const _0x34b7f8 of this['getMarkers']())_0x42fa01['removeMarker'](_0x34b7f8);}),this[_0x31cb('0x2c')][_0x31cb('0x27')]();}[_0x31cb('0xb')](_0x27e2a3){this[_0x31cb('0x14')][_0x31cb('0x16')](_0x1f181f=>{_0x1f181f[_0x31cb('0xb')](_0x27e2a3);}),this['_markerNames'][_0x31cb('0x1c')](_0x27e2a3);}[_0x31cb('0x39')](_0x3b06f0){const _0x5c8f29='suggestion:'+this[_0x31cb('0x15')]+':'+this['subType']+':'+this['id']+':'+this[_0x31cb('0xa')]['id']+':'+u['getMultiRangeId']();this[_0x31cb('0x18')](_0x5c8f29),this[_0x31cb('0x14')][_0x31cb('0x16')](_0x1f25b0=>{_0x1f25b0[_0x31cb('0xd')](_0x5c8f29,{'range':_0x3b06f0,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x31cb('0x8')](_0x40ede3){for(const _0x3673fd of this['getRanges']())if(_0x3673fd[_0x31cb('0x2b')](_0x40ede3))return!0x0;return!0x1;}['getRanges'](){return this[_0x31cb('0x25')]()[_0x31cb('0x2f')](_0x51986c=>_0x51986c['getRange']());}[_0x31cb('0x17')](){return this['getRanges']()[_0x31cb('0x3')]((_0xa72284,_0x200a78)=>[..._0xa72284,..._0x200a78[_0x31cb('0x17')]()],[]);}[_0x31cb('0x34')](){var _0xa6345c;return(null===(_0xa6345c=this[_0x31cb('0x28')]())||void 0x0===_0xa6345c?void 0x0:_0xa6345c[_0x31cb('0x13')]())||null;}['getContainedElement'](){const _0x14f838=this[_0x31cb('0x4')]();if(0x1!=_0x14f838['length'])return null;const _0x54fc8=_0x14f838[0x0],_0x5e5c7d=_0x54fc8[_0x31cb('0xe')][_0x31cb('0x19')],_0x7a7692=_0x54fc8[_0x31cb('0xf')]['nodeBefore'];return _0x5e5c7d instanceof _0x47071d?_0x5e5c7d!=_0x7a7692?null:_0x5e5c7d:null;}[_0x31cb('0x31')](){this[_0x31cb('0x5')](this[_0x31cb('0x4')](),this[_0x31cb('0x2e')],this[_0x31cb('0x21')]),this[_0x31cb('0x1')]();}['discard'](){this[_0x31cb('0x30')](this[_0x31cb('0x4')](),this[_0x31cb('0x2e')],this[_0x31cb('0x21')]),this[_0x31cb('0x1')]();}[_0x31cb('0x23')](){const _0x9ef025=[];let _0x2563a8=this[_0x31cb('0x32')];for(;_0x2563a8;)_0x9ef025[_0x31cb('0x1f')](_0x2563a8),_0x2563a8=_0x2563a8[_0x31cb('0x1d')];return _0x9ef025;}[_0x31cb('0x9')](_0x2c929b,_0xb78f79){const _0x299696=_0x19c4ff(this[_0x31cb('0x21')]);_0x39c4a2(_0x299696,_0x2c929b,_0xb78f79),_0xf12f9(_0x299696,this[_0x31cb('0x21')])||(this['attributes']=_0x299696,this[_0x31cb('0x10')](_0x299696));}[_0x31cb('0x0')](_0x2e520b){const _0x394fa4=_0x19c4ff(this['attributes']);_0x1499da(_0x394fa4,_0x2e520b),_0xf12f9(_0x394fa4,this[_0x31cb('0x21')])||(this[_0x31cb('0x21')]=_0x394fa4,this[_0x31cb('0x10')](this[_0x31cb('0x21')]));}[_0x31cb('0x1b')](){return{'id':this['id'],'type':this[_0x31cb('0x26')]?this[_0x31cb('0x15')]+':'+this[_0x31cb('0x26')]:this['type'],'authorId':this[_0x31cb('0xa')]['id'],'createdAt':this[_0x31cb('0x29')],'hasComments':this[_0x31cb('0x35')],'data':this[_0x31cb('0x2e')],'attributes':this[_0x31cb('0x21')]};}static['getMultiRangeId'](){return _0x1b3a2d()['substr'](0x1,0x5);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x10ce=['elementStart','element','text','nextSibling','name','isInContent','deletion','addContainer','start','getItemLabel','getFirstRange','$text','matchingCallback','item','Container','_locale','type','_resolveDescriptionItems','end','skip','_itemLabelsCallbacks','_addDescriptionItems','function','add','replace','*Remove:*\x20%0','previousSibling','indexOf','removeObject','pop','length','insertion','push','_customCallbacks','*Split:*\x20%0','getDescriptions','data','get','set','$textProxy','REPLACE_TEXT','quantity','$1\x20$2','elementEnd','_schema','getWalker','EmptyContainer','match','softBreak','*Insert:*\x20%0','addObject','remove','registerElementLabel','isObject','ELEMENT_SPACE','_itemLabels','Object','isEmpty'];(function(_0x28ff36,_0x10ce45){const _0x154d5b=function(_0x343322){while(--_0x343322){_0x28ff36['push'](_0x28ff36['shift']());}};_0x154d5b(++_0x10ce45);}(_0x10ce,0x110));const _0x154d=function(_0x28ff36,_0x10ce45){_0x28ff36=_0x28ff36-0x0;let _0x154d5b=_0x10ce[_0x28ff36];return _0x154d5b;};import{getTranslation as _0x3c1f73}from'./utils/common-translations';import{priorities as _0x21166f,insertToPriorityArray as _0xa60ba7}from'ckeditor5/src/utils';export default class m{constructor(_0x820bcd,_0x4260e3){this['_customCallbacks']=[],this[_0x154d('0xf')]=new Map(),this[_0x154d('0x26')]=[],this[_0x154d('0x4')]=_0x820bcd,this[_0x154d('0x21')]=_0x4260e3;}[_0x154d('0x35')](_0x456bd7){const _0x145d98=[];for(let _0x10df78=0x0;_0x10df78<_0x456bd7[_0x154d('0x30')];_0x10df78++){const _0x473dc6=_0x456bd7[_0x10df78];if(!_0x473dc6[_0x154d('0x17')])continue;let _0x178681=!0x1;for(const _0x3bec66 of this[_0x154d('0x33')]){const _0x5b2938=_0x3bec66(_0x473dc6);if(_0x5b2938){'type'in _0x5b2938&&_0x145d98['push'](_0x5b2938),_0x178681=!0x0;break;}}if(!_0x178681){this['_addDescriptionItems'](_0x145d98,_0x473dc6);const _0x5352f6=_0x456bd7[_0x10df78+0x1];if(_0x5352f6&&!_0x473dc6[_0x154d('0x1c')]()[_0x154d('0x24')]['isEqual'](_0x5352f6['getFirstRange']()[_0x154d('0x1a')])){const _0xc251fd=_0x145d98[_0x145d98[_0x154d('0x30')]-0x1],_0x12318d=_0x154d('0x31')==_0x473dc6[_0x154d('0x22')]?_0x154d('0x29'):_0x154d('0xb');_0xc251fd&&'text'==_0xc251fd[_0x154d('0x22')]&&(_0xc251fd[_0x12318d]+='\x0a');}}}return this[_0x154d('0x23')](_0x145d98);}['registerDescriptionCallback'](_0x2442bd){this[_0x154d('0x33')][_0x154d('0x32')](_0x2442bd);}[_0x154d('0xc')](_0x3f5bd6,_0x43685a,_0x188405=_0x21166f['normal']){_0x154d('0x28')==typeof _0x3f5bd6?_0xa60ba7(this[_0x154d('0x26')],{'matchingCallback':_0x3f5bd6,'label':_0x43685a,'priority':_0x188405}):this[_0x154d('0xf')][_0x154d('0x38')](_0x3f5bd6,_0x43685a);}[_0x154d('0x1b')](_0x1c11b6,_0x51cfbe=0x1){let _0xd1bed;for(const _0x471c33 of this[_0x154d('0x26')])if(_0x471c33[_0x154d('0x1e')](_0x1c11b6)){_0xd1bed=_0x471c33['label'];break;}return _0xd1bed||(_0xd1bed=this[_0x154d('0xf')][_0x154d('0x37')](_0x1c11b6[_0x154d('0x16')])),_0xd1bed?_0xd1bed(_0x51cfbe):0x1!==_0x51cfbe?_0x51cfbe+'\x20'+_0x1c11b6[_0x154d('0x16')]+'s':''+_0x1c11b6[_0x154d('0x16')];}[_0x154d('0x27')](_0x41306a,_0x487418){const _0x517b39=_0x487418[_0x154d('0x1c')]()[_0x154d('0x5')](),_0x3d1d48=_0x154d('0x31')==_0x487418[_0x154d('0x22')]?_0x154d('0x29'):'remove';for(const _0x4d6ce6 of _0x517b39){const _0xaa44cf=_0x4d6ce6[_0x154d('0x1f')],_0x1c5be8=_0x41306a[_0x41306a[_0x154d('0x30')]-0x1];if(_0xaa44cf['is'](_0x154d('0x39')))_0x1c5be8&&_0x1c5be8[_0x154d('0x22')][_0x154d('0x2d')](_0x154d('0x20'))>-0x1&&_0x41306a[_0x154d('0x2f')](),_0x1c5be8&&'text'==_0x1c5be8[_0x154d('0x22')]?_0x1c5be8[_0x3d1d48]+=_0xaa44cf[_0x154d('0x36')]:_0x41306a[_0x154d('0x32')]({'type':_0x154d('0x14'),'add':_0x154d('0x29')==_0x3d1d48?_0xaa44cf[_0x154d('0x36')]:'','remove':_0x154d('0xb')==_0x3d1d48?_0xaa44cf[_0x154d('0x36')]:''});else{if(this[_0x154d('0x4')][_0x154d('0xd')](_0xaa44cf)){const _0x154ad1=_0xaa44cf;if(_0x1c5be8&&_0x1c5be8['type'][_0x154d('0x2d')](_0x154d('0x20'))>-0x1&&_0x41306a[_0x154d('0x2f')](),'elementEnd'==_0x4d6ce6[_0x154d('0x22')])continue;_0x1c5be8&&_0x1c5be8[_0x154d('0x22')]==_0x3d1d48+_0x154d('0x10')&&_0x1c5be8[_0x154d('0x13')]['name']==_0x154ad1['name']?_0x1c5be8[_0x154d('0x1')]++:_0x41306a[_0x154d('0x32')]({'type':_0x3d1d48+'Object','element':_0x154ad1,'quantity':0x1}),_0x517b39[_0x154d('0x25')](_0x56548a=>!(_0x154d('0x3')==_0x56548a[_0x154d('0x22')]&&_0x56548a[_0x154d('0x1f')]==_0xaa44cf));}else{if(this[_0x154d('0x4')]['checkChild'](_0xaa44cf,_0x154d('0x1d'))||_0xaa44cf['is'](_0x154d('0x13'),_0x154d('0x8'))){const _0x3e19b6=_0xaa44cf;if(_0x154d('0x29')==_0x3d1d48&&_0x154d('0x12')==_0x4d6ce6[_0x154d('0x22')]||_0x154d('0xb')==_0x3d1d48&&'elementEnd'==_0x4d6ce6['type'])continue;if(_0x1c5be8&&-0x1==_0x1c5be8[_0x154d('0x22')][_0x154d('0x2d')](_0x154d('0x20'))){'text'==_0x1c5be8[_0x154d('0x22')]&&(_0x1c5be8[_0x3d1d48]+='\x0a');continue;}let _0x23acd0;if(_0x23acd0=_0x154d('0x29')==_0x3d1d48?_0x3e19b6[_0x154d('0x15')]&&!this['_schema'][_0x154d('0xd')](_0x3e19b6['nextSibling'])?_0x3e19b6[_0x154d('0x15')]:null:_0x3e19b6[_0x154d('0x2c')]&&!this['_schema'][_0x154d('0xd')](_0x3e19b6['previousSibling'])?_0x3e19b6['previousSibling']:null,_0x3e19b6['isEmpty']||_0x23acd0&&_0x23acd0[_0x154d('0x11')]){const _0x2ca547=_0x23acd0&&_0x23acd0[_0x154d('0x11')]?_0x23acd0:_0x3e19b6;_0x1c5be8&&_0x1c5be8['type']==_0x3d1d48+_0x154d('0x6')&&_0x1c5be8[_0x154d('0x13')]['name']==_0x2ca547[_0x154d('0x16')]?_0x1c5be8[_0x154d('0x1')]++:_0x41306a['push']({'type':_0x3d1d48+_0x154d('0x6'),'element':_0x2ca547,'quantity':0x1});}else _0x41306a[_0x154d('0x32')]({'type':_0x3d1d48+_0x154d('0x20'),'element':_0x3e19b6});}}}}}[_0x154d('0x23')](_0x4b399a){const _0x5ef293=this[_0x154d('0x21')],_0x162b95=[];for(const _0x3dc6e1 of _0x4b399a){switch(_0x3dc6e1[_0x154d('0x22')]){case _0x154d('0x14'):if(_0x3dc6e1[_0x154d('0x29')]=_0x3dc6e1['add'][_0x154d('0x2a')](/(\S)\u000A+(\S)/g,_0x154d('0x2'))['replace'](/\u000A/g,''),_0x3dc6e1[_0x154d('0xb')]=_0x3dc6e1[_0x154d('0xb')][_0x154d('0x2a')](/(\S)\u000A+(\S)/g,_0x154d('0x2'))[_0x154d('0x2a')](/\u000A/g,''),''!=_0x3dc6e1['add']&&''!=_0x3dc6e1[_0x154d('0xb')]){_0x162b95[_0x154d('0x32')]({'type':_0x154d('0x2a'),'content':_0x3c1f73(_0x5ef293,_0x154d('0x0'),['\x22'+_0x3dc6e1[_0x154d('0xb')]+'\x22','\x22'+_0x3dc6e1[_0x154d('0x29')]+'\x22'])});continue;}if(null!=_0x3dc6e1[_0x154d('0x29')][_0x154d('0x7')](/^ +$/)){_0x162b95['push']({'type':'insertion','content':_0x3c1f73(_0x5ef293,'*Insert:*\x20%0',_0x3c1f73(_0x5ef293,_0x154d('0xe'),_0x3dc6e1['add']['length']))});continue;}if(null!=_0x3dc6e1[_0x154d('0xb')][_0x154d('0x7')](/^ +$/)){_0x162b95[_0x154d('0x32')]({'type':_0x154d('0x18'),'content':_0x3c1f73(_0x5ef293,_0x154d('0x2b'),_0x3c1f73(_0x5ef293,_0x154d('0xe'),_0x3dc6e1[_0x154d('0xb')][_0x154d('0x30')]))});continue;}if(''!=_0x3dc6e1[_0x154d('0x29')]){_0x162b95[_0x154d('0x32')]({'type':_0x154d('0x31'),'content':_0x3c1f73(_0x5ef293,_0x154d('0x9'),'\x22'+_0x3dc6e1[_0x154d('0x29')]+'\x22')});continue;}_0x162b95['push']({'type':_0x154d('0x18'),'content':_0x3c1f73(_0x5ef293,_0x154d('0x2b'),'\x22'+_0x3dc6e1['remove']+'\x22')});continue;case'addEmptyContainer':case _0x154d('0xa'):_0x162b95[_0x154d('0x32')]({'type':_0x154d('0x31'),'content':_0x3c1f73(_0x5ef293,_0x154d('0x9'),this[_0x154d('0x1b')](_0x3dc6e1[_0x154d('0x13')],_0x3dc6e1['quantity']))});continue;case'removeEmptyContainer':case _0x154d('0x2e'):_0x162b95[_0x154d('0x32')]({'type':_0x154d('0x18'),'content':_0x3c1f73(_0x5ef293,_0x154d('0x2b'),this[_0x154d('0x1b')](_0x3dc6e1[_0x154d('0x13')],_0x3dc6e1[_0x154d('0x1')]))});continue;case _0x154d('0x19'):_0x162b95[_0x154d('0x32')]({'type':_0x154d('0x31'),'content':_0x3c1f73(_0x5ef293,_0x154d('0x34'),this['getItemLabel'](_0x3dc6e1[_0x154d('0x13')],_0x3dc6e1[_0x154d('0x1')]))});continue;case'removeContainer':_0x162b95[_0x154d('0x32')]({'type':_0x154d('0x18'),'content':_0x3c1f73(_0x5ef293,'*Merge:*\x20%0',this['getItemLabel'](_0x3dc6e1[_0x154d('0x13')],_0x3dc6e1[_0x154d('0x1')]))});continue;}_0x162b95[_0x154d('0x32')](_0x3dc6e1);}return _0x162b95;}}
23
+ const _0x2870=['text','Container','getFirstRange','*Insert:*\x20%0','push','start','length','$1\x20$2','data','addObject','label','function','replace','_itemLabels','$textProxy','_itemLabelsCallbacks','$text','ELEMENT_SPACE','normal','isInContent','isEqual','quantity','matchingCallback','addEmptyContainer','*Remove:*\x20%0','insertion','getItemLabel','add','_addDescriptionItems','Object','softBreak','name','end','skip','_schema','_customCallbacks','get','_resolveDescriptionItems','_locale','getDescriptions','element','EmptyContainer','deletion','remove','type','removeObject','REPLACE_TEXT','set','removeEmptyContainer','item','*Merge:*\x20%0','isEmpty','nextSibling','isObject','checkChild','indexOf','previousSibling','removeContainer','elementEnd'];(function(_0xc26c73,_0x287005){const _0x9296b8=function(_0x2bcb76){while(--_0x2bcb76){_0xc26c73['push'](_0xc26c73['shift']());}};_0x9296b8(++_0x287005);}(_0x2870,0x97));const _0x9296=function(_0xc26c73,_0x287005){_0xc26c73=_0xc26c73-0x0;let _0x9296b8=_0x2870[_0xc26c73];return _0x9296b8;};import{getTranslation as _0x341508}from'./utils/common-translations';import{priorities as _0x1e5fb7,insertToPriorityArray as _0x9915e0}from'ckeditor5/src/utils';export default class m{constructor(_0x3a61cb,_0x468ea4){this[_0x9296('0x2')]=[],this['_itemLabels']=new Map(),this[_0x9296('0x29')]=[],this[_0x9296('0x1')]=_0x3a61cb,this[_0x9296('0x5')]=_0x468ea4;}[_0x9296('0x6')](_0x1aa3c5){const _0x1ad948=[];for(let _0x2da321=0x0;_0x2da321<_0x1aa3c5['length'];_0x2da321++){const _0x29be0a=_0x1aa3c5[_0x2da321];if(!_0x29be0a[_0x9296('0x2d')])continue;let _0x2fefc7=!0x1;for(const _0x402f76 of this[_0x9296('0x2')]){const _0x2a54f3=_0x402f76(_0x29be0a);if(_0x2a54f3){_0x9296('0xb')in _0x2a54f3&&_0x1ad948[_0x9296('0x1e')](_0x2a54f3),_0x2fefc7=!0x0;break;}}if(!_0x2fefc7){this[_0x9296('0x36')](_0x1ad948,_0x29be0a);const _0x4c5c00=_0x1aa3c5[_0x2da321+0x1];if(_0x4c5c00&&!_0x29be0a[_0x9296('0x1c')]()[_0x9296('0x3a')][_0x9296('0x2e')](_0x4c5c00['getFirstRange']()[_0x9296('0x1f')])){const _0x1ad0e7=_0x1ad948[_0x1ad948[_0x9296('0x20')]-0x1],_0x17d5e8='insertion'==_0x29be0a[_0x9296('0xb')]?_0x9296('0x35'):_0x9296('0xa');_0x1ad0e7&&'text'==_0x1ad0e7[_0x9296('0xb')]&&(_0x1ad0e7[_0x17d5e8]+='\x0a');}}}return this['_resolveDescriptionItems'](_0x1ad948);}['registerDescriptionCallback'](_0x4888b0){this['_customCallbacks']['push'](_0x4888b0);}['registerElementLabel'](_0x3bbd71,_0xdbf7fa,_0x343b86=_0x1e5fb7[_0x9296('0x2c')]){_0x9296('0x25')==typeof _0x3bbd71?_0x9915e0(this[_0x9296('0x29')],{'matchingCallback':_0x3bbd71,'label':_0xdbf7fa,'priority':_0x343b86}):this[_0x9296('0x27')][_0x9296('0xe')](_0x3bbd71,_0xdbf7fa);}[_0x9296('0x34')](_0x5ebcd,_0x2a9361=0x1){let _0x5887b4;for(const _0x407bc3 of this[_0x9296('0x29')])if(_0x407bc3[_0x9296('0x30')](_0x5ebcd)){_0x5887b4=_0x407bc3[_0x9296('0x24')];break;}return _0x5887b4||(_0x5887b4=this['_itemLabels'][_0x9296('0x3')](_0x5ebcd[_0x9296('0x39')])),_0x5887b4?_0x5887b4(_0x2a9361):0x1!==_0x2a9361?_0x2a9361+'\x20'+_0x5ebcd['name']+'s':''+_0x5ebcd['name'];}[_0x9296('0x36')](_0x18a61f,_0x5339f4){const _0x3168d2=_0x5339f4[_0x9296('0x1c')]()['getWalker'](),_0x4982f4=_0x9296('0x33')==_0x5339f4[_0x9296('0xb')]?_0x9296('0x35'):_0x9296('0xa');for(const _0x346e1f of _0x3168d2){const _0x18e270=_0x346e1f[_0x9296('0x10')],_0x246472=_0x18a61f[_0x18a61f['length']-0x1];if(_0x18e270['is'](_0x9296('0x28')))_0x246472&&_0x246472[_0x9296('0xb')][_0x9296('0x16')](_0x9296('0x1b'))>-0x1&&_0x18a61f['pop'](),_0x246472&&'text'==_0x246472[_0x9296('0xb')]?_0x246472[_0x4982f4]+=_0x18e270[_0x9296('0x22')]:_0x18a61f[_0x9296('0x1e')]({'type':'text','add':'add'==_0x4982f4?_0x18e270['data']:'','remove':'remove'==_0x4982f4?_0x18e270['data']:''});else{if(this['_schema']['isObject'](_0x18e270)){const _0x474c4f=_0x18e270;if(_0x246472&&_0x246472[_0x9296('0xb')][_0x9296('0x16')](_0x9296('0x1b'))>-0x1&&_0x18a61f['pop'](),_0x9296('0x19')==_0x346e1f[_0x9296('0xb')])continue;_0x246472&&_0x246472[_0x9296('0xb')]==_0x4982f4+'Object'&&_0x246472[_0x9296('0x7')]['name']==_0x474c4f[_0x9296('0x39')]?_0x246472[_0x9296('0x2f')]++:_0x18a61f[_0x9296('0x1e')]({'type':_0x4982f4+_0x9296('0x37'),'element':_0x474c4f,'quantity':0x1}),_0x3168d2[_0x9296('0x0')](_0x7e0cdf=>!('elementEnd'==_0x7e0cdf[_0x9296('0xb')]&&_0x7e0cdf[_0x9296('0x10')]==_0x18e270));}else{if(this[_0x9296('0x1')][_0x9296('0x15')](_0x18e270,_0x9296('0x2a'))||_0x18e270['is']('element',_0x9296('0x38'))){const _0x44d319=_0x18e270;if(_0x9296('0x35')==_0x4982f4&&'elementStart'==_0x346e1f[_0x9296('0xb')]||'remove'==_0x4982f4&&_0x9296('0x19')==_0x346e1f[_0x9296('0xb')])continue;if(_0x246472&&-0x1==_0x246472['type'][_0x9296('0x16')](_0x9296('0x1b'))){_0x9296('0x1a')==_0x246472[_0x9296('0xb')]&&(_0x246472[_0x4982f4]+='\x0a');continue;}let _0x3800b0;if(_0x3800b0='add'==_0x4982f4?_0x44d319[_0x9296('0x13')]&&!this[_0x9296('0x1')]['isObject'](_0x44d319['nextSibling'])?_0x44d319[_0x9296('0x13')]:null:_0x44d319[_0x9296('0x17')]&&!this[_0x9296('0x1')][_0x9296('0x14')](_0x44d319[_0x9296('0x17')])?_0x44d319[_0x9296('0x17')]:null,_0x44d319[_0x9296('0x12')]||_0x3800b0&&_0x3800b0[_0x9296('0x12')]){const _0x19df12=_0x3800b0&&_0x3800b0[_0x9296('0x12')]?_0x3800b0:_0x44d319;_0x246472&&_0x246472['type']==_0x4982f4+_0x9296('0x8')&&_0x246472['element'][_0x9296('0x39')]==_0x19df12[_0x9296('0x39')]?_0x246472[_0x9296('0x2f')]++:_0x18a61f[_0x9296('0x1e')]({'type':_0x4982f4+_0x9296('0x8'),'element':_0x19df12,'quantity':0x1});}else _0x18a61f[_0x9296('0x1e')]({'type':_0x4982f4+_0x9296('0x1b'),'element':_0x44d319});}}}}}[_0x9296('0x4')](_0x22e483){const _0x45ba39=this[_0x9296('0x5')],_0x171af2=[];for(const _0x4a5b3c of _0x22e483){switch(_0x4a5b3c[_0x9296('0xb')]){case _0x9296('0x1a'):if(_0x4a5b3c[_0x9296('0x35')]=_0x4a5b3c[_0x9296('0x35')][_0x9296('0x26')](/(\S)\u000A+(\S)/g,_0x9296('0x21'))[_0x9296('0x26')](/\u000A/g,''),_0x4a5b3c[_0x9296('0xa')]=_0x4a5b3c[_0x9296('0xa')][_0x9296('0x26')](/(\S)\u000A+(\S)/g,_0x9296('0x21'))[_0x9296('0x26')](/\u000A/g,''),''!=_0x4a5b3c[_0x9296('0x35')]&&''!=_0x4a5b3c[_0x9296('0xa')]){_0x171af2[_0x9296('0x1e')]({'type':_0x9296('0x26'),'content':_0x341508(_0x45ba39,_0x9296('0xd'),['\x22'+_0x4a5b3c[_0x9296('0xa')]+'\x22','\x22'+_0x4a5b3c[_0x9296('0x35')]+'\x22'])});continue;}if(null!=_0x4a5b3c['add']['match'](/^ +$/)){_0x171af2[_0x9296('0x1e')]({'type':_0x9296('0x33'),'content':_0x341508(_0x45ba39,_0x9296('0x1d'),_0x341508(_0x45ba39,_0x9296('0x2b'),_0x4a5b3c[_0x9296('0x35')]['length']))});continue;}if(null!=_0x4a5b3c[_0x9296('0xa')]['match'](/^ +$/)){_0x171af2[_0x9296('0x1e')]({'type':_0x9296('0x9'),'content':_0x341508(_0x45ba39,_0x9296('0x32'),_0x341508(_0x45ba39,_0x9296('0x2b'),_0x4a5b3c[_0x9296('0xa')][_0x9296('0x20')]))});continue;}if(''!=_0x4a5b3c[_0x9296('0x35')]){_0x171af2[_0x9296('0x1e')]({'type':_0x9296('0x33'),'content':_0x341508(_0x45ba39,'*Insert:*\x20%0','\x22'+_0x4a5b3c[_0x9296('0x35')]+'\x22')});continue;}_0x171af2['push']({'type':_0x9296('0x9'),'content':_0x341508(_0x45ba39,_0x9296('0x32'),'\x22'+_0x4a5b3c['remove']+'\x22')});continue;case _0x9296('0x31'):case _0x9296('0x23'):_0x171af2[_0x9296('0x1e')]({'type':'insertion','content':_0x341508(_0x45ba39,'*Insert:*\x20%0',this[_0x9296('0x34')](_0x4a5b3c[_0x9296('0x7')],_0x4a5b3c['quantity']))});continue;case _0x9296('0xf'):case _0x9296('0xc'):_0x171af2[_0x9296('0x1e')]({'type':_0x9296('0x9'),'content':_0x341508(_0x45ba39,_0x9296('0x32'),this[_0x9296('0x34')](_0x4a5b3c[_0x9296('0x7')],_0x4a5b3c[_0x9296('0x2f')]))});continue;case'addContainer':_0x171af2[_0x9296('0x1e')]({'type':'insertion','content':_0x341508(_0x45ba39,'*Split:*\x20%0',this['getItemLabel'](_0x4a5b3c[_0x9296('0x7')],_0x4a5b3c[_0x9296('0x2f')]))});continue;case _0x9296('0x18'):_0x171af2[_0x9296('0x1e')]({'type':'deletion','content':_0x341508(_0x45ba39,_0x9296('0x11'),this[_0x9296('0x34')](_0x4a5b3c[_0x9296('0x7')],_0x4a5b3c['quantity']))});continue;}_0x171af2[_0x9296('0x1e')](_0x4a5b3c);}return _0x171af2;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x105d=['requires','editor','getSuggestion','pluginName','plugins','adapter','Comments','getSuggestions','get','addSuggestion'];(function(_0xb9379f,_0x105d0d){var _0x5ebbca=function(_0x572785){while(--_0x572785){_0xb9379f['push'](_0xb9379f['shift']());}};_0x5ebbca(++_0x105d0d);}(_0x105d,0x94));var _0x5ebb=function(_0xb9379f,_0x105d0d){_0xb9379f=_0xb9379f-0x0;var _0x5ebbca=_0x105d[_0xb9379f];return _0x5ebbca;};import{Plugin as _0x1dfabe}from'ckeditor5/src/core';import _0x4e2782 from'./trackchangesui';import _0x151f20 from'./trackchangesediting';import'ckeditor5-collaboration/src/collaboration-core';export default class k extends _0x1dfabe{static get[_0x5ebb('0x2')](){return[_0x151f20,_0x4e2782,_0x5ebb('0x8')];}static get[_0x5ebb('0x5')](){return'TrackChanges';}set[_0x5ebb('0x7')](_0x1c4804){this[_0x5ebb('0x3')][_0x5ebb('0x6')][_0x5ebb('0x0')](_0x151f20)[_0x5ebb('0x7')]=_0x1c4804;}get[_0x5ebb('0x7')](){return this[_0x5ebb('0x3')][_0x5ebb('0x6')]['get'](_0x151f20)[_0x5ebb('0x7')];}[_0x5ebb('0x1')](_0x502c8c){return this[_0x5ebb('0x3')][_0x5ebb('0x6')][_0x5ebb('0x0')](_0x151f20)['addSuggestionData'](_0x502c8c);}[_0x5ebb('0x9')]({skipNotAttached:_0x375c16=!0x1,toJSON:_0x3d6b34=!0x1}={}){return this[_0x5ebb('0x3')][_0x5ebb('0x6')][_0x5ebb('0x0')](_0x151f20)[_0x5ebb('0x9')]({'skipNotAttached':_0x375c16,'toJSON':_0x3d6b34});}[_0x5ebb('0x4')](_0x3b566f){return this['editor'][_0x5ebb('0x6')][_0x5ebb('0x0')](_0x151f20)['getSuggestion'](_0x3b566f);}}
23
+ var _0x43b3=['adapter','plugins','editor','requires','getSuggestions','getSuggestion','Comments','addSuggestion','pluginName','TrackChanges','get'];(function(_0x1343c7,_0x43b35e){var _0x2c2935=function(_0x454943){while(--_0x454943){_0x1343c7['push'](_0x1343c7['shift']());}};_0x2c2935(++_0x43b35e);}(_0x43b3,0xb4));var _0x2c29=function(_0x1343c7,_0x43b35e){_0x1343c7=_0x1343c7-0x0;var _0x2c2935=_0x43b3[_0x1343c7];return _0x2c2935;};import{Plugin as _0x25338e}from'ckeditor5/src/core';import _0x4db8d1 from'./trackchangesui';import _0x459958 from'./trackchangesediting';import'ckeditor5-collaboration/src/collaboration-core';export default class k extends _0x25338e{static get[_0x2c29('0xa')](){return[_0x459958,_0x4db8d1,_0x2c29('0x2')];}static get[_0x2c29('0x4')](){return _0x2c29('0x5');}set[_0x2c29('0x7')](_0x589769){this[_0x2c29('0x9')][_0x2c29('0x8')]['get'](_0x459958)['adapter']=_0x589769;}get[_0x2c29('0x7')](){return this[_0x2c29('0x9')][_0x2c29('0x8')][_0x2c29('0x6')](_0x459958)[_0x2c29('0x7')];}[_0x2c29('0x3')](_0x520db1){return this[_0x2c29('0x9')][_0x2c29('0x8')][_0x2c29('0x6')](_0x459958)['addSuggestionData'](_0x520db1);}['getSuggestions']({skipNotAttached:_0x15c156=!0x1,toJSON:_0x59a80a=!0x1}={}){return this[_0x2c29('0x9')][_0x2c29('0x8')][_0x2c29('0x6')](_0x459958)[_0x2c29('0x0')]({'skipNotAttached':_0x15c156,'toJSON':_0x59a80a});}[_0x2c29('0x1')](_0x550355){return this['editor'][_0x2c29('0x8')][_0x2c29('0x6')](_0x459958)[_0x2c29('0x1')](_0x550355);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2d3e=['users','plugins','trackChangesData','define','_adapter','reduce','appendChild','Pagination','pluginName','getRootsAttributes','acceptAllSuggestions','model','TrackChangesData','useAnonymousUser','createDocumentFragment','document','result','Users','rootsAttributes','create','end','TrackChangesDataGetter','getRootNames','getFullData','function','data','discardAllSuggestions','config','getSuggestions','get','constructor','CommentsRepository','editorCreator','name','getUser','div','map','getDataWithDiscardedSuggestions','TrackChangesEditing','editor','destroy','init','execute','createElement'];(function(_0x10bd4b,_0x2d3ef7){const _0x392e89=function(_0x571dec){while(--_0x571dec){_0x10bd4b['push'](_0x10bd4b['shift']());}};_0x392e89(++_0x2d3ef7);}(_0x2d3e,0xaa));const _0x392e=function(_0x10bd4b,_0x2d3ef7){_0x10bd4b=_0x10bd4b-0x0;let _0x392e89=_0x2d3e[_0x10bd4b];return _0x392e89;};import{Plugin as _0x25d878}from'ckeditor5/src/core';import{CKEditorError as _0x13069e}from'ckeditor5/src/utils';import _0x18ae2f from'./trackchangesediting';import{sanitizeEditorConfig as _0x9ac537}from'ckeditor5-collaboration/src/collaboration-core';const w=[_0x392e('0xd')];export default class T extends _0x25d878{static get['requires'](){return[_0x18ae2f];}static get[_0x392e('0xe')](){return _0x392e('0x12');}[_0x392e('0x3')](){const _0x1f7679=this[_0x392e('0x1')];if(_0x1f7679[_0x392e('0x21')][_0x392e('0x9')]('trackChangesData.editorCreator',_0x568edc=>{const _0xe7e918=_0x1f7679[_0x392e('0x11')][_0x392e('0x15')][_0x392e('0x1c')]()[_0x392e('0xb')]((_0x107c78,_0x3db3d2)=>(_0x107c78[_0x3db3d2]='',_0x107c78),{});return _0x1f7679[_0x392e('0x24')][_0x392e('0x19')](_0xe7e918,_0x568edc);}),_0x392e('0x1e')!=typeof _0x1f7679[_0x392e('0x21')]['get'](_0x392e('0x8'))['editorCreator'])throw new _0x13069e('track-changes-data-invalid-editor-creator');}['getDataWithAcceptedSuggestions'](_0x8670f4){return v(this['editor'],!0x0,_0x8670f4);}[_0x392e('0x2b')](_0x381df3){return v(this[_0x392e('0x1')],!0x1,_0x381df3);}}class P extends _0x25d878{static get[_0x392e('0xe')](){return _0x392e('0x1b');}constructor(_0xd182b2){super(_0xd182b2),this[_0x392e('0x16')]=_0x392e('0x1a');}[_0x392e('0x3')](){this[_0x392e('0x1')]['plugins'][_0x392e('0x23')](_0x392e('0x25'))[_0x392e('0xa')]={'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[_0x392e('0x1')][_0x392e('0x7')][_0x392e('0x23')]('TrackChangesEditing')[_0x392e('0xa')]=null;}}function D(_0x6a4090){return void 0x0!==_0x6a4090[_0x392e('0xf')];}async function v(_0x55fc4f,_0x2e19b4,_0x3f60b1){const _0x3a91d9=_0x9ac537(_0x55fc4f,w);_0x3a91d9['plugins']['push'](_0x18ae2f,P),_0x3a91d9[_0x392e('0x18')]=D(_0x55fc4f)?_0x55fc4f[_0x392e('0xf')]():void 0x0;const _0x33d213=document[_0x392e('0x14')](),_0x426e52=_0x55fc4f[_0x392e('0x21')][_0x392e('0x23')]('trackChangesData')[_0x392e('0x26')],_0x4fbaba=await _0x426e52(_0x3a91d9,()=>function(_0x518d9d){const _0x35e9d9=document[_0x392e('0x5')](_0x392e('0x29'));return _0x518d9d[_0x392e('0xc')](_0x35e9d9),_0x35e9d9;}(_0x33d213));!function(_0xa74461,_0x392297){const _0x1b9c05=_0xa74461[_0x392e('0x11')][_0x392e('0x15')][_0x392e('0x1c')]()['reduce']((_0x2c28ba,_0x516dd9)=>(_0x2c28ba[_0x516dd9]=_0xa74461['data'][_0x392e('0x23')]({'rootName':_0x516dd9}),_0x2c28ba),{}),_0x58ccd2=_0xa74461[_0x392e('0x7')][_0x392e('0x23')](_0x392e('0x17'))[_0x392e('0x6')][_0x392e('0x2a')](_0x5418cd=>({'id':_0x5418cd['id'],'name':_0x5418cd[_0x392e('0x27')]})),_0x4eed19=_0xa74461['plugins']['get'](_0x392e('0x0'))[_0x392e('0x22')]({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x210e0e=_0x392297[_0x392e('0x7')][_0x392e('0x23')](_0x392e('0x17')),_0x344f3f=_0x392297['plugins'][_0x392e('0x23')](_0x392e('0x0'));for(const _0x21355f of _0x58ccd2)_0x210e0e[_0x392e('0x28')](_0x21355f['id'])||_0x210e0e['addUser'](_0x21355f);_0x210e0e['me']||_0x210e0e[_0x392e('0x13')]();for(const _0x4181ce of _0x4eed19)_0x344f3f['addSuggestionData'](_0x4181ce);_0x392297[_0x392e('0x1f')]['set'](_0x1b9c05);}(_0x55fc4f,_0x4fbaba),_0x4fbaba[_0x392e('0x4')](_0x2e19b4?_0x392e('0x10'):_0x392e('0x20'));const _0x24f85b=D(_0x4fbaba)?_0x4fbaba[_0x392e('0x1d')](_0x3f60b1):_0x4fbaba[_0x392e('0x1f')][_0x392e('0x23')](_0x3f60b1);return await _0x4fbaba[_0x392e('0x2')](),_0x24f85b;}
23
+ const _0xc088=['data','editor','getUser','users','editorCreator','execute','_adapter','createDocumentFragment','destroy','plugins','acceptAllSuggestions','end','config','result','trackChangesData','TrackChangesEditing','push','CommentsRepository','get','getFullData','Pagination','document','useAnonymousUser','model','create','init','discardAllSuggestions','pluginName','rootsAttributes','function','getDataWithAcceptedSuggestions','appendChild','track-changes-data-invalid-editor-creator','TrackChangesData','Users','createElement','addUser','name','div','getRootNames','reduce','getRootsAttributes'];(function(_0x313a13,_0xc08800){const _0x267115=function(_0x1de01c){while(--_0x1de01c){_0x313a13['push'](_0x313a13['shift']());}};_0x267115(++_0xc08800);}(_0xc088,0x132));const _0x2671=function(_0x313a13,_0xc08800){_0x313a13=_0x313a13-0x0;let _0x267115=_0xc088[_0x313a13];return _0x267115;};import{Plugin as _0x525d5e}from'ckeditor5/src/core';import{CKEditorError as _0xd20f01}from'ckeditor5/src/utils';import _0x5cfc37 from'./trackchangesediting';import{sanitizeEditorConfig as _0x4c337c}from'ckeditor5-collaboration/src/collaboration-core';const w=[_0x2671('0x8')];export default class T extends _0x525d5e{static get['requires'](){return[_0x5cfc37];}static get[_0x2671('0xf')](){return _0x2671('0x15');}[_0x2671('0xd')](){const _0x10a21b=this[_0x2671('0x1f')];if(_0x10a21b[_0x2671('0x0')]['define']('trackChangesData.editorCreator',_0x4319ba=>{const _0x435d35=_0x10a21b['model']['document'][_0x2671('0x1b')]()[_0x2671('0x1c')]((_0x236b41,_0x57ac4d)=>(_0x236b41[_0x57ac4d]='',_0x236b41),{});return _0x10a21b['constructor'][_0x2671('0xc')](_0x435d35,_0x4319ba);}),_0x2671('0x11')!=typeof _0x10a21b['config'][_0x2671('0x6')](_0x2671('0x2'))['editorCreator'])throw new _0xd20f01(_0x2671('0x14'));}[_0x2671('0x12')](_0x3c9e45){return v(this['editor'],!0x0,_0x3c9e45);}['getDataWithDiscardedSuggestions'](_0x13d139){return v(this[_0x2671('0x1f')],!0x1,_0x13d139);}}class P extends _0x525d5e{static get[_0x2671('0xf')](){return'TrackChangesDataGetter';}constructor(_0x356db7){super(_0x356db7),this[_0x2671('0x1')]=_0x2671('0x29');}[_0x2671('0xd')](){this['editor'][_0x2671('0x27')][_0x2671('0x6')](_0x2671('0x5'))[_0x2671('0x24')]={'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[_0x2671('0x1f')][_0x2671('0x27')]['get'](_0x2671('0x3'))['_adapter']=null;}}function D(_0x34bd2d){return void 0x0!==_0x34bd2d[_0x2671('0x1d')];}async function v(_0x3eae98,_0x5f20f6,_0x461b80){const _0x45e534=_0x4c337c(_0x3eae98,w);_0x45e534[_0x2671('0x27')][_0x2671('0x4')](_0x5cfc37,P),_0x45e534[_0x2671('0x10')]=D(_0x3eae98)?_0x3eae98['getRootsAttributes']():void 0x0;const _0x552f63=document[_0x2671('0x25')](),_0x14010e=_0x3eae98[_0x2671('0x0')][_0x2671('0x6')]('trackChangesData')[_0x2671('0x22')],_0x21927f=await _0x14010e(_0x45e534,()=>function(_0x5ad28d){const _0x69c112=document[_0x2671('0x17')](_0x2671('0x1a'));return _0x5ad28d[_0x2671('0x13')](_0x69c112),_0x69c112;}(_0x552f63));!function(_0x1029a2,_0x50d637){const _0xf50c32=_0x1029a2[_0x2671('0xb')][_0x2671('0x9')][_0x2671('0x1b')]()['reduce']((_0x55e8da,_0x260190)=>(_0x55e8da[_0x260190]=_0x1029a2[_0x2671('0x1e')][_0x2671('0x6')]({'rootName':_0x260190}),_0x55e8da),{}),_0x27150c=_0x1029a2[_0x2671('0x27')][_0x2671('0x6')](_0x2671('0x16'))[_0x2671('0x21')]['map'](_0x173981=>({'id':_0x173981['id'],'name':_0x173981[_0x2671('0x19')]})),_0x183ea2=_0x1029a2[_0x2671('0x27')]['get'](_0x2671('0x3'))['getSuggestions']({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x1c2780=_0x50d637[_0x2671('0x27')]['get'](_0x2671('0x16')),_0x285c58=_0x50d637[_0x2671('0x27')][_0x2671('0x6')](_0x2671('0x3'));for(const _0x2a2892 of _0x27150c)_0x1c2780[_0x2671('0x20')](_0x2a2892['id'])||_0x1c2780[_0x2671('0x18')](_0x2a2892);_0x1c2780['me']||_0x1c2780[_0x2671('0xa')]();for(const _0x53cb21 of _0x183ea2)_0x285c58['addSuggestionData'](_0x53cb21);_0x50d637[_0x2671('0x1e')]['set'](_0xf50c32);}(_0x3eae98,_0x21927f),_0x21927f[_0x2671('0x23')](_0x5f20f6?_0x2671('0x28'):_0x2671('0xe'));const _0x5295da=D(_0x21927f)?_0x21927f[_0x2671('0x7')](_0x461b80):_0x21927f[_0x2671('0x1e')][_0x2671('0x6')](_0x461b80);return await _0x21927f[_0x2671('0x26')](),_0x5295da;}