@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20230817.0 → 0.0.0-nightly-20230818.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 _0x3883=['hasComments','isIntersectingWithRange','size','getItems','getFirstRange','createdAt','getMarkers','author','commentThread','start','isIntersecting','getMultiRangeId','add','getContainedElement','isMultiRange','next','_model','head','removeAttribute','_saved','split','onAttributesChange','addMarkerName','data','push','from','_onAttributesChange','removeMarkers','decorate','map','suggestion:','creator','isInContent','change','length','getRange','attributes','get','addMarker','_onDiscard','getMarkerNames','end','removeMarker','@external','getRanges','_onAccept','accept','getAllAdjacentSuggestions','getFirstMarker','toJSON','discard','previous','_markerNames','onDiscard','subType','type','set','delete','clear','nodeBefore','reduce'];(function(_0x48ea2d,_0x3883b0){const _0x16c7a4=function(_0x4d738e){while(--_0x4d738e){_0x48ea2d['push'](_0x48ea2d['shift']());}};_0x16c7a4(++_0x3883b0);}(_0x3883,0x196));const _0x16c7=function(_0x48ea2d,_0x3883b0){_0x48ea2d=_0x48ea2d-0x0;let _0x16c7a4=_0x3883[_0x48ea2d];return _0x16c7a4;};import{Element as _0x3eb65d}from'ckeditor5/src/engine';import{ObservableMixin as _0x511785,uid as _0x1b8a24}from'ckeditor5/src/utils';import{cloneDeep as _0x4392ca,isEqual as _0x4dc4ae,set as _0x1bddf8,unset as _0x5782de}from'lodash-es';export default class u extends _0x511785(){constructor(_0x2f14e8,_0x372de2){super(),this['id']=_0x372de2['id'],this[_0x16c7('0xf')]=_0x372de2[_0x16c7('0xf')],this[_0x16c7('0xe')]=_0x372de2['subType']||null,this[_0x16c7('0x1c')]=_0x372de2[_0x16c7('0x1c')],this[_0x16c7('0x34')]=_0x372de2[_0x16c7('0x34')]||_0x372de2['author'],this['isExternal']=Boolean(_0x372de2[_0x16c7('0x39')]&&_0x372de2[_0x16c7('0x39')][_0x16c7('0x3')]),this[_0x16c7('0x2c')]=null,this[_0x16c7('0x25')]=_0x2f14e8,this['_onAccept']=_0x372de2['onAccept'],this[_0x16c7('0x3c')]=_0x372de2[_0x16c7('0xd')],this[_0x16c7('0x2f')]=_0x372de2[_0x16c7('0x2a')],this['_markerNames']=new Set(),this['createdAt']=null,this[_0x16c7('0x10')]('authoredAt',null),this[_0x16c7('0x10')](_0x16c7('0x39'),_0x372de2['attributes']||{}),this[_0x16c7('0x10')](_0x16c7('0xb'),null),this[_0x16c7('0x10')](_0x16c7('0x24'),null),this[_0x16c7('0x10')](_0x16c7('0x1d'),null),this[_0x16c7('0x10')](_0x16c7('0x28'),!0x1),this[_0x16c7('0x31')]('accept'),this[_0x16c7('0x31')]('discard');}get[_0x16c7('0x26')](){let _0x5640b6=this;for(;_0x5640b6['previous'];)_0x5640b6=_0x5640b6[_0x16c7('0xb')];return _0x5640b6;}get['hasComments'](){return!!this[_0x16c7('0x1d')]&&this['commentThread']['length']>0x0;}get[_0x16c7('0x23')](){if(0x0==this[_0x16c7('0xc')][_0x16c7('0x17')])return!0x1;return 0x6==Array['from'](this['_markerNames'])[0x0][_0x16c7('0x29')](':')[_0x16c7('0x37')];}get[_0x16c7('0x35')](){return null!==this[_0x16c7('0x8')]();}['addMarkerName'](_0x2638ab){this['_markerNames'][_0x16c7('0x21')](_0x2638ab);}[_0x16c7('0x0')](){return Array[_0x16c7('0x2e')](this[_0x16c7('0xc')]);}[_0x16c7('0x1b')](){return this[_0x16c7('0x0')]()['map'](_0x278680=>this[_0x16c7('0x25')]['markers'][_0x16c7('0x3a')](_0x278680))['filter'](_0x4d5bd5=>_0x4d5bd5);}['getFirstMarker'](){return this[_0x16c7('0x1b')]()[0x0]||null;}[_0x16c7('0x30')](){this[_0x16c7('0x25')]['change'](_0x981dc6=>{for(const _0x7b3a5e of this[_0x16c7('0x1b')]())_0x981dc6[_0x16c7('0x2')](_0x7b3a5e);}),this[_0x16c7('0xc')][_0x16c7('0x12')]();}[_0x16c7('0x2')](_0x40d535){this[_0x16c7('0x25')][_0x16c7('0x36')](_0x5c2ff1=>{_0x5c2ff1['removeMarker'](_0x40d535);}),this['_markerNames'][_0x16c7('0x11')](_0x40d535);}['addRange'](_0x4ed4a2){const _0x47c881=_0x16c7('0x33')+this['type']+':'+this[_0x16c7('0xe')]+':'+this['id']+':'+this[_0x16c7('0x34')]['id']+':'+u[_0x16c7('0x20')]();this[_0x16c7('0x2b')](_0x47c881),this[_0x16c7('0x25')]['change'](_0x1ddec9=>{_0x1ddec9[_0x16c7('0x3b')](_0x47c881,{'range':_0x4ed4a2,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x16c7('0x16')](_0x4159b7){for(const _0x1fe924 of this[_0x16c7('0x4')]())if(_0x1fe924[_0x16c7('0x1f')](_0x4159b7))return!0x0;return!0x1;}[_0x16c7('0x4')](){return this[_0x16c7('0x1b')]()[_0x16c7('0x32')](_0x2e3e07=>_0x2e3e07[_0x16c7('0x38')]());}['getItems'](){return this[_0x16c7('0x4')]()[_0x16c7('0x14')]((_0x369cd0,_0x4fc94a)=>[..._0x369cd0,..._0x4fc94a[_0x16c7('0x18')]()],[]);}[_0x16c7('0x19')](){var _0xf48d2e;return(null===(_0xf48d2e=this[_0x16c7('0x8')]())||void 0x0===_0xf48d2e?void 0x0:_0xf48d2e[_0x16c7('0x38')]())||null;}[_0x16c7('0x22')](){const _0x5a2cfb=this['getRanges']();if(0x1!=_0x5a2cfb[_0x16c7('0x37')])return null;const _0x21cc0e=_0x5a2cfb[0x0],_0x21ea6f=_0x21cc0e[_0x16c7('0x1e')]['nodeAfter'],_0x73dfa1=_0x21cc0e[_0x16c7('0x1')][_0x16c7('0x13')];return _0x21ea6f instanceof _0x3eb65d?_0x21ea6f!=_0x73dfa1?null:_0x21ea6f:null;}[_0x16c7('0x6')](){this[_0x16c7('0x5')](this[_0x16c7('0x4')](),this['data'],this[_0x16c7('0x39')]),this[_0x16c7('0x30')]();}[_0x16c7('0xa')](){this['_onDiscard'](this['getRanges'](),this[_0x16c7('0x2c')],this[_0x16c7('0x39')]),this[_0x16c7('0x30')]();}[_0x16c7('0x7')](){const _0x5b8ef3=[];let _0x16f03a=this[_0x16c7('0x26')];for(;_0x16f03a;)_0x5b8ef3[_0x16c7('0x2d')](_0x16f03a),_0x16f03a=_0x16f03a[_0x16c7('0x24')];return _0x5b8ef3;}['setAttribute'](_0x3e4c92,_0x3cc851){const _0x3eb380=_0x4392ca(this[_0x16c7('0x39')]);_0x1bddf8(_0x3eb380,_0x3e4c92,_0x3cc851),_0x4dc4ae(_0x3eb380,this[_0x16c7('0x39')])||(this[_0x16c7('0x39')]=_0x3eb380,this[_0x16c7('0x2f')](_0x3eb380));}[_0x16c7('0x27')](_0x53a6fc){const _0x1d4302=_0x4392ca(this[_0x16c7('0x39')]);_0x5782de(_0x1d4302,_0x53a6fc),_0x4dc4ae(_0x1d4302,this[_0x16c7('0x39')])||(this[_0x16c7('0x39')]=_0x1d4302,this[_0x16c7('0x2f')](this[_0x16c7('0x39')]));}[_0x16c7('0x9')](){return{'id':this['id'],'type':this[_0x16c7('0xe')]?this[_0x16c7('0xf')]+':'+this[_0x16c7('0xe')]:this[_0x16c7('0xf')],'authorId':this[_0x16c7('0x34')]['id'],'createdAt':this[_0x16c7('0x1a')],'hasComments':this[_0x16c7('0x15')],'data':this['data'],'attributes':this[_0x16c7('0x39')]};}static[_0x16c7('0x20')](){return _0x1b8a24()['substr'](0x1,0x5);}}
23
+ const _0x5b87=['_onAttributesChange','addMarkerName','_onDiscard','hasComments','createdAt','getMarkerNames','type','accept','_saved','add','toJSON','data','authoredAt','_markerNames','discard','length','from','attributes','removeMarker','reduce','change','addMarker','getAllAdjacentSuggestions','removeAttribute','_onAccept','_model','next','isIntersecting','author','nodeBefore','getItems','commentThread','map','getRanges','getRange','isMultiRange','isInContent','onDiscard','removeMarkers','getContainedElement','size','getFirstRange','get','subType','getFirstMarker','start','set','head','markers','getMarkers','substr','previous','delete','creator','isIntersectingWithRange','getMultiRangeId','onAttributesChange'];(function(_0x4e9739,_0x5b872c){const _0x14877e=function(_0x2f826f){while(--_0x2f826f){_0x4e9739['push'](_0x4e9739['shift']());}};_0x14877e(++_0x5b872c);}(_0x5b87,0x1ae));const _0x1487=function(_0x4e9739,_0x5b872c){_0x4e9739=_0x4e9739-0x0;let _0x14877e=_0x5b87[_0x4e9739];return _0x14877e;};import{Element as _0x1806b8}from'ckeditor5/src/engine';import{ObservableMixin as _0x288c06,uid as _0xfd91e1}from'ckeditor5/src/utils';import{cloneDeep as _0x360d95,isEqual as _0x4d0c6b,set as _0x52fb74,unset as _0x56e79d}from'lodash-es';export default class u extends _0x288c06(){constructor(_0x3fe113,_0x2678b3){super(),this['id']=_0x2678b3['id'],this[_0x1487('0x20')]=_0x2678b3[_0x1487('0x20')],this[_0x1487('0xc')]=_0x2678b3[_0x1487('0xc')]||null,this['author']=_0x2678b3[_0x1487('0x36')],this[_0x1487('0x16')]=_0x2678b3[_0x1487('0x16')]||_0x2678b3[_0x1487('0x36')],this['isExternal']=Boolean(_0x2678b3[_0x1487('0x2b')]&&_0x2678b3[_0x1487('0x2b')]['@external']),this[_0x1487('0x25')]=null,this[_0x1487('0x33')]=_0x3fe113,this[_0x1487('0x32')]=_0x2678b3['onAccept'],this[_0x1487('0x1c')]=_0x2678b3[_0x1487('0x6')],this[_0x1487('0x1a')]=_0x2678b3[_0x1487('0x19')],this[_0x1487('0x27')]=new Set(),this[_0x1487('0x1e')]=null,this[_0x1487('0xf')](_0x1487('0x26'),null),this[_0x1487('0xf')](_0x1487('0x2b'),_0x2678b3[_0x1487('0x2b')]||{}),this['set'](_0x1487('0x14'),null),this['set'](_0x1487('0x34'),null),this[_0x1487('0xf')](_0x1487('0x0'),null),this[_0x1487('0xf')](_0x1487('0x22'),!0x1),this['decorate'](_0x1487('0x21')),this['decorate'](_0x1487('0x28'));}get[_0x1487('0x10')](){let _0x22e769=this;for(;_0x22e769[_0x1487('0x14')];)_0x22e769=_0x22e769[_0x1487('0x14')];return _0x22e769;}get[_0x1487('0x1d')](){return!!this[_0x1487('0x0')]&&this[_0x1487('0x0')][_0x1487('0x29')]>0x0;}get[_0x1487('0x4')](){if(0x0==this['_markerNames'][_0x1487('0x9')])return!0x1;return 0x6==Array[_0x1487('0x2a')](this['_markerNames'])[0x0]['split'](':')[_0x1487('0x29')];}get[_0x1487('0x5')](){return null!==this[_0x1487('0xd')]();}[_0x1487('0x1b')](_0x54922f){this['_markerNames'][_0x1487('0x23')](_0x54922f);}['getMarkerNames'](){return Array[_0x1487('0x2a')](this[_0x1487('0x27')]);}[_0x1487('0x12')](){return this[_0x1487('0x1f')]()['map'](_0x3b6773=>this[_0x1487('0x33')][_0x1487('0x11')][_0x1487('0xb')](_0x3b6773))['filter'](_0x3337d9=>_0x3337d9);}[_0x1487('0xd')](){return this[_0x1487('0x12')]()[0x0]||null;}[_0x1487('0x7')](){this[_0x1487('0x33')]['change'](_0x2fd253=>{for(const _0x1041d4 of this[_0x1487('0x12')]())_0x2fd253[_0x1487('0x2c')](_0x1041d4);}),this[_0x1487('0x27')]['clear']();}[_0x1487('0x2c')](_0xa127a5){this['_model'][_0x1487('0x2e')](_0x4944b5=>{_0x4944b5[_0x1487('0x2c')](_0xa127a5);}),this['_markerNames'][_0x1487('0x15')](_0xa127a5);}['addRange'](_0x2a4e8f){const _0x587714='suggestion:'+this[_0x1487('0x20')]+':'+this[_0x1487('0xc')]+':'+this['id']+':'+this[_0x1487('0x16')]['id']+':'+u[_0x1487('0x18')]();this['addMarkerName'](_0x587714),this['_model'][_0x1487('0x2e')](_0x595943=>{_0x595943[_0x1487('0x2f')](_0x587714,{'range':_0x2a4e8f,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x1487('0x17')](_0x5d8e6e){for(const _0x5340b2 of this[_0x1487('0x2')]())if(_0x5340b2[_0x1487('0x35')](_0x5d8e6e))return!0x0;return!0x1;}[_0x1487('0x2')](){return this['getMarkers']()[_0x1487('0x1')](_0x2de098=>_0x2de098[_0x1487('0x3')]());}[_0x1487('0x38')](){return this[_0x1487('0x2')]()[_0x1487('0x2d')]((_0x2625dd,_0x5c5528)=>[..._0x2625dd,..._0x5c5528[_0x1487('0x38')]()],[]);}[_0x1487('0xa')](){var _0x236690;return(null===(_0x236690=this['getFirstMarker']())||void 0x0===_0x236690?void 0x0:_0x236690[_0x1487('0x3')]())||null;}[_0x1487('0x8')](){const _0x1c4aca=this[_0x1487('0x2')]();if(0x1!=_0x1c4aca['length'])return null;const _0x15be3e=_0x1c4aca[0x0],_0xfbae75=_0x15be3e[_0x1487('0xe')]['nodeAfter'],_0x4bfcb3=_0x15be3e['end'][_0x1487('0x37')];return _0xfbae75 instanceof _0x1806b8?_0xfbae75!=_0x4bfcb3?null:_0xfbae75:null;}[_0x1487('0x21')](){this[_0x1487('0x32')](this['getRanges'](),this[_0x1487('0x25')],this['attributes']),this[_0x1487('0x7')]();}['discard'](){this['_onDiscard'](this[_0x1487('0x2')](),this[_0x1487('0x25')],this[_0x1487('0x2b')]),this[_0x1487('0x7')]();}[_0x1487('0x30')](){const _0x1206c6=[];let _0x2e75cd=this[_0x1487('0x10')];for(;_0x2e75cd;)_0x1206c6['push'](_0x2e75cd),_0x2e75cd=_0x2e75cd['next'];return _0x1206c6;}['setAttribute'](_0x54566c,_0x5586ba){const _0x5c24ad=_0x360d95(this[_0x1487('0x2b')]);_0x52fb74(_0x5c24ad,_0x54566c,_0x5586ba),_0x4d0c6b(_0x5c24ad,this['attributes'])||(this[_0x1487('0x2b')]=_0x5c24ad,this['_onAttributesChange'](_0x5c24ad));}[_0x1487('0x31')](_0x26ecae){const _0x184ba5=_0x360d95(this[_0x1487('0x2b')]);_0x56e79d(_0x184ba5,_0x26ecae),_0x4d0c6b(_0x184ba5,this[_0x1487('0x2b')])||(this[_0x1487('0x2b')]=_0x184ba5,this[_0x1487('0x1a')](this['attributes']));}[_0x1487('0x24')](){return{'id':this['id'],'type':this[_0x1487('0xc')]?this[_0x1487('0x20')]+':'+this[_0x1487('0xc')]:this[_0x1487('0x20')],'authorId':this[_0x1487('0x16')]['id'],'createdAt':this[_0x1487('0x1e')],'hasComments':this[_0x1487('0x1d')],'data':this[_0x1487('0x25')],'attributes':this['attributes']};}static['getMultiRangeId'](){return _0xfd91e1()[_0x1487('0x13')](0x1,0x5);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2ea7=['$text','skip','REPLACE_TEXT','end','*Merge:*\x20%0','name','checkChild','match','_itemLabelsCallbacks','nextSibling','softBreak','$1\x20$2','_addDescriptionItems','*Split:*\x20%0','_schema','*Insert:*\x20%0','addEmptyContainer','isObject','_locale','insertion','removeEmptyContainer','registerElementLabel','elementEnd','text','isEqual','_itemLabels','getDescriptions','Container','remove','matchingCallback','previousSibling','_resolveDescriptionItems','deletion','quantity','getWalker','getFirstRange','pop','push','removeObject','registerDescriptionCallback','_customCallbacks','*Remove:*\x20%0','indexOf','addObject','ELEMENT_SPACE','elementStart','normal','length','type','addContainer','getItemLabel','data','get','EmptyContainer','$textProxy','add','item','element','replace','Object','isEmpty'];(function(_0x3c3665,_0x2ea784){const _0x5077fb=function(_0x51a0eb){while(--_0x51a0eb){_0x3c3665['push'](_0x3c3665['shift']());}};_0x5077fb(++_0x2ea784);}(_0x2ea7,0x161));const _0x5077=function(_0x3c3665,_0x2ea784){_0x3c3665=_0x3c3665-0x0;let _0x5077fb=_0x2ea7[_0x3c3665];return _0x5077fb;};import{getTranslation as _0x2689c3}from'./utils/common-translations';import{priorities as _0x565ba4,insertToPriorityArray as _0x485182}from'ckeditor5/src/utils';export default class m{constructor(_0x426e97,_0x4fb270){this[_0x5077('0x35')]=[],this[_0x5077('0x26')]=new Map(),this[_0x5077('0x15')]=[],this[_0x5077('0x1b')]=_0x426e97,this[_0x5077('0x1f')]=_0x4fb270;}[_0x5077('0x27')](_0x3bd4f2){const _0x49728f=[];for(let _0x4ac268=0x0;_0x4ac268<_0x3bd4f2['length'];_0x4ac268++){const _0x5fbd04=_0x3bd4f2[_0x4ac268];if(!_0x5fbd04['isInContent'])continue;let _0x4cd246=!0x1;for(const _0x142c45 of this['_customCallbacks']){const _0x1e8880=_0x142c45(_0x5fbd04);if(_0x1e8880){_0x5077('0x0')in _0x1e8880&&_0x49728f[_0x5077('0x32')](_0x1e8880),_0x4cd246=!0x0;break;}}if(!_0x4cd246){this[_0x5077('0x19')](_0x49728f,_0x5fbd04);const _0x10b2d9=_0x3bd4f2[_0x4ac268+0x1];if(_0x10b2d9&&!_0x5fbd04[_0x5077('0x30')]()[_0x5077('0x10')][_0x5077('0x25')](_0x10b2d9[_0x5077('0x30')]()['start'])){const _0x520eb9=_0x49728f[_0x49728f['length']-0x1],_0x4964fe='insertion'==_0x5fbd04[_0x5077('0x0')]?_0x5077('0x7'):_0x5077('0x29');_0x520eb9&&_0x5077('0x24')==_0x520eb9[_0x5077('0x0')]&&(_0x520eb9[_0x4964fe]+='\x0a');}}}return this[_0x5077('0x2c')](_0x49728f);}[_0x5077('0x34')](_0x35c424){this['_customCallbacks'][_0x5077('0x32')](_0x35c424);}[_0x5077('0x22')](_0x4c9870,_0xeccc2b,_0xd3d059=_0x565ba4[_0x5077('0x3b')]){'function'==typeof _0x4c9870?_0x485182(this[_0x5077('0x15')],{'matchingCallback':_0x4c9870,'label':_0xeccc2b,'priority':_0xd3d059}):this['_itemLabels']['set'](_0x4c9870,_0xeccc2b);}[_0x5077('0x2')](_0x564e8d,_0x5267a0=0x1){let _0x496bed;for(const _0x3b7a7f of this[_0x5077('0x15')])if(_0x3b7a7f[_0x5077('0x2a')](_0x564e8d)){_0x496bed=_0x3b7a7f['label'];break;}return _0x496bed||(_0x496bed=this[_0x5077('0x26')][_0x5077('0x4')](_0x564e8d['name'])),_0x496bed?_0x496bed(_0x5267a0):0x1!==_0x5267a0?_0x5267a0+'\x20'+_0x564e8d[_0x5077('0x12')]+'s':''+_0x564e8d[_0x5077('0x12')];}[_0x5077('0x19')](_0x1b6276,_0x30b4b4){const _0x4c9111=_0x30b4b4[_0x5077('0x30')]()[_0x5077('0x2f')](),_0x376ee9='insertion'==_0x30b4b4['type']?_0x5077('0x7'):_0x5077('0x29');for(const _0x2bd355 of _0x4c9111){const _0x5b45b1=_0x2bd355[_0x5077('0x8')],_0x5724f8=_0x1b6276[_0x1b6276[_0x5077('0x3c')]-0x1];if(_0x5b45b1['is'](_0x5077('0x6')))_0x5724f8&&_0x5724f8[_0x5077('0x0')][_0x5077('0x37')](_0x5077('0x28'))>-0x1&&_0x1b6276[_0x5077('0x31')](),_0x5724f8&&_0x5077('0x24')==_0x5724f8['type']?_0x5724f8[_0x376ee9]+=_0x5b45b1[_0x5077('0x3')]:_0x1b6276[_0x5077('0x32')]({'type':_0x5077('0x24'),'add':_0x5077('0x7')==_0x376ee9?_0x5b45b1[_0x5077('0x3')]:'','remove':'remove'==_0x376ee9?_0x5b45b1[_0x5077('0x3')]:''});else{if(this[_0x5077('0x1b')][_0x5077('0x1e')](_0x5b45b1)){const _0x3081ee=_0x5b45b1;if(_0x5724f8&&_0x5724f8[_0x5077('0x0')][_0x5077('0x37')]('Container')>-0x1&&_0x1b6276['pop'](),'elementEnd'==_0x2bd355['type'])continue;_0x5724f8&&_0x5724f8[_0x5077('0x0')]==_0x376ee9+_0x5077('0xb')&&_0x5724f8[_0x5077('0x9')][_0x5077('0x12')]==_0x3081ee[_0x5077('0x12')]?_0x5724f8[_0x5077('0x2e')]++:_0x1b6276['push']({'type':_0x376ee9+_0x5077('0xb'),'element':_0x3081ee,'quantity':0x1}),_0x4c9111[_0x5077('0xe')](_0x14dd6f=>!(_0x5077('0x23')==_0x14dd6f[_0x5077('0x0')]&&_0x14dd6f['item']==_0x5b45b1));}else{if(this[_0x5077('0x1b')][_0x5077('0x13')](_0x5b45b1,_0x5077('0xd'))||_0x5b45b1['is']('element',_0x5077('0x17'))){const _0x13cc35=_0x5b45b1;if('add'==_0x376ee9&&_0x5077('0x3a')==_0x2bd355[_0x5077('0x0')]||_0x5077('0x29')==_0x376ee9&&_0x5077('0x23')==_0x2bd355[_0x5077('0x0')])continue;if(_0x5724f8&&-0x1==_0x5724f8[_0x5077('0x0')][_0x5077('0x37')](_0x5077('0x28'))){_0x5077('0x24')==_0x5724f8[_0x5077('0x0')]&&(_0x5724f8[_0x376ee9]+='\x0a');continue;}let _0x4b47fc;if(_0x4b47fc=_0x5077('0x7')==_0x376ee9?_0x13cc35['nextSibling']&&!this[_0x5077('0x1b')][_0x5077('0x1e')](_0x13cc35[_0x5077('0x16')])?_0x13cc35[_0x5077('0x16')]:null:_0x13cc35[_0x5077('0x2b')]&&!this['_schema'][_0x5077('0x1e')](_0x13cc35[_0x5077('0x2b')])?_0x13cc35[_0x5077('0x2b')]:null,_0x13cc35[_0x5077('0xc')]||_0x4b47fc&&_0x4b47fc[_0x5077('0xc')]){const _0x184b46=_0x4b47fc&&_0x4b47fc[_0x5077('0xc')]?_0x4b47fc:_0x13cc35;_0x5724f8&&_0x5724f8['type']==_0x376ee9+_0x5077('0x5')&&_0x5724f8[_0x5077('0x9')][_0x5077('0x12')]==_0x184b46['name']?_0x5724f8['quantity']++:_0x1b6276['push']({'type':_0x376ee9+_0x5077('0x5'),'element':_0x184b46,'quantity':0x1});}else _0x1b6276['push']({'type':_0x376ee9+_0x5077('0x28'),'element':_0x13cc35});}}}}}[_0x5077('0x2c')](_0x176df1){const _0x1f56a9=this[_0x5077('0x1f')],_0x253332=[];for(const _0x2b1d45 of _0x176df1){switch(_0x2b1d45['type']){case _0x5077('0x24'):if(_0x2b1d45[_0x5077('0x7')]=_0x2b1d45['add']['replace'](/(\S)\u000A+(\S)/g,_0x5077('0x18'))['replace'](/\u000A/g,''),_0x2b1d45['remove']=_0x2b1d45[_0x5077('0x29')][_0x5077('0xa')](/(\S)\u000A+(\S)/g,_0x5077('0x18'))[_0x5077('0xa')](/\u000A/g,''),''!=_0x2b1d45['add']&&''!=_0x2b1d45['remove']){_0x253332[_0x5077('0x32')]({'type':_0x5077('0xa'),'content':_0x2689c3(_0x1f56a9,_0x5077('0xf'),['\x22'+_0x2b1d45[_0x5077('0x29')]+'\x22','\x22'+_0x2b1d45['add']+'\x22'])});continue;}if(null!=_0x2b1d45[_0x5077('0x7')][_0x5077('0x14')](/^ +$/)){_0x253332[_0x5077('0x32')]({'type':_0x5077('0x20'),'content':_0x2689c3(_0x1f56a9,_0x5077('0x1c'),_0x2689c3(_0x1f56a9,_0x5077('0x39'),_0x2b1d45['add']['length']))});continue;}if(null!=_0x2b1d45['remove'][_0x5077('0x14')](/^ +$/)){_0x253332[_0x5077('0x32')]({'type':_0x5077('0x2d'),'content':_0x2689c3(_0x1f56a9,_0x5077('0x36'),_0x2689c3(_0x1f56a9,_0x5077('0x39'),_0x2b1d45[_0x5077('0x29')]['length']))});continue;}if(''!=_0x2b1d45['add']){_0x253332[_0x5077('0x32')]({'type':_0x5077('0x20'),'content':_0x2689c3(_0x1f56a9,_0x5077('0x1c'),'\x22'+_0x2b1d45['add']+'\x22')});continue;}_0x253332[_0x5077('0x32')]({'type':_0x5077('0x2d'),'content':_0x2689c3(_0x1f56a9,_0x5077('0x36'),'\x22'+_0x2b1d45[_0x5077('0x29')]+'\x22')});continue;case _0x5077('0x1d'):case _0x5077('0x38'):_0x253332[_0x5077('0x32')]({'type':_0x5077('0x20'),'content':_0x2689c3(_0x1f56a9,_0x5077('0x1c'),this[_0x5077('0x2')](_0x2b1d45[_0x5077('0x9')],_0x2b1d45[_0x5077('0x2e')]))});continue;case _0x5077('0x21'):case _0x5077('0x33'):_0x253332[_0x5077('0x32')]({'type':_0x5077('0x2d'),'content':_0x2689c3(_0x1f56a9,_0x5077('0x36'),this[_0x5077('0x2')](_0x2b1d45[_0x5077('0x9')],_0x2b1d45[_0x5077('0x2e')]))});continue;case _0x5077('0x1'):_0x253332[_0x5077('0x32')]({'type':'insertion','content':_0x2689c3(_0x1f56a9,_0x5077('0x1a'),this[_0x5077('0x2')](_0x2b1d45[_0x5077('0x9')],_0x2b1d45[_0x5077('0x2e')]))});continue;case'removeContainer':_0x253332['push']({'type':'deletion','content':_0x2689c3(_0x1f56a9,_0x5077('0x11'),this[_0x5077('0x2')](_0x2b1d45['element'],_0x2b1d45[_0x5077('0x2e')]))});continue;}_0x253332[_0x5077('0x32')](_0x2b1d45);}return _0x253332;}}
23
+ const _0x6583=['REPLACE_TEXT','ELEMENT_SPACE','quantity','getFirstRange','pop','replace','addObject','getWalker','elementStart','deletion','$text','isInContent','indexOf','*Insert:*\x20%0','end','checkChild','removeObject','previousSibling','_customCallbacks','EmptyContainer','insertion','nextSibling','_addDescriptionItems','element','_itemLabelsCallbacks','push','item','getItemLabel','_resolveDescriptionItems','text','add','normal','removeEmptyContainer','*Remove:*\x20%0','$1\x20$2','isEmpty','set','addContainer','_locale','skip','elementEnd','_itemLabels','removeContainer','label','*Merge:*\x20%0','*Split:*\x20%0','isEqual','get','isObject','matchingCallback','Object','Container','type','start','registerDescriptionCallback','name','length','_schema','match','data','remove'];(function(_0x4be38e,_0x65837c){const _0x40719c=function(_0x10644a){while(--_0x10644a){_0x4be38e['push'](_0x4be38e['shift']());}};_0x40719c(++_0x65837c);}(_0x6583,0x1a3));const _0x4071=function(_0x4be38e,_0x65837c){_0x4be38e=_0x4be38e-0x0;let _0x40719c=_0x6583[_0x4be38e];return _0x40719c;};import{getTranslation as _0x2ae40f}from'./utils/common-translations';import{priorities as _0x2266a9,insertToPriorityArray as _0x3f1838}from'ckeditor5/src/utils';export default class m{constructor(_0x248876,_0x401e10){this[_0x4071('0x1a')]=[],this['_itemLabels']=new Map(),this[_0x4071('0x20')]=[],this[_0x4071('0x4')]=_0x248876,this[_0x4071('0x2e')]=_0x401e10;}['getDescriptions'](_0x3ad19c){const _0x487b7e=[];for(let _0x3519e4=0x0;_0x3519e4<_0x3ad19c[_0x4071('0x3')];_0x3519e4++){const _0x3f7f9f=_0x3ad19c[_0x3519e4];if(!_0x3f7f9f[_0x4071('0x13')])continue;let _0x338ee0=!0x1;for(const _0x573380 of this[_0x4071('0x1a')]){const _0x44592a=_0x573380(_0x3f7f9f);if(_0x44592a){_0x4071('0x3c')in _0x44592a&&_0x487b7e[_0x4071('0x21')](_0x44592a),_0x338ee0=!0x0;break;}}if(!_0x338ee0){this[_0x4071('0x1e')](_0x487b7e,_0x3f7f9f);const _0x46b1f8=_0x3ad19c[_0x3519e4+0x1];if(_0x46b1f8&&!_0x3f7f9f[_0x4071('0xb')]()[_0x4071('0x16')][_0x4071('0x36')](_0x46b1f8[_0x4071('0xb')]()[_0x4071('0x0')])){const _0xb63b67=_0x487b7e[_0x487b7e[_0x4071('0x3')]-0x1],_0x4014b6=_0x4071('0x1c')==_0x3f7f9f[_0x4071('0x3c')]?_0x4071('0x26'):'remove';_0xb63b67&&'text'==_0xb63b67[_0x4071('0x3c')]&&(_0xb63b67[_0x4014b6]+='\x0a');}}}return this[_0x4071('0x24')](_0x487b7e);}[_0x4071('0x1')](_0x1c130a){this['_customCallbacks']['push'](_0x1c130a);}['registerElementLabel'](_0x2d4784,_0xbfed3b,_0x1062f8=_0x2266a9[_0x4071('0x27')]){'function'==typeof _0x2d4784?_0x3f1838(this['_itemLabelsCallbacks'],{'matchingCallback':_0x2d4784,'label':_0xbfed3b,'priority':_0x1062f8}):this[_0x4071('0x31')][_0x4071('0x2c')](_0x2d4784,_0xbfed3b);}[_0x4071('0x23')](_0x2ab291,_0x2f2463=0x1){let _0x2e1916;for(const _0x20074c of this[_0x4071('0x20')])if(_0x20074c[_0x4071('0x39')](_0x2ab291)){_0x2e1916=_0x20074c[_0x4071('0x33')];break;}return _0x2e1916||(_0x2e1916=this[_0x4071('0x31')][_0x4071('0x37')](_0x2ab291[_0x4071('0x2')])),_0x2e1916?_0x2e1916(_0x2f2463):0x1!==_0x2f2463?_0x2f2463+'\x20'+_0x2ab291[_0x4071('0x2')]+'s':''+_0x2ab291['name'];}[_0x4071('0x1e')](_0x11d121,_0x2ced51){const _0x51b0a2=_0x2ced51['getFirstRange']()[_0x4071('0xf')](),_0x190c10=_0x4071('0x1c')==_0x2ced51[_0x4071('0x3c')]?_0x4071('0x26'):_0x4071('0x7');for(const _0x1e661e of _0x51b0a2){const _0x1df92c=_0x1e661e[_0x4071('0x22')],_0x256629=_0x11d121[_0x11d121[_0x4071('0x3')]-0x1];if(_0x1df92c['is']('$textProxy'))_0x256629&&_0x256629[_0x4071('0x3c')][_0x4071('0x14')]('Container')>-0x1&&_0x11d121[_0x4071('0xc')](),_0x256629&&_0x4071('0x25')==_0x256629['type']?_0x256629[_0x190c10]+=_0x1df92c[_0x4071('0x6')]:_0x11d121['push']({'type':_0x4071('0x25'),'add':_0x4071('0x26')==_0x190c10?_0x1df92c['data']:'','remove':_0x4071('0x7')==_0x190c10?_0x1df92c[_0x4071('0x6')]:''});else{if(this[_0x4071('0x4')][_0x4071('0x38')](_0x1df92c)){const _0x468718=_0x1df92c;if(_0x256629&&_0x256629[_0x4071('0x3c')][_0x4071('0x14')]('Container')>-0x1&&_0x11d121[_0x4071('0xc')](),_0x4071('0x30')==_0x1e661e[_0x4071('0x3c')])continue;_0x256629&&_0x256629[_0x4071('0x3c')]==_0x190c10+_0x4071('0x3a')&&_0x256629[_0x4071('0x1f')][_0x4071('0x2')]==_0x468718[_0x4071('0x2')]?_0x256629[_0x4071('0xa')]++:_0x11d121[_0x4071('0x21')]({'type':_0x190c10+_0x4071('0x3a'),'element':_0x468718,'quantity':0x1}),_0x51b0a2[_0x4071('0x2f')](_0x39062c=>!('elementEnd'==_0x39062c[_0x4071('0x3c')]&&_0x39062c[_0x4071('0x22')]==_0x1df92c));}else{if(this[_0x4071('0x4')][_0x4071('0x17')](_0x1df92c,_0x4071('0x12'))||_0x1df92c['is'](_0x4071('0x1f'),'softBreak')){const _0x35a5a8=_0x1df92c;if(_0x4071('0x26')==_0x190c10&&_0x4071('0x10')==_0x1e661e[_0x4071('0x3c')]||_0x4071('0x7')==_0x190c10&&_0x4071('0x30')==_0x1e661e[_0x4071('0x3c')])continue;if(_0x256629&&-0x1==_0x256629[_0x4071('0x3c')][_0x4071('0x14')](_0x4071('0x3b'))){_0x4071('0x25')==_0x256629[_0x4071('0x3c')]&&(_0x256629[_0x190c10]+='\x0a');continue;}let _0x38f500;if(_0x38f500='add'==_0x190c10?_0x35a5a8[_0x4071('0x1d')]&&!this[_0x4071('0x4')][_0x4071('0x38')](_0x35a5a8[_0x4071('0x1d')])?_0x35a5a8['nextSibling']:null:_0x35a5a8[_0x4071('0x19')]&&!this[_0x4071('0x4')][_0x4071('0x38')](_0x35a5a8[_0x4071('0x19')])?_0x35a5a8[_0x4071('0x19')]:null,_0x35a5a8['isEmpty']||_0x38f500&&_0x38f500['isEmpty']){const _0x14ace4=_0x38f500&&_0x38f500[_0x4071('0x2b')]?_0x38f500:_0x35a5a8;_0x256629&&_0x256629[_0x4071('0x3c')]==_0x190c10+_0x4071('0x1b')&&_0x256629[_0x4071('0x1f')][_0x4071('0x2')]==_0x14ace4[_0x4071('0x2')]?_0x256629['quantity']++:_0x11d121[_0x4071('0x21')]({'type':_0x190c10+'EmptyContainer','element':_0x14ace4,'quantity':0x1});}else _0x11d121[_0x4071('0x21')]({'type':_0x190c10+_0x4071('0x3b'),'element':_0x35a5a8});}}}}}[_0x4071('0x24')](_0x3d652a){const _0x56a7ab=this['_locale'],_0x5e4aa3=[];for(const _0x121b2b of _0x3d652a){switch(_0x121b2b[_0x4071('0x3c')]){case'text':if(_0x121b2b[_0x4071('0x26')]=_0x121b2b['add']['replace'](/(\S)\u000A+(\S)/g,'$1\x20$2')[_0x4071('0xd')](/\u000A/g,''),_0x121b2b['remove']=_0x121b2b[_0x4071('0x7')][_0x4071('0xd')](/(\S)\u000A+(\S)/g,_0x4071('0x2a'))['replace'](/\u000A/g,''),''!=_0x121b2b[_0x4071('0x26')]&&''!=_0x121b2b[_0x4071('0x7')]){_0x5e4aa3[_0x4071('0x21')]({'type':_0x4071('0xd'),'content':_0x2ae40f(_0x56a7ab,_0x4071('0x8'),['\x22'+_0x121b2b[_0x4071('0x7')]+'\x22','\x22'+_0x121b2b[_0x4071('0x26')]+'\x22'])});continue;}if(null!=_0x121b2b['add'][_0x4071('0x5')](/^ +$/)){_0x5e4aa3[_0x4071('0x21')]({'type':'insertion','content':_0x2ae40f(_0x56a7ab,_0x4071('0x15'),_0x2ae40f(_0x56a7ab,_0x4071('0x9'),_0x121b2b[_0x4071('0x26')]['length']))});continue;}if(null!=_0x121b2b[_0x4071('0x7')][_0x4071('0x5')](/^ +$/)){_0x5e4aa3[_0x4071('0x21')]({'type':_0x4071('0x11'),'content':_0x2ae40f(_0x56a7ab,_0x4071('0x29'),_0x2ae40f(_0x56a7ab,'ELEMENT_SPACE',_0x121b2b['remove']['length']))});continue;}if(''!=_0x121b2b[_0x4071('0x26')]){_0x5e4aa3[_0x4071('0x21')]({'type':_0x4071('0x1c'),'content':_0x2ae40f(_0x56a7ab,_0x4071('0x15'),'\x22'+_0x121b2b[_0x4071('0x26')]+'\x22')});continue;}_0x5e4aa3[_0x4071('0x21')]({'type':_0x4071('0x11'),'content':_0x2ae40f(_0x56a7ab,_0x4071('0x29'),'\x22'+_0x121b2b[_0x4071('0x7')]+'\x22')});continue;case'addEmptyContainer':case _0x4071('0xe'):_0x5e4aa3['push']({'type':_0x4071('0x1c'),'content':_0x2ae40f(_0x56a7ab,_0x4071('0x15'),this['getItemLabel'](_0x121b2b['element'],_0x121b2b[_0x4071('0xa')]))});continue;case _0x4071('0x28'):case _0x4071('0x18'):_0x5e4aa3[_0x4071('0x21')]({'type':'deletion','content':_0x2ae40f(_0x56a7ab,_0x4071('0x29'),this[_0x4071('0x23')](_0x121b2b[_0x4071('0x1f')],_0x121b2b[_0x4071('0xa')]))});continue;case _0x4071('0x2d'):_0x5e4aa3['push']({'type':_0x4071('0x1c'),'content':_0x2ae40f(_0x56a7ab,_0x4071('0x35'),this[_0x4071('0x23')](_0x121b2b[_0x4071('0x1f')],_0x121b2b[_0x4071('0xa')]))});continue;case _0x4071('0x32'):_0x5e4aa3['push']({'type':_0x4071('0x11'),'content':_0x2ae40f(_0x56a7ab,_0x4071('0x34'),this[_0x4071('0x23')](_0x121b2b[_0x4071('0x1f')],_0x121b2b[_0x4071('0xa')]))});continue;}_0x5e4aa3[_0x4071('0x21')](_0x121b2b);}return _0x5e4aa3;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x5299=['plugins','pluginName','Comments','getSuggestion','editor','getSuggestions','TrackChanges','get','adapter'];(function(_0xb5ec28,_0x5299fd){var _0x5e95e1=function(_0x3c1d63){while(--_0x3c1d63){_0xb5ec28['push'](_0xb5ec28['shift']());}};_0x5e95e1(++_0x5299fd);}(_0x5299,0x93));var _0x5e95=function(_0xb5ec28,_0x5299fd){_0xb5ec28=_0xb5ec28-0x0;var _0x5e95e1=_0x5299[_0xb5ec28];return _0x5e95e1;};import{Plugin as _0x250aa1}from'ckeditor5/src/core';import _0x1d6589 from'./trackchangesui';import _0x4e7112 from'./trackchangesediting';import'ckeditor5-collaboration/src/collaboration-core';export default class k extends _0x250aa1{static get['requires'](){return[_0x4e7112,_0x1d6589,_0x5e95('0x8')];}static get[_0x5e95('0x7')](){return _0x5e95('0x3');}set[_0x5e95('0x5')](_0xff8a09){this[_0x5e95('0x1')]['plugins'][_0x5e95('0x4')](_0x4e7112)[_0x5e95('0x5')]=_0xff8a09;}get[_0x5e95('0x5')](){return this['editor'][_0x5e95('0x6')][_0x5e95('0x4')](_0x4e7112)['adapter'];}['addSuggestion'](_0x4c5911){return this[_0x5e95('0x1')][_0x5e95('0x6')]['get'](_0x4e7112)['addSuggestionData'](_0x4c5911);}[_0x5e95('0x2')]({skipNotAttached:_0x21832b=!0x1,toJSON:_0x4915a5=!0x1}={}){return this[_0x5e95('0x1')][_0x5e95('0x6')][_0x5e95('0x4')](_0x4e7112)['getSuggestions']({'skipNotAttached':_0x21832b,'toJSON':_0x4915a5});}[_0x5e95('0x0')](_0x3489ca){return this[_0x5e95('0x1')][_0x5e95('0x6')][_0x5e95('0x4')](_0x4e7112)[_0x5e95('0x0')](_0x3489ca);}}
23
+ var _0x4c5b=['get','getSuggestion','addSuggestion','pluginName','addSuggestionData','adapter','editor','plugins','Comments','getSuggestions','TrackChanges'];(function(_0x2f53fc,_0x4c5b6d){var _0xf381ed=function(_0x4fb9f2){while(--_0x4fb9f2){_0x2f53fc['push'](_0x2f53fc['shift']());}};_0xf381ed(++_0x4c5b6d);}(_0x4c5b,0x12a));var _0xf381=function(_0x2f53fc,_0x4c5b6d){_0x2f53fc=_0x2f53fc-0x0;var _0xf381ed=_0x4c5b[_0x2f53fc];return _0xf381ed;};import{Plugin as _0x44b6a6}from'ckeditor5/src/core';import _0x107b54 from'./trackchangesui';import _0x448f1f from'./trackchangesediting';import'ckeditor5-collaboration/src/collaboration-core';export default class k extends _0x44b6a6{static get['requires'](){return[_0x448f1f,_0x107b54,_0xf381('0x7')];}static get[_0xf381('0x2')](){return _0xf381('0x9');}set[_0xf381('0x4')](_0x22c481){this[_0xf381('0x5')][_0xf381('0x6')][_0xf381('0xa')](_0x448f1f)[_0xf381('0x4')]=_0x22c481;}get[_0xf381('0x4')](){return this[_0xf381('0x5')][_0xf381('0x6')][_0xf381('0xa')](_0x448f1f)[_0xf381('0x4')];}[_0xf381('0x1')](_0x3f5d41){return this[_0xf381('0x5')][_0xf381('0x6')][_0xf381('0xa')](_0x448f1f)[_0xf381('0x3')](_0x3f5d41);}[_0xf381('0x8')]({skipNotAttached:_0x106718=!0x1,toJSON:_0x13799c=!0x1}={}){return this[_0xf381('0x5')]['plugins'][_0xf381('0xa')](_0x448f1f)[_0xf381('0x8')]({'skipNotAttached':_0x106718,'toJSON':_0x13799c});}[_0xf381('0x0')](_0x5e4abe){return this[_0xf381('0x5')][_0xf381('0x6')][_0xf381('0xa')](_0x448f1f)[_0xf381('0x0')](_0x5e4abe);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1bb3=['getDataWithAcceptedSuggestions','getRootNames','end','constructor','getSuggestions','set','users','TrackChangesDataGetter','config','getRootsAttributes','CommentsRepository','data','editorCreator','TrackChangesData','editor','init','result','get','useAnonymousUser','create','Users','document','function','_adapter','appendChild','name','acceptAllSuggestions','pluginName','getUser','trackChangesData.editorCreator','requires','reduce','TrackChangesEditing','destroy','execute','plugins','trackChangesData','div','map'];(function(_0x52369a,_0x1bb3a0){const _0x5521ae=function(_0xd6ee05){while(--_0xd6ee05){_0x52369a['push'](_0x52369a['shift']());}};_0x5521ae(++_0x1bb3a0);}(_0x1bb3,0x1bd));const _0x5521=function(_0x52369a,_0x1bb3a0){_0x52369a=_0x52369a-0x0;let _0x5521ae=_0x1bb3[_0x52369a];return _0x5521ae;};import{Plugin as _0x157cbf}from'ckeditor5/src/core';import{CKEditorError as _0x34e3c3}from'ckeditor5/src/utils';import _0x1e4347 from'./trackchangesediting';import{sanitizeEditorConfig as _0xae5071}from'ckeditor5-collaboration/src/collaboration-core';const w=['Pagination'];export default class T extends _0x157cbf{static get[_0x5521('0xe')](){return[_0x1e4347];}static get[_0x5521('0xb')](){return _0x5521('0x24');}[_0x5521('0x26')](){const _0x11e014=this['editor'];if(_0x11e014[_0x5521('0x1f')]['define'](_0x5521('0xd'),_0x1fa42d=>{const _0x1952f1=_0x11e014['model'][_0x5521('0x5')][_0x5521('0x18')]()[_0x5521('0xf')]((_0x1977ab,_0x1d0ebe)=>(_0x1977ab[_0x1d0ebe]='',_0x1977ab),{});return _0x11e014[_0x5521('0x1a')][_0x5521('0x3')](_0x1952f1,_0x1fa42d);}),_0x5521('0x6')!=typeof _0x11e014[_0x5521('0x1f')][_0x5521('0x1')]('trackChangesData')['editorCreator'])throw new _0x34e3c3('track-changes-data-invalid-editor-creator');}[_0x5521('0x17')](_0x2f4221){return v(this['editor'],!0x0,_0x2f4221);}['getDataWithDiscardedSuggestions'](_0x535b5b){return v(this[_0x5521('0x25')],!0x1,_0x535b5b);}}class P extends _0x157cbf{static get[_0x5521('0xb')](){return _0x5521('0x1e');}constructor(_0x4b8c32){super(_0x4b8c32),this[_0x5521('0x0')]=_0x5521('0x19');}['init'](){this['editor'][_0x5521('0x13')][_0x5521('0x1')](_0x5521('0x21'))['_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[_0x5521('0x25')][_0x5521('0x13')][_0x5521('0x1')](_0x5521('0x10'))[_0x5521('0x7')]=null;}}function D(_0x191d5a){return void 0x0!==_0x191d5a[_0x5521('0x20')];}async function v(_0x2dd623,_0x1d5cab,_0x439c85){const _0x31d929=_0xae5071(_0x2dd623,w);_0x31d929[_0x5521('0x13')]['push'](_0x1e4347,P),_0x31d929['rootsAttributes']=D(_0x2dd623)?_0x2dd623[_0x5521('0x20')]():void 0x0;const _0x2d4df5=document['createDocumentFragment'](),_0x3af7ba=_0x2dd623[_0x5521('0x1f')][_0x5521('0x1')](_0x5521('0x14'))[_0x5521('0x23')],_0x58f84f=await _0x3af7ba(_0x31d929,()=>function(_0x7bdb7b){const _0x36fed5=document['createElement'](_0x5521('0x15'));return _0x7bdb7b[_0x5521('0x8')](_0x36fed5),_0x36fed5;}(_0x2d4df5));!function(_0x1e40db,_0x29b1a6){const _0x3d8a9c=_0x1e40db['model'][_0x5521('0x5')][_0x5521('0x18')]()[_0x5521('0xf')]((_0x382ee1,_0x6bd4af)=>(_0x382ee1[_0x6bd4af]=_0x1e40db[_0x5521('0x22')]['get']({'rootName':_0x6bd4af}),_0x382ee1),{}),_0x1353b5=_0x1e40db['plugins'][_0x5521('0x1')](_0x5521('0x4'))[_0x5521('0x1d')][_0x5521('0x16')](_0xbd7691=>({'id':_0xbd7691['id'],'name':_0xbd7691[_0x5521('0x9')]})),_0x4b2ed3=_0x1e40db[_0x5521('0x13')][_0x5521('0x1')](_0x5521('0x10'))[_0x5521('0x1b')]({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x329c5e=_0x29b1a6[_0x5521('0x13')]['get'](_0x5521('0x4')),_0x4a41b4=_0x29b1a6[_0x5521('0x13')][_0x5521('0x1')]('TrackChangesEditing');for(const _0x149578 of _0x1353b5)_0x329c5e[_0x5521('0xc')](_0x149578['id'])||_0x329c5e['addUser'](_0x149578);_0x329c5e['me']||_0x329c5e[_0x5521('0x2')]();for(const _0x3b09a3 of _0x4b2ed3)_0x4a41b4['addSuggestionData'](_0x3b09a3);_0x29b1a6[_0x5521('0x22')][_0x5521('0x1c')](_0x3d8a9c);}(_0x2dd623,_0x58f84f),_0x58f84f[_0x5521('0x12')](_0x1d5cab?_0x5521('0xa'):'discardAllSuggestions');const _0x39af6e=D(_0x58f84f)?_0x58f84f['getFullData'](_0x439c85):_0x58f84f['data'][_0x5521('0x1')](_0x439c85);return await _0x58f84f[_0x5521('0x11')](),_0x39af6e;}
23
+ const _0x5e0b=['Pagination','trackChangesData','name','destroy','constructor','document','addSuggestionData','init','config','getFullData','CommentsRepository','data','set','map','push','createDocumentFragment','pluginName','editor','plugins','reduce','editorCreator','useAnonymousUser','track-changes-data-invalid-editor-creator','TrackChangesDataGetter','discardAllSuggestions','get','getSuggestions','_adapter','users','define','acceptAllSuggestions','getDataWithDiscardedSuggestions','getRootsAttributes','TrackChangesData','function','model','trackChangesData.editorCreator','div','getRootNames','TrackChangesEditing','result','appendChild','getUser','Users'];(function(_0x2941ad,_0x5e0b42){const _0x438b94=function(_0x48035b){while(--_0x48035b){_0x2941ad['push'](_0x2941ad['shift']());}};_0x438b94(++_0x5e0b42);}(_0x5e0b,0x111));const _0x438b=function(_0x2941ad,_0x5e0b42){_0x2941ad=_0x2941ad-0x0;let _0x438b94=_0x5e0b[_0x2941ad];return _0x438b94;};import{Plugin as _0x216fbb}from'ckeditor5/src/core';import{CKEditorError as _0x5e70a6}from'ckeditor5/src/utils';import _0x3ed2b1 from'./trackchangesediting';import{sanitizeEditorConfig as _0x5f2839}from'ckeditor5-collaboration/src/collaboration-core';const w=[_0x438b('0x23')];export default class T extends _0x216fbb{static get['requires'](){return[_0x3ed2b1];}static get[_0x438b('0x7')](){return _0x438b('0x18');}[_0x438b('0x2a')](){const _0xdb8ab2=this['editor'];if(_0xdb8ab2[_0x438b('0x2b')][_0x438b('0x14')](_0x438b('0x1b'),_0x15048f=>{const _0x2a6ced=_0xdb8ab2[_0x438b('0x1a')][_0x438b('0x28')]['getRootNames']()['reduce']((_0x31ec4c,_0x12ac57)=>(_0x31ec4c[_0x12ac57]='',_0x31ec4c),{});return _0xdb8ab2[_0x438b('0x27')]['create'](_0x2a6ced,_0x15048f);}),_0x438b('0x19')!=typeof _0xdb8ab2[_0x438b('0x2b')]['get'](_0x438b('0x24'))[_0x438b('0xb')])throw new _0x5e70a6(_0x438b('0xd'));}['getDataWithAcceptedSuggestions'](_0x5e485b){return v(this[_0x438b('0x8')],!0x0,_0x5e485b);}[_0x438b('0x16')](_0x38f2a3){return v(this[_0x438b('0x8')],!0x1,_0x38f2a3);}}class P extends _0x216fbb{static get[_0x438b('0x7')](){return _0x438b('0xe');}constructor(_0xadb365){super(_0xadb365),this[_0x438b('0x1f')]='end';}['init'](){this[_0x438b('0x8')][_0x438b('0x9')][_0x438b('0x10')](_0x438b('0x1'))[_0x438b('0x12')]={'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']['plugins'][_0x438b('0x10')](_0x438b('0x1e'))[_0x438b('0x12')]=null;}}function D(_0xa3741c){return void 0x0!==_0xa3741c[_0x438b('0x17')];}async function v(_0x258707,_0x305a8b,_0x11e101){const _0x424f3d=_0x5f2839(_0x258707,w);_0x424f3d['plugins'][_0x438b('0x5')](_0x3ed2b1,P),_0x424f3d['rootsAttributes']=D(_0x258707)?_0x258707[_0x438b('0x17')]():void 0x0;const _0x449dbd=document[_0x438b('0x6')](),_0x38f08f=_0x258707[_0x438b('0x2b')]['get'](_0x438b('0x24'))[_0x438b('0xb')],_0x112cbb=await _0x38f08f(_0x424f3d,()=>function(_0x5c238e){const _0x3771bb=document['createElement'](_0x438b('0x1c'));return _0x5c238e[_0x438b('0x20')](_0x3771bb),_0x3771bb;}(_0x449dbd));!function(_0x4746d5,_0x57b989){const _0x529681=_0x4746d5[_0x438b('0x1a')]['document'][_0x438b('0x1d')]()[_0x438b('0xa')]((_0x361f6b,_0x44ed7c)=>(_0x361f6b[_0x44ed7c]=_0x4746d5[_0x438b('0x2')][_0x438b('0x10')]({'rootName':_0x44ed7c}),_0x361f6b),{}),_0x3b8f9b=_0x4746d5[_0x438b('0x9')]['get'](_0x438b('0x22'))[_0x438b('0x13')][_0x438b('0x4')](_0x253572=>({'id':_0x253572['id'],'name':_0x253572[_0x438b('0x25')]})),_0xebf802=_0x4746d5[_0x438b('0x9')][_0x438b('0x10')]('TrackChangesEditing')[_0x438b('0x11')]({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x27f173=_0x57b989[_0x438b('0x9')][_0x438b('0x10')]('Users'),_0x1b963a=_0x57b989['plugins'][_0x438b('0x10')]('TrackChangesEditing');for(const _0x5dde66 of _0x3b8f9b)_0x27f173[_0x438b('0x21')](_0x5dde66['id'])||_0x27f173['addUser'](_0x5dde66);_0x27f173['me']||_0x27f173[_0x438b('0xc')]();for(const _0xac14fc of _0xebf802)_0x1b963a[_0x438b('0x29')](_0xac14fc);_0x57b989[_0x438b('0x2')][_0x438b('0x3')](_0x529681);}(_0x258707,_0x112cbb),_0x112cbb['execute'](_0x305a8b?_0x438b('0x15'):_0x438b('0xf'));const _0x3409a2=D(_0x112cbb)?_0x112cbb[_0x438b('0x0')](_0x11e101):_0x112cbb['data'][_0x438b('0x10')](_0x11e101);return await _0x112cbb[_0x438b('0x26')](),_0x3409a2;}