@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20231116.0 → 0.0.0-nightly-20231118.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 (66) 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/imagestyle.js +1 -1
  29. package/src/integrations/importword.js +1 -1
  30. package/src/integrations/indent.js +1 -1
  31. package/src/integrations/inputcommand.js +1 -1
  32. package/src/integrations/link.js +1 -1
  33. package/src/integrations/list.js +1 -1
  34. package/src/integrations/listproperties.js +1 -1
  35. package/src/integrations/mediaembed.js +1 -1
  36. package/src/integrations/mention.js +1 -1
  37. package/src/integrations/pagebreak.js +1 -1
  38. package/src/integrations/paragraph.js +1 -1
  39. package/src/integrations/removeformat.js +1 -1
  40. package/src/integrations/restrictededitingmode.js +1 -1
  41. package/src/integrations/shiftentercommand.js +1 -1
  42. package/src/integrations/standardeditingmode.js +1 -1
  43. package/src/integrations/style.js +1 -1
  44. package/src/integrations/table.js +1 -1
  45. package/src/integrations/tablecaption.js +1 -1
  46. package/src/integrations/tableclipboard.js +1 -1
  47. package/src/integrations/tablecolumnresize.js +1 -1
  48. package/src/integrations/tableheadings.js +1 -1
  49. package/src/integrations/tablemergesplit.js +1 -1
  50. package/src/integrations/tableofcontents.js +1 -1
  51. package/src/integrations/tableproperties.js +1 -1
  52. package/src/integrations/template.js +1 -1
  53. package/src/integrations/title.js +1 -1
  54. package/src/integrations/undo.js +1 -1
  55. package/src/integrations/utils.js +1 -1
  56. package/src/suggestion.js +1 -1
  57. package/src/suggestiondescriptionfactory.js +1 -1
  58. package/src/trackchanges.js +1 -1
  59. package/src/trackchangesdata.js +1 -1
  60. package/src/trackchangesediting.js +1 -1
  61. package/src/trackchangesui.js +1 -1
  62. package/src/ui/suggestioncontroller.js +1 -1
  63. package/src/ui/view/basesuggestionthreadview.js +1 -1
  64. package/src/ui/view/suggestionthreadview.js +1 -1
  65. package/src/utils/common-translations.js +1 -1
  66. package/src/utils/utils.js +1 -1
package/src/suggestion.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x57ca=['getMarkers','removeMarkers','_saved','push','filter','setAttribute','isIntersecting','decorate','length','discard','subType','start','onAttributesChange','accept','nodeBefore','toJSON','onDiscard','suggestion:','substr','isExternal','type','set','_onDiscard','_model','map','delete','isIntersectingWithRange','addMarker','get','author','removeMarker','hasComments','getContainedElement','addMarkerName','next','_onAttributesChange','getItems','from','size','onAccept','authoredAt','removeAttribute','getRange','_onAccept','_isDataLoaded','getMultiRangeId','data','getMarkerNames','commentThread','_markerNames','change','add','head','clear','getFirstMarker','getAllAdjacentSuggestions','attributes','reduce','creator','getRanges','addRange','nodeAfter','previous','createdAt'];(function(_0x17f3e3,_0x57caeb){const _0xcc175d=function(_0x3b8ee6){while(--_0x3b8ee6){_0x17f3e3['push'](_0x17f3e3['shift']());}};_0xcc175d(++_0x57caeb);}(_0x57ca,0xc8));const _0xcc17=function(_0x17f3e3,_0x57caeb){_0x17f3e3=_0x17f3e3-0x0;let _0xcc175d=_0x57ca[_0x17f3e3];return _0xcc175d;};import{Element as _0x1f7b85}from'ckeditor5/src/engine';import{ObservableMixin as _0x5b808b,uid as _0x16a010}from'ckeditor5/src/utils';import{cloneDeep as _0x20b47e,isEqual as _0x4bed17,set as _0x592c4a,unset as _0x20fa0b}from'lodash-es';export default class u extends _0x5b808b(){constructor(_0x57ebff,_0xbac231){super(),this[_0xcc17('0x24')]=!0x1,this['id']=_0xbac231['id'],this[_0xcc17('0xc')]=_0xbac231[_0xcc17('0xc')],this[_0xcc17('0x2')]=_0xbac231[_0xcc17('0x2')]||null,this['author']=_0xbac231['author'],this['creator']=_0xbac231['creator']||_0xbac231[_0xcc17('0x15')],this[_0xcc17('0xb')]=Boolean(_0xbac231[_0xcc17('0x30')]&&_0xbac231[_0xcc17('0x30')]['@external']),this[_0xcc17('0x26')]=null,this['_model']=_0x57ebff,this[_0xcc17('0x23')]=_0xbac231[_0xcc17('0x1f')],this[_0xcc17('0xe')]=_0xbac231[_0xcc17('0x8')],this[_0xcc17('0x1b')]=_0xbac231[_0xcc17('0x4')],this[_0xcc17('0x29')]=new Set(),this[_0xcc17('0x37')]=null,this['set'](_0xcc17('0x20'),null),this['set'](_0xcc17('0x30'),_0xbac231[_0xcc17('0x30')]||{}),this[_0xcc17('0xd')](_0xcc17('0x36'),null),this[_0xcc17('0xd')](_0xcc17('0x1a'),null),this['set'](_0xcc17('0x28'),null),this['set'](_0xcc17('0x3a'),!0x1),this[_0xcc17('0x3f')]('accept'),this['decorate'](_0xcc17('0x1'));}get[_0xcc17('0x2c')](){let _0x47fa19=this;for(;_0x47fa19['previous'];)_0x47fa19=_0x47fa19[_0xcc17('0x36')];return _0x47fa19;}get[_0xcc17('0x17')](){return!!this[_0xcc17('0x28')]&&this[_0xcc17('0x28')]['length']>0x0;}get['isMultiRange'](){if(0x0==this[_0xcc17('0x29')][_0xcc17('0x1e')])return!0x1;return 0x6==Array[_0xcc17('0x1d')](this['_markerNames'])[0x0]['split'](':')[_0xcc17('0x0')];}get['isInContent'](){return null!==this[_0xcc17('0x2e')]();}[_0xcc17('0x19')](_0x14266d){this[_0xcc17('0x29')][_0xcc17('0x2b')](_0x14266d);}['getMarkerNames'](){return Array['from'](this[_0xcc17('0x29')]);}[_0xcc17('0x38')](){return this[_0xcc17('0x27')]()[_0xcc17('0x10')](_0x16e441=>this[_0xcc17('0xf')]['markers'][_0xcc17('0x14')](_0x16e441))[_0xcc17('0x3c')](_0x3289af=>_0x3289af);}[_0xcc17('0x2e')](){return this[_0xcc17('0x38')]()[0x0]||null;}[_0xcc17('0x39')](){this[_0xcc17('0xf')][_0xcc17('0x2a')](_0x27aae4=>{for(const _0x3676aa of this[_0xcc17('0x38')]())_0x27aae4[_0xcc17('0x16')](_0x3676aa);}),this[_0xcc17('0x29')][_0xcc17('0x2d')]();}[_0xcc17('0x16')](_0x307a4c){this[_0xcc17('0xf')][_0xcc17('0x2a')](_0x328efb=>{_0x328efb[_0xcc17('0x16')](_0x307a4c);}),this[_0xcc17('0x29')][_0xcc17('0x11')](_0x307a4c);}[_0xcc17('0x34')](_0x56fcb3){const _0x93022b=_0xcc17('0x9')+this['type']+':'+this[_0xcc17('0x2')]+':'+this['id']+':'+this[_0xcc17('0x32')]['id']+':'+u[_0xcc17('0x25')]();this[_0xcc17('0x19')](_0x93022b),this[_0xcc17('0xf')]['change'](_0x4145e6=>{_0x4145e6[_0xcc17('0x13')](_0x93022b,{'range':_0x56fcb3,'usingOperation':!0x0,'affectsData':!0x0});});}[_0xcc17('0x12')](_0x28b4a4){for(const _0x23bc3a of this['getRanges']())if(_0x23bc3a[_0xcc17('0x3e')](_0x28b4a4))return!0x0;return!0x1;}[_0xcc17('0x33')](){return this['getMarkers']()['map'](_0x3b075f=>_0x3b075f[_0xcc17('0x22')]());}[_0xcc17('0x1c')](){return this[_0xcc17('0x33')]()[_0xcc17('0x31')]((_0x4cf3fb,_0x25ac45)=>[..._0x4cf3fb,..._0x25ac45[_0xcc17('0x1c')]()],[]);}['getFirstRange'](){var _0xf86508;return(null===(_0xf86508=this[_0xcc17('0x2e')]())||void 0x0===_0xf86508?void 0x0:_0xf86508[_0xcc17('0x22')]())||null;}[_0xcc17('0x18')](){const _0x22daba=this[_0xcc17('0x33')]();if(0x1!=_0x22daba[_0xcc17('0x0')])return null;const _0x2cfa68=_0x22daba[0x0],_0x3befaa=_0x2cfa68[_0xcc17('0x3')][_0xcc17('0x35')],_0x42c43f=_0x2cfa68['end'][_0xcc17('0x6')];return _0x3befaa instanceof _0x1f7b85?_0x3befaa!=_0x42c43f?null:_0x3befaa:null;}[_0xcc17('0x5')](){this[_0xcc17('0x23')](this[_0xcc17('0x33')](),this[_0xcc17('0x26')],this[_0xcc17('0x30')]),this['removeMarkers']();}['discard'](){this['_onDiscard'](this[_0xcc17('0x33')](),this[_0xcc17('0x26')],this[_0xcc17('0x30')]),this[_0xcc17('0x39')]();}[_0xcc17('0x2f')](){const _0x2a4cac=[];let _0x2d97ea=this[_0xcc17('0x2c')];for(;_0x2d97ea;)_0x2a4cac[_0xcc17('0x3b')](_0x2d97ea),_0x2d97ea=_0x2d97ea[_0xcc17('0x1a')];return _0x2a4cac;}[_0xcc17('0x3d')](_0x152f69,_0xe43c13){const _0x3adc68=_0x20b47e(this[_0xcc17('0x30')]);_0x592c4a(_0x3adc68,_0x152f69,_0xe43c13),_0x4bed17(_0x3adc68,this[_0xcc17('0x30')])||(this['attributes']=_0x3adc68,this['_onAttributesChange'](_0x3adc68));}[_0xcc17('0x21')](_0x4a4e6c){const _0x4025eb=_0x20b47e(this[_0xcc17('0x30')]);_0x20fa0b(_0x4025eb,_0x4a4e6c),_0x4bed17(_0x4025eb,this[_0xcc17('0x30')])||(this[_0xcc17('0x30')]=_0x4025eb,this[_0xcc17('0x1b')](this[_0xcc17('0x30')]));}[_0xcc17('0x7')](){return{'id':this['id'],'type':this['subType']?this[_0xcc17('0xc')]+':'+this[_0xcc17('0x2')]:this['type'],'authorId':this[_0xcc17('0x32')]['id'],'createdAt':this[_0xcc17('0x37')],'hasComments':this[_0xcc17('0x17')],'data':this[_0xcc17('0x26')],'attributes':this['attributes']};}static[_0xcc17('0x25')](){return _0x16a010()[_0xcc17('0xa')](0x1,0x5);}}
23
+ const _0x433c=['change','onAccept','subType','end','next','addMarkerName','authoredAt','toJSON','getFirstMarker','setAttribute','decorate','onAttributesChange','isExternal','_markerNames','isInContent','previous','accept','_onDiscard','getAllAdjacentSuggestions','onDiscard','isMultiRange','getMultiRangeId','type','nodeAfter','size','push','getFirstRange','filter','removeAttribute','_onAttributesChange','commentThread','_onAccept','getMarkers','getContainedElement','clear','getMarkerNames','set','_model','hasComments','from','@external','map','creator','length','addRange','split','data','reduce','add','getRange','removeMarker','discard','addMarker','author','markers','attributes','getRanges','isIntersecting','suggestion:','removeMarkers'];(function(_0x52a39e,_0x433c59){const _0x2682bd=function(_0x41322c){while(--_0x41322c){_0x52a39e['push'](_0x52a39e['shift']());}};_0x2682bd(++_0x433c59);}(_0x433c,0x1bf));const _0x2682=function(_0x52a39e,_0x433c59){_0x52a39e=_0x52a39e-0x0;let _0x2682bd=_0x433c[_0x52a39e];return _0x2682bd;};import{Element as _0xf352c5}from'ckeditor5/src/engine';import{ObservableMixin as _0x2b7d0a,uid as _0x21bfc9}from'ckeditor5/src/utils';import{cloneDeep as _0xfb5e1b,isEqual as _0x54d5b7,set as _0x597f84,unset as _0x538ee9}from'lodash-es';export default class u extends _0x2b7d0a(){constructor(_0x10e50b,_0x5ce41e){super(),this['_isDataLoaded']=!0x1,this['id']=_0x5ce41e['id'],this[_0x2682('0x37')]=_0x5ce41e[_0x2682('0x37')],this[_0x2682('0x23')]=_0x5ce41e[_0x2682('0x23')]||null,this[_0x2682('0x1a')]=_0x5ce41e[_0x2682('0x1a')],this[_0x2682('0xf')]=_0x5ce41e[_0x2682('0xf')]||_0x5ce41e[_0x2682('0x1a')],this[_0x2682('0x2d')]=Boolean(_0x5ce41e['attributes']&&_0x5ce41e[_0x2682('0x1c')][_0x2682('0xd')]),this[_0x2682('0x13')]=null,this[_0x2682('0xa')]=_0x10e50b,this[_0x2682('0x4')]=_0x5ce41e[_0x2682('0x22')],this[_0x2682('0x32')]=_0x5ce41e[_0x2682('0x34')],this[_0x2682('0x2')]=_0x5ce41e[_0x2682('0x2c')],this[_0x2682('0x2e')]=new Set(),this['createdAt']=null,this[_0x2682('0x9')](_0x2682('0x27'),null),this[_0x2682('0x9')](_0x2682('0x1c'),_0x5ce41e['attributes']||{}),this['set']('previous',null),this['set'](_0x2682('0x25'),null),this[_0x2682('0x9')](_0x2682('0x3'),null),this[_0x2682('0x9')]('_saved',!0x1),this[_0x2682('0x2b')](_0x2682('0x31')),this[_0x2682('0x2b')](_0x2682('0x18'));}get['head'](){let _0x5a7b4d=this;for(;_0x5a7b4d[_0x2682('0x30')];)_0x5a7b4d=_0x5a7b4d[_0x2682('0x30')];return _0x5a7b4d;}get[_0x2682('0xb')](){return!!this['commentThread']&&this['commentThread'][_0x2682('0x10')]>0x0;}get[_0x2682('0x35')](){if(0x0==this[_0x2682('0x2e')][_0x2682('0x39')])return!0x1;return 0x6==Array[_0x2682('0xc')](this[_0x2682('0x2e')])[0x0][_0x2682('0x12')](':')[_0x2682('0x10')];}get[_0x2682('0x2f')](){return null!==this[_0x2682('0x29')]();}['addMarkerName'](_0x246569){this[_0x2682('0x2e')][_0x2682('0x15')](_0x246569);}[_0x2682('0x8')](){return Array[_0x2682('0xc')](this[_0x2682('0x2e')]);}[_0x2682('0x5')](){return this[_0x2682('0x8')]()[_0x2682('0xe')](_0x54bb24=>this['_model'][_0x2682('0x1b')]['get'](_0x54bb24))[_0x2682('0x0')](_0x3ae22b=>_0x3ae22b);}['getFirstMarker'](){return this[_0x2682('0x5')]()[0x0]||null;}[_0x2682('0x20')](){this[_0x2682('0xa')]['change'](_0x412001=>{for(const _0x203e24 of this[_0x2682('0x5')]())_0x412001['removeMarker'](_0x203e24);}),this[_0x2682('0x2e')][_0x2682('0x7')]();}[_0x2682('0x17')](_0x4cfd0c){this['_model'][_0x2682('0x21')](_0x295157=>{_0x295157[_0x2682('0x17')](_0x4cfd0c);}),this['_markerNames']['delete'](_0x4cfd0c);}[_0x2682('0x11')](_0x53eb48){const _0x131472=_0x2682('0x1f')+this[_0x2682('0x37')]+':'+this[_0x2682('0x23')]+':'+this['id']+':'+this[_0x2682('0xf')]['id']+':'+u[_0x2682('0x36')]();this[_0x2682('0x26')](_0x131472),this[_0x2682('0xa')][_0x2682('0x21')](_0x233069=>{_0x233069[_0x2682('0x19')](_0x131472,{'range':_0x53eb48,'usingOperation':!0x0,'affectsData':!0x0});});}['isIntersectingWithRange'](_0xb35626){for(const _0x1efbda of this['getRanges']())if(_0x1efbda[_0x2682('0x1e')](_0xb35626))return!0x0;return!0x1;}[_0x2682('0x1d')](){return this[_0x2682('0x5')]()[_0x2682('0xe')](_0x2ec9fb=>_0x2ec9fb['getRange']());}['getItems'](){return this[_0x2682('0x1d')]()[_0x2682('0x14')]((_0x321a56,_0x564343)=>[..._0x321a56,..._0x564343['getItems']()],[]);}[_0x2682('0x3b')](){var _0x35ff1d;return(null===(_0x35ff1d=this[_0x2682('0x29')]())||void 0x0===_0x35ff1d?void 0x0:_0x35ff1d[_0x2682('0x16')]())||null;}[_0x2682('0x6')](){const _0x2effed=this[_0x2682('0x1d')]();if(0x1!=_0x2effed[_0x2682('0x10')])return null;const _0x140a3e=_0x2effed[0x0],_0x422c63=_0x140a3e['start'][_0x2682('0x38')],_0x2dc9af=_0x140a3e[_0x2682('0x24')]['nodeBefore'];return _0x422c63 instanceof _0xf352c5?_0x422c63!=_0x2dc9af?null:_0x422c63:null;}[_0x2682('0x31')](){this[_0x2682('0x4')](this[_0x2682('0x1d')](),this[_0x2682('0x13')],this[_0x2682('0x1c')]),this['removeMarkers']();}['discard'](){this[_0x2682('0x32')](this[_0x2682('0x1d')](),this[_0x2682('0x13')],this['attributes']),this[_0x2682('0x20')]();}[_0x2682('0x33')](){const _0x3a22ad=[];let _0x4bd2b6=this['head'];for(;_0x4bd2b6;)_0x3a22ad[_0x2682('0x3a')](_0x4bd2b6),_0x4bd2b6=_0x4bd2b6[_0x2682('0x25')];return _0x3a22ad;}[_0x2682('0x2a')](_0x14c6af,_0x1712ba){const _0x192709=_0xfb5e1b(this[_0x2682('0x1c')]);_0x597f84(_0x192709,_0x14c6af,_0x1712ba),_0x54d5b7(_0x192709,this[_0x2682('0x1c')])||(this[_0x2682('0x1c')]=_0x192709,this[_0x2682('0x2')](_0x192709));}[_0x2682('0x1')](_0x3f2232){const _0x11d827=_0xfb5e1b(this[_0x2682('0x1c')]);_0x538ee9(_0x11d827,_0x3f2232),_0x54d5b7(_0x11d827,this[_0x2682('0x1c')])||(this[_0x2682('0x1c')]=_0x11d827,this[_0x2682('0x2')](this[_0x2682('0x1c')]));}[_0x2682('0x28')](){return{'id':this['id'],'type':this['subType']?this[_0x2682('0x37')]+':'+this[_0x2682('0x23')]:this[_0x2682('0x37')],'authorId':this[_0x2682('0xf')]['id'],'createdAt':this['createdAt'],'hasComments':this[_0x2682('0xb')],'data':this['data'],'attributes':this[_0x2682('0x1c')]};}static[_0x2682('0x36')](){return _0x21bfc9()['substr'](0x1,0x5);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4327=['_itemLabels','length','_customCallbacks','add','*Remove:*\x20%0','*Set\x20format:*\x20%0','remove','type','*Merge:*\x20%0','registerDescriptionCallback','*Remove\x20format:*\x20%0','format','Container','isObject','deletion','removeFormat','data','EmptyContainer','quantity','_addDescriptionItems','nextSibling','indexOf','addFormat','Object','_schema','removeContainer','REPLACE_TEXT','map','replace','name','pop','$text','registerAttributeLabel','elementStart','get','softBreak','_handleAttributeSuggestionDescription','getFirstRange','push','insertion','_itemLabelsCallbacks','start','matchingCallback','getDescriptions','nodeAfter','_attributeLabels','isEmpty','_locale','subType','checkChild','match','join','*Split:*\x20%0','isInContent','*Insert:*\x20%0','element','set','_handleCustomCallbackDescription','removeObject','skip','elementEnd','text','previousSibling','getItemLabel','removeEmptyContainer','isEqual','addContainer','has','label','_resolveDescriptionItems','$textProxy','addObject','newValue','end','_handleInsertRemoveSuggestionDescription','item','key','$1\x20$2'];(function(_0xa23308,_0x43274d){const _0x374c56=function(_0x180751){while(--_0x180751){_0xa23308['push'](_0xa23308['shift']());}};_0x374c56(++_0x43274d);}(_0x4327,0x8e));const _0x374c=function(_0xa23308,_0x43274d){_0xa23308=_0xa23308-0x0;let _0x374c56=_0x4327[_0xa23308];return _0x374c56;};import{getTranslation as _0x50ddf5}from'./utils/common-translations';import{priorities as _0x3ec220,insertToPriorityArray as _0x5def11}from'ckeditor5/src/utils';import{renameAttributeKey as _0x48f226}from'./trackchangesediting';export default class f{constructor(_0x13b239,_0x4d7f52){this['_customCallbacks']=[],this[_0x374c('0xe')]=new Map(),this[_0x374c('0x36')]=[],this['_attributeLabels']=new Map(),this[_0x374c('0x26')]=_0x13b239,this['_locale']=_0x4d7f52;}[_0x374c('0x39')](_0x41d46a){const _0x4d0217=[],_0x3858e3=new Set(),_0x594e7a=new Set();for(let _0x4867e4=0x0;_0x4867e4<_0x41d46a['length'];_0x4867e4++){const _0x6f1f60=_0x41d46a[_0x4867e4];if(!_0x6f1f60[_0x374c('0x43')])continue;const _0x54687f=this['_handleCustomCallbackDescription'](_0x6f1f60);if(_0x54687f){if(null!=_0x6f1f60[_0x374c('0x3e')]){if(_0x3858e3[_0x374c('0x3')](_0x6f1f60[_0x374c('0x3e')]))continue;_0x3858e3['add'](_0x6f1f60['subType']);}_0x4d0217[_0x374c('0x34')](_0x54687f);}else{if('attribute'!=_0x6f1f60['type'])_0x374c('0x35')!=_0x6f1f60[_0x374c('0x15')]&&_0x374c('0x1c')!=_0x6f1f60['type']||this[_0x374c('0xa')](_0x4d0217,_0x6f1f60,_0x41d46a[_0x4867e4+0x1]);else{const _0x4b9ce6=_0x6f1f60[_0x374c('0x1e')]['key'];if(_0x594e7a[_0x374c('0x3')](_0x4b9ce6))continue;_0x594e7a[_0x374c('0x11')](_0x6f1f60['data'][_0x374c('0xc')]),_0x4b9ce6==_0x48f226?this['_handleRenameSuggestionDescription'](_0x4d0217,_0x6f1f60):this[_0x374c('0x32')](_0x4d0217,_0x6f1f60);}}}return this[_0x374c('0x5')](_0x4d0217);}[_0x374c('0x17')](_0x4221fc){this[_0x374c('0x10')]['push'](_0x4221fc);}['registerElementLabel'](_0x482807,_0x2afba3,_0x13db67=_0x3ec220['normal']){'function'==typeof _0x482807?_0x5def11(this[_0x374c('0x36')],{'matchingCallback':_0x482807,'label':_0x2afba3,'priority':_0x13db67}):this['_itemLabels'][_0x374c('0x46')](_0x482807,_0x2afba3);}[_0x374c('0x2e')](_0x233a9b,_0x304286){this[_0x374c('0x3b')]['set'](_0x233a9b,_0x304286);}[_0x374c('0x4d')](_0x2a0244,_0x1389c8=0x1){let _0x38cb48;for(const _0xe7550 of this['_itemLabelsCallbacks'])if(_0xe7550[_0x374c('0x38')](_0x2a0244)){_0x38cb48=_0xe7550[_0x374c('0x4')];break;}return _0x38cb48||(_0x38cb48=this[_0x374c('0xe')][_0x374c('0x30')](_0x2a0244[_0x374c('0x2b')])),_0x38cb48?_0x38cb48(_0x1389c8):0x1!==_0x1389c8?_0x1389c8+'\x20'+_0x2a0244[_0x374c('0x2b')]+'s':''+_0x2a0244['name'];}[_0x374c('0x21')](_0x1fc265,_0x56ac71){const _0x19ff30=_0x56ac71['getFirstRange']()['getWalker'](),_0x5e83a4='insertion'==_0x56ac71[_0x374c('0x15')]?'add':_0x374c('0x14');for(const _0x3d1cbe of _0x19ff30){const _0x190da1=_0x3d1cbe['item'],_0x12387b=_0x1fc265[_0x1fc265[_0x374c('0xf')]-0x1];if(_0x190da1['is'](_0x374c('0x6')))_0x12387b&&_0x12387b[_0x374c('0x15')][_0x374c('0x23')](_0x374c('0x1a'))>-0x1&&_0x1fc265[_0x374c('0x2c')](),_0x12387b&&_0x374c('0x4b')==_0x12387b['type']?_0x12387b[_0x5e83a4]+=_0x190da1['data']:_0x1fc265['push']({'type':_0x374c('0x4b'),'add':_0x374c('0x11')==_0x5e83a4?_0x190da1['data']:'','remove':_0x374c('0x14')==_0x5e83a4?_0x190da1[_0x374c('0x1e')]:''});else{if(this[_0x374c('0x26')][_0x374c('0x1b')](_0x190da1)){const _0x5da781=_0x190da1;if(_0x12387b&&_0x12387b[_0x374c('0x15')][_0x374c('0x23')](_0x374c('0x1a'))>-0x1&&_0x1fc265[_0x374c('0x2c')](),'elementEnd'==_0x3d1cbe[_0x374c('0x15')])continue;_0x12387b&&_0x12387b['type']==_0x5e83a4+_0x374c('0x25')&&_0x12387b[_0x374c('0x45')]['name']==_0x5da781[_0x374c('0x2b')]?_0x12387b[_0x374c('0x20')]++:_0x1fc265[_0x374c('0x34')]({'type':_0x5e83a4+'Object','element':_0x5da781,'quantity':0x1}),_0x19ff30[_0x374c('0x49')](_0xfa42f1=>!(_0x374c('0x4a')==_0xfa42f1[_0x374c('0x15')]&&_0xfa42f1[_0x374c('0xb')]==_0x190da1));}else{if(this['_schema'][_0x374c('0x3f')](_0x190da1,_0x374c('0x2d'))||_0x190da1['is'](_0x374c('0x45'),_0x374c('0x31'))){const _0x282695=_0x190da1;if('add'==_0x5e83a4&&_0x374c('0x2f')==_0x3d1cbe['type']||_0x374c('0x14')==_0x5e83a4&&_0x374c('0x4a')==_0x3d1cbe[_0x374c('0x15')])continue;if(_0x12387b&&-0x1==_0x12387b[_0x374c('0x15')][_0x374c('0x23')](_0x374c('0x1a'))){_0x374c('0x4b')==_0x12387b[_0x374c('0x15')]&&(_0x12387b[_0x5e83a4]+='\x0a');continue;}let _0x4bb020;if(_0x4bb020=_0x374c('0x11')==_0x5e83a4?_0x282695['nextSibling']&&!this[_0x374c('0x26')]['isObject'](_0x282695[_0x374c('0x22')])?_0x282695[_0x374c('0x22')]:null:_0x282695['previousSibling']&&!this[_0x374c('0x26')][_0x374c('0x1b')](_0x282695['previousSibling'])?_0x282695[_0x374c('0x4c')]:null,_0x282695[_0x374c('0x3c')]||_0x4bb020&&_0x4bb020[_0x374c('0x3c')]){const _0x852b40=_0x4bb020&&_0x4bb020[_0x374c('0x3c')]?_0x4bb020:_0x282695;_0x12387b&&_0x12387b['type']==_0x5e83a4+_0x374c('0x1f')&&_0x12387b[_0x374c('0x45')]['name']==_0x852b40['name']?_0x12387b[_0x374c('0x20')]++:_0x1fc265[_0x374c('0x34')]({'type':_0x5e83a4+_0x374c('0x1f'),'element':_0x852b40,'quantity':0x1});}else _0x1fc265[_0x374c('0x34')]({'type':_0x5e83a4+_0x374c('0x1a'),'element':_0x282695});}}}}}['_resolveDescriptionItems'](_0x363dc4){const _0x48e43e=this[_0x374c('0x3d')],_0x469479=[],_0x460308=[],_0x15af40=[];for(const _0x30784e of _0x363dc4)switch(_0x30784e[_0x374c('0x15')]){case _0x374c('0x4b'):if(_0x30784e['add']=_0x30784e[_0x374c('0x11')][_0x374c('0x2a')](/(\S)\u000A+(\S)/g,_0x374c('0xd'))['replace'](/\u000A/g,''),_0x30784e[_0x374c('0x14')]=_0x30784e[_0x374c('0x14')]['replace'](/(\S)\u000A+(\S)/g,_0x374c('0xd'))['replace'](/\u000A/g,''),''!=_0x30784e[_0x374c('0x11')]&&''!=_0x30784e['remove']){_0x469479['push']({'type':_0x374c('0x2a'),'content':_0x50ddf5(_0x48e43e,_0x374c('0x28'),['\x22'+_0x30784e[_0x374c('0x14')]+'\x22','\x22'+_0x30784e[_0x374c('0x11')]+'\x22'])});continue;}if(null!=_0x30784e[_0x374c('0x11')]['match'](/^ +$/)){_0x469479[_0x374c('0x34')]({'type':_0x374c('0x35'),'content':_0x50ddf5(_0x48e43e,'*Insert:*\x20%0',_0x50ddf5(_0x48e43e,'ELEMENT_SPACE',_0x30784e[_0x374c('0x11')][_0x374c('0xf')]))});continue;}if(null!=_0x30784e[_0x374c('0x14')][_0x374c('0x40')](/^ +$/)){_0x469479['push']({'type':_0x374c('0x1c'),'content':_0x50ddf5(_0x48e43e,_0x374c('0x12'),_0x50ddf5(_0x48e43e,'ELEMENT_SPACE',_0x30784e[_0x374c('0x14')][_0x374c('0xf')]))});continue;}if(''!=_0x30784e[_0x374c('0x11')]){_0x469479['push']({'type':_0x374c('0x35'),'content':_0x50ddf5(_0x48e43e,_0x374c('0x44'),'\x22'+_0x30784e[_0x374c('0x11')]+'\x22')});continue;}_0x469479[_0x374c('0x34')]({'type':'deletion','content':_0x50ddf5(_0x48e43e,_0x374c('0x12'),'\x22'+_0x30784e[_0x374c('0x14')]+'\x22')});continue;case'addEmptyContainer':case _0x374c('0x7'):_0x469479[_0x374c('0x34')]({'type':_0x374c('0x35'),'content':_0x50ddf5(_0x48e43e,'*Insert:*\x20%0',this[_0x374c('0x4d')](_0x30784e[_0x374c('0x45')],_0x30784e['quantity']))});continue;case _0x374c('0x0'):case _0x374c('0x48'):_0x469479[_0x374c('0x34')]({'type':'deletion','content':_0x50ddf5(_0x48e43e,'*Remove:*\x20%0',this['getItemLabel'](_0x30784e[_0x374c('0x45')],_0x30784e[_0x374c('0x20')]))});continue;case _0x374c('0x2'):_0x469479[_0x374c('0x34')]({'type':_0x374c('0x35'),'content':_0x50ddf5(_0x48e43e,_0x374c('0x42'),this['getItemLabel'](_0x30784e['element'],_0x30784e[_0x374c('0x20')]))});continue;case _0x374c('0x27'):_0x469479[_0x374c('0x34')]({'type':'deletion','content':_0x50ddf5(_0x48e43e,_0x374c('0x16'),this[_0x374c('0x4d')](_0x30784e[_0x374c('0x45')],_0x30784e[_0x374c('0x20')]))});continue;case _0x374c('0x24'):_0x460308[_0x374c('0x34')](_0x30784e[_0x374c('0xc')]);continue;case _0x374c('0x1d'):_0x15af40[_0x374c('0x34')](_0x30784e[_0x374c('0xc')]);continue;default:_0x469479[_0x374c('0x34')](_0x30784e);}if(_0x460308['length']){const _0x4dcfa8=_0x460308['map'](_0x35b81a=>this['_attributeLabels'][_0x374c('0x3')](_0x35b81a)?this[_0x374c('0x3b')][_0x374c('0x30')](_0x35b81a):_0x35b81a)['join'](',\x20');_0x469479['push']({'type':_0x374c('0x19'),'content':_0x50ddf5(this['_locale'],_0x374c('0x13'),_0x4dcfa8)});}if(_0x15af40['length']){const _0x326b00=_0x15af40[_0x374c('0x29')](_0x5cdbdf=>this[_0x374c('0x3b')][_0x374c('0x3')](_0x5cdbdf)?this[_0x374c('0x3b')][_0x374c('0x30')](_0x5cdbdf):_0x5cdbdf)[_0x374c('0x41')](',\x20');_0x469479[_0x374c('0x34')]({'type':_0x374c('0x19'),'content':_0x50ddf5(this[_0x374c('0x3d')],_0x374c('0x18'),_0x326b00)});}return _0x469479;}[_0x374c('0x47')](_0x4472be){for(const _0x1b0d82 of this[_0x374c('0x10')]){const _0x1ed451=_0x1b0d82(_0x4472be);if(_0x1ed451&&_0x374c('0x15')in _0x1ed451)return _0x1ed451;}}['_handleAttributeSuggestionDescription'](_0x37b466,_0x9fa12e){const _0x37b42a=_0x9fa12e[_0x374c('0x1e')],_0x180f17=void 0x0===_0x37b42a[_0x374c('0x8')]?_0x374c('0x1d'):_0x374c('0x24');_0x37b466[_0x374c('0x34')]({'type':_0x180f17,'key':_0x37b42a[_0x374c('0xc')]});}['_handleRenameSuggestionDescription'](_0x20c5f0,_0x4433a8){_0x20c5f0[_0x374c('0x34')]({'type':_0x374c('0x19'),'content':_0x50ddf5(this[_0x374c('0x3d')],'*Change\x20to:*\x20%0',this[_0x374c('0x4d')](_0x4433a8['getFirstRange']()[_0x374c('0x37')][_0x374c('0x3a')],0x1))});}[_0x374c('0xa')](_0x5b1b26,_0x187941,_0x293bb9){if(this[_0x374c('0x21')](_0x5b1b26,_0x187941),_0x293bb9&&_0x293bb9[_0x374c('0x33')]()&&!_0x187941[_0x374c('0x33')]()[_0x374c('0x9')][_0x374c('0x1')](_0x293bb9[_0x374c('0x33')]()[_0x374c('0x37')])){const _0x3f0faa=_0x5b1b26[_0x5b1b26[_0x374c('0xf')]-0x1],_0x24dcf6=_0x374c('0x35')==_0x187941[_0x374c('0x15')]?_0x374c('0x11'):_0x374c('0x14');_0x3f0faa&&_0x374c('0x4b')==_0x3f0faa[_0x374c('0x15')]&&(_0x3f0faa[_0x24dcf6]+='\x0a');}}}
23
+ const _0x1f32=['_itemLabels','name','item','has','getWalker','_handleCustomCallbackDescription','newValue','elementEnd','attribute','getFirstRange','EmptyContainer','indexOf','registerElementLabel','addEmptyContainer','removeContainer','_customCallbacks','_locale','Container','_schema','deletion','_attributeLabels','quantity','type','*Split:*\x20%0','remove','add','get','nodeAfter','length','removeEmptyContainer','_addDescriptionItems','skip','set','_handleInsertRemoveSuggestionDescription','end','normal','insertion','previousSibling','start','*Insert:*\x20%0','softBreak','label','data','isEmpty','removeObject','element','replace','$text','ELEMENT_SPACE','nextSibling','match','_handleRenameSuggestionDescription','_handleAttributeSuggestionDescription','checkChild','key','text','registerDescriptionCallback','removeFormat','join','pop','format','map','function','subType','getItemLabel','addFormat','isObject','push','*Remove\x20format:*\x20%0','Object','*Remove:*\x20%0','_itemLabelsCallbacks','addObject'];(function(_0x572c71,_0x1f322a){const _0x5578e6=function(_0x246b57){while(--_0x246b57){_0x572c71['push'](_0x572c71['shift']());}};_0x5578e6(++_0x1f322a);}(_0x1f32,0x1d2));const _0x5578=function(_0x572c71,_0x1f322a){_0x572c71=_0x572c71-0x0;let _0x5578e6=_0x1f32[_0x572c71];return _0x5578e6;};import{getTranslation as _0x2ec26a}from'./utils/common-translations';import{priorities as _0x342bbd,insertToPriorityArray as _0x2eec1b}from'ckeditor5/src/utils';import{renameAttributeKey as _0x3b4326}from'./trackchangesediting';export default class f{constructor(_0x390be5,_0x402aa6){this['_customCallbacks']=[],this[_0x5578('0x2d')]=new Map(),this[_0x5578('0x2b')]=[],this[_0x5578('0x41')]=new Map(),this[_0x5578('0x3f')]=_0x390be5,this[_0x5578('0x3d')]=_0x402aa6;}['getDescriptions'](_0x138dff){const _0x21521f=[],_0x4541c8=new Set(),_0x2454a4=new Set();for(let _0xca99eb=0x0;_0xca99eb<_0x138dff['length'];_0xca99eb++){const _0x4a739a=_0x138dff[_0xca99eb];if(!_0x4a739a['isInContent'])continue;const _0x4453f4=this[_0x5578('0x32')](_0x4a739a);if(_0x4453f4){if(null!=_0x4a739a[_0x5578('0x23')]){if(_0x4541c8['has'](_0x4a739a[_0x5578('0x23')]))continue;_0x4541c8[_0x5578('0x46')](_0x4a739a[_0x5578('0x23')]);}_0x21521f['push'](_0x4453f4);}else{if(_0x5578('0x35')!=_0x4a739a[_0x5578('0x43')])_0x5578('0x8')!=_0x4a739a[_0x5578('0x43')]&&'deletion'!=_0x4a739a[_0x5578('0x43')]||this[_0x5578('0x5')](_0x21521f,_0x4a739a,_0x138dff[_0xca99eb+0x1]);else{const _0x809b98=_0x4a739a[_0x5578('0xe')][_0x5578('0x1a')];if(_0x2454a4[_0x5578('0x30')](_0x809b98))continue;_0x2454a4[_0x5578('0x46')](_0x4a739a[_0x5578('0xe')][_0x5578('0x1a')]),_0x809b98==_0x3b4326?this[_0x5578('0x17')](_0x21521f,_0x4a739a):this['_handleAttributeSuggestionDescription'](_0x21521f,_0x4a739a);}}}return this['_resolveDescriptionItems'](_0x21521f);}[_0x5578('0x1c')](_0x5118d6){this['_customCallbacks']['push'](_0x5118d6);}[_0x5578('0x39')](_0x3152b5,_0x4b6542,_0x2c9b59=_0x342bbd[_0x5578('0x7')]){_0x5578('0x22')==typeof _0x3152b5?_0x2eec1b(this[_0x5578('0x2b')],{'matchingCallback':_0x3152b5,'label':_0x4b6542,'priority':_0x2c9b59}):this[_0x5578('0x2d')][_0x5578('0x4')](_0x3152b5,_0x4b6542);}['registerAttributeLabel'](_0x38698c,_0x411c03){this['_attributeLabels'][_0x5578('0x4')](_0x38698c,_0x411c03);}[_0x5578('0x24')](_0x49ca15,_0x4aaaf6=0x1){let _0xafedfe;for(const _0x50ab99 of this['_itemLabelsCallbacks'])if(_0x50ab99['matchingCallback'](_0x49ca15)){_0xafedfe=_0x50ab99[_0x5578('0xd')];break;}return _0xafedfe||(_0xafedfe=this[_0x5578('0x2d')][_0x5578('0x47')](_0x49ca15[_0x5578('0x2e')])),_0xafedfe?_0xafedfe(_0x4aaaf6):0x1!==_0x4aaaf6?_0x4aaaf6+'\x20'+_0x49ca15[_0x5578('0x2e')]+'s':''+_0x49ca15[_0x5578('0x2e')];}['_addDescriptionItems'](_0xba55d3,_0x2eae72){const _0x7f20b2=_0x2eae72['getFirstRange']()[_0x5578('0x31')](),_0x1afa8d='insertion'==_0x2eae72['type']?_0x5578('0x46'):_0x5578('0x45');for(const _0xcc11b8 of _0x7f20b2){const _0x5bcde5=_0xcc11b8[_0x5578('0x2f')],_0x415bc9=_0xba55d3[_0xba55d3[_0x5578('0x0')]-0x1];if(_0x5bcde5['is']('$textProxy'))_0x415bc9&&_0x415bc9[_0x5578('0x43')][_0x5578('0x38')](_0x5578('0x3e'))>-0x1&&_0xba55d3[_0x5578('0x1f')](),_0x415bc9&&'text'==_0x415bc9[_0x5578('0x43')]?_0x415bc9[_0x1afa8d]+=_0x5bcde5[_0x5578('0xe')]:_0xba55d3[_0x5578('0x27')]({'type':'text','add':_0x5578('0x46')==_0x1afa8d?_0x5bcde5[_0x5578('0xe')]:'','remove':'remove'==_0x1afa8d?_0x5bcde5['data']:''});else{if(this[_0x5578('0x3f')][_0x5578('0x26')](_0x5bcde5)){const _0xd7a87f=_0x5bcde5;if(_0x415bc9&&_0x415bc9[_0x5578('0x43')][_0x5578('0x38')](_0x5578('0x3e'))>-0x1&&_0xba55d3[_0x5578('0x1f')](),'elementEnd'==_0xcc11b8[_0x5578('0x43')])continue;_0x415bc9&&_0x415bc9[_0x5578('0x43')]==_0x1afa8d+_0x5578('0x29')&&_0x415bc9[_0x5578('0x11')]['name']==_0xd7a87f[_0x5578('0x2e')]?_0x415bc9[_0x5578('0x42')]++:_0xba55d3[_0x5578('0x27')]({'type':_0x1afa8d+_0x5578('0x29'),'element':_0xd7a87f,'quantity':0x1}),_0x7f20b2[_0x5578('0x3')](_0x104521=>!('elementEnd'==_0x104521[_0x5578('0x43')]&&_0x104521['item']==_0x5bcde5));}else{if(this[_0x5578('0x3f')][_0x5578('0x19')](_0x5bcde5,_0x5578('0x13'))||_0x5bcde5['is'](_0x5578('0x11'),_0x5578('0xc'))){const _0x5f2be7=_0x5bcde5;if(_0x5578('0x46')==_0x1afa8d&&'elementStart'==_0xcc11b8[_0x5578('0x43')]||_0x5578('0x45')==_0x1afa8d&&_0x5578('0x34')==_0xcc11b8[_0x5578('0x43')])continue;if(_0x415bc9&&-0x1==_0x415bc9[_0x5578('0x43')][_0x5578('0x38')]('Container')){'text'==_0x415bc9[_0x5578('0x43')]&&(_0x415bc9[_0x1afa8d]+='\x0a');continue;}let _0x24714b;if(_0x24714b=_0x5578('0x46')==_0x1afa8d?_0x5f2be7['nextSibling']&&!this[_0x5578('0x3f')][_0x5578('0x26')](_0x5f2be7[_0x5578('0x15')])?_0x5f2be7[_0x5578('0x15')]:null:_0x5f2be7[_0x5578('0x9')]&&!this[_0x5578('0x3f')]['isObject'](_0x5f2be7[_0x5578('0x9')])?_0x5f2be7['previousSibling']:null,_0x5f2be7['isEmpty']||_0x24714b&&_0x24714b[_0x5578('0xf')]){const _0x4e3c51=_0x24714b&&_0x24714b[_0x5578('0xf')]?_0x24714b:_0x5f2be7;_0x415bc9&&_0x415bc9[_0x5578('0x43')]==_0x1afa8d+_0x5578('0x37')&&_0x415bc9[_0x5578('0x11')][_0x5578('0x2e')]==_0x4e3c51[_0x5578('0x2e')]?_0x415bc9[_0x5578('0x42')]++:_0xba55d3[_0x5578('0x27')]({'type':_0x1afa8d+_0x5578('0x37'),'element':_0x4e3c51,'quantity':0x1});}else _0xba55d3[_0x5578('0x27')]({'type':_0x1afa8d+_0x5578('0x3e'),'element':_0x5f2be7});}}}}}['_resolveDescriptionItems'](_0x4d2187){const _0x5974ce=this['_locale'],_0x144f18=[],_0x34495d=[],_0x101f73=[];for(const _0x4fac44 of _0x4d2187)switch(_0x4fac44[_0x5578('0x43')]){case'text':if(_0x4fac44[_0x5578('0x46')]=_0x4fac44[_0x5578('0x46')][_0x5578('0x12')](/(\S)\u000A+(\S)/g,'$1\x20$2')[_0x5578('0x12')](/\u000A/g,''),_0x4fac44[_0x5578('0x45')]=_0x4fac44[_0x5578('0x45')][_0x5578('0x12')](/(\S)\u000A+(\S)/g,'$1\x20$2')[_0x5578('0x12')](/\u000A/g,''),''!=_0x4fac44['add']&&''!=_0x4fac44[_0x5578('0x45')]){_0x144f18['push']({'type':_0x5578('0x12'),'content':_0x2ec26a(_0x5974ce,'REPLACE_TEXT',['\x22'+_0x4fac44[_0x5578('0x45')]+'\x22','\x22'+_0x4fac44[_0x5578('0x46')]+'\x22'])});continue;}if(null!=_0x4fac44[_0x5578('0x46')][_0x5578('0x16')](/^ +$/)){_0x144f18['push']({'type':_0x5578('0x8'),'content':_0x2ec26a(_0x5974ce,_0x5578('0xb'),_0x2ec26a(_0x5974ce,_0x5578('0x14'),_0x4fac44[_0x5578('0x46')]['length']))});continue;}if(null!=_0x4fac44[_0x5578('0x45')][_0x5578('0x16')](/^ +$/)){_0x144f18[_0x5578('0x27')]({'type':_0x5578('0x40'),'content':_0x2ec26a(_0x5974ce,_0x5578('0x2a'),_0x2ec26a(_0x5974ce,'ELEMENT_SPACE',_0x4fac44[_0x5578('0x45')]['length']))});continue;}if(''!=_0x4fac44[_0x5578('0x46')]){_0x144f18[_0x5578('0x27')]({'type':_0x5578('0x8'),'content':_0x2ec26a(_0x5974ce,_0x5578('0xb'),'\x22'+_0x4fac44[_0x5578('0x46')]+'\x22')});continue;}_0x144f18[_0x5578('0x27')]({'type':_0x5578('0x40'),'content':_0x2ec26a(_0x5974ce,_0x5578('0x2a'),'\x22'+_0x4fac44[_0x5578('0x45')]+'\x22')});continue;case _0x5578('0x3a'):case _0x5578('0x2c'):_0x144f18[_0x5578('0x27')]({'type':'insertion','content':_0x2ec26a(_0x5974ce,'*Insert:*\x20%0',this[_0x5578('0x24')](_0x4fac44[_0x5578('0x11')],_0x4fac44[_0x5578('0x42')]))});continue;case _0x5578('0x1'):case _0x5578('0x10'):_0x144f18[_0x5578('0x27')]({'type':_0x5578('0x40'),'content':_0x2ec26a(_0x5974ce,_0x5578('0x2a'),this[_0x5578('0x24')](_0x4fac44['element'],_0x4fac44['quantity']))});continue;case'addContainer':_0x144f18[_0x5578('0x27')]({'type':_0x5578('0x8'),'content':_0x2ec26a(_0x5974ce,_0x5578('0x44'),this[_0x5578('0x24')](_0x4fac44[_0x5578('0x11')],_0x4fac44['quantity']))});continue;case _0x5578('0x3b'):_0x144f18[_0x5578('0x27')]({'type':_0x5578('0x40'),'content':_0x2ec26a(_0x5974ce,'*Merge:*\x20%0',this[_0x5578('0x24')](_0x4fac44['element'],_0x4fac44[_0x5578('0x42')]))});continue;case _0x5578('0x25'):_0x34495d[_0x5578('0x27')](_0x4fac44[_0x5578('0x1a')]);continue;case _0x5578('0x1d'):_0x101f73[_0x5578('0x27')](_0x4fac44['key']);continue;default:_0x144f18[_0x5578('0x27')](_0x4fac44);}if(_0x34495d[_0x5578('0x0')]){const _0x1819d6=_0x34495d[_0x5578('0x21')](_0x447693=>this[_0x5578('0x41')]['has'](_0x447693)?this[_0x5578('0x41')][_0x5578('0x47')](_0x447693):_0x447693)[_0x5578('0x1e')](',\x20');_0x144f18[_0x5578('0x27')]({'type':_0x5578('0x20'),'content':_0x2ec26a(this[_0x5578('0x3d')],'*Set\x20format:*\x20%0',_0x1819d6)});}if(_0x101f73[_0x5578('0x0')]){const _0x1c0b49=_0x101f73['map'](_0x3b08eb=>this[_0x5578('0x41')][_0x5578('0x30')](_0x3b08eb)?this[_0x5578('0x41')][_0x5578('0x47')](_0x3b08eb):_0x3b08eb)[_0x5578('0x1e')](',\x20');_0x144f18[_0x5578('0x27')]({'type':'format','content':_0x2ec26a(this[_0x5578('0x3d')],_0x5578('0x28'),_0x1c0b49)});}return _0x144f18;}[_0x5578('0x32')](_0x24df82){for(const _0x283be5 of this[_0x5578('0x3c')]){const _0x252a6a=_0x283be5(_0x24df82);if(_0x252a6a&&_0x5578('0x43')in _0x252a6a)return _0x252a6a;}}[_0x5578('0x18')](_0x3a0252,_0x4c961f){const _0x2e9293=_0x4c961f[_0x5578('0xe')],_0x14d9ee=void 0x0===_0x2e9293[_0x5578('0x33')]?_0x5578('0x1d'):_0x5578('0x25');_0x3a0252[_0x5578('0x27')]({'type':_0x14d9ee,'key':_0x2e9293[_0x5578('0x1a')]});}[_0x5578('0x17')](_0x53f4d2,_0x3c6749){_0x53f4d2[_0x5578('0x27')]({'type':'format','content':_0x2ec26a(this[_0x5578('0x3d')],'*Change\x20to:*\x20%0',this['getItemLabel'](_0x3c6749[_0x5578('0x36')]()[_0x5578('0xa')][_0x5578('0x48')],0x1))});}['_handleInsertRemoveSuggestionDescription'](_0x2ed41b,_0xe10fd8,_0x46ea69){if(this[_0x5578('0x2')](_0x2ed41b,_0xe10fd8),_0x46ea69&&_0x46ea69[_0x5578('0x36')]()&&!_0xe10fd8[_0x5578('0x36')]()[_0x5578('0x6')]['isEqual'](_0x46ea69[_0x5578('0x36')]()[_0x5578('0xa')])){const _0x133e51=_0x2ed41b[_0x2ed41b['length']-0x1],_0x490a6a=_0x5578('0x8')==_0xe10fd8[_0x5578('0x43')]?_0x5578('0x46'):_0x5578('0x45');_0x133e51&&_0x5578('0x1b')==_0x133e51[_0x5578('0x43')]&&(_0x133e51[_0x490a6a]+='\x0a');}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0xe090=['getSuggestion','addSuggestionData','TrackChanges','plugins','addSuggestion','editor','get','pluginName','adapter','requires','Comments'];(function(_0x2a96a6,_0xe090da){var _0x1d475f=function(_0x49d81d){while(--_0x49d81d){_0x2a96a6['push'](_0x2a96a6['shift']());}};_0x1d475f(++_0xe090da);}(_0xe090,0x117));var _0x1d47=function(_0x2a96a6,_0xe090da){_0x2a96a6=_0x2a96a6-0x0;var _0x1d475f=_0xe090[_0x2a96a6];return _0x1d475f;};import{Plugin as _0x3e4131}from'ckeditor5/src/core';import _0x4d10ce from'./trackchangesui';import _0x286c6a from'./trackchangesediting';import'ckeditor5-collaboration/src/collaboration-core';export default class k extends _0x3e4131{static get[_0x1d47('0x5')](){return[_0x286c6a,_0x4d10ce,_0x1d47('0x6')];}static get[_0x1d47('0x3')](){return _0x1d47('0x9');}set[_0x1d47('0x4')](_0x50b1a8){this[_0x1d47('0x1')]['plugins']['get'](_0x286c6a)[_0x1d47('0x4')]=_0x50b1a8;}get[_0x1d47('0x4')](){return this[_0x1d47('0x1')][_0x1d47('0xa')][_0x1d47('0x2')](_0x286c6a)[_0x1d47('0x4')];}[_0x1d47('0x0')](_0x319c35){return this['editor'][_0x1d47('0xa')]['get'](_0x286c6a)[_0x1d47('0x8')](_0x319c35);}['getSuggestions']({skipNotAttached:_0x3cdfa6=!0x1,toJSON:_0xfd3fa9=!0x1}={}){return this['editor'][_0x1d47('0xa')][_0x1d47('0x2')](_0x286c6a)['getSuggestions']({'skipNotAttached':_0x3cdfa6,'toJSON':_0xfd3fa9});}[_0x1d47('0x7')](_0x177a6f){return this[_0x1d47('0x1')]['plugins'][_0x1d47('0x2')](_0x286c6a)[_0x1d47('0x7')](_0x177a6f);}}
23
+ var _0x1edf=['addSuggestionData','requires','getSuggestion','get','getSuggestions','editor','Comments','addSuggestion','plugins','adapter'];(function(_0x387ca9,_0x1edf0b){var _0x13e900=function(_0x45e691){while(--_0x45e691){_0x387ca9['push'](_0x387ca9['shift']());}};_0x13e900(++_0x1edf0b);}(_0x1edf,0x151));var _0x13e9=function(_0x387ca9,_0x1edf0b){_0x387ca9=_0x387ca9-0x0;var _0x13e900=_0x1edf[_0x387ca9];return _0x13e900;};import{Plugin as _0x34a0e0}from'ckeditor5/src/core';import _0x4b107e from'./trackchangesui';import _0x571f1d from'./trackchangesediting';import'ckeditor5-collaboration/src/collaboration-core';export default class k extends _0x34a0e0{static get[_0x13e9('0x4')](){return[_0x571f1d,_0x4b107e,_0x13e9('0x9')];}static get['pluginName'](){return'TrackChanges';}set[_0x13e9('0x2')](_0xca6520){this['editor'][_0x13e9('0x1')][_0x13e9('0x6')](_0x571f1d)[_0x13e9('0x2')]=_0xca6520;}get[_0x13e9('0x2')](){return this[_0x13e9('0x8')][_0x13e9('0x1')][_0x13e9('0x6')](_0x571f1d)[_0x13e9('0x2')];}[_0x13e9('0x0')](_0x3e5ff5){return this['editor'][_0x13e9('0x1')]['get'](_0x571f1d)[_0x13e9('0x3')](_0x3e5ff5);}[_0x13e9('0x7')]({skipNotAttached:_0x3eb956=!0x1,toJSON:_0x211e57=!0x1}={}){return this[_0x13e9('0x8')][_0x13e9('0x1')][_0x13e9('0x6')](_0x571f1d)[_0x13e9('0x7')]({'skipNotAttached':_0x3eb956,'toJSON':_0x211e57});}[_0x13e9('0x5')](_0x43161e){return this[_0x13e9('0x8')][_0x13e9('0x1')][_0x13e9('0x6')](_0x571f1d)[_0x13e9('0x5')](_0x43161e);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5730=['createDocumentFragment','getSuggestions','TrackChangesData','function','requires','rootsAttributes','destroy','acceptAllSuggestions','get','getRootNames','useAnonymousUser','editor','CommentsRepository','set','TrackChangesEditing','getDataWithAcceptedSuggestions','define','div','reduce','plugins','_adapter','editorCreator','create','model','execute','users','map','trackChangesData.editorCreator','document','config','data','createElement','getUser','Users','getRootsAttributes','end','getFullData','trackChangesData','addUser'];(function(_0x21b085,_0x573062){const _0x5ea1fc=function(_0x2a2d03){while(--_0x2a2d03){_0x21b085['push'](_0x21b085['shift']());}};_0x5ea1fc(++_0x573062);}(_0x5730,0xf1));const _0x5ea1=function(_0x21b085,_0x573062){_0x21b085=_0x21b085-0x0;let _0x5ea1fc=_0x5730[_0x21b085];return _0x5ea1fc;};import{Plugin as _0x57e92b}from'ckeditor5/src/core';import{CKEditorError as _0x26a2e3}from'ckeditor5/src/utils';import _0x33e899 from'./trackchangesediting';import{sanitizeEditorConfig as _0x4812e2}from'ckeditor5-collaboration/src/collaboration-core';const T=['Pagination'];export default class P extends _0x57e92b{static get[_0x5ea1('0x24')](){return[_0x33e899];}static get['pluginName'](){return _0x5ea1('0x22');}['init'](){const _0x59f840=this[_0x5ea1('0x4')];if(_0x59f840[_0x5ea1('0x16')][_0x5ea1('0x9')](_0x5ea1('0x14'),_0x383162=>{const _0x537e30=_0x59f840[_0x5ea1('0x10')][_0x5ea1('0x15')][_0x5ea1('0x2')]()['reduce']((_0x3fee95,_0x3811da)=>(_0x3fee95[_0x3811da]='',_0x3fee95),{});return _0x59f840['constructor'][_0x5ea1('0xf')](_0x537e30,_0x383162);}),_0x5ea1('0x23')!=typeof _0x59f840['config'][_0x5ea1('0x1')](_0x5ea1('0x1e'))[_0x5ea1('0xe')])throw new _0x26a2e3('track-changes-data-invalid-editor-creator');}[_0x5ea1('0x8')](_0x58f81a){return N(this[_0x5ea1('0x4')],!0x0,_0x58f81a);}['getDataWithDiscardedSuggestions'](_0x20eaf2){return N(this[_0x5ea1('0x4')],!0x1,_0x20eaf2);}}class D extends _0x57e92b{static get['pluginName'](){return'TrackChangesDataGetter';}constructor(_0x1f2944){super(_0x1f2944),this['result']=_0x5ea1('0x1c');}['init'](){this['editor'][_0x5ea1('0xc')][_0x5ea1('0x1')](_0x5ea1('0x5'))[_0x5ea1('0xd')]={'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'][_0x5ea1('0xc')]['get'](_0x5ea1('0x7'))['_adapter']=null;}}function v(_0x1a36ee){return void 0x0!==_0x1a36ee[_0x5ea1('0x1b')];}async function N(_0x3e2820,_0x526a99,_0x44310c){const _0x4b652b=_0x4812e2(_0x3e2820,T);_0x4b652b[_0x5ea1('0xc')]['push'](_0x33e899,D),_0x4b652b[_0x5ea1('0x25')]=v(_0x3e2820)?_0x3e2820[_0x5ea1('0x1b')]():void 0x0;const _0x3ba626=document[_0x5ea1('0x20')](),_0x654202=_0x3e2820['config'][_0x5ea1('0x1')](_0x5ea1('0x1e'))[_0x5ea1('0xe')],_0x21c45a=await _0x654202(_0x4b652b,()=>function(_0x35d89e){const _0x377df2=document[_0x5ea1('0x18')](_0x5ea1('0xa'));return _0x35d89e['appendChild'](_0x377df2),_0x377df2;}(_0x3ba626));!function(_0x280198,_0x4696ac){const _0x14d8bf=_0x280198[_0x5ea1('0x10')]['document'][_0x5ea1('0x2')]()[_0x5ea1('0xb')]((_0x2944a9,_0x326fa7)=>(_0x2944a9[_0x326fa7]=_0x280198[_0x5ea1('0x17')][_0x5ea1('0x1')]({'rootName':_0x326fa7}),_0x2944a9),{}),_0x47e123=_0x280198[_0x5ea1('0xc')][_0x5ea1('0x1')](_0x5ea1('0x1a'))[_0x5ea1('0x12')][_0x5ea1('0x13')](_0x48ca08=>({'id':_0x48ca08['id'],'name':_0x48ca08['name']})),_0x2d2562=_0x280198['plugins'][_0x5ea1('0x1')](_0x5ea1('0x7'))[_0x5ea1('0x21')]({'skipNotAttached':!0x0,'toJSON':!0x0}),_0xa2d37=_0x4696ac[_0x5ea1('0xc')][_0x5ea1('0x1')]('Users'),_0x2a59ac=_0x4696ac[_0x5ea1('0xc')][_0x5ea1('0x1')](_0x5ea1('0x7'));for(const _0x3ce386 of _0x47e123)_0xa2d37[_0x5ea1('0x19')](_0x3ce386['id'])||_0xa2d37[_0x5ea1('0x1f')](_0x3ce386);_0xa2d37['me']||_0xa2d37[_0x5ea1('0x3')]();for(const _0xe85aee of _0x2d2562)_0x2a59ac['addSuggestionData'](_0xe85aee);_0x4696ac[_0x5ea1('0x17')][_0x5ea1('0x6')](_0x14d8bf);}(_0x3e2820,_0x21c45a),_0x21c45a[_0x5ea1('0x11')](_0x526a99?_0x5ea1('0x0'):'discardAllSuggestions');const _0x4d465a=v(_0x21c45a)?_0x21c45a[_0x5ea1('0x1d')](_0x44310c):_0x21c45a[_0x5ea1('0x17')][_0x5ea1('0x1')](_0x44310c);return await _0x21c45a[_0x5ea1('0x26')](),_0x4d465a;}
23
+ const _0x13b8=['init','appendChild','define','discardAllSuggestions','create','constructor','editorCreator','data','getDataWithAcceptedSuggestions','trackChangesData.editorCreator','TrackChangesEditing','createDocumentFragment','div','requires','addUser','_adapter','getFullData','getUser','getRootNames','trackChangesData','model','useAnonymousUser','name','track-changes-data-invalid-editor-creator','acceptAllSuggestions','document','editor','createElement','users','end','push','plugins','config','function','TrackChangesDataGetter','addSuggestionData','get','getRootsAttributes','reduce','Users','rootsAttributes','execute'];(function(_0x3bf0e2,_0x13b87c){const _0x320e4a=function(_0x4e2667){while(--_0x4e2667){_0x3bf0e2['push'](_0x3bf0e2['shift']());}};_0x320e4a(++_0x13b87c);}(_0x13b8,0x160));const _0x320e=function(_0x3bf0e2,_0x13b87c){_0x3bf0e2=_0x3bf0e2-0x0;let _0x320e4a=_0x13b8[_0x3bf0e2];return _0x320e4a;};import{Plugin as _0xe97ed4}from'ckeditor5/src/core';import{CKEditorError as _0x3983e4}from'ckeditor5/src/utils';import _0x2929c7 from'./trackchangesediting';import{sanitizeEditorConfig as _0x4527f5}from'ckeditor5-collaboration/src/collaboration-core';const T=['Pagination'];export default class P extends _0xe97ed4{static get[_0x320e('0x27')](){return[_0x2929c7];}static get['pluginName'](){return'TrackChangesData';}['init'](){const _0x50d828=this[_0x320e('0xa')];if(_0x50d828[_0x320e('0x10')][_0x320e('0x1c')](_0x320e('0x23'),_0x46deea=>{const _0x3aef21=_0x50d828[_0x320e('0x4')][_0x320e('0x9')][_0x320e('0x2')]()[_0x320e('0x16')]((_0x140549,_0x3d39d4)=>(_0x140549[_0x3d39d4]='',_0x140549),{});return _0x50d828[_0x320e('0x1f')][_0x320e('0x1e')](_0x3aef21,_0x46deea);}),_0x320e('0x11')!=typeof _0x50d828[_0x320e('0x10')][_0x320e('0x14')](_0x320e('0x3'))[_0x320e('0x20')])throw new _0x3983e4(_0x320e('0x7'));}[_0x320e('0x22')](_0x273016){return N(this[_0x320e('0xa')],!0x0,_0x273016);}['getDataWithDiscardedSuggestions'](_0x2185b4){return N(this[_0x320e('0xa')],!0x1,_0x2185b4);}}class D extends _0xe97ed4{static get['pluginName'](){return _0x320e('0x12');}constructor(_0x2e0100){super(_0x2e0100),this['result']=_0x320e('0xd');}[_0x320e('0x1a')](){this[_0x320e('0xa')][_0x320e('0xf')]['get']('CommentsRepository')[_0x320e('0x29')]={'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[_0x320e('0xa')][_0x320e('0xf')][_0x320e('0x14')](_0x320e('0x24'))[_0x320e('0x29')]=null;}}function v(_0x211f4f){return void 0x0!==_0x211f4f[_0x320e('0x15')];}async function N(_0x471e62,_0x59bebb,_0x934f10){const _0x3e8301=_0x4527f5(_0x471e62,T);_0x3e8301[_0x320e('0xf')][_0x320e('0xe')](_0x2929c7,D),_0x3e8301[_0x320e('0x18')]=v(_0x471e62)?_0x471e62[_0x320e('0x15')]():void 0x0;const _0x306772=document[_0x320e('0x25')](),_0x4a03bb=_0x471e62['config'][_0x320e('0x14')](_0x320e('0x3'))[_0x320e('0x20')],_0x205a6d=await _0x4a03bb(_0x3e8301,()=>function(_0x2c395c){const _0x2eb733=document[_0x320e('0xb')](_0x320e('0x26'));return _0x2c395c[_0x320e('0x1b')](_0x2eb733),_0x2eb733;}(_0x306772));!function(_0x5cf033,_0x3d7c53){const _0x3db1cb=_0x5cf033[_0x320e('0x4')][_0x320e('0x9')][_0x320e('0x2')]()[_0x320e('0x16')]((_0x28cf54,_0x9639a5)=>(_0x28cf54[_0x9639a5]=_0x5cf033[_0x320e('0x21')][_0x320e('0x14')]({'rootName':_0x9639a5}),_0x28cf54),{}),_0x4092b5=_0x5cf033['plugins']['get'](_0x320e('0x17'))[_0x320e('0xc')]['map'](_0x9f2b8d=>({'id':_0x9f2b8d['id'],'name':_0x9f2b8d[_0x320e('0x6')]})),_0x2314c4=_0x5cf033[_0x320e('0xf')][_0x320e('0x14')](_0x320e('0x24'))['getSuggestions']({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x53c87c=_0x3d7c53[_0x320e('0xf')][_0x320e('0x14')]('Users'),_0x1bba9a=_0x3d7c53[_0x320e('0xf')][_0x320e('0x14')](_0x320e('0x24'));for(const _0x533932 of _0x4092b5)_0x53c87c[_0x320e('0x1')](_0x533932['id'])||_0x53c87c[_0x320e('0x28')](_0x533932);_0x53c87c['me']||_0x53c87c[_0x320e('0x5')]();for(const _0x14ab39 of _0x2314c4)_0x1bba9a[_0x320e('0x13')](_0x14ab39);_0x3d7c53[_0x320e('0x21')]['set'](_0x3db1cb);}(_0x471e62,_0x205a6d),_0x205a6d[_0x320e('0x19')](_0x59bebb?_0x320e('0x8'):_0x320e('0x1d'));const _0x24b4fd=v(_0x205a6d)?_0x205a6d[_0x320e('0x0')](_0x934f10):_0x205a6d[_0x320e('0x21')][_0x320e('0x14')](_0x934f10);return await _0x205a6d['destroy'](),_0x24b4fd;}