@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20230818.1 → 0.0.0-nightly-20230820.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 _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);}}
23
+ const _0x1100=['getItems','author','getAllAdjacentSuggestions','next','getFirstMarker','isIntersecting','addRange','onAttributesChange','getMarkers','decorate','isInContent','_saved','push','nodeAfter','setAttribute','type','isExternal','_onAttributesChange','reduce','markers','_onDiscard','subType','isMultiRange','filter','length','head','onAccept','addMarker','commentThread','getRanges','previous','getMultiRangeId','get','data','getMarkerNames','discard','_onAccept','_markerNames','attributes','change','set','accept','hasComments','creator','addMarkerName','removeMarkers','from','removeMarker','_model','add','getRange','createdAt','suggestion:','getContainedElement','map','clear','delete','@external'];(function(_0x3d6ac0,_0x110010){const _0x3b3070=function(_0x45caa0){while(--_0x45caa0){_0x3d6ac0['push'](_0x3d6ac0['shift']());}};_0x3b3070(++_0x110010);}(_0x1100,0x166));const _0x3b30=function(_0x3d6ac0,_0x110010){_0x3d6ac0=_0x3d6ac0-0x0;let _0x3b3070=_0x1100[_0x3d6ac0];return _0x3b3070;};import{Element as _0x27558b}from'ckeditor5/src/engine';import{ObservableMixin as _0x27682f,uid as _0x3d2323}from'ckeditor5/src/utils';import{cloneDeep as _0x34809e,isEqual as _0x3f6987,set as _0x32832c,unset as _0x31bd39}from'lodash-es';export default class u extends _0x27682f(){constructor(_0x1d857e,_0x172ca0){super(),this['id']=_0x172ca0['id'],this['type']=_0x172ca0['type'],this[_0x3b30('0xb')]=_0x172ca0['subType']||null,this[_0x3b30('0x31')]=_0x172ca0['author'],this[_0x3b30('0x21')]=_0x172ca0[_0x3b30('0x21')]||_0x172ca0[_0x3b30('0x31')],this[_0x3b30('0x6')]=Boolean(_0x172ca0[_0x3b30('0x1c')]&&_0x172ca0[_0x3b30('0x1c')][_0x3b30('0x2f')]),this[_0x3b30('0x17')]=null,this[_0x3b30('0x26')]=_0x1d857e,this[_0x3b30('0x1a')]=_0x172ca0[_0x3b30('0x10')],this[_0x3b30('0xa')]=_0x172ca0['onDiscard'],this[_0x3b30('0x7')]=_0x172ca0[_0x3b30('0x37')],this[_0x3b30('0x1b')]=new Set(),this[_0x3b30('0x29')]=null,this[_0x3b30('0x1e')]('authoredAt',null),this[_0x3b30('0x1e')](_0x3b30('0x1c'),_0x172ca0[_0x3b30('0x1c')]||{}),this[_0x3b30('0x1e')](_0x3b30('0x14'),null),this[_0x3b30('0x1e')](_0x3b30('0x33'),null),this[_0x3b30('0x1e')](_0x3b30('0x12'),null),this[_0x3b30('0x1e')](_0x3b30('0x1'),!0x1),this[_0x3b30('0x39')](_0x3b30('0x1f')),this[_0x3b30('0x39')](_0x3b30('0x19'));}get[_0x3b30('0xf')](){let _0x250a66=this;for(;_0x250a66['previous'];)_0x250a66=_0x250a66[_0x3b30('0x14')];return _0x250a66;}get['hasComments'](){return!!this['commentThread']&&this[_0x3b30('0x12')][_0x3b30('0xe')]>0x0;}get[_0x3b30('0xc')](){if(0x0==this[_0x3b30('0x1b')]['size'])return!0x1;return 0x6==Array[_0x3b30('0x24')](this[_0x3b30('0x1b')])[0x0]['split'](':')[_0x3b30('0xe')];}get[_0x3b30('0x0')](){return null!==this[_0x3b30('0x34')]();}[_0x3b30('0x22')](_0x47825c){this[_0x3b30('0x1b')][_0x3b30('0x27')](_0x47825c);}[_0x3b30('0x18')](){return Array[_0x3b30('0x24')](this['_markerNames']);}[_0x3b30('0x38')](){return this[_0x3b30('0x18')]()['map'](_0x3f96ef=>this[_0x3b30('0x26')][_0x3b30('0x9')][_0x3b30('0x16')](_0x3f96ef))[_0x3b30('0xd')](_0x1e6fa8=>_0x1e6fa8);}[_0x3b30('0x34')](){return this['getMarkers']()[0x0]||null;}[_0x3b30('0x23')](){this['_model'][_0x3b30('0x1d')](_0x529489=>{for(const _0x532e6d of this[_0x3b30('0x38')]())_0x529489[_0x3b30('0x25')](_0x532e6d);}),this[_0x3b30('0x1b')][_0x3b30('0x2d')]();}[_0x3b30('0x25')](_0x45083d){this[_0x3b30('0x26')][_0x3b30('0x1d')](_0x58f026=>{_0x58f026[_0x3b30('0x25')](_0x45083d);}),this[_0x3b30('0x1b')][_0x3b30('0x2e')](_0x45083d);}[_0x3b30('0x36')](_0x1beb05){const _0x5efae8=_0x3b30('0x2a')+this['type']+':'+this[_0x3b30('0xb')]+':'+this['id']+':'+this[_0x3b30('0x21')]['id']+':'+u[_0x3b30('0x15')]();this[_0x3b30('0x22')](_0x5efae8),this[_0x3b30('0x26')][_0x3b30('0x1d')](_0x41c278=>{_0x41c278[_0x3b30('0x11')](_0x5efae8,{'range':_0x1beb05,'usingOperation':!0x0,'affectsData':!0x0});});}['isIntersectingWithRange'](_0x49474b){for(const _0x5161bc of this[_0x3b30('0x13')]())if(_0x5161bc[_0x3b30('0x35')](_0x49474b))return!0x0;return!0x1;}['getRanges'](){return this[_0x3b30('0x38')]()[_0x3b30('0x2c')](_0x2fa683=>_0x2fa683['getRange']());}[_0x3b30('0x30')](){return this[_0x3b30('0x13')]()[_0x3b30('0x8')]((_0x5773b2,_0x1dda45)=>[..._0x5773b2,..._0x1dda45[_0x3b30('0x30')]()],[]);}['getFirstRange'](){var _0x503c9a;return(null===(_0x503c9a=this[_0x3b30('0x34')]())||void 0x0===_0x503c9a?void 0x0:_0x503c9a[_0x3b30('0x28')]())||null;}[_0x3b30('0x2b')](){const _0x11933b=this['getRanges']();if(0x1!=_0x11933b[_0x3b30('0xe')])return null;const _0x4d8c0f=_0x11933b[0x0],_0x505f3e=_0x4d8c0f['start'][_0x3b30('0x3')],_0x2a5172=_0x4d8c0f['end']['nodeBefore'];return _0x505f3e instanceof _0x27558b?_0x505f3e!=_0x2a5172?null:_0x505f3e:null;}['accept'](){this[_0x3b30('0x1a')](this[_0x3b30('0x13')](),this[_0x3b30('0x17')],this['attributes']),this['removeMarkers']();}[_0x3b30('0x19')](){this['_onDiscard'](this['getRanges'](),this[_0x3b30('0x17')],this[_0x3b30('0x1c')]),this['removeMarkers']();}[_0x3b30('0x32')](){const _0x544281=[];let _0x91f2f0=this['head'];for(;_0x91f2f0;)_0x544281[_0x3b30('0x2')](_0x91f2f0),_0x91f2f0=_0x91f2f0['next'];return _0x544281;}[_0x3b30('0x4')](_0x14ab8f,_0x3fec9f){const _0x2768ec=_0x34809e(this[_0x3b30('0x1c')]);_0x32832c(_0x2768ec,_0x14ab8f,_0x3fec9f),_0x3f6987(_0x2768ec,this[_0x3b30('0x1c')])||(this[_0x3b30('0x1c')]=_0x2768ec,this[_0x3b30('0x7')](_0x2768ec));}['removeAttribute'](_0x24dac2){const _0x4af74d=_0x34809e(this['attributes']);_0x31bd39(_0x4af74d,_0x24dac2),_0x3f6987(_0x4af74d,this['attributes'])||(this[_0x3b30('0x1c')]=_0x4af74d,this[_0x3b30('0x7')](this[_0x3b30('0x1c')]));}['toJSON'](){return{'id':this['id'],'type':this[_0x3b30('0xb')]?this['type']+':'+this[_0x3b30('0xb')]:this[_0x3b30('0x5')],'authorId':this[_0x3b30('0x21')]['id'],'createdAt':this[_0x3b30('0x29')],'hasComments':this[_0x3b30('0x20')],'data':this[_0x3b30('0x17')],'attributes':this[_0x3b30('0x1c')]};}static[_0x3b30('0x15')](){return _0x3d2323()['substr'](0x1,0x5);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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;}}
23
+ const _0x3501=['ELEMENT_SPACE','Container','insertion','function','element','isEmpty','*Insert:*\x20%0','EmptyContainer','item','normal','REPLACE_TEXT','remove','$1\x20$2','_resolveDescriptionItems','pop','text','quantity','previousSibling','end','_schema','match','getFirstRange','getDescriptions','_itemLabels','Object','_addDescriptionItems','label','checkChild','deletion','_itemLabelsCallbacks','removeEmptyContainer','addEmptyContainer','get','$text','softBreak','_locale','set','matchingCallback','_customCallbacks','add','registerElementLabel','*Merge:*\x20%0','type','removeContainer','elementEnd','getWalker','addObject','push','length','*Remove:*\x20%0','replace','nextSibling','isObject','data','name','getItemLabel','indexOf','addContainer','isEqual'];(function(_0x4d2b0d,_0x35012e){const _0x470310=function(_0x4962e6){while(--_0x4962e6){_0x4d2b0d['push'](_0x4d2b0d['shift']());}};_0x470310(++_0x35012e);}(_0x3501,0x78));const _0x4703=function(_0x4d2b0d,_0x35012e){_0x4d2b0d=_0x4d2b0d-0x0;let _0x470310=_0x3501[_0x4d2b0d];return _0x470310;};import{getTranslation as _0x26ad8f}from'./utils/common-translations';import{priorities as _0x3853ac,insertToPriorityArray as _0x4eaf70}from'ckeditor5/src/utils';export default class m{constructor(_0x2bf95f,_0x390de9){this[_0x4703('0x24')]=[],this[_0x4703('0x15')]=new Map(),this[_0x4703('0x1b')]=[],this[_0x4703('0x11')]=_0x2bf95f,this['_locale']=_0x390de9;}[_0x4703('0x14')](_0x56a5f7){const _0xe4cd8=[];for(let _0x2f404e=0x0;_0x2f404e<_0x56a5f7['length'];_0x2f404e++){const _0x4438fd=_0x56a5f7[_0x2f404e];if(!_0x4438fd['isInContent'])continue;let _0x35c877=!0x1;for(const _0x5b310f of this[_0x4703('0x24')]){const _0x3925a0=_0x5b310f(_0x4438fd);if(_0x3925a0){_0x4703('0x28')in _0x3925a0&&_0xe4cd8[_0x4703('0x2d')](_0x3925a0),_0x35c877=!0x0;break;}}if(!_0x35c877){this[_0x4703('0x17')](_0xe4cd8,_0x4438fd);const _0x21236e=_0x56a5f7[_0x2f404e+0x1];if(_0x21236e&&!_0x4438fd[_0x4703('0x13')]()[_0x4703('0x10')][_0x4703('0x38')](_0x21236e[_0x4703('0x13')]()['start'])){const _0x2ec09a=_0xe4cd8[_0xe4cd8[_0x4703('0x2e')]-0x1],_0x590b82=_0x4703('0x0')==_0x4438fd[_0x4703('0x28')]?_0x4703('0x25'):'remove';_0x2ec09a&&_0x4703('0xd')==_0x2ec09a['type']&&(_0x2ec09a[_0x590b82]+='\x0a');}}}return this[_0x4703('0xb')](_0xe4cd8);}['registerDescriptionCallback'](_0x61a568){this[_0x4703('0x24')][_0x4703('0x2d')](_0x61a568);}[_0x4703('0x26')](_0x2dc054,_0x468fa9,_0x49e2fe=_0x3853ac[_0x4703('0x7')]){_0x4703('0x1')==typeof _0x2dc054?_0x4eaf70(this[_0x4703('0x1b')],{'matchingCallback':_0x2dc054,'label':_0x468fa9,'priority':_0x49e2fe}):this[_0x4703('0x15')][_0x4703('0x22')](_0x2dc054,_0x468fa9);}[_0x4703('0x35')](_0x4b785a,_0x68f52b=0x1){let _0x441b7c;for(const _0x3e04b6 of this[_0x4703('0x1b')])if(_0x3e04b6[_0x4703('0x23')](_0x4b785a)){_0x441b7c=_0x3e04b6[_0x4703('0x18')];break;}return _0x441b7c||(_0x441b7c=this[_0x4703('0x15')][_0x4703('0x1e')](_0x4b785a['name'])),_0x441b7c?_0x441b7c(_0x68f52b):0x1!==_0x68f52b?_0x68f52b+'\x20'+_0x4b785a[_0x4703('0x34')]+'s':''+_0x4b785a[_0x4703('0x34')];}['_addDescriptionItems'](_0x1b831b,_0x1703be){const _0x3dd3e6=_0x1703be[_0x4703('0x13')]()[_0x4703('0x2b')](),_0x49bdd0='insertion'==_0x1703be[_0x4703('0x28')]?_0x4703('0x25'):_0x4703('0x9');for(const _0x4863ff of _0x3dd3e6){const _0x13bb0a=_0x4863ff['item'],_0x5e42ea=_0x1b831b[_0x1b831b[_0x4703('0x2e')]-0x1];if(_0x13bb0a['is']('$textProxy'))_0x5e42ea&&_0x5e42ea[_0x4703('0x28')][_0x4703('0x36')](_0x4703('0x3a'))>-0x1&&_0x1b831b[_0x4703('0xc')](),_0x5e42ea&&_0x4703('0xd')==_0x5e42ea[_0x4703('0x28')]?_0x5e42ea[_0x49bdd0]+=_0x13bb0a[_0x4703('0x33')]:_0x1b831b['push']({'type':'text','add':'add'==_0x49bdd0?_0x13bb0a[_0x4703('0x33')]:'','remove':'remove'==_0x49bdd0?_0x13bb0a['data']:''});else{if(this[_0x4703('0x11')][_0x4703('0x32')](_0x13bb0a)){const _0x82fea8=_0x13bb0a;if(_0x5e42ea&&_0x5e42ea[_0x4703('0x28')][_0x4703('0x36')]('Container')>-0x1&&_0x1b831b['pop'](),_0x4703('0x2a')==_0x4863ff[_0x4703('0x28')])continue;_0x5e42ea&&_0x5e42ea['type']==_0x49bdd0+_0x4703('0x16')&&_0x5e42ea[_0x4703('0x2')][_0x4703('0x34')]==_0x82fea8[_0x4703('0x34')]?_0x5e42ea[_0x4703('0xe')]++:_0x1b831b['push']({'type':_0x49bdd0+_0x4703('0x16'),'element':_0x82fea8,'quantity':0x1}),_0x3dd3e6['skip'](_0x457247=>!(_0x4703('0x2a')==_0x457247['type']&&_0x457247[_0x4703('0x6')]==_0x13bb0a));}else{if(this[_0x4703('0x11')][_0x4703('0x19')](_0x13bb0a,_0x4703('0x1f'))||_0x13bb0a['is'](_0x4703('0x2'),_0x4703('0x20'))){const _0x26cc22=_0x13bb0a;if(_0x4703('0x25')==_0x49bdd0&&'elementStart'==_0x4863ff[_0x4703('0x28')]||_0x4703('0x9')==_0x49bdd0&&_0x4703('0x2a')==_0x4863ff[_0x4703('0x28')])continue;if(_0x5e42ea&&-0x1==_0x5e42ea[_0x4703('0x28')][_0x4703('0x36')](_0x4703('0x3a'))){_0x4703('0xd')==_0x5e42ea[_0x4703('0x28')]&&(_0x5e42ea[_0x49bdd0]+='\x0a');continue;}let _0x909225;if(_0x909225=_0x4703('0x25')==_0x49bdd0?_0x26cc22[_0x4703('0x31')]&&!this['_schema'][_0x4703('0x32')](_0x26cc22[_0x4703('0x31')])?_0x26cc22[_0x4703('0x31')]:null:_0x26cc22[_0x4703('0xf')]&&!this[_0x4703('0x11')][_0x4703('0x32')](_0x26cc22['previousSibling'])?_0x26cc22[_0x4703('0xf')]:null,_0x26cc22[_0x4703('0x3')]||_0x909225&&_0x909225[_0x4703('0x3')]){const _0x47d28f=_0x909225&&_0x909225[_0x4703('0x3')]?_0x909225:_0x26cc22;_0x5e42ea&&_0x5e42ea[_0x4703('0x28')]==_0x49bdd0+_0x4703('0x5')&&_0x5e42ea[_0x4703('0x2')][_0x4703('0x34')]==_0x47d28f['name']?_0x5e42ea['quantity']++:_0x1b831b[_0x4703('0x2d')]({'type':_0x49bdd0+_0x4703('0x5'),'element':_0x47d28f,'quantity':0x1});}else _0x1b831b['push']({'type':_0x49bdd0+_0x4703('0x3a'),'element':_0x26cc22});}}}}}[_0x4703('0xb')](_0x26d2f2){const _0x51ed64=this[_0x4703('0x21')],_0x91f0e3=[];for(const _0x3f65c5 of _0x26d2f2){switch(_0x3f65c5[_0x4703('0x28')]){case _0x4703('0xd'):if(_0x3f65c5[_0x4703('0x25')]=_0x3f65c5[_0x4703('0x25')]['replace'](/(\S)\u000A+(\S)/g,'$1\x20$2')['replace'](/\u000A/g,''),_0x3f65c5['remove']=_0x3f65c5[_0x4703('0x9')]['replace'](/(\S)\u000A+(\S)/g,_0x4703('0xa'))[_0x4703('0x30')](/\u000A/g,''),''!=_0x3f65c5['add']&&''!=_0x3f65c5[_0x4703('0x9')]){_0x91f0e3[_0x4703('0x2d')]({'type':_0x4703('0x30'),'content':_0x26ad8f(_0x51ed64,_0x4703('0x8'),['\x22'+_0x3f65c5[_0x4703('0x9')]+'\x22','\x22'+_0x3f65c5[_0x4703('0x25')]+'\x22'])});continue;}if(null!=_0x3f65c5[_0x4703('0x25')][_0x4703('0x12')](/^ +$/)){_0x91f0e3[_0x4703('0x2d')]({'type':'insertion','content':_0x26ad8f(_0x51ed64,_0x4703('0x4'),_0x26ad8f(_0x51ed64,_0x4703('0x39'),_0x3f65c5[_0x4703('0x25')][_0x4703('0x2e')]))});continue;}if(null!=_0x3f65c5[_0x4703('0x9')][_0x4703('0x12')](/^ +$/)){_0x91f0e3[_0x4703('0x2d')]({'type':'deletion','content':_0x26ad8f(_0x51ed64,_0x4703('0x2f'),_0x26ad8f(_0x51ed64,'ELEMENT_SPACE',_0x3f65c5['remove'][_0x4703('0x2e')]))});continue;}if(''!=_0x3f65c5[_0x4703('0x25')]){_0x91f0e3['push']({'type':_0x4703('0x0'),'content':_0x26ad8f(_0x51ed64,_0x4703('0x4'),'\x22'+_0x3f65c5[_0x4703('0x25')]+'\x22')});continue;}_0x91f0e3[_0x4703('0x2d')]({'type':_0x4703('0x1a'),'content':_0x26ad8f(_0x51ed64,_0x4703('0x2f'),'\x22'+_0x3f65c5[_0x4703('0x9')]+'\x22')});continue;case _0x4703('0x1d'):case _0x4703('0x2c'):_0x91f0e3['push']({'type':'insertion','content':_0x26ad8f(_0x51ed64,_0x4703('0x4'),this[_0x4703('0x35')](_0x3f65c5['element'],_0x3f65c5['quantity']))});continue;case _0x4703('0x1c'):case'removeObject':_0x91f0e3['push']({'type':_0x4703('0x1a'),'content':_0x26ad8f(_0x51ed64,_0x4703('0x2f'),this[_0x4703('0x35')](_0x3f65c5[_0x4703('0x2')],_0x3f65c5[_0x4703('0xe')]))});continue;case _0x4703('0x37'):_0x91f0e3[_0x4703('0x2d')]({'type':_0x4703('0x0'),'content':_0x26ad8f(_0x51ed64,'*Split:*\x20%0',this[_0x4703('0x35')](_0x3f65c5[_0x4703('0x2')],_0x3f65c5['quantity']))});continue;case _0x4703('0x29'):_0x91f0e3[_0x4703('0x2d')]({'type':_0x4703('0x1a'),'content':_0x26ad8f(_0x51ed64,_0x4703('0x27'),this['getItemLabel'](_0x3f65c5[_0x4703('0x2')],_0x3f65c5['quantity']))});continue;}_0x91f0e3[_0x4703('0x2d')](_0x3f65c5);}return _0x91f0e3;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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);}}
23
+ var _0x264b=['pluginName','addSuggestion','getSuggestion','requires','editor','get','adapter','plugins','TrackChanges','Comments','addSuggestionData'];(function(_0x202169,_0x264baf){var _0x4d0c1c=function(_0x395eb5){while(--_0x395eb5){_0x202169['push'](_0x202169['shift']());}};_0x4d0c1c(++_0x264baf);}(_0x264b,0xeb));var _0x4d0c=function(_0x202169,_0x264baf){_0x202169=_0x202169-0x0;var _0x4d0c1c=_0x264b[_0x202169];return _0x4d0c1c;};import{Plugin as _0x2696b2}from'ckeditor5/src/core';import _0x5f0ead from'./trackchangesui';import _0x4ab56c from'./trackchangesediting';import'ckeditor5-collaboration/src/collaboration-core';export default class k extends _0x2696b2{static get[_0x4d0c('0xa')](){return[_0x4ab56c,_0x5f0ead,_0x4d0c('0x5')];}static get[_0x4d0c('0x7')](){return _0x4d0c('0x4');}set[_0x4d0c('0x2')](_0x522064){this[_0x4d0c('0x0')][_0x4d0c('0x3')]['get'](_0x4ab56c)[_0x4d0c('0x2')]=_0x522064;}get['adapter'](){return this[_0x4d0c('0x0')][_0x4d0c('0x3')][_0x4d0c('0x1')](_0x4ab56c)[_0x4d0c('0x2')];}[_0x4d0c('0x8')](_0x295db0){return this[_0x4d0c('0x0')][_0x4d0c('0x3')][_0x4d0c('0x1')](_0x4ab56c)[_0x4d0c('0x6')](_0x295db0);}['getSuggestions']({skipNotAttached:_0x3c53a2=!0x1,toJSON:_0x4d043f=!0x1}={}){return this[_0x4d0c('0x0')]['plugins'][_0x4d0c('0x1')](_0x4ab56c)['getSuggestions']({'skipNotAttached':_0x3c53a2,'toJSON':_0x4d043f});}['getSuggestion'](_0x22885d){return this[_0x4d0c('0x0')]['plugins'][_0x4d0c('0x1')](_0x4ab56c)[_0x4d0c('0x9')](_0x22885d);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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;}
23
+ const _0x1f26=['div','trackChangesData','TrackChangesDataGetter','getRootNames','createDocumentFragment','users','_adapter','TrackChangesData','editorCreator','plugins','map','addUser','TrackChangesEditing','config','addSuggestionData','data','execute','push','name','pluginName','define','getDataWithDiscardedSuggestions','getDataWithAcceptedSuggestions','CommentsRepository','getUser','Users','document','model','requires','Pagination','trackChangesData.editorCreator','acceptAllSuggestions','editor','get','getFullData','rootsAttributes','set','getRootsAttributes','init','result','reduce','create'];(function(_0x119e3b,_0x1f2628){const _0x107bb2=function(_0x500333){while(--_0x500333){_0x119e3b['push'](_0x119e3b['shift']());}};_0x107bb2(++_0x1f2628);}(_0x1f26,0xae));const _0x107b=function(_0x119e3b,_0x1f2628){_0x119e3b=_0x119e3b-0x0;let _0x107bb2=_0x1f26[_0x119e3b];return _0x107bb2;};import{Plugin as _0x2158f2}from'ckeditor5/src/core';import{CKEditorError as _0x2cdee2}from'ckeditor5/src/utils';import _0x196a78 from'./trackchangesediting';import{sanitizeEditorConfig as _0x44092f}from'ckeditor5-collaboration/src/collaboration-core';const w=[_0x107b('0x17')];export default class T extends _0x2158f2{static get[_0x107b('0x16')](){return[_0x196a78];}static get[_0x107b('0xd')](){return _0x107b('0x1');}[_0x107b('0x20')](){const _0x3d7ec8=this['editor'];if(_0x3d7ec8[_0x107b('0x7')][_0x107b('0xe')](_0x107b('0x18'),_0x3119f7=>{const _0x308e84=_0x3d7ec8[_0x107b('0x15')][_0x107b('0x14')][_0x107b('0x27')]()[_0x107b('0x22')]((_0x54a46a,_0x4a941)=>(_0x54a46a[_0x4a941]='',_0x54a46a),{});return _0x3d7ec8['constructor'][_0x107b('0x23')](_0x308e84,_0x3119f7);}),'function'!=typeof _0x3d7ec8[_0x107b('0x7')][_0x107b('0x1b')](_0x107b('0x25'))[_0x107b('0x2')])throw new _0x2cdee2('track-changes-data-invalid-editor-creator');}[_0x107b('0x10')](_0x2419a8){return v(this[_0x107b('0x1a')],!0x0,_0x2419a8);}[_0x107b('0xf')](_0x296a87){return v(this[_0x107b('0x1a')],!0x1,_0x296a87);}}class P extends _0x2158f2{static get['pluginName'](){return _0x107b('0x26');}constructor(_0x56efd3){super(_0x56efd3),this[_0x107b('0x21')]='end';}['init'](){this[_0x107b('0x1a')][_0x107b('0x3')]['get'](_0x107b('0x11'))['_adapter']={'addCommentThread':()=>new Promise(()=>{}),'getCommentThread':()=>new Promise(()=>{}),'updateCommentThread':()=>new Promise(()=>{}),'resolveCommentThread':()=>new Promise(()=>{}),'reopenCommentThread':()=>new Promise(()=>{}),'removeCommentThread':()=>new Promise(()=>{}),'addComment':()=>new Promise(()=>{}),'updateComment':()=>new Promise(()=>{}),'removeComment':()=>new Promise(()=>{})},this[_0x107b('0x1a')]['plugins']['get'](_0x107b('0x6'))[_0x107b('0x0')]=null;}}function D(_0x137d3f){return void 0x0!==_0x137d3f[_0x107b('0x1f')];}async function v(_0x6967f8,_0x3d419b,_0x16332f){const _0x2dcc78=_0x44092f(_0x6967f8,w);_0x2dcc78[_0x107b('0x3')][_0x107b('0xb')](_0x196a78,P),_0x2dcc78[_0x107b('0x1d')]=D(_0x6967f8)?_0x6967f8['getRootsAttributes']():void 0x0;const _0x4f153e=document[_0x107b('0x28')](),_0x19f155=_0x6967f8[_0x107b('0x7')]['get']('trackChangesData')['editorCreator'],_0x38c45a=await _0x19f155(_0x2dcc78,()=>function(_0x32468b){const _0x553548=document['createElement'](_0x107b('0x24'));return _0x32468b['appendChild'](_0x553548),_0x553548;}(_0x4f153e));!function(_0x1ea0d1,_0x292804){const _0x5c78e3=_0x1ea0d1[_0x107b('0x15')][_0x107b('0x14')][_0x107b('0x27')]()[_0x107b('0x22')]((_0x51cd33,_0x4d494e)=>(_0x51cd33[_0x4d494e]=_0x1ea0d1[_0x107b('0x9')][_0x107b('0x1b')]({'rootName':_0x4d494e}),_0x51cd33),{}),_0x52f964=_0x1ea0d1[_0x107b('0x3')]['get']('Users')[_0x107b('0x29')][_0x107b('0x4')](_0x2f311e=>({'id':_0x2f311e['id'],'name':_0x2f311e[_0x107b('0xc')]})),_0x3c41a4=_0x1ea0d1[_0x107b('0x3')][_0x107b('0x1b')](_0x107b('0x6'))['getSuggestions']({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x24c637=_0x292804['plugins']['get'](_0x107b('0x13')),_0x3ec3fa=_0x292804[_0x107b('0x3')][_0x107b('0x1b')]('TrackChangesEditing');for(const _0x5ae06d of _0x52f964)_0x24c637[_0x107b('0x12')](_0x5ae06d['id'])||_0x24c637[_0x107b('0x5')](_0x5ae06d);_0x24c637['me']||_0x24c637['useAnonymousUser']();for(const _0x2013bf of _0x3c41a4)_0x3ec3fa[_0x107b('0x8')](_0x2013bf);_0x292804[_0x107b('0x9')][_0x107b('0x1e')](_0x5c78e3);}(_0x6967f8,_0x38c45a),_0x38c45a[_0x107b('0xa')](_0x3d419b?_0x107b('0x19'):'discardAllSuggestions');const _0x5843e9=D(_0x38c45a)?_0x38c45a[_0x107b('0x1c')](_0x16332f):_0x38c45a[_0x107b('0x9')][_0x107b('0x1b')](_0x16332f);return await _0x38c45a['destroy'](),_0x5843e9;}