@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20231025.0 → 0.0.0-nightly-20231026.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 (65) 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/aiassistant.js +1 -1
  9. package/src/integrations/alignment.js +1 -1
  10. package/src/integrations/basicstyles.js +1 -1
  11. package/src/integrations/blockquote.js +1 -1
  12. package/src/integrations/ckbox.js +1 -1
  13. package/src/integrations/codeblock.js +1 -1
  14. package/src/integrations/comments.js +1 -1
  15. package/src/integrations/deletecommand.js +1 -1
  16. package/src/integrations/documentlist.js +1 -1
  17. package/src/integrations/documentlistproperties.js +1 -1
  18. package/src/integrations/entercommand.js +1 -1
  19. package/src/integrations/findandreplace.js +1 -1
  20. package/src/integrations/font.js +1 -1
  21. package/src/integrations/formatpainter.js +1 -1
  22. package/src/integrations/heading.js +1 -1
  23. package/src/integrations/highlight.js +1 -1
  24. package/src/integrations/horizontalline.js +1 -1
  25. package/src/integrations/htmlembed.js +1 -1
  26. package/src/integrations/image.js +1 -1
  27. package/src/integrations/imagereplace.js +1 -1
  28. package/src/integrations/importword.js +1 -1
  29. package/src/integrations/indent.js +1 -1
  30. package/src/integrations/inputcommand.js +1 -1
  31. package/src/integrations/link.js +1 -1
  32. package/src/integrations/list.js +1 -1
  33. package/src/integrations/listproperties.js +1 -1
  34. package/src/integrations/mediaembed.js +1 -1
  35. package/src/integrations/mention.js +1 -1
  36. package/src/integrations/pagebreak.js +1 -1
  37. package/src/integrations/paragraph.js +1 -1
  38. package/src/integrations/removeformat.js +1 -1
  39. package/src/integrations/restrictededitingmode.js +1 -1
  40. package/src/integrations/shiftentercommand.js +1 -1
  41. package/src/integrations/standardeditingmode.js +1 -1
  42. package/src/integrations/style.js +1 -1
  43. package/src/integrations/table.js +1 -1
  44. package/src/integrations/tablecaption.js +1 -1
  45. package/src/integrations/tableclipboard.js +1 -1
  46. package/src/integrations/tablecolumnresize.js +1 -1
  47. package/src/integrations/tableheadings.js +1 -1
  48. package/src/integrations/tablemergesplit.js +1 -1
  49. package/src/integrations/tableofcontents.js +1 -1
  50. package/src/integrations/tableproperties.js +1 -1
  51. package/src/integrations/template.js +1 -1
  52. package/src/integrations/title.js +1 -1
  53. package/src/integrations/undo.js +1 -1
  54. package/src/integrations/utils.js +1 -1
  55. package/src/suggestion.js +1 -1
  56. package/src/suggestiondescriptionfactory.js +1 -1
  57. package/src/trackchanges.js +1 -1
  58. package/src/trackchangesdata.js +1 -1
  59. package/src/trackchangesediting.js +1 -1
  60. package/src/trackchangesui.js +1 -1
  61. package/src/ui/suggestioncontroller.js +1 -1
  62. package/src/ui/view/basesuggestionthreadview.js +1 -1
  63. package/src/ui/view/suggestionthreadview.js +1 -1
  64. package/src/utils/common-translations.js +1 -1
  65. package/src/utils/utils.js +1 -1
package/src/suggestion.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2cb5=['_onAccept','createdAt','next','getFirstRange','_model','author','@external','removeMarker','getMarkerNames','getRanges','from','getContainedElement','getFirstMarker','reduce','start','accept','addRange','map','commentThread','head','toJSON','set','_isDataLoaded','discard','split','decorate','substr','data','size','getRange','previous','onAccept','delete','change','getMultiRangeId','subType','getMarkers','end','length','isMultiRange','hasComments','nodeBefore','addMarkerName','creator','onDiscard','filter','addMarker','removeAttribute','isExternal','_onAttributesChange','_markerNames','removeMarkers','_onDiscard','type','attributes','add','get'];(function(_0x338320,_0x2cb581){const _0x38b5b8=function(_0x5ea120){while(--_0x5ea120){_0x338320['push'](_0x338320['shift']());}};_0x38b5b8(++_0x2cb581);}(_0x2cb5,0x71));const _0x38b5=function(_0x338320,_0x2cb581){_0x338320=_0x338320-0x0;let _0x38b5b8=_0x2cb5[_0x338320];return _0x38b5b8;};import{Element as _0x1cd242}from'ckeditor5/src/engine';import{ObservableMixin as _0x37f30d,uid as _0x2c036b}from'ckeditor5/src/utils';import{cloneDeep as _0x47ea4b,isEqual as _0x5e0215,set as _0x1ec594,unset as _0x4b2b1a}from'lodash-es';export default class u extends _0x37f30d(){constructor(_0x209b0a,_0x3b4006){super(),this[_0x38b5('0x17')]=!0x1,this['id']=_0x3b4006['id'],this[_0x38b5('0x36')]=_0x3b4006[_0x38b5('0x36')],this['subType']=_0x3b4006[_0x38b5('0x24')]||null,this[_0x38b5('0x6')]=_0x3b4006[_0x38b5('0x6')],this[_0x38b5('0x2c')]=_0x3b4006[_0x38b5('0x2c')]||_0x3b4006[_0x38b5('0x6')],this[_0x38b5('0x31')]=Boolean(_0x3b4006[_0x38b5('0x37')]&&_0x3b4006['attributes'][_0x38b5('0x7')]),this[_0x38b5('0x1c')]=null,this[_0x38b5('0x5')]=_0x209b0a,this[_0x38b5('0x1')]=_0x3b4006[_0x38b5('0x20')],this[_0x38b5('0x35')]=_0x3b4006[_0x38b5('0x2d')],this['_onAttributesChange']=_0x3b4006['onAttributesChange'],this[_0x38b5('0x33')]=new Set(),this[_0x38b5('0x2')]=null,this[_0x38b5('0x16')]('authoredAt',null),this[_0x38b5('0x16')](_0x38b5('0x37'),_0x3b4006['attributes']||{}),this[_0x38b5('0x16')]('previous',null),this[_0x38b5('0x16')](_0x38b5('0x3'),null),this['set'](_0x38b5('0x13'),null),this[_0x38b5('0x16')]('_saved',!0x1),this[_0x38b5('0x1a')](_0x38b5('0x10')),this[_0x38b5('0x1a')](_0x38b5('0x18'));}get[_0x38b5('0x14')](){let _0x2243be=this;for(;_0x2243be['previous'];)_0x2243be=_0x2243be[_0x38b5('0x1f')];return _0x2243be;}get[_0x38b5('0x29')](){return!!this[_0x38b5('0x13')]&&this['commentThread'][_0x38b5('0x27')]>0x0;}get[_0x38b5('0x28')](){if(0x0==this[_0x38b5('0x33')][_0x38b5('0x1d')])return!0x1;return 0x6==Array[_0x38b5('0xb')](this['_markerNames'])[0x0][_0x38b5('0x19')](':')[_0x38b5('0x27')];}get['isInContent'](){return null!==this[_0x38b5('0xd')]();}[_0x38b5('0x2b')](_0x436727){this['_markerNames'][_0x38b5('0x38')](_0x436727);}[_0x38b5('0x9')](){return Array[_0x38b5('0xb')](this['_markerNames']);}[_0x38b5('0x25')](){return this[_0x38b5('0x9')]()['map'](_0x5bfcfe=>this['_model']['markers'][_0x38b5('0x0')](_0x5bfcfe))[_0x38b5('0x2e')](_0x897dbf=>_0x897dbf);}[_0x38b5('0xd')](){return this[_0x38b5('0x25')]()[0x0]||null;}[_0x38b5('0x34')](){this['_model'][_0x38b5('0x22')](_0x3f9493=>{for(const _0x12b509 of this['getMarkers']())_0x3f9493[_0x38b5('0x8')](_0x12b509);}),this[_0x38b5('0x33')]['clear']();}[_0x38b5('0x8')](_0x4b8ea5){this['_model'][_0x38b5('0x22')](_0x38a01a=>{_0x38a01a['removeMarker'](_0x4b8ea5);}),this[_0x38b5('0x33')][_0x38b5('0x21')](_0x4b8ea5);}[_0x38b5('0x11')](_0x22a024){const _0x1b964d='suggestion:'+this[_0x38b5('0x36')]+':'+this[_0x38b5('0x24')]+':'+this['id']+':'+this[_0x38b5('0x2c')]['id']+':'+u[_0x38b5('0x23')]();this[_0x38b5('0x2b')](_0x1b964d),this[_0x38b5('0x5')]['change'](_0xef6350=>{_0xef6350[_0x38b5('0x2f')](_0x1b964d,{'range':_0x22a024,'usingOperation':!0x0,'affectsData':!0x0});});}['isIntersectingWithRange'](_0x37a668){for(const _0x21a90e of this[_0x38b5('0xa')]())if(_0x21a90e['isIntersecting'](_0x37a668))return!0x0;return!0x1;}[_0x38b5('0xa')](){return this[_0x38b5('0x25')]()[_0x38b5('0x12')](_0x3b86ab=>_0x3b86ab[_0x38b5('0x1e')]());}['getItems'](){return this['getRanges']()[_0x38b5('0xe')]((_0x5ddc47,_0x40a743)=>[..._0x5ddc47,..._0x40a743['getItems']()],[]);}[_0x38b5('0x4')](){var _0xba0584;return(null===(_0xba0584=this['getFirstMarker']())||void 0x0===_0xba0584?void 0x0:_0xba0584[_0x38b5('0x1e')]())||null;}[_0x38b5('0xc')](){const _0x57e917=this['getRanges']();if(0x1!=_0x57e917['length'])return null;const _0xa0f1c2=_0x57e917[0x0],_0xa8550c=_0xa0f1c2[_0x38b5('0xf')]['nodeAfter'],_0x140fe1=_0xa0f1c2[_0x38b5('0x26')][_0x38b5('0x2a')];return _0xa8550c instanceof _0x1cd242?_0xa8550c!=_0x140fe1?null:_0xa8550c:null;}[_0x38b5('0x10')](){this[_0x38b5('0x1')](this[_0x38b5('0xa')](),this[_0x38b5('0x1c')],this[_0x38b5('0x37')]),this[_0x38b5('0x34')]();}[_0x38b5('0x18')](){this[_0x38b5('0x35')](this[_0x38b5('0xa')](),this[_0x38b5('0x1c')],this['attributes']),this[_0x38b5('0x34')]();}['getAllAdjacentSuggestions'](){const _0x34961c=[];let _0x12b638=this[_0x38b5('0x14')];for(;_0x12b638;)_0x34961c['push'](_0x12b638),_0x12b638=_0x12b638['next'];return _0x34961c;}['setAttribute'](_0x2b9ca3,_0x346279){const _0x5aa13c=_0x47ea4b(this[_0x38b5('0x37')]);_0x1ec594(_0x5aa13c,_0x2b9ca3,_0x346279),_0x5e0215(_0x5aa13c,this['attributes'])||(this['attributes']=_0x5aa13c,this['_onAttributesChange'](_0x5aa13c));}[_0x38b5('0x30')](_0x43569a){const _0x5bdc9a=_0x47ea4b(this['attributes']);_0x4b2b1a(_0x5bdc9a,_0x43569a),_0x5e0215(_0x5bdc9a,this['attributes'])||(this[_0x38b5('0x37')]=_0x5bdc9a,this[_0x38b5('0x32')](this[_0x38b5('0x37')]));}[_0x38b5('0x15')](){return{'id':this['id'],'type':this[_0x38b5('0x24')]?this[_0x38b5('0x36')]+':'+this['subType']:this[_0x38b5('0x36')],'authorId':this[_0x38b5('0x2c')]['id'],'createdAt':this[_0x38b5('0x2')],'hasComments':this[_0x38b5('0x29')],'data':this['data'],'attributes':this[_0x38b5('0x37')]};}static[_0x38b5('0x23')](){return _0x2c036b()[_0x38b5('0x1b')](0x1,0x5);}}
23
+ const _0x1019=['creator','decorate','getRanges','_model','getRange','suggestion:','getFirstRange','_onAccept','start','clear','_onAttributesChange','type','removeAttribute','isIntersectingWithRange','substr','setAttribute','next','_saved','addMarkerName','filter','head','_markerNames','isIntersecting','get','set','data','onDiscard','onAttributesChange','getItems','change','removeMarker','getFirstMarker','_isDataLoaded','_onDiscard','addMarker','previous','split','getContainedElement','markers','push','length','author','getMarkers','subType','@external','getMarkerNames','commentThread','addRange','nodeBefore','from','reduce','toJSON','attributes','nodeAfter','authoredAt','isExternal','discard','delete','map','getAllAdjacentSuggestions','removeMarkers','isMultiRange'];(function(_0x231a46,_0x10192e){const _0xdaa297=function(_0x104756){while(--_0x104756){_0x231a46['push'](_0x231a46['shift']());}};_0xdaa297(++_0x10192e);}(_0x1019,0xf7));const _0xdaa2=function(_0x231a46,_0x10192e){_0x231a46=_0x231a46-0x0;let _0xdaa297=_0x1019[_0x231a46];return _0xdaa297;};import{Element as _0x301c2c}from'ckeditor5/src/engine';import{ObservableMixin as _0x218001,uid as _0x616ba2}from'ckeditor5/src/utils';import{cloneDeep as _0x5a93ba,isEqual as _0x5c4f74,set as _0x4d764c,unset as _0x5100df}from'lodash-es';export default class u extends _0x218001(){constructor(_0x46dae9,_0x1e9d78){super(),this[_0xdaa2('0x21')]=!0x1,this['id']=_0x1e9d78['id'],this[_0xdaa2('0xc')]=_0x1e9d78['type'],this[_0xdaa2('0x2c')]=_0x1e9d78['subType']||null,this[_0xdaa2('0x2a')]=_0x1e9d78[_0xdaa2('0x2a')],this[_0xdaa2('0x1')]=_0x1e9d78[_0xdaa2('0x1')]||_0x1e9d78[_0xdaa2('0x2a')],this[_0xdaa2('0x38')]=Boolean(_0x1e9d78[_0xdaa2('0x35')]&&_0x1e9d78[_0xdaa2('0x35')][_0xdaa2('0x2d')]),this[_0xdaa2('0x1a')]=null,this['_model']=_0x46dae9,this[_0xdaa2('0x8')]=_0x1e9d78['onAccept'],this[_0xdaa2('0x22')]=_0x1e9d78[_0xdaa2('0x1b')],this['_onAttributesChange']=_0x1e9d78[_0xdaa2('0x1c')],this[_0xdaa2('0x16')]=new Set(),this['createdAt']=null,this[_0xdaa2('0x19')](_0xdaa2('0x37'),null),this[_0xdaa2('0x19')](_0xdaa2('0x35'),_0x1e9d78[_0xdaa2('0x35')]||{}),this[_0xdaa2('0x19')](_0xdaa2('0x24'),null),this[_0xdaa2('0x19')](_0xdaa2('0x11'),null),this['set']('commentThread',null),this[_0xdaa2('0x19')](_0xdaa2('0x12'),!0x1),this[_0xdaa2('0x2')]('accept'),this[_0xdaa2('0x2')](_0xdaa2('0x39'));}get[_0xdaa2('0x15')](){let _0xfc670f=this;for(;_0xfc670f[_0xdaa2('0x24')];)_0xfc670f=_0xfc670f[_0xdaa2('0x24')];return _0xfc670f;}get['hasComments'](){return!!this[_0xdaa2('0x2f')]&&this[_0xdaa2('0x2f')][_0xdaa2('0x29')]>0x0;}get[_0xdaa2('0x0')](){if(0x0==this['_markerNames']['size'])return!0x1;return 0x6==Array[_0xdaa2('0x32')](this['_markerNames'])[0x0][_0xdaa2('0x25')](':')['length'];}get['isInContent'](){return null!==this[_0xdaa2('0x20')]();}[_0xdaa2('0x13')](_0x1bde82){this[_0xdaa2('0x16')]['add'](_0x1bde82);}[_0xdaa2('0x2e')](){return Array[_0xdaa2('0x32')](this['_markerNames']);}[_0xdaa2('0x2b')](){return this[_0xdaa2('0x2e')]()[_0xdaa2('0x3b')](_0x4c955f=>this[_0xdaa2('0x4')][_0xdaa2('0x27')][_0xdaa2('0x18')](_0x4c955f))[_0xdaa2('0x14')](_0x549b07=>_0x549b07);}[_0xdaa2('0x20')](){return this[_0xdaa2('0x2b')]()[0x0]||null;}[_0xdaa2('0x3d')](){this[_0xdaa2('0x4')][_0xdaa2('0x1e')](_0x16bc2c=>{for(const _0x387b3a of this[_0xdaa2('0x2b')]())_0x16bc2c[_0xdaa2('0x1f')](_0x387b3a);}),this[_0xdaa2('0x16')][_0xdaa2('0xa')]();}[_0xdaa2('0x1f')](_0x508bf7){this[_0xdaa2('0x4')][_0xdaa2('0x1e')](_0x410504=>{_0x410504[_0xdaa2('0x1f')](_0x508bf7);}),this[_0xdaa2('0x16')][_0xdaa2('0x3a')](_0x508bf7);}[_0xdaa2('0x30')](_0x3779d7){const _0x16d73c=_0xdaa2('0x6')+this['type']+':'+this[_0xdaa2('0x2c')]+':'+this['id']+':'+this[_0xdaa2('0x1')]['id']+':'+u['getMultiRangeId']();this[_0xdaa2('0x13')](_0x16d73c),this[_0xdaa2('0x4')]['change'](_0x554fd3=>{_0x554fd3[_0xdaa2('0x23')](_0x16d73c,{'range':_0x3779d7,'usingOperation':!0x0,'affectsData':!0x0});});}[_0xdaa2('0xe')](_0x1472c6){for(const _0x400231 of this[_0xdaa2('0x3')]())if(_0x400231[_0xdaa2('0x17')](_0x1472c6))return!0x0;return!0x1;}[_0xdaa2('0x3')](){return this[_0xdaa2('0x2b')]()['map'](_0x49c2d7=>_0x49c2d7[_0xdaa2('0x5')]());}[_0xdaa2('0x1d')](){return this[_0xdaa2('0x3')]()[_0xdaa2('0x33')]((_0xacc491,_0x5c2be5)=>[..._0xacc491,..._0x5c2be5[_0xdaa2('0x1d')]()],[]);}[_0xdaa2('0x7')](){var _0x229e39;return(null===(_0x229e39=this[_0xdaa2('0x20')]())||void 0x0===_0x229e39?void 0x0:_0x229e39[_0xdaa2('0x5')]())||null;}[_0xdaa2('0x26')](){const _0x1df84c=this['getRanges']();if(0x1!=_0x1df84c[_0xdaa2('0x29')])return null;const _0x5b309a=_0x1df84c[0x0],_0x5b852e=_0x5b309a[_0xdaa2('0x9')][_0xdaa2('0x36')],_0x273a35=_0x5b309a['end'][_0xdaa2('0x31')];return _0x5b852e instanceof _0x301c2c?_0x5b852e!=_0x273a35?null:_0x5b852e:null;}['accept'](){this[_0xdaa2('0x8')](this[_0xdaa2('0x3')](),this[_0xdaa2('0x1a')],this['attributes']),this[_0xdaa2('0x3d')]();}[_0xdaa2('0x39')](){this['_onDiscard'](this['getRanges'](),this[_0xdaa2('0x1a')],this['attributes']),this[_0xdaa2('0x3d')]();}[_0xdaa2('0x3c')](){const _0x31b3aa=[];let _0x274111=this[_0xdaa2('0x15')];for(;_0x274111;)_0x31b3aa[_0xdaa2('0x28')](_0x274111),_0x274111=_0x274111[_0xdaa2('0x11')];return _0x31b3aa;}[_0xdaa2('0x10')](_0x39b45d,_0x3724f8){const _0x296e02=_0x5a93ba(this[_0xdaa2('0x35')]);_0x4d764c(_0x296e02,_0x39b45d,_0x3724f8),_0x5c4f74(_0x296e02,this[_0xdaa2('0x35')])||(this[_0xdaa2('0x35')]=_0x296e02,this['_onAttributesChange'](_0x296e02));}[_0xdaa2('0xd')](_0x43a7a0){const _0x183ea9=_0x5a93ba(this[_0xdaa2('0x35')]);_0x5100df(_0x183ea9,_0x43a7a0),_0x5c4f74(_0x183ea9,this[_0xdaa2('0x35')])||(this[_0xdaa2('0x35')]=_0x183ea9,this[_0xdaa2('0xb')](this[_0xdaa2('0x35')]));}[_0xdaa2('0x34')](){return{'id':this['id'],'type':this[_0xdaa2('0x2c')]?this['type']+':'+this[_0xdaa2('0x2c')]:this['type'],'authorId':this['creator']['id'],'createdAt':this['createdAt'],'hasComments':this['hasComments'],'data':this[_0xdaa2('0x1a')],'attributes':this[_0xdaa2('0x35')]};}static['getMultiRangeId'](){return _0x616ba2()[_0xdaa2('0xf')](0x1,0x5);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1322=['pop','isEmpty','getDescriptions','set','_resolveDescriptionItems','elementStart','_schema','softBreak','_locale','getWalker','removeContainer','$1\x20$2','EmptyContainer','removeEmptyContainer','getItemLabel','getFirstRange','indexOf','matchingCallback','*Insert:*\x20%0','get','removeObject','start','isObject','replace','previousSibling','end','push','nextSibling','element','type','add','*Remove:*\x20%0','deletion','item','Container','_customCallbacks','$textProxy','length','remove','quantity','_itemLabels','name','_addDescriptionItems','ELEMENT_SPACE','*Merge:*\x20%0','text','*Split:*\x20%0','isEqual','REPLACE_TEXT','$text','data','_itemLabelsCallbacks','skip','registerDescriptionCallback','normal','insertion','elementEnd'];(function(_0x14c814,_0x1322f7){const _0x43b776=function(_0x40a7f1){while(--_0x40a7f1){_0x14c814['push'](_0x14c814['shift']());}};_0x43b776(++_0x1322f7);}(_0x1322,0xbb));const _0x43b7=function(_0x14c814,_0x1322f7){_0x14c814=_0x14c814-0x0;let _0x43b776=_0x1322[_0x14c814];return _0x43b776;};import{getTranslation as _0x5426e2}from'./utils/common-translations';import{priorities as _0x22d7de,insertToPriorityArray as _0x560b8e}from'ckeditor5/src/utils';export default class m{constructor(_0x323678,_0x514962){this['_customCallbacks']=[],this[_0x43b7('0x18')]=new Map(),this[_0x43b7('0x23')]=[],this[_0x43b7('0x2f')]=_0x323678,this[_0x43b7('0x31')]=_0x514962;}[_0x43b7('0x2b')](_0x24751e){const _0xad478a=[];for(let _0x448d16=0x0;_0x448d16<_0x24751e['length'];_0x448d16++){const _0x540b63=_0x24751e[_0x448d16];if(!_0x540b63['isInContent'])continue;let _0x3c8177=!0x1;for(const _0x5cc87e of this[_0x43b7('0x13')]){const _0xb65686=_0x5cc87e(_0x540b63);if(_0xb65686){_0x43b7('0xd')in _0xb65686&&_0xad478a['push'](_0xb65686),_0x3c8177=!0x0;break;}}if(!_0x3c8177){this[_0x43b7('0x1a')](_0xad478a,_0x540b63);const _0xa20a37=_0x24751e[_0x448d16+0x1];if(_0xa20a37&&!_0x540b63[_0x43b7('0x38')]()[_0x43b7('0x9')][_0x43b7('0x1f')](_0xa20a37[_0x43b7('0x38')]()[_0x43b7('0x5')])){const _0x20b611=_0xad478a[_0xad478a[_0x43b7('0x15')]-0x1],_0x27a90e='insertion'==_0x540b63[_0x43b7('0xd')]?'add':_0x43b7('0x16');_0x20b611&&_0x43b7('0x1d')==_0x20b611[_0x43b7('0xd')]&&(_0x20b611[_0x27a90e]+='\x0a');}}}return this['_resolveDescriptionItems'](_0xad478a);}[_0x43b7('0x25')](_0x49c5c6){this[_0x43b7('0x13')][_0x43b7('0xa')](_0x49c5c6);}['registerElementLabel'](_0xb6a9d7,_0x31c827,_0x3f4982=_0x22d7de[_0x43b7('0x26')]){'function'==typeof _0xb6a9d7?_0x560b8e(this['_itemLabelsCallbacks'],{'matchingCallback':_0xb6a9d7,'label':_0x31c827,'priority':_0x3f4982}):this[_0x43b7('0x18')][_0x43b7('0x2c')](_0xb6a9d7,_0x31c827);}[_0x43b7('0x37')](_0x3b8b0e,_0x4d8338=0x1){let _0x98a0a0;for(const _0x448163 of this[_0x43b7('0x23')])if(_0x448163[_0x43b7('0x1')](_0x3b8b0e)){_0x98a0a0=_0x448163['label'];break;}return _0x98a0a0||(_0x98a0a0=this['_itemLabels'][_0x43b7('0x3')](_0x3b8b0e[_0x43b7('0x19')])),_0x98a0a0?_0x98a0a0(_0x4d8338):0x1!==_0x4d8338?_0x4d8338+'\x20'+_0x3b8b0e[_0x43b7('0x19')]+'s':''+_0x3b8b0e['name'];}[_0x43b7('0x1a')](_0x5615f8,_0x1d4f0c){const _0x16eeb0=_0x1d4f0c[_0x43b7('0x38')]()[_0x43b7('0x32')](),_0x524ec2=_0x43b7('0x27')==_0x1d4f0c[_0x43b7('0xd')]?'add':_0x43b7('0x16');for(const _0x2a96b9 of _0x16eeb0){const _0x3bc557=_0x2a96b9[_0x43b7('0x11')],_0x1c7375=_0x5615f8[_0x5615f8['length']-0x1];if(_0x3bc557['is'](_0x43b7('0x14')))_0x1c7375&&_0x1c7375['type'][_0x43b7('0x0')](_0x43b7('0x12'))>-0x1&&_0x5615f8['pop'](),_0x1c7375&&'text'==_0x1c7375[_0x43b7('0xd')]?_0x1c7375[_0x524ec2]+=_0x3bc557[_0x43b7('0x22')]:_0x5615f8['push']({'type':_0x43b7('0x1d'),'add':_0x43b7('0xe')==_0x524ec2?_0x3bc557[_0x43b7('0x22')]:'','remove':'remove'==_0x524ec2?_0x3bc557[_0x43b7('0x22')]:''});else{if(this[_0x43b7('0x2f')][_0x43b7('0x6')](_0x3bc557)){const _0x55e1f4=_0x3bc557;if(_0x1c7375&&_0x1c7375[_0x43b7('0xd')][_0x43b7('0x0')](_0x43b7('0x12'))>-0x1&&_0x5615f8[_0x43b7('0x29')](),_0x43b7('0x28')==_0x2a96b9[_0x43b7('0xd')])continue;_0x1c7375&&_0x1c7375['type']==_0x524ec2+'Object'&&_0x1c7375[_0x43b7('0xc')][_0x43b7('0x19')]==_0x55e1f4['name']?_0x1c7375[_0x43b7('0x17')]++:_0x5615f8[_0x43b7('0xa')]({'type':_0x524ec2+'Object','element':_0x55e1f4,'quantity':0x1}),_0x16eeb0[_0x43b7('0x24')](_0x7dfdaf=>!(_0x43b7('0x28')==_0x7dfdaf[_0x43b7('0xd')]&&_0x7dfdaf[_0x43b7('0x11')]==_0x3bc557));}else{if(this[_0x43b7('0x2f')]['checkChild'](_0x3bc557,_0x43b7('0x21'))||_0x3bc557['is'](_0x43b7('0xc'),_0x43b7('0x30'))){const _0x4b0fcf=_0x3bc557;if(_0x43b7('0xe')==_0x524ec2&&_0x43b7('0x2e')==_0x2a96b9[_0x43b7('0xd')]||'remove'==_0x524ec2&&_0x43b7('0x28')==_0x2a96b9[_0x43b7('0xd')])continue;if(_0x1c7375&&-0x1==_0x1c7375[_0x43b7('0xd')]['indexOf'](_0x43b7('0x12'))){'text'==_0x1c7375[_0x43b7('0xd')]&&(_0x1c7375[_0x524ec2]+='\x0a');continue;}let _0x5313bc;if(_0x5313bc=_0x43b7('0xe')==_0x524ec2?_0x4b0fcf['nextSibling']&&!this['_schema'][_0x43b7('0x6')](_0x4b0fcf[_0x43b7('0xb')])?_0x4b0fcf[_0x43b7('0xb')]:null:_0x4b0fcf[_0x43b7('0x8')]&&!this[_0x43b7('0x2f')][_0x43b7('0x6')](_0x4b0fcf['previousSibling'])?_0x4b0fcf['previousSibling']:null,_0x4b0fcf[_0x43b7('0x2a')]||_0x5313bc&&_0x5313bc[_0x43b7('0x2a')]){const _0xe8eaa9=_0x5313bc&&_0x5313bc['isEmpty']?_0x5313bc:_0x4b0fcf;_0x1c7375&&_0x1c7375[_0x43b7('0xd')]==_0x524ec2+_0x43b7('0x35')&&_0x1c7375['element']['name']==_0xe8eaa9['name']?_0x1c7375[_0x43b7('0x17')]++:_0x5615f8[_0x43b7('0xa')]({'type':_0x524ec2+'EmptyContainer','element':_0xe8eaa9,'quantity':0x1});}else _0x5615f8['push']({'type':_0x524ec2+_0x43b7('0x12'),'element':_0x4b0fcf});}}}}}[_0x43b7('0x2d')](_0x35151c){const _0x5de1b0=this[_0x43b7('0x31')],_0x72521e=[];for(const _0x35752e of _0x35151c){switch(_0x35752e[_0x43b7('0xd')]){case _0x43b7('0x1d'):if(_0x35752e[_0x43b7('0xe')]=_0x35752e['add'][_0x43b7('0x7')](/(\S)\u000A+(\S)/g,_0x43b7('0x34'))[_0x43b7('0x7')](/\u000A/g,''),_0x35752e['remove']=_0x35752e[_0x43b7('0x16')][_0x43b7('0x7')](/(\S)\u000A+(\S)/g,_0x43b7('0x34'))['replace'](/\u000A/g,''),''!=_0x35752e[_0x43b7('0xe')]&&''!=_0x35752e[_0x43b7('0x16')]){_0x72521e[_0x43b7('0xa')]({'type':_0x43b7('0x7'),'content':_0x5426e2(_0x5de1b0,_0x43b7('0x20'),['\x22'+_0x35752e[_0x43b7('0x16')]+'\x22','\x22'+_0x35752e[_0x43b7('0xe')]+'\x22'])});continue;}if(null!=_0x35752e[_0x43b7('0xe')]['match'](/^ +$/)){_0x72521e[_0x43b7('0xa')]({'type':_0x43b7('0x27'),'content':_0x5426e2(_0x5de1b0,'*Insert:*\x20%0',_0x5426e2(_0x5de1b0,_0x43b7('0x1b'),_0x35752e['add'][_0x43b7('0x15')]))});continue;}if(null!=_0x35752e[_0x43b7('0x16')]['match'](/^ +$/)){_0x72521e[_0x43b7('0xa')]({'type':_0x43b7('0x10'),'content':_0x5426e2(_0x5de1b0,'*Remove:*\x20%0',_0x5426e2(_0x5de1b0,_0x43b7('0x1b'),_0x35752e[_0x43b7('0x16')][_0x43b7('0x15')]))});continue;}if(''!=_0x35752e[_0x43b7('0xe')]){_0x72521e[_0x43b7('0xa')]({'type':_0x43b7('0x27'),'content':_0x5426e2(_0x5de1b0,_0x43b7('0x2'),'\x22'+_0x35752e['add']+'\x22')});continue;}_0x72521e[_0x43b7('0xa')]({'type':_0x43b7('0x10'),'content':_0x5426e2(_0x5de1b0,_0x43b7('0xf'),'\x22'+_0x35752e[_0x43b7('0x16')]+'\x22')});continue;case'addEmptyContainer':case'addObject':_0x72521e[_0x43b7('0xa')]({'type':_0x43b7('0x27'),'content':_0x5426e2(_0x5de1b0,'*Insert:*\x20%0',this[_0x43b7('0x37')](_0x35752e[_0x43b7('0xc')],_0x35752e[_0x43b7('0x17')]))});continue;case _0x43b7('0x36'):case _0x43b7('0x4'):_0x72521e[_0x43b7('0xa')]({'type':_0x43b7('0x10'),'content':_0x5426e2(_0x5de1b0,'*Remove:*\x20%0',this['getItemLabel'](_0x35752e['element'],_0x35752e[_0x43b7('0x17')]))});continue;case'addContainer':_0x72521e[_0x43b7('0xa')]({'type':_0x43b7('0x27'),'content':_0x5426e2(_0x5de1b0,_0x43b7('0x1e'),this[_0x43b7('0x37')](_0x35752e[_0x43b7('0xc')],_0x35752e[_0x43b7('0x17')]))});continue;case _0x43b7('0x33'):_0x72521e['push']({'type':_0x43b7('0x10'),'content':_0x5426e2(_0x5de1b0,_0x43b7('0x1c'),this[_0x43b7('0x37')](_0x35752e[_0x43b7('0xc')],_0x35752e[_0x43b7('0x17')]))});continue;}_0x72521e['push'](_0x35752e);}return _0x72521e;}}
23
+ const _0x1ef1=['Container','add','elementStart','addContainer','ELEMENT_SPACE','matchingCallback','push','*Insert:*\x20%0','addObject','$text','checkChild','pop','get','registerElementLabel','insertion','EmptyContainer','match','label','_resolveDescriptionItems','item','quantity','indexOf','remove','length','deletion','isInContent','text','previousSibling','_locale','*Split:*\x20%0','set','registerDescriptionCallback','*Merge:*\x20%0','element','isEmpty','type','addEmptyContainer','elementEnd','softBreak','nextSibling','Object','skip','data','_customCallbacks','function','getItemLabel','end','getDescriptions','removeObject','getFirstRange','getWalker','_itemLabels','isEqual','normal','name','isObject','*Remove:*\x20%0','_schema','replace'];(function(_0x33b5eb,_0x1ef197){const _0x2f6a76=function(_0xb0d59e){while(--_0xb0d59e){_0x33b5eb['push'](_0x33b5eb['shift']());}};_0x2f6a76(++_0x1ef197);}(_0x1ef1,0x13d));const _0x2f6a=function(_0x33b5eb,_0x1ef197){_0x33b5eb=_0x33b5eb-0x0;let _0x2f6a76=_0x1ef1[_0x33b5eb];return _0x2f6a76;};import{getTranslation as _0xde81f1}from'./utils/common-translations';import{priorities as _0x2a7132,insertToPriorityArray as _0x36a9d0}from'ckeditor5/src/utils';export default class m{constructor(_0xd46b43,_0x46227c){this['_customCallbacks']=[],this[_0x2f6a('0x1d')]=new Map(),this['_itemLabelsCallbacks']=[],this[_0x2f6a('0x23')]=_0xd46b43,this[_0x2f6a('0x6')]=_0x46227c;}[_0x2f6a('0x19')](_0x340b28){const _0x5c1155=[];for(let _0x1f6c24=0x0;_0x1f6c24<_0x340b28[_0x2f6a('0x1')];_0x1f6c24++){const _0x10b1a6=_0x340b28[_0x1f6c24];if(!_0x10b1a6[_0x2f6a('0x3')])continue;let _0x4ec84e=!0x1;for(const _0xf3cb4 of this['_customCallbacks']){const _0x5a1224=_0xf3cb4(_0x10b1a6);if(_0x5a1224){'type'in _0x5a1224&&_0x5c1155['push'](_0x5a1224),_0x4ec84e=!0x0;break;}}if(!_0x4ec84e){this['_addDescriptionItems'](_0x5c1155,_0x10b1a6);const _0x453dc9=_0x340b28[_0x1f6c24+0x1];if(_0x453dc9&&!_0x10b1a6['getFirstRange']()[_0x2f6a('0x18')][_0x2f6a('0x1e')](_0x453dc9[_0x2f6a('0x1b')]()['start'])){const _0x26dad2=_0x5c1155[_0x5c1155[_0x2f6a('0x1')]-0x1],_0xe265af='insertion'==_0x10b1a6['type']?'add':_0x2f6a('0x0');_0x26dad2&&_0x2f6a('0x4')==_0x26dad2[_0x2f6a('0xd')]&&(_0x26dad2[_0xe265af]+='\x0a');}}}return this[_0x2f6a('0x37')](_0x5c1155);}[_0x2f6a('0x9')](_0xd742d){this[_0x2f6a('0x15')]['push'](_0xd742d);}[_0x2f6a('0x32')](_0x4da676,_0x3901c3,_0x22a1ec=_0x2a7132[_0x2f6a('0x1f')]){_0x2f6a('0x16')==typeof _0x4da676?_0x36a9d0(this['_itemLabelsCallbacks'],{'matchingCallback':_0x4da676,'label':_0x3901c3,'priority':_0x22a1ec}):this[_0x2f6a('0x1d')][_0x2f6a('0x8')](_0x4da676,_0x3901c3);}[_0x2f6a('0x17')](_0x2dca01,_0x559ffe=0x1){let _0x28fdcb;for(const _0x4afbb7 of this['_itemLabelsCallbacks'])if(_0x4afbb7[_0x2f6a('0x2a')](_0x2dca01)){_0x28fdcb=_0x4afbb7[_0x2f6a('0x36')];break;}return _0x28fdcb||(_0x28fdcb=this['_itemLabels'][_0x2f6a('0x31')](_0x2dca01[_0x2f6a('0x20')])),_0x28fdcb?_0x28fdcb(_0x559ffe):0x1!==_0x559ffe?_0x559ffe+'\x20'+_0x2dca01['name']+'s':''+_0x2dca01[_0x2f6a('0x20')];}['_addDescriptionItems'](_0x188b6d,_0x40a387){const _0x2dc0f5=_0x40a387[_0x2f6a('0x1b')]()[_0x2f6a('0x1c')](),_0x54d1a5='insertion'==_0x40a387[_0x2f6a('0xd')]?'add':_0x2f6a('0x0');for(const _0x3f2778 of _0x2dc0f5){const _0x3833f3=_0x3f2778[_0x2f6a('0x38')],_0x5a7bcf=_0x188b6d[_0x188b6d[_0x2f6a('0x1')]-0x1];if(_0x3833f3['is']('$textProxy'))_0x5a7bcf&&_0x5a7bcf[_0x2f6a('0xd')][_0x2f6a('0x3a')]('Container')>-0x1&&_0x188b6d[_0x2f6a('0x30')](),_0x5a7bcf&&_0x2f6a('0x4')==_0x5a7bcf[_0x2f6a('0xd')]?_0x5a7bcf[_0x54d1a5]+=_0x3833f3[_0x2f6a('0x14')]:_0x188b6d[_0x2f6a('0x2b')]({'type':_0x2f6a('0x4'),'add':_0x2f6a('0x26')==_0x54d1a5?_0x3833f3['data']:'','remove':_0x2f6a('0x0')==_0x54d1a5?_0x3833f3[_0x2f6a('0x14')]:''});else{if(this[_0x2f6a('0x23')][_0x2f6a('0x21')](_0x3833f3)){const _0x5b025a=_0x3833f3;if(_0x5a7bcf&&_0x5a7bcf[_0x2f6a('0xd')][_0x2f6a('0x3a')]('Container')>-0x1&&_0x188b6d['pop'](),_0x2f6a('0xf')==_0x3f2778[_0x2f6a('0xd')])continue;_0x5a7bcf&&_0x5a7bcf[_0x2f6a('0xd')]==_0x54d1a5+_0x2f6a('0x12')&&_0x5a7bcf[_0x2f6a('0xb')][_0x2f6a('0x20')]==_0x5b025a[_0x2f6a('0x20')]?_0x5a7bcf[_0x2f6a('0x39')]++:_0x188b6d[_0x2f6a('0x2b')]({'type':_0x54d1a5+_0x2f6a('0x12'),'element':_0x5b025a,'quantity':0x1}),_0x2dc0f5[_0x2f6a('0x13')](_0x27e6e0=>!('elementEnd'==_0x27e6e0[_0x2f6a('0xd')]&&_0x27e6e0[_0x2f6a('0x38')]==_0x3833f3));}else{if(this[_0x2f6a('0x23')][_0x2f6a('0x2f')](_0x3833f3,_0x2f6a('0x2e'))||_0x3833f3['is'](_0x2f6a('0xb'),_0x2f6a('0x10'))){const _0x14048e=_0x3833f3;if(_0x2f6a('0x26')==_0x54d1a5&&_0x2f6a('0x27')==_0x3f2778[_0x2f6a('0xd')]||_0x2f6a('0x0')==_0x54d1a5&&'elementEnd'==_0x3f2778['type'])continue;if(_0x5a7bcf&&-0x1==_0x5a7bcf[_0x2f6a('0xd')][_0x2f6a('0x3a')](_0x2f6a('0x25'))){_0x2f6a('0x4')==_0x5a7bcf[_0x2f6a('0xd')]&&(_0x5a7bcf[_0x54d1a5]+='\x0a');continue;}let _0xe21d23;if(_0xe21d23=_0x2f6a('0x26')==_0x54d1a5?_0x14048e[_0x2f6a('0x11')]&&!this[_0x2f6a('0x23')][_0x2f6a('0x21')](_0x14048e['nextSibling'])?_0x14048e[_0x2f6a('0x11')]:null:_0x14048e[_0x2f6a('0x5')]&&!this[_0x2f6a('0x23')]['isObject'](_0x14048e['previousSibling'])?_0x14048e['previousSibling']:null,_0x14048e[_0x2f6a('0xc')]||_0xe21d23&&_0xe21d23[_0x2f6a('0xc')]){const _0x4e05c1=_0xe21d23&&_0xe21d23['isEmpty']?_0xe21d23:_0x14048e;_0x5a7bcf&&_0x5a7bcf[_0x2f6a('0xd')]==_0x54d1a5+_0x2f6a('0x34')&&_0x5a7bcf[_0x2f6a('0xb')][_0x2f6a('0x20')]==_0x4e05c1[_0x2f6a('0x20')]?_0x5a7bcf[_0x2f6a('0x39')]++:_0x188b6d[_0x2f6a('0x2b')]({'type':_0x54d1a5+_0x2f6a('0x34'),'element':_0x4e05c1,'quantity':0x1});}else _0x188b6d['push']({'type':_0x54d1a5+_0x2f6a('0x25'),'element':_0x14048e});}}}}}[_0x2f6a('0x37')](_0x5af3c8){const _0x53176b=this['_locale'],_0x2237f2=[];for(const _0xeff868 of _0x5af3c8){switch(_0xeff868['type']){case _0x2f6a('0x4'):if(_0xeff868[_0x2f6a('0x26')]=_0xeff868[_0x2f6a('0x26')]['replace'](/(\S)\u000A+(\S)/g,'$1\x20$2')[_0x2f6a('0x24')](/\u000A/g,''),_0xeff868[_0x2f6a('0x0')]=_0xeff868['remove'][_0x2f6a('0x24')](/(\S)\u000A+(\S)/g,'$1\x20$2')[_0x2f6a('0x24')](/\u000A/g,''),''!=_0xeff868[_0x2f6a('0x26')]&&''!=_0xeff868[_0x2f6a('0x0')]){_0x2237f2[_0x2f6a('0x2b')]({'type':_0x2f6a('0x24'),'content':_0xde81f1(_0x53176b,'REPLACE_TEXT',['\x22'+_0xeff868[_0x2f6a('0x0')]+'\x22','\x22'+_0xeff868[_0x2f6a('0x26')]+'\x22'])});continue;}if(null!=_0xeff868[_0x2f6a('0x26')][_0x2f6a('0x35')](/^ +$/)){_0x2237f2['push']({'type':_0x2f6a('0x33'),'content':_0xde81f1(_0x53176b,_0x2f6a('0x2c'),_0xde81f1(_0x53176b,_0x2f6a('0x29'),_0xeff868[_0x2f6a('0x26')][_0x2f6a('0x1')]))});continue;}if(null!=_0xeff868[_0x2f6a('0x0')][_0x2f6a('0x35')](/^ +$/)){_0x2237f2['push']({'type':_0x2f6a('0x2'),'content':_0xde81f1(_0x53176b,_0x2f6a('0x22'),_0xde81f1(_0x53176b,_0x2f6a('0x29'),_0xeff868[_0x2f6a('0x0')][_0x2f6a('0x1')]))});continue;}if(''!=_0xeff868[_0x2f6a('0x26')]){_0x2237f2[_0x2f6a('0x2b')]({'type':_0x2f6a('0x33'),'content':_0xde81f1(_0x53176b,'*Insert:*\x20%0','\x22'+_0xeff868[_0x2f6a('0x26')]+'\x22')});continue;}_0x2237f2[_0x2f6a('0x2b')]({'type':_0x2f6a('0x2'),'content':_0xde81f1(_0x53176b,'*Remove:*\x20%0','\x22'+_0xeff868[_0x2f6a('0x0')]+'\x22')});continue;case _0x2f6a('0xe'):case _0x2f6a('0x2d'):_0x2237f2[_0x2f6a('0x2b')]({'type':_0x2f6a('0x33'),'content':_0xde81f1(_0x53176b,'*Insert:*\x20%0',this[_0x2f6a('0x17')](_0xeff868[_0x2f6a('0xb')],_0xeff868['quantity']))});continue;case'removeEmptyContainer':case _0x2f6a('0x1a'):_0x2237f2[_0x2f6a('0x2b')]({'type':_0x2f6a('0x2'),'content':_0xde81f1(_0x53176b,_0x2f6a('0x22'),this['getItemLabel'](_0xeff868[_0x2f6a('0xb')],_0xeff868[_0x2f6a('0x39')]))});continue;case _0x2f6a('0x28'):_0x2237f2['push']({'type':_0x2f6a('0x33'),'content':_0xde81f1(_0x53176b,_0x2f6a('0x7'),this[_0x2f6a('0x17')](_0xeff868['element'],_0xeff868[_0x2f6a('0x39')]))});continue;case'removeContainer':_0x2237f2[_0x2f6a('0x2b')]({'type':_0x2f6a('0x2'),'content':_0xde81f1(_0x53176b,_0x2f6a('0xa'),this[_0x2f6a('0x17')](_0xeff868[_0x2f6a('0xb')],_0xeff868[_0x2f6a('0x39')]))});continue;}_0x2237f2[_0x2f6a('0x2b')](_0xeff868);}return _0x2237f2;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x168c=['getSuggestion','pluginName','plugins','TrackChanges','addSuggestionData','adapter','getSuggestions','get','editor','requires','Comments'];(function(_0x3c891a,_0x168ced){var _0x183159=function(_0x5ad64c){while(--_0x5ad64c){_0x3c891a['push'](_0x3c891a['shift']());}};_0x183159(++_0x168ced);}(_0x168c,0x162));var _0x1831=function(_0x3c891a,_0x168ced){_0x3c891a=_0x3c891a-0x0;var _0x183159=_0x168c[_0x3c891a];return _0x183159;};import{Plugin as _0x4c9b61}from'ckeditor5/src/core';import _0x40e602 from'./trackchangesui';import _0x46113f from'./trackchangesediting';import'ckeditor5-collaboration/src/collaboration-core';export default class k extends _0x4c9b61{static get[_0x1831('0x7')](){return[_0x46113f,_0x40e602,_0x1831('0x8')];}static get[_0x1831('0xa')](){return _0x1831('0x1');}set[_0x1831('0x3')](_0x2f6ac4){this[_0x1831('0x6')]['plugins']['get'](_0x46113f)[_0x1831('0x3')]=_0x2f6ac4;}get[_0x1831('0x3')](){return this[_0x1831('0x6')]['plugins'][_0x1831('0x5')](_0x46113f)[_0x1831('0x3')];}['addSuggestion'](_0x24edbc){return this[_0x1831('0x6')]['plugins'][_0x1831('0x5')](_0x46113f)[_0x1831('0x2')](_0x24edbc);}['getSuggestions']({skipNotAttached:_0x2a8e46=!0x1,toJSON:_0x4bc97d=!0x1}={}){return this[_0x1831('0x6')][_0x1831('0x0')][_0x1831('0x5')](_0x46113f)[_0x1831('0x4')]({'skipNotAttached':_0x2a8e46,'toJSON':_0x4bc97d});}['getSuggestion'](_0x101347){return this['editor']['plugins']['get'](_0x46113f)[_0x1831('0x9')](_0x101347);}}
23
+ var _0x2ed6=['adapter','addSuggestion','getSuggestions','get','plugins','TrackChanges','Comments','editor'];(function(_0x560fd7,_0x2ed600){var _0x54cc35=function(_0x7c9a5a){while(--_0x7c9a5a){_0x560fd7['push'](_0x560fd7['shift']());}};_0x54cc35(++_0x2ed600);}(_0x2ed6,0x1cd));var _0x54cc=function(_0x560fd7,_0x2ed600){_0x560fd7=_0x560fd7-0x0;var _0x54cc35=_0x2ed6[_0x560fd7];return _0x54cc35;};import{Plugin as _0x337525}from'ckeditor5/src/core';import _0x3e8b74 from'./trackchangesui';import _0x55a56c from'./trackchangesediting';import'ckeditor5-collaboration/src/collaboration-core';export default class k extends _0x337525{static get['requires'](){return[_0x55a56c,_0x3e8b74,_0x54cc('0x1')];}static get['pluginName'](){return _0x54cc('0x0');}set[_0x54cc('0x3')](_0x2083ba){this[_0x54cc('0x2')][_0x54cc('0x7')][_0x54cc('0x6')](_0x55a56c)[_0x54cc('0x3')]=_0x2083ba;}get[_0x54cc('0x3')](){return this[_0x54cc('0x2')]['plugins'][_0x54cc('0x6')](_0x55a56c)[_0x54cc('0x3')];}[_0x54cc('0x4')](_0x365246){return this[_0x54cc('0x2')]['plugins'][_0x54cc('0x6')](_0x55a56c)['addSuggestionData'](_0x365246);}[_0x54cc('0x5')]({skipNotAttached:_0x153d6e=!0x1,toJSON:_0x464a2c=!0x1}={}){return this[_0x54cc('0x2')]['plugins'][_0x54cc('0x6')](_0x55a56c)[_0x54cc('0x5')]({'skipNotAttached':_0x153d6e,'toJSON':_0x464a2c});}['getSuggestion'](_0x12cf81){return this[_0x54cc('0x2')][_0x54cc('0x7')][_0x54cc('0x6')](_0x55a56c)['getSuggestion'](_0x12cf81);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5414=['getDataWithDiscardedSuggestions','config','document','_adapter','Users','requires','map','model','acceptAllSuggestions','plugins','Pagination','trackChangesData.editorCreator','div','rootsAttributes','get','getRootNames','TrackChangesEditing','init','function','reduce','define','trackChangesData','TrackChangesDataGetter','data','destroy','CommentsRepository','track-changes-data-invalid-editor-creator','result','getSuggestions','TrackChangesData','addSuggestionData','constructor','users','set','pluginName','name','editor','getDataWithAcceptedSuggestions','editorCreator','addUser','getRootsAttributes','createDocumentFragment'];(function(_0x2bc218,_0x54145e){const _0x3c0f16=function(_0xa7f3b1){while(--_0xa7f3b1){_0x2bc218['push'](_0x2bc218['shift']());}};_0x3c0f16(++_0x54145e);}(_0x5414,0x11b));const _0x3c0f=function(_0x2bc218,_0x54145e){_0x2bc218=_0x2bc218-0x0;let _0x3c0f16=_0x5414[_0x2bc218];return _0x3c0f16;};import{Plugin as _0x2d6990}from'ckeditor5/src/core';import{CKEditorError as _0x201a2d}from'ckeditor5/src/utils';import _0x5872c4 from'./trackchangesediting';import{sanitizeEditorConfig as _0xd1793b}from'ckeditor5-collaboration/src/collaboration-core';const w=[_0x3c0f('0x15')];export default class T extends _0x2d6990{static get[_0x3c0f('0x10')](){return[_0x5872c4];}static get[_0x3c0f('0x3')](){return _0x3c0f('0x28');}[_0x3c0f('0x1c')](){const _0x451b27=this[_0x3c0f('0x5')];if(_0x451b27['config'][_0x3c0f('0x1f')](_0x3c0f('0x16'),_0x456a57=>{const _0x5071c5=_0x451b27[_0x3c0f('0x12')][_0x3c0f('0xd')][_0x3c0f('0x1a')]()[_0x3c0f('0x1e')]((_0x528b7f,_0x46189c)=>(_0x528b7f[_0x46189c]='',_0x528b7f),{});return _0x451b27[_0x3c0f('0x0')]['create'](_0x5071c5,_0x456a57);}),_0x3c0f('0x1d')!=typeof _0x451b27[_0x3c0f('0xc')]['get'](_0x3c0f('0x20'))[_0x3c0f('0x7')])throw new _0x201a2d(_0x3c0f('0x25'));}[_0x3c0f('0x6')](_0x157942){return v(this['editor'],!0x0,_0x157942);}[_0x3c0f('0xb')](_0x34e238){return v(this['editor'],!0x1,_0x34e238);}}class P extends _0x2d6990{static get[_0x3c0f('0x3')](){return _0x3c0f('0x21');}constructor(_0x4624e6){super(_0x4624e6),this[_0x3c0f('0x26')]='end';}['init'](){this[_0x3c0f('0x5')][_0x3c0f('0x14')][_0x3c0f('0x19')](_0x3c0f('0x24'))['_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'][_0x3c0f('0x14')][_0x3c0f('0x19')](_0x3c0f('0x1b'))[_0x3c0f('0xe')]=null;}}function D(_0x1d932c){return void 0x0!==_0x1d932c['getRootsAttributes'];}async function v(_0x2f53a7,_0x438e03,_0x531b79){const _0x23816a=_0xd1793b(_0x2f53a7,w);_0x23816a[_0x3c0f('0x14')]['push'](_0x5872c4,P),_0x23816a[_0x3c0f('0x18')]=D(_0x2f53a7)?_0x2f53a7[_0x3c0f('0x9')]():void 0x0;const _0x56415c=document[_0x3c0f('0xa')](),_0x4e2761=_0x2f53a7[_0x3c0f('0xc')][_0x3c0f('0x19')]('trackChangesData')[_0x3c0f('0x7')],_0x453027=await _0x4e2761(_0x23816a,()=>function(_0x183076){const _0x40eb36=document['createElement'](_0x3c0f('0x17'));return _0x183076['appendChild'](_0x40eb36),_0x40eb36;}(_0x56415c));!function(_0x517718,_0x310a74){const _0xc566b3=_0x517718[_0x3c0f('0x12')][_0x3c0f('0xd')][_0x3c0f('0x1a')]()[_0x3c0f('0x1e')]((_0x2f49af,_0x560530)=>(_0x2f49af[_0x560530]=_0x517718[_0x3c0f('0x22')][_0x3c0f('0x19')]({'rootName':_0x560530}),_0x2f49af),{}),_0x4353c5=_0x517718[_0x3c0f('0x14')][_0x3c0f('0x19')](_0x3c0f('0xf'))[_0x3c0f('0x1')][_0x3c0f('0x11')](_0x37edec=>({'id':_0x37edec['id'],'name':_0x37edec[_0x3c0f('0x4')]})),_0xb71a30=_0x517718[_0x3c0f('0x14')][_0x3c0f('0x19')]('TrackChangesEditing')[_0x3c0f('0x27')]({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x5defd8=_0x310a74['plugins'][_0x3c0f('0x19')](_0x3c0f('0xf')),_0xd50afe=_0x310a74[_0x3c0f('0x14')][_0x3c0f('0x19')](_0x3c0f('0x1b'));for(const _0x222950 of _0x4353c5)_0x5defd8['getUser'](_0x222950['id'])||_0x5defd8[_0x3c0f('0x8')](_0x222950);_0x5defd8['me']||_0x5defd8['useAnonymousUser']();for(const _0x336520 of _0xb71a30)_0xd50afe[_0x3c0f('0x29')](_0x336520);_0x310a74[_0x3c0f('0x22')][_0x3c0f('0x2')](_0xc566b3);}(_0x2f53a7,_0x453027),_0x453027['execute'](_0x438e03?_0x3c0f('0x13'):'discardAllSuggestions');const _0x2dc519=D(_0x453027)?_0x453027['getFullData'](_0x531b79):_0x453027['data'][_0x3c0f('0x19')](_0x531b79);return await _0x453027[_0x3c0f('0x23')](),_0x2dc519;}
23
+ const _0x45fe=['getRootNames','getRootsAttributes','TrackChangesDataGetter','Users','TrackChangesData','data','acceptAllSuggestions','getUser','function','plugins','trackChangesData.editorCreator','init','discardAllSuggestions','editor','constructor','getFullData','editorCreator','getSuggestions','pluginName','reduce','_adapter','trackChangesData','rootsAttributes','define','useAnonymousUser','end','document','destroy','track-changes-data-invalid-editor-creator','TrackChangesEditing','name','addUser','execute','config','set','result','create','get','getDataWithAcceptedSuggestions','model','CommentsRepository','Pagination'];(function(_0x2f0c51,_0x45fe71){const _0x2765b7=function(_0x23c4b6){while(--_0x23c4b6){_0x2f0c51['push'](_0x2f0c51['shift']());}};_0x2765b7(++_0x45fe71);}(_0x45fe,0x129));const _0x2765=function(_0x2f0c51,_0x45fe71){_0x2f0c51=_0x2f0c51-0x0;let _0x2765b7=_0x45fe[_0x2f0c51];return _0x2765b7;};import{Plugin as _0x1820a4}from'ckeditor5/src/core';import{CKEditorError as _0x47692b}from'ckeditor5/src/utils';import _0x4d0097 from'./trackchangesediting';import{sanitizeEditorConfig as _0x6c3754}from'ckeditor5-collaboration/src/collaboration-core';const w=[_0x2765('0x26')];export default class T extends _0x1820a4{static get['requires'](){return[_0x4d0097];}static get['pluginName'](){return _0x2765('0x1');}[_0x2765('0x8')](){const _0x1f4f4a=this[_0x2765('0xa')];if(_0x1f4f4a[_0x2765('0x1e')][_0x2765('0x14')](_0x2765('0x7'),_0x47e7cb=>{const _0x38b479=_0x1f4f4a[_0x2765('0x24')][_0x2765('0x17')][_0x2765('0x27')]()[_0x2765('0x10')]((_0x3e5c9f,_0x34ba7c)=>(_0x3e5c9f[_0x34ba7c]='',_0x3e5c9f),{});return _0x1f4f4a[_0x2765('0xb')][_0x2765('0x21')](_0x38b479,_0x47e7cb);}),_0x2765('0x5')!=typeof _0x1f4f4a['config'][_0x2765('0x22')](_0x2765('0x12'))[_0x2765('0xd')])throw new _0x47692b(_0x2765('0x19'));}[_0x2765('0x23')](_0x170df5){return v(this[_0x2765('0xa')],!0x0,_0x170df5);}['getDataWithDiscardedSuggestions'](_0x48a381){return v(this['editor'],!0x1,_0x48a381);}}class P extends _0x1820a4{static get[_0x2765('0xf')](){return _0x2765('0x29');}constructor(_0x57d7a4){super(_0x57d7a4),this[_0x2765('0x20')]=_0x2765('0x16');}['init'](){this[_0x2765('0xa')][_0x2765('0x6')][_0x2765('0x22')](_0x2765('0x25'))[_0x2765('0x11')]={'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'][_0x2765('0x6')]['get'](_0x2765('0x1a'))[_0x2765('0x11')]=null;}}function D(_0x561d01){return void 0x0!==_0x561d01[_0x2765('0x28')];}async function v(_0x12cb1e,_0x21f1a1,_0x5bbb4e){const _0x50c33f=_0x6c3754(_0x12cb1e,w);_0x50c33f[_0x2765('0x6')]['push'](_0x4d0097,P),_0x50c33f[_0x2765('0x13')]=D(_0x12cb1e)?_0x12cb1e[_0x2765('0x28')]():void 0x0;const _0x206a93=document['createDocumentFragment'](),_0x205906=_0x12cb1e[_0x2765('0x1e')]['get'](_0x2765('0x12'))[_0x2765('0xd')],_0x19d304=await _0x205906(_0x50c33f,()=>function(_0x360fee){const _0x9e6767=document['createElement']('div');return _0x360fee['appendChild'](_0x9e6767),_0x9e6767;}(_0x206a93));!function(_0x3dd81d,_0x3a4cae){const _0x3d65af=_0x3dd81d[_0x2765('0x24')][_0x2765('0x17')][_0x2765('0x27')]()[_0x2765('0x10')]((_0x4d3f4d,_0x56aff1)=>(_0x4d3f4d[_0x56aff1]=_0x3dd81d[_0x2765('0x2')]['get']({'rootName':_0x56aff1}),_0x4d3f4d),{}),_0x3d9bdc=_0x3dd81d[_0x2765('0x6')][_0x2765('0x22')](_0x2765('0x0'))['users']['map'](_0x5c6454=>({'id':_0x5c6454['id'],'name':_0x5c6454[_0x2765('0x1b')]})),_0x4e2b53=_0x3dd81d[_0x2765('0x6')][_0x2765('0x22')]('TrackChangesEditing')[_0x2765('0xe')]({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x598768=_0x3a4cae[_0x2765('0x6')][_0x2765('0x22')]('Users'),_0x347e98=_0x3a4cae[_0x2765('0x6')]['get'](_0x2765('0x1a'));for(const _0x2e5ff3 of _0x3d9bdc)_0x598768[_0x2765('0x4')](_0x2e5ff3['id'])||_0x598768[_0x2765('0x1c')](_0x2e5ff3);_0x598768['me']||_0x598768[_0x2765('0x15')]();for(const _0x45cee5 of _0x4e2b53)_0x347e98['addSuggestionData'](_0x45cee5);_0x3a4cae[_0x2765('0x2')][_0x2765('0x1f')](_0x3d65af);}(_0x12cb1e,_0x19d304),_0x19d304[_0x2765('0x1d')](_0x21f1a1?_0x2765('0x3'):_0x2765('0x9'));const _0x5e9fbf=D(_0x19d304)?_0x19d304[_0x2765('0xc')](_0x5bbb4e):_0x19d304[_0x2765('0x2')][_0x2765('0x22')](_0x5bbb4e);return await _0x19d304[_0x2765('0x18')](),_0x5e9fbf;}