@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20231004.0 → 0.0.0-nightly-20231005.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (65) hide show
  1. package/build/track-changes.js +1 -1
  2. package/package.json +3 -3
  3. package/src/commands/acceptsuggestioncommand.js +1 -1
  4. package/src/commands/discardsuggestioncommand.js +1 -1
  5. package/src/commands/executeonallsuggestionscommand.js +1 -1
  6. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  7. package/src/commands/trackchangescommand.js +1 -1
  8. package/src/integrations/aiassistant.js +1 -1
  9. package/src/integrations/alignment.js +1 -1
  10. package/src/integrations/basicstyles.js +1 -1
  11. package/src/integrations/blockquote.js +1 -1
  12. package/src/integrations/ckbox.js +1 -1
  13. package/src/integrations/codeblock.js +1 -1
  14. package/src/integrations/comments.js +1 -1
  15. package/src/integrations/deletecommand.js +1 -1
  16. package/src/integrations/documentlist.js +1 -1
  17. package/src/integrations/documentlistproperties.js +1 -1
  18. package/src/integrations/entercommand.js +1 -1
  19. package/src/integrations/findandreplace.js +1 -1
  20. package/src/integrations/font.js +1 -1
  21. package/src/integrations/formatpainter.js +1 -1
  22. package/src/integrations/heading.js +1 -1
  23. package/src/integrations/highlight.js +1 -1
  24. package/src/integrations/horizontalline.js +1 -1
  25. package/src/integrations/htmlembed.js +1 -1
  26. package/src/integrations/image.js +1 -1
  27. package/src/integrations/imagereplace.js +1 -1
  28. package/src/integrations/importword.js +1 -1
  29. package/src/integrations/indent.js +1 -1
  30. package/src/integrations/inputcommand.js +1 -1
  31. package/src/integrations/link.js +1 -1
  32. package/src/integrations/list.js +1 -1
  33. package/src/integrations/listproperties.js +1 -1
  34. package/src/integrations/mediaembed.js +1 -1
  35. package/src/integrations/mention.js +1 -1
  36. package/src/integrations/pagebreak.js +1 -1
  37. package/src/integrations/paragraph.js +1 -1
  38. package/src/integrations/removeformat.js +1 -1
  39. package/src/integrations/restrictededitingmode.js +1 -1
  40. package/src/integrations/shiftentercommand.js +1 -1
  41. package/src/integrations/standardeditingmode.js +1 -1
  42. package/src/integrations/style.js +1 -1
  43. package/src/integrations/table.js +1 -1
  44. package/src/integrations/tablecaption.js +1 -1
  45. package/src/integrations/tableclipboard.js +1 -1
  46. package/src/integrations/tablecolumnresize.js +1 -1
  47. package/src/integrations/tableheadings.js +1 -1
  48. package/src/integrations/tablemergesplit.js +1 -1
  49. package/src/integrations/tableofcontents.js +1 -1
  50. package/src/integrations/tableproperties.js +1 -1
  51. package/src/integrations/template.js +1 -1
  52. package/src/integrations/title.js +1 -1
  53. package/src/integrations/undo.js +1 -1
  54. package/src/integrations/utils.js +1 -1
  55. package/src/suggestion.js +1 -1
  56. package/src/suggestiondescriptionfactory.js +1 -1
  57. package/src/trackchanges.js +1 -1
  58. package/src/trackchangesdata.js +1 -1
  59. package/src/trackchangesediting.js +1 -1
  60. package/src/trackchangesui.js +1 -1
  61. package/src/ui/suggestioncontroller.js +1 -1
  62. package/src/ui/view/basesuggestionthreadview.js +1 -1
  63. package/src/ui/view/suggestionthreadview.js +1 -1
  64. package/src/utils/common-translations.js +1 -1
  65. package/src/utils/utils.js +1 -1
package/src/suggestion.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x391b=['clear','removeMarkers','@external','markers','subType','head','getFirstRange','toJSON','from','set','getRange','addMarkerName','getRanges','authoredAt','length','split','_isDataLoaded','isIntersecting','onDiscard','getFirstMarker','substr','removeMarker','_onDiscard','getContainedElement','onAccept','setAttribute','getMultiRangeId','next','start','data','_onAccept','getAllAdjacentSuggestions','isInContent','accept','addMarker','creator','previous','reduce','getMarkers','getItems','_onAttributesChange','type','isExternal','_markerNames','suggestion:','delete','_model','add','getMarkerNames','get','commentThread','size','change','attributes','nodeAfter','_saved','push','createdAt','discard','removeAttribute','map','decorate','author'];(function(_0x518927,_0x391b5b){const _0x42d6d4=function(_0x59c97b){while(--_0x59c97b){_0x518927['push'](_0x518927['shift']());}};_0x42d6d4(++_0x391b5b);}(_0x391b,0x1ba));const _0x42d6=function(_0x518927,_0x391b5b){_0x518927=_0x518927-0x0;let _0x42d6d4=_0x391b[_0x518927];return _0x42d6d4;};import{Element as _0x4cf59b}from'ckeditor5/src/engine';import{ObservableMixin as _0x2f1390,uid as _0x45986a}from'ckeditor5/src/utils';import{cloneDeep as _0x1e0c3a,isEqual as _0x25f102,set as _0x19d5fc,unset as _0x1b015a}from'lodash-es';export default class u extends _0x2f1390(){constructor(_0x28ab14,_0xffe40e){super(),this[_0x42d6('0xf')]=!0x1,this['id']=_0xffe40e['id'],this[_0x42d6('0x28')]=_0xffe40e[_0x42d6('0x28')],this[_0x42d6('0x3')]=_0xffe40e[_0x42d6('0x3')]||null,this[_0x42d6('0x3d')]=_0xffe40e[_0x42d6('0x3d')],this[_0x42d6('0x22')]=_0xffe40e[_0x42d6('0x22')]||_0xffe40e[_0x42d6('0x3d')],this[_0x42d6('0x29')]=Boolean(_0xffe40e[_0x42d6('0x34')]&&_0xffe40e[_0x42d6('0x34')][_0x42d6('0x1')]),this['data']=null,this[_0x42d6('0x2d')]=_0x28ab14,this[_0x42d6('0x1d')]=_0xffe40e[_0x42d6('0x17')],this[_0x42d6('0x15')]=_0xffe40e[_0x42d6('0x11')],this[_0x42d6('0x27')]=_0xffe40e['onAttributesChange'],this[_0x42d6('0x2a')]=new Set(),this['createdAt']=null,this[_0x42d6('0x8')](_0x42d6('0xc'),null),this[_0x42d6('0x8')](_0x42d6('0x34'),_0xffe40e[_0x42d6('0x34')]||{}),this[_0x42d6('0x8')]('previous',null),this[_0x42d6('0x8')]('next',null),this['set'](_0x42d6('0x31'),null),this['set'](_0x42d6('0x36'),!0x1),this['decorate'](_0x42d6('0x20')),this[_0x42d6('0x3c')](_0x42d6('0x39'));}get[_0x42d6('0x4')](){let _0x4b2d68=this;for(;_0x4b2d68[_0x42d6('0x23')];)_0x4b2d68=_0x4b2d68[_0x42d6('0x23')];return _0x4b2d68;}get['hasComments'](){return!!this['commentThread']&&this[_0x42d6('0x31')][_0x42d6('0xd')]>0x0;}get['isMultiRange'](){if(0x0==this[_0x42d6('0x2a')][_0x42d6('0x32')])return!0x1;return 0x6==Array[_0x42d6('0x7')](this[_0x42d6('0x2a')])[0x0][_0x42d6('0xe')](':')[_0x42d6('0xd')];}get[_0x42d6('0x1f')](){return null!==this['getFirstMarker']();}['addMarkerName'](_0x5010f4){this[_0x42d6('0x2a')][_0x42d6('0x2e')](_0x5010f4);}[_0x42d6('0x2f')](){return Array[_0x42d6('0x7')](this[_0x42d6('0x2a')]);}[_0x42d6('0x25')](){return this[_0x42d6('0x2f')]()[_0x42d6('0x3b')](_0x48c3aa=>this[_0x42d6('0x2d')][_0x42d6('0x2')][_0x42d6('0x30')](_0x48c3aa))['filter'](_0x5f3c0d=>_0x5f3c0d);}[_0x42d6('0x12')](){return this[_0x42d6('0x25')]()[0x0]||null;}[_0x42d6('0x0')](){this[_0x42d6('0x2d')]['change'](_0x20343d=>{for(const _0x5c146d of this[_0x42d6('0x25')]())_0x20343d[_0x42d6('0x14')](_0x5c146d);}),this['_markerNames'][_0x42d6('0x3e')]();}['removeMarker'](_0x2166d4){this[_0x42d6('0x2d')]['change'](_0x409d0c=>{_0x409d0c[_0x42d6('0x14')](_0x2166d4);}),this[_0x42d6('0x2a')][_0x42d6('0x2c')](_0x2166d4);}['addRange'](_0x172eef){const _0x55bb6b=_0x42d6('0x2b')+this[_0x42d6('0x28')]+':'+this[_0x42d6('0x3')]+':'+this['id']+':'+this[_0x42d6('0x22')]['id']+':'+u['getMultiRangeId']();this[_0x42d6('0xa')](_0x55bb6b),this['_model'][_0x42d6('0x33')](_0x41ae37=>{_0x41ae37[_0x42d6('0x21')](_0x55bb6b,{'range':_0x172eef,'usingOperation':!0x0,'affectsData':!0x0});});}['isIntersectingWithRange'](_0x2e4073){for(const _0x3d4a97 of this[_0x42d6('0xb')]())if(_0x3d4a97[_0x42d6('0x10')](_0x2e4073))return!0x0;return!0x1;}[_0x42d6('0xb')](){return this['getMarkers']()[_0x42d6('0x3b')](_0x5ba80a=>_0x5ba80a[_0x42d6('0x9')]());}[_0x42d6('0x26')](){return this[_0x42d6('0xb')]()[_0x42d6('0x24')]((_0x107b76,_0x485f37)=>[..._0x107b76,..._0x485f37[_0x42d6('0x26')]()],[]);}[_0x42d6('0x5')](){var _0x3ce697;return(null===(_0x3ce697=this['getFirstMarker']())||void 0x0===_0x3ce697?void 0x0:_0x3ce697[_0x42d6('0x9')]())||null;}[_0x42d6('0x16')](){const _0x267747=this[_0x42d6('0xb')]();if(0x1!=_0x267747[_0x42d6('0xd')])return null;const _0x5c3294=_0x267747[0x0],_0x37572c=_0x5c3294[_0x42d6('0x1b')][_0x42d6('0x35')],_0x1bab46=_0x5c3294['end']['nodeBefore'];return _0x37572c instanceof _0x4cf59b?_0x37572c!=_0x1bab46?null:_0x37572c:null;}['accept'](){this[_0x42d6('0x1d')](this['getRanges'](),this[_0x42d6('0x1c')],this[_0x42d6('0x34')]),this[_0x42d6('0x0')]();}[_0x42d6('0x39')](){this[_0x42d6('0x15')](this['getRanges'](),this[_0x42d6('0x1c')],this[_0x42d6('0x34')]),this[_0x42d6('0x0')]();}[_0x42d6('0x1e')](){const _0x4d87a8=[];let _0x3027f9=this[_0x42d6('0x4')];for(;_0x3027f9;)_0x4d87a8[_0x42d6('0x37')](_0x3027f9),_0x3027f9=_0x3027f9[_0x42d6('0x1a')];return _0x4d87a8;}[_0x42d6('0x18')](_0x409eb0,_0x96ce92){const _0x1cba67=_0x1e0c3a(this['attributes']);_0x19d5fc(_0x1cba67,_0x409eb0,_0x96ce92),_0x25f102(_0x1cba67,this['attributes'])||(this[_0x42d6('0x34')]=_0x1cba67,this[_0x42d6('0x27')](_0x1cba67));}[_0x42d6('0x3a')](_0x54f53d){const _0x490753=_0x1e0c3a(this[_0x42d6('0x34')]);_0x1b015a(_0x490753,_0x54f53d),_0x25f102(_0x490753,this[_0x42d6('0x34')])||(this['attributes']=_0x490753,this[_0x42d6('0x27')](this['attributes']));}[_0x42d6('0x6')](){return{'id':this['id'],'type':this[_0x42d6('0x3')]?this[_0x42d6('0x28')]+':'+this[_0x42d6('0x3')]:this[_0x42d6('0x28')],'authorId':this[_0x42d6('0x22')]['id'],'createdAt':this[_0x42d6('0x38')],'hasComments':this['hasComments'],'data':this[_0x42d6('0x1c')],'attributes':this[_0x42d6('0x34')]};}static[_0x42d6('0x19')](){return _0x45986a()[_0x42d6('0x13')](0x1,0x5);}}
23
+ const _0x1615=['getRanges','size','_markerNames','_saved','author','addMarkerName','discard','onAccept','filter','head','reduce','substr','hasComments','removeAttribute','getMarkerNames','add','addRange','clear','_onAttributesChange','data','change','decorate','type','commentThread','onAttributesChange','creator','attributes','set','next','getMarkers','getFirstMarker','getAllAdjacentSuggestions','getItems','createdAt','nodeBefore','map','removeMarkers','onDiscard','@external','isMultiRange','setAttribute','_model','_onDiscard','addMarker','length','_onAccept','_isDataLoaded','start','from','getContainedElement','nodeAfter','authoredAt','getFirstRange','isIntersecting','getRange','previous','isInContent','subType','accept','removeMarker'];(function(_0x6862b3,_0x161562){const _0x585e1a=function(_0x36f836){while(--_0x36f836){_0x6862b3['push'](_0x6862b3['shift']());}};_0x585e1a(++_0x161562);}(_0x1615,0x7f));const _0x585e=function(_0x6862b3,_0x161562){_0x6862b3=_0x6862b3-0x0;let _0x585e1a=_0x1615[_0x6862b3];return _0x585e1a;};import{Element as _0x35a1d6}from'ckeditor5/src/engine';import{ObservableMixin as _0x9b1067,uid as _0x287018}from'ckeditor5/src/utils';import{cloneDeep as _0x2dd2ba,isEqual as _0x219bde,set as _0x111b86,unset as _0x3b011a}from'lodash-es';export default class u extends _0x9b1067(){constructor(_0x49dda8,_0x54ef8b){super(),this[_0x585e('0x27')]=!0x1,this['id']=_0x54ef8b['id'],this['type']=_0x54ef8b[_0x585e('0xf')],this[_0x585e('0x32')]=_0x54ef8b[_0x585e('0x32')]||null,this[_0x585e('0x39')]=_0x54ef8b[_0x585e('0x39')],this['creator']=_0x54ef8b[_0x585e('0x12')]||_0x54ef8b[_0x585e('0x39')],this['isExternal']=Boolean(_0x54ef8b[_0x585e('0x13')]&&_0x54ef8b[_0x585e('0x13')][_0x585e('0x1f')]),this[_0x585e('0xc')]=null,this[_0x585e('0x22')]=_0x49dda8,this[_0x585e('0x26')]=_0x54ef8b[_0x585e('0x0')],this[_0x585e('0x23')]=_0x54ef8b[_0x585e('0x1e')],this[_0x585e('0xb')]=_0x54ef8b[_0x585e('0x11')],this[_0x585e('0x37')]=new Set(),this[_0x585e('0x1a')]=null,this['set'](_0x585e('0x2c'),null),this[_0x585e('0x14')](_0x585e('0x13'),_0x54ef8b[_0x585e('0x13')]||{}),this[_0x585e('0x14')](_0x585e('0x30'),null),this[_0x585e('0x14')](_0x585e('0x15'),null),this[_0x585e('0x14')](_0x585e('0x10'),null),this[_0x585e('0x14')](_0x585e('0x38'),!0x1),this[_0x585e('0xe')](_0x585e('0x33')),this[_0x585e('0xe')](_0x585e('0x3b'));}get['head'](){let _0x4b8d18=this;for(;_0x4b8d18[_0x585e('0x30')];)_0x4b8d18=_0x4b8d18[_0x585e('0x30')];return _0x4b8d18;}get[_0x585e('0x5')](){return!!this[_0x585e('0x10')]&&this[_0x585e('0x10')]['length']>0x0;}get[_0x585e('0x20')](){if(0x0==this['_markerNames'][_0x585e('0x36')])return!0x1;return 0x6==Array[_0x585e('0x29')](this[_0x585e('0x37')])[0x0]['split'](':')[_0x585e('0x25')];}get[_0x585e('0x31')](){return null!==this['getFirstMarker']();}[_0x585e('0x3a')](_0x1ac500){this[_0x585e('0x37')][_0x585e('0x8')](_0x1ac500);}[_0x585e('0x7')](){return Array['from'](this[_0x585e('0x37')]);}['getMarkers'](){return this['getMarkerNames']()[_0x585e('0x1c')](_0x590ac4=>this[_0x585e('0x22')]['markers']['get'](_0x590ac4))[_0x585e('0x1')](_0x55fea8=>_0x55fea8);}[_0x585e('0x17')](){return this['getMarkers']()[0x0]||null;}['removeMarkers'](){this['_model'][_0x585e('0xd')](_0x42ad76=>{for(const _0x23f91b of this[_0x585e('0x16')]())_0x42ad76[_0x585e('0x34')](_0x23f91b);}),this[_0x585e('0x37')][_0x585e('0xa')]();}[_0x585e('0x34')](_0x3095c9){this[_0x585e('0x22')][_0x585e('0xd')](_0x11b745=>{_0x11b745[_0x585e('0x34')](_0x3095c9);}),this[_0x585e('0x37')]['delete'](_0x3095c9);}[_0x585e('0x9')](_0x34b2db){const _0x1e84d3='suggestion:'+this[_0x585e('0xf')]+':'+this[_0x585e('0x32')]+':'+this['id']+':'+this['creator']['id']+':'+u['getMultiRangeId']();this[_0x585e('0x3a')](_0x1e84d3),this[_0x585e('0x22')][_0x585e('0xd')](_0x579db7=>{_0x579db7[_0x585e('0x24')](_0x1e84d3,{'range':_0x34b2db,'usingOperation':!0x0,'affectsData':!0x0});});}['isIntersectingWithRange'](_0x132da2){for(const _0x5ad3d9 of this[_0x585e('0x35')]())if(_0x5ad3d9[_0x585e('0x2e')](_0x132da2))return!0x0;return!0x1;}[_0x585e('0x35')](){return this[_0x585e('0x16')]()['map'](_0x49b6a6=>_0x49b6a6[_0x585e('0x2f')]());}[_0x585e('0x19')](){return this['getRanges']()[_0x585e('0x3')]((_0x4c071b,_0x1152df)=>[..._0x4c071b,..._0x1152df[_0x585e('0x19')]()],[]);}[_0x585e('0x2d')](){var _0x3eb480;return(null===(_0x3eb480=this[_0x585e('0x17')]())||void 0x0===_0x3eb480?void 0x0:_0x3eb480[_0x585e('0x2f')]())||null;}[_0x585e('0x2a')](){const _0x349be4=this[_0x585e('0x35')]();if(0x1!=_0x349be4[_0x585e('0x25')])return null;const _0x5bf682=_0x349be4[0x0],_0x2d8106=_0x5bf682[_0x585e('0x28')][_0x585e('0x2b')],_0x50f003=_0x5bf682['end'][_0x585e('0x1b')];return _0x2d8106 instanceof _0x35a1d6?_0x2d8106!=_0x50f003?null:_0x2d8106:null;}[_0x585e('0x33')](){this[_0x585e('0x26')](this['getRanges'](),this[_0x585e('0xc')],this[_0x585e('0x13')]),this[_0x585e('0x1d')]();}[_0x585e('0x3b')](){this['_onDiscard'](this[_0x585e('0x35')](),this['data'],this[_0x585e('0x13')]),this['removeMarkers']();}[_0x585e('0x18')](){const _0x3ce37b=[];let _0x599c24=this[_0x585e('0x2')];for(;_0x599c24;)_0x3ce37b['push'](_0x599c24),_0x599c24=_0x599c24[_0x585e('0x15')];return _0x3ce37b;}[_0x585e('0x21')](_0x44aa5b,_0x237364){const _0x50cc0c=_0x2dd2ba(this[_0x585e('0x13')]);_0x111b86(_0x50cc0c,_0x44aa5b,_0x237364),_0x219bde(_0x50cc0c,this['attributes'])||(this[_0x585e('0x13')]=_0x50cc0c,this[_0x585e('0xb')](_0x50cc0c));}[_0x585e('0x6')](_0x3b6d0f){const _0x4ee24d=_0x2dd2ba(this[_0x585e('0x13')]);_0x3b011a(_0x4ee24d,_0x3b6d0f),_0x219bde(_0x4ee24d,this[_0x585e('0x13')])||(this[_0x585e('0x13')]=_0x4ee24d,this['_onAttributesChange'](this[_0x585e('0x13')]));}['toJSON'](){return{'id':this['id'],'type':this[_0x585e('0x32')]?this[_0x585e('0xf')]+':'+this['subType']:this[_0x585e('0xf')],'authorId':this[_0x585e('0x12')]['id'],'createdAt':this[_0x585e('0x1a')],'hasComments':this[_0x585e('0x5')],'data':this[_0x585e('0xc')],'attributes':this['attributes']};}static['getMultiRangeId'](){return _0x287018()[_0x585e('0x4')](0x1,0x5);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2bf8=['$1\x20$2','removeContainer','isEmpty','addEmptyContainer','indexOf','checkChild','pop','_locale','*Remove:*\x20%0','set','replace','_itemLabels','push','item','_addDescriptionItems','text','softBreak','removeObject','*Merge:*\x20%0','registerDescriptionCallback','length','isObject','_resolveDescriptionItems','elementEnd','*Split:*\x20%0','start','REPLACE_TEXT','_schema','ELEMENT_SPACE','addObject','registerElementLabel','addContainer','previousSibling','deletion','getFirstRange','$text','add','isEqual','EmptyContainer','*Insert:*\x20%0','data','quantity','end','element','isInContent','nextSibling','type','_customCallbacks','skip','Container','getDescriptions','remove','insertion','elementStart','label','normal','name','getItemLabel','match','function'];(function(_0xa45dc3,_0x2bf8d5){const _0x26ae77=function(_0x2a0864){while(--_0x2a0864){_0xa45dc3['push'](_0xa45dc3['shift']());}};_0x26ae77(++_0x2bf8d5);}(_0x2bf8,0x8f));const _0x26ae=function(_0xa45dc3,_0x2bf8d5){_0xa45dc3=_0xa45dc3-0x0;let _0x26ae77=_0x2bf8[_0xa45dc3];return _0x26ae77;};import{getTranslation as _0x4035b9}from'./utils/common-translations';import{priorities as _0x404346,insertToPriorityArray as _0x71078f}from'ckeditor5/src/utils';export default class m{constructor(_0x1b3ec1,_0x377cf6){this['_customCallbacks']=[],this[_0x26ae('0x30')]=new Map(),this['_itemLabelsCallbacks']=[],this[_0x26ae('0x4')]=_0x1b3ec1,this[_0x26ae('0x2c')]=_0x377cf6;}[_0x26ae('0x1b')](_0x255167){const _0x5b7148=[];for(let _0x150ce1=0x0;_0x150ce1<_0x255167[_0x26ae('0x39')];_0x150ce1++){const _0x24ad3d=_0x255167[_0x150ce1];if(!_0x24ad3d[_0x26ae('0x15')])continue;let _0x3b11dc=!0x1;for(const _0x1d33cf of this[_0x26ae('0x18')]){const _0x1add8b=_0x1d33cf(_0x24ad3d);if(_0x1add8b){_0x26ae('0x17')in _0x1add8b&&_0x5b7148['push'](_0x1add8b),_0x3b11dc=!0x0;break;}}if(!_0x3b11dc){this[_0x26ae('0x33')](_0x5b7148,_0x24ad3d);const _0x5d1b03=_0x255167[_0x150ce1+0x1];if(_0x5d1b03&&!_0x24ad3d[_0x26ae('0xb')]()[_0x26ae('0x13')][_0x26ae('0xe')](_0x5d1b03[_0x26ae('0xb')]()[_0x26ae('0x2')])){const _0x2d6267=_0x5b7148[_0x5b7148[_0x26ae('0x39')]-0x1],_0x2a1ac2=_0x26ae('0x1d')==_0x24ad3d[_0x26ae('0x17')]?_0x26ae('0xd'):_0x26ae('0x1c');_0x2d6267&&_0x26ae('0x34')==_0x2d6267[_0x26ae('0x17')]&&(_0x2d6267[_0x2a1ac2]+='\x0a');}}}return this[_0x26ae('0x3b')](_0x5b7148);}[_0x26ae('0x38')](_0x3822ed){this[_0x26ae('0x18')][_0x26ae('0x31')](_0x3822ed);}[_0x26ae('0x7')](_0x23520e,_0x262d3b,_0x1f59b3=_0x404346[_0x26ae('0x20')]){_0x26ae('0x24')==typeof _0x23520e?_0x71078f(this['_itemLabelsCallbacks'],{'matchingCallback':_0x23520e,'label':_0x262d3b,'priority':_0x1f59b3}):this[_0x26ae('0x30')][_0x26ae('0x2e')](_0x23520e,_0x262d3b);}[_0x26ae('0x22')](_0xf96a44,_0x51b6e3=0x1){let _0x1c9cfa;for(const _0x1ec4ea of this['_itemLabelsCallbacks'])if(_0x1ec4ea['matchingCallback'](_0xf96a44)){_0x1c9cfa=_0x1ec4ea[_0x26ae('0x1f')];break;}return _0x1c9cfa||(_0x1c9cfa=this['_itemLabels']['get'](_0xf96a44[_0x26ae('0x21')])),_0x1c9cfa?_0x1c9cfa(_0x51b6e3):0x1!==_0x51b6e3?_0x51b6e3+'\x20'+_0xf96a44[_0x26ae('0x21')]+'s':''+_0xf96a44[_0x26ae('0x21')];}[_0x26ae('0x33')](_0x4c756a,_0x47a9bd){const _0x1cda17=_0x47a9bd[_0x26ae('0xb')]()['getWalker'](),_0x309a35=_0x26ae('0x1d')==_0x47a9bd[_0x26ae('0x17')]?'add':_0x26ae('0x1c');for(const _0x53989f of _0x1cda17){const _0x477e42=_0x53989f[_0x26ae('0x32')],_0x11b196=_0x4c756a[_0x4c756a[_0x26ae('0x39')]-0x1];if(_0x477e42['is']('$textProxy'))_0x11b196&&_0x11b196[_0x26ae('0x17')][_0x26ae('0x29')]('Container')>-0x1&&_0x4c756a[_0x26ae('0x2b')](),_0x11b196&&_0x26ae('0x34')==_0x11b196[_0x26ae('0x17')]?_0x11b196[_0x309a35]+=_0x477e42[_0x26ae('0x11')]:_0x4c756a[_0x26ae('0x31')]({'type':_0x26ae('0x34'),'add':_0x26ae('0xd')==_0x309a35?_0x477e42[_0x26ae('0x11')]:'','remove':_0x26ae('0x1c')==_0x309a35?_0x477e42[_0x26ae('0x11')]:''});else{if(this[_0x26ae('0x4')]['isObject'](_0x477e42)){const _0x1f1d20=_0x477e42;if(_0x11b196&&_0x11b196[_0x26ae('0x17')][_0x26ae('0x29')](_0x26ae('0x1a'))>-0x1&&_0x4c756a[_0x26ae('0x2b')](),_0x26ae('0x0')==_0x53989f[_0x26ae('0x17')])continue;_0x11b196&&_0x11b196[_0x26ae('0x17')]==_0x309a35+'Object'&&_0x11b196[_0x26ae('0x14')][_0x26ae('0x21')]==_0x1f1d20[_0x26ae('0x21')]?_0x11b196['quantity']++:_0x4c756a[_0x26ae('0x31')]({'type':_0x309a35+'Object','element':_0x1f1d20,'quantity':0x1}),_0x1cda17[_0x26ae('0x19')](_0x1ae858=>!('elementEnd'==_0x1ae858[_0x26ae('0x17')]&&_0x1ae858[_0x26ae('0x32')]==_0x477e42));}else{if(this[_0x26ae('0x4')][_0x26ae('0x2a')](_0x477e42,_0x26ae('0xc'))||_0x477e42['is']('element',_0x26ae('0x35'))){const _0xd5c997=_0x477e42;if(_0x26ae('0xd')==_0x309a35&&_0x26ae('0x1e')==_0x53989f[_0x26ae('0x17')]||_0x26ae('0x1c')==_0x309a35&&_0x26ae('0x0')==_0x53989f['type'])continue;if(_0x11b196&&-0x1==_0x11b196[_0x26ae('0x17')][_0x26ae('0x29')](_0x26ae('0x1a'))){_0x26ae('0x34')==_0x11b196[_0x26ae('0x17')]&&(_0x11b196[_0x309a35]+='\x0a');continue;}let _0x43e142;if(_0x43e142=_0x26ae('0xd')==_0x309a35?_0xd5c997[_0x26ae('0x16')]&&!this['_schema'][_0x26ae('0x3a')](_0xd5c997[_0x26ae('0x16')])?_0xd5c997[_0x26ae('0x16')]:null:_0xd5c997[_0x26ae('0x9')]&&!this[_0x26ae('0x4')][_0x26ae('0x3a')](_0xd5c997[_0x26ae('0x9')])?_0xd5c997[_0x26ae('0x9')]:null,_0xd5c997[_0x26ae('0x27')]||_0x43e142&&_0x43e142['isEmpty']){const _0x53979e=_0x43e142&&_0x43e142[_0x26ae('0x27')]?_0x43e142:_0xd5c997;_0x11b196&&_0x11b196[_0x26ae('0x17')]==_0x309a35+_0x26ae('0xf')&&_0x11b196[_0x26ae('0x14')][_0x26ae('0x21')]==_0x53979e[_0x26ae('0x21')]?_0x11b196[_0x26ae('0x12')]++:_0x4c756a['push']({'type':_0x309a35+_0x26ae('0xf'),'element':_0x53979e,'quantity':0x1});}else _0x4c756a[_0x26ae('0x31')]({'type':_0x309a35+_0x26ae('0x1a'),'element':_0xd5c997});}}}}}[_0x26ae('0x3b')](_0x3ac6c8){const _0x4854e8=this['_locale'],_0x74cfaa=[];for(const _0x2ab609 of _0x3ac6c8){switch(_0x2ab609[_0x26ae('0x17')]){case'text':if(_0x2ab609[_0x26ae('0xd')]=_0x2ab609['add'][_0x26ae('0x2f')](/(\S)\u000A+(\S)/g,_0x26ae('0x25'))['replace'](/\u000A/g,''),_0x2ab609['remove']=_0x2ab609[_0x26ae('0x1c')]['replace'](/(\S)\u000A+(\S)/g,_0x26ae('0x25'))[_0x26ae('0x2f')](/\u000A/g,''),''!=_0x2ab609[_0x26ae('0xd')]&&''!=_0x2ab609[_0x26ae('0x1c')]){_0x74cfaa['push']({'type':_0x26ae('0x2f'),'content':_0x4035b9(_0x4854e8,_0x26ae('0x3'),['\x22'+_0x2ab609['remove']+'\x22','\x22'+_0x2ab609[_0x26ae('0xd')]+'\x22'])});continue;}if(null!=_0x2ab609['add'][_0x26ae('0x23')](/^ +$/)){_0x74cfaa['push']({'type':_0x26ae('0x1d'),'content':_0x4035b9(_0x4854e8,_0x26ae('0x10'),_0x4035b9(_0x4854e8,_0x26ae('0x5'),_0x2ab609['add'][_0x26ae('0x39')]))});continue;}if(null!=_0x2ab609[_0x26ae('0x1c')][_0x26ae('0x23')](/^ +$/)){_0x74cfaa['push']({'type':_0x26ae('0xa'),'content':_0x4035b9(_0x4854e8,'*Remove:*\x20%0',_0x4035b9(_0x4854e8,_0x26ae('0x5'),_0x2ab609[_0x26ae('0x1c')][_0x26ae('0x39')]))});continue;}if(''!=_0x2ab609[_0x26ae('0xd')]){_0x74cfaa[_0x26ae('0x31')]({'type':_0x26ae('0x1d'),'content':_0x4035b9(_0x4854e8,'*Insert:*\x20%0','\x22'+_0x2ab609[_0x26ae('0xd')]+'\x22')});continue;}_0x74cfaa[_0x26ae('0x31')]({'type':_0x26ae('0xa'),'content':_0x4035b9(_0x4854e8,_0x26ae('0x2d'),'\x22'+_0x2ab609['remove']+'\x22')});continue;case _0x26ae('0x28'):case _0x26ae('0x6'):_0x74cfaa['push']({'type':_0x26ae('0x1d'),'content':_0x4035b9(_0x4854e8,'*Insert:*\x20%0',this[_0x26ae('0x22')](_0x2ab609['element'],_0x2ab609[_0x26ae('0x12')]))});continue;case'removeEmptyContainer':case _0x26ae('0x36'):_0x74cfaa[_0x26ae('0x31')]({'type':'deletion','content':_0x4035b9(_0x4854e8,_0x26ae('0x2d'),this[_0x26ae('0x22')](_0x2ab609[_0x26ae('0x14')],_0x2ab609[_0x26ae('0x12')]))});continue;case _0x26ae('0x8'):_0x74cfaa[_0x26ae('0x31')]({'type':'insertion','content':_0x4035b9(_0x4854e8,_0x26ae('0x1'),this[_0x26ae('0x22')](_0x2ab609[_0x26ae('0x14')],_0x2ab609['quantity']))});continue;case _0x26ae('0x26'):_0x74cfaa[_0x26ae('0x31')]({'type':'deletion','content':_0x4035b9(_0x4854e8,_0x26ae('0x37'),this[_0x26ae('0x22')](_0x2ab609['element'],_0x2ab609[_0x26ae('0x12')]))});continue;}_0x74cfaa[_0x26ae('0x31')](_0x2ab609);}return _0x74cfaa;}}
23
+ const _0x5d27=['isObject','matchingCallback','$text','item','_resolveDescriptionItems','removeObject','nextSibling','add','getWalker','length','registerDescriptionCallback','_itemLabelsCallbacks','text','quantity','*Remove:*\x20%0','deletion','addObject','ELEMENT_SPACE','replace','Object','isEqual','elementStart','EmptyContainer','*Split:*\x20%0','skip','_addDescriptionItems','label','elementEnd','previousSibling','addContainer','pop','_customCallbacks','_schema','end','type','element','_locale','set','Container','getItemLabel','get','_itemLabels','insertion','*Merge:*\x20%0','indexOf','removeContainer','match','getFirstRange','function','name','push','isEmpty','*Insert:*\x20%0','data','remove'];(function(_0x42784a,_0x5d2730){const _0x72d7f5=function(_0x1334a0){while(--_0x1334a0){_0x42784a['push'](_0x42784a['shift']());}};_0x72d7f5(++_0x5d2730);}(_0x5d27,0x17b));const _0x72d7=function(_0x42784a,_0x5d2730){_0x42784a=_0x42784a-0x0;let _0x72d7f5=_0x5d27[_0x42784a];return _0x72d7f5;};import{getTranslation as _0x433a76}from'./utils/common-translations';import{priorities as _0xdf40a9,insertToPriorityArray as _0x589e76}from'ckeditor5/src/utils';export default class m{constructor(_0x51e48e,_0xa507d5){this[_0x72d7('0x25')]=[],this[_0x72d7('0x2f')]=new Map(),this[_0x72d7('0x11')]=[],this[_0x72d7('0x26')]=_0x51e48e,this['_locale']=_0xa507d5;}['getDescriptions'](_0x35cd2e){const _0x989c32=[];for(let _0x20e270=0x0;_0x20e270<_0x35cd2e['length'];_0x20e270++){const _0x4683d9=_0x35cd2e[_0x20e270];if(!_0x4683d9['isInContent'])continue;let _0x2d4795=!0x1;for(const _0x165288 of this[_0x72d7('0x25')]){const _0xfc3cad=_0x165288(_0x4683d9);if(_0xfc3cad){'type'in _0xfc3cad&&_0x989c32[_0x72d7('0x1')](_0xfc3cad),_0x2d4795=!0x0;break;}}if(!_0x2d4795){this[_0x72d7('0x1f')](_0x989c32,_0x4683d9);const _0x5caffa=_0x35cd2e[_0x20e270+0x1];if(_0x5caffa&&!_0x4683d9[_0x72d7('0x35')]()[_0x72d7('0x27')][_0x72d7('0x1a')](_0x5caffa['getFirstRange']()['start'])){const _0x467436=_0x989c32[_0x989c32[_0x72d7('0xf')]-0x1],_0x264ec5=_0x72d7('0x30')==_0x4683d9[_0x72d7('0x28')]?_0x72d7('0xd'):_0x72d7('0x5');_0x467436&&_0x72d7('0x12')==_0x467436[_0x72d7('0x28')]&&(_0x467436[_0x264ec5]+='\x0a');}}}return this[_0x72d7('0xa')](_0x989c32);}[_0x72d7('0x10')](_0x44f7d6){this[_0x72d7('0x25')][_0x72d7('0x1')](_0x44f7d6);}['registerElementLabel'](_0x1b3112,_0x8b6274,_0x32eb5f=_0xdf40a9['normal']){_0x72d7('0x36')==typeof _0x1b3112?_0x589e76(this[_0x72d7('0x11')],{'matchingCallback':_0x1b3112,'label':_0x8b6274,'priority':_0x32eb5f}):this[_0x72d7('0x2f')][_0x72d7('0x2b')](_0x1b3112,_0x8b6274);}[_0x72d7('0x2d')](_0x2711d7,_0x36eddf=0x1){let _0x1813f7;for(const _0x471e89 of this[_0x72d7('0x11')])if(_0x471e89[_0x72d7('0x7')](_0x2711d7)){_0x1813f7=_0x471e89[_0x72d7('0x20')];break;}return _0x1813f7||(_0x1813f7=this[_0x72d7('0x2f')][_0x72d7('0x2e')](_0x2711d7[_0x72d7('0x0')])),_0x1813f7?_0x1813f7(_0x36eddf):0x1!==_0x36eddf?_0x36eddf+'\x20'+_0x2711d7[_0x72d7('0x0')]+'s':''+_0x2711d7[_0x72d7('0x0')];}['_addDescriptionItems'](_0x3e5432,_0x1820cb){const _0x24596f=_0x1820cb[_0x72d7('0x35')]()[_0x72d7('0xe')](),_0x559f57=_0x72d7('0x30')==_0x1820cb['type']?_0x72d7('0xd'):_0x72d7('0x5');for(const _0xfda201 of _0x24596f){const _0x50c71c=_0xfda201[_0x72d7('0x9')],_0x649190=_0x3e5432[_0x3e5432[_0x72d7('0xf')]-0x1];if(_0x50c71c['is']('$textProxy'))_0x649190&&_0x649190[_0x72d7('0x28')][_0x72d7('0x32')](_0x72d7('0x2c'))>-0x1&&_0x3e5432['pop'](),_0x649190&&_0x72d7('0x12')==_0x649190['type']?_0x649190[_0x559f57]+=_0x50c71c[_0x72d7('0x4')]:_0x3e5432[_0x72d7('0x1')]({'type':_0x72d7('0x12'),'add':_0x72d7('0xd')==_0x559f57?_0x50c71c['data']:'','remove':_0x72d7('0x5')==_0x559f57?_0x50c71c[_0x72d7('0x4')]:''});else{if(this['_schema'][_0x72d7('0x6')](_0x50c71c)){const _0x14e5ae=_0x50c71c;if(_0x649190&&_0x649190[_0x72d7('0x28')]['indexOf'](_0x72d7('0x2c'))>-0x1&&_0x3e5432[_0x72d7('0x24')](),_0x72d7('0x21')==_0xfda201[_0x72d7('0x28')])continue;_0x649190&&_0x649190['type']==_0x559f57+_0x72d7('0x19')&&_0x649190[_0x72d7('0x29')][_0x72d7('0x0')]==_0x14e5ae[_0x72d7('0x0')]?_0x649190[_0x72d7('0x13')]++:_0x3e5432['push']({'type':_0x559f57+'Object','element':_0x14e5ae,'quantity':0x1}),_0x24596f[_0x72d7('0x1e')](_0x2fd2c6=>!(_0x72d7('0x21')==_0x2fd2c6[_0x72d7('0x28')]&&_0x2fd2c6[_0x72d7('0x9')]==_0x50c71c));}else{if(this['_schema']['checkChild'](_0x50c71c,_0x72d7('0x8'))||_0x50c71c['is']('element','softBreak')){const _0x3f2b8a=_0x50c71c;if(_0x72d7('0xd')==_0x559f57&&_0x72d7('0x1b')==_0xfda201[_0x72d7('0x28')]||_0x72d7('0x5')==_0x559f57&&_0x72d7('0x21')==_0xfda201[_0x72d7('0x28')])continue;if(_0x649190&&-0x1==_0x649190[_0x72d7('0x28')][_0x72d7('0x32')](_0x72d7('0x2c'))){'text'==_0x649190[_0x72d7('0x28')]&&(_0x649190[_0x559f57]+='\x0a');continue;}let _0x1a9faf;if(_0x1a9faf=_0x72d7('0xd')==_0x559f57?_0x3f2b8a[_0x72d7('0xc')]&&!this[_0x72d7('0x26')][_0x72d7('0x6')](_0x3f2b8a[_0x72d7('0xc')])?_0x3f2b8a[_0x72d7('0xc')]:null:_0x3f2b8a[_0x72d7('0x22')]&&!this[_0x72d7('0x26')][_0x72d7('0x6')](_0x3f2b8a[_0x72d7('0x22')])?_0x3f2b8a[_0x72d7('0x22')]:null,_0x3f2b8a[_0x72d7('0x2')]||_0x1a9faf&&_0x1a9faf[_0x72d7('0x2')]){const _0x204abe=_0x1a9faf&&_0x1a9faf[_0x72d7('0x2')]?_0x1a9faf:_0x3f2b8a;_0x649190&&_0x649190['type']==_0x559f57+'EmptyContainer'&&_0x649190[_0x72d7('0x29')][_0x72d7('0x0')]==_0x204abe[_0x72d7('0x0')]?_0x649190['quantity']++:_0x3e5432[_0x72d7('0x1')]({'type':_0x559f57+_0x72d7('0x1c'),'element':_0x204abe,'quantity':0x1});}else _0x3e5432[_0x72d7('0x1')]({'type':_0x559f57+_0x72d7('0x2c'),'element':_0x3f2b8a});}}}}}[_0x72d7('0xa')](_0x3ad3af){const _0x1a50af=this[_0x72d7('0x2a')],_0x4f6fd6=[];for(const _0x1b3843 of _0x3ad3af){switch(_0x1b3843[_0x72d7('0x28')]){case'text':if(_0x1b3843[_0x72d7('0xd')]=_0x1b3843[_0x72d7('0xd')][_0x72d7('0x18')](/(\S)\u000A+(\S)/g,'$1\x20$2')[_0x72d7('0x18')](/\u000A/g,''),_0x1b3843[_0x72d7('0x5')]=_0x1b3843[_0x72d7('0x5')][_0x72d7('0x18')](/(\S)\u000A+(\S)/g,'$1\x20$2')[_0x72d7('0x18')](/\u000A/g,''),''!=_0x1b3843['add']&&''!=_0x1b3843[_0x72d7('0x5')]){_0x4f6fd6[_0x72d7('0x1')]({'type':_0x72d7('0x18'),'content':_0x433a76(_0x1a50af,'REPLACE_TEXT',['\x22'+_0x1b3843[_0x72d7('0x5')]+'\x22','\x22'+_0x1b3843[_0x72d7('0xd')]+'\x22'])});continue;}if(null!=_0x1b3843[_0x72d7('0xd')][_0x72d7('0x34')](/^ +$/)){_0x4f6fd6[_0x72d7('0x1')]({'type':'insertion','content':_0x433a76(_0x1a50af,_0x72d7('0x3'),_0x433a76(_0x1a50af,'ELEMENT_SPACE',_0x1b3843[_0x72d7('0xd')][_0x72d7('0xf')]))});continue;}if(null!=_0x1b3843['remove'][_0x72d7('0x34')](/^ +$/)){_0x4f6fd6['push']({'type':'deletion','content':_0x433a76(_0x1a50af,_0x72d7('0x14'),_0x433a76(_0x1a50af,_0x72d7('0x17'),_0x1b3843[_0x72d7('0x5')]['length']))});continue;}if(''!=_0x1b3843[_0x72d7('0xd')]){_0x4f6fd6[_0x72d7('0x1')]({'type':'insertion','content':_0x433a76(_0x1a50af,_0x72d7('0x3'),'\x22'+_0x1b3843['add']+'\x22')});continue;}_0x4f6fd6['push']({'type':_0x72d7('0x15'),'content':_0x433a76(_0x1a50af,'*Remove:*\x20%0','\x22'+_0x1b3843[_0x72d7('0x5')]+'\x22')});continue;case'addEmptyContainer':case _0x72d7('0x16'):_0x4f6fd6['push']({'type':_0x72d7('0x30'),'content':_0x433a76(_0x1a50af,_0x72d7('0x3'),this[_0x72d7('0x2d')](_0x1b3843['element'],_0x1b3843['quantity']))});continue;case'removeEmptyContainer':case _0x72d7('0xb'):_0x4f6fd6[_0x72d7('0x1')]({'type':_0x72d7('0x15'),'content':_0x433a76(_0x1a50af,'*Remove:*\x20%0',this[_0x72d7('0x2d')](_0x1b3843[_0x72d7('0x29')],_0x1b3843[_0x72d7('0x13')]))});continue;case _0x72d7('0x23'):_0x4f6fd6[_0x72d7('0x1')]({'type':_0x72d7('0x30'),'content':_0x433a76(_0x1a50af,_0x72d7('0x1d'),this['getItemLabel'](_0x1b3843[_0x72d7('0x29')],_0x1b3843['quantity']))});continue;case _0x72d7('0x33'):_0x4f6fd6[_0x72d7('0x1')]({'type':'deletion','content':_0x433a76(_0x1a50af,_0x72d7('0x31'),this[_0x72d7('0x2d')](_0x1b3843[_0x72d7('0x29')],_0x1b3843[_0x72d7('0x13')]))});continue;}_0x4f6fd6[_0x72d7('0x1')](_0x1b3843);}return _0x4f6fd6;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0xb67f=['plugins','editor','adapter','getSuggestions','pluginName','Comments','addSuggestion','TrackChanges','getSuggestion','get','addSuggestionData','requires'];(function(_0x46420b,_0xb67fe9){var _0x308bd3=function(_0x507ed9){while(--_0x507ed9){_0x46420b['push'](_0x46420b['shift']());}};_0x308bd3(++_0xb67fe9);}(_0xb67f,0x18b));var _0x308b=function(_0x46420b,_0xb67fe9){_0x46420b=_0x46420b-0x0;var _0x308bd3=_0xb67f[_0x46420b];return _0x308bd3;};import{Plugin as _0x236dc7}from'ckeditor5/src/core';import _0x5ec3f8 from'./trackchangesui';import _0x42a8a4 from'./trackchangesediting';import'ckeditor5-collaboration/src/collaboration-core';export default class k extends _0x236dc7{static get[_0x308b('0x0')](){return[_0x42a8a4,_0x5ec3f8,_0x308b('0x6')];}static get[_0x308b('0x5')](){return _0x308b('0x8');}set[_0x308b('0x3')](_0x57f3b9){this[_0x308b('0x2')][_0x308b('0x1')][_0x308b('0xa')](_0x42a8a4)[_0x308b('0x3')]=_0x57f3b9;}get[_0x308b('0x3')](){return this['editor'][_0x308b('0x1')][_0x308b('0xa')](_0x42a8a4)[_0x308b('0x3')];}[_0x308b('0x7')](_0x497fab){return this[_0x308b('0x2')]['plugins'][_0x308b('0xa')](_0x42a8a4)[_0x308b('0xb')](_0x497fab);}[_0x308b('0x4')]({skipNotAttached:_0xe54082=!0x1,toJSON:_0x1391d6=!0x1}={}){return this[_0x308b('0x2')][_0x308b('0x1')][_0x308b('0xa')](_0x42a8a4)['getSuggestions']({'skipNotAttached':_0xe54082,'toJSON':_0x1391d6});}[_0x308b('0x9')](_0x273cd9){return this['editor']['plugins'][_0x308b('0xa')](_0x42a8a4)[_0x308b('0x9')](_0x273cd9);}}
23
+ var _0x4179=['plugins','editor','adapter','TrackChanges','get','requires','pluginName','getSuggestion','Comments','getSuggestions'];(function(_0xee5906,_0x417986){var _0x150962=function(_0x3492dd){while(--_0x3492dd){_0xee5906['push'](_0xee5906['shift']());}};_0x150962(++_0x417986);}(_0x4179,0xa2));var _0x1509=function(_0xee5906,_0x417986){_0xee5906=_0xee5906-0x0;var _0x150962=_0x4179[_0xee5906];return _0x150962;};import{Plugin as _0x365778}from'ckeditor5/src/core';import _0x36a3ad from'./trackchangesui';import _0x1a9a6d from'./trackchangesediting';import'ckeditor5-collaboration/src/collaboration-core';export default class k extends _0x365778{static get[_0x1509('0x3')](){return[_0x1a9a6d,_0x36a3ad,_0x1509('0x6')];}static get[_0x1509('0x4')](){return _0x1509('0x1');}set[_0x1509('0x0')](_0x4c2b5d){this[_0x1509('0x9')]['plugins'][_0x1509('0x2')](_0x1a9a6d)[_0x1509('0x0')]=_0x4c2b5d;}get[_0x1509('0x0')](){return this[_0x1509('0x9')][_0x1509('0x8')][_0x1509('0x2')](_0x1a9a6d)[_0x1509('0x0')];}['addSuggestion'](_0xe18e5){return this[_0x1509('0x9')][_0x1509('0x8')]['get'](_0x1a9a6d)['addSuggestionData'](_0xe18e5);}[_0x1509('0x7')]({skipNotAttached:_0xfb50af=!0x1,toJSON:_0x1381e1=!0x1}={}){return this[_0x1509('0x9')][_0x1509('0x8')][_0x1509('0x2')](_0x1a9a6d)[_0x1509('0x7')]({'skipNotAttached':_0xfb50af,'toJSON':_0x1381e1});}[_0x1509('0x5')](_0x38cfc0){return this[_0x1509('0x9')]['plugins'][_0x1509('0x2')](_0x1a9a6d)[_0x1509('0x5')](_0x38cfc0);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x304b=['result','name','data','acceptAllSuggestions','reduce','useAnonymousUser','trackChangesData.editorCreator','getDataWithDiscardedSuggestions','model','push','div','CommentsRepository','plugins','requires','editorCreator','TrackChangesDataGetter','create','track-changes-data-invalid-editor-creator','document','destroy','end','config','getRootsAttributes','trackChangesData','createDocumentFragment','editor','_adapter','get','rootsAttributes','function','execute','pluginName','getDataWithAcceptedSuggestions','TrackChangesEditing','init','createElement','addSuggestionData','getRootNames','set'];(function(_0x490c2f,_0x304b76){const _0x29ae9c=function(_0x159533){while(--_0x159533){_0x490c2f['push'](_0x490c2f['shift']());}};_0x29ae9c(++_0x304b76);}(_0x304b,0x197));const _0x29ae=function(_0x490c2f,_0x304b76){_0x490c2f=_0x490c2f-0x0;let _0x29ae9c=_0x304b[_0x490c2f];return _0x29ae9c;};import{Plugin as _0x473868}from'ckeditor5/src/core';import{CKEditorError as _0xa56367}from'ckeditor5/src/utils';import _0x2660c4 from'./trackchangesediting';import{sanitizeEditorConfig as _0x11e64b}from'ckeditor5-collaboration/src/collaboration-core';const w=['Pagination'];export default class T extends _0x473868{static get[_0x29ae('0x23')](){return[_0x2660c4];}static get[_0x29ae('0xe')](){return'TrackChangesData';}[_0x29ae('0x11')](){const _0x5283fd=this['editor'];if(_0x5283fd[_0x29ae('0x4')]['define'](_0x29ae('0x1c'),_0x1ad86c=>{const _0x2a75bc=_0x5283fd[_0x29ae('0x1e')][_0x29ae('0x1')][_0x29ae('0x14')]()['reduce']((_0x38ec8d,_0x29bab)=>(_0x38ec8d[_0x29bab]='',_0x38ec8d),{});return _0x5283fd['constructor'][_0x29ae('0x26')](_0x2a75bc,_0x1ad86c);}),_0x29ae('0xc')!=typeof _0x5283fd[_0x29ae('0x4')]['get'](_0x29ae('0x6'))[_0x29ae('0x24')])throw new _0xa56367(_0x29ae('0x0'));}[_0x29ae('0xf')](_0x5992c5){return v(this[_0x29ae('0x8')],!0x0,_0x5992c5);}[_0x29ae('0x1d')](_0x885059){return v(this[_0x29ae('0x8')],!0x1,_0x885059);}}class P extends _0x473868{static get[_0x29ae('0xe')](){return _0x29ae('0x25');}constructor(_0x36dd37){super(_0x36dd37),this[_0x29ae('0x16')]=_0x29ae('0x3');}[_0x29ae('0x11')](){this['editor'][_0x29ae('0x22')][_0x29ae('0xa')](_0x29ae('0x21'))[_0x29ae('0x9')]={'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[_0x29ae('0x8')][_0x29ae('0x22')][_0x29ae('0xa')](_0x29ae('0x10'))[_0x29ae('0x9')]=null;}}function D(_0x15eb48){return void 0x0!==_0x15eb48['getRootsAttributes'];}async function v(_0x31cc47,_0x56d026,_0x4687e9){const _0x23d9bf=_0x11e64b(_0x31cc47,w);_0x23d9bf[_0x29ae('0x22')][_0x29ae('0x1f')](_0x2660c4,P),_0x23d9bf[_0x29ae('0xb')]=D(_0x31cc47)?_0x31cc47[_0x29ae('0x5')]():void 0x0;const _0x39692d=document[_0x29ae('0x7')](),_0x74a0fe=_0x31cc47[_0x29ae('0x4')][_0x29ae('0xa')](_0x29ae('0x6'))[_0x29ae('0x24')],_0x1fd381=await _0x74a0fe(_0x23d9bf,()=>function(_0x44f568){const _0x3db806=document[_0x29ae('0x12')](_0x29ae('0x20'));return _0x44f568['appendChild'](_0x3db806),_0x3db806;}(_0x39692d));!function(_0x165c2f,_0xf13882){const _0x28b35b=_0x165c2f[_0x29ae('0x1e')][_0x29ae('0x1')]['getRootNames']()[_0x29ae('0x1a')]((_0xfb18b8,_0xfdcbea)=>(_0xfb18b8[_0xfdcbea]=_0x165c2f[_0x29ae('0x18')][_0x29ae('0xa')]({'rootName':_0xfdcbea}),_0xfb18b8),{}),_0x166890=_0x165c2f[_0x29ae('0x22')][_0x29ae('0xa')]('Users')['users']['map'](_0x20781a=>({'id':_0x20781a['id'],'name':_0x20781a[_0x29ae('0x17')]})),_0x38260c=_0x165c2f[_0x29ae('0x22')][_0x29ae('0xa')](_0x29ae('0x10'))['getSuggestions']({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x441e28=_0xf13882['plugins']['get']('Users'),_0x3eb94e=_0xf13882['plugins'][_0x29ae('0xa')](_0x29ae('0x10'));for(const _0x257709 of _0x166890)_0x441e28['getUser'](_0x257709['id'])||_0x441e28['addUser'](_0x257709);_0x441e28['me']||_0x441e28[_0x29ae('0x1b')]();for(const _0x2bb4cb of _0x38260c)_0x3eb94e[_0x29ae('0x13')](_0x2bb4cb);_0xf13882['data'][_0x29ae('0x15')](_0x28b35b);}(_0x31cc47,_0x1fd381),_0x1fd381[_0x29ae('0xd')](_0x56d026?_0x29ae('0x19'):'discardAllSuggestions');const _0x30ae0b=D(_0x1fd381)?_0x1fd381['getFullData'](_0x4687e9):_0x1fd381[_0x29ae('0x18')][_0x29ae('0xa')](_0x4687e9);return await _0x1fd381[_0x29ae('0x2')](),_0x30ae0b;}
23
+ const _0x2f2e=['editor','discardAllSuggestions','rootsAttributes','getRootNames','useAnonymousUser','data','createDocumentFragment','getSuggestions','destroy','config','editorCreator','get','getRootsAttributes','getFullData','model','users','TrackChangesEditing','plugins','define','init','requires','map','getUser','function','trackChangesData','addUser','pluginName','create','result','document','TrackChangesData','CommentsRepository','getDataWithDiscardedSuggestions','getDataWithAcceptedSuggestions','end','name','execute','div','appendChild','constructor','_adapter','reduce','TrackChangesDataGetter','addSuggestionData'];(function(_0x20a6a9,_0x2f2ea1){const _0x4907c9=function(_0x4f8e6a){while(--_0x4f8e6a){_0x20a6a9['push'](_0x20a6a9['shift']());}};_0x4907c9(++_0x2f2ea1);}(_0x2f2e,0xed));const _0x4907=function(_0x20a6a9,_0x2f2ea1){_0x20a6a9=_0x20a6a9-0x0;let _0x4907c9=_0x2f2e[_0x20a6a9];return _0x4907c9;};import{Plugin as _0x307ea7}from'ckeditor5/src/core';import{CKEditorError as _0x685fd8}from'ckeditor5/src/utils';import _0x363e62 from'./trackchangesediting';import{sanitizeEditorConfig as _0x160e82}from'ckeditor5-collaboration/src/collaboration-core';const w=['Pagination'];export default class T extends _0x307ea7{static get[_0x4907('0x3')](){return[_0x363e62];}static get[_0x4907('0x9')](){return _0x4907('0xd');}[_0x4907('0x2')](){const _0x4d7a4e=this['editor'];if(_0x4d7a4e[_0x4907('0x24')][_0x4907('0x1')]('trackChangesData.editorCreator',_0x1797bf=>{const _0x5b48eb=_0x4d7a4e[_0x4907('0x29')][_0x4907('0xc')]['getRootNames']()[_0x4907('0x18')]((_0x154441,_0xf12d13)=>(_0x154441[_0xf12d13]='',_0x154441),{});return _0x4d7a4e[_0x4907('0x16')][_0x4907('0xa')](_0x5b48eb,_0x1797bf);}),_0x4907('0x6')!=typeof _0x4d7a4e[_0x4907('0x24')][_0x4907('0x26')]('trackChangesData')[_0x4907('0x25')])throw new _0x685fd8('track-changes-data-invalid-editor-creator');}[_0x4907('0x10')](_0x38fbf8){return v(this['editor'],!0x0,_0x38fbf8);}[_0x4907('0xf')](_0x2c8ed0){return v(this[_0x4907('0x1b')],!0x1,_0x2c8ed0);}}class P extends _0x307ea7{static get['pluginName'](){return _0x4907('0x19');}constructor(_0x2b5ee2){super(_0x2b5ee2),this[_0x4907('0xb')]=_0x4907('0x11');}[_0x4907('0x2')](){this[_0x4907('0x1b')][_0x4907('0x0')]['get'](_0x4907('0xe'))['_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[_0x4907('0x1b')]['plugins']['get'](_0x4907('0x2b'))[_0x4907('0x17')]=null;}}function D(_0x5f4920){return void 0x0!==_0x5f4920[_0x4907('0x27')];}async function v(_0x12269c,_0x13cb27,_0x48cd69){const _0x20f81a=_0x160e82(_0x12269c,w);_0x20f81a[_0x4907('0x0')]['push'](_0x363e62,P),_0x20f81a[_0x4907('0x1d')]=D(_0x12269c)?_0x12269c[_0x4907('0x27')]():void 0x0;const _0x332567=document[_0x4907('0x21')](),_0x19bafc=_0x12269c[_0x4907('0x24')][_0x4907('0x26')](_0x4907('0x7'))[_0x4907('0x25')],_0xaa92a3=await _0x19bafc(_0x20f81a,()=>function(_0x51ce26){const _0x319205=document['createElement'](_0x4907('0x14'));return _0x51ce26[_0x4907('0x15')](_0x319205),_0x319205;}(_0x332567));!function(_0x1b3249,_0x324233){const _0x55c985=_0x1b3249[_0x4907('0x29')]['document'][_0x4907('0x1e')]()['reduce']((_0x3b7aaa,_0x2d718b)=>(_0x3b7aaa[_0x2d718b]=_0x1b3249['data'][_0x4907('0x26')]({'rootName':_0x2d718b}),_0x3b7aaa),{}),_0x3973c8=_0x1b3249['plugins'][_0x4907('0x26')]('Users')[_0x4907('0x2a')][_0x4907('0x4')](_0x33a659=>({'id':_0x33a659['id'],'name':_0x33a659[_0x4907('0x12')]})),_0x5265ba=_0x1b3249['plugins']['get'](_0x4907('0x2b'))[_0x4907('0x22')]({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x3516bf=_0x324233['plugins']['get']('Users'),_0x133419=_0x324233['plugins']['get'](_0x4907('0x2b'));for(const _0x1aa8c5 of _0x3973c8)_0x3516bf[_0x4907('0x5')](_0x1aa8c5['id'])||_0x3516bf[_0x4907('0x8')](_0x1aa8c5);_0x3516bf['me']||_0x3516bf[_0x4907('0x1f')]();for(const _0x17c6aa of _0x5265ba)_0x133419[_0x4907('0x1a')](_0x17c6aa);_0x324233[_0x4907('0x20')]['set'](_0x55c985);}(_0x12269c,_0xaa92a3),_0xaa92a3[_0x4907('0x13')](_0x13cb27?'acceptAllSuggestions':_0x4907('0x1c'));const _0x378437=D(_0xaa92a3)?_0xaa92a3[_0x4907('0x28')](_0x48cd69):_0xaa92a3['data'][_0x4907('0x26')](_0x48cd69);return await _0xaa92a3[_0x4907('0x23')](),_0x378437;}