@ckeditor/ckeditor5-revision-history 35.2.1 → 35.3.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 (32) hide show
  1. package/README.md +1 -1
  2. package/build/revision-history.js +1 -1
  3. package/package.json +7 -7
  4. package/src/changeitem.js +1 -1
  5. package/src/editor/revisionviewereditor.js +1 -1
  6. package/src/editor/revisionviewereditorui.js +1 -1
  7. package/src/editor/revisionviewereditoruiview.js +1 -1
  8. package/src/revision.js +1 -1
  9. package/src/revisiondiff.js +1 -1
  10. package/src/revisionhistory.js +1 -1
  11. package/src/revisionsrepository.js +1 -1
  12. package/src/revisiontracker.js +1 -1
  13. package/src/revisionviewer.js +1 -1
  14. package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
  15. package/src/ui/revision/revisionauthorview.js +1 -1
  16. package/src/ui/revision/revisionnameview.js +1 -1
  17. package/src/ui/revision/revisionview.js +1 -1
  18. package/src/ui/revision/subrevisioncollapserview.js +1 -1
  19. package/src/ui/revision/subrevisionview.js +1 -1
  20. package/src/ui/revision/utils.js +1 -1
  21. package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +1 -1
  22. package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
  23. package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
  24. package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
  25. package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
  26. package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
  27. package/src/ui/revisionssidebar/utils.js +1 -1
  28. package/src/ui/revisionviewer/changedetailsview.js +1 -1
  29. package/src/ui/revisionviewer/changesnavigationview.js +1 -1
  30. package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
  31. package/src/ui/revisionviewer/revisionviewerui.js +1 -1
  32. package/src/utils/common-translations.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xc25d=['revisionHistoryLabel','marked','consumable','isAtStart','stop','data','start','loadRevisionData','POSITIVE_INFINITY','newRevisionId','addRevisionData','error','change:numberOfChanges','commands','_refreshStartEndIndex','destroy','elementEnd','revision-start','values','deletions','document','changes','vid_end','remove','_initInteractions','_cleanMarkers','keys','activeView','set','diff','side','end','next','revision-suggestion','comment','length','_findChangeIdFromDomTarget','_getRevisionsRange','getRevision','revision-viewer','-new','shift','listenTo','low','data-change-id','getItems','createRange','toModel','isIncorrect','_threeWayMerge','forward','model','oldRevisionId','setAttribute','viewItem','slice','isAtEnd','merge','clearForceDisabled','isContent','parse','range','config','mapper','markerToHighlight','isNavigationMode','maxOffset','add','filter','getRevisionData','removeMarker:revision-suggestion','bind','_setData','_appendChild','_removeMissingPairs','markerName','element','concat','vid','attributes','insert','nextSibling','insertion','level','done','pairId','_step','hasAttribute','upcast','userId','readOnlyMode','writer','index','_processTape','isInline','from','showStack','adapter','mousedown','repository','revision','editor','markerRange','change:activeChange','observeMarkers','addHighlight','isLimit','offsetSize','activeChange','authors','high','code','parent','ck-suggestion-marker--active','getChild','getIndex','removeMarker:revision','createAttributeElement','_makeModelFromViewString','plugins','createRangeIn','addMarker:revision','ck-suggestion-marker-merge','map','children','schema','_target','ck-suggestion-marker-split','markers','default','enqueueChange','delete','string','then','span','_removeUnsupportedChanges','_makeModelFromTape','pop','processor','_makeTape','distance','getAttributes','isAddSuggestion','editingDowncast','useFillerType','reconvertMarker','markerToData','previousPosition','elementToAttribute','revision:','change:isEnabled','change:isReadOnly','showPreviousChange','type','backward','_getChangeFromId','requires','bindElementToMarker','stopListening','isAfter','split','isBlock','test','attribute:vid','_joinTapes','consume','forEach','push','getRootNames','for','ck-suggestion-preview-marker-','diffData','nodeAfter','removeClass','hasClass','isRemoveSuggestion','conversion','markerNameToElements','change','toViewElement','isSuggestion','_markMismatchedRemovedTags','item','_balloon','isBefore','_update','setData','<p></p>','change:isReady','addMarker:revision-suggestion:deletion','compare','return','_markInsertions','_cleanUp','all','RevisionViewer','downcastDispatcher','name','pluginName','getWalker','_setConversion','target','isRemoved','clear','splice','text','unbindElementFromMarkerName','elementStart','deletion','mouseover','_markSuggestions','_getViewForChange','addClass','_changeIdToChange','init','createPositionFromPath','checkAttribute','_revisions','get','_changeView','uiElement','toData','isEqual','isAdded','view','vid_start','_fixObsoleteTags','markersStart','dataDowncast','data-revision-','has','ck-editor__editable__overlay','insertions','first','startsWith','collaboration.channelId','sort','_getViewObj','nextPosition','createUIElement','refresh','ck-suggestion-preview-marker','_setDistance','_getDiff','revisionHistory','_removeRevisionMarkers','element:pre','getAttribute','getRoot','endIndex','abs','toViewPosition','markersEnd','isEnabled','dataToMarker','editing','currentChangeNumber','isReady','modelRange','ck-suggestion-marker-','startIndex'];(function(_0x39b008,_0xc25d5a){const _0x362a62=function(_0xbe8236){while(--_0xbe8236){_0x39b008['push'](_0x39b008['shift']());}};_0x362a62(++_0xc25d5a);}(_0xc25d,0x156));const _0x362a=function(_0x39b008,_0xc25d5a){_0x39b008=_0x39b008-0x0;let _0x362a62=_0xc25d[_0x39b008];return _0x362a62;};import{Plugin as _0x5c70ec,Command as _0x3913a7}from'ckeditor5/src/core';import{ObservableMixin as _0x9f85d9,mix as _0x27e8c5,scrollViewportToShowTarget as _0x194198}from'ckeditor5/src/utils';import{ContextualBalloon as _0x232578}from'ckeditor5/src/ui';import{DocumentFragment as _0x3f0366,Element as _0x481ff9,Text as _0x269a36,ViewDocumentFragment as _0x18313f,ViewText as _0x3e9df7,ViewElement as _0x298d43,ViewContainerElement as _0x2a361f,ViewAttributeElement as _0x76218b,ViewEmptyElement as _0x28f004,ViewRawElement as _0x3744af,ViewUIElement as _0x5b87a1}from'ckeditor5/src/engine';import{Users as _0x5db220,getMarkerDomElement as _0x15f201}from'ckeditor5-collaboration/src/collaboration-core';import _0x4612b3 from'./ui/revisionviewer/changedetailsview';import _0x408ef3 from'./revisionsrepository';import _0x834f11 from'./changeitem';import _0x2c297d from'./revisiondiff';import'../theme/revisionviewer.css';const Y={'c':_0x2a361f,'a':_0x76218b,'e':_0x28f004,'r':_0x3744af,'u':_0x5b87a1};export default class d extends _0x5c70ec{static get[_0x362a('0x75')](){return _0x362a('0x72');}static get[_0x362a('0x4b')](){return[_0x5db220,_0x232578,_0x408ef3];}constructor(..._0x14cf77){super(..._0x14cf77),this[_0x362a('0x12')]=this[_0x362a('0x14')][_0x362a('0x26')][_0x362a('0x89')]('RevisionsRepository'),this[_0x362a('0xd0')]('activeChange',null),this[_0x362a('0xd0')](_0x362a('0xcf'),null),this[_0x362a('0xd0')]('diff',null),this[_0x362a('0xd0')]('isReady',!0x1),this[_0x362a('0xd0')](_0x362a('0xac'),!0x0),this['on']('change:isEnabled',(_0x255cf1,_0x480282,_0x202686)=>{this[_0x362a('0x1b')]=null,this[_0x362a('0xcf')]=null,this['editor'][_0x362a('0xae')]['view'][_0x362a('0x61')](_0xa72396=>{for(const _0x1a2865 of this[_0x362a('0x14')][_0x362a('0xae')][_0x362a('0x8f')][_0x362a('0xc8')]['roots'])_0x202686?_0xa72396[_0x362a('0x5c')](_0x362a('0x96'),_0x1a2865):_0xa72396[_0x362a('0x83')](_0x362a('0x96'),_0x1a2865);});}),this[_0x362a('0xfb')](_0x362a('0xf5'))['to'](this,_0x362a('0x1b'),_0x6a1b4a=>null!==_0x6a1b4a),this[_0x362a('0xfb')](_0x362a('0xaf'))['to'](this,_0x362a('0xb0'),this,_0x362a('0xd1'),this,_0x362a('0x1b'),(_0x3a3740,_0x21ab75,_0x36f462)=>_0x3a3740&&_0x36f462?_0x21ab75[_0x362a('0xc9')]['getIndex'](_0x36f462):0x0),this[_0x362a('0xfb')]('numberOfChanges')['to'](this,_0x362a('0xb0'),this,_0x362a('0xd1'),(_0x359a09,_0x5e57b5)=>_0x359a09?_0x5e57b5[_0x362a('0xc9')][_0x362a('0xd7')]:0x0),this[_0x362a('0x8a')]=null,this[_0x362a('0x84')]=new Map(),this[_0x362a('0x10')]=null,this[_0x362a('0x66')]=this[_0x362a('0x14')]['plugins'][_0x362a('0x89')](_0x232578);}[_0x362a('0x85')](){const _0x461b3e=this[_0x362a('0x14')],_0x44d92b=new et(_0x461b3e,{'direction':_0x362a('0x49')}),_0x242a14=new et(_0x461b3e,{'direction':_0x362a('0xe6')});_0x461b3e[_0x362a('0xc1')][_0x362a('0xf7')](_0x362a('0x47'),_0x44d92b),_0x461b3e[_0x362a('0xc1')]['add']('showNextChange',_0x242a14),_0x461b3e[_0x362a('0xc1')]['add']('restoreRevision',new tt(_0x461b3e)),this['on'](_0x362a('0xc0'),()=>{_0x44d92b[_0x362a('0x9f')](),_0x242a14[_0x362a('0x9f')]();}),this[_0x362a('0x77')](),this[_0x362a('0xcc')](),_0x461b3e['enableReadOnlyMode'](_0x362a('0xdb'));}async[_0x362a('0xf9')](_0x2f5e3a){await this[_0x362a('0xbb')](_0x2f5e3a);const _0x3aa2a7={};for(const _0x5cb8b1 in _0x2f5e3a[_0x362a('0x5a')]){const _0x39369a=this[_0x362a('0xa4')](JSON[_0x362a('0xf0')](_0x2f5e3a[_0x362a('0x5a')][_0x5cb8b1][_0x362a('0x97')])),_0x4a28fe=this['editor']['editing']['view'][_0x362a('0xc8')],_0x319331=new _0x18313f(_0x4a28fe,_0x39369a[_0x362a('0x2a')](_0x48d0d6=>this['_getViewObj'](_0x48d0d6)));this[_0x362a('0x14')][_0x362a('0xb9')][_0x362a('0x39')][_0x362a('0x3f')](_0x362a('0xb5')),_0x3aa2a7[_0x5cb8b1]=this[_0x362a('0x14')][_0x362a('0xb9')][_0x362a('0x39')][_0x362a('0x8c')](_0x319331),this[_0x362a('0x14')]['data'][_0x362a('0x39')]['useFillerType'](_0x362a('0x30'));}return _0x3aa2a7;}[_0x362a('0xa4')](_0x3098a5){return(_0x3098a5=_0x3098a5['filter'](_0x24a010=>!_0x24a010[_0x362a('0x74')]||_0x362a('0xc5')!==_0x24a010[_0x362a('0x74')]&&'revision-end'!==_0x24a010[_0x362a('0x74')]))[_0x362a('0x55')](_0x3edb18=>{_0x362a('0x33')!=typeof _0x3edb18&&(_0x3edb18[_0x362a('0x2b')]=this['_removeRevisionMarkers'](_0x3edb18[_0x362a('0x2b')]),_0x3edb18[_0x362a('0x103')]=_0x3edb18['attributes'][_0x362a('0xf8')](_0x1416a6=>!_0x1416a6[0x0]['startsWith'](_0x362a('0x94'))));}),_0x3098a5;}[_0x362a('0x6d')](_0x276b09,_0x15c98c,_0x2af6ff=!0x1){if(!this[_0x362a('0xac')])return;const _0x1be555=this[_0x362a('0xd1')],_0x193408=this[_0x362a('0x12')],_0x3e29c7='string'==typeof _0x276b09?_0x193408[_0x362a('0xda')](_0x276b09):_0x276b09,_0x4349e0=_0x362a('0x33')==typeof _0x15c98c?_0x193408[_0x362a('0xda')](_0x15c98c):_0x15c98c,_0x40bc63=_0x3e29c7['id'],_0x18ab5e=_0x4349e0?_0x4349e0['id']:null;if(!_0x2af6ff&&this[_0x362a('0xd1')]&&this[_0x362a('0xd1')]['newRevisionId']===_0x40bc63&&this[_0x362a('0xd1')][_0x362a('0xe8')]===_0x18ab5e)return Promise['resolve']();this[_0x362a('0xb0')]=!0x1,this[_0x362a('0xcf')]=null,this['activeChange']=null,this[_0x362a('0xd1')]=new _0x2c297d(_0x40bc63,_0x18ab5e);const _0x12a4ff=this[_0x362a('0xd9')](_0x3e29c7,_0x4349e0,!0x0)[_0x362a('0x2a')](_0x20952b=>this[_0x362a('0xbb')](_0x20952b));return _0x12a4ff[_0x362a('0x56')](new Promise(_0x36f17d=>{setTimeout(_0x36f17d,0x14);})),Promise[_0x362a('0x71')](_0x12a4ff)[_0x362a('0x34')](()=>{if(!this[_0x362a('0xac')])return;this[_0x362a('0x70')]();const _0x38ace3=this[_0x362a('0xa2')](_0x40bc63,_0x18ab5e);this[_0x362a('0xd1')][_0x362a('0xfc')](_0x38ace3);for(const _0x34afcb of this[_0x362a('0xd1')]['changes'])this[_0x362a('0x84')][_0x362a('0xd0')](_0x34afcb['id'],_0x34afcb);this[_0x362a('0x14')][_0x362a('0xe7')][_0x362a('0x31')]({'isUndoable':!0x1},_0x457a7c=>{for(const _0x3516ae of Object[_0x362a('0xce')](_0x38ace3[_0x362a('0xe7')])){const _0x4ce450=this[_0x362a('0x14')]['model'][_0x362a('0xc8')][_0x362a('0xa7')](_0x3516ae);_0x457a7c[_0x362a('0xcb')](_0x457a7c[_0x362a('0x27')](_0x4ce450)),_0x457a7c['insert'](_0x38ace3[_0x362a('0xe7')][_0x3516ae],_0x4ce450,0x0);}}),this[_0x362a('0xb0')]=!0x0;})['catch'](_0x18b380=>{console[_0x362a('0xbf')](_0x18b380),this[_0x362a('0x70')](),_0x1be555?this[_0x362a('0xd1')]=_0x1be555:this[_0x362a('0x14')][_0x362a('0x69')](_0x362a('0x6a')),this[_0x362a('0xb0')]=!0x0;});}[_0x362a('0xc3')](){this['activeView']=null,this[_0x362a('0x8a')]&&this['_changeView'][_0x362a('0xc3')]();}[_0x362a('0xbe')](_0x9e9386,_0x364d3b){const _0x2b8ad3=this[_0x362a('0x12')]['createRevision'](_0x9e9386);return _0x2b8ad3['on'](_0x362a('0x68'),(_0x67089d,_0x249054,_0x471fb7)=>_0x364d3b(_0x249054,_0x471fb7,_0x2b8ad3)),this[_0x362a('0x12')]['addRevision'](_0x2b8ad3),_0x2b8ad3;}[_0x362a('0xbb')](_0x235aa3){if(!_0x235aa3||_0x235aa3['diffData'])return Promise['resolve']();{const _0xc6052f=this[_0x362a('0x14')][_0x362a('0xf2')][_0x362a('0x89')](_0x362a('0x9a'));return this['adapter'][_0x362a('0xda')]({'channelId':_0xc6052f,'revisionId':_0x235aa3['id']})[_0x362a('0x34')](_0x28e857=>{_0x235aa3[_0x362a('0x68')]({'diffData':_0x28e857[_0x362a('0x5a')]},!0x0);});}}['_cleanUp'](){this[_0x362a('0x1b')]=null,this[_0x362a('0xcd')](),this[_0x362a('0x8a')]&&this['_changeView'][_0x362a('0xc3')](),this[_0x362a('0x8a')]=null,this[_0x362a('0x84')][_0x362a('0x7a')]();}[_0x362a('0x3a')](_0x23bca5){const _0x777ce6=Array[_0x362a('0xe')](_0x23bca5['markers'])[_0x362a('0xf8')](([_0x128002,_0x5052e0])=>_0x128002[_0x362a('0x99')]('revision:')&&!_0x5052e0['isCollapsed']),_0x1478b9=Array[_0x362a('0xe')](this['editor'][_0x362a('0xe7')][_0x362a('0x27')](_0x23bca5)[_0x362a('0x76')]({'singleCharacters':!0x0}));if(0x0!=_0x777ce6[_0x362a('0xd7')])for(const _0xbfb738 of _0x1478b9){const [_0x3d0e1a,_0x21293d]=_0x777ce6[0x0],[,_0x4cb5fa,_0x58945c]=_0x3d0e1a[_0x362a('0x4f')](':');if(_0x21293d['end'][_0x362a('0x8d')](_0xbfb738[_0x362a('0x9d')])&&_0x777ce6[_0x362a('0xdd')](),(_0xbfb738['previousPosition']['isEqual'](_0x21293d[_0x362a('0xba')])||_0xbfb738['previousPosition'][_0x362a('0x4e')](_0x21293d[_0x362a('0xba')]))&&('insertion'==_0x4cb5fa?_0xbfb738[_0x362a('0x8e')]={'userId':_0x58945c}:_0x362a('0x7f')==_0x4cb5fa&&(_0xbfb738[_0x362a('0x79')]={'userId':_0x58945c})),0x0==_0x777ce6['length'])break;}return _0x1478b9;}[_0x362a('0xc2')](_0x4051ed){const _0x25dfbe=new Map();for(let _0x47661c=0x0;_0x47661c<_0x4051ed[_0x362a('0xd7')];_0x47661c++)_0x362a('0x7c')===_0x4051ed[_0x47661c][_0x362a('0x48')]?(_0x4051ed[_0x47661c][_0x362a('0x65')]['startIndex']=_0x47661c,_0x4051ed[_0x47661c][_0x362a('0x65')]['endIndex']=_0x47661c):(_0x362a('0x7e')===_0x4051ed[_0x47661c]['type']?_0x4051ed[_0x47661c][_0x362a('0x65')][_0x362a('0xb3')]=_0x47661c:'elementEnd'===_0x4051ed[_0x47661c][_0x362a('0x48')]&&(_0x4051ed[_0x47661c]['item'][_0x362a('0xa8')]=_0x47661c),_0x25dfbe[_0x362a('0xd0')](_0x4051ed[_0x47661c]['id'],_0x47661c));for(const _0x34f6e4 of _0x25dfbe[_0x362a('0xc6')]())_0x362a('0x7e')===_0x4051ed[_0x34f6e4]['type']?_0x4051ed[_0x34f6e4][_0x362a('0x65')]['endIndex']=_0x25dfbe[_0x362a('0x89')](_0x4051ed[_0x34f6e4][_0x362a('0x4')]):_0x362a('0xc4')===_0x4051ed[_0x34f6e4][_0x362a('0x48')]&&(_0x4051ed[_0x34f6e4][_0x362a('0x65')][_0x362a('0xb3')]=_0x25dfbe[_0x362a('0x89')](_0x4051ed[_0x34f6e4]['pairId']));}[_0x362a('0xc')](_0x501146){for(let _0x445f31=0x0;_0x445f31<_0x501146[_0x362a('0xd7')];_0x445f31++){if(_0x362a('0x7e')===_0x501146[_0x445f31][_0x362a('0x48')])_0x501146[_0x445f31][_0x362a('0x65')][_0x362a('0xb3')]=_0x445f31;else{if(_0x362a('0xc4')===_0x501146[_0x445f31][_0x362a('0x48')]){_0x501146[_0x445f31]['item'][_0x362a('0xa8')]=_0x445f31;const _0x2ecbda=_0x501146[_0x445f31][_0x362a('0x65')][_0x362a('0xb3')];_0x501146[_0x2ecbda][_0x362a('0x4')]=_0x501146[_0x445f31]['id'],_0x501146[_0x445f31][_0x362a('0x4')]=_0x501146[_0x2ecbda]['id'];}else _0x501146[_0x445f31]['item'][_0x362a('0xb3')]=_0x445f31,_0x501146[_0x445f31][_0x362a('0x65')]['endIndex']=_0x445f31,_0x501146[_0x445f31][_0x362a('0x4')]=null;}_0x501146[_0x445f31][_0x362a('0x92')]||(_0x501146[_0x445f31][_0x362a('0x92')]=[],_0x501146[_0x445f31][_0x362a('0xab')]=[]);}}[_0x362a('0x6f')](_0x25b29b,_0x1f2697){const _0x2a091f=_0x25b29b['filter'](_0x3a6d76=>!_0x3a6d76[_0x362a('0x8e')]);for(let _0x8c7af9=0x0;_0x8c7af9<_0x1f2697[_0x362a('0xd7')];_0x8c7af9++)_0x1f2697[_0x8c7af9][_0x362a('0x8e')]&&(_0x2a091f[_0x8c7af9]['isAdded']=_0x1f2697[_0x8c7af9][_0x362a('0x8e')]);}[_0x362a('0x25')](_0x39f6ca){const _0x490f9b=JSON['parse'](_0x39f6ca),_0x4aa5d4=this['editor'][_0x362a('0xae')][_0x362a('0x8f')][_0x362a('0xc8')],_0x1e5c1a=new _0x18313f(_0x4aa5d4,_0x490f9b[_0x362a('0x2a')](_0xf84210=>this[_0x362a('0x9c')](_0xf84210)));return this[_0x362a('0x14')]['data'][_0x362a('0xe3')](_0x1e5c1a);}['_getViewObj'](_0x59913a){const _0xaf614c=this[_0x362a('0x14')][_0x362a('0xae')][_0x362a('0x8f')][_0x362a('0xc8')];if(_0x362a('0x33')==typeof _0x59913a)return new _0x3e9df7(_0xaf614c,_0x59913a);{const _0x49a6f1=_0x59913a['children'][_0x362a('0x2a')](_0x12bd75=>this[_0x362a('0x9c')](_0x12bd75));return new(Y[_0x59913a[(_0x362a('0x48'))]]||_0x298d43)(_0xaf614c,_0x59913a[_0x362a('0x74')],_0x59913a[_0x362a('0x103')],_0x49a6f1);}}['_getDiff'](_0x1962c7,_0x510a20=null){const _0x2e9f49=this['repository'][_0x362a('0xda')](_0x1962c7),_0x23f12c=_0x510a20?this['repository']['getRevision'](_0x510a20):null,_0x442066=this[_0x362a('0xd9')](_0x2e9f49,_0x23f12c),_0x2f659f=_0x442066[_0x442066[_0x362a('0xd7')]-0x1],_0x21abd5=new Map();for(const _0x37d2ff of _0x442066){_0x37d2ff['model']={};for(const _0x54258e of _0x37d2ff[_0x362a('0x1c')])_0x21abd5['set'](_0x54258e['id'],_0x54258e);for(const _0x4e2f22 of this[_0x362a('0x14')][_0x362a('0xe7')][_0x362a('0xc8')]['getRootNames']())_0x37d2ff[_0x362a('0x5a')][_0x4e2f22]||(_0x37d2ff[_0x362a('0x5a')][_0x4e2f22]={'insertions':'[]','deletions':'[]'}),_0x37d2ff[_0x362a('0xe7')][_0x4e2f22]={'insertions':this[_0x362a('0x25')](_0x37d2ff[_0x362a('0x5a')][_0x4e2f22]['insertions']),'deletions':this[_0x362a('0x25')](_0x37d2ff[_0x362a('0x5a')][_0x4e2f22][_0x362a('0xc7')])};}const _0x451217={'model':{},'changes':[]};for(const _0x42ba6f of this[_0x362a('0x14')][_0x362a('0xe7')][_0x362a('0xc8')][_0x362a('0x57')]()){let _0x389c84=null,_0x58c15f=0x0;const _0x2ad7a5=new Map(Array[_0x362a('0xe')](_0x2e9f49[_0x362a('0xe7')][_0x42ba6f][_0x362a('0x97')][_0x362a('0x2f')])[_0x362a('0xf8')](([_0x5854e7])=>!_0x5854e7[_0x362a('0x99')](_0x362a('0x44'))));let _0xda4886=0x0;for(const _0x54944c of _0x442066){const _0x32918b=this[_0x362a('0x3a')](_0x54944c['model'][_0x42ba6f][_0x362a('0x97')]);_0x54944c==_0x2e9f49?(_0x389c84=_0x32918b,_0x58c15f=_0x389c84['length'],_0x389c84[_0x362a('0x55')](_0x2774b1=>{_0x2774b1['id']=_0xda4886++;}),this[_0x362a('0xc')](_0x389c84)):this[_0x362a('0x6f')](_0x389c84,_0x32918b);const _0x1c1aa7=_0x389c84[_0x362a('0xf8')](_0x2019bf=>!_0x2019bf['isAdded'])['map'](_0x21a082=>_0x21a082['id']);let _0x4414e5=0x0;const _0x125380=this[_0x362a('0x3a')](_0x54944c[_0x362a('0xe7')][_0x42ba6f][_0x362a('0xc7')]);_0x125380['forEach'](_0x57ed24=>{_0x57ed24[_0x362a('0x79')]?_0x57ed24['id']=_0x58c15f++:_0x57ed24['id']=_0x1c1aa7[_0x4414e5++];}),this['_processTape'](_0x125380),this['_setDistance'](_0x389c84,_0x362a('0x8e')),this['_setDistance'](_0x125380,'isRemoved'),_0x54944c==_0x2e9f49&&this['_markMarkers'](_0x389c84,_0x2ad7a5),_0x389c84=this[_0x362a('0x53')](_0x389c84,_0x125380),this[_0x362a('0xc2')](_0x389c84),this[_0x362a('0xa1')](_0x389c84,_0x362a('0x79'));}_0x389c84=_0x389c84['filter'](_0x3c6446=>!(_0x3c6446['isAdded']&&_0x3c6446[_0x362a('0x79')]));const _0x159978=new Map(_0x2f659f[_0x362a('0xe7')][_0x42ba6f]['deletions'][_0x362a('0x2f')]),_0x385305=new Set(_0x2ad7a5['keys']());for(const _0x4acfda of _0x159978[_0x362a('0xce')]())_0x385305[_0x362a('0x32')](_0x4acfda);this[_0x362a('0x81')](_0x389c84,_0x385305),this[_0x362a('0x91')](_0x389c84),_0x389c84=this[_0x362a('0xfe')](_0x389c84),_0x389c84=this[_0x362a('0x64')](_0x389c84),_0x389c84=this[_0x362a('0x36')](_0x389c84);const {root:_0x1adec3,changes:_0x207fd6}=this['_makeModelFromTape'](_0x389c84,_0x21abd5);_0x451217[_0x362a('0xe7')][_0x42ba6f]=_0x1adec3,_0x451217['changes']=_0x451217[_0x362a('0xc9')][_0x362a('0x101')](_0x207fd6);}return _0x451217;}['_markMarkers'](_0x1da286,_0x1b6a0b){for(let _0x25b026=0x0;_0x25b026<_0x1da286['length'];_0x25b026++)for(const [_0xbf4511,_0x3b251c]of _0x1b6a0b)_0x3b251c['start'][_0x362a('0x8d')](_0x1da286[_0x25b026]['previousPosition'])&&_0x1da286[_0x25b026]['markersStart'][_0x362a('0x56')](_0xbf4511),_0x3b251c[_0x362a('0xd3')]['isEqual'](_0x1da286[_0x25b026][_0x362a('0x9d')])&&_0x1da286[_0x25b026][_0x362a('0xab')][_0x362a('0x56')](_0xbf4511);}[_0x362a('0x53')](_0xc987de,_0x1a7efd){let _0x3e720d=[],_0x26a345=0x0,_0x5c4066=0x0;for(;_0x26a345<_0xc987de[_0x362a('0xd7')]||_0x5c4066<_0x1a7efd[_0x362a('0xd7')];){const _0xc6a9f6=_0xc987de[_0x26a345]||{},_0x4f803f=_0x1a7efd[_0x5c4066]||{};if(_0xc6a9f6['id']==_0x4f803f['id'])_0x26a345++,_0x5c4066++,_0x3e720d[_0x362a('0x56')](_0xc6a9f6);else{if(_0x4f803f[_0x362a('0x79')]&&_0xc6a9f6['isAdded']){const {commonTape:_0x7ba3ce,iEnd:_0x188cb2,jEnd:_0x28ccbe}=this['_threeWayMerge'](_0xc987de,_0x26a345,_0x1a7efd,_0x5c4066);_0x3e720d=_0x3e720d['concat'](_0x7ba3ce),_0x26a345=_0x188cb2,_0x5c4066=_0x28ccbe;}else _0x4f803f[_0x362a('0x79')]?(_0x5c4066++,_0x3e720d[_0x362a('0x56')](_0x4f803f)):(_0x26a345++,_0x3e720d['push'](_0xc6a9f6));}}return _0x3e720d;}[_0x362a('0x81')](_0x2e40c5,_0x10af9c){const _0x3697aa=[];for(let _0x523877=0x0;_0x523877<_0x2e40c5[_0x362a('0xd7')];_0x523877++){for(let _0xf5fe=0x0;_0xf5fe<_0x2e40c5[_0x523877][_0x362a('0x92')]['length'];_0xf5fe++){const _0x56cd18=_0x2e40c5[_0x523877][_0x362a('0x92')][_0xf5fe];if(!_0x10af9c[_0x362a('0x95')](_0x56cd18))continue;const {group:_0x5be362,type:_0x31e6db,authorId:_0xc1677}=_0x3a0080(_0x56cd18);_0x362a('0xd5')!=_0x5be362||_0x362a('0x1')!=_0x31e6db&&_0x362a('0x7f')!=_0x31e6db||(_0x3697aa['unshift']({'type':_0x31e6db,'name':_0x56cd18,'userId':_0xc1677}),_0x2e40c5[_0x523877]['markersStart'][_0x362a('0x7b')](_0xf5fe,0x1),_0xf5fe--);}_0x27b47f(_0x2e40c5[_0x523877]);for(let _0x4ee16c=0x0;_0x4ee16c<_0x2e40c5[_0x523877]['markersEnd'][_0x362a('0xd7')];_0x4ee16c++){const _0x24494b=_0x2e40c5[_0x523877][_0x362a('0xab')][_0x4ee16c];if(!_0x10af9c['has'](_0x24494b))continue;const {group:_0x3e6422,type:_0x45f83e}=_0x3a0080(_0x24494b);if(_0x362a('0xd5')!=_0x3e6422||_0x362a('0x1')!=_0x45f83e&&_0x362a('0x7f')!=_0x45f83e)continue;_0x2e40c5[_0x523877]['markersEnd'][_0x362a('0x7b')](_0x4ee16c,0x1),_0x4ee16c--;const _0x34ea1f=_0x3697aa['findIndex'](_0x46cb77=>_0x46cb77[_0x362a('0x74')]==_0x24494b);_0x34ea1f>-0x1&&_0x3697aa['splice'](_0x34ea1f,0x1);}}function _0x3a0080(_0x276ae9){const _0x5dd224=_0x276ae9[_0x362a('0x4f')](':');return{'group':_0x5dd224[0x0],'type':_0x5dd224[0x1],'subType':_0x5dd224[_0x362a('0xd7')]>=0x5?_0x5dd224[0x2]:null,'id':_0x5dd224[_0x362a('0xd7')]<0x5?_0x5dd224[0x2]:_0x5dd224[0x3],'authorId':_0x5dd224['length']<0x5?_0x5dd224[0x3]:_0x5dd224[0x4],'markerCount':0x6==_0x5dd224[_0x362a('0xd7')]?_0x5dd224[0x5]:null};}function _0x27b47f(_0x1d943c){for(let _0x559852=0x0;_0x559852<_0x3697aa['length'];_0x559852++){if(_0x1d943c['isAdded']&&'insertion'==_0x3697aa[_0x559852][_0x362a('0x48')])return _0x1d943c[_0x362a('0x3d')]=_0x3697aa[_0x559852],void delete _0x1d943c[_0x362a('0x8e')];if(!_0x1d943c['isAdded']&&!_0x1d943c[_0x362a('0x79')]&&_0x362a('0x7f')==_0x3697aa[_0x559852][_0x362a('0x48')])return void(_0x1d943c[_0x362a('0x5e')]=_0x3697aa[_0x559852]);}}}[_0x362a('0xa1')](_0x82aeef,_0x40aa02){let _0x1ad315=0x0,_0x408996=!0x1;const _0x8f2aca=new Map();for(const _0x2ba750 of _0x82aeef)_0x2ba750[_0x40aa02]?_0x408996&&(_0x1ad315++,_0x408996=!0x1):(_0x1ad315++,_0x408996=!0x0),_0x8f2aca['set'](_0x2ba750['id'],_0x1ad315);for(let _0x388b0f=0x0;_0x388b0f<_0x82aeef[_0x362a('0xd7')];_0x388b0f++){if(_0x362a('0x79')==_0x40aa02&&_0x82aeef[_0x388b0f]['isAdded']||_0x362a('0x8e')==_0x40aa02&&_0x82aeef[_0x388b0f][_0x362a('0x79')])continue;if(_0x362a('0x7c')==_0x82aeef[_0x388b0f][_0x362a('0x48')]){_0x82aeef[_0x388b0f][_0x362a('0x3b')]=0x0;continue;}const _0x3e362c=_0x8f2aca[_0x362a('0x89')](_0x82aeef[_0x388b0f][_0x362a('0x4')]),_0x3cb44c=_0x8f2aca[_0x362a('0x89')](_0x82aeef[_0x388b0f]['id']);_0x82aeef[_0x388b0f][_0x362a('0x3b')]=_0x3e362c-_0x3cb44c;}}['_getRevisionsRange'](_0x5a55e7,_0x4bfd63,_0x476c5e=!0x1){const _0x351d0e=[];let _0x1a3c6b=this[_0x362a('0x12')][_0x362a('0x22')](_0x5a55e7),_0x225072=this[_0x362a('0x12')]['getIndex'](_0x4bfd63);for(-0x1==_0x225072&&(_0x225072=this['repository'][_0x362a('0x88')][_0x362a('0xd7')],_0x476c5e=!0x1);_0x1a3c6b<_0x225072;)_0x351d0e[_0x362a('0x56')](this[_0x362a('0x12')][_0x362a('0xda')](_0x1a3c6b)),_0x1a3c6b++;return _0x476c5e&&_0x351d0e[_0x362a('0x56')](this[_0x362a('0x12')][_0x362a('0xda')](_0x1a3c6b)),_0x351d0e;}[_0x362a('0xe5')](_0x3e259e,_0x27ddf7,_0x49f615,_0x1a2746){const _0x4cef3a=this['editor']['model']['schema'];let _0x55fe89=_0x27ddf7;for(;_0x3e259e[_0x55fe89]&&_0x3e259e[_0x55fe89][_0x362a('0x8e')];)_0x55fe89++;let _0x4a2a6c=_0x1a2746;for(;_0x49f615[_0x4a2a6c]&&_0x49f615[_0x4a2a6c]['isRemoved'];)_0x4a2a6c++;_0x2fb91(_0x3e259e,_0x27ddf7,_0x55fe89),_0x2fb91(_0x49f615,_0x1a2746,_0x4a2a6c);const _0x21e447=_0x49f615[_0x362a('0xeb')](_0x1a2746,_0x4a2a6c)[_0x362a('0x101')](_0x3e259e[_0x362a('0xeb')](_0x27ddf7,_0x55fe89));return _0x21e447['sort']((_0x4a200e,_0x34dd43)=>_0x4a200e[_0x362a('0xd2')]!=_0x34dd43['side']?_0x4a200e['side']-_0x34dd43['side']:_0x4a200e['level']!=_0x34dd43['level']?_0x4a200e[_0x362a('0x2')]-_0x34dd43[_0x362a('0x2')]:_0x4a200e[_0x362a('0x3b')]!=_0x34dd43['distance']?_0x34dd43[_0x362a('0x3b')]-_0x4a200e[_0x362a('0x3b')]:!!_0x4a200e['isAdded']!=!!_0x34dd43['isAdded']?-0x1==_0x4a200e['side']||0x0==_0x4a200e[_0x362a('0xd2')]?_0x4a200e['isAdded']?-0x1:0x1:_0x4a200e[_0x362a('0x8e')]?0x1:-0x1:_0x4a200e[_0x362a('0xb')]-_0x34dd43[_0x362a('0xb')]),{'commonTape':_0x21e447,'iEnd':_0x55fe89,'jEnd':_0x4a2a6c};function _0x2fb91(_0x32d701,_0x1797a9,_0x358ca1){let _0x18581d=-0x1,_0x1c775a=Number[_0x362a('0xbc')],_0x1d99d7=!0x0;for(let _0x1533be=_0x1797a9;_0x1533be<_0x358ca1;_0x1533be++)if(_0x4cef3a[_0x362a('0xd')](_0x32d701[_0x1533be][_0x362a('0x65')])||(_0x1d99d7=!0x1),_0x32d701[_0x1533be][_0x362a('0x65')][_0x362a('0xb3')]<_0x1797a9&&(_0x18581d=_0x1533be),_0x32d701[_0x1533be]['item'][_0x362a('0xa8')]>=_0x358ca1){_0x1c775a=_0x1533be;break;}_0x1d99d7&&(_0x18581d=_0x358ca1-0x1);for(let _0x33eb26=_0x1797a9;_0x33eb26<_0x358ca1;_0x33eb26++)_0x32d701[_0x33eb26][_0x362a('0xd2')]=_0x33eb26<=_0x18581d?-0x1:_0x33eb26<_0x1c775a?0x0:0x1,_0x32d701[_0x33eb26][_0x362a('0xb')]=_0x33eb26;let _0x3d02ac=0x0;for(let _0x23c8fd=_0x1797a9;_0x23c8fd<=_0x18581d;_0x23c8fd++)0x0==_0x32d701[_0x23c8fd][_0x362a('0x3b')]?_0x32d701[_0x23c8fd]['level']=_0x3d02ac:(_0x3d02ac++,_0x32d701[_0x23c8fd][_0x362a('0x2')]=_0x3d02ac,_0x3d02ac++);for(let _0x13b760=_0x1797a9;_0x13b760<_0x358ca1;_0x13b760++)0x0==_0x32d701[_0x13b760]['side']&&(_0x32d701[_0x13b760][_0x362a('0x2')]=_0x3d02ac);_0x3d02ac=0x0;for(let _0x1d87a2=_0x358ca1-0x1;_0x1d87a2>=_0x1c775a;_0x1d87a2--)0x0==_0x32d701[_0x1d87a2]['distance']?_0x32d701[_0x1d87a2][_0x362a('0x2')]=_0x3d02ac:(_0x3d02ac--,_0x32d701[_0x1d87a2]['level']=_0x3d02ac,_0x3d02ac--);}}['_fixObsoleteTags'](_0xe5fe3c){const _0x2aa021=new Map(),_0x5d37dd=this[_0x362a('0x14')][_0x362a('0xe7')][_0x362a('0x2c')];for(let _0x34d913=0x1;_0x34d913<_0xe5fe3c[_0x362a('0xd7')];_0x34d913++){let _0x469d6a,_0x2acb95,_0x96fc7f;const _0x13436a=_0xe5fe3c[_0x34d913],_0x4b81d6=_0xe5fe3c[_0x34d913-0x1];if(_0x362a('0x7c')==_0x13436a['type'])continue;if(_0x13436a[_0x362a('0x48')]!=_0x4b81d6[_0x362a('0x48')])continue;if(!_0x5d37dd[_0x362a('0x50')](_0x4b81d6[_0x362a('0x65')])||_0x5d37dd['isLimit'](_0x4b81d6[_0x362a('0x65')]))continue;if(!_0x5d37dd[_0x362a('0x50')](_0x13436a[_0x362a('0x65')])||_0x5d37dd[_0x362a('0x19')](_0x13436a[_0x362a('0x65')]))continue;if((_0xe5fe3c[_0x34d913][_0x362a('0x8e')]||_0xe5fe3c[_0x34d913][_0x362a('0x3d')])&&_0xe5fe3c[_0x34d913-0x1][_0x362a('0x79')])_0x469d6a=_0xe5fe3c[_0x34d913],_0x2acb95=_0xe5fe3c[_0x34d913-0x1],_0x96fc7f=_0x34d913-0x1;else{if(!_0xe5fe3c[_0x34d913]['isRemoved']||!_0xe5fe3c[_0x34d913-0x1][_0x362a('0x8e')]&&!_0xe5fe3c[_0x34d913-0x1]['isAddSuggestion'])continue;_0x469d6a=_0xe5fe3c[_0x34d913-0x1],_0x2acb95=_0xe5fe3c[_0x34d913],_0x96fc7f=_0x34d913;}const _0x162b88=_0x469d6a[_0x362a('0x2')]==_0x2acb95[_0x362a('0x2')],_0x502534=Math[_0x362a('0xa9')](_0x469d6a['level'])<Math['abs'](_0x2acb95[_0x362a('0x2')])&&0x0==_0x2acb95[_0x362a('0x3b')];(_0x162b88||_0x502534)&&(_0x2aa021[_0x362a('0xd0')](_0x2acb95['id'],_0x469d6a['id']),_0xe5fe3c[_0x362a('0x7b')](_0x96fc7f,0x1),_0x34d913--,_0x469d6a[_0x362a('0x8e')]=!0x1);}for(let _0x3dfa6e=0x0;_0x3dfa6e<_0xe5fe3c[_0x362a('0xd7')];_0x3dfa6e++)_0x2aa021[_0x362a('0x95')](_0xe5fe3c[_0x3dfa6e]['pairId'])&&(_0xe5fe3c[_0x3dfa6e][_0x362a('0x4')]=_0x2aa021['get'](_0xe5fe3c[_0x3dfa6e]['pairId']));}[_0x362a('0xfe')](_0x496f1a){const _0x1fdb19=new Set(_0x496f1a['map'](_0x451c05=>_0x451c05['id']));for(let _0x24d4cb=0x0;_0x24d4cb<_0x496f1a['length'];_0x24d4cb++)_0x1fdb19[_0x362a('0x95')](_0x496f1a[_0x24d4cb][_0x362a('0x4')])||0x0==_0x496f1a[_0x24d4cb][_0x362a('0x3b')]||(_0x496f1a[_0x24d4cb]['isIncorrect']=!0x0);return _0x496f1a['filter'](_0x17953f=>!_0x17953f[_0x362a('0xe4')]);}[_0x362a('0x64')](_0x225ba7){const _0x2cb2dd=new Set();for(let _0x50c432=0x0;_0x50c432<_0x225ba7[_0x362a('0xd7')];_0x50c432++){if(_0x2cb2dd[_0x362a('0x95')](_0x225ba7[_0x50c432]['id'])&&_0x225ba7[_0x50c432][_0x362a('0x79')]&&(_0x225ba7[_0x50c432]['isIncorrect']=!0x0),_0x225ba7[_0x50c432][_0x362a('0xe4')])continue;if(0x0==_0x225ba7[_0x50c432][_0x362a('0x3b')])continue;if(_0x362a('0x7e')!=_0x225ba7[_0x50c432]['type'])continue;if(null==_0x225ba7[_0x50c432][_0x362a('0x4')])continue;let _0x2ec21a=_0x50c432+0x1,_0x3a53b6=0x0;for(;_0x225ba7[_0x2ec21a]['id']!=_0x225ba7[_0x50c432][_0x362a('0x4')];)'elementStart'==_0x225ba7[_0x2ec21a]['type']?_0x3a53b6++:_0x362a('0xc4')==_0x225ba7[_0x2ec21a][_0x362a('0x48')]&&_0x3a53b6--,_0x2ec21a++;if(0x0!=_0x3a53b6){if(_0x225ba7[_0x50c432]['isRemoved'])_0x225ba7[_0x50c432][_0x362a('0xe4')]=!0x0;else for(;_0x2ec21a!=_0x50c432;)_0x225ba7[_0x2ec21a][_0x362a('0x79')]&&0x0!=_0x225ba7[_0x2ec21a]['distance']&&(_0x225ba7[_0x2ec21a][_0x362a('0xe4')]=!0x0,_0x2cb2dd[_0x362a('0xf7')](_0x225ba7[_0x2ec21a]['pairId'])),_0x2ec21a--;}}return _0x225ba7[_0x362a('0xf8')](_0x4be9b1=>!_0x4be9b1[_0x362a('0xe4')]);}[_0x362a('0x36')](_0x346d3a){const _0x12ceab=this[_0x362a('0x14')][_0x362a('0xe7')][_0x362a('0x2c')];for(let _0x4516f8=0x0;_0x4516f8<_0x346d3a[_0x362a('0xd7')];_0x4516f8++){if(!(_0x346d3a[_0x4516f8][_0x362a('0x8e')]||_0x346d3a[_0x4516f8][_0x362a('0x3d')]||_0x346d3a[_0x4516f8]['isRemoved']||_0x346d3a[_0x4516f8][_0x362a('0x5e')]))continue;if(0x0==_0x346d3a[_0x4516f8][_0x362a('0x3b')])continue;const _0x5cdc36=_0x346d3a[_0x4516f8][_0x362a('0x65')];_0x12ceab[_0x362a('0x50')](_0x5cdc36)||_0x12ceab[_0x362a('0x19')](_0x5cdc36)||(_0x346d3a[_0x4516f8][_0x362a('0x8e')]&&delete _0x346d3a[_0x4516f8]['isAdded'],_0x346d3a[_0x4516f8]['isAddSuggestion']&&delete _0x346d3a[_0x4516f8][_0x362a('0x3d')],_0x346d3a[_0x4516f8]['isRemoveSuggestion']&&delete _0x346d3a[_0x4516f8][_0x362a('0x5e')],_0x346d3a[_0x4516f8][_0x362a('0x79')]&&(_0x346d3a[_0x4516f8]['isIncorrect']=!0x0));}return _0x346d3a[_0x362a('0xf8')](_0x3864ff=>!_0x3864ff[_0x362a('0xe4')]);}[_0x362a('0x37')](_0x298182,_0x26ab2c){const _0x576d11=new _0x3f0366(),_0x195bbc=[],_0x4a3445=new Map(),_0x4e61dd=this[_0x362a('0x14')][_0x362a('0xe7')],_0x3e72f5=_0x4e61dd[_0x362a('0x2c')],_0x3355f4=[_0x576d11],_0x2577e1={},_0x376d69={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x4fe067=null;const _0x3d1b80=[0x0];for(let _0x3f9a5d=0x0;_0x3f9a5d<_0x298182[_0x362a('0xd7')];_0x3f9a5d++){let _0x430db5,_0x5d4a68;if(_0x362a('0x7e')===_0x298182[_0x3f9a5d][_0x362a('0x48')]){_0x430db5=_0x4e61dd[_0x362a('0x86')](_0x576d11,_0x3d1b80);const _0x5217c4=new _0x481ff9(_0x298182[_0x3f9a5d][_0x362a('0x65')][_0x362a('0x74')],_0x298182[_0x3f9a5d][_0x362a('0x65')]['getAttributes']());_0x3355f4[0x0]['_appendChild'](_0x5217c4),_0x3d1b80['push'](0x0),_0x3355f4['unshift'](_0x5217c4),_0x5d4a68=_0x4e61dd[_0x362a('0x86')](_0x576d11,_0x3d1b80),_0x4fe067=null;}else{if('elementEnd'===_0x298182[_0x3f9a5d][_0x362a('0x48')])_0x3355f4[_0x362a('0xdd')](),_0x430db5=_0x4e61dd[_0x362a('0x86')](_0x576d11,_0x3d1b80),_0x3d1b80[_0x362a('0x38')](),_0x3d1b80[_0x3d1b80[_0x362a('0xd7')]-0x1]++,_0x5d4a68=_0x4e61dd[_0x362a('0x86')](_0x576d11,_0x3d1b80),_0x4fe067=null;else{if(_0x430db5=_0x4e61dd[_0x362a('0x86')](_0x576d11,_0x3d1b80),_0x4fe067&&_0x38603a(_0x4fe067,_0x298182[_0x3f9a5d][_0x362a('0x65')]))_0x4fe067['_data']+=_0x298182[_0x3f9a5d][_0x362a('0x65')][_0x362a('0xb9')];else{const _0xf0c90e=new _0x269a36(_0x298182[_0x3f9a5d][_0x362a('0x65')]['data'],_0x298182[_0x3f9a5d][_0x362a('0x65')][_0x362a('0x3c')]());_0x3355f4[0x0][_0x362a('0xfd')](_0xf0c90e),_0x4fe067=_0xf0c90e;}_0x3d1b80[_0x3d1b80[_0x362a('0xd7')]-0x1]+=_0x298182[_0x3f9a5d][_0x362a('0x65')][_0x362a('0x1a')],_0x5d4a68=_0x4e61dd['createPositionFromPath'](_0x576d11,_0x3d1b80);}}for(const _0x1a4c94 of _0x298182[_0x3f9a5d]['markersStart'])_0x4a3445[_0x362a('0xd0')](_0x1a4c94,{'start':_0x430db5,'end':null});_0x386f32(_0x362a('0x5e'),_0x3f9a5d,_0x430db5,_0x5d4a68),_0x386f32('isAddSuggestion',_0x3f9a5d,_0x430db5,_0x5d4a68),_0x386f32(_0x362a('0x79'),_0x3f9a5d,_0x430db5,_0x5d4a68),_0x386f32(_0x362a('0x8e'),_0x3f9a5d,_0x430db5,_0x5d4a68);for(const _0x287740 of _0x298182[_0x3f9a5d][_0x362a('0xab')]){_0x4a3445[_0x362a('0x89')](_0x287740)[_0x362a('0xd3')]=_0x5d4a68;}}for(const [_0x40f133,_0x25cd67]of _0x4a3445){const _0x251164=this[_0x362a('0x14')][_0x362a('0xe7')]['createRange'](_0x25cd67[_0x362a('0xba')],_0x25cd67[_0x362a('0xd3')]);_0x576d11[_0x362a('0x2f')]['set'](_0x40f133,_0x251164);}return _0x195bbc[_0x362a('0x9b')]((_0x469e86,_0x10ec29)=>{const _0x31fc3d=_0x576d11[_0x362a('0x2f')][_0x362a('0x89')]('revision:'+_0x469e86['id']),_0x367315=_0x576d11[_0x362a('0x2f')][_0x362a('0x89')](_0x362a('0x44')+_0x10ec29['id']);return _0x31fc3d[_0x362a('0xba')][_0x362a('0x67')](_0x367315[_0x362a('0xba')])?-0x1:_0x31fc3d[_0x362a('0xba')]['isAfter'](_0x367315[_0x362a('0xba')])?0x1:_0x31fc3d[_0x362a('0xd3')]['isBefore'](_0x367315[_0x362a('0xd3')])?-0x1:_0x31fc3d[_0x362a('0xd3')][_0x362a('0x4e')](_0x367315[_0x362a('0xd3')])?0x1:_0x362a('0xf7')===_0x469e86[_0x362a('0x48')]?-0x1:0x1;}),{'root':_0x576d11,'changes':_0x195bbc};function _0x386f32(_0x113fc4,_0xa4c4bf,_0x20b8a6,_0x1b50bc){const _0x41476f=!!_0x298182[_0xa4c4bf][_0x113fc4],_0x17f17a=_0x41476f?_0x298182[_0xa4c4bf][_0x113fc4][_0x362a('0x8')]:null,_0x207374=_0xa4c4bf===_0x298182['length']-0x1,_0x24d80f=_0x376d69[_0x113fc4][0x0],_0x1963e2=_0x3e72f5['isObject'](_0x298182[_0xa4c4bf]['item']);!_0x2577e1[_0x113fc4]&&_0x41476f?_0x2577e1[_0x113fc4]={'start':_0x20b8a6,'tapeItem':_0x298182[_0xa4c4bf],'userId':_0x17f17a,'type':_0x113fc4}:_0x2577e1[_0x113fc4]&&!_0x41476f?(_0x2577e1[_0x113fc4][_0x362a('0xd3')]=_0x20b8a6,_0x459336(_0x2577e1[_0x113fc4]),_0x2577e1[_0x113fc4]=null):_0x2577e1[_0x113fc4]&&_0x41476f&&_0x2577e1[_0x113fc4]['userId']!==_0x17f17a&&(_0x2577e1[_0x113fc4]['end']=_0x20b8a6,_0x24d80f&&_0x24d80f[_0x362a('0x8')]===_0x2577e1[_0x113fc4][_0x362a('0x8')]||_0x459336(_0x2577e1[_0x113fc4]),_0x2577e1[_0x113fc4]={'start':_0x20b8a6,'tapeItem':_0x298182[_0xa4c4bf],'userId':_0x17f17a,'type':_0x113fc4}),_0x2577e1[_0x113fc4]&&_0x1963e2&&(_0x362a('0x7e')!==_0x298182[_0xa4c4bf][_0x362a('0x48')]||_0x24d80f&&_0x24d80f[_0x362a('0x8')]===_0x17f17a||_0x376d69[_0x113fc4]['unshift']({'userId':_0x17f17a,'object':_0x298182[_0xa4c4bf][_0x362a('0x65')],'change':_0x2577e1[_0x113fc4]}),_0x362a('0xc4')===_0x298182[_0xa4c4bf][_0x362a('0x48')]&&_0x24d80f&&_0x24d80f['object']===_0x298182[_0xa4c4bf][_0x362a('0x65')]&&(_0x376d69[_0x113fc4][_0x362a('0xdd')](),_0x2577e1[_0x113fc4]=_0x24d80f[_0x362a('0x61')])),_0x2577e1[_0x113fc4]&&_0x207374&&(_0x2577e1[_0x113fc4]['end']=_0x1b50bc,_0x459336(_0x2577e1[_0x113fc4]),_0x2577e1[_0x113fc4]=null);}function _0x459336({start:_0x132995,end:_0x3c2590,tapeItem:_0x4e075c,userId:_0x3bb167,type:_0xecbb04}){const _0x75d0bd=_0x4e075c[_0x362a('0x65')],_0x10baa1=_0x4e61dd[_0x362a('0x2c')]['isBlock'](_0x75d0bd)&&!_0x4e61dd[_0x362a('0x2c')][_0x362a('0x19')](_0x75d0bd),_0xd5b395=_0x132995[_0x362a('0x5b')]==_0x3c2590['parent']&&_0x3c2590[_0x362a('0xb7')];if(_0x10baa1&&_0xd5b395)return;const _0x2c45cc=_0x4e61dd[_0x362a('0xe2')](_0x132995,_0x3c2590),_0x134d0b=_0x26ab2c[_0x362a('0x89')](_0x3bb167),_0x2ac4d1=new _0x834f11({'author':_0x134d0b,'type':_0x362a('0x8e')==_0xecbb04||'isAddSuggestion'==_0xecbb04?_0x362a('0xf7'):_0x362a('0xcb'),'data':{'isSuggestion':'isAddSuggestion'==_0xecbb04||_0x362a('0x5e')==_0xecbb04},'createdAt':new Date()});_0x195bbc[_0x362a('0x56')](_0x2ac4d1),_0x576d11[_0x362a('0x2f')][_0x362a('0xd0')](_0x362a('0x44')+_0x2ac4d1['id'],_0x2c45cc);}function _0x38603a(_0x4bc4d0,_0x1f1fbc){const _0x4c7658=_0x4bc4d0[_0x362a('0x3c')](),_0x575ee9=_0x1f1fbc[_0x362a('0x3c')]();for(const _0x467dfa of _0x4c7658){if(_0x467dfa[0x1]!==_0x1f1fbc[_0x362a('0xa6')](_0x467dfa[0x0]))return!0x1;_0x575ee9[_0x362a('0xd4')]();}return _0x575ee9[_0x362a('0xd4')]()[_0x362a('0x3')];}}[_0x362a('0x77')](){this[_0x362a('0x14')]['conversion'][_0x362a('0x58')](_0x362a('0x7'))['dataToMarker']({'view':_0x362a('0x13')}),this['editor'][_0x362a('0x5f')][_0x362a('0x58')](_0x362a('0x3e'))[_0x362a('0xf4')]({'model':'revision','view':_0x950e0a=>{const _0x1559de=_0x950e0a['markerName'][_0x362a('0x4f')](':')[0x1],_0x480736=this[_0x362a('0x4a')](_0x1559de);if(!_0x480736)return null;const _0x409571=_0x362a('0xf7')==_0x480736['type']?_0x362a('0x1'):_0x362a('0x7f'),_0x38f905=['ck-suggestion-marker',_0x362a('0xb2')+_0x409571];return _0x480736['data'][_0x362a('0x63')]&&_0x38f905[_0x362a('0x56')]('ck-suggestion-marker-'+_0x409571+'-new'),this[_0x362a('0x1b')]==_0x480736&&_0x38f905[_0x362a('0x56')](_0x362a('0x20')),{'classes':_0x38f905,'attributes':{'data-change-id':_0x1559de}};}}),this['editor'][_0x362a('0x5f')][_0x362a('0x58')](_0x362a('0x7'))[_0x362a('0xf7')](_0x15f745=>{_0x15f745['on'](_0x362a('0xa5'),(_0x3f213f,_0x2b52b9,_0x270f3f)=>{const _0x5d72fc=_0x2b52b9['viewItem'][_0x362a('0x21')](0x0);if(!_0x5d72fc||!_0x5d72fc['is'](_0x362a('0x100'),_0x362a('0x1e')))return;if(!_0x270f3f['consumable'][_0x362a('0x54')](_0x5d72fc,{'attributes':['vid_start','vid_end']}))return;const _0x3a21a1=_0x2b52b9['modelRange'][_0x362a('0xba')][_0x362a('0x5b')];_0x270f3f[_0x362a('0xa')][_0x362a('0xe9')](_0x362a('0x90'),_0x5d72fc[_0x362a('0xa6')]('vid_start'),_0x3a21a1),_0x270f3f[_0x362a('0xa')]['setAttribute'](_0x362a('0xca'),_0x5d72fc['getAttribute'](_0x362a('0xca')),_0x3a21a1);},{'priority':_0x362a('0xdf')});}),this['editor'][_0x362a('0x5f')][_0x362a('0x58')](_0x362a('0x7'))[_0x362a('0xf7')](_0x5efec1=>{_0x5efec1['on'](_0x362a('0x100'),(_0x5a4d1c,_0x3a643e,_0x540f35)=>{if(!_0x540f35['consumable'][_0x362a('0x54')](_0x3a643e['viewItem'],{'attributes':[_0x362a('0x90'),'vid_end']}))return;if(_0x3a643e[_0x362a('0xb1')]['isCollapsed'])return;const _0x5cc993=_0x3a643e['modelRange'][_0x362a('0xba')][_0x362a('0x5b')];_0x5cc993[_0x362a('0x6')](_0x362a('0x90'))||_0x5cc993[_0x362a('0x6')]('vid')||(_0x540f35[_0x362a('0xa')][_0x362a('0xe9')](_0x362a('0x90'),_0x3a643e[_0x362a('0xea')][_0x362a('0xa6')](_0x362a('0x90')),_0x5cc993),_0x540f35['writer'][_0x362a('0xe9')](_0x362a('0xca'),_0x3a643e['viewItem'][_0x362a('0xa6')](_0x362a('0xca')),_0x5cc993));},{'priority':_0x362a('0xdf')});}),this[_0x362a('0x14')][_0x362a('0x5f')][_0x362a('0x58')](_0x362a('0x7'))[_0x362a('0x43')]({'view':{'name':_0x362a('0x35'),'attributes':{'vid':!0x0}},'model':{'key':_0x362a('0x102'),'value':_0x5e3f30=>_0x5e3f30[_0x362a('0xa6')]('vid')}}),this[_0x362a('0x14')][_0x362a('0xe7')][_0x362a('0x2c')]['on'](_0x362a('0x87'),(_0x280314,[,_0x14152f])=>{[_0x362a('0x90'),_0x362a('0xca'),_0x362a('0x102')]['includes'](_0x14152f)&&(_0x280314[_0x362a('0x6e')]=!0x0,_0x280314[_0x362a('0xb8')]());},{'priority':'highest'}),this[_0x362a('0x14')][_0x362a('0x5f')][_0x362a('0x58')]('dataDowncast')[_0x362a('0xf7')](_0x2c6b2c=>{_0x2c6b2c['on'](_0x362a('0x52'),(_0x31e45e,_0x4369d1,_0x2be78c)=>{if('\x20'!=_0x4369d1['item'][_0x362a('0xb9')]||_0x4369d1[_0x362a('0x65')]['parent'][_0x362a('0xf6')]>0x1)return;if(!_0x2be78c[_0x362a('0xb6')][_0x362a('0x54')](_0x4369d1[_0x362a('0x65')],_0x31e45e[_0x362a('0x74')]))return;const _0x55b681=_0x2be78c[_0x362a('0xa')],_0x4e5f42=_0x2be78c[_0x362a('0xf3')]['toViewRange'](_0x4369d1[_0x362a('0xf1')]);_0x55b681['wrap'](_0x4e5f42,_0x55b681[_0x362a('0x24')](_0x362a('0x35')));});}),this[_0x362a('0x14')][_0x362a('0x5f')][_0x362a('0x58')]('dataDowncast')['markerToData']({'model':'revision'}),this[_0x362a('0x14')][_0x362a('0xae')][_0x362a('0x73')]['on']('addMarker:revision',function(_0x4b9a3c){const _0x19a287=_0x4b9a3c['plugins'][_0x362a('0x89')]('RevisionViewer');return(_0x57b7d3,_0x72bca2,_0x458427)=>{const _0x5cf038=_0x72bca2[_0x362a('0xff')][_0x362a('0x4f')](':')[0x1],_0x5308bb=_0x19a287[_0x362a('0x4a')](_0x5cf038);if(!_0x5308bb)return null;const _0x2016ac=_0x362a('0xf7')==_0x5308bb['type']?'split':'merge';if(!_0x458427[_0x362a('0xb6')][_0x362a('0x51')](_0x72bca2[_0x362a('0x15')],_0x57b7d3[_0x362a('0x74')]))return;const _0x210c0d=_0x72bca2[_0x362a('0x15')][_0x362a('0x76')](),_0x3f255a=_0x72bca2[_0x362a('0x15')][_0x362a('0xba')],_0x4c3f0f=_0x4b9a3c[_0x362a('0xe7')][_0x362a('0x2c')];let _0x4ad63c=null,_0xb3c901=null,_0x44de9f=!0x1,_0x37a388=!0x1;for(const _0x3b5efe of _0x210c0d){const _0x1d8fe3=_0x3b5efe[_0x362a('0x65')];_0x44de9f=_0x44de9f||_0x4c3f0f[_0x362a('0xef')](_0x1d8fe3);const _0x3b7f7b=_0x458427['mapper'][_0x362a('0x62')](_0x1d8fe3);if(_0x3b7f7b&&_0x3b7f7b['getCustomProperty']('addHighlight'))return;_0x362a('0xc4')==_0x3b5efe[_0x362a('0x48')]&&(_0x4c3f0f[_0x362a('0x50')](_0x1d8fe3)&&!_0x4c3f0f[_0x362a('0x19')](_0x1d8fe3)&&(_0x1d8fe3['nextSibling']||_0x3f255a[_0x362a('0xec')]?_0x4ad63c&&_0x4ad63c['parent']==_0x1d8fe3||(_0x4ad63c=_0x1d8fe3,_0x308272(_0x3b5efe[_0x362a('0x42')]),_0x37a388=!0x0):_0xb3c901=_0xb3c901||_0x3b5efe[_0x362a('0x42')]));}function _0x308272(_0x2d7b08){const _0x18e447=_0x458427['writer'][_0x362a('0x9e')](_0x362a('0x35'),{'class':'ck-suggestion-marker-'+_0x2016ac}),_0x61b5db=_0x458427['mapper'][_0x362a('0xaa')](_0x2d7b08);_0x5308bb[_0x362a('0xb9')][_0x362a('0x63')]&&_0x458427[_0x362a('0xa')][_0x362a('0x83')](_0x362a('0xb2')+_0x2016ac+_0x362a('0xdc'),_0x18e447),_0x19a287[_0x362a('0x1b')]==_0x5308bb&&_0x458427[_0x362a('0xa')][_0x362a('0x83')](_0x362a('0x20'),_0x18e447),_0x458427['writer'][_0x362a('0x104')](_0x61b5db,_0x18e447),_0x458427[_0x362a('0xf3')][_0x362a('0x4c')](_0x18e447,_0x72bca2[_0x362a('0xff')]);}_0x44de9f||_0x37a388||!_0xb3c901||_0x308272(_0xb3c901);};}(this[_0x362a('0x14')]),{'priority':_0x362a('0x1d')}),this[_0x362a('0x14')]['editing'][_0x362a('0x73')]['on'](_0x362a('0x23'),(_0x5e0a16,_0xf8797b,_0x284459)=>{const _0x5f0edb=_0x284459[_0x362a('0xf3')][_0x362a('0x60')](_0xf8797b[_0x362a('0xff')]);if(_0x5f0edb)for(const _0x3aaece of _0x5f0edb)(_0x3aaece[_0x362a('0x5d')](_0x362a('0x2e'))||_0x3aaece['hasClass'](_0x362a('0x29')))&&(_0x284459[_0x362a('0xf3')][_0x362a('0x7d')](_0x3aaece,_0xf8797b['markerName']),_0x284459[_0x362a('0xa')][_0x362a('0xcb')](_0x3aaece));},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on'](_0x362a('0x28'),(_0xbf292c,_0x17f979,_0x52fdcc)=>{const _0x385fa8=_0x17f979[_0x362a('0xff')][_0x362a('0x4f')](':')[0x1],_0x3e6b0c=this[_0x362a('0x4a')](_0x385fa8);if(!_0x3e6b0c)return null;const _0x314524=_0x362a('0xf7')==_0x3e6b0c[_0x362a('0x48')]?_0x362a('0x4f'):_0x362a('0xed');if(_0x52fdcc['consumable']['test'](_0x17f979[_0x362a('0x15')],_0xbf292c[_0x362a('0x74')]))for(const _0x42ffa6 of _0x17f979[_0x362a('0x15')][_0x362a('0xe1')]()){if(!_0x42ffa6['is']('element','softBreak'))continue;const _0x576e5d=_0x52fdcc[_0x362a('0xa')][_0x362a('0x9e')](_0x362a('0x35'),{'class':_0x362a('0xb2')+_0x314524}),_0x399d41=_0x52fdcc[_0x362a('0xf3')][_0x362a('0xaa')](this[_0x362a('0x14')]['model']['createPositionBefore'](_0x42ffa6));_0x3e6b0c[_0x362a('0xb9')][_0x362a('0x63')]&&_0x52fdcc[_0x362a('0xa')][_0x362a('0x83')](_0x362a('0xb2')+_0x314524+_0x362a('0xdc'),_0x576e5d),this[_0x362a('0x1b')]==_0x3e6b0c&&_0x52fdcc[_0x362a('0xa')][_0x362a('0x83')]('ck-suggestion-marker--active',_0x576e5d),_0x52fdcc[_0x362a('0xa')][_0x362a('0x104')](_0x399d41,_0x576e5d),_0x52fdcc[_0x362a('0xf3')]['bindElementToMarker'](_0x576e5d,_0x17f979['markerName']);}},{'priority':_0x362a('0x1d')}),this[_0x362a('0x14')][_0x362a('0x5f')][_0x362a('0x58')](_0x362a('0x7'))[_0x362a('0xad')]({'view':_0x362a('0xd6'),'model':_0x2e656c=>'revision-comment:'+_0x2e656c,'converterPriority':'highest'}),this[_0x362a('0x14')][_0x362a('0x5f')][_0x362a('0x58')](_0x362a('0x7'))[_0x362a('0xad')]({'view':'suggestion','model':_0x56bf3d=>'revision-suggestion:'+_0x56bf3d,'converterPriority':'highest'}),this[_0x362a('0x14')][_0x362a('0x5f')][_0x362a('0x58')](_0x362a('0x93'))[_0x362a('0x41')]({'model':_0x362a('0xd5'),'view':_0x144fbf=>'suggestion:'+_0x144fbf,'converterPriority':'highest'}),this[_0x362a('0x14')][_0x362a('0x5f')][_0x362a('0x58')]('editingDowncast')[_0x362a('0xf4')]({'model':_0x362a('0xd5'),'view':_0x4df413=>{const _0x26db38=_0x4df413[_0x362a('0xff')][_0x362a('0x4f')](':')[0x1];return _0x362a('0x1')!=_0x26db38&&_0x362a('0x7f')!=_0x26db38?null:{'classes':[_0x362a('0xa0'),'ck-suggestion-preview-marker-'+_0x26db38]};}}),this['editor'][_0x362a('0xae')][_0x362a('0x73')]['on'](_0x362a('0x6c'),Z(this[_0x362a('0x14')],_0x362a('0xed')),{'priority':_0x362a('0x1d')}),this[_0x362a('0x14')][_0x362a('0xae')]['downcastDispatcher']['on']('addMarker:revision-suggestion:insertion',Z(this[_0x362a('0x14')],_0x362a('0x4f')),{'priority':_0x362a('0x1d')}),this['editor'][_0x362a('0xae')][_0x362a('0x73')]['on'](_0x362a('0xfa'),(_0x3a0a26,_0x19958a,_0x170e7d)=>{const _0x2f5d62=_0x170e7d[_0x362a('0xf3')][_0x362a('0x60')](_0x19958a[_0x362a('0xff')]);if(_0x2f5d62)for(const _0xef4195 of _0x2f5d62)_0xef4195['is'](_0x362a('0x8b'))&&(_0x170e7d[_0x362a('0xf3')][_0x362a('0x7d')](_0xef4195,_0x19958a[_0x362a('0xff')]),_0x170e7d['writer'][_0x362a('0xcb')](_0xef4195));},{'priority':_0x362a('0x1d')});}[_0x362a('0x4a')](_0x412a50){return this[_0x362a('0x84')][_0x362a('0x89')](_0x412a50);}['_getViewForChange'](_0x16861e){this['_changeView']&&this[_0x362a('0x8a')][_0x362a('0xc3')](),this['_changeView']=new _0x4612b3(this[_0x362a('0x14')]['locale'],_0x16861e);const _0x51d776=this[_0x362a('0x14')][_0x362a('0xe7')][_0x362a('0x2f')][_0x362a('0x89')](_0x362a('0x44')+_0x16861e['id']);return this[_0x362a('0x8a')][_0x362a('0x2d')]=()=>_0x15f201(this['editor']['editing'],_0x51d776),this['_changeView'];}['_initInteractions'](){this[_0x362a('0x14')][_0x362a('0xe7')][_0x362a('0xc8')]['selection'][_0x362a('0x17')]('revision'),this['on']('change:activeView',(_0x2884b2,_0x3df3bd,_0x70dea6,_0x893702)=>{_0x893702&&this[_0x362a('0x66')][_0x362a('0xcb')](_0x893702),_0x70dea6&&(this[_0x362a('0x66')][_0x362a('0xf7')]({'view':_0x70dea6,'stackId':_0x362a('0xb4'),'position':{'target':_0x70dea6[_0x362a('0x2d')]}}),this[_0x362a('0x66')][_0x362a('0xf')](_0x362a('0xb4')));}),this['on'](_0x362a('0x16'),(_0x2bfb38,_0x508a3b,_0x34cddd,_0x251637)=>{this[_0x362a('0xcf')]=_0x34cddd?this['_getViewForChange'](_0x34cddd):null,this['editor'][_0x362a('0xe7')][_0x362a('0x61')](()=>{const _0x32a9ac=this[_0x362a('0x14')]['editing'];_0x251637&&_0x32a9ac[_0x362a('0x40')](_0x362a('0x44')+_0x251637['id']),_0x34cddd&&_0x32a9ac[_0x362a('0x40')]('revision:'+_0x34cddd['id']);});}),this['listenTo'](this[_0x362a('0x14')][_0x362a('0xae')][_0x362a('0x8f')][_0x362a('0xc8')],_0x362a('0x80'),(_0xef69f5,_0xa556ee)=>{if(this['activeChange'])return;const _0x534174=this[_0x362a('0xd8')](_0xa556ee[_0x362a('0x78')]),_0x5d2a7f=this['_changeIdToChange'][_0x362a('0x89')](_0x534174);this[_0x362a('0xcf')]=_0x5d2a7f?this[_0x362a('0x82')](_0x5d2a7f):null;}),this[_0x362a('0xde')](this[_0x362a('0x14')]['editing'][_0x362a('0x8f')]['document'],_0x362a('0x11'),(_0x4fa79d,_0x187585)=>{const _0x415605=this[_0x362a('0xd8')](_0x187585[_0x362a('0x78')]),_0x48d16d=this[_0x362a('0x84')]['get'](_0x415605);this['activeChange']=_0x48d16d||null;});}['_findChangeIdFromDomTarget'](_0x5048c8){do{const _0x5e998c=_0x5048c8['getAttribute'](_0x362a('0xe0'));if(_0x5e998c)return _0x5e998c;_0x5048c8=_0x5048c8['parent'];}while(_0x5048c8);return null;}[_0x362a('0xcd')](){this[_0x362a('0x14')][_0x362a('0xe7')][_0x362a('0x61')](_0x3b8ea6=>{for(const _0x25a9a3 of this[_0x362a('0x14')]['model'][_0x362a('0x2f')])_0x3b8ea6['removeMarker'](_0x25a9a3);});}}function Z(_0x108a50,_0x32f8a5){return(_0x3dce11,_0x15f4c8,_0x34e76c)=>{if(!_0x34e76c[_0x362a('0xb6')][_0x362a('0x51')](_0x15f4c8[_0x362a('0x15')],_0x3dce11[_0x362a('0x74')]))return;const _0x1a3638=_0x15f4c8[_0x362a('0x15')][_0x362a('0x76')](),_0x494b4a=_0x15f4c8['markerRange']['start'],_0x2579a9=_0x108a50[_0x362a('0xe7')]['schema'];let _0x34632f=null,_0x4532e0=null,_0x36a77f=!0x1,_0x2277fa=!0x1;for(const _0x5af600 of _0x1a3638){const _0x26581e=_0x5af600[_0x362a('0x65')];_0x36a77f=_0x36a77f||_0x2579a9['isContent'](_0x26581e);const _0x4f1064=_0x34e76c[_0x362a('0xf3')][_0x362a('0x62')](_0x26581e);if(_0x4f1064&&_0x4f1064['getCustomProperty'](_0x362a('0x18')))return;_0x362a('0xc4')==_0x5af600[_0x362a('0x48')]&&(_0x2579a9[_0x362a('0x50')](_0x26581e)&&!_0x2579a9[_0x362a('0x19')](_0x26581e)&&(_0x26581e[_0x362a('0x0')]||_0x494b4a[_0x362a('0xec')]?_0x34632f&&_0x34632f[_0x362a('0x1f')]==_0x26581e||(_0x34632f=_0x26581e,_0x4078f6(_0x5af600[_0x362a('0x42')]),_0x2277fa=!0x0):_0x4532e0=_0x4532e0||_0x5af600['previousPosition']));}function _0x4078f6(_0x274f69){const _0x5b80ec=_0x34e76c[_0x362a('0xf3')][_0x362a('0xaa')](_0x274f69),_0x2124dd=_0x34e76c[_0x362a('0xa')][_0x362a('0x9e')](_0x362a('0x35'),{'class':_0x362a('0x59')+_0x32f8a5});_0x34e76c['writer'][_0x362a('0x104')](_0x5b80ec,_0x2124dd),_0x34e76c[_0x362a('0xf3')][_0x362a('0x4c')](_0x2124dd,_0x15f4c8[_0x362a('0xff')]);}_0x36a77f||_0x2277fa||!_0x4532e0||_0x4078f6(_0x4532e0);};}_0x27e8c5(d,_0x9f85d9);class tt extends _0x3913a7{constructor(_0x3e5781){super(_0x3e5781);const _0x52c5aa=_0x3e5781[_0x362a('0x26')]['get'](d);this[_0x362a('0x4d')](_0x3e5781,_0x362a('0x46')),this[_0x362a('0xee')]('readOnlyMode'),this[_0x362a('0xde')](_0x52c5aa,_0x362a('0x6b'),()=>this[_0x362a('0x9f')]()),this['listenTo'](_0x52c5aa,_0x362a('0x45'),()=>this['refresh']());}['execute'](){const _0x41b6c0=this['editor'],_0x246e08=_0x41b6c0[_0x362a('0x26')][_0x362a('0x89')](d),_0x4cc616=_0x246e08['isReady']?_0x246e08[_0x362a('0xd1')][_0x362a('0xbd')]:null;_0x41b6c0[_0x362a('0xf2')]['get'](_0x362a('0xa3'))['restoreRevisionCallback'](_0x4cc616);}[_0x362a('0x9f')](){const {isReady:_0x48be33,isEnabled:_0x577dac}=this[_0x362a('0x14')][_0x362a('0x26')][_0x362a('0x89')](d);this[_0x362a('0xac')]=_0x48be33&&_0x577dac;}}class et extends _0x3913a7{constructor(_0x11bd73,{direction:_0x29e461}){super(_0x11bd73);const _0x3194b4=_0x11bd73[_0x362a('0x26')][_0x362a('0x89')](d);this[_0x362a('0x4d')](_0x11bd73,_0x362a('0x46')),this[_0x362a('0xee')](_0x362a('0x9')),this[_0x362a('0x5')]=_0x362a('0xe6')===_0x29e461?0x1:-0x1,this[_0x362a('0xde')](_0x3194b4,_0x362a('0x6b'),()=>this[_0x362a('0x9f')]()),this['listenTo'](_0x3194b4,_0x362a('0x45'),()=>this[_0x362a('0x9f')]());}['execute'](){const _0x3f0441=this[_0x362a('0x14')],_0x1ff626=_0x3f0441[_0x362a('0x26')]['get'](d),{isNavigationMode:_0x46394a,currentChangeNumber:_0x11a256}=_0x1ff626;_0x1ff626[_0x362a('0x1b')]=_0x46394a?_0x1ff626[_0x362a('0xd1')][_0x362a('0xc9')][_0x362a('0x89')](_0x11a256+this[_0x362a('0x5')]):_0x1ff626[_0x362a('0xd1')][_0x362a('0xc9')][_0x362a('0x98')];const _0x48803a=_0x3f0441[_0x362a('0xe7')][_0x362a('0x2f')][_0x362a('0x89')](_0x362a('0x44')+_0x1ff626[_0x362a('0x1b')]['id']),_0x488e6d=_0x15f201(_0x3f0441[_0x362a('0xae')],_0x48803a);_0x194198({'target':_0x488e6d,'viewportOffset':0x28});}[_0x362a('0x9f')](){const {isNavigationMode:_0xee3da6,currentChangeNumber:_0x393c88,numberOfChanges:_0x2edc56,isReady:_0x185851,isEnabled:_0x120dd4}=this[_0x362a('0x14')][_0x362a('0x26')][_0x362a('0x89')](d);this[_0x362a('0xac')]=!!(_0x120dd4&&_0x185851&&_0x2edc56)&&(!_0xee3da6||(0x1===this[_0x362a('0x5')]?_0x393c88<_0x2edc56-0x1:_0x393c88>0x0));}}
23
+ const _0x1071=['getWalker','consume','authors','isReady','vid_start','isRemoveSuggestion','loadRevisionData','_markMismatchedRemovedTags','change:isReadOnly','unbindElementFromMarkerName','upcast','change','then','forEach','ck-suggestion-marker','isNavigationMode','findIndex','forward','downcastDispatcher','_markMarkers','children','_getRevisionsRange','bind','markers','revision-suggestion','deletions','setAttribute','isAtEnd','_makeModelFromViewString','default','readOnlyMode','_removeUnsupportedChanges','restoreRevisionCallback','keys','offsetSize','conversion','item','pairId','index','isInline','config','high','_markInsertions','getRevisionData','_target','side','editor','ck-editor__editable__overlay','_revisions','isLimit','numberOfChanges','toViewElement','_balloon','<p></p>','observeMarkers','target','change:activeChange','addMarker:revision','isBlock','isAddSuggestion','getRevision','_markSuggestions','markerToData','document','backward','userId','string','getCustomProperty','parent','_changeIdToChange','toData','_makeModelFromTape','revisionHistory','removeMarker','isEnabled','changes','uiElement','start','createRangeIn','dataToMarker','plugins','markerToHighlight','name','toModel','selection','createPositionFromPath','editing','change:activeView','ck-suggestion-preview-marker','addMarker:revision-suggestion:insertion','_joinTapes','revision','consumable','commands','change:numberOfChanges','createRange','_initInteractions','level','splice','processor','_getViewForChange','mapper','markerName','POSITIVE_INFINITY','oldRevisionId','mousedown','_getDiff','includes','getRootNames','data-change-id','revisionHistoryLabel','split','_setDistance','has','text','activeView','forceDisabled','isBefore','set','clearForceDisabled','previousPosition','range','ck-suggestion-marker--active','pop','getItems','newRevisionId','sort','enqueueChange','diffData','collaboration.channelId','done','shift','toViewRange','slice','values','resolve','RevisionViewer','startIndex','refresh','init','next','getChild','attributes','mouseover','span','bindElementToMarker','_step','locale','from','elementEnd','_getChangeFromId','getIndex','repository','schema','vid','getAttributes','object','removeClass','dataDowncast','abs','isEqual','compare','change:isEnabled','listenTo','ck-suggestion-marker-','test','diff','end','map','filter','isSuggestion','markersEnd','_removeMissingPairs','viewItem','ck-suggestion-preview-marker-','nextSibling','execute','stopListening','catch','data','removeMarker:revision','toViewPosition','data-revision-','modelRange','_threeWayMerge','roots','maxOffset','concat','pluginName','distance','hasAttribute','revision-end','ck-suggestion-marker-split','reconvertMarker','vid_end','createRevision','useFillerType','isContent','getAttribute','currentChangeNumber','-new','get','_refreshStartEndIndex','restoreRevision','_appendChild','_makeTape','WidgetToolbarRepository','suggestion:','isCollapsed','elementToAttribute','requires','suggestion','remove','code','endIndex','revision-viewer','length','add','markersStart','_processTape','merge','isAdded','hasClass','_setConversion','_cleanUp','markerRange','insert','writer','activeChange','_update','_cleanMarkers','destroy','nodeAfter','startsWith','isRemoved','nextPosition','element','adapter','for','_findChangeIdFromDomTarget','ck-suggestion-marker-merge','_getViewObj','isIncorrect','unshift','low','createUIElement','change:isReady','highest','addClass','first','_fixObsoleteTags','attribute:vid','editingDowncast','insertions','_changeView','model','showPreviousChange','isAfter','deletion','addHighlight','delete','getRoot','clear','revision:','RevisionsRepository','element:pre','insertion','elementStart','type','setData','view','push','addMarker:revision-suggestion:deletion','parse','_removeRevisionMarkers'];(function(_0x21aedb,_0x107164){const _0x3c3e16=function(_0x13bf35){while(--_0x13bf35){_0x21aedb['push'](_0x21aedb['shift']());}};_0x3c3e16(++_0x107164);}(_0x1071,0xf1));const _0x3c3e=function(_0x21aedb,_0x107164){_0x21aedb=_0x21aedb-0x0;let _0x3c3e16=_0x1071[_0x21aedb];return _0x3c3e16;};import{Plugin as _0x14f800,Command as _0x6ed4c3}from'ckeditor5/src/core';import{ObservableMixin as _0x24627b,mix as _0x22662e,scrollViewportToShowTarget as _0x276425}from'ckeditor5/src/utils';import{ContextualBalloon as _0x263f21}from'ckeditor5/src/ui';import{DocumentFragment as _0x5e8220,Element as _0x27576b,Text as _0x471767,ViewDocumentFragment as _0x33fed3,ViewText as _0x1ae9eb,ViewElement as _0x5a2e2e,ViewContainerElement as _0x2135f5,ViewAttributeElement as _0x4f8dc2,ViewEmptyElement as _0x33a186,ViewRawElement as _0x5af131,ViewUIElement as _0x5e7b79}from'ckeditor5/src/engine';import{Users as _0x1d6897,getMarkerDomElement as _0x565d48}from'ckeditor5-collaboration/src/collaboration-core';import _0x1e0cb9 from'./ui/revisionviewer/changedetailsview';import _0x14a620 from'./revisionsrepository';import _0x3002ff from'./changeitem';import _0x4afdd7 from'./revisiondiff';import'../theme/revisionviewer.css';const Y={'c':_0x2135f5,'a':_0x4f8dc2,'e':_0x33a186,'r':_0x5af131,'u':_0x5e7b79};export default class d extends _0x14f800{static get[_0x3c3e('0xde')](){return _0x3c3e('0xaa');}static get[_0x3c3e('0xf4')](){return[_0x1d6897,_0x263f21,_0x14a620];}constructor(..._0x3692d9){super(..._0x3692d9),this[_0x3c3e('0xba')]=this[_0x3c3e('0x50')][_0x3c3e('0x72')][_0x3c3e('0xeb')](_0x3c3e('0x17')),this[_0x3c3e('0x98')](_0x3c3e('0x106'),null),this[_0x3c3e('0x98')](_0x3c3e('0x95'),null),this[_0x3c3e('0x98')](_0x3c3e('0xc8'),null),this[_0x3c3e('0x98')]('isReady',!0x1),this[_0x3c3e('0x98')](_0x3c3e('0x6c'),!0x0),this['on'](_0x3c3e('0xc4'),(_0x5dd5e0,_0x45e8aa,_0x3357f5)=>{this[_0x3c3e('0x106')]=null,this[_0x3c3e('0x95')]=null,this['editor'][_0x3c3e('0x78')][_0x3c3e('0x1d')][_0x3c3e('0x2d')](_0x2464f1=>{for(const _0x505c2b of this[_0x3c3e('0x50')][_0x3c3e('0x78')]['view'][_0x3c3e('0x61')][_0x3c3e('0xdb')])_0x3357f5?_0x2464f1[_0x3c3e('0xbf')](_0x3c3e('0x51'),_0x505c2b):_0x2464f1[_0x3c3e('0x7')](_0x3c3e('0x51'),_0x505c2b);});}),this['bind'](_0x3c3e('0x31'))['to'](this,_0x3c3e('0x106'),_0x23445e=>null!==_0x23445e),this[_0x3c3e('0x38')](_0x3c3e('0xe9'))['to'](this,_0x3c3e('0x25'),this,'diff',this,_0x3c3e('0x106'),(_0x2714b3,_0x1a2e14,_0x8ed324)=>_0x2714b3&&_0x8ed324?_0x1a2e14[_0x3c3e('0x6d')][_0x3c3e('0xb9')](_0x8ed324):0x0),this['bind'](_0x3c3e('0x54'))['to'](this,'isReady',this,'diff',(_0x53a20d,_0x597489)=>_0x53a20d?_0x597489['changes'][_0x3c3e('0xfa')]:0x0),this[_0x3c3e('0xd')]=null,this[_0x3c3e('0x67')]=new Map(),this[_0x3c3e('0x10f')]=null,this[_0x3c3e('0x56')]=this[_0x3c3e('0x50')]['plugins'][_0x3c3e('0xeb')](_0x263f21);}[_0x3c3e('0xad')](){const _0x456463=this['editor'],_0x3ee942=new et(_0x456463,{'direction':_0x3c3e('0x62')}),_0x2a5208=new et(_0x456463,{'direction':_0x3c3e('0x33')});_0x456463['commands'][_0x3c3e('0xfb')](_0x3c3e('0xf'),_0x3ee942),_0x456463[_0x3c3e('0x7f')]['add']('showNextChange',_0x2a5208),_0x456463[_0x3c3e('0x7f')][_0x3c3e('0xfb')](_0x3c3e('0xed'),new tt(_0x456463)),this['on'](_0x3c3e('0x80'),()=>{_0x3ee942[_0x3c3e('0xac')](),_0x2a5208[_0x3c3e('0xac')]();}),this[_0x3c3e('0x101')](),this['_initInteractions'](),_0x456463['enableReadOnlyMode'](_0x3c3e('0xf9')),_0x456463[_0x3c3e('0x72')][_0x3c3e('0x93')]('WidgetToolbarRepository')&&_0x456463[_0x3c3e('0x72')]['get'](_0x3c3e('0xf0'))[_0x3c3e('0x96')]('revision-viewer');}async[_0x3c3e('0x4d')](_0x285d1c){await this[_0x3c3e('0x28')](_0x285d1c);const _0x33e69d={};for(const _0x3f2ae7 in _0x285d1c['diffData']){const _0x32f536=this[_0x3c3e('0x21')](JSON['parse'](_0x285d1c[_0x3c3e('0xa2')][_0x3f2ae7][_0x3c3e('0xc')])),_0x53c7ed=this[_0x3c3e('0x50')]['editing']['view'][_0x3c3e('0x61')],_0xafd1bf=new _0x33fed3(_0x53c7ed,_0x32f536[_0x3c3e('0xca')](_0x48efe5=>this[_0x3c3e('0x0')](_0x48efe5)));this[_0x3c3e('0x50')][_0x3c3e('0xd5')][_0x3c3e('0x85')]['useFillerType']('marked'),_0x33e69d[_0x3f2ae7]=this[_0x3c3e('0x50')][_0x3c3e('0xd5')]['processor'][_0x3c3e('0x68')](_0xafd1bf),this[_0x3c3e('0x50')][_0x3c3e('0xd5')][_0x3c3e('0x85')][_0x3c3e('0xe6')](_0x3c3e('0x3f'));}return _0x33e69d;}['_removeRevisionMarkers'](_0x57dc67){return(_0x57dc67=_0x57dc67[_0x3c3e('0xcb')](_0x2aa035=>!_0x2aa035[_0x3c3e('0x74')]||'revision-start'!==_0x2aa035[_0x3c3e('0x74')]&&_0x3c3e('0xe1')!==_0x2aa035[_0x3c3e('0x74')]))['forEach'](_0x4e9b9c=>{_0x3c3e('0x64')!=typeof _0x4e9b9c&&(_0x4e9b9c[_0x3c3e('0x36')]=this[_0x3c3e('0x21')](_0x4e9b9c['children']),_0x4e9b9c[_0x3c3e('0xb0')]=_0x4e9b9c[_0x3c3e('0xb0')][_0x3c3e('0xcb')](_0x3a61d1=>!_0x3a61d1[0x0][_0x3c3e('0x10b')](_0x3c3e('0xd8'))));}),_0x57dc67;}[_0x3c3e('0xc3')](_0x4ee51d,_0x35241d,_0x118c4f=!0x1){if(!this['isEnabled'])return;const _0xe9115e=this['diff'],_0x39824f=this['repository'],_0x11c04a=_0x3c3e('0x64')==typeof _0x4ee51d?_0x39824f[_0x3c3e('0x5e')](_0x4ee51d):_0x4ee51d,_0x11bd9c=_0x3c3e('0x64')==typeof _0x35241d?_0x39824f[_0x3c3e('0x5e')](_0x35241d):_0x35241d,_0x2779f0=_0x11c04a['id'],_0x3d3c09=_0x11bd9c?_0x11bd9c['id']:null;if(!_0x118c4f&&this['diff']&&this[_0x3c3e('0xc8')][_0x3c3e('0x9f')]===_0x2779f0&&this[_0x3c3e('0xc8')][_0x3c3e('0x8a')]===_0x3d3c09)return Promise[_0x3c3e('0xa9')]();this[_0x3c3e('0x25')]=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new _0x4afdd7(_0x2779f0,_0x3d3c09);const _0x2e93af=this[_0x3c3e('0x37')](_0x11c04a,_0x11bd9c,!0x0)['map'](_0x571a63=>this[_0x3c3e('0x28')](_0x571a63));return _0x2e93af[_0x3c3e('0x1e')](new Promise(_0x5ee89b=>{setTimeout(_0x5ee89b,0x14);})),Promise['all'](_0x2e93af)[_0x3c3e('0x2e')](()=>{if(!this[_0x3c3e('0x6c')])return;this[_0x3c3e('0x102')]();const _0x1e1dff=this[_0x3c3e('0x8c')](_0x2779f0,_0x3d3c09);this[_0x3c3e('0xc8')]['_setData'](_0x1e1dff);for(const _0x592466 of this[_0x3c3e('0xc8')]['changes'])this[_0x3c3e('0x67')][_0x3c3e('0x98')](_0x592466['id'],_0x592466);this[_0x3c3e('0x50')][_0x3c3e('0xe')][_0x3c3e('0xa1')]({'isUndoable':!0x1},_0x55dceb=>{for(const _0x145d82 of Object[_0x3c3e('0x43')](_0x1e1dff[_0x3c3e('0xe')])){const _0x69f36a=this[_0x3c3e('0x50')][_0x3c3e('0xe')][_0x3c3e('0x61')][_0x3c3e('0x14')](_0x145d82);_0x55dceb[_0x3c3e('0xf6')](_0x55dceb[_0x3c3e('0x70')](_0x69f36a)),_0x55dceb[_0x3c3e('0x104')](_0x1e1dff[_0x3c3e('0xe')][_0x145d82],_0x69f36a,0x0);}}),this['isReady']=!0x0;})[_0x3c3e('0xd4')](_0xfa1c1f=>{console['error'](_0xfa1c1f),this['_cleanUp'](),_0xe9115e?this[_0x3c3e('0xc8')]=_0xe9115e:this['editor'][_0x3c3e('0x1c')](_0x3c3e('0x57')),this['isReady']=!0x0;});}[_0x3c3e('0x109')](){this[_0x3c3e('0x95')]=null,this[_0x3c3e('0xd')]&&this[_0x3c3e('0xd')][_0x3c3e('0x109')]();}['addRevisionData'](_0x2755cb,_0x1ff5a6){const _0x166706=this[_0x3c3e('0xba')][_0x3c3e('0xe5')](_0x2755cb);return _0x166706['on'](_0x3c3e('0x107'),(_0x239ab9,_0x1f43df,_0x3acd55)=>_0x1ff5a6(_0x1f43df,_0x3acd55,_0x166706)),this[_0x3c3e('0xba')]['addRevision'](_0x166706),_0x166706;}['loadRevisionData'](_0x56cff0){if(!_0x56cff0||_0x56cff0[_0x3c3e('0xa2')])return Promise[_0x3c3e('0xa9')]();{const _0x4f71b3=this[_0x3c3e('0x50')][_0x3c3e('0x4a')][_0x3c3e('0xeb')](_0x3c3e('0xa3'));return this['adapter']['getRevision']({'channelId':_0x4f71b3,'revisionId':_0x56cff0['id']})[_0x3c3e('0x2e')](_0x309ccb=>{_0x56cff0[_0x3c3e('0x107')]({'diffData':_0x309ccb[_0x3c3e('0xa2')]},!0x0);});}}[_0x3c3e('0x102')](){this['activeChange']=null,this[_0x3c3e('0x108')](),this[_0x3c3e('0xd')]&&this[_0x3c3e('0xd')]['destroy'](),this[_0x3c3e('0xd')]=null,this['_changeIdToChange'][_0x3c3e('0x15')]();}[_0x3c3e('0xef')](_0x6fc0f){const _0x493de5=Array['from'](_0x6fc0f[_0x3c3e('0x39')])[_0x3c3e('0xcb')](([_0x14ccca,_0x36ec58])=>_0x14ccca[_0x3c3e('0x10b')](_0x3c3e('0x16'))&&!_0x36ec58[_0x3c3e('0xf2')]),_0x16b17f=Array['from'](this[_0x3c3e('0x50')][_0x3c3e('0xe')][_0x3c3e('0x70')](_0x6fc0f)[_0x3c3e('0x22')]({'singleCharacters':!0x0}));if(0x0!=_0x493de5['length'])for(const _0x15bf7c of _0x16b17f){const [_0x1fa9e4,_0x48d886]=_0x493de5[0x0],[,_0x46ff05,_0x45ecd8]=_0x1fa9e4[_0x3c3e('0x91')](':');if(_0x48d886[_0x3c3e('0xc9')]['isEqual'](_0x15bf7c[_0x3c3e('0x10d')])&&_0x493de5[_0x3c3e('0xa5')](),(_0x15bf7c[_0x3c3e('0x9a')][_0x3c3e('0xc2')](_0x48d886[_0x3c3e('0x6f')])||_0x15bf7c['previousPosition']['isAfter'](_0x48d886[_0x3c3e('0x6f')]))&&(_0x3c3e('0x19')==_0x46ff05?_0x15bf7c[_0x3c3e('0xff')]={'userId':_0x45ecd8}:_0x3c3e('0x11')==_0x46ff05&&(_0x15bf7c[_0x3c3e('0x10c')]={'userId':_0x45ecd8})),0x0==_0x493de5[_0x3c3e('0xfa')])break;}return _0x16b17f;}[_0x3c3e('0xec')](_0x554ea0){const _0x180275=new Map();for(let _0x516c7a=0x0;_0x516c7a<_0x554ea0[_0x3c3e('0xfa')];_0x516c7a++)'text'===_0x554ea0[_0x516c7a][_0x3c3e('0x1b')]?(_0x554ea0[_0x516c7a]['item']['startIndex']=_0x516c7a,_0x554ea0[_0x516c7a][_0x3c3e('0x46')][_0x3c3e('0xf8')]=_0x516c7a):('elementStart'===_0x554ea0[_0x516c7a]['type']?_0x554ea0[_0x516c7a]['item'][_0x3c3e('0xab')]=_0x516c7a:_0x3c3e('0xb7')===_0x554ea0[_0x516c7a][_0x3c3e('0x1b')]&&(_0x554ea0[_0x516c7a][_0x3c3e('0x46')][_0x3c3e('0xf8')]=_0x516c7a),_0x180275[_0x3c3e('0x98')](_0x554ea0[_0x516c7a]['id'],_0x516c7a));for(const _0x18d657 of _0x180275[_0x3c3e('0xa8')]())_0x3c3e('0x1a')===_0x554ea0[_0x18d657][_0x3c3e('0x1b')]?_0x554ea0[_0x18d657][_0x3c3e('0x46')][_0x3c3e('0xf8')]=_0x180275[_0x3c3e('0xeb')](_0x554ea0[_0x18d657]['pairId']):_0x3c3e('0xb7')===_0x554ea0[_0x18d657][_0x3c3e('0x1b')]&&(_0x554ea0[_0x18d657][_0x3c3e('0x46')][_0x3c3e('0xab')]=_0x180275[_0x3c3e('0xeb')](_0x554ea0[_0x18d657][_0x3c3e('0x47')]));}[_0x3c3e('0xfd')](_0x3fd0cb){for(let _0x53c1c0=0x0;_0x53c1c0<_0x3fd0cb[_0x3c3e('0xfa')];_0x53c1c0++){if('elementStart'===_0x3fd0cb[_0x53c1c0][_0x3c3e('0x1b')])_0x3fd0cb[_0x53c1c0][_0x3c3e('0x46')][_0x3c3e('0xab')]=_0x53c1c0;else{if(_0x3c3e('0xb7')===_0x3fd0cb[_0x53c1c0][_0x3c3e('0x1b')]){_0x3fd0cb[_0x53c1c0][_0x3c3e('0x46')][_0x3c3e('0xf8')]=_0x53c1c0;const _0x4e17d7=_0x3fd0cb[_0x53c1c0][_0x3c3e('0x46')]['startIndex'];_0x3fd0cb[_0x4e17d7]['pairId']=_0x3fd0cb[_0x53c1c0]['id'],_0x3fd0cb[_0x53c1c0][_0x3c3e('0x47')]=_0x3fd0cb[_0x4e17d7]['id'];}else _0x3fd0cb[_0x53c1c0][_0x3c3e('0x46')][_0x3c3e('0xab')]=_0x53c1c0,_0x3fd0cb[_0x53c1c0][_0x3c3e('0x46')][_0x3c3e('0xf8')]=_0x53c1c0,_0x3fd0cb[_0x53c1c0][_0x3c3e('0x47')]=null;}_0x3fd0cb[_0x53c1c0][_0x3c3e('0xfc')]||(_0x3fd0cb[_0x53c1c0][_0x3c3e('0xfc')]=[],_0x3fd0cb[_0x53c1c0][_0x3c3e('0xcd')]=[]);}}['_markInsertions'](_0x318b0f,_0x211fff){const _0x2fa02b=_0x318b0f[_0x3c3e('0xcb')](_0x15d9c8=>!_0x15d9c8[_0x3c3e('0xff')]);for(let _0x25abf7=0x0;_0x25abf7<_0x211fff[_0x3c3e('0xfa')];_0x25abf7++)_0x211fff[_0x25abf7]['isAdded']&&(_0x2fa02b[_0x25abf7][_0x3c3e('0xff')]=_0x211fff[_0x25abf7][_0x3c3e('0xff')]);}[_0x3c3e('0x3e')](_0x30074f){const _0x44bbc4=JSON[_0x3c3e('0x20')](_0x30074f),_0x55d9a9=this[_0x3c3e('0x50')]['editing'][_0x3c3e('0x1d')][_0x3c3e('0x61')],_0x11a137=new _0x33fed3(_0x55d9a9,_0x44bbc4[_0x3c3e('0xca')](_0x22e79f=>this['_getViewObj'](_0x22e79f)));return this[_0x3c3e('0x50')][_0x3c3e('0xd5')][_0x3c3e('0x75')](_0x11a137);}['_getViewObj'](_0x89d7fb){const _0x141110=this[_0x3c3e('0x50')][_0x3c3e('0x78')][_0x3c3e('0x1d')][_0x3c3e('0x61')];if(_0x3c3e('0x64')==typeof _0x89d7fb)return new _0x1ae9eb(_0x141110,_0x89d7fb);{const _0x3dcee9=_0x89d7fb[_0x3c3e('0x36')]['map'](_0x279e1c=>this[_0x3c3e('0x0')](_0x279e1c));return new(Y[_0x89d7fb[(_0x3c3e('0x1b'))]]||_0x5a2e2e)(_0x141110,_0x89d7fb[_0x3c3e('0x74')],_0x89d7fb[_0x3c3e('0xb0')],_0x3dcee9);}}[_0x3c3e('0x8c')](_0x2002a2,_0x21f618=null){const _0x28c9c0=this[_0x3c3e('0xba')][_0x3c3e('0x5e')](_0x2002a2),_0x55149b=_0x21f618?this['repository']['getRevision'](_0x21f618):null,_0x2125e3=this[_0x3c3e('0x37')](_0x28c9c0,_0x55149b),_0x5c497f=_0x2125e3[_0x2125e3['length']-0x1],_0x32f781=new Map();for(const _0x44de4c of _0x2125e3){_0x44de4c[_0x3c3e('0xe')]={};for(const _0x2da321 of _0x44de4c[_0x3c3e('0x24')])_0x32f781[_0x3c3e('0x98')](_0x2da321['id'],_0x2da321);for(const _0x24464e of this[_0x3c3e('0x50')]['model'][_0x3c3e('0x61')][_0x3c3e('0x8e')]())_0x44de4c[_0x3c3e('0xa2')][_0x24464e]||(_0x44de4c[_0x3c3e('0xa2')][_0x24464e]={'insertions':'[]','deletions':'[]'}),_0x44de4c[_0x3c3e('0xe')][_0x24464e]={'insertions':this['_makeModelFromViewString'](_0x44de4c[_0x3c3e('0xa2')][_0x24464e]['insertions']),'deletions':this[_0x3c3e('0x3e')](_0x44de4c[_0x3c3e('0xa2')][_0x24464e][_0x3c3e('0x3b')])};}const _0x43587b={'model':{},'changes':[]};for(const _0x129d3c of this[_0x3c3e('0x50')][_0x3c3e('0xe')][_0x3c3e('0x61')][_0x3c3e('0x8e')]()){let _0x43c347=null,_0x505b0c=0x0;const _0x58bc26=new Map(Array[_0x3c3e('0xb6')](_0x28c9c0[_0x3c3e('0xe')][_0x129d3c][_0x3c3e('0xc')][_0x3c3e('0x39')])['filter'](([_0x2e055c])=>!_0x2e055c['startsWith'](_0x3c3e('0x16'))));let _0x5a4df7=0x0;for(const _0x431b0b of _0x2125e3){const _0x43b912=this['_makeTape'](_0x431b0b['model'][_0x129d3c][_0x3c3e('0xc')]);_0x431b0b==_0x28c9c0?(_0x43c347=_0x43b912,_0x505b0c=_0x43c347[_0x3c3e('0xfa')],_0x43c347['forEach'](_0x972476=>{_0x972476['id']=_0x5a4df7++;}),this[_0x3c3e('0xfd')](_0x43c347)):this[_0x3c3e('0x4c')](_0x43c347,_0x43b912);const _0x19e32e=_0x43c347['filter'](_0xde48bf=>!_0xde48bf['isAdded'])['map'](_0x5e80a0=>_0x5e80a0['id']);let _0x6881=0x0;const _0x27b851=this[_0x3c3e('0xef')](_0x431b0b[_0x3c3e('0xe')][_0x129d3c][_0x3c3e('0x3b')]);_0x27b851[_0x3c3e('0x2f')](_0x2f8b52=>{_0x2f8b52[_0x3c3e('0x10c')]?_0x2f8b52['id']=_0x505b0c++:_0x2f8b52['id']=_0x19e32e[_0x6881++];}),this['_processTape'](_0x27b851),this[_0x3c3e('0x92')](_0x43c347,_0x3c3e('0xff')),this[_0x3c3e('0x92')](_0x27b851,_0x3c3e('0x10c')),_0x431b0b==_0x28c9c0&&this[_0x3c3e('0x35')](_0x43c347,_0x58bc26),_0x43c347=this[_0x3c3e('0x7c')](_0x43c347,_0x27b851),this[_0x3c3e('0xec')](_0x43c347),this['_setDistance'](_0x43c347,_0x3c3e('0x10c'));}_0x43c347=_0x43c347[_0x3c3e('0xcb')](_0x593151=>!(_0x593151[_0x3c3e('0xff')]&&_0x593151[_0x3c3e('0x10c')]));const _0x363b32=new Map(_0x5c497f[_0x3c3e('0xe')][_0x129d3c][_0x3c3e('0x3b')][_0x3c3e('0x39')]),_0x2c3837=new Set(_0x58bc26['keys']());for(const _0x39d9a3 of _0x363b32['keys']())_0x2c3837[_0x3c3e('0x13')](_0x39d9a3);this[_0x3c3e('0x5f')](_0x43c347,_0x2c3837),this[_0x3c3e('0x9')](_0x43c347),_0x43c347=this[_0x3c3e('0xce')](_0x43c347),_0x43c347=this[_0x3c3e('0x29')](_0x43c347),_0x43c347=this['_removeUnsupportedChanges'](_0x43c347);const {root:_0x24ec0e,changes:_0x295a4}=this[_0x3c3e('0x69')](_0x43c347,_0x32f781);_0x43587b[_0x3c3e('0xe')][_0x129d3c]=_0x24ec0e,_0x43587b['changes']=_0x43587b['changes']['concat'](_0x295a4);}return _0x43587b;}[_0x3c3e('0x35')](_0x476a68,_0xe51934){for(let _0x4d510f=0x0;_0x4d510f<_0x476a68[_0x3c3e('0xfa')];_0x4d510f++)for(const [_0x5c1fb9,_0xbbd59e]of _0xe51934)_0xbbd59e[_0x3c3e('0x6f')][_0x3c3e('0xc2')](_0x476a68[_0x4d510f][_0x3c3e('0x9a')])&&_0x476a68[_0x4d510f][_0x3c3e('0xfc')][_0x3c3e('0x1e')](_0x5c1fb9),_0xbbd59e[_0x3c3e('0xc9')][_0x3c3e('0xc2')](_0x476a68[_0x4d510f][_0x3c3e('0x10d')])&&_0x476a68[_0x4d510f]['markersEnd'][_0x3c3e('0x1e')](_0x5c1fb9);}['_joinTapes'](_0x55127c,_0x268030){let _0x8a1fdd=[],_0x21490f=0x0,_0x2a95bf=0x0;for(;_0x21490f<_0x55127c[_0x3c3e('0xfa')]||_0x2a95bf<_0x268030[_0x3c3e('0xfa')];){const _0x34e6ea=_0x55127c[_0x21490f]||{},_0x17aeaa=_0x268030[_0x2a95bf]||{};if(_0x34e6ea['id']==_0x17aeaa['id'])_0x21490f++,_0x2a95bf++,_0x8a1fdd['push'](_0x34e6ea);else{if(_0x17aeaa[_0x3c3e('0x10c')]&&_0x34e6ea[_0x3c3e('0xff')]){const {commonTape:_0x519df0,iEnd:_0x24b53e,jEnd:_0x4c8554}=this[_0x3c3e('0xda')](_0x55127c,_0x21490f,_0x268030,_0x2a95bf);_0x8a1fdd=_0x8a1fdd[_0x3c3e('0xdd')](_0x519df0),_0x21490f=_0x24b53e,_0x2a95bf=_0x4c8554;}else _0x17aeaa[_0x3c3e('0x10c')]?(_0x2a95bf++,_0x8a1fdd['push'](_0x17aeaa)):(_0x21490f++,_0x8a1fdd[_0x3c3e('0x1e')](_0x34e6ea));}}return _0x8a1fdd;}[_0x3c3e('0x5f')](_0x3ffe88,_0x773e91){const _0x56166e=[];for(let _0xbcd43c=0x0;_0xbcd43c<_0x3ffe88[_0x3c3e('0xfa')];_0xbcd43c++){for(let _0x116d49=0x0;_0x116d49<_0x3ffe88[_0xbcd43c][_0x3c3e('0xfc')][_0x3c3e('0xfa')];_0x116d49++){const _0x2bb8fa=_0x3ffe88[_0xbcd43c]['markersStart'][_0x116d49];if(!_0x773e91[_0x3c3e('0x93')](_0x2bb8fa))continue;const {group:_0x2abbe3,type:_0x1285a6,authorId:_0x3e513d}=_0x3fd08(_0x2bb8fa);_0x3c3e('0x3a')!=_0x2abbe3||_0x3c3e('0x19')!=_0x1285a6&&_0x3c3e('0x11')!=_0x1285a6||(_0x56166e[_0x3c3e('0x2')]({'type':_0x1285a6,'name':_0x2bb8fa,'userId':_0x3e513d}),_0x3ffe88[_0xbcd43c][_0x3c3e('0xfc')][_0x3c3e('0x84')](_0x116d49,0x1),_0x116d49--);}_0x3c7f3c(_0x3ffe88[_0xbcd43c]);for(let _0x114e81=0x0;_0x114e81<_0x3ffe88[_0xbcd43c][_0x3c3e('0xcd')][_0x3c3e('0xfa')];_0x114e81++){const _0x1e0b97=_0x3ffe88[_0xbcd43c]['markersEnd'][_0x114e81];if(!_0x773e91[_0x3c3e('0x93')](_0x1e0b97))continue;const {group:_0xb49dc2,type:_0x322d30}=_0x3fd08(_0x1e0b97);if(_0x3c3e('0x3a')!=_0xb49dc2||_0x3c3e('0x19')!=_0x322d30&&_0x3c3e('0x11')!=_0x322d30)continue;_0x3ffe88[_0xbcd43c][_0x3c3e('0xcd')]['splice'](_0x114e81,0x1),_0x114e81--;const _0x4df07b=_0x56166e[_0x3c3e('0x32')](_0x3e33f3=>_0x3e33f3[_0x3c3e('0x74')]==_0x1e0b97);_0x4df07b>-0x1&&_0x56166e[_0x3c3e('0x84')](_0x4df07b,0x1);}}function _0x3fd08(_0x43ff68){const _0x332239=_0x43ff68[_0x3c3e('0x91')](':');return{'group':_0x332239[0x0],'type':_0x332239[0x1],'subType':_0x332239[_0x3c3e('0xfa')]>=0x5?_0x332239[0x2]:null,'id':_0x332239[_0x3c3e('0xfa')]<0x5?_0x332239[0x2]:_0x332239[0x3],'authorId':_0x332239[_0x3c3e('0xfa')]<0x5?_0x332239[0x3]:_0x332239[0x4],'markerCount':0x6==_0x332239[_0x3c3e('0xfa')]?_0x332239[0x5]:null};}function _0x3c7f3c(_0x54d1fb){for(let _0x4d04f0=0x0;_0x4d04f0<_0x56166e[_0x3c3e('0xfa')];_0x4d04f0++){if(_0x54d1fb['isAdded']&&'insertion'==_0x56166e[_0x4d04f0]['type'])return _0x54d1fb['isAddSuggestion']=_0x56166e[_0x4d04f0],void delete _0x54d1fb['isAdded'];if(!_0x54d1fb['isAdded']&&!_0x54d1fb[_0x3c3e('0x10c')]&&_0x3c3e('0x11')==_0x56166e[_0x4d04f0][_0x3c3e('0x1b')])return void(_0x54d1fb[_0x3c3e('0x27')]=_0x56166e[_0x4d04f0]);}}}[_0x3c3e('0x92')](_0x2c0cd6,_0x5598a9){let _0x3c4a25=0x0,_0x10089a=!0x1;const _0x51cfde=new Map();for(const _0x12499c of _0x2c0cd6)_0x12499c[_0x5598a9]?_0x10089a&&(_0x3c4a25++,_0x10089a=!0x1):(_0x3c4a25++,_0x10089a=!0x0),_0x51cfde[_0x3c3e('0x98')](_0x12499c['id'],_0x3c4a25);for(let _0x43ed06=0x0;_0x43ed06<_0x2c0cd6[_0x3c3e('0xfa')];_0x43ed06++){if(_0x3c3e('0x10c')==_0x5598a9&&_0x2c0cd6[_0x43ed06][_0x3c3e('0xff')]||'isAdded'==_0x5598a9&&_0x2c0cd6[_0x43ed06][_0x3c3e('0x10c')])continue;if(_0x3c3e('0x94')==_0x2c0cd6[_0x43ed06][_0x3c3e('0x1b')]){_0x2c0cd6[_0x43ed06][_0x3c3e('0xdf')]=0x0;continue;}const _0x591ec8=_0x51cfde[_0x3c3e('0xeb')](_0x2c0cd6[_0x43ed06]['pairId']),_0xc8c05b=_0x51cfde[_0x3c3e('0xeb')](_0x2c0cd6[_0x43ed06]['id']);_0x2c0cd6[_0x43ed06][_0x3c3e('0xdf')]=_0x591ec8-_0xc8c05b;}}['_getRevisionsRange'](_0x15ff44,_0x272f66,_0x40cd48=!0x1){const _0x25323b=[];let _0x5d5e4b=this['repository']['getIndex'](_0x15ff44),_0x44b0ea=this[_0x3c3e('0xba')]['getIndex'](_0x272f66);for(-0x1==_0x44b0ea&&(_0x44b0ea=this[_0x3c3e('0xba')][_0x3c3e('0x52')][_0x3c3e('0xfa')],_0x40cd48=!0x1);_0x5d5e4b<_0x44b0ea;)_0x25323b[_0x3c3e('0x1e')](this[_0x3c3e('0xba')][_0x3c3e('0x5e')](_0x5d5e4b)),_0x5d5e4b++;return _0x40cd48&&_0x25323b[_0x3c3e('0x1e')](this[_0x3c3e('0xba')][_0x3c3e('0x5e')](_0x5d5e4b)),_0x25323b;}['_threeWayMerge'](_0x2080cf,_0x17a382,_0xdaff16,_0x7ebdc0){const _0x8f03de=this[_0x3c3e('0x50')][_0x3c3e('0xe')][_0x3c3e('0xbb')];let _0x21c6e4=_0x17a382;for(;_0x2080cf[_0x21c6e4]&&_0x2080cf[_0x21c6e4][_0x3c3e('0xff')];)_0x21c6e4++;let _0x57ae37=_0x7ebdc0;for(;_0xdaff16[_0x57ae37]&&_0xdaff16[_0x57ae37][_0x3c3e('0x10c')];)_0x57ae37++;_0x15c664(_0x2080cf,_0x17a382,_0x21c6e4),_0x15c664(_0xdaff16,_0x7ebdc0,_0x57ae37);const _0x39b926=_0xdaff16[_0x3c3e('0xa7')](_0x7ebdc0,_0x57ae37)[_0x3c3e('0xdd')](_0x2080cf[_0x3c3e('0xa7')](_0x17a382,_0x21c6e4));return _0x39b926[_0x3c3e('0xa0')]((_0x2fb756,_0x10ef72)=>_0x2fb756[_0x3c3e('0x4f')]!=_0x10ef72[_0x3c3e('0x4f')]?_0x2fb756['side']-_0x10ef72[_0x3c3e('0x4f')]:_0x2fb756[_0x3c3e('0x83')]!=_0x10ef72[_0x3c3e('0x83')]?_0x2fb756[_0x3c3e('0x83')]-_0x10ef72[_0x3c3e('0x83')]:_0x2fb756[_0x3c3e('0xdf')]!=_0x10ef72['distance']?_0x10ef72[_0x3c3e('0xdf')]-_0x2fb756['distance']:!!_0x2fb756[_0x3c3e('0xff')]!=!!_0x10ef72[_0x3c3e('0xff')]?-0x1==_0x2fb756[_0x3c3e('0x4f')]||0x0==_0x2fb756['side']?_0x2fb756[_0x3c3e('0xff')]?-0x1:0x1:_0x2fb756[_0x3c3e('0xff')]?0x1:-0x1:_0x2fb756[_0x3c3e('0x48')]-_0x10ef72[_0x3c3e('0x48')]),{'commonTape':_0x39b926,'iEnd':_0x21c6e4,'jEnd':_0x57ae37};function _0x15c664(_0x520bb6,_0x5ab9be,_0x3c2039){let _0x337168=-0x1,_0xe8f305=Number[_0x3c3e('0x89')],_0x5e7c61=!0x0;for(let _0x324ba4=_0x5ab9be;_0x324ba4<_0x3c2039;_0x324ba4++)if(_0x8f03de[_0x3c3e('0x49')](_0x520bb6[_0x324ba4][_0x3c3e('0x46')])||(_0x5e7c61=!0x1),_0x520bb6[_0x324ba4][_0x3c3e('0x46')][_0x3c3e('0xab')]<_0x5ab9be&&(_0x337168=_0x324ba4),_0x520bb6[_0x324ba4][_0x3c3e('0x46')][_0x3c3e('0xf8')]>=_0x3c2039){_0xe8f305=_0x324ba4;break;}_0x5e7c61&&(_0x337168=_0x3c2039-0x1);for(let _0x1c0066=_0x5ab9be;_0x1c0066<_0x3c2039;_0x1c0066++)_0x520bb6[_0x1c0066]['side']=_0x1c0066<=_0x337168?-0x1:_0x1c0066<_0xe8f305?0x0:0x1,_0x520bb6[_0x1c0066][_0x3c3e('0x48')]=_0x1c0066;let _0x58cd40=0x0;for(let _0x16c763=_0x5ab9be;_0x16c763<=_0x337168;_0x16c763++)0x0==_0x520bb6[_0x16c763][_0x3c3e('0xdf')]?_0x520bb6[_0x16c763][_0x3c3e('0x83')]=_0x58cd40:(_0x58cd40++,_0x520bb6[_0x16c763][_0x3c3e('0x83')]=_0x58cd40,_0x58cd40++);for(let _0x55041c=_0x5ab9be;_0x55041c<_0x3c2039;_0x55041c++)0x0==_0x520bb6[_0x55041c][_0x3c3e('0x4f')]&&(_0x520bb6[_0x55041c][_0x3c3e('0x83')]=_0x58cd40);_0x58cd40=0x0;for(let _0x28d002=_0x3c2039-0x1;_0x28d002>=_0xe8f305;_0x28d002--)0x0==_0x520bb6[_0x28d002][_0x3c3e('0xdf')]?_0x520bb6[_0x28d002]['level']=_0x58cd40:(_0x58cd40--,_0x520bb6[_0x28d002][_0x3c3e('0x83')]=_0x58cd40,_0x58cd40--);}}[_0x3c3e('0x9')](_0x154a2a){const _0x200291=new Map(),_0x4bef94=this[_0x3c3e('0x50')][_0x3c3e('0xe')][_0x3c3e('0xbb')];for(let _0x3cd8c7=0x1;_0x3cd8c7<_0x154a2a[_0x3c3e('0xfa')];_0x3cd8c7++){let _0x36da19,_0x126f11,_0x36a522;const _0x2cf12c=_0x154a2a[_0x3cd8c7],_0x390969=_0x154a2a[_0x3cd8c7-0x1];if(_0x3c3e('0x94')==_0x2cf12c[_0x3c3e('0x1b')])continue;if(_0x2cf12c[_0x3c3e('0x1b')]!=_0x390969['type'])continue;if(!_0x4bef94[_0x3c3e('0x5c')](_0x390969['item'])||_0x4bef94[_0x3c3e('0x53')](_0x390969[_0x3c3e('0x46')]))continue;if(!_0x4bef94['isBlock'](_0x2cf12c[_0x3c3e('0x46')])||_0x4bef94[_0x3c3e('0x53')](_0x2cf12c[_0x3c3e('0x46')]))continue;if((_0x154a2a[_0x3cd8c7]['isAdded']||_0x154a2a[_0x3cd8c7][_0x3c3e('0x5d')])&&_0x154a2a[_0x3cd8c7-0x1][_0x3c3e('0x10c')])_0x36da19=_0x154a2a[_0x3cd8c7],_0x126f11=_0x154a2a[_0x3cd8c7-0x1],_0x36a522=_0x3cd8c7-0x1;else{if(!_0x154a2a[_0x3cd8c7][_0x3c3e('0x10c')]||!_0x154a2a[_0x3cd8c7-0x1][_0x3c3e('0xff')]&&!_0x154a2a[_0x3cd8c7-0x1][_0x3c3e('0x5d')])continue;_0x36da19=_0x154a2a[_0x3cd8c7-0x1],_0x126f11=_0x154a2a[_0x3cd8c7],_0x36a522=_0x3cd8c7;}const _0x2c4a84=_0x36da19[_0x3c3e('0x83')]==_0x126f11['level'],_0x3dafb2=Math['abs'](_0x36da19[_0x3c3e('0x83')])<Math[_0x3c3e('0xc1')](_0x126f11['level'])&&0x0==_0x126f11[_0x3c3e('0xdf')];(_0x2c4a84||_0x3dafb2)&&(_0x200291[_0x3c3e('0x98')](_0x126f11['id'],_0x36da19['id']),_0x154a2a[_0x3c3e('0x84')](_0x36a522,0x1),_0x3cd8c7--,_0x36da19[_0x3c3e('0xff')]=!0x1);}for(let _0x2cd986=0x0;_0x2cd986<_0x154a2a[_0x3c3e('0xfa')];_0x2cd986++)_0x200291[_0x3c3e('0x93')](_0x154a2a[_0x2cd986]['pairId'])&&(_0x154a2a[_0x2cd986][_0x3c3e('0x47')]=_0x200291[_0x3c3e('0xeb')](_0x154a2a[_0x2cd986]['pairId']));}[_0x3c3e('0xce')](_0x35e6a5){const _0x2b735f=new Set(_0x35e6a5[_0x3c3e('0xca')](_0x5466b1=>_0x5466b1['id']));for(let _0x492c21=0x0;_0x492c21<_0x35e6a5['length'];_0x492c21++)_0x2b735f['has'](_0x35e6a5[_0x492c21][_0x3c3e('0x47')])||0x0==_0x35e6a5[_0x492c21][_0x3c3e('0xdf')]||(_0x35e6a5[_0x492c21][_0x3c3e('0x1')]=!0x0);return _0x35e6a5[_0x3c3e('0xcb')](_0x16df09=>!_0x16df09[_0x3c3e('0x1')]);}[_0x3c3e('0x29')](_0x3aa6d2){const _0x496108=new Set();for(let _0x18ed62=0x0;_0x18ed62<_0x3aa6d2[_0x3c3e('0xfa')];_0x18ed62++){if(_0x496108[_0x3c3e('0x93')](_0x3aa6d2[_0x18ed62]['id'])&&_0x3aa6d2[_0x18ed62][_0x3c3e('0x10c')]&&(_0x3aa6d2[_0x18ed62][_0x3c3e('0x1')]=!0x0),_0x3aa6d2[_0x18ed62][_0x3c3e('0x1')])continue;if(0x0==_0x3aa6d2[_0x18ed62][_0x3c3e('0xdf')])continue;if('elementStart'!=_0x3aa6d2[_0x18ed62][_0x3c3e('0x1b')])continue;if(null==_0x3aa6d2[_0x18ed62][_0x3c3e('0x47')])continue;let _0x3994a6=_0x18ed62+0x1,_0x1bbb53=0x0;for(;_0x3aa6d2[_0x3994a6]['id']!=_0x3aa6d2[_0x18ed62][_0x3c3e('0x47')];)_0x3c3e('0x1a')==_0x3aa6d2[_0x3994a6]['type']?_0x1bbb53++:'elementEnd'==_0x3aa6d2[_0x3994a6][_0x3c3e('0x1b')]&&_0x1bbb53--,_0x3994a6++;if(0x0!=_0x1bbb53){if(_0x3aa6d2[_0x18ed62][_0x3c3e('0x10c')])_0x3aa6d2[_0x18ed62][_0x3c3e('0x1')]=!0x0;else for(;_0x3994a6!=_0x18ed62;)_0x3aa6d2[_0x3994a6]['isRemoved']&&0x0!=_0x3aa6d2[_0x3994a6][_0x3c3e('0xdf')]&&(_0x3aa6d2[_0x3994a6][_0x3c3e('0x1')]=!0x0,_0x496108[_0x3c3e('0xfb')](_0x3aa6d2[_0x3994a6][_0x3c3e('0x47')])),_0x3994a6--;}}return _0x3aa6d2['filter'](_0x10e755=>!_0x10e755[_0x3c3e('0x1')]);}[_0x3c3e('0x41')](_0x72b974){const _0x22d629=this[_0x3c3e('0x50')][_0x3c3e('0xe')][_0x3c3e('0xbb')];for(let _0x3253f8=0x0;_0x3253f8<_0x72b974[_0x3c3e('0xfa')];_0x3253f8++){if(!(_0x72b974[_0x3253f8][_0x3c3e('0xff')]||_0x72b974[_0x3253f8][_0x3c3e('0x5d')]||_0x72b974[_0x3253f8][_0x3c3e('0x10c')]||_0x72b974[_0x3253f8][_0x3c3e('0x27')]))continue;if(0x0==_0x72b974[_0x3253f8][_0x3c3e('0xdf')])continue;const _0x417561=_0x72b974[_0x3253f8][_0x3c3e('0x46')];_0x22d629['isBlock'](_0x417561)||_0x22d629[_0x3c3e('0x53')](_0x417561)||(_0x72b974[_0x3253f8][_0x3c3e('0xff')]&&delete _0x72b974[_0x3253f8]['isAdded'],_0x72b974[_0x3253f8][_0x3c3e('0x5d')]&&delete _0x72b974[_0x3253f8][_0x3c3e('0x5d')],_0x72b974[_0x3253f8][_0x3c3e('0x27')]&&delete _0x72b974[_0x3253f8][_0x3c3e('0x27')],_0x72b974[_0x3253f8][_0x3c3e('0x10c')]&&(_0x72b974[_0x3253f8][_0x3c3e('0x1')]=!0x0));}return _0x72b974['filter'](_0x2e574b=>!_0x2e574b[_0x3c3e('0x1')]);}[_0x3c3e('0x69')](_0x4875e0,_0x2d3dff){const _0x5b6649=new _0x5e8220(),_0x29218f=[],_0xae16a4=new Map(),_0x1911c3=this['editor'][_0x3c3e('0xe')],_0x244f1b=_0x1911c3[_0x3c3e('0xbb')],_0x41a034=[_0x5b6649],_0x342bf3={},_0x366815={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x5217ca=null;const _0x157cf8=[0x0];for(let _0x376603=0x0;_0x376603<_0x4875e0[_0x3c3e('0xfa')];_0x376603++){let _0x3080c9,_0x5f2a3f;if('elementStart'===_0x4875e0[_0x376603]['type']){_0x3080c9=_0x1911c3[_0x3c3e('0x77')](_0x5b6649,_0x157cf8);const _0x559fa9=new _0x27576b(_0x4875e0[_0x376603][_0x3c3e('0x46')][_0x3c3e('0x74')],_0x4875e0[_0x376603][_0x3c3e('0x46')][_0x3c3e('0xbd')]());_0x41a034[0x0][_0x3c3e('0xee')](_0x559fa9),_0x157cf8[_0x3c3e('0x1e')](0x0),_0x41a034[_0x3c3e('0x2')](_0x559fa9),_0x5f2a3f=_0x1911c3[_0x3c3e('0x77')](_0x5b6649,_0x157cf8),_0x5217ca=null;}else{if(_0x3c3e('0xb7')===_0x4875e0[_0x376603][_0x3c3e('0x1b')])_0x41a034['shift'](),_0x3080c9=_0x1911c3['createPositionFromPath'](_0x5b6649,_0x157cf8),_0x157cf8[_0x3c3e('0x9d')](),_0x157cf8[_0x157cf8[_0x3c3e('0xfa')]-0x1]++,_0x5f2a3f=_0x1911c3[_0x3c3e('0x77')](_0x5b6649,_0x157cf8),_0x5217ca=null;else{if(_0x3080c9=_0x1911c3[_0x3c3e('0x77')](_0x5b6649,_0x157cf8),_0x5217ca&&_0x3854cb(_0x5217ca,_0x4875e0[_0x376603][_0x3c3e('0x46')]))_0x5217ca['_data']+=_0x4875e0[_0x376603][_0x3c3e('0x46')][_0x3c3e('0xd5')];else{const _0x983831=new _0x471767(_0x4875e0[_0x376603][_0x3c3e('0x46')][_0x3c3e('0xd5')],_0x4875e0[_0x376603]['item']['getAttributes']());_0x41a034[0x0][_0x3c3e('0xee')](_0x983831),_0x5217ca=_0x983831;}_0x157cf8[_0x157cf8[_0x3c3e('0xfa')]-0x1]+=_0x4875e0[_0x376603][_0x3c3e('0x46')][_0x3c3e('0x44')],_0x5f2a3f=_0x1911c3[_0x3c3e('0x77')](_0x5b6649,_0x157cf8);}}for(const _0x3114f1 of _0x4875e0[_0x376603][_0x3c3e('0xfc')])_0xae16a4['set'](_0x3114f1,{'start':_0x3080c9,'end':null});_0x586194(_0x3c3e('0x27'),_0x376603,_0x3080c9,_0x5f2a3f),_0x586194('isAddSuggestion',_0x376603,_0x3080c9,_0x5f2a3f),_0x586194('isRemoved',_0x376603,_0x3080c9,_0x5f2a3f),_0x586194(_0x3c3e('0xff'),_0x376603,_0x3080c9,_0x5f2a3f);for(const _0x2451c6 of _0x4875e0[_0x376603]['markersEnd']){_0xae16a4['get'](_0x2451c6)['end']=_0x5f2a3f;}}for(const [_0x474f4d,_0x4ef580]of _0xae16a4){const _0x3b8f0d=this[_0x3c3e('0x50')]['model']['createRange'](_0x4ef580[_0x3c3e('0x6f')],_0x4ef580[_0x3c3e('0xc9')]);_0x5b6649['markers'][_0x3c3e('0x98')](_0x474f4d,_0x3b8f0d);}return _0x29218f['sort']((_0xe54e6b,_0x2538bc)=>{const _0x473968=_0x5b6649[_0x3c3e('0x39')][_0x3c3e('0xeb')]('revision:'+_0xe54e6b['id']),_0x35bbe5=_0x5b6649[_0x3c3e('0x39')][_0x3c3e('0xeb')](_0x3c3e('0x16')+_0x2538bc['id']);return _0x473968[_0x3c3e('0x6f')][_0x3c3e('0x97')](_0x35bbe5[_0x3c3e('0x6f')])?-0x1:_0x473968[_0x3c3e('0x6f')][_0x3c3e('0x10')](_0x35bbe5['start'])?0x1:_0x473968[_0x3c3e('0xc9')][_0x3c3e('0x97')](_0x35bbe5[_0x3c3e('0xc9')])?-0x1:_0x473968[_0x3c3e('0xc9')][_0x3c3e('0x10')](_0x35bbe5['end'])?0x1:_0x3c3e('0xfb')===_0xe54e6b[_0x3c3e('0x1b')]?-0x1:0x1;}),{'root':_0x5b6649,'changes':_0x29218f};function _0x586194(_0xf03c4c,_0x403837,_0x3a18a7,_0x38331e){const _0x25216d=!!_0x4875e0[_0x403837][_0xf03c4c],_0x4317f8=_0x25216d?_0x4875e0[_0x403837][_0xf03c4c][_0x3c3e('0x63')]:null,_0x2dbdd5=_0x403837===_0x4875e0[_0x3c3e('0xfa')]-0x1,_0xc8feff=_0x366815[_0xf03c4c][0x0],_0x509f6c=_0x244f1b['isObject'](_0x4875e0[_0x403837][_0x3c3e('0x46')]);!_0x342bf3[_0xf03c4c]&&_0x25216d?_0x342bf3[_0xf03c4c]={'start':_0x3a18a7,'tapeItem':_0x4875e0[_0x403837],'userId':_0x4317f8,'type':_0xf03c4c}:_0x342bf3[_0xf03c4c]&&!_0x25216d?(_0x342bf3[_0xf03c4c][_0x3c3e('0xc9')]=_0x3a18a7,_0x3fb336(_0x342bf3[_0xf03c4c]),_0x342bf3[_0xf03c4c]=null):_0x342bf3[_0xf03c4c]&&_0x25216d&&_0x342bf3[_0xf03c4c][_0x3c3e('0x63')]!==_0x4317f8&&(_0x342bf3[_0xf03c4c][_0x3c3e('0xc9')]=_0x3a18a7,_0xc8feff&&_0xc8feff[_0x3c3e('0x63')]===_0x342bf3[_0xf03c4c][_0x3c3e('0x63')]||_0x3fb336(_0x342bf3[_0xf03c4c]),_0x342bf3[_0xf03c4c]={'start':_0x3a18a7,'tapeItem':_0x4875e0[_0x403837],'userId':_0x4317f8,'type':_0xf03c4c}),_0x342bf3[_0xf03c4c]&&_0x509f6c&&(_0x3c3e('0x1a')!==_0x4875e0[_0x403837]['type']||_0xc8feff&&_0xc8feff[_0x3c3e('0x63')]===_0x4317f8||_0x366815[_0xf03c4c][_0x3c3e('0x2')]({'userId':_0x4317f8,'object':_0x4875e0[_0x403837]['item'],'change':_0x342bf3[_0xf03c4c]}),'elementEnd'===_0x4875e0[_0x403837][_0x3c3e('0x1b')]&&_0xc8feff&&_0xc8feff[_0x3c3e('0xbe')]===_0x4875e0[_0x403837]['item']&&(_0x366815[_0xf03c4c]['shift'](),_0x342bf3[_0xf03c4c]=_0xc8feff['change'])),_0x342bf3[_0xf03c4c]&&_0x2dbdd5&&(_0x342bf3[_0xf03c4c][_0x3c3e('0xc9')]=_0x38331e,_0x3fb336(_0x342bf3[_0xf03c4c]),_0x342bf3[_0xf03c4c]=null);}function _0x3fb336({start:_0x63e399,end:_0x28507d,tapeItem:_0x55d4b3,userId:_0x2f1097,type:_0x59d683}){const _0x1bab55=_0x55d4b3[_0x3c3e('0x46')],_0xa6b93d=_0x1911c3[_0x3c3e('0xbb')]['isBlock'](_0x1bab55)&&!_0x1911c3[_0x3c3e('0xbb')][_0x3c3e('0x53')](_0x1bab55),_0x29a012=_0x63e399[_0x3c3e('0x10a')]==_0x28507d[_0x3c3e('0x66')]&&_0x28507d['isAtStart'];if(_0xa6b93d&&_0x29a012)return;const _0x3867b9=_0x1911c3[_0x3c3e('0x81')](_0x63e399,_0x28507d),_0x5d780c=_0x2d3dff[_0x3c3e('0xeb')](_0x2f1097),_0x1dd38c=new _0x3002ff({'author':_0x5d780c,'type':'isAdded'==_0x59d683||_0x3c3e('0x5d')==_0x59d683?_0x3c3e('0xfb'):_0x3c3e('0xf6'),'data':{'isSuggestion':_0x3c3e('0x5d')==_0x59d683||'isRemoveSuggestion'==_0x59d683},'createdAt':new Date()});_0x29218f[_0x3c3e('0x1e')](_0x1dd38c),_0x5b6649[_0x3c3e('0x39')]['set'](_0x3c3e('0x16')+_0x1dd38c['id'],_0x3867b9);}function _0x3854cb(_0x48ad03,_0x2ea7b4){const _0x6a0e51=_0x48ad03[_0x3c3e('0xbd')](),_0x30d53b=_0x2ea7b4[_0x3c3e('0xbd')]();for(const _0x4a7207 of _0x6a0e51){if(_0x4a7207[0x1]!==_0x2ea7b4[_0x3c3e('0xe8')](_0x4a7207[0x0]))return!0x1;_0x30d53b['next']();}return _0x30d53b[_0x3c3e('0xae')]()[_0x3c3e('0xa4')];}}[_0x3c3e('0x101')](){this[_0x3c3e('0x50')]['conversion'][_0x3c3e('0x110')](_0x3c3e('0x2c'))[_0x3c3e('0x71')]({'view':_0x3c3e('0x7d')}),this[_0x3c3e('0x50')][_0x3c3e('0x45')]['for'](_0x3c3e('0xb'))[_0x3c3e('0x73')]({'model':_0x3c3e('0x7d'),'view':_0x5b513c=>{const _0x301bc5=_0x5b513c[_0x3c3e('0x88')][_0x3c3e('0x91')](':')[0x1],_0x1c1c6f=this[_0x3c3e('0xb8')](_0x301bc5);if(!_0x1c1c6f)return null;const _0x59b22e=_0x3c3e('0xfb')==_0x1c1c6f['type']?_0x3c3e('0x19'):'deletion',_0x285eca=[_0x3c3e('0x30'),_0x3c3e('0xc6')+_0x59b22e];return _0x1c1c6f[_0x3c3e('0xd5')][_0x3c3e('0xcc')]&&_0x285eca[_0x3c3e('0x1e')](_0x3c3e('0xc6')+_0x59b22e+_0x3c3e('0xea')),this[_0x3c3e('0x106')]==_0x1c1c6f&&_0x285eca['push']('ck-suggestion-marker--active'),{'classes':_0x285eca,'attributes':{'data-change-id':_0x301bc5}};}}),this[_0x3c3e('0x50')][_0x3c3e('0x45')]['for'](_0x3c3e('0x2c'))['add'](_0x48d7b9=>{_0x48d7b9['on'](_0x3c3e('0x18'),(_0x4df203,_0x4a9520,_0x8daffa)=>{const _0x158bfb=_0x4a9520[_0x3c3e('0xcf')][_0x3c3e('0xaf')](0x0);if(!_0x158bfb||!_0x158bfb['is'](_0x3c3e('0x10e'),_0x3c3e('0xf7')))return;if(!_0x8daffa[_0x3c3e('0x7e')][_0x3c3e('0x23')](_0x158bfb,{'attributes':['vid_start',_0x3c3e('0xe4')]}))return;const _0x178976=_0x4a9520['modelRange'][_0x3c3e('0x6f')][_0x3c3e('0x10a')];_0x8daffa[_0x3c3e('0x105')]['setAttribute'](_0x3c3e('0x26'),_0x158bfb['getAttribute'](_0x3c3e('0x26')),_0x178976),_0x8daffa[_0x3c3e('0x105')][_0x3c3e('0x3c')](_0x3c3e('0xe4'),_0x158bfb[_0x3c3e('0xe8')](_0x3c3e('0xe4')),_0x178976);},{'priority':'low'});}),this[_0x3c3e('0x50')][_0x3c3e('0x45')][_0x3c3e('0x110')](_0x3c3e('0x2c'))[_0x3c3e('0xfb')](_0x38e2fe=>{_0x38e2fe['on'](_0x3c3e('0x10e'),(_0xbfe669,_0x2df512,_0x252f2d)=>{if(!_0x252f2d['consumable'][_0x3c3e('0x23')](_0x2df512['viewItem'],{'attributes':[_0x3c3e('0x26'),_0x3c3e('0xe4')]}))return;if(_0x2df512[_0x3c3e('0xd9')][_0x3c3e('0xf2')])return;const _0x1d7fa9=_0x2df512[_0x3c3e('0xd9')][_0x3c3e('0x6f')][_0x3c3e('0x10a')];_0x1d7fa9[_0x3c3e('0xe0')]('vid_start')||_0x1d7fa9[_0x3c3e('0xe0')]('vid')||(_0x252f2d[_0x3c3e('0x105')][_0x3c3e('0x3c')](_0x3c3e('0x26'),_0x2df512['viewItem'][_0x3c3e('0xe8')](_0x3c3e('0x26')),_0x1d7fa9),_0x252f2d[_0x3c3e('0x105')][_0x3c3e('0x3c')]('vid_end',_0x2df512[_0x3c3e('0xcf')][_0x3c3e('0xe8')](_0x3c3e('0xe4')),_0x1d7fa9));},{'priority':_0x3c3e('0x3')});}),this[_0x3c3e('0x50')]['conversion'][_0x3c3e('0x110')](_0x3c3e('0x2c'))[_0x3c3e('0xf3')]({'view':{'name':_0x3c3e('0xb2'),'attributes':{'vid':!0x0}},'model':{'key':_0x3c3e('0xbc'),'value':_0x5f0008=>_0x5f0008[_0x3c3e('0xe8')](_0x3c3e('0xbc'))}}),this['editor']['model'][_0x3c3e('0xbb')]['on']('checkAttribute',(_0x1f09a7,[,_0x6363be])=>{[_0x3c3e('0x26'),_0x3c3e('0xe4'),_0x3c3e('0xbc')][_0x3c3e('0x8d')](_0x6363be)&&(_0x1f09a7['return']=!0x0,_0x1f09a7['stop']());},{'priority':_0x3c3e('0x6')}),this['editor'][_0x3c3e('0x45')][_0x3c3e('0x110')](_0x3c3e('0xc0'))[_0x3c3e('0xfb')](_0x39b9d1=>{_0x39b9d1['on'](_0x3c3e('0xa'),(_0xa73466,_0x302a47,_0x3c255f)=>{if('\x20'!=_0x302a47[_0x3c3e('0x46')][_0x3c3e('0xd5')]||_0x302a47[_0x3c3e('0x46')][_0x3c3e('0x66')][_0x3c3e('0xdc')]>0x1)return;if(!_0x3c255f[_0x3c3e('0x7e')][_0x3c3e('0x23')](_0x302a47['item'],_0xa73466[_0x3c3e('0x74')]))return;const _0x564b2e=_0x3c255f['writer'],_0x304c46=_0x3c255f['mapper'][_0x3c3e('0xa6')](_0x302a47[_0x3c3e('0x9b')]);_0x564b2e['wrap'](_0x304c46,_0x564b2e['createAttributeElement'](_0x3c3e('0xb2')));});}),this[_0x3c3e('0x50')]['conversion'][_0x3c3e('0x110')]('dataDowncast')[_0x3c3e('0x60')]({'model':'revision'}),this[_0x3c3e('0x50')][_0x3c3e('0x78')][_0x3c3e('0x34')]['on'](_0x3c3e('0x5b'),function(_0x1d1598){const _0x552298=_0x1d1598[_0x3c3e('0x72')][_0x3c3e('0xeb')](_0x3c3e('0xaa'));return(_0x50f797,_0x9468c7,_0x202f28)=>{const _0xcfa50f=_0x9468c7[_0x3c3e('0x88')][_0x3c3e('0x91')](':')[0x1],_0x4cbb4f=_0x552298['_getChangeFromId'](_0xcfa50f);if(!_0x4cbb4f)return null;const _0x583340=_0x3c3e('0xfb')==_0x4cbb4f[_0x3c3e('0x1b')]?_0x3c3e('0x91'):_0x3c3e('0xfe');if(!_0x202f28[_0x3c3e('0x7e')][_0x3c3e('0xc7')](_0x9468c7['markerRange'],_0x50f797[_0x3c3e('0x74')]))return;const _0x4c773b=_0x9468c7['markerRange'][_0x3c3e('0x22')](),_0x10bb68=_0x9468c7['markerRange']['start'],_0x26fd0e=_0x1d1598['model'][_0x3c3e('0xbb')];let _0x397238=null,_0x3bebda=null,_0x14610c=!0x1,_0x47940f=!0x1;for(const _0x3bd9c2 of _0x4c773b){const _0x311146=_0x3bd9c2['item'];_0x14610c=_0x14610c||_0x26fd0e[_0x3c3e('0xe7')](_0x311146);const _0xfb34f9=_0x202f28[_0x3c3e('0x87')][_0x3c3e('0x55')](_0x311146);if(_0xfb34f9&&_0xfb34f9[_0x3c3e('0x65')](_0x3c3e('0x12')))return;'elementEnd'==_0x3bd9c2['type']&&(_0x26fd0e[_0x3c3e('0x5c')](_0x311146)&&!_0x26fd0e[_0x3c3e('0x53')](_0x311146)&&(_0x311146[_0x3c3e('0xd1')]||_0x10bb68['isAtEnd']?_0x397238&&_0x397238[_0x3c3e('0x66')]==_0x311146||(_0x397238=_0x311146,_0x557de0(_0x3bd9c2[_0x3c3e('0x9a')]),_0x47940f=!0x0):_0x3bebda=_0x3bebda||_0x3bd9c2[_0x3c3e('0x9a')]));}function _0x557de0(_0x53d669){const _0x2fae0a=_0x202f28[_0x3c3e('0x105')][_0x3c3e('0x4')](_0x3c3e('0xb2'),{'class':'ck-suggestion-marker-'+_0x583340}),_0x1e7431=_0x202f28[_0x3c3e('0x87')]['toViewPosition'](_0x53d669);_0x4cbb4f[_0x3c3e('0xd5')][_0x3c3e('0xcc')]&&_0x202f28[_0x3c3e('0x105')][_0x3c3e('0x7')](_0x3c3e('0xc6')+_0x583340+_0x3c3e('0xea'),_0x2fae0a),_0x552298[_0x3c3e('0x106')]==_0x4cbb4f&&_0x202f28['writer']['addClass'](_0x3c3e('0x9c'),_0x2fae0a),_0x202f28['writer'][_0x3c3e('0x104')](_0x1e7431,_0x2fae0a),_0x202f28[_0x3c3e('0x87')][_0x3c3e('0xb3')](_0x2fae0a,_0x9468c7[_0x3c3e('0x88')]);}_0x14610c||_0x47940f||!_0x3bebda||_0x557de0(_0x3bebda);};}(this[_0x3c3e('0x50')]),{'priority':_0x3c3e('0x4b')}),this[_0x3c3e('0x50')]['editing']['downcastDispatcher']['on'](_0x3c3e('0xd6'),(_0x5829db,_0x1248c7,_0x2410ca)=>{const _0x4d7eee=_0x2410ca['mapper']['markerNameToElements'](_0x1248c7[_0x3c3e('0x88')]);if(_0x4d7eee)for(const _0xb36acc of _0x4d7eee)(_0xb36acc['hasClass'](_0x3c3e('0xe2'))||_0xb36acc[_0x3c3e('0x100')](_0x3c3e('0x112')))&&(_0x2410ca[_0x3c3e('0x87')][_0x3c3e('0x2b')](_0xb36acc,_0x1248c7[_0x3c3e('0x88')]),_0x2410ca[_0x3c3e('0x105')]['remove'](_0xb36acc));},{'priority':_0x3c3e('0x4b')}),this['editor'][_0x3c3e('0x78')][_0x3c3e('0x34')]['on'](_0x3c3e('0x5b'),(_0x193862,_0x1cbf01,_0x5c9036)=>{const _0x1139c6=_0x1cbf01['markerName']['split'](':')[0x1],_0x3f8773=this[_0x3c3e('0xb8')](_0x1139c6);if(!_0x3f8773)return null;const _0x391c84=_0x3c3e('0xfb')==_0x3f8773['type']?_0x3c3e('0x91'):_0x3c3e('0xfe');if(_0x5c9036[_0x3c3e('0x7e')]['test'](_0x1cbf01[_0x3c3e('0x103')],_0x193862[_0x3c3e('0x74')]))for(const _0x30513b of _0x1cbf01[_0x3c3e('0x103')][_0x3c3e('0x9e')]()){if(!_0x30513b['is'](_0x3c3e('0x10e'),'softBreak'))continue;const _0x1fe57f=_0x5c9036[_0x3c3e('0x105')]['createUIElement'](_0x3c3e('0xb2'),{'class':_0x3c3e('0xc6')+_0x391c84}),_0x77d36d=_0x5c9036[_0x3c3e('0x87')][_0x3c3e('0xd7')](this[_0x3c3e('0x50')]['model']['createPositionBefore'](_0x30513b));_0x3f8773[_0x3c3e('0xd5')][_0x3c3e('0xcc')]&&_0x5c9036[_0x3c3e('0x105')]['addClass'](_0x3c3e('0xc6')+_0x391c84+_0x3c3e('0xea'),_0x1fe57f),this[_0x3c3e('0x106')]==_0x3f8773&&_0x5c9036[_0x3c3e('0x105')][_0x3c3e('0x7')](_0x3c3e('0x9c'),_0x1fe57f),_0x5c9036[_0x3c3e('0x105')][_0x3c3e('0x104')](_0x77d36d,_0x1fe57f),_0x5c9036[_0x3c3e('0x87')]['bindElementToMarker'](_0x1fe57f,_0x1cbf01[_0x3c3e('0x88')]);}},{'priority':_0x3c3e('0x4b')}),this[_0x3c3e('0x50')][_0x3c3e('0x45')][_0x3c3e('0x110')](_0x3c3e('0x2c'))['dataToMarker']({'view':'comment','model':_0x488d78=>'revision-comment:'+_0x488d78,'converterPriority':_0x3c3e('0x6')}),this[_0x3c3e('0x50')][_0x3c3e('0x45')][_0x3c3e('0x110')](_0x3c3e('0x2c'))[_0x3c3e('0x71')]({'view':_0x3c3e('0xf5'),'model':_0x1ce702=>'revision-suggestion:'+_0x1ce702,'converterPriority':_0x3c3e('0x6')}),this[_0x3c3e('0x50')]['conversion']['for'](_0x3c3e('0xc0'))['markerToData']({'model':_0x3c3e('0x3a'),'view':_0x48377d=>_0x3c3e('0xf1')+_0x48377d,'converterPriority':_0x3c3e('0x6')}),this[_0x3c3e('0x50')]['conversion']['for'](_0x3c3e('0xb'))[_0x3c3e('0x73')]({'model':_0x3c3e('0x3a'),'view':_0x171759=>{const _0x36ba4e=_0x171759[_0x3c3e('0x88')]['split'](':')[0x1];return _0x3c3e('0x19')!=_0x36ba4e&&_0x3c3e('0x11')!=_0x36ba4e?null:{'classes':[_0x3c3e('0x7a'),_0x3c3e('0xd0')+_0x36ba4e]};}}),this[_0x3c3e('0x50')][_0x3c3e('0x78')]['downcastDispatcher']['on'](_0x3c3e('0x1f'),Z(this[_0x3c3e('0x50')],_0x3c3e('0xfe')),{'priority':_0x3c3e('0x4b')}),this[_0x3c3e('0x50')][_0x3c3e('0x78')]['downcastDispatcher']['on'](_0x3c3e('0x7b'),Z(this['editor'],_0x3c3e('0x91')),{'priority':_0x3c3e('0x4b')}),this['editor'][_0x3c3e('0x78')][_0x3c3e('0x34')]['on']('removeMarker:revision-suggestion',(_0x3a5f0d,_0x420e4a,_0x4ebc30)=>{const _0x3d348c=_0x4ebc30['mapper']['markerNameToElements'](_0x420e4a[_0x3c3e('0x88')]);if(_0x3d348c)for(const _0x101761 of _0x3d348c)_0x101761['is'](_0x3c3e('0x6e'))&&(_0x4ebc30[_0x3c3e('0x87')][_0x3c3e('0x2b')](_0x101761,_0x420e4a[_0x3c3e('0x88')]),_0x4ebc30[_0x3c3e('0x105')]['remove'](_0x101761));},{'priority':_0x3c3e('0x4b')});}[_0x3c3e('0xb8')](_0x4d279a){return this['_changeIdToChange'][_0x3c3e('0xeb')](_0x4d279a);}[_0x3c3e('0x86')](_0x9c2ded){this[_0x3c3e('0xd')]&&this[_0x3c3e('0xd')][_0x3c3e('0x109')](),this[_0x3c3e('0xd')]=new _0x1e0cb9(this[_0x3c3e('0x50')][_0x3c3e('0xb5')],_0x9c2ded);const _0x560611=this['editor'][_0x3c3e('0xe')][_0x3c3e('0x39')][_0x3c3e('0xeb')]('revision:'+_0x9c2ded['id']);return this[_0x3c3e('0xd')]['_target']=()=>_0x565d48(this[_0x3c3e('0x50')]['editing'],_0x560611),this[_0x3c3e('0xd')];}[_0x3c3e('0x82')](){this[_0x3c3e('0x50')]['model'][_0x3c3e('0x61')][_0x3c3e('0x76')][_0x3c3e('0x58')](_0x3c3e('0x7d')),this['on'](_0x3c3e('0x79'),(_0x2042c0,_0x513a28,_0x1667a7,_0x2974bf)=>{_0x2974bf&&this[_0x3c3e('0x56')]['remove'](_0x2974bf),_0x1667a7&&(this['_balloon'][_0x3c3e('0xfb')]({'view':_0x1667a7,'stackId':'revisionHistoryLabel','position':{'target':_0x1667a7[_0x3c3e('0x4e')]}}),this[_0x3c3e('0x56')]['showStack'](_0x3c3e('0x90')));}),this['on'](_0x3c3e('0x5a'),(_0x207f8a,_0x4bb727,_0x1d7d61,_0x4d7807)=>{this['activeView']=_0x1d7d61?this[_0x3c3e('0x86')](_0x1d7d61):null,this[_0x3c3e('0x50')][_0x3c3e('0xe')]['change'](()=>{const _0x343355=this['editor'][_0x3c3e('0x78')];_0x4d7807&&_0x343355['reconvertMarker'](_0x3c3e('0x16')+_0x4d7807['id']),_0x1d7d61&&_0x343355[_0x3c3e('0xe3')](_0x3c3e('0x16')+_0x1d7d61['id']);});}),this['listenTo'](this[_0x3c3e('0x50')][_0x3c3e('0x78')][_0x3c3e('0x1d')][_0x3c3e('0x61')],_0x3c3e('0xb1'),(_0x563cb5,_0x4b5462)=>{if(this['activeChange'])return;const _0x5d5047=this['_findChangeIdFromDomTarget'](_0x4b5462[_0x3c3e('0x59')]),_0x3a835a=this[_0x3c3e('0x67')][_0x3c3e('0xeb')](_0x5d5047);this['activeView']=_0x3a835a?this[_0x3c3e('0x86')](_0x3a835a):null;}),this[_0x3c3e('0xc5')](this[_0x3c3e('0x50')][_0x3c3e('0x78')][_0x3c3e('0x1d')][_0x3c3e('0x61')],_0x3c3e('0x8b'),(_0x32d737,_0x374d5c)=>{const _0x368430=this[_0x3c3e('0x111')](_0x374d5c[_0x3c3e('0x59')]),_0x2b6b01=this[_0x3c3e('0x67')][_0x3c3e('0xeb')](_0x368430);this[_0x3c3e('0x106')]=_0x2b6b01||null;});}['_findChangeIdFromDomTarget'](_0x2c626a){do{const _0x187d8b=_0x2c626a[_0x3c3e('0xe8')](_0x3c3e('0x8f'));if(_0x187d8b)return _0x187d8b;_0x2c626a=_0x2c626a[_0x3c3e('0x66')];}while(_0x2c626a);return null;}[_0x3c3e('0x108')](){this[_0x3c3e('0x50')][_0x3c3e('0xe')][_0x3c3e('0x2d')](_0x2f0b68=>{for(const _0x43bf1f of this[_0x3c3e('0x50')][_0x3c3e('0xe')][_0x3c3e('0x39')])_0x2f0b68[_0x3c3e('0x6b')](_0x43bf1f);});}}function Z(_0x1754f9,_0x4e974c){return(_0x41a49f,_0x5912cd,_0x496607)=>{if(!_0x496607['consumable'][_0x3c3e('0xc7')](_0x5912cd[_0x3c3e('0x103')],_0x41a49f[_0x3c3e('0x74')]))return;const _0x24f3e7=_0x5912cd[_0x3c3e('0x103')][_0x3c3e('0x22')](),_0x22c63c=_0x5912cd['markerRange'][_0x3c3e('0x6f')],_0x17dbae=_0x1754f9[_0x3c3e('0xe')][_0x3c3e('0xbb')];let _0x679cac=null,_0x4988ac=null,_0x36d948=!0x1,_0x3eda1c=!0x1;for(const _0x53006e of _0x24f3e7){const _0x5bd0e3=_0x53006e[_0x3c3e('0x46')];_0x36d948=_0x36d948||_0x17dbae[_0x3c3e('0xe7')](_0x5bd0e3);const _0x2be648=_0x496607[_0x3c3e('0x87')]['toViewElement'](_0x5bd0e3);if(_0x2be648&&_0x2be648[_0x3c3e('0x65')](_0x3c3e('0x12')))return;_0x3c3e('0xb7')==_0x53006e[_0x3c3e('0x1b')]&&(_0x17dbae[_0x3c3e('0x5c')](_0x5bd0e3)&&!_0x17dbae[_0x3c3e('0x53')](_0x5bd0e3)&&(_0x5bd0e3[_0x3c3e('0xd1')]||_0x22c63c[_0x3c3e('0x3d')]?_0x679cac&&_0x679cac['parent']==_0x5bd0e3||(_0x679cac=_0x5bd0e3,_0xfb3a83(_0x53006e[_0x3c3e('0x9a')]),_0x3eda1c=!0x0):_0x4988ac=_0x4988ac||_0x53006e[_0x3c3e('0x9a')]));}function _0xfb3a83(_0x10c62f){const _0x217681=_0x496607['mapper'][_0x3c3e('0xd7')](_0x10c62f),_0xb6825c=_0x496607['writer'][_0x3c3e('0x4')](_0x3c3e('0xb2'),{'class':_0x3c3e('0xd0')+_0x4e974c});_0x496607[_0x3c3e('0x105')]['insert'](_0x217681,_0xb6825c),_0x496607['mapper'][_0x3c3e('0xb3')](_0xb6825c,_0x5912cd[_0x3c3e('0x88')]);}_0x36d948||_0x3eda1c||!_0x4988ac||_0xfb3a83(_0x4988ac);};}_0x22662e(d,_0x24627b);class tt extends _0x6ed4c3{constructor(_0x28d964){super(_0x28d964);const _0x346079=_0x28d964[_0x3c3e('0x72')][_0x3c3e('0xeb')](d);this['stopListening'](_0x28d964,'change:isReadOnly'),this[_0x3c3e('0x99')](_0x3c3e('0x40')),this[_0x3c3e('0xc5')](_0x346079,'change:isReady',()=>this[_0x3c3e('0xac')]()),this['listenTo'](_0x346079,_0x3c3e('0xc4'),()=>this[_0x3c3e('0xac')]());}[_0x3c3e('0xd2')](){const _0x136030=this[_0x3c3e('0x50')],_0x2e6a01=_0x136030[_0x3c3e('0x72')][_0x3c3e('0xeb')](d),_0x41a8fa=_0x2e6a01['isReady']?_0x2e6a01[_0x3c3e('0xc8')]['newRevisionId']:null;_0x136030[_0x3c3e('0x4a')][_0x3c3e('0xeb')](_0x3c3e('0x6a'))[_0x3c3e('0x42')](_0x41a8fa);}[_0x3c3e('0xac')](){const {isReady:_0x46fcfa,isEnabled:_0x2ad175}=this[_0x3c3e('0x50')][_0x3c3e('0x72')][_0x3c3e('0xeb')](d);this[_0x3c3e('0x6c')]=_0x46fcfa&&_0x2ad175;}}class et extends _0x6ed4c3{constructor(_0x2be71d,{direction:_0x4a3dde}){super(_0x2be71d);const _0x20176f=_0x2be71d['plugins'][_0x3c3e('0xeb')](d);this[_0x3c3e('0xd3')](_0x2be71d,_0x3c3e('0x2a')),this[_0x3c3e('0x99')](_0x3c3e('0x40')),this[_0x3c3e('0xb4')]=_0x3c3e('0x33')===_0x4a3dde?0x1:-0x1,this[_0x3c3e('0xc5')](_0x20176f,_0x3c3e('0x5'),()=>this[_0x3c3e('0xac')]()),this[_0x3c3e('0xc5')](_0x20176f,'change:isEnabled',()=>this[_0x3c3e('0xac')]());}[_0x3c3e('0xd2')](){const _0x2ff141=this[_0x3c3e('0x50')],_0x521b90=_0x2ff141[_0x3c3e('0x72')][_0x3c3e('0xeb')](d),{isNavigationMode:_0x347ffd,currentChangeNumber:_0x2b10cc}=_0x521b90;_0x521b90[_0x3c3e('0x106')]=_0x347ffd?_0x521b90['diff'][_0x3c3e('0x6d')]['get'](_0x2b10cc+this[_0x3c3e('0xb4')]):_0x521b90[_0x3c3e('0xc8')]['changes'][_0x3c3e('0x8')];const _0x1004df=_0x2ff141[_0x3c3e('0xe')][_0x3c3e('0x39')][_0x3c3e('0xeb')](_0x3c3e('0x16')+_0x521b90[_0x3c3e('0x106')]['id']),_0x4dcb86=_0x565d48(_0x2ff141[_0x3c3e('0x78')],_0x1004df);_0x276425({'target':_0x4dcb86,'viewportOffset':0x28});}[_0x3c3e('0xac')](){const {isNavigationMode:_0x4550a,currentChangeNumber:_0x4f5fa0,numberOfChanges:_0x4fee43,isReady:_0xbc0dfc,isEnabled:_0x3c854c}=this[_0x3c3e('0x50')][_0x3c3e('0x72')]['get'](d);this[_0x3c3e('0x6c')]=!!(_0x3c854c&&_0xbc0dfc&&_0x4fee43)&&(!_0x4550a||(0x1===this[_0x3c3e('0xb4')]?_0x4f5fa0<_0x4fee43-0x1:_0x4f5fa0>0x0));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1b7c=['ck-on','panelPosition','model','Show\x20more\x20items','first','locale','listenTo','button','isOpen','class','stopPropagation','bindTemplate','map','children','find','items','bind','function','action','isVisible','add','Name\x20this\x20revision','buttonView','isEnabled','_action','name','source','isReady','isActionsDropdownOpen','ck-revision-history-sidebar__revision__actions'];(function(_0x70d434,_0x1b7c26){const _0x22d23b=function(_0x1c8bf0){while(--_0x1c8bf0){_0x70d434['push'](_0x70d434['shift']());}};_0x22d23b(++_0x1b7c26);}(_0x1b7c,0x81));const _0x22d2=function(_0x70d434,_0x1b7c26){_0x70d434=_0x70d434-0x0;let _0x22d23b=_0x1b7c[_0x70d434];return _0x22d23b;};import{Collection as _0x57e16c}from'ckeditor5/src/utils';import{Model as _0x5e497e,addListToDropdown as _0x2c635a,createDropdown as _0x99a2ad}from'ckeditor5/src/ui';import{getTranslation as _0x2eb885}from'../../utils/common-translations';import _0x1c5211 from'@ckeditor/ckeditor5-core/theme/icons/three-vertical-dots.svg';import'../../../theme/revision/revisionactions.css';export function createActionsDropdownView(_0x47b109,_0x56f16b){const _0x5500b1=_0x47b109[_0x22d2('0x2')],_0x6755ae=_0x47b109[_0x22d2('0x1a')],_0x235001=_0x99a2ad(_0x6755ae);_0x235001[_0x22d2('0x16')]='sw';const _0x503b2a=function(_0x310ac1,_0x296dff){const _0x581aee=function(_0x56dd4a,_0x20f15f){const _0x4b6ef0=_0x56dd4a[_0x22d2('0x1a')],_0x2d0a41={'Compare\x20against\x20selected':_0x2eb885(_0x4b6ef0,'Compare\x20against\x20selected'),'Name\x20this\x20revision':_0x2eb885(_0x4b6ef0,_0x22d2('0xc')),'Restore\x20this\x20revision':_0x2eb885(_0x4b6ef0,'Restore\x20this\x20revision')};return _0x20f15f[_0x22d2('0x3')](_0x549132=>{const _0x43471a=_0x2d0a41[_0x549132[_0x22d2('0x10')]];return _0x43471a&&_0x43471a!==_0x549132[_0x22d2('0x10')]&&(_0x549132['name']=_0x43471a),_0x549132;});}(_0x310ac1,_0x296dff),_0xe4465b=new _0x57e16c();for(const _0x50c72d of _0x581aee){const _0x3eb899={'type':_0x22d2('0x1c'),'model':new _0x5e497e({'label':_0x50c72d[_0x22d2('0x10')],'class':_0x50c72d[_0x22d2('0x0')],'withText':!0x0,'_action':_0x50c72d[_0x22d2('0x9')]})};_0x3eb899[_0x22d2('0x17')][_0x22d2('0x7')](_0x22d2('0xe'))['to'](_0x310ac1,_0x22d2('0x13'),_0x2c1e68=>'function'!=typeof _0x50c72d[_0x22d2('0xe')]||(!_0x2c1e68||_0x50c72d[_0x22d2('0xe')](_0x310ac1))),_0xe4465b[_0x22d2('0xb')](_0x3eb899);}return _0xe4465b;}(_0x47b109,_0x56f16b);return _0x47b109[_0x22d2('0x7')](_0x22d2('0x13'))['to'](_0x235001,_0x22d2('0x1d')),_0x235001[_0x22d2('0xd')]['set']({'label':_0x2eb885(_0x6755ae,_0x22d2('0x18')),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x1c5211}),_0x235001['extendTemplate']({'attributes':{'class':[_0x22d2('0x14'),_0x5500b1['if'](_0x22d2('0x13'),_0x22d2('0x15'))]},'on':{'click':_0x5500b1['to'](_0xd80e3e=>_0xd80e3e[_0x22d2('0x1')]())}}),_0x235001['on']('execute',_0xfef84a=>{_0x47b109[_0x22d2('0x12')]&&_0x22d2('0x8')==typeof _0xfef84a[_0x22d2('0x11')][_0x22d2('0xf')]&&_0xfef84a['source'][_0x22d2('0xf')](_0x47b109);}),_0x2c635a(_0x235001,_0x503b2a),_0x235001[_0x22d2('0x1b')](_0x47b109,'change:isActionsDropdownOpen',(_0x1df52b,_0xf77ab1,_0xd87576)=>{if(_0xd87576)for(const _0x5ec62b of _0x235001['listView'][_0x22d2('0x6')]){const _0x2c9d52=_0x5ec62b[_0x22d2('0x4')][_0x22d2('0x19')],_0x741b3e=_0x56f16b[_0x22d2('0x5')](_0x4caefb=>_0x4caefb[_0x22d2('0x9')]===_0x2c9d52[_0x22d2('0xf')])[_0x22d2('0xa')];_0x5ec62b['isVisible']=void 0x0===_0x741b3e||_0x741b3e(_0x47b109);}}),_0x235001;}
23
+ const _0x57cd=['button','isOpen','extendTemplate','stopPropagation','action','locale','class','ck-revision-history-sidebar__revision__actions','children','ck-on','Restore\x20this\x20revision','panelPosition','Show\x20more\x20items','isEnabled','items','Compare\x20against\x20selected','isVisible','name','listView','source','function','first','Name\x20this\x20revision','bindTemplate','isActionsDropdownOpen','model','_action','set','add'];(function(_0x423d31,_0x57cd30){const _0x15f6b2=function(_0x4e1c1d){while(--_0x4e1c1d){_0x423d31['push'](_0x423d31['shift']());}};_0x15f6b2(++_0x57cd30);}(_0x57cd,0x17a));const _0x15f6=function(_0x423d31,_0x57cd30){_0x423d31=_0x423d31-0x0;let _0x15f6b2=_0x57cd[_0x423d31];return _0x15f6b2;};import{Collection as _0x2c7499}from'ckeditor5/src/utils';import{Model as _0x2d0d2a,addListToDropdown as _0x444a3c,createDropdown as _0x1e4b48}from'ckeditor5/src/ui';import{getTranslation as _0xd3585a}from'../../utils/common-translations';import _0x41576e from'@ckeditor/ckeditor5-core/theme/icons/three-vertical-dots.svg';import'../../../theme/revision/revisionactions.css';export function createActionsDropdownView(_0x31d07d,_0x30b150){const _0x345e36=_0x31d07d[_0x15f6('0x16')],_0x542de4=_0x31d07d[_0x15f6('0x4')],_0x124a1b=_0x1e4b48(_0x542de4);_0x124a1b[_0x15f6('0xa')]='sw';const _0x147812=function(_0x5f5106,_0x5b7667){const _0x3e2eea=function(_0x1bd1f4,_0x5d5be7){const _0x300dc3=_0x1bd1f4[_0x15f6('0x4')],_0x5c3b09={'Compare\x20against\x20selected':_0xd3585a(_0x300dc3,_0x15f6('0xe')),'Name\x20this\x20revision':_0xd3585a(_0x300dc3,_0x15f6('0x15')),'Restore\x20this\x20revision':_0xd3585a(_0x300dc3,_0x15f6('0x9'))};return _0x5d5be7['map'](_0x5024d7=>{const _0x5649d=_0x5c3b09[_0x5024d7[_0x15f6('0x10')]];return _0x5649d&&_0x5649d!==_0x5024d7[_0x15f6('0x10')]&&(_0x5024d7['name']=_0x5649d),_0x5024d7;});}(_0x5f5106,_0x5b7667),_0x2475ea=new _0x2c7499();for(const _0x4b4ea0 of _0x3e2eea){const _0x478348={'type':_0x15f6('0x1c'),'model':new _0x2d0d2a({'label':_0x4b4ea0[_0x15f6('0x10')],'class':_0x4b4ea0[_0x15f6('0x5')],'withText':!0x0,'_action':_0x4b4ea0['action']})};_0x478348[_0x15f6('0x18')]['bind'](_0x15f6('0xc'))['to'](_0x5f5106,_0x15f6('0x17'),_0x43ed75=>_0x15f6('0x13')!=typeof _0x4b4ea0[_0x15f6('0xc')]||(!_0x43ed75||_0x4b4ea0[_0x15f6('0xc')](_0x5f5106))),_0x2475ea[_0x15f6('0x1b')](_0x478348);}return _0x2475ea;}(_0x31d07d,_0x30b150);return _0x31d07d['bind'](_0x15f6('0x17'))['to'](_0x124a1b,_0x15f6('0x0')),_0x124a1b['buttonView'][_0x15f6('0x1a')]({'label':_0xd3585a(_0x542de4,_0x15f6('0xb')),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x41576e}),_0x124a1b[_0x15f6('0x1')]({'attributes':{'class':[_0x15f6('0x6'),_0x345e36['if']('isActionsDropdownOpen',_0x15f6('0x8'))]},'on':{'click':_0x345e36['to'](_0x1dc9cd=>_0x1dc9cd[_0x15f6('0x2')]())}}),_0x124a1b['on']('execute',_0x56c8b5=>{_0x31d07d['isReady']&&'function'==typeof _0x56c8b5['source'][_0x15f6('0x19')]&&_0x56c8b5[_0x15f6('0x12')]['_action'](_0x31d07d);}),_0x444a3c(_0x124a1b,_0x147812),_0x124a1b['listenTo'](_0x31d07d,'change:isActionsDropdownOpen',(_0x2aaca4,_0x353cf0,_0x100edd)=>{if(_0x100edd)for(const _0xf88412 of _0x124a1b[_0x15f6('0x11')][_0x15f6('0xd')]){const _0x5e6c00=_0xf88412[_0x15f6('0x7')][_0x15f6('0x14')],_0xd7d27a=_0x30b150['find'](_0x559484=>_0x559484[_0x15f6('0x3')]===_0x5e6c00['_action'])[_0x15f6('0xf')];_0xf88412['isVisible']=void 0x0===_0xd7d27a||_0xd7d27a(_0x31d07d);}}),_0x124a1b;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1faf=['set','ck-revision-history-sidebar__revision-author__name','setTemplate','name','ck-revision-history-sidebar__revision-author_creator','Revision\x20author','0\x200\x2011\x2010','span'];(function(_0x4ffb05,_0x1faf4f){const _0x3fe2c8=function(_0x302e80){while(--_0x302e80){_0x4ffb05['push'](_0x4ffb05['shift']());}};_0x3fe2c8(++_0x1faf4f);}(_0x1faf,0x1b4));const _0x3fe2=function(_0x4ffb05,_0x1faf4f){_0x4ffb05=_0x4ffb05-0x0;let _0x3fe2c8=_0x1faf[_0x4ffb05];return _0x3fe2c8;};import{View as _0x3c949c,IconView as _0x12940d}from'ckeditor5/src/ui';import{getTranslation as _0x4f8217}from'../../utils/common-translations';import _0x15dfdd from'../../../theme/icons/user.svg';import'../../../theme/revision/revisionauthor.css';export default class ti extends _0x3c949c{constructor(_0x518324,_0x451d3f,_0x29f845){super(_0x518324);const _0x1a3ac3=new _0x12940d(_0x518324);_0x1a3ac3[_0x3fe2('0x4')]({'content':_0x15dfdd,'viewBox':_0x3fe2('0x2')});const _0x143966=['ck','ck-revision-history-sidebar__revision-author'];_0x29f845&&_0x143966['push'](_0x3fe2('0x0'));const _0x4839e6=[{'tag':_0x3fe2('0x3'),'attributes':{'class':['ck',_0x3fe2('0x5')],'title':_0x4f8217(_0x518324,_0x29f845?'Revision\x20creator':_0x3fe2('0x1'))},'children':[_0x1a3ac3,_0x451d3f[_0x3fe2('0x7')]]}];this[_0x3fe2('0x6')]({'tag':'li','attributes':{'class':_0x143966},'children':_0x4839e6});}}
23
+ const _0x6cb2=['span','setTemplate','ck-revision-history-sidebar__revision-author_creator','set','ck-revision-history-sidebar__revision-author','name','push','0\x200\x2011\x2010','Revision\x20creator','Revision\x20author','ck-revision-history-sidebar__revision-author__name'];(function(_0x331559,_0x6cb28b){const _0xda43c6=function(_0x2832d5){while(--_0x2832d5){_0x331559['push'](_0x331559['shift']());}};_0xda43c6(++_0x6cb28b);}(_0x6cb2,0x13a));const _0xda43=function(_0x331559,_0x6cb28b){_0x331559=_0x331559-0x0;let _0xda43c6=_0x6cb2[_0x331559];return _0xda43c6;};import{View as _0xc09ecc,IconView as _0x44bc61}from'ckeditor5/src/ui';import{getTranslation as _0x367409}from'../../utils/common-translations';import _0x3d6502 from'../../../theme/icons/user.svg';import'../../../theme/revision/revisionauthor.css';export default class ti extends _0xc09ecc{constructor(_0xb10712,_0x516847,_0x58f3c9){super(_0xb10712);const _0x51f56b=new _0x44bc61(_0xb10712);_0x51f56b[_0xda43('0x8')]({'content':_0x3d6502,'viewBox':_0xda43('0x1')});const _0x259ae4=['ck',_0xda43('0x9')];_0x58f3c9&&_0x259ae4[_0xda43('0x0')](_0xda43('0x7'));const _0x3f1f4e=[{'tag':_0xda43('0x5'),'attributes':{'class':['ck',_0xda43('0x4')],'title':_0x367409(_0xb10712,_0x58f3c9?_0xda43('0x2'):_0xda43('0x3'))},'children':[_0x51f56b,_0x516847[_0xda43('0xa')]]}];this[_0xda43('0x6')]({'tag':'li','attributes':{'class':_0x259ae4},'children':_0x3f1f4e});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x12bc=['set','span'];(function(_0x239944,_0x12bcf3){var _0x54dfc5=function(_0x1d65b5){while(--_0x1d65b5){_0x239944['push'](_0x239944['shift']());}};_0x54dfc5(++_0x12bcf3);}(_0x12bc,0xf9));var _0x54df=function(_0x239944,_0x12bcf3){_0x239944=_0x239944-0x0;var _0x54dfc5=_0x12bc[_0x239944];return _0x54dfc5;};import{LabeledFieldView as _0x30b2a3}from'ckeditor5/src/ui';import{getTranslation as _0x5de3bb}from'../../utils/common-translations';import'../../../theme/revision/revisionname.css';export default class os extends _0x30b2a3{constructor(_0x22bc11,..._0x3e8847){super(_0x22bc11,..._0x3e8847),this[_0x54df('0x1')]({'label':_0x5de3bb(_0x22bc11,'Revision\x20name')}),this['extendTemplate']({'tag':_0x54df('0x0'),'attributes':{'class':['ck-revision-history-sidebar__revision-name']}});}}
23
+ var _0x30c8=['extendTemplate','ck-revision-history-sidebar__revision-name','span','Revision\x20name','set'];(function(_0x3396e8,_0x30c8e8){var _0x1c5a57=function(_0x2580ca){while(--_0x2580ca){_0x3396e8['push'](_0x3396e8['shift']());}};_0x1c5a57(++_0x30c8e8);}(_0x30c8,0x13c));var _0x1c5a=function(_0x3396e8,_0x30c8e8){_0x3396e8=_0x3396e8-0x0;var _0x1c5a57=_0x30c8[_0x3396e8];return _0x1c5a57;};import{LabeledFieldView as _0x52292f}from'ckeditor5/src/ui';import{getTranslation as _0x199838}from'../../utils/common-translations';import'../../../theme/revision/revisionname.css';export default class os extends _0x52292f{constructor(_0x4f6fd8,..._0x5d757b){super(_0x4f6fd8,..._0x5d757b),this[_0x1c5a('0x3')]({'label':_0x199838(_0x4f6fd8,_0x1c5a('0x2'))}),this[_0x1c5a('0x4')]({'tag':_0x1c5a('0x1'),'attributes':{'class':[_0x1c5a('0x0')]}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x64ab=['value','ck-reset','fieldView','set','deselect','revisionNameView','authors','ck-revision-history-sidebar__revision','uiLanguage','change','isReady','highlight','setTemplate','ck-revision-history-sidebar__revision-wrapper_confirmation_visible','length','isActionsDropdownOpen','span','ck-disabled','name','fire','ck-revision-history-sidebar__revision_highlighted','bind','render','ck-revision-history-sidebar__revision-wrapper','ck-revision-history-sidebar__revision__controls-wrapper','revisionActionsView','map','.ck-thread__remove-confirm','srcElement','closest','isHighlighted','isConfirm','div','unshift','creator','isSelected','createdAt','unhighlight','_createdAtFormatted','setName','bindTemplate','ck-revision-history-sidebar__revision-authors','filter','isEnabled','ck-revision-history-sidebar__revision_selected','ck-revision-history-sidebar__revision__date','select','ck-revision-history-sidebar__actions_dropdown_open'];(function(_0x151379,_0x64ab6c){const _0x4b6413=function(_0x5414a0){while(--_0x5414a0){_0x151379['push'](_0x151379['shift']());}};_0x4b6413(++_0x64ab6c);}(_0x64ab,0xbc));const _0x4b64=function(_0x151379,_0x64ab6c){_0x151379=_0x151379-0x0;let _0x4b6413=_0x64ab[_0x151379];return _0x4b6413;};import{View as _0x219cae,createLabeledInputText as _0x1ccc4e}from'ckeditor5/src/ui';import{mix as _0x5602cf}from'ckeditor5/src/utils';import{ConfirmMixin as _0x3aec8d}from'ckeditor5-collaboration/src/collaboration-core';import _0x1d47fe from'./revisionnameview';import _0x1d6d66 from'./revisionauthorview';import{dateToPrettyFormat as _0x8ac044}from'./utils';import{createActionsDropdownView as _0x20a639}from'./createrevisionactionsdropdown';import'../../../theme/revision/revision.css';export default class ci extends _0x219cae{constructor(_0x5e5427,_0x187c33,_0x15a0a9){super(_0x5e5427);const _0x2f7481=this[_0x4b64('0x2c')],_0x268a8a=function(_0x33df54,_0x519998){const _0x36941a=Array['from'](_0x519998[_0x4b64('0xa')])[_0x4b64('0x2e')](_0x384853=>_0x384853!=_0x519998[_0x4b64('0x26')]);return _0x519998[_0x4b64('0x26')]&&_0x36941a[_0x4b64('0x25')](_0x519998[_0x4b64('0x26')]),_0x36941a[_0x4b64('0x1e')](_0x5b62bf=>new _0x1d6d66(_0x33df54,_0x5b62bf,_0x5b62bf==_0x519998[_0x4b64('0x26')]));}(_0x5e5427,_0x187c33);this['_revision']=_0x187c33,this['id']=_0x187c33['id'],this[_0x4b64('0x19')](_0x4b64('0x16'),_0x4b64('0x28'))['to'](_0x187c33),this[_0x4b64('0x7')](_0x4b64('0x27'),!0x1),this[_0x4b64('0x7')]('isHighlighted',!0x1),this[_0x4b64('0x7')](_0x4b64('0x13'),!0x1),this[_0x4b64('0x7')](_0x4b64('0xe'),!0x1),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0x3cd6b6=>_0x3cd6b6?_0x8ac044(_0x5e5427[_0x4b64('0xc')],_0x3cd6b6):null),this[_0x4b64('0x7')](_0x4b64('0x2f'),!0x1),this[_0x4b64('0x9')]=new _0x1d47fe(_0x5e5427,_0x1ccc4e),this[_0x4b64('0x9')]['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView'][_0x4b64('0x6')][_0x4b64('0x19')](_0x4b64('0x4'),'placeholder')['to'](this,_0x4b64('0x16'),_0x4b64('0x2a')),this[_0x4b64('0x9')][_0x4b64('0x19')]('isEnabled')['to'](this,_0x4b64('0x27'),this,_0x4b64('0x2f'),(_0x13349a,_0x316357)=>_0x13349a&&_0x316357),this[_0x4b64('0x1d')]=_0x15a0a9&&_0x15a0a9[_0x4b64('0x12')]?_0x20a639(this,_0x15a0a9):'',this[_0x4b64('0x1d')]['bind']('isEnabled')['to'](this),this[_0x4b64('0x10')]({'tag':_0x4b64('0x24'),'attributes':{'class':['ck',_0x4b64('0x5'),_0x4b64('0x1b'),_0x2f7481['if'](_0x4b64('0x23'),_0x4b64('0x11'))]},'children':[{'tag':'div','attributes':{'class':['ck',_0x4b64('0x5'),_0x4b64('0xb'),_0x2f7481['if'](_0x4b64('0x2f'),_0x4b64('0x15'),_0x122ebe=>!_0x122ebe),_0x2f7481['if']('isSelected',_0x4b64('0x0')),_0x2f7481['if'](_0x4b64('0x22'),_0x4b64('0x18')),_0x2f7481['if']('isActionsDropdownOpen',_0x4b64('0x3'))]},'children':[this[_0x4b64('0x9')],{'tag':_0x4b64('0x14'),'attributes':{'class':['ck',_0x4b64('0x1')]},'children':[{'text':_0x2f7481['to'](_0x4b64('0x2a'))}]},{'tag':'div','attributes':{'class':['ck',_0x4b64('0x1c')]},'children':[{'tag':'ul','attributes':{'class':['ck',_0x4b64('0x2d')]},'children':_0x268a8a}]},this[_0x4b64('0x1d')]],'on':{'click':_0x2f7481['to'](_0x1d9184=>{_0x1d9184[_0x4b64('0x20')][_0x4b64('0x21')](_0x4b64('0x1f'))||this[_0x4b64('0xe')]&&this['isEnabled']&&this[_0x4b64('0x17')](_0x4b64('0x2'),{'id':this['id']});})}}]});}[_0x4b64('0x1a')](){super['render']();const _0x4bfe09=this[_0x4b64('0x9')]['fieldView']['element'];this['listenTo'](_0x4bfe09,_0x4b64('0xd'),()=>{this[_0x4b64('0x17')](_0x4b64('0x2b'),{'id':this['id'],'name':_0x4bfe09[_0x4b64('0x4')]});});}[_0x4b64('0x2')](){this[_0x4b64('0x27')]=!0x0;}[_0x4b64('0x8')](){this[_0x4b64('0x27')]=!0x1;}[_0x4b64('0xf')](){this[_0x4b64('0x22')]=!0x0;}[_0x4b64('0x29')](){this[_0x4b64('0x22')]=!0x1;}}_0x5602cf(ci,_0x3aec8d);
23
+ const _0x376b=['setTemplate','placeholder','select','srcElement','authors','createdAt','revisionActionsView','listenTo','isConfirm','fire','ck-revision-history-sidebar__revision-wrapper_confirmation_visible','closest','element','div','ck-revision-history-sidebar__revision__date','unshift','revisionNameView','from','isSelected','map','fieldView','isHighlighted','_createdAtFormatted','isReady','span','ck-revision-history-sidebar__revision-authors','render','setName','extendTemplate','ck-revision-history-sidebar__revision__controls-wrapper','value','creator','ck-disabled','_revision','220','bindTemplate','bind','name','.ck-thread__remove-confirm','uiLanguage','set','ck-revision-history-sidebar__revision_selected','change','isEnabled'];(function(_0x35f621,_0x376b61){const _0x392867=function(_0x4c7d49){while(--_0x4c7d49){_0x35f621['push'](_0x35f621['shift']());}};_0x392867(++_0x376b61);}(_0x376b,0x146));const _0x3928=function(_0x35f621,_0x376b61){_0x35f621=_0x35f621-0x0;let _0x392867=_0x376b[_0x35f621];return _0x392867;};import{View as _0x259cf3,createLabeledInputText as _0x3c1769}from'ckeditor5/src/ui';import{mix as _0x81e4a0}from'ckeditor5/src/utils';import{ConfirmMixin as _0x158149}from'ckeditor5-collaboration/src/collaboration-core';import _0x5b281a from'./revisionnameview';import _0x298090 from'./revisionauthorview';import{dateToPrettyFormat as _0x2462d3}from'./utils';import{createActionsDropdownView as _0x552ba2}from'./createrevisionactionsdropdown';import'../../../theme/revision/revision.css';export default class ci extends _0x259cf3{constructor(_0xbb8e28,_0x27a2e3,_0x25ebf2){super(_0xbb8e28);const _0x176232=this[_0x3928('0x11')],_0x4d04cd=function(_0x127f37,_0x5a0dbb){const _0x3d7bf6=Array[_0x3928('0x2b')](_0x5a0dbb[_0x3928('0x1e')])['filter'](_0x437397=>_0x437397!=_0x5a0dbb['creator']);return _0x5a0dbb[_0x3928('0xd')]&&_0x3d7bf6[_0x3928('0x29')](_0x5a0dbb[_0x3928('0xd')]),_0x3d7bf6[_0x3928('0x1')](_0x1e1b11=>new _0x298090(_0x127f37,_0x1e1b11,_0x1e1b11==_0x5a0dbb[_0x3928('0xd')]));}(_0xbb8e28,_0x27a2e3);this[_0x3928('0xf')]=_0x27a2e3,this['id']=_0x27a2e3['id'],this[_0x3928('0x12')](_0x3928('0x13'),_0x3928('0x1f'))['to'](_0x27a2e3),this[_0x3928('0x16')]('isSelected',!0x1),this[_0x3928('0x16')]('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this[_0x3928('0x16')](_0x3928('0x5'),!0x1),this[_0x3928('0x12')](_0x3928('0x4'))['to'](this,_0x3928('0x1f'),_0x4904a5=>_0x4904a5?_0x2462d3(_0xbb8e28[_0x3928('0x15')],_0x4904a5):null),this[_0x3928('0x16')](_0x3928('0x19'),!0x1),this[_0x3928('0x2a')]=new _0x5b281a(_0xbb8e28,_0x3c1769),this['revisionNameView'][_0x3928('0x2')][_0x3928('0xa')]({'attributes':{'maxlength':_0x3928('0x10')}}),this['revisionNameView'][_0x3928('0x2')][_0x3928('0x12')](_0x3928('0xc'),_0x3928('0x1b'))['to'](this,'name','_createdAtFormatted'),this[_0x3928('0x2a')][_0x3928('0x12')](_0x3928('0x19'))['to'](this,'isSelected',this,_0x3928('0x19'),(_0x379a9a,_0x3485f9)=>_0x379a9a&&_0x3485f9),this[_0x3928('0x20')]=_0x25ebf2&&_0x25ebf2['length']?_0x552ba2(this,_0x25ebf2):'',this[_0x3928('0x20')]['bind'](_0x3928('0x19'))['to'](this),this[_0x3928('0x1a')]({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0x176232['if'](_0x3928('0x22'),_0x3928('0x24'))]},'children':[{'tag':_0x3928('0x27'),'attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0x176232['if'](_0x3928('0x19'),_0x3928('0xe'),_0x27818a=>!_0x27818a),_0x176232['if'](_0x3928('0x0'),_0x3928('0x17')),_0x176232['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0x176232['if']('isActionsDropdownOpen','ck-revision-history-sidebar__actions_dropdown_open')]},'children':[this[_0x3928('0x2a')],{'tag':_0x3928('0x6'),'attributes':{'class':['ck',_0x3928('0x28')]},'children':[{'text':_0x176232['to'](_0x3928('0x4'))}]},{'tag':_0x3928('0x27'),'attributes':{'class':['ck',_0x3928('0xb')]},'children':[{'tag':'ul','attributes':{'class':['ck',_0x3928('0x7')]},'children':_0x4d04cd}]},this[_0x3928('0x20')]],'on':{'click':_0x176232['to'](_0x662db7=>{_0x662db7[_0x3928('0x1d')][_0x3928('0x25')](_0x3928('0x14'))||this[_0x3928('0x5')]&&this[_0x3928('0x19')]&&this[_0x3928('0x23')](_0x3928('0x1c'),{'id':this['id']});})}}]});}[_0x3928('0x8')](){super['render']();const _0x1b6378=this[_0x3928('0x2a')]['fieldView'][_0x3928('0x26')];this[_0x3928('0x21')](_0x1b6378,_0x3928('0x18'),()=>{this[_0x3928('0x23')](_0x3928('0x9'),{'id':this['id'],'name':_0x1b6378[_0x3928('0xc')]});});}[_0x3928('0x1c')](){this['isSelected']=!0x0;}['deselect'](){this[_0x3928('0x0')]=!0x1;}['highlight'](){this[_0x3928('0x3')]=!0x0;}['unhighlight'](){this[_0x3928('0x3')]=!0x1;}}_0x81e4a0(ci,_0x158149);
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x8ec2=['ck-revision-history-sidebar__subrevision-collapser','bindTemplate','toggle','_isCollapsed','ck-revision-history-sidebar__subrevision-collapser_collapsed','isVisible','span','click','true','button','setTemplate'];(function(_0x23c9a5,_0x8ec2a5){const _0x5f2a51=function(_0x451fbe){while(--_0x451fbe){_0x23c9a5['push'](_0x23c9a5['shift']());}};_0x5f2a51(++_0x8ec2a5);}(_0x8ec2,0xfa));const _0x5f2a=function(_0x23c9a5,_0x8ec2a5){_0x23c9a5=_0x23c9a5-0x0;let _0x5f2a51=_0x8ec2[_0x23c9a5];return _0x5f2a51;};import{View as _0x16ea6c}from'ckeditor5/src/ui';import'../../../theme/revision/subrevisioncollapser.css';export default class ls extends _0x16ea6c{constructor(_0x3116d3){super(_0x3116d3);const _0x230d51=this[_0x5f2a('0x4')];this['set']({'isVisible':!0x0,'_isCollapsed':!0x0}),this[_0x5f2a('0x2')]({'tag':_0x5f2a('0x9'),'attributes':{'class':['ck',_0x5f2a('0x3'),_0x230d51['if'](_0x5f2a('0x8'),'ck-hidden',_0x1e5ee0=>!_0x1e5ee0),_0x230d51['if'](_0x5f2a('0x6'),_0x5f2a('0x7'))],'role':_0x5f2a('0x1'),'aria-pressed':_0x230d51['to'](_0x5f2a('0x6'),_0x4090b7=>_0x4090b7?'false':_0x5f2a('0x0'))},'children':[{'tag':_0x5f2a('0x9'),'attributes':{'class':['ck','ck-revision-history-sidebar__subrevision-collapser__inner']}}],'on':{'click':_0x230d51['to'](_0x5f2a('0xa'))}});}[_0x5f2a('0x5')](){this[_0x5f2a('0x6')]=!this[_0x5f2a('0x6')];}}
23
+ const _0x3ba4=['false','isVisible','bindTemplate','click','ck-revision-history-sidebar__subrevision-collapser','span','ck-hidden','_isCollapsed','ck-revision-history-sidebar__subrevision-collapser_collapsed','ck-revision-history-sidebar__subrevision-collapser__inner','button','set','toggle'];(function(_0x4bf687,_0x3ba40b){const _0x59f930=function(_0x25ad6b){while(--_0x25ad6b){_0x4bf687['push'](_0x4bf687['shift']());}};_0x59f930(++_0x3ba40b);}(_0x3ba4,0x1a3));const _0x59f9=function(_0x4bf687,_0x3ba40b){_0x4bf687=_0x4bf687-0x0;let _0x59f930=_0x3ba4[_0x4bf687];return _0x59f930;};import{View as _0x1b1f6c}from'ckeditor5/src/ui';import'../../../theme/revision/subrevisioncollapser.css';export default class ls extends _0x1b1f6c{constructor(_0x20facf){super(_0x20facf);const _0x501822=this[_0x59f9('0xc')];this[_0x59f9('0x8')]({'isVisible':!0x0,'_isCollapsed':!0x0}),this['setTemplate']({'tag':_0x59f9('0x2'),'attributes':{'class':['ck',_0x59f9('0x1'),_0x501822['if'](_0x59f9('0xb'),_0x59f9('0x3'),_0x23c917=>!_0x23c917),_0x501822['if'](_0x59f9('0x4'),_0x59f9('0x5'))],'role':_0x59f9('0x7'),'aria-pressed':_0x501822['to'](_0x59f9('0x4'),_0x26963a=>_0x26963a?_0x59f9('0xa'):'true')},'children':[{'tag':'span','attributes':{'class':['ck',_0x59f9('0x6')]}}],'on':{'click':_0x501822['to'](_0x59f9('0x0'))}});}[_0x59f9('0x9')](){this['_isCollapsed']=!this[_0x59f9('0x4')];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x34da=['ck-revision-history-sidebar__subrevision','ck-revision-history-sidebar__revision__date','_createdAtFormatted','createdAt','ck-revision-history-sidebar__revision-authors','ck-revision-history-sidebar__revision','bind','span','fire','div','set','bindTemplate','isSelected','select','_parentRevisionId','setTemplate','ck-reset'];(function(_0x1ef2da,_0x34da05){const _0x43e7ef=function(_0x50c0a7){while(--_0x50c0a7){_0x1ef2da['push'](_0x1ef2da['shift']());}};_0x43e7ef(++_0x34da05);}(_0x34da,0xe6));const _0x43e7=function(_0x1ef2da,_0x34da05){_0x1ef2da=_0x1ef2da-0x0;let _0x43e7ef=_0x34da[_0x1ef2da];return _0x43e7ef;};import{View as _0x5d6c54}from'ckeditor5/src/ui';import _0x156e0b from'./revisionauthorview';import{dateToPrettyFormat as _0x3a6f1f}from'./utils';import'../../../theme/revision/subrevision.css';export default class dt extends _0x5d6c54{constructor(_0x185ca6,_0x22bf03,_0x2dd281){super(_0x185ca6);const _0x2b4a2a=this[_0x43e7('0x2')];this['id']=_0x22bf03['id'],this[_0x43e7('0xe')]('createdAt')['to'](_0x22bf03),this[_0x43e7('0x1')]('isSelected',!0x1),this[_0x43e7('0xe')]('_createdAtFormatted')['to'](this,_0x43e7('0xb'),_0x356e5e=>_0x356e5e?_0x3a6f1f(_0x185ca6['uiLanguage'],_0x356e5e):null),this[_0x43e7('0x5')]=_0x2dd281,this[_0x43e7('0x6')]({'tag':_0x43e7('0x0'),'attributes':{'class':['ck',_0x43e7('0x7'),_0x43e7('0xd'),_0x43e7('0x8'),_0x2b4a2a['if'](_0x43e7('0x3'),'ck-revision-history-sidebar__revision_selected')]},'children':[{'tag':_0x43e7('0xf'),'attributes':{'class':['ck',_0x43e7('0x9')]},'children':[{'text':_0x2b4a2a['to'](_0x43e7('0xa'))}]},{'tag':'ul','attributes':{'class':['ck',_0x43e7('0xc')]},'children':[new _0x156e0b(_0x185ca6,_0x22bf03['author'],!0x0)]}],'on':{'click':_0x2b4a2a['to'](this[_0x43e7('0x4')][_0x43e7('0xe')](this))}});}[_0x43e7('0x4')](){this[_0x43e7('0x3')]=!0x0,this[_0x43e7('0x10')](_0x43e7('0x4'),{'parentId':this[_0x43e7('0x5')]});}['deselect'](){this[_0x43e7('0x3')]=!0x1;}}
23
+ const _0x34e1=['ck-revision-history-sidebar__revision-authors','bindTemplate','select','fire','ck-reset','isSelected','uiLanguage','div','ck-revision-history-sidebar__revision__date','_parentRevisionId','bind','set','ck-revision-history-sidebar__revision_selected','createdAt','span','_createdAtFormatted','setTemplate'];(function(_0x5005d9,_0x34e16a){const _0x5928c0=function(_0x261871){while(--_0x261871){_0x5005d9['push'](_0x5005d9['shift']());}};_0x5928c0(++_0x34e16a);}(_0x34e1,0x1b4));const _0x5928=function(_0x5005d9,_0x34e16a){_0x5005d9=_0x5005d9-0x0;let _0x5928c0=_0x34e1[_0x5005d9];return _0x5928c0;};import{View as _0x4e18d4}from'ckeditor5/src/ui';import _0x1707ce from'./revisionauthorview';import{dateToPrettyFormat as _0x3fbe74}from'./utils';import'../../../theme/revision/subrevision.css';export default class dt extends _0x4e18d4{constructor(_0x1ac143,_0x2a8a44,_0x3231fc){super(_0x1ac143);const _0x434e4c=this[_0x5928('0x7')];this['id']=_0x2a8a44['id'],this[_0x5928('0x10')](_0x5928('0x2'))['to'](_0x2a8a44),this[_0x5928('0x0')](_0x5928('0xb'),!0x1),this['bind'](_0x5928('0x4'))['to'](this,_0x5928('0x2'),_0x1a4637=>_0x1a4637?_0x3fbe74(_0x1ac143[_0x5928('0xc')],_0x1a4637):null),this[_0x5928('0xf')]=_0x3231fc,this[_0x5928('0x5')]({'tag':_0x5928('0xd'),'attributes':{'class':['ck',_0x5928('0xa'),'ck-revision-history-sidebar__revision','ck-revision-history-sidebar__subrevision',_0x434e4c['if'](_0x5928('0xb'),_0x5928('0x1'))]},'children':[{'tag':_0x5928('0x3'),'attributes':{'class':['ck',_0x5928('0xe')]},'children':[{'text':_0x434e4c['to'](_0x5928('0x4'))}]},{'tag':'ul','attributes':{'class':['ck',_0x5928('0x6')]},'children':[new _0x1707ce(_0x1ac143,_0x2a8a44['author'],!0x0)]}],'on':{'click':_0x434e4c['to'](this[_0x5928('0x8')][_0x5928('0x10')](this))}});}[_0x5928('0x8')](){this[_0x5928('0xb')]=!0x0,this[_0x5928('0x9')]('select',{'parentId':this['_parentRevisionId']});}['deselect'](){this[_0x5928('0xb')]=!0x1;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x1de3=['toLocaleTimeString','long','numeric'];(function(_0x5cbc88,_0x1de309){var _0x14ad3c=function(_0x44661c){while(--_0x44661c){_0x5cbc88['push'](_0x5cbc88['shift']());}};_0x14ad3c(++_0x1de309);}(_0x1de3,0x1e9));var _0x14ad=function(_0x5cbc88,_0x1de309){_0x5cbc88=_0x5cbc88-0x0;var _0x14ad3c=_0x1de3[_0x5cbc88];return _0x14ad3c;};export function dateToPrettyFormat(_0x538162,_0x4297c2){return _0x4297c2['toLocaleDateString'](_0x538162,{'month':_0x14ad('0x1'),'day':_0x14ad('0x2')})+',\x20'+_0x4297c2[_0x14ad('0x0')](_0x538162,{'hour':_0x14ad('0x2'),'minute':'numeric'});}
23
+ var _0x3049=['numeric','toLocaleTimeString'];(function(_0x478eda,_0x304958){var _0x39f27a=function(_0x2e5de2){while(--_0x2e5de2){_0x478eda['push'](_0x478eda['shift']());}};_0x39f27a(++_0x304958);}(_0x3049,0x76));var _0x39f2=function(_0x478eda,_0x304958){_0x478eda=_0x478eda-0x0;var _0x39f27a=_0x3049[_0x478eda];return _0x39f27a;};export function dateToPrettyFormat(_0x1a1894,_0x1056a8){return _0x1056a8['toLocaleDateString'](_0x1a1894,{'month':'long','day':_0x39f2('0x0')})+',\x20'+_0x1056a8[_0x39f2('0x1')](_0x1a1894,{'hour':'numeric','minute':'numeric'});}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x353a=['delegate','extendTemplate','label','_createRevisionNameInput','focusTracker','execute','setTemplate','keystrokes','reset','add','revisionNameInputValue','render','forEach','ck-revision-history-save-revision-form','form','listenTo','type','Name\x20of\x20the\x20revision\x20(optional)','focus','revisionName','_focusCycler','shift\x20+\x20tab','stopPropagation','arrowleft','set','220','trim','fieldView','_focusables','Save','input','_createButton','cancel','ck-button-cancel','high','revisionNameInputView','value','locale','saveButtonView','arrowright','element','cancelButtonView','ck-button-save'];(function(_0x1266ea,_0x353a2a){const _0x49d51b=function(_0x37c802){while(--_0x37c802){_0x1266ea['push'](_0x1266ea['shift']());}};_0x49d51b(++_0x353a2a);}(_0x353a,0xb1));const _0x49d5=function(_0x1266ea,_0x353a2a){_0x1266ea=_0x1266ea-0x0;let _0x49d51b=_0x353a[_0x1266ea];return _0x49d51b;};import{ButtonView as _0x41caec,FocusCycler as _0x43d314,LabeledFieldView as _0x5712f3,View as _0x2635c0,ViewCollection as _0x460097,createLabeledInputText as _0x5ce864,injectCssTransitionDisabler as _0x3e0d35,submitHandler as _0x4eb6cd}from'ckeditor5/src/ui';import{FocusTracker as _0x279eb2,KeystrokeHandler as _0x34fed5}from'ckeditor5/src/utils';import{getTranslation as _0x41fde4}from'../../utils/common-translations';import _0x15282d from'@ckeditor/ckeditor5-core/theme/icons/check.svg';import _0x592d28 from'@ckeditor/ckeditor5-core/theme/icons/cancel.svg';import'../../../theme/revisionhistorysaverevisionform.css';import'@ckeditor/ckeditor5-ui/theme/components/responsive-form/responsiveform.css';export default class gt extends _0x2635c0{constructor(_0xc1220d){super(_0xc1220d),this[_0x49d5('0x2a')]=new _0x279eb2(),this['keystrokes']=new _0x34fed5(),this[_0x49d5('0x13')]('revisionNameInputValue',''),this['revisionNameInputView']=this[_0x49d5('0x29')](),this[_0x49d5('0x21')]=this[_0x49d5('0x1a')](_0x41fde4(_0xc1220d,_0x49d5('0x18')),_0x15282d,_0x49d5('0x25')),this['saveButtonView'][_0x49d5('0xb')]='submit',this[_0x49d5('0x24')]=this['_createButton'](_0x41fde4(_0xc1220d,'Cancel'),_0x592d28,_0x49d5('0x1c'),_0x49d5('0x1b')),this[_0x49d5('0x17')]=new _0x460097(),this[_0x49d5('0xf')]=new _0x43d314({'focusables':this[_0x49d5('0x17')],'focusTracker':this[_0x49d5('0x2a')],'keystrokeHandler':this[_0x49d5('0x2')],'actions':{'focusPrevious':_0x49d5('0x10'),'focusNext':'tab'}}),this[_0x49d5('0x1')]({'tag':_0x49d5('0x9'),'attributes':{'class':['ck',_0x49d5('0x8'),'ck-responsive-form'],'tabindex':'-1'},'children':[this['revisionNameInputView'],this[_0x49d5('0x21')],this[_0x49d5('0x24')]]}),_0x3e0d35(this);}[_0x49d5('0x6')](){super[_0x49d5('0x6')](),_0x4eb6cd({'view':this}),([this['revisionNameInputView'],this['saveButtonView'],this['cancelButtonView']][_0x49d5('0x7')](_0x544337=>{this[_0x49d5('0x17')][_0x49d5('0x4')](_0x544337),this['focusTracker'][_0x49d5('0x4')](_0x544337[_0x49d5('0x23')]);}),this[_0x49d5('0x2')]['listenTo'](this['element']));const _0x568cc2=_0x1c64d1=>_0x1c64d1[_0x49d5('0x11')]();this[_0x49d5('0x2')]['set'](_0x49d5('0x22'),_0x568cc2),this['keystrokes']['set'](_0x49d5('0x12'),_0x568cc2),this[_0x49d5('0x2')][_0x49d5('0x13')]('arrowup',_0x568cc2),this[_0x49d5('0x2')][_0x49d5('0x13')]('arrowdown',_0x568cc2),this[_0x49d5('0xa')](this[_0x49d5('0x1e')][_0x49d5('0x23')],'selectstart',(_0x519a6b,_0x3df044)=>{_0x3df044[_0x49d5('0x11')]();},{'priority':_0x49d5('0x1d')});}[_0x49d5('0xd')](){this[_0x49d5('0xf')]['focusFirst']();}get['revisionName'](){return this['revisionNameInputView'][_0x49d5('0x16')][_0x49d5('0x23')][_0x49d5('0x1f')][_0x49d5('0x15')]();}set[_0x49d5('0xe')](_0x518934){this[_0x49d5('0x1e')]['fieldView'][_0x49d5('0x23')]['value']=_0x518934[_0x49d5('0x15')]();}[_0x49d5('0x3')](){this[_0x49d5('0x1e')][_0x49d5('0x16')][_0x49d5('0x23')]['value']='';}['_createRevisionNameInput'](){const _0x29d420=new _0x5712f3(this[_0x49d5('0x20')],_0x5ce864),_0x30c6f5=_0x29d420['fieldView'];return _0x30c6f5[_0x49d5('0x27')]({'attributes':{'maxlength':_0x49d5('0x14')}}),_0x29d420[_0x49d5('0x28')]=_0x41fde4(this[_0x49d5('0x20')],_0x49d5('0xc')),_0x30c6f5['on'](_0x49d5('0x19'),()=>{this[_0x49d5('0x5')]=_0x30c6f5[_0x49d5('0x23')][_0x49d5('0x1f')]['trim']();}),_0x29d420;}['_createButton'](_0x196c5a,_0x2973b2,_0x30e82f,_0x4437c7){const _0x46e82f=new _0x41caec(this['locale']);return _0x46e82f[_0x49d5('0x13')]({'label':_0x196c5a,'icon':_0x2973b2,'tooltip':!0x0}),_0x46e82f['extendTemplate']({'attributes':{'class':_0x30e82f}}),_0x4437c7&&_0x46e82f[_0x49d5('0x26')](_0x49d5('0x0'))['to'](this,_0x4437c7),_0x46e82f;}}
23
+ const _0x1fd0=['Name\x20of\x20the\x20revision\x20(optional)','shift\x20+\x20tab','ck-revision-history-save-revision-form','extendTemplate','ck-responsive-form','forEach','cancelButtonView','_focusables','keystrokes','_createRevisionNameInput','add','selectstart','listenTo','ck-button-cancel','arrowright','_focusCycler','type','element','value','arrowdown','revisionName','focusTracker','Save','set','stopPropagation','form','reset','arrowup','revisionNameInputView','setTemplate','input','revisionNameInputValue','delegate','220','_createButton','fieldView','locale','focus','trim','cancel','saveButtonView'];(function(_0x118866,_0x1fd075){const _0x32689e=function(_0xbc2a83){while(--_0xbc2a83){_0x118866['push'](_0x118866['shift']());}};_0x32689e(++_0x1fd075);}(_0x1fd0,0xad));const _0x3268=function(_0x118866,_0x1fd075){_0x118866=_0x118866-0x0;let _0x32689e=_0x1fd0[_0x118866];return _0x32689e;};import{ButtonView as _0x38b644,FocusCycler as _0x5e0a93,LabeledFieldView as _0x17a8ed,View as _0x4c7ee3,ViewCollection as _0x3023f3,createLabeledInputText as _0x1c11f8,injectCssTransitionDisabler as _0x498b15,submitHandler as _0x4d68c7}from'ckeditor5/src/ui';import{FocusTracker as _0x25ab90,KeystrokeHandler as _0x407036}from'ckeditor5/src/utils';import{getTranslation as _0x643187}from'../../utils/common-translations';import _0x194997 from'@ckeditor/ckeditor5-core/theme/icons/check.svg';import _0x363aa0 from'@ckeditor/ckeditor5-core/theme/icons/cancel.svg';import'../../../theme/revisionhistorysaverevisionform.css';import'@ckeditor/ckeditor5-ui/theme/components/responsive-form/responsiveform.css';export default class gt extends _0x4c7ee3{constructor(_0x2c86f0){super(_0x2c86f0),this[_0x3268('0xc')]=new _0x25ab90(),this[_0x3268('0x28')]=new _0x407036(),this[_0x3268('0xe')]('revisionNameInputValue',''),this[_0x3268('0x13')]=this[_0x3268('0x0')](),this[_0x3268('0x1f')]=this[_0x3268('0x19')](_0x643187(_0x2c86f0,_0x3268('0xd')),_0x194997,'ck-button-save'),this[_0x3268('0x1f')][_0x3268('0x7')]='submit',this['cancelButtonView']=this[_0x3268('0x19')](_0x643187(_0x2c86f0,'Cancel'),_0x363aa0,_0x3268('0x4'),_0x3268('0x1e')),this[_0x3268('0x27')]=new _0x3023f3(),this[_0x3268('0x6')]=new _0x5e0a93({'focusables':this[_0x3268('0x27')],'focusTracker':this[_0x3268('0xc')],'keystrokeHandler':this[_0x3268('0x28')],'actions':{'focusPrevious':_0x3268('0x21'),'focusNext':'tab'}}),this[_0x3268('0x14')]({'tag':_0x3268('0x10'),'attributes':{'class':['ck',_0x3268('0x22'),_0x3268('0x24')],'tabindex':'-1'},'children':[this['revisionNameInputView'],this[_0x3268('0x1f')],this[_0x3268('0x26')]]}),_0x498b15(this);}['render'](){super['render'](),_0x4d68c7({'view':this}),([this['revisionNameInputView'],this[_0x3268('0x1f')],this[_0x3268('0x26')]][_0x3268('0x25')](_0x321681=>{this[_0x3268('0x27')][_0x3268('0x1')](_0x321681),this[_0x3268('0xc')][_0x3268('0x1')](_0x321681[_0x3268('0x8')]);}),this[_0x3268('0x28')][_0x3268('0x3')](this[_0x3268('0x8')]));const _0x2722d1=_0x2a330e=>_0x2a330e[_0x3268('0xf')]();this[_0x3268('0x28')]['set'](_0x3268('0x5'),_0x2722d1),this[_0x3268('0x28')][_0x3268('0xe')]('arrowleft',_0x2722d1),this[_0x3268('0x28')][_0x3268('0xe')](_0x3268('0x12'),_0x2722d1),this[_0x3268('0x28')][_0x3268('0xe')](_0x3268('0xa'),_0x2722d1),this[_0x3268('0x3')](this[_0x3268('0x13')][_0x3268('0x8')],_0x3268('0x2'),(_0x47f8cf,_0x3d592c)=>{_0x3d592c['stopPropagation']();},{'priority':'high'});}[_0x3268('0x1c')](){this[_0x3268('0x6')]['focusFirst']();}get[_0x3268('0xb')](){return this[_0x3268('0x13')][_0x3268('0x1a')][_0x3268('0x8')][_0x3268('0x9')][_0x3268('0x1d')]();}set[_0x3268('0xb')](_0x54839c){this[_0x3268('0x13')][_0x3268('0x1a')][_0x3268('0x8')][_0x3268('0x9')]=_0x54839c[_0x3268('0x1d')]();}[_0x3268('0x11')](){this[_0x3268('0x13')][_0x3268('0x1a')]['element'][_0x3268('0x9')]='';}[_0x3268('0x0')](){const _0x12f8a5=new _0x17a8ed(this['locale'],_0x1c11f8),_0x3e7107=_0x12f8a5[_0x3268('0x1a')];return _0x3e7107[_0x3268('0x23')]({'attributes':{'maxlength':_0x3268('0x18')}}),_0x12f8a5['label']=_0x643187(this[_0x3268('0x1b')],_0x3268('0x20')),_0x3e7107['on'](_0x3268('0x15'),()=>{this[_0x3268('0x16')]=_0x3e7107['element']['value'][_0x3268('0x1d')]();}),_0x12f8a5;}[_0x3268('0x19')](_0x419d6a,_0x55dd8f,_0x29fdc6,_0x29bac1){const _0x4a78b2=new _0x38b644(this['locale']);return _0x4a78b2['set']({'label':_0x419d6a,'icon':_0x55dd8f,'tooltip':!0x0}),_0x4a78b2[_0x3268('0x23')]({'attributes':{'class':_0x29fdc6}}),_0x29bac1&&_0x4a78b2[_0x3268('0x17')]('execute')['to'](this,_0x29bac1),_0x4a78b2;}}