@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20231218.0 → 0.0.0-nightly-20231220.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 _0x17f8=['_isDataLoaded','data','attributes','markers','next','getMarkers','map','hasComments','subType','_onAccept','removeAttribute','change','set','clear','removeMarkers','getFirstMarker','from','author','filter','split','createdAt','substr','_model','nodeAfter','nodeBefore','isIntersecting','length','addMarkerName','getRange','push','toJSON','end','removeMarker','addMarker','_onAttributesChange','commentThread','getMarkerNames','_markerNames','creator','isExternal','isIntersectingWithRange','accept','get','@external','getFirstRange','getRanges','isMultiRange','getItems','head','authoredAt','previous','_saved','getMultiRangeId','discard','suggestion:','size','addRange','type'];(function(_0x2f960d,_0x17f8ec){const _0x191912=function(_0x4dccdb){while(--_0x4dccdb){_0x2f960d['push'](_0x2f960d['shift']());}};_0x191912(++_0x17f8ec);}(_0x17f8,0x12c));const _0x1919=function(_0x2f960d,_0x17f8ec){_0x2f960d=_0x2f960d-0x0;let _0x191912=_0x17f8[_0x2f960d];return _0x191912;};import{Element as _0x19bb55}from'ckeditor5/src/engine.js';import{ObservableMixin as _0x59e4de,uid as _0x14778f}from'ckeditor5/src/utils.js';import{cloneDeep as _0x28ed89,isEqual as _0xdbe7e,set as _0x32c908,unset as _0x5d0db8}from'lodash-es';export default class u extends _0x59e4de(){constructor(_0x5dd326,_0x3e661a){super(),this[_0x1919('0x30')]=!0x1,this['id']=_0x3e661a['id'],this['type']=_0x3e661a['type'],this[_0x1919('0x38')]=_0x3e661a[_0x1919('0x38')]||null,this[_0x1919('0x7')]=_0x3e661a[_0x1919('0x7')],this[_0x1919('0x1c')]=_0x3e661a[_0x1919('0x1c')]||_0x3e661a[_0x1919('0x7')],this[_0x1919('0x1d')]=Boolean(_0x3e661a[_0x1919('0x32')]&&_0x3e661a[_0x1919('0x32')][_0x1919('0x21')]),this[_0x1919('0x31')]=null,this[_0x1919('0xc')]=_0x5dd326,this['_onAccept']=_0x3e661a['onAccept'],this['_onDiscard']=_0x3e661a['onDiscard'],this[_0x1919('0x18')]=_0x3e661a['onAttributesChange'],this[_0x1919('0x1b')]=new Set(),this[_0x1919('0xa')]=null,this['set'](_0x1919('0x27'),null),this[_0x1919('0x2')](_0x1919('0x32'),_0x3e661a[_0x1919('0x32')]||{}),this['set']('previous',null),this['set']('next',null),this[_0x1919('0x2')](_0x1919('0x19'),null),this['set'](_0x1919('0x29'),!0x1),this['decorate']('accept'),this['decorate']('discard');}get[_0x1919('0x26')](){let _0x106f7e=this;for(;_0x106f7e[_0x1919('0x28')];)_0x106f7e=_0x106f7e['previous'];return _0x106f7e;}get[_0x1919('0x37')](){return!!this[_0x1919('0x19')]&&this[_0x1919('0x19')][_0x1919('0x10')]>0x0;}get[_0x1919('0x24')](){if(0x0==this[_0x1919('0x1b')][_0x1919('0x2d')])return!0x1;return 0x6==Array[_0x1919('0x6')](this[_0x1919('0x1b')])[0x0][_0x1919('0x9')](':')[_0x1919('0x10')];}get['isInContent'](){return null!==this[_0x1919('0x5')]();}[_0x1919('0x11')](_0x9b7bf){this['_markerNames']['add'](_0x9b7bf);}['getMarkerNames'](){return Array[_0x1919('0x6')](this[_0x1919('0x1b')]);}[_0x1919('0x35')](){return this[_0x1919('0x1a')]()[_0x1919('0x36')](_0x1ab2bf=>this['_model'][_0x1919('0x33')][_0x1919('0x20')](_0x1ab2bf))[_0x1919('0x8')](_0x388b69=>_0x388b69);}['getFirstMarker'](){return this[_0x1919('0x35')]()[0x0]||null;}[_0x1919('0x4')](){this[_0x1919('0xc')][_0x1919('0x1')](_0x53d081=>{for(const _0x1e62ce of this[_0x1919('0x35')]())_0x53d081[_0x1919('0x16')](_0x1e62ce);}),this[_0x1919('0x1b')][_0x1919('0x3')]();}['removeMarker'](_0x2ed5e1){this[_0x1919('0xc')]['change'](_0xf3e99d=>{_0xf3e99d[_0x1919('0x16')](_0x2ed5e1);}),this['_markerNames']['delete'](_0x2ed5e1);}[_0x1919('0x2e')](_0x41983d){const _0x1df1b2=_0x1919('0x2c')+this['type']+':'+this[_0x1919('0x38')]+':'+this['id']+':'+this[_0x1919('0x1c')]['id']+':'+u[_0x1919('0x2a')]();this[_0x1919('0x11')](_0x1df1b2),this[_0x1919('0xc')][_0x1919('0x1')](_0x594c17=>{_0x594c17[_0x1919('0x17')](_0x1df1b2,{'range':_0x41983d,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x1919('0x1e')](_0x4af2f5){for(const _0x4d992d of this[_0x1919('0x23')]())if(_0x4d992d[_0x1919('0xf')](_0x4af2f5))return!0x0;return!0x1;}['getRanges'](){return this[_0x1919('0x35')]()[_0x1919('0x36')](_0x53ec94=>_0x53ec94[_0x1919('0x12')]());}[_0x1919('0x25')](){return this[_0x1919('0x23')]()['reduce']((_0x3354b7,_0x5096de)=>[..._0x3354b7,..._0x5096de[_0x1919('0x25')]()],[]);}[_0x1919('0x22')](){var _0x475ac2;return(null===(_0x475ac2=this[_0x1919('0x5')]())||void 0x0===_0x475ac2?void 0x0:_0x475ac2[_0x1919('0x12')]())||null;}['getContainedElement'](){const _0xa82182=this[_0x1919('0x23')]();if(0x1!=_0xa82182[_0x1919('0x10')])return null;const _0x28bdb6=_0xa82182[0x0],_0xe80ad=_0x28bdb6['start'][_0x1919('0xd')],_0x51449d=_0x28bdb6[_0x1919('0x15')][_0x1919('0xe')];return _0xe80ad instanceof _0x19bb55?_0xe80ad!=_0x51449d?null:_0xe80ad:null;}[_0x1919('0x1f')](){this[_0x1919('0x39')](this['getRanges'](),this[_0x1919('0x31')],this['attributes']),this[_0x1919('0x4')]();}[_0x1919('0x2b')](){this['_onDiscard'](this[_0x1919('0x23')](),this[_0x1919('0x31')],this[_0x1919('0x32')]),this[_0x1919('0x4')]();}['getAllAdjacentSuggestions'](){const _0x2b10eb=[];let _0x5f3890=this[_0x1919('0x26')];for(;_0x5f3890;)_0x2b10eb[_0x1919('0x13')](_0x5f3890),_0x5f3890=_0x5f3890[_0x1919('0x34')];return _0x2b10eb;}['setAttribute'](_0x36bb13,_0x5997d2){const _0xdf4f33=_0x28ed89(this[_0x1919('0x32')]);_0x32c908(_0xdf4f33,_0x36bb13,_0x5997d2),_0xdbe7e(_0xdf4f33,this['attributes'])||(this['attributes']=_0xdf4f33,this[_0x1919('0x18')](_0xdf4f33));}[_0x1919('0x0')](_0x3c6bfb){const _0x35e184=_0x28ed89(this[_0x1919('0x32')]);_0x5d0db8(_0x35e184,_0x3c6bfb),_0xdbe7e(_0x35e184,this['attributes'])||(this[_0x1919('0x32')]=_0x35e184,this['_onAttributesChange'](this[_0x1919('0x32')]));}[_0x1919('0x14')](){return{'id':this['id'],'type':this[_0x1919('0x38')]?this[_0x1919('0x2f')]+':'+this['subType']:this[_0x1919('0x2f')],'authorId':this[_0x1919('0x1c')]['id'],'createdAt':this[_0x1919('0xa')],'hasComments':this[_0x1919('0x37')],'data':this['data'],'attributes':this[_0x1919('0x32')]};}static[_0x1919('0x2a')](){return _0x14778f()[_0x1919('0xb')](0x1,0x5);}}
23
+ const _0xfd97=['reduce','filter','start','decorate','isInContent','size','nodeAfter','accept','isIntersectingWithRange','creator','_model','getFirstMarker','nodeBefore','data','set','removeAttribute','add','getFirstRange','getMarkers','addRange','getMarkerNames','attributes','removeMarker','createdAt','suggestion:','authoredAt','push','author','_onAccept','_isDataLoaded','_markerNames','_saved','subType','_onDiscard','map','isExternal','getAllAdjacentSuggestions','change','_onAttributesChange','commentThread','removeMarkers','getRanges','getItems','getMultiRangeId','type','isMultiRange','length','delete','end','from','clear','@external','toJSON','onAccept','discard','previous','next'];(function(_0x14b6b5,_0xfd9778){const _0x1e73f2=function(_0x400a89){while(--_0x400a89){_0x14b6b5['push'](_0x14b6b5['shift']());}};_0x1e73f2(++_0xfd9778);}(_0xfd97,0xbb));const _0x1e73=function(_0x14b6b5,_0xfd9778){_0x14b6b5=_0x14b6b5-0x0;let _0x1e73f2=_0xfd97[_0x14b6b5];return _0x1e73f2;};import{Element as _0xbc6f05}from'ckeditor5/src/engine.js';import{ObservableMixin as _0x1ea3f4,uid as _0x4c068a}from'ckeditor5/src/utils.js';import{cloneDeep as _0x3b24d1,isEqual as _0x45da0a,set as _0x2964be,unset as _0x238117}from'lodash-es';export default class u extends _0x1ea3f4(){constructor(_0x4466a9,_0x56d804){super(),this[_0x1e73('0xd')]=!0x1,this['id']=_0x56d804['id'],this['type']=_0x56d804[_0x1e73('0x1c')],this['subType']=_0x56d804[_0x1e73('0x10')]||null,this[_0x1e73('0xb')]=_0x56d804[_0x1e73('0xb')],this[_0x1e73('0x32')]=_0x56d804[_0x1e73('0x32')]||_0x56d804[_0x1e73('0xb')],this[_0x1e73('0x13')]=Boolean(_0x56d804['attributes']&&_0x56d804[_0x1e73('0x5')][_0x1e73('0x23')]),this['data']=null,this[_0x1e73('0x33')]=_0x4466a9,this[_0x1e73('0xc')]=_0x56d804[_0x1e73('0x25')],this['_onDiscard']=_0x56d804['onDiscard'],this[_0x1e73('0x16')]=_0x56d804['onAttributesChange'],this[_0x1e73('0xe')]=new Set(),this[_0x1e73('0x7')]=null,this['set'](_0x1e73('0x9'),null),this[_0x1e73('0x37')](_0x1e73('0x5'),_0x56d804[_0x1e73('0x5')]||{}),this[_0x1e73('0x37')](_0x1e73('0x27'),null),this[_0x1e73('0x37')](_0x1e73('0x28'),null),this[_0x1e73('0x37')]('commentThread',null),this[_0x1e73('0x37')](_0x1e73('0xf'),!0x1),this[_0x1e73('0x2c')](_0x1e73('0x30')),this[_0x1e73('0x2c')](_0x1e73('0x26'));}get['head'](){let _0x19b6d0=this;for(;_0x19b6d0['previous'];)_0x19b6d0=_0x19b6d0[_0x1e73('0x27')];return _0x19b6d0;}get['hasComments'](){return!!this['commentThread']&&this[_0x1e73('0x17')][_0x1e73('0x1e')]>0x0;}get[_0x1e73('0x1d')](){if(0x0==this[_0x1e73('0xe')][_0x1e73('0x2e')])return!0x1;return 0x6==Array[_0x1e73('0x21')](this[_0x1e73('0xe')])[0x0]['split'](':')[_0x1e73('0x1e')];}get[_0x1e73('0x2d')](){return null!==this[_0x1e73('0x34')]();}['addMarkerName'](_0x4e0e9a){this['_markerNames'][_0x1e73('0x0')](_0x4e0e9a);}[_0x1e73('0x4')](){return Array[_0x1e73('0x21')](this[_0x1e73('0xe')]);}[_0x1e73('0x2')](){return this[_0x1e73('0x4')]()[_0x1e73('0x12')](_0xfafbc1=>this[_0x1e73('0x33')]['markers']['get'](_0xfafbc1))[_0x1e73('0x2a')](_0x19274f=>_0x19274f);}[_0x1e73('0x34')](){return this['getMarkers']()[0x0]||null;}[_0x1e73('0x18')](){this[_0x1e73('0x33')][_0x1e73('0x15')](_0x569752=>{for(const _0x4aebff of this[_0x1e73('0x2')]())_0x569752[_0x1e73('0x6')](_0x4aebff);}),this[_0x1e73('0xe')][_0x1e73('0x22')]();}[_0x1e73('0x6')](_0x5da617){this[_0x1e73('0x33')][_0x1e73('0x15')](_0x46f924=>{_0x46f924[_0x1e73('0x6')](_0x5da617);}),this[_0x1e73('0xe')][_0x1e73('0x1f')](_0x5da617);}[_0x1e73('0x3')](_0x172429){const _0x15aaec=_0x1e73('0x8')+this[_0x1e73('0x1c')]+':'+this[_0x1e73('0x10')]+':'+this['id']+':'+this['creator']['id']+':'+u[_0x1e73('0x1b')]();this['addMarkerName'](_0x15aaec),this[_0x1e73('0x33')][_0x1e73('0x15')](_0x4376a0=>{_0x4376a0['addMarker'](_0x15aaec,{'range':_0x172429,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x1e73('0x31')](_0x587e79){for(const _0x3a92fa of this[_0x1e73('0x19')]())if(_0x3a92fa['isIntersecting'](_0x587e79))return!0x0;return!0x1;}[_0x1e73('0x19')](){return this[_0x1e73('0x2')]()[_0x1e73('0x12')](_0x1c6c21=>_0x1c6c21['getRange']());}['getItems'](){return this[_0x1e73('0x19')]()[_0x1e73('0x29')]((_0x5366a2,_0x4ed45e)=>[..._0x5366a2,..._0x4ed45e[_0x1e73('0x1a')]()],[]);}[_0x1e73('0x1')](){var _0x58c7ac;return(null===(_0x58c7ac=this[_0x1e73('0x34')]())||void 0x0===_0x58c7ac?void 0x0:_0x58c7ac['getRange']())||null;}['getContainedElement'](){const _0x107627=this[_0x1e73('0x19')]();if(0x1!=_0x107627[_0x1e73('0x1e')])return null;const _0x5925ec=_0x107627[0x0],_0x37c990=_0x5925ec[_0x1e73('0x2b')][_0x1e73('0x2f')],_0x14fee9=_0x5925ec[_0x1e73('0x20')][_0x1e73('0x35')];return _0x37c990 instanceof _0xbc6f05?_0x37c990!=_0x14fee9?null:_0x37c990:null;}['accept'](){this[_0x1e73('0xc')](this[_0x1e73('0x19')](),this[_0x1e73('0x36')],this[_0x1e73('0x5')]),this[_0x1e73('0x18')]();}[_0x1e73('0x26')](){this[_0x1e73('0x11')](this[_0x1e73('0x19')](),this[_0x1e73('0x36')],this[_0x1e73('0x5')]),this[_0x1e73('0x18')]();}[_0x1e73('0x14')](){const _0x536171=[];let _0xb4dcb3=this['head'];for(;_0xb4dcb3;)_0x536171[_0x1e73('0xa')](_0xb4dcb3),_0xb4dcb3=_0xb4dcb3[_0x1e73('0x28')];return _0x536171;}['setAttribute'](_0x122cc4,_0x22bea1){const _0x33fdf2=_0x3b24d1(this[_0x1e73('0x5')]);_0x2964be(_0x33fdf2,_0x122cc4,_0x22bea1),_0x45da0a(_0x33fdf2,this['attributes'])||(this['attributes']=_0x33fdf2,this[_0x1e73('0x16')](_0x33fdf2));}[_0x1e73('0x38')](_0x4acc65){const _0x2ce835=_0x3b24d1(this[_0x1e73('0x5')]);_0x238117(_0x2ce835,_0x4acc65),_0x45da0a(_0x2ce835,this['attributes'])||(this[_0x1e73('0x5')]=_0x2ce835,this[_0x1e73('0x16')](this[_0x1e73('0x5')]));}[_0x1e73('0x24')](){return{'id':this['id'],'type':this[_0x1e73('0x10')]?this[_0x1e73('0x1c')]+':'+this[_0x1e73('0x10')]:this[_0x1e73('0x1c')],'authorId':this[_0x1e73('0x32')]['id'],'createdAt':this['createdAt'],'hasComments':this['hasComments'],'data':this['data'],'attributes':this[_0x1e73('0x5')]};}static[_0x1e73('0x1b')](){return _0x4c068a()['substr'](0x1,0x5);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x10fa=['elementEnd','add','name','softBreak','*Merge:*\x20%0','_handleAttributeSuggestionDescription','getItemLabel','isEqual','_handleRenameSuggestionDescription','matchingCallback','addFormat','*Split:*\x20%0','deletion','_customCallbacks','has','type','nodeAfter','remove','_locale','*Set\x20format:*\x20%0','key','*Remove:*\x20%0','getDescriptions','_attributeLabels','element','attribute','data','Object','_addDescriptionItems','*Remove\x20format:*\x20%0','format','label','ELEMENT_SPACE','text','pop','replace','*Insert:*\x20%0','isObject','Container','insertion','checkChild','addContainer','isEmpty','_schema','map','previousSibling','getWalker','push','length','get','REPLACE_TEXT','isInContent','set','subType','EmptyContainer','_itemLabels','removeObject','_handleCustomCallbackDescription','removeEmptyContainer','quantity','registerDescriptionCallback','match','start','addObject','nextSibling','item','_itemLabelsCallbacks','$1\x20$2','removeFormat','registerAttributeLabel','join','getFirstRange','indexOf','skip','registerElementLabel'];(function(_0x39583b,_0x10fa0f){const _0x2b74c3=function(_0x258c57){while(--_0x258c57){_0x39583b['push'](_0x39583b['shift']());}};_0x2b74c3(++_0x10fa0f);}(_0x10fa,0x73));const _0x2b74=function(_0x39583b,_0x10fa0f){_0x39583b=_0x39583b-0x0;let _0x2b74c3=_0x10fa[_0x39583b];return _0x2b74c3;};import{getTranslation as _0x514121}from'./utils/common-translations.js';import{priorities as _0x591abd,insertToPriorityArray as _0x10d9fc}from'ckeditor5/src/utils.js';import{renameAttributeKey as _0x4cbeac}from'./trackchangesediting.js';export default class f{constructor(_0x527d00,_0x404127){this[_0x2b74('0x30')]=[],this['_itemLabels']=new Map(),this['_itemLabelsCallbacks']=[],this['_attributeLabels']=new Map(),this['_schema']=_0x527d00,this[_0x2b74('0x35')]=_0x404127;}[_0x2b74('0x39')](_0x2367a0){const _0x401eb1=[],_0x417db7=new Set(),_0x45b3fc=new Set();for(let _0x40e07d=0x0;_0x40e07d<_0x2367a0['length'];_0x40e07d++){const _0x2e13e1=_0x2367a0[_0x40e07d];if(!_0x2e13e1[_0x2b74('0xb')])continue;const _0x127740=this[_0x2b74('0x11')](_0x2e13e1);if(_0x127740){if(null!=_0x2e13e1[_0x2b74('0xd')]){if(_0x417db7['has'](_0x2e13e1['subType']))continue;_0x417db7[_0x2b74('0x24')](_0x2e13e1[_0x2b74('0xd')]);}_0x401eb1[_0x2b74('0x7')](_0x127740);}else{if(_0x2b74('0x3c')!=_0x2e13e1[_0x2b74('0x32')])'insertion'!=_0x2e13e1[_0x2b74('0x32')]&&_0x2b74('0x2f')!=_0x2e13e1[_0x2b74('0x32')]||this['_handleInsertRemoveSuggestionDescription'](_0x401eb1,_0x2e13e1,_0x2367a0[_0x40e07d+0x1]);else{const _0x10a244=_0x2e13e1['data'][_0x2b74('0x37')];if(_0x45b3fc['has'](_0x10a244))continue;_0x45b3fc[_0x2b74('0x24')](_0x2e13e1[_0x2b74('0x3d')][_0x2b74('0x37')]),_0x10a244==_0x4cbeac?this[_0x2b74('0x2b')](_0x401eb1,_0x2e13e1):this[_0x2b74('0x28')](_0x401eb1,_0x2e13e1);}}}return this['_resolveDescriptionItems'](_0x401eb1);}[_0x2b74('0x14')](_0x400af8){this[_0x2b74('0x30')][_0x2b74('0x7')](_0x400af8);}[_0x2b74('0x22')](_0x3270f2,_0x21a9dc,_0x479b5b=_0x591abd['normal']){'function'==typeof _0x3270f2?_0x10d9fc(this[_0x2b74('0x1a')],{'matchingCallback':_0x3270f2,'label':_0x21a9dc,'priority':_0x479b5b}):this[_0x2b74('0xf')]['set'](_0x3270f2,_0x21a9dc);}[_0x2b74('0x1d')](_0x15161b,_0x4f347c){this['_attributeLabels'][_0x2b74('0xc')](_0x15161b,_0x4f347c);}[_0x2b74('0x29')](_0x194049,_0x372afa=0x1){let _0x399a11;for(const _0x37ee05 of this[_0x2b74('0x1a')])if(_0x37ee05[_0x2b74('0x2c')](_0x194049)){_0x399a11=_0x37ee05[_0x2b74('0x42')];break;}return _0x399a11||(_0x399a11=this['_itemLabels'][_0x2b74('0x9')](_0x194049['name'])),_0x399a11?_0x399a11(_0x372afa):0x1!==_0x372afa?_0x372afa+'\x20'+_0x194049[_0x2b74('0x25')]+'s':''+_0x194049[_0x2b74('0x25')];}['_addDescriptionItems'](_0x47e3bc,_0x25da14){const _0x4860fc=_0x25da14[_0x2b74('0x1f')]()[_0x2b74('0x6')](),_0x1bac41=_0x2b74('0x4a')==_0x25da14[_0x2b74('0x32')]?_0x2b74('0x24'):_0x2b74('0x34');for(const _0x2ae05f of _0x4860fc){const _0x375f5c=_0x2ae05f[_0x2b74('0x19')],_0x57bf36=_0x47e3bc[_0x47e3bc[_0x2b74('0x8')]-0x1];if(_0x375f5c['is']('$textProxy'))_0x57bf36&&_0x57bf36[_0x2b74('0x32')][_0x2b74('0x20')](_0x2b74('0x49'))>-0x1&&_0x47e3bc[_0x2b74('0x45')](),_0x57bf36&&_0x2b74('0x44')==_0x57bf36[_0x2b74('0x32')]?_0x57bf36[_0x1bac41]+=_0x375f5c[_0x2b74('0x3d')]:_0x47e3bc['push']({'type':'text','add':_0x2b74('0x24')==_0x1bac41?_0x375f5c[_0x2b74('0x3d')]:'','remove':_0x2b74('0x34')==_0x1bac41?_0x375f5c[_0x2b74('0x3d')]:''});else{if(this[_0x2b74('0x3')][_0x2b74('0x48')](_0x375f5c)){const _0x16a603=_0x375f5c;if(_0x57bf36&&_0x57bf36['type'][_0x2b74('0x20')](_0x2b74('0x49'))>-0x1&&_0x47e3bc[_0x2b74('0x45')](),_0x2b74('0x23')==_0x2ae05f[_0x2b74('0x32')])continue;_0x57bf36&&_0x57bf36[_0x2b74('0x32')]==_0x1bac41+_0x2b74('0x3e')&&_0x57bf36['element'][_0x2b74('0x25')]==_0x16a603[_0x2b74('0x25')]?_0x57bf36[_0x2b74('0x13')]++:_0x47e3bc[_0x2b74('0x7')]({'type':_0x1bac41+_0x2b74('0x3e'),'element':_0x16a603,'quantity':0x1}),_0x4860fc[_0x2b74('0x21')](_0x27ff42=>!('elementEnd'==_0x27ff42[_0x2b74('0x32')]&&_0x27ff42[_0x2b74('0x19')]==_0x375f5c));}else{if(this[_0x2b74('0x3')][_0x2b74('0x0')](_0x375f5c,'$text')||_0x375f5c['is'](_0x2b74('0x3b'),_0x2b74('0x26'))){const _0x328671=_0x375f5c;if(_0x2b74('0x24')==_0x1bac41&&'elementStart'==_0x2ae05f['type']||_0x2b74('0x34')==_0x1bac41&&_0x2b74('0x23')==_0x2ae05f[_0x2b74('0x32')])continue;if(_0x57bf36&&-0x1==_0x57bf36[_0x2b74('0x32')][_0x2b74('0x20')](_0x2b74('0x49'))){_0x2b74('0x44')==_0x57bf36[_0x2b74('0x32')]&&(_0x57bf36[_0x1bac41]+='\x0a');continue;}let _0x320ba7;if(_0x320ba7=_0x2b74('0x24')==_0x1bac41?_0x328671[_0x2b74('0x18')]&&!this[_0x2b74('0x3')]['isObject'](_0x328671[_0x2b74('0x18')])?_0x328671[_0x2b74('0x18')]:null:_0x328671['previousSibling']&&!this[_0x2b74('0x3')][_0x2b74('0x48')](_0x328671[_0x2b74('0x5')])?_0x328671['previousSibling']:null,_0x328671[_0x2b74('0x2')]||_0x320ba7&&_0x320ba7[_0x2b74('0x2')]){const _0x530817=_0x320ba7&&_0x320ba7[_0x2b74('0x2')]?_0x320ba7:_0x328671;_0x57bf36&&_0x57bf36['type']==_0x1bac41+_0x2b74('0xe')&&_0x57bf36[_0x2b74('0x3b')][_0x2b74('0x25')]==_0x530817['name']?_0x57bf36['quantity']++:_0x47e3bc[_0x2b74('0x7')]({'type':_0x1bac41+_0x2b74('0xe'),'element':_0x530817,'quantity':0x1});}else _0x47e3bc[_0x2b74('0x7')]({'type':_0x1bac41+_0x2b74('0x49'),'element':_0x328671});}}}}}['_resolveDescriptionItems'](_0x2bb9e7){const _0x1ea92e=this[_0x2b74('0x35')],_0x2ed628=[],_0x12abd9=[],_0x5919cc=[];for(const _0x4e5c7f of _0x2bb9e7)switch(_0x4e5c7f[_0x2b74('0x32')]){case _0x2b74('0x44'):if(_0x4e5c7f[_0x2b74('0x24')]=_0x4e5c7f[_0x2b74('0x24')][_0x2b74('0x46')](/(\S)\u000A+(\S)/g,_0x2b74('0x1b'))['replace'](/\u000A/g,''),_0x4e5c7f[_0x2b74('0x34')]=_0x4e5c7f[_0x2b74('0x34')][_0x2b74('0x46')](/(\S)\u000A+(\S)/g,'$1\x20$2')[_0x2b74('0x46')](/\u000A/g,''),''!=_0x4e5c7f[_0x2b74('0x24')]&&''!=_0x4e5c7f[_0x2b74('0x34')]){_0x2ed628['push']({'type':_0x2b74('0x46'),'content':_0x514121(_0x1ea92e,_0x2b74('0xa'),['\x22'+_0x4e5c7f[_0x2b74('0x34')]+'\x22','\x22'+_0x4e5c7f[_0x2b74('0x24')]+'\x22'])});continue;}if(null!=_0x4e5c7f[_0x2b74('0x24')][_0x2b74('0x15')](/^ +$/)){_0x2ed628['push']({'type':'insertion','content':_0x514121(_0x1ea92e,_0x2b74('0x47'),_0x514121(_0x1ea92e,_0x2b74('0x43'),_0x4e5c7f[_0x2b74('0x24')][_0x2b74('0x8')]))});continue;}if(null!=_0x4e5c7f[_0x2b74('0x34')][_0x2b74('0x15')](/^ +$/)){_0x2ed628['push']({'type':_0x2b74('0x2f'),'content':_0x514121(_0x1ea92e,'*Remove:*\x20%0',_0x514121(_0x1ea92e,_0x2b74('0x43'),_0x4e5c7f[_0x2b74('0x34')][_0x2b74('0x8')]))});continue;}if(''!=_0x4e5c7f[_0x2b74('0x24')]){_0x2ed628[_0x2b74('0x7')]({'type':_0x2b74('0x4a'),'content':_0x514121(_0x1ea92e,'*Insert:*\x20%0','\x22'+_0x4e5c7f[_0x2b74('0x24')]+'\x22')});continue;}_0x2ed628['push']({'type':_0x2b74('0x2f'),'content':_0x514121(_0x1ea92e,_0x2b74('0x38'),'\x22'+_0x4e5c7f['remove']+'\x22')});continue;case'addEmptyContainer':case _0x2b74('0x17'):_0x2ed628['push']({'type':_0x2b74('0x4a'),'content':_0x514121(_0x1ea92e,'*Insert:*\x20%0',this['getItemLabel'](_0x4e5c7f['element'],_0x4e5c7f[_0x2b74('0x13')]))});continue;case _0x2b74('0x12'):case _0x2b74('0x10'):_0x2ed628['push']({'type':'deletion','content':_0x514121(_0x1ea92e,'*Remove:*\x20%0',this[_0x2b74('0x29')](_0x4e5c7f[_0x2b74('0x3b')],_0x4e5c7f['quantity']))});continue;case _0x2b74('0x1'):_0x2ed628[_0x2b74('0x7')]({'type':'insertion','content':_0x514121(_0x1ea92e,_0x2b74('0x2e'),this[_0x2b74('0x29')](_0x4e5c7f['element'],_0x4e5c7f[_0x2b74('0x13')]))});continue;case'removeContainer':_0x2ed628[_0x2b74('0x7')]({'type':_0x2b74('0x2f'),'content':_0x514121(_0x1ea92e,_0x2b74('0x27'),this[_0x2b74('0x29')](_0x4e5c7f[_0x2b74('0x3b')],_0x4e5c7f['quantity']))});continue;case _0x2b74('0x2d'):_0x12abd9[_0x2b74('0x7')](_0x4e5c7f[_0x2b74('0x37')]);continue;case'removeFormat':_0x5919cc[_0x2b74('0x7')](_0x4e5c7f[_0x2b74('0x37')]);continue;default:_0x2ed628[_0x2b74('0x7')](_0x4e5c7f);}if(_0x12abd9[_0x2b74('0x8')]){const _0x5407d3=_0x12abd9[_0x2b74('0x4')](_0x631af3=>this[_0x2b74('0x3a')][_0x2b74('0x31')](_0x631af3)?this['_attributeLabels'][_0x2b74('0x9')](_0x631af3):_0x631af3)['join'](',\x20');_0x2ed628['push']({'type':_0x2b74('0x41'),'content':_0x514121(this[_0x2b74('0x35')],_0x2b74('0x36'),_0x5407d3)});}if(_0x5919cc[_0x2b74('0x8')]){const _0x253403=_0x5919cc[_0x2b74('0x4')](_0x25132e=>this['_attributeLabels'][_0x2b74('0x31')](_0x25132e)?this[_0x2b74('0x3a')][_0x2b74('0x9')](_0x25132e):_0x25132e)[_0x2b74('0x1e')](',\x20');_0x2ed628[_0x2b74('0x7')]({'type':_0x2b74('0x41'),'content':_0x514121(this[_0x2b74('0x35')],_0x2b74('0x40'),_0x253403)});}return _0x2ed628;}['_handleCustomCallbackDescription'](_0xa0e65f){for(const _0x397ad9 of this[_0x2b74('0x30')]){const _0x1cd127=_0x397ad9(_0xa0e65f);if(_0x1cd127&&'type'in _0x1cd127)return _0x1cd127;}}['_handleAttributeSuggestionDescription'](_0x284168,_0x401e07){const _0x533b4b=_0x401e07['data'],_0x29710a=void 0x0===_0x533b4b['newValue']?_0x2b74('0x1c'):_0x2b74('0x2d');_0x284168[_0x2b74('0x7')]({'type':_0x29710a,'key':_0x533b4b['key']});}['_handleRenameSuggestionDescription'](_0x2073e5,_0x1dd215){_0x2073e5['push']({'type':'format','content':_0x514121(this[_0x2b74('0x35')],'*Change\x20to:*\x20%0',this[_0x2b74('0x29')](_0x1dd215[_0x2b74('0x1f')]()[_0x2b74('0x16')][_0x2b74('0x33')],0x1))});}['_handleInsertRemoveSuggestionDescription'](_0x20a35c,_0x247797,_0x58c778){if(this[_0x2b74('0x3f')](_0x20a35c,_0x247797),_0x58c778&&_0x58c778['getFirstRange']()&&!_0x247797[_0x2b74('0x1f')]()['end'][_0x2b74('0x2a')](_0x58c778[_0x2b74('0x1f')]()[_0x2b74('0x16')])){const _0x56aba8=_0x20a35c[_0x20a35c[_0x2b74('0x8')]-0x1],_0x3d6c92=_0x2b74('0x4a')==_0x247797[_0x2b74('0x32')]?_0x2b74('0x24'):_0x2b74('0x34');_0x56aba8&&_0x2b74('0x44')==_0x56aba8[_0x2b74('0x32')]&&(_0x56aba8[_0x3d6c92]+='\x0a');}}}
23
+ const _0x4c1a=['_resolveDescriptionItems','Object','_customCallbacks','_schema','registerElementLabel','getDescriptions','remove','normal','type','length','item','pop','*Merge:*\x20%0','addContainer','addFormat','previousSibling','*Change\x20to:*\x20%0','*Split:*\x20%0','ELEMENT_SPACE','newValue','checkChild','addObject','element','subType','_addDescriptionItems','nextSibling','get','_handleAttributeSuggestionDescription','_locale','push','quantity','replace','$text','isEqual','_itemLabels','function','addEmptyContainer','_attributeLabels','*Insert:*\x20%0','*Remove:*\x20%0','_handleRenameSuggestionDescription','end','$1\x20$2','_itemLabelsCallbacks','isInContent','isObject','has','nodeAfter','name','removeContainer','isEmpty','insertion','skip','match','registerAttributeLabel','add','text','map','elementEnd','format','removeFormat','deletion','key','_handleCustomCallbackDescription','join','*Set\x20format:*\x20%0','Container','data','start','getWalker','getItemLabel','matchingCallback','_handleInsertRemoveSuggestionDescription','attribute','set','indexOf','label','elementStart','*Remove\x20format:*\x20%0','getFirstRange','EmptyContainer'];(function(_0x5c2ec0,_0x4c1a31){const _0x17ad0f=function(_0x378df2){while(--_0x378df2){_0x5c2ec0['push'](_0x5c2ec0['shift']());}};_0x17ad0f(++_0x4c1a31);}(_0x4c1a,0x1e7));const _0x17ad=function(_0x5c2ec0,_0x4c1a31){_0x5c2ec0=_0x5c2ec0-0x0;let _0x17ad0f=_0x4c1a[_0x5c2ec0];return _0x17ad0f;};import{getTranslation as _0x5cebb4}from'./utils/common-translations.js';import{priorities as _0x58a560,insertToPriorityArray as _0x42910e}from'ckeditor5/src/utils.js';import{renameAttributeKey as _0xd6221a}from'./trackchangesediting.js';export default class f{constructor(_0xa706ed,_0x5ca8b0){this['_customCallbacks']=[],this[_0x17ad('0x21')]=new Map(),this[_0x17ad('0x2a')]=[],this[_0x17ad('0x24')]=new Map(),this[_0x17ad('0x2')]=_0xa706ed,this[_0x17ad('0x1b')]=_0x5ca8b0;}[_0x17ad('0x4')](_0x253eba){const _0x149b17=[],_0x20a770=new Set(),_0x8118b8=new Set();for(let _0x52c83c=0x0;_0x52c83c<_0x253eba[_0x17ad('0x8')];_0x52c83c++){const _0x416cea=_0x253eba[_0x52c83c];if(!_0x416cea[_0x17ad('0x2b')])continue;const _0x1ef3d5=this[_0x17ad('0x3e')](_0x416cea);if(_0x1ef3d5){if(null!=_0x416cea[_0x17ad('0x16')]){if(_0x20a770['has'](_0x416cea['subType']))continue;_0x20a770[_0x17ad('0x36')](_0x416cea[_0x17ad('0x16')]);}_0x149b17[_0x17ad('0x1c')](_0x1ef3d5);}else{if(_0x17ad('0x48')!=_0x416cea[_0x17ad('0x7')])_0x17ad('0x32')!=_0x416cea['type']&&_0x17ad('0x3c')!=_0x416cea[_0x17ad('0x7')]||this[_0x17ad('0x47')](_0x149b17,_0x416cea,_0x253eba[_0x52c83c+0x1]);else{const _0x3d21e9=_0x416cea['data'][_0x17ad('0x3d')];if(_0x8118b8['has'](_0x3d21e9))continue;_0x8118b8[_0x17ad('0x36')](_0x416cea[_0x17ad('0x42')][_0x17ad('0x3d')]),_0x3d21e9==_0xd6221a?this[_0x17ad('0x27')](_0x149b17,_0x416cea):this[_0x17ad('0x1a')](_0x149b17,_0x416cea);}}}return this[_0x17ad('0x50')](_0x149b17);}['registerDescriptionCallback'](_0x3363a5){this[_0x17ad('0x1')][_0x17ad('0x1c')](_0x3363a5);}[_0x17ad('0x3')](_0x16b4bf,_0x588ddb,_0x1a0526=_0x58a560[_0x17ad('0x6')]){_0x17ad('0x22')==typeof _0x16b4bf?_0x42910e(this[_0x17ad('0x2a')],{'matchingCallback':_0x16b4bf,'label':_0x588ddb,'priority':_0x1a0526}):this['_itemLabels'][_0x17ad('0x49')](_0x16b4bf,_0x588ddb);}[_0x17ad('0x35')](_0x29337a,_0x515e20){this[_0x17ad('0x24')][_0x17ad('0x49')](_0x29337a,_0x515e20);}[_0x17ad('0x45')](_0x5e63a7,_0x1f8dfe=0x1){let _0x42f979;for(const _0x54b0d0 of this['_itemLabelsCallbacks'])if(_0x54b0d0[_0x17ad('0x46')](_0x5e63a7)){_0x42f979=_0x54b0d0[_0x17ad('0x4b')];break;}return _0x42f979||(_0x42f979=this[_0x17ad('0x21')][_0x17ad('0x19')](_0x5e63a7['name'])),_0x42f979?_0x42f979(_0x1f8dfe):0x1!==_0x1f8dfe?_0x1f8dfe+'\x20'+_0x5e63a7[_0x17ad('0x2f')]+'s':''+_0x5e63a7[_0x17ad('0x2f')];}['_addDescriptionItems'](_0x56f94f,_0x46da02){const _0x29bd4c=_0x46da02['getFirstRange']()[_0x17ad('0x44')](),_0x17ef4f=_0x17ad('0x32')==_0x46da02['type']?_0x17ad('0x36'):_0x17ad('0x5');for(const _0x158a12 of _0x29bd4c){const _0x4d612c=_0x158a12[_0x17ad('0x9')],_0x57fa6c=_0x56f94f[_0x56f94f[_0x17ad('0x8')]-0x1];if(_0x4d612c['is']('$textProxy'))_0x57fa6c&&_0x57fa6c[_0x17ad('0x7')][_0x17ad('0x4a')](_0x17ad('0x41'))>-0x1&&_0x56f94f[_0x17ad('0xa')](),_0x57fa6c&&'text'==_0x57fa6c[_0x17ad('0x7')]?_0x57fa6c[_0x17ef4f]+=_0x4d612c[_0x17ad('0x42')]:_0x56f94f[_0x17ad('0x1c')]({'type':_0x17ad('0x37'),'add':'add'==_0x17ef4f?_0x4d612c[_0x17ad('0x42')]:'','remove':'remove'==_0x17ef4f?_0x4d612c[_0x17ad('0x42')]:''});else{if(this[_0x17ad('0x2')][_0x17ad('0x2c')](_0x4d612c)){const _0x33a579=_0x4d612c;if(_0x57fa6c&&_0x57fa6c[_0x17ad('0x7')][_0x17ad('0x4a')](_0x17ad('0x41'))>-0x1&&_0x56f94f[_0x17ad('0xa')](),_0x17ad('0x39')==_0x158a12[_0x17ad('0x7')])continue;_0x57fa6c&&_0x57fa6c[_0x17ad('0x7')]==_0x17ef4f+_0x17ad('0x0')&&_0x57fa6c['element']['name']==_0x33a579['name']?_0x57fa6c[_0x17ad('0x1d')]++:_0x56f94f[_0x17ad('0x1c')]({'type':_0x17ef4f+_0x17ad('0x0'),'element':_0x33a579,'quantity':0x1}),_0x29bd4c[_0x17ad('0x33')](_0x476d73=>!(_0x17ad('0x39')==_0x476d73[_0x17ad('0x7')]&&_0x476d73['item']==_0x4d612c));}else{if(this[_0x17ad('0x2')][_0x17ad('0x13')](_0x4d612c,_0x17ad('0x1f'))||_0x4d612c['is'](_0x17ad('0x15'),'softBreak')){const _0x2dd45d=_0x4d612c;if('add'==_0x17ef4f&&_0x17ad('0x4c')==_0x158a12['type']||_0x17ad('0x5')==_0x17ef4f&&_0x17ad('0x39')==_0x158a12['type'])continue;if(_0x57fa6c&&-0x1==_0x57fa6c[_0x17ad('0x7')][_0x17ad('0x4a')](_0x17ad('0x41'))){'text'==_0x57fa6c[_0x17ad('0x7')]&&(_0x57fa6c[_0x17ef4f]+='\x0a');continue;}let _0x34ec63;if(_0x34ec63=_0x17ad('0x36')==_0x17ef4f?_0x2dd45d['nextSibling']&&!this[_0x17ad('0x2')][_0x17ad('0x2c')](_0x2dd45d[_0x17ad('0x18')])?_0x2dd45d['nextSibling']:null:_0x2dd45d['previousSibling']&&!this[_0x17ad('0x2')][_0x17ad('0x2c')](_0x2dd45d[_0x17ad('0xe')])?_0x2dd45d[_0x17ad('0xe')]:null,_0x2dd45d[_0x17ad('0x31')]||_0x34ec63&&_0x34ec63[_0x17ad('0x31')]){const _0x2fb985=_0x34ec63&&_0x34ec63['isEmpty']?_0x34ec63:_0x2dd45d;_0x57fa6c&&_0x57fa6c[_0x17ad('0x7')]==_0x17ef4f+_0x17ad('0x4f')&&_0x57fa6c[_0x17ad('0x15')]['name']==_0x2fb985[_0x17ad('0x2f')]?_0x57fa6c[_0x17ad('0x1d')]++:_0x56f94f[_0x17ad('0x1c')]({'type':_0x17ef4f+_0x17ad('0x4f'),'element':_0x2fb985,'quantity':0x1});}else _0x56f94f['push']({'type':_0x17ef4f+_0x17ad('0x41'),'element':_0x2dd45d});}}}}}[_0x17ad('0x50')](_0x941c2a){const _0x30455b=this[_0x17ad('0x1b')],_0x126ef2=[],_0x2b5ef2=[],_0x3836b=[];for(const _0x51aba9 of _0x941c2a)switch(_0x51aba9[_0x17ad('0x7')]){case'text':if(_0x51aba9[_0x17ad('0x36')]=_0x51aba9[_0x17ad('0x36')][_0x17ad('0x1e')](/(\S)\u000A+(\S)/g,_0x17ad('0x29'))[_0x17ad('0x1e')](/\u000A/g,''),_0x51aba9[_0x17ad('0x5')]=_0x51aba9['remove'][_0x17ad('0x1e')](/(\S)\u000A+(\S)/g,_0x17ad('0x29'))[_0x17ad('0x1e')](/\u000A/g,''),''!=_0x51aba9[_0x17ad('0x36')]&&''!=_0x51aba9[_0x17ad('0x5')]){_0x126ef2['push']({'type':_0x17ad('0x1e'),'content':_0x5cebb4(_0x30455b,'REPLACE_TEXT',['\x22'+_0x51aba9['remove']+'\x22','\x22'+_0x51aba9[_0x17ad('0x36')]+'\x22'])});continue;}if(null!=_0x51aba9[_0x17ad('0x36')][_0x17ad('0x34')](/^ +$/)){_0x126ef2['push']({'type':_0x17ad('0x32'),'content':_0x5cebb4(_0x30455b,'*Insert:*\x20%0',_0x5cebb4(_0x30455b,_0x17ad('0x11'),_0x51aba9[_0x17ad('0x36')][_0x17ad('0x8')]))});continue;}if(null!=_0x51aba9[_0x17ad('0x5')][_0x17ad('0x34')](/^ +$/)){_0x126ef2[_0x17ad('0x1c')]({'type':'deletion','content':_0x5cebb4(_0x30455b,_0x17ad('0x26'),_0x5cebb4(_0x30455b,'ELEMENT_SPACE',_0x51aba9[_0x17ad('0x5')]['length']))});continue;}if(''!=_0x51aba9[_0x17ad('0x36')]){_0x126ef2[_0x17ad('0x1c')]({'type':_0x17ad('0x32'),'content':_0x5cebb4(_0x30455b,_0x17ad('0x25'),'\x22'+_0x51aba9[_0x17ad('0x36')]+'\x22')});continue;}_0x126ef2[_0x17ad('0x1c')]({'type':'deletion','content':_0x5cebb4(_0x30455b,_0x17ad('0x26'),'\x22'+_0x51aba9[_0x17ad('0x5')]+'\x22')});continue;case _0x17ad('0x23'):case _0x17ad('0x14'):_0x126ef2[_0x17ad('0x1c')]({'type':_0x17ad('0x32'),'content':_0x5cebb4(_0x30455b,_0x17ad('0x25'),this[_0x17ad('0x45')](_0x51aba9[_0x17ad('0x15')],_0x51aba9[_0x17ad('0x1d')]))});continue;case'removeEmptyContainer':case'removeObject':_0x126ef2[_0x17ad('0x1c')]({'type':_0x17ad('0x3c'),'content':_0x5cebb4(_0x30455b,_0x17ad('0x26'),this['getItemLabel'](_0x51aba9[_0x17ad('0x15')],_0x51aba9[_0x17ad('0x1d')]))});continue;case _0x17ad('0xc'):_0x126ef2[_0x17ad('0x1c')]({'type':_0x17ad('0x32'),'content':_0x5cebb4(_0x30455b,_0x17ad('0x10'),this[_0x17ad('0x45')](_0x51aba9[_0x17ad('0x15')],_0x51aba9[_0x17ad('0x1d')]))});continue;case _0x17ad('0x30'):_0x126ef2[_0x17ad('0x1c')]({'type':_0x17ad('0x3c'),'content':_0x5cebb4(_0x30455b,_0x17ad('0xb'),this['getItemLabel'](_0x51aba9[_0x17ad('0x15')],_0x51aba9['quantity']))});continue;case _0x17ad('0xd'):_0x2b5ef2[_0x17ad('0x1c')](_0x51aba9[_0x17ad('0x3d')]);continue;case _0x17ad('0x3b'):_0x3836b[_0x17ad('0x1c')](_0x51aba9['key']);continue;default:_0x126ef2[_0x17ad('0x1c')](_0x51aba9);}if(_0x2b5ef2['length']){const _0x31bcad=_0x2b5ef2[_0x17ad('0x38')](_0x5394dd=>this[_0x17ad('0x24')]['has'](_0x5394dd)?this[_0x17ad('0x24')][_0x17ad('0x19')](_0x5394dd):_0x5394dd)[_0x17ad('0x3f')](',\x20');_0x126ef2[_0x17ad('0x1c')]({'type':_0x17ad('0x3a'),'content':_0x5cebb4(this[_0x17ad('0x1b')],_0x17ad('0x40'),_0x31bcad)});}if(_0x3836b[_0x17ad('0x8')]){const _0x4aed15=_0x3836b[_0x17ad('0x38')](_0x2b2727=>this[_0x17ad('0x24')][_0x17ad('0x2d')](_0x2b2727)?this['_attributeLabels'][_0x17ad('0x19')](_0x2b2727):_0x2b2727)[_0x17ad('0x3f')](',\x20');_0x126ef2['push']({'type':_0x17ad('0x3a'),'content':_0x5cebb4(this[_0x17ad('0x1b')],_0x17ad('0x4d'),_0x4aed15)});}return _0x126ef2;}[_0x17ad('0x3e')](_0x3beda6){for(const _0x186098 of this[_0x17ad('0x1')]){const _0x3cc9c5=_0x186098(_0x3beda6);if(_0x3cc9c5&&_0x17ad('0x7')in _0x3cc9c5)return _0x3cc9c5;}}['_handleAttributeSuggestionDescription'](_0x4ce64a,_0x520287){const _0x3f02b6=_0x520287[_0x17ad('0x42')],_0x49c0eb=void 0x0===_0x3f02b6[_0x17ad('0x12')]?_0x17ad('0x3b'):_0x17ad('0xd');_0x4ce64a[_0x17ad('0x1c')]({'type':_0x49c0eb,'key':_0x3f02b6[_0x17ad('0x3d')]});}[_0x17ad('0x27')](_0x957257,_0x3403f6){_0x957257[_0x17ad('0x1c')]({'type':_0x17ad('0x3a'),'content':_0x5cebb4(this[_0x17ad('0x1b')],_0x17ad('0xf'),this[_0x17ad('0x45')](_0x3403f6[_0x17ad('0x4e')]()['start'][_0x17ad('0x2e')],0x1))});}['_handleInsertRemoveSuggestionDescription'](_0x2212e0,_0x295219,_0x2edad4){if(this[_0x17ad('0x17')](_0x2212e0,_0x295219),_0x2edad4&&_0x2edad4[_0x17ad('0x4e')]()&&!_0x295219['getFirstRange']()[_0x17ad('0x28')][_0x17ad('0x20')](_0x2edad4[_0x17ad('0x4e')]()[_0x17ad('0x43')])){const _0x197d25=_0x2212e0[_0x2212e0[_0x17ad('0x8')]-0x1],_0x8d0152=_0x17ad('0x32')==_0x295219[_0x17ad('0x7')]?_0x17ad('0x36'):_0x17ad('0x5');_0x197d25&&'text'==_0x197d25[_0x17ad('0x7')]&&(_0x197d25[_0x8d0152]+='\x0a');}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x574a=['get','getSuggestions','plugins','addSuggestionData','adapter','TrackChanges','requires','editor','pluginName','getSuggestion'];(function(_0xeb7716,_0x574a7b){var _0x568d01=function(_0x577108){while(--_0x577108){_0xeb7716['push'](_0xeb7716['shift']());}};_0x568d01(++_0x574a7b);}(_0x574a,0xa1));var _0x568d=function(_0xeb7716,_0x574a7b){_0xeb7716=_0xeb7716-0x0;var _0x568d01=_0x574a[_0xeb7716];return _0x568d01;};import{Plugin as _0x31f3ae}from'ckeditor5/src/core.js';import _0x254a04 from'./trackchangesui.js';import _0x4d56db from'./trackchangesediting.js';import'ckeditor5-collaboration/src/collaboration-core.js';export default class k extends _0x31f3ae{static get[_0x568d('0x5')](){return[_0x4d56db,_0x254a04,'Comments'];}static get[_0x568d('0x7')](){return _0x568d('0x4');}set[_0x568d('0x3')](_0x17c63e){this[_0x568d('0x6')][_0x568d('0x1')][_0x568d('0x9')](_0x4d56db)[_0x568d('0x3')]=_0x17c63e;}get[_0x568d('0x3')](){return this[_0x568d('0x6')]['plugins'][_0x568d('0x9')](_0x4d56db)['adapter'];}['addSuggestion'](_0x43ed8b){return this[_0x568d('0x6')][_0x568d('0x1')][_0x568d('0x9')](_0x4d56db)[_0x568d('0x2')](_0x43ed8b);}[_0x568d('0x0')]({skipNotAttached:_0x3e70a0=!0x1,toJSON:_0x5ee50b=!0x1}={}){return this['editor'][_0x568d('0x1')][_0x568d('0x9')](_0x4d56db)[_0x568d('0x0')]({'skipNotAttached':_0x3e70a0,'toJSON':_0x5ee50b});}['getSuggestion'](_0x5cea49){return this[_0x568d('0x6')]['plugins'][_0x568d('0x9')](_0x4d56db)[_0x568d('0x8')](_0x5cea49);}}
23
+ var _0x3aa0=['TrackChanges','editor','getSuggestions','requires','addSuggestionData','pluginName','adapter','get','getSuggestion','plugins'];(function(_0x40da40,_0x3aa072){var _0x31cf6c=function(_0x7da796){while(--_0x7da796){_0x40da40['push'](_0x40da40['shift']());}};_0x31cf6c(++_0x3aa072);}(_0x3aa0,0x174));var _0x31cf=function(_0x40da40,_0x3aa072){_0x40da40=_0x40da40-0x0;var _0x31cf6c=_0x3aa0[_0x40da40];return _0x31cf6c;};import{Plugin as _0x2d4230}from'ckeditor5/src/core.js';import _0x3a9000 from'./trackchangesui.js';import _0x5a0069 from'./trackchangesediting.js';import'ckeditor5-collaboration/src/collaboration-core.js';export default class k extends _0x2d4230{static get[_0x31cf('0x1')](){return[_0x5a0069,_0x3a9000,'Comments'];}static get[_0x31cf('0x3')](){return _0x31cf('0x8');}set[_0x31cf('0x4')](_0x14f1a6){this['editor'][_0x31cf('0x7')][_0x31cf('0x5')](_0x5a0069)[_0x31cf('0x4')]=_0x14f1a6;}get[_0x31cf('0x4')](){return this['editor'][_0x31cf('0x7')][_0x31cf('0x5')](_0x5a0069)[_0x31cf('0x4')];}['addSuggestion'](_0x51a03e){return this[_0x31cf('0x9')]['plugins'][_0x31cf('0x5')](_0x5a0069)[_0x31cf('0x2')](_0x51a03e);}[_0x31cf('0x0')]({skipNotAttached:_0x259cb1=!0x1,toJSON:_0x61ecf1=!0x1}={}){return this['editor'][_0x31cf('0x7')][_0x31cf('0x5')](_0x5a0069)['getSuggestions']({'skipNotAttached':_0x259cb1,'toJSON':_0x61ecf1});}['getSuggestion'](_0x62f04a){return this[_0x31cf('0x9')][_0x31cf('0x7')]['get'](_0x5a0069)[_0x31cf('0x6')](_0x62f04a);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4c12=['document','getRootNames','appendChild','editor','TrackChangesEditing','getRootsAttributes','getFullData','trackChangesData','plugins','getDataWithDiscardedSuggestions','div','Pagination','getDataWithAcceptedSuggestions','set','users','createDocumentFragment','data','addUser','init','TrackChangesDataGetter','acceptAllSuggestions','_adapter','reduce','trackChangesData.editorCreator','destroy','getUser','pluginName','getSuggestions','end','editorCreator','get','map','name','requires','TrackChangesData','config','push','model'];(function(_0x4a8060,_0x4c12d0){const _0xe9a1c=function(_0x27fe03){while(--_0x27fe03){_0x4a8060['push'](_0x4a8060['shift']());}};_0xe9a1c(++_0x4c12d0);}(_0x4c12,0x19d));const _0xe9a1=function(_0x4a8060,_0x4c12d0){_0x4a8060=_0x4a8060-0x0;let _0xe9a1c=_0x4c12[_0x4a8060];return _0xe9a1c;};import{Plugin as _0xe8db40}from'ckeditor5/src/core.js';import{CKEditorError as _0x56c209}from'ckeditor5/src/utils.js';import _0x1130b4 from'./trackchangesediting.js';import{sanitizeEditorConfig as _0x468926}from'ckeditor5-collaboration/src/collaboration-core.js';const T=[_0xe9a1('0x10')];export default class P extends _0xe8db40{static get[_0xe9a1('0x0')](){return[_0x1130b4];}static get[_0xe9a1('0x1f')](){return _0xe9a1('0x1');}[_0xe9a1('0x17')](){const _0x5ba46c=this[_0xe9a1('0x8')];if(_0x5ba46c[_0xe9a1('0x2')]['define'](_0xe9a1('0x1c'),_0x3142da=>{const _0x136b62=_0x5ba46c[_0xe9a1('0x4')][_0xe9a1('0x5')][_0xe9a1('0x6')]()[_0xe9a1('0x1b')]((_0x2731b8,_0xd562e2)=>(_0x2731b8[_0xd562e2]='',_0x2731b8),{});return _0x5ba46c['constructor']['create'](_0x136b62,_0x3142da);}),'function'!=typeof _0x5ba46c[_0xe9a1('0x2')][_0xe9a1('0x23')](_0xe9a1('0xc'))[_0xe9a1('0x22')])throw new _0x56c209('track-changes-data-invalid-editor-creator');}[_0xe9a1('0x11')](_0x10c6e5){return N(this['editor'],!0x0,_0x10c6e5);}[_0xe9a1('0xe')](_0x55df78){return N(this[_0xe9a1('0x8')],!0x1,_0x55df78);}}class D extends _0xe8db40{static get['pluginName'](){return _0xe9a1('0x18');}constructor(_0x9b147d){super(_0x9b147d),this['result']=_0xe9a1('0x21');}[_0xe9a1('0x17')](){this[_0xe9a1('0x8')]['plugins']['get']('CommentsRepository')[_0xe9a1('0x1a')]={'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[_0xe9a1('0x8')][_0xe9a1('0xd')][_0xe9a1('0x23')](_0xe9a1('0x9'))[_0xe9a1('0x1a')]=null;}}function v(_0x41d211){return void 0x0!==_0x41d211[_0xe9a1('0xa')];}async function N(_0xd2664e,_0x3c3e67,_0x5b6645){const _0x5290cd=_0x468926(_0xd2664e,T);_0x5290cd[_0xe9a1('0xd')][_0xe9a1('0x3')](_0x1130b4,D),_0x5290cd['rootsAttributes']=v(_0xd2664e)?_0xd2664e['getRootsAttributes']():void 0x0;const _0x589335=document[_0xe9a1('0x14')](),_0x20e8cb=_0xd2664e['config'][_0xe9a1('0x23')]('trackChangesData')[_0xe9a1('0x22')],_0x5027c5=await _0x20e8cb(_0x5290cd,()=>function(_0x1bc618){const _0x98e9ee=document['createElement'](_0xe9a1('0xf'));return _0x1bc618[_0xe9a1('0x7')](_0x98e9ee),_0x98e9ee;}(_0x589335));!function(_0x5e6593,_0x89426a){const _0x2acfd9=_0x5e6593[_0xe9a1('0x4')]['document'][_0xe9a1('0x6')]()[_0xe9a1('0x1b')]((_0x1531cb,_0x58b409)=>(_0x1531cb[_0x58b409]=_0x5e6593[_0xe9a1('0x15')][_0xe9a1('0x23')]({'rootName':_0x58b409}),_0x1531cb),{}),_0x34a20d=_0x5e6593[_0xe9a1('0xd')][_0xe9a1('0x23')]('Users')[_0xe9a1('0x13')][_0xe9a1('0x24')](_0x14b289=>({'id':_0x14b289['id'],'name':_0x14b289[_0xe9a1('0x25')]})),_0x5410c4=_0x5e6593[_0xe9a1('0xd')][_0xe9a1('0x23')](_0xe9a1('0x9'))[_0xe9a1('0x20')]({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x35e1a7=_0x89426a['plugins'][_0xe9a1('0x23')]('Users'),_0x1cb961=_0x89426a['plugins'][_0xe9a1('0x23')](_0xe9a1('0x9'));for(const _0x4939b2 of _0x34a20d)_0x35e1a7[_0xe9a1('0x1e')](_0x4939b2['id'])||_0x35e1a7[_0xe9a1('0x16')](_0x4939b2);_0x35e1a7['me']||_0x35e1a7['useAnonymousUser']();for(const _0x2533ab of _0x5410c4)_0x1cb961['addSuggestionData'](_0x2533ab);_0x89426a[_0xe9a1('0x15')][_0xe9a1('0x12')](_0x2acfd9);}(_0xd2664e,_0x5027c5),_0x5027c5['execute'](_0x3c3e67?_0xe9a1('0x19'):'discardAllSuggestions');const _0x4cc993=v(_0x5027c5)?_0x5027c5[_0xe9a1('0xb')](_0x5b6645):_0x5027c5['data']['get'](_0x5b6645);return await _0x5027c5[_0xe9a1('0x1d')](),_0x4cc993;}
23
+ const _0x3ae3=['users','result','editorCreator','rootsAttributes','destroy','getDataWithAcceptedSuggestions','create','pluginName','get','getUser','Pagination','name','set','useAnonymousUser','acceptAllSuggestions','reduce','track-changes-data-invalid-editor-creator','execute','getRootsAttributes','createDocumentFragment','data','CommentsRepository','getSuggestions','TrackChangesEditing','TrackChangesDataGetter','config','_adapter','constructor','editor','map','getFullData','define','document','end','plugins','model','trackChangesData','appendChild','div','init','push','TrackChangesData','getRootNames','getDataWithDiscardedSuggestions','trackChangesData.editorCreator'];(function(_0x4c90c5,_0x3ae32d){const _0x468a30=function(_0x54a6de){while(--_0x54a6de){_0x4c90c5['push'](_0x4c90c5['shift']());}};_0x468a30(++_0x3ae32d);}(_0x3ae3,0x1a5));const _0x468a=function(_0x4c90c5,_0x3ae32d){_0x4c90c5=_0x4c90c5-0x0;let _0x468a30=_0x3ae3[_0x4c90c5];return _0x468a30;};import{Plugin as _0x332c37}from'ckeditor5/src/core.js';import{CKEditorError as _0x6d048c}from'ckeditor5/src/utils.js';import _0x2a67a0 from'./trackchangesediting.js';import{sanitizeEditorConfig as _0x3cb54a}from'ckeditor5-collaboration/src/collaboration-core.js';const T=[_0x468a('0x27')];export default class P extends _0x332c37{static get['requires'](){return[_0x2a67a0];}static get[_0x468a('0x24')](){return _0x468a('0x19');}[_0x468a('0x17')](){const _0x50b0d6=this[_0x468a('0xc')];if(_0x50b0d6['config'][_0x468a('0xf')](_0x468a('0x1c'),_0x43b919=>{const _0x32dc48=_0x50b0d6[_0x468a('0x13')][_0x468a('0x10')]['getRootNames']()[_0x468a('0x2c')]((_0x5695df,_0x686f81)=>(_0x5695df[_0x686f81]='',_0x5695df),{});return _0x50b0d6[_0x468a('0xb')][_0x468a('0x23')](_0x32dc48,_0x43b919);}),'function'!=typeof _0x50b0d6[_0x468a('0x9')][_0x468a('0x25')](_0x468a('0x14'))[_0x468a('0x1f')])throw new _0x6d048c(_0x468a('0x0'));}[_0x468a('0x22')](_0x465d68){return N(this[_0x468a('0xc')],!0x0,_0x465d68);}[_0x468a('0x1b')](_0x748672){return N(this[_0x468a('0xc')],!0x1,_0x748672);}}class D extends _0x332c37{static get[_0x468a('0x24')](){return _0x468a('0x8');}constructor(_0x9ee9ff){super(_0x9ee9ff),this[_0x468a('0x1e')]=_0x468a('0x11');}[_0x468a('0x17')](){this['editor'][_0x468a('0x12')][_0x468a('0x25')](_0x468a('0x5'))[_0x468a('0xa')]={'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'][_0x468a('0x12')][_0x468a('0x25')](_0x468a('0x7'))[_0x468a('0xa')]=null;}}function v(_0x13208d){return void 0x0!==_0x13208d[_0x468a('0x2')];}async function N(_0x44f5f3,_0x1a5041,_0xa109a0){const _0x193ecd=_0x3cb54a(_0x44f5f3,T);_0x193ecd[_0x468a('0x12')][_0x468a('0x18')](_0x2a67a0,D),_0x193ecd[_0x468a('0x20')]=v(_0x44f5f3)?_0x44f5f3[_0x468a('0x2')]():void 0x0;const _0x589303=document[_0x468a('0x3')](),_0xa8e4c9=_0x44f5f3[_0x468a('0x9')]['get'](_0x468a('0x14'))[_0x468a('0x1f')],_0x347423=await _0xa8e4c9(_0x193ecd,()=>function(_0x1bc5bf){const _0x3d7cad=document['createElement'](_0x468a('0x16'));return _0x1bc5bf[_0x468a('0x15')](_0x3d7cad),_0x3d7cad;}(_0x589303));!function(_0x4adff8,_0xbd6e3b){const _0x2cc88d=_0x4adff8[_0x468a('0x13')][_0x468a('0x10')][_0x468a('0x1a')]()[_0x468a('0x2c')]((_0x54b4c5,_0x72e3f8)=>(_0x54b4c5[_0x72e3f8]=_0x4adff8[_0x468a('0x4')][_0x468a('0x25')]({'rootName':_0x72e3f8}),_0x54b4c5),{}),_0x405df9=_0x4adff8[_0x468a('0x12')][_0x468a('0x25')]('Users')[_0x468a('0x1d')][_0x468a('0xd')](_0x336a19=>({'id':_0x336a19['id'],'name':_0x336a19[_0x468a('0x28')]})),_0x26a5c3=_0x4adff8[_0x468a('0x12')]['get'](_0x468a('0x7'))[_0x468a('0x6')]({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x3cb60a=_0xbd6e3b[_0x468a('0x12')][_0x468a('0x25')]('Users'),_0x552162=_0xbd6e3b[_0x468a('0x12')][_0x468a('0x25')](_0x468a('0x7'));for(const _0x2f018a of _0x405df9)_0x3cb60a[_0x468a('0x26')](_0x2f018a['id'])||_0x3cb60a['addUser'](_0x2f018a);_0x3cb60a['me']||_0x3cb60a[_0x468a('0x2a')]();for(const _0x108730 of _0x26a5c3)_0x552162['addSuggestionData'](_0x108730);_0xbd6e3b[_0x468a('0x4')][_0x468a('0x29')](_0x2cc88d);}(_0x44f5f3,_0x347423),_0x347423[_0x468a('0x1')](_0x1a5041?_0x468a('0x2b'):'discardAllSuggestions');const _0x44053f=v(_0x347423)?_0x347423[_0x468a('0xe')](_0xa109a0):_0x347423[_0x468a('0x4')][_0x468a('0x25')](_0xa109a0);return await _0x347423[_0x468a('0x21')](),_0x44053f;}