@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20240104.0 → 0.0.0-nightly-20240106.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 (67) 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/casechange.js +1 -1
  13. package/src/integrations/ckbox.js +1 -1
  14. package/src/integrations/codeblock.js +1 -1
  15. package/src/integrations/comments.js +1 -1
  16. package/src/integrations/deletecommand.js +1 -1
  17. package/src/integrations/documentlist.js +1 -1
  18. package/src/integrations/documentlistproperties.js +1 -1
  19. package/src/integrations/entercommand.js +1 -1
  20. package/src/integrations/findandreplace.js +1 -1
  21. package/src/integrations/font.js +1 -1
  22. package/src/integrations/formatpainter.js +1 -1
  23. package/src/integrations/heading.js +1 -1
  24. package/src/integrations/highlight.js +1 -1
  25. package/src/integrations/horizontalline.js +1 -1
  26. package/src/integrations/htmlembed.js +1 -1
  27. package/src/integrations/image.js +1 -1
  28. package/src/integrations/imagereplace.js +1 -1
  29. package/src/integrations/imagestyle.js +1 -1
  30. package/src/integrations/importword.js +1 -1
  31. package/src/integrations/indent.js +1 -1
  32. package/src/integrations/inputcommand.js +1 -1
  33. package/src/integrations/link.js +1 -1
  34. package/src/integrations/list.js +1 -1
  35. package/src/integrations/listproperties.js +1 -1
  36. package/src/integrations/mediaembed.js +1 -1
  37. package/src/integrations/mention.js +1 -1
  38. package/src/integrations/pagebreak.js +1 -1
  39. package/src/integrations/paragraph.js +1 -1
  40. package/src/integrations/removeformat.js +1 -1
  41. package/src/integrations/restrictededitingmode.js +1 -1
  42. package/src/integrations/shiftentercommand.js +1 -1
  43. package/src/integrations/standardeditingmode.js +1 -1
  44. package/src/integrations/style.js +1 -1
  45. package/src/integrations/table.js +1 -1
  46. package/src/integrations/tablecaption.js +1 -1
  47. package/src/integrations/tableclipboard.js +1 -1
  48. package/src/integrations/tablecolumnresize.js +1 -1
  49. package/src/integrations/tableheadings.js +1 -1
  50. package/src/integrations/tablemergesplit.js +1 -1
  51. package/src/integrations/tableofcontents.js +1 -1
  52. package/src/integrations/tableproperties.js +1 -1
  53. package/src/integrations/template.js +1 -1
  54. package/src/integrations/title.js +1 -1
  55. package/src/integrations/undo.js +1 -1
  56. package/src/integrations/utils.js +1 -1
  57. package/src/suggestion.js +1 -1
  58. package/src/suggestiondescriptionfactory.js +1 -1
  59. package/src/trackchanges.js +1 -1
  60. package/src/trackchangesdata.js +1 -1
  61. package/src/trackchangesediting.js +1 -1
  62. package/src/trackchangesui.js +1 -1
  63. package/src/ui/suggestioncontroller.js +1 -1
  64. package/src/ui/view/basesuggestionthreadview.js +1 -1
  65. package/src/ui/view/suggestionthreadview.js +1 -1
  66. package/src/utils/common-translations.js +1 -1
  67. package/src/utils/utils.js +1 -1
package/src/suggestion.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5765=['push','attributes','next','map','clear','_saved','getRange','getContainedElement','isIntersectingWithRange','setAttribute','getFirstMarker','removeMarkers','_model','accept','suggestion:','nodeAfter','previous','hasComments','getFirstRange','end','onDiscard','length','onAccept','decorate','filter','split','size','creator','isMultiRange','set','addMarkerName','_isDataLoaded','subType','_onAccept','getMarkers','data','toJSON','createdAt','getMarkerNames','substr','commentThread','removeMarker','_markerNames','getAllAdjacentSuggestions','getMultiRangeId','markers','getItems','type','addMarker','getRanges','author','isInContent','from','_onDiscard','@external','head','authoredAt','_onAttributesChange'];(function(_0x5ccd14,_0x576510){const _0xec9012=function(_0x1cf211){while(--_0x1cf211){_0x5ccd14['push'](_0x5ccd14['shift']());}};_0xec9012(++_0x576510);}(_0x5765,0x1ea));const _0xec90=function(_0x5ccd14,_0x576510){_0x5ccd14=_0x5ccd14-0x0;let _0xec9012=_0x5765[_0x5ccd14];return _0xec9012;};import{Element as _0x44e80f}from'ckeditor5/src/engine.js';import{ObservableMixin as _0x195563,uid as _0x599613}from'ckeditor5/src/utils.js';import{cloneDeep as _0x5dee7d,isEqual as _0x40ecdb,set as _0x1e2a5b,unset as _0x3ffb4f}from'lodash-es';export default class u extends _0x195563(){constructor(_0x43e9db,_0x2302bb){super(),this[_0xec90('0x5')]=!0x1,this['id']=_0x2302bb['id'],this[_0xec90('0x15')]=_0x2302bb[_0xec90('0x15')],this['subType']=_0x2302bb[_0xec90('0x6')]||null,this[_0xec90('0x18')]=_0x2302bb[_0xec90('0x18')],this[_0xec90('0x1')]=_0x2302bb['creator']||_0x2302bb[_0xec90('0x18')],this['isExternal']=Boolean(_0x2302bb['attributes']&&_0x2302bb[_0xec90('0x21')][_0xec90('0x1c')]),this[_0xec90('0x9')]=null,this[_0xec90('0x2c')]=_0x43e9db,this['_onAccept']=_0x2302bb[_0xec90('0x36')],this[_0xec90('0x1b')]=_0x2302bb[_0xec90('0x34')],this['_onAttributesChange']=_0x2302bb['onAttributesChange'],this['_markerNames']=new Set(),this[_0xec90('0xb')]=null,this['set'](_0xec90('0x1e'),null),this[_0xec90('0x3')](_0xec90('0x21'),_0x2302bb[_0xec90('0x21')]||{}),this[_0xec90('0x3')]('previous',null),this[_0xec90('0x3')](_0xec90('0x22'),null),this[_0xec90('0x3')](_0xec90('0xe'),null),this['set'](_0xec90('0x25'),!0x1),this[_0xec90('0x37')](_0xec90('0x2d')),this['decorate']('discard');}get[_0xec90('0x1d')](){let _0x31863a=this;for(;_0x31863a[_0xec90('0x30')];)_0x31863a=_0x31863a[_0xec90('0x30')];return _0x31863a;}get[_0xec90('0x31')](){return!!this['commentThread']&&this[_0xec90('0xe')][_0xec90('0x35')]>0x0;}get[_0xec90('0x2')](){if(0x0==this['_markerNames'][_0xec90('0x0')])return!0x1;return 0x6==Array[_0xec90('0x1a')](this[_0xec90('0x10')])[0x0][_0xec90('0x39')](':')[_0xec90('0x35')];}get[_0xec90('0x19')](){return null!==this[_0xec90('0x2a')]();}['addMarkerName'](_0x3f3f78){this[_0xec90('0x10')]['add'](_0x3f3f78);}[_0xec90('0xc')](){return Array[_0xec90('0x1a')](this[_0xec90('0x10')]);}[_0xec90('0x8')](){return this[_0xec90('0xc')]()[_0xec90('0x23')](_0x5d6b95=>this[_0xec90('0x2c')][_0xec90('0x13')]['get'](_0x5d6b95))[_0xec90('0x38')](_0x1cc179=>_0x1cc179);}['getFirstMarker'](){return this[_0xec90('0x8')]()[0x0]||null;}['removeMarkers'](){this[_0xec90('0x2c')]['change'](_0x3a0047=>{for(const _0x22420e of this[_0xec90('0x8')]())_0x3a0047[_0xec90('0xf')](_0x22420e);}),this['_markerNames'][_0xec90('0x24')]();}[_0xec90('0xf')](_0x56dbf9){this[_0xec90('0x2c')]['change'](_0x502bed=>{_0x502bed[_0xec90('0xf')](_0x56dbf9);}),this[_0xec90('0x10')]['delete'](_0x56dbf9);}['addRange'](_0x3a7b8e){const _0x6b3244=_0xec90('0x2e')+this[_0xec90('0x15')]+':'+this[_0xec90('0x6')]+':'+this['id']+':'+this[_0xec90('0x1')]['id']+':'+u[_0xec90('0x12')]();this[_0xec90('0x4')](_0x6b3244),this[_0xec90('0x2c')]['change'](_0x252d87=>{_0x252d87[_0xec90('0x16')](_0x6b3244,{'range':_0x3a7b8e,'usingOperation':!0x0,'affectsData':!0x0});});}[_0xec90('0x28')](_0x35b42e){for(const _0x1535bc of this[_0xec90('0x17')]())if(_0x1535bc['isIntersecting'](_0x35b42e))return!0x0;return!0x1;}[_0xec90('0x17')](){return this[_0xec90('0x8')]()[_0xec90('0x23')](_0xc97063=>_0xc97063[_0xec90('0x26')]());}[_0xec90('0x14')](){return this[_0xec90('0x17')]()['reduce']((_0x11d1b9,_0x596ccb)=>[..._0x11d1b9,..._0x596ccb['getItems']()],[]);}[_0xec90('0x32')](){var _0x282952;return(null===(_0x282952=this[_0xec90('0x2a')]())||void 0x0===_0x282952?void 0x0:_0x282952[_0xec90('0x26')]())||null;}[_0xec90('0x27')](){const _0x481a14=this[_0xec90('0x17')]();if(0x1!=_0x481a14[_0xec90('0x35')])return null;const _0x57e604=_0x481a14[0x0],_0x39742b=_0x57e604['start'][_0xec90('0x2f')],_0x34563=_0x57e604[_0xec90('0x33')]['nodeBefore'];return _0x39742b instanceof _0x44e80f?_0x39742b!=_0x34563?null:_0x39742b:null;}[_0xec90('0x2d')](){this[_0xec90('0x7')](this[_0xec90('0x17')](),this[_0xec90('0x9')],this[_0xec90('0x21')]),this['removeMarkers']();}['discard'](){this[_0xec90('0x1b')](this['getRanges'](),this[_0xec90('0x9')],this[_0xec90('0x21')]),this[_0xec90('0x2b')]();}[_0xec90('0x11')](){const _0x3b4791=[];let _0x1f5124=this['head'];for(;_0x1f5124;)_0x3b4791[_0xec90('0x20')](_0x1f5124),_0x1f5124=_0x1f5124['next'];return _0x3b4791;}[_0xec90('0x29')](_0x527b0f,_0x295199){const _0x3ba181=_0x5dee7d(this[_0xec90('0x21')]);_0x1e2a5b(_0x3ba181,_0x527b0f,_0x295199),_0x40ecdb(_0x3ba181,this[_0xec90('0x21')])||(this[_0xec90('0x21')]=_0x3ba181,this['_onAttributesChange'](_0x3ba181));}['removeAttribute'](_0x34b618){const _0x1a526c=_0x5dee7d(this[_0xec90('0x21')]);_0x3ffb4f(_0x1a526c,_0x34b618),_0x40ecdb(_0x1a526c,this[_0xec90('0x21')])||(this['attributes']=_0x1a526c,this[_0xec90('0x1f')](this[_0xec90('0x21')]));}[_0xec90('0xa')](){return{'id':this['id'],'type':this[_0xec90('0x6')]?this['type']+':'+this['subType']:this[_0xec90('0x15')],'authorId':this[_0xec90('0x1')]['id'],'createdAt':this[_0xec90('0xb')],'hasComments':this[_0xec90('0x31')],'data':this[_0xec90('0x9')],'attributes':this[_0xec90('0x21')]};}static[_0xec90('0x12')](){return _0x599613()[_0xec90('0xd')](0x1,0x5);}}
23
+ const _0x1753=['substr','data','getFirstRange','_markerNames','onAttributesChange','_onAttributesChange','clear','getMultiRangeId','get','from','start','getFirstMarker','isIntersecting','hasComments','author','commentThread','isExternal','createdAt','delete','getMarkers','_onDiscard','getMarkerNames','authoredAt','change','length','size','add','isMultiRange','filter','removeMarkers','getRange','subType','addMarkerName','nodeAfter','decorate','type','set','removeAttribute','onDiscard','reduce','removeMarker','map','_model','attributes','_saved','head','getAllAdjacentSuggestions','next','suggestion:','getRanges','discard','getItems','_onAccept','onAccept','setAttribute','toJSON','previous','creator'];(function(_0x4ba10c,_0x1753cb){const _0x14a56c=function(_0x466a0e){while(--_0x466a0e){_0x4ba10c['push'](_0x4ba10c['shift']());}};_0x14a56c(++_0x1753cb);}(_0x1753,0x1a1));const _0x14a5=function(_0x4ba10c,_0x1753cb){_0x4ba10c=_0x4ba10c-0x0;let _0x14a56c=_0x1753[_0x4ba10c];return _0x14a56c;};import{Element as _0x2008af}from'ckeditor5/src/engine.js';import{ObservableMixin as _0x489f91,uid as _0x1ea9dc}from'ckeditor5/src/utils.js';import{cloneDeep as _0x2e7f60,isEqual as _0x26c67c,set as _0x439717,unset as _0x447f6f}from'lodash-es';export default class u extends _0x489f91(){constructor(_0x247b18,_0x4f8536){super(),this['_isDataLoaded']=!0x1,this['id']=_0x4f8536['id'],this[_0x14a5('0x18')]=_0x4f8536['type'],this['subType']=_0x4f8536['subType']||null,this[_0x14a5('0x3')]=_0x4f8536['author'],this['creator']=_0x4f8536[_0x14a5('0x2e')]||_0x4f8536[_0x14a5('0x3')],this[_0x14a5('0x5')]=Boolean(_0x4f8536[_0x14a5('0x20')]&&_0x4f8536[_0x14a5('0x20')]['@external']),this[_0x14a5('0x30')]=null,this[_0x14a5('0x1f')]=_0x247b18,this[_0x14a5('0x29')]=_0x4f8536[_0x14a5('0x2a')],this[_0x14a5('0x9')]=_0x4f8536[_0x14a5('0x1b')],this['_onAttributesChange']=_0x4f8536[_0x14a5('0x33')],this['_markerNames']=new Set(),this[_0x14a5('0x6')]=null,this[_0x14a5('0x19')](_0x14a5('0xb'),null),this[_0x14a5('0x19')](_0x14a5('0x20'),_0x4f8536['attributes']||{}),this[_0x14a5('0x19')]('previous',null),this[_0x14a5('0x19')](_0x14a5('0x24'),null),this[_0x14a5('0x19')](_0x14a5('0x4'),null),this[_0x14a5('0x19')](_0x14a5('0x21'),!0x1),this['decorate']('accept'),this[_0x14a5('0x17')](_0x14a5('0x27'));}get[_0x14a5('0x22')](){let _0x25107d=this;for(;_0x25107d[_0x14a5('0x2d')];)_0x25107d=_0x25107d[_0x14a5('0x2d')];return _0x25107d;}get[_0x14a5('0x2')](){return!!this['commentThread']&&this['commentThread'][_0x14a5('0xd')]>0x0;}get[_0x14a5('0x10')](){if(0x0==this[_0x14a5('0x32')][_0x14a5('0xe')])return!0x1;return 0x6==Array[_0x14a5('0x38')](this['_markerNames'])[0x0]['split'](':')[_0x14a5('0xd')];}get['isInContent'](){return null!==this['getFirstMarker']();}[_0x14a5('0x15')](_0x57edfd){this[_0x14a5('0x32')][_0x14a5('0xf')](_0x57edfd);}[_0x14a5('0xa')](){return Array['from'](this[_0x14a5('0x32')]);}[_0x14a5('0x8')](){return this[_0x14a5('0xa')]()[_0x14a5('0x1e')](_0x58912a=>this[_0x14a5('0x1f')]['markers'][_0x14a5('0x37')](_0x58912a))[_0x14a5('0x11')](_0xb4c370=>_0xb4c370);}[_0x14a5('0x0')](){return this[_0x14a5('0x8')]()[0x0]||null;}[_0x14a5('0x12')](){this[_0x14a5('0x1f')][_0x14a5('0xc')](_0x1609b5=>{for(const _0x3dcbda of this['getMarkers']())_0x1609b5[_0x14a5('0x1d')](_0x3dcbda);}),this[_0x14a5('0x32')][_0x14a5('0x35')]();}[_0x14a5('0x1d')](_0x2aec32){this[_0x14a5('0x1f')][_0x14a5('0xc')](_0x441e53=>{_0x441e53[_0x14a5('0x1d')](_0x2aec32);}),this['_markerNames'][_0x14a5('0x7')](_0x2aec32);}['addRange'](_0x4daee9){const _0x2c48c3=_0x14a5('0x25')+this[_0x14a5('0x18')]+':'+this['subType']+':'+this['id']+':'+this[_0x14a5('0x2e')]['id']+':'+u[_0x14a5('0x36')]();this[_0x14a5('0x15')](_0x2c48c3),this['_model'][_0x14a5('0xc')](_0x2a47af=>{_0x2a47af['addMarker'](_0x2c48c3,{'range':_0x4daee9,'usingOperation':!0x0,'affectsData':!0x0});});}['isIntersectingWithRange'](_0x558761){for(const _0x3fb583 of this[_0x14a5('0x26')]())if(_0x3fb583[_0x14a5('0x1')](_0x558761))return!0x0;return!0x1;}['getRanges'](){return this[_0x14a5('0x8')]()[_0x14a5('0x1e')](_0x2de9f8=>_0x2de9f8[_0x14a5('0x13')]());}[_0x14a5('0x28')](){return this['getRanges']()[_0x14a5('0x1c')]((_0x10657b,_0x240fcf)=>[..._0x10657b,..._0x240fcf[_0x14a5('0x28')]()],[]);}[_0x14a5('0x31')](){var _0x568d1c;return(null===(_0x568d1c=this[_0x14a5('0x0')]())||void 0x0===_0x568d1c?void 0x0:_0x568d1c[_0x14a5('0x13')]())||null;}['getContainedElement'](){const _0xd7ab7a=this[_0x14a5('0x26')]();if(0x1!=_0xd7ab7a[_0x14a5('0xd')])return null;const _0x53c7dd=_0xd7ab7a[0x0],_0x16019b=_0x53c7dd[_0x14a5('0x39')][_0x14a5('0x16')],_0x7e38e8=_0x53c7dd['end']['nodeBefore'];return _0x16019b instanceof _0x2008af?_0x16019b!=_0x7e38e8?null:_0x16019b:null;}['accept'](){this[_0x14a5('0x29')](this['getRanges'](),this[_0x14a5('0x30')],this['attributes']),this[_0x14a5('0x12')]();}[_0x14a5('0x27')](){this[_0x14a5('0x9')](this[_0x14a5('0x26')](),this[_0x14a5('0x30')],this[_0x14a5('0x20')]),this[_0x14a5('0x12')]();}[_0x14a5('0x23')](){const _0x254e9d=[];let _0x44abd8=this[_0x14a5('0x22')];for(;_0x44abd8;)_0x254e9d['push'](_0x44abd8),_0x44abd8=_0x44abd8[_0x14a5('0x24')];return _0x254e9d;}[_0x14a5('0x2b')](_0x55ffba,_0x2f40a7){const _0x4c359a=_0x2e7f60(this[_0x14a5('0x20')]);_0x439717(_0x4c359a,_0x55ffba,_0x2f40a7),_0x26c67c(_0x4c359a,this['attributes'])||(this[_0x14a5('0x20')]=_0x4c359a,this['_onAttributesChange'](_0x4c359a));}[_0x14a5('0x1a')](_0x4d19b6){const _0x57355b=_0x2e7f60(this[_0x14a5('0x20')]);_0x447f6f(_0x57355b,_0x4d19b6),_0x26c67c(_0x57355b,this[_0x14a5('0x20')])||(this[_0x14a5('0x20')]=_0x57355b,this[_0x14a5('0x34')](this[_0x14a5('0x20')]));}[_0x14a5('0x2c')](){return{'id':this['id'],'type':this[_0x14a5('0x14')]?this[_0x14a5('0x18')]+':'+this['subType']:this[_0x14a5('0x18')],'authorId':this[_0x14a5('0x2e')]['id'],'createdAt':this[_0x14a5('0x6')],'hasComments':this[_0x14a5('0x2')],'data':this['data'],'attributes':this['attributes']};}static[_0x14a5('0x36')](){return _0x1ea9dc()[_0x14a5('0x2f')](0x1,0x5);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x15a4=['checkChild','$textProxy','addFormat','remove','elementEnd','insertion','isEmpty','attribute','*Change\x20to:*\x20%0','key','item','_handleRenameSuggestionDescription','end','registerAttributeLabel','_locale','has','push','addObject','isObject','subType','removeContainer','matchingCallback','registerElementLabel','previousSibling','_customCallbacks','$1\x20$2','skip','_itemLabelsCallbacks','*Set\x20format:*\x20%0','getFirstRange','*Remove:*\x20%0','name','deletion','*Remove\x20format:*\x20%0','get','nodeAfter','data','ELEMENT_SPACE','_resolveDescriptionItems','length','set','match','registerDescriptionCallback','add','newValue','elementStart','_schema','text','replace','nextSibling','addEmptyContainer','removeObject','*Merge:*\x20%0','$text','map','_handleCustomCallbackDescription','normal','addContainer','isInContent','getItemLabel','start','*Insert:*\x20%0','_attributeLabels','*Split:*\x20%0','join','EmptyContainer','Container','removeFormat','function','element','quantity','_addDescriptionItems','type','softBreak','Object','format','indexOf','_itemLabels'];(function(_0x513eff,_0x15a405){const _0x8b08ce=function(_0x17b38c){while(--_0x17b38c){_0x513eff['push'](_0x513eff['shift']());}};_0x8b08ce(++_0x15a405);}(_0x15a4,0x1b9));const _0x8b08=function(_0x513eff,_0x15a405){_0x513eff=_0x513eff-0x0;let _0x8b08ce=_0x15a4[_0x513eff];return _0x8b08ce;};import{getTranslation as _0xdf1428}from'./utils/common-translations.js';import{priorities as _0x5e6dbd,insertToPriorityArray as _0x12fbb1}from'ckeditor5/src/utils.js';import{renameAttributeKey as _0x39212f}from'./trackchangesediting.js';export default class f{constructor(_0x168d07,_0x553bbd){this[_0x8b08('0x33')]=[],this[_0x8b08('0x1a')]=new Map(),this[_0x8b08('0x36')]=[],this[_0x8b08('0xb')]=new Map(),this[_0x8b08('0x49')]=_0x168d07,this[_0x8b08('0x29')]=_0x553bbd;}['getDescriptions'](_0x5f00dc){const _0x575e71=[],_0x237442=new Set(),_0x942a51=new Set();for(let _0x466dd5=0x0;_0x466dd5<_0x5f00dc['length'];_0x466dd5++){const _0x343ae3=_0x5f00dc[_0x466dd5];if(!_0x343ae3[_0x8b08('0x7')])continue;const _0x589a0d=this[_0x8b08('0x4')](_0x343ae3);if(_0x589a0d){if(null!=_0x343ae3['subType']){if(_0x237442[_0x8b08('0x2a')](_0x343ae3[_0x8b08('0x2e')]))continue;_0x237442['add'](_0x343ae3[_0x8b08('0x2e')]);}_0x575e71[_0x8b08('0x2b')](_0x589a0d);}else{if(_0x8b08('0x22')!=_0x343ae3['type'])_0x8b08('0x20')!=_0x343ae3[_0x8b08('0x15')]&&_0x8b08('0x3b')!=_0x343ae3[_0x8b08('0x15')]||this['_handleInsertRemoveSuggestionDescription'](_0x575e71,_0x343ae3,_0x5f00dc[_0x466dd5+0x1]);else{const _0x13fe15=_0x343ae3[_0x8b08('0x3f')]['key'];if(_0x942a51[_0x8b08('0x2a')](_0x13fe15))continue;_0x942a51[_0x8b08('0x46')](_0x343ae3[_0x8b08('0x3f')][_0x8b08('0x24')]),_0x13fe15==_0x39212f?this[_0x8b08('0x26')](_0x575e71,_0x343ae3):this['_handleAttributeSuggestionDescription'](_0x575e71,_0x343ae3);}}}return this['_resolveDescriptionItems'](_0x575e71);}[_0x8b08('0x45')](_0x361339){this['_customCallbacks']['push'](_0x361339);}[_0x8b08('0x31')](_0x473811,_0xb1c165,_0xb88ff6=_0x5e6dbd[_0x8b08('0x5')]){_0x8b08('0x11')==typeof _0x473811?_0x12fbb1(this[_0x8b08('0x36')],{'matchingCallback':_0x473811,'label':_0xb1c165,'priority':_0xb88ff6}):this[_0x8b08('0x1a')][_0x8b08('0x43')](_0x473811,_0xb1c165);}[_0x8b08('0x28')](_0x3b1a46,_0x199f98){this[_0x8b08('0xb')][_0x8b08('0x43')](_0x3b1a46,_0x199f98);}['getItemLabel'](_0x5ec3a1,_0x127cf2=0x1){let _0x53cddb;for(const _0x1cbc10 of this[_0x8b08('0x36')])if(_0x1cbc10[_0x8b08('0x30')](_0x5ec3a1)){_0x53cddb=_0x1cbc10['label'];break;}return _0x53cddb||(_0x53cddb=this[_0x8b08('0x1a')][_0x8b08('0x3d')](_0x5ec3a1[_0x8b08('0x3a')])),_0x53cddb?_0x53cddb(_0x127cf2):0x1!==_0x127cf2?_0x127cf2+'\x20'+_0x5ec3a1['name']+'s':''+_0x5ec3a1[_0x8b08('0x3a')];}['_addDescriptionItems'](_0x343525,_0x2c3572){const _0x178850=_0x2c3572[_0x8b08('0x38')]()['getWalker'](),_0x24649f=_0x8b08('0x20')==_0x2c3572[_0x8b08('0x15')]?'add':_0x8b08('0x1e');for(const _0x4db1e4 of _0x178850){const _0x17183c=_0x4db1e4['item'],_0x57ddd5=_0x343525[_0x343525[_0x8b08('0x42')]-0x1];if(_0x17183c['is'](_0x8b08('0x1c')))_0x57ddd5&&_0x57ddd5['type'][_0x8b08('0x19')](_0x8b08('0xf'))>-0x1&&_0x343525['pop'](),_0x57ddd5&&_0x8b08('0x4a')==_0x57ddd5[_0x8b08('0x15')]?_0x57ddd5[_0x24649f]+=_0x17183c[_0x8b08('0x3f')]:_0x343525['push']({'type':'text','add':'add'==_0x24649f?_0x17183c[_0x8b08('0x3f')]:'','remove':'remove'==_0x24649f?_0x17183c[_0x8b08('0x3f')]:''});else{if(this[_0x8b08('0x49')][_0x8b08('0x2d')](_0x17183c)){const _0x3ed6a5=_0x17183c;if(_0x57ddd5&&_0x57ddd5[_0x8b08('0x15')][_0x8b08('0x19')](_0x8b08('0xf'))>-0x1&&_0x343525['pop'](),_0x8b08('0x1f')==_0x4db1e4['type'])continue;_0x57ddd5&&_0x57ddd5['type']==_0x24649f+_0x8b08('0x17')&&_0x57ddd5[_0x8b08('0x12')][_0x8b08('0x3a')]==_0x3ed6a5[_0x8b08('0x3a')]?_0x57ddd5[_0x8b08('0x13')]++:_0x343525[_0x8b08('0x2b')]({'type':_0x24649f+_0x8b08('0x17'),'element':_0x3ed6a5,'quantity':0x1}),_0x178850[_0x8b08('0x35')](_0x24efa1=>!(_0x8b08('0x1f')==_0x24efa1[_0x8b08('0x15')]&&_0x24efa1[_0x8b08('0x25')]==_0x17183c));}else{if(this[_0x8b08('0x49')][_0x8b08('0x1b')](_0x17183c,_0x8b08('0x2'))||_0x17183c['is'](_0x8b08('0x12'),_0x8b08('0x16'))){const _0x2cbfac=_0x17183c;if(_0x8b08('0x46')==_0x24649f&&_0x8b08('0x48')==_0x4db1e4[_0x8b08('0x15')]||'remove'==_0x24649f&&_0x8b08('0x1f')==_0x4db1e4['type'])continue;if(_0x57ddd5&&-0x1==_0x57ddd5[_0x8b08('0x15')]['indexOf'](_0x8b08('0xf'))){_0x8b08('0x4a')==_0x57ddd5['type']&&(_0x57ddd5[_0x24649f]+='\x0a');continue;}let _0x1efbd3;if(_0x1efbd3='add'==_0x24649f?_0x2cbfac['nextSibling']&&!this[_0x8b08('0x49')][_0x8b08('0x2d')](_0x2cbfac[_0x8b08('0x4c')])?_0x2cbfac['nextSibling']:null:_0x2cbfac['previousSibling']&&!this[_0x8b08('0x49')][_0x8b08('0x2d')](_0x2cbfac[_0x8b08('0x32')])?_0x2cbfac[_0x8b08('0x32')]:null,_0x2cbfac['isEmpty']||_0x1efbd3&&_0x1efbd3[_0x8b08('0x21')]){const _0x3079fb=_0x1efbd3&&_0x1efbd3['isEmpty']?_0x1efbd3:_0x2cbfac;_0x57ddd5&&_0x57ddd5['type']==_0x24649f+_0x8b08('0xe')&&_0x57ddd5[_0x8b08('0x12')][_0x8b08('0x3a')]==_0x3079fb[_0x8b08('0x3a')]?_0x57ddd5[_0x8b08('0x13')]++:_0x343525['push']({'type':_0x24649f+_0x8b08('0xe'),'element':_0x3079fb,'quantity':0x1});}else _0x343525['push']({'type':_0x24649f+_0x8b08('0xf'),'element':_0x2cbfac});}}}}}[_0x8b08('0x41')](_0x3ce8d5){const _0x431b87=this[_0x8b08('0x29')],_0x5364a9=[],_0x1313ba=[],_0x23a10e=[];for(const _0x456a38 of _0x3ce8d5)switch(_0x456a38[_0x8b08('0x15')]){case'text':if(_0x456a38[_0x8b08('0x46')]=_0x456a38[_0x8b08('0x46')][_0x8b08('0x4b')](/(\S)\u000A+(\S)/g,'$1\x20$2')[_0x8b08('0x4b')](/\u000A/g,''),_0x456a38[_0x8b08('0x1e')]=_0x456a38[_0x8b08('0x1e')]['replace'](/(\S)\u000A+(\S)/g,_0x8b08('0x34'))[_0x8b08('0x4b')](/\u000A/g,''),''!=_0x456a38['add']&&''!=_0x456a38[_0x8b08('0x1e')]){_0x5364a9['push']({'type':_0x8b08('0x4b'),'content':_0xdf1428(_0x431b87,'REPLACE_TEXT',['\x22'+_0x456a38[_0x8b08('0x1e')]+'\x22','\x22'+_0x456a38[_0x8b08('0x46')]+'\x22'])});continue;}if(null!=_0x456a38['add'][_0x8b08('0x44')](/^ +$/)){_0x5364a9['push']({'type':_0x8b08('0x20'),'content':_0xdf1428(_0x431b87,_0x8b08('0xa'),_0xdf1428(_0x431b87,_0x8b08('0x40'),_0x456a38[_0x8b08('0x46')][_0x8b08('0x42')]))});continue;}if(null!=_0x456a38[_0x8b08('0x1e')][_0x8b08('0x44')](/^ +$/)){_0x5364a9['push']({'type':_0x8b08('0x3b'),'content':_0xdf1428(_0x431b87,_0x8b08('0x39'),_0xdf1428(_0x431b87,_0x8b08('0x40'),_0x456a38[_0x8b08('0x1e')][_0x8b08('0x42')]))});continue;}if(''!=_0x456a38[_0x8b08('0x46')]){_0x5364a9[_0x8b08('0x2b')]({'type':'insertion','content':_0xdf1428(_0x431b87,_0x8b08('0xa'),'\x22'+_0x456a38[_0x8b08('0x46')]+'\x22')});continue;}_0x5364a9[_0x8b08('0x2b')]({'type':_0x8b08('0x3b'),'content':_0xdf1428(_0x431b87,'*Remove:*\x20%0','\x22'+_0x456a38[_0x8b08('0x1e')]+'\x22')});continue;case _0x8b08('0x4d'):case _0x8b08('0x2c'):_0x5364a9[_0x8b08('0x2b')]({'type':'insertion','content':_0xdf1428(_0x431b87,'*Insert:*\x20%0',this[_0x8b08('0x8')](_0x456a38[_0x8b08('0x12')],_0x456a38['quantity']))});continue;case'removeEmptyContainer':case _0x8b08('0x0'):_0x5364a9['push']({'type':_0x8b08('0x3b'),'content':_0xdf1428(_0x431b87,_0x8b08('0x39'),this[_0x8b08('0x8')](_0x456a38[_0x8b08('0x12')],_0x456a38['quantity']))});continue;case _0x8b08('0x6'):_0x5364a9[_0x8b08('0x2b')]({'type':_0x8b08('0x20'),'content':_0xdf1428(_0x431b87,_0x8b08('0xc'),this[_0x8b08('0x8')](_0x456a38[_0x8b08('0x12')],_0x456a38['quantity']))});continue;case _0x8b08('0x2f'):_0x5364a9[_0x8b08('0x2b')]({'type':_0x8b08('0x3b'),'content':_0xdf1428(_0x431b87,_0x8b08('0x1'),this[_0x8b08('0x8')](_0x456a38[_0x8b08('0x12')],_0x456a38['quantity']))});continue;case _0x8b08('0x1d'):_0x1313ba[_0x8b08('0x2b')](_0x456a38[_0x8b08('0x24')]);continue;case'removeFormat':_0x23a10e[_0x8b08('0x2b')](_0x456a38[_0x8b08('0x24')]);continue;default:_0x5364a9[_0x8b08('0x2b')](_0x456a38);}if(_0x1313ba[_0x8b08('0x42')]){const _0x440a09=_0x1313ba[_0x8b08('0x3')](_0x30ca23=>this[_0x8b08('0xb')][_0x8b08('0x2a')](_0x30ca23)?this['_attributeLabels'][_0x8b08('0x3d')](_0x30ca23):_0x30ca23)['join'](',\x20');_0x5364a9[_0x8b08('0x2b')]({'type':_0x8b08('0x18'),'content':_0xdf1428(this[_0x8b08('0x29')],_0x8b08('0x37'),_0x440a09)});}if(_0x23a10e[_0x8b08('0x42')]){const _0xef3561=_0x23a10e['map'](_0x18965a=>this['_attributeLabels'][_0x8b08('0x2a')](_0x18965a)?this[_0x8b08('0xb')]['get'](_0x18965a):_0x18965a)[_0x8b08('0xd')](',\x20');_0x5364a9[_0x8b08('0x2b')]({'type':_0x8b08('0x18'),'content':_0xdf1428(this['_locale'],_0x8b08('0x3c'),_0xef3561)});}return _0x5364a9;}[_0x8b08('0x4')](_0xf9cfcd){for(const _0x48f591 of this['_customCallbacks']){const _0x181fc7=_0x48f591(_0xf9cfcd);if(_0x181fc7&&_0x8b08('0x15')in _0x181fc7)return _0x181fc7;}}['_handleAttributeSuggestionDescription'](_0xe2d6d,_0x535637){const _0xe834d8=_0x535637[_0x8b08('0x3f')],_0x1bf712=void 0x0===_0xe834d8[_0x8b08('0x47')]?_0x8b08('0x10'):_0x8b08('0x1d');_0xe2d6d[_0x8b08('0x2b')]({'type':_0x1bf712,'key':_0xe834d8['key']});}[_0x8b08('0x26')](_0xf1773f,_0x82bbcb){_0xf1773f[_0x8b08('0x2b')]({'type':_0x8b08('0x18'),'content':_0xdf1428(this[_0x8b08('0x29')],_0x8b08('0x23'),this[_0x8b08('0x8')](_0x82bbcb[_0x8b08('0x38')]()['start'][_0x8b08('0x3e')],0x1))});}['_handleInsertRemoveSuggestionDescription'](_0x34985a,_0x58f3bd,_0x41f80c){if(this[_0x8b08('0x14')](_0x34985a,_0x58f3bd),_0x41f80c&&_0x41f80c[_0x8b08('0x38')]()&&!_0x58f3bd['getFirstRange']()[_0x8b08('0x27')]['isEqual'](_0x41f80c[_0x8b08('0x38')]()[_0x8b08('0x9')])){const _0x185f47=_0x34985a[_0x34985a['length']-0x1],_0x1b2a64='insertion'==_0x58f3bd[_0x8b08('0x15')]?_0x8b08('0x46'):_0x8b08('0x1e');_0x185f47&&_0x8b08('0x4a')==_0x185f47['type']&&(_0x185f47[_0x1b2a64]+='\x0a');}}}
23
+ const _0x2395=['removeContainer','addFormat','checkChild','isEqual','_addDescriptionItems','_itemLabelsCallbacks','$textProxy','_handleCustomCallbackDescription','$1\x20$2','push','isEmpty','*Merge:*\x20%0','name','insertion','REPLACE_TEXT','previousSibling','_handleInsertRemoveSuggestionDescription','elementEnd','format','getWalker','_itemLabels','join','*Split:*\x20%0','ELEMENT_SPACE','data','type','remove','removeFormat','isObject','subType','skip','element','quantity','addContainer','get','_handleAttributeSuggestionDescription','length','add','nextSibling','removeObject','elementStart','EmptyContainer','function','item','attribute','_attributeLabels','Container','_customCallbacks','*Insert:*\x20%0','getDescriptions','map','_resolveDescriptionItems','registerAttributeLabel','nodeAfter','isInContent','replace','set','removeEmptyContainer','_locale','_schema','text','addObject','getItemLabel','*Remove:*\x20%0','indexOf','has','match','start','label','key','deletion','getFirstRange','Object','softBreak'];(function(_0x3ac654,_0x2395fb){const _0x2d2d8d=function(_0x2be1cb){while(--_0x2be1cb){_0x3ac654['push'](_0x3ac654['shift']());}};_0x2d2d8d(++_0x2395fb);}(_0x2395,0x15b));const _0x2d2d=function(_0x3ac654,_0x2395fb){_0x3ac654=_0x3ac654-0x0;let _0x2d2d8d=_0x2395[_0x3ac654];return _0x2d2d8d;};import{getTranslation as _0x4766c9}from'./utils/common-translations.js';import{priorities as _0xe9f8b1,insertToPriorityArray as _0x30a95b}from'ckeditor5/src/utils.js';import{renameAttributeKey as _0xab966c}from'./trackchangesediting.js';export default class f{constructor(_0x325343,_0x2504eb){this[_0x2d2d('0x46')]=[],this[_0x2d2d('0x2b')]=new Map(),this[_0x2d2d('0x1c')]=[],this['_attributeLabels']=new Map(),this[_0x2d2d('0x8')]=_0x325343,this['_locale']=_0x2504eb;}[_0x2d2d('0x48')](_0x183466){const _0x595e97=[],_0x2cb5dd=new Set(),_0x1ce105=new Set();for(let _0x364f9c=0x0;_0x364f9c<_0x183466[_0x2d2d('0x3b')];_0x364f9c++){const _0x22832d=_0x183466[_0x364f9c];if(!_0x22832d[_0x2d2d('0x3')])continue;const _0x2a3e98=this[_0x2d2d('0x1e')](_0x22832d);if(_0x2a3e98){if(null!=_0x22832d[_0x2d2d('0x34')]){if(_0x2cb5dd[_0x2d2d('0xe')](_0x22832d[_0x2d2d('0x34')]))continue;_0x2cb5dd[_0x2d2d('0x3c')](_0x22832d[_0x2d2d('0x34')]);}_0x595e97[_0x2d2d('0x20')](_0x2a3e98);}else{if(_0x2d2d('0x43')!=_0x22832d[_0x2d2d('0x30')])'insertion'!=_0x22832d[_0x2d2d('0x30')]&&_0x2d2d('0x13')!=_0x22832d['type']||this[_0x2d2d('0x27')](_0x595e97,_0x22832d,_0x183466[_0x364f9c+0x1]);else{const _0x23965a=_0x22832d['data']['key'];if(_0x1ce105['has'](_0x23965a))continue;_0x1ce105[_0x2d2d('0x3c')](_0x22832d[_0x2d2d('0x2f')][_0x2d2d('0x12')]),_0x23965a==_0xab966c?this['_handleRenameSuggestionDescription'](_0x595e97,_0x22832d):this[_0x2d2d('0x3a')](_0x595e97,_0x22832d);}}}return this[_0x2d2d('0x0')](_0x595e97);}['registerDescriptionCallback'](_0x11ecab){this[_0x2d2d('0x46')][_0x2d2d('0x20')](_0x11ecab);}['registerElementLabel'](_0x2c093c,_0x73237e,_0x4f747c=_0xe9f8b1['normal']){_0x2d2d('0x41')==typeof _0x2c093c?_0x30a95b(this[_0x2d2d('0x1c')],{'matchingCallback':_0x2c093c,'label':_0x73237e,'priority':_0x4f747c}):this[_0x2d2d('0x2b')][_0x2d2d('0x5')](_0x2c093c,_0x73237e);}[_0x2d2d('0x1')](_0x4c1020,_0x2bda16){this[_0x2d2d('0x44')][_0x2d2d('0x5')](_0x4c1020,_0x2bda16);}['getItemLabel'](_0x2d5ae3,_0x36cd5b=0x1){let _0x10d7b0;for(const _0x59d9d1 of this[_0x2d2d('0x1c')])if(_0x59d9d1['matchingCallback'](_0x2d5ae3)){_0x10d7b0=_0x59d9d1[_0x2d2d('0x11')];break;}return _0x10d7b0||(_0x10d7b0=this[_0x2d2d('0x2b')][_0x2d2d('0x39')](_0x2d5ae3[_0x2d2d('0x23')])),_0x10d7b0?_0x10d7b0(_0x36cd5b):0x1!==_0x36cd5b?_0x36cd5b+'\x20'+_0x2d5ae3[_0x2d2d('0x23')]+'s':''+_0x2d5ae3[_0x2d2d('0x23')];}[_0x2d2d('0x1b')](_0x2e8ee6,_0x5e05db){const _0x3f5a72=_0x5e05db[_0x2d2d('0x14')]()[_0x2d2d('0x2a')](),_0x149913=_0x2d2d('0x24')==_0x5e05db[_0x2d2d('0x30')]?_0x2d2d('0x3c'):'remove';for(const _0x107e01 of _0x3f5a72){const _0x144e21=_0x107e01[_0x2d2d('0x42')],_0x647bd5=_0x2e8ee6[_0x2e8ee6['length']-0x1];if(_0x144e21['is'](_0x2d2d('0x1d')))_0x647bd5&&_0x647bd5['type']['indexOf'](_0x2d2d('0x45'))>-0x1&&_0x2e8ee6['pop'](),_0x647bd5&&'text'==_0x647bd5['type']?_0x647bd5[_0x149913]+=_0x144e21[_0x2d2d('0x2f')]:_0x2e8ee6['push']({'type':_0x2d2d('0x9'),'add':'add'==_0x149913?_0x144e21['data']:'','remove':_0x2d2d('0x31')==_0x149913?_0x144e21[_0x2d2d('0x2f')]:''});else{if(this['_schema'][_0x2d2d('0x33')](_0x144e21)){const _0x33179f=_0x144e21;if(_0x647bd5&&_0x647bd5['type'][_0x2d2d('0xd')](_0x2d2d('0x45'))>-0x1&&_0x2e8ee6['pop'](),_0x2d2d('0x28')==_0x107e01[_0x2d2d('0x30')])continue;_0x647bd5&&_0x647bd5[_0x2d2d('0x30')]==_0x149913+_0x2d2d('0x15')&&_0x647bd5[_0x2d2d('0x36')][_0x2d2d('0x23')]==_0x33179f[_0x2d2d('0x23')]?_0x647bd5[_0x2d2d('0x37')]++:_0x2e8ee6[_0x2d2d('0x20')]({'type':_0x149913+_0x2d2d('0x15'),'element':_0x33179f,'quantity':0x1}),_0x3f5a72[_0x2d2d('0x35')](_0x3c6820=>!('elementEnd'==_0x3c6820['type']&&_0x3c6820[_0x2d2d('0x42')]==_0x144e21));}else{if(this[_0x2d2d('0x8')][_0x2d2d('0x19')](_0x144e21,'$text')||_0x144e21['is']('element',_0x2d2d('0x16'))){const _0x25ca3c=_0x144e21;if(_0x2d2d('0x3c')==_0x149913&&_0x2d2d('0x3f')==_0x107e01['type']||'remove'==_0x149913&&'elementEnd'==_0x107e01[_0x2d2d('0x30')])continue;if(_0x647bd5&&-0x1==_0x647bd5[_0x2d2d('0x30')][_0x2d2d('0xd')](_0x2d2d('0x45'))){_0x2d2d('0x9')==_0x647bd5[_0x2d2d('0x30')]&&(_0x647bd5[_0x149913]+='\x0a');continue;}let _0x449880;if(_0x449880='add'==_0x149913?_0x25ca3c[_0x2d2d('0x3d')]&&!this[_0x2d2d('0x8')][_0x2d2d('0x33')](_0x25ca3c['nextSibling'])?_0x25ca3c[_0x2d2d('0x3d')]:null:_0x25ca3c[_0x2d2d('0x26')]&&!this[_0x2d2d('0x8')][_0x2d2d('0x33')](_0x25ca3c[_0x2d2d('0x26')])?_0x25ca3c[_0x2d2d('0x26')]:null,_0x25ca3c['isEmpty']||_0x449880&&_0x449880[_0x2d2d('0x21')]){const _0x210efa=_0x449880&&_0x449880[_0x2d2d('0x21')]?_0x449880:_0x25ca3c;_0x647bd5&&_0x647bd5[_0x2d2d('0x30')]==_0x149913+_0x2d2d('0x40')&&_0x647bd5[_0x2d2d('0x36')][_0x2d2d('0x23')]==_0x210efa['name']?_0x647bd5[_0x2d2d('0x37')]++:_0x2e8ee6[_0x2d2d('0x20')]({'type':_0x149913+_0x2d2d('0x40'),'element':_0x210efa,'quantity':0x1});}else _0x2e8ee6[_0x2d2d('0x20')]({'type':_0x149913+_0x2d2d('0x45'),'element':_0x25ca3c});}}}}}[_0x2d2d('0x0')](_0x23b6a3){const _0x235ae1=this[_0x2d2d('0x7')],_0xaed32e=[],_0x2d144a=[],_0x571dfa=[];for(const _0x5901e3 of _0x23b6a3)switch(_0x5901e3[_0x2d2d('0x30')]){case _0x2d2d('0x9'):if(_0x5901e3['add']=_0x5901e3[_0x2d2d('0x3c')]['replace'](/(\S)\u000A+(\S)/g,_0x2d2d('0x1f'))[_0x2d2d('0x4')](/\u000A/g,''),_0x5901e3[_0x2d2d('0x31')]=_0x5901e3['remove'][_0x2d2d('0x4')](/(\S)\u000A+(\S)/g,_0x2d2d('0x1f'))[_0x2d2d('0x4')](/\u000A/g,''),''!=_0x5901e3[_0x2d2d('0x3c')]&&''!=_0x5901e3[_0x2d2d('0x31')]){_0xaed32e[_0x2d2d('0x20')]({'type':_0x2d2d('0x4'),'content':_0x4766c9(_0x235ae1,_0x2d2d('0x25'),['\x22'+_0x5901e3['remove']+'\x22','\x22'+_0x5901e3[_0x2d2d('0x3c')]+'\x22'])});continue;}if(null!=_0x5901e3['add'][_0x2d2d('0xf')](/^ +$/)){_0xaed32e['push']({'type':'insertion','content':_0x4766c9(_0x235ae1,_0x2d2d('0x47'),_0x4766c9(_0x235ae1,'ELEMENT_SPACE',_0x5901e3[_0x2d2d('0x3c')][_0x2d2d('0x3b')]))});continue;}if(null!=_0x5901e3['remove'][_0x2d2d('0xf')](/^ +$/)){_0xaed32e[_0x2d2d('0x20')]({'type':_0x2d2d('0x13'),'content':_0x4766c9(_0x235ae1,_0x2d2d('0xc'),_0x4766c9(_0x235ae1,_0x2d2d('0x2e'),_0x5901e3[_0x2d2d('0x31')][_0x2d2d('0x3b')]))});continue;}if(''!=_0x5901e3['add']){_0xaed32e[_0x2d2d('0x20')]({'type':_0x2d2d('0x24'),'content':_0x4766c9(_0x235ae1,'*Insert:*\x20%0','\x22'+_0x5901e3['add']+'\x22')});continue;}_0xaed32e[_0x2d2d('0x20')]({'type':_0x2d2d('0x13'),'content':_0x4766c9(_0x235ae1,_0x2d2d('0xc'),'\x22'+_0x5901e3[_0x2d2d('0x31')]+'\x22')});continue;case'addEmptyContainer':case _0x2d2d('0xa'):_0xaed32e[_0x2d2d('0x20')]({'type':'insertion','content':_0x4766c9(_0x235ae1,'*Insert:*\x20%0',this[_0x2d2d('0xb')](_0x5901e3[_0x2d2d('0x36')],_0x5901e3['quantity']))});continue;case _0x2d2d('0x6'):case _0x2d2d('0x3e'):_0xaed32e[_0x2d2d('0x20')]({'type':_0x2d2d('0x13'),'content':_0x4766c9(_0x235ae1,'*Remove:*\x20%0',this[_0x2d2d('0xb')](_0x5901e3[_0x2d2d('0x36')],_0x5901e3[_0x2d2d('0x37')]))});continue;case _0x2d2d('0x38'):_0xaed32e['push']({'type':_0x2d2d('0x24'),'content':_0x4766c9(_0x235ae1,_0x2d2d('0x2d'),this[_0x2d2d('0xb')](_0x5901e3['element'],_0x5901e3[_0x2d2d('0x37')]))});continue;case _0x2d2d('0x17'):_0xaed32e[_0x2d2d('0x20')]({'type':_0x2d2d('0x13'),'content':_0x4766c9(_0x235ae1,_0x2d2d('0x22'),this['getItemLabel'](_0x5901e3[_0x2d2d('0x36')],_0x5901e3[_0x2d2d('0x37')]))});continue;case _0x2d2d('0x18'):_0x2d144a[_0x2d2d('0x20')](_0x5901e3[_0x2d2d('0x12')]);continue;case _0x2d2d('0x32'):_0x571dfa[_0x2d2d('0x20')](_0x5901e3[_0x2d2d('0x12')]);continue;default:_0xaed32e[_0x2d2d('0x20')](_0x5901e3);}if(_0x2d144a['length']){const _0x4a5f1f=_0x2d144a['map'](_0x3b17f4=>this[_0x2d2d('0x44')][_0x2d2d('0xe')](_0x3b17f4)?this['_attributeLabels']['get'](_0x3b17f4):_0x3b17f4)[_0x2d2d('0x2c')](',\x20');_0xaed32e[_0x2d2d('0x20')]({'type':_0x2d2d('0x29'),'content':_0x4766c9(this[_0x2d2d('0x7')],'*Set\x20format:*\x20%0',_0x4a5f1f)});}if(_0x571dfa[_0x2d2d('0x3b')]){const _0x1fef0d=_0x571dfa[_0x2d2d('0x49')](_0x9ad52d=>this[_0x2d2d('0x44')][_0x2d2d('0xe')](_0x9ad52d)?this['_attributeLabels'][_0x2d2d('0x39')](_0x9ad52d):_0x9ad52d)[_0x2d2d('0x2c')](',\x20');_0xaed32e[_0x2d2d('0x20')]({'type':_0x2d2d('0x29'),'content':_0x4766c9(this[_0x2d2d('0x7')],'*Remove\x20format:*\x20%0',_0x1fef0d)});}return _0xaed32e;}[_0x2d2d('0x1e')](_0x4fb072){for(const _0x1cecec of this[_0x2d2d('0x46')]){const _0xe27ed0=_0x1cecec(_0x4fb072);if(_0xe27ed0&&'type'in _0xe27ed0)return _0xe27ed0;}}['_handleAttributeSuggestionDescription'](_0x4f2f49,_0x3333ab){const _0x591e51=_0x3333ab[_0x2d2d('0x2f')],_0x1d15c2=void 0x0===_0x591e51['newValue']?_0x2d2d('0x32'):_0x2d2d('0x18');_0x4f2f49[_0x2d2d('0x20')]({'type':_0x1d15c2,'key':_0x591e51['key']});}['_handleRenameSuggestionDescription'](_0x39293d,_0x327fd5){_0x39293d['push']({'type':_0x2d2d('0x29'),'content':_0x4766c9(this[_0x2d2d('0x7')],'*Change\x20to:*\x20%0',this[_0x2d2d('0xb')](_0x327fd5[_0x2d2d('0x14')]()[_0x2d2d('0x10')][_0x2d2d('0x2')],0x1))});}[_0x2d2d('0x27')](_0x2d8a58,_0x171f1f,_0x5d8349){if(this[_0x2d2d('0x1b')](_0x2d8a58,_0x171f1f),_0x5d8349&&_0x5d8349[_0x2d2d('0x14')]()&&!_0x171f1f[_0x2d2d('0x14')]()['end'][_0x2d2d('0x1a')](_0x5d8349[_0x2d2d('0x14')]()[_0x2d2d('0x10')])){const _0x5b62d2=_0x2d8a58[_0x2d8a58[_0x2d2d('0x3b')]-0x1],_0x53ee39='insertion'==_0x171f1f[_0x2d2d('0x30')]?_0x2d2d('0x3c'):_0x2d2d('0x31');_0x5b62d2&&_0x2d2d('0x9')==_0x5b62d2[_0x2d2d('0x30')]&&(_0x5b62d2[_0x53ee39]+='\x0a');}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x1a43=['adapter','editor','Comments','get','getSuggestion','addSuggestionData','pluginName','addSuggestion','TrackChanges','plugins'];(function(_0x3c5832,_0x1a4381){var _0x14fcfc=function(_0x2bcc77){while(--_0x2bcc77){_0x3c5832['push'](_0x3c5832['shift']());}};_0x14fcfc(++_0x1a4381);}(_0x1a43,0x161));var _0x14fc=function(_0x3c5832,_0x1a4381){_0x3c5832=_0x3c5832-0x0;var _0x14fcfc=_0x1a43[_0x3c5832];return _0x14fcfc;};import{Plugin as _0x555454}from'ckeditor5/src/core.js';import _0x235552 from'./trackchangesui.js';import _0x74dd2b from'./trackchangesediting.js';import'ckeditor5-collaboration/src/collaboration-core.js';export default class k extends _0x555454{static get['requires'](){return[_0x74dd2b,_0x235552,_0x14fc('0x9')];}static get[_0x14fc('0x3')](){return _0x14fc('0x5');}set[_0x14fc('0x7')](_0x47ab76){this[_0x14fc('0x8')]['plugins'][_0x14fc('0x0')](_0x74dd2b)[_0x14fc('0x7')]=_0x47ab76;}get[_0x14fc('0x7')](){return this['editor']['plugins']['get'](_0x74dd2b)[_0x14fc('0x7')];}[_0x14fc('0x4')](_0x775484){return this[_0x14fc('0x8')][_0x14fc('0x6')][_0x14fc('0x0')](_0x74dd2b)[_0x14fc('0x2')](_0x775484);}['getSuggestions']({skipNotAttached:_0x108cfe=!0x1,toJSON:_0x4f2a10=!0x1}={}){return this['editor'][_0x14fc('0x6')]['get'](_0x74dd2b)['getSuggestions']({'skipNotAttached':_0x108cfe,'toJSON':_0x4f2a10});}[_0x14fc('0x1')](_0x3e9178){return this[_0x14fc('0x8')]['plugins']['get'](_0x74dd2b)[_0x14fc('0x1')](_0x3e9178);}}
23
+ var _0x26e3=['get','editor','plugins','getSuggestions','requires','adapter','TrackChanges','addSuggestionData','Comments','pluginName'];(function(_0x37398c,_0x26e370){var _0x59c1ee=function(_0x2d58a7){while(--_0x2d58a7){_0x37398c['push'](_0x37398c['shift']());}};_0x59c1ee(++_0x26e370);}(_0x26e3,0x14c));var _0x59c1=function(_0x37398c,_0x26e370){_0x37398c=_0x37398c-0x0;var _0x59c1ee=_0x26e3[_0x37398c];return _0x59c1ee;};import{Plugin as _0x27e9be}from'ckeditor5/src/core.js';import _0x7f6481 from'./trackchangesui.js';import _0x180695 from'./trackchangesediting.js';import'ckeditor5-collaboration/src/collaboration-core.js';export default class k extends _0x27e9be{static get[_0x59c1('0x2')](){return[_0x180695,_0x7f6481,_0x59c1('0x6')];}static get[_0x59c1('0x7')](){return _0x59c1('0x4');}set[_0x59c1('0x3')](_0xfe5d98){this['editor'][_0x59c1('0x0')][_0x59c1('0x8')](_0x180695)[_0x59c1('0x3')]=_0xfe5d98;}get[_0x59c1('0x3')](){return this[_0x59c1('0x9')][_0x59c1('0x0')]['get'](_0x180695)[_0x59c1('0x3')];}['addSuggestion'](_0x395694){return this[_0x59c1('0x9')][_0x59c1('0x0')][_0x59c1('0x8')](_0x180695)[_0x59c1('0x5')](_0x395694);}[_0x59c1('0x1')]({skipNotAttached:_0xfc3cc5=!0x1,toJSON:_0x161da8=!0x1}={}){return this[_0x59c1('0x9')][_0x59c1('0x0')][_0x59c1('0x8')](_0x180695)[_0x59c1('0x1')]({'skipNotAttached':_0xfc3cc5,'toJSON':_0x161da8});}['getSuggestion'](_0x1dd7bc){return this[_0x59c1('0x9')][_0x59c1('0x0')]['get'](_0x180695)['getSuggestion'](_0x1dd7bc);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4d69=['result','pluginName','plugins','get','CommentsRepository','function','map','model','trackChangesData.editorCreator','getFullData','constructor','reduce','addUser','data','TrackChangesData','document','getDataWithAcceptedSuggestions','editor','Users','getRootsAttributes','users','getDataWithDiscardedSuggestions','end','addSuggestionData','push','getRootNames','create','_adapter','set','config','editorCreator','rootsAttributes','useAnonymousUser','name','init','getUser','requires','TrackChangesEditing','execute','define','Pagination'];(function(_0x503b0e,_0x4d69ec){const _0x50c146=function(_0x527a06){while(--_0x527a06){_0x503b0e['push'](_0x503b0e['shift']());}};_0x50c146(++_0x4d69ec);}(_0x4d69,0x1b5));const _0x50c1=function(_0x503b0e,_0x4d69ec){_0x503b0e=_0x503b0e-0x0;let _0x50c146=_0x4d69[_0x503b0e];return _0x50c146;};import{Plugin as _0x580c14}from'ckeditor5/src/core.js';import{CKEditorError as _0x4568cf}from'ckeditor5/src/utils.js';import _0x4d61b1 from'./trackchangesediting.js';import{sanitizeEditorConfig as _0x4d7573}from'ckeditor5-collaboration/src/collaboration-core.js';const T=[_0x50c1('0xd')];export default class P extends _0x580c14{static get[_0x50c1('0x9')](){return[_0x4d61b1];}static get[_0x50c1('0xf')](){return _0x50c1('0x1c');}[_0x50c1('0x7')](){const _0x56c71b=this[_0x50c1('0x1f')];if(_0x56c71b[_0x50c1('0x2')][_0x50c1('0xc')](_0x50c1('0x16'),_0x64aa56=>{const _0x171101=_0x56c71b[_0x50c1('0x15')][_0x50c1('0x1d')][_0x50c1('0x27')]()[_0x50c1('0x19')]((_0x21cfd9,_0x5771a2)=>(_0x21cfd9[_0x5771a2]='',_0x21cfd9),{});return _0x56c71b[_0x50c1('0x18')][_0x50c1('0x28')](_0x171101,_0x64aa56);}),_0x50c1('0x13')!=typeof _0x56c71b[_0x50c1('0x2')]['get']('trackChangesData')[_0x50c1('0x3')])throw new _0x4568cf('track-changes-data-invalid-editor-creator');}[_0x50c1('0x1e')](_0x5539a4){return N(this['editor'],!0x0,_0x5539a4);}[_0x50c1('0x23')](_0x396bf6){return N(this[_0x50c1('0x1f')],!0x1,_0x396bf6);}}class D extends _0x580c14{static get[_0x50c1('0xf')](){return'TrackChangesDataGetter';}constructor(_0xfda4a5){super(_0xfda4a5),this[_0x50c1('0xe')]=_0x50c1('0x24');}[_0x50c1('0x7')](){this[_0x50c1('0x1f')][_0x50c1('0x10')][_0x50c1('0x11')](_0x50c1('0x12'))[_0x50c1('0x0')]={'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'][_0x50c1('0x10')]['get'](_0x50c1('0xa'))[_0x50c1('0x0')]=null;}}function v(_0x28d02d){return void 0x0!==_0x28d02d[_0x50c1('0x21')];}async function N(_0x23d5bf,_0x4e850a,_0x3ad3df){const _0x55c4d6=_0x4d7573(_0x23d5bf,T);_0x55c4d6[_0x50c1('0x10')][_0x50c1('0x26')](_0x4d61b1,D),_0x55c4d6[_0x50c1('0x4')]=v(_0x23d5bf)?_0x23d5bf[_0x50c1('0x21')]():void 0x0;const _0x3ef4a0=document['createDocumentFragment'](),_0x58c1fc=_0x23d5bf[_0x50c1('0x2')][_0x50c1('0x11')]('trackChangesData')['editorCreator'],_0x5655cd=await _0x58c1fc(_0x55c4d6,()=>function(_0x4ce0bf){const _0x377a8d=document['createElement']('div');return _0x4ce0bf['appendChild'](_0x377a8d),_0x377a8d;}(_0x3ef4a0));!function(_0x5ede14,_0x4f69a5){const _0x15bd74=_0x5ede14[_0x50c1('0x15')][_0x50c1('0x1d')]['getRootNames']()[_0x50c1('0x19')]((_0x475842,_0x31f0c3)=>(_0x475842[_0x31f0c3]=_0x5ede14['data'][_0x50c1('0x11')]({'rootName':_0x31f0c3}),_0x475842),{}),_0x3323ef=_0x5ede14['plugins'][_0x50c1('0x11')](_0x50c1('0x20'))[_0x50c1('0x22')][_0x50c1('0x14')](_0x471275=>({'id':_0x471275['id'],'name':_0x471275[_0x50c1('0x6')]})),_0x524eec=_0x5ede14['plugins'][_0x50c1('0x11')](_0x50c1('0xa'))['getSuggestions']({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x53b17c=_0x4f69a5[_0x50c1('0x10')][_0x50c1('0x11')](_0x50c1('0x20')),_0x539907=_0x4f69a5['plugins'][_0x50c1('0x11')]('TrackChangesEditing');for(const _0xb40902 of _0x3323ef)_0x53b17c[_0x50c1('0x8')](_0xb40902['id'])||_0x53b17c[_0x50c1('0x1a')](_0xb40902);_0x53b17c['me']||_0x53b17c[_0x50c1('0x5')]();for(const _0x518e26 of _0x524eec)_0x539907[_0x50c1('0x25')](_0x518e26);_0x4f69a5[_0x50c1('0x1b')][_0x50c1('0x1')](_0x15bd74);}(_0x23d5bf,_0x5655cd),_0x5655cd[_0x50c1('0xb')](_0x4e850a?'acceptAllSuggestions':'discardAllSuggestions');const _0x22f803=v(_0x5655cd)?_0x5655cd[_0x50c1('0x17')](_0x3ad3df):_0x5655cd[_0x50c1('0x1b')]['get'](_0x3ad3df);return await _0x5655cd['destroy'](),_0x22f803;}
23
+ const _0x2c3e=['addSuggestionData','appendChild','data','useAnonymousUser','TrackChangesEditing','plugins','create','result','getFullData','set','editorCreator','Pagination','config','name','trackChangesData','push','init','map','createElement','pluginName','getUser','get','createDocumentFragment','_adapter','define','constructor','getRootNames','addUser','getDataWithDiscardedSuggestions','document','execute','reduce','requires','editor','TrackChangesDataGetter','div','end','destroy','model'];(function(_0x4ecfc5,_0x2c3e6f){const _0x4b1a16=function(_0x105eae){while(--_0x105eae){_0x4ecfc5['push'](_0x4ecfc5['shift']());}};_0x4b1a16(++_0x2c3e6f);}(_0x2c3e,0x1af));const _0x4b1a=function(_0x4ecfc5,_0x2c3e6f){_0x4ecfc5=_0x4ecfc5-0x0;let _0x4b1a16=_0x2c3e[_0x4ecfc5];return _0x4b1a16;};import{Plugin as _0x158137}from'ckeditor5/src/core.js';import{CKEditorError as _0xbd593}from'ckeditor5/src/utils.js';import _0x3d386c from'./trackchangesediting.js';import{sanitizeEditorConfig as _0x23242e}from'ckeditor5-collaboration/src/collaboration-core.js';const T=[_0x4b1a('0x9')];export default class P extends _0x158137{static get[_0x4b1a('0x1e')](){return[_0x3d386c];}static get[_0x4b1a('0x11')](){return'TrackChangesData';}[_0x4b1a('0xe')](){const _0xfddbd8=this[_0x4b1a('0x1f')];if(_0xfddbd8[_0x4b1a('0xa')][_0x4b1a('0x16')]('trackChangesData.editorCreator',_0x523aaf=>{const _0x382982=_0xfddbd8[_0x4b1a('0x24')][_0x4b1a('0x1b')][_0x4b1a('0x18')]()[_0x4b1a('0x1d')]((_0x30590c,_0x48e36b)=>(_0x30590c[_0x48e36b]='',_0x30590c),{});return _0xfddbd8[_0x4b1a('0x17')][_0x4b1a('0x4')](_0x382982,_0x523aaf);}),'function'!=typeof _0xfddbd8['config'][_0x4b1a('0x13')](_0x4b1a('0xc'))['editorCreator'])throw new _0xbd593('track-changes-data-invalid-editor-creator');}['getDataWithAcceptedSuggestions'](_0x5f03e4){return N(this[_0x4b1a('0x1f')],!0x0,_0x5f03e4);}[_0x4b1a('0x1a')](_0x20fc35){return N(this[_0x4b1a('0x1f')],!0x1,_0x20fc35);}}class D extends _0x158137{static get[_0x4b1a('0x11')](){return _0x4b1a('0x20');}constructor(_0xdf5c16){super(_0xdf5c16),this[_0x4b1a('0x5')]=_0x4b1a('0x22');}[_0x4b1a('0xe')](){this[_0x4b1a('0x1f')]['plugins']['get']('CommentsRepository')[_0x4b1a('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[_0x4b1a('0x1f')][_0x4b1a('0x3')][_0x4b1a('0x13')](_0x4b1a('0x2'))[_0x4b1a('0x15')]=null;}}function v(_0x1e6bd0){return void 0x0!==_0x1e6bd0['getRootsAttributes'];}async function N(_0xa14fa1,_0x2d1d5c,_0x32be1e){const _0x32994b=_0x23242e(_0xa14fa1,T);_0x32994b[_0x4b1a('0x3')][_0x4b1a('0xd')](_0x3d386c,D),_0x32994b['rootsAttributes']=v(_0xa14fa1)?_0xa14fa1['getRootsAttributes']():void 0x0;const _0x53ee8c=document[_0x4b1a('0x14')](),_0x16eb52=_0xa14fa1['config']['get'](_0x4b1a('0xc'))[_0x4b1a('0x8')],_0x48f527=await _0x16eb52(_0x32994b,()=>function(_0x54dced){const _0x3b3361=document[_0x4b1a('0x10')](_0x4b1a('0x21'));return _0x54dced[_0x4b1a('0x26')](_0x3b3361),_0x3b3361;}(_0x53ee8c));!function(_0x923fc1,_0xd1819f){const _0x250880=_0x923fc1[_0x4b1a('0x24')][_0x4b1a('0x1b')][_0x4b1a('0x18')]()[_0x4b1a('0x1d')]((_0xb46380,_0x4ad408)=>(_0xb46380[_0x4ad408]=_0x923fc1[_0x4b1a('0x0')]['get']({'rootName':_0x4ad408}),_0xb46380),{}),_0x432ebf=_0x923fc1['plugins'][_0x4b1a('0x13')]('Users')['users'][_0x4b1a('0xf')](_0x5f2e94=>({'id':_0x5f2e94['id'],'name':_0x5f2e94[_0x4b1a('0xb')]})),_0x2653be=_0x923fc1[_0x4b1a('0x3')][_0x4b1a('0x13')](_0x4b1a('0x2'))['getSuggestions']({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x215ced=_0xd1819f['plugins']['get']('Users'),_0x44b8ad=_0xd1819f[_0x4b1a('0x3')]['get']('TrackChangesEditing');for(const _0x17c7b2 of _0x432ebf)_0x215ced[_0x4b1a('0x12')](_0x17c7b2['id'])||_0x215ced[_0x4b1a('0x19')](_0x17c7b2);_0x215ced['me']||_0x215ced[_0x4b1a('0x1')]();for(const _0x325163 of _0x2653be)_0x44b8ad[_0x4b1a('0x25')](_0x325163);_0xd1819f[_0x4b1a('0x0')][_0x4b1a('0x7')](_0x250880);}(_0xa14fa1,_0x48f527),_0x48f527[_0x4b1a('0x1c')](_0x2d1d5c?'acceptAllSuggestions':'discardAllSuggestions');const _0x352839=v(_0x48f527)?_0x48f527[_0x4b1a('0x6')](_0x32be1e):_0x48f527[_0x4b1a('0x0')][_0x4b1a('0x13')](_0x32be1e);return await _0x48f527[_0x4b1a('0x23')](),_0x352839;}