@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20230721.0 → 0.0.0-nightly-20230723.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 _0x1356=['_onAccept','length','creator','split','_model','commentThread','filter','addMarkerName','add','onAccept','push','author','getMarkers','head','_onDiscard','getRange','onAttributesChange','createdAt','getRanges','_onAttributesChange','authoredAt','setAttribute','decorate','delete','nodeAfter','from','getFirstRange','getMultiRangeId','suggestion:','subType','removeMarker','map','reduce','addMarker','isIntersecting','isIntersectingWithRange','get','data','hasComments','isInContent','@external','addRange','nodeBefore','set','attributes','isExternal','substr','getMarkerNames','previous','start','getAllAdjacentSuggestions','_markerNames','_saved','getFirstMarker','getItems','removeMarkers','getContainedElement','accept','next','removeAttribute','type','change','onDiscard'];(function(_0x48dffd,_0x1356f2){const _0x283e2d=function(_0x15e6f0){while(--_0x15e6f0){_0x48dffd['push'](_0x48dffd['shift']());}};_0x283e2d(++_0x1356f2);}(_0x1356,0x196));const _0x283e=function(_0x48dffd,_0x1356f2){_0x48dffd=_0x48dffd-0x0;let _0x283e2d=_0x1356[_0x48dffd];return _0x283e2d;};import{Element as _0x23cce4}from'ckeditor5/src/engine';import{ObservableMixin as _0x3e5b9d,uid as _0x26bcbd}from'ckeditor5/src/utils';import{cloneDeep as _0x2675b5,isEqual as _0x2ae52a,set as _0x2487ea,unset as _0x29242c}from'lodash-es';export default class u extends _0x3e5b9d(){constructor(_0x231452,_0x34a058){super(),this['id']=_0x34a058['id'],this[_0x283e('0x20')]=_0x34a058[_0x283e('0x20')],this[_0x283e('0x1')]=_0x34a058[_0x283e('0x1')]||null,this[_0x283e('0x2e')]=_0x34a058[_0x283e('0x2e')],this[_0x283e('0x25')]=_0x34a058[_0x283e('0x25')]||_0x34a058[_0x283e('0x2e')],this[_0x283e('0x11')]=Boolean(_0x34a058[_0x283e('0x10')]&&_0x34a058[_0x283e('0x10')][_0x283e('0xc')]),this['data']=null,this['_model']=_0x231452,this['_onAccept']=_0x34a058[_0x283e('0x2c')],this[_0x283e('0x31')]=_0x34a058[_0x283e('0x22')],this[_0x283e('0x36')]=_0x34a058[_0x283e('0x33')],this[_0x283e('0x17')]=new Set(),this[_0x283e('0x34')]=null,this[_0x283e('0xf')](_0x283e('0x37'),null),this['set'](_0x283e('0x10'),_0x34a058['attributes']||{}),this[_0x283e('0xf')](_0x283e('0x14'),null),this[_0x283e('0xf')](_0x283e('0x1e'),null),this['set'](_0x283e('0x28'),null),this['set'](_0x283e('0x18'),!0x1),this[_0x283e('0x39')](_0x283e('0x1d')),this[_0x283e('0x39')]('discard');}get['head'](){let _0x2eead4=this;for(;_0x2eead4['previous'];)_0x2eead4=_0x2eead4[_0x283e('0x14')];return _0x2eead4;}get[_0x283e('0xa')](){return!!this[_0x283e('0x28')]&&this[_0x283e('0x28')][_0x283e('0x24')]>0x0;}get['isMultiRange'](){if(0x0==this[_0x283e('0x17')]['size'])return!0x1;return 0x6==Array[_0x283e('0x3c')](this[_0x283e('0x17')])[0x0][_0x283e('0x26')](':')[_0x283e('0x24')];}get[_0x283e('0xb')](){return null!==this[_0x283e('0x19')]();}[_0x283e('0x2a')](_0x4f2aff){this[_0x283e('0x17')][_0x283e('0x2b')](_0x4f2aff);}[_0x283e('0x13')](){return Array['from'](this[_0x283e('0x17')]);}[_0x283e('0x2f')](){return this[_0x283e('0x13')]()['map'](_0xa33bc4=>this[_0x283e('0x27')]['markers'][_0x283e('0x8')](_0xa33bc4))[_0x283e('0x29')](_0x2b528b=>_0x2b528b);}[_0x283e('0x19')](){return this[_0x283e('0x2f')]()[0x0]||null;}[_0x283e('0x1b')](){this[_0x283e('0x27')][_0x283e('0x21')](_0x12aa91=>{for(const _0x12b70c of this[_0x283e('0x2f')]())_0x12aa91[_0x283e('0x2')](_0x12b70c);}),this[_0x283e('0x17')]['clear']();}[_0x283e('0x2')](_0x26dd8f){this[_0x283e('0x27')][_0x283e('0x21')](_0x29da67=>{_0x29da67[_0x283e('0x2')](_0x26dd8f);}),this[_0x283e('0x17')][_0x283e('0x3a')](_0x26dd8f);}[_0x283e('0xd')](_0x24a2e3){const _0x267c5e=_0x283e('0x0')+this[_0x283e('0x20')]+':'+this['subType']+':'+this['id']+':'+this[_0x283e('0x25')]['id']+':'+u[_0x283e('0x3e')]();this[_0x283e('0x2a')](_0x267c5e),this['_model'][_0x283e('0x21')](_0x14ce8e=>{_0x14ce8e[_0x283e('0x5')](_0x267c5e,{'range':_0x24a2e3,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x283e('0x7')](_0x433d49){for(const _0x50d7c4 of this[_0x283e('0x35')]())if(_0x50d7c4[_0x283e('0x6')](_0x433d49))return!0x0;return!0x1;}[_0x283e('0x35')](){return this[_0x283e('0x2f')]()[_0x283e('0x3')](_0x5d810c=>_0x5d810c[_0x283e('0x32')]());}[_0x283e('0x1a')](){return this[_0x283e('0x35')]()[_0x283e('0x4')]((_0x16de77,_0x41e92b)=>[..._0x16de77,..._0x41e92b[_0x283e('0x1a')]()],[]);}[_0x283e('0x3d')](){var _0x23a990;return(null===(_0x23a990=this[_0x283e('0x19')]())||void 0x0===_0x23a990?void 0x0:_0x23a990['getRange']())||null;}[_0x283e('0x1c')](){const _0x338865=this[_0x283e('0x35')]();if(0x1!=_0x338865['length'])return null;const _0x3b7b49=_0x338865[0x0],_0x344059=_0x3b7b49[_0x283e('0x15')][_0x283e('0x3b')],_0x5db468=_0x3b7b49['end'][_0x283e('0xe')];return _0x344059 instanceof _0x23cce4?_0x344059!=_0x5db468?null:_0x344059:null;}[_0x283e('0x1d')](){this[_0x283e('0x23')](this[_0x283e('0x35')](),this[_0x283e('0x9')],this[_0x283e('0x10')]),this[_0x283e('0x1b')]();}['discard'](){this['_onDiscard'](this[_0x283e('0x35')](),this['data'],this[_0x283e('0x10')]),this[_0x283e('0x1b')]();}[_0x283e('0x16')](){const _0x4dcb42=[];let _0x4377c6=this[_0x283e('0x30')];for(;_0x4377c6;)_0x4dcb42[_0x283e('0x2d')](_0x4377c6),_0x4377c6=_0x4377c6[_0x283e('0x1e')];return _0x4dcb42;}[_0x283e('0x38')](_0xe47e81,_0x1c335f){const _0x1d449a=_0x2675b5(this['attributes']);_0x2487ea(_0x1d449a,_0xe47e81,_0x1c335f),_0x2ae52a(_0x1d449a,this[_0x283e('0x10')])||(this[_0x283e('0x10')]=_0x1d449a,this['_onAttributesChange'](_0x1d449a));}[_0x283e('0x1f')](_0x42d247){const _0x1c8ebd=_0x2675b5(this[_0x283e('0x10')]);_0x29242c(_0x1c8ebd,_0x42d247),_0x2ae52a(_0x1c8ebd,this[_0x283e('0x10')])||(this[_0x283e('0x10')]=_0x1c8ebd,this[_0x283e('0x36')](this[_0x283e('0x10')]));}['toJSON'](){return{'id':this['id'],'type':this[_0x283e('0x1')]?this['type']+':'+this[_0x283e('0x1')]:this[_0x283e('0x20')],'authorId':this['creator']['id'],'createdAt':this[_0x283e('0x34')],'hasComments':this[_0x283e('0xa')],'data':this[_0x283e('0x9')],'attributes':this[_0x283e('0x10')]};}static[_0x283e('0x3e')](){return _0x26bcbd()[_0x283e('0x12')](0x1,0x5);}}
23
+ const _0x200c=['isInContent','from','end','split','author','substr','clear','onAccept','set','start','size','suggestion:','_onAttributesChange','reduce','_onDiscard','commentThread','createdAt','accept','decorate','next','getMarkerNames','discard','getMarkers','creator','isExternal','@external','getRanges','_onAccept','delete','attributes','_saved','onAttributesChange','length','change','_markerNames','filter','type','push','onDiscard','toJSON','setAttribute','addRange','removeMarker','getMultiRangeId','removeMarkers','head','getFirstRange','data','getFirstMarker','addMarkerName','_model','previous','subType','addMarker','hasComments','getRange','map'];(function(_0x3484fb,_0x200c4d){const _0x59f11c=function(_0x31dd2e){while(--_0x31dd2e){_0x3484fb['push'](_0x3484fb['shift']());}};_0x59f11c(++_0x200c4d);}(_0x200c,0x140));const _0x59f1=function(_0x3484fb,_0x200c4d){_0x3484fb=_0x3484fb-0x0;let _0x59f11c=_0x200c[_0x3484fb];return _0x59f11c;};import{Element as _0x218365}from'ckeditor5/src/engine';import{ObservableMixin as _0x528874,uid as _0x23d720}from'ckeditor5/src/utils';import{cloneDeep as _0x1f8aca,isEqual as _0x4954f7,set as _0x91b29e,unset as _0x54591d}from'lodash-es';export default class u extends _0x528874(){constructor(_0x368e02,_0x428feb){super(),this['id']=_0x428feb['id'],this['type']=_0x428feb[_0x59f1('0x1')],this[_0x59f1('0x11')]=_0x428feb[_0x59f1('0x11')]||null,this['author']=_0x428feb[_0x59f1('0x1a')],this[_0x59f1('0x2d')]=_0x428feb[_0x59f1('0x2d')]||_0x428feb[_0x59f1('0x1a')],this[_0x59f1('0x2e')]=Boolean(_0x428feb[_0x59f1('0x33')]&&_0x428feb[_0x59f1('0x33')][_0x59f1('0x2f')]),this[_0x59f1('0xc')]=null,this[_0x59f1('0xf')]=_0x368e02,this[_0x59f1('0x31')]=_0x428feb[_0x59f1('0x1d')],this[_0x59f1('0x24')]=_0x428feb[_0x59f1('0x3')],this[_0x59f1('0x22')]=_0x428feb[_0x59f1('0x35')],this[_0x59f1('0x38')]=new Set(),this[_0x59f1('0x26')]=null,this['set']('authoredAt',null),this[_0x59f1('0x1e')](_0x59f1('0x33'),_0x428feb[_0x59f1('0x33')]||{}),this[_0x59f1('0x1e')](_0x59f1('0x10'),null),this[_0x59f1('0x1e')](_0x59f1('0x29'),null),this[_0x59f1('0x1e')](_0x59f1('0x25'),null),this[_0x59f1('0x1e')](_0x59f1('0x34'),!0x1),this['decorate'](_0x59f1('0x27')),this[_0x59f1('0x28')](_0x59f1('0x2b'));}get[_0x59f1('0xa')](){let _0x5c727c=this;for(;_0x5c727c[_0x59f1('0x10')];)_0x5c727c=_0x5c727c['previous'];return _0x5c727c;}get[_0x59f1('0x13')](){return!!this[_0x59f1('0x25')]&&this[_0x59f1('0x25')]['length']>0x0;}get['isMultiRange'](){if(0x0==this['_markerNames'][_0x59f1('0x20')])return!0x1;return 0x6==Array[_0x59f1('0x17')](this[_0x59f1('0x38')])[0x0][_0x59f1('0x19')](':')[_0x59f1('0x36')];}get[_0x59f1('0x16')](){return null!==this['getFirstMarker']();}[_0x59f1('0xe')](_0x2ecb67){this[_0x59f1('0x38')]['add'](_0x2ecb67);}[_0x59f1('0x2a')](){return Array[_0x59f1('0x17')](this[_0x59f1('0x38')]);}[_0x59f1('0x2c')](){return this[_0x59f1('0x2a')]()[_0x59f1('0x15')](_0x19b91f=>this[_0x59f1('0xf')]['markers']['get'](_0x19b91f))[_0x59f1('0x0')](_0x3a5884=>_0x3a5884);}['getFirstMarker'](){return this[_0x59f1('0x2c')]()[0x0]||null;}['removeMarkers'](){this[_0x59f1('0xf')]['change'](_0x2be8e0=>{for(const _0x13dba9 of this[_0x59f1('0x2c')]())_0x2be8e0[_0x59f1('0x7')](_0x13dba9);}),this[_0x59f1('0x38')][_0x59f1('0x1c')]();}[_0x59f1('0x7')](_0x45b0ac){this[_0x59f1('0xf')][_0x59f1('0x37')](_0x2f5967=>{_0x2f5967[_0x59f1('0x7')](_0x45b0ac);}),this[_0x59f1('0x38')][_0x59f1('0x32')](_0x45b0ac);}[_0x59f1('0x6')](_0x29eaf6){const _0x5e8056=_0x59f1('0x21')+this[_0x59f1('0x1')]+':'+this[_0x59f1('0x11')]+':'+this['id']+':'+this['creator']['id']+':'+u['getMultiRangeId']();this[_0x59f1('0xe')](_0x5e8056),this[_0x59f1('0xf')][_0x59f1('0x37')](_0x9e6a4a=>{_0x9e6a4a[_0x59f1('0x12')](_0x5e8056,{'range':_0x29eaf6,'usingOperation':!0x0,'affectsData':!0x0});});}['isIntersectingWithRange'](_0x3a703e){for(const _0x48e578 of this['getRanges']())if(_0x48e578['isIntersecting'](_0x3a703e))return!0x0;return!0x1;}[_0x59f1('0x30')](){return this[_0x59f1('0x2c')]()[_0x59f1('0x15')](_0x5d36b7=>_0x5d36b7['getRange']());}['getItems'](){return this[_0x59f1('0x30')]()[_0x59f1('0x23')]((_0x41b453,_0x2a462a)=>[..._0x41b453,..._0x2a462a['getItems']()],[]);}[_0x59f1('0xb')](){var _0x3266e8;return(null===(_0x3266e8=this[_0x59f1('0xd')]())||void 0x0===_0x3266e8?void 0x0:_0x3266e8[_0x59f1('0x14')]())||null;}['getContainedElement'](){const _0x5ce0d8=this[_0x59f1('0x30')]();if(0x1!=_0x5ce0d8['length'])return null;const _0x798e60=_0x5ce0d8[0x0],_0x2e3fee=_0x798e60[_0x59f1('0x1f')]['nodeAfter'],_0x5c9ec8=_0x798e60[_0x59f1('0x18')]['nodeBefore'];return _0x2e3fee instanceof _0x218365?_0x2e3fee!=_0x5c9ec8?null:_0x2e3fee:null;}[_0x59f1('0x27')](){this[_0x59f1('0x31')](this[_0x59f1('0x30')](),this[_0x59f1('0xc')],this['attributes']),this[_0x59f1('0x9')]();}[_0x59f1('0x2b')](){this['_onDiscard'](this[_0x59f1('0x30')](),this[_0x59f1('0xc')],this['attributes']),this[_0x59f1('0x9')]();}['getAllAdjacentSuggestions'](){const _0x42b074=[];let _0x3326e8=this[_0x59f1('0xa')];for(;_0x3326e8;)_0x42b074[_0x59f1('0x2')](_0x3326e8),_0x3326e8=_0x3326e8['next'];return _0x42b074;}[_0x59f1('0x5')](_0x4b5a88,_0x3ee6e4){const _0x3b3903=_0x1f8aca(this[_0x59f1('0x33')]);_0x91b29e(_0x3b3903,_0x4b5a88,_0x3ee6e4),_0x4954f7(_0x3b3903,this['attributes'])||(this[_0x59f1('0x33')]=_0x3b3903,this['_onAttributesChange'](_0x3b3903));}['removeAttribute'](_0x3a599f){const _0x28c796=_0x1f8aca(this[_0x59f1('0x33')]);_0x54591d(_0x28c796,_0x3a599f),_0x4954f7(_0x28c796,this['attributes'])||(this[_0x59f1('0x33')]=_0x28c796,this[_0x59f1('0x22')](this[_0x59f1('0x33')]));}[_0x59f1('0x4')](){return{'id':this['id'],'type':this[_0x59f1('0x11')]?this[_0x59f1('0x1')]+':'+this[_0x59f1('0x11')]:this[_0x59f1('0x1')],'authorId':this['creator']['id'],'createdAt':this['createdAt'],'hasComments':this[_0x59f1('0x13')],'data':this['data'],'attributes':this[_0x59f1('0x33')]};}static[_0x59f1('0x8')](){return _0x23d720()[_0x59f1('0x1b')](0x1,0x5);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4edd=['end','skip','match','previousSibling','deletion','type','normal','getItemLabel','isInContent','isEmpty','registerDescriptionCallback','push','checkChild','isObject','nextSibling','function','length','element','Object','isEqual','start','text','quantity','insertion','remove','data','replace','REPLACE_TEXT','item','*Insert:*\x20%0','getWalker','_itemLabels','_itemLabelsCallbacks','*Split:*\x20%0','_customCallbacks','elementEnd','add','removeObject','ELEMENT_SPACE','name','getDescriptions','get','_schema','_addDescriptionItems','Container','_resolveDescriptionItems','addObject','indexOf','getFirstRange','elementStart','removeEmptyContainer','_locale','*Remove:*\x20%0','addContainer','registerElementLabel','$1\x20$2'];(function(_0x88ac45,_0x4eddf8){const _0x4205df=function(_0xee1eb1){while(--_0xee1eb1){_0x88ac45['push'](_0x88ac45['shift']());}};_0x4205df(++_0x4eddf8);}(_0x4edd,0x87));const _0x4205=function(_0x88ac45,_0x4eddf8){_0x88ac45=_0x88ac45-0x0;let _0x4205df=_0x4edd[_0x88ac45];return _0x4205df;};import{getTranslation as _0x5e7a4b}from'./utils/common-translations';import{priorities as _0x10a2bb,insertToPriorityArray as _0x3335e1}from'ckeditor5/src/utils';export default class m{constructor(_0x4df560,_0x5ea75b){this[_0x4205('0xb')]=[],this[_0x4205('0x8')]=new Map(),this[_0x4205('0x9')]=[],this['_schema']=_0x4df560,this[_0x4205('0x1c')]=_0x5ea75b;}[_0x4205('0x11')](_0x110356){const _0x159788=[];for(let _0x4718f1=0x0;_0x4718f1<_0x110356[_0x4205('0x31')];_0x4718f1++){const _0xa7ebb2=_0x110356[_0x4718f1];if(!_0xa7ebb2[_0x4205('0x29')])continue;let _0x2469c3=!0x1;for(const _0x5e6d76 of this[_0x4205('0xb')]){const _0x4758e5=_0x5e6d76(_0xa7ebb2);if(_0x4758e5){'type'in _0x4758e5&&_0x159788[_0x4205('0x2c')](_0x4758e5),_0x2469c3=!0x0;break;}}if(!_0x2469c3){this[_0x4205('0x14')](_0x159788,_0xa7ebb2);const _0x4916d3=_0x110356[_0x4718f1+0x1];if(_0x4916d3&&!_0xa7ebb2[_0x4205('0x19')]()[_0x4205('0x21')][_0x4205('0x34')](_0x4916d3[_0x4205('0x19')]()[_0x4205('0x35')])){const _0x561305=_0x159788[_0x159788['length']-0x1],_0x4ee78a=_0x4205('0x0')==_0xa7ebb2['type']?_0x4205('0xd'):'remove';_0x561305&&'text'==_0x561305['type']&&(_0x561305[_0x4ee78a]+='\x0a');}}}return this['_resolveDescriptionItems'](_0x159788);}[_0x4205('0x2b')](_0x4e9b8d){this[_0x4205('0xb')][_0x4205('0x2c')](_0x4e9b8d);}[_0x4205('0x1f')](_0x58f988,_0x47d4e1,_0x2814b3=_0x10a2bb[_0x4205('0x27')]){_0x4205('0x30')==typeof _0x58f988?_0x3335e1(this['_itemLabelsCallbacks'],{'matchingCallback':_0x58f988,'label':_0x47d4e1,'priority':_0x2814b3}):this[_0x4205('0x8')]['set'](_0x58f988,_0x47d4e1);}[_0x4205('0x28')](_0x3ff494,_0x2ff040=0x1){let _0x2a15c0;for(const _0x2ae108 of this[_0x4205('0x9')])if(_0x2ae108['matchingCallback'](_0x3ff494)){_0x2a15c0=_0x2ae108['label'];break;}return _0x2a15c0||(_0x2a15c0=this[_0x4205('0x8')][_0x4205('0x12')](_0x3ff494['name'])),_0x2a15c0?_0x2a15c0(_0x2ff040):0x1!==_0x2ff040?_0x2ff040+'\x20'+_0x3ff494[_0x4205('0x10')]+'s':''+_0x3ff494['name'];}['_addDescriptionItems'](_0x49abff,_0x2d9244){const _0x3a65bf=_0x2d9244[_0x4205('0x19')]()[_0x4205('0x7')](),_0x248cb9=_0x4205('0x0')==_0x2d9244[_0x4205('0x26')]?_0x4205('0xd'):_0x4205('0x1');for(const _0x3c93b8 of _0x3a65bf){const _0x506c05=_0x3c93b8[_0x4205('0x5')],_0x5913e4=_0x49abff[_0x49abff[_0x4205('0x31')]-0x1];if(_0x506c05['is']('$textProxy'))_0x5913e4&&_0x5913e4['type']['indexOf'](_0x4205('0x15'))>-0x1&&_0x49abff['pop'](),_0x5913e4&&_0x4205('0x36')==_0x5913e4['type']?_0x5913e4[_0x248cb9]+=_0x506c05[_0x4205('0x2')]:_0x49abff[_0x4205('0x2c')]({'type':_0x4205('0x36'),'add':_0x4205('0xd')==_0x248cb9?_0x506c05[_0x4205('0x2')]:'','remove':'remove'==_0x248cb9?_0x506c05[_0x4205('0x2')]:''});else{if(this[_0x4205('0x13')][_0x4205('0x2e')](_0x506c05)){const _0x5c7fbd=_0x506c05;if(_0x5913e4&&_0x5913e4['type'][_0x4205('0x18')]('Container')>-0x1&&_0x49abff['pop'](),_0x4205('0xc')==_0x3c93b8[_0x4205('0x26')])continue;_0x5913e4&&_0x5913e4['type']==_0x248cb9+_0x4205('0x33')&&_0x5913e4[_0x4205('0x32')][_0x4205('0x10')]==_0x5c7fbd[_0x4205('0x10')]?_0x5913e4[_0x4205('0x37')]++:_0x49abff[_0x4205('0x2c')]({'type':_0x248cb9+_0x4205('0x33'),'element':_0x5c7fbd,'quantity':0x1}),_0x3a65bf[_0x4205('0x22')](_0x111893=>!(_0x4205('0xc')==_0x111893[_0x4205('0x26')]&&_0x111893['item']==_0x506c05));}else{if(this[_0x4205('0x13')][_0x4205('0x2d')](_0x506c05,'$text')||_0x506c05['is']('element','softBreak')){const _0x61fbc0=_0x506c05;if(_0x4205('0xd')==_0x248cb9&&_0x4205('0x1a')==_0x3c93b8[_0x4205('0x26')]||_0x4205('0x1')==_0x248cb9&&'elementEnd'==_0x3c93b8[_0x4205('0x26')])continue;if(_0x5913e4&&-0x1==_0x5913e4[_0x4205('0x26')][_0x4205('0x18')](_0x4205('0x15'))){_0x4205('0x36')==_0x5913e4['type']&&(_0x5913e4[_0x248cb9]+='\x0a');continue;}let _0x3a701f;if(_0x3a701f=_0x4205('0xd')==_0x248cb9?_0x61fbc0[_0x4205('0x2f')]&&!this[_0x4205('0x13')][_0x4205('0x2e')](_0x61fbc0[_0x4205('0x2f')])?_0x61fbc0['nextSibling']:null:_0x61fbc0[_0x4205('0x24')]&&!this[_0x4205('0x13')][_0x4205('0x2e')](_0x61fbc0[_0x4205('0x24')])?_0x61fbc0['previousSibling']:null,_0x61fbc0[_0x4205('0x2a')]||_0x3a701f&&_0x3a701f[_0x4205('0x2a')]){const _0x471aeb=_0x3a701f&&_0x3a701f['isEmpty']?_0x3a701f:_0x61fbc0;_0x5913e4&&_0x5913e4[_0x4205('0x26')]==_0x248cb9+'EmptyContainer'&&_0x5913e4[_0x4205('0x32')][_0x4205('0x10')]==_0x471aeb[_0x4205('0x10')]?_0x5913e4[_0x4205('0x37')]++:_0x49abff['push']({'type':_0x248cb9+'EmptyContainer','element':_0x471aeb,'quantity':0x1});}else _0x49abff[_0x4205('0x2c')]({'type':_0x248cb9+_0x4205('0x15'),'element':_0x61fbc0});}}}}}[_0x4205('0x16')](_0x17cea1){const _0x220679=this[_0x4205('0x1c')],_0x3ba2d8=[];for(const _0x58030c of _0x17cea1){switch(_0x58030c[_0x4205('0x26')]){case _0x4205('0x36'):if(_0x58030c[_0x4205('0xd')]=_0x58030c[_0x4205('0xd')][_0x4205('0x3')](/(\S)\u000A+(\S)/g,_0x4205('0x20'))[_0x4205('0x3')](/\u000A/g,''),_0x58030c['remove']=_0x58030c[_0x4205('0x1')][_0x4205('0x3')](/(\S)\u000A+(\S)/g,_0x4205('0x20'))[_0x4205('0x3')](/\u000A/g,''),''!=_0x58030c['add']&&''!=_0x58030c[_0x4205('0x1')]){_0x3ba2d8[_0x4205('0x2c')]({'type':_0x4205('0x3'),'content':_0x5e7a4b(_0x220679,_0x4205('0x4'),['\x22'+_0x58030c['remove']+'\x22','\x22'+_0x58030c[_0x4205('0xd')]+'\x22'])});continue;}if(null!=_0x58030c[_0x4205('0xd')][_0x4205('0x23')](/^ +$/)){_0x3ba2d8[_0x4205('0x2c')]({'type':'insertion','content':_0x5e7a4b(_0x220679,'*Insert:*\x20%0',_0x5e7a4b(_0x220679,_0x4205('0xf'),_0x58030c['add'][_0x4205('0x31')]))});continue;}if(null!=_0x58030c['remove'][_0x4205('0x23')](/^ +$/)){_0x3ba2d8[_0x4205('0x2c')]({'type':_0x4205('0x25'),'content':_0x5e7a4b(_0x220679,_0x4205('0x1d'),_0x5e7a4b(_0x220679,_0x4205('0xf'),_0x58030c[_0x4205('0x1')]['length']))});continue;}if(''!=_0x58030c[_0x4205('0xd')]){_0x3ba2d8[_0x4205('0x2c')]({'type':'insertion','content':_0x5e7a4b(_0x220679,_0x4205('0x6'),'\x22'+_0x58030c[_0x4205('0xd')]+'\x22')});continue;}_0x3ba2d8[_0x4205('0x2c')]({'type':_0x4205('0x25'),'content':_0x5e7a4b(_0x220679,_0x4205('0x1d'),'\x22'+_0x58030c[_0x4205('0x1')]+'\x22')});continue;case'addEmptyContainer':case _0x4205('0x17'):_0x3ba2d8['push']({'type':_0x4205('0x0'),'content':_0x5e7a4b(_0x220679,_0x4205('0x6'),this[_0x4205('0x28')](_0x58030c[_0x4205('0x32')],_0x58030c[_0x4205('0x37')]))});continue;case _0x4205('0x1b'):case _0x4205('0xe'):_0x3ba2d8['push']({'type':_0x4205('0x25'),'content':_0x5e7a4b(_0x220679,_0x4205('0x1d'),this[_0x4205('0x28')](_0x58030c[_0x4205('0x32')],_0x58030c[_0x4205('0x37')]))});continue;case _0x4205('0x1e'):_0x3ba2d8[_0x4205('0x2c')]({'type':_0x4205('0x0'),'content':_0x5e7a4b(_0x220679,_0x4205('0xa'),this[_0x4205('0x28')](_0x58030c[_0x4205('0x32')],_0x58030c[_0x4205('0x37')]))});continue;case'removeContainer':_0x3ba2d8['push']({'type':_0x4205('0x25'),'content':_0x5e7a4b(_0x220679,'*Merge:*\x20%0',this[_0x4205('0x28')](_0x58030c['element'],_0x58030c[_0x4205('0x37')]))});continue;}_0x3ba2d8[_0x4205('0x2c')](_0x58030c);}return _0x3ba2d8;}}
23
+ const _0x2774=['previousSibling','pop','item','removeContainer','removeObject','getWalker','_customCallbacks','ELEMENT_SPACE','removeEmptyContainer','*Split:*\x20%0','EmptyContainer','$textProxy','remove','_locale','addEmptyContainer','match','deletion','insertion','addObject','*Merge:*\x20%0','text','elementEnd','$1\x20$2','getFirstRange','get','set','Object','getDescriptions','type','add','matchingCallback','name','function','*Remove:*\x20%0','checkChild','quantity','_itemLabels','isObject','_addDescriptionItems','isEqual','Container','skip','data','_itemLabelsCallbacks','_resolveDescriptionItems','replace','$text','label','start','indexOf','nextSibling','push','REPLACE_TEXT','_schema','length','element','getItemLabel','elementStart','*Insert:*\x20%0','isEmpty','addContainer'];(function(_0x4bd53a,_0x277422){const _0x2652a8=function(_0x47fef2){while(--_0x47fef2){_0x4bd53a['push'](_0x4bd53a['shift']());}};_0x2652a8(++_0x277422);}(_0x2774,0x1a2));const _0x2652=function(_0x4bd53a,_0x277422){_0x4bd53a=_0x4bd53a-0x0;let _0x2652a8=_0x2774[_0x4bd53a];return _0x2652a8;};import{getTranslation as _0xbf4356}from'./utils/common-translations';import{priorities as _0x58b9ef,insertToPriorityArray as _0x2d78a7}from'ckeditor5/src/utils';export default class m{constructor(_0x4e7d0e,_0x1d05e1){this[_0x2652('0xf')]=[],this[_0x2652('0x2d')]=new Map(),this[_0x2652('0x34')]=[],this[_0x2652('0x1')]=_0x4e7d0e,this[_0x2652('0x16')]=_0x1d05e1;}[_0x2652('0x24')](_0x349331){const _0x18181a=[];for(let _0xd4c7d1=0x0;_0xd4c7d1<_0x349331[_0x2652('0x2')];_0xd4c7d1++){const _0x119730=_0x349331[_0xd4c7d1];if(!_0x119730['isInContent'])continue;let _0x57be0c=!0x1;for(const _0x5302d6 of this[_0x2652('0xf')]){const _0x56b17b=_0x5302d6(_0x119730);if(_0x56b17b){_0x2652('0x25')in _0x56b17b&&_0x18181a['push'](_0x56b17b),_0x57be0c=!0x0;break;}}if(!_0x57be0c){this[_0x2652('0x2f')](_0x18181a,_0x119730);const _0x2d4876=_0x349331[_0xd4c7d1+0x1];if(_0x2d4876&&!_0x119730[_0x2652('0x20')]()['end'][_0x2652('0x30')](_0x2d4876['getFirstRange']()[_0x2652('0x39')])){const _0x3ca0e0=_0x18181a[_0x18181a[_0x2652('0x2')]-0x1],_0x4ba374=_0x2652('0x1a')==_0x119730[_0x2652('0x25')]?_0x2652('0x26'):_0x2652('0x15');_0x3ca0e0&&'text'==_0x3ca0e0[_0x2652('0x25')]&&(_0x3ca0e0[_0x4ba374]+='\x0a');}}}return this[_0x2652('0x35')](_0x18181a);}['registerDescriptionCallback'](_0x95f0b2){this[_0x2652('0xf')]['push'](_0x95f0b2);}['registerElementLabel'](_0x3e8dcc,_0x458d65,_0x324974=_0x58b9ef['normal']){_0x2652('0x29')==typeof _0x3e8dcc?_0x2d78a7(this[_0x2652('0x34')],{'matchingCallback':_0x3e8dcc,'label':_0x458d65,'priority':_0x324974}):this[_0x2652('0x2d')][_0x2652('0x22')](_0x3e8dcc,_0x458d65);}[_0x2652('0x4')](_0x547a99,_0xe3fd4a=0x1){let _0x1cbd9d;for(const _0x4e6b1d of this[_0x2652('0x34')])if(_0x4e6b1d[_0x2652('0x27')](_0x547a99)){_0x1cbd9d=_0x4e6b1d[_0x2652('0x38')];break;}return _0x1cbd9d||(_0x1cbd9d=this['_itemLabels'][_0x2652('0x21')](_0x547a99[_0x2652('0x28')])),_0x1cbd9d?_0x1cbd9d(_0xe3fd4a):0x1!==_0xe3fd4a?_0xe3fd4a+'\x20'+_0x547a99['name']+'s':''+_0x547a99[_0x2652('0x28')];}[_0x2652('0x2f')](_0x1af2a1,_0x4f2f3b){const _0x42fbf6=_0x4f2f3b[_0x2652('0x20')]()[_0x2652('0xe')](),_0xcd4cd0=_0x2652('0x1a')==_0x4f2f3b[_0x2652('0x25')]?'add':_0x2652('0x15');for(const _0x1450cd of _0x42fbf6){const _0x4b865c=_0x1450cd[_0x2652('0xb')],_0x389479=_0x1af2a1[_0x1af2a1[_0x2652('0x2')]-0x1];if(_0x4b865c['is'](_0x2652('0x14')))_0x389479&&_0x389479[_0x2652('0x25')]['indexOf']('Container')>-0x1&&_0x1af2a1[_0x2652('0xa')](),_0x389479&&_0x2652('0x1d')==_0x389479['type']?_0x389479[_0xcd4cd0]+=_0x4b865c[_0x2652('0x33')]:_0x1af2a1[_0x2652('0x3c')]({'type':'text','add':_0x2652('0x26')==_0xcd4cd0?_0x4b865c[_0x2652('0x33')]:'','remove':_0x2652('0x15')==_0xcd4cd0?_0x4b865c[_0x2652('0x33')]:''});else{if(this[_0x2652('0x1')][_0x2652('0x2e')](_0x4b865c)){const _0xb97f57=_0x4b865c;if(_0x389479&&_0x389479[_0x2652('0x25')]['indexOf'](_0x2652('0x31'))>-0x1&&_0x1af2a1[_0x2652('0xa')](),_0x2652('0x1e')==_0x1450cd[_0x2652('0x25')])continue;_0x389479&&_0x389479[_0x2652('0x25')]==_0xcd4cd0+_0x2652('0x23')&&_0x389479['element']['name']==_0xb97f57[_0x2652('0x28')]?_0x389479['quantity']++:_0x1af2a1[_0x2652('0x3c')]({'type':_0xcd4cd0+_0x2652('0x23'),'element':_0xb97f57,'quantity':0x1}),_0x42fbf6[_0x2652('0x32')](_0x35ff91=>!(_0x2652('0x1e')==_0x35ff91['type']&&_0x35ff91[_0x2652('0xb')]==_0x4b865c));}else{if(this[_0x2652('0x1')][_0x2652('0x2b')](_0x4b865c,_0x2652('0x37'))||_0x4b865c['is'](_0x2652('0x3'),'softBreak')){const _0x9f8b28=_0x4b865c;if(_0x2652('0x26')==_0xcd4cd0&&_0x2652('0x5')==_0x1450cd[_0x2652('0x25')]||_0x2652('0x15')==_0xcd4cd0&&_0x2652('0x1e')==_0x1450cd['type'])continue;if(_0x389479&&-0x1==_0x389479['type'][_0x2652('0x3a')](_0x2652('0x31'))){_0x2652('0x1d')==_0x389479['type']&&(_0x389479[_0xcd4cd0]+='\x0a');continue;}let _0x312ebd;if(_0x312ebd=_0x2652('0x26')==_0xcd4cd0?_0x9f8b28[_0x2652('0x3b')]&&!this[_0x2652('0x1')][_0x2652('0x2e')](_0x9f8b28['nextSibling'])?_0x9f8b28[_0x2652('0x3b')]:null:_0x9f8b28[_0x2652('0x9')]&&!this[_0x2652('0x1')][_0x2652('0x2e')](_0x9f8b28[_0x2652('0x9')])?_0x9f8b28[_0x2652('0x9')]:null,_0x9f8b28[_0x2652('0x7')]||_0x312ebd&&_0x312ebd[_0x2652('0x7')]){const _0x383718=_0x312ebd&&_0x312ebd['isEmpty']?_0x312ebd:_0x9f8b28;_0x389479&&_0x389479[_0x2652('0x25')]==_0xcd4cd0+_0x2652('0x13')&&_0x389479[_0x2652('0x3')][_0x2652('0x28')]==_0x383718[_0x2652('0x28')]?_0x389479[_0x2652('0x2c')]++:_0x1af2a1[_0x2652('0x3c')]({'type':_0xcd4cd0+_0x2652('0x13'),'element':_0x383718,'quantity':0x1});}else _0x1af2a1['push']({'type':_0xcd4cd0+_0x2652('0x31'),'element':_0x9f8b28});}}}}}[_0x2652('0x35')](_0x16fb0c){const _0x4dcac1=this['_locale'],_0x2f24a8=[];for(const _0x3f2397 of _0x16fb0c){switch(_0x3f2397[_0x2652('0x25')]){case _0x2652('0x1d'):if(_0x3f2397[_0x2652('0x26')]=_0x3f2397[_0x2652('0x26')][_0x2652('0x36')](/(\S)\u000A+(\S)/g,_0x2652('0x1f'))['replace'](/\u000A/g,''),_0x3f2397[_0x2652('0x15')]=_0x3f2397['remove'][_0x2652('0x36')](/(\S)\u000A+(\S)/g,_0x2652('0x1f'))[_0x2652('0x36')](/\u000A/g,''),''!=_0x3f2397[_0x2652('0x26')]&&''!=_0x3f2397[_0x2652('0x15')]){_0x2f24a8[_0x2652('0x3c')]({'type':_0x2652('0x36'),'content':_0xbf4356(_0x4dcac1,_0x2652('0x0'),['\x22'+_0x3f2397['remove']+'\x22','\x22'+_0x3f2397[_0x2652('0x26')]+'\x22'])});continue;}if(null!=_0x3f2397[_0x2652('0x26')][_0x2652('0x18')](/^ +$/)){_0x2f24a8[_0x2652('0x3c')]({'type':'insertion','content':_0xbf4356(_0x4dcac1,_0x2652('0x6'),_0xbf4356(_0x4dcac1,_0x2652('0x10'),_0x3f2397[_0x2652('0x26')][_0x2652('0x2')]))});continue;}if(null!=_0x3f2397[_0x2652('0x15')][_0x2652('0x18')](/^ +$/)){_0x2f24a8[_0x2652('0x3c')]({'type':_0x2652('0x19'),'content':_0xbf4356(_0x4dcac1,_0x2652('0x2a'),_0xbf4356(_0x4dcac1,_0x2652('0x10'),_0x3f2397[_0x2652('0x15')]['length']))});continue;}if(''!=_0x3f2397['add']){_0x2f24a8[_0x2652('0x3c')]({'type':'insertion','content':_0xbf4356(_0x4dcac1,_0x2652('0x6'),'\x22'+_0x3f2397[_0x2652('0x26')]+'\x22')});continue;}_0x2f24a8['push']({'type':_0x2652('0x19'),'content':_0xbf4356(_0x4dcac1,_0x2652('0x2a'),'\x22'+_0x3f2397[_0x2652('0x15')]+'\x22')});continue;case _0x2652('0x17'):case _0x2652('0x1b'):_0x2f24a8[_0x2652('0x3c')]({'type':_0x2652('0x1a'),'content':_0xbf4356(_0x4dcac1,_0x2652('0x6'),this[_0x2652('0x4')](_0x3f2397['element'],_0x3f2397[_0x2652('0x2c')]))});continue;case _0x2652('0x11'):case _0x2652('0xd'):_0x2f24a8['push']({'type':_0x2652('0x19'),'content':_0xbf4356(_0x4dcac1,_0x2652('0x2a'),this[_0x2652('0x4')](_0x3f2397['element'],_0x3f2397[_0x2652('0x2c')]))});continue;case _0x2652('0x8'):_0x2f24a8['push']({'type':_0x2652('0x1a'),'content':_0xbf4356(_0x4dcac1,_0x2652('0x12'),this['getItemLabel'](_0x3f2397[_0x2652('0x3')],_0x3f2397[_0x2652('0x2c')]))});continue;case _0x2652('0xc'):_0x2f24a8[_0x2652('0x3c')]({'type':_0x2652('0x19'),'content':_0xbf4356(_0x4dcac1,_0x2652('0x1c'),this[_0x2652('0x4')](_0x3f2397['element'],_0x3f2397[_0x2652('0x2c')]))});continue;}_0x2f24a8[_0x2652('0x3c')](_0x3f2397);}return _0x2f24a8;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x2ad6=['getSuggestions','adapter','Comments','TrackChanges','plugins','addSuggestion','requires','editor','get','addSuggestionData','getSuggestion'];(function(_0x1b5936,_0x2ad646){var _0x3c4413=function(_0x578c9d){while(--_0x578c9d){_0x1b5936['push'](_0x1b5936['shift']());}};_0x3c4413(++_0x2ad646);}(_0x2ad6,0xd6));var _0x3c44=function(_0x1b5936,_0x2ad646){_0x1b5936=_0x1b5936-0x0;var _0x3c4413=_0x2ad6[_0x1b5936];return _0x3c4413;};import{Plugin as _0x28ba60}from'ckeditor5/src/core';import _0x266104 from'./trackchangesui';import _0x57df86 from'./trackchangesediting';import'ckeditor5-collaboration/src/collaboration-core';export default class k extends _0x28ba60{static get[_0x3c44('0x1')](){return[_0x57df86,_0x266104,_0x3c44('0x8')];}static get['pluginName'](){return _0x3c44('0x9');}set[_0x3c44('0x7')](_0x12f3f8){this[_0x3c44('0x2')][_0x3c44('0xa')][_0x3c44('0x3')](_0x57df86)[_0x3c44('0x7')]=_0x12f3f8;}get[_0x3c44('0x7')](){return this[_0x3c44('0x2')][_0x3c44('0xa')][_0x3c44('0x3')](_0x57df86)[_0x3c44('0x7')];}[_0x3c44('0x0')](_0x10c17b){return this[_0x3c44('0x2')][_0x3c44('0xa')]['get'](_0x57df86)[_0x3c44('0x4')](_0x10c17b);}[_0x3c44('0x6')]({skipNotAttached:_0x724940=!0x1,toJSON:_0x42487a=!0x1}={}){return this[_0x3c44('0x2')]['plugins'][_0x3c44('0x3')](_0x57df86)[_0x3c44('0x6')]({'skipNotAttached':_0x724940,'toJSON':_0x42487a});}[_0x3c44('0x5')](_0x52d7a7){return this[_0x3c44('0x2')]['plugins'][_0x3c44('0x3')](_0x57df86)[_0x3c44('0x5')](_0x52d7a7);}}
23
+ var _0x3cc8=['addSuggestion','editor','TrackChanges','get','addSuggestionData','getSuggestion','getSuggestions','adapter','pluginName','plugins'];(function(_0x1e6193,_0x3cc828){var _0x53d083=function(_0x270eb5){while(--_0x270eb5){_0x1e6193['push'](_0x1e6193['shift']());}};_0x53d083(++_0x3cc828);}(_0x3cc8,0xe3));var _0x53d0=function(_0x1e6193,_0x3cc828){_0x1e6193=_0x1e6193-0x0;var _0x53d083=_0x3cc8[_0x1e6193];return _0x53d083;};import{Plugin as _0x22d8b2}from'ckeditor5/src/core';import _0x16c325 from'./trackchangesui';import _0x485193 from'./trackchangesediting';import'ckeditor5-collaboration/src/collaboration-core';export default class k extends _0x22d8b2{static get['requires'](){return[_0x485193,_0x16c325,'Comments'];}static get[_0x53d0('0x1')](){return _0x53d0('0x5');}set[_0x53d0('0x0')](_0x22d12e){this[_0x53d0('0x4')][_0x53d0('0x2')][_0x53d0('0x6')](_0x485193)[_0x53d0('0x0')]=_0x22d12e;}get[_0x53d0('0x0')](){return this[_0x53d0('0x4')][_0x53d0('0x2')][_0x53d0('0x6')](_0x485193)[_0x53d0('0x0')];}[_0x53d0('0x3')](_0x19561e){return this[_0x53d0('0x4')][_0x53d0('0x2')][_0x53d0('0x6')](_0x485193)[_0x53d0('0x7')](_0x19561e);}[_0x53d0('0x9')]({skipNotAttached:_0x387c40=!0x1,toJSON:_0x578d69=!0x1}={}){return this[_0x53d0('0x4')][_0x53d0('0x2')][_0x53d0('0x6')](_0x485193)['getSuggestions']({'skipNotAttached':_0x387c40,'toJSON':_0x578d69});}[_0x53d0('0x8')](_0x2862c8){return this[_0x53d0('0x4')][_0x53d0('0x2')][_0x53d0('0x6')](_0x485193)['getSuggestion'](_0x2862c8);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x17a3=['trackChangesData.editorCreator','config','name','constructor','getRootNames','data','useAnonymousUser','_adapter','set','end','TrackChangesEditing','CommentsRepository','push','Users','get','getRootsAttributes','editor','getUser','rootsAttributes','create','requires','createDocumentFragment','getDataWithAcceptedSuggestions','createElement','TrackChangesData','addSuggestionData','result','editorCreator','pluginName','document','define','init','TrackChangesDataGetter','trackChangesData','reduce','plugins','model','getFullData','div','addUser','acceptAllSuggestions','track-changes-data-invalid-editor-creator','function'];(function(_0x55dda8,_0x17a364){const _0x2c3c0c=function(_0x2086f4){while(--_0x2086f4){_0x55dda8['push'](_0x55dda8['shift']());}};_0x2c3c0c(++_0x17a364);}(_0x17a3,0x1cd));const _0x2c3c=function(_0x55dda8,_0x17a364){_0x55dda8=_0x55dda8-0x0;let _0x2c3c0c=_0x17a3[_0x55dda8];return _0x2c3c0c;};import{Plugin as _0x43bea4}from'ckeditor5/src/core';import{CKEditorError as _0x2cca19}from'ckeditor5/src/utils';import _0x50f969 from'./trackchangesediting';import{sanitizeEditorConfig as _0x52741a}from'ckeditor5-collaboration/src/collaboration-core';const w=['Pagination'];export default class T extends _0x43bea4{static get[_0x2c3c('0x20')](){return[_0x50f969];}static get[_0x2c3c('0x28')](){return _0x2c3c('0x24');}[_0x2c3c('0x0')](){const _0x45bb73=this[_0x2c3c('0x1c')];if(_0x45bb73['config'][_0x2c3c('0x2a')](_0x2c3c('0xc'),_0x444936=>{const _0x370ad5=_0x45bb73['model'][_0x2c3c('0x29')][_0x2c3c('0x10')]()['reduce']((_0x6eb257,_0x39e895)=>(_0x6eb257[_0x39e895]='',_0x6eb257),{});return _0x45bb73[_0x2c3c('0xf')][_0x2c3c('0x1f')](_0x370ad5,_0x444936);}),_0x2c3c('0xb')!=typeof _0x45bb73['config'][_0x2c3c('0x1a')]('trackChangesData')[_0x2c3c('0x27')])throw new _0x2cca19(_0x2c3c('0xa'));}[_0x2c3c('0x22')](_0x496f7b){return v(this['editor'],!0x0,_0x496f7b);}['getDataWithDiscardedSuggestions'](_0x42c4a6){return v(this[_0x2c3c('0x1c')],!0x1,_0x42c4a6);}}class P extends _0x43bea4{static get['pluginName'](){return _0x2c3c('0x1');}constructor(_0x563452){super(_0x563452),this[_0x2c3c('0x26')]=_0x2c3c('0x15');}[_0x2c3c('0x0')](){this[_0x2c3c('0x1c')][_0x2c3c('0x4')][_0x2c3c('0x1a')](_0x2c3c('0x17'))['_adapter']={'addCommentThread':()=>new Promise(()=>{}),'getCommentThread':()=>new Promise(()=>{}),'updateCommentThread':()=>new Promise(()=>{}),'resolveCommentThread':()=>new Promise(()=>{}),'reopenCommentThread':()=>new Promise(()=>{}),'removeCommentThread':()=>new Promise(()=>{}),'addComment':()=>new Promise(()=>{}),'updateComment':()=>new Promise(()=>{}),'removeComment':()=>new Promise(()=>{})},this['editor'][_0x2c3c('0x4')][_0x2c3c('0x1a')](_0x2c3c('0x16'))[_0x2c3c('0x13')]=null;}}function D(_0x5022b2){return void 0x0!==_0x5022b2[_0x2c3c('0x1b')];}async function v(_0x175d46,_0xbda9e2,_0x999c02){const _0x55d1bb=_0x52741a(_0x175d46,w);_0x55d1bb['plugins'][_0x2c3c('0x18')](_0x50f969,P),_0x55d1bb[_0x2c3c('0x1e')]=D(_0x175d46)?_0x175d46[_0x2c3c('0x1b')]():void 0x0;const _0x2112b6=document[_0x2c3c('0x21')](),_0x100247=_0x175d46[_0x2c3c('0xd')][_0x2c3c('0x1a')](_0x2c3c('0x2'))[_0x2c3c('0x27')],_0x2543b5=await _0x100247(_0x55d1bb,()=>function(_0x13eadc){const _0x76a0a9=document[_0x2c3c('0x23')](_0x2c3c('0x7'));return _0x13eadc['appendChild'](_0x76a0a9),_0x76a0a9;}(_0x2112b6));!function(_0x2ba1c3,_0xde4d6f){const _0x465448=_0x2ba1c3[_0x2c3c('0x5')][_0x2c3c('0x29')][_0x2c3c('0x10')]()[_0x2c3c('0x3')]((_0xa96228,_0x1697a3)=>(_0xa96228[_0x1697a3]=_0x2ba1c3[_0x2c3c('0x11')][_0x2c3c('0x1a')]({'rootName':_0x1697a3}),_0xa96228),{}),_0x10a21c=_0x2ba1c3['plugins'][_0x2c3c('0x1a')](_0x2c3c('0x19'))['users']['map'](_0x755d5f=>({'id':_0x755d5f['id'],'name':_0x755d5f[_0x2c3c('0xe')]})),_0x3d5869=_0x2ba1c3[_0x2c3c('0x4')]['get'](_0x2c3c('0x16'))['getSuggestions']({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x2fd083=_0xde4d6f[_0x2c3c('0x4')][_0x2c3c('0x1a')](_0x2c3c('0x19')),_0x3c5bc4=_0xde4d6f[_0x2c3c('0x4')]['get'](_0x2c3c('0x16'));for(const _0x29bff0 of _0x10a21c)_0x2fd083[_0x2c3c('0x1d')](_0x29bff0['id'])||_0x2fd083[_0x2c3c('0x8')](_0x29bff0);_0x2fd083['me']||_0x2fd083[_0x2c3c('0x12')]();for(const _0x5d08c5 of _0x3d5869)_0x3c5bc4[_0x2c3c('0x25')](_0x5d08c5);_0xde4d6f[_0x2c3c('0x11')][_0x2c3c('0x14')](_0x465448);}(_0x175d46,_0x2543b5),_0x2543b5['execute'](_0xbda9e2?_0x2c3c('0x9'):'discardAllSuggestions');const _0x41e8f6=D(_0x2543b5)?_0x2543b5[_0x2c3c('0x6')](_0x999c02):_0x2543b5['data'][_0x2c3c('0x1a')](_0x999c02);return await _0x2543b5['destroy'](),_0x41e8f6;}
23
+ const _0x171d=['editorCreator','TrackChangesDataGetter','end','function','discardAllSuggestions','plugins','pluginName','TrackChangesEditing','trackChangesData.editorCreator','data','TrackChangesData','getDataWithDiscardedSuggestions','getRootsAttributes','push','config','document','editor','rootsAttributes','reduce','div','_adapter','addSuggestionData','trackChangesData','init','model','getUser','set','getFullData','map','constructor','define','result','createElement','track-changes-data-invalid-editor-creator','createDocumentFragment','get','getRootNames','requires','name','addUser','Users'];(function(_0x353f2b,_0x171d91){const _0xcbb22=function(_0xb49e17){while(--_0xb49e17){_0x353f2b['push'](_0x353f2b['shift']());}};_0xcbb22(++_0x171d91);}(_0x171d,0x143));const _0xcbb2=function(_0x353f2b,_0x171d91){_0x353f2b=_0x353f2b-0x0;let _0xcbb22=_0x171d[_0x353f2b];return _0xcbb22;};import{Plugin as _0x3be48e}from'ckeditor5/src/core';import{CKEditorError as _0x1c6261}from'ckeditor5/src/utils';import _0x3b050d from'./trackchangesediting';import{sanitizeEditorConfig as _0x1e38dd}from'ckeditor5-collaboration/src/collaboration-core';const w=['Pagination'];export default class T extends _0x3be48e{static get[_0xcbb2('0x1')](){return[_0x3b050d];}static get[_0xcbb2('0xb')](){return _0xcbb2('0xf');}[_0xcbb2('0x1c')](){const _0x3edc8c=this['editor'];if(_0x3edc8c[_0xcbb2('0x13')][_0xcbb2('0x23')](_0xcbb2('0xd'),_0x5875d0=>{const _0x5781f4=_0x3edc8c[_0xcbb2('0x1d')][_0xcbb2('0x14')][_0xcbb2('0x0')]()['reduce']((_0x442a19,_0x4be345)=>(_0x442a19[_0x4be345]='',_0x442a19),{});return _0x3edc8c[_0xcbb2('0x22')]['create'](_0x5781f4,_0x5875d0);}),_0xcbb2('0x8')!=typeof _0x3edc8c[_0xcbb2('0x13')][_0xcbb2('0x28')]('trackChangesData')[_0xcbb2('0x5')])throw new _0x1c6261(_0xcbb2('0x26'));}['getDataWithAcceptedSuggestions'](_0x33ea3c){return v(this[_0xcbb2('0x15')],!0x0,_0x33ea3c);}[_0xcbb2('0x10')](_0x272781){return v(this[_0xcbb2('0x15')],!0x1,_0x272781);}}class P extends _0x3be48e{static get[_0xcbb2('0xb')](){return _0xcbb2('0x6');}constructor(_0x205f44){super(_0x205f44),this[_0xcbb2('0x24')]=_0xcbb2('0x7');}[_0xcbb2('0x1c')](){this[_0xcbb2('0x15')]['plugins']['get']('CommentsRepository')['_adapter']={'addCommentThread':()=>new Promise(()=>{}),'getCommentThread':()=>new Promise(()=>{}),'updateCommentThread':()=>new Promise(()=>{}),'resolveCommentThread':()=>new Promise(()=>{}),'reopenCommentThread':()=>new Promise(()=>{}),'removeCommentThread':()=>new Promise(()=>{}),'addComment':()=>new Promise(()=>{}),'updateComment':()=>new Promise(()=>{}),'removeComment':()=>new Promise(()=>{})},this['editor'][_0xcbb2('0xa')][_0xcbb2('0x28')](_0xcbb2('0xc'))[_0xcbb2('0x19')]=null;}}function D(_0x24b2b8){return void 0x0!==_0x24b2b8['getRootsAttributes'];}async function v(_0x172067,_0x29a093,_0x37935c){const _0x537c2f=_0x1e38dd(_0x172067,w);_0x537c2f[_0xcbb2('0xa')][_0xcbb2('0x12')](_0x3b050d,P),_0x537c2f[_0xcbb2('0x16')]=D(_0x172067)?_0x172067[_0xcbb2('0x11')]():void 0x0;const _0x307286=document[_0xcbb2('0x27')](),_0x2525fe=_0x172067[_0xcbb2('0x13')][_0xcbb2('0x28')](_0xcbb2('0x1b'))[_0xcbb2('0x5')],_0x54566b=await _0x2525fe(_0x537c2f,()=>function(_0x10b9f1){const _0x357f1e=document[_0xcbb2('0x25')](_0xcbb2('0x18'));return _0x10b9f1['appendChild'](_0x357f1e),_0x357f1e;}(_0x307286));!function(_0xb10de1,_0x64afd4){const _0x4bbad5=_0xb10de1['model'][_0xcbb2('0x14')]['getRootNames']()[_0xcbb2('0x17')]((_0x1b0f15,_0x3c1930)=>(_0x1b0f15[_0x3c1930]=_0xb10de1[_0xcbb2('0xe')][_0xcbb2('0x28')]({'rootName':_0x3c1930}),_0x1b0f15),{}),_0x1731f5=_0xb10de1['plugins']['get']('Users')['users'][_0xcbb2('0x21')](_0x325099=>({'id':_0x325099['id'],'name':_0x325099[_0xcbb2('0x2')]})),_0x5db72a=_0xb10de1[_0xcbb2('0xa')][_0xcbb2('0x28')](_0xcbb2('0xc'))['getSuggestions']({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x4aaf66=_0x64afd4[_0xcbb2('0xa')]['get'](_0xcbb2('0x4')),_0x565c85=_0x64afd4[_0xcbb2('0xa')][_0xcbb2('0x28')](_0xcbb2('0xc'));for(const _0x112afe of _0x1731f5)_0x4aaf66[_0xcbb2('0x1e')](_0x112afe['id'])||_0x4aaf66[_0xcbb2('0x3')](_0x112afe);_0x4aaf66['me']||_0x4aaf66['useAnonymousUser']();for(const _0x1a3cc8 of _0x5db72a)_0x565c85[_0xcbb2('0x1a')](_0x1a3cc8);_0x64afd4[_0xcbb2('0xe')][_0xcbb2('0x1f')](_0x4bbad5);}(_0x172067,_0x54566b),_0x54566b['execute'](_0x29a093?'acceptAllSuggestions':_0xcbb2('0x9'));const _0x155a41=D(_0x54566b)?_0x54566b[_0xcbb2('0x20')](_0x37935c):_0x54566b['data']['get'](_0x37935c);return await _0x54566b['destroy'](),_0x155a41;}