@ckeditor/ckeditor5-track-changes 38.0.0-rc.0 → 38.0.0-rc.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 +2 -2
  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 _0x1113=['onAttributesChange','getMarkers','subType','nodeBefore','push','isIntersecting','add','setAttribute','_onDiscard','isMultiRange','creator','start','isExternal','commentThread','toJSON','map','end','addRange','discard','getContainedElement','_markerNames','getFirstMarker','getItems','_onAccept','substr','previous','getAllAdjacentSuggestions','author','authoredAt','_model','decorate','next','accept','addMarkerName','getMarkerNames','isIntersectingWithRange','get','type','nodeAfter','getFirstRange','onDiscard','removeMarkers','getRanges','markers','filter','change','set','_onAttributesChange','onAccept','addMarker','removeMarker','data','clear','isInContent','from','hasComments','createdAt','length','attributes'];(function(_0x465afb,_0x111380){const _0x4cf9d5=function(_0x3184a4){while(--_0x3184a4){_0x465afb['push'](_0x465afb['shift']());}};_0x4cf9d5(++_0x111380);}(_0x1113,0x18b));const _0x4cf9=function(_0x465afb,_0x111380){_0x465afb=_0x465afb-0x0;let _0x4cf9d5=_0x1113[_0x465afb];return _0x4cf9d5;};import{Element as _0x4acb27}from'ckeditor5/src/engine';import{ObservableMixin as _0x83784b,uid as _0x368a8c}from'ckeditor5/src/utils';import{cloneDeep as _0x35d73d,isEqual as _0x132e11,set as _0x1c5d72,unset as _0xc60b39}from'lodash-es';export default class u extends _0x83784b(){constructor(_0x19f1a0,_0x23e374){super(),this['id']=_0x23e374['id'],this[_0x4cf9('0x37')]=_0x23e374[_0x4cf9('0x37')],this[_0x4cf9('0x14')]=_0x23e374[_0x4cf9('0x14')]||null,this['author']=_0x23e374[_0x4cf9('0x2d')],this['creator']=_0x23e374[_0x4cf9('0x1c')]||_0x23e374[_0x4cf9('0x2d')],this[_0x4cf9('0x1e')]=Boolean(_0x23e374[_0x4cf9('0x11')]&&_0x23e374[_0x4cf9('0x11')]['@external']),this[_0x4cf9('0xa')]=null,this[_0x4cf9('0x2f')]=_0x19f1a0,this[_0x4cf9('0x29')]=_0x23e374[_0x4cf9('0x7')],this[_0x4cf9('0x1a')]=_0x23e374[_0x4cf9('0x3a')],this[_0x4cf9('0x6')]=_0x23e374[_0x4cf9('0x12')],this[_0x4cf9('0x26')]=new Set(),this[_0x4cf9('0xf')]=null,this[_0x4cf9('0x5')](_0x4cf9('0x2e'),null),this[_0x4cf9('0x5')](_0x4cf9('0x11'),_0x23e374[_0x4cf9('0x11')]||{}),this[_0x4cf9('0x5')](_0x4cf9('0x2b'),null),this[_0x4cf9('0x5')](_0x4cf9('0x31'),null),this[_0x4cf9('0x5')]('commentThread',null),this[_0x4cf9('0x5')]('_saved',!0x1),this[_0x4cf9('0x30')](_0x4cf9('0x32')),this[_0x4cf9('0x30')](_0x4cf9('0x24'));}get['head'](){let _0x40e471=this;for(;_0x40e471[_0x4cf9('0x2b')];)_0x40e471=_0x40e471[_0x4cf9('0x2b')];return _0x40e471;}get[_0x4cf9('0xe')](){return!!this['commentThread']&&this[_0x4cf9('0x1f')]['length']>0x0;}get[_0x4cf9('0x1b')](){if(0x0==this['_markerNames']['size'])return!0x1;return 0x6==Array[_0x4cf9('0xd')](this[_0x4cf9('0x26')])[0x0]['split'](':')[_0x4cf9('0x10')];}get[_0x4cf9('0xc')](){return null!==this[_0x4cf9('0x27')]();}[_0x4cf9('0x33')](_0x40013e){this['_markerNames'][_0x4cf9('0x18')](_0x40013e);}['getMarkerNames'](){return Array[_0x4cf9('0xd')](this[_0x4cf9('0x26')]);}[_0x4cf9('0x13')](){return this[_0x4cf9('0x34')]()[_0x4cf9('0x21')](_0x471d54=>this[_0x4cf9('0x2f')][_0x4cf9('0x2')][_0x4cf9('0x36')](_0x471d54))[_0x4cf9('0x3')](_0x3d1055=>_0x3d1055);}[_0x4cf9('0x27')](){return this[_0x4cf9('0x13')]()[0x0]||null;}[_0x4cf9('0x0')](){this[_0x4cf9('0x2f')][_0x4cf9('0x4')](_0x1702c8=>{for(const _0x52c56a of this[_0x4cf9('0x13')]())_0x1702c8[_0x4cf9('0x9')](_0x52c56a);}),this[_0x4cf9('0x26')][_0x4cf9('0xb')]();}[_0x4cf9('0x9')](_0x3d8a56){this[_0x4cf9('0x2f')][_0x4cf9('0x4')](_0x1be4d5=>{_0x1be4d5[_0x4cf9('0x9')](_0x3d8a56);}),this[_0x4cf9('0x26')]['delete'](_0x3d8a56);}[_0x4cf9('0x23')](_0x25d548){const _0x43b13a='suggestion:'+this['type']+':'+this[_0x4cf9('0x14')]+':'+this['id']+':'+this['creator']['id']+':'+u['getMultiRangeId']();this[_0x4cf9('0x33')](_0x43b13a),this[_0x4cf9('0x2f')]['change'](_0x526d79=>{_0x526d79[_0x4cf9('0x8')](_0x43b13a,{'range':_0x25d548,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x4cf9('0x35')](_0x4ad62d){for(const _0x543a2f of this['getRanges']())if(_0x543a2f[_0x4cf9('0x17')](_0x4ad62d))return!0x0;return!0x1;}[_0x4cf9('0x1')](){return this[_0x4cf9('0x13')]()[_0x4cf9('0x21')](_0x3f3584=>_0x3f3584['getRange']());}['getItems'](){return this[_0x4cf9('0x1')]()['reduce']((_0x22ba27,_0x43ad05)=>[..._0x22ba27,..._0x43ad05[_0x4cf9('0x28')]()],[]);}[_0x4cf9('0x39')](){var _0x31d94d;return(null===(_0x31d94d=this[_0x4cf9('0x27')]())||void 0x0===_0x31d94d?void 0x0:_0x31d94d['getRange']())||null;}[_0x4cf9('0x25')](){const _0x4835bf=this[_0x4cf9('0x1')]();if(0x1!=_0x4835bf[_0x4cf9('0x10')])return null;const _0x52068d=_0x4835bf[0x0],_0x5b244e=_0x52068d[_0x4cf9('0x1d')][_0x4cf9('0x38')],_0x478583=_0x52068d[_0x4cf9('0x22')][_0x4cf9('0x15')];return _0x5b244e instanceof _0x4acb27?_0x5b244e!=_0x478583?null:_0x5b244e:null;}[_0x4cf9('0x32')](){this['_onAccept'](this[_0x4cf9('0x1')](),this[_0x4cf9('0xa')],this[_0x4cf9('0x11')]),this[_0x4cf9('0x0')]();}[_0x4cf9('0x24')](){this['_onDiscard'](this[_0x4cf9('0x1')](),this[_0x4cf9('0xa')],this[_0x4cf9('0x11')]),this[_0x4cf9('0x0')]();}[_0x4cf9('0x2c')](){const _0x1d2e02=[];let _0x1b9e3d=this['head'];for(;_0x1b9e3d;)_0x1d2e02[_0x4cf9('0x16')](_0x1b9e3d),_0x1b9e3d=_0x1b9e3d['next'];return _0x1d2e02;}[_0x4cf9('0x19')](_0x11ed76,_0x214f6f){const _0x3a281c=_0x35d73d(this['attributes']);_0x1c5d72(_0x3a281c,_0x11ed76,_0x214f6f),_0x132e11(_0x3a281c,this[_0x4cf9('0x11')])||(this['attributes']=_0x3a281c,this[_0x4cf9('0x6')](_0x3a281c));}['removeAttribute'](_0x99e7aa){const _0x1a06c5=_0x35d73d(this[_0x4cf9('0x11')]);_0xc60b39(_0x1a06c5,_0x99e7aa),_0x132e11(_0x1a06c5,this['attributes'])||(this[_0x4cf9('0x11')]=_0x1a06c5,this['_onAttributesChange'](this[_0x4cf9('0x11')]));}[_0x4cf9('0x20')](){return{'id':this['id'],'type':this[_0x4cf9('0x14')]?this[_0x4cf9('0x37')]+':'+this[_0x4cf9('0x14')]:this[_0x4cf9('0x37')],'authorId':this[_0x4cf9('0x1c')]['id'],'createdAt':this['createdAt'],'hasComments':this[_0x4cf9('0xe')],'data':this[_0x4cf9('0xa')],'attributes':this[_0x4cf9('0x11')]};}static['getMultiRangeId'](){return _0x368a8c()[_0x4cf9('0x2a')](0x1,0x5);}}
23
+ const _0x5dc7=['get','split','addMarker','_onAttributesChange','change','head','set','accept','length','setAttribute','_onDiscard','_markerNames','discard','filter','hasComments','getFirstRange','toJSON','next','getContainedElement','nodeBefore','push','createdAt','markers','decorate','isMultiRange','map','getMarkerNames','data','getMarkers','@external','getAllAdjacentSuggestions','commentThread','from','type','previous','onDiscard','isIntersecting','removeMarkers','addMarkerName','getRanges','subType','removeMarker','addRange','_onAccept','getFirstMarker','getMultiRangeId','removeAttribute','nodeAfter','_model','creator','onAttributesChange','attributes','suggestion:','isInContent','author','getRange','_saved','add'];(function(_0x58cec6,_0x5dc7fb){const _0x303c8c=function(_0x2ea691){while(--_0x2ea691){_0x58cec6['push'](_0x58cec6['shift']());}};_0x303c8c(++_0x5dc7fb);}(_0x5dc7,0x1d9));const _0x303c=function(_0x58cec6,_0x5dc7fb){_0x58cec6=_0x58cec6-0x0;let _0x303c8c=_0x5dc7[_0x58cec6];return _0x303c8c;};import{Element as _0x40e5ac}from'ckeditor5/src/engine';import{ObservableMixin as _0x271a87,uid as _0x2ce735}from'ckeditor5/src/utils';import{cloneDeep as _0x57ae5d,isEqual as _0x414ec3,set as _0x1b6b50,unset as _0x454005}from'lodash-es';export default class u extends _0x271a87(){constructor(_0x50b89d,_0x4d8e0a){super(),this['id']=_0x4d8e0a['id'],this[_0x303c('0x18')]=_0x4d8e0a['type'],this['subType']=_0x4d8e0a[_0x303c('0x1f')]||null,this[_0x303c('0x2d')]=_0x4d8e0a[_0x303c('0x2d')],this['creator']=_0x4d8e0a['creator']||_0x4d8e0a[_0x303c('0x2d')],this['isExternal']=Boolean(_0x4d8e0a[_0x303c('0x2a')]&&_0x4d8e0a[_0x303c('0x2a')][_0x303c('0x14')]),this['data']=null,this[_0x303c('0x27')]=_0x50b89d,this[_0x303c('0x22')]=_0x4d8e0a['onAccept'],this[_0x303c('0x1')]=_0x4d8e0a[_0x303c('0x1a')],this['_onAttributesChange']=_0x4d8e0a[_0x303c('0x29')],this[_0x303c('0x2')]=new Set(),this['createdAt']=null,this[_0x303c('0x37')]('authoredAt',null),this[_0x303c('0x37')](_0x303c('0x2a'),_0x4d8e0a[_0x303c('0x2a')]||{}),this[_0x303c('0x37')](_0x303c('0x19'),null),this[_0x303c('0x37')](_0x303c('0x8'),null),this[_0x303c('0x37')]('commentThread',null),this[_0x303c('0x37')](_0x303c('0x2f'),!0x1),this['decorate'](_0x303c('0x38')),this[_0x303c('0xe')](_0x303c('0x3'));}get[_0x303c('0x36')](){let _0xdbd11f=this;for(;_0xdbd11f[_0x303c('0x19')];)_0xdbd11f=_0xdbd11f['previous'];return _0xdbd11f;}get['hasComments'](){return!!this[_0x303c('0x16')]&&this[_0x303c('0x16')]['length']>0x0;}get[_0x303c('0xf')](){if(0x0==this['_markerNames']['size'])return!0x1;return 0x6==Array[_0x303c('0x17')](this['_markerNames'])[0x0][_0x303c('0x32')](':')['length'];}get[_0x303c('0x2c')](){return null!==this[_0x303c('0x23')]();}[_0x303c('0x1d')](_0x2b5224){this[_0x303c('0x2')][_0x303c('0x30')](_0x2b5224);}[_0x303c('0x11')](){return Array[_0x303c('0x17')](this[_0x303c('0x2')]);}[_0x303c('0x13')](){return this[_0x303c('0x11')]()[_0x303c('0x10')](_0x3603f3=>this['_model'][_0x303c('0xd')][_0x303c('0x31')](_0x3603f3))[_0x303c('0x4')](_0x1acd22=>_0x1acd22);}[_0x303c('0x23')](){return this[_0x303c('0x13')]()[0x0]||null;}[_0x303c('0x1c')](){this[_0x303c('0x27')][_0x303c('0x35')](_0x543e81=>{for(const _0xa9d323 of this[_0x303c('0x13')]())_0x543e81[_0x303c('0x20')](_0xa9d323);}),this[_0x303c('0x2')]['clear']();}[_0x303c('0x20')](_0x170463){this[_0x303c('0x27')][_0x303c('0x35')](_0xbe19d8=>{_0xbe19d8[_0x303c('0x20')](_0x170463);}),this['_markerNames']['delete'](_0x170463);}[_0x303c('0x21')](_0xbc7be1){const _0x19ded9=_0x303c('0x2b')+this['type']+':'+this['subType']+':'+this['id']+':'+this[_0x303c('0x28')]['id']+':'+u[_0x303c('0x24')]();this[_0x303c('0x1d')](_0x19ded9),this[_0x303c('0x27')]['change'](_0x366b19=>{_0x366b19[_0x303c('0x33')](_0x19ded9,{'range':_0xbc7be1,'usingOperation':!0x0,'affectsData':!0x0});});}['isIntersectingWithRange'](_0x25b6f8){for(const _0x443a77 of this[_0x303c('0x1e')]())if(_0x443a77[_0x303c('0x1b')](_0x25b6f8))return!0x0;return!0x1;}[_0x303c('0x1e')](){return this[_0x303c('0x13')]()[_0x303c('0x10')](_0x5aa481=>_0x5aa481[_0x303c('0x2e')]());}['getItems'](){return this[_0x303c('0x1e')]()['reduce']((_0x50cf68,_0x2193d6)=>[..._0x50cf68,..._0x2193d6['getItems']()],[]);}[_0x303c('0x6')](){var _0xf8814b;return(null===(_0xf8814b=this['getFirstMarker']())||void 0x0===_0xf8814b?void 0x0:_0xf8814b[_0x303c('0x2e')]())||null;}[_0x303c('0x9')](){const _0x4ab939=this[_0x303c('0x1e')]();if(0x1!=_0x4ab939[_0x303c('0x39')])return null;const _0xe3a45c=_0x4ab939[0x0],_0x1a9c77=_0xe3a45c['start'][_0x303c('0x26')],_0x17d7f1=_0xe3a45c['end'][_0x303c('0xa')];return _0x1a9c77 instanceof _0x40e5ac?_0x1a9c77!=_0x17d7f1?null:_0x1a9c77:null;}[_0x303c('0x38')](){this[_0x303c('0x22')](this['getRanges'](),this['data'],this[_0x303c('0x2a')]),this['removeMarkers']();}[_0x303c('0x3')](){this['_onDiscard'](this[_0x303c('0x1e')](),this['data'],this['attributes']),this[_0x303c('0x1c')]();}[_0x303c('0x15')](){const _0x360da3=[];let _0x4f7cf8=this[_0x303c('0x36')];for(;_0x4f7cf8;)_0x360da3[_0x303c('0xb')](_0x4f7cf8),_0x4f7cf8=_0x4f7cf8['next'];return _0x360da3;}[_0x303c('0x0')](_0x480cb2,_0x49bc3f){const _0x16f8ce=_0x57ae5d(this[_0x303c('0x2a')]);_0x1b6b50(_0x16f8ce,_0x480cb2,_0x49bc3f),_0x414ec3(_0x16f8ce,this[_0x303c('0x2a')])||(this[_0x303c('0x2a')]=_0x16f8ce,this[_0x303c('0x34')](_0x16f8ce));}[_0x303c('0x25')](_0x3e2e67){const _0x406c4f=_0x57ae5d(this[_0x303c('0x2a')]);_0x454005(_0x406c4f,_0x3e2e67),_0x414ec3(_0x406c4f,this[_0x303c('0x2a')])||(this['attributes']=_0x406c4f,this[_0x303c('0x34')](this[_0x303c('0x2a')]));}[_0x303c('0x7')](){return{'id':this['id'],'type':this[_0x303c('0x1f')]?this['type']+':'+this[_0x303c('0x1f')]:this[_0x303c('0x18')],'authorId':this[_0x303c('0x28')]['id'],'createdAt':this[_0x303c('0xc')],'hasComments':this[_0x303c('0x5')],'data':this[_0x303c('0x12')],'attributes':this[_0x303c('0x2a')]};}static[_0x303c('0x24')](){return _0x2ce735()['substr'](0x1,0x5);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x156a=['getWalker','elementStart','set','start','remove','removeEmptyContainer','indexOf','nextSibling','length','name','element','_resolveDescriptionItems','$1\x20$2','Object','registerDescriptionCallback','isObject','previousSibling','push','Container','deletion','*Merge:*\x20%0','_schema','addContainer','_itemLabelsCallbacks','getItemLabel','REPLACE_TEXT','type','_locale','matchingCallback','*Split:*\x20%0','match','*Insert:*\x20%0','elementEnd','getFirstRange','replace','$textProxy','registerElementLabel','_itemLabels','ELEMENT_SPACE','insertion','isInContent','pop','_customCallbacks','_addDescriptionItems','item','end','quantity','skip','add','isEmpty','*Remove:*\x20%0','data','checkChild','text','get'];(function(_0x2a9f14,_0x156a9f){const _0x293f83=function(_0x3570d3){while(--_0x3570d3){_0x2a9f14['push'](_0x2a9f14['shift']());}};_0x293f83(++_0x156a9f);}(_0x156a,0x117));const _0x293f=function(_0x2a9f14,_0x156a9f){_0x2a9f14=_0x2a9f14-0x0;let _0x293f83=_0x156a[_0x2a9f14];return _0x293f83;};import{getTranslation as _0x6de871}from'./utils/common-translations';import{priorities as _0x199d60,insertToPriorityArray as _0x1eda7f}from'ckeditor5/src/utils';export default class m{constructor(_0x30efb1,_0x3e4982){this[_0x293f('0x26')]=[],this[_0x293f('0x21')]=new Map(),this[_0x293f('0x13')]=[],this[_0x293f('0x11')]=_0x30efb1,this[_0x293f('0x17')]=_0x3e4982;}['getDescriptions'](_0x45ddb8){const _0x256c60=[];for(let _0xb321ff=0x0;_0xb321ff<_0x45ddb8['length'];_0xb321ff++){const _0x2c2beb=_0x45ddb8[_0xb321ff];if(!_0x2c2beb[_0x293f('0x24')])continue;let _0x511909=!0x1;for(const _0xf431e9 of this[_0x293f('0x26')]){const _0x3a09fd=_0xf431e9(_0x2c2beb);if(_0x3a09fd){_0x293f('0x16')in _0x3a09fd&&_0x256c60[_0x293f('0xd')](_0x3a09fd),_0x511909=!0x0;break;}}if(!_0x511909){this['_addDescriptionItems'](_0x256c60,_0x2c2beb);const _0x4c18ff=_0x45ddb8[_0xb321ff+0x1];if(_0x4c18ff&&!_0x2c2beb[_0x293f('0x1d')]()[_0x293f('0x29')]['isEqual'](_0x4c18ff[_0x293f('0x1d')]()[_0x293f('0x36')])){const _0x146e42=_0x256c60[_0x256c60[_0x293f('0x4')]-0x1],_0x10005c=_0x293f('0x23')==_0x2c2beb[_0x293f('0x16')]?_0x293f('0x2c'):_0x293f('0x0');_0x146e42&&_0x293f('0x31')==_0x146e42['type']&&(_0x146e42[_0x10005c]+='\x0a');}}}return this['_resolveDescriptionItems'](_0x256c60);}[_0x293f('0xa')](_0x93f621){this[_0x293f('0x26')][_0x293f('0xd')](_0x93f621);}[_0x293f('0x20')](_0x12a341,_0x2ecd7d,_0x27a571=_0x199d60['normal']){'function'==typeof _0x12a341?_0x1eda7f(this['_itemLabelsCallbacks'],{'matchingCallback':_0x12a341,'label':_0x2ecd7d,'priority':_0x27a571}):this[_0x293f('0x21')][_0x293f('0x35')](_0x12a341,_0x2ecd7d);}[_0x293f('0x14')](_0x982f96,_0x3565e1=0x1){let _0x3b97eb;for(const _0x519e55 of this['_itemLabelsCallbacks'])if(_0x519e55[_0x293f('0x18')](_0x982f96)){_0x3b97eb=_0x519e55['label'];break;}return _0x3b97eb||(_0x3b97eb=this[_0x293f('0x21')][_0x293f('0x32')](_0x982f96['name'])),_0x3b97eb?_0x3b97eb(_0x3565e1):0x1!==_0x3565e1?_0x3565e1+'\x20'+_0x982f96['name']+'s':''+_0x982f96[_0x293f('0x5')];}[_0x293f('0x27')](_0x2cbdef,_0x3369df){const _0x75d538=_0x3369df[_0x293f('0x1d')]()[_0x293f('0x33')](),_0x230459=_0x293f('0x23')==_0x3369df[_0x293f('0x16')]?_0x293f('0x2c'):_0x293f('0x0');for(const _0x5773ec of _0x75d538){const _0x1636cb=_0x5773ec[_0x293f('0x28')],_0x339bb8=_0x2cbdef[_0x2cbdef[_0x293f('0x4')]-0x1];if(_0x1636cb['is'](_0x293f('0x1f')))_0x339bb8&&_0x339bb8[_0x293f('0x16')][_0x293f('0x2')]('Container')>-0x1&&_0x2cbdef[_0x293f('0x25')](),_0x339bb8&&_0x293f('0x31')==_0x339bb8[_0x293f('0x16')]?_0x339bb8[_0x230459]+=_0x1636cb[_0x293f('0x2f')]:_0x2cbdef[_0x293f('0xd')]({'type':_0x293f('0x31'),'add':_0x293f('0x2c')==_0x230459?_0x1636cb[_0x293f('0x2f')]:'','remove':_0x293f('0x0')==_0x230459?_0x1636cb[_0x293f('0x2f')]:''});else{if(this[_0x293f('0x11')][_0x293f('0xb')](_0x1636cb)){const _0x4e9d1f=_0x1636cb;if(_0x339bb8&&_0x339bb8[_0x293f('0x16')][_0x293f('0x2')]('Container')>-0x1&&_0x2cbdef['pop'](),_0x293f('0x1c')==_0x5773ec['type'])continue;_0x339bb8&&_0x339bb8['type']==_0x230459+'Object'&&_0x339bb8['element'][_0x293f('0x5')]==_0x4e9d1f[_0x293f('0x5')]?_0x339bb8['quantity']++:_0x2cbdef[_0x293f('0xd')]({'type':_0x230459+_0x293f('0x9'),'element':_0x4e9d1f,'quantity':0x1}),_0x75d538[_0x293f('0x2b')](_0xa05555=>!(_0x293f('0x1c')==_0xa05555[_0x293f('0x16')]&&_0xa05555['item']==_0x1636cb));}else{if(this[_0x293f('0x11')][_0x293f('0x30')](_0x1636cb,'$text')||_0x1636cb['is']('element','softBreak')){const _0x4166d3=_0x1636cb;if('add'==_0x230459&&_0x293f('0x34')==_0x5773ec[_0x293f('0x16')]||_0x293f('0x0')==_0x230459&&_0x293f('0x1c')==_0x5773ec['type'])continue;if(_0x339bb8&&-0x1==_0x339bb8[_0x293f('0x16')]['indexOf'](_0x293f('0xe'))){_0x293f('0x31')==_0x339bb8[_0x293f('0x16')]&&(_0x339bb8[_0x230459]+='\x0a');continue;}let _0x46850d;if(_0x46850d='add'==_0x230459?_0x4166d3[_0x293f('0x3')]&&!this['_schema'][_0x293f('0xb')](_0x4166d3[_0x293f('0x3')])?_0x4166d3['nextSibling']:null:_0x4166d3['previousSibling']&&!this['_schema']['isObject'](_0x4166d3['previousSibling'])?_0x4166d3[_0x293f('0xc')]:null,_0x4166d3[_0x293f('0x2d')]||_0x46850d&&_0x46850d[_0x293f('0x2d')]){const _0x3a5e1e=_0x46850d&&_0x46850d[_0x293f('0x2d')]?_0x46850d:_0x4166d3;_0x339bb8&&_0x339bb8['type']==_0x230459+'EmptyContainer'&&_0x339bb8['element'][_0x293f('0x5')]==_0x3a5e1e['name']?_0x339bb8[_0x293f('0x2a')]++:_0x2cbdef[_0x293f('0xd')]({'type':_0x230459+'EmptyContainer','element':_0x3a5e1e,'quantity':0x1});}else _0x2cbdef['push']({'type':_0x230459+_0x293f('0xe'),'element':_0x4166d3});}}}}}[_0x293f('0x7')](_0x3afd54){const _0x20e9c7=this[_0x293f('0x17')],_0x25f15c=[];for(const _0x4e2992 of _0x3afd54){switch(_0x4e2992[_0x293f('0x16')]){case _0x293f('0x31'):if(_0x4e2992[_0x293f('0x2c')]=_0x4e2992['add'][_0x293f('0x1e')](/(\S)\u000A+(\S)/g,_0x293f('0x8'))[_0x293f('0x1e')](/\u000A/g,''),_0x4e2992[_0x293f('0x0')]=_0x4e2992['remove'][_0x293f('0x1e')](/(\S)\u000A+(\S)/g,_0x293f('0x8'))[_0x293f('0x1e')](/\u000A/g,''),''!=_0x4e2992[_0x293f('0x2c')]&&''!=_0x4e2992['remove']){_0x25f15c[_0x293f('0xd')]({'type':_0x293f('0x1e'),'content':_0x6de871(_0x20e9c7,_0x293f('0x15'),['\x22'+_0x4e2992['remove']+'\x22','\x22'+_0x4e2992[_0x293f('0x2c')]+'\x22'])});continue;}if(null!=_0x4e2992[_0x293f('0x2c')][_0x293f('0x1a')](/^ +$/)){_0x25f15c[_0x293f('0xd')]({'type':'insertion','content':_0x6de871(_0x20e9c7,_0x293f('0x1b'),_0x6de871(_0x20e9c7,_0x293f('0x22'),_0x4e2992[_0x293f('0x2c')][_0x293f('0x4')]))});continue;}if(null!=_0x4e2992[_0x293f('0x0')][_0x293f('0x1a')](/^ +$/)){_0x25f15c[_0x293f('0xd')]({'type':_0x293f('0xf'),'content':_0x6de871(_0x20e9c7,_0x293f('0x2e'),_0x6de871(_0x20e9c7,_0x293f('0x22'),_0x4e2992['remove'][_0x293f('0x4')]))});continue;}if(''!=_0x4e2992[_0x293f('0x2c')]){_0x25f15c['push']({'type':'insertion','content':_0x6de871(_0x20e9c7,_0x293f('0x1b'),'\x22'+_0x4e2992[_0x293f('0x2c')]+'\x22')});continue;}_0x25f15c[_0x293f('0xd')]({'type':_0x293f('0xf'),'content':_0x6de871(_0x20e9c7,_0x293f('0x2e'),'\x22'+_0x4e2992[_0x293f('0x0')]+'\x22')});continue;case'addEmptyContainer':case'addObject':_0x25f15c['push']({'type':_0x293f('0x23'),'content':_0x6de871(_0x20e9c7,_0x293f('0x1b'),this[_0x293f('0x14')](_0x4e2992[_0x293f('0x6')],_0x4e2992[_0x293f('0x2a')]))});continue;case _0x293f('0x1'):case'removeObject':_0x25f15c[_0x293f('0xd')]({'type':_0x293f('0xf'),'content':_0x6de871(_0x20e9c7,'*Remove:*\x20%0',this['getItemLabel'](_0x4e2992[_0x293f('0x6')],_0x4e2992[_0x293f('0x2a')]))});continue;case _0x293f('0x12'):_0x25f15c[_0x293f('0xd')]({'type':_0x293f('0x23'),'content':_0x6de871(_0x20e9c7,_0x293f('0x19'),this['getItemLabel'](_0x4e2992[_0x293f('0x6')],_0x4e2992[_0x293f('0x2a')]))});continue;case'removeContainer':_0x25f15c[_0x293f('0xd')]({'type':'deletion','content':_0x6de871(_0x20e9c7,_0x293f('0x10'),this[_0x293f('0x14')](_0x4e2992['element'],_0x4e2992[_0x293f('0x2a')]))});continue;}_0x25f15c[_0x293f('0xd')](_0x4e2992);}return _0x25f15c;}}
23
+ const _0x2008=['registerElementLabel','indexOf','isInContent','item','elementEnd','ELEMENT_SPACE','_locale','checkChild','previousSibling','Container','remove','REPLACE_TEXT','isEqual','matchingCallback','_schema','label','_itemLabelsCallbacks','add','*Merge:*\x20%0','Object','*Remove:*\x20%0','push','*Insert:*\x20%0','_addDescriptionItems','data','removeContainer','replace','element','start','_itemLabels','normal','addEmptyContainer','nextSibling','length','*Split:*\x20%0','getWalker','getItemLabel','type','insertion','pop','deletion','_resolveDescriptionItems','$text','match','$textProxy','set','text','name','removeEmptyContainer','$1\x20$2','isEmpty','quantity','registerDescriptionCallback','function','getFirstRange','skip','isObject','_customCallbacks'];(function(_0x59502e,_0x2008e8){const _0xb77e4f=function(_0xad2ff4){while(--_0xad2ff4){_0x59502e['push'](_0x59502e['shift']());}};_0xb77e4f(++_0x2008e8);}(_0x2008,0x1db));const _0xb77e=function(_0x59502e,_0x2008e8){_0x59502e=_0x59502e-0x0;let _0xb77e4f=_0x2008[_0x59502e];return _0xb77e4f;};import{getTranslation as _0x4971f2}from'./utils/common-translations';import{priorities as _0x25cf39,insertToPriorityArray as _0x238aaf}from'ckeditor5/src/utils';export default class m{constructor(_0x43746d,_0x9bf03a){this[_0xb77e('0x2e')]=[],this[_0xb77e('0x12')]=new Map(),this[_0xb77e('0x5')]=[],this['_schema']=_0x43746d,this['_locale']=_0x9bf03a;}['getDescriptions'](_0x2f3a65){const _0x239b2a=[];for(let _0x59cde8=0x0;_0x59cde8<_0x2f3a65[_0xb77e('0x16')];_0x59cde8++){const _0x3af0ef=_0x2f3a65[_0x59cde8];if(!_0x3af0ef[_0xb77e('0x31')])continue;let _0x520280=!0x1;for(const _0x43dda9 of this[_0xb77e('0x2e')]){const _0x2223ed=_0x43dda9(_0x3af0ef);if(_0x2223ed){'type'in _0x2223ed&&_0x239b2a['push'](_0x2223ed),_0x520280=!0x0;break;}}if(!_0x520280){this['_addDescriptionItems'](_0x239b2a,_0x3af0ef);const _0x1012c6=_0x2f3a65[_0x59cde8+0x1];if(_0x1012c6&&!_0x3af0ef[_0xb77e('0x2b')]()['end'][_0xb77e('0x1')](_0x1012c6[_0xb77e('0x2b')]()[_0xb77e('0x11')])){const _0xe06aa2=_0x239b2a[_0x239b2a[_0xb77e('0x16')]-0x1],_0x121cc1=_0xb77e('0x1b')==_0x3af0ef[_0xb77e('0x1a')]?_0xb77e('0x6'):_0xb77e('0x39');_0xe06aa2&&_0xb77e('0x23')==_0xe06aa2[_0xb77e('0x1a')]&&(_0xe06aa2[_0x121cc1]+='\x0a');}}}return this['_resolveDescriptionItems'](_0x239b2a);}[_0xb77e('0x29')](_0x32f976){this[_0xb77e('0x2e')][_0xb77e('0xa')](_0x32f976);}[_0xb77e('0x2f')](_0x4a7e2a,_0x505ef5,_0xeb8339=_0x25cf39[_0xb77e('0x13')]){_0xb77e('0x2a')==typeof _0x4a7e2a?_0x238aaf(this[_0xb77e('0x5')],{'matchingCallback':_0x4a7e2a,'label':_0x505ef5,'priority':_0xeb8339}):this[_0xb77e('0x12')][_0xb77e('0x22')](_0x4a7e2a,_0x505ef5);}[_0xb77e('0x19')](_0x4fa400,_0x43cc3e=0x1){let _0x173ce6;for(const _0x290865 of this[_0xb77e('0x5')])if(_0x290865[_0xb77e('0x2')](_0x4fa400)){_0x173ce6=_0x290865[_0xb77e('0x4')];break;}return _0x173ce6||(_0x173ce6=this[_0xb77e('0x12')]['get'](_0x4fa400['name'])),_0x173ce6?_0x173ce6(_0x43cc3e):0x1!==_0x43cc3e?_0x43cc3e+'\x20'+_0x4fa400[_0xb77e('0x24')]+'s':''+_0x4fa400[_0xb77e('0x24')];}[_0xb77e('0xc')](_0x56b13b,_0x4793e4){const _0x58828c=_0x4793e4[_0xb77e('0x2b')]()[_0xb77e('0x18')](),_0x10ca71='insertion'==_0x4793e4['type']?_0xb77e('0x6'):_0xb77e('0x39');for(const _0x4c3a44 of _0x58828c){const _0x20360b=_0x4c3a44[_0xb77e('0x32')],_0xc27371=_0x56b13b[_0x56b13b[_0xb77e('0x16')]-0x1];if(_0x20360b['is'](_0xb77e('0x21')))_0xc27371&&_0xc27371['type']['indexOf']('Container')>-0x1&&_0x56b13b[_0xb77e('0x1c')](),_0xc27371&&_0xb77e('0x23')==_0xc27371[_0xb77e('0x1a')]?_0xc27371[_0x10ca71]+=_0x20360b[_0xb77e('0xd')]:_0x56b13b[_0xb77e('0xa')]({'type':_0xb77e('0x23'),'add':_0xb77e('0x6')==_0x10ca71?_0x20360b[_0xb77e('0xd')]:'','remove':'remove'==_0x10ca71?_0x20360b['data']:''});else{if(this[_0xb77e('0x3')][_0xb77e('0x2d')](_0x20360b)){const _0x3a92b0=_0x20360b;if(_0xc27371&&_0xc27371[_0xb77e('0x1a')][_0xb77e('0x30')]('Container')>-0x1&&_0x56b13b[_0xb77e('0x1c')](),_0xb77e('0x33')==_0x4c3a44[_0xb77e('0x1a')])continue;_0xc27371&&_0xc27371[_0xb77e('0x1a')]==_0x10ca71+_0xb77e('0x8')&&_0xc27371[_0xb77e('0x10')][_0xb77e('0x24')]==_0x3a92b0[_0xb77e('0x24')]?_0xc27371[_0xb77e('0x28')]++:_0x56b13b[_0xb77e('0xa')]({'type':_0x10ca71+_0xb77e('0x8'),'element':_0x3a92b0,'quantity':0x1}),_0x58828c[_0xb77e('0x2c')](_0x97b6af=>!(_0xb77e('0x33')==_0x97b6af[_0xb77e('0x1a')]&&_0x97b6af[_0xb77e('0x32')]==_0x20360b));}else{if(this[_0xb77e('0x3')][_0xb77e('0x36')](_0x20360b,_0xb77e('0x1f'))||_0x20360b['is'](_0xb77e('0x10'),'softBreak')){const _0x391446=_0x20360b;if(_0xb77e('0x6')==_0x10ca71&&'elementStart'==_0x4c3a44[_0xb77e('0x1a')]||_0xb77e('0x39')==_0x10ca71&&_0xb77e('0x33')==_0x4c3a44[_0xb77e('0x1a')])continue;if(_0xc27371&&-0x1==_0xc27371[_0xb77e('0x1a')][_0xb77e('0x30')]('Container')){_0xb77e('0x23')==_0xc27371[_0xb77e('0x1a')]&&(_0xc27371[_0x10ca71]+='\x0a');continue;}let _0x4eb498;if(_0x4eb498=_0xb77e('0x6')==_0x10ca71?_0x391446[_0xb77e('0x15')]&&!this[_0xb77e('0x3')][_0xb77e('0x2d')](_0x391446[_0xb77e('0x15')])?_0x391446[_0xb77e('0x15')]:null:_0x391446[_0xb77e('0x37')]&&!this[_0xb77e('0x3')][_0xb77e('0x2d')](_0x391446['previousSibling'])?_0x391446[_0xb77e('0x37')]:null,_0x391446[_0xb77e('0x27')]||_0x4eb498&&_0x4eb498['isEmpty']){const _0x2c91b7=_0x4eb498&&_0x4eb498[_0xb77e('0x27')]?_0x4eb498:_0x391446;_0xc27371&&_0xc27371[_0xb77e('0x1a')]==_0x10ca71+'EmptyContainer'&&_0xc27371[_0xb77e('0x10')][_0xb77e('0x24')]==_0x2c91b7[_0xb77e('0x24')]?_0xc27371[_0xb77e('0x28')]++:_0x56b13b[_0xb77e('0xa')]({'type':_0x10ca71+'EmptyContainer','element':_0x2c91b7,'quantity':0x1});}else _0x56b13b[_0xb77e('0xa')]({'type':_0x10ca71+_0xb77e('0x38'),'element':_0x391446});}}}}}[_0xb77e('0x1e')](_0x29cc31){const _0x4188e8=this[_0xb77e('0x35')],_0x42b45f=[];for(const _0x45f6bf of _0x29cc31){switch(_0x45f6bf[_0xb77e('0x1a')]){case _0xb77e('0x23'):if(_0x45f6bf[_0xb77e('0x6')]=_0x45f6bf['add']['replace'](/(\S)\u000A+(\S)/g,_0xb77e('0x26'))['replace'](/\u000A/g,''),_0x45f6bf[_0xb77e('0x39')]=_0x45f6bf[_0xb77e('0x39')][_0xb77e('0xf')](/(\S)\u000A+(\S)/g,_0xb77e('0x26'))['replace'](/\u000A/g,''),''!=_0x45f6bf[_0xb77e('0x6')]&&''!=_0x45f6bf[_0xb77e('0x39')]){_0x42b45f[_0xb77e('0xa')]({'type':'replace','content':_0x4971f2(_0x4188e8,_0xb77e('0x0'),['\x22'+_0x45f6bf['remove']+'\x22','\x22'+_0x45f6bf[_0xb77e('0x6')]+'\x22'])});continue;}if(null!=_0x45f6bf[_0xb77e('0x6')][_0xb77e('0x20')](/^ +$/)){_0x42b45f[_0xb77e('0xa')]({'type':_0xb77e('0x1b'),'content':_0x4971f2(_0x4188e8,_0xb77e('0xb'),_0x4971f2(_0x4188e8,_0xb77e('0x34'),_0x45f6bf['add'][_0xb77e('0x16')]))});continue;}if(null!=_0x45f6bf[_0xb77e('0x39')][_0xb77e('0x20')](/^ +$/)){_0x42b45f['push']({'type':_0xb77e('0x1d'),'content':_0x4971f2(_0x4188e8,_0xb77e('0x9'),_0x4971f2(_0x4188e8,_0xb77e('0x34'),_0x45f6bf[_0xb77e('0x39')][_0xb77e('0x16')]))});continue;}if(''!=_0x45f6bf['add']){_0x42b45f['push']({'type':_0xb77e('0x1b'),'content':_0x4971f2(_0x4188e8,_0xb77e('0xb'),'\x22'+_0x45f6bf['add']+'\x22')});continue;}_0x42b45f[_0xb77e('0xa')]({'type':_0xb77e('0x1d'),'content':_0x4971f2(_0x4188e8,_0xb77e('0x9'),'\x22'+_0x45f6bf['remove']+'\x22')});continue;case _0xb77e('0x14'):case'addObject':_0x42b45f[_0xb77e('0xa')]({'type':_0xb77e('0x1b'),'content':_0x4971f2(_0x4188e8,'*Insert:*\x20%0',this[_0xb77e('0x19')](_0x45f6bf['element'],_0x45f6bf[_0xb77e('0x28')]))});continue;case _0xb77e('0x25'):case'removeObject':_0x42b45f[_0xb77e('0xa')]({'type':'deletion','content':_0x4971f2(_0x4188e8,'*Remove:*\x20%0',this[_0xb77e('0x19')](_0x45f6bf[_0xb77e('0x10')],_0x45f6bf['quantity']))});continue;case'addContainer':_0x42b45f[_0xb77e('0xa')]({'type':_0xb77e('0x1b'),'content':_0x4971f2(_0x4188e8,_0xb77e('0x17'),this[_0xb77e('0x19')](_0x45f6bf[_0xb77e('0x10')],_0x45f6bf['quantity']))});continue;case _0xb77e('0xe'):_0x42b45f[_0xb77e('0xa')]({'type':_0xb77e('0x1d'),'content':_0x4971f2(_0x4188e8,_0xb77e('0x7'),this[_0xb77e('0x19')](_0x45f6bf[_0xb77e('0x10')],_0x45f6bf[_0xb77e('0x28')]))});continue;}_0x42b45f['push'](_0x45f6bf);}return _0x42b45f;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x2cb9=['Comments','adapter','get','plugins','editor','addSuggestionData','TrackChanges','getSuggestions','getSuggestion','pluginName'];(function(_0x483fef,_0x2cb991){var _0x86e6dd=function(_0x2ff9ce){while(--_0x2ff9ce){_0x483fef['push'](_0x483fef['shift']());}};_0x86e6dd(++_0x2cb991);}(_0x2cb9,0x193));var _0x86e6=function(_0x483fef,_0x2cb991){_0x483fef=_0x483fef-0x0;var _0x86e6dd=_0x2cb9[_0x483fef];return _0x86e6dd;};import{Plugin as _0x1ff5a3}from'ckeditor5/src/core';import _0x21d1e4 from'./trackchangesui';import _0x2d05fd from'./trackchangesediting';import'ckeditor5-collaboration/src/collaboration-core';export default class k extends _0x1ff5a3{static get['requires'](){return[_0x2d05fd,_0x21d1e4,_0x86e6('0x7')];}static get[_0x86e6('0x6')](){return _0x86e6('0x3');}set[_0x86e6('0x8')](_0x5fcca){this['editor'][_0x86e6('0x0')][_0x86e6('0x9')](_0x2d05fd)[_0x86e6('0x8')]=_0x5fcca;}get[_0x86e6('0x8')](){return this[_0x86e6('0x1')]['plugins'][_0x86e6('0x9')](_0x2d05fd)['adapter'];}['addSuggestion'](_0x186c70){return this['editor']['plugins']['get'](_0x2d05fd)[_0x86e6('0x2')](_0x186c70);}['getSuggestions']({skipNotAttached:_0x1c5cb1=!0x1,toJSON:_0x28bd7c=!0x1}={}){return this[_0x86e6('0x1')][_0x86e6('0x0')]['get'](_0x2d05fd)[_0x86e6('0x4')]({'skipNotAttached':_0x1c5cb1,'toJSON':_0x28bd7c});}[_0x86e6('0x5')](_0xa568d2){return this[_0x86e6('0x1')][_0x86e6('0x0')][_0x86e6('0x9')](_0x2d05fd)[_0x86e6('0x5')](_0xa568d2);}}
23
+ var _0x3a83=['editor','plugins','Comments','getSuggestion','adapter','TrackChanges','addSuggestion','get','requires','addSuggestionData','getSuggestions','pluginName'];(function(_0x853465,_0x3a83bf){var _0x52f52f=function(_0x58b852){while(--_0x58b852){_0x853465['push'](_0x853465['shift']());}};_0x52f52f(++_0x3a83bf);}(_0x3a83,0x86));var _0x52f5=function(_0x853465,_0x3a83bf){_0x853465=_0x853465-0x0;var _0x52f52f=_0x3a83[_0x853465];return _0x52f52f;};import{Plugin as _0x1646ab}from'ckeditor5/src/core';import _0x1d74e7 from'./trackchangesui';import _0x5e29ff from'./trackchangesediting';import'ckeditor5-collaboration/src/collaboration-core';export default class k extends _0x1646ab{static get[_0x52f5('0x6')](){return[_0x5e29ff,_0x1d74e7,_0x52f5('0x0')];}static get[_0x52f5('0x9')](){return _0x52f5('0x3');}set[_0x52f5('0x2')](_0x136a77){this[_0x52f5('0xa')][_0x52f5('0xb')][_0x52f5('0x5')](_0x5e29ff)[_0x52f5('0x2')]=_0x136a77;}get['adapter'](){return this['editor']['plugins'][_0x52f5('0x5')](_0x5e29ff)[_0x52f5('0x2')];}[_0x52f5('0x4')](_0x43f929){return this['editor']['plugins'][_0x52f5('0x5')](_0x5e29ff)[_0x52f5('0x7')](_0x43f929);}[_0x52f5('0x8')]({skipNotAttached:_0x1d88c0=!0x1,toJSON:_0x5630a1=!0x1}={}){return this['editor'][_0x52f5('0xb')]['get'](_0x5e29ff)[_0x52f5('0x8')]({'skipNotAttached':_0x1d88c0,'toJSON':_0x5630a1});}[_0x52f5('0x1')](_0x1f48fb){return this[_0x52f5('0xa')][_0x52f5('0xb')][_0x52f5('0x5')](_0x5e29ff)['getSuggestion'](_0x1f48fb);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5085=['addSuggestionData','data','WebSocketGateway','reduce','has','create','document','getSuggestions','includes','filter','useAnonymousUser','define','plugins','acceptAllSuggestions','WordCount','trackChangesData.editorCreator','string','concat','appendChild','map','editor','getDataWithDiscardedSuggestions','RevisionTracker','set','pluginName','names','TrackChangesDataGetter','track-changes-data-invalid-editor-creator','constructor','CommentsRepository','config','editorCreator','createElement','builtinPlugins','discardAllSuggestions','requires','div','get','TrackChangesData','init','TrackChangesEditing','from','trackChangesData','createDocumentFragment','users','Users','find','Autosave','getRootNames','function','name','push','extraPlugins','model'];(function(_0x5e93f9,_0x508560){const _0x55bb14=function(_0x53af10){while(--_0x53af10){_0x5e93f9['push'](_0x5e93f9['shift']());}};_0x55bb14(++_0x508560);}(_0x5085,0x1f1));const _0x55bb=function(_0x5e93f9,_0x508560){_0x5e93f9=_0x5e93f9-0x0;let _0x55bb14=_0x5085[_0x5e93f9];return _0x55bb14;};import{Plugin as _0x306775}from'ckeditor5/src/core';import{CKEditorError as _0x338c16}from'ckeditor5/src/utils';import _0x451638 from'./trackchangesediting';const C=['initialData','context','toolbar'],w=[_0x55bb('0x2d'),_0x55bb('0xb'),_0x55bb('0x24'),_0x55bb('0x3'),'Pagination','DocumentOutline'];export default class T extends _0x306775{static get[_0x55bb('0x18')](){return[_0x451638];}static get['pluginName'](){return _0x55bb('0x1b');}[_0x55bb('0x1c')](){const _0x39c0be=this['editor'];if(_0x39c0be[_0x55bb('0x13')][_0x55bb('0x0')](_0x55bb('0x4'),_0x47ba08=>_0x39c0be[_0x55bb('0x11')][_0x55bb('0x30')]('',_0x47ba08)),_0x55bb('0x26')!=typeof _0x39c0be[_0x55bb('0x13')][_0x55bb('0x1a')](_0x55bb('0x1f'))['editorCreator'])throw new _0x338c16(_0x55bb('0x10'));}['getDataWithAcceptedSuggestions'](_0x31ba88){return P(this[_0x55bb('0x9')],!0x0,_0x31ba88);}[_0x55bb('0xa')](_0xbde695){return P(this[_0x55bb('0x9')],!0x1,_0xbde695);}}class D extends _0x306775{static get[_0x55bb('0xd')](){return _0x55bb('0xf');}constructor(_0x69266a){super(_0x69266a),this['result']='end';}[_0x55bb('0x1c')](){this[_0x55bb('0x9')][_0x55bb('0x1')]['get'](_0x55bb('0x12'))['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'][_0x55bb('0x1')][_0x55bb('0x1a')]('TrackChangesEditing')['_adapter']=null;}}async function P(_0x31e4b0,_0xcc00c4,_0x4c21d6){const _0x3a18db=function(_0x1a8d86){const _0x18e3a5={};for(const _0x3ce101 of _0x1a8d86[_0x55bb('0x13')][_0x55bb('0xe')]())C[_0x55bb('0x33')](_0x3ce101)||(_0x18e3a5[_0x3ce101]=_0x1a8d86['config'][_0x55bb('0x1a')](_0x3ce101));const _0x114f36=_0x1a8d86[_0x55bb('0x11')][_0x55bb('0x16')]||[],_0x268aa1=_0x18e3a5[_0x55bb('0x29')]||[];delete _0x18e3a5[_0x55bb('0x29')];const _0x35d6bb=_0x114f36['concat'](_0x18e3a5[_0x55bb('0x1')])[_0x55bb('0x6')](_0x268aa1)['map'](_0x45bd9f=>_0x55bb('0x5')==typeof _0x45bd9f?_0x114f36[_0x55bb('0x23')](_0x47f8cd=>_0x47f8cd[_0x55bb('0xd')]==_0x45bd9f):_0x45bd9f),_0x5912e0=Array[_0x55bb('0x1e')](new Set(_0x35d6bb)),_0x169f46=new Map();return _0x18e3a5[_0x55bb('0x1')]=_0x5912e0[_0x55bb('0x34')](_0x4f0a24=>v(_0x4f0a24,_0x169f46)),_0x18e3a5[_0x55bb('0x1')][_0x55bb('0x28')](D),_0x18e3a5['plugins'][_0x55bb('0x28')](_0x451638),_0x18e3a5;}(_0x31e4b0),_0x3f0296=document[_0x55bb('0x20')](),_0x2269b6=_0x31e4b0[_0x55bb('0x13')][_0x55bb('0x1a')]('trackChangesData')[_0x55bb('0x14')],_0x495a03=await _0x2269b6(_0x3a18db,()=>function(_0x1e697f){const _0x1e1035=document[_0x55bb('0x15')](_0x55bb('0x19'));return _0x1e697f[_0x55bb('0x7')](_0x1e1035),_0x1e1035;}(_0x3f0296));!function(_0x27c3e2,_0x34fc4a){const _0x237046=_0x27c3e2[_0x55bb('0x2a')][_0x55bb('0x31')][_0x55bb('0x25')]()[_0x55bb('0x2e')]((_0x301507,_0x5868e6)=>(_0x301507[_0x5868e6]=_0x27c3e2[_0x55bb('0x2c')][_0x55bb('0x1a')]({'rootName':_0x5868e6}),_0x301507),{}),_0x4ab205=_0x27c3e2[_0x55bb('0x1')]['get'](_0x55bb('0x22'))[_0x55bb('0x21')][_0x55bb('0x8')](_0x5c6b5a=>({'id':_0x5c6b5a['id'],'name':_0x5c6b5a[_0x55bb('0x27')]})),_0x364a0c=_0x27c3e2[_0x55bb('0x1')][_0x55bb('0x1a')](_0x55bb('0x1d'))[_0x55bb('0x32')]({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x4ee5d3=_0x34fc4a[_0x55bb('0x1')]['get'](_0x55bb('0x22')),_0x3f1011=_0x34fc4a[_0x55bb('0x1')]['get'](_0x55bb('0x1d'));for(const _0x14af74 of _0x4ab205)_0x4ee5d3['getUser'](_0x14af74['id'])||_0x4ee5d3['addUser'](_0x14af74);_0x4ee5d3['me']||_0x4ee5d3[_0x55bb('0x35')]();for(const _0x479ba1 of _0x364a0c)_0x3f1011[_0x55bb('0x2b')](_0x479ba1);_0x34fc4a[_0x55bb('0x2c')][_0x55bb('0xc')](_0x237046);}(_0x31e4b0,_0x495a03),_0x495a03['execute'](_0xcc00c4?_0x55bb('0x2'):_0x55bb('0x17'));const _0x21847f=_0x495a03['data'][_0x55bb('0x1a')](_0x4c21d6);return await _0x495a03['destroy'](),_0x21847f;}function v(_0x342fba,_0x3c152e){const _0x5bda1e='function'==typeof _0x342fba?_0x342fba[_0x55bb('0xd')]||_0x342fba[_0x55bb('0x27')]:_0x342fba;if(_0x3c152e[_0x55bb('0x2f')](_0x5bda1e))return _0x3c152e[_0x55bb('0x1a')](_0x5bda1e);if(_0x3c152e[_0x55bb('0xc')](_0x5bda1e,!0x0),_0x5bda1e&&w['includes'](_0x5bda1e))return _0x3c152e[_0x55bb('0xc')](_0x5bda1e,!0x1),!0x1;if(!_0x342fba[_0x55bb('0x18')])return _0x3c152e[_0x55bb('0xc')](_0x5bda1e,!0x0),!0x0;const _0x3c26a2=_0x342fba[_0x55bb('0x18')]['every'](_0x2b2579=>v(_0x2b2579,_0x3c152e));return _0x3c152e[_0x55bb('0xc')](_0x5bda1e,_0x3c26a2),_0x3c26a2;}
23
+ const _0x1218=['filter','WordCount','track-changes-data-invalid-editor-creator','createElement','map','_adapter','config','end','TrackChangesDataGetter','WebSocketGateway','users','DocumentOutline','trackChangesData.editorCreator','getDataWithAcceptedSuggestions','Pagination','addUser','adapter','discardAllSuggestions','reduce','function','destroy','getDataWithDiscardedSuggestions','TrackChangesData','init','context','pluginName','define','push','CommentsRepository','create','includes','TrackChangesEditing','acceptAllSuggestions','result','editor','execute','get','requires','Users','names','appendChild','set','concat','addSuggestionData','Autosave','getRootNames','div','editorCreator','document','useAnonymousUser','builtinPlugins','plugins','data','createDocumentFragment','name','extraPlugins'];(function(_0x54e9a7,_0x1218f1){const _0x1e2c3f=function(_0x2d7b56){while(--_0x2d7b56){_0x54e9a7['push'](_0x54e9a7['shift']());}};_0x1e2c3f(++_0x1218f1);}(_0x1218,0x1c9));const _0x1e2c=function(_0x54e9a7,_0x1218f1){_0x54e9a7=_0x54e9a7-0x0;let _0x1e2c3f=_0x1218[_0x54e9a7];return _0x1e2c3f;};import{Plugin as _0x4e474e}from'ckeditor5/src/core';import{CKEditorError as _0x22a788}from'ckeditor5/src/utils';import _0x413eab from'./trackchangesediting';const C=['initialData',_0x1e2c('0xf'),'toolbar'],w=[_0x1e2c('0x0'),'RevisionTracker',_0x1e2c('0x23'),_0x1e2c('0x30'),_0x1e2c('0x5'),_0x1e2c('0x2')];export default class T extends _0x4e474e{static get[_0x1e2c('0x1c')](){return[_0x413eab];}static get[_0x1e2c('0x10')](){return _0x1e2c('0xd');}[_0x1e2c('0xe')](){const _0x32d109=this[_0x1e2c('0x19')];if(_0x32d109[_0x1e2c('0x35')][_0x1e2c('0x11')](_0x1e2c('0x3'),_0x249fa9=>_0x32d109['constructor'][_0x1e2c('0x14')]('',_0x249fa9)),_0x1e2c('0xa')!=typeof _0x32d109[_0x1e2c('0x35')][_0x1e2c('0x1b')]('trackChangesData')[_0x1e2c('0x26')])throw new _0x22a788(_0x1e2c('0x31'));}[_0x1e2c('0x4')](_0x17395f){return P(this['editor'],!0x0,_0x17395f);}[_0x1e2c('0xc')](_0x41ea80){return P(this[_0x1e2c('0x19')],!0x1,_0x41ea80);}}class D extends _0x4e474e{static get[_0x1e2c('0x10')](){return _0x1e2c('0x37');}constructor(_0x538437){super(_0x538437),this[_0x1e2c('0x18')]=_0x1e2c('0x36');}[_0x1e2c('0xe')](){this[_0x1e2c('0x19')]['plugins'][_0x1e2c('0x1b')](_0x1e2c('0x13'))[_0x1e2c('0x7')]={'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[_0x1e2c('0x19')][_0x1e2c('0x2a')][_0x1e2c('0x1b')](_0x1e2c('0x16'))[_0x1e2c('0x34')]=null;}}async function P(_0x25f8a2,_0x1ec6f6,_0x1d72eb){const _0x40f57b=function(_0x4bf7ac){const _0x138cd2={};for(const _0x1556b7 of _0x4bf7ac[_0x1e2c('0x35')][_0x1e2c('0x1e')]())C[_0x1e2c('0x15')](_0x1556b7)||(_0x138cd2[_0x1556b7]=_0x4bf7ac[_0x1e2c('0x35')][_0x1e2c('0x1b')](_0x1556b7));const _0x5c6bd2=_0x4bf7ac['constructor'][_0x1e2c('0x29')]||[],_0x59440c=_0x138cd2[_0x1e2c('0x2e')]||[];delete _0x138cd2[_0x1e2c('0x2e')];const _0xedb681=_0x5c6bd2[_0x1e2c('0x21')](_0x138cd2['plugins'])[_0x1e2c('0x21')](_0x59440c)[_0x1e2c('0x33')](_0x464e15=>'string'==typeof _0x464e15?_0x5c6bd2['find'](_0x187f57=>_0x187f57['pluginName']==_0x464e15):_0x464e15),_0x25150c=Array['from'](new Set(_0xedb681)),_0x407c22=new Map();return _0x138cd2[_0x1e2c('0x2a')]=_0x25150c[_0x1e2c('0x2f')](_0x38860c=>v(_0x38860c,_0x407c22)),_0x138cd2[_0x1e2c('0x2a')]['push'](D),_0x138cd2['plugins'][_0x1e2c('0x12')](_0x413eab),_0x138cd2;}(_0x25f8a2),_0x5b0c66=document[_0x1e2c('0x2c')](),_0x38c4a3=_0x25f8a2[_0x1e2c('0x35')][_0x1e2c('0x1b')]('trackChangesData')['editorCreator'],_0x225c3b=await _0x38c4a3(_0x40f57b,()=>function(_0x33170e){const _0xdd12b0=document[_0x1e2c('0x32')](_0x1e2c('0x25'));return _0x33170e[_0x1e2c('0x1f')](_0xdd12b0),_0xdd12b0;}(_0x5b0c66));!function(_0x2eb14e,_0x7f74e6){const _0x97ed85=_0x2eb14e['model'][_0x1e2c('0x27')][_0x1e2c('0x24')]()[_0x1e2c('0x9')]((_0x2e7334,_0x2d0d04)=>(_0x2e7334[_0x2d0d04]=_0x2eb14e[_0x1e2c('0x2b')][_0x1e2c('0x1b')]({'rootName':_0x2d0d04}),_0x2e7334),{}),_0x315ab0=_0x2eb14e[_0x1e2c('0x2a')][_0x1e2c('0x1b')](_0x1e2c('0x1d'))[_0x1e2c('0x1')][_0x1e2c('0x33')](_0x125528=>({'id':_0x125528['id'],'name':_0x125528[_0x1e2c('0x2d')]})),_0x4cc88f=_0x2eb14e[_0x1e2c('0x2a')][_0x1e2c('0x1b')](_0x1e2c('0x16'))['getSuggestions']({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x552ac8=_0x7f74e6['plugins'][_0x1e2c('0x1b')](_0x1e2c('0x1d')),_0x426931=_0x7f74e6[_0x1e2c('0x2a')][_0x1e2c('0x1b')](_0x1e2c('0x16'));for(const _0xc821d2 of _0x315ab0)_0x552ac8['getUser'](_0xc821d2['id'])||_0x552ac8[_0x1e2c('0x6')](_0xc821d2);_0x552ac8['me']||_0x552ac8[_0x1e2c('0x28')]();for(const _0xcb97d5 of _0x4cc88f)_0x426931[_0x1e2c('0x22')](_0xcb97d5);_0x7f74e6['data']['set'](_0x97ed85);}(_0x25f8a2,_0x225c3b),_0x225c3b[_0x1e2c('0x1a')](_0x1ec6f6?_0x1e2c('0x17'):_0x1e2c('0x8'));const _0x587491=_0x225c3b[_0x1e2c('0x2b')][_0x1e2c('0x1b')](_0x1d72eb);return await _0x225c3b[_0x1e2c('0xb')](),_0x587491;}function v(_0x38cedb,_0x3427fc){const _0x38cec5='function'==typeof _0x38cedb?_0x38cedb['pluginName']||_0x38cedb['name']:_0x38cedb;if(_0x3427fc['has'](_0x38cec5))return _0x3427fc[_0x1e2c('0x1b')](_0x38cec5);if(_0x3427fc['set'](_0x38cec5,!0x0),_0x38cec5&&w[_0x1e2c('0x15')](_0x38cec5))return _0x3427fc[_0x1e2c('0x20')](_0x38cec5,!0x1),!0x1;if(!_0x38cedb[_0x1e2c('0x1c')])return _0x3427fc[_0x1e2c('0x20')](_0x38cec5,!0x0),!0x0;const _0x5006db=_0x38cedb[_0x1e2c('0x1c')]['every'](_0x1e3e6d=>v(_0x1e3e6d,_0x3427fc));return _0x3427fc['set'](_0x38cec5,_0x5006db),_0x5006db;}