@ckeditor/ckeditor5-track-changes 38.0.0 → 38.0.1

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 _0x3e08=['end','delete','isExternal','_markerNames','push','getItems','next','previous','hasComments','change','nodeBefore','removeAttribute','onAttributesChange','getFirstRange','createdAt','from','type','getMarkerNames','commentThread','_model','_onAttributesChange','attributes','_onAccept','getAllAdjacentSuggestions','accept','setAttribute','decorate','get','discard','creator','_onDiscard','isInContent','head','data','onAccept','getMultiRangeId','substr','size','subType','removeMarkers','getContainedElement','getMarkers','author','getRange','toJSON','map','getFirstMarker','authoredAt','onDiscard','isIntersecting','reduce','set','addMarkerName','addRange','_saved','getRanges','removeMarker','add','isMultiRange'];(function(_0x5599e2,_0x3e0876){const _0x14a795=function(_0x4e4903){while(--_0x4e4903){_0x5599e2['push'](_0x5599e2['shift']());}};_0x14a795(++_0x3e0876);}(_0x3e08,0x1cb));const _0x14a7=function(_0x5599e2,_0x3e0876){_0x5599e2=_0x5599e2-0x0;let _0x14a795=_0x3e08[_0x5599e2];return _0x14a795;};import{Element as _0xe3b82f}from'ckeditor5/src/engine';import{ObservableMixin as _0xa1f90b,uid as _0x211739}from'ckeditor5/src/utils';import{cloneDeep as _0x131f9b,isEqual as _0x3f14c2,set as _0x9cd652,unset as _0x1a0528}from'lodash-es';export default class u extends _0xa1f90b(){constructor(_0x4d32be,_0x59ba6f){super(),this['id']=_0x59ba6f['id'],this[_0x14a7('0x1d')]=_0x59ba6f[_0x14a7('0x1d')],this['subType']=_0x59ba6f[_0x14a7('0x33')]||null,this[_0x14a7('0x37')]=_0x59ba6f['author'],this[_0x14a7('0x2a')]=_0x59ba6f[_0x14a7('0x2a')]||_0x59ba6f[_0x14a7('0x37')],this[_0x14a7('0xf')]=Boolean(_0x59ba6f[_0x14a7('0x22')]&&_0x59ba6f[_0x14a7('0x22')]['@external']),this[_0x14a7('0x2e')]=null,this['_model']=_0x4d32be,this[_0x14a7('0x23')]=_0x59ba6f[_0x14a7('0x2f')],this[_0x14a7('0x2b')]=_0x59ba6f[_0x14a7('0x2')],this[_0x14a7('0x21')]=_0x59ba6f[_0x14a7('0x19')],this[_0x14a7('0x10')]=new Set(),this[_0x14a7('0x1b')]=null,this[_0x14a7('0x5')](_0x14a7('0x1'),null),this['set'](_0x14a7('0x22'),_0x59ba6f[_0x14a7('0x22')]||{}),this[_0x14a7('0x5')]('previous',null),this['set'](_0x14a7('0x13'),null),this[_0x14a7('0x5')]('commentThread',null),this[_0x14a7('0x5')](_0x14a7('0x8'),!0x1),this[_0x14a7('0x27')](_0x14a7('0x25')),this[_0x14a7('0x27')](_0x14a7('0x29'));}get[_0x14a7('0x2d')](){let _0x5929a1=this;for(;_0x5929a1[_0x14a7('0x14')];)_0x5929a1=_0x5929a1['previous'];return _0x5929a1;}get[_0x14a7('0x15')](){return!!this[_0x14a7('0x1f')]&&this['commentThread']['length']>0x0;}get[_0x14a7('0xc')](){if(0x0==this['_markerNames'][_0x14a7('0x32')])return!0x1;return 0x6==Array[_0x14a7('0x1c')](this[_0x14a7('0x10')])[0x0]['split'](':')['length'];}get[_0x14a7('0x2c')](){return null!==this[_0x14a7('0x0')]();}[_0x14a7('0x6')](_0xa9e167){this['_markerNames'][_0x14a7('0xb')](_0xa9e167);}['getMarkerNames'](){return Array[_0x14a7('0x1c')](this[_0x14a7('0x10')]);}[_0x14a7('0x36')](){return this[_0x14a7('0x1e')]()[_0x14a7('0x3a')](_0x292066=>this[_0x14a7('0x20')]['markers'][_0x14a7('0x28')](_0x292066))['filter'](_0x299e12=>_0x299e12);}[_0x14a7('0x0')](){return this['getMarkers']()[0x0]||null;}[_0x14a7('0x34')](){this[_0x14a7('0x20')][_0x14a7('0x16')](_0x5447a7=>{for(const _0x273114 of this[_0x14a7('0x36')]())_0x5447a7[_0x14a7('0xa')](_0x273114);}),this['_markerNames']['clear']();}[_0x14a7('0xa')](_0xb6825c){this['_model']['change'](_0x4b51de=>{_0x4b51de['removeMarker'](_0xb6825c);}),this[_0x14a7('0x10')][_0x14a7('0xe')](_0xb6825c);}[_0x14a7('0x7')](_0x463935){const _0x15f386='suggestion:'+this['type']+':'+this[_0x14a7('0x33')]+':'+this['id']+':'+this[_0x14a7('0x2a')]['id']+':'+u['getMultiRangeId']();this[_0x14a7('0x6')](_0x15f386),this['_model'][_0x14a7('0x16')](_0x2be091=>{_0x2be091['addMarker'](_0x15f386,{'range':_0x463935,'usingOperation':!0x0,'affectsData':!0x0});});}['isIntersectingWithRange'](_0xcdf978){for(const _0x4e6b65 of this[_0x14a7('0x9')]())if(_0x4e6b65[_0x14a7('0x3')](_0xcdf978))return!0x0;return!0x1;}[_0x14a7('0x9')](){return this['getMarkers']()[_0x14a7('0x3a')](_0x2a580f=>_0x2a580f[_0x14a7('0x38')]());}[_0x14a7('0x12')](){return this[_0x14a7('0x9')]()[_0x14a7('0x4')]((_0x1e0962,_0x1df6ee)=>[..._0x1e0962,..._0x1df6ee['getItems']()],[]);}[_0x14a7('0x1a')](){var _0x46ecef;return(null===(_0x46ecef=this['getFirstMarker']())||void 0x0===_0x46ecef?void 0x0:_0x46ecef['getRange']())||null;}[_0x14a7('0x35')](){const _0x1bf3cb=this[_0x14a7('0x9')]();if(0x1!=_0x1bf3cb['length'])return null;const _0x810751=_0x1bf3cb[0x0],_0x15c324=_0x810751['start']['nodeAfter'],_0x1c8915=_0x810751[_0x14a7('0xd')][_0x14a7('0x17')];return _0x15c324 instanceof _0xe3b82f?_0x15c324!=_0x1c8915?null:_0x15c324:null;}[_0x14a7('0x25')](){this[_0x14a7('0x23')](this[_0x14a7('0x9')](),this[_0x14a7('0x2e')],this[_0x14a7('0x22')]),this[_0x14a7('0x34')]();}[_0x14a7('0x29')](){this['_onDiscard'](this[_0x14a7('0x9')](),this[_0x14a7('0x2e')],this[_0x14a7('0x22')]),this[_0x14a7('0x34')]();}[_0x14a7('0x24')](){const _0x48e794=[];let _0x539adb=this[_0x14a7('0x2d')];for(;_0x539adb;)_0x48e794[_0x14a7('0x11')](_0x539adb),_0x539adb=_0x539adb[_0x14a7('0x13')];return _0x48e794;}[_0x14a7('0x26')](_0x43fa9a,_0xcfa52f){const _0x2b1b5b=_0x131f9b(this[_0x14a7('0x22')]);_0x9cd652(_0x2b1b5b,_0x43fa9a,_0xcfa52f),_0x3f14c2(_0x2b1b5b,this[_0x14a7('0x22')])||(this[_0x14a7('0x22')]=_0x2b1b5b,this[_0x14a7('0x21')](_0x2b1b5b));}[_0x14a7('0x18')](_0x3882a7){const _0x32d526=_0x131f9b(this[_0x14a7('0x22')]);_0x1a0528(_0x32d526,_0x3882a7),_0x3f14c2(_0x32d526,this[_0x14a7('0x22')])||(this[_0x14a7('0x22')]=_0x32d526,this['_onAttributesChange'](this[_0x14a7('0x22')]));}[_0x14a7('0x39')](){return{'id':this['id'],'type':this[_0x14a7('0x33')]?this[_0x14a7('0x1d')]+':'+this[_0x14a7('0x33')]:this[_0x14a7('0x1d')],'authorId':this[_0x14a7('0x2a')]['id'],'createdAt':this['createdAt'],'hasComments':this[_0x14a7('0x15')],'data':this[_0x14a7('0x2e')],'attributes':this[_0x14a7('0x22')]};}static[_0x14a7('0x30')](){return _0x211739()[_0x14a7('0x31')](0x1,0x5);}}
23
+ const _0x30e1=['creator','authoredAt','getItems','end','head','next','_onAccept','getMarkers','_onAttributesChange','decorate','size','from','commentThread','_model','getRanges','removeMarkers','nodeAfter','addRange','start','addMarkerName','set','reduce','isIntersecting','subType','markers','length','hasComments','removeMarker','@external','onAccept','getMultiRangeId','onDiscard','isExternal','change','createdAt','attributes','setAttribute','getMarkerNames','map','getRange','getAllAdjacentSuggestions','add','type','isMultiRange','author','_saved','previous','addMarker','delete','getFirstMarker','nodeBefore','suggestion:','clear','push','onAttributesChange','_markerNames','data'];(function(_0xc39538,_0x30e17c){const _0x17c2b9=function(_0x549572){while(--_0x549572){_0xc39538['push'](_0xc39538['shift']());}};_0x17c2b9(++_0x30e17c);}(_0x30e1,0x97));const _0x17c2=function(_0xc39538,_0x30e17c){_0xc39538=_0xc39538-0x0;let _0x17c2b9=_0x30e1[_0xc39538];return _0x17c2b9;};import{Element as _0x42a367}from'ckeditor5/src/engine';import{ObservableMixin as _0x347148,uid as _0x2893c9}from'ckeditor5/src/utils';import{cloneDeep as _0x106ab5,isEqual as _0x17301a,set as _0x2f7bab,unset as _0xc294ef}from'lodash-es';export default class u extends _0x347148(){constructor(_0x5073e4,_0x575566){super(),this['id']=_0x575566['id'],this[_0x17c2('0x5')]=_0x575566[_0x17c2('0x5')],this[_0x17c2('0x2b')]=_0x575566[_0x17c2('0x2b')]||null,this[_0x17c2('0x7')]=_0x575566[_0x17c2('0x7')],this[_0x17c2('0x14')]=_0x575566[_0x17c2('0x14')]||_0x575566[_0x17c2('0x7')],this[_0x17c2('0x34')]=Boolean(_0x575566[_0x17c2('0x37')]&&_0x575566[_0x17c2('0x37')][_0x17c2('0x30')]),this['data']=null,this[_0x17c2('0x21')]=_0x5073e4,this[_0x17c2('0x1a')]=_0x575566[_0x17c2('0x31')],this['_onDiscard']=_0x575566[_0x17c2('0x33')],this[_0x17c2('0x1c')]=_0x575566[_0x17c2('0x11')],this['_markerNames']=new Set(),this[_0x17c2('0x36')]=null,this['set'](_0x17c2('0x15'),null),this[_0x17c2('0x28')](_0x17c2('0x37'),_0x575566[_0x17c2('0x37')]||{}),this['set']('previous',null),this[_0x17c2('0x28')](_0x17c2('0x19'),null),this['set'](_0x17c2('0x20'),null),this[_0x17c2('0x28')](_0x17c2('0x8'),!0x1),this[_0x17c2('0x1d')]('accept'),this[_0x17c2('0x1d')]('discard');}get[_0x17c2('0x18')](){let _0x1c173d=this;for(;_0x1c173d[_0x17c2('0x9')];)_0x1c173d=_0x1c173d[_0x17c2('0x9')];return _0x1c173d;}get[_0x17c2('0x2e')](){return!!this['commentThread']&&this[_0x17c2('0x20')][_0x17c2('0x2d')]>0x0;}get[_0x17c2('0x6')](){if(0x0==this['_markerNames'][_0x17c2('0x1e')])return!0x1;return 0x6==Array[_0x17c2('0x1f')](this[_0x17c2('0x12')])[0x0]['split'](':')['length'];}get['isInContent'](){return null!==this[_0x17c2('0xc')]();}[_0x17c2('0x27')](_0x14e5f6){this[_0x17c2('0x12')][_0x17c2('0x4')](_0x14e5f6);}[_0x17c2('0x0')](){return Array[_0x17c2('0x1f')](this[_0x17c2('0x12')]);}[_0x17c2('0x1b')](){return this['getMarkerNames']()[_0x17c2('0x1')](_0x43ce92=>this[_0x17c2('0x21')][_0x17c2('0x2c')]['get'](_0x43ce92))['filter'](_0x46b602=>_0x46b602);}[_0x17c2('0xc')](){return this[_0x17c2('0x1b')]()[0x0]||null;}['removeMarkers'](){this[_0x17c2('0x21')][_0x17c2('0x35')](_0x452b1b=>{for(const _0x4b0798 of this[_0x17c2('0x1b')]())_0x452b1b[_0x17c2('0x2f')](_0x4b0798);}),this[_0x17c2('0x12')][_0x17c2('0xf')]();}[_0x17c2('0x2f')](_0x3f12c2){this[_0x17c2('0x21')]['change'](_0x4c9c68=>{_0x4c9c68[_0x17c2('0x2f')](_0x3f12c2);}),this['_markerNames'][_0x17c2('0xb')](_0x3f12c2);}[_0x17c2('0x25')](_0x61e9b1){const _0x5a9294=_0x17c2('0xe')+this['type']+':'+this[_0x17c2('0x2b')]+':'+this['id']+':'+this[_0x17c2('0x14')]['id']+':'+u[_0x17c2('0x32')]();this[_0x17c2('0x27')](_0x5a9294),this[_0x17c2('0x21')][_0x17c2('0x35')](_0x47d7da=>{_0x47d7da[_0x17c2('0xa')](_0x5a9294,{'range':_0x61e9b1,'usingOperation':!0x0,'affectsData':!0x0});});}['isIntersectingWithRange'](_0x3b84d1){for(const _0x5263ff of this[_0x17c2('0x22')]())if(_0x5263ff[_0x17c2('0x2a')](_0x3b84d1))return!0x0;return!0x1;}['getRanges'](){return this[_0x17c2('0x1b')]()[_0x17c2('0x1')](_0x5ede71=>_0x5ede71[_0x17c2('0x2')]());}[_0x17c2('0x16')](){return this[_0x17c2('0x22')]()[_0x17c2('0x29')]((_0x2480d5,_0x50fe35)=>[..._0x2480d5,..._0x50fe35[_0x17c2('0x16')]()],[]);}['getFirstRange'](){var _0x95875;return(null===(_0x95875=this[_0x17c2('0xc')]())||void 0x0===_0x95875?void 0x0:_0x95875[_0x17c2('0x2')]())||null;}['getContainedElement'](){const _0x52b9d0=this['getRanges']();if(0x1!=_0x52b9d0[_0x17c2('0x2d')])return null;const _0x59d542=_0x52b9d0[0x0],_0x17dc64=_0x59d542[_0x17c2('0x26')][_0x17c2('0x24')],_0x215df7=_0x59d542[_0x17c2('0x17')][_0x17c2('0xd')];return _0x17dc64 instanceof _0x42a367?_0x17dc64!=_0x215df7?null:_0x17dc64:null;}['accept'](){this[_0x17c2('0x1a')](this[_0x17c2('0x22')](),this[_0x17c2('0x13')],this[_0x17c2('0x37')]),this[_0x17c2('0x23')]();}['discard'](){this['_onDiscard'](this[_0x17c2('0x22')](),this[_0x17c2('0x13')],this[_0x17c2('0x37')]),this[_0x17c2('0x23')]();}[_0x17c2('0x3')](){const _0x260bf1=[];let _0x183bbd=this[_0x17c2('0x18')];for(;_0x183bbd;)_0x260bf1[_0x17c2('0x10')](_0x183bbd),_0x183bbd=_0x183bbd[_0x17c2('0x19')];return _0x260bf1;}[_0x17c2('0x38')](_0x2ee361,_0x47c6f4){const _0x216dde=_0x106ab5(this[_0x17c2('0x37')]);_0x2f7bab(_0x216dde,_0x2ee361,_0x47c6f4),_0x17301a(_0x216dde,this[_0x17c2('0x37')])||(this[_0x17c2('0x37')]=_0x216dde,this[_0x17c2('0x1c')](_0x216dde));}['removeAttribute'](_0x49a975){const _0xa74115=_0x106ab5(this[_0x17c2('0x37')]);_0xc294ef(_0xa74115,_0x49a975),_0x17301a(_0xa74115,this[_0x17c2('0x37')])||(this[_0x17c2('0x37')]=_0xa74115,this[_0x17c2('0x1c')](this[_0x17c2('0x37')]));}['toJSON'](){return{'id':this['id'],'type':this[_0x17c2('0x2b')]?this[_0x17c2('0x5')]+':'+this['subType']:this[_0x17c2('0x5')],'authorId':this[_0x17c2('0x14')]['id'],'createdAt':this['createdAt'],'hasComments':this[_0x17c2('0x2e')],'data':this[_0x17c2('0x13')],'attributes':this[_0x17c2('0x37')]};}static[_0x17c2('0x32')](){return _0x2893c9()['substr'](0x1,0x5);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3a1a=['getWalker','deletion','matchingCallback','type','previousSibling','getFirstRange','*Remove:*\x20%0','_customCallbacks','item','nextSibling','pop','isInContent','indexOf','function','data','getDescriptions','addObject','$textProxy','end','registerDescriptionCallback','_itemLabelsCallbacks','_schema','EmptyContainer','getItemLabel','_itemLabels','_addDescriptionItems','elementEnd','REPLACE_TEXT','set','ELEMENT_SPACE','isEqual','remove','isObject','$text','$1\x20$2','*Merge:*\x20%0','insertion','get','_resolveDescriptionItems','length','text','addContainer','element','start','checkChild','quantity','isEmpty','softBreak','*Insert:*\x20%0','removeContainer','replace','_locale','Object','push','add','name','normal','Container','removeEmptyContainer','elementStart','match'];(function(_0x549457,_0x3a1ae6){const _0x3e163d=function(_0x30d620){while(--_0x30d620){_0x549457['push'](_0x549457['shift']());}};_0x3e163d(++_0x3a1ae6);}(_0x3a1a,0x1c7));const _0x3e16=function(_0x549457,_0x3a1ae6){_0x549457=_0x549457-0x0;let _0x3e163d=_0x3a1a[_0x549457];return _0x3e163d;};import{getTranslation as _0x156693}from'./utils/common-translations';import{priorities as _0x3771f3,insertToPriorityArray as _0x482d20}from'ckeditor5/src/utils';export default class m{constructor(_0x30b1ab,_0x83956f){this['_customCallbacks']=[],this[_0x3e16('0x39')]=new Map(),this[_0x3e16('0x35')]=[],this['_schema']=_0x30b1ab,this[_0x3e16('0x17')]=_0x83956f;}[_0x3e16('0x30')](_0x2c2f80){const _0xd3f9a6=[];for(let _0x5b0b45=0x0;_0x5b0b45<_0x2c2f80[_0x3e16('0xb')];_0x5b0b45++){const _0x305a43=_0x2c2f80[_0x5b0b45];if(!_0x305a43[_0x3e16('0x2c')])continue;let _0x5b8719=!0x1;for(const _0x5ab432 of this[_0x3e16('0x28')]){const _0x263a7b=_0x5ab432(_0x305a43);if(_0x263a7b){'type'in _0x263a7b&&_0xd3f9a6['push'](_0x263a7b),_0x5b8719=!0x0;break;}}if(!_0x5b8719){this[_0x3e16('0x3a')](_0xd3f9a6,_0x305a43);const _0x28cd62=_0x2c2f80[_0x5b0b45+0x1];if(_0x28cd62&&!_0x305a43[_0x3e16('0x26')]()[_0x3e16('0x33')][_0x3e16('0x2')](_0x28cd62[_0x3e16('0x26')]()[_0x3e16('0xf')])){const _0xebb349=_0xd3f9a6[_0xd3f9a6[_0x3e16('0xb')]-0x1],_0x50ff50=_0x3e16('0x8')==_0x305a43['type']?_0x3e16('0x1a'):_0x3e16('0x3');_0xebb349&&'text'==_0xebb349[_0x3e16('0x24')]&&(_0xebb349[_0x50ff50]+='\x0a');}}}return this[_0x3e16('0xa')](_0xd3f9a6);}[_0x3e16('0x34')](_0xa2a300){this['_customCallbacks']['push'](_0xa2a300);}['registerElementLabel'](_0x1f5856,_0x3954df,_0x16bf47=_0x3771f3[_0x3e16('0x1c')]){_0x3e16('0x2e')==typeof _0x1f5856?_0x482d20(this[_0x3e16('0x35')],{'matchingCallback':_0x1f5856,'label':_0x3954df,'priority':_0x16bf47}):this['_itemLabels'][_0x3e16('0x0')](_0x1f5856,_0x3954df);}[_0x3e16('0x38')](_0x55dee8,_0x3febfd=0x1){let _0x25c2e3;for(const _0x59dec3 of this[_0x3e16('0x35')])if(_0x59dec3[_0x3e16('0x23')](_0x55dee8)){_0x25c2e3=_0x59dec3['label'];break;}return _0x25c2e3||(_0x25c2e3=this[_0x3e16('0x39')][_0x3e16('0x9')](_0x55dee8[_0x3e16('0x1b')])),_0x25c2e3?_0x25c2e3(_0x3febfd):0x1!==_0x3febfd?_0x3febfd+'\x20'+_0x55dee8[_0x3e16('0x1b')]+'s':''+_0x55dee8['name'];}[_0x3e16('0x3a')](_0xdcd077,_0x3f25cf){const _0x3ddd6f=_0x3f25cf[_0x3e16('0x26')]()[_0x3e16('0x21')](),_0x19617f='insertion'==_0x3f25cf[_0x3e16('0x24')]?_0x3e16('0x1a'):_0x3e16('0x3');for(const _0x4c46fa of _0x3ddd6f){const _0xef253c=_0x4c46fa[_0x3e16('0x29')],_0x11703c=_0xdcd077[_0xdcd077[_0x3e16('0xb')]-0x1];if(_0xef253c['is'](_0x3e16('0x32')))_0x11703c&&_0x11703c[_0x3e16('0x24')]['indexOf'](_0x3e16('0x1d'))>-0x1&&_0xdcd077[_0x3e16('0x2b')](),_0x11703c&&_0x3e16('0xc')==_0x11703c[_0x3e16('0x24')]?_0x11703c[_0x19617f]+=_0xef253c[_0x3e16('0x2f')]:_0xdcd077['push']({'type':_0x3e16('0xc'),'add':_0x3e16('0x1a')==_0x19617f?_0xef253c[_0x3e16('0x2f')]:'','remove':'remove'==_0x19617f?_0xef253c['data']:''});else{if(this[_0x3e16('0x36')][_0x3e16('0x4')](_0xef253c)){const _0x141e08=_0xef253c;if(_0x11703c&&_0x11703c[_0x3e16('0x24')]['indexOf'](_0x3e16('0x1d'))>-0x1&&_0xdcd077[_0x3e16('0x2b')](),_0x3e16('0x3b')==_0x4c46fa[_0x3e16('0x24')])continue;_0x11703c&&_0x11703c[_0x3e16('0x24')]==_0x19617f+'Object'&&_0x11703c[_0x3e16('0xe')][_0x3e16('0x1b')]==_0x141e08[_0x3e16('0x1b')]?_0x11703c[_0x3e16('0x11')]++:_0xdcd077[_0x3e16('0x19')]({'type':_0x19617f+_0x3e16('0x18'),'element':_0x141e08,'quantity':0x1}),_0x3ddd6f['skip'](_0x41a6ab=>!('elementEnd'==_0x41a6ab[_0x3e16('0x24')]&&_0x41a6ab[_0x3e16('0x29')]==_0xef253c));}else{if(this[_0x3e16('0x36')][_0x3e16('0x10')](_0xef253c,_0x3e16('0x5'))||_0xef253c['is'](_0x3e16('0xe'),_0x3e16('0x13'))){const _0x9dd560=_0xef253c;if('add'==_0x19617f&&_0x3e16('0x1f')==_0x4c46fa[_0x3e16('0x24')]||_0x3e16('0x3')==_0x19617f&&_0x3e16('0x3b')==_0x4c46fa[_0x3e16('0x24')])continue;if(_0x11703c&&-0x1==_0x11703c[_0x3e16('0x24')][_0x3e16('0x2d')](_0x3e16('0x1d'))){_0x3e16('0xc')==_0x11703c[_0x3e16('0x24')]&&(_0x11703c[_0x19617f]+='\x0a');continue;}let _0x399b74;if(_0x399b74=_0x3e16('0x1a')==_0x19617f?_0x9dd560[_0x3e16('0x2a')]&&!this['_schema']['isObject'](_0x9dd560[_0x3e16('0x2a')])?_0x9dd560[_0x3e16('0x2a')]:null:_0x9dd560['previousSibling']&&!this['_schema'][_0x3e16('0x4')](_0x9dd560['previousSibling'])?_0x9dd560[_0x3e16('0x25')]:null,_0x9dd560['isEmpty']||_0x399b74&&_0x399b74[_0x3e16('0x12')]){const _0x436633=_0x399b74&&_0x399b74[_0x3e16('0x12')]?_0x399b74:_0x9dd560;_0x11703c&&_0x11703c['type']==_0x19617f+_0x3e16('0x37')&&_0x11703c[_0x3e16('0xe')]['name']==_0x436633[_0x3e16('0x1b')]?_0x11703c[_0x3e16('0x11')]++:_0xdcd077['push']({'type':_0x19617f+'EmptyContainer','element':_0x436633,'quantity':0x1});}else _0xdcd077['push']({'type':_0x19617f+'Container','element':_0x9dd560});}}}}}[_0x3e16('0xa')](_0x58e605){const _0x39e369=this[_0x3e16('0x17')],_0x20d1e1=[];for(const _0x217b10 of _0x58e605){switch(_0x217b10[_0x3e16('0x24')]){case _0x3e16('0xc'):if(_0x217b10[_0x3e16('0x1a')]=_0x217b10[_0x3e16('0x1a')][_0x3e16('0x16')](/(\S)\u000A+(\S)/g,'$1\x20$2')['replace'](/\u000A/g,''),_0x217b10[_0x3e16('0x3')]=_0x217b10['remove'][_0x3e16('0x16')](/(\S)\u000A+(\S)/g,_0x3e16('0x6'))[_0x3e16('0x16')](/\u000A/g,''),''!=_0x217b10[_0x3e16('0x1a')]&&''!=_0x217b10['remove']){_0x20d1e1[_0x3e16('0x19')]({'type':_0x3e16('0x16'),'content':_0x156693(_0x39e369,_0x3e16('0x3c'),['\x22'+_0x217b10[_0x3e16('0x3')]+'\x22','\x22'+_0x217b10[_0x3e16('0x1a')]+'\x22'])});continue;}if(null!=_0x217b10[_0x3e16('0x1a')][_0x3e16('0x20')](/^ +$/)){_0x20d1e1[_0x3e16('0x19')]({'type':_0x3e16('0x8'),'content':_0x156693(_0x39e369,'*Insert:*\x20%0',_0x156693(_0x39e369,'ELEMENT_SPACE',_0x217b10['add'][_0x3e16('0xb')]))});continue;}if(null!=_0x217b10[_0x3e16('0x3')][_0x3e16('0x20')](/^ +$/)){_0x20d1e1[_0x3e16('0x19')]({'type':_0x3e16('0x22'),'content':_0x156693(_0x39e369,_0x3e16('0x27'),_0x156693(_0x39e369,_0x3e16('0x1'),_0x217b10['remove'][_0x3e16('0xb')]))});continue;}if(''!=_0x217b10[_0x3e16('0x1a')]){_0x20d1e1[_0x3e16('0x19')]({'type':_0x3e16('0x8'),'content':_0x156693(_0x39e369,_0x3e16('0x14'),'\x22'+_0x217b10[_0x3e16('0x1a')]+'\x22')});continue;}_0x20d1e1[_0x3e16('0x19')]({'type':_0x3e16('0x22'),'content':_0x156693(_0x39e369,_0x3e16('0x27'),'\x22'+_0x217b10[_0x3e16('0x3')]+'\x22')});continue;case'addEmptyContainer':case _0x3e16('0x31'):_0x20d1e1[_0x3e16('0x19')]({'type':_0x3e16('0x8'),'content':_0x156693(_0x39e369,'*Insert:*\x20%0',this[_0x3e16('0x38')](_0x217b10['element'],_0x217b10['quantity']))});continue;case _0x3e16('0x1e'):case'removeObject':_0x20d1e1[_0x3e16('0x19')]({'type':_0x3e16('0x22'),'content':_0x156693(_0x39e369,'*Remove:*\x20%0',this['getItemLabel'](_0x217b10[_0x3e16('0xe')],_0x217b10[_0x3e16('0x11')]))});continue;case _0x3e16('0xd'):_0x20d1e1[_0x3e16('0x19')]({'type':_0x3e16('0x8'),'content':_0x156693(_0x39e369,'*Split:*\x20%0',this[_0x3e16('0x38')](_0x217b10[_0x3e16('0xe')],_0x217b10[_0x3e16('0x11')]))});continue;case _0x3e16('0x15'):_0x20d1e1[_0x3e16('0x19')]({'type':_0x3e16('0x22'),'content':_0x156693(_0x39e369,_0x3e16('0x7'),this[_0x3e16('0x38')](_0x217b10['element'],_0x217b10[_0x3e16('0x11')]))});continue;}_0x20d1e1[_0x3e16('0x19')](_0x217b10);}return _0x20d1e1;}}
23
+ const _0x4d22=['addContainer','removeContainer','isEmpty','function','isInContent','*Insert:*\x20%0','_schema','Object','_itemLabels','registerElementLabel','ELEMENT_SPACE','get','deletion','$1\x20$2','start','remove','softBreak','element','quantity','elementEnd','isEqual','Container','skip','insertion','indexOf','$text','removeEmptyContainer','type','text','getItemLabel','*Remove:*\x20%0','replace','data','name','getFirstRange','pop','_locale','nextSibling','previousSibling','addEmptyContainer','_resolveDescriptionItems','$textProxy','item','add','set','elementStart','_itemLabelsCallbacks','match','label','length','end','matchingCallback','_addDescriptionItems','_customCallbacks','isObject','getWalker','push'];(function(_0x4e0009,_0x4d2287){const _0x1b1f83=function(_0x21b1e5){while(--_0x21b1e5){_0x4e0009['push'](_0x4e0009['shift']());}};_0x1b1f83(++_0x4d2287);}(_0x4d22,0x1ab));const _0x1b1f=function(_0x4e0009,_0x4d2287){_0x4e0009=_0x4e0009-0x0;let _0x1b1f83=_0x4d22[_0x4e0009];return _0x1b1f83;};import{getTranslation as _0x8ba7a5}from'./utils/common-translations';import{priorities as _0x27b4bb,insertToPriorityArray as _0x4574a9}from'ckeditor5/src/utils';export default class m{constructor(_0x2048c9,_0x2a6531){this['_customCallbacks']=[],this['_itemLabels']=new Map(),this[_0x1b1f('0x12')]=[],this[_0x1b1f('0x23')]=_0x2048c9,this[_0x1b1f('0x8')]=_0x2a6531;}['getDescriptions'](_0x2ffb87){const _0x24556f=[];for(let _0xf74c4e=0x0;_0xf74c4e<_0x2ffb87[_0x1b1f('0x15')];_0xf74c4e++){const _0x70b07a=_0x2ffb87[_0xf74c4e];if(!_0x70b07a[_0x1b1f('0x21')])continue;let _0x3c8b1d=!0x1;for(const _0x1180bf of this[_0x1b1f('0x19')]){const _0x2a7795=_0x1180bf(_0x70b07a);if(_0x2a7795){_0x1b1f('0x38')in _0x2a7795&&_0x24556f[_0x1b1f('0x1c')](_0x2a7795),_0x3c8b1d=!0x0;break;}}if(!_0x3c8b1d){this['_addDescriptionItems'](_0x24556f,_0x70b07a);const _0x596309=_0x2ffb87[_0xf74c4e+0x1];if(_0x596309&&!_0x70b07a['getFirstRange']()[_0x1b1f('0x16')][_0x1b1f('0x31')](_0x596309[_0x1b1f('0x6')]()[_0x1b1f('0x2b')])){const _0x278eb2=_0x24556f[_0x24556f[_0x1b1f('0x15')]-0x1],_0x4d0e08=_0x1b1f('0x34')==_0x70b07a[_0x1b1f('0x38')]?_0x1b1f('0xf'):_0x1b1f('0x2c');_0x278eb2&&_0x1b1f('0x0')==_0x278eb2[_0x1b1f('0x38')]&&(_0x278eb2[_0x4d0e08]+='\x0a');}}}return this['_resolveDescriptionItems'](_0x24556f);}['registerDescriptionCallback'](_0x23ecb2){this[_0x1b1f('0x19')]['push'](_0x23ecb2);}[_0x1b1f('0x26')](_0xba20a5,_0x30c6f3,_0x590167=_0x27b4bb['normal']){_0x1b1f('0x20')==typeof _0xba20a5?_0x4574a9(this[_0x1b1f('0x12')],{'matchingCallback':_0xba20a5,'label':_0x30c6f3,'priority':_0x590167}):this[_0x1b1f('0x25')][_0x1b1f('0x10')](_0xba20a5,_0x30c6f3);}[_0x1b1f('0x1')](_0x524009,_0x12328f=0x1){let _0x1d7ead;for(const _0x1da25f of this[_0x1b1f('0x12')])if(_0x1da25f[_0x1b1f('0x17')](_0x524009)){_0x1d7ead=_0x1da25f[_0x1b1f('0x14')];break;}return _0x1d7ead||(_0x1d7ead=this['_itemLabels'][_0x1b1f('0x28')](_0x524009['name'])),_0x1d7ead?_0x1d7ead(_0x12328f):0x1!==_0x12328f?_0x12328f+'\x20'+_0x524009[_0x1b1f('0x5')]+'s':''+_0x524009[_0x1b1f('0x5')];}[_0x1b1f('0x18')](_0x4999ad,_0x5e0475){const _0x4a74c4=_0x5e0475['getFirstRange']()[_0x1b1f('0x1b')](),_0x4883d8=_0x1b1f('0x34')==_0x5e0475[_0x1b1f('0x38')]?_0x1b1f('0xf'):'remove';for(const _0x4ff1c0 of _0x4a74c4){const _0x6419e9=_0x4ff1c0['item'],_0x21170d=_0x4999ad[_0x4999ad[_0x1b1f('0x15')]-0x1];if(_0x6419e9['is'](_0x1b1f('0xd')))_0x21170d&&_0x21170d[_0x1b1f('0x38')][_0x1b1f('0x35')](_0x1b1f('0x32'))>-0x1&&_0x4999ad[_0x1b1f('0x7')](),_0x21170d&&'text'==_0x21170d[_0x1b1f('0x38')]?_0x21170d[_0x4883d8]+=_0x6419e9['data']:_0x4999ad[_0x1b1f('0x1c')]({'type':'text','add':'add'==_0x4883d8?_0x6419e9['data']:'','remove':_0x1b1f('0x2c')==_0x4883d8?_0x6419e9[_0x1b1f('0x4')]:''});else{if(this[_0x1b1f('0x23')][_0x1b1f('0x1a')](_0x6419e9)){const _0x18bddd=_0x6419e9;if(_0x21170d&&_0x21170d[_0x1b1f('0x38')][_0x1b1f('0x35')](_0x1b1f('0x32'))>-0x1&&_0x4999ad[_0x1b1f('0x7')](),_0x1b1f('0x30')==_0x4ff1c0['type'])continue;_0x21170d&&_0x21170d[_0x1b1f('0x38')]==_0x4883d8+_0x1b1f('0x24')&&_0x21170d[_0x1b1f('0x2e')][_0x1b1f('0x5')]==_0x18bddd[_0x1b1f('0x5')]?_0x21170d[_0x1b1f('0x2f')]++:_0x4999ad[_0x1b1f('0x1c')]({'type':_0x4883d8+_0x1b1f('0x24'),'element':_0x18bddd,'quantity':0x1}),_0x4a74c4[_0x1b1f('0x33')](_0x207580=>!(_0x1b1f('0x30')==_0x207580[_0x1b1f('0x38')]&&_0x207580[_0x1b1f('0xe')]==_0x6419e9));}else{if(this[_0x1b1f('0x23')]['checkChild'](_0x6419e9,_0x1b1f('0x36'))||_0x6419e9['is'](_0x1b1f('0x2e'),_0x1b1f('0x2d'))){const _0x43cb2a=_0x6419e9;if(_0x1b1f('0xf')==_0x4883d8&&_0x1b1f('0x11')==_0x4ff1c0[_0x1b1f('0x38')]||_0x1b1f('0x2c')==_0x4883d8&&_0x1b1f('0x30')==_0x4ff1c0[_0x1b1f('0x38')])continue;if(_0x21170d&&-0x1==_0x21170d[_0x1b1f('0x38')][_0x1b1f('0x35')]('Container')){_0x1b1f('0x0')==_0x21170d[_0x1b1f('0x38')]&&(_0x21170d[_0x4883d8]+='\x0a');continue;}let _0x108285;if(_0x108285=_0x1b1f('0xf')==_0x4883d8?_0x43cb2a['nextSibling']&&!this['_schema'][_0x1b1f('0x1a')](_0x43cb2a['nextSibling'])?_0x43cb2a[_0x1b1f('0x9')]:null:_0x43cb2a['previousSibling']&&!this[_0x1b1f('0x23')][_0x1b1f('0x1a')](_0x43cb2a[_0x1b1f('0xa')])?_0x43cb2a[_0x1b1f('0xa')]:null,_0x43cb2a['isEmpty']||_0x108285&&_0x108285[_0x1b1f('0x1f')]){const _0x587025=_0x108285&&_0x108285['isEmpty']?_0x108285:_0x43cb2a;_0x21170d&&_0x21170d[_0x1b1f('0x38')]==_0x4883d8+'EmptyContainer'&&_0x21170d[_0x1b1f('0x2e')][_0x1b1f('0x5')]==_0x587025[_0x1b1f('0x5')]?_0x21170d[_0x1b1f('0x2f')]++:_0x4999ad[_0x1b1f('0x1c')]({'type':_0x4883d8+'EmptyContainer','element':_0x587025,'quantity':0x1});}else _0x4999ad[_0x1b1f('0x1c')]({'type':_0x4883d8+_0x1b1f('0x32'),'element':_0x43cb2a});}}}}}[_0x1b1f('0xc')](_0x1f008b){const _0x3836ff=this[_0x1b1f('0x8')],_0x59d36d=[];for(const _0x9edc15 of _0x1f008b){switch(_0x9edc15[_0x1b1f('0x38')]){case _0x1b1f('0x0'):if(_0x9edc15['add']=_0x9edc15[_0x1b1f('0xf')][_0x1b1f('0x3')](/(\S)\u000A+(\S)/g,_0x1b1f('0x2a'))[_0x1b1f('0x3')](/\u000A/g,''),_0x9edc15[_0x1b1f('0x2c')]=_0x9edc15[_0x1b1f('0x2c')][_0x1b1f('0x3')](/(\S)\u000A+(\S)/g,_0x1b1f('0x2a'))['replace'](/\u000A/g,''),''!=_0x9edc15[_0x1b1f('0xf')]&&''!=_0x9edc15['remove']){_0x59d36d[_0x1b1f('0x1c')]({'type':_0x1b1f('0x3'),'content':_0x8ba7a5(_0x3836ff,'REPLACE_TEXT',['\x22'+_0x9edc15[_0x1b1f('0x2c')]+'\x22','\x22'+_0x9edc15['add']+'\x22'])});continue;}if(null!=_0x9edc15[_0x1b1f('0xf')][_0x1b1f('0x13')](/^ +$/)){_0x59d36d['push']({'type':_0x1b1f('0x34'),'content':_0x8ba7a5(_0x3836ff,_0x1b1f('0x22'),_0x8ba7a5(_0x3836ff,_0x1b1f('0x27'),_0x9edc15[_0x1b1f('0xf')][_0x1b1f('0x15')]))});continue;}if(null!=_0x9edc15['remove'][_0x1b1f('0x13')](/^ +$/)){_0x59d36d['push']({'type':_0x1b1f('0x29'),'content':_0x8ba7a5(_0x3836ff,'*Remove:*\x20%0',_0x8ba7a5(_0x3836ff,_0x1b1f('0x27'),_0x9edc15[_0x1b1f('0x2c')][_0x1b1f('0x15')]))});continue;}if(''!=_0x9edc15[_0x1b1f('0xf')]){_0x59d36d[_0x1b1f('0x1c')]({'type':'insertion','content':_0x8ba7a5(_0x3836ff,_0x1b1f('0x22'),'\x22'+_0x9edc15['add']+'\x22')});continue;}_0x59d36d[_0x1b1f('0x1c')]({'type':_0x1b1f('0x29'),'content':_0x8ba7a5(_0x3836ff,_0x1b1f('0x2'),'\x22'+_0x9edc15[_0x1b1f('0x2c')]+'\x22')});continue;case _0x1b1f('0xb'):case'addObject':_0x59d36d[_0x1b1f('0x1c')]({'type':'insertion','content':_0x8ba7a5(_0x3836ff,'*Insert:*\x20%0',this['getItemLabel'](_0x9edc15[_0x1b1f('0x2e')],_0x9edc15[_0x1b1f('0x2f')]))});continue;case _0x1b1f('0x37'):case'removeObject':_0x59d36d[_0x1b1f('0x1c')]({'type':_0x1b1f('0x29'),'content':_0x8ba7a5(_0x3836ff,_0x1b1f('0x2'),this[_0x1b1f('0x1')](_0x9edc15[_0x1b1f('0x2e')],_0x9edc15[_0x1b1f('0x2f')]))});continue;case _0x1b1f('0x1d'):_0x59d36d[_0x1b1f('0x1c')]({'type':'insertion','content':_0x8ba7a5(_0x3836ff,'*Split:*\x20%0',this[_0x1b1f('0x1')](_0x9edc15['element'],_0x9edc15[_0x1b1f('0x2f')]))});continue;case _0x1b1f('0x1e'):_0x59d36d[_0x1b1f('0x1c')]({'type':_0x1b1f('0x29'),'content':_0x8ba7a5(_0x3836ff,'*Merge:*\x20%0',this['getItemLabel'](_0x9edc15[_0x1b1f('0x2e')],_0x9edc15[_0x1b1f('0x2f')]))});continue;}_0x59d36d[_0x1b1f('0x1c')](_0x9edc15);}return _0x59d36d;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x8d92=['Comments','adapter','getSuggestion','plugins','TrackChanges','get','editor','addSuggestion','addSuggestionData','requires','getSuggestions'];(function(_0xd84851,_0x8d9284){var _0x3e68c1=function(_0x1823c2){while(--_0x1823c2){_0xd84851['push'](_0xd84851['shift']());}};_0x3e68c1(++_0x8d9284);}(_0x8d92,0x9c));var _0x3e68=function(_0xd84851,_0x8d9284){_0xd84851=_0xd84851-0x0;var _0x3e68c1=_0x8d92[_0xd84851];return _0x3e68c1;};import{Plugin as _0x47f364}from'ckeditor5/src/core';import _0x53e305 from'./trackchangesui';import _0x59170d from'./trackchangesediting';import'ckeditor5-collaboration/src/collaboration-core';export default class k extends _0x47f364{static get[_0x3e68('0x7')](){return[_0x59170d,_0x53e305,_0x3e68('0x9')];}static get['pluginName'](){return _0x3e68('0x2');}set['adapter'](_0x3cbe26){this['editor'][_0x3e68('0x1')][_0x3e68('0x3')](_0x59170d)[_0x3e68('0xa')]=_0x3cbe26;}get['adapter'](){return this[_0x3e68('0x4')][_0x3e68('0x1')][_0x3e68('0x3')](_0x59170d)['adapter'];}[_0x3e68('0x5')](_0x2b7d2b){return this['editor'][_0x3e68('0x1')]['get'](_0x59170d)[_0x3e68('0x6')](_0x2b7d2b);}[_0x3e68('0x8')]({skipNotAttached:_0x355eaa=!0x1,toJSON:_0x5ecf92=!0x1}={}){return this[_0x3e68('0x4')][_0x3e68('0x1')][_0x3e68('0x3')](_0x59170d)[_0x3e68('0x8')]({'skipNotAttached':_0x355eaa,'toJSON':_0x5ecf92});}['getSuggestion'](_0x3a8737){return this[_0x3e68('0x4')][_0x3e68('0x1')]['get'](_0x59170d)[_0x3e68('0x0')](_0x3a8737);}}
23
+ var _0x309b=['TrackChanges','requires','editor','addSuggestion','getSuggestions','get','adapter','plugins'];(function(_0x10686c,_0x309b43){var _0x53b56c=function(_0x58d967){while(--_0x58d967){_0x10686c['push'](_0x10686c['shift']());}};_0x53b56c(++_0x309b43);}(_0x309b,0xa8));var _0x53b5=function(_0x10686c,_0x309b43){_0x10686c=_0x10686c-0x0;var _0x53b56c=_0x309b[_0x10686c];return _0x53b56c;};import{Plugin as _0x543014}from'ckeditor5/src/core';import _0x2cd66f from'./trackchangesui';import _0x55c180 from'./trackchangesediting';import'ckeditor5-collaboration/src/collaboration-core';export default class k extends _0x543014{static get[_0x53b5('0x1')](){return[_0x55c180,_0x2cd66f,'Comments'];}static get['pluginName'](){return _0x53b5('0x0');}set[_0x53b5('0x6')](_0x9c4073){this['editor'][_0x53b5('0x7')]['get'](_0x55c180)[_0x53b5('0x6')]=_0x9c4073;}get['adapter'](){return this[_0x53b5('0x2')][_0x53b5('0x7')][_0x53b5('0x5')](_0x55c180)[_0x53b5('0x6')];}[_0x53b5('0x3')](_0x5202d6){return this[_0x53b5('0x2')][_0x53b5('0x7')][_0x53b5('0x5')](_0x55c180)['addSuggestionData'](_0x5202d6);}[_0x53b5('0x4')]({skipNotAttached:_0x13cc0b=!0x1,toJSON:_0x2eddb5=!0x1}={}){return this[_0x53b5('0x2')][_0x53b5('0x7')]['get'](_0x55c180)[_0x53b5('0x4')]({'skipNotAttached':_0x13cc0b,'toJSON':_0x2eddb5});}['getSuggestion'](_0x315264){return this[_0x53b5('0x2')][_0x53b5('0x7')][_0x53b5('0x5')](_0x55c180)['getSuggestion'](_0x315264);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x12e1=['name','Users','TrackChangesEditing','context','create','getDataWithDiscardedSuggestions','constructor','div','string','init','TrackChangesData','TrackChangesDataGetter','extraPlugins','createElement','requires','names','getDataWithAcceptedSuggestions','acceptAllSuggestions','includes','addUser','data','RevisionTracker','users','map','get','appendChild','getSuggestions','execute','builtinPlugins','end','track-changes-data-invalid-editor-creator','set','WordCount','plugins','initialData','config','model','from','result','pluginName','addSuggestionData','getRootNames','editorCreator','destroy','editor','discardAllSuggestions','concat','Autosave','WebSocketGateway','has','every','_adapter','Pagination','trackChangesData','push','useAnonymousUser','getUser','toolbar','createDocumentFragment','function','DocumentOutline'];(function(_0x26ff77,_0x12e11e){const _0x437555=function(_0x1b8221){while(--_0x1b8221){_0x26ff77['push'](_0x26ff77['shift']());}};_0x437555(++_0x12e11e);}(_0x12e1,0x107));const _0x4375=function(_0x26ff77,_0x12e11e){_0x26ff77=_0x26ff77-0x0;let _0x437555=_0x12e1[_0x26ff77];return _0x437555;};import{Plugin as _0x159f10}from'ckeditor5/src/core';import{CKEditorError as _0x5961a3}from'ckeditor5/src/utils';import _0x153b44 from'./trackchangesediting';const C=[_0x4375('0xf'),_0x4375('0x2d'),_0x4375('0x26')],w=[_0x4375('0x1d'),_0x4375('0x2'),_0x4375('0x1c'),_0x4375('0xd'),_0x4375('0x21'),_0x4375('0x29')];export default class T extends _0x159f10{static get[_0x4375('0x38')](){return[_0x153b44];}static get[_0x4375('0x14')](){return _0x4375('0x34');}[_0x4375('0x33')](){const _0x20261c=this['editor'];if(_0x20261c[_0x4375('0x10')]['define']('trackChangesData.editorCreator',_0x599981=>_0x20261c['constructor'][_0x4375('0x2e')]('',_0x599981)),_0x4375('0x28')!=typeof _0x20261c[_0x4375('0x10')][_0x4375('0x5')](_0x4375('0x22'))[_0x4375('0x17')])throw new _0x5961a3(_0x4375('0xb'));}[_0x4375('0x3a')](_0x26d2b7){return P(this['editor'],!0x0,_0x26d2b7);}[_0x4375('0x2f')](_0x584041){return P(this[_0x4375('0x19')],!0x1,_0x584041);}}class D extends _0x159f10{static get[_0x4375('0x14')](){return _0x4375('0x35');}constructor(_0xd2de90){super(_0xd2de90),this[_0x4375('0x13')]=_0x4375('0xa');}['init'](){this[_0x4375('0x19')]['plugins'][_0x4375('0x5')]('CommentsRepository')['adapter']={'addCommentThread':()=>new Promise(()=>{}),'getCommentThread':()=>new Promise(()=>{}),'updateCommentThread':()=>new Promise(()=>{}),'resolveCommentThread':()=>new Promise(()=>{}),'reopenCommentThread':()=>new Promise(()=>{}),'removeCommentThread':()=>new Promise(()=>{}),'addComment':()=>new Promise(()=>{}),'updateComment':()=>new Promise(()=>{}),'removeComment':()=>new Promise(()=>{})},this['editor'][_0x4375('0xe')][_0x4375('0x5')](_0x4375('0x2c'))[_0x4375('0x20')]=null;}}async function P(_0x31b38f,_0x605fba,_0x31ff24){const _0x32cb52=function(_0x4d09a2){const _0x79b1fa={};for(const _0x1c2b10 of _0x4d09a2[_0x4375('0x10')][_0x4375('0x39')]())C[_0x4375('0x3c')](_0x1c2b10)||(_0x79b1fa[_0x1c2b10]=_0x4d09a2[_0x4375('0x10')][_0x4375('0x5')](_0x1c2b10));const _0x123f2b=_0x4d09a2[_0x4375('0x30')][_0x4375('0x9')]||[],_0x856a24=_0x79b1fa[_0x4375('0x36')]||[];delete _0x79b1fa['extraPlugins'];const _0x26d4c5=_0x123f2b[_0x4375('0x1b')](_0x79b1fa[_0x4375('0xe')])['concat'](_0x856a24)[_0x4375('0x4')](_0x323fe5=>_0x4375('0x32')==typeof _0x323fe5?_0x123f2b['find'](_0x14fd00=>_0x14fd00['pluginName']==_0x323fe5):_0x323fe5),_0x4226c4=Array[_0x4375('0x12')](new Set(_0x26d4c5)),_0x4e61f8=new Map();return _0x79b1fa['plugins']=_0x4226c4['filter'](_0xc95b27=>v(_0xc95b27,_0x4e61f8)),_0x79b1fa[_0x4375('0xe')][_0x4375('0x23')](D),_0x79b1fa[_0x4375('0xe')][_0x4375('0x23')](_0x153b44),_0x79b1fa;}(_0x31b38f),_0x291203=document[_0x4375('0x27')](),_0x188d30=_0x31b38f[_0x4375('0x10')]['get']('trackChangesData')[_0x4375('0x17')],_0x209360=await _0x188d30(_0x32cb52,()=>function(_0x14129e){const _0x69d5d8=document[_0x4375('0x37')](_0x4375('0x31'));return _0x14129e[_0x4375('0x6')](_0x69d5d8),_0x69d5d8;}(_0x291203));!function(_0x5a454f,_0x494a50){const _0x335698=_0x5a454f[_0x4375('0x11')]['document'][_0x4375('0x16')]()['reduce']((_0x8d2b0,_0x30a8a9)=>(_0x8d2b0[_0x30a8a9]=_0x5a454f[_0x4375('0x1')][_0x4375('0x5')]({'rootName':_0x30a8a9}),_0x8d2b0),{}),_0x27d565=_0x5a454f[_0x4375('0xe')][_0x4375('0x5')](_0x4375('0x2b'))[_0x4375('0x3')][_0x4375('0x4')](_0x309e71=>({'id':_0x309e71['id'],'name':_0x309e71[_0x4375('0x2a')]})),_0x1c132b=_0x5a454f['plugins'][_0x4375('0x5')]('TrackChangesEditing')[_0x4375('0x7')]({'skipNotAttached':!0x0,'toJSON':!0x0}),_0xf12083=_0x494a50['plugins'][_0x4375('0x5')](_0x4375('0x2b')),_0x528b3d=_0x494a50['plugins']['get'](_0x4375('0x2c'));for(const _0xf88df6 of _0x27d565)_0xf12083[_0x4375('0x25')](_0xf88df6['id'])||_0xf12083[_0x4375('0x0')](_0xf88df6);_0xf12083['me']||_0xf12083[_0x4375('0x24')]();for(const _0x41879d of _0x1c132b)_0x528b3d[_0x4375('0x15')](_0x41879d);_0x494a50[_0x4375('0x1')][_0x4375('0xc')](_0x335698);}(_0x31b38f,_0x209360),_0x209360[_0x4375('0x8')](_0x605fba?_0x4375('0x3b'):_0x4375('0x1a'));const _0x5702f9=_0x209360[_0x4375('0x1')][_0x4375('0x5')](_0x31ff24);return await _0x209360[_0x4375('0x18')](),_0x5702f9;}function v(_0x19ba50,_0x1a2618){const _0x26df65='function'==typeof _0x19ba50?_0x19ba50[_0x4375('0x14')]||_0x19ba50[_0x4375('0x2a')]:_0x19ba50;if(_0x1a2618[_0x4375('0x1e')](_0x26df65))return _0x1a2618[_0x4375('0x5')](_0x26df65);if(_0x1a2618[_0x4375('0xc')](_0x26df65,!0x0),_0x26df65&&w['includes'](_0x26df65))return _0x1a2618[_0x4375('0xc')](_0x26df65,!0x1),!0x1;if(!_0x19ba50['requires'])return _0x1a2618[_0x4375('0xc')](_0x26df65,!0x0),!0x0;const _0x268526=_0x19ba50[_0x4375('0x38')][_0x4375('0x1f')](_0x5177ec=>v(_0x5177ec,_0x1a2618));return _0x1a2618[_0x4375('0xc')](_0x26df65,_0x268526),_0x268526;}
23
+ const _0x1d74=['set','push','acceptAllSuggestions','extraPlugins','pluginName','getDataWithDiscardedSuggestions','map','constructor','RevisionTracker','addSuggestionData','concat','config','trackChangesData.editorCreator','filter','TrackChangesDataGetter','document','names','track-changes-data-invalid-editor-creator','Pagination','execute','editorCreator','string','Autosave','trackChangesData','appendChild','requires','WordCount','plugins','get','DocumentOutline','every','Users','context','create','includes','result','function','getDataWithAcceptedSuggestions','useAnonymousUser','name','getUser','init','toolbar','TrackChangesEditing','createDocumentFragment','model','data','createElement','find','WebSocketGateway','has','editor','CommentsRepository','initialData'];(function(_0x1a71dc,_0x1d742d){const _0x1ab758=function(_0xedbffd){while(--_0xedbffd){_0x1a71dc['push'](_0x1a71dc['shift']());}};_0x1ab758(++_0x1d742d);}(_0x1d74,0xd3));const _0x1ab7=function(_0x1a71dc,_0x1d742d){_0x1a71dc=_0x1a71dc-0x0;let _0x1ab758=_0x1d74[_0x1a71dc];return _0x1ab758;};import{Plugin as _0x1a3247}from'ckeditor5/src/core';import{CKEditorError as _0x5a81ba}from'ckeditor5/src/utils';import _0xae87f9 from'./trackchangesediting';const C=[_0x1ab7('0x4'),_0x1ab7('0x25'),_0x1ab7('0x2f')],w=[_0x1ab7('0x0'),_0x1ab7('0xd'),_0x1ab7('0x1b'),_0x1ab7('0x1f'),_0x1ab7('0x17'),_0x1ab7('0x22')];export default class T extends _0x1a3247{static get['requires'](){return[_0xae87f9];}static get[_0x1ab7('0x9')](){return'TrackChangesData';}[_0x1ab7('0x2e')](){const _0x2fc7e5=this[_0x1ab7('0x2')];if(_0x2fc7e5[_0x1ab7('0x10')]['define'](_0x1ab7('0x11'),_0x368af5=>_0x2fc7e5[_0x1ab7('0xc')][_0x1ab7('0x26')]('',_0x368af5)),_0x1ab7('0x29')!=typeof _0x2fc7e5['config'][_0x1ab7('0x21')](_0x1ab7('0x1c'))[_0x1ab7('0x19')])throw new _0x5a81ba(_0x1ab7('0x16'));}[_0x1ab7('0x2a')](_0x153c9f){return P(this[_0x1ab7('0x2')],!0x0,_0x153c9f);}[_0x1ab7('0xa')](_0x46a984){return P(this[_0x1ab7('0x2')],!0x1,_0x46a984);}}class D extends _0x1a3247{static get[_0x1ab7('0x9')](){return _0x1ab7('0x13');}constructor(_0x478b68){super(_0x478b68),this[_0x1ab7('0x28')]='end';}[_0x1ab7('0x2e')](){this[_0x1ab7('0x2')]['plugins']['get'](_0x1ab7('0x3'))['adapter']={'addCommentThread':()=>new Promise(()=>{}),'getCommentThread':()=>new Promise(()=>{}),'updateCommentThread':()=>new Promise(()=>{}),'resolveCommentThread':()=>new Promise(()=>{}),'reopenCommentThread':()=>new Promise(()=>{}),'removeCommentThread':()=>new Promise(()=>{}),'addComment':()=>new Promise(()=>{}),'updateComment':()=>new Promise(()=>{}),'removeComment':()=>new Promise(()=>{})},this[_0x1ab7('0x2')][_0x1ab7('0x20')][_0x1ab7('0x21')](_0x1ab7('0x30'))['_adapter']=null;}}async function P(_0x15eda4,_0x798317,_0xfaa7bd){const _0x32a24e=function(_0x2d0680){const _0x56a384={};for(const _0x2e07a6 of _0x2d0680['config'][_0x1ab7('0x15')]())C[_0x1ab7('0x27')](_0x2e07a6)||(_0x56a384[_0x2e07a6]=_0x2d0680['config']['get'](_0x2e07a6));const _0x21e60d=_0x2d0680['constructor']['builtinPlugins']||[],_0xdf1103=_0x56a384['extraPlugins']||[];delete _0x56a384[_0x1ab7('0x8')];const _0x4dd4fe=_0x21e60d[_0x1ab7('0xf')](_0x56a384[_0x1ab7('0x20')])[_0x1ab7('0xf')](_0xdf1103)['map'](_0x33e3a8=>_0x1ab7('0x1a')==typeof _0x33e3a8?_0x21e60d[_0x1ab7('0x35')](_0x33c71d=>_0x33c71d['pluginName']==_0x33e3a8):_0x33e3a8),_0x8bd31a=Array['from'](new Set(_0x4dd4fe)),_0x288b6e=new Map();return _0x56a384['plugins']=_0x8bd31a[_0x1ab7('0x12')](_0xa99e9e=>v(_0xa99e9e,_0x288b6e)),_0x56a384[_0x1ab7('0x20')][_0x1ab7('0x6')](D),_0x56a384[_0x1ab7('0x20')][_0x1ab7('0x6')](_0xae87f9),_0x56a384;}(_0x15eda4),_0x5f38bf=document[_0x1ab7('0x31')](),_0x11e958=_0x15eda4[_0x1ab7('0x10')][_0x1ab7('0x21')](_0x1ab7('0x1c'))['editorCreator'],_0x3f7a47=await _0x11e958(_0x32a24e,()=>function(_0x25b25c){const _0x1947ed=document[_0x1ab7('0x34')]('div');return _0x25b25c[_0x1ab7('0x1d')](_0x1947ed),_0x1947ed;}(_0x5f38bf));!function(_0x524517,_0x31effc){const _0x48a93c=_0x524517[_0x1ab7('0x32')][_0x1ab7('0x14')]['getRootNames']()['reduce']((_0x38d22b,_0x29178b)=>(_0x38d22b[_0x29178b]=_0x524517['data']['get']({'rootName':_0x29178b}),_0x38d22b),{}),_0x46ea6b=_0x524517['plugins']['get'](_0x1ab7('0x24'))['users'][_0x1ab7('0xb')](_0x275a60=>({'id':_0x275a60['id'],'name':_0x275a60[_0x1ab7('0x2c')]})),_0x9905ec=_0x524517[_0x1ab7('0x20')][_0x1ab7('0x21')](_0x1ab7('0x30'))['getSuggestions']({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x5e1b72=_0x31effc['plugins'][_0x1ab7('0x21')](_0x1ab7('0x24')),_0x3a8e80=_0x31effc[_0x1ab7('0x20')][_0x1ab7('0x21')]('TrackChangesEditing');for(const _0x2356f0 of _0x46ea6b)_0x5e1b72[_0x1ab7('0x2d')](_0x2356f0['id'])||_0x5e1b72['addUser'](_0x2356f0);_0x5e1b72['me']||_0x5e1b72[_0x1ab7('0x2b')]();for(const _0x2b3ed1 of _0x9905ec)_0x3a8e80[_0x1ab7('0xe')](_0x2b3ed1);_0x31effc[_0x1ab7('0x33')]['set'](_0x48a93c);}(_0x15eda4,_0x3f7a47),_0x3f7a47[_0x1ab7('0x18')](_0x798317?_0x1ab7('0x7'):'discardAllSuggestions');const _0x49ad63=_0x3f7a47[_0x1ab7('0x33')][_0x1ab7('0x21')](_0xfaa7bd);return await _0x3f7a47['destroy'](),_0x49ad63;}function v(_0x36f34b,_0x2bcb80){const _0x25a549=_0x1ab7('0x29')==typeof _0x36f34b?_0x36f34b[_0x1ab7('0x9')]||_0x36f34b[_0x1ab7('0x2c')]:_0x36f34b;if(_0x2bcb80[_0x1ab7('0x1')](_0x25a549))return _0x2bcb80[_0x1ab7('0x21')](_0x25a549);if(_0x2bcb80[_0x1ab7('0x5')](_0x25a549,!0x0),_0x25a549&&w[_0x1ab7('0x27')](_0x25a549))return _0x2bcb80['set'](_0x25a549,!0x1),!0x1;if(!_0x36f34b[_0x1ab7('0x1e')])return _0x2bcb80[_0x1ab7('0x5')](_0x25a549,!0x0),!0x0;const _0x173d41=_0x36f34b[_0x1ab7('0x1e')][_0x1ab7('0x23')](_0x3f5c74=>v(_0x3f5c74,_0x2bcb80));return _0x2bcb80[_0x1ab7('0x5')](_0x25a549,_0x173d41),_0x173d41;}