@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20230820.0 → 0.0.0-nightly-20230821.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 _0x1100=['getItems','author','getAllAdjacentSuggestions','next','getFirstMarker','isIntersecting','addRange','onAttributesChange','getMarkers','decorate','isInContent','_saved','push','nodeAfter','setAttribute','type','isExternal','_onAttributesChange','reduce','markers','_onDiscard','subType','isMultiRange','filter','length','head','onAccept','addMarker','commentThread','getRanges','previous','getMultiRangeId','get','data','getMarkerNames','discard','_onAccept','_markerNames','attributes','change','set','accept','hasComments','creator','addMarkerName','removeMarkers','from','removeMarker','_model','add','getRange','createdAt','suggestion:','getContainedElement','map','clear','delete','@external'];(function(_0x3d6ac0,_0x110010){const _0x3b3070=function(_0x45caa0){while(--_0x45caa0){_0x3d6ac0['push'](_0x3d6ac0['shift']());}};_0x3b3070(++_0x110010);}(_0x1100,0x166));const _0x3b30=function(_0x3d6ac0,_0x110010){_0x3d6ac0=_0x3d6ac0-0x0;let _0x3b3070=_0x1100[_0x3d6ac0];return _0x3b3070;};import{Element as _0x27558b}from'ckeditor5/src/engine';import{ObservableMixin as _0x27682f,uid as _0x3d2323}from'ckeditor5/src/utils';import{cloneDeep as _0x34809e,isEqual as _0x3f6987,set as _0x32832c,unset as _0x31bd39}from'lodash-es';export default class u extends _0x27682f(){constructor(_0x1d857e,_0x172ca0){super(),this['id']=_0x172ca0['id'],this['type']=_0x172ca0['type'],this[_0x3b30('0xb')]=_0x172ca0['subType']||null,this[_0x3b30('0x31')]=_0x172ca0['author'],this[_0x3b30('0x21')]=_0x172ca0[_0x3b30('0x21')]||_0x172ca0[_0x3b30('0x31')],this[_0x3b30('0x6')]=Boolean(_0x172ca0[_0x3b30('0x1c')]&&_0x172ca0[_0x3b30('0x1c')][_0x3b30('0x2f')]),this[_0x3b30('0x17')]=null,this[_0x3b30('0x26')]=_0x1d857e,this[_0x3b30('0x1a')]=_0x172ca0[_0x3b30('0x10')],this[_0x3b30('0xa')]=_0x172ca0['onDiscard'],this[_0x3b30('0x7')]=_0x172ca0[_0x3b30('0x37')],this[_0x3b30('0x1b')]=new Set(),this[_0x3b30('0x29')]=null,this[_0x3b30('0x1e')]('authoredAt',null),this[_0x3b30('0x1e')](_0x3b30('0x1c'),_0x172ca0[_0x3b30('0x1c')]||{}),this[_0x3b30('0x1e')](_0x3b30('0x14'),null),this[_0x3b30('0x1e')](_0x3b30('0x33'),null),this[_0x3b30('0x1e')](_0x3b30('0x12'),null),this[_0x3b30('0x1e')](_0x3b30('0x1'),!0x1),this[_0x3b30('0x39')](_0x3b30('0x1f')),this[_0x3b30('0x39')](_0x3b30('0x19'));}get[_0x3b30('0xf')](){let _0x250a66=this;for(;_0x250a66['previous'];)_0x250a66=_0x250a66[_0x3b30('0x14')];return _0x250a66;}get['hasComments'](){return!!this['commentThread']&&this[_0x3b30('0x12')][_0x3b30('0xe')]>0x0;}get[_0x3b30('0xc')](){if(0x0==this[_0x3b30('0x1b')]['size'])return!0x1;return 0x6==Array[_0x3b30('0x24')](this[_0x3b30('0x1b')])[0x0]['split'](':')[_0x3b30('0xe')];}get[_0x3b30('0x0')](){return null!==this[_0x3b30('0x34')]();}[_0x3b30('0x22')](_0x47825c){this[_0x3b30('0x1b')][_0x3b30('0x27')](_0x47825c);}[_0x3b30('0x18')](){return Array[_0x3b30('0x24')](this['_markerNames']);}[_0x3b30('0x38')](){return this[_0x3b30('0x18')]()['map'](_0x3f96ef=>this[_0x3b30('0x26')][_0x3b30('0x9')][_0x3b30('0x16')](_0x3f96ef))[_0x3b30('0xd')](_0x1e6fa8=>_0x1e6fa8);}[_0x3b30('0x34')](){return this['getMarkers']()[0x0]||null;}[_0x3b30('0x23')](){this['_model'][_0x3b30('0x1d')](_0x529489=>{for(const _0x532e6d of this[_0x3b30('0x38')]())_0x529489[_0x3b30('0x25')](_0x532e6d);}),this[_0x3b30('0x1b')][_0x3b30('0x2d')]();}[_0x3b30('0x25')](_0x45083d){this[_0x3b30('0x26')][_0x3b30('0x1d')](_0x58f026=>{_0x58f026[_0x3b30('0x25')](_0x45083d);}),this[_0x3b30('0x1b')][_0x3b30('0x2e')](_0x45083d);}[_0x3b30('0x36')](_0x1beb05){const _0x5efae8=_0x3b30('0x2a')+this['type']+':'+this[_0x3b30('0xb')]+':'+this['id']+':'+this[_0x3b30('0x21')]['id']+':'+u[_0x3b30('0x15')]();this[_0x3b30('0x22')](_0x5efae8),this[_0x3b30('0x26')][_0x3b30('0x1d')](_0x41c278=>{_0x41c278[_0x3b30('0x11')](_0x5efae8,{'range':_0x1beb05,'usingOperation':!0x0,'affectsData':!0x0});});}['isIntersectingWithRange'](_0x49474b){for(const _0x5161bc of this[_0x3b30('0x13')]())if(_0x5161bc[_0x3b30('0x35')](_0x49474b))return!0x0;return!0x1;}['getRanges'](){return this[_0x3b30('0x38')]()[_0x3b30('0x2c')](_0x2fa683=>_0x2fa683['getRange']());}[_0x3b30('0x30')](){return this[_0x3b30('0x13')]()[_0x3b30('0x8')]((_0x5773b2,_0x1dda45)=>[..._0x5773b2,..._0x1dda45[_0x3b30('0x30')]()],[]);}['getFirstRange'](){var _0x503c9a;return(null===(_0x503c9a=this[_0x3b30('0x34')]())||void 0x0===_0x503c9a?void 0x0:_0x503c9a[_0x3b30('0x28')]())||null;}[_0x3b30('0x2b')](){const _0x11933b=this['getRanges']();if(0x1!=_0x11933b[_0x3b30('0xe')])return null;const _0x4d8c0f=_0x11933b[0x0],_0x505f3e=_0x4d8c0f['start'][_0x3b30('0x3')],_0x2a5172=_0x4d8c0f['end']['nodeBefore'];return _0x505f3e instanceof _0x27558b?_0x505f3e!=_0x2a5172?null:_0x505f3e:null;}['accept'](){this[_0x3b30('0x1a')](this[_0x3b30('0x13')](),this[_0x3b30('0x17')],this['attributes']),this['removeMarkers']();}[_0x3b30('0x19')](){this['_onDiscard'](this['getRanges'](),this[_0x3b30('0x17')],this[_0x3b30('0x1c')]),this['removeMarkers']();}[_0x3b30('0x32')](){const _0x544281=[];let _0x91f2f0=this['head'];for(;_0x91f2f0;)_0x544281[_0x3b30('0x2')](_0x91f2f0),_0x91f2f0=_0x91f2f0['next'];return _0x544281;}[_0x3b30('0x4')](_0x14ab8f,_0x3fec9f){const _0x2768ec=_0x34809e(this[_0x3b30('0x1c')]);_0x32832c(_0x2768ec,_0x14ab8f,_0x3fec9f),_0x3f6987(_0x2768ec,this[_0x3b30('0x1c')])||(this[_0x3b30('0x1c')]=_0x2768ec,this[_0x3b30('0x7')](_0x2768ec));}['removeAttribute'](_0x24dac2){const _0x4af74d=_0x34809e(this['attributes']);_0x31bd39(_0x4af74d,_0x24dac2),_0x3f6987(_0x4af74d,this['attributes'])||(this[_0x3b30('0x1c')]=_0x4af74d,this[_0x3b30('0x7')](this[_0x3b30('0x1c')]));}['toJSON'](){return{'id':this['id'],'type':this[_0x3b30('0xb')]?this['type']+':'+this[_0x3b30('0xb')]:this[_0x3b30('0x5')],'authorId':this[_0x3b30('0x21')]['id'],'createdAt':this[_0x3b30('0x29')],'hasComments':this[_0x3b30('0x20')],'data':this[_0x3b30('0x17')],'attributes':this[_0x3b30('0x1c')]};}static[_0x3b30('0x15')](){return _0x3d2323()['substr'](0x1,0x5);}}
23
+ const _0x39a7=['getContainedElement','suggestion:','isInContent','onDiscard','removeMarker','attributes','next','data','commentThread','getAllAdjacentSuggestions','accept','getRange','length','removeAttribute','getMarkers','discard','onAccept','head','_model','change','from','_saved','start','set','split','onAttributesChange','authoredAt','addMarker','getRanges','toJSON','map','setAttribute','isExternal','getFirstMarker','type','removeMarkers','_onDiscard','_onAttributesChange','decorate','addMarkerName','_onAccept','previous','filter','creator','isIntersectingWithRange','getFirstRange','getMarkerNames','substr','getItems','end','author','_markerNames','add','push','getMultiRangeId','hasComments','createdAt','subType','addRange'];(function(_0x4bea57,_0x39a70c){const _0x2a99dd=function(_0x2e6199){while(--_0x2e6199){_0x4bea57['push'](_0x4bea57['shift']());}};_0x2a99dd(++_0x39a70c);}(_0x39a7,0x1a3));const _0x2a99=function(_0x4bea57,_0x39a70c){_0x4bea57=_0x4bea57-0x0;let _0x2a99dd=_0x39a7[_0x4bea57];return _0x2a99dd;};import{Element as _0x222aae}from'ckeditor5/src/engine';import{ObservableMixin as _0x3e3576,uid as _0x4d6851}from'ckeditor5/src/utils';import{cloneDeep as _0x56766c,isEqual as _0x29016d,set as _0x1665e6,unset as _0x3144ca}from'lodash-es';export default class u extends _0x3e3576(){constructor(_0x59e202,_0x2c5ca9){super(),this['id']=_0x2c5ca9['id'],this[_0x2a99('0x1c')]=_0x2c5ca9[_0x2a99('0x1c')],this[_0x2a99('0x33')]=_0x2c5ca9[_0x2a99('0x33')]||null,this[_0x2a99('0x2c')]=_0x2c5ca9[_0x2a99('0x2c')],this[_0x2a99('0x25')]=_0x2c5ca9[_0x2a99('0x25')]||_0x2c5ca9[_0x2a99('0x2c')],this[_0x2a99('0x1a')]=Boolean(_0x2c5ca9['attributes']&&_0x2c5ca9['attributes']['@external']),this[_0x2a99('0x1')]=null,this['_model']=_0x59e202,this[_0x2a99('0x22')]=_0x2c5ca9[_0x2a99('0xa')],this[_0x2a99('0x1e')]=_0x2c5ca9[_0x2a99('0x38')],this['_onAttributesChange']=_0x2c5ca9[_0x2a99('0x13')],this[_0x2a99('0x2d')]=new Set(),this['createdAt']=null,this[_0x2a99('0x11')](_0x2a99('0x14'),null),this[_0x2a99('0x11')](_0x2a99('0x3a'),_0x2c5ca9[_0x2a99('0x3a')]||{}),this['set'](_0x2a99('0x23'),null),this[_0x2a99('0x11')](_0x2a99('0x0'),null),this[_0x2a99('0x11')](_0x2a99('0x2'),null),this[_0x2a99('0x11')](_0x2a99('0xf'),!0x1),this[_0x2a99('0x20')](_0x2a99('0x4')),this[_0x2a99('0x20')]('discard');}get[_0x2a99('0xb')](){let _0xeb404e=this;for(;_0xeb404e['previous'];)_0xeb404e=_0xeb404e['previous'];return _0xeb404e;}get[_0x2a99('0x31')](){return!!this['commentThread']&&this[_0x2a99('0x2')][_0x2a99('0x6')]>0x0;}get['isMultiRange'](){if(0x0==this[_0x2a99('0x2d')]['size'])return!0x1;return 0x6==Array[_0x2a99('0xe')](this[_0x2a99('0x2d')])[0x0][_0x2a99('0x12')](':')['length'];}get[_0x2a99('0x37')](){return null!==this[_0x2a99('0x1b')]();}[_0x2a99('0x21')](_0x497c06){this[_0x2a99('0x2d')][_0x2a99('0x2e')](_0x497c06);}[_0x2a99('0x28')](){return Array[_0x2a99('0xe')](this[_0x2a99('0x2d')]);}['getMarkers'](){return this[_0x2a99('0x28')]()[_0x2a99('0x18')](_0x1bc953=>this[_0x2a99('0xc')]['markers']['get'](_0x1bc953))[_0x2a99('0x24')](_0x5815f6=>_0x5815f6);}[_0x2a99('0x1b')](){return this[_0x2a99('0x8')]()[0x0]||null;}[_0x2a99('0x1d')](){this[_0x2a99('0xc')][_0x2a99('0xd')](_0x2daa95=>{for(const _0x44f42f of this['getMarkers']())_0x2daa95[_0x2a99('0x39')](_0x44f42f);}),this[_0x2a99('0x2d')]['clear']();}[_0x2a99('0x39')](_0x282756){this['_model'][_0x2a99('0xd')](_0x4b87a1=>{_0x4b87a1[_0x2a99('0x39')](_0x282756);}),this['_markerNames']['delete'](_0x282756);}[_0x2a99('0x34')](_0x5b1cc6){const _0x572733=_0x2a99('0x36')+this[_0x2a99('0x1c')]+':'+this[_0x2a99('0x33')]+':'+this['id']+':'+this[_0x2a99('0x25')]['id']+':'+u[_0x2a99('0x30')]();this[_0x2a99('0x21')](_0x572733),this[_0x2a99('0xc')][_0x2a99('0xd')](_0x395d60=>{_0x395d60[_0x2a99('0x15')](_0x572733,{'range':_0x5b1cc6,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x2a99('0x26')](_0x113b06){for(const _0x39510d of this[_0x2a99('0x16')]())if(_0x39510d['isIntersecting'](_0x113b06))return!0x0;return!0x1;}[_0x2a99('0x16')](){return this[_0x2a99('0x8')]()[_0x2a99('0x18')](_0x3c92f=>_0x3c92f[_0x2a99('0x5')]());}[_0x2a99('0x2a')](){return this[_0x2a99('0x16')]()['reduce']((_0x219b10,_0x3e7d31)=>[..._0x219b10,..._0x3e7d31[_0x2a99('0x2a')]()],[]);}[_0x2a99('0x27')](){var _0x99c58a;return(null===(_0x99c58a=this['getFirstMarker']())||void 0x0===_0x99c58a?void 0x0:_0x99c58a[_0x2a99('0x5')]())||null;}[_0x2a99('0x35')](){const _0xa36359=this[_0x2a99('0x16')]();if(0x1!=_0xa36359[_0x2a99('0x6')])return null;const _0x3f3d1a=_0xa36359[0x0],_0x4a9ffe=_0x3f3d1a[_0x2a99('0x10')]['nodeAfter'],_0x18f686=_0x3f3d1a[_0x2a99('0x2b')]['nodeBefore'];return _0x4a9ffe instanceof _0x222aae?_0x4a9ffe!=_0x18f686?null:_0x4a9ffe:null;}[_0x2a99('0x4')](){this[_0x2a99('0x22')](this[_0x2a99('0x16')](),this['data'],this[_0x2a99('0x3a')]),this[_0x2a99('0x1d')]();}[_0x2a99('0x9')](){this['_onDiscard'](this['getRanges'](),this['data'],this[_0x2a99('0x3a')]),this[_0x2a99('0x1d')]();}[_0x2a99('0x3')](){const _0x9f7d45=[];let _0x38d6ca=this[_0x2a99('0xb')];for(;_0x38d6ca;)_0x9f7d45[_0x2a99('0x2f')](_0x38d6ca),_0x38d6ca=_0x38d6ca[_0x2a99('0x0')];return _0x9f7d45;}[_0x2a99('0x19')](_0x46b33a,_0x15fe54){const _0x504063=_0x56766c(this[_0x2a99('0x3a')]);_0x1665e6(_0x504063,_0x46b33a,_0x15fe54),_0x29016d(_0x504063,this[_0x2a99('0x3a')])||(this[_0x2a99('0x3a')]=_0x504063,this['_onAttributesChange'](_0x504063));}[_0x2a99('0x7')](_0x579c90){const _0x40a03a=_0x56766c(this['attributes']);_0x3144ca(_0x40a03a,_0x579c90),_0x29016d(_0x40a03a,this['attributes'])||(this[_0x2a99('0x3a')]=_0x40a03a,this[_0x2a99('0x1f')](this[_0x2a99('0x3a')]));}[_0x2a99('0x17')](){return{'id':this['id'],'type':this[_0x2a99('0x33')]?this[_0x2a99('0x1c')]+':'+this[_0x2a99('0x33')]:this[_0x2a99('0x1c')],'authorId':this[_0x2a99('0x25')]['id'],'createdAt':this[_0x2a99('0x32')],'hasComments':this[_0x2a99('0x31')],'data':this[_0x2a99('0x1')],'attributes':this['attributes']};}static[_0x2a99('0x30')](){return _0x4d6851()[_0x2a99('0x29')](0x1,0x5);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3501=['ELEMENT_SPACE','Container','insertion','function','element','isEmpty','*Insert:*\x20%0','EmptyContainer','item','normal','REPLACE_TEXT','remove','$1\x20$2','_resolveDescriptionItems','pop','text','quantity','previousSibling','end','_schema','match','getFirstRange','getDescriptions','_itemLabels','Object','_addDescriptionItems','label','checkChild','deletion','_itemLabelsCallbacks','removeEmptyContainer','addEmptyContainer','get','$text','softBreak','_locale','set','matchingCallback','_customCallbacks','add','registerElementLabel','*Merge:*\x20%0','type','removeContainer','elementEnd','getWalker','addObject','push','length','*Remove:*\x20%0','replace','nextSibling','isObject','data','name','getItemLabel','indexOf','addContainer','isEqual'];(function(_0x4d2b0d,_0x35012e){const _0x470310=function(_0x4962e6){while(--_0x4962e6){_0x4d2b0d['push'](_0x4d2b0d['shift']());}};_0x470310(++_0x35012e);}(_0x3501,0x78));const _0x4703=function(_0x4d2b0d,_0x35012e){_0x4d2b0d=_0x4d2b0d-0x0;let _0x470310=_0x3501[_0x4d2b0d];return _0x470310;};import{getTranslation as _0x26ad8f}from'./utils/common-translations';import{priorities as _0x3853ac,insertToPriorityArray as _0x4eaf70}from'ckeditor5/src/utils';export default class m{constructor(_0x2bf95f,_0x390de9){this[_0x4703('0x24')]=[],this[_0x4703('0x15')]=new Map(),this[_0x4703('0x1b')]=[],this[_0x4703('0x11')]=_0x2bf95f,this['_locale']=_0x390de9;}[_0x4703('0x14')](_0x56a5f7){const _0xe4cd8=[];for(let _0x2f404e=0x0;_0x2f404e<_0x56a5f7['length'];_0x2f404e++){const _0x4438fd=_0x56a5f7[_0x2f404e];if(!_0x4438fd['isInContent'])continue;let _0x35c877=!0x1;for(const _0x5b310f of this[_0x4703('0x24')]){const _0x3925a0=_0x5b310f(_0x4438fd);if(_0x3925a0){_0x4703('0x28')in _0x3925a0&&_0xe4cd8[_0x4703('0x2d')](_0x3925a0),_0x35c877=!0x0;break;}}if(!_0x35c877){this[_0x4703('0x17')](_0xe4cd8,_0x4438fd);const _0x21236e=_0x56a5f7[_0x2f404e+0x1];if(_0x21236e&&!_0x4438fd[_0x4703('0x13')]()[_0x4703('0x10')][_0x4703('0x38')](_0x21236e[_0x4703('0x13')]()['start'])){const _0x2ec09a=_0xe4cd8[_0xe4cd8[_0x4703('0x2e')]-0x1],_0x590b82=_0x4703('0x0')==_0x4438fd[_0x4703('0x28')]?_0x4703('0x25'):'remove';_0x2ec09a&&_0x4703('0xd')==_0x2ec09a['type']&&(_0x2ec09a[_0x590b82]+='\x0a');}}}return this[_0x4703('0xb')](_0xe4cd8);}['registerDescriptionCallback'](_0x61a568){this[_0x4703('0x24')][_0x4703('0x2d')](_0x61a568);}[_0x4703('0x26')](_0x2dc054,_0x468fa9,_0x49e2fe=_0x3853ac[_0x4703('0x7')]){_0x4703('0x1')==typeof _0x2dc054?_0x4eaf70(this[_0x4703('0x1b')],{'matchingCallback':_0x2dc054,'label':_0x468fa9,'priority':_0x49e2fe}):this[_0x4703('0x15')][_0x4703('0x22')](_0x2dc054,_0x468fa9);}[_0x4703('0x35')](_0x4b785a,_0x68f52b=0x1){let _0x441b7c;for(const _0x3e04b6 of this[_0x4703('0x1b')])if(_0x3e04b6[_0x4703('0x23')](_0x4b785a)){_0x441b7c=_0x3e04b6[_0x4703('0x18')];break;}return _0x441b7c||(_0x441b7c=this[_0x4703('0x15')][_0x4703('0x1e')](_0x4b785a['name'])),_0x441b7c?_0x441b7c(_0x68f52b):0x1!==_0x68f52b?_0x68f52b+'\x20'+_0x4b785a[_0x4703('0x34')]+'s':''+_0x4b785a[_0x4703('0x34')];}['_addDescriptionItems'](_0x1b831b,_0x1703be){const _0x3dd3e6=_0x1703be[_0x4703('0x13')]()[_0x4703('0x2b')](),_0x49bdd0='insertion'==_0x1703be[_0x4703('0x28')]?_0x4703('0x25'):_0x4703('0x9');for(const _0x4863ff of _0x3dd3e6){const _0x13bb0a=_0x4863ff['item'],_0x5e42ea=_0x1b831b[_0x1b831b[_0x4703('0x2e')]-0x1];if(_0x13bb0a['is']('$textProxy'))_0x5e42ea&&_0x5e42ea[_0x4703('0x28')][_0x4703('0x36')](_0x4703('0x3a'))>-0x1&&_0x1b831b[_0x4703('0xc')](),_0x5e42ea&&_0x4703('0xd')==_0x5e42ea[_0x4703('0x28')]?_0x5e42ea[_0x49bdd0]+=_0x13bb0a[_0x4703('0x33')]:_0x1b831b['push']({'type':'text','add':'add'==_0x49bdd0?_0x13bb0a[_0x4703('0x33')]:'','remove':'remove'==_0x49bdd0?_0x13bb0a['data']:''});else{if(this[_0x4703('0x11')][_0x4703('0x32')](_0x13bb0a)){const _0x82fea8=_0x13bb0a;if(_0x5e42ea&&_0x5e42ea[_0x4703('0x28')][_0x4703('0x36')]('Container')>-0x1&&_0x1b831b['pop'](),_0x4703('0x2a')==_0x4863ff[_0x4703('0x28')])continue;_0x5e42ea&&_0x5e42ea['type']==_0x49bdd0+_0x4703('0x16')&&_0x5e42ea[_0x4703('0x2')][_0x4703('0x34')]==_0x82fea8[_0x4703('0x34')]?_0x5e42ea[_0x4703('0xe')]++:_0x1b831b['push']({'type':_0x49bdd0+_0x4703('0x16'),'element':_0x82fea8,'quantity':0x1}),_0x3dd3e6['skip'](_0x457247=>!(_0x4703('0x2a')==_0x457247['type']&&_0x457247[_0x4703('0x6')]==_0x13bb0a));}else{if(this[_0x4703('0x11')][_0x4703('0x19')](_0x13bb0a,_0x4703('0x1f'))||_0x13bb0a['is'](_0x4703('0x2'),_0x4703('0x20'))){const _0x26cc22=_0x13bb0a;if(_0x4703('0x25')==_0x49bdd0&&'elementStart'==_0x4863ff[_0x4703('0x28')]||_0x4703('0x9')==_0x49bdd0&&_0x4703('0x2a')==_0x4863ff[_0x4703('0x28')])continue;if(_0x5e42ea&&-0x1==_0x5e42ea[_0x4703('0x28')][_0x4703('0x36')](_0x4703('0x3a'))){_0x4703('0xd')==_0x5e42ea[_0x4703('0x28')]&&(_0x5e42ea[_0x49bdd0]+='\x0a');continue;}let _0x909225;if(_0x909225=_0x4703('0x25')==_0x49bdd0?_0x26cc22[_0x4703('0x31')]&&!this['_schema'][_0x4703('0x32')](_0x26cc22[_0x4703('0x31')])?_0x26cc22[_0x4703('0x31')]:null:_0x26cc22[_0x4703('0xf')]&&!this[_0x4703('0x11')][_0x4703('0x32')](_0x26cc22['previousSibling'])?_0x26cc22[_0x4703('0xf')]:null,_0x26cc22[_0x4703('0x3')]||_0x909225&&_0x909225[_0x4703('0x3')]){const _0x47d28f=_0x909225&&_0x909225[_0x4703('0x3')]?_0x909225:_0x26cc22;_0x5e42ea&&_0x5e42ea[_0x4703('0x28')]==_0x49bdd0+_0x4703('0x5')&&_0x5e42ea[_0x4703('0x2')][_0x4703('0x34')]==_0x47d28f['name']?_0x5e42ea['quantity']++:_0x1b831b[_0x4703('0x2d')]({'type':_0x49bdd0+_0x4703('0x5'),'element':_0x47d28f,'quantity':0x1});}else _0x1b831b['push']({'type':_0x49bdd0+_0x4703('0x3a'),'element':_0x26cc22});}}}}}[_0x4703('0xb')](_0x26d2f2){const _0x51ed64=this[_0x4703('0x21')],_0x91f0e3=[];for(const _0x3f65c5 of _0x26d2f2){switch(_0x3f65c5[_0x4703('0x28')]){case _0x4703('0xd'):if(_0x3f65c5[_0x4703('0x25')]=_0x3f65c5[_0x4703('0x25')]['replace'](/(\S)\u000A+(\S)/g,'$1\x20$2')['replace'](/\u000A/g,''),_0x3f65c5['remove']=_0x3f65c5[_0x4703('0x9')]['replace'](/(\S)\u000A+(\S)/g,_0x4703('0xa'))[_0x4703('0x30')](/\u000A/g,''),''!=_0x3f65c5['add']&&''!=_0x3f65c5[_0x4703('0x9')]){_0x91f0e3[_0x4703('0x2d')]({'type':_0x4703('0x30'),'content':_0x26ad8f(_0x51ed64,_0x4703('0x8'),['\x22'+_0x3f65c5[_0x4703('0x9')]+'\x22','\x22'+_0x3f65c5[_0x4703('0x25')]+'\x22'])});continue;}if(null!=_0x3f65c5[_0x4703('0x25')][_0x4703('0x12')](/^ +$/)){_0x91f0e3[_0x4703('0x2d')]({'type':'insertion','content':_0x26ad8f(_0x51ed64,_0x4703('0x4'),_0x26ad8f(_0x51ed64,_0x4703('0x39'),_0x3f65c5[_0x4703('0x25')][_0x4703('0x2e')]))});continue;}if(null!=_0x3f65c5[_0x4703('0x9')][_0x4703('0x12')](/^ +$/)){_0x91f0e3[_0x4703('0x2d')]({'type':'deletion','content':_0x26ad8f(_0x51ed64,_0x4703('0x2f'),_0x26ad8f(_0x51ed64,'ELEMENT_SPACE',_0x3f65c5['remove'][_0x4703('0x2e')]))});continue;}if(''!=_0x3f65c5[_0x4703('0x25')]){_0x91f0e3['push']({'type':_0x4703('0x0'),'content':_0x26ad8f(_0x51ed64,_0x4703('0x4'),'\x22'+_0x3f65c5[_0x4703('0x25')]+'\x22')});continue;}_0x91f0e3[_0x4703('0x2d')]({'type':_0x4703('0x1a'),'content':_0x26ad8f(_0x51ed64,_0x4703('0x2f'),'\x22'+_0x3f65c5[_0x4703('0x9')]+'\x22')});continue;case _0x4703('0x1d'):case _0x4703('0x2c'):_0x91f0e3['push']({'type':'insertion','content':_0x26ad8f(_0x51ed64,_0x4703('0x4'),this[_0x4703('0x35')](_0x3f65c5['element'],_0x3f65c5['quantity']))});continue;case _0x4703('0x1c'):case'removeObject':_0x91f0e3['push']({'type':_0x4703('0x1a'),'content':_0x26ad8f(_0x51ed64,_0x4703('0x2f'),this[_0x4703('0x35')](_0x3f65c5[_0x4703('0x2')],_0x3f65c5[_0x4703('0xe')]))});continue;case _0x4703('0x37'):_0x91f0e3[_0x4703('0x2d')]({'type':_0x4703('0x0'),'content':_0x26ad8f(_0x51ed64,'*Split:*\x20%0',this[_0x4703('0x35')](_0x3f65c5[_0x4703('0x2')],_0x3f65c5['quantity']))});continue;case _0x4703('0x29'):_0x91f0e3[_0x4703('0x2d')]({'type':_0x4703('0x1a'),'content':_0x26ad8f(_0x51ed64,_0x4703('0x27'),this['getItemLabel'](_0x3f65c5[_0x4703('0x2')],_0x3f65c5['quantity']))});continue;}_0x91f0e3[_0x4703('0x2d')](_0x3f65c5);}return _0x91f0e3;}}
23
+ const _0x1927=['length','_itemLabelsCallbacks','item','replace','skip','*Insert:*\x20%0','ELEMENT_SPACE','getFirstRange','isEmpty','getItemLabel','match','type','REPLACE_TEXT','matchingCallback','$textProxy','registerElementLabel','indexOf','deletion','elementEnd','_customCallbacks','insertion','name','$1\x20$2','set','*Remove:*\x20%0','remove','checkChild','_itemLabels','text','normal','removeObject','previousSibling','quantity','end','elementStart','_schema','element','_locale','_addDescriptionItems','removeContainer','Container','isEqual','push','start','EmptyContainer','*Merge:*\x20%0','*Split:*\x20%0','add','nextSibling','isObject','$text','removeEmptyContainer','pop','data','_resolveDescriptionItems','Object','getDescriptions','function'];(function(_0x24468e,_0x192793){const _0xdb8788=function(_0x6922d7){while(--_0x6922d7){_0x24468e['push'](_0x24468e['shift']());}};_0xdb8788(++_0x192793);}(_0x1927,0xfc));const _0xdb87=function(_0x24468e,_0x192793){_0x24468e=_0x24468e-0x0;let _0xdb8788=_0x1927[_0x24468e];return _0xdb8788;};import{getTranslation as _0xd19f87}from'./utils/common-translations';import{priorities as _0x3f4c9f,insertToPriorityArray as _0xb3dad6}from'ckeditor5/src/utils';export default class m{constructor(_0x309f7d,_0x425c4b){this['_customCallbacks']=[],this[_0xdb87('0x7')]=new Map(),this[_0xdb87('0x27')]=[],this[_0xdb87('0xf')]=_0x309f7d,this[_0xdb87('0x11')]=_0x425c4b;}[_0xdb87('0x24')](_0x339030){const _0x14166c=[];for(let _0x552ca9=0x0;_0x552ca9<_0x339030[_0xdb87('0x26')];_0x552ca9++){const _0x53d0e0=_0x339030[_0x552ca9];if(!_0x53d0e0['isInContent'])continue;let _0x149c20=!0x1;for(const _0x5081e9 of this[_0xdb87('0x39')]){const _0x4719f5=_0x5081e9(_0x53d0e0);if(_0x4719f5){_0xdb87('0x31')in _0x4719f5&&_0x14166c[_0xdb87('0x16')](_0x4719f5),_0x149c20=!0x0;break;}}if(!_0x149c20){this[_0xdb87('0x12')](_0x14166c,_0x53d0e0);const _0xa5e4d4=_0x339030[_0x552ca9+0x1];if(_0xa5e4d4&&!_0x53d0e0['getFirstRange']()[_0xdb87('0xd')][_0xdb87('0x15')](_0xa5e4d4['getFirstRange']()[_0xdb87('0x17')])){const _0x427635=_0x14166c[_0x14166c['length']-0x1],_0x3a8694='insertion'==_0x53d0e0[_0xdb87('0x31')]?'add':'remove';_0x427635&&_0xdb87('0x8')==_0x427635[_0xdb87('0x31')]&&(_0x427635[_0x3a8694]+='\x0a');}}}return this[_0xdb87('0x22')](_0x14166c);}['registerDescriptionCallback'](_0x59099c){this[_0xdb87('0x39')][_0xdb87('0x16')](_0x59099c);}[_0xdb87('0x35')](_0xb0df57,_0x4dcf5b,_0x2879b5=_0x3f4c9f[_0xdb87('0x9')]){_0xdb87('0x25')==typeof _0xb0df57?_0xb3dad6(this[_0xdb87('0x27')],{'matchingCallback':_0xb0df57,'label':_0x4dcf5b,'priority':_0x2879b5}):this[_0xdb87('0x7')][_0xdb87('0x3')](_0xb0df57,_0x4dcf5b);}[_0xdb87('0x2f')](_0x2c7c55,_0x46defb=0x1){let _0x2f4d27;for(const _0x567d5e of this['_itemLabelsCallbacks'])if(_0x567d5e[_0xdb87('0x33')](_0x2c7c55)){_0x2f4d27=_0x567d5e['label'];break;}return _0x2f4d27||(_0x2f4d27=this[_0xdb87('0x7')]['get'](_0x2c7c55[_0xdb87('0x1')])),_0x2f4d27?_0x2f4d27(_0x46defb):0x1!==_0x46defb?_0x46defb+'\x20'+_0x2c7c55['name']+'s':''+_0x2c7c55[_0xdb87('0x1')];}['_addDescriptionItems'](_0x17bb11,_0x3c86af){const _0x5c88df=_0x3c86af[_0xdb87('0x2d')]()['getWalker'](),_0x288547='insertion'==_0x3c86af[_0xdb87('0x31')]?_0xdb87('0x1b'):_0xdb87('0x5');for(const _0x79614d of _0x5c88df){const _0x3c39b5=_0x79614d[_0xdb87('0x28')],_0x813f5d=_0x17bb11[_0x17bb11[_0xdb87('0x26')]-0x1];if(_0x3c39b5['is'](_0xdb87('0x34')))_0x813f5d&&_0x813f5d[_0xdb87('0x31')]['indexOf'](_0xdb87('0x14'))>-0x1&&_0x17bb11[_0xdb87('0x20')](),_0x813f5d&&_0xdb87('0x8')==_0x813f5d['type']?_0x813f5d[_0x288547]+=_0x3c39b5['data']:_0x17bb11[_0xdb87('0x16')]({'type':_0xdb87('0x8'),'add':'add'==_0x288547?_0x3c39b5[_0xdb87('0x21')]:'','remove':_0xdb87('0x5')==_0x288547?_0x3c39b5['data']:''});else{if(this[_0xdb87('0xf')][_0xdb87('0x1d')](_0x3c39b5)){const _0x9def3a=_0x3c39b5;if(_0x813f5d&&_0x813f5d['type'][_0xdb87('0x36')](_0xdb87('0x14'))>-0x1&&_0x17bb11['pop'](),'elementEnd'==_0x79614d[_0xdb87('0x31')])continue;_0x813f5d&&_0x813f5d[_0xdb87('0x31')]==_0x288547+'Object'&&_0x813f5d[_0xdb87('0x10')][_0xdb87('0x1')]==_0x9def3a[_0xdb87('0x1')]?_0x813f5d[_0xdb87('0xc')]++:_0x17bb11[_0xdb87('0x16')]({'type':_0x288547+_0xdb87('0x23'),'element':_0x9def3a,'quantity':0x1}),_0x5c88df[_0xdb87('0x2a')](_0x431444=>!(_0xdb87('0x38')==_0x431444['type']&&_0x431444[_0xdb87('0x28')]==_0x3c39b5));}else{if(this[_0xdb87('0xf')][_0xdb87('0x6')](_0x3c39b5,_0xdb87('0x1e'))||_0x3c39b5['is'](_0xdb87('0x10'),'softBreak')){const _0x225dc5=_0x3c39b5;if('add'==_0x288547&&_0xdb87('0xe')==_0x79614d[_0xdb87('0x31')]||_0xdb87('0x5')==_0x288547&&'elementEnd'==_0x79614d[_0xdb87('0x31')])continue;if(_0x813f5d&&-0x1==_0x813f5d[_0xdb87('0x31')][_0xdb87('0x36')]('Container')){_0xdb87('0x8')==_0x813f5d[_0xdb87('0x31')]&&(_0x813f5d[_0x288547]+='\x0a');continue;}let _0x4265d9;if(_0x4265d9=_0xdb87('0x1b')==_0x288547?_0x225dc5[_0xdb87('0x1c')]&&!this[_0xdb87('0xf')][_0xdb87('0x1d')](_0x225dc5[_0xdb87('0x1c')])?_0x225dc5['nextSibling']:null:_0x225dc5[_0xdb87('0xb')]&&!this['_schema'][_0xdb87('0x1d')](_0x225dc5[_0xdb87('0xb')])?_0x225dc5[_0xdb87('0xb')]:null,_0x225dc5[_0xdb87('0x2e')]||_0x4265d9&&_0x4265d9[_0xdb87('0x2e')]){const _0xa58f4=_0x4265d9&&_0x4265d9[_0xdb87('0x2e')]?_0x4265d9:_0x225dc5;_0x813f5d&&_0x813f5d[_0xdb87('0x31')]==_0x288547+'EmptyContainer'&&_0x813f5d[_0xdb87('0x10')]['name']==_0xa58f4[_0xdb87('0x1')]?_0x813f5d[_0xdb87('0xc')]++:_0x17bb11[_0xdb87('0x16')]({'type':_0x288547+_0xdb87('0x18'),'element':_0xa58f4,'quantity':0x1});}else _0x17bb11['push']({'type':_0x288547+_0xdb87('0x14'),'element':_0x225dc5});}}}}}[_0xdb87('0x22')](_0x197763){const _0x3d5f50=this['_locale'],_0xc2fc80=[];for(const _0xadb938 of _0x197763){switch(_0xadb938[_0xdb87('0x31')]){case _0xdb87('0x8'):if(_0xadb938[_0xdb87('0x1b')]=_0xadb938[_0xdb87('0x1b')][_0xdb87('0x29')](/(\S)\u000A+(\S)/g,_0xdb87('0x2'))[_0xdb87('0x29')](/\u000A/g,''),_0xadb938[_0xdb87('0x5')]=_0xadb938['remove'][_0xdb87('0x29')](/(\S)\u000A+(\S)/g,_0xdb87('0x2'))[_0xdb87('0x29')](/\u000A/g,''),''!=_0xadb938['add']&&''!=_0xadb938[_0xdb87('0x5')]){_0xc2fc80[_0xdb87('0x16')]({'type':_0xdb87('0x29'),'content':_0xd19f87(_0x3d5f50,_0xdb87('0x32'),['\x22'+_0xadb938[_0xdb87('0x5')]+'\x22','\x22'+_0xadb938[_0xdb87('0x1b')]+'\x22'])});continue;}if(null!=_0xadb938[_0xdb87('0x1b')]['match'](/^ +$/)){_0xc2fc80[_0xdb87('0x16')]({'type':_0xdb87('0x0'),'content':_0xd19f87(_0x3d5f50,_0xdb87('0x2b'),_0xd19f87(_0x3d5f50,_0xdb87('0x2c'),_0xadb938['add'][_0xdb87('0x26')]))});continue;}if(null!=_0xadb938[_0xdb87('0x5')][_0xdb87('0x30')](/^ +$/)){_0xc2fc80['push']({'type':'deletion','content':_0xd19f87(_0x3d5f50,_0xdb87('0x4'),_0xd19f87(_0x3d5f50,_0xdb87('0x2c'),_0xadb938[_0xdb87('0x5')][_0xdb87('0x26')]))});continue;}if(''!=_0xadb938[_0xdb87('0x1b')]){_0xc2fc80[_0xdb87('0x16')]({'type':_0xdb87('0x0'),'content':_0xd19f87(_0x3d5f50,_0xdb87('0x2b'),'\x22'+_0xadb938[_0xdb87('0x1b')]+'\x22')});continue;}_0xc2fc80[_0xdb87('0x16')]({'type':_0xdb87('0x37'),'content':_0xd19f87(_0x3d5f50,'*Remove:*\x20%0','\x22'+_0xadb938[_0xdb87('0x5')]+'\x22')});continue;case'addEmptyContainer':case'addObject':_0xc2fc80[_0xdb87('0x16')]({'type':_0xdb87('0x0'),'content':_0xd19f87(_0x3d5f50,_0xdb87('0x2b'),this['getItemLabel'](_0xadb938[_0xdb87('0x10')],_0xadb938[_0xdb87('0xc')]))});continue;case _0xdb87('0x1f'):case _0xdb87('0xa'):_0xc2fc80[_0xdb87('0x16')]({'type':_0xdb87('0x37'),'content':_0xd19f87(_0x3d5f50,'*Remove:*\x20%0',this['getItemLabel'](_0xadb938[_0xdb87('0x10')],_0xadb938[_0xdb87('0xc')]))});continue;case'addContainer':_0xc2fc80[_0xdb87('0x16')]({'type':_0xdb87('0x0'),'content':_0xd19f87(_0x3d5f50,_0xdb87('0x1a'),this['getItemLabel'](_0xadb938[_0xdb87('0x10')],_0xadb938[_0xdb87('0xc')]))});continue;case _0xdb87('0x13'):_0xc2fc80[_0xdb87('0x16')]({'type':'deletion','content':_0xd19f87(_0x3d5f50,_0xdb87('0x19'),this[_0xdb87('0x2f')](_0xadb938['element'],_0xadb938[_0xdb87('0xc')]))});continue;}_0xc2fc80[_0xdb87('0x16')](_0xadb938);}return _0xc2fc80;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x264b=['pluginName','addSuggestion','getSuggestion','requires','editor','get','adapter','plugins','TrackChanges','Comments','addSuggestionData'];(function(_0x202169,_0x264baf){var _0x4d0c1c=function(_0x395eb5){while(--_0x395eb5){_0x202169['push'](_0x202169['shift']());}};_0x4d0c1c(++_0x264baf);}(_0x264b,0xeb));var _0x4d0c=function(_0x202169,_0x264baf){_0x202169=_0x202169-0x0;var _0x4d0c1c=_0x264b[_0x202169];return _0x4d0c1c;};import{Plugin as _0x2696b2}from'ckeditor5/src/core';import _0x5f0ead from'./trackchangesui';import _0x4ab56c from'./trackchangesediting';import'ckeditor5-collaboration/src/collaboration-core';export default class k extends _0x2696b2{static get[_0x4d0c('0xa')](){return[_0x4ab56c,_0x5f0ead,_0x4d0c('0x5')];}static get[_0x4d0c('0x7')](){return _0x4d0c('0x4');}set[_0x4d0c('0x2')](_0x522064){this[_0x4d0c('0x0')][_0x4d0c('0x3')]['get'](_0x4ab56c)[_0x4d0c('0x2')]=_0x522064;}get['adapter'](){return this[_0x4d0c('0x0')][_0x4d0c('0x3')][_0x4d0c('0x1')](_0x4ab56c)[_0x4d0c('0x2')];}[_0x4d0c('0x8')](_0x295db0){return this[_0x4d0c('0x0')][_0x4d0c('0x3')][_0x4d0c('0x1')](_0x4ab56c)[_0x4d0c('0x6')](_0x295db0);}['getSuggestions']({skipNotAttached:_0x3c53a2=!0x1,toJSON:_0x4d043f=!0x1}={}){return this[_0x4d0c('0x0')]['plugins'][_0x4d0c('0x1')](_0x4ab56c)['getSuggestions']({'skipNotAttached':_0x3c53a2,'toJSON':_0x4d043f});}['getSuggestion'](_0x22885d){return this[_0x4d0c('0x0')]['plugins'][_0x4d0c('0x1')](_0x4ab56c)[_0x4d0c('0x9')](_0x22885d);}}
23
+ var _0x70d7=['Comments','getSuggestions','plugins','requires','addSuggestion','pluginName','TrackChanges','getSuggestion','addSuggestionData','editor','adapter','get'];(function(_0x33110d,_0x70d76a){var _0x14857d=function(_0x225449){while(--_0x225449){_0x33110d['push'](_0x33110d['shift']());}};_0x14857d(++_0x70d76a);}(_0x70d7,0x13a));var _0x1485=function(_0x33110d,_0x70d76a){_0x33110d=_0x33110d-0x0;var _0x14857d=_0x70d7[_0x33110d];return _0x14857d;};import{Plugin as _0x13bb59}from'ckeditor5/src/core';import _0x35a7bc from'./trackchangesui';import _0x460ca2 from'./trackchangesediting';import'ckeditor5-collaboration/src/collaboration-core';export default class k extends _0x13bb59{static get[_0x1485('0x1')](){return[_0x460ca2,_0x35a7bc,_0x1485('0xa')];}static get[_0x1485('0x3')](){return _0x1485('0x4');}set[_0x1485('0x8')](_0x267a82){this[_0x1485('0x7')][_0x1485('0x0')][_0x1485('0x9')](_0x460ca2)[_0x1485('0x8')]=_0x267a82;}get[_0x1485('0x8')](){return this[_0x1485('0x7')][_0x1485('0x0')][_0x1485('0x9')](_0x460ca2)[_0x1485('0x8')];}[_0x1485('0x2')](_0x4fb481){return this[_0x1485('0x7')][_0x1485('0x0')][_0x1485('0x9')](_0x460ca2)[_0x1485('0x6')](_0x4fb481);}['getSuggestions']({skipNotAttached:_0x158e7a=!0x1,toJSON:_0x333de5=!0x1}={}){return this[_0x1485('0x7')]['plugins']['get'](_0x460ca2)[_0x1485('0xb')]({'skipNotAttached':_0x158e7a,'toJSON':_0x333de5});}[_0x1485('0x5')](_0x2d94dd){return this[_0x1485('0x7')][_0x1485('0x0')][_0x1485('0x9')](_0x460ca2)[_0x1485('0x5')](_0x2d94dd);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1f26=['div','trackChangesData','TrackChangesDataGetter','getRootNames','createDocumentFragment','users','_adapter','TrackChangesData','editorCreator','plugins','map','addUser','TrackChangesEditing','config','addSuggestionData','data','execute','push','name','pluginName','define','getDataWithDiscardedSuggestions','getDataWithAcceptedSuggestions','CommentsRepository','getUser','Users','document','model','requires','Pagination','trackChangesData.editorCreator','acceptAllSuggestions','editor','get','getFullData','rootsAttributes','set','getRootsAttributes','init','result','reduce','create'];(function(_0x119e3b,_0x1f2628){const _0x107bb2=function(_0x500333){while(--_0x500333){_0x119e3b['push'](_0x119e3b['shift']());}};_0x107bb2(++_0x1f2628);}(_0x1f26,0xae));const _0x107b=function(_0x119e3b,_0x1f2628){_0x119e3b=_0x119e3b-0x0;let _0x107bb2=_0x1f26[_0x119e3b];return _0x107bb2;};import{Plugin as _0x2158f2}from'ckeditor5/src/core';import{CKEditorError as _0x2cdee2}from'ckeditor5/src/utils';import _0x196a78 from'./trackchangesediting';import{sanitizeEditorConfig as _0x44092f}from'ckeditor5-collaboration/src/collaboration-core';const w=[_0x107b('0x17')];export default class T extends _0x2158f2{static get[_0x107b('0x16')](){return[_0x196a78];}static get[_0x107b('0xd')](){return _0x107b('0x1');}[_0x107b('0x20')](){const _0x3d7ec8=this['editor'];if(_0x3d7ec8[_0x107b('0x7')][_0x107b('0xe')](_0x107b('0x18'),_0x3119f7=>{const _0x308e84=_0x3d7ec8[_0x107b('0x15')][_0x107b('0x14')][_0x107b('0x27')]()[_0x107b('0x22')]((_0x54a46a,_0x4a941)=>(_0x54a46a[_0x4a941]='',_0x54a46a),{});return _0x3d7ec8['constructor'][_0x107b('0x23')](_0x308e84,_0x3119f7);}),'function'!=typeof _0x3d7ec8[_0x107b('0x7')][_0x107b('0x1b')](_0x107b('0x25'))[_0x107b('0x2')])throw new _0x2cdee2('track-changes-data-invalid-editor-creator');}[_0x107b('0x10')](_0x2419a8){return v(this[_0x107b('0x1a')],!0x0,_0x2419a8);}[_0x107b('0xf')](_0x296a87){return v(this[_0x107b('0x1a')],!0x1,_0x296a87);}}class P extends _0x2158f2{static get['pluginName'](){return _0x107b('0x26');}constructor(_0x56efd3){super(_0x56efd3),this[_0x107b('0x21')]='end';}['init'](){this[_0x107b('0x1a')][_0x107b('0x3')]['get'](_0x107b('0x11'))['_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[_0x107b('0x1a')]['plugins']['get'](_0x107b('0x6'))[_0x107b('0x0')]=null;}}function D(_0x137d3f){return void 0x0!==_0x137d3f[_0x107b('0x1f')];}async function v(_0x6967f8,_0x3d419b,_0x16332f){const _0x2dcc78=_0x44092f(_0x6967f8,w);_0x2dcc78[_0x107b('0x3')][_0x107b('0xb')](_0x196a78,P),_0x2dcc78[_0x107b('0x1d')]=D(_0x6967f8)?_0x6967f8['getRootsAttributes']():void 0x0;const _0x4f153e=document[_0x107b('0x28')](),_0x19f155=_0x6967f8[_0x107b('0x7')]['get']('trackChangesData')['editorCreator'],_0x38c45a=await _0x19f155(_0x2dcc78,()=>function(_0x32468b){const _0x553548=document['createElement'](_0x107b('0x24'));return _0x32468b['appendChild'](_0x553548),_0x553548;}(_0x4f153e));!function(_0x1ea0d1,_0x292804){const _0x5c78e3=_0x1ea0d1[_0x107b('0x15')][_0x107b('0x14')][_0x107b('0x27')]()[_0x107b('0x22')]((_0x51cd33,_0x4d494e)=>(_0x51cd33[_0x4d494e]=_0x1ea0d1[_0x107b('0x9')][_0x107b('0x1b')]({'rootName':_0x4d494e}),_0x51cd33),{}),_0x52f964=_0x1ea0d1[_0x107b('0x3')]['get']('Users')[_0x107b('0x29')][_0x107b('0x4')](_0x2f311e=>({'id':_0x2f311e['id'],'name':_0x2f311e[_0x107b('0xc')]})),_0x3c41a4=_0x1ea0d1[_0x107b('0x3')][_0x107b('0x1b')](_0x107b('0x6'))['getSuggestions']({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x24c637=_0x292804['plugins']['get'](_0x107b('0x13')),_0x3ec3fa=_0x292804[_0x107b('0x3')][_0x107b('0x1b')]('TrackChangesEditing');for(const _0x5ae06d of _0x52f964)_0x24c637[_0x107b('0x12')](_0x5ae06d['id'])||_0x24c637[_0x107b('0x5')](_0x5ae06d);_0x24c637['me']||_0x24c637['useAnonymousUser']();for(const _0x2013bf of _0x3c41a4)_0x3ec3fa[_0x107b('0x8')](_0x2013bf);_0x292804[_0x107b('0x9')][_0x107b('0x1e')](_0x5c78e3);}(_0x6967f8,_0x38c45a),_0x38c45a[_0x107b('0xa')](_0x3d419b?_0x107b('0x19'):'discardAllSuggestions');const _0x5843e9=D(_0x38c45a)?_0x38c45a[_0x107b('0x1c')](_0x16332f):_0x38c45a[_0x107b('0x9')][_0x107b('0x1b')](_0x16332f);return await _0x38c45a['destroy'](),_0x5843e9;}
23
+ const _0x3103=['function','users','getSuggestions','get','TrackChangesDataGetter','create','set','editor','result','getDataWithAcceptedSuggestions','name','acceptAllSuggestions','div','end','execute','Pagination','constructor','getDataWithDiscardedSuggestions','destroy','document','createElement','getFullData','editorCreator','TrackChangesEditing','init','config','push','appendChild','Users','pluginName','addUser','requires','_adapter','getRootNames','addSuggestionData','track-changes-data-invalid-editor-creator','TrackChangesData','discardAllSuggestions','plugins','trackChangesData.editorCreator','model','createDocumentFragment','reduce','data','useAnonymousUser','rootsAttributes'];(function(_0x1b19ad,_0x3103ba){const _0x4039d7=function(_0x54e2a1){while(--_0x54e2a1){_0x1b19ad['push'](_0x1b19ad['shift']());}};_0x4039d7(++_0x3103ba);}(_0x3103,0xd5));const _0x4039=function(_0x1b19ad,_0x3103ba){_0x1b19ad=_0x1b19ad-0x0;let _0x4039d7=_0x3103[_0x1b19ad];return _0x4039d7;};import{Plugin as _0x21e638}from'ckeditor5/src/core';import{CKEditorError as _0x3282ae}from'ckeditor5/src/utils';import _0x6736db from'./trackchangesediting';import{sanitizeEditorConfig as _0x5b6f36}from'ckeditor5-collaboration/src/collaboration-core';const w=[_0x4039('0x20')];export default class T extends _0x21e638{static get[_0x4039('0x2')](){return[_0x6736db];}static get[_0x4039('0x0')](){return _0x4039('0x7');}['init'](){const _0x27015b=this[_0x4039('0x18')];if(_0x27015b[_0x4039('0x2a')]['define'](_0x4039('0xa'),_0x5ed2fd=>{const _0x131cb1=_0x27015b[_0x4039('0xb')][_0x4039('0x24')]['getRootNames']()[_0x4039('0xd')]((_0x23735c,_0x3c58a2)=>(_0x23735c[_0x3c58a2]='',_0x23735c),{});return _0x27015b[_0x4039('0x21')][_0x4039('0x16')](_0x131cb1,_0x5ed2fd);}),_0x4039('0x11')!=typeof _0x27015b[_0x4039('0x2a')][_0x4039('0x14')]('trackChangesData')[_0x4039('0x27')])throw new _0x3282ae(_0x4039('0x6'));}[_0x4039('0x1a')](_0x44431){return v(this[_0x4039('0x18')],!0x0,_0x44431);}[_0x4039('0x22')](_0x4e678e){return v(this[_0x4039('0x18')],!0x1,_0x4e678e);}}class P extends _0x21e638{static get[_0x4039('0x0')](){return _0x4039('0x15');}constructor(_0x548401){super(_0x548401),this[_0x4039('0x19')]=_0x4039('0x1e');}[_0x4039('0x29')](){this[_0x4039('0x18')][_0x4039('0x9')][_0x4039('0x14')]('CommentsRepository')[_0x4039('0x3')]={'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[_0x4039('0x18')][_0x4039('0x9')][_0x4039('0x14')](_0x4039('0x28'))[_0x4039('0x3')]=null;}}function D(_0x467ccf){return void 0x0!==_0x467ccf['getRootsAttributes'];}async function v(_0x3253ce,_0x1051fd,_0x51ea0e){const _0x3b057c=_0x5b6f36(_0x3253ce,w);_0x3b057c[_0x4039('0x9')][_0x4039('0x2b')](_0x6736db,P),_0x3b057c[_0x4039('0x10')]=D(_0x3253ce)?_0x3253ce['getRootsAttributes']():void 0x0;const _0x354e0c=document[_0x4039('0xc')](),_0x548ac9=_0x3253ce['config']['get']('trackChangesData')[_0x4039('0x27')],_0x2b4dd0=await _0x548ac9(_0x3b057c,()=>function(_0xb53e8){const _0x188672=document[_0x4039('0x25')](_0x4039('0x1d'));return _0xb53e8[_0x4039('0x2c')](_0x188672),_0x188672;}(_0x354e0c));!function(_0x18e7ee,_0x3577aa){const _0x5f1081=_0x18e7ee[_0x4039('0xb')][_0x4039('0x24')][_0x4039('0x4')]()['reduce']((_0x257e33,_0x28ffcb)=>(_0x257e33[_0x28ffcb]=_0x18e7ee[_0x4039('0xe')][_0x4039('0x14')]({'rootName':_0x28ffcb}),_0x257e33),{}),_0xbb7e85=_0x18e7ee[_0x4039('0x9')][_0x4039('0x14')](_0x4039('0x2d'))[_0x4039('0x12')]['map'](_0xfdc6cc=>({'id':_0xfdc6cc['id'],'name':_0xfdc6cc[_0x4039('0x1b')]})),_0x1bac3d=_0x18e7ee[_0x4039('0x9')][_0x4039('0x14')](_0x4039('0x28'))[_0x4039('0x13')]({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x5dfd37=_0x3577aa[_0x4039('0x9')][_0x4039('0x14')](_0x4039('0x2d')),_0x184226=_0x3577aa['plugins']['get'](_0x4039('0x28'));for(const _0x59045a of _0xbb7e85)_0x5dfd37['getUser'](_0x59045a['id'])||_0x5dfd37[_0x4039('0x1')](_0x59045a);_0x5dfd37['me']||_0x5dfd37[_0x4039('0xf')]();for(const _0x31e6a1 of _0x1bac3d)_0x184226[_0x4039('0x5')](_0x31e6a1);_0x3577aa[_0x4039('0xe')][_0x4039('0x17')](_0x5f1081);}(_0x3253ce,_0x2b4dd0),_0x2b4dd0[_0x4039('0x1f')](_0x1051fd?_0x4039('0x1c'):_0x4039('0x8'));const _0xc81886=D(_0x2b4dd0)?_0x2b4dd0[_0x4039('0x26')](_0x51ea0e):_0x2b4dd0[_0x4039('0xe')]['get'](_0x51ea0e);return await _0x2b4dd0[_0x4039('0x23')](),_0xc81886;}