@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20231126.0 → 0.0.0-nightly-20231128.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 _0xd9ef=['onAccept','onDiscard','substr','creator','data','nodeAfter','getRange','getMarkers','discard','getAllAdjacentSuggestions','size','from','getMarkerNames','add','attributes','previous','isIntersecting','getContainedElement','start','addMarkerName','hasComments','getFirstMarker','split','_onDiscard','decorate','createdAt','filter','suggestion:','set','end','onAttributesChange','commentThread','_markerNames','clear','nodeBefore','toJSON','push','change','removeMarkers','_model','delete','type','subType','length','removeMarker','getRanges','isExternal','isInContent','author','authoredAt','next','_onAccept','map','accept','@external','head','getItems','_onAttributesChange','markers'];(function(_0x224dc7,_0xd9efca){const _0x5f5196=function(_0xd92f66){while(--_0xd92f66){_0x224dc7['push'](_0x224dc7['shift']());}};_0x5f5196(++_0xd9efca);}(_0xd9ef,0xf4));const _0x5f51=function(_0x224dc7,_0xd9efca){_0x224dc7=_0x224dc7-0x0;let _0x5f5196=_0xd9ef[_0x224dc7];return _0x5f5196;};import{Element as _0x41e6d3}from'ckeditor5/src/engine';import{ObservableMixin as _0x3429a6,uid as _0x7be28d}from'ckeditor5/src/utils';import{cloneDeep as _0x31917f,isEqual as _0x50ac6b,set as _0x341cbb,unset as _0x5badb2}from'lodash-es';export default class u extends _0x3429a6(){constructor(_0x784589,_0x326a02){super(),this['_isDataLoaded']=!0x1,this['id']=_0x326a02['id'],this[_0x5f51('0x21')]=_0x326a02[_0x5f51('0x21')],this[_0x5f51('0x22')]=_0x326a02[_0x5f51('0x22')]||null,this['author']=_0x326a02[_0x5f51('0x28')],this[_0x5f51('0x36')]=_0x326a02[_0x5f51('0x36')]||_0x326a02['author'],this[_0x5f51('0x26')]=Boolean(_0x326a02['attributes']&&_0x326a02[_0x5f51('0x6')][_0x5f51('0x2e')]),this[_0x5f51('0x37')]=null,this[_0x5f51('0x1f')]=_0x784589,this[_0x5f51('0x2b')]=_0x326a02[_0x5f51('0x33')],this[_0x5f51('0xf')]=_0x326a02[_0x5f51('0x34')],this[_0x5f51('0x31')]=_0x326a02[_0x5f51('0x16')],this[_0x5f51('0x18')]=new Set(),this[_0x5f51('0x11')]=null,this[_0x5f51('0x14')](_0x5f51('0x29'),null),this[_0x5f51('0x14')](_0x5f51('0x6'),_0x326a02[_0x5f51('0x6')]||{}),this[_0x5f51('0x14')](_0x5f51('0x7'),null),this[_0x5f51('0x14')](_0x5f51('0x2a'),null),this[_0x5f51('0x14')]('commentThread',null),this[_0x5f51('0x14')]('_saved',!0x1),this[_0x5f51('0x10')](_0x5f51('0x2d')),this[_0x5f51('0x10')]('discard');}get[_0x5f51('0x2f')](){let _0x4a1ef3=this;for(;_0x4a1ef3['previous'];)_0x4a1ef3=_0x4a1ef3[_0x5f51('0x7')];return _0x4a1ef3;}get[_0x5f51('0xc')](){return!!this[_0x5f51('0x17')]&&this[_0x5f51('0x17')][_0x5f51('0x23')]>0x0;}get['isMultiRange'](){if(0x0==this[_0x5f51('0x18')][_0x5f51('0x2')])return!0x1;return 0x6==Array['from'](this[_0x5f51('0x18')])[0x0][_0x5f51('0xe')](':')[_0x5f51('0x23')];}get[_0x5f51('0x27')](){return null!==this[_0x5f51('0xd')]();}['addMarkerName'](_0x301b67){this[_0x5f51('0x18')][_0x5f51('0x5')](_0x301b67);}[_0x5f51('0x4')](){return Array[_0x5f51('0x3')](this[_0x5f51('0x18')]);}[_0x5f51('0x3a')](){return this[_0x5f51('0x4')]()[_0x5f51('0x2c')](_0x451244=>this['_model'][_0x5f51('0x32')]['get'](_0x451244))[_0x5f51('0x12')](_0x5425cb=>_0x5425cb);}['getFirstMarker'](){return this[_0x5f51('0x3a')]()[0x0]||null;}[_0x5f51('0x1e')](){this[_0x5f51('0x1f')]['change'](_0xe69f39=>{for(const _0x370281 of this[_0x5f51('0x3a')]())_0xe69f39[_0x5f51('0x24')](_0x370281);}),this[_0x5f51('0x18')][_0x5f51('0x19')]();}[_0x5f51('0x24')](_0x3c2622){this[_0x5f51('0x1f')]['change'](_0x274731=>{_0x274731[_0x5f51('0x24')](_0x3c2622);}),this[_0x5f51('0x18')][_0x5f51('0x20')](_0x3c2622);}['addRange'](_0x20a333){const _0x45c4cd=_0x5f51('0x13')+this[_0x5f51('0x21')]+':'+this['subType']+':'+this['id']+':'+this[_0x5f51('0x36')]['id']+':'+u['getMultiRangeId']();this[_0x5f51('0xb')](_0x45c4cd),this[_0x5f51('0x1f')][_0x5f51('0x1d')](_0xd75b2b=>{_0xd75b2b['addMarker'](_0x45c4cd,{'range':_0x20a333,'usingOperation':!0x0,'affectsData':!0x0});});}['isIntersectingWithRange'](_0x47c8d3){for(const _0x50a763 of this[_0x5f51('0x25')]())if(_0x50a763[_0x5f51('0x8')](_0x47c8d3))return!0x0;return!0x1;}[_0x5f51('0x25')](){return this['getMarkers']()[_0x5f51('0x2c')](_0x276bd2=>_0x276bd2[_0x5f51('0x39')]());}['getItems'](){return this[_0x5f51('0x25')]()['reduce']((_0x2ae8fb,_0x2e58a4)=>[..._0x2ae8fb,..._0x2e58a4[_0x5f51('0x30')]()],[]);}['getFirstRange'](){var _0x156972;return(null===(_0x156972=this[_0x5f51('0xd')]())||void 0x0===_0x156972?void 0x0:_0x156972[_0x5f51('0x39')]())||null;}[_0x5f51('0x9')](){const _0x4df86c=this[_0x5f51('0x25')]();if(0x1!=_0x4df86c[_0x5f51('0x23')])return null;const _0x350a4f=_0x4df86c[0x0],_0x1f004a=_0x350a4f[_0x5f51('0xa')][_0x5f51('0x38')],_0x3d1766=_0x350a4f[_0x5f51('0x15')][_0x5f51('0x1a')];return _0x1f004a instanceof _0x41e6d3?_0x1f004a!=_0x3d1766?null:_0x1f004a:null;}[_0x5f51('0x2d')](){this[_0x5f51('0x2b')](this['getRanges'](),this[_0x5f51('0x37')],this[_0x5f51('0x6')]),this[_0x5f51('0x1e')]();}[_0x5f51('0x0')](){this[_0x5f51('0xf')](this[_0x5f51('0x25')](),this[_0x5f51('0x37')],this[_0x5f51('0x6')]),this[_0x5f51('0x1e')]();}[_0x5f51('0x1')](){const _0x4502d3=[];let _0x1aef7b=this[_0x5f51('0x2f')];for(;_0x1aef7b;)_0x4502d3[_0x5f51('0x1c')](_0x1aef7b),_0x1aef7b=_0x1aef7b['next'];return _0x4502d3;}['setAttribute'](_0x2bb75e,_0x41956f){const _0x345944=_0x31917f(this['attributes']);_0x341cbb(_0x345944,_0x2bb75e,_0x41956f),_0x50ac6b(_0x345944,this[_0x5f51('0x6')])||(this['attributes']=_0x345944,this['_onAttributesChange'](_0x345944));}['removeAttribute'](_0x204000){const _0x3016d6=_0x31917f(this['attributes']);_0x5badb2(_0x3016d6,_0x204000),_0x50ac6b(_0x3016d6,this[_0x5f51('0x6')])||(this['attributes']=_0x3016d6,this[_0x5f51('0x31')](this[_0x5f51('0x6')]));}[_0x5f51('0x1b')](){return{'id':this['id'],'type':this[_0x5f51('0x22')]?this[_0x5f51('0x21')]+':'+this[_0x5f51('0x22')]:this['type'],'authorId':this['creator']['id'],'createdAt':this['createdAt'],'hasComments':this[_0x5f51('0xc')],'data':this[_0x5f51('0x37')],'attributes':this['attributes']};}static['getMultiRangeId'](){return _0x7be28d()[_0x5f51('0x35')](0x1,0x5);}}
23
+ const _0x4247=['isIntersectingWithRange','type','onAttributesChange','getRange','author','decorate','_saved','setAttribute','removeMarker','isExternal','getRanges','getMarkers','set','head','getItems','split','delete','nodeBefore','get','_isDataLoaded','previous','getFirstMarker','data','getContainedElement','markers','getAllAdjacentSuggestions','push','add','length','addRange','_markerNames','_onAttributesChange','toJSON','getMultiRangeId','filter','map','createdAt','_onAccept','start','accept','creator','removeMarkers','substr','removeAttribute','end','hasComments','_onDiscard','discard','_model','change','commentThread','onAccept','attributes','addMarkerName','clear','addMarker','getMarkerNames','subType'];(function(_0x2cbeb4,_0x4247b4){const _0x407276=function(_0x2f02dc){while(--_0x2f02dc){_0x2cbeb4['push'](_0x2cbeb4['shift']());}};_0x407276(++_0x4247b4);}(_0x4247,0x120));const _0x4072=function(_0x2cbeb4,_0x4247b4){_0x2cbeb4=_0x2cbeb4-0x0;let _0x407276=_0x4247[_0x2cbeb4];return _0x407276;};import{Element as _0x2a17cf}from'ckeditor5/src/engine';import{ObservableMixin as _0x1b572f,uid as _0x5679df}from'ckeditor5/src/utils';import{cloneDeep as _0x11ed98,isEqual as _0x51f2cc,set as _0x32e74e,unset as _0x47a7d5}from'lodash-es';export default class u extends _0x1b572f(){constructor(_0x50237c,_0x1bbbbd){super(),this[_0x4072('0x15')]=!0x1,this['id']=_0x1bbbbd['id'],this[_0x4072('0x3')]=_0x1bbbbd[_0x4072('0x3')],this[_0x4072('0x1')]=_0x1bbbbd[_0x4072('0x1')]||null,this['author']=_0x1bbbbd[_0x4072('0x6')],this[_0x4072('0x2a')]=_0x1bbbbd['creator']||_0x1bbbbd[_0x4072('0x6')],this[_0x4072('0xb')]=Boolean(_0x1bbbbd[_0x4072('0x36')]&&_0x1bbbbd[_0x4072('0x36')]['@external']),this[_0x4072('0x18')]=null,this['_model']=_0x50237c,this[_0x4072('0x27')]=_0x1bbbbd[_0x4072('0x35')],this[_0x4072('0x30')]=_0x1bbbbd['onDiscard'],this[_0x4072('0x21')]=_0x1bbbbd[_0x4072('0x4')],this[_0x4072('0x20')]=new Set(),this[_0x4072('0x26')]=null,this['set']('authoredAt',null),this[_0x4072('0xe')](_0x4072('0x36'),_0x1bbbbd[_0x4072('0x36')]||{}),this[_0x4072('0xe')]('previous',null),this[_0x4072('0xe')]('next',null),this['set'](_0x4072('0x34'),null),this[_0x4072('0xe')](_0x4072('0x8'),!0x1),this[_0x4072('0x7')](_0x4072('0x29')),this[_0x4072('0x7')](_0x4072('0x31'));}get['head'](){let _0x1ee058=this;for(;_0x1ee058['previous'];)_0x1ee058=_0x1ee058[_0x4072('0x16')];return _0x1ee058;}get[_0x4072('0x2f')](){return!!this[_0x4072('0x34')]&&this[_0x4072('0x34')][_0x4072('0x1e')]>0x0;}get['isMultiRange'](){if(0x0==this['_markerNames']['size'])return!0x1;return 0x6==Array['from'](this[_0x4072('0x20')])[0x0][_0x4072('0x11')](':')[_0x4072('0x1e')];}get['isInContent'](){return null!==this['getFirstMarker']();}['addMarkerName'](_0x1a8a31){this[_0x4072('0x20')][_0x4072('0x1d')](_0x1a8a31);}[_0x4072('0x0')](){return Array['from'](this['_markerNames']);}[_0x4072('0xd')](){return this[_0x4072('0x0')]()[_0x4072('0x25')](_0x547078=>this[_0x4072('0x32')][_0x4072('0x1a')][_0x4072('0x14')](_0x547078))[_0x4072('0x24')](_0x1c3607=>_0x1c3607);}[_0x4072('0x17')](){return this[_0x4072('0xd')]()[0x0]||null;}[_0x4072('0x2b')](){this[_0x4072('0x32')]['change'](_0x30ec60=>{for(const _0x2ace77 of this[_0x4072('0xd')]())_0x30ec60['removeMarker'](_0x2ace77);}),this[_0x4072('0x20')][_0x4072('0x38')]();}[_0x4072('0xa')](_0x52c77e){this[_0x4072('0x32')][_0x4072('0x33')](_0x4f997c=>{_0x4f997c[_0x4072('0xa')](_0x52c77e);}),this[_0x4072('0x20')][_0x4072('0x12')](_0x52c77e);}[_0x4072('0x1f')](_0xe34336){const _0x1f8fd3='suggestion:'+this[_0x4072('0x3')]+':'+this[_0x4072('0x1')]+':'+this['id']+':'+this[_0x4072('0x2a')]['id']+':'+u[_0x4072('0x23')]();this[_0x4072('0x37')](_0x1f8fd3),this[_0x4072('0x32')][_0x4072('0x33')](_0xc66e8=>{_0xc66e8[_0x4072('0x39')](_0x1f8fd3,{'range':_0xe34336,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x4072('0x2')](_0x276017){for(const _0x4372a0 of this[_0x4072('0xc')]())if(_0x4372a0['isIntersecting'](_0x276017))return!0x0;return!0x1;}[_0x4072('0xc')](){return this['getMarkers']()[_0x4072('0x25')](_0x426325=>_0x426325['getRange']());}[_0x4072('0x10')](){return this[_0x4072('0xc')]()['reduce']((_0x109fe8,_0x5b64bd)=>[..._0x109fe8,..._0x5b64bd[_0x4072('0x10')]()],[]);}['getFirstRange'](){var _0x229de2;return(null===(_0x229de2=this[_0x4072('0x17')]())||void 0x0===_0x229de2?void 0x0:_0x229de2[_0x4072('0x5')]())||null;}[_0x4072('0x19')](){const _0x530fe8=this['getRanges']();if(0x1!=_0x530fe8[_0x4072('0x1e')])return null;const _0x5568a3=_0x530fe8[0x0],_0x4315ab=_0x5568a3[_0x4072('0x28')]['nodeAfter'],_0x513053=_0x5568a3[_0x4072('0x2e')][_0x4072('0x13')];return _0x4315ab instanceof _0x2a17cf?_0x4315ab!=_0x513053?null:_0x4315ab:null;}[_0x4072('0x29')](){this[_0x4072('0x27')](this[_0x4072('0xc')](),this[_0x4072('0x18')],this[_0x4072('0x36')]),this[_0x4072('0x2b')]();}[_0x4072('0x31')](){this[_0x4072('0x30')](this[_0x4072('0xc')](),this['data'],this['attributes']),this[_0x4072('0x2b')]();}[_0x4072('0x1b')](){const _0x2a9fb1=[];let _0x264420=this[_0x4072('0xf')];for(;_0x264420;)_0x2a9fb1[_0x4072('0x1c')](_0x264420),_0x264420=_0x264420['next'];return _0x2a9fb1;}[_0x4072('0x9')](_0x38ee8d,_0x3a3111){const _0x36ed6a=_0x11ed98(this[_0x4072('0x36')]);_0x32e74e(_0x36ed6a,_0x38ee8d,_0x3a3111),_0x51f2cc(_0x36ed6a,this[_0x4072('0x36')])||(this[_0x4072('0x36')]=_0x36ed6a,this[_0x4072('0x21')](_0x36ed6a));}[_0x4072('0x2d')](_0xe2f1ce){const _0x244bfa=_0x11ed98(this[_0x4072('0x36')]);_0x47a7d5(_0x244bfa,_0xe2f1ce),_0x51f2cc(_0x244bfa,this[_0x4072('0x36')])||(this['attributes']=_0x244bfa,this[_0x4072('0x21')](this[_0x4072('0x36')]));}[_0x4072('0x22')](){return{'id':this['id'],'type':this[_0x4072('0x1')]?this[_0x4072('0x3')]+':'+this[_0x4072('0x1')]:this[_0x4072('0x3')],'authorId':this['creator']['id'],'createdAt':this[_0x4072('0x26')],'hasComments':this[_0x4072('0x2f')],'data':this['data'],'attributes':this[_0x4072('0x36')]};}static[_0x4072('0x23')](){return _0x5679df()[_0x4072('0x2c')](0x1,0x5);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4c34=['Object','_resolveDescriptionItems','key','data','removeFormat','push','addContainer','_itemLabelsCallbacks','previousSibling','replace','removeContainer','addEmptyContainer','_locale','_handleRenameSuggestionDescription','insertion','subType','isEmpty','element','attribute','set','isObject','indexOf','_customCallbacks','checkChild','nextSibling','add','getFirstRange','isInContent','length','function','type','addFormat','addObject','_handleInsertRemoveSuggestionDescription','remove','format','elementStart','skip','*Remove:*\x20%0','nodeAfter','*Merge:*\x20%0','elementEnd','_attributeLabels','normal','pop','item','registerDescriptionCallback','map','match','start','quantity','getWalker','_addDescriptionItems','newValue','has','ELEMENT_SPACE','end','*Insert:*\x20%0','getItemLabel','Container','name','_schema','join','matchingCallback','get','_itemLabels','_handleCustomCallbackDescription','_handleAttributeSuggestionDescription','EmptyContainer','getDescriptions','REPLACE_TEXT','*Change\x20to:*\x20%0','*Split:*\x20%0','text','deletion','$text','$textProxy'];(function(_0x1125cd,_0x4c3499){const _0x294acd=function(_0x41094a){while(--_0x41094a){_0x1125cd['push'](_0x1125cd['shift']());}};_0x294acd(++_0x4c3499);}(_0x4c34,0xac));const _0x294a=function(_0x1125cd,_0x4c3499){_0x1125cd=_0x1125cd-0x0;let _0x294acd=_0x4c34[_0x1125cd];return _0x294acd;};import{getTranslation as _0x103aff}from'./utils/common-translations';import{priorities as _0x590d20,insertToPriorityArray as _0x1d401e}from'ckeditor5/src/utils';import{renameAttributeKey as _0x39a769}from'./trackchangesediting';export default class f{constructor(_0x4e1792,_0x5ee58b){this['_customCallbacks']=[],this[_0x294a('0x2f')]=new Map(),this[_0x294a('0x42')]=[],this[_0x294a('0x18')]=new Map(),this['_schema']=_0x4e1792,this[_0x294a('0x47')]=_0x5ee58b;}[_0x294a('0x33')](_0x1074ee){const _0x131bad=[],_0x4c2a0a=new Set(),_0x58442e=new Set();for(let _0x2ea063=0x0;_0x2ea063<_0x1074ee[_0x294a('0xa')];_0x2ea063++){const _0x40306a=_0x1074ee[_0x2ea063];if(!_0x40306a[_0x294a('0x9')])continue;const _0x389919=this[_0x294a('0x30')](_0x40306a);if(_0x389919){if(null!=_0x40306a[_0x294a('0x4a')]){if(_0x4c2a0a[_0x294a('0x24')](_0x40306a[_0x294a('0x4a')]))continue;_0x4c2a0a[_0x294a('0x7')](_0x40306a[_0x294a('0x4a')]);}_0x131bad[_0x294a('0x40')](_0x389919);}else{if(_0x294a('0x0')!=_0x40306a['type'])_0x294a('0x49')!=_0x40306a[_0x294a('0xc')]&&_0x294a('0x38')!=_0x40306a[_0x294a('0xc')]||this['_handleInsertRemoveSuggestionDescription'](_0x131bad,_0x40306a,_0x1074ee[_0x2ea063+0x1]);else{const _0x388ddc=_0x40306a[_0x294a('0x3e')][_0x294a('0x3d')];if(_0x58442e[_0x294a('0x24')](_0x388ddc))continue;_0x58442e[_0x294a('0x7')](_0x40306a[_0x294a('0x3e')]['key']),_0x388ddc==_0x39a769?this['_handleRenameSuggestionDescription'](_0x131bad,_0x40306a):this[_0x294a('0x31')](_0x131bad,_0x40306a);}}}return this['_resolveDescriptionItems'](_0x131bad);}[_0x294a('0x1c')](_0x35fbe4){this[_0x294a('0x4')]['push'](_0x35fbe4);}['registerElementLabel'](_0x474a88,_0x288bb9,_0x28467b=_0x590d20[_0x294a('0x19')]){_0x294a('0xb')==typeof _0x474a88?_0x1d401e(this[_0x294a('0x42')],{'matchingCallback':_0x474a88,'label':_0x288bb9,'priority':_0x28467b}):this[_0x294a('0x2f')][_0x294a('0x1')](_0x474a88,_0x288bb9);}['registerAttributeLabel'](_0x3147cf,_0x904853){this[_0x294a('0x18')][_0x294a('0x1')](_0x3147cf,_0x904853);}[_0x294a('0x28')](_0x5181f4,_0x104f50=0x1){let _0x59c27a;for(const _0x7bc674 of this[_0x294a('0x42')])if(_0x7bc674[_0x294a('0x2d')](_0x5181f4)){_0x59c27a=_0x7bc674['label'];break;}return _0x59c27a||(_0x59c27a=this[_0x294a('0x2f')][_0x294a('0x2e')](_0x5181f4[_0x294a('0x2a')])),_0x59c27a?_0x59c27a(_0x104f50):0x1!==_0x104f50?_0x104f50+'\x20'+_0x5181f4['name']+'s':''+_0x5181f4[_0x294a('0x2a')];}[_0x294a('0x22')](_0x58a326,_0x16251d){const _0x487af8=_0x16251d['getFirstRange']()[_0x294a('0x21')](),_0x18e3c0=_0x294a('0x49')==_0x16251d[_0x294a('0xc')]?_0x294a('0x7'):_0x294a('0x10');for(const _0x6786be of _0x487af8){const _0x1e27de=_0x6786be[_0x294a('0x1b')],_0x11d827=_0x58a326[_0x58a326[_0x294a('0xa')]-0x1];if(_0x1e27de['is'](_0x294a('0x3a')))_0x11d827&&_0x11d827['type'][_0x294a('0x3')](_0x294a('0x29'))>-0x1&&_0x58a326[_0x294a('0x1a')](),_0x11d827&&_0x294a('0x37')==_0x11d827[_0x294a('0xc')]?_0x11d827[_0x18e3c0]+=_0x1e27de[_0x294a('0x3e')]:_0x58a326['push']({'type':_0x294a('0x37'),'add':_0x294a('0x7')==_0x18e3c0?_0x1e27de[_0x294a('0x3e')]:'','remove':_0x294a('0x10')==_0x18e3c0?_0x1e27de[_0x294a('0x3e')]:''});else{if(this['_schema']['isObject'](_0x1e27de)){const _0x322998=_0x1e27de;if(_0x11d827&&_0x11d827[_0x294a('0xc')][_0x294a('0x3')](_0x294a('0x29'))>-0x1&&_0x58a326[_0x294a('0x1a')](),_0x294a('0x17')==_0x6786be[_0x294a('0xc')])continue;_0x11d827&&_0x11d827[_0x294a('0xc')]==_0x18e3c0+_0x294a('0x3b')&&_0x11d827['element'][_0x294a('0x2a')]==_0x322998['name']?_0x11d827[_0x294a('0x20')]++:_0x58a326[_0x294a('0x40')]({'type':_0x18e3c0+_0x294a('0x3b'),'element':_0x322998,'quantity':0x1}),_0x487af8[_0x294a('0x13')](_0x2bf97f=>!(_0x294a('0x17')==_0x2bf97f[_0x294a('0xc')]&&_0x2bf97f['item']==_0x1e27de));}else{if(this['_schema'][_0x294a('0x5')](_0x1e27de,_0x294a('0x39'))||_0x1e27de['is']('element','softBreak')){const _0x41bb05=_0x1e27de;if('add'==_0x18e3c0&&_0x294a('0x12')==_0x6786be[_0x294a('0xc')]||'remove'==_0x18e3c0&&'elementEnd'==_0x6786be['type'])continue;if(_0x11d827&&-0x1==_0x11d827['type']['indexOf'](_0x294a('0x29'))){_0x294a('0x37')==_0x11d827[_0x294a('0xc')]&&(_0x11d827[_0x18e3c0]+='\x0a');continue;}let _0x289dcb;if(_0x289dcb=_0x294a('0x7')==_0x18e3c0?_0x41bb05[_0x294a('0x6')]&&!this[_0x294a('0x2b')][_0x294a('0x2')](_0x41bb05[_0x294a('0x6')])?_0x41bb05[_0x294a('0x6')]:null:_0x41bb05['previousSibling']&&!this[_0x294a('0x2b')]['isObject'](_0x41bb05[_0x294a('0x43')])?_0x41bb05[_0x294a('0x43')]:null,_0x41bb05[_0x294a('0x4b')]||_0x289dcb&&_0x289dcb['isEmpty']){const _0x2d88c8=_0x289dcb&&_0x289dcb[_0x294a('0x4b')]?_0x289dcb:_0x41bb05;_0x11d827&&_0x11d827[_0x294a('0xc')]==_0x18e3c0+_0x294a('0x32')&&_0x11d827[_0x294a('0x4c')][_0x294a('0x2a')]==_0x2d88c8[_0x294a('0x2a')]?_0x11d827[_0x294a('0x20')]++:_0x58a326['push']({'type':_0x18e3c0+_0x294a('0x32'),'element':_0x2d88c8,'quantity':0x1});}else _0x58a326[_0x294a('0x40')]({'type':_0x18e3c0+_0x294a('0x29'),'element':_0x41bb05});}}}}}[_0x294a('0x3c')](_0x4819e3){const _0x5e7608=this[_0x294a('0x47')],_0x5ea518=[],_0x24efe4=[],_0x3a18fa=[];for(const _0x3f1c6d of _0x4819e3)switch(_0x3f1c6d[_0x294a('0xc')]){case'text':if(_0x3f1c6d[_0x294a('0x7')]=_0x3f1c6d['add']['replace'](/(\S)\u000A+(\S)/g,'$1\x20$2')[_0x294a('0x44')](/\u000A/g,''),_0x3f1c6d['remove']=_0x3f1c6d[_0x294a('0x10')][_0x294a('0x44')](/(\S)\u000A+(\S)/g,'$1\x20$2')[_0x294a('0x44')](/\u000A/g,''),''!=_0x3f1c6d[_0x294a('0x7')]&&''!=_0x3f1c6d['remove']){_0x5ea518[_0x294a('0x40')]({'type':'replace','content':_0x103aff(_0x5e7608,_0x294a('0x34'),['\x22'+_0x3f1c6d[_0x294a('0x10')]+'\x22','\x22'+_0x3f1c6d[_0x294a('0x7')]+'\x22'])});continue;}if(null!=_0x3f1c6d['add']['match'](/^ +$/)){_0x5ea518['push']({'type':_0x294a('0x49'),'content':_0x103aff(_0x5e7608,_0x294a('0x27'),_0x103aff(_0x5e7608,_0x294a('0x25'),_0x3f1c6d['add'][_0x294a('0xa')]))});continue;}if(null!=_0x3f1c6d['remove'][_0x294a('0x1e')](/^ +$/)){_0x5ea518[_0x294a('0x40')]({'type':_0x294a('0x38'),'content':_0x103aff(_0x5e7608,_0x294a('0x14'),_0x103aff(_0x5e7608,_0x294a('0x25'),_0x3f1c6d[_0x294a('0x10')][_0x294a('0xa')]))});continue;}if(''!=_0x3f1c6d[_0x294a('0x7')]){_0x5ea518['push']({'type':_0x294a('0x49'),'content':_0x103aff(_0x5e7608,_0x294a('0x27'),'\x22'+_0x3f1c6d['add']+'\x22')});continue;}_0x5ea518[_0x294a('0x40')]({'type':_0x294a('0x38'),'content':_0x103aff(_0x5e7608,_0x294a('0x14'),'\x22'+_0x3f1c6d[_0x294a('0x10')]+'\x22')});continue;case _0x294a('0x46'):case _0x294a('0xe'):_0x5ea518['push']({'type':'insertion','content':_0x103aff(_0x5e7608,_0x294a('0x27'),this[_0x294a('0x28')](_0x3f1c6d['element'],_0x3f1c6d[_0x294a('0x20')]))});continue;case'removeEmptyContainer':case'removeObject':_0x5ea518['push']({'type':_0x294a('0x38'),'content':_0x103aff(_0x5e7608,'*Remove:*\x20%0',this[_0x294a('0x28')](_0x3f1c6d[_0x294a('0x4c')],_0x3f1c6d[_0x294a('0x20')]))});continue;case _0x294a('0x41'):_0x5ea518[_0x294a('0x40')]({'type':'insertion','content':_0x103aff(_0x5e7608,_0x294a('0x36'),this['getItemLabel'](_0x3f1c6d[_0x294a('0x4c')],_0x3f1c6d[_0x294a('0x20')]))});continue;case _0x294a('0x45'):_0x5ea518[_0x294a('0x40')]({'type':'deletion','content':_0x103aff(_0x5e7608,_0x294a('0x16'),this['getItemLabel'](_0x3f1c6d[_0x294a('0x4c')],_0x3f1c6d[_0x294a('0x20')]))});continue;case _0x294a('0xd'):_0x24efe4['push'](_0x3f1c6d[_0x294a('0x3d')]);continue;case _0x294a('0x3f'):_0x3a18fa[_0x294a('0x40')](_0x3f1c6d[_0x294a('0x3d')]);continue;default:_0x5ea518[_0x294a('0x40')](_0x3f1c6d);}if(_0x24efe4[_0x294a('0xa')]){const _0x4cf3e8=_0x24efe4[_0x294a('0x1d')](_0x88ffb9=>this[_0x294a('0x18')][_0x294a('0x24')](_0x88ffb9)?this[_0x294a('0x18')][_0x294a('0x2e')](_0x88ffb9):_0x88ffb9)[_0x294a('0x2c')](',\x20');_0x5ea518[_0x294a('0x40')]({'type':_0x294a('0x11'),'content':_0x103aff(this['_locale'],'*Set\x20format:*\x20%0',_0x4cf3e8)});}if(_0x3a18fa[_0x294a('0xa')]){const _0x51ae8b=_0x3a18fa[_0x294a('0x1d')](_0x20a381=>this[_0x294a('0x18')][_0x294a('0x24')](_0x20a381)?this['_attributeLabels']['get'](_0x20a381):_0x20a381)[_0x294a('0x2c')](',\x20');_0x5ea518[_0x294a('0x40')]({'type':_0x294a('0x11'),'content':_0x103aff(this[_0x294a('0x47')],'*Remove\x20format:*\x20%0',_0x51ae8b)});}return _0x5ea518;}['_handleCustomCallbackDescription'](_0x37dff7){for(const _0x5f1b27 of this[_0x294a('0x4')]){const _0x562a7e=_0x5f1b27(_0x37dff7);if(_0x562a7e&&_0x294a('0xc')in _0x562a7e)return _0x562a7e;}}[_0x294a('0x31')](_0x4756af,_0x101302){const _0x27763a=_0x101302['data'],_0x9283c9=void 0x0===_0x27763a[_0x294a('0x23')]?_0x294a('0x3f'):_0x294a('0xd');_0x4756af[_0x294a('0x40')]({'type':_0x9283c9,'key':_0x27763a[_0x294a('0x3d')]});}[_0x294a('0x48')](_0x15fee5,_0x4e97c0){_0x15fee5[_0x294a('0x40')]({'type':_0x294a('0x11'),'content':_0x103aff(this['_locale'],_0x294a('0x35'),this[_0x294a('0x28')](_0x4e97c0[_0x294a('0x8')]()[_0x294a('0x1f')][_0x294a('0x15')],0x1))});}[_0x294a('0xf')](_0x1b2297,_0x167b9b,_0x1de7ba){if(this[_0x294a('0x22')](_0x1b2297,_0x167b9b),_0x1de7ba&&_0x1de7ba[_0x294a('0x8')]()&&!_0x167b9b['getFirstRange']()[_0x294a('0x26')]['isEqual'](_0x1de7ba['getFirstRange']()[_0x294a('0x1f')])){const _0x35f129=_0x1b2297[_0x1b2297[_0x294a('0xa')]-0x1],_0x38d99c=_0x294a('0x49')==_0x167b9b[_0x294a('0xc')]?_0x294a('0x7'):_0x294a('0x10');_0x35f129&&_0x294a('0x37')==_0x35f129[_0x294a('0xc')]&&(_0x35f129[_0x38d99c]+='\x0a');}}}
23
+ const _0x26c2=['previousSibling','_handleRenameSuggestionDescription','_addDescriptionItems','*Set\x20format:*\x20%0','isEmpty','key','name','nextSibling','format','_handleInsertRemoveSuggestionDescription','addFormat','_itemLabels','subType','text','isEqual','registerAttributeLabel','isInContent','deletion','_itemLabelsCallbacks','has','registerDescriptionCallback','removeContainer','removeEmptyContainer','add','indexOf','end','_schema','removeFormat','item','ELEMENT_SPACE','start','REPLACE_TEXT','*Merge:*\x20%0','replace','getFirstRange','label','elementEnd','getWalker','_customCallbacks','*Insert:*\x20%0','join','pop','Container','*Split:*\x20%0','isObject','checkChild','insertion','_attributeLabels','_resolveDescriptionItems','$textProxy','quantity','length','_locale','match','set','push','getItemLabel','get','_handleCustomCallbackDescription','elementStart','normal','remove','Object','*Change\x20to:*\x20%0','newValue','_handleAttributeSuggestionDescription','softBreak','$text','data','element','*Remove:*\x20%0','type','nodeAfter','$1\x20$2'];(function(_0x4f22a2,_0x26c2db){const _0x3574e4=function(_0x4bb140){while(--_0x4bb140){_0x4f22a2['push'](_0x4f22a2['shift']());}};_0x3574e4(++_0x26c2db);}(_0x26c2,0x1b0));const _0x3574=function(_0x4f22a2,_0x26c2db){_0x4f22a2=_0x4f22a2-0x0;let _0x3574e4=_0x26c2[_0x4f22a2];return _0x3574e4;};import{getTranslation as _0x31a5a6}from'./utils/common-translations';import{priorities as _0x11de8c,insertToPriorityArray as _0xfe934f}from'ckeditor5/src/utils';import{renameAttributeKey as _0x168e2e}from'./trackchangesediting';export default class f{constructor(_0x2c387d,_0xe3cb6c){this[_0x3574('0x32')]=[],this[_0x3574('0x17')]=new Map(),this[_0x3574('0x1e')]=[],this[_0x3574('0x3b')]=new Map(),this[_0x3574('0x26')]=_0x2c387d,this[_0x3574('0x40')]=_0xe3cb6c;}['getDescriptions'](_0x4cac9a){const _0x5b9cc6=[],_0x27b4b7=new Set(),_0x599dd9=new Set();for(let _0x378953=0x0;_0x378953<_0x4cac9a[_0x3574('0x3f')];_0x378953++){const _0x40ad7d=_0x4cac9a[_0x378953];if(!_0x40ad7d[_0x3574('0x1c')])continue;const _0x3da323=this['_handleCustomCallbackDescription'](_0x40ad7d);if(_0x3da323){if(null!=_0x40ad7d['subType']){if(_0x27b4b7['has'](_0x40ad7d[_0x3574('0x18')]))continue;_0x27b4b7['add'](_0x40ad7d[_0x3574('0x18')]);}_0x5b9cc6['push'](_0x3da323);}else{if('attribute'!=_0x40ad7d['type'])_0x3574('0x3a')!=_0x40ad7d[_0x3574('0x9')]&&_0x3574('0x1d')!=_0x40ad7d[_0x3574('0x9')]||this[_0x3574('0x15')](_0x5b9cc6,_0x40ad7d,_0x4cac9a[_0x378953+0x1]);else{const _0x46a893=_0x40ad7d[_0x3574('0x6')][_0x3574('0x11')];if(_0x599dd9[_0x3574('0x1f')](_0x46a893))continue;_0x599dd9[_0x3574('0x23')](_0x40ad7d[_0x3574('0x6')][_0x3574('0x11')]),_0x46a893==_0x168e2e?this['_handleRenameSuggestionDescription'](_0x5b9cc6,_0x40ad7d):this[_0x3574('0x3')](_0x5b9cc6,_0x40ad7d);}}}return this[_0x3574('0x3c')](_0x5b9cc6);}[_0x3574('0x20')](_0x341376){this[_0x3574('0x32')][_0x3574('0x43')](_0x341376);}['registerElementLabel'](_0x500022,_0x2de8d6,_0x2e972e=_0x11de8c[_0x3574('0x48')]){'function'==typeof _0x500022?_0xfe934f(this[_0x3574('0x1e')],{'matchingCallback':_0x500022,'label':_0x2de8d6,'priority':_0x2e972e}):this[_0x3574('0x17')][_0x3574('0x42')](_0x500022,_0x2de8d6);}[_0x3574('0x1b')](_0x5bde2d,_0x5d924d){this['_attributeLabels'][_0x3574('0x42')](_0x5bde2d,_0x5d924d);}[_0x3574('0x44')](_0x427ce4,_0x38063f=0x1){let _0x400452;for(const _0x2a2610 of this[_0x3574('0x1e')])if(_0x2a2610['matchingCallback'](_0x427ce4)){_0x400452=_0x2a2610[_0x3574('0x2f')];break;}return _0x400452||(_0x400452=this['_itemLabels']['get'](_0x427ce4[_0x3574('0x12')])),_0x400452?_0x400452(_0x38063f):0x1!==_0x38063f?_0x38063f+'\x20'+_0x427ce4[_0x3574('0x12')]+'s':''+_0x427ce4[_0x3574('0x12')];}['_addDescriptionItems'](_0x563dba,_0x47e857){const _0x539477=_0x47e857[_0x3574('0x2e')]()[_0x3574('0x31')](),_0xce558b=_0x3574('0x3a')==_0x47e857[_0x3574('0x9')]?_0x3574('0x23'):_0x3574('0x49');for(const _0x15f87c of _0x539477){const _0x4b2159=_0x15f87c['item'],_0x3b5f16=_0x563dba[_0x563dba[_0x3574('0x3f')]-0x1];if(_0x4b2159['is'](_0x3574('0x3d')))_0x3b5f16&&_0x3b5f16[_0x3574('0x9')][_0x3574('0x24')]('Container')>-0x1&&_0x563dba['pop'](),_0x3b5f16&&'text'==_0x3b5f16[_0x3574('0x9')]?_0x3b5f16[_0xce558b]+=_0x4b2159['data']:_0x563dba[_0x3574('0x43')]({'type':_0x3574('0x19'),'add':'add'==_0xce558b?_0x4b2159[_0x3574('0x6')]:'','remove':_0x3574('0x49')==_0xce558b?_0x4b2159['data']:''});else{if(this['_schema'][_0x3574('0x38')](_0x4b2159)){const _0x2f1558=_0x4b2159;if(_0x3b5f16&&_0x3b5f16[_0x3574('0x9')][_0x3574('0x24')]('Container')>-0x1&&_0x563dba[_0x3574('0x35')](),'elementEnd'==_0x15f87c[_0x3574('0x9')])continue;_0x3b5f16&&_0x3b5f16[_0x3574('0x9')]==_0xce558b+_0x3574('0x0')&&_0x3b5f16[_0x3574('0x7')]['name']==_0x2f1558['name']?_0x3b5f16[_0x3574('0x3e')]++:_0x563dba[_0x3574('0x43')]({'type':_0xce558b+'Object','element':_0x2f1558,'quantity':0x1}),_0x539477['skip'](_0x218655=>!(_0x3574('0x30')==_0x218655[_0x3574('0x9')]&&_0x218655[_0x3574('0x28')]==_0x4b2159));}else{if(this[_0x3574('0x26')][_0x3574('0x39')](_0x4b2159,_0x3574('0x5'))||_0x4b2159['is']('element',_0x3574('0x4'))){const _0x1a6da6=_0x4b2159;if(_0x3574('0x23')==_0xce558b&&_0x3574('0x47')==_0x15f87c[_0x3574('0x9')]||_0x3574('0x49')==_0xce558b&&_0x3574('0x30')==_0x15f87c[_0x3574('0x9')])continue;if(_0x3b5f16&&-0x1==_0x3b5f16[_0x3574('0x9')][_0x3574('0x24')](_0x3574('0x36'))){_0x3574('0x19')==_0x3b5f16[_0x3574('0x9')]&&(_0x3b5f16[_0xce558b]+='\x0a');continue;}let _0x160d1a;if(_0x160d1a=_0x3574('0x23')==_0xce558b?_0x1a6da6['nextSibling']&&!this[_0x3574('0x26')]['isObject'](_0x1a6da6[_0x3574('0x13')])?_0x1a6da6[_0x3574('0x13')]:null:_0x1a6da6[_0x3574('0xc')]&&!this[_0x3574('0x26')][_0x3574('0x38')](_0x1a6da6[_0x3574('0xc')])?_0x1a6da6[_0x3574('0xc')]:null,_0x1a6da6['isEmpty']||_0x160d1a&&_0x160d1a[_0x3574('0x10')]){const _0x1576d1=_0x160d1a&&_0x160d1a['isEmpty']?_0x160d1a:_0x1a6da6;_0x3b5f16&&_0x3b5f16['type']==_0xce558b+'EmptyContainer'&&_0x3b5f16[_0x3574('0x7')][_0x3574('0x12')]==_0x1576d1['name']?_0x3b5f16['quantity']++:_0x563dba[_0x3574('0x43')]({'type':_0xce558b+'EmptyContainer','element':_0x1576d1,'quantity':0x1});}else _0x563dba[_0x3574('0x43')]({'type':_0xce558b+'Container','element':_0x1a6da6});}}}}}['_resolveDescriptionItems'](_0x4255be){const _0xa00724=this['_locale'],_0x407f54=[],_0x2ef046=[],_0x57f4ab=[];for(const _0x4b917c of _0x4255be)switch(_0x4b917c['type']){case _0x3574('0x19'):if(_0x4b917c[_0x3574('0x23')]=_0x4b917c['add'][_0x3574('0x2d')](/(\S)\u000A+(\S)/g,_0x3574('0xb'))[_0x3574('0x2d')](/\u000A/g,''),_0x4b917c['remove']=_0x4b917c['remove']['replace'](/(\S)\u000A+(\S)/g,'$1\x20$2')[_0x3574('0x2d')](/\u000A/g,''),''!=_0x4b917c[_0x3574('0x23')]&&''!=_0x4b917c[_0x3574('0x49')]){_0x407f54[_0x3574('0x43')]({'type':_0x3574('0x2d'),'content':_0x31a5a6(_0xa00724,_0x3574('0x2b'),['\x22'+_0x4b917c[_0x3574('0x49')]+'\x22','\x22'+_0x4b917c['add']+'\x22'])});continue;}if(null!=_0x4b917c[_0x3574('0x23')][_0x3574('0x41')](/^ +$/)){_0x407f54[_0x3574('0x43')]({'type':_0x3574('0x3a'),'content':_0x31a5a6(_0xa00724,_0x3574('0x33'),_0x31a5a6(_0xa00724,_0x3574('0x29'),_0x4b917c[_0x3574('0x23')][_0x3574('0x3f')]))});continue;}if(null!=_0x4b917c[_0x3574('0x49')]['match'](/^ +$/)){_0x407f54[_0x3574('0x43')]({'type':_0x3574('0x1d'),'content':_0x31a5a6(_0xa00724,_0x3574('0x8'),_0x31a5a6(_0xa00724,_0x3574('0x29'),_0x4b917c['remove'][_0x3574('0x3f')]))});continue;}if(''!=_0x4b917c[_0x3574('0x23')]){_0x407f54[_0x3574('0x43')]({'type':_0x3574('0x3a'),'content':_0x31a5a6(_0xa00724,'*Insert:*\x20%0','\x22'+_0x4b917c[_0x3574('0x23')]+'\x22')});continue;}_0x407f54[_0x3574('0x43')]({'type':'deletion','content':_0x31a5a6(_0xa00724,_0x3574('0x8'),'\x22'+_0x4b917c['remove']+'\x22')});continue;case'addEmptyContainer':case'addObject':_0x407f54['push']({'type':_0x3574('0x3a'),'content':_0x31a5a6(_0xa00724,_0x3574('0x33'),this['getItemLabel'](_0x4b917c[_0x3574('0x7')],_0x4b917c['quantity']))});continue;case _0x3574('0x22'):case'removeObject':_0x407f54[_0x3574('0x43')]({'type':_0x3574('0x1d'),'content':_0x31a5a6(_0xa00724,_0x3574('0x8'),this[_0x3574('0x44')](_0x4b917c[_0x3574('0x7')],_0x4b917c[_0x3574('0x3e')]))});continue;case'addContainer':_0x407f54[_0x3574('0x43')]({'type':_0x3574('0x3a'),'content':_0x31a5a6(_0xa00724,_0x3574('0x37'),this[_0x3574('0x44')](_0x4b917c[_0x3574('0x7')],_0x4b917c['quantity']))});continue;case _0x3574('0x21'):_0x407f54[_0x3574('0x43')]({'type':_0x3574('0x1d'),'content':_0x31a5a6(_0xa00724,_0x3574('0x2c'),this[_0x3574('0x44')](_0x4b917c[_0x3574('0x7')],_0x4b917c[_0x3574('0x3e')]))});continue;case _0x3574('0x16'):_0x2ef046[_0x3574('0x43')](_0x4b917c[_0x3574('0x11')]);continue;case _0x3574('0x27'):_0x57f4ab[_0x3574('0x43')](_0x4b917c['key']);continue;default:_0x407f54[_0x3574('0x43')](_0x4b917c);}if(_0x2ef046[_0x3574('0x3f')]){const _0xc33755=_0x2ef046['map'](_0x319f6a=>this[_0x3574('0x3b')][_0x3574('0x1f')](_0x319f6a)?this[_0x3574('0x3b')][_0x3574('0x45')](_0x319f6a):_0x319f6a)[_0x3574('0x34')](',\x20');_0x407f54['push']({'type':_0x3574('0x14'),'content':_0x31a5a6(this[_0x3574('0x40')],_0x3574('0xf'),_0xc33755)});}if(_0x57f4ab[_0x3574('0x3f')]){const _0x257b00=_0x57f4ab['map'](_0xfa61d6=>this[_0x3574('0x3b')][_0x3574('0x1f')](_0xfa61d6)?this[_0x3574('0x3b')][_0x3574('0x45')](_0xfa61d6):_0xfa61d6)[_0x3574('0x34')](',\x20');_0x407f54[_0x3574('0x43')]({'type':_0x3574('0x14'),'content':_0x31a5a6(this[_0x3574('0x40')],'*Remove\x20format:*\x20%0',_0x257b00)});}return _0x407f54;}[_0x3574('0x46')](_0x20baec){for(const _0x294cda of this[_0x3574('0x32')]){const _0x1ed0c3=_0x294cda(_0x20baec);if(_0x1ed0c3&&'type'in _0x1ed0c3)return _0x1ed0c3;}}[_0x3574('0x3')](_0x2cdb1e,_0x9ce727){const _0x2b2b98=_0x9ce727[_0x3574('0x6')],_0xf3bbfd=void 0x0===_0x2b2b98[_0x3574('0x2')]?'removeFormat':_0x3574('0x16');_0x2cdb1e[_0x3574('0x43')]({'type':_0xf3bbfd,'key':_0x2b2b98[_0x3574('0x11')]});}[_0x3574('0xd')](_0x43c5e0,_0x23d5bf){_0x43c5e0['push']({'type':_0x3574('0x14'),'content':_0x31a5a6(this['_locale'],_0x3574('0x1'),this[_0x3574('0x44')](_0x23d5bf[_0x3574('0x2e')]()[_0x3574('0x2a')][_0x3574('0xa')],0x1))});}['_handleInsertRemoveSuggestionDescription'](_0x8c3738,_0x4c8f08,_0x4b6118){if(this[_0x3574('0xe')](_0x8c3738,_0x4c8f08),_0x4b6118&&_0x4b6118[_0x3574('0x2e')]()&&!_0x4c8f08['getFirstRange']()[_0x3574('0x25')][_0x3574('0x1a')](_0x4b6118[_0x3574('0x2e')]()[_0x3574('0x2a')])){const _0x2e5692=_0x8c3738[_0x8c3738[_0x3574('0x3f')]-0x1],_0x5a6ae6=_0x3574('0x3a')==_0x4c8f08['type']?_0x3574('0x23'):'remove';_0x2e5692&&'text'==_0x2e5692['type']&&(_0x2e5692[_0x5a6ae6]+='\x0a');}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x5a28=['TrackChanges','editor','adapter','getSuggestion','addSuggestionData','plugins','addSuggestion','requires','get','Comments','getSuggestions','pluginName'];(function(_0x5175e2,_0x5a2842){var _0x3ec0a9=function(_0x25c58f){while(--_0x25c58f){_0x5175e2['push'](_0x5175e2['shift']());}};_0x3ec0a9(++_0x5a2842);}(_0x5a28,0x1ba));var _0x3ec0=function(_0x5175e2,_0x5a2842){_0x5175e2=_0x5175e2-0x0;var _0x3ec0a9=_0x5a28[_0x5175e2];return _0x3ec0a9;};import{Plugin as _0x51e767}from'ckeditor5/src/core';import _0xe72755 from'./trackchangesui';import _0x49c8c9 from'./trackchangesediting';import'ckeditor5-collaboration/src/collaboration-core';export default class k extends _0x51e767{static get[_0x3ec0('0x9')](){return[_0x49c8c9,_0xe72755,_0x3ec0('0xb')];}static get[_0x3ec0('0x1')](){return _0x3ec0('0x2');}set[_0x3ec0('0x4')](_0x34aad5){this['editor'][_0x3ec0('0x7')]['get'](_0x49c8c9)[_0x3ec0('0x4')]=_0x34aad5;}get[_0x3ec0('0x4')](){return this[_0x3ec0('0x3')][_0x3ec0('0x7')][_0x3ec0('0xa')](_0x49c8c9)['adapter'];}[_0x3ec0('0x8')](_0x1f776e){return this[_0x3ec0('0x3')][_0x3ec0('0x7')][_0x3ec0('0xa')](_0x49c8c9)[_0x3ec0('0x6')](_0x1f776e);}['getSuggestions']({skipNotAttached:_0x1b3fa1=!0x1,toJSON:_0x33cdda=!0x1}={}){return this[_0x3ec0('0x3')][_0x3ec0('0x7')][_0x3ec0('0xa')](_0x49c8c9)[_0x3ec0('0x0')]({'skipNotAttached':_0x1b3fa1,'toJSON':_0x33cdda});}[_0x3ec0('0x5')](_0x19794f){return this[_0x3ec0('0x3')][_0x3ec0('0x7')][_0x3ec0('0xa')](_0x49c8c9)['getSuggestion'](_0x19794f);}}
23
+ var _0x2482=['Comments','requires','editor','adapter','get','pluginName','addSuggestionData','TrackChanges','plugins','getSuggestion','addSuggestion','getSuggestions'];(function(_0x84117b,_0x24828d){var _0x3cb511=function(_0x70b32d){while(--_0x70b32d){_0x84117b['push'](_0x84117b['shift']());}};_0x3cb511(++_0x24828d);}(_0x2482,0x86));var _0x3cb5=function(_0x84117b,_0x24828d){_0x84117b=_0x84117b-0x0;var _0x3cb511=_0x2482[_0x84117b];return _0x3cb511;};import{Plugin as _0x7bed41}from'ckeditor5/src/core';import _0xf94b49 from'./trackchangesui';import _0x338ab7 from'./trackchangesediting';import'ckeditor5-collaboration/src/collaboration-core';export default class k extends _0x7bed41{static get[_0x3cb5('0xb')](){return[_0x338ab7,_0xf94b49,_0x3cb5('0xa')];}static get[_0x3cb5('0x3')](){return _0x3cb5('0x5');}set[_0x3cb5('0x1')](_0xdf8cb){this[_0x3cb5('0x0')]['plugins']['get'](_0x338ab7)[_0x3cb5('0x1')]=_0xdf8cb;}get[_0x3cb5('0x1')](){return this[_0x3cb5('0x0')][_0x3cb5('0x6')][_0x3cb5('0x2')](_0x338ab7)[_0x3cb5('0x1')];}[_0x3cb5('0x8')](_0x361472){return this['editor'][_0x3cb5('0x6')][_0x3cb5('0x2')](_0x338ab7)[_0x3cb5('0x4')](_0x361472);}[_0x3cb5('0x9')]({skipNotAttached:_0x593bee=!0x1,toJSON:_0x23601e=!0x1}={}){return this[_0x3cb5('0x0')][_0x3cb5('0x6')]['get'](_0x338ab7)[_0x3cb5('0x9')]({'skipNotAttached':_0x593bee,'toJSON':_0x23601e});}[_0x3cb5('0x7')](_0x12476d){return this['editor']['plugins'][_0x3cb5('0x2')](_0x338ab7)[_0x3cb5('0x7')](_0x12476d);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2f0d=['addUser','editor','trackChangesData','track-changes-data-invalid-editor-creator','TrackChangesData','TrackChangesEditing','init','appendChild','function','define','Pagination','model','document','name','trackChangesData.editorCreator','getRootsAttributes','TrackChangesDataGetter','_adapter','createElement','discardAllSuggestions','getFullData','plugins','pluginName','result','getRootNames','map','constructor','config','requires','rootsAttributes','getDataWithAcceptedSuggestions','CommentsRepository','getUser','editorCreator','create','useAnonymousUser','reduce','addSuggestionData','push','getSuggestions','data','set','get','users','end','div'];(function(_0x54b896,_0x2f0d97){const _0x593973=function(_0x5b8361){while(--_0x5b8361){_0x54b896['push'](_0x54b896['shift']());}};_0x593973(++_0x2f0d97);}(_0x2f0d,0x1c8));const _0x5939=function(_0x54b896,_0x2f0d97){_0x54b896=_0x54b896-0x0;let _0x593973=_0x2f0d[_0x54b896];return _0x593973;};import{Plugin as _0x4dcdc6}from'ckeditor5/src/core';import{CKEditorError as _0x1d6016}from'ckeditor5/src/utils';import _0xae78ff from'./trackchangesediting';import{sanitizeEditorConfig as _0x42ff6b}from'ckeditor5-collaboration/src/collaboration-core';const T=[_0x5939('0xe')];export default class P extends _0x4dcdc6{static get[_0x5939('0x20')](){return[_0xae78ff];}static get[_0x5939('0x1a')](){return _0x5939('0x8');}[_0x5939('0xa')](){const _0x3b2d32=this['editor'];if(_0x3b2d32['config'][_0x5939('0xd')](_0x5939('0x12'),_0x359a5f=>{const _0xe94a3a=_0x3b2d32[_0x5939('0xf')][_0x5939('0x10')][_0x5939('0x1c')]()['reduce']((_0x567a09,_0x16b70d)=>(_0x567a09[_0x16b70d]='',_0x567a09),{});return _0x3b2d32[_0x5939('0x1e')][_0x5939('0x26')](_0xe94a3a,_0x359a5f);}),_0x5939('0xc')!=typeof _0x3b2d32[_0x5939('0x1f')][_0x5939('0x0')](_0x5939('0x6'))[_0x5939('0x25')])throw new _0x1d6016(_0x5939('0x7'));}[_0x5939('0x22')](_0x303c3a){return N(this['editor'],!0x0,_0x303c3a);}['getDataWithDiscardedSuggestions'](_0x51345a){return N(this['editor'],!0x1,_0x51345a);}}class D extends _0x4dcdc6{static get[_0x5939('0x1a')](){return _0x5939('0x14');}constructor(_0x5e1adc){super(_0x5e1adc),this[_0x5939('0x1b')]=_0x5939('0x2');}[_0x5939('0xa')](){this[_0x5939('0x5')][_0x5939('0x19')]['get'](_0x5939('0x23'))[_0x5939('0x15')]={'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[_0x5939('0x5')]['plugins'][_0x5939('0x0')](_0x5939('0x9'))[_0x5939('0x15')]=null;}}function v(_0x1f801f){return void 0x0!==_0x1f801f[_0x5939('0x13')];}async function N(_0x547128,_0x34e629,_0x5e257f){const _0x287849=_0x42ff6b(_0x547128,T);_0x287849[_0x5939('0x19')][_0x5939('0x2a')](_0xae78ff,D),_0x287849[_0x5939('0x21')]=v(_0x547128)?_0x547128['getRootsAttributes']():void 0x0;const _0x1f41f0=document['createDocumentFragment'](),_0x585239=_0x547128['config'][_0x5939('0x0')](_0x5939('0x6'))[_0x5939('0x25')],_0x101195=await _0x585239(_0x287849,()=>function(_0x59e6b5){const _0x49176c=document[_0x5939('0x16')](_0x5939('0x3'));return _0x59e6b5[_0x5939('0xb')](_0x49176c),_0x49176c;}(_0x1f41f0));!function(_0x529798,_0x1f7dd8){const _0x5e1385=_0x529798[_0x5939('0xf')][_0x5939('0x10')][_0x5939('0x1c')]()[_0x5939('0x28')]((_0x16b7b9,_0x28cea4)=>(_0x16b7b9[_0x28cea4]=_0x529798['data'][_0x5939('0x0')]({'rootName':_0x28cea4}),_0x16b7b9),{}),_0x6d4fd9=_0x529798['plugins'][_0x5939('0x0')]('Users')[_0x5939('0x1')][_0x5939('0x1d')](_0x38a998=>({'id':_0x38a998['id'],'name':_0x38a998[_0x5939('0x11')]})),_0x4392ce=_0x529798['plugins'][_0x5939('0x0')](_0x5939('0x9'))[_0x5939('0x2b')]({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x1a91ef=_0x1f7dd8['plugins'][_0x5939('0x0')]('Users'),_0x529f5f=_0x1f7dd8['plugins'][_0x5939('0x0')]('TrackChangesEditing');for(const _0x381dbf of _0x6d4fd9)_0x1a91ef[_0x5939('0x24')](_0x381dbf['id'])||_0x1a91ef[_0x5939('0x4')](_0x381dbf);_0x1a91ef['me']||_0x1a91ef[_0x5939('0x27')]();for(const _0x12f9cc of _0x4392ce)_0x529f5f[_0x5939('0x29')](_0x12f9cc);_0x1f7dd8[_0x5939('0x2c')][_0x5939('0x2d')](_0x5e1385);}(_0x547128,_0x101195),_0x101195['execute'](_0x34e629?'acceptAllSuggestions':_0x5939('0x17'));const _0x165187=v(_0x101195)?_0x101195[_0x5939('0x18')](_0x5e257f):_0x101195[_0x5939('0x2c')]['get'](_0x5e257f);return await _0x101195['destroy'](),_0x165187;}
23
+ const _0x2bac=['useAnonymousUser','createElement','getDataWithDiscardedSuggestions','trackChangesData.editorCreator','rootsAttributes','discardAllSuggestions','model','CommentsRepository','config','getDataWithAcceptedSuggestions','TrackChangesEditing','map','result','TrackChangesData','Pagination','users','name','get','addSuggestionData','editor','execute','TrackChangesDataGetter','pluginName','getRootNames','create','function','getRootsAttributes','data','constructor','document','requires','define','track-changes-data-invalid-editor-creator','Users','editorCreator','trackChangesData','reduce','getSuggestions','plugins','acceptAllSuggestions','_adapter'];(function(_0x2fee2a,_0x2bacd2){const _0xf041f3=function(_0x499bf9){while(--_0x499bf9){_0x2fee2a['push'](_0x2fee2a['shift']());}};_0xf041f3(++_0x2bacd2);}(_0x2bac,0x12d));const _0xf041=function(_0x2fee2a,_0x2bacd2){_0x2fee2a=_0x2fee2a-0x0;let _0xf041f3=_0x2bac[_0x2fee2a];return _0xf041f3;};import{Plugin as _0x34105f}from'ckeditor5/src/core';import{CKEditorError as _0x516e29}from'ckeditor5/src/utils';import _0x5cd17b from'./trackchangesediting';import{sanitizeEditorConfig as _0x1a1b74}from'ckeditor5-collaboration/src/collaboration-core';const T=[_0xf041('0x0')];export default class P extends _0x34105f{static get[_0xf041('0x10')](){return[_0x5cd17b];}static get[_0xf041('0x8')](){return _0xf041('0x28');}['init'](){const _0x21da90=this['editor'];if(_0x21da90[_0xf041('0x23')][_0xf041('0x11')](_0xf041('0x1e'),_0x4afc2d=>{const _0x47e15b=_0x21da90[_0xf041('0x21')][_0xf041('0xf')][_0xf041('0x9')]()[_0xf041('0x16')]((_0x457fdc,_0x20ab97)=>(_0x457fdc[_0x20ab97]='',_0x457fdc),{});return _0x21da90[_0xf041('0xe')][_0xf041('0xa')](_0x47e15b,_0x4afc2d);}),_0xf041('0xb')!=typeof _0x21da90[_0xf041('0x23')][_0xf041('0x3')]('trackChangesData')[_0xf041('0x14')])throw new _0x516e29(_0xf041('0x12'));}[_0xf041('0x24')](_0x5eb25e){return N(this[_0xf041('0x5')],!0x0,_0x5eb25e);}[_0xf041('0x1d')](_0x380469){return N(this['editor'],!0x1,_0x380469);}}class D extends _0x34105f{static get['pluginName'](){return _0xf041('0x7');}constructor(_0x2493b0){super(_0x2493b0),this[_0xf041('0x27')]='end';}['init'](){this[_0xf041('0x5')][_0xf041('0x18')]['get'](_0xf041('0x22'))['_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[_0xf041('0x5')][_0xf041('0x18')]['get']('TrackChangesEditing')[_0xf041('0x1a')]=null;}}function v(_0x582be0){return void 0x0!==_0x582be0[_0xf041('0xc')];}async function N(_0x21d755,_0x50105f,_0x4d0348){const _0x13b61c=_0x1a1b74(_0x21d755,T);_0x13b61c[_0xf041('0x18')]['push'](_0x5cd17b,D),_0x13b61c[_0xf041('0x1f')]=v(_0x21d755)?_0x21d755[_0xf041('0xc')]():void 0x0;const _0x3194af=document['createDocumentFragment'](),_0x36da87=_0x21d755[_0xf041('0x23')][_0xf041('0x3')](_0xf041('0x15'))[_0xf041('0x14')],_0x16cd23=await _0x36da87(_0x13b61c,()=>function(_0xda8966){const _0xa67504=document[_0xf041('0x1c')]('div');return _0xda8966['appendChild'](_0xa67504),_0xa67504;}(_0x3194af));!function(_0x18029e,_0x5c4c2f){const _0x137e4c=_0x18029e['model'][_0xf041('0xf')][_0xf041('0x9')]()[_0xf041('0x16')]((_0xe50793,_0x10f6a7)=>(_0xe50793[_0x10f6a7]=_0x18029e[_0xf041('0xd')][_0xf041('0x3')]({'rootName':_0x10f6a7}),_0xe50793),{}),_0x4b767c=_0x18029e['plugins']['get'](_0xf041('0x13'))[_0xf041('0x1')][_0xf041('0x26')](_0x421279=>({'id':_0x421279['id'],'name':_0x421279[_0xf041('0x2')]})),_0x427417=_0x18029e[_0xf041('0x18')][_0xf041('0x3')](_0xf041('0x25'))[_0xf041('0x17')]({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x1bce8f=_0x5c4c2f[_0xf041('0x18')][_0xf041('0x3')](_0xf041('0x13')),_0x181c91=_0x5c4c2f['plugins'][_0xf041('0x3')](_0xf041('0x25'));for(const _0x9da2a7 of _0x4b767c)_0x1bce8f['getUser'](_0x9da2a7['id'])||_0x1bce8f['addUser'](_0x9da2a7);_0x1bce8f['me']||_0x1bce8f[_0xf041('0x1b')]();for(const _0x41e5c6 of _0x427417)_0x181c91[_0xf041('0x4')](_0x41e5c6);_0x5c4c2f[_0xf041('0xd')]['set'](_0x137e4c);}(_0x21d755,_0x16cd23),_0x16cd23[_0xf041('0x6')](_0x50105f?_0xf041('0x19'):_0xf041('0x20'));const _0x229804=v(_0x16cd23)?_0x16cd23['getFullData'](_0x4d0348):_0x16cd23[_0xf041('0xd')][_0xf041('0x3')](_0x4d0348);return await _0x16cd23['destroy'](),_0x229804;}