@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20230913.0 → 0.0.0-nightly-20230914.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (64) hide show
  1. package/build/track-changes.js +1 -1
  2. package/package.json +3 -3
  3. package/src/commands/acceptsuggestioncommand.js +1 -1
  4. package/src/commands/discardsuggestioncommand.js +1 -1
  5. package/src/commands/executeonallsuggestionscommand.js +1 -1
  6. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  7. package/src/commands/trackchangescommand.js +1 -1
  8. package/src/integrations/alignment.js +1 -1
  9. package/src/integrations/basicstyles.js +1 -1
  10. package/src/integrations/blockquote.js +1 -1
  11. package/src/integrations/ckbox.js +1 -1
  12. package/src/integrations/codeblock.js +1 -1
  13. package/src/integrations/comments.js +1 -1
  14. package/src/integrations/deletecommand.js +1 -1
  15. package/src/integrations/documentlist.js +1 -1
  16. package/src/integrations/documentlistproperties.js +1 -1
  17. package/src/integrations/entercommand.js +1 -1
  18. package/src/integrations/findandreplace.js +1 -1
  19. package/src/integrations/font.js +1 -1
  20. package/src/integrations/formatpainter.js +1 -1
  21. package/src/integrations/heading.js +1 -1
  22. package/src/integrations/highlight.js +1 -1
  23. package/src/integrations/horizontalline.js +1 -1
  24. package/src/integrations/htmlembed.js +1 -1
  25. package/src/integrations/image.js +1 -1
  26. package/src/integrations/imagereplace.js +1 -1
  27. package/src/integrations/importword.js +1 -1
  28. package/src/integrations/indent.js +1 -1
  29. package/src/integrations/inputcommand.js +1 -1
  30. package/src/integrations/link.js +1 -1
  31. package/src/integrations/list.js +1 -1
  32. package/src/integrations/listproperties.js +1 -1
  33. package/src/integrations/mediaembed.js +1 -1
  34. package/src/integrations/mention.js +1 -1
  35. package/src/integrations/pagebreak.js +1 -1
  36. package/src/integrations/paragraph.js +1 -1
  37. package/src/integrations/removeformat.js +1 -1
  38. package/src/integrations/restrictededitingmode.js +1 -1
  39. package/src/integrations/shiftentercommand.js +1 -1
  40. package/src/integrations/standardeditingmode.js +1 -1
  41. package/src/integrations/style.js +1 -1
  42. package/src/integrations/table.js +1 -1
  43. package/src/integrations/tablecaption.js +1 -1
  44. package/src/integrations/tableclipboard.js +1 -1
  45. package/src/integrations/tablecolumnresize.js +1 -1
  46. package/src/integrations/tableheadings.js +1 -1
  47. package/src/integrations/tablemergesplit.js +1 -1
  48. package/src/integrations/tableofcontents.js +1 -1
  49. package/src/integrations/tableproperties.js +1 -1
  50. package/src/integrations/template.js +1 -1
  51. package/src/integrations/title.js +1 -1
  52. package/src/integrations/undo.js +1 -1
  53. package/src/integrations/utils.js +1 -1
  54. package/src/suggestion.js +1 -1
  55. package/src/suggestiondescriptionfactory.js +1 -1
  56. package/src/trackchanges.js +1 -1
  57. package/src/trackchangesdata.js +1 -1
  58. package/src/trackchangesediting.js +1 -1
  59. package/src/trackchangesui.js +1 -1
  60. package/src/ui/suggestioncontroller.js +1 -1
  61. package/src/ui/view/basesuggestionthreadview.js +1 -1
  62. package/src/ui/view/suggestionthreadview.js +1 -1
  63. package/src/utils/common-translations.js +1 -1
  64. package/src/utils/utils.js +1 -1
package/src/suggestion.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4f48=['getFirstRange','isInContent','_model','split','type','_onAttributesChange','getMarkers','subType','isMultiRange','addMarkerName','getRanges','substr','accept','addRange','addMarker','getAllAdjacentSuggestions','removeMarker','removeMarkers','getContainedElement','getMultiRangeId','_isDataLoaded','markers','decorate','onDiscard','isIntersecting','next','data','_saved','push','change','discard','toJSON','commentThread','setAttribute','author','set','@external','previous','_onDiscard','reduce','hasComments','length','_onAccept','createdAt','end','getFirstMarker','isExternal','creator','get','start','suggestion:','authoredAt','getMarkerNames','from','onAccept','head','getRange','delete','attributes','isIntersectingWithRange','_markerNames','clear'];(function(_0x3f5d86,_0x4f480c){const _0x22e3c0=function(_0x540624){while(--_0x540624){_0x3f5d86['push'](_0x3f5d86['shift']());}};_0x22e3c0(++_0x4f480c);}(_0x4f48,0x16e));const _0x22e3=function(_0x3f5d86,_0x4f480c){_0x3f5d86=_0x3f5d86-0x0;let _0x22e3c0=_0x4f48[_0x3f5d86];return _0x22e3c0;};import{Element as _0x3e7a2e}from'ckeditor5/src/engine';import{ObservableMixin as _0x3e6c2a,uid as _0x10b069}from'ckeditor5/src/utils';import{cloneDeep as _0x281da9,isEqual as _0x14edd7,set as _0x396573,unset as _0x50c2e9}from'lodash-es';export default class u extends _0x3e6c2a(){constructor(_0x514cab,_0x57552c){super(),this[_0x22e3('0x1a')]=!0x1,this['id']=_0x57552c['id'],this[_0x22e3('0xa')]=_0x57552c[_0x22e3('0xa')],this[_0x22e3('0xd')]=_0x57552c[_0x22e3('0xd')]||null,this[_0x22e3('0x28')]=_0x57552c[_0x22e3('0x28')],this[_0x22e3('0x35')]=_0x57552c[_0x22e3('0x35')]||_0x57552c[_0x22e3('0x28')],this[_0x22e3('0x34')]=Boolean(_0x57552c[_0x22e3('0x2')]&&_0x57552c[_0x22e3('0x2')][_0x22e3('0x2a')]),this[_0x22e3('0x20')]=null,this[_0x22e3('0x8')]=_0x514cab,this[_0x22e3('0x30')]=_0x57552c[_0x22e3('0x3c')],this['_onDiscard']=_0x57552c[_0x22e3('0x1d')],this[_0x22e3('0xb')]=_0x57552c['onAttributesChange'],this[_0x22e3('0x4')]=new Set(),this[_0x22e3('0x31')]=null,this[_0x22e3('0x29')](_0x22e3('0x39'),null),this['set']('attributes',_0x57552c[_0x22e3('0x2')]||{}),this[_0x22e3('0x29')](_0x22e3('0x2b'),null),this[_0x22e3('0x29')](_0x22e3('0x1f'),null),this[_0x22e3('0x29')](_0x22e3('0x26'),null),this[_0x22e3('0x29')](_0x22e3('0x21'),!0x1),this[_0x22e3('0x1c')](_0x22e3('0x12')),this[_0x22e3('0x1c')](_0x22e3('0x24'));}get[_0x22e3('0x3d')](){let _0x529c3f=this;for(;_0x529c3f[_0x22e3('0x2b')];)_0x529c3f=_0x529c3f['previous'];return _0x529c3f;}get[_0x22e3('0x2e')](){return!!this['commentThread']&&this[_0x22e3('0x26')][_0x22e3('0x2f')]>0x0;}get[_0x22e3('0xe')](){if(0x0==this[_0x22e3('0x4')]['size'])return!0x1;return 0x6==Array[_0x22e3('0x3b')](this['_markerNames'])[0x0][_0x22e3('0x9')](':')[_0x22e3('0x2f')];}get[_0x22e3('0x7')](){return null!==this[_0x22e3('0x33')]();}['addMarkerName'](_0x378449){this[_0x22e3('0x4')]['add'](_0x378449);}['getMarkerNames'](){return Array[_0x22e3('0x3b')](this[_0x22e3('0x4')]);}[_0x22e3('0xc')](){return this[_0x22e3('0x3a')]()['map'](_0x30a339=>this['_model'][_0x22e3('0x1b')][_0x22e3('0x36')](_0x30a339))['filter'](_0x2193d4=>_0x2193d4);}[_0x22e3('0x33')](){return this[_0x22e3('0xc')]()[0x0]||null;}[_0x22e3('0x17')](){this[_0x22e3('0x8')]['change'](_0x195b41=>{for(const _0x271d35 of this[_0x22e3('0xc')]())_0x195b41['removeMarker'](_0x271d35);}),this[_0x22e3('0x4')][_0x22e3('0x5')]();}[_0x22e3('0x16')](_0x5ab1d7){this['_model'][_0x22e3('0x23')](_0x14584f=>{_0x14584f[_0x22e3('0x16')](_0x5ab1d7);}),this[_0x22e3('0x4')][_0x22e3('0x1')](_0x5ab1d7);}[_0x22e3('0x13')](_0x3a0a00){const _0x4aedb3=_0x22e3('0x38')+this[_0x22e3('0xa')]+':'+this[_0x22e3('0xd')]+':'+this['id']+':'+this[_0x22e3('0x35')]['id']+':'+u[_0x22e3('0x19')]();this[_0x22e3('0xf')](_0x4aedb3),this[_0x22e3('0x8')][_0x22e3('0x23')](_0x5f59c0=>{_0x5f59c0[_0x22e3('0x14')](_0x4aedb3,{'range':_0x3a0a00,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x22e3('0x3')](_0x49cc20){for(const _0xefb4f4 of this[_0x22e3('0x10')]())if(_0xefb4f4[_0x22e3('0x1e')](_0x49cc20))return!0x0;return!0x1;}[_0x22e3('0x10')](){return this['getMarkers']()['map'](_0x2bd36f=>_0x2bd36f[_0x22e3('0x0')]());}['getItems'](){return this['getRanges']()[_0x22e3('0x2d')]((_0x6442ae,_0x3f75bf)=>[..._0x6442ae,..._0x3f75bf['getItems']()],[]);}[_0x22e3('0x6')](){var _0x5f438b;return(null===(_0x5f438b=this[_0x22e3('0x33')]())||void 0x0===_0x5f438b?void 0x0:_0x5f438b['getRange']())||null;}[_0x22e3('0x18')](){const _0x9a3047=this[_0x22e3('0x10')]();if(0x1!=_0x9a3047['length'])return null;const _0x5c3cd9=_0x9a3047[0x0],_0x47658c=_0x5c3cd9[_0x22e3('0x37')]['nodeAfter'],_0x8a5b43=_0x5c3cd9[_0x22e3('0x32')]['nodeBefore'];return _0x47658c instanceof _0x3e7a2e?_0x47658c!=_0x8a5b43?null:_0x47658c:null;}['accept'](){this['_onAccept'](this[_0x22e3('0x10')](),this[_0x22e3('0x20')],this[_0x22e3('0x2')]),this['removeMarkers']();}['discard'](){this[_0x22e3('0x2c')](this[_0x22e3('0x10')](),this[_0x22e3('0x20')],this['attributes']),this[_0x22e3('0x17')]();}[_0x22e3('0x15')](){const _0x5842aa=[];let _0x504966=this[_0x22e3('0x3d')];for(;_0x504966;)_0x5842aa[_0x22e3('0x22')](_0x504966),_0x504966=_0x504966[_0x22e3('0x1f')];return _0x5842aa;}[_0x22e3('0x27')](_0x345661,_0x1b1c33){const _0x460750=_0x281da9(this[_0x22e3('0x2')]);_0x396573(_0x460750,_0x345661,_0x1b1c33),_0x14edd7(_0x460750,this[_0x22e3('0x2')])||(this[_0x22e3('0x2')]=_0x460750,this[_0x22e3('0xb')](_0x460750));}['removeAttribute'](_0x50c44d){const _0x4e9ced=_0x281da9(this[_0x22e3('0x2')]);_0x50c2e9(_0x4e9ced,_0x50c44d),_0x14edd7(_0x4e9ced,this[_0x22e3('0x2')])||(this[_0x22e3('0x2')]=_0x4e9ced,this[_0x22e3('0xb')](this[_0x22e3('0x2')]));}[_0x22e3('0x25')](){return{'id':this['id'],'type':this['subType']?this[_0x22e3('0xa')]+':'+this[_0x22e3('0xd')]:this['type'],'authorId':this[_0x22e3('0x35')]['id'],'createdAt':this['createdAt'],'hasComments':this['hasComments'],'data':this[_0x22e3('0x20')],'attributes':this[_0x22e3('0x2')]};}static[_0x22e3('0x19')](){return _0x10b069()[_0x22e3('0x11')](0x1,0x5);}}
23
+ const _0x2f0b=['length','onAccept','isIntersecting','authoredAt','decorate','nodeBefore','delete','next','hasComments','isExternal','getMarkerNames','map','onDiscard','clear','getRange','getItems','getRanges','discard','_onDiscard','head','setAttribute','isMultiRange','removeAttribute','push','addRange','suggestion:','from','substr','author','getFirstMarker','getMarkers','data','set','removeMarker','change','previous','isIntersectingWithRange','accept','add','_model','createdAt','removeMarkers','size','type','subType','filter','split','reduce','addMarkerName','end','_markerNames','commentThread','creator','_onAttributesChange','attributes','isInContent','start','nodeAfter'];(function(_0x30d9fe,_0x2f0bbb){const _0x55ffad=function(_0x5d0b9d){while(--_0x5d0b9d){_0x30d9fe['push'](_0x30d9fe['shift']());}};_0x55ffad(++_0x2f0bbb);}(_0x2f0b,0x131));const _0x55ff=function(_0x30d9fe,_0x2f0bbb){_0x30d9fe=_0x30d9fe-0x0;let _0x55ffad=_0x2f0b[_0x30d9fe];return _0x55ffad;};import{Element as _0x3ff343}from'ckeditor5/src/engine';import{ObservableMixin as _0x368bfa,uid as _0x140391}from'ckeditor5/src/utils';import{cloneDeep as _0x2bfaa9,isEqual as _0x4e4d0c,set as _0x2cf05f,unset as _0x11395d}from'lodash-es';export default class u extends _0x368bfa(){constructor(_0x59127d,_0x58a635){super(),this['_isDataLoaded']=!0x1,this['id']=_0x58a635['id'],this[_0x55ff('0x1c')]=_0x58a635[_0x55ff('0x1c')],this[_0x55ff('0x1d')]=_0x58a635[_0x55ff('0x1d')]||null,this[_0x55ff('0xd')]=_0x58a635['author'],this[_0x55ff('0x25')]=_0x58a635['creator']||_0x58a635['author'],this[_0x55ff('0x34')]=Boolean(_0x58a635[_0x55ff('0x27')]&&_0x58a635[_0x55ff('0x27')]['@external']),this[_0x55ff('0x10')]=null,this['_model']=_0x59127d,this['_onAccept']=_0x58a635[_0x55ff('0x2c')],this[_0x55ff('0x3')]=_0x58a635[_0x55ff('0x37')],this[_0x55ff('0x26')]=_0x58a635['onAttributesChange'],this[_0x55ff('0x23')]=new Set(),this[_0x55ff('0x19')]=null,this[_0x55ff('0x11')](_0x55ff('0x2e'),null),this[_0x55ff('0x11')](_0x55ff('0x27'),_0x58a635[_0x55ff('0x27')]||{}),this[_0x55ff('0x11')](_0x55ff('0x14'),null),this[_0x55ff('0x11')]('next',null),this[_0x55ff('0x11')](_0x55ff('0x24'),null),this[_0x55ff('0x11')]('_saved',!0x1),this[_0x55ff('0x2f')](_0x55ff('0x16')),this[_0x55ff('0x2f')](_0x55ff('0x2'));}get[_0x55ff('0x4')](){let _0x5edc57=this;for(;_0x5edc57[_0x55ff('0x14')];)_0x5edc57=_0x5edc57[_0x55ff('0x14')];return _0x5edc57;}get[_0x55ff('0x33')](){return!!this[_0x55ff('0x24')]&&this['commentThread']['length']>0x0;}get[_0x55ff('0x6')](){if(0x0==this[_0x55ff('0x23')][_0x55ff('0x1b')])return!0x1;return 0x6==Array[_0x55ff('0xb')](this[_0x55ff('0x23')])[0x0][_0x55ff('0x1f')](':')['length'];}get[_0x55ff('0x28')](){return null!==this[_0x55ff('0xe')]();}[_0x55ff('0x21')](_0x42f40b){this[_0x55ff('0x23')][_0x55ff('0x17')](_0x42f40b);}[_0x55ff('0x35')](){return Array['from'](this[_0x55ff('0x23')]);}[_0x55ff('0xf')](){return this[_0x55ff('0x35')]()[_0x55ff('0x36')](_0x20cd50=>this['_model']['markers']['get'](_0x20cd50))[_0x55ff('0x1e')](_0x34a1c7=>_0x34a1c7);}[_0x55ff('0xe')](){return this['getMarkers']()[0x0]||null;}[_0x55ff('0x1a')](){this['_model'][_0x55ff('0x13')](_0x385c5d=>{for(const _0x4689ed of this[_0x55ff('0xf')]())_0x385c5d[_0x55ff('0x12')](_0x4689ed);}),this[_0x55ff('0x23')][_0x55ff('0x38')]();}[_0x55ff('0x12')](_0x251252){this[_0x55ff('0x18')][_0x55ff('0x13')](_0xeea588=>{_0xeea588[_0x55ff('0x12')](_0x251252);}),this[_0x55ff('0x23')][_0x55ff('0x31')](_0x251252);}[_0x55ff('0x9')](_0x4291d7){const _0x5ba4d4=_0x55ff('0xa')+this['type']+':'+this[_0x55ff('0x1d')]+':'+this['id']+':'+this[_0x55ff('0x25')]['id']+':'+u['getMultiRangeId']();this[_0x55ff('0x21')](_0x5ba4d4),this[_0x55ff('0x18')]['change'](_0x4dcc44=>{_0x4dcc44['addMarker'](_0x5ba4d4,{'range':_0x4291d7,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x55ff('0x15')](_0xfe8d4){for(const _0x3ee0f2 of this[_0x55ff('0x1')]())if(_0x3ee0f2[_0x55ff('0x2d')](_0xfe8d4))return!0x0;return!0x1;}[_0x55ff('0x1')](){return this[_0x55ff('0xf')]()['map'](_0x40672e=>_0x40672e[_0x55ff('0x39')]());}[_0x55ff('0x0')](){return this[_0x55ff('0x1')]()[_0x55ff('0x20')]((_0x57ba15,_0x4ee371)=>[..._0x57ba15,..._0x4ee371[_0x55ff('0x0')]()],[]);}['getFirstRange'](){var _0x3da4b0;return(null===(_0x3da4b0=this[_0x55ff('0xe')]())||void 0x0===_0x3da4b0?void 0x0:_0x3da4b0[_0x55ff('0x39')]())||null;}['getContainedElement'](){const _0x584c9a=this[_0x55ff('0x1')]();if(0x1!=_0x584c9a[_0x55ff('0x2b')])return null;const _0x3eb960=_0x584c9a[0x0],_0xe06c69=_0x3eb960[_0x55ff('0x29')][_0x55ff('0x2a')],_0x414fd7=_0x3eb960[_0x55ff('0x22')][_0x55ff('0x30')];return _0xe06c69 instanceof _0x3ff343?_0xe06c69!=_0x414fd7?null:_0xe06c69:null;}['accept'](){this['_onAccept'](this[_0x55ff('0x1')](),this['data'],this[_0x55ff('0x27')]),this['removeMarkers']();}[_0x55ff('0x2')](){this[_0x55ff('0x3')](this['getRanges'](),this[_0x55ff('0x10')],this[_0x55ff('0x27')]),this[_0x55ff('0x1a')]();}['getAllAdjacentSuggestions'](){const _0x4f5934=[];let _0x599c5a=this[_0x55ff('0x4')];for(;_0x599c5a;)_0x4f5934[_0x55ff('0x8')](_0x599c5a),_0x599c5a=_0x599c5a[_0x55ff('0x32')];return _0x4f5934;}[_0x55ff('0x5')](_0x2c232d,_0x3bbd76){const _0x45603a=_0x2bfaa9(this[_0x55ff('0x27')]);_0x2cf05f(_0x45603a,_0x2c232d,_0x3bbd76),_0x4e4d0c(_0x45603a,this[_0x55ff('0x27')])||(this['attributes']=_0x45603a,this[_0x55ff('0x26')](_0x45603a));}[_0x55ff('0x7')](_0x21dd92){const _0x2353e8=_0x2bfaa9(this[_0x55ff('0x27')]);_0x11395d(_0x2353e8,_0x21dd92),_0x4e4d0c(_0x2353e8,this['attributes'])||(this['attributes']=_0x2353e8,this[_0x55ff('0x26')](this[_0x55ff('0x27')]));}['toJSON'](){return{'id':this['id'],'type':this[_0x55ff('0x1d')]?this[_0x55ff('0x1c')]+':'+this[_0x55ff('0x1d')]:this['type'],'authorId':this[_0x55ff('0x25')]['id'],'createdAt':this[_0x55ff('0x19')],'hasComments':this[_0x55ff('0x33')],'data':this[_0x55ff('0x10')],'attributes':this[_0x55ff('0x27')]};}static['getMultiRangeId'](){return _0x140391()[_0x55ff('0xc')](0x1,0x5);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3fee=['ELEMENT_SPACE','*Remove:*\x20%0','softBreak','deletion','text','element','skip','checkChild','set','insertion','quantity','Container','removeObject','isEqual','nextSibling','label','getFirstRange','push','getItemLabel','length','_itemLabelsCallbacks','registerDescriptionCallback','replace','addEmptyContainer','remove','type','start','addObject','*Insert:*\x20%0','_locale','get','elementStart','_schema','_itemLabels','isEmpty','_customCallbacks','isObject','$1\x20$2','isInContent','addContainer','elementEnd','name','previousSibling','_addDescriptionItems','function','data','pop','indexOf','getWalker','removeContainer','item','match','getDescriptions','add','removeEmptyContainer'];(function(_0x32fe9a,_0x3fee56){const _0x4265e5=function(_0x1834fd){while(--_0x1834fd){_0x32fe9a['push'](_0x32fe9a['shift']());}};_0x4265e5(++_0x3fee56);}(_0x3fee,0x13a));const _0x4265=function(_0x32fe9a,_0x3fee56){_0x32fe9a=_0x32fe9a-0x0;let _0x4265e5=_0x3fee[_0x32fe9a];return _0x4265e5;};import{getTranslation as _0x467043}from'./utils/common-translations';import{priorities as _0x547d59,insertToPriorityArray as _0x24fe67}from'ckeditor5/src/utils';export default class m{constructor(_0x400e71,_0x6e6925){this[_0x4265('0x33')]=[],this[_0x4265('0x31')]=new Map(),this[_0x4265('0x24')]=[],this['_schema']=_0x400e71,this[_0x4265('0x2d')]=_0x6e6925;}[_0x4265('0xd')](_0x123dbc){const _0x4e1060=[];for(let _0x52c652=0x0;_0x52c652<_0x123dbc[_0x4265('0x23')];_0x52c652++){const _0x7768f4=_0x123dbc[_0x52c652];if(!_0x7768f4[_0x4265('0x36')])continue;let _0x1291f2=!0x1;for(const _0x1d2206 of this[_0x4265('0x33')]){const _0x3580f4=_0x1d2206(_0x7768f4);if(_0x3580f4){'type'in _0x3580f4&&_0x4e1060['push'](_0x3580f4),_0x1291f2=!0x0;break;}}if(!_0x1291f2){this[_0x4265('0x4')](_0x4e1060,_0x7768f4);const _0x59327a=_0x123dbc[_0x52c652+0x1];if(_0x59327a&&!_0x7768f4[_0x4265('0x20')]()['end'][_0x4265('0x1d')](_0x59327a[_0x4265('0x20')]()[_0x4265('0x2a')])){const _0x267e86=_0x4e1060[_0x4e1060['length']-0x1],_0x16af79='insertion'==_0x7768f4[_0x4265('0x29')]?_0x4265('0xe'):_0x4265('0x28');_0x267e86&&_0x4265('0x14')==_0x267e86[_0x4265('0x29')]&&(_0x267e86[_0x16af79]+='\x0a');}}}return this['_resolveDescriptionItems'](_0x4e1060);}[_0x4265('0x25')](_0x2c9f48){this[_0x4265('0x33')][_0x4265('0x21')](_0x2c9f48);}['registerElementLabel'](_0xf0e5e8,_0x3fd8cb,_0x3c8138=_0x547d59['normal']){_0x4265('0x5')==typeof _0xf0e5e8?_0x24fe67(this['_itemLabelsCallbacks'],{'matchingCallback':_0xf0e5e8,'label':_0x3fd8cb,'priority':_0x3c8138}):this[_0x4265('0x31')][_0x4265('0x18')](_0xf0e5e8,_0x3fd8cb);}[_0x4265('0x22')](_0x47ba79,_0x46d672=0x1){let _0x388ede;for(const _0x110755 of this[_0x4265('0x24')])if(_0x110755['matchingCallback'](_0x47ba79)){_0x388ede=_0x110755[_0x4265('0x1f')];break;}return _0x388ede||(_0x388ede=this[_0x4265('0x31')][_0x4265('0x2e')](_0x47ba79['name'])),_0x388ede?_0x388ede(_0x46d672):0x1!==_0x46d672?_0x46d672+'\x20'+_0x47ba79[_0x4265('0x2')]+'s':''+_0x47ba79[_0x4265('0x2')];}[_0x4265('0x4')](_0x5b08d8,_0x31e835){const _0x228476=_0x31e835[_0x4265('0x20')]()[_0x4265('0x9')](),_0x37c034='insertion'==_0x31e835[_0x4265('0x29')]?_0x4265('0xe'):'remove';for(const _0x3abfa2 of _0x228476){const _0xfd3d66=_0x3abfa2[_0x4265('0xb')],_0x2a9609=_0x5b08d8[_0x5b08d8[_0x4265('0x23')]-0x1];if(_0xfd3d66['is']('$textProxy'))_0x2a9609&&_0x2a9609[_0x4265('0x29')][_0x4265('0x8')](_0x4265('0x1b'))>-0x1&&_0x5b08d8[_0x4265('0x7')](),_0x2a9609&&_0x4265('0x14')==_0x2a9609[_0x4265('0x29')]?_0x2a9609[_0x37c034]+=_0xfd3d66[_0x4265('0x6')]:_0x5b08d8[_0x4265('0x21')]({'type':'text','add':'add'==_0x37c034?_0xfd3d66['data']:'','remove':_0x4265('0x28')==_0x37c034?_0xfd3d66['data']:''});else{if(this['_schema']['isObject'](_0xfd3d66)){const _0x10eed=_0xfd3d66;if(_0x2a9609&&_0x2a9609['type'][_0x4265('0x8')](_0x4265('0x1b'))>-0x1&&_0x5b08d8['pop'](),_0x4265('0x1')==_0x3abfa2[_0x4265('0x29')])continue;_0x2a9609&&_0x2a9609[_0x4265('0x29')]==_0x37c034+'Object'&&_0x2a9609[_0x4265('0x15')][_0x4265('0x2')]==_0x10eed[_0x4265('0x2')]?_0x2a9609[_0x4265('0x1a')]++:_0x5b08d8['push']({'type':_0x37c034+'Object','element':_0x10eed,'quantity':0x1}),_0x228476[_0x4265('0x16')](_0x501185=>!(_0x4265('0x1')==_0x501185[_0x4265('0x29')]&&_0x501185[_0x4265('0xb')]==_0xfd3d66));}else{if(this['_schema'][_0x4265('0x17')](_0xfd3d66,'$text')||_0xfd3d66['is'](_0x4265('0x15'),_0x4265('0x12'))){const _0x1c4e7f=_0xfd3d66;if(_0x4265('0xe')==_0x37c034&&_0x4265('0x2f')==_0x3abfa2['type']||'remove'==_0x37c034&&'elementEnd'==_0x3abfa2[_0x4265('0x29')])continue;if(_0x2a9609&&-0x1==_0x2a9609[_0x4265('0x29')][_0x4265('0x8')](_0x4265('0x1b'))){_0x4265('0x14')==_0x2a9609[_0x4265('0x29')]&&(_0x2a9609[_0x37c034]+='\x0a');continue;}let _0x4f95cc;if(_0x4f95cc=_0x4265('0xe')==_0x37c034?_0x1c4e7f[_0x4265('0x1e')]&&!this[_0x4265('0x30')]['isObject'](_0x1c4e7f[_0x4265('0x1e')])?_0x1c4e7f['nextSibling']:null:_0x1c4e7f['previousSibling']&&!this[_0x4265('0x30')][_0x4265('0x34')](_0x1c4e7f[_0x4265('0x3')])?_0x1c4e7f[_0x4265('0x3')]:null,_0x1c4e7f[_0x4265('0x32')]||_0x4f95cc&&_0x4f95cc[_0x4265('0x32')]){const _0x507a1a=_0x4f95cc&&_0x4f95cc[_0x4265('0x32')]?_0x4f95cc:_0x1c4e7f;_0x2a9609&&_0x2a9609[_0x4265('0x29')]==_0x37c034+'EmptyContainer'&&_0x2a9609[_0x4265('0x15')][_0x4265('0x2')]==_0x507a1a[_0x4265('0x2')]?_0x2a9609[_0x4265('0x1a')]++:_0x5b08d8['push']({'type':_0x37c034+'EmptyContainer','element':_0x507a1a,'quantity':0x1});}else _0x5b08d8['push']({'type':_0x37c034+'Container','element':_0x1c4e7f});}}}}}['_resolveDescriptionItems'](_0x3e8942){const _0xac80a7=this[_0x4265('0x2d')],_0x81e52=[];for(const _0x504bf4 of _0x3e8942){switch(_0x504bf4[_0x4265('0x29')]){case _0x4265('0x14'):if(_0x504bf4[_0x4265('0xe')]=_0x504bf4[_0x4265('0xe')][_0x4265('0x26')](/(\S)\u000A+(\S)/g,'$1\x20$2')['replace'](/\u000A/g,''),_0x504bf4[_0x4265('0x28')]=_0x504bf4[_0x4265('0x28')][_0x4265('0x26')](/(\S)\u000A+(\S)/g,_0x4265('0x35'))[_0x4265('0x26')](/\u000A/g,''),''!=_0x504bf4[_0x4265('0xe')]&&''!=_0x504bf4[_0x4265('0x28')]){_0x81e52['push']({'type':'replace','content':_0x467043(_0xac80a7,'REPLACE_TEXT',['\x22'+_0x504bf4[_0x4265('0x28')]+'\x22','\x22'+_0x504bf4[_0x4265('0xe')]+'\x22'])});continue;}if(null!=_0x504bf4[_0x4265('0xe')][_0x4265('0xc')](/^ +$/)){_0x81e52['push']({'type':'insertion','content':_0x467043(_0xac80a7,_0x4265('0x2c'),_0x467043(_0xac80a7,'ELEMENT_SPACE',_0x504bf4[_0x4265('0xe')][_0x4265('0x23')]))});continue;}if(null!=_0x504bf4[_0x4265('0x28')][_0x4265('0xc')](/^ +$/)){_0x81e52[_0x4265('0x21')]({'type':'deletion','content':_0x467043(_0xac80a7,'*Remove:*\x20%0',_0x467043(_0xac80a7,_0x4265('0x10'),_0x504bf4[_0x4265('0x28')][_0x4265('0x23')]))});continue;}if(''!=_0x504bf4[_0x4265('0xe')]){_0x81e52[_0x4265('0x21')]({'type':_0x4265('0x19'),'content':_0x467043(_0xac80a7,_0x4265('0x2c'),'\x22'+_0x504bf4[_0x4265('0xe')]+'\x22')});continue;}_0x81e52['push']({'type':_0x4265('0x13'),'content':_0x467043(_0xac80a7,_0x4265('0x11'),'\x22'+_0x504bf4[_0x4265('0x28')]+'\x22')});continue;case _0x4265('0x27'):case _0x4265('0x2b'):_0x81e52[_0x4265('0x21')]({'type':_0x4265('0x19'),'content':_0x467043(_0xac80a7,_0x4265('0x2c'),this[_0x4265('0x22')](_0x504bf4['element'],_0x504bf4[_0x4265('0x1a')]))});continue;case _0x4265('0xf'):case _0x4265('0x1c'):_0x81e52[_0x4265('0x21')]({'type':_0x4265('0x13'),'content':_0x467043(_0xac80a7,_0x4265('0x11'),this['getItemLabel'](_0x504bf4[_0x4265('0x15')],_0x504bf4[_0x4265('0x1a')]))});continue;case _0x4265('0x0'):_0x81e52[_0x4265('0x21')]({'type':_0x4265('0x19'),'content':_0x467043(_0xac80a7,'*Split:*\x20%0',this[_0x4265('0x22')](_0x504bf4['element'],_0x504bf4[_0x4265('0x1a')]))});continue;case _0x4265('0xa'):_0x81e52[_0x4265('0x21')]({'type':_0x4265('0x13'),'content':_0x467043(_0xac80a7,'*Merge:*\x20%0',this[_0x4265('0x22')](_0x504bf4[_0x4265('0x15')],_0x504bf4[_0x4265('0x1a')]))});continue;}_0x81e52[_0x4265('0x21')](_0x504bf4);}return _0x81e52;}}
23
+ const _0x1461=['insertion','function','item','remove','_addDescriptionItems','_customCallbacks','text','_resolveDescriptionItems','length','removeObject','pop','_schema','type','normal','Container','get','removeEmptyContainer','_itemLabelsCallbacks','previousSibling','deletion','element','elementEnd','push','$1\x20$2','replace','skip','*Insert:*\x20%0','matchingCallback','data','getFirstRange','getDescriptions','match','indexOf','*Remove:*\x20%0','nextSibling','$text','EmptyContainer','_itemLabels','addEmptyContainer','REPLACE_TEXT','isEqual','_locale','quantity','set','name','addContainer','isInContent','start','*Merge:*\x20%0','addObject','isEmpty','softBreak','$textProxy','getItemLabel','ELEMENT_SPACE','isObject','registerDescriptionCallback','add'];(function(_0xa0b5a0,_0x146175){const _0x2544b4=function(_0x4b6c05){while(--_0x4b6c05){_0xa0b5a0['push'](_0xa0b5a0['shift']());}};_0x2544b4(++_0x146175);}(_0x1461,0x8e));const _0x2544=function(_0xa0b5a0,_0x146175){_0xa0b5a0=_0xa0b5a0-0x0;let _0x2544b4=_0x1461[_0xa0b5a0];return _0x2544b4;};import{getTranslation as _0x323493}from'./utils/common-translations';import{priorities as _0x103f11,insertToPriorityArray as _0x3b786f}from'ckeditor5/src/utils';export default class m{constructor(_0x1e98b8,_0x517f89){this[_0x2544('0x25')]=[],this[_0x2544('0xb')]=new Map(),this[_0x2544('0x31')]=[],this['_schema']=_0x1e98b8,this[_0x2544('0xf')]=_0x517f89;}[_0x2544('0x4')](_0x31a4b4){const _0xa33234=[];for(let _0x3a8b74=0x0;_0x3a8b74<_0x31a4b4[_0x2544('0x28')];_0x3a8b74++){const _0x576d5f=_0x31a4b4[_0x3a8b74];if(!_0x576d5f[_0x2544('0x14')])continue;let _0x2249c1=!0x1;for(const _0x105078 of this[_0x2544('0x25')]){const _0x119aef=_0x105078(_0x576d5f);if(_0x119aef){_0x2544('0x2c')in _0x119aef&&_0xa33234[_0x2544('0x36')](_0x119aef),_0x2249c1=!0x0;break;}}if(!_0x2249c1){this[_0x2544('0x24')](_0xa33234,_0x576d5f);const _0x4300a5=_0x31a4b4[_0x3a8b74+0x1];if(_0x4300a5&&!_0x576d5f[_0x2544('0x3')]()['end'][_0x2544('0xe')](_0x4300a5['getFirstRange']()[_0x2544('0x15')])){const _0x12ff1c=_0xa33234[_0xa33234['length']-0x1],_0xe71e76='insertion'==_0x576d5f[_0x2544('0x2c')]?_0x2544('0x1f'):'remove';_0x12ff1c&&_0x2544('0x26')==_0x12ff1c[_0x2544('0x2c')]&&(_0x12ff1c[_0xe71e76]+='\x0a');}}}return this['_resolveDescriptionItems'](_0xa33234);}[_0x2544('0x1e')](_0x33ad77){this[_0x2544('0x25')]['push'](_0x33ad77);}['registerElementLabel'](_0x103ca6,_0x4718e8,_0x1fc369=_0x103f11[_0x2544('0x2d')]){_0x2544('0x21')==typeof _0x103ca6?_0x3b786f(this['_itemLabelsCallbacks'],{'matchingCallback':_0x103ca6,'label':_0x4718e8,'priority':_0x1fc369}):this[_0x2544('0xb')][_0x2544('0x11')](_0x103ca6,_0x4718e8);}[_0x2544('0x1b')](_0x33df97,_0x5b8c7a=0x1){let _0x59beb6;for(const _0x5e7c90 of this[_0x2544('0x31')])if(_0x5e7c90[_0x2544('0x1')](_0x33df97)){_0x59beb6=_0x5e7c90['label'];break;}return _0x59beb6||(_0x59beb6=this[_0x2544('0xb')][_0x2544('0x2f')](_0x33df97[_0x2544('0x12')])),_0x59beb6?_0x59beb6(_0x5b8c7a):0x1!==_0x5b8c7a?_0x5b8c7a+'\x20'+_0x33df97['name']+'s':''+_0x33df97[_0x2544('0x12')];}['_addDescriptionItems'](_0x465e8e,_0x2132b8){const _0x570fac=_0x2132b8['getFirstRange']()['getWalker'](),_0x1527b5='insertion'==_0x2132b8[_0x2544('0x2c')]?_0x2544('0x1f'):'remove';for(const _0x165728 of _0x570fac){const _0x27ee1e=_0x165728[_0x2544('0x22')],_0x578abe=_0x465e8e[_0x465e8e[_0x2544('0x28')]-0x1];if(_0x27ee1e['is'](_0x2544('0x1a')))_0x578abe&&_0x578abe[_0x2544('0x2c')][_0x2544('0x6')]('Container')>-0x1&&_0x465e8e[_0x2544('0x2a')](),_0x578abe&&_0x2544('0x26')==_0x578abe[_0x2544('0x2c')]?_0x578abe[_0x1527b5]+=_0x27ee1e[_0x2544('0x2')]:_0x465e8e[_0x2544('0x36')]({'type':'text','add':_0x2544('0x1f')==_0x1527b5?_0x27ee1e['data']:'','remove':_0x2544('0x23')==_0x1527b5?_0x27ee1e[_0x2544('0x2')]:''});else{if(this[_0x2544('0x2b')][_0x2544('0x1d')](_0x27ee1e)){const _0x43d44e=_0x27ee1e;if(_0x578abe&&_0x578abe[_0x2544('0x2c')][_0x2544('0x6')](_0x2544('0x2e'))>-0x1&&_0x465e8e['pop'](),_0x2544('0x35')==_0x165728[_0x2544('0x2c')])continue;_0x578abe&&_0x578abe[_0x2544('0x2c')]==_0x1527b5+'Object'&&_0x578abe[_0x2544('0x34')][_0x2544('0x12')]==_0x43d44e[_0x2544('0x12')]?_0x578abe[_0x2544('0x10')]++:_0x465e8e[_0x2544('0x36')]({'type':_0x1527b5+'Object','element':_0x43d44e,'quantity':0x1}),_0x570fac[_0x2544('0x39')](_0x3351f7=>!(_0x2544('0x35')==_0x3351f7[_0x2544('0x2c')]&&_0x3351f7['item']==_0x27ee1e));}else{if(this[_0x2544('0x2b')]['checkChild'](_0x27ee1e,_0x2544('0x9'))||_0x27ee1e['is']('element',_0x2544('0x19'))){const _0x190987=_0x27ee1e;if(_0x2544('0x1f')==_0x1527b5&&'elementStart'==_0x165728[_0x2544('0x2c')]||_0x2544('0x23')==_0x1527b5&&_0x2544('0x35')==_0x165728['type'])continue;if(_0x578abe&&-0x1==_0x578abe['type'][_0x2544('0x6')]('Container')){_0x2544('0x26')==_0x578abe['type']&&(_0x578abe[_0x1527b5]+='\x0a');continue;}let _0x21b21c;if(_0x21b21c=_0x2544('0x1f')==_0x1527b5?_0x190987[_0x2544('0x8')]&&!this[_0x2544('0x2b')][_0x2544('0x1d')](_0x190987['nextSibling'])?_0x190987[_0x2544('0x8')]:null:_0x190987[_0x2544('0x32')]&&!this[_0x2544('0x2b')][_0x2544('0x1d')](_0x190987[_0x2544('0x32')])?_0x190987['previousSibling']:null,_0x190987[_0x2544('0x18')]||_0x21b21c&&_0x21b21c[_0x2544('0x18')]){const _0x21b18e=_0x21b21c&&_0x21b21c[_0x2544('0x18')]?_0x21b21c:_0x190987;_0x578abe&&_0x578abe[_0x2544('0x2c')]==_0x1527b5+_0x2544('0xa')&&_0x578abe[_0x2544('0x34')][_0x2544('0x12')]==_0x21b18e['name']?_0x578abe['quantity']++:_0x465e8e[_0x2544('0x36')]({'type':_0x1527b5+'EmptyContainer','element':_0x21b18e,'quantity':0x1});}else _0x465e8e[_0x2544('0x36')]({'type':_0x1527b5+'Container','element':_0x190987});}}}}}[_0x2544('0x27')](_0x398f34){const _0x1a063e=this[_0x2544('0xf')],_0x3dcb79=[];for(const _0x186376 of _0x398f34){switch(_0x186376['type']){case _0x2544('0x26'):if(_0x186376['add']=_0x186376[_0x2544('0x1f')][_0x2544('0x38')](/(\S)\u000A+(\S)/g,_0x2544('0x37'))[_0x2544('0x38')](/\u000A/g,''),_0x186376['remove']=_0x186376['remove'][_0x2544('0x38')](/(\S)\u000A+(\S)/g,_0x2544('0x37'))[_0x2544('0x38')](/\u000A/g,''),''!=_0x186376[_0x2544('0x1f')]&&''!=_0x186376[_0x2544('0x23')]){_0x3dcb79[_0x2544('0x36')]({'type':_0x2544('0x38'),'content':_0x323493(_0x1a063e,_0x2544('0xd'),['\x22'+_0x186376['remove']+'\x22','\x22'+_0x186376['add']+'\x22'])});continue;}if(null!=_0x186376[_0x2544('0x1f')][_0x2544('0x5')](/^ +$/)){_0x3dcb79[_0x2544('0x36')]({'type':_0x2544('0x20'),'content':_0x323493(_0x1a063e,_0x2544('0x0'),_0x323493(_0x1a063e,_0x2544('0x1c'),_0x186376[_0x2544('0x1f')][_0x2544('0x28')]))});continue;}if(null!=_0x186376[_0x2544('0x23')][_0x2544('0x5')](/^ +$/)){_0x3dcb79[_0x2544('0x36')]({'type':_0x2544('0x33'),'content':_0x323493(_0x1a063e,_0x2544('0x7'),_0x323493(_0x1a063e,_0x2544('0x1c'),_0x186376[_0x2544('0x23')][_0x2544('0x28')]))});continue;}if(''!=_0x186376[_0x2544('0x1f')]){_0x3dcb79[_0x2544('0x36')]({'type':_0x2544('0x20'),'content':_0x323493(_0x1a063e,'*Insert:*\x20%0','\x22'+_0x186376[_0x2544('0x1f')]+'\x22')});continue;}_0x3dcb79[_0x2544('0x36')]({'type':_0x2544('0x33'),'content':_0x323493(_0x1a063e,_0x2544('0x7'),'\x22'+_0x186376['remove']+'\x22')});continue;case _0x2544('0xc'):case _0x2544('0x17'):_0x3dcb79['push']({'type':_0x2544('0x20'),'content':_0x323493(_0x1a063e,_0x2544('0x0'),this[_0x2544('0x1b')](_0x186376['element'],_0x186376[_0x2544('0x10')]))});continue;case _0x2544('0x30'):case _0x2544('0x29'):_0x3dcb79['push']({'type':'deletion','content':_0x323493(_0x1a063e,_0x2544('0x7'),this[_0x2544('0x1b')](_0x186376[_0x2544('0x34')],_0x186376[_0x2544('0x10')]))});continue;case _0x2544('0x13'):_0x3dcb79['push']({'type':_0x2544('0x20'),'content':_0x323493(_0x1a063e,'*Split:*\x20%0',this[_0x2544('0x1b')](_0x186376['element'],_0x186376['quantity']))});continue;case'removeContainer':_0x3dcb79['push']({'type':_0x2544('0x33'),'content':_0x323493(_0x1a063e,_0x2544('0x16'),this['getItemLabel'](_0x186376['element'],_0x186376[_0x2544('0x10')]))});continue;}_0x3dcb79[_0x2544('0x36')](_0x186376);}return _0x3dcb79;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x3930=['get','Comments','addSuggestion','requires','plugins','addSuggestionData','getSuggestions','adapter','editor','pluginName'];(function(_0x319c86,_0x393010){var _0x5a4eab=function(_0x890848){while(--_0x890848){_0x319c86['push'](_0x319c86['shift']());}};_0x5a4eab(++_0x393010);}(_0x3930,0x134));var _0x5a4e=function(_0x319c86,_0x393010){_0x319c86=_0x319c86-0x0;var _0x5a4eab=_0x3930[_0x319c86];return _0x5a4eab;};import{Plugin as _0x29b166}from'ckeditor5/src/core';import _0x1e8549 from'./trackchangesui';import _0x907c3c from'./trackchangesediting';import'ckeditor5-collaboration/src/collaboration-core';export default class k extends _0x29b166{static get[_0x5a4e('0x5')](){return[_0x907c3c,_0x1e8549,_0x5a4e('0x3')];}static get[_0x5a4e('0x1')](){return'TrackChanges';}set[_0x5a4e('0x9')](_0x5bfc33){this['editor'][_0x5a4e('0x6')][_0x5a4e('0x2')](_0x907c3c)[_0x5a4e('0x9')]=_0x5bfc33;}get[_0x5a4e('0x9')](){return this[_0x5a4e('0x0')][_0x5a4e('0x6')]['get'](_0x907c3c)[_0x5a4e('0x9')];}[_0x5a4e('0x4')](_0x56e6da){return this['editor'][_0x5a4e('0x6')][_0x5a4e('0x2')](_0x907c3c)[_0x5a4e('0x7')](_0x56e6da);}[_0x5a4e('0x8')]({skipNotAttached:_0x499e34=!0x1,toJSON:_0x3a841d=!0x1}={}){return this[_0x5a4e('0x0')]['plugins'][_0x5a4e('0x2')](_0x907c3c)[_0x5a4e('0x8')]({'skipNotAttached':_0x499e34,'toJSON':_0x3a841d});}['getSuggestion'](_0x13d0d7){return this[_0x5a4e('0x0')]['plugins'][_0x5a4e('0x2')](_0x907c3c)['getSuggestion'](_0x13d0d7);}}
23
+ var _0x11d5=['editor','pluginName','getSuggestions','getSuggestion','plugins','addSuggestionData','requires','Comments','adapter','get','TrackChanges'];(function(_0x12ad1f,_0x11d591){var _0x2279f3=function(_0x121a83){while(--_0x121a83){_0x12ad1f['push'](_0x12ad1f['shift']());}};_0x2279f3(++_0x11d591);}(_0x11d5,0xb2));var _0x2279=function(_0x12ad1f,_0x11d591){_0x12ad1f=_0x12ad1f-0x0;var _0x2279f3=_0x11d5[_0x12ad1f];return _0x2279f3;};import{Plugin as _0x2737e2}from'ckeditor5/src/core';import _0x263526 from'./trackchangesui';import _0x1814b1 from'./trackchangesediting';import'ckeditor5-collaboration/src/collaboration-core';export default class k extends _0x2737e2{static get[_0x2279('0x4')](){return[_0x1814b1,_0x263526,_0x2279('0x5')];}static get[_0x2279('0xa')](){return _0x2279('0x8');}set['adapter'](_0x469ac7){this[_0x2279('0x9')][_0x2279('0x2')][_0x2279('0x7')](_0x1814b1)['adapter']=_0x469ac7;}get[_0x2279('0x6')](){return this[_0x2279('0x9')][_0x2279('0x2')][_0x2279('0x7')](_0x1814b1)['adapter'];}['addSuggestion'](_0x728ab0){return this[_0x2279('0x9')]['plugins'][_0x2279('0x7')](_0x1814b1)[_0x2279('0x3')](_0x728ab0);}[_0x2279('0x0')]({skipNotAttached:_0x1f3bf5=!0x1,toJSON:_0x39de0b=!0x1}={}){return this['editor'][_0x2279('0x2')][_0x2279('0x7')](_0x1814b1)[_0x2279('0x0')]({'skipNotAttached':_0x1f3bf5,'toJSON':_0x39de0b});}[_0x2279('0x1')](_0x387e4d){return this[_0x2279('0x9')][_0x2279('0x2')][_0x2279('0x7')](_0x1814b1)[_0x2279('0x1')](_0x387e4d);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x24a2=['editor','getSuggestions','init','_adapter','acceptAllSuggestions','data','Pagination','model','TrackChangesEditing','getFullData','map','constructor','pluginName','CommentsRepository','track-changes-data-invalid-editor-creator','getUser','plugins','get','TrackChangesDataGetter','editorCreator','trackChangesData','document','push','Users','div','useAnonymousUser','getRootsAttributes','name','createDocumentFragment','result','destroy','trackChangesData.editorCreator','config','define','create','set','addSuggestionData','discardAllSuggestions','appendChild','function','getDataWithAcceptedSuggestions','getRootNames'];(function(_0x3958c6,_0x24a236){const _0x3be3b8=function(_0x4f329d){while(--_0x4f329d){_0x3958c6['push'](_0x3958c6['shift']());}};_0x3be3b8(++_0x24a236);}(_0x24a2,0x155));const _0x3be3=function(_0x3958c6,_0x24a236){_0x3958c6=_0x3958c6-0x0;let _0x3be3b8=_0x24a2[_0x3958c6];return _0x3be3b8;};import{Plugin as _0x411979}from'ckeditor5/src/core';import{CKEditorError as _0x3de5dc}from'ckeditor5/src/utils';import _0x253680 from'./trackchangesediting';import{sanitizeEditorConfig as _0x37e834}from'ckeditor5-collaboration/src/collaboration-core';const w=[_0x3be3('0x1')];export default class T extends _0x411979{static get['requires'](){return[_0x253680];}static get[_0x3be3('0x7')](){return'TrackChangesData';}[_0x3be3('0x27')](){const _0x404fa5=this[_0x3be3('0x25')];if(_0x404fa5[_0x3be3('0x1b')][_0x3be3('0x1c')](_0x3be3('0x1a'),_0x24356d=>{const _0x500839=_0x404fa5[_0x3be3('0x2')]['document'][_0x3be3('0x24')]()['reduce']((_0x59f055,_0x467419)=>(_0x59f055[_0x467419]='',_0x59f055),{});return _0x404fa5[_0x3be3('0x6')][_0x3be3('0x1d')](_0x500839,_0x24356d);}),_0x3be3('0x22')!=typeof _0x404fa5[_0x3be3('0x1b')][_0x3be3('0xc')]('trackChangesData')['editorCreator'])throw new _0x3de5dc(_0x3be3('0x9'));}[_0x3be3('0x23')](_0x8b4743){return v(this[_0x3be3('0x25')],!0x0,_0x8b4743);}['getDataWithDiscardedSuggestions'](_0x3f9b05){return v(this[_0x3be3('0x25')],!0x1,_0x3f9b05);}}class P extends _0x411979{static get[_0x3be3('0x7')](){return _0x3be3('0xd');}constructor(_0x182edb){super(_0x182edb),this[_0x3be3('0x18')]='end';}[_0x3be3('0x27')](){this[_0x3be3('0x25')]['plugins']['get'](_0x3be3('0x8'))['_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[_0x3be3('0x25')][_0x3be3('0xb')]['get']('TrackChangesEditing')[_0x3be3('0x28')]=null;}}function D(_0x5bd348){return void 0x0!==_0x5bd348[_0x3be3('0x15')];}async function v(_0x545473,_0x117f8e,_0x2b0df1){const _0x517063=_0x37e834(_0x545473,w);_0x517063['plugins'][_0x3be3('0x11')](_0x253680,P),_0x517063['rootsAttributes']=D(_0x545473)?_0x545473[_0x3be3('0x15')]():void 0x0;const _0x3e0990=document[_0x3be3('0x17')](),_0x4e3abc=_0x545473[_0x3be3('0x1b')][_0x3be3('0xc')](_0x3be3('0xf'))[_0x3be3('0xe')],_0x1b6e8f=await _0x4e3abc(_0x517063,()=>function(_0x450ec6){const _0x16319c=document['createElement'](_0x3be3('0x13'));return _0x450ec6[_0x3be3('0x21')](_0x16319c),_0x16319c;}(_0x3e0990));!function(_0x13d27b,_0xb27298){const _0x203e5a=_0x13d27b[_0x3be3('0x2')][_0x3be3('0x10')]['getRootNames']()['reduce']((_0x326c2f,_0x100c32)=>(_0x326c2f[_0x100c32]=_0x13d27b[_0x3be3('0x0')]['get']({'rootName':_0x100c32}),_0x326c2f),{}),_0xd6a837=_0x13d27b[_0x3be3('0xb')]['get']('Users')['users'][_0x3be3('0x5')](_0x31b218=>({'id':_0x31b218['id'],'name':_0x31b218[_0x3be3('0x16')]})),_0x5a770f=_0x13d27b[_0x3be3('0xb')][_0x3be3('0xc')](_0x3be3('0x3'))[_0x3be3('0x26')]({'skipNotAttached':!0x0,'toJSON':!0x0}),_0xb7f23a=_0xb27298[_0x3be3('0xb')]['get'](_0x3be3('0x12')),_0x17298e=_0xb27298[_0x3be3('0xb')][_0x3be3('0xc')](_0x3be3('0x3'));for(const _0x561692 of _0xd6a837)_0xb7f23a[_0x3be3('0xa')](_0x561692['id'])||_0xb7f23a['addUser'](_0x561692);_0xb7f23a['me']||_0xb7f23a[_0x3be3('0x14')]();for(const _0x41aa9c of _0x5a770f)_0x17298e[_0x3be3('0x1f')](_0x41aa9c);_0xb27298[_0x3be3('0x0')][_0x3be3('0x1e')](_0x203e5a);}(_0x545473,_0x1b6e8f),_0x1b6e8f['execute'](_0x117f8e?_0x3be3('0x29'):_0x3be3('0x20'));const _0x438f57=D(_0x1b6e8f)?_0x1b6e8f[_0x3be3('0x4')](_0x2b0df1):_0x1b6e8f[_0x3be3('0x0')][_0x3be3('0xc')](_0x2b0df1);return await _0x1b6e8f[_0x3be3('0x19')](),_0x438f57;}
23
+ const _0x4c71=['addUser','track-changes-data-invalid-editor-creator','constructor','get','getDataWithDiscardedSuggestions','TrackChangesEditing','init','end','document','createDocumentFragment','plugins','div','discardAllSuggestions','_adapter','rootsAttributes','Users','define','model','result','push','getUser','appendChild','pluginName','config','CommentsRepository','users','create','editor','getDataWithAcceptedSuggestions','Pagination','getFullData','set','function','TrackChangesDataGetter','reduce','addSuggestionData','requires','destroy','trackChangesData.editorCreator','getRootsAttributes','getRootNames','editorCreator','acceptAllSuggestions','createElement','name'];(function(_0x17e224,_0x4c7166){const _0x1f5722=function(_0x3ece7a){while(--_0x3ece7a){_0x17e224['push'](_0x17e224['shift']());}};_0x1f5722(++_0x4c7166);}(_0x4c71,0xc8));const _0x1f57=function(_0x17e224,_0x4c7166){_0x17e224=_0x17e224-0x0;let _0x1f5722=_0x4c71[_0x17e224];return _0x1f5722;};import{Plugin as _0x520765}from'ckeditor5/src/core';import{CKEditorError as _0x5df877}from'ckeditor5/src/utils';import _0x4d60b5 from'./trackchangesediting';import{sanitizeEditorConfig as _0x3ad654}from'ckeditor5-collaboration/src/collaboration-core';const w=[_0x1f57('0x9')];export default class T extends _0x520765{static get[_0x1f57('0x10')](){return[_0x4d60b5];}static get[_0x1f57('0x2')](){return'TrackChangesData';}[_0x1f57('0x1f')](){const _0x2e5cd9=this[_0x1f57('0x7')];if(_0x2e5cd9[_0x1f57('0x3')][_0x1f57('0x29')](_0x1f57('0x12'),_0x4afaec=>{const _0xd62f83=_0x2e5cd9['model']['document'][_0x1f57('0x14')]()[_0x1f57('0xe')]((_0xce9e05,_0x200ac4)=>(_0xce9e05[_0x200ac4]='',_0xce9e05),{});return _0x2e5cd9[_0x1f57('0x1b')][_0x1f57('0x6')](_0xd62f83,_0x4afaec);}),_0x1f57('0xc')!=typeof _0x2e5cd9[_0x1f57('0x3')][_0x1f57('0x1c')]('trackChangesData')[_0x1f57('0x15')])throw new _0x5df877(_0x1f57('0x1a'));}[_0x1f57('0x8')](_0x4c71ca){return v(this[_0x1f57('0x7')],!0x0,_0x4c71ca);}[_0x1f57('0x1d')](_0x28cfca){return v(this['editor'],!0x1,_0x28cfca);}}class P extends _0x520765{static get[_0x1f57('0x2')](){return _0x1f57('0xd');}constructor(_0x226b79){super(_0x226b79),this[_0x1f57('0x2b')]=_0x1f57('0x20');}[_0x1f57('0x1f')](){this['editor'][_0x1f57('0x23')][_0x1f57('0x1c')](_0x1f57('0x4'))['_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[_0x1f57('0x7')][_0x1f57('0x23')]['get'](_0x1f57('0x1e'))[_0x1f57('0x26')]=null;}}function D(_0x152466){return void 0x0!==_0x152466[_0x1f57('0x13')];}async function v(_0x13f2a9,_0x145ce1,_0x4d3891){const _0x2ead2c=_0x3ad654(_0x13f2a9,w);_0x2ead2c['plugins'][_0x1f57('0x2c')](_0x4d60b5,P),_0x2ead2c[_0x1f57('0x27')]=D(_0x13f2a9)?_0x13f2a9[_0x1f57('0x13')]():void 0x0;const _0x4e65da=document[_0x1f57('0x22')](),_0x57d743=_0x13f2a9[_0x1f57('0x3')][_0x1f57('0x1c')]('trackChangesData')['editorCreator'],_0x1189fa=await _0x57d743(_0x2ead2c,()=>function(_0x4af02e){const _0x3c1460=document[_0x1f57('0x17')](_0x1f57('0x24'));return _0x4af02e[_0x1f57('0x1')](_0x3c1460),_0x3c1460;}(_0x4e65da));!function(_0x5b1719,_0x3fd116){const _0x4a00de=_0x5b1719[_0x1f57('0x2a')][_0x1f57('0x21')][_0x1f57('0x14')]()[_0x1f57('0xe')]((_0x58ae46,_0xc06004)=>(_0x58ae46[_0xc06004]=_0x5b1719['data'][_0x1f57('0x1c')]({'rootName':_0xc06004}),_0x58ae46),{}),_0x428b23=_0x5b1719['plugins'][_0x1f57('0x1c')](_0x1f57('0x28'))[_0x1f57('0x5')]['map'](_0x37aa57=>({'id':_0x37aa57['id'],'name':_0x37aa57[_0x1f57('0x18')]})),_0x463ca7=_0x5b1719[_0x1f57('0x23')][_0x1f57('0x1c')](_0x1f57('0x1e'))['getSuggestions']({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x3e3769=_0x3fd116['plugins'][_0x1f57('0x1c')]('Users'),_0x4b2f5f=_0x3fd116[_0x1f57('0x23')][_0x1f57('0x1c')]('TrackChangesEditing');for(const _0x599581 of _0x428b23)_0x3e3769[_0x1f57('0x0')](_0x599581['id'])||_0x3e3769[_0x1f57('0x19')](_0x599581);_0x3e3769['me']||_0x3e3769['useAnonymousUser']();for(const _0x3377fa of _0x463ca7)_0x4b2f5f[_0x1f57('0xf')](_0x3377fa);_0x3fd116['data'][_0x1f57('0xb')](_0x4a00de);}(_0x13f2a9,_0x1189fa),_0x1189fa['execute'](_0x145ce1?_0x1f57('0x16'):_0x1f57('0x25'));const _0x201d5f=D(_0x1189fa)?_0x1189fa[_0x1f57('0xa')](_0x4d3891):_0x1189fa['data'][_0x1f57('0x1c')](_0x4d3891);return await _0x1189fa[_0x1f57('0x11')](),_0x201d5f;}